@sap/ux-specification 1.90.25 → 1.90.28

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 (168) hide show
  1. package/CHANGELOG.md +77 -0
  2. package/dist/documentation/v2/v2-AnalyticalListPage.html +1 -1
  3. package/dist/documentation/v2/v2-ApplicationV2.html +1 -1
  4. package/dist/documentation/v2/v2-ListReport.html +1 -1
  5. package/dist/documentation/v2/v2-ObjectPage.html +1 -1
  6. package/dist/documentation/v2/v2-OverviewPage.html +1 -1
  7. package/dist/documentation/v4/v4-ApplicationV4.html +1 -1
  8. package/dist/documentation/v4/v4-ListReport.html +1 -1
  9. package/dist/documentation/v4/v4-ObjectPage.html +1 -1
  10. package/dist/index-min.js +1 -1
  11. package/dist/schemas/v2/AnalyticalListPageConfig.json +10 -10
  12. package/dist/schemas/v2/ListReportConfig.json +15 -15
  13. package/dist/schemas/v2/ObjectPageConfig.json +204 -20
  14. package/dist/schemas/v4/ListReportConfig.json +22 -2
  15. package/dist/schemas/v4/ObjectPageConfig.json +36 -0
  16. package/dist/scripts/to-json-schema.js +1 -1
  17. package/dist/scripts/to-json-schema.js.map +1 -1
  18. package/dist/specification/v2/index-min.js +1 -1
  19. package/dist/src/apiTypes.d.ts +5 -4
  20. package/dist/src/project.d.ts +1 -0
  21. package/dist/src/project.js +2 -2
  22. package/dist/src/project.js.map +1 -1
  23. package/dist/src/specification/schemaAccess.js +2 -2
  24. package/dist/src/specification/schemaAccess.js.map +1 -1
  25. package/dist/src/specification/v2/controls/Action.d.ts +6 -4
  26. package/dist/src/specification/v2/controls/Facets.d.ts +2 -1
  27. package/dist/src/specification/v2/controls/ObjectPageHeader.d.ts +3 -2
  28. package/dist/src/specification/v2/controls/ObjectPageSection.d.ts +44 -9
  29. package/dist/src/specification/v2/controls/ObjectPageSection.js.map +1 -1
  30. package/dist/src/specification/v2/controls/ObjectPageTable.d.ts +5 -3
  31. package/dist/src/specification/v2/controls/ObjectPageTable.js.map +1 -1
  32. package/dist/src/specification/v2/controls/Table.d.ts +7 -4
  33. package/dist/src/specification/v2/controls/Table.js.map +1 -1
  34. package/dist/src/specification/v4/controls/ObjectPageSection.d.ts +22 -1
  35. package/dist/src/specification/v4/controls/ObjectPageSection.js.map +1 -1
  36. package/dist/src/specification/v4/controls/Table.d.ts +4 -0
  37. package/dist/src/sync/common/appProvider.d.ts +1 -1
  38. package/dist/src/sync/common/appProvider.js +1 -1
  39. package/dist/src/sync/common/decoration/control.d.ts +1 -1
  40. package/dist/src/sync/common/decoration/control.js +28 -23
  41. package/dist/src/sync/common/decoration/control.js.map +1 -1
  42. package/dist/src/sync/common/decoration/decorators.d.ts +2 -2
  43. package/dist/src/sync/common/decoration/decorators.js +8 -6
  44. package/dist/src/sync/common/decoration/decorators.js.map +1 -1
  45. package/dist/src/sync/common/flexUtils.js +1 -2
  46. package/dist/src/sync/common/flexUtils.js.map +1 -1
  47. package/dist/src/sync/common/generate/objectPage.d.ts +8 -9
  48. package/dist/src/sync/common/generate/objectPage.js +13 -13
  49. package/dist/src/sync/common/generate/objectPage.js.map +1 -1
  50. package/dist/src/sync/common/generate/utils.d.ts +63 -14
  51. package/dist/src/sync/common/generate/utils.js +125 -23
  52. package/dist/src/sync/common/generate/utils.js.map +1 -1
  53. package/dist/src/sync/common/import/utils.d.ts +9 -2
  54. package/dist/src/sync/common/import/utils.js +25 -6
  55. package/dist/src/sync/common/import/utils.js.map +1 -1
  56. package/dist/src/sync/common/importProject.d.ts +2 -3
  57. package/dist/src/sync/common/importProject.js +20 -19
  58. package/dist/src/sync/common/importProject.js.map +1 -1
  59. package/dist/src/sync/common/types.d.ts +65 -9
  60. package/dist/src/sync/common/types.js +57 -4
  61. package/dist/src/sync/common/types.js.map +1 -1
  62. package/dist/src/sync/common/utils.d.ts +30 -23
  63. package/dist/src/sync/common/utils.js +124 -86
  64. package/dist/src/sync/common/utils.js.map +1 -1
  65. package/dist/src/sync/v2/application.d.ts +3 -3
  66. package/dist/src/sync/v2/application.js +4 -4
  67. package/dist/src/sync/v2/application.js.map +1 -1
  68. package/dist/src/sync/v2/export/controls/Action.d.ts +12 -10
  69. package/dist/src/sync/v2/export/controls/Action.js.map +1 -1
  70. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js +1 -1
  71. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js.map +1 -1
  72. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.js +6 -6
  73. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.js.map +1 -1
  74. package/dist/src/sync/v2/export/controls/FormAction.d.ts +9 -7
  75. package/dist/src/sync/v2/export/controls/FormAction.js.map +1 -1
  76. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js +3 -3
  77. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +1 -1
  78. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts +6 -4
  79. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +1 -1
  80. package/dist/src/sync/v2/export/controls/ObjectPageHeader.d.ts +3 -2
  81. package/dist/src/sync/v2/export/controls/ObjectPageHeader.js.map +1 -1
  82. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts +6 -4
  83. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +1 -1
  84. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +26 -14
  85. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +57 -5
  86. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +1 -1
  87. package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +5 -3
  88. package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +1 -1
  89. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts +6 -4
  90. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +1 -1
  91. package/dist/src/sync/v2/export/controls/Table.d.ts +6 -3
  92. package/dist/src/sync/v2/export/controls/Table.js +90 -49
  93. package/dist/src/sync/v2/export/controls/Table.js.map +1 -1
  94. package/dist/src/sync/v2/export/controls/TableColumn.d.ts +12 -10
  95. package/dist/src/sync/v2/export/controls/TableColumn.js.map +1 -1
  96. package/dist/src/sync/v2/export/export.d.ts +0 -1
  97. package/dist/src/sync/v2/export/export.js +219 -157
  98. package/dist/src/sync/v2/export/export.js.map +1 -1
  99. package/dist/src/sync/v2/export/exportPage.js +34 -33
  100. package/dist/src/sync/v2/export/exportPage.js.map +1 -1
  101. package/dist/src/sync/v2/export/manifest.d.ts +6 -0
  102. package/dist/src/sync/v2/export/manifest.js +50 -35
  103. package/dist/src/sync/v2/export/manifest.js.map +1 -1
  104. package/dist/src/sync/v2/export/pages/OverviewPage.d.ts +1 -1
  105. package/dist/src/sync/v2/export/pages/OverviewPage.js +18 -16
  106. package/dist/src/sync/v2/export/pages/OverviewPage.js.map +1 -1
  107. package/dist/src/sync/v2/generate/analyticalListReport.js +3 -3
  108. package/dist/src/sync/v2/generate/analyticalListReport.js.map +1 -1
  109. package/dist/src/sync/v2/generate/listReport.d.ts +3 -4
  110. package/dist/src/sync/v2/generate/listReport.js +1 -1
  111. package/dist/src/sync/v2/generate/listReport.js.map +1 -1
  112. package/dist/src/sync/v2/generate/objectPage.js +50 -36
  113. package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
  114. package/dist/src/sync/v2/generate/utils.d.ts +11 -9
  115. package/dist/src/sync/v2/generate/utils.js +98 -95
  116. package/dist/src/sync/v2/generate/utils.js.map +1 -1
  117. package/dist/src/sync/v2/import/app/appProvider.d.ts +9 -0
  118. package/dist/src/sync/v2/import/app/appProvider.js +36 -13
  119. package/dist/src/sync/v2/import/app/appProvider.js.map +1 -1
  120. package/dist/src/sync/v2/import/app/ovpProvider.js +1 -1
  121. package/dist/src/sync/v2/import/app/ovpProvider.js.map +1 -1
  122. package/dist/src/sync/v2/import/common/index.js +5 -5
  123. package/dist/src/sync/v2/import/common/index.js.map +1 -1
  124. package/dist/src/sync/v2/import/pages/objectPage.js +89 -95
  125. package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
  126. package/dist/src/sync/v2/types.d.ts +8 -3
  127. package/dist/src/sync/v2/types.js +6 -2
  128. package/dist/src/sync/v2/types.js.map +1 -1
  129. package/dist/src/sync/v4/application.d.ts +22 -10
  130. package/dist/src/sync/v4/application.js +67 -18
  131. package/dist/src/sync/v4/application.js.map +1 -1
  132. package/dist/src/sync/v4/export/controls/ObjectPageTable.js +6 -18
  133. package/dist/src/sync/v4/export/controls/ObjectPageTable.js.map +1 -1
  134. package/dist/src/sync/v4/export/controls/Table.d.ts +8 -2
  135. package/dist/src/sync/v4/export/controls/Table.js +106 -92
  136. package/dist/src/sync/v4/export/controls/Table.js.map +1 -1
  137. package/dist/src/sync/v4/export/controls/TableColumn.js +4 -4
  138. package/dist/src/sync/v4/export/controls/TableColumn.js.map +1 -1
  139. package/dist/src/sync/v4/export/export.js +305 -172
  140. package/dist/src/sync/v4/export/export.js.map +1 -1
  141. package/dist/src/sync/v4/export/manifest.js +25 -6
  142. package/dist/src/sync/v4/export/manifest.js.map +1 -1
  143. package/dist/src/sync/v4/export/pages/ObjectPage.js +3 -2
  144. package/dist/src/sync/v4/export/pages/ObjectPage.js.map +1 -1
  145. package/dist/src/sync/v4/export/types.d.ts +5 -5
  146. package/dist/src/sync/v4/generate/listReport.d.ts +2 -2
  147. package/dist/src/sync/v4/generate/listReport.js +265 -165
  148. package/dist/src/sync/v4/generate/listReport.js.map +1 -1
  149. package/dist/src/sync/v4/generate/objectPage.d.ts +1 -1
  150. package/dist/src/sync/v4/generate/objectPage.js +290 -151
  151. package/dist/src/sync/v4/generate/objectPage.js.map +1 -1
  152. package/dist/src/sync/v4/import/app/appProvider.js +32 -22
  153. package/dist/src/sync/v4/import/app/appProvider.js.map +1 -1
  154. package/dist/src/sync/v4/import/pages/listReport.js +100 -60
  155. package/dist/src/sync/v4/import/pages/listReport.js.map +1 -1
  156. package/dist/src/sync/v4/import/pages/objectPage.d.ts +13 -0
  157. package/dist/src/sync/v4/import/pages/objectPage.js +64 -35
  158. package/dist/src/sync/v4/import/pages/objectPage.js.map +1 -1
  159. package/dist/src/sync/v4/import/utils.d.ts +2 -1
  160. package/dist/src/sync/v4/import/utils.js +1 -1
  161. package/dist/src/sync/v4/import/utils.js.map +1 -1
  162. package/dist/src/sync/v4/types.d.ts +2 -0
  163. package/dist/src/sync/v4/utils/StableIdHelper.js +13 -10
  164. package/dist/src/sync/v4/utils/StableIdHelper.js.map +1 -1
  165. package/dist/src/sync/v4/utils/utils.d.ts +9 -8
  166. package/dist/src/sync/v4/utils/utils.js +26 -26
  167. package/dist/src/sync/v4/utils/utils.js.map +1 -1
  168. package/package.json +6 -6
@@ -1,6 +1,8 @@
1
1
  import type { Manifest } from '../../specification/common/webapp/manifest';
2
- import type { EntityType } from '@sap-ux/vocabularies-types';
2
+ import type { AnnotationTerm, EntityType } from '@sap-ux/vocabularies-types';
3
+ import type { CollectionFacet, ReferenceFacet, ReferenceURLFacet } from '@sap-ux/vocabularies-types/vocabularies/UI';
3
4
  import type { ManifestSettingsType } from '../../specification/common/types';
5
+ export declare type anyFacetType = AnnotationTerm<CollectionFacet> | AnnotationTerm<ReferenceFacet> | AnnotationTerm<ReferenceURLFacet>;
4
6
  export declare enum ExportArtifacts {
5
7
  flex = "flex",
6
8
  manifest = "manifest"
@@ -35,6 +37,7 @@ export interface ExportResults {
35
37
  }
36
38
  export declare enum SectionType {
37
39
  Section = "Section",
40
+ SubSection = "SubSection",
38
41
  HeaderSection = "HeaderSection"
39
42
  }
40
43
  export declare enum ArtifactType {
@@ -109,12 +112,13 @@ export interface FlexAdapter {
109
112
  importFlexValue?: importFlexValue;
110
113
  }
111
114
  export declare type ManifestPath = (pageKeys?: string[], manifest?: Manifest, ...pathParts: string[]) => string;
115
+ export declare type ExportHandlerFunction = (manifestSection: unknown, configObject: unknown, key: string, manifestKey?: string, ...pathParts: string[]) => unknown;
112
116
  export interface ManifestConverter {
113
117
  path: ManifestPath;
114
118
  key?: string;
115
119
  import?: ((manifestSection: unknown, sectionId?: string, propertyKey?: string, breadcrumbs?: string[]) => unknown) | boolean;
116
- export?: ((manifestSection: unknown, configObject: unknown, key: string, manifestKey?: string, ...pathParts: string[]) => unknown) | boolean;
117
- delete?: (manifestSection: unknown, configObject: unknown, key: string, manifestKey: string) => unknown;
120
+ export?: ExportHandlerFunction | boolean;
121
+ delete?: ((manifestSection: unknown, configObject: unknown, key: string, manifestKey: string, syncRuleKey?: string) => unknown) | boolean;
118
122
  }
119
123
  export interface SyncRule {
120
124
  flex?: FlexAdapter;
@@ -168,6 +172,7 @@ export declare enum FacetBase {
168
172
  DataPoint = "DataPoint",
169
173
  Address = "Address",
170
174
  Contact = "Contact",
175
+ PresentationVariant = "PresentationVariant",
171
176
  Unknown = ""
172
177
  }
173
178
  export interface FacetConfig {
@@ -178,6 +183,7 @@ export interface FacetConfig {
178
183
  entityType?: EntityType;
179
184
  annotationPath?: string;
180
185
  target?: object;
186
+ facets?: FacetConfigs;
181
187
  }
182
188
  export interface SubSectionConfig {
183
189
  base: FacetBase;
@@ -230,31 +236,67 @@ export declare enum DefinitionName {
230
236
  AnalyticalListPageFilterBar = "AnalyticalListPageFilterBar",
231
237
  AnnotationPathAsObject = "AnnotationPathAsObject",
232
238
  ChartToolBarAction = "ChartToolBarAction",
239
+ CommonHeaderFacetSettings = "CommonHeaderFacetSettings",
233
240
  CustomColumn = "TableCustomColumn",
234
241
  CustomColumnOP = "TableCustomColumnOP",
235
242
  CustomColumns = "TableCustomColumns",
243
+ CustomSections = "CustomSections",
244
+ FieldPath = "FieldPath",
245
+ Field = "Field",
236
246
  Fields = "Fields",
247
+ Fields4Dialog = "Fields4Dialog",
248
+ FilterBar = "FilterBar",
249
+ Footer = "Footer",
237
250
  FooterActions = "FooterActions",
238
251
  Form = "Form",
239
252
  FormAction = "FormAction",
240
253
  GenericActions = "GenericActions",
254
+ GenericColumnsOP = "GenericColumnsOP",
255
+ GenericFooter = "GenericFooter",
256
+ GenericSections = "GenericSections",
241
257
  HeaderActions = "HeaderActions",
258
+ HeaderSections = "HeaderSections",
242
259
  LineItems = "LineItems",
243
260
  LineItemsOfView = "LineItemsOfView",
244
261
  ListReportFilterBar = "ListReportFilterBar",
245
262
  LRTableView = "LRTableView",
246
263
  LRChartView = "LRChartView",
247
264
  MultiTableModeV4 = "MultiTableModeV4",
265
+ ObjectPageChart = "ObjectPageChart",
266
+ ObjectPageCustomSectionFragment = "ObjectPageCustomSectionFragment",
248
267
  ObjectPageFooter = "ObjectPageFooter",
249
268
  ObjectPageFooterAction = "ObjectPageFooterAction",
250
269
  ObjectPageFooterActions = "ObjectPageFooterActions",
251
270
  ObjectPageHeader = "ObjectPageHeader",
271
+ ObjectPageHeaderSectionForm = "ObjectPageHeaderSectionForm",
272
+ ObjectPageHeaderSectionChart = "ObjectPageHeaderSectionChart",
273
+ ObjectPageHeaderSectionDataPoint = "ObjectPageHeaderSectionDataPoint",
274
+ ObjectPageHeaderSectionContact = "ObjectPageHeaderSectionContact",
275
+ ObjectPageHeaderSectionAddress = "ObjectPageHeaderSectionAddress",
276
+ ObjectPageLayout = "ObjectPageLayout",
277
+ ObjectPagePresentationVariant = "ObjectPagePresentationVariant",
278
+ ObjectPageSectionAddress = "ObjectPageSectionAddress",
279
+ ObjectPageSectionChart = "ObjectPageSectionChart",
280
+ ObjectPageSectionContact = "ObjectPageSectionContact",
281
+ ObjectPageSectionDataPoint = "ObjectPageSectionDataPoint",
282
+ ObjectPageSectionForm = "ObjectPageSectionForm",
283
+ ObjectPageSectionPresentationVariant = "ObjectPageSectionPresentationVariant",
284
+ ObjectPageSectionTableV4 = "ObjectPageSectionTableV4",
285
+ ObjectPageSubSections = "ObjectPageSubSections",
252
286
  ObjectPageTable = "ObjectPageTable",
253
287
  ObjectPageTableColumn = "ObjectPageTableColumn",
288
+ ObjectPageToolBar = "ObjectPageToolBar",
254
289
  ObjectPageToolBarAction = "ObjectPageToolBarAction",
290
+ ObjectPageToolBarActions = "ObjectPageToolBarActions",
255
291
  Position = "Position",
256
292
  PositionOP = "PositionOP",
293
+ QuickVariant = "QuickVariant",
294
+ QuickVariantSelectionOP = "QuickVariantSelectionOP",
295
+ QuickVariantSelectionV4OP = "QuickVariantSelectionV4OP",
296
+ RelatedFacetKeys = "RelatedFacetKeys",
297
+ Sections = "Sections",
257
298
  Table = "Table",
299
+ TableSPV = "TableSPV",
258
300
  TableColumn = "TableColumn",
259
301
  ToolBarAction = "ToolBarAction",
260
302
  ToolBarLR = "ToolBar<LineItems>",
@@ -262,23 +304,37 @@ export declare enum DefinitionName {
262
304
  ViewTableColumn = "ViewTableColumn",
263
305
  ViewCustomColumn = "ViewTableCustomColumn",
264
306
  ViewChartToolBar = "ViewChartToolBar",
265
- ViewToolBarAction = "ViewToolBarAction"
307
+ ViewToolBarAction = "ViewToolBarAction",
308
+ ViewPosition = "ViewPosition"
309
+ }
310
+ export declare enum PropertyName {
311
+ actions = "actions",
312
+ annotationPath = "annotationPath",
313
+ chart = "chart",
314
+ defaultPath = "defaultPath",
315
+ defaultTemplateAnnotationPath = "defaultTemplateAnnotationPath",
316
+ sections = "sections",
317
+ table = "table",
318
+ views = "views"
266
319
  }
267
320
  export declare enum SchemaTag {
268
- hidden = "hidden",
269
- isViewNode = "isViewNode",
270
321
  annotationPath = "annotationPath",
271
322
  annotationType = "annotationType",
272
- dataType = "dataType",
273
- propertyIndex = "propertyIndex",
274
323
  artifactType = "artifactType",
275
- key = "key"
324
+ controlType = "controlType",
325
+ dataType = "dataType",
326
+ fullyQualifiedName = "fullyQualifiedName",
327
+ hidden = "hidden",
328
+ isViewNode = "isViewNode",
329
+ key = "key",
330
+ propertyIndex = "propertyIndex"
276
331
  }
277
332
  export declare const METADATAPATH = "webapp/localService/metadata.xml";
278
333
  export declare const MANIFESTPATH = "webapp/manifest.json";
279
334
  export declare const VOCWITHSLASH = "/@com.sap.vocabularies";
280
335
  export declare const VOCWITHCOLONS = "::@com.sap.vocabularies";
281
336
  export declare const UIVOCABULARY = "com.sap.vocabularies.UI.v1";
337
+ export declare const UIVOCABULARYDOT = "com.sap.vocabularies.UI.v1.";
282
338
  export declare const QUICKVARPATH = "/quickVariantSelection";
283
339
  export declare const QUICKVARPATHX = "/quickVariantSelectionX";
284
340
  export declare const DATESETTINGSPATH = "/filterSettings/dateSettings";
@@ -34,6 +34,7 @@ exports.ActionTitlePrefix = 'Action ID: ';
34
34
  var SectionType;
35
35
  (function (SectionType) {
36
36
  SectionType["Section"] = "Section";
37
+ SectionType["SubSection"] = "SubSection";
37
38
  SectionType["HeaderSection"] = "HeaderSection";
38
39
  })(SectionType = exports.SectionType || (exports.SectionType = {}));
39
40
  var ArtifactType;
@@ -79,6 +80,7 @@ var FacetBase;
79
80
  FacetBase["DataPoint"] = "DataPoint";
80
81
  FacetBase["Address"] = "Address";
81
82
  FacetBase["Contact"] = "Contact";
83
+ FacetBase["PresentationVariant"] = "PresentationVariant";
82
84
  FacetBase["Unknown"] = "";
83
85
  })(FacetBase = exports.FacetBase || (exports.FacetBase = {}));
84
86
  exports.BindingPropertyRegexAsString = "^{[A-Za-z0-9{}&$!@#? _|,<>'()[\\]\\/:=.]+}$";
@@ -101,31 +103,67 @@ var DefinitionName;
101
103
  DefinitionName["AnalyticalListPageFilterBar"] = "AnalyticalListPageFilterBar";
102
104
  DefinitionName["AnnotationPathAsObject"] = "AnnotationPathAsObject";
103
105
  DefinitionName["ChartToolBarAction"] = "ChartToolBarAction";
106
+ DefinitionName["CommonHeaderFacetSettings"] = "CommonHeaderFacetSettings";
104
107
  DefinitionName["CustomColumn"] = "TableCustomColumn";
105
108
  DefinitionName["CustomColumnOP"] = "TableCustomColumnOP";
106
109
  DefinitionName["CustomColumns"] = "TableCustomColumns";
110
+ DefinitionName["CustomSections"] = "CustomSections";
111
+ DefinitionName["FieldPath"] = "FieldPath";
112
+ DefinitionName["Field"] = "Field";
107
113
  DefinitionName["Fields"] = "Fields";
114
+ DefinitionName["Fields4Dialog"] = "Fields4Dialog";
115
+ DefinitionName["FilterBar"] = "FilterBar";
116
+ DefinitionName["Footer"] = "Footer";
108
117
  DefinitionName["FooterActions"] = "FooterActions";
109
118
  DefinitionName["Form"] = "Form";
110
119
  DefinitionName["FormAction"] = "FormAction";
111
120
  DefinitionName["GenericActions"] = "GenericActions";
121
+ DefinitionName["GenericColumnsOP"] = "GenericColumnsOP";
122
+ DefinitionName["GenericFooter"] = "GenericFooter";
123
+ DefinitionName["GenericSections"] = "GenericSections";
112
124
  DefinitionName["HeaderActions"] = "HeaderActions";
125
+ DefinitionName["HeaderSections"] = "HeaderSections";
113
126
  DefinitionName["LineItems"] = "LineItems";
114
127
  DefinitionName["LineItemsOfView"] = "LineItemsOfView";
115
128
  DefinitionName["ListReportFilterBar"] = "ListReportFilterBar";
116
129
  DefinitionName["LRTableView"] = "LRTableView";
117
130
  DefinitionName["LRChartView"] = "LRChartView";
118
131
  DefinitionName["MultiTableModeV4"] = "MultiTableModeV4";
132
+ DefinitionName["ObjectPageChart"] = "ObjectPageChart";
133
+ DefinitionName["ObjectPageCustomSectionFragment"] = "ObjectPageCustomSectionFragment";
119
134
  DefinitionName["ObjectPageFooter"] = "ObjectPageFooter";
120
135
  DefinitionName["ObjectPageFooterAction"] = "ObjectPageFooterAction";
121
136
  DefinitionName["ObjectPageFooterActions"] = "ObjectPageFooterActions";
122
137
  DefinitionName["ObjectPageHeader"] = "ObjectPageHeader";
138
+ DefinitionName["ObjectPageHeaderSectionForm"] = "ObjectPageHeaderSectionForm";
139
+ DefinitionName["ObjectPageHeaderSectionChart"] = "ObjectPageHeaderSectionChart";
140
+ DefinitionName["ObjectPageHeaderSectionDataPoint"] = "ObjectPageHeaderSectionDataPoint";
141
+ DefinitionName["ObjectPageHeaderSectionContact"] = "ObjectPageHeaderSectionContact";
142
+ DefinitionName["ObjectPageHeaderSectionAddress"] = "ObjectPageHeaderSectionAddress";
143
+ DefinitionName["ObjectPageLayout"] = "ObjectPageLayout";
144
+ DefinitionName["ObjectPagePresentationVariant"] = "ObjectPagePresentationVariant";
145
+ DefinitionName["ObjectPageSectionAddress"] = "ObjectPageSectionAddress";
146
+ DefinitionName["ObjectPageSectionChart"] = "ObjectPageSectionChart";
147
+ DefinitionName["ObjectPageSectionContact"] = "ObjectPageSectionContact";
148
+ DefinitionName["ObjectPageSectionDataPoint"] = "ObjectPageSectionDataPoint";
149
+ DefinitionName["ObjectPageSectionForm"] = "ObjectPageSectionForm";
150
+ DefinitionName["ObjectPageSectionPresentationVariant"] = "ObjectPageSectionPresentationVariant";
151
+ DefinitionName["ObjectPageSectionTableV4"] = "ObjectPageSectionTableV4";
152
+ DefinitionName["ObjectPageSubSections"] = "ObjectPageSubSections";
123
153
  DefinitionName["ObjectPageTable"] = "ObjectPageTable";
124
154
  DefinitionName["ObjectPageTableColumn"] = "ObjectPageTableColumn";
155
+ DefinitionName["ObjectPageToolBar"] = "ObjectPageToolBar";
125
156
  DefinitionName["ObjectPageToolBarAction"] = "ObjectPageToolBarAction";
157
+ DefinitionName["ObjectPageToolBarActions"] = "ObjectPageToolBarActions";
126
158
  DefinitionName["Position"] = "Position";
127
159
  DefinitionName["PositionOP"] = "PositionOP";
160
+ DefinitionName["QuickVariant"] = "QuickVariant";
161
+ DefinitionName["QuickVariantSelectionOP"] = "QuickVariantSelectionOP";
162
+ DefinitionName["QuickVariantSelectionV4OP"] = "QuickVariantSelectionV4OP";
163
+ DefinitionName["RelatedFacetKeys"] = "RelatedFacetKeys";
164
+ DefinitionName["Sections"] = "Sections";
128
165
  DefinitionName["Table"] = "Table";
166
+ DefinitionName["TableSPV"] = "TableSPV";
129
167
  DefinitionName["TableColumn"] = "TableColumn";
130
168
  DefinitionName["ToolBarAction"] = "ToolBarAction";
131
169
  DefinitionName["ToolBarLR"] = "ToolBar<LineItems>";
@@ -134,23 +172,38 @@ var DefinitionName;
134
172
  DefinitionName["ViewCustomColumn"] = "ViewTableCustomColumn";
135
173
  DefinitionName["ViewChartToolBar"] = "ViewChartToolBar";
136
174
  DefinitionName["ViewToolBarAction"] = "ViewToolBarAction";
175
+ DefinitionName["ViewPosition"] = "ViewPosition";
137
176
  })(DefinitionName = exports.DefinitionName || (exports.DefinitionName = {}));
177
+ var PropertyName;
178
+ (function (PropertyName) {
179
+ PropertyName["actions"] = "actions";
180
+ PropertyName["annotationPath"] = "annotationPath";
181
+ PropertyName["chart"] = "chart";
182
+ PropertyName["defaultPath"] = "defaultPath";
183
+ PropertyName["defaultTemplateAnnotationPath"] = "defaultTemplateAnnotationPath";
184
+ PropertyName["sections"] = "sections";
185
+ PropertyName["table"] = "table";
186
+ PropertyName["views"] = "views";
187
+ })(PropertyName = exports.PropertyName || (exports.PropertyName = {}));
138
188
  var SchemaTag;
139
189
  (function (SchemaTag) {
140
- SchemaTag["hidden"] = "hidden";
141
- SchemaTag["isViewNode"] = "isViewNode";
142
190
  SchemaTag["annotationPath"] = "annotationPath";
143
191
  SchemaTag["annotationType"] = "annotationType";
144
- SchemaTag["dataType"] = "dataType";
145
- SchemaTag["propertyIndex"] = "propertyIndex";
146
192
  SchemaTag["artifactType"] = "artifactType";
193
+ SchemaTag["controlType"] = "controlType";
194
+ SchemaTag["dataType"] = "dataType";
195
+ SchemaTag["fullyQualifiedName"] = "fullyQualifiedName";
196
+ SchemaTag["hidden"] = "hidden";
197
+ SchemaTag["isViewNode"] = "isViewNode";
147
198
  SchemaTag["key"] = "key";
199
+ SchemaTag["propertyIndex"] = "propertyIndex";
148
200
  })(SchemaTag = exports.SchemaTag || (exports.SchemaTag = {}));
149
201
  exports.METADATAPATH = 'webapp/localService/metadata.xml';
150
202
  exports.MANIFESTPATH = 'webapp/manifest.json';
151
203
  exports.VOCWITHSLASH = '/@com.sap.vocabularies';
152
204
  exports.VOCWITHCOLONS = '::@com.sap.vocabularies';
153
205
  exports.UIVOCABULARY = 'com.sap.vocabularies.UI.v1';
206
+ exports.UIVOCABULARYDOT = 'com.sap.vocabularies.UI.v1.';
154
207
  exports.QUICKVARPATH = '/quickVariantSelection';
155
208
  exports.QUICKVARPATHX = '/quickVariantSelectionX';
156
209
  exports.DATESETTINGSPATH = '/filterSettings/dateSettings';
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/sync/common/types.ts"],"names":[],"mappings":";;AAIA,IAAY,eAGX;AAHD,WAAY,eAAe;IACvB,gCAAa,CAAA;IACb,wCAAqB,CAAA;AACzB,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B;AAED,IAAY,WAGX;AAHD,WAAY,WAAW;IACnB,kCAAmB,CAAA;IACnB,sCAAuB,CAAA;AAC3B,CAAC,EAHW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAGtB;AAED,IAAY,OAaX;AAbD,WAAY,OAAO;IACf,wBAAa,CAAA;IACb,+BAAoB,CAAA;IACpB,0BAAe,CAAA;IACf,4BAAiB,CAAA;IACjB,wBAAa,CAAA;IACb,8BAAmB,CAAA;IACnB,wCAA6B,CAAA;IAC7B,oCAAyB,CAAA;IACzB,wBAAa,CAAA;IACb,gCAAqB,CAAA;IACrB,sBAAW,CAAA;IACX,6BAAkB,CAAA;AACtB,CAAC,EAbW,OAAO,GAAP,eAAO,KAAP,eAAO,QAalB;AACD,IAAY,QAEX;AAFD,WAAY,QAAQ;IAChB,4BAAgB,CAAA;AACpB,CAAC,EAFW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAEnB;AACY,QAAA,gBAAgB,GAAG,YAAY,CAAC;AAChC,QAAA,iBAAiB,GAAG,aAAa,CAAC;AAQ/C,IAAY,WAGX;AAHD,WAAY,WAAW;IACnB,kCAAmB,CAAA;IACnB,8CAA+B,CAAA;AACnC,CAAC,EAHW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAGtB;AAED,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,qCAAqB,CAAA;IACrB,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC7B,CAAC,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,kCAAkC,CAAC;AAClD,QAAA,YAAY,GAAG,sBAAsB,CAAC;AACtC,QAAA,YAAY,GAAG,wBAAwB,CAAC;AACxC,QAAA,aAAa,GAAG,yBAAyB,CAAC;AAC1C,QAAA,YAAY,GAAG,4BAA4B,CAAC;AAC5C,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAChD,QAAA,YAAY,GAAG,wBAAwB,CAAC;AACxC,QAAA,aAAa,GAAG,yBAAyB,CAAC;AAC1C,QAAA,gBAAgB,GAAG,8BAA8B,CAAC;AAClD,QAAA,gBAAgB,GAAG,YAAY,CAAC"}
@@ -1,10 +1,13 @@
1
- import type { FacetConfigs, FileData, FacetConfig, FacetSection, SchemaFilePath } from './types';
2
- import type { AnnotationTerm, CollectionFacet, ConverterOutput, DataFieldAbstractTypes, EntityType, PropertyAnnotations, PropertyPath, ReferenceFacet, ReferenceURLFacet } from '@sap-ux/vocabularies-types';
1
+ import type { Definition } from 'typescript-json-schema';
2
+ import type { ExtensionLogger } from '../../apiTypes';
3
+ import type { FacetConfigs, FileData, FacetConfig, FacetSection, SchemaFilePath, anyFacetType } from './types';
3
4
  import type { Manifest } from '../../specification/common';
5
+ import type { MetadataInstanceInterface } from './decoration/factory';
6
+ import type { DataFieldAbstractTypes } from '@sap-ux/vocabularies-types/vocabularies/UI';
7
+ import type { ConvertedMetadata, EntityType, PropertyPath } from '@sap-ux/vocabularies-types';
4
8
  import { FioriElementsVersion, PageType, PageTypeV4 } from '../../specification/common';
5
9
  import { SchemaType } from '../../specification/schemaAccess';
6
- import type { ExtensionLogger } from '../../apiTypes';
7
- import type { MetadataInstanceInterface } from './decoration/factory';
10
+ import type { PropertyAnnotations } from '@sap-ux/vocabularies-types/vocabularies/Edm_Types';
8
11
  export declare enum TemplateType {
9
12
  ListReportObjectPageV2 = "ListReportObjectPageV2",
10
13
  ListReportObjectPageV4 = "ListReportObjectPageV4",
@@ -26,7 +29,7 @@ export declare const createAnnotationPath: (entityTypeName: string, term: string
26
29
  * @param annotationFiles - The list of all annotation files, in JSON format
27
30
  * @returns the complete service information
28
31
  */
29
- export declare function parseAndMergeAndConvert(annotationFiles: FileData[], logger: ExtensionLogger): ConverterOutput;
32
+ export declare function parseAndMergeAndConvert(annotationFiles: FileData[], logger: ExtensionLogger): ConvertedMetadata;
30
33
  export declare const getAnnotationPropertyValue: (annotationProperty: any) => string;
31
34
  /**
32
35
  * Checks for Common.Label and overwrites the label from it if present
@@ -52,9 +55,15 @@ export declare function getLabelForDataField(field: DataFieldAbstractTypes, enti
52
55
  /**
53
56
  * Determines the description of a data field, e.g. for the column header
54
57
  * @param dataFieldAbstract - the given record of the line item annotation
55
- * @param entityType - the entity type as part of the AVT ConverterOutput
58
+ * @param entityType - the entity type as part of the AVT ConvertedMetadata
56
59
  */
57
- export declare function getDatafieldDescription(dataFieldAbstract: DataFieldAbstractTypes, entityType: EntityType): string;
60
+ export declare function getDataFieldDescription(dataFieldAbstract: DataFieldAbstractTypes, entityType: EntityType): string;
61
+ /**
62
+ * Prepare string for reference use in schema
63
+ * @param refInput string to be character checked and replaced
64
+ * @returns string with replaced characters
65
+ */
66
+ export declare function prepareRef(refInput: string): string;
58
67
  /**
59
68
  * Return the page type for a given V2 page in manifest
60
69
  * @param name - page component name
@@ -68,20 +77,20 @@ export declare function getPageTypeV4(name: string): PageTypeV4 | undefined;
68
77
  /**
69
78
  * Finds the alias for a given namespace in the references' section of the converted service metadata
70
79
  * @param {string} namespace - complete namespace, e.g. 'com.sap.vocabularies.UI.v1'
71
- * @param {ConverterOutput} oDataServiceAVT - combined service metadata, as returned by annotation vocabularies tools
80
+ * @param {ConvertedMetadata} oDataServiceAVT - combined service metadata, as returned by annotation vocabularies tools
72
81
  * @returns alias for the given namespace
73
82
  */
74
- export declare function findAlias(namespace: string, oDataServiceAVT: ConverterOutput): string;
83
+ export declare function findAlias(namespace: string, oDataServiceAVT: ConvertedMetadata): string;
75
84
  /**
76
85
  * Resolve page section(get key and label->description).
77
86
  * @param facetDefinition - the actual annotation record
78
87
  * @param keyForRelatedFacetKeys - construct key for 'keyForRelatedFacetKeys' property(used to define custom sections) - we should not add '@' symbol there.
79
88
  * @param {FioriElementsVersion} oDataVersion - OData version
80
- * @param {ConverterOutput} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
89
+ * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
81
90
  * @param {ExtensionLogger} logger - Logger class for logging messages
82
91
  * @returns {FacetSection} - object comprising the relevant facet information
83
92
  */
84
- export declare function getSectionFacet(facetDefinition: AnnotationTerm<CollectionFacet> | AnnotationTerm<ReferenceFacet> | AnnotationTerm<ReferenceURLFacet>, sourceEntityType: EntityType, oDataServiceAVT: ConverterOutput, logger?: ExtensionLogger, oDataVersion?: FioriElementsVersion, keyForRelatedFacetKeys?: boolean): FacetSection | undefined;
93
+ export declare function getSectionFacet(facetDefinition: anyFacetType, sourceEntityType: EntityType, oDataServiceAVT: ConvertedMetadata, logger?: ExtensionLogger, oDataVersion?: FioriElementsVersion, keyForRelatedFacetKeys?: boolean): FacetSection | undefined;
85
94
  /**
86
95
  * Finds the alias for a given namespace in the references' section of the converted service metadata.
87
96
  * An empty object is created if the path element does not exist yet.
@@ -98,19 +107,19 @@ export declare function getSchemaKeyOfLineItemRecord(lineItemRecord: DataFieldAb
98
107
  /**
99
108
  * Retrieve header facet configurations that can be used to generate ObjectPage schemas
100
109
  * @param {QualifiedName} entityTypeName - the name of the actual entity type
101
- * @param {ConverterOutput} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
110
+ * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
102
111
  * @param {FioriElementsVersion} oDataVersion - OData version
103
112
  * @param {ExtensionLogger} logger - Logger class for logging messages
104
113
  */
105
- export declare function getObjectPageHeaderFacets(entityType: EntityType, oDataServiceAVT: ConverterOutput, oDataVersion?: FioriElementsVersion, logger?: ExtensionLogger): FacetConfigs | undefined;
114
+ export declare function getObjectPageHeaderFacets(entityType: EntityType, oDataServiceAVT: ConvertedMetadata, oDataVersion?: FioriElementsVersion, logger?: ExtensionLogger): FacetConfigs | undefined;
106
115
  /**
107
116
  * Retrieve facet configurations that can be used to generate ObjectPage schemas
108
117
  * @param {QualifiedName} entityTypeName - the name of the actual entity type
109
- * @param {ConverterOutput} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
118
+ * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
110
119
  * @param {FioriElementsVersion} oDataVersion - OData version
111
120
  * @param {ExtensionLogger} logger - Logger class for logging messages
112
121
  */
113
- export declare function getObjectPageFacets(entityType: EntityType, oDataServiceAVT: ConverterOutput, oDataVersion?: FioriElementsVersion, logger?: ExtensionLogger): FacetConfigs | undefined;
122
+ export declare function getObjectPageFacets(entityType: EntityType, oDataServiceAVT: ConvertedMetadata, oDataVersion?: FioriElementsVersion, logger?: ExtensionLogger): FacetConfigs | undefined;
114
123
  /**
115
124
  * Returns the version of Fiori elements (v2/v4) from a given manifest
116
125
  * @param manifest - the manifest.json file
@@ -144,30 +153,30 @@ export declare function getTemplateTypeFromManifest(manifest: Manifest, fioriEle
144
153
  * @param section - section in the app schema
145
154
  * @param facetKey - key of the facet
146
155
  */
147
- export declare function addSectionTitleAndDescription(facet: FacetConfig, section: object, facetKey: string): void;
156
+ export declare function addSectionTitleAndDescription(facet: FacetConfig, section: Definition, facetKey: string): void;
148
157
  /**
149
158
  * Adds target title or description to a section or header section in an app schema
150
159
  * @param facet - intermediate facet structure comprising annotation information
151
160
  * @param section - section in the app schema
152
161
  * @param facetKey - key of the facet
153
162
  */
154
- export declare function addTargetTitleAndSectionDescription(facet: FacetConfig, section: object, facetKey: string): void;
163
+ export declare function addTargetTitleAndSectionDescription(facet: FacetConfig, section: Definition, facetKey: string): void;
155
164
  /**
156
165
  * Creates a default object for a new section or subsection, and adds the ID as title if present.
157
166
  * @param facet Facet configuration, to be analyzed
158
167
  * @returns the new section object
159
168
  */
160
- export declare function createSectionWithoutProperties(facet: FacetConfig, facetKey: string): object;
169
+ export declare function createDefaultSection(appSchema: Definition, facet: FacetConfig, facetKey: string): Definition;
161
170
  /**
162
171
  * Retrieve page section data(so far id/key and label/description).
163
172
  * @param {EntityType} entityType The actual entityType
164
- * @param {ConverterOutput} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
173
+ * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
165
174
  * @param {ExtensionLogger} logger - Logger class for logging messages
166
175
  * @param {FioriElementsVersion} oDataVersion - OData version
167
176
  * @param {boolean} [checkUnresolvableFacets=false] - Check and avoid facets and sections without ID and Target.
168
177
  * @returns {FacetSection[]} - Array of facets or sections
169
178
  */
170
- export declare function getObjectPageFacetSection(entityType: EntityType, oDataServiceAVT: ConverterOutput, logger?: ExtensionLogger, oDataVersion?: FioriElementsVersion, checkUnresolvableFacets?: boolean): FacetSection[];
179
+ export declare function getObjectPageFacetSection(entityType: EntityType, oDataServiceAVT: ConvertedMetadata, logger?: ExtensionLogger, oDataVersion?: FioriElementsVersion, checkUnresolvableFacets?: boolean): FacetSection[];
171
180
  /**
172
181
  * Cleans empty sub-structures from the export result for manifest
173
182
  * @param manifest - manifest.json part of the export result
@@ -188,11 +197,10 @@ export declare const getSchemaFilePath: (schemaType: PageType | PageTypeV4 | Sch
188
197
  * @param appVersion - Fiori Elements version - V2 or V4.
189
198
  * @param pageType - Page type.
190
199
  * @param entitySet - Entity Set.
191
- * @param navigationProperty - Navigation property (optional).
192
200
  * @param viewId - Custom page's viewId (optional).
193
201
  * @returns {string} Generated page id
194
202
  */
195
- export declare function generatePageId(pageType: PageType | PageTypeV4, entitySet: string, navigationProperty?: string, viewId?: string): string;
203
+ export declare function generatePageId(pageType: PageType | PageTypeV4, entitySet: string, viewId?: string): string;
196
204
  export declare type NextDefinition = {
197
205
  configObject?: object;
198
206
  targetDefinition?: object;
@@ -209,7 +217,6 @@ export declare type NextDefinition = {
209
217
  * @param pageType - page type
210
218
  */
211
219
  export declare function getNextTargetDefinition(appSchema: object, title: string, currentConfigObject: object, propertyDefinition: object, key: string, factory: MetadataInstanceInterface, pageType: PageType | PageTypeV4): NextDefinition;
212
- export declare function prepareRef(refInput: string): string;
213
220
  /**
214
221
  * Custom array merge function called by deepmerge's merge function
215
222
  *