{ "name": "{{COMPONENT_KEY}}", "label": "{{COMPONENT_LABEL}}", "description": "{{DESCRIPTION}}", "organization": "{{ORGANIZATION}}", "version": "{{VERSION}}", "library": "{{LIBRARY}}", "componentKey": "{{COMPONENT_KEY}}", "type": "{{TYPE}}", "subtype": {{{SUB_TYPE}}}, "subtypeLabel": "{{SUB_TYPE_LABEL}}", "icon": "images/pz-date-time-active.svg", "properties": [ { "name": "label", "label": "Field label", "format": "TEXT", "required": true }, { "name": "labelOption", "label": "Field label", "format": "SELECT", "defaultValue": "custom", "visibility": "@PLATFORMNAME != 'launchpad'", "source": [ { "key": "default", "value": "Default" }, { "key": "custom", "value": "Custom" } ] }, { "name": "label", "label": "Custom field label", "format": "VALUEINPUT", "required": true, "ruleType": "Paragraph", "visibility": "@PLATFORMNAME != 'launchpad'" }, { "name": "readOnly", "label": "Edit mode", "format": "READONLY" }, { "format": "SELECT", "name": "clockFormat", "label": "Clock", "defaultValue": "0", "source": [ { "key": "0", "value": "use locale" }, { "key": "12", "value": "12 hours" }, { "key": "24", "value": "24 hours" } ] }, { "name": "withSeconds", "label": "Display seconds", "format": "BOOLEAN" }, { "label": "Column settings", "format": "GROUP", "visibility": "@VIEWTYPE == 'MultiRecordDisplayAsTable'", "properties": [ { "name": "columnWidth", "label": "Column width", "format": "SELECT", "source": [ { "key": "auto", "value": "Auto" }, { "key": "custom", "value": "Custom" } ] }, { "name": "width", "label": "Width (px)", "format": "NUMBER", "visibility": "$this.columnWidth == 'custom'" } ] }, { "label": "Input settings", "format": "GROUP", "visibility": "(!readOnly = true)", "properties": [ { "format": "SELECT", "name": "pickerInterval", "label": "Time picker", "defaultValue": "30", "source": [ { "key": "5", "value": "5 min" }, { "key": "10", "value": "10 min" }, { "key": "15", "value": "15 min" }, { "key": "20", "value": "20 min" }, { "key": "30", "value": "30 min" }, { "key": "60", "value": "1 hr" } ] }, { "name": "helperText", "label": "Helper text", "format": "TEXT" } ] }, { "label": "Read-only settings", "format": "GROUP", "properties": [ { "format": "SELECT", "name": "formatter", "label": "Format", "defaultValue": "defaultTime", "source": [ { "key": "defaultTime", "value": "Default" }, { "key": "Time-Only", "value": "Time only" } ] } ] }, { "label": "Conditions", "format": "GROUP", "properties": [ { "name": "required", "label": "Required", "format": "REQUIRED", "visibility": "(!readOnly = true)" }, { "name": "disabled", "label": "Disabled", "format": "DISABLED", "visibility": "(!readOnly = true)" }, { "name": "visibility", "label": "Visibility", "format": "VISIBILITY" } ] }, { "label": "Advanced", "format": "GROUP", "collapsible": true, "properties": [ { "name": "testId", "label": "Test ID", "format": "TEXT", "ignorePattern": "[^-_\\p{N}\\p{L}]", "includeAnnotations": false } ] } ], "defaultConfig": { "label": "@L $this.label", "detailFVLItem": true, "isFormWidth" : false, "isContainerWidth" : false } }