ngx-t-forms 2.0.27 → 2.0.29
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/README.md +2 -1
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-Cs_Lhz_D.mjs → ngx-t-forms-calculated-field-rules.component-D-SBMdYg.mjs} +12 -12
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-Cs_Lhz_D.mjs.map → ngx-t-forms-calculated-field-rules.component-D-SBMdYg.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-DkTpG5yQ.mjs → ngx-t-forms-chip-options-creator-editor.component-1cpszpPN.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-DkTpG5yQ.mjs.map → ngx-t-forms-chip-options-creator-editor.component-1cpszpPN.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-DJ9d3Oy9.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-DFdAVWTg.mjs} +9 -11
- package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-DFdAVWTg.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-data-source-picker.component-CFQ_GVPG.mjs → ngx-t-forms-data-source-picker.component-DxORinAD.mjs} +10 -11
- package/fesm2022/ngx-t-forms-data-source-picker.component-DxORinAD.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-CPF_BLRA.mjs → ngx-t-forms-document-list-label-config-editor.component-DcWS1txl.mjs} +9 -11
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-DcWS1txl.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-form-input-selector.component-B2QEnvkq.mjs +134 -0
- package/fesm2022/ngx-t-forms-form-input-selector.component-B2QEnvkq.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-form-json-view.component-C7i6JZ-l.mjs → ngx-t-forms-form-json-view.component-DePf44w6.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-form-json-view.component-C7i6JZ-l.mjs.map → ngx-t-forms-form-json-view.component-DePf44w6.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-form-section-stepper.component-BTkcSjg7.mjs +270 -0
- package/fesm2022/ngx-t-forms-form-section-stepper.component-BTkcSjg7.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-G3Agd-vE.mjs → ngx-t-forms-forms-builder-menu.component-Wamzf_sq.mjs} +27 -31
- package/fesm2022/ngx-t-forms-forms-builder-menu.component-Wamzf_sq.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-input-editor.component-D4xHO76K.mjs +147 -0
- package/fesm2022/ngx-t-forms-input-editor.component-D4xHO76K.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-map-mat-options-keys-CbdW82su.mjs +124 -0
- package/fesm2022/ngx-t-forms-map-mat-options-keys-CbdW82su.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-dIY3BX1u.mjs → ngx-t-forms-mat-chip-list-editor.component-DmTyO9Wi.mjs} +9 -10
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-DmTyO9Wi.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-mat-slider-editor.component-yMRCg8fo.mjs → ngx-t-forms-mat-slider-editor.component-DZ4TenrI.mjs} +5 -6
- package/fesm2022/ngx-t-forms-mat-slider-editor.component-DZ4TenrI.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-mat-slider-toggle-editor.component-0aUVP9A6.mjs → ngx-t-forms-mat-slider-toggle-editor.component-DPyBYE4p.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-mat-slider-toggle-editor.component-0aUVP9A6.mjs.map → ngx-t-forms-mat-slider-toggle-editor.component-DPyBYE4p.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-missing-form-configs.component-BRmnwAK6.mjs +28 -0
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-CsPMQZqg.mjs.map → ngx-t-forms-missing-form-configs.component-BRmnwAK6.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-D8a9-6lt.mjs → ngx-t-forms-mscoa-chart-toolbar.component-D_umeAPL.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-D8a9-6lt.mjs.map → ngx-t-forms-mscoa-chart-toolbar.component-D_umeAPL.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mscoa-error-display.component-DwbyXd_D.mjs → ngx-t-forms-mscoa-error-display.component-CSX2NCNU.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-mscoa-error-display.component-DwbyXd_D.mjs.map → ngx-t-forms-mscoa-error-display.component-CSX2NCNU.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-BXPghOuH.mjs → ngx-t-forms-mscoa-segment-config.component-B6IF8kGg.mjs} +11 -14
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-B6IF8kGg.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-CBRfWvfD.mjs → ngx-t-forms-mscoa-temporary-hint.component-BPkjsRmH.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-CBRfWvfD.mjs.map → ngx-t-forms-mscoa-temporary-hint.component-BPkjsRmH.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-ngx-t-forms-CD9InaXz.mjs → ngx-t-forms-ngx-t-forms-D9qmig6g.mjs} +1784 -783
- package/fesm2022/ngx-t-forms-ngx-t-forms-D9qmig6g.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-pipeline-generator.component-QE-I58e4.mjs → ngx-t-forms-pipeline-generator.component-DBJEyCbd.mjs} +21 -45
- package/fesm2022/ngx-t-forms-pipeline-generator.component-DBJEyCbd.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-record-list-manager.component-D4wlLtdc.mjs → ngx-t-forms-record-list-manager.component-Dgs9lNSr.mjs} +9 -10
- package/fesm2022/ngx-t-forms-record-list-manager.component-Dgs9lNSr.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-required-inputs.component-BoqmVDp2.mjs → ngx-t-forms-required-inputs.component-CSIJvSHq.mjs} +10 -12
- package/fesm2022/ngx-t-forms-required-inputs.component-CSIJvSHq.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-CtfudSGT.mjs → ngx-t-forms-rest-api-call-setup.component-CY-JSkGs.mjs} +14 -18
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-CY-JSkGs.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-section-report.component-Dntm1m5b.mjs → ngx-t-forms-section-report.component-12-KdKT6.mjs} +11 -11
- package/fesm2022/{ngx-t-forms-section-report.component-Dntm1m5b.mjs.map → ngx-t-forms-section-report.component-12-KdKT6.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-Cc_qCtW2.mjs → ngx-t-forms-selection-options-editor.component-Be3QAG_L.mjs} +11 -12
- package/fesm2022/ngx-t-forms-selection-options-editor.component-Be3QAG_L.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-t-workflow-picker.component-xvX8t0pu.mjs → ngx-t-forms-t-workflow-picker.component-a4f1r8gH.mjs} +12 -12
- package/fesm2022/{ngx-t-forms-t-workflow-picker.component-xvX8t0pu.mjs.map → ngx-t-forms-t-workflow-picker.component-a4f1r8gH.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-validators-config.component-D6JG1p81.mjs → ngx-t-forms-validators-config.component-B3j9Dmgu.mjs} +13 -15
- package/fesm2022/ngx-t-forms-validators-config.component-B3j9Dmgu.mjs.map +1 -0
- package/fesm2022/ngx-t-forms.mjs +1 -1
- package/package.json +10 -8
- package/types/ngx-t-forms.d.ts +962 -0
- package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-DJ9d3Oy9.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-data-source-picker.component-CFQ_GVPG.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-CPF_BLRA.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-form-input-selector.component-C38FXT55.mjs +0 -132
- package/fesm2022/ngx-t-forms-form-input-selector.component-C38FXT55.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-form-section-stepper.component-CJz0yr78.mjs +0 -264
- package/fesm2022/ngx-t-forms-form-section-stepper.component-CJz0yr78.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-forms-builder-menu.component-G3Agd-vE.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-input-editor.component-B12zbXE1.mjs +0 -147
- package/fesm2022/ngx-t-forms-input-editor.component-B12zbXE1.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-dIY3BX1u.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mat-slider-editor.component-yMRCg8fo.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-missing-form-configs.component-CsPMQZqg.mjs +0 -28
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-BXPghOuH.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-ngx-t-forms-CD9InaXz.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-pipeline-generator.component-QE-I58e4.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-record-list-manager.component-D4wlLtdc.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-required-inputs.component-BoqmVDp2.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-CtfudSGT.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-selection-options-editor.component-Cc_qCtW2.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-validators-config.component-D6JG1p81.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/components/dialog-template/dialog-template.component.d.ts +0 -10
- package/lib/components/form-builder/elements/default-element/default-element.component.d.ts +0 -12
- package/lib/components/form-builder/elements/form-json-view/form-json-view.component.d.ts +0 -9
- package/lib/components/form-builder/elements/form-section-stepper/form-section-stepper.component.d.ts +0 -72
- package/lib/components/form-builder/elements/form-submissions-config/config.d.ts +0 -18
- package/lib/components/form-builder/elements/form-submissions-config/form-submissions-config.component.d.ts +0 -61
- package/lib/components/form-builder/elements/forms-builder-menu/forms-builder-menu.component.d.ts +0 -55
- package/lib/components/form-builder/elements/input-editor/input-editor.component.d.ts +0 -18
- package/lib/components/form-builder/elements/input-element-editor/input-element-editor.component.d.ts +0 -109
- package/lib/components/form-builder/elements/missing-form-configs/missing-form-configs.component.d.ts +0 -12
- package/lib/components/form-builder/elements/section-report/section-report.component.d.ts +0 -23
- package/lib/components/form-builder/elements/select-form-template/select-form-template.component.d.ts +0 -22
- package/lib/components/form-builder/form-builder.component.d.ts +0 -29
- package/lib/components/forms/forms.component.d.ts +0 -52
- package/lib/components/forms/functions/cloneCopyFormInput.d.ts +0 -3
- package/lib/components/forms/functions/elementBlur.d.ts +0 -2
- package/lib/components/forms/functions/elementConfigurationChanged.d.ts +0 -2
- package/lib/components/forms/functions/findFormInput.d.ts +0 -2
- package/lib/components/forms/functions/formHttpSubmissions.d.ts +0 -6
- package/lib/components/forms/functions/selectInputTemplate.d.ts +0 -3
- package/lib/components/forms/store/Form-actions-formBuilder.d.ts +0 -36
- package/lib/components/forms/store/Form-selectors-FormBuilder.d.ts +0 -74
- package/lib/components/forms/store/Forms-Actions.d.ts +0 -75
- package/lib/components/forms/store/Forms-Effects.d.ts +0 -20
- package/lib/components/forms/store/Forms-selectors.d.ts +0 -3
- package/lib/components/forms/store/forms-store.service.d.ts +0 -222
- package/lib/components/index.d.ts +0 -13
- package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/api-value-access-rules.component.d.ts +0 -79
- package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/elements/data-tree/data-tree.component.d.ts +0 -56
- package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/elements/validation-expressio-creator/validation-expressio-creator.component.d.ts +0 -50
- package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/functions/convertDataToTree.d.ts +0 -52
- package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/functions/extractNodeFromTree.d.ts +0 -3
- package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/functions/validateExpression.d.ts +0 -6
- package/lib/components/t-dynamic-data-edit/elements/calculated-field-rules/calculated-field-rules.component.d.ts +0 -80
- package/lib/components/t-dynamic-data-edit/elements/chip-options-creator-editor/chip-options-creator-editor.component.d.ts +0 -53
- package/lib/components/t-dynamic-data-edit/elements/config-mscoa-additional-inputs/config-mscoa-additional-inputs.component.d.ts +0 -73
- package/lib/components/t-dynamic-data-edit/elements/data-source-picker/data-source-picker.component.d.ts +0 -57
- package/lib/components/t-dynamic-data-edit/elements/document-list-label-config-editor/document-list-label-config-editor.component.d.ts +0 -69
- package/lib/components/t-dynamic-data-edit/elements/form-input-selector/form-input-selector.component.d.ts +0 -48
- package/lib/components/t-dynamic-data-edit/elements/json-editor/json-editor.component.d.ts +0 -54
- package/lib/components/t-dynamic-data-edit/elements/mat-chip-list-editor/mat-chip-list-editor.component.d.ts +0 -49
- package/lib/components/t-dynamic-data-edit/elements/mat-slider-editor/mat-slider-editor.component.d.ts +0 -44
- package/lib/components/t-dynamic-data-edit/elements/mat-slider-toggle-editor/mat-slider-toggle-editor.component.d.ts +0 -48
- package/lib/components/t-dynamic-data-edit/elements/mscoa-segment-config/mscoa-segment-config.component.d.ts +0 -80
- package/lib/components/t-dynamic-data-edit/elements/pipeline-generator/elements/aggregate-stage-editor/aggregate-stage-editor.component.d.ts +0 -33
- package/lib/components/t-dynamic-data-edit/elements/pipeline-generator/pipeline-generator.component.d.ts +0 -92
- package/lib/components/t-dynamic-data-edit/elements/postman-collections/functions/convertPostmanCollectionToTree.d.ts +0 -4
- package/lib/components/t-dynamic-data-edit/elements/postman-collections/functions/filterCollectionItems.d.ts +0 -3
- package/lib/components/t-dynamic-data-edit/elements/postman-collections/functions/methodColors.d.ts +0 -1
- package/lib/components/t-dynamic-data-edit/elements/postman-collections/postman-collections.component.d.ts +0 -28
- package/lib/components/t-dynamic-data-edit/elements/record-list-manager/record-list-manager.component.d.ts +0 -75
- package/lib/components/t-dynamic-data-edit/elements/required-inputs/required-inputs.component.d.ts +0 -58
- package/lib/components/t-dynamic-data-edit/elements/rest-api-call-setup/rest-api-call-setup.component.d.ts +0 -46
- package/lib/components/t-dynamic-data-edit/elements/selection-options-editor/selection-options-editor.component.d.ts +0 -79
- package/lib/components/t-dynamic-data-edit/elements/t-workflow-picker/t-workflow-picker.component.d.ts +0 -59
- package/lib/components/t-dynamic-data-edit/elements/validators-config/validators-config.component.d.ts +0 -60
- package/lib/components/t-dynamic-data-edit/functions/testData.d.ts +0 -2
- package/lib/components/t-dynamic-data-edit/t-dynamic-data-edit.component.d.ts +0 -61
- package/lib/components/t-dynamic-data-view/t-dynamic-data-view.component.d.ts +0 -14
- package/lib/components/t-form-input/elements/Geo-location-form-input/elements/geo-location-form-input/geo-location-form-input.component.d.ts +0 -17
- package/lib/components/t-form-input/elements/Geo-location-form-input/functions/getGeoLocation.d.ts +0 -2
- package/lib/components/t-form-input/elements/Geo-location-form-input/geo-location.component.d.ts +0 -14
- package/lib/components/t-form-input/elements/auto-complete-input-element/auto-complete-input-element.component.d.ts +0 -13
- package/lib/components/t-form-input/elements/auto-complete-input-element/core/auto-complet-reactive-input/auto-complet-reactive-input.component.d.ts +0 -19
- package/lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.d.ts +0 -17
- package/lib/components/t-form-input/elements/basic-input-input-element/core/input-custom/input-custom.component.d.ts +0 -18
- package/lib/components/t-form-input/elements/date-picker-input-element/core/date-picker-reactive-input/date-picker-reactive-input.component.d.ts +0 -16
- package/lib/components/t-form-input/elements/date-picker-input-element/date-picker-input-element.component.d.ts +0 -12
- package/lib/components/t-form-input/elements/date-range-picker-input-element/core/date-range-picker-reactive-input/date-range-picker-reactive-input.component.d.ts +0 -17
- package/lib/components/t-form-input/elements/date-range-picker-input-element/date-range-picker-input-element.component.d.ts +0 -33
- package/lib/components/t-form-input/elements/document-picker/core/document-picker-reactive-input/document-picker-reactive-input.component.d.ts +0 -47
- package/lib/components/t-form-input/elements/document-picker/document-picker.component.d.ts +0 -14
- package/lib/components/t-form-input/elements/editor-input-element/core/editor-js-input/editor-js-input.component.d.ts +0 -22
- package/lib/components/t-form-input/elements/editor-input-element/core/form-input-rich-text-editor/config.d.ts +0 -10
- package/lib/components/t-form-input/elements/editor-input-element/editor-input-element.component.d.ts +0 -13
- package/lib/components/t-form-input/elements/file-upload-input-element/core/file-uploader/camera-functions.d.ts +0 -3
- package/lib/components/t-form-input/elements/file-upload-input-element/core/file-uploader/file-uploader.component.d.ts +0 -30
- package/lib/components/t-form-input/elements/file-upload-input-element/file-upload-input-element.component.d.ts +0 -13
- package/lib/components/t-form-input/elements/image-capture-input-element/core/camera-capture/camera-capture.component.d.ts +0 -27
- package/lib/components/t-form-input/elements/image-capture-input-element/image-capture-input-element.component.d.ts +0 -12
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/account-value/account-value.component.d.ts +0 -41
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/components/mscoa-chart-input-menu/mscoa-chart-input-menu.component.d.ts +0 -23
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/components/mscoa-chart-toolbar/mscoa-chart-toolbar.component.d.ts +0 -22
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/components/mscoa-error-display/mscoa-error-display.component.d.ts +0 -34
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/components/mscoa-temporary-hint/mscoa-temporary-hint.component.d.ts +0 -21
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/extractCols.d.ts +0 -22
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/mscoa-chart.component.d.ts +0 -336
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/utils/mscoa-chart.constants.d.ts +0 -47
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/utils/mscoa-chart.helpers.d.ts +0 -87
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/utils/mscoa-chart.types.d.ts +0 -51
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/utils/mscoa-message-formatter.d.ts +0 -87
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-computation/mscoa-computation.component.d.ts +0 -189
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-reactive-form-field/mscoa-reactive-form-field.component.d.ts +0 -34
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/scoa-account-table/scoa-account-table.component.d.ts +0 -89
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/scoa-input/scoa-input.component.d.ts +0 -27
- package/lib/components/t-form-input/elements/mscoa-form-input/mscoa-form-input.component.d.ts +0 -15
- package/lib/components/t-form-input/elements/mscoa-form-input/store/accountConstants.d.ts +0 -10
- package/lib/components/t-form-input/elements/mscoa-form-input/store/mscoa-actions.d.ts +0 -30
- package/lib/components/t-form-input/elements/mscoa-form-input/store/mscoa-component-store.service.d.ts +0 -100
- package/lib/components/t-form-input/elements/mscoa-form-input/store/mscoa-effects.d.ts +0 -9
- package/lib/components/t-form-input/elements/mscoa-form-input/store/mscoa-selectors.d.ts +0 -60
- package/lib/components/t-form-input/elements/multiple-input-input-element/core/multiple-input-table/multiple-input-table.component.d.ts +0 -48
- package/lib/components/t-form-input/elements/multiple-input-input-element/core/multiple-input-table-edit/multiple-input-table-edit.component.d.ts +0 -51
- package/lib/components/t-form-input/elements/multiple-input-input-element/core/multiple-input-table-view/multiple-input-table-view.component.d.ts +0 -47
- package/lib/components/t-form-input/elements/multiple-input-input-element/functions/getListCalculated.d.ts +0 -2
- package/lib/components/t-form-input/elements/multiple-input-input-element/multiple-input-input-element.component.d.ts +0 -15
- package/lib/components/t-form-input/elements/section-title/section-title.component.d.ts +0 -7
- package/lib/components/t-form-input/elements/select-input-element/elements/select-input/select-input.component.d.ts +0 -27
- package/lib/components/t-form-input/elements/select-input-element/select-input-element.component.d.ts +0 -18
- package/lib/components/t-form-input/elements/signature-input-element/config/signature.d.ts +0 -2
- package/lib/components/t-form-input/elements/signature-input-element/core/signature-pad-input/functions/getSignatureImage.d.ts +0 -3
- package/lib/components/t-form-input/elements/signature-input-element/core/signature-pad-input/signature-pad-input.component.d.ts +0 -40
- package/lib/components/t-form-input/elements/signature-input-element/signature-input-element.component.d.ts +0 -12
- package/lib/components/t-form-input/elements/textarea-input-element/core/text-area-reactive-input/text-area-reactive-input.component.d.ts +0 -19
- package/lib/components/t-form-input/elements/textarea-input-element/textarea-input-element.component.d.ts +0 -12
- package/lib/components/t-form-input/elements/toggle-input-element/core/toggle/toggle.component.d.ts +0 -16
- package/lib/components/t-form-input/elements/toggle-input-element/toggle-input-element.component.d.ts +0 -12
- package/lib/components/t-form-input/elements/workflow-adjudication/elements/point-assignment/elements/point-assignment-dialog/point-assignment-dialog.component.d.ts +0 -41
- package/lib/components/t-form-input/elements/workflow-adjudication/elements/point-assignment/point-assignment.component.d.ts +0 -44
- package/lib/components/t-form-input/elements/workflow-adjudication/elements/points-creation/points-creation.component.d.ts +0 -31
- package/lib/components/t-form-input/elements/workflow-adjudication/elements/submission-review/elements/submission-review-dialog/submission-review-dialog.component.d.ts +0 -27
- package/lib/components/t-form-input/elements/workflow-adjudication/elements/submission-review/submission-review.component.d.ts +0 -79
- package/lib/components/t-form-input/elements/workflow-adjudication/elements/supplier-selection/supplier-selection.component.d.ts +0 -33
- package/lib/components/t-form-input/elements/workflow-adjudication/elements/workflow-adjudication-reactive-input/workflow-adjudication-reactive-input.component.d.ts +0 -19
- package/lib/components/t-form-input/elements/workflow-adjudication/workflow-adjudication.component.d.ts +0 -14
- package/lib/components/t-form-input/t-form-input.component.d.ts +0 -21
- package/lib/components/t-form-input-status/t-form-input-status.component.d.ts +0 -11
- package/lib/components/user-form-stepper/user-form-stepper.component.d.ts +0 -38
- package/lib/injection-tokens/index.d.ts +0 -14
- package/lib/ngx-t-forms.component.d.ts +0 -5
- package/lib/ngx-t-forms.service.d.ts +0 -6
- package/lib/services/core/t-form-builder/functions/addFormInputToForm.d.ts +0 -8
- package/lib/services/core/t-form-builder/functions/addMultipleInputFunction.d.ts +0 -2
- package/lib/services/core/t-form-builder/functions/addNewSection.d.ts +0 -2
- package/lib/services/core/t-form-builder/functions/addScoaExtensionInput.d.ts +0 -2
- package/lib/services/core/t-form-builder/functions/deleteSection.d.ts +0 -3
- package/lib/services/core/t-form-builder/functions/formCanSave.d.ts +0 -3
- package/lib/services/core/t-form-builder/functions/inputElementEditorConfigs.d.ts +0 -127
- package/lib/services/core/t-form-builder/functions/moveFormInput.d.ts +0 -4
- package/lib/services/core/t-form-builder/functions/moveInputToDiffSection.d.ts +0 -2
- package/lib/services/core/t-form-builder/functions/multipleInputToggleLabel.d.ts +0 -2
- package/lib/services/core/t-form-builder/functions/removeItem.d.ts +0 -8
- package/lib/services/core/t-form-builder/functions/sectionDrop.d.ts +0 -3
- package/lib/services/core/t-form-builder/functions/stepTitleChangeStep.d.ts +0 -15
- package/lib/services/core/t-form-controller/function/calculateInputValue.d.ts +0 -11
- package/lib/services/core/t-form-controller/function/getApiDataFetching.d.ts +0 -4
- package/lib/services/core/t-form-controller/function/getInputSourcedValue.d.ts +0 -4
- package/lib/services/core/t-form-controller/function/multipleFormInputsMapValueToFormInputId.d.ts +0 -2
- package/lib/services/core/t-form-controller/function/postApiDataFetching.d.ts +0 -16
- package/lib/services/core/t-form-controller/function/validateMinInputForPostRequest.d.ts +0 -8
- package/lib/services/core/t-form-environment-injection/functions/provideNgxTforms.d.ts +0 -3
- package/lib/services/core/t-form-section-controller/Functions/commonFormOperations.d.ts +0 -21
- package/lib/services/core/t-form-section-controller/Functions/errorResolver.d.ts +0 -7
- package/lib/services/core/t-form-section-controller/Functions/formGenerator.d.ts +0 -29
- package/lib/services/core/t-form-section-controller/Functions/getValueFromPathMap.d.ts +0 -4
- package/lib/services/core/t-form-tower-controller/form-tower-controller.service.d.ts +0 -103
- package/lib/services/core/t-form-tower-controller/functions/allFormInputs.d.ts +0 -2
- package/lib/services/core/t-form-tower-controller/functions/createEmptyForm.d.ts +0 -2
- package/lib/services/core/t-form-tower-controller/functions/extractInitFunctions.d.ts +0 -8
- package/lib/services/core/t-form-tower-controller/functions/getAllFunctionTypes.d.ts +0 -14
- package/lib/services/core/t-form-tower-controller/functions/getFormValue.d.ts +0 -4
- package/lib/services/core/t-form-tower-controller/functions/getSubmissionStatus.d.ts +0 -7
- package/lib/services/core/t-form-tower-controller/functions/handleStepChange.d.ts +0 -3
- package/lib/services/core/t-form-tower-controller/functions/multipleInputRowIDControllInput.d.ts +0 -2
- package/lib/services/core/t-form-tower-controller/functions/prePoPulateForm.d.ts +0 -2
- package/lib/services/core/t-form-tower-controller/functions/runMultipleInputPrepopulationFunctions.d.ts +0 -11
- package/lib/services/core/t-form-tower-controller/functions/saveMultipleInputForm.d.ts +0 -10
- package/lib/services/core/t-form-tower-controller/functions/selectFormSteps.d.ts +0 -9
- package/lib/services/core/t-form-tower-controller/functions/setControlTempErrors.d.ts +0 -3
- package/lib/services/core/t-form-tower-controller/functions/setInputAsTouchedAndDirty.d.ts +0 -2
- package/lib/services/core/t-form-tower-controller/functions/setInputError.d.ts +0 -5
- package/lib/services/core/t-form-tower-controller/functions/setInputStatus.d.ts +0 -3
- package/lib/services/core/t-form-tower-controller/functions/setSectionAsSeen.d.ts +0 -3
- package/lib/services/core/t-form-tower-controller/functions/startTowerFormChangesEventListener.d.ts +0 -10
- package/lib/services/core/t-form-tower-controller/functions/toggleMultipleInput.d.ts +0 -5
- package/lib/services/core/t-form-tower-controller/functions/updateChangeHistory.d.ts +0 -2
- package/lib/services/core/t-form-tower-controller/functions/updateFormInputConfig.d.ts +0 -13
- package/lib/services/core/t-form-tower-controller/functions/updateValue.d.ts +0 -2
- package/lib/services/core/t-input-controller/functions/baseCustomInput.d.ts +0 -105
- package/lib/services/core/t-input-controller/functions/colorCoding.d.ts +0 -24
- package/lib/services/core/t-input-controller/functions/configureCols.d.ts +0 -5
- package/lib/services/core/t-input-controller/functions/generateInputSecret.d.ts +0 -2
- package/lib/services/core/t-input-controller/functions/inputErrorMessage.d.ts +0 -3
- package/lib/services/core/tour/tour-manager.service.d.ts +0 -18
- package/lib/services/hhtpResources/Pipeline/pipeline.service.d.ts +0 -80
- package/lib/services/index.d.ts +0 -7
- package/lib/shared/functions/assignDeepPropertyToObject.d.ts +0 -1
- package/lib/shared/functions/camelize.d.ts +0 -6
- package/lib/shared/functions/convertElementEditorTypesToInputType.d.ts +0 -3
- package/lib/shared/functions/createFileUploadSample.d.ts +0 -10
- package/lib/shared/functions/daysAgoTransform.d.ts +0 -1
- package/lib/shared/functions/enryption.d.ts +0 -9
- package/lib/shared/functions/evaluateArrayAccessRules.d.ts +0 -14
- package/lib/shared/functions/fuzzyTextSearch.d.ts +0 -4
- package/lib/shared/functions/getAvatar.d.ts +0 -1
- package/lib/shared/functions/getDeepObject.d.ts +0 -138
- package/lib/shared/functions/getInputIllustration.d.ts +0 -2
- package/lib/shared/functions/getPipedValueFromDataType.d.ts +0 -2
- package/lib/shared/functions/getformInputsSampleValue.d.ts +0 -10
- package/lib/shared/functions/isEqual.d.ts +0 -12
- package/lib/shared/functions/mapColors.d.ts +0 -1
- package/lib/shared/functions/migrationCheck.d.ts +0 -3
- package/lib/shared/functions/replaceUrlVariables.d.ts +0 -2
- package/lib/shared/functions/searchArray.d.ts +0 -1
- package/lib/shared/functions/textIconsForUserHints.d.ts +0 -21
- package/lib/shared/index.d.ts +0 -10
- package/lib/shared/modules/mat-modules.module.d.ts +0 -50
- package/lib/shared/modules/stringJsonValidator/getObjectValidations.d.ts +0 -16
- package/lib/shared/pipes/date/days-ago.pipe.d.ts +0 -12
- package/lib/shared/pipes/format-Data.pipe.d.ts +0 -8
- package/lib/shared/pipes/index.d.ts +0 -2
- package/lib/shared/pipes/list-search.pipe.d.ts +0 -7
- package/public-api.d.ts +0 -7
|
@@ -1,336 +0,0 @@
|
|
|
1
|
-
import { OnInit, OnDestroy, EventEmitter, Injector } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { IAccountSegmentTreeKeys, IScoaAccount, IScoaInputConfig, ITowerStepColumn, ScoaInnerInput, ScoaSegmentValue } from "ngx-t-forms-types";
|
|
4
|
-
import { MscoaComponentStore } from '../../store/mscoa-component-store.service';
|
|
5
|
-
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
6
|
-
import { FormBuilderFunctions } from "ngx-t-forms-types";
|
|
7
|
-
import { FormGroup } from '@angular/forms';
|
|
8
|
-
import { ComponentPortal } from '@angular/cdk/portal';
|
|
9
|
-
import { getToolbarColor, isSegmentColumn, getHeaderText, hasInnerInput, shouldShowAutoSelectedLabel, shouldShowDropdownIcon, getErrorColor, hasError, shouldShowVatChip, shouldShowTable } from './utils/mscoa-chart.helpers';
|
|
10
|
-
import type { DualBasisExpansionState, CountdownSeconds, ExtendedTableRow } from './utils/mscoa-chart.types';
|
|
11
|
-
import { ErrorContext } from './utils/mscoa-message-formatter';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* MSCOA Chart Component
|
|
15
|
-
*
|
|
16
|
-
* Displays account selection tables for accrual and/or cash accounting basis.
|
|
17
|
-
* Supports dynamic column generation, portal-based input rendering, and complex
|
|
18
|
-
* selection logic for account assignment.
|
|
19
|
-
*/
|
|
20
|
-
export declare class MscoaChartComponent implements OnInit, OnDestroy {
|
|
21
|
-
private readonly store;
|
|
22
|
-
private readonly injector;
|
|
23
|
-
private readonly selectAccountTreeKeys$;
|
|
24
|
-
private readonly selectCashAccountTreeKeys$;
|
|
25
|
-
private readonly selectMscoaLoadingTree$;
|
|
26
|
-
private readonly validationErrors$;
|
|
27
|
-
private readonly validatingValue$;
|
|
28
|
-
private readonly table$;
|
|
29
|
-
private readonly cashTable$;
|
|
30
|
-
private readonly hasVATApplicableAccount$;
|
|
31
|
-
private readonly cashHasVATApplicableAccount$;
|
|
32
|
-
private readonly segmentValues$;
|
|
33
|
-
private readonly inputs$;
|
|
34
|
-
readonly busnessRuleErrors$: Observable<Record<string, string[]>>;
|
|
35
|
-
private readonly destroy$;
|
|
36
|
-
private readonly successMessageSubject$;
|
|
37
|
-
readonly successMessage$: Observable<Record<string, string | null>>;
|
|
38
|
-
readonly validationState$: Observable<{
|
|
39
|
-
hasErrors: boolean;
|
|
40
|
-
isValidating: boolean;
|
|
41
|
-
errorCount: number;
|
|
42
|
-
}>;
|
|
43
|
-
readonly hasMultiSelect$: Observable<boolean>;
|
|
44
|
-
readonly cashHasMultiSelect$: Observable<boolean>;
|
|
45
|
-
readonly cols$: Observable<string[]>;
|
|
46
|
-
readonly cashCol$: Observable<string[]>;
|
|
47
|
-
readonly viewData$: Observable<{
|
|
48
|
-
loading: boolean;
|
|
49
|
-
accountTreeKeys: IAccountSegmentTreeKeys[];
|
|
50
|
-
tableData: {
|
|
51
|
-
accountInputs: ScoaInnerInput[];
|
|
52
|
-
input: ScoaInnerInput | undefined;
|
|
53
|
-
vat: any;
|
|
54
|
-
debit: any;
|
|
55
|
-
credit: any;
|
|
56
|
-
segment: string;
|
|
57
|
-
innerInput: ScoaInnerInput;
|
|
58
|
-
label: string;
|
|
59
|
-
formInput: boolean;
|
|
60
|
-
segmentTree: import("ngx-t-forms-types").ScoaAccountTree;
|
|
61
|
-
inputs: ScoaInnerInput[];
|
|
62
|
-
segmentValue: Record<string, any>;
|
|
63
|
-
customSegment?: string | undefined;
|
|
64
|
-
readOnly: boolean;
|
|
65
|
-
singleSelect: boolean;
|
|
66
|
-
inheritValueFromAccrual?: boolean;
|
|
67
|
-
vatSelectonActive?: boolean;
|
|
68
|
-
additionalAccounts: string[];
|
|
69
|
-
segmentExtension: boolean;
|
|
70
|
-
id: string;
|
|
71
|
-
}[];
|
|
72
|
-
cols: string[];
|
|
73
|
-
hasMultiSelect: boolean;
|
|
74
|
-
cashAccountTreeKeys: IAccountSegmentTreeKeys[];
|
|
75
|
-
cashTableData: {
|
|
76
|
-
accountInputs: ScoaInnerInput[];
|
|
77
|
-
input: ScoaInnerInput | undefined;
|
|
78
|
-
vat: any;
|
|
79
|
-
debit: any;
|
|
80
|
-
credit: any;
|
|
81
|
-
segment: string;
|
|
82
|
-
innerInput: ScoaInnerInput;
|
|
83
|
-
label: string;
|
|
84
|
-
formInput: boolean;
|
|
85
|
-
segmentTree: import("ngx-t-forms-types").ScoaAccountTree;
|
|
86
|
-
inputs: ScoaInnerInput[];
|
|
87
|
-
segmentValue: Record<string, any>;
|
|
88
|
-
customSegment?: string | undefined;
|
|
89
|
-
readOnly: boolean;
|
|
90
|
-
singleSelect: boolean;
|
|
91
|
-
inheritValueFromAccrual?: boolean;
|
|
92
|
-
vatSelectonActive?: boolean;
|
|
93
|
-
additionalAccounts: string[];
|
|
94
|
-
segmentExtension: boolean;
|
|
95
|
-
id: string;
|
|
96
|
-
}[];
|
|
97
|
-
cashCols: string[];
|
|
98
|
-
cashHasMultiSelect: boolean;
|
|
99
|
-
busnessRuleErrors: Record<string, string[]>;
|
|
100
|
-
validationErrors: import("ngx-t-forms-types").MscoaValuetValidationErrors;
|
|
101
|
-
validatingValue: boolean;
|
|
102
|
-
}>;
|
|
103
|
-
private readonly cdr;
|
|
104
|
-
private readonly dialog;
|
|
105
|
-
private _formBuilderFunctions;
|
|
106
|
-
private _config;
|
|
107
|
-
private previousInputsHash;
|
|
108
|
-
inputPortals: {
|
|
109
|
-
[key: string]: ComponentPortal<any>;
|
|
110
|
-
};
|
|
111
|
-
editSelection: ExtendedTableRow | undefined;
|
|
112
|
-
activeColumn: string | undefined;
|
|
113
|
-
isCashSelection: boolean | undefined;
|
|
114
|
-
temporaryHintMessage: string | null;
|
|
115
|
-
temporaryHintType: 'info' | 'guidance';
|
|
116
|
-
showValidationSuccessIndicators: boolean;
|
|
117
|
-
private prevValidating;
|
|
118
|
-
dualBasisExpansion: DualBasisExpansionState;
|
|
119
|
-
countdownSeconds: CountdownSeconds;
|
|
120
|
-
hoveredInputId: string | null;
|
|
121
|
-
readonly COLUMNS: {
|
|
122
|
-
readonly SEGMENT: "segment";
|
|
123
|
-
readonly DEBIT: "debit";
|
|
124
|
-
readonly CREDIT: "credit";
|
|
125
|
-
readonly VAT: "vat";
|
|
126
|
-
};
|
|
127
|
-
readonly ACCOUNTING_BASIS: {
|
|
128
|
-
readonly ACCRUAL: "accrual";
|
|
129
|
-
readonly CASH: "cash";
|
|
130
|
-
readonly DUAL: "dual";
|
|
131
|
-
};
|
|
132
|
-
readonly DELETION_COUNTDOWN_SECONDS = 5;
|
|
133
|
-
readonly getToolbarColor: typeof getToolbarColor;
|
|
134
|
-
readonly isSegmentColumn: typeof isSegmentColumn;
|
|
135
|
-
readonly getHeaderText: typeof getHeaderText;
|
|
136
|
-
readonly hasInnerInput: typeof hasInnerInput;
|
|
137
|
-
readonly shouldShowAutoSelectedLabel: typeof shouldShowAutoSelectedLabel;
|
|
138
|
-
readonly shouldShowDropdownIcon: typeof shouldShowDropdownIcon;
|
|
139
|
-
readonly getErrorColor: typeof getErrorColor;
|
|
140
|
-
readonly hasError: typeof hasError;
|
|
141
|
-
readonly shouldShowVatChip: typeof shouldShowVatChip;
|
|
142
|
-
readonly shouldShowTable: typeof shouldShowTable;
|
|
143
|
-
/**
|
|
144
|
-
* Gets the success message for a specific accounting basis
|
|
145
|
-
*/
|
|
146
|
-
getSuccessMessage(messages: Record<string, string | null> | null, basis: string): string | null;
|
|
147
|
-
constructor(store: MscoaComponentStore, injector: Injector);
|
|
148
|
-
inputConfig: ITowerStepColumn;
|
|
149
|
-
editorMode: boolean;
|
|
150
|
-
readonly: boolean;
|
|
151
|
-
touched: boolean;
|
|
152
|
-
formGroup: FormGroup | undefined | null;
|
|
153
|
-
set formBuilderFunctions(func: FormBuilderFunctions | undefined);
|
|
154
|
-
get formBuilderFunctions(): FormBuilderFunctions | undefined;
|
|
155
|
-
set segmentValues(segmentValues: {
|
|
156
|
-
accrual?: ScoaSegmentValue | undefined;
|
|
157
|
-
cash?: ScoaSegmentValue;
|
|
158
|
-
} | null);
|
|
159
|
-
set config(config: IScoaInputConfig | undefined | null);
|
|
160
|
-
get config(): IScoaInputConfig | undefined | null;
|
|
161
|
-
onContainerClick: EventEmitter<MouseEvent>;
|
|
162
|
-
segmentValuesChanged: EventEmitter<ScoaSegmentValue>;
|
|
163
|
-
interaction: EventEmitter<string>;
|
|
164
|
-
ngOnInit(): void;
|
|
165
|
-
ngOnDestroy(): void;
|
|
166
|
-
/**
|
|
167
|
-
* Sets the component as touched and emits the event
|
|
168
|
-
*/
|
|
169
|
-
setAsTouched(ev: MouseEvent | Event): void;
|
|
170
|
-
/**
|
|
171
|
-
* Optimized portal setup - only recreates portals when inputs actually change
|
|
172
|
-
*/
|
|
173
|
-
private setupPortals;
|
|
174
|
-
/**
|
|
175
|
-
* Creates a hash of inputs array for comparison
|
|
176
|
-
*/
|
|
177
|
-
private getInputsHash;
|
|
178
|
-
/**
|
|
179
|
-
* Generates a consistent portal key for an input
|
|
180
|
-
*/
|
|
181
|
-
getPortalKey(inputId: string): string;
|
|
182
|
-
/**
|
|
183
|
-
* Helper to create an injector with properties to pass to the component
|
|
184
|
-
*/
|
|
185
|
-
private createInjectorWithProps;
|
|
186
|
-
/**
|
|
187
|
-
* Loads MSCOA data
|
|
188
|
-
*/
|
|
189
|
-
loadMscoa(functions: FormBuilderFunctions | undefined): void;
|
|
190
|
-
/**
|
|
191
|
-
* Handles segment change
|
|
192
|
-
*/
|
|
193
|
-
segmentChange(activeSegment: string): void;
|
|
194
|
-
/**
|
|
195
|
-
* Handles account number selection
|
|
196
|
-
*/
|
|
197
|
-
accountNumberSelected(account: IScoaAccount | undefined, segment: string, accountType?: string, isCash?: boolean): void;
|
|
198
|
-
/**
|
|
199
|
-
* Handles account selection
|
|
200
|
-
*/
|
|
201
|
-
selectAccount(row: ExtendedTableRow | undefined, col: string | undefined, cash?: boolean): void;
|
|
202
|
-
/**
|
|
203
|
-
* Opens SCOA selection dialog
|
|
204
|
-
*/
|
|
205
|
-
private openScoaSelection;
|
|
206
|
-
/**
|
|
207
|
-
* Handles dialog result and updates columns accordingly
|
|
208
|
-
*/
|
|
209
|
-
private handleDialogResult;
|
|
210
|
-
/**
|
|
211
|
-
* Resolves which columns should be updated based on selection type
|
|
212
|
-
*/
|
|
213
|
-
private resolveTargetColumns;
|
|
214
|
-
/**
|
|
215
|
-
* Gets extension pair for a column (e.g., bankChargesDebit -> bankChargesCredit)
|
|
216
|
-
*/
|
|
217
|
-
private getExtensionPair;
|
|
218
|
-
/**
|
|
219
|
-
* Resets selection state
|
|
220
|
-
*/
|
|
221
|
-
private resetSelectionState;
|
|
222
|
-
/**
|
|
223
|
-
* Opens input dialog
|
|
224
|
-
*/
|
|
225
|
-
private openInput;
|
|
226
|
-
/**
|
|
227
|
-
* Checks if selection should be disabled
|
|
228
|
-
*/
|
|
229
|
-
selectionDisabled(row: IAccountSegmentTreeKeys, col: any): boolean;
|
|
230
|
-
/**
|
|
231
|
-
* Gets account field state
|
|
232
|
-
*/
|
|
233
|
-
getFields(row: any, col: string): import("./extractCols").AccountFieldState;
|
|
234
|
-
/**
|
|
235
|
-
* Checks if dual account basis is enabled
|
|
236
|
-
*/
|
|
237
|
-
get isDualAccountBasis(): boolean;
|
|
238
|
-
/**
|
|
239
|
-
* Toggles dual basis expansion
|
|
240
|
-
*/
|
|
241
|
-
toggleDualBasisExpansion(basis: string): void;
|
|
242
|
-
/**
|
|
243
|
-
* Gets expansion state for a basis
|
|
244
|
-
*/
|
|
245
|
-
getExpansionState(basis: string): boolean;
|
|
246
|
-
/**
|
|
247
|
-
* Input deletion methods
|
|
248
|
-
*/
|
|
249
|
-
inputWillBeRemovedIn(id: string): number | null;
|
|
250
|
-
removeInput(item: FormColumnInputs): void;
|
|
251
|
-
stopDeletion(id: string): void;
|
|
252
|
-
formDeleteInput(item: FormColumnInputs): void;
|
|
253
|
-
editInput(input: FormColumnInputs): void;
|
|
254
|
-
/**
|
|
255
|
-
* TrackBy functions for performance
|
|
256
|
-
*/
|
|
257
|
-
trackByColumn(index: number, col: string): string;
|
|
258
|
-
trackByRow(index: number, row: ExtendedTableRow): string;
|
|
259
|
-
trackByError(index: number, error: string): string;
|
|
260
|
-
/**
|
|
261
|
-
* Handles input menu events
|
|
262
|
-
*/
|
|
263
|
-
onInputMenuEdit(input: FormColumnInputs): void;
|
|
264
|
-
onInputMenuDelete(input: FormColumnInputs): void;
|
|
265
|
-
onInputMenuCancelDelete(id: string): void;
|
|
266
|
-
onInputMenuHoverStart(id: string): void;
|
|
267
|
-
onInputMenuHoverEnd(): void;
|
|
268
|
-
/**
|
|
269
|
-
* Returns the business validation error for a cell. validationErrors is keyed by basis then by segment;
|
|
270
|
-
* each error has accountDimension (the column, e.g. "debit"). So we match row segment and col to that.
|
|
271
|
-
*/
|
|
272
|
-
getCellBusinessError(validationErrors: Record<string, Record<string, {
|
|
273
|
-
canOveride?: boolean;
|
|
274
|
-
accountDimension?: string;
|
|
275
|
-
message?: string;
|
|
276
|
-
}>> | undefined | null, basis: string, col: string, segment: string | undefined): {
|
|
277
|
-
canOveride: boolean;
|
|
278
|
-
accountDimension: string;
|
|
279
|
-
message: string;
|
|
280
|
-
} | null;
|
|
281
|
-
/**
|
|
282
|
-
* True when this table (basis) has at least one business rule error. When true, only cells with an error should be clickable.
|
|
283
|
-
*/
|
|
284
|
-
tableHasBusinessErrors(validationErrors: Record<string, Record<string, unknown>> | undefined | null, basis: string): boolean;
|
|
285
|
-
/**
|
|
286
|
-
* True when the cell should be disabled because the table has business errors and this cell is not one of them.
|
|
287
|
-
*/
|
|
288
|
-
isCellDisabledByBusinessErrors(validationErrors: Record<string, Record<string, {
|
|
289
|
-
canOveride?: boolean;
|
|
290
|
-
accountDimension?: string;
|
|
291
|
-
message?: string;
|
|
292
|
-
}>> | undefined | null, basis: string, col: string, segment: string | undefined): boolean;
|
|
293
|
-
/**
|
|
294
|
-
* Gets validation hint for a row/column combination
|
|
295
|
-
* Only shows hints when the selection value is entirely empty
|
|
296
|
-
*/
|
|
297
|
-
getValidationHint(row: ExtendedTableRow, col: string, basis: string): string | null;
|
|
298
|
-
/**
|
|
299
|
-
* Gets context-aware guidance hint based on current state
|
|
300
|
-
*/
|
|
301
|
-
getContextualGuidance(row: ExtendedTableRow, col: string, hasErrors: boolean): string | null;
|
|
302
|
-
/**
|
|
303
|
-
* Shows a temporary hint message
|
|
304
|
-
*/
|
|
305
|
-
showTemporaryHint(message: string, type?: 'info' | 'guidance'): void;
|
|
306
|
-
/**
|
|
307
|
-
* Clears temporary hint
|
|
308
|
-
*/
|
|
309
|
-
clearTemporaryHint(): void;
|
|
310
|
-
/**
|
|
311
|
-
* Checks if text is likely truncated (heuristic based on length)
|
|
312
|
-
*/
|
|
313
|
-
isTextTruncated(text: string | null | undefined): boolean;
|
|
314
|
-
/**
|
|
315
|
-
* Calculates column width percentage for proper space distribution
|
|
316
|
-
*/
|
|
317
|
-
getColumnWidthPercent(isSegment: boolean, totalColumns: number): number | null;
|
|
318
|
-
/**
|
|
319
|
-
* Gets formatted error context for a specific row/column
|
|
320
|
-
*/
|
|
321
|
-
getErrorContext(row: ExtendedTableRow, col: string, basis: string): ErrorContext;
|
|
322
|
-
/**
|
|
323
|
-
* Checks if there are errors for a specific row
|
|
324
|
-
*/
|
|
325
|
-
hasRowErrors(row: ExtendedTableRow, basis: string): boolean;
|
|
326
|
-
/**
|
|
327
|
-
* Handles keyboard navigation in table cells
|
|
328
|
-
*/
|
|
329
|
-
handleCellKeyDown(event: KeyboardEvent, row: ExtendedTableRow, col: string, isCash: boolean): void;
|
|
330
|
-
/**
|
|
331
|
-
* Focuses the next cell in the specified direction
|
|
332
|
-
*/
|
|
333
|
-
private focusNextCell;
|
|
334
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MscoaChartComponent, never>;
|
|
335
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MscoaChartComponent, "app-mscoa-chart", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "editorMode": { "alias": "editorMode"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "touched": { "alias": "touched"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; "segmentValues": { "alias": "segmentValues"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, { "onContainerClick": "onContainerClick"; "segmentValuesChanged": "segmentValuesChanged"; "interaction": "interaction"; }, never, never, true, never>;
|
|
336
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Constants for MSCOA Chart Component
|
|
3
|
-
*/
|
|
4
|
-
export declare const ACCOUNTING_BASIS: {
|
|
5
|
-
readonly ACCRUAL: "accrual";
|
|
6
|
-
readonly CASH: "cash";
|
|
7
|
-
readonly DUAL: "dual";
|
|
8
|
-
};
|
|
9
|
-
export type AccountingBasis = typeof ACCOUNTING_BASIS[keyof typeof ACCOUNTING_BASIS];
|
|
10
|
-
export declare const COLUMNS: {
|
|
11
|
-
readonly SEGMENT: "segment";
|
|
12
|
-
readonly DEBIT: "debit";
|
|
13
|
-
readonly CREDIT: "credit";
|
|
14
|
-
readonly VAT: "vat";
|
|
15
|
-
};
|
|
16
|
-
export type ColumnType = typeof COLUMNS[keyof typeof COLUMNS];
|
|
17
|
-
export declare const SEGMENT_TYPES: {
|
|
18
|
-
readonly ITEM: "ITEM";
|
|
19
|
-
};
|
|
20
|
-
export declare const DELETION_COUNTDOWN_SECONDS = 5;
|
|
21
|
-
export declare const DIALOG_CONFIG: {
|
|
22
|
-
readonly COMPUTATION: {
|
|
23
|
-
readonly minWidth: "fit-content";
|
|
24
|
-
readonly maxHeight: "98vh";
|
|
25
|
-
readonly height: "fit-content";
|
|
26
|
-
readonly panelClass: "mscoa-computation-dialog";
|
|
27
|
-
};
|
|
28
|
-
readonly INPUT: {
|
|
29
|
-
readonly minWidth: "368px";
|
|
30
|
-
readonly minHeight: "fit-content";
|
|
31
|
-
readonly maxHeight: "fit-content";
|
|
32
|
-
readonly height: "fit-content";
|
|
33
|
-
readonly panelClass: "mscoa-input-dialog";
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
export declare const CSS_CUSTOM_PROPERTIES: {
|
|
37
|
-
readonly SPACING_XS: "--mscoa-chart-spacing-xs";
|
|
38
|
-
readonly SPACING_SM: "--mscoa-chart-spacing-sm";
|
|
39
|
-
readonly SPACING_MD: "--mscoa-chart-spacing-md";
|
|
40
|
-
readonly SPACING_LG: "--mscoa-chart-spacing-lg";
|
|
41
|
-
readonly BORDER_RADIUS: "--mscoa-chart-border-radius";
|
|
42
|
-
readonly TRANSITION: "--mscoa-chart-transition";
|
|
43
|
-
};
|
|
44
|
-
export declare const DEFAULT_EXPANSION_STATE: {
|
|
45
|
-
readonly cash: true;
|
|
46
|
-
readonly accrual: true;
|
|
47
|
-
};
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Helper functions for MSCOA Chart Component
|
|
3
|
-
*/
|
|
4
|
-
export interface RowData {
|
|
5
|
-
singleSelect?: boolean;
|
|
6
|
-
segment?: string;
|
|
7
|
-
inheritValueFromAccrual?: boolean;
|
|
8
|
-
vatSelectonActive?: boolean;
|
|
9
|
-
segmentValue?: {
|
|
10
|
-
vatApplicableTo?: string;
|
|
11
|
-
[key: string]: any;
|
|
12
|
-
} | any;
|
|
13
|
-
innerInput?: any;
|
|
14
|
-
[key: string]: any;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Gets the toolbar color based on accounting basis
|
|
18
|
-
*/
|
|
19
|
-
export declare function getToolbarColor(accountingBasis?: string): string;
|
|
20
|
-
/**
|
|
21
|
-
* Gets the toolbar background style based on accounting basis
|
|
22
|
-
*/
|
|
23
|
-
export declare function getToolbarBackground(accountingBasis?: string): string;
|
|
24
|
-
/**
|
|
25
|
-
* Gets the toolbar icon color based on accounting basis
|
|
26
|
-
*/
|
|
27
|
-
export declare function getToolbarIconColor(accountingBasis?: string): string;
|
|
28
|
-
/**
|
|
29
|
-
* Gets the border style based on accounting basis
|
|
30
|
-
*/
|
|
31
|
-
export declare function getBorderStyle(accountingBasis?: string): string;
|
|
32
|
-
/**
|
|
33
|
-
* Checks if a column is the segment column (first column)
|
|
34
|
-
*/
|
|
35
|
-
export declare function isSegmentColumn(index: number): boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Gets header text for a column
|
|
38
|
-
*/
|
|
39
|
-
export declare function getHeaderText(col: string, index: number, hasMultiSelect: boolean): string;
|
|
40
|
-
/**
|
|
41
|
-
* Checks if a row has an inner input
|
|
42
|
-
*/
|
|
43
|
-
export declare function hasInnerInput(row: RowData | any): boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Checks if credit column should be disabled for single select
|
|
46
|
-
*/
|
|
47
|
-
export declare function isCreditDisabledForSingleSelect(row: RowData, col: string): boolean;
|
|
48
|
-
/**
|
|
49
|
-
* Checks if VAT column should be disabled
|
|
50
|
-
*/
|
|
51
|
-
export declare function isVatDisabled(row: RowData, col: string): boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Checks if a field should show auto-selected label
|
|
54
|
-
*/
|
|
55
|
-
export declare function shouldShowAutoSelectedLabel(row: RowData, col: string): boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Checks if dropdown icon should be shown
|
|
58
|
-
*/
|
|
59
|
-
export declare function shouldShowDropdownIcon(row: RowData, col: string): boolean;
|
|
60
|
-
/**
|
|
61
|
-
* Gets error color for required empty fields
|
|
62
|
-
*/
|
|
63
|
-
export declare function getErrorColor(touched: boolean, required: boolean, hasValue: boolean): string;
|
|
64
|
-
/**
|
|
65
|
-
* Checks if field has error state (for class binding)
|
|
66
|
-
*/
|
|
67
|
-
export declare function hasError(touched: boolean, required: boolean, hasValue: boolean): boolean;
|
|
68
|
-
/**
|
|
69
|
-
* Checks if VAT chip should be displayed
|
|
70
|
-
*/
|
|
71
|
-
export declare function shouldShowVatChip(row: RowData, col: string): boolean;
|
|
72
|
-
/**
|
|
73
|
-
* Gets cell padding style based on column index
|
|
74
|
-
*/
|
|
75
|
-
export declare function getCellPadding(index: number): string;
|
|
76
|
-
/**
|
|
77
|
-
* Gets header padding style based on column index
|
|
78
|
-
*/
|
|
79
|
-
export declare function getHeaderPadding(index: number): string;
|
|
80
|
-
/**
|
|
81
|
-
* Gets cell background style for segment column
|
|
82
|
-
*/
|
|
83
|
-
export declare function getSegmentCellBackground(index: number): string;
|
|
84
|
-
/**
|
|
85
|
-
* Checks if table should be visible based on dual basis expansion state
|
|
86
|
-
*/
|
|
87
|
-
export declare function shouldShowTable(isDualAccountBasis: boolean, expansionState: boolean, accountingBasis?: string): boolean;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Type definitions for MSCOA Chart Component
|
|
3
|
-
*/
|
|
4
|
-
import { ITableScoaSelectionRow, FormColumnInputs, ScoaInnerInput } from 'ngx-t-forms-types';
|
|
5
|
-
import { AccountingBasis } from './mscoa-chart.constants';
|
|
6
|
-
/**
|
|
7
|
-
* Extended row interface that includes dynamic properties used in the component
|
|
8
|
-
* Uses intersection type to allow optional properties from base interface
|
|
9
|
-
*/
|
|
10
|
-
export type ExtendedTableRow = ITableScoaSelectionRow & {
|
|
11
|
-
innerInput?: ScoaInnerInput | FormColumnInputs;
|
|
12
|
-
accountInputs?: FormColumnInputs[];
|
|
13
|
-
customSegment?: string;
|
|
14
|
-
singleSelect?: boolean;
|
|
15
|
-
inheritValueFromAccrual?: boolean;
|
|
16
|
-
readOnly?: boolean;
|
|
17
|
-
additionalAccounts?: string[];
|
|
18
|
-
[key: string]: any;
|
|
19
|
-
};
|
|
20
|
-
export interface MscoaChartViewData {
|
|
21
|
-
loading: boolean;
|
|
22
|
-
accountTreeKeys: any[];
|
|
23
|
-
tableData: ExtendedTableRow[];
|
|
24
|
-
cols: string[];
|
|
25
|
-
hasMultiSelect: boolean;
|
|
26
|
-
cashAccountTreeKeys: any[];
|
|
27
|
-
cashTableData: ExtendedTableRow[];
|
|
28
|
-
cashCols: string[];
|
|
29
|
-
cashHasMultiSelect: boolean;
|
|
30
|
-
busnessRuleErrors: Record<string, string[]>;
|
|
31
|
-
}
|
|
32
|
-
export interface DualBasisExpansionState {
|
|
33
|
-
[key: string]: boolean;
|
|
34
|
-
}
|
|
35
|
-
export interface CountdownState {
|
|
36
|
-
count: number | null;
|
|
37
|
-
stop$: any;
|
|
38
|
-
}
|
|
39
|
-
export interface CountdownSeconds {
|
|
40
|
-
[key: string]: CountdownState;
|
|
41
|
-
}
|
|
42
|
-
export interface SelectionTableContext {
|
|
43
|
-
accountingBasis?: AccountingBasis | string;
|
|
44
|
-
canCollapse?: boolean;
|
|
45
|
-
}
|
|
46
|
-
export interface PortalProps {
|
|
47
|
-
inputConfig: any;
|
|
48
|
-
formGroup: any;
|
|
49
|
-
formBuilderFunctions: any;
|
|
50
|
-
editorMode: boolean;
|
|
51
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Message Formatter Service for MSCOA Chart Component
|
|
3
|
-
* Transforms technical error messages into user-friendly, contextual messages
|
|
4
|
-
*/
|
|
5
|
-
export interface ValidationError {
|
|
6
|
-
message: string;
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
}
|
|
9
|
-
export interface ErrorContext {
|
|
10
|
-
segment?: string;
|
|
11
|
-
accountNumber?: string;
|
|
12
|
-
accountName?: string;
|
|
13
|
-
column?: string;
|
|
14
|
-
accountingBasis?: string;
|
|
15
|
-
[key: string]: any;
|
|
16
|
-
}
|
|
17
|
-
export interface AccountCombination {
|
|
18
|
-
accounts: Array<{
|
|
19
|
-
number: string;
|
|
20
|
-
name: string;
|
|
21
|
-
}>;
|
|
22
|
-
segment: string;
|
|
23
|
-
column: string;
|
|
24
|
-
}
|
|
25
|
-
export interface ValidationRule {
|
|
26
|
-
type: string;
|
|
27
|
-
description: string;
|
|
28
|
-
applicableSegments?: string[];
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Formats technical error messages into user-friendly messages
|
|
32
|
-
*/
|
|
33
|
-
export declare class MscoaMessageFormatter {
|
|
34
|
-
/**
|
|
35
|
-
* Formats a validation error message with context
|
|
36
|
-
*/
|
|
37
|
-
formatError(error: ValidationError, context?: ErrorContext): string;
|
|
38
|
-
/**
|
|
39
|
-
* Formats success message for valid account combination
|
|
40
|
-
*/
|
|
41
|
-
formatSuccess(combination: AccountCombination): string;
|
|
42
|
-
/**
|
|
43
|
-
* Formats contextual hint for validation rules
|
|
44
|
-
*/
|
|
45
|
-
formatHint(rule: ValidationRule): string;
|
|
46
|
-
/**
|
|
47
|
-
* Checks if message is already user-friendly
|
|
48
|
-
*/
|
|
49
|
-
private isUserFriendly;
|
|
50
|
-
/**
|
|
51
|
-
* Extracts segment name from error message
|
|
52
|
-
*/
|
|
53
|
-
private extractSegment;
|
|
54
|
-
/**
|
|
55
|
-
* Extracts column name from error message
|
|
56
|
-
*/
|
|
57
|
-
private extractColumn;
|
|
58
|
-
/**
|
|
59
|
-
* Formats invalid combination error
|
|
60
|
-
*/
|
|
61
|
-
private formatInvalidCombination;
|
|
62
|
-
/**
|
|
63
|
-
* Formats cannot combine error
|
|
64
|
-
*/
|
|
65
|
-
private formatCannotCombine;
|
|
66
|
-
/**
|
|
67
|
-
* Formats required field error
|
|
68
|
-
*/
|
|
69
|
-
private formatRequired;
|
|
70
|
-
/**
|
|
71
|
-
* Formats conflict error
|
|
72
|
-
*/
|
|
73
|
-
private formatConflict;
|
|
74
|
-
/**
|
|
75
|
-
* Formats category error
|
|
76
|
-
*/
|
|
77
|
-
private formatCategoryError;
|
|
78
|
-
/**
|
|
79
|
-
* Formats rule violation error
|
|
80
|
-
*/
|
|
81
|
-
private formatRuleViolation;
|
|
82
|
-
/**
|
|
83
|
-
* Formats default error message
|
|
84
|
-
*/
|
|
85
|
-
private formatDefault;
|
|
86
|
-
}
|
|
87
|
-
export declare const mscoaMessageFormatter: MscoaMessageFormatter;
|