@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,851 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AXPSystemActions = void 0;
|
|
4
|
+
exports.getSystemActions = getSystemActions;
|
|
5
|
+
exports.resolveActionLook = resolveActionLook;
|
|
6
|
+
exports.getActionButton = getActionButton;
|
|
7
|
+
const core_types_1 = require("./core.types");
|
|
8
|
+
/**
|
|
9
|
+
* Additional suggested generic actions for future consideration:
|
|
10
|
+
*
|
|
11
|
+
* Data & Content Actions:
|
|
12
|
+
* - Search = 'search' - Search functionality
|
|
13
|
+
* - Filter = 'filter' - Apply filters
|
|
14
|
+
* - Sort = 'sort' - Sort data
|
|
15
|
+
* - Group = 'group' - Group data
|
|
16
|
+
* - Expand = 'expand' - Expand details
|
|
17
|
+
* - Collapse = 'collapse' - Collapse details
|
|
18
|
+
* - Pin = 'pin' - Pin to favorites
|
|
19
|
+
* - Bookmark = 'bookmark' - Bookmark item
|
|
20
|
+
* - Favorite = 'favorite' - Mark as favorite
|
|
21
|
+
* - Star = 'star' - Star rating
|
|
22
|
+
*
|
|
23
|
+
* Workflow Actions:
|
|
24
|
+
* - Start = 'start' - Start process/workflow
|
|
25
|
+
* - Stop = 'stop' - Stop process
|
|
26
|
+
* - Pause = 'pause' - Pause process
|
|
27
|
+
* - Resume = 'resume' - Resume process
|
|
28
|
+
* - Cancel = 'cancel' - Cancel operation
|
|
29
|
+
* - Complete = 'complete' - Mark as complete
|
|
30
|
+
* - Close = 'close' - Close item
|
|
31
|
+
* - Reopen = 'reopen' - Reopen closed item
|
|
32
|
+
* - Forward = 'forward' - Forward to next step
|
|
33
|
+
* - Back = 'back' - Go back
|
|
34
|
+
*
|
|
35
|
+
* Communication Actions:
|
|
36
|
+
* - Reply = 'reply' - Reply to message
|
|
37
|
+
* - Forward = 'forward' - Forward message
|
|
38
|
+
* - Notify = 'notify' - Send notification
|
|
39
|
+
* - Invite = 'invite' - Invite user
|
|
40
|
+
* - Join = 'join' - Join group/meeting
|
|
41
|
+
* - Leave = 'leave' - Leave group/meeting
|
|
42
|
+
*
|
|
43
|
+
* Security Actions:
|
|
44
|
+
* - Login = 'login' - User login
|
|
45
|
+
* - Logout = 'logout' - User logout
|
|
46
|
+
* - Block = 'block' - Block user/content
|
|
47
|
+
* - Unblock = 'unblock' - Unblock user/content
|
|
48
|
+
* - Ban = 'ban' - Ban user
|
|
49
|
+
* - Unban = 'unban' - Unban user
|
|
50
|
+
* - Verify = 'verify' - Verify identity
|
|
51
|
+
* - Authenticate = 'authenticate' - Authenticate
|
|
52
|
+
*
|
|
53
|
+
* File & Media Actions:
|
|
54
|
+
* - Open = 'open' - Open file
|
|
55
|
+
* - Save = 'save' - Save file
|
|
56
|
+
* - SaveAs = 'save-as' - Save as new file
|
|
57
|
+
* - Attach = 'attach' - Attach file
|
|
58
|
+
* - Detach = 'detach' - Detach file
|
|
59
|
+
* - Compress = 'compress' - Compress files
|
|
60
|
+
* - Extract = 'extract' - Extract archive
|
|
61
|
+
* - Convert = 'convert' - Convert format
|
|
62
|
+
* - Crop = 'crop' - Crop image
|
|
63
|
+
* - Resize = 'resize' - Resize image
|
|
64
|
+
*
|
|
65
|
+
* System Actions:
|
|
66
|
+
* - Sync = 'sync' - Synchronize data
|
|
67
|
+
* - Backup = 'backup' - Create backup
|
|
68
|
+
* - Restore = 'restore' - Restore from backup
|
|
69
|
+
* - Reset = 'reset' - Reset to defaults
|
|
70
|
+
* - Clear = 'clear' - Clear data
|
|
71
|
+
* - Optimize = 'optimize' - Optimize performance
|
|
72
|
+
* - Update = 'update' - Update system
|
|
73
|
+
* - Install = 'install' - Install component
|
|
74
|
+
* - Uninstall = 'uninstall' - Uninstall component
|
|
75
|
+
* - Enable = 'enable' - Enable feature
|
|
76
|
+
* - Disable = 'disable' - Disable feature
|
|
77
|
+
*
|
|
78
|
+
* Analytics & Monitoring:
|
|
79
|
+
* - Monitor = 'monitor' - Monitor activity
|
|
80
|
+
* - Track = 'track' - Track progress
|
|
81
|
+
* - Analyze = 'analyze' - Analyze data
|
|
82
|
+
* - Debug = 'debug' - Debug issue
|
|
83
|
+
* - Log = 'log' - View logs
|
|
84
|
+
* - Alert = 'alert' - Set alert
|
|
85
|
+
* - Dashboard = 'dashboard' - View dashboard
|
|
86
|
+
* - Metrics = 'metrics' - View metrics
|
|
87
|
+
*
|
|
88
|
+
* Collaboration Actions:
|
|
89
|
+
* - Collaborate = 'collaborate' - Start collaboration
|
|
90
|
+
* - Share = 'share' - Share content
|
|
91
|
+
* - Comment = 'comment' - Add comment
|
|
92
|
+
* - Like = 'like' - Like content
|
|
93
|
+
* - Follow = 'follow' - Follow user/content
|
|
94
|
+
* - Subscribe = 'subscribe' - Subscribe to updates
|
|
95
|
+
* - Unsubscribe = 'unsubscribe' - Unsubscribe
|
|
96
|
+
* - Rate = 'rate' - Rate content
|
|
97
|
+
* - Review = 'review' - Review content
|
|
98
|
+
* - Recommend = 'recommend' - Recommend content
|
|
99
|
+
*/
|
|
100
|
+
const i18n = (key) => `@general:actions.${key}`;
|
|
101
|
+
exports.AXPSystemActions = Object.freeze({
|
|
102
|
+
View: {
|
|
103
|
+
key: core_types_1.AXPSystemActionType.View,
|
|
104
|
+
title: i18n('view.title'),
|
|
105
|
+
icon: 'fa-light fa-eye',
|
|
106
|
+
color: 'primary',
|
|
107
|
+
descriptions: {
|
|
108
|
+
title: i18n('view.title'),
|
|
109
|
+
tooltip: i18n('view.description'),
|
|
110
|
+
permission: i18n('view.permission'),
|
|
111
|
+
audit: i18n('view.audit')
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
Create: {
|
|
115
|
+
key: core_types_1.AXPSystemActionType.Create,
|
|
116
|
+
title: i18n('create.title'),
|
|
117
|
+
icon: 'fa-light fa-plus',
|
|
118
|
+
color: 'primary',
|
|
119
|
+
descriptions: {
|
|
120
|
+
title: i18n('create.title'),
|
|
121
|
+
tooltip: i18n('create.description'),
|
|
122
|
+
permission: i18n('create.permission'),
|
|
123
|
+
audit: i18n('create.audit')
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
Edit: {
|
|
127
|
+
key: core_types_1.AXPSystemActionType.Update,
|
|
128
|
+
title: i18n('edit.title'),
|
|
129
|
+
icon: 'fa-light fa-pen',
|
|
130
|
+
color: 'default',
|
|
131
|
+
descriptions: {
|
|
132
|
+
title: i18n('edit.title'),
|
|
133
|
+
tooltip: i18n('edit.description'),
|
|
134
|
+
permission: i18n('edit.permission'),
|
|
135
|
+
audit: i18n('edit.audit')
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
Delete: {
|
|
139
|
+
key: core_types_1.AXPSystemActionType.Delete,
|
|
140
|
+
title: i18n('delete.title'),
|
|
141
|
+
icon: 'fa-light fa-trash',
|
|
142
|
+
color: 'danger',
|
|
143
|
+
critical: true,
|
|
144
|
+
descriptions: {
|
|
145
|
+
title: i18n('delete.title'),
|
|
146
|
+
tooltip: i18n('delete.description'),
|
|
147
|
+
permission: i18n('delete.permission'),
|
|
148
|
+
audit: i18n('delete.audit')
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
Approve: {
|
|
152
|
+
key: core_types_1.AXPSystemActionType.Approve,
|
|
153
|
+
title: i18n('approve.title'),
|
|
154
|
+
icon: 'fa-light fa-circle-check',
|
|
155
|
+
color: 'success',
|
|
156
|
+
critical: true,
|
|
157
|
+
descriptions: {
|
|
158
|
+
title: i18n('approve.title'),
|
|
159
|
+
tooltip: i18n('approve.description'),
|
|
160
|
+
permission: i18n('approve.permission'),
|
|
161
|
+
audit: i18n('approve.audit')
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
Submit: {
|
|
165
|
+
key: core_types_1.AXPSystemActionType.Submit,
|
|
166
|
+
title: i18n('submit.title'),
|
|
167
|
+
icon: 'fa-light fa-paper-plane',
|
|
168
|
+
color: 'primary',
|
|
169
|
+
descriptions: {
|
|
170
|
+
title: i18n('submit.title'),
|
|
171
|
+
tooltip: i18n('submit.description'),
|
|
172
|
+
permission: i18n('submit.permission'),
|
|
173
|
+
audit: i18n('submit.audit')
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
Reject: {
|
|
177
|
+
key: core_types_1.AXPSystemActionType.Reject,
|
|
178
|
+
title: i18n('reject.title'),
|
|
179
|
+
icon: 'fa-light fa-ban',
|
|
180
|
+
color: 'danger',
|
|
181
|
+
critical: true,
|
|
182
|
+
descriptions: {
|
|
183
|
+
title: i18n('reject.title'),
|
|
184
|
+
tooltip: i18n('reject.description'),
|
|
185
|
+
permission: i18n('reject.permission'),
|
|
186
|
+
audit: i18n('reject.audit')
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
Export: {
|
|
190
|
+
key: core_types_1.AXPSystemActionType.Export,
|
|
191
|
+
title: i18n('export.title'),
|
|
192
|
+
icon: 'fa-light fa-download',
|
|
193
|
+
color: 'default',
|
|
194
|
+
descriptions: {
|
|
195
|
+
title: i18n('export.title'),
|
|
196
|
+
tooltip: i18n('export.description'),
|
|
197
|
+
permission: i18n('export.permission'),
|
|
198
|
+
audit: i18n('export.audit')
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
Import: {
|
|
202
|
+
key: core_types_1.AXPSystemActionType.Import,
|
|
203
|
+
title: i18n('import.title'),
|
|
204
|
+
icon: 'fa-light fa-upload',
|
|
205
|
+
color: 'default',
|
|
206
|
+
descriptions: {
|
|
207
|
+
title: i18n('import.title'),
|
|
208
|
+
tooltip: i18n('import.description'),
|
|
209
|
+
permission: i18n('import.permission'),
|
|
210
|
+
audit: i18n('import.audit')
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
Print: {
|
|
214
|
+
key: core_types_1.AXPSystemActionType.Print,
|
|
215
|
+
title: i18n('print.title'),
|
|
216
|
+
icon: 'fa-light fa-print',
|
|
217
|
+
color: 'default',
|
|
218
|
+
descriptions: {
|
|
219
|
+
title: i18n('print.title'),
|
|
220
|
+
tooltip: i18n('print.description'),
|
|
221
|
+
permission: i18n('print.permission'),
|
|
222
|
+
audit: i18n('print.audit')
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
Duplicate: {
|
|
226
|
+
key: core_types_1.AXPSystemActionType.Duplicate,
|
|
227
|
+
title: i18n('duplicate.title'),
|
|
228
|
+
icon: 'fa-light fa-clone',
|
|
229
|
+
color: 'warning',
|
|
230
|
+
descriptions: {
|
|
231
|
+
title: i18n('duplicate.title'),
|
|
232
|
+
tooltip: i18n('duplicate.description'),
|
|
233
|
+
permission: i18n('duplicate.permission'),
|
|
234
|
+
audit: i18n('duplicate.audit')
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
Archive: {
|
|
238
|
+
key: core_types_1.AXPSystemActionType.Archive,
|
|
239
|
+
title: i18n('archive.title'),
|
|
240
|
+
icon: 'fa-light fa-box-archive',
|
|
241
|
+
color: 'default',
|
|
242
|
+
descriptions: {
|
|
243
|
+
title: i18n('archive.title'),
|
|
244
|
+
tooltip: i18n('archive.description'),
|
|
245
|
+
permission: i18n('archive.permission'),
|
|
246
|
+
audit: i18n('archive.audit')
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
Restore: {
|
|
250
|
+
key: core_types_1.AXPSystemActionType.Restore,
|
|
251
|
+
title: i18n('restore.title'),
|
|
252
|
+
icon: 'fa-light fa-arrow-rotate-left',
|
|
253
|
+
color: 'default',
|
|
254
|
+
descriptions: {
|
|
255
|
+
title: i18n('restore.title'),
|
|
256
|
+
tooltip: i18n('restore.description'),
|
|
257
|
+
permission: i18n('restore.permission'),
|
|
258
|
+
audit: i18n('restore.audit')
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
Assign: {
|
|
262
|
+
key: core_types_1.AXPSystemActionType.Assign,
|
|
263
|
+
title: i18n('assign.title'),
|
|
264
|
+
icon: 'fa-light fa-user-plus',
|
|
265
|
+
color: 'primary',
|
|
266
|
+
descriptions: {
|
|
267
|
+
title: i18n('assign.title'),
|
|
268
|
+
tooltip: i18n('assign.description'),
|
|
269
|
+
permission: i18n('assign.permission'),
|
|
270
|
+
audit: i18n('assign.audit')
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
Lock: {
|
|
274
|
+
key: core_types_1.AXPSystemActionType.Lock,
|
|
275
|
+
title: i18n('lock.title'),
|
|
276
|
+
icon: 'fa-light fa-lock',
|
|
277
|
+
color: 'warning',
|
|
278
|
+
descriptions: {
|
|
279
|
+
title: i18n('lock.title'),
|
|
280
|
+
tooltip: i18n('lock.description'),
|
|
281
|
+
permission: i18n('lock.permission'),
|
|
282
|
+
audit: i18n('lock.audit')
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
Unlock: {
|
|
286
|
+
key: core_types_1.AXPSystemActionType.Unlock,
|
|
287
|
+
title: i18n('unlock.title'),
|
|
288
|
+
icon: 'fa-light fa-unlock',
|
|
289
|
+
color: 'success',
|
|
290
|
+
descriptions: {
|
|
291
|
+
title: i18n('unlock.title'),
|
|
292
|
+
tooltip: i18n('unlock.description'),
|
|
293
|
+
permission: i18n('unlock.permission'),
|
|
294
|
+
audit: i18n('unlock.audit')
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
Share: {
|
|
298
|
+
key: core_types_1.AXPSystemActionType.Share,
|
|
299
|
+
title: i18n('share.title'),
|
|
300
|
+
icon: 'fa-light fa-share-nodes',
|
|
301
|
+
color: 'info',
|
|
302
|
+
descriptions: {
|
|
303
|
+
title: i18n('share.title'),
|
|
304
|
+
tooltip: i18n('share.description'),
|
|
305
|
+
permission: i18n('share.permission'),
|
|
306
|
+
audit: i18n('share.audit')
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
Configure: {
|
|
310
|
+
key: core_types_1.AXPSystemActionType.Configure,
|
|
311
|
+
title: i18n('configure.title'),
|
|
312
|
+
icon: 'fa-light fa-sliders',
|
|
313
|
+
color: 'primary',
|
|
314
|
+
descriptions: {
|
|
315
|
+
title: i18n('configure.title'),
|
|
316
|
+
tooltip: i18n('configure.description'),
|
|
317
|
+
permission: i18n('configure.permission'),
|
|
318
|
+
audit: i18n('configure.audit')
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
Reorder: {
|
|
322
|
+
key: core_types_1.AXPSystemActionType.Reorder,
|
|
323
|
+
title: i18n('reorder.title'),
|
|
324
|
+
icon: 'fa-light fa-arrow-down-up-across-line',
|
|
325
|
+
color: 'default',
|
|
326
|
+
descriptions: {
|
|
327
|
+
title: i18n('reorder.title'),
|
|
328
|
+
tooltip: i18n('reorder.description'),
|
|
329
|
+
permission: i18n('reorder.permission'),
|
|
330
|
+
audit: i18n('reorder.audit')
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
Preview: {
|
|
334
|
+
key: core_types_1.AXPSystemActionType.Preview,
|
|
335
|
+
title: i18n('preview.title'),
|
|
336
|
+
icon: 'fa-light fa-magnifying-glass',
|
|
337
|
+
color: 'default',
|
|
338
|
+
descriptions: {
|
|
339
|
+
title: i18n('preview.title'),
|
|
340
|
+
tooltip: i18n('preview.description'),
|
|
341
|
+
permission: i18n('preview.permission'),
|
|
342
|
+
audit: i18n('preview.audit')
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
Publish: {
|
|
346
|
+
key: core_types_1.AXPSystemActionType.Publish,
|
|
347
|
+
title: i18n('publish.title'),
|
|
348
|
+
icon: 'fa-light fa-globe',
|
|
349
|
+
color: 'success',
|
|
350
|
+
descriptions: {
|
|
351
|
+
title: i18n('publish.title'),
|
|
352
|
+
tooltip: i18n('publish.description'),
|
|
353
|
+
permission: i18n('publish.permission'),
|
|
354
|
+
audit: i18n('publish.audit')
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
Unpublish: {
|
|
358
|
+
key: core_types_1.AXPSystemActionType.Unpublish,
|
|
359
|
+
title: i18n('unpublish.title'),
|
|
360
|
+
icon: 'fa-light fa-globe-slash',
|
|
361
|
+
color: 'danger',
|
|
362
|
+
descriptions: {
|
|
363
|
+
title: i18n('unpublish.title'),
|
|
364
|
+
tooltip: i18n('unpublish.description'),
|
|
365
|
+
permission: i18n('unpublish.permission'),
|
|
366
|
+
audit: i18n('unpublish.audit')
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
Upload: {
|
|
370
|
+
key: core_types_1.AXPSystemActionType.Upload,
|
|
371
|
+
title: i18n('upload.title'),
|
|
372
|
+
icon: 'fa-light fa-upload',
|
|
373
|
+
color: 'default',
|
|
374
|
+
descriptions: {
|
|
375
|
+
title: i18n('upload.title'),
|
|
376
|
+
tooltip: i18n('upload.description'),
|
|
377
|
+
permission: i18n('upload.permission'),
|
|
378
|
+
audit: i18n('upload.audit')
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
Download: {
|
|
382
|
+
key: core_types_1.AXPSystemActionType.Download,
|
|
383
|
+
title: i18n('download.title'),
|
|
384
|
+
icon: 'fa-light fa-download',
|
|
385
|
+
color: 'default',
|
|
386
|
+
descriptions: {
|
|
387
|
+
title: i18n('download.title'),
|
|
388
|
+
tooltip: i18n('download.description'),
|
|
389
|
+
permission: i18n('download.permission'),
|
|
390
|
+
audit: i18n('download.audit')
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
Copy: {
|
|
394
|
+
key: core_types_1.AXPSystemActionType.Copy,
|
|
395
|
+
title: i18n('copy.title'),
|
|
396
|
+
icon: 'fa-light fa-copy',
|
|
397
|
+
color: 'default',
|
|
398
|
+
descriptions: {
|
|
399
|
+
title: i18n('copy.title'),
|
|
400
|
+
tooltip: i18n('copy.description'),
|
|
401
|
+
permission: i18n('copy.permission'),
|
|
402
|
+
audit: i18n('copy.audit')
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
Move: {
|
|
406
|
+
key: core_types_1.AXPSystemActionType.Move,
|
|
407
|
+
title: i18n('move.title'),
|
|
408
|
+
icon: 'fa-light fa-arrow-right-arrow-left',
|
|
409
|
+
color: 'default',
|
|
410
|
+
descriptions: {
|
|
411
|
+
title: i18n('move.title'),
|
|
412
|
+
tooltip: i18n('move.description'),
|
|
413
|
+
permission: i18n('move.permission'),
|
|
414
|
+
audit: i18n('move.audit')
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
Rename: {
|
|
418
|
+
key: core_types_1.AXPSystemActionType.Rename,
|
|
419
|
+
title: i18n('rename.title'),
|
|
420
|
+
icon: 'fa-light fa-pen',
|
|
421
|
+
color: 'default',
|
|
422
|
+
descriptions: {
|
|
423
|
+
title: i18n('rename.title'),
|
|
424
|
+
tooltip: i18n('rename.description'),
|
|
425
|
+
permission: i18n('rename.permission'),
|
|
426
|
+
audit: i18n('rename.audit')
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
Manage: {
|
|
430
|
+
key: core_types_1.AXPSystemActionType.Manage,
|
|
431
|
+
title: i18n('manage.title'),
|
|
432
|
+
icon: 'fa-light fa-gear',
|
|
433
|
+
color: 'default',
|
|
434
|
+
descriptions: {
|
|
435
|
+
title: i18n('manage.title'),
|
|
436
|
+
tooltip: i18n('manage.description'),
|
|
437
|
+
permission: i18n('manage.permission'),
|
|
438
|
+
audit: i18n('manage.audit')
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
Info: {
|
|
442
|
+
key: core_types_1.AXPSystemActionType.Info,
|
|
443
|
+
title: i18n('info.title'),
|
|
444
|
+
icon: 'fa-light fa-info',
|
|
445
|
+
color: 'default',
|
|
446
|
+
descriptions: {
|
|
447
|
+
title: i18n('info.title'),
|
|
448
|
+
tooltip: i18n('info.description'),
|
|
449
|
+
permission: i18n('info.permission'),
|
|
450
|
+
audit: i18n('info.audit')
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
Confirm: {
|
|
454
|
+
key: core_types_1.AXPSystemActionType.Confirm,
|
|
455
|
+
title: i18n('confirm.title'),
|
|
456
|
+
icon: 'fa-light fa-check',
|
|
457
|
+
color: 'success',
|
|
458
|
+
descriptions: {
|
|
459
|
+
title: i18n('confirm.title'),
|
|
460
|
+
tooltip: i18n('confirm.description'),
|
|
461
|
+
permission: i18n('confirm.permission'),
|
|
462
|
+
audit: i18n('confirm.audit')
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
Design: {
|
|
466
|
+
key: core_types_1.AXPSystemActionType.Design,
|
|
467
|
+
title: i18n('design.title'),
|
|
468
|
+
icon: 'fa-light fa-paintbrush',
|
|
469
|
+
color: 'default',
|
|
470
|
+
descriptions: {
|
|
471
|
+
title: i18n('design.title'),
|
|
472
|
+
tooltip: i18n('design.description'),
|
|
473
|
+
permission: i18n('design.permission'),
|
|
474
|
+
audit: i18n('design.audit')
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
VersionHistory: {
|
|
478
|
+
key: core_types_1.AXPSystemActionType.VersionHistory,
|
|
479
|
+
title: i18n('version-history.title'),
|
|
480
|
+
icon: 'fa-light fa-history',
|
|
481
|
+
color: 'default',
|
|
482
|
+
descriptions: {
|
|
483
|
+
title: i18n('version-history.title'),
|
|
484
|
+
tooltip: i18n('version-history.description'),
|
|
485
|
+
permission: i18n('version-history.permission'),
|
|
486
|
+
audit: i18n('version-history.audit')
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
Compare: {
|
|
490
|
+
key: core_types_1.AXPSystemActionType.Compare,
|
|
491
|
+
title: i18n('compare.title'),
|
|
492
|
+
icon: 'fa-light fa-code-compare',
|
|
493
|
+
color: 'default',
|
|
494
|
+
descriptions: {
|
|
495
|
+
title: i18n('compare.title'),
|
|
496
|
+
tooltip: i18n('compare.description'),
|
|
497
|
+
permission: i18n('compare.permission'),
|
|
498
|
+
audit: i18n('compare.audit')
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
Comments: {
|
|
502
|
+
key: core_types_1.AXPSystemActionType.Comments,
|
|
503
|
+
title: i18n('comments.title'),
|
|
504
|
+
icon: 'fa-light fa-comments',
|
|
505
|
+
color: 'default',
|
|
506
|
+
descriptions: {
|
|
507
|
+
title: i18n('comments.title'),
|
|
508
|
+
tooltip: i18n('comments.description'),
|
|
509
|
+
permission: i18n('comments.permission'),
|
|
510
|
+
audit: i18n('comments.audit')
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
Sign: {
|
|
514
|
+
key: core_types_1.AXPSystemActionType.Sign,
|
|
515
|
+
title: i18n('sign.title'),
|
|
516
|
+
icon: 'fa-light fa-signature',
|
|
517
|
+
color: 'default',
|
|
518
|
+
descriptions: {
|
|
519
|
+
title: i18n('sign.title'),
|
|
520
|
+
tooltip: i18n('sign.description'),
|
|
521
|
+
permission: i18n('sign.permission'),
|
|
522
|
+
audit: i18n('sign.audit')
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
Setup: {
|
|
526
|
+
key: core_types_1.AXPSystemActionType.Setup,
|
|
527
|
+
title: i18n('setup.title'),
|
|
528
|
+
icon: 'fa-light fa-cog',
|
|
529
|
+
color: 'default',
|
|
530
|
+
descriptions: {
|
|
531
|
+
title: i18n('setup.title'),
|
|
532
|
+
tooltip: i18n('setup.description'),
|
|
533
|
+
permission: i18n('setup.permission'),
|
|
534
|
+
audit: i18n('setup.audit')
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
Send: {
|
|
538
|
+
key: core_types_1.AXPSystemActionType.Send,
|
|
539
|
+
title: i18n('send.title'),
|
|
540
|
+
icon: 'fa-light fa-envelope',
|
|
541
|
+
color: 'default',
|
|
542
|
+
descriptions: {
|
|
543
|
+
title: i18n('send.title'),
|
|
544
|
+
tooltip: i18n('send.description'),
|
|
545
|
+
permission: i18n('send.permission'),
|
|
546
|
+
audit: i18n('send.audit')
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
Report: {
|
|
550
|
+
key: core_types_1.AXPSystemActionType.Report,
|
|
551
|
+
title: i18n('report.title'),
|
|
552
|
+
icon: 'fa-light fa-chart-line',
|
|
553
|
+
color: 'default',
|
|
554
|
+
descriptions: {
|
|
555
|
+
title: i18n('report.title'),
|
|
556
|
+
tooltip: i18n('report.description'),
|
|
557
|
+
permission: i18n('report.permission'),
|
|
558
|
+
audit: i18n('report.audit')
|
|
559
|
+
}
|
|
560
|
+
},
|
|
561
|
+
Sent: {
|
|
562
|
+
key: core_types_1.AXPSystemActionType.Sent,
|
|
563
|
+
title: i18n('sent.title'),
|
|
564
|
+
icon: 'fa-light fa-paper-plane',
|
|
565
|
+
color: 'default',
|
|
566
|
+
descriptions: {
|
|
567
|
+
title: i18n('sent.title'),
|
|
568
|
+
tooltip: i18n('sent.description'),
|
|
569
|
+
permission: i18n('sent.permission'),
|
|
570
|
+
audit: i18n('sent.audit')
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
Review: {
|
|
574
|
+
key: core_types_1.AXPSystemActionType.Review,
|
|
575
|
+
title: i18n('review.title'),
|
|
576
|
+
icon: 'fa-light fa-eye',
|
|
577
|
+
color: 'default',
|
|
578
|
+
descriptions: {
|
|
579
|
+
title: i18n('review.title'),
|
|
580
|
+
tooltip: i18n('review.description'),
|
|
581
|
+
permission: i18n('review.permission'),
|
|
582
|
+
audit: i18n('review.audit')
|
|
583
|
+
}
|
|
584
|
+
},
|
|
585
|
+
Generate: {
|
|
586
|
+
key: core_types_1.AXPSystemActionType.Generate,
|
|
587
|
+
title: i18n('generate.title'),
|
|
588
|
+
icon: 'fa-light fa-wand-magic-sparkles',
|
|
589
|
+
color: 'primary',
|
|
590
|
+
descriptions: {
|
|
591
|
+
title: i18n('generate.title'),
|
|
592
|
+
tooltip: i18n('generate.description'),
|
|
593
|
+
permission: i18n('generate.permission'),
|
|
594
|
+
audit: i18n('generate.audit')
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
Refresh: {
|
|
598
|
+
key: core_types_1.AXPSystemActionType.Refresh,
|
|
599
|
+
title: i18n('refresh.title'),
|
|
600
|
+
icon: 'fa-light fa-arrows-rotate',
|
|
601
|
+
color: 'default',
|
|
602
|
+
descriptions: {
|
|
603
|
+
title: i18n('refresh.title'),
|
|
604
|
+
tooltip: i18n('refresh.description'),
|
|
605
|
+
permission: i18n('refresh.permission'),
|
|
606
|
+
audit: i18n('refresh.audit')
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
Reload: {
|
|
610
|
+
key: core_types_1.AXPSystemActionType.Reload,
|
|
611
|
+
title: i18n('reload.title'),
|
|
612
|
+
icon: 'fa-light fa-arrows-rotate',
|
|
613
|
+
color: 'default',
|
|
614
|
+
descriptions: {
|
|
615
|
+
title: i18n('reload.title'),
|
|
616
|
+
tooltip: i18n('reload.description'),
|
|
617
|
+
permission: i18n('reload.permission'),
|
|
618
|
+
audit: i18n('reload.audit')
|
|
619
|
+
}
|
|
620
|
+
},
|
|
621
|
+
Search: {
|
|
622
|
+
key: core_types_1.AXPSystemActionType.Search,
|
|
623
|
+
title: i18n('search.title'),
|
|
624
|
+
icon: 'fa-light fa-magnifying-glass',
|
|
625
|
+
color: 'default',
|
|
626
|
+
descriptions: {
|
|
627
|
+
title: i18n('search.title'),
|
|
628
|
+
tooltip: i18n('search.description'),
|
|
629
|
+
permission: i18n('search.permission'),
|
|
630
|
+
audit: i18n('search.audit')
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
Filter: {
|
|
634
|
+
key: core_types_1.AXPSystemActionType.Filter,
|
|
635
|
+
title: i18n('filter.title'),
|
|
636
|
+
icon: 'fa-light fa-filter',
|
|
637
|
+
color: 'default',
|
|
638
|
+
descriptions: {
|
|
639
|
+
title: i18n('filter.title'),
|
|
640
|
+
tooltip: i18n('filter.description'),
|
|
641
|
+
permission: i18n('filter.permission'),
|
|
642
|
+
audit: i18n('filter.audit')
|
|
643
|
+
}
|
|
644
|
+
},
|
|
645
|
+
Sort: {
|
|
646
|
+
key: core_types_1.AXPSystemActionType.Sort,
|
|
647
|
+
title: i18n('sort.title'),
|
|
648
|
+
icon: 'fa-light fa-arrow-down-up-across-line',
|
|
649
|
+
color: 'default',
|
|
650
|
+
descriptions: {
|
|
651
|
+
title: i18n('sort.title'),
|
|
652
|
+
tooltip: i18n('sort.description'),
|
|
653
|
+
permission: i18n('sort.permission'),
|
|
654
|
+
audit: i18n('sort.audit')
|
|
655
|
+
}
|
|
656
|
+
},
|
|
657
|
+
Start: {
|
|
658
|
+
key: core_types_1.AXPSystemActionType.Start,
|
|
659
|
+
title: i18n('start.title'),
|
|
660
|
+
icon: 'fa-light fa-play',
|
|
661
|
+
color: 'success',
|
|
662
|
+
descriptions: {
|
|
663
|
+
title: i18n('start.title'),
|
|
664
|
+
tooltip: i18n('start.description'),
|
|
665
|
+
permission: i18n('start.permission'),
|
|
666
|
+
audit: i18n('start.audit')
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
Stop: {
|
|
670
|
+
key: core_types_1.AXPSystemActionType.Stop,
|
|
671
|
+
title: i18n('stop.title'),
|
|
672
|
+
icon: 'fa-light fa-stop',
|
|
673
|
+
color: 'danger',
|
|
674
|
+
critical: true,
|
|
675
|
+
descriptions: {
|
|
676
|
+
title: i18n('stop.title'),
|
|
677
|
+
tooltip: i18n('stop.description'),
|
|
678
|
+
permission: i18n('stop.permission'),
|
|
679
|
+
audit: i18n('stop.audit')
|
|
680
|
+
}
|
|
681
|
+
},
|
|
682
|
+
Pause: {
|
|
683
|
+
key: core_types_1.AXPSystemActionType.Pause,
|
|
684
|
+
title: i18n('pause.title'),
|
|
685
|
+
icon: 'fa-light fa-pause',
|
|
686
|
+
color: 'warning',
|
|
687
|
+
descriptions: {
|
|
688
|
+
title: i18n('pause.title'),
|
|
689
|
+
tooltip: i18n('pause.description'),
|
|
690
|
+
permission: i18n('pause.permission'),
|
|
691
|
+
audit: i18n('pause.audit')
|
|
692
|
+
}
|
|
693
|
+
},
|
|
694
|
+
Cancel: {
|
|
695
|
+
key: core_types_1.AXPSystemActionType.Cancel,
|
|
696
|
+
title: i18n('cancel.title'),
|
|
697
|
+
icon: 'fa-light fa-xmark',
|
|
698
|
+
critical: true,
|
|
699
|
+
descriptions: {
|
|
700
|
+
title: i18n('cancel.title'),
|
|
701
|
+
tooltip: i18n('cancel.description'),
|
|
702
|
+
permission: i18n('cancel.permission'),
|
|
703
|
+
audit: i18n('cancel.audit')
|
|
704
|
+
}
|
|
705
|
+
},
|
|
706
|
+
Close: {
|
|
707
|
+
key: core_types_1.AXPSystemActionType.Close,
|
|
708
|
+
title: i18n('close.title'),
|
|
709
|
+
icon: 'fa-light fa-xmark',
|
|
710
|
+
color: 'default',
|
|
711
|
+
descriptions: {
|
|
712
|
+
title: i18n('close.title'),
|
|
713
|
+
tooltip: i18n('close.description'),
|
|
714
|
+
permission: i18n('close.permission'),
|
|
715
|
+
audit: i18n('close.audit')
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
Complete: {
|
|
719
|
+
key: core_types_1.AXPSystemActionType.Complete,
|
|
720
|
+
title: i18n('complete.title'),
|
|
721
|
+
icon: 'fa-light fa-check',
|
|
722
|
+
color: 'success',
|
|
723
|
+
descriptions: {
|
|
724
|
+
title: i18n('complete.title'),
|
|
725
|
+
tooltip: i18n('complete.description'),
|
|
726
|
+
permission: i18n('complete.permission'),
|
|
727
|
+
audit: i18n('complete.audit')
|
|
728
|
+
}
|
|
729
|
+
},
|
|
730
|
+
Save: {
|
|
731
|
+
key: core_types_1.AXPSystemActionType.Save,
|
|
732
|
+
title: i18n('save.title'),
|
|
733
|
+
icon: 'fa-light fa-floppy-disk',
|
|
734
|
+
color: 'primary',
|
|
735
|
+
descriptions: {
|
|
736
|
+
title: i18n('save.title'),
|
|
737
|
+
tooltip: i18n('save.description'),
|
|
738
|
+
permission: i18n('save.permission'),
|
|
739
|
+
audit: i18n('save.audit')
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
SaveAs: {
|
|
743
|
+
key: core_types_1.AXPSystemActionType.SaveAs,
|
|
744
|
+
title: i18n('save-as.title'),
|
|
745
|
+
icon: 'fa-light fa-floppy-disk',
|
|
746
|
+
color: 'default',
|
|
747
|
+
descriptions: {
|
|
748
|
+
title: i18n('save-as.title'),
|
|
749
|
+
tooltip: i18n('save-as.description'),
|
|
750
|
+
permission: i18n('save-as.permission'),
|
|
751
|
+
audit: i18n('save-as.audit')
|
|
752
|
+
}
|
|
753
|
+
},
|
|
754
|
+
Sync: {
|
|
755
|
+
key: core_types_1.AXPSystemActionType.Sync,
|
|
756
|
+
title: i18n('sync.title'),
|
|
757
|
+
icon: 'fa-light fa-arrows-rotate',
|
|
758
|
+
color: 'default',
|
|
759
|
+
descriptions: {
|
|
760
|
+
title: i18n('sync.title'),
|
|
761
|
+
tooltip: i18n('sync.description'),
|
|
762
|
+
permission: i18n('sync.permission'),
|
|
763
|
+
audit: i18n('sync.audit')
|
|
764
|
+
}
|
|
765
|
+
},
|
|
766
|
+
Reset: {
|
|
767
|
+
key: core_types_1.AXPSystemActionType.Reset,
|
|
768
|
+
title: i18n('reset.title'),
|
|
769
|
+
icon: 'fa-light fa-arrow-rotate-left',
|
|
770
|
+
color: 'warning',
|
|
771
|
+
critical: true,
|
|
772
|
+
descriptions: {
|
|
773
|
+
title: i18n('reset.title'),
|
|
774
|
+
tooltip: i18n('reset.description'),
|
|
775
|
+
permission: i18n('reset.permission'),
|
|
776
|
+
audit: i18n('reset.audit')
|
|
777
|
+
}
|
|
778
|
+
},
|
|
779
|
+
Clear: {
|
|
780
|
+
key: core_types_1.AXPSystemActionType.Clear,
|
|
781
|
+
title: i18n('clear.title'),
|
|
782
|
+
icon: 'fa-light fa-eraser',
|
|
783
|
+
color: 'default',
|
|
784
|
+
descriptions: {
|
|
785
|
+
title: i18n('clear.title'),
|
|
786
|
+
tooltip: i18n('clear.description'),
|
|
787
|
+
permission: i18n('clear.permission'),
|
|
788
|
+
audit: i18n('clear.audit')
|
|
789
|
+
}
|
|
790
|
+
},
|
|
791
|
+
Distribution: {
|
|
792
|
+
key: core_types_1.AXPSystemActionType.Distribution,
|
|
793
|
+
title: i18n('distribution.title'),
|
|
794
|
+
icon: 'fa-light fa-share-nodes',
|
|
795
|
+
color: 'default',
|
|
796
|
+
descriptions: {
|
|
797
|
+
title: i18n('distribution.title'),
|
|
798
|
+
tooltip: i18n('distribution.description'),
|
|
799
|
+
permission: i18n('distribution.permission'),
|
|
800
|
+
audit: i18n('distribution.audit')
|
|
801
|
+
}
|
|
802
|
+
},
|
|
803
|
+
});
|
|
804
|
+
function getSystemActions(type) {
|
|
805
|
+
return Object.values(exports.AXPSystemActions).find(action => action.key === type);
|
|
806
|
+
}
|
|
807
|
+
/**
|
|
808
|
+
* Resolves the visual appearance (color and icon) for entity actions.
|
|
809
|
+
*/
|
|
810
|
+
function resolveActionLook(actionType) {
|
|
811
|
+
const systemActionType = actionType;
|
|
812
|
+
if (systemActionType) {
|
|
813
|
+
const systemAction = getSystemActions(systemActionType);
|
|
814
|
+
if (systemAction) {
|
|
815
|
+
return {
|
|
816
|
+
color: (systemAction.color || 'default'),
|
|
817
|
+
icon: systemAction.icon || ''
|
|
818
|
+
};
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
return {
|
|
822
|
+
color: 'default',
|
|
823
|
+
icon: ''
|
|
824
|
+
};
|
|
825
|
+
}
|
|
826
|
+
/**
|
|
827
|
+
* Resolves the title, description, icon and color for button actions.
|
|
828
|
+
*/
|
|
829
|
+
function getActionButton(actionType) {
|
|
830
|
+
const systemActionType = actionType;
|
|
831
|
+
if (systemActionType) {
|
|
832
|
+
const systemAction = getSystemActions(systemActionType);
|
|
833
|
+
if (systemAction) {
|
|
834
|
+
return {
|
|
835
|
+
name: actionType,
|
|
836
|
+
icon: systemAction.icon || '',
|
|
837
|
+
color: systemAction.color || 'default',
|
|
838
|
+
title: systemAction.title,
|
|
839
|
+
description: systemAction.descriptions.title
|
|
840
|
+
};
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
return {
|
|
844
|
+
name: actionType,
|
|
845
|
+
title: actionType,
|
|
846
|
+
description: `Perform ${actionType} action`,
|
|
847
|
+
icon: '',
|
|
848
|
+
color: 'default'
|
|
849
|
+
};
|
|
850
|
+
}
|
|
851
|
+
//# sourceMappingURL=actions.types.js.map
|