diff --git a/database/processes/screens/default-email-task-notification.json b/database/processes/screens/default-email-task-notification.json index 5ee2957e4b..b0169bee70 100644 --- a/database/processes/screens/default-email-task-notification.json +++ b/database/processes/screens/default-email-task-notification.json @@ -1,7 +1,651 @@ [ - { - "name": "Default Email Task Notification", - "items": [ - ] - } + { + "name":"Default Email Task Notification", + "items":[ + { + "label":"Rich Text", + "config":{ + "icon":"fas fa-pencil-ruler", + "label":null, + "content":"

<\/p>", + "interactive":true, + "renderVarHtml":false + }, + "component":"FormHtmlViewer", + "inspector":[ + { + "type":"FormTextArea", + "field":"content", + "config":{ + "rows":5, + "label":"Content", + "value":null, + "helper":"The HTML text to display" + } + }, + { + "type":"FormCheckbox", + "field":"renderVarHtml", + "config":{ + "label":"Render HTML from a Variable", + "value":null, + "helper":null + } + }, + { + "type":"FormInput", + "field":"conditionalHide", + "config":{ + "label":"Visibility Rule", + "helper":"This control is hidden until this expression is true" + } + }, + { + "type":"DeviceVisibility", + "field":"deviceVisibility", + "config":{ + "label":"Device Visibility", + "helper":"This control is hidden until this expression is true" + } + }, + { + "type":"FormInput", + "field":"customFormatter", + "config":{ + "label":"Custom Format String", + "helper":"Use the Mask Pattern format
Date ##\/##\/####
SSN ###-##-####
Phone (###) ###-####", + "validation":null + } + }, + { + "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]*]" + } + }, + { + "type":"FormInput", + "field":"ariaLabel", + "config":{ + "label":"Aria Label", + "helper":"Attribute designed to help assistive technology (e.g. screen readers) attach a label" + } + }, + { + "type":"FormInput", + "field":"tabindex", + "config":{ + "label":"Tab Order", + "helper":"Order in which a user will move focus from one control to another by pressing the Tab key", + "validation":"regex: [0-9]*" + } + }, + { + "type":"EncryptedConfig", + "field":"encryptedConfig", + "config":{ + "label":"Encrypted", + "helper":null + } + } + ], + "editor-control":"FormHtmlEditor", + "editor-component":"FormHtmlEditor" + }, + { + "uuid":"64801c0f-3b96-4261-a1ab-76f521a537ba", + "label":"Rich Text", + "config":{ + "icon":"fas fa-pencil-ruler", + "label":null, + "content":"

Hello {{ _firstname }}<\/strong> You just been assigned in a task by {{_assigned_by}}.<\/p>", + "interactive":true, + "renderVarHtml":false + }, + "component":"FormHtmlViewer", + "inspector":[ + { + "type":"FormTextArea", + "field":"content", + "config":{ + "rows":5, + "label":"Content", + "value":null, + "helper":"The HTML text to display" + } + }, + { + "type":"FormCheckbox", + "field":"renderVarHtml", + "config":{ + "label":"Render HTML from a Variable", + "value":null, + "helper":null + } + }, + { + "type":"FormInput", + "field":"conditionalHide", + "config":{ + "label":"Visibility Rule", + "helper":"This control is hidden until this expression is true" + } + }, + { + "type":"DeviceVisibility", + "field":"deviceVisibility", + "config":{ + "label":"Device Visibility", + "helper":"This control is hidden until this expression is true" + } + }, + { + "type":"FormInput", + "field":"customFormatter", + "config":{ + "label":"Custom Format String", + "helper":"Use the Mask Pattern format
Date ##\/##\/####
SSN ###-##-####
Phone (###) ###-####", + "validation":null + } + }, + { + "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]*]" + } + }, + { + "type":"FormInput", + "field":"ariaLabel", + "config":{ + "label":"Aria Label", + "helper":"Attribute designed to help assistive technology (e.g. screen readers) attach a label" + } + }, + { + "type":"FormInput", + "field":"tabindex", + "config":{ + "label":"Tab Order", + "helper":"Order in which a user will move focus from one control to another by pressing the Tab key", + "validation":"regex: [0-9]*" + } + }, + { + "type":"EncryptedConfig", + "field":"encryptedConfig", + "config":{ + "label":"Encrypted", + "helper":null + } + } + ], + "editor-control":"FormHtmlEditor", + "editor-component":"FormHtmlEditor" + }, + { + "uuid":"76e3d4a6-d4c0-411e-8f6d-1f87f484f4d2", + "label":"Submit Button", + "config":{ + "icon":"fas fa-share-square", + "name":null, + "event":"submit", + "label":"Review Task", + "loading":false, + "tooltip":[ + + ], + "variant":"primary", + "fieldValue":null, + "loadingLabel":"Loading...", + "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.", + "validation":"regex:\/^(?:[A-Za-z])(?:[0-9A-Z_.a-z])*(? Date ##\/##\/####
SSN ###-##-####
Phone (###) ###-####", + "validation":null + } + }, + { + "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]*]" + } + }, + { + "type":"FormInput", + "field":"ariaLabel", + "config":{ + "label":"Aria Label", + "helper":"Attribute designed to help assistive technology (e.g. screen readers) attach a label" + } + }, + { + "type":"FormInput", + "field":"tabindex", + "config":{ + "label":"Tab Order", + "helper":"Order in which a user will move focus from one control to another by pressing the Tab key", + "validation":"regex: [0-9]*" + } + }, + { + "type":"EncryptedConfig", + "field":"encryptedConfig", + "config":{ + "label":"Encrypted", + "helper":null + } + } + ], + "editor-control":"FormSubmit", + "editor-component":"FormButton" + }, + { + "uuid":"34e729bb-1b04-4023-8593-3a740c34ca2b", + "label":"Record List", + "config":{ + "form":null, + "icon":"fas fa-th-list", + "name":"form_record_list_1", + "label":"New Record List", + "fields":{ + "jsonData":"[{\"content\":\"Task\",\"value\":\"element_name\"},{\"content\":\"Case\",\"value\":\"case_title\"},{\"content\":\"Due Date\",\"value\":\"due_date\"},{\"content\":\"Assigned By\",\"value\":\"assigned_by\"}]", + "editIndex":null, + "dataSource":"provideData", + "optionsList":[ + { + "value":"element_name", + "content":"Task" + }, + { + "value":"case_title", + "content":"Case" + }, + { + "value":"due_date", + "content":"Due Date" + }, + { + "value":"assigned_by", + "content":"Assigned By" + } + ], + "removeIndex":null, + "showJsonEditor":false, + "showOptionCard":false, + "showRemoveWarning":false + }, + "source":{ + "pmql":null, + "singleField":null, + "sourceOptions":"Variable", + "variableStore":null, + "collectionFields":[ + + ], + "dataSelectionOptions":"no-selection", + "collectionFieldsColumns":[ + + ] + }, + "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":"dot_notation|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,true,false" + } + }, + { + "type":"FormInput", + "field":"label", + "config":{ + "label":"List Label", + "helper":"The label describes this record list" + } + }, + { + "type":"collectionDataSource", + "field":"source", + "config":{ + "label":"Source of Record List", + "helper":"A record list can display the data of a defined variable or a collection" + } + }, + { + "type":"ColumnSetup", + "field":"fields", + "config":{ + "label":"Columns", + "helper":"List of columns to display in the record list" + } + }, + { + "type":"FormMultiselect", + "field":"paginationOption", + "config":{ + "icon":"fas", + "label":"pagination", + "helper":null, + "options":[ + { + "value":0, + "content":"No Pagination (show all)" + }, + { + "value":5, + "content":"5 items per page" + }, + { + "value":10, + "content":"10 items per page" + }, + { + "value":15, + "content":"15 items per page" + }, + { + "value":25, + "content":"25 items per page" + }, + { + "value":50, + "content":"50 items per page" + } + ] + } + }, + { + "type":"collectionDesignerMode", + "field":"designerMode", + "config":{ + "label":"Table Style", + "helper":null + } + }, + { + "type":"ColorSelectRecord", + "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":"ColorSelectRecord", + "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":"ColorSelectModern", + "field":"bgcolormodern", + "config":{ + "label":null, + "helper":null, + "options":[ + { + "value":"alert alert-primary", + "content":"primary" + }, + { + "value":"alert alert-success", + "content":"success" + }, + { + "value":"alert alert-warning", + "content":"warning" + }, + { + "value":"alert alert-secondary", + "content":"secondary" + } + ] + } + }, + { + "type":"FormInput", + "field":"conditionalHide", + "config":{ + "label":"Visibility Rule", + "helper":"This control is hidden until this expression is true" + } + }, + { + "type":"DeviceVisibility", + "field":"deviceVisibility", + "config":{ + "label":"Device Visibility", + "helper":"This control is hidden until this expression is true" + } + }, + { + "type":"FormInput", + "field":"customFormatter", + "config":{ + "label":"Custom Format String", + "helper":"Use the Mask Pattern format
Date ##\/##\/####
SSN ###-##-####
Phone (###) ###-####", + "validation":null + } + }, + { + "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]*]" + } + }, + { + "type":"FormInput", + "field":"ariaLabel", + "config":{ + "label":"Aria Label", + "helper":"Attribute designed to help assistive technology (e.g. screen readers) attach a label" + } + }, + { + "type":"FormInput", + "field":"tabindex", + "config":{ + "label":"Tab Order", + "helper":"Order in which a user will move focus from one control to another by pressing the Tab key", + "validation":"regex: [0-9]*" + } + }, + { + "type":"EncryptedConfig", + "field":"encryptedConfig", + "config":{ + "label":"Encrypted", + "helper":null + } + } + ], + "editor-control":"FormRecordList", + "editor-component":"FormText" + } + ], + "order":1 + } ]