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 f97ec85e..c6a4aa9e 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 @@ -441,7 +441,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-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{% } %}", + "header": "{% console.log(\"row-key header\",'commentFor',row['commentFor']) %}\n{% const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))%}\n{% const groups = UserDetails[\"groups\"]; %}\n\n{% if(groups.includes(\"/formsflow/formsflow-client\") || groups.includes(\"/formsflow/formsflow-reviewer/csap\") || groups.includes(\"/formsflow/formsflow-reviewer/csap-society\")){ %}\n\n
\n {% util.eachComponent(components, function(component) { %}\n {% if (displayValue(component) && component.key !== 'commentFor' ) { %}\n {% if(component.label === 'Notes') { %}\n
{{ t(component.label) }}
\n {% } else if(component.key !== 'comments') { %}\n
{{ t(component.label) }}
\n {% } %}\n {% } %}\n {% }) %}\n
\n\n{% } else { %}\n\n
\n {% util.eachComponent(components, function(component) { %}\n {% if (displayValue(component)) { %}\n {% if(component.key == 'comments') { %}\n
{{ t(component.label)}}
\n {% } else if(component.key == 'role' || component.key == 'createdBy') { %}\n
{{ t(component.label)}}
\n{% } else { %}\n
{{ t(component.label)}}
\n{% } %} \n {% } %}\n {% }) %}\n
\n\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 ", @@ -588,7 +588,7 @@ "wysiwyg": false, "editor": "", "fixedSize": true, - "id": "e4fc3qw" + "id": "e9hosx" } ], "width": 4, @@ -680,7 +680,7 @@ "addons": [], "inputType": "radio", "fieldSet": false, - "id": "eut4i8p" + "id": "ecfcvd" } ], "width": 2, @@ -767,7 +767,7 @@ "displayMask": "", "spellcheck": true, "truncateMultipleSpaces": false, - "id": "e0r0pe" + "id": "e16qs9g" } ], "size": "md", @@ -854,7 +854,7 @@ "displayMask": "", "spellcheck": true, "truncateMultipleSpaces": false, - "id": "e0qx6r5" + "id": "ea0a6k3" } ], "size": "md", @@ -941,7 +941,7 @@ "displayMask": "", "spellcheck": true, "truncateMultipleSpaces": false, - "id": "eaf97yl" + "id": "ezrqe67" } ], "size": "md", @@ -1016,7 +1016,7 @@ "tree": false, "lazyLoad": false, "autoAdjust": false, - "id": "e9w4cmj" + "id": "em2rzym" } ], "placeholder": "", @@ -1035,7 +1035,7 @@ "tree": true, "lazyLoad": false, "defaultOpen": false, - "id": "emybtj9" + "id": "e62bz6a" }, { "id": "ecf3gbp", @@ -9078,7 +9078,7 @@ "attributes": {}, "components": [ { - "id": "epivnsp00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "epivnsp00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "contaminant", "mask": false, "type": "textfield", @@ -9155,7 +9155,7 @@ "truncateMultipleSpaces": false }, { - "id": "el3hlvr00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "el3hlvr00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "maximumConcentration", "mask": false, "type": "textfield", @@ -9900,7 +9900,7 @@ "attributes": {}, "components": [ { - "id": "esedw400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "esedw400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "contaminant", "mask": false, "type": "textfield", @@ -9977,7 +9977,7 @@ "truncateMultipleSpaces": false }, { - "id": "esor90600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "esor90600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "maximumConcentration", "mask": false, "type": "textfield", @@ -10719,7 +10719,7 @@ "attributes": {}, "components": [ { - "id": "ej0y4100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "ej0y4100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "contaminant", "mask": false, "type": "textfield", @@ -10796,7 +10796,7 @@ "truncateMultipleSpaces": false }, { - "id": "e8qg9fh00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "e8qg9fh00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "maximumConcentration", "mask": false, "type": "textfield", @@ -11544,7 +11544,7 @@ "attributes": {}, "components": [ { - "id": "eevqmo90000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "eevqmo90000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "contaminant", "mask": false, "type": "textfield", @@ -11621,7 +11621,7 @@ "truncateMultipleSpaces": false }, { - "id": "et223l30000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "et223l30000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "maximumConcentration", "mask": false, "type": "textfield", 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 33bb9539..c5d3e093 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 @@ -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-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{% } %}", + "header": "{% console.log(\"row-key header\",'commentFor',row['commentFor']) %}\n{% const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))%}\n{% const groups = UserDetails[\"groups\"]; %}\n\n{% if(groups.includes(\"/formsflow/formsflow-client\") || groups.includes(\"/formsflow/formsflow-reviewer/csap\") || groups.includes(\"/formsflow/formsflow-reviewer/csap-society\")){ %}\n\n
\n {% util.eachComponent(components, function(component) { %}\n {% if (displayValue(component) && component.key !== 'commentFor' ) { %}\n {% if(component.label === 'Notes') { %}\n
{{ t(component.label) }}
\n {% } else if(component.key !== 'comments') { %}\n
{{ t(component.label) }}
\n {% } %}\n {% } %}\n {% }) %}\n
\n\n{% } else { %}\n\n
\n {% util.eachComponent(components, function(component) { %}\n {% if (displayValue(component)) { %}\n {% if(component.key == 'comments') { %}\n
{{ t(component.label)}}
\n {% } else if(component.key == 'role' || component.key == 'createdBy') { %}\n
{{ t(component.label)}}
\n{% } else { %}\n
{{ t(component.label)}}
\n{% } %} \n {% } %}\n {% }) %}\n
\n\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": "\n\n{% console.log(\"row-key main\",'commentFor',row['commentFor']) %}\n{% const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))%}\n{% const groups = UserDetails[\"groups\"]; %}\n{% console.log('rendering edit grid body')%}\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'){ %}\n\n\n\n
\n\n {% util.eachComponent(components, function(component) { %}\n {% if (displayValue(component) && component.key !== 'commentFor' ) { %}\n {% console.log(\"row-key\",component.key,row[component.key]) %}\n {% const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))%}\n{% const groups = UserDetails[\"groups\"]; %}\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'){ %}\n{% if(component.key == 'comments') { %}\n
\n {{ getView(component, row[component.key])}}\n
\n{% } else { %}\n
\n {{ getView(component, row[component.key])}}\n
\n{%}%}\n \n\n {% } %}\n {% } %}\n {% }) %}\n {% if (!instance.options.readOnly && !instance.disabled) { %}\n {% const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))%}\n{% const groups = UserDetails[\"groups\"]; %}\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'){ %}\n
\n
\n {% if (!instance.hasRemoveButtons || instance.hasRemoveButtons()) { %}\n \n {% } %}\n
\n
\n \n {% } %}\n {% } %}\n
\n {% } else if (groups.includes(\"/formsflow/formsflow-reviewer/cssa-manager\") || 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\")) { %}\n
\n {% util.eachComponent(components, function(component) { %}\n {% console.log('for sia') %}\n {% if (displayValue(component)) { %}\n {% if(component.key == 'comments') { %}\n
{{ getView(component, row[component.key])}}
\n {% } else if(component.key == 'role' || component.key == 'createdBy') { %}\n
{{ getView(component, row[component.key])}}
\n{% } else { %}\n
{{ getView(component, row[component.key])}}
\n{% } %} \n \n {% } %}\n {% }) %}\n {% if (!instance.options.readOnly && !instance.disabled) { %}\n
\n
\n {% if (!instance.hasRemoveButtons || instance.hasRemoveButtons()) { %}\n \n {% } %}\n
\n
\n {% } %}\n
\n {% } %}\n \n \n \n{% const emptyElements = []; %}\n{% const elements = document.getElementsByClassName(\"list-group-item\"); %}\n{% for (let i = 0; i < elements.length; i++) { %}\n{% const element = elements[i]; %}\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 ", @@ -603,7 +603,7 @@ "wysiwyg": false, "editor": "", "fixedSize": true, - "id": "eq4yyt" + "id": "ela7omc" } ], "width": 4, @@ -695,7 +695,7 @@ "addons": [], "inputType": "radio", "fieldSet": false, - "id": "e11p497" + "id": "eexfsk" } ], "width": 2, @@ -782,7 +782,7 @@ "displayMask": "", "spellcheck": true, "truncateMultipleSpaces": false, - "id": "e1d5fun" + "id": "ehhwtd" } ], "size": "md", @@ -869,7 +869,7 @@ "displayMask": "", "spellcheck": true, "truncateMultipleSpaces": false, - "id": "espac7p" + "id": "e5gjfmk" } ], "size": "md", @@ -956,7 +956,7 @@ "displayMask": "", "spellcheck": true, "truncateMultipleSpaces": false, - "id": "emh5fwc" + "id": "eaf2si" } ], "size": "md", @@ -1031,7 +1031,7 @@ "tree": false, "lazyLoad": false, "autoAdjust": false, - "id": "eb9exon" + "id": "evpk8rp" } ], "placeholder": "", @@ -1050,7 +1050,7 @@ "tree": true, "lazyLoad": false, "defaultOpen": false, - "id": "eskandg" + "id": "e9by52h" }, { "id": "evi8v2p", @@ -1213,7 +1213,7 @@ "attributes": {}, "components": [ { - "id": "ea2btv00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "ea2btv00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "Panel-InformationForAffectedAndLikelyAffectedParcels", "tree": false, "type": "panel", @@ -9085,7 +9085,7 @@ "addons": [], "tree": false, "lazyLoad": false, - "id": "emrk44b0000000000000000" + "id": "emrk44b0000000000000000000" } ], "errorLabel": "",