| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"name": "b-blocks/pricing-table", |
| 4 |
"title": "Pricing Table", |
| 5 |
"description": "Display product prices as a table.", |
| 6 |
"category": "bBlocks", |
| 7 |
"keywords": [ |
| 8 |
"pricing", |
| 9 |
"price list", |
| 10 |
"table" |
| 11 |
], |
| 12 |
"textdomain": "b-blocks", |
| 13 |
"attributes": { |
| 14 |
"align": { |
| 15 |
"type": "string", |
| 16 |
"default": "wide" |
| 17 |
}, |
| 18 |
"pricingTables": { |
| 19 |
"type": "array", |
| 20 |
"default": [ |
| 21 |
{ |
| 22 |
"name": "Basic", |
| 23 |
"price": 2.99, |
| 24 |
"priceCurrency": "$", |
| 25 |
"period": "Month", |
| 26 |
"link": "#", |
| 27 |
"linkLabel": "Enroll Now", |
| 28 |
"color": "#f00025", |
| 29 |
"features": [ |
| 30 |
{ |
| 31 |
"isEnable": true, |
| 32 |
"label": "25GB Disk Space" |
| 33 |
}, |
| 34 |
{ |
| 35 |
"isEnable": true, |
| 36 |
"label": "25 Email Accounts" |
| 37 |
}, |
| 38 |
{ |
| 39 |
"isEnable": true, |
| 40 |
"label": "50GB Bandwidth" |
| 41 |
}, |
| 42 |
{ |
| 43 |
"isEnable": true, |
| 44 |
"label": "25 Subdomains" |
| 45 |
}, |
| 46 |
{ |
| 47 |
"isEnable": false, |
| 48 |
"label": "Maintenance" |
| 49 |
} |
| 50 |
] |
| 51 |
}, |
| 52 |
{ |
| 53 |
"name": "Standard", |
| 54 |
"price": 5.99, |
| 55 |
"priceCurrency": "$", |
| 56 |
"period": "Month", |
| 57 |
"link": "#", |
| 58 |
"linkLabel": "Enroll Now", |
| 59 |
"color": "#001645", |
| 60 |
"features": [ |
| 61 |
{ |
| 62 |
"isEnable": true, |
| 63 |
"label": "50GB Disk Space" |
| 64 |
}, |
| 65 |
{ |
| 66 |
"isEnable": true, |
| 67 |
"label": "50 Email Accounts" |
| 68 |
}, |
| 69 |
{ |
| 70 |
"isEnable": true, |
| 71 |
"label": "100GB Bandwidth" |
| 72 |
}, |
| 73 |
{ |
| 74 |
"isEnable": true, |
| 75 |
"label": "50 Subdomains" |
| 76 |
}, |
| 77 |
{ |
| 78 |
"isEnable": false, |
| 79 |
"label": "Maintenance" |
| 80 |
} |
| 81 |
] |
| 82 |
}, |
| 83 |
{ |
| 84 |
"name": "Premium", |
| 85 |
"price": 9.99, |
| 86 |
"priceCurrency": "$", |
| 87 |
"period": "Month", |
| 88 |
"link": "#", |
| 89 |
"linkLabel": "Enroll Now", |
| 90 |
"color": "#01944e", |
| 91 |
"features": [ |
| 92 |
{ |
| 93 |
"isEnable": true, |
| 94 |
"label": "100GB Disk Space" |
| 95 |
}, |
| 96 |
{ |
| 97 |
"isEnable": true, |
| 98 |
"label": "100 Email Accounts" |
| 99 |
}, |
| 100 |
{ |
| 101 |
"isEnable": true, |
| 102 |
"label": "Unlimited Bandwidth" |
| 103 |
}, |
| 104 |
{ |
| 105 |
"isEnable": true, |
| 106 |
"label": "100 Subdomains" |
| 107 |
}, |
| 108 |
{ |
| 109 |
"isEnable": true, |
| 110 |
"label": "Maintenance" |
| 111 |
} |
| 112 |
] |
| 113 |
} |
| 114 |
] |
| 115 |
}, |
| 116 |
"columns": { |
| 117 |
"type": "object", |
| 118 |
"default": { |
| 119 |
"desktop": 3, |
| 120 |
"tablet": 2, |
| 121 |
"mobile": 1 |
| 122 |
} |
| 123 |
}, |
| 124 |
"columnGap": { |
| 125 |
"type": "string", |
| 126 |
"default": "20px" |
| 127 |
}, |
| 128 |
"rowGap": { |
| 129 |
"type": "string", |
| 130 |
"default": "30px" |
| 131 |
}, |
| 132 |
"textAlign": { |
| 133 |
"type": "string", |
| 134 |
"default": "center" |
| 135 |
}, |
| 136 |
"padding": { |
| 137 |
"type": "object", |
| 138 |
"default": { |
| 139 |
"vertical": "35px", |
| 140 |
"horizontal": "25px" |
| 141 |
} |
| 142 |
}, |
| 143 |
"shadow": { |
| 144 |
"type": "object", |
| 145 |
"default": { |
| 146 |
"blur": "30px", |
| 147 |
"color": "#6e8faf4d" |
| 148 |
} |
| 149 |
} |
| 150 |
}, |
| 151 |
"supports": { |
| 152 |
"align": [ |
| 153 |
"wide", |
| 154 |
"full" |
| 155 |
], |
| 156 |
"html": false |
| 157 |
}, |
| 158 |
"styles": [ |
| 159 |
{ |
| 160 |
"name": "basic", |
| 161 |
"label": "Basic", |
| 162 |
"isDefault": true |
| 163 |
}, |
| 164 |
{ |
| 165 |
"name": "standard", |
| 166 |
"label": "Standard" |
| 167 |
}, |
| 168 |
{ |
| 169 |
"name": "ultimate", |
| 170 |
"label": "Ultimate" |
| 171 |
} |
| 172 |
], |
| 173 |
"example": { |
| 174 |
"attributes": { |
| 175 |
"preview": true, |
| 176 |
"columns": { |
| 177 |
"desktop": 1, |
| 178 |
"tablet": 1, |
| 179 |
"mobile": 1 |
| 180 |
} |
| 181 |
} |
| 182 |
}, |
| 183 |
"editorScript": "file:../index.js", |
| 184 |
"style": "file:./view.css", |
| 185 |
"render": "file:./render.php", |
| 186 |
"viewScript": "file:./view.js" |
| 187 |
} |