@acorex-platform/framework-shared 0.0.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/acorex-platform-framework-shared-0.0.1.tgz +0 -0
- package/core/src/index.d.ts +2 -0
- package/core/src/index.d.ts.map +1 -0
- package/core/src/index.js +5 -0
- package/core/src/index.js.map +1 -0
- package/core/src/lib/core/actions.types.d.ts +724 -0
- package/core/src/lib/core/actions.types.d.ts.map +1 -0
- package/core/src/lib/core/actions.types.js +851 -0
- package/core/src/lib/core/actions.types.js.map +1 -0
- package/core/src/lib/core/context.types.d.ts +23 -0
- package/core/src/lib/core/context.types.d.ts.map +1 -0
- package/core/src/lib/core/context.types.js +9 -0
- package/core/src/lib/core/context.types.js.map +1 -0
- package/core/src/lib/core/core.types.d.ts +193 -0
- package/core/src/lib/core/core.types.d.ts.map +1 -0
- package/core/src/lib/core/core.types.js +90 -0
- package/core/src/lib/core/core.types.js.map +1 -0
- package/core/src/lib/core/index.d.ts +8 -0
- package/core/src/lib/core/index.d.ts.map +1 -0
- package/core/src/lib/core/index.js +13 -0
- package/core/src/lib/core/index.js.map +1 -0
- package/core/src/lib/core/logo.types.d.ts +13 -0
- package/core/src/lib/core/logo.types.d.ts.map +1 -0
- package/core/src/lib/core/logo.types.js +5 -0
- package/core/src/lib/core/logo.types.js.map +1 -0
- package/core/src/lib/core/response.types.d.ts +10 -0
- package/core/src/lib/core/response.types.d.ts.map +1 -0
- package/core/src/lib/core/response.types.js +5 -0
- package/core/src/lib/core/response.types.js.map +1 -0
- package/core/src/lib/core/scope.types.d.ts +9 -0
- package/core/src/lib/core/scope.types.d.ts.map +1 -0
- package/core/src/lib/core/scope.types.js +32 -0
- package/core/src/lib/core/scope.types.js.map +1 -0
- package/core/src/lib/core/shims.types.d.ts +20 -0
- package/core/src/lib/core/shims.types.d.ts.map +1 -0
- package/core/src/lib/core/shims.types.js +5 -0
- package/core/src/lib/core/shims.types.js.map +1 -0
- package/core/src/lib/data/column.types.d.ts +6 -0
- package/core/src/lib/data/column.types.d.ts.map +1 -0
- package/core/src/lib/data/column.types.js +5 -0
- package/core/src/lib/data/column.types.js.map +1 -0
- package/core/src/lib/data/data.types.d.ts +40 -0
- package/core/src/lib/data/data.types.d.ts.map +1 -0
- package/core/src/lib/data/data.types.js +5 -0
- package/core/src/lib/data/data.types.js.map +1 -0
- package/core/src/lib/data/export.types.d.ts +64 -0
- package/core/src/lib/data/export.types.d.ts.map +1 -0
- package/core/src/lib/data/export.types.js +14 -0
- package/core/src/lib/data/export.types.js.map +1 -0
- package/core/src/lib/data/filter.types.d.ts +42 -0
- package/core/src/lib/data/filter.types.d.ts.map +1 -0
- package/core/src/lib/data/filter.types.js +5 -0
- package/core/src/lib/data/filter.types.js.map +1 -0
- package/core/src/lib/data/index.d.ts +7 -0
- package/core/src/lib/data/index.d.ts.map +1 -0
- package/core/src/lib/data/index.js +12 -0
- package/core/src/lib/data/index.js.map +1 -0
- package/core/src/lib/data/multi-source.types.d.ts +8 -0
- package/core/src/lib/data/multi-source.types.d.ts.map +1 -0
- package/core/src/lib/data/multi-source.types.js +5 -0
- package/core/src/lib/data/multi-source.types.js.map +1 -0
- package/core/src/lib/data/sort.types.d.ts +8 -0
- package/core/src/lib/data/sort.types.d.ts.map +1 -0
- package/core/src/lib/data/sort.types.js +5 -0
- package/core/src/lib/data/sort.types.js.map +1 -0
- package/core/src/lib/domain/address.types.d.ts +38 -0
- package/core/src/lib/domain/address.types.d.ts.map +1 -0
- package/core/src/lib/domain/address.types.js +5 -0
- package/core/src/lib/domain/address.types.js.map +1 -0
- package/core/src/lib/domain/ai-output.types.d.ts +5 -0
- package/core/src/lib/domain/ai-output.types.d.ts.map +1 -0
- package/core/src/lib/domain/ai-output.types.js +5 -0
- package/core/src/lib/domain/ai-output.types.js.map +1 -0
- package/core/src/lib/domain/file-storage.types.d.ts +203 -0
- package/core/src/lib/domain/file-storage.types.d.ts.map +1 -0
- package/core/src/lib/domain/file-storage.types.js +12 -0
- package/core/src/lib/domain/file-storage.types.js.map +1 -0
- package/core/src/lib/domain/index.d.ts +6 -0
- package/core/src/lib/domain/index.d.ts.map +1 -0
- package/core/src/lib/domain/index.js +11 -0
- package/core/src/lib/domain/index.js.map +1 -0
- package/core/src/lib/domain/metadata.types.d.ts +25 -0
- package/core/src/lib/domain/metadata.types.d.ts.map +1 -0
- package/core/src/lib/domain/metadata.types.js +3 -0
- package/core/src/lib/domain/metadata.types.js.map +1 -0
- package/core/src/lib/domain/spreadsheet.types.d.ts +4 -0
- package/core/src/lib/domain/spreadsheet.types.d.ts.map +1 -0
- package/core/src/lib/domain/spreadsheet.types.js +5 -0
- package/core/src/lib/domain/spreadsheet.types.js.map +1 -0
- package/core/src/lib/index.d.ts +14 -0
- package/core/src/lib/index.d.ts.map +1 -0
- package/core/src/lib/index.js +19 -0
- package/core/src/lib/index.js.map +1 -0
- package/core/src/lib/integration/index.d.ts +4 -0
- package/core/src/lib/integration/index.d.ts.map +1 -0
- package/core/src/lib/integration/index.js +9 -0
- package/core/src/lib/integration/index.js.map +1 -0
- package/core/src/lib/integration/integration-connection.safe-types.d.ts +54 -0
- package/core/src/lib/integration/integration-connection.safe-types.d.ts.map +1 -0
- package/core/src/lib/integration/integration-connection.safe-types.js +4 -0
- package/core/src/lib/integration/integration-connection.safe-types.js.map +1 -0
- package/core/src/lib/integration/integration-status.constants.d.ts +49 -0
- package/core/src/lib/integration/integration-status.constants.d.ts.map +1 -0
- package/core/src/lib/integration/integration-status.constants.js +57 -0
- package/core/src/lib/integration/integration-status.constants.js.map +1 -0
- package/core/src/lib/integration/integration.types.d.ts +120 -0
- package/core/src/lib/integration/integration.types.d.ts.map +1 -0
- package/core/src/lib/integration/integration.types.js +33 -0
- package/core/src/lib/integration/integration.types.js.map +1 -0
- package/core/src/lib/interaction/index.d.ts +4 -0
- package/core/src/lib/interaction/index.d.ts.map +1 -0
- package/core/src/lib/interaction/index.js +9 -0
- package/core/src/lib/interaction/index.js.map +1 -0
- package/core/src/lib/interaction/interactive.types.d.ts +65 -0
- package/core/src/lib/interaction/interactive.types.d.ts.map +1 -0
- package/core/src/lib/interaction/interactive.types.js +5 -0
- package/core/src/lib/interaction/interactive.types.js.map +1 -0
- package/core/src/lib/interaction/view-query.types.d.ts +11 -0
- package/core/src/lib/interaction/view-query.types.d.ts.map +1 -0
- package/core/src/lib/interaction/view-query.types.js +5 -0
- package/core/src/lib/interaction/view-query.types.js.map +1 -0
- package/core/src/lib/interaction/view.types.d.ts +34 -0
- package/core/src/lib/interaction/view.types.d.ts.map +1 -0
- package/core/src/lib/interaction/view.types.js +5 -0
- package/core/src/lib/interaction/view.types.js.map +1 -0
- package/core/src/lib/keys/index.d.ts +4 -0
- package/core/src/lib/keys/index.d.ts.map +1 -0
- package/core/src/lib/keys/index.js +9 -0
- package/core/src/lib/keys/index.js.map +1 -0
- package/core/src/lib/keys/platform-core-datasource.keys.d.ts +6 -0
- package/core/src/lib/keys/platform-core-datasource.keys.d.ts.map +1 -0
- package/core/src/lib/keys/platform-core-datasource.keys.js +11 -0
- package/core/src/lib/keys/platform-core-datasource.keys.js.map +1 -0
- package/core/src/lib/keys/preview-widget-field.command.key.d.ts +3 -0
- package/core/src/lib/keys/preview-widget-field.command.key.d.ts.map +1 -0
- package/core/src/lib/keys/preview-widget-field.command.key.js +6 -0
- package/core/src/lib/keys/preview-widget-field.command.key.js.map +1 -0
- package/core/src/lib/keys/regional-settings.keys.d.ts +31 -0
- package/core/src/lib/keys/regional-settings.keys.d.ts.map +1 -0
- package/core/src/lib/keys/regional-settings.keys.js +37 -0
- package/core/src/lib/keys/regional-settings.keys.js.map +1 -0
- package/core/src/lib/mock/index.d.ts +2 -0
- package/core/src/lib/mock/index.d.ts.map +1 -0
- package/core/src/lib/mock/index.js +7 -0
- package/core/src/lib/mock/index.js.map +1 -0
- package/core/src/lib/mock/mock-data.shims.d.ts +39 -0
- package/core/src/lib/mock/mock-data.shims.d.ts.map +1 -0
- package/core/src/lib/mock/mock-data.shims.js +191 -0
- package/core/src/lib/mock/mock-data.shims.js.map +1 -0
- package/core/src/lib/multi-language-string/compare-axp-multi-language-string.d.ts +16 -0
- package/core/src/lib/multi-language-string/compare-axp-multi-language-string.d.ts.map +1 -0
- package/core/src/lib/multi-language-string/compare-axp-multi-language-string.js +39 -0
- package/core/src/lib/multi-language-string/compare-axp-multi-language-string.js.map +1 -0
- package/core/src/lib/multi-language-string/index.d.ts +4 -0
- package/core/src/lib/multi-language-string/index.d.ts.map +1 -0
- package/core/src/lib/multi-language-string/index.js +9 -0
- package/core/src/lib/multi-language-string/index.js.map +1 -0
- package/core/src/lib/multi-language-string/locale-map-value.util.d.ts +10 -0
- package/core/src/lib/multi-language-string/locale-map-value.util.d.ts.map +1 -0
- package/core/src/lib/multi-language-string/locale-map-value.util.js +41 -0
- package/core/src/lib/multi-language-string/locale-map-value.util.js.map +1 -0
- package/core/src/lib/multi-language-string/resolve-multi-language-string.util.d.ts +6 -0
- package/core/src/lib/multi-language-string/resolve-multi-language-string.util.d.ts.map +1 -0
- package/core/src/lib/multi-language-string/resolve-multi-language-string.util.js +33 -0
- package/core/src/lib/multi-language-string/resolve-multi-language-string.util.js.map +1 -0
- package/core/src/lib/property/element.types.d.ts +2 -0
- package/core/src/lib/property/element.types.d.ts.map +1 -0
- package/core/src/lib/property/element.types.js +5 -0
- package/core/src/lib/property/element.types.js.map +1 -0
- package/core/src/lib/property/file.types.d.ts +2 -0
- package/core/src/lib/property/file.types.d.ts.map +1 -0
- package/core/src/lib/property/file.types.js +5 -0
- package/core/src/lib/property/file.types.js.map +1 -0
- package/core/src/lib/property/index.d.ts +5 -0
- package/core/src/lib/property/index.d.ts.map +1 -0
- package/core/src/lib/property/index.js +10 -0
- package/core/src/lib/property/index.js.map +1 -0
- package/core/src/lib/property/property.types.d.ts +24 -0
- package/core/src/lib/property/property.types.d.ts.map +1 -0
- package/core/src/lib/property/property.types.js +5 -0
- package/core/src/lib/property/property.types.js.map +1 -0
- package/core/src/lib/property/validation.types.d.ts +31 -0
- package/core/src/lib/property/validation.types.d.ts.map +1 -0
- package/core/src/lib/property/validation.types.js +5 -0
- package/core/src/lib/property/validation.types.js.map +1 -0
- package/core/src/lib/status/index.d.ts +4 -0
- package/core/src/lib/status/index.d.ts.map +1 -0
- package/core/src/lib/status/index.js +9 -0
- package/core/src/lib/status/index.js.map +1 -0
- package/core/src/lib/status/status-definition.types.d.ts +110 -0
- package/core/src/lib/status/status-definition.types.d.ts.map +1 -0
- package/core/src/lib/status/status-definition.types.js +16 -0
- package/core/src/lib/status/status-definition.types.js.map +1 -0
- package/core/src/lib/status/status.types.d.ts +28 -0
- package/core/src/lib/status/status.types.d.ts.map +1 -0
- package/core/src/lib/status/status.types.js +34 -0
- package/core/src/lib/status/status.types.js.map +1 -0
- package/core/src/lib/status/statuses.types.d.ts +279 -0
- package/core/src/lib/status/statuses.types.d.ts.map +1 -0
- package/core/src/lib/status/statuses.types.js +320 -0
- package/core/src/lib/status/statuses.types.js.map +1 -0
- package/core/src/lib/utils/index.d.ts +4 -0
- package/core/src/lib/utils/index.d.ts.map +1 -0
- package/core/src/lib/utils/index.js +9 -0
- package/core/src/lib/utils/index.js.map +1 -0
- package/core/src/lib/utils/object-util.d.ts +57 -0
- package/core/src/lib/utils/object-util.d.ts.map +1 -0
- package/core/src/lib/utils/object-util.js +679 -0
- package/core/src/lib/utils/object-util.js.map +1 -0
- package/core/src/lib/utils/scalar-coercion.d.ts +17 -0
- package/core/src/lib/utils/scalar-coercion.d.ts.map +1 -0
- package/core/src/lib/utils/scalar-coercion.js +95 -0
- package/core/src/lib/utils/scalar-coercion.js.map +1 -0
- package/core/src/lib/utils/string.util.d.ts +11 -0
- package/core/src/lib/utils/string.util.d.ts.map +1 -0
- package/core/src/lib/utils/string.util.js +37 -0
- package/core/src/lib/utils/string.util.js.map +1 -0
- package/core/src/lib/widgets/index.d.ts +4 -0
- package/core/src/lib/widgets/index.d.ts.map +1 -0
- package/core/src/lib/widgets/index.js +9 -0
- package/core/src/lib/widgets/index.js.map +1 -0
- package/core/src/lib/widgets/widget-node.types.d.ts +16 -0
- package/core/src/lib/widgets/widget-node.types.d.ts.map +1 -0
- package/core/src/lib/widgets/widget-node.types.js +5 -0
- package/core/src/lib/widgets/widget-node.types.js.map +1 -0
- package/core/src/lib/widgets/widgets-catalog.d.ts +100 -0
- package/core/src/lib/widgets/widgets-catalog.d.ts.map +1 -0
- package/core/src/lib/widgets/widgets-catalog.js +105 -0
- package/core/src/lib/widgets/widgets-catalog.js.map +1 -0
- package/core/src/lib/widgets/widgets-list.d.ts +116 -0
- package/core/src/lib/widgets/widgets-list.d.ts.map +1 -0
- package/core/src/lib/widgets/widgets-list.js +154 -0
- package/core/src/lib/widgets/widgets-list.js.map +1 -0
- package/core/src/lib/workflow/activity.types.d.ts +133 -0
- package/core/src/lib/workflow/activity.types.d.ts.map +1 -0
- package/core/src/lib/workflow/activity.types.js +8 -0
- package/core/src/lib/workflow/activity.types.js.map +1 -0
- package/core/src/lib/workflow/index.d.ts +4 -0
- package/core/src/lib/workflow/index.d.ts.map +1 -0
- package/core/src/lib/workflow/index.js +9 -0
- package/core/src/lib/workflow/index.js.map +1 -0
- package/core/src/lib/workflow/workflow-definition.types.d.ts +182 -0
- package/core/src/lib/workflow/workflow-definition.types.d.ts.map +1 -0
- package/core/src/lib/workflow/workflow-definition.types.js +4 -0
- package/core/src/lib/workflow/workflow-definition.types.js.map +1 -0
- package/core/src/lib/workflow/workflow-instance.types.d.ts +375 -0
- package/core/src/lib/workflow/workflow-instance.types.d.ts.map +1 -0
- package/core/src/lib/workflow/workflow-instance.types.js +8 -0
- package/core/src/lib/workflow/workflow-instance.types.js.map +1 -0
- package/domain/src/index.d.ts +2 -0
- package/domain/src/index.d.ts.map +1 -0
- package/domain/src/index.js +5 -0
- package/domain/src/index.js.map +1 -0
- package/domain/src/lib/definitions/aggregate-definition.types.d.ts +18 -0
- package/domain/src/lib/definitions/aggregate-definition.types.d.ts.map +1 -0
- package/domain/src/lib/definitions/aggregate-definition.types.js +4 -0
- package/domain/src/lib/definitions/aggregate-definition.types.js.map +1 -0
- package/domain/src/lib/definitions/base.types.d.ts +36 -0
- package/domain/src/lib/definitions/base.types.d.ts.map +1 -0
- package/domain/src/lib/definitions/base.types.js +17 -0
- package/domain/src/lib/definitions/base.types.js.map +1 -0
- package/domain/src/lib/definitions/command-registry.types.d.ts +34 -0
- package/domain/src/lib/definitions/command-registry.types.d.ts.map +1 -0
- package/domain/src/lib/definitions/command-registry.types.js +4 -0
- package/domain/src/lib/definitions/command-registry.types.js.map +1 -0
- package/domain/src/lib/definitions/entity-definition.types.d.ts +50 -0
- package/domain/src/lib/definitions/entity-definition.types.d.ts.map +1 -0
- package/domain/src/lib/definitions/entity-definition.types.js +10 -0
- package/domain/src/lib/definitions/entity-definition.types.js.map +1 -0
- package/domain/src/lib/definitions/interface-definition.types.d.ts +31 -0
- package/domain/src/lib/definitions/interface-definition.types.d.ts.map +1 -0
- package/domain/src/lib/definitions/interface-definition.types.js +3 -0
- package/domain/src/lib/definitions/interface-definition.types.js.map +1 -0
- package/domain/src/lib/definitions/menu-definition.types.d.ts +57 -0
- package/domain/src/lib/definitions/menu-definition.types.d.ts.map +1 -0
- package/domain/src/lib/definitions/menu-definition.types.js +5 -0
- package/domain/src/lib/definitions/menu-definition.types.js.map +1 -0
- package/domain/src/lib/definitions/module-definition.types.d.ts +7 -0
- package/domain/src/lib/definitions/module-definition.types.d.ts.map +1 -0
- package/domain/src/lib/definitions/module-definition.types.js +3 -0
- package/domain/src/lib/definitions/module-definition.types.js.map +1 -0
- package/domain/src/lib/definitions/permission-definition.types.d.ts +41 -0
- package/domain/src/lib/definitions/permission-definition.types.d.ts.map +1 -0
- package/domain/src/lib/definitions/permission-definition.types.js +5 -0
- package/domain/src/lib/definitions/permission-definition.types.js.map +1 -0
- package/domain/src/lib/definitions/plugin-definition.types.d.ts +23 -0
- package/domain/src/lib/definitions/plugin-definition.types.d.ts.map +1 -0
- package/domain/src/lib/definitions/plugin-definition.types.js +3 -0
- package/domain/src/lib/definitions/plugin-definition.types.js.map +1 -0
- package/domain/src/lib/definitions/property-definition.types.d.ts +33 -0
- package/domain/src/lib/definitions/property-definition.types.d.ts.map +1 -0
- package/domain/src/lib/definitions/property-definition.types.js +3 -0
- package/domain/src/lib/definitions/property-definition.types.js.map +1 -0
- package/domain/src/lib/definitions/query-registry.types.d.ts +32 -0
- package/domain/src/lib/definitions/query-registry.types.d.ts.map +1 -0
- package/domain/src/lib/definitions/query-registry.types.js +4 -0
- package/domain/src/lib/definitions/query-registry.types.js.map +1 -0
- package/domain/src/lib/definitions/relation-definition.types.d.ts +31 -0
- package/domain/src/lib/definitions/relation-definition.types.d.ts.map +1 -0
- package/domain/src/lib/definitions/relation-definition.types.js +16 -0
- package/domain/src/lib/definitions/relation-definition.types.js.map +1 -0
- package/domain/src/lib/definitions/validation-definition.types.d.ts +29 -0
- package/domain/src/lib/definitions/validation-definition.types.d.ts.map +1 -0
- package/domain/src/lib/definitions/validation-definition.types.js +3 -0
- package/domain/src/lib/definitions/validation-definition.types.js.map +1 -0
- package/domain/src/lib/definitions/widget-catalog.types.d.ts +14 -0
- package/domain/src/lib/definitions/widget-catalog.types.d.ts.map +1 -0
- package/domain/src/lib/definitions/widget-catalog.types.js +5 -0
- package/domain/src/lib/definitions/widget-catalog.types.js.map +1 -0
- package/domain/src/lib/index.d.ts +15 -0
- package/domain/src/lib/index.d.ts.map +1 -0
- package/domain/src/lib/index.js +20 -0
- package/domain/src/lib/index.js.map +1 -0
- package/entity/src/index.d.ts +2 -0
- package/entity/src/index.d.ts.map +1 -0
- package/entity/src/index.js +5 -0
- package/entity/src/index.js.map +1 -0
- package/entity/src/lib/constants/entity-datasource.keys.d.ts +5 -0
- package/entity/src/lib/constants/entity-datasource.keys.d.ts.map +1 -0
- package/entity/src/lib/constants/entity-datasource.keys.js +10 -0
- package/entity/src/lib/constants/entity-datasource.keys.js.map +1 -0
- package/entity/src/lib/constants/entity-display.constants.d.ts +7 -0
- package/entity/src/lib/constants/entity-display.constants.d.ts.map +1 -0
- package/entity/src/lib/constants/entity-display.constants.js +12 -0
- package/entity/src/lib/constants/entity-display.constants.js.map +1 -0
- package/entity/src/lib/constants/entity-events.keys.d.ts +5 -0
- package/entity/src/lib/constants/entity-events.keys.d.ts.map +1 -0
- package/entity/src/lib/constants/entity-events.keys.js +10 -0
- package/entity/src/lib/constants/entity-events.keys.js.map +1 -0
- package/entity/src/lib/constants/index.d.ts +4 -0
- package/entity/src/lib/constants/index.d.ts.map +1 -0
- package/entity/src/lib/constants/index.js +9 -0
- package/entity/src/lib/constants/index.js.map +1 -0
- package/entity/src/lib/helpers/entity-action.helpers.d.ts +31 -0
- package/entity/src/lib/helpers/entity-action.helpers.d.ts.map +1 -0
- package/entity/src/lib/helpers/entity-action.helpers.js +270 -0
- package/entity/src/lib/helpers/entity-action.helpers.js.map +1 -0
- package/entity/src/lib/helpers/index.d.ts +2 -0
- package/entity/src/lib/helpers/index.d.ts.map +1 -0
- package/entity/src/lib/helpers/index.js +7 -0
- package/entity/src/lib/helpers/index.js.map +1 -0
- package/entity/src/lib/index.d.ts +5 -0
- package/entity/src/lib/index.d.ts.map +1 -0
- package/entity/src/lib/index.js +10 -0
- package/entity/src/lib/index.js.map +1 -0
- package/entity/src/lib/types/entity-action.types.d.ts +69 -0
- package/entity/src/lib/types/entity-action.types.d.ts.map +1 -0
- package/entity/src/lib/types/entity-action.types.js +18 -0
- package/entity/src/lib/types/entity-action.types.js.map +1 -0
- package/entity/src/lib/types/entity-card-field.types.d.ts +38 -0
- package/entity/src/lib/types/entity-card-field.types.d.ts.map +1 -0
- package/entity/src/lib/types/entity-card-field.types.js +25 -0
- package/entity/src/lib/types/entity-card-field.types.js.map +1 -0
- package/entity/src/lib/types/entity-definition.types.d.ts +182 -0
- package/entity/src/lib/types/entity-definition.types.d.ts.map +1 -0
- package/entity/src/lib/types/entity-definition.types.js +44 -0
- package/entity/src/lib/types/entity-definition.types.js.map +1 -0
- package/entity/src/lib/types/entity-detail-list.types.d.ts +9 -0
- package/entity/src/lib/types/entity-detail-list.types.d.ts.map +1 -0
- package/entity/src/lib/types/entity-detail-list.types.js +5 -0
- package/entity/src/lib/types/entity-detail-list.types.js.map +1 -0
- package/entity/src/lib/types/entity-display-field.types.d.ts +35 -0
- package/entity/src/lib/types/entity-display-field.types.d.ts.map +1 -0
- package/entity/src/lib/types/entity-display-field.types.js +5 -0
- package/entity/src/lib/types/entity-display-field.types.js.map +1 -0
- package/entity/src/lib/types/entity-formats.types.d.ts +12 -0
- package/entity/src/lib/types/entity-formats.types.d.ts.map +1 -0
- package/entity/src/lib/types/entity-formats.types.js +5 -0
- package/entity/src/lib/types/entity-formats.types.js.map +1 -0
- package/entity/src/lib/types/entity-layout-view.types.d.ts +34 -0
- package/entity/src/lib/types/entity-layout-view.types.d.ts.map +1 -0
- package/entity/src/lib/types/entity-layout-view.types.js +5 -0
- package/entity/src/lib/types/entity-layout-view.types.js.map +1 -0
- package/entity/src/lib/types/entity-list-filter.types.d.ts +27 -0
- package/entity/src/lib/types/entity-list-filter.types.d.ts.map +1 -0
- package/entity/src/lib/types/entity-list-filter.types.js +39 -0
- package/entity/src/lib/types/entity-list-filter.types.js.map +1 -0
- package/entity/src/lib/types/entity-master-list.types.d.ts +44 -0
- package/entity/src/lib/types/entity-master-list.types.d.ts.map +1 -0
- package/entity/src/lib/types/entity-master-list.types.js +26 -0
- package/entity/src/lib/types/entity-master-list.types.js.map +1 -0
- package/entity/src/lib/types/entity-model.types.d.ts +52 -0
- package/entity/src/lib/types/entity-model.types.d.ts.map +1 -0
- package/entity/src/lib/types/entity-model.types.js +5 -0
- package/entity/src/lib/types/entity-model.types.js.map +1 -0
- package/entity/src/lib/types/entity-property-list.types.d.ts +21 -0
- package/entity/src/lib/types/entity-property-list.types.d.ts.map +1 -0
- package/entity/src/lib/types/entity-property-list.types.js +5 -0
- package/entity/src/lib/types/entity-property-list.types.js.map +1 -0
- package/entity/src/lib/types/entity-property.types.d.ts +67 -0
- package/entity/src/lib/types/entity-property.types.d.ts.map +1 -0
- package/entity/src/lib/types/entity-property.types.js +5 -0
- package/entity/src/lib/types/entity-property.types.js.map +1 -0
- package/entity/src/lib/types/entity-query-view.types.d.ts +32 -0
- package/entity/src/lib/types/entity-query-view.types.d.ts.map +1 -0
- package/entity/src/lib/types/entity-query-view.types.js +36 -0
- package/entity/src/lib/types/entity-query-view.types.js.map +1 -0
- package/entity/src/lib/types/entity-related-layout.types.d.ts +65 -0
- package/entity/src/lib/types/entity-related-layout.types.d.ts.map +1 -0
- package/entity/src/lib/types/entity-related-layout.types.js +5 -0
- package/entity/src/lib/types/entity-related-layout.types.js.map +1 -0
- package/entity/src/lib/types/entity-storage.types.d.ts +43 -0
- package/entity/src/lib/types/entity-storage.types.d.ts.map +1 -0
- package/entity/src/lib/types/entity-storage.types.js +4 -0
- package/entity/src/lib/types/entity-storage.types.js.map +1 -0
- package/entity/src/lib/types/index.d.ts +17 -0
- package/entity/src/lib/types/index.d.ts.map +1 -0
- package/entity/src/lib/types/index.js +22 -0
- package/entity/src/lib/types/index.js.map +1 -0
- package/entity/src/lib/types/lookup-widget.types.d.ts +79 -0
- package/entity/src/lib/types/lookup-widget.types.d.ts.map +1 -0
- package/entity/src/lib/types/lookup-widget.types.js +4 -0
- package/entity/src/lib/types/lookup-widget.types.js.map +1 -0
- package/entity/src/lib/utils/entity-display-template.util.d.ts +17 -0
- package/entity/src/lib/utils/entity-display-template.util.d.ts.map +1 -0
- package/entity/src/lib/utils/entity-display-template.util.js +57 -0
- package/entity/src/lib/utils/entity-display-template.util.js.map +1 -0
- package/entity/src/lib/utils/entity-list-filter-definitions.util.d.ts +17 -0
- package/entity/src/lib/utils/entity-list-filter-definitions.util.d.ts.map +1 -0
- package/entity/src/lib/utils/entity-list-filter-definitions.util.js +144 -0
- package/entity/src/lib/utils/entity-list-filter-definitions.util.js.map +1 -0
- package/entity/src/lib/utils/entity-list-sortable-fields.util.d.ts +14 -0
- package/entity/src/lib/utils/entity-list-sortable-fields.util.d.ts.map +1 -0
- package/entity/src/lib/utils/entity-list-sortable-fields.util.js +95 -0
- package/entity/src/lib/utils/entity-list-sortable-fields.util.js.map +1 -0
- package/entity/src/lib/utils/entity-merge-detail-list-properties.util.d.ts +16 -0
- package/entity/src/lib/utils/entity-merge-detail-list-properties.util.d.ts.map +1 -0
- package/entity/src/lib/utils/entity-merge-detail-list-properties.util.js +75 -0
- package/entity/src/lib/utils/entity-merge-detail-list-properties.util.js.map +1 -0
- package/entity/src/lib/utils/entity-property-display-path.util.d.ts +36 -0
- package/entity/src/lib/utils/entity-property-display-path.util.d.ts.map +1 -0
- package/entity/src/lib/utils/entity-property-display-path.util.js +97 -0
- package/entity/src/lib/utils/entity-property-display-path.util.js.map +1 -0
- package/entity/src/lib/utils/entity-quick-search-paths.util.d.ts +19 -0
- package/entity/src/lib/utils/entity-quick-search-paths.util.d.ts.map +1 -0
- package/entity/src/lib/utils/entity-quick-search-paths.util.js +149 -0
- package/entity/src/lib/utils/entity-quick-search-paths.util.js.map +1 -0
- package/entity/src/lib/utils/entity-search-title-context.util.d.ts +21 -0
- package/entity/src/lib/utils/entity-search-title-context.util.d.ts.map +1 -0
- package/entity/src/lib/utils/entity-search-title-context.util.js +127 -0
- package/entity/src/lib/utils/entity-search-title-context.util.js.map +1 -0
- package/entity/src/lib/utils/entity-workflow-record.util.d.ts +23 -0
- package/entity/src/lib/utils/entity-workflow-record.util.d.ts.map +1 -0
- package/entity/src/lib/utils/entity-workflow-record.util.js +38 -0
- package/entity/src/lib/utils/entity-workflow-record.util.js.map +1 -0
- package/entity/src/lib/utils/index.d.ts +10 -0
- package/entity/src/lib/utils/index.d.ts.map +1 -0
- package/entity/src/lib/utils/index.js +15 -0
- package/entity/src/lib/utils/index.js.map +1 -0
- package/entity/src/lib/utils/lookup-create-options.util.d.ts +10 -0
- package/entity/src/lib/utils/lookup-create-options.util.d.ts.map +1 -0
- package/entity/src/lib/utils/lookup-create-options.util.js +27 -0
- package/entity/src/lib/utils/lookup-create-options.util.js.map +1 -0
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -0
- package/index.js +4 -0
- package/index.js.map +1 -0
- package/package.json +21 -0
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workflow status.
|
|
3
|
+
*/
|
|
4
|
+
export type AXPWorkflowStatus = 'Running' | 'Finished';
|
|
5
|
+
/**
|
|
6
|
+
* Workflow sub-status.
|
|
7
|
+
*/
|
|
8
|
+
export type AXPWorkflowSubStatus = 'Pending' | 'Executing' | 'Suspended' | 'Finished' | 'Cancelled' | 'Faulted';
|
|
9
|
+
/**
|
|
10
|
+
* Activity status.
|
|
11
|
+
*/
|
|
12
|
+
export type AXPActivityStatus = 'Running' | 'Completed' | 'Canceled' | 'Faulted';
|
|
13
|
+
/**
|
|
14
|
+
* Exception state.
|
|
15
|
+
*/
|
|
16
|
+
export interface AXPExceptionState {
|
|
17
|
+
/**
|
|
18
|
+
* Exception type name.
|
|
19
|
+
*/
|
|
20
|
+
type: string;
|
|
21
|
+
/**
|
|
22
|
+
* Exception message.
|
|
23
|
+
*/
|
|
24
|
+
message: string;
|
|
25
|
+
/**
|
|
26
|
+
* Stack trace (nullable).
|
|
27
|
+
*/
|
|
28
|
+
stackTrace?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* Inner exception (nullable).
|
|
31
|
+
*/
|
|
32
|
+
innerException?: AXPExceptionState | null;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Activity incident.
|
|
36
|
+
*/
|
|
37
|
+
export interface AXPActivityIncident {
|
|
38
|
+
/**
|
|
39
|
+
* Activity ID that caused the incident.
|
|
40
|
+
*/
|
|
41
|
+
activityId: string;
|
|
42
|
+
/**
|
|
43
|
+
* Activity node ID.
|
|
44
|
+
*/
|
|
45
|
+
activityNodeId: string;
|
|
46
|
+
/**
|
|
47
|
+
* Activity type.
|
|
48
|
+
*/
|
|
49
|
+
activityType: string;
|
|
50
|
+
/**
|
|
51
|
+
* Incident message.
|
|
52
|
+
*/
|
|
53
|
+
message: string;
|
|
54
|
+
/**
|
|
55
|
+
* Exception (nullable).
|
|
56
|
+
*/
|
|
57
|
+
exception?: AXPExceptionState | null;
|
|
58
|
+
/**
|
|
59
|
+
* Timestamp (ISO date-time).
|
|
60
|
+
*/
|
|
61
|
+
timestamp: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Workflow fault state.
|
|
65
|
+
*/
|
|
66
|
+
export interface AXPWorkflowFaultState {
|
|
67
|
+
/**
|
|
68
|
+
* Exception (nullable).
|
|
69
|
+
*/
|
|
70
|
+
exception?: AXPExceptionState | null;
|
|
71
|
+
/**
|
|
72
|
+
* Fault message.
|
|
73
|
+
*/
|
|
74
|
+
message: string;
|
|
75
|
+
/**
|
|
76
|
+
* Faulted activity ID (nullable).
|
|
77
|
+
*/
|
|
78
|
+
faultedActivityId?: string | null;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Bookmark.
|
|
82
|
+
*/
|
|
83
|
+
export interface AXPBookmark {
|
|
84
|
+
/**
|
|
85
|
+
* Bookmark ID.
|
|
86
|
+
*/
|
|
87
|
+
id: string;
|
|
88
|
+
/**
|
|
89
|
+
* Bookmark name.
|
|
90
|
+
*/
|
|
91
|
+
name: string;
|
|
92
|
+
/**
|
|
93
|
+
* Bookmark hash.
|
|
94
|
+
*/
|
|
95
|
+
hash: string;
|
|
96
|
+
/**
|
|
97
|
+
* Bookmark payload (nullable).
|
|
98
|
+
*/
|
|
99
|
+
payload?: any | null;
|
|
100
|
+
/**
|
|
101
|
+
* Activity node ID.
|
|
102
|
+
*/
|
|
103
|
+
activityNodeId: string;
|
|
104
|
+
/**
|
|
105
|
+
* Activity instance ID.
|
|
106
|
+
*/
|
|
107
|
+
activityInstanceId: string;
|
|
108
|
+
/**
|
|
109
|
+
* Auto burn flag.
|
|
110
|
+
*/
|
|
111
|
+
autoBurn?: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Callback method name (nullable).
|
|
114
|
+
*/
|
|
115
|
+
callbackMethodName?: string | null;
|
|
116
|
+
/**
|
|
117
|
+
* Metadata (nullable).
|
|
118
|
+
*/
|
|
119
|
+
metadata?: Record<string, string> | null;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Completion callback state.
|
|
123
|
+
*/
|
|
124
|
+
export interface AXPCompletionCallbackState {
|
|
125
|
+
/**
|
|
126
|
+
* Owner activity instance ID.
|
|
127
|
+
*/
|
|
128
|
+
ownerInstanceId: string;
|
|
129
|
+
/**
|
|
130
|
+
* Child activity node ID.
|
|
131
|
+
*/
|
|
132
|
+
childNodeId: string;
|
|
133
|
+
/**
|
|
134
|
+
* Method name (nullable).
|
|
135
|
+
*/
|
|
136
|
+
methodName?: string | null;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Variable (for activity context).
|
|
140
|
+
*/
|
|
141
|
+
export interface AXPActivityVariable {
|
|
142
|
+
/**
|
|
143
|
+
* Variable ID.
|
|
144
|
+
*/
|
|
145
|
+
id: string;
|
|
146
|
+
/**
|
|
147
|
+
* Variable name.
|
|
148
|
+
*/
|
|
149
|
+
name: string;
|
|
150
|
+
/**
|
|
151
|
+
* Type name.
|
|
152
|
+
*/
|
|
153
|
+
typeName: string;
|
|
154
|
+
/**
|
|
155
|
+
* Is array flag.
|
|
156
|
+
*/
|
|
157
|
+
isArray?: boolean;
|
|
158
|
+
/**
|
|
159
|
+
* Variable value (nullable).
|
|
160
|
+
*/
|
|
161
|
+
value?: any | null;
|
|
162
|
+
/**
|
|
163
|
+
* Storage driver type name (nullable).
|
|
164
|
+
*/
|
|
165
|
+
storageDriverTypeName?: string | null;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Activity execution context state.
|
|
169
|
+
*/
|
|
170
|
+
export interface AXPActivityExecutionContextState {
|
|
171
|
+
/**
|
|
172
|
+
* Context ID (activity instance ID).
|
|
173
|
+
*/
|
|
174
|
+
id: string;
|
|
175
|
+
/**
|
|
176
|
+
* Parent context ID (nullable).
|
|
177
|
+
*/
|
|
178
|
+
parentContextId?: string | null;
|
|
179
|
+
/**
|
|
180
|
+
* Scheduled activity node ID.
|
|
181
|
+
*/
|
|
182
|
+
scheduledActivityNodeId: string;
|
|
183
|
+
/**
|
|
184
|
+
* Owner activity node ID (nullable).
|
|
185
|
+
*/
|
|
186
|
+
ownerActivityNodeId?: string | null;
|
|
187
|
+
/**
|
|
188
|
+
* Properties bag.
|
|
189
|
+
*/
|
|
190
|
+
properties: Record<string, any>;
|
|
191
|
+
/**
|
|
192
|
+
* Activity state (evaluated properties) (nullable).
|
|
193
|
+
*/
|
|
194
|
+
activityState?: Record<string, any> | null;
|
|
195
|
+
/**
|
|
196
|
+
* Dynamic variables.
|
|
197
|
+
*/
|
|
198
|
+
dynamicVariables: AXPActivityVariable[];
|
|
199
|
+
/**
|
|
200
|
+
* Activity status.
|
|
201
|
+
*/
|
|
202
|
+
status: AXPActivityStatus;
|
|
203
|
+
/**
|
|
204
|
+
* Is executing flag.
|
|
205
|
+
*/
|
|
206
|
+
isExecuting: boolean;
|
|
207
|
+
/**
|
|
208
|
+
* Fault count.
|
|
209
|
+
*/
|
|
210
|
+
faultCount: number;
|
|
211
|
+
/**
|
|
212
|
+
* Started at timestamp (ISO date-time).
|
|
213
|
+
*/
|
|
214
|
+
startedAt: string;
|
|
215
|
+
/**
|
|
216
|
+
* Completed at timestamp (ISO date-time, nullable).
|
|
217
|
+
*/
|
|
218
|
+
completedAt?: string | null;
|
|
219
|
+
/**
|
|
220
|
+
* Tag (nullable).
|
|
221
|
+
*/
|
|
222
|
+
tag?: any | null;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Workflow state (internal execution state).
|
|
226
|
+
*/
|
|
227
|
+
export interface AXPWorkflowState {
|
|
228
|
+
/**
|
|
229
|
+
* State ID.
|
|
230
|
+
*/
|
|
231
|
+
id: string;
|
|
232
|
+
/**
|
|
233
|
+
* Workflow definition ID.
|
|
234
|
+
*/
|
|
235
|
+
definitionId: string;
|
|
236
|
+
/**
|
|
237
|
+
* Workflow definition version.
|
|
238
|
+
*/
|
|
239
|
+
definitionVersion: number;
|
|
240
|
+
/**
|
|
241
|
+
* Correlation ID (nullable).
|
|
242
|
+
*/
|
|
243
|
+
correlationId?: string | null;
|
|
244
|
+
/**
|
|
245
|
+
* Workflow status.
|
|
246
|
+
*/
|
|
247
|
+
status: AXPWorkflowStatus;
|
|
248
|
+
/**
|
|
249
|
+
* Workflow sub-status.
|
|
250
|
+
*/
|
|
251
|
+
subStatus: AXPWorkflowSubStatus;
|
|
252
|
+
/**
|
|
253
|
+
* Bookmarks.
|
|
254
|
+
*/
|
|
255
|
+
bookmarks: AXPBookmark[];
|
|
256
|
+
/**
|
|
257
|
+
* Incidents.
|
|
258
|
+
*/
|
|
259
|
+
incidents: AXPActivityIncident[];
|
|
260
|
+
/**
|
|
261
|
+
* Fault (nullable).
|
|
262
|
+
*/
|
|
263
|
+
fault?: AXPWorkflowFaultState | null;
|
|
264
|
+
/**
|
|
265
|
+
* Completion callbacks.
|
|
266
|
+
*/
|
|
267
|
+
completionCallbacks: AXPCompletionCallbackState[];
|
|
268
|
+
/**
|
|
269
|
+
* Activity execution contexts.
|
|
270
|
+
*/
|
|
271
|
+
activityExecutionContexts: AXPActivityExecutionContextState[];
|
|
272
|
+
/**
|
|
273
|
+
* Input data.
|
|
274
|
+
*/
|
|
275
|
+
input: Record<string, any>;
|
|
276
|
+
/**
|
|
277
|
+
* Output data.
|
|
278
|
+
*/
|
|
279
|
+
output: Record<string, any>;
|
|
280
|
+
/**
|
|
281
|
+
* Properties bag.
|
|
282
|
+
*/
|
|
283
|
+
properties: Record<string, any>;
|
|
284
|
+
/**
|
|
285
|
+
* Created at timestamp (ISO date-time).
|
|
286
|
+
*/
|
|
287
|
+
createdAt: string;
|
|
288
|
+
/**
|
|
289
|
+
* Updated at timestamp (ISO date-time).
|
|
290
|
+
*/
|
|
291
|
+
updatedAt: string;
|
|
292
|
+
/**
|
|
293
|
+
* Finished at timestamp (ISO date-time, nullable).
|
|
294
|
+
*/
|
|
295
|
+
finishedAt?: string | null;
|
|
296
|
+
/**
|
|
297
|
+
* Total number of activities/steps in the workflow (for progress display).
|
|
298
|
+
*/
|
|
299
|
+
totalSteps?: number;
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* Workflow instance (stored in database).
|
|
303
|
+
* This matches the Elsa Workflow Instance schema for backend compatibility.
|
|
304
|
+
*/
|
|
305
|
+
export interface AXPWorkflowInstance {
|
|
306
|
+
/**
|
|
307
|
+
* Schema reference.
|
|
308
|
+
*/
|
|
309
|
+
$schema?: string;
|
|
310
|
+
/**
|
|
311
|
+
* Unique instance ID.
|
|
312
|
+
*/
|
|
313
|
+
id: string;
|
|
314
|
+
/**
|
|
315
|
+
* Workflow definition ID.
|
|
316
|
+
*/
|
|
317
|
+
definitionId: string;
|
|
318
|
+
/**
|
|
319
|
+
* Workflow definition version ID.
|
|
320
|
+
*/
|
|
321
|
+
definitionVersionId: string;
|
|
322
|
+
/**
|
|
323
|
+
* Workflow definition version number.
|
|
324
|
+
*/
|
|
325
|
+
version: number;
|
|
326
|
+
/**
|
|
327
|
+
* Parent workflow instance ID (nullable, for child workflows).
|
|
328
|
+
*/
|
|
329
|
+
parentWorkflowInstanceId?: string | null;
|
|
330
|
+
/**
|
|
331
|
+
* Workflow state (internal execution state).
|
|
332
|
+
*/
|
|
333
|
+
workflowState: AXPWorkflowState;
|
|
334
|
+
/**
|
|
335
|
+
* Workflow status.
|
|
336
|
+
*/
|
|
337
|
+
status: AXPWorkflowStatus;
|
|
338
|
+
/**
|
|
339
|
+
* Workflow sub-status.
|
|
340
|
+
*/
|
|
341
|
+
subStatus: AXPWorkflowSubStatus;
|
|
342
|
+
/**
|
|
343
|
+
* Correlation ID (nullable).
|
|
344
|
+
*/
|
|
345
|
+
correlationId?: string | null;
|
|
346
|
+
/**
|
|
347
|
+
* Instance name (nullable).
|
|
348
|
+
*/
|
|
349
|
+
name?: string | null;
|
|
350
|
+
/**
|
|
351
|
+
* Incident count.
|
|
352
|
+
*/
|
|
353
|
+
incidentCount: number;
|
|
354
|
+
/**
|
|
355
|
+
* Created at timestamp (ISO date-time).
|
|
356
|
+
*/
|
|
357
|
+
createdAt: string;
|
|
358
|
+
/**
|
|
359
|
+
* Updated at timestamp (ISO date-time).
|
|
360
|
+
*/
|
|
361
|
+
updatedAt: string;
|
|
362
|
+
/**
|
|
363
|
+
* Finished at timestamp (ISO date-time, nullable).
|
|
364
|
+
*/
|
|
365
|
+
finishedAt?: string | null;
|
|
366
|
+
/**
|
|
367
|
+
* Entity reference ID (for linking workflow instances to business entities).
|
|
368
|
+
*/
|
|
369
|
+
entityRefId?: string | null;
|
|
370
|
+
/**
|
|
371
|
+
* Entity reference type (e.g., 'HumanCapitalManagement.LeaveRequest').
|
|
372
|
+
*/
|
|
373
|
+
entityRefType?: string | null;
|
|
374
|
+
}
|
|
375
|
+
//# sourceMappingURL=workflow-instance.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-instance.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/core/src/lib/workflow/workflow-instance.types.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,UAAU,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,WAAW,GAAG,WAAW,GAAG,UAAU,GAAG,WAAW,GAAG,SAAS,CAAC;AAEhH;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,SAAS,CAAC;AAEjF;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IA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AmB,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzC;;OAEG;IACH,aAAa,EAAE,gBAAgB,CAAC;IAEhC;;OAEG;IACH,MAAM,EAAE,iBAAiB,CAAC;IAE1B;;OAEG;IACH,SAAS,EAAE,oBAAoB,CAAC;IAEhC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ============================================
|
|
3
|
+
// WORKFLOW INSTANCE v3.0.0 TYPES
|
|
4
|
+
// Based on Elsa Workflow Instance schema: https://elsaworkflows.io/schemas/workflow-instance/v3.0.0/schema.json
|
|
5
|
+
// Compatible with Elsa backend while using ACoreX naming conventions
|
|
6
|
+
// ============================================
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
//# sourceMappingURL=workflow-instance.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-instance.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/core/src/lib/workflow/workflow-instance.types.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,iCAAiC;AACjC,gHAAgH;AAChH,qEAAqE;AACrE,+CAA+C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../libs/framework/shared/domain/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/framework/shared/domain/src/index.ts"],"names":[],"mappings":";;;AAAA,gDAAsB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AXPValidationRules } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { AXPEntityDefinition } from "./entity-definition.types";
|
|
3
|
+
import { AXPDomainAction } from "./base.types";
|
|
4
|
+
export type AXPAggregateEntityList = {
|
|
5
|
+
[key: string]: () => Promise<AXPEntityDefinition>;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Aggregate definition. Relations are stored in a separate collection (like MySQL join table).
|
|
9
|
+
* Join when needed via relations collection.
|
|
10
|
+
*/
|
|
11
|
+
export interface AXPAggregateDefinition {
|
|
12
|
+
name: string;
|
|
13
|
+
title: string;
|
|
14
|
+
entities: AXPEntityDefinition[] | AXPAggregateEntityList | Record<string, string>;
|
|
15
|
+
validations: AXPValidationRules;
|
|
16
|
+
actions: AXPDomainAction[];
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=aggregate-definition.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aggregate-definition.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/domain/src/lib/definitions/aggregate-definition.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAE5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAI/C,MAAM,MAAM,sBAAsB,GAAG;IACjC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,OAAO,CAAC,mBAAmB,CAAC,CAAC;CACrD,CAAA;AAMD;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,mBAAmB,EAAE,GAAG,sBAAsB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClF,WAAW,EAAE,kBAAkB,CAAC;IAChC,OAAO,EAAE,eAAe,EAAE,CAAC;CAC9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aggregate-definition.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/domain/src/lib/definitions/aggregate-definition.types.ts"],"names":[],"mappings":";;AA2BA,YAAY"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { AXPExpression } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
export declare enum AXPDomainActionSide {
|
|
3
|
+
Client = "client",
|
|
4
|
+
Server = "server",
|
|
5
|
+
Both = "both"
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Interface for defining actions
|
|
9
|
+
*/
|
|
10
|
+
export interface AXPDomainAction {
|
|
11
|
+
event: string;
|
|
12
|
+
side: 'client' | 'server' | 'both';
|
|
13
|
+
condition?: AXPExpression;
|
|
14
|
+
expression: AXPExpression;
|
|
15
|
+
}
|
|
16
|
+
export declare enum AXPEntityCommandScope {
|
|
17
|
+
TypeLevel = "typeLevel",
|
|
18
|
+
Selected = "selected",
|
|
19
|
+
Individual = "individual",
|
|
20
|
+
Section = "section"
|
|
21
|
+
}
|
|
22
|
+
export interface AXPDomainRealtedModuleEntity {
|
|
23
|
+
moduleId?: string;
|
|
24
|
+
module?: {
|
|
25
|
+
id?: string;
|
|
26
|
+
name?: string;
|
|
27
|
+
title?: string;
|
|
28
|
+
};
|
|
29
|
+
entityId?: string;
|
|
30
|
+
entity?: {
|
|
31
|
+
id?: string;
|
|
32
|
+
name?: string;
|
|
33
|
+
title?: string;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=base.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/domain/src/lib/definitions/base.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAEvE,oBAAY,mBAAmB;IAC3B,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC;IACnC,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,UAAU,EAAE,aAAa,CAAC;CAC7B;AAED,oBAAY,qBAAqB;IAC7B,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,OAAO,YAAY;CACtB;AAED,MAAM,WAAW,4BAA4B;IACzC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE;QACL,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE;QACL,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;CACL"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AXPEntityCommandScope = exports.AXPDomainActionSide = void 0;
|
|
4
|
+
var AXPDomainActionSide;
|
|
5
|
+
(function (AXPDomainActionSide) {
|
|
6
|
+
AXPDomainActionSide["Client"] = "client";
|
|
7
|
+
AXPDomainActionSide["Server"] = "server";
|
|
8
|
+
AXPDomainActionSide["Both"] = "both";
|
|
9
|
+
})(AXPDomainActionSide || (exports.AXPDomainActionSide = AXPDomainActionSide = {}));
|
|
10
|
+
var AXPEntityCommandScope;
|
|
11
|
+
(function (AXPEntityCommandScope) {
|
|
12
|
+
AXPEntityCommandScope["TypeLevel"] = "typeLevel";
|
|
13
|
+
AXPEntityCommandScope["Selected"] = "selected";
|
|
14
|
+
AXPEntityCommandScope["Individual"] = "individual";
|
|
15
|
+
AXPEntityCommandScope["Section"] = "section";
|
|
16
|
+
})(AXPEntityCommandScope || (exports.AXPEntityCommandScope = AXPEntityCommandScope = {}));
|
|
17
|
+
//# sourceMappingURL=base.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/domain/src/lib/definitions/base.types.ts"],"names":[],"mappings":";;;AAEA,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC3B,wCAAiB,CAAA;IACjB,wCAAiB,CAAA;IACjB,oCAAa,CAAA;AACjB,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B;AAYD,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAC7B,gDAAuB,CAAA;IACvB,8CAAqB,CAAA;IACrB,kDAAyB,CAAA;IACzB,4CAAmB,CAAA;AACvB,CAAC,EALW,qBAAqB,qCAArB,qBAAqB,QAKhC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { AXPDefinitionCategory } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import type { AXPPropertyDefinition } from './property-definition.types';
|
|
3
|
+
/** Surfaces where a command may be exposed (tooling / automation). Build-time: optional on `defineCommand`. */
|
|
4
|
+
export type AXPCommandCapability = 'ai' | 'workflow';
|
|
5
|
+
/**
|
|
6
|
+
* Persisted command registry row (e.g. Dexie/Firestore via AXPEntityDefinitionCrudService).
|
|
7
|
+
* `name` is the runtime command key; `active` is the toggle stored for mock/admin UIs.
|
|
8
|
+
*/
|
|
9
|
+
export interface AXPCommandRegistryRecord {
|
|
10
|
+
name: string;
|
|
11
|
+
active: boolean;
|
|
12
|
+
/** Human / AI-oriented description of what the command does. */
|
|
13
|
+
description?: string;
|
|
14
|
+
/** Input parameters as schema rows (same shape as interface `optionDefinitions`). */
|
|
15
|
+
inputOptionDefinitions?: AXPPropertyDefinition[];
|
|
16
|
+
/** Output shape as schema rows (same shape as interface `optionDefinitions`). */
|
|
17
|
+
outputOptionDefinitions?: AXPPropertyDefinition[];
|
|
18
|
+
/** Display title from build-time command metadata (`*.definition.ts`). */
|
|
19
|
+
catalogTitle?: string;
|
|
20
|
+
/** Where the command runs (metadata). */
|
|
21
|
+
executionMode?: 'frontend' | 'backend' | 'both';
|
|
22
|
+
/** Pretty-printed JSON of the outcomes definition from metadata (readonly display). */
|
|
23
|
+
outcomesDefinitionJson?: string;
|
|
24
|
+
/** Pretty-printed JSON of AI hints from metadata (readonly display). */
|
|
25
|
+
aiMetadataJson?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Optional capability flags (from build-time `capabilities` on command metadata).
|
|
28
|
+
* Omitted or empty means no declared surface; consumers may still apply legacy rules (e.g. AI `ai-tool` tag).
|
|
29
|
+
*/
|
|
30
|
+
capabilities?: AXPCommandCapability[];
|
|
31
|
+
/** Optional grouping from build-time command metadata (`categories` on `defineCommand`). */
|
|
32
|
+
categories?: AXPDefinitionCategory[];
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=command-registry.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-registry.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/domain/src/lib/definitions/command-registry.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAEpF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAIzE,+GAA+G;AAC/G,MAAM,MAAM,oBAAoB,GAAG,IAAI,GAAG,UAAU,CAAC;AAErD;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,OAAO,CAAC;IAChB,gEAAgE;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qFAAqF;IACrF,sBAAsB,CAAC,EAAE,qBAAqB,EAAE,CAAC;IACjD,iFAAiF;IACjF,uBAAuB,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAClD,0EAA0E;IAC1E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yCAAyC;IACzC,aAAa,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,MAAM,CAAC;IAChD,uFAAuF;IACvF,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,wEAAwE;IACxE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,YAAY,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACtC,4FAA4F;IAC5F,UAAU,CAAC,EAAE,qBAAqB,EAAE,CAAC;CACtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-registry.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/domain/src/lib/definitions/command-registry.types.ts"],"names":[],"mappings":";;AAuCA,YAAY"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { AXPDomainAction } from "./base.types";
|
|
2
|
+
import type { AXPPluginDefinitionValue } from "./plugin-definition.types";
|
|
3
|
+
import type { AXPPropertyDefinition } from "./property-definition.types";
|
|
4
|
+
export declare enum AXPEntityType {
|
|
5
|
+
Entity = 0,
|
|
6
|
+
AggregateRoot = 1,
|
|
7
|
+
ValueObject = 2
|
|
8
|
+
}
|
|
9
|
+
export interface AXPEntityDefinition {
|
|
10
|
+
name: string;
|
|
11
|
+
title: string;
|
|
12
|
+
fields: AXPEntityPropertyDefinition[];
|
|
13
|
+
type: AXPEntityType;
|
|
14
|
+
/** Entity plugins (e.g. common.history, common.lock). Name + optional options only. */
|
|
15
|
+
plugins?: AXPPluginDefinitionValue[];
|
|
16
|
+
/** Property groups for layout */
|
|
17
|
+
groups?: Array<{
|
|
18
|
+
id: string;
|
|
19
|
+
title: string;
|
|
20
|
+
}>;
|
|
21
|
+
/** List/table columns */
|
|
22
|
+
columns?: Array<{
|
|
23
|
+
name: string;
|
|
24
|
+
}>;
|
|
25
|
+
/** Display formats */
|
|
26
|
+
formats?: {
|
|
27
|
+
individual?: string;
|
|
28
|
+
plural?: string;
|
|
29
|
+
};
|
|
30
|
+
/** Layout interfaces (master create/update/single/list). Pass-through for converter. */
|
|
31
|
+
interfaces?: Record<string, unknown>;
|
|
32
|
+
/** Module name (e.g. ContentManagement). Derived from path or explicit. */
|
|
33
|
+
module?: string;
|
|
34
|
+
/** Entity icon. */
|
|
35
|
+
icon?: string;
|
|
36
|
+
}
|
|
37
|
+
export interface AXPEntityPropertyFeatures {
|
|
38
|
+
nullable: boolean;
|
|
39
|
+
readOnly: boolean;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Entity field: flattened embedded property definition (interface, validations, features) plus entity-only metadata.
|
|
43
|
+
* Top-level name/title are the entity property name/title.
|
|
44
|
+
*/
|
|
45
|
+
export interface AXPEntityPropertyDefinition extends AXPPropertyDefinition {
|
|
46
|
+
actions?: AXPDomainAction[];
|
|
47
|
+
/** Nullable/readOnly for entity binding; distinct from property.features (searchable, filterable, etc.). */
|
|
48
|
+
fieldFeatures?: AXPEntityPropertyFeatures;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=entity-definition.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-definition.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/domain/src/lib/definit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AC5G,aAAa,CAAC,EAAE,yBAAyB,CAAC;CAC7C"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AXPEntityType = void 0;
|
|
4
|
+
var AXPEntityType;
|
|
5
|
+
(function (AXPEntityType) {
|
|
6
|
+
AXPEntityType[AXPEntityType["Entity"] = 0] = "Entity";
|
|
7
|
+
AXPEntityType[AXPEntityType["AggregateRoot"] = 1] = "AggregateRoot";
|
|
8
|
+
AXPEntityType[AXPEntityType["ValueObject"] = 2] = "ValueObject";
|
|
9
|
+
})(AXPEntityType || (exports.AXPEntityType = AXPEntityType = {}));
|
|
10
|
+
//# sourceMappingURL=entity-definition.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-definition.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/domain/src/lib/definitions/entity-definition.types.ts"],"names":[],"mappings":";;;AAKA,IAAY,aAIX;AAJD,WAAY,aAAa;IACrB,qDAAM,CAAA;IACN,mEAAa,CAAA;IACb,+DAAW,CAAA;AACf,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { AXPDataType, AXPOptionsData } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { AXPPropertyDefinition } from "./property-definition.types";
|
|
3
|
+
/** Widget category for interface grouping (e.g. Editors, Layout, Action). */
|
|
4
|
+
export interface AXPInterfaceCategory {
|
|
5
|
+
name: string;
|
|
6
|
+
title: string;
|
|
7
|
+
order?: number;
|
|
8
|
+
}
|
|
9
|
+
/** Widget interface definition stored in DB (display metadata + option definitions). Values are stored in schema. */
|
|
10
|
+
export interface AXPInterfaceDefinition {
|
|
11
|
+
name: string;
|
|
12
|
+
title?: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
icon?: string;
|
|
15
|
+
dataType?: AXPDataType;
|
|
16
|
+
/** Widget categories (e.g. Editors, Layout). */
|
|
17
|
+
categories?: AXPInterfaceCategory | AXPInterfaceCategory[];
|
|
18
|
+
/** Widget groups (e.g. form-element, entity-widget). */
|
|
19
|
+
groups?: string[];
|
|
20
|
+
/** Widget type: editor, view, filter, container, action, etc. */
|
|
21
|
+
type?: string;
|
|
22
|
+
/** Default filter widget name when used as filter (e.g. string-filter, number-filter). */
|
|
23
|
+
defaultFilterWidgetName?: string;
|
|
24
|
+
optionDefinitions?: AXPPropertyDefinition[];
|
|
25
|
+
}
|
|
26
|
+
export interface AXPInterfaceDefinitionValue {
|
|
27
|
+
name: string;
|
|
28
|
+
title: string;
|
|
29
|
+
options?: AXPOptionsData;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=interface-definition.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interface-definition.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/domain/src/lib/definitions/interface-definition.types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAe,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAClG,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,6EAA6E;AAC7E,MAAM,WAAW,oBAAoB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,qHAAqH;AACrH,MAAM,WAAW,sBAAsB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,gDAAgD;IAChD,UAAU,CAAC,EAAE,oBAAoB,GAAG,oBAAoB,EAAE,CAAC;IAC3D,wDAAwD;IACxD,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,iEAAiE;IACjE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,0FAA0F;IAC1F,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,iBAAiB,CAAC,EAAE,qBAAqB,EAAE,CAAC;CAC/C;AAED,MAAM,WAAW,2BAA2B;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,cAAc,CAAC;CAC5B"}
|