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 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-t-forms-mscoa-segment-config.component-CSGf4XeN.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/mscoa-segment-config/mscoa-segment-config.component.html","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/mscoa-segment-config/mscoa-segment-config.component.ts"],"sourcesContent":["@if (loading()) {\n <div class=\"mscoa-segment-config__notice\">\n <mat-icon class=\"mscoa-segment-config__notice-icon\">hourglass_top</mat-icon>\n <span>Loading account segments…</span>\n </div>\n}\n\n@if (treeError(); as error) {\n <div class=\"mscoa-segment-config__notice mscoa-segment-config__notice--error\">\n <mat-icon class=\"mscoa-segment-config__notice-icon\">error_outline</mat-icon>\n <span>{{ error }}</span>\n </div>\n}\n\n@if (resolvedValue().length > 0) {\n <div class=\"mscoa-segment-config__section\">\n <p class=\"mscoa-segment-config__section-label\">Configured segments</p>\n <mat-chip-listbox [disabled]=\"disabled()\" aria-label=\"Configured account segments\">\n @for (segment of resolvedValue(); track segment.id; let i = $index) {\n <mat-chip-option\n (removed)=\"removeSegment(i)\"\n (click)=\"startEdit(i)\"\n [value]=\"segment.segment\"\n [selected]=\"isEditing() && !isAddingNew()\">\n <span class=\"mscoa-segment-config__chip-content\">\n <span class=\"mscoa-segment-config__chip-label\">{{ segment.label }}</span>\n <mat-icon class=\"mscoa-segment-config__chip-icon\">\n {{ segment.singleSelect ? 'done' : 'done_all' }}\n </mat-icon>\n <mat-icon class=\"mscoa-segment-config__chip-icon\">\n {{ segment.readOnly ? 'edit_off' : 'edit' }}\n </mat-icon>\n </span>\n\n @if (showAllSegments() === false) {\n <button matChipRemove aria-label=\"Remove segment\" [disabled]=\"disabled()\">\n <mat-icon>cancel</mat-icon>\n </button>\n }\n </mat-chip-option>\n }\n </mat-chip-listbox>\n </div>\n} @else if (!loading()) {\n <lib-empty-state\n icon=\"account_tree\"\n message=\"No segments configured yet. Add one to begin shaping this MSCOA input.\">\n @if (canAddNew()) {\n <button mat-stroked-button [disabled]=\"disabled()\" (click)=\"startAddNew()\">\n <mat-icon>add</mat-icon>\n Add segment\n </button>\n }\n </lib-empty-state>\n}\n\n@if (canAddNew() && resolvedValue().length > 0) {\n <button\n class=\"mscoa-segment-config__add\"\n mat-stroked-button\n [disabled]=\"disabled()\"\n (click)=\"startAddNew()\">\n <mat-icon>add</mat-icon>\n Add new segment\n </button>\n}\n\n@if (canManageInputs) {\n <!-- Account-level custom inputs (peers of the segments): list + consolidated add/edit panel. -->\n <div class=\"mscoa-segment-config__section\">\n <p class=\"mscoa-segment-config__section-label\">Custom inputs</p>\n <p class=\"mscoa-segment-config__hint\">\n Account-level inputs that sit alongside the segments (e.g. budget value,\n department). Each is a full form input entered per leg; single value\n selection applies one value across debit and credit.\n </p>\n\n @for (input of customInputs(); track input.id) {\n <div class=\"mscoa-segment-config__custom-input-row\">\n <mat-icon class=\"mscoa-segment-config__input-icon\">tune</mat-icon>\n <span class=\"mscoa-segment-config__input-label\">\n {{ input.label || input.formControlName || 'Untitled input' }}\n </span>\n <button\n mat-icon-button\n type=\"button\"\n [disabled]=\"disabled()\"\n matTooltip=\"Edit\"\n aria-label=\"Edit input\"\n (click)=\"startEditCustomInput(input)\">\n <mat-icon>edit</mat-icon>\n </button>\n <button\n mat-icon-button\n type=\"button\"\n [disabled]=\"disabled()\"\n matTooltip=\"Advanced settings (validators, calculations, API)\"\n aria-label=\"Advanced settings\"\n (click)=\"onEditAdvanced(input)\">\n <mat-icon>tune</mat-icon>\n </button>\n <button\n mat-icon-button\n type=\"button\"\n [disabled]=\"disabled()\"\n matTooltip=\"Remove\"\n aria-label=\"Remove input\"\n (click)=\"onDeleteInput(input)\">\n <mat-icon>delete_outline</mat-icon>\n </button>\n </div>\n } @empty {\n <p class=\"mscoa-segment-config__hint mscoa-segment-config__hint--muted\">\n No custom inputs yet.\n </p>\n }\n\n @if (!isCustomInputPanelOpen()) {\n <button\n class=\"mscoa-segment-config__add-input\"\n mat-stroked-button\n type=\"button\"\n [disabled]=\"disabled()\"\n (click)=\"startAddCustomInput()\">\n <mat-icon>add</mat-icon>\n Add custom input\n </button>\n }\n\n @if (isCustomInputPanelOpen()) {\n <mat-card class=\"mscoa-segment-config__panel\" appearance=\"outlined\">\n <mat-card-header>\n <mat-card-subtitle>\n {{ customInputForm.value.id ? 'Update' : 'Add a' }} custom input\n </mat-card-subtitle>\n </mat-card-header>\n\n <mat-card-content>\n <form [formGroup]=\"customInputForm\" (ngSubmit)=\"saveCustomInputPanel()\">\n <div class=\"mscoa-segment-config__group\">\n <mat-form-field subscriptSizing=\"dynamic\" floatLabel=\"always\" appearance=\"outline\">\n <mat-label>Input type</mat-label>\n <mat-select formControlName=\"element\" placeholder=\"Select input type\">\n @for (type of customInputTypes; track type.value) {\n <mat-option [value]=\"type.value\">{{ type.label }}</mat-option>\n }\n </mat-select>\n <mat-hint>Use Advanced settings for validators, calculations and API.</mat-hint>\n </mat-form-field>\n </div>\n\n <div class=\"mscoa-segment-config__group\">\n <mat-form-field subscriptSizing=\"dynamic\" floatLabel=\"always\" appearance=\"outline\">\n <mat-label>Label</mat-label>\n <input matInput formControlName=\"label\" placeholder=\"Enter label\" />\n <mat-hint>A descriptive name (e.g. 'Budget value', 'Department').</mat-hint>\n </mat-form-field>\n </div>\n\n <div class=\"mscoa-segment-config__group\">\n <div class=\"mscoa-segment-config__toggle\">\n <mat-slide-toggle formControlName=\"singleSelect\">Single value selection</mat-slide-toggle>\n </div>\n <p class=\"mscoa-segment-config__hint\">\n When enabled, one value applies across debit and credit; when disabled, a value is\n entered per leg.\n </p>\n </div>\n\n <div class=\"mscoa-segment-config__group\">\n <div class=\"mscoa-segment-config__toggle\">\n <mat-slide-toggle formControlName=\"readonly\">Read only</mat-slide-toggle>\n </div>\n <p class=\"mscoa-segment-config__hint\">\n Prevents users from changing the value after initial setup.\n </p>\n </div>\n\n <mat-card-actions class=\"mscoa-segment-config__actions\">\n <button mat-button type=\"button\" (click)=\"cancelCustomInput()\">Cancel</button>\n <button mat-flat-button color=\"primary\" type=\"submit\" [disabled]=\"!customInputForm.valid\">\n Save\n </button>\n </mat-card-actions>\n </form>\n </mat-card-content>\n </mat-card>\n }\n </div>\n}\n\n@if (isEditing()) {\n <mat-card class=\"mscoa-segment-config__panel\" appearance=\"outlined\">\n <mat-card-header>\n <mat-card-subtitle>\n {{ isAddingNew() ? 'Add a new' : 'Update' }} segment\n </mat-card-subtitle>\n </mat-card-header>\n\n <mat-card-content>\n <form [formGroup]=\"segmentForm\" (ngSubmit)=\"saveSegment()\">\n <div class=\"mscoa-segment-config__group\">\n <div class=\"mscoa-segment-config__toggle\">\n <mat-slide-toggle\n (change)=\"multiLevelSelectChange($event)\"\n [checked]=\"segmentForm.value.segmentExtension\">\n Enable multi-level segmentation\n </mat-slide-toggle>\n </div>\n <p class=\"mscoa-segment-config__hint\">\n Allows sub-classifications within this segment for more detailed accounting hierarchies.\n </p>\n\n <mat-form-field subscriptSizing=\"dynamic\" floatLabel=\"always\" appearance=\"outline\">\n <mat-label>Segment</mat-label>\n <mat-select\n (selectionChange)=\"selectSegment($event)\"\n formControlName=\"segment\"\n placeholder=\"Select segment\">\n @for (segment of treeSegments(); track segment.id) {\n <mat-option [disabled]=\"alreadyExists(segment)\" [value]=\"segment.segment\">\n {{ segment.label }}\n </mat-option>\n }\n </mat-select>\n <mat-hint>Select an account segment type from your chart of accounts.</mat-hint>\n </mat-form-field>\n </div>\n\n @if (isCashSegmentConfig()) {\n <div class=\"mscoa-segment-config__group\">\n <div class=\"mscoa-segment-config__toggle\">\n <mat-slide-toggle\n (change)=\"setInheritFromAccrual($event)\"\n [checked]=\"segmentForm.value.inheritValueFromAccrual\">\n Inherit from accrual\n </mat-slide-toggle>\n </div>\n <p class=\"mscoa-segment-config__hint\">\n When enabled, changes to the accrual value reflect here automatically.\n </p>\n </div>\n }\n\n <div class=\"mscoa-segment-config__group\">\n <mat-form-field subscriptSizing=\"dynamic\" floatLabel=\"always\" appearance=\"outline\">\n <mat-label>Label</mat-label>\n <input\n matInput\n formControlName=\"label\"\n [readonly]=\"!segmentForm.value.segmentExtension\"\n placeholder=\"Enter label\" />\n <mat-hint>\n A descriptive name for this segment (e.g. 'Department', 'Project', 'Cost Center').\n </mat-hint>\n </mat-form-field>\n </div>\n\n <div class=\"mscoa-segment-config__group\">\n <div class=\"mscoa-segment-config__toggle\">\n <mat-slide-toggle\n (change)=\"singleSelectChange($event)\"\n [checked]=\"segmentForm.value.singleSelect\">\n Single value selection\n </mat-slide-toggle>\n </div>\n <p class=\"mscoa-segment-config__hint\">\n When enabled, transactions are assigned to one value within this segment; when disabled,\n they can be split across multiple values.\n </p>\n </div>\n\n @if (segmentForm.value.segment?.toLocaleLowerCase() === 'item') {\n <div class=\"mscoa-segment-config__group\">\n <div class=\"mscoa-segment-config__toggle\">\n <mat-slide-toggle\n (change)=\"setVatSelectionActive($event)\"\n [checked]=\"segmentForm.value.vatSelectonActive\">\n Require VAT account selection\n </mat-slide-toggle>\n </div>\n <p class=\"mscoa-segment-config__hint\">\n When active, users must specify a VAT account for taxable items.\n </p>\n </div>\n }\n\n <div class=\"mscoa-segment-config__group\">\n <div class=\"mscoa-segment-config__toggle\">\n <mat-slide-toggle\n (change)=\"readOnlyChanged($event)\"\n [checked]=\"segmentForm.value.readOnly\">\n Read-only segment\n </mat-slide-toggle>\n </div>\n <p class=\"mscoa-segment-config__hint\">\n Prevents users from modifying segment values after initial setup. Use for regulatory or\n policy-controlled segments.\n </p>\n </div>\n\n <div class=\"mscoa-segment-config__group\">\n <mat-form-field subscriptSizing=\"dynamic\" floatLabel=\"always\" appearance=\"outline\">\n <mat-label>Additional accounts</mat-label>\n <mat-select\n (selectionChange)=\"additionalAccountsChanged($event)\"\n formControlName=\"additionalAccounts\"\n multiple\n placeholder=\"Select counter accounts\">\n @for (ext of extensionAccountsForSegments; track ext) {\n <mat-option [value]=\"ext\">{{ ext }}</mat-option>\n }\n </mat-select>\n <mat-hint>\n Add supporting accounts for this segment (e.g. VAT or tax accounts).\n </mat-hint>\n </mat-form-field>\n </div>\n\n <mat-card-actions class=\"mscoa-segment-config__actions\">\n <button mat-button type=\"button\" (click)=\"cancelEdit()\">Cancel</button>\n <button mat-flat-button color=\"primary\" type=\"submit\" [disabled]=\"!segmentForm.valid\">\n Save\n </button>\n </mat-card-actions>\n </form>\n </mat-card-content>\n </mat-card>\n}\n","import {\r\n ChangeDetectionStrategy,\r\n Component,\r\n DestroyRef,\r\n ViewEncapsulation,\r\n computed,\r\n effect,\r\n inject,\r\n input,\r\n output,\r\n signal,\r\n} from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport {\r\n FormBuilder,\r\n FormGroup,\r\n ReactiveFormsModule,\r\n Validators,\r\n} from '@angular/forms';\r\nimport { Observable, catchError, of, take, tap } from 'rxjs';\r\n\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatSelectChange, MatSelectModule } from '@angular/material/select';\r\nimport { MatSlideToggleChange, MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\n\r\nimport type {\r\n FormColumnInputs,\r\n IGetTreeResponse,\r\n IIncludedSegmentConfig,\r\n IScoaInput,\r\n ScoaInnerInput,\r\n} from 'ngx-t-forms-types';\r\nimport { ElementTypes } from 'ngx-t-forms-types';\r\nimport { v4 as uuidv4 } from 'uuid';\r\n\r\nimport { _isEqual } from '../../../../shared/functions/isEqual';\r\nimport type { IConfigElementError } from '../../t-dynamic-data-edit.component';\r\nimport { EmptyStateComponent } from '../_shared/empty-state/empty-state.component';\r\n\r\nlet nextUniqueId = 0;\r\n\r\n/** Discriminated edit-panel state: idle, adding a new segment, or editing an existing one. */\r\ntype EditState =\r\n | { readonly mode: 'idle' }\r\n | { readonly mode: 'add' }\r\n | { readonly mode: 'edit'; readonly index: number };\r\n\r\nconst IDLE: EditState = { mode: 'idle' };\r\n\r\n/**\r\n * Internal editor element for configuring an MSCOA input's included account\r\n * segments. Child of `t-dynamic-data-edit`, which supplies the field label,\r\n * hint, and validation errors - so this component owns only the segment chip\r\n * row and the add/edit panel.\r\n *\r\n * The segment list is seeded from the MSCOA tree (`getMscoaTree`); each segment\r\n * carries flags such as single-select, read-only, VAT-selection and\r\n * inherit-from-accrual. In cash-segment mode (`isCashSegmentConfig`) every\r\n * non-`item` segment defaults to inherit-from-accrual + read-only.\r\n */\r\n@Component({\r\n selector: 'lib-mscoa-segment-config',\r\n templateUrl: './mscoa-segment-config.component.html',\r\n styleUrl: './mscoa-segment-config.component.scss',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.Emulated,\r\n host: {\r\n 'class': 'lib-mscoa-segment-config',\r\n '[attr.id]': 'hostId',\r\n },\r\n imports: [\r\n ReactiveFormsModule,\r\n MatButtonModule,\r\n MatCardModule,\r\n MatChipsModule,\r\n MatFormFieldModule,\r\n MatIconModule,\r\n MatInputModule,\r\n MatSelectModule,\r\n MatSlideToggleModule,\r\n MatTooltipModule,\r\n EmptyStateComponent,\r\n ],\r\n})\r\nexport class MscoaSegmentConfigComponent {\r\n /**\r\n * Validation errors passed down by the parent editor. Retained on the contract\r\n * but not rendered here - `t-dynamic-data-edit` owns error display.\r\n */\r\n readonly errors = input<IConfigElementError[] | undefined>([]);\r\n\r\n /** The full MSCOA input config; supplies the extension-account options. */\r\n readonly dataValue = input<IScoaInput | undefined>(undefined);\r\n\r\n /** Disable user interaction. */\r\n readonly disabled = input<boolean>(false);\r\n\r\n /** Cash-segment mode: non-`item` segments default to inherit + read-only. */\r\n readonly isCashSegmentConfig = input<boolean>(false);\r\n\r\n /** Currently configured segments. */\r\n readonly value = input<IIncludedSegmentConfig[] | undefined>(undefined);\r\n\r\n /** When true, render every tree segment read-only (no add/remove). */\r\n readonly showAllSegments = input<boolean>(false);\r\n\r\n /**\r\n * Stream that resolves the MSCOA account tree. Heterogeneous wrapper binding -\r\n * the parent feeds whatever the editor config holds; narrowing here would force\r\n * wrapper changes.\r\n */\r\n readonly getMscoaTree = input<Observable<IGetTreeResponse | undefined> | undefined>(undefined);\r\n\r\n /**\r\n * Creates or updates an account-level custom input (a peer of the segments) from\r\n * the quick editor. Threaded through `t-dynamic-data-edit`; absent outside the\r\n * builder, which hides the affordance.\r\n */\r\n readonly saveCustomInput = input<((sectionId: string, scoaInputId: string, config: Pick<ScoaInnerInput, 'element' | 'label' | 'formControlName' | 'singleSelect' | 'readonly'> & { id?: string }) => void) | undefined>(undefined);\r\n\r\n /** Opens a custom input in the form-builder's input editor for advanced configuration. */\r\n readonly editSegmentInput = input<((input: FormColumnInputs) => void) | undefined>(undefined);\r\n\r\n /** Removes a custom input from the MSCOA config. */\r\n readonly deleteSegmentInput = input<((input: FormColumnInputs) => void) | undefined>(undefined);\r\n\r\n /** Emits the mutated segment list whenever the user adds, edits, or removes one. */\r\n readonly valueChanged = output<IIncludedSegmentConfig[]>();\r\n\r\n /** Host id attribute - stable, unique per instance. */\r\n readonly hostId = `app-mscoa-segment-config-${nextUniqueId++}`;\r\n\r\n readonly #fb = inject(FormBuilder);\r\n readonly #destroyRef = inject(DestroyRef);\r\n\r\n /** Tree-derived segment templates (drives the segment `mat-select`). */\r\n readonly #treeSegments = signal<readonly IIncludedSegmentConfig[]>([]);\r\n\r\n /** Error raised while fetching the tree (`null` until/unless the fetch fails). */\r\n readonly #fetchError = signal<string | null>(null);\r\n\r\n /** True while the tree stream is in flight. */\r\n protected readonly loading = signal<boolean>(false);\r\n\r\n /** Add/edit panel state. */\r\n readonly #editState = signal<EditState>(IDLE);\r\n\r\n /** Reactive form for the segment currently being added/edited. */\r\n protected segmentForm: FormGroup = this.#createSegmentForm();\r\n\r\n /** Add/edit panel state for account-level custom inputs. */\r\n readonly #customInputState = signal<{ mode: 'idle' } | { mode: 'add' } | { mode: 'edit'; id: string }>({ mode: 'idle' });\r\n\r\n /** Reactive form for the custom input currently being added/edited. */\r\n protected customInputForm: FormGroup = this.#createCustomInputForm();\r\n\r\n /** Curated input-type options for the custom-input quick editor. */\r\n protected readonly customInputTypes: ReadonlyArray<{ value: ElementTypes; label: string }> = [\r\n { value: ElementTypes.Input, label: 'Text / number' },\r\n { value: ElementTypes.Select, label: 'Select' },\r\n { value: ElementTypes.DatePicker, label: 'Date' },\r\n { value: ElementTypes.Toggle, label: 'Toggle' },\r\n ];\r\n\r\n /** Guards single-shot tree load (mirrors the original take(1) one-time fetch). */\r\n #treeRequested = false;\r\n\r\n /**\r\n * The configured segments, always a real array. The editor descriptor seeds\r\n * an unconfigured segments value as `false` (its `defaultValue`), so guard\r\n * against any non-array input — `?? []` alone would let `false`/objects\r\n * through and break `.some` / `.map` / `@for` downstream.\r\n */\r\n protected readonly resolvedValue = computed<readonly IIncludedSegmentConfig[]>(\r\n () => {\r\n const value = this.value();\r\n return Array.isArray(value) ? value : [];\r\n },\r\n );\r\n\r\n /** Tree-derived segment templates for the picker. */\r\n protected readonly treeSegments = this.#treeSegments.asReadonly();\r\n\r\n /**\r\n * Loader/tree error message; `null` when none. A fetch error takes priority,\r\n * otherwise a missing loader surfaces the \"No loader provided\" notice.\r\n */\r\n protected readonly treeError = computed<string | null>(() => {\r\n const fetchError = this.#fetchError();\r\n if (fetchError) {\r\n return fetchError;\r\n }\r\n return this.getMscoaTree() ? null : 'No loader provided';\r\n });\r\n\r\n /** Whether the add/edit panel is open. */\r\n protected readonly isEditing = computed<boolean>(() => this.#editState().mode !== 'idle');\r\n\r\n /** Whether the open panel is adding a brand-new segment. */\r\n protected readonly isAddingNew = computed<boolean>(() => this.#editState().mode === 'add');\r\n\r\n /** Whether the \"Add new segment\" toolbar button should show. */\r\n protected readonly canAddNew = computed<boolean>(\r\n () => !this.isEditing() && !this.showAllSegments(),\r\n );\r\n\r\n constructor() {\r\n // One-time tree load. Mirrors the original `take(1)` fetch. The signal\r\n // writes happen off the reactive tick (microtask) so the effect itself\r\n // performs no synchronous signal mutation.\r\n effect(() => {\r\n const tree$ = this.getMscoaTree();\r\n if (!tree$ || this.#treeRequested) {\r\n return;\r\n }\r\n this.#treeRequested = true;\r\n queueMicrotask(() => this.#loadMscoa(tree$));\r\n });\r\n\r\n // Reflect the full tree as read-only segments when `showAllSegments` is on.\r\n effect(() => {\r\n if (this.showAllSegments()) {\r\n this.#syncAllSegments();\r\n }\r\n });\r\n }\r\n\r\n /** Fetch the tree once, build the segment templates, surface any error. */\r\n #loadMscoa(tree$: Observable<IGetTreeResponse | undefined>): void {\r\n this.#fetchError.set(null);\r\n this.loading.set(true);\r\n tree$\r\n .pipe(\r\n take(1),\r\n tap((response) => {\r\n this.#treeSegments.set(this.#buildTreeSegments(response));\r\n this.loading.set(false);\r\n }),\r\n catchError(() => {\r\n this.#fetchError.set('Failed to fetch mscoa tree');\r\n this.loading.set(false);\r\n return of(undefined);\r\n }),\r\n takeUntilDestroyed(this.#destroyRef),\r\n )\r\n .subscribe();\r\n }\r\n\r\n /** Map the tree account keys into seedable segment templates. */\r\n #buildTreeSegments(response: IGetTreeResponse | undefined): readonly IIncludedSegmentConfig[] {\r\n const isCash = this.isCashSegmentConfig();\r\n const current = this.resolvedValue();\r\n return (response?.accountTreeKeys ?? []).map((treeKey) => {\r\n const isItem = treeKey.toLocaleLowerCase() === 'item';\r\n return {\r\n id: uuidv4(),\r\n segment: treeKey,\r\n singleSelect: true,\r\n additionalAccounts: [],\r\n inheritValueFromAccrual: isCash ? !isItem : undefined,\r\n vatSelectonActive: isCash ? false : isItem,\r\n segmentExtension: false,\r\n label: this.#toTitleCase(treeKey),\r\n readOnly:\r\n current.find((v) => v.segment === treeKey)?.readOnly ||\r\n (isCash && !isItem) ||\r\n false,\r\n };\r\n });\r\n }\r\n\r\n /** Build the per-segment reactive form. */\r\n #createSegmentForm(\r\n segment: IIncludedSegmentConfig = {\r\n segment: '',\r\n label: '',\r\n id: uuidv4(),\r\n singleSelect: true,\r\n segmentExtension: false,\r\n additionalAccounts: [],\r\n readOnly: false,\r\n },\r\n ): FormGroup {\r\n const isItem = segment.segment?.toLocaleLowerCase() === 'item';\r\n return this.#fb.group({\r\n id: [segment.id],\r\n segment: [segment.segment, Validators.required],\r\n segmentExtension: [segment.segmentExtension, Validators.required],\r\n readOnly: [segment.readOnly, Validators.required],\r\n // Default to a concrete `false` in cash mode: `Validators.required` rejects\r\n // `undefined` (but accepts `false`), so a brand-new segment whose toggle was\r\n // never touched would otherwise keep the form invalid and the Save button\r\n // permanently disabled. Existing values (true/false) pass through unchanged.\r\n inheritValueFromAccrual: this.isCashSegmentConfig()\r\n ? [segment.inheritValueFromAccrual ?? false, Validators.required]\r\n : [segment.inheritValueFromAccrual],\r\n vatSelectonActive: isItem\r\n ? [Boolean(segment.vatSelectonActive), Validators.required]\r\n : [Boolean(segment.vatSelectonActive)],\r\n additionalAccounts: [segment.additionalAccounts ?? []],\r\n label: [segment.label, Validators.required],\r\n singleSelect: [segment.singleSelect, Validators.required],\r\n });\r\n }\r\n\r\n protected startAddNew(): void {\r\n this.segmentForm = this.#createSegmentForm();\r\n this.#editState.set({ mode: 'add' });\r\n }\r\n\r\n protected startEdit(index: number): void {\r\n const segment = this.resolvedValue().at(index);\r\n if (!segment) {\r\n return;\r\n }\r\n this.segmentForm = this.#createSegmentForm(segment);\r\n this.#editState.set({ mode: 'edit', index });\r\n }\r\n\r\n protected cancelEdit(): void {\r\n this.segmentForm.reset();\r\n this.#editState.set(IDLE);\r\n }\r\n\r\n protected saveSegment(): void {\r\n if (!this.segmentForm.valid) {\r\n return;\r\n }\r\n const raw = this.segmentForm.getRawValue();\r\n const label = this.#toTitleCase(String(raw.label ?? ''));\r\n const newSegment: IIncludedSegmentConfig = {\r\n id: typeof raw.id === 'string' && raw.id ? raw.id : uuidv4(),\r\n segment: raw.segment,\r\n // Multi-level segments derive their key from the (upper-cased) label.\r\n customSegment: raw.segmentExtension ? label.toLocaleUpperCase() : undefined,\r\n segmentExtension: Boolean(raw.segmentExtension),\r\n inheritValueFromAccrual: Boolean(raw.inheritValueFromAccrual),\r\n vatSelectonActive: Boolean(raw.vatSelectonActive),\r\n additionalAccounts: Array.isArray(raw.additionalAccounts) ? raw.additionalAccounts : [],\r\n label,\r\n singleSelect: Boolean(raw.singleSelect),\r\n readOnly: Boolean(raw.readOnly),\r\n };\r\n\r\n const state = this.#editState();\r\n const updated = [...this.resolvedValue()];\r\n if (state.mode === 'add') {\r\n updated.push(newSegment);\r\n } else if (state.mode === 'edit') {\r\n updated[state.index] = newSegment;\r\n } else {\r\n return;\r\n }\r\n\r\n this.valueChanged.emit(updated);\r\n this.cancelEdit();\r\n }\r\n\r\n protected readOnlyChanged(event: MatSlideToggleChange): void {\r\n this.segmentForm.patchValue({ readOnly: event.checked });\r\n }\r\n\r\n protected singleSelectChange(event: MatSlideToggleChange): void {\r\n this.segmentForm.patchValue({ singleSelect: event.checked });\r\n }\r\n\r\n protected setVatSelectionActive(event: MatSlideToggleChange): void {\r\n this.segmentForm.patchValue({ vatSelectonActive: event.checked });\r\n }\r\n\r\n /** Inherit-from-accrual implies read-only (quirk: toggling on forces read-only). */\r\n protected setInheritFromAccrual(event: MatSlideToggleChange): void {\r\n this.segmentForm.patchValue({ inheritValueFromAccrual: event.checked });\r\n if (event.checked) {\r\n this.segmentForm.patchValue({ readOnly: true });\r\n }\r\n }\r\n\r\n protected multiLevelSelectChange(event: MatSlideToggleChange): void {\r\n this.segmentForm.patchValue({ segmentExtension: event.checked });\r\n }\r\n\r\n /** Pick a segment; auto-fill the label from it unless this is a multi-level extension. */\r\n protected selectSegment(event: MatSelectChange): void {\r\n this.segmentForm.patchValue({ segment: event.value });\r\n if (!this.segmentForm.value.segmentExtension) {\r\n this.segmentForm.patchValue({ label: this.#toTitleCase(String(event.value ?? '')) });\r\n }\r\n }\r\n\r\n protected additionalAccountsChanged(event: MatSelectChange): void {\r\n this.segmentForm.patchValue(\r\n { additionalAccounts: [...event.value] },\r\n { emitEvent: true },\r\n );\r\n }\r\n\r\n protected removeSegment(index: number): void {\r\n const updated = this.resolvedValue().filter((_, i) => i !== index);\r\n this.valueChanged.emit(updated);\r\n }\r\n\r\n /** All account-level custom inputs (peers of the segments — not segment-linked). */\r\n protected customInputs(): ScoaInnerInput[] {\r\n return (this.dataValue()?.mscoaConfig?.inputs ?? []).filter((input) => !input.linkedSegmentId);\r\n }\r\n\r\n /** Whether custom inputs can be managed (builder callbacks present). */\r\n protected get canManageInputs(): boolean {\r\n return !!this.saveCustomInput() && !!this.dataValue()?.id;\r\n }\r\n\r\n /** Whether the custom-input add/edit panel is open. */\r\n protected readonly isCustomInputPanelOpen = computed<boolean>(\r\n () => this.#customInputState().mode !== 'idle',\r\n );\r\n\r\n /** Open the panel to add a new custom input. */\r\n protected startAddCustomInput(): void {\r\n this.cancelEdit();\r\n this.customInputForm = this.#createCustomInputForm();\r\n this.#customInputState.set({ mode: 'add' });\r\n }\r\n\r\n /** Open the panel to edit an existing custom input's basics. */\r\n protected startEditCustomInput(input: ScoaInnerInput): void {\r\n this.cancelEdit();\r\n this.customInputForm = this.#createCustomInputForm(input);\r\n this.#customInputState.set({ mode: 'edit', id: input.id });\r\n }\r\n\r\n /** Close the custom-input panel without saving. */\r\n protected cancelCustomInput(): void {\r\n this.customInputForm.reset();\r\n this.#customInputState.set({ mode: 'idle' });\r\n }\r\n\r\n /** Persist the custom-input panel through the builder save callback. */\r\n protected saveCustomInputPanel(): void {\r\n const data = this.dataValue();\r\n if (!this.customInputForm.valid || !data?.id) {\r\n return;\r\n }\r\n const raw = this.customInputForm.getRawValue();\r\n const label = String(raw.label ?? '').trim();\r\n this.saveCustomInput()?.(data.sectionId, data.id, {\r\n id: typeof raw.id === 'string' && raw.id ? raw.id : undefined,\r\n element: raw.element,\r\n label,\r\n formControlName: this.#toControlName(label),\r\n singleSelect: Boolean(raw.singleSelect),\r\n readonly: Boolean(raw.readonly),\r\n });\r\n this.cancelCustomInput();\r\n }\r\n\r\n /** Open a custom input in the builder's input editor for advanced configuration. */\r\n protected onEditAdvanced(input: ScoaInnerInput): void {\r\n this.editSegmentInput()?.(input);\r\n }\r\n\r\n /** Remove a custom input from the MSCOA config. */\r\n protected onDeleteInput(input: ScoaInnerInput): void {\r\n this.deleteSegmentInput()?.(input);\r\n }\r\n\r\n /** Build the per-custom-input reactive form (type, label, single-value-selection, read-only). */\r\n #createCustomInputForm(input?: ScoaInnerInput): FormGroup {\r\n return this.#fb.group({\r\n id: [input?.id ?? null],\r\n element: [input?.element ?? ElementTypes.Input, Validators.required],\r\n label: [input?.label ?? '', Validators.required],\r\n singleSelect: [input?.singleSelect ?? true],\r\n readonly: [input?.readonly ?? false],\r\n });\r\n }\r\n\r\n /** camelCase control name derived from a label (e.g. \"Budget Value\" -> \"budgetValue\"). */\r\n #toControlName(label: string): string {\r\n const words = label.match(/[a-z0-9]+/gi) ?? [];\r\n return words\r\n .map((word, index) =>\r\n index === 0\r\n ? word.toLowerCase()\r\n : word.charAt(0).toUpperCase() + word.slice(1).toLowerCase(),\r\n )\r\n .join('');\r\n }\r\n\r\n /**\r\n * A tree template is \"already used\" (and so disabled in the picker) when a\r\n * segment with the same key is already configured - except for multi-level\r\n * extensions, which may reuse a key.\r\n */\r\n protected alreadyExists(segment: IIncludedSegmentConfig): boolean {\r\n if (this.segmentForm.value.segmentExtension) {\r\n return false;\r\n }\r\n return this.resolvedValue().some((v) => v.segment === segment.segment);\r\n }\r\n\r\n /** Extension-account options drawn from the MSCOA config. */\r\n protected get extensionAccountsForSegments(): string[] {\r\n return this.dataValue()?.mscoaConfig?.extensionAccountsForSegments ?? [];\r\n }\r\n\r\n /**\r\n * When `showAllSegments` is on, reconcile the configured value against the full\r\n * tree. Preserves the deliberate double-emit sync: emit a reset sentinel first,\r\n * then the merged list on the next microtask so the parent re-renders cleanly.\r\n */\r\n #syncAllSegments(): void {\r\n const templates = this.#treeSegments();\r\n if (!this.#treeRequested || templates.length === 0) {\r\n return;\r\n }\r\n const current = this.resolvedValue();\r\n const merged = templates.map((segment) => ({\r\n ...segment,\r\n ...(current.find((v) => v.segment === segment.segment) ?? {}),\r\n }));\r\n\r\n if (!_isEqual(merged, current)) {\r\n // Reset sentinel, then the real value, to force downstream re-binding.\r\n this.valueChanged.emit([{} as IIncludedSegmentConfig]);\r\n queueMicrotask(() => this.valueChanged.emit(merged));\r\n }\r\n }\r\n\r\n #toTitleCase(str: string): string {\r\n return str.replace(\r\n /\\w\\S*/g,\r\n (txt) => txt.charAt(0).toUpperCase() + txt.slice(1).toLowerCase(),\r\n );\r\n }\r\n}\r\n"],"names":["uuidv4","i5","i6","i9"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEI,IADF,8BAA0C,CAAA,CAAA,EAAA,UAAA,EAAA,CAAA,CACY;IAAA,EAAA,CAAA,MAAA,CAAA,CAAA,EAAA,eAAA,CAAa;IAAA,EAAA,CAAA,YAAA,EAAW;IAC5E,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,MAAA,CAAM;IAAA,EAAA,CAAA,MAAA,CAAA,CAAA,EAAA,gCAAA,CAAyB;AACjC,IADiC,iBAAO,EAClC;;;AAKJ,IADF,8BAA8E,CAAA,CAAA,EAAA,UAAA,EAAA,CAAA,CACxB;IAAA,EAAA,CAAA,MAAA,CAAA,CAAA,EAAA,eAAA,CAAa;IAAA,EAAA,CAAA,YAAA,EAAW;IAC5E,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,MAAA,CAAM;IAAA,EAAA,CAAA,MAAA,CAAA,CAAA,CAAW;AACnB,IADmB,iBAAO,EACpB;;IADE,EAAA,CAAA,SAAA,CAAA,CAAA,CAAW;IAAX,EAAA,CAAA,iBAAA,CAAA,GAAA,CAAW;;;AA0BP,IADF,kCAA0E,CA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,EAAA,6BAAA,EAAA,QAAA,EAAA,oGAAA,EAAA,UAAA,EAAA,EAAA,EAAA,CAAA,CAAA,CAAA,CAAA,GAAA;;;;"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, signal, inject, DestroyRef, effect, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
4
|
+
import * as i2 from '@angular/material/button';
|
|
5
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
6
|
+
import * as i3 from '@angular/material/icon';
|
|
7
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
8
|
+
import { Subject, timer } from 'rxjs';
|
|
9
|
+
import { takeUntil } from 'rxjs/operators';
|
|
10
|
+
|
|
11
|
+
function MscoaTemporaryHintComponent_Conditional_0_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
12
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
13
|
+
i0.ɵɵelementStart(0, "button", 6);
|
|
14
|
+
i0.ɵɵlistener("click", function MscoaTemporaryHintComponent_Conditional_0_Conditional_6_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.dismiss()); });
|
|
15
|
+
i0.ɵɵelementStart(1, "mat-icon", 7);
|
|
16
|
+
i0.ɵɵtext(2, "close");
|
|
17
|
+
i0.ɵɵelementEnd()();
|
|
18
|
+
} if (rf & 2) {
|
|
19
|
+
i0.ɵɵattribute("aria-label", "Dismiss hint");
|
|
20
|
+
} }
|
|
21
|
+
function MscoaTemporaryHintComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
22
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "mat-icon", 2);
|
|
23
|
+
i0.ɵɵtext(2, "info");
|
|
24
|
+
i0.ɵɵelementEnd();
|
|
25
|
+
i0.ɵɵelementStart(3, "div", 3)(4, "p", 4);
|
|
26
|
+
i0.ɵɵtext(5);
|
|
27
|
+
i0.ɵɵelementEnd()();
|
|
28
|
+
i0.ɵɵconditionalCreate(6, MscoaTemporaryHintComponent_Conditional_0_Conditional_6_Template, 3, 1, "button", 5);
|
|
29
|
+
i0.ɵɵelementEnd();
|
|
30
|
+
} if (rf & 2) {
|
|
31
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
32
|
+
i0.ɵɵclassProp("temporary-hint--info", ctx_r1.type() === "info")("temporary-hint--guidance", ctx_r1.type() === "guidance");
|
|
33
|
+
i0.ɵɵattribute("aria-label", "Hint: " + ctx_r1.message());
|
|
34
|
+
i0.ɵɵadvance(5);
|
|
35
|
+
i0.ɵɵtextInterpolate(ctx_r1.message());
|
|
36
|
+
i0.ɵɵadvance();
|
|
37
|
+
i0.ɵɵconditional(ctx_r1.showDismiss() ? 6 : -1);
|
|
38
|
+
} }
|
|
39
|
+
/**
|
|
40
|
+
* Displays a transient hint message inside the MSCOA chart UI.
|
|
41
|
+
* Auto-hides after the configured duration; can be dismissed manually.
|
|
42
|
+
*/
|
|
43
|
+
class MscoaTemporaryHintComponent {
|
|
44
|
+
#destroyRef;
|
|
45
|
+
#hideTimer$;
|
|
46
|
+
#previousMessage;
|
|
47
|
+
constructor() {
|
|
48
|
+
/** Message text to display. */
|
|
49
|
+
this.message = input('', ...(ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []));
|
|
50
|
+
/** Auto-hide duration in milliseconds. */
|
|
51
|
+
this.duration = input(5000, ...(ngDevMode ? [{ debugName: "duration" }] : /* istanbul ignore next */ []));
|
|
52
|
+
/** Whether to show the dismiss button. */
|
|
53
|
+
this.showDismiss = input(true, ...(ngDevMode ? [{ debugName: "showDismiss" }] : /* istanbul ignore next */ []));
|
|
54
|
+
/** Visual variant. */
|
|
55
|
+
this.type = input('info', ...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
|
|
56
|
+
this.visible = signal(false, ...(ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []));
|
|
57
|
+
this.#destroyRef = inject(DestroyRef);
|
|
58
|
+
this.#hideTimer$ = new Subject();
|
|
59
|
+
this.#previousMessage = '';
|
|
60
|
+
// React to message changes (replaces ngOnInit + ngOnChanges).
|
|
61
|
+
effect(() => {
|
|
62
|
+
const current = this.message();
|
|
63
|
+
const previous = this.#previousMessage;
|
|
64
|
+
this.#previousMessage = current;
|
|
65
|
+
if (current && current !== previous) {
|
|
66
|
+
this.show();
|
|
67
|
+
}
|
|
68
|
+
else if (!current && previous) {
|
|
69
|
+
this.hide();
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
this.#destroyRef.onDestroy(() => {
|
|
73
|
+
this.#hideTimer$.next();
|
|
74
|
+
this.#hideTimer$.complete();
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
show() {
|
|
78
|
+
// Cancel any existing timer.
|
|
79
|
+
this.#hideTimer$.next();
|
|
80
|
+
this.visible.set(true);
|
|
81
|
+
// Auto-hide after duration.
|
|
82
|
+
timer(this.duration())
|
|
83
|
+
.pipe(takeUntil(this.#hideTimer$), takeUntilDestroyed(this.#destroyRef))
|
|
84
|
+
.subscribe(() => this.hide());
|
|
85
|
+
}
|
|
86
|
+
hide() {
|
|
87
|
+
this.#hideTimer$.next();
|
|
88
|
+
this.visible.set(false);
|
|
89
|
+
}
|
|
90
|
+
dismiss() {
|
|
91
|
+
this.hide();
|
|
92
|
+
}
|
|
93
|
+
static { this.ɵfac = function MscoaTemporaryHintComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MscoaTemporaryHintComponent)(); }; }
|
|
94
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MscoaTemporaryHintComponent, selectors: [["lib-mscoa-temporary-hint"]], inputs: { message: [1, "message"], duration: [1, "duration"], showDismiss: [1, "showDismiss"], type: [1, "type"] }, decls: 1, vars: 1, consts: [["role", "status", "aria-live", "polite", 1, "temporary-hint", 3, "temporary-hint--info", "temporary-hint--guidance"], ["role", "status", "aria-live", "polite", 1, "temporary-hint"], ["aria-hidden", "true", 1, "temporary-hint__icon"], [1, "temporary-hint__content"], [1, "temporary-hint__message"], ["mat-icon-button", "", "type", "button", 1, "temporary-hint__dismiss"], ["mat-icon-button", "", "type", "button", 1, "temporary-hint__dismiss", 3, "click"], ["aria-hidden", "true"]], template: function MscoaTemporaryHintComponent_Template(rf, ctx) { if (rf & 1) {
|
|
95
|
+
i0.ɵɵconditionalCreate(0, MscoaTemporaryHintComponent_Conditional_0_Template, 7, 7, "div", 0);
|
|
96
|
+
} if (rf & 2) {
|
|
97
|
+
i0.ɵɵconditional(ctx.visible() && ctx.message() ? 0 : -1);
|
|
98
|
+
} }, dependencies: [MatButtonModule, i2.MatIconButton, MatIconModule, i3.MatIcon], styles: [".temporary-hint[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:var(--mscoa-chart-spacing-sm, 8px);padding:var(--mscoa-chart-spacing-sm, 8px) var(--mscoa-chart-spacing-md, 16px);margin-top:var(--mscoa-chart-spacing-sm, 8px);border-radius:var(--mscoa-chart-border-radius, 4px);font-size:13px;line-height:1.5;animation:_ngcontent-%COMP%_slideInFade var(--mscoa-chart-transition, .2s ease);transition:opacity var(--lib-forms-duration-hover) var(--lib-forms-easing)}.temporary-hint--info[_ngcontent-%COMP%]{background-color:var(--sem-info-surface);color:var(--sem-info);border-left:3px solid var(--sem-info)}.temporary-hint--guidance[_ngcontent-%COMP%]{background-color:var(--sem-warning-surface);color:var(--lib-forms-on-surface);border-left:3px solid var(--sem-warning)}.temporary-hint__icon[_ngcontent-%COMP%]{flex-shrink:0;width:18px;height:18px;font-size:18px;margin-top:2px;color:var(--sem-info)}.temporary-hint--guidance[_ngcontent-%COMP%] .temporary-hint__icon[_ngcontent-%COMP%]{color:var(--sem-warning)}.temporary-hint__content[_ngcontent-%COMP%]{flex:1;min-width:0}.temporary-hint__message[_ngcontent-%COMP%]{margin:0;font-weight:400}.temporary-hint__dismiss[_ngcontent-%COMP%]{flex-shrink:0;width:24px;height:24px;opacity:.7;transition:opacity var(--lib-forms-duration-hover) var(--lib-forms-easing)}.temporary-hint__dismiss[_ngcontent-%COMP%]:hover{opacity:1}.temporary-hint__dismiss[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px}@keyframes _ngcontent-%COMP%_slideInFade{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.temporary-hint.ng-leave[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_slideOutFade var(--mscoa-chart-transition, .2s ease)}@keyframes _ngcontent-%COMP%_slideOutFade{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}"], changeDetection: 0 }); }
|
|
99
|
+
}
|
|
100
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MscoaTemporaryHintComponent, [{
|
|
101
|
+
type: Component,
|
|
102
|
+
args: [{ selector: 'lib-mscoa-temporary-hint', imports: [MatButtonModule, MatIconModule], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, template: "@if (visible() && message()) {\r\n <div\r\n class=\"temporary-hint\"\r\n [class.temporary-hint--info]=\"type() === 'info'\"\r\n [class.temporary-hint--guidance]=\"type() === 'guidance'\"\r\n role=\"status\"\r\n aria-live=\"polite\"\r\n [attr.aria-label]=\"'Hint: ' + message()\">\r\n\r\n <mat-icon class=\"temporary-hint__icon\" aria-hidden=\"true\">info</mat-icon>\r\n\r\n <div class=\"temporary-hint__content\">\r\n <p class=\"temporary-hint__message\">{{ message() }}</p>\r\n </div>\r\n\r\n @if (showDismiss()) {\r\n <button\r\n class=\"temporary-hint__dismiss\"\r\n (click)=\"dismiss()\"\r\n [attr.aria-label]=\"'Dismiss hint'\"\r\n mat-icon-button\r\n type=\"button\">\r\n <mat-icon aria-hidden=\"true\">close</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n}\r\n", styles: [".temporary-hint{display:flex;align-items:flex-start;gap:var(--mscoa-chart-spacing-sm, 8px);padding:var(--mscoa-chart-spacing-sm, 8px) var(--mscoa-chart-spacing-md, 16px);margin-top:var(--mscoa-chart-spacing-sm, 8px);border-radius:var(--mscoa-chart-border-radius, 4px);font-size:13px;line-height:1.5;animation:slideInFade var(--mscoa-chart-transition, .2s ease);transition:opacity var(--lib-forms-duration-hover) var(--lib-forms-easing)}.temporary-hint--info{background-color:var(--sem-info-surface);color:var(--sem-info);border-left:3px solid var(--sem-info)}.temporary-hint--guidance{background-color:var(--sem-warning-surface);color:var(--lib-forms-on-surface);border-left:3px solid var(--sem-warning)}.temporary-hint__icon{flex-shrink:0;width:18px;height:18px;font-size:18px;margin-top:2px;color:var(--sem-info)}.temporary-hint--guidance .temporary-hint__icon{color:var(--sem-warning)}.temporary-hint__content{flex:1;min-width:0}.temporary-hint__message{margin:0;font-weight:400}.temporary-hint__dismiss{flex-shrink:0;width:24px;height:24px;opacity:.7;transition:opacity var(--lib-forms-duration-hover) var(--lib-forms-easing)}.temporary-hint__dismiss:hover{opacity:1}.temporary-hint__dismiss mat-icon{font-size:18px;width:18px;height:18px}@keyframes slideInFade{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.temporary-hint.ng-leave{animation:slideOutFade var(--mscoa-chart-transition, .2s ease)}@keyframes slideOutFade{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}\n"] }]
|
|
103
|
+
}], () => [], { message: [{ type: i0.Input, args: [{ isSignal: true, alias: "message", required: false }] }], duration: [{ type: i0.Input, args: [{ isSignal: true, alias: "duration", required: false }] }], showDismiss: [{ type: i0.Input, args: [{ isSignal: true, alias: "showDismiss", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }] }); })();
|
|
104
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MscoaTemporaryHintComponent, { className: "MscoaTemporaryHintComponent", filePath: "lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/components/mscoa-temporary-hint/mscoa-temporary-hint.component.ts", lineNumber: 29 }); })();
|
|
105
|
+
|
|
106
|
+
export { MscoaTemporaryHintComponent };
|
|
107
|
+
//# sourceMappingURL=ngx-t-forms-mscoa-temporary-hint.component-CBuGHwnU.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-t-forms-mscoa-temporary-hint.component-CBuGHwnU.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/components/mscoa-temporary-hint/mscoa-temporary-hint.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/components/mscoa-temporary-hint/mscoa-temporary-hint.component.ts"],"sourcesContent":["@if (visible() && message()) {\r\n <div\r\n class=\"temporary-hint\"\r\n [class.temporary-hint--info]=\"type() === 'info'\"\r\n [class.temporary-hint--guidance]=\"type() === 'guidance'\"\r\n role=\"status\"\r\n aria-live=\"polite\"\r\n [attr.aria-label]=\"'Hint: ' + message()\">\r\n\r\n <mat-icon class=\"temporary-hint__icon\" aria-hidden=\"true\">info</mat-icon>\r\n\r\n <div class=\"temporary-hint__content\">\r\n <p class=\"temporary-hint__message\">{{ message() }}</p>\r\n </div>\r\n\r\n @if (showDismiss()) {\r\n <button\r\n class=\"temporary-hint__dismiss\"\r\n (click)=\"dismiss()\"\r\n [attr.aria-label]=\"'Dismiss hint'\"\r\n mat-icon-button\r\n type=\"button\">\r\n <mat-icon aria-hidden=\"true\">close</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n}\r\n","import {\r\n ChangeDetectionStrategy,\r\n Component,\r\n DestroyRef,\r\n ViewEncapsulation,\r\n effect,\r\n inject,\r\n input,\r\n signal,\r\n} from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { Subject, timer } from 'rxjs';\r\nimport { takeUntil } from 'rxjs/operators';\r\n\r\n/**\r\n * Displays a transient hint message inside the MSCOA chart UI.\r\n * Auto-hides after the configured duration; can be dismissed manually.\r\n */\r\n@Component({\r\n selector: 'lib-mscoa-temporary-hint',\r\n imports: [MatButtonModule, MatIconModule],\r\n templateUrl: './mscoa-temporary-hint.component.html',\r\n styleUrls: ['./mscoa-temporary-hint.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.Emulated,\r\n})\r\nexport class MscoaTemporaryHintComponent {\r\n /** Message text to display. */\r\n readonly message = input<string>('');\r\n /** Auto-hide duration in milliseconds. */\r\n readonly duration = input<number>(5000);\r\n /** Whether to show the dismiss button. */\r\n readonly showDismiss = input<boolean>(true);\r\n /** Visual variant. */\r\n readonly type = input<'info' | 'guidance'>('info');\r\n\r\n protected readonly visible = signal<boolean>(false);\r\n\r\n readonly #destroyRef = inject(DestroyRef);\r\n readonly #hideTimer$ = new Subject<void>();\r\n #previousMessage = '';\r\n\r\n constructor() {\r\n // React to message changes (replaces ngOnInit + ngOnChanges).\r\n effect(() => {\r\n const current = this.message();\r\n const previous = this.#previousMessage;\r\n this.#previousMessage = current;\r\n\r\n if (current && current !== previous) {\r\n this.show();\r\n } else if (!current && previous) {\r\n this.hide();\r\n }\r\n });\r\n\r\n this.#destroyRef.onDestroy(() => {\r\n this.#hideTimer$.next();\r\n this.#hideTimer$.complete();\r\n });\r\n }\r\n\r\n show(): void {\r\n // Cancel any existing timer.\r\n this.#hideTimer$.next();\r\n\r\n this.visible.set(true);\r\n\r\n // Auto-hide after duration.\r\n timer(this.duration())\r\n .pipe(takeUntil(this.#hideTimer$), takeUntilDestroyed(this.#destroyRef))\r\n .subscribe(() => this.hide());\r\n }\r\n\r\n hide(): void {\r\n this.#hideTimer$.next();\r\n this.visible.set(false);\r\n }\r\n\r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 from '@angular/core';
|
|
2
2
|
import { input, signal, inject, DestroyRef, effect, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
3
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
4
|
-
import * as
|
|
4
|
+
import * as i2 from '@angular/material/button';
|
|
5
5
|
import { MatButtonModule } from '@angular/material/button';
|
|
6
6
|
import * as i3 from '@angular/material/icon';
|
|
7
7
|
import { MatIconModule } from '@angular/material/icon';
|
|
@@ -63,7 +63,7 @@ class MscoaTemporaryHintComponent {
|
|
|
63
63
|
this.hide();
|
|
64
64
|
}
|
|
65
65
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: MscoaTemporaryHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
66
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: MscoaTemporaryHintComponent, isStandalone: true, selector: "lib-mscoa-temporary-hint", inputs: { message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null }, duration: { classPropertyName: "duration", publicName: "duration", isSignal: true, isRequired: false, transformFunction: null }, showDismiss: { classPropertyName: "showDismiss", publicName: "showDismiss", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (visible() && message()) {\r\n <div\r\n class=\"temporary-hint\"\r\n [class.temporary-hint--info]=\"type() === 'info'\"\r\n [class.temporary-hint--guidance]=\"type() === 'guidance'\"\r\n role=\"status\"\r\n aria-live=\"polite\"\r\n [attr.aria-label]=\"'Hint: ' + message()\">\r\n\r\n <mat-icon class=\"temporary-hint__icon\" aria-hidden=\"true\">info</mat-icon>\r\n\r\n <div class=\"temporary-hint__content\">\r\n <p class=\"temporary-hint__message\">{{ message() }}</p>\r\n </div>\r\n\r\n @if (showDismiss()) {\r\n <button\r\n class=\"temporary-hint__dismiss\"\r\n (click)=\"dismiss()\"\r\n [attr.aria-label]=\"'Dismiss hint'\"\r\n mat-icon-button\r\n type=\"button\">\r\n <mat-icon aria-hidden=\"true\">close</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n}\r\n", styles: [".temporary-hint{display:flex;align-items:flex-start;gap:var(--mscoa-chart-spacing-sm, 8px);padding:var(--mscoa-chart-spacing-sm, 8px) var(--mscoa-chart-spacing-md, 16px);margin-top:var(--mscoa-chart-spacing-sm, 8px);border-radius:var(--mscoa-chart-border-radius, 4px);font-size:13px;line-height:1.5;animation:slideInFade var(--mscoa-chart-transition, .2s ease);transition:opacity var(--lib-forms-duration-hover) var(--lib-forms-easing)}.temporary-hint--info{background-color:var(--sem-info-surface);color:var(--sem-info);border-left:3px solid var(--sem-info)}.temporary-hint--guidance{background-color:var(--sem-warning-surface);color:var(--lib-forms-on-surface);border-left:3px solid var(--sem-warning)}.temporary-hint__icon{flex-shrink:0;width:18px;height:18px;font-size:18px;margin-top:2px;color:var(--sem-info)}.temporary-hint--guidance .temporary-hint__icon{color:var(--sem-warning)}.temporary-hint__content{flex:1;min-width:0}.temporary-hint__message{margin:0;font-weight:400}.temporary-hint__dismiss{flex-shrink:0;width:24px;height:24px;opacity:.7;transition:opacity var(--lib-forms-duration-hover) var(--lib-forms-easing)}.temporary-hint__dismiss:hover{opacity:1}.temporary-hint__dismiss mat-icon{font-size:18px;width:18px;height:18px}@keyframes slideInFade{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.temporary-hint.ng-leave{animation:slideOutFade var(--mscoa-chart-transition, .2s ease)}@keyframes slideOutFade{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type:
|
|
66
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: MscoaTemporaryHintComponent, isStandalone: true, selector: "lib-mscoa-temporary-hint", inputs: { message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null }, duration: { classPropertyName: "duration", publicName: "duration", isSignal: true, isRequired: false, transformFunction: null }, showDismiss: { classPropertyName: "showDismiss", publicName: "showDismiss", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (visible() && message()) {\r\n <div\r\n class=\"temporary-hint\"\r\n [class.temporary-hint--info]=\"type() === 'info'\"\r\n [class.temporary-hint--guidance]=\"type() === 'guidance'\"\r\n role=\"status\"\r\n aria-live=\"polite\"\r\n [attr.aria-label]=\"'Hint: ' + message()\">\r\n\r\n <mat-icon class=\"temporary-hint__icon\" aria-hidden=\"true\">info</mat-icon>\r\n\r\n <div class=\"temporary-hint__content\">\r\n <p class=\"temporary-hint__message\">{{ message() }}</p>\r\n </div>\r\n\r\n @if (showDismiss()) {\r\n <button\r\n class=\"temporary-hint__dismiss\"\r\n (click)=\"dismiss()\"\r\n [attr.aria-label]=\"'Dismiss hint'\"\r\n mat-icon-button\r\n type=\"button\">\r\n <mat-icon aria-hidden=\"true\">close</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n}\r\n", styles: [".temporary-hint{display:flex;align-items:flex-start;gap:var(--mscoa-chart-spacing-sm, 8px);padding:var(--mscoa-chart-spacing-sm, 8px) var(--mscoa-chart-spacing-md, 16px);margin-top:var(--mscoa-chart-spacing-sm, 8px);border-radius:var(--mscoa-chart-border-radius, 4px);font-size:13px;line-height:1.5;animation:slideInFade var(--mscoa-chart-transition, .2s ease);transition:opacity var(--lib-forms-duration-hover) var(--lib-forms-easing)}.temporary-hint--info{background-color:var(--sem-info-surface);color:var(--sem-info);border-left:3px solid var(--sem-info)}.temporary-hint--guidance{background-color:var(--sem-warning-surface);color:var(--lib-forms-on-surface);border-left:3px solid var(--sem-warning)}.temporary-hint__icon{flex-shrink:0;width:18px;height:18px;font-size:18px;margin-top:2px;color:var(--sem-info)}.temporary-hint--guidance .temporary-hint__icon{color:var(--sem-warning)}.temporary-hint__content{flex:1;min-width:0}.temporary-hint__message{margin:0;font-weight:400}.temporary-hint__dismiss{flex-shrink:0;width:24px;height:24px;opacity:.7;transition:opacity var(--lib-forms-duration-hover) var(--lib-forms-easing)}.temporary-hint__dismiss:hover{opacity:1}.temporary-hint__dismiss mat-icon{font-size:18px;width:18px;height:18px}@keyframes slideInFade{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.temporary-hint.ng-leave{animation:slideOutFade var(--mscoa-chart-transition, .2s ease)}@keyframes slideOutFade{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
67
67
|
}
|
|
68
68
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: MscoaTemporaryHintComponent, decorators: [{
|
|
69
69
|
type: Component,
|
|
@@ -71,4 +71,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImpo
|
|
|
71
71
|
}], ctorParameters: () => [], propDecorators: { message: [{ type: i0.Input, args: [{ isSignal: true, alias: "message", required: false }] }], duration: [{ type: i0.Input, args: [{ isSignal: true, alias: "duration", required: false }] }], showDismiss: [{ type: i0.Input, args: [{ isSignal: true, alias: "showDismiss", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }] } });
|
|
72
72
|
|
|
73
73
|
export { MscoaTemporaryHintComponent };
|
|
74
|
-
//# sourceMappingURL=ngx-t-forms-mscoa-temporary-hint.component-
|
|
74
|
+
//# sourceMappingURL=ngx-t-forms-mscoa-temporary-hint.component-g7DosiVb.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-t-forms-mscoa-temporary-hint.component-
|
|
1
|
+
{"version":3,"file":"ngx-t-forms-mscoa-temporary-hint.component-g7DosiVb.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/components/mscoa-temporary-hint/mscoa-temporary-hint.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/components/mscoa-temporary-hint/mscoa-temporary-hint.component.html"],"sourcesContent":["import {\r\n ChangeDetectionStrategy,\r\n Component,\r\n DestroyRef,\r\n ViewEncapsulation,\r\n effect,\r\n inject,\r\n input,\r\n signal,\r\n} from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { Subject, timer } from 'rxjs';\r\nimport { takeUntil } from 'rxjs/operators';\r\n\r\n/**\r\n * Displays a transient hint message inside the MSCOA chart UI.\r\n * Auto-hides after the configured duration; can be dismissed manually.\r\n */\r\n@Component({\r\n selector: 'lib-mscoa-temporary-hint',\r\n imports: [MatButtonModule, MatIconModule],\r\n templateUrl: './mscoa-temporary-hint.component.html',\r\n styleUrls: ['./mscoa-temporary-hint.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.Emulated,\r\n})\r\nexport class MscoaTemporaryHintComponent {\r\n /** Message text to display. */\r\n readonly message = input<string>('');\r\n /** Auto-hide duration in milliseconds. */\r\n readonly duration = input<number>(5000);\r\n /** Whether to show the dismiss button. */\r\n readonly showDismiss = input<boolean>(true);\r\n /** Visual variant. */\r\n readonly type = input<'info' | 'guidance'>('info');\r\n\r\n protected readonly visible = signal<boolean>(false);\r\n\r\n readonly #destroyRef = inject(DestroyRef);\r\n readonly #hideTimer$ = new Subject<void>();\r\n #previousMessage = '';\r\n\r\n constructor() {\r\n // React to message changes (replaces ngOnInit + ngOnChanges).\r\n effect(() => {\r\n const current = this.message();\r\n const previous = this.#previousMessage;\r\n this.#previousMessage = current;\r\n\r\n if (current && current !== previous) {\r\n this.show();\r\n } else if (!current && previous) {\r\n this.hide();\r\n }\r\n });\r\n\r\n this.#destroyRef.onDestroy(() => {\r\n this.#hideTimer$.next();\r\n this.#hideTimer$.complete();\r\n });\r\n }\r\n\r\n show(): void {\r\n // Cancel any existing timer.\r\n this.#hideTimer$.next();\r\n\r\n this.visible.set(true);\r\n\r\n // Auto-hide after duration.\r\n timer(this.duration())\r\n .pipe(takeUntil(this.#hideTimer$), takeUntilDestroyed(this.#destroyRef))\r\n .subscribe(() => this.hide());\r\n }\r\n\r\n hide(): void {\r\n this.#hideTimer$.next();\r\n this.visible.set(false);\r\n }\r\n\r\n dismiss(): void {\r\n this.hide();\r\n }\r\n}\r\n","@if (visible() && message()) {\r\n <div\r\n class=\"temporary-hint\"\r\n [class.temporary-hint--info]=\"type() === 'info'\"\r\n [class.temporary-hint--guidance]=\"type() === 'guidance'\"\r\n role=\"status\"\r\n aria-live=\"polite\"\r\n [attr.aria-label]=\"'Hint: ' + message()\">\r\n\r\n <mat-icon class=\"temporary-hint__icon\" aria-hidden=\"true\">info</mat-icon>\r\n\r\n <div class=\"temporary-hint__content\">\r\n <p class=\"temporary-hint__message\">{{ message() }}</p>\r\n </div>\r\n\r\n @if (showDismiss()) {\r\n <button\r\n class=\"temporary-hint__dismiss\"\r\n (click)=\"dismiss()\"\r\n [attr.aria-label]=\"'Dismiss hint'\"\r\n mat-icon-button\r\n type=\"button\">\r\n <mat-icon aria-hidden=\"true\">close</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n}\r\n"],"names":["i2"],"mappings":";;;;;;;;;;AAgBA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