411 lines
11 KiB
JSON
411 lines
11 KiB
JSON
|
{
|
||
|
"name": "New App",
|
||
|
"description": "",
|
||
|
"url": "",
|
||
|
"uiFunctions": "",
|
||
|
"props": {
|
||
|
"_component": "@budibase/standard-components/container",
|
||
|
"_styles": {
|
||
|
"position": {},
|
||
|
"layout": {}
|
||
|
},
|
||
|
"_id": "03e2505d-5544-49c0-b964-22cdbd8e4065",
|
||
|
"_code": "",
|
||
|
"className": "",
|
||
|
"onLoad": [],
|
||
|
"type": "div",
|
||
|
"backgroundColor": "",
|
||
|
"color": "",
|
||
|
"borderWidth": "",
|
||
|
"borderColor": "",
|
||
|
"borderStyle": "none",
|
||
|
"_children": [
|
||
|
{
|
||
|
"_component": "@budibase/standard-components/container",
|
||
|
"_code": "",
|
||
|
"type": "div",
|
||
|
"onLoad": [
|
||
|
{
|
||
|
"##eventHandlerType": "Get New Record",
|
||
|
"parameters": {
|
||
|
"collectionKey": "/applications",
|
||
|
"childRecordType": "application",
|
||
|
"statePath": "application"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"_children": [
|
||
|
{
|
||
|
"_component": "@budibase/standard-components/container",
|
||
|
"borderWidth": "1px 0px 0px 0px",
|
||
|
"borderColor": "lightgray",
|
||
|
"borderStyle": "solid",
|
||
|
"_styles": {
|
||
|
"position": {
|
||
|
"column": [
|
||
|
"",
|
||
|
""
|
||
|
],
|
||
|
"row": [
|
||
|
"",
|
||
|
""
|
||
|
],
|
||
|
"margin": [
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
""
|
||
|
],
|
||
|
"padding": [
|
||
|
"30px",
|
||
|
"",
|
||
|
"",
|
||
|
""
|
||
|
],
|
||
|
"height": [
|
||
|
""
|
||
|
],
|
||
|
"width": [
|
||
|
""
|
||
|
],
|
||
|
"zindex": [
|
||
|
""
|
||
|
]
|
||
|
},
|
||
|
"layout": {
|
||
|
"templaterows": [
|
||
|
""
|
||
|
],
|
||
|
"templatecolumns": [
|
||
|
""
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"_children": [
|
||
|
{
|
||
|
"_component": "@budibase/materialdesign-components/Button",
|
||
|
"_styles": {
|
||
|
"position": {
|
||
|
"row": [
|
||
|
"",
|
||
|
""
|
||
|
],
|
||
|
"column": [
|
||
|
"",
|
||
|
""
|
||
|
],
|
||
|
"padding": [
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
""
|
||
|
],
|
||
|
"margin": [
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
"10px"
|
||
|
],
|
||
|
"width": [
|
||
|
""
|
||
|
],
|
||
|
"height": [
|
||
|
""
|
||
|
],
|
||
|
"zindex": [
|
||
|
""
|
||
|
]
|
||
|
},
|
||
|
"layout": {
|
||
|
"templatecolumns": [
|
||
|
""
|
||
|
],
|
||
|
"templaterows": [
|
||
|
""
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"onClick": [
|
||
|
{
|
||
|
"##eventHandlerType": "Navigate To",
|
||
|
"parameters": {
|
||
|
"url": "/applications"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"colour": "secondary",
|
||
|
"text": "Cancel",
|
||
|
"_id": "c24bc4f7-77b3-49ba-b104-43e15d23b130",
|
||
|
"_code": "",
|
||
|
"variant": "text",
|
||
|
"size": "medium",
|
||
|
"href": "",
|
||
|
"icon": "",
|
||
|
"trailingIcon": false,
|
||
|
"fullwidth": false,
|
||
|
"disabled": false
|
||
|
},
|
||
|
{
|
||
|
"_component": "@budibase/materialdesign-components/Button",
|
||
|
"onClick": [
|
||
|
{
|
||
|
"##eventHandlerType": "Save Record",
|
||
|
"parameters": {
|
||
|
"statePath": "application"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"##eventHandlerType": "Navigate To",
|
||
|
"parameters": {
|
||
|
"url": "/applications"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"variant": "raised",
|
||
|
"colour": "primary",
|
||
|
"size": "medium",
|
||
|
"text": "Save Application",
|
||
|
"_id": "35aac80a-f968-4927-ae80-6d158254f401",
|
||
|
"_styles": {
|
||
|
"position": {},
|
||
|
"layout": {}
|
||
|
},
|
||
|
"_code": "",
|
||
|
"href": "",
|
||
|
"icon": "",
|
||
|
"trailingIcon": false,
|
||
|
"fullwidth": false,
|
||
|
"disabled": false
|
||
|
}
|
||
|
],
|
||
|
"_id": "5838e5ea-e6bb-4188-8d98-390faa986ba9",
|
||
|
"_code": "",
|
||
|
"className": "",
|
||
|
"onLoad": [],
|
||
|
"type": "div",
|
||
|
"backgroundColor": "",
|
||
|
"color": ""
|
||
|
},
|
||
|
{
|
||
|
"_component": "@budibase/materialdesign-components/H3",
|
||
|
"text": "Application",
|
||
|
"_id": "08aa6332-4b0d-43e5-b498-4849b78b54e5",
|
||
|
"_styles": {
|
||
|
"position": {},
|
||
|
"layout": {}
|
||
|
},
|
||
|
"_code": "",
|
||
|
"_children": []
|
||
|
},
|
||
|
{
|
||
|
"_component": "@budibase/materialdesign-components/H3",
|
||
|
"text": "Application",
|
||
|
"_id": "711f6c0e-4fd4-4401-a929-99ce7d634e50",
|
||
|
"_styles": {
|
||
|
"position": {},
|
||
|
"layout": {}
|
||
|
},
|
||
|
"_code": "",
|
||
|
"_children": []
|
||
|
},
|
||
|
{
|
||
|
"_component": "@budibase/materialdesign-components/Textfield",
|
||
|
"label": "Name",
|
||
|
"variant": "filled",
|
||
|
"disabled": false,
|
||
|
"fullwidth": false,
|
||
|
"colour": "primary",
|
||
|
"maxLength": 500,
|
||
|
"placeholder": "Name",
|
||
|
"value": "state.application.name",
|
||
|
"_id": "89226755-6c92-4c4b-ad3d-0437f542790a",
|
||
|
"_styles": {
|
||
|
"position": {},
|
||
|
"layout": {}
|
||
|
},
|
||
|
"_code": "",
|
||
|
"onChange": [],
|
||
|
"size": "medium",
|
||
|
"type": "text",
|
||
|
"required": false,
|
||
|
"minLength": 0,
|
||
|
"helperText": "",
|
||
|
"errorText": "",
|
||
|
"icon": "",
|
||
|
"trailingIcon": false,
|
||
|
"textarea": false,
|
||
|
"rows": 0,
|
||
|
"cols": 0,
|
||
|
"validation": false,
|
||
|
"persistent": false,
|
||
|
"_children": []
|
||
|
},
|
||
|
{
|
||
|
"_component": "@budibase/standard-components/container",
|
||
|
"borderWidth": "1px 0px 0px 0px",
|
||
|
"borderColor": "lightgray",
|
||
|
"borderStyle": "solid",
|
||
|
"_styles": {
|
||
|
"position": {
|
||
|
"column": [
|
||
|
"",
|
||
|
""
|
||
|
],
|
||
|
"row": [
|
||
|
"",
|
||
|
""
|
||
|
],
|
||
|
"margin": [
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
""
|
||
|
],
|
||
|
"padding": [
|
||
|
"30px",
|
||
|
"",
|
||
|
"",
|
||
|
""
|
||
|
],
|
||
|
"height": [
|
||
|
""
|
||
|
],
|
||
|
"width": [
|
||
|
""
|
||
|
],
|
||
|
"zindex": [
|
||
|
""
|
||
|
]
|
||
|
},
|
||
|
"layout": {
|
||
|
"templaterows": [
|
||
|
""
|
||
|
],
|
||
|
"templatecolumns": [
|
||
|
""
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"_children": [
|
||
|
{
|
||
|
"_component": "@budibase/materialdesign-components/Button",
|
||
|
"_styles": {
|
||
|
"position": {
|
||
|
"row": [
|
||
|
"",
|
||
|
""
|
||
|
],
|
||
|
"column": [
|
||
|
"",
|
||
|
""
|
||
|
],
|
||
|
"padding": [
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
""
|
||
|
],
|
||
|
"margin": [
|
||
|
"",
|
||
|
"",
|
||
|
"",
|
||
|
"10px"
|
||
|
],
|
||
|
"width": [
|
||
|
""
|
||
|
],
|
||
|
"height": [
|
||
|
""
|
||
|
],
|
||
|
"zindex": [
|
||
|
""
|
||
|
]
|
||
|
},
|
||
|
"layout": {
|
||
|
"templatecolumns": [
|
||
|
""
|
||
|
],
|
||
|
"templaterows": [
|
||
|
""
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"onClick": [
|
||
|
{
|
||
|
"##eventHandlerType": "Navigate To",
|
||
|
"parameters": {
|
||
|
"url": "/applications"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"colour": "secondary",
|
||
|
"text": "Cancel",
|
||
|
"_id": "bb55c61d-6636-4034-b563-b204af17aef0",
|
||
|
"_code": "",
|
||
|
"variant": "text",
|
||
|
"size": "medium",
|
||
|
"href": "",
|
||
|
"icon": "",
|
||
|
"trailingIcon": false,
|
||
|
"fullwidth": false,
|
||
|
"disabled": false
|
||
|
},
|
||
|
{
|
||
|
"_component": "@budibase/materialdesign-components/Button",
|
||
|
"onClick": [
|
||
|
{
|
||
|
"##eventHandlerType": "Save Record",
|
||
|
"parameters": {
|
||
|
"statePath": "application"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"##eventHandlerType": "Navigate To",
|
||
|
"parameters": {
|
||
|
"url": "/applications"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"variant": "raised",
|
||
|
"colour": "primary",
|
||
|
"size": "medium",
|
||
|
"text": "Save Application",
|
||
|
"_id": "bbc67f2c-f304-4159-bd98-8fcce8fc4295",
|
||
|
"_styles": {
|
||
|
"position": {},
|
||
|
"layout": {}
|
||
|
},
|
||
|
"_code": "",
|
||
|
"href": "",
|
||
|
"icon": "",
|
||
|
"trailingIcon": false,
|
||
|
"fullwidth": false,
|
||
|
"disabled": false
|
||
|
}
|
||
|
],
|
||
|
"_id": "38ae0429-67b7-4d79-b5e2-78bec984754e",
|
||
|
"_code": "",
|
||
|
"className": "",
|
||
|
"onLoad": [],
|
||
|
"type": "div",
|
||
|
"backgroundColor": "",
|
||
|
"color": ""
|
||
|
}
|
||
|
],
|
||
|
"_id": "f1fbe91b-00d9-4bd7-a524-e03ed0f080c8",
|
||
|
"_styles": {
|
||
|
"position": {},
|
||
|
"layout": {}
|
||
|
},
|
||
|
"className": "",
|
||
|
"backgroundColor": "",
|
||
|
"color": "",
|
||
|
"borderWidth": "",
|
||
|
"borderColor": "",
|
||
|
"borderStyle": "none"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"route": "/createapp"
|
||
|
}
|