@sap/ux-specification 1.84.129 → 1.84.131

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.
Files changed (191) hide show
  1. package/CHANGELOG.md +466 -399
  2. package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
  3. package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
  4. package/dist/documentation/v2/v2-ListReport.html +2 -2
  5. package/dist/documentation/v2/v2-ListReportNew.html +2 -2
  6. package/dist/documentation/v2/v2-ObjectPage.html +2 -2
  7. package/dist/documentation/v2/v2-OverviewPage.html +2 -2
  8. package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
  9. package/dist/documentation/v4/v4-ListReport.html +2 -2
  10. package/dist/documentation/v4/v4-ObjectPage.html +2 -2
  11. package/dist/index-min.js +182 -180
  12. package/dist/index-min.js.map +4 -4
  13. package/dist/schemas/v2/AnalyticalListPageConfig.json +3 -3
  14. package/dist/schemas/v2/ListReportConfig.json +5 -5
  15. package/dist/schemas/v2/ListReportNewConfig.json +1 -1
  16. package/dist/schemas/v2/ObjectPageConfig.json +5 -5
  17. package/dist/specification/package.json +12 -9
  18. package/dist/specification/scripts/extractDocu.js +18 -1
  19. package/dist/specification/scripts/extractDocu.js.map +1 -1
  20. package/dist/specification/scripts/generate-validity-report.d.ts +15 -0
  21. package/dist/specification/scripts/generate-validity-report.d.ts.map +1 -0
  22. package/dist/specification/scripts/generate-validity-report.js +320 -0
  23. package/dist/specification/scripts/generate-validity-report.js.map +1 -0
  24. package/dist/specification/src/sync/common/decoration/decorator-paths.d.ts +501 -0
  25. package/dist/specification/src/sync/common/decoration/decorator-paths.d.ts.map +1 -0
  26. package/dist/specification/src/sync/common/decoration/decorator-paths.js +497 -0
  27. package/dist/specification/src/sync/common/decoration/decorator-paths.js.map +1 -0
  28. package/dist/specification/src/sync/common/decoration/decorators.d.ts +149 -23
  29. package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -1
  30. package/dist/specification/src/sync/common/decoration/decorators.js +369 -74
  31. package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -1
  32. package/dist/specification/src/sync/common/decoration/index.d.ts +1 -0
  33. package/dist/specification/src/sync/common/decoration/index.d.ts.map +1 -1
  34. package/dist/specification/src/sync/common/decoration/index.js +1 -0
  35. package/dist/specification/src/sync/common/decoration/index.js.map +1 -1
  36. package/dist/specification/src/sync/common/dist_tag.json +8 -3
  37. package/dist/specification/src/sync/common/i18n.json +2 -1
  38. package/dist/specification/src/sync/common/importProject.d.ts.map +1 -1
  39. package/dist/specification/src/sync/common/importProject.js +2 -0
  40. package/dist/specification/src/sync/common/importProject.js.map +1 -1
  41. package/dist/specification/src/sync/common/utils.d.ts +35 -7
  42. package/dist/specification/src/sync/common/utils.d.ts.map +1 -1
  43. package/dist/specification/src/sync/common/utils.js +224 -21
  44. package/dist/specification/src/sync/common/utils.js.map +1 -1
  45. package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts.map +1 -1
  46. package/dist/specification/src/sync/v2/export/exportPageGeneric.js +3 -13
  47. package/dist/specification/src/sync/v2/export/exportPageGeneric.js.map +1 -1
  48. package/dist/specification/src/sync/v2/generate/analyticalListReport.d.ts.map +1 -1
  49. package/dist/specification/src/sync/v2/generate/analyticalListReport.js +48 -0
  50. package/dist/specification/src/sync/v2/generate/analyticalListReport.js.map +1 -1
  51. package/dist/specification/src/sync/v2/generate/listReport.d.ts.map +1 -1
  52. package/dist/specification/src/sync/v2/generate/listReport.js +3 -1
  53. package/dist/specification/src/sync/v2/generate/listReport.js.map +1 -1
  54. package/dist/specification/src/sync/v2/generate/objectPage.d.ts.map +1 -1
  55. package/dist/specification/src/sync/v2/generate/objectPage.js +2 -0
  56. package/dist/specification/src/sync/v2/generate/objectPage.js.map +1 -1
  57. package/dist/specification/src/sync/v2/generate/overviewPage.d.ts +1 -8
  58. package/dist/specification/src/sync/v2/generate/overviewPage.d.ts.map +1 -1
  59. package/dist/specification/src/sync/v2/generate/overviewPage.js +30 -1
  60. package/dist/specification/src/sync/v2/generate/overviewPage.js.map +1 -1
  61. package/dist/specification/src/sync/v2/generate/schemaAdaptation.d.ts.map +1 -1
  62. package/dist/specification/src/sync/v2/generate/schemaAdaptation.js +28 -1
  63. package/dist/specification/src/sync/v2/generate/schemaAdaptation.js.map +1 -1
  64. package/dist/specification/src/sync/v2/import/app/appProvider.d.ts.map +1 -1
  65. package/dist/specification/src/sync/v2/import/app/appProvider.js +2 -0
  66. package/dist/specification/src/sync/v2/import/app/appProvider.js.map +1 -1
  67. package/dist/specification/src/sync/v2/import/importPage.d.ts.map +1 -1
  68. package/dist/specification/src/sync/v2/import/importPage.js +5 -6
  69. package/dist/specification/src/sync/v2/import/importPage.js.map +1 -1
  70. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.d.ts +2 -1
  71. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.d.ts.map +1 -1
  72. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.js +5 -0
  73. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.js.map +1 -1
  74. package/dist/specification/src/sync/v2/import/pages/listReport.d.ts +2 -1
  75. package/dist/specification/src/sync/v2/import/pages/listReport.d.ts.map +1 -1
  76. package/dist/specification/src/sync/v2/import/pages/listReport.js +5 -0
  77. package/dist/specification/src/sync/v2/import/pages/listReport.js.map +1 -1
  78. package/dist/specification/src/sync/v2/import/pages/objectPage.d.ts.map +1 -1
  79. package/dist/specification/src/sync/v2/import/pages/objectPage.js +2 -1
  80. package/dist/specification/src/sync/v2/import/pages/objectPage.js.map +1 -1
  81. package/dist/specification/src/sync/v2/import/utils.d.ts +28 -1
  82. package/dist/specification/src/sync/v2/import/utils.d.ts.map +1 -1
  83. package/dist/specification/src/sync/v2/import/utils.js +37 -0
  84. package/dist/specification/src/sync/v2/import/utils.js.map +1 -1
  85. package/dist/specification/src/sync/v2/utils.d.ts +12 -2
  86. package/dist/specification/src/sync/v2/utils.d.ts.map +1 -1
  87. package/dist/specification/src/sync/v2/utils.js +19 -2
  88. package/dist/specification/src/sync/v2/utils.js.map +1 -1
  89. package/dist/specification/src/sync/v4/application.d.ts +39 -4
  90. package/dist/specification/src/sync/v4/application.d.ts.map +1 -1
  91. package/dist/specification/src/sync/v4/application.js +67 -6
  92. package/dist/specification/src/sync/v4/application.js.map +1 -1
  93. package/dist/specification/src/sync/v4/export/controls/FilterBar.d.ts +2 -1
  94. package/dist/specification/src/sync/v4/export/controls/FilterBar.d.ts.map +1 -1
  95. package/dist/specification/src/sync/v4/export/controls/FilterBar.js +2 -1
  96. package/dist/specification/src/sync/v4/export/controls/FilterBar.js.map +1 -1
  97. package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts +2 -1
  98. package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts.map +1 -1
  99. package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.js +2 -1
  100. package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +1 -1
  101. package/dist/specification/src/sync/v4/export/controls/Table.d.ts +19 -6
  102. package/dist/specification/src/sync/v4/export/controls/Table.d.ts.map +1 -1
  103. package/dist/specification/src/sync/v4/export/controls/Table.js +24 -8
  104. package/dist/specification/src/sync/v4/export/controls/Table.js.map +1 -1
  105. package/dist/specification/src/sync/v4/export/controls/TableColumn.d.ts.map +1 -1
  106. package/dist/specification/src/sync/v4/export/controls/TableColumn.js +2 -2
  107. package/dist/specification/src/sync/v4/export/controls/TableColumn.js.map +1 -1
  108. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts +2 -1
  109. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts.map +1 -1
  110. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js +2 -1
  111. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js.map +1 -1
  112. package/dist/specification/src/sync/v4/export/export.d.ts.map +1 -1
  113. package/dist/specification/src/sync/v4/export/export.js +38 -8
  114. package/dist/specification/src/sync/v4/export/export.js.map +1 -1
  115. package/dist/specification/src/sync/v4/export/pages/ListReport.js +1 -1
  116. package/dist/specification/src/sync/v4/export/pages/ListReport.js.map +1 -1
  117. package/dist/specification/src/sync/v4/generate/index.d.ts +1 -1
  118. package/dist/specification/src/sync/v4/generate/index.d.ts.map +1 -1
  119. package/dist/specification/src/sync/v4/generate/index.js +1 -1
  120. package/dist/specification/src/sync/v4/generate/index.js.map +1 -1
  121. package/dist/specification/src/sync/v4/generate/list-report/ListReportUtils.d.ts +72 -0
  122. package/dist/specification/src/sync/v4/generate/list-report/ListReportUtils.d.ts.map +1 -0
  123. package/dist/specification/src/sync/v4/generate/list-report/ListReportUtils.js +299 -0
  124. package/dist/specification/src/sync/v4/generate/list-report/ListReportUtils.js.map +1 -0
  125. package/dist/specification/src/sync/v4/generate/{listReport.d.ts → list-report/listReport.d.ts} +24 -14
  126. package/dist/specification/src/sync/v4/generate/list-report/listReport.d.ts.map +1 -0
  127. package/dist/specification/src/sync/v4/generate/{listReport.js → list-report/listReport.js} +135 -130
  128. package/dist/specification/src/sync/v4/generate/list-report/listReport.js.map +1 -0
  129. package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -1
  130. package/dist/specification/src/sync/v4/generate/objectPage.js +99 -16
  131. package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -1
  132. package/dist/specification/src/sync/v4/import/pages/listReport.d.ts.map +1 -1
  133. package/dist/specification/src/sync/v4/import/pages/listReport.js +15 -9
  134. package/dist/specification/src/sync/v4/import/pages/listReport.js.map +1 -1
  135. package/dist/specification/src/sync/v4/sync-rules/App.d.ts +9 -7
  136. package/dist/specification/src/sync/v4/sync-rules/App.d.ts.map +1 -1
  137. package/dist/specification/src/sync/v4/sync-rules/App.js +4 -8
  138. package/dist/specification/src/sync/v4/sync-rules/App.js.map +1 -1
  139. package/dist/specification/src/sync/v4/sync-rules/AppSchema.d.ts +2 -9
  140. package/dist/specification/src/sync/v4/sync-rules/AppSchema.d.ts.map +1 -1
  141. package/dist/specification/src/sync/v4/sync-rules/AppSchema.js +2 -11
  142. package/dist/specification/src/sync/v4/sync-rules/AppSchema.js.map +1 -1
  143. package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.d.ts +177 -46
  144. package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.d.ts.map +1 -1
  145. package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.js +498 -152
  146. package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.js.map +1 -1
  147. package/dist/specification/src/sync/v4/sync-rules/Page.d.ts +17 -22
  148. package/dist/specification/src/sync/v4/sync-rules/Page.d.ts.map +1 -1
  149. package/dist/specification/src/sync/v4/sync-rules/Page.js +15 -22
  150. package/dist/specification/src/sync/v4/sync-rules/Page.js.map +1 -1
  151. package/dist/specification/src/sync/v4/sync-rules/index.d.ts +5 -0
  152. package/dist/specification/src/sync/v4/sync-rules/index.d.ts.map +1 -0
  153. package/dist/specification/src/sync/v4/sync-rules/index.js +21 -0
  154. package/dist/specification/src/sync/v4/sync-rules/index.js.map +1 -0
  155. package/dist/specification/src/sync/v4/sync-rules/utils.d.ts.map +1 -1
  156. package/dist/specification/src/sync/v4/sync-rules/utils.js +4 -0
  157. package/dist/specification/src/sync/v4/sync-rules/utils.js.map +1 -1
  158. package/dist/specification/src/sync/v4/utils/index.d.ts +2 -0
  159. package/dist/specification/src/sync/v4/utils/index.d.ts.map +1 -0
  160. package/dist/specification/src/sync/v4/utils/index.js +18 -0
  161. package/dist/specification/src/sync/v4/utils/index.js.map +1 -0
  162. package/dist/specification/src/sync/v4/utils/utils.d.ts +9 -1
  163. package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -1
  164. package/dist/specification/src/sync/v4/utils/utils.js +19 -4
  165. package/dist/specification/src/sync/v4/utils/utils.js.map +1 -1
  166. package/dist/specification/test/test-projects/v2sttaProdMan2/webapp/manifest.json +549 -0
  167. package/dist/specification/test/test-projects/v4new/webapp/manifest.json +147 -0
  168. package/dist/specification/test/test-utils/utils.d.ts +55 -0
  169. package/dist/specification/test/test-utils/utils.d.ts.map +1 -0
  170. package/dist/specification/test/test-utils/utils.js +346 -0
  171. package/dist/specification/test/test-utils/utils.js.map +1 -0
  172. package/dist/specification/test/unit/decorators/validity-test-utils.d.ts +274 -0
  173. package/dist/specification/test/unit/decorators/validity-test-utils.d.ts.map +1 -0
  174. package/dist/specification/test/unit/decorators/validity-test-utils.js +583 -0
  175. package/dist/specification/test/unit/decorators/validity-test-utils.js.map +1 -0
  176. package/dist/types/src/apiTypes.d.ts +2 -3
  177. package/dist/types/src/apiTypes.d.ts.map +1 -1
  178. package/dist/types/src/apiTypes.js.map +1 -1
  179. package/dist/types/src/common/types.d.ts +126 -13
  180. package/dist/types/src/common/types.d.ts.map +1 -1
  181. package/dist/types/src/common/types.js +5 -1
  182. package/dist/types/src/common/types.js.map +1 -1
  183. package/dist/types/src/v2/controls/ObjectPageTable.d.ts +1 -1
  184. package/dist/types/src/v2/controls/Table.d.ts +1 -1
  185. package/package.json +13 -10
  186. package/dist/specification/src/sync/v4/generate/ListReportUtils.d.ts +0 -74
  187. package/dist/specification/src/sync/v4/generate/ListReportUtils.d.ts.map +0 -1
  188. package/dist/specification/src/sync/v4/generate/ListReportUtils.js +0 -262
  189. package/dist/specification/src/sync/v4/generate/ListReportUtils.js.map +0 -1
  190. package/dist/specification/src/sync/v4/generate/listReport.d.ts.map +0 -1
  191. 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.dependsOnMessage = exports.validity = exports.getDescriptionSrcURL = exports.descriptionSrcURL = exports.descriptionUrlMetadataKey = exports.getPageLayoutInformation = exports.getChildId = exports.childId = exports.pageLayoutInformation = exports.syncRule = exports.metadataKeys = void 0;
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.hidden = hidden;
10
- exports.dependsOn = dependsOn;
11
- exports.getDependsOnMetadata = getDependsOnMetadata;
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
- // Metadata keys for schema post-processing
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
- dependsOn: Symbol('generate:dependsOn'),
21
- validity: Symbol('generate:validity')
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
  };
@@ -44,6 +61,9 @@ function getReflectTypeMetadata(cls) {
44
61
  }
45
62
  return rule;
46
63
  }
64
+ // ============================================
65
+ // PAGE LAYOUT DECORATORS
66
+ // ============================================
47
67
  const pageLayoutInformation = (pageInfo) => (constructor) => {
48
68
  constructor.prototype.pageLayoutInformation = pageInfo;
49
69
  };
@@ -61,9 +81,9 @@ const getPageLayoutInformation = (target) => {
61
81
  return Object.getPrototypeOf(target).pageLayoutInformation;
62
82
  };
63
83
  exports.getPageLayoutInformation = getPageLayoutInformation;
64
- /*
65
- * Metadata describing the documentation link
66
- */
84
+ // ============================================
85
+ // DESCRIPTION URL DECORATOR
86
+ // ============================================
67
87
  exports.descriptionUrlMetadataKey = Symbol('descriptionSrcURL');
68
88
  const descriptionSrcURL = (id) => {
69
89
  return Reflect.metadata(exports.descriptionUrlMetadataKey, id);
@@ -73,9 +93,9 @@ const getDescriptionSrcURL = (target, propertyName) => {
73
93
  return Reflect.getMetadata(exports.descriptionUrlMetadataKey, target, propertyName);
74
94
  };
75
95
  exports.getDescriptionSrcURL = getDescriptionSrcURL;
76
- /*
77
- * Validity decorator and functions for it
78
- */
96
+ // ============================================
97
+ // VALIDITY DECORATOR
98
+ // ============================================
79
99
  const validity = (validity) => {
80
100
  return Reflect.metadata(exports.metadataKeys.validity, validity);
81
101
  };
@@ -94,6 +114,9 @@ function getValidityMetadata(target, propertyName) {
94
114
  }
95
115
  return validityInfo;
96
116
  }
117
+ // ============================================
118
+ // VIEW NODE DECORATOR
119
+ // ============================================
97
120
  /**
98
121
  * Mark the target class with a metadata flag indicating it is a view node.
99
122
  *
@@ -102,6 +125,9 @@ function getValidityMetadata(target, propertyName) {
102
125
  function isViewNode(target) {
103
126
  Reflect.defineMetadata(exports.metadataKeys.isViewNode, true, target);
104
127
  }
128
+ // ============================================
129
+ // DESCRIPTION DECORATOR
130
+ // ============================================
105
131
  /**
106
132
  * Decorator to add a description to a class or property in the schema.
107
133
  *
@@ -113,90 +139,359 @@ function description(text) {
113
139
  Reflect.defineMetadata(exports.metadataKeys.description, text, target);
114
140
  };
115
141
  }
142
+ // ============================================
143
+ // CONDITION PARSING
144
+ // ============================================
145
+ /**
146
+ * Parses a path string to extract the source prefix (app, page, custom).
147
+ * Used to determine which context source to look up values from.
148
+ *
149
+ * @param path - The path string to parse (e.g., 'app.manifest', 'page.isALP', 'custom.table.type')
150
+ * @returns An object with source and the full path
151
+ */
152
+ function parsePathWithSource(path) {
153
+ if (path.startsWith('app.')) {
154
+ return { source: 'app', path };
155
+ }
156
+ if (path.startsWith('page.')) {
157
+ return { source: 'page', path };
158
+ }
159
+ if (path.startsWith('custom.')) {
160
+ return { source: 'custom', path };
161
+ }
162
+ // Return path without source - this will not resolve since a recognized prefix is required
163
+ return { path };
164
+ }
116
165
  /**
117
- * Decorator to conditionally hide a property in the schema based on a condition function.
118
- * The condition function is evaluated during schema generation with the appropriate context.
166
+ * Converts a single Condition (PathNode, WhenCondition, NotCondition, or true) into a SingleDependsOnCondition.
119
167
  *
120
- * @param condition - A function that takes context and returns boolean indicating if property should be hidden
121
- * @returns PropertyDecorator or ClassDecorator depending on usage
168
+ * @param condition - The condition to convert
169
+ * @returns A SingleDependsOnCondition object
122
170
  */
123
- function hidden(condition) {
124
- return ((target, propertyKey) => {
125
- if (propertyKey !== undefined) {
126
- // Property decorator usage
127
- Reflect.defineMetadata(exports.metadataKeys.hidden, condition, target, propertyKey);
171
+ function conditionToSingle(condition) {
172
+ if (condition === true) {
173
+ // Always true condition - use a path that will resolve to truthy
174
+ return { path: '__always__', expectedValue: true };
175
+ }
176
+ if ((0, decorator_paths_1.isWhenCondition)(condition)) {
177
+ const fullPath = (0, decorator_paths_1.getPath)(condition.path);
178
+ const parsed = parsePathWithSource(fullPath);
179
+ const result = {
180
+ path: fullPath,
181
+ source: parsed.source
182
+ };
183
+ if (typeof condition.expected === 'function') {
184
+ result.dependsOn = condition.expected;
128
185
  }
129
186
  else {
130
- // Class decorator usage
131
- Reflect.defineMetadata(exports.metadataKeys.hidden, condition, target);
187
+ result.expectedValue = condition.expected;
132
188
  }
133
- });
189
+ return result;
190
+ }
191
+ if ((0, decorator_paths_1.isNotCondition)(condition)) {
192
+ const fullPath = (0, decorator_paths_1.getPath)(condition.path);
193
+ const parsed = parsePathWithSource(fullPath);
194
+ const result = {
195
+ path: fullPath,
196
+ source: parsed.source,
197
+ negate: true // Set the negate flag for NotCondition
198
+ };
199
+ if (condition.expected !== undefined) {
200
+ if (typeof condition.expected === 'function') {
201
+ result.dependsOn = condition.expected;
202
+ }
203
+ else {
204
+ result.expectedValue = condition.expected;
205
+ }
206
+ }
207
+ // If no expected value, it will be a truthy check that gets negated (i.e., falsy check)
208
+ return result;
209
+ }
210
+ if ((0, decorator_paths_1.isPathNode)(condition)) {
211
+ const fullPath = (0, decorator_paths_1.getPath)(condition);
212
+ const parsed = parsePathWithSource(fullPath);
213
+ return {
214
+ path: fullPath,
215
+ source: parsed.source
216
+ // No expectedValue = truthy check
217
+ };
218
+ }
219
+ // Fallback (should not happen with proper typing)
220
+ return { path: String(condition) };
134
221
  }
135
222
  /**
136
- * Helper function to create a DependsOnMessage object.
223
+ * Parses a condition input into a normalized depends on condition object.
137
224
  *
138
- * @param text - The message text (can be true for default i18n message, a string, or a function)
139
- * @param deletable - Whether the message can be deleted/dismissed in the UI
140
- * @returns A DependsOnMessage object
225
+ * This ensures consistent behavior across hide, message, and readonly decorators.
226
+ *
227
+ * Supports:
228
+ * - `true` - Always true (e.g., `@hide(true)` to always hide)
229
+ * - PathNode - Truthy check (e.g., `@hide(page.isALP)`)
230
+ * - WhenCondition - Value or function check (e.g., `@hide(when(page.type, 'GridTable'))`)
231
+ * - AndCondition - All conditions must be met
232
+ * - OrCondition - At least one condition must be met.
233
+ *
234
+ * @param condition - The condition to parse.
235
+ * @returns A normalized DependsOnCondition object.
141
236
  */
142
- const dependsOnMessage = (text = true, deletable = true) => ({
143
- text,
144
- deletable
145
- });
146
- exports.dependsOnMessage = dependsOnMessage;
237
+ function parseCondition(condition) {
238
+ // Handle `true` - always true
239
+ if (condition === true) {
240
+ return {
241
+ path: '__always__',
242
+ expectedValue: true
243
+ };
244
+ }
245
+ // Handle WhenCondition from when() helper
246
+ if ((0, decorator_paths_1.isWhenCondition)(condition)) {
247
+ return conditionToSingle(condition);
248
+ }
249
+ // Handle NotCondition from not() helper
250
+ if ((0, decorator_paths_1.isNotCondition)(condition)) {
251
+ return conditionToSingle(condition);
252
+ }
253
+ // Handle PathNode (truthy check)
254
+ if ((0, decorator_paths_1.isPathNode)(condition)) {
255
+ return conditionToSingle(condition);
256
+ }
257
+ // Handle ConditionGroup from and()/or() helpers
258
+ if ((0, decorator_paths_1.isConditionGroup)(condition)) {
259
+ if ((0, decorator_paths_1.isAndCondition)(condition)) {
260
+ // AND logic: Convert to conditions array (MultiDependsOnCondition)
261
+ // Supports both simple conditions and nested OR groups
262
+ const conditions = condition.conditions.map((c) => {
263
+ const parsed = parseCondition(c);
264
+ // Check if this is a nested OR condition (has orConditions array)
265
+ if ('orConditions' in parsed && Array.isArray(parsed.orConditions)) {
266
+ // Return as OrConditionGroup for nested OR within AND
267
+ return { __orConditions: parsed.orConditions };
268
+ }
269
+ // Return as SingleDependsOnCondition
270
+ return parsed;
271
+ });
272
+ return { conditions };
273
+ }
274
+ else if ((0, decorator_paths_1.isOrCondition)(condition)) {
275
+ // OR logic: Convert to orConditions array
276
+ // Supports both simple conditions and nested AND groups
277
+ const orConditions = condition.conditions.map((c) => {
278
+ const parsed = parseCondition(c);
279
+ // Check if this is a nested AND condition (has conditions array)
280
+ if ('conditions' in parsed && Array.isArray(parsed.conditions)) {
281
+ // Return as AndConditionGroup for nested AND within OR
282
+ return { __andConditions: parsed.conditions };
283
+ }
284
+ // Return as SingleDependsOnCondition (symmetric with AND handling)
285
+ return parsed;
286
+ });
287
+ return { orConditions };
288
+ }
289
+ }
290
+ // Fallback - should not reach here with proper typing
291
+ return { path: '__unknown__' };
292
+ }
293
+ // ============================================
294
+ // HIDE DECORATOR
295
+ // ============================================
147
296
  /**
148
- * Decorator to conditionally show/hide a property based on one or more property values.
149
- * The decorated property will be hidden if the dependency condition(s) are not met.
297
+ * Decorator to conditionally hide a property based on conditions.
298
+ * The property will be hidden if the condition(s) are NOT met (inverted logic).
299
+ *
300
+ * @example
301
+ * ```typescript
302
+ * import { page, custom, when, and, or } from './decorator-paths';
303
+ *
304
+ * // Truthy check - hide if page.isALP is falsy
305
+ * @hide(page.isALP)
150
306
  *
151
- * @param pathOrConditions - A string property path or an array of condition objects (all must be met)
152
- * @param conditionOrValueOrMessage - Single condition: condition/expected value/message; Multi-condition: message parameter
153
- * @param message - Optional message parameter (only for single condition with condition/value)
307
+ * // Equality check - hide if page.type !== 'GridTable'
308
+ * @hide(when(page.type, 'GridTable'))
309
+ *
310
+ * // Custom function - hide if type === 'GridTable'
311
+ * @hide(when(page.type, (type) => type !== 'GridTable'))
312
+ *
313
+ * // Always hide
314
+ * @hide(true)
315
+ *
316
+ * // AND logic - hide if not (isALP AND type === 'GridTable')
317
+ * @hide(and(page.isALP, when(page.type, 'GridTable')))
318
+ *
319
+ * // OR logic - hide if not (actionType === 'Bound' OR actionType === 'Custom')
320
+ * @hide(or(when(page.actionType, 'Bound'), when(page.actionType, 'Custom')))
321
+ * ```
322
+ * @param condition - The condition to evaluate
154
323
  * @returns PropertyDecorator
155
324
  */
156
- function dependsOn(pathOrConditions, conditionOrValueOrMessage, message) {
325
+ function hide(condition) {
157
326
  return (target, propertyKey) => {
158
- let dependsOnInfo;
159
- // Check if this is multi-condition (array) or single condition (string)
160
- if (Array.isArray(pathOrConditions)) {
161
- // Multi-condition case
162
- dependsOnInfo = {
163
- conditions: pathOrConditions,
164
- message: conditionOrValueOrMessage
165
- };
166
- }
167
- else {
168
- dependsOnInfo = { path: pathOrConditions };
169
- if (typeof conditionOrValueOrMessage === 'function') {
170
- dependsOnInfo.dependsOn = conditionOrValueOrMessage;
171
- }
172
- else if (conditionOrValueOrMessage !== undefined && typeof conditionOrValueOrMessage === 'object') {
173
- // It's a message object
174
- dependsOnInfo.message = conditionOrValueOrMessage;
175
- }
176
- else if (conditionOrValueOrMessage !== undefined) {
177
- dependsOnInfo.expectedValue = conditionOrValueOrMessage;
178
- }
179
- if (message !== undefined) {
180
- dependsOnInfo.message = message;
181
- }
182
- }
183
- Reflect.defineMetadata(exports.metadataKeys.dependsOn, dependsOnInfo, target, propertyKey);
327
+ const hideInfo = parseCondition(condition);
328
+ Reflect.defineMetadata(exports.metadataKeys.hide, hideInfo, target, propertyKey);
329
+ };
330
+ }
331
+ /**
332
+ * Retrieves the hide metadata associated with a specific property of a target object.
333
+ *
334
+ * @param target - The object containing the property.
335
+ * @param propertyName - The name of the property whose hide metadata is to be retrieved.
336
+ * @returns The hide information of the property, or undefined if no metadata is found.
337
+ */
338
+ function getHideMetadata(target, propertyName) {
339
+ let hideInfo;
340
+ if (target) {
341
+ hideInfo = Reflect.getMetadata(exports.metadataKeys.hide, target, propertyName);
342
+ }
343
+ return hideInfo;
344
+ }
345
+ // ============================================
346
+ // MESSAGE DECORATOR
347
+ // ============================================
348
+ /**
349
+ * Decorator to conditionally display a message based on conditions.
350
+ * A message will be shown when the condition(s) are met.
351
+ * Multiple @message decorators can be applied to the same property - all matching conditions will show their messages.
352
+ *
353
+ * @param condition - The condition to evaluate
354
+ * @param messageConfig - The message configuration (use msg() helper)
355
+ * @returns PropertyDecorator
356
+ * @example
357
+ * ```typescript
358
+ * import { page, when, msg } from './decorator-paths';
359
+ *
360
+ * // Simple message
361
+ * @message(page.betaFeature, msg('BETA_WARNING'))
362
+ *
363
+ * // Message with parameters
364
+ * @message(when(page.type, 'GridTable'), msg('TABLE_WARNING', { type: 'GridTable' }))
365
+ *
366
+ * // Deletable message
367
+ * @message(page.deprecated, msg('DEPRECATED', { since: '1.96' }, { deletable: true }))
368
+ *
369
+ * // With AND/OR conditions
370
+ * @message(and(page.isALP, when(page.type, 'GridTable')), msg('ALP_GRID_INFO'))
371
+ *
372
+ * // Multiple messages on same property
373
+ * @message(when(page.type, 'AnalyticalTable'), msg('ANALYTICAL_WARNING'))
374
+ * @message(when(page.mode, 'edit'), msg('EDIT_MODE_WARNING'))
375
+ * ```
376
+ */
377
+ function message(condition, messageConfig) {
378
+ return (target, propertyKey) => {
379
+ const messageInfo = parseCondition(condition);
380
+ messageInfo.messageConfig = messageConfig;
381
+ // Support multiple @message decorators - store as array
382
+ const existing = Reflect.getMetadata(exports.metadataKeys.message, target, propertyKey) || [];
383
+ existing.push(messageInfo);
384
+ Reflect.defineMetadata(exports.metadataKeys.message, existing, target, propertyKey);
385
+ };
386
+ }
387
+ /**
388
+ * Retrieves the message metadata associated with a specific property of a target object.
389
+ * Returns an array of DecoratorMetadata since multiple @message decorators can be applied.
390
+ *
391
+ * @param target - The object containing the property.
392
+ * @param propertyName - The name of the property whose message metadata is to be retrieved.
393
+ * @returns An array of message metadata, or undefined if no metadata is found.
394
+ */
395
+ function getMessageMetadata(target, propertyName) {
396
+ if (target) {
397
+ return Reflect.getMetadata(exports.metadataKeys.message, target, propertyName);
398
+ }
399
+ return undefined;
400
+ }
401
+ // ============================================
402
+ // READONLY DECORATOR
403
+ // ============================================
404
+ /**
405
+ * Decorator to conditionally mark a property as readonly based on conditions.
406
+ * The property will be readonly when the condition(s) are met.
407
+ *
408
+ * @example
409
+ * ```typescript
410
+ * import { page, custom, when } from './decorator-paths';
411
+ *
412
+ * // Truthy check - readonly if page.isLocked is truthy
413
+ * @readonly(page.isLocked)
414
+ *
415
+ * // Equality check - readonly if mode === 'view'
416
+ * @readonly(when(page.mode, 'view'))
417
+ *
418
+ * // Custom function - readonly if role is 'viewer'
419
+ * @readonly(when(custom.user.role, (role) => role === 'viewer'))
420
+ * ```
421
+ * @param condition - The condition to evaluate
422
+ * @returns PropertyDecorator
423
+ */
424
+ function readonly(condition) {
425
+ return (target, propertyKey) => {
426
+ const readonlyInfo = parseCondition(condition);
427
+ Reflect.defineMetadata(exports.metadataKeys.readonly, readonlyInfo, target, propertyKey);
428
+ };
429
+ }
430
+ /**
431
+ * Retrieves the readonly metadata associated with a specific property of a target object.
432
+ *
433
+ * @param target - The object containing the property.
434
+ * @param propertyName - The name of the property whose readonly metadata is to be retrieved.
435
+ * @returns The readonly information of the property, or undefined if no metadata is found.
436
+ */
437
+ function getReadonlyMetadata(target, propertyName) {
438
+ let readonlyInfo;
439
+ if (target) {
440
+ readonlyInfo = Reflect.getMetadata(exports.metadataKeys.readonly, target, propertyName);
441
+ }
442
+ return readonlyInfo;
443
+ }
444
+ /**
445
+ * Decorator to conditionally restrict enum values based on conditions.
446
+ * When the condition is met, only the specified allowedValues will be available.
447
+ * If multiple @enums decorators exist on the same property, the first matching condition wins.
448
+ *
449
+ * @example
450
+ * ```typescript
451
+ * import { custom, when } from './decorator-paths';
452
+ *
453
+ * // Restrict to specific values when table type is TreeTable
454
+ * @enums(when(custom.table.type, 'TreeTable'), ['Inline', 'NewPage', 'CreationDialog'])
455
+ *
456
+ * // Different values for other table types
457
+ * @enums(when(custom.table.type, 'ResponsiveTable'), ['Inline', 'InlineCreationRows', 'NewPage', 'CreationDialog', 'External'])
458
+ *
459
+ * // Default values when no other condition matches
460
+ * @enums(true, ['NewPage', 'CreationDialog'])
461
+ * ```
462
+ * @param condition - The condition to evaluate
463
+ * @param allowedValues - Array of allowed enum values when condition is met
464
+ * @returns PropertyDecorator
465
+ */
466
+ function enums(condition, allowedValues) {
467
+ return (target, propertyKey) => {
468
+ const enumsInfo = {
469
+ ...parseCondition(condition),
470
+ allowedValues
471
+ };
472
+ // Support multiple @enums decorators - store as array, first match wins
473
+ const existing = Reflect.getMetadata(exports.metadataKeys.enums, target, propertyKey) || [];
474
+ existing.push(enumsInfo);
475
+ Reflect.defineMetadata(exports.metadataKeys.enums, existing, target, propertyKey);
184
476
  };
185
477
  }
186
478
  /**
187
- * Retrieves the dependsOn metadata associated with a specific property of a target object.
479
+ * Retrieves the enums metadata associated with a specific property of a target object.
480
+ * Returns an array of EnumsDecoratorMetadata since multiple @enums decorators can be applied.
188
481
  *
189
482
  * @param target - The object containing the property.
190
- * @param propertyName - The name of the property whose dependsOn metadata is to be retrieved.
191
- * @returns The dependsOn information of the property, or undefined if no metadata is found.
483
+ * @param propertyName - The name of the property whose enums metadata is to be retrieved.
484
+ * @returns An array of enums metadata, or undefined if no metadata is found.
192
485
  */
193
- function getDependsOnMetadata(target, propertyName) {
194
- let dependsOnInfo;
486
+ function getEnumsMetadata(target, propertyName) {
195
487
  if (target) {
196
- dependsOnInfo = Reflect.getMetadata(exports.metadataKeys.dependsOn, target, propertyName);
488
+ return Reflect.getMetadata(exports.metadataKeys.enums, target, propertyName);
197
489
  }
198
- return dependsOnInfo;
490
+ return undefined;
199
491
  }
492
+ // ============================================
493
+ // DEPRECATION HELPER
494
+ // ============================================
200
495
  /**
201
496
  * Generates a deprecation message for a given key, optionally including additional validity information.
202
497
  *
@@ -1 +1 @@
1
- {"version":3,"file":"decorators.js","sourceRoot":"","sources":["../../../../../../src/sync/common/decoration/decorators.ts"],"names":[],"mappings":";;;AA2BA,gDAMC;AAQD,wDAMC;AA+CD,kDAMC;AAOD,gCAEC;AAQD,kCAIC;AASD,wBAUC;AAuBD,8BAiCC;AASD,oDAMC;AASD,oDAQC;AApOD,4BAA0B;AAa1B,2CAA2C;AAC9B,QAAA,YAAY,GAAG;IACxB,WAAW,EAAE,MAAM,CAAC,gBAAgB,CAAC;IACrC,MAAM,EAAE,MAAM,CAAC,WAAW,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC,eAAe,CAAC;IACnC,QAAQ,EAAE,MAAM,CAAC,WAAW,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC,oBAAoB,CAAC;IACvC,QAAQ,EAAE,MAAM,CAAC,mBAAmB,CAAC;CACxC,CAAC;AAEK,MAAM,QAAQ,GAAG,CAAC,QAAkB,EAAO,EAAE;IAChD,OAAO,OAAO,CAAC,QAAQ,CAAC,oBAAY,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;AAC7D,CAAC,CAAC;AAFW,QAAA,QAAQ,YAEnB;AAEF,SAAgB,kBAAkB,CAAC,MAAc,EAAE,YAAoB;IACnE,IAAI,IAAc,CAAC;IACnB,I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B,KAAK,SAAS,EAAE,CAAC;gBACjD,aAAa,CAAC,aAAa,GAAG,yBAAyB,CAAC;YAC5D,CAAC;YAED,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;gBACxB,aAAa,CAAC,OAAO,GAAG,OAAO,CAAC;YACpC,CAAC;QACL,CAAC;QAED,OAAO,CAAC,cAAc,CAAC,oBAAY,CAAC,SAAS,EAAE,aAAa,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IACvF,CAAC,CAAC;AACN,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,MAAc,EAAE,YAAoB;IACrE,IAAI,aAAiC,CAAC;IACtC,IAAI,MAAM,EAAE,CAAC;QACT,aAAa,GAAG,OAAO,CAAC,WAAW,CAAC,oBAAY,CAAC,SAAS,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC;IACtF,CAAC;IACD,OAAO,aAAa,CAAC;AACzB,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,GAAW,EAAE,mBAAyC;IACvF,IAAI,IAAI,GAAG,GAAG,GAAG,gBAAgB,CAAC;IAClC,IAAI,mBAAmB,IAAI,mBAAmB,CAAC,UAAU,EAAE,CAAC;QACxD,IAAI,GAAG,mBAAmB,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,UAAU,mBAAmB,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;QAC7G,IAAI,GAAG,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,KAAK,mBAAmB,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IAC1G,CAAC;IAED,OAAO,IAAI,CAAC;AAChB,CAAC"}
1
+ {"version":3,"file":"decorators.js","sourceRoot":"","sources":["../../../../../../src/sync/common/decoration/decorators.ts"],"names":[],"mappings":";;;AAqDA,gDAMC;AAQD,wDAMC;AAoD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
2
  export * from './decorators';
3
3
  export * from './flex';
4
+ export * from './decorator-paths';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -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.142",
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": [
@@ -53,5 +53,6 @@
53
53
  "QUICKVARIANTSELECTIONXNOVARIANTS": "The quickVariantSelectionX property is defined but contains no variants.",
54
54
  "SHOWITEMNAVIGATIONONCHARTONLYCHART": "The showItemNavigationOnChart property is only evaluated for chart views.",
55
55
  "QUICKVARIANTSELECTIONNOSELECTIONVARIANTANNOTATIONS": "At least one SelectionVariant or SelectionPresentationVariant annotation must be defined to enable quickVariantSelection.",
56
- "QUICKVARIANTSELECTIONNOVARIANTS": "The quickVariantSelection property specifies the showCounts property but contains no variants."
56
+ "QUICKVARIANTSELECTIONNOVARIANTS": "The quickVariantSelection property specifies the showCounts property but contains no variants.",
57
+ "UNRESOLVABLE_VALUE_OF_SELECTION_FIELD": "Unresolvable value for selection field"
57
58
  }
@@ -1 +1 @@
1
- {"version":3,"file":"importProject.d.ts","sourceRoot":"","sources":["../../../../../src/sync/common/importProject.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC/E,OAAO,KAAK,EACR,IAAI,EACJ,uBAAuB,EAG1B,MAAM,6BAA6B,CAAC;AAyHrC,wBAAgB,2BAA2B,CAAC,aAAa,EAAE,MAAM,EAAE,eAAe,EAAE,iBAAiB,GAAG,SAAS,CAEhH;AA+RD;;;GAGG;AACH,wBAAsB,mBAAmB,CAAC,uBAAuB,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC,CAuB3G;AAED;;;GAGG;AACH,wBAAsB,4BAA4B,CAAC,uBAAuB,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC,CAyCpH"}
1
+ {"version":3,"file":"importProject.d.ts","sourceRoot":"","sources":["../../../../../src/sync/common/importProject.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC/E,OAAO,KAAK,EACR,IAAI,EACJ,uBAAuB,EAG1B,MAAM,6BAA6B,CAAC;AAyHrC,wBAAgB,2BAA2B,CAAC,aAAa,EAAE,MAAM,EAAE,eAAe,EAAE,iBAAiB,GAAG,SAAS,CAEhH;AAiSD;;;GAGG;AACH,wBAAsB,mBAAmB,CAAC,uBAAuB,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC,CAuB3G;AAED;;;GAGG;AACH,wBAAsB,4BAA4B,CAAC,uBAAuB,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC,CAyCpH"}
@@ -164,6 +164,8 @@ function generateObjectPageSchemasV4(generateParameters, genericSchemas, appSche
164
164
  for (const page in pages) {
165
165
  const entitySetName = pages[page].options.settings.entitySet;
166
166
  const entitySet = getEntitySetByEntitySetName(entitySetName, generateParameters.serviceAVT);
167
+ generateParameters.entityType = entitySet?.entityType;
168
+ generateParameters.entitySet = entitySet;
167
169
  if (!entitySet) {
168
170
  (0, extensionLogger_1.log)(generateParameters.logger, {
169
171
  severity: "error" /* LogSeverity.Error */,