ngx-t-forms 2.0.36 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs → ngx-t-forms-auto-complete-input-element.component-7g5cpVfB.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs.map → ngx-t-forms-auto-complete-input-element.component-7g5cpVfB.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-VektEtrf.mjs → ngx-t-forms-auto-complete-input-element.component-DFApar1W.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-VektEtrf.mjs.map → ngx-t-forms-auto-complete-input-element.component-DFApar1W.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs → ngx-t-forms-basic-input-input-element.component-BhMw2vpl.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs.map → ngx-t-forms-basic-input-input-element.component-BhMw2vpl.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs → ngx-t-forms-basic-input-input-element.component-ChCeve-w.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs.map → ngx-t-forms-basic-input-input-element.component-ChCeve-w.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-8EgwXTN1.mjs → ngx-t-forms-calculated-field-rules.component-BmWnrfWN.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-8EgwXTN1.mjs.map → ngx-t-forms-calculated-field-rules.component-BmWnrfWN.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-B_3IbQjp.mjs → ngx-t-forms-calculated-field-rules.component-CJMwqoHL.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-B_3IbQjp.mjs.map → ngx-t-forms-calculated-field-rules.component-CJMwqoHL.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-B95VIBRi.mjs → ngx-t-forms-chip-options-creator-editor.component-ALkkDotT.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-B95VIBRi.mjs.map → ngx-t-forms-chip-options-creator-editor.component-ALkkDotT.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-uTCOa48g.mjs → ngx-t-forms-chip-options-creator-editor.component-B54kOArR.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-uTCOa48g.mjs.map → ngx-t-forms-chip-options-creator-editor.component-B54kOArR.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-BX3zJs-A.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-CAZv0_uR.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-BX3zJs-A.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-CAZv0_uR.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-Dm16WA5Y.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-Dap7QkKD.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-Dm16WA5Y.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-Dap7QkKD.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-data-source-picker.component-z0l9WEw7.mjs → ngx-t-forms-data-source-picker.component-8G28L1Cg.mjs} +8 -8
- package/fesm2022/{ngx-t-forms-data-source-picker.component-z0l9WEw7.mjs.map → ngx-t-forms-data-source-picker.component-8G28L1Cg.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-data-source-picker.component-Dij1l4-7.mjs → ngx-t-forms-data-source-picker.component-CJ1C1Znp.mjs} +8 -8
- package/fesm2022/ngx-t-forms-data-source-picker.component-CJ1C1Znp.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-date-picker-input-element.component-D9BOhV6g.mjs → ngx-t-forms-date-picker-input-element.component-DjYq63Iv.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-date-picker-input-element.component-D9BOhV6g.mjs.map → ngx-t-forms-date-picker-input-element.component-DjYq63Iv.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-date-picker-input-element.component-C9I8KX12.mjs → ngx-t-forms-date-picker-input-element.component-NM2cFs3P.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-date-picker-input-element.component-C9I8KX12.mjs.map → ngx-t-forms-date-picker-input-element.component-NM2cFs3P.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-B3Z47mrO.mjs → ngx-t-forms-date-range-picker-input-element.component-DhU_bhy3.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-B3Z47mrO.mjs.map → ngx-t-forms-date-range-picker-input-element.component-DhU_bhy3.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-BiXubnsN.mjs → ngx-t-forms-date-range-picker-input-element.component-g0wIRj9b.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-BiXubnsN.mjs.map → ngx-t-forms-date-range-picker-input-element.component-g0wIRj9b.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-PW2XiPiH.mjs → ngx-t-forms-document-list-label-config-editor.component-K-KFdCcS.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-PW2XiPiH.mjs.map → ngx-t-forms-document-list-label-config-editor.component-K-KFdCcS.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-C5T_DK6w.mjs → ngx-t-forms-document-list-label-config-editor.component-NuPXy_Ms.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-C5T_DK6w.mjs.map → ngx-t-forms-document-list-label-config-editor.component-NuPXy_Ms.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-document-picker.component-BSG7k3IN.mjs +1259 -0
- package/fesm2022/ngx-t-forms-document-picker.component-BSG7k3IN.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-document-picker.component-ChGqXHcQ.mjs +1996 -0
- package/fesm2022/ngx-t-forms-document-picker.component-ChGqXHcQ.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-editor-input-element.component-DYytkGYD.mjs → ngx-t-forms-editor-input-element.component-B8Pk-EVY.mjs} +157 -23
- package/fesm2022/ngx-t-forms-editor-input-element.component-B8Pk-EVY.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-editor-input-element.component-C12fnCTM.mjs → ngx-t-forms-editor-input-element.component-Bb7w-vNw.mjs} +138 -15
- package/fesm2022/ngx-t-forms-editor-input-element.component-Bb7w-vNw.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-editor-js-input.component-DlsLiHi1.mjs +539 -0
- package/fesm2022/ngx-t-forms-editor-js-input.component-DlsLiHi1.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-editor-js-input.component-XX6kU8DW.mjs +585 -0
- package/fesm2022/ngx-t-forms-editor-js-input.component-XX6kU8DW.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-file-upload-input-element.component-Bgi-chdw.mjs → ngx-t-forms-file-upload-input-element.component-Km-qgANx.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-file-upload-input-element.component-Bgi-chdw.mjs.map → ngx-t-forms-file-upload-input-element.component-Km-qgANx.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-file-upload-input-element.component-CI4onrtp.mjs → ngx-t-forms-file-upload-input-element.component-RCmUClXv.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-file-upload-input-element.component-CI4onrtp.mjs.map → ngx-t-forms-file-upload-input-element.component-RCmUClXv.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-input-selector.component-BysF2WY-.mjs → ngx-t-forms-form-input-selector.component-0jfD5C0G.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-form-input-selector.component-BysF2WY-.mjs.map → ngx-t-forms-form-input-selector.component-0jfD5C0G.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-input-selector.component-xIalL_cs.mjs → ngx-t-forms-form-input-selector.component-D5KYWQ2R.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-form-input-selector.component-xIalL_cs.mjs.map → ngx-t-forms-form-input-selector.component-D5KYWQ2R.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-json-view.component-CU1d8rGd.mjs → ngx-t-forms-form-json-view.component-r64GKVhI.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-form-json-view.component-CU1d8rGd.mjs.map → ngx-t-forms-form-json-view.component-r64GKVhI.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-json-view.component-DpU3ZTiS.mjs → ngx-t-forms-form-json-view.component-z0nQxpqB.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-form-json-view.component-DpU3ZTiS.mjs.map → ngx-t-forms-form-json-view.component-z0nQxpqB.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-section-stepper.component-tGbPKHM6.mjs → ngx-t-forms-form-section-stepper.component-B3DRJ--U.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-form-section-stepper.component-tGbPKHM6.mjs.map → ngx-t-forms-form-section-stepper.component-B3DRJ--U.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-section-stepper.component-DqShhIBK.mjs → ngx-t-forms-form-section-stepper.component-UUTHYU-A.mjs} +10 -10
- package/fesm2022/ngx-t-forms-form-section-stepper.component-UUTHYU-A.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-hK9C4vAa.mjs → ngx-t-forms-forms-builder-menu.component-BYFynpTn.mjs} +11 -11
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-hK9C4vAa.mjs.map → ngx-t-forms-forms-builder-menu.component-BYFynpTn.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-BsgtMZFM.mjs → ngx-t-forms-forms-builder-menu.component-DTIAOxGV.mjs} +13 -13
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-BsgtMZFM.mjs.map → ngx-t-forms-forms-builder-menu.component-DTIAOxGV.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-geo-location.component-ChmvJCGu.mjs → ngx-t-forms-geo-location.component-D2fIbagr.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-geo-location.component-ChmvJCGu.mjs.map → ngx-t-forms-geo-location.component-D2fIbagr.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-geo-location.component-DfmFok8a.mjs → ngx-t-forms-geo-location.component-DW2b5Zli.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-geo-location.component-DfmFok8a.mjs.map → ngx-t-forms-geo-location.component-DW2b5Zli.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BpA_P017.mjs → ngx-t-forms-image-capture-input-element.component-BgnzErQt.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BpA_P017.mjs.map → ngx-t-forms-image-capture-input-element.component-BgnzErQt.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs → ngx-t-forms-image-capture-input-element.component-Us_NAQSl.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs.map → ngx-t-forms-image-capture-input-element.component-Us_NAQSl.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-index-D-7ZX0w7.mjs → ngx-t-forms-index-6YIhS6cm.mjs} +2 -2
- package/fesm2022/ngx-t-forms-index-6YIhS6cm.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-index-DHloq32-.mjs → ngx-t-forms-index-BPNBX_ve.mjs} +2 -2
- package/fesm2022/ngx-t-forms-index-BPNBX_ve.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-input-custom.component-Cv6jfrPf.mjs → ngx-t-forms-input-custom.component-DQOqy047.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-input-custom.component-Cv6jfrPf.mjs.map → ngx-t-forms-input-custom.component-DQOqy047.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-input-custom.component-pUshbxSM.mjs → ngx-t-forms-input-custom.component-Dcoze7U3.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-input-custom.component-pUshbxSM.mjs.map → ngx-t-forms-input-custom.component-Dcoze7U3.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-input-editor.component-BKV6ZJx9.mjs → ngx-t-forms-input-editor.component-3fRj5swF.mjs} +8 -8
- package/fesm2022/{ngx-t-forms-input-editor.component-BKV6ZJx9.mjs.map → ngx-t-forms-input-editor.component-3fRj5swF.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-input-editor.component-CxXMETLl.mjs → ngx-t-forms-input-editor.component-B6UKwV4i.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-input-editor.component-CxXMETLl.mjs.map → ngx-t-forms-input-editor.component-B6UKwV4i.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-map-mat-options-keys-BbfC5vYI.mjs → ngx-t-forms-map-mat-options-keys-BsfvYiEU.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-map-mat-options-keys-BbfC5vYI.mjs.map → ngx-t-forms-map-mat-options-keys-BsfvYiEU.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs → ngx-t-forms-map-mat-options-keys-eSc99wdA.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs.map → ngx-t-forms-map-mat-options-keys-eSc99wdA.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CN17K5q6.mjs +268 -0
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CN17K5q6.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CYtTBtyf.mjs +167 -0
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CYtTBtyf.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs → ngx-t-forms-missing-form-configs.component-AaDfeALs.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs.map → ngx-t-forms-missing-form-configs.component-AaDfeALs.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs → ngx-t-forms-missing-form-configs.component-CEa8ZNKA.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs.map → ngx-t-forms-missing-form-configs.component-CEa8ZNKA.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs → ngx-t-forms-mscoa-chart-toolbar.component-D0igUV3W.mjs} +4 -4
- package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-D0igUV3W.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-D1ASX1mt.mjs → ngx-t-forms-mscoa-chart-toolbar.component-DklkxNgg.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-D1ASX1mt.mjs.map → ngx-t-forms-mscoa-chart-toolbar.component-DklkxNgg.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mscoa-error-display.component-99DpVSy7.mjs → ngx-t-forms-mscoa-error-display.component-BDPi6w2E.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-mscoa-error-display.component-99DpVSy7.mjs.map → ngx-t-forms-mscoa-error-display.component-BDPi6w2E.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mscoa-error-display.component-DzFibbuY.mjs → ngx-t-forms-mscoa-error-display.component-rzl-fMmd.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-mscoa-error-display.component-DzFibbuY.mjs.map → ngx-t-forms-mscoa-error-display.component-rzl-fMmd.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-CjuxTqfX.mjs → ngx-t-forms-mscoa-segment-config.component-2SspNWtF.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-CjuxTqfX.mjs.map → ngx-t-forms-mscoa-segment-config.component-2SspNWtF.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-D9KrXNS6.mjs → ngx-t-forms-mscoa-segment-config.component-CSGf4XeN.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-D9KrXNS6.mjs.map → ngx-t-forms-mscoa-segment-config.component-CSGf4XeN.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-DV93x0Rr.mjs → ngx-t-forms-mscoa-temporary-hint.component-CBuGHwnU.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-DV93x0Rr.mjs.map → ngx-t-forms-mscoa-temporary-hint.component-CBuGHwnU.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-B1Z-IXSL.mjs → ngx-t-forms-mscoa-temporary-hint.component-g7DosiVb.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-B1Z-IXSL.mjs.map → ngx-t-forms-mscoa-temporary-hint.component-g7DosiVb.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-BxQYrUJL.mjs → ngx-t-forms-multiple-input-input-element.component-CbQdnVgw.mjs} +15 -15
- package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-BxQYrUJL.mjs.map → ngx-t-forms-multiple-input-input-element.component-CbQdnVgw.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-BA61uQ2q.mjs → ngx-t-forms-multiple-input-input-element.component-dmRIi9ph.mjs} +13 -13
- package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-BA61uQ2q.mjs.map → ngx-t-forms-multiple-input-input-element.component-dmRIi9ph.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-ngx-t-forms-CJGAj18J.mjs → ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs} +941 -155
- package/fesm2022/ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs → ngx-t-forms-ngx-t-forms-BefvSS-p.mjs} +1119 -234
- package/fesm2022/ngx-t-forms-ngx-t-forms-BefvSS-p.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-paginated-selection-table-DeY5vQti.mjs → ngx-t-forms-paginated-selection-table-BGNxI2yq.mjs} +8 -8
- package/fesm2022/ngx-t-forms-paginated-selection-table-BGNxI2yq.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-paginated-selection-table-yvhqQxPV.mjs → ngx-t-forms-paginated-selection-table-DrXB22iY.mjs} +8 -8
- package/fesm2022/{ngx-t-forms-paginated-selection-table-yvhqQxPV.mjs.map → ngx-t-forms-paginated-selection-table-DrXB22iY.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-payload-template-editor.component-sqY3bYiZ.mjs → ngx-t-forms-payload-template-editor.component-DL4ZTTsH.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-payload-template-editor.component-sqY3bYiZ.mjs.map → ngx-t-forms-payload-template-editor.component-DL4ZTTsH.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-payload-template-editor.component-BzY-kX6W.mjs → ngx-t-forms-payload-template-editor.component-o3qwpvYu.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-payload-template-editor.component-BzY-kX6W.mjs.map → ngx-t-forms-payload-template-editor.component-o3qwpvYu.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-pipeline-generator.component-CcHgQ-MT.mjs → ngx-t-forms-pipeline-generator.component-BqtdKcN2.mjs} +11 -11
- package/fesm2022/{ngx-t-forms-pipeline-generator.component-CcHgQ-MT.mjs.map → ngx-t-forms-pipeline-generator.component-BqtdKcN2.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-pipeline-generator.component-COvr1j_v.mjs → ngx-t-forms-pipeline-generator.component-DcZPv8-N.mjs} +11 -11
- package/fesm2022/{ngx-t-forms-pipeline-generator.component-COvr1j_v.mjs.map → ngx-t-forms-pipeline-generator.component-DcZPv8-N.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs → ngx-t-forms-record-list-manager.component-BcANl5Bq.mjs} +166 -72
- package/fesm2022/ngx-t-forms-record-list-manager.component-BcANl5Bq.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-record-list-manager.component-l-2uDVmi.mjs +446 -0
- package/fesm2022/ngx-t-forms-record-list-manager.component-l-2uDVmi.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-required-inputs.component-ByBeNLXu.mjs → ngx-t-forms-required-inputs.component-BMmNxeE-.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-required-inputs.component-ByBeNLXu.mjs.map → ngx-t-forms-required-inputs.component-BMmNxeE-.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs → ngx-t-forms-required-inputs.component-Dr0P1gin.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs.map → ngx-t-forms-required-inputs.component-Dr0P1gin.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs → ngx-t-forms-rest-api-call-setup.component-BSv_KQIU.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs.map → ngx-t-forms-rest-api-call-setup.component-BSv_KQIU.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-CkLePXoO.mjs → ngx-t-forms-rest-api-call-setup.component-C3sNmq_H.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-CkLePXoO.mjs.map → ngx-t-forms-rest-api-call-setup.component-C3sNmq_H.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-section-report.component-mUpSxbaB.mjs → ngx-t-forms-section-report.component-BYMcaRE5.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-section-report.component-mUpSxbaB.mjs.map → ngx-t-forms-section-report.component-BYMcaRE5.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-section-report.component-CQR27H3a.mjs → ngx-t-forms-section-report.component-yGAjX7Gb.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-section-report.component-CQR27H3a.mjs.map → ngx-t-forms-section-report.component-yGAjX7Gb.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-select-input-element.component-CLs5UkmC.mjs → ngx-t-forms-select-input-element.component-BqtJi4ek.mjs} +8 -8
- package/fesm2022/{ngx-t-forms-select-input-element.component-CLs5UkmC.mjs.map → ngx-t-forms-select-input-element.component-BqtJi4ek.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-select-input-element.component-c7IgHdXA.mjs → ngx-t-forms-select-input-element.component-Nsa3dpvV.mjs} +8 -8
- package/fesm2022/{ngx-t-forms-select-input-element.component-c7IgHdXA.mjs.map → ngx-t-forms-select-input-element.component-Nsa3dpvV.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-WfuGdtvK.mjs → ngx-t-forms-selection-options-editor.component-BuXVzo7Z.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-WfuGdtvK.mjs.map → ngx-t-forms-selection-options-editor.component-BuXVzo7Z.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-DiegTjWX.mjs → ngx-t-forms-selection-options-editor.component-_glw1cqH.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-DiegTjWX.mjs.map → ngx-t-forms-selection-options-editor.component-_glw1cqH.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-CLgN3YM4.mjs +366 -0
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-CLgN3YM4.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-DAwP-cWK.mjs +263 -0
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-DAwP-cWK.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-textarea-input-element.component-C7H84RGw.mjs → ngx-t-forms-textarea-input-element.component-DPxUzkAu.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-textarea-input-element.component-C7H84RGw.mjs.map → ngx-t-forms-textarea-input-element.component-DPxUzkAu.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-textarea-input-element.component-Coxr1XD7.mjs → ngx-t-forms-textarea-input-element.component-SCEBLqJd.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-textarea-input-element.component-Coxr1XD7.mjs.map → ngx-t-forms-textarea-input-element.component-SCEBLqJd.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs → ngx-t-forms-toggle-input-element.component-CoyTMRMa.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs.map → ngx-t-forms-toggle-input-element.component-CoyTMRMa.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs → ngx-t-forms-toggle-input-element.component-OZre5TJ7.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs.map → ngx-t-forms-toggle-input-element.component-OZre5TJ7.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-validators-config.component-DjLB40z-.mjs → ngx-t-forms-validators-config.component-B1Lzs7o2.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-validators-config.component-DjLB40z-.mjs.map → ngx-t-forms-validators-config.component-B1Lzs7o2.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-validators-config.component-DgIVRSvF.mjs → ngx-t-forms-validators-config.component-CoGSFor3.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-validators-config.component-DgIVRSvF.mjs.map → ngx-t-forms-validators-config.component-CoGSFor3.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-workflow-adjudication.component-_A3v5MxN.mjs → ngx-t-forms-workflow-adjudication.component-Bz07jv-N.mjs} +18 -18
- package/fesm2022/ngx-t-forms-workflow-adjudication.component-Bz07jv-N.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CB6qBxgr.mjs → ngx-t-forms-workflow-adjudication.component-CrDZg3Nl.mjs} +17 -17
- package/fesm2022/ngx-t-forms-workflow-adjudication.component-CrDZg3Nl.mjs.map +1 -0
- package/fesm2022/ngx-t-forms.mjs +1 -1
- package/package.json +2 -2
- package/types/ngx-t-forms.d.ts +18 -12
- package/fesm2022/ngx-t-forms-data-source-picker.component-Dij1l4-7.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-document-picker.component-B47pQxMF.mjs +0 -1217
- package/fesm2022/ngx-t-forms-document-picker.component-B47pQxMF.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-document-picker.component-BNQ1a96s.mjs +0 -704
- package/fesm2022/ngx-t-forms-document-picker.component-BNQ1a96s.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-editor-input-element.component-C12fnCTM.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-editor-input-element.component-DYytkGYD.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-editor-js-input.component-BQSF3142.mjs +0 -251
- package/fesm2022/ngx-t-forms-editor-js-input.component-BQSF3142.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-editor-js-input.component-cxob42pE.mjs +0 -240
- package/fesm2022/ngx-t-forms-editor-js-input.component-cxob42pE.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-form-section-stepper.component-DqShhIBK.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-index-D-7ZX0w7.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-index-DHloq32-.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs +0 -109
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs +0 -66
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-ngx-t-forms-CJGAj18J.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-paginated-selection-table-DeY5vQti.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-record-list-manager.component-CY4GnAOb.mjs +0 -358
- package/fesm2022/ngx-t-forms-record-list-manager.component-CY4GnAOb.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-CQPrr7Cz.mjs +0 -341
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-CQPrr7Cz.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-DqFMP1rZ.mjs +0 -204
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-DqFMP1rZ.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-workflow-adjudication.component-CB6qBxgr.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-workflow-adjudication.component-_A3v5MxN.mjs.map +0 -1
package/fesm2022/{ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs → ngx-t-forms-ngx-t-forms-BefvSS-p.mjs}
RENAMED
|
@@ -12,13 +12,13 @@ import { HttpClient, HttpErrorResponse } from '@angular/common/http';
|
|
|
12
12
|
import { v4 } from 'uuid';
|
|
13
13
|
import * as i3 from '@angular/common';
|
|
14
14
|
import { TitleCasePipe, LowerCasePipe, UpperCasePipe, DecimalPipe, CurrencyPipe, DatePipe, DOCUMENT, isPlatformBrowser, CommonModule, NgComponentOutlet, AsyncPipe, JsonPipe } from '@angular/common';
|
|
15
|
-
import * as i1$
|
|
15
|
+
import * as i1$2 from '@angular/cdk/drag-drop';
|
|
16
16
|
import { moveItemInArray, DragDropModule } from '@angular/cdk/drag-drop';
|
|
17
17
|
import { MatSnackBar, MatSnackBarModule } from '@angular/material/snack-bar';
|
|
18
18
|
import * as i7$1 from '@angular/router';
|
|
19
19
|
import { ActivatedRoute, Router, RouterModule } from '@angular/router';
|
|
20
20
|
import { s } from '@hashbrownai/core';
|
|
21
|
-
import * as
|
|
21
|
+
import * as i2 from '@angular/material/button';
|
|
22
22
|
import { MatButtonModule } from '@angular/material/button';
|
|
23
23
|
import * as i3$1 from '@angular/material/icon';
|
|
24
24
|
import { MatIconModule } from '@angular/material/icon';
|
|
@@ -30,14 +30,16 @@ import * as i4 from '@angular/material/progress-spinner';
|
|
|
30
30
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
31
31
|
import * as i8 from '@angular/material/toolbar';
|
|
32
32
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
33
|
-
import * as i2 from '@angular/material/form-field';
|
|
33
|
+
import * as i2$1 from '@angular/material/form-field';
|
|
34
34
|
import { MatFormFieldModule, MatFormFieldControl } from '@angular/material/form-field';
|
|
35
|
-
import * as i2$
|
|
35
|
+
import * as i2$2 from '@angular/material/input';
|
|
36
36
|
import { MatInputModule } from '@angular/material/input';
|
|
37
37
|
import * as i5 from '@angular/material/tooltip';
|
|
38
38
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
39
39
|
import * as i7 from '@angular/material/core';
|
|
40
40
|
import { MatRippleModule, MatNativeDateModule } from '@angular/material/core';
|
|
41
|
+
import * as i1$3 from '@angular/material/dialog';
|
|
42
|
+
import { MAT_DIALOG_DATA, MatDialogModule, MatDialog, MatDialogRef, MatDialogActions } from '@angular/material/dialog';
|
|
41
43
|
import * as i4$1 from '@angular/material/stepper';
|
|
42
44
|
import { MatStepperModule } from '@angular/material/stepper';
|
|
43
45
|
import * as i7$2 from 'ngx-ui-tour-md-menu';
|
|
@@ -49,17 +51,15 @@ import { MatCardModule } from '@angular/material/card';
|
|
|
49
51
|
import * as i1$4 from '@angular/material/tree';
|
|
50
52
|
import { MatTreeFlattener, MatTreeFlatDataSource, MatTreeModule } from '@angular/material/tree';
|
|
51
53
|
import { FlatTreeControl, CdkTreeModule } from '@angular/cdk/tree';
|
|
52
|
-
import * as i1$5 from '@angular/material/dialog';
|
|
53
|
-
import { MatDialogModule, MAT_DIALOG_DATA, MatDialogRef, MatDialog, MatDialogActions } from '@angular/material/dialog';
|
|
54
54
|
import * as i5$1 from '@angular/material/table';
|
|
55
55
|
import { MatTableModule, MatTableDataSource } from '@angular/material/table';
|
|
56
56
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
57
|
-
import * as i3$
|
|
57
|
+
import * as i3$4 from '@angular/material/checkbox';
|
|
58
58
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
59
59
|
import { MatDividerModule } from '@angular/material/divider';
|
|
60
60
|
import * as i5$2 from '@angular/material/expansion';
|
|
61
61
|
import { MatExpansionModule } from '@angular/material/expansion';
|
|
62
|
-
import * as i10
|
|
62
|
+
import * as i10 from '@angular/material/sidenav';
|
|
63
63
|
import { MatSidenavModule } from '@angular/material/sidenav';
|
|
64
64
|
import _ from 'lodash';
|
|
65
65
|
import { CdkAccordionModule } from '@angular/cdk/accordion';
|
|
@@ -71,22 +71,22 @@ import { CdkStepperModule } from '@angular/cdk/stepper';
|
|
|
71
71
|
import { CdkTableModule } from '@angular/cdk/table';
|
|
72
72
|
import { MatBadgeModule } from '@angular/material/badge';
|
|
73
73
|
import { MatBottomSheetModule } from '@angular/material/bottom-sheet';
|
|
74
|
-
import * as i3$
|
|
74
|
+
import * as i3$5 from '@angular/material/button-toggle';
|
|
75
75
|
import { MatButtonToggleModule } from '@angular/material/button-toggle';
|
|
76
76
|
import * as i4$3 from '@angular/material/chips';
|
|
77
77
|
import { MatChipsModule } from '@angular/material/chips';
|
|
78
78
|
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
79
79
|
import { MatGridListModule } from '@angular/material/grid-list';
|
|
80
|
-
import * as
|
|
80
|
+
import * as i3$3 from '@angular/material/paginator';
|
|
81
81
|
import { MatPaginatorModule, MatPaginator } from '@angular/material/paginator';
|
|
82
82
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
83
83
|
import { MatRadioModule } from '@angular/material/radio';
|
|
84
84
|
import { MatSliderModule } from '@angular/material/slider';
|
|
85
85
|
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
|
86
|
-
import * as
|
|
86
|
+
import * as i2$3 from '@angular/material/sort';
|
|
87
87
|
import { MatSortModule, MatSort } from '@angular/material/sort';
|
|
88
88
|
import { MatTabsModule } from '@angular/material/tabs';
|
|
89
|
-
import * as i2$
|
|
89
|
+
import * as i2$4 from '@angular/cdk/overlay';
|
|
90
90
|
import { OverlayModule } from '@angular/cdk/overlay';
|
|
91
91
|
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
92
92
|
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
@@ -2563,6 +2563,191 @@ function applyRounding(value, decimals, mode = 'ROUND') {
|
|
|
2563
2563
|
return math.divide(scaledValue, scale);
|
|
2564
2564
|
}
|
|
2565
2565
|
|
|
2566
|
+
/**
|
|
2567
|
+
* Reads a dot-notated document path, e.g. `form.amount`.
|
|
2568
|
+
*
|
|
2569
|
+
* Documents come back in their stored shape — form values nested under `form` —
|
|
2570
|
+
* rather than being flattened onto the row, so a column named `reference` can never
|
|
2571
|
+
* be shadowed by a form field of the same name.
|
|
2572
|
+
*
|
|
2573
|
+
* @param doc - The document to read from.
|
|
2574
|
+
* @param path - Dot-notated path. An empty path returns `undefined`.
|
|
2575
|
+
* @returns The value at the path, or `undefined` if any segment is missing.
|
|
2576
|
+
*/
|
|
2577
|
+
function readDocumentPath(doc, path) {
|
|
2578
|
+
if (!path)
|
|
2579
|
+
return undefined;
|
|
2580
|
+
return path.split('.').reduce((value, segment) => {
|
|
2581
|
+
if (value == null || typeof value !== 'object')
|
|
2582
|
+
return undefined;
|
|
2583
|
+
return value[segment];
|
|
2584
|
+
}, doc);
|
|
2585
|
+
}
|
|
2586
|
+
|
|
2587
|
+
/** Path used when the picker has no configured primary identifier key. */
|
|
2588
|
+
const DEFAULT_IDENTIFIER_PATH = '_id';
|
|
2589
|
+
/**
|
|
2590
|
+
* Resolves the document path a picker's identifiers are read from.
|
|
2591
|
+
*
|
|
2592
|
+
* @param primaryIdentifierKey - Configured key, as the builder's key mapper stores it.
|
|
2593
|
+
* @returns A dot-notated path, defaulting to `_id`.
|
|
2594
|
+
*/
|
|
2595
|
+
function resolveIdentifierPath(primaryIdentifierKey) {
|
|
2596
|
+
if (!primaryIdentifierKey || primaryIdentifierKey.length === 0) {
|
|
2597
|
+
return DEFAULT_IDENTIFIER_PATH;
|
|
2598
|
+
}
|
|
2599
|
+
const segments = primaryIdentifierKey
|
|
2600
|
+
.map(node => (node?.key == null ? '' : String(node.key)))
|
|
2601
|
+
.filter(segment => segment !== '');
|
|
2602
|
+
return segments.length > 0 ? segments.join('.') : DEFAULT_IDENTIFIER_PATH;
|
|
2603
|
+
}
|
|
2604
|
+
/**
|
|
2605
|
+
* Reads a document's identifier as a string.
|
|
2606
|
+
*
|
|
2607
|
+
* Identifiers arrive as `ObjectId`, string or number depending on the source, so they
|
|
2608
|
+
* are normalised once here — comparing them ad hoc at each call site is what made
|
|
2609
|
+
* selection matching depend on loose equality.
|
|
2610
|
+
*
|
|
2611
|
+
* @param doc - The document to read.
|
|
2612
|
+
* @param identifierPath - Path resolved by {@link resolveIdentifierPath}.
|
|
2613
|
+
*/
|
|
2614
|
+
function readDocumentId(doc, identifierPath) {
|
|
2615
|
+
const raw = readDocumentPath(doc, identifierPath);
|
|
2616
|
+
if (raw == null || raw === '')
|
|
2617
|
+
return undefined;
|
|
2618
|
+
return String(raw);
|
|
2619
|
+
}
|
|
2620
|
+
/**
|
|
2621
|
+
* Describes a document as the reference stored on the form control.
|
|
2622
|
+
*
|
|
2623
|
+
* @param doc - The document, in its stored shape.
|
|
2624
|
+
* @param input - Workflow, identifier path and the column to label by.
|
|
2625
|
+
* @returns The reference, or `undefined` when the document carries no identifier.
|
|
2626
|
+
*/
|
|
2627
|
+
function toDocumentReference(doc, input) {
|
|
2628
|
+
const id = readDocumentId(doc, input.identifierPath);
|
|
2629
|
+
if (!id)
|
|
2630
|
+
return undefined;
|
|
2631
|
+
const reference = readDocumentPath(doc, 'reference');
|
|
2632
|
+
const label = input.labelColumn ? readDocumentPath(doc, input.labelColumn.path) : undefined;
|
|
2633
|
+
return {
|
|
2634
|
+
id,
|
|
2635
|
+
workflowId: input.workflowId,
|
|
2636
|
+
...(reference == null || reference === '' ? {} : { reference: String(reference) }),
|
|
2637
|
+
...(label == null || label === '' ? {} : { label: String(label) }),
|
|
2638
|
+
};
|
|
2639
|
+
}
|
|
2640
|
+
/** `true` when a stored entry carries the fields a reference must have. */
|
|
2641
|
+
function isDocumentReference(value) {
|
|
2642
|
+
if (value == null || typeof value !== 'object')
|
|
2643
|
+
return false;
|
|
2644
|
+
const candidate = value;
|
|
2645
|
+
return typeof candidate.id === 'string' && candidate.id !== '';
|
|
2646
|
+
}
|
|
2647
|
+
/**
|
|
2648
|
+
* Reads a form-control value back into document references.
|
|
2649
|
+
*
|
|
2650
|
+
* Accepts a single reference or an array of them; anything else is counted as
|
|
2651
|
+
* unreadable so the picker can say so instead of rendering an empty selection.
|
|
2652
|
+
*
|
|
2653
|
+
* @param value - The current form-control value.
|
|
2654
|
+
*/
|
|
2655
|
+
function readDocumentReferences(value) {
|
|
2656
|
+
if (value == null || value === '') {
|
|
2657
|
+
return { references: [], unreadable: 0 };
|
|
2658
|
+
}
|
|
2659
|
+
const entries = Array.isArray(value) ? value : [value];
|
|
2660
|
+
const references = [];
|
|
2661
|
+
let unreadable = 0;
|
|
2662
|
+
for (const entry of entries) {
|
|
2663
|
+
if (isDocumentReference(entry)) {
|
|
2664
|
+
references.push(entry);
|
|
2665
|
+
}
|
|
2666
|
+
else {
|
|
2667
|
+
unreadable += 1;
|
|
2668
|
+
}
|
|
2669
|
+
}
|
|
2670
|
+
return { references, unreadable };
|
|
2671
|
+
}
|
|
2672
|
+
/**
|
|
2673
|
+
* The identifier of a value that is a complete stored document link, or `undefined`
|
|
2674
|
+
* when it is not one.
|
|
2675
|
+
*
|
|
2676
|
+
* Stricter than {@link isDocumentReference} on purpose. That predicate answers "can the
|
|
2677
|
+
* picker render this chip?", where a lone `id` is enough. This one answers "is some
|
|
2678
|
+
* other input looking at a stored document link?", and gets that wrong at the cost of
|
|
2679
|
+
* mangling an unrelated object-valued field — so it insists on the `workflowId` a
|
|
2680
|
+
* picker always stamps alongside the identifier.
|
|
2681
|
+
*/
|
|
2682
|
+
function narrowableIdentifier(value) {
|
|
2683
|
+
if (value == null || typeof value !== 'object' || Array.isArray(value))
|
|
2684
|
+
return undefined;
|
|
2685
|
+
const candidate = value;
|
|
2686
|
+
if (typeof candidate.workflowId !== 'string' || candidate.workflowId === '')
|
|
2687
|
+
return undefined;
|
|
2688
|
+
if (typeof candidate.id === 'string' && candidate.id !== '')
|
|
2689
|
+
return candidate.id;
|
|
2690
|
+
if (typeof candidate.id === 'number' && !Number.isNaN(candidate.id))
|
|
2691
|
+
return candidate.id;
|
|
2692
|
+
return undefined;
|
|
2693
|
+
}
|
|
2694
|
+
/**
|
|
2695
|
+
* Narrows a stored document-picker value to the identifier(s) the rest of the form
|
|
2696
|
+
* consumes.
|
|
2697
|
+
*
|
|
2698
|
+
* A picker stores whole {@link IDocumentReference} objects so it can redraw its chips
|
|
2699
|
+
* without re-fetching anything. That is the right thing to persist and the wrong thing
|
|
2700
|
+
* to hand to any other input that reads the field *as a value* — an API payload mapped
|
|
2701
|
+
* to a picker would send `{ reference: { id, workflowId, … } }` where the endpoint
|
|
2702
|
+
* declared a string. The identifier is {@link IDocumentReference.id}, which
|
|
2703
|
+
* {@link toDocumentReference} read from the picker's configured `primaryIdentifierKey`:
|
|
2704
|
+
* the narrowing therefore returns the field the administrator nominated, not a guess
|
|
2705
|
+
* made here. Point a picker at the wrong key and this returns the wrong value —
|
|
2706
|
+
* that knob is the contract.
|
|
2707
|
+
*
|
|
2708
|
+
* Cardinality is preserved, so a multi-select picker never silently collapses to its
|
|
2709
|
+
* first link.
|
|
2710
|
+
*
|
|
2711
|
+
* @param value - The current value of a document-picker form control.
|
|
2712
|
+
* @returns The identifier for a single link, the identifier list for a multi-select
|
|
2713
|
+
* value, or `undefined` when the value holds no complete reference — including the
|
|
2714
|
+
* empty cases, so a consumer's "dependency not supplied yet" gate still reads it as
|
|
2715
|
+
* unmet, and mixed/foreign shapes, which the caller should pass through untouched
|
|
2716
|
+
* rather than blank.
|
|
2717
|
+
*/
|
|
2718
|
+
function readDocumentIdentifier(value) {
|
|
2719
|
+
if (Array.isArray(value)) {
|
|
2720
|
+
// All-or-nothing: a partially readable array is a shape this does not model
|
|
2721
|
+
// (a MultipleInput row array, say), and half-narrowing it would corrupt it.
|
|
2722
|
+
const entries = value;
|
|
2723
|
+
if (entries.length === 0)
|
|
2724
|
+
return undefined;
|
|
2725
|
+
const identifiers = [];
|
|
2726
|
+
for (const entry of entries) {
|
|
2727
|
+
const identifier = narrowableIdentifier(entry);
|
|
2728
|
+
if (identifier === undefined)
|
|
2729
|
+
return undefined;
|
|
2730
|
+
identifiers.push(identifier);
|
|
2731
|
+
}
|
|
2732
|
+
return identifiers;
|
|
2733
|
+
}
|
|
2734
|
+
return narrowableIdentifier(value);
|
|
2735
|
+
}
|
|
2736
|
+
/**
|
|
2737
|
+
* Produces the value written back to the form control.
|
|
2738
|
+
*
|
|
2739
|
+
* @param references - Currently selected references, in selection order.
|
|
2740
|
+
* @param allowMultiple - Whether the input accepts more than one document.
|
|
2741
|
+
* @returns An array when multi-select, a single reference when not, and `null` when
|
|
2742
|
+
* nothing is selected — so a cleared picker reads as empty to validators.
|
|
2743
|
+
*/
|
|
2744
|
+
function writeDocumentValue(references, allowMultiple) {
|
|
2745
|
+
if (allowMultiple) {
|
|
2746
|
+
return references.length > 0 ? [...references] : null;
|
|
2747
|
+
}
|
|
2748
|
+
return references[0] ?? null;
|
|
2749
|
+
}
|
|
2750
|
+
|
|
2566
2751
|
function compileInputValidators(input, getFormValue) {
|
|
2567
2752
|
const isRequired = !!input.required;
|
|
2568
2753
|
let inputValidators = input.validators ? [...input.validators] : [];
|
|
@@ -2688,6 +2873,14 @@ function createCustomValidator(config, formValue) {
|
|
|
2688
2873
|
};
|
|
2689
2874
|
}
|
|
2690
2875
|
// Rewritten to avoid potential recursion issues
|
|
2876
|
+
//
|
|
2877
|
+
// Observed values are narrowed by `readDocumentIdentifier` before they enter the
|
|
2878
|
+
// scope: a document picker stores whole reference objects for its chips, and an
|
|
2879
|
+
// authored expression compares the variable against a scalar. This must stay in
|
|
2880
|
+
// step with `buildValidationScope` in the tower's build-manual-validation builder —
|
|
2881
|
+
// both evaluators run the SAME expression against the same variable (formGenerator
|
|
2882
|
+
// compiles this one at control construction, the tower adds the other), so a
|
|
2883
|
+
// variable that means different things in the two produces flapping errors.
|
|
2691
2884
|
const getValidationScopeFromFormValue = (inputsObservedForChanges, formData) => {
|
|
2692
2885
|
// Create a new object directly instead of using reduce with spread operator
|
|
2693
2886
|
const result = {};
|
|
@@ -2706,7 +2899,8 @@ const getValidationScopeFromFormValue = (inputsObservedForChanges, formData) =>
|
|
|
2706
2899
|
: 0;
|
|
2707
2900
|
}
|
|
2708
2901
|
else {
|
|
2709
|
-
|
|
2902
|
+
const raw = formData[inputId];
|
|
2903
|
+
result[variable] = readDocumentIdentifier(raw) ?? raw;
|
|
2710
2904
|
}
|
|
2711
2905
|
}
|
|
2712
2906
|
return result;
|
|
@@ -3268,7 +3462,7 @@ function getSubmissionStatusFn(stepper, mainForm, formProgress, steps, loading)
|
|
|
3268
3462
|
* payload. Always attached to the **primary** payload object and preserved
|
|
3269
3463
|
* across `projectFormData` projection (see `formHttpSubmissions.ts`).
|
|
3270
3464
|
*/
|
|
3271
|
-
const VALIDATION_OVERRIDES_KEY = '
|
|
3465
|
+
const VALIDATION_OVERRIDES_KEY = 'validations';
|
|
3272
3466
|
/** A `control.errors` value is overridable iff it is an object with `canOverride === true`. */
|
|
3273
3467
|
function isOverridableErrorValue(value) {
|
|
3274
3468
|
return (typeof value === 'object' &&
|
|
@@ -3821,6 +4015,124 @@ const multipleInputRowIDControlInput = (value, multipleInputInEditId) => ({
|
|
|
3821
4015
|
multipleInputInEditId
|
|
3822
4016
|
});
|
|
3823
4017
|
|
|
4018
|
+
/**
|
|
4019
|
+
* @file Guarantees every `MultipleInput` row carries a row id — and *only* when
|
|
4020
|
+
* the incoming data lacks one.
|
|
4021
|
+
*
|
|
4022
|
+
* A MultipleInput stores its rows in the composite-keyed shape
|
|
4023
|
+
* `saveMultipleInputForm` produces:
|
|
4024
|
+
*
|
|
4025
|
+
* ```
|
|
4026
|
+
* { "<inputId>.id": "<uuid>", "<inputId>.<childId>": <value>, … }
|
|
4027
|
+
* ```
|
|
4028
|
+
*
|
|
4029
|
+
* The `"<inputId>.id"` entry is the row's identity — `multipleInputEditRow`,
|
|
4030
|
+
* `updateExistingRow`, the delete/copy actions and the per-row override store
|
|
4031
|
+
* (`#rowOverrides`) all locate a row by it. A row that reaches the control
|
|
4032
|
+
* without one is unreachable: it cannot be edited, deleted or motivated, and a
|
|
4033
|
+
* later save silently appends a duplicate instead of updating it.
|
|
4034
|
+
*
|
|
4035
|
+
* Rows authored through the UI always get an id (`addNewRow` mints one), but the
|
|
4036
|
+
* three *ingress* paths do not control their payload:
|
|
4037
|
+
*
|
|
4038
|
+
* | Ingress | Entry point |
|
|
4039
|
+
* |---|---|
|
|
4040
|
+
* | API fetch | `buildValueApiResource` → `multipleFormInputMapValueToInputsId` |
|
|
4041
|
+
* | Another form input | `buildInputSourcedValue` (`InputSourcedValue`) |
|
|
4042
|
+
* | Preloaded / imported data | `prepPopulateForm`, `initializeFormValues` → `updateValue` |
|
|
4043
|
+
*
|
|
4044
|
+
* ## Never re-stamp
|
|
4045
|
+
*
|
|
4046
|
+
* A row that already carries an id keeps it, byte for byte. Minting over an
|
|
4047
|
+
* existing id is itself a bug: these paths re-run on every form re-init, every
|
|
4048
|
+
* resource reload and every source change, so re-stamping would hand the same
|
|
4049
|
+
* logical row a different identity each pass — breaking edit/delete targeting,
|
|
4050
|
+
* orphaning its `#rowOverrides` entry, and making the row look "new" to the
|
|
4051
|
+
* backend on every save. An id is minted **only** where none exists, which also
|
|
4052
|
+
* makes this pass idempotent: running it across layers (the API mapper, then
|
|
4053
|
+
* `updateValue`) touches nothing the first pass already settled.
|
|
4054
|
+
*/
|
|
4055
|
+
/**
|
|
4056
|
+
* The composite control name a MultipleInput row stores its identifier under.
|
|
4057
|
+
*
|
|
4058
|
+
* @param inputId - The MultipleInput's id.
|
|
4059
|
+
* @returns The row-identity key (e.g. `'lines.id'`).
|
|
4060
|
+
*/
|
|
4061
|
+
const multipleInputRowIdKey = (inputId) => `${inputId}.id`;
|
|
4062
|
+
/** Narrows a row to the `Record` shape the composite keys live on. */
|
|
4063
|
+
const isRowObject = (row) => !!row && typeof row === 'object' && !Array.isArray(row);
|
|
4064
|
+
/**
|
|
4065
|
+
* Whether a candidate already identifies a row.
|
|
4066
|
+
*
|
|
4067
|
+
* Deliberately permissive — any non-nullish value that is not a blank string
|
|
4068
|
+
* counts, so a numeric or otherwise non-string backend id is preserved verbatim
|
|
4069
|
+
* rather than replaced with a UUID.
|
|
4070
|
+
*
|
|
4071
|
+
* The two rejected cases are the ones the rest of the engine already reads as
|
|
4072
|
+
* "no row": `null`/`undefined` (what `multipleFormInputMapValueToInputsId`
|
|
4073
|
+
* writes when the response carried no id) and `''` (what `prepPopulateForm`
|
|
4074
|
+
* writes for a nullish seed id, and what `saveMultipleInputForm` tests with a
|
|
4075
|
+
* bare truthiness check before deciding update-vs-append).
|
|
4076
|
+
*/
|
|
4077
|
+
const hasUsableId = (candidate) => {
|
|
4078
|
+
if (candidate === undefined || candidate === null)
|
|
4079
|
+
return false;
|
|
4080
|
+
return !(typeof candidate === 'string' && candidate.trim().length === 0);
|
|
4081
|
+
};
|
|
4082
|
+
/**
|
|
4083
|
+
* Returns `value` with a row id guaranteed on every MultipleInput row that
|
|
4084
|
+
* lacks one. Rows that already have an id are returned untouched.
|
|
4085
|
+
*
|
|
4086
|
+
* Per row, in order:
|
|
4087
|
+
* 1. A usable `"<inputId>.id"` → **kept exactly as-is**, never regenerated.
|
|
4088
|
+
* 2. Otherwise a usable bare `id` → adopted under the composite key. Covers
|
|
4089
|
+
* mappers that copied the backend identifier without prefixing it, so the row
|
|
4090
|
+
* keeps the identity the source system knows it by instead of being handed a
|
|
4091
|
+
* fresh UUID on every reload.
|
|
4092
|
+
* 3. Otherwise → a freshly minted UUID.
|
|
4093
|
+
*
|
|
4094
|
+
* A no-op returns the original array reference, so an already-valid payload
|
|
4095
|
+
* allocates nothing and produces no downstream change.
|
|
4096
|
+
*
|
|
4097
|
+
* @param input - The target column input. Anything other than a
|
|
4098
|
+
* {@link ElementTypes.MultipleInput} is returned untouched — the guard lives
|
|
4099
|
+
* here so callers on generic value paths cannot mis-apply row ids to, say, an
|
|
4100
|
+
* array-valued multi-select.
|
|
4101
|
+
* @param value - The candidate value. Non-arrays are returned untouched.
|
|
4102
|
+
* @param uuidFn - Row-id generator. Defaults to `uuid`'s v4, matching
|
|
4103
|
+
* `saveMultipleInputForm`'s `addNewRow`.
|
|
4104
|
+
* @returns The value with row ids guaranteed, or the input value unchanged.
|
|
4105
|
+
*
|
|
4106
|
+
* @example
|
|
4107
|
+
* ```ts
|
|
4108
|
+
* ensureMultipleInputRowIds(linesInput, [{ 'lines.amt': 100 }]);
|
|
4109
|
+
* // → [{ 'lines.amt': 100, 'lines.id': '6f9a…' }]
|
|
4110
|
+
*
|
|
4111
|
+
* ensureMultipleInputRowIds(linesInput, [{ 'lines.id': 'r0', 'lines.amt': 100 }]);
|
|
4112
|
+
* // → unchanged, same array reference
|
|
4113
|
+
* ```
|
|
4114
|
+
*/
|
|
4115
|
+
function ensureMultipleInputRowIds(input, value, uuidFn = v4) {
|
|
4116
|
+
if (input?.element !== ElementTypes.MultipleInput)
|
|
4117
|
+
return value;
|
|
4118
|
+
if (!Array.isArray(value))
|
|
4119
|
+
return value;
|
|
4120
|
+
const key = multipleInputRowIdKey(input.id);
|
|
4121
|
+
let changed = false;
|
|
4122
|
+
const rows = value.map((row) => {
|
|
4123
|
+
// A non-object row cannot carry a composite key. Left untouched rather than
|
|
4124
|
+
// dropped — the payload is malformed upstream and discarding it would hide
|
|
4125
|
+
// the data loss from the user.
|
|
4126
|
+
if (!isRowObject(row))
|
|
4127
|
+
return row;
|
|
4128
|
+
if (hasUsableId(row[key]))
|
|
4129
|
+
return row;
|
|
4130
|
+
changed = true;
|
|
4131
|
+
return { ...row, [key]: hasUsableId(row['id']) ? row['id'] : uuidFn() };
|
|
4132
|
+
});
|
|
4133
|
+
return changed ? rows : value;
|
|
4134
|
+
}
|
|
4135
|
+
|
|
3824
4136
|
/**
|
|
3825
4137
|
* Function types that can prepopulate values when the multiple input form opens.
|
|
3826
4138
|
* Includes InputSourcedValue (sources from other form inputs) and API-based fetchers.
|
|
@@ -3985,14 +4297,30 @@ const multipleInputDuplicateRow = (self, mainForm, inputId, rowId) => {
|
|
|
3985
4297
|
self.setInputTemporaryError(inputId, 'Failed to find section group');
|
|
3986
4298
|
return false;
|
|
3987
4299
|
}
|
|
3988
|
-
|
|
3989
|
-
|
|
4300
|
+
const rowIdKey = multipleInputRowIdKey(inputId);
|
|
4301
|
+
// Clear any identity left over from a prior edit first: when the sub-form was
|
|
4302
|
+
// already open, `toggleMultipleInput` reuses the existing controls, so the
|
|
4303
|
+
// previously-edited row's id would still be sitting in this one.
|
|
4304
|
+
sectionGroup.controls[rowIdKey]?.setValue(undefined);
|
|
4305
|
+
const row = sectionGroup.controls[inputId]?.value?.find((row) => row[rowIdKey] === rowId);
|
|
3990
4306
|
if (!row) {
|
|
3991
4307
|
self.setInputTemporaryError(inputId, "Could not find row to duplicate");
|
|
3992
4308
|
return false;
|
|
3993
4309
|
}
|
|
3994
|
-
|
|
3995
|
-
|
|
4310
|
+
// Copy the source row's FIELD values into the open sub-form — never its
|
|
4311
|
+
// identity. `saveMultipleInputForm` branches on the row-id control: an
|
|
4312
|
+
// identified row takes `updateExistingRow` and would overwrite the very row
|
|
4313
|
+
// being duplicated, instead of `addNewRow` minting a fresh id for the copy.
|
|
4314
|
+
//
|
|
4315
|
+
// The previous form of this loop spread the whole row (carrying
|
|
4316
|
+
// `${inputId}.id`) and added a bare `id: undefined` that matches no control.
|
|
4317
|
+
// It reached the right outcome only because the row-id pseudo-input is absent
|
|
4318
|
+
// from the definition, so the projection effect skips it — the write landed in
|
|
4319
|
+
// `#model` and change history but never on the control. Relying on that is
|
|
4320
|
+
// fragile; copy only what belongs to the duplicate.
|
|
4321
|
+
Object.entries(row).forEach(([key, value]) => {
|
|
4322
|
+
if (key === rowIdKey)
|
|
4323
|
+
return;
|
|
3996
4324
|
self.updateValue(key, value);
|
|
3997
4325
|
});
|
|
3998
4326
|
return true;
|
|
@@ -4239,33 +4567,40 @@ const prepPopulateForm = (form, initValue) => {
|
|
|
4239
4567
|
rawSeed,
|
|
4240
4568
|
seedRowsLen: seedRows.length,
|
|
4241
4569
|
});
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
};
|
|
4253
|
-
}
|
|
4254
|
-
if (!inputId) {
|
|
4255
|
-
// eslint-disable-next-line no-console
|
|
4256
|
-
console.warn('[dv-debug] prepPopulateForm DROPPED row key (no formControlName match)', {
|
|
4257
|
-
inputId: column.id,
|
|
4258
|
-
rowKey: key,
|
|
4259
|
-
knownFormControlNames: column.formInputs?.map(i => i.formControlName),
|
|
4260
|
-
});
|
|
4261
|
-
return acc;
|
|
4262
|
-
}
|
|
4570
|
+
// Seeded rows keep whatever `id` the payload carried —
|
|
4571
|
+
// `''` when the key was present but empty, absent
|
|
4572
|
+
// entirely when the source never wrote one. Either way
|
|
4573
|
+
// the row would be unreachable by edit/delete/override,
|
|
4574
|
+
// so the identity pass mints one before the row array
|
|
4575
|
+
// becomes the column's seed value.
|
|
4576
|
+
const seededRows = ensureMultipleInputRowIds(column, seedRows.map((item) => {
|
|
4577
|
+
return Object.entries(item).reduce((acc, [key, value]) => {
|
|
4578
|
+
const inputId = column.formInputs?.find(input => input.formControlName === key)?.id;
|
|
4579
|
+
if (key === 'id') {
|
|
4263
4580
|
return {
|
|
4264
4581
|
...acc,
|
|
4265
|
-
[`${column.id}
|
|
4582
|
+
[`${column.id}.id`]: value ?? ''
|
|
4266
4583
|
};
|
|
4267
|
-
}
|
|
4268
|
-
|
|
4584
|
+
}
|
|
4585
|
+
if (!inputId) {
|
|
4586
|
+
// eslint-disable-next-line no-console
|
|
4587
|
+
console.warn('[dv-debug] prepPopulateForm DROPPED row key (no formControlName match)', {
|
|
4588
|
+
inputId: column.id,
|
|
4589
|
+
rowKey: key,
|
|
4590
|
+
knownFormControlNames: column.formInputs?.map(i => i.formControlName),
|
|
4591
|
+
});
|
|
4592
|
+
return acc;
|
|
4593
|
+
}
|
|
4594
|
+
return {
|
|
4595
|
+
...acc,
|
|
4596
|
+
[`${column.id}.${inputId}`]: value ?? ''
|
|
4597
|
+
};
|
|
4598
|
+
}, {});
|
|
4599
|
+
}));
|
|
4600
|
+
const newM = {
|
|
4601
|
+
...column,
|
|
4602
|
+
formIsOpen: column.formIsOpen ?? false,
|
|
4603
|
+
value: seededRows
|
|
4269
4604
|
};
|
|
4270
4605
|
// eslint-disable-next-line no-console
|
|
4271
4606
|
console.log('[dv-debug] prepPopulateForm MultipleInput → remapped value', {
|
|
@@ -5219,7 +5554,6 @@ const SIBLING_INTERSECTION_DEFAULTS = {
|
|
|
5219
5554
|
},
|
|
5220
5555
|
workflowPickerConfig: {
|
|
5221
5556
|
workflowId: "",
|
|
5222
|
-
documentSourceType: "default",
|
|
5223
5557
|
},
|
|
5224
5558
|
handleLabel: "",
|
|
5225
5559
|
calculateListFunctions: [],
|
|
@@ -6162,7 +6496,15 @@ const buildInputSourcedValue = (input, ctx) => {
|
|
|
6162
6496
|
// computation: identity — the sourced value IS the signal value.
|
|
6163
6497
|
// linkedSignal resets to this computation whenever source changes,
|
|
6164
6498
|
// replicating the old re-clobber semantics of getInputSourcedValue.
|
|
6165
|
-
|
|
6499
|
+
//
|
|
6500
|
+
// The one adjustment: a MultipleInput sourcing its rows from another
|
|
6501
|
+
// input inherits that input's row shape verbatim, which may carry rows
|
|
6502
|
+
// with no `"<inputId>.id"` (the source is not necessarily a MultipleInput,
|
|
6503
|
+
// and even when it is, the ids belong to the SOURCE input's key space).
|
|
6504
|
+
// Such rows are unreachable by edit/delete/override, so the identity pass
|
|
6505
|
+
// stamps any that are missing. Idempotent, and runs only when `source`
|
|
6506
|
+
// produces a new value — never on a plain re-read.
|
|
6507
|
+
computation: (v) => ensureMultipleInputRowIds(input, v),
|
|
6166
6508
|
}));
|
|
6167
6509
|
return { kind: 'sourced', signal: sig };
|
|
6168
6510
|
};
|
|
@@ -6631,7 +6973,24 @@ function applyValueAccessRules$1(input, fetchCfg, rawData) {
|
|
|
6631
6973
|
(Array.isArray(valueAccessRules) && valueAccessRules.length === 0)
|
|
6632
6974
|
? rawData
|
|
6633
6975
|
: getValueFromValueAccessor(valueAccessRules, rawData);
|
|
6634
|
-
return
|
|
6976
|
+
return mapRowsForInput(input, extracted);
|
|
6977
|
+
}
|
|
6978
|
+
/**
|
|
6979
|
+
* Remaps an extracted API payload into the input's internal value shape and,
|
|
6980
|
+
* for a MultipleInput, guarantees a row id on any row that arrived without one.
|
|
6981
|
+
*
|
|
6982
|
+
* The mapper preserves whatever `id` the response carried, which is `undefined`
|
|
6983
|
+
* whenever the endpoint (or its `valueAccessRules` projection) omits one — an
|
|
6984
|
+
* id-less row is unreachable by edit/delete/override. Rows the endpoint DID
|
|
6985
|
+
* identify keep that id untouched, so a reload does not re-key rows the backend
|
|
6986
|
+
* already knows.
|
|
6987
|
+
*
|
|
6988
|
+
* @param input - The column-input config for the target field.
|
|
6989
|
+
* @param extracted - The response after `valueAccessRules` extraction.
|
|
6990
|
+
* @returns The value ready for the signal graph.
|
|
6991
|
+
*/
|
|
6992
|
+
function mapRowsForInput(input, extracted) {
|
|
6993
|
+
return ensureMultipleInputRowIds(input, multipleFormInputMapValueToInputsId(input, extracted));
|
|
6635
6994
|
}
|
|
6636
6995
|
/**
|
|
6637
6996
|
* Extracts the typed `APIDataFetchingConfigurationInterface` from the input's
|
|
@@ -6729,7 +7088,7 @@ function buildValuePostMethodApiWithAllDefaultParams(input, ctx) {
|
|
|
6729
7088
|
const extracted = !valueAccessRules
|
|
6730
7089
|
? rawData
|
|
6731
7090
|
: getValueFromValueAccessor(valueAccessRules, rawData);
|
|
6732
|
-
const result =
|
|
7091
|
+
const result = mapRowsForInput(input, extracted);
|
|
6733
7092
|
ctx.utils.setTemporaryHint(input.id, 'Data fetched successfully', HintType.SUCCESS);
|
|
6734
7093
|
return result;
|
|
6735
7094
|
}
|
|
@@ -6853,7 +7212,7 @@ function buildValuePostMethodApi(input, ctx) {
|
|
|
6853
7212
|
const extracted = !valueAccessRules
|
|
6854
7213
|
? rawData
|
|
6855
7214
|
: getValueFromValueAccessor(valueAccessRules, rawData);
|
|
6856
|
-
const result =
|
|
7215
|
+
const result = mapRowsForInput(input, extracted);
|
|
6857
7216
|
ctx.utils.setTemporaryHint(input.id, 'Data fetched successfully', HintType.SUCCESS);
|
|
6858
7217
|
return result;
|
|
6859
7218
|
}
|
|
@@ -7745,6 +8104,141 @@ const buildManualValidation = (input, ctx) => {
|
|
|
7745
8104
|
return { kind: 'validation', errorFn };
|
|
7746
8105
|
};
|
|
7747
8106
|
|
|
8107
|
+
/**
|
|
8108
|
+
* @file Auto-computed value detection — the single, configuration-only answer to
|
|
8109
|
+
* "does the tower own this input's value?" — plus the read-only stamping helpers
|
|
8110
|
+
* built on top of it.
|
|
8111
|
+
*
|
|
8112
|
+
* An input is **auto-computed** when its configuration activates any
|
|
8113
|
+
* {@link VALUE_PRODUCING_TYPES} function type: the value is calculated from a
|
|
8114
|
+
* formula ({@link FunctionTypes.ValueCalculation}), fetched from an API
|
|
8115
|
+
* (`Value*MethodAPI*`), or mirrored from another input
|
|
8116
|
+
* ({@link FunctionTypes.InputSourcedValue}). Such a value cannot be meaningfully
|
|
8117
|
+
* typed over — the derived signal re-publishes on its next evaluation and the
|
|
8118
|
+
* projection effect patches the FormControl straight back — so the field is
|
|
8119
|
+
* rendered **read-only**.
|
|
8120
|
+
*
|
|
8121
|
+
* Detection is deliberately *config-driven* (`getAllFunctionTypes`) rather than
|
|
8122
|
+
* `#derived`-map driven: the stamp must be applied to the definition **before**
|
|
8123
|
+
* the signal graph is built, and the same predicate must be usable from the
|
|
8124
|
+
* component layer, which never sees the engine's private map.
|
|
8125
|
+
*
|
|
8126
|
+
* Pure module: no signals, no Angular runtime, no import-time side effects.
|
|
8127
|
+
*/
|
|
8128
|
+
/**
|
|
8129
|
+
* The {@link FunctionTypes} that PRODUCE an input value (as opposed to its
|
|
8130
|
+
* options or its validation).
|
|
8131
|
+
*
|
|
8132
|
+
* Listed in the engine's `value()` / `readDep` merge-precedence order — this is
|
|
8133
|
+
* the single source of truth for the engine's `#readDep` (where the order *is*
|
|
8134
|
+
* the precedence) and `#isInputDerived` (where it is a membership test), and for
|
|
8135
|
+
* {@link isAutoComputedValue} (where it is the read-only trigger).
|
|
8136
|
+
*/
|
|
8137
|
+
const VALUE_PRODUCING_TYPES = [
|
|
8138
|
+
FunctionTypes.ValueCalculation,
|
|
8139
|
+
FunctionTypes.InputSourcedValue,
|
|
8140
|
+
FunctionTypes.ValueGetMethodAPI,
|
|
8141
|
+
FunctionTypes.ValuePostMethodAPI,
|
|
8142
|
+
FunctionTypes.ValuePostMethodAPIWithAllDefaultParams,
|
|
8143
|
+
];
|
|
8144
|
+
/**
|
|
8145
|
+
* Whether `input`'s configuration hands ownership of its value to the tower —
|
|
8146
|
+
* i.e. the value is calculated, fetched from an API, or sourced from another
|
|
8147
|
+
* input.
|
|
8148
|
+
*
|
|
8149
|
+
* `SectionTitle` carries no value and is never auto-computed. Detection is
|
|
8150
|
+
* total: `getAllFunctionTypes` swallows malformed configuration and returns an
|
|
8151
|
+
* empty map, so a broken fetch slot reports `false` rather than throwing.
|
|
8152
|
+
*
|
|
8153
|
+
* @param input - The column-input configuration to classify.
|
|
8154
|
+
* @returns `true` when the tower computes this input's value.
|
|
8155
|
+
*/
|
|
8156
|
+
function isAutoComputedValue(input) {
|
|
8157
|
+
if (!input || input.element === ElementTypes.SectionTitle)
|
|
8158
|
+
return false;
|
|
8159
|
+
const types = getAllFunctionTypes(input);
|
|
8160
|
+
return VALUE_PRODUCING_TYPES.some((type) => types[type] === true);
|
|
8161
|
+
}
|
|
8162
|
+
/**
|
|
8163
|
+
* Returns `input` marked `readonly` when its value is auto-computed, and the
|
|
8164
|
+
* **same reference** otherwise.
|
|
8165
|
+
*
|
|
8166
|
+
* Identity preservation matters: the returned config is fed to
|
|
8167
|
+
* `NgComponentOutlet` inputs and to `_isEqual`-guarded editor configs, both of
|
|
8168
|
+
* which treat a new object as a change. An already-`readonly` input is likewise
|
|
8169
|
+
* returned untouched.
|
|
8170
|
+
*
|
|
8171
|
+
* @param input - The column-input configuration to stamp.
|
|
8172
|
+
* @returns The input, read-only when auto-computed.
|
|
8173
|
+
*/
|
|
8174
|
+
function applyAutoComputedReadonly(input) {
|
|
8175
|
+
if (input.readonly === true)
|
|
8176
|
+
return input;
|
|
8177
|
+
return isAutoComputedValue(input) ? { ...input, readonly: true } : input;
|
|
8178
|
+
}
|
|
8179
|
+
/**
|
|
8180
|
+
* Maps `items` through `project`, returning the original array reference when no
|
|
8181
|
+
* element changed identity.
|
|
8182
|
+
*/
|
|
8183
|
+
function mapPreservingIdentity(items, project) {
|
|
8184
|
+
let changed = false;
|
|
8185
|
+
const next = items.map((item) => {
|
|
8186
|
+
const projected = project(item);
|
|
8187
|
+
if (projected !== item)
|
|
8188
|
+
changed = true;
|
|
8189
|
+
return projected;
|
|
8190
|
+
});
|
|
8191
|
+
return changed ? next : items;
|
|
8192
|
+
}
|
|
8193
|
+
/**
|
|
8194
|
+
* Stamps a single column and the composite children that render as inputs in
|
|
8195
|
+
* their own right — a `MultipleInput`'s per-row `formInputs` and an
|
|
8196
|
+
* `MscoaSelection`'s `mscoaConfig.inputs` — neither of which appears as a
|
|
8197
|
+
* top-level column.
|
|
8198
|
+
*/
|
|
8199
|
+
function markColumn(column) {
|
|
8200
|
+
let next = applyAutoComputedReadonly(column);
|
|
8201
|
+
const rowInputs = next.formInputs;
|
|
8202
|
+
if (rowInputs) {
|
|
8203
|
+
const stampedRowInputs = mapPreservingIdentity(rowInputs, applyAutoComputedReadonly);
|
|
8204
|
+
if (stampedRowInputs !== rowInputs)
|
|
8205
|
+
next = { ...next, formInputs: stampedRowInputs };
|
|
8206
|
+
}
|
|
8207
|
+
const mscoaConfig = next.mscoaConfig;
|
|
8208
|
+
const innerInputs = mscoaConfig?.inputs;
|
|
8209
|
+
if (mscoaConfig && innerInputs) {
|
|
8210
|
+
const stampedInnerInputs = mapPreservingIdentity(innerInputs, applyAutoComputedReadonly);
|
|
8211
|
+
if (stampedInnerInputs !== innerInputs) {
|
|
8212
|
+
next = { ...next, mscoaConfig: { ...mscoaConfig, inputs: stampedInnerInputs } };
|
|
8213
|
+
}
|
|
8214
|
+
}
|
|
8215
|
+
return next;
|
|
8216
|
+
}
|
|
8217
|
+
/**
|
|
8218
|
+
* Returns `form` with every auto-computed input marked `readonly`, walking each
|
|
8219
|
+
* slide's columns plus the composite children described in {@link markColumn}.
|
|
8220
|
+
*
|
|
8221
|
+
* Slides, columns and the form itself keep their original references when
|
|
8222
|
+
* nothing beneath them changed, so a definition without a single auto-computed
|
|
8223
|
+
* input is returned verbatim.
|
|
8224
|
+
*
|
|
8225
|
+
* @param form - The (already prepopulated) form definition.
|
|
8226
|
+
* @returns The definition with auto-computed inputs stamped read-only.
|
|
8227
|
+
*/
|
|
8228
|
+
function markAutoComputedInputsReadonly(form) {
|
|
8229
|
+
let formChanged = false;
|
|
8230
|
+
const slides = form.slides.map((slide) => {
|
|
8231
|
+
if (!slide.columns)
|
|
8232
|
+
return slide;
|
|
8233
|
+
const columns = mapPreservingIdentity(slide.columns, markColumn);
|
|
8234
|
+
if (columns === slide.columns)
|
|
8235
|
+
return slide;
|
|
8236
|
+
formChanged = true;
|
|
8237
|
+
return { ...slide, columns };
|
|
8238
|
+
});
|
|
8239
|
+
return formChanged ? { ...form, slides } : form;
|
|
8240
|
+
}
|
|
8241
|
+
|
|
7748
8242
|
/** Reads the inner column definitions of a MultipleInput input. */
|
|
7749
8243
|
function childInputsOf(input) {
|
|
7750
8244
|
return input.formInputs ?? [];
|
|
@@ -8001,19 +8495,6 @@ function resolveMscoaSuggestion(input, intent, currentValue, deps) {
|
|
|
8001
8495
|
*/
|
|
8002
8496
|
/** Returns the `inputId` portion of a `#derived` Map key (`${inputId}:${functionType}`). */
|
|
8003
8497
|
const idOf = (key) => key.slice(0, key.indexOf(':'));
|
|
8004
|
-
/**
|
|
8005
|
-
* The {@link FunctionTypes} that PRODUCE an input value (as opposed to options
|
|
8006
|
-
* or validation). Listed in `value()`/`readDep` merge-precedence order — the
|
|
8007
|
-
* single source of truth for both `#readDep` (where order is precedence) and
|
|
8008
|
-
* `#isInputDerived` (where it is a membership test).
|
|
8009
|
-
*/
|
|
8010
|
-
const VALUE_PRODUCING_TYPES = [
|
|
8011
|
-
FunctionTypes.ValueCalculation,
|
|
8012
|
-
FunctionTypes.InputSourcedValue,
|
|
8013
|
-
FunctionTypes.ValueGetMethodAPI,
|
|
8014
|
-
FunctionTypes.ValuePostMethodAPI,
|
|
8015
|
-
FunctionTypes.ValuePostMethodAPIWithAllDefaultParams,
|
|
8016
|
-
];
|
|
8017
8498
|
/**
|
|
8018
8499
|
* The {@link FunctionTypes} that resolve an input's selectable OPTIONS (as
|
|
8019
8500
|
* opposed to its value or validation). Used by the editable-schema reporting
|
|
@@ -8416,7 +8897,13 @@ class FormTowerControllerService {
|
|
|
8416
8897
|
// 1. Clean prior state (also destroys prior resources/effects).
|
|
8417
8898
|
this.clearFormState();
|
|
8418
8899
|
// 2/3. Prepopulate + system inputs.
|
|
8419
|
-
|
|
8900
|
+
//
|
|
8901
|
+
// `markAutoComputedInputsReadonly` runs on the prepopulated copy, before the
|
|
8902
|
+
// `#derived` graph exists, so the read-only stamp is already on the very
|
|
8903
|
+
// first definition the UI renders. It is config-driven (getAllFunctionTypes),
|
|
8904
|
+
// which is exactly the same predicate `#buildDerivedForInput` dispatches on —
|
|
8905
|
+
// an input is read-only iff the tower is about to own its value.
|
|
8906
|
+
this.#definition.set(markAutoComputedInputsReadonly({ ...(prepPopulateForm(form, this._initialFormValue)) }));
|
|
8420
8907
|
await loadSystemInputs(this);
|
|
8421
8908
|
this.setFirstStepAsActive();
|
|
8422
8909
|
// 4. Build the FormGroup carrier.
|
|
@@ -8518,6 +9005,13 @@ class FormTowerControllerService {
|
|
|
8518
9005
|
* `linkedSignal.set(value)` (transient override; reset on next source change).
|
|
8519
9006
|
* - **All other inputs** → writes `#model[inputId]`.
|
|
8520
9007
|
*
|
|
9008
|
+
* A **MultipleInput** row array is passed through
|
|
9009
|
+
* {@link FormTowerControllerService.#withRowIds} first, so no row can enter the
|
|
9010
|
+
* tower without an id (see {@link ensureMultipleInputRowIds}). This is the
|
|
9011
|
+
* choke point for every non-derived ingress: prefill/import
|
|
9012
|
+
* ({@link FormTowerControllerService.initializeFormValues}), accepted
|
|
9013
|
+
* suggestions, row deletes from the table view, and direct consumer writes.
|
|
9014
|
+
*
|
|
8521
9015
|
* Appends the change to history IMPERATIVELY (HAZARD 4). The projection effect
|
|
8522
9016
|
* patches the FormControl from the signal graph — this does NOT touch the
|
|
8523
9017
|
* FormGroup directly (no `valueChanges` feedback loop).
|
|
@@ -8527,14 +9021,15 @@ class FormTowerControllerService {
|
|
|
8527
9021
|
*/
|
|
8528
9022
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- I-1 parity-frozen signature.
|
|
8529
9023
|
this.updateValue = (inputId, value) => {
|
|
9024
|
+
const next = this.#withRowIds(inputId, value);
|
|
8530
9025
|
const sourced = this.#derived.get(`${inputId}:${FunctionTypes.InputSourcedValue}`);
|
|
8531
9026
|
if (sourced && sourced.kind === 'sourced') {
|
|
8532
|
-
sourced.signal.set(
|
|
9027
|
+
sourced.signal.set(next);
|
|
8533
9028
|
}
|
|
8534
9029
|
else {
|
|
8535
|
-
this.#model.update(m => ({ ...m, [inputId]:
|
|
9030
|
+
this.#model.update(m => ({ ...m, [inputId]: next }));
|
|
8536
9031
|
}
|
|
8537
|
-
this.#appendHistory({ [inputId]:
|
|
9032
|
+
this.#appendHistory({ [inputId]: next });
|
|
8538
9033
|
};
|
|
8539
9034
|
/**
|
|
8540
9035
|
* Apply an external values record onto the form (user prefill / import row).
|
|
@@ -9268,6 +9763,11 @@ class FormTowerControllerService {
|
|
|
9268
9763
|
* and `#derived` ONLY — never the merged {@link FormTowerControllerService.value}
|
|
9269
9764
|
* computed — and returns `undefined` for the self-edge (Blueprint §2.3, HAZARD 5).
|
|
9270
9765
|
*
|
|
9766
|
+
* The raw graph value passes through {@link FormTowerControllerService.#narrowDependencyValue}
|
|
9767
|
+
* before it is handed out, so a dependency stored in a display-oriented shape is
|
|
9768
|
+
* seen by consumers as the scalar they map. That narrowing is scoped to this
|
|
9769
|
+
* reader alone — see the note there for why the merged value must not get it.
|
|
9770
|
+
*
|
|
9271
9771
|
* @param selfId - The input that owns the builder requesting the read.
|
|
9272
9772
|
* @param inputId - The dependency input to read.
|
|
9273
9773
|
* @returns The dependency value, or `undefined` (self-edge / absent).
|
|
@@ -9275,6 +9775,17 @@ class FormTowerControllerService {
|
|
|
9275
9775
|
#readDep(selfId, inputId) {
|
|
9276
9776
|
if (inputId === selfId)
|
|
9277
9777
|
return undefined;
|
|
9778
|
+
return this.#narrowDependencyValue(this.#rawDep(inputId));
|
|
9779
|
+
}
|
|
9780
|
+
/**
|
|
9781
|
+
* The unadapted signal-graph value for `inputId` — the raw resolution half of
|
|
9782
|
+
* {@link FormTowerControllerService.#readDep}, split out so the read order stays
|
|
9783
|
+
* one thing and the cross-input narrowing stays another.
|
|
9784
|
+
*
|
|
9785
|
+
* @param inputId - The dependency input to read.
|
|
9786
|
+
* @returns The stored value, or `undefined` when absent / the resource errored.
|
|
9787
|
+
*/
|
|
9788
|
+
#rawDep(inputId) {
|
|
9278
9789
|
// A derived value/sourced/resource for inputId wins over the raw #model
|
|
9279
9790
|
// entry (matches the value() merge precedence).
|
|
9280
9791
|
for (const t of VALUE_PRODUCING_TYPES) {
|
|
@@ -9295,6 +9806,43 @@ class FormTowerControllerService {
|
|
|
9295
9806
|
}
|
|
9296
9807
|
return this.#model()[inputId];
|
|
9297
9808
|
}
|
|
9809
|
+
/**
|
|
9810
|
+
* Narrows a dependency value that is stored in a display shape down to the scalar
|
|
9811
|
+
* a consuming input actually maps.
|
|
9812
|
+
*
|
|
9813
|
+
* Today that means one shape: a document picker stores whole
|
|
9814
|
+
* `IDocumentReference` objects (`{ id, workflowId, reference, label }`) so it can
|
|
9815
|
+
* redraw its chips offline. Everything downstream wants the identifier —
|
|
9816
|
+
* `returnMappedData` copies the dependency straight into the POST body, a
|
|
9817
|
+
* `{{inputId}}` template token substitutes it raw, `validateMinInput` compares
|
|
9818
|
+
* `typeof value` against the mapping's declared `dataType`, and a MathJS variable
|
|
9819
|
+
* needs a number. Handed the object, those either ship `{"reference": {…}}` to an
|
|
9820
|
+
* endpoint that declared a string, or reject the field as the wrong type and leave
|
|
9821
|
+
* the fetch idle. {@link readDocumentIdentifier} returns the value at the picker's
|
|
9822
|
+
* configured `primaryIdentifierKey`, which is the field the administrator nominated
|
|
9823
|
+
* as this input's real value.
|
|
9824
|
+
*
|
|
9825
|
+
* **Scoped to the dependency read, never to {@link FormTowerControllerService.value}.**
|
|
9826
|
+
* The merged value feeds the FormGroup projection, `saveFormData` and the submission
|
|
9827
|
+
* payload, all of which must keep the stored reference whole — the picker reads its
|
|
9828
|
+
* own chips back out of it, and the backend persists the link, not the identifier.
|
|
9829
|
+
*
|
|
9830
|
+
* The test is structural rather than a lookup of the source input's `element`,
|
|
9831
|
+
* because reading the definition index here would make it a reactive dependency of
|
|
9832
|
+
* every `params` computed and every missing-dependency effect — and those effects
|
|
9833
|
+
* write hints onto the definition, which would close a feedback loop (the same
|
|
9834
|
+
* hazard `describeDep` is `untracked` for). A shape that does not read cleanly as a
|
|
9835
|
+
* reference is passed through untouched: turning a wrong payload into a missing one
|
|
9836
|
+
* would hide the misconfiguration instead of surfacing it.
|
|
9837
|
+
*
|
|
9838
|
+
* @param value - The raw dependency value from the signal graph.
|
|
9839
|
+
* @returns The narrowed identifier, or `value` unchanged.
|
|
9840
|
+
*/
|
|
9841
|
+
#narrowDependencyValue(value) {
|
|
9842
|
+
if (value === undefined || value === null || value === '')
|
|
9843
|
+
return value;
|
|
9844
|
+
return readDocumentIdentifier(value) ?? value;
|
|
9845
|
+
}
|
|
9298
9846
|
/**
|
|
9299
9847
|
* Reactive busy stream. Declared as a field initializer AFTER
|
|
9300
9848
|
* {@link FormTowerControllerService.isBusyComputed} so the textual ordering of
|
|
@@ -9635,6 +10183,26 @@ class FormTowerControllerService {
|
|
|
9635
10183
|
* Rebuilds automatically when the definition/system inputs change.
|
|
9636
10184
|
*/
|
|
9637
10185
|
#inputById;
|
|
10186
|
+
/**
|
|
10187
|
+
* Guarantees row ids on a value bound for a MultipleInput; every other input
|
|
10188
|
+
* is returned untouched.
|
|
10189
|
+
*
|
|
10190
|
+
* The definition lookup is `untracked` so a write can never take a reactive
|
|
10191
|
+
* dependency on the definition signal — `updateValue` is called from
|
|
10192
|
+
* `valueChanges` bridges and effects-adjacent code paths, and a tracked read
|
|
10193
|
+
* here would couple those writers to every definition patch (hint/error
|
|
10194
|
+
* stamping included).
|
|
10195
|
+
*
|
|
10196
|
+
* @param inputId - The input being written.
|
|
10197
|
+
* @param value - The candidate value.
|
|
10198
|
+
* @returns The value, with MultipleInput row ids guaranteed.
|
|
10199
|
+
*/
|
|
10200
|
+
#withRowIds(inputId, value) {
|
|
10201
|
+
if (!Array.isArray(value))
|
|
10202
|
+
return value;
|
|
10203
|
+
const input = untracked(() => this.#inputById().get(inputId));
|
|
10204
|
+
return ensureMultipleInputRowIds(input, value);
|
|
10205
|
+
}
|
|
9638
10206
|
/** True iff `inputId` owns a derived (value-producing) `#derived` entry — replaces `_isInputValueOwnedByTower`. */
|
|
9639
10207
|
#isInputDerived(inputId) {
|
|
9640
10208
|
for (const t of VALUE_PRODUCING_TYPES) {
|
|
@@ -12520,29 +13088,40 @@ function formBuilderStoreActions(store) {
|
|
|
12520
13088
|
const elementConfigurationChanged = (inputId, value, ele) => {
|
|
12521
13089
|
const form = store.formInEditSnapshot();
|
|
12522
13090
|
const isWorkflowPickerConfigWkIdChange = ele.deepBind.join('.') === 'workflowPickerConfig.workflowId';
|
|
12523
|
-
const
|
|
12524
|
-
//
|
|
12525
|
-
//
|
|
12526
|
-
//
|
|
12527
|
-
|
|
12528
|
-
|
|
12529
|
-
|
|
13091
|
+
const { queryDocuments, getWorkflowSteps } = store.NGX_T_FORMS_CONFIG.formBuilder;
|
|
13092
|
+
// Choosing a workflow is the only edit that needs a round trip: it captures a
|
|
13093
|
+
// sample document so the primary-identifier mapper has keys to offer, and the
|
|
13094
|
+
// workflow's steps so the "Limit to workflow steps" chips have options. Both
|
|
13095
|
+
// are best-effort — a workflow with no transactions yet, or a host that cannot
|
|
13096
|
+
// answer, must still let the administrator save the workflow id.
|
|
13097
|
+
const shouldFetchWorkflowMeta = isWorkflowPickerConfigWkIdChange && typeof queryDocuments === 'function';
|
|
13098
|
+
const meta$ = shouldFetchWorkflowMeta
|
|
13099
|
+
? forkJoin({
|
|
13100
|
+
page: queryDocuments({
|
|
13101
|
+
workflowId: value,
|
|
13102
|
+
itemsPerPage: 10,
|
|
13103
|
+
sort: { createdAt: -1 },
|
|
13104
|
+
filter: {},
|
|
13105
|
+
}).pipe(catchError$1(() => of(undefined))),
|
|
13106
|
+
steps: typeof getWorkflowSteps === 'function'
|
|
13107
|
+
? getWorkflowSteps(value).pipe(catchError$1(() => of([])))
|
|
13108
|
+
: of([]),
|
|
13109
|
+
}).pipe(map$1(({ page, steps }) => ({
|
|
13110
|
+
sampleDocument: (page?.items ?? []).reduce((acc, curr) => ({ ...acc, ...deepMerge(curr, curr) }), {}),
|
|
13111
|
+
availableSteps: steps.map(step => ({ label: step.label, value: step.stepId })),
|
|
13112
|
+
})))
|
|
12530
13113
|
: of(undefined);
|
|
12531
|
-
store.subscribeBound(
|
|
13114
|
+
store.subscribeBound(meta$, (meta) => {
|
|
12532
13115
|
if (!form)
|
|
12533
13116
|
return;
|
|
12534
13117
|
let newForm;
|
|
12535
|
-
if (
|
|
12536
|
-
const sampleDocument = documents?.formValues.reduce((acc, curr) => {
|
|
12537
|
-
return {
|
|
12538
|
-
...deepMerge(curr, curr)
|
|
12539
|
-
};
|
|
12540
|
-
}, {});
|
|
13118
|
+
if (shouldFetchWorkflowMeta) {
|
|
12541
13119
|
newForm = elementConfigurationChangedFn(form.form, inputId, {
|
|
12542
13120
|
...ele,
|
|
12543
13121
|
deepBind: ['workflowPickerConfig']
|
|
12544
13122
|
}, {
|
|
12545
|
-
sampleDocument,
|
|
13123
|
+
sampleDocument: meta?.sampleDocument,
|
|
13124
|
+
availableSteps: meta?.availableSteps ?? [],
|
|
12546
13125
|
workflowId: value
|
|
12547
13126
|
});
|
|
12548
13127
|
}
|
|
@@ -12795,7 +13374,7 @@ class FormsStoreService {
|
|
|
12795
13374
|
/**
|
|
12796
13375
|
* Subscribes to a one-shot async source and tears the subscription down with
|
|
12797
13376
|
* this store's lifecycle. Used by the one genuinely-async builder command
|
|
12798
|
-
* (`elementConfigurationChanged` → `
|
|
13377
|
+
* (`elementConfigurationChanged` → `queryDocuments`).
|
|
12799
13378
|
*/
|
|
12800
13379
|
subscribeBound(source$, next) {
|
|
12801
13380
|
source$.pipe(takeUntilDestroyed(this.#destroyRef)).subscribe(next);
|
|
@@ -13560,6 +14139,91 @@ function withRouterFormId() {
|
|
|
13560
14139
|
return { kind: 5 /* NgxTFormsFeatureKind.RouterFormId */, providers: [ROUTER_FORM_ID_PROVIDER] };
|
|
13561
14140
|
}
|
|
13562
14141
|
|
|
14142
|
+
/**
|
|
14143
|
+
* @public
|
|
14144
|
+
*
|
|
14145
|
+
* Token binding the {@link DocumentRepository} abstraction used by the document
|
|
14146
|
+
* picker. `provideNgxTForms` binds the default host-backed implementation;
|
|
14147
|
+
* consumers may substitute their own with `useClass` (or `useValue` for a mock).
|
|
14148
|
+
*/
|
|
14149
|
+
const DOCUMENT_REPOSITORY = new InjectionToken('DOCUMENT_REPOSITORY');
|
|
14150
|
+
|
|
14151
|
+
/**
|
|
14152
|
+
* @public
|
|
14153
|
+
*
|
|
14154
|
+
* The document picker's only I/O boundary. Every page the picker renders — browsing,
|
|
14155
|
+
* searching, and hydrating an existing selection — goes through {@link query} with
|
|
14156
|
+
* the same request shape, so paging, sorting, filtering and search can never drift
|
|
14157
|
+
* apart per call site.
|
|
14158
|
+
*
|
|
14159
|
+
* The default implementation delegates to the host's `queryDocuments` contract and is
|
|
14160
|
+
* bound by `provideNgxTForms`. Consumers may substitute their own by binding
|
|
14161
|
+
* {@link DOCUMENT_REPOSITORY} with `useClass` (or `useValue` for a mock).
|
|
14162
|
+
*/
|
|
14163
|
+
class DocumentRepository {
|
|
14164
|
+
}
|
|
14165
|
+
|
|
14166
|
+
/** Sort applied when the picker has no explicit preference. Index-backed server-side. */
|
|
14167
|
+
const DEFAULT_DOCUMENT_SORT = { path: 'updatedAt', direction: -1 };
|
|
14168
|
+
/** Page size the picker opens with. */
|
|
14169
|
+
const DEFAULT_DOCUMENT_PAGE_SIZE = 10;
|
|
14170
|
+
/**
|
|
14171
|
+
* Raised when a document picker cannot run because its host or its builder
|
|
14172
|
+
* configuration is incomplete — a distinct condition from a query that ran and
|
|
14173
|
+
* returned nothing, which the UI must present differently.
|
|
14174
|
+
*/
|
|
14175
|
+
class DocumentPickerConfigurationError extends Error {
|
|
14176
|
+
constructor(message) {
|
|
14177
|
+
super(message);
|
|
14178
|
+
this.name = 'DocumentPickerConfigurationError';
|
|
14179
|
+
}
|
|
14180
|
+
}
|
|
14181
|
+
|
|
14182
|
+
/**
|
|
14183
|
+
* Default {@link DocumentRepository}, delegating to the host functions supplied on
|
|
14184
|
+
* `NgxTFormsConfig.formBuilder`.
|
|
14185
|
+
*
|
|
14186
|
+
* The contract declares these functions as required, so a missing one is a host
|
|
14187
|
+
* integration error rather than a runtime condition to degrade around: it surfaces as
|
|
14188
|
+
* a {@link DocumentPickerConfigurationError} the picker can name on screen, instead of
|
|
14189
|
+
* an empty list indistinguishable from a workflow with no transactions.
|
|
14190
|
+
*
|
|
14191
|
+
* @internal Not exported via public-api.ts — consumers bind {@link DOCUMENT_REPOSITORY}.
|
|
14192
|
+
*/
|
|
14193
|
+
class StoreDocumentRepository extends DocumentRepository {
|
|
14194
|
+
#config = inject(NGX_T_FORMS_CONFIG_TOKEN);
|
|
14195
|
+
query(request) {
|
|
14196
|
+
const queryDocuments = this.#config?.formBuilder?.queryDocuments;
|
|
14197
|
+
if (typeof queryDocuments !== 'function') {
|
|
14198
|
+
return this.#missing('queryDocuments');
|
|
14199
|
+
}
|
|
14200
|
+
return queryDocuments(request).pipe(take(1));
|
|
14201
|
+
}
|
|
14202
|
+
getColumns(workflowId) {
|
|
14203
|
+
const getWorkflowCols = this.#config?.formBuilder?.getWorkflowCols;
|
|
14204
|
+
if (typeof getWorkflowCols !== 'function') {
|
|
14205
|
+
return this.#missing('getWorkflowCols');
|
|
14206
|
+
}
|
|
14207
|
+
return getWorkflowCols(workflowId).pipe(take(1));
|
|
14208
|
+
}
|
|
14209
|
+
getSteps(workflowId) {
|
|
14210
|
+
const getWorkflowSteps = this.#config?.formBuilder?.getWorkflowSteps;
|
|
14211
|
+
if (typeof getWorkflowSteps !== 'function') {
|
|
14212
|
+
return this.#missing('getWorkflowSteps');
|
|
14213
|
+
}
|
|
14214
|
+
return getWorkflowSteps(workflowId).pipe(take(1));
|
|
14215
|
+
}
|
|
14216
|
+
/** Fails loudly and specifically, naming the function the host has to supply. */
|
|
14217
|
+
#missing(fnName) {
|
|
14218
|
+
return throwError(() => new DocumentPickerConfigurationError(`The document picker needs "${fnName}" on NgxTFormsConfig.formBuilder, but the host did not supply it.`));
|
|
14219
|
+
}
|
|
14220
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵStoreDocumentRepository_BaseFactory; return function StoreDocumentRepository_Factory(__ngFactoryType__) { return (ɵStoreDocumentRepository_BaseFactory || (ɵStoreDocumentRepository_BaseFactory = i0.ɵɵgetInheritedFactory(StoreDocumentRepository)))(__ngFactoryType__ || StoreDocumentRepository); }; })(); }
|
|
14221
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: StoreDocumentRepository, factory: StoreDocumentRepository.ɵfac }); }
|
|
14222
|
+
}
|
|
14223
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StoreDocumentRepository, [{
|
|
14224
|
+
type: Injectable
|
|
14225
|
+
}], null, null); })();
|
|
14226
|
+
|
|
13563
14227
|
/**
|
|
13564
14228
|
* Registers ngx-t-forms with the application injector.
|
|
13565
14229
|
*
|
|
@@ -13583,6 +14247,9 @@ function provideNgxTForms(config, ...features) {
|
|
|
13583
14247
|
// Route-driven form-id loading, shipped on by default (parity, D-B2/§5.5).
|
|
13584
14248
|
// Router-safe: resolves to EMPTY when no ActivatedRoute is present.
|
|
13585
14249
|
ROUTER_FORM_ID_PROVIDER,
|
|
14250
|
+
// The document picker is a built-in input, so its repository ships bound by
|
|
14251
|
+
// default. Consumers override it by binding DOCUMENT_REPOSITORY after this.
|
|
14252
|
+
{ provide: DOCUMENT_REPOSITORY, useClass: StoreDocumentRepository },
|
|
13586
14253
|
...features.flatMap(f => f.providers),
|
|
13587
14254
|
]);
|
|
13588
14255
|
}
|
|
@@ -14084,7 +14751,7 @@ function fuzzySearch(query, text) {
|
|
|
14084
14751
|
const _c0$c = (a0, a1) => ({ forms: a0, hasActiveSearch: a1 });
|
|
14085
14752
|
const _c1$4 = () => [];
|
|
14086
14753
|
const _c2$3 = a0 => ({ form: a0 });
|
|
14087
|
-
const _forTrack0$
|
|
14754
|
+
const _forTrack0$9 = ($index, $item) => $item.value;
|
|
14088
14755
|
const _forTrack1$3 = ($index, $item) => $item._id;
|
|
14089
14756
|
function FormsComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
14090
14757
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
@@ -14530,7 +15197,7 @@ class FormsComponent {
|
|
|
14530
15197
|
i0.ɵɵconditionalCreate(2, FormsComponent_Conditional_2_Template, 3, 1, "button", 4);
|
|
14531
15198
|
i0.ɵɵelement(3, "span", 5);
|
|
14532
15199
|
i0.ɵɵelementStart(4, "div", 6);
|
|
14533
|
-
i0.ɵɵrepeaterCreate(5, FormsComponent_For_6_Template, 3, 3, null, null, _forTrack0$
|
|
15200
|
+
i0.ɵɵrepeaterCreate(5, FormsComponent_For_6_Template, 3, 3, null, null, _forTrack0$9);
|
|
14534
15201
|
i0.ɵɵelementEnd();
|
|
14535
15202
|
i0.ɵɵelement(7, "span", 5);
|
|
14536
15203
|
i0.ɵɵelementStart(8, "button", 7);
|
|
@@ -14579,7 +15246,7 @@ class FormsComponent {
|
|
|
14579
15246
|
i0.ɵɵadvance(2);
|
|
14580
15247
|
i0.ɵɵconditional(i0.ɵɵpipeBind1(27, 7, ctx.selectLoadingForms$) ? 26 : 28);
|
|
14581
15248
|
} }, dependencies: [CommonModule, i3.NgTemplateOutlet, FormsModule, i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.NgModel, RouterModule,
|
|
14582
|
-
MatButtonModule, i1$2.MatButton, i1$2.MatMiniFabButton, i1$2.MatIconButton, MatIconModule, i3$1.MatIcon, MatListModule, i6.MatNavList, i6.MatListItem, i6.MatListItemAvatar, i6.MatListItemTitle, i6.MatListItemMeta, MatMenuModule, i6$1.MatMenu, i6$1.MatMenuItem, i6$1.MatMenuContent, i6$1.MatMenuTrigger, MatProgressSpinnerModule, i4.MatProgressSpinner, MatToolbarModule, i8.MatToolbar, MatFormFieldModule, i2.MatFormField, i2.MatLabel, i2.MatPrefix, i2.MatSuffix, MatInputModule, i2$1.MatInput, MatTooltipModule, i5.MatTooltip, i3.AsyncPipe, i3.TitleCasePipe, DaysAgoPipe], styles: ["[_nghost-%COMP%]{display:block}.search-container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;width:100%;max-width:85rem;margin-top:4em;margin-bottom:12px}.forms-toolbar[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;height:fit-content;min-height:3.25rem;border:1px solid color-mix(in srgb,var(--lib-forms-outline) 10%,transparent)}.toolbar-search[_ngcontent-%COMP%]{flex:1 1 12rem;min-width:10rem;max-width:28rem}.toolbar-search[_ngcontent-%COMP%] .mat-mdc-form-field-flex[_ngcontent-%COMP%]{align-items:center}.toolbar-search[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:.5rem;padding-bottom:.5rem;min-height:2.25rem}.section-switcher[_ngcontent-%COMP%]{display:flex;gap:.5rem;align-items:center}.section-preset[_ngcontent-%COMP%]{padding:.4rem .75rem;min-height:2.25rem;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--lib-forms-outline);border-radius:6px;font-size:.8125rem;font-weight:500;background:var(--lib-forms-surface);color:var(--lib-forms-on-surface-variant);cursor:pointer;transition:border-color var(--lib-forms-duration-hover) var(--lib-forms-easing),color var(--lib-forms-duration-hover) var(--lib-forms-easing),background-color var(--lib-forms-duration-hover) var(--lib-forms-easing)}.section-preset[_ngcontent-%COMP%]:hover{border-color:var(--lib-forms-primary);color:var(--lib-forms-primary);background:color-mix(in srgb,var(--lib-forms-primary) 6%,transparent)}.section-preset[_ngcontent-%COMP%]:focus-visible{outline:none;box-shadow:0 0 0 2px color-mix(in srgb,var(--lib-forms-primary) 25%,transparent)}.section-active[_ngcontent-%COMP%]{border-color:var(--lib-forms-primary);background:color-mix(in srgb,var(--lib-forms-primary) 12%,transparent);color:var(--lib-forms-primary);font-weight:600}.add-form-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:.35rem;font-size:1.25rem;height:1.25rem;width:1.25rem}.close-button[_ngcontent-%COMP%]{flex-shrink:0}.search-field[_ngcontent-%COMP%]{width:100%;font-size:.875rem}.search-field[_ngcontent-%COMP%] .mat-mdc-form-field-subscript-wrapper[_ngcontent-%COMP%]{display:none}.search-field[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%]{background:var(--lib-forms-surface-container-high);border-radius:8px;transition:border-color var(--lib-forms-duration-hover) var(--lib-forms-easing),box-shadow var(--lib-forms-duration-hover) var(--lib-forms-easing)}.search-field[_ngcontent-%COMP%] .mat-mdc-form-field-focus-overlay[_ngcontent-%COMP%]{background:transparent}.search-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{min-height:2.25rem}.search-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{color:color-mix(in srgb,var(--lib-forms-on-surface-variant) 60%,transparent)}.search-field[_ngcontent-%COMP%] .mat-icon[matPrefix][_ngcontent-%COMP%]{color:var(--lib-forms-on-surface-variant)}.search-field[_ngcontent-%COMP%] .mat-mdc-form-field-focus-overlay[_ngcontent-%COMP%]{display:none}.search-field[_ngcontent-%COMP%] .mdc-notched-outline__leading[_ngcontent-%COMP%], .search-field[_ngcontent-%COMP%] .mdc-notched-outline__notch[_ngcontent-%COMP%], .search-field[_ngcontent-%COMP%] .mdc-notched-outline__trailing[_ngcontent-%COMP%]{border-color:color-mix(in srgb,var(--lib-forms-outline) 15%,transparent)}.search-field[_ngcontent-%COMP%]:hover .mdc-notched-outline__leading[_ngcontent-%COMP%], .search-field[_ngcontent-%COMP%]:hover .mdc-notched-outline__notch[_ngcontent-%COMP%], .search-field[_ngcontent-%COMP%]:hover .mdc-notched-outline__trailing[_ngcontent-%COMP%]{border-color:var(--lib-forms-outline)}.search-field.mat-focused[_ngcontent-%COMP%] .mdc-notched-outline__leading[_ngcontent-%COMP%], .search-field.mat-focused[_ngcontent-%COMP%] .mdc-notched-outline__notch[_ngcontent-%COMP%], .search-field.mat-focused[_ngcontent-%COMP%] .mdc-notched-outline__trailing[_ngcontent-%COMP%]{border-color:var(--lib-forms-primary);border-width:2px}.search-field.mat-focused[_ngcontent-%COMP%] .mdc-notched-outline[_ngcontent-%COMP%]{box-shadow:0 0 0 2px color-mix(in srgb,var(--lib-forms-primary) 25%,transparent)}.search-field[_ngcontent-%COMP%] button[matSuffix][_ngcontent-%COMP%]{color:var(--lib-forms-on-surface-variant);transition:color var(--lib-forms-duration-hover) var(--lib-forms-easing),background-color var(--lib-forms-duration-hover) var(--lib-forms-easing)}.search-field[_ngcontent-%COMP%] button[matSuffix][_ngcontent-%COMP%]:hover{color:var(--lib-forms-primary);background:color-mix(in srgb,var(--lib-forms-primary) 6%,transparent)}.empty-hint[_ngcontent-%COMP%]{font-weight:400;font-size:.8125rem;opacity:.9}.content-container[_ngcontent-%COMP%]{max-width:90rem;margin:0 auto;padding:1rem 1.25rem;background:var(--lib-forms-surface);min-height:12rem}.forms-list[_ngcontent-%COMP%]{background:none;box-shadow:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(18rem,1fr));grid-auto-rows:min-content;gap:.75rem;padding:.5rem 0;width:100%}[_nghost-%COMP%] .form-list-item[_ngcontent-%COMP%]{margin:0;border-radius:12px;border:1px solid color-mix(in srgb,var(--lib-forms-outline) 15%,transparent);transition:border-color var(--lib-forms-duration-hover) var(--lib-forms-easing),box-shadow var(--lib-forms-duration-hover) var(--lib-forms-easing),background-color var(--lib-forms-duration-hover) var(--lib-forms-easing);background:var(--lib-forms-surface-container);min-height:3.25rem;min-width:0;height:auto;cursor:pointer}[_nghost-%COMP%] .form-list-item[_ngcontent-%COMP%]:focus-visible{outline:none;box-shadow:0 0 0 2px color-mix(in srgb,var(--lib-forms-primary) 25%,transparent)}[_nghost-%COMP%] .form-list-item.elevated[_ngcontent-%COMP%]{box-shadow:0 2px 8px #00000014;border-color:color-mix(in srgb,var(--lib-forms-primary) 25%,transparent)}@media(prefers-color-scheme:dark){[_nghost-%COMP%] .form-list-item.elevated[_ngcontent-%COMP%]{box-shadow:0 1px 3px #0000004d}}[_nghost-%COMP%] .form-list-item.has-errors[_ngcontent-%COMP%]{border-color:var(--sem-error)}[_nghost-%COMP%] .form-list-item[_ngcontent-%COMP%]:hover{background:color-mix(in srgb,var(--lib-forms-primary) 6%,transparent)}.form-item-spinner[_ngcontent-%COMP%]{position:absolute;margin-left:.75rem}.form-item-content[_ngcontent-%COMP%]{padding:.5rem .75rem .5rem 0;min-width:0;flex:1}.form-item-content.has-errors[_ngcontent-%COMP%] .form-title[_ngcontent-%COMP%]{color:var(--sem-error)}.form-title-row[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.5rem;flex-wrap:wrap;margin-bottom:.25rem}.form-title[_ngcontent-%COMP%]{margin-bottom:0;font-weight:500;font-size:.9375rem;flex:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;line-height:1.4}.error-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:color-mix(in srgb,var(--sem-error) 15%,transparent);border-radius:8px;font-size:.8125rem;font-weight:600;color:var(--sem-error);flex-shrink:0}.error-badge[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:1rem;height:1rem;width:1rem}.form-metadata[_ngcontent-%COMP%]{color:var(--lib-forms-on-surface-variant);font-size:.8125rem;line-height:1.35;display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;margin-top:.25rem}.form-metadata[_ngcontent-%COMP%] .metadata-divider[_ngcontent-%COMP%]{margin:0 .25rem;color:var(--lib-forms-outline-variant);font-weight:600}.form-metadata[_ngcontent-%COMP%] .metadata-item[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem}.form-metadata[_ngcontent-%COMP%] .metadata-item[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.875rem;height:1rem;width:1rem;opacity:.8}.form-actions[_ngcontent-%COMP%]{opacity:.7;transition:opacity var(--lib-forms-duration-hover) var(--lib-forms-easing)}.form-list-item[_ngcontent-%COMP%]:hover .form-actions[_ngcontent-%COMP%], .form-list-item[_ngcontent-%COMP%]:focus-within .form-actions[_ngcontent-%COMP%]{opacity:1}.form-actions-trigger[_ngcontent-%COMP%]{min-width:2.5rem;min-height:2.5rem}[_nghost-%COMP%] .form-list-item .mat-mdc-list-item-content{padding:0 1rem!important;min-height:3.25rem!important;align-items:center!important;overflow:visible!important}[_nghost-%COMP%] .form-list-item .mdc-list-item__primary-text{overflow:visible!important;white-space:normal!important}[_nghost-%COMP%] .menu-item-destructive{color:var(--sem-error)!important}[_nghost-%COMP%] .menu-item-destructive .mat-icon{color:inherit}.loading-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:3rem 1.5rem}.loading-text[_ngcontent-%COMP%]{font-size:.875rem;color:var(--lib-forms-on-surface-variant)}.error-container[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--sem-error) 8%,transparent);border-radius:8px;border-left:4px solid var(--sem-error);padding:1rem 1.25rem;margin:1rem 0;transition:border-color var(--lib-forms-duration-hover) var(--lib-forms-easing),background-color var(--lib-forms-duration-hover) var(--lib-forms-easing)}.error-content[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem}.error-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:1.5rem;height:1.5rem;width:1.5rem}.error-message[_ngcontent-%COMP%]{flex-grow:1;color:var(--sem-error);font-size:.875rem;line-height:1.5;margin:0}.refresh-button[_ngcontent-%COMP%]{flex-shrink:0;color:var(--sem-error);opacity:.8;transition:opacity var(--lib-forms-duration-hover) var(--lib-forms-easing)}.refresh-button[_ngcontent-%COMP%]:hover{opacity:1;background:color-mix(in srgb,var(--sem-error) 12%,transparent)}.archived[_ngcontent-%COMP%]{opacity:.6}.archived[_ngcontent-%COMP%]:hover{opacity:1}.empty-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:1.5rem 1.25rem;margin:1rem auto;max-width:28rem;background:var(--lib-forms-surface-container);border-radius:12px;border:1px solid color-mix(in srgb,var(--lib-forms-outline) 15%,transparent);box-shadow:0 2px 8px #00000014}@media(prefers-color-scheme:dark){.empty-container[_ngcontent-%COMP%]{box-shadow:0 1px 3px #0000004d}}.empty-illustration[_ngcontent-%COMP%]{width:12rem;height:auto;object-fit:contain}.empty-message[_ngcontent-%COMP%]{font-size:.875rem;color:var(--lib-forms-on-surface-variant);margin:0;line-height:1.4;text-align:center}.form-list-item[_ngcontent-%COMP%] img.error[_ngcontent-%COMP%]{border:2px solid var(--sem-error);border-radius:6px}.form-sections[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.form-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.75rem}.section-header[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem 1rem;padding:.5rem 0;border-bottom:1px solid color-mix(in srgb,var(--lib-forms-outline) 10%,transparent)}.section-title[_ngcontent-%COMP%]{margin:0;font-weight:600;font-size:.9375rem;color:var(--lib-forms-on-surface);letter-spacing:-.01em}.section-subtitle[_ngcontent-%COMP%]{font-size:.8125rem;color:var(--lib-forms-on-surface-variant);line-height:1.35}@media screen and (max-width:599px){.forms-list[_ngcontent-%COMP%]{grid-template-columns:1fr;padding:.25rem 0}.content-container[_ngcontent-%COMP%]{padding:.75rem 1rem}.forms-toolbar[_ngcontent-%COMP%]{padding:.5rem 1rem;gap:.5rem}}"], changeDetection: 0 }); }
|
|
15249
|
+
MatButtonModule, i2.MatButton, i2.MatMiniFabButton, i2.MatIconButton, MatIconModule, i3$1.MatIcon, MatListModule, i6.MatNavList, i6.MatListItem, i6.MatListItemAvatar, i6.MatListItemTitle, i6.MatListItemMeta, MatMenuModule, i6$1.MatMenu, i6$1.MatMenuItem, i6$1.MatMenuContent, i6$1.MatMenuTrigger, MatProgressSpinnerModule, i4.MatProgressSpinner, MatToolbarModule, i8.MatToolbar, MatFormFieldModule, i2$1.MatFormField, i2$1.MatLabel, i2$1.MatPrefix, i2$1.MatSuffix, MatInputModule, i2$2.MatInput, MatTooltipModule, i5.MatTooltip, i3.AsyncPipe, i3.TitleCasePipe, DaysAgoPipe], styles: ["[_nghost-%COMP%]{display:block}.search-container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;width:100%;max-width:85rem;margin-top:4em;margin-bottom:12px}.forms-toolbar[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;height:fit-content;min-height:3.25rem;border:1px solid color-mix(in srgb,var(--lib-forms-outline) 10%,transparent)}.toolbar-search[_ngcontent-%COMP%]{flex:1 1 12rem;min-width:10rem;max-width:28rem}.toolbar-search[_ngcontent-%COMP%] .mat-mdc-form-field-flex[_ngcontent-%COMP%]{align-items:center}.toolbar-search[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:.5rem;padding-bottom:.5rem;min-height:2.25rem}.section-switcher[_ngcontent-%COMP%]{display:flex;gap:.5rem;align-items:center}.section-preset[_ngcontent-%COMP%]{padding:.4rem .75rem;min-height:2.25rem;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--lib-forms-outline);border-radius:6px;font-size:.8125rem;font-weight:500;background:var(--lib-forms-surface);color:var(--lib-forms-on-surface-variant);cursor:pointer;transition:border-color var(--lib-forms-duration-hover) var(--lib-forms-easing),color var(--lib-forms-duration-hover) var(--lib-forms-easing),background-color var(--lib-forms-duration-hover) var(--lib-forms-easing)}.section-preset[_ngcontent-%COMP%]:hover{border-color:var(--lib-forms-primary);color:var(--lib-forms-primary);background:color-mix(in srgb,var(--lib-forms-primary) 6%,transparent)}.section-preset[_ngcontent-%COMP%]:focus-visible{outline:none;box-shadow:0 0 0 2px color-mix(in srgb,var(--lib-forms-primary) 25%,transparent)}.section-active[_ngcontent-%COMP%]{border-color:var(--lib-forms-primary);background:color-mix(in srgb,var(--lib-forms-primary) 12%,transparent);color:var(--lib-forms-primary);font-weight:600}.add-form-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:.35rem;font-size:1.25rem;height:1.25rem;width:1.25rem}.close-button[_ngcontent-%COMP%]{flex-shrink:0}.search-field[_ngcontent-%COMP%]{width:100%;font-size:.875rem}.search-field[_ngcontent-%COMP%] .mat-mdc-form-field-subscript-wrapper[_ngcontent-%COMP%]{display:none}.search-field[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%]{background:var(--lib-forms-surface-container-high);border-radius:8px;transition:border-color var(--lib-forms-duration-hover) var(--lib-forms-easing),box-shadow var(--lib-forms-duration-hover) var(--lib-forms-easing)}.search-field[_ngcontent-%COMP%] .mat-mdc-form-field-focus-overlay[_ngcontent-%COMP%]{background:transparent}.search-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{min-height:2.25rem}.search-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{color:color-mix(in srgb,var(--lib-forms-on-surface-variant) 60%,transparent)}.search-field[_ngcontent-%COMP%] .mat-icon[matPrefix][_ngcontent-%COMP%]{color:var(--lib-forms-on-surface-variant)}.search-field[_ngcontent-%COMP%] .mat-mdc-form-field-focus-overlay[_ngcontent-%COMP%]{display:none}.search-field[_ngcontent-%COMP%] .mdc-notched-outline__leading[_ngcontent-%COMP%], .search-field[_ngcontent-%COMP%] .mdc-notched-outline__notch[_ngcontent-%COMP%], .search-field[_ngcontent-%COMP%] .mdc-notched-outline__trailing[_ngcontent-%COMP%]{border-color:color-mix(in srgb,var(--lib-forms-outline) 15%,transparent)}.search-field[_ngcontent-%COMP%]:hover .mdc-notched-outline__leading[_ngcontent-%COMP%], .search-field[_ngcontent-%COMP%]:hover .mdc-notched-outline__notch[_ngcontent-%COMP%], .search-field[_ngcontent-%COMP%]:hover .mdc-notched-outline__trailing[_ngcontent-%COMP%]{border-color:var(--lib-forms-outline)}.search-field.mat-focused[_ngcontent-%COMP%] .mdc-notched-outline__leading[_ngcontent-%COMP%], .search-field.mat-focused[_ngcontent-%COMP%] .mdc-notched-outline__notch[_ngcontent-%COMP%], .search-field.mat-focused[_ngcontent-%COMP%] .mdc-notched-outline__trailing[_ngcontent-%COMP%]{border-color:var(--lib-forms-primary);border-width:2px}.search-field.mat-focused[_ngcontent-%COMP%] .mdc-notched-outline[_ngcontent-%COMP%]{box-shadow:0 0 0 2px color-mix(in srgb,var(--lib-forms-primary) 25%,transparent)}.search-field[_ngcontent-%COMP%] button[matSuffix][_ngcontent-%COMP%]{color:var(--lib-forms-on-surface-variant);transition:color var(--lib-forms-duration-hover) var(--lib-forms-easing),background-color var(--lib-forms-duration-hover) var(--lib-forms-easing)}.search-field[_ngcontent-%COMP%] button[matSuffix][_ngcontent-%COMP%]:hover{color:var(--lib-forms-primary);background:color-mix(in srgb,var(--lib-forms-primary) 6%,transparent)}.empty-hint[_ngcontent-%COMP%]{font-weight:400;font-size:.8125rem;opacity:.9}.content-container[_ngcontent-%COMP%]{max-width:90rem;margin:0 auto;padding:1rem 1.25rem;background:var(--lib-forms-surface);min-height:12rem}.forms-list[_ngcontent-%COMP%]{background:none;box-shadow:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(18rem,1fr));grid-auto-rows:min-content;gap:.75rem;padding:.5rem 0;width:100%}[_nghost-%COMP%] .form-list-item[_ngcontent-%COMP%]{margin:0;border-radius:12px;border:1px solid color-mix(in srgb,var(--lib-forms-outline) 15%,transparent);transition:border-color var(--lib-forms-duration-hover) var(--lib-forms-easing),box-shadow var(--lib-forms-duration-hover) var(--lib-forms-easing),background-color var(--lib-forms-duration-hover) var(--lib-forms-easing);background:var(--lib-forms-surface-container);min-height:3.25rem;min-width:0;height:auto;cursor:pointer}[_nghost-%COMP%] .form-list-item[_ngcontent-%COMP%]:focus-visible{outline:none;box-shadow:0 0 0 2px color-mix(in srgb,var(--lib-forms-primary) 25%,transparent)}[_nghost-%COMP%] .form-list-item.elevated[_ngcontent-%COMP%]{box-shadow:0 2px 8px #00000014;border-color:color-mix(in srgb,var(--lib-forms-primary) 25%,transparent)}@media(prefers-color-scheme:dark){[_nghost-%COMP%] .form-list-item.elevated[_ngcontent-%COMP%]{box-shadow:0 1px 3px #0000004d}}[_nghost-%COMP%] .form-list-item.has-errors[_ngcontent-%COMP%]{border-color:var(--sem-error)}[_nghost-%COMP%] .form-list-item[_ngcontent-%COMP%]:hover{background:color-mix(in srgb,var(--lib-forms-primary) 6%,transparent)}.form-item-spinner[_ngcontent-%COMP%]{position:absolute;margin-left:.75rem}.form-item-content[_ngcontent-%COMP%]{padding:.5rem .75rem .5rem 0;min-width:0;flex:1}.form-item-content.has-errors[_ngcontent-%COMP%] .form-title[_ngcontent-%COMP%]{color:var(--sem-error)}.form-title-row[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.5rem;flex-wrap:wrap;margin-bottom:.25rem}.form-title[_ngcontent-%COMP%]{margin-bottom:0;font-weight:500;font-size:.9375rem;flex:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;line-height:1.4}.error-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:color-mix(in srgb,var(--sem-error) 15%,transparent);border-radius:8px;font-size:.8125rem;font-weight:600;color:var(--sem-error);flex-shrink:0}.error-badge[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:1rem;height:1rem;width:1rem}.form-metadata[_ngcontent-%COMP%]{color:var(--lib-forms-on-surface-variant);font-size:.8125rem;line-height:1.35;display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;margin-top:.25rem}.form-metadata[_ngcontent-%COMP%] .metadata-divider[_ngcontent-%COMP%]{margin:0 .25rem;color:var(--lib-forms-outline-variant);font-weight:600}.form-metadata[_ngcontent-%COMP%] .metadata-item[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem}.form-metadata[_ngcontent-%COMP%] .metadata-item[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.875rem;height:1rem;width:1rem;opacity:.8}.form-actions[_ngcontent-%COMP%]{opacity:.7;transition:opacity var(--lib-forms-duration-hover) var(--lib-forms-easing)}.form-list-item[_ngcontent-%COMP%]:hover .form-actions[_ngcontent-%COMP%], .form-list-item[_ngcontent-%COMP%]:focus-within .form-actions[_ngcontent-%COMP%]{opacity:1}.form-actions-trigger[_ngcontent-%COMP%]{min-width:2.5rem;min-height:2.5rem}[_nghost-%COMP%] .form-list-item .mat-mdc-list-item-content{padding:0 1rem!important;min-height:3.25rem!important;align-items:center!important;overflow:visible!important}[_nghost-%COMP%] .form-list-item .mdc-list-item__primary-text{overflow:visible!important;white-space:normal!important}[_nghost-%COMP%] .menu-item-destructive{color:var(--sem-error)!important}[_nghost-%COMP%] .menu-item-destructive .mat-icon{color:inherit}.loading-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:3rem 1.5rem}.loading-text[_ngcontent-%COMP%]{font-size:.875rem;color:var(--lib-forms-on-surface-variant)}.error-container[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--sem-error) 8%,transparent);border-radius:8px;border-left:4px solid var(--sem-error);padding:1rem 1.25rem;margin:1rem 0;transition:border-color var(--lib-forms-duration-hover) var(--lib-forms-easing),background-color var(--lib-forms-duration-hover) var(--lib-forms-easing)}.error-content[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem}.error-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:1.5rem;height:1.5rem;width:1.5rem}.error-message[_ngcontent-%COMP%]{flex-grow:1;color:var(--sem-error);font-size:.875rem;line-height:1.5;margin:0}.refresh-button[_ngcontent-%COMP%]{flex-shrink:0;color:var(--sem-error);opacity:.8;transition:opacity var(--lib-forms-duration-hover) var(--lib-forms-easing)}.refresh-button[_ngcontent-%COMP%]:hover{opacity:1;background:color-mix(in srgb,var(--sem-error) 12%,transparent)}.archived[_ngcontent-%COMP%]{opacity:.6}.archived[_ngcontent-%COMP%]:hover{opacity:1}.empty-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:1.5rem 1.25rem;margin:1rem auto;max-width:28rem;background:var(--lib-forms-surface-container);border-radius:12px;border:1px solid color-mix(in srgb,var(--lib-forms-outline) 15%,transparent);box-shadow:0 2px 8px #00000014}@media(prefers-color-scheme:dark){.empty-container[_ngcontent-%COMP%]{box-shadow:0 1px 3px #0000004d}}.empty-illustration[_ngcontent-%COMP%]{width:12rem;height:auto;object-fit:contain}.empty-message[_ngcontent-%COMP%]{font-size:.875rem;color:var(--lib-forms-on-surface-variant);margin:0;line-height:1.4;text-align:center}.form-list-item[_ngcontent-%COMP%] img.error[_ngcontent-%COMP%]{border:2px solid var(--sem-error);border-radius:6px}.form-sections[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.form-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.75rem}.section-header[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem 1rem;padding:.5rem 0;border-bottom:1px solid color-mix(in srgb,var(--lib-forms-outline) 10%,transparent)}.section-title[_ngcontent-%COMP%]{margin:0;font-weight:600;font-size:.9375rem;color:var(--lib-forms-on-surface);letter-spacing:-.01em}.section-subtitle[_ngcontent-%COMP%]{font-size:.8125rem;color:var(--lib-forms-on-surface-variant);line-height:1.35}@media screen and (max-width:599px){.forms-list[_ngcontent-%COMP%]{grid-template-columns:1fr;padding:.25rem 0}.content-container[_ngcontent-%COMP%]{padding:.75rem 1rem}.forms-toolbar[_ngcontent-%COMP%]{padding:.5rem 1rem;gap:.5rem}}"], changeDetection: 0 }); }
|
|
14583
15250
|
}
|
|
14584
15251
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormsComponent, [{
|
|
14585
15252
|
type: Component,
|
|
@@ -14603,8 +15270,8 @@ class FormsComponent {
|
|
|
14603
15270
|
}], null, null); })();
|
|
14604
15271
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FormsComponent, { className: "FormsComponent", filePath: "lib/components/forms/forms.component.ts", lineNumber: 77 }); })();
|
|
14605
15272
|
|
|
14606
|
-
const FormBuilderComponent_Defer_12_DepsFn = () => [import('./ngx-t-forms-forms-builder-menu.component-
|
|
14607
|
-
const FormBuilderComponent_Defer_20_DepsFn = () => [i3$1.MatIcon, i4.MatProgressSpinner, i1$
|
|
15273
|
+
const FormBuilderComponent_Defer_12_DepsFn = () => [import('./ngx-t-forms-forms-builder-menu.component-DTIAOxGV.mjs').then(m => m.FormsBuilderMenuComponent)];
|
|
15274
|
+
const FormBuilderComponent_Defer_20_DepsFn = () => [i3$1.MatIcon, i4.MatProgressSpinner, i1$2.CdkDrag, import('./ngx-t-forms-input-editor.component-3fRj5swF.mjs').then(m => m.InputEditorComponent), import('./ngx-t-forms-form-section-stepper.component-UUTHYU-A.mjs').then(m => m.FormSectionStepperComponent), import('./ngx-t-forms-missing-form-configs.component-AaDfeALs.mjs').then(m => m.MissingFormConfigsComponent)];
|
|
14608
15275
|
function FormBuilderComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
14609
15276
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
14610
15277
|
i0.ɵɵelementStart(0, "button", 10);
|
|
@@ -14888,10 +15555,10 @@ class FormBuilderComponent {
|
|
|
14888
15555
|
i0.ɵɵadvance();
|
|
14889
15556
|
i0.ɵɵconditional(ctx.pendingExternalRefresh() ? 17 : -1);
|
|
14890
15557
|
} }, dependencies: [CommonModule,
|
|
14891
|
-
MatToolbarModule, i8.MatToolbar, MatButtonModule,
|
|
15558
|
+
MatToolbarModule, i8.MatToolbar, MatButtonModule, i2.MatButton, i2.MatIconButton, MatIconModule, i3$1.MatIcon, MatProgressSpinnerModule, i4.MatProgressSpinner, MatRippleModule, i7.MatRipple, DragDropModule,
|
|
14892
15559
|
FormsModule, i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.NgModel, RouterModule, i7$1.RouterLink], styles: [".container[_ngcontent-%COMP%]{display:flex;width:100%;height:calc(100% - 64px);padding-top:4em}.side[_ngcontent-%COMP%]{width:100px;background-color:var(--sem-error-surface)}.middle[_ngcontent-%COMP%]{flex-grow:1;height:calc(100vh - 68px);overflow:auto;background-color:none}.section-title-input[_ngcontent-%COMP%]{border:none;background-color:transparent;font-size:.8575em;font-weight:600;color:var(--lib-forms-on-primary);padding-top:12px;padding-bottom:12px;outline:none;width:100%;min-width:268px;transition:border-bottom-color .3s ease-in-out}.section-title-input[_ngcontent-%COMP%]:focus{border-bottom:1px solid var(--lib-forms-on-primary)}.missing-fields[_ngcontent-%COMP%]{position:fixed;bottom:0}.updated-time[_ngcontent-%COMP%]{display:flex;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));gap:8px;align-items:center;line-height:normal;font-size:.875em;bottom:0;position:absolute;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);padding:8px;border-radius:4px}.nav-group[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.save-button[_ngcontent-%COMP%]{margin-left:8px;min-width:168px;height:44px}.save-button[_ngcontent-%COMP%] .save-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.save-button[_ngcontent-%COMP%] .save-text[_ngcontent-%COMP%] .save-label[_ngcontent-%COMP%]{font-size:13px;font-weight:600;line-height:1;letter-spacing:.01em;white-space:nowrap}.save-button[_ngcontent-%COMP%] .save-text[_ngcontent-%COMP%] .save-sub[_ngcontent-%COMP%]{font-size:10px;line-height:1;opacity:.78;white-space:nowrap}.refresh-button[_ngcontent-%COMP%]{margin-left:8px;background:var(--mat-fab-small-container-color, var(--mat-sys-tertiary-container));color:var(--mat-sys-on-tertiary-container);border:1.5px solid var(--mat-sys-outline-variant);border-radius:10px;padding:4px 14px 4px 6px;cursor:pointer;display:inline-flex;align-items:center;gap:12px;height:44px;width:fit-content;box-shadow:0 2px 12px color-mix(in srgb,var(--lib-forms-shadow-color) 18%,transparent);transition:box-shadow var(--lib-forms-duration-hover) var(--lib-forms-easing),transform var(--lib-forms-duration-hover) var(--lib-forms-easing);outline:none;overflow:hidden;position:relative}.refresh-button[_ngcontent-%COMP%]:hover{box-shadow:0 4px 20px color-mix(in srgb,var(--lib-forms-shadow-color) 28%,transparent);transform:translateY(-1px)}.refresh-button[_ngcontent-%COMP%]:active{transform:translateY(0);box-shadow:0 1px 6px color-mix(in srgb,var(--lib-forms-shadow-color) 12%,transparent)}.refresh-button[_ngcontent-%COMP%] .countdown-ring[_ngcontent-%COMP%]{position:relative;width:34px;height:34px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.refresh-button[_ngcontent-%COMP%] .countdown-ring[_ngcontent-%COMP%] mat-progress-spinner[_ngcontent-%COMP%]{position:absolute;inset:0;--mdc-circular-progress-active-indicator-color: var(--mat-sys-on-tertiary-container);--mdc-circular-progress-track-color: color-mix(in srgb, var(--mat-sys-on-tertiary-container) 18%, transparent)}.refresh-button[_ngcontent-%COMP%] .countdown-ring[_ngcontent-%COMP%] .countdown-number[_ngcontent-%COMP%]{font-size:11px;font-weight:600;line-height:1;z-index:1;letter-spacing:-.3px;color:var(--mat-sys-on-tertiary-container)}.refresh-button[_ngcontent-%COMP%] .refresh-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.refresh-button[_ngcontent-%COMP%] .refresh-text[_ngcontent-%COMP%] .refresh-label[_ngcontent-%COMP%]{font-size:13px;font-weight:600;line-height:1;letter-spacing:.01em;white-space:nowrap;color:var(--mat-sys-on-tertiary-container)}.refresh-button[_ngcontent-%COMP%] .refresh-text[_ngcontent-%COMP%] .refresh-sub[_ngcontent-%COMP%]{font-size:10px;line-height:1;opacity:.68;white-space:nowrap;color:var(--mat-sys-on-tertiary-container)}.refresh-button[_ngcontent-%COMP%] .refresh-chevron[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;opacity:.65;flex-shrink:0;color:var(--mat-sys-on-tertiary-container)}.loading-container[_ngcontent-%COMP%]{display:flex;height:calc(100% - 150px);justify-content:center;align-items:center}.editor-container[_ngcontent-%COMP%]{max-width:500px}.divider[_ngcontent-%COMP%]{margin:0 8px;opacity:.5}app-missing-form-configs[_ngcontent-%COMP%]{position:absolute;bottom:0;right:0}"], changeDetection: 0 }); }
|
|
14893
15560
|
}
|
|
14894
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadataAsync(FormBuilderComponent, () => [import('./ngx-t-forms-forms-builder-menu.component-
|
|
15561
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadataAsync(FormBuilderComponent, () => [import('./ngx-t-forms-forms-builder-menu.component-DTIAOxGV.mjs').then(m => m.FormsBuilderMenuComponent), import('./ngx-t-forms-input-editor.component-3fRj5swF.mjs').then(m => m.InputEditorComponent), import('./ngx-t-forms-form-section-stepper.component-UUTHYU-A.mjs').then(m => m.FormSectionStepperComponent), import('./ngx-t-forms-missing-form-configs.component-AaDfeALs.mjs').then(m => m.MissingFormConfigsComponent)], (FormsBuilderMenuComponent, InputEditorComponent, FormSectionStepperComponent, MissingFormConfigsComponent) => { i0.ɵsetClassMetadata(FormBuilderComponent, [{
|
|
14895
15562
|
type: Component,
|
|
14896
15563
|
args: [{ selector: 'lib-form-builder, app-form-builder', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
14897
15564
|
CommonModule,
|
|
@@ -14950,7 +15617,7 @@ class TourManagerService {
|
|
|
14950
15617
|
}]
|
|
14951
15618
|
}], () => [], null); })();
|
|
14952
15619
|
|
|
14953
|
-
const _forTrack0$
|
|
15620
|
+
const _forTrack0$8 = ($index, $item) => $item.id;
|
|
14954
15621
|
function TSuggestionReviewComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
14955
15622
|
i0.ɵɵdomElementStart(0, "p", 0);
|
|
14956
15623
|
i0.ɵɵtext(1, "No suggestions to review.");
|
|
@@ -15049,7 +15716,7 @@ function TSuggestionReviewComponent_Conditional_1_Conditional_0_Template(rf, ctx
|
|
|
15049
15716
|
i0.ɵɵtext(10, " Accept all ");
|
|
15050
15717
|
i0.ɵɵdomElementEnd()()();
|
|
15051
15718
|
i0.ɵɵdomElementStart(11, "ul", 9);
|
|
15052
|
-
i0.ɵɵrepeaterCreate(12, TSuggestionReviewComponent_Conditional_1_Conditional_0_For_13_Template, 13, 5, "li", 10, _forTrack0$
|
|
15719
|
+
i0.ɵɵrepeaterCreate(12, TSuggestionReviewComponent_Conditional_1_Conditional_0_For_13_Template, 13, 5, "li", 10, _forTrack0$8);
|
|
15053
15720
|
i0.ɵɵdomElementEnd();
|
|
15054
15721
|
} if (rf & 2) {
|
|
15055
15722
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -15075,7 +15742,7 @@ function TSuggestionReviewComponent_Conditional_1_Conditional_1_For_2_Template(r
|
|
|
15075
15742
|
} }
|
|
15076
15743
|
function TSuggestionReviewComponent_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
15077
15744
|
i0.ɵɵdomElementStart(0, "ul", 1);
|
|
15078
|
-
i0.ɵɵrepeaterCreate(1, TSuggestionReviewComponent_Conditional_1_Conditional_1_For_2_Template, 5, 2, "li", 21, _forTrack0$
|
|
15745
|
+
i0.ɵɵrepeaterCreate(1, TSuggestionReviewComponent_Conditional_1_Conditional_1_For_2_Template, 5, 2, "li", 21, _forTrack0$8);
|
|
15079
15746
|
i0.ɵɵdomElementEnd();
|
|
15080
15747
|
} if (rf & 2) {
|
|
15081
15748
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -15225,12 +15892,231 @@ var onFileSelectEventInput = (event, fileType) => {
|
|
|
15225
15892
|
});
|
|
15226
15893
|
};
|
|
15227
15894
|
|
|
15895
|
+
const _forTrack0$7 = ($index, $item) => $item.validatorId;
|
|
15896
|
+
function OverrideReasonsDialogComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
15897
|
+
i0.ɵɵtext(0, " Motivate each flagged item below. Submission also needs the remaining required fields fixed. ");
|
|
15898
|
+
} }
|
|
15899
|
+
function OverrideReasonsDialogComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
15900
|
+
i0.ɵɵtext(0, " Add a short reason for each flagged item to unlock submission. ");
|
|
15901
|
+
} }
|
|
15902
|
+
function OverrideReasonsDialogComponent_For_13_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|
|
15903
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
15904
|
+
i0.ɵɵelementStart(0, "div", 25)(1, "mat-icon", 27);
|
|
15905
|
+
i0.ɵɵtext(2, "description");
|
|
15906
|
+
i0.ɵɵelementEnd();
|
|
15907
|
+
i0.ɵɵelementStart(3, "span", 28);
|
|
15908
|
+
i0.ɵɵtext(4);
|
|
15909
|
+
i0.ɵɵelementEnd();
|
|
15910
|
+
i0.ɵɵelementStart(5, "button", 29);
|
|
15911
|
+
i0.ɵɵlistener("click", function OverrideReasonsDialogComponent_For_13_Conditional_20_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r4); const err_r2 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.clearAttachment(err_r2.validatorId)); });
|
|
15912
|
+
i0.ɵɵelementStart(6, "mat-icon");
|
|
15913
|
+
i0.ɵɵtext(7, "close");
|
|
15914
|
+
i0.ɵɵelementEnd()()();
|
|
15915
|
+
} if (rf & 2) {
|
|
15916
|
+
const err_r2 = i0.ɵɵnextContext().$implicit;
|
|
15917
|
+
i0.ɵɵadvance(4);
|
|
15918
|
+
i0.ɵɵtextInterpolate(ctx);
|
|
15919
|
+
i0.ɵɵadvance();
|
|
15920
|
+
i0.ɵɵattribute("aria-label", "Remove the supporting file for " + err_r2.label);
|
|
15921
|
+
} }
|
|
15922
|
+
function OverrideReasonsDialogComponent_For_13_Conditional_21_Template(rf, ctx) { if (rf & 1) {
|
|
15923
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
15924
|
+
i0.ɵɵelementStart(0, "label", 26)(1, "mat-icon", 27);
|
|
15925
|
+
i0.ɵɵtext(2, "attach_file");
|
|
15926
|
+
i0.ɵɵelementEnd();
|
|
15927
|
+
i0.ɵɵelementStart(3, "span");
|
|
15928
|
+
i0.ɵɵtext(4, "Attach supporting file ");
|
|
15929
|
+
i0.ɵɵelementStart(5, "span", 30);
|
|
15930
|
+
i0.ɵɵtext(6, "\u00B7 optional");
|
|
15931
|
+
i0.ɵɵelementEnd()();
|
|
15932
|
+
i0.ɵɵelementStart(7, "input", 31);
|
|
15933
|
+
i0.ɵɵlistener("change", function OverrideReasonsDialogComponent_For_13_Conditional_21_Template_input_change_7_listener($event) { i0.ɵɵrestoreView(_r5); const err_r2 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onAttachment(err_r2.validatorId, $event)); });
|
|
15934
|
+
i0.ɵɵelementEnd()();
|
|
15935
|
+
} if (rf & 2) {
|
|
15936
|
+
const err_r2 = i0.ɵɵnextContext().$implicit;
|
|
15937
|
+
i0.ɵɵadvance(7);
|
|
15938
|
+
i0.ɵɵattribute("aria-label", "Attach a supporting file for " + err_r2.label);
|
|
15939
|
+
} }
|
|
15940
|
+
function OverrideReasonsDialogComponent_For_13_Template(rf, ctx) { if (rf & 1) {
|
|
15941
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
15942
|
+
i0.ɵɵelementStart(0, "li", 15)(1, "div", 16)(2, "div", 17)(3, "p", 18);
|
|
15943
|
+
i0.ɵɵtext(4);
|
|
15944
|
+
i0.ɵɵpipe(5, "titlecase");
|
|
15945
|
+
i0.ɵɵelementEnd();
|
|
15946
|
+
i0.ɵɵelementStart(6, "p", 19)(7, "mat-icon", 20);
|
|
15947
|
+
i0.ɵɵtext(8, "error");
|
|
15948
|
+
i0.ɵɵelementEnd();
|
|
15949
|
+
i0.ɵɵelementStart(9, "span");
|
|
15950
|
+
i0.ɵɵtext(10);
|
|
15951
|
+
i0.ɵɵelementEnd()()();
|
|
15952
|
+
i0.ɵɵelementStart(11, "span", 21)(12, "mat-icon", 20);
|
|
15953
|
+
i0.ɵɵtext(13);
|
|
15954
|
+
i0.ɵɵelementEnd();
|
|
15955
|
+
i0.ɵɵelementStart(14, "span");
|
|
15956
|
+
i0.ɵɵtext(15);
|
|
15957
|
+
i0.ɵɵelementEnd()()();
|
|
15958
|
+
i0.ɵɵelementStart(16, "label", 22)(17, "span", 23);
|
|
15959
|
+
i0.ɵɵtext(18, "Reason");
|
|
15960
|
+
i0.ɵɵelementEnd();
|
|
15961
|
+
i0.ɵɵelementStart(19, "textarea", 24);
|
|
15962
|
+
i0.ɵɵlistener("input", function OverrideReasonsDialogComponent_For_13_Template_textarea_input_19_listener($event) { const err_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onComment(err_r2.validatorId, $event)); });
|
|
15963
|
+
i0.ɵɵelementEnd()();
|
|
15964
|
+
i0.ɵɵconditionalCreate(20, OverrideReasonsDialogComponent_For_13_Conditional_20_Template, 8, 2, "div", 25)(21, OverrideReasonsDialogComponent_For_13_Conditional_21_Template, 8, 1, "label", 26);
|
|
15965
|
+
i0.ɵɵelementEnd();
|
|
15966
|
+
} if (rf & 2) {
|
|
15967
|
+
let tmp_18_0;
|
|
15968
|
+
const err_r2 = ctx.$implicit;
|
|
15969
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
15970
|
+
i0.ɵɵclassProp("ovd-item--done", ctx_r2.isMotivated(err_r2.validatorId));
|
|
15971
|
+
i0.ɵɵadvance(4);
|
|
15972
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 11, err_r2.label));
|
|
15973
|
+
i0.ɵɵadvance(6);
|
|
15974
|
+
i0.ɵɵtextInterpolate(err_r2.message);
|
|
15975
|
+
i0.ɵɵadvance();
|
|
15976
|
+
i0.ɵɵclassProp("ovd-status--done", ctx_r2.isMotivated(err_r2.validatorId));
|
|
15977
|
+
i0.ɵɵadvance(2);
|
|
15978
|
+
i0.ɵɵtextInterpolate(ctx_r2.isMotivated(err_r2.validatorId) ? "check_circle" : "edit_note");
|
|
15979
|
+
i0.ɵɵadvance(2);
|
|
15980
|
+
i0.ɵɵtextInterpolate(ctx_r2.isMotivated(err_r2.validatorId) ? "Provided" : "Needs reason");
|
|
15981
|
+
i0.ɵɵadvance(4);
|
|
15982
|
+
i0.ɵɵproperty("value", ctx_r2.comment(err_r2.validatorId));
|
|
15983
|
+
i0.ɵɵattribute("aria-label", "Override reason for " + err_r2.label);
|
|
15984
|
+
i0.ɵɵadvance();
|
|
15985
|
+
i0.ɵɵconditional((tmp_18_0 = ctx_r2.attachmentName(err_r2.validatorId)) ? 20 : 21, tmp_18_0);
|
|
15986
|
+
} }
|
|
15987
|
+
/**
|
|
15988
|
+
* Modal that captures a motivation (and optional supporting file) for every
|
|
15989
|
+
* overridable validation still failing on the form. It is opened on demand from
|
|
15990
|
+
* the submission toolbar's "Provide reason" button — it does not submit the
|
|
15991
|
+
* form; it only writes the reasons back through {@link OverrideReasonController},
|
|
15992
|
+
* which re-drives the toolbar's submit gate.
|
|
15993
|
+
*
|
|
15994
|
+
* Internal to {@link UserFormStepperComponent}; not part of the public API.
|
|
15995
|
+
*/
|
|
15996
|
+
class OverrideReasonsDialogComponent {
|
|
15997
|
+
constructor() {
|
|
15998
|
+
this.#platformId = inject(PLATFORM_ID);
|
|
15999
|
+
this.#data = inject(MAT_DIALOG_DATA);
|
|
16000
|
+
/** The overridable validations to motivate — frozen for the dialog's lifetime. */
|
|
16001
|
+
this.errors = this.#data.controller.overridableErrors();
|
|
16002
|
+
/** True while a blocking error still keeps submission impossible after motivating. */
|
|
16003
|
+
this.hasBlockingErrors = this.#data.controller.hasBlockingErrors();
|
|
16004
|
+
/** Total number of validations that must be motivated. */
|
|
16005
|
+
this.total = this.errors.length;
|
|
16006
|
+
/** Live mirror of each motivation comment, seeded from the controller. */
|
|
16007
|
+
this.#comments = signal(Object.fromEntries(this.errors.map((e) => [e.validatorId, this.#data.controller.overrideReasons[e.validatorId]?.comment ?? ''])), ...(ngDevMode ? [{ debugName: "#comments" }] : /* istanbul ignore next */ []));
|
|
16008
|
+
/** Live mirror of each captured attachment's file name, seeded from the controller. */
|
|
16009
|
+
this.#attachmentNames = signal(Object.fromEntries(this.errors.map((e) => [e.validatorId, this.#data.controller.overrideReasons[e.validatorId]?.attachment?.fileName])), ...(ngDevMode ? [{ debugName: "#attachmentNames" }] : /* istanbul ignore next */ []));
|
|
16010
|
+
/** How many validations currently carry a non-empty (trimmed) motivation. */
|
|
16011
|
+
this.motivatedCount = computed(() => this.errors.filter((e) => (this.#comments()[e.validatorId] ?? '').trim().length > 0).length, ...(ngDevMode ? [{ debugName: "motivatedCount" }] : /* istanbul ignore next */ []));
|
|
16012
|
+
/** True once every validation is motivated — the submit gate is clear of overrides. */
|
|
16013
|
+
this.allMotivated = computed(() => this.total > 0 && this.motivatedCount() === this.total, ...(ngDevMode ? [{ debugName: "allMotivated" }] : /* istanbul ignore next */ []));
|
|
16014
|
+
/** Completion as a 0–100 percentage, for the progress meter in the footer. */
|
|
16015
|
+
this.progressPct = computed(() => this.total === 0 ? 0 : Math.round((this.motivatedCount() / this.total) * 100), ...(ngDevMode ? [{ debugName: "progressPct" }] : /* istanbul ignore next */ []));
|
|
16016
|
+
}
|
|
16017
|
+
#platformId;
|
|
16018
|
+
#data;
|
|
16019
|
+
/** Live mirror of each motivation comment, seeded from the controller. */
|
|
16020
|
+
#comments;
|
|
16021
|
+
/** Live mirror of each captured attachment's file name, seeded from the controller. */
|
|
16022
|
+
#attachmentNames;
|
|
16023
|
+
/** Current motivation text for one validation. */
|
|
16024
|
+
comment(validatorId) {
|
|
16025
|
+
return this.#comments()[validatorId] ?? '';
|
|
16026
|
+
}
|
|
16027
|
+
/** File name of the attachment captured for one validation, if any. */
|
|
16028
|
+
attachmentName(validatorId) {
|
|
16029
|
+
return this.#attachmentNames()[validatorId];
|
|
16030
|
+
}
|
|
16031
|
+
/** Whether one validation already carries a non-empty motivation. */
|
|
16032
|
+
isMotivated(validatorId) {
|
|
16033
|
+
return (this.#comments()[validatorId] ?? '').trim().length > 0;
|
|
16034
|
+
}
|
|
16035
|
+
/** Removes the captured attachment for one validation (the chip's remove action). */
|
|
16036
|
+
clearAttachment(validatorId) {
|
|
16037
|
+
this.#attachmentNames.update((prev) => ({ ...prev, [validatorId]: undefined }));
|
|
16038
|
+
this.#data.controller.setOverrideAttachment(validatorId, undefined);
|
|
16039
|
+
}
|
|
16040
|
+
/** Records the motivation comment as the user types, writing through to the controller. */
|
|
16041
|
+
onComment(validatorId, event) {
|
|
16042
|
+
const value = event.target.value;
|
|
16043
|
+
this.#comments.update((prev) => ({ ...prev, [validatorId]: value }));
|
|
16044
|
+
this.#data.controller.setOverrideComment(validatorId, value);
|
|
16045
|
+
}
|
|
16046
|
+
/**
|
|
16047
|
+
* Reads the chosen supporting file into a base64 {@link FileData} and attaches
|
|
16048
|
+
* it to the override; clearing the picker removes the attachment. Browser-only
|
|
16049
|
+
* (FileReader) — a no-op under SSR.
|
|
16050
|
+
*/
|
|
16051
|
+
async onAttachment(validatorId, event) {
|
|
16052
|
+
if (!isPlatformBrowser(this.#platformId))
|
|
16053
|
+
return;
|
|
16054
|
+
const file = event.target.files?.[0];
|
|
16055
|
+
if (!file) {
|
|
16056
|
+
this.#attachmentNames.update((prev) => ({ ...prev, [validatorId]: undefined }));
|
|
16057
|
+
this.#data.controller.setOverrideAttachment(validatorId, undefined);
|
|
16058
|
+
return;
|
|
16059
|
+
}
|
|
16060
|
+
const result = await onFileSelectEventInput(event, file.type);
|
|
16061
|
+
const attachment = {
|
|
16062
|
+
base64: typeof result.base64 === 'string' ? result.base64 : '',
|
|
16063
|
+
fileName: result.fileName,
|
|
16064
|
+
type: file.type,
|
|
16065
|
+
id: v4(),
|
|
16066
|
+
fileExtension: result.fileName.includes('.') ? result.fileName.split('.').pop() ?? '' : '',
|
|
16067
|
+
};
|
|
16068
|
+
this.#attachmentNames.update((prev) => ({ ...prev, [validatorId]: attachment.fileName }));
|
|
16069
|
+
this.#data.controller.setOverrideAttachment(validatorId, attachment);
|
|
16070
|
+
}
|
|
16071
|
+
static { this.ɵfac = function OverrideReasonsDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || OverrideReasonsDialogComponent)(); }; }
|
|
16072
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: OverrideReasonsDialogComponent, selectors: [["lib-override-reasons-dialog"]], hostAttrs: [1, "lib-override-reasons-dialog"], decls: 23, vars: 8, consts: [["mat-dialog-title", "", 1, "ovd__header"], ["aria-hidden", "true", 1, "ovd__header-icon"], [1, "ovd__header-text"], [1, "ovd__title"], [1, "ovd__subtitle"], [1, "ovd__content"], [1, "ovd__list"], [1, "ovd-item", 3, "ovd-item--done"], [1, "ovd__actions"], ["role", "status", "aria-live", "polite", 1, "ovd__progress"], [1, "ovd__progress-track"], [1, "ovd__progress-fill"], [1, "ovd__progress-label"], [1, "ovd__spacer"], ["mat-flat-button", "", "color", "primary", "mat-dialog-close", "", 1, "ovd__done"], [1, "ovd-item"], [1, "ovd-item__head"], [1, "ovd-item__heading"], [1, "ovd-item__label"], [1, "ovd-item__message"], ["aria-hidden", "true"], [1, "ovd-status"], [1, "ovd-field"], [1, "ovd-field__label"], ["rows", "3", "placeholder", "Explain why this can be overridden\u2026", 1, "ovd-field__input", 3, "input", "value"], [1, "ovd-attach", "ovd-attach--filled"], [1, "ovd-attach", "ovd-attach--empty"], ["aria-hidden", "true", 1, "ovd-attach__icon"], [1, "ovd-attach__name"], ["type", "button", 1, "ovd-attach__remove", 3, "click"], [1, "ovd-attach__optional"], ["type", "file", "hidden", "", 3, "change"]], template: function OverrideReasonsDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16073
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "span", 1)(2, "mat-icon");
|
|
16074
|
+
i0.ɵɵtext(3, "flag");
|
|
16075
|
+
i0.ɵɵelementEnd()();
|
|
16076
|
+
i0.ɵɵelementStart(4, "div", 2)(5, "span", 3);
|
|
16077
|
+
i0.ɵɵtext(6, "Provide override reasons");
|
|
16078
|
+
i0.ɵɵelementEnd();
|
|
16079
|
+
i0.ɵɵelementStart(7, "span", 4);
|
|
16080
|
+
i0.ɵɵconditionalCreate(8, OverrideReasonsDialogComponent_Conditional_8_Template, 1, 0)(9, OverrideReasonsDialogComponent_Conditional_9_Template, 1, 0);
|
|
16081
|
+
i0.ɵɵelementEnd()()();
|
|
16082
|
+
i0.ɵɵelementStart(10, "mat-dialog-content", 5)(11, "ul", 6);
|
|
16083
|
+
i0.ɵɵrepeaterCreate(12, OverrideReasonsDialogComponent_For_13_Template, 22, 13, "li", 7, _forTrack0$7);
|
|
16084
|
+
i0.ɵɵelementEnd()();
|
|
16085
|
+
i0.ɵɵelementStart(14, "mat-dialog-actions", 8)(15, "div", 9)(16, "span", 10);
|
|
16086
|
+
i0.ɵɵelement(17, "span", 11);
|
|
16087
|
+
i0.ɵɵelementEnd();
|
|
16088
|
+
i0.ɵɵelementStart(18, "span", 12);
|
|
16089
|
+
i0.ɵɵtext(19);
|
|
16090
|
+
i0.ɵɵelementEnd()();
|
|
16091
|
+
i0.ɵɵelement(20, "span", 13);
|
|
16092
|
+
i0.ɵɵelementStart(21, "button", 14);
|
|
16093
|
+
i0.ɵɵtext(22);
|
|
16094
|
+
i0.ɵɵelementEnd()();
|
|
16095
|
+
} if (rf & 2) {
|
|
16096
|
+
i0.ɵɵadvance(8);
|
|
16097
|
+
i0.ɵɵconditional(ctx.hasBlockingErrors ? 8 : 9);
|
|
16098
|
+
i0.ɵɵadvance(4);
|
|
16099
|
+
i0.ɵɵrepeater(ctx.errors);
|
|
16100
|
+
i0.ɵɵadvance(5);
|
|
16101
|
+
i0.ɵɵstyleProp("width", ctx.progressPct(), "%");
|
|
16102
|
+
i0.ɵɵclassProp("ovd__progress-fill--done", ctx.allMotivated());
|
|
16103
|
+
i0.ɵɵadvance(2);
|
|
16104
|
+
i0.ɵɵtextInterpolate2("", ctx.motivatedCount(), " of ", ctx.total, " provided");
|
|
16105
|
+
i0.ɵɵadvance(3);
|
|
16106
|
+
i0.ɵɵtextInterpolate1(" ", ctx.allMotivated() ? "Done" : "Save & close", " ");
|
|
16107
|
+
} }, dependencies: [MatDialogModule, i1$3.MatDialogClose, i1$3.MatDialogTitle, i1$3.MatDialogActions, i1$3.MatDialogContent, MatButtonModule, i2.MatButton, MatIconModule, i3$1.MatIcon, MatTooltipModule, TitleCasePipe], styles: ["[_nghost-%COMP%]{--ovd-radius-lg: 12px;--ovd-radius-sm: 8px;--ovd-radius-pill: 999px;--ovd-primary-04: color-mix(in srgb, var(--mat-sys-primary) 4%, transparent);--ovd-primary-06: color-mix(in srgb, var(--mat-sys-primary) 6%, transparent);--ovd-primary-12: color-mix(in srgb, var(--mat-sys-primary) 12%, transparent);--ovd-primary-25: color-mix(in srgb, var(--mat-sys-primary) 25%, transparent);--ovd-error-10: color-mix(in srgb, var(--mat-sys-error) 10%, transparent);--ovd-error-14: color-mix(in srgb, var(--mat-sys-error) 14%, transparent);--ovd-outline-12: color-mix(in srgb, var(--mat-sys-outline) 12%, transparent);--ovd-outline-15: color-mix(in srgb, var(--mat-sys-outline) 15%, transparent);--ovd-shadow: 0 2px 8px color-mix(in srgb, var(--mat-sys-shadow) 8%, transparent);display:block;min-width:min(28rem,88vw);max-width:36rem}.ovd__header[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:1rem;padding:1.25rem 1.5rem 1rem;margin:0}.ovd__header[_ngcontent-%COMP%]:before{display:none}.ovd__header-icon[_ngcontent-%COMP%]{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border-radius:var(--ovd-radius-sm);background:var(--ovd-primary-12);color:var(--mat-sys-primary)}.ovd__header-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:1.5rem;width:1.5rem;height:1.5rem}.ovd__header-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;padding-top:.125rem}.ovd__title[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:600;letter-spacing:-.01em;line-height:1.3;color:var(--mat-sys-on-surface)}.ovd__subtitle[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.45;color:var(--mat-sys-on-surface-variant)}.ovd__content[_ngcontent-%COMP%]{max-height:65vh;padding:1rem 1.5rem .5rem}.ovd__list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1rem}.ovd-item[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem;padding:1.25rem;border:1px solid var(--ovd-outline-15);border-radius:var(--ovd-radius-lg);background:var(--mat-sys-surface-container-low, var(--mat-sys-surface));box-shadow:var(--ovd-shadow);transition:border-color .3s cubic-bezier(.16,1,.3,1),background .3s cubic-bezier(.16,1,.3,1)}.ovd-item--done[_ngcontent-%COMP%]{border-color:var(--ovd-primary-12);background:var(--mat-sys-surface-container, var(--mat-sys-surface))}.ovd-item__head[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.ovd-item__heading[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;min-width:0}.ovd-item__label[_ngcontent-%COMP%]{margin:0;font-size:.9375rem;font-weight:600;color:var(--mat-sys-on-surface)}.ovd-item__message[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.375rem;margin:0;font-size:.8125rem;line-height:1.35;color:var(--mat-sys-error)}.ovd-item__message[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:1rem;width:1rem;height:1rem}.ovd-status[_ngcontent-%COMP%]{flex-shrink:0;display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .625rem;border-radius:var(--ovd-radius-pill);background:var(--ovd-error-14);color:var(--mat-sys-error);font-size:.75rem;font-weight:600;white-space:nowrap;transition:background .3s cubic-bezier(.16,1,.3,1),color .3s cubic-bezier(.16,1,.3,1)}.ovd-status[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:1rem;width:1rem;height:1rem}.ovd-status--done[_ngcontent-%COMP%]{background:var(--ovd-primary-12);color:var(--mat-sys-primary)}.ovd-field[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.35rem}.ovd-field__label[_ngcontent-%COMP%]{font-size:.75rem;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--mat-sys-on-surface-variant)}.ovd-field__input[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;padding:.5rem .75rem;font:inherit;font-size:.875rem;line-height:1.5;color:var(--mat-sys-on-surface);background:var(--mat-sys-surface);border:1px solid var(--mat-sys-outline);border-radius:var(--ovd-radius-sm);resize:vertical;transition:border-color .3s cubic-bezier(.16,1,.3,1),box-shadow .3s cubic-bezier(.16,1,.3,1)}.ovd-field__input[_ngcontent-%COMP%]::placeholder{color:color-mix(in srgb,var(--mat-sys-on-surface-variant) 60%,transparent)}.ovd-field__input[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--mat-sys-primary);box-shadow:0 0 0 2px var(--ovd-primary-25)}.ovd-attach[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;align-self:flex-start;max-width:100%;font-size:.8125rem}.ovd-attach__icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:1.125rem;width:1.125rem;height:1.125rem}.ovd-attach--empty[_ngcontent-%COMP%]{padding:.5rem .875rem;border:1px dashed var(--mat-sys-outline);border-radius:var(--ovd-radius-sm);color:var(--mat-sys-on-surface-variant);cursor:pointer;transition:border-color .3s cubic-bezier(.16,1,.3,1),color .3s cubic-bezier(.16,1,.3,1),background .3s cubic-bezier(.16,1,.3,1)}.ovd-attach--empty[_ngcontent-%COMP%]:hover{border-color:var(--mat-sys-primary);color:var(--mat-sys-primary);background:var(--ovd-primary-06)}.ovd-attach__optional[_ngcontent-%COMP%]{color:color-mix(in srgb,var(--mat-sys-on-surface-variant) 70%,transparent)}.ovd-attach--filled[_ngcontent-%COMP%]{padding:.25rem .375rem .25rem .625rem;background:var(--ovd-primary-12);border-radius:var(--ovd-radius-sm);color:var(--mat-sys-on-surface)}.ovd-attach--filled[_ngcontent-%COMP%] .ovd-attach__icon[_ngcontent-%COMP%]{color:var(--mat-sys-primary)}.ovd-attach__name[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:16rem}.ovd-attach__remove[_ngcontent-%COMP%]{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;padding:0;border:none;border-radius:4px;background:transparent;color:var(--mat-sys-on-surface-variant);cursor:pointer;transition:background .3s cubic-bezier(.16,1,.3,1),color .3s cubic-bezier(.16,1,.3,1)}.ovd-attach__remove[_ngcontent-%COMP%]:hover{background:var(--ovd-error-14);color:var(--mat-sys-error)}.ovd-attach__remove[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:1rem;width:1rem;height:1rem}.ovd__actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;padding:1rem 1.5rem 1.25rem}.ovd__progress[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.625rem;min-width:0}.ovd__progress-track[_ngcontent-%COMP%]{position:relative;width:3.5rem;height:.375rem;border-radius:var(--ovd-radius-pill);background:var(--ovd-outline-12);overflow:hidden}.ovd__progress-fill[_ngcontent-%COMP%]{position:absolute;inset:0 auto 0 0;height:100%;border-radius:var(--ovd-radius-pill);background:var(--mat-sys-error);transition:width .4s cubic-bezier(.16,1,.3,1),background .4s cubic-bezier(.16,1,.3,1)}.ovd__progress-fill--done[_ngcontent-%COMP%]{background:var(--mat-sys-primary)}.ovd__progress-label[_ngcontent-%COMP%]{font-size:.75rem;color:var(--mat-sys-on-surface-variant);white-space:nowrap}.ovd__spacer[_ngcontent-%COMP%]{flex:1 1 auto}@media(prefers-color-scheme:dark){[_nghost-%COMP%]{--ovd-shadow: 0 1px 3px color-mix(in srgb, var(--mat-sys-shadow) 30%, transparent)}}.dark[_nghost-%COMP%], .dark [_nghost-%COMP%]{--ovd-shadow: 0 1px 3px color-mix(in srgb, var(--mat-sys-shadow) 30%, transparent)}"], changeDetection: 0 }); }
|
|
16108
|
+
}
|
|
16109
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OverrideReasonsDialogComponent, [{
|
|
16110
|
+
type: Component,
|
|
16111
|
+
args: [{ selector: 'lib-override-reasons-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, host: { 'class': 'lib-override-reasons-dialog' }, imports: [TitleCasePipe, MatDialogModule, MatButtonModule, MatIconModule, MatTooltipModule], template: "<div mat-dialog-title class=\"ovd__header\">\n <span class=\"ovd__header-icon\" aria-hidden=\"true\">\n <mat-icon>flag</mat-icon>\n </span>\n <div class=\"ovd__header-text\">\n <span class=\"ovd__title\">Provide override reasons</span>\n <span class=\"ovd__subtitle\">\n @if (hasBlockingErrors) {\n Motivate each flagged item below. Submission also needs the remaining required fields fixed.\n } @else {\n Add a short reason for each flagged item to unlock submission.\n }\n </span>\n </div>\n</div>\n\n<mat-dialog-content class=\"ovd__content\">\n <ul class=\"ovd__list\">\n @for (err of errors; track err.validatorId) {\n <li class=\"ovd-item\" [class.ovd-item--done]=\"isMotivated(err.validatorId)\">\n <div class=\"ovd-item__head\">\n <div class=\"ovd-item__heading\">\n <p class=\"ovd-item__label\">{{ err.label | titlecase }}</p>\n <p class=\"ovd-item__message\">\n <mat-icon aria-hidden=\"true\">error</mat-icon>\n <span>{{ err.message }}</span>\n </p>\n </div>\n <span class=\"ovd-status\" [class.ovd-status--done]=\"isMotivated(err.validatorId)\">\n <mat-icon aria-hidden=\"true\">{{ isMotivated(err.validatorId) ? 'check_circle' : 'edit_note' }}</mat-icon>\n <span>{{ isMotivated(err.validatorId) ? 'Provided' : 'Needs reason' }}</span>\n </span>\n </div>\n\n <label class=\"ovd-field\">\n <span class=\"ovd-field__label\">Reason</span>\n <textarea\n class=\"ovd-field__input\"\n rows=\"3\"\n [attr.aria-label]=\"'Override reason for ' + err.label\"\n [value]=\"comment(err.validatorId)\"\n (input)=\"onComment(err.validatorId, $event)\"\n placeholder=\"Explain why this can be overridden\u2026\"></textarea>\n </label>\n\n @if (attachmentName(err.validatorId); as fileName) {\n <div class=\"ovd-attach ovd-attach--filled\">\n <mat-icon class=\"ovd-attach__icon\" aria-hidden=\"true\">description</mat-icon>\n <span class=\"ovd-attach__name\">{{ fileName }}</span>\n <button\n type=\"button\"\n class=\"ovd-attach__remove\"\n (click)=\"clearAttachment(err.validatorId)\"\n [attr.aria-label]=\"'Remove the supporting file for ' + err.label\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n } @else {\n <label class=\"ovd-attach ovd-attach--empty\">\n <mat-icon class=\"ovd-attach__icon\" aria-hidden=\"true\">attach_file</mat-icon>\n <span>Attach supporting file <span class=\"ovd-attach__optional\">\u00B7 optional</span></span>\n <input\n type=\"file\"\n hidden\n (change)=\"onAttachment(err.validatorId, $event)\"\n [attr.aria-label]=\"'Attach a supporting file for ' + err.label\" />\n </label>\n }\n </li>\n }\n </ul>\n</mat-dialog-content>\n\n<mat-dialog-actions class=\"ovd__actions\">\n <div class=\"ovd__progress\" role=\"status\" aria-live=\"polite\">\n <span class=\"ovd__progress-track\">\n <span\n class=\"ovd__progress-fill\"\n [class.ovd__progress-fill--done]=\"allMotivated()\"\n [style.width.%]=\"progressPct()\"></span>\n </span>\n <span class=\"ovd__progress-label\">{{ motivatedCount() }} of {{ total }} provided</span>\n </div>\n <span class=\"ovd__spacer\"></span>\n <button mat-flat-button color=\"primary\" mat-dialog-close class=\"ovd__done\">\n {{ allMotivated() ? 'Done' : 'Save & close' }}\n </button>\n</mat-dialog-actions>\n", styles: [":host{--ovd-radius-lg: 12px;--ovd-radius-sm: 8px;--ovd-radius-pill: 999px;--ovd-primary-04: color-mix(in srgb, var(--mat-sys-primary) 4%, transparent);--ovd-primary-06: color-mix(in srgb, var(--mat-sys-primary) 6%, transparent);--ovd-primary-12: color-mix(in srgb, var(--mat-sys-primary) 12%, transparent);--ovd-primary-25: color-mix(in srgb, var(--mat-sys-primary) 25%, transparent);--ovd-error-10: color-mix(in srgb, var(--mat-sys-error) 10%, transparent);--ovd-error-14: color-mix(in srgb, var(--mat-sys-error) 14%, transparent);--ovd-outline-12: color-mix(in srgb, var(--mat-sys-outline) 12%, transparent);--ovd-outline-15: color-mix(in srgb, var(--mat-sys-outline) 15%, transparent);--ovd-shadow: 0 2px 8px color-mix(in srgb, var(--mat-sys-shadow) 8%, transparent);display:block;min-width:min(28rem,88vw);max-width:36rem}.ovd__header{display:flex;align-items:flex-start;gap:1rem;padding:1.25rem 1.5rem 1rem;margin:0}.ovd__header:before{display:none}.ovd__header-icon{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border-radius:var(--ovd-radius-sm);background:var(--ovd-primary-12);color:var(--mat-sys-primary)}.ovd__header-icon mat-icon{font-size:1.5rem;width:1.5rem;height:1.5rem}.ovd__header-text{display:flex;flex-direction:column;gap:.25rem;padding-top:.125rem}.ovd__title{font-size:1.25rem;font-weight:600;letter-spacing:-.01em;line-height:1.3;color:var(--mat-sys-on-surface)}.ovd__subtitle{font-size:.875rem;line-height:1.45;color:var(--mat-sys-on-surface-variant)}.ovd__content{max-height:65vh;padding:1rem 1.5rem .5rem}.ovd__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1rem}.ovd-item{display:flex;flex-direction:column;gap:1rem;padding:1.25rem;border:1px solid var(--ovd-outline-15);border-radius:var(--ovd-radius-lg);background:var(--mat-sys-surface-container-low, var(--mat-sys-surface));box-shadow:var(--ovd-shadow);transition:border-color .3s cubic-bezier(.16,1,.3,1),background .3s cubic-bezier(.16,1,.3,1)}.ovd-item--done{border-color:var(--ovd-primary-12);background:var(--mat-sys-surface-container, var(--mat-sys-surface))}.ovd-item__head{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.ovd-item__heading{display:flex;flex-direction:column;gap:.25rem;min-width:0}.ovd-item__label{margin:0;font-size:.9375rem;font-weight:600;color:var(--mat-sys-on-surface)}.ovd-item__message{display:flex;align-items:center;gap:.375rem;margin:0;font-size:.8125rem;line-height:1.35;color:var(--mat-sys-error)}.ovd-item__message mat-icon{flex-shrink:0;font-size:1rem;width:1rem;height:1rem}.ovd-status{flex-shrink:0;display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .625rem;border-radius:var(--ovd-radius-pill);background:var(--ovd-error-14);color:var(--mat-sys-error);font-size:.75rem;font-weight:600;white-space:nowrap;transition:background .3s cubic-bezier(.16,1,.3,1),color .3s cubic-bezier(.16,1,.3,1)}.ovd-status mat-icon{font-size:1rem;width:1rem;height:1rem}.ovd-status--done{background:var(--ovd-primary-12);color:var(--mat-sys-primary)}.ovd-field{display:flex;flex-direction:column;gap:.35rem}.ovd-field__label{font-size:.75rem;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--mat-sys-on-surface-variant)}.ovd-field__input{width:100%;box-sizing:border-box;padding:.5rem .75rem;font:inherit;font-size:.875rem;line-height:1.5;color:var(--mat-sys-on-surface);background:var(--mat-sys-surface);border:1px solid var(--mat-sys-outline);border-radius:var(--ovd-radius-sm);resize:vertical;transition:border-color .3s cubic-bezier(.16,1,.3,1),box-shadow .3s cubic-bezier(.16,1,.3,1)}.ovd-field__input::placeholder{color:color-mix(in srgb,var(--mat-sys-on-surface-variant) 60%,transparent)}.ovd-field__input:focus{outline:none;border-color:var(--mat-sys-primary);box-shadow:0 0 0 2px var(--ovd-primary-25)}.ovd-attach{display:inline-flex;align-items:center;gap:.5rem;align-self:flex-start;max-width:100%;font-size:.8125rem}.ovd-attach__icon{flex-shrink:0;font-size:1.125rem;width:1.125rem;height:1.125rem}.ovd-attach--empty{padding:.5rem .875rem;border:1px dashed var(--mat-sys-outline);border-radius:var(--ovd-radius-sm);color:var(--mat-sys-on-surface-variant);cursor:pointer;transition:border-color .3s cubic-bezier(.16,1,.3,1),color .3s cubic-bezier(.16,1,.3,1),background .3s cubic-bezier(.16,1,.3,1)}.ovd-attach--empty:hover{border-color:var(--mat-sys-primary);color:var(--mat-sys-primary);background:var(--ovd-primary-06)}.ovd-attach__optional{color:color-mix(in srgb,var(--mat-sys-on-surface-variant) 70%,transparent)}.ovd-attach--filled{padding:.25rem .375rem .25rem .625rem;background:var(--ovd-primary-12);border-radius:var(--ovd-radius-sm);color:var(--mat-sys-on-surface)}.ovd-attach--filled .ovd-attach__icon{color:var(--mat-sys-primary)}.ovd-attach__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:16rem}.ovd-attach__remove{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;padding:0;border:none;border-radius:4px;background:transparent;color:var(--mat-sys-on-surface-variant);cursor:pointer;transition:background .3s cubic-bezier(.16,1,.3,1),color .3s cubic-bezier(.16,1,.3,1)}.ovd-attach__remove:hover{background:var(--ovd-error-14);color:var(--mat-sys-error)}.ovd-attach__remove mat-icon{font-size:1rem;width:1rem;height:1rem}.ovd__actions{display:flex;align-items:center;gap:.75rem;padding:1rem 1.5rem 1.25rem}.ovd__progress{display:inline-flex;align-items:center;gap:.625rem;min-width:0}.ovd__progress-track{position:relative;width:3.5rem;height:.375rem;border-radius:var(--ovd-radius-pill);background:var(--ovd-outline-12);overflow:hidden}.ovd__progress-fill{position:absolute;inset:0 auto 0 0;height:100%;border-radius:var(--ovd-radius-pill);background:var(--mat-sys-error);transition:width .4s cubic-bezier(.16,1,.3,1),background .4s cubic-bezier(.16,1,.3,1)}.ovd__progress-fill--done{background:var(--mat-sys-primary)}.ovd__progress-label{font-size:.75rem;color:var(--mat-sys-on-surface-variant);white-space:nowrap}.ovd__spacer{flex:1 1 auto}@media(prefers-color-scheme:dark){:host{--ovd-shadow: 0 1px 3px color-mix(in srgb, var(--mat-sys-shadow) 30%, transparent)}}:host-context(.dark){--ovd-shadow: 0 1px 3px color-mix(in srgb, var(--mat-sys-shadow) 30%, transparent)}\n"] }]
|
|
16112
|
+
}], null, null); })();
|
|
16113
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(OverrideReasonsDialogComponent, { className: "OverrideReasonsDialogComponent", filePath: "lib/components/user-form-stepper/elements/override-reasons-dialog/override-reasons-dialog.component.ts", lineNumber: 60 }); })();
|
|
16114
|
+
|
|
15228
16115
|
const _c0$b = ["stepper"];
|
|
15229
|
-
const UserFormStepperComponent_Defer_15_DepsFn = () => [
|
|
15230
|
-
const UserFormStepperComponent_For_12_Conditional_0_Conditional_2_Defer_2_DepsFn = () => [
|
|
16116
|
+
const UserFormStepperComponent_Defer_15_DepsFn = () => [i2.MatButton, i3$1.MatIcon, i4.MatProgressSpinner, i8.MatToolbar, i7$2.TourAnchorMatMenuDirective];
|
|
16117
|
+
const UserFormStepperComponent_For_12_Conditional_0_Conditional_2_Defer_2_DepsFn = () => [i2.MatButton, i4$1.MatStepperNext, i4$1.MatStepperPrevious, Promise.resolve().then(function () { return tFormInput_component; }).then(m => m.TFormInputComponent), i1$1.NgControlStatusGroup, i1$1.FormGroupDirective, i7$2.TourAnchorMatMenuDirective];
|
|
15231
16118
|
const _forTrack0$6 = ($index, $item) => $item.sectionId;
|
|
15232
16119
|
const _forTrack1$2 = ($index, $item) => $item.id;
|
|
15233
|
-
const _forTrack2$1 = ($index, $item) => $item.validatorId;
|
|
15234
16120
|
function UserFormStepperComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
15235
16121
|
i0.ɵɵelementStart(0, "div", 1);
|
|
15236
16122
|
i0.ɵɵelement(1, "mat-spinner", 8);
|
|
@@ -15376,91 +16262,63 @@ function UserFormStepperComponent_For_12_Template(rf, ctx) { if (rf & 1) {
|
|
|
15376
16262
|
const step_r3 = ctx.$implicit;
|
|
15377
16263
|
i0.ɵɵconditional(!!step_r3.sectionForm ? 0 : -1);
|
|
15378
16264
|
} }
|
|
15379
|
-
function
|
|
15380
|
-
i0.ɵɵtext(0, " Resolve the remaining required errors above, then motivate each override below to continue. ");
|
|
15381
|
-
} }
|
|
15382
|
-
function UserFormStepperComponent_Defer_13_Conditional_1_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
15383
|
-
i0.ɵɵtext(0, " Motivate each flagged validation below to enable submission. ");
|
|
15384
|
-
} }
|
|
15385
|
-
function UserFormStepperComponent_Defer_13_Conditional_1_For_11_Template(rf, ctx) { if (rf & 1) {
|
|
16265
|
+
function UserFormStepperComponent_Defer_13_Conditional_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
15386
16266
|
const _r14 = i0.ɵɵgetCurrentView();
|
|
15387
|
-
i0.ɵɵelementStart(0, "
|
|
15388
|
-
i0.ɵɵ
|
|
15389
|
-
i0.ɵɵ
|
|
15390
|
-
i0.ɵɵ
|
|
15391
|
-
i0.ɵɵelementStart(4, "p", 40);
|
|
15392
|
-
i0.ɵɵtext(5);
|
|
15393
|
-
i0.ɵɵelementEnd();
|
|
15394
|
-
i0.ɵɵelementStart(6, "textarea", 41);
|
|
15395
|
-
i0.ɵɵlistener("input", function UserFormStepperComponent_Defer_13_Conditional_1_For_11_Template_textarea_input_6_listener($event) { const err_r15 = i0.ɵɵrestoreView(_r14).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onOverrideComment(err_r15.validatorId, $event)); });
|
|
15396
|
-
i0.ɵɵelementEnd();
|
|
15397
|
-
i0.ɵɵelementStart(7, "div", 42)(8, "label", 43)(9, "mat-icon", 44);
|
|
15398
|
-
i0.ɵɵtext(10, "attach_file");
|
|
15399
|
-
i0.ɵɵelementEnd();
|
|
15400
|
-
i0.ɵɵelementStart(11, "span");
|
|
15401
|
-
i0.ɵɵtext(12);
|
|
16267
|
+
i0.ɵɵelementStart(0, "button", 35);
|
|
16268
|
+
i0.ɵɵlistener("click", function UserFormStepperComponent_Defer_13_Conditional_4_Conditional_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r14); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.openOverrideDialog()); });
|
|
16269
|
+
i0.ɵɵelementStart(1, "mat-icon");
|
|
16270
|
+
i0.ɵɵtext(2, "flag");
|
|
15402
16271
|
i0.ɵɵelementEnd();
|
|
15403
|
-
i0.ɵɵelementStart(
|
|
15404
|
-
i0.ɵɵ
|
|
15405
|
-
i0.ɵɵelementEnd()()
|
|
16272
|
+
i0.ɵɵelementStart(3, "span");
|
|
16273
|
+
i0.ɵɵtext(4);
|
|
16274
|
+
i0.ɵɵelementEnd()();
|
|
15406
16275
|
} if (rf & 2) {
|
|
15407
|
-
const
|
|
15408
|
-
|
|
15409
|
-
i0.ɵɵadvance(
|
|
15410
|
-
i0.ɵɵ
|
|
15411
|
-
i0.ɵɵadvance(3);
|
|
15412
|
-
i0.ɵɵtextInterpolate(err_r15.message);
|
|
15413
|
-
i0.ɵɵadvance();
|
|
15414
|
-
i0.ɵɵproperty("value", ctx_r1.overrideComment(err_r15.validatorId));
|
|
15415
|
-
i0.ɵɵattribute("aria-label", "Override reason for " + err_r15.label);
|
|
15416
|
-
i0.ɵɵadvance(6);
|
|
15417
|
-
i0.ɵɵtextInterpolate(ctx_r1.overrideAttachmentName(err_r15.validatorId) || "Attach supporting file (optional)");
|
|
15418
|
-
i0.ɵɵadvance();
|
|
15419
|
-
i0.ɵɵattribute("aria-label", "Attach a supporting file for " + err_r15.label);
|
|
16276
|
+
const pending_r15 = ctx;
|
|
16277
|
+
i0.ɵɵattribute("aria-label", "Provide override " + (pending_r15 === 1 ? "reason" : "reasons") + ", " + pending_r15 + " still required");
|
|
16278
|
+
i0.ɵɵadvance(4);
|
|
16279
|
+
i0.ɵɵtextInterpolate2("Provide ", pending_r15, " ", pending_r15 === 1 ? "reason" : "reasons");
|
|
15420
16280
|
} }
|
|
15421
|
-
function
|
|
15422
|
-
|
|
15423
|
-
i0.ɵɵ
|
|
15424
|
-
i0.ɵɵ
|
|
15425
|
-
i0.ɵɵelementStart(
|
|
15426
|
-
i0.ɵɵtext(
|
|
15427
|
-
i0.ɵɵelementEnd();
|
|
15428
|
-
i0.ɵɵelementStart(7, "p", 37);
|
|
15429
|
-
i0.ɵɵconditionalCreate(8, UserFormStepperComponent_Defer_13_Conditional_1_Conditional_8_Template, 1, 0)(9, UserFormStepperComponent_Defer_13_Conditional_1_Conditional_9_Template, 1, 0);
|
|
15430
|
-
i0.ɵɵelementEnd()()();
|
|
15431
|
-
i0.ɵɵrepeaterCreate(10, UserFormStepperComponent_Defer_13_Conditional_1_For_11_Template, 14, 8, "div", 38, _forTrack2$1);
|
|
16281
|
+
function UserFormStepperComponent_Defer_13_Conditional_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
16282
|
+
const _r16 = i0.ɵɵgetCurrentView();
|
|
16283
|
+
i0.ɵɵelementStart(0, "button", 36);
|
|
16284
|
+
i0.ɵɵlistener("click", function UserFormStepperComponent_Defer_13_Conditional_4_Conditional_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r16); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.openOverrideDialog()); });
|
|
16285
|
+
i0.ɵɵelementStart(1, "mat-icon");
|
|
16286
|
+
i0.ɵɵtext(2, "check_circle");
|
|
15432
16287
|
i0.ɵɵelementEnd();
|
|
16288
|
+
i0.ɵɵelementStart(3, "span");
|
|
16289
|
+
i0.ɵɵtext(4, "Reasons provided");
|
|
16290
|
+
i0.ɵɵelementEnd()();
|
|
16291
|
+
} }
|
|
16292
|
+
function UserFormStepperComponent_Defer_13_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
16293
|
+
i0.ɵɵconditionalCreate(0, UserFormStepperComponent_Defer_13_Conditional_4_Conditional_0_Template, 5, 3, "button", 33)(1, UserFormStepperComponent_Defer_13_Conditional_4_Conditional_1_Template, 5, 0, "button", 34);
|
|
15433
16294
|
} if (rf & 2) {
|
|
16295
|
+
let tmp_3_0;
|
|
15434
16296
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
15435
|
-
i0.ɵɵ
|
|
15436
|
-
i0.ɵɵconditional(ctx_r1.hasBlockingErrors ? 8 : 9);
|
|
15437
|
-
i0.ɵɵadvance(2);
|
|
15438
|
-
i0.ɵɵrepeater(ctx_r1.overridableErrors);
|
|
16297
|
+
i0.ɵɵconditional((tmp_3_0 = ctx_r1.pendingOverrideCount) ? 0 : 1, tmp_3_0);
|
|
15439
16298
|
} }
|
|
15440
16299
|
function UserFormStepperComponent_Defer_13_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
15441
|
-
i0.ɵɵelement(0, "mat-spinner",
|
|
16300
|
+
i0.ɵɵelement(0, "mat-spinner", 32);
|
|
15442
16301
|
} }
|
|
15443
16302
|
function UserFormStepperComponent_Defer_13_Template(rf, ctx) { if (rf & 1) {
|
|
15444
16303
|
const _r13 = i0.ɵɵgetCurrentView();
|
|
15445
|
-
i0.ɵɵelementStart(0, "footer");
|
|
15446
|
-
i0.ɵɵ
|
|
15447
|
-
i0.ɵɵelementStart(2, "mat-toolbar", 30)(3, "span", 31);
|
|
15448
|
-
i0.ɵɵtext(4);
|
|
16304
|
+
i0.ɵɵelementStart(0, "footer")(1, "mat-toolbar", 29)(2, "span", 30);
|
|
16305
|
+
i0.ɵɵtext(3);
|
|
15449
16306
|
i0.ɵɵelementEnd();
|
|
15450
|
-
i0.ɵɵ
|
|
16307
|
+
i0.ɵɵconditionalCreate(4, UserFormStepperComponent_Defer_13_Conditional_4_Template, 2, 1);
|
|
16308
|
+
i0.ɵɵelementStart(5, "button", 31);
|
|
15451
16309
|
i0.ɵɵlistener("click", function UserFormStepperComponent_Defer_13_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r13); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.handleSubmit()); });
|
|
15452
16310
|
i0.ɵɵelementStart(6, "span");
|
|
15453
16311
|
i0.ɵɵtext(7);
|
|
15454
16312
|
i0.ɵɵelementEnd();
|
|
15455
|
-
i0.ɵɵconditionalCreate(8, UserFormStepperComponent_Defer_13_Conditional_8_Template, 1, 0, "mat-spinner",
|
|
16313
|
+
i0.ɵɵconditionalCreate(8, UserFormStepperComponent_Defer_13_Conditional_8_Template, 1, 0, "mat-spinner", 32);
|
|
15456
16314
|
i0.ɵɵelementEnd()()();
|
|
15457
16315
|
} if (rf & 2) {
|
|
15458
16316
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
15459
|
-
i0.ɵɵadvance();
|
|
15460
|
-
i0.ɵɵconditional(ctx_r1.overridableErrors.length > 0 ? 1 : -1);
|
|
15461
16317
|
i0.ɵɵadvance(3);
|
|
15462
16318
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.getSubmissionStatus, " ");
|
|
15463
16319
|
i0.ɵɵadvance();
|
|
16320
|
+
i0.ɵɵconditional(ctx_r1.overridableErrors.length > 0 ? 4 : -1);
|
|
16321
|
+
i0.ɵɵadvance();
|
|
15464
16322
|
i0.ɵɵproperty("tourAnchor", "form-submit-button")("disabled", !ctx_r1.canSubmit || ctx_r1.engine.submittingForm);
|
|
15465
16323
|
i0.ɵɵadvance(2);
|
|
15466
16324
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.engine.formSubmissionMessage(), " ");
|
|
@@ -15469,7 +16327,7 @@ function UserFormStepperComponent_Defer_13_Template(rf, ctx) { if (rf & 1) {
|
|
|
15469
16327
|
} }
|
|
15470
16328
|
function UserFormStepperComponent_DeferPlaceholder_14_Template(rf, ctx) { if (rf & 1) {
|
|
15471
16329
|
i0.ɵɵelementStart(0, "footer");
|
|
15472
|
-
i0.ɵɵelement(1, "div",
|
|
16330
|
+
i0.ɵɵelement(1, "div", 37);
|
|
15473
16331
|
i0.ɵɵelementEnd();
|
|
15474
16332
|
} }
|
|
15475
16333
|
/**
|
|
@@ -15583,7 +16441,7 @@ class UserFormStepperComponent {
|
|
|
15583
16441
|
// ──────────────────────────────────────────────────────────────────────────
|
|
15584
16442
|
// Overridable-validation gate
|
|
15585
16443
|
// ──────────────────────────────────────────────────────────────────────────
|
|
15586
|
-
this.#
|
|
16444
|
+
this.#dialog = inject(MatDialog);
|
|
15587
16445
|
}
|
|
15588
16446
|
#destroyRef;
|
|
15589
16447
|
/**
|
|
@@ -15690,7 +16548,7 @@ class UserFormStepperComponent {
|
|
|
15690
16548
|
// ──────────────────────────────────────────────────────────────────────────
|
|
15691
16549
|
// Overridable-validation gate
|
|
15692
16550
|
// ──────────────────────────────────────────────────────────────────────────
|
|
15693
|
-
#
|
|
16551
|
+
#dialog;
|
|
15694
16552
|
/** Still-failing overridable validations the user may motivate to submit. */
|
|
15695
16553
|
get overridableErrors() {
|
|
15696
16554
|
return this.engine.overridableErrors();
|
|
@@ -15703,41 +16561,29 @@ class UserFormStepperComponent {
|
|
|
15703
16561
|
get canSubmit() {
|
|
15704
16562
|
return this.engine.canSubmit();
|
|
15705
16563
|
}
|
|
15706
|
-
/**
|
|
15707
|
-
|
|
15708
|
-
|
|
15709
|
-
|
|
15710
|
-
|
|
15711
|
-
|
|
15712
|
-
return this.engine
|
|
15713
|
-
|
|
15714
|
-
|
|
15715
|
-
onOverrideComment(validatorId, event) {
|
|
15716
|
-
const value = event.target.value;
|
|
15717
|
-
this.engine.setOverrideComment(validatorId, value);
|
|
16564
|
+
/**
|
|
16565
|
+
* Overridable validations that still lack a non-empty motivation — the count
|
|
16566
|
+
* shown on the "Provide reason" button and what keeps submission gated.
|
|
16567
|
+
*/
|
|
16568
|
+
get pendingOverrideCount() {
|
|
16569
|
+
const reasons = this.engine.overrideReasons;
|
|
16570
|
+
return this.engine
|
|
16571
|
+
.overridableErrors()
|
|
16572
|
+
.filter((e) => (reasons[e.validatorId]?.comment ?? '').trim().length === 0).length;
|
|
15718
16573
|
}
|
|
15719
16574
|
/**
|
|
15720
|
-
*
|
|
15721
|
-
*
|
|
15722
|
-
*
|
|
16575
|
+
* Opens the override-reasons dialog so the user can add or edit a motivation
|
|
16576
|
+
* (and optional supporting file) for each overridable validation. The dialog
|
|
16577
|
+
* writes back through the engine, so the submit gate updates live on close.
|
|
15723
16578
|
*/
|
|
15724
|
-
|
|
15725
|
-
|
|
15726
|
-
|
|
15727
|
-
|
|
15728
|
-
|
|
15729
|
-
|
|
15730
|
-
|
|
15731
|
-
}
|
|
15732
|
-
const result = await onFileSelectEventInput(event, file.type);
|
|
15733
|
-
const attachment = {
|
|
15734
|
-
base64: typeof result.base64 === 'string' ? result.base64 : '',
|
|
15735
|
-
fileName: result.fileName,
|
|
15736
|
-
type: file.type,
|
|
15737
|
-
id: v4(),
|
|
15738
|
-
fileExtension: result.fileName.includes('.') ? result.fileName.split('.').pop() ?? '' : '',
|
|
15739
|
-
};
|
|
15740
|
-
this.engine.setOverrideAttachment(validatorId, attachment);
|
|
16579
|
+
openOverrideDialog() {
|
|
16580
|
+
this.#dialog.open(OverrideReasonsDialogComponent, {
|
|
16581
|
+
data: { controller: this.engine },
|
|
16582
|
+
width: 'min(560px, 92vw)',
|
|
16583
|
+
maxHeight: '85vh',
|
|
16584
|
+
autoFocus: 'first-tabbable',
|
|
16585
|
+
restoreFocus: true,
|
|
16586
|
+
});
|
|
15741
16587
|
}
|
|
15742
16588
|
get hasTour() {
|
|
15743
16589
|
return this.engine.selectAllFormTours().length > 0;
|
|
@@ -15819,7 +16665,7 @@ class UserFormStepperComponent {
|
|
|
15819
16665
|
i0.ɵɵqueryAdvance();
|
|
15820
16666
|
} }, hostBindings: function UserFormStepperComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
15821
16667
|
i0.ɵɵlistener("keydown", function UserFormStepperComponent_keydown_HostBindingHandler($event) { return ctx.onKeyDown($event); }, i0.ɵɵresolveDocument);
|
|
15822
|
-
} }, inputs: { formId: [1, "formId"], initialValues: [1, "initialValues"], globalSystemInputs: [1, "globalSystemInputs"], passParamsOnSubmit: [1, "passParamsOnSubmit"], showAiSuggestions: [1, "showAiSuggestions"] }, features: [i0.ɵɵProvidersFeature([TFormEngine])], decls: 17, vars: 8, consts: [["stepper", ""], [1, "loading-container"], [2, "background", "none", "height", "28px", 3, "tourAnchor"], [1, "spacer"], [2, "font-size", "small"], ["mat-icon-button", "", 3, "click", "matTooltip"], [1, "form-ai-suggestions", 3, "suggestions", "schema", "previewValue"], ["orientation", "vertical", "aria-label", "Form sections stepper", 1, "form-stepper", 3, "selectionChange", "linear", "animationDuration"], ["diameter", "48", "aria-label", "Loading form"], [1, "form-ai-suggestions", 3, "accept", "reject", "acceptAll", "rejectAll", "suggestions", "schema", "previewValue"], [3, "stepControl", "completed", "editable", "errorMessage", "state", "hasError"], ["matStepLabel", ""], [1, "step-label-container", 3, "tourAnchor"], [1, "step-label-text"], [3, "error"], ["mat-icon-button", "", "matTooltip", "Click to refresh this section.", 1, "input-sync-button", 2, "margin-right", "8px"], ["mat-icon-button", "", "matTooltip", "Click to refresh this section.", 1, "input-sync-button", 2, "margin-right", "8px", 3, "click"], [2, "color", "var(--mat-sys-primary)"], [1, "step-content", 3, "tourAnchor"], [1, "row", "form-section"], [3, "class"], [1, "step-actions"], ["mat-button", "", "matStepperPrevious", "", "type", "button", 1, "navigation-button"], ["mat-flat-button", "", "matStepperNext", "", "color", "primary", "type", "button", 1, "navigation-button"], ["mat-button", ""], [3, "valueChange", "tourAnchor", "editorMode", "formBuilderFunctions", "inputConfig", "formGroup"], ["mat-button", "", 3, "click"], [2, "padding", "50px", "display", "flex", "justify-content", "center", "align-items", "center", "text-align", "center"], ["diameter", "24"], ["
|
|
16668
|
+
} }, inputs: { formId: [1, "formId"], initialValues: [1, "initialValues"], globalSystemInputs: [1, "globalSystemInputs"], passParamsOnSubmit: [1, "passParamsOnSubmit"], showAiSuggestions: [1, "showAiSuggestions"] }, features: [i0.ɵɵProvidersFeature([TFormEngine])], decls: 17, vars: 8, consts: [["stepper", ""], [1, "loading-container"], [2, "background", "none", "height", "28px", 3, "tourAnchor"], [1, "spacer"], [2, "font-size", "small"], ["mat-icon-button", "", 3, "click", "matTooltip"], [1, "form-ai-suggestions", 3, "suggestions", "schema", "previewValue"], ["orientation", "vertical", "aria-label", "Form sections stepper", 1, "form-stepper", 3, "selectionChange", "linear", "animationDuration"], ["diameter", "48", "aria-label", "Loading form"], [1, "form-ai-suggestions", 3, "accept", "reject", "acceptAll", "rejectAll", "suggestions", "schema", "previewValue"], [3, "stepControl", "completed", "editable", "errorMessage", "state", "hasError"], ["matStepLabel", ""], [1, "step-label-container", 3, "tourAnchor"], [1, "step-label-text"], [3, "error"], ["mat-icon-button", "", "matTooltip", "Click to refresh this section.", 1, "input-sync-button", 2, "margin-right", "8px"], ["mat-icon-button", "", "matTooltip", "Click to refresh this section.", 1, "input-sync-button", 2, "margin-right", "8px", 3, "click"], [2, "color", "var(--mat-sys-primary)"], [1, "step-content", 3, "tourAnchor"], [1, "row", "form-section"], [3, "class"], [1, "step-actions"], ["mat-button", "", "matStepperPrevious", "", "type", "button", 1, "navigation-button"], ["mat-flat-button", "", "matStepperNext", "", "color", "primary", "type", "button", 1, "navigation-button"], ["mat-button", ""], [3, "valueChange", "tourAnchor", "editorMode", "formBuilderFunctions", "inputConfig", "formGroup"], ["mat-button", "", 3, "click"], [2, "padding", "50px", "display", "flex", "justify-content", "center", "align-items", "center", "text-align", "center"], ["diameter", "24"], ["role", "toolbar", "aria-label", "Form submission actions", 1, "submission-toolbar"], ["role", "status", 1, "submission-status", 2, "font-size", "0.625em"], ["mat-raised-button", "", "color", "primary", "aria-label", "Submit form", 2, "min-width", "fit-content", 3, "click", "tourAnchor", "disabled"], ["diameter", "10"], ["mat-flat-button", "", "color", "warn", "type", "button", 1, "override-reason-button"], ["mat-stroked-button", "", "type", "button", "aria-label", "Review or edit the provided override reasons", 1, "override-reason-button", "override-reason-button--done"], ["mat-flat-button", "", "color", "warn", "type", "button", 1, "override-reason-button", 3, "click"], ["mat-stroked-button", "", "type", "button", "aria-label", "Review or edit the provided override reasons", 1, "override-reason-button", "override-reason-button--done", 3, "click"], [1, "submission-toolbar-placeholder"]], template: function UserFormStepperComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15823
16669
|
i0.ɵɵconditionalCreate(0, UserFormStepperComponent_Conditional_0_Template, 2, 0, "div", 1);
|
|
15824
16670
|
i0.ɵɵelementStart(1, "mat-toolbar", 2);
|
|
15825
16671
|
i0.ɵɵelement(2, "span", 3);
|
|
@@ -15853,8 +16699,8 @@ class UserFormStepperComponent {
|
|
|
15853
16699
|
i0.ɵɵproperty("linear", !ctx.isEditable)("animationDuration", "300");
|
|
15854
16700
|
i0.ɵɵadvance(2);
|
|
15855
16701
|
i0.ɵɵrepeater(ctx.engine.selectFormSteps());
|
|
15856
|
-
} }, dependencies: [MatButtonModule,
|
|
15857
|
-
ReactiveFormsModule, i7$2.TourAnchorMatMenuDirective, TitleCasePipe], styles: [".form-stepper[_ngcontent-%COMP%]{min-height:400px}.form-ai-suggestions[_ngcontent-%COMP%]{display:block;margin:1.5rem 0 2rem}.step-label-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;width:100%;gap:16px}.step-error-message[_ngcontent-%COMP%]{font-size:.75em;opacity:.9;margin-left:16px}.form-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(12,1fr);gap:8px;margin-bottom:24px}.step-actions[_ngcontent-%COMP%]{display:flex;gap:16px;margin-top:24px}.navigation-button[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.loading-container[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:32px}footer[_ngcontent-%COMP%]{position:sticky;bottom:0}.submission-toolbar[_ngcontent-%COMP%]{z-index:1000;background:#ffffff0d;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-top:var(--mat-divider-width) solid var(--mat-divider-color);padding:8px 16px;display:flex;justify-content:flex-end;gap:16px}.submission-status[_ngcontent-%COMP%]{font-size:.75em;opacity:.87;display:flex;align-items:center}.box[_ngcontent-%COMP%]{padding:8px 5px 5px}.tour-trigger[_ngcontent-%COMP%]{position:absolute;right:8px;font-size:.75em;opacity:.6}.tour-trigger[_ngcontent-%COMP%]:hover{opacity:1}.step-label-text[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px;cursor:pointer}.override-
|
|
16702
|
+
} }, dependencies: [MatButtonModule, i2.MatIconButton, MatIconModule, i3$1.MatIcon, MatProgressSpinnerModule, i4.MatProgressSpinner, MatStepperModule, i4$1.MatStep, i4$1.MatStepLabel, i4$1.MatStepper, MatToolbarModule, i8.MatToolbar, MatTooltipModule, i5.MatTooltip, TSuggestionReviewComponent,
|
|
16703
|
+
ReactiveFormsModule, i7$2.TourAnchorMatMenuDirective, TitleCasePipe], styles: [".form-stepper[_ngcontent-%COMP%]{min-height:400px}.form-ai-suggestions[_ngcontent-%COMP%]{display:block;margin:1.5rem 0 2rem}.step-label-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;width:100%;gap:16px}.step-error-message[_ngcontent-%COMP%]{font-size:.75em;opacity:.9;margin-left:16px}.form-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(12,1fr);gap:8px;margin-bottom:24px}.step-actions[_ngcontent-%COMP%]{display:flex;gap:16px;margin-top:24px}.navigation-button[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.loading-container[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:32px}footer[_ngcontent-%COMP%]{position:sticky;bottom:0}.submission-toolbar[_ngcontent-%COMP%]{z-index:1000;background:#ffffff0d;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-top:var(--mat-divider-width) solid var(--mat-divider-color);padding:8px 16px;display:flex;justify-content:flex-end;gap:16px}.submission-status[_ngcontent-%COMP%]{font-size:.75em;opacity:.87;display:flex;align-items:center;white-space:normal}.box[_ngcontent-%COMP%]{padding:8px 5px 5px}.tour-trigger[_ngcontent-%COMP%]{position:absolute;right:8px;font-size:.75em;opacity:.6}.tour-trigger[_ngcontent-%COMP%]:hover{opacity:1}.step-label-text[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px;cursor:pointer}.override-reason-button[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;min-width:fit-content}.override-reason-button--done[_ngcontent-%COMP%]{color:var(--mat-sys-primary);border-color:color-mix(in srgb,var(--mat-sys-primary) 40%,transparent)}.override-reason-button--done[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:var(--mat-sys-primary)}"], changeDetection: 0 }); }
|
|
15858
16704
|
}
|
|
15859
16705
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadataAsync(UserFormStepperComponent, () => [Promise.resolve().then(function () { return tFormInput_component; }).then(m => m.TFormInputComponent)], TFormInputComponent => { i0.ɵsetClassMetadata(UserFormStepperComponent, [{
|
|
15860
16706
|
type: Component,
|
|
@@ -15872,9 +16718,9 @@ class UserFormStepperComponent {
|
|
|
15872
16718
|
...TourMatMenu,
|
|
15873
16719
|
], changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
15874
16720
|
'(document:keydown)': 'onKeyDown($event)',
|
|
15875
|
-
}, providers: [TFormEngine], template: "@if (loading()) {\r\n<div class=\"loading-container\">\r\n <mat-spinner diameter=\"48\" aria-label=\"Loading form\" />\r\n</div>\r\n}\r\n\r\n <mat-toolbar [tourAnchor]=\"'form-title'\" style=\" background: none;\r\n height: 28px;\">\r\n <span class=\"spacer\"></span>\r\n <span style=\"font-size: small;\">\r\n help\r\n </span>\r\n<button \r\n[matTooltip]=\"'Start guided tour for this form'\"\r\n mat-icon-button (click)=\"startTour()\">\r\n <mat-icon>\r\n help\r\n </mat-icon>\r\n</button>\r\n</mat-toolbar>\r\n\r\n@if (showAiSuggestions() && hasPendingSuggestions()) {\r\n<t-suggestion-review\r\n class=\"form-ai-suggestions\"\r\n [suggestions]=\"engine.stagedSuggestions()\"\r\n [schema]=\"engine.editableFormSchema()\"\r\n [previewValue]=\"engine.previewFormValue()\"\r\n (accept)=\"engine.acceptSuggestion($event)\"\r\n (reject)=\"engine.rejectSuggestion($event)\"\r\n (acceptAll)=\"engine.acceptAllSuggestions()\"\r\n (rejectAll)=\"engine.rejectAllSuggestions()\" />\r\n}\r\n\r\n<mat-stepper\r\n\r\n[style.display]=\"loading()?'none':'block'\" #stepper class=\"form-stepper\" orientation=\"vertical\"\r\n [linear]=\"!isEditable\" aria-label=\"Form sections stepper\" [animationDuration]=\"'300'\"\r\n (selectionChange)=\"engine.handleStepChange($event)\">\r\n\r\n @for (step of engine.selectFormSteps(); track step.sectionId) {\r\n @if (!!step.sectionForm ) {\r\n <mat-step [stepControl]=\"step.sectionForm\" [completed]=\"step.sectionIsSeen && !step.sectionIsInvalid\"\r\n\r\n [editable]=\"isEditable\" [errorMessage]=\"step.sectionFormErrorMessage||''\" [state]=\"getStepState(step,$index)\"\r\n [hasError]=\"!step.sectionForm.valid && !!step.sectionForm.touched\">\r\n <ng-template matStepLabel >\r\n <div [tourAnchor]=\"step.sectionId\" class=\"step-label-container\" [attr.aria-label]=\"'Section ' + step.label\">\r\n <span class=\"step-label-text\">{{step.label|titlecase}}</span>\r\n @if (step.sectionIsSeen) {\r\n <mat-icon [class.error]=\"step.sectionIsInvalid\"\r\n [attr.aria-label]=\"step.sectionIsInvalid ? 'Section has errors' : 'Section completed'\">\r\n {{step.sectionIsSeen}}\r\n </mat-icon>\r\n }\r\n @if(engine.canRefreshSection(step.sectionId) && step.isActive){\r\n <button mat-icon-button\r\n style=\"margin-right: 8px;\"\r\n matTooltip=\"Click to refresh this section.\"\r\n class=\"input-sync-button\"\r\n (click)=\"refreshASection(step.sectionId)\" >\r\n <mat-icon style=\"color:var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n \r\n </div>\r\n </ng-template>\r\n @if(!!step.isActive){\r\n @defer (on viewport; prefetch on idle) {\r\n <div [tourAnchor]=\"'content-'+step.sectionId\" class=\"step-content\">\r\n <div class=\"row form-section\">\r\n @for (col of step.columns; track col.id) {\r\n <div [class]=\"'col-md-'+col.colSize + ' box'\">\r\n <lib-t-form-input \r\n [tourAnchor]=\"col.id\" (valueChange)=\"engine.updateValue(col.id,$event)\" [editorMode]=\"false\"\r\n [formBuilderFunctions]=\"formBuilderFunctions\" [inputConfig]=\"col\" [formGroup]=\"step.sectionForm\"\r\n [attr.aria-label]=\"col?.label || ''\">\r\n </lib-t-form-input>\r\n </div>\r\n }\r\n </div>\r\n\r\n <div class=\"step-actions\">\r\n @if(!$first) {\r\n <button\r\n \r\n mat-button matStepperPrevious type=\"button\" class=\"navigation-button\"\r\n [attr.aria-label]=\"'Go back to ' + getPreviousStepLabel()\">\r\n\r\n Back\r\n </button>\r\n }\r\n @if (!$last) {\r\n <button\r\n \r\n mat-flat-button matStepperNext color=\"primary\" type=\"button\" class=\"navigation-button\"\r\n [attr.aria-label]=\"'Continue to ' + getNextStepLabel()\">\r\n Next\r\n </button>\r\n }\r\n @if (!!$last) {\r\n <button mat-button (click)=\"stepper.reset();engine.reset()\">Reset</button>\r\n }\r\n </div>\r\n </div>\r\n } @placeholder {\r\n <div style=\"padding: 50px;display:flex;justify-content:center;align-items:center; text-align: center;\">\r\n <mat-spinner diameter=\"24\" />\r\n </div>\r\n }\r\n\r\n }\r\n\r\n </mat-step>\r\n }\r\n }\r\n</mat-stepper>\r\n\r\n<!-- Defer the footer toolbar until after the main form is loaded -->\r\n@defer (on idle; prefetch on viewport) {\r\n<footer>\r\n <!-- Override-reason panel: shown only when the form's sole remaining failures\r\n are overridable validations. Each requires a motivation (and optionally a\r\n supporting file) before the continue button unlocks. -->\r\n @if (overridableErrors.length > 0) {\r\n <section class=\"override-panel\" aria-label=\"Provide override reasons\">\r\n <header class=\"override-panel__header\">\r\n <mat-icon class=\"override-panel__icon\" aria-hidden=\"true\">flag</mat-icon>\r\n <div>\r\n <p class=\"override-panel__title\">Provide override reason</p>\r\n <p class=\"override-panel__hint\">\r\n @if (hasBlockingErrors) {\r\n Resolve the remaining required errors above, then motivate each override below to continue.\r\n } @else {\r\n Motivate each flagged validation below to enable submission.\r\n }\r\n </p>\r\n </div>\r\n </header>\r\n\r\n @for (err of overridableErrors; track err.validatorId) {\r\n <div class=\"override-item\">\r\n <p class=\"override-item__label\">{{ err.label | titlecase }}</p>\r\n <p class=\"override-item__message\">{{ err.message }}</p>\r\n <textarea\r\n class=\"override-item__comment\"\r\n rows=\"2\"\r\n [attr.aria-label]=\"'Override reason for ' + err.label\"\r\n [value]=\"overrideComment(err.validatorId)\"\r\n (input)=\"onOverrideComment(err.validatorId, $event)\"\r\n placeholder=\"Motivate why this can be overridden\u2026\"></textarea>\r\n <div class=\"override-item__attach\">\r\n <label class=\"override-item__attach-label\">\r\n <mat-icon aria-hidden=\"true\">attach_file</mat-icon>\r\n <span>{{ overrideAttachmentName(err.validatorId) || 'Attach supporting file (optional)' }}</span>\r\n <input type=\"file\" hidden (change)=\"onOverrideAttachment(err.validatorId, $event)\"\r\n [attr.aria-label]=\"'Attach a supporting file for ' + err.label\" />\r\n </label>\r\n </div>\r\n </div>\r\n }\r\n </section>\r\n }\r\n\r\n <mat-toolbar class=\"submission-toolbar\" role=\"toolbar\" aria-label=\"Form submission actions\">\r\n <span class=\"submission-status\" style=\"font-size: 0.625em\" role=\"status\">\r\n {{getSubmissionStatus}}\r\n </span>\r\n <button [tourAnchor]=\"'form-submit-button'\" mat-raised-button color=\"primary\" [disabled]=\"!canSubmit || engine.submittingForm\" (click)=\"handleSubmit()\"\r\n aria-label=\"Submit form\">\r\n <span>\r\n {{ engine.formSubmissionMessage()}}\r\n </span>\r\n @if(engine.submittingForm){\r\n <mat-spinner diameter=\"10\"></mat-spinner>\r\n }\r\n\r\n </button>\r\n </mat-toolbar>\r\n</footer>\r\n} @placeholder {\r\n<!-- Simple placeholder for the footer that maintains layout -->\r\n<footer>\r\n <div class=\"submission-toolbar-placeholder\"></div>\r\n</footer>\r\n}", styles: [".form-stepper{min-height:400px}.form-ai-suggestions{display:block;margin:1.5rem 0 2rem}.step-label-container{display:flex;justify-content:space-between;align-items:center;width:100%;gap:16px}.step-error-message{font-size:.75em;opacity:.9;margin-left:16px}.form-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:8px;margin-bottom:24px}.step-actions{display:flex;gap:16px;margin-top:24px}.navigation-button{display:flex;align-items:center;gap:8px}.loading-container{display:flex;justify-content:center;padding:32px}footer{position:sticky;bottom:0}.submission-toolbar{z-index:1000;background:#ffffff0d;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-top:var(--mat-divider-width) solid var(--mat-divider-color);padding:8px 16px;display:flex;justify-content:flex-end;gap:16px}.submission-status{font-size:.75em;opacity:.87;display:flex;align-items:center}.box{padding:8px 5px 5px}.tour-trigger{position:absolute;right:8px;font-size:.75em;opacity:.6}.tour-trigger:hover{opacity:1}.step-label-text{padding-top:8px;padding-bottom:8px;cursor:pointer}.override-panel{z-index:1000;display:flex;flex-direction:column;gap:24px;padding:32px;background:var(--mat-sys-surface-container, var(--mat-sys-surface));backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-top:var(--mat-divider-width) solid var(--mat-divider-color);max-height:40vh;overflow-y:auto}.override-panel__header{display:flex;align-items:flex-start;gap:16px}.override-panel__icon{color:var(--mat-sys-tertiary)}.override-panel__title{margin:0;font-size:.625rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--mat-sys-tertiary)}.override-panel__hint{margin:4px 0 0;font-size:.8125rem;opacity:.7}.override-item{display:flex;flex-direction:column;gap:8px}.override-item__label{margin:0;font-size:.9375rem;font-weight:500}.override-item__message{margin:0;font-size:.8125rem;color:var(--mat-sys-tertiary);opacity:.9}.override-item__comment{width:100%;box-sizing:border-box;padding:12px;font:inherit;font-size:.9375rem;color:var(--mat-sys-on-surface);background:var(--mat-sys-surface);border:var(--mat-divider-width) solid var(--mat-divider-color);border-radius:8px;resize:vertical;transition:border-color .4s cubic-bezier(.16,1,.3,1)}.override-item__comment:focus{outline:none;border-color:var(--mat-sys-tertiary)}.override-item__attach-label{display:inline-flex;align-items:center;gap:8px;font-size:.8125rem;cursor:pointer;opacity:.8;transition:opacity .3s cubic-bezier(.16,1,.3,1)}.override-item__attach-label:hover{opacity:1}\n"] }]
|
|
16721
|
+
}, providers: [TFormEngine], template: "@if (loading()) {\r\n<div class=\"loading-container\">\r\n <mat-spinner diameter=\"48\" aria-label=\"Loading form\" />\r\n</div>\r\n}\r\n\r\n <mat-toolbar [tourAnchor]=\"'form-title'\" style=\" background: none;\r\n height: 28px;\">\r\n <span class=\"spacer\"></span>\r\n <span style=\"font-size: small;\">\r\n help\r\n </span>\r\n<button \r\n[matTooltip]=\"'Start guided tour for this form'\"\r\n mat-icon-button (click)=\"startTour()\">\r\n <mat-icon>\r\n help\r\n </mat-icon>\r\n</button>\r\n</mat-toolbar>\r\n\r\n@if (showAiSuggestions() && hasPendingSuggestions()) {\r\n<t-suggestion-review\r\n class=\"form-ai-suggestions\"\r\n [suggestions]=\"engine.stagedSuggestions()\"\r\n [schema]=\"engine.editableFormSchema()\"\r\n [previewValue]=\"engine.previewFormValue()\"\r\n (accept)=\"engine.acceptSuggestion($event)\"\r\n (reject)=\"engine.rejectSuggestion($event)\"\r\n (acceptAll)=\"engine.acceptAllSuggestions()\"\r\n (rejectAll)=\"engine.rejectAllSuggestions()\" />\r\n}\r\n\r\n<mat-stepper\r\n\r\n[style.display]=\"loading()?'none':'block'\" #stepper class=\"form-stepper\" orientation=\"vertical\"\r\n [linear]=\"!isEditable\" aria-label=\"Form sections stepper\" [animationDuration]=\"'300'\"\r\n (selectionChange)=\"engine.handleStepChange($event)\">\r\n\r\n @for (step of engine.selectFormSteps(); track step.sectionId) {\r\n @if (!!step.sectionForm ) {\r\n <mat-step [stepControl]=\"step.sectionForm\" [completed]=\"step.sectionIsSeen && !step.sectionIsInvalid\"\r\n\r\n [editable]=\"isEditable\" [errorMessage]=\"step.sectionFormErrorMessage||''\" [state]=\"getStepState(step,$index)\"\r\n [hasError]=\"!step.sectionForm.valid && !!step.sectionForm.touched\">\r\n <ng-template matStepLabel >\r\n <div [tourAnchor]=\"step.sectionId\" class=\"step-label-container\" [attr.aria-label]=\"'Section ' + step.label\">\r\n <span class=\"step-label-text\">{{step.label|titlecase}}</span>\r\n @if (step.sectionIsSeen) {\r\n <mat-icon [class.error]=\"step.sectionIsInvalid\"\r\n [attr.aria-label]=\"step.sectionIsInvalid ? 'Section has errors' : 'Section completed'\">\r\n {{step.sectionIsSeen}}\r\n </mat-icon>\r\n }\r\n @if(engine.canRefreshSection(step.sectionId) && step.isActive){\r\n <button mat-icon-button\r\n style=\"margin-right: 8px;\"\r\n matTooltip=\"Click to refresh this section.\"\r\n class=\"input-sync-button\"\r\n (click)=\"refreshASection(step.sectionId)\" >\r\n <mat-icon style=\"color:var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n \r\n </div>\r\n </ng-template>\r\n @if(!!step.isActive){\r\n @defer (on viewport; prefetch on idle) {\r\n <div [tourAnchor]=\"'content-'+step.sectionId\" class=\"step-content\">\r\n <div class=\"row form-section\">\r\n @for (col of step.columns; track col.id) {\r\n <div [class]=\"'col-md-'+col.colSize + ' box'\">\r\n <lib-t-form-input \r\n [tourAnchor]=\"col.id\" (valueChange)=\"engine.updateValue(col.id,$event)\" [editorMode]=\"false\"\r\n [formBuilderFunctions]=\"formBuilderFunctions\" [inputConfig]=\"col\" [formGroup]=\"step.sectionForm\"\r\n [attr.aria-label]=\"col?.label || ''\">\r\n </lib-t-form-input>\r\n </div>\r\n }\r\n </div>\r\n\r\n <div class=\"step-actions\">\r\n @if(!$first) {\r\n <button\r\n \r\n mat-button matStepperPrevious type=\"button\" class=\"navigation-button\"\r\n [attr.aria-label]=\"'Go back to ' + getPreviousStepLabel()\">\r\n\r\n Back\r\n </button>\r\n }\r\n @if (!$last) {\r\n <button\r\n \r\n mat-flat-button matStepperNext color=\"primary\" type=\"button\" class=\"navigation-button\"\r\n [attr.aria-label]=\"'Continue to ' + getNextStepLabel()\">\r\n Next\r\n </button>\r\n }\r\n @if (!!$last) {\r\n <button mat-button (click)=\"stepper.reset();engine.reset()\">Reset</button>\r\n }\r\n </div>\r\n </div>\r\n } @placeholder {\r\n <div style=\"padding: 50px;display:flex;justify-content:center;align-items:center; text-align: center;\">\r\n <mat-spinner diameter=\"24\" />\r\n </div>\r\n }\r\n\r\n }\r\n\r\n </mat-step>\r\n }\r\n }\r\n</mat-stepper>\r\n\r\n<!-- Defer the footer toolbar until after the main form is loaded -->\r\n@defer (on idle; prefetch on viewport) {\r\n<footer>\r\n <mat-toolbar class=\"submission-toolbar\" role=\"toolbar\" aria-label=\"Form submission actions\">\r\n <span class=\"submission-status\" style=\"font-size: 0.625em\" role=\"status\">\r\n {{getSubmissionStatus}}\r\n </span>\r\n\r\n <!-- Override-reason gate: while overridable validations remain, submission is\r\n locked behind a motivation for each. The panel now lives in a dialog so\r\n the footer stays a single, calm action row. -->\r\n @if (overridableErrors.length > 0) {\r\n @if (pendingOverrideCount; as pending) {\r\n <button mat-flat-button color=\"warn\" type=\"button\" class=\"override-reason-button\"\r\n (click)=\"openOverrideDialog()\"\r\n [attr.aria-label]=\"'Provide override ' + (pending === 1 ? 'reason' : 'reasons')\r\n + ', ' + pending + ' still required'\">\r\n <mat-icon>flag</mat-icon>\r\n <span>Provide {{ pending }} {{ pending === 1 ? 'reason' : 'reasons' }}</span>\r\n </button>\r\n } @else {\r\n <button mat-stroked-button type=\"button\" class=\"override-reason-button override-reason-button--done\"\r\n (click)=\"openOverrideDialog()\"\r\n aria-label=\"Review or edit the provided override reasons\">\r\n <mat-icon>check_circle</mat-icon>\r\n <span>Reasons provided</span>\r\n </button>\r\n }\r\n }\r\n\r\n <button [tourAnchor]=\"'form-submit-button'\" \r\n style=\"min-width: fit-content;\"\r\n mat-raised-button color=\"primary\" [disabled]=\"!canSubmit || engine.submittingForm\" (click)=\"handleSubmit()\"\r\n aria-label=\"Submit form\">\r\n <span>\r\n {{ engine.formSubmissionMessage()}}\r\n </span>\r\n @if(engine.submittingForm){\r\n <mat-spinner diameter=\"10\"></mat-spinner>\r\n }\r\n\r\n </button>\r\n </mat-toolbar>\r\n</footer>\r\n} @placeholder {\r\n<!-- Simple placeholder for the footer that maintains layout -->\r\n<footer>\r\n <div class=\"submission-toolbar-placeholder\"></div>\r\n</footer>\r\n}", styles: [".form-stepper{min-height:400px}.form-ai-suggestions{display:block;margin:1.5rem 0 2rem}.step-label-container{display:flex;justify-content:space-between;align-items:center;width:100%;gap:16px}.step-error-message{font-size:.75em;opacity:.9;margin-left:16px}.form-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:8px;margin-bottom:24px}.step-actions{display:flex;gap:16px;margin-top:24px}.navigation-button{display:flex;align-items:center;gap:8px}.loading-container{display:flex;justify-content:center;padding:32px}footer{position:sticky;bottom:0}.submission-toolbar{z-index:1000;background:#ffffff0d;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-top:var(--mat-divider-width) solid var(--mat-divider-color);padding:8px 16px;display:flex;justify-content:flex-end;gap:16px}.submission-status{font-size:.75em;opacity:.87;display:flex;align-items:center;white-space:normal}.box{padding:8px 5px 5px}.tour-trigger{position:absolute;right:8px;font-size:.75em;opacity:.6}.tour-trigger:hover{opacity:1}.step-label-text{padding-top:8px;padding-bottom:8px;cursor:pointer}.override-reason-button{display:inline-flex;align-items:center;gap:.5rem;min-width:fit-content}.override-reason-button--done{color:var(--mat-sys-primary);border-color:color-mix(in srgb,var(--mat-sys-primary) 40%,transparent)}.override-reason-button--done mat-icon{color:var(--mat-sys-primary)}\n"] }]
|
|
15876
16722
|
}], null, { formId: [{ type: i0.Input, args: [{ isSignal: true, alias: "formId", required: false }] }], initialValues: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialValues", required: false }] }], globalSystemInputs: [{ type: i0.Input, args: [{ isSignal: true, alias: "globalSystemInputs", required: false }] }], passParamsOnSubmit: [{ type: i0.Input, args: [{ isSignal: true, alias: "passParamsOnSubmit", required: false }] }], showAiSuggestions: [{ type: i0.Input, args: [{ isSignal: true, alias: "showAiSuggestions", required: false }] }], stepper: [{ type: i0.ViewChild, args: ['stepper', { isSignal: true }] }] }); }); })();
|
|
15877
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserFormStepperComponent, { className: "UserFormStepperComponent", filePath: "lib/components/user-form-stepper/user-form-stepper.component.ts", lineNumber:
|
|
16723
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserFormStepperComponent, { className: "UserFormStepperComponent", filePath: "lib/components/user-form-stepper/user-form-stepper.component.ts", lineNumber: 81 }); })();
|
|
15878
16724
|
|
|
15879
16725
|
const convertElementEditorTypesToInputType = (editType) => {
|
|
15880
16726
|
switch (editType) {
|
|
@@ -15917,7 +16763,7 @@ const convertElementEditorTypesToInputDataType = (editType) => {
|
|
|
15917
16763
|
*/
|
|
15918
16764
|
const NESTED_EDITOR_COMPONENT = new InjectionToken('NESTED_EDITOR_COMPONENT');
|
|
15919
16765
|
|
|
15920
|
-
const TDynamicDataEditComponent_Defer_2_DepsFn = () => [import('./ngx-t-forms-selection-options-editor.component-
|
|
16766
|
+
const TDynamicDataEditComponent_Defer_2_DepsFn = () => [import('./ngx-t-forms-selection-options-editor.component-_glw1cqH.mjs').then(m => m.SelectionOptionsEditorComponent), import('./ngx-t-forms-form-input-selector.component-0jfD5C0G.mjs').then(m => m.FormInputSelectorComponent), import('./ngx-t-forms-rest-api-call-setup.component-BSv_KQIU.mjs').then(m => m.RestApiCallSetupComponent), Promise.resolve().then(function () { return apiValueAccessRules_component; }).then(m => m.ApiValueAccessRulesComponent), import('./ngx-t-forms-required-inputs.component-Dr0P1gin.mjs').then(m => m.RequiredInputsComponent), import('./ngx-t-forms-pipeline-generator.component-BqtdKcN2.mjs').then(m => m.PipelineGeneratorComponent), import('./ngx-t-forms-calculated-field-rules.component-BmWnrfWN.mjs').then(m => m.CalculatedFieldRulesComponent), import('./ngx-t-forms-validators-config.component-B1Lzs7o2.mjs').then(m => m.ValidatorsConfigComponent), import('./ngx-t-forms-config-mscoa-additional-inputs.component-Dap7QkKD.mjs').then(m => m.ConfigMscoaAdditionalInputsComponent), import('./ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs').then(m => m.MatSliderEditorComponent), import('./ngx-t-forms-mscoa-segment-config.component-CSGf4XeN.mjs').then(m => m.MscoaSegmentConfigComponent), import('./ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs').then(m => m.MatSliderToggleEditorComponent), import('./ngx-t-forms-mat-chip-list-editor.component-CN17K5q6.mjs').then(m => m.MatChipListEditorComponent), i2$1.MatFormField, i2$1.MatLabel, i2$1.MatError, i2$1.MatSuffix, i8$1.MatSelect, i8$1.MatOption, i2.MatIconButton, i3$1.MatIcon, i5.MatTooltip, import('./ngx-t-forms-chip-options-creator-editor.component-ALkkDotT.mjs').then(m => m.ChipOptionsCreatorEditorComponent), import('./ngx-t-forms-data-source-picker.component-CJ1C1Znp.mjs').then(m => m.DataSourcePickerComponent), import('./ngx-t-forms-document-list-label-config-editor.component-NuPXy_Ms.mjs').then(m => m.DocumentListLabelConfigEditorComponent), import('./ngx-t-forms-t-workflow-picker.component-CLgN3YM4.mjs').then(m => m.TWorkflowPickerComponent), import('./ngx-t-forms-editor-js-input.component-XX6kU8DW.mjs').then(function (n) { return n.e; }).then(m => m.EditorJsInputComponent), import('./ngx-t-forms-record-list-manager.component-BcANl5Bq.mjs').then(m => m.RecordListManagerComponent), import('./ngx-t-forms-form-payload-projection.component-CkH7zmdJ.mjs').then(m => m.FormPayloadProjectionComponent), import('./ngx-t-forms-payload-template-editor.component-o3qwpvYu.mjs').then(m => m.PayloadTemplateEditorComponent), import('./ngx-t-forms-input-custom.component-DQOqy047.mjs').then(m => m.InputCustomComponent), i1$1.NgControlStatus, i1$1.RequiredValidator, i1$1.NgModel, import('./ngx-t-forms-map-mat-options-keys-eSc99wdA.mjs').then(m => m.MapMatOptionsKeys), import('@angular/common').then(m => m.AsyncPipe)];
|
|
15921
16767
|
const _c0$a = () => [];
|
|
15922
16768
|
const _forTrack0$5 = ($index, $item) => $item.value;
|
|
15923
16769
|
function TDynamicDataEditComponent_Defer_0_Conditional_0_Conditional_0_Case_3_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -16632,7 +17478,7 @@ class TDynamicDataEditComponent {
|
|
|
16632
17478
|
MatTooltipModule,
|
|
16633
17479
|
MatCardModule, i3$2.MatCard, i3$2.MatCardContent, FormsModule], styles: [".showItemValue[_ngcontent-%COMP%]{opacity:.6}.non-control-editor[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%}.non-control-editor__field[_ngcontent-%COMP%]{margin:0;min-width:0;width:100%;box-sizing:border-box;display:flex;flex-direction:column;padding:.75rem;border:1px solid var(--lib-forms-outline-variant);border-radius:var(--mdc-outlined-text-field-container-shape, 4px);transition:border-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1)),box-shadow var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1))}.non-control-editor__field[_ngcontent-%COMP%]:focus-within{border-color:var(--lib-forms-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--lib-forms-primary) 25%,transparent)}.non-control-editor__label[_ngcontent-%COMP%]{padding:0 .25rem;margin-left:.5rem;font-size:.75rem;font-weight:400;line-height:1;color:var(--lib-forms-on-surface-variant)}.non-control-editor__hint[_ngcontent-%COMP%]{margin-top:.5rem;padding:0 .875rem;font-size:.75rem;line-height:1.5;color:var(--lib-forms-on-surface-variant)}mat-form-field[_ngcontent-%COMP%]{width:100%}mat-slider[_ngcontent-%COMP%]{width:100%}.range[_ngcontent-%COMP%]{display:flex;align-items:center}.elementInfo[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:0;height:24px;width:24px}.infoIcon[_ngcontent-%COMP%]{font-size:1em;height:16px;width:16px}.toggle-label[_ngcontent-%COMP%]{margin-left:5px;align-items:center;display:flex;font-weight:500;line-height:normal;justify-content:space-between;color:var(--lib-forms-primary)}"], changeDetection: 0 }); }
|
|
16634
17480
|
}
|
|
16635
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadataAsync(TDynamicDataEditComponent, () => [import('./ngx-t-forms-selection-options-editor.component-
|
|
17481
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadataAsync(TDynamicDataEditComponent, () => [import('./ngx-t-forms-selection-options-editor.component-_glw1cqH.mjs').then(m => m.SelectionOptionsEditorComponent), import('./ngx-t-forms-form-input-selector.component-0jfD5C0G.mjs').then(m => m.FormInputSelectorComponent), import('./ngx-t-forms-rest-api-call-setup.component-BSv_KQIU.mjs').then(m => m.RestApiCallSetupComponent), Promise.resolve().then(function () { return apiValueAccessRules_component; }).then(m => m.ApiValueAccessRulesComponent), import('./ngx-t-forms-required-inputs.component-Dr0P1gin.mjs').then(m => m.RequiredInputsComponent), import('./ngx-t-forms-pipeline-generator.component-BqtdKcN2.mjs').then(m => m.PipelineGeneratorComponent), import('./ngx-t-forms-calculated-field-rules.component-BmWnrfWN.mjs').then(m => m.CalculatedFieldRulesComponent), import('./ngx-t-forms-validators-config.component-B1Lzs7o2.mjs').then(m => m.ValidatorsConfigComponent), import('./ngx-t-forms-config-mscoa-additional-inputs.component-Dap7QkKD.mjs').then(m => m.ConfigMscoaAdditionalInputsComponent), import('./ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs').then(m => m.MatSliderEditorComponent), import('./ngx-t-forms-mscoa-segment-config.component-CSGf4XeN.mjs').then(m => m.MscoaSegmentConfigComponent), import('./ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs').then(m => m.MatSliderToggleEditorComponent), import('./ngx-t-forms-mat-chip-list-editor.component-CN17K5q6.mjs').then(m => m.MatChipListEditorComponent), import('./ngx-t-forms-chip-options-creator-editor.component-ALkkDotT.mjs').then(m => m.ChipOptionsCreatorEditorComponent), import('./ngx-t-forms-data-source-picker.component-CJ1C1Znp.mjs').then(m => m.DataSourcePickerComponent), import('./ngx-t-forms-document-list-label-config-editor.component-NuPXy_Ms.mjs').then(m => m.DocumentListLabelConfigEditorComponent), import('./ngx-t-forms-t-workflow-picker.component-CLgN3YM4.mjs').then(m => m.TWorkflowPickerComponent), import('./ngx-t-forms-editor-js-input.component-XX6kU8DW.mjs').then(function (n) { return n.e; }).then(m => m.EditorJsInputComponent), import('./ngx-t-forms-record-list-manager.component-BcANl5Bq.mjs').then(m => m.RecordListManagerComponent), import('./ngx-t-forms-form-payload-projection.component-CkH7zmdJ.mjs').then(m => m.FormPayloadProjectionComponent), import('./ngx-t-forms-payload-template-editor.component-o3qwpvYu.mjs').then(m => m.PayloadTemplateEditorComponent), import('./ngx-t-forms-input-custom.component-DQOqy047.mjs').then(m => m.InputCustomComponent), import('./ngx-t-forms-map-mat-options-keys-eSc99wdA.mjs').then(m => m.MapMatOptionsKeys), import('@angular/common').then(m => m.AsyncPipe)], (SelectionOptionsEditorComponent, FormInputSelectorComponent, RestApiCallSetupComponent, ApiValueAccessRulesComponent, RequiredInputsComponent, PipelineGeneratorComponent, CalculatedFieldRulesComponent, ValidatorsConfigComponent, ConfigMscoaAdditionalInputsComponent, MatSliderEditorComponent, MscoaSegmentConfigComponent, MatSliderToggleEditorComponent, MatChipListEditorComponent, ChipOptionsCreatorEditorComponent, DataSourcePickerComponent, DocumentListLabelConfigEditorComponent, TWorkflowPickerComponent, EditorJsInputComponent, RecordListManagerComponent, FormPayloadProjectionComponent, PayloadTemplateEditorComponent, InputCustomComponent, MapMatOptionsKeys, AsyncPipe) => { i0.ɵsetClassMetadata(TDynamicDataEditComponent, [{
|
|
16636
17482
|
type: Component,
|
|
16637
17483
|
args: [{ selector: 'lib-t-dynamic-data-edit', imports: [
|
|
16638
17484
|
AsyncPipe,
|
|
@@ -17061,7 +17907,7 @@ class TDynamicDataViewComponent {
|
|
|
17061
17907
|
i0.ɵɵproperty("dataSource", ctx.treeClass.dataSource)("treeControl", ctx.treeClass.treeControl);
|
|
17062
17908
|
i0.ɵɵadvance(2);
|
|
17063
17909
|
i0.ɵɵproperty("matTreeNodeDefWhen", ctx.treeClass.hasChild);
|
|
17064
|
-
} }, dependencies: [MatTreeModule, i1$4.MatTreeNodeDef, i1$4.MatTree, i1$4.MatTreeNode, MatIconModule, i3$1.MatIcon, MatButtonModule,
|
|
17910
|
+
} }, dependencies: [MatTreeModule, i1$4.MatTreeNodeDef, i1$4.MatTree, i1$4.MatTreeNode, MatIconModule, i3$1.MatIcon, MatButtonModule, i2.MatIconButton], styles: [".premium-tree[_ngcontent-%COMP%]{background:transparent;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.mat-tree-node.premium-node[_ngcontent-%COMP%]{min-height:26px!important;height:26px;padding:0;display:flex;align-items:center;border-radius:4px;transition:background-color .1s ease-in-out}.mat-tree-node.premium-node[_ngcontent-%COMP%]:hover{background-color:#80808014}.guide-line[_ngcontent-%COMP%]{width:20px;min-width:20px;height:100%;position:relative;flex-shrink:0}.guide-line[_ngcontent-%COMP%]:before{content:\"\";position:absolute;left:10px;top:0;bottom:0;border-left:1px dotted currentColor;opacity:.25}.node-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;height:100%;padding-right:12px}.parent-wrapper[_ngcontent-%COMP%]{cursor:pointer}.icon-spacer[_ngcontent-%COMP%], .toggle-btn[_ngcontent-%COMP%]{width:20px!important;height:20px!important;min-width:20px;margin-right:6px;display:flex;justify-content:center;align-items:center;padding:0!important}.toggle-icon[_ngcontent-%COMP%]{font-size:16px;width:16px;height:16px;line-height:16px;color:currentColor;opacity:.6}.node-key[_ngcontent-%COMP%]{font-size:12.5px;font-weight:500;white-space:nowrap;color:currentColor;opacity:.85}.parent-key[_ngcontent-%COMP%]{font-weight:600;opacity:1}.leader-line[_ngcontent-%COMP%]{flex:1;height:1px;background-image:linear-gradient(to right,currentColor 20%,transparent 0%);background-position:bottom;background-size:4px 1px;background-repeat:repeat-x;opacity:.15;margin:0 12px;position:relative;top:1px}.node-value[_ngcontent-%COMP%]{font-family:JetBrains Mono,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:55%}.value-string[_ngcontent-%COMP%]{color:green}.value-number[_ngcontent-%COMP%]{color:#098658}.value-boolean[_ngcontent-%COMP%]{color:#00f}.value-null[_ngcontent-%COMP%]{color:gray;opacity:.7;font-style:italic}@media(prefers-color-scheme:dark){.value-string[_ngcontent-%COMP%]{color:#ce9178}.value-number[_ngcontent-%COMP%]{color:#b5cea8}.value-boolean[_ngcontent-%COMP%]{color:#569cd6}.value-null[_ngcontent-%COMP%]{color:gray}}"], changeDetection: 0 }); }
|
|
17065
17911
|
}
|
|
17066
17912
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TDynamicDataViewComponent, [{
|
|
17067
17913
|
type: Component,
|
|
@@ -17260,41 +18106,41 @@ class SectionTitleComponent {
|
|
|
17260
18106
|
const ELEMENT_REGISTRY = {
|
|
17261
18107
|
[ElementTypes.Location]: {
|
|
17262
18108
|
builderAware: true,
|
|
17263
|
-
load: () => import('./ngx-t-forms-geo-location.component-
|
|
18109
|
+
load: () => import('./ngx-t-forms-geo-location.component-DW2b5Zli.mjs').then(m => m.GeoLocationComponent),
|
|
17264
18110
|
},
|
|
17265
18111
|
[ElementTypes.AutoCompleteInput]: {
|
|
17266
|
-
load: () => import('./ngx-t-forms-auto-complete-input-element.component-
|
|
18112
|
+
load: () => import('./ngx-t-forms-auto-complete-input-element.component-7g5cpVfB.mjs').then(m => m.AutoCompleteInputElementComponent),
|
|
17267
18113
|
},
|
|
17268
18114
|
[ElementTypes.Toggle]: {
|
|
17269
|
-
load: () => import('./ngx-t-forms-toggle-input-element.component-
|
|
18115
|
+
load: () => import('./ngx-t-forms-toggle-input-element.component-CoyTMRMa.mjs').then(m => m.ToggleInputElementComponent),
|
|
17270
18116
|
},
|
|
17271
18117
|
[ElementTypes.Select]: {
|
|
17272
|
-
load: () => import('./ngx-t-forms-select-input-element.component-
|
|
18118
|
+
load: () => import('./ngx-t-forms-select-input-element.component-BqtJi4ek.mjs').then(m => m.SelectInputElementComponent),
|
|
17273
18119
|
},
|
|
17274
18120
|
[ElementTypes.Textarea]: {
|
|
17275
|
-
load: () => import('./ngx-t-forms-textarea-input-element.component-
|
|
18121
|
+
load: () => import('./ngx-t-forms-textarea-input-element.component-SCEBLqJd.mjs').then(m => m.TextareaInputElementComponent),
|
|
17276
18122
|
},
|
|
17277
18123
|
[ElementTypes.DateRangePicker]: {
|
|
17278
|
-
load: () => import('./ngx-t-forms-date-range-picker-input-element.component-
|
|
18124
|
+
load: () => import('./ngx-t-forms-date-range-picker-input-element.component-g0wIRj9b.mjs').then(m => m.DateRangePickerInputElementComponent),
|
|
17279
18125
|
},
|
|
17280
18126
|
[ElementTypes.DatePicker]: {
|
|
17281
|
-
load: () => import('./ngx-t-forms-date-picker-input-element.component-
|
|
18127
|
+
load: () => import('./ngx-t-forms-date-picker-input-element.component-DjYq63Iv.mjs').then(m => m.DatePickerInputElementComponent),
|
|
17282
18128
|
},
|
|
17283
18129
|
[ElementTypes.FileUpload]: {
|
|
17284
|
-
load: () => import('./ngx-t-forms-file-upload-input-element.component-
|
|
18130
|
+
load: () => import('./ngx-t-forms-file-upload-input-element.component-RCmUClXv.mjs').then(m => m.FileUploadInputElementComponent),
|
|
17285
18131
|
},
|
|
17286
18132
|
[ElementTypes.ImageCapture]: {
|
|
17287
|
-
load: () => import('./ngx-t-forms-image-capture-input-element.component-
|
|
18133
|
+
load: () => import('./ngx-t-forms-image-capture-input-element.component-Us_NAQSl.mjs').then(m => m.ImageCaptureInputElementComponent),
|
|
17288
18134
|
},
|
|
17289
18135
|
[ElementTypes.Editor]: {
|
|
17290
|
-
load: () => import('./ngx-t-forms-editor-input-element.component-
|
|
18136
|
+
load: () => import('./ngx-t-forms-editor-input-element.component-B8Pk-EVY.mjs').then(m => m.EditorInputElementComponent),
|
|
17291
18137
|
},
|
|
17292
18138
|
[ElementTypes.Signature]: {
|
|
17293
18139
|
load: () => Promise.resolve().then(function () { return signatureInputElement_component; }).then(m => m.SignatureInputElementComponent),
|
|
17294
18140
|
},
|
|
17295
18141
|
[ElementTypes.MultipleInput]: {
|
|
17296
18142
|
builderAware: true,
|
|
17297
|
-
load: () => import('./ngx-t-forms-multiple-input-input-element.component-
|
|
18143
|
+
load: () => import('./ngx-t-forms-multiple-input-input-element.component-CbQdnVgw.mjs').then(m => m.MultipleInputInputElementComponent),
|
|
17298
18144
|
},
|
|
17299
18145
|
[ElementTypes.MscoaSelection]: {
|
|
17300
18146
|
builderAware: true,
|
|
@@ -17302,14 +18148,14 @@ const ELEMENT_REGISTRY = {
|
|
|
17302
18148
|
},
|
|
17303
18149
|
[ElementTypes.WorkflowDocumentPicker]: {
|
|
17304
18150
|
builderAware: true,
|
|
17305
|
-
load: () => import('./ngx-t-forms-document-picker.component-
|
|
18151
|
+
load: () => import('./ngx-t-forms-document-picker.component-ChGqXHcQ.mjs').then(m => m.DocumentPickerComponent),
|
|
17306
18152
|
},
|
|
17307
18153
|
[ElementTypes.WorkflowAdjudication]: {
|
|
17308
18154
|
builderAware: true,
|
|
17309
|
-
load: () => import('./ngx-t-forms-workflow-adjudication.component-
|
|
18155
|
+
load: () => import('./ngx-t-forms-workflow-adjudication.component-Bz07jv-N.mjs').then(m => m.WorkflowAdjudicationComponent),
|
|
17310
18156
|
},
|
|
17311
18157
|
[ElementTypes.PaginatedSelectionTable]: {
|
|
17312
|
-
load: () => import('./ngx-t-forms-paginated-selection-table-
|
|
18158
|
+
load: () => import('./ngx-t-forms-paginated-selection-table-BGNxI2yq.mjs').then(m => m.PaginatedSelectionTable),
|
|
17313
18159
|
},
|
|
17314
18160
|
};
|
|
17315
18161
|
/**
|
|
@@ -17317,7 +18163,7 @@ const ELEMENT_REGISTRY = {
|
|
|
17317
18163
|
* `@default` switch branch (a basic input).
|
|
17318
18164
|
*/
|
|
17319
18165
|
const FALLBACK_ELEMENT = {
|
|
17320
|
-
load: () => import('./ngx-t-forms-basic-input-input-element.component-
|
|
18166
|
+
load: () => import('./ngx-t-forms-basic-input-input-element.component-BhMw2vpl.mjs').then(m => m.BasicInputInputElementComponent),
|
|
17321
18167
|
};
|
|
17322
18168
|
/**
|
|
17323
18169
|
* Resolves the renderer entry for a given element type, falling back to the
|
|
@@ -17400,6 +18246,24 @@ class TFormInputComponent {
|
|
|
17400
18246
|
* map index signature uniform.
|
|
17401
18247
|
*/
|
|
17402
18248
|
#modelInputSetters;
|
|
18249
|
+
/**
|
|
18250
|
+
* The descriptor as the concrete renderer sees it: identical to
|
|
18251
|
+
* {@link TFormInputComponent.inputConfig} except that an input whose value the
|
|
18252
|
+
* tower computes for itself (calculation, value-API fetch, or another input's
|
|
18253
|
+
* value) is forced `readonly`.
|
|
18254
|
+
*
|
|
18255
|
+
* The tower already stamps its own definition on `initialize`, so for the
|
|
18256
|
+
* runtime form this is a no-op that returns the very same reference. It exists
|
|
18257
|
+
* because this host is the ONE gate every input passes through — including
|
|
18258
|
+
* MultipleInput sub-row fields, MSCOA inner inputs, and the builder-side
|
|
18259
|
+
* preview, none of which are rendered from the tower's stamped definition. No
|
|
18260
|
+
* renderer can therefore be handed an editable auto-computed field.
|
|
18261
|
+
*
|
|
18262
|
+
* Keyed on `inputConfig` alone (not folded into `elementInputs`) so a change to
|
|
18263
|
+
* `editorMode` / `formBuilderFunctions` cannot mint a new config object and
|
|
18264
|
+
* churn the outlet's inputs.
|
|
18265
|
+
*/
|
|
18266
|
+
#renderedInputConfig;
|
|
17403
18267
|
// Portal-style prop injection: when this component is rendered through a
|
|
17404
18268
|
// ComponentPortal, inputs may be supplied via the `'COMPONENT_PROPS'` string
|
|
17405
18269
|
// token. Signal inputs are read-only at runtime, so each prop is routed
|
|
@@ -17484,6 +18348,27 @@ class TFormInputComponent {
|
|
|
17484
18348
|
const entry = this.elementEntry();
|
|
17485
18349
|
return entry ? entry.load() : null;
|
|
17486
18350
|
}, ...(ngDevMode ? [{ debugName: "elementComponent" }] : /* istanbul ignore next */ []));
|
|
18351
|
+
/**
|
|
18352
|
+
* The descriptor as the concrete renderer sees it: identical to
|
|
18353
|
+
* {@link TFormInputComponent.inputConfig} except that an input whose value the
|
|
18354
|
+
* tower computes for itself (calculation, value-API fetch, or another input's
|
|
18355
|
+
* value) is forced `readonly`.
|
|
18356
|
+
*
|
|
18357
|
+
* The tower already stamps its own definition on `initialize`, so for the
|
|
18358
|
+
* runtime form this is a no-op that returns the very same reference. It exists
|
|
18359
|
+
* because this host is the ONE gate every input passes through — including
|
|
18360
|
+
* MultipleInput sub-row fields, MSCOA inner inputs, and the builder-side
|
|
18361
|
+
* preview, none of which are rendered from the tower's stamped definition. No
|
|
18362
|
+
* renderer can therefore be handed an editable auto-computed field.
|
|
18363
|
+
*
|
|
18364
|
+
* Keyed on `inputConfig` alone (not folded into `elementInputs`) so a change to
|
|
18365
|
+
* `editorMode` / `formBuilderFunctions` cannot mint a new config object and
|
|
18366
|
+
* churn the outlet's inputs.
|
|
18367
|
+
*/
|
|
18368
|
+
this.#renderedInputConfig = computed(() => {
|
|
18369
|
+
const inputConfig = this.inputConfig();
|
|
18370
|
+
return inputConfig ? applyAutoComputedReadonly(inputConfig) : undefined;
|
|
18371
|
+
}, ...(ngDevMode ? [{ debugName: "#renderedInputConfig" }] : /* istanbul ignore next */ []));
|
|
17487
18372
|
/**
|
|
17488
18373
|
* Inputs forwarded to the resolved renderer. Builder-aware renderers also
|
|
17489
18374
|
* receive `editorMode` and `formBuilderFunctions`; every other renderer gets
|
|
@@ -17492,7 +18377,7 @@ class TFormInputComponent {
|
|
|
17492
18377
|
*/
|
|
17493
18378
|
this.elementInputs = computed(() => {
|
|
17494
18379
|
const base = {
|
|
17495
|
-
inputConfig: this
|
|
18380
|
+
inputConfig: this.#renderedInputConfig(),
|
|
17496
18381
|
formGroup: this.formGroup(),
|
|
17497
18382
|
};
|
|
17498
18383
|
if (this.elementEntry()?.builderAware) {
|
|
@@ -17570,7 +18455,7 @@ class TFormInputComponent {
|
|
|
17570
18455
|
type: Inject,
|
|
17571
18456
|
args: ['COMPONENT_PROPS']
|
|
17572
18457
|
}] }], { inputConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputConfig", required: false }] }, { type: i0.Output, args: ["inputConfigChange"] }], formGroup: [{ type: i0.Input, args: [{ isSignal: true, alias: "formGroup", required: false }] }, { type: i0.Output, args: ["formGroupChange"] }], editorMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "editorMode", required: false }] }, { type: i0.Output, args: ["editorModeChange"] }], formBuilderFunctions: [{ type: i0.Input, args: [{ isSignal: true, alias: "formBuilderFunctions", required: false }] }, { type: i0.Output, args: ["formBuilderFunctionsChange"] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }] }); })();
|
|
17573
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TFormInputComponent, { className: "TFormInputComponent", filePath: "lib/components/t-form-input/t-form-input.component.ts", lineNumber:
|
|
18458
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TFormInputComponent, { className: "TFormInputComponent", filePath: "lib/components/t-form-input/t-form-input.component.ts", lineNumber: 65 }); })();
|
|
17574
18459
|
|
|
17575
18460
|
var tFormInput_component = /*#__PURE__*/Object.freeze({
|
|
17576
18461
|
__proto__: null,
|
|
@@ -17945,7 +18830,7 @@ class ScoaInputComponent {
|
|
|
17945
18830
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, ctx.heading));
|
|
17946
18831
|
i0.ɵɵadvance(3);
|
|
17947
18832
|
i0.ɵɵtextInterpolate1(" ", ctx.subHeading, "\n");
|
|
17948
|
-
} }, dependencies: [CommonModule, MatModulesModule,
|
|
18833
|
+
} }, dependencies: [CommonModule, MatModulesModule, i2.MatButton, i1$3.MatDialogClose, i1$3.MatDialogTitle, i1$3.MatDialogActions, i1$3.MatDialogContent, ReactiveFormsModule, i3.TitleCasePipe], styles: [".minimal-input[_ngcontent-%COMP%]{width:100%;padding:8px;margin:4px 0;box-sizing:border-box;border:1px solid var(--lib-forms-outline-variant);border-radius:4px}.error-message[_ngcontent-%COMP%]{color:var(--sem-error);font-size:.75em}mat-form-field[_ngcontent-%COMP%]{width:100%;margin-top:20px}"], changeDetection: 0 }); }
|
|
17949
18834
|
}
|
|
17950
18835
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ScoaInputComponent, [{
|
|
17951
18836
|
type: Component,
|
|
@@ -18143,7 +19028,7 @@ class AccountValueComponent {
|
|
|
18143
19028
|
} if (rf & 2) {
|
|
18144
19029
|
i0.ɵɵadvance(5);
|
|
18145
19030
|
i0.ɵɵrepeater(ctx.accountDetails());
|
|
18146
|
-
} }, dependencies: [MatButtonModule,
|
|
19031
|
+
} }, dependencies: [MatButtonModule, i2.MatButton, MatIconModule, i3$1.MatIcon, MatToolbarModule, i8.MatToolbar, MatTooltipModule, i5.MatTooltip], styles: [".account-card[_ngcontent-%COMP%]{max-width:100%;margin:0;border-radius:6px;box-shadow:var(--mscoa-elevation-1, 0 1px 3px rgba(0, 0, 0, .12));overflow:hidden}mat-card-header[_ngcontent-%COMP%]{background-color:var(--lib-forms-surface-container);padding:var(--mscoa-spacing-md, 16px);border-bottom:2px solid var(--lib-forms-primary-container)}mat-card-title[_ngcontent-%COMP%]{font-size:1rem;font-weight:600;color:var(--lib-forms-on-surface);margin:0;letter-spacing:.5px}[_nghost-%COMP%] .compact-toolbar[_ngcontent-%COMP%]{min-height:40px;padding:var(--mscoa-spacing-xs, 4px) var(--mscoa-spacing-sm, 8px)}[_nghost-%COMP%] .compact-toolbar[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.8125rem;font-weight:600}.account-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:var(--mscoa-spacing-xs, 4px) var(--mscoa-spacing-sm, 8px);padding:var(--mscoa-spacing-sm, 8px);background:var(--lib-forms-surface)}.account-grid[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}.account-grid[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:var(--lib-forms-surface-container);border-radius:3px}.account-grid[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--lib-forms-on-surface-variant);border-radius:3px;opacity:.5}.account-grid[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{opacity:.8;background:var(--lib-forms-primary)}.account-grid[_ngcontent-%COMP%]{scrollbar-width:thin;scrollbar-color:var(--lib-forms-on-surface-variant) var(--lib-forms-surface-container)}.detail-item[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px;min-height:22px;padding:var(--mscoa-spacing-xs, 4px);border-bottom:1px solid var(--lib-forms-outline-variant)}.detail-item.full-width[_ngcontent-%COMP%]{grid-column:1/-1}.label[_ngcontent-%COMP%]{font-weight:600;font-size:.6875rem;color:var(--lib-forms-on-surface-variant);letter-spacing:.4px;line-height:1.3}.value[_ngcontent-%COMP%]{font-size:.75rem;color:var(--lib-forms-on-surface);font-weight:400;line-height:1.35;word-break:break-word}.read-only-text.long-value[_ngcontent-%COMP%]{font-family:Roboto Mono,monospace;font-size:.6875rem;background:var(--lib-forms-surface-container);padding:2px var(--mscoa-spacing-xs, 4px);border-radius:2px;display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:normal}.read-only-text.long-value[_ngcontent-%COMP%]:hover{overflow:visible;z-index:10;position:relative;background:var(--lib-forms-surface);box-shadow:var(--mscoa-elevation-4, 0 4px 12px rgba(0, 0, 0, .12));padding:var(--mscoa-spacing-xs, 4px)}.read-only-text[_ngcontent-%COMP%]{color:var(--lib-forms-on-surface);line-height:1.35;font-size:.75rem}.read-only-text.long-description[_ngcontent-%COMP%]{white-space:pre-wrap;max-height:72px;overflow-y:auto;padding:var(--mscoa-spacing-xs, 4px) var(--mscoa-spacing-xs, 4px);background:var(--lib-forms-surface-container);border-radius:3px;border-left:2px solid var(--lib-forms-primary-container);font-size:.6875rem;line-height:1.4}button[mat-flat-button][_ngcontent-%COMP%]{transition:transform var(--lib-forms-duration-hover) var(--lib-forms-easing),box-shadow var(--lib-forms-duration-hover) var(--lib-forms-easing),background-color var(--lib-forms-duration-hover) var(--lib-forms-easing),border-color var(--lib-forms-duration-hover) var(--lib-forms-easing),color var(--lib-forms-duration-hover) var(--lib-forms-easing)}button[mat-flat-button].empty-state-btn[_ngcontent-%COMP%]{color:var(--lib-forms-on-surface-variant);border:1px dashed var(--lib-forms-outline-variant)}button[mat-flat-button].empty-state-btn[_ngcontent-%COMP%]:hover{background-color:var(--lib-forms-primary-container);border-color:var(--lib-forms-primary);color:var(--lib-forms-primary)}button[mat-flat-button][_ngcontent-%COMP%]:hover:not(:disabled){transform:translateY(-1px);box-shadow:var(--mscoa-elevation-2, 0 2px 6px rgba(0, 0, 0, .12))}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]{background:var(--lib-forms-surface-container);box-shadow:var(--mscoa-elevation-1, 0 1px 3px rgba(0, 0, 0, .12));border-radius:8px 8px 0 0}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.875rem;font-weight:600;color:var(--lib-forms-on-surface);letter-spacing:.5px}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{font-size:.8125rem;font-weight:500}.glass[_ngcontent-%COMP%]{background:#ffffff26;box-shadow:0 4px 30px #0000001a;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.2)}.odd[_ngcontent-%COMP%]{background:#ffffff80}"], changeDetection: 0 }); }
|
|
18147
19032
|
}
|
|
18148
19033
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccountValueComponent, [{
|
|
18149
19034
|
type: Component,
|
|
@@ -18404,7 +19289,7 @@ class ScoaAccountTableComponent {
|
|
|
18404
19289
|
i0.ɵɵproperty("matRowDefColumns", ctx.displayColumns());
|
|
18405
19290
|
i0.ɵɵadvance();
|
|
18406
19291
|
i0.ɵɵproperty("pageSizeOptions", i0.ɵɵpureFunction0(8, _c0$9))("pageSize", 10);
|
|
18407
|
-
} }, dependencies: [MatTableModule, i5$1.MatTable, i5$1.MatHeaderCellDef, i5$1.MatHeaderRowDef, i5$1.MatColumnDef, i5$1.MatCellDef, i5$1.MatRowDef, i5$1.MatHeaderCell, i5$1.MatCell, i5$1.MatHeaderRow, i5$1.MatRow, MatSortModule,
|
|
19292
|
+
} }, dependencies: [MatTableModule, i5$1.MatTable, i5$1.MatHeaderCellDef, i5$1.MatHeaderRowDef, i5$1.MatColumnDef, i5$1.MatCellDef, i5$1.MatRowDef, i5$1.MatHeaderCell, i5$1.MatCell, i5$1.MatHeaderRow, i5$1.MatRow, MatSortModule, i2$3.MatSort, i2$3.MatSortHeader, MatPaginatorModule, i3$3.MatPaginator, MatCheckboxModule, i3$4.MatCheckbox, MatMenuModule, i6$1.MatMenu, i6$1.MatMenuItem, i6$1.MatMenuTrigger, MatToolbarModule, i8.MatToolbar, MatButtonModule, i2.MatButton, i2.MatIconButton, MatIconModule, i3$1.MatIcon, MatTooltipModule, i5.MatTooltip, ReactiveFormsModule], styles: [".search-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:1rem}.mat-form-field[_ngcontent-%COMP%]{flex-grow:1;margin-right:1rem}.table-wrapper[_ngcontent-%COMP%]{margin-top:var(--mscoa-spacing-xs, 4px);width:100%;min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar{height:8px}.table-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:var(--lib-forms-surface-container);border-radius:4px}.table-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--lib-forms-on-surface-variant);border-radius:4px}.table-wrapper[_ngcontent-%COMP%]{scrollbar-width:thin;scrollbar-color:var(--lib-forms-on-surface-variant) var(--lib-forms-surface-container)}.table-container[_ngcontent-%COMP%]{background:var(--lib-forms-surface);box-shadow:var(--mscoa-elevation-1, 0 1px 3px rgba(0, 0, 0, .12));border-radius:8px;overflow:visible;width:100%;min-width:0}mat-table[_ngcontent-%COMP%]{width:100%;min-width:480px;background:transparent}mat-header-row[_ngcontent-%COMP%]{background:var(--lib-forms-surface-container);border-bottom:2px solid var(--lib-forms-outline-variant)}mat-header-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-weight:600;color:var(--lib-forms-on-surface);font-size:.75rem;letter-spacing:.4px;padding:var(--mscoa-spacing-xs, 4px) var(--mscoa-spacing-sm, 8px);line-height:1.3}.account-row[_ngcontent-%COMP%]{cursor:pointer;transition:background-color var(--lib-forms-duration-hover) var(--lib-forms-easing),box-shadow var(--lib-forms-duration-hover) var(--lib-forms-easing);border-bottom:1px solid var(--lib-forms-outline-variant)}.account-row[_ngcontent-%COMP%]:hover:not(.deactivated-row):not(.selected-row){background-color:var(--lib-forms-primary-container)!important;box-shadow:inset 4px 0 0 var(--lib-forms-primary)}.account-row[_ngcontent-%COMP%]:active:not(.deactivated-row){background-color:var(--lib-forms-primary-container)!important}.account-row[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--sem-blue);outline-offset:-2px}.account-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:var(--mscoa-spacing-xs, 4px) var(--mscoa-spacing-sm, 8px);font-size:.8125rem;color:var(--lib-forms-on-surface);border-bottom:none;vertical-align:middle;line-height:1.35}.account-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .cell-content[_ngcontent-%COMP%]{display:block;word-break:break-word;line-height:1.35}.selected-row[_ngcontent-%COMP%]{background-color:var(--lib-forms-primary)!important;color:var(--lib-forms-on-primary)!important;box-shadow:inset 4px 0 0 var(--lib-forms-primary-container),var(--mscoa-elevation-2, 0 2px 6px rgba(0, 0, 0, .12))}.selected-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{color:var(--lib-forms-on-primary)!important;font-weight:500}.selected-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .cell-content[_ngcontent-%COMP%]{color:var(--lib-forms-on-primary)!important}.selected-row[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:var(--lib-forms-on-primary)!important;color:var(--lib-forms-primary)!important;font-weight:600}.selected-row[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background-color:var(--lib-forms-primary-container)!important;transform:translateY(-1px);box-shadow:var(--mscoa-elevation-2, 0 2px 6px rgba(0, 0, 0, .12))}.deactivated-row[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed!important;background-color:var(--lib-forms-surface-container)!important}.deactivated-row[_ngcontent-%COMP%]:hover{background-color:var(--lib-forms-surface-container)!important;transform:none!important}.deactivated-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{color:var(--lib-forms-on-surface-variant)!important}.no-results[_ngcontent-%COMP%]{text-align:center;padding:var(--mscoa-spacing-xl, 32px);color:var(--lib-forms-on-surface-variant);background:var(--lib-forms-surface-container);border-radius:8px;margin:var(--mscoa-spacing-md, 16px)}.no-results[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:3rem;height:3rem;width:3rem;margin-bottom:var(--mscoa-spacing-md, 16px);color:var(--lib-forms-on-surface-variant);opacity:.5}.cols[_ngcontent-%COMP%]{font-size:.875em;min-height:28px}mat-toolbar.search[_ngcontent-%COMP%]{background:var(--lib-forms-surface-container)!important;box-shadow:var(--mscoa-elevation-1, 0 1px 3px rgba(0, 0, 0, .12));border-radius:8px 8px 0 0;padding:var(--mscoa-spacing-xs, 4px) var(--mscoa-spacing-sm, 8px);min-height:40px!important}mat-toolbar.search[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.8125rem;font-weight:500;color:var(--lib-forms-on-surface)}mat-paginator[_ngcontent-%COMP%]{background:var(--lib-forms-surface-container);border-top:1px solid var(--lib-forms-outline-variant);border-radius:0 0 8px 8px;padding:var(--mscoa-spacing-xs, 4px) var(--mscoa-spacing-sm, 8px)}mat-paginator[_ngcontent-%COMP%] .mat-mdc-paginator-container{min-height:40px}th.mat-column-selection[_ngcontent-%COMP%], td.mat-column-selection[_ngcontent-%COMP%]{position:sticky!important;right:0!important;background:var(--lib-forms-surface-container)!important;z-index:2;box-shadow:-4px 0 8px #0000000f;min-width:90px}mat-header-row[_ngcontent-%COMP%] th.mat-column-selection[_ngcontent-%COMP%]{background:var(--lib-forms-surface-container)!important}.account-row.selected-row[_ngcontent-%COMP%] td.mat-column-selection[_ngcontent-%COMP%]{background:var(--lib-forms-primary)!important}.account-row[_ngcontent-%COMP%]:hover:not(.deactivated-row):not(.selected-row) td.mat-column-selection[_ngcontent-%COMP%]{background:var(--lib-forms-primary-container)!important}button[mat-flat-button][_ngcontent-%COMP%]{transition:transform var(--lib-forms-duration-hover) var(--lib-forms-easing),box-shadow var(--lib-forms-duration-hover) var(--lib-forms-easing)}button[mat-flat-button][_ngcontent-%COMP%]:hover:not(:disabled){transform:translateY(-1px);box-shadow:var(--mscoa-elevation-2, 0 2px 6px rgba(0, 0, 0, .12))}button[mat-flat-button][_ngcontent-%COMP%]:active:not(:disabled){transform:translateY(0)}"], changeDetection: 0 }); }
|
|
18408
19293
|
}
|
|
18409
19294
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ScoaAccountTableComponent, [{
|
|
18410
19295
|
type: Component,
|
|
@@ -19357,8 +20242,8 @@ class MscoaComputationComponent {
|
|
|
19357
20242
|
i0.ɵɵattribute("aria-label", "Close dialog without saving");
|
|
19358
20243
|
i0.ɵɵadvance(2);
|
|
19359
20244
|
i0.ɵɵconditional(ctx.userCanClearAccount() ? 15 : -1);
|
|
19360
|
-
} }, dependencies: [ReactiveFormsModule, i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.FormControlDirective, MatButtonModule,
|
|
19361
|
-
MatDividerModule, i6.MatDivider, MatExpansionModule, i5$2.MatExpansionPanel, i5$2.MatExpansionPanelHeader, i5$2.MatExpansionPanelTitle, MatFormFieldModule, i2.MatFormField, i2.MatLabel, i2.MatSuffix, MatIconModule, i3$1.MatIcon, MatInputModule, i2$
|
|
20245
|
+
} }, dependencies: [ReactiveFormsModule, i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.FormControlDirective, MatButtonModule, i2.MatButton, i2.MatIconButton, MatCheckboxModule, i3$4.MatCheckbox, MatDialogActions,
|
|
20246
|
+
MatDividerModule, i6.MatDivider, MatExpansionModule, i5$2.MatExpansionPanel, i5$2.MatExpansionPanelHeader, i5$2.MatExpansionPanelTitle, MatFormFieldModule, i2$1.MatFormField, i2$1.MatLabel, i2$1.MatSuffix, MatIconModule, i3$1.MatIcon, MatInputModule, i2$2.MatInput, MatListModule, i6.MatNavList, i6.MatListSubheaderCssMatStyler, MatProgressSpinnerModule, i4.MatProgressSpinner, MatSidenavModule, i10.MatDrawer, i10.MatDrawerContainer, MatToolbarModule, i8.MatToolbar, MatTreeModule, i1$4.MatTreeNodeDef, i1$4.MatTreeNodePadding, i1$4.MatTree, i1$4.MatTreeNode, AccountValueComponent,
|
|
19362
20247
|
ScoaAccountTableComponent,
|
|
19363
20248
|
AsyncPipe,
|
|
19364
20249
|
UpperCasePipe], styles: ["[_nghost-%COMP%]{display:flex;flex-direction:column;max-height:98vh;overflow:hidden;min-height:0;--mscoa-primary: var(--lib-forms-primary);--mscoa-primary-light: var(--lib-forms-primary-container);--mscoa-primary-dark: var(--lib-forms-primary);--mscoa-success: var(--sem-success);--mscoa-error: var(--sem-error);--mscoa-warning: var(--sem-warning);--mscoa-info: var(--sem-info);--mscoa-surface: var(--lib-forms-surface);--mscoa-surface-container: var(--lib-forms-surface-container);--mscoa-text-primary: var(--lib-forms-on-surface);--mscoa-text-secondary: var(--lib-forms-on-surface-variant);--mscoa-divider: var(--lib-forms-outline-variant);--mscoa-spacing-xs: 4px;--mscoa-spacing-sm: 8px;--mscoa-spacing-md: 16px;--mscoa-spacing-lg: 24px;--mscoa-spacing-xl: 32px;--mscoa-elevation-1: 0 1px 3px rgba(0,0,0,.12);--mscoa-elevation-2: 0 2px 6px rgba(0,0,0,.12);--mscoa-elevation-4: 0 4px 12px rgba(0,0,0,.12);--mscoa-computation-spacing-xs: var(--mscoa-spacing-xs);--mscoa-computation-spacing-sm: var(--mscoa-spacing-sm);--mscoa-computation-spacing-md: var(--mscoa-spacing-md);--mscoa-computation-spacing-lg: var(--mscoa-spacing-lg);--mscoa-computation-toolbar-height: 56px;--mscoa-header-height: 56px;--mscoa-search-height: 56px;--mscoa-footer-height: 58px;--mscoa-divider-height: 1px;--mscoa-computation-selected-color: var(--mscoa-primary);--mscoa-computation-border-radius: 16px;--mscoa-computation-transition: var(--lib-forms-duration-hover) var(--lib-forms-easing)}mat-divider[_ngcontent-%COMP%]{flex-shrink:0}h4[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;padding-left:var(--mscoa-computation-spacing-md)}.label[_ngcontent-%COMP%]{font-size:.875em}[_nghost-%COMP%] .selected[_ngcontent-%COMP%]{color:var(--mscoa-primary);font-weight:600;background-color:transparent}.mat-tree-node.tree-node-selected[_ngcontent-%COMP%], .mat-tree-node[aria-selected=true][_ngcontent-%COMP%]{background:linear-gradient(90deg,var(--lib-forms-primary-container) 0%,transparent 100%)!important;box-shadow:inset 3px 0 0 var(--lib-forms-primary);border-radius:0 4px 4px 0}.mat-tree-node[_ngcontent-%COMP%]:hover:not(.tree-node-selected):not(:has(.selected)){background-color:#00000008;transition:background-color var(--mscoa-computation-transition)}mat-tree-node[_ngcontent-%COMP%]{transition:background-color var(--mscoa-computation-transition)}mat-tree-node[_ngcontent-%COMP%]:has(.selected){background:linear-gradient(90deg,var(--lib-forms-primary-container) 0%,transparent 100%)!important;box-shadow:inset 3px 0 0 var(--lib-forms-primary);border-radius:0 4px 4px 0}mat-tree-node[_ngcontent-%COMP%]:hover:not(:has(.selected)){background-color:#00000008}mat-tree-node[_ngcontent-%COMP%] mat-checkbox[checked=true][_ngcontent-%COMP%] .mdc-checkbox{background-color:var(--mscoa-primary)!important;border-color:var(--mscoa-primary)!important}.accountSeperator[_ngcontent-%COMP%]{margin-left:var(--mscoa-computation-spacing-xs);margin-right:var(--mscoa-computation-spacing-xs)}.loading[_ngcontent-%COMP%]{width:24px!important;height:24px!important;--mdc-circular-progress-size: 28px !important;--mdc-circular-progress-active-indicator-width: 24px !important;position:absolute;left:var(--mscoa-computation-spacing-sm);bottom:var(--mscoa-computation-spacing-sm)}.info[_ngcontent-%COMP%]{font-size:.875rem;opacity:.8;padding-left:var(--mscoa-computation-spacing-md);border-radius:4px;margin-top:10px;line-height:1.6;max-width:500px}.info[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{opacity:1}.toggle-button[_ngcontent-%COMP%]{height:28px;width:28px;padding:0;margin-right:var(--mscoa-computation-spacing-xs);margin-left:var(--mscoa-computation-spacing-xs)}.toggle-button[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--mscoa-computation-selected-color);outline-offset:2px;border-radius:4px}mat-tree[_ngcontent-%COMP%]{flex:1;min-height:280px;min-width:0;overflow:auto;padding:var(--mscoa-computation-spacing-md)!important;background:none}mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:8px}mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:var(--mscoa-surface-container);border-radius:4px}mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--mscoa-text-secondary);border-radius:4px;opacity:.5}mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{opacity:.8;background:var(--mscoa-primary)}mat-tree[_ngcontent-%COMP%]{scrollbar-width:thin;scrollbar-color:var(--lib-forms-on-surface-variant) var(--lib-forms-surface-container)}mat-tree-node[_ngcontent-%COMP%]{display:flex;align-items:flex-start;min-height:28px;padding-right:var(--mscoa-computation-spacing-md)!important;padding-top:2px!important;padding-bottom:2px!important;box-sizing:border-box;width:100%;transition:background-color var(--mscoa-computation-transition)}mat-tree-node[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--mscoa-computation-selected-color);outline-offset:-2px;border-radius:4px}mat-tree-node[_ngcontent-%COMP%]:hover:not(:has(.selected)){background-color:#0000000a}.mat-tree-node[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:nowrap;min-height:28px;padding:var(--mscoa-computation-spacing-xs) 0;box-sizing:border-box;transition:background-color var(--mscoa-computation-transition),border-color var(--mscoa-computation-transition);border-radius:4px;margin:1px 0}.mat-tree-node[_ngcontent-%COMP%]:hover:not(.tree-node-selected):not(:has(.selected)){background-color:#0000000a}.mat-tree-node[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%]{flex-shrink:0;height:28px}.mat-tree-node[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%]{display:flex;align-items:center;height:28px;min-height:fit-content;flex:1;min-width:0}.mat-tree-node[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{flex:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;white-space:normal;overflow:visible}.header-toolbar[_ngcontent-%COMP%]{flex-shrink:0;background:var(--mscoa-surface-container)!important;box-shadow:var(--mscoa-elevation-2);border-bottom:1px solid var(--mscoa-divider)}.glass[_ngcontent-%COMP%]{background:#ffffff26;box-shadow:0 4px 30px #0000001a;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.2)}@media(prefers-reduced-motion:reduce){.glass[_ngcontent-%COMP%]{backdrop-filter:none;-webkit-backdrop-filter:none}}.main-toolbar[_ngcontent-%COMP%]{min-width:0;padding-top:var(--mscoa-computation-spacing-md);min-height:var(--mscoa-computation-toolbar-height);overflow:hidden}.main-toolbar[_ngcontent-%COMP%] .toolbar-title[_ngcontent-%COMP%]{font-size:18px;font-weight:500;color:var(--mscoa-text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-toolbar[_ngcontent-%COMP%]{flex-shrink:0;height:var(--mscoa-computation-toolbar-height);min-width:0;overflow:hidden}.search-toolbar[_ngcontent-%COMP%] .search-field[_ngcontent-%COMP%]{flex:1;width:100%;max-width:100%;min-width:0;border-radius:var(--mscoa-computation-border-radius);overflow:clip}.search-toolbar[_ngcontent-%COMP%] .search-field.search-disabled[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper{background-color:var(--mscoa-surface-container)!important;border:1px dashed var(--mscoa-divider)}.search-toolbar[_ngcontent-%COMP%] .search-field.search-disabled[_ngcontent-%COMP%] .mat-mdc-form-field-label{color:var(--mscoa-text-secondary)!important}.search-toolbar[_ngcontent-%COMP%] .search-field.search-disabled[_ngcontent-%COMP%] input{cursor:not-allowed;color:var(--mscoa-text-secondary)!important}.search-toolbar[_ngcontent-%COMP%] .search-field.search-disabled[_ngcontent-%COMP%] button{opacity:.5;cursor:not-allowed}.search-toolbar[_ngcontent-%COMP%] .search-field.search-disabled[_ngcontent-%COMP%] .mat-mdc-form-field-hint{color:var(--mscoa-text-secondary);font-size:.75rem}.tree-breadcrumb[_ngcontent-%COMP%]{flex-shrink:0;display:flex;flex-wrap:wrap;align-items:center;gap:var(--mscoa-spacing-xs, 4px);padding:var(--mscoa-spacing-sm, 8px) var(--mscoa-spacing-md, 16px);margin:0 var(--mscoa-spacing-md, 16px) var(--mscoa-spacing-sm, 8px);background:var(--mscoa-surface-container);border-radius:6px;border-left:3px solid var(--mscoa-primary);font-size:.8125rem;line-height:1.4;max-width:500px}.tree-breadcrumb[_ngcontent-%COMP%] .breadcrumb-label[_ngcontent-%COMP%]{color:var(--mscoa-text-secondary);font-weight:500;margin-right:var(--mscoa-spacing-xs, 4px)}.tree-breadcrumb[_ngcontent-%COMP%] .breadcrumb-part[_ngcontent-%COMP%]{color:var(--mscoa-text-primary)}.tree-breadcrumb[_ngcontent-%COMP%] .breadcrumb-part.is-current[_ngcontent-%COMP%]{font-weight:600;color:var(--mscoa-primary)}.tree-breadcrumb[_ngcontent-%COMP%] .breadcrumb-sep[_ngcontent-%COMP%]{font-size:16px;width:16px;height:16px;color:var(--mscoa-text-secondary);margin:0 var(--mscoa-spacing-xs, 4px)}.search-results-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:var(--mscoa-spacing-sm, 8px);overflow-y:auto;flex:1;min-height:0;padding:var(--mscoa-spacing-xs, 4px) 0}.search-results-grid[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}.search-results-grid[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:var(--mscoa-surface-container);border-radius:3px}.search-results-grid[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--mscoa-text-secondary);border-radius:3px;opacity:.5}.search-results-grid[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{opacity:.8;background:var(--mscoa-primary)}.search-results-grid[_ngcontent-%COMP%]{scrollbar-width:thin;scrollbar-color:var(--lib-forms-on-surface-variant) var(--lib-forms-surface-container)}.path-result-item[_ngcontent-%COMP%]{cursor:pointer;transition:background-color var(--mscoa-computation-transition);min-height:56px;padding:var(--mscoa-spacing-sm, 8px) var(--mscoa-spacing-md, 16px);padding-right:40px;border-radius:8px;border:1px solid var(--mscoa-divider);background:var(--mscoa-surface);display:flex;flex-direction:column;gap:4px;align-items:flex-start;position:relative}.path-result-item[_ngcontent-%COMP%]:hover, .path-result-item[_ngcontent-%COMP%]:focus-visible{background-color:var(--mat-sys-surface-container, rgba(0, 0, 0, .04));outline:none}.path-result-item[_ngcontent-%COMP%]:hover .breadcrumb-container[_ngcontent-%COMP%], .path-result-item[_ngcontent-%COMP%]:focus-visible .breadcrumb-container[_ngcontent-%COMP%]{flex-wrap:wrap}.path-result-item[_ngcontent-%COMP%]:hover .breadcrumb-container[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%], .path-result-item[_ngcontent-%COMP%]:focus-visible .breadcrumb-container[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%]{white-space:normal;max-width:none}.path-result-item[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--mscoa-computation-selected-color);outline-offset:-2px}.path-result-arrow[_ngcontent-%COMP%]{position:absolute;right:var(--mscoa-spacing-sm);top:50%;transform:translateY(-50%);font-size:18px;width:18px;height:18px;color:var(--mat-sys-on-surface-variant, var(--mscoa-text-secondary))}.breadcrumb-container[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;overflow:hidden;width:100%}.crumb-segment[_ngcontent-%COMP%]{display:flex;align-items:center;color:var(--mscoa-text-secondary);white-space:nowrap;overflow:hidden;max-width:100%}.crumb-segment[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%]{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:150px;vertical-align:middle}.crumb-segment[_ngcontent-%COMP%] .separator[_ngcontent-%COMP%]{font-size:1em;height:16px;width:16px;margin:0 var(--mscoa-computation-spacing-xs);color:var(--mscoa-divider);flex-shrink:0}.crumb-segment.is-target[_ngcontent-%COMP%]{color:var(--mscoa-text-primary);font-weight:500;flex-shrink:0}.crumb-segment.is-target[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%]{color:var(--mscoa-text-primary);max-width:none}.empty-state[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--mscoa-computation-spacing-lg);text-align:center;gap:var(--mscoa-computation-spacing-md)}.empty-state[_ngcontent-%COMP%] .empty-icon[_ngcontent-%COMP%]{font-size:48px;width:48px;height:48px;opacity:.5}.empty-state[_ngcontent-%COMP%] .empty-message[_ngcontent-%COMP%]{margin:0;font-size:14px}.error-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--mscoa-computation-spacing-lg);text-align:center;gap:var(--mscoa-computation-spacing-md)}.error-container[_ngcontent-%COMP%] .error-icon[_ngcontent-%COMP%]{font-size:48px;width:48px;height:48px;color:var(--mat-sys-error)}.error-container[_ngcontent-%COMP%] .error-message[_ngcontent-%COMP%]{margin:0;font-size:14px;color:var(--mat-sys-error)}mark[_ngcontent-%COMP%]{background-color:var(--sem-warning);color:inherit;padding:0;font-weight:500}.instructions-panel[_ngcontent-%COMP%]{flex-shrink:0;margin:var(--mscoa-spacing-sm, 8px) var(--mscoa-spacing-md, 16px);margin-bottom:var(--mscoa-spacing-xs, 4px);box-shadow:var(--mscoa-elevation-1);border-radius:6px;overflow:hidden;background:var(--mscoa-surface-container);transition:box-shadow var(--mscoa-computation-transition)}.instructions-panel.compact-instructions[_ngcontent-%COMP%] .mat-expansion-panel-header{padding:var(--mscoa-spacing-xs, 4px) var(--mscoa-spacing-sm, 8px)!important;min-height:40px!important;height:auto!important}.instructions-panel.compact-instructions[_ngcontent-%COMP%] .mat-expansion-panel-body{padding:var(--mscoa-spacing-xs, 4px) var(--mscoa-spacing-sm, 8px)!important}.instructions-panel[_ngcontent-%COMP%]:hover{box-shadow:var(--mscoa-elevation-2)}.instructions-panel[_ngcontent-%COMP%] .mat-expansion-panel-header{padding:var(--mscoa-spacing-sm, 8px) var(--mscoa-spacing-md, 16px);background:var(--mscoa-surface-container)!important}.instructions-panel[_ngcontent-%COMP%] .mat-expansion-panel-header:hover{background:var(--mscoa-surface)!important}.instructions-panel[_ngcontent-%COMP%] .mat-expansion-panel-body{padding:var(--mscoa-spacing-sm, 8px) var(--mscoa-spacing-md, 16px)!important;background:var(--mscoa-surface)}.instructions-panel[_ngcontent-%COMP%] .instruction-icon[_ngcontent-%COMP%]{margin-right:var(--mscoa-spacing-xs, 4px);color:var(--mscoa-info);font-size:18px;width:18px;height:18px}.instructions-panel[_ngcontent-%COMP%] .instructions-content[_ngcontent-%COMP%]{padding:var(--mscoa-spacing-xs, 4px) 0;display:flex;flex-direction:column;gap:var(--mscoa-spacing-xs, 4px)}.instructions-panel[_ngcontent-%COMP%] .instruction-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--mscoa-spacing-xs, 4px);font-size:.75rem;line-height:1.4;padding:var(--mscoa-spacing-xs, 4px);border-radius:4px;transition:background-color var(--mscoa-computation-transition)}.instructions-panel[_ngcontent-%COMP%] .instruction-item[_ngcontent-%COMP%]:hover{background-color:var(--mscoa-primary-light)}.instructions-panel[_ngcontent-%COMP%] .instruction-item[_ngcontent-%COMP%] .instruction-bullet[_ngcontent-%COMP%]{font-size:16px;width:16px;height:16px;color:var(--mscoa-primary);flex-shrink:0}.instructions-panel[_ngcontent-%COMP%] .instruction-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{flex:1}.instructions-panel[_ngcontent-%COMP%] .instruction-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-weight:600}.search-results-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--mscoa-computation-spacing-sm)}.search-results-header[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%]{margin-right:var(--mscoa-computation-spacing-sm)}.search-results-list[_ngcontent-%COMP%]{padding:var(--mscoa-computation-spacing-md);display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.search-results-hint[_ngcontent-%COMP%]{font-size:.75rem;color:var(--mscoa-text-secondary);margin:0 var(--mscoa-spacing-md, 16px) var(--mscoa-spacing-sm, 8px);padding:var(--mscoa-spacing-xs, 4px) 0}.path-result-meta[_ngcontent-%COMP%]{font-size:.6875rem;color:var(--mscoa-text-secondary);letter-spacing:.3px}.mat-mdc-subheader[_ngcontent-%COMP%]{position:sticky;top:0;z-index:10;background:var(--mat-sys-surface-container)}.count-badge[_ngcontent-%COMP%]{margin-left:auto;font-weight:400;opacity:.7;font-size:.9em}.drawer-container[_ngcontent-%COMP%]{flex:1;min-height:0;overflow:hidden;max-width:100%;background:var(--mat-sys-surface-container)!important;display:flex}.drawer-container[_ngcontent-%COMP%] .mat-drawer-content{min-height:0;overflow:auto;height:calc(100vh - 220px);flex:1 1 30%;min-width:260px}.account-drawer[_ngcontent-%COMP%]{min-width:420px;max-width:min(700px,65vw)!important;width:520px!important;overflow:hidden;display:flex;flex-direction:column;background:var(--mat-sys-surface-container)!important;padding:var(--mscoa-computation-spacing-md)}.account-drawer[_ngcontent-%COMP%] app-scoa-account-table[_ngcontent-%COMP%]{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column}.account-drawer[_ngcontent-%COMP%] .loading-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--mscoa-computation-spacing-lg);gap:var(--mscoa-computation-spacing-md)}.account-drawer[_ngcontent-%COMP%] .loading-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:.875rem}.skeleton-row[_ngcontent-%COMP%]{display:flex;align-items:center;padding:var(--mscoa-spacing-sm) var(--mscoa-spacing-md);gap:var(--mscoa-spacing-md);animation:_ngcontent-%COMP%_skeleton-pulse 1.5s ease-in-out infinite}.skeleton-row[_ngcontent-%COMP%] .skeleton-checkbox[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:4px;background:linear-gradient(90deg,var(--lib-forms-surface-container) 25%,var(--lib-forms-outline-variant) 50%,var(--lib-forms-surface-container) 75%);background-size:200% 100%}.skeleton-row[_ngcontent-%COMP%] .skeleton-text[_ngcontent-%COMP%]{flex:1;height:16px;border-radius:4px;background:linear-gradient(90deg,var(--lib-forms-surface-container) 25%,var(--lib-forms-outline-variant) 50%,var(--lib-forms-surface-container) 75%);background-size:200% 100%}.skeleton-row[_ngcontent-%COMP%] .skeleton-text.short[_ngcontent-%COMP%]{width:60%}.skeleton-row[_ngcontent-%COMP%] .skeleton-text.medium[_ngcontent-%COMP%]{width:80%}@keyframes _ngcontent-%COMP%_skeleton-pulse{0%{background-position:200% 0}to{background-position:-200% 0}}.skeleton-table[_ngcontent-%COMP%] .skeleton-row[_ngcontent-%COMP%]{border-bottom:1px solid var(--mscoa-divider)}.skeleton-table[_ngcontent-%COMP%] .skeleton-row[_ngcontent-%COMP%]:last-child{border-bottom:none}.account-details-container[_ngcontent-%COMP%]{flex:1;min-height:0;max-width:520px;margin:0 auto;width:100%;background:#ffffff1c;-webkit-backdrop-filter:blur(2.5px);backdrop-filter:blur(2.5px);padding:var(--mscoa-spacing-xs, 4px);border:1px solid rgba(255,255,255,.3);border:1px solid var(--mscoa-divider);border-radius:8px;overflow-y:auto}.account-details-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}.account-details-container[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:var(--mscoa-surface-container);border-radius:3px}.account-details-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--mscoa-text-secondary);border-radius:3px;opacity:.5}.account-details-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{opacity:.8;background:var(--mscoa-primary)}.account-details-container[_ngcontent-%COMP%]{scrollbar-width:thin;scrollbar-color:var(--lib-forms-on-surface-variant) var(--lib-forms-surface-container)}.account-details-container[_ngcontent-%COMP%] app-account-value{max-width:100%}.account-details-container[_ngcontent-%COMP%] app-account-value mat-toolbar{background:var(--mat-sys-surface-container, var(--mscoa-surface-container))!important;box-shadow:var(--mscoa-elevation-1);margin-bottom:0;border-radius:8px 8px 0 0}.account-details-container[_ngcontent-%COMP%] app-account-value .account-grid{gap:var(--mscoa-spacing-xs, 4px) var(--mscoa-spacing-sm, 8px);padding:var(--mscoa-spacing-sm, 8px);background:var(--mat-sys-surface, var(--mscoa-surface));border-radius:0 0 8px 8px;box-shadow:var(--mscoa-elevation-1)}.tree-content[_ngcontent-%COMP%]{min-height:280px;flex:1;min-width:0;display:flex;flex-direction:column;overflow:hidden;padding-right:var(--mscoa-computation-spacing-sm)}.footer-toolbar[_ngcontent-%COMP%]{flex-shrink:0;height:fit-content;padding-top:var(--mscoa-computation-spacing-md)!important;padding-bottom:var(--mscoa-computation-spacing-md)!important;min-height:58px;box-shadow:0 -2px 8px #0000000d}.footer-toolbar[_ngcontent-%COMP%] .footer-actions[_ngcontent-%COMP%]{display:flex;width:100%;gap:var(--mscoa-computation-spacing-sm);flex-direction:column;min-height:58px}.footer-toolbar[_ngcontent-%COMP%] .footer-actions[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]{width:100%;font-weight:500;transition:transform var(--lib-forms-duration-hover) var(--lib-forms-easing),box-shadow var(--lib-forms-duration-hover) var(--lib-forms-easing)}.footer-toolbar[_ngcontent-%COMP%] .footer-actions[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--mscoa-computation-selected-color);outline-offset:2px}.footer-toolbar[_ngcontent-%COMP%] .footer-actions[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]:hover:not(:disabled){transform:translateY(-1px);box-shadow:var(--mscoa-elevation-2)}.footer-toolbar[_ngcontent-%COMP%] .footer-actions[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]:active:not(:disabled){transform:translateY(0)}.footer-toolbar[_ngcontent-%COMP%] .footer-actions[_ngcontent-%COMP%] .action-button[disabled][_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.footer-toolbar[_ngcontent-%COMP%] .footer-actions[_ngcontent-%COMP%] .save-button[_ngcontent-%COMP%]{background-color:var(--mscoa-primary)!important;color:var(--lib-forms-on-primary)!important}@media(min-width:768px){.footer-actions[_ngcontent-%COMP%]{flex-direction:row}.footer-actions[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]{width:auto;min-width:120px}.drawer-container[_ngcontent-%COMP%]{display:flex}}@media(prefers-reduced-motion:reduce){*[_ngcontent-%COMP%]{transition:none!important;animation:none!important}}"], changeDetection: 0 }); }
|
|
@@ -19716,7 +20601,7 @@ class MscoaChartInputMenuComponent {
|
|
|
19716
20601
|
i0.ɵɵproperty("matTooltip", "Edit Input: " + ctx.innerInput().label);
|
|
19717
20602
|
i0.ɵɵadvance(3);
|
|
19718
20603
|
i0.ɵɵconditional(ctx.isDeleting() ? 3 : 4);
|
|
19719
|
-
} }, dependencies: [MatButtonModule,
|
|
20604
|
+
} }, dependencies: [MatButtonModule, i2.MatButton, i2.MatIconButton, MatIconModule, i3$1.MatIcon, MatProgressSpinnerModule, i4.MatProgressSpinner, MatTooltipModule, i5.MatTooltip], styles: [".mscoa-chart-input-menu__delete-content[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--mscoa-chart-spacing-sm, 8px)}.mscoa-chart-input-menu__spinner[_ngcontent-%COMP%]{width:20px;height:20px}button[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--mat-sys-primary);outline-offset:2px}"], changeDetection: 0 }); }
|
|
19720
20605
|
}
|
|
19721
20606
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MscoaChartInputMenuComponent, [{
|
|
19722
20607
|
type: Component,
|
|
@@ -19914,7 +20799,7 @@ class MscoaMessageFormatter {
|
|
|
19914
20799
|
// Export singleton instance
|
|
19915
20800
|
const mscoaMessageFormatter = new MscoaMessageFormatter();
|
|
19916
20801
|
|
|
19917
|
-
const MscoaChartComponent_Conditional_0_Conditional_2_Defer_4_DepsFn = () => [i3.NgTemplateOutlet, i4$2.CdkPortalOutlet,
|
|
20802
|
+
const MscoaChartComponent_Conditional_0_Conditional_2_Defer_4_DepsFn = () => [i3.NgTemplateOutlet, i4$2.CdkPortalOutlet, i2.MatButton, i2.MatIconButton, i3$1.MatIcon, i6$1.MatMenuTrigger, i5$1.MatTable, i5$1.MatHeaderCellDef, i5$1.MatHeaderRowDef, i5$1.MatColumnDef, i5$1.MatCellDef, i5$1.MatRowDef, i5$1.MatHeaderCell, i5$1.MatCell, i5$1.MatHeaderRow, i5$1.MatRow, i5.MatTooltip, import('./ngx-t-forms-mscoa-chart-toolbar.component-D0igUV3W.mjs').then(m => m.MscoaChartToolbarComponent), import('./ngx-t-forms-mscoa-error-display.component-rzl-fMmd.mjs').then(m => m.MscoaErrorDisplayComponent), import('./ngx-t-forms-mscoa-temporary-hint.component-CBuGHwnU.mjs').then(m => m.MscoaTemporaryHintComponent), i3.AsyncPipe, i3.TitleCasePipe, Promise.resolve().then(function () { return daysAgo_pipe; }).then(m => m.ConvertCamelCasePipe)];
|
|
19918
20803
|
const _c0$7 = (a0, a1) => ({ accountingBasis: a0, canCollapse: true, viewData: a1 });
|
|
19919
20804
|
const _c1$2 = (a0, a1) => ({ accountingBasis: a0, canCollapse: false, viewData: a1 });
|
|
19920
20805
|
const _c2$1 = () => [];
|
|
@@ -21429,7 +22314,7 @@ class MscoaChartComponent {
|
|
|
21429
22314
|
MatTooltipModule,
|
|
21430
22315
|
MatProgressSpinnerModule, i4.MatProgressSpinner, MscoaChartInputMenuComponent, i3.AsyncPipe], styles: ["@charset \"UTF-8\";[_nghost-%COMP%]{--mscoa-chart-spacing-xs: 4px;--mscoa-chart-spacing-sm: 8px;--mscoa-chart-spacing-md: 16px;--mscoa-chart-spacing-lg: 24px;--mscoa-chart-spacing-xl: 32px;--mscoa-chart-border-radius: 4px;--mscoa-chart-transition: var(--lib-forms-duration-hover) var(--lib-forms-easing);--mscoa-chart-font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif;--mscoa-chart-font-size-base: 14px;--mscoa-chart-line-height: 1.5;display:block;font-family:var(--mscoa-chart-font-family);font-size:var(--mscoa-chart-font-size-base);line-height:var(--mscoa-chart-line-height)}.mscoa-chart__container[_ngcontent-%COMP%]{padding:0;transition:background-color var(--mscoa-chart-transition);width:100%;max-width:100%;overflow-x:hidden;box-sizing:border-box}.mscoa-chart__loading-container[_ngcontent-%COMP%]{padding:var(--mscoa-chart-spacing-lg);display:flex;align-items:center;justify-content:center}.mscoa-chart__table-container[_ngcontent-%COMP%]{position:relative;width:100%;max-width:100%;overflow-x:auto;overflow-y:visible;box-sizing:border-box}.dual-basis-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--mscoa-chart-spacing-sm)}.dual-basis-container__item[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .single-base[_ngcontent-%COMP%]{gap:var(--mscoa-chart-spacing-sm);height:48px;font-size:.875em;font-weight:500;transition:background-color var(--mscoa-chart-transition)}[_nghost-%COMP%] .single-base--cash[_ngcontent-%COMP%]{background:var(--mat-sys-inverse-primary)}.account-selection-table-wrapper[_ngcontent-%COMP%]{position:relative;width:100%}.account-selection-table-container[_ngcontent-%COMP%]{border-radius:var(--mscoa-chart-border-radius);overflow-x:auto;overflow-y:visible;transition:border-color var(--mscoa-chart-transition);width:100%;max-width:100%;box-sizing:border-box;display:block}.account-selection-table-container--accrual[_ngcontent-%COMP%]{border:solid 1px var(--mat-sys-primary)}.account-selection-table-container--cash[_ngcontent-%COMP%]{border:solid 1px var(--mat-sys-inverse-primary)}.account-selection-table-container[_ngcontent-%COMP%]::-webkit-scrollbar{height:8px}.account-selection-table-container[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:var(--lib-forms-surface-container-low);border-radius:4px}.account-selection-table-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--lib-forms-outline-variant);border-radius:4px}.account-selection-table-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:var(--lib-forms-outline)}.table[_ngcontent-%COMP%]{width:100%;table-layout:fixed;font-family:var(--mscoa-chart-font-family);font-size:var(--mscoa-chart-font-size-base);line-height:var(--mscoa-chart-line-height);border-collapse:separate;border-spacing:0;display:table;box-sizing:border-box;max-width:100%}.table__header-cell[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}.table__header-cell--segment[_ngcontent-%COMP%]{text-align:right;padding-right:var(--mscoa-chart-spacing-md);min-width:150px;max-width:200px}.table__header-cell--regular[_ngcontent-%COMP%]{padding-left:var(--mscoa-chart-spacing-lg);min-width:200px;max-width:none}.table__cell[_ngcontent-%COMP%]{overflow:visible;box-sizing:border-box;position:relative;vertical-align:top}.table__cell--segment[_ngcontent-%COMP%]{background:var(--mat-list-active-indicator-color, var(--mat-sys-secondary-container));text-align:right;font-weight:500;padding-right:var(--mscoa-chart-spacing-md);min-width:150px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;vertical-align:middle}.table__cell--regular[_ngcontent-%COMP%]{padding:0;min-width:200px;max-width:none;word-wrap:break-word;vertical-align:top;overflow:visible}.table__cell--active[_ngcontent-%COMP%]{background-color:var(--mat-sys-primary-container);transition:background-color var(--mscoa-chart-transition)}mat-header-cell[_ngcontent-%COMP%]{background:var(--mat-sys-surface-container);font-weight:600;font-size:var(--mscoa-chart-font-size-base);padding:var(--mscoa-chart-spacing-md)}.mscoa-chart-table[_ngcontent-%COMP%]{display:flex;flex-direction:column}.portal-container[_ngcontent-%COMP%]{width:100%}.account-cell-wrapper[_ngcontent-%COMP%]{position:relative;width:100%;max-width:100%;overflow:visible;z-index:1;min-height:38px;display:flex;flex-direction:column;gap:4px}.cell-button-wrapper[_ngcontent-%COMP%]{position:relative;width:100%;max-width:100%;overflow:hidden}.cell-button[_ngcontent-%COMP%]{height:fit-content;min-height:38px;width:100%;max-width:100%;transition:background-color var(--lib-forms-duration-hover) var(--lib-forms-easing),transform var(--lib-forms-duration-hover) var(--lib-forms-easing),box-shadow var(--lib-forms-duration-hover) var(--lib-forms-easing);font-family:var(--mscoa-chart-font-family);font-size:var(--mscoa-chart-font-size-base);line-height:var(--mscoa-chart-line-height);position:relative;overflow:visible;padding:8px}.cell-button[_ngcontent-%COMP%]:hover:not(:disabled){background-color:var(--mat-sys-surface-container);transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.cell-button[_ngcontent-%COMP%]:focus-visible{outline:3px solid var(--mat-sys-primary);outline-offset:2px;z-index:1}.cell-button[_ngcontent-%COMP%]:disabled{opacity:.6;cursor:not-allowed}.cell-button--selected[_ngcontent-%COMP%]{background-color:transparent}.cell-button--selected[_ngcontent-%COMP%]:hover:not(:disabled){background-color:var(--lib-forms-surface-container-low);border-color:var(--lib-forms-primary)}.cell-button.cell-button--selected[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeInSuccess var(--mscoa-chart-transition)}.cell-button.cell-button--business-error[_ngcontent-%COMP%]{border-color:var(--lib-forms-error)}.cell-button.cell-button--business-error[_ngcontent-%COMP%] .selected-acount-label--business-error[_ngcontent-%COMP%]{color:var(--mat-sys-error);border-color:var(--mat-sys-error)}.success-indicator[_ngcontent-%COMP%]{color:var(--sem-success);font-size:18px;width:18px;right:-8px;top:-4px;background:var(--lib-forms-surface);border-radius:16px;position:absolute;height:18px;margin-left:var(--mscoa-chart-spacing-xs);animation:_ngcontent-%COMP%_scaleIn var(--mscoa-chart-transition);flex-shrink:0}.validated-indicator[_ngcontent-%COMP%]{color:var(--lib-forms-primary);font-size:18px;width:18px;height:18px;right:-8px;top:-4px;background:var(--lib-forms-surface);border-radius:16px;position:absolute;margin-left:var(--mscoa-chart-spacing-xs);flex-shrink:0;animation:_ngcontent-%COMP%_validatedShieldIn .3s ease-out forwards}.business-error-indicator[_ngcontent-%COMP%]{color:var(--lib-forms-error);font-size:18px;width:18px;right:-8px;top:-4px;background:var(--lib-forms-surface);border-radius:16px;position:absolute;height:18px;margin-left:var(--mscoa-chart-spacing-xs);flex-shrink:0}.required-indicator[_ngcontent-%COMP%]{color:var(--lib-forms-error);font-weight:600;margin-left:2px}.inline-hint[_ngcontent-%COMP%]{display:block;font-size:12px;color:var(--lib-forms-on-surface-variant);margin-top:var(--mscoa-chart-spacing-xs);padding:var(--mscoa-chart-spacing-xs) var(--mscoa-chart-spacing-sm);background-color:var(--lib-forms-surface-container-low);border-radius:var(--mscoa-chart-border-radius);line-height:1.4;max-width:100%;word-wrap:break-word}.content[_ngcontent-%COMP%]{padding:0;display:flex;gap:6px;width:100%;max-width:100%;overflow:visible;min-width:0;flex-wrap:wrap;align-items:center}.selected-acount-label[_ngcontent-%COMP%]{text-align:left;flex:1;font-weight:400;transition:color var(--mscoa-chart-transition)}.selected-acount-label--error[_ngcontent-%COMP%], .selected-acount-label--business-error[_ngcontent-%COMP%]{color:var(--mat-sys-error);font-weight:500}.selected-acount-label--tag[_ngcontent-%COMP%]{display:inline-block;padding:4px 10px;background-color:var(--lib-forms-primary-container);color:var(--lib-forms-on-primary-container);border-radius:16px;font-size:13px;font-weight:500;line-height:1.5;border:1px solid var(--lib-forms-primary);box-shadow:0 1px 2px #0000001a;transition:background-color var(--lib-forms-duration-hover) var(--lib-forms-easing),box-shadow var(--lib-forms-duration-hover) var(--lib-forms-easing);width:100%;max-width:100%;overflow:visible;white-space:normal;word-wrap:break-word;word-break:break-word;cursor:pointer;box-sizing:border-box;position:relative}.selected-acount-label--tag[_ngcontent-%COMP%]:hover{background-color:var(--sem-info-surface);box-shadow:0 2px 4px #1976d226}.segment-cell-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;font-weight:500}.vat-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;height:16px;padding:2px 6px;border-radius:8px;font-size:9px;font-weight:600;letter-spacing:.5px;text-transform:uppercase;background-color:var(--sem-success-surface);color:var(--sem-warning);border:1px solid var(--lib-forms-outline-variant);box-shadow:none;transition:background-color var(--lib-forms-duration-hover) var(--lib-forms-easing),border-color var(--lib-forms-duration-hover) var(--lib-forms-easing);flex-shrink:0;align-self:flex-start;margin-top:2px;line-height:1}.vat-badge[_ngcontent-%COMP%]:hover{background-color:var(--sem-warning-surface);border-color:var(--sem-warning)}.vat-chip-container[_ngcontent-%COMP%]{padding-left:var(--mscoa-chart-spacing-sm);padding-right:var(--mscoa-chart-spacing-sm);padding-bottom:var(--mscoa-chart-spacing-xs);margin-top:var(--mscoa-chart-spacing-xs)}.vat-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px;height:24px;padding:4px 8px;border-radius:12px;font-size:11px;font-weight:600;transition:background-color var(--lib-forms-duration-hover) var(--lib-forms-easing),box-shadow var(--lib-forms-duration-hover) var(--lib-forms-easing),transform var(--lib-forms-duration-hover) var(--lib-forms-easing);box-shadow:0 1px 3px #0000001f}.vat-chip--applicable[_ngcontent-%COMP%]{background:linear-gradient(135deg,var(--sem-warning) 0%,var(--sem-warning) 100%);color:var(--lib-forms-on-primary);border:1px solid var(--sem-warning)}.vat-chip--applicable[_ngcontent-%COMP%]:hover{box-shadow:0 2px 6px #f57c004d;transform:translateY(-1px)}.vat-chip__icon[_ngcontent-%COMP%]{font-size:14px;width:14px;height:14px;opacity:.9}.vat-chip__text[_ngcontent-%COMP%]{font-size:11px;font-weight:600;letter-spacing:.3px}.info-box[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--mscoa-chart-spacing-sm);padding:12px;background:var(--sem-info-surface);border-radius:var(--mscoa-chart-border-radius);margin-bottom:var(--mscoa-chart-spacing-md)}.info-icon[_ngcontent-%COMP%]{min-width:38px;margin:auto;margin-top:var(--mscoa-chart-spacing-sm)}.empty-state[_ngcontent-%COMP%]{padding:var(--mscoa-chart-spacing-md);text-align:center;display:flex;align-items:center;justify-content:center;gap:var(--mscoa-chart-spacing-sm);color:var(--mat-sys-on-surface-variant)}.validation-hints[_ngcontent-%COMP%]{margin-top:var(--mscoa-chart-spacing-md);padding:var(--mscoa-chart-spacing-md);background-color:var(--lib-forms-surface-container-low);border-radius:var(--mscoa-chart-border-radius);border-left:4px solid var(--lib-forms-primary);box-shadow:0 1px 3px #00000014}.validation-hints__title[_ngcontent-%COMP%]{font-weight:600;font-size:var(--mscoa-chart-font-size-base);margin:0 0 var(--mscoa-chart-spacing-sm) 0;color:var(--lib-forms-on-surface);display:flex;align-items:center;gap:var(--mscoa-chart-spacing-xs)}.validation-hints__title[_ngcontent-%COMP%]:before{content:\"\\1f4a1\";font-size:16px}.validation-hints__list[_ngcontent-%COMP%]{margin:0;padding-left:var(--mscoa-chart-spacing-md);color:var(--lib-forms-on-surface-variant);font-size:13px;line-height:1.6}.validation-hints__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:var(--mscoa-chart-spacing-sm);position:relative}.validation-hints__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]::marker{color:var(--lib-forms-primary)}.validation-hints__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{margin-bottom:0}mat-error[_ngcontent-%COMP%]{font-size:.75em;margin-top:var(--mscoa-chart-spacing-xs)}mat-error[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding-left:var(--mscoa-chart-spacing-md)}mat-error[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:var(--mscoa-chart-spacing-xs)}.loading-placeholder[_ngcontent-%COMP%]{padding:var(--mscoa-chart-spacing-md);color:var(--mat-sys-on-surface-variant)}.loading-spinner-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:256px}.error-state[_ngcontent-%COMP%]{padding:var(--mscoa-chart-spacing-md);color:var(--mat-sys-error)}mat-panel-description[_ngcontent-%COMP%]{font-size:.875em;line-height:1.4}[_nghost-%COMP%] .main-expanse-content[_ngcontent-%COMP%]{background:var(--mat-sys-surface-container)}@media(max-width:768px){.dual-basis-container[_ngcontent-%COMP%]{gap:var(--mscoa-chart-spacing-md)}.cell-button[_ngcontent-%COMP%]{min-height:44px;font-size:15px;max-width:300px}.content[_ngcontent-%COMP%]{padding:var(--mscoa-chart-spacing-md)}.validation-hints[_ngcontent-%COMP%]{font-size:13px;padding:var(--mscoa-chart-spacing-sm)}.inline-hint[_ngcontent-%COMP%]{font-size:11px}}.cell-button[_ngcontent-%COMP%]:focus-visible, button[_ngcontent-%COMP%]:focus-visible{outline:3px solid var(--mat-sys-primary);outline-offset:2px;outline-style:solid}@media(prefers-contrast:high){.cell-button[_ngcontent-%COMP%]{border:2px solid currentColor}.cell-button[_ngcontent-%COMP%]:focus-visible{outline-width:4px}.selected-acount-label--error[_ngcontent-%COMP%]{font-weight:600}}@media(prefers-reduced-motion:reduce){.cell-button[_ngcontent-%COMP%], .success-indicator[_ngcontent-%COMP%], .fade-in[_ngcontent-%COMP%], .validated-indicator[_ngcontent-%COMP%]{animation:none;transition:none}}.table__cell--active[_ngcontent-%COMP%]{background-color:var(--mat-sys-primary-container);color:var(--mat-sys-on-primary-container)}@media(prefers-contrast:high){.table__cell--active[_ngcontent-%COMP%]{background-color:var(--mat-sys-primary);color:var(--mat-sys-on-primary)}}.table__cell--business-error[_ngcontent-%COMP%]{background-color:var(--lib-forms-error-container);border-left:3px solid var(--lib-forms-error)}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}to{opacity:1}}@keyframes _ngcontent-%COMP%_fadeInSuccess{0%{background-color:transparent}50%{background-color:var(--sem-success-surface)}to{background-color:var(--mat-sys-primary-container)}}@keyframes _ngcontent-%COMP%_scaleIn{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _ngcontent-%COMP%_validatedShieldIn{0%{opacity:0;transform:scale(.6)}70%{opacity:1;transform:scale(1.1)}to{opacity:1;transform:scale(1)}}.fade-in[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeIn var(--mscoa-chart-transition)}.sr-only[_ngcontent-%COMP%]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.skeleton-loader[_ngcontent-%COMP%]{background:linear-gradient(90deg,var(--mat-sys-surface-container) 25%,var(--mat-sys-surface-container-high) 50%,var(--mat-sys-surface-container) 75%);background-size:200% 100%;animation:_ngcontent-%COMP%_loading 1.5s ease-in-out infinite;border-radius:var(--mscoa-chart-border-radius)}@keyframes _ngcontent-%COMP%_loading{0%{background-position:200% 0}to{background-position:-200% 0}}.skeleton-row[_ngcontent-%COMP%]{height:48px;margin-bottom:var(--mscoa-chart-spacing-xs)}.skeleton-cell[_ngcontent-%COMP%]{height:100%;margin-right:var(--mscoa-chart-spacing-md)}"], changeDetection: 0 }); }
|
|
21431
22316
|
}
|
|
21432
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadataAsync(MscoaChartComponent, () => [import('./ngx-t-forms-mscoa-chart-toolbar.component-
|
|
22317
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadataAsync(MscoaChartComponent, () => [import('./ngx-t-forms-mscoa-chart-toolbar.component-D0igUV3W.mjs').then(m => m.MscoaChartToolbarComponent), import('./ngx-t-forms-mscoa-error-display.component-rzl-fMmd.mjs').then(m => m.MscoaErrorDisplayComponent), import('./ngx-t-forms-mscoa-temporary-hint.component-CBuGHwnU.mjs').then(m => m.MscoaTemporaryHintComponent), Promise.resolve().then(function () { return daysAgo_pipe; }).then(m => m.ConvertCamelCasePipe)], (MscoaChartToolbarComponent, MscoaErrorDisplayComponent, MscoaTemporaryHintComponent, ConvertCamelCasePipe) => { i0.ɵsetClassMetadata(MscoaChartComponent, [{
|
|
21433
22318
|
type: Component,
|
|
21434
22319
|
args: [{ selector: 'lib-mscoa-chart', imports: [
|
|
21435
22320
|
CommonModule,
|
|
@@ -22260,8 +23145,8 @@ class MscoaFormInputComponent {
|
|
|
22260
23145
|
i0.ɵɵproperty("formGroup", ctx.formGroup());
|
|
22261
23146
|
i0.ɵɵadvance();
|
|
22262
23147
|
i0.ɵɵconditional((tmp_1_0 = ctx.inputConfig()) ? 1 : -1, tmp_1_0);
|
|
22263
|
-
} }, dependencies: [ReactiveFormsModule, i1$1.ɵNgNoValidate, i1$1.NgControlStatus, i1$1.NgControlStatusGroup, i1$1.RequiredValidator, i1$1.FormGroupDirective, i1$1.FormControlName, MatFormFieldModule, i2.MatFormField, i2.MatLabel, i2.MatHint, i2.MatError, i2.MatPrefix, i2.MatSuffix, MatInputModule,
|
|
22264
|
-
MatIconModule, i3$1.MatIcon, MatButtonModule,
|
|
23148
|
+
} }, dependencies: [ReactiveFormsModule, i1$1.ɵNgNoValidate, i1$1.NgControlStatus, i1$1.NgControlStatusGroup, i1$1.RequiredValidator, i1$1.FormGroupDirective, i1$1.FormControlName, MatFormFieldModule, i2$1.MatFormField, i2$1.MatLabel, i2$1.MatHint, i2$1.MatError, i2$1.MatPrefix, i2$1.MatSuffix, MatInputModule,
|
|
23149
|
+
MatIconModule, i3$1.MatIcon, MatButtonModule, i2.MatIconButton, MatTooltipModule, i5.MatTooltip, TFormInputStatusComponent,
|
|
22265
23150
|
MscoaReactiveFormFieldComponent], styles: ["mat-form-field[_ngcontent-%COMP%]{width:100%}mat-form-field[_ngcontent-%COMP%] .input-sync-button[_ngcontent-%COMP%]{display:none}mat-form-field[_ngcontent-%COMP%]:hover .input-sync-button[_ngcontent-%COMP%]{display:inline-block}"], changeDetection: 0 }); }
|
|
22266
23151
|
}
|
|
22267
23152
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MscoaFormInputComponent, [{
|
|
@@ -22810,7 +23695,7 @@ class SignaturePadInputComponent extends BaseCustomInput {
|
|
|
22810
23695
|
i0.ɵɵadvance();
|
|
22811
23696
|
i0.ɵɵconditional(ctx.loading ? 16 : -1);
|
|
22812
23697
|
} }, dependencies: [CommonModule,
|
|
22813
|
-
MatButtonModule,
|
|
23698
|
+
MatButtonModule, i2.MatButton, MatIconModule, i3$1.MatIcon, MatProgressSpinnerModule, i4.MatProgressSpinner, MatTooltipModule, i5.MatTooltip, i3.DatePipe], styles: [".signature-field[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;width:100%}.signature-container[_ngcontent-%COMP%]{position:relative;width:100%;overflow:hidden;border:1px solid var(--mat-sys-outline-variant, rgba(0, 0, 0, .12));border-radius:12px 12px 0 0;background:var(--mat-sys-surface-container-high);transition:opacity .4s cubic-bezier(.16,1,.3,1),border-color .2s ease}.signature-container[_ngcontent-%COMP%]:focus-within{border-color:var(--mat-sys-primary)}.signature-container[_ngcontent-%COMP%]:after{content:\"\";position:absolute;left:1.5rem;right:1.5rem;bottom:2rem;border-bottom:1px dashed var(--mat-sys-outline);opacity:.35;pointer-events:none}.signature-container--preview[_ngcontent-%COMP%]{opacity:.28}.signature-field--readonly[_ngcontent-%COMP%] .signature-container[_ngcontent-%COMP%]{border-radius:12px}.signature-field--readonly[_ngcontent-%COMP%] .signature-container[_ngcontent-%COMP%]:after{display:none}.signature-toolbar[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;padding:.625rem .875rem;border:1px solid var(--mat-sys-outline-variant, rgba(0, 0, 0, .12));border-top:none;border-radius:0 0 12px 12px;background:var(--mat-sys-surface-container)}.signature-field--readonly[_ngcontent-%COMP%] .signature-toolbar[_ngcontent-%COMP%]{border-top:1px solid var(--mat-sys-outline-variant, rgba(0, 0, 0, .12));border-radius:0 0 12px 12px;margin-top:-1px}.spacer[_ngcontent-%COMP%]{flex:1 1 auto}.signature-trust[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.625rem;min-width:0}.signature-trust__icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:1.25rem;width:1.25rem;height:1.25rem;color:var(--mat-sys-primary);opacity:.9}.signature-trust__text[_ngcontent-%COMP%]{display:flex;flex-direction:column;line-height:1.25;min-width:0}.signature-trust__title[_ngcontent-%COMP%]{font-size:.8125rem;font-weight:600;letter-spacing:-.01em;color:var(--mat-sys-on-surface)}.signature-trust__subtitle[_ngcontent-%COMP%]{font-size:.6875rem;font-weight:500;letter-spacing:.02em;color:var(--mat-sys-on-surface-variant)}.signature-action[_ngcontent-%COMP%]{flex-shrink:0}.signature-action[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:.375rem}.signature-action--clear[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: var(--mat-sys-on-surface-variant);--mdc-outlined-button-outline-color: var(--mat-sys-outline-variant)}.signature-overlay[_ngcontent-%COMP%]{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;padding:1rem;pointer-events:none}.signature-card[_ngcontent-%COMP%]{pointer-events:auto;width:100%;max-width:22rem;padding:1.25rem;border:1px solid var(--mat-sys-outline-variant, rgba(0, 0, 0, .12));border-radius:12px;background:var(--mat-sys-surface-container);box-shadow:0 8px 28px #00000029}.signature-card__head[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.875rem}.signature-card__avatar[_ngcontent-%COMP%]{flex-shrink:0;width:2.75rem;height:2.75rem;border-radius:50%;object-fit:cover;border:1px solid var(--mat-sys-outline-variant, rgba(0, 0, 0, .12))}.signature-card__heading[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;min-width:0}.signature-card__title[_ngcontent-%COMP%]{font-size:.9375rem;font-weight:600;letter-spacing:-.01em;color:var(--mat-sys-on-surface)}.signature-card__meta[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.25rem .875rem}.signature-card__meta-item[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.375rem;min-width:0;font-size:.75rem;color:var(--mat-sys-on-surface-variant)}.signature-card__meta-item[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:.875rem;width:.875rem;height:.875rem;opacity:.75}.signature-card__description[_ngcontent-%COMP%]{margin:1rem 0 1.25rem;font-size:.8125rem;line-height:1.5;color:var(--mat-sys-on-surface-variant)}.signature-card__actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.signature-card__apply[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:.375rem}.signature-loading[_ngcontent-%COMP%]{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;border-radius:12px;background:color-mix(in srgb,var(--mat-sys-surface) 78%,transparent);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.signature-loading__text[_ngcontent-%COMP%]{font-size:.8125rem;font-weight:500;color:var(--mat-sys-on-surface-variant)}"], changeDetection: 0 }); }
|
|
22814
23699
|
}
|
|
22815
23700
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignaturePadInputComponent, [{
|
|
22816
23701
|
type: Component,
|
|
@@ -22980,7 +23865,7 @@ class SignatureInputElementComponent {
|
|
|
22980
23865
|
i0.ɵɵproperty("formGroup", ctx.formGroup());
|
|
22981
23866
|
i0.ɵɵadvance();
|
|
22982
23867
|
i0.ɵɵconditional((tmp_1_0 = ctx.inputConfig()) ? 1 : -1, tmp_1_0);
|
|
22983
|
-
} }, dependencies: [ReactiveFormsModule, i1$1.ɵNgNoValidate, i1$1.NgControlStatus, i1$1.NgControlStatusGroup, i1$1.RequiredValidator, i1$1.FormGroupDirective, i1$1.FormControlName, MatFormFieldModule, i2.MatFormField, i2.MatLabel, i2.MatHint, i2.MatError, i2.MatPrefix, i2.MatSuffix, MatIconModule, i3$1.MatIcon, MatButtonModule,
|
|
23868
|
+
} }, dependencies: [ReactiveFormsModule, i1$1.ɵNgNoValidate, i1$1.NgControlStatus, i1$1.NgControlStatusGroup, i1$1.RequiredValidator, i1$1.FormGroupDirective, i1$1.FormControlName, MatFormFieldModule, i2$1.MatFormField, i2$1.MatLabel, i2$1.MatHint, i2$1.MatError, i2$1.MatPrefix, i2$1.MatSuffix, MatIconModule, i3$1.MatIcon, MatButtonModule, i2.MatIconButton, MatTooltipModule, i5.MatTooltip, TFormInputStatusComponent,
|
|
22984
23869
|
SignaturePadInputComponent], styles: ["mat-form-field[_ngcontent-%COMP%]{width:100%}mat-form-field[_ngcontent-%COMP%] .input-sync-button[_ngcontent-%COMP%]{display:none}mat-form-field[_ngcontent-%COMP%]:hover .input-sync-button[_ngcontent-%COMP%]{display:inline-block}"], changeDetection: 0 }); }
|
|
22985
23870
|
}
|
|
22986
23871
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignatureInputElementComponent, [{
|
|
@@ -24992,7 +25877,7 @@ class DataTreeComponent {
|
|
|
24992
25877
|
i0.ɵɵconditional((tmp_4_0 = ctx.resultRowCount()) ? 38 : -1, tmp_4_0);
|
|
24993
25878
|
i0.ɵɵadvance(3);
|
|
24994
25879
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(42, 6, ctx.mappedValue));
|
|
24995
|
-
} }, dependencies: [MatButtonModule,
|
|
25880
|
+
} }, dependencies: [MatButtonModule, i2.MatButton, i2.MatIconButton, MatButtonToggleModule, i3$5.MatButtonToggleGroup, i3$5.MatButtonToggle, MatCheckboxModule, i3$4.MatCheckbox, MatExpansionModule, i5$2.MatAccordion, i5$2.MatExpansionPanel, i5$2.MatExpansionPanelHeader, i5$2.MatExpansionPanelTitle, MatIconModule, i3$1.MatIcon, MatMenuModule, i6$1.MatMenu, i6$1.MatMenuItem, i6$1.MatMenuTrigger, MatTooltipModule, i5.MatTooltip, MatTreeModule, i1$4.MatTreeNodeDef, i1$4.MatTreeNodePadding, i1$4.MatTreeNodeToggle, i1$4.MatTree, i1$4.MatTreeNode, JsonPipe,
|
|
24996
25881
|
TitleCasePipe], styles: ["@charset \"UTF-8\";[_nghost-%COMP%]{display:block}.surface[_ngcontent-%COMP%] mat-expansion-panel[_ngcontent-%COMP%]{background:var(--mat-sys-surface-container-low, var(--lib-forms-surface-container-low))}[_nghost-%COMP%] .mat-expansion-panel-header{height:44px;padding:0 .875rem}[_nghost-%COMP%] .mat-expansion-panel-body{padding:0 .875rem .75rem}button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.panel-title[_ngcontent-%COMP%]{font-size:.875rem;font-weight:500;letter-spacing:-.01em}.title-icon[_ngcontent-%COMP%]{margin-right:.625rem;vertical-align:middle;color:var(--lib-forms-on-surface-variant)}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.875rem;padding:.5rem 0 .25rem}.hint-line[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;margin:0;font-size:.8125rem;color:var(--lib-forms-on-surface-variant)}.info-icon[_ngcontent-%COMP%]{color:var(--sem-info, var(--lib-forms-primary));flex:none}.inline-icon[_ngcontent-%COMP%]{font-size:1rem;width:1rem;height:1rem;vertical-align:text-bottom}.field-label[_ngcontent-%COMP%]{font-size:.625rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--lib-forms-on-surface-variant)}.muted[_ngcontent-%COMP%]{font-size:.8125rem;color:var(--lib-forms-on-surface-variant)}.data-tree[_ngcontent-%COMP%]{background:var(--lib-forms-surface-container-low);border-radius:var(--lib-forms-radius-md);padding:.5rem .75rem;min-width:fit-content}[_nghost-%COMP%] mat-tree-node[_ngcontent-%COMP%]{min-height:34px}.node-spacer[_ngcontent-%COMP%]{display:inline-block;width:36px}.node-toggle[_ngcontent-%COMP%]{color:var(--lib-forms-on-surface-variant)}.node-checkbox[_ngcontent-%COMP%]{width:100%}.node-key[_ngcontent-%COMP%]{font-weight:500;color:var(--lib-forms-on-surface);margin-right:.5rem}.node-value[_ngcontent-%COMP%]{font-family:var(--lib-forms-font-mono, monospace);padding:.0625rem .4375rem;background:var(--lib-forms-surface-container);border-radius:var(--lib-forms-radius-sm);font-size:.8125rem;white-space:nowrap}.breadcrumb[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;gap:.125rem}.crumb[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem;height:1.75rem;max-width:9rem;padding:0 .5rem;font:inherit;font-size:.8125rem;font-weight:500;color:var(--lib-forms-on-surface-variant);background:transparent;border:0;border-radius:var(--lib-forms-radius-pill);cursor:pointer;white-space:nowrap;transition:background-color var(--lib-forms-duration-hover) var(--lib-forms-easing),color var(--lib-forms-duration-hover) var(--lib-forms-easing)}.crumb[_ngcontent-%COMP%]:hover:not(:disabled){background:var(--lib-forms-surface-container-high)}.crumb[_ngcontent-%COMP%]:disabled{cursor:default;opacity:.65}.crumb[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex:none;font-size:1.0625rem;width:1.0625rem;height:1.0625rem}.crumb-text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.crumb-array[_ngcontent-%COMP%]{color:var(--lib-forms-primary)}.crumb-active[_ngcontent-%COMP%], .crumb-active[_ngcontent-%COMP%]:hover:not(:disabled){background:var(--lib-forms-primary-container);color:var(--lib-forms-on-surface)}.crumb-badge[_ngcontent-%COMP%]{min-width:1.0625rem;padding:0 .3125rem;border-radius:var(--lib-forms-radius-pill);background:var(--lib-forms-primary);color:var(--lib-forms-on-primary, var(--mat-sys-on-primary));font-size:.625rem;line-height:1.0625rem;text-align:center}.crumb-sep[_ngcontent-%COMP%]{color:var(--lib-forms-outline);font-size:1rem;width:1rem;height:1rem}.pipeline[_ngcontent-%COMP%]{display:flex;align-items:stretch;flex-wrap:wrap;gap:.375rem}.stage[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:.0625rem;min-width:4rem;padding:.375rem .5rem;border:1px solid var(--lib-forms-outline-variant);border-radius:var(--lib-forms-radius-md);background:var(--lib-forms-surface-container-low);color:var(--lib-forms-on-surface);cursor:pointer;transition:border-color var(--lib-forms-duration-hover) var(--lib-forms-easing),background-color var(--lib-forms-duration-hover) var(--lib-forms-easing)}.stage[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:1.125rem;width:1.125rem;height:1.125rem}.stage-source[_ngcontent-%COMP%]{cursor:default;color:var(--lib-forms-on-surface-variant);background:transparent;border-style:dashed}.stage-active[_ngcontent-%COMP%]{border-color:var(--lib-forms-primary);background:var(--lib-forms-primary-container)}.stage-empty[_ngcontent-%COMP%]{border-style:dashed;color:var(--lib-forms-on-surface-variant)}.stage-add[_ngcontent-%COMP%]{border-style:dashed;color:var(--lib-forms-primary);min-width:3.75rem}.stage-label[_ngcontent-%COMP%]{font-size:.75rem;font-weight:500}.stage-count[_ngcontent-%COMP%]{font-size:.625rem;color:var(--lib-forms-on-surface-variant)}.flow-arrow[_ngcontent-%COMP%]{align-self:center;color:var(--lib-forms-outline);font-size:1.125rem;width:1rem;height:1.125rem}.menu-hint[_ngcontent-%COMP%]{display:block;font-size:.6875rem;color:var(--lib-forms-on-surface-variant)}.editor[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.75rem;padding:1.125rem;border-radius:var(--lib-forms-radius-lg);background:var(--lib-forms-surface-container-low);box-shadow:var(--mat-sys-level1, 0 1px 3px rgba(0, 0, 0, .12))}.full[_ngcontent-%COMP%]{width:100%}.f-field[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.1875rem;min-width:0}.f-label[_ngcontent-%COMP%]{font-size:.625rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--lib-forms-on-surface-variant)}.f-control[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;min-width:0;height:2rem;padding:.3125rem .5rem;font-family:inherit;font-size:.8125rem;line-height:1.25;color:var(--lib-forms-on-surface);background:var(--lib-forms-surface-container-lowest);border:1px solid var(--lib-forms-outline-variant);border-radius:var(--lib-forms-radius-sm);transition:border-color var(--lib-forms-duration-hover) var(--lib-forms-easing)}select.f-control[_ngcontent-%COMP%]{cursor:pointer}.f-textarea[_ngcontent-%COMP%]{height:auto;min-height:3rem;line-height:1.4;resize:vertical}.f-control[_ngcontent-%COMP%]:hover{border-color:var(--lib-forms-outline)}.f-control[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--lib-forms-primary);box-shadow:0 0 0 1px var(--lib-forms-primary)}.sub-hint[_ngcontent-%COMP%]{margin:-.25rem 0 0;font-size:.75rem;color:var(--lib-forms-on-surface-variant)}.section-head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-top:.25rem}.section-actions[_ngcontent-%COMP%]{display:flex;gap:.25rem}.map-row[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:.5rem;padding:.5rem .5rem .5rem .625rem;background:var(--lib-forms-surface-container);border-radius:var(--lib-forms-radius-sm)}.q-item[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto;align-items:center;gap:.25rem;padding:.5rem .5rem .5rem .625rem;background:var(--lib-forms-surface-container);border-radius:var(--lib-forms-radius-sm)}.q-stack[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem;min-width:0}.q-pair[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;min-width:0}.q-pair-op[_ngcontent-%COMP%]{grid-template-columns:8rem 1fr}.q-pair-sort[_ngcontent-%COMP%]{grid-template-columns:1fr auto;align-items:end}.q-remove[_ngcontent-%COMP%]{color:var(--lib-forms-on-surface-variant)}.field-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(6.5rem,1fr));gap:.5rem}.match-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.seg[_ngcontent-%COMP%]{--mat-standard-button-toggle-height: 34px;height:34px}.checklist[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.125rem 1rem;padding:.25rem 0}.link-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;align-self:flex-start;gap:.25rem;height:1.75rem;padding:0 .5rem;font:inherit;font-size:.8125rem;font-weight:500;color:var(--lib-forms-primary);background:transparent;border:0;border-radius:var(--lib-forms-radius-sm);cursor:pointer;transition:background-color var(--lib-forms-duration-hover) var(--lib-forms-easing)}.link-btn[_ngcontent-%COMP%]:hover{background:var(--lib-forms-primary-container)}.link-btn[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex:none;font-size:1.0625rem;width:1.0625rem;height:1.0625rem}.f-picker[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:.25rem;text-align:left;cursor:pointer}.f-picker-text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.f-placeholder[_ngcontent-%COMP%]{color:var(--lib-forms-on-surface-variant)}.f-picker[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex:none;font-size:1.0625rem;width:1.0625rem;height:1.0625rem;color:var(--lib-forms-on-surface-variant)}.path-icon[_ngcontent-%COMP%]{margin-right:.25rem;font-size:1rem;width:1rem;height:1rem;color:var(--lib-forms-on-surface-variant)}.editor-foot[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;margin-top:-.25rem}.editor-actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.125rem;padding-top:.5rem}.spacer[_ngcontent-%COMP%]{flex:1}.suggestions[_ngcontent-%COMP%]{display:flex;gap:1rem;flex-wrap:wrap;padding:.75rem;border-radius:var(--lib-forms-radius-md);background:var(--sem-info-surface, var(--lib-forms-surface-container))}.suggestion-group[_ngcontent-%COMP%]{flex:1 1 10rem;display:flex;flex-direction:column;gap:.375rem}.chip-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.25rem}.ins-chip[_ngcontent-%COMP%]{font-size:.75rem}.result-count[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.375rem;font-size:.8125rem;font-weight:500;color:var(--sem-emerald, var(--lib-forms-method-get))}.result-count[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:1.125rem;width:1.125rem;height:1.125rem}.mapped-value[_ngcontent-%COMP%]{padding:1rem 1.25rem;background:var(--lib-forms-on-surface);color:var(--lib-forms-surface);border-radius:var(--lib-forms-radius-md);overflow:auto}.mapped-value[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]{margin:0;font-family:var(--lib-forms-font-mono, monospace);font-size:.8125rem}"], changeDetection: 0 }); }
|
|
24997
25882
|
}
|
|
24998
25883
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DataTreeComponent, [{
|
|
@@ -25673,7 +26558,7 @@ class JsonEditorComponent {
|
|
|
25673
26558
|
i0.ɵɵclassProp("editor-footer--active", ctx.errorMessage() !== null)("editor-footer--warn", ctx.errorMessage() === null && ctx.unknownTokenCount() > 0);
|
|
25674
26559
|
i0.ɵɵadvance();
|
|
25675
26560
|
i0.ɵɵconditional((tmp_18_0 = ctx.errorMessage()) ? 28 : ctx.unknownTokenCount() > 0 ? 29 : -1, tmp_18_0);
|
|
25676
|
-
} }, dependencies: [MatIconModule, i3$1.MatIcon, MatButtonModule,
|
|
26561
|
+
} }, dependencies: [MatIconModule, i3$1.MatIcon, MatButtonModule, i2.MatButton], styles: ["[_nghost-%COMP%]{display:block}.json-editor[_ngcontent-%COMP%]{display:flex;flex-direction:column;border:1px solid var(--lib-forms-code-border);border-radius:var(--lib-forms-radius-lg, 12px);overflow:hidden;background-color:var(--lib-forms-code-bg);font-family:Fira Code,Consolas,Monaco,Courier New,monospace;box-shadow:var(--lib-forms-shadow-resting)}.json-editor--disabled[_ngcontent-%COMP%]{opacity:.75}.editor-toolbar[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.5rem 1rem;background-color:var(--lib-forms-code-surface)}.editor-toolbar[_ngcontent-%COMP%] .toolbar-label[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;font-weight:500;font-size:.8125rem;color:var(--lib-forms-code-fg)}.icon-sm[_ngcontent-%COMP%]{font-size:1.125rem;width:1.125rem;height:1.125rem}.toolbar-actions[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.75rem}.status-indicator[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.375rem;font-size:.75rem}.status-indicator--error[_ngcontent-%COMP%]{color:var(--lib-forms-code-error)}.status-indicator--valid[_ngcontent-%COMP%]{color:var(--lib-forms-code-number)}.prettify-btn[_ngcontent-%COMP%]{font-family:inherit;font-size:.75rem;color:var(--lib-forms-code-fg);background:color-mix(in srgb,var(--lib-forms-code-fg) 8%,transparent);border:1px solid color-mix(in srgb,var(--lib-forms-code-fg) 16%,transparent);border-radius:var(--lib-forms-radius-sm, 8px);padding:.25rem .75rem;cursor:pointer;transition:background-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1))}.prettify-btn[_ngcontent-%COMP%]:hover:not(:disabled){background:color-mix(in srgb,var(--lib-forms-code-fg) 16%,transparent)}.prettify-btn[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:not-allowed}.editor-container[_ngcontent-%COMP%]{display:flex;width:100%;height:var(--lib-json-editor-height, 450px);background-color:var(--lib-forms-code-bg)}.editor-gutter[_ngcontent-%COMP%]{flex:0 0 auto;box-sizing:border-box;overflow:hidden;padding:1rem .5rem 1rem .75rem;text-align:right;font-family:Fira Code,Consolas,Monaco,Courier New,monospace;font-size:.875rem;line-height:1.5;color:color-mix(in srgb,var(--lib-forms-code-fg) 40%,transparent);background-color:var(--lib-forms-code-surface);border-right:1px solid var(--lib-forms-code-border);-webkit-user-select:none;user-select:none}.editor-gutter[_ngcontent-%COMP%] .gutter-line[_ngcontent-%COMP%]{display:block;height:1.5em;white-space:pre}.editor-scroll[_ngcontent-%COMP%]{position:relative;flex:1 1 auto;min-width:0;height:100%}.editor-textarea[_ngcontent-%COMP%], .editor-backdrop[_ngcontent-%COMP%]{position:absolute;inset:0;font-family:Fira Code,Consolas,Monaco,Courier New,monospace;font-size:.875rem;line-height:1.5;letter-spacing:0;padding:1rem;margin:0;border:0;box-sizing:border-box;white-space:pre;word-wrap:normal;overflow:auto;tab-size:4}.editor-backdrop[_ngcontent-%COMP%]{z-index:1;pointer-events:none;overflow:hidden;background-color:transparent;color:var(--lib-forms-code-fg)}.editor-backdrop[_ngcontent-%COMP%] .highlights[_ngcontent-%COMP%]{white-space:pre;word-wrap:normal}.editor-textarea[_ngcontent-%COMP%]{z-index:2;color:transparent;background:transparent;caret-color:var(--lib-forms-code-fg);resize:none;outline:none}.editor-textarea[_ngcontent-%COMP%]::selection{background-color:color-mix(in srgb,var(--lib-forms-code-fg) 18%,transparent);color:transparent}.editor-textarea[_ngcontent-%COMP%]:disabled{cursor:not-allowed}.binding-menu[_ngcontent-%COMP%]{position:absolute;left:1rem;bottom:1rem;z-index:3;max-height:16rem;width:18rem;max-width:calc(100% - 2rem);overflow-y:auto;display:flex;flex-direction:column;padding:.375rem;border:1px solid var(--lib-forms-code-border);border-radius:var(--lib-forms-radius-lg, 12px);background-color:var(--lib-forms-code-surface);box-shadow:var(--lib-forms-shadow-floating, var(--lib-forms-shadow-resting))}.binding-menu__head[_ngcontent-%COMP%]{padding:.35rem .6rem .5rem;font-size:.625rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:color-mix(in srgb,var(--lib-forms-code-fg) 55%,transparent)}.binding-option[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.6rem;padding:.45rem .6rem;border:0;border-radius:var(--lib-forms-radius-sm, 8px);background:transparent;text-align:left;cursor:pointer;transition:background-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1))}.binding-option--active[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--lib-forms-primary, var(--lib-forms-code-key, var(--lib-forms-code-fg))) 16%,transparent)}.binding-option[_ngcontent-%COMP%] .binding-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:1.125rem;width:1.125rem;height:1.125rem;color:color-mix(in srgb,var(--lib-forms-code-fg) 70%,transparent)}.binding-option[_ngcontent-%COMP%] .binding-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-width:0;line-height:1.25}.binding-option[_ngcontent-%COMP%] .binding-name[_ngcontent-%COMP%]{font-family:inherit;font-size:.8125rem;font-weight:500;color:var(--lib-forms-code-fg);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.binding-option[_ngcontent-%COMP%] .binding-detail[_ngcontent-%COMP%]{font-size:.6875rem;color:color-mix(in srgb,var(--lib-forms-code-fg) 55%,transparent);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.binding-empty[_ngcontent-%COMP%]{padding:.6rem;font-size:.75rem;color:color-mix(in srgb,var(--lib-forms-code-fg) 60%,transparent)}.icon-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;padding:0;border:0;border-radius:var(--lib-forms-radius-sm, 8px);background:transparent;color:var(--lib-forms-code-fg);cursor:pointer;transition:background-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1))}.icon-btn[_ngcontent-%COMP%]:hover{background:color-mix(in srgb,var(--lib-forms-code-fg) 12%,transparent)}.fullscreen-scrim[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:1199;background:color-mix(in srgb,var(--lib-forms-shadow-color) 55%,transparent);animation:_ngcontent-%COMP%_json-editor-fade .2s var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1))}.json-editor--fullscreen[_ngcontent-%COMP%]{position:fixed;inset:2.5rem;z-index:1200;margin:0;box-shadow:var(--lib-forms-shadow-floating, var(--lib-forms-shadow-resting))}.json-editor--fullscreen[_ngcontent-%COMP%] .editor-container[_ngcontent-%COMP%]{height:auto;flex:1 1 auto;min-height:0}@keyframes _ngcontent-%COMP%_json-editor-fade{0%{opacity:0}to{opacity:1}}.editor-footer[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;min-height:2.25rem;padding:.5rem 1rem;font-size:.8125rem;color:var(--lib-forms-code-error);background-color:transparent;transition:background-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1))}.editor-footer--active[_ngcontent-%COMP%]{background-color:color-mix(in srgb,var(--lib-forms-code-error) 12%,transparent)}.editor-footer--warn[_ngcontent-%COMP%]{color:var(--lib-forms-warning, var(--lib-forms-code-boolean));background-color:color-mix(in srgb,var(--lib-forms-warning, var(--lib-forms-code-boolean)) 12%,transparent)}"], changeDetection: 0 }); }
|
|
25677
26562
|
}
|
|
25678
26563
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(JsonEditorComponent, [{
|
|
25679
26564
|
type: Component,
|
|
@@ -26157,7 +27042,7 @@ class ApiValueAccessRulesComponent {
|
|
|
26157
27042
|
i0.ɵɵconditional((tmp_5_0 = ctx.viewMode()) === "sync" ? 8 : tmp_5_0 === "map" ? 9 : -1);
|
|
26158
27043
|
i0.ɵɵadvance(2);
|
|
26159
27044
|
i0.ɵɵproperty("cdkConnectedOverlayOpen", ctx.disabled());
|
|
26160
|
-
} }, dependencies: [OverlayModule, i2$
|
|
27045
|
+
} }, dependencies: [OverlayModule, i2$4.CdkConnectedOverlay, MatButtonModule, i2.MatButton, MatButtonToggleModule, i3$5.MatButtonToggleGroup, i3$5.MatButtonToggle, MatIconModule, i3$1.MatIcon, MatProgressSpinnerModule, i4.MatProgressSpinner, DataTreeComponent,
|
|
26161
27046
|
JsonEditorComponent,
|
|
26162
27047
|
EmptyStateComponent,
|
|
26163
27048
|
ErrorListComponent], styles: ["@charset \"UTF-8\";[_nghost-%COMP%]{display:block;position:relative}.mode-toggle[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:1.5rem}.mode-toggle[_ngcontent-%COMP%] .mat-button-toggle-group{border:none;border-radius:var(--lib-forms-radius-pill, 999px);background:var(--lib-forms-surface-container-high);padding:.25rem;gap:.25rem;box-shadow:none;overflow:hidden}.mode-toggle[_ngcontent-%COMP%] .mat-button-toggle{border:none;background:transparent;border-radius:var(--lib-forms-radius-pill, 999px);color:var(--lib-forms-on-surface-variant);transition:color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing),background var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing)}.mode-toggle[_ngcontent-%COMP%] .mat-button-toggle+.mat-button-toggle{border-left:none}.mode-toggle[_ngcontent-%COMP%] .mat-button-toggle-button{height:auto}.mode-toggle[_ngcontent-%COMP%] .mat-button-toggle-label-content{padding:.375rem 1.125rem;line-height:1.5;font-size:.8125rem;font-weight:600}.mode-toggle[_ngcontent-%COMP%] .mat-button-toggle-checked{background:var(--lib-forms-surface);color:var(--lib-forms-primary);box-shadow:var(--lib-forms-shadow-edge)}.mode-toggle[_ngcontent-%COMP%] .mat-pseudo-checkbox{display:none}.run-bar[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-top:1.5rem;padding:1rem 1.25rem;background:var(--lib-forms-surface);border:1px solid color-mix(in srgb,var(--lib-forms-outline) 15%,transparent);border-radius:var(--lib-forms-radius-lg, 12px);box-shadow:var(--lib-forms-shadow-resting)}.run-bar__hint[_ngcontent-%COMP%]{margin:0;font-size:.8125rem;line-height:1.4;color:var(--lib-forms-on-surface-variant)}.run-bar__spacer[_ngcontent-%COMP%]{flex:1 1 auto}.mapping-section[_ngcontent-%COMP%]{margin-bottom:1.5rem}.mapping-section[_ngcontent-%COMP%]:last-child{margin-bottom:0}.mapping-section__label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;font-size:.75rem;font-weight:500;color:var(--lib-forms-on-surface-variant)}.mapping-section__label[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{padding:.125rem .5rem;border-radius:var(--lib-forms-radius-pill, 6px);background:color-mix(in srgb,var(--lib-forms-primary) 10%,transparent);color:var(--lib-forms-on-surface);font-family:var(--lib-forms-font-mono, ui-monospace, monospace);font-weight:600;font-size:.75rem}.disabled-overlay[_ngcontent-%COMP%]{position:absolute;inset:0;background:color-mix(in srgb,var(--lib-forms-on-surface) 30%,transparent);border-radius:var(--lib-forms-radius-lg, 12px);z-index:10}"], changeDetection: 0 }); }
|
|
@@ -27181,7 +28066,7 @@ class ValidationExpressioCreatorComponent {
|
|
|
27181
28066
|
i0.ɵɵconditional(ctx.mode() === "guided" ? 9 : 10);
|
|
27182
28067
|
i0.ɵɵadvance(2);
|
|
27183
28068
|
i0.ɵɵconditional(ctx.valueAccessOptions().length > 0 ? 11 : -1);
|
|
27184
|
-
} }, dependencies: [ReactiveFormsModule, i1$1.NgSelectOption, i1$1.ɵNgSelectMultipleOption, i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.FormControlDirective, MatButtonModule,
|
|
28069
|
+
} }, dependencies: [ReactiveFormsModule, i1$1.NgSelectOption, i1$1.ɵNgSelectMultipleOption, i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.FormControlDirective, MatButtonModule, i2.MatButton, MatButtonToggleModule, i3$5.MatButtonToggleGroup, i3$5.MatButtonToggle, MatChipsModule, i4$3.MatChipGrid, i4$3.MatChipInput, i4$3.MatChipOption, MatDividerModule, i6.MatDivider, MatFormFieldModule, i2$1.MatFormField, i2$1.MatLabel, i2$1.MatHint, MatIconModule, i3$1.MatIcon, MatInputModule, i2$2.MatInput, MatTooltipModule, i5.MatTooltip, ApiValueAccessRulesComponent,
|
|
27185
28070
|
TitleCasePipe,
|
|
27186
28071
|
SearchListPipe], styles: [".lib-vec[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.625rem}.lib-vec__head[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.lib-vec__heading[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.125rem;min-width:0}.lib-vec__f-label[_ngcontent-%COMP%]{font-size:.625rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--lib-forms-on-surface-variant)}.lib-vec__sub-hint[_ngcontent-%COMP%]{margin:0;font-size:.75rem;line-height:1.4;color:var(--lib-forms-on-surface-variant)}.lib-vec__sub-hint--lead[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.375rem;padding:.4375rem .625rem;background:var(--lib-forms-surface-container-lowest);border:1px dashed var(--lib-forms-outline-variant);border-radius:var(--lib-forms-radius-sm, 8px)}.lib-vec__lead-icon[_ngcontent-%COMP%]{flex:none;font-size:1rem;width:1rem;height:1rem;color:var(--sem-info, var(--lib-forms-primary))}.lib-vec__match[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.lib-vec__muted[_ngcontent-%COMP%]{font-size:.75rem;color:var(--lib-forms-on-surface-variant)}.lib-vec__seg[_ngcontent-%COMP%]{--mat-standard-button-toggle-height: 28px;height:28px}.lib-vec__connector[_ngcontent-%COMP%]{display:flex;justify-content:center;margin:-.1875rem 0}.lib-vec__connector[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding:.0625rem .5rem;font-size:.5625rem;font-weight:600;letter-spacing:.1em;color:var(--lib-forms-on-surface-variant);background:var(--lib-forms-surface-container-high);border-radius:var(--lib-forms-radius-pill, 999px)}.lib-vec__cond[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.375rem;padding:.5rem .5rem .5625rem;background:var(--lib-forms-surface-container-lowest);border:1px solid var(--lib-forms-outline-variant);border-radius:var(--lib-forms-radius-md, 12px);transition:border-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1))}.lib-vec__cond[_ngcontent-%COMP%]:hover{border-color:var(--lib-forms-outline)}.lib-vec__cond--incomplete[_ngcontent-%COMP%]{border-color:var(--sem-warning, var(--lib-forms-outline-variant))}.lib-vec__cond-row[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto;align-items:center;gap:.375rem;min-width:0}.lib-vec__cond-row--ops[_ngcontent-%COMP%]{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}.lib-vec__control[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;min-width:0;height:2rem;padding:.3125rem .5rem;font-family:inherit;font-size:.8125rem;line-height:1.2;color:var(--lib-forms-on-surface);background:var(--lib-forms-surface-container-lowest);border:1px solid var(--lib-forms-outline-variant);border-radius:var(--lib-forms-radius-sm, 8px);transition:border-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1))}.lib-vec__control--field[_ngcontent-%COMP%]{font-weight:500}select.lib-vec__control[_ngcontent-%COMP%]{cursor:pointer}.lib-vec__control[_ngcontent-%COMP%]:hover{border-color:var(--lib-forms-outline)}.lib-vec__control[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--lib-forms-primary);box-shadow:0 0 0 1px var(--lib-forms-primary)}.lib-vec__control--invalid[_ngcontent-%COMP%]:not(:focus){border-color:var(--sem-warning, var(--lib-forms-outline));background:var(--sem-warning-surface, var(--lib-forms-surface-container-lowest))}.lib-vec__icon-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;flex:none;width:1.875rem;height:1.875rem;padding:0;color:var(--lib-forms-on-surface-variant);background:transparent;border:1px solid transparent;border-radius:var(--lib-forms-radius-sm, 8px);cursor:pointer;transition:color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1)),background-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1)),border-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1))}.lib-vec__icon-btn[_ngcontent-%COMP%]:hover{color:var(--lib-forms-primary);background:var(--lib-forms-primary-container)}.lib-vec__icon-btn--on[_ngcontent-%COMP%]{color:var(--lib-forms-primary);border-color:var(--lib-forms-primary)}.lib-vec__icon-btn[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:1.0625rem;width:1.0625rem;height:1.0625rem}.lib-vec__link[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem;height:1.75rem;padding:0 .5rem;font:inherit;font-size:.8125rem;font-weight:500;color:var(--lib-forms-primary);background:transparent;border:0;border-radius:var(--lib-forms-radius-sm, 8px);cursor:pointer;transition:background-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1))}.lib-vec__head[_ngcontent-%COMP%] .lib-vec__link[_ngcontent-%COMP%]{flex:none}.lib-vec__link[_ngcontent-%COMP%]:hover:not(:disabled){background:var(--lib-forms-primary-container)}.lib-vec__link[_ngcontent-%COMP%]:disabled{color:var(--lib-forms-on-surface-variant);cursor:default;opacity:.6}.lib-vec__link[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex:none;font-size:1.0625rem;width:1.0625rem;height:1.0625rem}.lib-vec__foot[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.lib-vec__valid[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem;font-size:.6875rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--sem-success, var(--lib-forms-primary));cursor:default}.lib-vec__valid[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.9375rem;width:.9375rem;height:.9375rem}.lib-vec__mono[_ngcontent-%COMP%]{font-family:var(--lib-forms-font-mono, monospace)}[_nghost-%COMP%] .mat-mdc-form-field-hint-wrapper{min-width:0}[_nghost-%COMP%] .mat-mdc-form-field-hint{min-width:0;width:100%}.showSuggestionContainer[_ngcontent-%COMP%]{display:block;box-sizing:border-box;width:100%;max-width:100%;overflow:hidden}.suggestion-container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;box-sizing:border-box;width:100%;gap:24px;max-height:220px;overflow-x:hidden;overflow-y:auto}.suggestion-column[_ngcontent-%COMP%]{flex:1 1 150px;min-width:0}.suggestion-heading[_ngcontent-%COMP%]{margin-bottom:12px;font-size:.625rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;opacity:.7}.button-container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:4px}.suggestion-button[_ngcontent-%COMP%]{height:auto;min-width:0;max-width:100%;text-align:left;font-size:11px;line-height:normal;padding:4px 8px;border-radius:4px;overflow:hidden}.suggestion-button[_ngcontent-%COMP%] .mdc-button__label{display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"], changeDetection: 0 }); }
|
|
27187
28072
|
}
|
|
@@ -27258,7 +28143,7 @@ class DialogTemplateComponent {
|
|
|
27258
28143
|
i0.ɵɵtextInterpolate1(" ", ctx.data.noText, " ");
|
|
27259
28144
|
i0.ɵɵadvance(3);
|
|
27260
28145
|
i0.ɵɵtextInterpolate1(" ", ctx.data.yesText, " ");
|
|
27261
|
-
} }, dependencies: [MatDialogModule, i1$
|
|
28146
|
+
} }, dependencies: [MatDialogModule, i1$3.MatDialogClose, i1$3.MatDialogTitle, i1$3.MatDialogActions, i1$3.MatDialogContent, MatButtonModule, i2.MatButton, A11yModule], styles: ["mat-dialog-content[_ngcontent-%COMP%]{max-width:368px}"], changeDetection: 0 }); }
|
|
27262
28147
|
}
|
|
27263
28148
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DialogTemplateComponent, [{
|
|
27264
28149
|
type: Component,
|
|
@@ -27348,5 +28233,5 @@ const getSignatureImage = async (inputConfig, value, secret) => {
|
|
|
27348
28233
|
* Generated bundle index. Do not edit.
|
|
27349
28234
|
*/
|
|
27350
28235
|
|
|
27351
|
-
export {
|
|
27352
|
-
//# sourceMappingURL=ngx-t-forms-ngx-t-forms-
|
|
28236
|
+
export { returnMappedPathValue as $, calculateListOveralFunctions as A, BaseCustomInput as B, readDocumentIdentifier as C, DaysAgoPipe as D, EmptyStateComponent as E, FormsStoreService as F, DOCUMENT_REPOSITORY as G, DEFAULT_DOCUMENT_PAGE_SIZE as H, DEFAULT_DOCUMENT_SORT as I, JsonEditorComponent as J, DocumentPickerConfigurationError as K, readDocumentPath as L, MscoaFormInputComponent as M, NGX_T_FORMS_CONFIG_TOKEN as N, readDocumentId as O, PREDICATE_OPERATORS as P, toDocumentReference as Q, FormatDataPipe as R, SignatureInputElementComponent as S, TDynamicDataEditComponent as T, UserFormStepperComponent as U, ValidationExpressioCreatorComponent as V, readDocumentReferences as W, writeDocumentValue as X, resolveIdentifierPath as Y, fuzzySearch as Z, _isEqual as _, assignDeepPropertyToObject as a, ACCOUNTING_BASIS as a0, getToolbarColor as a1, getToolbarBackground as a2, getToolbarIconColor as a3, FORM_ACTIONS_TOKEN as a4, FORM_CONFIG_TOKEN as a5, FORM_INPUTS_TOKEN as a6, FORM_ROUTE_SOURCE as a7, FORM_SLIDES_TOKEN as a8, FORM_SUGGESTION_REGISTRY as a9, returnDeepProperty as aA, sheetConsolodation as aB, textIconsForUserHints as aC, toSuggestionBatch as aD, validateExpressionSyntax as aE, validateObjectAgainstString as aF, withFormSuggestions as aG, withHttpPipeline as aH, withInputSecret as aI, withRouterFormId as aJ, formatData_pipe as aK, FormSuggestionRegistry as aa, FormSuggestionRegistryService as ab, FormTowerControllerService as ac, HttpPipelineRepository as ad, IMPORT_TOWER_INSTANCE_ID as ae, INPUT_SECRET_TOKEN as af, MSCOA_TREE_PROVIDER as ag, MULTIPLE_FORM_INPUT_TOKEN as ah, NgxTFormsComponent as ai, NgxTFormsService as aj, PIPELINE_REPOSITORY as ak, PipelineRepository as al, PropertyAccessError as am, TFormImportController as an, TSuggestionReviewComponent as ao, UTILS_OBJECT_TOKEN as ap, buildSuggestionSchema as aq, createFileFromBase64 as ar, formGenerator as as, getPipedValueFromDataType as at, getSampleValueForInput as au, getSectionElements as av, getUrl as aw, getValueFromValueAccessor as ax, initFormConfigToV2 as ay, provideNgxTForms as az, TDynamicDataViewComponent as b, TFormEngine as c, TourManagerService as d, getSubmissionStatusFn as e, evaluatePredicate as f, getAvatar as g, emptyCondition as h, deriveObservedInputs as i, TreeComponent as j, convertPostmanFolderItemsToTree as k, ErrorListComponent as l, NESTED_EDITOR_COMPONENT as m, safeReturnDeepProperty as n, DataTreeComponent as o, parseConditions as p, getInputErrorMessage as q, referencedTokens as r, serializeConditions as s, testAgainstItem as t, TFormInputStatusComponent as u, DialogTemplateComponent as v, FormBuilderComponent as w, FormsComponent as x, TFormInputComponent as y, getSignatureImage as z };
|
|
28237
|
+
//# sourceMappingURL=ngx-t-forms-ngx-t-forms-BefvSS-p.mjs.map
|