ngx-t-forms 2.0.34 → 2.0.36
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-DYKniIW1.mjs → ngx-t-forms-auto-complete-input-element.component-VektEtrf.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-DYKniIW1.mjs.map → ngx-t-forms-auto-complete-input-element.component-VektEtrf.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs +261 -0
- package/fesm2022/ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-basic-input-input-element.component-sAVeqJDq.mjs → ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-basic-input-input-element.component-sAVeqJDq.mjs.map → ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs +225 -0
- package/fesm2022/ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-calculated-field-rules.component-8EgwXTN1.mjs +1011 -0
- package/fesm2022/ngx-t-forms-calculated-field-rules.component-8EgwXTN1.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-DHCYc95E.mjs → ngx-t-forms-calculated-field-rules.component-B_3IbQjp.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-DHCYc95E.mjs.map → ngx-t-forms-calculated-field-rules.component-B_3IbQjp.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-B95VIBRi.mjs +136 -0
- package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-B95VIBRi.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-BwGlol4L.mjs → ngx-t-forms-chip-options-creator-editor.component-uTCOa48g.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-BwGlol4L.mjs.map → ngx-t-forms-chip-options-creator-editor.component-uTCOa48g.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-6fu2mXuZ.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-BX3zJs-A.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-6fu2mXuZ.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-BX3zJs-A.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-Dm16WA5Y.mjs +253 -0
- package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-Dm16WA5Y.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-data-source-picker.component-Dij1l4-7.mjs +419 -0
- package/fesm2022/ngx-t-forms-data-source-picker.component-Dij1l4-7.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-data-source-picker.component-BdFscpSi.mjs → ngx-t-forms-data-source-picker.component-z0l9WEw7.mjs} +8 -8
- package/fesm2022/{ngx-t-forms-data-source-picker.component-BdFscpSi.mjs.map → ngx-t-forms-data-source-picker.component-z0l9WEw7.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-date-picker-input-element.component-BakchGky.mjs → ngx-t-forms-date-picker-input-element.component-C9I8KX12.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-date-picker-input-element.component-BakchGky.mjs.map → ngx-t-forms-date-picker-input-element.component-C9I8KX12.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-date-picker-input-element.component-D9BOhV6g.mjs +231 -0
- package/fesm2022/ngx-t-forms-date-picker-input-element.component-D9BOhV6g.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-BnCFgi6y.mjs → ngx-t-forms-date-range-picker-input-element.component-B3Z47mrO.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-BnCFgi6y.mjs.map → ngx-t-forms-date-range-picker-input-element.component-B3Z47mrO.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-BiXubnsN.mjs +333 -0
- package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-BiXubnsN.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-C5T_DK6w.mjs +543 -0
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-C5T_DK6w.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-PW2XiPiH.mjs +373 -0
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-PW2XiPiH.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-document-picker.component-B47pQxMF.mjs +1217 -0
- package/fesm2022/ngx-t-forms-document-picker.component-B47pQxMF.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-document-picker.component-Bp_PJyo4.mjs → ngx-t-forms-document-picker.component-BNQ1a96s.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-document-picker.component-Bp_PJyo4.mjs.map → ngx-t-forms-document-picker.component-BNQ1a96s.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-editor-input-element.component-Crad-MN8.mjs → ngx-t-forms-editor-input-element.component-C12fnCTM.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-editor-input-element.component-Crad-MN8.mjs.map → ngx-t-forms-editor-input-element.component-C12fnCTM.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-editor-input-element.component-DYytkGYD.mjs +447 -0
- package/fesm2022/ngx-t-forms-editor-input-element.component-DYytkGYD.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-editor-js-input.component-BQSF3142.mjs +251 -0
- package/fesm2022/ngx-t-forms-editor-js-input.component-BQSF3142.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-editor-js-input.component-IEjjoNbP.mjs → ngx-t-forms-editor-js-input.component-cxob42pE.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-editor-js-input.component-IEjjoNbP.mjs.map → ngx-t-forms-editor-js-input.component-cxob42pE.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-file-upload-input-element.component-CzCphzUH.mjs → ngx-t-forms-file-upload-input-element.component-Bgi-chdw.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-file-upload-input-element.component-CzCphzUH.mjs.map → ngx-t-forms-file-upload-input-element.component-Bgi-chdw.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-file-upload-input-element.component-CI4onrtp.mjs +447 -0
- package/fesm2022/ngx-t-forms-file-upload-input-element.component-CI4onrtp.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-form-input-selector.component-BysF2WY-.mjs +163 -0
- package/fesm2022/ngx-t-forms-form-input-selector.component-BysF2WY-.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-form-input-selector.component-DVyLFw6x.mjs → ngx-t-forms-form-input-selector.component-xIalL_cs.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-form-input-selector.component-DVyLFw6x.mjs.map → ngx-t-forms-form-input-selector.component-xIalL_cs.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-json-view.component-D5YJ5pFm.mjs → ngx-t-forms-form-json-view.component-CU1d8rGd.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-form-json-view.component-D5YJ5pFm.mjs.map → ngx-t-forms-form-json-view.component-CU1d8rGd.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-form-json-view.component-DpU3ZTiS.mjs +28 -0
- package/fesm2022/ngx-t-forms-form-json-view.component-DpU3ZTiS.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-payload-projection.component-Ip9ewB18.mjs → ngx-t-forms-form-payload-projection.component-D46W1-4z.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-form-payload-projection.component-Ip9ewB18.mjs.map → ngx-t-forms-form-payload-projection.component-D46W1-4z.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-form-section-stepper.component-DqShhIBK.mjs +936 -0
- package/fesm2022/ngx-t-forms-form-section-stepper.component-DqShhIBK.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-form-section-stepper.component-tGbPKHM6.mjs +389 -0
- package/fesm2022/ngx-t-forms-form-section-stepper.component-tGbPKHM6.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-forms-builder-menu.component-BsgtMZFM.mjs +816 -0
- package/fesm2022/ngx-t-forms-forms-builder-menu.component-BsgtMZFM.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-DTEx6mIl.mjs → ngx-t-forms-forms-builder-menu.component-hK9C4vAa.mjs} +11 -11
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-DTEx6mIl.mjs.map → ngx-t-forms-forms-builder-menu.component-hK9C4vAa.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-geo-location.component-4vXrrAS0.mjs → ngx-t-forms-geo-location.component-ChmvJCGu.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-geo-location.component-4vXrrAS0.mjs.map → ngx-t-forms-geo-location.component-ChmvJCGu.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-geo-location.component-DfmFok8a.mjs +329 -0
- package/fesm2022/ngx-t-forms-geo-location.component-DfmFok8a.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BbfiG8wm.mjs → ngx-t-forms-image-capture-input-element.component-BpA_P017.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BbfiG8wm.mjs.map → ngx-t-forms-image-capture-input-element.component-BpA_P017.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs +360 -0
- package/fesm2022/ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-index-D8TBBLAD.mjs → ngx-t-forms-index-D-7ZX0w7.mjs} +2 -2
- package/fesm2022/ngx-t-forms-index-D-7ZX0w7.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-index-DHloq32-.mjs +2 -0
- package/fesm2022/ngx-t-forms-index-DHloq32-.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-input-custom.component-Cv6jfrPf.mjs +128 -0
- package/fesm2022/ngx-t-forms-input-custom.component-Cv6jfrPf.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-input-custom.component-B855cSGR.mjs → ngx-t-forms-input-custom.component-pUshbxSM.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-input-custom.component-B855cSGR.mjs.map → ngx-t-forms-input-custom.component-pUshbxSM.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-input-editor.component-BKV6ZJx9.mjs +512 -0
- package/fesm2022/ngx-t-forms-input-editor.component-BKV6ZJx9.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-input-editor.component-CxXMETLl.mjs +190 -0
- package/fesm2022/ngx-t-forms-input-editor.component-CxXMETLl.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-map-mat-options-keys-C0L8Vi2y.mjs → ngx-t-forms-map-mat-options-keys-BbfC5vYI.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-map-mat-options-keys-C0L8Vi2y.mjs.map → ngx-t-forms-map-mat-options-keys-BbfC5vYI.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs +132 -0
- package/fesm2022/ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs +109 -0
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-D8tnMRWS.mjs → ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-D8tnMRWS.mjs.map → ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs.map} +1 -1
- 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-BgZ2Q0yu.mjs → ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-BgZ2Q0yu.mjs.map → ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs +114 -0
- package/fesm2022/ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs +69 -0
- package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-DD13F1yS.mjs → ngx-t-forms-mscoa-chart-toolbar.component-D1ASX1mt.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-DD13F1yS.mjs.map → ngx-t-forms-mscoa-chart-toolbar.component-D1ASX1mt.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-mscoa-error-display.component-DzFibbuY.mjs +200 -0
- package/fesm2022/ngx-t-forms-mscoa-error-display.component-DzFibbuY.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-mscoa-segment-config.component--lBn-Pvd.mjs → ngx-t-forms-mscoa-segment-config.component-CjuxTqfX.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-mscoa-segment-config.component--lBn-Pvd.mjs.map → ngx-t-forms-mscoa-segment-config.component-CjuxTqfX.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-D9KrXNS6.mjs +850 -0
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-D9KrXNS6.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-DV93x0Rr.mjs +107 -0
- package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-DV93x0Rr.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-CZHFMhL7.mjs → ngx-t-forms-multiple-input-input-element.component-BA61uQ2q.mjs} +10 -10
- package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BA61uQ2q.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BxQYrUJL.mjs +1665 -0
- package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BxQYrUJL.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-ngx-t-forms-BkTeV_AF.mjs → ngx-t-forms-ngx-t-forms-CJGAj18J.mjs} +2042 -179
- package/fesm2022/ngx-t-forms-ngx-t-forms-CJGAj18J.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs +27352 -0
- package/fesm2022/ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-paginated-selection-table-DeY5vQti.mjs +1024 -0
- package/fesm2022/ngx-t-forms-paginated-selection-table-DeY5vQti.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-paginated-selection-table-1W6jXaKk.mjs → ngx-t-forms-paginated-selection-table-yvhqQxPV.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-paginated-selection-table-1W6jXaKk.mjs.map → ngx-t-forms-paginated-selection-table-yvhqQxPV.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-payload-template-editor.component-BzY-kX6W.mjs +234 -0
- package/fesm2022/ngx-t-forms-payload-template-editor.component-BzY-kX6W.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-payload-template-editor.component-sqY3bYiZ.mjs +203 -0
- package/fesm2022/ngx-t-forms-payload-template-editor.component-sqY3bYiZ.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-pipeline-generator.component-yBqYGbgL.mjs → ngx-t-forms-pipeline-generator.component-COvr1j_v.mjs} +9 -9
- package/fesm2022/ngx-t-forms-pipeline-generator.component-COvr1j_v.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-pipeline-generator.component-CcHgQ-MT.mjs +1126 -0
- package/fesm2022/ngx-t-forms-pipeline-generator.component-CcHgQ-MT.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-record-list-manager.component-fC_S81-7.mjs → ngx-t-forms-record-list-manager.component-CY4GnAOb.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-record-list-manager.component-fC_S81-7.mjs.map → ngx-t-forms-record-list-manager.component-CY4GnAOb.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs +545 -0
- package/fesm2022/ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs +451 -0
- package/fesm2022/ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-required-inputs.component-r1KNcuod.mjs → ngx-t-forms-required-inputs.component-ByBeNLXu.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-required-inputs.component-r1KNcuod.mjs.map → ngx-t-forms-required-inputs.component-ByBeNLXu.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs +625 -0
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-C99RdNiP.mjs → ngx-t-forms-rest-api-call-setup.component-CkLePXoO.mjs} +61 -15
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-CkLePXoO.mjs.map +1 -0
- 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-CQR27H3a.mjs +248 -0
- package/fesm2022/ngx-t-forms-section-report.component-CQR27H3a.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-section-report.component-Cl1wrszQ.mjs → ngx-t-forms-section-report.component-mUpSxbaB.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-section-report.component-Cl1wrszQ.mjs.map → ngx-t-forms-section-report.component-mUpSxbaB.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-select-input-element.component-CLs5UkmC.mjs +408 -0
- package/fesm2022/ngx-t-forms-select-input-element.component-CLs5UkmC.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-select-input-element.component-CStVMEhv.mjs → ngx-t-forms-select-input-element.component-c7IgHdXA.mjs} +5 -5
- package/fesm2022/ngx-t-forms-select-input-element.component-c7IgHdXA.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-selection-options-editor.component-DiegTjWX.mjs +275 -0
- package/fesm2022/ngx-t-forms-selection-options-editor.component-DiegTjWX.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-BybBzePF.mjs → ngx-t-forms-selection-options-editor.component-WfuGdtvK.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-BybBzePF.mjs.map → ngx-t-forms-selection-options-editor.component-WfuGdtvK.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-CQPrr7Cz.mjs +341 -0
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-CQPrr7Cz.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-t-workflow-picker.component-CtavFAUq.mjs → ngx-t-forms-t-workflow-picker.component-DqFMP1rZ.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-t-workflow-picker.component-CtavFAUq.mjs.map → ngx-t-forms-t-workflow-picker.component-DqFMP1rZ.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-textarea-input-element.component-CVUTn20g.mjs → ngx-t-forms-textarea-input-element.component-C7H84RGw.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-textarea-input-element.component-CVUTn20g.mjs.map → ngx-t-forms-textarea-input-element.component-C7H84RGw.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-textarea-input-element.component-Coxr1XD7.mjs +233 -0
- package/fesm2022/ngx-t-forms-textarea-input-element.component-Coxr1XD7.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs +305 -0
- package/fesm2022/ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-toggle-input-element.component-BoZvYozf.mjs → ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-toggle-input-element.component-BoZvYozf.mjs.map → ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-validators-config.component-Df9wzsjg.mjs → ngx-t-forms-validators-config.component-DgIVRSvF.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-validators-config.component-Df9wzsjg.mjs.map → ngx-t-forms-validators-config.component-DgIVRSvF.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-validators-config.component-DjLB40z-.mjs +1105 -0
- package/fesm2022/ngx-t-forms-validators-config.component-DjLB40z-.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CJvbB68e.mjs → ngx-t-forms-workflow-adjudication.component-CB6qBxgr.mjs} +9 -9
- package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CJvbB68e.mjs.map → ngx-t-forms-workflow-adjudication.component-CB6qBxgr.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-workflow-adjudication.component-_A3v5MxN.mjs +2923 -0
- package/fesm2022/ngx-t-forms-workflow-adjudication.component-_A3v5MxN.mjs.map +1 -0
- package/fesm2022/ngx-t-forms.mjs +1 -1
- package/package.json +8 -2
- package/styles/_editor-mixins.scss +55 -0
- package/styles/_json-editor-syntax.scss +16 -0
- package/types/ngx-t-forms.d.ts +663 -12
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-KmfVY6sd.mjs +0 -368
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-KmfVY6sd.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-form-section-stepper.component-enB9ZNG7.mjs +0 -389
- package/fesm2022/ngx-t-forms-form-section-stepper.component-enB9ZNG7.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-index-D8TBBLAD.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-input-editor.component-DBFYZyi3.mjs +0 -193
- package/fesm2022/ngx-t-forms-input-editor.component-DBFYZyi3.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-multiple-input-input-element.component-CZHFMhL7.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-ngx-t-forms-BkTeV_AF.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-pipeline-generator.component-yBqYGbgL.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-C99RdNiP.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-select-input-element.component-CStVMEhv.mjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/mat-slider-editor/mat-slider-editor.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/mat-slider-editor/mat-slider-editor.component.html"],"sourcesContent":["import { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport {\n ChangeDetectionStrategy,\n Component,\n Input,\n ViewEncapsulation,\n inject,\n output,\n} from '@angular/core';\nimport { NgControl } from '@angular/forms';\nimport { MatFormFieldControl } from '@angular/material/form-field';\nimport { MatSliderModule } from '@angular/material/slider';\nimport { Subject } from 'rxjs';\nimport type { IConfigElementError } from '../../t-dynamic-data-edit.component';\n\n/** Display formatter for a slider value (thumb tooltip / value readout). */\nexport type SliderValueFormatter = (value: number) => string | number;\n\n/**\n * Internal Material slider editor implementing `MatFormFieldControl<number>`\n * for the dynamic-data-edit configuration surface.\n *\n * Rendered by `t-dynamic-data-edit`, which supplies the surrounding field label,\n * hint, and validation errors — so this component owns only the slider track,\n * the live value readout, and the min/max bound labels.\n *\n * NOTE: `MatFormFieldControl<T>` mandates plain mutable `value` / `disabled` /\n * `required` / `placeholder` / `id` members, `@Input()` decorators, the\n * `focused` / `touched` / `stateChanges` members, and the `useExisting`\n * provider. These are framework wiring, not defects — the CLAUDE.md bans on\n * `@Input()` / `useExisting` do not apply to MatFormFieldControl integration.\n */\n@Component({\n selector: 'lib-mat-slider-editor',\n providers: [{ provide: MatFormFieldControl, useExisting: MatSliderEditorComponent }],\n imports: [MatSliderModule],\n templateUrl: './mat-slider-editor.component.html',\n styleUrl: './mat-slider-editor.component.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n 'class': 'lib-mat-slider-editor',\n '[id]': 'id',\n '[attr.aria-describedby]': 'describedBy',\n '[class.lib-mat-slider-editor--focused]': 'focused',\n '[class.lib-mat-slider-editor--disabled]': 'disabled',\n },\n})\nexport class MatSliderEditorComponent implements MatFormFieldControl<number> {\n static nextId = 0;\n\n /** Emits whenever a piece of `MatFormFieldControl` state changes. */\n readonly stateChanges = new Subject<void>();\n readonly controlType = 'lib-mat-slider-editor';\n\n id = `lib-mat-slider-editor-${MatSliderEditorComponent.nextId++}`;\n placeholder = '';\n focused = false;\n touched = false;\n describedBy = '';\n autofilled = false;\n userAriaDescribedBy: string | undefined = undefined;\n disableAutomaticLabeling: boolean | undefined = undefined;\n\n readonly ngControl = inject(NgControl, { self: true, optional: true });\n\n /** Validation errors surfaced by the parent for error-state derivation. */\n @Input() errors: IConfigElementError[] | undefined = [];\n /** Accessible label for the slider thumb. */\n @Input() label = '';\n /** Thumb-tooltip formatter (Material `displayWith`). Optional — the parent's editor config may supply `undefined`. */\n @Input() format: SliderValueFormatter | undefined = (value: number) => value;\n /** Fallback formatter used by the value readout when `format` is absent. */\n @Input() formatLabel: SliderValueFormatter = (value: number) => value;\n\n #min = 0;\n /** Lower bound of the slider. */\n @Input()\n get min(): number {\n return this.#min;\n }\n set min(value: number) {\n this.#min = this.#toNumber(value, 0);\n this.stateChanges.next();\n }\n\n #max = 100;\n /** Upper bound of the slider. */\n @Input()\n get max(): number {\n return this.#max;\n }\n set max(value: number) {\n this.#max = this.#toNumber(value, 100);\n this.stateChanges.next();\n }\n\n #step = 1;\n /** Increment between selectable values; also drives tick-mark spacing. */\n @Input()\n get step(): number {\n return this.#step;\n }\n set step(value: number) {\n this.#step = this.#toNumber(value, 1);\n this.stateChanges.next();\n }\n\n #disabled = false;\n /** Whether the slider is inert. */\n @Input()\n get disabled(): boolean {\n return this.#disabled;\n }\n set disabled(value: boolean) {\n this.#disabled = coerceBooleanProperty(value);\n this.stateChanges.next();\n }\n\n #value = 0;\n /** Current numeric value of the slider. */\n @Input()\n get value(): number {\n return this.#value;\n }\n set value(value: number) {\n this.#value = this.#toNumber(value, 0);\n this.stateChanges.next();\n }\n\n #required = false;\n /** Whether a value is required. */\n @Input()\n get required(): boolean {\n return this.#required;\n }\n set required(value: boolean) {\n this.#required = coerceBooleanProperty(value);\n this.stateChanges.next();\n }\n\n /** Emits the new slider value when the user drags the thumb. */\n readonly valueChange = output<number>();\n\n // MatFormFieldControl reads these as plain getters during its own change\n // detection, so they stay getters rather than `computed()` signals.\n\n /**\n * Whether the control holds no user selection.\n *\n * BEHAVIOUR FLAG: a value of `0` is a real selection, so it is NOT empty.\n * The control is only \"empty\" when no numeric value is set at all.\n */\n get empty(): boolean {\n return Number.isNaN(this.#value);\n }\n\n get shouldLabelFloat(): boolean {\n return this.focused || !this.empty;\n }\n\n get errorState(): boolean {\n const requiredUnset = this.empty && this.#required && this.touched;\n const ngControlError = this.ngControl?.errors != null;\n const externalError = (this.errors?.length ?? 0) > 0 && this.touched;\n return requiredUnset || ngControlError || externalError;\n }\n\n /** Resolved display value shown in the live readout. */\n get displayValue(): string {\n return String(this.formatLabel(this.#value));\n }\n\n /**\n * Adapter for Material's `displayWith`, which requires a `string` return.\n * Wraps the `format` thumb-tooltip formatter.\n */\n readonly displayWith = (value: number): string =>\n String(this.format ? this.format(value) : value);\n\n setDescribedByIds(ids: string[]): void {\n this.describedBy = ids.join(' ');\n this.stateChanges.next();\n }\n\n onContainerClick(): void {\n this.markAsTouched();\n if (!this.focused) {\n this.focused = true;\n }\n this.stateChanges.next();\n }\n\n onTouched: () => void = () => {};\n\n markAsTouched(): void {\n if (!this.touched) {\n this.touched = true;\n this.onTouched();\n this.stateChanges.next();\n }\n }\n\n valueChangedSlider(event: Event): void {\n const target = event.target;\n if (!(target instanceof HTMLInputElement)) {\n return;\n }\n const next = Number(target.value);\n if (Number.isNaN(next)) {\n return;\n }\n this.value = next;\n this.markAsTouched();\n this.valueChange.emit(next);\n }\n\n /** Coerce an incoming binding to a finite number, falling back when invalid. */\n #toNumber(value: number, fallback: number): number {\n const parsed = Number(value);\n return Number.isFinite(parsed) ? parsed : fallback;\n }\n}\n","<div class=\"lib-mat-slider-editor__row\">\n <span class=\"lib-mat-slider-editor__bound\">{{ min }}</span>\n\n <mat-slider\n class=\"lib-mat-slider-editor__slider\"\n discrete\n showTickMarks\n [disabled]=\"disabled\"\n [min]=\"min\"\n [max]=\"max\"\n [step]=\"step\"\n [displayWith]=\"displayWith\"\n >\n <input\n matSliderThumb\n [value]=\"value\"\n [attr.aria-label]=\"label || null\"\n (input)=\"valueChangedSlider($event)\"\n (blur)=\"markAsTouched()\"\n />\n </mat-slider>\n\n <span class=\"lib-mat-slider-editor__bound\">{{ max }}</span>\n</div>\n\n<output class=\"lib-mat-slider-editor__value\">{{ displayValue }}</output>\n"],"names":[],"mappings":";;;;;;;;;AAkBA;;;;;;;;;;;;;AAaG;MAiBU,wBAAwB,CAAA;AAhBrC,IAAA,WAAA,GAAA;;AAoBW,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,OAAO,EAAQ;QAClC,IAAA,CAAA,WAAW,GAAG,uBAAuB;AAE9C,QAAA,IAAA,CAAA,EAAE,GAAG,CAAA,sBAAA,EAAyB,wBAAwB,CAAC,MAAM,EAAE,EAAE;QACjE,IAAA,CAAA,WAAW,GAAG,EAAE;QAChB,IAAA,CAAA,OAAO,GAAG,KAAK;QACf,IAAA,CAAA,OAAO,GAAG,KAAK;QACf,IAAA,CAAA,WAAW,GAAG,EAAE;QAChB,IAAA,CAAA,UAAU,GAAG,KAAK;QAClB,IAAA,CAAA,mBAAmB,GAAuB,SAAS;QACnD,IAAA,CAAA,wBAAwB,GAAwB,SAAS;AAEhD,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;QAG7D,IAAA,CAAA,MAAM,GAAsC,EAAE;;QAE9C,IAAA,CAAA,KAAK,GAAG,EAAE;;AAEV,QAAA,IAAA,CAAA,MAAM,GAAqC,CAAC,KAAa,KAAK,KAAK;;AAEnE,QAAA,IAAA,CAAA,WAAW,GAAyB,CAAC,KAAa,KAAK,KAAK;QAErE,IAAA,CAAA,IAAI,GAAG,CAAC;QAWR,IAAA,CAAA,IAAI,GAAG,GAAG;QAWV,IAAA,CAAA,KAAK,GAAG,CAAC;QAWT,IAAA,CAAA,SAAS,GAAG,KAAK;QAWjB,IAAA,CAAA,MAAM,GAAG,CAAC;QAWV,IAAA,CAAA,SAAS,GAAG,KAAK;;QAYR,IAAA,CAAA,WAAW,GAAG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,CAAA,CAAA;;iFAad,wBAAwB,EAAA,CAAA;cAhBpC,SAAS;2BACE,uBAAuB,EAAA,SAAA,EACtB,CAAC,EAAE,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAA,wBAA0B,EAAE,CAAC,WAC3E,CAAC,eAAe,CAAC,EAAA,eAAA,EAGT,uBAAuB,CAAC,MAAM,EAAA,aAAA,EAChC,iBAAiB,CAAC,QAAQ,EAAA,IAAA,EACnC;AACJ,oBAAA,OAAO,EAAE,uBAAuB;AAChC,oBAAA,MAAM,EAAE,IAAI;AACZ,oBAAA,yBAAyB,EAAE,aAAa;AACxC,oBAAA,wCAAwC,EAAE,SAAS;AACnD,oBAAA,yCAAyC,EAAE,UAAU;AACtD,iBAAA,EAAA,QAAA,EAAA,srBAAA,EAAA,MAAA,EAAA,CAAA,4rBAAA,CAAA,EAAA;;kBAqBA;;kBAEA;;kBAEA;;kBAEA;;kBAIA;;kBAWA;;kBAWA;;kBAWA;;kBAWA;;kBAWA;;kFApFU,wBAAwB,EAAA,EAAA,SAAA,EAAA,0BAAA,EAAA,QAAA,EAAA,8FAAA,EAAA,UAAA,EAAA,EAAA,EAAA,CAAA,CAAA,CAAA,CAAA,GAAA;;;;"}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { inject, output, ViewEncapsulation, ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
4
|
+
import { NgControl } from '@angular/forms';
|
|
5
|
+
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
6
|
+
import * as i1 from '@angular/material/slide-toggle';
|
|
7
|
+
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
|
8
|
+
import { Subject } from 'rxjs';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Internal Material slide-toggle editor implementing
|
|
12
|
+
* `MatFormFieldControl<boolean>` and `ControlValueAccessor`.
|
|
13
|
+
*
|
|
14
|
+
* Rendered by `t-dynamic-data-edit`, which supplies the surrounding field label,
|
|
15
|
+
* hint, and validation errors — so this component owns only the toggle itself
|
|
16
|
+
* (and the inline caption the toggle carries).
|
|
17
|
+
*
|
|
18
|
+
* NOTE: `MatFormFieldControl<T>` and `ControlValueAccessor` mandate plain
|
|
19
|
+
* mutable `value` / `placeholder` / `required` / `disabled` / `id` members,
|
|
20
|
+
* `@Input()` decorators, the `focused` / `touched` / `stateChanges` /
|
|
21
|
+
* `onChange` / `onTouched` members, and the `useExisting` provider. These are
|
|
22
|
+
* framework wiring, not defects — the CLAUDE.md bans on `@Input()` / `useExisting`
|
|
23
|
+
* do not apply to MatFormFieldControl integration.
|
|
24
|
+
*/
|
|
25
|
+
class MatSliderToggleEditorComponent {
|
|
26
|
+
static { this.nextId = 0; }
|
|
27
|
+
#required;
|
|
28
|
+
get required() {
|
|
29
|
+
return this.#required;
|
|
30
|
+
}
|
|
31
|
+
set required(value) {
|
|
32
|
+
this.#required = coerceBooleanProperty(value);
|
|
33
|
+
this.stateChanges.next();
|
|
34
|
+
}
|
|
35
|
+
#value;
|
|
36
|
+
get value() {
|
|
37
|
+
return this.#value;
|
|
38
|
+
}
|
|
39
|
+
set value(val) {
|
|
40
|
+
this.#value = val;
|
|
41
|
+
this.onChange(val);
|
|
42
|
+
this.stateChanges.next();
|
|
43
|
+
}
|
|
44
|
+
#placeholder;
|
|
45
|
+
get placeholder() {
|
|
46
|
+
return this.#placeholder;
|
|
47
|
+
}
|
|
48
|
+
set placeholder(value) {
|
|
49
|
+
this.#placeholder = value;
|
|
50
|
+
this.stateChanges.next();
|
|
51
|
+
}
|
|
52
|
+
constructor() {
|
|
53
|
+
/** Emits whenever a piece of `MatFormFieldControl` state changes. */
|
|
54
|
+
this.stateChanges = new Subject();
|
|
55
|
+
this.controlType = 'lib-mat-slider-toggle-editor';
|
|
56
|
+
this.focused = false;
|
|
57
|
+
this.touched = false;
|
|
58
|
+
this.autofilled = false;
|
|
59
|
+
this.id = `lib-mat-slider-toggle-editor-${MatSliderToggleEditorComponent.nextId++}`;
|
|
60
|
+
this.describedBy = '';
|
|
61
|
+
this.ngControl = inject(NgControl, { self: true, optional: true });
|
|
62
|
+
this.name = undefined;
|
|
63
|
+
this.label = '';
|
|
64
|
+
this.errors = [];
|
|
65
|
+
this.disabled = false;
|
|
66
|
+
/** Emits the new toggle state when the user flips it. */
|
|
67
|
+
this.valueChange = output();
|
|
68
|
+
this.#required = false;
|
|
69
|
+
this.#value = false;
|
|
70
|
+
this.#placeholder = '';
|
|
71
|
+
// ControlValueAccessor — Angular registers an untyped change callback.
|
|
72
|
+
this.onChange = () => { };
|
|
73
|
+
this.onTouched = () => { };
|
|
74
|
+
if (this.ngControl != null) {
|
|
75
|
+
this.ngControl.valueAccessor = this;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
// MatFormFieldControl reads these as plain getters during its own change
|
|
79
|
+
// detection, so they stay getters rather than `computed()` signals.
|
|
80
|
+
get shouldLabelFloat() {
|
|
81
|
+
return this.focused || !this.empty;
|
|
82
|
+
}
|
|
83
|
+
get empty() {
|
|
84
|
+
return this.#value === false;
|
|
85
|
+
}
|
|
86
|
+
get errorState() {
|
|
87
|
+
return ((!this.#value && this.#required && this.touched) ||
|
|
88
|
+
this.ngControl?.errors != null ||
|
|
89
|
+
(this.errors?.length ?? 0) > 0);
|
|
90
|
+
}
|
|
91
|
+
writeValue(value) {
|
|
92
|
+
this.#value = value;
|
|
93
|
+
this.stateChanges.next();
|
|
94
|
+
}
|
|
95
|
+
registerOnChange(fn) {
|
|
96
|
+
this.onChange = fn;
|
|
97
|
+
}
|
|
98
|
+
registerOnTouched(fn) {
|
|
99
|
+
this.onTouched = fn;
|
|
100
|
+
}
|
|
101
|
+
setDisabledState(isDisabled) {
|
|
102
|
+
this.disabled = isDisabled;
|
|
103
|
+
this.stateChanges.next();
|
|
104
|
+
}
|
|
105
|
+
setDescribedByIds(ids) {
|
|
106
|
+
this.describedBy = ids.join(' ');
|
|
107
|
+
this.stateChanges.next();
|
|
108
|
+
}
|
|
109
|
+
onContainerClick() {
|
|
110
|
+
if (!this.focused) {
|
|
111
|
+
this.focused = true;
|
|
112
|
+
this.stateChanges.next();
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
markAsTouched() {
|
|
116
|
+
if (!this.touched) {
|
|
117
|
+
this.touched = true;
|
|
118
|
+
this.onTouched();
|
|
119
|
+
this.stateChanges.next();
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
valueToggleChanged(value) {
|
|
123
|
+
this.value = value;
|
|
124
|
+
this.valueChange.emit(value);
|
|
125
|
+
this.markAsTouched();
|
|
126
|
+
}
|
|
127
|
+
static { this.ɵfac = function MatSliderToggleEditorComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MatSliderToggleEditorComponent)(); }; }
|
|
128
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MatSliderToggleEditorComponent, selectors: [["lib-mat-slider-toggle-editor"]], hostAttrs: [1, "lib-mat-slider-toggle-editor"], hostVars: 4, hostBindings: function MatSliderToggleEditorComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
129
|
+
i0.ɵɵdomProperty("id", ctx.id);
|
|
130
|
+
i0.ɵɵattribute("aria-describedby", ctx.describedBy);
|
|
131
|
+
i0.ɵɵclassProp("floating", ctx.shouldLabelFloat);
|
|
132
|
+
} }, inputs: { name: "name", label: "label", errors: "errors", disabled: "disabled", required: "required", value: "value", placeholder: "placeholder" }, outputs: { valueChange: "valueChange" }, features: [i0.ɵɵProvidersFeature([
|
|
133
|
+
{
|
|
134
|
+
provide: MatFormFieldControl,
|
|
135
|
+
useExisting: MatSliderToggleEditorComponent,
|
|
136
|
+
},
|
|
137
|
+
])], decls: 2, vars: 5, consts: [[1, "lib-mat-slider-toggle-editor__toggle", 3, "change", "blur", "disabled", "checked", "required", "aria-label"]], template: function MatSliderToggleEditorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
138
|
+
i0.ɵɵelementStart(0, "mat-slide-toggle", 0);
|
|
139
|
+
i0.ɵɵlistener("change", function MatSliderToggleEditorComponent_Template_mat_slide_toggle_change_0_listener($event) { return ctx.valueToggleChanged($event.checked); })("blur", function MatSliderToggleEditorComponent_Template_mat_slide_toggle_blur_0_listener() { return ctx.markAsTouched(); });
|
|
140
|
+
i0.ɵɵtext(1);
|
|
141
|
+
i0.ɵɵelementEnd();
|
|
142
|
+
} if (rf & 2) {
|
|
143
|
+
i0.ɵɵproperty("disabled", ctx.disabled)("checked", !!ctx.value)("required", ctx.required);
|
|
144
|
+
i0.ɵɵariaProperty("aria-label", ctx.label || ctx.name || "Toggle");
|
|
145
|
+
i0.ɵɵadvance();
|
|
146
|
+
i0.ɵɵtextInterpolate1(" ", ctx.label, "\n");
|
|
147
|
+
} }, dependencies: [MatSlideToggleModule, i1.MatSlideToggle], styles: ["[_nghost-%COMP%]{display:flex;align-items:center;min-height:2.25rem}.lib-mat-slider-toggle-editor__toggle[_ngcontent-%COMP%]{--mdc-form-field-label-text-color: var(--lib-forms-on-surface);color:var(--lib-forms-on-surface);font-size:.9375rem}"], changeDetection: 0 }); }
|
|
148
|
+
}
|
|
149
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MatSliderToggleEditorComponent, [{
|
|
150
|
+
type: Component,
|
|
151
|
+
args: [{ selector: 'lib-mat-slider-toggle-editor', imports: [MatSlideToggleModule], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, providers: [
|
|
152
|
+
{
|
|
153
|
+
provide: MatFormFieldControl,
|
|
154
|
+
useExisting: MatSliderToggleEditorComponent,
|
|
155
|
+
},
|
|
156
|
+
], host: {
|
|
157
|
+
'class': 'lib-mat-slider-toggle-editor',
|
|
158
|
+
'[id]': 'id',
|
|
159
|
+
'[attr.aria-describedby]': 'describedBy',
|
|
160
|
+
'[class.floating]': 'shouldLabelFloat',
|
|
161
|
+
}, template: "<mat-slide-toggle\n class=\"lib-mat-slider-toggle-editor__toggle\"\n [disabled]=\"disabled\"\n [checked]=\"!!value\"\n [required]=\"required\"\n [aria-label]=\"label || name || 'Toggle'\"\n (change)=\"valueToggleChanged($event.checked)\"\n (blur)=\"markAsTouched()\"\n>\n {{ label }}\n</mat-slide-toggle>\n", styles: [":host{display:flex;align-items:center;min-height:2.25rem}.lib-mat-slider-toggle-editor__toggle{--mdc-form-field-label-text-color: var(--lib-forms-on-surface);color:var(--lib-forms-on-surface);font-size:.9375rem}\n"] }]
|
|
162
|
+
}], () => [], { name: [{
|
|
163
|
+
type: Input
|
|
164
|
+
}], label: [{
|
|
165
|
+
type: Input
|
|
166
|
+
}], errors: [{
|
|
167
|
+
type: Input
|
|
168
|
+
}], disabled: [{
|
|
169
|
+
type: Input
|
|
170
|
+
}], valueChange: [{ type: i0.Output, args: ["valueChange"] }], required: [{
|
|
171
|
+
type: Input
|
|
172
|
+
}], value: [{
|
|
173
|
+
type: Input
|
|
174
|
+
}], placeholder: [{
|
|
175
|
+
type: Input
|
|
176
|
+
}] }); })();
|
|
177
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MatSliderToggleEditorComponent, { className: "MatSliderToggleEditorComponent", filePath: "lib/components/t-dynamic-data-edit/elements/mat-slider-toggle-editor/mat-slider-toggle-editor.component.ts", lineNumber: 57 }); })();
|
|
178
|
+
|
|
179
|
+
export { MatSliderToggleEditorComponent };
|
|
180
|
+
//# sourceMappingURL=ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/mat-slider-toggle-editor/mat-slider-toggle-editor.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/mat-slider-toggle-editor/mat-slider-toggle-editor.component.html"],"sourcesContent":["import { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport {\n ChangeDetectionStrategy,\n Component,\n Input,\n ViewEncapsulation,\n inject,\n output,\n} from '@angular/core';\nimport { ControlValueAccessor, NgControl } from '@angular/forms';\nimport { MatFormFieldControl } from '@angular/material/form-field';\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\nimport { Subject } from 'rxjs';\nimport type { IConfigElementError } from '../../t-dynamic-data-edit.component';\n\n// CVA write callback. Angular's ControlValueAccessor types the registered\n// change handler as `(value: any) => void`; the alias keeps the `any` contained\n// to one place instead of repeating an eslint-disable on every reference.\n// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Angular CVA mandates an untyped change callback.\ntype CvaChange = (value: any) => void;\n\n/**\n * Internal Material slide-toggle editor implementing\n * `MatFormFieldControl<boolean>` and `ControlValueAccessor`.\n *\n * Rendered by `t-dynamic-data-edit`, which supplies the surrounding field label,\n * hint, and validation errors — so this component owns only the toggle itself\n * (and the inline caption the toggle carries).\n *\n * NOTE: `MatFormFieldControl<T>` and `ControlValueAccessor` mandate plain\n * mutable `value` / `placeholder` / `required` / `disabled` / `id` members,\n * `@Input()` decorators, the `focused` / `touched` / `stateChanges` /\n * `onChange` / `onTouched` members, and the `useExisting` provider. These are\n * framework wiring, not defects — the CLAUDE.md bans on `@Input()` / `useExisting`\n * do not apply to MatFormFieldControl integration.\n */\n@Component({\n selector: 'lib-mat-slider-toggle-editor',\n imports: [MatSlideToggleModule],\n templateUrl: './mat-slider-toggle-editor.component.html',\n styleUrl: './mat-slider-toggle-editor.component.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n providers: [\n {\n provide: MatFormFieldControl,\n useExisting: MatSliderToggleEditorComponent,\n },\n ],\n host: {\n 'class': 'lib-mat-slider-toggle-editor',\n '[id]': 'id',\n '[attr.aria-describedby]': 'describedBy',\n '[class.floating]': 'shouldLabelFloat',\n },\n})\nexport class MatSliderToggleEditorComponent\n implements MatFormFieldControl<boolean>, ControlValueAccessor\n{\n static nextId = 0;\n\n /** Emits whenever a piece of `MatFormFieldControl` state changes. */\n readonly stateChanges = new Subject<void>();\n readonly controlType = 'lib-mat-slider-toggle-editor';\n\n focused = false;\n touched = false;\n autofilled = false;\n\n id = `lib-mat-slider-toggle-editor-${MatSliderToggleEditorComponent.nextId++}`;\n describedBy = '';\n\n readonly ngControl = inject(NgControl, { self: true, optional: true });\n\n @Input() name: string | undefined = undefined;\n @Input() label = '';\n @Input() errors: IConfigElementError[] | undefined = [];\n @Input() disabled = false;\n\n /** Emits the new toggle state when the user flips it. */\n readonly valueChange = output<boolean>();\n\n #required = false;\n @Input()\n get required(): boolean {\n return this.#required;\n }\n set required(value: boolean) {\n this.#required = coerceBooleanProperty(value);\n this.stateChanges.next();\n }\n\n #value = false;\n @Input()\n get value(): boolean {\n return this.#value;\n }\n set value(val: boolean) {\n this.#value = val;\n this.onChange(val);\n this.stateChanges.next();\n }\n\n #placeholder = '';\n @Input()\n get placeholder(): string {\n return this.#placeholder;\n }\n set placeholder(value: string) {\n this.#placeholder = value;\n this.stateChanges.next();\n }\n\n constructor() {\n if (this.ngControl != null) {\n this.ngControl.valueAccessor = this;\n }\n }\n\n // MatFormFieldControl reads these as plain getters during its own change\n // detection, so they stay getters rather than `computed()` signals.\n get shouldLabelFloat(): boolean {\n return this.focused || !this.empty;\n }\n\n get empty(): boolean {\n return this.#value === false;\n }\n\n get errorState(): boolean {\n return (\n (!this.#value && this.#required && this.touched) ||\n this.ngControl?.errors != null ||\n (this.errors?.length ?? 0) > 0\n );\n }\n\n // ControlValueAccessor — Angular registers an untyped change callback.\n onChange: CvaChange = () => {};\n onTouched: () => void = () => {};\n\n writeValue(value: boolean): void {\n this.#value = value;\n this.stateChanges.next();\n }\n\n registerOnChange(fn: CvaChange): void {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.disabled = isDisabled;\n this.stateChanges.next();\n }\n\n setDescribedByIds(ids: string[]): void {\n this.describedBy = ids.join(' ');\n this.stateChanges.next();\n }\n\n onContainerClick(): void {\n if (!this.focused) {\n this.focused = true;\n this.stateChanges.next();\n }\n }\n\n markAsTouched(): void {\n if (!this.touched) {\n this.touched = true;\n this.onTouched();\n this.stateChanges.next();\n }\n }\n\n valueToggleChanged(value: boolean): void {\n this.value = value;\n this.valueChange.emit(value);\n this.markAsTouched();\n }\n}\n","<mat-slide-toggle\n class=\"lib-mat-slider-toggle-editor__toggle\"\n [disabled]=\"disabled\"\n [checked]=\"!!value\"\n [required]=\"required\"\n [aria-label]=\"label || name || 'Toggle'\"\n (change)=\"valueToggleChanged($event.checked)\"\n (blur)=\"markAsTouched()\"\n>\n {{ label }}\n</mat-slide-toggle>\n"],"names":[],"mappings":";;;;;;;;;AAqBA;;;;;;;;;;;;;;AAcG;MAqBU,8BAA8B,CAAA;aAGlC,IAAA,CAAA,MAAM,GAAG,CAAH,CAAK;AAuBlB,IAAA,SAAS;AACT,IAAA,IACI,QAAQ,GAAA;QACV,OAAO,IAAI,CAAC,SAAS;IACvB;IACA,IAAI,QAAQ,CAAC,KAAc,EAAA;AACzB,QAAA,IAAI,CAAC,SAAS,GAAG,qBAAqB,CAAC,KAAK,CAAC;AAC7C,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE;IAC1B;AAEA,IAAA,MAAM;AACN,IAAA,IACI,KAAK,GAAA;QACP,OAAO,IAAI,CAAC,MAAM;IACpB;IACA,IAAI,KAAK,CAAC,GAAY,EAAA;AACpB,QAAA,IAAI,CAAC,MAAM,GAAG,GAAG;AACjB,QAAA,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC;AAClB,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE;IAC1B;AAEA,IAAA,YAAY;AACZ,IAAA,IACI,WAAW,GAAA;QACb,OAAO,IAAI,CAAC,YA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C,EAAA,eAAA,EAGd,uBAAuB,CAAC,MAAM,EAAA,aAAA,EAChC,iBAAiB,CAAC,QAAQ,EAAA,SAAA,EAC9B;AACT,oBAAA;AACE,wBAAA,OAAO,EAAE,mBAAmB;AAC5B,wBAAA,WAAW,EAAA,8BAAgC;AAC5C,qBAAA;iBACF,EAAA,IAAA,EACK;AACJ,oBAAA,OAAO,EAAE,8BAA8B;AACvC,oBAAA,MAAM,EAAE,IAAI;AACZ,oBAAA,yBAAyB,EAAE,aAAa;AACxC,oBAAA,kBAAkB,EAAE,kBAAkB;AACvC,iBAAA,EAAA,QAAA,EAAA,4TAAA,EAAA,MAAA,EAAA,CAAA,uNAAA,CAAA,EAAA;;kBAoBA;;kBACA;;kBACA;;kBACA;;kBAMA;;kBAUA;;kBAWA;;kFAhDU,8BAA8B,EAAA,EAAA,SAAA,EAAA,gCAAA,EAAA,QAAA,EAAA,4GAAA,EAAA,UAAA,EAAA,EAAA,EAAA,CAAA,CAAA,CAAA,CAAA,GAAA;;;;"}
|
|
@@ -5,11 +5,11 @@ import * as i1 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';
|
|
8
|
-
import * as
|
|
8
|
+
import * as i8 from '@angular/material/toolbar';
|
|
9
9
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
10
|
-
import * as i5
|
|
10
|
+
import * as i5 from '@angular/material/tooltip';
|
|
11
11
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
12
|
-
import { F as FormsStoreService } from './ngx-t-forms-ngx-t-forms-
|
|
12
|
+
import { F as FormsStoreService } from './ngx-t-forms-ngx-t-forms-CJGAj18J.mjs';
|
|
13
13
|
|
|
14
14
|
class MissingFormConfigsComponent {
|
|
15
15
|
constructor() {
|
|
@@ -21,7 +21,7 @@ class MissingFormConfigsComponent {
|
|
|
21
21
|
}
|
|
22
22
|
#store;
|
|
23
23
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: MissingFormConfigsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
24
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: MissingFormConfigsComponent, isStandalone: true, selector: "lib-missing-form-configs", ngImport: i0, template: "@if (hideDetails()) {\r\n<button\r\nmatTooltip=\"Click to view form configuration issues and validation errors\"\r\nstyle=\"margin: 16px;\" (click)=\"hideDetails.set(false)\" mat-fab color=\"warn\" aria-label=\"Error icon\">\r\n <mat-icon>error</mat-icon>\r\n</button>\r\n}@else {\r\n<div style=\"margin: 8px;position:relative\" class=\"content \">\r\n <mat-toolbar color=\"warn\">\r\n <button (click)=\"hideDetails.set(true)\" mat-icon-button>\r\n <mat-icon>\r\n close\r\n </mat-icon>\r\n </button>\r\n Missing configurations:\r\n <span class=\"spacer\"></span>\r\n <button [matTooltip]=\"showAllErrors() ? 'Hide all errors' : 'Show all errors'\"\r\n (click)=\"showAllErrors.set(!showAllErrors())\" mat-icon-button>\r\n\r\n <mat-icon>\r\n unfold_more\r\n </mat-icon>\r\n </button>\r\n </mat-toolbar>\r\n <section style=\"padding: 16px;\" >\r\n <h5>\r\n <strong>\r\n Overall form issues:\r\n </strong>\r\n </h5>\r\n <ul>\r\n @for (issue of (missingConfigs$|async);track
|
|
24
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: MissingFormConfigsComponent, isStandalone: true, selector: "lib-missing-form-configs", ngImport: i0, template: "@if (hideDetails()) {\r\n<button\r\nmatTooltip=\"Click to view form configuration issues and validation errors\"\r\nstyle=\"margin: 16px;\" (click)=\"hideDetails.set(false)\" mat-fab color=\"warn\" aria-label=\"Error icon\">\r\n <mat-icon>error</mat-icon>\r\n</button>\r\n}@else {\r\n<div style=\"margin: 8px;position:relative\" class=\"content \">\r\n <mat-toolbar color=\"warn\">\r\n <button (click)=\"hideDetails.set(true)\" mat-icon-button>\r\n <mat-icon>\r\n close\r\n </mat-icon>\r\n </button>\r\n Missing configurations:\r\n <span class=\"spacer\"></span>\r\n <button [matTooltip]=\"showAllErrors() ? 'Hide all errors' : 'Show all errors'\"\r\n (click)=\"showAllErrors.set(!showAllErrors())\" mat-icon-button>\r\n\r\n <mat-icon>\r\n unfold_more\r\n </mat-icon>\r\n </button>\r\n </mat-toolbar>\r\n <section style=\"padding: 16px;\" >\r\n <h5>\r\n <strong>\r\n Overall form issues:\r\n </strong>\r\n </h5>\r\n <ul>\r\n @for (issue of (missingConfigs$|async);track $index) {\r\n <li>\r\n {{issue}}\r\n </li>\r\n }\r\n </ul>\r\n\r\n @if(showAllErrors()){\r\n <h5>\r\n <strong>\r\n\r\n Form validationErrors :\r\n\r\n </strong>\r\n\r\n\r\n </h5>\r\n <ul>\r\n @for (error of errors$|async; track $index) {\r\n\r\n <li>\r\n\r\n {{error}}\r\n\r\n </li>\r\n\r\n }\r\n </ul>\r\n }\r\n\r\n\r\n\r\n\r\n </section>\r\n\r\n</div>\r\n}\r\n", styles: [".content{width:400px;background:var(--mat-sys-surface-container, var(--mat-app-surface));border:solid var(--mat-form-field-error-text-color, var(--mat-app-error)) 1px}ul{margin-top:0}h5{padding-left:16px;padding-right:16px;padding-top:8px}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i1.MatFabButton, selector: "button[mat-fab], a[mat-fab], button[matFab], a[matFab]", inputs: ["extended"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i8.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
25
25
|
}
|
|
26
26
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: MissingFormConfigsComponent, decorators: [{
|
|
27
27
|
type: Component,
|
|
@@ -31,8 +31,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImpo
|
|
|
31
31
|
MatIconModule,
|
|
32
32
|
MatToolbarModule,
|
|
33
33
|
MatTooltipModule,
|
|
34
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (hideDetails()) {\r\n<button\r\nmatTooltip=\"Click to view form configuration issues and validation errors\"\r\nstyle=\"margin: 16px;\" (click)=\"hideDetails.set(false)\" mat-fab color=\"warn\" aria-label=\"Error icon\">\r\n <mat-icon>error</mat-icon>\r\n</button>\r\n}@else {\r\n<div style=\"margin: 8px;position:relative\" class=\"content \">\r\n <mat-toolbar color=\"warn\">\r\n <button (click)=\"hideDetails.set(true)\" mat-icon-button>\r\n <mat-icon>\r\n close\r\n </mat-icon>\r\n </button>\r\n Missing configurations:\r\n <span class=\"spacer\"></span>\r\n <button [matTooltip]=\"showAllErrors() ? 'Hide all errors' : 'Show all errors'\"\r\n (click)=\"showAllErrors.set(!showAllErrors())\" mat-icon-button>\r\n\r\n <mat-icon>\r\n unfold_more\r\n </mat-icon>\r\n </button>\r\n </mat-toolbar>\r\n <section style=\"padding: 16px;\" >\r\n <h5>\r\n <strong>\r\n Overall form issues:\r\n </strong>\r\n </h5>\r\n <ul>\r\n @for (issue of (missingConfigs$|async);track
|
|
34
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (hideDetails()) {\r\n<button\r\nmatTooltip=\"Click to view form configuration issues and validation errors\"\r\nstyle=\"margin: 16px;\" (click)=\"hideDetails.set(false)\" mat-fab color=\"warn\" aria-label=\"Error icon\">\r\n <mat-icon>error</mat-icon>\r\n</button>\r\n}@else {\r\n<div style=\"margin: 8px;position:relative\" class=\"content \">\r\n <mat-toolbar color=\"warn\">\r\n <button (click)=\"hideDetails.set(true)\" mat-icon-button>\r\n <mat-icon>\r\n close\r\n </mat-icon>\r\n </button>\r\n Missing configurations:\r\n <span class=\"spacer\"></span>\r\n <button [matTooltip]=\"showAllErrors() ? 'Hide all errors' : 'Show all errors'\"\r\n (click)=\"showAllErrors.set(!showAllErrors())\" mat-icon-button>\r\n\r\n <mat-icon>\r\n unfold_more\r\n </mat-icon>\r\n </button>\r\n </mat-toolbar>\r\n <section style=\"padding: 16px;\" >\r\n <h5>\r\n <strong>\r\n Overall form issues:\r\n </strong>\r\n </h5>\r\n <ul>\r\n @for (issue of (missingConfigs$|async);track $index) {\r\n <li>\r\n {{issue}}\r\n </li>\r\n }\r\n </ul>\r\n\r\n @if(showAllErrors()){\r\n <h5>\r\n <strong>\r\n\r\n Form validationErrors :\r\n\r\n </strong>\r\n\r\n\r\n </h5>\r\n <ul>\r\n @for (error of errors$|async; track $index) {\r\n\r\n <li>\r\n\r\n {{error}}\r\n\r\n </li>\r\n\r\n }\r\n </ul>\r\n }\r\n\r\n\r\n\r\n\r\n </section>\r\n\r\n</div>\r\n}\r\n", styles: [".content{width:400px;background:var(--mat-sys-surface-container, var(--mat-app-surface));border:solid var(--mat-form-field-error-text-color, var(--mat-app-error)) 1px}ul{margin-top:0}h5{padding-left:16px;padding-right:16px;padding-top:8px}\n"] }]
|
|
35
35
|
}] });
|
|
36
36
|
|
|
37
37
|
export { MissingFormConfigsComponent };
|
|
38
|
-
//# sourceMappingURL=ngx-t-forms-missing-form-configs.component-
|
|
38
|
+
//# sourceMappingURL=ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-t-forms-missing-form-configs.component-
|
|
1
|
+
{"version":3,"file":"ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/form-builder/elements/missing-form-configs/missing-form-configs.component.ts","../../../projects/ngx-t-forms/src/lib/components/form-builder/elements/missing-form-configs/missing-form-configs.component.html"],"sourcesContent":["import { AsyncPipe } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component, inject, signal } from '@angular/core';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatToolbarModule } from '@angular/material/toolbar';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\n\r\nimport { FormsStoreService } from '../../../forms/store/forms-store.service';\r\n\r\n@Component({\r\n selector: 'lib-missing-form-configs',\r\n imports: [\r\n AsyncPipe,\r\n MatButtonModule,\r\n MatIconModule,\r\n MatToolbarModule,\r\n MatTooltipModule,\r\n ],\r\n templateUrl: './missing-form-configs.component.html',\r\n styleUrl: './missing-form-configs.component.scss',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class MissingFormConfigsComponent {\r\n readonly #store = inject(FormsStoreService);\r\n\r\n protected readonly errors$ = this.#store.formBuilderSelectors.formValidationErrorsMessages$;\r\n protected readonly missingConfigs$ = this.#store.formBuilderSelectors.missingConfig$;\r\n protected readonly hideDetails = signal<boolean>(true);\r\n protected readonly showAllErrors = signal<boolean>(false);\r\n}\r\n","@if (hideDetails()) {\r\n<button\r\nmatTooltip=\"Click to view form configuration issues and validation errors\"\r\nstyle=\"margin: 16px;\" (click)=\"hideDetails.set(false)\" mat-fab color=\"warn\" aria-label=\"Error icon\">\r\n <mat-icon>error</mat-icon>\r\n</button>\r\n}@else {\r\n<div style=\"margin: 8px;position:relative\" class=\"content \">\r\n <mat-toolbar color=\"warn\">\r\n <button (click)=\"hideDetails.set(true)\" mat-icon-button>\r\n <mat-icon>\r\n close\r\n </mat-icon>\r\n </button>\r\n Missing configurations:\r\n <span class=\"spacer\"></span>\r\n <button [matTooltip]=\"showAllErrors() ? 'Hide all errors' : 'Show all errors'\"\r\n (click)=\"showAllErrors.set(!showAllErrors())\" mat-icon-button>\r\n\r\n <mat-icon>\r\n unfold_more\r\n </mat-icon>\r\n </button>\r\n </mat-toolbar>\r\n <section style=\"padding: 16px;\" >\r\n <h5>\r\n <strong>\r\n Overall form issues:\r\n </strong>\r\n </h5>\r\n <ul>\r\n @for (issue of (missingConfigs$|async);track $index) {\r\n <li>\r\n {{issue}}\r\n </li>\r\n }\r\n </ul>\r\n\r\n @if(showAllErrors()){\r\n <h5>\r\n <strong>\r\n\r\n Form validationErrors :\r\n\r\n </strong>\r\n\r\n\r\n </h5>\r\n <ul>\r\n @for (error of errors$|async; track $index) {\r\n\r\n <li>\r\n\r\n {{error}}\r\n\r\n </li>\r\n\r\n }\r\n </ul>\r\n }\r\n\r\n\r\n\r\n\r\n </section>\r\n\r\n</div>\r\n}\r\n"],"names":["i2","i3","i4"],"mappings":";;;;;;;;;;;;;MAsBa,2BAA2B,CAAA;AAbxC,IAAA,WAAA,GAAA;AAcW,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,iBAAiB,CAAC;QAExB,IAAA,CAAA,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,6BAA6B;QACxE,IAAA,CAAA,eAAe,GAAG,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,cAAc;AACjE,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAU,IAAI,kFAAC;AACnC,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAU,KAAK,oFAAC;AAC1D,IAAA;AANU,IAAA,MAAM;+GADJ,2BAA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A,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,EAAA,CAAA,UAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,CAAA,oBAAA,EAAA,4BAAA,EAAA,oBAAA,EAAA,qBAAA,EAAA,qBAAA,EAAA,yBAAA,EAAA,YAAA,EAAA,iBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,YAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAJhB,SAAS,EAAA,IAAA,EAAA,OAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAUA,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAbvC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,0BAA0B,EAAA,OAAA,EAC3B;wBACP,SAAS;wBACT,eAAe;wBACf,aAAa;wBACb,gBAAgB;wBAChB,gBAAgB;qBACjB,EAAA,eAAA,EAGgB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,2sDAAA,EAAA,MAAA,EAAA,CAAA,mPAAA,CAAA,EAAA;;;;;"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { AsyncPipe } from '@angular/common';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { inject, signal, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
4
|
+
import * as i1 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 * as i8 from '@angular/material/toolbar';
|
|
9
|
+
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
10
|
+
import * as i5 from '@angular/material/tooltip';
|
|
11
|
+
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
12
|
+
import { F as FormsStoreService } from './ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs';
|
|
13
|
+
|
|
14
|
+
function MissingFormConfigsComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
15
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
16
|
+
i0.ɵɵelementStart(0, "button", 2);
|
|
17
|
+
i0.ɵɵlistener("click", function MissingFormConfigsComponent_Conditional_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.hideDetails.set(false)); });
|
|
18
|
+
i0.ɵɵelementStart(1, "mat-icon");
|
|
19
|
+
i0.ɵɵtext(2, "error");
|
|
20
|
+
i0.ɵɵelementEnd()();
|
|
21
|
+
} }
|
|
22
|
+
function MissingFormConfigsComponent_Conditional_1_For_16_Template(rf, ctx) { if (rf & 1) {
|
|
23
|
+
i0.ɵɵelementStart(0, "li");
|
|
24
|
+
i0.ɵɵtext(1);
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
} if (rf & 2) {
|
|
27
|
+
const issue_r4 = ctx.$implicit;
|
|
28
|
+
i0.ɵɵadvance();
|
|
29
|
+
i0.ɵɵtextInterpolate1(" ", issue_r4, " ");
|
|
30
|
+
} }
|
|
31
|
+
function MissingFormConfigsComponent_Conditional_1_Conditional_18_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
32
|
+
i0.ɵɵelementStart(0, "li");
|
|
33
|
+
i0.ɵɵtext(1);
|
|
34
|
+
i0.ɵɵelementEnd();
|
|
35
|
+
} if (rf & 2) {
|
|
36
|
+
const error_r5 = ctx.$implicit;
|
|
37
|
+
i0.ɵɵadvance();
|
|
38
|
+
i0.ɵɵtextInterpolate1(" ", error_r5, " ");
|
|
39
|
+
} }
|
|
40
|
+
function MissingFormConfigsComponent_Conditional_1_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
+
i0.ɵɵelementStart(0, "h5")(1, "strong");
|
|
42
|
+
i0.ɵɵtext(2, " Form validationErrors : ");
|
|
43
|
+
i0.ɵɵelementEnd()();
|
|
44
|
+
i0.ɵɵelementStart(3, "ul");
|
|
45
|
+
i0.ɵɵrepeaterCreate(4, MissingFormConfigsComponent_Conditional_1_Conditional_18_For_5_Template, 2, 1, "li", null, i0.ɵɵrepeaterTrackByIndex);
|
|
46
|
+
i0.ɵɵpipe(6, "async");
|
|
47
|
+
i0.ɵɵelementEnd();
|
|
48
|
+
} if (rf & 2) {
|
|
49
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
50
|
+
i0.ɵɵadvance(4);
|
|
51
|
+
i0.ɵɵrepeater(i0.ɵɵpipeBind1(6, 0, ctx_r1.errors$));
|
|
52
|
+
} }
|
|
53
|
+
function MissingFormConfigsComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
54
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
55
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "mat-toolbar", 3)(2, "button", 4);
|
|
56
|
+
i0.ɵɵlistener("click", function MissingFormConfigsComponent_Conditional_1_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.hideDetails.set(true)); });
|
|
57
|
+
i0.ɵɵelementStart(3, "mat-icon");
|
|
58
|
+
i0.ɵɵtext(4, " close ");
|
|
59
|
+
i0.ɵɵelementEnd()();
|
|
60
|
+
i0.ɵɵtext(5, " Missing configurations: ");
|
|
61
|
+
i0.ɵɵelement(6, "span", 5);
|
|
62
|
+
i0.ɵɵelementStart(7, "button", 6);
|
|
63
|
+
i0.ɵɵlistener("click", function MissingFormConfigsComponent_Conditional_1_Template_button_click_7_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.showAllErrors.set(!ctx_r1.showAllErrors())); });
|
|
64
|
+
i0.ɵɵelementStart(8, "mat-icon");
|
|
65
|
+
i0.ɵɵtext(9, " unfold_more ");
|
|
66
|
+
i0.ɵɵelementEnd()()();
|
|
67
|
+
i0.ɵɵelementStart(10, "section", 7)(11, "h5")(12, "strong");
|
|
68
|
+
i0.ɵɵtext(13, " Overall form issues: ");
|
|
69
|
+
i0.ɵɵelementEnd()();
|
|
70
|
+
i0.ɵɵelementStart(14, "ul");
|
|
71
|
+
i0.ɵɵrepeaterCreate(15, MissingFormConfigsComponent_Conditional_1_For_16_Template, 2, 1, "li", null, i0.ɵɵrepeaterTrackByIndex);
|
|
72
|
+
i0.ɵɵpipe(17, "async");
|
|
73
|
+
i0.ɵɵelementEnd();
|
|
74
|
+
i0.ɵɵconditionalCreate(18, MissingFormConfigsComponent_Conditional_1_Conditional_18_Template, 7, 2);
|
|
75
|
+
i0.ɵɵelementEnd()();
|
|
76
|
+
} if (rf & 2) {
|
|
77
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
78
|
+
i0.ɵɵadvance(7);
|
|
79
|
+
i0.ɵɵproperty("matTooltip", ctx_r1.showAllErrors() ? "Hide all errors" : "Show all errors");
|
|
80
|
+
i0.ɵɵadvance(8);
|
|
81
|
+
i0.ɵɵrepeater(i0.ɵɵpipeBind1(17, 2, ctx_r1.missingConfigs$));
|
|
82
|
+
i0.ɵɵadvance(3);
|
|
83
|
+
i0.ɵɵconditional(ctx_r1.showAllErrors() ? 18 : -1);
|
|
84
|
+
} }
|
|
85
|
+
class MissingFormConfigsComponent {
|
|
86
|
+
constructor() {
|
|
87
|
+
this.#store = inject(FormsStoreService);
|
|
88
|
+
this.errors$ = this.#store.formBuilderSelectors.formValidationErrorsMessages$;
|
|
89
|
+
this.missingConfigs$ = this.#store.formBuilderSelectors.missingConfig$;
|
|
90
|
+
this.hideDetails = signal(true, ...(ngDevMode ? [{ debugName: "hideDetails" }] : /* istanbul ignore next */ []));
|
|
91
|
+
this.showAllErrors = signal(false, ...(ngDevMode ? [{ debugName: "showAllErrors" }] : /* istanbul ignore next */ []));
|
|
92
|
+
}
|
|
93
|
+
#store;
|
|
94
|
+
static { this.ɵfac = function MissingFormConfigsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MissingFormConfigsComponent)(); }; }
|
|
95
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MissingFormConfigsComponent, selectors: [["lib-missing-form-configs"]], decls: 2, vars: 1, consts: [["matTooltip", "Click to view form configuration issues and validation errors", "mat-fab", "", "color", "warn", "aria-label", "Error icon", 2, "margin", "16px"], [1, "content", 2, "margin", "8px", "position", "relative"], ["matTooltip", "Click to view form configuration issues and validation errors", "mat-fab", "", "color", "warn", "aria-label", "Error icon", 2, "margin", "16px", 3, "click"], ["color", "warn"], ["mat-icon-button", "", 3, "click"], [1, "spacer"], ["mat-icon-button", "", 3, "click", "matTooltip"], [2, "padding", "16px"]], template: function MissingFormConfigsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
96
|
+
i0.ɵɵconditionalCreate(0, MissingFormConfigsComponent_Conditional_0_Template, 3, 0, "button", 0)(1, MissingFormConfigsComponent_Conditional_1_Template, 19, 4, "div", 1);
|
|
97
|
+
} if (rf & 2) {
|
|
98
|
+
i0.ɵɵconditional(ctx.hideDetails() ? 0 : 1);
|
|
99
|
+
} }, dependencies: [MatButtonModule, i1.MatIconButton, i1.MatFabButton, MatIconModule, i3.MatIcon, MatToolbarModule, i8.MatToolbar, MatTooltipModule, i5.MatTooltip, AsyncPipe], styles: [".content[_ngcontent-%COMP%]{width:400px;background:var(--mat-sys-surface-container, var(--mat-app-surface));border:solid var(--mat-form-field-error-text-color, var(--mat-app-error)) 1px}ul[_ngcontent-%COMP%]{margin-top:0}h5[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;padding-top:8px}"], changeDetection: 0 }); }
|
|
100
|
+
}
|
|
101
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MissingFormConfigsComponent, [{
|
|
102
|
+
type: Component,
|
|
103
|
+
args: [{ selector: 'lib-missing-form-configs', imports: [
|
|
104
|
+
AsyncPipe,
|
|
105
|
+
MatButtonModule,
|
|
106
|
+
MatIconModule,
|
|
107
|
+
MatToolbarModule,
|
|
108
|
+
MatTooltipModule,
|
|
109
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (hideDetails()) {\r\n<button\r\nmatTooltip=\"Click to view form configuration issues and validation errors\"\r\nstyle=\"margin: 16px;\" (click)=\"hideDetails.set(false)\" mat-fab color=\"warn\" aria-label=\"Error icon\">\r\n <mat-icon>error</mat-icon>\r\n</button>\r\n}@else {\r\n<div style=\"margin: 8px;position:relative\" class=\"content \">\r\n <mat-toolbar color=\"warn\">\r\n <button (click)=\"hideDetails.set(true)\" mat-icon-button>\r\n <mat-icon>\r\n close\r\n </mat-icon>\r\n </button>\r\n Missing configurations:\r\n <span class=\"spacer\"></span>\r\n <button [matTooltip]=\"showAllErrors() ? 'Hide all errors' : 'Show all errors'\"\r\n (click)=\"showAllErrors.set(!showAllErrors())\" mat-icon-button>\r\n\r\n <mat-icon>\r\n unfold_more\r\n </mat-icon>\r\n </button>\r\n </mat-toolbar>\r\n <section style=\"padding: 16px;\" >\r\n <h5>\r\n <strong>\r\n Overall form issues:\r\n </strong>\r\n </h5>\r\n <ul>\r\n @for (issue of (missingConfigs$|async);track $index) {\r\n <li>\r\n {{issue}}\r\n </li>\r\n }\r\n </ul>\r\n\r\n @if(showAllErrors()){\r\n <h5>\r\n <strong>\r\n\r\n Form validationErrors :\r\n\r\n </strong>\r\n\r\n\r\n </h5>\r\n <ul>\r\n @for (error of errors$|async; track $index) {\r\n\r\n <li>\r\n\r\n {{error}}\r\n\r\n </li>\r\n\r\n }\r\n </ul>\r\n }\r\n\r\n\r\n\r\n\r\n </section>\r\n\r\n</div>\r\n}\r\n", styles: [".content{width:400px;background:var(--mat-sys-surface-container, var(--mat-app-surface));border:solid var(--mat-form-field-error-text-color, var(--mat-app-error)) 1px}ul{margin-top:0}h5{padding-left:16px;padding-right:16px;padding-top:8px}\n"] }]
|
|
110
|
+
}], null, null); })();
|
|
111
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MissingFormConfigsComponent, { className: "MissingFormConfigsComponent", filePath: "lib/components/form-builder/elements/missing-form-configs/missing-form-configs.component.ts", lineNumber: 23 }); })();
|
|
112
|
+
|
|
113
|
+
export { MissingFormConfigsComponent };
|
|
114
|
+
//# sourceMappingURL=ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/form-builder/elements/missing-form-configs/missing-form-configs.component.html","../../../projects/ngx-t-forms/src/lib/components/form-builder/elements/missing-form-configs/missing-form-configs.component.ts"],"sourcesContent":["@if (hideDetails()) {\r\n<button\r\nmatTooltip=\"Click to view form configuration issues and validation errors\"\r\nstyle=\"margin: 16px;\" (click)=\"hideDetails.set(false)\" mat-fab color=\"warn\" aria-label=\"Error icon\">\r\n <mat-icon>error</mat-icon>\r\n</button>\r\n}@else {\r\n<div style=\"margin: 8px;position:relative\" class=\"content \">\r\n <mat-toolbar color=\"warn\">\r\n <button (click)=\"hideDetails.set(true)\" mat-icon-button>\r\n <mat-icon>\r\n close\r\n </mat-icon>\r\n </button>\r\n Missing configurations:\r\n <span class=\"spacer\"></span>\r\n <button [matTooltip]=\"showAllErrors() ? 'Hide all errors' : 'Show all errors'\"\r\n (click)=\"showAllErrors.set(!showAllErrors())\" mat-icon-button>\r\n\r\n <mat-icon>\r\n unfold_more\r\n </mat-icon>\r\n </button>\r\n </mat-toolbar>\r\n <section style=\"padding: 16px;\" >\r\n <h5>\r\n <strong>\r\n Overall form issues:\r\n </strong>\r\n </h5>\r\n <ul>\r\n @for (issue of (missingConfigs$|async);track $index) {\r\n <li>\r\n {{issue}}\r\n </li>\r\n }\r\n </ul>\r\n\r\n @if(showAllErrors()){\r\n <h5>\r\n <strong>\r\n\r\n Form validationErrors :\r\n\r\n </strong>\r\n\r\n\r\n </h5>\r\n <ul>\r\n @for (error of errors$|async; track $index) {\r\n\r\n <li>\r\n\r\n {{error}}\r\n\r\n </li>\r\n\r\n }\r\n </ul>\r\n }\r\n\r\n\r\n\r\n\r\n </section>\r\n\r\n</div>\r\n}\r\n","import { AsyncPipe } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component, inject, signal } from '@angular/core';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatToolbarModule } from '@angular/material/toolbar';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\n\r\nimport { FormsStoreService } from '../../../forms/store/forms-store.service';\r\n\r\n@Component({\r\n selector: 'lib-missing-form-configs',\r\n imports: [\r\n AsyncPipe,\r\n MatButtonModule,\r\n MatIconModule,\r\n MatToolbarModule,\r\n MatTooltipModule,\r\n ],\r\n templateUrl: './missing-form-configs.component.html',\r\n styleUrl: './missing-form-configs.component.scss',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class MissingFormConfigsComponent {\r\n readonly #store = inject(FormsStoreService);\r\n\r\n protected readonly errors$ = this.#store.formBuilderSelectors.formValidationErrorsMessages$;\r\n protected readonly missingConfigs$ = this.#store.formBuilderSelectors.missingConfig$;\r\n protected readonly hideDetails = signal<boolean>(true);\r\n protected readonly showAllErrors = signal<boolean>(false);\r\n}\r\n"],"names":["i2","i3"],"mappings":";;;;;;;;;;;;;;;IACA,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,QAAA,EAAA,CAAA,CAEoG;IAA9E,EAAA,CAAA,UAAA,CAAA,OAAA,EAAA,SAAA,0EAAA,GAAA,EAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,CAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,EAAA,CAAA,CAAA,OAAA,EAAA,CAAA,WAAA,CAAS,MAAA,CAAA,WAAA,CAAA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ACf,aAAa,EAAAA,EAAA,CAAA,OAAA,EACb,gBAAgB,EAAAC,EAAA,CAAA,UAAA,EAChB,gBAAgB,iBAJhB,SAAS,CAAA,EAAA,MAAA,EAAA,CAAA,0SAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;iFAUA,2BAA2B,EAAA,CAAA;cAbvC,SAAS;AACE,QAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,0BAA0B,EAAA,OAAA,EAC3B;oBACP,SAAS;oBACT,eAAe;oBACf,aAAa;oBACb,gBAAgB;oBAChB,gBAAgB;iBACjB,EAAA,eAAA,EAGgB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,2sDAAA,EAAA,MAAA,EAAA,CAAA,mPAAA,CAAA,EAAA;;kFAEpC,2BAA2B,EAAA,EAAA,SAAA,EAAA,6BAAA,EAAA,QAAA,EAAA,6FAAA,EAAA,UAAA,EAAA,EAAA,EAAA,CAAA,CAAA,CAAA,CAAA,GAAA;;;;"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, output, computed, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/material/button';
|
|
4
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
5
|
+
import * as i3 from '@angular/material/icon';
|
|
6
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
7
|
+
import * as i8 from '@angular/material/toolbar';
|
|
8
|
+
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
9
|
+
import { I as ACCOUNTING_BASIS, K as getToolbarColor, L as getToolbarBackground, O as getToolbarIconColor } from './ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs';
|
|
10
|
+
|
|
11
|
+
function MscoaChartToolbarComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
12
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
13
|
+
i0.ɵɵelementStart(0, "button", 4);
|
|
14
|
+
i0.ɵɵlistener("click", function MscoaChartToolbarComponent_Conditional_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onToggleClick()); });
|
|
15
|
+
i0.ɵɵelementStart(1, "mat-icon");
|
|
16
|
+
i0.ɵɵtext(2);
|
|
17
|
+
i0.ɵɵelementEnd()();
|
|
18
|
+
} if (rf & 2) {
|
|
19
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
20
|
+
i0.ɵɵattribute("aria-label", (ctx_r1.isExpanded() ? "Collapse" : "Expand") + " " + ctx_r1.displayBasis() + " basis table")("aria-expanded", ctx_r1.isExpanded());
|
|
21
|
+
i0.ɵɵadvance();
|
|
22
|
+
i0.ɵɵstyleProp("color", ctx_r1.getToolbarIconColor(ctx_r1.accountingBasis()));
|
|
23
|
+
i0.ɵɵadvance();
|
|
24
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r1.isExpanded() ? "expand_less" : "expand_more", " ");
|
|
25
|
+
} }
|
|
26
|
+
class MscoaChartToolbarComponent {
|
|
27
|
+
constructor() {
|
|
28
|
+
this.accountingBasis = input(undefined, ...(ngDevMode ? [{ debugName: "accountingBasis" }] : /* istanbul ignore next */ []));
|
|
29
|
+
this.canCollapse = input(false, ...(ngDevMode ? [{ debugName: "canCollapse" }] : /* istanbul ignore next */ []));
|
|
30
|
+
this.isExpanded = input(true, ...(ngDevMode ? [{ debugName: "isExpanded" }] : /* istanbul ignore next */ []));
|
|
31
|
+
this.toggleExpansion = output();
|
|
32
|
+
this.ACCOUNTING_BASIS = ACCOUNTING_BASIS;
|
|
33
|
+
this.getToolbarColor = getToolbarColor;
|
|
34
|
+
this.getToolbarBackground = getToolbarBackground;
|
|
35
|
+
this.getToolbarIconColor = getToolbarIconColor;
|
|
36
|
+
this.displayBasis = computed(() => {
|
|
37
|
+
const basis = this.accountingBasis() || ACCOUNTING_BASIS.ACCRUAL;
|
|
38
|
+
return basis.charAt(0).toUpperCase() + basis.slice(1);
|
|
39
|
+
}, ...(ngDevMode ? [{ debugName: "displayBasis" }] : /* istanbul ignore next */ []));
|
|
40
|
+
}
|
|
41
|
+
onToggleClick() {
|
|
42
|
+
this.toggleExpansion.emit();
|
|
43
|
+
}
|
|
44
|
+
static { this.ɵfac = function MscoaChartToolbarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MscoaChartToolbarComponent)(); }; }
|
|
45
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MscoaChartToolbarComponent, selectors: [["lib-mscoa-chart-toolbar"]], inputs: { accountingBasis: [1, "accountingBasis"], canCollapse: [1, "canCollapse"], isExpanded: [1, "isExpanded"] }, outputs: { toggleExpansion: "toggleExpansion" }, decls: 5, vars: 6, consts: [[1, "mscoa-chart-toolbar", 3, "color"], [1, "mscoa-chart-toolbar__label"], [1, "spacer"], ["mat-icon-button", ""], ["mat-icon-button", "", 3, "click"]], template: function MscoaChartToolbarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
46
|
+
i0.ɵɵelementStart(0, "mat-toolbar", 0)(1, "span", 1);
|
|
47
|
+
i0.ɵɵtext(2);
|
|
48
|
+
i0.ɵɵelementEnd();
|
|
49
|
+
i0.ɵɵelement(3, "span", 2);
|
|
50
|
+
i0.ɵɵconditionalCreate(4, MscoaChartToolbarComponent_Conditional_4_Template, 3, 5, "button", 3);
|
|
51
|
+
i0.ɵɵelementEnd();
|
|
52
|
+
} if (rf & 2) {
|
|
53
|
+
i0.ɵɵstyleProp("background", ctx.getToolbarBackground(ctx.accountingBasis()));
|
|
54
|
+
i0.ɵɵproperty("color", ctx.getToolbarColor(ctx.accountingBasis()));
|
|
55
|
+
i0.ɵɵattribute("aria-label", "Accounting basis: " + ctx.displayBasis());
|
|
56
|
+
i0.ɵɵadvance(2);
|
|
57
|
+
i0.ɵɵtextInterpolate1(" Basis: ", ctx.displayBasis(), " ");
|
|
58
|
+
i0.ɵɵadvance(2);
|
|
59
|
+
i0.ɵɵconditional(ctx.canCollapse() ? 4 : -1);
|
|
60
|
+
} }, dependencies: [MatToolbarModule, i8.MatToolbar, MatButtonModule, i1.MatIconButton, MatIconModule, i3.MatIcon], styles: [".mscoa-chart-toolbar[_ngcontent-%COMP%]{gap:var(--mscoa-chart-spacing-sm, 8px);height:48px;font-size:.875em;font-weight:500;transition:background-color var(--lib-forms-duration-hover) var(--lib-forms-easing)}.mscoa-chart-toolbar__label[_ngcontent-%COMP%]{flex:1}.mscoa-chart-toolbar[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--mat-sys-primary);outline-offset:2px}"], changeDetection: 0 }); }
|
|
61
|
+
}
|
|
62
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MscoaChartToolbarComponent, [{
|
|
63
|
+
type: Component,
|
|
64
|
+
args: [{ selector: 'lib-mscoa-chart-toolbar', imports: [MatToolbarModule, MatButtonModule, MatIconModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar\r\n [color]=\"getToolbarColor(accountingBasis())\"\r\n [style.background]=\"getToolbarBackground(accountingBasis())\"\r\n class=\"mscoa-chart-toolbar\"\r\n [attr.aria-label]=\"'Accounting basis: ' + displayBasis()\">\r\n\r\n <span class=\"mscoa-chart-toolbar__label\">\r\n Basis: {{ displayBasis() }}\r\n </span>\r\n\r\n <span class=\"spacer\"></span>\r\n\r\n @if (canCollapse()) {\r\n <button\r\n mat-icon-button\r\n (click)=\"onToggleClick()\"\r\n [attr.aria-label]=\"(isExpanded() ? 'Collapse' : 'Expand') + ' ' + displayBasis() + ' basis table'\"\r\n [attr.aria-expanded]=\"isExpanded()\">\r\n <mat-icon [style.color]=\"getToolbarIconColor(accountingBasis())\">\r\n {{ isExpanded() ? 'expand_less' : 'expand_more' }}\r\n </mat-icon>\r\n </button>\r\n }\r\n</mat-toolbar>\r\n", styles: [".mscoa-chart-toolbar{gap:var(--mscoa-chart-spacing-sm, 8px);height:48px;font-size:.875em;font-weight:500;transition:background-color var(--lib-forms-duration-hover) var(--lib-forms-easing)}.mscoa-chart-toolbar__label{flex:1}.mscoa-chart-toolbar button:focus-visible{outline:2px solid var(--mat-sys-primary);outline-offset:2px}\n"] }]
|
|
65
|
+
}], null, { accountingBasis: [{ type: i0.Input, args: [{ isSignal: true, alias: "accountingBasis", required: false }] }], canCollapse: [{ type: i0.Input, args: [{ isSignal: true, alias: "canCollapse", required: false }] }], isExpanded: [{ type: i0.Input, args: [{ isSignal: true, alias: "isExpanded", required: false }] }], toggleExpansion: [{ type: i0.Output, args: ["toggleExpansion"] }] }); })();
|
|
66
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MscoaChartToolbarComponent, { className: "MscoaChartToolbarComponent", filePath: "lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/components/mscoa-chart-toolbar/mscoa-chart-toolbar.component.ts", lineNumber: 16 }); })();
|
|
67
|
+
|
|
68
|
+
export { MscoaChartToolbarComponent };
|
|
69
|
+
//# sourceMappingURL=ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/components/mscoa-chart-toolbar/mscoa-chart-toolbar.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/components/mscoa-chart-toolbar/mscoa-chart-toolbar.component.ts"],"sourcesContent":["<mat-toolbar\r\n [color]=\"getToolbarColor(accountingBasis())\"\r\n [style.background]=\"getToolbarBackground(accountingBasis())\"\r\n class=\"mscoa-chart-toolbar\"\r\n [attr.aria-label]=\"'Accounting basis: ' + displayBasis()\">\r\n\r\n <span class=\"mscoa-chart-toolbar__label\">\r\n Basis: {{ displayBasis() }}\r\n </span>\r\n\r\n <span class=\"spacer\"></span>\r\n\r\n @if (canCollapse()) {\r\n <button\r\n mat-icon-button\r\n (click)=\"onToggleClick()\"\r\n [attr.aria-label]=\"(isExpanded() ? 'Collapse' : 'Expand') + ' ' + displayBasis() + ' basis table'\"\r\n [attr.aria-expanded]=\"isExpanded()\">\r\n <mat-icon [style.color]=\"getToolbarIconColor(accountingBasis())\">\r\n {{ isExpanded() ? 'expand_less' : 'expand_more' }}\r\n </mat-icon>\r\n </button>\r\n }\r\n</mat-toolbar>\r\n","import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatToolbarModule } from '@angular/material/toolbar';\r\nimport { ACCOUNTING_BASIS } from '../../utils/mscoa-chart.constants';\r\nimport { getToolbarBackground, getToolbarColor, getToolbarIconColor } from '../../utils/mscoa-chart.helpers';\r\nimport type { AccountingBasis } from '../../utils/mscoa-chart.constants';\r\n\r\n@Component({\r\n selector: 'lib-mscoa-chart-toolbar',\r\n imports: [MatToolbarModule, MatButtonModule, MatIconModule],\r\n templateUrl: './mscoa-chart-toolbar.component.html',\r\n styleUrls: ['./mscoa-chart-toolbar.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class MscoaChartToolbarComponent {\r\n readonly accountingBasis = input<AccountingBasis | string | undefined>(undefined);\r\n readonly canCollapse = input<boolean>(false);\r\n readonly isExpanded = input<boolean>(true);\r\n\r\n readonly toggleExpansion = output<void>();\r\n\r\n protected readonly ACCOUNTING_BASIS = ACCOUNTING_BASIS;\r\n\r\n protected readonly getToolbarColor = getToolbarColor;\r\n protected readonly getToolbarBackground = getToolbarBackground;\r\n protected readonly getToolbarIconColor = getToolbarIconColor;\r\n\r\n protected readonly displayBasis = computed<string>(() => {\r\n const basis = this.accountingBasis() || ACCOUNTING_BASIS.ACCRUAL;\r\n return basis.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