ngx-t-forms 2.0.36 → 2.0.37
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-VektEtrf.mjs → ngx-t-forms-auto-complete-input-element.component-D_l5sbNh.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-VektEtrf.mjs.map → ngx-t-forms-auto-complete-input-element.component-D_l5sbNh.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs → ngx-t-forms-basic-input-input-element.component-fJIsRm0v.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs.map → ngx-t-forms-basic-input-input-element.component-fJIsRm0v.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-B_3IbQjp.mjs → ngx-t-forms-calculated-field-rules.component-B8Do3h4B.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-B_3IbQjp.mjs.map → ngx-t-forms-calculated-field-rules.component-B8Do3h4B.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-uTCOa48g.mjs → ngx-t-forms-chip-options-creator-editor.component-L1kPy15K.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-uTCOa48g.mjs.map → ngx-t-forms-chip-options-creator-editor.component-L1kPy15K.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-CU6Cp-oK.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-CU6Cp-oK.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-data-source-picker.component-z0l9WEw7.mjs → ngx-t-forms-data-source-picker.component-r7OGAsxo.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-data-source-picker.component-z0l9WEw7.mjs.map → ngx-t-forms-data-source-picker.component-r7OGAsxo.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-date-picker-input-element.component-C9I8KX12.mjs → ngx-t-forms-date-picker-input-element.component-DsjcLQ5A.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-date-picker-input-element.component-C9I8KX12.mjs.map → ngx-t-forms-date-picker-input-element.component-DsjcLQ5A.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-B8V7IpoK.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-B3Z47mrO.mjs.map → ngx-t-forms-date-range-picker-input-element.component-B8V7IpoK.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-hKJqVYUY.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-PW2XiPiH.mjs.map → ngx-t-forms-document-list-label-config-editor.component-hKJqVYUY.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-document-picker.component-BNQ1a96s.mjs → ngx-t-forms-document-picker.component-f-hz6Vef.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-document-picker.component-BNQ1a96s.mjs.map → ngx-t-forms-document-picker.component-f-hz6Vef.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-editor-input-element.component-C12fnCTM.mjs → ngx-t-forms-editor-input-element.component-D38U94oj.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-editor-input-element.component-C12fnCTM.mjs.map → ngx-t-forms-editor-input-element.component-D38U94oj.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-editor-js-input.component-cxob42pE.mjs → ngx-t-forms-editor-js-input.component-D_Jq7sfY.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-editor-js-input.component-cxob42pE.mjs.map → ngx-t-forms-editor-js-input.component-D_Jq7sfY.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-file-upload-input-element.component-Bgi-chdw.mjs → ngx-t-forms-file-upload-input-element.component-_RBYRgn9.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-file-upload-input-element.component-Bgi-chdw.mjs.map → ngx-t-forms-file-upload-input-element.component-_RBYRgn9.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-input-selector.component-xIalL_cs.mjs → ngx-t-forms-form-input-selector.component-CUwK3DqG.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-form-input-selector.component-xIalL_cs.mjs.map → ngx-t-forms-form-input-selector.component-CUwK3DqG.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-json-view.component-CU1d8rGd.mjs → ngx-t-forms-form-json-view.component-D9rU9vxT.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-form-json-view.component-CU1d8rGd.mjs.map → ngx-t-forms-form-json-view.component-D9rU9vxT.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-section-stepper.component-tGbPKHM6.mjs → ngx-t-forms-form-section-stepper.component-CqCL3Bnc.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-form-section-stepper.component-tGbPKHM6.mjs.map → ngx-t-forms-form-section-stepper.component-CqCL3Bnc.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-hK9C4vAa.mjs → ngx-t-forms-forms-builder-menu.component-wmRDJU4P.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-hK9C4vAa.mjs.map → ngx-t-forms-forms-builder-menu.component-wmRDJU4P.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-geo-location.component-ChmvJCGu.mjs → ngx-t-forms-geo-location.component-CMbBSXe0.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-geo-location.component-ChmvJCGu.mjs.map → ngx-t-forms-geo-location.component-CMbBSXe0.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-Cbq8OYk7.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BpA_P017.mjs.map → ngx-t-forms-image-capture-input-element.component-Cbq8OYk7.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-index-D-7ZX0w7.mjs → ngx-t-forms-index-CPNvE4PP.mjs} +2 -2
- package/fesm2022/ngx-t-forms-index-CPNvE4PP.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-input-custom.component-pUshbxSM.mjs → ngx-t-forms-input-custom.component-uNVdF9aA.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-input-custom.component-pUshbxSM.mjs.map → ngx-t-forms-input-custom.component-uNVdF9aA.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-input-editor.component-CxXMETLl.mjs → ngx-t-forms-input-editor.component-BWoKhlI3.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-input-editor.component-CxXMETLl.mjs.map → ngx-t-forms-input-editor.component-BWoKhlI3.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-map-mat-options-keys-BbfC5vYI.mjs → ngx-t-forms-map-mat-options-keys-D0SGS9xQ.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-map-mat-options-keys-BbfC5vYI.mjs.map → ngx-t-forms-map-mat-options-keys-D0SGS9xQ.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs → ngx-t-forms-mat-chip-list-editor.component-Cu-KiAeY.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs.map → ngx-t-forms-mat-chip-list-editor.component-Cu-KiAeY.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs → ngx-t-forms-missing-form-configs.component-CxF6Ljjf.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs.map → ngx-t-forms-missing-form-configs.component-CxF6Ljjf.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-D1ASX1mt.mjs → ngx-t-forms-mscoa-chart-toolbar.component-BqT5Z8SM.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-D1ASX1mt.mjs.map → ngx-t-forms-mscoa-chart-toolbar.component-BqT5Z8SM.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-CjuxTqfX.mjs → ngx-t-forms-mscoa-segment-config.component-BT-dM_5C.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-CjuxTqfX.mjs.map → ngx-t-forms-mscoa-segment-config.component-BT-dM_5C.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-BA61uQ2q.mjs → ngx-t-forms-multiple-input-input-element.component-DXAh2Mbm.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-BA61uQ2q.mjs.map → ngx-t-forms-multiple-input-input-element.component-DXAh2Mbm.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-ngx-t-forms-CJGAj18J.mjs → ngx-t-forms-ngx-t-forms-DQ_h-jPF.mjs} +147 -67
- package/fesm2022/ngx-t-forms-ngx-t-forms-DQ_h-jPF.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-paginated-selection-table-yvhqQxPV.mjs → ngx-t-forms-paginated-selection-table-DHwojPhn.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-paginated-selection-table-yvhqQxPV.mjs.map → ngx-t-forms-paginated-selection-table-DHwojPhn.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-payload-template-editor.component-sqY3bYiZ.mjs → ngx-t-forms-payload-template-editor.component-CAXdFu4E.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-payload-template-editor.component-sqY3bYiZ.mjs.map → ngx-t-forms-payload-template-editor.component-CAXdFu4E.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-pipeline-generator.component-COvr1j_v.mjs → ngx-t-forms-pipeline-generator.component-BJQ-KnmU.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-pipeline-generator.component-COvr1j_v.mjs.map → ngx-t-forms-pipeline-generator.component-BJQ-KnmU.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-record-list-manager.component-CY4GnAOb.mjs → ngx-t-forms-record-list-manager.component-BoD3S_7u.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-record-list-manager.component-CY4GnAOb.mjs.map → ngx-t-forms-record-list-manager.component-BoD3S_7u.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-required-inputs.component-ByBeNLXu.mjs → ngx-t-forms-required-inputs.component-C-E3fQu6.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-required-inputs.component-ByBeNLXu.mjs.map → ngx-t-forms-required-inputs.component-C-E3fQu6.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-CkLePXoO.mjs → ngx-t-forms-rest-api-call-setup.component-D3sa7sNg.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-CkLePXoO.mjs.map → ngx-t-forms-rest-api-call-setup.component-D3sa7sNg.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-section-report.component-mUpSxbaB.mjs → ngx-t-forms-section-report.component-D6jakGa5.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-section-report.component-mUpSxbaB.mjs.map → ngx-t-forms-section-report.component-D6jakGa5.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-select-input-element.component-c7IgHdXA.mjs → ngx-t-forms-select-input-element.component-CwqIck0h.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-select-input-element.component-c7IgHdXA.mjs.map → ngx-t-forms-select-input-element.component-CwqIck0h.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-WfuGdtvK.mjs → ngx-t-forms-selection-options-editor.component-Coj9gnrq.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-WfuGdtvK.mjs.map → ngx-t-forms-selection-options-editor.component-Coj9gnrq.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-textarea-input-element.component-C7H84RGw.mjs → ngx-t-forms-textarea-input-element.component-D4dEi8Vs.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-textarea-input-element.component-C7H84RGw.mjs.map → ngx-t-forms-textarea-input-element.component-D4dEi8Vs.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs → ngx-t-forms-toggle-input-element.component-BZiTFB0j.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs.map → ngx-t-forms-toggle-input-element.component-BZiTFB0j.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-validators-config.component-DgIVRSvF.mjs → ngx-t-forms-validators-config.component-B3K9nLxx.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-validators-config.component-DgIVRSvF.mjs.map → ngx-t-forms-validators-config.component-B3K9nLxx.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CB6qBxgr.mjs → ngx-t-forms-workflow-adjudication.component-DD6Fhx06.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CB6qBxgr.mjs.map → ngx-t-forms-workflow-adjudication.component-DD6Fhx06.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms.mjs +1 -1
- package/package.json +1 -1
- package/types/ngx-t-forms.d.ts +11 -12
- package/fesm2022/ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs +0 -261
- package/fesm2022/ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs +0 -225
- package/fesm2022/ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-calculated-field-rules.component-8EgwXTN1.mjs +0 -1011
- package/fesm2022/ngx-t-forms-calculated-field-rules.component-8EgwXTN1.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-B95VIBRi.mjs +0 -136
- package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-B95VIBRi.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-Dm16WA5Y.mjs +0 -253
- package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-Dm16WA5Y.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-data-source-picker.component-Dij1l4-7.mjs +0 -419
- package/fesm2022/ngx-t-forms-data-source-picker.component-Dij1l4-7.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-date-picker-input-element.component-D9BOhV6g.mjs +0 -231
- package/fesm2022/ngx-t-forms-date-picker-input-element.component-D9BOhV6g.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-BiXubnsN.mjs +0 -333
- package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-BiXubnsN.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-C5T_DK6w.mjs +0 -543
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-C5T_DK6w.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-editor-input-element.component-DYytkGYD.mjs +0 -447
- 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-file-upload-input-element.component-CI4onrtp.mjs +0 -447
- package/fesm2022/ngx-t-forms-file-upload-input-element.component-CI4onrtp.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-form-input-selector.component-BysF2WY-.mjs +0 -163
- package/fesm2022/ngx-t-forms-form-input-selector.component-BysF2WY-.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-form-json-view.component-DpU3ZTiS.mjs +0 -28
- package/fesm2022/ngx-t-forms-form-json-view.component-DpU3ZTiS.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-form-payload-projection.component-CkH7zmdJ.mjs +0 -291
- package/fesm2022/ngx-t-forms-form-payload-projection.component-CkH7zmdJ.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-form-section-stepper.component-DqShhIBK.mjs +0 -936
- package/fesm2022/ngx-t-forms-form-section-stepper.component-DqShhIBK.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-forms-builder-menu.component-BsgtMZFM.mjs +0 -816
- package/fesm2022/ngx-t-forms-forms-builder-menu.component-BsgtMZFM.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-geo-location.component-DfmFok8a.mjs +0 -329
- package/fesm2022/ngx-t-forms-geo-location.component-DfmFok8a.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs +0 -360
- package/fesm2022/ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-index-D-7ZX0w7.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-index-DHloq32-.mjs +0 -2
- package/fesm2022/ngx-t-forms-index-DHloq32-.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-input-custom.component-Cv6jfrPf.mjs +0 -128
- package/fesm2022/ngx-t-forms-input-custom.component-Cv6jfrPf.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-input-editor.component-BKV6ZJx9.mjs +0 -512
- package/fesm2022/ngx-t-forms-input-editor.component-BKV6ZJx9.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs +0 -132
- package/fesm2022/ngx-t-forms-map-mat-options-keys-epWo0lEj.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-slider-editor.component-B-_yUJ5N.mjs +0 -241
- package/fesm2022/ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs +0 -180
- package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs +0 -114
- package/fesm2022/ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs +0 -69
- package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mscoa-error-display.component-DzFibbuY.mjs +0 -200
- package/fesm2022/ngx-t-forms-mscoa-error-display.component-DzFibbuY.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-D9KrXNS6.mjs +0 -850
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-D9KrXNS6.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-DV93x0Rr.mjs +0 -107
- package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-DV93x0Rr.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BxQYrUJL.mjs +0 -1665
- package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BxQYrUJL.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 +0 -27352
- package/fesm2022/ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-paginated-selection-table-DeY5vQti.mjs +0 -1024
- package/fesm2022/ngx-t-forms-paginated-selection-table-DeY5vQti.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-payload-template-editor.component-BzY-kX6W.mjs +0 -234
- package/fesm2022/ngx-t-forms-payload-template-editor.component-BzY-kX6W.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-pipeline-generator.component-CcHgQ-MT.mjs +0 -1126
- package/fesm2022/ngx-t-forms-pipeline-generator.component-CcHgQ-MT.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs +0 -545
- package/fesm2022/ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs +0 -451
- package/fesm2022/ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs +0 -625
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-search-field.component-BGdAmzJV.mjs +0 -72
- package/fesm2022/ngx-t-forms-search-field.component-BGdAmzJV.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-section-report.component-CQR27H3a.mjs +0 -248
- package/fesm2022/ngx-t-forms-section-report.component-CQR27H3a.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-select-input-element.component-CLs5UkmC.mjs +0 -408
- package/fesm2022/ngx-t-forms-select-input-element.component-CLs5UkmC.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-selection-options-editor.component-DiegTjWX.mjs +0 -275
- package/fesm2022/ngx-t-forms-selection-options-editor.component-DiegTjWX.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-textarea-input-element.component-Coxr1XD7.mjs +0 -233
- package/fesm2022/ngx-t-forms-textarea-input-element.component-Coxr1XD7.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs +0 -305
- package/fesm2022/ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-validators-config.component-DjLB40z-.mjs +0 -1105
- package/fesm2022/ngx-t-forms-validators-config.component-DjLB40z-.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-workflow-adjudication.component-_A3v5MxN.mjs +0 -2923
- package/fesm2022/ngx-t-forms-workflow-adjudication.component-_A3v5MxN.mjs.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/record-list-manager/record-list-manager.component.html","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/record-list-manager/record-list-manager.component.ts"],"sourcesContent":["<div class=\"lib-record-list-manager__table\">\n <table mat-table [dataSource]=\"dataSource\" class=\"lib-record-list-manager__grid\">\n @for (col of tableColumns(); track col.value) {\n <ng-container [matColumnDef]=\"col.value\">\n <th mat-header-cell *matHeaderCellDef>{{ col.label }}</th>\n <td mat-cell *matCellDef=\"let row\" class=\"lib-record-list-manager__cell\">\n @if (isActionsColumn(col.value)) {\n <button\n type=\"button\"\n mat-icon-button\n matTooltip=\"Edit\"\n aria-label=\"Edit record\"\n [disabled]=\"disabled\"\n (click)=\"editItem(row)\"\n >\n <mat-icon>edit</mat-icon>\n </button>\n <button\n type=\"button\"\n mat-icon-button\n color=\"warn\"\n matTooltip=\"Delete\"\n aria-label=\"Delete record\"\n [disabled]=\"disabled\"\n (click)=\"removeItem(row)\"\n >\n <mat-icon>delete</mat-icon>\n </button>\n } @else {\n {{ row[col.value] }}\n }\n </td>\n </ng-container>\n }\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns()\"></tr>\n <tr\n mat-row\n *matRowDef=\"let row; columns: displayedColumns()\"\n class=\"lib-record-list-manager__row\"\n ></tr>\n </table>\n\n @if (rowCount() === 0) {\n <lib-empty-state\n icon=\"inbox\"\n message=\"No records yet. Use Add Record to get started.\"\n ></lib-empty-state>\n }\n</div>\n\n@if (inEditRow(); as editing) {\n <div class=\"lib-record-list-manager__editor\">\n <mat-accordion class=\"lib-record-list-manager__sections\" togglePosition=\"after\">\n @for (section of sections(); track section.id) {\n <mat-expansion-panel>\n <mat-expansion-panel-header>\n <mat-panel-title class=\"lib-record-list-manager__section-title\">\n <span>{{ section.label }}</span>\n @if (section.showItemValue && editing[section.showItemValue] != null) {\n <span class=\"lib-record-list-manager__section-value\">\n {{ editing[section.showItemValue] }}\n </span>\n }\n </mat-panel-title>\n </mat-expansion-panel-header>\n\n @for (element of section.elements; track element.id) {\n <div class=\"lib-record-list-manager__field\">\n @defer (on viewport) {\n <ng-template\n [cdkPortalOutlet]=\"portals()[element.id]\"\n (attached)=\"onPortalAttached($event, element)\"\n ></ng-template>\n } @placeholder {\n <div class=\"lib-record-list-manager__loading\">\n <mat-spinner diameter=\"18\"></mat-spinner>\n </div>\n }\n </div>\n }\n </mat-expansion-panel>\n }\n </mat-accordion>\n\n <div class=\"lib-record-list-manager__actions\">\n <button type=\"button\" mat-button color=\"primary\" (click)=\"cancelEdit()\">Cancel</button>\n <button\n type=\"button\"\n mat-stroked-button\n color=\"primary\"\n [disabled]=\"!canSaveRecord()\"\n (click)=\"saveRecord()\"\n >\n {{ editing.id ? 'Update' : 'Save new' }} record\n <mat-icon>save</mat-icon>\n </button>\n </div>\n </div>\n} @else {\n <div class=\"lib-record-list-manager__actions lib-record-list-manager__actions--list\">\n <span class=\"lib-record-list-manager__count\">Records ({{ rowCount() }})</span>\n <button\n type=\"button\"\n mat-stroked-button\n color=\"primary\"\n matTooltip=\"Add a new record\"\n aria-label=\"Add a new record\"\n [disabled]=\"disabled\"\n (click)=\"addNewItem()\"\n >\n <mat-icon>add</mat-icon>\n Add Record\n </button>\n </div>\n}\n","import { CdkPortalOutletAttachedRef, ComponentPortal, PortalModule } from '@angular/cdk/portal';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport {\n ChangeDetectionStrategy,\n Component,\n ComponentRef,\n DestroyRef,\n ElementRef,\n Input,\n ViewEncapsulation,\n computed,\n effect,\n inject,\n input,\n output,\n signal,\n} from '@angular/core';\nimport { outputToObservable, takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { NgControl } from '@angular/forms';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatCardModule } from '@angular/material/card';\nimport { MatDividerModule } from '@angular/material/divider';\nimport { MatExpansionModule } from '@angular/material/expansion';\nimport { MatFormFieldControl } from '@angular/material/form-field';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { MatTableDataSource, MatTableModule } from '@angular/material/table';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport type {\n ElementEditorConfigSectionInterface,\n ElementEditorInnerSectionElementInterface,\n FormColumnInputs,\n} from 'ngx-t-forms-types';\nimport { Subject, Subscription } from 'rxjs';\nimport { _isEqual } from '../../../../shared/functions/isEqual';\nimport { assignDeepPropertyToObject } from '../../../../shared/functions/assignDeepPropertyToObject';\nimport { safeReturnDeepProperty } from '../../../../shared/functions/getDeepObject';\nimport { EmptyStateComponent } from '../_shared/empty-state/empty-state.component';\nimport type { IConfigElementError } from '../../t-dynamic-data-edit.component';\nimport type { TDynamicDataEditComponent } from '../../t-dynamic-data-edit.component';\nimport { NESTED_EDITOR_COMPONENT } from '../../nested-editor.token';\n\n/** Row shape held by the record list. Heterogeneous wrapper-defined records. */\ntype RecordListRow = Record<string, unknown> & { id?: string };\n\n/** Table column descriptor (label header + the row key it renders). */\ninterface RecordColumn {\n readonly label: string;\n readonly value: string;\n}\n\n/** Synthetic column key for the per-row edit/delete action cell. */\nconst ACTIONS_COLUMN = 'actions';\n\n/**\n * Internal record-list manager. Implements `MatFormFieldControl<unknown[]>` and is\n * embedded by `t-dynamic-data-edit` for `RecordListManager` editor types.\n *\n * Owns only its content (table + edit panel). The parent `mat-form-field` renders\n * the label, hint, and validation errors, so this component adds neither a header\n * nor an inline error list.\n *\n * Per-record editing is delegated to a dynamically-attached `TDynamicDataEditComponent`\n * portal per inner-section element; the portal's `valueChange` output is patched back\n * into the in-edit buffer via the element's `deepBind` path.\n *\n * NOTE: `MatFormFieldControl<T>` mandates plain mutable `value` / `disabled` /\n * `required` / `placeholder` / `id` members, `@Input()` decorators, the\n * `focused` / `touched` / `stateChanges` members, and the `useExisting` provider.\n * These are framework wiring, not defects — the CLAUDE.md bans on `@Input()` /\n * `useExisting` do not apply to MatFormFieldControl integration.\n *\n * @internal Not exported via public-api.ts.\n */\n@Component({\n selector: 'lib-record-list-manager',\n templateUrl: './record-list-manager.component.html',\n styleUrl: './record-list-manager.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n imports: [\n MatButtonModule,\n MatCardModule,\n MatDividerModule,\n MatExpansionModule,\n MatIconModule,\n MatProgressSpinnerModule,\n MatTableModule,\n MatTooltipModule,\n PortalModule,\n EmptyStateComponent,\n ],\n providers: [{ provide: MatFormFieldControl, useExisting: RecordListManagerComponent }],\n host: {\n 'class': 'lib-record-list-manager',\n '[id]': 'id',\n '[attr.aria-describedby]': 'describedBy',\n '[class.lib-record-list-manager--floating]': 'shouldLabelFloat',\n },\n})\nexport class RecordListManagerComponent implements MatFormFieldControl<unknown[]> {\n static nextId = 0;\n\n // --- MatFormFieldControl wiring (plain mutable members, framework-mandated) ---\n readonly stateChanges = new Subject<void>();\n readonly controlType = 'lib-record-list-manager';\n\n focused = false;\n touched = false;\n autofilled = false;\n id = `lib-record-list-manager-${RecordListManagerComponent.nextId++}`;\n describedBy = '';\n\n /** Optional wrapper-supplied mapping payload (shape determined by wrapper). */\n @Input() mapToData: unknown;\n\n /** Validation errors surfaced by the parent for error-state derivation. */\n @Input() errors: IConfigElementError[] | undefined = [];\n\n #disabled = false;\n @Input()\n get disabled(): boolean {\n return this.#disabled;\n }\n set disabled(value: boolean) {\n this.#disabled = coerceBooleanProperty(value);\n this.stateChanges.next();\n }\n\n #required = false;\n @Input()\n get required(): boolean {\n return this.#required;\n }\n set required(value: boolean) {\n this.#required = coerceBooleanProperty(value);\n this.stateChanges.next();\n }\n\n #placeholder = '';\n @Input()\n get placeholder(): string {\n return this.#placeholder;\n }\n set placeholder(value: string) {\n this.#placeholder = value;\n this.stateChanges.next();\n }\n\n /**\n * Record rows held by the table. Parent passes heterogeneous payloads\n * (`{}` initial / arrays / null); non-array writes coerce to an empty list.\n */\n @Input()\n get value(): RecordListRow[] {\n return this.#rows();\n }\n set value(val: unknown) {\n const next = Array.isArray(val) ? (val as RecordListRow[]) : [];\n this.#rows.set(next);\n this.onChange(next);\n this.stateChanges.next();\n }\n\n get shouldLabelFloat(): boolean {\n return this.focused || !this.empty;\n }\n\n get empty(): boolean {\n return this.#rows().length === 0;\n }\n\n get errorState(): boolean {\n const requiredUnset = this.empty && this.#required && this.touched;\n const ngControlError = this.ngControl?.errors != null;\n const externalError = (this.errors?.length ?? 0) > 0;\n return requiredUnset || ngControlError || externalError;\n }\n\n // --- DI ---\n readonly ngControl = inject(NgControl, { self: true, optional: true });\n readonly #elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n readonly #destroyRef = inject(DestroyRef);\n /** The component portalled per record — injected to avoid a circular import. */\n readonly #nestedEditor = inject(NESTED_EDITOR_COMPONENT);\n\n constructor() {\n if (this.ngControl != null) {\n this.ngControl.valueAccessor = this;\n }\n this.#destroyRef.onDestroy(() => {\n this.stateChanges.complete();\n this.#teardownPortalSubscriptions();\n });\n }\n\n // --- ControlValueAccessor ---\n onChange: (_: unknown) => void = () => {\n /* noop until registered */\n };\n onTouched: () => void = () => {\n /* noop until registered */\n };\n\n writeValue(value: unknown): void {\n this.#rows.set(Array.isArray(value) ? (value as RecordListRow[]) : []);\n this.stateChanges.next();\n }\n\n registerOnChange(fn: (_: unknown) => void): void {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.disabled = isDisabled;\n }\n\n setDescribedByIds(ids: string[]): void {\n this.describedBy = ids.join(' ');\n this.#elementRef.nativeElement.setAttribute('aria-describedby', this.describedBy);\n this.stateChanges.next();\n }\n\n onContainerClick(): void {\n this.markAsTouched();\n if (!this.focused) {\n this.focused = true;\n this.stateChanges.next();\n }\n }\n\n markAsTouched(): void {\n if (!this.touched) {\n this.touched = true;\n this.onTouched();\n this.stateChanges.next();\n }\n }\n\n // --- Internal reactive state (signal-first) ---\n\n /** Backing rows; the `MatTableDataSource` is kept in sync via an effect. */\n readonly #rows = signal<RecordListRow[]>([]);\n\n /** Table data source whose `.data` mirrors `#rows()`. */\n readonly dataSource = new MatTableDataSource<RecordListRow>([]);\n\n /** Row currently being edited, or `null` when no edit is in progress. */\n readonly #inEdit = signal<RecordListRow | null>(null);\n\n /** Inner editor sections derived from the active editor config. */\n readonly #sections = signal<readonly ElementEditorConfigSectionInterface[]>([]);\n\n /** Lazily-built portals keyed by inner-section element id. */\n readonly #portals = signal<Readonly<Record<string, ComponentPortal<TDynamicDataEditComponent>>>>(\n {},\n );\n\n /** Active per-element portal output subscriptions, keyed by element id. */\n readonly #portalSubscriptions = new Map<string, Subscription>();\n\n /** Form input definitions forwarded into the dynamic editor portals. */\n readonly formInputs = input<Array<FormColumnInputs>>([]);\n\n /** Editor configuration for this record-list element. */\n readonly editorConfig = input<ElementEditorInnerSectionElementInterface | undefined>(undefined);\n\n /** Emits whenever the record list value changes. */\n readonly valueChange = output<RecordListRow[]>();\n\n // --- Template-facing derived state ---\n\n protected readonly inEditRow = this.#inEdit.asReadonly();\n protected readonly sections = this.#sections.asReadonly();\n protected readonly portals = this.#portals.asReadonly();\n\n protected readonly tableColumns = computed<readonly RecordColumn[]>(() => [\n ...(this.editorConfig()?.options ?? []).map((opt) => ({\n label: String(opt.label),\n value: String(opt.value),\n })),\n { label: ' ', value: ACTIONS_COLUMN },\n ]);\n\n protected readonly displayedColumns = computed<readonly string[]>(() =>\n this.tableColumns().map((c) => c.value),\n );\n\n protected readonly rowCount = computed<number>(() => this.#rows().length);\n\n protected readonly isActionsColumn = (column: string): boolean => column === ACTIONS_COLUMN;\n\n /**\n * Whether the in-edit record may be saved: every `required` inner element must\n * resolve to a non-empty value via its `deepBind` path.\n */\n protected readonly canSaveRecord = computed<boolean>(() => {\n const editing = this.#inEdit();\n if (!editing || !this.editorConfig()) {\n return false;\n }\n for (const section of this.#sections()) {\n for (const element of section.elements) {\n if (!element.required) {\n continue;\n }\n const { value } = safeReturnDeepProperty(editing, element.deepBind ?? []);\n if (value == null || value === '') {\n return false;\n }\n }\n }\n return true;\n });\n\n // --- Effects (framework-state sync, not signal writes within) ---\n\n /** Mirror the rows signal into the Material table data source. */\n protected readonly tableSync = effect(() => {\n this.dataSource.data = this.#rows();\n });\n\n /**\n * Rebuild the inner-section list and portal map whenever the editor config\n * changes. Portals are recreated per config so a stale `ComponentPortal`\n * (already attached) is never re-used.\n */\n protected readonly configSync = effect(() => {\n const next = this.editorConfig()?.secondaryElementEditorConfig ?? [];\n if (_isEqual(this.#sections(), next)) {\n return;\n }\n this.#teardownPortalSubscriptions();\n this.#sections.set(next);\n const portals: Record<string, ComponentPortal<TDynamicDataEditComponent>> = {};\n for (const section of next) {\n for (const element of section.elements) {\n portals[element.id] = new ComponentPortal(this.#nestedEditor);\n }\n }\n this.#portals.set(portals);\n });\n\n // --- Record actions ---\n\n addNewItem(): void {\n this.#inEdit.set({});\n }\n\n editItem(row: RecordListRow): void {\n this.#inEdit.set(row);\n }\n\n cancelEdit(): void {\n this.#inEdit.set(null);\n }\n\n saveRecord(): void {\n const editing = this.#inEdit();\n if (!editing) {\n return;\n }\n let next: RecordListRow[];\n if (editing.id != null) {\n next = this.value.map((item) => (item.id === editing.id ? editing : item));\n } else {\n next = [...this.value, { ...editing, id: crypto.randomUUID() }];\n }\n this.value = next;\n this.#inEdit.set(null);\n this.valueChange.emit(this.value);\n }\n\n removeItem(item: RecordListRow): void {\n this.value = this.value.filter((row) => row.id !== item.id);\n if (this.#inEdit()?.id === item.id) {\n this.#inEdit.set(null);\n }\n this.valueChange.emit(this.value);\n }\n\n /**\n * Wire a freshly-attached per-record editor portal: push the current inputs in,\n * and patch the in-edit buffer whenever the inner editor emits a value. The\n * subscription is keyed by element id and torn down on config change / destroy.\n */\n onPortalAttached(\n portalRef: CdkPortalOutletAttachedRef,\n element: ElementEditorInnerSectionElementInterface,\n ): void {\n const componentRef = portalRef as ComponentRef<TDynamicDataEditComponent>;\n componentRef.setInput('formInputs', this.formInputs());\n componentRef.setInput('editorConfig', element);\n componentRef.setInput('data', this.#inEdit());\n\n this.#portalSubscriptions.get(element.id)?.unsubscribe();\n const sub = outputToObservable(componentRef.instance.valueChange)\n .pipe(takeUntilDestroyed(this.#destroyRef))\n .subscribe((event: unknown) => {\n const current = this.#inEdit();\n const draft = (current ? structuredClone(current) : {}) as RecordListRow;\n const patched = assignDeepPropertyToObject(\n draft,\n element.deepBind ?? [],\n event,\n ) as RecordListRow;\n this.#inEdit.set(patched);\n componentRef.setInput('data', patched);\n componentRef.changeDetectorRef.markForCheck();\n });\n this.#portalSubscriptions.set(element.id, sub);\n }\n\n #teardownPortalSubscriptions(): void {\n this.#portalSubscriptions.forEach((sub) => sub.unsubscribe());\n this.#portalSubscriptions.clear();\n }\n}\n"],"names":["i2","i5","i6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIQ,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAsC;IAAA,EAAA,CAAA,MAAA,CAAA,CAAA,CAAe;IAAA,EAAA,CAAA,YAAA,EAAK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Encapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import * as i1$1 from '@angular/material/button';
|
|
4
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
5
|
-
import * as i2 from '@angular/material/form-field';
|
|
6
|
-
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
7
|
-
import * as i3 from '@angular/material/icon';
|
|
8
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
9
|
-
import * as i2$1 from '@angular/material/input';
|
|
10
|
-
import { MatInputModule } from '@angular/material/input';
|
|
11
|
-
import * as i6 from '@angular/material/list';
|
|
12
|
-
import { MatListModule } from '@angular/material/list';
|
|
13
|
-
import * as i7 from '@angular/material/core';
|
|
14
|
-
import { MatRippleModule } from '@angular/material/core';
|
|
15
|
-
import * as i8 from '@angular/material/select';
|
|
16
|
-
import { MatSelectModule } from '@angular/material/select';
|
|
17
|
-
import * as i1 from '@angular/forms';
|
|
18
|
-
import { FormsModule } from '@angular/forms';
|
|
19
|
-
import { MinInputTypes, ElementTypes, InputDataTypes } from 'ngx-t-forms-types';
|
|
20
|
-
import { g as getInputIcon } from './ngx-t-forms-getInputIcon-B4ADgevZ.mjs';
|
|
21
|
-
import { E as EmptyStateComponent } from './ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs';
|
|
22
|
-
|
|
23
|
-
const _forTrack0 = ($index, $item) => $item.name;
|
|
24
|
-
const _forTrack1 = ($index, $item) => $item.id;
|
|
25
|
-
function RequiredInputsComponent_Conditional_0_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
|
27
|
-
i0.ɵɵelementStart(0, "button", 4);
|
|
28
|
-
i0.ɵɵlistener("click", function RequiredInputsComponent_Conditional_0_For_2_Template_button_click_0_listener() { const chip_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.toggleActive(chip_r2.name)); });
|
|
29
|
-
i0.ɵɵelementStart(1, "span", 5);
|
|
30
|
-
i0.ɵɵtext(2);
|
|
31
|
-
i0.ɵɵelementEnd();
|
|
32
|
-
i0.ɵɵelementStart(3, "mat-icon", 6);
|
|
33
|
-
i0.ɵɵtext(4);
|
|
34
|
-
i0.ɵɵelementEnd()();
|
|
35
|
-
} if (rf & 2) {
|
|
36
|
-
const chip_r2 = ctx.$implicit;
|
|
37
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
38
|
-
i0.ɵɵclassProp("lib-required-inputs__chip--linked", chip_r2.linked)("lib-required-inputs__chip--active", chip_r2.active);
|
|
39
|
-
i0.ɵɵproperty("disabled", ctx_r2.disabled());
|
|
40
|
-
i0.ɵɵattribute("aria-pressed", chip_r2.active)("aria-label", chip_r2.name + (chip_r2.linked ? ", linked" : ", not linked"));
|
|
41
|
-
i0.ɵɵadvance(2);
|
|
42
|
-
i0.ɵɵtextInterpolate(chip_r2.name);
|
|
43
|
-
i0.ɵɵadvance(2);
|
|
44
|
-
i0.ɵɵtextInterpolate1(" ", chip_r2.linked ? "link" : "link_off", " ");
|
|
45
|
-
} }
|
|
46
|
-
function RequiredInputsComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
47
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
48
|
-
i0.ɵɵrepeaterCreate(1, RequiredInputsComponent_Conditional_0_For_2_Template, 5, 9, "button", 3, _forTrack0);
|
|
49
|
-
i0.ɵɵelementEnd();
|
|
50
|
-
} if (rf & 2) {
|
|
51
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
52
|
-
i0.ɵɵadvance();
|
|
53
|
-
i0.ɵɵrepeater(ctx_r2.chips());
|
|
54
|
-
} }
|
|
55
|
-
function RequiredInputsComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
56
|
-
i0.ɵɵelement(0, "lib-empty-state", 1);
|
|
57
|
-
} }
|
|
58
|
-
function RequiredInputsComponent_Conditional_2_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
59
|
-
const _r5 = i0.ɵɵgetCurrentView();
|
|
60
|
-
i0.ɵɵelementStart(0, "mat-form-field", 7)(1, "mat-label");
|
|
61
|
-
i0.ɵɵtext(2, "Default value");
|
|
62
|
-
i0.ɵɵelementEnd();
|
|
63
|
-
i0.ɵɵelementStart(3, "input", 12);
|
|
64
|
-
i0.ɵɵlistener("ngModelChange", function RequiredInputsComponent_Conditional_2_Conditional_13_Template_input_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.setDefaultValue($event)); });
|
|
65
|
-
i0.ɵɵelementEnd();
|
|
66
|
-
i0.ɵɵelementStart(4, "mat-hint");
|
|
67
|
-
i0.ɵɵtext(5, "Used when no value is supplied at runtime");
|
|
68
|
-
i0.ɵɵelementEnd()();
|
|
69
|
-
} if (rf & 2) {
|
|
70
|
-
const edit_r6 = i0.ɵɵnextContext();
|
|
71
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
72
|
-
i0.ɵɵadvance(3);
|
|
73
|
-
i0.ɵɵproperty("ngModel", edit_r6.defaultValue)("disabled", ctx_r2.disabled());
|
|
74
|
-
} }
|
|
75
|
-
function RequiredInputsComponent_Conditional_2_Conditional_14_Conditional_5_For_3_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
76
|
-
i0.ɵɵelementStart(0, "span");
|
|
77
|
-
i0.ɵɵtext(1);
|
|
78
|
-
i0.ɵɵelementEnd();
|
|
79
|
-
} if (rf & 2) {
|
|
80
|
-
const target_r8 = i0.ɵɵnextContext().$implicit;
|
|
81
|
-
i0.ɵɵadvance();
|
|
82
|
-
i0.ɵɵtextInterpolate(target_r8.dataType);
|
|
83
|
-
} }
|
|
84
|
-
function RequiredInputsComponent_Conditional_2_Conditional_14_Conditional_5_For_3_Template(rf, ctx) { if (rf & 1) {
|
|
85
|
-
const _r7 = i0.ɵɵgetCurrentView();
|
|
86
|
-
i0.ɵɵelementStart(0, "mat-list-item", 17);
|
|
87
|
-
i0.ɵɵlistener("click", function RequiredInputsComponent_Conditional_2_Conditional_14_Conditional_5_For_3_Template_mat_list_item_click_0_listener($event) { const target_r8 = i0.ɵɵrestoreView(_r7).$implicit; const ctx_r2 = i0.ɵɵnextContext(4); ctx_r2.toggleMap(target_r8); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
88
|
-
i0.ɵɵelementStart(1, "mat-icon", 18);
|
|
89
|
-
i0.ɵɵtext(2);
|
|
90
|
-
i0.ɵɵelementEnd();
|
|
91
|
-
i0.ɵɵelementStart(3, "span", 19);
|
|
92
|
-
i0.ɵɵtext(4);
|
|
93
|
-
i0.ɵɵelementEnd();
|
|
94
|
-
i0.ɵɵelementStart(5, "span", 20)(6, "span");
|
|
95
|
-
i0.ɵɵtext(7);
|
|
96
|
-
i0.ɵɵelementEnd();
|
|
97
|
-
i0.ɵɵconditionalCreate(8, RequiredInputsComponent_Conditional_2_Conditional_14_Conditional_5_For_3_Conditional_8_Template, 2, 1, "span");
|
|
98
|
-
i0.ɵɵelementEnd();
|
|
99
|
-
i0.ɵɵelementStart(9, "mat-icon", 21);
|
|
100
|
-
i0.ɵɵtext(10);
|
|
101
|
-
i0.ɵɵelementEnd()();
|
|
102
|
-
} if (rf & 2) {
|
|
103
|
-
const target_r8 = ctx.$implicit;
|
|
104
|
-
const ctx_r2 = i0.ɵɵnextContext(4);
|
|
105
|
-
i0.ɵɵproperty("disabled", ctx_r2.disabled() || !target_r8.mappable)("activated", target_r8.selected);
|
|
106
|
-
i0.ɵɵattribute("aria-pressed", target_r8.selected)("aria-label", target_r8.ariaLabel);
|
|
107
|
-
i0.ɵɵadvance(2);
|
|
108
|
-
i0.ɵɵtextInterpolate1(" ", target_r8.icon, " ");
|
|
109
|
-
i0.ɵɵadvance(2);
|
|
110
|
-
i0.ɵɵtextInterpolate(target_r8.label);
|
|
111
|
-
i0.ɵɵadvance(3);
|
|
112
|
-
i0.ɵɵtextInterpolate(target_r8.formControlName);
|
|
113
|
-
i0.ɵɵadvance();
|
|
114
|
-
i0.ɵɵconditional(target_r8.dataType ? 8 : -1);
|
|
115
|
-
i0.ɵɵadvance();
|
|
116
|
-
i0.ɵɵclassProp("lib-required-inputs__indicator--on", target_r8.selected);
|
|
117
|
-
i0.ɵɵadvance();
|
|
118
|
-
i0.ɵɵtextInterpolate1(" ", target_r8.selected ? "check_circle" : "radio_button_unchecked", " ");
|
|
119
|
-
} }
|
|
120
|
-
function RequiredInputsComponent_Conditional_2_Conditional_14_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
121
|
-
i0.ɵɵelementStart(0, "mat-nav-list", 14);
|
|
122
|
-
i0.ɵɵtext(1);
|
|
123
|
-
i0.ɵɵrepeaterCreate(2, RequiredInputsComponent_Conditional_2_Conditional_14_Conditional_5_For_3_Template, 11, 11, "mat-list-item", 16, _forTrack1);
|
|
124
|
-
i0.ɵɵelementEnd();
|
|
125
|
-
} if (rf & 2) {
|
|
126
|
-
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
127
|
-
i0.ɵɵadvance();
|
|
128
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r2.mapTargets().length, " ");
|
|
129
|
-
i0.ɵɵadvance();
|
|
130
|
-
i0.ɵɵrepeater(ctx_r2.mapTargets());
|
|
131
|
-
} }
|
|
132
|
-
function RequiredInputsComponent_Conditional_2_Conditional_14_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
133
|
-
i0.ɵɵelement(0, "lib-empty-state", 15);
|
|
134
|
-
} }
|
|
135
|
-
function RequiredInputsComponent_Conditional_2_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
136
|
-
i0.ɵɵelementStart(0, "p", 13);
|
|
137
|
-
i0.ɵɵtext(1, " Link ");
|
|
138
|
-
i0.ɵɵelementStart(2, "strong");
|
|
139
|
-
i0.ɵɵtext(3);
|
|
140
|
-
i0.ɵɵelementEnd();
|
|
141
|
-
i0.ɵɵtext(4, " to a form input ");
|
|
142
|
-
i0.ɵɵelementEnd();
|
|
143
|
-
i0.ɵɵconditionalCreate(5, RequiredInputsComponent_Conditional_2_Conditional_14_Conditional_5_Template, 4, 1, "mat-nav-list", 14)(6, RequiredInputsComponent_Conditional_2_Conditional_14_Conditional_6_Template, 1, 0, "lib-empty-state", 15);
|
|
144
|
-
} if (rf & 2) {
|
|
145
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
146
|
-
i0.ɵɵadvance(3);
|
|
147
|
-
i0.ɵɵtextInterpolate(ctx_r2.activeInput());
|
|
148
|
-
i0.ɵɵadvance(2);
|
|
149
|
-
i0.ɵɵconditional(ctx_r2.mapTargets().length ? 5 : 6);
|
|
150
|
-
} }
|
|
151
|
-
function RequiredInputsComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
152
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
|
153
|
-
i0.ɵɵelementStart(0, "div", 2)(1, "mat-form-field", 7)(2, "mat-label");
|
|
154
|
-
i0.ɵɵtext(3, "Input handling method");
|
|
155
|
-
i0.ɵɵelementEnd();
|
|
156
|
-
i0.ɵɵelementStart(4, "mat-select", 8);
|
|
157
|
-
i0.ɵɵlistener("selectionChange", function RequiredInputsComponent_Conditional_2_Template_mat_select_selectionChange_4_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.selectType($event.value)); });
|
|
158
|
-
i0.ɵɵelementStart(5, "mat-option", 9);
|
|
159
|
-
i0.ɵɵtext(6, "Default value");
|
|
160
|
-
i0.ɵɵelementEnd();
|
|
161
|
-
i0.ɵɵelementStart(7, "mat-option", 9);
|
|
162
|
-
i0.ɵɵtext(8, "Map to a form input");
|
|
163
|
-
i0.ɵɵelementEnd();
|
|
164
|
-
i0.ɵɵelementStart(9, "mat-option", 9);
|
|
165
|
-
i0.ɵɵtext(10, "Filter by an input value");
|
|
166
|
-
i0.ɵɵelementEnd()();
|
|
167
|
-
i0.ɵɵelementStart(11, "mat-hint");
|
|
168
|
-
i0.ɵɵtext(12, "Choose how this required input is resolved");
|
|
169
|
-
i0.ɵɵelementEnd()();
|
|
170
|
-
i0.ɵɵconditionalCreate(13, RequiredInputsComponent_Conditional_2_Conditional_13_Template, 6, 2, "mat-form-field", 7);
|
|
171
|
-
i0.ɵɵconditionalCreate(14, RequiredInputsComponent_Conditional_2_Conditional_14_Template, 7, 2);
|
|
172
|
-
i0.ɵɵelementStart(15, "div", 10)(16, "button", 11);
|
|
173
|
-
i0.ɵɵlistener("click", function RequiredInputsComponent_Conditional_2_Template_button_click_16_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.close()); });
|
|
174
|
-
i0.ɵɵtext(17, "Done");
|
|
175
|
-
i0.ɵɵelementEnd()()();
|
|
176
|
-
} if (rf & 2) {
|
|
177
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
178
|
-
i0.ɵɵadvance(4);
|
|
179
|
-
i0.ɵɵproperty("value", ctx_r2.activeType())("disabled", ctx_r2.disabled());
|
|
180
|
-
i0.ɵɵadvance();
|
|
181
|
-
i0.ɵɵproperty("value", ctx_r2.minInputTypes.Default);
|
|
182
|
-
i0.ɵɵadvance(2);
|
|
183
|
-
i0.ɵɵproperty("value", ctx_r2.minInputTypes.MapTo);
|
|
184
|
-
i0.ɵɵadvance(2);
|
|
185
|
-
i0.ɵɵproperty("value", ctx_r2.minInputTypes.MapDocFilter);
|
|
186
|
-
i0.ɵɵadvance(4);
|
|
187
|
-
i0.ɵɵconditional(ctx_r2.activeType() === ctx_r2.minInputTypes.Default ? 13 : -1);
|
|
188
|
-
i0.ɵɵadvance();
|
|
189
|
-
i0.ɵɵconditional(ctx_r2.showMapList() ? 14 : -1);
|
|
190
|
-
} }
|
|
191
|
-
/**
|
|
192
|
-
* Internal editor element for configuring a form's required (minimum) inputs.
|
|
193
|
-
* Child of `t-dynamic-data-edit`, which supplies the field label, hint, and
|
|
194
|
-
* validation errors — so this component owns only the chip row + edit content.
|
|
195
|
-
*
|
|
196
|
-
* Each required input can be handled three ways: a literal default value, a
|
|
197
|
-
* single-input map (`MapTo`), or a multi-input filter (`MapDocFilter`).
|
|
198
|
-
* Re-selecting the active handling method, chip, or a mapped input toggles it
|
|
199
|
-
* off again.
|
|
200
|
-
*/
|
|
201
|
-
class RequiredInputsComponent {
|
|
202
|
-
constructor() {
|
|
203
|
-
/** Handling-method enum, exposed to the template. */
|
|
204
|
-
this.minInputTypes = MinInputTypes;
|
|
205
|
-
/**
|
|
206
|
-
* Required-input descriptors to render. Heterogeneous wrapper binding — the
|
|
207
|
-
* parent feeds whatever the editor config holds; narrowing here would force
|
|
208
|
-
* wrapper changes.
|
|
209
|
-
*/
|
|
210
|
-
this.value = input([], ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
211
|
-
/** All available form inputs the user can map a required input to. */
|
|
212
|
-
this.formInputs = input([], ...(ngDevMode ? [{ debugName: "formInputs" }] : /* istanbul ignore next */ []));
|
|
213
|
-
/** Disable user interaction. */
|
|
214
|
-
this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
|
|
215
|
-
/**
|
|
216
|
-
* Validation errors passed down by the parent editor. Retained on the contract
|
|
217
|
-
* but not rendered here — `t-dynamic-data-edit` owns error display.
|
|
218
|
-
*/
|
|
219
|
-
this.errors = input([], ...(ngDevMode ? [{ debugName: "errors" }] : /* istanbul ignore next */ []));
|
|
220
|
-
/** Optional id attribute supplied by the parent editor (used to disambiguate). */
|
|
221
|
-
this.id = input(undefined, ...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
|
|
222
|
-
/** Emits the mutated required-input list whenever the user changes a mapping. */
|
|
223
|
-
this.valueChanged = output();
|
|
224
|
-
/**
|
|
225
|
-
* Local, immutable working copy of `value`. Tracks the bound value (the parent
|
|
226
|
-
* re-feeds it after each emit) but stays locally overridable; mutations always
|
|
227
|
-
* produce a new array, and entries are cloned so the parent's array is never
|
|
228
|
-
* mutated in place.
|
|
229
|
-
*/
|
|
230
|
-
this.#workingValue = linkedSignal(() => this.value().map((item) => ({ ...item })), ...(ngDevMode ? [{ debugName: "#workingValue" }] : /* istanbul ignore next */ []));
|
|
231
|
-
/** Name of the required input currently open in the edit panel; `''` when none. */
|
|
232
|
-
this.activeInput = signal('', ...(ngDevMode ? [{ debugName: "activeInput" }] : /* istanbul ignore next */ []));
|
|
233
|
-
/** The chip row: one entry per required input, with derived link/active state. */
|
|
234
|
-
this.chips = computed(() => {
|
|
235
|
-
const active = this.activeInput();
|
|
236
|
-
return this.#workingValue().map((item) => ({
|
|
237
|
-
name: item.name,
|
|
238
|
-
linked: this.#isLinked(item),
|
|
239
|
-
active: item.name === active,
|
|
240
|
-
}));
|
|
241
|
-
}, ...(ngDevMode ? [{ debugName: "chips" }] : /* istanbul ignore next */ []));
|
|
242
|
-
/** The required input currently being edited, or `undefined` when none is active. */
|
|
243
|
-
this.inEdit = computed(() => {
|
|
244
|
-
const active = this.activeInput();
|
|
245
|
-
if (!active) {
|
|
246
|
-
return undefined;
|
|
247
|
-
}
|
|
248
|
-
return this.#workingValue().find((item) => item.name === active);
|
|
249
|
-
}, ...(ngDevMode ? [{ debugName: "inEdit" }] : /* istanbul ignore next */ []));
|
|
250
|
-
/** Handling method of the input in edit; `null` keeps the `mat-select` empty. */
|
|
251
|
-
this.activeType = computed(() => {
|
|
252
|
-
const type = this.inEdit()?.type;
|
|
253
|
-
return type === MinInputTypes.Default ||
|
|
254
|
-
type === MinInputTypes.MapTo ||
|
|
255
|
-
type === MinInputTypes.MapDocFilter
|
|
256
|
-
? type
|
|
257
|
-
: null;
|
|
258
|
-
}, ...(ngDevMode ? [{ debugName: "activeType" }] : /* istanbul ignore next */ []));
|
|
259
|
-
/** Whether the edit panel should show the mappable-input list. */
|
|
260
|
-
this.showMapList = computed(() => {
|
|
261
|
-
const type = this.activeType();
|
|
262
|
-
return type === MinInputTypes.MapTo || type === MinInputTypes.MapDocFilter;
|
|
263
|
-
}, ...(ngDevMode ? [{ debugName: "showMapList" }] : /* istanbul ignore next */ []));
|
|
264
|
-
/**
|
|
265
|
-
* The list of mappable form inputs for the input in edit. Single-select
|
|
266
|
-
* (`MapTo`) collapses to the chosen input once one is picked; multi-select
|
|
267
|
-
* (`MapDocFilter`) always shows the full list with each chosen input flagged.
|
|
268
|
-
*/
|
|
269
|
-
this.mapTargets = computed(() => {
|
|
270
|
-
const edit = this.inEdit();
|
|
271
|
-
if (!edit) {
|
|
272
|
-
return [];
|
|
273
|
-
}
|
|
274
|
-
const all = this.formInputs().map((item) => this.#toTarget(item, edit));
|
|
275
|
-
if (edit.type === MinInputTypes.MapTo) {
|
|
276
|
-
const selected = all.find((target) => target.selected);
|
|
277
|
-
return selected ? [selected] : all;
|
|
278
|
-
}
|
|
279
|
-
return all;
|
|
280
|
-
}, ...(ngDevMode ? [{ debugName: "mapTargets" }] : /* istanbul ignore next */ []));
|
|
281
|
-
}
|
|
282
|
-
/**
|
|
283
|
-
* Local, immutable working copy of `value`. Tracks the bound value (the parent
|
|
284
|
-
* re-feeds it after each emit) but stays locally overridable; mutations always
|
|
285
|
-
* produce a new array, and entries are cloned so the parent's array is never
|
|
286
|
-
* mutated in place.
|
|
287
|
-
*/
|
|
288
|
-
#workingValue;
|
|
289
|
-
/** Toggle the edit panel for a required input. Re-selecting the active one closes it. */
|
|
290
|
-
toggleActive(name) {
|
|
291
|
-
if (this.disabled()) {
|
|
292
|
-
return;
|
|
293
|
-
}
|
|
294
|
-
this.activeInput.update((current) => (current === name ? '' : name));
|
|
295
|
-
}
|
|
296
|
-
/** Close the edit panel without changing anything. */
|
|
297
|
-
close() {
|
|
298
|
-
this.activeInput.set('');
|
|
299
|
-
}
|
|
300
|
-
/** Choose (or, when re-selected, clear) the handling method for the input in edit. */
|
|
301
|
-
selectType(type) {
|
|
302
|
-
this.#patchActive((current) => {
|
|
303
|
-
if (current.type === type) {
|
|
304
|
-
return { ...current, type: undefined, mapTo: undefined, defaultValue: undefined };
|
|
305
|
-
}
|
|
306
|
-
return {
|
|
307
|
-
...current,
|
|
308
|
-
type,
|
|
309
|
-
mapTo: type === MinInputTypes.MapDocFilter ? [] : undefined,
|
|
310
|
-
defaultValue: type === MinInputTypes.Default ? current.defaultValue : undefined,
|
|
311
|
-
};
|
|
312
|
-
});
|
|
313
|
-
}
|
|
314
|
-
/** Update the literal default value of the input in edit. */
|
|
315
|
-
setDefaultValue(value) {
|
|
316
|
-
this.#patchActive((current) => ({ ...current, defaultValue: value }));
|
|
317
|
-
}
|
|
318
|
-
/**
|
|
319
|
-
* Map (or, when re-selected, unmap) a form input to the input in edit. `MapTo`
|
|
320
|
-
* holds a single mapping; `MapDocFilter` accumulates a list.
|
|
321
|
-
*/
|
|
322
|
-
toggleMap(target) {
|
|
323
|
-
if (this.disabled() || !target.mappable) {
|
|
324
|
-
return;
|
|
325
|
-
}
|
|
326
|
-
const mapping = this.#toMapping(target);
|
|
327
|
-
this.#patchActive((current) => {
|
|
328
|
-
if (current.type === MinInputTypes.MapTo) {
|
|
329
|
-
const existing = this.#asSingle(current.mapTo);
|
|
330
|
-
const sameSelected = existing?.formControlName === mapping.formControlName;
|
|
331
|
-
return { ...current, mapTo: sameSelected ? undefined : mapping };
|
|
332
|
-
}
|
|
333
|
-
if (current.type === MinInputTypes.MapDocFilter) {
|
|
334
|
-
const list = this.#asList(current.mapTo);
|
|
335
|
-
const has = list.some((m) => m.formControlName === mapping.formControlName);
|
|
336
|
-
return {
|
|
337
|
-
...current,
|
|
338
|
-
mapTo: has
|
|
339
|
-
? list.filter((m) => m.formControlName !== mapping.formControlName)
|
|
340
|
-
: [...list, mapping],
|
|
341
|
-
};
|
|
342
|
-
}
|
|
343
|
-
return current;
|
|
344
|
-
});
|
|
345
|
-
}
|
|
346
|
-
/** Replace the active entry via `patch` and emit the new list. */
|
|
347
|
-
#patchActive(patch) {
|
|
348
|
-
const active = this.activeInput();
|
|
349
|
-
let changed = false;
|
|
350
|
-
const next = this.#workingValue().map((item) => {
|
|
351
|
-
if (item.name !== active) {
|
|
352
|
-
return item;
|
|
353
|
-
}
|
|
354
|
-
changed = true;
|
|
355
|
-
return patch(item);
|
|
356
|
-
});
|
|
357
|
-
if (!changed) {
|
|
358
|
-
return;
|
|
359
|
-
}
|
|
360
|
-
this.#workingValue.set(next);
|
|
361
|
-
this.valueChanged.emit([...next]);
|
|
362
|
-
}
|
|
363
|
-
#isLinked(item) {
|
|
364
|
-
if (item.type === MinInputTypes.Default) {
|
|
365
|
-
return !!item.defaultValue;
|
|
366
|
-
}
|
|
367
|
-
if (item.type === MinInputTypes.MapTo) {
|
|
368
|
-
return !!this.#asSingle(item.mapTo);
|
|
369
|
-
}
|
|
370
|
-
if (item.type === MinInputTypes.MapDocFilter) {
|
|
371
|
-
return this.#asList(item.mapTo).length > 0;
|
|
372
|
-
}
|
|
373
|
-
return false;
|
|
374
|
-
}
|
|
375
|
-
#toTarget(item, edit) {
|
|
376
|
-
const mappable = item.element !== ElementTypes.SectionTitle;
|
|
377
|
-
const selected = this.#isMapped(edit, item.formControlName);
|
|
378
|
-
return {
|
|
379
|
-
id: item.id,
|
|
380
|
-
label: item.label,
|
|
381
|
-
icon: getInputIcon(item.element),
|
|
382
|
-
formControlName: item.formControlName,
|
|
383
|
-
dataType: item.dataType ?? '',
|
|
384
|
-
selected,
|
|
385
|
-
mappable,
|
|
386
|
-
ariaLabel: `${item.label}.${mappable ? '' : ' Not mappable.'}`,
|
|
387
|
-
};
|
|
388
|
-
}
|
|
389
|
-
#isMapped(edit, formControlName) {
|
|
390
|
-
if (edit.type === MinInputTypes.MapTo) {
|
|
391
|
-
return this.#asSingle(edit.mapTo)?.formControlName === formControlName;
|
|
392
|
-
}
|
|
393
|
-
if (edit.type === MinInputTypes.MapDocFilter) {
|
|
394
|
-
return this.#asList(edit.mapTo).some((m) => m.formControlName === formControlName);
|
|
395
|
-
}
|
|
396
|
-
return false;
|
|
397
|
-
}
|
|
398
|
-
#toMapping(target) {
|
|
399
|
-
const source = this.formInputs().find((item) => item.id === target.id);
|
|
400
|
-
return {
|
|
401
|
-
formControlName: target.formControlName,
|
|
402
|
-
dataType: source?.dataType ?? InputDataTypes.String,
|
|
403
|
-
element: source?.element ?? ElementTypes.Input,
|
|
404
|
-
inputId: target.id,
|
|
405
|
-
};
|
|
406
|
-
}
|
|
407
|
-
#asSingle(mapTo) {
|
|
408
|
-
if (!mapTo || Array.isArray(mapTo)) {
|
|
409
|
-
return undefined;
|
|
410
|
-
}
|
|
411
|
-
// `Array.isArray` does not narrow a `readonly[]` out of the union, so assert
|
|
412
|
-
// the remaining single-mapping shape after the guard.
|
|
413
|
-
return mapTo;
|
|
414
|
-
}
|
|
415
|
-
#asList(mapTo) {
|
|
416
|
-
return Array.isArray(mapTo) ? mapTo : [];
|
|
417
|
-
}
|
|
418
|
-
static { this.ɵfac = function RequiredInputsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RequiredInputsComponent)(); }; }
|
|
419
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RequiredInputsComponent, selectors: [["lib-required-inputs"]], hostAttrs: [1, "lib-required-inputs"], hostVars: 1, hostBindings: function RequiredInputsComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
420
|
-
i0.ɵɵattribute("id", ctx.id());
|
|
421
|
-
} }, inputs: { value: [1, "value"], formInputs: [1, "formInputs"], disabled: [1, "disabled"], errors: [1, "errors"], id: [1, "id"] }, outputs: { valueChanged: "valueChanged" }, decls: 3, vars: 2, consts: [["role", "list", "aria-label", "Required inputs", 1, "lib-required-inputs__chips"], ["icon", "link_off", "message", "No required inputs to configure."], [1, "lib-required-inputs__panel"], ["type", "button", "role", "listitem", 1, "lib-required-inputs__chip", 3, "lib-required-inputs__chip--linked", "lib-required-inputs__chip--active", "disabled"], ["type", "button", "role", "listitem", 1, "lib-required-inputs__chip", 3, "click", "disabled"], [1, "lib-required-inputs__chip-label"], ["aria-hidden", "true", 1, "lib-required-inputs__chip-icon"], ["appearance", "outline", "subscriptSizing", "dynamic", 1, "lib-required-inputs__field"], [3, "selectionChange", "value", "disabled"], [3, "value"], [1, "lib-required-inputs__actions"], ["type", "button", "mat-flat-button", "", "color", "primary", 3, "click"], ["matInput", "", "placeholder", "Enter a default value", 3, "ngModelChange", "ngModel", "disabled"], [1, "lib-required-inputs__list-label"], [1, "lib-required-inputs__list"], ["icon", "add_link", "message", "Add form inputs before mapping this input."], ["matRipple", "", "role", "button", 1, "lib-required-inputs__item", 3, "disabled", "activated"], ["matRipple", "", "role", "button", 1, "lib-required-inputs__item", 3, "click", "disabled", "activated"], ["matListItemAvatar", "", "aria-hidden", "true", 1, "lib-required-inputs__avatar"], ["matListItemTitle", "", 1, "lib-required-inputs__item-title"], ["matListItemLine", "", 1, "lib-required-inputs__item-meta"], ["matListItemMeta", "", "aria-hidden", "true", 1, "lib-required-inputs__indicator"]], template: function RequiredInputsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
422
|
-
i0.ɵɵconditionalCreate(0, RequiredInputsComponent_Conditional_0_Template, 3, 0, "div", 0)(1, RequiredInputsComponent_Conditional_1_Template, 1, 0, "lib-empty-state", 1);
|
|
423
|
-
i0.ɵɵconditionalCreate(2, RequiredInputsComponent_Conditional_2_Template, 18, 7, "div", 2);
|
|
424
|
-
} if (rf & 2) {
|
|
425
|
-
let tmp_1_0;
|
|
426
|
-
i0.ɵɵconditional(ctx.chips().length ? 0 : 1);
|
|
427
|
-
i0.ɵɵadvance(2);
|
|
428
|
-
i0.ɵɵconditional((tmp_1_0 = ctx.inEdit()) ? 2 : -1, tmp_1_0);
|
|
429
|
-
} }, dependencies: [FormsModule, i1.DefaultValueAccessor, i1.NgControlStatus, i1.NgModel, MatButtonModule, i1$1.MatButton, MatFormFieldModule, i2.MatFormField, i2.MatLabel, i2.MatHint, MatIconModule, i3.MatIcon, MatInputModule, i2$1.MatInput, MatListModule, i6.MatNavList, i6.MatListItem, i6.MatListItemAvatar, i6.MatListItemLine, i6.MatListItemTitle, i6.MatListItemMeta, MatRippleModule, i7.MatRipple, MatSelectModule, i8.MatSelect, i8.MatOption, EmptyStateComponent], styles: ["@charset \"UTF-8\";[_nghost-%COMP%]{display:flex;flex-direction:column;gap:1.5rem;color:var(--lib-forms-on-surface)}.lib-required-inputs__chips[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.5rem}.lib-required-inputs__chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;padding:.25rem .5rem .25rem .625rem;background:color-mix(in srgb,var(--lib-forms-primary) 10%,transparent);border-radius:var(--lib-forms-radius-pill, 6px);font-size:.8125rem;color:var(--lib-forms-on-surface);cursor:pointer;border:1px solid color-mix(in srgb,var(--lib-forms-outline) 30%,transparent);background:var(--lib-forms-surface);transition:background-color var(--lib-forms-duration-hover) var(--lib-forms-easing),border-color var(--lib-forms-duration-hover) var(--lib-forms-easing)}.lib-required-inputs__chip[_ngcontent-%COMP%]:hover:not(:disabled){border-color:var(--lib-forms-primary)}.lib-required-inputs__chip[_ngcontent-%COMP%]:focus-visible{outline:none;border-color:var(--lib-forms-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--lib-forms-primary) 25%,transparent)}.lib-required-inputs__chip[_ngcontent-%COMP%]:disabled{opacity:.55;pointer-events:none}.lib-required-inputs__chip--linked[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--lib-forms-primary) 14%,transparent);border-color:color-mix(in srgb,var(--lib-forms-primary) 30%,transparent)}.lib-required-inputs__chip--active[_ngcontent-%COMP%]{border-color:var(--lib-forms-primary);background:color-mix(in srgb,var(--lib-forms-primary) 22%,transparent)}.lib-required-inputs__chip-icon[_ngcontent-%COMP%]{width:1rem;height:1rem;font-size:1rem;color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__chip--linked[_ngcontent-%COMP%] .lib-required-inputs__chip-icon[_ngcontent-%COMP%], .lib-required-inputs__chip--active[_ngcontent-%COMP%] .lib-required-inputs__chip-icon[_ngcontent-%COMP%]{color:var(--lib-forms-primary)}.lib-required-inputs__panel[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.lib-required-inputs__field[_ngcontent-%COMP%]{width:100%}.lib-required-inputs__list-label[_ngcontent-%COMP%]{margin:0;font-size:.625rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__list-label[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:var(--lib-forms-primary)}.lib-required-inputs__list[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;max-height:65vh;overflow:auto;padding:.5rem;background:var(--lib-forms-surface);border:1px solid color-mix(in srgb,var(--lib-forms-outline) 12%,transparent);border-radius:var(--lib-forms-radius-lg, 12px)}.lib-required-inputs__item[_ngcontent-%COMP%]{min-height:3rem;height:fit-content;margin-bottom:.25rem;border-radius:var(--lib-forms-radius-sm, 8px);cursor:pointer;transition:background-color var(--lib-forms-duration-hover) var(--lib-forms-easing)}.lib-required-inputs__item[_ngcontent-%COMP%]:last-child{margin-bottom:0}.lib-required-inputs__item[_ngcontent-%COMP%]:hover{background:color-mix(in srgb,var(--lib-forms-primary) 6%,transparent)}.lib-required-inputs__item[_ngcontent-%COMP%]:focus-visible{outline:none;border-color:var(--lib-forms-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--lib-forms-primary) 25%,transparent)}.lib-required-inputs__item.mdc-list-item--activated[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--lib-forms-primary) 12%,transparent)}mat-icon.lib-required-inputs__avatar[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:var(--lib-forms-radius-sm, 8px);font-size:1.5rem;line-height:1;background:var(--lib-forms-surface-container-high);color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__item-title[_ngcontent-%COMP%]{font-size:.9375rem;font-weight:600}.lib-required-inputs__item-meta[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.5rem;font-size:.75rem;color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__indicator[_ngcontent-%COMP%]{color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__indicator--on[_ngcontent-%COMP%]{color:var(--lib-forms-primary)}.lib-required-inputs__actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:.75rem}"], changeDetection: 0 }); }
|
|
430
|
-
}
|
|
431
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RequiredInputsComponent, [{
|
|
432
|
-
type: Component,
|
|
433
|
-
args: [{ selector: 'lib-required-inputs', imports: [
|
|
434
|
-
FormsModule,
|
|
435
|
-
MatButtonModule,
|
|
436
|
-
MatFormFieldModule,
|
|
437
|
-
MatIconModule,
|
|
438
|
-
MatInputModule,
|
|
439
|
-
MatListModule,
|
|
440
|
-
MatRippleModule,
|
|
441
|
-
MatSelectModule,
|
|
442
|
-
EmptyStateComponent,
|
|
443
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, host: {
|
|
444
|
-
'class': 'lib-required-inputs',
|
|
445
|
-
'[attr.id]': 'id()',
|
|
446
|
-
}, template: "@if (chips().length) {\n<div class=\"lib-required-inputs__chips\" role=\"list\" aria-label=\"Required inputs\">\n @for (chip of chips(); track chip.name) {\n <button\n type=\"button\"\n role=\"listitem\"\n class=\"lib-required-inputs__chip\"\n [class.lib-required-inputs__chip--linked]=\"chip.linked\"\n [class.lib-required-inputs__chip--active]=\"chip.active\"\n [disabled]=\"disabled()\"\n [attr.aria-pressed]=\"chip.active\"\n [attr.aria-label]=\"chip.name + (chip.linked ? ', linked' : ', not linked')\"\n (click)=\"toggleActive(chip.name)\">\n <span class=\"lib-required-inputs__chip-label\">{{ chip.name }}</span>\n <mat-icon class=\"lib-required-inputs__chip-icon\" aria-hidden=\"true\">\n {{ chip.linked ? 'link' : 'link_off' }}\n </mat-icon>\n </button>\n }\n</div>\n} @else {\n<lib-empty-state icon=\"link_off\" message=\"No required inputs to configure.\" />\n}\n\n@if (inEdit(); as edit) {\n<div class=\"lib-required-inputs__panel\">\n <mat-form-field\n class=\"lib-required-inputs__field\"\n appearance=\"outline\"\n subscriptSizing=\"dynamic\">\n <mat-label>Input handling method</mat-label>\n <mat-select\n [value]=\"activeType()\"\n [disabled]=\"disabled()\"\n (selectionChange)=\"selectType($event.value)\">\n <mat-option [value]=\"minInputTypes.Default\">Default value</mat-option>\n <mat-option [value]=\"minInputTypes.MapTo\">Map to a form input</mat-option>\n <mat-option [value]=\"minInputTypes.MapDocFilter\">Filter by an input value</mat-option>\n </mat-select>\n <mat-hint>Choose how this required input is resolved</mat-hint>\n </mat-form-field>\n\n @if (activeType() === minInputTypes.Default) {\n <mat-form-field\n class=\"lib-required-inputs__field\"\n appearance=\"outline\"\n subscriptSizing=\"dynamic\">\n <mat-label>Default value</mat-label>\n <input\n matInput\n [ngModel]=\"edit.defaultValue\"\n [disabled]=\"disabled()\"\n (ngModelChange)=\"setDefaultValue($event)\"\n placeholder=\"Enter a default value\" />\n <mat-hint>Used when no value is supplied at runtime</mat-hint>\n </mat-form-field>\n }\n\n @if (showMapList()) {\n <p class=\"lib-required-inputs__list-label\">\n Link <strong>{{ activeInput() }}</strong> to a form input\n </p>\n\n @if (mapTargets().length) {\n <mat-nav-list class=\"lib-required-inputs__list\">\n {{mapTargets().length}}\n @for (target of mapTargets(); track target.id) {\n <mat-list-item\n class=\"lib-required-inputs__item\"\n matRipple\n role=\"button\"\n [disabled]=\"disabled() || !target.mappable\"\n [activated]=\"target.selected\"\n [attr.aria-pressed]=\"target.selected\"\n [attr.aria-label]=\"target.ariaLabel\"\n (click)=\"toggleMap(target); $event.stopPropagation()\">\n <mat-icon\n matListItemAvatar\n class=\"lib-required-inputs__avatar\"\n aria-hidden=\"true\">\n {{ target.icon }}\n </mat-icon>\n <span matListItemTitle class=\"lib-required-inputs__item-title\">{{ target.label }}</span>\n <span matListItemLine class=\"lib-required-inputs__item-meta\">\n <span>{{ target.formControlName }}</span>\n @if (target.dataType) {\n <span>{{ target.dataType }}</span>\n }\n </span>\n <mat-icon\n matListItemMeta\n class=\"lib-required-inputs__indicator\"\n [class.lib-required-inputs__indicator--on]=\"target.selected\"\n aria-hidden=\"true\">\n {{ target.selected ? 'check_circle' : 'radio_button_unchecked' }}\n </mat-icon>\n </mat-list-item>\n }\n </mat-nav-list>\n } @else {\n <lib-empty-state icon=\"add_link\" message=\"Add form inputs before mapping this input.\" />\n }\n }\n\n <div class=\"lib-required-inputs__actions\">\n <button type=\"button\" mat-flat-button color=\"primary\" (click)=\"close()\">Done</button>\n </div>\n</div>\n}\n", styles: ["@charset \"UTF-8\";:host{display:flex;flex-direction:column;gap:1.5rem;color:var(--lib-forms-on-surface)}.lib-required-inputs__chips{display:flex;flex-wrap:wrap;gap:.5rem}.lib-required-inputs__chip{display:inline-flex;align-items:center;gap:.5rem;padding:.25rem .5rem .25rem .625rem;background:color-mix(in srgb,var(--lib-forms-primary) 10%,transparent);border-radius:var(--lib-forms-radius-pill, 6px);font-size:.8125rem;color:var(--lib-forms-on-surface);cursor:pointer;border:1px solid color-mix(in srgb,var(--lib-forms-outline) 30%,transparent);background:var(--lib-forms-surface);transition:background-color var(--lib-forms-duration-hover) var(--lib-forms-easing),border-color var(--lib-forms-duration-hover) var(--lib-forms-easing)}.lib-required-inputs__chip:hover:not(:disabled){border-color:var(--lib-forms-primary)}.lib-required-inputs__chip:focus-visible{outline:none;border-color:var(--lib-forms-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--lib-forms-primary) 25%,transparent)}.lib-required-inputs__chip:disabled{opacity:.55;pointer-events:none}.lib-required-inputs__chip--linked{background:color-mix(in srgb,var(--lib-forms-primary) 14%,transparent);border-color:color-mix(in srgb,var(--lib-forms-primary) 30%,transparent)}.lib-required-inputs__chip--active{border-color:var(--lib-forms-primary);background:color-mix(in srgb,var(--lib-forms-primary) 22%,transparent)}.lib-required-inputs__chip-icon{width:1rem;height:1rem;font-size:1rem;color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__chip--linked .lib-required-inputs__chip-icon,.lib-required-inputs__chip--active .lib-required-inputs__chip-icon{color:var(--lib-forms-primary)}.lib-required-inputs__panel{display:flex;flex-direction:column;gap:1.5rem}.lib-required-inputs__field{width:100%}.lib-required-inputs__list-label{margin:0;font-size:.625rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__list-label strong{color:var(--lib-forms-primary)}.lib-required-inputs__list{width:100%;box-sizing:border-box;max-height:65vh;overflow:auto;padding:.5rem;background:var(--lib-forms-surface);border:1px solid color-mix(in srgb,var(--lib-forms-outline) 12%,transparent);border-radius:var(--lib-forms-radius-lg, 12px)}.lib-required-inputs__item{min-height:3rem;height:fit-content;margin-bottom:.25rem;border-radius:var(--lib-forms-radius-sm, 8px);cursor:pointer;transition:background-color var(--lib-forms-duration-hover) var(--lib-forms-easing)}.lib-required-inputs__item:last-child{margin-bottom:0}.lib-required-inputs__item:hover{background:color-mix(in srgb,var(--lib-forms-primary) 6%,transparent)}.lib-required-inputs__item:focus-visible{outline:none;border-color:var(--lib-forms-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--lib-forms-primary) 25%,transparent)}.lib-required-inputs__item.mdc-list-item--activated{background:color-mix(in srgb,var(--lib-forms-primary) 12%,transparent)}mat-icon.lib-required-inputs__avatar{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:var(--lib-forms-radius-sm, 8px);font-size:1.5rem;line-height:1;background:var(--lib-forms-surface-container-high);color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__item-title{font-size:.9375rem;font-weight:600}.lib-required-inputs__item-meta{display:flex;flex-wrap:wrap;gap:.5rem;font-size:.75rem;color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__indicator{color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__indicator--on{color:var(--lib-forms-primary)}.lib-required-inputs__actions{display:flex;justify-content:flex-end;gap:.75rem}\n"] }]
|
|
447
|
-
}], null, { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], formInputs: [{ type: i0.Input, args: [{ isSignal: true, alias: "formInputs", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], errors: [{ type: i0.Input, args: [{ isSignal: true, alias: "errors", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], valueChanged: [{ type: i0.Output, args: ["valueChanged"] }] }); })();
|
|
448
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RequiredInputsComponent, { className: "RequiredInputsComponent", filePath: "lib/components/t-dynamic-data-edit/elements/required-inputs/required-inputs.component.ts", lineNumber: 82 }); })();
|
|
449
|
-
|
|
450
|
-
export { RequiredInputsComponent };
|
|
451
|
-
//# sourceMappingURL=ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs.map
|