@myrtex-org/form 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/esm2022/lib/modules/core/enums/component-size.enum.mjs +7 -0
- package/esm2022/lib/modules/core/enums/component-type.enum.mjs +46 -0
- package/esm2022/lib/modules/core/enums/condition-operator-type.enum.mjs +15 -0
- package/esm2022/lib/modules/core/enums/date-format.enum.mjs +12 -0
- package/esm2022/lib/modules/core/enums/date-type.enum.mjs +10 -0
- package/esm2022/lib/modules/core/enums/dependence-action-type.enum.mjs +12 -0
- package/esm2022/lib/modules/core/enums/index.mjs +13 -0
- package/esm2022/lib/modules/core/enums/inn-type.enum.mjs +12 -0
- package/esm2022/lib/modules/core/enums/input-state.enum.mjs +18 -0
- package/esm2022/lib/modules/core/enums/logical-operator-type.enum.mjs +7 -0
- package/esm2022/lib/modules/core/enums/template-components-group-type.enum.mjs +10 -0
- package/esm2022/lib/modules/core/enums/template-status.enum.mjs +15 -0
- package/esm2022/lib/modules/core/enums/value-type.enum.mjs +18 -0
- package/esm2022/lib/modules/core/helpers/common.helpers.mjs +11 -0
- package/esm2022/lib/modules/core/helpers/index.mjs +2 -0
- package/esm2022/lib/modules/core/interceptors/concurrency.interceptor.mjs +32 -0
- package/esm2022/lib/modules/core/interceptors/index.mjs +2 -0
- package/esm2022/lib/modules/core/models/component-model-base.model.mjs +2 -0
- package/esm2022/lib/modules/core/models/concurrency-info.model.mjs +2 -0
- package/esm2022/lib/modules/core/models/file.model.mjs +2 -0
- package/esm2022/lib/modules/core/models/index.mjs +8 -0
- package/esm2022/lib/modules/core/models/navigation-tabs.model.mjs +2 -0
- package/esm2022/lib/modules/core/models/options-base.model.mjs +2 -0
- package/esm2022/lib/modules/core/models/select-list-item.model.mjs +2 -0
- package/esm2022/lib/modules/core/models/user/index.mjs +3 -0
- package/esm2022/lib/modules/core/models/user/policy.type.mjs +2 -0
- package/esm2022/lib/modules/core/models/user/route-data-model.mjs +2 -0
- package/esm2022/lib/modules/core/services/concurrency-store.service.mjs +63 -0
- package/esm2022/lib/modules/core/services/index.mjs +2 -0
- package/esm2022/lib/modules/object-form/components/elements/base/base-element/base-element.component.mjs +35 -0
- package/esm2022/lib/modules/object-form/components/elements/base/base-field/base-field.component.mjs +128 -0
- package/esm2022/lib/modules/object-form/components/elements/base/index.mjs +3 -0
- package/esm2022/lib/modules/object-form/components/elements/content/divider/content-divider.component.mjs +20 -0
- package/esm2022/lib/modules/object-form/components/elements/content/divider/index.mjs +2 -0
- package/esm2022/lib/modules/object-form/components/elements/content/file/content-file.component.mjs +20 -0
- package/esm2022/lib/modules/object-form/components/elements/content/file/index.mjs +2 -0
- package/esm2022/lib/modules/object-form/components/elements/content/text/content-text.component.mjs +17 -0
- package/esm2022/lib/modules/object-form/components/elements/content/text/index.mjs +2 -0
- package/esm2022/lib/modules/object-form/components/elements/content/title/content-title.component.mjs +20 -0
- package/esm2022/lib/modules/object-form/components/elements/content/title/index.mjs +2 -0
- package/esm2022/lib/modules/object-form/components/elements/content/tooltip/content-tooltip.component.mjs +18 -0
- package/esm2022/lib/modules/object-form/components/elements/content/tooltip/index.mjs +2 -0
- package/esm2022/lib/modules/object-form/components/elements/index.mjs +19 -0
- package/esm2022/lib/modules/object-form/components/elements/input/checkbox-group/index.mjs +2 -0
- package/esm2022/lib/modules/object-form/components/elements/input/checkbox-group/input-checkbox-group.component.mjs +49 -0
- package/esm2022/lib/modules/object-form/components/elements/input/date/index.mjs +2 -0
- package/esm2022/lib/modules/object-form/components/elements/input/date/input-date.component.mjs +100 -0
- package/esm2022/lib/modules/object-form/components/elements/input/file/index.mjs +2 -0
- package/esm2022/lib/modules/object-form/components/elements/input/file/input-file.component.mjs +85 -0
- package/esm2022/lib/modules/object-form/components/elements/input/inn/index.mjs +2 -0
- package/esm2022/lib/modules/object-form/components/elements/input/inn/input-inn.component.mjs +34 -0
- package/esm2022/lib/modules/object-form/components/elements/input/link/index.mjs +2 -0
- package/esm2022/lib/modules/object-form/components/elements/input/link/input-link.component.mjs +19 -0
- package/esm2022/lib/modules/object-form/components/elements/input/number/index.mjs +2 -0
- package/esm2022/lib/modules/object-form/components/elements/input/number/input-number.component.mjs +22 -0
- package/esm2022/lib/modules/object-form/components/elements/input/phone/index.mjs +2 -0
- package/esm2022/lib/modules/object-form/components/elements/input/phone/input-phone.component.mjs +35 -0
- package/esm2022/lib/modules/object-form/components/elements/input/radio-group/index.mjs +2 -0
- package/esm2022/lib/modules/object-form/components/elements/input/radio-group/input-radio-group.component.mjs +48 -0
- package/esm2022/lib/modules/object-form/components/elements/input/select/index.mjs +2 -0
- package/esm2022/lib/modules/object-form/components/elements/input/select/input-select.component.mjs +60 -0
- package/esm2022/lib/modules/object-form/components/elements/input/switch/index.mjs +2 -0
- package/esm2022/lib/modules/object-form/components/elements/input/switch/input-switch.component.mjs +19 -0
- package/esm2022/lib/modules/object-form/components/elements/input/table/components/index.mjs +3 -0
- package/esm2022/lib/modules/object-form/components/elements/input/table/components/input-table-modal/form-dispenser-modal/form-dispenser-modal.component.mjs +69 -0
- package/esm2022/lib/modules/object-form/components/elements/input/table/components/input-table-modal/input-table-modal.component.mjs +61 -0
- package/esm2022/lib/modules/object-form/components/elements/input/table/helpers/get-row-model.helper.mjs +19 -0
- package/esm2022/lib/modules/object-form/components/elements/input/table/index.mjs +3 -0
- package/esm2022/lib/modules/object-form/components/elements/input/table/input-table.component.mjs +158 -0
- package/esm2022/lib/modules/object-form/components/elements/input/text/index.mjs +2 -0
- package/esm2022/lib/modules/object-form/components/elements/input/text/input-text.component.mjs +19 -0
- package/esm2022/lib/modules/object-form/components/elements/input/textarea/index.mjs +2 -0
- package/esm2022/lib/modules/object-form/components/elements/input/textarea/input-textarea.component.mjs +45 -0
- package/esm2022/lib/modules/object-form/components/form-dispenser/form-dispenser.component.mjs +69 -0
- package/esm2022/lib/modules/object-form/components/object-form-content/object-form-content.component.mjs +33 -0
- package/esm2022/lib/modules/object-form/constants.mjs +2 -0
- package/esm2022/lib/modules/object-form/factories/component-factory/component-factory.directive.mjs +79 -0
- package/esm2022/lib/modules/object-form/factories/component-factory/enums/component.enum.mjs +23 -0
- package/esm2022/lib/modules/object-form/factories/component-factory/index.mjs +4 -0
- package/esm2022/lib/modules/object-form/factories/component-factory/models/component.model.mjs +8 -0
- package/esm2022/lib/modules/object-form/helpers/check-dependence-rule.helper.mjs +92 -0
- package/esm2022/lib/modules/object-form/helpers/get-menu-model.mjs +27 -0
- package/esm2022/lib/modules/object-form/helpers/get-percent-for-section.helper.mjs +4 -0
- package/esm2022/lib/modules/object-form/helpers/get-updated-values.mjs +25 -0
- package/esm2022/lib/modules/object-form/helpers/get-value-model.helper.mjs +39 -0
- package/esm2022/lib/modules/object-form/helpers/index.mjs +6 -0
- package/esm2022/lib/modules/object-form/models/dependence-rules/dependence-condition.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/dependence-rules/field-dependence-check-result.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/dependence-rules/field-dependence.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/dependence-rules/index.mjs +5 -0
- package/esm2022/lib/modules/object-form/models/dependence-rules/template-field-simple.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/dropdown-button.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/elemets/group-options.model.mjs +30 -0
- package/esm2022/lib/modules/object-form/models/elemets/index.mjs +3 -0
- package/esm2022/lib/modules/object-form/models/elemets/inputs/content-divider.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/elemets/inputs/content-file.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/elemets/inputs/content-text.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/elemets/inputs/content-title.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/elemets/inputs/content-tooltip.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/elemets/inputs/index.mjs +19 -0
- package/esm2022/lib/modules/object-form/models/elemets/inputs/input-checkbox-group.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/elemets/inputs/input-date.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/elemets/inputs/input-file.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/elemets/inputs/input-inn.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/elemets/inputs/input-link.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/elemets/inputs/input-number.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/elemets/inputs/input-phone.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/elemets/inputs/input-radio-group.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/elemets/inputs/input-select.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/elemets/inputs/input-switch.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/elemets/inputs/input-table.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/elemets/inputs/input-text.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/elemets/inputs/input-textarea.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/elemets/section-options.model.mjs +26 -0
- package/esm2022/lib/modules/object-form/models/index.mjs +10 -0
- package/esm2022/lib/modules/object-form/models/object-property.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/object-values-dto.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/object-values.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/section-fillness.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/template-component.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/template.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/update-value.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/models/value.model.mjs +2 -0
- package/esm2022/lib/modules/object-form/object-form-routing.module.mjs +41 -0
- package/esm2022/lib/modules/object-form/object-form.component.mjs +43 -0
- package/esm2022/lib/modules/object-form/object-form.module.mjs +194 -0
- package/esm2022/lib/modules/object-form/services/index.mjs +2 -0
- package/esm2022/lib/modules/object-form/services/object-form.service.mjs +57 -0
- package/esm2022/lib/modules/object-form/store/index.mjs +7 -0
- package/esm2022/lib/modules/object-form/store/object-form.actions.mjs +59 -0
- package/esm2022/lib/modules/object-form/store/object-form.effects.mjs +133 -0
- package/esm2022/lib/modules/object-form/store/object-form.reducers.mjs +82 -0
- package/esm2022/lib/modules/object-form/store/object-form.selector.mjs +20 -0
- package/esm2022/lib/modules/object-form/store/object-form.state.mjs +15 -0
- package/esm2022/lib/modules/shared-store/constants/index.mjs +2 -0
- package/esm2022/lib/modules/shared-store/shared-store.module.mjs +27 -0
- package/esm2022/lib/modules/shared-store/store/index.mjs +5 -0
- package/esm2022/lib/modules/shared-store/store/shared-store.effects.mjs +2 -0
- package/esm2022/lib/modules/shared-store/store/shared-store.reducer.mjs +6 -0
- package/esm2022/lib/modules/shared-store/store/shared-store.selector.mjs +27 -0
- package/esm2022/lib/modules/shared-store/store/shared-store.state.mjs +3 -0
- package/esm2022/myrtex-org-form.mjs +5 -0
- package/esm2022/public-api.mjs +14 -0
- package/fesm2022/myrtex-org-form.mjs +891 -0
- package/fesm2022/myrtex-org-form.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/modules/core/enums/component-size.enum.d.ts +5 -0
- package/lib/modules/core/enums/component-type.enum.d.ts +23 -0
- package/lib/modules/core/enums/condition-operator-type.enum.d.ts +9 -0
- package/lib/modules/core/enums/date-format.enum.d.ts +6 -0
- package/lib/modules/core/enums/date-type.enum.d.ts +5 -0
- package/lib/modules/core/enums/dependence-action-type.enum.d.ts +8 -0
- package/lib/modules/core/enums/index.d.ts +12 -0
- package/lib/modules/core/enums/inn-type.enum.d.ts +6 -0
- package/lib/modules/core/enums/input-state.enum.d.ts +11 -0
- package/lib/modules/core/enums/logical-operator-type.enum.d.ts +5 -0
- package/lib/modules/core/enums/template-components-group-type.enum.d.ts +5 -0
- package/lib/modules/core/enums/template-status.enum.d.ts +6 -0
- package/lib/modules/core/enums/value-type.enum.d.ts +16 -0
- package/lib/modules/core/helpers/common.helpers.d.ts +2 -0
- package/lib/modules/core/helpers/index.d.ts +1 -0
- package/lib/modules/core/interceptors/concurrency.interceptor.d.ts +12 -0
- package/lib/modules/core/interceptors/index.d.ts +1 -0
- package/lib/modules/core/models/component-model-base.model.d.ts +12 -0
- package/lib/modules/core/models/concurrency-info.model.d.ts +4 -0
- package/lib/modules/core/models/file.model.d.ts +7 -0
- package/lib/modules/core/models/index.d.ts +7 -0
- package/lib/modules/core/models/navigation-tabs.model.d.ts +7 -0
- package/lib/modules/core/models/options-base.model.d.ts +15 -0
- package/lib/modules/core/models/select-list-item.model.d.ts +5 -0
- package/lib/modules/core/models/user/index.d.ts +2 -0
- package/lib/modules/core/models/user/policy.type.d.ts +1 -0
- package/lib/modules/core/models/user/route-data-model.d.ts +4 -0
- package/lib/modules/core/services/concurrency-store.service.d.ts +18 -0
- package/lib/modules/core/services/index.d.ts +1 -0
- package/lib/modules/object-form/components/elements/base/base-element/base-element.component.d.ts +18 -0
- package/lib/modules/object-form/components/elements/base/base-field/base-field.component.d.ts +39 -0
- package/lib/modules/object-form/components/elements/base/index.d.ts +2 -0
- package/lib/modules/object-form/components/elements/content/divider/content-divider.component.d.ts +10 -0
- package/lib/modules/object-form/components/elements/content/divider/index.d.ts +1 -0
- package/lib/modules/object-form/components/elements/content/file/content-file.component.d.ts +11 -0
- package/lib/modules/object-form/components/elements/content/file/index.d.ts +1 -0
- package/lib/modules/object-form/components/elements/content/text/content-text.component.d.ts +9 -0
- package/lib/modules/object-form/components/elements/content/text/index.d.ts +1 -0
- package/lib/modules/object-form/components/elements/content/title/content-title.component.d.ts +10 -0
- package/lib/modules/object-form/components/elements/content/title/index.d.ts +1 -0
- package/lib/modules/object-form/components/elements/content/tooltip/content-tooltip.component.d.ts +9 -0
- package/lib/modules/object-form/components/elements/content/tooltip/index.d.ts +1 -0
- package/lib/modules/object-form/components/elements/index.d.ts +18 -0
- package/lib/modules/object-form/components/elements/input/checkbox-group/index.d.ts +1 -0
- package/lib/modules/object-form/components/elements/input/checkbox-group/input-checkbox-group.component.d.ts +26 -0
- package/lib/modules/object-form/components/elements/input/date/index.d.ts +1 -0
- package/lib/modules/object-form/components/elements/input/date/input-date.component.d.ts +22 -0
- package/lib/modules/object-form/components/elements/input/file/index.d.ts +1 -0
- package/lib/modules/object-form/components/elements/input/file/input-file.component.d.ts +30 -0
- package/lib/modules/object-form/components/elements/input/inn/index.d.ts +1 -0
- package/lib/modules/object-form/components/elements/input/inn/input-inn.component.d.ts +13 -0
- package/lib/modules/object-form/components/elements/input/link/index.d.ts +1 -0
- package/lib/modules/object-form/components/elements/input/link/input-link.component.d.ts +11 -0
- package/lib/modules/object-form/components/elements/input/number/index.d.ts +1 -0
- package/lib/modules/object-form/components/elements/input/number/input-number.component.d.ts +12 -0
- package/lib/modules/object-form/components/elements/input/phone/index.d.ts +1 -0
- package/lib/modules/object-form/components/elements/input/phone/input-phone.component.d.ts +14 -0
- package/lib/modules/object-form/components/elements/input/radio-group/index.d.ts +1 -0
- package/lib/modules/object-form/components/elements/input/radio-group/input-radio-group.component.d.ts +17 -0
- package/lib/modules/object-form/components/elements/input/select/index.d.ts +1 -0
- package/lib/modules/object-form/components/elements/input/select/input-select.component.d.ts +17 -0
- package/lib/modules/object-form/components/elements/input/switch/index.d.ts +1 -0
- package/lib/modules/object-form/components/elements/input/switch/input-switch.component.d.ts +11 -0
- package/lib/modules/object-form/components/elements/input/table/components/index.d.ts +2 -0
- package/lib/modules/object-form/components/elements/input/table/components/input-table-modal/form-dispenser-modal/form-dispenser-modal.component.d.ts +22 -0
- package/lib/modules/object-form/components/elements/input/table/components/input-table-modal/input-table-modal.component.d.ts +26 -0
- package/lib/modules/object-form/components/elements/input/table/helpers/get-row-model.helper.d.ts +3 -0
- package/lib/modules/object-form/components/elements/input/table/index.d.ts +2 -0
- package/lib/modules/object-form/components/elements/input/table/input-table.component.d.ts +38 -0
- package/lib/modules/object-form/components/elements/input/text/index.d.ts +1 -0
- package/lib/modules/object-form/components/elements/input/text/input-text.component.d.ts +11 -0
- package/lib/modules/object-form/components/elements/input/textarea/index.d.ts +1 -0
- package/lib/modules/object-form/components/elements/input/textarea/input-textarea.component.d.ts +13 -0
- package/lib/modules/object-form/components/form-dispenser/form-dispenser.component.d.ts +21 -0
- package/lib/modules/object-form/components/object-form-content/object-form-content.component.d.ts +15 -0
- package/lib/modules/object-form/constants.d.ts +1 -0
- package/lib/modules/object-form/factories/component-factory/component-factory.directive.d.ts +25 -0
- package/lib/modules/object-form/factories/component-factory/enums/component.enum.d.ts +4 -0
- package/lib/modules/object-form/factories/component-factory/index.d.ts +3 -0
- package/lib/modules/object-form/factories/component-factory/models/component.model.d.ts +17 -0
- package/lib/modules/object-form/helpers/check-dependence-rule.helper.d.ts +4 -0
- package/lib/modules/object-form/helpers/get-menu-model.d.ts +5 -0
- package/lib/modules/object-form/helpers/get-percent-for-section.helper.d.ts +3 -0
- package/lib/modules/object-form/helpers/get-updated-values.d.ts +3 -0
- package/lib/modules/object-form/helpers/get-value-model.helper.d.ts +11 -0
- package/lib/modules/object-form/helpers/index.d.ts +5 -0
- package/lib/modules/object-form/models/dependence-rules/dependence-condition.model.d.ts +12 -0
- package/lib/modules/object-form/models/dependence-rules/field-dependence-check-result.model.d.ts +6 -0
- package/lib/modules/object-form/models/dependence-rules/field-dependence.model.d.ts +8 -0
- package/lib/modules/object-form/models/dependence-rules/index.d.ts +4 -0
- package/lib/modules/object-form/models/dependence-rules/template-field-simple.model.d.ts +6 -0
- package/lib/modules/object-form/models/dropdown-button.model.d.ts +6 -0
- package/lib/modules/object-form/models/elemets/group-options.model.d.ts +13 -0
- package/lib/modules/object-form/models/elemets/index.d.ts +2 -0
- package/lib/modules/object-form/models/elemets/inputs/content-divider.model.d.ts +10 -0
- package/lib/modules/object-form/models/elemets/inputs/content-file.model.d.ts +11 -0
- package/lib/modules/object-form/models/elemets/inputs/content-text.model.d.ts +9 -0
- package/lib/modules/object-form/models/elemets/inputs/content-title.model.d.ts +11 -0
- package/lib/modules/object-form/models/elemets/inputs/content-tooltip.model.d.ts +12 -0
- package/lib/modules/object-form/models/elemets/inputs/index.d.ts +18 -0
- package/lib/modules/object-form/models/elemets/inputs/input-checkbox-group.model.d.ts +17 -0
- package/lib/modules/object-form/models/elemets/inputs/input-date.model.d.ts +15 -0
- package/lib/modules/object-form/models/elemets/inputs/input-file.model.d.ts +13 -0
- package/lib/modules/object-form/models/elemets/inputs/input-inn.model.d.ts +11 -0
- package/lib/modules/object-form/models/elemets/inputs/input-link.model.d.ts +10 -0
- package/lib/modules/object-form/models/elemets/inputs/input-number.model.d.ts +13 -0
- package/lib/modules/object-form/models/elemets/inputs/input-phone.model.d.ts +11 -0
- package/lib/modules/object-form/models/elemets/inputs/input-radio-group.model.d.ts +17 -0
- package/lib/modules/object-form/models/elemets/inputs/input-select.model.d.ts +17 -0
- package/lib/modules/object-form/models/elemets/inputs/input-switch.model.d.ts +11 -0
- package/lib/modules/object-form/models/elemets/inputs/input-table.model.d.ts +13 -0
- package/lib/modules/object-form/models/elemets/inputs/input-text.model.d.ts +13 -0
- package/lib/modules/object-form/models/elemets/inputs/input-textarea.model.d.ts +29 -0
- package/lib/modules/object-form/models/elemets/section-options.model.d.ts +20 -0
- package/lib/modules/object-form/models/index.d.ts +9 -0
- package/lib/modules/object-form/models/object-property.model.d.ts +6 -0
- package/lib/modules/object-form/models/object-values-dto.model.d.ts +5 -0
- package/lib/modules/object-form/models/object-values.model.d.ts +4 -0
- package/lib/modules/object-form/models/section-fillness.model.d.ts +4 -0
- package/lib/modules/object-form/models/template-component.model.d.ts +12 -0
- package/lib/modules/object-form/models/template.model.d.ts +12 -0
- package/lib/modules/object-form/models/update-value.model.d.ts +7 -0
- package/lib/modules/object-form/models/value.model.d.ts +26 -0
- package/lib/modules/object-form/object-form-routing.module.d.ts +7 -0
- package/lib/modules/object-form/object-form.component.d.ts +16 -0
- package/lib/modules/object-form/object-form.module.d.ts +19 -0
- package/lib/modules/object-form/services/index.d.ts +1 -0
- package/lib/modules/object-form/services/object-form.service.d.ts +29 -0
- package/lib/modules/object-form/store/index.d.ts +6 -0
- package/lib/modules/object-form/store/object-form.actions.d.ts +115 -0
- package/lib/modules/object-form/store/object-form.effects.d.ts +50 -0
- package/lib/modules/object-form/store/object-form.reducers.d.ts +3 -0
- package/lib/modules/object-form/store/object-form.selector.d.ts +14 -0
- package/lib/modules/object-form/store/object-form.state.d.ts +17 -0
- package/lib/modules/shared-store/constants/index.d.ts +1 -0
- package/lib/modules/shared-store/shared-store.module.d.ts +9 -0
- package/lib/modules/shared-store/store/index.d.ts +4 -0
- package/lib/modules/shared-store/store/shared-store.effects.d.ts +1 -0
- package/lib/modules/shared-store/store/shared-store.reducer.d.ts +3 -0
- package/lib/modules/shared-store/store/shared-store.selector.d.ts +6 -0
- package/lib/modules/shared-store/store/shared-store.state.d.ts +6 -0
- package/package.json +25 -0
- package/public-api.d.ts +10 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"myrtex-org-form.mjs","sources":["../../../projects/myrtex-form/src/lib/modules/object-form/object-form.module.ts","../../../projects/myrtex-form/src/lib/modules/object-form/store/object-form.actions.ts","../../../projects/myrtex-form/src/lib/modules/object-form/store/object-form.selector.ts","../../../projects/myrtex-form/src/lib/modules/object-form/store/object-form.reducers.ts","../../../projects/myrtex-form/src/lib/modules/object-form/store/object-form.effects.ts","../../../projects/myrtex-form/src/lib/modules/object-form/store/object-form.state.ts","../../../projects/myrtex-form/src/lib/modules/shared-store/shared-store.module.ts","../../../projects/myrtex-form/src/lib/modules/shared-store/store/shared-store.effects.ts","../../../projects/myrtex-form/src/lib/modules/shared-store/store/shared-store.reducer.ts","../../../projects/myrtex-form/src/lib/modules/shared-store/store/shared-store.state.ts","../../../projects/myrtex-form/src/lib/modules/shared-store/store/shared-store.selector.ts","../../../projects/myrtex-form/src/lib/modules/core/enums/template-status.enum.ts","../../../projects/myrtex-form/src/lib/modules/core/enums/component-size.enum.ts","../../../projects/myrtex-form/src/lib/modules/core/enums/date-format.enum.ts","../../../projects/myrtex-form/src/lib/modules/core/enums/date-type.enum.ts","../../../projects/myrtex-form/src/lib/modules/core/enums/inn-type.enum.ts","../../../projects/myrtex-form/src/lib/modules/core/enums/input-state.enum.ts","../../../projects/myrtex-form/src/lib/modules/core/enums/component-type.enum.ts","../../../projects/myrtex-form/src/lib/modules/core/enums/value-type.enum.ts","../../../projects/myrtex-form/src/lib/modules/core/enums/condition-operator-type.enum.ts","../../../projects/myrtex-form/src/lib/modules/core/enums/logical-operator-type.enum.ts","../../../projects/myrtex-form/src/lib/modules/core/enums/dependence-action-type.enum.ts","../../../projects/myrtex-form/src/lib/modules/core/enums/template-components-group-type.enum.ts","../../../projects/myrtex-form/src/lib/modules/core/helpers/common.helpers.ts","../../../projects/myrtex-form/src/lib/modules/core/interceptors/concurrency.interceptor.ts","../../../projects/myrtex-form/src/lib/modules/core/services/concurrency-store.service.ts","../../../projects/myrtex-form/src/public-api.ts","../../../projects/myrtex-form/src/myrtex-org-form.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { ObjectFormRoutingModule } from '@object-form/object-form-routing.module';\r\nimport { ObjectFormComponent } from '@object-form/object-form.component';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\nimport { ObjectFormEffects, objectReducer } from '@object-form/store';\r\nimport { STATE_NAME } from '@object-form/constants';\r\nimport { ObjectFormService } from '@object-form/services';\r\nimport { ApplicationContent } from '@object-form/components/object-form-content/object-form-content.component';\r\nimport { FormHeaderModule, MenuAdminModule } from '@myrtex-org/templates';\r\nimport { FormsModule } from '@angular/forms';\r\nimport {\r\n InputLinkComponent,\r\n InputNumberComponent, InputSelectComponent,\r\n InputSwitchComponent, InputTextareaComponent,\r\n InputTextComponent, InputDateComponent,\r\n InputInnComponent, InputFileComponent, InputPhoneComponent,\r\n ContentTitleComponent, ContentTextComponent,\r\n ContentTooltipComponent, ContentFileComponent,\r\n ContentDividerComponent, InputCheckboxGroupComponent,\r\n InputRadioGroupComponent, InputTableComponent\r\n} from '@object-form/components/elements';\r\nimport {\r\n AlertModule,\r\n ButtonModule, CheckboxGroupModule, CheckboxModule,\r\n ContentWrapperModule, EditorModule,\r\n InputDateTimeModule, InputFileModule, InputNumberModule,\r\n InputSelectModule, InputTextareaModule,\r\n InputTextModule, InputTimepickerModule,\r\n LabelModule, LoaderModule, RadioGroupModule,\r\n SwitchModule,\r\n DropdownModule, InputTelModule, LinkModule, ErrorMessageModule, ModalModule, ToasterServiceModule\r\n} from '@myrtex-org/ui';\r\nimport { HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { DxDataGridModule } from 'devextreme-angular';\r\nimport { DxiColumnModule, DxiItemModule, DxoToolbarModule } from 'devextreme-angular/ui/nested';\r\nimport { ConcurrencyInterceptor } from '@core/interceptors';\r\nimport { ConcurrencyStoreService } from '@core/services';\r\nimport { FormDispenser } from '@object-form/components/form-dispenser/form-dispenser.component';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n ObjectFormComponent,\r\n ApplicationContent,\r\n InputTextComponent,\r\n InputTextareaComponent,\r\n InputLinkComponent,\r\n InputSwitchComponent,\r\n InputNumberComponent,\r\n InputSelectComponent,\r\n InputDateComponent,\r\n InputInnComponent,\r\n InputFileComponent,\r\n InputPhoneComponent,\r\n InputCheckboxGroupComponent,\r\n InputRadioGroupComponent,\r\n InputTableComponent,\r\n ContentTitleComponent,\r\n ContentTextComponent,\r\n ContentTooltipComponent,\r\n ContentFileComponent,\r\n ContentDividerComponent,\r\n ],\r\n imports: [\r\n CommonModule,\r\n ObjectFormRoutingModule,\r\n StoreModule.forFeature(STATE_NAME, objectReducer),\r\n EffectsModule.forFeature([ObjectFormEffects]),\r\n FormDispenser,\r\n FormHeaderModule,\r\n MenuAdminModule,\r\n LoaderModule,\r\n InputTextModule,\r\n LabelModule,\r\n ContentWrapperModule,\r\n EditorModule,\r\n InputTextareaModule,\r\n ButtonModule,\r\n FormsModule,\r\n CheckboxModule,\r\n SwitchModule,\r\n InputNumberModule,\r\n InputSelectModule,\r\n InputDateTimeModule,\r\n InputTimepickerModule,\r\n InputFileModule,\r\n AlertModule,\r\n CheckboxGroupModule,\r\n RadioGroupModule,\r\n DropdownModule,\r\n InputTelModule,\r\n LinkModule,\r\n ErrorMessageModule,\r\n DxDataGridModule,\r\n DxiColumnModule,\r\n DxiItemModule,\r\n DxoToolbarModule,\r\n ModalModule,\r\n ToasterServiceModule\r\n ],\r\n providers: [\r\n ObjectFormService,\r\n ConcurrencyStoreService,\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: ConcurrencyInterceptor,\r\n multi: true\r\n }\r\n ]\r\n})\r\nexport class ObjectFormModule {\r\n}\r\n","import { createAction, props } from '@ngrx/store';\r\nimport { TemplateModel } from '@object-form/models';\r\nimport { SectionValueModel, UpdateValueResult, ValueModel } from '@object-form/models';\r\nimport { FileModel } from '@core/models';\r\n\r\nexport enum EApplicationActions {\r\n LoadTemplatePending = '[Application] Load Template Pending',\r\n LoadTemplateSuccess = '[Application] Load Template Success',\r\n LoadTemplateError = '[Application] Load Template Error',\r\n\r\n LoadApplicationPending = '[Application] Load Application Pending',\r\n LoadApplicationSuccess = '[Application] Load Application Success',\r\n LoadApplicationError = '[Application] Load Application Error',\r\n\r\n SaveApplicationPending = '[Application] Save Application Pending',\r\n SaveApplicationSuccess = '[Application] Save Application Success',\r\n SaveApplicationError = '[Application] Save Application Error',\r\n\r\n CopyApplicationPending = '[Application] Copy Application Pending',\r\n CopyApplicationSuccess = '[Application] Copy Application Success',\r\n CopyApplicationError = '[Application] Copy Application Error',\r\n\r\n UpdateValues = '[Application] Update Application Values',\r\n AccessUpdateValues = '[Application] Access Update Application Values',\r\n SaveValuesPending = '[Application] Save Application Values Pending',\r\n SaveValuesSuccess = '[Application] Save Application Values Success',\r\n SaveValuesError = '[Application] Save Application Values Error',\r\n\r\n UpdateSelectedSectionSysName = '[Application] Update Selected Section SysName',\r\n\r\n LoadSectionFilesPending = '[Application] Load Section Files Pending',\r\n LoadSectionFilesSuccess = '[Application] Load Section Files Success',\r\n LoadSectionFilesError = '[Application] Load Section Files Error',\r\n\r\n ToggleCheckRequired = '[Application] Toggle Check Required',\r\n UpdateCheckRequired = '[Application] Update Check Required',\r\n\r\n LoadPreviewTemplatePending = '[Application] Load Preview Template Pending',\r\n LoadPreviewTemplateSuccess = '[Application] Load Preview Template Success',\r\n LoadPreviewTemplateError = '[Application] Load Preview Template Error',\r\n\r\n CheckAllDependencyRules = '[Application] Check All Dependency Rule',\r\n}\r\n\r\nexport const loadTemplatePending = createAction(\r\n EApplicationActions.LoadTemplatePending\r\n);\r\nexport const loadTemplateSuccess = createAction(\r\n EApplicationActions.LoadTemplateSuccess,\r\n props<{ templateSysName: string }>()\r\n);\r\nexport const loadTemplateError = createAction(\r\n EApplicationActions.LoadTemplateError\r\n);\r\n\r\nexport const loadApplicationPending = createAction(\r\n EApplicationActions.LoadApplicationPending,\r\n props<{ templateSysName: string }>()\r\n);\r\nexport const loadApplicationSuccess = createAction(\r\n EApplicationActions.LoadApplicationSuccess,\r\n props<{\r\n templateSettings: TemplateModel,\r\n sectionValues: SectionValueModel[],\r\n applicationId: string,\r\n isDraft: boolean\r\n }>()\r\n);\r\nexport const loadApplicationError = createAction(\r\n EApplicationActions.LoadApplicationError\r\n);\r\nexport const saveApplicationPending = createAction(\r\n EApplicationActions.SaveApplicationPending\r\n);\r\nexport const saveApplicationSuccess = createAction(\r\n EApplicationActions.SaveApplicationSuccess\r\n);\r\nexport const saveApplicationError = createAction(\r\n EApplicationActions.SaveApplicationError\r\n);\r\n\r\nexport const copyApplicationPending = createAction(\r\n EApplicationActions.CopyApplicationPending,\r\n props<{ sourceId: string, targetTemplateSysName: string }>()\r\n);\r\nexport const copyApplicationSuccess = createAction(\r\n EApplicationActions.CopyApplicationSuccess\r\n);\r\nexport const copyApplicationError = createAction(\r\n EApplicationActions.CopyApplicationError\r\n);\r\n\r\nexport const updateValues = createAction(\r\n EApplicationActions.UpdateValues,\r\n props<{ value: ValueModel | ValueModel[] }>()\r\n);\r\n\r\nexport const accessUpdateValues = createAction(\r\n EApplicationActions.AccessUpdateValues\r\n);\r\n\r\nexport const saveValuesPending = createAction(\r\n EApplicationActions.SaveValuesPending\r\n);\r\nexport const saveValuesSuccess = createAction(\r\n EApplicationActions.SaveValuesSuccess,\r\n props<{ result: UpdateValueResult, applicationId: string }>()\r\n);\r\nexport const saveValuesError = createAction(\r\n EApplicationActions.SaveValuesError\r\n);\r\n\r\nexport const updateSelectedSectionSysName = createAction(\r\n EApplicationActions.UpdateSelectedSectionSysName,\r\n props<{ sectionSysName: string }>()\r\n);\r\n\r\nexport const loadSectionFilesPending = createAction(\r\n EApplicationActions.LoadSectionFilesPending\r\n);\r\nexport const loadSectionFilesSuccess = createAction(\r\n EApplicationActions.LoadSectionFilesSuccess,\r\n props<{ sectionFiles: FileModel[] }>()\r\n);\r\nexport const loadSectionFilesError = createAction(\r\n EApplicationActions.LoadSectionFilesError\r\n);\r\n\r\nexport const toggleCheckRequired = createAction(\r\n EApplicationActions.ToggleCheckRequired\r\n);\r\nexport const updateCheckRequired = createAction(\r\n EApplicationActions.UpdateCheckRequired,\r\n props<{ isCheckRequired: boolean }>()\r\n);\r\n\r\nexport const loadPreviewTemplatePending = createAction(\r\n EApplicationActions.LoadPreviewTemplatePending,\r\n props<{ templateSysName: string }>()\r\n);\r\n\r\nexport const loadPreviewTemplateSuccess = createAction(\r\n EApplicationActions.LoadPreviewTemplateSuccess,\r\n props<{ templateSettings: TemplateModel, templateSysName: string }>()\r\n);\r\n\r\nexport const loadPreviewTemplateError = createAction(\r\n EApplicationActions.LoadPreviewTemplateError\r\n);\r\n\r\nexport const checkAllDependencyRules = createAction(\r\n EApplicationActions.CheckAllDependencyRules\r\n);\r\n","import { createFeatureSelector, createSelector } from '@ngrx/store';\r\nimport { ObjectFormState } from '@object-form/store';\r\nimport { STATE_NAME } from '@object-form/constants';\r\nimport { ComponentModelBase } from '@core/models';\r\nimport { sharedSelectors } from '@shared-store/store';\r\nimport { getValueModel } from '@object-form/helpers';\r\n\r\nconst objectFeature = createFeatureSelector<ObjectFormState>(STATE_NAME);\r\n\r\nexport const selectIsLoading = createSelector(\r\n objectFeature,\r\n (state: ObjectFormState) => state.isLoading\r\n);\r\n\r\nexport const selectIsObjectSaveLoading = createSelector(\r\n objectFeature,\r\n (state: ObjectFormState) => state.isObjectSaveLoading\r\n);\r\n\r\nexport const selectIsEdited = createSelector(\r\n objectFeature,\r\n (state: ObjectFormState) => state.isEdited\r\n);\r\n\r\nexport const selectIsCheckRequired = createSelector(\r\n objectFeature,\r\n (state: ObjectFormState) => state.isCheckRequired\r\n);\r\n\r\nexport const selectMenuModel = createSelector(\r\n objectFeature,\r\n (state: ObjectFormState) => state.menuModel\r\n);\r\n\r\nexport const selectSectionSettings = createSelector(\r\n objectFeature,\r\n sharedSelectors.selectRouteNestedParam('sectionSysName'),\r\n (state: ObjectFormState, sectionSysName: string) => {\r\n return state.settings?.sections.find(s => s.sysName === sectionSysName) || null\r\n }\r\n);\r\n\r\nexport const selectSectionValues = createSelector(\r\n objectFeature,\r\n (state: ObjectFormState) => state.sectionValues\r\n);\r\n\r\nexport const selectObjectId = createSelector(\r\n sharedSelectors.selectRouteNestedParam('objectId'),\r\n (applicationId: string) => applicationId\r\n);\r\n\r\nexport const selectSectionFiles = createSelector(\r\n objectFeature,\r\n (state: ObjectFormState) => state.sectionFiles\r\n);\r\n\r\nexport const selectTemplateSysName = createSelector(\r\n objectFeature,\r\n (state: ObjectFormState) => state.settings?.sysName\r\n);\r\n\r\nexport const selectValueModel = (settings: ComponentModelBase) => createSelector(\r\n objectFeature,\r\n (state) => getValueModel(settings, state.sectionValues)\r\n);\r\n\r\nexport const selectDependencyRulesResults = createSelector(\r\n objectFeature,\r\n state => state.dependencyRuleCheckResults\r\n)\r\n","import { Action, createReducer, on } from '@ngrx/store';\r\nimport { ObjectFormState, initialObjectFormState, objectFormActions } from '@object-form/store';\r\nimport * as fromHelpers from '@object-form/helpers';\r\nimport { SectionValueModel } from '@object-form/models';\r\n\r\nconst objectReducerCreator = createReducer(\r\n initialObjectFormState,\r\n on(objectFormActions.loadApplicationPending, (state) => {\r\n return { ...state, isLoading: true };\r\n }),\r\n on(\r\n objectFormActions.loadApplicationSuccess,\r\n (state, { templateSettings, sectionValues, applicationId, isDraft }) => {\r\n return {\r\n ...state,\r\n isLoading: false,\r\n settings: templateSettings,\r\n sectionValues: sectionValues,\r\n isEdited: isDraft,\r\n menuModel: fromHelpers.getMenuModel(templateSettings, sectionValues, applicationId)\r\n };\r\n }\r\n ),\r\n on(objectFormActions.loadApplicationError, (state) => {\r\n return { ...state, isLoading: false };\r\n }),\r\n on(objectFormActions.updateValues, (state, { value }) => {\r\n\r\n const dependenceRulesResults = fromHelpers.getDependenceRulesResults(\r\n state.dependencyRuleCheckResults,\r\n state.sectionValues,\r\n value,\r\n state.settings?.dependenceRules.rules\r\n );\r\n\r\n const selectedSectionValues = state.sectionValues.map((sectionValue: SectionValueModel) => {\r\n // пришлось отказаться от условия проверки выбранной секции,\r\n // т.к. зависимые поля могут находиться в других секциях, а их необходимо обнулять.\r\n return fromHelpers.getUpdatedValues(\r\n sectionValue,\r\n Array.isArray(value) ? value : [value],\r\n fromHelpers.getValuesToClean(dependenceRulesResults)\r\n );\r\n });\r\n\r\n return {\r\n ...state,\r\n sectionValues: selectedSectionValues,\r\n isEdited: true,\r\n dependencyRuleCheckResults: dependenceRulesResults\r\n };\r\n }),\r\n on(objectFormActions.saveValuesSuccess, (state, { result, applicationId }) => {\r\n const updatedSectionValues = state.sectionValues.map((sectionValue: SectionValueModel) => {\r\n const section = {\r\n ...sectionValue,\r\n percent: result.fillness.find(x => x.name === sectionValue.sysName)?.percent || 0\r\n };\r\n return fromHelpers.getUpdatedValues(section, result.values);\r\n });\r\n\r\n return {\r\n ...state,\r\n sectionValues: updatedSectionValues,\r\n isEdited: true,\r\n menuModel: fromHelpers.getMenuModel(state.settings, updatedSectionValues, applicationId)\r\n };\r\n }),\r\n on(objectFormActions.saveValuesError, (state) => {\r\n return { ...state };\r\n }),\r\n\r\n on(objectFormActions.saveApplicationPending, (state) => {\r\n return { ...state, isApplicationSaveLoading: true };\r\n }),\r\n on(objectFormActions.saveApplicationSuccess, (state) => {\r\n return { ...state, isApplicationSaveLoading: false, isEdited: false };\r\n }),\r\n on(objectFormActions.saveApplicationError, (state) => {\r\n return { ...state, isApplicationSaveLoading: false };\r\n }),\r\n on(objectFormActions.updateSelectedSectionSysName, (state, { sectionSysName }) => {\r\n return { ...state, selectedSectionSysName: sectionSysName };\r\n }),\r\n on(objectFormActions.loadSectionFilesPending, (state) => {\r\n return { ...state, sectionFiles: [] };\r\n }),\r\n on(objectFormActions.loadSectionFilesSuccess, (state, { sectionFiles }) => {\r\n return { ...state, sectionFiles: sectionFiles };\r\n }),\r\n on(objectFormActions.toggleCheckRequired, (state) => {\r\n return { ...state, isCheckRequired: !state.isCheckRequired };\r\n }),\r\n on(objectFormActions.updateCheckRequired, (state, { isCheckRequired }) => {\r\n return { ...state, isCheckRequired: isCheckRequired };\r\n }),\r\n on(objectFormActions.loadPreviewTemplatePending, (state) => {\r\n return { ...state, isLoading: true };\r\n }),\r\n on(\r\n objectFormActions.loadPreviewTemplateSuccess,\r\n (state, { templateSettings, templateSysName }) => {\r\n return {\r\n ...state,\r\n isLoading: false,\r\n settings: templateSettings,\r\n menuModel: fromHelpers.getPreviewMenuModel(templateSettings, templateSysName)\r\n };\r\n }\r\n ),\r\n on(objectFormActions.loadPreviewTemplateError, (state) => {\r\n return { ...state, isLoading: false };\r\n }),\r\n on(objectFormActions.checkAllDependencyRules, (state) => {\r\n\r\n const dependenceResults = state.settings?.dependenceRules.rules\r\n .map(rule => (fromHelpers.checkDependenceRule(rule, state.sectionValues)))\r\n .flat() || [];\r\n\r\n return { ...state, dependencyRuleCheckResults: dependenceResults };\r\n })\r\n);\r\n\r\nexport function objectReducer(state: ObjectFormState | undefined, action: Action) {\r\n return objectReducerCreator(state, action);\r\n}\r\n","import { inject, Injectable } from '@angular/core';\r\nimport { Actions, createEffect, ofType } from '@ngrx/effects';\r\nimport {\r\n catchError,\r\n debounceTime,\r\n distinctUntilChanged,\r\n map,\r\n switchMap,\r\n tap,\r\n withLatestFrom\r\n} from 'rxjs/operators';\r\nimport { Store } from '@ngrx/store';\r\nimport { Router } from '@angular/router';\r\nimport { forkJoin, Observable, of } from 'rxjs';\r\nimport { ObjectFormService } from '@object-form/services';\r\nimport { objectFormActions, objectFormSelectors, EApplicationActions } from '@object-form/store';\r\nimport { TemplateModel } from '@object-form/models';\r\nimport { ObjectValuesDto, ValueModel } from '@object-form/models';\r\nimport { AutoSaveStore, ToasterService, ToasterType } from '@myrtex-org/ui';\r\nimport { ComponentModelBase, FileModel } from '@core/models';\r\nimport { sharedSelectors } from '@shared-store/store';\r\n\r\n@Injectable()\r\nexport class ObjectFormEffects {\r\n private _autoSaveStore = inject(AutoSaveStore)\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _router: Router,\r\n private _applicationService: ObjectFormService,\r\n private _toasterService: ToasterService\r\n ) {\r\n }\r\n\r\n loadTemplatePending$ = createEffect(() => this._actions$.pipe(\r\n ofType(EApplicationActions.LoadTemplatePending),\r\n withLatestFrom(\r\n this._store.select(sharedSelectors.selectRouteNestedParam('objectId')),\r\n this._store.select(sharedSelectors.selectRouteNestedParam('templateSysName')),\r\n ),\r\n switchMap(([_, applicationId, templateSysName]) => {\r\n\r\n if (applicationId) {\r\n return this._applicationService.getTemplate(applicationId).pipe(\r\n switchMap(({templateSysName}) => ([\r\n objectFormActions.loadTemplateSuccess({templateSysName}),\r\n objectFormActions.loadApplicationPending({templateSysName})\r\n ])),\r\n catchError(() => {\r\n return of(objectFormActions.loadTemplateError());\r\n })\r\n );\r\n } else {\r\n return of(objectFormActions.loadPreviewTemplatePending({templateSysName}));\r\n }\r\n }))\r\n );\r\n\r\n loadPreviewTemplatePending = createEffect(() => this._actions$.pipe(\r\n ofType(EApplicationActions.LoadPreviewTemplatePending),\r\n map((props: { templateSysName: string }) => props.templateSysName),\r\n withLatestFrom(\r\n this._store.select(sharedSelectors.selectRouteNestedParam('sectionSysName')),\r\n ),\r\n switchMap(([templateSysName, sectionSysName]) => {\r\n return this._applicationService.getTemplateSettings(templateSysName).pipe(\r\n map((templateSettings) => {\r\n const activeSection = templateSettings.sections.find(\r\n (s: ComponentModelBase) => s.sysName === sectionSysName\r\n );\r\n\r\n if (!activeSection && templateSettings.sections.length) {\r\n this._router.navigate([`/form/application/preview/${templateSysName}/${templateSettings.sections[0].sysName}`]);\r\n }\r\n\r\n return objectFormActions.loadPreviewTemplateSuccess({templateSettings, templateSysName});\r\n }),\r\n catchError((error) => {\r\n return of(objectFormActions.loadPreviewTemplateError());\r\n })\r\n );\r\n }))\r\n );\r\n\r\n loadApplicationPending$ = createEffect(() => this._actions$.pipe(\r\n ofType(EApplicationActions.LoadApplicationPending),\r\n map((props: { templateSysName: string }) => props.templateSysName),\r\n withLatestFrom(\r\n this._store.select(sharedSelectors.selectRouteNestedParam('objectId')),\r\n this._store.select(sharedSelectors.selectRouteNestedParam('sectionSysName')),\r\n ),\r\n switchMap(([templateSysName, applicationId, sectionSysName]) => {\r\n const requests: [Observable<TemplateModel>, Observable<ObjectValuesDto>] = [\r\n this._applicationService.getTemplateSettings(templateSysName),\r\n this._applicationService.getSectionValues(applicationId)\r\n ];\r\n\r\n return forkJoin(requests).pipe(\r\n switchMap(([templateSettings, valueDto]) => {\r\n const activeSection = templateSettings.sections.find(\r\n (s: ComponentModelBase) => s.sysName === sectionSysName\r\n );\r\n\r\n if (!activeSection && templateSettings.sections.length) {\r\n this._router.navigate([`/form/application/${applicationId}/${templateSettings.sections[0].sysName}`]);\r\n }\r\n\r\n return [\r\n objectFormActions.loadApplicationSuccess({\r\n templateSettings: templateSettings,\r\n sectionValues: valueDto.value.sectionValues,\r\n applicationId: applicationId,\r\n isDraft: valueDto.isDraft\r\n }),\r\n objectFormActions.checkAllDependencyRules()\r\n ];\r\n }),\r\n catchError(() => {\r\n return of(objectFormActions.loadApplicationError());\r\n })\r\n );\r\n }))\r\n );\r\n\r\n checkCanUpdateValues$ = createEffect(() => this._actions$.pipe(\r\n ofType(EApplicationActions.UpdateValues),\r\n map((props: { value: ValueModel | ValueModel[] }) => props.value),\r\n distinctUntilChanged(),\r\n withLatestFrom(\r\n this._store.select(sharedSelectors.selectRouteNestedParam('templateSysName')),\r\n ),\r\n tap(([value, templateSysName]) => {\r\n if (templateSysName) {\r\n return;\r\n }\r\n\r\n this._store.dispatch(objectFormActions.accessUpdateValues());\r\n })\r\n ), {dispatch: false});\r\n\r\n saveValuesDebounced$ = createEffect(() => this._actions$.pipe(\r\n ofType(EApplicationActions.AccessUpdateValues),\r\n distinctUntilChanged(),\r\n debounceTime(1500),\r\n tap(() => {\r\n this._autoSaveStore.start()\r\n this._store.dispatch(objectFormActions.saveValuesPending());\r\n })\r\n ), {dispatch: false});\r\n\r\n updateApplicationValues$ = createEffect(() => this._actions$.pipe(\r\n ofType(EApplicationActions.SaveValuesPending),\r\n withLatestFrom(\r\n this._store.select(sharedSelectors.selectRouteNestedParam('objectId')),\r\n this._store.select(objectFormSelectors.selectSectionValues),\r\n ),\r\n switchMap(([_, applicationId, sectionValues]) => {\r\n return this._applicationService.updateApplicationValues(applicationId, sectionValues).pipe(\r\n map((result) => {\r\n this._autoSaveStore.success()\r\n return objectFormActions.saveValuesSuccess({result, applicationId});\r\n }),\r\n catchError((error) => {\r\n this._autoSaveStore.error()\r\n return of(objectFormActions.saveValuesError());\r\n })\r\n );\r\n }))\r\n );\r\n\r\n saveApplicationPending$ = createEffect(() => this._actions$.pipe(\r\n ofType(EApplicationActions.SaveApplicationPending),\r\n withLatestFrom(\r\n this._store.select(sharedSelectors.selectRouteNestedParam('objectId'))\r\n ),\r\n switchMap(([_, applicationId]) => {\r\n return this._applicationService.saveApplication(applicationId).pipe(\r\n map(() => {\r\n this._toasterService.show({\r\n title: 'Сохранено успешно',\r\n type: ToasterType.Positive\r\n });\r\n\r\n return objectFormActions.saveApplicationSuccess();\r\n }),\r\n catchError(() => {\r\n this._toasterService.show({\r\n title: 'Возникли ошибки при сохранении, повторите',\r\n type: ToasterType.Negative\r\n });\r\n\r\n return of(objectFormActions.saveApplicationError());\r\n })\r\n );\r\n }))\r\n );\r\n\r\n copyApplicationPending$ = createEffect(() => this._actions$.pipe(\r\n ofType(EApplicationActions.CopyApplicationPending),\r\n map((action: { sourceId: string, targetTemplateSysName: string }) => action),\r\n switchMap((action) => {\r\n return this._applicationService.copyApplication(action).pipe(\r\n map((result) => {\r\n this._toasterService.show({\r\n title: 'Копировнаие прошло успешно',\r\n type: ToasterType.Positive\r\n });\r\n\r\n window.open('/form/application/' + result.id, '_blank');\r\n return objectFormActions.copyApplicationSuccess();\r\n }),\r\n catchError(() => {\r\n this._toasterService.show({\r\n title: 'Возникли ошибки при копировании заявки, повторите',\r\n type: ToasterType.Negative\r\n });\r\n\r\n return of(objectFormActions.copyApplicationError());\r\n })\r\n );\r\n })), {dispatch: false});\r\n\r\n loadSectionFilesPending$ = createEffect(() => this._actions$.pipe(\r\n ofType(EApplicationActions.LoadSectionFilesPending),\r\n withLatestFrom(\r\n this._store.select(sharedSelectors.selectRouteNestedParam('objectId')),\r\n this._store.select(sharedSelectors.selectRouteNestedParam('sectionSysName')),\r\n ),\r\n switchMap(([_, applicationId, sectionSysName]) => {\r\n return this._applicationService.getSectionFiles(applicationId, sectionSysName).pipe(\r\n map((sectionFiles: FileModel[]) => {\r\n return objectFormActions.loadSectionFilesSuccess({sectionFiles: sectionFiles});\r\n }),\r\n catchError(() => {\r\n return of(objectFormActions.loadSectionFilesError());\r\n })\r\n );\r\n }))\r\n );\r\n}\r\n","import { FileModel } from '@core/models';\r\nimport { MenuAdminModel } from '@myrtex-org/templates';\r\nimport { TemplateModel } from '@object-form/models';\r\nimport { FieldDependencyCheckResultModel, SectionValueModel } from '@object-form/models';\r\n\r\nexport interface ObjectFormState {\r\n isLoading: boolean;\r\n isEdited: boolean;\r\n isCheckRequired: boolean;\r\n isObjectSaveLoading: boolean;\r\n settings: TemplateModel | null;\r\n selectedSectionSysName: string | null;\r\n sectionValues: SectionValueModel[];\r\n menuModel: MenuAdminModel;\r\n sectionFiles: FileModel[];\r\n dependencyRuleCheckResults: FieldDependencyCheckResultModel[];\r\n}\r\n\r\nexport const initialObjectFormState: ObjectFormState = {\r\n isLoading: false,\r\n isEdited: false,\r\n isCheckRequired: false,\r\n isObjectSaveLoading: false,\r\n settings: null,\r\n selectedSectionSysName: null,\r\n sectionValues: [],\r\n menuModel: {\r\n items: []\r\n },\r\n sectionFiles: [],\r\n dependencyRuleCheckResults: []\r\n};\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { EffectsModule } from '@ngrx/effects';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { FORM_SHARED_STORE_MODULE_NAME } from '@shared-store/constants';\r\nimport { EFFECTS, sharedStoreReducer } from '@shared-store/store';\r\n\r\n\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n EffectsModule.forFeature(EFFECTS),\r\n StoreModule.forFeature(FORM_SHARED_STORE_MODULE_NAME, sharedStoreReducer),\r\n ]\r\n})\r\nexport class SharedStoreModule { }\r\n","export const EFFECTS = [];\r\n","import { ActionReducerMap } from '@ngrx/store';\r\nimport { routerReducer } from '@ngrx/router-store';\r\nimport { ROUTER_STATE_NAME } from '@myrtex-org/ui-composite';\r\n\r\nimport { SharedStoreState } from './shared-store.state';\r\n\r\nexport const sharedStoreReducer: ActionReducerMap<SharedStoreState, any> = {\r\n [ROUTER_STATE_NAME]: routerReducer\r\n};\r\n","import { RouterReducerState } from '@ngrx/router-store';\r\nimport { ROUTER_STATE_NAME } from '@myrtex-org/ui-composite';\r\n\r\nexport interface SharedStoreState {\r\n [ROUTER_STATE_NAME]?: RouterReducerState;\r\n}\r\n\r\nexport const initialSharedStoreState: SharedStoreState = {\r\n};\r\n","import { createSelector } from '@ngrx/store';\r\nimport { selectQueryParam, selectRouteParam, selectRouter } from '@myrtex-org/ui-composite';\r\nimport { Params } from '@angular/router';\r\n\r\nexport const selectRouteNestedParams = createSelector(selectRouter, (router) => {\r\n let currentRoute = router?.state?.root;\r\n\r\n let params: Params = {};\r\n\r\n while (currentRoute?.firstChild) {\r\n currentRoute = currentRoute.firstChild;\r\n params = {\r\n ...params,\r\n ...currentRoute.params,\r\n };\r\n }\r\n\r\n return params;\r\n});\r\n\r\nexport const selectRouteNestedParam = (param: string) => createSelector(selectRouteNestedParams,\r\n (params) => {\r\n return params && params[param];\r\n });\r\n\r\nexport const selectTemplateSysName = createSelector(\r\n selectRouteNestedParam('templateSysName'),\r\n (rparam: string | undefined) => {\r\n return rparam || null;\r\n }\r\n);\r\n\r\nexport const selectIdFromQuery = createSelector(\r\n selectQueryParam('id'),\r\n (rparam: string | number | undefined) => {\r\n return rparam || null;\r\n }\r\n);\r\n\r\nexport const selectSectionSysName = createSelector(\r\n selectRouteParam('sectionSysName'),\r\n (rparam: string | undefined) => {\r\n return rparam || null;\r\n }\r\n);\r\n\r\n\r\n","export enum TemplateStatus{\r\n draft = 0,\r\n active = 1,\r\n archived = 2\r\n}\r\n\r\nconst templateStatusCaption: Record<TemplateStatus, string> = {\r\n [TemplateStatus.draft]: 'черновик',\r\n [TemplateStatus.active]: 'активен',\r\n [TemplateStatus.archived]: 'архив',\r\n};\r\n\r\nexport const getTemplateStatusText = (status: TemplateStatus): string => {\r\n return templateStatusCaption[status];\r\n}\r\n","export enum ComponentSizeEnum {\r\n Large = 'large',\r\n Medium = 'medium',\r\n Small = 'small',\r\n}\r\n","export enum DateFormatEnum {\r\n Day = 'дд.мм.гггг',\r\n Month = 'мм.гггг',\r\n Year = 'гггг'\r\n}\r\n\r\nexport const DateFormatLabelEnum: Record<DateFormatEnum, string> = {\r\n [DateFormatEnum.Day]: 'дд.мм.гггг',\r\n [DateFormatEnum.Month]: 'мм.гггг',\r\n [DateFormatEnum.Year]: 'гггг',\r\n};\r\n","export enum DateTypeEnum {\r\n Date = 'date',\r\n DateTime = 'date-time',\r\n}\r\n\r\nexport const DateTypeLabelEnum: Record<DateTypeEnum, string> = {\r\n [DateTypeEnum.Date]: 'Дата',\r\n [DateTypeEnum.DateTime]: 'Дата и время',\r\n};\r\n","export enum InnTypeEnum {\r\n Personal = 'personal',\r\n Legal = 'legal',\r\n ForeignLegal = 'foreign-legal'\r\n}\r\n\r\nexport const InnTypeLabelEnum: Record<InnTypeEnum, string> = {\r\n [InnTypeEnum.Personal]: 'ФЛ/ИП',\r\n [InnTypeEnum.Legal]: 'ЮЛ',\r\n [InnTypeEnum.ForeignLegal]: 'Иностранное ЮЛ',\r\n};\r\n","export enum InputState {\r\n Edit = 'edit',\r\n Auto = 'auto',\r\n Formula = 'formula'\r\n}\r\n\r\nexport enum CustomInputStateEnum {\r\n Edit = 0,\r\n Auto = 1,\r\n Formula = 2\r\n}\r\n\r\nexport const CustomInputStateEnumLabel: Record<CustomInputStateEnum, string> = {\r\n [CustomInputStateEnum.Edit]: InputState.Edit,\r\n [CustomInputStateEnum.Auto]: InputState.Auto,\r\n [CustomInputStateEnum.Formula]: InputState.Formula,\r\n};\r\n","export enum ComponentType {\r\n Section = 'section',\r\n Group = 'group',\r\n\r\n InputText = 'inputText',\r\n InputTextarea = 'inputTextarea',\r\n InputSwitch = 'inputSwitch',\r\n InputLink = 'inputLink',\r\n InputSelect = 'inputSelect',\r\n InputNumber = 'inputNumber',\r\n InputDate = 'inputDate',\r\n InputINN = 'inputINN',\r\n InputFile = 'inputFile',\r\n InputPhone = 'inputPhone',\r\n InputCheckboxGroup = 'inputCheckboxGroup',\r\n InputRadioGroup = 'inputRadioGroup',\r\n InputTable = 'inputTable',\r\n\r\n ContentTitle = 'title',\r\n ContentText = 'text',\r\n ContentTooltip = 'tooltip',\r\n ContentFile = 'file',\r\n ContentDivider = 'divider',\r\n}\r\n\r\nexport const ComponentShortType: Record<ComponentType, string> = {\r\n [ComponentType.Section]: 's',\r\n [ComponentType.Group]: 'g',\r\n\r\n [ComponentType.InputText]: 'itt',\r\n [ComponentType.InputTextarea]: 'ita',\r\n [ComponentType.InputSwitch]: 'isw',\r\n [ComponentType.InputLink]: 'il',\r\n [ComponentType.InputSelect]: 'ist',\r\n [ComponentType.InputNumber]: 'in',\r\n [ComponentType.InputDate]: 'id',\r\n [ComponentType.InputINN]: 'inn',\r\n [ComponentType.InputFile]: 'if',\r\n [ComponentType.InputPhone]: 'ip',\r\n [ComponentType.InputCheckboxGroup]: 'icg',\r\n [ComponentType.InputRadioGroup]: 'irg',\r\n [ComponentType.InputTable]: 'itb',\r\n\r\n [ComponentType.ContentTitle]: 'ct',\r\n [ComponentType.ContentText]: 'ctt',\r\n [ComponentType.ContentTooltip]: 'ctp',\r\n [ComponentType.ContentFile]: 'cf',\r\n [ComponentType.ContentDivider]: 'cd',\r\n};\r\n","export enum ValueType {\r\n Undefined = \"undefined\",\r\n Short = \"short\",\r\n Int = \"int\",\r\n Long = \"long\",\r\n Float = \"float\",\r\n Double = \"double\",\r\n Decimal = \"decimal\",\r\n String = \"string\",\r\n Guid = \"guid\",\r\n DateTime = \"dateTime\",\r\n Boolean = \"boolean\",\r\n IntArray = \"int[]\",\r\n StringArray = \"string[]\",\r\n GuidArray = \"guid[]\"\r\n}","\r\nexport enum ConditionOperatorType {\r\n undefined = 'undefined',\r\n filled = 'filled'\r\n}\r\n\r\nexport const getConditionOperatorsList = () => {\r\n return [{\r\n value: ConditionOperatorType.filled,\r\n text: conditionOperatorTypeLabel[ConditionOperatorType.filled]\r\n }]\r\n};\r\n\r\nexport const conditionOperatorTypeLabel: Record<string, string> = {\r\n [ConditionOperatorType.filled]: 'заполнено'\r\n};\r\n","export enum LogicalOperatorType {\r\n undefined = 'undefined',\r\n or = 'or',\r\n and = 'and'\r\n}\r\n","export enum DependenceActionType {\r\n undefined = 'undefined',\r\n show = 'show'\r\n}\r\n\r\nexport const getDependenceActionsList = () => {\r\n return [{\r\n value: DependenceActionType.show,\r\n text: 'показать'\r\n }]\r\n}","export enum TemplateComponentsGroupTypeEnum {\r\n Components = 1,\r\n Content = 2,\r\n}\r\n\r\nexport const TemplateComponentsGroupTypeLabels: Record<TemplateComponentsGroupTypeEnum, string> = {\r\n [TemplateComponentsGroupTypeEnum.Components]: 'Поля',\r\n [TemplateComponentsGroupTypeEnum.Content]: 'Контент',\r\n};\r\n","export function isNumeric(str: any) {\r\n if (typeof str != 'string') {\r\n return false; // we only process strings!\r\n }\r\n return !isNaN(str as any) && !isNaN(parseInt(str)) && // use type coercion to parse the _entirety_ of the string (`parseFloat` alone does not do this)...\r\n !isNaN(parseFloat(str)) // ...and ensure strings of whitespace fail\r\n}\r\n\r\nexport const isNullOrUndefined = (model: any) => {\r\n return model === null || typeof model === 'undefined'\r\n}\r\n","import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { ToasterService, ToasterType } from '@myrtex-org/ui';\r\n\r\n@Injectable()\r\nexport class ConcurrencyInterceptor implements HttpInterceptor {\r\n constructor(private _toasterService: ToasterService)\r\n {}\r\n\r\n intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {\r\n return next.handle(req).pipe(\r\n catchError(error => {\r\n return this.handleError(error);\r\n })\r\n );\r\n }\r\n\r\n private handleError(error:any) {\r\n if (error.status === 409) {\r\n this._toasterService.show({\r\n title: 'Данные были изменены.',\r\n message: 'Для продолжения работы обновите страницу.',\r\n type: ToasterType.Negative\r\n })\r\n }\r\n return throwError(error);\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpHeaders, HttpResponseBase } from '@angular/common/http';\r\nimport { ConcurrencyInfo } from '@core/models';\r\n\r\nconst tokenKey = 'Csy-Token';\r\nconst eTag = \"ETag\";\r\nconst ifMatch = \"If-Match\";\r\n\r\n@Injectable()\r\nexport class ConcurrencyStoreService {\r\n private _store: { [key: string]: ConcurrencyInfo } = {};\r\n\r\n get(key: string): ConcurrencyInfo | null {\r\n const info = this._store[key] as ConcurrencyInfo;\r\n if (!info) {\r\n return null;\r\n }\r\n return info;\r\n }\r\n\r\n set(key: string, info: ConcurrencyInfo): void {\r\n this._store[key] = info;\r\n }\r\n\r\n getHeaders(key: string): {\r\n headers: HttpHeaders | { [header: string]: string | string[] },\r\n observe: 'response'\r\n } {\r\n\r\n let headers = new HttpHeaders();\r\n if (key) {\r\n const info = this.get(key);\r\n if (info?.token) {\r\n headers = headers.append(tokenKey, info.token);\r\n }\r\n if (info?.eTag) {\r\n headers = headers.append(ifMatch, info.eTag);\r\n }\r\n }\r\n return { headers: headers, observe: 'response' };\r\n }\r\n\r\n appendHeaders(key: string, headers: HttpHeaders): HttpHeaders {\r\n if (key) {\r\n const info = this.get(key);\r\n if (info?.token) {\r\n headers = headers.set(tokenKey, info.token);\r\n }\r\n if (info?.eTag) {\r\n headers = headers.set(ifMatch, info.eTag);\r\n }\r\n }\r\n return headers;\r\n }\r\n\r\n fromHeaders(key: string, response: HttpResponseBase): void {\r\n if (key) {\r\n const info : ConcurrencyInfo = {\r\n token: response.headers.get(tokenKey),\r\n eTag: response.headers.get(eTag)\r\n };\r\n if (info.token || info.eTag) {\r\n this.set(key, info);\r\n }\r\n }\r\n }\r\n\r\n}\r\n","/*\r\n * Public API Surface of myrtex-form\r\n */\r\n\r\nexport * from './lib/modules/object-form/object-form.module';\r\nexport * from './lib/modules/object-form/models';\r\nexport * from './lib/modules/object-form/store';\r\n\r\nexport * from './lib/modules/shared-store/shared-store.module';\r\nexport * from './lib/modules/shared-store/store';\r\n\r\nexport * from './lib/modules/core/enums';\r\nexport * from './lib/modules/core/helpers';\r\nexport * from './lib/modules/core/interceptors';\r\nexport * from './lib/modules/core/models';\r\nexport * from './lib/modules/core/services';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ConcurrencyStoreService","ConcurrencyInterceptor","objectReducer","ObjectFormEffects","sharedSelectors","selectTemplateSysName","initialObjectFormState","objectFormActions","EApplicationActions","objectFormSelectors","EFFECTS","sharedStoreReducer","i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAiHa,gBAAgB,CAAA;+GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,iBApEzB,mBAAmB;YACnB,kBAAkB;YAClB,kBAAkB;YAClB,sBAAsB;YACtB,kBAAkB;YAClB,oBAAoB;YACpB,oBAAoB;YACpB,oBAAoB;YACpB,kBAAkB;YAClB,iBAAiB;YACjB,kBAAkB;YAClB,mBAAmB;YACnB,2BAA2B;YAC3B,wBAAwB;YACxB,mBAAmB;YACnB,qBAAqB;YACrB,oBAAoB;YACpB,uBAAuB;YACvB,oBAAoB;AACpB,YAAA,uBAAuB,aAGvB,YAAY;AACZ,YAAA,uBAAuB,kDAGvB,aAAa;YACb,gBAAgB;YAChB,eAAe;YACf,YAAY;YACZ,eAAe;YACf,WAAW;YACX,oBAAoB;YACpB,YAAY;YACZ,mBAAmB;YACnB,YAAY;YACZ,WAAW;YACX,cAAc;YACd,YAAY;YACZ,iBAAiB;YACjB,iBAAiB;YACjB,mBAAmB;YACnB,qBAAqB;YACrB,eAAe;YACf,WAAW;YACX,mBAAmB;YACnB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,UAAU;YACV,kBAAkB;YAClB,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IAAI,EAAE,KAAK,EAAE;gBACf,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;aAC7C;AACD,YAAA,IAAI,IAAI,EAAE,IAAI,EAAE;gBACd,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;aAC3C;SACF;AACD,QAAA,OAAO,OAAO,CAAC;KAChB;IAED,WAAW,CAAC,GAAW,EAAE,QAA0B,EAAA;QACjD,IAAI,GAAG,EAAE;AACP,YAAA,MAAM,IAAI,GAAqB;gBAC7B,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC;gBACrC,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC;aACjC,CAAC;YACF,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,EAAE;AAC3B,gBAAA,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;aACrB;SACF;KACF;+GAxDU,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;mHAAvB,uBAAuB,EAAA,CAAA,CAAA,EAAA;;4FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBADnC,UAAU;;;ACRX;;AAEG;;ACFH;;AAEG;;;;"}
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare enum ComponentType {
|
|
2
|
+
Section = "section",
|
|
3
|
+
Group = "group",
|
|
4
|
+
InputText = "inputText",
|
|
5
|
+
InputTextarea = "inputTextarea",
|
|
6
|
+
InputSwitch = "inputSwitch",
|
|
7
|
+
InputLink = "inputLink",
|
|
8
|
+
InputSelect = "inputSelect",
|
|
9
|
+
InputNumber = "inputNumber",
|
|
10
|
+
InputDate = "inputDate",
|
|
11
|
+
InputINN = "inputINN",
|
|
12
|
+
InputFile = "inputFile",
|
|
13
|
+
InputPhone = "inputPhone",
|
|
14
|
+
InputCheckboxGroup = "inputCheckboxGroup",
|
|
15
|
+
InputRadioGroup = "inputRadioGroup",
|
|
16
|
+
InputTable = "inputTable",
|
|
17
|
+
ContentTitle = "title",
|
|
18
|
+
ContentText = "text",
|
|
19
|
+
ContentTooltip = "tooltip",
|
|
20
|
+
ContentFile = "file",
|
|
21
|
+
ContentDivider = "divider"
|
|
22
|
+
}
|
|
23
|
+
export declare const ComponentShortType: Record<ComponentType, string>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare enum ConditionOperatorType {
|
|
2
|
+
undefined = "undefined",
|
|
3
|
+
filled = "filled"
|
|
4
|
+
}
|
|
5
|
+
export declare const getConditionOperatorsList: () => {
|
|
6
|
+
value: ConditionOperatorType;
|
|
7
|
+
text: string;
|
|
8
|
+
}[];
|
|
9
|
+
export declare const conditionOperatorTypeLabel: Record<string, string>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './template-status.enum';
|
|
2
|
+
export * from './component-size.enum';
|
|
3
|
+
export * from './date-format.enum';
|
|
4
|
+
export * from './date-type.enum';
|
|
5
|
+
export * from './inn-type.enum';
|
|
6
|
+
export * from './input-state.enum';
|
|
7
|
+
export * from './component-type.enum';
|
|
8
|
+
export * from './value-type.enum';
|
|
9
|
+
export * from './condition-operator-type.enum';
|
|
10
|
+
export * from './logical-operator-type.enum';
|
|
11
|
+
export * from './dependence-action-type.enum';
|
|
12
|
+
export * from './template-components-group-type.enum';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum InputState {
|
|
2
|
+
Edit = "edit",
|
|
3
|
+
Auto = "auto",
|
|
4
|
+
Formula = "formula"
|
|
5
|
+
}
|
|
6
|
+
export declare enum CustomInputStateEnum {
|
|
7
|
+
Edit = 0,
|
|
8
|
+
Auto = 1,
|
|
9
|
+
Formula = 2
|
|
10
|
+
}
|
|
11
|
+
export declare const CustomInputStateEnumLabel: Record<CustomInputStateEnum, string>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum ValueType {
|
|
2
|
+
Undefined = "undefined",
|
|
3
|
+
Short = "short",
|
|
4
|
+
Int = "int",
|
|
5
|
+
Long = "long",
|
|
6
|
+
Float = "float",
|
|
7
|
+
Double = "double",
|
|
8
|
+
Decimal = "decimal",
|
|
9
|
+
String = "string",
|
|
10
|
+
Guid = "guid",
|
|
11
|
+
DateTime = "dateTime",
|
|
12
|
+
Boolean = "boolean",
|
|
13
|
+
IntArray = "int[]",
|
|
14
|
+
StringArray = "string[]",
|
|
15
|
+
GuidArray = "guid[]"
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './common.helpers';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ToasterService } from '@myrtex-org/ui';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ConcurrencyInterceptor implements HttpInterceptor {
|
|
6
|
+
private _toasterService;
|
|
7
|
+
constructor(_toasterService: ToasterService);
|
|
8
|
+
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
9
|
+
private handleError;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConcurrencyInterceptor, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConcurrencyInterceptor>;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './concurrency.interceptor';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OptionsBase } from './options-base.model';
|
|
2
|
+
import { ComponentType, ValueType } from '@core/enums';
|
|
3
|
+
export interface ComponentModelBase {
|
|
4
|
+
id: string;
|
|
5
|
+
previewTooltip?: string;
|
|
6
|
+
sysName: string;
|
|
7
|
+
type: ComponentType;
|
|
8
|
+
valueType: ValueType;
|
|
9
|
+
options: OptionsBase;
|
|
10
|
+
components: ComponentModelBase[];
|
|
11
|
+
isError: boolean;
|
|
12
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './select-list-item.model';
|
|
2
|
+
export * from './concurrency-info.model';
|
|
3
|
+
export * from './file.model';
|
|
4
|
+
export * from './navigation-tabs.model';
|
|
5
|
+
export * from './options-base.model';
|
|
6
|
+
export * from './component-model-base.model';
|
|
7
|
+
export * from './user';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface OptionsBase {
|
|
2
|
+
label?: string;
|
|
3
|
+
tooltip?: string;
|
|
4
|
+
icon?: string;
|
|
5
|
+
width: number;
|
|
6
|
+
required: boolean;
|
|
7
|
+
withOrder: boolean;
|
|
8
|
+
canEdit: boolean;
|
|
9
|
+
canPrint: boolean;
|
|
10
|
+
canDelete: boolean;
|
|
11
|
+
canCopyData: boolean;
|
|
12
|
+
isMatViewValue: boolean;
|
|
13
|
+
linkWithProperty: boolean;
|
|
14
|
+
objectProperty?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type WellKnownPolicy = 'AccessFormTemplate' | 'AccessFormTemplateAdvanced';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { HttpHeaders, HttpResponseBase } from '@angular/common/http';
|
|
2
|
+
import { ConcurrencyInfo } from '@core/models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ConcurrencyStoreService {
|
|
5
|
+
private _store;
|
|
6
|
+
get(key: string): ConcurrencyInfo | null;
|
|
7
|
+
set(key: string, info: ConcurrencyInfo): void;
|
|
8
|
+
getHeaders(key: string): {
|
|
9
|
+
headers: HttpHeaders | {
|
|
10
|
+
[header: string]: string | string[];
|
|
11
|
+
};
|
|
12
|
+
observe: 'response';
|
|
13
|
+
};
|
|
14
|
+
appendHeaders(key: string, headers: HttpHeaders): HttpHeaders;
|
|
15
|
+
fromHeaders(key: string, response: HttpResponseBase): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConcurrencyStoreService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConcurrencyStoreService>;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './concurrency-store.service';
|
package/lib/modules/object-form/components/elements/base/base-element/base-element.component.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ComponentModelBase } from '@core/models';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { ComponentValueModel, SectionValueModel } from '@object-form/models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare abstract class BaseElementComponent<TModel extends ComponentModelBase> implements OnInit {
|
|
7
|
+
private _store;
|
|
8
|
+
private _detector;
|
|
9
|
+
applicationId$: Observable<string>;
|
|
10
|
+
settings: TModel;
|
|
11
|
+
model: ComponentValueModel;
|
|
12
|
+
values: SectionValueModel[];
|
|
13
|
+
set data(settings: ComponentModelBase);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
private _initModel;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseElementComponent<any>, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BaseElementComponent<any>>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import { Store } from '@ngrx/store';
|
|
4
|
+
import { ComponentModelBase } from '@core/models';
|
|
5
|
+
import { Field } from '@myrtex-org/ui';
|
|
6
|
+
import { ComponentValueModel, ValueModel } from '@object-form/models';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare abstract class BaseFieldComponent<TModel extends ComponentModelBase, TOutputEvent extends {
|
|
9
|
+
id: string;
|
|
10
|
+
value: any;
|
|
11
|
+
}> implements OnInit, OnDestroy {
|
|
12
|
+
protected _store: Store;
|
|
13
|
+
protected _detector: ChangeDetectorRef;
|
|
14
|
+
protected _subscriptions$: Subscription[];
|
|
15
|
+
private _autoSaveStore;
|
|
16
|
+
private _isCheckRequired;
|
|
17
|
+
model: ComponentValueModel;
|
|
18
|
+
settings: TModel;
|
|
19
|
+
manualValues: ValueModel[];
|
|
20
|
+
set values(value: ValueModel[]);
|
|
21
|
+
valueMode: 'auto' | 'manual';
|
|
22
|
+
set data(settings: ComponentModelBase);
|
|
23
|
+
changed: EventEmitter<ComponentValueModel | ComponentValueModel[]>;
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
ngOnDestroy(): void;
|
|
26
|
+
get autosaveFields(): Field[];
|
|
27
|
+
get getInvalid(): boolean;
|
|
28
|
+
get getInvalidMessage(): string;
|
|
29
|
+
private _requiredValidate;
|
|
30
|
+
protected _initSubscriptionForValue(): void;
|
|
31
|
+
protected _updateValue(): void;
|
|
32
|
+
protected _transformOutputValue(): ComponentValueModel | ComponentValueModel[];
|
|
33
|
+
protected _customModelModify(event: TOutputEvent): void;
|
|
34
|
+
protected _customInit(): void;
|
|
35
|
+
protected _initModel(): void;
|
|
36
|
+
dispatchModify(event: TOutputEvent): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseFieldComponent<any, any>, never>;
|
|
38
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BaseFieldComponent<any, any>>;
|
|
39
|
+
}
|
package/lib/modules/object-form/components/elements/content/divider/content-divider.component.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ComponentType } from '@core/enums';
|
|
2
|
+
import { BaseElementComponent } from '@object-form/components/elements/base';
|
|
3
|
+
import { ContentDividerModel } from '@object-form/models/elemets/inputs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ContentDividerComponent extends BaseElementComponent<ContentDividerModel> {
|
|
6
|
+
type: ComponentType;
|
|
7
|
+
get getSizeClass(): string;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentDividerComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentDividerComponent, "app-content-divider", never, {}, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './content-divider.component';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { formatBytes } from '@myrtex-org/ui-composite';
|
|
2
|
+
import { ComponentType } from '@core/enums';
|
|
3
|
+
import { BaseElementComponent } from '@object-form/components/elements/base';
|
|
4
|
+
import { ContentFileModel } from '@object-form/models/elemets/inputs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ContentFileComponent extends BaseElementComponent<ContentFileModel> {
|
|
7
|
+
type: ComponentType;
|
|
8
|
+
formatBytes: typeof formatBytes;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentFileComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentFileComponent, "app-content-file", never, {}, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './content-file.component';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ComponentType } from '@core/enums';
|
|
2
|
+
import { BaseElementComponent } from '@object-form/components/elements/base';
|
|
3
|
+
import { ContentTextModel } from '@object-form/models/elemets/inputs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ContentTextComponent extends BaseElementComponent<ContentTextModel> {
|
|
6
|
+
type: ComponentType;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentTextComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentTextComponent, "app-content-input-table-modal", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './content-text.component';
|
package/lib/modules/object-form/components/elements/content/title/content-title.component.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ComponentType } from '@core/enums';
|
|
2
|
+
import { BaseElementComponent } from '@object-form/components/elements/base';
|
|
3
|
+
import { ContentTitleModel } from '@object-form/models/elemets/inputs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ContentTitleComponent extends BaseElementComponent<ContentTitleModel> {
|
|
6
|
+
type: ComponentType;
|
|
7
|
+
get getSizeClass(): string;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentTitleComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentTitleComponent, "app-content-title", never, {}, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './content-title.component';
|
package/lib/modules/object-form/components/elements/content/tooltip/content-tooltip.component.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ComponentType } from '@core/enums';
|
|
2
|
+
import { BaseElementComponent } from '@object-form/components/elements/base';
|
|
3
|
+
import { ContentTooltipModel } from '@object-form/models/elemets/inputs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ContentTooltipComponent extends BaseElementComponent<ContentTooltipModel> {
|
|
6
|
+
type: ComponentType;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentTooltipComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentTooltipComponent, "app-content-tooltip", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './content-tooltip.component';
|