@creatio-devkit/common 0.833.0 → 0.1000.1
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 +25 -1
- package/DEFERRED_REMOTE_MIGRATION_AI_GUIDE.md +1338 -0
- package/ICON_REQUIREMENTS_AI_GUIDE.md +107 -74
- package/LICENSE.md +5 -6
- package/REMOTE_COMPONENT_RUNTIME_AI_GUIDE.md +357 -4
- package/THIRD_PARTY_LICENSES.txt +160 -0
- package/fesm2022/creatio-devkit-common.mjs +674 -96
- package/fesm2022/creatio-devkit-common.mjs.map +1 -1
- package/index.d.ts +786 -14
- package/package.json +6 -19
- package/types/creatio-devkit-common.d.ts +4509 -0
- 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
|
@@ -54,6 +54,9 @@ SESSION_STATE:
|
|
|
54
54
|
prefix: null # From angular.json
|
|
55
55
|
component_name: null # User input (all forms)
|
|
56
56
|
scope: null # [runtime-only|runtime+designer]
|
|
57
|
+
remote_format: null # [legacy-module|deferred-remote]
|
|
58
|
+
input_shape: null # [scalar|collection]
|
|
59
|
+
input_shape_source: null # [contract-signals|default-scalar]
|
|
57
60
|
files: [] # Generated files
|
|
58
61
|
validated: false
|
|
59
62
|
score: 0 # Confidence 0-100
|
|
@@ -72,7 +75,7 @@ TRANSITIONS:
|
|
|
72
75
|
**EXECUTE IN ORDER. DO NOT SKIP.**
|
|
73
76
|
|
|
74
77
|
### ✅ Step 1: Determine Scope [BLOCKING]
|
|
75
|
-
**ORDER: 1/
|
|
78
|
+
**ORDER: 1/4 - Affects which guides to use**
|
|
76
79
|
|
|
77
80
|
```typescript
|
|
78
81
|
// ASK if unclear:
|
|
@@ -118,7 +121,7 @@ if (answer === "Y") {
|
|
|
118
121
|
---
|
|
119
122
|
|
|
120
123
|
### ✅ Step 2: Extract Prefix [BLOCKING]
|
|
121
|
-
**ORDER: 2/
|
|
124
|
+
**ORDER: 2/4 - Must complete before generation**
|
|
122
125
|
|
|
123
126
|
```bash
|
|
124
127
|
# ACTION:
|
|
@@ -141,7 +144,7 @@ assert(SESSION.prefix !== null && SESSION.prefix !== "crt")
|
|
|
141
144
|
---
|
|
142
145
|
|
|
143
146
|
### ✅ Step 3: Get Component Name [BLOCKING]
|
|
144
|
-
**ORDER: 3/
|
|
147
|
+
**ORDER: 3/4 - Required for placeholders**
|
|
145
148
|
|
|
146
149
|
```typescript
|
|
147
150
|
// ACTION: Extract from user request
|
|
@@ -158,9 +161,38 @@ assert(all transformations !== null)
|
|
|
158
161
|
|
|
159
162
|
---
|
|
160
163
|
|
|
164
|
+
### ✅ Step 4: Detect Binding Cardinality [BLOCKING]
|
|
165
|
+
**ORDER: 4/4 - Required for correct runtime generation**
|
|
166
|
+
|
|
167
|
+
```typescript
|
|
168
|
+
const strongCollectionSignals = [
|
|
169
|
+
USER_REQUEST_MENTIONS_ANY(['line items', 'table rows', 'collection list']),
|
|
170
|
+
USER_REQUEST_MENTIONS_ANY(['add column', 'remove column', 'columns list']),
|
|
171
|
+
USER_REQUEST_MENTIONS_ANY(['collection attribute']),
|
|
172
|
+
RUNTIME_TEMPLATE_HAS_ROW_LOOP, // @for row of ...
|
|
173
|
+
DESIGN_TIME_USES_COLLECTION_API, // isCollection: true / bindToAttribute(items)
|
|
174
|
+
];
|
|
175
|
+
|
|
176
|
+
if (strongCollectionSignals.some(Boolean)) {
|
|
177
|
+
SESSION_STATE.input_shape = 'collection';
|
|
178
|
+
SESSION_STATE.input_shape_source = 'contract-signals';
|
|
179
|
+
} else {
|
|
180
|
+
SESSION_STATE.input_shape = 'scalar';
|
|
181
|
+
SESSION_STATE.input_shape_source = 'default-scalar';
|
|
182
|
+
}
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
⚠️ `entitySchema` and `dataSourceName` MUST NOT be used to infer cardinality.
|
|
186
|
+
|
|
187
|
+
**BLOCKING RULES (collection):**
|
|
188
|
+
- Runtime MUST resolve row values asynchronously (`await Promise.resolve(...)`, `Promise.all(...)`).
|
|
189
|
+
- NEVER rely on framework internals (`__zone_symbol__state`, `__zone_symbol__value`).
|
|
190
|
+
|
|
191
|
+
---
|
|
192
|
+
|
|
161
193
|
**TRANSITION:**
|
|
162
194
|
```typescript
|
|
163
|
-
if (Steps 1-
|
|
195
|
+
if (Steps 1-4 complete) {
|
|
164
196
|
SESSION_STATE.phase = 'generate';
|
|
165
197
|
PROCEED_TO_TEMPLATES();
|
|
166
198
|
}
|
|
@@ -168,6 +200,76 @@ if (Steps 1-3 complete) {
|
|
|
168
200
|
|
|
169
201
|
---
|
|
170
202
|
|
|
203
|
+
## Deferred Remote Decision (NEW FORMAT)
|
|
204
|
+
|
|
205
|
+
**CRITICAL:** This guide supports TWO registration formats. Keep the old instructions unchanged for legacy remotes. Switch to deferred-remote instructions only when the project already follows the new `RemoteEntryDefinition` + feature-based structure.
|
|
206
|
+
|
|
207
|
+
### Detect the format first
|
|
208
|
+
|
|
209
|
+
```typescript
|
|
210
|
+
// Check main.ts and potential alternative entry files
|
|
211
|
+
const mainFiles = ['src/main.ts', 'src/index.ts'];
|
|
212
|
+
const hasDeferredEntryDefinition = mainFiles.some((file) =>
|
|
213
|
+
fileExists(file) &&
|
|
214
|
+
(fileContains(file, 'RemoteEntryDefinition') ||
|
|
215
|
+
fileContains(file, 'features: [') ||
|
|
216
|
+
fileContains(file, 'export default') && fileContains(file, 'features'))
|
|
217
|
+
);
|
|
218
|
+
|
|
219
|
+
const hasFeatureFolders =
|
|
220
|
+
dirExists('src/app/features/runtime') &&
|
|
221
|
+
dirExists('src/app/features/design');
|
|
222
|
+
|
|
223
|
+
if (hasDeferredEntryDefinition || hasFeatureFolders) {
|
|
224
|
+
SESSION_STATE.remote_format = 'deferred-remote';
|
|
225
|
+
} else {
|
|
226
|
+
SESSION_STATE.remote_format = 'legacy-module';
|
|
227
|
+
}
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
### Routing rule
|
|
231
|
+
|
|
232
|
+
```yaml
|
|
233
|
+
If SESSION_STATE.remote_format == legacy-module:
|
|
234
|
+
- Keep using all existing instructions in this guide as-is
|
|
235
|
+
- Keep @CrtInterfaceDesignerItem on runtime component when designer support is required
|
|
236
|
+
- Keep module-based registration flow from "Component Registration in Module"
|
|
237
|
+
|
|
238
|
+
If SESSION_STATE.remote_format == deferred-remote:
|
|
239
|
+
- DO NOT use @CrtInterfaceDesignerItem on runtime component
|
|
240
|
+
- Keep @CrtViewElement / @Input / @Output / @CrtInput / @CrtOutput on runtime component
|
|
241
|
+
- Register runtime component through:
|
|
242
|
+
- runtime.feature-definition.ts
|
|
243
|
+
- runtime.feature-activation.ts
|
|
244
|
+
- runtime.designer-definitions.ts
|
|
245
|
+
- If component has a custom properties panel, register that panel separately through:
|
|
246
|
+
- design.feature-definition.ts
|
|
247
|
+
- design.feature-activation.ts
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
### Minimal deferred-remote file set for one runtime component
|
|
251
|
+
|
|
252
|
+
```text
|
|
253
|
+
src/main.ts
|
|
254
|
+
src/app/remote-app-context.ts
|
|
255
|
+
src/app/features/runtime/
|
|
256
|
+
runtime-feature.ids.ts
|
|
257
|
+
runtime-feature.module.ts
|
|
258
|
+
runtime.feature-definition.ts
|
|
259
|
+
runtime.feature-activation.ts
|
|
260
|
+
runtime.designer-definitions.ts
|
|
261
|
+
view-elements/{{COMPONENT_NAME_KEBAB}}/{{COMPONENT_NAME_KEBAB}}.component.ts
|
|
262
|
+
|
|
263
|
+
src/app/features/design/ # only when a custom panel exists
|
|
264
|
+
design-feature.ids.ts
|
|
265
|
+
design-feature.module.ts
|
|
266
|
+
design.feature-definition.ts
|
|
267
|
+
design.feature-activation.ts
|
|
268
|
+
property-panels/{{COMPONENT_NAME_KEBAB}}/{{COMPONENT_NAME_KEBAB}}-panel.component.ts
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
---
|
|
272
|
+
|
|
171
273
|
## 🚪 Escape Hatches (Edge Cases)
|
|
172
274
|
|
|
173
275
|
### ESCAPE HATCH #1: Multiple Projects in Monorepo
|
|
@@ -448,6 +550,8 @@ Components can be categorized by complexity:
|
|
|
448
550
|
|
|
449
551
|
## 📋 EXAMPLE 1: Simple Input Component with Two-Way Binding
|
|
450
552
|
|
|
553
|
+
> **⚠️ Format:** This example follows the **legacy-module** format. For deferred-remote projects, see [Component Registration in Deferred Remote Features](#component-registration-in-deferred-remote-features).
|
|
554
|
+
|
|
451
555
|
**Use case:** Text input field with label and value change event
|
|
452
556
|
|
|
453
557
|
```typescript
|
|
@@ -516,6 +620,8 @@ export class {{COMPONENT_NAME_PASCAL}}Component {
|
|
|
516
620
|
|
|
517
621
|
## 📋 EXAMPLE 2: Display Component with Multiple Visual Properties
|
|
518
622
|
|
|
623
|
+
> **⚠️ Format:** This example follows the **legacy-module** format. For deferred-remote projects, see [Component Registration in Deferred Remote Features](#component-registration-in-deferred-remote-features).
|
|
624
|
+
|
|
519
625
|
**Use case:** Label/text display with styling options and click event
|
|
520
626
|
|
|
521
627
|
```typescript
|
|
@@ -729,6 +835,195 @@ bootstrapCrtModule({{MODULE_NAME_PASCAL}}Module);
|
|
|
729
835
|
|
|
730
836
|
---
|
|
731
837
|
|
|
838
|
+
## Component Registration in Deferred Remote Features
|
|
839
|
+
|
|
840
|
+
**USE THIS SECTION ONLY WHEN `SESSION_STATE.remote_format === 'deferred-remote'`.**
|
|
841
|
+
|
|
842
|
+
**CRITICAL differences from legacy format:**
|
|
843
|
+
- Runtime component stays a normal `@CrtViewElement`, but MUST NOT use `@CrtInterfaceDesignerItem`
|
|
844
|
+
- Designer metadata moves to `runtime.designer-definitions.ts`
|
|
845
|
+
- Runtime registration moves from eager module bootstrap to `runtime.feature-activation.ts`
|
|
846
|
+
- Property panel registration moves to the separate design feature
|
|
847
|
+
|
|
848
|
+
### 1. Runtime component stays lightweight
|
|
849
|
+
|
|
850
|
+
```typescript
|
|
851
|
+
import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';
|
|
852
|
+
import { CrtInput, CrtViewElement } from '@creatio-devkit/common';
|
|
853
|
+
|
|
854
|
+
@CrtViewElement({
|
|
855
|
+
selector: '{{PREFIX}}-{{COMPONENT_NAME_KEBAB}}',
|
|
856
|
+
type: '{{PREFIX}}.{{COMPONENT_NAME_PASCAL}}',
|
|
857
|
+
})
|
|
858
|
+
@Component({
|
|
859
|
+
selector: '{{PREFIX}}-{{COMPONENT_NAME_KEBAB}}',
|
|
860
|
+
templateUrl: './{{COMPONENT_NAME_KEBAB}}.component.html',
|
|
861
|
+
styleUrls: ['./{{COMPONENT_NAME_KEBAB}}.component.scss'],
|
|
862
|
+
encapsulation: ViewEncapsulation.ShadowDom,
|
|
863
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
864
|
+
})
|
|
865
|
+
export class {{COMPONENT_NAME_PASCAL}}Component {
|
|
866
|
+
@Input()
|
|
867
|
+
@CrtInput()
|
|
868
|
+
public value = '';
|
|
869
|
+
}
|
|
870
|
+
```
|
|
871
|
+
|
|
872
|
+
**Deferred-remote rule:** runtime component contains runtime behavior only. Toolbar caption, icon, defaults, and `propertiesPanel` MUST NOT live on the component decorator.
|
|
873
|
+
|
|
874
|
+
### 2. Publish runtime discovery in `runtime.feature-definition.ts`
|
|
875
|
+
|
|
876
|
+
```typescript
|
|
877
|
+
import type { RemoteDesignerDefinitionsLoadContext, RemoteFeatureDefinition } from '@creatio-devkit/common';
|
|
878
|
+
|
|
879
|
+
import {
|
|
880
|
+
{{COMPONENT_NAME_UPPER}}_TYPE,
|
|
881
|
+
RUNTIME_FEATURE_ID,
|
|
882
|
+
} from './runtime-feature.ids';
|
|
883
|
+
|
|
884
|
+
export const runtimeFeatureDefinition = {
|
|
885
|
+
id: RUNTIME_FEATURE_ID,
|
|
886
|
+
discovery: {
|
|
887
|
+
viewElements: [{ type: {{COMPONENT_NAME_UPPER}}_TYPE }],
|
|
888
|
+
},
|
|
889
|
+
loadDesignerDefinitions: (context: RemoteDesignerDefinitionsLoadContext) =>
|
|
890
|
+
import('./runtime.designer-definitions').then((m) => m.loadRuntimeDesignerDefinitions(context)),
|
|
891
|
+
activate: () =>
|
|
892
|
+
import('./runtime.feature-activation').then((m) => m.activateRuntimeFeature()),
|
|
893
|
+
} satisfies RemoteFeatureDefinition;
|
|
894
|
+
```
|
|
895
|
+
|
|
896
|
+
**Rules:**
|
|
897
|
+
- `discovery.viewElements[].type` MUST exactly match `@CrtViewElement({ type })`
|
|
898
|
+
- Keep this file lightweight: IDs only, no icons, no heavy defaults, no runtime side effects
|
|
899
|
+
- If the component exposes handlers/validators/converters, publish them here too
|
|
900
|
+
|
|
901
|
+
### 3. Return toolbox metadata in `runtime.designer-definitions.ts`
|
|
902
|
+
|
|
903
|
+
```typescript
|
|
904
|
+
import type {
|
|
905
|
+
RemoteDesignerDefinitionsLoadContext,
|
|
906
|
+
RemoteFeatureDesignerDefinitions,
|
|
907
|
+
} from '@creatio-devkit/common';
|
|
908
|
+
|
|
909
|
+
import { {{COMPONENT_NAME_UPPER}}_ICON } from './runtime.designer-definitions.icons';
|
|
910
|
+
import {
|
|
911
|
+
{{COMPONENT_NAME_UPPER}}_PANEL_TYPE,
|
|
912
|
+
{{COMPONENT_NAME_UPPER}}_TYPE,
|
|
913
|
+
} from './runtime-feature.ids';
|
|
914
|
+
|
|
915
|
+
export function loadRuntimeDesignerDefinitions(
|
|
916
|
+
_context: RemoteDesignerDefinitionsLoadContext,
|
|
917
|
+
): Promise<RemoteFeatureDesignerDefinitions> {
|
|
918
|
+
return Promise.resolve({
|
|
919
|
+
viewElements: [
|
|
920
|
+
{
|
|
921
|
+
type: {{COMPONENT_NAME_UPPER}}_TYPE,
|
|
922
|
+
toolbarConfig: {
|
|
923
|
+
caption: '{{COMPONENT_NAME_PASCAL}}',
|
|
924
|
+
icon: {{COMPONENT_NAME_UPPER}}_ICON,
|
|
925
|
+
},
|
|
926
|
+
defaultPropertyValues: {
|
|
927
|
+
value: '',
|
|
928
|
+
},
|
|
929
|
+
propertiesPanel: {{COMPONENT_NAME_UPPER}}_PANEL_TYPE,
|
|
930
|
+
},
|
|
931
|
+
],
|
|
932
|
+
});
|
|
933
|
+
}
|
|
934
|
+
```
|
|
935
|
+
|
|
936
|
+
**Rules:**
|
|
937
|
+
- `propertiesPanel` is set here, not on the runtime component
|
|
938
|
+
- If there is no custom panel, omit `propertiesPanel`
|
|
939
|
+
- Keep translations/localization here if the remote supports localized toolbox metadata
|
|
940
|
+
|
|
941
|
+
### 4. Activate the runtime feature in `runtime.feature-activation.ts`
|
|
942
|
+
|
|
943
|
+
```typescript
|
|
944
|
+
import { ProviderToken, Type } from '@angular/core';
|
|
945
|
+
import { createCustomElement } from '@angular/elements';
|
|
946
|
+
import { bootstrapCrtModule } from '@creatio-devkit/common';
|
|
947
|
+
|
|
948
|
+
import { ensureFeatureModuleRef } from '../../remote-app-context';
|
|
949
|
+
import { {{COMPONENT_NAME_PASCAL}}Component } from './view-elements/{{COMPONENT_NAME_KEBAB}}/{{COMPONENT_NAME_KEBAB}}.component';
|
|
950
|
+
import { RuntimeFeatureModule } from './runtime-feature.module';
|
|
951
|
+
import {
|
|
952
|
+
{{COMPONENT_NAME_UPPER}}_SELECTOR,
|
|
953
|
+
REMOTE_NAME,
|
|
954
|
+
} from './runtime-feature.ids';
|
|
955
|
+
|
|
956
|
+
function defineCustomElement(selector: string, component: Type<unknown>, injector: unknown): void {
|
|
957
|
+
if (!customElements.get(selector)) {
|
|
958
|
+
customElements.define(selector, createCustomElement(component, { injector }));
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
export async function activateRuntimeFeature(): Promise<void> {
|
|
963
|
+
const moduleRef = await ensureFeatureModuleRef(RuntimeFeatureModule);
|
|
964
|
+
const injector = moduleRef.injector;
|
|
965
|
+
|
|
966
|
+
defineCustomElement({{COMPONENT_NAME_UPPER}}_SELECTOR, {{COMPONENT_NAME_PASCAL}}Component, injector);
|
|
967
|
+
|
|
968
|
+
bootstrapCrtModule(REMOTE_NAME, RuntimeFeatureModule, {
|
|
969
|
+
resolveDependency: (token: unknown) => injector.get(token as ProviderToken<unknown>),
|
|
970
|
+
});
|
|
971
|
+
}
|
|
972
|
+
```
|
|
973
|
+
|
|
974
|
+
**Rules:**
|
|
975
|
+
- Custom element registration happens in `activateRuntimeFeature()`, not in the Angular module constructor
|
|
976
|
+
- Keep `customElements.get(...)` guard
|
|
977
|
+
- Use `ensureFeatureModuleRef(...)` so activation is idempotent
|
|
978
|
+
- Call `bootstrapCrtModule(...)` after custom element registration
|
|
979
|
+
|
|
980
|
+
### 5. Runtime feature module owns declarations
|
|
981
|
+
|
|
982
|
+
```typescript
|
|
983
|
+
@CrtModule({
|
|
984
|
+
viewElements: [{{COMPONENT_NAME_PASCAL}}Component],
|
|
985
|
+
})
|
|
986
|
+
@NgModule({
|
|
987
|
+
declarations: [{{COMPONENT_NAME_PASCAL}}Component],
|
|
988
|
+
imports: [CommonModule],
|
|
989
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
990
|
+
})
|
|
991
|
+
export class RuntimeFeatureModule {}
|
|
992
|
+
```
|
|
993
|
+
|
|
994
|
+
**Rule:** in deferred remotes, this module is bootstrapped from `runtime.feature-activation.ts`, not from `src/main.ts`.
|
|
995
|
+
|
|
996
|
+
### 6. Wire the entry definition
|
|
997
|
+
|
|
998
|
+
```typescript
|
|
999
|
+
import type { RemoteEntryDefinition } from '@creatio-devkit/common';
|
|
1000
|
+
|
|
1001
|
+
import { designFeatureDefinition } from './app/features/design/design.feature-definition';
|
|
1002
|
+
import { runtimeFeatureDefinition } from './app/features/runtime/runtime.feature-definition';
|
|
1003
|
+
|
|
1004
|
+
export default {
|
|
1005
|
+
remoteName: '{{PROJECT_NAME}}',
|
|
1006
|
+
features: [runtimeFeatureDefinition, designFeatureDefinition],
|
|
1007
|
+
} satisfies RemoteEntryDefinition;
|
|
1008
|
+
```
|
|
1009
|
+
|
|
1010
|
+
**Rule:** if the remote has no custom panel, `features` may contain only `runtimeFeatureDefinition`.
|
|
1011
|
+
|
|
1012
|
+
### Deferred-remote checklist for runtime component
|
|
1013
|
+
|
|
1014
|
+
```markdown
|
|
1015
|
+
- [ ] Runtime component keeps `@CrtViewElement`, `@Input`, `@Output`, `@CrtInput`, `@CrtOutput`
|
|
1016
|
+
- [ ] Runtime component does NOT use `@CrtInterfaceDesignerItem`
|
|
1017
|
+
- [ ] `runtime.feature-definition.ts` publishes the component type in `discovery.viewElements`
|
|
1018
|
+
- [ ] `runtime.designer-definitions.ts` returns toolbar caption, icon, defaults, and `propertiesPanel` when needed
|
|
1019
|
+
- [ ] `runtime.feature-activation.ts` defines the custom element and calls `bootstrapCrtModule(...)`
|
|
1020
|
+
- [ ] `RuntimeFeatureModule` declares the component and includes it in `@CrtModule({ viewElements })`
|
|
1021
|
+
- [ ] `src/main.ts` exports `RemoteEntryDefinition`
|
|
1022
|
+
- [ ] If custom panel exists, the panel is registered through the separate design feature
|
|
1023
|
+
```
|
|
1024
|
+
|
|
1025
|
+
---
|
|
1026
|
+
|
|
732
1027
|
## 📋 Generation Checklist (Before Presenting)
|
|
733
1028
|
|
|
734
1029
|
**FINAL VALIDATION:**
|
|
@@ -786,6 +1081,7 @@ import { Crt{{ComponentName}}Component } from './{{component-name}}.component';
|
|
|
786
1081
|
|
|
787
1082
|
// Test host wrapper to test component as it will be used
|
|
788
1083
|
@Component({
|
|
1084
|
+
standalone: false,
|
|
789
1085
|
template: `
|
|
790
1086
|
<crt-{{component-name}}
|
|
791
1087
|
[propertyOne]="propertyOne"
|
|
@@ -1213,3 +1509,60 @@ public readonly myEvent = new EventEmitter<MyType>();
|
|
|
1213
1509
|
|
|
1214
1510
|
---
|
|
1215
1511
|
|
|
1512
|
+
## 🗂️ Collection Input — Runtime Components
|
|
1513
|
+
|
|
1514
|
+
When a Creatio page binds a ViewModel collection to a component `@Input`, each item is a `ViewModelContext` — property access returns a **Promise**. Use `await item[col]` to read values.
|
|
1515
|
+
|
|
1516
|
+
### @Input declarations
|
|
1517
|
+
|
|
1518
|
+
```typescript
|
|
1519
|
+
import { ViewModelCollection, ViewModelContext } from '@creatio-devkit/common';
|
|
1520
|
+
|
|
1521
|
+
@Input() @CrtInput() public set items(value: ViewModelCollection<ViewModelContext>) { ... }
|
|
1522
|
+
|
|
1523
|
+
// columns is written by panel as string[] constant
|
|
1524
|
+
@Input() @CrtInput() public set columns(value: string[]) { ... }
|
|
1525
|
+
```
|
|
1526
|
+
|
|
1527
|
+
### Resolving row values — use signals + Promise.all
|
|
1528
|
+
|
|
1529
|
+
```typescript
|
|
1530
|
+
export class {{COMPONENT_NAME_PASCAL}}Component {
|
|
1531
|
+
private _itemsCollection: ViewModelCollection<ViewModelContext> | null = null;
|
|
1532
|
+
protected readonly columnsToDisplay = signal<string[]>([]);
|
|
1533
|
+
protected readonly itemsToDisplay = signal<Record<string, string>[]>([]);
|
|
1534
|
+
|
|
1535
|
+
@Input() @CrtInput()
|
|
1536
|
+
public set items(value: ViewModelCollection<ViewModelContext>) {
|
|
1537
|
+
if (!value) return;
|
|
1538
|
+
this._itemsCollection = value;
|
|
1539
|
+
this._updateItemsToDisplay(value);
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
@Input() @CrtInput()
|
|
1543
|
+
public set columns(value: string[]) {
|
|
1544
|
+
// Deduplicate and trim
|
|
1545
|
+
this.columnsToDisplay.set(Array.from(new Set(value.map((c) => c.trim()).filter(Boolean))));
|
|
1546
|
+
if (this._itemsCollection) this._updateItemsToDisplay(this._itemsCollection);
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
private async _updateItemsToDisplay(value: ViewModelCollection<ViewModelContext>): Promise<void> {
|
|
1550
|
+
const columns = this.columnsToDisplay();
|
|
1551
|
+
if (!columns.length) { this.itemsToDisplay.set([]); return; }
|
|
1552
|
+
|
|
1553
|
+
const items = await Promise.all(
|
|
1554
|
+
value.map(async (item) => {
|
|
1555
|
+
const entries = await Promise.all(
|
|
1556
|
+
columns.map(async (col) => {
|
|
1557
|
+
const raw = await item[col];
|
|
1558
|
+
return [col, raw == null ? '' : String(raw)] as const;
|
|
1559
|
+
}),
|
|
1560
|
+
);
|
|
1561
|
+
return Object.fromEntries(entries);
|
|
1562
|
+
}),
|
|
1563
|
+
);
|
|
1564
|
+
this.itemsToDisplay.set(items);
|
|
1565
|
+
}
|
|
1566
|
+
}
|
|
1567
|
+
```
|
|
1568
|
+
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
Third-Party Software Notices and Information for @creatio-devkit/common
|
|
2
|
+
=======================================================================
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
This package declares the following third-party open-source components as
|
|
6
|
+
dependencies and peerDependencies. Each component is redistributed under its
|
|
7
|
+
own license. Creatio EMEA LTD makes no additional claim of copyright over
|
|
8
|
+
these components.
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
Note: this package also depends on @creatio/base
|
|
12
|
+
(a Creatio-proprietary package). Its own third-party components are
|
|
13
|
+
listed in that package's THIRD_PARTY_LICENSES.txt.
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
----------------------------------------------------------------
|
|
17
|
+
Component: reflect-metadata
|
|
18
|
+
Version: ^0.1.13
|
|
19
|
+
Installed: 0.1.14
|
|
20
|
+
Declared: dependency
|
|
21
|
+
License: Apache-2.0
|
|
22
|
+
Source: https://github.com/rbuckton/reflect-metadata
|
|
23
|
+
----------------------------------------------------------------
|
|
24
|
+
|
|
25
|
+
Apache License
|
|
26
|
+
|
|
27
|
+
Version 2.0, January 2004
|
|
28
|
+
|
|
29
|
+
http://www.apache.org/licenses/
|
|
30
|
+
|
|
31
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
32
|
+
|
|
33
|
+
1. Definitions.
|
|
34
|
+
|
|
35
|
+
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
|
36
|
+
|
|
37
|
+
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
|
38
|
+
|
|
39
|
+
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
|
40
|
+
|
|
41
|
+
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
|
42
|
+
|
|
43
|
+
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
|
44
|
+
|
|
45
|
+
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
|
46
|
+
|
|
47
|
+
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
|
48
|
+
|
|
49
|
+
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
|
50
|
+
|
|
51
|
+
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
|
52
|
+
|
|
53
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
|
54
|
+
|
|
55
|
+
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
|
56
|
+
|
|
57
|
+
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
|
58
|
+
|
|
59
|
+
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
|
60
|
+
|
|
61
|
+
You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
|
62
|
+
|
|
63
|
+
You must cause any modified files to carry prominent notices stating that You changed the files; and
|
|
64
|
+
|
|
65
|
+
You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
|
66
|
+
|
|
67
|
+
If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
|
68
|
+
|
|
69
|
+
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
|
70
|
+
|
|
71
|
+
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
|
72
|
+
|
|
73
|
+
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
|
74
|
+
|
|
75
|
+
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
|
76
|
+
|
|
77
|
+
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
|
78
|
+
|
|
79
|
+
END OF TERMS AND CONDITIONS
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
----------------------------------------------------------------
|
|
83
|
+
Component: lodash
|
|
84
|
+
Version: ^4.17.21
|
|
85
|
+
Installed: 4.18.1
|
|
86
|
+
Declared: dependency
|
|
87
|
+
License: MIT
|
|
88
|
+
Source: lodash/lodash
|
|
89
|
+
----------------------------------------------------------------
|
|
90
|
+
|
|
91
|
+
Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
92
|
+
|
|
93
|
+
Based on Underscore.js, copyright Jeremy Ashkenas,
|
|
94
|
+
DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
|
|
95
|
+
|
|
96
|
+
This software consists of voluntary contributions made by many
|
|
97
|
+
individuals. For exact contribution history, see the revision history
|
|
98
|
+
available at https://github.com/lodash/lodash
|
|
99
|
+
|
|
100
|
+
The following license applies to all parts of this software except as
|
|
101
|
+
documented below:
|
|
102
|
+
|
|
103
|
+
====
|
|
104
|
+
|
|
105
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
106
|
+
a copy of this software and associated documentation files (the
|
|
107
|
+
"Software"), to deal in the Software without restriction, including
|
|
108
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
109
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
110
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
111
|
+
the following conditions:
|
|
112
|
+
|
|
113
|
+
The above copyright notice and this permission notice shall be
|
|
114
|
+
included in all copies or substantial portions of the Software.
|
|
115
|
+
|
|
116
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
117
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
118
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
119
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
120
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
121
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
122
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
123
|
+
|
|
124
|
+
====
|
|
125
|
+
|
|
126
|
+
Copyright and related rights for sample code are waived via CC0. Sample
|
|
127
|
+
code is defined as all source code displayed within the prose of the
|
|
128
|
+
documentation.
|
|
129
|
+
|
|
130
|
+
CC0: http://creativecommons.org/publicdomain/zero/1.0/
|
|
131
|
+
|
|
132
|
+
====
|
|
133
|
+
|
|
134
|
+
Files located in the node_modules and vendor directories are externally
|
|
135
|
+
maintained libraries used by this software which have their own
|
|
136
|
+
licenses; we recommend you read them, as their terms may differ from the
|
|
137
|
+
terms above.
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
----------------------------------------------------------------
|
|
141
|
+
Component: tslib
|
|
142
|
+
Version: ^2.3.0
|
|
143
|
+
Installed: 2.8.1
|
|
144
|
+
Declared: dependency
|
|
145
|
+
License: 0BSD
|
|
146
|
+
Source: https://github.com/Microsoft/tslib
|
|
147
|
+
----------------------------------------------------------------
|
|
148
|
+
|
|
149
|
+
Copyright (c) Microsoft Corporation.
|
|
150
|
+
|
|
151
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
152
|
+
purpose with or without fee is hereby granted.
|
|
153
|
+
|
|
154
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
155
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
156
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
157
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
158
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
159
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
160
|
+
PERFORMANCE OF THIS SOFTWARE.
|