ngx-t-forms 2.0.37 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/ngx-t-forms-auto-complete-input-element.component-7g5cpVfB.mjs +261 -0
- package/fesm2022/ngx-t-forms-auto-complete-input-element.component-7g5cpVfB.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-D_l5sbNh.mjs → ngx-t-forms-auto-complete-input-element.component-DFApar1W.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-D_l5sbNh.mjs.map → ngx-t-forms-auto-complete-input-element.component-DFApar1W.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-basic-input-input-element.component-BhMw2vpl.mjs +225 -0
- package/fesm2022/ngx-t-forms-basic-input-input-element.component-BhMw2vpl.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-basic-input-input-element.component-fJIsRm0v.mjs → ngx-t-forms-basic-input-input-element.component-ChCeve-w.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-basic-input-input-element.component-fJIsRm0v.mjs.map → ngx-t-forms-basic-input-input-element.component-ChCeve-w.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-calculated-field-rules.component-BmWnrfWN.mjs +1011 -0
- package/fesm2022/ngx-t-forms-calculated-field-rules.component-BmWnrfWN.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-B8Do3h4B.mjs → ngx-t-forms-calculated-field-rules.component-CJMwqoHL.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-B8Do3h4B.mjs.map → ngx-t-forms-calculated-field-rules.component-CJMwqoHL.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-ALkkDotT.mjs +136 -0
- package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-ALkkDotT.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-L1kPy15K.mjs → ngx-t-forms-chip-options-creator-editor.component-B54kOArR.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-L1kPy15K.mjs.map → ngx-t-forms-chip-options-creator-editor.component-B54kOArR.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-CU6Cp-oK.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-CAZv0_uR.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-CU6Cp-oK.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-CAZv0_uR.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-Dap7QkKD.mjs +253 -0
- package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-Dap7QkKD.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-data-source-picker.component-r7OGAsxo.mjs → ngx-t-forms-data-source-picker.component-8G28L1Cg.mjs} +8 -8
- package/fesm2022/{ngx-t-forms-data-source-picker.component-r7OGAsxo.mjs.map → ngx-t-forms-data-source-picker.component-8G28L1Cg.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-data-source-picker.component-CJ1C1Znp.mjs +419 -0
- package/fesm2022/ngx-t-forms-data-source-picker.component-CJ1C1Znp.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-date-picker-input-element.component-DjYq63Iv.mjs +231 -0
- package/fesm2022/ngx-t-forms-date-picker-input-element.component-DjYq63Iv.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-date-picker-input-element.component-DsjcLQ5A.mjs → ngx-t-forms-date-picker-input-element.component-NM2cFs3P.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-date-picker-input-element.component-DsjcLQ5A.mjs.map → ngx-t-forms-date-picker-input-element.component-NM2cFs3P.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-B8V7IpoK.mjs → ngx-t-forms-date-range-picker-input-element.component-DhU_bhy3.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-B8V7IpoK.mjs.map → ngx-t-forms-date-range-picker-input-element.component-DhU_bhy3.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-g0wIRj9b.mjs +333 -0
- package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-g0wIRj9b.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-hKJqVYUY.mjs → ngx-t-forms-document-list-label-config-editor.component-K-KFdCcS.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-hKJqVYUY.mjs.map → ngx-t-forms-document-list-label-config-editor.component-K-KFdCcS.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-NuPXy_Ms.mjs +543 -0
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-NuPXy_Ms.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-document-picker.component-BSG7k3IN.mjs +1259 -0
- package/fesm2022/ngx-t-forms-document-picker.component-BSG7k3IN.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-document-picker.component-ChGqXHcQ.mjs +1996 -0
- package/fesm2022/ngx-t-forms-document-picker.component-ChGqXHcQ.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-editor-input-element.component-B8Pk-EVY.mjs +581 -0
- package/fesm2022/ngx-t-forms-editor-input-element.component-B8Pk-EVY.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-editor-input-element.component-D38U94oj.mjs → ngx-t-forms-editor-input-element.component-Bb7w-vNw.mjs} +138 -15
- package/fesm2022/ngx-t-forms-editor-input-element.component-Bb7w-vNw.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-editor-js-input.component-DlsLiHi1.mjs +539 -0
- package/fesm2022/ngx-t-forms-editor-js-input.component-DlsLiHi1.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-editor-js-input.component-XX6kU8DW.mjs +585 -0
- package/fesm2022/ngx-t-forms-editor-js-input.component-XX6kU8DW.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-file-upload-input-element.component-_RBYRgn9.mjs → ngx-t-forms-file-upload-input-element.component-Km-qgANx.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-file-upload-input-element.component-_RBYRgn9.mjs.map → ngx-t-forms-file-upload-input-element.component-Km-qgANx.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-file-upload-input-element.component-RCmUClXv.mjs +447 -0
- package/fesm2022/ngx-t-forms-file-upload-input-element.component-RCmUClXv.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-form-input-selector.component-0jfD5C0G.mjs +163 -0
- package/fesm2022/ngx-t-forms-form-input-selector.component-0jfD5C0G.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-form-input-selector.component-CUwK3DqG.mjs → ngx-t-forms-form-input-selector.component-D5KYWQ2R.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-form-input-selector.component-CUwK3DqG.mjs.map → ngx-t-forms-form-input-selector.component-D5KYWQ2R.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-json-view.component-D9rU9vxT.mjs → ngx-t-forms-form-json-view.component-r64GKVhI.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-form-json-view.component-D9rU9vxT.mjs.map → ngx-t-forms-form-json-view.component-r64GKVhI.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-form-json-view.component-z0nQxpqB.mjs +28 -0
- package/fesm2022/ngx-t-forms-form-json-view.component-z0nQxpqB.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-form-payload-projection.component-CkH7zmdJ.mjs +291 -0
- package/fesm2022/ngx-t-forms-form-payload-projection.component-CkH7zmdJ.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-form-section-stepper.component-CqCL3Bnc.mjs → ngx-t-forms-form-section-stepper.component-B3DRJ--U.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-form-section-stepper.component-CqCL3Bnc.mjs.map → ngx-t-forms-form-section-stepper.component-B3DRJ--U.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-form-section-stepper.component-UUTHYU-A.mjs +936 -0
- package/fesm2022/ngx-t-forms-form-section-stepper.component-UUTHYU-A.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-wmRDJU4P.mjs → ngx-t-forms-forms-builder-menu.component-BYFynpTn.mjs} +11 -11
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-wmRDJU4P.mjs.map → ngx-t-forms-forms-builder-menu.component-BYFynpTn.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-forms-builder-menu.component-DTIAOxGV.mjs +816 -0
- package/fesm2022/ngx-t-forms-forms-builder-menu.component-DTIAOxGV.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-geo-location.component-CMbBSXe0.mjs → ngx-t-forms-geo-location.component-D2fIbagr.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-geo-location.component-CMbBSXe0.mjs.map → ngx-t-forms-geo-location.component-D2fIbagr.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-geo-location.component-DW2b5Zli.mjs +329 -0
- package/fesm2022/ngx-t-forms-geo-location.component-DW2b5Zli.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-image-capture-input-element.component-Cbq8OYk7.mjs → ngx-t-forms-image-capture-input-element.component-BgnzErQt.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-image-capture-input-element.component-Cbq8OYk7.mjs.map → ngx-t-forms-image-capture-input-element.component-BgnzErQt.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-image-capture-input-element.component-Us_NAQSl.mjs +360 -0
- package/fesm2022/ngx-t-forms-image-capture-input-element.component-Us_NAQSl.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-index-CPNvE4PP.mjs → ngx-t-forms-index-6YIhS6cm.mjs} +2 -2
- package/fesm2022/ngx-t-forms-index-6YIhS6cm.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-index-BPNBX_ve.mjs +2 -0
- package/fesm2022/ngx-t-forms-index-BPNBX_ve.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-input-custom.component-DQOqy047.mjs +128 -0
- package/fesm2022/ngx-t-forms-input-custom.component-DQOqy047.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-input-custom.component-uNVdF9aA.mjs → ngx-t-forms-input-custom.component-Dcoze7U3.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-input-custom.component-uNVdF9aA.mjs.map → ngx-t-forms-input-custom.component-Dcoze7U3.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-input-editor.component-3fRj5swF.mjs +512 -0
- package/fesm2022/ngx-t-forms-input-editor.component-3fRj5swF.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-input-editor.component-BWoKhlI3.mjs → ngx-t-forms-input-editor.component-B6UKwV4i.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-input-editor.component-BWoKhlI3.mjs.map → ngx-t-forms-input-editor.component-B6UKwV4i.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-map-mat-options-keys-D0SGS9xQ.mjs → ngx-t-forms-map-mat-options-keys-BsfvYiEU.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-map-mat-options-keys-D0SGS9xQ.mjs.map → ngx-t-forms-map-mat-options-keys-BsfvYiEU.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-map-mat-options-keys-eSc99wdA.mjs +132 -0
- package/fesm2022/ngx-t-forms-map-mat-options-keys-eSc99wdA.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CN17K5q6.mjs +268 -0
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CN17K5q6.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CYtTBtyf.mjs +167 -0
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CYtTBtyf.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs +241 -0
- package/fesm2022/ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs +180 -0
- package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-missing-form-configs.component-AaDfeALs.mjs +114 -0
- package/fesm2022/ngx-t-forms-missing-form-configs.component-AaDfeALs.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-CxF6Ljjf.mjs → ngx-t-forms-missing-form-configs.component-CEa8ZNKA.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-CxF6Ljjf.mjs.map → ngx-t-forms-missing-form-configs.component-CEa8ZNKA.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-D0igUV3W.mjs +69 -0
- package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-D0igUV3W.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-BqT5Z8SM.mjs → ngx-t-forms-mscoa-chart-toolbar.component-DklkxNgg.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-BqT5Z8SM.mjs.map → ngx-t-forms-mscoa-chart-toolbar.component-DklkxNgg.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mscoa-error-display.component-99DpVSy7.mjs → ngx-t-forms-mscoa-error-display.component-BDPi6w2E.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-mscoa-error-display.component-99DpVSy7.mjs.map → ngx-t-forms-mscoa-error-display.component-BDPi6w2E.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-mscoa-error-display.component-rzl-fMmd.mjs +200 -0
- package/fesm2022/ngx-t-forms-mscoa-error-display.component-rzl-fMmd.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-BT-dM_5C.mjs → ngx-t-forms-mscoa-segment-config.component-2SspNWtF.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-BT-dM_5C.mjs.map → ngx-t-forms-mscoa-segment-config.component-2SspNWtF.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-CSGf4XeN.mjs +850 -0
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-CSGf4XeN.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-CBuGHwnU.mjs +107 -0
- package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-CBuGHwnU.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-B1Z-IXSL.mjs → ngx-t-forms-mscoa-temporary-hint.component-g7DosiVb.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-B1Z-IXSL.mjs.map → ngx-t-forms-mscoa-temporary-hint.component-g7DosiVb.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-multiple-input-input-element.component-CbQdnVgw.mjs +1665 -0
- package/fesm2022/ngx-t-forms-multiple-input-input-element.component-CbQdnVgw.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-DXAh2Mbm.mjs → ngx-t-forms-multiple-input-input-element.component-dmRIi9ph.mjs} +13 -13
- package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-DXAh2Mbm.mjs.map → ngx-t-forms-multiple-input-input-element.component-dmRIi9ph.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-ngx-t-forms-DQ_h-jPF.mjs → ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs} +826 -120
- package/fesm2022/ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-ngx-t-forms-BefvSS-p.mjs +28237 -0
- package/fesm2022/ngx-t-forms-ngx-t-forms-BefvSS-p.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-paginated-selection-table-BGNxI2yq.mjs +1024 -0
- package/fesm2022/ngx-t-forms-paginated-selection-table-BGNxI2yq.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-paginated-selection-table-DHwojPhn.mjs → ngx-t-forms-paginated-selection-table-DrXB22iY.mjs} +8 -8
- package/fesm2022/{ngx-t-forms-paginated-selection-table-DHwojPhn.mjs.map → ngx-t-forms-paginated-selection-table-DrXB22iY.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-payload-template-editor.component-CAXdFu4E.mjs → ngx-t-forms-payload-template-editor.component-DL4ZTTsH.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-payload-template-editor.component-CAXdFu4E.mjs.map → ngx-t-forms-payload-template-editor.component-DL4ZTTsH.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-payload-template-editor.component-o3qwpvYu.mjs +234 -0
- package/fesm2022/ngx-t-forms-payload-template-editor.component-o3qwpvYu.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-pipeline-generator.component-BqtdKcN2.mjs +1126 -0
- package/fesm2022/ngx-t-forms-pipeline-generator.component-BqtdKcN2.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-pipeline-generator.component-BJQ-KnmU.mjs → ngx-t-forms-pipeline-generator.component-DcZPv8-N.mjs} +11 -11
- package/fesm2022/{ngx-t-forms-pipeline-generator.component-BJQ-KnmU.mjs.map → ngx-t-forms-pipeline-generator.component-DcZPv8-N.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-record-list-manager.component-BcANl5Bq.mjs +639 -0
- package/fesm2022/ngx-t-forms-record-list-manager.component-BcANl5Bq.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-record-list-manager.component-l-2uDVmi.mjs +446 -0
- package/fesm2022/ngx-t-forms-record-list-manager.component-l-2uDVmi.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-required-inputs.component-C-E3fQu6.mjs → ngx-t-forms-required-inputs.component-BMmNxeE-.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-required-inputs.component-C-E3fQu6.mjs.map → ngx-t-forms-required-inputs.component-BMmNxeE-.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-required-inputs.component-Dr0P1gin.mjs +451 -0
- package/fesm2022/ngx-t-forms-required-inputs.component-Dr0P1gin.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BSv_KQIU.mjs +625 -0
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BSv_KQIU.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-D3sa7sNg.mjs → ngx-t-forms-rest-api-call-setup.component-C3sNmq_H.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-D3sa7sNg.mjs.map → ngx-t-forms-rest-api-call-setup.component-C3sNmq_H.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-search-field.component-BGdAmzJV.mjs +72 -0
- package/fesm2022/ngx-t-forms-search-field.component-BGdAmzJV.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-section-report.component-D6jakGa5.mjs → ngx-t-forms-section-report.component-BYMcaRE5.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-section-report.component-D6jakGa5.mjs.map → ngx-t-forms-section-report.component-BYMcaRE5.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-section-report.component-yGAjX7Gb.mjs +248 -0
- package/fesm2022/ngx-t-forms-section-report.component-yGAjX7Gb.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-select-input-element.component-BqtJi4ek.mjs +408 -0
- package/fesm2022/ngx-t-forms-select-input-element.component-BqtJi4ek.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-select-input-element.component-CwqIck0h.mjs → ngx-t-forms-select-input-element.component-Nsa3dpvV.mjs} +8 -8
- package/fesm2022/{ngx-t-forms-select-input-element.component-CwqIck0h.mjs.map → ngx-t-forms-select-input-element.component-Nsa3dpvV.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-Coj9gnrq.mjs → ngx-t-forms-selection-options-editor.component-BuXVzo7Z.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-Coj9gnrq.mjs.map → ngx-t-forms-selection-options-editor.component-BuXVzo7Z.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-selection-options-editor.component-_glw1cqH.mjs +275 -0
- package/fesm2022/ngx-t-forms-selection-options-editor.component-_glw1cqH.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-CLgN3YM4.mjs +366 -0
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-CLgN3YM4.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-DAwP-cWK.mjs +263 -0
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-DAwP-cWK.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-textarea-input-element.component-D4dEi8Vs.mjs → ngx-t-forms-textarea-input-element.component-DPxUzkAu.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-textarea-input-element.component-D4dEi8Vs.mjs.map → ngx-t-forms-textarea-input-element.component-DPxUzkAu.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-textarea-input-element.component-SCEBLqJd.mjs +233 -0
- package/fesm2022/ngx-t-forms-textarea-input-element.component-SCEBLqJd.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-toggle-input-element.component-CoyTMRMa.mjs +305 -0
- package/fesm2022/ngx-t-forms-toggle-input-element.component-CoyTMRMa.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-toggle-input-element.component-BZiTFB0j.mjs → ngx-t-forms-toggle-input-element.component-OZre5TJ7.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-toggle-input-element.component-BZiTFB0j.mjs.map → ngx-t-forms-toggle-input-element.component-OZre5TJ7.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-validators-config.component-B1Lzs7o2.mjs +1105 -0
- package/fesm2022/ngx-t-forms-validators-config.component-B1Lzs7o2.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-validators-config.component-B3K9nLxx.mjs → ngx-t-forms-validators-config.component-CoGSFor3.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-validators-config.component-B3K9nLxx.mjs.map → ngx-t-forms-validators-config.component-CoGSFor3.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-workflow-adjudication.component-Bz07jv-N.mjs +2923 -0
- package/fesm2022/ngx-t-forms-workflow-adjudication.component-Bz07jv-N.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-workflow-adjudication.component-DD6Fhx06.mjs → ngx-t-forms-workflow-adjudication.component-CrDZg3Nl.mjs} +17 -17
- package/fesm2022/ngx-t-forms-workflow-adjudication.component-CrDZg3Nl.mjs.map +1 -0
- package/fesm2022/ngx-t-forms.mjs +1 -1
- package/package.json +2 -2
- package/types/ngx-t-forms.d.ts +7 -0
- package/fesm2022/ngx-t-forms-document-picker.component-f-hz6Vef.mjs +0 -704
- package/fesm2022/ngx-t-forms-document-picker.component-f-hz6Vef.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-editor-input-element.component-D38U94oj.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-editor-js-input.component-D_Jq7sfY.mjs +0 -240
- package/fesm2022/ngx-t-forms-editor-js-input.component-D_Jq7sfY.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-index-CPNvE4PP.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Cu-KiAeY.mjs +0 -66
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Cu-KiAeY.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-ngx-t-forms-DQ_h-jPF.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-record-list-manager.component-BoD3S_7u.mjs +0 -358
- package/fesm2022/ngx-t-forms-record-list-manager.component-BoD3S_7u.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-DqFMP1rZ.mjs +0 -204
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-DqFMP1rZ.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-workflow-adjudication.component-DD6Fhx06.mjs.map +0 -1
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, output, computed, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import * as i1 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 i2$1 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-BefvSS-p.mjs';
|
|
15
|
+
import { InputPipeTypes } from 'ngx-t-forms-types';
|
|
16
|
+
import { InputCustomComponent } from './ngx-t-forms-input-custom.component-DQOqy047.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, i2$1.MatIconButton, MatTooltipModule, i5.MatTooltip, ReactiveFormsModule, i1.NgControlStatus, i1.NgControlStatusGroup, i1.RequiredValidator, i1.FormGroupDirective, i1.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-BhMw2vpl.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-t-forms-basic-input-input-element.component-BhMw2vpl.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.ts"],"sourcesContent":["<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","import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { ReactiveFormsModule, FormGroup, FormControl } from '@angular/forms';\r\n\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\n\r\nimport { TFormInputStatusComponent } from '../../../t-form-input-status/t-form-input-status.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\nimport { InputPipeTypes, ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { InputCustomComponent } from './core/input-custom/input-custom.component';\r\n\r\n@Component({\r\n selector: 'lib-basic-input-input-element',\r\n imports: [\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatTooltipModule,\r\n ReactiveFormsModule,\r\n TFormInputStatusComponent,\r\n InputCustomComponent,\r\n ],\r\n templateUrl: './basic-input-input-element.component.html',\r\n styleUrl: './basic-input-input-element.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class BasicInputInputElementComponent {\r\n\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n readonly formGroup = input.required<FormGroup>();\r\n\r\n readonly reload = output<void>();\r\n\r\n protected readonly formControl = computed(\r\n () => this.formGroup().controls[this.inputConfig().id] as FormControl<unknown>,\r\n );\r\n\r\n protected readonly errorMessage = computed(\r\n () => getInputErrorMessage(this.inputConfig(), this.formGroup()),\r\n );\r\n\r\n protected readonly hasError = computed(() => {\r\n // Correctly access the control within the form group\r\n const control = this.formGroup().get(this.inputConfig().id);\r\n return control?.invalid && (control?.touched || control?.dirty);\r\n });\r\n\r\n protected readonly currencyPrefix = computed(() => {\r\n const hasPipe = this.inputConfig().pipe?.pipeType === InputPipeTypes.Currency;\r\n if (!hasPipe) return undefined;\r\n return this.inputConfig().pipe?.param;\r\n });\r\n\r\n protected passwordStrengthColor(formControlName: string) {\r\n const form = this.formGroup();\r\n const value: string = form?.value[formControlName];\r\n let strongPassword = new RegExp(\r\n '(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{8,})'\r\n );\r\n let mediumPassword = new RegExp(\r\n '((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{6,}))|((?=.*[a-z])(?=.*[A-Z])(?=.*[^A-Za-z0-9])(?=.{8,}))'\r\n );\r\n if (strongPassword.test(value)) {\r\n return 'var(--ion-color-success)';\r\n } else if (mediumPassword.test(value)) {\r\n return 'var(--ion-color-warning)';\r\n } else {\r\n return 'var(--ion-color-danger)';\r\n }\r\n }\r\n\r\n protected checkPasswordStrength(formControlName: string) {\r\n const form = this.formGroup();\r\n\r\n const value: string = form?.value[formControlName];\r\n let strongPassword = new RegExp(\r\n '(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{8,})'\r\n );\r\n let mediumPassword = new RegExp(\r\n '((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{6,}))|((?=.*[a-z])(?=.*[A-Z])(?=.*[^A-Za-z0-9])(?=.{8,}))'\r\n );\r\n if (str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AA,eAAA,EAGgB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,6mIAAA,EAAA,MAAA,EAAA,CAAA,oJAAA,CAAA,EAAA;;kFAEpC,+BAA+B,EAAA,EAAA,SAAA,EAAA,iCAAA,EAAA,QAAA,EAAA,uGAAA,EAAA,UAAA,EAAA,EAAA,EAAA,CAAA,CAAA,CAAA,CAAA,GAAA;;;;"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { input, output, computed, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import * as i1
|
|
3
|
+
import * as i1 from '@angular/forms';
|
|
4
4
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
5
5
|
import * as i2 from '@angular/material/form-field';
|
|
6
6
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
7
7
|
import { MatInputModule } from '@angular/material/input';
|
|
8
8
|
import * as i3 from '@angular/material/icon';
|
|
9
9
|
import { MatIconModule } from '@angular/material/icon';
|
|
10
|
-
import * as
|
|
10
|
+
import * as i2$1 from '@angular/material/button';
|
|
11
11
|
import { MatButtonModule } from '@angular/material/button';
|
|
12
12
|
import * as i5 from '@angular/material/tooltip';
|
|
13
13
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
14
|
-
import { q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-
|
|
14
|
+
import { q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs';
|
|
15
15
|
import { InputPipeTypes } from 'ngx-t-forms-types';
|
|
16
|
-
import { InputCustomComponent } from './ngx-t-forms-input-custom.component-
|
|
16
|
+
import { InputCustomComponent } from './ngx-t-forms-input-custom.component-Dcoze7U3.mjs';
|
|
17
17
|
|
|
18
18
|
class BasicInputInputElementComponent {
|
|
19
19
|
constructor() {
|
|
@@ -65,7 +65,7 @@ class BasicInputInputElementComponent {
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: BasicInputInputElementComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
68
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: BasicInputInputElementComponent, isStandalone: true, selector: "lib-basic-input-input-element", inputs: { inputConfig: { classPropertyName: "inputConfig", publicName: "inputConfig", isSignal: true, isRequired: true, transformFunction: null }, formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { reload: "reload" }, ngImport: i0, 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"], dependencies: [{ kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i2.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i2.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type:
|
|
68
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: BasicInputInputElementComponent, isStandalone: true, selector: "lib-basic-input-input-element", inputs: { inputConfig: { classPropertyName: "inputConfig", publicName: "inputConfig", isSignal: true, isRequired: true, transformFunction: null }, formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { reload: "reload" }, ngImport: i0, 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"], dependencies: [{ kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i2.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i2.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: TFormInputStatusComponent, selector: "lib-t-form-input-status", inputs: ["inputConfig"] }, { kind: "component", type: InputCustomComponent, selector: "lib-input-custom", inputs: ["inputConfig"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
69
69
|
}
|
|
70
70
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: BasicInputInputElementComponent, decorators: [{
|
|
71
71
|
type: Component,
|
|
@@ -82,4 +82,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImpo
|
|
|
82
82
|
}], propDecorators: { 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"] }] } });
|
|
83
83
|
|
|
84
84
|
export { BasicInputInputElementComponent };
|
|
85
|
-
//# sourceMappingURL=ngx-t-forms-basic-input-input-element.component-
|
|
85
|
+
//# sourceMappingURL=ngx-t-forms-basic-input-input-element.component-ChCeve-w.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-t-forms-basic-input-input-element.component-fJIsRm0v.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.html"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { ReactiveFormsModule, FormGroup, FormControl } from '@angular/forms';\r\n\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\n\r\nimport { TFormInputStatusComponent } from '../../../t-form-input-status/t-form-input-status.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\nimport { InputPipeTypes, ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { InputCustomComponent } from './core/input-custom/input-custom.component';\r\n\r\n@Component({\r\n selector: 'lib-basic-input-input-element',\r\n imports: [\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatTooltipModule,\r\n ReactiveFormsModule,\r\n TFormInputStatusComponent,\r\n InputCustomComponent,\r\n ],\r\n templateUrl: './basic-input-input-element.component.html',\r\n styleUrl: './basic-input-input-element.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class BasicInputInputElementComponent {\r\n\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n readonly formGroup = input.required<FormGroup>();\r\n\r\n readonly reload = output<void>();\r\n\r\n protected readonly formControl = computed(\r\n () => this.formGroup().controls[this.inputConfig().id] as FormControl<unknown>,\r\n );\r\n\r\n protected readonly errorMessage = computed(\r\n () => getInputErrorMessage(this.inputConfig(), this.formGroup()),\r\n );\r\n\r\n protected readonly hasError = computed(() => {\r\n // Correctly access the control within the form group\r\n const control = this.formGroup().get(this.inputConfig().id);\r\n return control?.invalid && (control?.touched || control?.dirty);\r\n });\r\n\r\n protected readonly currencyPrefix = computed(() => {\r\n const hasPipe = this.inputConfig().pipe?.pipeType === InputPipeTypes.Currency;\r\n if (!hasPipe) return undefined;\r\n return this.inputConfig().pipe?.param;\r\n });\r\n\r\n protected passwordStrengthColor(formControlName: string) {\r\n const form = this.formGroup();\r\n const value: string = form?.value[formControlName];\r\n let strongPassword = new RegExp(\r\n '(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{8,})'\r\n );\r\n let mediumPassword = new RegExp(\r\n '((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{6,}))|((?=.*[a-z])(?=.*[A-Z])(?=.*[^A-Za-z0-9])(?=.{8,}))'\r\n );\r\n if (strongPassword.test(value)) {\r\n return 'var(--ion-color-success)';\r\n } else if (mediumPassword.test(value)) {\r\n return 'var(--ion-color-warning)';\r\n } else {\r\n return 'var(--ion-color-danger)';\r\n }\r\n }\r\n\r\n protected checkPasswordStrength(formControlName: string) {\r\n const form = this.formGroup();\r\n\r\n const value: string = form?.value[formControlName];\r\n let strongPassword = new RegExp(\r\n '(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{8,})'\r\n );\r\n let mediumPassword = new RegExp(\r\n '((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{6,}))|((?=.*[a-z])(?=.*[A-Z])(?=.*[^A-Za-z0-9])(?=.{8,}))'\r\n );\r\n if (strongPassword.test(value)) {\r\n return 'strong';\r\n } else if (mediumPassword.test(value)) {\r\n return 'medium';\r\n } else {\r\n return 'weak';\r\n }\r\n\r\n }\r\n}\r\n","<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"],"names":["i1","i2","i4","i5"],"mappings":";;;;;;;;;;;;;;;;;MA8Ba,+BAA+B,CAAA;AAhB5C,IAAA,WAAA,GAAA;AAkBW,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,QAAQ,iFAAoB;AAChD,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,QAAQ,+EAAa;QAEvC,I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AAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAMX,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAhB3C,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,+BAA+B,EAAA,OAAA,EAChC;wBACP,kBAAkB;wBAClB,cAAc;wBACd,aAAa;wBACb,eAAe;wBACf,gBAAgB;wBAChB,mBAAmB;wBACnB,yBAAyB;wBACzB,oBAAoB;qBACrB,EAAA,eAAA,EAGgB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,6mIAAA,EAAA,MAAA,EAAA,CAAA,oJAAA,CAAA,EAAA;;;;;"}
|
|
1
|
+
{"version":3,"file":"ngx-t-forms-basic-input-input-element.component-ChCeve-w.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.html"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { ReactiveFormsModule, FormGroup, FormControl } from '@angular/forms';\r\n\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\n\r\nimport { TFormInputStatusComponent } from '../../../t-form-input-status/t-form-input-status.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\nimport { InputPipeTypes, ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { InputCustomComponent } from './core/input-custom/input-custom.component';\r\n\r\n@Component({\r\n selector: 'lib-basic-input-input-element',\r\n imports: [\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatTooltipModule,\r\n ReactiveFormsModule,\r\n TFormInputStatusComponent,\r\n InputCustomComponent,\r\n ],\r\n templateUrl: './basic-input-input-element.component.html',\r\n styleUrl: './basic-input-input-element.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class BasicInputInputElementComponent {\r\n\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n readonly formGroup = input.required<FormGroup>();\r\n\r\n readonly reload = output<void>();\r\n\r\n protected readonly formControl = computed(\r\n () => this.formGroup().controls[this.inputConfig().id] as FormControl<unknown>,\r\n );\r\n\r\n protected readonly errorMessage = computed(\r\n () => getInputErrorMessage(this.inputConfig(), this.formGroup()),\r\n );\r\n\r\n protected readonly hasError = computed(() => {\r\n // Correctly access the control within the form group\r\n const control = this.formGroup().get(this.inputConfig().id);\r\n return control?.invalid && (control?.touched || control?.dirty);\r\n });\r\n\r\n protected readonly currencyPrefix = computed(() => {\r\n const hasPipe = this.inputConfig().pipe?.pipeType === InputPipeTypes.Currency;\r\n if (!hasPipe) return undefined;\r\n return this.inputConfig().pipe?.param;\r\n });\r\n\r\n protected passwordStrengthColor(formControlName: string) {\r\n const form = this.formGroup();\r\n const value: string = form?.value[formControlName];\r\n let strongPassword = new RegExp(\r\n '(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{8,})'\r\n );\r\n let mediumPassword = new RegExp(\r\n '((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{6,}))|((?=.*[a-z])(?=.*[A-Z])(?=.*[^A-Za-z0-9])(?=.{8,}))'\r\n );\r\n if (strongPassword.test(value)) {\r\n return 'var(--ion-color-success)';\r\n } else if (mediumPassword.test(value)) {\r\n return 'var(--ion-color-warning)';\r\n } else {\r\n return 'var(--ion-color-danger)';\r\n }\r\n }\r\n\r\n protected checkPasswordStrength(formControlName: string) {\r\n const form = this.formGroup();\r\n\r\n const value: string = form?.value[formControlName];\r\n let strongPassword = new RegExp(\r\n '(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{8,})'\r\n );\r\n let mediumPassword = new RegExp(\r\n '((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{6,}))|((?=.*[a-z])(?=.*[A-Z])(?=.*[^A-Za-z0-9])(?=.{8,}))'\r\n );\r\n if (strongPassword.test(value)) {\r\n return 'strong';\r\n } else if (mediumPassword.test(value)) {\r\n return 'medium';\r\n } else {\r\n return 'weak';\r\n }\r\n\r\n }\r\n}\r\n","<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"],"names":["i1","i2","i4","i5"],"mappings":";;;;;;;;;;;;;;;;;MA8Ba,+BAA+B,CAAA;AAhB5C,IAAA,WAAA,GAAA;AAkBW,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,QAAQ,iFAAoB;AAChD,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,QAAQ,+EAAa;QAEvC,IAAA,CAAA,MAAM,GAAG,MAAM,EAAQ;QAEb,IAAA,CAAA,WAAW,GAAG,QAAQ,CACvC,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,EAAE,CAAyB,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,aAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAC/E;AAEkB,QAAA,IAAA,CAAA,YAAY,GAAG,QAAQ,CACxC,MAAM,oBAAoB,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC,mFACjE;AAEkB,QAAA,IAAA,CAAA,QAAQ,GAAG,QAAQ,CAAC,MAAK;;AAE1C,YAAA,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC;AAC3D,YAAA,OAAO,OAAO,EAAE,OAAO,KAAK,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,KAAK,CAAC;AACjE,QAAA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