shared-module.json
101 lines
| 1 | { |
| 2 | "attributes": { |
| 3 | "trigger": { |
| 4 | "type": "object", |
| 5 | "settings": { |
| 6 | "innerContent": { |
| 7 | "groupType": "group-item", |
| 8 | "item": { |
| 9 | "groupName": "mainContent", |
| 10 | "priority": 15, |
| 11 | "render": true, |
| 12 | "attrName": "trigger.innerContent", |
| 13 | "label": "Trigger Element Selector", |
| 14 | "description": "CSS selector for the element that will trigger the booking form", |
| 15 | "component": { |
| 16 | "name": "divi/text", |
| 17 | "type": "field" |
| 18 | } |
| 19 | } |
| 20 | } |
| 21 | } |
| 22 | }, |
| 23 | "trigger_type": { |
| 24 | "type": "object", |
| 25 | "default": { |
| 26 | "innerContent": { |
| 27 | "desktop": { |
| 28 | "value": "id" |
| 29 | } |
| 30 | } |
| 31 | }, |
| 32 | "settings": { |
| 33 | "innerContent": { |
| 34 | "groupType": "group-item", |
| 35 | "item": { |
| 36 | "groupName": "mainContent", |
| 37 | "priority": 80, |
| 38 | "render": true, |
| 39 | "attrName": "trigger_type.innerContent", |
| 40 | "label": "Trigger Type", |
| 41 | "description": "Element selector type", |
| 42 | "component": { |
| 43 | "name": "divi/select", |
| 44 | "type": "field", |
| 45 | "props": { |
| 46 | "options": [ |
| 47 | { "value": "id", "label": "ID" }, |
| 48 | { "value": "class", "label": "Class" } |
| 49 | ] |
| 50 | } |
| 51 | } |
| 52 | } |
| 53 | } |
| 54 | } |
| 55 | }, |
| 56 | "in_dialog": { |
| 57 | "type": "object", |
| 58 | "settings": { |
| 59 | "innerContent": { |
| 60 | "groupType": "group-item", |
| 61 | "item": { |
| 62 | "groupName": "mainContent", |
| 63 | "priority": 90, |
| 64 | "render": true, |
| 65 | "attrName": "in_dialog.innerContent", |
| 66 | "label": "Show in Dialog", |
| 67 | "description": "Display booking in a modal dialog", |
| 68 | "component": { |
| 69 | "name": "divi/toggle", |
| 70 | "type": "field" |
| 71 | } |
| 72 | } |
| 73 | } |
| 74 | } |
| 75 | }, |
| 76 | "ivy": { |
| 77 | "type": "object", |
| 78 | "settings": { |
| 79 | "innerContent": { |
| 80 | "groupType": "group-item", |
| 81 | "item": { |
| 82 | "groupName": "mainContent", |
| 83 | "priority": 100, |
| 84 | "render": true, |
| 85 | "attrName": "ivy.innerContent", |
| 86 | "label": "Select Ivy Form", |
| 87 | "description": "Preselect Ivy form", |
| 88 | "component": { |
| 89 | "name": "divi/select", |
| 90 | "type": "field", |
| 91 | "props": { |
| 92 | "multiple": false |
| 93 | } |
| 94 | } |
| 95 | } |
| 96 | } |
| 97 | } |
| 98 | } |
| 99 | } |
| 100 | } |
| 101 |