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-date-range-picker-input-element.component-BiXubnsN.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/date-range-picker-input-element/core/date-range-picker-reactive-input/date-range-picker-reactive-input.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/date-range-picker-input-element/date-range-picker-input-element.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/date-range-picker-input-element/date-range-picker-input-element.component.ts"],"sourcesContent":["import {\r\n ChangeDetectionStrategy,\r\n Component,\r\n ElementRef,\r\n ViewEncapsulation,\r\n computed,\r\n inject,\r\n input,\r\n} from '@angular/core';\r\nimport { AbstractControl, FormGroup, NgControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatFormFieldControl } from '@angular/material/form-field';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport type { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport {\r\n BaseCustomInput,\r\n BaseCustomInputConfig,\r\n} from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';\r\n\r\nconst customInputConfig: BaseCustomInputConfig = {\r\n controlType: 'lib-date-range-picker-reactive-input',\r\n nextId: 0,\r\n};\r\n\r\n/**\r\n * Inner Material `MatFormFieldControl` host for the date-range-picker reactive\r\n * input. Owns start/end `FormControl` lookups and the cross-field required\r\n * validation reconciliation.\r\n */\r\n@Component({\r\n selector: 'lib-date-range-picker-reactive-input',\r\n imports: [\r\n ReactiveFormsModule,\r\n MatDatepickerModule,\r\n MatInputModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n ],\r\n host: {\r\n '[class.floating]': 'shouldLabelFloat',\r\n '[id]': 'id',\r\n },\r\n providers: [\r\n { provide: MatFormFieldControl, useExisting: DateRangePickerReactiveInputComponent },\r\n ],\r\n templateUrl: './date-range-picker-reactive-input.component.html',\r\n styleUrl: './date-range-picker-reactive-input.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.Emulated,\r\n})\r\nexport class DateRangePickerReactiveInputComponent extends BaseCustomInput<Date> {\r\n /** Column definition used to resolve the start/end `FormControl` names. */\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n\r\n constructor() {\r\n super(\r\n inject(NgControl, { self: true, optional: true }) as NgControl,\r\n inject(ElementRef),\r\n customInputConfig,\r\n );\r\n }\r\n\r\n override get empty(): boolean {\r\n const n: Date | null = this.value;\r\n // Check for null, undefined, or empty string, but allow 0\r\n return n === null || n === undefined || (typeof n === 'string' && n === '');\r\n }\r\n\r\n override get shouldLabelFloat(): boolean {\r\n return true;\r\n }\r\n\r\n protected readonly startDateControl = computed(() => {\r\n const cfg = this.inputConfig();\r\n const parent = this.parentFormGroup;\r\n const ctrl: AbstractControl | undefined =\r\n parent?.controls[`${cfg?.id}.${cfg?.startDateControl}`];\r\n return ctrl ?? null;\r\n });\r\n\r\n protected readonly endDateControl = computed(() => {\r\n const cfg = this.inputConfig();\r\n const parent = this.parentFormGroup;\r\n const ctrl: AbstractControl | undefined =\r\n parent?.controls[`${cfg?.id}.${cfg?.endDateControl}`];\r\n return ctrl ?? null;\r\n });\r\n\r\n protected get parentFormGroup(): FormGroup | null {\r\n return (this.ngControl?.control?.parent as FormGroup) ?? null;\r\n }\r\n\r\n override checkValidationsAnErrors(): void {\r\n const control = this.ngControl?.control;\r\n if (!control || !this.touched) return;\r\n\r\n const errors = { ...control.errors };\r\n\r\n this.errors = errors;\r\n const validStartDate = this.startDateControl()?.valid;\r\n const validEndDate = this.endDateControl()?.valid;\r\n if (validStartDate && validEndDate && 'required' in errors) {\r\n const hasOtherErrors = Object.keys(errors).length > 1;\r\n if (!hasOtherErrors) {\r\n control.setErrors(null);\r\n } else {\r\n delete errors['required'];\r\n control.setErrors(errors);\r\n }\r\n } else if (\r\n (!('required' in errors) && this.required && !validStartDate) ||\r\n (!('required' in errors) && this.required && !validEndDate)\r\n ) {\r\n control.setErrors({ required: true, ...errors });\r\n }\r\n }\r\n}\r\n","<form [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as inputConfig) {\r\n <mat-form-field [appearance]=\"inputConfig.appearance || 'fill'\" subscriptSizing=\"dynamic\">\r\n <mat-label>\r\n {{ inputConfig.label }}\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig\"></lib-t-form-input-status>\r\n </mat-label>\r\n\r\n <lib-date-range-picker-reactive-input\r\n [inputConfig]=\"inputConfig\"\r\n [required]=\"inputConfig.required\"\r\n [formControlName]=\"inputConfig.id + '.' + inputConfig.endDateControl\"\r\n ></lib-date-range-picker-reactive-input>\r\n\r\n <mat-date-range-input [required]=\"inputConfig.required\" [formGroup]=\"formGroup()\" [rangePicker]=\"picker\">\r\n @if (inputConfig.startDateControl) {\r\n <input\r\n matStartDate\r\n [disabled]=\"!!(inputConfig.disabled ?? inputConfig.readonly)\"\r\n [formControlName]=\"inputConfig.id + '.' + inputConfig.startDateControl\"\r\n [min]=\"inputConfig.startMinDate\"\r\n [max]=\"inputConfig.startMaxDate\"\r\n [value]=\"formGroup().controls[inputConfig.id + '.' + inputConfig.startDateControl]?.value\"\r\n (dateChange)=\"dateChanged($event, inputConfig.startDateControl)\"\r\n placeholder=\"Start date\"\r\n />\r\n }\r\n @if (inputConfig.endDateControl) {\r\n <input\r\n matEndDate\r\n [disabled]=\"!!(inputConfig.disabled ?? inputConfig.readonly)\"\r\n [formControlName]=\"inputConfig.id + '.' + inputConfig.endDateControl\"\r\n [value]=\"formGroup().controls[inputConfig.id + '.' + inputConfig.endDateControl]?.value\"\r\n placeholder=\"End date\"\r\n [min]=\"inputConfig.endMinDate\"\r\n [max]=\"inputConfig.endMaxDate\"\r\n (dateChange)=\"dateChanged($event, inputConfig.endDateControl)\"\r\n />\r\n }\r\n </mat-date-range-input>\r\n\r\n <mat-datepicker-toggle matIconSuffix [for]=\"picker\"></mat-datepicker-toggle>\r\n <mat-date-range-picker #picker>\r\n <mat-datepicker-actions>\r\n <button mat-button matDatepickerCancel>Cancel</button>\r\n <button mat-raised-button color=\"primary\" matDatepickerApply>Apply</button>\r\n </mat-datepicker-actions>\r\n </mat-date-range-picker>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint [matTooltip]=\"inputConfig.hintLabel || ''\" class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n @if (!!errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n }\r\n\r\n @if (inputConfig.canReload?.canReload) {\r\n <button\r\n mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig.canReload.emit()\"\r\n matSuffix\r\n >\r\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint>\r\n {{ (formGroup().controls[inputConfig.id]?.value?.length || 0) + '/' + inputConfig.maxLength }}\r\n </mat-hint>\r\n }\r\n </mat-form-field>\r\n }\r\n</form>\r\n","import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { FormGroup, ReactiveFormsModule } from '@angular/forms';\r\nimport { provideNativeDateAdapter } from '@angular/material/core';\r\nimport { DateRange, MatDatepickerInputEvent, MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport type { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { TFormInputStatusComponent } from '../../../t-form-input-status/t-form-input-status.component';\r\nimport { DateRangePickerReactiveInputComponent } from './core/date-range-picker-reactive-input/date-range-picker-reactive-input.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\n\r\n/** Wraps a reactive date-range-picker control inside a `mat-form-field`. */\r\n@Component({\r\n selector: 'lib-date-range-picker-input-element',\r\n templateUrl: './date-range-picker-input-element.component.html',\r\n styleUrl: './date-range-picker-input-element.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n providers: [provideNativeDateAdapter()],\r\n imports: [\r\n ReactiveFormsModule,\r\n MatFormFieldModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatTooltipModule,\r\n MatDatepickerModule,\r\n TFormInputStatusComponent,\r\n DateRangePickerReactiveInputComponent,\r\n ],\r\n})\r\nexport class DateRangePickerInputElementComponent {\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n readonly formGroup = input.required<FormGroup>();\r\n readonly reload = output<void>();\r\n\r\n protected readonly errorMessage = computed(() =>\r\n getInputErrorMessage(this.inputConfig(), this.formGroup()),\r\n );\r\n\r\n protected readonly startControlName = computed<string>(() => {\r\n const cfg = this.inputConfig();\r\n return cfg.startDateControl\r\n ? `${cfg.id}.${cfg.startDateControl}`\r\n : `${cfg.id}.startDate`;\r\n });\r\n\r\n protected readonly endControlName = computed<string>(() => {\r\n const cfg = this.inputConfig();\r\n return cfg.endDateControl\r\n ? `${cfg.id}.${cfg.endDateControl}`\r\n : `${cfg.id}.endDate`;\r\n });\r\n\r\n protected hasStartDateError(errorName: string): boolean {\r\n const control = this.formGroup().get(this.startControlName());\r\n return control ? control.hasError(errorName) : false;\r\n }\r\n\r\n protected hasEndDateError(errorName: string): boolean {\r\n const control = this.formGroup().get(this.endControlName());\r\n return control ? control.hasError(errorName) : false;\r\n }\r\n\r\n protected dateChanged(\r\n event: MatDatepickerInputEvent<unknown, DateRange<unknown>>,\r\n formControlName: string | undefined,\r\n ): void {\r\n const control = this.formGroup().controls[`${this.inputConfig().id}.${formControlName}`];\r\n if (control) {\r\n control.setValue(event.value);\r\n control.updateValueAndValidity();\r\n control.markAsTouched();\r\n control.markAsDirty();\r\n }\r\n }\r\n}\r\n"],"names":["i4"],"mappings":";;;;;;;;;;;;;;;;;;AAqBA,MAAM,iBAAiB,GAA0B;AAC/C,IAAA,WAAW,EAAE,sCAAsC;AACnD,IAAA,MAAM,EAAE,CAAC;CACV;AAED;;;;AAIG;AAsBG,MAAO,qCAAsC,SAAQ,eAAqB,CAAA;AAI9E,IAAA,WAAA,GAAA;QACE,KAAK,CACH,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EA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2BACE,qCAAqC,EAAA,eAAA,EAG9B,uBAAuB,CAAC,MAAM,aACpC,CAAC,wBAAwB,EAAE,CAAC,EAAA,OAAA,EAC9B;oBACP,mBAAmB;oBACnB,kBAAkB;oBAClB,aAAa;oBACb,eAAe;oBACf,gBAAgB;oBAChB,mBAAmB;oBACnB,yBAAyB;oBACzB,qCAAqC;AACtC,iBAAA,EAAA,QAAA,EAAA,uhIAAA,EAAA,MAAA,EAAA,CAAA,oJAAA,CAAA,EAAA;;kFAEU,oCAAoC,EAAA,EAAA,SAAA,EAAA,sCAAA,EAAA,QAAA,EAAA,mHAAA,EAAA,UAAA,EAAA,EAAA,EAAA,CAAA,CAAA,CAAA,CAAA,GAAA;;;;"}
|
|
@@ -1,543 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, output, signal, computed, ViewEncapsulation, ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
3
|
-
import { NgControl } from '@angular/forms';
|
|
4
|
-
import * as i5$1 from '@angular/material/autocomplete';
|
|
5
|
-
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
6
|
-
import * as i1$1 from '@angular/material/button';
|
|
7
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
8
|
-
import * as i3$1 from '@angular/material/card';
|
|
9
|
-
import { MatCardModule } from '@angular/material/card';
|
|
10
|
-
import { MatFormFieldModule, MatFormFieldControl } from '@angular/material/form-field';
|
|
11
|
-
import * as i3 from '@angular/material/icon';
|
|
12
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
13
|
-
import { MatInputModule } from '@angular/material/input';
|
|
14
|
-
import * as i6 from '@angular/material/list';
|
|
15
|
-
import { MatListModule } from '@angular/material/list';
|
|
16
|
-
import * as i5 from '@angular/material/tooltip';
|
|
17
|
-
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
18
|
-
import * as i1 from '@angular/cdk/clipboard';
|
|
19
|
-
import { ClipboardModule } from '@angular/cdk/clipboard';
|
|
20
|
-
import { CdkDropList, CdkDrag } from '@angular/cdk/drag-drop';
|
|
21
|
-
import { Subject } from 'rxjs';
|
|
22
|
-
import { DocumentLitsLabelConfigInterfaceValueType, ReportTypes, InputDataTypes, InputTypes, InputPipeTypes, ElementTypes } from 'ngx-t-forms-types';
|
|
23
|
-
import { MatChipListEditorComponent } from './ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs';
|
|
24
|
-
import { MatSliderToggleEditorComponent } from './ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs';
|
|
25
|
-
import { E as EmptyStateComponent } from './ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs';
|
|
26
|
-
import * as i8 from '@angular/material/select';
|
|
27
|
-
|
|
28
|
-
const _c0 = () => [];
|
|
29
|
-
const _forTrack0 = ($index, $item) => $item.formControlName + "-" + $index;
|
|
30
|
-
function DocumentListLabelConfigEditorComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
31
|
-
i0.ɵɵelement(0, "lib-empty-state", 2);
|
|
32
|
-
} }
|
|
33
|
-
function DocumentListLabelConfigEditorComponent_Conditional_2_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
34
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
|
35
|
-
i0.ɵɵelementStart(0, "mat-list-item", 5)(1, "mat-icon", 6);
|
|
36
|
-
i0.ɵɵtext(2, "view_column");
|
|
37
|
-
i0.ɵɵelementEnd();
|
|
38
|
-
i0.ɵɵelementStart(3, "div", 7)(4, "span", 8);
|
|
39
|
-
i0.ɵɵtext(5);
|
|
40
|
-
i0.ɵɵelementEnd();
|
|
41
|
-
i0.ɵɵelementStart(6, "span", 9)(7, "code");
|
|
42
|
-
i0.ɵɵtext(8);
|
|
43
|
-
i0.ɵɵelementEnd();
|
|
44
|
-
i0.ɵɵtext(9);
|
|
45
|
-
i0.ɵɵelementEnd()();
|
|
46
|
-
i0.ɵɵelementStart(10, "button", 10);
|
|
47
|
-
i0.ɵɵlistener("click", function DocumentListLabelConfigEditorComponent_Conditional_2_For_1_Template_button_click_10_listener() { const label_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.removeLabel(label_r2)); });
|
|
48
|
-
i0.ɵɵelementStart(11, "mat-icon");
|
|
49
|
-
i0.ɵɵtext(12, "delete");
|
|
50
|
-
i0.ɵɵelementEnd()()();
|
|
51
|
-
} if (rf & 2) {
|
|
52
|
-
const label_r2 = ctx.$implicit;
|
|
53
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
54
|
-
i0.ɵɵproperty("matTooltip", "Click to copy " + label_r2.formControlName)("cdkCopyToClipboard", label_r2.formControlName);
|
|
55
|
-
i0.ɵɵadvance(5);
|
|
56
|
-
i0.ɵɵtextInterpolate(label_r2.label);
|
|
57
|
-
i0.ɵɵadvance(3);
|
|
58
|
-
i0.ɵɵtextInterpolate(label_r2.formControlName);
|
|
59
|
-
i0.ɵɵadvance();
|
|
60
|
-
i0.ɵɵtextInterpolate1(" \u00B7 ", label_r2.valueType, " ");
|
|
61
|
-
i0.ɵɵadvance();
|
|
62
|
-
i0.ɵɵproperty("disabled", ctx_r2.disabled);
|
|
63
|
-
i0.ɵɵattribute("aria-label", "Remove " + label_r2.label);
|
|
64
|
-
} }
|
|
65
|
-
function DocumentListLabelConfigEditorComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
66
|
-
i0.ɵɵrepeaterCreate(0, DocumentListLabelConfigEditorComponent_Conditional_2_For_1_Template, 13, 7, "mat-list-item", 5, _forTrack0);
|
|
67
|
-
} if (rf & 2) {
|
|
68
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
69
|
-
i0.ɵɵrepeater(ctx_r2.value);
|
|
70
|
-
} }
|
|
71
|
-
function DocumentListLabelConfigEditorComponent_Conditional_3_For_8_Template(rf, ctx) { if (rf & 1) {
|
|
72
|
-
i0.ɵɵelementStart(0, "mat-option", 15);
|
|
73
|
-
i0.ɵɵtext(1);
|
|
74
|
-
i0.ɵɵelementEnd();
|
|
75
|
-
} if (rf & 2) {
|
|
76
|
-
const option_r5 = ctx.$implicit;
|
|
77
|
-
i0.ɵɵproperty("value", option_r5);
|
|
78
|
-
i0.ɵɵadvance();
|
|
79
|
-
i0.ɵɵtextInterpolate(option_r5);
|
|
80
|
-
} }
|
|
81
|
-
function DocumentListLabelConfigEditorComponent_Conditional_3_Conditional_15_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
82
|
-
const _r6 = i0.ɵɵgetCurrentView();
|
|
83
|
-
i0.ɵɵelementStart(0, "label", 17);
|
|
84
|
-
i0.ɵɵtext(1, " Report types ");
|
|
85
|
-
i0.ɵɵelementEnd();
|
|
86
|
-
i0.ɵɵelementStart(2, "lib-mat-chip-list-editor", 24);
|
|
87
|
-
i0.ɵɵlistener("valueChange", function DocumentListLabelConfigEditorComponent_Conditional_3_Conditional_15_Conditional_0_Template_lib_mat_chip_list_editor_valueChange_2_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.reportTypeChanged($event)); });
|
|
88
|
-
i0.ɵɵelementEnd();
|
|
89
|
-
} if (rf & 2) {
|
|
90
|
-
const types_r7 = i0.ɵɵnextContext();
|
|
91
|
-
const draft_r8 = i0.ɵɵnextContext();
|
|
92
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
93
|
-
i0.ɵɵproperty("id", ctx_r2.id + "-rt-label");
|
|
94
|
-
i0.ɵɵadvance(2);
|
|
95
|
-
i0.ɵɵproperty("id", ctx_r2.id + "-rt")("errors", i0.ɵɵpureFunction0(6, _c0))("multiple", true)("value", draft_r8.reportType)("options", types_r7);
|
|
96
|
-
} }
|
|
97
|
-
function DocumentListLabelConfigEditorComponent_Conditional_3_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
98
|
-
i0.ɵɵconditionalCreate(0, DocumentListLabelConfigEditorComponent_Conditional_3_Conditional_15_Conditional_0_Template, 3, 7);
|
|
99
|
-
} if (rf & 2) {
|
|
100
|
-
i0.ɵɵconditional(ctx.length > 0 ? 0 : -1);
|
|
101
|
-
} }
|
|
102
|
-
function DocumentListLabelConfigEditorComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
103
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
|
104
|
-
i0.ɵɵelementStart(0, "mat-card", 3)(1, "mat-card-content", 11)(2, "label", 12);
|
|
105
|
-
i0.ɵɵtext(3, " Form control name ");
|
|
106
|
-
i0.ɵɵelementEnd();
|
|
107
|
-
i0.ɵɵelementStart(4, "input", 13);
|
|
108
|
-
i0.ɵɵlistener("input", function DocumentListLabelConfigEditorComponent_Conditional_3_Template_input_input_4_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.formControlNameChange($event)); });
|
|
109
|
-
i0.ɵɵelementEnd();
|
|
110
|
-
i0.ɵɵelementStart(5, "mat-autocomplete", 14, 0);
|
|
111
|
-
i0.ɵɵlistener("optionSelected", function DocumentListLabelConfigEditorComponent_Conditional_3_Template_mat_autocomplete_optionSelected_5_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.formControlSelected($event)); });
|
|
112
|
-
i0.ɵɵrepeaterCreate(7, DocumentListLabelConfigEditorComponent_Conditional_3_For_8_Template, 2, 2, "mat-option", 15, i0.ɵɵrepeaterTrackByIdentity);
|
|
113
|
-
i0.ɵɵelementEnd();
|
|
114
|
-
i0.ɵɵelementStart(9, "label", 12);
|
|
115
|
-
i0.ɵɵtext(10, " Name ");
|
|
116
|
-
i0.ɵɵelementEnd();
|
|
117
|
-
i0.ɵɵelementStart(11, "input", 16);
|
|
118
|
-
i0.ɵɵlistener("input", function DocumentListLabelConfigEditorComponent_Conditional_3_Template_input_input_11_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.nameChange($event)); });
|
|
119
|
-
i0.ɵɵelementEnd();
|
|
120
|
-
i0.ɵɵelementStart(12, "label", 17);
|
|
121
|
-
i0.ɵɵtext(13, " Value type ");
|
|
122
|
-
i0.ɵɵelementEnd();
|
|
123
|
-
i0.ɵɵelementStart(14, "lib-mat-chip-list-editor", 18);
|
|
124
|
-
i0.ɵɵlistener("valueChange", function DocumentListLabelConfigEditorComponent_Conditional_3_Template_lib_mat_chip_list_editor_valueChange_14_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.valueTypeChanged($event)); });
|
|
125
|
-
i0.ɵɵelementEnd();
|
|
126
|
-
i0.ɵɵconditionalCreate(15, DocumentListLabelConfigEditorComponent_Conditional_3_Conditional_15_Template, 1, 1);
|
|
127
|
-
i0.ɵɵelementStart(16, "lib-mat-slider-toggle-editor", 19);
|
|
128
|
-
i0.ɵɵlistener("valueChange", function DocumentListLabelConfigEditorComponent_Conditional_3_Template_lib_mat_slider_toggle_editor_valueChange_16_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.isHiddenChanged(!!$event)); });
|
|
129
|
-
i0.ɵɵelementEnd()();
|
|
130
|
-
i0.ɵɵelementStart(17, "mat-card-actions", 20)(18, "button", 21);
|
|
131
|
-
i0.ɵɵlistener("click", function DocumentListLabelConfigEditorComponent_Conditional_3_Template_button_click_18_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.saveHeader()); });
|
|
132
|
-
i0.ɵɵtext(19, " Save header ");
|
|
133
|
-
i0.ɵɵelementEnd();
|
|
134
|
-
i0.ɵɵelement(20, "span", 22);
|
|
135
|
-
i0.ɵɵelementStart(21, "button", 23);
|
|
136
|
-
i0.ɵɵlistener("click", function DocumentListLabelConfigEditorComponent_Conditional_3_Template_button_click_21_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.cancelEdit()); });
|
|
137
|
-
i0.ɵɵtext(22, "Cancel");
|
|
138
|
-
i0.ɵɵelementEnd()()();
|
|
139
|
-
} if (rf & 2) {
|
|
140
|
-
let tmp_16_0;
|
|
141
|
-
const draft_r8 = ctx;
|
|
142
|
-
const auto_r9 = i0.ɵɵreference(6);
|
|
143
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
144
|
-
i0.ɵɵadvance(2);
|
|
145
|
-
i0.ɵɵattribute("for", ctx_r2.id + "-fcn");
|
|
146
|
-
i0.ɵɵadvance(2);
|
|
147
|
-
i0.ɵɵproperty("id", ctx_r2.id + "-fcn")("value", draft_r8.formControlName || "")("matAutocomplete", auto_r9);
|
|
148
|
-
i0.ɵɵadvance(3);
|
|
149
|
-
i0.ɵɵrepeater(ctx_r2.filteredControlNames());
|
|
150
|
-
i0.ɵɵadvance(2);
|
|
151
|
-
i0.ɵɵattribute("for", ctx_r2.id + "-name");
|
|
152
|
-
i0.ɵɵadvance(2);
|
|
153
|
-
i0.ɵɵproperty("id", ctx_r2.id + "-name")("value", draft_r8.label || "");
|
|
154
|
-
i0.ɵɵadvance();
|
|
155
|
-
i0.ɵɵproperty("id", ctx_r2.id + "-vt-label");
|
|
156
|
-
i0.ɵɵadvance(2);
|
|
157
|
-
i0.ɵɵproperty("id", ctx_r2.id + "-vt")("errors", i0.ɵɵpureFunction0(17, _c0))("value", draft_r8.valueType)("options", ctx_r2.valueTypes);
|
|
158
|
-
i0.ɵɵadvance();
|
|
159
|
-
i0.ɵɵconditional((tmp_16_0 = ctx_r2.reportTypes()) ? 15 : -1, tmp_16_0);
|
|
160
|
-
i0.ɵɵadvance();
|
|
161
|
-
i0.ɵɵproperty("id", ctx_r2.id + "-hidden")("value", draft_r8.isHidden || false)("errors", i0.ɵɵpureFunction0(18, _c0));
|
|
162
|
-
i0.ɵɵadvance(2);
|
|
163
|
-
i0.ɵɵproperty("disabled", ctx_r2.labelSaveDisabled());
|
|
164
|
-
} }
|
|
165
|
-
function DocumentListLabelConfigEditorComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
166
|
-
const _r10 = i0.ɵɵgetCurrentView();
|
|
167
|
-
i0.ɵɵelementStart(0, "button", 25);
|
|
168
|
-
i0.ɵɵlistener("click", function DocumentListLabelConfigEditorComponent_Conditional_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r10); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.startNewLabel()); });
|
|
169
|
-
i0.ɵɵtext(1, " Add new column ");
|
|
170
|
-
i0.ɵɵelementEnd();
|
|
171
|
-
} if (rf & 2) {
|
|
172
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
173
|
-
i0.ɵɵproperty("disabled", ctx_r2.disabled);
|
|
174
|
-
} }
|
|
175
|
-
/** Title-cases an enum key: `daysAgo` → `Days Ago`. */
|
|
176
|
-
function humaniseKey(key) {
|
|
177
|
-
return key
|
|
178
|
-
.replace(/([A-Z])/g, ' $1')
|
|
179
|
-
.trim()
|
|
180
|
-
.toLowerCase()
|
|
181
|
-
.replace(/^\w/, (c) => c.toUpperCase());
|
|
182
|
-
}
|
|
183
|
-
/** Derives a readable label from a camelCase control name: `taxRate` → `tax Rate`. */
|
|
184
|
-
function controlNameToLabel(name) {
|
|
185
|
-
return name
|
|
186
|
-
.replace(/([a-z])([A-Z])/g, '$1 $2')
|
|
187
|
-
.replace(/([A-Z])([A-Z][a-z])/g, '$1 $2');
|
|
188
|
-
}
|
|
189
|
-
/**
|
|
190
|
-
* Document-list label-configuration editor: builds the ordered list of column
|
|
191
|
-
* label definitions (`DocumentLitsLabelConfigInterface[]`) used to render a
|
|
192
|
-
* document list. Columns can be added, edited inline, removed, and reordered by
|
|
193
|
-
* drag-and-drop.
|
|
194
|
-
*
|
|
195
|
-
* Implements `MatFormFieldControl<DocumentLitsLabelConfigInterface[]>`, so it
|
|
196
|
-
* renders inside the parent's `<mat-form-field>` — `t-dynamic-data-edit` owns
|
|
197
|
-
* the field label, hint, and validation errors; this component owns only the
|
|
198
|
-
* column list and the add/edit form.
|
|
199
|
-
*
|
|
200
|
-
* NOTE: `MatFormFieldControl<T>` mandates plain mutable `value` / `disabled` /
|
|
201
|
-
* `required` / `placeholder` / `id` members, `@Input()` decorators, the
|
|
202
|
-
* `focused` / `touched` / `stateChanges` members, and the `useExisting`
|
|
203
|
-
* provider. These are framework wiring, not defects — the CLAUDE.md bans on
|
|
204
|
-
* `@Input()` / `useExisting` do not apply to MatFormFieldControl integration.
|
|
205
|
-
* Genuinely-internal state (the in-edit draft, derived option lists) uses
|
|
206
|
-
* `signal()` / `computed()`.
|
|
207
|
-
*/
|
|
208
|
-
class DocumentListLabelConfigEditorComponent {
|
|
209
|
-
constructor() {
|
|
210
|
-
/** Emits whenever a piece of `MatFormFieldControl` state changes. */
|
|
211
|
-
this.stateChanges = new Subject();
|
|
212
|
-
this.controlType = 'lib-document-list-label-config-editor';
|
|
213
|
-
this.id = `lib-document-list-label-config-editor-${DocumentListLabelConfigEditorComponent.nextId++}`;
|
|
214
|
-
this.placeholder = '';
|
|
215
|
-
this.focused = false;
|
|
216
|
-
this.touched = false;
|
|
217
|
-
this.describedBy = '';
|
|
218
|
-
this.autofilled = false;
|
|
219
|
-
this.userAriaDescribedBy = undefined;
|
|
220
|
-
this.disableAutomaticLabeling = undefined;
|
|
221
|
-
this.ngControl = inject(NgControl, { self: true, optional: true });
|
|
222
|
-
/** Validation errors surfaced by the parent for error-state derivation. */
|
|
223
|
-
this.errors = [];
|
|
224
|
-
/** Available form inputs used to auto-derive a column's value type. */
|
|
225
|
-
this.formInputs = [];
|
|
226
|
-
/** Editor configuration supplied by the parent (placeholder/required/etc.). */
|
|
227
|
-
this.editorConfig = undefined;
|
|
228
|
-
/** Candidate control names offered in the form-control autocomplete. */
|
|
229
|
-
this.mapToData = [];
|
|
230
|
-
/** Emits the column list whenever it changes. */
|
|
231
|
-
this.valueChange = output();
|
|
232
|
-
this.#value = [];
|
|
233
|
-
this.#disabled = false;
|
|
234
|
-
this.#required = false;
|
|
235
|
-
// ---- internal signal state ---------------------------------------------
|
|
236
|
-
/** The label draft currently being added/edited (see {@link LabelDraft}). */
|
|
237
|
-
this.labelInEdit = signal(null, ...(ngDevMode ? [{ debugName: "labelInEdit" }] : /* istanbul ignore next */ []));
|
|
238
|
-
/** Value-type chip options (all enum members, humanised). */
|
|
239
|
-
this.valueTypes = Object.keys(DocumentLitsLabelConfigInterfaceValueType).map((key) => ({ label: humaniseKey(key), value: key }));
|
|
240
|
-
/**
|
|
241
|
-
* Autocomplete options filtered by the draft's `formControlName`. Empty term
|
|
242
|
-
* shows the full list; otherwise matches a substring or a word-prefix.
|
|
243
|
-
*/
|
|
244
|
-
this.filteredControlNames = computed(() => {
|
|
245
|
-
// 1. Create a Set from the data to automatically remove duplicates,
|
|
246
|
-
// then spread it back into an array.
|
|
247
|
-
const source = [...new Set(this.mapToData ?? [])];
|
|
248
|
-
const term = (this.labelInEdit()?.formControlName ?? '').trim().toLowerCase();
|
|
249
|
-
if (!term) {
|
|
250
|
-
return source;
|
|
251
|
-
}
|
|
252
|
-
return source.filter((option) => {
|
|
253
|
-
const text = option.toLowerCase();
|
|
254
|
-
if (text.includes(term)) {
|
|
255
|
-
return true;
|
|
256
|
-
}
|
|
257
|
-
return text.split(/\s+/).some((word) => word.startsWith(term));
|
|
258
|
-
});
|
|
259
|
-
}, ...(ngDevMode ? [{ debugName: "filteredControlNames" }] : /* istanbul ignore next */ []));
|
|
260
|
-
/**
|
|
261
|
-
* Report-type chip options derived from the draft's `valueType`. `undefined`
|
|
262
|
-
* when no value type is chosen, which hides the report-types section.
|
|
263
|
-
*
|
|
264
|
-
* - currency / number → aggregation reports (avg, highest, lowest, sum)
|
|
265
|
-
* - string → category report
|
|
266
|
-
*/
|
|
267
|
-
this.reportTypes = computed(() => {
|
|
268
|
-
const valueType = this.labelInEdit()?.valueType;
|
|
269
|
-
if (!valueType) {
|
|
270
|
-
return undefined;
|
|
271
|
-
}
|
|
272
|
-
return Object.values(ReportTypes)
|
|
273
|
-
.filter((reportType) => {
|
|
274
|
-
if (valueType === DocumentLitsLabelConfigInterfaceValueType.currency ||
|
|
275
|
-
valueType === DocumentLitsLabelConfigInterfaceValueType.number) {
|
|
276
|
-
return (reportType === ReportTypes.Avg ||
|
|
277
|
-
reportType === ReportTypes.Highest ||
|
|
278
|
-
reportType === ReportTypes.Lowest ||
|
|
279
|
-
reportType === ReportTypes.Sum);
|
|
280
|
-
}
|
|
281
|
-
if (valueType === DocumentLitsLabelConfigInterfaceValueType.string) {
|
|
282
|
-
return reportType === ReportTypes.Category;
|
|
283
|
-
}
|
|
284
|
-
return false;
|
|
285
|
-
})
|
|
286
|
-
.map((key) => ({ label: humaniseKey(key), value: key }));
|
|
287
|
-
}, ...(ngDevMode ? [{ debugName: "reportTypes" }] : /* istanbul ignore next */ []));
|
|
288
|
-
/** Whether the save action is blocked (draft missing required fields). */
|
|
289
|
-
this.labelSaveDisabled = computed(() => {
|
|
290
|
-
const draft = this.labelInEdit();
|
|
291
|
-
return !draft || !draft.label || !draft.formControlName || !draft.valueType;
|
|
292
|
-
}, ...(ngDevMode ? [{ debugName: "labelSaveDisabled" }] : /* istanbul ignore next */ []));
|
|
293
|
-
this.onTouched = () => { };
|
|
294
|
-
}
|
|
295
|
-
static { this.nextId = 0; }
|
|
296
|
-
#value;
|
|
297
|
-
/** Current column configuration list. */
|
|
298
|
-
get value() {
|
|
299
|
-
return this.#value;
|
|
300
|
-
}
|
|
301
|
-
set value(value) {
|
|
302
|
-
// Coerce to an array: the parent pipeline substitutes '' for an unset
|
|
303
|
-
// deep-bound value, and a non-array here would break `.length`, the `@for`,
|
|
304
|
-
// and the commit helpers. Mirrors `record-list-manager`'s value setter.
|
|
305
|
-
this.#value = Array.isArray(value) ? value : [];
|
|
306
|
-
this.stateChanges.next();
|
|
307
|
-
}
|
|
308
|
-
#disabled;
|
|
309
|
-
/** Whether the editor is inert. */
|
|
310
|
-
get disabled() {
|
|
311
|
-
return this.#disabled;
|
|
312
|
-
}
|
|
313
|
-
set disabled(value) {
|
|
314
|
-
this.#disabled = value;
|
|
315
|
-
this.stateChanges.next();
|
|
316
|
-
}
|
|
317
|
-
#required;
|
|
318
|
-
/** Whether at least one column is required. */
|
|
319
|
-
get required() {
|
|
320
|
-
return this.#required;
|
|
321
|
-
}
|
|
322
|
-
set required(value) {
|
|
323
|
-
this.#required = value;
|
|
324
|
-
this.stateChanges.next();
|
|
325
|
-
}
|
|
326
|
-
// ---- MatFormFieldControl getters (read by the framework) ----------------
|
|
327
|
-
get empty() {
|
|
328
|
-
return this.#value.length === 0;
|
|
329
|
-
}
|
|
330
|
-
get shouldLabelFloat() {
|
|
331
|
-
return this.focused || !this.empty;
|
|
332
|
-
}
|
|
333
|
-
get errorState() {
|
|
334
|
-
const requiredUnset = this.empty && this.#required;
|
|
335
|
-
const ngControlError = this.ngControl?.errors != null;
|
|
336
|
-
const externalError = (this.errors?.length ?? 0) > 0 && this.touched;
|
|
337
|
-
return requiredUnset || ngControlError || externalError;
|
|
338
|
-
}
|
|
339
|
-
setDescribedByIds(ids) {
|
|
340
|
-
this.describedBy = ids.join(' ');
|
|
341
|
-
this.stateChanges.next();
|
|
342
|
-
}
|
|
343
|
-
onContainerClick() {
|
|
344
|
-
this.markAsTouched();
|
|
345
|
-
if (!this.focused) {
|
|
346
|
-
this.focused = true;
|
|
347
|
-
}
|
|
348
|
-
this.stateChanges.next();
|
|
349
|
-
}
|
|
350
|
-
markAsTouched() {
|
|
351
|
-
if (!this.touched) {
|
|
352
|
-
this.touched = true;
|
|
353
|
-
this.onTouched();
|
|
354
|
-
this.stateChanges.next();
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
// ---- editing ------------------------------------------------------------
|
|
358
|
-
/** Begin a fresh column draft. */
|
|
359
|
-
startNewLabel() {
|
|
360
|
-
this.labelInEdit.set({});
|
|
361
|
-
}
|
|
362
|
-
/** Discard the current draft. */
|
|
363
|
-
cancelEdit() {
|
|
364
|
-
this.labelInEdit.set(null);
|
|
365
|
-
}
|
|
366
|
-
/** Update the draft's display label from the name input. */
|
|
367
|
-
nameChange(event) {
|
|
368
|
-
const label = event.target?.value ?? '';
|
|
369
|
-
this.labelInEdit.update((draft) => ({ ...draft, label }));
|
|
370
|
-
}
|
|
371
|
-
/**
|
|
372
|
-
* Update the draft's form control name (free-text typing). Re-derives the
|
|
373
|
-
* value type from the matching form input, if any.
|
|
374
|
-
*/
|
|
375
|
-
formControlNameChange(event) {
|
|
376
|
-
const formControlName = event.target?.value ?? '';
|
|
377
|
-
const input = this.formInputs.find((i) => i.formControlName === formControlName);
|
|
378
|
-
this.labelInEdit.update((draft) => ({
|
|
379
|
-
...draft,
|
|
380
|
-
formControlName,
|
|
381
|
-
valueType: this.#valueTypeFromInput(input),
|
|
382
|
-
}));
|
|
383
|
-
}
|
|
384
|
-
/** Apply an autocomplete selection, defaulting the label from the name. */
|
|
385
|
-
formControlSelected(event) {
|
|
386
|
-
const formControlName = String(event.option.value);
|
|
387
|
-
this.labelInEdit.update((draft) => ({
|
|
388
|
-
...draft,
|
|
389
|
-
formControlName,
|
|
390
|
-
label: draft?.label || controlNameToLabel(formControlName),
|
|
391
|
-
}));
|
|
392
|
-
}
|
|
393
|
-
/** Set the draft's value type from the chip selection. */
|
|
394
|
-
valueTypeChanged(value) {
|
|
395
|
-
this.labelInEdit.update((draft) => ({
|
|
396
|
-
...draft,
|
|
397
|
-
valueType: value,
|
|
398
|
-
}));
|
|
399
|
-
}
|
|
400
|
-
/**
|
|
401
|
-
* Set the draft's report types. The chip editor is multi-select, so it emits
|
|
402
|
-
* an array; a single value is normalised into one.
|
|
403
|
-
*/
|
|
404
|
-
reportTypeChanged(value) {
|
|
405
|
-
const reportType = Array.isArray(value)
|
|
406
|
-
? value
|
|
407
|
-
: value == null
|
|
408
|
-
? []
|
|
409
|
-
: [value];
|
|
410
|
-
this.labelInEdit.update((draft) => ({ ...draft, reportType }));
|
|
411
|
-
}
|
|
412
|
-
/** Toggle the draft's hidden flag. */
|
|
413
|
-
isHiddenChanged(isHidden) {
|
|
414
|
-
this.labelInEdit.update((draft) => ({ ...draft, isHidden }));
|
|
415
|
-
}
|
|
416
|
-
/** Commit the draft into the list (replacing a matching column, or appending). */
|
|
417
|
-
saveHeader() {
|
|
418
|
-
const draft = this.labelInEdit();
|
|
419
|
-
if (!draft) {
|
|
420
|
-
return;
|
|
421
|
-
}
|
|
422
|
-
const next = [...this.#value];
|
|
423
|
-
const index = next.findIndex((item) => item.formControlName === draft.formControlName);
|
|
424
|
-
const column = draft;
|
|
425
|
-
if (index !== -1) {
|
|
426
|
-
next[index] = column;
|
|
427
|
-
}
|
|
428
|
-
else {
|
|
429
|
-
next.push(column);
|
|
430
|
-
}
|
|
431
|
-
this.#commit(next);
|
|
432
|
-
this.labelInEdit.set(null);
|
|
433
|
-
}
|
|
434
|
-
/** Remove a column by its form control name. */
|
|
435
|
-
removeLabel(label) {
|
|
436
|
-
this.#commit(this.#value.filter((item) => item.formControlName !== label.formControlName));
|
|
437
|
-
}
|
|
438
|
-
/** Reorder the list after a drag-and-drop. */
|
|
439
|
-
drop(event) {
|
|
440
|
-
const { previousIndex, currentIndex } = event;
|
|
441
|
-
const moved = this.#value.at(previousIndex);
|
|
442
|
-
if (moved === undefined || previousIndex === currentIndex) {
|
|
443
|
-
return;
|
|
444
|
-
}
|
|
445
|
-
const next = [...this.#value];
|
|
446
|
-
next.splice(previousIndex, 1);
|
|
447
|
-
next.splice(currentIndex, 0, moved);
|
|
448
|
-
this.#commit(next);
|
|
449
|
-
}
|
|
450
|
-
/** Write a new list value, emit the change, and mark the control touched. */
|
|
451
|
-
#commit(next) {
|
|
452
|
-
this.value = next;
|
|
453
|
-
this.valueChange.emit(next);
|
|
454
|
-
this.markAsTouched();
|
|
455
|
-
}
|
|
456
|
-
/** Derive the value type from a form input's data/element type and pipe. */
|
|
457
|
-
#valueTypeFromInput(input) {
|
|
458
|
-
if (!input) {
|
|
459
|
-
return DocumentLitsLabelConfigInterfaceValueType.string;
|
|
460
|
-
}
|
|
461
|
-
if (input.dataType === InputDataTypes.Number ||
|
|
462
|
-
input.type === InputTypes.Number ||
|
|
463
|
-
input.pipe?.pipeType === InputPipeTypes.Number) {
|
|
464
|
-
return DocumentLitsLabelConfigInterfaceValueType.number;
|
|
465
|
-
}
|
|
466
|
-
if (input.pipe?.pipeType === InputPipeTypes.Currency) {
|
|
467
|
-
return DocumentLitsLabelConfigInterfaceValueType.currency;
|
|
468
|
-
}
|
|
469
|
-
if (input.dataType === InputDataTypes.Boolean || input.element === ElementTypes.Toggle) {
|
|
470
|
-
return DocumentLitsLabelConfigInterfaceValueType.boolean;
|
|
471
|
-
}
|
|
472
|
-
return DocumentLitsLabelConfigInterfaceValueType.string;
|
|
473
|
-
}
|
|
474
|
-
static { this.ɵfac = function DocumentListLabelConfigEditorComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DocumentListLabelConfigEditorComponent)(); }; }
|
|
475
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DocumentListLabelConfigEditorComponent, selectors: [["lib-document-list-label-config-editor"]], hostAttrs: [1, "lib-document-list-label-config-editor"], hostVars: 2, hostBindings: function DocumentListLabelConfigEditorComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
476
|
-
i0.ɵɵdomProperty("id", ctx.id);
|
|
477
|
-
i0.ɵɵattribute("aria-describedby", ctx.describedBy);
|
|
478
|
-
} }, inputs: { errors: "errors", formInputs: "formInputs", editorConfig: "editorConfig", mapToData: "mapToData", value: "value", disabled: "disabled", required: "required" }, outputs: { valueChange: "valueChange" }, features: [i0.ɵɵProvidersFeature([
|
|
479
|
-
{ provide: MatFormFieldControl, useExisting: DocumentListLabelConfigEditorComponent },
|
|
480
|
-
])], decls: 5, vars: 3, consts: [["auto", "matAutocomplete"], ["cdkDropList", "", 1, "lib-document-list-label-config-editor__list", 3, "cdkDropListDropped", "cdkDropListData"], ["icon", "view_column", "message", "No columns configured. Add one below."], ["appearance", "outlined", 1, "lib-document-list-label-config-editor__form"], ["mat-stroked-button", "", "color", "primary", "type", "button", 1, "lib-document-list-label-config-editor__add", 3, "disabled"], ["cdkDrag", "", "matTooltipPosition", "before", 1, "lib-document-list-label-config-editor__item", 3, "matTooltip", "cdkCopyToClipboard"], ["matListItemIcon", ""], ["matListItemTitle", "", 1, "lib-document-list-label-config-editor__title"], [1, "lib-document-list-label-config-editor__label"], [1, "lib-document-list-label-config-editor__meta"], ["matListItemMeta", "", "mat-icon-button", "", "type", "button", 3, "click", "disabled"], [1, "lib-document-list-label-config-editor__fields"], [1, "lib-document-list-label-config-editor__field-label"], ["type", "text", "placeholder", "Pick one", "aria-label", "Form control name", 1, "lib-document-list-label-config-editor__input", 3, "input", "id", "value", "matAutocomplete"], ["autoActiveFirstOption", "", 3, "optionSelected"], [3, "value"], ["type", "text", "placeholder", "Enter label name", 1, "lib-document-list-label-config-editor__input", 3, "input", "id", "value"], [1, "lib-document-list-label-config-editor__field-label", 3, "id"], [3, "valueChange", "id", "errors", "value", "options"], ["label", "Is hidden", 3, "valueChange", "id", "value", "errors"], [1, "lib-document-list-label-config-editor__actions"], ["mat-flat-button", "", "color", "primary", "type", "button", 3, "click", "disabled"], [1, "lib-document-list-label-config-editor__spacer"], ["mat-button", "", "color", "warn", "type", "button", 3, "click"], [3, "valueChange", "id", "errors", "multiple", "value", "options"], ["mat-stroked-button", "", "color", "primary", "type", "button", 1, "lib-document-list-label-config-editor__add", 3, "click", "disabled"]], template: function DocumentListLabelConfigEditorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
481
|
-
i0.ɵɵelementStart(0, "mat-nav-list", 1);
|
|
482
|
-
i0.ɵɵlistener("cdkDropListDropped", function DocumentListLabelConfigEditorComponent_Template_mat_nav_list_cdkDropListDropped_0_listener($event) { return ctx.drop($event); });
|
|
483
|
-
i0.ɵɵconditionalCreate(1, DocumentListLabelConfigEditorComponent_Conditional_1_Template, 1, 0, "lib-empty-state", 2)(2, DocumentListLabelConfigEditorComponent_Conditional_2_Template, 2, 0);
|
|
484
|
-
i0.ɵɵelementEnd();
|
|
485
|
-
i0.ɵɵconditionalCreate(3, DocumentListLabelConfigEditorComponent_Conditional_3_Template, 23, 19, "mat-card", 3)(4, DocumentListLabelConfigEditorComponent_Conditional_4_Template, 2, 1, "button", 4);
|
|
486
|
-
} if (rf & 2) {
|
|
487
|
-
let tmp_2_0;
|
|
488
|
-
i0.ɵɵproperty("cdkDropListData", ctx.value);
|
|
489
|
-
i0.ɵɵadvance();
|
|
490
|
-
i0.ɵɵconditional(ctx.value.length === 0 ? 1 : 2);
|
|
491
|
-
i0.ɵɵadvance(2);
|
|
492
|
-
i0.ɵɵconditional((tmp_2_0 = ctx.labelInEdit()) ? 3 : 4, tmp_2_0);
|
|
493
|
-
} }, dependencies: [MatListModule, i6.MatNavList, i6.MatListItem, i6.MatListItemIcon, i6.MatListItemTitle, i6.MatListItemMeta, MatTooltipModule, i5.MatTooltip, ClipboardModule, i1.CdkCopyToClipboard, MatSliderToggleEditorComponent,
|
|
494
|
-
MatChipListEditorComponent,
|
|
495
|
-
MatFormFieldModule,
|
|
496
|
-
MatButtonModule, i1$1.MatButton, i1$1.MatIconButton, MatAutocompleteModule, i5$1.MatAutocomplete, i8.MatOption, i5$1.MatAutocompleteTrigger, MatInputModule,
|
|
497
|
-
MatIconModule, i3.MatIcon, MatCardModule, i3$1.MatCard, i3$1.MatCardActions, i3$1.MatCardContent, CdkDropList,
|
|
498
|
-
CdkDrag,
|
|
499
|
-
EmptyStateComponent], styles: ["[_nghost-%COMP%]{display:block;color:var(--lib-forms-on-surface)}.lib-document-list-label-config-editor__list[_ngcontent-%COMP%]{display:block;max-height:25rem;overflow:auto;padding:0}.lib-document-list-label-config-editor__item[_ngcontent-%COMP%]{cursor:grab}.lib-document-list-label-config-editor__item[_ngcontent-%COMP%]:active{cursor:grabbing}.lib-document-list-label-config-editor__title[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;min-width:0}.lib-document-list-label-config-editor__label[_ngcontent-%COMP%]{font-size:.9375rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lib-document-list-label-config-editor__meta[_ngcontent-%COMP%]{font-size:.8125rem;color:var(--lib-forms-on-surface-variant)}.lib-document-list-label-config-editor__meta[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-family:monospace}.lib-document-list-label-config-editor__form[_ngcontent-%COMP%]{margin-top:1.5rem;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)}.lib-document-list-label-config-editor__fields[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.75rem;padding-top:.5rem}.lib-document-list-label-config-editor__field-label[_ngcontent-%COMP%]{display:block;font-size:.625rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--lib-forms-on-surface-variant)}.lib-document-list-label-config-editor__input[_ngcontent-%COMP%]{min-height:2.25rem;padding:.5rem .75rem;border:1px solid var(--lib-forms-outline);border-radius:var(--lib-forms-radius-sm, 8px);background:var(--lib-forms-surface);font-size:.875rem;color:var(--lib-forms-on-surface);transition:border-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing),box-shadow var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing)}.lib-document-list-label-config-editor__input[_ngcontent-%COMP%]:focus{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-document-list-label-config-editor__input[_ngcontent-%COMP%]{width:100%}.lib-document-list-label-config-editor__input[_ngcontent-%COMP%]::placeholder{color:var(--lib-forms-on-surface-variant);opacity:.7}.lib-document-list-label-config-editor__actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.lib-document-list-label-config-editor__spacer[_ngcontent-%COMP%]{flex:1 1 auto}.lib-document-list-label-config-editor__add[_ngcontent-%COMP%]{width:100%;margin-top:1.5rem}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:var(--lib-forms-radius-sm, 8px);box-shadow:var(--lib-forms-shadow-floating)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform var(--lib-forms-duration) var(--lib-forms-easing)}.lib-document-list-label-config-editor__list.cdk-drop-list-dragging[_ngcontent-%COMP%] .lib-document-list-label-config-editor__item[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform var(--lib-forms-duration) var(--lib-forms-easing)}"], changeDetection: 0 }); }
|
|
500
|
-
}
|
|
501
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DocumentListLabelConfigEditorComponent, [{
|
|
502
|
-
type: Component,
|
|
503
|
-
args: [{ selector: 'lib-document-list-label-config-editor', imports: [
|
|
504
|
-
MatListModule,
|
|
505
|
-
MatTooltipModule,
|
|
506
|
-
ClipboardModule,
|
|
507
|
-
MatSliderToggleEditorComponent,
|
|
508
|
-
MatChipListEditorComponent,
|
|
509
|
-
MatFormFieldModule,
|
|
510
|
-
MatButtonModule,
|
|
511
|
-
MatAutocompleteModule,
|
|
512
|
-
MatInputModule,
|
|
513
|
-
MatIconModule,
|
|
514
|
-
MatCardModule,
|
|
515
|
-
CdkDropList,
|
|
516
|
-
CdkDrag,
|
|
517
|
-
EmptyStateComponent,
|
|
518
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, host: {
|
|
519
|
-
'class': 'lib-document-list-label-config-editor',
|
|
520
|
-
'[id]': 'id',
|
|
521
|
-
'[attr.aria-describedby]': 'describedBy',
|
|
522
|
-
}, providers: [
|
|
523
|
-
{ provide: MatFormFieldControl, useExisting: DocumentListLabelConfigEditorComponent },
|
|
524
|
-
], template: "<mat-nav-list\n cdkDropList\n [cdkDropListData]=\"value\"\n (cdkDropListDropped)=\"drop($event)\"\n class=\"lib-document-list-label-config-editor__list\"\n>\n @if (value.length === 0) {\n <lib-empty-state\n icon=\"view_column\"\n message=\"No columns configured. Add one below.\"\n ></lib-empty-state>\n } @else {\n @for (label of value; track label.formControlName+'-'+$index) {\n <mat-list-item\n cdkDrag\n class=\"lib-document-list-label-config-editor__item\"\n [matTooltip]=\"'Click to copy ' + label.formControlName\"\n [cdkCopyToClipboard]=\"label.formControlName\"\n matTooltipPosition=\"before\"\n >\n <mat-icon matListItemIcon>view_column</mat-icon>\n\n <div matListItemTitle class=\"lib-document-list-label-config-editor__title\">\n <span class=\"lib-document-list-label-config-editor__label\">{{ label.label }}</span>\n <span class=\"lib-document-list-label-config-editor__meta\">\n <code>{{ label.formControlName }}</code> \u00B7 {{ label.valueType }}\n </span>\n </div>\n\n <button\n matListItemMeta\n mat-icon-button\n type=\"button\"\n [disabled]=\"disabled\"\n [attr.aria-label]=\"'Remove ' + label.label\"\n (click)=\"removeLabel(label)\"\n >\n <mat-icon>delete</mat-icon>\n </button>\n </mat-list-item>\n }\n }\n</mat-nav-list>\n\n@if (labelInEdit(); as draft) {\n <mat-card appearance=\"outlined\" class=\"lib-document-list-label-config-editor__form\">\n <mat-card-content class=\"lib-document-list-label-config-editor__fields\">\n <label class=\"lib-document-list-label-config-editor__field-label\" [attr.for]=\"id + '-fcn'\">\n Form control name\n </label>\n <input\n class=\"lib-document-list-label-config-editor__input\"\n type=\"text\"\n [id]=\"id + '-fcn'\"\n placeholder=\"Pick one\"\n aria-label=\"Form control name\"\n [value]=\"draft.formControlName || ''\"\n (input)=\"formControlNameChange($event)\"\n [matAutocomplete]=\"auto\"\n />\n <mat-autocomplete\n #auto=\"matAutocomplete\"\n autoActiveFirstOption\n (optionSelected)=\"formControlSelected($event)\"\n >\n @for (option of filteredControlNames(); track option) {\n <mat-option [value]=\"option\">{{ option }}</mat-option>\n }\n </mat-autocomplete>\n\n <label class=\"lib-document-list-label-config-editor__field-label\" [attr.for]=\"id + '-name'\">\n Name\n </label>\n <input\n class=\"lib-document-list-label-config-editor__input\"\n type=\"text\"\n [id]=\"id + '-name'\"\n placeholder=\"Enter label name\"\n [value]=\"draft.label || ''\"\n (input)=\"nameChange($event)\"\n />\n\n <label class=\"lib-document-list-label-config-editor__field-label\" [id]=\"id + '-vt-label'\">\n Value type\n </label>\n <lib-mat-chip-list-editor\n [id]=\"id + '-vt'\"\n [errors]=\"[]\"\n [value]=\"draft.valueType\"\n [options]=\"valueTypes\"\n (valueChange)=\"valueTypeChanged($event)\"\n ></lib-mat-chip-list-editor>\n\n @if (reportTypes(); as types) {\n @if (types.length > 0) {\n <label class=\"lib-document-list-label-config-editor__field-label\" [id]=\"id + '-rt-label'\">\n Report types\n </label>\n <lib-mat-chip-list-editor\n [id]=\"id + '-rt'\"\n [errors]=\"[]\"\n [multiple]=\"true\"\n [value]=\"draft.reportType\"\n [options]=\"types\"\n (valueChange)=\"reportTypeChanged($event)\"\n ></lib-mat-chip-list-editor>\n }\n }\n\n <lib-mat-slider-toggle-editor\n [id]=\"id + '-hidden'\"\n label=\"Is hidden\"\n [value]=\"draft.isHidden || false\"\n [errors]=\"[]\"\n (valueChange)=\"isHiddenChanged(!!$event)\"\n ></lib-mat-slider-toggle-editor>\n </mat-card-content>\n\n <mat-card-actions class=\"lib-document-list-label-config-editor__actions\">\n <button\n mat-flat-button\n color=\"primary\"\n type=\"button\"\n [disabled]=\"labelSaveDisabled()\"\n (click)=\"saveHeader()\"\n >\n Save header\n </button>\n <span class=\"lib-document-list-label-config-editor__spacer\"></span>\n <button mat-button color=\"warn\" type=\"button\" (click)=\"cancelEdit()\">Cancel</button>\n </mat-card-actions>\n </mat-card>\n} @else {\n <button\n mat-stroked-button\n color=\"primary\"\n type=\"button\"\n class=\"lib-document-list-label-config-editor__add\"\n [disabled]=\"disabled\"\n (click)=\"startNewLabel()\"\n >\n Add new column\n </button>\n}\n", styles: [":host{display:block;color:var(--lib-forms-on-surface)}.lib-document-list-label-config-editor__list{display:block;max-height:25rem;overflow:auto;padding:0}.lib-document-list-label-config-editor__item{cursor:grab}.lib-document-list-label-config-editor__item:active{cursor:grabbing}.lib-document-list-label-config-editor__title{display:flex;flex-direction:column;gap:.25rem;min-width:0}.lib-document-list-label-config-editor__label{font-size:.9375rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lib-document-list-label-config-editor__meta{font-size:.8125rem;color:var(--lib-forms-on-surface-variant)}.lib-document-list-label-config-editor__meta code{font-family:monospace}.lib-document-list-label-config-editor__form{margin-top:1.5rem;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)}.lib-document-list-label-config-editor__fields{display:flex;flex-direction:column;gap:.75rem;padding-top:.5rem}.lib-document-list-label-config-editor__field-label{display:block;font-size:.625rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--lib-forms-on-surface-variant)}.lib-document-list-label-config-editor__input{min-height:2.25rem;padding:.5rem .75rem;border:1px solid var(--lib-forms-outline);border-radius:var(--lib-forms-radius-sm, 8px);background:var(--lib-forms-surface);font-size:.875rem;color:var(--lib-forms-on-surface);transition:border-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing),box-shadow var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing)}.lib-document-list-label-config-editor__input:focus{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-document-list-label-config-editor__input{width:100%}.lib-document-list-label-config-editor__input::placeholder{color:var(--lib-forms-on-surface-variant);opacity:.7}.lib-document-list-label-config-editor__actions{display:flex;align-items:center;gap:.5rem}.lib-document-list-label-config-editor__spacer{flex:1 1 auto}.lib-document-list-label-config-editor__add{width:100%;margin-top:1.5rem}.cdk-drag-preview{box-sizing:border-box;border-radius:var(--lib-forms-radius-sm, 8px);box-shadow:var(--lib-forms-shadow-floating)}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform var(--lib-forms-duration) var(--lib-forms-easing)}.lib-document-list-label-config-editor__list.cdk-drop-list-dragging .lib-document-list-label-config-editor__item:not(.cdk-drag-placeholder){transition:transform var(--lib-forms-duration) var(--lib-forms-easing)}\n"] }]
|
|
525
|
-
}], null, { errors: [{
|
|
526
|
-
type: Input
|
|
527
|
-
}], formInputs: [{
|
|
528
|
-
type: Input
|
|
529
|
-
}], editorConfig: [{
|
|
530
|
-
type: Input
|
|
531
|
-
}], mapToData: [{
|
|
532
|
-
type: Input
|
|
533
|
-
}], valueChange: [{ type: i0.Output, args: ["valueChange"] }], value: [{
|
|
534
|
-
type: Input
|
|
535
|
-
}], disabled: [{
|
|
536
|
-
type: Input
|
|
537
|
-
}], required: [{
|
|
538
|
-
type: Input
|
|
539
|
-
}] }); })();
|
|
540
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DocumentListLabelConfigEditorComponent, { className: "DocumentListLabelConfigEditorComponent", filePath: "lib/components/t-dynamic-data-edit/elements/document-list-label-config-editor/document-list-label-config-editor.component.ts", lineNumber: 124 }); })();
|
|
541
|
-
|
|
542
|
-
export { DocumentListLabelConfigEditorComponent };
|
|
543
|
-
//# sourceMappingURL=ngx-t-forms-document-list-label-config-editor.component-C5T_DK6w.mjs.map
|