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,447 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, ElementRef, input, viewChild, computed, PLATFORM_ID, ChangeDetectionStrategy, Component, output } from '@angular/core';
|
|
3
|
+
import * as i1$1 from '@angular/forms';
|
|
4
|
+
import { NgControl, ReactiveFormsModule } from '@angular/forms';
|
|
5
|
+
import * as i2$1 from '@angular/material/form-field';
|
|
6
|
+
import { MatFormFieldControl, MatFormFieldModule } from '@angular/material/form-field';
|
|
7
|
+
import * as i3 from '@angular/material/icon';
|
|
8
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
9
|
+
import * as i2 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 { isPlatformBrowser } from '@angular/common';
|
|
15
|
+
import * as i1 from '@angular/material/progress-bar';
|
|
16
|
+
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
17
|
+
import * as i8 from '@angular/material/toolbar';
|
|
18
|
+
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
19
|
+
import { InputFileType, UploadTypes, AllDocumentFileExtensions, AllImageFileExtensions } from 'ngx-t-forms-types';
|
|
20
|
+
|
|
21
|
+
const _c0 = ["uploader"];
|
|
22
|
+
function FileUploaderComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
23
|
+
i0.ɵɵelement(0, "mat-progress-bar", 1);
|
|
24
|
+
} }
|
|
25
|
+
function FileUploaderComponent_Conditional_1_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
+
i0.ɵɵelementStart(0, "span", 5);
|
|
27
|
+
i0.ɵɵtext(1);
|
|
28
|
+
i0.ɵɵelementEnd();
|
|
29
|
+
} if (rf & 2) {
|
|
30
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
31
|
+
i0.ɵɵadvance();
|
|
32
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r1.errorMessage, " ");
|
|
33
|
+
} }
|
|
34
|
+
function FileUploaderComponent_Conditional_1_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
35
|
+
i0.ɵɵtext(0, " Drag and drop files or click to upload ");
|
|
36
|
+
} }
|
|
37
|
+
function FileUploaderComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
38
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
39
|
+
i0.ɵɵelementStart(0, "section");
|
|
40
|
+
i0.ɵɵelement(1, "br");
|
|
41
|
+
i0.ɵɵelementStart(2, "div", 4);
|
|
42
|
+
i0.ɵɵlistener("dragover", function FileUploaderComponent_Conditional_1_Template_div_dragover_2_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onDragOver($event)); })("drop", function FileUploaderComponent_Conditional_1_Template_div_drop_2_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onDrop($event)); })("dragleave", function FileUploaderComponent_Conditional_1_Template_div_dragleave_2_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onDragLeave($event)); });
|
|
43
|
+
i0.ɵɵelementStart(3, "div")(4, "mat-icon");
|
|
44
|
+
i0.ɵɵtext(5, " cloud_upload ");
|
|
45
|
+
i0.ɵɵelementEnd()();
|
|
46
|
+
i0.ɵɵelementStart(6, "div");
|
|
47
|
+
i0.ɵɵconditionalCreate(7, FileUploaderComponent_Conditional_1_Conditional_7_Template, 2, 1, "span", 5)(8, FileUploaderComponent_Conditional_1_Conditional_8_Template, 1, 0);
|
|
48
|
+
i0.ɵɵelementEnd()()();
|
|
49
|
+
} if (rf & 2) {
|
|
50
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
51
|
+
i0.ɵɵadvance(2);
|
|
52
|
+
i0.ɵɵstyleProp("border-color", ctx_r1.dragOver ? " var(--mat-stepper-header-selected-state-icon-background-color)" : "#ccc;");
|
|
53
|
+
i0.ɵɵadvance(5);
|
|
54
|
+
i0.ɵɵconditional(!!ctx_r1.errorMessage ? 7 : 8);
|
|
55
|
+
} }
|
|
56
|
+
function FileUploaderComponent_Conditional_4_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
57
|
+
i0.ɵɵelementStart(0, "div", 10);
|
|
58
|
+
i0.ɵɵtext(1);
|
|
59
|
+
i0.ɵɵelementEnd();
|
|
60
|
+
} if (rf & 2) {
|
|
61
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
62
|
+
i0.ɵɵadvance();
|
|
63
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r1.fileName, " ");
|
|
64
|
+
} }
|
|
65
|
+
function FileUploaderComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
66
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
67
|
+
i0.ɵɵelementStart(0, "div", 4);
|
|
68
|
+
i0.ɵɵlistener("dragover", function FileUploaderComponent_Conditional_4_Template_div_dragover_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onDragOver($event)); })("drop", function FileUploaderComponent_Conditional_4_Template_div_drop_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onDrop($event)); })("dragleave", function FileUploaderComponent_Conditional_4_Template_div_dragleave_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onDragLeave($event)); });
|
|
69
|
+
i0.ɵɵelement(1, "img", 6);
|
|
70
|
+
i0.ɵɵelementStart(2, "mat-toolbar", 7)(3, "mat-icon");
|
|
71
|
+
i0.ɵɵtext(4, " cloud_upload ");
|
|
72
|
+
i0.ɵɵelementEnd();
|
|
73
|
+
i0.ɵɵelement(5, "span", 8);
|
|
74
|
+
i0.ɵɵelementStart(6, "div", 9);
|
|
75
|
+
i0.ɵɵconditionalCreate(7, FileUploaderComponent_Conditional_4_Conditional_7_Template, 2, 1, "div", 10);
|
|
76
|
+
i0.ɵɵelementStart(8, "div", 11);
|
|
77
|
+
i0.ɵɵtext(9, " Drag and drop files or click to upload ");
|
|
78
|
+
i0.ɵɵelementEnd()();
|
|
79
|
+
i0.ɵɵelement(10, "span", 8);
|
|
80
|
+
i0.ɵɵelementStart(11, "button", 12);
|
|
81
|
+
i0.ɵɵlistener("click", function FileUploaderComponent_Conditional_4_Template_button_click_11_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.clearFile($event)); });
|
|
82
|
+
i0.ɵɵelementStart(12, "mat-icon");
|
|
83
|
+
i0.ɵɵtext(13, "close");
|
|
84
|
+
i0.ɵɵelementEnd()()()();
|
|
85
|
+
} if (rf & 2) {
|
|
86
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
87
|
+
i0.ɵɵstyleProp("border-color", ctx_r1.dragOver ? "var(--mat-stepper-header-selected-state-icon-background-color)" : "#ccc;");
|
|
88
|
+
i0.ɵɵadvance();
|
|
89
|
+
i0.ɵɵproperty("src", ctx_r1.previewSrc(), i0.ɵɵsanitizeUrl);
|
|
90
|
+
i0.ɵɵadvance(2);
|
|
91
|
+
i0.ɵɵstyleProp("color", ctx_r1.dragOver ? "var(--mat-stepper-header-selected-state-icon-background-color)" : "");
|
|
92
|
+
i0.ɵɵadvance(4);
|
|
93
|
+
i0.ɵɵconditional(!!ctx_r1.fileName ? 7 : -1);
|
|
94
|
+
i0.ɵɵadvance(4);
|
|
95
|
+
i0.ɵɵproperty("disabled", ctx_r1.isReadOnly());
|
|
96
|
+
} }
|
|
97
|
+
const customInputConfig = {
|
|
98
|
+
controlType: 'app-file-uploader',
|
|
99
|
+
nextId: 0,
|
|
100
|
+
};
|
|
101
|
+
class FileUploaderComponent extends BaseCustomInput {
|
|
102
|
+
#platformId;
|
|
103
|
+
constructor() {
|
|
104
|
+
super(inject(NgControl, { optional: true, self: true }), inject(ElementRef), customInputConfig);
|
|
105
|
+
this.inputConfig = input.required(...(ngDevMode ? [{ debugName: "inputConfig" }] : /* istanbul ignore next */ []));
|
|
106
|
+
this.uploader = viewChild.required('uploader');
|
|
107
|
+
/**
|
|
108
|
+
* True when the descriptor marks the field `readonly` or `disabled`. Blocks the
|
|
109
|
+
* upload/drop/clear interactions so the file picker honours the same
|
|
110
|
+
* `readonly || disabled` contract as the reference text input.
|
|
111
|
+
*/
|
|
112
|
+
this.isReadOnly = computed(() => {
|
|
113
|
+
const cfg = this.inputConfig();
|
|
114
|
+
return !!cfg?.readonly || !!cfg?.disabled;
|
|
115
|
+
}, ...(ngDevMode ? [{ debugName: "isReadOnly" }] : /* istanbul ignore next */ []));
|
|
116
|
+
this.uploadAccept = computed(() => {
|
|
117
|
+
const cfg = this.inputConfig();
|
|
118
|
+
const fileType = cfg?.fileType;
|
|
119
|
+
if (!fileType) {
|
|
120
|
+
return InputFileType.file;
|
|
121
|
+
}
|
|
122
|
+
return UploadTypes[String(fileType)] ?? InputFileType.file;
|
|
123
|
+
}, ...(ngDevMode ? [{ debugName: "uploadAccept" }] : /* istanbul ignore next */ []));
|
|
124
|
+
this.previewSrc = computed(() => {
|
|
125
|
+
const cfg = this.inputConfig();
|
|
126
|
+
const fileType = cfg?.fileType;
|
|
127
|
+
switch (fileType) {
|
|
128
|
+
case InputFileType.file:
|
|
129
|
+
return 'https://res.cloudinary.com/afrob/image/upload/v1676973154/Flows/Icons/iPhone_14_-_1_tx1scw.png';
|
|
130
|
+
default:
|
|
131
|
+
return this.value?.base64 ?? undefined;
|
|
132
|
+
}
|
|
133
|
+
}, ...(ngDevMode ? [{ debugName: "previewSrc" }] : /* istanbul ignore next */ []));
|
|
134
|
+
this.fileName = null;
|
|
135
|
+
this.loading = null;
|
|
136
|
+
this.dragOver = false;
|
|
137
|
+
this.#platformId = inject(PLATFORM_ID);
|
|
138
|
+
}
|
|
139
|
+
get value() {
|
|
140
|
+
return this._value;
|
|
141
|
+
}
|
|
142
|
+
set value(file) {
|
|
143
|
+
const fileType = this.inputConfig()?.fileType;
|
|
144
|
+
if (!file || typeof file !== 'object') {
|
|
145
|
+
this._value = file;
|
|
146
|
+
this.stateChanges.next();
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
const { base64, fileExtension } = file;
|
|
150
|
+
if (!base64) {
|
|
151
|
+
this._value = file;
|
|
152
|
+
this.stateChanges.next();
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
155
|
+
const allDocExtensions = Object.values(AllDocumentFileExtensions);
|
|
156
|
+
const allImageExtensions = Object.values(AllImageFileExtensions);
|
|
157
|
+
const isFile = allDocExtensions.includes(fileExtension);
|
|
158
|
+
const isImage = allImageExtensions.includes(fileExtension);
|
|
159
|
+
if ((fileType === InputFileType.file && !isFile) ||
|
|
160
|
+
((fileType === InputFileType.Image || fileType === InputFileType.CaptureImage) && !isImage)) {
|
|
161
|
+
this._value = null;
|
|
162
|
+
this.temporaryError(`Invalid file type. Expected ${fileType} file`);
|
|
163
|
+
this.stateChanges.next();
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
else {
|
|
167
|
+
this._value = file;
|
|
168
|
+
this.stateChanges.next();
|
|
169
|
+
return;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
get empty() {
|
|
173
|
+
return !this.value;
|
|
174
|
+
}
|
|
175
|
+
get shouldLabelFloat() {
|
|
176
|
+
return this.focused || !this.empty;
|
|
177
|
+
}
|
|
178
|
+
onContainerClick(event) {
|
|
179
|
+
if (this.isReadOnly())
|
|
180
|
+
return;
|
|
181
|
+
this.uploader().nativeElement.click();
|
|
182
|
+
if (event.target !== this._elementRef.nativeElement) {
|
|
183
|
+
this.markAsTouched();
|
|
184
|
+
this.stateChanges.next();
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
triggerUploader() {
|
|
188
|
+
if (this.isReadOnly())
|
|
189
|
+
return;
|
|
190
|
+
this.uploader().nativeElement.click();
|
|
191
|
+
}
|
|
192
|
+
onFileSelected(event) {
|
|
193
|
+
const files = event.target.files;
|
|
194
|
+
if (files && files.length > 0) {
|
|
195
|
+
const file = files[0];
|
|
196
|
+
if (!file)
|
|
197
|
+
return;
|
|
198
|
+
this.assignFile(file);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
assignFile(file) {
|
|
202
|
+
// FileReader is a browser-only API; gate by isPlatformBrowser to keep SSR-safe.
|
|
203
|
+
if (!isPlatformBrowser(this.#platformId)) {
|
|
204
|
+
return;
|
|
205
|
+
}
|
|
206
|
+
const reader = new FileReader();
|
|
207
|
+
reader.onload = () => {
|
|
208
|
+
this.fileName = file.name;
|
|
209
|
+
const nameSplit = file.name.split('.');
|
|
210
|
+
const fileExtension = nameSplit[nameSplit.length - 1];
|
|
211
|
+
this.value = {
|
|
212
|
+
fileName: file.name,
|
|
213
|
+
base64: reader.result,
|
|
214
|
+
type: this.inputConfig()?.fileType,
|
|
215
|
+
blob: file,
|
|
216
|
+
fileExtension,
|
|
217
|
+
};
|
|
218
|
+
this.onChange(this.value);
|
|
219
|
+
};
|
|
220
|
+
reader.readAsDataURL(file);
|
|
221
|
+
}
|
|
222
|
+
onDragOver(event) {
|
|
223
|
+
this.dragOver = true;
|
|
224
|
+
event.preventDefault();
|
|
225
|
+
event.stopPropagation();
|
|
226
|
+
}
|
|
227
|
+
onDrop(event) {
|
|
228
|
+
this.dragOver = false;
|
|
229
|
+
event.preventDefault();
|
|
230
|
+
event.stopPropagation();
|
|
231
|
+
if (this.isReadOnly())
|
|
232
|
+
return;
|
|
233
|
+
const files = event.dataTransfer?.files;
|
|
234
|
+
if (files && files.length > 0) {
|
|
235
|
+
const file = files[0];
|
|
236
|
+
if (!file)
|
|
237
|
+
return;
|
|
238
|
+
this.assignFile(file);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
onDragLeave(event) {
|
|
242
|
+
this.dragOver = false;
|
|
243
|
+
event.preventDefault();
|
|
244
|
+
event.stopPropagation();
|
|
245
|
+
}
|
|
246
|
+
clearFile(event) {
|
|
247
|
+
event.preventDefault();
|
|
248
|
+
event.stopPropagation();
|
|
249
|
+
if (this.isReadOnly())
|
|
250
|
+
return;
|
|
251
|
+
this.value = null;
|
|
252
|
+
this.stateChanges.next();
|
|
253
|
+
}
|
|
254
|
+
static { this.ɵfac = function FileUploaderComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FileUploaderComponent)(); }; }
|
|
255
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FileUploaderComponent, selectors: [["lib-file-uploader"]], viewQuery: function FileUploaderComponent_Query(rf, ctx) { if (rf & 1) {
|
|
256
|
+
i0.ɵɵviewQuerySignal(ctx.uploader, _c0, 5);
|
|
257
|
+
} if (rf & 2) {
|
|
258
|
+
i0.ɵɵqueryAdvance();
|
|
259
|
+
} }, hostVars: 3, hostBindings: function FileUploaderComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
260
|
+
i0.ɵɵdomProperty("id", ctx.id);
|
|
261
|
+
i0.ɵɵclassProp("floating", ctx.shouldLabelFloat);
|
|
262
|
+
} }, inputs: { inputConfig: [1, "inputConfig"] }, features: [i0.ɵɵProvidersFeature([{ provide: MatFormFieldControl, useExisting: FileUploaderComponent }]), i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 7, consts: [["uploader", ""], ["mode", "indeterminate"], ["hidden", "", 2, "display", "none", 3, "change", "readonly", "disabled", "type", "accept"], [1, "drop-zone", 3, "border-color"], [1, "drop-zone", 3, "dragover", "drop", "dragleave"], [1, "mat-mdc-form-field-error"], ["alt", "", 2, "width", "100%", 3, "src"], [2, "height", "min-content !important"], [1, "spacer"], [2, "padding", "8px"], [2, "line-height", "normal", "width", "100%", "white-space", "normal", "overflow", "hidden", "text-overflow", "ellipsis", "font-size", "0.75em", "color", "var(--mat-stepper-header-selected-state-icon-background-color)"], [2, "font-size", "0.875em"], ["mat-icon-button", "", 3, "click", "disabled"]], template: function FileUploaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
263
|
+
i0.ɵɵconditionalCreate(0, FileUploaderComponent_Conditional_0_Template, 1, 0, "mat-progress-bar", 1);
|
|
264
|
+
i0.ɵɵconditionalCreate(1, FileUploaderComponent_Conditional_1_Template, 9, 3, "section");
|
|
265
|
+
i0.ɵɵelementStart(2, "input", 2, 0);
|
|
266
|
+
i0.ɵɵlistener("change", function FileUploaderComponent_Template_input_change_2_listener($event) { return ctx.onFileSelected($event); });
|
|
267
|
+
i0.ɵɵelementEnd();
|
|
268
|
+
i0.ɵɵconditionalCreate(4, FileUploaderComponent_Conditional_4_Template, 14, 7, "div", 3);
|
|
269
|
+
} if (rf & 2) {
|
|
270
|
+
i0.ɵɵconditional(ctx.loading ? 0 : -1);
|
|
271
|
+
i0.ɵɵadvance();
|
|
272
|
+
i0.ɵɵconditional(!ctx.shouldLabelFloat ? 1 : -1);
|
|
273
|
+
i0.ɵɵadvance();
|
|
274
|
+
i0.ɵɵproperty("readonly", ctx.isReadOnly())("disabled", ctx.isReadOnly())("type", ctx.inputConfig().type || "file")("accept", ctx.uploadAccept());
|
|
275
|
+
i0.ɵɵadvance(2);
|
|
276
|
+
i0.ɵɵconditional(!!ctx.shouldLabelFloat ? 4 : -1);
|
|
277
|
+
} }, dependencies: [MatProgressBarModule, i1.MatProgressBar, MatIconModule, i3.MatIcon, MatToolbarModule, i8.MatToolbar, MatButtonModule, i2.MatIconButton], styles: [".fileUploader[_ngcontent-%COMP%]{opacity:0;display:none;transition:opacity .2s;height:50px}.floating[_nghost-%COMP%] .fileUploader[_ngcontent-%COMP%]{opacity:1}.drop-zone[_ngcontent-%COMP%]{border:2px dashed #ccc;padding:20px;text-align:center;cursor:pointer}.drop-zone[_ngcontent-%COMP%]:hover{border-color:var(--mat-stepper-header-selected-state-icon-background-color)}"], changeDetection: 0 }); }
|
|
278
|
+
}
|
|
279
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileUploaderComponent, [{
|
|
280
|
+
type: Component,
|
|
281
|
+
args: [{ selector: 'lib-file-uploader', imports: [
|
|
282
|
+
MatProgressBarModule,
|
|
283
|
+
MatIconModule,
|
|
284
|
+
MatToolbarModule,
|
|
285
|
+
MatButtonModule,
|
|
286
|
+
], host: {
|
|
287
|
+
'[class.floating]': 'shouldLabelFloat',
|
|
288
|
+
'[id]': 'id',
|
|
289
|
+
}, providers: [{ provide: MatFormFieldControl, useExisting: FileUploaderComponent }], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (loading) {\r\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\r\n}\r\n\r\n@if (!shouldLabelFloat) {\r\n <section>\r\n <br>\r\n <div\r\n [style.border-color]=\"dragOver ? ' var(--mat-stepper-header-selected-state-icon-background-color)' : '#ccc;'\"\r\n (dragover)=\"onDragOver($event)\"\r\n (drop)=\"onDrop($event)\"\r\n (dragleave)=\"onDragLeave($event)\"\r\n class=\"drop-zone\">\r\n <div>\r\n <mat-icon>\r\n cloud_upload\r\n </mat-icon>\r\n </div>\r\n <div>\r\n @if (!!errorMessage) {\r\n <span class=\"mat-mdc-form-field-error\">\r\n {{ errorMessage }}\r\n </span>\r\n } @else {\r\n Drag and drop files or click to upload\r\n }\r\n </div>\r\n </div>\r\n </section>\r\n}\r\n\r\n<input\r\n style=\"display: none\"\r\n hidden\r\n [readonly]=\"isReadOnly()\"\r\n [disabled]=\"isReadOnly()\"\r\n [type]=\"inputConfig().type || 'file'\"\r\n [accept]=\"uploadAccept()\"\r\n (change)=\"onFileSelected($event)\"\r\n #uploader\r\n/>\r\n\r\n@if (!!shouldLabelFloat) {\r\n <div\r\n [style.border-color]=\"dragOver ? 'var(--mat-stepper-header-selected-state-icon-background-color)' : '#ccc;'\"\r\n class=\"drop-zone\"\r\n (dragover)=\"onDragOver($event)\"\r\n (drop)=\"onDrop($event)\"\r\n (dragleave)=\"onDragLeave($event)\">\r\n <img style=\"width: 100%;\" [src]=\"previewSrc()\" alt=\"\">\r\n <mat-toolbar style=\" height: min-content !important;\">\r\n <mat-icon\r\n [style.color]=\"dragOver ? 'var(--mat-stepper-header-selected-state-icon-background-color)' : ''\">\r\n cloud_upload\r\n </mat-icon>\r\n <span class=\"spacer\"></span>\r\n <div style=\"padding: 8px;\">\r\n @if (!!fileName) {\r\n <div style=\"\r\n line-height: normal;width: 100%;\r\n white-space:normal;overflow: hidden;text-overflow: ellipsis;\r\n font-size: 0.75em;color:var(--mat-stepper-header-selected-state-icon-background-color);\">\r\n {{ fileName }}\r\n </div>\r\n }\r\n <div style=\"font-size: 0.875em;\">\r\n Drag and drop files or click to upload\r\n </div>\r\n </div>\r\n\r\n <span class=\"spacer\"></span>\r\n <button (click)=\"clearFile($event)\" [disabled]=\"isReadOnly()\" mat-icon-button>\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </mat-toolbar>\r\n </div>\r\n}\r\n", styles: [".fileUploader{opacity:0;display:none;transition:opacity .2s;height:50px}:host.floating .fileUploader{opacity:1}.drop-zone{border:2px dashed #ccc;padding:20px;text-align:center;cursor:pointer}.drop-zone:hover{border-color:var(--mat-stepper-header-selected-state-icon-background-color)}\n"] }]
|
|
290
|
+
}], () => [], { inputConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputConfig", required: true }] }], uploader: [{ type: i0.ViewChild, args: ['uploader', { isSignal: true }] }] }); })();
|
|
291
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FileUploaderComponent, { className: "FileUploaderComponent", filePath: "lib/components/t-form-input/elements/file-upload-input-element/core/file-uploader/file-uploader.component.ts", lineNumber: 53 }); })();
|
|
292
|
+
|
|
293
|
+
function FileUploadInputElementComponent_Conditional_1_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
294
|
+
i0.ɵɵelementStart(0, "mat-hint", 4);
|
|
295
|
+
i0.ɵɵtext(1);
|
|
296
|
+
i0.ɵɵelementEnd();
|
|
297
|
+
} if (rf & 2) {
|
|
298
|
+
const inputConfig_r1 = i0.ɵɵnextContext();
|
|
299
|
+
i0.ɵɵadvance();
|
|
300
|
+
i0.ɵɵtextInterpolate1(" ", inputConfig_r1.temporaryHint || inputConfig_r1.hintLabel, " ");
|
|
301
|
+
} }
|
|
302
|
+
function FileUploadInputElementComponent_Conditional_1_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
303
|
+
i0.ɵɵelementStart(0, "mat-error", 5);
|
|
304
|
+
i0.ɵɵtext(1);
|
|
305
|
+
i0.ɵɵelementEnd();
|
|
306
|
+
} if (rf & 2) {
|
|
307
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
308
|
+
i0.ɵɵadvance();
|
|
309
|
+
i0.ɵɵtextInterpolate(ctx_r1.errorMessage());
|
|
310
|
+
} }
|
|
311
|
+
function FileUploadInputElementComponent_Conditional_1_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
312
|
+
i0.ɵɵelementStart(0, "mat-icon", 6);
|
|
313
|
+
i0.ɵɵtext(1);
|
|
314
|
+
i0.ɵɵelementEnd();
|
|
315
|
+
} if (rf & 2) {
|
|
316
|
+
const inputConfig_r1 = i0.ɵɵnextContext();
|
|
317
|
+
i0.ɵɵadvance();
|
|
318
|
+
i0.ɵɵtextInterpolate(inputConfig_r1.prefixIcon);
|
|
319
|
+
} }
|
|
320
|
+
function FileUploadInputElementComponent_Conditional_1_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
321
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
322
|
+
i0.ɵɵelementStart(0, "button", 12);
|
|
323
|
+
i0.ɵɵlistener("click", function FileUploadInputElementComponent_Conditional_1_Conditional_8_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r3); const inputConfig_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(inputConfig_r1.canReload.emit()); });
|
|
324
|
+
i0.ɵɵelementStart(1, "mat-icon", 13);
|
|
325
|
+
i0.ɵɵtext(2, "sync");
|
|
326
|
+
i0.ɵɵelementEnd()();
|
|
327
|
+
} }
|
|
328
|
+
function FileUploadInputElementComponent_Conditional_1_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
329
|
+
i0.ɵɵelementStart(0, "mat-icon", 8);
|
|
330
|
+
i0.ɵɵtext(1);
|
|
331
|
+
i0.ɵɵelementEnd();
|
|
332
|
+
} if (rf & 2) {
|
|
333
|
+
const inputConfig_r1 = i0.ɵɵnextContext();
|
|
334
|
+
i0.ɵɵadvance();
|
|
335
|
+
i0.ɵɵtextInterpolate(inputConfig_r1.suffixIcon);
|
|
336
|
+
} }
|
|
337
|
+
function FileUploadInputElementComponent_Conditional_1_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
338
|
+
i0.ɵɵelementStart(0, "span", 9);
|
|
339
|
+
i0.ɵɵtext(1);
|
|
340
|
+
i0.ɵɵelementEnd();
|
|
341
|
+
} if (rf & 2) {
|
|
342
|
+
const inputConfig_r1 = i0.ɵɵnextContext();
|
|
343
|
+
i0.ɵɵadvance();
|
|
344
|
+
i0.ɵɵtextInterpolate(inputConfig_r1.prefixText);
|
|
345
|
+
} }
|
|
346
|
+
function FileUploadInputElementComponent_Conditional_1_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
347
|
+
i0.ɵɵelementStart(0, "span", 10);
|
|
348
|
+
i0.ɵɵtext(1);
|
|
349
|
+
i0.ɵɵelementEnd();
|
|
350
|
+
} if (rf & 2) {
|
|
351
|
+
const inputConfig_r1 = i0.ɵɵnextContext();
|
|
352
|
+
i0.ɵɵadvance();
|
|
353
|
+
i0.ɵɵtextInterpolate(inputConfig_r1.suffixText);
|
|
354
|
+
} }
|
|
355
|
+
function FileUploadInputElementComponent_Conditional_1_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
356
|
+
i0.ɵɵelementStart(0, "mat-hint", 11);
|
|
357
|
+
i0.ɵɵtext(1);
|
|
358
|
+
i0.ɵɵelementEnd();
|
|
359
|
+
} if (rf & 2) {
|
|
360
|
+
let tmp_3_0;
|
|
361
|
+
const inputConfig_r1 = i0.ɵɵnextContext();
|
|
362
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
363
|
+
i0.ɵɵadvance();
|
|
364
|
+
i0.ɵɵtextInterpolate1(" ", (((tmp_3_0 = ctx_r1.formGroup().controls[inputConfig_r1.id]) == null ? null : tmp_3_0.value == null ? null : tmp_3_0.value.length) || 0) + "/" + inputConfig_r1.maxLength, " ");
|
|
365
|
+
} }
|
|
366
|
+
function FileUploadInputElementComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
367
|
+
i0.ɵɵelementStart(0, "mat-form-field", 1)(1, "mat-label");
|
|
368
|
+
i0.ɵɵtext(2);
|
|
369
|
+
i0.ɵɵelement(3, "lib-t-form-input-status", 2);
|
|
370
|
+
i0.ɵɵelementEnd();
|
|
371
|
+
i0.ɵɵelement(4, "lib-file-uploader", 3);
|
|
372
|
+
i0.ɵɵconditionalCreate(5, FileUploadInputElementComponent_Conditional_1_Conditional_5_Template, 2, 1, "mat-hint", 4);
|
|
373
|
+
i0.ɵɵconditionalCreate(6, FileUploadInputElementComponent_Conditional_1_Conditional_6_Template, 2, 1, "mat-error", 5);
|
|
374
|
+
i0.ɵɵconditionalCreate(7, FileUploadInputElementComponent_Conditional_1_Conditional_7_Template, 2, 1, "mat-icon", 6);
|
|
375
|
+
i0.ɵɵconditionalCreate(8, FileUploadInputElementComponent_Conditional_1_Conditional_8_Template, 3, 0, "button", 7);
|
|
376
|
+
i0.ɵɵconditionalCreate(9, FileUploadInputElementComponent_Conditional_1_Conditional_9_Template, 2, 1, "mat-icon", 8);
|
|
377
|
+
i0.ɵɵconditionalCreate(10, FileUploadInputElementComponent_Conditional_1_Conditional_10_Template, 2, 1, "span", 9);
|
|
378
|
+
i0.ɵɵconditionalCreate(11, FileUploadInputElementComponent_Conditional_1_Conditional_11_Template, 2, 1, "span", 10);
|
|
379
|
+
i0.ɵɵconditionalCreate(12, FileUploadInputElementComponent_Conditional_1_Conditional_12_Template, 2, 1, "mat-hint", 11);
|
|
380
|
+
i0.ɵɵelementEnd();
|
|
381
|
+
} if (rf & 2) {
|
|
382
|
+
const inputConfig_r1 = ctx;
|
|
383
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
384
|
+
i0.ɵɵproperty("appearance", inputConfig_r1.appearance || "fill");
|
|
385
|
+
i0.ɵɵadvance(2);
|
|
386
|
+
i0.ɵɵtextInterpolate1(" ", inputConfig_r1.label, " ");
|
|
387
|
+
i0.ɵɵadvance();
|
|
388
|
+
i0.ɵɵproperty("inputConfig", inputConfig_r1);
|
|
389
|
+
i0.ɵɵadvance();
|
|
390
|
+
i0.ɵɵproperty("inputConfig", inputConfig_r1)("formControlName", inputConfig_r1.id)("required", inputConfig_r1.required);
|
|
391
|
+
i0.ɵɵadvance();
|
|
392
|
+
i0.ɵɵconditional(inputConfig_r1.hintLabel || inputConfig_r1.temporaryHint ? 5 : -1);
|
|
393
|
+
i0.ɵɵadvance();
|
|
394
|
+
i0.ɵɵconditional(!!ctx_r1.errorMessage() ? 6 : -1);
|
|
395
|
+
i0.ɵɵadvance();
|
|
396
|
+
i0.ɵɵconditional(inputConfig_r1.prefixIcon ? 7 : -1);
|
|
397
|
+
i0.ɵɵadvance();
|
|
398
|
+
i0.ɵɵconditional((inputConfig_r1.canReload == null ? null : inputConfig_r1.canReload.canReload) ? 8 : -1);
|
|
399
|
+
i0.ɵɵadvance();
|
|
400
|
+
i0.ɵɵconditional(inputConfig_r1.suffixIcon && inputConfig_r1.id !== "password" ? 9 : -1);
|
|
401
|
+
i0.ɵɵadvance();
|
|
402
|
+
i0.ɵɵconditional(inputConfig_r1.prefixText ? 10 : -1);
|
|
403
|
+
i0.ɵɵadvance();
|
|
404
|
+
i0.ɵɵconditional(inputConfig_r1.suffixText ? 11 : -1);
|
|
405
|
+
i0.ɵɵadvance();
|
|
406
|
+
i0.ɵɵconditional(inputConfig_r1.maxLength && ctx_r1.formGroup() ? 12 : -1);
|
|
407
|
+
} }
|
|
408
|
+
/** Wraps a reactive file-uploader control inside a `mat-form-field`. */
|
|
409
|
+
class FileUploadInputElementComponent {
|
|
410
|
+
constructor() {
|
|
411
|
+
this.inputConfig = input.required(...(ngDevMode ? [{ debugName: "inputConfig" }] : /* istanbul ignore next */ []));
|
|
412
|
+
this.formGroup = input.required(...(ngDevMode ? [{ debugName: "formGroup" }] : /* istanbul ignore next */ []));
|
|
413
|
+
this.reload = output();
|
|
414
|
+
this.errorMessage = computed(() => getInputErrorMessage(this.inputConfig(), this.formGroup()), ...(ngDevMode ? [{ debugName: "errorMessage" }] : /* istanbul ignore next */ []));
|
|
415
|
+
}
|
|
416
|
+
getErrors() {
|
|
417
|
+
return this.formGroup().controls[this.inputConfig().id]?.errors;
|
|
418
|
+
}
|
|
419
|
+
static { this.ɵfac = function FileUploadInputElementComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FileUploadInputElementComponent)(); }; }
|
|
420
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FileUploadInputElementComponent, selectors: [["lib-file-upload-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", "formControlName", "required"], [1, "inputHint"], ["matTooltipClass", "errorToolTip", 1, "oneLineTextEllipsis"], ["matPrefix", ""], ["mat-icon-button", "", "matTooltip", "Click to refresh this field.", "matSuffix", "", 1, "input-sync-button", 2, "margin-right", "4px"], ["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 FileUploadInputElementComponent_Template(rf, ctx) { if (rf & 1) {
|
|
421
|
+
i0.ɵɵelementStart(0, "form", 0);
|
|
422
|
+
i0.ɵɵconditionalCreate(1, FileUploadInputElementComponent_Conditional_1_Template, 13, 14, "mat-form-field", 1);
|
|
423
|
+
i0.ɵɵelementEnd();
|
|
424
|
+
} if (rf & 2) {
|
|
425
|
+
let tmp_1_0;
|
|
426
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup());
|
|
427
|
+
i0.ɵɵadvance();
|
|
428
|
+
i0.ɵɵconditional((tmp_1_0 = ctx.inputConfig()) ? 1 : -1, tmp_1_0);
|
|
429
|
+
} }, dependencies: [ReactiveFormsModule, i1$1.ɵNgNoValidate, i1$1.NgControlStatus, i1$1.NgControlStatusGroup, i1$1.RequiredValidator, i1$1.FormGroupDirective, i1$1.FormControlName, MatFormFieldModule, i2$1.MatFormField, i2$1.MatLabel, i2$1.MatHint, i2$1.MatError, i2$1.MatPrefix, i2$1.MatSuffix, MatIconModule, i3.MatIcon, MatButtonModule, i2.MatIconButton, MatTooltipModule, i5.MatTooltip, FileUploaderComponent,
|
|
430
|
+
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 }); }
|
|
431
|
+
}
|
|
432
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileUploadInputElementComponent, [{
|
|
433
|
+
type: Component,
|
|
434
|
+
args: [{ selector: 'lib-file-upload-input-element', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
435
|
+
ReactiveFormsModule,
|
|
436
|
+
MatFormFieldModule,
|
|
437
|
+
MatIconModule,
|
|
438
|
+
MatButtonModule,
|
|
439
|
+
MatTooltipModule,
|
|
440
|
+
FileUploaderComponent,
|
|
441
|
+
TFormInputStatusComponent,
|
|
442
|
+
], template: "<form [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as inputConfig) {\r\n <mat-form-field [appearance]=\"inputConfig.appearance || 'fill'\" subscriptSizing=\"dynamic\">\r\n <mat-label>\r\n {{ inputConfig.label }}\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig\"></lib-t-form-input-status>\r\n </mat-label>\r\n\r\n <lib-file-uploader\r\n [inputConfig]=\"inputConfig\"\r\n [formControlName]=\"inputConfig.id\"\r\n [required]=\"inputConfig.required\"\r\n ></lib-file-uploader>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n @if (!!errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.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.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig.id]?.value?.length || 0) + '/' + inputConfig.maxLength }}\r\n </mat-hint>\r\n }\r\n </mat-form-field>\r\n }\r\n</form>\r\n", styles: ["mat-form-field{width:100%!important}mat-form-field .input-sync-button{display:none}mat-form-field:hover .input-sync-button{display:inline-block}\n"] }]
|
|
443
|
+
}], 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"] }] }); })();
|
|
444
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FileUploadInputElementComponent, { className: "FileUploadInputElementComponent", filePath: "lib/components/t-form-input/elements/file-upload-input-element/file-upload-input-element.component.ts", lineNumber: 28 }); })();
|
|
445
|
+
|
|
446
|
+
export { FileUploadInputElementComponent };
|
|
447
|
+
//# sourceMappingURL=ngx-t-forms-file-upload-input-element.component-RCmUClXv.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-t-forms-file-upload-input-element.component-RCmUClXv.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/file-upload-input-element/core/file-uploader/file-uploader.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/file-upload-input-element/core/file-uploader/file-uploader.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/file-upload-input-element/file-upload-input-element.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/file-upload-input-element/file-upload-input-element.component.ts"],"sourcesContent":["@if (loading) {\r\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\r\n}\r\n\r\n@if (!shouldLabelFloat) {\r\n <section>\r\n <br>\r\n <div\r\n [style.border-color]=\"dragOver ? ' var(--mat-stepper-header-selected-state-icon-background-color)' : '#ccc;'\"\r\n (dragover)=\"onDragOver($event)\"\r\n (drop)=\"onDrop($event)\"\r\n (dragleave)=\"onDragLeave($event)\"\r\n class=\"drop-zone\">\r\n <div>\r\n <mat-icon>\r\n cloud_upload\r\n </mat-icon>\r\n </div>\r\n <div>\r\n @if (!!errorMessage) {\r\n <span class=\"mat-mdc-form-field-error\">\r\n {{ errorMessage }}\r\n </span>\r\n } @else {\r\n Drag and drop files or click to upload\r\n }\r\n </div>\r\n </div>\r\n </section>\r\n}\r\n\r\n<input\r\n style=\"display: none\"\r\n hidden\r\n [readonly]=\"isReadOnly()\"\r\n [disabled]=\"isReadOnly()\"\r\n [type]=\"inputConfig().type || 'file'\"\r\n [accept]=\"uploadAccept()\"\r\n (change)=\"onFileSelected($event)\"\r\n #uploader\r\n/>\r\n\r\n@if (!!shouldLabelFloat) {\r\n <div\r\n [style.border-color]=\"dragOver ? 'var(--mat-stepper-header-selected-state-icon-background-color)' : '#ccc;'\"\r\n class=\"drop-zone\"\r\n (dragover)=\"onDragOver($event)\"\r\n (drop)=\"onDrop($event)\"\r\n (dragleave)=\"onDragLeave($event)\">\r\n <img style=\"width: 100%;\" [src]=\"previewSrc()\" alt=\"\">\r\n <mat-toolbar style=\" height: min-content !important;\">\r\n <mat-icon\r\n [style.color]=\"dragOver ? 'var(--mat-stepper-header-selected-state-icon-background-color)' : ''\">\r\n cloud_upload\r\n </mat-icon>\r\n <span class=\"spacer\"></span>\r\n <div style=\"padding: 8px;\">\r\n @if (!!fileName) {\r\n <div style=\"\r\n line-height: normal;width: 100%;\r\n white-space:normal;overflow: hidden;text-overflow: ellipsis;\r\n font-size: 0.75em;color:var(--mat-stepper-header-selected-state-icon-background-color);\">\r\n {{ fileName }}\r\n </div>\r\n }\r\n <div style=\"font-size: 0.875em;\">\r\n Drag and drop files or click to upload\r\n </div>\r\n </div>\r\n\r\n <span class=\"spacer\"></span>\r\n <button (click)=\"clearFile($event)\" [disabled]=\"isReadOnly()\" mat-icon-button>\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </mat-toolbar>\r\n </div>\r\n}\r\n","import {\r\n ChangeDetectionStrategy,\r\n Component,\r\n ElementRef,\r\n PLATFORM_ID,\r\n computed,\r\n inject,\r\n input,\r\n viewChild,\r\n} from '@angular/core';\r\nimport { isPlatformBrowser } from '@angular/common';\r\nimport { NgControl } from '@angular/forms';\r\nimport { MatFormFieldControl } from '@angular/material/form-field';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatToolbarModule } from '@angular/material/toolbar';\r\nimport { MatButtonModule } from '@angular/material/button';\r\n\r\nimport {\r\n AllDocumentFileExtensions,\r\n AllImageFileExtensions,\r\n FileUploadInputValueInterface,\r\n IFileUploadInput,\r\n ITowerStepColumn,\r\n InputFileType,\r\n UploadTypes,\r\n} from 'ngx-t-forms-types';\r\n\r\nimport { BaseCustomInput, BaseCustomInputConfig } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';\r\n\r\nconst customInputConfig: BaseCustomInputConfig = {\r\n controlType: 'app-file-uploader',\r\n nextId: 0,\r\n};\r\n\r\n@Component({\r\n selector: 'lib-file-uploader',\r\n templateUrl: './file-uploader.component.html',\r\n styleUrls: ['./file-uploader.component.css'],\r\n imports: [\r\n MatProgressBarModule,\r\n MatIconModule,\r\n MatToolbarModule,\r\n MatButtonModule,\r\n ],\r\n host: {\r\n '[class.floating]': 'shouldLabelFloat',\r\n '[id]': 'id',\r\n },\r\n providers: [{ provide: MatFormFieldControl, useExisting: FileUploaderComponent }],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class FileUploaderComponent extends BaseCustomInput<FileUploadInputValueInterface | object | null> {\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n\r\n protected readonly uploader = viewChild.required<ElementRef<HTMLInputElement>>('uploader');\r\n\r\n /**\r\n * True when the descriptor marks the field `readonly` or `disabled`. Blocks the\r\n * upload/drop/clear interactions so the file picker honours the same\r\n * `readonly || disabled` contract as the reference text input.\r\n */\r\n protected readonly isReadOnly = computed<boolean>(() => {\r\n const cfg = this.inputConfig();\r\n return !!cfg?.readonly || !!cfg?.disabled;\r\n });\r\n\r\n protected readonly uploadAccept = computed<string>(() => {\r\n const cfg = this.inputConfig() as IFileUploadInput | undefined;\r\n const fileType = cfg?.fileType;\r\n if (!fileType) {\r\n return InputFileType.file;\r\n }\r\n return (UploadTypes as Record<string, string>)[String(fileType)] ?? InputFileType.file;\r\n });\r\n\r\n protected readonly previewSrc = computed(() => {\r\n const cfg = this.inputConfig() as IFileUploadInput | undefined;\r\n const fileType = cfg?.fileType;\r\n switch (fileType) {\r\n case InputFileType.file:\r\n return 'https://res.cloudinary.com/afrob/image/upload/v1676973154/Flows/Icons/iPhone_14_-_1_tx1scw.png';\r\n default:\r\n return (this.value as FileUploadInputValueInterface | null)?.base64 ?? undefined;\r\n }\r\n });\r\n\r\n protected fileName: string | null = null;\r\n protected loading: number | null = null;\r\n protected dragOver = false;\r\n\r\n readonly #platformId = inject(PLATFORM_ID);\r\n\r\n constructor() {\r\n super(\r\n inject(NgControl, { optional: true, self: true }) as NgControl,\r\n inject<ElementRef<HTMLElement>>(ElementRef),\r\n customInputConfig,\r\n );\r\n }\r\n\r\n override get value(): FileUploadInputValueInterface | object | null {\r\n return this._value;\r\n }\r\n override set value(file: FileUploadInputValueInterface | object | null) {\r\n const fileType = this.inputConfig()?.fileType;\r\n if (!file || typeof file !== 'object') {\r\n this._value = file;\r\n this.stateChanges.next();\r\n return;\r\n }\r\n\r\n const { base64, fileExtension } = file as FileUploadInputValueInterface;\r\n\r\n if (!base64) {\r\n this._value = file;\r\n this.stateChanges.next();\r\n return;\r\n }\r\n\r\n const allDocExtensions = Object.values(AllDocumentFileExtensions);\r\n const allImageExtensions = Object.values(AllImageFileExtensions);\r\n const isFile = allDocExtensions.includes(fileExtension as AllDocumentFileExtensions);\r\n const isImage = allImageExtensions.includes(fileExtension as AllImageFileExtensions);\r\n if (\r\n (fileType === InputFileType.file && !isFile) ||\r\n ((fileType === InputFileType.Image || fileType === InputFileType.CaptureImage) && !isImage)\r\n ) {\r\n this._value = null;\r\n this.temporaryError(`Invalid file type. Expected ${fileType} file`);\r\n this.stateChanges.next();\r\n return;\r\n } else {\r\n this._value = file;\r\n this.stateChanges.next();\r\n return;\r\n }\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 this.focused || !this.empty;\r\n }\r\n\r\n override onContainerClick(event: MouseEvent): void {\r\n if (this.isReadOnly()) return;\r\n this.uploader().nativeElement.click();\r\n if (event.target !== this._elementRef.nativeElement) {\r\n this.markAsTouched();\r\n this.stateChanges.next();\r\n }\r\n }\r\n\r\n protected triggerUploader(): void {\r\n if (this.isReadOnly()) return;\r\n this.uploader().nativeElement.click();\r\n }\r\n\r\n protected onFileSelected(event: Event): void {\r\n const files = (event.target as HTMLInputElement).files;\r\n if (files && files.length > 0) {\r\n const file = files[0];\r\n if (!file) return;\r\n this.assignFile(file);\r\n }\r\n }\r\n\r\n protected assignFile(file: File): void {\r\n // FileReader is a browser-only API; gate by isPlatformBrowser to keep SSR-safe.\r\n if (!isPlatformBrowser(this.#platformId)) {\r\n return;\r\n }\r\n const reader = new FileReader();\r\n reader.onload = () => {\r\n this.fileName = file.name;\r\n const nameSplit = file.name.split('.');\r\n const fileExtension = nameSplit[nameSplit.length - 1];\r\n this.value = {\r\n fileName: file.name,\r\n base64: reader.result as string,\r\n type: this.inputConfig()?.fileType,\r\n blob: file,\r\n fileExtension,\r\n };\r\n this.onChange(this.value);\r\n };\r\n reader.readAsDataURL(file);\r\n }\r\n\r\n protected onDragOver(event: DragEvent): void {\r\n this.dragOver = true;\r\n event.preventDefault();\r\n event.stopPropagation();\r\n }\r\n\r\n protected onDrop(event: DragEvent): void {\r\n this.dragOver = false;\r\n event.preventDefault();\r\n event.stopPropagation();\r\n if (this.isReadOnly()) return;\r\n const files = event.dataTransfer?.files;\r\n if (files && files.length > 0) {\r\n const file = files[0];\r\n if (!file) return;\r\n this.assignFile(file);\r\n }\r\n }\r\n\r\n protected onDragLeave(event: DragEvent): void {\r\n this.dragOver = false;\r\n event.preventDefault();\r\n event.stopPropagation();\r\n }\r\n\r\n protected clearFile(event: MouseEvent): void {\r\n event.preventDefault();\r\n event.stopPropagation();\r\n if (this.isReadOnly()) return;\r\n this.value = null;\r\n this.stateChanges.next();\r\n }\r\n}\r\n","<form [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as inputConfig) {\r\n <mat-form-field [appearance]=\"inputConfig.appearance || 'fill'\" subscriptSizing=\"dynamic\">\r\n <mat-label>\r\n {{ inputConfig.label }}\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig\"></lib-t-form-input-status>\r\n </mat-label>\r\n\r\n <lib-file-uploader\r\n [inputConfig]=\"inputConfig\"\r\n [formControlName]=\"inputConfig.id\"\r\n [required]=\"inputConfig.required\"\r\n ></lib-file-uploader>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n @if (!!errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.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.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig.id]?.value?.length || 0) + '/' + inputConfig.maxLength }}\r\n </mat-hint>\r\n }\r\n </mat-form-field>\r\n }\r\n</form>\r\n","import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { FormGroup, ReactiveFormsModule, ValidationErrors } from '@angular/forms';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport type { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { TFormInputStatusComponent } from '../../../t-form-input-status/t-form-input-status.component';\r\nimport { FileUploaderComponent } from './core/file-uploader/file-uploader.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\n\r\n/** Wraps a reactive file-uploader control inside a `mat-form-field`. */\r\n@Component({\r\n selector: 'lib-file-upload-input-element',\r\n templateUrl: './file-upload-input-element.component.html',\r\n styleUrl: './file-upload-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 FileUploaderComponent,\r\n TFormInputStatusComponent,\r\n ],\r\n})\r\nexport class FileUploadInputElementComponent {\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n readonly formGroup = input.required<FormGroup>();\r\n readonly reload = output<void>();\r\n\r\n protected readonly errorMessage = computed(() =>\r\n getInputErrorMessage(this.inputConfig(), this.formGroup()),\r\n );\r\n\r\n protected getErrors(): ValidationErrors | null | undefined {\r\n return this.formGroup().controls[this.inputConfig().id]?.errors;\r\n }\r\n}\r\n"],"names":["i2","i4","i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;IACE,EAAA,CAAA,SAAA,CAAA,CAAA,EAAA,kBAAA,EAAA,CAAA,CAA0D;;;IAmBlD,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,MAAA,EAAA,CAAA,CAAuC;IACrC,EAAA,CAAA,MAAA,CAAA,CAAA,CACF;IAAA,EAAA,CAAA,YAAA,EAAO;;;IADL,EAAA,CAAA,SAAA,EACF;IADE,EAAA,CAAA,kBAAA,CAAA,GAAA,EAAA,MAAA,CAAA,YAAA,EAAA,GAAA,CACF;;;IAEA,EAAA,CAAA,MAAA,CAAA,CAAA,EAAA,0CAAA,CACF;;;;IApBN,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,SAAA,CAAS;IACP,EAAA,CAAA,SAAA,CAAA,CAAA,EAAA,IAAA,CAAI;IACJ,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,KAAA,EAAA,CAAA,CAKoB;IAHlB,kMAAY,MAAA,CAAA,UAAA,CAAA,MAAA,CAAkB,CAAA,CAAA,CAAA,CAAA,CAAC,6KACvB,MAAA,CAAA,MAAA,CAAA,MAAA,CAAc,CAAA,CAAA,CAAA,CAAA,CAAC,CAAA,WAAA,EAAA,SAAA,qEAAA,CAAA,MAAA,EAAA,EAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,CAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,EAAA,CAAA,CAAA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