{
  "type": "screen_package",
  "version": "2",
  "screens": [
    {
      "id": 2,
      "screen_category_id": "1",
      "title": "test",
      "description": "test",
      "type": "FORM",
      "config": [
        {
          "name": "test",
          "items": [
            {
              "label": "Select List",
              "config": {
                "icon": "fas fa-angle-double-down",
                "name": "form_select_list_1",
                "label": "New Select List",
                "helper": null,
                "options": {
                  "key": "value",
                  "value": "content",
                  "dataName": "response",
                  "jsonData": "[{\"content\":\"uno\",\"value\":\"uno\"},{\"content\":\"dos\",\"value\":\"dos\"}]",
                  "renderAs": "dropdown",
                  "editIndex": null,
                  "pmqlQuery": null,
                  "dataSource": "provideData",
                  "optionsList": [
                    { "value": "uno", "content": "uno" },
                    { "value": "dos", "content": "dos" }
                  ],
                  "removeIndex": null,
                  "showRenderAs": true,
                  "showJsonEditor": false,
                  "showOptionCard": false,
                  "selectedOptions": [],
                  "allowMultiSelect": false,
                  "showRemoveWarning": false,
                  "valueTypeReturned": "single"
                },
                "validation": [],
                "placeholder": null,
                "rootElement": "response",
                "dataSourceUrl": null,
                "dataSourceEndpoint": null
              },
              "component": "FormSelectList",
              "inspector": [
                {
                  "type": "FormInput",
                  "field": "name",
                  "config": {
                    "name": "Variable Name",
                    "label": "Variable Name",
                    "helper": "A variable name is a symbolic name to reference information.",
                    "validation": "regex:/^(?:[A-Z_.a-z])(?:[0-9A-Z_.a-z])*$/|required|not_in:null,break,case,catch,continue,debugger,default,delete,do,else,finally,for,function,if,in,instanceof,new,return,switch,this,throw,try,typeof,var,void,while,with,class,const,enum,export,extends,import,super"
                  }
                },
                {
                  "type": "FormInput",
                  "field": "label",
                  "config": {
                    "label": "Label",
                    "helper": "The label describes the field's name"
                  }
                },
                {
                  "type": "FormInput",
                  "field": "placeholder",
                  "config": {
                    "label": "Placeholder Text",
                    "helper": "The placeholder is what is shown in the field when no value is provided yet"
                  }
                },
                {
                  "type": "ValidationSelect",
                  "field": "validation",
                  "config": {
                    "label": "Validation Rules",
                    "helper": "The validation rules needed for this field"
                  }
                },
                {
                  "type": "FormInput",
                  "field": "helper",
                  "config": {
                    "label": "Helper Text",
                    "helper": "Help text is meant to provide additional guidance on the field's value"
                  }
                },
                {
                  "type": "OptionsList",
                  "field": "options",
                  "config": { "label": null, "helper": null }
                },
                {
                  "type": "ColorSelect",
                  "field": "color",
                  "config": {
                    "label": "Text Color",
                    "helper": "Set the element's text color",
                    "options": [
                      { "value": "text-primary", "content": "primary" },
                      { "value": "text-secondary", "content": "secondary" },
                      { "value": "text-success", "content": "success" },
                      { "value": "text-danger", "content": "danger" },
                      { "value": "text-warning", "content": "warning" },
                      { "value": "text-info", "content": "info" },
                      { "value": "text-light", "content": "light" },
                      { "value": "text-dark", "content": "dark" }
                    ]
                  }
                },
                {
                  "type": "ColorSelect",
                  "field": "bgcolor",
                  "config": {
                    "label": "Background Color",
                    "helper": "Set the element's background color",
                    "options": [
                      { "value": "alert alert-primary", "content": "primary" },
                      {
                        "value": "alert alert-secondary",
                        "content": "secondary"
                      },
                      { "value": "alert alert-success", "content": "success" },
                      { "value": "alert alert-danger", "content": "danger" },
                      { "value": "alert alert-warning", "content": "warning" },
                      { "value": "alert alert-info", "content": "info" },
                      { "value": "alert alert-light", "content": "light" },
                      { "value": "alert alert-dark", "content": "dark" }
                    ]
                  }
                },
                {
                  "type": {
                    "props": ["value"],
                    "watch": { "value": { "immediate": true } },
                    "methods": [],
                    "_scopeId": "data-v-5d32d6af",
                    "computed": { "effectiveValue": [] },
                    "_compiled": true,
                    "components": {
                      "MonacoEditor": {
                        "name": "monaco-editor",
                        "_Ctor": [],
                        "props": { "amdRequire": [] },
                        "extends": {
                          "name": "MonacoEditor",
                          "model": { "event": "change" },
                          "props": {
                            "theme": { "default": "vs" },
                            "value": { "required": true },
                            "options": [],
                            "language": [],
                            "original": [],
                            "amdRequire": [],
                            "diffEditor": { "default": false }
                          },
                          "watch": {
                            "options": { "deep": true, "user": true }
                          },
                          "methods": []
                        },
                        "methods": []
                      }
                    },
                    "staticRenderFns": []
                  },
                  "field": "defaultValue",
                  "config": {
                    "label": "Default Value",
                    "helper": "Takes precedence over value set in data."
                  }
                },
                {
                  "type": "FormInput",
                  "field": "conditionalHide",
                  "config": {
                    "label": "Visibility Rule",
                    "helper": "This control is hidden until this expression is true"
                  }
                },
                {
                  "type": "FormInput",
                  "field": "customCssSelector",
                  "config": {
                    "label": "CSS Selector Name",
                    "helper": "Use this in your custom css rules",
                    "validation": "regex: [-?[_a-zA-Z]+[_-a-zA-Z0-9]*]"
                  }
                }
              ],
              "editor-control": "FormSelectList",
              "editor-component": "FormSelectList"
            },
            {
              "label": "Record List",
              "config": {
                "form": null,
                "icon": "fas fa-th-list",
                "name": "form_record_list_1",
                "label": "New Record List",
                "fields": {
                  "jsonData": "[]",
                  "editIndex": null,
                  "dataSource": "provideData",
                  "optionsList": [],
                  "removeIndex": null,
                  "showJsonEditor": false,
                  "showOptionCard": false,
                  "showRemoveWarning": false
                },
                "editable": false
              },
              "component": "FormRecordList",
              "inspector": [
                {
                  "type": "FormInput",
                  "field": "name",
                  "config": {
                    "name": "Variable Name",
                    "label": "Variable Name",
                    "helper": "A variable name is a symbolic name to reference information.",
                    "validation": "regex:/^(?:[A-Z_.a-z])(?:[0-9A-Z_.a-z])*$/|required|not_in:null,break,case,catch,continue,debugger,default,delete,do,else,finally,for,function,if,in,instanceof,new,return,switch,this,throw,try,typeof,var,void,while,with,class,const,enum,export,extends,import,super"
                  }
                },
                {
                  "type": "FormInput",
                  "field": "label",
                  "config": {
                    "label": "List Label",
                    "helper": "The label describes this record list"
                  }
                },
                {
                  "type": "FormCheckbox",
                  "field": "editable",
                  "config": {
                    "label": "Editable?",
                    "helper": "Should records be editable/removable and can new records be added"
                  }
                },
                {
                  "type": "ColumnSetup",
                  "field": "fields",
                  "config": {
                    "label": "Columns",
                    "helper": "List of columns to display in the record list"
                  }
                },
                {
                  "type": "PageSelect",
                  "field": "form",
                  "config": {
                    "label": "Record Form",
                    "helper": "The form to use for adding/editing records"
                  }
                },
                {
                  "type": "ColorSelect",
                  "field": "color",
                  "config": {
                    "label": "Text Color",
                    "helper": "Set the element's text color",
                    "options": [
                      { "value": "text-primary", "content": "primary" },
                      { "value": "text-secondary", "content": "secondary" },
                      { "value": "text-success", "content": "success" },
                      { "value": "text-danger", "content": "danger" },
                      { "value": "text-warning", "content": "warning" },
                      { "value": "text-info", "content": "info" },
                      { "value": "text-light", "content": "light" },
                      { "value": "text-dark", "content": "dark" }
                    ]
                  }
                },
                {
                  "type": "ColorSelect",
                  "field": "bgcolor",
                  "config": {
                    "label": "Background Color",
                    "helper": "Set the element's background color",
                    "options": [
                      { "value": "alert alert-primary", "content": "primary" },
                      {
                        "value": "alert alert-secondary",
                        "content": "secondary"
                      },
                      { "value": "alert alert-success", "content": "success" },
                      { "value": "alert alert-danger", "content": "danger" },
                      { "value": "alert alert-warning", "content": "warning" },
                      { "value": "alert alert-info", "content": "info" },
                      { "value": "alert alert-light", "content": "light" },
                      { "value": "alert alert-dark", "content": "dark" }
                    ]
                  }
                },
                {
                  "type": "FormInput",
                  "field": "conditionalHide",
                  "config": {
                    "label": "Visibility Rule",
                    "helper": "This control is hidden until this expression is true"
                  }
                },
                {
                  "type": "FormInput",
                  "field": "customCssSelector",
                  "config": {
                    "label": "CSS Selector Name",
                    "helper": "Use this in your custom css rules",
                    "validation": "regex: [-?[_a-zA-Z]+[_-a-zA-Z0-9]*]"
                  }
                }
              ],
              "editor-control": "FormRecordList",
              "editor-component": "FormText"
            },
            {
              "label": "Submit Button",
              "config": {
                "icon": "fas fa-share-square",
                "name": null,
                "event": "submit",
                "label": "New Submit",
                "variant": "primary",
                "fieldValue": null,
                "defaultSubmit": true
              },
              "component": "FormButton",
              "inspector": [
                {
                  "type": "FormInput",
                  "field": "label",
                  "config": {
                    "label": "Label",
                    "helper": "The label describes the button's text"
                  }
                },
                {
                  "type": "FormInput",
                  "field": "name",
                  "config": {
                    "name": "Variable Name",
                    "label": "Variable Name",
                    "helper": "A variable name is a symbolic name to reference information."
                  }
                },
                {
                  "type": "FormMultiselect",
                  "field": "event",
                  "config": {
                    "label": "Type",
                    "helper": "Choose whether the button should submit the form",
                    "options": [
                      { "value": "submit", "content": "Submit Button" },
                      { "value": "script", "content": "Regular Button" }
                    ]
                  }
                },
                {
                  "type": "FormInput",
                  "field": "fieldValue",
                  "config": {
                    "label": "Value",
                    "helper": "The value being submitted"
                  }
                },
                {
                  "type": "FormMultiselect",
                  "field": "variant",
                  "config": {
                    "label": "Button Variant Style",
                    "helper": "The variant determines the appearance of the button",
                    "options": [
                      { "value": "primary", "content": "Primary" },
                      { "value": "secondary", "content": "Secondary" },
                      { "value": "success", "content": "Success" },
                      { "value": "danger", "content": "Danger" },
                      { "value": "warning", "content": "Warning" },
                      { "value": "info", "content": "Info" },
                      { "value": "light", "content": "Light" },
                      { "value": "dark", "content": "Dark" },
                      { "value": "link", "content": "Link" }
                    ]
                  }
                },
                {
                  "type": "FormInput",
                  "field": "conditionalHide",
                  "config": {
                    "label": "Visibility Rule",
                    "helper": "This control is hidden until this expression is true"
                  }
                },
                {
                  "type": "FormInput",
                  "field": "customCssSelector",
                  "config": {
                    "label": "CSS Selector Name",
                    "helper": "Use this in your custom css rules",
                    "validation": "regex: [-?[_a-zA-Z]+[_-a-zA-Z0-9]*]"
                  }
                }
              ],
              "editor-control": "FormSubmit",
              "editor-component": "FormButton"
            }
          ]
        }
      ],
      "computed": [],
      "custom_css": null,
      "created_at": "2021-01-11T07:13:03-08:00",
      "updated_at": "2021-01-11T10:46:33-08:00",
      "status": "ACTIVE",
      "key": null,
      "watchers": [],
      "categories": [
        {
          "id": 1,
          "name": "Uncategorized",
          "status": "ACTIVE",
          "is_system": 0,
          "created_at": "2021-01-11T07:06:36-08:00",
          "updated_at": "2021-01-11T07:06:36-08:00",
          "pivot": {
            "assignable_id": 2,
            "category_id": 1,
            "category_type": "ProcessMaker\\Models\\ScreenCategory"
          }
        }
      ]
    }
  ],
  "screen_categories": [],
  "scripts": []
}
