@creatio-devkit/common 0.806.1 → 0.808.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/CHANGELOG.md +5 -0
- package/esm2020/creatio-devkit-common.mjs +1 -1
- package/esm2020/index.mjs +1 -1
- package/esm2020/lib/external/functions/aggregation-adapter.mjs +49 -1
- package/esm2020/lib/external/functions/date-part-type-adapter.mjs +48 -0
- package/esm2020/lib/external/functions/function-type-adapter.mjs +28 -0
- package/esm2020/lib/external/functions/index.mjs +4 -1
- package/esm2020/lib/external/functions/order-direction-adapter.mjs +28 -0
- package/esm2020/lib/external/models/attribute-value-config.mjs +1 -1
- package/esm2020/lib/external/models/date-time/grouped-date-value.mjs +1 -1
- package/esm2020/lib/external/models/date-time/index.mjs +1 -1
- package/esm2020/lib/external/models/file-value.model.mjs +1 -1
- package/esm2020/lib/external/models/index.mjs +1 -1
- package/esm2020/lib/external/models/model-init-config.mjs +1 -1
- package/esm2020/lib/external/utils/date-utils.mjs +29 -0
- package/esm2020/lib/external/utils/index.mjs +2 -0
- package/esm2020/lib/index.mjs +12 -10
- package/esm2020/lib/internal/constants/index.mjs +1 -1
- package/esm2020/lib/internal/constants/metadata.const.mjs +1 -1
- package/esm2020/lib/internal/decorators/design-time-view-element/design-time-view-element.decorator.mjs +1 -1
- package/esm2020/lib/internal/decorators/design-time-view-element/index.mjs +1 -1
- package/esm2020/lib/internal/decorators/implement-using-handler-chain/implement-using-handler-chain.decorator.mjs +1 -1
- package/esm2020/lib/internal/decorators/implement-using-handler-chain/index.mjs +1 -1
- package/esm2020/lib/internal/decorators/index.mjs +1 -2
- package/esm2020/lib/internal/decorators/request/index.mjs +1 -1
- package/esm2020/lib/internal/decorators/request/request.decorator.mjs +1 -1
- package/esm2020/lib/internal/enums/data-schema-attribute-type.enum.mjs +2 -1
- package/esm2020/lib/internal/enums/data-source-scope.enum.mjs +1 -1
- package/esm2020/lib/internal/enums/default-value-source.enum.mjs +1 -1
- package/esm2020/lib/internal/enums/designer-group-type.enum.mjs +1 -1
- package/esm2020/lib/internal/enums/handler-source-type.enum.mjs +1 -1
- package/esm2020/lib/internal/enums/index.mjs +1 -1
- package/esm2020/lib/internal/enums/model-in-page-action.enum.mjs +1 -1
- package/esm2020/lib/internal/enums/view-element-group-type.enum.mjs +1 -1
- package/esm2020/lib/internal/esq/data-model/index.mjs +1 -1
- package/esm2020/lib/internal/esq/data-model/metadata-provider/metadata-provider.mjs +1 -1
- package/esm2020/lib/internal/esq/data-model/queries/base-filterable-query.mjs +2 -2
- package/esm2020/lib/internal/esq/data-model/queries/base-query.mjs +1 -1
- package/esm2020/lib/internal/esq/data-model/queries/delete-query.mjs +1 -1
- package/esm2020/lib/internal/esq/data-model/queries/entity-schema-query.mjs +16 -16
- package/esm2020/lib/internal/esq/data-model/queries/index.mjs +2 -1
- package/esm2020/lib/internal/esq/data-model/queries/insert-query.mjs +3 -3
- package/esm2020/lib/internal/esq/data-model/queries/query-operation-type.mjs +1 -1
- package/esm2020/lib/internal/esq/data-model/queries/select-localization-query.mjs +7 -0
- package/esm2020/lib/internal/esq/data-model/queries/update-query.mjs +3 -3
- package/esm2020/lib/internal/esq/index.mjs +1 -1
- package/esm2020/lib/internal/model/data-schema/data-schema-attribute-aggregation-config.model.mjs +2 -0
- package/esm2020/lib/internal/model/data-schema/data-schema-attribute-function-config.model.mjs +2 -0
- package/esm2020/lib/internal/model/data-schema/data-schema-validator-config.model.mjs +2 -0
- package/esm2020/lib/internal/model/data-schema/index.mjs +4 -0
- package/esm2020/lib/internal/model/data-source-config.mjs +1 -1
- package/esm2020/lib/internal/model/index.mjs +2 -3
- package/esm2020/lib/internal/models/converter/converter-registry-item.mjs +2 -0
- package/esm2020/lib/internal/models/converter/index.mjs +2 -0
- package/esm2020/lib/internal/models/default-value-schema.mjs +1 -1
- package/esm2020/lib/internal/models/design-time-view-element-registry-item.mjs +1 -1
- package/esm2020/lib/internal/models/handler-chain-service-registry-item.mjs +1 -1
- package/esm2020/lib/internal/models/index.mjs +3 -2
- package/esm2020/lib/internal/models/injection-context/index.mjs +2 -0
- package/esm2020/lib/internal/models/injection-context/injection-context.mjs +2 -0
- package/esm2020/lib/internal/models/interface-designer-item/base-interface-designer-item-registration-config.mjs +1 -1
- package/esm2020/lib/internal/models/interface-designer-item/index.mjs +1 -1
- package/esm2020/lib/internal/models/interface-designer-item/interface-designer-item-registration-config.model.mjs +1 -1
- package/esm2020/lib/internal/models/interface-designer-item/toolbar-view-element-config.mjs +1 -1
- package/esm2020/lib/internal/models/interface-designer-registry-item.mjs +1 -1
- package/esm2020/lib/internal/models/internal-interface-designer-item-registration-config.model.mjs +1 -1
- package/esm2020/lib/internal/models/remote-build-info.mjs +9 -0
- package/esm2020/lib/internal/models/request/index.mjs +1 -1
- package/esm2020/lib/internal/models/request/method-invoke-request.mjs +1 -1
- package/esm2020/lib/internal/models/request-handler/contexed-handler-scope-config.mjs +2 -0
- package/esm2020/lib/internal/models/request-handler/handler-config.mjs +1 -1
- package/esm2020/lib/internal/models/request-handler/handler-source.mjs +1 -1
- package/esm2020/lib/internal/models/request-handler/index.mjs +2 -1
- package/esm2020/lib/internal/models/request-handler/request-handler-factory.mjs +1 -1
- package/esm2020/lib/internal/models/request-handler/request-handler-registration-config.model.mjs +1 -1
- package/esm2020/lib/internal/models/validator/index.mjs +1 -1
- package/esm2020/lib/internal/models/validator/validator-parameters.mjs +1 -1
- package/esm2020/lib/internal/models/validator/validator-registry-item.mjs +1 -1
- package/esm2020/lib/internal/models/validator/validator-schema-config.model.mjs +1 -1
- package/esm2020/lib/internal/models/view-element/angular-view-element-registration-config.model.mjs +1 -1
- package/esm2020/lib/internal/models/view-element/index.mjs +1 -1
- package/esm2020/lib/internal/models/view-element-registry-item.mjs +1 -1
- package/esm2020/lib/internal/services/base-handler-chain.service.mjs +1 -1
- package/esm2020/lib/internal/services/base-registry/base-registry.mjs +1 -1
- package/esm2020/lib/internal/services/base-registry/index.mjs +1 -1
- package/esm2020/lib/internal/services/bootstrap-notifier/bootstrap-notifier.mjs +1 -1
- package/esm2020/lib/internal/services/bootstrap-notifier/index.mjs +1 -1
- package/esm2020/lib/internal/services/design-time-view-element-registry/design-time-view-element-registry.mjs +1 -1
- package/esm2020/lib/internal/services/design-time-view-element-registry/index.mjs +1 -1
- package/esm2020/lib/internal/services/element-registration-checker/element-registration-checker.mjs +1 -1
- package/esm2020/lib/internal/services/element-registration-checker/index.mjs +1 -1
- package/esm2020/lib/internal/services/global-converters-registry/converter-registry.mjs +24 -0
- package/esm2020/lib/internal/services/global-converters-registry/index.mjs +2 -2
- package/esm2020/lib/internal/services/handler-chain-services-registry/handler-chain-services-registry.mjs +1 -1
- package/esm2020/lib/internal/services/handler-chain-services-registry/index.mjs +1 -1
- package/esm2020/lib/internal/services/index.mjs +1 -1
- package/esm2020/lib/internal/services/interface-designer-item-registry/index.mjs +1 -1
- package/esm2020/lib/internal/services/interface-designer-item-registry/interface-designer-item-registry.mjs +1 -1
- package/esm2020/lib/internal/services/pkg-topology-registry/index.mjs +1 -1
- package/esm2020/lib/internal/services/pkg-topology-registry/pkg-topology-registry.mjs +1 -1
- package/esm2020/lib/internal/services/remote-entries-registry/index.mjs +1 -1
- package/esm2020/lib/internal/services/remote-entries-registry/remote-entries-registry.mjs +8 -1
- package/esm2020/lib/internal/services/request-handler-registry/index.mjs +1 -1
- package/esm2020/lib/internal/services/request-handler-registry/request-handler-registry.service.mjs +1 -1
- package/esm2020/lib/internal/services/request-registry/index.mjs +1 -1
- package/esm2020/lib/internal/services/request-registry/request-registry.service.mjs +1 -1
- package/esm2020/lib/internal/services/validator-registry/index.mjs +1 -1
- package/esm2020/lib/internal/services/validator-registry/validator-registry.mjs +1 -1
- package/esm2020/lib/internal/services/view-element-registry/index.mjs +1 -1
- package/esm2020/lib/internal/services/view-element-registry/view-element-registry.mjs +1 -1
- package/esm2020/lib/internal/types/index.mjs +3 -0
- package/esm2020/lib/internal/types/internal-resolve-dependency-fn.type.mjs +2 -0
- package/esm2020/lib/internal/types/localizable-values.type.mjs +2 -0
- package/esm2020/lib/internal/utils/component-config-utils.mjs +1 -1
- package/esm2020/lib/internal/utils/handlers-order-comparer.mjs +1 -1
- package/esm2020/lib/internal/utils/index.mjs +5 -5
- package/esm2020/lib/internal/utils/instantiate.mjs +1 -1
- package/esm2020/lib/internal/utils/localization-utils.mjs +2 -2
- package/esm2020/lib/internal/utils/metadata-utils.mjs +18 -1
- package/esm2020/lib/internal/utils/object-deep-keys/index.mjs +1 -1
- package/esm2020/lib/internal/utils/object-deep-keys/object-deep-keys.mjs +1 -1
- package/esm2020/lib/public/decorators/converter/converter.decorator.mjs +21 -0
- package/esm2020/lib/public/decorators/converter/index.mjs +2 -0
- package/esm2020/lib/public/decorators/index.mjs +2 -1
- package/esm2020/lib/public/decorators/inject/index.mjs +1 -1
- package/esm2020/lib/public/decorators/inject/inject.decorator.mjs +1 -1
- package/esm2020/lib/public/decorators/input/index.mjs +1 -1
- package/esm2020/lib/public/decorators/input/input.decorator.mjs +1 -1
- package/esm2020/lib/public/decorators/interface-designer-item/index.mjs +1 -1
- package/esm2020/lib/public/decorators/interface-designer-item/interface-designer-item.decorator.mjs +1 -1
- package/esm2020/lib/public/decorators/module/index.mjs +1 -1
- package/esm2020/lib/public/decorators/module/module.decorator.mjs +1 -1
- package/esm2020/lib/public/decorators/output/index.mjs +1 -1
- package/esm2020/lib/public/decorators/output/output.decorator.mjs +1 -1
- package/esm2020/lib/public/decorators/request-handler/index.mjs +1 -1
- package/esm2020/lib/public/decorators/request-handler/request-handler.decorator.mjs +1 -1
- package/esm2020/lib/public/decorators/validation-input/index.mjs +1 -1
- package/esm2020/lib/public/decorators/validation-input/validation-input.decorator.mjs +1 -1
- package/esm2020/lib/public/decorators/validator/index.mjs +1 -1
- package/esm2020/lib/public/decorators/validator/validator.decorator.mjs +1 -1
- package/esm2020/lib/public/decorators/view-element/index.mjs +1 -1
- package/esm2020/lib/public/decorators/view-element/view-element.decorator.mjs +1 -1
- package/esm2020/lib/public/enums/aggregation-function.enum.mjs +1 -1
- package/esm2020/lib/public/enums/aggregation-type.enum.mjs +1 -1
- package/esm2020/lib/public/enums/data-value-type.enum.mjs +2 -1
- package/esm2020/lib/public/enums/index.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/columns/arithmetic/arithmetic-query-column.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/columns/base-query-column.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/columns/entity-column/entity-query-column.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/columns/functions/aggregation-function-column.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/columns/functions/date-part-function-column.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/columns/functions/length-function-column.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/columns/functions/macros-function-column.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/columns/functions/window-function-column.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/columns/index.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/columns/parameters/parameter-query-column.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/columns/sub-queries/aggregation-sub-query-column.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/columns/sub-queries/sub-query-column.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/enums/aggregation-eval-type.enum.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/enums/arithmetic-operation.enum.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/enums/comparison-type.enum.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/enums/date-part-type.enum.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/enums/expression-type.enum.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/enums/filter-type.enum.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/enums/function-type.enum.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/enums/index.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/enums/logical-operator-type.enum.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/enums/order-direction.enum.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/enums/query-macros-type.enum.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/expressions/arithmetic/arithmetic-expression.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/expressions/arithmetic/index.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/expressions/base-expression.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/expressions/columns/column-expression.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/expressions/columns/index.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/expressions/functions/aggregation-function-expression.mjs +2 -2
- package/esm2020/lib/public/esq/data-model/expressions/functions/argument-function-expression.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/expressions/functions/date-part-function-expression.mjs +2 -2
- package/esm2020/lib/public/esq/data-model/expressions/functions/function-expression.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/expressions/functions/index.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/expressions/functions/length-function-expression.mjs +2 -2
- package/esm2020/lib/public/esq/data-model/expressions/functions/macros-function-expression.mjs +2 -2
- package/esm2020/lib/public/esq/data-model/expressions/functions/window-function-expression.mjs +2 -2
- package/esm2020/lib/public/esq/data-model/expressions/index.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/expressions/mocks/expression.mock.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/expressions/mocks/index.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/expressions/parameters/index.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/expressions/parameters/parameter-expression.mjs +7 -1
- package/esm2020/lib/public/esq/data-model/expressions/sub-queries/aggregation-sub-query-expression.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/expressions/sub-queries/index.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/expressions/sub-queries/sub-query-expression.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/filters/base-filter.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/filters/between-filter.mjs +2 -2
- package/esm2020/lib/public/esq/data-model/filters/compare-filter.mjs +2 -2
- package/esm2020/lib/public/esq/data-model/filters/exists-filter.mjs +2 -2
- package/esm2020/lib/public/esq/data-model/filters/filter-group.mjs +20 -6
- package/esm2020/lib/public/esq/data-model/filters/in-filter.mjs +2 -2
- package/esm2020/lib/public/esq/data-model/filters/index.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/filters/isnull-filter.mjs +2 -2
- package/esm2020/lib/public/esq/data-model/filters/mocks/filter.mock.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/filters/mocks/index.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/filters/single-filter.mjs +1 -1
- package/esm2020/lib/public/esq/data-model/index.mjs +1 -1
- package/esm2020/lib/public/esq/index.mjs +1 -1
- package/esm2020/lib/public/exceptions/argument-empty-exception.mjs +1 -1
- package/esm2020/lib/public/exceptions/argument-out-of-range-exception.mjs +1 -1
- package/esm2020/lib/public/exceptions/index.mjs +1 -1
- package/esm2020/lib/public/exceptions/item-not-found-exception.mjs +1 -1
- package/esm2020/lib/public/exceptions/next-handler-already-specified-exception.mjs +1 -1
- package/esm2020/lib/public/exceptions/validation-utilities.mjs +1 -1
- package/esm2020/lib/public/functions/bootstrap-crt-module-handler-chain-services.mjs +1 -1
- package/esm2020/lib/public/functions/bootstrap-crt-module.mjs +35 -6
- package/esm2020/lib/public/functions/index.mjs +1 -1
- package/esm2020/lib/public/functions/localize.mjs +1 -1
- package/esm2020/lib/public/functions/register-angular-view-element.mjs +1 -1
- package/esm2020/lib/public/functions/register-view-element.mjs +1 -1
- package/esm2020/lib/public/handlers/base-request-handler.mjs +2 -2
- package/esm2020/lib/public/handlers/index.mjs +1 -1
- package/esm2020/lib/public/models/base-response.model.mjs +1 -1
- package/esm2020/lib/public/models/converter/converter-config.mjs +2 -0
- package/esm2020/lib/public/models/converter/index.mjs +2 -0
- package/esm2020/lib/public/models/converter.model.mjs +1 -1
- package/esm2020/lib/public/models/data-source/data-source-insert-result.model.mjs +1 -1
- package/esm2020/lib/public/models/data-source/data-source-save-result.model.mjs +1 -1
- package/esm2020/lib/public/models/data-source/index.mjs +1 -1
- package/esm2020/lib/public/models/entity.model.mjs +1 -1
- package/esm2020/lib/public/models/error-info.model.mjs +1 -1
- package/esm2020/lib/public/models/image-value.model.mjs +1 -1
- package/esm2020/lib/public/models/index.mjs +2 -1
- package/esm2020/lib/public/models/input/index.mjs +1 -1
- package/esm2020/lib/public/models/input/input-registration-config.model.mjs +1 -1
- package/esm2020/lib/public/models/interface-designer-item/index.mjs +1 -1
- package/esm2020/lib/public/models/interface-designer-item/interface-designer-item-definition.mjs +1 -1
- package/esm2020/lib/public/models/localizable-value.mjs +1 -1
- package/esm2020/lib/public/models/lookup-value.model.mjs +1 -1
- package/esm2020/lib/public/models/mask-settings.mjs +1 -1
- package/esm2020/lib/public/models/module-definition.mjs +1 -1
- package/esm2020/lib/public/models/request/base-request-config.mjs +1 -1
- package/esm2020/lib/public/models/request/base-request.mjs +1 -1
- package/esm2020/lib/public/models/request/data-source-request.mjs +1 -1
- package/esm2020/lib/public/models/request/index.mjs +1 -1
- package/esm2020/lib/public/models/request/request-registration-config.model.mjs +1 -1
- package/esm2020/lib/public/models/request-handler/index.mjs +1 -1
- package/esm2020/lib/public/models/request-handler/request-handler-definition.mjs +1 -1
- package/esm2020/lib/public/models/request-handler/request-handler.mjs +1 -1
- package/esm2020/lib/public/models/validation/base-validator.mjs +1 -1
- package/esm2020/lib/public/models/validation/crt-control-state.mjs +1 -1
- package/esm2020/lib/public/models/validation/crt-validation-errors.mjs +1 -1
- package/esm2020/lib/public/models/validation/crt-validator-fn.mjs +1 -1
- package/esm2020/lib/public/models/validation/index.mjs +1 -1
- package/esm2020/lib/public/models/validation/validation-info.mjs +1 -1
- package/esm2020/lib/public/models/validation/validator-config.mjs +1 -1
- package/esm2020/lib/public/models/validation/validator-parameter-values.mjs +1 -1
- package/esm2020/lib/public/models/view-element/base-view-element-registration-config.mjs +1 -1
- package/esm2020/lib/public/models/view-element/index.mjs +1 -1
- package/esm2020/lib/public/models/view-element/view-element-registration-config.mjs +1 -1
- package/esm2020/lib/public/models/view-element/view-element-slot-definition.mjs +1 -1
- package/esm2020/lib/public/models/view-model-context.mjs +1 -1
- package/esm2020/lib/public/services/feature/feature.service.mjs +1 -1
- package/esm2020/lib/public/services/feature/index.mjs +1 -1
- package/esm2020/lib/public/services/handler-chain/handler-chain.service.mjs +7 -1
- package/esm2020/lib/public/services/handler-chain/index.mjs +1 -1
- package/esm2020/lib/public/services/handler-chain/internal-handler-chain.mjs +30 -7
- package/esm2020/lib/public/services/http-client/http-client.service.mjs +1 -1
- package/esm2020/lib/public/services/http-client/http-headers.mjs +1 -1
- package/esm2020/lib/public/services/http-client/http-response.mjs +1 -1
- package/esm2020/lib/public/services/http-client/index.mjs +1 -1
- package/esm2020/lib/public/services/index.mjs +1 -1
- package/esm2020/lib/public/services/mask-service/index.mjs +2 -1
- package/esm2020/lib/public/services/mask-service/mask.service.mjs +21 -1
- package/esm2020/lib/public/services/mask-service/schema-view-mask.request.mjs +22 -0
- package/esm2020/lib/public/services/model/data-schema-attribute.mjs +1 -1
- package/esm2020/lib/public/services/model/data-schema.mjs +1 -1
- package/esm2020/lib/public/services/model/data-source-aggregation-config.mjs +1 -1
- package/esm2020/lib/public/services/model/data-source-attribute.mjs +1 -1
- package/esm2020/lib/public/services/model/data-source-can-execute-operation.mjs +1 -1
- package/esm2020/lib/public/services/model/data-source-function-config.mjs +2 -0
- package/esm2020/lib/public/services/model/data-source-paging-config.mjs +1 -1
- package/esm2020/lib/public/services/model/data-source-parameter.mjs +1 -1
- package/esm2020/lib/public/services/model/data-source-sorting-config.mjs +1 -1
- package/esm2020/lib/public/services/model/index.mjs +2 -1
- package/esm2020/lib/public/services/model/model-load-options.mjs +1 -1
- package/esm2020/lib/public/services/model/model.mjs +1 -1
- package/esm2020/lib/public/services/rights/index.mjs +1 -1
- package/esm2020/lib/public/services/rights/rights.service.mjs +1 -1
- package/esm2020/lib/public/services/sys-settings/index.mjs +1 -1
- package/esm2020/lib/public/services/sys-settings/sys-setting.model.mjs +1 -1
- package/esm2020/lib/public/services/sys-settings/sys-settings.service.mjs +1 -1
- package/esm2020/lib/public/services/sys-values/index.mjs +1 -1
- package/esm2020/lib/public/services/sys-values/sys-values.mjs +1 -1
- package/esm2020/lib/public/services/sys-values/sys-values.service.mjs +1 -1
- package/esm2020/lib/public/types/abstract-type.mjs +1 -1
- package/esm2020/lib/public/types/aggregation-eval.type.mjs +2 -0
- package/esm2020/lib/public/types/date-part.type.mjs +2 -0
- package/esm2020/lib/public/types/entity-column-value.mjs +1 -1
- package/esm2020/lib/public/types/function.type.mjs +2 -0
- package/esm2020/lib/public/types/guid.type.mjs +2 -2
- package/esm2020/lib/public/types/index.mjs +4 -1
- package/esm2020/lib/public/types/json-data.type.mjs +1 -1
- package/esm2020/lib/public/types/localizable-string.type.mjs +1 -1
- package/esm2020/lib/public/types/localize-fn.type.mjs +1 -1
- package/esm2020/lib/public/types/resolve-dependency-fn.type.mjs +1 -1
- package/esm2020/lib/public/types/sort-direction.type.mjs +1 -1
- package/esm2020/lib/public/types/type.mjs +1 -1
- package/fesm2015/creatio-devkit-common.mjs +2295 -1949
- package/fesm2015/creatio-devkit-common.mjs.map +1 -1
- package/fesm2020/creatio-devkit-common.mjs +2292 -1950
- package/fesm2020/creatio-devkit-common.mjs.map +1 -1
- package/{creatio-devkit-common.d.ts → index.d.ts} +193 -10
- package/package.json +9 -7
- package/esm2020/lib/internal/decorators/converter/converter.decorator.mjs +0 -11
- package/esm2020/lib/internal/decorators/converter/index.mjs +0 -2
- package/esm2020/lib/internal/model/data-schema/data-schema-attribute-aggregation-config.mjs +0 -2
- package/esm2020/lib/internal/model/data-schema/data-schema-validator-config.mjs +0 -2
- package/esm2020/lib/internal/models/remote-entry-info.mjs +0 -2
- package/esm2020/lib/internal/services/global-converters-registry/global-converters-registry.service.mjs +0 -23
|
@@ -6,6 +6,8 @@ export declare type AbstractType<T = any> = abstract new (...args: any[]) => T;
|
|
|
6
6
|
|
|
7
7
|
/* Excluded from this release type: AddRequestHandlerListener */
|
|
8
8
|
|
|
9
|
+
export declare type AggregationEval = 'all' | 'distinct' | 'none';
|
|
10
|
+
|
|
9
11
|
export declare enum AggregationEvalType {
|
|
10
12
|
/** The scope of the aggregating function is not defined. */
|
|
11
13
|
None = 0,
|
|
@@ -123,6 +125,12 @@ export declare class ArithmeticQueryColumn extends BaseQueryColumn<ArithmeticExp
|
|
|
123
125
|
|
|
124
126
|
/* Excluded from this release type: AttributeValueConfig */
|
|
125
127
|
|
|
128
|
+
/* Excluded from this release type: BaseDataSchemaAttributeFunctionConfig */
|
|
129
|
+
|
|
130
|
+
declare interface BaseDataSourceFunctionConfig {
|
|
131
|
+
type: FunctionStringType;
|
|
132
|
+
}
|
|
133
|
+
|
|
126
134
|
/**
|
|
127
135
|
* @public
|
|
128
136
|
*/
|
|
@@ -478,9 +486,42 @@ export declare interface ConditionalValueItem {
|
|
|
478
486
|
};
|
|
479
487
|
}
|
|
480
488
|
|
|
481
|
-
/* Excluded from this release type:
|
|
489
|
+
/* Excluded from this release type: ContexedHandlerScopeConfig */
|
|
482
490
|
|
|
483
|
-
|
|
491
|
+
/**
|
|
492
|
+
* @public
|
|
493
|
+
* @description Shape to implementing Converter.
|
|
494
|
+
* @template V
|
|
495
|
+
* @template R
|
|
496
|
+
*/
|
|
497
|
+
export declare interface Converter<V = unknown, R = unknown> {
|
|
498
|
+
/**
|
|
499
|
+
* @description Function which convert incoming value.
|
|
500
|
+
* @param {V} value - input value.
|
|
501
|
+
* @param {ViewModelContext} context - view model context.
|
|
502
|
+
* @param {...unknown[]} arg - arguments rest.
|
|
503
|
+
* @return {*} {R}
|
|
504
|
+
*/
|
|
505
|
+
convert(value: V, context: ViewModelContext, ...args: unknown[]): R;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* @public
|
|
510
|
+
* @description Config used to register converter in Creatio platform.
|
|
511
|
+
* @property {string} type - type of validator
|
|
512
|
+
*/
|
|
513
|
+
export declare interface ConverterConfig {
|
|
514
|
+
/**
|
|
515
|
+
* @description type used to register converter in Creatio platform.
|
|
516
|
+
*/
|
|
517
|
+
type: string;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/* Excluded from this release type: ConverterMetadata */
|
|
521
|
+
|
|
522
|
+
/* Excluded from this release type: ConverterRegistry */
|
|
523
|
+
|
|
524
|
+
/* Excluded from this release type: ConverterRegistryItem */
|
|
484
525
|
|
|
485
526
|
/* Excluded from this release type: CrtAngularViewElementConfig */
|
|
486
527
|
|
|
@@ -496,7 +537,26 @@ export declare interface CrtControlState {
|
|
|
496
537
|
value: unknown;
|
|
497
538
|
}
|
|
498
539
|
|
|
499
|
-
|
|
540
|
+
/**
|
|
541
|
+
* @public
|
|
542
|
+
* @description Decorator to declare converter
|
|
543
|
+
* @param config - converter config {@link ConverterConfig}.
|
|
544
|
+
* if config is not passed, converter won't be declared,
|
|
545
|
+
* but still can be used as base class for another converter
|
|
546
|
+
*
|
|
547
|
+
* @example
|
|
548
|
+
* @CrtConverter({
|
|
549
|
+
* type: 'usr.ToBoolean',
|
|
550
|
+
* })
|
|
551
|
+
* export class ToBooleanConverter implements Converter<unknown, boolean> {
|
|
552
|
+
* public convert(value: unknown): boolean {
|
|
553
|
+
* return Boolean(value);
|
|
554
|
+
* }
|
|
555
|
+
* }
|
|
556
|
+
*/
|
|
557
|
+
export declare function CrtConverter(config: ConverterConfig): (type: Type) => void;
|
|
558
|
+
|
|
559
|
+
export declare function CrtConverter(): (type: Type | AbstractType) => void;
|
|
500
560
|
|
|
501
561
|
/* Excluded from this release type: CrtDesignTimeViewElement */
|
|
502
562
|
|
|
@@ -772,7 +832,9 @@ export declare class DataRequest extends BaseRequest {
|
|
|
772
832
|
* @property {string} name - name of DataSchema.
|
|
773
833
|
* @property {string} primaryAttributeName - name of primary attribute.
|
|
774
834
|
* @property {string} primaryDisplayAttributeName - name of primary display attribute.
|
|
775
|
-
* @property {string} hierarchyAttributeName - name of the column that binds the parent record,
|
|
835
|
+
* @property {string} hierarchyAttributeName - name of the column that binds the parent record,
|
|
836
|
+
* for hierarchical entities.
|
|
837
|
+
* @property {string} primaryColorAttributeName - name of the column that defines color.
|
|
776
838
|
*/
|
|
777
839
|
export declare interface DataSchema {
|
|
778
840
|
name: string;
|
|
@@ -787,12 +849,14 @@ export declare interface DataSchema {
|
|
|
787
849
|
primaryAttributeName?: string;
|
|
788
850
|
primaryDisplayAttributeName?: string;
|
|
789
851
|
hierarchyAttributeName?: string;
|
|
852
|
+
primaryColorAttributeName?: string;
|
|
790
853
|
/* Excluded from this release type: dataSourceConfig */
|
|
791
854
|
}
|
|
792
855
|
|
|
793
856
|
/**
|
|
794
857
|
* @public
|
|
795
|
-
* @description DataSchemaAttribute describes the structure of the single attribute
|
|
858
|
+
* @description DataSchemaAttribute describes the structure of the single attribute
|
|
859
|
+
* of data-object that the application works with.
|
|
796
860
|
* @property {string} name - name of DataSchemaAttribute.
|
|
797
861
|
* @property {string} caption - caption of DataSchemaAttribute.
|
|
798
862
|
* @property {string} isValueCloneable - copy this DataSchemaAttribute value when copying object.
|
|
@@ -816,6 +880,7 @@ export declare interface DataSchemaAttribute {
|
|
|
816
880
|
isValueCloneable: boolean;
|
|
817
881
|
/* Excluded from this release type: attributeType */
|
|
818
882
|
referenceSchemaName?: string;
|
|
883
|
+
/* Excluded from this release type: functionConfig */
|
|
819
884
|
/* Excluded from this release type: aggregationConfig */
|
|
820
885
|
isMasked: boolean;
|
|
821
886
|
isFormatValidated: boolean;
|
|
@@ -829,6 +894,12 @@ export declare interface DataSchemaAttribute {
|
|
|
829
894
|
|
|
830
895
|
/* Excluded from this release type: DataSchemaAttributeAggregationConfig */
|
|
831
896
|
|
|
897
|
+
/* Excluded from this release type: DataSchemaAttributeAggregationFunctionConfig */
|
|
898
|
+
|
|
899
|
+
/* Excluded from this release type: DataSchemaAttributeDatePartFunctionConfig */
|
|
900
|
+
|
|
901
|
+
/* Excluded from this release type: DataSchemaAttributeFunctionConfig */
|
|
902
|
+
|
|
832
903
|
/* Excluded from this release type: DataSchemaAttributeType */
|
|
833
904
|
|
|
834
905
|
/* Excluded from this release type: DataSchemaAttributeUsageType */
|
|
@@ -844,17 +915,30 @@ export declare interface DataSourceAggregationConfig {
|
|
|
844
915
|
sortByDirection?: OrderDirection;
|
|
845
916
|
}
|
|
846
917
|
|
|
918
|
+
export declare interface DataSourceAggregationFunctionConfig extends BaseDataSourceFunctionConfig {
|
|
919
|
+
type: 'aggregation';
|
|
920
|
+
aggregation: AggregationFunction;
|
|
921
|
+
aggregationEval: AggregationEval;
|
|
922
|
+
}
|
|
923
|
+
|
|
847
924
|
/**
|
|
848
925
|
* @public
|
|
849
926
|
*/
|
|
850
927
|
export declare interface DataSourceAttribute {
|
|
928
|
+
type?: DataSourceAttributeType;
|
|
851
929
|
name: string;
|
|
852
930
|
path: string;
|
|
853
931
|
caption?: string;
|
|
854
932
|
dataValueType?: DataValueType;
|
|
933
|
+
functionConfig?: DataSourceFunctionConfig;
|
|
855
934
|
aggregationConfig?: DataSourceAggregationConfig;
|
|
856
935
|
}
|
|
857
936
|
|
|
937
|
+
/**
|
|
938
|
+
* @public
|
|
939
|
+
*/
|
|
940
|
+
export declare type DataSourceAttributeType = 'default' | 'aggregation' | 'function';
|
|
941
|
+
|
|
858
942
|
export declare interface DataSourceCanExecuteOperationPayload {
|
|
859
943
|
primaryColumnValue?: string;
|
|
860
944
|
}
|
|
@@ -866,6 +950,13 @@ export declare interface DataSourceCanExecuteOperationResult {
|
|
|
866
950
|
|
|
867
951
|
/* Excluded from this release type: DataSourceConfig */
|
|
868
952
|
|
|
953
|
+
export declare interface DataSourceDatePartFunctionConfig extends BaseDataSourceFunctionConfig {
|
|
954
|
+
type: 'datePart';
|
|
955
|
+
datePart: DatePart;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
export declare type DataSourceFunctionConfig = DataSourceAggregationFunctionConfig | DataSourceDatePartFunctionConfig;
|
|
959
|
+
|
|
869
960
|
/**
|
|
870
961
|
* @public
|
|
871
962
|
*/
|
|
@@ -903,6 +994,8 @@ export declare interface DataSourceParameterRelationConfig {
|
|
|
903
994
|
dataSchemaName: string;
|
|
904
995
|
attributePath: string;
|
|
905
996
|
relationPath: string;
|
|
997
|
+
/* Excluded from this release type: useAttributeValue */
|
|
998
|
+
/* Excluded from this release type: value */
|
|
906
999
|
}
|
|
907
1000
|
|
|
908
1001
|
/**
|
|
@@ -981,12 +1074,19 @@ export declare enum DataValueType {
|
|
|
981
1074
|
OBJECT_LIST = 38,
|
|
982
1075
|
COMPOSITE_OBJECT_LIST = 39,
|
|
983
1076
|
FLOAT8 = 40,
|
|
1077
|
+
FILE_LOCATOR = 41,
|
|
984
1078
|
PHONE_TEXT = 42,
|
|
985
1079
|
RICH_TEXT = 43,
|
|
986
1080
|
WEB_TEXT = 44,
|
|
987
1081
|
EMAIL_TEXT = 45
|
|
988
1082
|
}
|
|
989
1083
|
|
|
1084
|
+
/**
|
|
1085
|
+
* @public
|
|
1086
|
+
* @description type of date part
|
|
1087
|
+
*/
|
|
1088
|
+
export declare type DatePart = 'minute' | 'hour' | 'day' | 'weekday' | 'week' | 'month' | 'year' | 'none';
|
|
1089
|
+
|
|
990
1090
|
export declare class DatePartFunctionColumn extends BaseQueryColumn<DatePartFunctionExpression> {
|
|
991
1091
|
constructor(datePartType: DatePartType, functionArgument: BaseExpression);
|
|
992
1092
|
get datePartType(): DatePartType;
|
|
@@ -1036,6 +1136,8 @@ export declare enum DatePartType {
|
|
|
1036
1136
|
|
|
1037
1137
|
/* Excluded from this release type: EMPTY_GUID */
|
|
1038
1138
|
|
|
1139
|
+
/* Excluded from this release type: encodeDate */
|
|
1140
|
+
|
|
1039
1141
|
export declare interface Entity {
|
|
1040
1142
|
[key: string]: EntityColumnValue;
|
|
1041
1143
|
}
|
|
@@ -1138,6 +1240,13 @@ export declare class FilterGroup extends BaseFilter {
|
|
|
1138
1240
|
addSchemaColumnInFilterWithParameters(comparisonType: ComparisonType, columnPath: string, parameterValues: EntityColumnValue[]): void;
|
|
1139
1241
|
addSchemaColumnIsNullFilter(columnPath: string): void;
|
|
1140
1242
|
addSchemaColumnIsNotNullFilter(columnPath: string): void;
|
|
1243
|
+
/**
|
|
1244
|
+
* Creates and adds filter between less value and greater value.
|
|
1245
|
+
* @param columnPath Column path.
|
|
1246
|
+
* @param lessParamValue Less parameter value.
|
|
1247
|
+
* @param greaterParamValue Greater parameter value.
|
|
1248
|
+
*/
|
|
1249
|
+
addSchemaColumnBetweenFilterWithParameters(columnPath: string, lessParamValue: Date | number, greaterParamValue: Date | number): void;
|
|
1141
1250
|
addExistsFilter(columnPath: string, subFilters?: FilterGroup): void;
|
|
1142
1251
|
addNotExistsFilter(columnPath: string, subFilters?: FilterGroup): void;
|
|
1143
1252
|
add(filter: BaseFilter, filterKey?: Guid): void;
|
|
@@ -1169,6 +1278,12 @@ export declare abstract class FunctionExpression extends BaseExpression {
|
|
|
1169
1278
|
|
|
1170
1279
|
export declare type FunctionExpressionConfig<TExpression extends FunctionExpression> = Omit<ExpressionConfig<TExpression>, 'functionType'>;
|
|
1171
1280
|
|
|
1281
|
+
/**
|
|
1282
|
+
* @public
|
|
1283
|
+
* @description type of function
|
|
1284
|
+
*/
|
|
1285
|
+
export declare type FunctionStringType = 'aggregation' | 'datePart' | 'none';
|
|
1286
|
+
|
|
1172
1287
|
export declare enum FunctionType {
|
|
1173
1288
|
None = 0,
|
|
1174
1289
|
/** Substitution by macro. */
|
|
@@ -1185,6 +1300,8 @@ export declare enum FunctionType {
|
|
|
1185
1300
|
|
|
1186
1301
|
/* Excluded from this release type: generateGuid */
|
|
1187
1302
|
|
|
1303
|
+
/* Excluded from this release type: getConverterMetadata */
|
|
1304
|
+
|
|
1188
1305
|
/* Excluded from this release type: getCrtInputsMetadata */
|
|
1189
1306
|
|
|
1190
1307
|
/* Excluded from this release type: getCrtOutputsMetadata */
|
|
@@ -1207,12 +1324,10 @@ export declare enum FunctionType {
|
|
|
1207
1324
|
|
|
1208
1325
|
/* Excluded from this release type: getViewElementMetadata */
|
|
1209
1326
|
|
|
1210
|
-
/* Excluded from this release type: GlobalConvertersRegistryService */
|
|
1211
|
-
|
|
1212
1327
|
/* Excluded from this release type: GroupedDateValue */
|
|
1213
1328
|
|
|
1214
1329
|
/**
|
|
1215
|
-
*
|
|
1330
|
+
* Type for Guid value.
|
|
1216
1331
|
* @public
|
|
1217
1332
|
*/
|
|
1218
1333
|
export declare type Guid = string;
|
|
@@ -1229,6 +1344,7 @@ export declare class HandlerChainService {
|
|
|
1229
1344
|
static get instance(): HandlerChainService;
|
|
1230
1345
|
private constructor();
|
|
1231
1346
|
private _createGlobalHandlerChain;
|
|
1347
|
+
/* Excluded from this release type: clearContextedHandlersCache */
|
|
1232
1348
|
/* Excluded from this release type: register */
|
|
1233
1349
|
/**
|
|
1234
1350
|
* @description Method to process passed request
|
|
@@ -1422,6 +1538,8 @@ export declare class InFilter extends SingleFilter {
|
|
|
1422
1538
|
clone(): InFilter;
|
|
1423
1539
|
}
|
|
1424
1540
|
|
|
1541
|
+
/* Excluded from this release type: InjectionContext */
|
|
1542
|
+
|
|
1425
1543
|
/* Excluded from this release type: InsertQuery */
|
|
1426
1544
|
|
|
1427
1545
|
/* Excluded from this release type: instantiate */
|
|
@@ -1482,6 +1600,8 @@ export declare interface InterfaceDesignerItemDefinition {
|
|
|
1482
1600
|
|
|
1483
1601
|
/* Excluded from this release type: InternalRequestHandlerRegistryType */
|
|
1484
1602
|
|
|
1603
|
+
/* Excluded from this release type: InternalResolveDependencyFn */
|
|
1604
|
+
|
|
1485
1605
|
/* Excluded from this release type: InternalToolbarViewElementCollectionItemConfig */
|
|
1486
1606
|
|
|
1487
1607
|
/* Excluded from this release type: InternalToolbarViewElementConfig */
|
|
@@ -1545,6 +1665,8 @@ export declare type LengthFunctionExpressionConfig = ArgumentFunctionExpressionC
|
|
|
1545
1665
|
*/
|
|
1546
1666
|
export declare type LocalizableString = string | Record<string, unknown>;
|
|
1547
1667
|
|
|
1668
|
+
/* Excluded from this release type: LocalizableStringValues */
|
|
1669
|
+
|
|
1548
1670
|
/**
|
|
1549
1671
|
* @public
|
|
1550
1672
|
*/
|
|
@@ -1555,6 +1677,8 @@ export declare class LocalizableValue {
|
|
|
1555
1677
|
/* Excluded from this release type: [Symbol.hasInstance] */
|
|
1556
1678
|
}
|
|
1557
1679
|
|
|
1680
|
+
/* Excluded from this release type: LocalizableValues */
|
|
1681
|
+
|
|
1558
1682
|
/**
|
|
1559
1683
|
* @public
|
|
1560
1684
|
* @description Use this function in decorators to indicate that a value should be localized.
|
|
@@ -1599,6 +1723,7 @@ export declare enum LogicalOperatorType {
|
|
|
1599
1723
|
* @property {string} displayValue - Value witch will be displayed in lookup
|
|
1600
1724
|
* @property {string} primaryImageValue - Image for lookup value
|
|
1601
1725
|
* @property {Guid} value - {@link Guid} - actual lookup value
|
|
1726
|
+
* @property {string} primaryColorValue - display color of lookup value
|
|
1602
1727
|
*/
|
|
1603
1728
|
export declare interface LookupValue extends JsonObject {
|
|
1604
1729
|
/**
|
|
@@ -1613,6 +1738,10 @@ export declare interface LookupValue extends JsonObject {
|
|
|
1613
1738
|
* @description actual lookup value
|
|
1614
1739
|
*/
|
|
1615
1740
|
value: Guid;
|
|
1741
|
+
/**
|
|
1742
|
+
* @description display color of lookup value
|
|
1743
|
+
*/
|
|
1744
|
+
primaryColorValue?: string;
|
|
1616
1745
|
}
|
|
1617
1746
|
|
|
1618
1747
|
/**
|
|
@@ -1657,6 +1786,8 @@ export declare class MaskService extends BaseHandlerChainService {
|
|
|
1657
1786
|
* @description Method to hide body mask
|
|
1658
1787
|
*/
|
|
1659
1788
|
hideBodyMask: () => Promise<void>;
|
|
1789
|
+
/* Excluded from this release type: showMask */
|
|
1790
|
+
/* Excluded from this release type: hideMask */
|
|
1660
1791
|
}
|
|
1661
1792
|
|
|
1662
1793
|
/**
|
|
@@ -1760,7 +1891,10 @@ export declare interface ModuleDefinition {
|
|
|
1760
1891
|
* @description Array of user-defined request handlers which will be registered in Creatio platform
|
|
1761
1892
|
*/
|
|
1762
1893
|
requestHandlers?: Type<BaseRequestHandler>[];
|
|
1763
|
-
|
|
1894
|
+
/**
|
|
1895
|
+
* @description Array of user-defined converters which will be registered in Creatio platform
|
|
1896
|
+
*/
|
|
1897
|
+
converters?: Type<Converter>[];
|
|
1764
1898
|
/* Excluded from this release type: handlerChainServices */
|
|
1765
1899
|
}
|
|
1766
1900
|
|
|
@@ -1797,6 +1931,20 @@ export declare class ParameterQueryColumn extends BaseQueryColumn<ParameterExpre
|
|
|
1797
1931
|
|
|
1798
1932
|
/* Excluded from this release type: PkgTopology */
|
|
1799
1933
|
|
|
1934
|
+
/**
|
|
1935
|
+
* @public
|
|
1936
|
+
* @description Response for preload cachable system settings.
|
|
1937
|
+
* @extends {BaseResponse}
|
|
1938
|
+
* @property {Record<string, SysSetting>} values - system settings values
|
|
1939
|
+
*/
|
|
1940
|
+
export declare interface PreloadSysSettingsResponse extends BaseResponse {
|
|
1941
|
+
/**
|
|
1942
|
+
* @type {Record<string, SysSetting>}
|
|
1943
|
+
* @description system settings values. {@link SysSetting}
|
|
1944
|
+
*/
|
|
1945
|
+
values: Record<string, SysSetting>;
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1800
1948
|
/**
|
|
1801
1949
|
* @public
|
|
1802
1950
|
*/
|
|
@@ -1895,6 +2043,11 @@ export declare interface QuerySysSettingsResponse extends BaseResponse {
|
|
|
1895
2043
|
* @description system settings values. {@link SysSetting}
|
|
1896
2044
|
*/
|
|
1897
2045
|
values: Record<string, SysSetting>;
|
|
2046
|
+
/**
|
|
2047
|
+
* @type {Array<string>}
|
|
2048
|
+
* @description not found system settings codes.
|
|
2049
|
+
*/
|
|
2050
|
+
notFoundSettings?: Array<string>;
|
|
1898
2051
|
}
|
|
1899
2052
|
|
|
1900
2053
|
/* Excluded from this release type: registerAngularViewElement */
|
|
@@ -1918,9 +2071,11 @@ export declare function registerViewElement(config: ViewElementRegistrationConfi
|
|
|
1918
2071
|
|
|
1919
2072
|
/* Excluded from this release type: RegistryItemsStore */
|
|
1920
2073
|
|
|
2074
|
+
/* Excluded from this release type: RemoteBuildInfo */
|
|
2075
|
+
|
|
1921
2076
|
/* Excluded from this release type: RemoteEntriesRegistry */
|
|
1922
2077
|
|
|
1923
|
-
/* Excluded from this release type:
|
|
2078
|
+
/* Excluded from this release type: RemoteEntryType */
|
|
1924
2079
|
|
|
1925
2080
|
/* Excluded from this release type: RemoteHandlerSource */
|
|
1926
2081
|
|
|
@@ -2034,6 +2189,14 @@ export declare interface SaveSysSettingsResponse extends BaseResponse {
|
|
|
2034
2189
|
|
|
2035
2190
|
/* Excluded from this release type: SchemaHandlerSource */
|
|
2036
2191
|
|
|
2192
|
+
/* Excluded from this release type: SchemaViewMaskRequest */
|
|
2193
|
+
|
|
2194
|
+
/* Excluded from this release type: SchemaViewMaskRequestAction */
|
|
2195
|
+
|
|
2196
|
+
/* Excluded from this release type: SelectLocalizationQuery */
|
|
2197
|
+
|
|
2198
|
+
/* Excluded from this release type: setConverterMetadata */
|
|
2199
|
+
|
|
2037
2200
|
/* Excluded from this release type: setDesignTimeViewElementMetadata */
|
|
2038
2201
|
|
|
2039
2202
|
/* Excluded from this release type: setInterfaceDesignerItemMetadata */
|
|
@@ -2264,14 +2427,34 @@ export declare class SysValuesService extends BaseHandlerChainService {
|
|
|
2264
2427
|
loadSysValues: () => Promise<SysValues>;
|
|
2265
2428
|
}
|
|
2266
2429
|
|
|
2430
|
+
/* Excluded from this release type: toAggregationEval */
|
|
2431
|
+
|
|
2432
|
+
/* Excluded from this release type: toAggregationEvalType */
|
|
2433
|
+
|
|
2434
|
+
/* Excluded from this release type: toAggregationFunction */
|
|
2435
|
+
|
|
2267
2436
|
/* Excluded from this release type: toAggregationType */
|
|
2268
2437
|
|
|
2438
|
+
/* Excluded from this release type: toDatePart */
|
|
2439
|
+
|
|
2440
|
+
/* Excluded from this release type: toDatePartType */
|
|
2441
|
+
|
|
2442
|
+
/* Excluded from this release type: toLocalISOString */
|
|
2443
|
+
|
|
2444
|
+
/* Excluded from this release type: toNumericFunctionType */
|
|
2445
|
+
|
|
2269
2446
|
/* Excluded from this release type: ToolbarViewElementConfig */
|
|
2270
2447
|
|
|
2271
2448
|
/* Excluded from this release type: ToolbarViewElementConfigType */
|
|
2272
2449
|
|
|
2450
|
+
/* Excluded from this release type: toOrderDirection */
|
|
2451
|
+
|
|
2273
2452
|
/* Excluded from this release type: toPascalCase */
|
|
2274
2453
|
|
|
2454
|
+
/* Excluded from this release type: toSortDirection */
|
|
2455
|
+
|
|
2456
|
+
/* Excluded from this release type: toStringFunctionType */
|
|
2457
|
+
|
|
2275
2458
|
/**
|
|
2276
2459
|
* @public
|
|
2277
2460
|
* @description Shape for generic type.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@creatio-devkit/common",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.808.0",
|
|
4
4
|
"description": "Allows developers to create customizations and integrate them to Creatio platform.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"keywords": [
|
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
"devkit",
|
|
9
9
|
"sdk"
|
|
10
10
|
],
|
|
11
|
-
"peerDependencies": {
|
|
11
|
+
"peerDependencies": {
|
|
12
|
+
"terser-webpack-plugin": "5.3.6"
|
|
13
|
+
},
|
|
12
14
|
"dependencies": {
|
|
13
15
|
"tslib": "^2.2.0",
|
|
14
16
|
"shortid-extend": "0.0.3",
|
|
@@ -16,24 +18,24 @@
|
|
|
16
18
|
"reflect-metadata": "^0.1.13",
|
|
17
19
|
"lodash": "^4.17.21"
|
|
18
20
|
},
|
|
21
|
+
"sideEffects": false,
|
|
19
22
|
"module": "fesm2015/creatio-devkit-common.mjs",
|
|
20
23
|
"es2020": "fesm2020/creatio-devkit-common.mjs",
|
|
21
24
|
"esm2020": "esm2020/creatio-devkit-common.mjs",
|
|
22
25
|
"fesm2020": "fesm2020/creatio-devkit-common.mjs",
|
|
23
26
|
"fesm2015": "fesm2015/creatio-devkit-common.mjs",
|
|
24
|
-
"typings": "
|
|
27
|
+
"typings": "index.d.ts",
|
|
25
28
|
"exports": {
|
|
26
29
|
"./package.json": {
|
|
27
30
|
"default": "./package.json"
|
|
28
31
|
},
|
|
29
32
|
".": {
|
|
30
|
-
"types": "./
|
|
33
|
+
"types": "./index.d.ts",
|
|
31
34
|
"esm2020": "./esm2020/creatio-devkit-common.mjs",
|
|
32
35
|
"es2020": "./fesm2020/creatio-devkit-common.mjs",
|
|
33
36
|
"es2015": "./fesm2015/creatio-devkit-common.mjs",
|
|
34
37
|
"node": "./fesm2015/creatio-devkit-common.mjs",
|
|
35
38
|
"default": "./fesm2020/creatio-devkit-common.mjs"
|
|
36
39
|
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { GlobalConvertersRegistryService } from '../../../internal/services/global-converters-registry';
|
|
2
|
-
/**
|
|
3
|
-
* @internal
|
|
4
|
-
*/
|
|
5
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6
|
-
export function CrtConverter(name) {
|
|
7
|
-
return function (type) {
|
|
8
|
-
GlobalConvertersRegistryService.register(name, type);
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udmVydGVyLmRlY29yYXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvc2RrL3V0aWwvc2RrL3NyYy9saWIvaW50ZXJuYWwvZGVjb3JhdG9ycy9jb252ZX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mlsdGVyPzogRmlsdGVyR3JvdXA7XG59XG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1zY2hlbWEtdmFsaWRhdG9yLWNvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvc2RrL3V0aWwvc2RrL3NyYy9saWIvaW50ZXJuYWwvbW9kZWwvZGF0YS1zY2hlbWEvZGF0YS1zY2hlbWEtdmFsaWRhdG9yLWNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAaW50ZXJuYWxcbiAqL1xuZXhwb3J0IGludGVyZmFjZSBEYXRhU2NoZW1hQXR0cmlidXRlVmFsaWRhdG9yQ29uZmlnIHtcblx0dHlwZTogc3RyaW5nO1xuXHRkaXNhYmxlZD86IGJvb2xlYW47XG5cdHBhcmFtcz86IHtcblx0XHRba2V5OiBzdHJpbmddOiB1bmtub3duO1xuXHR9O1xufVxuXG4vKipcbiAqIEBpbnRlcm5hbFxuICovXG5leHBvcnQgaW50ZXJmYWNlIERhdGFTY2hlbWFWYWxpZGF0b3JDb25maWcge1xuXHRbbmFtZTogc3RyaW5nXTogRGF0YVNjaGVtYUF0dHJpYnV0ZVZhbGlkYXRvckNvbmZpZztcbn1cbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVtb3RlLWVudHJ5LWluZm8uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3Nkay91dGlsL3Nkay9zcmMvbGliL2ludGVybmFsL21vZGVscy9yZW1vdGUtZW50cnktaW5mby50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAaW50ZXJuYWxcbiAqL1xuZXhwb3J0IGludGVyZmFjZSBSZW1vdGVFbnRyeUluZm8ge1xuXHRuYW1lOiBzdHJpbmc7XG5cdHBhY2thZ2VOYW1lOiBzdHJpbmc7XG5cdHVybDogc3RyaW5nO1xuXHRtYWludGFpbmVyOiBzdHJpbmc7XG59XG4iXX0=
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { checkCrtTypeNamePascalCase, checkTypeNameFormat } from '../element-registration-checker';
|
|
2
|
-
/**
|
|
3
|
-
* @internal
|
|
4
|
-
*/
|
|
5
|
-
export class GlobalConvertersRegistryService {
|
|
6
|
-
static get(type) {
|
|
7
|
-
if (!this._converters.has(type)) {
|
|
8
|
-
throw new Error(`'${type}' converter doesn't exist`);
|
|
9
|
-
}
|
|
10
|
-
return this._converters.get(type);
|
|
11
|
-
}
|
|
12
|
-
static register(type, ctor) {
|
|
13
|
-
checkTypeNameFormat(type, 'ConverterTypeName');
|
|
14
|
-
checkCrtTypeNamePascalCase(type);
|
|
15
|
-
// TODO RND-21723
|
|
16
|
-
this._converters.set(type, new ctor());
|
|
17
|
-
}
|
|
18
|
-
static clear() {
|
|
19
|
-
this._converters.clear();
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
GlobalConvertersRegistryService._converters = new Map();
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2xvYmFsLWNvbnZlcnRlcnMtcmVnaXN0cnkuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvc2RrL3V0aWwvc2RrL3NyYy9saWIvaW50ZXJuYWwvc2VydmljZ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