ameliabooking
/
extensions
/
divi_5_amelia
/
visual-builder
/
src
/
modules
/
StepBookingButton
/
module.json
ameliabooking
/
extensions
/
divi_5_amelia
/
visual-builder
/
src
/
modules
/
StepBookingButton
Last commit date
module.json
2 months ago
module.json
404 lines
| 1 | { |
| 2 | "name": "divi5-amelia/stepbookingbutton", |
| 3 | "title": "Amelia - Step Booking Button", |
| 4 | "titles": "Amelia Step Booking Buttons", |
| 5 | "category": "module", |
| 6 | "moduleClassName": "divi5_amelia_stepbooking_button", |
| 7 | "moduleOrderClassName": "divi5_amelia_stepbooking_button", |
| 8 | "moduleIcon": "amelia/step-booking", |
| 9 | "attributes": { |
| 10 | "module": { |
| 11 | "type": "object", |
| 12 | "selector": "{{selector}}", |
| 13 | "styleProps": { |
| 14 | "spacing": { |
| 15 | "selector": "{{wrapperSelector}}", |
| 16 | "propertySelectors": { |
| 17 | "desktop": { |
| 18 | "value": { |
| 19 | "padding": "{{wrapperSelector}} {{baseSelector}}" |
| 20 | } |
| 21 | } |
| 22 | }, |
| 23 | "important": true |
| 24 | }, |
| 25 | "position": { |
| 26 | "selector": "{{wrapperSelector}}" |
| 27 | }, |
| 28 | "order": { |
| 29 | "selector": "{{wrapperSelector}}" |
| 30 | } |
| 31 | }, |
| 32 | "default": { |
| 33 | "meta": { |
| 34 | "adminLabel": { |
| 35 | "desktop": { |
| 36 | "value": "Amelia Step Booking Button" |
| 37 | } |
| 38 | } |
| 39 | } |
| 40 | }, |
| 41 | "settings": { |
| 42 | "meta": { |
| 43 | "adminLabel": {} |
| 44 | }, |
| 45 | "advanced": { |
| 46 | }, |
| 47 | "decoration": { |
| 48 | "attributes": {}, |
| 49 | "conditions": {}, |
| 50 | "disabledOn": {}, |
| 51 | "order": {}, |
| 52 | "transition": {}, |
| 53 | "position": {}, |
| 54 | "zIndex": {}, |
| 55 | "scroll": {}, |
| 56 | "sticky": {} |
| 57 | } |
| 58 | } |
| 59 | }, |
| 60 | "button": { |
| 61 | "type": "object", |
| 62 | "attributes": { |
| 63 | "class": "amelia-step-booking-button et_block_module et_flex_module" |
| 64 | }, |
| 65 | "customPostTypeSelector": "body.et-db #page-container #et-boc .et-l {{baseSelector}}", |
| 66 | "selector": "{{selector}} .amelia-step-booking-button", |
| 67 | "elementType": "button", |
| 68 | "elementProps": { |
| 69 | "hasWrapper": false, |
| 70 | "allowEmptyUrl": true |
| 71 | }, |
| 72 | "styleProps": { |
| 73 | "font": { |
| 74 | "important": { |
| 75 | "font": { |
| 76 | "desktop": { |
| 77 | "value": { |
| 78 | "color": true, |
| 79 | "font-size": true, |
| 80 | "letter-spacing": true, |
| 81 | "line-height": true |
| 82 | } |
| 83 | } |
| 84 | } |
| 85 | } |
| 86 | }, |
| 87 | "spacing": { |
| 88 | "important": true |
| 89 | } |
| 90 | }, |
| 91 | "settings": { |
| 92 | "innerContent": { |
| 93 | "groupType": "into-multiple-groups", |
| 94 | "groups": { |
| 95 | "text": { |
| 96 | "groupType": "group-item", |
| 97 | "item": { |
| 98 | "description": "Input your desired button text.", |
| 99 | "groupSlug": "contentText", |
| 100 | "label": "Button Text", |
| 101 | "priority": 10, |
| 102 | "render": true, |
| 103 | "subName": "text", |
| 104 | "features": { |
| 105 | "dynamicContent": { |
| 106 | "type": "text" |
| 107 | }, |
| 108 | "sticky": false, |
| 109 | "preset": "content" |
| 110 | }, |
| 111 | "component": { |
| 112 | "name": "divi/text", |
| 113 | "type": "field" |
| 114 | } |
| 115 | } |
| 116 | }, |
| 117 | "link": { |
| 118 | "groupType": "group-item", |
| 119 | "item": { |
| 120 | "groupSlug": "contentLink", |
| 121 | "attrName": "button.innerContent", |
| 122 | "priority": 20, |
| 123 | "render": false, |
| 124 | "component": { |
| 125 | "type": "group", |
| 126 | "name": "divi/button-link", |
| 127 | "props": { |
| 128 | "grouped": false, |
| 129 | "attrName": "button.innerContent", |
| 130 | "fieldLabel": "Button" |
| 131 | } |
| 132 | } |
| 133 | } |
| 134 | } |
| 135 | } |
| 136 | }, |
| 137 | "decoration": { |
| 138 | "text": {}, |
| 139 | "border": {}, |
| 140 | "boxShadow": {}, |
| 141 | "button": {}, |
| 142 | "font": {}, |
| 143 | "spacing": {}, |
| 144 | "sizing": {}, |
| 145 | "filters": {}, |
| 146 | "transform": {}, |
| 147 | "animation": {} |
| 148 | } |
| 149 | } |
| 150 | }, |
| 151 | "parameters": { |
| 152 | "type": "object", |
| 153 | "default": { |
| 154 | "innerContent": { |
| 155 | "desktop": { |
| 156 | "value": "off" |
| 157 | } |
| 158 | } |
| 159 | }, |
| 160 | "settings": { |
| 161 | "innerContent": { |
| 162 | "groupType": "group-item", |
| 163 | "item": { |
| 164 | "groupSlug": "shortcodeOptions", |
| 165 | "priority": 10, |
| 166 | "render": true, |
| 167 | "attrName": "parameters.innerContent", |
| 168 | "label": "Preselect Booking Parameters", |
| 169 | "description": "Enable to preselect booking parameters", |
| 170 | "component": { |
| 171 | "name": "divi/toggle", |
| 172 | "type": "field" |
| 173 | } |
| 174 | } |
| 175 | } |
| 176 | } |
| 177 | }, |
| 178 | "type": { |
| 179 | "type": "object", |
| 180 | "settings": { |
| 181 | "innerContent": { |
| 182 | "groupType": "group-item", |
| 183 | "item": { |
| 184 | "groupSlug": "shortcodeOptions", |
| 185 | "priority": 16, |
| 186 | "render": true, |
| 187 | "attrName": "type.innerContent", |
| 188 | "label": "Show Type", |
| 189 | "description": "Filter by booking type", |
| 190 | "component": { |
| 191 | "name": "divi/select", |
| 192 | "type": "field", |
| 193 | "props": { |
| 194 | "options": [ |
| 195 | { |
| 196 | "value": "0", |
| 197 | "label": "Show All" |
| 198 | }, |
| 199 | { |
| 200 | "value": "services", |
| 201 | "label": "Services" |
| 202 | }, |
| 203 | { |
| 204 | "value": "packages", |
| 205 | "label": "Packages" |
| 206 | } |
| 207 | ] |
| 208 | } |
| 209 | } |
| 210 | } |
| 211 | } |
| 212 | } |
| 213 | }, |
| 214 | "categories": { |
| 215 | "type": "object", |
| 216 | "settings": { |
| 217 | "innerContent": { |
| 218 | "groupType": "group-item", |
| 219 | "item": { |
| 220 | "groupSlug": "shortcodeOptions", |
| 221 | "priority": 20, |
| 222 | "render": true, |
| 223 | "attrName": "categories.innerContent", |
| 224 | "label": "Select Categories", |
| 225 | "description": "Preselect categories (multiple selection)", |
| 226 | "component": { |
| 227 | "name": "divi/select", |
| 228 | "type": "field", |
| 229 | "props": { |
| 230 | "multiple": true |
| 231 | } |
| 232 | } |
| 233 | } |
| 234 | } |
| 235 | } |
| 236 | }, |
| 237 | "services": { |
| 238 | "type": "object", |
| 239 | "settings": { |
| 240 | "innerContent": { |
| 241 | "groupType": "group-item", |
| 242 | "item": { |
| 243 | "groupSlug": "shortcodeOptions", |
| 244 | "priority": 30, |
| 245 | "render": true, |
| 246 | "attrName": "services.innerContent", |
| 247 | "label": "Select Services", |
| 248 | "description": "Preselect services (multiple selection)", |
| 249 | "component": { |
| 250 | "name": "divi/select", |
| 251 | "type": "field", |
| 252 | "props": { |
| 253 | "multiple": true |
| 254 | } |
| 255 | } |
| 256 | } |
| 257 | } |
| 258 | } |
| 259 | }, |
| 260 | "employees": { |
| 261 | "type": "object", |
| 262 | "settings": { |
| 263 | "innerContent": { |
| 264 | "groupType": "group-item", |
| 265 | "item": { |
| 266 | "groupSlug": "shortcodeOptions", |
| 267 | "priority": 40, |
| 268 | "render": true, |
| 269 | "attrName": "employees.innerContent", |
| 270 | "label": "Select Employees", |
| 271 | "description": "Preselect employees (multiple selection)", |
| 272 | "component": { |
| 273 | "name": "divi/select", |
| 274 | "type": "field", |
| 275 | "props": { |
| 276 | "multiple": true |
| 277 | } |
| 278 | } |
| 279 | } |
| 280 | } |
| 281 | } |
| 282 | }, |
| 283 | "locations": { |
| 284 | "type": "object", |
| 285 | "settings": { |
| 286 | "innerContent": { |
| 287 | "groupType": "group-item", |
| 288 | "item": { |
| 289 | "groupSlug": "shortcodeOptions", |
| 290 | "priority": 50, |
| 291 | "render": true, |
| 292 | "attrName": "locations.innerContent", |
| 293 | "label": "Select Locations", |
| 294 | "description": "Preselect locations (multiple selection)", |
| 295 | "component": { |
| 296 | "name": "divi/select", |
| 297 | "type": "field", |
| 298 | "props": { |
| 299 | "multiple": true |
| 300 | } |
| 301 | } |
| 302 | } |
| 303 | } |
| 304 | } |
| 305 | }, |
| 306 | "packages": { |
| 307 | "type": "object", |
| 308 | "settings": { |
| 309 | "innerContent": { |
| 310 | "groupType": "group-item", |
| 311 | "item": { |
| 312 | "groupSlug": "shortcodeOptions", |
| 313 | "priority": 60, |
| 314 | "render": true, |
| 315 | "attrName": "packages.innerContent", |
| 316 | "label": "Select Packages", |
| 317 | "description": "Preselect packages (multiple selection)", |
| 318 | "component": { |
| 319 | "name": "divi/select", |
| 320 | "type": "field", |
| 321 | "props": { |
| 322 | "multiple": true |
| 323 | } |
| 324 | } |
| 325 | } |
| 326 | } |
| 327 | } |
| 328 | }, |
| 329 | "layout": { |
| 330 | "type": "object", |
| 331 | "default": { |
| 332 | "innerContent": { |
| 333 | "desktop": { |
| 334 | "value": "1" |
| 335 | } |
| 336 | } |
| 337 | }, |
| 338 | "settings": { |
| 339 | "innerContent": { |
| 340 | "groupType": "group-item", |
| 341 | "item": { |
| 342 | "groupSlug": "shortcodeOptions", |
| 343 | "priority": 70, |
| 344 | "render": true, |
| 345 | "attrName": "layout.innerContent", |
| 346 | "label": "Layout Type", |
| 347 | "description": "Select layout type (dropdown or list)", |
| 348 | "component": { |
| 349 | "name": "divi/select", |
| 350 | "type": "field", |
| 351 | "props": { |
| 352 | "options": [ |
| 353 | { |
| 354 | "value": "1", |
| 355 | "label": "Dropdown Layout" |
| 356 | }, |
| 357 | { |
| 358 | "value": "2", |
| 359 | "label": "List Layout" |
| 360 | } |
| 361 | ] |
| 362 | } |
| 363 | } |
| 364 | } |
| 365 | } |
| 366 | } |
| 367 | } |
| 368 | }, |
| 369 | "settings": { |
| 370 | "design": "auto", |
| 371 | "advanced": "auto", |
| 372 | "groups": { |
| 373 | "shortcodeOptions": { |
| 374 | "panel": "content", |
| 375 | "priority": 5, |
| 376 | "groupName": "shortcodeOptions", |
| 377 | "component": { |
| 378 | "name": "divi/composite", |
| 379 | "props": { |
| 380 | "groupLabel": "Shortcode Options", |
| 381 | "preset": "content" |
| 382 | } |
| 383 | } |
| 384 | }, |
| 385 | "contentText": { |
| 386 | "panel": "content", |
| 387 | "priority": 20, |
| 388 | "groupName": "text", |
| 389 | "multiElements": true, |
| 390 | "component": { |
| 391 | "name": "divi/composite", |
| 392 | "props": { |
| 393 | "groupLabel": "Text" |
| 394 | } |
| 395 | } |
| 396 | } |
| 397 | } |
| 398 | }, |
| 399 | "wrapper": { |
| 400 | "status": true, |
| 401 | "tag": "div" |
| 402 | } |
| 403 | } |
| 404 |