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
package/fesm2022/ngx-t-forms.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { v as DialogTemplateComponent, Q as FORM_ACTIONS_TOKEN, R as FORM_CONFIG_TOKEN, W as FORM_INPUTS_TOKEN, X as FORM_ROUTE_SOURCE, Y as FORM_SLIDES_TOKEN, Z as FORM_SUGGESTION_REGISTRY, w as FormBuilderComponent, $ as FormSuggestionRegistry, a0 as FormSuggestionRegistryService, a1 as FormTowerControllerService, G as FormatDataPipe, x as FormsComponent, a2 as HttpPipelineRepository, a3 as IMPORT_TOWER_INSTANCE_ID, a4 as INPUT_SECRET_TOKEN, a5 as MSCOA_TREE_PROVIDER, a6 as MULTIPLE_FORM_INPUT_TOKEN, M as MscoaFormInputComponent, N as NGX_T_FORMS_CONFIG_TOKEN, a7 as NgxTFormsComponent, a8 as NgxTFormsService, a9 as PIPELINE_REPOSITORY, aa as PipelineRepository, ab as PropertyAccessError, S as SignatureInputElementComponent, T as TDynamicDataEditComponent, b as TDynamicDataViewComponent, ac as TFormImportController, y as TFormInputComponent, ad as TSuggestionReviewComponent, ae as UTILS_OBJECT_TOKEN, U as UserFormStepperComponent, V as ValidationExpressioCreatorComponent, a as assignDeepPropertyToObject, af as buildSuggestionSchema, ag as createFileFromBase64, ah as formGenerator, ai as getPipedValueFromDataType, aj as getSampleValueForInput, ak as getSectionElements, z as getSignatureImage, al as getUrl, am as getValueFromValueAccessor, an as initFormConfigToV2, ao as provideNgxTForms, ap as returnDeepProperty, C as returnMappedPathValue, n as safeReturnDeepProperty, aq as sheetConsolodation, t as testAgainstItem, ar as textIconsForUserHints, as as toSuggestionBatch, at as validateExpressionSyntax, au as validateObjectAgainstString, av as withFormSuggestions, aw as withHttpPipeline, ax as withInputSecret, ay as withRouterFormId } from './ngx-t-forms-ngx-t-forms-
|
|
1
|
+
export { v as DialogTemplateComponent, Q as FORM_ACTIONS_TOKEN, R as FORM_CONFIG_TOKEN, W as FORM_INPUTS_TOKEN, X as FORM_ROUTE_SOURCE, Y as FORM_SLIDES_TOKEN, Z as FORM_SUGGESTION_REGISTRY, w as FormBuilderComponent, $ as FormSuggestionRegistry, a0 as FormSuggestionRegistryService, a1 as FormTowerControllerService, G as FormatDataPipe, x as FormsComponent, a2 as HttpPipelineRepository, a3 as IMPORT_TOWER_INSTANCE_ID, a4 as INPUT_SECRET_TOKEN, a5 as MSCOA_TREE_PROVIDER, a6 as MULTIPLE_FORM_INPUT_TOKEN, M as MscoaFormInputComponent, N as NGX_T_FORMS_CONFIG_TOKEN, a7 as NgxTFormsComponent, a8 as NgxTFormsService, a9 as PIPELINE_REPOSITORY, aa as PipelineRepository, ab as PropertyAccessError, S as SignatureInputElementComponent, T as TDynamicDataEditComponent, b as TDynamicDataViewComponent, ac as TFormImportController, y as TFormInputComponent, ad as TSuggestionReviewComponent, ae as UTILS_OBJECT_TOKEN, U as UserFormStepperComponent, V as ValidationExpressioCreatorComponent, a as assignDeepPropertyToObject, af as buildSuggestionSchema, ag as createFileFromBase64, ah as formGenerator, ai as getPipedValueFromDataType, aj as getSampleValueForInput, ak as getSectionElements, z as getSignatureImage, al as getUrl, am as getValueFromValueAccessor, an as initFormConfigToV2, ao as provideNgxTForms, ap as returnDeepProperty, C as returnMappedPathValue, n as safeReturnDeepProperty, aq as sheetConsolodation, t as testAgainstItem, ar as textIconsForUserHints, as as toSuggestionBatch, at as validateExpressionSyntax, au as validateObjectAgainstString, av as withFormSuggestions, aw as withHttpPipeline, ax as withInputSecret, ay as withRouterFormId } from './ngx-t-forms-ngx-t-forms-DQ_h-jPF.mjs';
|
|
2
2
|
export { WorkflowFunctionTypes } from 'ngx-t-forms-types';
|
|
3
3
|
//# sourceMappingURL=ngx-t-forms.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-t-forms",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.37",
|
|
4
4
|
"description": "Angular forms module for creating dynamic forms through configuration. Supports form validation, custom controls, and complex form structures.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": {
|
package/types/ngx-t-forms.d.ts
CHANGED
|
@@ -1645,18 +1645,17 @@ declare class UserFormStepperComponent {
|
|
|
1645
1645
|
get hasBlockingErrors(): boolean;
|
|
1646
1646
|
/** True once every blocking error is resolved and every override is motivated. */
|
|
1647
1647
|
get canSubmit(): boolean;
|
|
1648
|
-
/**
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
*
|
|
1656
|
-
*
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
onOverrideAttachment(validatorId: string, event: Event): Promise<void>;
|
|
1648
|
+
/**
|
|
1649
|
+
* Overridable validations that still lack a non-empty motivation — the count
|
|
1650
|
+
* shown on the "Provide reason" button and what keeps submission gated.
|
|
1651
|
+
*/
|
|
1652
|
+
get pendingOverrideCount(): number;
|
|
1653
|
+
/**
|
|
1654
|
+
* Opens the override-reasons dialog so the user can add or edit a motivation
|
|
1655
|
+
* (and optional supporting file) for each overridable validation. The dialog
|
|
1656
|
+
* writes back through the engine, so the submit gate updates live on close.
|
|
1657
|
+
*/
|
|
1658
|
+
openOverrideDialog(): void;
|
|
1660
1659
|
get hasTour(): boolean;
|
|
1661
1660
|
/**
|
|
1662
1661
|
* Initiates and configures a dynamic, multi-step tutorial tour for the form.
|
|
@@ -1,261 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, ElementRef, input, DestroyRef, ViewEncapsulation, ChangeDetectionStrategy, Component, output, computed } from '@angular/core';
|
|
3
|
-
import * as i1 from '@angular/forms';
|
|
4
|
-
import { NgControl, ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
import * as i2$1 from '@angular/material/form-field';
|
|
6
|
-
import { MatFormFieldControl, MatFormFieldModule } from '@angular/material/form-field';
|
|
7
|
-
import * as i3 from '@angular/material/icon';
|
|
8
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
9
|
-
import * as i1$1 from '@angular/material/button';
|
|
10
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
11
|
-
import * as i5$1 from '@angular/material/tooltip';
|
|
12
|
-
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
13
|
-
import * as i5 from '@angular/material/autocomplete';
|
|
14
|
-
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
15
|
-
import { MatOptionModule } from '@angular/material/core';
|
|
16
|
-
import { B as BaseCustomInput, q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs';
|
|
17
|
-
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
18
|
-
import * as i2 from '@angular/material/input';
|
|
19
|
-
import { MatInputModule } from '@angular/material/input';
|
|
20
|
-
import { Subject, debounceTime } from 'rxjs';
|
|
21
|
-
import * as i8 from '@angular/material/select';
|
|
22
|
-
|
|
23
|
-
const customInputConfig = {
|
|
24
|
-
controlType: 'lib-auto-complet-reactive-input',
|
|
25
|
-
nextId: 0,
|
|
26
|
-
};
|
|
27
|
-
class AutoCompletReactiveInputComponent extends BaseCustomInput {
|
|
28
|
-
get empty() {
|
|
29
|
-
return !this.value;
|
|
30
|
-
}
|
|
31
|
-
get shouldLabelFloat() {
|
|
32
|
-
return true;
|
|
33
|
-
}
|
|
34
|
-
#destroyRef;
|
|
35
|
-
#debounceTime;
|
|
36
|
-
#valueSubject;
|
|
37
|
-
constructor() {
|
|
38
|
-
super(inject(NgControl, { self: true, optional: true }), inject(ElementRef), customInputConfig);
|
|
39
|
-
this.auto = input.required(...(ngDevMode ? [{ debugName: "auto" }] : /* istanbul ignore next */ []));
|
|
40
|
-
this.inputConfig = input.required(...(ngDevMode ? [{ debugName: "inputConfig" }] : /* istanbul ignore next */ []));
|
|
41
|
-
this.#destroyRef = inject(DestroyRef);
|
|
42
|
-
this.#debounceTime = 300;
|
|
43
|
-
this.#valueSubject = new Subject();
|
|
44
|
-
}
|
|
45
|
-
ngOnInit() {
|
|
46
|
-
this.#valueSubject
|
|
47
|
-
.pipe(debounceTime(this.#debounceTime), takeUntilDestroyed(this.#destroyRef))
|
|
48
|
-
.subscribe(event => {
|
|
49
|
-
const target = event.target;
|
|
50
|
-
this.value = target?.value ?? '';
|
|
51
|
-
this.stateChanges.next();
|
|
52
|
-
this.onChange(this.value);
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
onInputChange($event) {
|
|
56
|
-
this.#valueSubject.next($event);
|
|
57
|
-
}
|
|
58
|
-
static { this.ɵfac = function AutoCompletReactiveInputComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AutoCompletReactiveInputComponent)(); }; }
|
|
59
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AutoCompletReactiveInputComponent, selectors: [["lib-auto-complet-reactive-input"]], hostVars: 3, hostBindings: function AutoCompletReactiveInputComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
60
|
-
i0.ɵɵdomProperty("id", ctx.id);
|
|
61
|
-
i0.ɵɵclassProp("floating", ctx.shouldLabelFloat);
|
|
62
|
-
} }, inputs: { auto: [1, "auto"], inputConfig: [1, "inputConfig"] }, features: [i0.ɵɵProvidersFeature([{ provide: MatFormFieldControl, useExisting: AutoCompletReactiveInputComponent }]), i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 10, consts: [["autocomplete", "on", "matInput", "", 3, "input", "readonly", "pattern", "required", "type", "value", "min", "max", "matAutocomplete"]], template: function AutoCompletReactiveInputComponent_Template(rf, ctx) { if (rf & 1) {
|
|
63
|
-
i0.ɵɵelementStart(0, "input", 0);
|
|
64
|
-
i0.ɵɵlistener("input", function AutoCompletReactiveInputComponent_Template_input_input_0_listener($event) { return ctx.onInputChange($event); });
|
|
65
|
-
i0.ɵɵelementEnd();
|
|
66
|
-
} if (rf & 2) {
|
|
67
|
-
i0.ɵɵproperty("readonly", ctx.inputConfig().readonly || ctx.inputConfig().disabled)("pattern", ctx.inputConfig().pattern || "")("required", !!ctx.inputConfig().required)("type", ctx.inputConfig().type || "text")("value", ctx.value)("min", ctx.inputConfig().min)("max", ctx.inputConfig().max)("matAutocomplete", ctx.auto());
|
|
68
|
-
i0.ɵɵattribute("maxlength", ctx.inputConfig().maxLength)("minlength", ctx.inputConfig().minLength);
|
|
69
|
-
} }, dependencies: [ReactiveFormsModule,
|
|
70
|
-
MatAutocompleteModule, i5.MatAutocompleteTrigger, MatInputModule, i2.MatInput], encapsulation: 2, changeDetection: 0 }); }
|
|
71
|
-
}
|
|
72
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AutoCompletReactiveInputComponent, [{
|
|
73
|
-
type: Component,
|
|
74
|
-
args: [{ selector: 'lib-auto-complet-reactive-input', imports: [
|
|
75
|
-
ReactiveFormsModule,
|
|
76
|
-
MatAutocompleteModule,
|
|
77
|
-
MatInputModule,
|
|
78
|
-
], host: {
|
|
79
|
-
'[class.floating]': 'shouldLabelFloat',
|
|
80
|
-
'[id]': 'id',
|
|
81
|
-
}, providers: [{ provide: MatFormFieldControl, useExisting: AutoCompletReactiveInputComponent }], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, template: "<input [readonly]=\"inputConfig().readonly || inputConfig().disabled\" [pattern]=\"inputConfig().pattern || ''\"\r\n [required]=\"!!inputConfig().required\" [attr.maxlength]=\"inputConfig().maxLength\"\r\n [attr.minlength]=\"inputConfig().minLength\"\r\n [type]=\"inputConfig().type || 'text'\"\r\n (input)=\"onInputChange($event)\"\r\n [value]=\"value\"\r\n\r\n [min]=\"inputConfig().min\" [max]=\"inputConfig().max\" autocomplete=\"on\"\r\n [matAutocomplete]=\"auto()\"\r\n matInput />\r\n" }]
|
|
82
|
-
}], () => [], { auto: [{ type: i0.Input, args: [{ isSignal: true, alias: "auto", required: true }] }], inputConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputConfig", required: true }] }] }); })();
|
|
83
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AutoCompletReactiveInputComponent, { className: "AutoCompletReactiveInputComponent", filePath: "lib/components/t-form-input/elements/auto-complete-input-element/core/auto-complet-reactive-input/auto-complet-reactive-input.component.ts", lineNumber: 42 }); })();
|
|
84
|
-
|
|
85
|
-
const _forTrack0 = ($index, $item) => $item.id;
|
|
86
|
-
function AutoCompleteInputElementComponent_Conditional_1_For_8_Template(rf, ctx) { if (rf & 1) {
|
|
87
|
-
i0.ɵɵelementStart(0, "mat-option", 6);
|
|
88
|
-
i0.ɵɵtext(1);
|
|
89
|
-
i0.ɵɵelementEnd();
|
|
90
|
-
} if (rf & 2) {
|
|
91
|
-
const option_r1 = ctx.$implicit;
|
|
92
|
-
i0.ɵɵproperty("value", option_r1.value);
|
|
93
|
-
i0.ɵɵadvance();
|
|
94
|
-
i0.ɵɵtextInterpolate(option_r1.label);
|
|
95
|
-
} }
|
|
96
|
-
function AutoCompleteInputElementComponent_Conditional_1_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
97
|
-
i0.ɵɵelementStart(0, "mat-hint", 7);
|
|
98
|
-
i0.ɵɵtext(1);
|
|
99
|
-
i0.ɵɵelementEnd();
|
|
100
|
-
} if (rf & 2) {
|
|
101
|
-
const inputConfig_r2 = i0.ɵɵnextContext();
|
|
102
|
-
i0.ɵɵproperty("matTooltip", inputConfig_r2.hintLabel || "");
|
|
103
|
-
i0.ɵɵadvance();
|
|
104
|
-
i0.ɵɵtextInterpolate1(" ", inputConfig_r2.temporaryHint || inputConfig_r2.hintLabel, " ");
|
|
105
|
-
} }
|
|
106
|
-
function AutoCompleteInputElementComponent_Conditional_1_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
107
|
-
const _r3 = i0.ɵɵgetCurrentView();
|
|
108
|
-
i0.ɵɵelementStart(0, "button", 15);
|
|
109
|
-
i0.ɵɵlistener("click", function AutoCompleteInputElementComponent_Conditional_1_Conditional_10_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r3); const inputConfig_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(inputConfig_r2.canReload.emit()); });
|
|
110
|
-
i0.ɵɵelementStart(1, "mat-icon", 16);
|
|
111
|
-
i0.ɵɵtext(2, "sync");
|
|
112
|
-
i0.ɵɵelementEnd()();
|
|
113
|
-
} }
|
|
114
|
-
function AutoCompleteInputElementComponent_Conditional_1_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
115
|
-
i0.ɵɵelementStart(0, "mat-error", 9);
|
|
116
|
-
i0.ɵɵtext(1);
|
|
117
|
-
i0.ɵɵelementEnd();
|
|
118
|
-
} if (rf & 2) {
|
|
119
|
-
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
120
|
-
i0.ɵɵadvance();
|
|
121
|
-
i0.ɵɵtextInterpolate(ctx_r3.errorMessage());
|
|
122
|
-
} }
|
|
123
|
-
function AutoCompleteInputElementComponent_Conditional_1_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
124
|
-
i0.ɵɵelementStart(0, "mat-icon", 10);
|
|
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.prefixIcon);
|
|
131
|
-
} }
|
|
132
|
-
function AutoCompleteInputElementComponent_Conditional_1_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
133
|
-
i0.ɵɵelementStart(0, "mat-icon", 11);
|
|
134
|
-
i0.ɵɵtext(1);
|
|
135
|
-
i0.ɵɵelementEnd();
|
|
136
|
-
} if (rf & 2) {
|
|
137
|
-
const inputConfig_r2 = i0.ɵɵnextContext();
|
|
138
|
-
i0.ɵɵadvance();
|
|
139
|
-
i0.ɵɵtextInterpolate(inputConfig_r2.suffixIcon);
|
|
140
|
-
} }
|
|
141
|
-
function AutoCompleteInputElementComponent_Conditional_1_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
142
|
-
i0.ɵɵelementStart(0, "span", 12);
|
|
143
|
-
i0.ɵɵtext(1);
|
|
144
|
-
i0.ɵɵelementEnd();
|
|
145
|
-
} if (rf & 2) {
|
|
146
|
-
const inputConfig_r2 = i0.ɵɵnextContext();
|
|
147
|
-
i0.ɵɵadvance();
|
|
148
|
-
i0.ɵɵtextInterpolate(inputConfig_r2.prefixText);
|
|
149
|
-
} }
|
|
150
|
-
function AutoCompleteInputElementComponent_Conditional_1_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
151
|
-
i0.ɵɵelementStart(0, "span", 13);
|
|
152
|
-
i0.ɵɵtext(1);
|
|
153
|
-
i0.ɵɵelementEnd();
|
|
154
|
-
} if (rf & 2) {
|
|
155
|
-
const inputConfig_r2 = i0.ɵɵnextContext();
|
|
156
|
-
i0.ɵɵadvance();
|
|
157
|
-
i0.ɵɵtextInterpolate(inputConfig_r2.suffixText);
|
|
158
|
-
} }
|
|
159
|
-
function AutoCompleteInputElementComponent_Conditional_1_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
160
|
-
i0.ɵɵelementStart(0, "mat-hint", 14);
|
|
161
|
-
i0.ɵɵtext(1);
|
|
162
|
-
i0.ɵɵelementEnd();
|
|
163
|
-
} if (rf & 2) {
|
|
164
|
-
let tmp_4_0;
|
|
165
|
-
const inputConfig_r2 = i0.ɵɵnextContext();
|
|
166
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
167
|
-
i0.ɵɵadvance();
|
|
168
|
-
i0.ɵɵtextInterpolate1(" ", (((tmp_4_0 = ctx_r3.formGroup().controls[inputConfig_r2.id]) == null ? null : tmp_4_0.value == null ? null : tmp_4_0.value.length) || 0) + "/" + inputConfig_r2.maxLength, " ");
|
|
169
|
-
} }
|
|
170
|
-
function AutoCompleteInputElementComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
171
|
-
i0.ɵɵelementStart(0, "mat-form-field", 2)(1, "mat-label");
|
|
172
|
-
i0.ɵɵtext(2);
|
|
173
|
-
i0.ɵɵelement(3, "lib-t-form-input-status", 3);
|
|
174
|
-
i0.ɵɵelementEnd();
|
|
175
|
-
i0.ɵɵelement(4, "lib-auto-complet-reactive-input", 4);
|
|
176
|
-
i0.ɵɵelementStart(5, "mat-autocomplete", 5, 0);
|
|
177
|
-
i0.ɵɵrepeaterCreate(7, AutoCompleteInputElementComponent_Conditional_1_For_8_Template, 2, 2, "mat-option", 6, _forTrack0);
|
|
178
|
-
i0.ɵɵelementEnd();
|
|
179
|
-
i0.ɵɵconditionalCreate(9, AutoCompleteInputElementComponent_Conditional_1_Conditional_9_Template, 2, 2, "mat-hint", 7);
|
|
180
|
-
i0.ɵɵconditionalCreate(10, AutoCompleteInputElementComponent_Conditional_1_Conditional_10_Template, 3, 0, "button", 8);
|
|
181
|
-
i0.ɵɵconditionalCreate(11, AutoCompleteInputElementComponent_Conditional_1_Conditional_11_Template, 2, 1, "mat-error", 9);
|
|
182
|
-
i0.ɵɵconditionalCreate(12, AutoCompleteInputElementComponent_Conditional_1_Conditional_12_Template, 2, 1, "mat-icon", 10);
|
|
183
|
-
i0.ɵɵconditionalCreate(13, AutoCompleteInputElementComponent_Conditional_1_Conditional_13_Template, 2, 1, "mat-icon", 11);
|
|
184
|
-
i0.ɵɵconditionalCreate(14, AutoCompleteInputElementComponent_Conditional_1_Conditional_14_Template, 2, 1, "span", 12);
|
|
185
|
-
i0.ɵɵconditionalCreate(15, AutoCompleteInputElementComponent_Conditional_1_Conditional_15_Template, 2, 1, "span", 13);
|
|
186
|
-
i0.ɵɵconditionalCreate(16, AutoCompleteInputElementComponent_Conditional_1_Conditional_16_Template, 2, 1, "mat-hint", 14);
|
|
187
|
-
i0.ɵɵelementEnd();
|
|
188
|
-
} if (rf & 2) {
|
|
189
|
-
const inputConfig_r2 = ctx;
|
|
190
|
-
const auto_r5 = i0.ɵɵreference(6);
|
|
191
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
192
|
-
i0.ɵɵproperty("appearance", inputConfig_r2.appearance || "fill");
|
|
193
|
-
i0.ɵɵadvance(2);
|
|
194
|
-
i0.ɵɵtextInterpolate1(" ", inputConfig_r2.label, " ");
|
|
195
|
-
i0.ɵɵadvance();
|
|
196
|
-
i0.ɵɵproperty("inputConfig", inputConfig_r2);
|
|
197
|
-
i0.ɵɵadvance();
|
|
198
|
-
i0.ɵɵproperty("inputConfig", inputConfig_r2)("required", inputConfig_r2.required)("formControlName", inputConfig_r2.id)("auto", auto_r5);
|
|
199
|
-
i0.ɵɵadvance(3);
|
|
200
|
-
i0.ɵɵrepeater(ctx_r3.options());
|
|
201
|
-
i0.ɵɵadvance(2);
|
|
202
|
-
i0.ɵɵconditional(inputConfig_r2.hintLabel || inputConfig_r2.temporaryHint ? 9 : -1);
|
|
203
|
-
i0.ɵɵadvance();
|
|
204
|
-
i0.ɵɵconditional((inputConfig_r2.canReload == null ? null : inputConfig_r2.canReload.canReload) ? 10 : -1);
|
|
205
|
-
i0.ɵɵadvance();
|
|
206
|
-
i0.ɵɵconditional(!!ctx_r3.errorMessage() ? 11 : -1);
|
|
207
|
-
i0.ɵɵadvance();
|
|
208
|
-
i0.ɵɵconditional(inputConfig_r2.prefixIcon ? 12 : -1);
|
|
209
|
-
i0.ɵɵadvance();
|
|
210
|
-
i0.ɵɵconditional(inputConfig_r2.suffixIcon && inputConfig_r2.id !== "password" ? 13 : -1);
|
|
211
|
-
i0.ɵɵadvance();
|
|
212
|
-
i0.ɵɵconditional(inputConfig_r2.prefixText ? 14 : -1);
|
|
213
|
-
i0.ɵɵadvance();
|
|
214
|
-
i0.ɵɵconditional(inputConfig_r2.suffixText ? 15 : -1);
|
|
215
|
-
i0.ɵɵadvance();
|
|
216
|
-
i0.ɵɵconditional(inputConfig_r2.maxLength && ctx_r3.formGroup() ? 16 : -1);
|
|
217
|
-
} }
|
|
218
|
-
/** Wraps a reactive auto-complete control inside a `mat-form-field`. */
|
|
219
|
-
class AutoCompleteInputElementComponent {
|
|
220
|
-
constructor() {
|
|
221
|
-
this.inputConfig = input.required(...(ngDevMode ? [{ debugName: "inputConfig" }] : /* istanbul ignore next */ []));
|
|
222
|
-
this.formGroup = input.required(...(ngDevMode ? [{ debugName: "formGroup" }] : /* istanbul ignore next */ []));
|
|
223
|
-
this.reload = output();
|
|
224
|
-
this.errorMessage = computed(() => getInputErrorMessage(this.inputConfig(), this.formGroup()), ...(ngDevMode ? [{ debugName: "errorMessage" }] : /* istanbul ignore next */ []));
|
|
225
|
-
// Internal `any[]` mirrors the legacy getter shape; the upstream
|
|
226
|
-
// `matOptions.options` is a (FormInputBasicOptionInterface | DynamicObjectInterface)[]
|
|
227
|
-
// union that resolves to `{ id; value; label }` at runtime. Phase 4 will tighten.
|
|
228
|
-
this.options = computed(() => this.inputConfig().matOptions?.options ?? [], ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
229
|
-
}
|
|
230
|
-
static { this.ɵfac = function AutoCompleteInputElementComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AutoCompleteInputElementComponent)(); }; }
|
|
231
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AutoCompleteInputElementComponent, selectors: [["lib-auto-complete-input-element"]], inputs: { inputConfig: [1, "inputConfig"], formGroup: [1, "formGroup"] }, outputs: { reload: "reload" }, decls: 2, vars: 2, consts: [["auto", "matAutocomplete"], [3, "formGroup"], ["subscriptSizing", "dynamic", 3, "appearance"], [3, "inputConfig"], [3, "inputConfig", "required", "formControlName", "auto"], ["autoActiveFirstOption", ""], [3, "value"], [1, "inputHint", 3, "matTooltip"], ["mat-icon-button", "", "matTooltip", "Click to refresh this field.", "matSuffix", "", 1, "input-sync-button", 2, "margin-right", "4px"], ["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 AutoCompleteInputElementComponent_Template(rf, ctx) { if (rf & 1) {
|
|
232
|
-
i0.ɵɵelementStart(0, "form", 1);
|
|
233
|
-
i0.ɵɵconditionalCreate(1, AutoCompleteInputElementComponent_Conditional_1_Template, 17, 15, "mat-form-field", 2);
|
|
234
|
-
i0.ɵɵelementEnd();
|
|
235
|
-
} if (rf & 2) {
|
|
236
|
-
let tmp_1_0;
|
|
237
|
-
i0.ɵɵproperty("formGroup", ctx.formGroup());
|
|
238
|
-
i0.ɵɵadvance();
|
|
239
|
-
i0.ɵɵconditional((tmp_1_0 = ctx.inputConfig()) ? 1 : -1, tmp_1_0);
|
|
240
|
-
} }, 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.MatIconButton, MatTooltipModule, i5$1.MatTooltip, MatAutocompleteModule, i5.MatAutocomplete, i8.MatOption, MatOptionModule,
|
|
241
|
-
AutoCompletReactiveInputComponent,
|
|
242
|
-
TFormInputStatusComponent], 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 }); }
|
|
243
|
-
}
|
|
244
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AutoCompleteInputElementComponent, [{
|
|
245
|
-
type: Component,
|
|
246
|
-
args: [{ selector: 'lib-auto-complete-input-element', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
247
|
-
ReactiveFormsModule,
|
|
248
|
-
MatFormFieldModule,
|
|
249
|
-
MatIconModule,
|
|
250
|
-
MatButtonModule,
|
|
251
|
-
MatTooltipModule,
|
|
252
|
-
MatAutocompleteModule,
|
|
253
|
-
MatOptionModule,
|
|
254
|
-
AutoCompletReactiveInputComponent,
|
|
255
|
-
TFormInputStatusComponent,
|
|
256
|
-
], 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-auto-complet-reactive-input\r\n [inputConfig]=\"inputConfig\"\r\n [required]=\"inputConfig.required\"\r\n [formControlName]=\"inputConfig.id\"\r\n [auto]=\"auto\"\r\n ></lib-auto-complet-reactive-input>\r\n\r\n <mat-autocomplete autoActiveFirstOption #auto=\"matAutocomplete\">\r\n @for (option of options(); track option.id) {\r\n <mat-option [value]=\"option.value\">{{ option.label }}</mat-option>\r\n }\r\n </mat-autocomplete>\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 (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 (!!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 && 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 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"] }]
|
|
257
|
-
}], 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"] }] }); })();
|
|
258
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AutoCompleteInputElementComponent, { className: "AutoCompleteInputElementComponent", filePath: "lib/components/t-form-input/elements/auto-complete-input-element/auto-complete-input-element.component.ts", lineNumber: 32 }); })();
|
|
259
|
-
|
|
260
|
-
export { AutoCompleteInputElementComponent };
|
|
261
|
-
//# sourceMappingURL=ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/auto-complete-input-element/core/auto-complet-reactive-input/auto-complet-reactive-input.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/auto-complete-input-element/core/auto-complet-reactive-input/auto-complet-reactive-input.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/auto-complete-input-element/auto-complete-input-element.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/auto-complete-input-element/auto-complete-input-element.component.ts"],"sourcesContent":["import {\r\n ChangeDetectionStrategy,\r\n Component,\r\n DestroyRef,\r\n ElementRef,\r\n OnInit,\r\n ViewEncapsulation,\r\n inject,\r\n input,\r\n} from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { NgControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { BaseCustomInput, BaseCustomInputConfig } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';\r\nimport { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { MatFormFieldControl } from '@angular/material/form-field';\r\nimport { MatAutocomplete, MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { debounceTime, Subject } from 'rxjs';\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-auto-complet-reactive-input',\r\n imports: [\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatInputModule,\r\n ],\r\n host: {\r\n '[class.floating]': 'shouldLabelFloat',\r\n '[id]': 'id',\r\n },\r\n providers: [{ provide: MatFormFieldControl, useExisting: AutoCompletReactiveInputComponent }],\r\n templateUrl: './auto-complet-reactive-input.component.html',\r\n styleUrl: './auto-complet-reactive-input.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.Emulated,\r\n})\r\nexport class AutoCompletReactiveInputComponent extends BaseCustomInput<string | number | Date> implements OnInit {\r\n override get empty(): boolean {\r\n return !this.value;\r\n }\r\n override get shouldLabelFloat(): boolean {\r\n return true;\r\n }\r\n\r\n readonly auto = input.required<MatAutocomplete>();\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n\r\n readonly #destroyRef = inject(DestroyRef);\r\n readonly #debounceTime = 300;\r\n readonly #valueSubject = new Subject<Event>();\r\n\r\n constructor() {\r\n super(\r\n inject(NgControl, { self: true, optional: true })!,\r\n inject(ElementRef),\r\n customInputConfig,\r\n );\r\n }\r\n\r\n ngOnInit(): void {\r\n this.#valueSubject\r\n .pipe(\r\n debounceTime(this.#debounceTime),\r\n takeUntilDestroyed(this.#destroyRef),\r\n )\r\n .subscribe(event => {\r\n const target = event.target as HTMLInputElement | null;\r\n this.value = target?.value ?? '';\r\n this.stateChanges.next();\r\n this.onChange(this.value);\r\n });\r\n }\r\n\r\n protected onInputChange($event: Event): void {\r\n this.#valueSubject.next($event);\r\n }\r\n}\r\n","<input [readonly]=\"inputConfig().readonly || inputConfig().disabled\" [pattern]=\"inputConfig().pattern || ''\"\r\n [required]=\"!!inputConfig().required\" [attr.maxlength]=\"inputConfig().maxLength\"\r\n [attr.minlength]=\"inputConfig().minLength\"\r\n [type]=\"inputConfig().type || 'text'\"\r\n (input)=\"onInputChange($event)\"\r\n [value]=\"value\"\r\n\r\n [min]=\"inputConfig().min\" [max]=\"inputConfig().max\" autocomplete=\"on\"\r\n [matAutocomplete]=\"auto()\"\r\n matInput />\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-auto-complet-reactive-input\r\n [inputConfig]=\"inputConfig\"\r\n [required]=\"inputConfig.required\"\r\n [formControlName]=\"inputConfig.id\"\r\n [auto]=\"auto\"\r\n ></lib-auto-complet-reactive-input>\r\n\r\n <mat-autocomplete autoActiveFirstOption #auto=\"matAutocomplete\">\r\n @for (option of options(); track option.id) {\r\n <mat-option [value]=\"option.value\">{{ option.label }}</mat-option>\r\n }\r\n </mat-autocomplete>\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 (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 (!!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 && 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 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 { 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 { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatOptionModule } from '@angular/material/core';\r\nimport type { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { TFormInputStatusComponent } from '../../../t-form-input-status/t-form-input-status.component';\r\nimport { AutoCompletReactiveInputComponent } from './core/auto-complet-reactive-input/auto-complet-reactive-input.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\n\r\n/** Wraps a reactive auto-complete control inside a `mat-form-field`. */\r\n@Component({\r\n selector: 'lib-auto-complete-input-element',\r\n templateUrl: './auto-complete-input-element.component.html',\r\n styleUrl: './auto-complete-input-element.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [\r\n ReactiveFormsModule,\r\n MatFormFieldModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatTooltipModule,\r\n MatAutocompleteModule,\r\n MatOptionModule,\r\n AutoCompletReactiveInputComponent,\r\n TFormInputStatusComponent,\r\n ],\r\n})\r\nexport class AutoCompleteInputElementComponent {\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 // Internal `any[]` mirrors the legacy getter shape; the upstream\r\n // `matOptions.options` is a (FormInputBasicOptionInterface | DynamicObjectInterface)[]\r\n // union that resolves to `{ id; value; label }` at runtime. Phase 4 will tighten.\r\n protected readonly options = computed<any[]>(\r\n () => this.inputConfig().matOptions?.options ?? [],\r\n );\r\n}\r\n"],"names":["i2","i4","i5","i6","i7"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAmBA,MAAM,iBAAiB,GAA0B;AAC/C,IAAA,WAAW,EAAE,iCAAiC;AAC9C,IAAA,MAAM,EAAE,CAAC;CACV;AAmBK,MAAO,iCAAkC,SAAQ,eAAuC,CAAA;AAC5F,IAAA,IAAa,KAAK,GAAA;AAChB,QAAA,OAAO,CAAC,IAAI,CAAC,KAAK;IACpB;AACA,IAAA,IAAa,gBAAgB,GAAA;AAC3B,QAAA,OAAO,IAAI;IACb;AAKS,IAAA,WAAW;AACX,IAAA,aAAa;AACb,IAAA,aAAa;AAEtB,IAAA,WAAA,GAAA;QACE,KAAK,CACH,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAE,EAClD,MAAM,CAAC,UAAU,CAAC,EAClB,iBAAiB,CAClB;AAZM,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,0EAAmB;AACxC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,QAAQ,iFAAoB;AAEhD,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,UAAU,CA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AA,CAAA,CAAA,CAAA,GAAA;;;;"}
|
|
@@ -1,225 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, output, computed, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import * as i1$1 from '@angular/forms';
|
|
4
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
import * as i2 from '@angular/material/form-field';
|
|
6
|
-
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
7
|
-
import { MatInputModule } from '@angular/material/input';
|
|
8
|
-
import * as i3 from '@angular/material/icon';
|
|
9
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
10
|
-
import * as i1 from '@angular/material/button';
|
|
11
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
12
|
-
import * as i5 from '@angular/material/tooltip';
|
|
13
|
-
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
14
|
-
import { q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs';
|
|
15
|
-
import { InputPipeTypes } from 'ngx-t-forms-types';
|
|
16
|
-
import { InputCustomComponent } from './ngx-t-forms-input-custom.component-Cv6jfrPf.mjs';
|
|
17
|
-
|
|
18
|
-
function BasicInputInputElementComponent_Conditional_1_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
-
i0.ɵɵelementStart(0, "span", 3);
|
|
20
|
-
i0.ɵɵtext(1);
|
|
21
|
-
i0.ɵɵelementEnd();
|
|
22
|
-
} if (rf & 2) {
|
|
23
|
-
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
24
|
-
i0.ɵɵadvance();
|
|
25
|
-
i0.ɵɵtextInterpolate1("", ctx_r0.currencyPrefix(), " ");
|
|
26
|
-
} }
|
|
27
|
-
function BasicInputInputElementComponent_Conditional_1_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
-
i0.ɵɵelementStart(0, "mat-error", 5);
|
|
29
|
-
i0.ɵɵtext(1);
|
|
30
|
-
i0.ɵɵelementEnd();
|
|
31
|
-
} if (rf & 2) {
|
|
32
|
-
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
33
|
-
i0.ɵɵadvance();
|
|
34
|
-
i0.ɵɵtextInterpolate(ctx_r0.errorMessage());
|
|
35
|
-
} }
|
|
36
|
-
function BasicInputInputElementComponent_Conditional_1_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
37
|
-
i0.ɵɵelementStart(0, "mat-hint", 6);
|
|
38
|
-
i0.ɵɵtext(1);
|
|
39
|
-
i0.ɵɵelementEnd();
|
|
40
|
-
} if (rf & 2) {
|
|
41
|
-
const classInput_r2 = i0.ɵɵnextContext();
|
|
42
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
43
|
-
i0.ɵɵadvance();
|
|
44
|
-
i0.ɵɵtextInterpolate1(" ", classInput_r2.temporaryHint || ctx_r0.inputConfig().hintLabel, " ");
|
|
45
|
-
} }
|
|
46
|
-
function BasicInputInputElementComponent_Conditional_1_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
47
|
-
const _r3 = i0.ɵɵgetCurrentView();
|
|
48
|
-
i0.ɵɵelementStart(0, "button", 13);
|
|
49
|
-
i0.ɵɵlistener("click", function BasicInputInputElementComponent_Conditional_1_Conditional_8_Template_button_click_0_listener() { let tmp_4_0; i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView((tmp_4_0 = ctx_r0.inputConfig().canReload) == null ? null : tmp_4_0.emit()); });
|
|
50
|
-
i0.ɵɵelementStart(1, "mat-icon", 14);
|
|
51
|
-
i0.ɵɵtext(2, "sync");
|
|
52
|
-
i0.ɵɵelementEnd()();
|
|
53
|
-
} }
|
|
54
|
-
function BasicInputInputElementComponent_Conditional_1_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
55
|
-
i0.ɵɵelementStart(0, "mat-icon", 8);
|
|
56
|
-
i0.ɵɵtext(1);
|
|
57
|
-
i0.ɵɵelementEnd();
|
|
58
|
-
} if (rf & 2) {
|
|
59
|
-
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
60
|
-
i0.ɵɵadvance();
|
|
61
|
-
i0.ɵɵtextInterpolate(ctx_r0.inputConfig().prefixIcon);
|
|
62
|
-
} }
|
|
63
|
-
function BasicInputInputElementComponent_Conditional_1_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
64
|
-
i0.ɵɵelementStart(0, "span", 9);
|
|
65
|
-
i0.ɵɵtext(1);
|
|
66
|
-
i0.ɵɵelementEnd();
|
|
67
|
-
} if (rf & 2) {
|
|
68
|
-
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
69
|
-
i0.ɵɵadvance();
|
|
70
|
-
i0.ɵɵtextInterpolate(ctx_r0.inputConfig().prefixText);
|
|
71
|
-
} }
|
|
72
|
-
function BasicInputInputElementComponent_Conditional_1_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
73
|
-
i0.ɵɵelementStart(0, "span", 10);
|
|
74
|
-
i0.ɵɵtext(1);
|
|
75
|
-
i0.ɵɵelementEnd();
|
|
76
|
-
} if (rf & 2) {
|
|
77
|
-
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
78
|
-
i0.ɵɵadvance();
|
|
79
|
-
i0.ɵɵtextInterpolate(ctx_r0.inputConfig().suffixText);
|
|
80
|
-
} }
|
|
81
|
-
function BasicInputInputElementComponent_Conditional_1_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
82
|
-
i0.ɵɵelementStart(0, "mat-hint", 11);
|
|
83
|
-
i0.ɵɵtext(1);
|
|
84
|
-
i0.ɵɵelementEnd();
|
|
85
|
-
} if (rf & 2) {
|
|
86
|
-
let tmp_3_0;
|
|
87
|
-
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
88
|
-
i0.ɵɵadvance();
|
|
89
|
-
i0.ɵɵtextInterpolate1(" ", (((tmp_3_0 = ctx_r0.formGroup().controls[ctx_r0.inputConfig().id]) == null ? null : tmp_3_0.value == null ? null : tmp_3_0.value.length) || 0) + "/" + ctx_r0.inputConfig().maxLength, " ");
|
|
90
|
-
} }
|
|
91
|
-
function BasicInputInputElementComponent_Conditional_1_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
92
|
-
i0.ɵɵelementStart(0, "mat-hint", 15);
|
|
93
|
-
i0.ɵɵtext(1);
|
|
94
|
-
i0.ɵɵelementEnd();
|
|
95
|
-
} if (rf & 2) {
|
|
96
|
-
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
97
|
-
i0.ɵɵstyleProp("color", ctx_r0.passwordStrengthColor(ctx_r0.inputConfig().id));
|
|
98
|
-
i0.ɵɵadvance();
|
|
99
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r0.checkPasswordStrength(ctx_r0.inputConfig().id), " password ");
|
|
100
|
-
} }
|
|
101
|
-
function BasicInputInputElementComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
102
|
-
i0.ɵɵelementStart(0, "mat-form-field", 1)(1, "mat-label");
|
|
103
|
-
i0.ɵɵtext(2);
|
|
104
|
-
i0.ɵɵelement(3, "lib-t-form-input-status", 2);
|
|
105
|
-
i0.ɵɵelementEnd();
|
|
106
|
-
i0.ɵɵconditionalCreate(4, BasicInputInputElementComponent_Conditional_1_Conditional_4_Template, 2, 1, "span", 3);
|
|
107
|
-
i0.ɵɵelement(5, "lib-input-custom", 4);
|
|
108
|
-
i0.ɵɵconditionalCreate(6, BasicInputInputElementComponent_Conditional_1_Conditional_6_Template, 2, 1, "mat-error", 5);
|
|
109
|
-
i0.ɵɵconditionalCreate(7, BasicInputInputElementComponent_Conditional_1_Conditional_7_Template, 2, 1, "mat-hint", 6);
|
|
110
|
-
i0.ɵɵconditionalCreate(8, BasicInputInputElementComponent_Conditional_1_Conditional_8_Template, 3, 0, "button", 7);
|
|
111
|
-
i0.ɵɵconditionalCreate(9, BasicInputInputElementComponent_Conditional_1_Conditional_9_Template, 2, 1, "mat-icon", 8);
|
|
112
|
-
i0.ɵɵconditionalCreate(10, BasicInputInputElementComponent_Conditional_1_Conditional_10_Template, 2, 1, "span", 9);
|
|
113
|
-
i0.ɵɵconditionalCreate(11, BasicInputInputElementComponent_Conditional_1_Conditional_11_Template, 2, 1, "span", 10);
|
|
114
|
-
i0.ɵɵconditionalCreate(12, BasicInputInputElementComponent_Conditional_1_Conditional_12_Template, 2, 1, "mat-hint", 11);
|
|
115
|
-
i0.ɵɵconditionalCreate(13, BasicInputInputElementComponent_Conditional_1_Conditional_13_Template, 2, 3, "mat-hint", 12);
|
|
116
|
-
i0.ɵɵelementEnd();
|
|
117
|
-
} if (rf & 2) {
|
|
118
|
-
let tmp_11_0;
|
|
119
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
120
|
-
i0.ɵɵproperty("appearance", ctx_r0.inputConfig().appearance || "fill");
|
|
121
|
-
i0.ɵɵadvance(2);
|
|
122
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r0.inputConfig().label, " ");
|
|
123
|
-
i0.ɵɵadvance();
|
|
124
|
-
i0.ɵɵproperty("inputConfig", ctx_r0.inputConfig());
|
|
125
|
-
i0.ɵɵadvance();
|
|
126
|
-
i0.ɵɵconditional(ctx_r0.currencyPrefix() ? 4 : -1);
|
|
127
|
-
i0.ɵɵadvance();
|
|
128
|
-
i0.ɵɵproperty("inputConfig", ctx_r0.inputConfig())("required", ctx_r0.inputConfig().required)("formControlName", ctx_r0.inputConfig().id);
|
|
129
|
-
i0.ɵɵadvance();
|
|
130
|
-
i0.ɵɵconditional(ctx_r0.errorMessage() ? 6 : -1);
|
|
131
|
-
i0.ɵɵadvance();
|
|
132
|
-
i0.ɵɵconditional(ctx_r0.inputConfig().hintLabel || ctx.temporaryHint ? 7 : -1);
|
|
133
|
-
i0.ɵɵadvance();
|
|
134
|
-
i0.ɵɵconditional(((tmp_11_0 = ctx_r0.inputConfig().canReload) == null ? null : tmp_11_0.canReload) ? 8 : -1);
|
|
135
|
-
i0.ɵɵadvance();
|
|
136
|
-
i0.ɵɵconditional(ctx_r0.inputConfig().prefixIcon ? 9 : -1);
|
|
137
|
-
i0.ɵɵadvance();
|
|
138
|
-
i0.ɵɵconditional(ctx_r0.inputConfig().prefixText ? 10 : -1);
|
|
139
|
-
i0.ɵɵadvance();
|
|
140
|
-
i0.ɵɵconditional(ctx_r0.inputConfig().suffixText ? 11 : -1);
|
|
141
|
-
i0.ɵɵadvance();
|
|
142
|
-
i0.ɵɵconditional(ctx_r0.inputConfig().maxLength && ctx_r0.formGroup() ? 12 : -1);
|
|
143
|
-
i0.ɵɵadvance();
|
|
144
|
-
i0.ɵɵconditional(ctx_r0.inputConfig().type === "password" ? 13 : -1);
|
|
145
|
-
} }
|
|
146
|
-
class BasicInputInputElementComponent {
|
|
147
|
-
constructor() {
|
|
148
|
-
this.inputConfig = input.required(...(ngDevMode ? [{ debugName: "inputConfig" }] : /* istanbul ignore next */ []));
|
|
149
|
-
this.formGroup = input.required(...(ngDevMode ? [{ debugName: "formGroup" }] : /* istanbul ignore next */ []));
|
|
150
|
-
this.reload = output();
|
|
151
|
-
this.formControl = computed(() => this.formGroup().controls[this.inputConfig().id], ...(ngDevMode ? [{ debugName: "formControl" }] : /* istanbul ignore next */ []));
|
|
152
|
-
this.errorMessage = computed(() => getInputErrorMessage(this.inputConfig(), this.formGroup()), ...(ngDevMode ? [{ debugName: "errorMessage" }] : /* istanbul ignore next */ []));
|
|
153
|
-
this.hasError = computed(() => {
|
|
154
|
-
// Correctly access the control within the form group
|
|
155
|
-
const control = this.formGroup().get(this.inputConfig().id);
|
|
156
|
-
return control?.invalid && (control?.touched || control?.dirty);
|
|
157
|
-
}, ...(ngDevMode ? [{ debugName: "hasError" }] : /* istanbul ignore next */ []));
|
|
158
|
-
this.currencyPrefix = computed(() => {
|
|
159
|
-
const hasPipe = this.inputConfig().pipe?.pipeType === InputPipeTypes.Currency;
|
|
160
|
-
if (!hasPipe)
|
|
161
|
-
return undefined;
|
|
162
|
-
return this.inputConfig().pipe?.param;
|
|
163
|
-
}, ...(ngDevMode ? [{ debugName: "currencyPrefix" }] : /* istanbul ignore next */ []));
|
|
164
|
-
}
|
|
165
|
-
passwordStrengthColor(formControlName) {
|
|
166
|
-
const form = this.formGroup();
|
|
167
|
-
const value = form?.value[formControlName];
|
|
168
|
-
let strongPassword = new RegExp('(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{8,})');
|
|
169
|
-
let mediumPassword = new RegExp('((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{6,}))|((?=.*[a-z])(?=.*[A-Z])(?=.*[^A-Za-z0-9])(?=.{8,}))');
|
|
170
|
-
if (strongPassword.test(value)) {
|
|
171
|
-
return 'var(--ion-color-success)';
|
|
172
|
-
}
|
|
173
|
-
else if (mediumPassword.test(value)) {
|
|
174
|
-
return 'var(--ion-color-warning)';
|
|
175
|
-
}
|
|
176
|
-
else {
|
|
177
|
-
return 'var(--ion-color-danger)';
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
checkPasswordStrength(formControlName) {
|
|
181
|
-
const form = this.formGroup();
|
|
182
|
-
const value = form?.value[formControlName];
|
|
183
|
-
let strongPassword = new RegExp('(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{8,})');
|
|
184
|
-
let mediumPassword = new RegExp('((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{6,}))|((?=.*[a-z])(?=.*[A-Z])(?=.*[^A-Za-z0-9])(?=.{8,}))');
|
|
185
|
-
if (strongPassword.test(value)) {
|
|
186
|
-
return 'strong';
|
|
187
|
-
}
|
|
188
|
-
else if (mediumPassword.test(value)) {
|
|
189
|
-
return 'medium';
|
|
190
|
-
}
|
|
191
|
-
else {
|
|
192
|
-
return 'weak';
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
static { this.ɵfac = function BasicInputInputElementComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BasicInputInputElementComponent)(); }; }
|
|
196
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BasicInputInputElementComponent, selectors: [["lib-basic-input-input-element"]], inputs: { inputConfig: [1, "inputConfig"], formGroup: [1, "formGroup"] }, outputs: { reload: "reload" }, decls: 2, vars: 2, consts: [[3, "formGroup"], ["subscriptSizing", "dynamic", 3, "appearance"], [3, "inputConfig"], ["matTextPrefix", "", 2, "color", "var(--mat-sys-primary)", "padding-right", "4px"], [3, "inputConfig", "required", "formControlName"], ["matTooltipClass", "errorToolTip", 1, "oneLineTextEllipsis"], [1, "inputHint"], ["mat-icon-button", "", "matTooltip", "Click to refresh this field.", "matSuffix", "", 1, "input-sync-button", 2, "margin-right", "4px"], ["matPrefix", ""], ["matPrefix", "", 2, "top", "0"], ["matSuffix", "", 2, "padding-left", "5px"], ["align", "end"], ["matTooltip", "The password should be at least 8 characters long. Have at least one uppercase letter, one lowercase, one digit, one special character.", "align", "end", 3, "color"], ["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)"], ["matTooltip", "The password should be at least 8 characters long. Have at least one uppercase letter, one lowercase, one digit, one special character.", "align", "end"]], template: function BasicInputInputElementComponent_Template(rf, ctx) { if (rf & 1) {
|
|
197
|
-
i0.ɵɵelementContainerStart(0, 0);
|
|
198
|
-
i0.ɵɵconditionalCreate(1, BasicInputInputElementComponent_Conditional_1_Template, 14, 15, "mat-form-field", 1);
|
|
199
|
-
i0.ɵɵelementContainerEnd();
|
|
200
|
-
} if (rf & 2) {
|
|
201
|
-
let tmp_1_0;
|
|
202
|
-
i0.ɵɵproperty("formGroup", ctx.formGroup());
|
|
203
|
-
i0.ɵɵadvance();
|
|
204
|
-
i0.ɵɵconditional((tmp_1_0 = ctx.inputConfig()) ? 1 : -1, tmp_1_0);
|
|
205
|
-
} }, dependencies: [MatFormFieldModule, i2.MatFormField, i2.MatLabel, i2.MatHint, i2.MatError, i2.MatPrefix, i2.MatSuffix, MatInputModule,
|
|
206
|
-
MatIconModule, i3.MatIcon, MatButtonModule, i1.MatIconButton, MatTooltipModule, i5.MatTooltip, ReactiveFormsModule, i1$1.NgControlStatus, i1$1.NgControlStatusGroup, i1$1.RequiredValidator, i1$1.FormGroupDirective, i1$1.FormControlName, TFormInputStatusComponent,
|
|
207
|
-
InputCustomComponent], 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 }); }
|
|
208
|
-
}
|
|
209
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BasicInputInputElementComponent, [{
|
|
210
|
-
type: Component,
|
|
211
|
-
args: [{ selector: 'lib-basic-input-input-element', imports: [
|
|
212
|
-
MatFormFieldModule,
|
|
213
|
-
MatInputModule,
|
|
214
|
-
MatIconModule,
|
|
215
|
-
MatButtonModule,
|
|
216
|
-
MatTooltipModule,
|
|
217
|
-
ReactiveFormsModule,
|
|
218
|
-
TFormInputStatusComponent,
|
|
219
|
-
InputCustomComponent,
|
|
220
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as classInput) {\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 @if(currencyPrefix()){\r\n <span style=\"color: var(--mat-sys-primary);padding-right: 4px;\" matTextPrefix>{{currencyPrefix()}} </span>\r\n }\r\n\r\n <lib-input-custom [inputConfig]=\"inputConfig()\" [required]=\"inputConfig().required\"\r\n [formControlName]=\"inputConfig().id\"></lib-input-custom>\r\n\r\n @if(errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{errorMessage()}}</mat-error>\r\n }\r\n <!-- [type]=\"this.inputConfig.showPassword ? 'text' : this.inputConfig.type||'text'\"-->\r\n <!-- @if(classInput.canRefresh){\r\n <button\r\n (click)=\"classInput.refresh()\"\r\n style=\" min-width: 1%;\"\r\n [matTooltip]=\"'Click to refresh this field. This will update any calculated values, fetch latest data from services, or reload available options'\"\r\n color=\"primary\" matSuffix mat-icon-button>\r\n <mat-icon>\r\n sync\r\n </mat-icon>\r\n </button>\r\n } -->\r\n\r\n\r\n @if(inputConfig().hintLabel || classInput.temporaryHint ){\r\n <mat-hint class=\"inputHint\">\r\n {{ classInput.temporaryHint || inputConfig().hintLabel}}\r\n </mat-hint>\r\n }\r\n @if(inputConfig().canReload?.canReload){\r\n <button 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()\" matSuffix>\r\n <mat-icon\r\n style=\"color:var(--mat-sys-primary)\"\r\n >sync</mat-icon>\r\n </button>\r\n }\r\n\r\n\r\n <!-- Prefix Icon -->\r\n @if (inputConfig().prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig().prefixIcon }}</mat-icon>\r\n }\r\n\r\n <!-- Suffix Icon or Password Visibility Toggle -->\r\n <!-- <ng-container *ngIf=\"inputConfig.suffixIcon\">\r\n <mat-icon *ngIf=\"inputConfig.id !== 'password'\" matSuffix>{{ inputConfig.suffixIcon\r\n }}</mat-icon>\r\n <button *ngIf=\"inputConfig.id === 'password'\" (click)=\"classInput.togglePasswordVisibility()\"\r\n mat-icon-button matSuffix>\r\n <mat-icon>{{ classInput.showPassword ? 'remove_red_eye' : 'eye_off' }}</mat-icon>\r\n </button>\r\n </ng-container> -->\r\n\r\n <!-- Prefix & Suffix Text -->\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 <!-- Character Count Hint -->\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\r\n <!-- Password Strength Hint -->\r\n @if (inputConfig().type === 'password') {\r\n <mat-hint [style.color]=\"passwordStrengthColor(inputConfig().id)\"\r\n matTooltip=\"The password should be at least 8 characters long. Have at least one uppercase letter, one lowercase, one digit, one special character.\"\r\n align=\"end\">\r\n {{ checkPasswordStrength(inputConfig().id) }} password\r\n </mat-hint>\r\n }\r\n <!-- @if(inputConfig?.canReload){\r\n <mat-hint align=\"end\">\r\n\r\n <button click=\" canReload.emit()\" style=\" height: 28px;\r\n width: 28px;\r\n padding: 0px;\r\n font-size: 1em;\" [matTooltip]=\"'Reload ' + inputConfig.label +' resources'\" mat-icon-button>\r\n <mat-icon>\r\n sync\r\n </mat-icon>\r\n\r\n </button>\r\n </mat-hint>\r\n\r\n\r\n } -->\r\n </mat-form-field>\r\n }\r\n\r\n\r\n\r\n\r\n</ng-container>\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"] }]
|
|
221
|
-
}], 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"] }] }); })();
|
|
222
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BasicInputInputElementComponent, { className: "BasicInputInputElementComponent", filePath: "lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.ts", lineNumber: 31 }); })();
|
|
223
|
-
|
|
224
|
-
export { BasicInputInputElementComponent };
|
|
225
|
-
//# sourceMappingURL=ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs.map
|