@creatio-devkit/common 0.833.0 → 0.834.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/AI_GUIDES_INDEX.md +38 -0
- package/CHANGELOG.md +18 -1
- package/DEFERRED_REMOTE_MIGRATION_AI_GUIDE.md +1338 -0
- package/ICON_REQUIREMENTS_AI_GUIDE.md +107 -74
- package/REMOTE_COMPONENT_RUNTIME_AI_GUIDE.md +357 -4
- package/fesm2022/creatio-devkit-common.mjs +616 -89
- package/fesm2022/creatio-devkit-common.mjs.map +1 -1
- package/index.d.ts +665 -12
- package/package.json +2 -4
- package/esm2022/creatio-devkit-common.mjs +0 -5
- package/esm2022/index.mjs +0 -2
- package/esm2022/lib/base-exports.mjs +0 -5
- package/esm2022/lib/external/file-viewer/file-viewer-factory.service.mjs +0 -26
- package/esm2022/lib/external/file-viewer/file-viewer-instance.model.mjs +0 -51
- package/esm2022/lib/external/file-viewer/file-viewer-options.model.mjs +0 -2
- package/esm2022/lib/external/file-viewer/index.mjs +0 -4
- package/esm2022/lib/external/functions/aggregation-adapter.mjs +0 -72
- package/esm2022/lib/external/functions/date-part-type-adapter.mjs +0 -48
- package/esm2022/lib/external/functions/function-type-adapter.mjs +0 -28
- package/esm2022/lib/external/functions/index.mjs +0 -5
- package/esm2022/lib/external/functions/order-direction-adapter.mjs +0 -28
- package/esm2022/lib/external/models/attribute-value-config.mjs +0 -2
- package/esm2022/lib/external/models/date-time/grouped-date-value.mjs +0 -2
- package/esm2022/lib/external/models/date-time/index.mjs +0 -2
- package/esm2022/lib/external/models/file-value.model.mjs +0 -2
- package/esm2022/lib/external/models/index.mjs +0 -4
- package/esm2022/lib/index.mjs +0 -18
- package/esm2022/lib/internal/constants/default-size.const.mjs +0 -5
- package/esm2022/lib/internal/constants/index.mjs +0 -3
- package/esm2022/lib/internal/constants/metadata.const.mjs +0 -17
- package/esm2022/lib/internal/decorators/design-time-view-element/design-time-view-element.decorator.mjs +0 -19
- package/esm2022/lib/internal/decorators/design-time-view-element/index.mjs +0 -2
- package/esm2022/lib/internal/decorators/implement-using-handler-chain/implement-using-handler-chain.decorator.mjs +0 -25
- package/esm2022/lib/internal/decorators/implement-using-handler-chain/index.mjs +0 -2
- package/esm2022/lib/internal/decorators/index.mjs +0 -4
- package/esm2022/lib/internal/decorators/request/index.mjs +0 -2
- package/esm2022/lib/internal/decorators/request/request.decorator.mjs +0 -15
- package/esm2022/lib/internal/enums/designer-group-type.enum.mjs +0 -16
- package/esm2022/lib/internal/enums/handler-source-type.enum.mjs +0 -12
- package/esm2022/lib/internal/enums/index.mjs +0 -4
- package/esm2022/lib/internal/enums/view-element-group-type.enum.mjs +0 -13
- package/esm2022/lib/internal/models/attribute-property-config.interface.mjs +0 -2
- package/esm2022/lib/internal/models/converter/converter-registry-item.mjs +0 -2
- package/esm2022/lib/internal/models/converter/index.mjs +0 -2
- package/esm2022/lib/internal/models/data-source-load-parameters.mjs +0 -2
- package/esm2022/lib/internal/models/design-time-view-element-registry-item.mjs +0 -2
- package/esm2022/lib/internal/models/handler-chain-service-registry-item.mjs +0 -2
- package/esm2022/lib/internal/models/index.mjs +0 -20
- package/esm2022/lib/internal/models/injection-context/index.mjs +0 -2
- package/esm2022/lib/internal/models/injection-context/injection-context.mjs +0 -2
- package/esm2022/lib/internal/models/interface-designer-item/base-interface-designer-item-registration-config.mjs +0 -2
- package/esm2022/lib/internal/models/interface-designer-item/index.mjs +0 -4
- package/esm2022/lib/internal/models/interface-designer-item/interface-designer-item-registration-config.model.mjs +0 -7
- package/esm2022/lib/internal/models/interface-designer-item/toolbar-view-element-config.mjs +0 -2
- package/esm2022/lib/internal/models/interface-designer-registry-item.mjs +0 -2
- package/esm2022/lib/internal/models/internal-interface-designer-item-registration-config.model.mjs +0 -2
- package/esm2022/lib/internal/models/internal-module-definition.mjs +0 -2
- package/esm2022/lib/internal/models/lazy-module-metadata.mjs +0 -2
- package/esm2022/lib/internal/models/lazy-module-ref.mjs +0 -26
- package/esm2022/lib/internal/models/lazy-registry-item.mjs +0 -2
- package/esm2022/lib/internal/models/remote-build-info.mjs +0 -9
- package/esm2022/lib/internal/models/request/index.mjs +0 -2
- package/esm2022/lib/internal/models/request/method-invoke-request.mjs +0 -12
- package/esm2022/lib/internal/models/request-handler/contexed-handler-scope-config.mjs +0 -2
- package/esm2022/lib/internal/models/request-handler/handler-config.mjs +0 -2
- package/esm2022/lib/internal/models/request-handler/handler-source.mjs +0 -2
- package/esm2022/lib/internal/models/request-handler/index.mjs +0 -6
- package/esm2022/lib/internal/models/request-handler/request-handler-factory.mjs +0 -2
- package/esm2022/lib/internal/models/request-handler/request-handler-registration-config.model.mjs +0 -2
- package/esm2022/lib/internal/models/transaction/index.mjs +0 -4
- package/esm2022/lib/internal/models/transaction/transaction-factory.mjs +0 -2
- package/esm2022/lib/internal/models/transaction/transaction-operation.mjs +0 -2
- package/esm2022/lib/internal/models/transaction/transaction.mjs +0 -2
- package/esm2022/lib/internal/models/validator/index.mjs +0 -4
- package/esm2022/lib/internal/models/validator/validator-parameters.mjs +0 -2
- package/esm2022/lib/internal/models/validator/validator-registry-item.mjs +0 -2
- package/esm2022/lib/internal/models/validator/validator-schema-config.model.mjs +0 -2
- package/esm2022/lib/internal/models/view-element/angular-view-element-registration-config.model.mjs +0 -2
- package/esm2022/lib/internal/models/view-element/index.mjs +0 -2
- package/esm2022/lib/internal/models/view-element-registry-item.mjs +0 -2
- package/esm2022/lib/internal/services/base-handler-chain.service.mjs +0 -3
- package/esm2022/lib/internal/services/base-registry/base-registry.mjs +0 -31
- package/esm2022/lib/internal/services/base-registry/index.mjs +0 -2
- package/esm2022/lib/internal/services/bootstrap-notifier/bootstrap-notifier.mjs +0 -28
- package/esm2022/lib/internal/services/bootstrap-notifier/index.mjs +0 -2
- package/esm2022/lib/internal/services/chat-message-type-registry/chat-message-type-registry.mjs +0 -22
- package/esm2022/lib/internal/services/chat-message-type-registry/index.mjs +0 -2
- package/esm2022/lib/internal/services/design-time-view-element-registry/design-time-view-element-registry.mjs +0 -32
- package/esm2022/lib/internal/services/design-time-view-element-registry/index.mjs +0 -2
- package/esm2022/lib/internal/services/element-registration-checker/element-registration-checker.mjs +0 -60
- package/esm2022/lib/internal/services/element-registration-checker/index.mjs +0 -2
- package/esm2022/lib/internal/services/global-converters-registry/converter-registry.mjs +0 -36
- package/esm2022/lib/internal/services/global-converters-registry/index.mjs +0 -2
- package/esm2022/lib/internal/services/handler-chain-services-registry/handler-chain-services-registry.mjs +0 -26
- package/esm2022/lib/internal/services/handler-chain-services-registry/index.mjs +0 -2
- package/esm2022/lib/internal/services/index.mjs +0 -17
- package/esm2022/lib/internal/services/interface-designer-item-registry/index.mjs +0 -3
- package/esm2022/lib/internal/services/interface-designer-item-registry/interface-designer-item-registry.mjs +0 -53
- package/esm2022/lib/internal/services/interface-designer-item-registry/mobile-interface-designer-item-registry.mjs +0 -12
- package/esm2022/lib/internal/services/lazy-modules-manager/index.mjs +0 -2
- package/esm2022/lib/internal/services/lazy-modules-manager/lazy-modules-manager.mjs +0 -35
- package/esm2022/lib/internal/services/pkg-topology-registry/index.mjs +0 -2
- package/esm2022/lib/internal/services/pkg-topology-registry/pkg-topology-registry.mjs +0 -18
- package/esm2022/lib/internal/services/remote-entries-registry/index.mjs +0 -2
- package/esm2022/lib/internal/services/remote-entries-registry/remote-entries-registry.mjs +0 -18
- package/esm2022/lib/internal/services/request-handler-registry/index.mjs +0 -2
- package/esm2022/lib/internal/services/request-handler-registry/request-handler-registry.service.mjs +0 -131
- package/esm2022/lib/internal/services/request-registry/index.mjs +0 -2
- package/esm2022/lib/internal/services/request-registry/request-registry.service.mjs +0 -33
- package/esm2022/lib/internal/services/request-resolver/base-requests-resolver.mjs +0 -6
- package/esm2022/lib/internal/services/request-resolver/index.mjs +0 -3
- package/esm2022/lib/internal/services/request-resolver/requests-resolver.mjs +0 -17
- package/esm2022/lib/internal/services/validator-registry/index.mjs +0 -2
- package/esm2022/lib/internal/services/validator-registry/validator-registry.mjs +0 -45
- package/esm2022/lib/internal/services/view-element-registry/base-view-element-registry.mjs +0 -74
- package/esm2022/lib/internal/services/view-element-registry/index.mjs +0 -4
- package/esm2022/lib/internal/services/view-element-registry/mobile-view-element-registry.mjs +0 -13
- package/esm2022/lib/internal/services/view-element-registry/view-element-registry.mjs +0 -12
- package/esm2022/lib/internal/types/index.mjs +0 -3
- package/esm2022/lib/internal/types/internal-resolve-dependency-fn.type.mjs +0 -2
- package/esm2022/lib/internal/types/localizable-values.type.mjs +0 -2
- package/esm2022/lib/internal/utils/handlers-order-comparer.mjs +0 -42
- package/esm2022/lib/internal/utils/index.mjs +0 -8
- package/esm2022/lib/internal/utils/instantiate.mjs +0 -24
- package/esm2022/lib/internal/utils/localization-utils.mjs +0 -24
- package/esm2022/lib/internal/utils/metadata-utils.mjs +0 -236
- package/esm2022/lib/internal/utils/module-utils.mjs +0 -38
- package/esm2022/lib/internal/utils/object-deep-keys/index.mjs +0 -2
- package/esm2022/lib/internal/utils/object-deep-keys/object-deep-keys.mjs +0 -13
- package/esm2022/lib/internal/utils/request-handler-scopes.mjs +0 -10
- package/esm2022/lib/public/decorators/chat-message-type/chat-message-type.decorator.mjs +0 -20
- package/esm2022/lib/public/decorators/chat-message-type/index.mjs +0 -2
- package/esm2022/lib/public/decorators/converter/converter.decorator.mjs +0 -21
- package/esm2022/lib/public/decorators/converter/index.mjs +0 -2
- package/esm2022/lib/public/decorators/index.mjs +0 -12
- package/esm2022/lib/public/decorators/inject/index.mjs +0 -2
- package/esm2022/lib/public/decorators/inject/inject.decorator.mjs +0 -19
- package/esm2022/lib/public/decorators/input/index.mjs +0 -2
- package/esm2022/lib/public/decorators/input/input.decorator.mjs +0 -25
- package/esm2022/lib/public/decorators/interface-designer-item/index.mjs +0 -4
- package/esm2022/lib/public/decorators/interface-designer-item/interface-designer-item-decorator-utils.mjs +0 -29
- package/esm2022/lib/public/decorators/interface-designer-item/interface-designer-item.decorator.mjs +0 -10
- package/esm2022/lib/public/decorators/interface-designer-item/mobile-interface-designer-item.decorator.mjs +0 -10
- package/esm2022/lib/public/decorators/module/index.mjs +0 -2
- package/esm2022/lib/public/decorators/module/module.decorator.mjs +0 -9
- package/esm2022/lib/public/decorators/output/index.mjs +0 -2
- package/esm2022/lib/public/decorators/output/output.decorator.mjs +0 -19
- package/esm2022/lib/public/decorators/request-handler/index.mjs +0 -2
- package/esm2022/lib/public/decorators/request-handler/request-handler.decorator.mjs +0 -22
- package/esm2022/lib/public/decorators/validation-input/index.mjs +0 -2
- package/esm2022/lib/public/decorators/validation-input/validation-input.decorator.mjs +0 -27
- package/esm2022/lib/public/decorators/validator/index.mjs +0 -2
- package/esm2022/lib/public/decorators/validator/validator.decorator.mjs +0 -25
- package/esm2022/lib/public/decorators/view-element/index.mjs +0 -4
- package/esm2022/lib/public/decorators/view-element/mobile-view-element.decorator.mjs +0 -9
- package/esm2022/lib/public/decorators/view-element/view-element-decorator-utils.mjs +0 -33
- package/esm2022/lib/public/decorators/view-element/view-element.decorator.mjs +0 -10
- package/esm2022/lib/public/enums/data-source-load-type.enum.mjs +0 -10
- package/esm2022/lib/public/enums/index.mjs +0 -5
- package/esm2022/lib/public/enums/process-status.enum.mjs +0 -28
- package/esm2022/lib/public/enums/view-element-property.enum.mjs +0 -9
- package/esm2022/lib/public/enums/view-model-collection-action-type.enum.mjs +0 -24
- package/esm2022/lib/public/functions/bootstrap-crt-module-handler-chain-services.mjs +0 -32
- package/esm2022/lib/public/functions/bootstrap-crt-module.mjs +0 -357
- package/esm2022/lib/public/functions/bootstrapped-crt-modules.mjs +0 -8
- package/esm2022/lib/public/functions/crt-module-context-hooks.mjs +0 -30
- package/esm2022/lib/public/functions/define-render-config.mjs +0 -16
- package/esm2022/lib/public/functions/index.mjs +0 -10
- package/esm2022/lib/public/functions/localize.mjs +0 -29
- package/esm2022/lib/public/functions/register-angular-view-element.mjs +0 -13
- package/esm2022/lib/public/functions/register-view-element.mjs +0 -21
- package/esm2022/lib/public/functions/reset-globals.mjs +0 -37
- package/esm2022/lib/public/handlers/base-request-handler.mjs +0 -37
- package/esm2022/lib/public/handlers/index.mjs +0 -2
- package/esm2022/lib/public/models/ai-context/ai-context-part.mjs +0 -2
- package/esm2022/lib/public/models/ai-context/index.mjs +0 -2
- package/esm2022/lib/public/models/base-response.model.mjs +0 -2
- package/esm2022/lib/public/models/converter/converter-config.mjs +0 -2
- package/esm2022/lib/public/models/converter/index.mjs +0 -2
- package/esm2022/lib/public/models/converter.model.mjs +0 -2
- package/esm2022/lib/public/models/entity.model.mjs +0 -2
- package/esm2022/lib/public/models/error-info.model.mjs +0 -2
- package/esm2022/lib/public/models/image-value.model.mjs +0 -2
- package/esm2022/lib/public/models/index.mjs +0 -21
- package/esm2022/lib/public/models/input/index.mjs +0 -2
- package/esm2022/lib/public/models/input/input-registration-config.model.mjs +0 -6
- package/esm2022/lib/public/models/interface-designer-item/index.mjs +0 -2
- package/esm2022/lib/public/models/interface-designer-item/interface-designer-item-definition.mjs +0 -2
- package/esm2022/lib/public/models/item-creation-config.mjs +0 -2
- package/esm2022/lib/public/models/license/index.mjs +0 -2
- package/esm2022/lib/public/models/license/license-restriction-operation-values.model.mjs +0 -2
- package/esm2022/lib/public/models/localizable-value.mjs +0 -20
- package/esm2022/lib/public/models/mask-settings.mjs +0 -2
- package/esm2022/lib/public/models/module-definition.mjs +0 -2
- package/esm2022/lib/public/models/process-engine/index.mjs +0 -4
- package/esm2022/lib/public/models/process-engine/process-parameter-value.model.mjs +0 -2
- package/esm2022/lib/public/models/process-engine/run-process-request.model.mjs +0 -12
- package/esm2022/lib/public/models/process-engine/run-process-response.model.mjs +0 -2
- package/esm2022/lib/public/models/request/base-request-config.mjs +0 -8
- package/esm2022/lib/public/models/request/data-source-request.mjs +0 -11
- package/esm2022/lib/public/models/request/handle-view-model-attribute-change.request.mjs +0 -29
- package/esm2022/lib/public/models/request/index.mjs +0 -6
- package/esm2022/lib/public/models/request/model-event.model.mjs +0 -2
- package/esm2022/lib/public/models/request/view-model-attribute-change-event-options.mjs +0 -2
- package/esm2022/lib/public/models/request-handler/index.mjs +0 -2
- package/esm2022/lib/public/models/request-handler/request-handler-definition.mjs +0 -2
- package/esm2022/lib/public/models/validation/base-validator.mjs +0 -40
- package/esm2022/lib/public/models/validation/crt-control-state.mjs +0 -2
- package/esm2022/lib/public/models/validation/crt-validation-errors.mjs +0 -2
- package/esm2022/lib/public/models/validation/crt-validator-fn.mjs +0 -2
- package/esm2022/lib/public/models/validation/index.mjs +0 -8
- package/esm2022/lib/public/models/validation/validation-info.mjs +0 -2
- package/esm2022/lib/public/models/validation/validator-config.mjs +0 -2
- package/esm2022/lib/public/models/validation/validator-parameter-values.mjs +0 -2
- package/esm2022/lib/public/models/view-element/base-view-element-registration-config.mjs +0 -2
- package/esm2022/lib/public/models/view-element/index.mjs +0 -6
- package/esm2022/lib/public/models/view-element/view-element-registration-config.mjs +0 -2
- package/esm2022/lib/public/models/view-element/view-element-render-strategy.mjs +0 -18
- package/esm2022/lib/public/models/view-element/view-element-reuse-strategy.enum.mjs +0 -15
- package/esm2022/lib/public/models/view-element/view-element-slot-definition.mjs +0 -2
- package/esm2022/lib/public/models/view-model-collection/index.mjs +0 -3
- package/esm2022/lib/public/models/view-model-collection/view-model-collection-change.model.mjs +0 -2
- package/esm2022/lib/public/models/view-model-collection/view-model-collection.model.mjs +0 -2
- package/esm2022/lib/public/services/ai-context/ai-context.service.mjs +0 -86
- package/esm2022/lib/public/services/ai-context/index.mjs +0 -2
- package/esm2022/lib/public/services/crt-zone/crt-zone.service.mjs +0 -22
- package/esm2022/lib/public/services/crt-zone/index.mjs +0 -2
- package/esm2022/lib/public/services/dialog-service/dialog.service.mjs +0 -24
- package/esm2022/lib/public/services/dialog-service/index.mjs +0 -2
- package/esm2022/lib/public/services/feature/feature.service.mjs +0 -26
- package/esm2022/lib/public/services/feature/index.mjs +0 -2
- package/esm2022/lib/public/services/handler-chain/handler-chain.service.mjs +0 -71
- package/esm2022/lib/public/services/handler-chain/index.mjs +0 -2
- package/esm2022/lib/public/services/handler-chain/internal-handler-chain.mjs +0 -195
- package/esm2022/lib/public/services/http-client/http-client.service.mjs +0 -83
- package/esm2022/lib/public/services/http-client/http-headers.mjs +0 -2
- package/esm2022/lib/public/services/http-client/http-response.mjs +0 -2
- package/esm2022/lib/public/services/http-client/index.mjs +0 -4
- package/esm2022/lib/public/services/index.mjs +0 -17
- package/esm2022/lib/public/services/license/index.mjs +0 -2
- package/esm2022/lib/public/services/license/license.service.mjs +0 -30
- package/esm2022/lib/public/services/mask-service/index.mjs +0 -2
- package/esm2022/lib/public/services/mask-service/mask.service.mjs +0 -46
- package/esm2022/lib/public/services/message-channel/index.mjs +0 -2
- package/esm2022/lib/public/services/message-channel/message-channel.service.mjs +0 -27
- package/esm2022/lib/public/services/model/index.mjs +0 -2
- package/esm2022/lib/public/services/model/model.mjs +0 -102
- package/esm2022/lib/public/services/process-engine/index.mjs +0 -2
- package/esm2022/lib/public/services/process-engine/process-engine.service.mjs +0 -27
- package/esm2022/lib/public/services/rights/index.mjs +0 -2
- package/esm2022/lib/public/services/rights/rights.service.mjs +0 -26
- package/esm2022/lib/public/services/schema-modal/index.mjs +0 -3
- package/esm2022/lib/public/services/schema-modal/schema-modal-config.model.mjs +0 -2
- package/esm2022/lib/public/services/schema-modal/schema-modal.service.mjs +0 -23
- package/esm2022/lib/public/services/sys-settings/index.mjs +0 -3
- package/esm2022/lib/public/services/sys-settings/sys-setting.model.mjs +0 -24
- package/esm2022/lib/public/services/sys-settings/sys-settings.service.mjs +0 -36
- package/esm2022/lib/public/services/sys-values/index.mjs +0 -3
- package/esm2022/lib/public/services/sys-values/sys-values.mjs +0 -2
- package/esm2022/lib/public/services/sys-values/sys-values.service.mjs +0 -23
- package/esm2022/lib/public/services/transaction-factory/index.mjs +0 -2
- package/esm2022/lib/public/services/transaction-factory/transaction-factory.service.mjs +0 -40
package/index.d.ts
CHANGED
|
@@ -268,6 +268,27 @@ export declare interface BaseContextPart {
|
|
|
268
268
|
type?: string;
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
+
/**
|
|
272
|
+
* @description Common hierarchy options shared between client-side and server-side hierarchy modes.
|
|
273
|
+
* @property {'ClientSide' | 'ServerSide'} type Type of hierarchy handling.
|
|
274
|
+
* @property {string} hierarchicalColumnName Name of the column that defines the hierarchy.
|
|
275
|
+
* @property {string} hierarchicalColumnValue Value of the hierarchical column to start loading from.
|
|
276
|
+
*/
|
|
277
|
+
declare interface BaseDataSourceHierarchyConfig {
|
|
278
|
+
/**
|
|
279
|
+
* @description Type of hierarchy handling.
|
|
280
|
+
*/
|
|
281
|
+
type?: 'ClientSide' | 'ServerSide';
|
|
282
|
+
/**
|
|
283
|
+
* @description Name of the column that defines the hierarchy.
|
|
284
|
+
*/
|
|
285
|
+
hierarchicalColumnName: string;
|
|
286
|
+
/**
|
|
287
|
+
* @description Value of the hierarchical column to start loading from.
|
|
288
|
+
*/
|
|
289
|
+
hierarchicalColumnValue?: string;
|
|
290
|
+
}
|
|
291
|
+
|
|
271
292
|
export { BaseDataSourceParameter }
|
|
272
293
|
|
|
273
294
|
export { BaseDialogButtonConfig }
|
|
@@ -293,6 +314,10 @@ declare abstract class BaseHandlerChainService {
|
|
|
293
314
|
/* Excluded from this release type: BaseInterfaceDesignerItemRegistrationConfig */
|
|
294
315
|
|
|
295
316
|
/* Excluded from this release type: BaseInterfaceDesignerItemRegistry */
|
|
317
|
+
|
|
318
|
+
/* Excluded from this release type: BaseItemRendererConfig */
|
|
319
|
+
|
|
320
|
+
/* Excluded from this release type: BaseItemRendererRegistry */
|
|
296
321
|
export { BaseMessageChannelService }
|
|
297
322
|
|
|
298
323
|
export { BaseModel }
|
|
@@ -566,6 +591,31 @@ export declare interface ChatMessageTypeRegistrationConfig {
|
|
|
566
591
|
/* Excluded from this release type: checkTypeNameFormat */
|
|
567
592
|
|
|
568
593
|
/* Excluded from this release type: checkTypeNamePascalCase */
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* @public
|
|
597
|
+
* @description Configuration for client-side hierarchy processing.
|
|
598
|
+
* @property {'ClientSide'} type Type of hierarchy handling.
|
|
599
|
+
* @property {string} hierarchicalColumnName Name of the column that defines the hierarchy.
|
|
600
|
+
* @property {string} hierarchicalColumnValue Value of the hierarchical column to start loading from.
|
|
601
|
+
* @property {string} hierarchicalChildrenCountColumnName Name of the column with children count for a node.
|
|
602
|
+
* @property {HierarchyState} hierarchicalState State of hierarchical rows (expanded/collapsed).
|
|
603
|
+
*/
|
|
604
|
+
export declare interface ClientSideDataSourceHierarchyConfig extends BaseDataSourceHierarchyConfig {
|
|
605
|
+
/**
|
|
606
|
+
* @description Type of hierarchy handling.
|
|
607
|
+
*/
|
|
608
|
+
type: 'ClientSide';
|
|
609
|
+
/**
|
|
610
|
+
* @description Name of the column with children count for a node.
|
|
611
|
+
*/
|
|
612
|
+
hierarchicalChildrenCountColumnName?: string;
|
|
613
|
+
/**
|
|
614
|
+
* @description State of hierarchical rows (expanded/collapsed).
|
|
615
|
+
*/
|
|
616
|
+
hierarchicalState?: HierarchyState;
|
|
617
|
+
}
|
|
618
|
+
|
|
569
619
|
export { ColumnExpression }
|
|
570
620
|
|
|
571
621
|
export { ColumnExpressionConfig }
|
|
@@ -576,6 +626,33 @@ export { ComparisonType }
|
|
|
576
626
|
|
|
577
627
|
export { ConditionalValueItem }
|
|
578
628
|
|
|
629
|
+
/**
|
|
630
|
+
* @public
|
|
631
|
+
* @description Represents a consent record.
|
|
632
|
+
* @property {Guid} id - Unique identifier of the consent record.
|
|
633
|
+
* @property {string} name - Name of the consent.
|
|
634
|
+
* @property {string} code - Code of the consent.
|
|
635
|
+
* @property {string} consentText - Text of the consent.
|
|
636
|
+
*/
|
|
637
|
+
export declare interface Consent {
|
|
638
|
+
/**
|
|
639
|
+
* @description Unique identifier of the consent record.
|
|
640
|
+
*/
|
|
641
|
+
id: Guid;
|
|
642
|
+
/**
|
|
643
|
+
* @description Name of the consent.
|
|
644
|
+
*/
|
|
645
|
+
name: string;
|
|
646
|
+
/**
|
|
647
|
+
* @description Code of the consent.
|
|
648
|
+
*/
|
|
649
|
+
code: string;
|
|
650
|
+
/**
|
|
651
|
+
* @description Text of the consent.
|
|
652
|
+
*/
|
|
653
|
+
consentText: string;
|
|
654
|
+
}
|
|
655
|
+
|
|
579
656
|
/**
|
|
580
657
|
* @public
|
|
581
658
|
*/
|
|
@@ -763,7 +840,14 @@ export declare class CrtInputRegistrationConfig {
|
|
|
763
840
|
|
|
764
841
|
/**
|
|
765
842
|
* @public
|
|
766
|
-
* @description Decorator to declare design time configuration for view element
|
|
843
|
+
* @description (Deprecated) Decorator to declare design time configuration for a view element that is
|
|
844
|
+
* registered eagerly during module bootstrap.
|
|
845
|
+
*
|
|
846
|
+
* @deprecated For new remote integrations, publish interface-designer metadata through
|
|
847
|
+
* {@link RemoteFeatureDefinition.loadDesignerDefinitions} instead of using this decorator.
|
|
848
|
+
* Existing remotes may keep using this decorator for backward compatibility, but should migrate
|
|
849
|
+
* to {@link RemoteEntryDefinition} and {@link RemoteFeatureDefinition} when updated.
|
|
850
|
+
*
|
|
767
851
|
* @param config - registration config {@link InterfaceDesignerItemDefinition}.
|
|
768
852
|
*
|
|
769
853
|
* @example
|
|
@@ -795,11 +879,16 @@ export declare class CrtInputRegistrationConfig {
|
|
|
795
879
|
*/
|
|
796
880
|
export declare function CrtInterfaceDesignerItem(config: InterfaceDesignerItemDefinition): (type: Type) => void;
|
|
797
881
|
|
|
798
|
-
/* Excluded declaration from this release type: CrtInterfaceDesignerItem */
|
|
799
|
-
|
|
800
882
|
/**
|
|
801
883
|
* @public
|
|
802
|
-
* @description Decorator to declare design time configuration for view element
|
|
884
|
+
* @description (Deprecated) Decorator to declare design time configuration for a mobile view element that is
|
|
885
|
+
* registered eagerly during module bootstrap.
|
|
886
|
+
*
|
|
887
|
+
* @deprecated For new remote integrations, publish interface-designer metadata through
|
|
888
|
+
* {@link RemoteFeatureDefinition.loadDesignerDefinitions} instead of using this decorator.
|
|
889
|
+
* Existing remotes may keep using this decorator for backward compatibility, but should migrate
|
|
890
|
+
* to {@link RemoteEntryDefinition} and {@link RemoteFeatureDefinition} when updated.
|
|
891
|
+
*
|
|
803
892
|
* @param config - registration config {@link InterfaceDesignerItemDefinition}.
|
|
804
893
|
*
|
|
805
894
|
* @example
|
|
@@ -831,8 +920,6 @@ export declare function CrtInterfaceDesignerItem(config: InterfaceDesignerItemDe
|
|
|
831
920
|
*/
|
|
832
921
|
export declare function CrtMobileInterfaceDesignerItem(config: InterfaceDesignerItemDefinition): (type: Type) => void;
|
|
833
922
|
|
|
834
|
-
/* Excluded declaration from this release type: CrtMobileInterfaceDesignerItem */
|
|
835
|
-
|
|
836
923
|
/**
|
|
837
924
|
* @public
|
|
838
925
|
* @description CrtMobileViewElement decorator allows user to declare mobile components in a Creatio platform.
|
|
@@ -1108,6 +1195,12 @@ export { DataSourceDatePartFunctionConfig }
|
|
|
1108
1195
|
|
|
1109
1196
|
export { DataSourceFunctionConfig }
|
|
1110
1197
|
|
|
1198
|
+
/**
|
|
1199
|
+
* @public
|
|
1200
|
+
* @description Union type describing all supported hierarchy configuration modes.
|
|
1201
|
+
*/
|
|
1202
|
+
export declare type DataSourceHierarchyConfig = ClientSideDataSourceHierarchyConfig | ServerSideDataSourceHierarchyConfig;
|
|
1203
|
+
|
|
1111
1204
|
export { DataSourceInsertResult }
|
|
1112
1205
|
|
|
1113
1206
|
export { DataSourceInstanceConfig }
|
|
@@ -1117,8 +1210,13 @@ export { DataSourceInstanceConfig }
|
|
|
1117
1210
|
* @description Represents a set of loading options.
|
|
1118
1211
|
* @property {string} pagingConfig - The paging options for loading.
|
|
1119
1212
|
* @property {string} sortingConfig - The sorting options.
|
|
1213
|
+
* @property {DataSourceHierarchyConfig} hierarchyConfig - The hierarchy options.
|
|
1120
1214
|
*/
|
|
1121
1215
|
export declare interface DataSourceLoadOptions extends ɵDataSourceLoadOptions {
|
|
1216
|
+
/**
|
|
1217
|
+
* @description Hierarchy options.
|
|
1218
|
+
*/
|
|
1219
|
+
hierarchyConfig?: DataSourceHierarchyConfig;
|
|
1122
1220
|
/* Excluded from this release type: loadType */
|
|
1123
1221
|
/* Excluded from this release type: throttled */
|
|
1124
1222
|
/* Excluded from this release type: isDistinct */
|
|
@@ -1397,6 +1495,46 @@ export declare class HandleViewModelAttributeChangeRequest extends BaseRequest<C
|
|
|
1397
1495
|
|
|
1398
1496
|
/* Excluded from this release type: hasMobileInterfaceDesignerItemMetadata */
|
|
1399
1497
|
|
|
1498
|
+
/**
|
|
1499
|
+
* @public
|
|
1500
|
+
* @description Union type that describes all supported hierarchy row states.
|
|
1501
|
+
*/
|
|
1502
|
+
export declare type HierarchyState = HierarchyStateCollapsed | HierarchyStateExpanded;
|
|
1503
|
+
|
|
1504
|
+
/**
|
|
1505
|
+
* @public
|
|
1506
|
+
* @description Hierarchy state where collapsed nodes are inferred and expanded nodes are listed explicitly.
|
|
1507
|
+
* @property {'collapsed'} mode State mode identifier.
|
|
1508
|
+
* @property {string[]} expandedIds Identifiers of expanded hierarchy nodes.
|
|
1509
|
+
*/
|
|
1510
|
+
export declare interface HierarchyStateCollapsed {
|
|
1511
|
+
/**
|
|
1512
|
+
* @description State mode identifier.
|
|
1513
|
+
*/
|
|
1514
|
+
mode: 'collapsed';
|
|
1515
|
+
/**
|
|
1516
|
+
* @description Identifiers of expanded hierarchy nodes.
|
|
1517
|
+
*/
|
|
1518
|
+
expandedIds: string[];
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* @public
|
|
1523
|
+
* @description Hierarchy state where expanded nodes are inferred and collapsed nodes are listed explicitly.
|
|
1524
|
+
* @property {'expanded'} mode State mode identifier.
|
|
1525
|
+
* @property {string[]} collapsedIds Identifiers of collapsed hierarchy nodes.
|
|
1526
|
+
*/
|
|
1527
|
+
export declare interface HierarchyStateExpanded {
|
|
1528
|
+
/**
|
|
1529
|
+
* @description State mode identifier.
|
|
1530
|
+
*/
|
|
1531
|
+
mode: 'expanded';
|
|
1532
|
+
/**
|
|
1533
|
+
* @description Identifiers of collapsed hierarchy nodes.
|
|
1534
|
+
*/
|
|
1535
|
+
collapsedIds: string[];
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1400
1538
|
/* Excluded from this release type: HostHandlerSource */
|
|
1401
1539
|
|
|
1402
1540
|
/**
|
|
@@ -1559,6 +1697,8 @@ export declare interface HttpResponse<T = unknown> {
|
|
|
1559
1697
|
body: T | null;
|
|
1560
1698
|
}
|
|
1561
1699
|
|
|
1700
|
+
/* Excluded from this release type: IBaseItemRendererRegistry */
|
|
1701
|
+
|
|
1562
1702
|
/* Excluded from this release type: ImplementUsingHandlerChain */
|
|
1563
1703
|
export { InFilter }
|
|
1564
1704
|
|
|
@@ -1642,12 +1782,41 @@ export declare interface InterfaceDesignerItemDefinition {
|
|
|
1642
1782
|
/* Excluded from this release type: InternalToolbarViewElementConfig */
|
|
1643
1783
|
|
|
1644
1784
|
/* Excluded from this release type: InternalToolbarViewElementConfigCollection */
|
|
1785
|
+
|
|
1786
|
+
/**
|
|
1787
|
+
* @public
|
|
1788
|
+
* @description Checks whether hierarchy configuration is client-side.
|
|
1789
|
+
* @param hierarchyConfig Hierarchy configuration to check.
|
|
1790
|
+
* @returns `true` if configuration is of type `ClientSideDataSourceHierarchyConfig`.
|
|
1791
|
+
*/
|
|
1792
|
+
export declare function isClientSideDataSourceHierarchyConfig(hierarchyConfig: DataSourceHierarchyConfig | undefined): hierarchyConfig is ClientSideDataSourceHierarchyConfig;
|
|
1793
|
+
|
|
1645
1794
|
export { isEmptyGuid }
|
|
1646
1795
|
|
|
1647
1796
|
export { isGuid }
|
|
1648
1797
|
|
|
1798
|
+
/**
|
|
1799
|
+
* @public
|
|
1800
|
+
* @description Determines whether the hierarchy node with the specified identifier is expanded
|
|
1801
|
+
* based on the provided hierarchy state.
|
|
1802
|
+
* @param hierarchyState Hierarchy state object.
|
|
1803
|
+
* @param itemId Identifier of the hierarchy node.
|
|
1804
|
+
* @returns True if the node is expanded; otherwise, false.
|
|
1805
|
+
* @remarks If the hierarchy state is not provided or does not contain necessary information,
|
|
1806
|
+
* the function returns false.
|
|
1807
|
+
*/
|
|
1808
|
+
export declare function isHierarchicalItemExpanded(hierarchyState: HierarchyState | undefined, itemId: string): boolean;
|
|
1809
|
+
|
|
1649
1810
|
export { IsNullFilter }
|
|
1650
1811
|
|
|
1812
|
+
/**
|
|
1813
|
+
* @public
|
|
1814
|
+
* @description Checks whether hierarchy configuration is server-side.
|
|
1815
|
+
* @param hierarchyConfig Hierarchy configuration to check.
|
|
1816
|
+
* @returns `true` if configuration is of type `ServerSideDataSourceHierarchyConfig`.
|
|
1817
|
+
*/
|
|
1818
|
+
export declare function isServerSideDataSourceHierarchyConfig(hierarchyConfig: DataSourceHierarchyConfig | undefined): hierarchyConfig is ServerSideDataSourceHierarchyConfig;
|
|
1819
|
+
|
|
1651
1820
|
/**
|
|
1652
1821
|
* @public
|
|
1653
1822
|
* @description Config to create item in collection.
|
|
@@ -1692,16 +1861,14 @@ export { JsonData }
|
|
|
1692
1861
|
|
|
1693
1862
|
export { JsonObject }
|
|
1694
1863
|
|
|
1864
|
+
/* Excluded from this release type: LazyLoadRefsManager */
|
|
1865
|
+
|
|
1695
1866
|
/* Excluded from this release type: LazyModuleDefinition */
|
|
1696
1867
|
|
|
1697
1868
|
/* Excluded from this release type: LazyModuleDefinitionWithMetadata */
|
|
1698
1869
|
|
|
1699
1870
|
/* Excluded from this release type: LazyModuleMetadata */
|
|
1700
1871
|
|
|
1701
|
-
/* Excluded from this release type: LazyModuleRef */
|
|
1702
|
-
|
|
1703
|
-
/* Excluded from this release type: LazyModulesManager */
|
|
1704
|
-
|
|
1705
1872
|
/* Excluded from this release type: LazyRegistryItem */
|
|
1706
1873
|
export { LengthFunctionColumn }
|
|
1707
1874
|
|
|
@@ -1885,12 +2052,12 @@ export { MetadataProvider }
|
|
|
1885
2052
|
*/
|
|
1886
2053
|
export declare class Model extends BaseHandlerChainService implements BaseModel<DataSourceLoadOptions> {
|
|
1887
2054
|
private static _instance;
|
|
1888
|
-
private _crtModel;
|
|
2055
|
+
private readonly _crtModel;
|
|
1889
2056
|
/* Excluded from this release type: requestType */
|
|
1890
2057
|
private constructor();
|
|
1891
2058
|
private static get instance();
|
|
1892
2059
|
/* Excluded from this release type: name */
|
|
1893
|
-
private _create;
|
|
2060
|
+
private readonly _create;
|
|
1894
2061
|
/* Excluded from this release type: [_from] */
|
|
1895
2062
|
static create(dataSchema: string): Promise<Model>;
|
|
1896
2063
|
getSchema(): Promise<DataSchema>;
|
|
@@ -2145,12 +2312,344 @@ export declare function registerViewElement(config: ViewElementRegistrationConfi
|
|
|
2145
2312
|
|
|
2146
2313
|
/* Excluded from this release type: RemoteBuildInfo */
|
|
2147
2314
|
|
|
2315
|
+
/**
|
|
2316
|
+
* Discovery metadata for a remote converter.
|
|
2317
|
+
*
|
|
2318
|
+
* @public
|
|
2319
|
+
*/
|
|
2320
|
+
export declare interface RemoteConverterDiscoveryMetadata {
|
|
2321
|
+
/**
|
|
2322
|
+
* Stable converter type published during discovery.
|
|
2323
|
+
*/
|
|
2324
|
+
readonly type: string;
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2327
|
+
/**
|
|
2328
|
+
* Context passed to remote designer-definition loaders.
|
|
2329
|
+
*
|
|
2330
|
+
* @public
|
|
2331
|
+
*/
|
|
2332
|
+
export declare interface RemoteDesignerDefinitionsLoadContext {
|
|
2333
|
+
/**
|
|
2334
|
+
* Current user culture used to localize returned definitions.
|
|
2335
|
+
*
|
|
2336
|
+
* For example, a remote can use this culture name to load the corresponding translation bundle before
|
|
2337
|
+
* returning toolbox captions.
|
|
2338
|
+
*/
|
|
2339
|
+
readonly cultureName: string;
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2148
2342
|
/* Excluded from this release type: RemoteEntriesRegistry */
|
|
2149
2343
|
|
|
2344
|
+
/**
|
|
2345
|
+
* Entry-side definition exported by a remote module.
|
|
2346
|
+
*
|
|
2347
|
+
* The host loads this object from the remote entry point to discover the features published by
|
|
2348
|
+
* the remote build.
|
|
2349
|
+
*
|
|
2350
|
+
* @public
|
|
2351
|
+
*/
|
|
2352
|
+
export declare interface RemoteEntryDefinition {
|
|
2353
|
+
/**
|
|
2354
|
+
* Stable remote name matching the registered remote build.
|
|
2355
|
+
*/
|
|
2356
|
+
readonly remoteName: string;
|
|
2357
|
+
/**
|
|
2358
|
+
* Features published by the remote entry.
|
|
2359
|
+
*
|
|
2360
|
+
* Feature identifiers must be unique within the same remote entry.
|
|
2361
|
+
*/
|
|
2362
|
+
readonly features: readonly RemoteFeatureDefinition[];
|
|
2363
|
+
}
|
|
2364
|
+
|
|
2150
2365
|
/* Excluded from this release type: RemoteEntryType */
|
|
2151
2366
|
|
|
2367
|
+
/**
|
|
2368
|
+
* Defines a remote feature activated on demand.
|
|
2369
|
+
*
|
|
2370
|
+
* A feature can publish runtime types through {@link RemoteFeatureDefinition.discovery}, expose
|
|
2371
|
+
* interface-designer metadata through {@link RemoteFeatureDefinition.loadDesignerDefinitions}, and load its
|
|
2372
|
+
* implementation only when the runtime requests activation.
|
|
2373
|
+
*
|
|
2374
|
+
* @example
|
|
2375
|
+
* ```ts
|
|
2376
|
+
* const runtimeFeature: RemoteFeatureDefinition = {
|
|
2377
|
+
* id: 'runtime',
|
|
2378
|
+
* discovery: {
|
|
2379
|
+
* viewElements: [{ type: 'usr.Address' }],
|
|
2380
|
+
* requestHandlers: [{ type: 'usr.OpenAddressHandler', requestType: 'usr.OpenAddressRequest' }]
|
|
2381
|
+
* },
|
|
2382
|
+
* activate: async () => {
|
|
2383
|
+
* const { activateRuntimeFeature } = await import('./runtime.feature-activation');
|
|
2384
|
+
* await activateRuntimeFeature();
|
|
2385
|
+
* },
|
|
2386
|
+
* loadDesignerDefinitions: async ({ cultureName }) => {
|
|
2387
|
+
* const { loadRuntimeDesignerDefinitions } = await import('./runtime.designer-definitions');
|
|
2388
|
+
* return loadRuntimeDesignerDefinitions({ cultureName });
|
|
2389
|
+
* }
|
|
2390
|
+
* };
|
|
2391
|
+
* ```
|
|
2392
|
+
*
|
|
2393
|
+
* @public
|
|
2394
|
+
*/
|
|
2395
|
+
export declare interface RemoteFeatureDefinition {
|
|
2396
|
+
/**
|
|
2397
|
+
* Stable feature identifier inside the remote entry.
|
|
2398
|
+
*/
|
|
2399
|
+
readonly id: string;
|
|
2400
|
+
/**
|
|
2401
|
+
* Discovery metadata published during startup.
|
|
2402
|
+
*
|
|
2403
|
+
* Lists the public items exposed by the feature during discovery.
|
|
2404
|
+
* This field should declare metadata only. Register implementations in
|
|
2405
|
+
* {@link RemoteFeatureDefinition.activate}.
|
|
2406
|
+
*/
|
|
2407
|
+
readonly discovery?: RemoteFeatureDiscoveryMetadata;
|
|
2408
|
+
/**
|
|
2409
|
+
* Activates the feature when runtime needs its implementation.
|
|
2410
|
+
*
|
|
2411
|
+
* This callback should load and register the implementations for the items published through
|
|
2412
|
+
* {@link RemoteFeatureDefinition.discovery}.
|
|
2413
|
+
*/
|
|
2414
|
+
readonly activate: () => Promise<void>;
|
|
2415
|
+
/**
|
|
2416
|
+
* Loads localized interface-designer definitions exposed by the feature to register view elements
|
|
2417
|
+
* in the designer toolbox.
|
|
2418
|
+
*
|
|
2419
|
+
* This callback should only return metadata. Any returned item `type` should match the discovery metadata
|
|
2420
|
+
* published by the same feature.
|
|
2421
|
+
*
|
|
2422
|
+
* @example
|
|
2423
|
+
* ```ts
|
|
2424
|
+
* async loadDesignerDefinitions({ cultureName }) {
|
|
2425
|
+
* const translations = await loadTranslationsForCulture(cultureName);
|
|
2426
|
+
* return {
|
|
2427
|
+
* viewElements: [
|
|
2428
|
+
* {
|
|
2429
|
+
* type: 'usr.Address',
|
|
2430
|
+
* toolbarConfig: {
|
|
2431
|
+
* caption: translations['address.caption'],
|
|
2432
|
+
* icon: '<svg viewBox="0 0 16 16"></svg>'
|
|
2433
|
+
* },
|
|
2434
|
+
* defaultPropertyValues: {
|
|
2435
|
+
* city: translations['address.defaultCity']
|
|
2436
|
+
* },
|
|
2437
|
+
* propertiesPanel: 'usr.AddressPropertiesPanel'
|
|
2438
|
+
* }
|
|
2439
|
+
* ],
|
|
2440
|
+
* mobileViewElements: [
|
|
2441
|
+
* {
|
|
2442
|
+
* type: 'usr.MobileAddress',
|
|
2443
|
+
* toolbarConfig: {
|
|
2444
|
+
* caption: translations['mobileAddress.caption'],
|
|
2445
|
+
* icon: '<svg viewBox="0 0 16 16"></svg>'
|
|
2446
|
+
* },
|
|
2447
|
+
* propertiesPanel: 'usr.MobileAddressPropertiesPanel'
|
|
2448
|
+
* }
|
|
2449
|
+
* ]
|
|
2450
|
+
* };
|
|
2451
|
+
* }
|
|
2452
|
+
* ```
|
|
2453
|
+
*/
|
|
2454
|
+
readonly loadDesignerDefinitions?: (context: RemoteDesignerDefinitionsLoadContext) => Promise<RemoteFeatureDesignerDefinitions>;
|
|
2455
|
+
}
|
|
2456
|
+
|
|
2457
|
+
/**
|
|
2458
|
+
* Interface-designer definitions returned by a remote feature.
|
|
2459
|
+
*
|
|
2460
|
+
* Use this payload to register toolbox entries without activating the remote runtime implementation.
|
|
2461
|
+
*
|
|
2462
|
+
* @example
|
|
2463
|
+
* ```ts
|
|
2464
|
+
* {
|
|
2465
|
+
* viewElements: [
|
|
2466
|
+
* {
|
|
2467
|
+
* type: 'usr.Address',
|
|
2468
|
+
* toolbarConfig: {
|
|
2469
|
+
* caption: 'Address',
|
|
2470
|
+
* icon: '<svg viewBox="0 0 16 16"></svg>'
|
|
2471
|
+
* },
|
|
2472
|
+
* defaultPropertyValues: {
|
|
2473
|
+
* city: 'Boston'
|
|
2474
|
+
* },
|
|
2475
|
+
* propertiesPanel: 'usr.AddressPropertiesPanel'
|
|
2476
|
+
* }
|
|
2477
|
+
* ]
|
|
2478
|
+
* }
|
|
2479
|
+
* ```
|
|
2480
|
+
*
|
|
2481
|
+
* @public
|
|
2482
|
+
*/
|
|
2483
|
+
export declare interface RemoteFeatureDesignerDefinitions {
|
|
2484
|
+
/**
|
|
2485
|
+
* Designer metadata for discovered view elements.
|
|
2486
|
+
*
|
|
2487
|
+
* Each `type` should correspond to an item from {@link RemoteFeatureDiscoveryMetadata.viewElements}.
|
|
2488
|
+
*/
|
|
2489
|
+
readonly viewElements?: readonly RemoteViewElementDesignerDefinition[];
|
|
2490
|
+
/**
|
|
2491
|
+
* Designer metadata for discovered mobile view elements.
|
|
2492
|
+
*
|
|
2493
|
+
* Each `type` should correspond to an item from {@link RemoteFeatureDiscoveryMetadata.mobileViewElements}.
|
|
2494
|
+
*/
|
|
2495
|
+
readonly mobileViewElements?: readonly RemoteViewElementDesignerDefinition[];
|
|
2496
|
+
}
|
|
2497
|
+
|
|
2498
|
+
/**
|
|
2499
|
+
* Aggregated discovery metadata for a remote feature.
|
|
2500
|
+
*
|
|
2501
|
+
* Lists the public items exposed by a feature during discovery.
|
|
2502
|
+
* Register their implementations in {@link RemoteFeatureDefinition.activate}.
|
|
2503
|
+
*
|
|
2504
|
+
* @public
|
|
2505
|
+
*/
|
|
2506
|
+
export declare interface RemoteFeatureDiscoveryMetadata {
|
|
2507
|
+
/**
|
|
2508
|
+
* View elements exposed by the feature.
|
|
2509
|
+
*/
|
|
2510
|
+
readonly viewElements?: readonly RemoteViewElementDiscoveryMetadata[];
|
|
2511
|
+
/**
|
|
2512
|
+
* Mobile view elements exposed by the feature.
|
|
2513
|
+
*/
|
|
2514
|
+
readonly mobileViewElements?: readonly RemoteViewElementDiscoveryMetadata[];
|
|
2515
|
+
/**
|
|
2516
|
+
* Converters exposed by the feature.
|
|
2517
|
+
*/
|
|
2518
|
+
readonly converters?: readonly RemoteConverterDiscoveryMetadata[];
|
|
2519
|
+
/**
|
|
2520
|
+
* Validators exposed by the feature.
|
|
2521
|
+
*/
|
|
2522
|
+
readonly validators?: readonly RemoteValidatorDiscoveryMetadata[];
|
|
2523
|
+
/**
|
|
2524
|
+
* Request handlers exposed by the feature.
|
|
2525
|
+
*/
|
|
2526
|
+
readonly requestHandlers?: readonly RemoteRequestHandlerDiscoveryMetadata[];
|
|
2527
|
+
}
|
|
2528
|
+
|
|
2152
2529
|
/* Excluded from this release type: RemoteHandlerSource */
|
|
2153
2530
|
|
|
2531
|
+
/**
|
|
2532
|
+
* Discovery metadata for a remote request handler.
|
|
2533
|
+
*
|
|
2534
|
+
* @public
|
|
2535
|
+
*/
|
|
2536
|
+
export declare interface RemoteRequestHandlerDiscoveryMetadata {
|
|
2537
|
+
/**
|
|
2538
|
+
* Stable request-handler type published during discovery.
|
|
2539
|
+
*/
|
|
2540
|
+
readonly type: string;
|
|
2541
|
+
/**
|
|
2542
|
+
* Request type handled by the handler.
|
|
2543
|
+
*/
|
|
2544
|
+
readonly requestType: string;
|
|
2545
|
+
/**
|
|
2546
|
+
* Optional scope restriction for the handler.
|
|
2547
|
+
*
|
|
2548
|
+
* When specified, the handler is considered only for requests executed inside the listed scopes.
|
|
2549
|
+
*/
|
|
2550
|
+
readonly scopes?: string[];
|
|
2551
|
+
}
|
|
2552
|
+
|
|
2553
|
+
/**
|
|
2554
|
+
* Discovery metadata for a remote validator.
|
|
2555
|
+
*
|
|
2556
|
+
* @public
|
|
2557
|
+
*/
|
|
2558
|
+
export declare interface RemoteValidatorDiscoveryMetadata {
|
|
2559
|
+
/**
|
|
2560
|
+
* Stable validator type published during discovery.
|
|
2561
|
+
*/
|
|
2562
|
+
readonly type: string;
|
|
2563
|
+
}
|
|
2564
|
+
|
|
2565
|
+
/**
|
|
2566
|
+
* Interface-designer metadata exposed by a remote view element.
|
|
2567
|
+
*
|
|
2568
|
+
* Use this payload to register toolbox entries in the interface designer without activating the
|
|
2569
|
+
* remote runtime implementation.
|
|
2570
|
+
*
|
|
2571
|
+
* @example
|
|
2572
|
+
* ```ts
|
|
2573
|
+
* {
|
|
2574
|
+
* type: 'usr.Address',
|
|
2575
|
+
* toolbarConfig: {
|
|
2576
|
+
* caption: 'Address',
|
|
2577
|
+
* icon: '<svg viewBox="0 0 16 16"></svg>'
|
|
2578
|
+
* },
|
|
2579
|
+
* defaultPropertyValues: {
|
|
2580
|
+
* street: 'Main st.',
|
|
2581
|
+
* city: 'Boston'
|
|
2582
|
+
* },
|
|
2583
|
+
* propertiesPanel: 'usr.AddressPropertiesPanel'
|
|
2584
|
+
* }
|
|
2585
|
+
* ```
|
|
2586
|
+
*
|
|
2587
|
+
* @public
|
|
2588
|
+
*/
|
|
2589
|
+
export declare interface RemoteViewElementDesignerDefinition {
|
|
2590
|
+
/**
|
|
2591
|
+
* Stable view element type already published through discovery metadata.
|
|
2592
|
+
*
|
|
2593
|
+
* Must match the `type` of a corresponding item from {@link RemoteFeatureDiscoveryMetadata.viewElements} or
|
|
2594
|
+
* {@link RemoteFeatureDiscoveryMetadata.mobileViewElements} published by the same feature.
|
|
2595
|
+
*/
|
|
2596
|
+
readonly type: string;
|
|
2597
|
+
/**
|
|
2598
|
+
* Toolbar configuration displayed in the interface designer.
|
|
2599
|
+
*/
|
|
2600
|
+
readonly toolbarConfig: {
|
|
2601
|
+
/**
|
|
2602
|
+
* Visible caption in the interface-designer toolbox.
|
|
2603
|
+
*/
|
|
2604
|
+
readonly caption: string;
|
|
2605
|
+
/**
|
|
2606
|
+
* Raw SVG markup displayed as the toolbox icon.
|
|
2607
|
+
*
|
|
2608
|
+
* @example
|
|
2609
|
+
* ```ts
|
|
2610
|
+
* icon: '<svg viewBox="0 0 16 16"></svg>'
|
|
2611
|
+
* ```
|
|
2612
|
+
*
|
|
2613
|
+
* @example
|
|
2614
|
+
* ```ts
|
|
2615
|
+
* icon: require(`!!raw-loader?{esModule:false}!../assets/icon.svg`)
|
|
2616
|
+
* ```
|
|
2617
|
+
*/
|
|
2618
|
+
readonly icon: string;
|
|
2619
|
+
/**
|
|
2620
|
+
* Optional hint displayed on hover in the interface-designer toolbox.
|
|
2621
|
+
*/
|
|
2622
|
+
readonly hint?: string;
|
|
2623
|
+
};
|
|
2624
|
+
/**
|
|
2625
|
+
* Default property values applied when the item is added from the toolbox.
|
|
2626
|
+
*
|
|
2627
|
+
* Keys must match property names expected by the view element.
|
|
2628
|
+
*/
|
|
2629
|
+
readonly defaultPropertyValues?: Record<string, JsonData>;
|
|
2630
|
+
/**
|
|
2631
|
+
* Type name of the properties panel component used for configuring the view element in the interface designer.
|
|
2632
|
+
*
|
|
2633
|
+
* @example
|
|
2634
|
+
* ```ts
|
|
2635
|
+
* propertiesPanel: 'usr.AddressPropertiesPanel'
|
|
2636
|
+
* ```
|
|
2637
|
+
*/
|
|
2638
|
+
readonly propertiesPanel?: string;
|
|
2639
|
+
}
|
|
2640
|
+
|
|
2641
|
+
/**
|
|
2642
|
+
* Discovery metadata for a remote view element.
|
|
2643
|
+
*
|
|
2644
|
+
* @public
|
|
2645
|
+
*/
|
|
2646
|
+
export declare interface RemoteViewElementDiscoveryMetadata {
|
|
2647
|
+
/**
|
|
2648
|
+
* Stable view element type published during discovery.
|
|
2649
|
+
*/
|
|
2650
|
+
readonly type: string;
|
|
2651
|
+
}
|
|
2652
|
+
|
|
2154
2653
|
/* Excluded from this release type: RemoveRequestHandlerListener */
|
|
2155
2654
|
export { RequestHandler }
|
|
2156
2655
|
|
|
@@ -2369,6 +2868,35 @@ export { SchemaViewMaskRequestAction }
|
|
|
2369
2868
|
|
|
2370
2869
|
export { SelectLocalizationQuery }
|
|
2371
2870
|
|
|
2871
|
+
/**
|
|
2872
|
+
* @public
|
|
2873
|
+
* @description Configuration for server-side hierarchy processing.
|
|
2874
|
+
* @property {'ServerSide'} type Type of hierarchy handling.
|
|
2875
|
+
* @property {string} hierarchicalColumnName Name of the column that defines the hierarchy.
|
|
2876
|
+
* @property {string} hierarchicalColumnValue Value of the hierarchical column to start loading from.
|
|
2877
|
+
* @property {FilterGroup} hierarchicalColumnFiltersValue Filters to be applied on the hierarchical column.
|
|
2878
|
+
* @property {number} hierarchicalMaxDepth Maximum depth of the hierarchy to be loaded.
|
|
2879
|
+
* @property {boolean} hierarchicalFullDataLoad Whether to load the full hierarchy data.
|
|
2880
|
+
*/
|
|
2881
|
+
export declare interface ServerSideDataSourceHierarchyConfig extends BaseDataSourceHierarchyConfig {
|
|
2882
|
+
/**
|
|
2883
|
+
* @description Type of hierarchy handling.
|
|
2884
|
+
*/
|
|
2885
|
+
type?: 'ServerSide';
|
|
2886
|
+
/**
|
|
2887
|
+
* @description Filters to be applied on the hierarchical column.
|
|
2888
|
+
*/
|
|
2889
|
+
hierarchicalColumnFiltersValue?: FilterGroup;
|
|
2890
|
+
/**
|
|
2891
|
+
* @description Maximum depth of the hierarchy to be loaded.
|
|
2892
|
+
*/
|
|
2893
|
+
hierarchicalMaxDepth?: number;
|
|
2894
|
+
/**
|
|
2895
|
+
* @description Whether to load the full hierarchy data.
|
|
2896
|
+
*/
|
|
2897
|
+
hierarchicalFullDataLoad?: boolean;
|
|
2898
|
+
}
|
|
2899
|
+
|
|
2372
2900
|
/* Excluded from this release type: setConverterMetadata */
|
|
2373
2901
|
|
|
2374
2902
|
/* Excluded from this release type: setDesignTimeViewElementMetadata */
|
|
@@ -2662,6 +3190,117 @@ export { Type }
|
|
|
2662
3190
|
/* Excluded from this release type: UnsubscribeListener */
|
|
2663
3191
|
export { UpdateQuery }
|
|
2664
3192
|
|
|
3193
|
+
/**
|
|
3194
|
+
* @public
|
|
3195
|
+
* @description Represents a user consent history record.
|
|
3196
|
+
* @property {Guid} id - Unique identifier of the user consent record.
|
|
3197
|
+
* @property {string} consentCode - Consent code associated with the user consent.
|
|
3198
|
+
* @property {Date} dateOfConsent - Date when the user provided consent.
|
|
3199
|
+
* @property {Date | null} expirationDate - Date when the user consent expires; `null` for perpetual consent.
|
|
3200
|
+
*/
|
|
3201
|
+
export declare interface UserConsent {
|
|
3202
|
+
/**
|
|
3203
|
+
* @description Unique identifier of the user consent record.
|
|
3204
|
+
*/
|
|
3205
|
+
id: Guid;
|
|
3206
|
+
/**
|
|
3207
|
+
* @description Consent code associated with the user consent.
|
|
3208
|
+
*/
|
|
3209
|
+
consentCode: string;
|
|
3210
|
+
/**
|
|
3211
|
+
* @description Date when the user provided consent.
|
|
3212
|
+
*/
|
|
3213
|
+
dateOfConsent: Date;
|
|
3214
|
+
/**
|
|
3215
|
+
* @description Date when the user consent expires. `null` when the consent does not expire.
|
|
3216
|
+
*/
|
|
3217
|
+
expirationDate: Date | null;
|
|
3218
|
+
}
|
|
3219
|
+
|
|
3220
|
+
/**
|
|
3221
|
+
* @public
|
|
3222
|
+
* @class UserConsentService
|
|
3223
|
+
* @classdesc Service to work with consents of the current user.
|
|
3224
|
+
*/
|
|
3225
|
+
export declare class UserConsentService {
|
|
3226
|
+
private static _instance;
|
|
3227
|
+
private readonly _consentSchemaName;
|
|
3228
|
+
private readonly _userConsentHistorySchemaName;
|
|
3229
|
+
private readonly _sysValuesService;
|
|
3230
|
+
private _currentUserContactId?;
|
|
3231
|
+
/**
|
|
3232
|
+
* @description Gets shared service instance.
|
|
3233
|
+
* @returns Shared `UserConsentService` instance.
|
|
3234
|
+
*/
|
|
3235
|
+
static get instance(): UserConsentService;
|
|
3236
|
+
/**
|
|
3237
|
+
* Retrieves the current user's contact ID.
|
|
3238
|
+
* @returns Current user contact id. Cached after first retrieval.
|
|
3239
|
+
*/
|
|
3240
|
+
private _getCurrentUserContactId;
|
|
3241
|
+
/**
|
|
3242
|
+
* Maps a JSON record to a UserConsent object.
|
|
3243
|
+
* @param record - JSON record to map.
|
|
3244
|
+
* @param code - Consent code associated with the user consent.
|
|
3245
|
+
* @returns User consent object.
|
|
3246
|
+
*/
|
|
3247
|
+
private _mapToUserConsent;
|
|
3248
|
+
/**
|
|
3249
|
+
* Creates filter parameters for model loading based on the provided filters.
|
|
3250
|
+
* @param filters - Filter values by column name.
|
|
3251
|
+
* @returns Model filter parameters.
|
|
3252
|
+
*/
|
|
3253
|
+
private _createFilterParameters;
|
|
3254
|
+
/**
|
|
3255
|
+
* Selects a consent record from the provided JSON records.
|
|
3256
|
+
* @param records - Records to select from.
|
|
3257
|
+
* @param code - Consent code associated with the consent.
|
|
3258
|
+
* @returns Consent object or `null` if not found.
|
|
3259
|
+
*/
|
|
3260
|
+
private _selectConsent;
|
|
3261
|
+
/**
|
|
3262
|
+
* Selects a user consent record from the provided JSON records.
|
|
3263
|
+
* @param records - Records to select from.
|
|
3264
|
+
* @param code - Consent code associated with the user consent.
|
|
3265
|
+
* @returns User consent object or `null` if no valid user consent is found.
|
|
3266
|
+
*/
|
|
3267
|
+
private _selectUserConsent;
|
|
3268
|
+
/**
|
|
3269
|
+
* Loads the consent model.
|
|
3270
|
+
* @returns Loaded consent model.
|
|
3271
|
+
*/
|
|
3272
|
+
private _loadConsentModel;
|
|
3273
|
+
/**
|
|
3274
|
+
* Loads the user consent history model.
|
|
3275
|
+
* @returns Loaded user consent history model.
|
|
3276
|
+
*/
|
|
3277
|
+
private _loadUserConsentModel;
|
|
3278
|
+
/**
|
|
3279
|
+
* Creates a new user consent record in the user consent history model.
|
|
3280
|
+
* @param consentId - Identifier of the consent record.
|
|
3281
|
+
* @param expirationDate - Optional expiration date of the user consent.
|
|
3282
|
+
*/
|
|
3283
|
+
private _insertUserConsent;
|
|
3284
|
+
/**
|
|
3285
|
+
* @description Gets consent by code.
|
|
3286
|
+
* @param code - Consent code.
|
|
3287
|
+
* @returns Consent record or `null` if not found.
|
|
3288
|
+
*/
|
|
3289
|
+
getConsent(code: string): Promise<Consent | null>;
|
|
3290
|
+
/**
|
|
3291
|
+
* @description Gets current user consent by code.
|
|
3292
|
+
* @param code - Consent code.
|
|
3293
|
+
* @returns User consent record or `null` if no active or perpetual consent exists.
|
|
3294
|
+
*/
|
|
3295
|
+
getCurrentUserConsent(code: string): Promise<UserConsent | null>;
|
|
3296
|
+
/**
|
|
3297
|
+
* @description Gives current user consent by code.
|
|
3298
|
+
* @param code - Consent code.
|
|
3299
|
+
* @param expirationDate - Optional expiration date for the user consent.
|
|
3300
|
+
*/
|
|
3301
|
+
giveCurrentUserConsent(code: string, expirationDate?: Date): Promise<void>;
|
|
3302
|
+
}
|
|
3303
|
+
|
|
2665
3304
|
export { ValidationUtilities }
|
|
2666
3305
|
|
|
2667
3306
|
/**
|
|
@@ -2902,12 +3541,26 @@ export declare class ɵBaseRegistry {
|
|
|
2902
3541
|
*/
|
|
2903
3542
|
export declare function ɵcheckTypeNameFormat(type: string, element: string): void;
|
|
2904
3543
|
|
|
3544
|
+
/* Excluded from this release type: ɵCrtInterfaceDesignerItem */
|
|
3545
|
+
|
|
3546
|
+
/* Excluded from this release type: ɵCrtMobileInterfaceDesignerItem */
|
|
3547
|
+
|
|
3548
|
+
/* Excluded from this release type: ɵFeatureActivationRef */
|
|
3549
|
+
|
|
2905
3550
|
/**
|
|
2906
3551
|
* @public
|
|
2907
3552
|
* @description For internal use only.
|
|
2908
3553
|
*/
|
|
2909
3554
|
export declare function ɵinstantiate<T = unknown>(type: Type<T>, resolveDependency: ResolveDependencyFn | undefined): T;
|
|
2910
3555
|
|
|
3556
|
+
/* Excluded from this release type: ɵLazyLoadRef */
|
|
3557
|
+
|
|
3558
|
+
/* Excluded from this release type: ɵLazyModuleRef */
|
|
3559
|
+
|
|
3560
|
+
/* Excluded from this release type: ɵloadLazyRef */
|
|
3561
|
+
|
|
3562
|
+
/* Excluded from this release type: ɵloadLazyRefs */
|
|
3563
|
+
|
|
2911
3564
|
/**
|
|
2912
3565
|
* @public
|
|
2913
3566
|
* @description For internal use only.
|