@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 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../libs/framework/shared/core/src/lib/index.ts"],"names":[],"mappings":"AAEA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,yBAAyB,CAAC;AACxC,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region ---- Contracts barrel ----
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
tslib_1.__exportStar(require("./core"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./utils"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./multi-language-string"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./data"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./property"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./interaction"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./widgets"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./workflow"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./status"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./domain"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./keys"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./mock"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./integration"), exports);
|
|
18
|
+
//#endregion
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/framework/shared/core/src/lib/index.ts"],"names":[],"mappings":";AAAA,oCAAoC;;;AAEpC,iDAAuB;AACvB,kDAAwB;AACxB,kEAAwC;AACxC,iDAAuB;AACvB,qDAA2B;AAC3B,wDAA8B;AAC9B,oDAA0B;AAC1B,qDAA2B;AAC3B,mDAAyB;AACzB,mDAAyB;AACzB,iDAAuB;AACvB,iDAAuB;AACvB,wDAA8B;AAE9B,YAAY"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/core/src/lib/integration/index.ts"],"names":[],"mappings":"AAEA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qCAAqC,CAAC;AACpD,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region ---- Integration contracts barrel ----
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
tslib_1.__exportStar(require("./integration-status.constants"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./integration-connection.safe-types"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./integration.types"), exports);
|
|
8
|
+
//#endregion
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/core/src/lib/integration/index.ts"],"names":[],"mappings":";AAAA,gDAAgD;;;AAEhD,yEAA+C;AAC/C,8EAAoD;AACpD,8DAAoC;AAEpC,YAAY"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { AXPIntegrationAuthMethodType, AXPIntegrationConnectionScope, AXPIntegrationConnectionStatus } from './integration-status.constants';
|
|
2
|
+
/**
|
|
3
|
+
* Connection details safe for queries and UI responses.
|
|
4
|
+
* Never includes access tokens, passwords, or refresh tokens.
|
|
5
|
+
*/
|
|
6
|
+
export interface AXPSafeIntegrationConnectionDto {
|
|
7
|
+
id: string;
|
|
8
|
+
providerId: string;
|
|
9
|
+
connectionScope: AXPIntegrationConnectionScope;
|
|
10
|
+
connectionKey: string;
|
|
11
|
+
displayName: string;
|
|
12
|
+
authMethodType: AXPIntegrationAuthMethodType;
|
|
13
|
+
status: AXPIntegrationConnectionStatus;
|
|
14
|
+
instanceUrl?: string | null;
|
|
15
|
+
externalAccountId?: string | null;
|
|
16
|
+
externalAccountName?: string | null;
|
|
17
|
+
grantedScopes?: string[] | null;
|
|
18
|
+
expiresAt?: string | null;
|
|
19
|
+
lastConnectedAt?: string | null;
|
|
20
|
+
lastValidatedAt?: string | null;
|
|
21
|
+
lastSyncAt?: string | null;
|
|
22
|
+
lastErrorCode?: string | null;
|
|
23
|
+
lastErrorMessage?: string | null;
|
|
24
|
+
isRevoked: boolean;
|
|
25
|
+
isDisabled: boolean;
|
|
26
|
+
config?: Record<string, unknown> | null;
|
|
27
|
+
hasSecret: boolean;
|
|
28
|
+
secretPreview?: string | null;
|
|
29
|
+
}
|
|
30
|
+
export interface AXPIntegrationProviderListItemDto {
|
|
31
|
+
id: string;
|
|
32
|
+
module: string;
|
|
33
|
+
displayName: string;
|
|
34
|
+
description?: string;
|
|
35
|
+
icon?: string;
|
|
36
|
+
category: string;
|
|
37
|
+
capabilities: string[];
|
|
38
|
+
connectionScopes: AXPIntegrationConnectionScope[];
|
|
39
|
+
allowMultipleConnections: boolean;
|
|
40
|
+
authMethodTypes: AXPIntegrationAuthMethodType[];
|
|
41
|
+
isConnected: boolean;
|
|
42
|
+
connectionCount: number;
|
|
43
|
+
}
|
|
44
|
+
export interface AXPIntegrationValidationResult {
|
|
45
|
+
valid: boolean;
|
|
46
|
+
status?: AXPIntegrationConnectionStatus;
|
|
47
|
+
externalAccountId?: string;
|
|
48
|
+
externalAccountName?: string;
|
|
49
|
+
grantedScopes?: string[];
|
|
50
|
+
expiresAt?: string;
|
|
51
|
+
errorCode?: string;
|
|
52
|
+
errorMessage?: string;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=integration-connection.safe-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integration-connection.safe-types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/core/src/lib/integration/integration-connection.safe-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,4BAA4B,EAC5B,6BAA6B,EAC7B,8BAA8B,EAC/B,MAAM,gCAAgC,CAAC;AAIxC;;;GAGG;AACH,MAAM,WAAW,+BAA+B;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,6BAA6B,CAAC;IAC/C,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,4BAA4B,CAAC;IAC7C,MAAM,EAAE,8BAA8B,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,aAAa,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACxC,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAMD,MAAM,WAAW,iCAAiC;IAChD,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,gBAAgB,EAAE,6BAA6B,EAAE,CAAC;IAClD,wBAAwB,EAAE,OAAO,CAAC;IAClC,eAAe,EAAE,4BAA4B,EAAE,CAAC;IAChD,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;CACzB;AAMD,MAAM,WAAW,8BAA8B;IAC7C,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,8BAA8B,CAAC;IACxC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integration-connection.safe-types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/core/src/lib/integration/integration-connection.safe-types.ts"],"names":[],"mappings":";;AAuEA,YAAY"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export declare const AXP_INTEGRATION_CONNECTION_STATUS: {
|
|
2
|
+
readonly NotConnected: "NotConnected";
|
|
3
|
+
readonly PendingAuthorization: "PendingAuthorization";
|
|
4
|
+
readonly Connected: "Connected";
|
|
5
|
+
readonly Expired: "Expired";
|
|
6
|
+
readonly RefreshRequired: "RefreshRequired";
|
|
7
|
+
readonly Invalid: "Invalid";
|
|
8
|
+
readonly Revoked: "Revoked";
|
|
9
|
+
readonly Disabled: "Disabled";
|
|
10
|
+
readonly Error: "Error";
|
|
11
|
+
};
|
|
12
|
+
export type AXPIntegrationConnectionStatus = (typeof AXP_INTEGRATION_CONNECTION_STATUS)[keyof typeof AXP_INTEGRATION_CONNECTION_STATUS];
|
|
13
|
+
export declare const AXP_INTEGRATION_CONNECTION_SCOPE: {
|
|
14
|
+
readonly User: "user";
|
|
15
|
+
readonly Tenant: "tenant";
|
|
16
|
+
};
|
|
17
|
+
export type AXPIntegrationConnectionScope = (typeof AXP_INTEGRATION_CONNECTION_SCOPE)[keyof typeof AXP_INTEGRATION_CONNECTION_SCOPE];
|
|
18
|
+
export declare const AXP_INTEGRATION_AUTH_METHOD_TYPE: {
|
|
19
|
+
readonly OAuth2: "oauth2";
|
|
20
|
+
readonly Pat: "pat";
|
|
21
|
+
readonly Basic: "basic";
|
|
22
|
+
readonly ApiToken: "apiToken";
|
|
23
|
+
};
|
|
24
|
+
export type AXPIntegrationAuthMethodType = (typeof AXP_INTEGRATION_AUTH_METHOD_TYPE)[keyof typeof AXP_INTEGRATION_AUTH_METHOD_TYPE];
|
|
25
|
+
export declare const AXP_INTEGRATION_CATEGORY: {
|
|
26
|
+
readonly DevTools: "dev-tools";
|
|
27
|
+
readonly Messaging: "messaging";
|
|
28
|
+
readonly Productivity: "productivity";
|
|
29
|
+
readonly Identity: "identity";
|
|
30
|
+
readonly Storage: "storage";
|
|
31
|
+
readonly Other: "other";
|
|
32
|
+
};
|
|
33
|
+
export type AXPIntegrationCategory = (typeof AXP_INTEGRATION_CATEGORY)[keyof typeof AXP_INTEGRATION_CATEGORY];
|
|
34
|
+
export declare const AXP_INTEGRATION_CAPABILITY: {
|
|
35
|
+
readonly Sync: "sync";
|
|
36
|
+
readonly Search: "search";
|
|
37
|
+
readonly Import: "import";
|
|
38
|
+
readonly Export: "export";
|
|
39
|
+
readonly Webhooks: "webhooks";
|
|
40
|
+
readonly IssueTracking: "issue-tracking";
|
|
41
|
+
readonly Messaging: "messaging";
|
|
42
|
+
readonly FileStorage: "file-storage";
|
|
43
|
+
readonly Calendar: "calendar";
|
|
44
|
+
readonly Identity: "identity";
|
|
45
|
+
readonly TimeLogging: "time-logging";
|
|
46
|
+
readonly CustomActions: "custom-actions";
|
|
47
|
+
};
|
|
48
|
+
export type AXPIntegrationCapability = (typeof AXP_INTEGRATION_CAPABILITY)[keyof typeof AXP_INTEGRATION_CAPABILITY];
|
|
49
|
+
//# sourceMappingURL=integration-status.constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integration-status.constants.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/core/src/lib/integration/integration-status.constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iCAAiC;;;;;;;;;;CAUpC,CAAC;AAEX,MAAM,MAAM,8BAA8B,GACxC,CAAC,OAAO,iCAAiC,CAAC,CAAC,MAAM,OAAO,iCAAiC,CAAC,CAAC;AAM7F,eAAO,MAAM,gCAAgC;;;CAGnC,CAAC;AAEX,MAAM,MAAM,6BAA6B,GACvC,CAAC,OAAO,gCAAgC,CAAC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC;AAM3F,eAAO,MAAM,gCAAgC;;;;;CAKnC,CAAC;AAEX,MAAM,MAAM,4BAA4B,GACtC,CAAC,OAAO,gCAAgC,CAAC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC;AAM3F,eAAO,MAAM,wBAAwB;;;;;;;CAO3B,CAAC;AAEX,MAAM,MAAM,sBAAsB,GAChC,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,OAAO,wBAAwB,CAAC,CAAC;AAM3E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;CAa7B,CAAC;AAEX,MAAM,MAAM,wBAAwB,GAClC,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,OAAO,0BAA0B,CAAC,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region ---- Integration connection status ----
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.AXP_INTEGRATION_CAPABILITY = exports.AXP_INTEGRATION_CATEGORY = exports.AXP_INTEGRATION_AUTH_METHOD_TYPE = exports.AXP_INTEGRATION_CONNECTION_SCOPE = exports.AXP_INTEGRATION_CONNECTION_STATUS = void 0;
|
|
5
|
+
exports.AXP_INTEGRATION_CONNECTION_STATUS = {
|
|
6
|
+
NotConnected: 'NotConnected',
|
|
7
|
+
PendingAuthorization: 'PendingAuthorization',
|
|
8
|
+
Connected: 'Connected',
|
|
9
|
+
Expired: 'Expired',
|
|
10
|
+
RefreshRequired: 'RefreshRequired',
|
|
11
|
+
Invalid: 'Invalid',
|
|
12
|
+
Revoked: 'Revoked',
|
|
13
|
+
Disabled: 'Disabled',
|
|
14
|
+
Error: 'Error',
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region ---- Integration connection scope ----
|
|
18
|
+
exports.AXP_INTEGRATION_CONNECTION_SCOPE = {
|
|
19
|
+
User: 'user',
|
|
20
|
+
Tenant: 'tenant',
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region ---- Integration auth method types ----
|
|
24
|
+
exports.AXP_INTEGRATION_AUTH_METHOD_TYPE = {
|
|
25
|
+
OAuth2: 'oauth2',
|
|
26
|
+
Pat: 'pat',
|
|
27
|
+
Basic: 'basic',
|
|
28
|
+
ApiToken: 'apiToken',
|
|
29
|
+
};
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region ---- Integration categories ----
|
|
32
|
+
exports.AXP_INTEGRATION_CATEGORY = {
|
|
33
|
+
DevTools: 'dev-tools',
|
|
34
|
+
Messaging: 'messaging',
|
|
35
|
+
Productivity: 'productivity',
|
|
36
|
+
Identity: 'identity',
|
|
37
|
+
Storage: 'storage',
|
|
38
|
+
Other: 'other',
|
|
39
|
+
};
|
|
40
|
+
//#endregion
|
|
41
|
+
//#region ---- Integration capabilities ----
|
|
42
|
+
exports.AXP_INTEGRATION_CAPABILITY = {
|
|
43
|
+
Sync: 'sync',
|
|
44
|
+
Search: 'search',
|
|
45
|
+
Import: 'import',
|
|
46
|
+
Export: 'export',
|
|
47
|
+
Webhooks: 'webhooks',
|
|
48
|
+
IssueTracking: 'issue-tracking',
|
|
49
|
+
Messaging: 'messaging',
|
|
50
|
+
FileStorage: 'file-storage',
|
|
51
|
+
Calendar: 'calendar',
|
|
52
|
+
Identity: 'identity',
|
|
53
|
+
TimeLogging: 'time-logging',
|
|
54
|
+
CustomActions: 'custom-actions',
|
|
55
|
+
};
|
|
56
|
+
//#endregion
|
|
57
|
+
//# sourceMappingURL=integration-status.constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integration-status.constants.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/core/src/lib/integration/integration-status.constants.ts"],"names":[],"mappings":";AAAA,iDAAiD;;;AAEpC,QAAA,iCAAiC,GAAG;IAC/C,YAAY,EAAE,cAAc;IAC5B,oBAAoB,EAAE,sBAAsB;IAC5C,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,eAAe,EAAE,iBAAiB;IAClC,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACN,CAAC;AAKX,YAAY;AAEZ,gDAAgD;AAEnC,QAAA,gCAAgC,GAAG;IAC9C,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;CACR,CAAC;AAKX,YAAY;AAEZ,iDAAiD;AAEpC,QAAA,gCAAgC,GAAG;IAC9C,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;CACZ,CAAC;AAKX,YAAY;AAEZ,0CAA0C;AAE7B,QAAA,wBAAwB,GAAG;IACtC,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,WAAW;IACtB,YAAY,EAAE,cAAc;IAC5B,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;CACN,CAAC;AAKX,YAAY;AAEZ,4CAA4C;AAE/B,QAAA,0BAA0B,GAAG;IACxC,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,aAAa,EAAE,gBAAgB;IAC/B,SAAS,EAAE,WAAW;IACtB,WAAW,EAAE,cAAc;IAC3B,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,cAAc;IAC3B,aAAa,EAAE,gBAAgB;CACvB,CAAC;AAKX,YAAY"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import type { AXPIntegrationAuthMethodType, AXPIntegrationCapability, AXPIntegrationCategory, AXPIntegrationConnectionScope } from './integration-status.constants';
|
|
2
|
+
import type { AXPIntegrationValidationResult } from './integration-connection.safe-types';
|
|
3
|
+
export interface AXPIntegrationAuthFieldDefinition {
|
|
4
|
+
type: string;
|
|
5
|
+
path?: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
visible?: boolean;
|
|
8
|
+
options?: Record<string, unknown>;
|
|
9
|
+
layout?: Record<string, unknown>;
|
|
10
|
+
children?: AXPIntegrationAuthFieldDefinition[];
|
|
11
|
+
}
|
|
12
|
+
export interface AXPIntegrationOAuth2AuthMethodDefinition {
|
|
13
|
+
type: 'oauth2';
|
|
14
|
+
label: string;
|
|
15
|
+
usesRedirect: boolean;
|
|
16
|
+
supportsRefresh: boolean;
|
|
17
|
+
supportsRevoke: boolean;
|
|
18
|
+
supportsValidation: boolean;
|
|
19
|
+
defaultScopes?: string[];
|
|
20
|
+
fields?: AXPIntegrationAuthFieldDefinition[];
|
|
21
|
+
}
|
|
22
|
+
export interface AXPIntegrationPatAuthMethodDefinition {
|
|
23
|
+
type: 'pat';
|
|
24
|
+
label: string;
|
|
25
|
+
supportsValidation: boolean;
|
|
26
|
+
fields: AXPIntegrationAuthFieldDefinition[];
|
|
27
|
+
}
|
|
28
|
+
export interface AXPIntegrationBasicAuthMethodDefinition {
|
|
29
|
+
type: 'basic';
|
|
30
|
+
label: string;
|
|
31
|
+
supportsValidation: boolean;
|
|
32
|
+
fields: AXPIntegrationAuthFieldDefinition[];
|
|
33
|
+
}
|
|
34
|
+
export interface AXPIntegrationApiTokenAuthMethodDefinition {
|
|
35
|
+
type: 'apiToken';
|
|
36
|
+
label: string;
|
|
37
|
+
supportsValidation: boolean;
|
|
38
|
+
fields: AXPIntegrationAuthFieldDefinition[];
|
|
39
|
+
}
|
|
40
|
+
export type AXPIntegrationAuthMethodDefinition = AXPIntegrationOAuth2AuthMethodDefinition | AXPIntegrationPatAuthMethodDefinition | AXPIntegrationBasicAuthMethodDefinition | AXPIntegrationApiTokenAuthMethodDefinition;
|
|
41
|
+
export interface AXPIntegrationProviderDefinition {
|
|
42
|
+
id: string;
|
|
43
|
+
module: string;
|
|
44
|
+
displayName: string;
|
|
45
|
+
description?: string;
|
|
46
|
+
icon?: string;
|
|
47
|
+
category: AXPIntegrationCategory;
|
|
48
|
+
capabilities: AXPIntegrationCapability[];
|
|
49
|
+
connectionScopes: AXPIntegrationConnectionScope[];
|
|
50
|
+
allowMultipleConnections: boolean;
|
|
51
|
+
authMethods: AXPIntegrationAuthMethodDefinition[];
|
|
52
|
+
defaultConnectionKey?: string;
|
|
53
|
+
features?: string[];
|
|
54
|
+
customUiComponentKey?: string;
|
|
55
|
+
}
|
|
56
|
+
export interface AXPIntegrationAuthContext {
|
|
57
|
+
tenantId: string;
|
|
58
|
+
userId: string;
|
|
59
|
+
connectionId: string;
|
|
60
|
+
providerId: string;
|
|
61
|
+
connectionScope: AXPIntegrationConnectionScope;
|
|
62
|
+
connectionKey: string;
|
|
63
|
+
authMethodType: AXPIntegrationAuthMethodType;
|
|
64
|
+
instanceUrl?: string | null;
|
|
65
|
+
config?: Record<string, unknown> | null;
|
|
66
|
+
}
|
|
67
|
+
export interface AXPIntegrationRuntimeContext extends AXPIntegrationAuthContext {
|
|
68
|
+
secretRef: string;
|
|
69
|
+
}
|
|
70
|
+
export interface AXPIntegrationProviderRuntimeHooks {
|
|
71
|
+
validateConnection?(ctx: AXPIntegrationRuntimeContext): Promise<AXPIntegrationValidationResult>;
|
|
72
|
+
revokeConnection?(ctx: AXPIntegrationRuntimeContext): Promise<void>;
|
|
73
|
+
refreshTokens?(ctx: AXPIntegrationRuntimeContext): Promise<AXPIntegrationValidationResult>;
|
|
74
|
+
createClient?(ctx: AXPIntegrationRuntimeContext): Promise<unknown>;
|
|
75
|
+
}
|
|
76
|
+
export interface AXPIntegrationOAuthSecretPayload {
|
|
77
|
+
accessToken: string;
|
|
78
|
+
refreshToken?: string;
|
|
79
|
+
expiresAt?: string;
|
|
80
|
+
tokenType?: string;
|
|
81
|
+
scope?: string;
|
|
82
|
+
}
|
|
83
|
+
export interface AXPIntegrationPatSecretPayload {
|
|
84
|
+
token: string;
|
|
85
|
+
}
|
|
86
|
+
export interface AXPIntegrationBasicSecretPayload {
|
|
87
|
+
username: string;
|
|
88
|
+
password: string;
|
|
89
|
+
}
|
|
90
|
+
export interface AXPIntegrationApiTokenSecretPayload {
|
|
91
|
+
email: string;
|
|
92
|
+
apiToken: string;
|
|
93
|
+
}
|
|
94
|
+
export type AXPIntegrationSecretPayload = AXPIntegrationOAuthSecretPayload | AXPIntegrationPatSecretPayload | AXPIntegrationBasicSecretPayload | AXPIntegrationApiTokenSecretPayload;
|
|
95
|
+
export interface AXPIntegrationResolvedCredentials {
|
|
96
|
+
authMethodType: AXPIntegrationAuthMethodType;
|
|
97
|
+
accessToken?: string;
|
|
98
|
+
refreshToken?: string;
|
|
99
|
+
expiresAt?: string;
|
|
100
|
+
token?: string;
|
|
101
|
+
username?: string;
|
|
102
|
+
password?: string;
|
|
103
|
+
email?: string;
|
|
104
|
+
apiToken?: string;
|
|
105
|
+
}
|
|
106
|
+
export declare class AXPIntegrationNotConnectedError extends Error {
|
|
107
|
+
readonly providerId: string;
|
|
108
|
+
constructor(providerId: string, message?: string);
|
|
109
|
+
}
|
|
110
|
+
export declare class AXPIntegrationExpiredError extends Error {
|
|
111
|
+
readonly providerId: string;
|
|
112
|
+
readonly connectionId: string;
|
|
113
|
+
constructor(providerId: string, connectionId: string, message?: string);
|
|
114
|
+
}
|
|
115
|
+
export declare class AXPIntegrationMissingScopeError extends Error {
|
|
116
|
+
readonly providerId: string;
|
|
117
|
+
readonly missingScopes: string[];
|
|
118
|
+
constructor(providerId: string, missingScopes: string[], message?: string);
|
|
119
|
+
}
|
|
120
|
+
//# sourceMappingURL=integration.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integration.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/core/src/lib/integration/integration.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,4BAA4B,EAC5B,wBAAwB,EACxB,sBAAsB,EACtB,6BAA6B,EAC9B,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAI1F,MAAM,WAAW,iCAAiC;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC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KnB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AXPIntegrationMissingScopeError = exports.AXPIntegrationExpiredError = exports.AXPIntegrationNotConnectedError = void 0;
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region ---- Integration errors ----
|
|
6
|
+
class AXPIntegrationNotConnectedError extends Error {
|
|
7
|
+
constructor(providerId, message) {
|
|
8
|
+
super(message !== null && message !== void 0 ? message : `No connected integration found for provider '${providerId}'.`);
|
|
9
|
+
this.providerId = providerId;
|
|
10
|
+
this.name = 'AXPIntegrationNotConnectedError';
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.AXPIntegrationNotConnectedError = AXPIntegrationNotConnectedError;
|
|
14
|
+
class AXPIntegrationExpiredError extends Error {
|
|
15
|
+
constructor(providerId, connectionId, message) {
|
|
16
|
+
super(message !== null && message !== void 0 ? message : `Integration connection for '${providerId}' has expired.`);
|
|
17
|
+
this.providerId = providerId;
|
|
18
|
+
this.connectionId = connectionId;
|
|
19
|
+
this.name = 'AXPIntegrationExpiredError';
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.AXPIntegrationExpiredError = AXPIntegrationExpiredError;
|
|
23
|
+
class AXPIntegrationMissingScopeError extends Error {
|
|
24
|
+
constructor(providerId, missingScopes, message) {
|
|
25
|
+
super(message !== null && message !== void 0 ? message : `Integration for '${providerId}' is missing required scopes.`);
|
|
26
|
+
this.providerId = providerId;
|
|
27
|
+
this.missingScopes = missingScopes;
|
|
28
|
+
this.name = 'AXPIntegrationMissingScopeError';
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.AXPIntegrationMissingScopeError = AXPIntegrationMissingScopeError;
|
|
32
|
+
//#endregion
|
|
33
|
+
//# sourceMappingURL=integration.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integration.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/core/src/lib/integration/integration.types.ts"],"names":[],"mappings":";;;AAyJA,YAAY;AAEZ,sCAAsC;AAEtC,MAAa,+BAAgC,SAAQ,KAAK;IACxD,YACkB,UAAkB,EAClC,OAAgB;QAEhB,KAAK,CAAC,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,gDAAgD,UAAU,IAAI,CAAC,CAAC;QAHjE,eAAU,GAAV,UAAU,CAAQ;QAIlC,IAAI,CAAC,IAAI,GAAG,iCAAiC,CAAC;IAChD,CAAC;CACF;AARD,0EAQC;AAED,MAAa,0BAA2B,SAAQ,KAAK;IACnD,YACkB,UAAkB,EAClB,YAAoB,EACpC,OAAgB;QAEhB,KAAK,CAAC,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,+BAA+B,UAAU,gBAAgB,CAAC,CAAC;QAJ5D,eAAU,GAAV,UAAU,CAAQ;QAClB,iBAAY,GAAZ,YAAY,CAAQ;QAIpC,IAAI,CAAC,IAAI,GAAG,4BAA4B,CAAC;IAC3C,CAAC;CACF;AATD,gEASC;AAED,MAAa,+BAAgC,SAAQ,KAAK;IACxD,YACkB,UAAkB,EAClB,aAAuB,EACvC,OAAgB;QAEhB,KAAK,CAAC,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,oBAAoB,UAAU,+BAA+B,CAAC,CAAC;QAJhE,eAAU,GAAV,UAAU,CAAQ;QAClB,kBAAa,GAAb,aAAa,CAAU;QAIvC,IAAI,CAAC,IAAI,GAAG,iCAAiC,CAAC;IAChD,CAAC;CACF;AATD,0EASC;AAED,YAAY"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/core/src/lib/interaction/index.ts"],"names":[],"mappings":"AAEA,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region ---- Interaction contracts ----
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
tslib_1.__exportStar(require("./interactive.types"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./view.types"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./view-query.types"), exports);
|
|
8
|
+
//#endregion
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/core/src/lib/interaction/index.ts"],"names":[],"mappings":";AAAA,yCAAyC;;;AAEzC,8DAAoC;AACpC,uDAA6B;AAC7B,6DAAmC;AAEnC,YAAY"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { AXPMetaData, AXPMultiLanguageString } from '../core/core.types';
|
|
2
|
+
export type AXPActionMenuItem = {
|
|
3
|
+
name?: string;
|
|
4
|
+
title: AXPMultiLanguageString;
|
|
5
|
+
icon?: string;
|
|
6
|
+
iconOnly?: boolean;
|
|
7
|
+
color?: string;
|
|
8
|
+
look?: string;
|
|
9
|
+
break?: boolean;
|
|
10
|
+
items?: AXPActionMenuItem[];
|
|
11
|
+
command?: AXPExecuteCommand;
|
|
12
|
+
disabled?: boolean | string;
|
|
13
|
+
visible?: boolean | string;
|
|
14
|
+
policy?: string;
|
|
15
|
+
};
|
|
16
|
+
export type AXPBackButton = {
|
|
17
|
+
title: AXPMultiLanguageString;
|
|
18
|
+
};
|
|
19
|
+
export type AXPBreadcrumbItem = {
|
|
20
|
+
name?: string;
|
|
21
|
+
title: AXPMultiLanguageString;
|
|
22
|
+
icon?: string;
|
|
23
|
+
command?: AXPExecuteCommand;
|
|
24
|
+
};
|
|
25
|
+
export type AXPBadge = {
|
|
26
|
+
title: string;
|
|
27
|
+
description?: string;
|
|
28
|
+
color?: 'primary' | 'success' | 'warning' | 'danger';
|
|
29
|
+
};
|
|
30
|
+
export type AXPPageStatus = {
|
|
31
|
+
definitionKey: string;
|
|
32
|
+
value: string;
|
|
33
|
+
dataPath?: string;
|
|
34
|
+
readonly?: boolean;
|
|
35
|
+
};
|
|
36
|
+
export interface AXPCommandMessage {
|
|
37
|
+
type?: 'info' | 'success' | 'warning' | 'error';
|
|
38
|
+
code?: string;
|
|
39
|
+
text: AXPMultiLanguageString;
|
|
40
|
+
details?: unknown;
|
|
41
|
+
}
|
|
42
|
+
export type AXPExecuteCommand = {
|
|
43
|
+
name: string;
|
|
44
|
+
options?: AXPMetaData;
|
|
45
|
+
metadata?: AXPMetaData;
|
|
46
|
+
};
|
|
47
|
+
export interface AXPExecuteCommandResult<T = any> {
|
|
48
|
+
success: boolean;
|
|
49
|
+
data?: T;
|
|
50
|
+
message?: AXPCommandMessage;
|
|
51
|
+
metadata?: AXPMetaData;
|
|
52
|
+
}
|
|
53
|
+
export interface AXPQueryFetchResult<T = any> {
|
|
54
|
+
success: boolean;
|
|
55
|
+
data?: {
|
|
56
|
+
items?: T[];
|
|
57
|
+
total?: number;
|
|
58
|
+
};
|
|
59
|
+
message?: {
|
|
60
|
+
code?: string;
|
|
61
|
+
text?: AXPMultiLanguageString;
|
|
62
|
+
details?: unknown;
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=interactive.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interactive.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/core/src/lib/interaction/interactive.types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAE9E,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,sBAAsB,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;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AC;IACb,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,QAAQ,CAAC,EAAE,WAAW,CAAC;CACxB,CAAC;AAEF,MAAM,WAAW,uBAAuB,CAAC,CAAC,GAAG,GAAG;IAC9C,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,CAAC,CAAC;IACT,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,QAAQ,CAAC,EAAE,WAAW,CAAC;CACxB;AAED,MAAM,WAAW,mBAAmB,CAAC,CAAC,GAAG,GAAG;IAC1C,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE;QACL,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC;QACZ,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,OAAO,CAAC,EAAE;QACR,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,sBAAsB,CAAC;QAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;KACnB,CAAC;CACH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interactive.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/core/src/lib/interaction/interactive.types.ts"],"names":[],"mappings":";AAAA,qCAAqC;;AA4ErC,YAAY"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { AXPFilterQuery } from '../data/filter.types';
|
|
2
|
+
import type { AXPSortQuery } from '../data/sort.types';
|
|
3
|
+
export interface AXPViewQuery {
|
|
4
|
+
name: string;
|
|
5
|
+
fixed: boolean;
|
|
6
|
+
title: string;
|
|
7
|
+
columns: string[];
|
|
8
|
+
conditions: AXPFilterQuery[];
|
|
9
|
+
sorts: AXPSortQuery[];
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=view-query.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view-query.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/core/src/lib/interaction/view-query.types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,EAAE,cAAc,EAAE,CAAC;IAC7B,KAAK,EAAE,YAAY,EAAE,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view-query.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/core/src/lib/interaction/view-query.types.ts"],"names":[],"mappings":";AAAA,oCAAoC;;AAcpC,YAAY"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { AXPActionMenuItem } from './interactive.types';
|
|
2
|
+
export interface AXPViewDefinition {
|
|
3
|
+
key: string;
|
|
4
|
+
title: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
icon?: string;
|
|
7
|
+
blocks: AXPViewBlockDefinition[];
|
|
8
|
+
layout?: 'vertical' | 'horizontal' | 'grid' | 'custom';
|
|
9
|
+
actions?: {
|
|
10
|
+
primary?: AXPActionMenuItem[];
|
|
11
|
+
secondary?: AXPActionMenuItem[];
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export interface AXPViewBlockDefinition {
|
|
15
|
+
key: string;
|
|
16
|
+
type: 'form' | 'table' | 'tabs' | 'list' | 'card' | 'custom';
|
|
17
|
+
title?: string;
|
|
18
|
+
description?: string;
|
|
19
|
+
icon?: string;
|
|
20
|
+
actions?: {
|
|
21
|
+
primary?: AXPActionMenuItem[];
|
|
22
|
+
secondary?: AXPActionMenuItem[];
|
|
23
|
+
};
|
|
24
|
+
fields?: AXPViewFieldDefinition[];
|
|
25
|
+
blocks?: AXPViewBlockDefinition[];
|
|
26
|
+
}
|
|
27
|
+
export interface AXPViewFieldDefinition {
|
|
28
|
+
key: string;
|
|
29
|
+
title?: string;
|
|
30
|
+
description?: string;
|
|
31
|
+
icon?: string;
|
|
32
|
+
widget?: string;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=view.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/core/src/lib/interaction/view.types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,sBAAsB,EAAE,CAAC;IACjC,MAAM,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,MAAM,GAAG,QAAQ,CAAC;IACvD,OAAO,CAAC,EAAE;QACR,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;QAC9B,SAAS,CAAC,EAAE,iBAAiB,EAAE,CAAC;KACjC,CAAC;CACH;AAED,MAAM,WAAW,sBAAsB;IACrC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE;QACR,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;QAC9B,SAAS,CAAC,EAAE,iBAAiB,EAAE,CAAC;KACjC,CAAC;IACF,MAAM,CAAC,EAAE,sBAAsB,EAAE,CAAC;IAClC,MAAM,CAAC,EAAE,sBAAsB,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,sBAAsB;IACrC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/core/src/lib/interaction/view.types.ts"],"names":[],"mappings":";AAAA,8BAA8B;;AAuC9B,YAAY"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/core/src/lib/keys/index.ts"],"names":[],"mappings":"AAEA,cAAc,iCAAiC,CAAC;AAChD,cAAc,0BAA0B,CAAC;AACzC,cAAc,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region ---- Registry keys ----
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
tslib_1.__exportStar(require("./platform-core-datasource.keys"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./regional-settings.keys"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./preview-widget-field.command.key"), exports);
|
|
8
|
+
//#endregion
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/core/src/lib/keys/index.ts"],"names":[],"mappings":";AAAA,iCAAiC;;;AAEjC,0EAAgD;AAChD,mEAAyC;AACzC,6EAAmD;AAEnD,YAAY"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Platform core datasource registry names. */
|
|
2
|
+
export declare const AXPPlatformCoreDataSourceKeys: {
|
|
3
|
+
readonly ModuleManifests: "platform-module-manifests";
|
|
4
|
+
readonly CatalogScopes: "platform-catalog-scopes";
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=platform-core-datasource.keys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform-core-datasource.keys.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/core/src/lib/keys/platform-core-datasource.keys.ts"],"names":[],"mappings":"AAEA,+CAA+C;AAC/C,eAAO,MAAM,6BAA6B;;;CAGhC,CAAC"}
|