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,408 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, ElementRef, input, ChangeDetectionStrategy, Component, output, computed } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/forms';
|
|
4
|
+
import { NgControl, ReactiveFormsModule } from '@angular/forms';
|
|
5
|
+
import * as i2 from '@angular/material/form-field';
|
|
6
|
+
import { MatFormFieldControl, MatFormFieldModule } from '@angular/material/form-field';
|
|
7
|
+
import * as i3$2 from '@angular/material/icon';
|
|
8
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
9
|
+
import * as i2$1 from '@angular/material/button';
|
|
10
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
11
|
+
import * as i5 from '@angular/material/tooltip';
|
|
12
|
+
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
13
|
+
import { B as BaseCustomInput, q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-BefvSS-p.mjs';
|
|
14
|
+
import { Subject } from 'rxjs';
|
|
15
|
+
import * as i8 from '@angular/material/select';
|
|
16
|
+
import { MatSelectModule } from '@angular/material/select';
|
|
17
|
+
import { OptionSelectTypes } from 'ngx-t-forms-types';
|
|
18
|
+
import * as i4 from '@angular/material/chips';
|
|
19
|
+
import { MatChipsModule } from '@angular/material/chips';
|
|
20
|
+
import * as i3 from '@angular/material/radio';
|
|
21
|
+
import { MatRadioModule } from '@angular/material/radio';
|
|
22
|
+
import * as i3$1 from '@angular/material/checkbox';
|
|
23
|
+
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
24
|
+
import * as i6 from '@angular/material/list';
|
|
25
|
+
import { MatListModule } from '@angular/material/list';
|
|
26
|
+
import { TitleCasePipe } from '@angular/common';
|
|
27
|
+
|
|
28
|
+
function SelectInputComponent_Case_0_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
29
|
+
i0.ɵɵelementStart(0, "mat-chip-option", 4);
|
|
30
|
+
i0.ɵɵtext(1);
|
|
31
|
+
i0.ɵɵelementEnd();
|
|
32
|
+
} if (rf & 2) {
|
|
33
|
+
const option_r3 = ctx.$implicit;
|
|
34
|
+
i0.ɵɵproperty("value", option_r3.value);
|
|
35
|
+
i0.ɵɵadvance();
|
|
36
|
+
i0.ɵɵtextInterpolate(option_r3.label);
|
|
37
|
+
} }
|
|
38
|
+
function SelectInputComponent_Case_0_Template(rf, ctx) { if (rf & 1) {
|
|
39
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
40
|
+
i0.ɵɵelementStart(0, "mat-chip-listbox", 3);
|
|
41
|
+
i0.ɵɵlistener("change", function SelectInputComponent_Case_0_Template_mat_chip_listbox_change_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onSelectionChange($event)); });
|
|
42
|
+
i0.ɵɵrepeaterCreate(1, SelectInputComponent_Case_0_For_2_Template, 2, 2, "mat-chip-option", 4, i0.ɵɵrepeaterTrackByIndex);
|
|
43
|
+
i0.ɵɵelementEnd();
|
|
44
|
+
} if (rf & 2) {
|
|
45
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
46
|
+
i0.ɵɵproperty("multiple", !!ctx_r1.inputConfig().allowMultipleSelection)("value", ctx_r1.value)("disabled", ctx_r1.controlDisabled);
|
|
47
|
+
i0.ɵɵadvance();
|
|
48
|
+
i0.ɵɵrepeater(ctx_r1.getSelectOptions());
|
|
49
|
+
} }
|
|
50
|
+
function SelectInputComponent_Case_1_Conditional_0_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
51
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
52
|
+
i0.ɵɵelementStart(0, "mat-checkbox", 7);
|
|
53
|
+
i0.ɵɵlistener("change", function SelectInputComponent_Case_1_Conditional_0_For_1_Template_mat_checkbox_change_0_listener($event) { const option_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.checkBoxChanged($event, option_r5.value)); });
|
|
54
|
+
i0.ɵɵtext(1);
|
|
55
|
+
i0.ɵɵelementEnd();
|
|
56
|
+
} if (rf & 2) {
|
|
57
|
+
const option_r5 = ctx.$implicit;
|
|
58
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
59
|
+
i0.ɵɵproperty("value", option_r5.value)("checked", ctx_r1.isSelected(option_r5.value))("disabled", ctx_r1.controlDisabled);
|
|
60
|
+
i0.ɵɵadvance();
|
|
61
|
+
i0.ɵɵtextInterpolate1(" ", option_r5.label, "\n");
|
|
62
|
+
} }
|
|
63
|
+
function SelectInputComponent_Case_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
64
|
+
i0.ɵɵrepeaterCreate(0, SelectInputComponent_Case_1_Conditional_0_For_1_Template, 2, 4, "mat-checkbox", 6, i0.ɵɵrepeaterTrackByIndex);
|
|
65
|
+
} if (rf & 2) {
|
|
66
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
67
|
+
i0.ɵɵrepeater(ctx_r1.getSelectOptions());
|
|
68
|
+
} }
|
|
69
|
+
function SelectInputComponent_Case_1_Conditional_1_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
70
|
+
i0.ɵɵelementStart(0, "mat-radio-button", 9);
|
|
71
|
+
i0.ɵɵtext(1);
|
|
72
|
+
i0.ɵɵelementEnd();
|
|
73
|
+
} if (rf & 2) {
|
|
74
|
+
const option_r7 = ctx.$implicit;
|
|
75
|
+
i0.ɵɵproperty("value", option_r7.value);
|
|
76
|
+
i0.ɵɵadvance();
|
|
77
|
+
i0.ɵɵtextInterpolate(option_r7.label);
|
|
78
|
+
} }
|
|
79
|
+
function SelectInputComponent_Case_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
80
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
81
|
+
i0.ɵɵelementStart(0, "mat-radio-group", 8);
|
|
82
|
+
i0.ɵɵlistener("change", function SelectInputComponent_Case_1_Conditional_1_Template_mat_radio_group_change_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onSelectionChange($event)); });
|
|
83
|
+
i0.ɵɵrepeaterCreate(1, SelectInputComponent_Case_1_Conditional_1_For_2_Template, 2, 2, "mat-radio-button", 9, i0.ɵɵrepeaterTrackByIndex);
|
|
84
|
+
i0.ɵɵelementEnd();
|
|
85
|
+
} if (rf & 2) {
|
|
86
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
87
|
+
i0.ɵɵproperty("value", ctx_r1.value)("disabled", ctx_r1.controlDisabled);
|
|
88
|
+
i0.ɵɵadvance();
|
|
89
|
+
i0.ɵɵrepeater(ctx_r1.getSelectOptions());
|
|
90
|
+
} }
|
|
91
|
+
function SelectInputComponent_Case_1_Template(rf, ctx) { if (rf & 1) {
|
|
92
|
+
i0.ɵɵconditionalCreate(0, SelectInputComponent_Case_1_Conditional_0_Template, 2, 0)(1, SelectInputComponent_Case_1_Conditional_1_Template, 3, 2, "mat-radio-group", 5);
|
|
93
|
+
} if (rf & 2) {
|
|
94
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
95
|
+
i0.ɵɵconditional(!!ctx_r1.inputConfig().allowMultipleSelection ? 0 : 1);
|
|
96
|
+
} }
|
|
97
|
+
function SelectInputComponent_Case_2_For_3_Case_1_Template(rf, ctx) { if (rf & 1) {
|
|
98
|
+
i0.ɵɵelementStart(0, "mat-list-item", 12);
|
|
99
|
+
i0.ɵɵelement(1, "img", 13);
|
|
100
|
+
i0.ɵɵelementStart(2, "div", 14);
|
|
101
|
+
i0.ɵɵtext(3);
|
|
102
|
+
i0.ɵɵpipe(4, "titlecase");
|
|
103
|
+
i0.ɵɵelementEnd();
|
|
104
|
+
i0.ɵɵelementStart(5, "div", 15);
|
|
105
|
+
i0.ɵɵtext(6);
|
|
106
|
+
i0.ɵɵelementEnd()();
|
|
107
|
+
} if (rf & 2) {
|
|
108
|
+
const option_r9 = i0.ɵɵnextContext().$implicit;
|
|
109
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
110
|
+
i0.ɵɵadvance();
|
|
111
|
+
i0.ɵɵproperty("src", ctx_r1.getAvatar(option_r9.username), i0.ɵɵsanitizeUrl);
|
|
112
|
+
i0.ɵɵadvance(2);
|
|
113
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 3, option_r9.username));
|
|
114
|
+
i0.ɵɵadvance(3);
|
|
115
|
+
i0.ɵɵtextInterpolate1(" ", option_r9.email);
|
|
116
|
+
} }
|
|
117
|
+
function SelectInputComponent_Case_2_For_3_Case_2_Template(rf, ctx) { if (rf & 1) {
|
|
118
|
+
i0.ɵɵtext(0);
|
|
119
|
+
} if (rf & 2) {
|
|
120
|
+
const option_r9 = i0.ɵɵnextContext().$implicit;
|
|
121
|
+
i0.ɵɵtextInterpolate1(" ", option_r9.label, " ");
|
|
122
|
+
} }
|
|
123
|
+
function SelectInputComponent_Case_2_For_3_Template(rf, ctx) { if (rf & 1) {
|
|
124
|
+
i0.ɵɵelementStart(0, "mat-option", 11);
|
|
125
|
+
i0.ɵɵconditionalCreate(1, SelectInputComponent_Case_2_For_3_Case_1_Template, 7, 5, "mat-list-item", 12)(2, SelectInputComponent_Case_2_For_3_Case_2_Template, 1, 1);
|
|
126
|
+
i0.ɵɵelementEnd();
|
|
127
|
+
} if (rf & 2) {
|
|
128
|
+
let tmp_14_0;
|
|
129
|
+
const option_r9 = ctx.$implicit;
|
|
130
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
131
|
+
i0.ɵɵproperty("value", option_r9.value)("disabled", ctx_r1.controlDisabled);
|
|
132
|
+
i0.ɵɵadvance();
|
|
133
|
+
i0.ɵɵconditional((tmp_14_0 = (tmp_14_0 = ctx_r1.inputConfig().matOptions) == null ? null : tmp_14_0.optionType) === "user" ? 1 : 2);
|
|
134
|
+
} }
|
|
135
|
+
function SelectInputComponent_Case_2_Template(rf, ctx) { if (rf & 1) {
|
|
136
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
137
|
+
i0.ɵɵelementStart(0, "mat-select", 10, 0);
|
|
138
|
+
i0.ɵɵlistener("selectionChange", function SelectInputComponent_Case_2_Template_mat_select_selectionChange_0_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onSelectionChange($event)); });
|
|
139
|
+
i0.ɵɵrepeaterCreate(2, SelectInputComponent_Case_2_For_3_Template, 3, 3, "mat-option", 11, i0.ɵɵrepeaterTrackByIndex);
|
|
140
|
+
i0.ɵɵelementEnd();
|
|
141
|
+
} if (rf & 2) {
|
|
142
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
143
|
+
i0.ɵɵproperty("multiple", !!ctx_r1.inputConfig().allowMultipleSelection)("value", ctx_r1.value)("disabled", ctx_r1.controlDisabled);
|
|
144
|
+
i0.ɵɵadvance(2);
|
|
145
|
+
i0.ɵɵrepeater(ctx_r1.getSelectOptions());
|
|
146
|
+
} }
|
|
147
|
+
const customInputConfig = {
|
|
148
|
+
controlType: 'lib-select-input',
|
|
149
|
+
nextId: 0,
|
|
150
|
+
};
|
|
151
|
+
class SelectInputComponent extends BaseCustomInput {
|
|
152
|
+
constructor() {
|
|
153
|
+
super(inject(NgControl, { optional: true, self: true }), inject(ElementRef), customInputConfig);
|
|
154
|
+
this.inputConfig = input.required(...(ngDevMode ? [{ debugName: "inputConfig" }] : /* istanbul ignore next */ []));
|
|
155
|
+
this.optionSelectTypes = OptionSelectTypes;
|
|
156
|
+
this.#valueSubject = new Subject();
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* True when the control must not accept selection changes — either the form
|
|
160
|
+
* control was disabled (`BaseCustomInput.disabled`) or the descriptor marks the
|
|
161
|
+
* field `readonly`/`disabled`. Mirrors the reference `readonly || disabled`
|
|
162
|
+
* contract so every option-select variant blocks interaction uniformly.
|
|
163
|
+
*/
|
|
164
|
+
get controlDisabled() {
|
|
165
|
+
const cfg = this.inputConfig();
|
|
166
|
+
return this.disabled || !!cfg?.readonly || !!cfg?.disabled;
|
|
167
|
+
}
|
|
168
|
+
get empty() {
|
|
169
|
+
return !this.value;
|
|
170
|
+
}
|
|
171
|
+
get shouldLabelFloat() {
|
|
172
|
+
return true;
|
|
173
|
+
}
|
|
174
|
+
#valueSubject;
|
|
175
|
+
onInputChange($event) {
|
|
176
|
+
this.#valueSubject.next($event);
|
|
177
|
+
}
|
|
178
|
+
onSelectionChange(event) {
|
|
179
|
+
this.value = event.value;
|
|
180
|
+
this.stateChanges.next();
|
|
181
|
+
this.onChange(this.value);
|
|
182
|
+
}
|
|
183
|
+
checkBoxChanged(event, value) {
|
|
184
|
+
const current = Array.isArray(this.value) ? this.value : [];
|
|
185
|
+
if (event.checked) {
|
|
186
|
+
this.value = [...current, value];
|
|
187
|
+
}
|
|
188
|
+
else {
|
|
189
|
+
this.value = current.filter((v) => v !== value);
|
|
190
|
+
}
|
|
191
|
+
this.stateChanges.next();
|
|
192
|
+
this.onChange(this.value);
|
|
193
|
+
}
|
|
194
|
+
isSelected(value) {
|
|
195
|
+
if (!this.value || !Array.isArray(this.value))
|
|
196
|
+
return false;
|
|
197
|
+
return this.value.includes(value);
|
|
198
|
+
}
|
|
199
|
+
// NOTE(phase-4): `matOptions.options` is `(FormInputBasicOptionInterface | DynamicObjectInterface)[]`
|
|
200
|
+
// but templates access `.value`, `.label`, `.username`, `.email` directly. Until the template
|
|
201
|
+
// is split per `optionType`, the return shape stays `any[]` to keep strictTemplates passing.
|
|
202
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- TODO(phase-4): split template per matOptions.optionType, then narrow.
|
|
203
|
+
getSelectOptions() {
|
|
204
|
+
const cfg = this.inputConfig();
|
|
205
|
+
if (!cfg?.matOptions)
|
|
206
|
+
return [];
|
|
207
|
+
if (Array.isArray(cfg.matOptions?.options)) {
|
|
208
|
+
return cfg.matOptions?.options || [];
|
|
209
|
+
}
|
|
210
|
+
return [];
|
|
211
|
+
}
|
|
212
|
+
getAvatar(userName) {
|
|
213
|
+
return `https://ui-avatars.com/api/?color=EADDFF&font-size=0.36&bold=true&background=random&name=${userName}`;
|
|
214
|
+
}
|
|
215
|
+
get inputControl() {
|
|
216
|
+
return this.ngControl?.control ?? null;
|
|
217
|
+
}
|
|
218
|
+
static { this.ɵfac = function SelectInputComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SelectInputComponent)(); }; }
|
|
219
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectInputComponent, selectors: [["lib-select-input"]], hostVars: 3, hostBindings: function SelectInputComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
220
|
+
i0.ɵɵdomProperty("id", ctx.id);
|
|
221
|
+
i0.ɵɵclassProp("floating", ctx.shouldLabelFloat);
|
|
222
|
+
} }, inputs: { inputConfig: [1, "inputConfig"] }, features: [i0.ɵɵProvidersFeature([{ provide: MatFormFieldControl, useExisting: SelectInputComponent }]), i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 1, consts: [["sele", ""], ["aria-l", "", "abel", "Chip select options", 3, "multiple", "value", "disabled"], [3, "multiple", "value", "disabled"], ["aria-l", "", "abel", "Chip select options", 3, "change", "multiple", "value", "disabled"], [3, "value"], ["aria-labelledby", "example-radio-group-label", 1, "example-radio-group", 3, "value", "disabled"], [1, "example-margin", 3, "value", "checked", "disabled"], [1, "example-margin", 3, "change", "value", "checked", "disabled"], ["aria-labelledby", "example-radio-group-label", 1, "example-radio-group", 3, "change", "value", "disabled"], [1, "example-radio-button", 3, "value"], [3, "selectionChange", "multiple", "value", "disabled"], [3, "value", "disabled"], [2, "padding", "0px"], ["matListItemAvatar", "", 3, "src"], ["matListItemTitle", ""], ["matListItemLine", ""]], template: function SelectInputComponent_Template(rf, ctx) { if (rf & 1) {
|
|
223
|
+
i0.ɵɵconditionalCreate(0, SelectInputComponent_Case_0_Template, 3, 3, "mat-chip-listbox", 1)(1, SelectInputComponent_Case_1_Template, 2, 1)(2, SelectInputComponent_Case_2_Template, 4, 3, "mat-select", 2);
|
|
224
|
+
} if (rf & 2) {
|
|
225
|
+
let tmp_0_0;
|
|
226
|
+
i0.ɵɵconditional((tmp_0_0 = ctx.inputConfig().optionSelectType) === ctx.optionSelectTypes.ChipSelect ? 0 : tmp_0_0 === ctx.optionSelectTypes.RadioButton ? 1 : 2);
|
|
227
|
+
} }, dependencies: [ReactiveFormsModule,
|
|
228
|
+
MatSelectModule, i8.MatSelect, i8.MatOption, MatChipsModule, i4.MatChipListbox, i4.MatChipOption, MatRadioModule, i3.MatRadioGroup, i3.MatRadioButton, MatCheckboxModule, i3$1.MatCheckbox, MatListModule, i6.MatListItem, i6.MatListItemAvatar, i6.MatListItemLine, i6.MatListItemTitle, TitleCasePipe], encapsulation: 2, changeDetection: 0 }); }
|
|
229
|
+
}
|
|
230
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectInputComponent, [{
|
|
231
|
+
type: Component,
|
|
232
|
+
args: [{ selector: 'lib-select-input', imports: [
|
|
233
|
+
ReactiveFormsModule,
|
|
234
|
+
MatSelectModule,
|
|
235
|
+
MatChipsModule,
|
|
236
|
+
MatRadioModule,
|
|
237
|
+
MatCheckboxModule,
|
|
238
|
+
MatListModule,
|
|
239
|
+
TitleCasePipe,
|
|
240
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
241
|
+
'[class.floating]': 'shouldLabelFloat',
|
|
242
|
+
'[id]': 'id',
|
|
243
|
+
}, providers: [{ provide: MatFormFieldControl, useExisting: SelectInputComponent }], template: "@switch (inputConfig().optionSelectType) {\r\n@case (optionSelectTypes.ChipSelect) {\r\n<mat-chip-listbox [multiple]=\"!!inputConfig().allowMultipleSelection\" [value]=\"value\" [disabled]=\"controlDisabled\"\r\n (change)=\"onSelectionChange($event)\" aria-l abel=\"Chip select options\">\r\n @for (option of getSelectOptions(); track $index) {\r\n <mat-chip-option [value]=\"option.value\">{{option.label}}</mat-chip-option>\r\n }\r\n</mat-chip-listbox>\r\n}\r\n@case (optionSelectTypes.RadioButton) {\r\n@if (!!inputConfig().allowMultipleSelection) {\r\n@for (option of getSelectOptions(); track $index) {\r\n<mat-checkbox\r\n [value]=\"option.value\"\r\n [checked]=\"isSelected(option.value)\"\r\n [disabled]=\"controlDisabled\"\r\n (change)=\"checkBoxChanged($event, option.value)\" class=\"example-margin\">\r\n {{option.label}}\r\n</mat-checkbox>\r\n}\r\n} @else {\r\n<mat-radio-group aria-labelledby=\"example-radio-group-label\" class=\"example-radio-group\"\r\n (change)=\"onSelectionChange($event)\" [value]=\"value\" [disabled]=\"controlDisabled\">\r\n @for (option of getSelectOptions(); track $index) {\r\n <mat-radio-button class=\"example-radio-button\" [value]=\"option.value\">{{option.label}}</mat-radio-button>\r\n }\r\n</mat-radio-group>\r\n}\r\n\r\n}\r\n@default {\r\n\r\n<mat-select [multiple]=\"!!inputConfig().allowMultipleSelection\" #sele (selectionChange)=\"onSelectionChange($event)\"\r\n [value]=\"value\" [disabled]=\"controlDisabled\">\r\n\r\n\r\n\r\n @for (option of getSelectOptions(); track $index) {\r\n <mat-option [value]=\"option.value\" [disabled]=\"controlDisabled\">\r\n @switch (inputConfig().matOptions?.optionType) {\r\n @case ('user') {\r\n <mat-list-item style=\"padding: 0px;\">\r\n <img matListItemAvatar [src]=\"getAvatar(option.username)\" />\r\n <div matListItemTitle>{{ option.username | titlecase }}</div>\r\n <div matListItemLine> {{ option.email }}</div>\r\n </mat-list-item>\r\n\r\n }\r\n @default {\r\n {{ option.label }}\r\n }\r\n }\r\n\r\n </mat-option>\r\n }\r\n\r\n</mat-select>\r\n\r\n}\r\n}\r\n" }]
|
|
244
|
+
}], () => [], { inputConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputConfig", required: true }] }] }); })();
|
|
245
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectInputComponent, { className: "SelectInputComponent", filePath: "lib/components/t-form-input/elements/select-input-element/elements/select-input/select-input.component.ts", lineNumber: 40 }); })();
|
|
246
|
+
|
|
247
|
+
function SelectInputElementComponent_Conditional_1_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
248
|
+
i0.ɵɵelementStart(0, "mat-hint", 4);
|
|
249
|
+
i0.ɵɵtext(1);
|
|
250
|
+
i0.ɵɵelementEnd();
|
|
251
|
+
} if (rf & 2) {
|
|
252
|
+
const inputConfig_r1 = i0.ɵɵnextContext();
|
|
253
|
+
i0.ɵɵadvance();
|
|
254
|
+
i0.ɵɵtextInterpolate1(" ", inputConfig_r1.temporaryHint || inputConfig_r1.hintLabel, " ");
|
|
255
|
+
} }
|
|
256
|
+
function SelectInputElementComponent_Conditional_1_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
257
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
258
|
+
i0.ɵɵelementStart(0, "button", 12);
|
|
259
|
+
i0.ɵɵlistener("click", function SelectInputElementComponent_Conditional_1_Conditional_8_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r2); const inputConfig_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(inputConfig_r1.canReload.emit()); });
|
|
260
|
+
i0.ɵɵelementStart(1, "mat-icon", 13);
|
|
261
|
+
i0.ɵɵtext(2, "sync");
|
|
262
|
+
i0.ɵɵelementEnd()();
|
|
263
|
+
} }
|
|
264
|
+
function SelectInputElementComponent_Conditional_1_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
265
|
+
i0.ɵɵelementStart(0, "mat-icon", 7);
|
|
266
|
+
i0.ɵɵtext(1);
|
|
267
|
+
i0.ɵɵelementEnd();
|
|
268
|
+
} if (rf & 2) {
|
|
269
|
+
const inputConfig_r1 = i0.ɵɵnextContext();
|
|
270
|
+
i0.ɵɵadvance();
|
|
271
|
+
i0.ɵɵtextInterpolate(inputConfig_r1.prefixIcon);
|
|
272
|
+
} }
|
|
273
|
+
function SelectInputElementComponent_Conditional_1_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
274
|
+
i0.ɵɵelementStart(0, "mat-icon", 8);
|
|
275
|
+
i0.ɵɵtext(1);
|
|
276
|
+
i0.ɵɵelementEnd();
|
|
277
|
+
} if (rf & 2) {
|
|
278
|
+
const inputConfig_r1 = i0.ɵɵnextContext();
|
|
279
|
+
i0.ɵɵadvance();
|
|
280
|
+
i0.ɵɵtextInterpolate(inputConfig_r1.suffixIcon);
|
|
281
|
+
} }
|
|
282
|
+
function SelectInputElementComponent_Conditional_1_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
283
|
+
i0.ɵɵelementStart(0, "span", 9);
|
|
284
|
+
i0.ɵɵtext(1);
|
|
285
|
+
i0.ɵɵelementEnd();
|
|
286
|
+
} if (rf & 2) {
|
|
287
|
+
const inputConfig_r1 = i0.ɵɵnextContext();
|
|
288
|
+
i0.ɵɵadvance();
|
|
289
|
+
i0.ɵɵtextInterpolate(inputConfig_r1.prefixText);
|
|
290
|
+
} }
|
|
291
|
+
function SelectInputElementComponent_Conditional_1_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
292
|
+
i0.ɵɵelementStart(0, "span", 10);
|
|
293
|
+
i0.ɵɵtext(1);
|
|
294
|
+
i0.ɵɵelementEnd();
|
|
295
|
+
} if (rf & 2) {
|
|
296
|
+
const inputConfig_r1 = i0.ɵɵnextContext();
|
|
297
|
+
i0.ɵɵadvance();
|
|
298
|
+
i0.ɵɵtextInterpolate(inputConfig_r1.suffixText);
|
|
299
|
+
} }
|
|
300
|
+
function SelectInputElementComponent_Conditional_1_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
301
|
+
i0.ɵɵelementStart(0, "mat-hint", 11);
|
|
302
|
+
i0.ɵɵtext(1);
|
|
303
|
+
i0.ɵɵelementEnd();
|
|
304
|
+
} if (rf & 2) {
|
|
305
|
+
let tmp_3_0;
|
|
306
|
+
const inputConfig_r1 = i0.ɵɵnextContext();
|
|
307
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
308
|
+
i0.ɵɵadvance();
|
|
309
|
+
i0.ɵɵtextInterpolate1(" ", (((tmp_3_0 = ctx_r2.formGroup().controls[inputConfig_r1.id]) == null ? null : tmp_3_0.value == null ? null : tmp_3_0.value.length) || 0) + "/" + inputConfig_r1.maxLength, " ");
|
|
310
|
+
} }
|
|
311
|
+
function SelectInputElementComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
312
|
+
i0.ɵɵelementStart(0, "mat-form-field", 1)(1, "mat-label");
|
|
313
|
+
i0.ɵɵtext(2);
|
|
314
|
+
i0.ɵɵelement(3, "lib-t-form-input-status", 2);
|
|
315
|
+
i0.ɵɵelementEnd();
|
|
316
|
+
i0.ɵɵelement(4, "lib-select-input", 3);
|
|
317
|
+
i0.ɵɵconditionalCreate(5, SelectInputElementComponent_Conditional_1_Conditional_5_Template, 2, 1, "mat-hint", 4);
|
|
318
|
+
i0.ɵɵelementStart(6, "mat-error", 5);
|
|
319
|
+
i0.ɵɵtext(7);
|
|
320
|
+
i0.ɵɵelementEnd();
|
|
321
|
+
i0.ɵɵconditionalCreate(8, SelectInputElementComponent_Conditional_1_Conditional_8_Template, 3, 0, "button", 6);
|
|
322
|
+
i0.ɵɵconditionalCreate(9, SelectInputElementComponent_Conditional_1_Conditional_9_Template, 2, 1, "mat-icon", 7);
|
|
323
|
+
i0.ɵɵconditionalCreate(10, SelectInputElementComponent_Conditional_1_Conditional_10_Template, 2, 1, "mat-icon", 8);
|
|
324
|
+
i0.ɵɵconditionalCreate(11, SelectInputElementComponent_Conditional_1_Conditional_11_Template, 2, 1, "span", 9);
|
|
325
|
+
i0.ɵɵconditionalCreate(12, SelectInputElementComponent_Conditional_1_Conditional_12_Template, 2, 1, "span", 10);
|
|
326
|
+
i0.ɵɵconditionalCreate(13, SelectInputElementComponent_Conditional_1_Conditional_13_Template, 2, 1, "mat-hint", 11);
|
|
327
|
+
i0.ɵɵelementEnd();
|
|
328
|
+
} if (rf & 2) {
|
|
329
|
+
const inputConfig_r1 = ctx;
|
|
330
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
331
|
+
i0.ɵɵproperty("appearance", inputConfig_r1.appearance || "fill");
|
|
332
|
+
i0.ɵɵadvance(2);
|
|
333
|
+
i0.ɵɵtextInterpolate1(" ", inputConfig_r1.label, " ");
|
|
334
|
+
i0.ɵɵadvance();
|
|
335
|
+
i0.ɵɵproperty("inputConfig", inputConfig_r1);
|
|
336
|
+
i0.ɵɵadvance();
|
|
337
|
+
i0.ɵɵproperty("inputConfig", inputConfig_r1)("required", inputConfig_r1.required)("formControlName", inputConfig_r1.id);
|
|
338
|
+
i0.ɵɵadvance();
|
|
339
|
+
i0.ɵɵconditional(inputConfig_r1.hintLabel || inputConfig_r1.temporaryHint ? 5 : -1);
|
|
340
|
+
i0.ɵɵadvance(2);
|
|
341
|
+
i0.ɵɵtextInterpolate(ctx_r2.errorMessage());
|
|
342
|
+
i0.ɵɵadvance();
|
|
343
|
+
i0.ɵɵconditional((inputConfig_r1.canReload == null ? null : inputConfig_r1.canReload.canReload) ? 8 : -1);
|
|
344
|
+
i0.ɵɵadvance();
|
|
345
|
+
i0.ɵɵconditional(inputConfig_r1.prefixIcon ? 9 : -1);
|
|
346
|
+
i0.ɵɵadvance();
|
|
347
|
+
i0.ɵɵconditional(inputConfig_r1.suffixIcon && inputConfig_r1.id !== "password" ? 10 : -1);
|
|
348
|
+
i0.ɵɵadvance();
|
|
349
|
+
i0.ɵɵconditional(inputConfig_r1.prefixText ? 11 : -1);
|
|
350
|
+
i0.ɵɵadvance();
|
|
351
|
+
i0.ɵɵconditional(inputConfig_r1.suffixText ? 12 : -1);
|
|
352
|
+
i0.ɵɵadvance();
|
|
353
|
+
i0.ɵɵconditional(inputConfig_r1.maxLength && ctx_r2.formGroup() ? 13 : -1);
|
|
354
|
+
} }
|
|
355
|
+
/** Wraps a reactive select control inside a `mat-form-field`. */
|
|
356
|
+
class SelectInputElementComponent {
|
|
357
|
+
constructor() {
|
|
358
|
+
this.inputConfig = input.required(...(ngDevMode ? [{ debugName: "inputConfig" }] : /* istanbul ignore next */ []));
|
|
359
|
+
this.formGroup = input.required(...(ngDevMode ? [{ debugName: "formGroup" }] : /* istanbul ignore next */ []));
|
|
360
|
+
this.reload = output();
|
|
361
|
+
this.errorMessage = computed(() => getInputErrorMessage(this.inputConfig(), this.formGroup()), ...(ngDevMode ? [{ debugName: "errorMessage" }] : /* istanbul ignore next */ []));
|
|
362
|
+
this.errorStateMatcher = {
|
|
363
|
+
isErrorState(control, _form) {
|
|
364
|
+
return !!(control && control.invalid && (control.dirty || control.touched));
|
|
365
|
+
},
|
|
366
|
+
};
|
|
367
|
+
}
|
|
368
|
+
getSelectOptions() {
|
|
369
|
+
const cfg = this.inputConfig();
|
|
370
|
+
if (!cfg.matOptions)
|
|
371
|
+
return [];
|
|
372
|
+
if (Array.isArray(cfg.matOptions?.options)) {
|
|
373
|
+
return cfg.matOptions.options ?? [];
|
|
374
|
+
}
|
|
375
|
+
return [];
|
|
376
|
+
}
|
|
377
|
+
selectInputSearchWord(event) {
|
|
378
|
+
this.optionsSearchWordKeyWord = event.detail.value.toUpperCase();
|
|
379
|
+
}
|
|
380
|
+
static { this.ɵfac = function SelectInputElementComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SelectInputElementComponent)(); }; }
|
|
381
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectInputElementComponent, selectors: [["lib-select-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"], [3, "inputConfig", "required", "formControlName"], [1, "inputHint"], ["matTooltipClass", "errorToolTip", 1, "oneLineTextEllipsis"], ["mat-icon-button", "", "matTooltip", "Click to refresh this field.", "matSuffix", "", 1, "input-sync-button", 2, "margin-right", "4px"], ["matPrefix", ""], ["matSuffix", ""], ["matPrefix", "", 2, "top", "0"], ["matSuffix", "", 2, "padding-left", "5px"], ["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 SelectInputElementComponent_Template(rf, ctx) { if (rf & 1) {
|
|
382
|
+
i0.ɵɵelementContainerStart(0, 0);
|
|
383
|
+
i0.ɵɵconditionalCreate(1, SelectInputElementComponent_Conditional_1_Template, 14, 14, "mat-form-field", 1);
|
|
384
|
+
i0.ɵɵelementContainerEnd();
|
|
385
|
+
} if (rf & 2) {
|
|
386
|
+
let tmp_1_0;
|
|
387
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup());
|
|
388
|
+
i0.ɵɵadvance();
|
|
389
|
+
i0.ɵɵconditional((tmp_1_0 = ctx.inputConfig()) ? 1 : -1, tmp_1_0);
|
|
390
|
+
} }, dependencies: [ReactiveFormsModule, i1.NgControlStatus, i1.NgControlStatusGroup, i1.RequiredValidator, i1.FormGroupDirective, i1.FormControlName, MatFormFieldModule, i2.MatFormField, i2.MatLabel, i2.MatHint, i2.MatError, i2.MatPrefix, i2.MatSuffix, MatIconModule, i3$2.MatIcon, MatButtonModule, i2$1.MatIconButton, MatTooltipModule, i5.MatTooltip, SelectInputComponent,
|
|
391
|
+
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 }); }
|
|
392
|
+
}
|
|
393
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectInputElementComponent, [{
|
|
394
|
+
type: Component,
|
|
395
|
+
args: [{ selector: 'lib-select-input-element', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
396
|
+
ReactiveFormsModule,
|
|
397
|
+
MatFormFieldModule,
|
|
398
|
+
MatIconModule,
|
|
399
|
+
MatButtonModule,
|
|
400
|
+
MatTooltipModule,
|
|
401
|
+
SelectInputComponent,
|
|
402
|
+
TFormInputStatusComponent,
|
|
403
|
+
], template: "<ng-container [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-select-input\r\n [inputConfig]=\"inputConfig\"\r\n [required]=\"inputConfig.required\"\r\n [formControlName]=\"inputConfig.id\"\r\n ></lib-select-input>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n\r\n @if (inputConfig.canReload?.canReload) {\r\n <button\r\n mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig.canReload.emit()\"\r\n matSuffix\r\n >\r\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint 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</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"] }]
|
|
404
|
+
}], 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"] }] }); })();
|
|
405
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectInputElementComponent, { className: "SelectInputElementComponent", filePath: "lib/components/t-form-input/elements/select-input-element/select-input-element.component.ts", lineNumber: 29 }); })();
|
|
406
|
+
|
|
407
|
+
export { SelectInputElementComponent };
|
|
408
|
+
//# sourceMappingURL=ngx-t-forms-select-input-element.component-BqtJi4ek.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-t-forms-select-input-element.component-BqtJi4ek.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/select-input-element/elements/select-input/select-input.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/select-input-element/elements/select-input/select-input.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/select-input-element/select-input-element.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/select-input-element/select-input-element.component.ts"],"sourcesContent":["@switch (inputConfig().optionSelectType) {\r\n@case (optionSelectTypes.ChipSelect) {\r\n<mat-chip-listbox [multiple]=\"!!inputConfig().allowMultipleSelection\" [value]=\"value\" [disabled]=\"controlDisabled\"\r\n (change)=\"onSelectionChange($event)\" aria-l abel=\"Chip select options\">\r\n @for (option of getSelectOptions(); track $index) {\r\n <mat-chip-option [value]=\"option.value\">{{option.label}}</mat-chip-option>\r\n }\r\n</mat-chip-listbox>\r\n}\r\n@case (optionSelectTypes.RadioButton) {\r\n@if (!!inputConfig().allowMultipleSelection) {\r\n@for (option of getSelectOptions(); track $index) {\r\n<mat-checkbox\r\n [value]=\"option.value\"\r\n [checked]=\"isSelected(option.value)\"\r\n [disabled]=\"controlDisabled\"\r\n (change)=\"checkBoxChanged($event, option.value)\" class=\"example-margin\">\r\n {{option.label}}\r\n</mat-checkbox>\r\n}\r\n} @else {\r\n<mat-radio-group aria-labelledby=\"example-radio-group-label\" class=\"example-radio-group\"\r\n (change)=\"onSelectionChange($event)\" [value]=\"value\" [disabled]=\"controlDisabled\">\r\n @for (option of getSelectOptions(); track $index) {\r\n <mat-radio-button class=\"example-radio-button\" [value]=\"option.value\">{{option.label}}</mat-radio-button>\r\n }\r\n</mat-radio-group>\r\n}\r\n\r\n}\r\n@default {\r\n\r\n<mat-select [multiple]=\"!!inputConfig().allowMultipleSelection\" #sele (selectionChange)=\"onSelectionChange($event)\"\r\n [value]=\"value\" [disabled]=\"controlDisabled\">\r\n\r\n\r\n\r\n @for (option of getSelectOptions(); track $index) {\r\n <mat-option [value]=\"option.value\" [disabled]=\"controlDisabled\">\r\n @switch (inputConfig().matOptions?.optionType) {\r\n @case ('user') {\r\n <mat-list-item style=\"padding: 0px;\">\r\n <img matListItemAvatar [src]=\"getAvatar(option.username)\" />\r\n <div matListItemTitle>{{ option.username | titlecase }}</div>\r\n <div matListItemLine> {{ option.email }}</div>\r\n </mat-list-item>\r\n\r\n }\r\n @default {\r\n {{ option.label }}\r\n }\r\n }\r\n\r\n </mat-option>\r\n }\r\n\r\n</mat-select>\r\n\r\n}\r\n}\r\n","import { ChangeDetectionStrategy, Component, ElementRef, inject, input } from '@angular/core';\r\nimport { MatFormFieldControl } from '@angular/material/form-field';\r\nimport { BaseCustomInput, BaseCustomInputConfig } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';\r\n\r\nimport { AbstractControl, NgControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { Subject } from 'rxjs';\r\nimport { MatSelectChange, MatSelectModule } from '@angular/material/select';\r\nimport { ITowerStepColumn, OptionSelectTypes } from 'ngx-t-forms-types';\r\nimport { MatChipListboxChange, MatChipsModule } from '@angular/material/chips';\r\nimport { MatRadioChange, MatRadioModule } from '@angular/material/radio';\r\nimport { MatCheckboxChange, MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { TitleCasePipe } from '@angular/common';\r\n\r\nconst customInputConfig: BaseCustomInputConfig = {\r\n controlType: 'lib-select-input',\r\n nextId: 0,\r\n};\r\n\r\n@Component({\r\n selector: 'lib-select-input',\r\n imports: [\r\n ReactiveFormsModule,\r\n MatSelectModule,\r\n MatChipsModule,\r\n MatRadioModule,\r\n MatCheckboxModule,\r\n MatListModule,\r\n TitleCasePipe,\r\n ],\r\n templateUrl: './select-input.component.html',\r\n styleUrl: './select-input.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n host: {\r\n '[class.floating]': 'shouldLabelFloat',\r\n '[id]': 'id',\r\n },\r\n providers: [{ provide: MatFormFieldControl, useExisting: SelectInputComponent }],\r\n})\r\nexport class SelectInputComponent extends BaseCustomInput<string | number | Date | string[]> {\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n\r\n constructor() {\r\n super(\r\n inject(NgControl, { optional: true, self: true }) as NgControl,\r\n inject<ElementRef<HTMLElement>>(ElementRef),\r\n customInputConfig,\r\n );\r\n }\r\n\r\n protected readonly optionSelectTypes = OptionSelectTypes;\r\n\r\n /**\r\n * True when the control must not accept selection changes — either the form\r\n * control was disabled (`BaseCustomInput.disabled`) or the descriptor marks the\r\n * field `readonly`/`disabled`. Mirrors the reference `readonly || disabled`\r\n * contract so every option-select variant blocks interaction uniformly.\r\n */\r\n protected get controlDisabled(): boolean {\r\n const cfg = this.inputConfig();\r\n return this.disabled || !!cfg?.readonly || !!cfg?.disabled;\r\n }\r\n\r\n override get empty(): boolean {\r\n return !this.value;\r\n }\r\n\r\n override get shouldLabelFloat(): boolean {\r\n return true;\r\n }\r\n\r\n readonly #valueSubject = new Subject<unknown>();\r\n\r\n protected onInputChange($event: unknown): void {\r\n this.#valueSubject.next($event);\r\n }\r\n\r\n protected onSelectionChange(event: MatSelectChange | MatChipListboxChange | MatRadioChange): void {\r\n this.value = event.value;\r\n this.stateChanges.next();\r\n this.onChange(this.value);\r\n }\r\n\r\n protected checkBoxChanged(event: MatCheckboxChange, value: string): void {\r\n const current = Array.isArray(this.value) ? (this.value as string[]) : [];\r\n if (event.checked) {\r\n this.value = [...current, value];\r\n } else {\r\n this.value = current.filter((v) => v !== value);\r\n }\r\n this.stateChanges.next();\r\n this.onChange(this.value);\r\n }\r\n\r\n protected isSelected(value: string): boolean {\r\n if (!this.value || !Array.isArray(this.value)) return false;\r\n return (this.value as string[]).includes(value);\r\n }\r\n\r\n // NOTE(phase-4): `matOptions.options` is `(FormInputBasicOptionInterface | DynamicObjectInterface)[]`\r\n // but templates access `.value`, `.label`, `.username`, `.email` directly. Until the template\r\n // is split per `optionType`, the return shape stays `any[]` to keep strictTemplates passing.\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- TODO(phase-4): split template per matOptions.optionType, then narrow.\r\n protected getSelectOptions(): any[] {\r\n const cfg = this.inputConfig();\r\n if (!cfg?.matOptions) return [];\r\n if (Array.isArray(cfg.matOptions?.options)) {\r\n return cfg.matOptions?.options || [];\r\n }\r\n return [];\r\n }\r\n\r\n protected getAvatar(userName: unknown): string {\r\n return `https://ui-avatars.com/api/?color=EADDFF&font-size=0.36&bold=true&background=random&name=${userName}`;\r\n }\r\n\r\n protected get inputControl(): AbstractControl | null {\r\n return this.ngControl?.control ?? null;\r\n }\r\n}\r\n","<ng-container [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-select-input\r\n [inputConfig]=\"inputConfig\"\r\n [required]=\"inputConfig.required\"\r\n [formControlName]=\"inputConfig.id\"\r\n ></lib-select-input>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n\r\n @if (inputConfig.canReload?.canReload) {\r\n <button\r\n mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig.canReload.emit()\"\r\n matSuffix\r\n >\r\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint 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</ng-container>\r\n","import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { FormControl, FormGroup, FormGroupDirective, NgForm, ReactiveFormsModule } from '@angular/forms';\r\nimport { ErrorStateMatcher } from '@angular/material/core';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport type { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { TFormInputStatusComponent } from '../../../t-form-input-status/t-form-input-status.component';\r\nimport { SelectInputComponent } from './elements/select-input/select-input.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\n\r\n/** Wraps a reactive select control inside a `mat-form-field`. */\r\n@Component({\r\n selector: 'lib-select-input-element',\r\n templateUrl: './select-input-element.component.html',\r\n styleUrl: './select-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 SelectInputComponent,\r\n TFormInputStatusComponent,\r\n ],\r\n})\r\nexport class SelectInputElementComponent {\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 optionsSearchWordKeyWord!: string;\r\n\r\n protected readonly errorMessage = computed(() =>\r\n getInputErrorMessage(this.inputConfig(), this.formGroup()),\r\n );\r\n\r\n protected readonly errorStateMatcher: ErrorStateMatcher = {\r\n isErrorState(control: FormControl | null, _form: FormGroupDirective | NgForm | null): boolean {\r\n return !!(control && control.invalid && (control.dirty || control.touched));\r\n },\r\n };\r\n\r\n protected getSelectOptions(): unknown[] {\r\n const cfg = this.inputConfig();\r\n if (!cfg.matOptions) return [];\r\n if (Array.isArray(cfg.matOptions?.options)) {\r\n return cfg.matOptions.options ?? [];\r\n }\r\n return [];\r\n }\r\n\r\n protected selectInputSearchWord(event: { detail: { value: string } }): void {\r\n this.optionsSearchWordKeyWord = event.detail.value.toUpperCase();\r\n }\r\n}\r\n"],"names":["i1","i2","i4","i5"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKE,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,iBAAA,EAAA,CAAA,CAAwC;IAAA,EAAA,CAAA,MAAA,CAAA,CAAA,CAAgB;IAAA,EAAA,CAAA,YAAA,EAAkB;;;IAAzD,EAAA,CAAA,UAAA,CAAA,OAAA,EAAA,SAAA,CAAA,KAAA,CAAsB;IAAC,EAAA,CAAA,SAAA,EAAgB;IAAhB,EAAA,CAAA,iBAAA,CAAA,SAAA,CAAA,KAAA,CAAgB;;;;IAH1D,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,kBAAA,EAAA,CAAA,CACyE;AAAvE,IAAA,EAAA,CAAA,UAAA,CAAA,QAAA,EAAA,SAAA,uEAAA,CAAA,MAAA,EAAA,EAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,CAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,EAAA,CAAA,CAAA,OAAA,EAAA,CAAA,WAAA,CAAU,gCAAyB,CAAA,CAAA,CAAA,CAAA,CAAC;IACpC,EAAA,CAAA,gBAAA,CAAA,CAAA,EAAA,0CAAA,EAAA,CAAA,EAAA,CAAA,EAAA,iBAAA,EAAA,CAAA,EAAA,EAAA,CAAA,sBAAA,CAEC;IACH,EAAA,CAAA,YAAA,EAAmB;;;IALD,EAAA,CAAA,UAAA,CAAA,UAAA,EAAA,CAAA,CAAA,MAAA,CAAA,WAAA,EAAA,CAAA,sBAAA,CAAmD,CAAA,OAAA,EAAA,MAAA,CAAA,KAAA,CAAgB,CAAA,UAAA,EAAA,MAAA,CAA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oBACf,gBAAgB;oBAChB,oBAAoB;oBACpB,yBAAyB;AAC1B,iBAAA,EAAA,QAAA,EAAA,+oEAAA,EAAA,MAAA,EAAA,CAAA,oJAAA,CAAA,EAAA;;kFAEU,2BAA2B,EAAA,EAAA,SAAA,EAAA,6BAAA,EAAA,QAAA,EAAA,6FAAA,EAAA,UAAA,EAAA,EAAA,EAAA,CAAA,CAAA,CAAA,CAAA,GAAA;;;;"}
|
|
@@ -4,22 +4,22 @@ import * as i1 from '@angular/forms';
|
|
|
4
4
|
import { NgControl, ReactiveFormsModule } from '@angular/forms';
|
|
5
5
|
import * as i2 from '@angular/material/form-field';
|
|
6
6
|
import { MatFormFieldControl, MatFormFieldModule } from '@angular/material/form-field';
|
|
7
|
-
import * as i3$
|
|
7
|
+
import * as i3$2 from '@angular/material/icon';
|
|
8
8
|
import { MatIconModule } from '@angular/material/icon';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i2$1 from '@angular/material/button';
|
|
10
10
|
import { MatButtonModule } from '@angular/material/button';
|
|
11
11
|
import * as i5 from '@angular/material/tooltip';
|
|
12
12
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
13
|
-
import { B as BaseCustomInput, q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-
|
|
13
|
+
import { B as BaseCustomInput, q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs';
|
|
14
14
|
import { Subject } from 'rxjs';
|
|
15
15
|
import * as i8 from '@angular/material/select';
|
|
16
16
|
import { MatSelectModule } from '@angular/material/select';
|
|
17
17
|
import { OptionSelectTypes } from 'ngx-t-forms-types';
|
|
18
18
|
import * as i4 from '@angular/material/chips';
|
|
19
19
|
import { MatChipsModule } from '@angular/material/chips';
|
|
20
|
-
import * as
|
|
20
|
+
import * as i3 from '@angular/material/radio';
|
|
21
21
|
import { MatRadioModule } from '@angular/material/radio';
|
|
22
|
-
import * as i3 from '@angular/material/checkbox';
|
|
22
|
+
import * as i3$1 from '@angular/material/checkbox';
|
|
23
23
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
24
24
|
import * as i6 from '@angular/material/list';
|
|
25
25
|
import { MatListModule } from '@angular/material/list';
|
|
@@ -97,7 +97,7 @@ class SelectInputComponent extends BaseCustomInput {
|
|
|
97
97
|
return this.ngControl?.control ?? null;
|
|
98
98
|
}
|
|
99
99
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: SelectInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
100
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: SelectInputComponent, isStandalone: true, selector: "lib-select-input", inputs: { inputConfig: { classPropertyName: "inputConfig", publicName: "inputConfig", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "class.floating": "shouldLabelFloat", "id": "id" } }, providers: [{ provide: MatFormFieldControl, useExisting: SelectInputComponent }], usesInheritance: true, ngImport: i0, template: "@switch (inputConfig().optionSelectType) {\r\n@case (optionSelectTypes.ChipSelect) {\r\n<mat-chip-listbox [multiple]=\"!!inputConfig().allowMultipleSelection\" [value]=\"value\" [disabled]=\"controlDisabled\"\r\n (change)=\"onSelectionChange($event)\" aria-l abel=\"Chip select options\">\r\n @for (option of getSelectOptions(); track $index) {\r\n <mat-chip-option [value]=\"option.value\">{{option.label}}</mat-chip-option>\r\n }\r\n</mat-chip-listbox>\r\n}\r\n@case (optionSelectTypes.RadioButton) {\r\n@if (!!inputConfig().allowMultipleSelection) {\r\n@for (option of getSelectOptions(); track $index) {\r\n<mat-checkbox\r\n [value]=\"option.value\"\r\n [checked]=\"isSelected(option.value)\"\r\n [disabled]=\"controlDisabled\"\r\n (change)=\"checkBoxChanged($event, option.value)\" class=\"example-margin\">\r\n {{option.label}}\r\n</mat-checkbox>\r\n}\r\n} @else {\r\n<mat-radio-group aria-labelledby=\"example-radio-group-label\" class=\"example-radio-group\"\r\n (change)=\"onSelectionChange($event)\" [value]=\"value\" [disabled]=\"controlDisabled\">\r\n @for (option of getSelectOptions(); track $index) {\r\n <mat-radio-button class=\"example-radio-button\" [value]=\"option.value\">{{option.label}}</mat-radio-button>\r\n }\r\n</mat-radio-group>\r\n}\r\n\r\n}\r\n@default {\r\n\r\n<mat-select [multiple]=\"!!inputConfig().allowMultipleSelection\" #sele (selectionChange)=\"onSelectionChange($event)\"\r\n [value]=\"value\" [disabled]=\"controlDisabled\">\r\n\r\n\r\n\r\n @for (option of getSelectOptions(); track $index) {\r\n <mat-option [value]=\"option.value\" [disabled]=\"controlDisabled\">\r\n @switch (inputConfig().matOptions?.optionType) {\r\n @case ('user') {\r\n <mat-list-item style=\"padding: 0px;\">\r\n <img matListItemAvatar [src]=\"getAvatar(option.username)\" />\r\n <div matListItemTitle>{{ option.username | titlecase }}</div>\r\n <div matListItemLine> {{ option.email }}</div>\r\n </mat-list-item>\r\n\r\n }\r\n @default {\r\n {{ option.label }}\r\n }\r\n }\r\n\r\n </mat-option>\r\n }\r\n\r\n</mat-select>\r\n\r\n}\r\n}\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i8.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i8.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatChipsModule }, { kind: "component", type: i4.MatChipListbox, selector: "mat-chip-listbox", inputs: ["multiple", "aria-orientation", "selectable", "compareWith", "required", "hideSingleSelectionIndicator", "value"], outputs: ["change"] }, { kind: "component", type: i4.MatChipOption, selector: "mat-basic-chip-option, [mat-basic-chip-option], mat-chip-option, [mat-chip-option]", inputs: ["selectable", "selected"], outputs: ["selectionChange"] }, { kind: "ngmodule", type: MatRadioModule }, { kind: "directive", type:
|
|
100
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: SelectInputComponent, isStandalone: true, selector: "lib-select-input", inputs: { inputConfig: { classPropertyName: "inputConfig", publicName: "inputConfig", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "class.floating": "shouldLabelFloat", "id": "id" } }, providers: [{ provide: MatFormFieldControl, useExisting: SelectInputComponent }], usesInheritance: true, ngImport: i0, template: "@switch (inputConfig().optionSelectType) {\r\n@case (optionSelectTypes.ChipSelect) {\r\n<mat-chip-listbox [multiple]=\"!!inputConfig().allowMultipleSelection\" [value]=\"value\" [disabled]=\"controlDisabled\"\r\n (change)=\"onSelectionChange($event)\" aria-l abel=\"Chip select options\">\r\n @for (option of getSelectOptions(); track $index) {\r\n <mat-chip-option [value]=\"option.value\">{{option.label}}</mat-chip-option>\r\n }\r\n</mat-chip-listbox>\r\n}\r\n@case (optionSelectTypes.RadioButton) {\r\n@if (!!inputConfig().allowMultipleSelection) {\r\n@for (option of getSelectOptions(); track $index) {\r\n<mat-checkbox\r\n [value]=\"option.value\"\r\n [checked]=\"isSelected(option.value)\"\r\n [disabled]=\"controlDisabled\"\r\n (change)=\"checkBoxChanged($event, option.value)\" class=\"example-margin\">\r\n {{option.label}}\r\n</mat-checkbox>\r\n}\r\n} @else {\r\n<mat-radio-group aria-labelledby=\"example-radio-group-label\" class=\"example-radio-group\"\r\n (change)=\"onSelectionChange($event)\" [value]=\"value\" [disabled]=\"controlDisabled\">\r\n @for (option of getSelectOptions(); track $index) {\r\n <mat-radio-button class=\"example-radio-button\" [value]=\"option.value\">{{option.label}}</mat-radio-button>\r\n }\r\n</mat-radio-group>\r\n}\r\n\r\n}\r\n@default {\r\n\r\n<mat-select [multiple]=\"!!inputConfig().allowMultipleSelection\" #sele (selectionChange)=\"onSelectionChange($event)\"\r\n [value]=\"value\" [disabled]=\"controlDisabled\">\r\n\r\n\r\n\r\n @for (option of getSelectOptions(); track $index) {\r\n <mat-option [value]=\"option.value\" [disabled]=\"controlDisabled\">\r\n @switch (inputConfig().matOptions?.optionType) {\r\n @case ('user') {\r\n <mat-list-item style=\"padding: 0px;\">\r\n <img matListItemAvatar [src]=\"getAvatar(option.username)\" />\r\n <div matListItemTitle>{{ option.username | titlecase }}</div>\r\n <div matListItemLine> {{ option.email }}</div>\r\n </mat-list-item>\r\n\r\n }\r\n @default {\r\n {{ option.label }}\r\n }\r\n }\r\n\r\n </mat-option>\r\n }\r\n\r\n</mat-select>\r\n\r\n}\r\n}\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i8.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i8.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatChipsModule }, { kind: "component", type: i4.MatChipListbox, selector: "mat-chip-listbox", inputs: ["multiple", "aria-orientation", "selectable", "compareWith", "required", "hideSingleSelectionIndicator", "value"], outputs: ["change"] }, { kind: "component", type: i4.MatChipOption, selector: "mat-basic-chip-option, [mat-basic-chip-option], mat-chip-option, [mat-chip-option]", inputs: ["selectable", "selected"], outputs: ["selectionChange"] }, { kind: "ngmodule", type: MatRadioModule }, { kind: "directive", type: i3.MatRadioGroup, selector: "mat-radio-group", inputs: ["color", "name", "labelPosition", "value", "selected", "disabled", "required", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioGroup"] }, { kind: "component", type: i3.MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioButton"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i3$1.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i6.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i6.MatListItemAvatar, selector: "[matListItemAvatar]" }, { kind: "directive", type: i6.MatListItemLine, selector: "[matListItemLine]" }, { kind: "directive", type: i6.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "pipe", type: TitleCasePipe, name: "titlecase" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
101
101
|
}
|
|
102
102
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: SelectInputComponent, decorators: [{
|
|
103
103
|
type: Component,
|
|
@@ -141,7 +141,7 @@ class SelectInputElementComponent {
|
|
|
141
141
|
this.optionsSearchWordKeyWord = event.detail.value.toUpperCase();
|
|
142
142
|
}
|
|
143
143
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: SelectInputElementComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
144
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: SelectInputElementComponent, isStandalone: true, selector: "lib-select-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 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-select-input\r\n [inputConfig]=\"inputConfig\"\r\n [required]=\"inputConfig.required\"\r\n [formControlName]=\"inputConfig.id\"\r\n ></lib-select-input>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n\r\n @if (inputConfig.canReload?.canReload) {\r\n <button\r\n mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig.canReload.emit()\"\r\n matSuffix\r\n >\r\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint 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</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: 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: "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: MatIconModule }, { kind: "component", type: i3$
|
|
144
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: SelectInputElementComponent, isStandalone: true, selector: "lib-select-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 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-select-input\r\n [inputConfig]=\"inputConfig\"\r\n [required]=\"inputConfig.required\"\r\n [formControlName]=\"inputConfig.id\"\r\n ></lib-select-input>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n\r\n @if (inputConfig.canReload?.canReload) {\r\n <button\r\n mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig.canReload.emit()\"\r\n matSuffix\r\n >\r\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint 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</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: 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: "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: MatIconModule }, { kind: "component", type: i3$2.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: "component", type: SelectInputComponent, selector: "lib-select-input", inputs: ["inputConfig"] }, { kind: "component", type: TFormInputStatusComponent, selector: "lib-t-form-input-status", inputs: ["inputConfig"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
145
145
|
}
|
|
146
146
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: SelectInputElementComponent, decorators: [{
|
|
147
147
|
type: Component,
|
|
@@ -157,4 +157,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImpo
|
|
|
157
157
|
}], 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"] }] } });
|
|
158
158
|
|
|
159
159
|
export { SelectInputElementComponent };
|
|
160
|
-
//# sourceMappingURL=ngx-t-forms-select-input-element.component-
|
|
160
|
+
//# sourceMappingURL=ngx-t-forms-select-input-element.component-Nsa3dpvV.mjs.map
|