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,231 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, ElementRef, input, ChangeDetectionStrategy, Component, output, computed } from '@angular/core';
|
|
3
|
-
import * as i1 from '@angular/forms';
|
|
4
|
-
import { NgControl, ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
import { provideNativeDateAdapter } from '@angular/material/core';
|
|
6
|
-
import * as i2$1 from '@angular/material/form-field';
|
|
7
|
-
import { MatFormFieldModule, MatFormFieldControl } from '@angular/material/form-field';
|
|
8
|
-
import * as i6 from '@angular/material/datepicker';
|
|
9
|
-
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
10
|
-
import * as i3 from '@angular/material/icon';
|
|
11
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
12
|
-
import * as i1$1 from '@angular/material/button';
|
|
13
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
14
|
-
import * as i5 from '@angular/material/tooltip';
|
|
15
|
-
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
16
|
-
import { B as BaseCustomInput, q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs';
|
|
17
|
-
import * as i2 from '@angular/material/input';
|
|
18
|
-
import { MatInputModule } from '@angular/material/input';
|
|
19
|
-
|
|
20
|
-
const customInputConfig = {
|
|
21
|
-
controlType: 'lib-auto-complet-reactive-input',
|
|
22
|
-
nextId: 0
|
|
23
|
-
};
|
|
24
|
-
class DatePickerReactiveInputComponent extends BaseCustomInput {
|
|
25
|
-
constructor() {
|
|
26
|
-
super(inject(NgControl, { optional: true, self: true }), inject(ElementRef), customInputConfig);
|
|
27
|
-
this.picker = input.required(...(ngDevMode ? [{ debugName: "picker" }] : /* istanbul ignore next */ []));
|
|
28
|
-
this.inputConfig = input.required(...(ngDevMode ? [{ debugName: "inputConfig" }] : /* istanbul ignore next */ []));
|
|
29
|
-
}
|
|
30
|
-
get empty() {
|
|
31
|
-
const n = this.value;
|
|
32
|
-
// Check for null, undefined, or empty string, but allow 0
|
|
33
|
-
return n === null || n === undefined || n === '';
|
|
34
|
-
}
|
|
35
|
-
get shouldLabelFloat() {
|
|
36
|
-
return true;
|
|
37
|
-
}
|
|
38
|
-
changed(event) {
|
|
39
|
-
this.value = event.value;
|
|
40
|
-
this.stateChanges.next();
|
|
41
|
-
this.onChange(this.value);
|
|
42
|
-
}
|
|
43
|
-
static { this.ɵfac = function DatePickerReactiveInputComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DatePickerReactiveInputComponent)(); }; }
|
|
44
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatePickerReactiveInputComponent, selectors: [["lib-date-picker-reactive-input"]], hostVars: 3, hostBindings: function DatePickerReactiveInputComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
45
|
-
i0.ɵɵdomProperty("id", ctx.id);
|
|
46
|
-
i0.ɵɵclassProp("floating", ctx.shouldLabelFloat);
|
|
47
|
-
} }, inputs: { picker: [1, "picker"], inputConfig: [1, "inputConfig"] }, features: [i0.ɵɵProvidersFeature([{ provide: MatFormFieldControl, useExisting: DatePickerReactiveInputComponent }]), i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 6, consts: [["matInput", "", 3, "dateChange", "required", "disabled", "min", "value", "max", "matDatepicker"]], template: function DatePickerReactiveInputComponent_Template(rf, ctx) { if (rf & 1) {
|
|
48
|
-
i0.ɵɵelementStart(0, "input", 0);
|
|
49
|
-
i0.ɵɵlistener("dateChange", function DatePickerReactiveInputComponent_Template_input_dateChange_0_listener($event) { return ctx.changed($event); });
|
|
50
|
-
i0.ɵɵelementEnd();
|
|
51
|
-
} if (rf & 2) {
|
|
52
|
-
i0.ɵɵproperty("required", ctx.inputConfig().required)("disabled", ctx.inputConfig().disabled || ctx.inputConfig().readonly)("min", ctx.inputConfig().min)("value", ctx.value)("max", ctx.inputConfig().max)("matDatepicker", ctx.picker());
|
|
53
|
-
} }, dependencies: [MatDatepickerModule, i6.MatDatepickerInput, MatFormFieldModule,
|
|
54
|
-
MatInputModule, i2.MatInput, ReactiveFormsModule], encapsulation: 2, changeDetection: 0 }); }
|
|
55
|
-
}
|
|
56
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatePickerReactiveInputComponent, [{
|
|
57
|
-
type: Component,
|
|
58
|
-
args: [{ selector: 'lib-date-picker-reactive-input', imports: [
|
|
59
|
-
MatDatepickerModule,
|
|
60
|
-
MatFormFieldModule,
|
|
61
|
-
MatInputModule,
|
|
62
|
-
ReactiveFormsModule
|
|
63
|
-
], host: {
|
|
64
|
-
'[class.floating]': 'shouldLabelFloat',
|
|
65
|
-
'[id]': 'id',
|
|
66
|
-
}, providers: [{ provide: MatFormFieldControl, useExisting: DatePickerReactiveInputComponent }], changeDetection: ChangeDetectionStrategy.OnPush, template: "<input\r\n[required]=\"inputConfig().required\"\r\n[disabled]=\"inputConfig().disabled || inputConfig().readonly\"\r\n[min]=\"inputConfig().min\"\r\n(dateChange)=\"changed($event)\"\r\n[value]=\"value\"\r\n[max]=\"inputConfig().max\" matInput\r\n[matDatepicker]=\"picker()\" />\r\n" }]
|
|
67
|
-
}], () => [], { picker: [{ type: i0.Input, args: [{ isSignal: true, alias: "picker", required: true }] }], inputConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputConfig", required: true }] }] }); })();
|
|
68
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DatePickerReactiveInputComponent, { className: "DatePickerReactiveInputComponent", filePath: "lib/components/t-form-input/elements/date-picker-input-element/core/date-picker-reactive-input/date-picker-reactive-input.component.ts", lineNumber: 32 }); })();
|
|
69
|
-
|
|
70
|
-
function DatePickerInputElementComponent_Conditional_1_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
71
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
|
72
|
-
i0.ɵɵelementStart(0, "button", 16);
|
|
73
|
-
i0.ɵɵlistener("click", function DatePickerInputElementComponent_Conditional_1_Conditional_12_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const inputConfig_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(inputConfig_r2.canReload.emit()); });
|
|
74
|
-
i0.ɵɵelementStart(1, "mat-icon", 17);
|
|
75
|
-
i0.ɵɵtext(2, "sync");
|
|
76
|
-
i0.ɵɵelementEnd()();
|
|
77
|
-
} }
|
|
78
|
-
function DatePickerInputElementComponent_Conditional_1_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
79
|
-
i0.ɵɵelementStart(0, "mat-hint", 9);
|
|
80
|
-
i0.ɵɵtext(1);
|
|
81
|
-
i0.ɵɵelementEnd();
|
|
82
|
-
} if (rf & 2) {
|
|
83
|
-
const inputConfig_r2 = i0.ɵɵnextContext();
|
|
84
|
-
i0.ɵɵadvance();
|
|
85
|
-
i0.ɵɵtextInterpolate1(" ", inputConfig_r2.temporaryHint || inputConfig_r2.hintLabel, " ");
|
|
86
|
-
} }
|
|
87
|
-
function DatePickerInputElementComponent_Conditional_1_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
88
|
-
i0.ɵɵelementStart(0, "mat-error", 10);
|
|
89
|
-
i0.ɵɵtext(1);
|
|
90
|
-
i0.ɵɵelementEnd();
|
|
91
|
-
} if (rf & 2) {
|
|
92
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
93
|
-
i0.ɵɵadvance();
|
|
94
|
-
i0.ɵɵtextInterpolate(ctx_r2.errorMessage());
|
|
95
|
-
} }
|
|
96
|
-
function DatePickerInputElementComponent_Conditional_1_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
97
|
-
i0.ɵɵelementStart(0, "mat-icon", 11);
|
|
98
|
-
i0.ɵɵtext(1);
|
|
99
|
-
i0.ɵɵelementEnd();
|
|
100
|
-
} if (rf & 2) {
|
|
101
|
-
const inputConfig_r2 = i0.ɵɵnextContext();
|
|
102
|
-
i0.ɵɵadvance();
|
|
103
|
-
i0.ɵɵtextInterpolate(inputConfig_r2.prefixIcon);
|
|
104
|
-
} }
|
|
105
|
-
function DatePickerInputElementComponent_Conditional_1_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
106
|
-
i0.ɵɵelementStart(0, "mat-icon", 12);
|
|
107
|
-
i0.ɵɵtext(1);
|
|
108
|
-
i0.ɵɵelementEnd();
|
|
109
|
-
} if (rf & 2) {
|
|
110
|
-
const inputConfig_r2 = i0.ɵɵnextContext();
|
|
111
|
-
i0.ɵɵadvance();
|
|
112
|
-
i0.ɵɵtextInterpolate(inputConfig_r2.suffixIcon);
|
|
113
|
-
} }
|
|
114
|
-
function DatePickerInputElementComponent_Conditional_1_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
115
|
-
i0.ɵɵelementStart(0, "span", 13);
|
|
116
|
-
i0.ɵɵtext(1);
|
|
117
|
-
i0.ɵɵelementEnd();
|
|
118
|
-
} if (rf & 2) {
|
|
119
|
-
const inputConfig_r2 = i0.ɵɵnextContext();
|
|
120
|
-
i0.ɵɵadvance();
|
|
121
|
-
i0.ɵɵtextInterpolate(inputConfig_r2.prefixText);
|
|
122
|
-
} }
|
|
123
|
-
function DatePickerInputElementComponent_Conditional_1_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
124
|
-
i0.ɵɵelementStart(0, "span", 14);
|
|
125
|
-
i0.ɵɵtext(1);
|
|
126
|
-
i0.ɵɵelementEnd();
|
|
127
|
-
} if (rf & 2) {
|
|
128
|
-
const inputConfig_r2 = i0.ɵɵnextContext();
|
|
129
|
-
i0.ɵɵadvance();
|
|
130
|
-
i0.ɵɵtextInterpolate(inputConfig_r2.suffixText);
|
|
131
|
-
} }
|
|
132
|
-
function DatePickerInputElementComponent_Conditional_1_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
133
|
-
i0.ɵɵelementStart(0, "mat-hint", 15);
|
|
134
|
-
i0.ɵɵtext(1);
|
|
135
|
-
i0.ɵɵelementEnd();
|
|
136
|
-
} if (rf & 2) {
|
|
137
|
-
let tmp_4_0;
|
|
138
|
-
const inputConfig_r2 = i0.ɵɵnextContext();
|
|
139
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
140
|
-
i0.ɵɵadvance();
|
|
141
|
-
i0.ɵɵtextInterpolate1(" ", (((tmp_4_0 = ctx_r2.formGroup().controls[inputConfig_r2.id]) == null ? null : tmp_4_0.value == null ? null : tmp_4_0.value.length) || 0) + "/" + inputConfig_r2.maxLength, " ");
|
|
142
|
-
} }
|
|
143
|
-
function DatePickerInputElementComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
144
|
-
i0.ɵɵelementStart(0, "mat-form-field", 2)(1, "mat-label");
|
|
145
|
-
i0.ɵɵtext(2);
|
|
146
|
-
i0.ɵɵelement(3, "lib-t-form-input-status", 3);
|
|
147
|
-
i0.ɵɵelementEnd();
|
|
148
|
-
i0.ɵɵelement(4, "lib-date-picker-reactive-input", 4)(5, "mat-datepicker-toggle", 5);
|
|
149
|
-
i0.ɵɵelementStart(6, "mat-datepicker", null, 0)(8, "button", 6);
|
|
150
|
-
i0.ɵɵtext(9, "Cancel");
|
|
151
|
-
i0.ɵɵelementEnd();
|
|
152
|
-
i0.ɵɵelementStart(10, "button", 7);
|
|
153
|
-
i0.ɵɵtext(11, "Apply");
|
|
154
|
-
i0.ɵɵelementEnd()();
|
|
155
|
-
i0.ɵɵconditionalCreate(12, DatePickerInputElementComponent_Conditional_1_Conditional_12_Template, 3, 0, "button", 8);
|
|
156
|
-
i0.ɵɵconditionalCreate(13, DatePickerInputElementComponent_Conditional_1_Conditional_13_Template, 2, 1, "mat-hint", 9);
|
|
157
|
-
i0.ɵɵconditionalCreate(14, DatePickerInputElementComponent_Conditional_1_Conditional_14_Template, 2, 1, "mat-error", 10);
|
|
158
|
-
i0.ɵɵconditionalCreate(15, DatePickerInputElementComponent_Conditional_1_Conditional_15_Template, 2, 1, "mat-icon", 11);
|
|
159
|
-
i0.ɵɵconditionalCreate(16, DatePickerInputElementComponent_Conditional_1_Conditional_16_Template, 2, 1, "mat-icon", 12);
|
|
160
|
-
i0.ɵɵconditionalCreate(17, DatePickerInputElementComponent_Conditional_1_Conditional_17_Template, 2, 1, "span", 13);
|
|
161
|
-
i0.ɵɵconditionalCreate(18, DatePickerInputElementComponent_Conditional_1_Conditional_18_Template, 2, 1, "span", 14);
|
|
162
|
-
i0.ɵɵconditionalCreate(19, DatePickerInputElementComponent_Conditional_1_Conditional_19_Template, 2, 1, "mat-hint", 15);
|
|
163
|
-
i0.ɵɵelementEnd();
|
|
164
|
-
} if (rf & 2) {
|
|
165
|
-
const inputConfig_r2 = ctx;
|
|
166
|
-
const picker_r4 = i0.ɵɵreference(7);
|
|
167
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
168
|
-
i0.ɵɵproperty("appearance", inputConfig_r2.appearance || "fill");
|
|
169
|
-
i0.ɵɵadvance(2);
|
|
170
|
-
i0.ɵɵtextInterpolate1(" ", inputConfig_r2.label, " ");
|
|
171
|
-
i0.ɵɵadvance();
|
|
172
|
-
i0.ɵɵproperty("inputConfig", inputConfig_r2);
|
|
173
|
-
i0.ɵɵadvance();
|
|
174
|
-
i0.ɵɵproperty("inputConfig", inputConfig_r2)("required", inputConfig_r2.required)("formControlName", inputConfig_r2.id)("picker", picker_r4);
|
|
175
|
-
i0.ɵɵadvance();
|
|
176
|
-
i0.ɵɵproperty("for", picker_r4);
|
|
177
|
-
i0.ɵɵadvance(7);
|
|
178
|
-
i0.ɵɵconditional((inputConfig_r2.canReload == null ? null : inputConfig_r2.canReload.canReload) ? 12 : -1);
|
|
179
|
-
i0.ɵɵadvance();
|
|
180
|
-
i0.ɵɵconditional(inputConfig_r2.hintLabel || inputConfig_r2.temporaryHint ? 13 : -1);
|
|
181
|
-
i0.ɵɵadvance();
|
|
182
|
-
i0.ɵɵconditional(!!ctx_r2.errorMessage() ? 14 : -1);
|
|
183
|
-
i0.ɵɵadvance();
|
|
184
|
-
i0.ɵɵconditional(inputConfig_r2.prefixIcon ? 15 : -1);
|
|
185
|
-
i0.ɵɵadvance();
|
|
186
|
-
i0.ɵɵconditional(inputConfig_r2.suffixIcon ? 16 : -1);
|
|
187
|
-
i0.ɵɵadvance();
|
|
188
|
-
i0.ɵɵconditional(inputConfig_r2.prefixText ? 17 : -1);
|
|
189
|
-
i0.ɵɵadvance();
|
|
190
|
-
i0.ɵɵconditional(inputConfig_r2.suffixText ? 18 : -1);
|
|
191
|
-
i0.ɵɵadvance();
|
|
192
|
-
i0.ɵɵconditional(inputConfig_r2.maxLength && ctx_r2.formGroup() ? 19 : -1);
|
|
193
|
-
} }
|
|
194
|
-
/** Wraps a reactive date-picker control inside a `mat-form-field`. */
|
|
195
|
-
class DatePickerInputElementComponent {
|
|
196
|
-
constructor() {
|
|
197
|
-
this.inputConfig = input.required(...(ngDevMode ? [{ debugName: "inputConfig" }] : /* istanbul ignore next */ []));
|
|
198
|
-
this.formGroup = input.required(...(ngDevMode ? [{ debugName: "formGroup" }] : /* istanbul ignore next */ []));
|
|
199
|
-
this.reload = output();
|
|
200
|
-
this.errorMessage = computed(() => getInputErrorMessage(this.inputConfig(), this.formGroup()), ...(ngDevMode ? [{ debugName: "errorMessage" }] : /* istanbul ignore next */ []));
|
|
201
|
-
}
|
|
202
|
-
static { this.ɵfac = function DatePickerInputElementComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DatePickerInputElementComponent)(); }; }
|
|
203
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatePickerInputElementComponent, selectors: [["lib-date-picker-input-element"]], inputs: { inputConfig: [1, "inputConfig"], formGroup: [1, "formGroup"] }, outputs: { reload: "reload" }, features: [i0.ɵɵProvidersFeature([provideNativeDateAdapter()])], decls: 2, vars: 2, consts: [["picker", ""], [3, "formGroup"], ["subscriptSizing", "dynamic", 3, "appearance"], [3, "inputConfig"], [3, "inputConfig", "required", "formControlName", "picker"], ["matIconSuffix", "", 3, "for"], ["mat-button", "", "matDatepickerCancel", ""], ["mat-raised-button", "", "color", "primary", "matDatepickerApply", ""], ["mat-icon-button", "", "matTooltip", "Click to refresh this field.", "matSuffix", "", 1, "input-sync-button", 2, "margin-right", "4px"], [1, "inputHint"], ["matTooltipClass", "errorToolTip", 1, "oneLineTextEllipsis"], ["matPrefix", ""], ["matSuffix", ""], ["matPrefix", "", 2, "top", "0"], ["matSuffix", "", 2, "padding-left", "5px"], ["align", "end"], ["mat-icon-button", "", "matTooltip", "Click to refresh this field.", "matSuffix", "", 1, "input-sync-button", 2, "margin-right", "4px", 3, "click"], [2, "color", "var(--mat-sys-primary)"]], template: function DatePickerInputElementComponent_Template(rf, ctx) { if (rf & 1) {
|
|
204
|
-
i0.ɵɵelementStart(0, "form", 1);
|
|
205
|
-
i0.ɵɵconditionalCreate(1, DatePickerInputElementComponent_Conditional_1_Template, 20, 16, "mat-form-field", 2);
|
|
206
|
-
i0.ɵɵelementEnd();
|
|
207
|
-
} if (rf & 2) {
|
|
208
|
-
let tmp_1_0;
|
|
209
|
-
i0.ɵɵproperty("formGroup", ctx.formGroup());
|
|
210
|
-
i0.ɵɵadvance();
|
|
211
|
-
i0.ɵɵconditional((tmp_1_0 = ctx.inputConfig()) ? 1 : -1, tmp_1_0);
|
|
212
|
-
} }, dependencies: [ReactiveFormsModule, i1.ɵNgNoValidate, i1.NgControlStatus, i1.NgControlStatusGroup, i1.RequiredValidator, i1.FormGroupDirective, i1.FormControlName, MatFormFieldModule, i2$1.MatFormField, i2$1.MatLabel, i2$1.MatHint, i2$1.MatError, i2$1.MatPrefix, i2$1.MatSuffix, MatIconModule, i3.MatIcon, MatButtonModule, i1$1.MatButton, i1$1.MatIconButton, MatTooltipModule, i5.MatTooltip, MatDatepickerModule, i6.MatDatepicker, i6.MatDatepickerToggle, i6.MatDatepickerCancel, i6.MatDatepickerApply, TFormInputStatusComponent,
|
|
213
|
-
DatePickerReactiveInputComponent], styles: ["mat-form-field[_ngcontent-%COMP%]{width:100%!important}mat-form-field[_ngcontent-%COMP%] .input-sync-button[_ngcontent-%COMP%]{display:none}mat-form-field[_ngcontent-%COMP%]:hover .input-sync-button[_ngcontent-%COMP%]{display:inline-block}"], changeDetection: 0 }); }
|
|
214
|
-
}
|
|
215
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatePickerInputElementComponent, [{
|
|
216
|
-
type: Component,
|
|
217
|
-
args: [{ selector: 'lib-date-picker-input-element', changeDetection: ChangeDetectionStrategy.OnPush, providers: [provideNativeDateAdapter()], imports: [
|
|
218
|
-
ReactiveFormsModule,
|
|
219
|
-
MatFormFieldModule,
|
|
220
|
-
MatIconModule,
|
|
221
|
-
MatButtonModule,
|
|
222
|
-
MatTooltipModule,
|
|
223
|
-
MatDatepickerModule,
|
|
224
|
-
TFormInputStatusComponent,
|
|
225
|
-
DatePickerReactiveInputComponent,
|
|
226
|
-
], template: "<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-picker-reactive-input\r\n [inputConfig]=\"inputConfig\"\r\n [required]=\"inputConfig.required\"\r\n [formControlName]=\"inputConfig.id\"\r\n [picker]=\"picker\"\r\n ></lib-date-picker-reactive-input>\r\n\r\n <mat-datepicker-toggle matIconSuffix [for]=\"picker\"></mat-datepicker-toggle>\r\n <mat-datepicker #picker>\r\n <button mat-button matDatepickerCancel>Cancel</button>\r\n <button mat-raised-button color=\"primary\" matDatepickerApply>Apply</button>\r\n </mat-datepicker>\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.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint 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.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon) {\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 align=\"end\">\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", styles: ["mat-form-field{width:100%!important}mat-form-field .input-sync-button{display:none}mat-form-field:hover .input-sync-button{display:inline-block}\n"] }]
|
|
227
|
-
}], null, { inputConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputConfig", required: true }] }], formGroup: [{ type: i0.Input, args: [{ isSignal: true, alias: "formGroup", required: true }] }], reload: [{ type: i0.Output, args: ["reload"] }] }); })();
|
|
228
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DatePickerInputElementComponent, { className: "DatePickerInputElementComponent", filePath: "lib/components/t-form-input/elements/date-picker-input-element/date-picker-input-element.component.ts", lineNumber: 32 }); })();
|
|
229
|
-
|
|
230
|
-
export { DatePickerInputElementComponent };
|
|
231
|
-
//# sourceMappingURL=ngx-t-forms-date-picker-input-element.component-D9BOhV6g.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-t-forms-date-picker-input-element.component-D9BOhV6g.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/date-picker-input-element/core/date-picker-reactive-input/date-picker-reactive-input.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/date-picker-input-element/core/date-picker-reactive-input/date-picker-reactive-input.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/date-picker-input-element/date-picker-input-element.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/date-picker-input-element/date-picker-input-element.component.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, inject, input } from '@angular/core';\r\nimport { MatFormFieldControl } from '@angular/material/form-field';\r\nimport { BaseCustomInput, BaseCustomInputConfig } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';\r\nimport { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { NgControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatDatepicker, MatDatepickerInputEvent, MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatInputModule } from '@angular/material/input';\r\n\r\nconst customInputConfig: BaseCustomInputConfig = {\r\n controlType: 'lib-auto-complet-reactive-input',\r\n nextId: 0\r\n};\r\n\r\n@Component({\r\n selector: 'lib-date-picker-reactive-input',\r\n imports: [\r\n MatDatepickerModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n ReactiveFormsModule\r\n ],\r\n host: {\r\n '[class.floating]': 'shouldLabelFloat',\r\n '[id]': 'id',\r\n },\r\n providers: [{ provide: MatFormFieldControl, useExisting: DatePickerReactiveInputComponent }],\r\n templateUrl: './date-picker-reactive-input.component.html',\r\n styleUrl: './date-picker-reactive-input.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class DatePickerReactiveInputComponent extends BaseCustomInput<Date> {\r\n readonly picker = input.required<MatDatepicker<unknown>>();\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n\r\n constructor() {\r\n super(\r\n inject(NgControl, { optional: true, self: true }) as NgControl,\r\n inject<ElementRef<HTMLElement>>(ElementRef),\r\n customInputConfig\r\n );\r\n }\r\n\r\n override get empty(): boolean {\r\n const n = this.value;\r\n // Check for null, undefined, or empty string, but allow 0\r\n return n === null || n === undefined || (n as unknown) === '';\r\n }\r\n\r\n override get shouldLabelFloat(): boolean {\r\n return true;\r\n }\r\n\r\n protected changed(event: MatDatepickerInputEvent<unknown, unknown>): void {\r\n this.value = event.value as Date | null;\r\n this.stateChanges.next();\r\n this.onChange(this.value);\r\n }\r\n}\r\n","<input\r\n[required]=\"inputConfig().required\"\r\n[disabled]=\"inputConfig().disabled || inputConfig().readonly\"\r\n[min]=\"inputConfig().min\"\r\n(dateChange)=\"changed($event)\"\r\n[value]=\"value\"\r\n[max]=\"inputConfig().max\" matInput\r\n[matDatepicker]=\"picker()\" />\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-picker-reactive-input\r\n [inputConfig]=\"inputConfig\"\r\n [required]=\"inputConfig.required\"\r\n [formControlName]=\"inputConfig.id\"\r\n [picker]=\"picker\"\r\n ></lib-date-picker-reactive-input>\r\n\r\n <mat-datepicker-toggle matIconSuffix [for]=\"picker\"></mat-datepicker-toggle>\r\n <mat-datepicker #picker>\r\n <button mat-button matDatepickerCancel>Cancel</button>\r\n <button mat-raised-button color=\"primary\" matDatepickerApply>Apply</button>\r\n </mat-datepicker>\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.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint 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.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon) {\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 align=\"end\">\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 { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\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 { DatePickerReactiveInputComponent } from './core/date-picker-reactive-input/date-picker-reactive-input.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\n\r\n/** Wraps a reactive date-picker control inside a `mat-form-field`. */\r\n@Component({\r\n selector: 'lib-date-picker-input-element',\r\n templateUrl: './date-picker-input-element.component.html',\r\n styleUrl: './date-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 DatePickerReactiveInputComponent,\r\n ],\r\n})\r\nexport class DatePickerInputElementComponent {\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.in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,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, ElementRef, input, computed, ViewEncapsulation, ChangeDetectionStrategy, Component, output } from '@angular/core';
|
|
3
|
-
import * as i1 from '@angular/forms';
|
|
4
|
-
import { NgControl, ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
import { provideNativeDateAdapter } from '@angular/material/core';
|
|
6
|
-
import * as i6 from '@angular/material/datepicker';
|
|
7
|
-
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
8
|
-
import * as i2 from '@angular/material/form-field';
|
|
9
|
-
import { MatFormFieldControl, MatFormFieldModule } from '@angular/material/form-field';
|
|
10
|
-
import * as i3 from '@angular/material/icon';
|
|
11
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
12
|
-
import * as i1$1 from '@angular/material/button';
|
|
13
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
14
|
-
import * as i5 from '@angular/material/tooltip';
|
|
15
|
-
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
16
|
-
import { B as BaseCustomInput, q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs';
|
|
17
|
-
import { MatInputModule } from '@angular/material/input';
|
|
18
|
-
|
|
19
|
-
const customInputConfig = {
|
|
20
|
-
controlType: 'lib-date-range-picker-reactive-input',
|
|
21
|
-
nextId: 0,
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* Inner Material `MatFormFieldControl` host for the date-range-picker reactive
|
|
25
|
-
* input. Owns start/end `FormControl` lookups and the cross-field required
|
|
26
|
-
* validation reconciliation.
|
|
27
|
-
*/
|
|
28
|
-
class DateRangePickerReactiveInputComponent extends BaseCustomInput {
|
|
29
|
-
constructor() {
|
|
30
|
-
super(inject(NgControl, { self: true, optional: true }), inject(ElementRef), customInputConfig);
|
|
31
|
-
/** Column definition used to resolve the start/end `FormControl` names. */
|
|
32
|
-
this.inputConfig = input.required(...(ngDevMode ? [{ debugName: "inputConfig" }] : /* istanbul ignore next */ []));
|
|
33
|
-
this.startDateControl = computed(() => {
|
|
34
|
-
const cfg = this.inputConfig();
|
|
35
|
-
const parent = this.parentFormGroup;
|
|
36
|
-
const ctrl = parent?.controls[`${cfg?.id}.${cfg?.startDateControl}`];
|
|
37
|
-
return ctrl ?? null;
|
|
38
|
-
}, ...(ngDevMode ? [{ debugName: "startDateControl" }] : /* istanbul ignore next */ []));
|
|
39
|
-
this.endDateControl = computed(() => {
|
|
40
|
-
const cfg = this.inputConfig();
|
|
41
|
-
const parent = this.parentFormGroup;
|
|
42
|
-
const ctrl = parent?.controls[`${cfg?.id}.${cfg?.endDateControl}`];
|
|
43
|
-
return ctrl ?? null;
|
|
44
|
-
}, ...(ngDevMode ? [{ debugName: "endDateControl" }] : /* istanbul ignore next */ []));
|
|
45
|
-
}
|
|
46
|
-
get empty() {
|
|
47
|
-
const n = this.value;
|
|
48
|
-
// Check for null, undefined, or empty string, but allow 0
|
|
49
|
-
return n === null || n === undefined || (typeof n === 'string' && n === '');
|
|
50
|
-
}
|
|
51
|
-
get shouldLabelFloat() {
|
|
52
|
-
return true;
|
|
53
|
-
}
|
|
54
|
-
get parentFormGroup() {
|
|
55
|
-
return this.ngControl?.control?.parent ?? null;
|
|
56
|
-
}
|
|
57
|
-
checkValidationsAnErrors() {
|
|
58
|
-
const control = this.ngControl?.control;
|
|
59
|
-
if (!control || !this.touched)
|
|
60
|
-
return;
|
|
61
|
-
const errors = { ...control.errors };
|
|
62
|
-
this.errors = errors;
|
|
63
|
-
const validStartDate = this.startDateControl()?.valid;
|
|
64
|
-
const validEndDate = this.endDateControl()?.valid;
|
|
65
|
-
if (validStartDate && validEndDate && 'required' in errors) {
|
|
66
|
-
const hasOtherErrors = Object.keys(errors).length > 1;
|
|
67
|
-
if (!hasOtherErrors) {
|
|
68
|
-
control.setErrors(null);
|
|
69
|
-
}
|
|
70
|
-
else {
|
|
71
|
-
delete errors['required'];
|
|
72
|
-
control.setErrors(errors);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
else if ((!('required' in errors) && this.required && !validStartDate) ||
|
|
76
|
-
(!('required' in errors) && this.required && !validEndDate)) {
|
|
77
|
-
control.setErrors({ required: true, ...errors });
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
static { this.ɵfac = function DateRangePickerReactiveInputComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DateRangePickerReactiveInputComponent)(); }; }
|
|
81
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DateRangePickerReactiveInputComponent, selectors: [["lib-date-range-picker-reactive-input"]], hostVars: 3, hostBindings: function DateRangePickerReactiveInputComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
82
|
-
i0.ɵɵdomProperty("id", ctx.id);
|
|
83
|
-
i0.ɵɵclassProp("floating", ctx.shouldLabelFloat);
|
|
84
|
-
} }, inputs: { inputConfig: [1, "inputConfig"] }, features: [i0.ɵɵProvidersFeature([
|
|
85
|
-
{ provide: MatFormFieldControl, useExisting: DateRangePickerReactiveInputComponent },
|
|
86
|
-
]), i0.ɵɵInheritDefinitionFeature], decls: 0, vars: 0, template: function DateRangePickerReactiveInputComponent_Template(rf, ctx) { }, dependencies: [ReactiveFormsModule,
|
|
87
|
-
MatDatepickerModule,
|
|
88
|
-
MatInputModule,
|
|
89
|
-
MatIconModule,
|
|
90
|
-
MatButtonModule], encapsulation: 2, changeDetection: 0 }); }
|
|
91
|
-
}
|
|
92
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateRangePickerReactiveInputComponent, [{
|
|
93
|
-
type: Component,
|
|
94
|
-
args: [{ selector: 'lib-date-range-picker-reactive-input', imports: [
|
|
95
|
-
ReactiveFormsModule,
|
|
96
|
-
MatDatepickerModule,
|
|
97
|
-
MatInputModule,
|
|
98
|
-
MatIconModule,
|
|
99
|
-
MatButtonModule,
|
|
100
|
-
], host: {
|
|
101
|
-
'[class.floating]': 'shouldLabelFloat',
|
|
102
|
-
'[id]': 'id',
|
|
103
|
-
}, providers: [
|
|
104
|
-
{ provide: MatFormFieldControl, useExisting: DateRangePickerReactiveInputComponent },
|
|
105
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, template: "" }]
|
|
106
|
-
}], () => [], { inputConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputConfig", required: true }] }] }); })();
|
|
107
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DateRangePickerReactiveInputComponent, { className: "DateRangePickerReactiveInputComponent", filePath: "lib/components/t-form-input/elements/date-range-picker-input-element/core/date-range-picker-reactive-input/date-range-picker-reactive-input.component.ts", lineNumber: 53 }); })();
|
|
108
|
-
|
|
109
|
-
function DateRangePickerInputElementComponent_Conditional_1_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
110
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
|
111
|
-
i0.ɵɵelementStart(0, "input", 18);
|
|
112
|
-
i0.ɵɵlistener("dateChange", function DateRangePickerInputElementComponent_Conditional_1_Conditional_6_Template_input_dateChange_0_listener($event) { i0.ɵɵrestoreView(_r1); const inputConfig_r2 = i0.ɵɵnextContext(); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.dateChanged($event, inputConfig_r2.startDateControl)); });
|
|
113
|
-
i0.ɵɵelementEnd();
|
|
114
|
-
} if (rf & 2) {
|
|
115
|
-
let tmp_8_0;
|
|
116
|
-
const inputConfig_r2 = i0.ɵɵnextContext();
|
|
117
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
118
|
-
i0.ɵɵproperty("disabled", !!(inputConfig_r2.disabled ?? inputConfig_r2.readonly))("formControlName", inputConfig_r2.id + "." + inputConfig_r2.startDateControl)("min", inputConfig_r2.startMinDate)("max", inputConfig_r2.startMaxDate)("value", (tmp_8_0 = ctx_r2.formGroup().controls[inputConfig_r2.id + "." + inputConfig_r2.startDateControl]) == null ? null : tmp_8_0.value);
|
|
119
|
-
} }
|
|
120
|
-
function DateRangePickerInputElementComponent_Conditional_1_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
121
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
|
122
|
-
i0.ɵɵelementStart(0, "input", 19);
|
|
123
|
-
i0.ɵɵlistener("dateChange", function DateRangePickerInputElementComponent_Conditional_1_Conditional_7_Template_input_dateChange_0_listener($event) { i0.ɵɵrestoreView(_r4); const inputConfig_r2 = i0.ɵɵnextContext(); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.dateChanged($event, inputConfig_r2.endDateControl)); });
|
|
124
|
-
i0.ɵɵelementEnd();
|
|
125
|
-
} if (rf & 2) {
|
|
126
|
-
let tmp_6_0;
|
|
127
|
-
const inputConfig_r2 = i0.ɵɵnextContext();
|
|
128
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
129
|
-
i0.ɵɵproperty("disabled", !!(inputConfig_r2.disabled ?? inputConfig_r2.readonly))("formControlName", inputConfig_r2.id + "." + inputConfig_r2.endDateControl)("value", (tmp_6_0 = ctx_r2.formGroup().controls[inputConfig_r2.id + "." + inputConfig_r2.endDateControl]) == null ? null : tmp_6_0.value)("min", inputConfig_r2.endMinDate)("max", inputConfig_r2.endMaxDate);
|
|
130
|
-
} }
|
|
131
|
-
function DateRangePickerInputElementComponent_Conditional_1_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
132
|
-
i0.ɵɵelementStart(0, "mat-hint", 11);
|
|
133
|
-
i0.ɵɵtext(1);
|
|
134
|
-
i0.ɵɵelementEnd();
|
|
135
|
-
} if (rf & 2) {
|
|
136
|
-
const inputConfig_r2 = i0.ɵɵnextContext();
|
|
137
|
-
i0.ɵɵproperty("matTooltip", inputConfig_r2.hintLabel || "");
|
|
138
|
-
i0.ɵɵadvance();
|
|
139
|
-
i0.ɵɵtextInterpolate1(" ", inputConfig_r2.temporaryHint || inputConfig_r2.hintLabel, " ");
|
|
140
|
-
} }
|
|
141
|
-
function DateRangePickerInputElementComponent_Conditional_1_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
142
|
-
i0.ɵɵelementStart(0, "mat-error", 12);
|
|
143
|
-
i0.ɵɵtext(1);
|
|
144
|
-
i0.ɵɵelementEnd();
|
|
145
|
-
} if (rf & 2) {
|
|
146
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
147
|
-
i0.ɵɵadvance();
|
|
148
|
-
i0.ɵɵtextInterpolate(ctx_r2.errorMessage());
|
|
149
|
-
} }
|
|
150
|
-
function DateRangePickerInputElementComponent_Conditional_1_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
151
|
-
const _r5 = i0.ɵɵgetCurrentView();
|
|
152
|
-
i0.ɵɵelementStart(0, "button", 20);
|
|
153
|
-
i0.ɵɵlistener("click", function DateRangePickerInputElementComponent_Conditional_1_Conditional_18_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const inputConfig_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(inputConfig_r2.canReload.emit()); });
|
|
154
|
-
i0.ɵɵelementStart(1, "mat-icon", 21);
|
|
155
|
-
i0.ɵɵtext(2, "sync");
|
|
156
|
-
i0.ɵɵelementEnd()();
|
|
157
|
-
} }
|
|
158
|
-
function DateRangePickerInputElementComponent_Conditional_1_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
159
|
-
i0.ɵɵelementStart(0, "mat-icon", 14);
|
|
160
|
-
i0.ɵɵtext(1);
|
|
161
|
-
i0.ɵɵelementEnd();
|
|
162
|
-
} if (rf & 2) {
|
|
163
|
-
const inputConfig_r2 = i0.ɵɵnextContext();
|
|
164
|
-
i0.ɵɵadvance();
|
|
165
|
-
i0.ɵɵtextInterpolate(inputConfig_r2.prefixIcon);
|
|
166
|
-
} }
|
|
167
|
-
function DateRangePickerInputElementComponent_Conditional_1_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|
|
168
|
-
i0.ɵɵelementStart(0, "mat-icon", 15);
|
|
169
|
-
i0.ɵɵtext(1);
|
|
170
|
-
i0.ɵɵelementEnd();
|
|
171
|
-
} if (rf & 2) {
|
|
172
|
-
const inputConfig_r2 = i0.ɵɵnextContext();
|
|
173
|
-
i0.ɵɵadvance();
|
|
174
|
-
i0.ɵɵtextInterpolate(inputConfig_r2.suffixIcon);
|
|
175
|
-
} }
|
|
176
|
-
function DateRangePickerInputElementComponent_Conditional_1_Conditional_21_Template(rf, ctx) { if (rf & 1) {
|
|
177
|
-
i0.ɵɵelementStart(0, "span", 16);
|
|
178
|
-
i0.ɵɵtext(1);
|
|
179
|
-
i0.ɵɵelementEnd();
|
|
180
|
-
} if (rf & 2) {
|
|
181
|
-
const inputConfig_r2 = i0.ɵɵnextContext();
|
|
182
|
-
i0.ɵɵadvance();
|
|
183
|
-
i0.ɵɵtextInterpolate(inputConfig_r2.prefixText);
|
|
184
|
-
} }
|
|
185
|
-
function DateRangePickerInputElementComponent_Conditional_1_Conditional_22_Template(rf, ctx) { if (rf & 1) {
|
|
186
|
-
i0.ɵɵelementStart(0, "span", 17);
|
|
187
|
-
i0.ɵɵtext(1);
|
|
188
|
-
i0.ɵɵelementEnd();
|
|
189
|
-
} if (rf & 2) {
|
|
190
|
-
const inputConfig_r2 = i0.ɵɵnextContext();
|
|
191
|
-
i0.ɵɵadvance();
|
|
192
|
-
i0.ɵɵtextInterpolate(inputConfig_r2.suffixText);
|
|
193
|
-
} }
|
|
194
|
-
function DateRangePickerInputElementComponent_Conditional_1_Conditional_23_Template(rf, ctx) { if (rf & 1) {
|
|
195
|
-
i0.ɵɵelementStart(0, "mat-hint");
|
|
196
|
-
i0.ɵɵtext(1);
|
|
197
|
-
i0.ɵɵelementEnd();
|
|
198
|
-
} if (rf & 2) {
|
|
199
|
-
let tmp_4_0;
|
|
200
|
-
const inputConfig_r2 = i0.ɵɵnextContext();
|
|
201
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
202
|
-
i0.ɵɵadvance();
|
|
203
|
-
i0.ɵɵtextInterpolate1(" ", (((tmp_4_0 = ctx_r2.formGroup().controls[inputConfig_r2.id]) == null ? null : tmp_4_0.value == null ? null : tmp_4_0.value.length) || 0) + "/" + inputConfig_r2.maxLength, " ");
|
|
204
|
-
} }
|
|
205
|
-
function DateRangePickerInputElementComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
206
|
-
i0.ɵɵelementStart(0, "mat-form-field", 2)(1, "mat-label");
|
|
207
|
-
i0.ɵɵtext(2);
|
|
208
|
-
i0.ɵɵelement(3, "lib-t-form-input-status", 3);
|
|
209
|
-
i0.ɵɵelementEnd();
|
|
210
|
-
i0.ɵɵelement(4, "lib-date-range-picker-reactive-input", 4);
|
|
211
|
-
i0.ɵɵelementStart(5, "mat-date-range-input", 5);
|
|
212
|
-
i0.ɵɵconditionalCreate(6, DateRangePickerInputElementComponent_Conditional_1_Conditional_6_Template, 1, 5, "input", 6);
|
|
213
|
-
i0.ɵɵconditionalCreate(7, DateRangePickerInputElementComponent_Conditional_1_Conditional_7_Template, 1, 5, "input", 7);
|
|
214
|
-
i0.ɵɵelementEnd();
|
|
215
|
-
i0.ɵɵelement(8, "mat-datepicker-toggle", 8);
|
|
216
|
-
i0.ɵɵelementStart(9, "mat-date-range-picker", null, 0)(11, "mat-datepicker-actions")(12, "button", 9);
|
|
217
|
-
i0.ɵɵtext(13, "Cancel");
|
|
218
|
-
i0.ɵɵelementEnd();
|
|
219
|
-
i0.ɵɵelementStart(14, "button", 10);
|
|
220
|
-
i0.ɵɵtext(15, "Apply");
|
|
221
|
-
i0.ɵɵelementEnd()()();
|
|
222
|
-
i0.ɵɵconditionalCreate(16, DateRangePickerInputElementComponent_Conditional_1_Conditional_16_Template, 2, 2, "mat-hint", 11);
|
|
223
|
-
i0.ɵɵconditionalCreate(17, DateRangePickerInputElementComponent_Conditional_1_Conditional_17_Template, 2, 1, "mat-error", 12);
|
|
224
|
-
i0.ɵɵconditionalCreate(18, DateRangePickerInputElementComponent_Conditional_1_Conditional_18_Template, 3, 0, "button", 13);
|
|
225
|
-
i0.ɵɵconditionalCreate(19, DateRangePickerInputElementComponent_Conditional_1_Conditional_19_Template, 2, 1, "mat-icon", 14);
|
|
226
|
-
i0.ɵɵconditionalCreate(20, DateRangePickerInputElementComponent_Conditional_1_Conditional_20_Template, 2, 1, "mat-icon", 15);
|
|
227
|
-
i0.ɵɵconditionalCreate(21, DateRangePickerInputElementComponent_Conditional_1_Conditional_21_Template, 2, 1, "span", 16);
|
|
228
|
-
i0.ɵɵconditionalCreate(22, DateRangePickerInputElementComponent_Conditional_1_Conditional_22_Template, 2, 1, "span", 17);
|
|
229
|
-
i0.ɵɵconditionalCreate(23, DateRangePickerInputElementComponent_Conditional_1_Conditional_23_Template, 2, 1, "mat-hint");
|
|
230
|
-
i0.ɵɵelementEnd();
|
|
231
|
-
} if (rf & 2) {
|
|
232
|
-
const inputConfig_r2 = ctx;
|
|
233
|
-
const picker_r6 = i0.ɵɵreference(10);
|
|
234
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
235
|
-
i0.ɵɵproperty("appearance", inputConfig_r2.appearance || "fill");
|
|
236
|
-
i0.ɵɵadvance(2);
|
|
237
|
-
i0.ɵɵtextInterpolate1(" ", inputConfig_r2.label, " ");
|
|
238
|
-
i0.ɵɵadvance();
|
|
239
|
-
i0.ɵɵproperty("inputConfig", inputConfig_r2);
|
|
240
|
-
i0.ɵɵadvance();
|
|
241
|
-
i0.ɵɵproperty("inputConfig", inputConfig_r2)("required", inputConfig_r2.required)("formControlName", inputConfig_r2.id + "." + inputConfig_r2.endDateControl);
|
|
242
|
-
i0.ɵɵadvance();
|
|
243
|
-
i0.ɵɵproperty("required", inputConfig_r2.required)("formGroup", ctx_r2.formGroup())("rangePicker", picker_r6);
|
|
244
|
-
i0.ɵɵadvance();
|
|
245
|
-
i0.ɵɵconditional(inputConfig_r2.startDateControl ? 6 : -1);
|
|
246
|
-
i0.ɵɵadvance();
|
|
247
|
-
i0.ɵɵconditional(inputConfig_r2.endDateControl ? 7 : -1);
|
|
248
|
-
i0.ɵɵadvance();
|
|
249
|
-
i0.ɵɵproperty("for", picker_r6);
|
|
250
|
-
i0.ɵɵadvance(8);
|
|
251
|
-
i0.ɵɵconditional(inputConfig_r2.hintLabel || inputConfig_r2.temporaryHint ? 16 : -1);
|
|
252
|
-
i0.ɵɵadvance();
|
|
253
|
-
i0.ɵɵconditional(!!ctx_r2.errorMessage() ? 17 : -1);
|
|
254
|
-
i0.ɵɵadvance();
|
|
255
|
-
i0.ɵɵconditional((inputConfig_r2.canReload == null ? null : inputConfig_r2.canReload.canReload) ? 18 : -1);
|
|
256
|
-
i0.ɵɵadvance();
|
|
257
|
-
i0.ɵɵconditional(inputConfig_r2.prefixIcon ? 19 : -1);
|
|
258
|
-
i0.ɵɵadvance();
|
|
259
|
-
i0.ɵɵconditional(inputConfig_r2.suffixIcon && inputConfig_r2.id !== "password" ? 20 : -1);
|
|
260
|
-
i0.ɵɵadvance();
|
|
261
|
-
i0.ɵɵconditional(inputConfig_r2.prefixText ? 21 : -1);
|
|
262
|
-
i0.ɵɵadvance();
|
|
263
|
-
i0.ɵɵconditional(inputConfig_r2.suffixText ? 22 : -1);
|
|
264
|
-
i0.ɵɵadvance();
|
|
265
|
-
i0.ɵɵconditional(inputConfig_r2.maxLength && ctx_r2.formGroup() ? 23 : -1);
|
|
266
|
-
} }
|
|
267
|
-
/** Wraps a reactive date-range-picker control inside a `mat-form-field`. */
|
|
268
|
-
class DateRangePickerInputElementComponent {
|
|
269
|
-
constructor() {
|
|
270
|
-
this.inputConfig = input.required(...(ngDevMode ? [{ debugName: "inputConfig" }] : /* istanbul ignore next */ []));
|
|
271
|
-
this.formGroup = input.required(...(ngDevMode ? [{ debugName: "formGroup" }] : /* istanbul ignore next */ []));
|
|
272
|
-
this.reload = output();
|
|
273
|
-
this.errorMessage = computed(() => getInputErrorMessage(this.inputConfig(), this.formGroup()), ...(ngDevMode ? [{ debugName: "errorMessage" }] : /* istanbul ignore next */ []));
|
|
274
|
-
this.startControlName = computed(() => {
|
|
275
|
-
const cfg = this.inputConfig();
|
|
276
|
-
return cfg.startDateControl
|
|
277
|
-
? `${cfg.id}.${cfg.startDateControl}`
|
|
278
|
-
: `${cfg.id}.startDate`;
|
|
279
|
-
}, ...(ngDevMode ? [{ debugName: "startControlName" }] : /* istanbul ignore next */ []));
|
|
280
|
-
this.endControlName = computed(() => {
|
|
281
|
-
const cfg = this.inputConfig();
|
|
282
|
-
return cfg.endDateControl
|
|
283
|
-
? `${cfg.id}.${cfg.endDateControl}`
|
|
284
|
-
: `${cfg.id}.endDate`;
|
|
285
|
-
}, ...(ngDevMode ? [{ debugName: "endControlName" }] : /* istanbul ignore next */ []));
|
|
286
|
-
}
|
|
287
|
-
hasStartDateError(errorName) {
|
|
288
|
-
const control = this.formGroup().get(this.startControlName());
|
|
289
|
-
return control ? control.hasError(errorName) : false;
|
|
290
|
-
}
|
|
291
|
-
hasEndDateError(errorName) {
|
|
292
|
-
const control = this.formGroup().get(this.endControlName());
|
|
293
|
-
return control ? control.hasError(errorName) : false;
|
|
294
|
-
}
|
|
295
|
-
dateChanged(event, formControlName) {
|
|
296
|
-
const control = this.formGroup().controls[`${this.inputConfig().id}.${formControlName}`];
|
|
297
|
-
if (control) {
|
|
298
|
-
control.setValue(event.value);
|
|
299
|
-
control.updateValueAndValidity();
|
|
300
|
-
control.markAsTouched();
|
|
301
|
-
control.markAsDirty();
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
static { this.ɵfac = function DateRangePickerInputElementComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DateRangePickerInputElementComponent)(); }; }
|
|
305
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DateRangePickerInputElementComponent, selectors: [["lib-date-range-picker-input-element"]], inputs: { inputConfig: [1, "inputConfig"], formGroup: [1, "formGroup"] }, outputs: { reload: "reload" }, features: [i0.ɵɵProvidersFeature([provideNativeDateAdapter()])], decls: 2, vars: 2, consts: [["picker", ""], [3, "formGroup"], ["subscriptSizing", "dynamic", 3, "appearance"], [3, "inputConfig"], [3, "inputConfig", "required", "formControlName"], [3, "required", "formGroup", "rangePicker"], ["matStartDate", "", "placeholder", "Start date", 3, "disabled", "formControlName", "min", "max", "value"], ["matEndDate", "", "placeholder", "End date", 3, "disabled", "formControlName", "value", "min", "max"], ["matIconSuffix", "", 3, "for"], ["mat-button", "", "matDatepickerCancel", ""], ["mat-raised-button", "", "color", "primary", "matDatepickerApply", ""], [1, "inputHint", 3, "matTooltip"], ["matTooltipClass", "errorToolTip", 1, "oneLineTextEllipsis"], ["mat-icon-button", "", "matTooltip", "Click to refresh this field.", "matSuffix", "", 1, "input-sync-button", 2, "margin-right", "4px"], ["matPrefix", ""], ["matSuffix", ""], ["matPrefix", "", 2, "top", "0"], ["matSuffix", "", 2, "padding-left", "5px"], ["matStartDate", "", "placeholder", "Start date", 3, "dateChange", "disabled", "formControlName", "min", "max", "value"], ["matEndDate", "", "placeholder", "End date", 3, "dateChange", "disabled", "formControlName", "value", "min", "max"], ["mat-icon-button", "", "matTooltip", "Click to refresh this field.", "matSuffix", "", 1, "input-sync-button", 2, "margin-right", "4px", 3, "click"], [2, "color", "var(--mat-sys-primary)"]], template: function DateRangePickerInputElementComponent_Template(rf, ctx) { if (rf & 1) {
|
|
306
|
-
i0.ɵɵelementStart(0, "form", 1);
|
|
307
|
-
i0.ɵɵconditionalCreate(1, DateRangePickerInputElementComponent_Conditional_1_Template, 24, 20, "mat-form-field", 2);
|
|
308
|
-
i0.ɵɵelementEnd();
|
|
309
|
-
} if (rf & 2) {
|
|
310
|
-
let tmp_1_0;
|
|
311
|
-
i0.ɵɵproperty("formGroup", ctx.formGroup());
|
|
312
|
-
i0.ɵɵadvance();
|
|
313
|
-
i0.ɵɵconditional((tmp_1_0 = ctx.inputConfig()) ? 1 : -1, tmp_1_0);
|
|
314
|
-
} }, dependencies: [ReactiveFormsModule, i1.ɵNgNoValidate, i1.DefaultValueAccessor, i1.NgControlStatus, i1.NgControlStatusGroup, i1.RequiredValidator, i1.FormGroupDirective, i1.FormControlName, MatFormFieldModule, i2.MatFormField, i2.MatLabel, i2.MatHint, i2.MatError, i2.MatPrefix, i2.MatSuffix, MatIconModule, i3.MatIcon, MatButtonModule, i1$1.MatButton, i1$1.MatIconButton, MatTooltipModule, i5.MatTooltip, MatDatepickerModule, i6.MatDatepickerToggle, i6.MatDateRangeInput, i6.MatStartDate, i6.MatEndDate, i6.MatDateRangePicker, i6.MatDatepickerActions, i6.MatDatepickerCancel, i6.MatDatepickerApply, TFormInputStatusComponent,
|
|
315
|
-
DateRangePickerReactiveInputComponent], styles: ["mat-form-field[_ngcontent-%COMP%]{width:100%!important}mat-form-field[_ngcontent-%COMP%] .input-sync-button[_ngcontent-%COMP%]{display:none}mat-form-field[_ngcontent-%COMP%]:hover .input-sync-button[_ngcontent-%COMP%]{display:inline-block}"], changeDetection: 0 }); }
|
|
316
|
-
}
|
|
317
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateRangePickerInputElementComponent, [{
|
|
318
|
-
type: Component,
|
|
319
|
-
args: [{ selector: 'lib-date-range-picker-input-element', changeDetection: ChangeDetectionStrategy.OnPush, providers: [provideNativeDateAdapter()], imports: [
|
|
320
|
-
ReactiveFormsModule,
|
|
321
|
-
MatFormFieldModule,
|
|
322
|
-
MatIconModule,
|
|
323
|
-
MatButtonModule,
|
|
324
|
-
MatTooltipModule,
|
|
325
|
-
MatDatepickerModule,
|
|
326
|
-
TFormInputStatusComponent,
|
|
327
|
-
DateRangePickerReactiveInputComponent,
|
|
328
|
-
], template: "<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", styles: ["mat-form-field{width:100%!important}mat-form-field .input-sync-button{display:none}mat-form-field:hover .input-sync-button{display:inline-block}\n"] }]
|
|
329
|
-
}], null, { inputConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputConfig", required: true }] }], formGroup: [{ type: i0.Input, args: [{ isSignal: true, alias: "formGroup", required: true }] }], reload: [{ type: i0.Output, args: ["reload"] }] }); })();
|
|
330
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DateRangePickerInputElementComponent, { className: "DateRangePickerInputElementComponent", filePath: "lib/components/t-form-input/elements/date-range-picker-input-element/date-range-picker-input-element.component.ts", lineNumber: 32 }); })();
|
|
331
|
-
|
|
332
|
-
export { DateRangePickerInputElementComponent };
|
|
333
|
-
//# sourceMappingURL=ngx-t-forms-date-range-picker-input-element.component-BiXubnsN.mjs.map
|