ngx-t-forms 2.0.36 → 2.0.37
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-VektEtrf.mjs → ngx-t-forms-auto-complete-input-element.component-D_l5sbNh.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-VektEtrf.mjs.map → ngx-t-forms-auto-complete-input-element.component-D_l5sbNh.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs → ngx-t-forms-basic-input-input-element.component-fJIsRm0v.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs.map → ngx-t-forms-basic-input-input-element.component-fJIsRm0v.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-B_3IbQjp.mjs → ngx-t-forms-calculated-field-rules.component-B8Do3h4B.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-B_3IbQjp.mjs.map → ngx-t-forms-calculated-field-rules.component-B8Do3h4B.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-uTCOa48g.mjs → ngx-t-forms-chip-options-creator-editor.component-L1kPy15K.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-uTCOa48g.mjs.map → ngx-t-forms-chip-options-creator-editor.component-L1kPy15K.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-BX3zJs-A.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-CU6Cp-oK.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-BX3zJs-A.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-CU6Cp-oK.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-data-source-picker.component-z0l9WEw7.mjs → ngx-t-forms-data-source-picker.component-r7OGAsxo.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-data-source-picker.component-z0l9WEw7.mjs.map → ngx-t-forms-data-source-picker.component-r7OGAsxo.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-date-picker-input-element.component-C9I8KX12.mjs → ngx-t-forms-date-picker-input-element.component-DsjcLQ5A.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-date-picker-input-element.component-C9I8KX12.mjs.map → ngx-t-forms-date-picker-input-element.component-DsjcLQ5A.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-B3Z47mrO.mjs → ngx-t-forms-date-range-picker-input-element.component-B8V7IpoK.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-B3Z47mrO.mjs.map → ngx-t-forms-date-range-picker-input-element.component-B8V7IpoK.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-PW2XiPiH.mjs → ngx-t-forms-document-list-label-config-editor.component-hKJqVYUY.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-PW2XiPiH.mjs.map → ngx-t-forms-document-list-label-config-editor.component-hKJqVYUY.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-document-picker.component-BNQ1a96s.mjs → ngx-t-forms-document-picker.component-f-hz6Vef.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-document-picker.component-BNQ1a96s.mjs.map → ngx-t-forms-document-picker.component-f-hz6Vef.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-editor-input-element.component-C12fnCTM.mjs → ngx-t-forms-editor-input-element.component-D38U94oj.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-editor-input-element.component-C12fnCTM.mjs.map → ngx-t-forms-editor-input-element.component-D38U94oj.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-editor-js-input.component-cxob42pE.mjs → ngx-t-forms-editor-js-input.component-D_Jq7sfY.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-editor-js-input.component-cxob42pE.mjs.map → ngx-t-forms-editor-js-input.component-D_Jq7sfY.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-file-upload-input-element.component-Bgi-chdw.mjs → ngx-t-forms-file-upload-input-element.component-_RBYRgn9.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-file-upload-input-element.component-Bgi-chdw.mjs.map → ngx-t-forms-file-upload-input-element.component-_RBYRgn9.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-input-selector.component-xIalL_cs.mjs → ngx-t-forms-form-input-selector.component-CUwK3DqG.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-form-input-selector.component-xIalL_cs.mjs.map → ngx-t-forms-form-input-selector.component-CUwK3DqG.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-json-view.component-CU1d8rGd.mjs → ngx-t-forms-form-json-view.component-D9rU9vxT.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-form-json-view.component-CU1d8rGd.mjs.map → ngx-t-forms-form-json-view.component-D9rU9vxT.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-section-stepper.component-tGbPKHM6.mjs → ngx-t-forms-form-section-stepper.component-CqCL3Bnc.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-form-section-stepper.component-tGbPKHM6.mjs.map → ngx-t-forms-form-section-stepper.component-CqCL3Bnc.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-hK9C4vAa.mjs → ngx-t-forms-forms-builder-menu.component-wmRDJU4P.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-hK9C4vAa.mjs.map → ngx-t-forms-forms-builder-menu.component-wmRDJU4P.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-geo-location.component-ChmvJCGu.mjs → ngx-t-forms-geo-location.component-CMbBSXe0.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-geo-location.component-ChmvJCGu.mjs.map → ngx-t-forms-geo-location.component-CMbBSXe0.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BpA_P017.mjs → ngx-t-forms-image-capture-input-element.component-Cbq8OYk7.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BpA_P017.mjs.map → ngx-t-forms-image-capture-input-element.component-Cbq8OYk7.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-index-D-7ZX0w7.mjs → ngx-t-forms-index-CPNvE4PP.mjs} +2 -2
- package/fesm2022/ngx-t-forms-index-CPNvE4PP.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-input-custom.component-pUshbxSM.mjs → ngx-t-forms-input-custom.component-uNVdF9aA.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-input-custom.component-pUshbxSM.mjs.map → ngx-t-forms-input-custom.component-uNVdF9aA.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-input-editor.component-CxXMETLl.mjs → ngx-t-forms-input-editor.component-BWoKhlI3.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-input-editor.component-CxXMETLl.mjs.map → ngx-t-forms-input-editor.component-BWoKhlI3.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-map-mat-options-keys-BbfC5vYI.mjs → ngx-t-forms-map-mat-options-keys-D0SGS9xQ.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-map-mat-options-keys-BbfC5vYI.mjs.map → ngx-t-forms-map-mat-options-keys-D0SGS9xQ.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs → ngx-t-forms-mat-chip-list-editor.component-Cu-KiAeY.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs.map → ngx-t-forms-mat-chip-list-editor.component-Cu-KiAeY.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs → ngx-t-forms-missing-form-configs.component-CxF6Ljjf.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs.map → ngx-t-forms-missing-form-configs.component-CxF6Ljjf.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-D1ASX1mt.mjs → ngx-t-forms-mscoa-chart-toolbar.component-BqT5Z8SM.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-D1ASX1mt.mjs.map → ngx-t-forms-mscoa-chart-toolbar.component-BqT5Z8SM.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-CjuxTqfX.mjs → ngx-t-forms-mscoa-segment-config.component-BT-dM_5C.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-CjuxTqfX.mjs.map → ngx-t-forms-mscoa-segment-config.component-BT-dM_5C.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-BA61uQ2q.mjs → ngx-t-forms-multiple-input-input-element.component-DXAh2Mbm.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-BA61uQ2q.mjs.map → ngx-t-forms-multiple-input-input-element.component-DXAh2Mbm.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-ngx-t-forms-CJGAj18J.mjs → ngx-t-forms-ngx-t-forms-DQ_h-jPF.mjs} +147 -67
- package/fesm2022/ngx-t-forms-ngx-t-forms-DQ_h-jPF.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-paginated-selection-table-yvhqQxPV.mjs → ngx-t-forms-paginated-selection-table-DHwojPhn.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-paginated-selection-table-yvhqQxPV.mjs.map → ngx-t-forms-paginated-selection-table-DHwojPhn.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-payload-template-editor.component-sqY3bYiZ.mjs → ngx-t-forms-payload-template-editor.component-CAXdFu4E.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-payload-template-editor.component-sqY3bYiZ.mjs.map → ngx-t-forms-payload-template-editor.component-CAXdFu4E.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-pipeline-generator.component-COvr1j_v.mjs → ngx-t-forms-pipeline-generator.component-BJQ-KnmU.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-pipeline-generator.component-COvr1j_v.mjs.map → ngx-t-forms-pipeline-generator.component-BJQ-KnmU.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-record-list-manager.component-CY4GnAOb.mjs → ngx-t-forms-record-list-manager.component-BoD3S_7u.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-record-list-manager.component-CY4GnAOb.mjs.map → ngx-t-forms-record-list-manager.component-BoD3S_7u.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-required-inputs.component-ByBeNLXu.mjs → ngx-t-forms-required-inputs.component-C-E3fQu6.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-required-inputs.component-ByBeNLXu.mjs.map → ngx-t-forms-required-inputs.component-C-E3fQu6.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-CkLePXoO.mjs → ngx-t-forms-rest-api-call-setup.component-D3sa7sNg.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-CkLePXoO.mjs.map → ngx-t-forms-rest-api-call-setup.component-D3sa7sNg.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-section-report.component-mUpSxbaB.mjs → ngx-t-forms-section-report.component-D6jakGa5.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-section-report.component-mUpSxbaB.mjs.map → ngx-t-forms-section-report.component-D6jakGa5.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-select-input-element.component-c7IgHdXA.mjs → ngx-t-forms-select-input-element.component-CwqIck0h.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-select-input-element.component-c7IgHdXA.mjs.map → ngx-t-forms-select-input-element.component-CwqIck0h.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-WfuGdtvK.mjs → ngx-t-forms-selection-options-editor.component-Coj9gnrq.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-WfuGdtvK.mjs.map → ngx-t-forms-selection-options-editor.component-Coj9gnrq.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-textarea-input-element.component-C7H84RGw.mjs → ngx-t-forms-textarea-input-element.component-D4dEi8Vs.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-textarea-input-element.component-C7H84RGw.mjs.map → ngx-t-forms-textarea-input-element.component-D4dEi8Vs.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs → ngx-t-forms-toggle-input-element.component-BZiTFB0j.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs.map → ngx-t-forms-toggle-input-element.component-BZiTFB0j.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-validators-config.component-DgIVRSvF.mjs → ngx-t-forms-validators-config.component-B3K9nLxx.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-validators-config.component-DgIVRSvF.mjs.map → ngx-t-forms-validators-config.component-B3K9nLxx.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CB6qBxgr.mjs → ngx-t-forms-workflow-adjudication.component-DD6Fhx06.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CB6qBxgr.mjs.map → ngx-t-forms-workflow-adjudication.component-DD6Fhx06.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms.mjs +1 -1
- package/package.json +1 -1
- package/types/ngx-t-forms.d.ts +11 -12
- package/fesm2022/ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs +0 -261
- package/fesm2022/ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs +0 -225
- package/fesm2022/ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-calculated-field-rules.component-8EgwXTN1.mjs +0 -1011
- package/fesm2022/ngx-t-forms-calculated-field-rules.component-8EgwXTN1.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-B95VIBRi.mjs +0 -136
- package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-B95VIBRi.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-Dm16WA5Y.mjs +0 -253
- package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-Dm16WA5Y.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-data-source-picker.component-Dij1l4-7.mjs +0 -419
- package/fesm2022/ngx-t-forms-data-source-picker.component-Dij1l4-7.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-date-picker-input-element.component-D9BOhV6g.mjs +0 -231
- package/fesm2022/ngx-t-forms-date-picker-input-element.component-D9BOhV6g.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-BiXubnsN.mjs +0 -333
- package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-BiXubnsN.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-C5T_DK6w.mjs +0 -543
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-C5T_DK6w.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-document-picker.component-B47pQxMF.mjs +0 -1217
- package/fesm2022/ngx-t-forms-document-picker.component-B47pQxMF.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-editor-input-element.component-DYytkGYD.mjs +0 -447
- package/fesm2022/ngx-t-forms-editor-input-element.component-DYytkGYD.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-editor-js-input.component-BQSF3142.mjs +0 -251
- package/fesm2022/ngx-t-forms-editor-js-input.component-BQSF3142.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-file-upload-input-element.component-CI4onrtp.mjs +0 -447
- package/fesm2022/ngx-t-forms-file-upload-input-element.component-CI4onrtp.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-form-input-selector.component-BysF2WY-.mjs +0 -163
- package/fesm2022/ngx-t-forms-form-input-selector.component-BysF2WY-.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-form-json-view.component-DpU3ZTiS.mjs +0 -28
- package/fesm2022/ngx-t-forms-form-json-view.component-DpU3ZTiS.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-form-payload-projection.component-CkH7zmdJ.mjs +0 -291
- package/fesm2022/ngx-t-forms-form-payload-projection.component-CkH7zmdJ.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-form-section-stepper.component-DqShhIBK.mjs +0 -936
- package/fesm2022/ngx-t-forms-form-section-stepper.component-DqShhIBK.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-forms-builder-menu.component-BsgtMZFM.mjs +0 -816
- package/fesm2022/ngx-t-forms-forms-builder-menu.component-BsgtMZFM.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-geo-location.component-DfmFok8a.mjs +0 -329
- package/fesm2022/ngx-t-forms-geo-location.component-DfmFok8a.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs +0 -360
- package/fesm2022/ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-index-D-7ZX0w7.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-index-DHloq32-.mjs +0 -2
- package/fesm2022/ngx-t-forms-index-DHloq32-.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-input-custom.component-Cv6jfrPf.mjs +0 -128
- package/fesm2022/ngx-t-forms-input-custom.component-Cv6jfrPf.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-input-editor.component-BKV6ZJx9.mjs +0 -512
- package/fesm2022/ngx-t-forms-input-editor.component-BKV6ZJx9.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs +0 -132
- package/fesm2022/ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs +0 -109
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs +0 -241
- package/fesm2022/ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs +0 -180
- package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs +0 -114
- package/fesm2022/ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs +0 -69
- package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mscoa-error-display.component-DzFibbuY.mjs +0 -200
- package/fesm2022/ngx-t-forms-mscoa-error-display.component-DzFibbuY.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-D9KrXNS6.mjs +0 -850
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-D9KrXNS6.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-DV93x0Rr.mjs +0 -107
- package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-DV93x0Rr.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BxQYrUJL.mjs +0 -1665
- package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BxQYrUJL.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-ngx-t-forms-CJGAj18J.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs +0 -27352
- package/fesm2022/ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-paginated-selection-table-DeY5vQti.mjs +0 -1024
- package/fesm2022/ngx-t-forms-paginated-selection-table-DeY5vQti.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-payload-template-editor.component-BzY-kX6W.mjs +0 -234
- package/fesm2022/ngx-t-forms-payload-template-editor.component-BzY-kX6W.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-pipeline-generator.component-CcHgQ-MT.mjs +0 -1126
- package/fesm2022/ngx-t-forms-pipeline-generator.component-CcHgQ-MT.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs +0 -545
- package/fesm2022/ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs +0 -451
- package/fesm2022/ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs +0 -625
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-search-field.component-BGdAmzJV.mjs +0 -72
- package/fesm2022/ngx-t-forms-search-field.component-BGdAmzJV.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-section-report.component-CQR27H3a.mjs +0 -248
- package/fesm2022/ngx-t-forms-section-report.component-CQR27H3a.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-select-input-element.component-CLs5UkmC.mjs +0 -408
- package/fesm2022/ngx-t-forms-select-input-element.component-CLs5UkmC.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-selection-options-editor.component-DiegTjWX.mjs +0 -275
- package/fesm2022/ngx-t-forms-selection-options-editor.component-DiegTjWX.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-CQPrr7Cz.mjs +0 -341
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-CQPrr7Cz.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-textarea-input-element.component-Coxr1XD7.mjs +0 -233
- package/fesm2022/ngx-t-forms-textarea-input-element.component-Coxr1XD7.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs +0 -305
- package/fesm2022/ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-validators-config.component-DjLB40z-.mjs +0 -1105
- package/fesm2022/ngx-t-forms-validators-config.component-DjLB40z-.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-workflow-adjudication.component-_A3v5MxN.mjs +0 -2923
- package/fesm2022/ngx-t-forms-workflow-adjudication.component-_A3v5MxN.mjs.map +0 -1
|
@@ -1,447 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, ElementRef, input, output, viewChild, PLATFORM_ID, ChangeDetectionStrategy, Component, Input, computed } from '@angular/core';
|
|
3
|
-
import * as i1 from '@angular/forms';
|
|
4
|
-
import { NgControl, ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
import * as i2 from '@angular/material/form-field';
|
|
6
|
-
import { MatFormFieldControl, MatFormFieldModule } from '@angular/material/form-field';
|
|
7
|
-
import * as i3 from '@angular/material/icon';
|
|
8
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
9
|
-
import * as i1$1 from '@angular/material/button';
|
|
10
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
11
|
-
import * as i5 from '@angular/material/tooltip';
|
|
12
|
-
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
13
|
-
import { RichTextEditorType } from 'ngx-t-forms-types';
|
|
14
|
-
import { B as BaseCustomInput, _ as _isEqual, q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs';
|
|
15
|
-
import { EditorJsInputComponent } from './ngx-t-forms-editor-js-input.component-BQSF3142.mjs';
|
|
16
|
-
import { isPlatformBrowser } from '@angular/common';
|
|
17
|
-
|
|
18
|
-
const svg = (body) => `<svg viewBox="0 0 18 18">${body}</svg>`;
|
|
19
|
-
/**
|
|
20
|
-
* Word-like table toolkit backed by Quill's native table module. Each control degrades to a
|
|
21
|
-
* no-op when the caret is outside a table, so the buttons are always safe to press.
|
|
22
|
-
*/
|
|
23
|
-
const QUILL_TABLE_CONTROLS = [
|
|
24
|
-
{
|
|
25
|
-
format: 'table-insert',
|
|
26
|
-
title: 'Insert table (3×3)',
|
|
27
|
-
icon: svg('<rect class="ql-stroke" fill="none" x="3" y="4" width="12" height="10" rx="1"></rect><line class="ql-stroke" x1="3" y1="7.3" x2="15" y2="7.3"></line><line class="ql-stroke" x1="3" y1="10.6" x2="15" y2="10.6"></line><line class="ql-stroke" x1="7" y1="4" x2="7" y2="14"></line><line class="ql-stroke" x1="11" y1="4" x2="11" y2="14"></line>'),
|
|
28
|
-
run: table => table.insertTable(3, 3),
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
format: 'table-row',
|
|
32
|
-
title: 'Insert row below',
|
|
33
|
-
icon: svg('<rect class="ql-stroke" fill="none" x="3" y="3" width="12" height="6" rx="1"></rect><line class="ql-stroke" x1="9" y1="11" x2="9" y2="15"></line><line class="ql-stroke" x1="7" y1="13" x2="11" y2="13"></line>'),
|
|
34
|
-
run: table => table.insertRowBelow(),
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
format: 'table-column',
|
|
38
|
-
title: 'Insert column right',
|
|
39
|
-
icon: svg('<rect class="ql-stroke" fill="none" x="3" y="3" width="6" height="12" rx="1"></rect><line class="ql-stroke" x1="13" y1="6" x2="13" y2="12"></line><line class="ql-stroke" x1="11" y1="9" x2="15" y2="9"></line>'),
|
|
40
|
-
run: table => table.insertColumnRight(),
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
format: 'table-delete-row',
|
|
44
|
-
title: 'Delete row',
|
|
45
|
-
icon: svg('<rect class="ql-stroke" fill="none" x="3" y="3" width="12" height="6" rx="1"></rect><line class="ql-stroke" x1="7" y1="13" x2="11" y2="13"></line>'),
|
|
46
|
-
run: table => table.deleteRow(),
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
format: 'table-delete-column',
|
|
50
|
-
title: 'Delete column',
|
|
51
|
-
icon: svg('<rect class="ql-stroke" fill="none" x="3" y="3" width="6" height="12" rx="1"></rect><line class="ql-stroke" x1="11" y1="9" x2="15" y2="9"></line>'),
|
|
52
|
-
run: table => table.deleteColumn(),
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
format: 'table-delete',
|
|
56
|
-
title: 'Delete table',
|
|
57
|
-
icon: svg('<rect class="ql-stroke" fill="none" x="3" y="3" width="12" height="12" rx="1"></rect><line class="ql-stroke" x1="5.5" y1="5.5" x2="12.5" y2="12.5"></line><line class="ql-stroke" x1="12.5" y1="5.5" x2="5.5" y2="12.5"></line>'),
|
|
58
|
-
run: table => table.deleteTable(),
|
|
59
|
-
},
|
|
60
|
-
];
|
|
61
|
-
/**
|
|
62
|
-
* Human-readable tooltips for the built-in controls, keyed by the button's CSS selector.
|
|
63
|
-
* Quill ships no titles of its own, so these make the toolbar self-explanatory.
|
|
64
|
-
*/
|
|
65
|
-
const QUILL_BUILTIN_TITLES = {
|
|
66
|
-
'.ql-bold': 'Bold',
|
|
67
|
-
'.ql-italic': 'Italic',
|
|
68
|
-
'.ql-underline': 'Underline',
|
|
69
|
-
'.ql-strike': 'Strikethrough',
|
|
70
|
-
'.ql-blockquote': 'Quote',
|
|
71
|
-
'.ql-code-block': 'Code block',
|
|
72
|
-
'.ql-link': 'Insert link',
|
|
73
|
-
'.ql-image': 'Insert image',
|
|
74
|
-
'.ql-video': 'Embed video',
|
|
75
|
-
'.ql-clean': 'Clear formatting',
|
|
76
|
-
'.ql-list[value="ordered"]': 'Numbered list',
|
|
77
|
-
'.ql-list[value="bullet"]': 'Bulleted list',
|
|
78
|
-
'.ql-list[value="check"]': 'Checklist',
|
|
79
|
-
'.ql-script[value="sub"]': 'Subscript',
|
|
80
|
-
'.ql-script[value="super"]': 'Superscript',
|
|
81
|
-
'.ql-indent[value="-1"]': 'Decrease indent',
|
|
82
|
-
'.ql-indent[value="+1"]': 'Increase indent',
|
|
83
|
-
'.ql-direction[value="rtl"]': 'Right-to-left',
|
|
84
|
-
'.ql-color': 'Text colour',
|
|
85
|
-
'.ql-background': 'Highlight colour',
|
|
86
|
-
'.ql-align': 'Alignment',
|
|
87
|
-
'.ql-header': 'Heading',
|
|
88
|
-
'.ql-font': 'Font',
|
|
89
|
-
'.ql-size': 'Font size',
|
|
90
|
-
};
|
|
91
|
-
/**
|
|
92
|
-
* Comprehensive, logically grouped "snow" toolbar — headings/fonts, inline styling, colour,
|
|
93
|
-
* scripts, lists, indentation/alignment, blocks, media and a native table toolkit.
|
|
94
|
-
*/
|
|
95
|
-
const TOOLBAR_CONTAINER = [
|
|
96
|
-
[{ header: [1, 2, 3, 4, 5, 6, false] }, { font: [] }, { size: ['small', false, 'large', 'huge'] }],
|
|
97
|
-
['bold', 'italic', 'underline', 'strike'],
|
|
98
|
-
[{ color: [] }, { background: [] }],
|
|
99
|
-
[{ script: 'sub' }, { script: 'super' }],
|
|
100
|
-
[{ list: 'ordered' }, { list: 'bullet' }, { list: 'check' }],
|
|
101
|
-
[{ indent: '-1' }, { indent: '+1' }, { align: [] }, { direction: 'rtl' }],
|
|
102
|
-
['blockquote', 'code-block'],
|
|
103
|
-
['link', 'image', 'video'],
|
|
104
|
-
QUILL_TABLE_CONTROLS.map(control => control.format),
|
|
105
|
-
['clean']
|
|
106
|
-
];
|
|
107
|
-
/**
|
|
108
|
-
* Builds the toolbar handler map for the custom table buttons.
|
|
109
|
-
*
|
|
110
|
-
* These MUST be supplied in the toolbar config (not added later via `addHandler`): Quill's
|
|
111
|
-
* toolbar skips attaching a click listener to any button whose format is neither a registered
|
|
112
|
-
* blot nor already present in `handlers` at construction time. A late `addHandler` sets the
|
|
113
|
-
* handler but never re-attaches the listener, so the button stays inert.
|
|
114
|
-
*/
|
|
115
|
-
const buildTableHandlers = () => {
|
|
116
|
-
const handlers = {};
|
|
117
|
-
for (const control of QUILL_TABLE_CONTROLS) {
|
|
118
|
-
handlers[control.format] = function tableHandler() {
|
|
119
|
-
const table = this.quill.getModule('table');
|
|
120
|
-
// Native table ops bail when there is no selection; force focus + a range first.
|
|
121
|
-
this.quill.getSelection(true);
|
|
122
|
-
control.run(table);
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
return handlers;
|
|
126
|
-
};
|
|
127
|
-
/**
|
|
128
|
-
* Builds a ready-to-use `QuillOptions` for a "snow" editor with the native table module
|
|
129
|
-
* enabled and the custom table-button handlers wired into the toolbar config.
|
|
130
|
-
*
|
|
131
|
-
* Browser-only by construction: callers MUST instantiate Quill behind an
|
|
132
|
-
* `isPlatformBrowser(...)` guard because Quill touches `document` at construction time.
|
|
133
|
-
*/
|
|
134
|
-
const buildQuillOptions = (payload) => ({
|
|
135
|
-
theme: 'snow',
|
|
136
|
-
readOnly: payload.readOnly,
|
|
137
|
-
placeholder: payload.placeholder ?? "Let's write something amazing...",
|
|
138
|
-
modules: {
|
|
139
|
-
toolbar: {
|
|
140
|
-
container: TOOLBAR_CONTAINER,
|
|
141
|
-
handlers: buildTableHandlers()
|
|
142
|
-
},
|
|
143
|
-
table: true,
|
|
144
|
-
history: { delay: 1000, maxStack: 100, userOnly: true },
|
|
145
|
-
clipboard: { matchVisual: false }
|
|
146
|
-
}
|
|
147
|
-
});
|
|
148
|
-
/**
|
|
149
|
-
* Quill's empty document is a single trailing newline op. Treat that — and a literally
|
|
150
|
-
* empty op-list — as "no value" so `required` validation behaves intuitively.
|
|
151
|
-
*/
|
|
152
|
-
const isEmptyQuillDocument = (ops) => ops.length === 0 || (ops.length === 1 && ops[0]?.insert === '\n');
|
|
153
|
-
|
|
154
|
-
/// <reference path="../../../../../../../types/quill.d.ts" />
|
|
155
|
-
const _c0 = ["editorHost"];
|
|
156
|
-
const customInputConfig = {
|
|
157
|
-
controlType: 'lib-quill-input',
|
|
158
|
-
nextId: 0
|
|
159
|
-
};
|
|
160
|
-
/**
|
|
161
|
-
* Quill ("snow" theme) rich-text editor wired into Angular Material's form-field as a
|
|
162
|
-
* custom `MatFormFieldControl`. The full Quill setup — toolbar, formats, history — lives in
|
|
163
|
-
* `quill.config.ts`; this component owns lifecycle, SSR gating and value round-tripping.
|
|
164
|
-
*/
|
|
165
|
-
class QuillInputComponent extends BaseCustomInput {
|
|
166
|
-
#platformId;
|
|
167
|
-
#changeHandler;
|
|
168
|
-
constructor() {
|
|
169
|
-
super(inject(NgControl, { optional: true, self: true }), inject(ElementRef), customInputConfig);
|
|
170
|
-
this.inputConfig = input.required(...(ngDevMode ? [{ debugName: "inputConfig" }] : /* istanbul ignore next */ []));
|
|
171
|
-
this.valueChanged = output();
|
|
172
|
-
this.editorHost = viewChild.required('editorHost');
|
|
173
|
-
this.#platformId = inject(PLATFORM_ID);
|
|
174
|
-
this._value = undefined;
|
|
175
|
-
}
|
|
176
|
-
get empty() {
|
|
177
|
-
const n = this.value;
|
|
178
|
-
return n === null || n === undefined;
|
|
179
|
-
}
|
|
180
|
-
get shouldLabelFloat() {
|
|
181
|
-
return true;
|
|
182
|
-
}
|
|
183
|
-
set value(value) {
|
|
184
|
-
if (!_isEqual(this._value, value)) {
|
|
185
|
-
this._value = value;
|
|
186
|
-
this.onChange(value);
|
|
187
|
-
this.stateChanges.next();
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
get value() {
|
|
191
|
-
return this._value;
|
|
192
|
-
}
|
|
193
|
-
async ngAfterViewInit() {
|
|
194
|
-
if (!isPlatformBrowser(this.#platformId))
|
|
195
|
-
return;
|
|
196
|
-
// Browser-only dynamic load — see the Trap 16 comment at the top of this file. The
|
|
197
|
-
// CSS import injects Quill's global theme styles (Quill's runtime DOM is not view-scoped).
|
|
198
|
-
const [{ default: Quill, Delta }] = await Promise.all([
|
|
199
|
-
import('quill'),
|
|
200
|
-
import('quill/dist/quill.snow.css')
|
|
201
|
-
]);
|
|
202
|
-
const config = this.inputConfig();
|
|
203
|
-
this.editor = new Quill(this.editorHost().nativeElement, buildQuillOptions({
|
|
204
|
-
readOnly: config.readonly || config.disabled || false,
|
|
205
|
-
placeholder: config.placeholder
|
|
206
|
-
}));
|
|
207
|
-
const initial = this.value;
|
|
208
|
-
if (initial?.ops?.length) {
|
|
209
|
-
this.editor.setContents(new Delta(initial.ops), 'silent');
|
|
210
|
-
}
|
|
211
|
-
this.#decorateToolbar();
|
|
212
|
-
this.#changeHandler = () => this.contentChangedSaveValue();
|
|
213
|
-
this.editor.on('text-change', this.#changeHandler);
|
|
214
|
-
}
|
|
215
|
-
/**
|
|
216
|
-
* Quill ships no icons for custom buttons and no tooltips for any button. Inject themeable
|
|
217
|
-
* SVG icons (their `ql-stroke` paths inherit the toolbar colour) and `title` tooltips so the
|
|
218
|
-
* toolbar reads clearly in both light and dark mode.
|
|
219
|
-
*/
|
|
220
|
-
#decorateToolbar() {
|
|
221
|
-
const root = this._elementRef.nativeElement;
|
|
222
|
-
for (const control of QUILL_TABLE_CONTROLS) {
|
|
223
|
-
const button = root.querySelector(`.ql-${control.format}`);
|
|
224
|
-
if (!button)
|
|
225
|
-
continue;
|
|
226
|
-
button.innerHTML = control.icon;
|
|
227
|
-
button.setAttribute('title', control.title);
|
|
228
|
-
}
|
|
229
|
-
for (const [selector, title] of Object.entries(QUILL_BUILTIN_TITLES)) {
|
|
230
|
-
root.querySelectorAll(selector).forEach(el => el.setAttribute('title', title));
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
contentChangedSaveValue() {
|
|
234
|
-
if (!this.editor)
|
|
235
|
-
return;
|
|
236
|
-
const ops = this.editor.getContents().ops;
|
|
237
|
-
const value = isEmptyQuillDocument(ops) ? undefined : { ops };
|
|
238
|
-
this.value = value;
|
|
239
|
-
this.onChange(value);
|
|
240
|
-
console.error('Quill content changed, new value:', value);
|
|
241
|
-
this.valueChanged.emit(value);
|
|
242
|
-
}
|
|
243
|
-
ngOnDestroy() {
|
|
244
|
-
this.stateChanges.complete();
|
|
245
|
-
if (this.editor && this.#changeHandler) {
|
|
246
|
-
this.editor.off('text-change', this.#changeHandler);
|
|
247
|
-
}
|
|
248
|
-
this.editor = undefined;
|
|
249
|
-
}
|
|
250
|
-
static { this.ɵfac = function QuillInputComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QuillInputComponent)(); }; }
|
|
251
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QuillInputComponent, selectors: [["lib-quill-input"]], viewQuery: function QuillInputComponent_Query(rf, ctx) { if (rf & 1) {
|
|
252
|
-
i0.ɵɵviewQuerySignal(ctx.editorHost, _c0, 5);
|
|
253
|
-
} if (rf & 2) {
|
|
254
|
-
i0.ɵɵqueryAdvance();
|
|
255
|
-
} }, hostVars: 3, hostBindings: function QuillInputComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
256
|
-
i0.ɵɵdomProperty("id", ctx.id);
|
|
257
|
-
i0.ɵɵclassProp("floating", ctx.shouldLabelFloat);
|
|
258
|
-
} }, inputs: { inputConfig: [1, "inputConfig"], value: "value" }, outputs: { valueChanged: "valueChanged" }, features: [i0.ɵɵProvidersFeature([{ provide: MatFormFieldControl, useExisting: QuillInputComponent }]), i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 0, consts: [["editorHost", ""], [1, "quill-host"]], template: function QuillInputComponent_Template(rf, ctx) { if (rf & 1) {
|
|
259
|
-
i0.ɵɵdomElementStart(0, "div", 1);
|
|
260
|
-
i0.ɵɵdomElement(1, "div", null, 0);
|
|
261
|
-
i0.ɵɵdomElementEnd();
|
|
262
|
-
} }, styles: [".quill-host[_ngcontent-%COMP%]{border:solid 1px var(--mat-sys-outline-variant, var(--mat-app-outline));border-radius:6px;background:var(--mat-sys-surface-container-low, var(--mat-app-surface-container-low))}.quill-host[_ngcontent-%COMP%] .ql-toolbar.ql-snow{border:none;border-bottom:solid 1px var(--mat-sys-outline-variant, var(--mat-app-outline));background:var(--mat-sys-surface-container, var(--mat-app-surface-container));padding:8px 10px;border-radius:6px 6px 0 0}.quill-host[_ngcontent-%COMP%] .ql-container.ql-snow{border:none;border-radius:0 0 6px 6px;font-family:var(--mat-sys-body-large-font, inherit)}.quill-host[_ngcontent-%COMP%] .ql-toolbar.ql-snow .ql-formats{margin-right:10px;padding-right:10px;border-right:1px solid var(--mat-sys-outline-variant, var(--mat-app-outline))}.quill-host[_ngcontent-%COMP%] .ql-toolbar.ql-snow .ql-formats:last-child{border-right:none;padding-right:0}.quill-host[_ngcontent-%COMP%] .ql-snow .ql-stroke, .quill-host[_ngcontent-%COMP%] .ql-snow .ql-stroke-miter{stroke:var(--mat-sys-on-surface-variant, var(--mat-app-on-surface))}.quill-host[_ngcontent-%COMP%] .ql-snow .ql-fill, .quill-host[_ngcontent-%COMP%] .ql-snow .ql-stroke.ql-fill{fill:var(--mat-sys-on-surface-variant, var(--mat-app-on-surface))}.quill-host[_ngcontent-%COMP%] .ql-snow .ql-picker{color:var(--mat-sys-on-surface-variant, var(--mat-app-on-surface))}.quill-host[_ngcontent-%COMP%] .ql-toolbar.ql-snow button, .quill-host[_ngcontent-%COMP%] .ql-toolbar.ql-snow .ql-picker-label{border-radius:4px;transition:background-color .12s ease}.quill-host[_ngcontent-%COMP%] .ql-toolbar.ql-snow button:hover, .quill-host[_ngcontent-%COMP%] .ql-toolbar.ql-snow button:focus, .quill-host[_ngcontent-%COMP%] .ql-toolbar.ql-snow .ql-picker-label:hover{background-color:var(--mat-sys-surface-container-highest, var(--mat-app-surface-container-high))}.quill-host[_ngcontent-%COMP%] .ql-snow.ql-toolbar button.ql-active, .quill-host[_ngcontent-%COMP%] .ql-snow .ql-picker-label.ql-active, .quill-host[_ngcontent-%COMP%] .ql-snow .ql-picker-item.ql-selected, .quill-host[_ngcontent-%COMP%] .ql-snow.ql-toolbar button:hover, .quill-host[_ngcontent-%COMP%] .ql-snow .ql-picker-item:hover{color:var(--mat-sys-primary, var(--mat-app-primary))}.quill-host[_ngcontent-%COMP%] .ql-snow.ql-toolbar button:hover .ql-stroke, .quill-host[_ngcontent-%COMP%] .ql-snow.ql-toolbar button:focus .ql-stroke, .quill-host[_ngcontent-%COMP%] .ql-snow.ql-toolbar button.ql-active .ql-stroke, .quill-host[_ngcontent-%COMP%] .ql-snow .ql-picker-label:hover .ql-stroke, .quill-host[_ngcontent-%COMP%] .ql-snow .ql-picker-label.ql-active .ql-stroke, .quill-host[_ngcontent-%COMP%] .ql-snow .ql-picker-item:hover .ql-stroke, .quill-host[_ngcontent-%COMP%] .ql-snow .ql-picker-item.ql-selected .ql-stroke{stroke:var(--mat-sys-primary, var(--mat-app-primary))}.quill-host[_ngcontent-%COMP%] .ql-snow.ql-toolbar button:hover .ql-fill, .quill-host[_ngcontent-%COMP%] .ql-snow.ql-toolbar button.ql-active .ql-fill, .quill-host[_ngcontent-%COMP%] .ql-snow .ql-picker-label:hover .ql-fill, .quill-host[_ngcontent-%COMP%] .ql-snow .ql-picker-label.ql-active .ql-fill{fill:var(--mat-sys-primary, var(--mat-app-primary))}.quill-host[_ngcontent-%COMP%] .ql-snow .ql-picker-options{background-color:var(--mat-sys-surface-container-high, var(--mat-app-surface-container-high));border-color:var(--mat-sys-outline-variant, var(--mat-app-outline));border-radius:6px;box-shadow:0 4px 12px #0000002e;color:var(--mat-sys-on-surface, var(--mat-app-on-surface))}.quill-host[_ngcontent-%COMP%] .ql-snow .ql-picker.ql-expanded .ql-picker-label{border-color:var(--mat-sys-outline-variant, var(--mat-app-outline));color:var(--mat-sys-primary, var(--mat-app-primary))}.quill-host[_ngcontent-%COMP%] .ql-editor{min-height:300px;font-size:.9375rem;line-height:1.7;color:var(--mat-sys-on-surface, var(--mat-app-on-surface))}.quill-host[_ngcontent-%COMP%] .ql-editor.ql-blank:before{color:var(--mat-sys-on-surface-variant, var(--mat-app-on-surface));font-style:normal;opacity:.7}.quill-host[_ngcontent-%COMP%] .ql-editor a{color:var(--mat-sys-primary, var(--mat-app-primary))}.quill-host[_ngcontent-%COMP%] .ql-editor blockquote{border-left-color:var(--mat-sys-outline, var(--mat-app-outline));color:var(--mat-sys-on-surface-variant, var(--mat-app-on-surface))}.quill-host[_ngcontent-%COMP%] .ql-editor pre.ql-syntax, .quill-host[_ngcontent-%COMP%] .ql-editor code{background-color:var(--mat-sys-surface-container-highest, var(--mat-app-surface-container-high));color:var(--mat-sys-on-surface, var(--mat-app-on-surface));border-radius:4px}.quill-host[_ngcontent-%COMP%] .ql-editor table{border-collapse:collapse}.quill-host[_ngcontent-%COMP%] .ql-editor td{border:1px solid var(--mat-sys-outline-variant, var(--mat-app-outline));padding:6px 10px}.quill-host[_ngcontent-%COMP%] .ql-snow .ql-tooltip{background-color:var(--mat-sys-surface-container-high, var(--mat-app-surface-container-high));border-color:var(--mat-sys-outline-variant, var(--mat-app-outline));border-radius:6px;box-shadow:0 4px 12px #0000002e;color:var(--mat-sys-on-surface, var(--mat-app-on-surface))}.quill-host[_ngcontent-%COMP%] .ql-snow .ql-tooltip input[type=text]{background-color:var(--mat-sys-surface-container-low, var(--mat-app-surface-container-low));border-color:var(--mat-sys-outline-variant, var(--mat-app-outline));color:var(--mat-sys-on-surface, var(--mat-app-on-surface));border-radius:4px}.quill-host[_ngcontent-%COMP%] .ql-snow .ql-tooltip a.ql-action, .quill-host[_ngcontent-%COMP%] .ql-snow .ql-tooltip a.ql-preview{color:var(--mat-sys-primary, var(--mat-app-primary))}.quill-host[_ngcontent-%COMP%] .ql-snow .ql-tooltip a.ql-remove{color:var(--mat-sys-error, var(--mat-app-error))}"], changeDetection: 0 }); }
|
|
263
|
-
}
|
|
264
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QuillInputComponent, [{
|
|
265
|
-
type: Component,
|
|
266
|
-
args: [{ selector: 'lib-quill-input', imports: [], host: {
|
|
267
|
-
'[class.floating]': 'shouldLabelFloat',
|
|
268
|
-
'[id]': 'id'
|
|
269
|
-
}, providers: [{ provide: MatFormFieldControl, useExisting: QuillInputComponent }], changeDetection: ChangeDetectionStrategy.OnPush, template: "\n<div class=\"quill-host\">\n <div #editorHost></div>\n</div>\n", styles: [".quill-host{border:solid 1px var(--mat-sys-outline-variant, var(--mat-app-outline));border-radius:6px;background:var(--mat-sys-surface-container-low, var(--mat-app-surface-container-low))}.quill-host ::ng-deep .ql-toolbar.ql-snow{border:none;border-bottom:solid 1px var(--mat-sys-outline-variant, var(--mat-app-outline));background:var(--mat-sys-surface-container, var(--mat-app-surface-container));padding:8px 10px;border-radius:6px 6px 0 0}.quill-host ::ng-deep .ql-container.ql-snow{border:none;border-radius:0 0 6px 6px;font-family:var(--mat-sys-body-large-font, inherit)}.quill-host ::ng-deep .ql-toolbar.ql-snow .ql-formats{margin-right:10px;padding-right:10px;border-right:1px solid var(--mat-sys-outline-variant, var(--mat-app-outline))}.quill-host ::ng-deep .ql-toolbar.ql-snow .ql-formats:last-child{border-right:none;padding-right:0}.quill-host ::ng-deep .ql-snow .ql-stroke,.quill-host ::ng-deep .ql-snow .ql-stroke-miter{stroke:var(--mat-sys-on-surface-variant, var(--mat-app-on-surface))}.quill-host ::ng-deep .ql-snow .ql-fill,.quill-host ::ng-deep .ql-snow .ql-stroke.ql-fill{fill:var(--mat-sys-on-surface-variant, var(--mat-app-on-surface))}.quill-host ::ng-deep .ql-snow .ql-picker{color:var(--mat-sys-on-surface-variant, var(--mat-app-on-surface))}.quill-host ::ng-deep .ql-toolbar.ql-snow button,.quill-host ::ng-deep .ql-toolbar.ql-snow .ql-picker-label{border-radius:4px;transition:background-color .12s ease}.quill-host ::ng-deep .ql-toolbar.ql-snow button:hover,.quill-host ::ng-deep .ql-toolbar.ql-snow button:focus,.quill-host ::ng-deep .ql-toolbar.ql-snow .ql-picker-label:hover{background-color:var(--mat-sys-surface-container-highest, var(--mat-app-surface-container-high))}.quill-host ::ng-deep .ql-snow.ql-toolbar button.ql-active,.quill-host ::ng-deep .ql-snow .ql-picker-label.ql-active,.quill-host ::ng-deep .ql-snow .ql-picker-item.ql-selected,.quill-host ::ng-deep .ql-snow.ql-toolbar button:hover,.quill-host ::ng-deep .ql-snow .ql-picker-item:hover{color:var(--mat-sys-primary, var(--mat-app-primary))}.quill-host ::ng-deep .ql-snow.ql-toolbar button:hover .ql-stroke,.quill-host ::ng-deep .ql-snow.ql-toolbar button:focus .ql-stroke,.quill-host ::ng-deep .ql-snow.ql-toolbar button.ql-active .ql-stroke,.quill-host ::ng-deep .ql-snow .ql-picker-label:hover .ql-stroke,.quill-host ::ng-deep .ql-snow .ql-picker-label.ql-active .ql-stroke,.quill-host ::ng-deep .ql-snow .ql-picker-item:hover .ql-stroke,.quill-host ::ng-deep .ql-snow .ql-picker-item.ql-selected .ql-stroke{stroke:var(--mat-sys-primary, var(--mat-app-primary))}.quill-host ::ng-deep .ql-snow.ql-toolbar button:hover .ql-fill,.quill-host ::ng-deep .ql-snow.ql-toolbar button.ql-active .ql-fill,.quill-host ::ng-deep .ql-snow .ql-picker-label:hover .ql-fill,.quill-host ::ng-deep .ql-snow .ql-picker-label.ql-active .ql-fill{fill:var(--mat-sys-primary, var(--mat-app-primary))}.quill-host ::ng-deep .ql-snow .ql-picker-options{background-color:var(--mat-sys-surface-container-high, var(--mat-app-surface-container-high));border-color:var(--mat-sys-outline-variant, var(--mat-app-outline));border-radius:6px;box-shadow:0 4px 12px #0000002e;color:var(--mat-sys-on-surface, var(--mat-app-on-surface))}.quill-host ::ng-deep .ql-snow .ql-picker.ql-expanded .ql-picker-label{border-color:var(--mat-sys-outline-variant, var(--mat-app-outline));color:var(--mat-sys-primary, var(--mat-app-primary))}.quill-host ::ng-deep .ql-editor{min-height:300px;font-size:.9375rem;line-height:1.7;color:var(--mat-sys-on-surface, var(--mat-app-on-surface))}.quill-host ::ng-deep .ql-editor.ql-blank:before{color:var(--mat-sys-on-surface-variant, var(--mat-app-on-surface));font-style:normal;opacity:.7}.quill-host ::ng-deep .ql-editor a{color:var(--mat-sys-primary, var(--mat-app-primary))}.quill-host ::ng-deep .ql-editor blockquote{border-left-color:var(--mat-sys-outline, var(--mat-app-outline));color:var(--mat-sys-on-surface-variant, var(--mat-app-on-surface))}.quill-host ::ng-deep .ql-editor pre.ql-syntax,.quill-host ::ng-deep .ql-editor code{background-color:var(--mat-sys-surface-container-highest, var(--mat-app-surface-container-high));color:var(--mat-sys-on-surface, var(--mat-app-on-surface));border-radius:4px}.quill-host ::ng-deep .ql-editor table{border-collapse:collapse}.quill-host ::ng-deep .ql-editor td{border:1px solid var(--mat-sys-outline-variant, var(--mat-app-outline));padding:6px 10px}.quill-host ::ng-deep .ql-snow .ql-tooltip{background-color:var(--mat-sys-surface-container-high, var(--mat-app-surface-container-high));border-color:var(--mat-sys-outline-variant, var(--mat-app-outline));border-radius:6px;box-shadow:0 4px 12px #0000002e;color:var(--mat-sys-on-surface, var(--mat-app-on-surface))}.quill-host ::ng-deep .ql-snow .ql-tooltip input[type=text]{background-color:var(--mat-sys-surface-container-low, var(--mat-app-surface-container-low));border-color:var(--mat-sys-outline-variant, var(--mat-app-outline));color:var(--mat-sys-on-surface, var(--mat-app-on-surface));border-radius:4px}.quill-host ::ng-deep .ql-snow .ql-tooltip a.ql-action,.quill-host ::ng-deep .ql-snow .ql-tooltip a.ql-preview{color:var(--mat-sys-primary, var(--mat-app-primary))}.quill-host ::ng-deep .ql-snow .ql-tooltip a.ql-remove{color:var(--mat-sys-error, var(--mat-app-error))}\n"] }]
|
|
270
|
-
}], () => [], { inputConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputConfig", required: true }] }], valueChanged: [{ type: i0.Output, args: ["valueChanged"] }], editorHost: [{ type: i0.ViewChild, args: ['editorHost', { isSignal: true }] }], value: [{
|
|
271
|
-
type: Input
|
|
272
|
-
}] }); })();
|
|
273
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QuillInputComponent, { className: "QuillInputComponent", filePath: "lib/components/t-form-input/elements/editor-input-element/core/quill-input/quill-input.component.ts", lineNumber: 58 }); })();
|
|
274
|
-
|
|
275
|
-
function EditorInputElementComponent_Conditional_1_Case_4_Template(rf, ctx) { if (rf & 1) {
|
|
276
|
-
i0.ɵɵelement(0, "lib-quill-input", 3);
|
|
277
|
-
} if (rf & 2) {
|
|
278
|
-
const inputConfig_r1 = i0.ɵɵnextContext();
|
|
279
|
-
i0.ɵɵproperty("inputConfig", inputConfig_r1)("formControlName", inputConfig_r1.id)("required", inputConfig_r1.required);
|
|
280
|
-
} }
|
|
281
|
-
function EditorInputElementComponent_Conditional_1_Case_5_Template(rf, ctx) { if (rf & 1) {
|
|
282
|
-
i0.ɵɵelement(0, "lib-editor-js-input", 3);
|
|
283
|
-
} if (rf & 2) {
|
|
284
|
-
const inputConfig_r1 = i0.ɵɵnextContext();
|
|
285
|
-
i0.ɵɵproperty("inputConfig", inputConfig_r1)("formControlName", inputConfig_r1.id)("required", inputConfig_r1.required);
|
|
286
|
-
} }
|
|
287
|
-
function EditorInputElementComponent_Conditional_1_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
288
|
-
i0.ɵɵelementStart(0, "mat-hint", 4);
|
|
289
|
-
i0.ɵɵtext(1);
|
|
290
|
-
i0.ɵɵelementEnd();
|
|
291
|
-
} if (rf & 2) {
|
|
292
|
-
const inputConfig_r1 = i0.ɵɵnextContext();
|
|
293
|
-
i0.ɵɵadvance();
|
|
294
|
-
i0.ɵɵtextInterpolate1(" ", inputConfig_r1.temporaryHint || inputConfig_r1.hintLabel, " ");
|
|
295
|
-
} }
|
|
296
|
-
function EditorInputElementComponent_Conditional_1_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
297
|
-
i0.ɵɵelementStart(0, "mat-error", 5);
|
|
298
|
-
i0.ɵɵtext(1);
|
|
299
|
-
i0.ɵɵelementEnd();
|
|
300
|
-
} if (rf & 2) {
|
|
301
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
302
|
-
i0.ɵɵadvance();
|
|
303
|
-
i0.ɵɵtextInterpolate(ctx_r1.errorMessage());
|
|
304
|
-
} }
|
|
305
|
-
function EditorInputElementComponent_Conditional_1_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
306
|
-
i0.ɵɵelementStart(0, "mat-icon", 6);
|
|
307
|
-
i0.ɵɵtext(1);
|
|
308
|
-
i0.ɵɵelementEnd();
|
|
309
|
-
} if (rf & 2) {
|
|
310
|
-
const inputConfig_r1 = i0.ɵɵnextContext();
|
|
311
|
-
i0.ɵɵadvance();
|
|
312
|
-
i0.ɵɵtextInterpolate(inputConfig_r1.prefixIcon);
|
|
313
|
-
} }
|
|
314
|
-
function EditorInputElementComponent_Conditional_1_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
315
|
-
const _r3 = i0.ɵɵgetCurrentView();
|
|
316
|
-
i0.ɵɵelementStart(0, "button", 12);
|
|
317
|
-
i0.ɵɵlistener("click", function EditorInputElementComponent_Conditional_1_Conditional_9_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r3); const inputConfig_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(inputConfig_r1.canReload.emit()); });
|
|
318
|
-
i0.ɵɵelementStart(1, "mat-icon", 13);
|
|
319
|
-
i0.ɵɵtext(2, "sync");
|
|
320
|
-
i0.ɵɵelementEnd()();
|
|
321
|
-
} }
|
|
322
|
-
function EditorInputElementComponent_Conditional_1_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
323
|
-
i0.ɵɵelementStart(0, "mat-icon", 8);
|
|
324
|
-
i0.ɵɵtext(1);
|
|
325
|
-
i0.ɵɵelementEnd();
|
|
326
|
-
} if (rf & 2) {
|
|
327
|
-
const inputConfig_r1 = i0.ɵɵnextContext();
|
|
328
|
-
i0.ɵɵadvance();
|
|
329
|
-
i0.ɵɵtextInterpolate(inputConfig_r1.suffixIcon);
|
|
330
|
-
} }
|
|
331
|
-
function EditorInputElementComponent_Conditional_1_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
332
|
-
i0.ɵɵelementStart(0, "span", 9);
|
|
333
|
-
i0.ɵɵtext(1);
|
|
334
|
-
i0.ɵɵelementEnd();
|
|
335
|
-
} if (rf & 2) {
|
|
336
|
-
const inputConfig_r1 = i0.ɵɵnextContext();
|
|
337
|
-
i0.ɵɵadvance();
|
|
338
|
-
i0.ɵɵtextInterpolate(inputConfig_r1.prefixText);
|
|
339
|
-
} }
|
|
340
|
-
function EditorInputElementComponent_Conditional_1_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
341
|
-
i0.ɵɵelementStart(0, "span", 10);
|
|
342
|
-
i0.ɵɵtext(1);
|
|
343
|
-
i0.ɵɵelementEnd();
|
|
344
|
-
} if (rf & 2) {
|
|
345
|
-
const inputConfig_r1 = i0.ɵɵnextContext();
|
|
346
|
-
i0.ɵɵadvance();
|
|
347
|
-
i0.ɵɵtextInterpolate(inputConfig_r1.suffixText);
|
|
348
|
-
} }
|
|
349
|
-
function EditorInputElementComponent_Conditional_1_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
350
|
-
i0.ɵɵelementStart(0, "mat-hint", 11);
|
|
351
|
-
i0.ɵɵtext(1);
|
|
352
|
-
i0.ɵɵelementEnd();
|
|
353
|
-
} if (rf & 2) {
|
|
354
|
-
let tmp_3_0;
|
|
355
|
-
const inputConfig_r1 = i0.ɵɵnextContext();
|
|
356
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
357
|
-
i0.ɵɵadvance();
|
|
358
|
-
i0.ɵɵtextInterpolate1(" ", (((tmp_3_0 = ctx_r1.formGroup().controls[inputConfig_r1.id]) == null ? null : tmp_3_0.value == null ? null : tmp_3_0.value.length) || 0) + "/" + inputConfig_r1.maxLength, " ");
|
|
359
|
-
} }
|
|
360
|
-
function EditorInputElementComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
361
|
-
i0.ɵɵelementStart(0, "mat-form-field", 1)(1, "mat-label");
|
|
362
|
-
i0.ɵɵtext(2);
|
|
363
|
-
i0.ɵɵelement(3, "lib-t-form-input-status", 2);
|
|
364
|
-
i0.ɵɵelementEnd();
|
|
365
|
-
i0.ɵɵconditionalCreate(4, EditorInputElementComponent_Conditional_1_Case_4_Template, 1, 3, "lib-quill-input", 3)(5, EditorInputElementComponent_Conditional_1_Case_5_Template, 1, 3, "lib-editor-js-input", 3);
|
|
366
|
-
i0.ɵɵconditionalCreate(6, EditorInputElementComponent_Conditional_1_Conditional_6_Template, 2, 1, "mat-hint", 4);
|
|
367
|
-
i0.ɵɵconditionalCreate(7, EditorInputElementComponent_Conditional_1_Conditional_7_Template, 2, 1, "mat-error", 5);
|
|
368
|
-
i0.ɵɵconditionalCreate(8, EditorInputElementComponent_Conditional_1_Conditional_8_Template, 2, 1, "mat-icon", 6);
|
|
369
|
-
i0.ɵɵconditionalCreate(9, EditorInputElementComponent_Conditional_1_Conditional_9_Template, 3, 0, "button", 7);
|
|
370
|
-
i0.ɵɵconditionalCreate(10, EditorInputElementComponent_Conditional_1_Conditional_10_Template, 2, 1, "mat-icon", 8);
|
|
371
|
-
i0.ɵɵconditionalCreate(11, EditorInputElementComponent_Conditional_1_Conditional_11_Template, 2, 1, "span", 9);
|
|
372
|
-
i0.ɵɵconditionalCreate(12, EditorInputElementComponent_Conditional_1_Conditional_12_Template, 2, 1, "span", 10);
|
|
373
|
-
i0.ɵɵconditionalCreate(13, EditorInputElementComponent_Conditional_1_Conditional_13_Template, 2, 1, "mat-hint", 11);
|
|
374
|
-
i0.ɵɵelementEnd();
|
|
375
|
-
} if (rf & 2) {
|
|
376
|
-
let tmp_5_0;
|
|
377
|
-
const inputConfig_r1 = ctx;
|
|
378
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
379
|
-
i0.ɵɵproperty("appearance", inputConfig_r1.appearance || "fill");
|
|
380
|
-
i0.ɵɵadvance(2);
|
|
381
|
-
i0.ɵɵtextInterpolate1(" ", inputConfig_r1.label, " ");
|
|
382
|
-
i0.ɵɵadvance();
|
|
383
|
-
i0.ɵɵproperty("inputConfig", inputConfig_r1);
|
|
384
|
-
i0.ɵɵadvance();
|
|
385
|
-
i0.ɵɵconditional((tmp_5_0 = inputConfig_r1.richTextEditorLibrary) === ctx_r1.editorType.Quill ? 4 : tmp_5_0 === ctx_r1.editorType.EditorJS ? 5 : -1);
|
|
386
|
-
i0.ɵɵadvance(2);
|
|
387
|
-
i0.ɵɵconditional(inputConfig_r1.hintLabel || inputConfig_r1.temporaryHint ? 6 : -1);
|
|
388
|
-
i0.ɵɵadvance();
|
|
389
|
-
i0.ɵɵconditional(!!ctx_r1.errorMessage() ? 7 : -1);
|
|
390
|
-
i0.ɵɵadvance();
|
|
391
|
-
i0.ɵɵconditional(inputConfig_r1.prefixIcon ? 8 : -1);
|
|
392
|
-
i0.ɵɵadvance();
|
|
393
|
-
i0.ɵɵconditional((inputConfig_r1.canReload == null ? null : inputConfig_r1.canReload.canReload) ? 9 : -1);
|
|
394
|
-
i0.ɵɵadvance();
|
|
395
|
-
i0.ɵɵconditional(inputConfig_r1.suffixIcon && inputConfig_r1.id !== "password" ? 10 : -1);
|
|
396
|
-
i0.ɵɵadvance();
|
|
397
|
-
i0.ɵɵconditional(inputConfig_r1.prefixText ? 11 : -1);
|
|
398
|
-
i0.ɵɵadvance();
|
|
399
|
-
i0.ɵɵconditional(inputConfig_r1.suffixText ? 12 : -1);
|
|
400
|
-
i0.ɵɵadvance();
|
|
401
|
-
i0.ɵɵconditional(inputConfig_r1.maxLength && ctx_r1.formGroup() ? 13 : -1);
|
|
402
|
-
} }
|
|
403
|
-
/**
|
|
404
|
-
* Wraps a configurable rich-text editor inside a `mat-form-field`, selecting the concrete
|
|
405
|
-
* editor (EditorJS or Quill) from the column's `richTextEditorLibrary`, with shared
|
|
406
|
-
* label / hint / error / suffix / prefix metadata from the column.
|
|
407
|
-
*/
|
|
408
|
-
class EditorInputElementComponent {
|
|
409
|
-
constructor() {
|
|
410
|
-
this.inputConfig = input.required(...(ngDevMode ? [{ debugName: "inputConfig" }] : /* istanbul ignore next */ []));
|
|
411
|
-
this.formGroup = input.required(...(ngDevMode ? [{ debugName: "formGroup" }] : /* istanbul ignore next */ []));
|
|
412
|
-
this.reload = output();
|
|
413
|
-
/** Editor-library enum exposed for `@switch` in the template. */
|
|
414
|
-
this.editorType = RichTextEditorType;
|
|
415
|
-
this.errorMessage = computed(() => getInputErrorMessage(this.inputConfig(), this.formGroup()), ...(ngDevMode ? [{ debugName: "errorMessage" }] : /* istanbul ignore next */ []));
|
|
416
|
-
}
|
|
417
|
-
static { this.ɵfac = function EditorInputElementComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EditorInputElementComponent)(); }; }
|
|
418
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EditorInputElementComponent, selectors: [["lib-editor-input-element"]], inputs: { inputConfig: [1, "inputConfig"], formGroup: [1, "formGroup"] }, outputs: { reload: "reload" }, decls: 2, vars: 2, consts: [[3, "formGroup"], ["subscriptSizing", "dynamic", 3, "appearance"], [3, "inputConfig"], [3, "inputConfig", "formControlName", "required"], [1, "inputHint"], ["matTooltipClass", "errorToolTip", 1, "oneLineTextEllipsis"], ["matPrefix", ""], ["mat-icon-button", "", "matTooltip", "Click to refresh this field.", "matSuffix", "", 1, "input-sync-button", 2, "margin-right", "4px"], ["matSuffix", ""], ["matPrefix", "", 2, "top", "0"], ["matSuffix", "", 2, "padding-left", "5px"], ["align", "end"], ["mat-icon-button", "", "matTooltip", "Click to refresh this field.", "matSuffix", "", 1, "input-sync-button", 2, "margin-right", "4px", 3, "click"], [2, "color", "var(--mat-sys-primary)"]], template: function EditorInputElementComponent_Template(rf, ctx) { if (rf & 1) {
|
|
419
|
-
i0.ɵɵelementStart(0, "form", 0);
|
|
420
|
-
i0.ɵɵconditionalCreate(1, EditorInputElementComponent_Conditional_1_Template, 14, 12, "mat-form-field", 1);
|
|
421
|
-
i0.ɵɵelementEnd();
|
|
422
|
-
} if (rf & 2) {
|
|
423
|
-
let tmp_1_0;
|
|
424
|
-
i0.ɵɵproperty("formGroup", ctx.formGroup());
|
|
425
|
-
i0.ɵɵadvance();
|
|
426
|
-
i0.ɵɵconditional((tmp_1_0 = ctx.inputConfig()) ? 1 : -1, tmp_1_0);
|
|
427
|
-
} }, dependencies: [ReactiveFormsModule, i1.ɵNgNoValidate, i1.NgControlStatus, i1.NgControlStatusGroup, i1.RequiredValidator, i1.FormGroupDirective, i1.FormControlName, MatFormFieldModule, i2.MatFormField, i2.MatLabel, i2.MatHint, i2.MatError, i2.MatPrefix, i2.MatSuffix, MatIconModule, i3.MatIcon, MatButtonModule, i1$1.MatIconButton, MatTooltipModule, i5.MatTooltip, TFormInputStatusComponent,
|
|
428
|
-
EditorJsInputComponent,
|
|
429
|
-
QuillInputComponent], styles: ["mat-form-field[_ngcontent-%COMP%]{width:100%!important}mat-form-field[_ngcontent-%COMP%] .input-sync-button[_ngcontent-%COMP%]{display:none}mat-form-field[_ngcontent-%COMP%]:hover .input-sync-button[_ngcontent-%COMP%]{display:inline-block}"], changeDetection: 0 }); }
|
|
430
|
-
}
|
|
431
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EditorInputElementComponent, [{
|
|
432
|
-
type: Component,
|
|
433
|
-
args: [{ selector: 'lib-editor-input-element', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
434
|
-
ReactiveFormsModule,
|
|
435
|
-
MatFormFieldModule,
|
|
436
|
-
MatIconModule,
|
|
437
|
-
MatButtonModule,
|
|
438
|
-
MatTooltipModule,
|
|
439
|
-
TFormInputStatusComponent,
|
|
440
|
-
EditorJsInputComponent,
|
|
441
|
-
QuillInputComponent,
|
|
442
|
-
], template: "<form [formGroup]=\"formGroup()\">\n @if (inputConfig(); as inputConfig) {\n <mat-form-field [appearance]=\"inputConfig.appearance || 'fill'\" subscriptSizing=\"dynamic\">\n <mat-label>\n {{ inputConfig.label }}\n <lib-t-form-input-status [inputConfig]=\"inputConfig\"></lib-t-form-input-status>\n </mat-label>\n\n @switch (inputConfig.richTextEditorLibrary) {\n @case (editorType.Quill) {\n <lib-quill-input\n [inputConfig]=\"inputConfig\"\n [formControlName]=\"inputConfig.id\"\n [required]=\"inputConfig.required\"\n ></lib-quill-input>\n }\n @case (editorType.EditorJS) {\n <lib-editor-js-input\n [inputConfig]=\"inputConfig\"\n [formControlName]=\"inputConfig.id\"\n [required]=\"inputConfig.required\"\n ></lib-editor-js-input>\n }\n }\n\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\n <mat-hint class=\"inputHint\">\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\n </mat-hint>\n }\n\n @if (!!errorMessage()) {\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\n }\n\n @if (inputConfig.prefixIcon) {\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\n }\n\n @if (inputConfig.canReload?.canReload) {\n <button\n mat-icon-button\n style=\"margin-right: 4px;\"\n matTooltip=\"Click to refresh this field.\"\n class=\"input-sync-button\"\n (click)=\"inputConfig.canReload.emit()\"\n matSuffix\n >\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\n </button>\n }\n\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\n }\n\n @if (inputConfig.prefixText) {\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\n }\n @if (inputConfig.suffixText) {\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\n }\n\n @if (inputConfig.maxLength && formGroup()) {\n <mat-hint align=\"end\">\n {{ (formGroup().controls[inputConfig.id]?.value?.length || 0) + '/' + inputConfig.maxLength }}\n </mat-hint>\n }\n </mat-form-field>\n }\n</form>\n", styles: ["mat-form-field{width:100%!important}mat-form-field .input-sync-button{display:none}mat-form-field:hover .input-sync-button{display:inline-block}\n"] }]
|
|
443
|
-
}], null, { inputConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputConfig", required: true }] }], formGroup: [{ type: i0.Input, args: [{ isSignal: true, alias: "formGroup", required: true }] }], reload: [{ type: i0.Output, args: ["reload"] }] }); })();
|
|
444
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EditorInputElementComponent, { className: "EditorInputElementComponent", filePath: "lib/components/t-form-input/elements/editor-input-element/editor-input-element.component.ts", lineNumber: 35 }); })();
|
|
445
|
-
|
|
446
|
-
export { EditorInputElementComponent };
|
|
447
|
-
//# sourceMappingURL=ngx-t-forms-editor-input-element.component-DYytkGYD.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-t-forms-editor-input-element.component-DYytkGYD.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/editor-input-element/core/quill-input/quill.config.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/editor-input-element/core/quill-input/quill-input.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/editor-input-element/core/quill-input/quill-input.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/editor-input-element/editor-input-element.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/editor-input-element/editor-input-element.component.ts"],"sourcesContent":["import type Quill from 'quill';\nimport type { Op, QuillOptions } from 'quill';\n\n/**\n * Serialized Quill document — the Delta op-list persisted as the control value.\n *\n * Stored as a plain object (NOT a live `Delta` instance) so it round-trips through\n * reactive-form state and the library's structural `_isEqual` check cleanly. `_isEqual`\n * rejects values whose constructors differ, so a `Delta` instance would never compare\n * equal to the plain object rehydrated from saved form data.\n */\nexport interface QuillContent {\n ops: Op[];\n}\n\n/** Inputs the host component feeds into the Quill setup. */\nexport interface QuillEditorPayload {\n /** Render the editor in non-editable mode. */\n readOnly: boolean;\n /** Placeholder shown while the document is empty. */\n placeholder?: string;\n}\n\n/**\n * Narrow surface of Quill's built-in table module (`getModule('table')`), typed so the\n * host component can drive table operations without leaking `any`.\n */\nexport interface QuillTableModule {\n insertTable(rows: number, columns: number): void;\n insertRowBelow(): void;\n insertColumnRight(): void;\n deleteRow(): void;\n deleteColumn(): void;\n deleteTable(): void;\n}\n\n/** A custom toolbar control wired to a native Quill table operation. */\nexport interface QuillTableControl {\n /** Toolbar format key — Quill renders it as a `button.ql-<format>`. */\n format: string;\n /** Tooltip surfaced via the button's `title` attribute. */\n title: string;\n /** Inline SVG markup. Paths use `ql-stroke` so they inherit the themed icon colour. */\n icon: string;\n /** Operation run against the native table module when the button is pressed. */\n run: (table: QuillTableModule) => void;\n}\n\nconst svg = (body: string): string => `<svg viewBox=\"0 0 18 18\">${body}</svg>`;\n\n/**\n * Word-like table toolkit backed by Quill's native table module. Each control degrades to a\n * no-op when the caret is outside a table, so the buttons are always safe to press.\n */\nexport const QUILL_TABLE_CONTROLS: readonly QuillTableControl[] = [\n {\n format: 'table-insert',\n title: 'Insert table (3×3)',\n icon: svg('<rect class=\"ql-stroke\" fill=\"none\" x=\"3\" y=\"4\" width=\"12\" height=\"10\" rx=\"1\"></rect><line class=\"ql-stroke\" x1=\"3\" y1=\"7.3\" x2=\"15\" y2=\"7.3\"></line><line class=\"ql-stroke\" x1=\"3\" y1=\"10.6\" x2=\"15\" y2=\"10.6\"></line><line class=\"ql-stroke\" x1=\"7\" y1=\"4\" x2=\"7\" y2=\"14\"></line><line class=\"ql-stroke\" x1=\"11\" y1=\"4\" x2=\"11\" y2=\"14\"></line>'),\n run: table => table.insertTable(3, 3),\n },\n {\n format: 'table-row',\n title: 'Insert row below',\n icon: svg('<rect class=\"ql-stroke\" fill=\"none\" x=\"3\" y=\"3\" width=\"12\" height=\"6\" rx=\"1\"></rect><line class=\"ql-stroke\" x1=\"9\" y1=\"11\" x2=\"9\" y2=\"15\"></line><line class=\"ql-stroke\" x1=\"7\" y1=\"13\" x2=\"11\" y2=\"13\"></line>'),\n run: table => table.insertRowBelow(),\n },\n {\n format: 'table-column',\n title: 'Insert column right',\n icon: svg('<rect class=\"ql-stroke\" fill=\"none\" x=\"3\" y=\"3\" width=\"6\" height=\"12\" rx=\"1\"></rect><line class=\"ql-stroke\" x1=\"13\" y1=\"6\" x2=\"13\" y2=\"12\"></line><line class=\"ql-stroke\" x1=\"11\" y1=\"9\" x2=\"15\" y2=\"9\"></line>'),\n run: table => table.insertColumnRight(),\n },\n {\n format: 'table-delete-row',\n title: 'Delete row',\n icon: svg('<rect class=\"ql-stroke\" fill=\"none\" x=\"3\" y=\"3\" width=\"12\" height=\"6\" rx=\"1\"></rect><line class=\"ql-stroke\" x1=\"7\" y1=\"13\" x2=\"11\" y2=\"13\"></line>'),\n run: table => table.deleteRow(),\n },\n {\n format: 'table-delete-column',\n title: 'Delete column',\n icon: svg('<rect class=\"ql-stroke\" fill=\"none\" x=\"3\" y=\"3\" width=\"6\" height=\"12\" rx=\"1\"></rect><line class=\"ql-stroke\" x1=\"11\" y1=\"9\" x2=\"15\" y2=\"9\"></line>'),\n run: table => table.deleteColumn(),\n },\n {\n format: 'table-delete',\n title: 'Delete table',\n icon: svg('<rect class=\"ql-stroke\" fill=\"none\" x=\"3\" y=\"3\" width=\"12\" height=\"12\" rx=\"1\"></rect><line class=\"ql-stroke\" x1=\"5.5\" y1=\"5.5\" x2=\"12.5\" y2=\"12.5\"></line><line class=\"ql-stroke\" x1=\"12.5\" y1=\"5.5\" x2=\"5.5\" y2=\"12.5\"></line>'),\n run: table => table.deleteTable(),\n },\n];\n\n/**\n * Human-readable tooltips for the built-in controls, keyed by the button's CSS selector.\n * Quill ships no titles of its own, so these make the toolbar self-explanatory.\n */\nexport const QUILL_BUILTIN_TITLES: Readonly<Record<string, string>> = {\n '.ql-bold': 'Bold',\n '.ql-italic': 'Italic',\n '.ql-underline': 'Underline',\n '.ql-strike': 'Strikethrough',\n '.ql-blockquote': 'Quote',\n '.ql-code-block': 'Code block',\n '.ql-link': 'Insert link',\n '.ql-image': 'Insert image',\n '.ql-video': 'Embed video',\n '.ql-clean': 'Clear formatting',\n '.ql-list[value=\"ordered\"]': 'Numbered list',\n '.ql-list[value=\"bullet\"]': 'Bulleted list',\n '.ql-list[value=\"check\"]': 'Checklist',\n '.ql-script[value=\"sub\"]': 'Subscript',\n '.ql-script[value=\"super\"]': 'Superscript',\n '.ql-indent[value=\"-1\"]': 'Decrease indent',\n '.ql-indent[value=\"+1\"]': 'Increase indent',\n '.ql-direction[value=\"rtl\"]': 'Right-to-left',\n '.ql-color': 'Text colour',\n '.ql-background': 'Highlight colour',\n '.ql-align': 'Alignment',\n '.ql-header': 'Heading',\n '.ql-font': 'Font',\n '.ql-size': 'Font size',\n};\n\n/**\n * Comprehensive, logically grouped \"snow\" toolbar — headings/fonts, inline styling, colour,\n * scripts, lists, indentation/alignment, blocks, media and a native table toolkit.\n */\nconst TOOLBAR_CONTAINER: readonly unknown[] = [\n [{ header: [1, 2, 3, 4, 5, 6, false] }, { font: [] }, { size: ['small', false, 'large', 'huge'] }],\n ['bold', 'italic', 'underline', 'strike'],\n [{ color: [] }, { background: [] }],\n [{ script: 'sub' }, { script: 'super' }],\n [{ list: 'ordered' }, { list: 'bullet' }, { list: 'check' }],\n [{ indent: '-1' }, { indent: '+1' }, { align: [] }, { direction: 'rtl' }],\n ['blockquote', 'code-block'],\n ['link', 'image', 'video'],\n QUILL_TABLE_CONTROLS.map(control => control.format),\n ['clean']\n];\n\n/** The `this` context Quill binds when it invokes a toolbar handler. */\ninterface ToolbarHandlerContext {\n quill: Quill;\n}\n\n/**\n * Builds the toolbar handler map for the custom table buttons.\n *\n * These MUST be supplied in the toolbar config (not added later via `addHandler`): Quill's\n * toolbar skips attaching a click listener to any button whose format is neither a registered\n * blot nor already present in `handlers` at construction time. A late `addHandler` sets the\n * handler but never re-attaches the listener, so the button stays inert.\n */\nconst buildTableHandlers = (): Record<string, (this: ToolbarHandlerContext) => void> => {\n const handlers: Record<string, (this: ToolbarHandlerContext) => void> = {};\n for (const control of QUILL_TABLE_CONTROLS) {\n handlers[control.format] = function tableHandler(this: ToolbarHandlerContext): void {\n const table = this.quill.getModule('table') as QuillTableModule;\n // Native table ops bail when there is no selection; force focus + a range first.\n this.quill.getSelection(true);\n control.run(table);\n };\n }\n return handlers;\n};\n\n/**\n * Builds a ready-to-use `QuillOptions` for a \"snow\" editor with the native table module\n * enabled and the custom table-button handlers wired into the toolbar config.\n *\n * Browser-only by construction: callers MUST instantiate Quill behind an\n * `isPlatformBrowser(...)` guard because Quill touches `document` at construction time.\n */\nexport const buildQuillOptions = (payload: QuillEditorPayload): QuillOptions => ({\n theme: 'snow',\n readOnly: payload.readOnly,\n placeholder: payload.placeholder ?? \"Let's write something amazing...\",\n modules: {\n toolbar: {\n container: TOOLBAR_CONTAINER,\n handlers: buildTableHandlers()\n },\n table: true,\n history: { delay: 1000, maxStack: 100, userOnly: true },\n clipboard: { matchVisual: false }\n }\n});\n\n/**\n * Quill's empty document is a single trailing newline op. Treat that — and a literally\n * empty op-list — as \"no value\" so `required` validation behaves intuitively.\n */\nexport const isEmptyQuillDocument = (ops: Op[]): boolean =>\n ops.length === 0 || (ops.length === 1 && ops[0]?.insert === '\\n');\n","/// <reference path=\"../../../../../../../types/quill.d.ts\" />\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Input,\n OnDestroy,\n PLATFORM_ID,\n inject,\n input,\n output,\n viewChild\n} from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\nimport { NgControl } from '@angular/forms';\n\nimport { ITowerStepColumn } from 'ngx-t-forms-types';\n// Mirrors the EditorJS sibling (Trap 16): `quill` is a browser-only bundle that touches\n// `document` at construction time and crashes under bare-Node SSR. The top-level import is\n// type-only (zero runtime emission); the real load happens inside the SSR-gated\n// `ngAfterViewInit` via dynamic `import()`.\nimport type QuillType from 'quill';\nimport { MatFormFieldControl } from '@angular/material/form-field';\n\nimport { BaseCustomInput, BaseCustomInputConfig } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';\nimport {\n buildQuillOptions,\n isEmptyQuillDocument,\n QUILL_BUILTIN_TITLES,\n QUILL_TABLE_CONTROLS,\n QuillContent\n} from './quill.config';\nimport { _isEqual } from '../../../../../../shared/functions/isEqual';\n\nconst customInputConfig: BaseCustomInputConfig = {\n controlType: 'lib-quill-input',\n nextId: 0\n};\n\n/**\n * Quill (\"snow\" theme) rich-text editor wired into Angular Material's form-field as a\n * custom `MatFormFieldControl`. The full Quill setup — toolbar, formats, history — lives in\n * `quill.config.ts`; this component owns lifecycle, SSR gating and value round-tripping.\n */\n@Component({\n selector: 'lib-quill-input',\n templateUrl: './quill-input.component.html',\n styleUrl: './quill-input.component.css',\n imports: [],\n host: {\n '[class.floating]': 'shouldLabelFloat',\n '[id]': 'id'\n },\n providers: [{ provide: MatFormFieldControl, useExisting: QuillInputComponent }],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class QuillInputComponent\n extends BaseCustomInput<QuillContent | undefined>\n implements AfterViewInit, OnDestroy {\n\n readonly inputConfig = input.required<ITowerStepColumn>();\n\n readonly valueChanged = output<QuillContent | undefined>();\n\n protected editor: QuillType | undefined;\n\n private readonly editorHost = viewChild.required<ElementRef<HTMLElement>>('editorHost');\n\n readonly #platformId = inject(PLATFORM_ID);\n\n #changeHandler: (() => void) | undefined;\n\n constructor() {\n super(\n inject(NgControl, { optional: true, self: true }) as NgControl,\n inject<ElementRef<HTMLElement>>(ElementRef),\n customInputConfig\n );\n }\n\n override get empty(): boolean {\n const n = this.value;\n return n === null || n === undefined;\n }\n\n override get shouldLabelFloat(): boolean {\n return true;\n }\n\n override _value: QuillContent | undefined = undefined;\n\n @Input() override set value(value: QuillContent | undefined) {\n if (!_isEqual(this._value, value)) {\n this._value = value;\n this.onChange(value);\n this.stateChanges.next();\n }\n }\n\n override get value(): QuillContent | undefined {\n return this._value;\n }\n\n async ngAfterViewInit(): Promise<void> {\n if (!isPlatformBrowser(this.#platformId)) return;\n\n // Browser-only dynamic load — see the Trap 16 comment at the top of this file. The\n // CSS import injects Quill's global theme styles (Quill's runtime DOM is not view-scoped).\n const [{ default: Quill, Delta }] = await Promise.all([\n import('quill'),\n import('quill/dist/quill.snow.css')\n ]);\n\n const config = this.inputConfig();\n this.editor = new Quill(this.editorHost().nativeElement, buildQuillOptions({\n readOnly: config.readonly || config.disabled || false,\n placeholder: config.placeholder\n }));\n\n const initial = this.value;\n if (initial?.ops?.length) {\n this.editor.setContents(new Delta(initial.ops), 'silent');\n }\n\n this.#decorateToolbar();\n\n this.#changeHandler = () => this.contentChangedSaveValue();\n this.editor.on('text-change', this.#changeHandler);\n }\n\n /**\n * Quill ships no icons for custom buttons and no tooltips for any button. Inject themeable\n * SVG icons (their `ql-stroke` paths inherit the toolbar colour) and `title` tooltips so the\n * toolbar reads clearly in both light and dark mode.\n */\n #decorateToolbar(): void {\n const root = this._elementRef.nativeElement;\n for (const control of QUILL_TABLE_CONTROLS) {\n const button = root.querySelector<HTMLElement>(`.ql-${control.format}`);\n if (!button) continue;\n button.innerHTML = control.icon;\n button.setAttribute('title', control.title);\n }\n for (const [selector, title] of Object.entries(QUILL_BUILTIN_TITLES)) {\n root.querySelectorAll<HTMLElement>(selector).forEach(el => el.setAttribute('title', title));\n }\n }\n\n contentChangedSaveValue(): void {\n if (!this.editor) return;\n const ops = this.editor.getContents().ops;\n const value: QuillContent | undefined = isEmptyQuillDocument(ops) ? undefined : { ops };\n this.value = value;\n this.onChange(value);\n console.error('Quill content changed, new value:', value);\n this.valueChanged.emit(value);\n }\n\n override ngOnDestroy(): void {\n this.stateChanges.complete();\n if (this.editor && this.#changeHandler) {\n this.editor.off('text-change', this.#changeHandler);\n }\n this.editor = undefined;\n }\n}\n","\n<div class=\"quill-host\">\n <div #editorHost></div>\n</div>\n","<form [formGroup]=\"formGroup()\">\n @if (inputConfig(); as inputConfig) {\n <mat-form-field [appearance]=\"inputConfig.appearance || 'fill'\" subscriptSizing=\"dynamic\">\n <mat-label>\n {{ inputConfig.label }}\n <lib-t-form-input-status [inputConfig]=\"inputConfig\"></lib-t-form-input-status>\n </mat-label>\n\n @switch (inputConfig.richTextEditorLibrary) {\n @case (editorType.Quill) {\n <lib-quill-input\n [inputConfig]=\"inputConfig\"\n [formControlName]=\"inputConfig.id\"\n [required]=\"inputConfig.required\"\n ></lib-quill-input>\n }\n @case (editorType.EditorJS) {\n <lib-editor-js-input\n [inputConfig]=\"inputConfig\"\n [formControlName]=\"inputConfig.id\"\n [required]=\"inputConfig.required\"\n ></lib-editor-js-input>\n }\n }\n\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\n <mat-hint class=\"inputHint\">\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\n </mat-hint>\n }\n\n @if (!!errorMessage()) {\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\n }\n\n @if (inputConfig.prefixIcon) {\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\n }\n\n @if (inputConfig.canReload?.canReload) {\n <button\n mat-icon-button\n style=\"margin-right: 4px;\"\n matTooltip=\"Click to refresh this field.\"\n class=\"input-sync-button\"\n (click)=\"inputConfig.canReload.emit()\"\n matSuffix\n >\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\n </button>\n }\n\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\n }\n\n @if (inputConfig.prefixText) {\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\n }\n @if (inputConfig.suffixText) {\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\n }\n\n @if (inputConfig.maxLength && formGroup()) {\n <mat-hint align=\"end\">\n {{ (formGroup().controls[inputConfig.id]?.value?.length || 0) + '/' + inputConfig.maxLength }}\n </mat-hint>\n }\n </mat-form-field>\n }\n</form>\n","import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { FormGroup, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport type { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { RichTextEditorType } from 'ngx-t-forms-types';\r\nimport { TFormInputStatusComponent } from '../../../t-form-input-status/t-form-input-status.component';\r\nimport { EditorJsInputComponent } from './core/editor-js-input/editor-js-input.component';\r\nimport { QuillInputComponent } from './core/quill-input/quill-input.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\n\r\n/**\r\n * Wraps a configurable rich-text editor inside a `mat-form-field`, selecting the concrete\r\n * editor (EditorJS or Quill) from the column's `richTextEditorLibrary`, with shared\r\n * label / hint / error / suffix / prefix metadata from the column.\r\n */\r\n@Component({\r\n selector: 'lib-editor-input-element',\r\n templateUrl: './editor-input-element.component.html',\r\n styleUrl: './editor-input-element.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [\r\n ReactiveFormsModule,\r\n MatFormFieldModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatTooltipModule,\r\n TFormInputStatusComponent,\r\n EditorJsInputComponent,\r\n QuillInputComponent,\r\n ],\r\n})\r\nexport class EditorInputElementComponent {\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n readonly formGroup = input.required<FormGroup>();\r\n readonly reload = output<void>();\r\n\r\n /** Editor-library enum exposed for `@switch` in the template. */\r\n protected readonly editorType = RichTextEditorType;\r\n\r\n protected readonly errorMessage = computed(() =>\r\n getInputErrorMessage(this.inputConfig(), this.formGroup()),\r\n );\r\n}\r\n"],"names":["i4"],"mappings":";;;;;;;;;;;;;;;;;AAgDA,MAAM,GAAG,GAAG,CAAC,IAAY,KAAa,CAAA,yBAAA,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