@sap/ux-specification 1.142.2 → 1.142.3
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/CHANGELOG.md +86 -43
- package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
- package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
- package/dist/documentation/v2/v2-ListReport.html +2 -2
- package/dist/documentation/v2/v2-ListReportNew.html +2 -2
- package/dist/documentation/v2/v2-ObjectPage.html +2 -2
- package/dist/documentation/v2/v2-OverviewPage.html +2 -2
- package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
- package/dist/documentation/v4/v4-BuildingBlocks.html +2 -2
- package/dist/documentation/v4/v4-FreestylePage.html +2 -2
- package/dist/documentation/v4/v4-ListReport.html +2 -2
- package/dist/documentation/v4/v4-ObjectPage.html +2 -2
- package/dist/index-min.js +265 -261
- package/dist/index-min.js.map +4 -4
- package/dist/schemas/v2/AnalyticalListPageConfig.json +3 -3
- package/dist/schemas/v2/ListReportConfig.json +5 -5
- package/dist/schemas/v2/ListReportNewConfig.json +1 -1
- package/dist/schemas/v2/ObjectPageConfig.json +5 -5
- package/dist/schemas/v4/ApplicationV4.json +1 -1
- package/dist/schemas/v4/BuildingBlocksConfig.json +13 -1
- package/dist/schemas/v4/ListReportConfig.json +24 -6
- package/dist/schemas/v4/ObjectPageConfig.json +32 -8
- package/dist/specification/package.json +13 -11
- package/dist/specification/scripts/extractDocu.js +18 -1
- package/dist/specification/scripts/extractDocu.js.map +1 -1
- package/dist/specification/scripts/generate-validity-report.d.ts +15 -0
- package/dist/specification/scripts/generate-validity-report.d.ts.map +1 -0
- package/dist/specification/scripts/generate-validity-report.js +367 -0
- package/dist/specification/scripts/generate-validity-report.js.map +1 -0
- package/dist/specification/scripts/macros/corrections.d.ts.map +1 -1
- package/dist/specification/scripts/macros/corrections.js +3 -0
- package/dist/specification/scripts/macros/corrections.js.map +1 -1
- package/dist/specification/src/api.js +1 -1
- package/dist/specification/src/sync/common/decoration/decorator-paths.d.ts +503 -0
- package/dist/specification/src/sync/common/decoration/decorator-paths.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/decorator-paths.js +497 -0
- package/dist/specification/src/sync/common/decoration/decorator-paths.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/decorators.d.ts +149 -23
- package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorators.js +369 -74
- package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/index.d.ts +1 -0
- package/dist/specification/src/sync/common/decoration/index.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/index.js +1 -0
- package/dist/specification/src/sync/common/decoration/index.js.map +1 -1
- package/dist/specification/src/sync/common/dist_tag.json +8 -3
- package/dist/specification/src/sync/common/generate/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/common/generate/objectPage.js +3 -1
- package/dist/specification/src/sync/common/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/common/i18n.json +2 -1
- package/dist/specification/src/sync/common/utils.d.ts +22 -6
- package/dist/specification/src/sync/common/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/common/utils.js +122 -18
- package/dist/specification/src/sync/common/utils.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/analyticalListReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/analyticalListReport.js +2 -0
- package/dist/specification/src/sync/v2/generate/analyticalListReport.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/listReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/listReport.js +3 -1
- package/dist/specification/src/sync/v2/generate/listReport.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/objectPage.js +2 -0
- package/dist/specification/src/sync/v2/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/overviewPage.d.ts +1 -9
- package/dist/specification/src/sync/v2/generate/overviewPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/overviewPage.js +30 -1
- package/dist/specification/src/sync/v2/generate/overviewPage.js.map +1 -1
- package/dist/specification/src/sync/v2/import/app/appProvider.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/app/appProvider.js +2 -0
- package/dist/specification/src/sync/v2/import/app/appProvider.js.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/analyticalListPage.d.ts +2 -1
- package/dist/specification/src/sync/v2/import/pages/analyticalListPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/analyticalListPage.js +5 -0
- package/dist/specification/src/sync/v2/import/pages/analyticalListPage.js.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/listReport.d.ts +2 -1
- package/dist/specification/src/sync/v2/import/pages/listReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/listReport.js +5 -0
- package/dist/specification/src/sync/v2/import/pages/listReport.js.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/objectPage.js +2 -1
- package/dist/specification/src/sync/v2/import/pages/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v2/import/utils.d.ts +28 -1
- package/dist/specification/src/sync/v2/import/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/utils.js +37 -0
- package/dist/specification/src/sync/v2/import/utils.js.map +1 -1
- package/dist/specification/src/sync/v2/utils.d.ts +12 -2
- package/dist/specification/src/sync/v2/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/utils.js +19 -2
- package/dist/specification/src/sync/v2/utils.js.map +1 -1
- package/dist/specification/src/sync/v4/application.d.ts +20 -2
- package/dist/specification/src/sync/v4/application.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/application.js +27 -2
- package/dist/specification/src/sync/v4/application.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/FilterBar.d.ts +2 -1
- package/dist/specification/src/sync/v4/export/controls/FilterBar.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/FilterBar.js +2 -1
- package/dist/specification/src/sync/v4/export/controls/FilterBar.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Header.d.ts +4 -3
- package/dist/specification/src/sync/v4/export/controls/Header.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Header.js +7 -3
- package/dist/specification/src/sync/v4/export/controls/Header.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/HeaderAction.d.ts +2 -1
- package/dist/specification/src/sync/v4/export/controls/HeaderAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/HeaderAction.js +7 -0
- package/dist/specification/src/sync/v4/export/controls/HeaderAction.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts +2 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.js +2 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.d.ts +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js +0 -13
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Table.d.ts +24 -15
- package/dist/specification/src/sync/v4/export/controls/Table.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Table.js +40 -46
- package/dist/specification/src/sync/v4/export/controls/Table.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/TableColumn.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/TableColumn.js +2 -2
- package/dist/specification/src/sync/v4/export/controls/TableColumn.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts +2 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js +2 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js.map +1 -1
- package/dist/specification/src/sync/v4/export/export.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/export.js +25 -3
- package/dist/specification/src/sync/v4/export/export.js.map +1 -1
- package/dist/specification/src/sync/v4/export/pages/ListReport.js +1 -1
- package/dist/specification/src/sync/v4/export/pages/ListReport.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/actions.d.ts +1 -1
- package/dist/specification/src/sync/v4/generate/actions.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.js +10 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/index.d.ts +1 -1
- package/dist/specification/src/sync/v4/generate/index.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/index.js +1 -1
- package/dist/specification/src/sync/v4/generate/index.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/list-report/ListReportUtils.d.ts +73 -0
- package/dist/specification/src/sync/v4/generate/list-report/ListReportUtils.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/generate/list-report/ListReportUtils.js +354 -0
- package/dist/specification/src/sync/v4/generate/list-report/ListReportUtils.js.map +1 -0
- package/dist/specification/src/sync/v4/generate/{listReport.d.ts → list-report/listReport.d.ts} +22 -15
- package/dist/specification/src/sync/v4/generate/list-report/listReport.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/generate/{listReport.js → list-report/listReport.js} +115 -69
- package/dist/specification/src/sync/v4/generate/list-report/listReport.js.map +1 -0
- package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/objectPage.js +142 -44
- package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/listReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/listReport.js +2 -1
- package/dist/specification/src/sync/v4/import/pages/listReport.js.map +1 -1
- package/dist/specification/src/sync/v4/import/utils.js +5 -3
- package/dist/specification/src/sync/v4/import/utils.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/App.d.ts +9 -7
- package/dist/specification/src/sync/v4/sync-rules/App.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/App.js +4 -8
- package/dist/specification/src/sync/v4/sync-rules/App.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.d.ts +2 -9
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.js +2 -11
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.d.ts +177 -46
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.js +498 -152
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/Page.d.ts +17 -22
- package/dist/specification/src/sync/v4/sync-rules/Page.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/Page.js +15 -22
- package/dist/specification/src/sync/v4/sync-rules/Page.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.d.ts +1 -0
- package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.js +17 -9
- package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/index.d.ts +5 -0
- package/dist/specification/src/sync/v4/sync-rules/index.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/sync-rules/index.js +21 -0
- package/dist/specification/src/sync/v4/sync-rules/index.js.map +1 -0
- package/dist/specification/src/sync/v4/sync-rules/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/utils.js +4 -0
- package/dist/specification/src/sync/v4/sync-rules/utils.js.map +1 -1
- package/dist/specification/src/sync/v4/utils/index.d.ts +2 -0
- package/dist/specification/src/sync/v4/utils/index.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/utils/index.js +18 -0
- package/dist/specification/src/sync/v4/utils/index.js.map +1 -0
- package/dist/specification/src/sync/v4/utils/utils.d.ts +9 -1
- package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/utils/utils.js +17 -2
- package/dist/specification/src/sync/v4/utils/utils.js.map +1 -1
- package/dist/specification/test/test-projects/v2sttaProdMan2/webapp/manifest.json +550 -0
- package/dist/specification/test/test-projects/v4new/webapp/manifest.json +147 -0
- package/dist/specification/test/test-utils/utils.d.ts +71 -0
- package/dist/specification/test/test-utils/utils.d.ts.map +1 -0
- package/dist/specification/test/test-utils/utils.js +400 -0
- package/dist/specification/test/test-utils/utils.js.map +1 -0
- package/dist/specification/test/unit/decorators/validity-test-utils.d.ts +131 -0
- package/dist/specification/test/unit/decorators/validity-test-utils.d.ts.map +1 -0
- package/dist/specification/test/unit/decorators/validity-test-utils.js +661 -0
- package/dist/specification/test/unit/decorators/validity-test-utils.js.map +1 -0
- package/dist/types/src/apiTypes.d.ts +2 -3
- package/dist/types/src/apiTypes.d.ts.map +1 -1
- package/dist/types/src/apiTypes.js.map +1 -1
- package/dist/types/src/common/types.d.ts +119 -13
- package/dist/types/src/common/types.d.ts.map +1 -1
- package/dist/types/src/common/types.js.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageTable.d.ts +1 -1
- package/dist/types/src/v2/controls/Table.d.ts +1 -1
- package/dist/types/src/v4/controls/ObjectPageTable.d.ts +1 -1
- package/dist/types/src/v4/controls/ObjectPageTable.d.ts.map +1 -1
- package/dist/types/src/v4/controls/Table.d.ts +3 -3
- package/dist/types/src/v4/controls/Table.d.ts.map +1 -1
- package/package.json +14 -12
- package/dist/specification/src/sync/v4/generate/ListReportUtils.d.ts +0 -107
- package/dist/specification/src/sync/v4/generate/ListReportUtils.d.ts.map +0 -1
- package/dist/specification/src/sync/v4/generate/ListReportUtils.js +0 -394
- package/dist/specification/src/sync/v4/generate/ListReportUtils.js.map +0 -1
- package/dist/specification/src/sync/v4/generate/listReport.d.ts.map +0 -1
- package/dist/specification/src/sync/v4/generate/listReport.js.map +0 -1
|
@@ -1,25 +1,42 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.validity = exports.getDescriptionSrcURL = exports.descriptionSrcURL = exports.descriptionUrlMetadataKey = exports.getPageLayoutInformation = exports.getChildId = exports.childId = exports.pageLayoutInformation = exports.syncRule = exports.metadataKeys = void 0;
|
|
4
4
|
exports.getReflectMetadata = getReflectMetadata;
|
|
5
5
|
exports.getReflectTypeMetadata = getReflectTypeMetadata;
|
|
6
6
|
exports.getValidityMetadata = getValidityMetadata;
|
|
7
7
|
exports.isViewNode = isViewNode;
|
|
8
8
|
exports.description = description;
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
9
|
+
exports.hide = hide;
|
|
10
|
+
exports.getHideMetadata = getHideMetadata;
|
|
11
|
+
exports.message = message;
|
|
12
|
+
exports.getMessageMetadata = getMessageMetadata;
|
|
13
|
+
exports.readonly = readonly;
|
|
14
|
+
exports.getReadonlyMetadata = getReadonlyMetadata;
|
|
15
|
+
exports.enums = enums;
|
|
16
|
+
exports.getEnumsMetadata = getEnumsMetadata;
|
|
12
17
|
exports.getTextForDeprecated = getTextForDeprecated;
|
|
13
18
|
require("reflect-metadata");
|
|
14
|
-
|
|
19
|
+
const decorator_paths_1 = require("./decorator-paths");
|
|
20
|
+
// ============================================
|
|
21
|
+
// METADATA KEYS
|
|
22
|
+
// ============================================
|
|
23
|
+
/**
|
|
24
|
+
* Metadata keys for schema post-processing.
|
|
25
|
+
* Used by decorators to store metadata that is processed during schema generation.
|
|
26
|
+
*/
|
|
15
27
|
exports.metadataKeys = {
|
|
16
28
|
description: Symbol('ui:description'),
|
|
17
|
-
hidden: Symbol('ui:hidden'),
|
|
18
29
|
isViewNode: Symbol('ui:isViewNode'),
|
|
19
30
|
syncRule: Symbol('sync:rule'),
|
|
20
|
-
|
|
21
|
-
|
|
31
|
+
validity: Symbol('generate:validity'),
|
|
32
|
+
hide: Symbol('generate:hide'),
|
|
33
|
+
message: Symbol('generate:message'),
|
|
34
|
+
readonly: Symbol('generate:readonly'),
|
|
35
|
+
enums: Symbol('generate:enums')
|
|
22
36
|
};
|
|
37
|
+
// ============================================
|
|
38
|
+
// SYNC RULE DECORATORS
|
|
39
|
+
// ============================================
|
|
23
40
|
const syncRule = (propSpec) => {
|
|
24
41
|
return Reflect.metadata(exports.metadataKeys.syncRule, propSpec);
|
|
25
42
|
};
|
|
@@ -51,6 +68,9 @@ function getReflectTypeMetadata(cls) {
|
|
|
51
68
|
}
|
|
52
69
|
return rule;
|
|
53
70
|
}
|
|
71
|
+
// ============================================
|
|
72
|
+
// PAGE LAYOUT DECORATORS
|
|
73
|
+
// ============================================
|
|
54
74
|
const pageLayoutInformation = (pageInfo) => (constructor) => {
|
|
55
75
|
constructor.prototype.pageLayoutInformation = pageInfo;
|
|
56
76
|
};
|
|
@@ -68,9 +88,9 @@ const getPageLayoutInformation = (target) => {
|
|
|
68
88
|
return Object.getPrototypeOf(target).pageLayoutInformation;
|
|
69
89
|
};
|
|
70
90
|
exports.getPageLayoutInformation = getPageLayoutInformation;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
91
|
+
// ============================================
|
|
92
|
+
// DESCRIPTION URL DECORATOR
|
|
93
|
+
// ============================================
|
|
74
94
|
exports.descriptionUrlMetadataKey = Symbol('descriptionSrcURL');
|
|
75
95
|
const descriptionSrcURL = (id) => {
|
|
76
96
|
return Reflect.metadata(exports.descriptionUrlMetadataKey, id);
|
|
@@ -80,9 +100,9 @@ const getDescriptionSrcURL = (target, propertyName) => {
|
|
|
80
100
|
return Reflect.getMetadata(exports.descriptionUrlMetadataKey, target, propertyName);
|
|
81
101
|
};
|
|
82
102
|
exports.getDescriptionSrcURL = getDescriptionSrcURL;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
103
|
+
// ============================================
|
|
104
|
+
// VALIDITY DECORATOR
|
|
105
|
+
// ============================================
|
|
86
106
|
const validity = (validity) => {
|
|
87
107
|
return Reflect.metadata(exports.metadataKeys.validity, validity);
|
|
88
108
|
};
|
|
@@ -101,6 +121,9 @@ function getValidityMetadata(target, propertyName) {
|
|
|
101
121
|
}
|
|
102
122
|
return validityInfo;
|
|
103
123
|
}
|
|
124
|
+
// ============================================
|
|
125
|
+
// VIEW NODE DECORATOR
|
|
126
|
+
// ============================================
|
|
104
127
|
/**
|
|
105
128
|
* Mark the target class with a metadata flag indicating it is a view node.
|
|
106
129
|
*
|
|
@@ -109,6 +132,9 @@ function getValidityMetadata(target, propertyName) {
|
|
|
109
132
|
function isViewNode(target) {
|
|
110
133
|
Reflect.defineMetadata(exports.metadataKeys.isViewNode, true, target);
|
|
111
134
|
}
|
|
135
|
+
// ============================================
|
|
136
|
+
// DESCRIPTION DECORATOR
|
|
137
|
+
// ============================================
|
|
112
138
|
/**
|
|
113
139
|
* Decorator to add a description to a class or property in the schema.
|
|
114
140
|
*
|
|
@@ -120,90 +146,359 @@ function description(text) {
|
|
|
120
146
|
Reflect.defineMetadata(exports.metadataKeys.description, text, target);
|
|
121
147
|
};
|
|
122
148
|
}
|
|
149
|
+
// ============================================
|
|
150
|
+
// CONDITION PARSING
|
|
151
|
+
// ============================================
|
|
152
|
+
/**
|
|
153
|
+
* Parses a path string to extract the source prefix (app, page, custom).
|
|
154
|
+
* Used to determine which context source to look up values from.
|
|
155
|
+
*
|
|
156
|
+
* @param path - The path string to parse (e.g., 'app.manifest', 'page.isALP', 'custom.table.type')
|
|
157
|
+
* @returns An object with source and the full path
|
|
158
|
+
*/
|
|
159
|
+
function parsePathWithSource(path) {
|
|
160
|
+
if (path.startsWith('app.')) {
|
|
161
|
+
return { source: 'app', path };
|
|
162
|
+
}
|
|
163
|
+
if (path.startsWith('page.')) {
|
|
164
|
+
return { source: 'page', path };
|
|
165
|
+
}
|
|
166
|
+
if (path.startsWith('custom.')) {
|
|
167
|
+
return { source: 'custom', path };
|
|
168
|
+
}
|
|
169
|
+
// Return path without source - this will not resolve since a recognized prefix is required
|
|
170
|
+
return { path };
|
|
171
|
+
}
|
|
123
172
|
/**
|
|
124
|
-
*
|
|
125
|
-
* The condition function is evaluated during schema generation with the appropriate context.
|
|
173
|
+
* Converts a single Condition (PathNode, WhenCondition, NotCondition, or true) into a SingleDependsOnCondition.
|
|
126
174
|
*
|
|
127
|
-
* @param condition -
|
|
128
|
-
* @returns
|
|
175
|
+
* @param condition - The condition to convert
|
|
176
|
+
* @returns A SingleDependsOnCondition object
|
|
129
177
|
*/
|
|
130
|
-
function
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
178
|
+
function conditionToSingle(condition) {
|
|
179
|
+
if (condition === true) {
|
|
180
|
+
// Always true condition - use a path that will resolve to truthy
|
|
181
|
+
return { path: '__always__', expectedValue: true };
|
|
182
|
+
}
|
|
183
|
+
if ((0, decorator_paths_1.isWhenCondition)(condition)) {
|
|
184
|
+
const fullPath = (0, decorator_paths_1.getPath)(condition.path);
|
|
185
|
+
const parsed = parsePathWithSource(fullPath);
|
|
186
|
+
const result = {
|
|
187
|
+
path: fullPath,
|
|
188
|
+
source: parsed.source
|
|
189
|
+
};
|
|
190
|
+
if (typeof condition.expected === 'function') {
|
|
191
|
+
result.dependsOn = condition.expected;
|
|
135
192
|
}
|
|
136
193
|
else {
|
|
137
|
-
|
|
138
|
-
Reflect.defineMetadata(exports.metadataKeys.hidden, condition, target);
|
|
194
|
+
result.expectedValue = condition.expected;
|
|
139
195
|
}
|
|
140
|
-
|
|
196
|
+
return result;
|
|
197
|
+
}
|
|
198
|
+
if ((0, decorator_paths_1.isNotCondition)(condition)) {
|
|
199
|
+
const fullPath = (0, decorator_paths_1.getPath)(condition.path);
|
|
200
|
+
const parsed = parsePathWithSource(fullPath);
|
|
201
|
+
const result = {
|
|
202
|
+
path: fullPath,
|
|
203
|
+
source: parsed.source,
|
|
204
|
+
negate: true // Set the negate flag for NotCondition
|
|
205
|
+
};
|
|
206
|
+
if (condition.expected !== undefined) {
|
|
207
|
+
if (typeof condition.expected === 'function') {
|
|
208
|
+
result.dependsOn = condition.expected;
|
|
209
|
+
}
|
|
210
|
+
else {
|
|
211
|
+
result.expectedValue = condition.expected;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
// If no expected value, it will be a truthy check that gets negated (i.e., falsy check)
|
|
215
|
+
return result;
|
|
216
|
+
}
|
|
217
|
+
if ((0, decorator_paths_1.isPathNode)(condition)) {
|
|
218
|
+
const fullPath = (0, decorator_paths_1.getPath)(condition);
|
|
219
|
+
const parsed = parsePathWithSource(fullPath);
|
|
220
|
+
return {
|
|
221
|
+
path: fullPath,
|
|
222
|
+
source: parsed.source
|
|
223
|
+
// No expectedValue = truthy check
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
// Fallback (should not happen with proper typing)
|
|
227
|
+
return { path: String(condition) };
|
|
141
228
|
}
|
|
142
229
|
/**
|
|
143
|
-
*
|
|
230
|
+
* Parses a condition input into a normalized depends on condition object.
|
|
144
231
|
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
232
|
+
* This ensures consistent behavior across hide, message, and readonly decorators.
|
|
233
|
+
*
|
|
234
|
+
* Supports:
|
|
235
|
+
* - `true` - Always true (e.g., `@hide(true)` to always hide)
|
|
236
|
+
* - PathNode - Truthy check (e.g., `@hide(page.isALP)`)
|
|
237
|
+
* - WhenCondition - Value or function check (e.g., `@hide(when(page.type, 'GridTable'))`)
|
|
238
|
+
* - AndCondition - All conditions must be met
|
|
239
|
+
* - OrCondition - At least one condition must be met.
|
|
240
|
+
*
|
|
241
|
+
* @param condition - The condition to parse.
|
|
242
|
+
* @returns A normalized DependsOnCondition object.
|
|
148
243
|
*/
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
244
|
+
function parseCondition(condition) {
|
|
245
|
+
// Handle `true` - always true
|
|
246
|
+
if (condition === true) {
|
|
247
|
+
return {
|
|
248
|
+
path: '__always__',
|
|
249
|
+
expectedValue: true
|
|
250
|
+
};
|
|
251
|
+
}
|
|
252
|
+
// Handle WhenCondition from when() helper
|
|
253
|
+
if ((0, decorator_paths_1.isWhenCondition)(condition)) {
|
|
254
|
+
return conditionToSingle(condition);
|
|
255
|
+
}
|
|
256
|
+
// Handle NotCondition from not() helper
|
|
257
|
+
if ((0, decorator_paths_1.isNotCondition)(condition)) {
|
|
258
|
+
return conditionToSingle(condition);
|
|
259
|
+
}
|
|
260
|
+
// Handle PathNode (truthy check)
|
|
261
|
+
if ((0, decorator_paths_1.isPathNode)(condition)) {
|
|
262
|
+
return conditionToSingle(condition);
|
|
263
|
+
}
|
|
264
|
+
// Handle ConditionGroup from and()/or() helpers
|
|
265
|
+
if ((0, decorator_paths_1.isConditionGroup)(condition)) {
|
|
266
|
+
if ((0, decorator_paths_1.isAndCondition)(condition)) {
|
|
267
|
+
// AND logic: Convert to conditions array (MultiDependsOnCondition)
|
|
268
|
+
// Supports both simple conditions and nested OR groups
|
|
269
|
+
const conditions = condition.conditions.map((c) => {
|
|
270
|
+
const parsed = parseCondition(c);
|
|
271
|
+
// Check if this is a nested OR condition (has orConditions array)
|
|
272
|
+
if ('orConditions' in parsed && Array.isArray(parsed.orConditions)) {
|
|
273
|
+
// Return as OrConditionGroup for nested OR within AND
|
|
274
|
+
return { __orConditions: parsed.orConditions };
|
|
275
|
+
}
|
|
276
|
+
// Return as SingleDependsOnCondition
|
|
277
|
+
return parsed;
|
|
278
|
+
});
|
|
279
|
+
return { conditions };
|
|
280
|
+
}
|
|
281
|
+
else if ((0, decorator_paths_1.isOrCondition)(condition)) {
|
|
282
|
+
// OR logic: Convert to orConditions array
|
|
283
|
+
// Supports both simple conditions and nested AND groups
|
|
284
|
+
const orConditions = condition.conditions.map((c) => {
|
|
285
|
+
const parsed = parseCondition(c);
|
|
286
|
+
// Check if this is a nested AND condition (has conditions array)
|
|
287
|
+
if ('conditions' in parsed && Array.isArray(parsed.conditions)) {
|
|
288
|
+
// Return as AndConditionGroup for nested AND within OR
|
|
289
|
+
return { __andConditions: parsed.conditions };
|
|
290
|
+
}
|
|
291
|
+
// Return as SingleDependsOnCondition (symmetric with AND handling)
|
|
292
|
+
return parsed;
|
|
293
|
+
});
|
|
294
|
+
return { orConditions };
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
// Fallback - should not reach here with proper typing
|
|
298
|
+
return { path: '__unknown__' };
|
|
299
|
+
}
|
|
300
|
+
// ============================================
|
|
301
|
+
// HIDE DECORATOR
|
|
302
|
+
// ============================================
|
|
154
303
|
/**
|
|
155
|
-
* Decorator to conditionally
|
|
156
|
-
* The
|
|
304
|
+
* Decorator to conditionally hide a property based on conditions.
|
|
305
|
+
* The property will be hidden if the condition(s) are NOT met (inverted logic).
|
|
306
|
+
*
|
|
307
|
+
* @example
|
|
308
|
+
* ```typescript
|
|
309
|
+
* import { page, custom, when, and, or } from './decorator-paths';
|
|
310
|
+
*
|
|
311
|
+
* // Truthy check - hide if page.isALP is falsy
|
|
312
|
+
* @hide(page.isALP)
|
|
157
313
|
*
|
|
158
|
-
*
|
|
159
|
-
* @
|
|
160
|
-
*
|
|
314
|
+
* // Equality check - hide if page.type !== 'GridTable'
|
|
315
|
+
* @hide(when(page.type, 'GridTable'))
|
|
316
|
+
*
|
|
317
|
+
* // Custom function - hide if type === 'GridTable'
|
|
318
|
+
* @hide(when(page.type, (type) => type !== 'GridTable'))
|
|
319
|
+
*
|
|
320
|
+
* // Always hide
|
|
321
|
+
* @hide(true)
|
|
322
|
+
*
|
|
323
|
+
* // AND logic - hide if not (isALP AND type === 'GridTable')
|
|
324
|
+
* @hide(and(page.isALP, when(page.type, 'GridTable')))
|
|
325
|
+
*
|
|
326
|
+
* // OR logic - hide if not (actionType === 'Bound' OR actionType === 'Custom')
|
|
327
|
+
* @hide(or(when(page.actionType, 'Bound'), when(page.actionType, 'Custom')))
|
|
328
|
+
* ```
|
|
329
|
+
* @param condition - The condition to evaluate
|
|
161
330
|
* @returns PropertyDecorator
|
|
162
331
|
*/
|
|
163
|
-
function
|
|
332
|
+
function hide(condition) {
|
|
164
333
|
return (target, propertyKey) => {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
334
|
+
const hideInfo = parseCondition(condition);
|
|
335
|
+
Reflect.defineMetadata(exports.metadataKeys.hide, hideInfo, target, propertyKey);
|
|
336
|
+
};
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* Retrieves the hide metadata associated with a specific property of a target object.
|
|
340
|
+
*
|
|
341
|
+
* @param target - The object containing the property.
|
|
342
|
+
* @param propertyName - The name of the property whose hide metadata is to be retrieved.
|
|
343
|
+
* @returns The hide information of the property, or undefined if no metadata is found.
|
|
344
|
+
*/
|
|
345
|
+
function getHideMetadata(target, propertyName) {
|
|
346
|
+
let hideInfo;
|
|
347
|
+
if (target) {
|
|
348
|
+
hideInfo = Reflect.getMetadata(exports.metadataKeys.hide, target, propertyName);
|
|
349
|
+
}
|
|
350
|
+
return hideInfo;
|
|
351
|
+
}
|
|
352
|
+
// ============================================
|
|
353
|
+
// MESSAGE DECORATOR
|
|
354
|
+
// ============================================
|
|
355
|
+
/**
|
|
356
|
+
* Decorator to conditionally display a message based on conditions.
|
|
357
|
+
* A message will be shown when the condition(s) are met.
|
|
358
|
+
* Multiple @message decorators can be applied to the same property - all matching conditions will show their messages.
|
|
359
|
+
*
|
|
360
|
+
* @param condition - The condition to evaluate
|
|
361
|
+
* @param messageConfig - The message configuration (use msg() helper)
|
|
362
|
+
* @returns PropertyDecorator
|
|
363
|
+
* @example
|
|
364
|
+
* ```typescript
|
|
365
|
+
* import { page, when, msg } from './decorator-paths';
|
|
366
|
+
*
|
|
367
|
+
* // Simple message
|
|
368
|
+
* @message(page.betaFeature, msg('BETA_WARNING'))
|
|
369
|
+
*
|
|
370
|
+
* // Message with parameters
|
|
371
|
+
* @message(when(page.type, 'GridTable'), msg('TABLE_WARNING', { type: 'GridTable' }))
|
|
372
|
+
*
|
|
373
|
+
* // Deletable message
|
|
374
|
+
* @message(page.deprecated, msg('DEPRECATED', { since: '1.96' }, { deletable: true }))
|
|
375
|
+
*
|
|
376
|
+
* // With AND/OR conditions
|
|
377
|
+
* @message(and(page.isALP, when(page.type, 'GridTable')), msg('ALP_GRID_INFO'))
|
|
378
|
+
*
|
|
379
|
+
* // Multiple messages on same property
|
|
380
|
+
* @message(when(page.type, 'AnalyticalTable'), msg('ANALYTICAL_WARNING'))
|
|
381
|
+
* @message(when(page.mode, 'edit'), msg('EDIT_MODE_WARNING'))
|
|
382
|
+
* ```
|
|
383
|
+
*/
|
|
384
|
+
function message(condition, messageConfig) {
|
|
385
|
+
return (target, propertyKey) => {
|
|
386
|
+
const messageInfo = parseCondition(condition);
|
|
387
|
+
messageInfo.messageConfig = messageConfig;
|
|
388
|
+
// Support multiple @message decorators - store as array
|
|
389
|
+
const existing = Reflect.getMetadata(exports.metadataKeys.message, target, propertyKey) || [];
|
|
390
|
+
existing.push(messageInfo);
|
|
391
|
+
Reflect.defineMetadata(exports.metadataKeys.message, existing, target, propertyKey);
|
|
392
|
+
};
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* Retrieves the message metadata associated with a specific property of a target object.
|
|
396
|
+
* Returns an array of DecoratorMetadata since multiple @message decorators can be applied.
|
|
397
|
+
*
|
|
398
|
+
* @param target - The object containing the property.
|
|
399
|
+
* @param propertyName - The name of the property whose message metadata is to be retrieved.
|
|
400
|
+
* @returns An array of message metadata, or undefined if no metadata is found.
|
|
401
|
+
*/
|
|
402
|
+
function getMessageMetadata(target, propertyName) {
|
|
403
|
+
if (target) {
|
|
404
|
+
return Reflect.getMetadata(exports.metadataKeys.message, target, propertyName);
|
|
405
|
+
}
|
|
406
|
+
return undefined;
|
|
407
|
+
}
|
|
408
|
+
// ============================================
|
|
409
|
+
// READONLY DECORATOR
|
|
410
|
+
// ============================================
|
|
411
|
+
/**
|
|
412
|
+
* Decorator to conditionally mark a property as readonly based on conditions.
|
|
413
|
+
* The property will be readonly when the condition(s) are met.
|
|
414
|
+
*
|
|
415
|
+
* @example
|
|
416
|
+
* ```typescript
|
|
417
|
+
* import { page, custom, when } from './decorator-paths';
|
|
418
|
+
*
|
|
419
|
+
* // Truthy check - readonly if page.isLocked is truthy
|
|
420
|
+
* @readonly(page.isLocked)
|
|
421
|
+
*
|
|
422
|
+
* // Equality check - readonly if mode === 'view'
|
|
423
|
+
* @readonly(when(page.mode, 'view'))
|
|
424
|
+
*
|
|
425
|
+
* // Custom function - readonly if role is 'viewer'
|
|
426
|
+
* @readonly(when(custom.user.role, (role) => role === 'viewer'))
|
|
427
|
+
* ```
|
|
428
|
+
* @param condition - The condition to evaluate
|
|
429
|
+
* @returns PropertyDecorator
|
|
430
|
+
*/
|
|
431
|
+
function readonly(condition) {
|
|
432
|
+
return (target, propertyKey) => {
|
|
433
|
+
const readonlyInfo = parseCondition(condition);
|
|
434
|
+
Reflect.defineMetadata(exports.metadataKeys.readonly, readonlyInfo, target, propertyKey);
|
|
435
|
+
};
|
|
436
|
+
}
|
|
437
|
+
/**
|
|
438
|
+
* Retrieves the readonly metadata associated with a specific property of a target object.
|
|
439
|
+
*
|
|
440
|
+
* @param target - The object containing the property.
|
|
441
|
+
* @param propertyName - The name of the property whose readonly metadata is to be retrieved.
|
|
442
|
+
* @returns The readonly information of the property, or undefined if no metadata is found.
|
|
443
|
+
*/
|
|
444
|
+
function getReadonlyMetadata(target, propertyName) {
|
|
445
|
+
let readonlyInfo;
|
|
446
|
+
if (target) {
|
|
447
|
+
readonlyInfo = Reflect.getMetadata(exports.metadataKeys.readonly, target, propertyName);
|
|
448
|
+
}
|
|
449
|
+
return readonlyInfo;
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* Decorator to conditionally restrict enum values based on conditions.
|
|
453
|
+
* When the condition is met, only the specified allowedValues will be available.
|
|
454
|
+
* If multiple @enums decorators exist on the same property, the first matching condition wins.
|
|
455
|
+
*
|
|
456
|
+
* @example
|
|
457
|
+
* ```typescript
|
|
458
|
+
* import { custom, when } from './decorator-paths';
|
|
459
|
+
*
|
|
460
|
+
* // Restrict to specific values when table type is TreeTable
|
|
461
|
+
* @enums(when(custom.table.type, 'TreeTable'), ['Inline', 'NewPage', 'CreationDialog'])
|
|
462
|
+
*
|
|
463
|
+
* // Different values for other table types
|
|
464
|
+
* @enums(when(custom.table.type, 'ResponsiveTable'), ['Inline', 'InlineCreationRows', 'NewPage', 'CreationDialog', 'External'])
|
|
465
|
+
*
|
|
466
|
+
* // Default values when no other condition matches
|
|
467
|
+
* @enums(true, ['NewPage', 'CreationDialog'])
|
|
468
|
+
* ```
|
|
469
|
+
* @param condition - The condition to evaluate
|
|
470
|
+
* @param allowedValues - Array of allowed enum values when condition is met
|
|
471
|
+
* @returns PropertyDecorator
|
|
472
|
+
*/
|
|
473
|
+
function enums(condition, allowedValues) {
|
|
474
|
+
return (target, propertyKey) => {
|
|
475
|
+
const enumsInfo = {
|
|
476
|
+
...parseCondition(condition),
|
|
477
|
+
allowedValues
|
|
478
|
+
};
|
|
479
|
+
// Support multiple @enums decorators - store as array, first match wins
|
|
480
|
+
const existing = Reflect.getMetadata(exports.metadataKeys.enums, target, propertyKey) || [];
|
|
481
|
+
existing.push(enumsInfo);
|
|
482
|
+
Reflect.defineMetadata(exports.metadataKeys.enums, existing, target, propertyKey);
|
|
191
483
|
};
|
|
192
484
|
}
|
|
193
485
|
/**
|
|
194
|
-
* Retrieves the
|
|
486
|
+
* Retrieves the enums metadata associated with a specific property of a target object.
|
|
487
|
+
* Returns an array of EnumsDecoratorMetadata since multiple @enums decorators can be applied.
|
|
195
488
|
*
|
|
196
489
|
* @param target - The object containing the property.
|
|
197
|
-
* @param propertyName - The name of the property whose
|
|
198
|
-
* @returns
|
|
490
|
+
* @param propertyName - The name of the property whose enums metadata is to be retrieved.
|
|
491
|
+
* @returns An array of enums metadata, or undefined if no metadata is found.
|
|
199
492
|
*/
|
|
200
|
-
function
|
|
201
|
-
let dependsOnInfo;
|
|
493
|
+
function getEnumsMetadata(target, propertyName) {
|
|
202
494
|
if (target) {
|
|
203
|
-
|
|
495
|
+
return Reflect.getMetadata(exports.metadataKeys.enums, target, propertyName);
|
|
204
496
|
}
|
|
205
|
-
return
|
|
497
|
+
return undefined;
|
|
206
498
|
}
|
|
499
|
+
// ============================================
|
|
500
|
+
// DEPRECATION HELPER
|
|
501
|
+
// ============================================
|
|
207
502
|
/**
|
|
208
503
|
* Generates a deprecation message for a given key, optionally including additional validity information.
|
|
209
504
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decorators.js","sourceRoot":"","sources":["../../../../../../src/sync/common/decoration/decorators.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"decorators.js","sourceRoot":"","sources":["../../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,CAAC;IAC1G,CAAC;IAED,OAAO,IAAI,CAAC;AAChB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/common/decoration/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/common/decoration/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC"}
|
|
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./control"), exports);
|
|
18
18
|
__exportStar(require("./decorators"), exports);
|
|
19
19
|
__exportStar(require("./flex"), exports);
|
|
20
|
+
__exportStar(require("./decorator-paths"), exports);
|
|
20
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/sync/common/decoration/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/sync/common/decoration/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,oDAAkC"}
|
|
@@ -7,13 +7,11 @@
|
|
|
7
7
|
"rootPpmsObject": "FIORI ELEMENT SPEC 1.0",
|
|
8
8
|
"distTags": [
|
|
9
9
|
{
|
|
10
|
-
"version": "1.
|
|
10
|
+
"version": "1.144",
|
|
11
11
|
"distTag": [
|
|
12
12
|
"latest",
|
|
13
13
|
"UI5-2.0",
|
|
14
14
|
"UI5-2.1",
|
|
15
|
-
"UI5-1.142",
|
|
16
|
-
"UI5-1.143",
|
|
17
15
|
"UI5-1.144",
|
|
18
16
|
"UI5-1.145",
|
|
19
17
|
"UI5-1.146",
|
|
@@ -22,6 +20,13 @@
|
|
|
22
20
|
"UI5-1.149"
|
|
23
21
|
]
|
|
24
22
|
},
|
|
23
|
+
{
|
|
24
|
+
"version": "1.142",
|
|
25
|
+
"distTag": [
|
|
26
|
+
"UI5-1.142",
|
|
27
|
+
"UI5-1.143"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
25
30
|
{
|
|
26
31
|
"version": "1.139",
|
|
27
32
|
"distTag": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objectPage.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/common/generate/objectPage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC3F,OAAO,KAAK,EACR,sBAAsB,EAGzB,MAAM,4CAA4C,CAAC;AAGpD,OAAO,KAAK,EAAE,WAAW,EAAE,2BAA2B,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC9G,OAAO,EACH,cAAc,EAEd,oBAAoB,EAIpB,WAAW,EAEX,EAAE,EACL,MAAM,6BAA6B,CAAC;AAUrC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAGzE,KAAK,qBAAqB,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,gBAAgB,CAAA;CAAE,CAAC;AACjE,MAAM,WAAW,mBAAmB;IAChC,SAAS,EAAE,UAAU,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,WAAW,CAAC;IACzB,KAAK,EAAE,sBAAsB,CAAC;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,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C3B,IAAI,CA6CN;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAC5B,SAAS,EAAE,UAAU,EACrB,UAAU,EAAE,UAAU,EACtB,kBAAkB,EAAE,2BAA2B,EAC/C,uBAAuB,KAAA,EACvB,IAAI,CAAC,EAAE,cAAc,EACrB,IAAI,UAAQ,GACb,IAAI,CAkCN;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,GAAG,IAAI,CAWzF;AAED;;;;;;GAMG;AACH,wBAAgB,8BAA8B,CAC1C,UAAU,EAAE,UAAU,EACtB,UAAU,EAAE,iBAAiB,GAC9B,SAAS,GAAG,SAAS,CAIvB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,mBAAmB,QAuB/D;AAED;;;;;;GAMG;AACH,wBAAgB,4CAA4C,CACxD,SAAS,EAAE,UAAU,EACrB,cAAc,EAAE,cAAc,GAC/B,qBAAqB,CAavB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,mBAAmB,QAwBtF"}
|
|
@@ -645,7 +645,9 @@ function getPropertiesForStandardActionAndActionGroup(appSchema, definitionName)
|
|
|
645
645
|
if (objectPageHeaderActionDefinition) {
|
|
646
646
|
const objectPageHeaderActionDefinitionProperties = objectPageHeaderActionDefinition.properties ?? {};
|
|
647
647
|
Object.keys(objectPageHeaderActionDefinitionProperties).forEach((propertyName) => {
|
|
648
|
-
|
|
648
|
+
if (typeof objectPageHeaderActionDefinition.properties[propertyName] === 'object') {
|
|
649
|
+
properties[propertyName] = { ...objectPageHeaderActionDefinition.properties[propertyName] };
|
|
650
|
+
}
|
|
649
651
|
});
|
|
650
652
|
}
|
|
651
653
|
return properties;
|