mattrbld/.mattrbld/custom-fields/how-to-repeat.json

329 lines
8.8 KiB
JSON

{
"type": "container",
"description": "",
"group": "custom fields",
"icon": "group",
"key": "___mb_visual_container",
"label": "Repeat",
"tab": null,
"value": [
{
"type": "toggle",
"default": null,
"icon": "toggle-on",
"key": "toggle",
"label": "Do Repeat",
"options": {
"iconLeft": null,
"iconRight": null
},
"value": null,
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
},
{
"type": "container",
"icon": "placeholder",
"key": "___mb_visual_container",
"label": "Repeat",
"options": {
"collapsible": false,
"collapseByDefault": false,
"row": true,
"bordered": false
},
"value": [
{
"type": "select",
"default": "Every",
"icon": "dropdown",
"key": "repeat-kind",
"label": "When",
"options": {
"filterable": false,
"removable": false,
"placeholder": "Select a value…",
"options": [
"Every",
"On"
]
},
"validation": {
"required": false
},
"value": null,
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
},
{
"type": "container",
"customField": "weekday-of-interval.json",
"icon": "group",
"key": "custom-field",
"label": "Weekday of Interval",
"value": [
{
"type": "select",
"icon": "group",
"key": "___mb_visual_container-2",
"label": "the nth",
"value": [
{
"type": "select",
"default": "The first",
"icon": "dropdown",
"key": "select",
"label": "Dropdown",
"options": {
"filterable": false,
"removable": false,
"placeholder": "Select a value…",
"options": [
"The first",
"The second",
"The third",
"The fourth",
"The fifth"
]
},
"validation": {
"required": false
},
"value": null,
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
}
],
"version": 6,
"visibility": {
"hidden": false,
"showByValue": {
"field": "",
"value": "matches",
"comparator": "Month"
}
},
"options": {
"filterable": false,
"removable": false,
"placeholder": "Select a value…",
"options": [
"The first",
"The second",
"The third",
"The fourth",
"The fifth"
]
},
"customField": "the-nth.json",
"default": "The first",
"validation": {
"required": false
}
},
{
"type": "container",
"icon": "group",
"key": "___mb_visual_container-1",
"label": "Month Or Week Interval",
"value": [
{
"type": "heading",
"icon": "heading-spaced",
"key": "___mb_visual_heading",
"label": "Heading and Description",
"options": {
"heading": "Every",
"description": ""
},
"version": 2,
"visibility": {
"showByValue": {
"field": null
}
},
"visualOnly": true
},
{
"type": "select",
"default": "Week",
"icon": "group",
"key": "month-or-week",
"label": "month or week",
"options": {
"filterable": false,
"removable": false,
"placeholder": "Select a value…",
"options": [
"Week",
"Month"
]
},
"validation": {
"required": false
},
"value": null,
"version": 8,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
},
"description": "",
"group": "custom fields"
}
],
"version": 13,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
},
"options": {
"collapsible": false,
"collapseByDefault": false,
"row": false,
"bordered": false
},
"visualOnly": true,
"customField": "month-or-week.json"
}
],
"version": 28,
"visibility": {
"hidden": false,
"showByValue": {
"field": "repeat-kind",
"value": "matches",
"comparator": "On"
}
},
"tab": null,
"options": {
"collapsible": false,
"collapseByDefault": false,
"row": false,
"bordered": false
},
"visualOnly": true
},
{
"type": "container",
"icon": "group",
"key": "___mb_visual_container",
"label": "Every N Interval",
"value": [
{
"type": "number",
"default": null,
"icon": "number",
"key": "number",
"label": "Number",
"localised": false,
"validation": {
"max": null,
"min": null,
"required": false
},
"value": null,
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
}
},
{
"type": "select",
"icon": "group",
"key": "___mb_visual_container",
"label": "Interval Type",
"value": null,
"version": 2,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
},
"options": {
"filterable": false,
"removable": false,
"placeholder": "Select a value…",
"options": [
"Days",
"Weeks",
"Months"
]
},
"customField": "all-interval-types.json",
"default": null,
"validation": {
"required": false
}
}
],
"version": 5,
"visibility": {
"hidden": false,
"showByValue": {
"field": "repeat-kind",
"value": "matches",
"comparator": "Every"
}
},
"options": {
"collapsible": false,
"collapseByDefault": false,
"row": false,
"bordered": false
},
"visualOnly": true,
"customField": "every-n-interval.json",
"tab": null
}
],
"version": 1,
"visibility": {
"hidden": false,
"showByValue": {
"field": "toggle",
"value": true
}
},
"visualOnly": true
}
],
"version": 15,
"visibility": {
"hidden": false,
"showByValue": {
"field": null
}
},
"options": {
"collapsible": false,
"collapseByDefault": false,
"row": false,
"bordered": false
},
"visualOnly": true
}