@acorex-platform/framework-shared 0.0.10 → 0.0.14
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/background-job/src/index.d.ts +5 -0
- package/background-job/src/index.d.ts.map +1 -0
- package/background-job/src/index.js +8 -0
- package/background-job/src/index.js.map +1 -0
- package/background-job/src/lib/background-job-result.util.d.ts +12 -0
- package/background-job/src/lib/background-job-result.util.d.ts.map +1 -0
- package/background-job/src/lib/background-job-result.util.js +64 -0
- package/background-job/src/lib/background-job-result.util.js.map +1 -0
- package/background-job/src/lib/background-job.constants.d.ts +81 -0
- package/background-job/src/lib/background-job.constants.d.ts.map +1 -0
- package/background-job/src/lib/background-job.constants.js +98 -0
- package/background-job/src/lib/background-job.constants.js.map +1 -0
- package/background-job/src/lib/background-job.errors.d.ts +16 -0
- package/background-job/src/lib/background-job.errors.d.ts.map +1 -0
- package/background-job/src/lib/background-job.errors.js +14 -0
- package/background-job/src/lib/background-job.errors.js.map +1 -0
- package/background-job/src/lib/background-job.types.d.ts +268 -0
- package/background-job/src/lib/background-job.types.d.ts.map +1 -0
- package/background-job/src/lib/background-job.types.js +158 -0
- package/background-job/src/lib/background-job.types.js.map +1 -0
- package/core/src/lib/data/filter.types.d.ts +2 -0
- package/core/src/lib/data/filter.types.d.ts.map +1 -1
- package/core/src/lib/data/filter.types.js +3 -0
- package/core/src/lib/data/filter.types.js.map +1 -1
- package/core/src/lib/data/index.d.ts +1 -0
- package/core/src/lib/data/index.d.ts.map +1 -1
- package/core/src/lib/data/index.js +1 -0
- package/core/src/lib/data/index.js.map +1 -1
- package/core/src/lib/data/query-quick-search.util.d.ts +7 -0
- package/core/src/lib/data/query-quick-search.util.d.ts.map +1 -0
- package/core/src/lib/data/query-quick-search.util.js +56 -0
- package/core/src/lib/data/query-quick-search.util.js.map +1 -0
- package/core/src/lib/identifier/identifier-rule.types.d.ts +25 -0
- package/core/src/lib/identifier/identifier-rule.types.d.ts.map +1 -0
- package/core/src/lib/identifier/identifier-rule.types.js +8 -0
- package/core/src/lib/identifier/identifier-rule.types.js.map +1 -0
- package/core/src/lib/identifier/index.d.ts +2 -0
- package/core/src/lib/identifier/index.d.ts.map +1 -0
- package/core/src/lib/identifier/index.js +5 -0
- package/core/src/lib/identifier/index.js.map +1 -0
- package/core/src/lib/index.d.ts +2 -0
- package/core/src/lib/index.d.ts.map +1 -1
- package/core/src/lib/index.js +2 -0
- package/core/src/lib/index.js.map +1 -1
- package/core/src/lib/integration/constants/auth.constants.d.ts +8 -0
- package/core/src/lib/integration/constants/auth.constants.d.ts.map +1 -0
- package/core/src/lib/integration/constants/auth.constants.js +12 -0
- package/core/src/lib/integration/constants/auth.constants.js.map +1 -0
- package/core/src/lib/integration/constants/capability.constants.d.ts +16 -0
- package/core/src/lib/integration/constants/capability.constants.d.ts.map +1 -0
- package/core/src/lib/integration/constants/capability.constants.js +20 -0
- package/core/src/lib/integration/constants/capability.constants.js.map +1 -0
- package/core/src/lib/integration/constants/category.constants.d.ts +14 -0
- package/core/src/lib/integration/constants/category.constants.d.ts.map +1 -0
- package/core/src/lib/integration/constants/category.constants.js +18 -0
- package/core/src/lib/integration/constants/category.constants.js.map +1 -0
- package/core/src/lib/integration/constants/connection.constants.d.ts +18 -0
- package/core/src/lib/integration/constants/connection.constants.d.ts.map +1 -0
- package/core/src/lib/integration/constants/connection.constants.js +23 -0
- package/core/src/lib/integration/constants/connection.constants.js.map +1 -0
- package/core/src/lib/integration/constants/index.d.ts +5 -0
- package/core/src/lib/integration/constants/index.d.ts.map +1 -0
- package/core/src/lib/integration/constants/index.js +8 -0
- package/core/src/lib/integration/constants/index.js.map +1 -0
- package/core/src/lib/integration/index.d.ts +3 -1
- package/core/src/lib/integration/index.d.ts.map +1 -1
- package/core/src/lib/integration/index.js +3 -1
- package/core/src/lib/integration/index.js.map +1 -1
- package/core/src/lib/integration/integration-connection.safe-types.d.ts +14 -1
- package/core/src/lib/integration/integration-connection.safe-types.d.ts.map +1 -1
- package/core/src/lib/integration/integration-connection.safe-types.js.map +1 -1
- package/core/src/lib/integration/integration-domain.types.d.ts +27 -0
- package/core/src/lib/integration/integration-domain.types.d.ts.map +1 -0
- package/core/src/lib/integration/integration-domain.types.js +4 -0
- package/core/src/lib/integration/integration-domain.types.js.map +1 -0
- package/core/src/lib/integration/integration-reference.types.d.ts +24 -0
- package/core/src/lib/integration/integration-reference.types.d.ts.map +1 -0
- package/core/src/lib/integration/integration-reference.types.js +5 -0
- package/core/src/lib/integration/integration-reference.types.js.map +1 -0
- package/core/src/lib/integration/integration.types.d.ts +50 -3
- package/core/src/lib/integration/integration.types.d.ts.map +1 -1
- package/core/src/lib/integration/integration.types.js.map +1 -1
- package/core/src/lib/interaction/interactive.types.d.ts +12 -0
- package/core/src/lib/interaction/interactive.types.d.ts.map +1 -1
- package/core/src/lib/interaction/interactive.types.js.map +1 -1
- package/core/src/lib/interaction/view-query.types.d.ts +2 -0
- package/core/src/lib/interaction/view-query.types.d.ts.map +1 -1
- package/core/src/lib/interaction/view-query.types.js.map +1 -1
- package/core/src/lib/settings/index.d.ts +2 -0
- package/core/src/lib/settings/index.d.ts.map +1 -0
- package/core/src/lib/settings/index.js +5 -0
- package/core/src/lib/settings/index.js.map +1 -0
- package/core/src/lib/settings/settings-sync-keys.types.d.ts +6 -0
- package/core/src/lib/settings/settings-sync-keys.types.d.ts.map +1 -0
- package/core/src/lib/settings/settings-sync-keys.types.js +5 -0
- package/core/src/lib/settings/settings-sync-keys.types.js.map +1 -0
- package/domain/src/lib/definitions/command-registry.types.d.ts +1 -1
- package/domain/src/lib/definitions/command-registry.types.d.ts.map +1 -1
- package/domain/src/lib/definitions/entity-definition.types.d.ts +6 -0
- package/domain/src/lib/definitions/entity-definition.types.d.ts.map +1 -1
- package/domain/src/lib/definitions/module-definition.types.d.ts +6 -0
- package/domain/src/lib/definitions/module-definition.types.d.ts.map +1 -1
- package/domain/src/lib/definitions/plugin-registry.types.d.ts +23 -0
- package/domain/src/lib/definitions/plugin-registry.types.d.ts.map +1 -0
- package/domain/src/lib/definitions/plugin-registry.types.js +4 -0
- package/domain/src/lib/definitions/plugin-registry.types.js.map +1 -0
- package/domain/src/lib/definitions/storage-binding.types.d.ts +18 -0
- package/domain/src/lib/definitions/storage-binding.types.d.ts.map +1 -0
- package/domain/src/lib/definitions/storage-binding.types.js +5 -0
- package/domain/src/lib/definitions/storage-binding.types.js.map +1 -0
- package/domain/src/lib/definitions/widget-catalog.types.d.ts +3 -2
- package/domain/src/lib/definitions/widget-catalog.types.d.ts.map +1 -1
- package/domain/src/lib/definitions/widget-catalog.types.js +4 -1
- package/domain/src/lib/definitions/widget-catalog.types.js.map +1 -1
- package/domain/src/lib/definitions/widget-registry.types.d.ts +30 -0
- package/domain/src/lib/definitions/widget-registry.types.d.ts.map +1 -0
- package/domain/src/lib/definitions/widget-registry.types.js +4 -0
- package/domain/src/lib/definitions/widget-registry.types.js.map +1 -0
- package/domain/src/lib/index.d.ts +3 -0
- package/domain/src/lib/index.d.ts.map +1 -1
- package/domain/src/lib/index.js +3 -0
- package/domain/src/lib/index.js.map +1 -1
- package/entity/src/lib/helpers/entity-action.helpers.js +4 -4
- package/entity/src/lib/helpers/entity-action.helpers.js.map +1 -1
- package/entity/src/lib/types/entity-query-view.types.d.ts +2 -2
- package/entity/src/lib/types/entity-query-view.types.d.ts.map +1 -1
- package/entity/src/lib/types/lookup-widget.types.d.ts +1 -1
- package/entity/src/lib/types/lookup-widget.types.d.ts.map +1 -1
- package/entity/src/lib/utils/index.d.ts +1 -0
- package/entity/src/lib/utils/index.d.ts.map +1 -1
- package/entity/src/lib/utils/index.js +1 -0
- package/entity/src/lib/utils/index.js.map +1 -1
- package/entity/src/lib/utils/page-list-widget-name.util.d.ts +12 -0
- package/entity/src/lib/utils/page-list-widget-name.util.d.ts.map +1 -0
- package/entity/src/lib/utils/page-list-widget-name.util.js +24 -0
- package/entity/src/lib/utils/page-list-widget-name.util.js.map +1 -0
- package/package.json +9 -1
- package/rule-engine/src/index.d.ts +4 -0
- package/rule-engine/src/index.d.ts.map +1 -0
- package/rule-engine/src/index.js +7 -0
- package/rule-engine/src/index.js.map +1 -0
- package/rule-engine/src/lib/rule-engine.constants.d.ts +17 -0
- package/rule-engine/src/lib/rule-engine.constants.d.ts.map +1 -0
- package/rule-engine/src/lib/rule-engine.constants.js +22 -0
- package/rule-engine/src/lib/rule-engine.constants.js.map +1 -0
- package/rule-engine/src/lib/rule-engine.errors.d.ts +21 -0
- package/rule-engine/src/lib/rule-engine.errors.d.ts.map +1 -0
- package/rule-engine/src/lib/rule-engine.errors.js +50 -0
- package/rule-engine/src/lib/rule-engine.errors.js.map +1 -0
- package/rule-engine/src/lib/rule-engine.types.d.ts +144 -0
- package/rule-engine/src/lib/rule-engine.types.d.ts.map +1 -0
- package/rule-engine/src/lib/rule-engine.types.js +5 -0
- package/rule-engine/src/lib/rule-engine.types.js.map +1 -0
- package/runtime/src/catalog-sidecars.d.ts +2 -1
- package/runtime/src/catalog-sidecars.d.ts.map +1 -1
- package/runtime/src/catalog-sidecars.js +2 -3
- package/runtime/src/catalog-sidecars.js.map +1 -1
- package/runtime/src/lib/commands/entity-command-keys.d.ts +18 -0
- package/runtime/src/lib/commands/entity-command-keys.d.ts.map +1 -0
- package/runtime/src/lib/commands/entity-command-keys.js +50 -0
- package/runtime/src/lib/commands/entity-command-keys.js.map +1 -0
- package/runtime/src/lib/index.d.ts +7 -0
- package/runtime/src/lib/index.d.ts.map +1 -1
- package/runtime/src/lib/index.js +7 -0
- package/runtime/src/lib/index.js.map +1 -1
- package/runtime/src/lib/plugins/catalog-entity-plugin-definition.d.ts +8 -0
- package/runtime/src/lib/plugins/catalog-entity-plugin-definition.d.ts.map +1 -0
- package/runtime/src/lib/plugins/catalog-entity-plugin-definition.js +13 -0
- package/runtime/src/lib/plugins/catalog-entity-plugin-definition.js.map +1 -0
- package/runtime/src/lib/plugins/define-entity-plugin.d.ts +6 -0
- package/runtime/src/lib/plugins/define-entity-plugin.d.ts.map +1 -0
- package/runtime/src/lib/plugins/define-entity-plugin.js +12 -0
- package/runtime/src/lib/plugins/define-entity-plugin.js.map +1 -0
- package/runtime/src/lib/plugins/entity-plugin-definition.categories.d.ts +2 -0
- package/runtime/src/lib/plugins/entity-plugin-definition.categories.d.ts.map +1 -0
- package/runtime/src/lib/plugins/entity-plugin-definition.categories.js +11 -0
- package/runtime/src/lib/plugins/entity-plugin-definition.categories.js.map +1 -0
- package/runtime/src/lib/plugins/entity-plugin-definition.types.d.ts +105 -0
- package/runtime/src/lib/plugins/entity-plugin-definition.types.d.ts.map +1 -0
- package/runtime/src/lib/plugins/entity-plugin-definition.types.js +10 -0
- package/runtime/src/lib/plugins/entity-plugin-definition.types.js.map +1 -0
- package/runtime/src/lib/shared/catalog-definition-base.types.d.ts +1 -1
- package/runtime/src/lib/shared/catalog-definition-base.types.d.ts.map +1 -1
- package/runtime/src/lib/widgets/catalog-widget-definition.d.ts +8 -0
- package/runtime/src/lib/widgets/catalog-widget-definition.d.ts.map +1 -0
- package/runtime/src/lib/widgets/catalog-widget-definition.js +13 -0
- package/runtime/src/lib/widgets/catalog-widget-definition.js.map +1 -0
- package/runtime/src/lib/widgets/widget-definition.categories.d.ts +30 -0
- package/runtime/src/lib/widgets/widget-definition.categories.d.ts.map +1 -0
- package/runtime/src/lib/widgets/widget-definition.categories.js +148 -0
- package/runtime/src/lib/widgets/widget-definition.categories.js.map +1 -0
- package/core/src/lib/integration/integration-status.constants.d.ts +0 -49
- package/core/src/lib/integration/integration-status.constants.d.ts.map +0 -1
- package/core/src/lib/integration/integration-status.constants.js +0 -57
- package/core/src/lib/integration/integration-status.constants.js.map +0 -1
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
* Re-exports build-time metadata only — do not add Angular modules or runtime services here.
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.defineWidget = void 0;
|
|
8
7
|
const tslib_1 = require("tslib");
|
|
9
8
|
tslib_1.__exportStar(require("./lib/commands/catalog-command-definition"), exports);
|
|
10
9
|
tslib_1.__exportStar(require("./lib/queries/catalog-query-definition"), exports);
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
tslib_1.__exportStar(require("./lib/plugins/catalog-entity-plugin-definition"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./lib/widgets/catalog-widget-definition"), exports);
|
|
13
12
|
//# sourceMappingURL=catalog-sidecars.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog-sidecars.js","sourceRoot":"","sources":["../../../../../../libs/framework/shared/runtime/src/catalog-sidecars.ts"],"names":[],"mappings":";AAAA;;;GAGG
|
|
1
|
+
{"version":3,"file":"catalog-sidecars.js","sourceRoot":"","sources":["../../../../../../libs/framework/shared/runtime/src/catalog-sidecars.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,oFAA0D;AAC1D,iFAAuD;AACvD,yFAA+D;AAC/D,kFAAwD"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type EntityCommandOperation = 'Insert' | 'Update' | 'Delete' | 'Query' | 'GetById';
|
|
2
|
+
export declare const ENTITY_INSERT_DEFAULT: "Entity:Insert:Default";
|
|
3
|
+
export declare const ENTITY_UPDATE_DEFAULT: "Entity:Update:Default";
|
|
4
|
+
export declare const ENTITY_DELETE_DEFAULT: "Entity:Delete:Default";
|
|
5
|
+
export declare const ENTITY_QUERY_DEFAULT: "Entity:Query:Default";
|
|
6
|
+
export declare const ENTITY_GET_BY_ID_DEFAULT: "Entity:GetById:Default";
|
|
7
|
+
export declare function buildEntityCommandKey(module: string, entity: string, operation: EntityCommandOperation): string;
|
|
8
|
+
export interface ParsedEntityCommandKey {
|
|
9
|
+
entity: string;
|
|
10
|
+
operation: EntityCommandOperation;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Parses `Module.Entity:Operation` command/query keys.
|
|
14
|
+
*/
|
|
15
|
+
export declare function parseEntityCommandKey(name: string): ParsedEntityCommandKey | null;
|
|
16
|
+
export declare function isEntityMutationOperation(operation: EntityCommandOperation): operation is 'Insert' | 'Update' | 'Delete';
|
|
17
|
+
export declare function isEntityQueryOperation(operation: EntityCommandOperation): operation is 'Query' | 'GetById';
|
|
18
|
+
//# sourceMappingURL=entity-command-keys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-command-keys.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/entity-command-keys.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,sBAAsB,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;AAE1F,eAAO,MAAM,qBAAqB,EAAG,uBAAgC,CAAC;AACtE,eAAO,MAAM,qBAAqB,EAAG,uBAAgC,CAAC;AACtE,eAAO,MAAM,qBAAqB,EAAG,uBAAgC,CAAC;AACtE,eAAO,MAAM,oBAAoB,EAAG,sBAA+B,CAAC;AACpE,eAAO,MAAM,wBAAwB,EAAG,wBAAiC,CAAC;AAU1E,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,sBAAsB,GAChC,MAAM,CAER;AAED,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,sBAAsB,CAAC;CACnC;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,sBAAsB,GAAG,IAAI,CAkBjF;AAED,wBAAgB,yBAAyB,CACvC,SAAS,EAAE,sBAAsB,GAChC,SAAS,IAAI,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAE7C;AAED,wBAAgB,sBAAsB,CACpC,SAAS,EAAE,sBAAsB,GAChC,SAAS,IAAI,OAAO,GAAG,SAAS,CAElC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region ---- Entity command keys ----
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ENTITY_GET_BY_ID_DEFAULT = exports.ENTITY_QUERY_DEFAULT = exports.ENTITY_DELETE_DEFAULT = exports.ENTITY_UPDATE_DEFAULT = exports.ENTITY_INSERT_DEFAULT = void 0;
|
|
5
|
+
exports.buildEntityCommandKey = buildEntityCommandKey;
|
|
6
|
+
exports.parseEntityCommandKey = parseEntityCommandKey;
|
|
7
|
+
exports.isEntityMutationOperation = isEntityMutationOperation;
|
|
8
|
+
exports.isEntityQueryOperation = isEntityQueryOperation;
|
|
9
|
+
exports.ENTITY_INSERT_DEFAULT = 'Entity:Insert:Default';
|
|
10
|
+
exports.ENTITY_UPDATE_DEFAULT = 'Entity:Update:Default';
|
|
11
|
+
exports.ENTITY_DELETE_DEFAULT = 'Entity:Delete:Default';
|
|
12
|
+
exports.ENTITY_QUERY_DEFAULT = 'Entity:Query:Default';
|
|
13
|
+
exports.ENTITY_GET_BY_ID_DEFAULT = 'Entity:GetById:Default';
|
|
14
|
+
const ENTITY_OPERATIONS = new Set([
|
|
15
|
+
'Insert',
|
|
16
|
+
'Update',
|
|
17
|
+
'Delete',
|
|
18
|
+
'Query',
|
|
19
|
+
'GetById',
|
|
20
|
+
]);
|
|
21
|
+
function buildEntityCommandKey(module, entity, operation) {
|
|
22
|
+
return `${module}.${entity}:${operation}`;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Parses `Module.Entity:Operation` command/query keys.
|
|
26
|
+
*/
|
|
27
|
+
function parseEntityCommandKey(name) {
|
|
28
|
+
const trimmed = name.trim();
|
|
29
|
+
const colonIndex = trimmed.lastIndexOf(':');
|
|
30
|
+
if (colonIndex <= 0 || colonIndex === trimmed.length - 1) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
const entity = trimmed.slice(0, colonIndex).trim();
|
|
34
|
+
const operation = trimmed.slice(colonIndex + 1).trim();
|
|
35
|
+
if (!entity.includes('.')) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
if (!ENTITY_OPERATIONS.has(operation)) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return { entity, operation };
|
|
42
|
+
}
|
|
43
|
+
function isEntityMutationOperation(operation) {
|
|
44
|
+
return operation === 'Insert' || operation === 'Update' || operation === 'Delete';
|
|
45
|
+
}
|
|
46
|
+
function isEntityQueryOperation(operation) {
|
|
47
|
+
return operation === 'Query' || operation === 'GetById';
|
|
48
|
+
}
|
|
49
|
+
//#endregion
|
|
50
|
+
//# sourceMappingURL=entity-command-keys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-command-keys.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/commands/entity-command-keys.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAkBvC,sDAMC;AAUD,sDAkBC;AAED,8DAIC;AAED,wDAIC;AA5DY,QAAA,qBAAqB,GAAG,uBAAgC,CAAC;AACzD,QAAA,qBAAqB,GAAG,uBAAgC,CAAC;AACzD,QAAA,qBAAqB,GAAG,uBAAgC,CAAC;AACzD,QAAA,oBAAoB,GAAG,sBAA+B,CAAC;AACvD,QAAA,wBAAwB,GAAG,wBAAiC,CAAC;AAE1E,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAyB;IACxD,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,OAAO;IACP,SAAS;CACV,CAAC,CAAC;AAEH,SAAgB,qBAAqB,CACnC,MAAc,EACd,MAAc,EACd,SAAiC;IAEjC,OAAO,GAAG,MAAM,IAAI,MAAM,IAAI,SAAS,EAAE,CAAC;AAC5C,CAAC;AAOD;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAAY;IAChD,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;IAC5B,MAAM,UAAU,GAAG,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAC5C,IAAI,UAAU,IAAI,CAAC,IAAI,UAAU,KAAK,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACzD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,IAAI,EAAE,CAAC;IACnD,MAAM,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC,IAAI,EAA4B,CAAC;IAEjF,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC;QACtC,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;AAC/B,CAAC;AAED,SAAgB,yBAAyB,CACvC,SAAiC;IAEjC,OAAO,SAAS,KAAK,QAAQ,IAAI,SAAS,KAAK,QAAQ,IAAI,SAAS,KAAK,QAAQ,CAAC;AACpF,CAAC;AAED,SAAgB,sBAAsB,CACpC,SAAiC;IAEjC,OAAO,SAAS,KAAK,OAAO,IAAI,SAAS,KAAK,SAAS,CAAC;AAC1D,CAAC;AAED,YAAY"}
|
|
@@ -5,6 +5,7 @@ export * from './commands/command-definition.types';
|
|
|
5
5
|
export * from './commands/command-definition.categories';
|
|
6
6
|
export * from './commands/define-command';
|
|
7
7
|
export * from './commands/catalog-command-definition';
|
|
8
|
+
export * from './commands/entity-command-keys';
|
|
8
9
|
export * from './queries/query.interface';
|
|
9
10
|
export * from './queries/query-definition.types';
|
|
10
11
|
export * from './queries/query-definition.categories';
|
|
@@ -12,5 +13,11 @@ export * from './queries/define-query';
|
|
|
12
13
|
export * from './queries/catalog-query-definition';
|
|
13
14
|
export * from './views/view.interface';
|
|
14
15
|
export * from './widgets/widget-definition.types';
|
|
16
|
+
export * from './widgets/widget-definition.categories';
|
|
15
17
|
export * from './widgets/define-widget';
|
|
18
|
+
export * from './widgets/catalog-widget-definition';
|
|
19
|
+
export * from './plugins/entity-plugin-definition.types';
|
|
20
|
+
export * from './plugins/entity-plugin-definition.categories';
|
|
21
|
+
export * from './plugins/define-entity-plugin';
|
|
22
|
+
export * from './plugins/catalog-entity-plugin-definition';
|
|
16
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../libs/framework/shared/runtime/src/lib/index.ts"],"names":[],"mappings":"AAEA,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AAEvD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,0CAA0C,CAAC;AACzD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uCAAuC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../libs/framework/shared/runtime/src/lib/index.ts"],"names":[],"mappings":"AAEA,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AAEvD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,0CAA0C,CAAC;AACzD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uCAAuC,CAAC;AACtD,cAAc,gCAAgC,CAAC;AAE/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,wBAAwB,CAAC;AACvC,cAAc,oCAAoC,CAAC;AAEnD,cAAc,wBAAwB,CAAC;AAEvC,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,yBAAyB,CAAC;AACxC,cAAc,qCAAqC,CAAC;AAGpD,cAAc,0CAA0C,CAAC;AACzD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4CAA4C,CAAC"}
|
package/runtime/src/lib/index.js
CHANGED
|
@@ -9,6 +9,7 @@ tslib_1.__exportStar(require("./commands/command-definition.types"), exports);
|
|
|
9
9
|
tslib_1.__exportStar(require("./commands/command-definition.categories"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./commands/define-command"), exports);
|
|
11
11
|
tslib_1.__exportStar(require("./commands/catalog-command-definition"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./commands/entity-command-keys"), exports);
|
|
12
13
|
tslib_1.__exportStar(require("./queries/query.interface"), exports);
|
|
13
14
|
tslib_1.__exportStar(require("./queries/query-definition.types"), exports);
|
|
14
15
|
tslib_1.__exportStar(require("./queries/query-definition.categories"), exports);
|
|
@@ -16,6 +17,12 @@ tslib_1.__exportStar(require("./queries/define-query"), exports);
|
|
|
16
17
|
tslib_1.__exportStar(require("./queries/catalog-query-definition"), exports);
|
|
17
18
|
tslib_1.__exportStar(require("./views/view.interface"), exports);
|
|
18
19
|
tslib_1.__exportStar(require("./widgets/widget-definition.types"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./widgets/widget-definition.categories"), exports);
|
|
19
21
|
tslib_1.__exportStar(require("./widgets/define-widget"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./widgets/catalog-widget-definition"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./plugins/entity-plugin-definition.types"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./plugins/entity-plugin-definition.categories"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./plugins/define-entity-plugin"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./plugins/catalog-entity-plugin-definition"), exports);
|
|
20
27
|
//#endregion
|
|
21
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/framework/shared/runtime/src/lib/index.ts"],"names":[],"mappings":";AAAA,qCAAqC;;;AAErC,iFAAuD;AACvD,iFAAuD;AAEvD,uEAA6C;AAC7C,8EAAoD;AACpD,mFAAyD;AACzD,oEAA0C;AAC1C,gFAAsD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/framework/shared/runtime/src/lib/index.ts"],"names":[],"mappings":";AAAA,qCAAqC;;;AAErC,iFAAuD;AACvD,iFAAuD;AAEvD,uEAA6C;AAC7C,8EAAoD;AACpD,mFAAyD;AACzD,oEAA0C;AAC1C,gFAAsD;AACtD,yEAA+C;AAE/C,oEAA0C;AAC1C,2EAAiD;AACjD,gFAAsD;AACtD,iEAAuC;AACvC,6EAAmD;AAEnD,iEAAuC;AAEvC,4EAAkD;AAClD,iFAAuD;AACvD,kEAAwC;AACxC,8EAAoD;AAGpD,mFAAyD;AACzD,wFAA8D;AAC9D,yEAA+C;AAC/C,qFAA2D;AAE3D,YAAY"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Build-time entity plugin metadata only. Safe under Node (generate-runtime-catalog) without Angular.
|
|
3
|
+
* Sidecars should import `defineEntityPlugin` from `@acorex-platform/framework-shared/runtime`.
|
|
4
|
+
*/
|
|
5
|
+
export { defineEntityPlugin } from './define-entity-plugin';
|
|
6
|
+
export * from './entity-plugin-definition.categories';
|
|
7
|
+
export * from './entity-plugin-definition.types';
|
|
8
|
+
//# sourceMappingURL=catalog-entity-plugin-definition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog-entity-plugin-definition.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/plugins/catalog-entity-plugin-definition.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,cAAc,uCAAuC,CAAC;AACtD,cAAc,kCAAkC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defineEntityPlugin = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
/**
|
|
6
|
+
* Build-time entity plugin metadata only. Safe under Node (generate-runtime-catalog) without Angular.
|
|
7
|
+
* Sidecars should import `defineEntityPlugin` from `@acorex-platform/framework-shared/runtime`.
|
|
8
|
+
*/
|
|
9
|
+
var define_entity_plugin_1 = require("./define-entity-plugin");
|
|
10
|
+
Object.defineProperty(exports, "defineEntityPlugin", { enumerable: true, get: function () { return define_entity_plugin_1.defineEntityPlugin; } });
|
|
11
|
+
tslib_1.__exportStar(require("./entity-plugin-definition.categories"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./entity-plugin-definition.types"), exports);
|
|
13
|
+
//# sourceMappingURL=catalog-entity-plugin-definition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog-entity-plugin-definition.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/plugins/catalog-entity-plugin-definition.ts"],"names":[],"mappings":";;;;AAAA;;;GAGG;AACH,+DAA4D;AAAnD,0HAAA,kBAAkB,OAAA;AAC3B,gFAAsD;AACtD,2EAAiD"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { AXPEntityPluginMetadataDefinition } from './entity-plugin-definition.types';
|
|
2
|
+
/**
|
|
3
|
+
* Typed identity helper for entity plugin metadata sidecars (`*.plugin.definition.ts`).
|
|
4
|
+
*/
|
|
5
|
+
export declare function defineEntityPlugin<T extends AXPEntityPluginMetadataDefinition>(definition: T): T;
|
|
6
|
+
//# sourceMappingURL=define-entity-plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"define-entity-plugin.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/plugins/define-entity-plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AAI1F;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,iCAAiC,EAAE,UAAU,EAAE,CAAC,GAAG,CAAC,CAEhG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defineEntityPlugin = defineEntityPlugin;
|
|
4
|
+
//#region ---- defineEntityPlugin ----
|
|
5
|
+
/**
|
|
6
|
+
* Typed identity helper for entity plugin metadata sidecars (`*.plugin.definition.ts`).
|
|
7
|
+
*/
|
|
8
|
+
function defineEntityPlugin(definition) {
|
|
9
|
+
return definition;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
//# sourceMappingURL=define-entity-plugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"define-entity-plugin.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/plugins/define-entity-plugin.ts"],"names":[],"mappings":";;AAOA,gDAEC;AAPD,sCAAsC;AAEtC;;GAEG;AACH,SAAgB,kBAAkB,CAA8C,UAAa;IAC3F,OAAO,UAAU,CAAC;AACpB,CAAC;AAED,YAAY"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { AXP_CATALOG_DEFINITION_CATEGORY_AI_TOOLS as AXP_ENTITY_PLUGIN_DEFINITION_CATEGORY_AI_TOOLS, AXP_CATALOG_DEFINITION_CATEGORY_DATA_MANAGEMENT as AXP_ENTITY_PLUGIN_DEFINITION_CATEGORY_DATA_MANAGEMENT, AXP_CATALOG_DEFINITION_CATEGORY_ENTITY as AXP_ENTITY_PLUGIN_DEFINITION_CATEGORY_ENTITY, AXP_CATALOG_DEFINITION_CATEGORY_PLATFORM as AXP_ENTITY_PLUGIN_DEFINITION_CATEGORY_PLATFORM, AXP_CATALOG_DEFINITION_CATEGORY_UTILITY as AXP_ENTITY_PLUGIN_DEFINITION_CATEGORY_UTILITY, AXP_CATALOG_DEFINITION_CATEGORY_WORKFLOW as AXP_ENTITY_PLUGIN_DEFINITION_CATEGORY_WORKFLOW, } from '../shared/catalog-definition.categories';
|
|
2
|
+
//# sourceMappingURL=entity-plugin-definition.categories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-plugin-definition.categories.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/plugins/entity-plugin-definition.categories.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wCAAwC,IAAI,8CAA8C,EAC1F,+CAA+C,IAAI,qDAAqD,EACxG,sCAAsC,IAAI,4CAA4C,EACtF,wCAAwC,IAAI,8CAA8C,EAC1F,uCAAuC,IAAI,6CAA6C,EACxF,wCAAwC,IAAI,8CAA8C,GAC3F,MAAM,yCAAyC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AXP_ENTITY_PLUGIN_DEFINITION_CATEGORY_WORKFLOW = exports.AXP_ENTITY_PLUGIN_DEFINITION_CATEGORY_UTILITY = exports.AXP_ENTITY_PLUGIN_DEFINITION_CATEGORY_PLATFORM = exports.AXP_ENTITY_PLUGIN_DEFINITION_CATEGORY_ENTITY = exports.AXP_ENTITY_PLUGIN_DEFINITION_CATEGORY_DATA_MANAGEMENT = exports.AXP_ENTITY_PLUGIN_DEFINITION_CATEGORY_AI_TOOLS = void 0;
|
|
4
|
+
var catalog_definition_categories_1 = require("../shared/catalog-definition.categories");
|
|
5
|
+
Object.defineProperty(exports, "AXP_ENTITY_PLUGIN_DEFINITION_CATEGORY_AI_TOOLS", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_AI_TOOLS; } });
|
|
6
|
+
Object.defineProperty(exports, "AXP_ENTITY_PLUGIN_DEFINITION_CATEGORY_DATA_MANAGEMENT", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_DATA_MANAGEMENT; } });
|
|
7
|
+
Object.defineProperty(exports, "AXP_ENTITY_PLUGIN_DEFINITION_CATEGORY_ENTITY", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_ENTITY; } });
|
|
8
|
+
Object.defineProperty(exports, "AXP_ENTITY_PLUGIN_DEFINITION_CATEGORY_PLATFORM", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_PLATFORM; } });
|
|
9
|
+
Object.defineProperty(exports, "AXP_ENTITY_PLUGIN_DEFINITION_CATEGORY_UTILITY", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_UTILITY; } });
|
|
10
|
+
Object.defineProperty(exports, "AXP_ENTITY_PLUGIN_DEFINITION_CATEGORY_WORKFLOW", { enumerable: true, get: function () { return catalog_definition_categories_1.AXP_CATALOG_DEFINITION_CATEGORY_WORKFLOW; } });
|
|
11
|
+
//# sourceMappingURL=entity-plugin-definition.categories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-plugin-definition.categories.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/plugins/entity-plugin-definition.categories.ts"],"names":[],"mappings":";;;AAAA,yFAOiD;AAN/C,+JAAA,wCAAwC,OAAkD;AAC1F,sKAAA,+CAA+C,OAAyD;AACxG,6JAAA,sCAAsC,OAAgD;AACtF,+JAAA,wCAAwC,OAAkD;AAC1F,8JAAA,uCAAuC,OAAiD;AACxF,+JAAA,wCAAwC,OAAkD"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Build-time entity plugin metadata for {@link AXPEntityActionPlugin} sidecars.
|
|
3
|
+
* `options` describe plugin configuration (like command `inputs`).
|
|
4
|
+
* `contributes` declares what the plugin adds to a host entity (properties, columns, actions, …).
|
|
5
|
+
* Sidecars should import `defineEntityPlugin` from `@acorex-platform/framework-shared/runtime`.
|
|
6
|
+
*/
|
|
7
|
+
import type { AXPCatalogAiMetadata, AXPCatalogCapability, AXPCatalogMetadataDefinitionBase, AXPCatalogSchemaPropertyDefinition } from '../shared/catalog-definition-base.types';
|
|
8
|
+
import type { AXPDefinitionCategory } from '@acorex-platform/framework-shared/core';
|
|
9
|
+
/**
|
|
10
|
+
* One host-entity property contributed by the plugin.
|
|
11
|
+
* When {@link nameFromOption} is set, runtime name is `options[nameFromOption] ?? name`.
|
|
12
|
+
*/
|
|
13
|
+
export interface AXPEntityPluginContributedProperty {
|
|
14
|
+
/** Default / fixed property name on the host entity. */
|
|
15
|
+
name: string;
|
|
16
|
+
/** When set, host property name is taken from this plugin option key (fallback: {@link name}). */
|
|
17
|
+
nameFromOption?: string;
|
|
18
|
+
title: string;
|
|
19
|
+
description?: string;
|
|
20
|
+
dataType: string;
|
|
21
|
+
interface?: {
|
|
22
|
+
name: string;
|
|
23
|
+
options?: Record<string, unknown>;
|
|
24
|
+
};
|
|
25
|
+
readonly?: boolean;
|
|
26
|
+
nullable?: boolean;
|
|
27
|
+
required?: boolean;
|
|
28
|
+
/** Default group id when the plugin creates/uses a group. */
|
|
29
|
+
groupId?: string;
|
|
30
|
+
/** When contribution depends on options or primary resolution. */
|
|
31
|
+
condition?: string;
|
|
32
|
+
/** Extra notes for AI / schema tooling (not applied at runtime). */
|
|
33
|
+
notes?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface AXPEntityPluginContributedColumn {
|
|
36
|
+
/** Default / fixed column name (usually matches a property). */
|
|
37
|
+
name: string;
|
|
38
|
+
nameFromOption?: string;
|
|
39
|
+
title?: string;
|
|
40
|
+
/** e.g. `options.column !== false` */
|
|
41
|
+
condition?: string;
|
|
42
|
+
notes?: string;
|
|
43
|
+
}
|
|
44
|
+
export interface AXPEntityPluginContributedGroup {
|
|
45
|
+
id: string;
|
|
46
|
+
/** When set, group id comes from this option key (fallback: {@link id}). */
|
|
47
|
+
idFromOption?: string;
|
|
48
|
+
title: string;
|
|
49
|
+
condition?: string;
|
|
50
|
+
}
|
|
51
|
+
export interface AXPEntityPluginContributedAction {
|
|
52
|
+
/** Runtime command key or action name as registered on list/single. */
|
|
53
|
+
name: string;
|
|
54
|
+
scope?: 'list' | 'single' | 'both';
|
|
55
|
+
title?: string;
|
|
56
|
+
condition?: string;
|
|
57
|
+
notes?: string;
|
|
58
|
+
}
|
|
59
|
+
export interface AXPEntityPluginContributedPage {
|
|
60
|
+
/** Page type / component key (e.g. `entity-version-history-page`). */
|
|
61
|
+
name: string;
|
|
62
|
+
condition?: string;
|
|
63
|
+
notes?: string;
|
|
64
|
+
}
|
|
65
|
+
export interface AXPEntityPluginContributedRelatedEntity {
|
|
66
|
+
entity: string;
|
|
67
|
+
condition?: string;
|
|
68
|
+
notes?: string;
|
|
69
|
+
}
|
|
70
|
+
export interface AXPEntityPluginContributions {
|
|
71
|
+
properties?: AXPEntityPluginContributedProperty[];
|
|
72
|
+
columns?: AXPEntityPluginContributedColumn[];
|
|
73
|
+
groups?: AXPEntityPluginContributedGroup[];
|
|
74
|
+
actions?: AXPEntityPluginContributedAction[];
|
|
75
|
+
pages?: AXPEntityPluginContributedPage[];
|
|
76
|
+
relatedEntities?: AXPEntityPluginContributedRelatedEntity[];
|
|
77
|
+
/**
|
|
78
|
+
* Keys written under `extensions.*` for middleware (e.g. `category`, `attachments`).
|
|
79
|
+
*/
|
|
80
|
+
extensionKeys?: string[];
|
|
81
|
+
/**
|
|
82
|
+
* Server-side companions tied to this plugin (seed builders, middleware).
|
|
83
|
+
*/
|
|
84
|
+
serverCompanions?: string[];
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Build-time metadata for one entity plugin.
|
|
88
|
+
* Extends catalog base but uses `options` (not `inputs`) for plugin configuration schema.
|
|
89
|
+
*/
|
|
90
|
+
export interface AXPEntityPluginMetadataDefinition extends Omit<AXPCatalogMetadataDefinitionBase, 'inputs' | 'outputs'> {
|
|
91
|
+
/** Runtime plugin name (`AXPEntityActionPlugin.name` / `entity.plugins[].name`). */
|
|
92
|
+
name: string;
|
|
93
|
+
/** Optional apply order (mirrors runtime `order`). */
|
|
94
|
+
order?: number;
|
|
95
|
+
/** Source module area for discoverability (e.g. `common`, `document-management`). */
|
|
96
|
+
sourceModule?: string;
|
|
97
|
+
/** Plugin options schema (stored as optionDefinitions on the catalog entity). */
|
|
98
|
+
options?: AXPCatalogSchemaPropertyDefinition[];
|
|
99
|
+
/** Declarative host-entity contributions for schema/UI/AI. */
|
|
100
|
+
contributes: AXPEntityPluginContributions;
|
|
101
|
+
ai?: AXPCatalogAiMetadata;
|
|
102
|
+
capabilities?: AXPCatalogCapability[];
|
|
103
|
+
categories?: AXPDefinitionCategory | AXPDefinitionCategory[];
|
|
104
|
+
}
|
|
105
|
+
//# sourceMappingURL=entity-plugin-definition.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-plugin-definition.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/plugins/entity-plugin-definition.types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EACpB,gCAAgC,EAChC,kCAAkC,EACnC,MAAM,yCAAyC,CAAC;AACjD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF;;;GAGG;AACH,MAAM,WAAW,kCAAkC;IACjD,wDAAwD;IACxD,IAAI,EAAE,MAAM,CAAC;IACb,kGAAkG;IAClG,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE;QACV,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,CAA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KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,4BAA4B;IAC3C,UAAU,CAAC,EAAE,kCAAkC,EAAE,CAAC;IAClD,OAAO,CAAC,EAAE,gCAAgC,EAAE,CAAC;IAC7C,MAAM,CAAC,EAAE,+BAA+B,EAAE,CAAC;IAC3C,OAAO,CAAC,EAAE,gCAAgC,EAAE,CAAC;IAC7C,KAAK,CAAC,EAAE,8BAA8B,EAAE,CAAC;IACzC,eAAe,CAAC,EAAE,uCAAuC,EAAE,CAAC;IAC5D;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B;AAMD;;;GAGG;AACH,MAAM,WAAW,iCACf,SAAQ,IAAI,CAAC,gCAAgC,EAAE,QAAQ,GAAG,SAAS,CAAC;IACpE,oFAAoF;IACpF,IAAI,EAAE,MAAM,CAAC;IACb,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qFAAqF;IACrF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iFAAiF;IACjF,OAAO,CAAC,EAAE,kCAAkC,EAAE,CAAC;IAC/C,8DAA8D;IAC9D,WAAW,EAAE,4BAA4B,CAAC;IAC1C,EAAE,CAAC,EAAE,oBAAoB,CAAC;IAC1B,YAAY,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACtC,UAAU,CAAC,EAAE,qBAAqB,GAAG,qBAAqB,EAAE,CAAC;CAC9D"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Build-time entity plugin metadata for {@link AXPEntityActionPlugin} sidecars.
|
|
4
|
+
* `options` describe plugin configuration (like command `inputs`).
|
|
5
|
+
* `contributes` declares what the plugin adds to a host entity (properties, columns, actions, …).
|
|
6
|
+
* Sidecars should import `defineEntityPlugin` from `@acorex-platform/framework-shared/runtime`.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
//#endregion
|
|
10
|
+
//# sourceMappingURL=entity-plugin-definition.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-plugin-definition.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/plugins/entity-plugin-definition.types.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAyHH,YAAY"}
|
|
@@ -117,7 +117,7 @@ export type AXPCatalogExecutionMode = 'frontend' | 'backend' | 'both';
|
|
|
117
117
|
* Where this catalog entry is intended to appear in product tooling (AI agents, workflow automation pickers, etc.).
|
|
118
118
|
* Omitted = not declared here; runtimes may fall back to other metadata (e.g. `ai.tags`).
|
|
119
119
|
*/
|
|
120
|
-
export type AXPCatalogCapability = 'ai' | 'workflow';
|
|
120
|
+
export type AXPCatalogCapability = 'ai' | 'workflow' | 'background-job';
|
|
121
121
|
export interface AXPCatalogMetadataDefinitionBase {
|
|
122
122
|
title: string;
|
|
123
123
|
description: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog-definition-base.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/shared/catalog-definition-base.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,0EAA0E;AAC1E,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,kCAAkC;IACjD,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC7C,6EAA6E;IAC7E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E,2BAA2B,CAAC;IACnC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAClD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oDAAoD;IACpD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,oBAAoB;IACnC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,CAAC,EAAE,yBAAyB,CAAC;IAClC,SAAS,CAAC,EAAE,6BAA6B,CAAC;IAC1C,MAAM,CAAC,EAAE,0BAA0B,CAAC;IACpC,WAAW,CAAC,EAAE,+BAA+B,CAAC;IAC9C,SAAS,CAAC,EAAE,4BAA4B,EAAE,CAAC;IAC3C,eAAe,CAAC,EAAE,mCAAmC,CAAC;IACtD;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5C;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChD;AAMD,MAAM,MAAM,uBAAuB,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,CAAC;AAEtE;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG,IAAI,GAAG,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog-definition-base.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/shared/catalog-definition-base.types.ts"],"names":[],"mappings":"AAAA;;;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AAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5C;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChD;AAMD,MAAM,MAAM,uBAAuB,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,CAAC;AAEtE;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG,IAAI,GAAG,UAAU,GAAG,gBAAgB,CAAC;AAMxE,MAAM,WAAW,gCAAgC;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,kCAAkC,EAAE,CAAC;IAC9C,OAAO,CAAC,EAAE,kCAAkC,EAAE,CAAC;IAC/C,EAAE,CAAC,EAAE,oBAAoB,CAAC;IAC1B,YAAY,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACtC,UAAU,CAAC,EAAE,qBAAqB,GAAG,qBAAqB,EAAE,CAAC;CAC9D"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Build-time widget metadata only. Safe under Node (generate-runtime-catalog) without Angular.
|
|
3
|
+
* Sidecars should import `defineWidget` from `@acorex-platform/framework-shared/runtime`.
|
|
4
|
+
*/
|
|
5
|
+
export { defineWidget } from './define-widget';
|
|
6
|
+
export * from './widget-definition.categories';
|
|
7
|
+
export * from './widget-definition.types';
|
|
8
|
+
//# sourceMappingURL=catalog-widget-definition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog-widget-definition.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/widgets/catalog-widget-definition.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defineWidget = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
/**
|
|
6
|
+
* Build-time widget metadata only. Safe under Node (generate-runtime-catalog) without Angular.
|
|
7
|
+
* Sidecars should import `defineWidget` from `@acorex-platform/framework-shared/runtime`.
|
|
8
|
+
*/
|
|
9
|
+
var define_widget_1 = require("./define-widget");
|
|
10
|
+
Object.defineProperty(exports, "defineWidget", { enumerable: true, get: function () { return define_widget_1.defineWidget; } });
|
|
11
|
+
tslib_1.__exportStar(require("./widget-definition.categories"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./widget-definition.types"), exports);
|
|
13
|
+
//# sourceMappingURL=catalog-widget-definition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog-widget-definition.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/widgets/catalog-widget-definition.ts"],"names":[],"mappings":";;;;AAAA;;;GAGG;AACH,iDAA+C;AAAtC,6GAAA,YAAY,OAAA;AACrB,yEAA+C;AAC/C,oEAA0C"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { AXPDefinitionCategory } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
export declare const AXP_WIDGETS_EDITOR_SUB_TEXT_INPUTS: AXPDefinitionCategory;
|
|
3
|
+
export declare const AXP_WIDGETS_EDITOR_SUB_NUMERIC: AXPDefinitionCategory;
|
|
4
|
+
export declare const AXP_WIDGETS_EDITOR_SUB_DATETIME: AXPDefinitionCategory;
|
|
5
|
+
export declare const AXP_WIDGETS_EDITOR_SUB_CHOICE: AXPDefinitionCategory;
|
|
6
|
+
export declare const AXP_WIDGETS_EDITOR_SUB_RICH: AXPDefinitionCategory;
|
|
7
|
+
export declare const AXP_WIDGETS_EDITOR_SUB_VISUAL: AXPDefinitionCategory;
|
|
8
|
+
export declare const AXP_WIDGETS_EDITOR_SUB_COMPOSITE: AXPDefinitionCategory;
|
|
9
|
+
export declare const AXP_WIDGETS_EDITOR_SUB_CONFIG: AXPDefinitionCategory;
|
|
10
|
+
export declare const AXP_WIDGETS_LAYOUT_SUB_SHELL: AXPDefinitionCategory;
|
|
11
|
+
export declare const AXP_WIDGETS_LAYOUT_SUB_GRID: AXPDefinitionCategory;
|
|
12
|
+
export declare const AXP_WIDGETS_LAYOUT_SUB_SURFACES: AXPDefinitionCategory;
|
|
13
|
+
export declare const AXP_WIDGETS_LAYOUT_SUB_TABS: AXPDefinitionCategory;
|
|
14
|
+
export declare const AXP_WIDGETS_LAYOUT_SUB_LISTS: AXPDefinitionCategory;
|
|
15
|
+
export declare const AXP_WIDGETS_LAYOUT_SUB_UTILITY: AXPDefinitionCategory;
|
|
16
|
+
export declare const AXP_WIDGETS_ACTION_SUB_CONTROLS: AXPDefinitionCategory;
|
|
17
|
+
export declare const AXP_WIDGETS_ADVANCE_SUB_MEDIA: AXPDefinitionCategory;
|
|
18
|
+
export declare const AXP_WIDGETS_ADVANCE_SUB_INPUT: AXPDefinitionCategory;
|
|
19
|
+
export declare const AXP_WIDGETS_ADVANCE_SUB_DATA: AXPDefinitionCategory;
|
|
20
|
+
export declare const AXP_WIDGETS_ADVANCE_SUB_TOOLS: AXPDefinitionCategory;
|
|
21
|
+
/** Normalizes widget categories to an array for iteration and serialization. */
|
|
22
|
+
export declare function normalizeWidgetCategories(categories?: AXPDefinitionCategory | AXPDefinitionCategory[]): AXPDefinitionCategory[];
|
|
23
|
+
export declare const AXP_WIDGETS_LAYOUT_CATEGORY: AXPDefinitionCategory;
|
|
24
|
+
export declare const AXP_WIDGETS_EDITOR_CATEGORY: AXPDefinitionCategory;
|
|
25
|
+
export declare const AXP_WIDGETS_ACTION_CATEGORY: AXPDefinitionCategory;
|
|
26
|
+
export declare const AXP_WIDGETS_ADVANCE_CATEGORY: AXPDefinitionCategory;
|
|
27
|
+
/** AI category tab in the widget picker (metadata); unrelated to Widgets:GetForAI listing scope. */
|
|
28
|
+
export declare const AXP_WIDGETS_AI_CATEGORY: AXPDefinitionCategory;
|
|
29
|
+
export declare const AXP_WIDGETS_CATEGORIES: AXPDefinitionCategory[];
|
|
30
|
+
//# sourceMappingURL=widget-definition.categories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-definition.categories.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/runtime/src/lib/widgets/widget-definition.categories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,eAAO,MAAM,kCAAkC,EAAE,qBAIhD,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,qBAI5C,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,qBAI7C,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,qBAI3C,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,qBAIzC,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,qBAI3C,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,qBAI9C,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,qBAI3C,CAAC;AAMF,eAAO,MAAM,4BAA4B,EAAE,qBAI1C,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,qBAIzC,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,qBAI7C,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,qBAIzC,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,qBAI1C,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,qBAI5C,CAAC;AAMF,eAAO,MAAM,+BAA+B,EAAE,qBAI7C,CAAC;AAMF,eAAO,MAAM,6BAA6B,EAAE,qBAI3C,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,qBAI3C,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,qBAI1C,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,qBAI3C,CAAC;AAIF,gFAAgF;AAChF,wBAAgB,yBAAyB,CACvC,UAAU,CAAC,EAAE,qBAAqB,GAAG,qBAAqB,EAAE,GAC3D,qBAAqB,EAAE,CAKzB;AAED,eAAO,MAAM,2BAA2B,EAAE,qBAIzC,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,qBAIzC,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,qBAIzC,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,qBAI1C,CAAC;AAEF,oGAAoG;AACpG,eAAO,MAAM,uBAAuB,EAAE,qBAIrC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,qBAAqB,EAMzD,CAAC"}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AXP_WIDGETS_CATEGORIES = exports.AXP_WIDGETS_AI_CATEGORY = exports.AXP_WIDGETS_ADVANCE_CATEGORY = exports.AXP_WIDGETS_ACTION_CATEGORY = exports.AXP_WIDGETS_EDITOR_CATEGORY = exports.AXP_WIDGETS_LAYOUT_CATEGORY = exports.AXP_WIDGETS_ADVANCE_SUB_TOOLS = exports.AXP_WIDGETS_ADVANCE_SUB_DATA = exports.AXP_WIDGETS_ADVANCE_SUB_INPUT = exports.AXP_WIDGETS_ADVANCE_SUB_MEDIA = exports.AXP_WIDGETS_ACTION_SUB_CONTROLS = exports.AXP_WIDGETS_LAYOUT_SUB_UTILITY = exports.AXP_WIDGETS_LAYOUT_SUB_LISTS = exports.AXP_WIDGETS_LAYOUT_SUB_TABS = exports.AXP_WIDGETS_LAYOUT_SUB_SURFACES = exports.AXP_WIDGETS_LAYOUT_SUB_GRID = exports.AXP_WIDGETS_LAYOUT_SUB_SHELL = exports.AXP_WIDGETS_EDITOR_SUB_CONFIG = exports.AXP_WIDGETS_EDITOR_SUB_COMPOSITE = exports.AXP_WIDGETS_EDITOR_SUB_VISUAL = exports.AXP_WIDGETS_EDITOR_SUB_RICH = exports.AXP_WIDGETS_EDITOR_SUB_CHOICE = exports.AXP_WIDGETS_EDITOR_SUB_DATETIME = exports.AXP_WIDGETS_EDITOR_SUB_NUMERIC = exports.AXP_WIDGETS_EDITOR_SUB_TEXT_INPUTS = void 0;
|
|
4
|
+
exports.normalizeWidgetCategories = normalizeWidgetCategories;
|
|
5
|
+
//#region ---- Editor sub-categories (widget picker) ----
|
|
6
|
+
exports.AXP_WIDGETS_EDITOR_SUB_TEXT_INPUTS = {
|
|
7
|
+
name: 'editor-text-inputs',
|
|
8
|
+
order: 1,
|
|
9
|
+
title: '@platform-layout-widgets:subcategories.editor-text-inputs.title',
|
|
10
|
+
};
|
|
11
|
+
exports.AXP_WIDGETS_EDITOR_SUB_NUMERIC = {
|
|
12
|
+
name: 'editor-numeric',
|
|
13
|
+
order: 2,
|
|
14
|
+
title: '@platform-layout-widgets:subcategories.editor-numeric.title',
|
|
15
|
+
};
|
|
16
|
+
exports.AXP_WIDGETS_EDITOR_SUB_DATETIME = {
|
|
17
|
+
name: 'editor-datetime',
|
|
18
|
+
order: 3,
|
|
19
|
+
title: '@platform-layout-widgets:subcategories.editor-datetime.title',
|
|
20
|
+
};
|
|
21
|
+
exports.AXP_WIDGETS_EDITOR_SUB_CHOICE = {
|
|
22
|
+
name: 'editor-choice',
|
|
23
|
+
order: 4,
|
|
24
|
+
title: '@platform-layout-widgets:subcategories.editor-choice.title',
|
|
25
|
+
};
|
|
26
|
+
exports.AXP_WIDGETS_EDITOR_SUB_RICH = {
|
|
27
|
+
name: 'editor-rich',
|
|
28
|
+
order: 5,
|
|
29
|
+
title: '@platform-layout-widgets:subcategories.editor-rich.title',
|
|
30
|
+
};
|
|
31
|
+
exports.AXP_WIDGETS_EDITOR_SUB_VISUAL = {
|
|
32
|
+
name: 'editor-visual',
|
|
33
|
+
order: 6,
|
|
34
|
+
title: '@platform-layout-widgets:subcategories.editor-visual.title',
|
|
35
|
+
};
|
|
36
|
+
exports.AXP_WIDGETS_EDITOR_SUB_COMPOSITE = {
|
|
37
|
+
name: 'editor-composite',
|
|
38
|
+
order: 7,
|
|
39
|
+
title: '@platform-layout-widgets:subcategories.editor-composite.title',
|
|
40
|
+
};
|
|
41
|
+
exports.AXP_WIDGETS_EDITOR_SUB_CONFIG = {
|
|
42
|
+
name: 'editor-config',
|
|
43
|
+
order: 8,
|
|
44
|
+
title: '@platform-layout-widgets:subcategories.editor-config.title',
|
|
45
|
+
};
|
|
46
|
+
//#endregion
|
|
47
|
+
//#region ---- Layout sub-categories (widget picker) ----
|
|
48
|
+
exports.AXP_WIDGETS_LAYOUT_SUB_SHELL = {
|
|
49
|
+
name: 'layout-shell',
|
|
50
|
+
order: 1,
|
|
51
|
+
title: '@platform-layout-widgets:subcategories.layout-shell.title',
|
|
52
|
+
};
|
|
53
|
+
exports.AXP_WIDGETS_LAYOUT_SUB_GRID = {
|
|
54
|
+
name: 'layout-grid',
|
|
55
|
+
order: 2,
|
|
56
|
+
title: '@platform-layout-widgets:subcategories.layout-grid.title',
|
|
57
|
+
};
|
|
58
|
+
exports.AXP_WIDGETS_LAYOUT_SUB_SURFACES = {
|
|
59
|
+
name: 'layout-surfaces',
|
|
60
|
+
order: 3,
|
|
61
|
+
title: '@platform-layout-widgets:subcategories.layout-surfaces.title',
|
|
62
|
+
};
|
|
63
|
+
exports.AXP_WIDGETS_LAYOUT_SUB_TABS = {
|
|
64
|
+
name: 'layout-tabs',
|
|
65
|
+
order: 4,
|
|
66
|
+
title: '@platform-layout-widgets:subcategories.layout-tabs.title',
|
|
67
|
+
};
|
|
68
|
+
exports.AXP_WIDGETS_LAYOUT_SUB_LISTS = {
|
|
69
|
+
name: 'layout-lists',
|
|
70
|
+
order: 5,
|
|
71
|
+
title: '@platform-layout-widgets:subcategories.layout-lists.title',
|
|
72
|
+
};
|
|
73
|
+
exports.AXP_WIDGETS_LAYOUT_SUB_UTILITY = {
|
|
74
|
+
name: 'layout-utility',
|
|
75
|
+
order: 6,
|
|
76
|
+
title: '@platform-layout-widgets:subcategories.layout-utility.title',
|
|
77
|
+
};
|
|
78
|
+
//#endregion
|
|
79
|
+
//#region ---- Action sub-categories (widget picker) ----
|
|
80
|
+
exports.AXP_WIDGETS_ACTION_SUB_CONTROLS = {
|
|
81
|
+
name: 'action-controls',
|
|
82
|
+
order: 1,
|
|
83
|
+
title: '@platform-layout-widgets:subcategories.action-controls.title',
|
|
84
|
+
};
|
|
85
|
+
//#endregion
|
|
86
|
+
//#region ---- Advance sub-categories (widget picker) ----
|
|
87
|
+
exports.AXP_WIDGETS_ADVANCE_SUB_MEDIA = {
|
|
88
|
+
name: 'advance-media',
|
|
89
|
+
order: 1,
|
|
90
|
+
title: '@platform-layout-widgets:subcategories.advance-media.title',
|
|
91
|
+
};
|
|
92
|
+
exports.AXP_WIDGETS_ADVANCE_SUB_INPUT = {
|
|
93
|
+
name: 'advance-input',
|
|
94
|
+
order: 2,
|
|
95
|
+
title: '@platform-layout-widgets:subcategories.advance-input.title',
|
|
96
|
+
};
|
|
97
|
+
exports.AXP_WIDGETS_ADVANCE_SUB_DATA = {
|
|
98
|
+
name: 'advance-data',
|
|
99
|
+
order: 3,
|
|
100
|
+
title: '@platform-layout-widgets:subcategories.advance-data.title',
|
|
101
|
+
};
|
|
102
|
+
exports.AXP_WIDGETS_ADVANCE_SUB_TOOLS = {
|
|
103
|
+
name: 'advance-tools',
|
|
104
|
+
order: 4,
|
|
105
|
+
title: '@platform-layout-widgets:subcategories.advance-tools.title',
|
|
106
|
+
};
|
|
107
|
+
//#endregion
|
|
108
|
+
/** Normalizes widget categories to an array for iteration and serialization. */
|
|
109
|
+
function normalizeWidgetCategories(categories) {
|
|
110
|
+
if (categories == null) {
|
|
111
|
+
return [];
|
|
112
|
+
}
|
|
113
|
+
return Array.isArray(categories) ? categories : [categories];
|
|
114
|
+
}
|
|
115
|
+
exports.AXP_WIDGETS_LAYOUT_CATEGORY = {
|
|
116
|
+
name: 'layout',
|
|
117
|
+
order: 1,
|
|
118
|
+
title: '@platform-layout-widgets:categories.layout.title',
|
|
119
|
+
};
|
|
120
|
+
exports.AXP_WIDGETS_EDITOR_CATEGORY = {
|
|
121
|
+
name: 'editor',
|
|
122
|
+
order: 2,
|
|
123
|
+
title: '@platform-layout-widgets:categories.editor.title',
|
|
124
|
+
};
|
|
125
|
+
exports.AXP_WIDGETS_ACTION_CATEGORY = {
|
|
126
|
+
name: 'action',
|
|
127
|
+
order: 3,
|
|
128
|
+
title: '@platform-layout-widgets:categories.action.title',
|
|
129
|
+
};
|
|
130
|
+
exports.AXP_WIDGETS_ADVANCE_CATEGORY = {
|
|
131
|
+
name: 'advance',
|
|
132
|
+
order: 4,
|
|
133
|
+
title: '@platform-layout-widgets:categories.advance.title',
|
|
134
|
+
};
|
|
135
|
+
/** AI category tab in the widget picker (metadata); unrelated to Widgets:GetForAI listing scope. */
|
|
136
|
+
exports.AXP_WIDGETS_AI_CATEGORY = {
|
|
137
|
+
name: 'ai',
|
|
138
|
+
order: 5,
|
|
139
|
+
title: '@platform-layout-widgets:categories.ai.title',
|
|
140
|
+
};
|
|
141
|
+
exports.AXP_WIDGETS_CATEGORIES = [
|
|
142
|
+
exports.AXP_WIDGETS_LAYOUT_CATEGORY,
|
|
143
|
+
exports.AXP_WIDGETS_EDITOR_CATEGORY,
|
|
144
|
+
exports.AXP_WIDGETS_ACTION_CATEGORY,
|
|
145
|
+
exports.AXP_WIDGETS_ADVANCE_CATEGORY,
|
|
146
|
+
exports.AXP_WIDGETS_AI_CATEGORY,
|
|
147
|
+
];
|
|
148
|
+
//# sourceMappingURL=widget-definition.categories.js.map
|