diff --git a/forms-flow-ai/epd-forms/bundling/Contaminated Sites Services Application Form.json b/forms-flow-ai/epd-forms/bundling/Contaminated Sites Services Application Form.json index 017587f6..46fcd49f 100644 --- a/forms-flow-ai/epd-forms/bundling/Contaminated Sites Services Application Form.json +++ b/forms-flow-ai/epd-forms/bundling/Contaminated Sites Services Application Form.json @@ -23006,7 +23006,7 @@ "eq": "", "json": "" }, - "customConditional": "const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))\r\n\r\n\r\n\r\nconst roles = UserDetails[\"role\"];\r\n\r\n\r\nif(roles.includes(\"formsflow-reviewer/cssa-team\")) {\r\n show = false;\r\n}\r\nelse\r\n{\r\n show = true;\r\n}", + "customConditional": "const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))\r\nconst roles = UserDetails[\"role\"];\r\nif(roles.includes(\"formsflow-reviewer/cssa-team\")||\r\nroles.includes(\"formsflow-reviewer/caseworker\")||\r\nroles.includes(\"formsflow-reviewer/sdm\")||\r\nroles.includes(\"formsflow-reviewer/site-risk-classification-officer\")) {\r\n show = false;\r\n}\r\nelse\r\n{\r\n show = true;\r\n}", "logic": [], "attributes": {}, "overlay": { @@ -23057,7 +23057,7 @@ "showWordCount": false, "allowMultipleMasks": false, "addons": [], - "id": "exzll48" + "id": "eixn6zp" }, { "label": "applicationId", diff --git a/forms-flow-ai/epd-forms/bundling/Notification of Independent Remediation.json b/forms-flow-ai/epd-forms/bundling/Notification of Independent Remediation.json index a14b4f45..869d46c1 100644 --- a/forms-flow-ai/epd-forms/bundling/Notification of Independent Remediation.json +++ b/forms-flow-ai/epd-forms/bundling/Notification of Independent Remediation.json @@ -3157,6 +3157,79 @@ "displayMask": "", "truncateMultipleSpaces": false }, + { + "label": "Maps", + "labelPosition": "top", + "description": "", + "tooltip": "", + "customClass": "", + "tabindex": "", + "hidden": false, + "hideLabel": false, + "autofocus": false, + "disabled": false, + "tableView": false, + "modalEdit": false, + "multiple": false, + "persistent": true, + "protected": false, + "dbIndex": false, + "encrypted": false, + "redrawOn": "", + "clearOnHide": true, + "customDefaultValue": "", + "calculateValue": "", + "calculateServer": false, + "allowCalculateOverride": false, + "validateOn": "change", + "validate": { + "required": false, + "customMessage": "", + "custom": "", + "customPrivate": false, + "json": "", + "strictDateValidation": false, + "multiple": false, + "unique": false + }, + "unique": false, + "errorLabel": "", + "errors": "", + "key": "maps", + "tags": [], + "properties": {}, + "customConditional": "", + "conditional": { + "json": "", + "show": null, + "when": null, + "eq": "" + }, + "logic": [], + "attributes": {}, + "overlay": { + "style": "", + "page": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, + "addons": [], + "type": "Maps", + "input": true, + "placeholder": "", + "prefix": "", + "suffix": "", + "refreshOn": "", + "dataGridLabel": false, + "widget": null, + "showCharCount": false, + "showWordCount": false, + "allowMultipleMasks": false, + "id": "e3f0f6s", + "defaultValue": null + }, { "id": "ekm0wqd", "key": "simpleheading5", @@ -3247,86 +3320,82 @@ "offset": 0, "components": [ { - "id": "esfini6", - "key": "latdegrees", - "case": "", - "mask": false, + "key": "section2LatitudeDegrees", "type": "textfield", "input": true, "label": "Degrees", - "hidden": false, - "prefix": "", - "suffix": "", - "unique": false, - "widget": { - "type": "input" - }, - "dbIndex": false, - "overlay": { - "top": "", - "left": "", - "style": "", - "width": "", - "height": "" - }, - "tooltip": "", - "disabled": false, - "multiple": false, - "redrawOn": "", - "tabindex": "", "validate": { + "required": true, "custom": "", - "unique": false, - "pattern": "", + "customPrivate": false, + "strictDateValidation": false, "multiple": false, - "required": true, - "maxLength": "", + "unique": false, "minLength": "", - "customMessage": "", - "customPrivate": false, - "strictDateValidation": false + "maxLength": "", + "pattern": "" }, - "autofocus": false, - "encrypted": false, - "hideLabel": false, - "inputMask": "", - "inputType": "text", - "modalEdit": false, + "tableView": false, + "hideOnChildrenHidden": false, + "placeholder": "", + "prefix": "", + "customClass": "", + "suffix": "", + "multiple": false, + "defaultValue": null, "protected": false, + "unique": false, + "persistent": true, + "hidden": false, + "clearOnHide": true, "refreshOn": "", - "tableView": false, - "attributes": {}, + "redrawOn": "", + "modalEdit": false, + "dataGridLabel": false, + "labelPosition": "top", + "description": "", "errorLabel": "", - "persistent": true, - "properties": {}, - "spellcheck": true, + "tooltip": "", + "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, + "dbIndex": false, + "customDefaultValue": "", + "calculateValue": "", + "calculateServer": false, + "widget": { + "type": "input" + }, + "attributes": {}, "validateOn": "change", - "clearOnHide": true, "conditional": { - "eq": "", - "json": "", "show": null, - "when": null + "when": null, + "eq": "" }, - "customClass": "", - "description": "", - "inputFormat": "plain", - "placeholder": "", - "defaultValue": "", - "dataGridLabel": false, - "labelPosition": "top", + "overlay": { + "style": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, + "allowCalculateOverride": false, + "encrypted": false, "showCharCount": false, "showWordCount": false, - "calculateValue": "", - "calculateServer": false, - "customConditional": "", + "properties": {}, "allowMultipleMasks": false, - "customDefaultValue": "", - "hideOnChildrenHidden": false, - "allowCalculateOverride": false, "addons": [], + "mask": false, + "inputType": "text", + "inputFormat": "plain", + "inputMask": "", "displayMask": "", - "truncateMultipleSpaces": false + "spellcheck": true, + "truncateMultipleSpaces": false, + "id": "efhfy5b" } ], "currentWidth": 4 @@ -3339,86 +3408,82 @@ "offset": 0, "components": [ { - "id": "etfmpu", - "key": "latminutes", - "case": "", - "mask": false, + "key": "section2LatitudeMinutes", "type": "textfield", "input": true, "label": "Minutes", - "hidden": false, + "validate": { + "required": true, + "custom": "", + "customPrivate": false, + "strictDateValidation": false, + "multiple": false, + "unique": false, + "minLength": "", + "maxLength": "", + "pattern": "" + }, + "tableView": false, + "hideOnChildrenHidden": false, + "placeholder": "", "prefix": "", + "customClass": "", "suffix": "", + "multiple": false, + "defaultValue": null, + "protected": false, "unique": false, + "persistent": true, + "hidden": false, + "clearOnHide": true, + "refreshOn": "", + "redrawOn": "", + "modalEdit": false, + "dataGridLabel": false, + "labelPosition": "top", + "description": "", + "errorLabel": "", + "tooltip": "", + "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, + "dbIndex": false, + "customDefaultValue": "", + "calculateValue": "", + "calculateServer": false, "widget": { "type": "input" }, - "dbIndex": false, + "attributes": {}, + "validateOn": "change", + "conditional": { + "show": null, + "when": null, + "eq": "" + }, "overlay": { - "top": "", - "left": "", "style": "", + "left": "", + "top": "", "width": "", "height": "" }, - "tooltip": "", - "disabled": false, - "multiple": false, - "redrawOn": "", - "tabindex": "", - "validate": { - "custom": "", - "unique": false, - "pattern": "", - "multiple": false, - "required": true, - "maxLength": "", - "minLength": "", - "customMessage": "", - "customPrivate": false, - "strictDateValidation": false - }, - "autofocus": false, + "allowCalculateOverride": false, "encrypted": false, - "hideLabel": false, - "inputMask": "", - "inputType": "text", - "modalEdit": false, - "protected": false, - "refreshOn": "", - "tableView": false, - "attributes": {}, - "errorLabel": "", - "persistent": true, - "properties": {}, - "spellcheck": true, - "validateOn": "change", - "clearOnHide": true, - "conditional": { - "eq": "", - "json": "", - "show": null, - "when": null - }, - "customClass": "", - "description": "", - "inputFormat": "plain", - "placeholder": "", - "defaultValue": "", - "dataGridLabel": false, - "labelPosition": "top", "showCharCount": false, "showWordCount": false, - "calculateValue": "", - "calculateServer": false, - "customConditional": "", + "properties": {}, "allowMultipleMasks": false, - "customDefaultValue": "", - "hideOnChildrenHidden": false, - "allowCalculateOverride": false, "addons": [], + "mask": false, + "inputType": "text", + "inputFormat": "plain", + "inputMask": "", "displayMask": "", - "truncateMultipleSpaces": false + "spellcheck": true, + "truncateMultipleSpaces": false, + "id": "ervo16" } ], "currentWidth": 4 @@ -3431,86 +3496,82 @@ "offset": 0, "components": [ { - "id": "euiys1l", - "key": "latseconds", - "case": "", - "mask": false, + "key": "section2LatitudeSeconds", "type": "textfield", "input": true, "label": "Seconds", - "hidden": false, - "prefix": "", - "suffix": "", - "unique": false, - "widget": { - "type": "input" - }, - "dbIndex": false, - "overlay": { - "top": "", - "left": "", - "style": "", - "width": "", - "height": "" - }, - "tooltip": "", - "disabled": false, - "multiple": false, - "redrawOn": "", - "tabindex": "", "validate": { + "required": true, "custom": "", - "unique": false, - "pattern": "", + "customPrivate": false, + "strictDateValidation": false, "multiple": false, - "required": true, - "maxLength": "", + "unique": false, "minLength": "", - "customMessage": "", - "customPrivate": false, - "strictDateValidation": false + "maxLength": "", + "pattern": "" }, - "autofocus": false, - "encrypted": false, - "hideLabel": false, - "inputMask": "", - "inputType": "text", - "modalEdit": false, + "tableView": false, + "hideOnChildrenHidden": false, + "placeholder": "", + "prefix": "", + "customClass": "", + "suffix": "", + "multiple": false, + "defaultValue": null, "protected": false, + "unique": false, + "persistent": true, + "hidden": false, + "clearOnHide": true, "refreshOn": "", - "tableView": false, - "attributes": {}, + "redrawOn": "", + "modalEdit": false, + "dataGridLabel": false, + "labelPosition": "top", + "description": "", "errorLabel": "", - "persistent": true, - "properties": {}, - "spellcheck": true, + "tooltip": "", + "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, + "dbIndex": false, + "customDefaultValue": "", + "calculateValue": "", + "calculateServer": false, + "widget": { + "type": "input" + }, + "attributes": {}, "validateOn": "change", - "clearOnHide": true, "conditional": { - "eq": "", - "json": "", "show": null, - "when": null + "when": null, + "eq": "" }, - "customClass": "", - "description": "", - "inputFormat": "plain", - "placeholder": "", - "defaultValue": "", - "dataGridLabel": false, - "labelPosition": "top", + "overlay": { + "style": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, + "allowCalculateOverride": false, + "encrypted": false, "showCharCount": false, "showWordCount": false, - "calculateValue": "", - "calculateServer": false, - "customConditional": "", + "properties": {}, "allowMultipleMasks": false, - "customDefaultValue": "", - "hideOnChildrenHidden": false, - "allowCalculateOverride": false, "addons": [], + "mask": false, + "inputType": "text", + "inputFormat": "plain", + "inputMask": "", "displayMask": "", - "truncateMultipleSpaces": false + "spellcheck": true, + "truncateMultipleSpaces": false, + "id": "euy5dlh" } ], "currentWidth": 4 @@ -3664,86 +3725,82 @@ "offset": 0, "components": [ { - "id": "e8ffnyk", - "key": "longdegrees", - "case": "", - "mask": false, + "key": "section2LongitudeDegrees", "type": "textfield", "input": true, "label": "Degrees", - "hidden": false, - "prefix": "", - "suffix": "", - "unique": false, - "widget": { - "type": "input" - }, - "dbIndex": false, - "overlay": { - "top": "", - "left": "", - "style": "", - "width": "", - "height": "" - }, - "tooltip": "", - "disabled": false, - "multiple": false, - "redrawOn": "", - "tabindex": "", "validate": { + "required": true, "custom": "", - "unique": false, - "pattern": "", + "customPrivate": false, + "strictDateValidation": false, "multiple": false, - "required": true, - "maxLength": "", + "unique": false, "minLength": "", - "customMessage": "", - "customPrivate": false, - "strictDateValidation": false + "maxLength": "", + "pattern": "" }, - "autofocus": false, - "encrypted": false, - "hideLabel": false, - "inputMask": "", - "inputType": "text", - "modalEdit": false, + "tableView": false, + "hideOnChildrenHidden": false, + "placeholder": "", + "prefix": "", + "customClass": "", + "suffix": "", + "multiple": false, + "defaultValue": null, "protected": false, + "unique": false, + "persistent": true, + "hidden": false, + "clearOnHide": true, "refreshOn": "", - "tableView": false, - "attributes": {}, + "redrawOn": "", + "modalEdit": false, + "dataGridLabel": false, + "labelPosition": "top", + "description": "", "errorLabel": "", - "persistent": true, - "properties": {}, - "spellcheck": true, + "tooltip": "", + "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, + "dbIndex": false, + "customDefaultValue": "", + "calculateValue": "", + "calculateServer": false, + "widget": { + "type": "input" + }, + "attributes": {}, "validateOn": "change", - "clearOnHide": true, "conditional": { - "eq": "", - "json": "", "show": null, - "when": null + "when": null, + "eq": "" }, - "customClass": "", - "description": "", - "inputFormat": "plain", - "placeholder": "", - "defaultValue": "", - "dataGridLabel": false, - "labelPosition": "top", + "overlay": { + "style": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, + "allowCalculateOverride": false, + "encrypted": false, "showCharCount": false, "showWordCount": false, - "calculateValue": "", - "calculateServer": false, - "customConditional": "", + "properties": {}, "allowMultipleMasks": false, - "customDefaultValue": "", - "hideOnChildrenHidden": false, - "allowCalculateOverride": false, "addons": [], + "mask": false, + "inputType": "text", + "inputFormat": "plain", + "inputMask": "", "displayMask": "", - "truncateMultipleSpaces": false + "spellcheck": true, + "truncateMultipleSpaces": false, + "id": "e8dbko3" } ], "currentWidth": 4 @@ -3756,86 +3813,82 @@ "offset": 0, "components": [ { - "id": "eg3besg", - "key": "longminutes", - "case": "", - "mask": false, + "key": "section2LongitudeMinutes", "type": "textfield", "input": true, "label": "Minutes", - "hidden": false, - "prefix": "", - "suffix": "", - "unique": false, - "widget": { - "type": "input" - }, - "dbIndex": false, - "overlay": { - "top": "", - "left": "", - "style": "", - "width": "", - "height": "" - }, - "tooltip": "", - "disabled": false, - "multiple": false, - "redrawOn": "", - "tabindex": "", "validate": { + "required": true, "custom": "", - "unique": false, - "pattern": "", + "customPrivate": false, + "strictDateValidation": false, "multiple": false, - "required": true, - "maxLength": "", + "unique": false, "minLength": "", - "customMessage": "", - "customPrivate": false, - "strictDateValidation": false + "maxLength": "", + "pattern": "" }, - "autofocus": false, - "encrypted": false, - "hideLabel": false, - "inputMask": "", - "inputType": "text", - "modalEdit": false, + "tableView": false, + "hideOnChildrenHidden": false, + "placeholder": "", + "prefix": "", + "customClass": "", + "suffix": "", + "multiple": false, + "defaultValue": null, "protected": false, + "unique": false, + "persistent": true, + "hidden": false, + "clearOnHide": true, "refreshOn": "", - "tableView": false, - "attributes": {}, + "redrawOn": "", + "modalEdit": false, + "dataGridLabel": false, + "labelPosition": "top", + "description": "", "errorLabel": "", - "persistent": true, - "properties": {}, - "spellcheck": true, + "tooltip": "", + "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, + "dbIndex": false, + "customDefaultValue": "", + "calculateValue": "", + "calculateServer": false, + "widget": { + "type": "input" + }, + "attributes": {}, "validateOn": "change", - "clearOnHide": true, "conditional": { - "eq": "", - "json": "", "show": null, - "when": null + "when": null, + "eq": "" }, - "customClass": "", - "description": "", - "inputFormat": "plain", - "placeholder": "", - "defaultValue": "", - "dataGridLabel": false, - "labelPosition": "top", + "overlay": { + "style": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, + "allowCalculateOverride": false, + "encrypted": false, "showCharCount": false, "showWordCount": false, - "calculateValue": "", - "calculateServer": false, - "customConditional": "", + "properties": {}, "allowMultipleMasks": false, - "customDefaultValue": "", - "hideOnChildrenHidden": false, - "allowCalculateOverride": false, "addons": [], + "mask": false, + "inputType": "text", + "inputFormat": "plain", + "inputMask": "", "displayMask": "", - "truncateMultipleSpaces": false + "spellcheck": true, + "truncateMultipleSpaces": false, + "id": "ervmzz7" } ], "currentWidth": 4 @@ -3848,86 +3901,82 @@ "offset": 0, "components": [ { - "id": "ew031f", - "key": "longseconds", - "case": "", - "mask": false, + "key": "section2LongitudeSeconds", "type": "textfield", "input": true, "label": "Seconds", - "hidden": false, - "prefix": "", - "suffix": "", - "unique": false, - "widget": { - "type": "input" - }, - "dbIndex": false, - "overlay": { - "top": "", - "left": "", - "style": "", - "width": "", - "height": "" - }, - "tooltip": "", - "disabled": false, - "multiple": false, - "redrawOn": "", - "tabindex": "", "validate": { + "required": true, "custom": "", - "unique": false, - "pattern": "", + "customPrivate": false, + "strictDateValidation": false, "multiple": false, - "required": true, - "maxLength": "", + "unique": false, "minLength": "", - "customMessage": "", - "customPrivate": false, - "strictDateValidation": false + "maxLength": "", + "pattern": "" }, - "autofocus": false, - "encrypted": false, - "hideLabel": false, - "inputMask": "", - "inputType": "text", - "modalEdit": false, + "tableView": false, + "hideOnChildrenHidden": false, + "placeholder": "", + "prefix": "", + "customClass": "", + "suffix": "", + "multiple": false, + "defaultValue": null, "protected": false, + "unique": false, + "persistent": true, + "hidden": false, + "clearOnHide": true, "refreshOn": "", - "tableView": false, - "attributes": {}, + "redrawOn": "", + "modalEdit": false, + "dataGridLabel": false, + "labelPosition": "top", + "description": "", "errorLabel": "", - "persistent": true, - "properties": {}, - "spellcheck": true, + "tooltip": "", + "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, + "dbIndex": false, + "customDefaultValue": "", + "calculateValue": "", + "calculateServer": false, + "widget": { + "type": "input" + }, + "attributes": {}, "validateOn": "change", - "clearOnHide": true, "conditional": { - "eq": "", - "json": "", "show": null, - "when": null + "when": null, + "eq": "" }, - "customClass": "", - "description": "", - "inputFormat": "plain", - "placeholder": "", - "defaultValue": "", - "dataGridLabel": false, - "labelPosition": "top", + "overlay": { + "style": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, + "allowCalculateOverride": false, + "encrypted": false, "showCharCount": false, "showWordCount": false, - "calculateValue": "", - "calculateServer": false, - "customConditional": "", + "properties": {}, "allowMultipleMasks": false, - "customDefaultValue": "", - "hideOnChildrenHidden": false, - "allowCalculateOverride": false, "addons": [], + "mask": false, + "inputType": "text", + "inputFormat": "plain", + "inputMask": "", "displayMask": "", - "truncateMultipleSpaces": false + "spellcheck": true, + "truncateMultipleSpaces": false, + "id": "ejdi3hg" } ], "currentWidth": 4 @@ -8722,7 +8771,7 @@ "attributes": {}, "components": [ { - "id": "epivnsp0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "epivnsp0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "contaminant", "mask": false, "type": "textfield", @@ -8799,7 +8848,7 @@ "truncateMultipleSpaces": false }, { - "id": "el3hlvr0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "el3hlvr0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "maximumConcentration", "mask": false, "type": "textfield", @@ -9544,7 +9593,7 @@ "attributes": {}, "components": [ { - "id": "esedw40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "esedw40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "contaminant", "mask": false, "type": "textfield", @@ -9621,7 +9670,7 @@ "truncateMultipleSpaces": false }, { - "id": "esor9060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "esor9060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "maximumConcentration", "mask": false, "type": "textfield", @@ -10363,7 +10412,7 @@ "attributes": {}, "components": [ { - "id": "ej0y410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "ej0y410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "contaminant", "mask": false, "type": "textfield", @@ -10440,7 +10489,7 @@ "truncateMultipleSpaces": false }, { - "id": "e8qg9fh0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "e8qg9fh0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "maximumConcentration", "mask": false, "type": "textfield", @@ -11188,7 +11237,7 @@ "attributes": {}, "components": [ { - "id": "eevqmo9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "eevqmo9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "contaminant", "mask": false, "type": "textfield", @@ -11265,7 +11314,7 @@ "truncateMultipleSpaces": false }, { - "id": "et223l3000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "et223l3000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "maximumConcentration", "mask": false, "type": "textfield", @@ -13450,7 +13499,7 @@ "allowMultipleMasks": false, "addons": [], "inputType": "hidden", - "id": "e3jf7ws" + "id": "e3jf7wss" } ] } diff --git a/forms-flow-ai/epd-forms/bundling/Notification of Likely or Actual Migration.json b/forms-flow-ai/epd-forms/bundling/Notification of Likely or Actual Migration.json index 18ecc7ed..590fe36f 100644 --- a/forms-flow-ai/epd-forms/bundling/Notification of Likely or Actual Migration.json +++ b/forms-flow-ai/epd-forms/bundling/Notification of Likely or Actual Migration.json @@ -154,7 +154,7 @@ { "components": [ { - "label": "Needs More Info Bundle", + "label": "Needs More Info", "action": "custom", "showValidations": false, "theme": "warning", @@ -233,7 +233,7 @@ "showWordCount": false, "allowMultipleMasks": false, "addons": [], - "id": "e2hisow" + "id": "e2hisoww" } ], "size": "md", @@ -456,7 +456,7 @@ "tableView": false, "modalEdit": false, "templates": { - "header": "{% console.log(\"row-key header\",'commentFor',row['commentFor']) %}\r\n{% const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))%}\r\n{% const groups = UserDetails[\"groups\"]; %}\r\n\r\n{% if(groups.includes(\"/formsflow/formsflow-client\") || groups.includes(\"/formsflow/formsflow-reviewer/csap\") || groups.includes(\"/formsflow/formsflow-reviewer/csap-society\")){ %}\r\n\r\n
\r\n {% util.eachComponent(components, function(component) { %}\r\n {% if (displayValue(component) && component.key !== 'commentFor' ) { %}\r\n {% if(component.label === 'Notes') { %}\r\n
{{ t(component.label) }}
\r\n {% } else if(component.key !== 'comments') { %}\r\n
{{ t(component.label) }}
\r\n {% } %}\r\n {% } %}\r\n {% }) %}\r\n
\r\n\r\n{% } else { %}\r\n\r\n
\r\n {% util.eachComponent(components, function(component) { %}\r\n {% if (displayValue(component)) { %}\r\n {% if(component.key == 'comments') { %}\r\n
{{ t(component.label)}}
\r\n {% } else if(component.key == 'role' || component.key == 'createdBy') { %}\r\n
{{ t(component.label)}}
\r\n{% } else { %}\r\n
{{ t(component.label)}}
\r\n{% } %} \r\n {% } %}\r\n {% }) %}\r\n
\r\n\r\n{% } %}", + "header": "{% console.log(\"row-key header\",'commentFor',row['commentFor']) %}\r\n{% const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))%}\r\n{% const groups = UserDetails[\"groups\"]; %}\r\n\r\n{% if(groups.includes(\"/formsflow/formsflow-client-reviewer\") || groups.includes(\"/formsflow/formsflow-client\") || groups.includes(\"/formsflow/formsflow-reviewer/csap\") || groups.includes(\"/formsflow/formsflow-reviewer/csap-society\")){ %}\r\n\r\n
\r\n {% util.eachComponent(components, function(component) { %}\r\n {% if (displayValue(component) && component.key !== 'commentFor' ) { %}\r\n {% if(component.label === 'Notes') { %}\r\n
{{ t(component.label) }}
\r\n {% } else if(component.key !== 'comments') { %}\r\n
{{ t(component.label) }}
\r\n {% } %}\r\n {% } %}\r\n {% }) %}\r\n
\r\n\r\n{% } else { %}\r\n\r\n
\r\n {% util.eachComponent(components, function(component) { %}\r\n {% if (displayValue(component)) { %}\r\n {% if(component.key == 'comments') { %}\r\n
{{ t(component.label)}}
\r\n {% } else if(component.key == 'role' || component.key == 'createdBy') { %}\r\n
{{ t(component.label)}}
\r\n{% } else { %}\r\n
{{ t(component.label)}}
\r\n{% } %} \r\n {% } %}\r\n {% }) %}\r\n
\r\n\r\n{% } %}", "tableHeader": "\n \n {% util.eachComponent(components, function(component) { %}\n {% if (!component.hasOwnProperty('tableView') || component.tableView) { %}\n {{ component.label }}\n {% } %}\n {% }) %}\n {% if (!instance.options.readOnly && !instance.disabled) { %}\n Actions\n {% } %}\n \n ", "row": "\r\n\r\n{% console.log(\"row-key main\",'commentFor',row['commentFor']) %}\r\n{% const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))%}\r\n{% const groups = UserDetails[\"groups\"]; %}\r\n{% console.log('rendering edit grid body')%}\r\n{% if((groups.includes(\"/formsflow/formsflow-reviewer/formsflow-client-reviewer\") || groups.includes(\"/formsflow/formsflow-client\") || groups.includes(\"/formsflow/formsflow-reviewer/csap\") || groups.includes(\"/formsflow/formsflow-reviewer/csap-society\")) && row['commentFor']==='external'){ %}\r\n\r\n\r\n\r\n
\r\n\r\n {% util.eachComponent(components, function(component) { %}\r\n {% if (displayValue(component) && component.key !== 'commentFor' ) { %}\r\n {% console.log(\"row-key\",component.key,row[component.key]) %}\r\n {% const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))%}\r\n{% const groups = UserDetails[\"groups\"]; %}\r\n{% if((groups.includes(\"/formsflow/formsflow-reviewer/formsflow-client-reviewer\") || groups.includes(\"/formsflow/formsflow-client\") || groups.includes(\"/formsflow/formsflow-reviewer/csap\") || groups.includes(\"/formsflow/formsflow-reviewer/csap-society\")) && row['commentFor']==='external'){ %}\r\n{% if(component.key == 'comments') { %}\r\n
\r\n {{ getView(component, row[component.key])}}\r\n
\r\n{% } else { %}\r\n
\r\n {{ getView(component, row[component.key])}}\r\n
\r\n{%}%}\r\n \r\n\r\n {% } %}\r\n {% } %}\r\n {% }) %}\r\n {% if (!instance.options.readOnly && !instance.disabled) { %}\r\n {% const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))%}\r\n{% const groups = UserDetails[\"groups\"]; %}\r\n{% if((groups.includes(\"/formsflow/formsflow-reviewer/formsflow-client-reviewer\") || groups.includes(\"/formsflow/formsflow-client\") || groups.includes(\"/formsflow/formsflow-reviewer/csap\") || groups.includes(\"/formsflow/formsflow-reviewer/csap-society\")) && row['commentFor']==='external'){ %}\r\n
\r\n
\r\n {% if (!instance.hasRemoveButtons || instance.hasRemoveButtons()) { %}\r\n \r\n {% } %}\r\n
\r\n
\r\n \r\n {% } %}\r\n {% } %}\r\n
\r\n {% } else if (groups.includes(\"/formsflow/formsflow-reviewer/site-information-advisor\") || groups.includes(\"/formsflow/formsflow-reviewer/cssa-team\") || groups.includes(\"/formsflow/formsflow-reviewer/caseworker\") || groups.includes(\"/formsflow/formsflow-reviewer/sdm\")) { %}\r\n
\r\n {% util.eachComponent(components, function(component) { %}\r\n {% console.log('for sia') %}\r\n {% if (displayValue(component)) { %}\r\n {% if(component.key == 'comments') { %}\r\n
{{ getView(component, row[component.key])}}
\r\n {% } else if(component.key == 'role' || component.key == 'createdBy') { %}\r\n
{{ getView(component, row[component.key])}}
\r\n{% } else { %}\r\n
{{ getView(component, row[component.key])}}
\r\n{% } %} \r\n \r\n {% } %}\r\n {% }) %}\r\n {% if (!instance.options.readOnly && !instance.disabled) { %}\r\n
\r\n
\r\n {% if (!instance.hasRemoveButtons || instance.hasRemoveButtons()) { %}\r\n \r\n {% } %}\r\n
\r\n
\r\n {% } %}\r\n
\r\n {% } %}\r\n \r\n \r\n \r\n{% const emptyElements = []; %}\r\n{% const elements = document.getElementsByClassName(\"list-group-item\"); %}\r\n{% for (let i = 0; i < elements.length; i++) { %}\r\n{% const element = elements[i]; %}\r\n{% if(element.querySelectorAll('div.row').length===0){(element).remove() }} %}", "tableRow": "\n {% util.eachComponent(components, function(component) { %}\n {% if (!component.hasOwnProperty('tableView') || component.tableView) { %}\n \n {{ getView(component, row[component.key]) }}\n \n {% } %}\n {% }) %}\n {% if (!instance.options.readOnly && !instance.disabled) { %}\n \n
\n \n {% if (!instance.hasRemoveButtons || instance.hasRemoveButtons()) { %}\n \n {% } %}\n
\n \n {% } %}\n ", @@ -1213,7 +1213,7 @@ "attributes": {}, "components": [ { - "id": "ea2btv0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "ea2btv000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "Panel-InformationForAffectedAndLikelyAffectedParcels", "tree": false, "type": "panel", @@ -4659,6 +4659,79 @@ "displayMask": "", "truncateMultipleSpaces": false }, + { + "label": "Maps", + "labelPosition": "top", + "description": "", + "tooltip": "", + "customClass": "", + "tabindex": "", + "hidden": false, + "hideLabel": false, + "autofocus": false, + "disabled": false, + "tableView": false, + "modalEdit": false, + "multiple": false, + "persistent": true, + "protected": false, + "dbIndex": false, + "encrypted": false, + "redrawOn": "", + "clearOnHide": true, + "customDefaultValue": "", + "calculateValue": "", + "calculateServer": false, + "allowCalculateOverride": false, + "validateOn": "change", + "validate": { + "required": false, + "customMessage": "", + "custom": "", + "customPrivate": false, + "json": "", + "strictDateValidation": false, + "multiple": false, + "unique": false + }, + "unique": false, + "errorLabel": "", + "errors": "", + "key": "maps", + "tags": [], + "properties": {}, + "customConditional": "", + "conditional": { + "json": "", + "show": null, + "when": null, + "eq": "" + }, + "logic": [], + "attributes": {}, + "overlay": { + "style": "", + "page": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, + "addons": [], + "type": "Maps", + "input": true, + "placeholder": "", + "prefix": "", + "suffix": "", + "refreshOn": "", + "dataGridLabel": false, + "widget": null, + "showCharCount": false, + "showWordCount": false, + "allowMultipleMasks": false, + "id": "e3nbk9n", + "defaultValue": null + }, { "id": "exqlqqn", "key": "s2-Longlatcolumn", @@ -4767,82 +4840,82 @@ "offset": 0, "components": [ { - "id": "eh6u9bl", - "key": "s2-latdegrees", - "mask": false, + "key": "section2LatitudeDegrees", "type": "textfield", "input": true, "label": "Degrees", - "hidden": false, - "prefix": "", - "suffix": "", - "unique": false, - "widget": { - "type": "input" - }, - "dbIndex": false, - "overlay": { - "top": "", - "left": "", - "style": "", - "width": "", - "height": "" - }, - "tooltip": "", - "disabled": false, - "multiple": false, - "redrawOn": "", - "tabindex": "", "validate": { + "required": true, "custom": "", - "unique": false, - "pattern": "", + "customPrivate": false, + "strictDateValidation": false, "multiple": false, - "required": true, - "maxLength": "", + "unique": false, "minLength": "", - "customPrivate": false, - "strictDateValidation": false + "maxLength": "", + "pattern": "" }, - "autofocus": false, - "encrypted": false, - "hideLabel": false, - "inputMask": "", - "inputType": "text", - "modalEdit": false, + "tableView": false, + "hideOnChildrenHidden": false, + "placeholder": "", + "prefix": "", + "customClass": "", + "suffix": "", + "multiple": false, + "defaultValue": null, "protected": false, + "unique": false, + "persistent": true, + "hidden": false, + "clearOnHide": true, "refreshOn": "", - "tableView": false, - "attributes": {}, + "redrawOn": "", + "modalEdit": false, + "dataGridLabel": false, + "labelPosition": "top", + "description": "", "errorLabel": "", - "persistent": true, - "properties": {}, - "spellcheck": true, + "tooltip": "", + "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, + "dbIndex": false, + "customDefaultValue": "", + "calculateValue": "", + "calculateServer": false, + "widget": { + "type": "input" + }, + "attributes": {}, "validateOn": "change", - "clearOnHide": true, "conditional": { - "eq": "", "show": null, - "when": null + "when": null, + "eq": "" }, - "customClass": "", - "description": "", - "inputFormat": "plain", - "placeholder": "", - "defaultValue": null, - "dataGridLabel": false, - "labelPosition": "top", + "overlay": { + "style": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, + "allowCalculateOverride": false, + "encrypted": false, "showCharCount": false, "showWordCount": false, - "calculateValue": "", - "calculateServer": false, + "properties": {}, "allowMultipleMasks": false, - "customDefaultValue": "", - "hideOnChildrenHidden": false, - "allowCalculateOverride": false, "addons": [], + "mask": false, + "inputType": "text", + "inputFormat": "plain", + "inputMask": "", "displayMask": "", - "truncateMultipleSpaces": false + "spellcheck": true, + "truncateMultipleSpaces": false, + "id": "enyram" } ], "currentWidth": 4 @@ -4855,86 +4928,82 @@ "offset": 0, "components": [ { - "id": "eyi00t", - "key": "s2-latminutes", - "case": "", - "mask": false, + "key": "section2LatitudeMinutes", "type": "textfield", "input": true, "label": "Minutes", - "hidden": false, + "validate": { + "required": true, + "custom": "", + "customPrivate": false, + "strictDateValidation": false, + "multiple": false, + "unique": false, + "minLength": "", + "maxLength": "", + "pattern": "" + }, + "tableView": false, + "hideOnChildrenHidden": false, + "placeholder": "", "prefix": "", + "customClass": "", "suffix": "", + "multiple": false, + "defaultValue": null, + "protected": false, "unique": false, + "persistent": true, + "hidden": false, + "clearOnHide": true, + "refreshOn": "", + "redrawOn": "", + "modalEdit": false, + "dataGridLabel": false, + "labelPosition": "top", + "description": "", + "errorLabel": "", + "tooltip": "", + "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, + "dbIndex": false, + "customDefaultValue": "", + "calculateValue": "", + "calculateServer": false, "widget": { "type": "input" }, - "dbIndex": false, + "attributes": {}, + "validateOn": "change", + "conditional": { + "show": null, + "when": null, + "eq": "" + }, "overlay": { - "top": "", - "left": "", "style": "", + "left": "", + "top": "", "width": "", "height": "" }, - "tooltip": "", - "disabled": false, - "multiple": false, - "redrawOn": "", - "tabindex": "", - "validate": { - "custom": "", - "unique": false, - "pattern": "", - "multiple": false, - "required": true, - "maxLength": "", - "minLength": "", - "customMessage": "", - "customPrivate": false, - "strictDateValidation": false - }, - "autofocus": false, + "allowCalculateOverride": false, "encrypted": false, - "hideLabel": false, - "inputMask": "", + "showCharCount": false, + "showWordCount": false, + "properties": {}, + "allowMultipleMasks": false, + "addons": [], + "mask": false, "inputType": "text", - "modalEdit": false, - "protected": false, - "refreshOn": "", - "tableView": false, - "attributes": {}, - "errorLabel": "", - "persistent": true, - "properties": {}, - "spellcheck": true, - "validateOn": "change", - "clearOnHide": true, - "conditional": { - "eq": "", - "json": "", - "show": null, - "when": null - }, - "customClass": "", - "description": "", "inputFormat": "plain", - "placeholder": "", - "defaultValue": "", - "dataGridLabel": false, - "labelPosition": "top", - "showCharCount": false, - "showWordCount": false, - "calculateValue": "", - "calculateServer": false, - "customConditional": "", - "allowMultipleMasks": false, - "customDefaultValue": "", - "hideOnChildrenHidden": false, - "allowCalculateOverride": false, - "addons": [], + "inputMask": "", "displayMask": "", - "truncateMultipleSpaces": false + "spellcheck": true, + "truncateMultipleSpaces": false, + "id": "eg7s7l" } ], "currentWidth": 4 @@ -4947,86 +5016,82 @@ "offset": 0, "components": [ { - "id": "ejsy2dn", - "key": "s2-latseconds", - "case": "", - "mask": false, + "key": "section2LatitudeSeconds", "type": "textfield", "input": true, "label": "Seconds", - "hidden": false, - "prefix": "", - "suffix": "", - "unique": false, - "widget": { - "type": "input" - }, - "dbIndex": false, - "overlay": { - "top": "", - "left": "", - "style": "", - "width": "", - "height": "" - }, - "tooltip": "", - "disabled": false, - "multiple": false, - "redrawOn": "", - "tabindex": "", "validate": { + "required": true, "custom": "", - "unique": false, - "pattern": "", + "customPrivate": false, + "strictDateValidation": false, "multiple": false, - "required": true, - "maxLength": "", + "unique": false, "minLength": "", - "customMessage": "", - "customPrivate": false, - "strictDateValidation": false + "maxLength": "", + "pattern": "" }, - "autofocus": false, - "encrypted": false, - "hideLabel": false, - "inputMask": "", - "inputType": "text", - "modalEdit": false, + "tableView": false, + "hideOnChildrenHidden": false, + "placeholder": "", + "prefix": "", + "customClass": "", + "suffix": "", + "multiple": false, + "defaultValue": null, "protected": false, + "unique": false, + "persistent": true, + "hidden": false, + "clearOnHide": true, "refreshOn": "", - "tableView": false, - "attributes": {}, + "redrawOn": "", + "modalEdit": false, + "dataGridLabel": false, + "labelPosition": "top", + "description": "", "errorLabel": "", - "persistent": true, - "properties": {}, - "spellcheck": true, + "tooltip": "", + "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, + "dbIndex": false, + "customDefaultValue": "", + "calculateValue": "", + "calculateServer": false, + "widget": { + "type": "input" + }, + "attributes": {}, "validateOn": "change", - "clearOnHide": true, "conditional": { - "eq": "", - "json": "", "show": null, - "when": null + "when": null, + "eq": "" }, - "customClass": "", - "description": "", - "inputFormat": "plain", - "placeholder": "", - "defaultValue": "", - "dataGridLabel": false, - "labelPosition": "top", + "overlay": { + "style": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, + "allowCalculateOverride": false, + "encrypted": false, "showCharCount": false, "showWordCount": false, - "calculateValue": "", - "calculateServer": false, - "customConditional": "", + "properties": {}, "allowMultipleMasks": false, - "customDefaultValue": "", - "hideOnChildrenHidden": false, - "allowCalculateOverride": false, "addons": [], + "mask": false, + "inputType": "text", + "inputFormat": "plain", + "inputMask": "", "displayMask": "", - "truncateMultipleSpaces": false + "spellcheck": true, + "truncateMultipleSpaces": false, + "id": "euxxmb" } ], "currentWidth": 4 @@ -5187,86 +5252,82 @@ "offset": 0, "components": [ { - "id": "ec509jj", - "key": "s2-longdegrees", - "case": "", - "mask": false, + "key": "section2LongitudeDegrees", "type": "textfield", "input": true, "label": "Degrees", - "hidden": false, - "prefix": "", - "suffix": "", - "unique": false, - "widget": { - "type": "input" - }, - "dbIndex": false, - "overlay": { - "top": "", - "left": "", - "style": "", - "width": "", - "height": "" - }, - "tooltip": "", - "disabled": false, - "multiple": false, - "redrawOn": "", - "tabindex": "", "validate": { + "required": true, "custom": "", - "unique": false, - "pattern": "", + "customPrivate": false, + "strictDateValidation": false, "multiple": false, - "required": true, - "maxLength": "", + "unique": false, "minLength": "", - "customMessage": "", - "customPrivate": false, - "strictDateValidation": false + "maxLength": "", + "pattern": "" }, - "autofocus": false, - "encrypted": false, - "hideLabel": false, - "inputMask": "", - "inputType": "text", - "modalEdit": false, + "tableView": false, + "hideOnChildrenHidden": false, + "placeholder": "", + "prefix": "", + "customClass": "", + "suffix": "", + "multiple": false, + "defaultValue": null, "protected": false, + "unique": false, + "persistent": true, + "hidden": false, + "clearOnHide": true, "refreshOn": "", - "tableView": false, - "attributes": {}, + "redrawOn": "", + "modalEdit": false, + "dataGridLabel": false, + "labelPosition": "top", + "description": "", "errorLabel": "", - "persistent": true, - "properties": {}, - "spellcheck": true, + "tooltip": "", + "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, + "dbIndex": false, + "customDefaultValue": "", + "calculateValue": "", + "calculateServer": false, + "widget": { + "type": "input" + }, + "attributes": {}, "validateOn": "change", - "clearOnHide": true, "conditional": { - "eq": "", - "json": "", "show": null, - "when": null + "when": null, + "eq": "" }, - "customClass": "", - "description": "", - "inputFormat": "plain", - "placeholder": "", - "defaultValue": "", - "dataGridLabel": false, - "labelPosition": "top", + "overlay": { + "style": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, + "allowCalculateOverride": false, + "encrypted": false, "showCharCount": false, "showWordCount": false, - "calculateValue": "", - "calculateServer": false, - "customConditional": "", + "properties": {}, "allowMultipleMasks": false, - "customDefaultValue": "", - "hideOnChildrenHidden": false, - "allowCalculateOverride": false, "addons": [], + "mask": false, + "inputType": "text", + "inputFormat": "plain", + "inputMask": "", "displayMask": "", - "truncateMultipleSpaces": false + "spellcheck": true, + "truncateMultipleSpaces": false, + "id": "epz2s5" } ], "currentWidth": 4 @@ -5279,86 +5340,82 @@ "offset": 0, "components": [ { - "id": "eo6c9om", - "key": "s2-longminutes", - "case": "", - "mask": false, + "key": "section2LongitudeMinutes", "type": "textfield", "input": true, "label": "Minutes", - "hidden": false, - "prefix": "", - "suffix": "", - "unique": false, - "widget": { - "type": "input" - }, - "dbIndex": false, - "overlay": { - "top": "", - "left": "", - "style": "", - "width": "", - "height": "" - }, - "tooltip": "", - "disabled": false, - "multiple": false, - "redrawOn": "", - "tabindex": "", "validate": { + "required": true, "custom": "", - "unique": false, - "pattern": "", + "customPrivate": false, + "strictDateValidation": false, "multiple": false, - "required": true, - "maxLength": "", + "unique": false, "minLength": "", - "customMessage": "", - "customPrivate": false, - "strictDateValidation": false + "maxLength": "", + "pattern": "" }, - "autofocus": false, - "encrypted": false, - "hideLabel": false, - "inputMask": "", - "inputType": "text", - "modalEdit": false, + "tableView": false, + "hideOnChildrenHidden": false, + "placeholder": "", + "prefix": "", + "customClass": "", + "suffix": "", + "multiple": false, + "defaultValue": null, "protected": false, + "unique": false, + "persistent": true, + "hidden": false, + "clearOnHide": true, "refreshOn": "", - "tableView": false, - "attributes": {}, + "redrawOn": "", + "modalEdit": false, + "dataGridLabel": false, + "labelPosition": "top", + "description": "", "errorLabel": "", - "persistent": true, - "properties": {}, - "spellcheck": true, + "tooltip": "", + "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, + "dbIndex": false, + "customDefaultValue": "", + "calculateValue": "", + "calculateServer": false, + "widget": { + "type": "input" + }, + "attributes": {}, "validateOn": "change", - "clearOnHide": true, "conditional": { - "eq": "", - "json": "", "show": null, - "when": null + "when": null, + "eq": "" }, - "customClass": "", - "description": "", - "inputFormat": "plain", - "placeholder": "", - "defaultValue": "", - "dataGridLabel": false, - "labelPosition": "top", + "overlay": { + "style": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, + "allowCalculateOverride": false, + "encrypted": false, "showCharCount": false, "showWordCount": false, - "calculateValue": "", - "calculateServer": false, - "customConditional": "", + "properties": {}, "allowMultipleMasks": false, - "customDefaultValue": "", - "hideOnChildrenHidden": false, - "allowCalculateOverride": false, "addons": [], + "mask": false, + "inputType": "text", + "inputFormat": "plain", + "inputMask": "", "displayMask": "", - "truncateMultipleSpaces": false + "spellcheck": true, + "truncateMultipleSpaces": false, + "id": "eajodye" } ], "currentWidth": 4 @@ -5371,86 +5428,82 @@ "offset": 0, "components": [ { - "id": "em9fz0j", - "key": "s2-longseconds", - "case": "", - "mask": false, + "key": "section2LongitudeSeconds", "type": "textfield", "input": true, "label": "Seconds", - "hidden": false, - "prefix": "", - "suffix": "", - "unique": false, - "widget": { - "type": "input" - }, - "dbIndex": false, - "overlay": { - "top": "", - "left": "", - "style": "", - "width": "", - "height": "" - }, - "tooltip": "", - "disabled": false, - "multiple": false, - "redrawOn": "", - "tabindex": "", "validate": { + "required": true, "custom": "", - "unique": false, - "pattern": "", + "customPrivate": false, + "strictDateValidation": false, "multiple": false, - "required": true, - "maxLength": "", + "unique": false, "minLength": "", - "customMessage": "", - "customPrivate": false, - "strictDateValidation": false + "maxLength": "", + "pattern": "" }, - "autofocus": false, - "encrypted": false, - "hideLabel": false, - "inputMask": "", - "inputType": "text", - "modalEdit": false, + "tableView": false, + "hideOnChildrenHidden": false, + "placeholder": "", + "prefix": "", + "customClass": "", + "suffix": "", + "multiple": false, + "defaultValue": null, "protected": false, + "unique": false, + "persistent": true, + "hidden": false, + "clearOnHide": true, "refreshOn": "", - "tableView": false, - "attributes": {}, + "redrawOn": "", + "modalEdit": false, + "dataGridLabel": false, + "labelPosition": "top", + "description": "", "errorLabel": "", - "persistent": true, - "properties": {}, - "spellcheck": true, + "tooltip": "", + "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, + "dbIndex": false, + "customDefaultValue": "", + "calculateValue": "", + "calculateServer": false, + "widget": { + "type": "input" + }, + "attributes": {}, "validateOn": "change", - "clearOnHide": true, "conditional": { - "eq": "", - "json": "", "show": null, - "when": null + "when": null, + "eq": "" }, - "customClass": "", - "description": "", - "inputFormat": "plain", - "placeholder": "", - "defaultValue": "", - "dataGridLabel": false, - "labelPosition": "top", + "overlay": { + "style": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, + "allowCalculateOverride": false, + "encrypted": false, "showCharCount": false, "showWordCount": false, - "calculateValue": "", - "calculateServer": false, - "customConditional": "", + "properties": {}, "allowMultipleMasks": false, - "customDefaultValue": "", - "hideOnChildrenHidden": false, - "allowCalculateOverride": false, "addons": [], + "mask": false, + "inputType": "text", + "inputFormat": "plain", + "inputMask": "", "displayMask": "", - "truncateMultipleSpaces": false + "spellcheck": true, + "truncateMultipleSpaces": false, + "id": "errl5ml" } ], "currentWidth": 4 @@ -8349,7 +8402,7 @@ "attributes": {}, "components": [ { - "id": "e3t798j000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "e3t798j00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "simplecols4", "tree": false, "type": "columns", @@ -10473,7 +10526,7 @@ "showWordCount": false, "allowMultipleMasks": false, "inputType": "hidden", - "id": "e6z1qd9", + "id": "e6z1qd99", "description": "", "addons": [] } diff --git a/forms-flow-ai/epd-forms/bundling/Site Risk Classification Report.json b/forms-flow-ai/epd-forms/bundling/Site Risk Classification Report.json index 173aa730..b810386a 100644 --- a/forms-flow-ai/epd-forms/bundling/Site Risk Classification Report.json +++ b/forms-flow-ai/epd-forms/bundling/Site Risk Classification Report.json @@ -18664,7 +18664,7 @@ "eq": "", "json": "" }, - "customConditional": "", + "customConditional": "const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))\r\nconst roles = UserDetails[\"role\"];\r\nif(roles.includes(\"formsflow-reviewer/cssa-team\")||\r\nroles.includes(\"formsflow-reviewer/caseworker\")||\r\nroles.includes(\"formsflow-reviewer/sdm\")||\r\nroles.includes(\"formsflow-reviewer/site-risk-classification-officer\")) {\r\n show = false;\r\n}\r\nelse\r\n{\r\n show = true;\r\n}", "logic": [], "attributes": {}, "overlay": { @@ -18715,7 +18715,7 @@ "showWordCount": false, "allowMultipleMasks": false, "addons": [], - "id": "e2ae8ob" + "id": "ed8xzn" }, { "label": "applicationId", diff --git a/forms-flow-ai/forms-flow-bpm/processes/Bundling/subProcess/NOMBundleWorkflow.bpmn b/forms-flow-ai/forms-flow-bpm/processes/Bundling/subProcess/NOMBundleWorkflow.bpmn index 73ff73e7..268b6bc7 100644 --- a/forms-flow-ai/forms-flow-bpm/processes/Bundling/subProcess/NOMBundleWorkflow.bpmn +++ b/forms-flow-ai/forms-flow-bpm/processes/Bundling/subProcess/NOMBundleWorkflow.bpmn @@ -121,7 +121,7 @@ task.execution.setVariable('deleteReason', "completed"); ${action == 'Returned'} - ${action == 'Accepted'} + ${action == 'Accepted' || action == 'Approved' } @@ -186,7 +186,7 @@ task.execution.setVariable('applicationStatus', task.execution.getVariable('acti Flow_053df1n Flow_1pdsmz6 - + Flow_06k5uq7 Flow_1fquz60 Flow_03tdbh3 @@ -989,4 +989,4 @@ system.out.println (" here " + execution.getVariable('riskclassification')); - + \ No newline at end of file diff --git a/forms-flow-ai/forms-flow-bpm/processes/SRCR/SRCRWorkflow.bpmn b/forms-flow-ai/forms-flow-bpm/processes/SRCR/SRCRWorkflow.bpmn index 793ae5f5..fbb1f231 100644 --- a/forms-flow-ai/forms-flow-bpm/processes/SRCR/SRCRWorkflow.bpmn +++ b/forms-flow-ai/forms-flow-bpm/processes/SRCR/SRCRWorkflow.bpmn @@ -211,7 +211,7 @@ Flow_08zx269 Flow_1ifelq5 - + @@ -551,29 +551,29 @@ execution.setVariable('isSrco',false); - - - + + - - - + + - - + + - - + + - - + + + - - + + + @@ -1037,4 +1037,4 @@ execution.setVariable('isSrco',false); - + \ No newline at end of file diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 717dbb9f..71239280 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -31,7 +31,7 @@ "react-icons": "^4.6.0", "react-leaflet": "^4.2.1", "react-oidc-context": "^2.2.0", - "react-parcelmap-bc": "^1.0.4", + "react-parcelmap-bc": "^1.1.4", "react-redux": "^8.0.2", "react-router-dom": "^6.4.1", "react-scripts": "5.0.1", @@ -9420,9 +9420,9 @@ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" }, "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", "hasInstallScript": true, "optional": true, "os": [ @@ -15849,9 +15849,9 @@ } }, "node_modules/react-parcelmap-bc": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/react-parcelmap-bc/-/react-parcelmap-bc-1.0.4.tgz", - "integrity": "sha512-1N3c29T1b3yX/neYRoSzq7v38+JDLU7Yb9F97SyT/6y9TZVbMytwOXOIRiXzsqOMm37tFCVK3+RSeyTuNf/VHQ==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/react-parcelmap-bc/-/react-parcelmap-bc-1.1.4.tgz", + "integrity": "sha512-0coDLoe/0lJyL/+Y/eMUn7z0wEhCgfiiWmgHj/dhYAWhAvPDImvvSLFPy8lQIv/dR1Mtanwffn3ULUbJnOFYoQ==", "dependencies": { "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0", diff --git a/frontend/package.json b/frontend/package.json index 65397fe2..970bf29d 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -29,7 +29,7 @@ "react-icons": "^4.6.0", "react-leaflet": "^4.2.1", "react-oidc-context": "^2.2.0", - "react-parcelmap-bc": "^1.0.4", + "react-parcelmap-bc": "^1.1.4", "react-redux": "^8.0.2", "react-router-dom": "^6.4.1", "react-scripts": "5.0.1", diff --git a/frontend/src/App.test.tsx b/frontend/src/App.test.tsx index 4a3f3a62..17f85035 100644 --- a/frontend/src/App.test.tsx +++ b/frontend/src/App.test.tsx @@ -19,7 +19,7 @@ it('renders log in panel', () => { ); - const loginPanel = screen.getByText(/Log In to my LRS Account/i); + const loginPanel = screen.getByText(/Login/i); expect(loginPanel).toBeInTheDocument(); }); @@ -33,7 +33,7 @@ test('Renders LRS Form Accordion', () =>{ ); - const formAccordion = screen.getByText(/This is the first sample lrs form, please use this for lrs things/i) + const formAccordion = screen.getByText(/Welcome./i) expect(formAccordion).toBeInTheDocument() }) diff --git a/frontend/src/app/features/Map/Map.jsx b/frontend/src/app/features/Map/Map.jsx index 734d1818..8bbdc1a6 100644 --- a/frontend/src/app/features/Map/Map.jsx +++ b/frontend/src/app/features/Map/Map.jsx @@ -3,7 +3,7 @@ import Map from "../../../../node_modules/react-parcelmap-bc/dist/Map"; export default React.memo(() => { const [data, setData] = useState(); - const [location, setLocation] = useState([49, -123]); + const [location, setLocation] = useState([48.41974533439947, -123.36781242160622]); const [readOnly, setReadOnly] = useState(false); useEffect(() => { diff --git a/map-package/package.json b/map-package/package.json index 346959c4..78802429 100644 --- a/map-package/package.json +++ b/map-package/package.json @@ -1,6 +1,6 @@ { "name": "react-parcelmap-bc", - "version": "1.0.4", + "version": "1.0.8", "private": false, "dependencies": { "@testing-library/jest-dom": "^5.16.5", diff --git a/map-package/src/map/Map.js b/map-package/src/map/Map.js index 31fa5346..42d6061a 100644 --- a/map-package/src/map/Map.js +++ b/map-package/src/map/Map.js @@ -12,21 +12,33 @@ const Map = (props) => { let map; let routeLayer, waypointsLayer; const identifyBufferDistance = 4; - const [show, setShow] = useState(true); + const [show, setShow] = useState(false); const [address, setAddress] = useState(""); - const [location, setLocation] = useState([ 48.419, -123.37]); + const [location, setLocation] = useState([ 48.46762, -123.25458 ]); const [zoom, setZoom] = useState(13); + const [searchTrue, setSerachTrue] = useState(true); //const [info, setInfo] = useState({}); let info; useEffect(() => { - if (props.initLocation.length > 0 && props.initLocation !== null && props.initLocation !== undefined) { - setZoom(13); - setLocation(props.initLocation); - if(props.readOnly) - { - setShow(false); - } + if (props.initLocation.length > 0 && props.initLocation !== null && props.initLocation !== undefined && ( location[0] !== props.initLocation[0] || location[1] !== props.initLocation[1] )) { + + + + const timeoutId = setTimeout(()=>{ + //setSerachTrue(false); + setZoom(18); + setLocation(props.initLocation); + if(!props.readOnly) + { + setShow(true); + } + + },1000); + + return () => { + clearTimeout(timeoutId); + }; } }, [props]); @@ -171,7 +183,7 @@ const Map = (props) => { .setLatLng(e.latlng) .setContent( "Site ID:" + - feature.properties[targetLayer.topLineProperty] + + feature.properties[targetLayer.tsopLineProperty] + "
" + "Lat: " + feature.properties[targetLayer.latitude] + @@ -295,11 +307,12 @@ const Map = (props) => { getGeoCode(address).then((x) => { if (x.features.length > 0) { console.log(x.features[0].geometry.coordinates); - setZoom(50); + setZoom(20); setLocation([ x.features[0].geometry.coordinates[1], x.features[0].geometry.coordinates[0], ]); + setSerachTrue(true); } }); }; @@ -338,14 +351,19 @@ const Map = (props) => { const RecenterAutomatically = () => { const map = useMap(); - useEffect(() => { - //map.setZoom(zoom); + useEffect(() => { + map.setZoom(zoom); + + if(searchTrue) + { map.setView(location,zoom); + } map.fire("click", { latlng: L.latLng(location), }); - }, [location]); + + }, [map]); return null; }; @@ -426,7 +444,7 @@ const Map = (props) => { )}
- +