budibase/packages/server/appPackages/testApp2/appDefinition.json

1153 lines
45 KiB
JSON
Raw Normal View History

{
"hierarchy": {
"name": "root",
"type": "root",
"children": [
{
"name": "customer",
"type": "record",
"fields": [
{
"name": "name",
"type": "string",
"typeOptions": {
2019-10-14 09:32:20 +02:00
"maxLength": null,
"values": null,
"allowDeclaredValuesOnly": false
},
2019-10-14 09:32:20 +02:00
"label": "Name",
"getInitialValue": "default",
"getUndefinedValue": "default"
2019-10-14 09:32:20 +02:00
},
{
2019-10-14 09:32:20 +02:00
"name": "enquiry",
"type": "string",
"typeOptions": {
"maxLength": null,
"values": [
"Google",
"Facebook",
"Word of Mouth"
],
"allowDeclaredValuesOnly": true
},
"label": "Enquiry Source",
"getInitialValue": "default",
"getUndefinedValue": "default"
}
],
2019-10-14 09:32:20 +02:00
"children": [],
"validationRules": [],
"nodeId": 1,
2019-10-14 09:32:20 +02:00
"indexes": [],
"allidsShardFactor": 64,
"collectionName": "customers",
"isSingle": false
2019-10-18 18:32:03 +02:00
},
{
"name": "Contact",
"type": "record",
"fields": [
{
"name": "name",
"type": "string",
"typeOptions": {
"maxLength": null,
"values": null,
"allowDeclaredValuesOnly": false
},
"label": "Name",
"getInitialValue": "default",
"getUndefinedValue": "default"
},
{
"name": "contacted",
"type": "bool",
"typeOptions": {
"allowNulls": false
},
"label": "Has Been Contacted",
"getInitialValue": "default",
"getUndefinedValue": "default"
}
],
"children": [],
"validationRules": [],
"nodeId": 3,
"indexes": [],
"allidsShardFactor": 64,
"collectionName": "contacts",
"isSingle": false
2019-11-05 14:30:36 +01:00
},
{
"name": "naw",
"type": "record",
"fields": [
{
"name": "s",
"type": "string",
"typeOptions": {
"maxLength": null,
"values": null,
"allowDeclaredValuesOnly": false
},
"label": "s",
"getInitialValue": "default",
"getUndefinedValue": "default"
}
],
"children": [],
"validationRules": [],
"nodeId": 5,
"indexes": [],
"allidsShardFactor": 64,
"collectionName": "nas",
"isSingle": false
},
{
"name": "jon",
"type": "record",
"fields": [
{
"name": "j",
"type": "string",
"typeOptions": {
"maxLength": null,
"values": null,
"allowDeclaredValuesOnly": false
},
"label": "j",
"getInitialValue": "default",
"getUndefinedValue": "default"
}
],
"children": [],
"validationRules": [],
"nodeId": 6,
"indexes": [],
"allidsShardFactor": 64,
"collectionName": "jos",
"isSingle": false
},
{
"name": "Hello",
"type": "record",
"fields": [
{
"name": "yes",
"type": "string",
"typeOptions": {
"maxLength": null,
"values": null,
"allowDeclaredValuesOnly": false
},
"label": "Yea",
"getInitialValue": "default",
"getUndefinedValue": "default"
}
],
"children": [],
"validationRules": [],
"nodeId": 7,
"indexes": [],
"allidsShardFactor": 64,
"collectionName": "",
"isSingle": false
}
],
"pathMaps": [],
2019-08-30 09:25:00 +02:00
"indexes": [
{
2019-10-14 09:32:20 +02:00
"name": "all_customers",
2019-08-30 09:25:00 +02:00
"type": "index",
"map": "return {...record};",
"filter": "",
"indexType": "ancestor",
"getShardName": "",
"getSortKey": "record.id",
"aggregateGroups": [],
"allowedModelNodeIds": [
2019-08-30 09:25:00 +02:00
1
],
2019-10-14 09:32:20 +02:00
"nodeId": 2
2019-10-18 18:32:03 +02:00
},
{
"name": "all_contacts",
"type": "index",
"map": "return {...record};",
"filter": "",
"indexType": "ancestor",
"getShardName": "",
"getSortKey": "record.id",
"aggregateGroups": [],
"allowedModelNodeIds": [
2019-10-18 18:32:03 +02:00
3
],
"nodeId": 4
2019-11-05 14:30:36 +01:00
},
{
"name": "all_",
"type": "index",
"map": "return {...record};",
"filter": "",
"indexType": "ancestor",
"getShardName": "",
"getSortKey": "record.id",
"aggregateGroups": [],
"allowedModelNodeIds": [
2019-11-05 14:30:36 +01:00
7
],
"nodeId": 8
2019-08-30 09:25:00 +02:00
}
],
"nodeId": 0
},
2019-10-14 09:32:20 +02:00
"triggers": [],
"actions": {},
2019-09-09 06:24:14 +02:00
"props": {
2019-10-18 18:32:03 +02:00
"main": {
"_component": "@budibase/bootstrap-components/nav",
"items": [
{
"_component": "items#array_element#",
"title": "customers",
"component": {
"_component": "@budibase/standard-components/if",
"condition": "$store.isEditingcustomer",
"thenComponent": {
"_component": "@budibase/standard-components/container",
2019-10-18 18:32:03 +02:00
"children": [
{
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/h3",
"text": "Edit customer",
"className": ""
2019-10-19 08:24:20 +02:00
},
"className": ""
2019-10-18 18:32:03 +02:00
},
{
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/form",
"containerClass": "",
"formControls": [
{
"_component": "formControls#array_element#",
"label": "Name",
"control": {
"_component": "@budibase/standard-components/input",
"value": {
"##bbstate": "customer.name",
"##bbsource": "store"
},
"type": "text",
"className": "form-control"
}
},
{
"_component": "formControls#array_element#",
"label": "Enquiry Source",
"control": {
"_component": "@budibase/standard-components/select",
"value": {
"##bbstate": "customer.enquiry",
"##bbsource": "store"
},
"options": [
{
"_component": "options#array_element#",
"id": "Google",
"value": "Google"
},
{
"_component": "options#array_element#",
"id": "Facebook",
"value": "Facebook"
},
{
"_component": "options#array_element#",
"id": "Word of Mouth",
"value": "Word of Mouth"
}
],
"className": "form-control"
}
}
]
2019-10-19 08:24:20 +02:00
},
"className": ""
2019-10-18 18:32:03 +02:00
},
{
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/stackpanel",
"direction": "horizontal",
"children": [
{
"_component": "children#array_element#",
"control": {
"_component": "@budibase/standard-components/container",
2019-10-18 18:32:03 +02:00
"children": [
{
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/button",
"contentText": "Save customer",
"contentComponent": {
"_component": ""
},
"className": "btn btn-primary",
"disabled": false,
"onClick": [
{
"##eventHandlerType": "Save Record",
"parameters": {
"statePath": "customer"
}
},
{
"##eventHandlerType": "Set State",
"parameters": {
"path": "isEditingcustomer",
"value": ""
}
}
],
"background": "",
"color": "",
"border": "",
"padding": "",
"hoverColor": "",
"hoverBackground": "",
"hoverBorder": ""
2019-10-19 08:24:20 +02:00
},
"className": ""
2019-10-18 18:32:03 +02:00
}
],
"className": "btn-group",
"data": {
"##bbstate": ""
},
"dataItemComponent": {
"_component": ""
},
"onLoad": []
}
},
{
"_component": "children#array_element#",
"control": {
"_component": "@budibase/standard-components/container",
2019-10-18 18:32:03 +02:00
"children": [
{
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/button",
"contentText": "Cancel",
"contentComponent": {
"_component": ""
},
2019-10-19 08:24:20 +02:00
"className": "btn btn-secondary",
2019-10-18 18:32:03 +02:00
"disabled": false,
"onClick": [
{
"##eventHandlerType": "Set State",
"parameters": {
"path": "isEditingcustomer",
"value": ""
}
}
],
"background": "",
"color": "",
"border": "",
"padding": "",
"hoverColor": "",
"hoverBackground": "",
"hoverBorder": ""
2019-10-19 08:24:20 +02:00
},
"className": ""
2019-10-18 18:32:03 +02:00
}
],
"className": "btn-group",
"data": {
"##bbstate": ""
},
"dataItemComponent": {
"_component": ""
},
"onLoad": []
}
}
],
"width": "auto",
"height": "auto",
"containerClass": "",
"itemContainerClass": "",
"data": {
"##bbstate": ""
},
"dataItemComponent": {
"_component": ""
},
"onLoad": []
2019-10-19 08:24:20 +02:00
},
"className": ""
2019-10-18 18:32:03 +02:00
}
],
"className": "p-1",
"data": {
"##bbstate": ""
},
"dataItemComponent": {
"_component": ""
},
"onLoad": []
},
"elseComponent": {
"_component": "@budibase/standard-components/container",
2019-10-18 18:32:03 +02:00
"children": [
{
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/container",
2019-10-18 18:32:03 +02:00
"children": [
{
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/container",
2019-10-19 08:24:20 +02:00
"children": [
2019-10-18 18:32:03 +02:00
{
2019-10-19 08:24:20 +02:00
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/button",
"contentText": "Create customer",
"contentComponent": {
"_component": ""
},
"className": "btn btn-secondary",
"disabled": false,
"onClick": [
{
"##eventHandlerType": "Get New Record",
"parameters": {
"statePath": "customer",
"collectionKey": "/customers",
"childRecordType": "customer"
}
},
{
"##eventHandlerType": "Set State",
"parameters": {
"path": "isEditingcustomer",
"value": "true"
}
}
],
"background": "",
"color": "",
"border": "",
"padding": "",
"hoverColor": "",
"hoverBackground": "",
"hoverBorder": ""
},
"className": ""
2019-10-18 18:32:03 +02:00
},
{
2019-10-19 08:24:20 +02:00
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/button",
"contentText": "Refresh",
"contentComponent": {
"_component": ""
},
"className": "btn btn-secondary",
"disabled": false,
"onClick": [
{
"##eventHandlerType": "List Records",
"parameters": {
"statePath": "/all_customers",
"indexKey": "/all_customers"
}
}
],
"background": "",
"color": "",
"border": "",
"padding": "",
"hoverColor": "",
"hoverBackground": "",
"hoverBorder": ""
},
"className": ""
2019-10-18 18:32:03 +02:00
}
],
2019-10-19 08:24:20 +02:00
"className": "btn-group mr-3",
"data": {
"##bbstate": ""
},
"dataItemComponent": {
"_component": ""
},
"onLoad": []
},
"className": ""
2019-10-18 18:32:03 +02:00
},
{
"_component": "children#array_element#",
"component": {
2019-10-19 08:24:20 +02:00
"_component": "@budibase/standard-components/if",
"condition": "$store.selectedrow_all_customers && $store.selectedrow_all_customers.length > 0",
"thenComponent": {
"_component": "@budibase/standard-components/container",
2019-10-19 08:24:20 +02:00
"children": [
{
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/button",
"contentText": "Edit customer",
"contentComponent": {
"_component": ""
},
"className": "btn btn-secondary",
"disabled": false,
"onClick": [
{
"##eventHandlerType": "Load Record",
"parameters": {
"statePath": "customer",
"recordKey": {
"##bbstate": "selectedrow_all_customers",
"##source": "store"
}
}
},
{
"##eventHandlerType": "Set State",
"parameters": {
"path": "isEditingcustomer",
"value": "true"
}
}
],
"background": "",
"color": "",
"border": "",
"padding": "",
"hoverColor": "",
"hoverBackground": "",
"hoverBorder": ""
},
"className": ""
},
{
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/button",
"contentText": "Delete customer",
"contentComponent": {
"_component": ""
},
"className": "btn btn-secondary",
"disabled": false,
"onClick": [
{
"##eventHandlerType": "Delete Record",
"parameters": {
"recordKey": {
"##bbstate": "selectedrow_all_customers",
"##source": "store"
}
}
}
],
"background": "",
"color": "",
"border": "",
"padding": "",
"hoverColor": "",
"hoverBackground": "",
"hoverBorder": ""
},
"className": ""
2019-10-18 18:32:03 +02:00
}
2019-10-19 08:24:20 +02:00
],
"className": "btn-group",
"data": {
"##bbstate": ""
},
"dataItemComponent": {
"_component": ""
},
"onLoad": []
},
"elseComponent": {
"_component": ""
}
},
"className": ""
2019-10-18 18:32:03 +02:00
}
],
2019-10-19 08:24:20 +02:00
"className": "btn-toolbar mt-4 mb-2",
2019-10-18 18:32:03 +02:00
"data": {
"##bbstate": ""
},
"dataItemComponent": {
"_component": ""
},
"onLoad": []
2019-10-19 08:24:20 +02:00
},
"className": ""
2019-10-18 18:32:03 +02:00
},
{
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/table",
"data": {
"##bbstate": "/all_customers",
"##bbsource": "store"
},
"columns": [
{
"_component": "columns#array_element#",
"title": "enquiry",
"value": {
"##bbstate": "enquiry",
"##bbsource": "context"
}
},
{
"_component": "columns#array_element#",
"title": "name",
"value": {
"##bbstate": "name",
"##bbsource": "context"
}
}
],
"onRowClick": [
{
"##eventHandlerType": "Set State",
"parameters": {
2019-10-19 08:24:20 +02:00
"path": "selectedrow_all_customers",
2019-10-18 18:32:03 +02:00
"value": {
2019-10-19 08:24:20 +02:00
"##bbstate": "key",
"##bbsource": "event"
2019-10-18 18:32:03 +02:00
}
}
}
],
"tableClass": "table table-hover",
"theadClass": "thead-dark",
"tbodyClass": "tbody-default",
"trClass": "tr-default",
"thClass": "th-default"
2019-10-19 08:24:20 +02:00
},
"className": "flex-gow-1 overflow-auto"
2019-10-18 18:32:03 +02:00
}
],
2019-10-19 08:24:20 +02:00
"className": "d-flex flex-column h-100",
2019-10-18 18:32:03 +02:00
"data": {
"##bbstate": ""
},
"dataItemComponent": {
"_component": ""
},
"onLoad": [
{
"##eventHandlerType": "Set State",
"parameters": {
"path": "isEditingcustomer",
"value": ""
}
},
{
"##eventHandlerType": "List Records",
"parameters": {
"statePath": "/all_customers",
"indexKey": "/all_customers"
}
}
]
}
}
},
{
"_component": "items#array_element#",
"title": "contacts",
"component": {
"_component": "@budibase/standard-components/if",
"condition": "$store.isEditingContact",
"thenComponent": {
"_component": "@budibase/standard-components/container",
2019-10-18 18:32:03 +02:00
"children": [
{
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/h3",
"text": "Edit Contact",
"className": ""
2019-10-19 08:24:20 +02:00
},
"className": ""
2019-10-18 18:32:03 +02:00
},
{
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/form",
"containerClass": "",
"formControls": [
{
"_component": "formControls#array_element#",
"label": "Name",
"control": {
"_component": "@budibase/standard-components/input",
"value": {
"##bbstate": "Contact.name",
"##bbsource": "store"
},
"type": "text",
"className": "form-control"
}
},
{
"_component": "formControls#array_element#",
"label": "Has Been Contacted",
"control": {
"_component": "@budibase/standard-components/input",
"value": {
"##bbstate": "Contact.contacted",
"##bbsource": "store"
},
"type": "text",
"className": "form-control"
}
}
]
2019-10-19 08:24:20 +02:00
},
"className": ""
2019-10-18 18:32:03 +02:00
},
{
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/stackpanel",
"direction": "horizontal",
"children": [
{
"_component": "children#array_element#",
"control": {
"_component": "@budibase/standard-components/container",
2019-10-18 18:32:03 +02:00
"children": [
{
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/button",
"contentText": "Save Contact",
"contentComponent": {
"_component": ""
},
"className": "btn btn-primary",
"disabled": false,
"onClick": [
{
"##eventHandlerType": "Save Record",
"parameters": {
"statePath": "Contact"
}
},
{
"##eventHandlerType": "Set State",
"parameters": {
"path": "isEditingContact",
"value": ""
}
}
],
"background": "",
"color": "",
"border": "",
"padding": "",
"hoverColor": "",
"hoverBackground": "",
"hoverBorder": ""
2019-10-19 08:24:20 +02:00
},
"className": ""
2019-10-18 18:32:03 +02:00
}
],
"className": "btn-group",
"data": {
"##bbstate": ""
},
"dataItemComponent": {
"_component": ""
},
"onLoad": []
}
},
{
"_component": "children#array_element#",
"control": {
"_component": "@budibase/standard-components/container",
2019-10-18 18:32:03 +02:00
"children": [
{
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/button",
"contentText": "Cancel",
"contentComponent": {
"_component": ""
},
2019-10-19 08:24:20 +02:00
"className": "btn btn-secondary",
2019-10-18 18:32:03 +02:00
"disabled": false,
"onClick": [
{
"##eventHandlerType": "Set State",
"parameters": {
"path": "isEditingContact",
"value": ""
}
}
],
"background": "",
"color": "",
"border": "",
"padding": "",
"hoverColor": "",
"hoverBackground": "",
"hoverBorder": ""
2019-10-19 08:24:20 +02:00
},
"className": ""
2019-10-18 18:32:03 +02:00
}
],
"className": "btn-group",
"data": {
"##bbstate": ""
},
"dataItemComponent": {
"_component": ""
},
"onLoad": []
}
}
],
"width": "auto",
"height": "auto",
"containerClass": "",
"itemContainerClass": "",
"data": {
"##bbstate": ""
},
"dataItemComponent": {
"_component": ""
},
"onLoad": []
2019-10-19 08:24:20 +02:00
},
"className": ""
2019-10-18 18:32:03 +02:00
}
],
"className": "p-1",
"data": {
"##bbstate": ""
},
"dataItemComponent": {
"_component": ""
},
"onLoad": []
},
"elseComponent": {
"_component": "@budibase/standard-components/container",
2019-10-18 18:32:03 +02:00
"children": [
{
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/container",
2019-10-18 18:32:03 +02:00
"children": [
{
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/container",
2019-10-19 08:24:20 +02:00
"children": [
2019-10-18 18:32:03 +02:00
{
2019-10-19 08:24:20 +02:00
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/button",
"contentText": "Create Contact",
"contentComponent": {
"_component": ""
},
"className": "btn btn-secondary",
"disabled": false,
"onClick": [
{
"##eventHandlerType": "Get New Record",
"parameters": {
"statePath": "Contact",
"collectionKey": "/contacts",
"childRecordType": "Contact"
}
},
{
"##eventHandlerType": "Set State",
"parameters": {
"path": "isEditingContact",
"value": "true"
}
}
],
"background": "",
"color": "",
"border": "",
"padding": "",
"hoverColor": "",
"hoverBackground": "",
"hoverBorder": ""
},
"className": ""
2019-10-18 18:32:03 +02:00
},
{
2019-10-19 08:24:20 +02:00
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/button",
"contentText": "Refresh",
"contentComponent": {
"_component": ""
},
"className": "btn btn-secondary",
"disabled": false,
"onClick": [
{
"##eventHandlerType": "List Records",
"parameters": {
"statePath": "/all_contacts",
"indexKey": "/all_contacts"
}
}
],
"background": "",
"color": "",
"border": "",
"padding": "",
"hoverColor": "",
"hoverBackground": "",
"hoverBorder": ""
},
"className": ""
2019-10-18 18:32:03 +02:00
}
],
2019-10-19 08:24:20 +02:00
"className": "btn-group mr-3",
"data": {
"##bbstate": ""
},
"dataItemComponent": {
"_component": ""
},
"onLoad": []
},
"className": ""
2019-10-18 18:32:03 +02:00
},
{
"_component": "children#array_element#",
"component": {
2019-10-19 08:24:20 +02:00
"_component": "@budibase/standard-components/if",
"condition": "$store.selectedrow_all_contacts && $store.selectedrow_all_contacts.length > 0",
"thenComponent": {
"_component": "@budibase/standard-components/container",
2019-10-19 08:24:20 +02:00
"children": [
{
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/button",
"contentText": "Edit Contact",
"contentComponent": {
"_component": ""
},
"className": "btn btn-secondary",
"disabled": false,
"onClick": [
{
"##eventHandlerType": "Load Record",
"parameters": {
"statePath": "Contact",
"recordKey": {
"##bbstate": "selectedrow_all_contacts",
"##source": "store"
}
}
},
{
"##eventHandlerType": "Set State",
"parameters": {
"path": "isEditingContact",
"value": "true"
}
}
],
"background": "",
"color": "",
"border": "",
"padding": "",
"hoverColor": "",
"hoverBackground": "",
"hoverBorder": ""
},
"className": ""
},
{
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/button",
"contentText": "Delete Contact",
"contentComponent": {
"_component": ""
},
"className": "btn btn-secondary",
"disabled": false,
"onClick": [
{
"##eventHandlerType": "Delete Record",
"parameters": {
"recordKey": {
"##bbstate": "selectedrow_all_contacts",
"##source": "store"
}
}
}
],
"background": "",
"color": "",
"border": "",
"padding": "",
"hoverColor": "",
"hoverBackground": "",
"hoverBorder": ""
},
"className": ""
2019-10-18 18:32:03 +02:00
}
2019-10-19 08:24:20 +02:00
],
"className": "btn-group",
"data": {
"##bbstate": ""
},
"dataItemComponent": {
"_component": ""
},
"onLoad": []
},
"elseComponent": {
"_component": ""
}
},
"className": ""
2019-10-18 18:32:03 +02:00
}
],
2019-10-19 08:24:20 +02:00
"className": "btn-toolbar mt-4 mb-2",
2019-10-18 18:32:03 +02:00
"data": {
"##bbstate": ""
},
"dataItemComponent": {
"_component": ""
},
"onLoad": []
2019-10-19 08:24:20 +02:00
},
"className": ""
2019-10-18 18:32:03 +02:00
},
{
"_component": "children#array_element#",
"component": {
"_component": "@budibase/standard-components/table",
"data": {
"##bbstate": "/all_contacts",
"##bbsource": "store"
},
"columns": [
{
"_component": "columns#array_element#",
"title": "contacted",
"value": {
"##bbstate": "contacted",
"##bbsource": "context"
}
},
{
"_component": "columns#array_element#",
"title": "name",
"value": {
"##bbstate": "name",
"##bbsource": "context"
}
}
],
"onRowClick": [
{
"##eventHandlerType": "Set State",
"parameters": {
2019-10-19 08:24:20 +02:00
"path": "selectedrow_all_contacts",
2019-10-18 18:32:03 +02:00
"value": {
2019-10-19 08:24:20 +02:00
"##bbstate": "key",
"##bbsource": "event"
2019-10-18 18:32:03 +02:00
}
}
}
],
"tableClass": "table table-hover",
"theadClass": "thead-dark",
"tbodyClass": "tbody-default",
"trClass": "tr-default",
"thClass": "th-default"
2019-10-19 08:24:20 +02:00
},
"className": "flex-gow-1 overflow-auto"
2019-10-18 18:32:03 +02:00
}
],
2019-10-19 08:24:20 +02:00
"className": "d-flex flex-column h-100",
2019-10-18 18:32:03 +02:00
"data": {
"##bbstate": ""
},
"dataItemComponent": {
"_component": ""
},
"onLoad": [
{
"##eventHandlerType": "Set State",
"parameters": {
"path": "isEditingContact",
"value": ""
}
},
{
"##eventHandlerType": "List Records",
"parameters": {
"statePath": "/all_contacts",
"indexKey": "/all_contacts"
}
}
]
}
}
}
],
"selectedItem": {
"##bbstate": "selectedNav",
2019-10-19 08:24:20 +02:00
"##bbstatefallback": "customers",
2019-10-18 18:32:03 +02:00
"##bbsource": "store"
},
2019-10-19 08:24:20 +02:00
"pills": false,
2019-10-18 18:32:03 +02:00
"orientation": "horizontal",
2019-10-19 08:24:20 +02:00
"alignment": "end",
2019-10-18 18:32:03 +02:00
"fill": false,
2019-10-19 08:24:20 +02:00
"hideNavBar": false,
"className": "p-3"
2019-10-18 18:32:03 +02:00
},
"unauthenticated": {
"_component": "@budibase/standard-components/login",
"logo": "",
"loginRedirect": "",
"usernameLabel": "Username",
"passwordLabel": "Password",
"loginButtonLabel": "Login",
"buttonClass": "",
"inputClass": ""
}
2019-09-09 06:24:14 +02:00
}
}