@sap/ux-specification 1.90.5 → 1.90.9

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 (228) hide show
  1. package/CHANGELOG.md +110 -0
  2. package/dist/index-min.js +1 -1
  3. package/dist/schemas/v2/AnalyticalListPageConfig.json +460 -53
  4. package/dist/schemas/v2/ListReportConfig.json +358 -104
  5. package/dist/schemas/v2/ObjectPageConfig.json +293 -92
  6. package/dist/schemas/v2/OverviewPageConfig.json +126 -46
  7. package/dist/schemas/v4/AnalyticalListPageConfig.json +110 -36
  8. package/dist/schemas/v4/ApplicationV4.json +0 -6
  9. package/dist/schemas/v4/ListReportConfig.json +110 -36
  10. package/dist/schemas/v4/ObjectPageConfig.json +349 -68
  11. package/dist/scripts/extractDocu.d.ts +1 -0
  12. package/dist/scripts/extractDocu.js +311 -0
  13. package/dist/scripts/extractDocu.js.map +1 -0
  14. package/dist/scripts/spec.d.ts +1 -0
  15. package/dist/scripts/spec.js +114 -0
  16. package/dist/scripts/spec.js.map +1 -0
  17. package/dist/scripts/to-json-schema.d.ts +10 -0
  18. package/dist/scripts/to-json-schema.js +121 -0
  19. package/dist/scripts/to-json-schema.js.map +1 -0
  20. package/dist/specification/v2/index-min.js +1 -1
  21. package/dist/specification/v4/index-min.js +1 -1
  22. package/dist/src/api.js +3 -5
  23. package/dist/src/api.js.map +1 -1
  24. package/dist/src/apiTypes.d.ts +2 -1
  25. package/dist/src/extensionLogger.js +6 -0
  26. package/dist/src/extensionLogger.js.map +1 -1
  27. package/dist/src/specification/common/types.d.ts +4 -0
  28. package/dist/src/specification/common/types.js +5 -0
  29. package/dist/src/specification/common/types.js.map +1 -1
  30. package/dist/src/specification/common/webapp/manifest/Manifest.d.ts +7 -0
  31. package/dist/src/specification/common/webapp/manifest/Manifest.js +8 -0
  32. package/dist/src/specification/common/webapp/manifest/Manifest.js.map +1 -1
  33. package/dist/src/specification/v2/controls/Card.d.ts +8 -2
  34. package/dist/src/specification/v2/controls/Card.js +2 -0
  35. package/dist/src/specification/v2/controls/Card.js.map +1 -1
  36. package/dist/src/specification/v2/controls/FilterBar.d.ts +20 -0
  37. package/dist/src/specification/v2/controls/FilterBar.js +51 -0
  38. package/dist/src/specification/v2/controls/FilterBar.js.map +1 -1
  39. package/dist/src/specification/v2/controls/ObjectPageTable.d.ts +12 -3
  40. package/dist/src/specification/v2/controls/ObjectPageTable.js.map +1 -1
  41. package/dist/src/specification/v2/controls/ObjectPageToolBar.d.ts +19 -0
  42. package/dist/src/specification/v2/controls/ObjectPageToolBar.js +3 -0
  43. package/dist/src/specification/v2/controls/ObjectPageToolBar.js.map +1 -0
  44. package/dist/src/specification/v2/controls/Table.d.ts +53 -5
  45. package/dist/src/specification/v2/controls/Table.js.map +1 -1
  46. package/dist/src/specification/v2/controls/ToolBar.d.ts +19 -0
  47. package/dist/src/specification/v2/controls/ToolBar.js +3 -0
  48. package/dist/src/specification/v2/controls/ToolBar.js.map +1 -0
  49. package/dist/src/specification/v2/controls/index.d.ts +2 -0
  50. package/dist/src/specification/v2/controls/index.js.map +1 -1
  51. package/dist/src/specification/v2/pages/AnalyticalListPageConfig.d.ts +2 -2
  52. package/dist/src/specification/v2/webapp/manifest/sapUi5.d.ts +2 -1
  53. package/dist/src/specification/v2/webapp/manifest/sapUi5.js +1 -0
  54. package/dist/src/specification/v2/webapp/manifest/sapUi5.js.map +1 -1
  55. package/dist/src/specification/v4/controls/FilterBar.d.ts +1 -1
  56. package/dist/src/specification/v4/controls/ObjectPageHeader.d.ts +2 -0
  57. package/dist/src/specification/v4/controls/ObjectPageHeaderSection.d.ts +58 -0
  58. package/dist/src/specification/v4/controls/ObjectPageHeaderSection.js +7 -0
  59. package/dist/src/specification/v4/controls/ObjectPageHeaderSection.js.map +1 -0
  60. package/dist/src/specification/v4/controls/ObjectPageSection.d.ts +27 -3
  61. package/dist/src/specification/v4/controls/ObjectPageSection.js.map +1 -1
  62. package/dist/src/specification/v4/controls/ObjectPageTable.d.ts +71 -2
  63. package/dist/src/specification/v4/controls/ObjectPageToolBar.d.ts +25 -0
  64. package/dist/src/specification/v4/controls/ObjectPageToolBar.js +3 -0
  65. package/dist/src/specification/v4/controls/ObjectPageToolBar.js.map +1 -0
  66. package/dist/src/specification/v4/controls/Table.d.ts +7 -1
  67. package/dist/src/specification/v4/controls/Table.js +1 -1
  68. package/dist/src/specification/v4/controls/Table.js.map +1 -1
  69. package/dist/src/specification/v4/controls/ToolBar.d.ts +28 -0
  70. package/dist/src/specification/v4/controls/ToolBar.js +8 -0
  71. package/dist/src/specification/v4/controls/ToolBar.js.map +1 -0
  72. package/dist/src/specification/v4/controls/index.d.ts +3 -0
  73. package/dist/src/specification/v4/controls/index.js +2 -0
  74. package/dist/src/specification/v4/controls/index.js.map +1 -1
  75. package/dist/src/specification/v4/page.d.ts +0 -2
  76. package/dist/src/specification/v4/webapp/manifest/ManifestSettings.d.ts +34 -2
  77. package/dist/src/specification/v4/webapp/manifest/ManifestSettings.js.map +1 -1
  78. package/dist/src/specification/v4/webapp/manifest/sapUi5.d.ts +6 -1
  79. package/dist/src/specification/v4/webapp/manifest/sapUi5.js.map +1 -1
  80. package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.d.ts +1 -0
  81. package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.js +1 -0
  82. package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.js.map +1 -1
  83. package/dist/src/sync/common/appProvider.d.ts +3 -1
  84. package/dist/src/sync/common/appProvider.js +2 -1
  85. package/dist/src/sync/common/appProvider.js.map +1 -1
  86. package/dist/src/sync/common/decoration/control.js +7 -4
  87. package/dist/src/sync/common/decoration/control.js.map +1 -1
  88. package/dist/src/sync/common/decoration/factory.d.ts +1 -1
  89. package/dist/src/sync/common/decoration/factory.js.map +1 -1
  90. package/dist/src/sync/common/flexUtils.d.ts +3 -2
  91. package/dist/src/sync/common/flexUtils.js +4 -1
  92. package/dist/src/sync/common/flexUtils.js.map +1 -1
  93. package/dist/src/sync/common/i18n.json +2 -1
  94. package/dist/src/sync/common/importProject.js +6 -6
  95. package/dist/src/sync/common/importProject.js.map +1 -1
  96. package/dist/src/sync/common/types.d.ts +22 -5
  97. package/dist/src/sync/common/types.js +20 -4
  98. package/dist/src/sync/common/types.js.map +1 -1
  99. package/dist/src/sync/common/utils.d.ts +72 -20
  100. package/dist/src/sync/common/utils.js +233 -97
  101. package/dist/src/sync/common/utils.js.map +1 -1
  102. package/dist/src/sync/v2/application.js +7 -6
  103. package/dist/src/sync/v2/application.js.map +1 -1
  104. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.d.ts +1 -0
  105. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js +5 -5
  106. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js.map +1 -1
  107. package/dist/src/sync/v2/export/controls/Card.d.ts +2 -1
  108. package/dist/src/sync/v2/export/controls/Card.js +7 -0
  109. package/dist/src/sync/v2/export/controls/Card.js.map +1 -1
  110. package/dist/src/sync/v2/export/controls/FilterBar.d.ts +3 -0
  111. package/dist/src/sync/v2/export/controls/FilterBar.js +36 -0
  112. package/dist/src/sync/v2/export/controls/FilterBar.js.map +1 -1
  113. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js +2 -1
  114. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +1 -1
  115. package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +1 -0
  116. package/dist/src/sync/v2/export/controls/ObjectPageTable.js +12 -0
  117. package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +1 -1
  118. package/dist/src/sync/v2/export/controls/Table.d.ts +11 -2
  119. package/dist/src/sync/v2/export/controls/Table.js +38 -5
  120. package/dist/src/sync/v2/export/controls/Table.js.map +1 -1
  121. package/dist/src/sync/v2/export/export.d.ts +2 -2
  122. package/dist/src/sync/v2/export/export.js +15 -13
  123. package/dist/src/sync/v2/export/export.js.map +1 -1
  124. package/dist/src/sync/v2/export/pages/AnalyticalListPage.js +1 -1
  125. package/dist/src/sync/v2/generate/analyticalListReport.d.ts +3 -1
  126. package/dist/src/sync/v2/generate/analyticalListReport.js +59 -16
  127. package/dist/src/sync/v2/generate/analyticalListReport.js.map +1 -1
  128. package/dist/src/sync/v2/generate/generate.d.ts +5 -2
  129. package/dist/src/sync/v2/generate/generate.js +7 -4
  130. package/dist/src/sync/v2/generate/generate.js.map +1 -1
  131. package/dist/src/sync/v2/generate/listReport.d.ts +5 -2
  132. package/dist/src/sync/v2/generate/listReport.js +63 -30
  133. package/dist/src/sync/v2/generate/listReport.js.map +1 -1
  134. package/dist/src/sync/v2/generate/objectPage.js +75 -56
  135. package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
  136. package/dist/src/sync/v2/generate/utils.d.ts +19 -2
  137. package/dist/src/sync/v2/generate/utils.js +134 -57
  138. package/dist/src/sync/v2/generate/utils.js.map +1 -1
  139. package/dist/src/sync/v2/import/app/appProvider.d.ts +3 -2
  140. package/dist/src/sync/v2/import/app/appProvider.js +10 -9
  141. package/dist/src/sync/v2/import/app/appProvider.js.map +1 -1
  142. package/dist/src/sync/v2/import/app/ovpProvider.js +6 -6
  143. package/dist/src/sync/v2/import/app/ovpProvider.js.map +1 -1
  144. package/dist/src/sync/v2/import/common/index.d.ts +1 -0
  145. package/dist/src/sync/v2/import/common/index.js +11 -7
  146. package/dist/src/sync/v2/import/common/index.js.map +1 -1
  147. package/dist/src/sync/v2/import/pages/analyticalListPage.d.ts +1 -1
  148. package/dist/src/sync/v2/import/pages/analyticalListPage.js +15 -14
  149. package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +1 -1
  150. package/dist/src/sync/v2/import/pages/listReport.d.ts +1 -1
  151. package/dist/src/sync/v2/import/pages/listReport.js +15 -15
  152. package/dist/src/sync/v2/import/pages/listReport.js.map +1 -1
  153. package/dist/src/sync/v2/import/pages/objectPage.js +12 -11
  154. package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
  155. package/dist/src/sync/v2/import/pages/overviewPage.js +5 -3
  156. package/dist/src/sync/v2/import/pages/overviewPage.js.map +1 -1
  157. package/dist/src/sync/v2/import/utils.d.ts +0 -12
  158. package/dist/src/sync/v2/import/utils.js +0 -35
  159. package/dist/src/sync/v2/import/utils.js.map +1 -1
  160. package/dist/src/sync/v4/application.d.ts +3 -0
  161. package/dist/src/sync/v4/application.js +9 -0
  162. package/dist/src/sync/v4/application.js.map +1 -1
  163. package/dist/src/sync/v4/export/controls/ObjectPageHeader.d.ts +2 -1
  164. package/dist/src/sync/v4/export/controls/ObjectPageHeader.js.map +1 -1
  165. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts +21 -0
  166. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js +65 -0
  167. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js.map +1 -0
  168. package/dist/src/sync/v4/export/controls/ObjectPageTable.d.ts +18 -4
  169. package/dist/src/sync/v4/export/controls/ObjectPageTable.js +96 -0
  170. package/dist/src/sync/v4/export/controls/ObjectPageTable.js.map +1 -1
  171. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +6 -2
  172. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js +17 -0
  173. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +1 -1
  174. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts +4 -0
  175. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.js +21 -0
  176. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.js.map +1 -0
  177. package/dist/src/sync/v4/export/controls/Table.d.ts +25 -1
  178. package/dist/src/sync/v4/export/controls/Table.js +169 -0
  179. package/dist/src/sync/v4/export/controls/Table.js.map +1 -1
  180. package/dist/src/sync/v4/export/controls/TableColumn.d.ts +5 -1
  181. package/dist/src/sync/v4/export/controls/TableColumn.js +17 -0
  182. package/dist/src/sync/v4/export/controls/TableColumn.js.map +1 -1
  183. package/dist/src/sync/v4/export/controls/ToolBar.d.ts +4 -0
  184. package/dist/src/sync/v4/export/controls/ToolBar.js +6 -0
  185. package/dist/src/sync/v4/export/controls/ToolBar.js.map +1 -0
  186. package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts +4 -0
  187. package/dist/src/sync/v4/export/controls/ToolBarAction.js +21 -0
  188. package/dist/src/sync/v4/export/controls/ToolBarAction.js.map +1 -0
  189. package/dist/src/sync/v4/export/controls/index.d.ts +4 -0
  190. package/dist/src/sync/v4/export/controls/index.js +4 -0
  191. package/dist/src/sync/v4/export/controls/index.js.map +1 -1
  192. package/dist/src/sync/v4/export/export.d.ts +2 -1
  193. package/dist/src/sync/v4/export/export.js +60 -50
  194. package/dist/src/sync/v4/export/export.js.map +1 -1
  195. package/dist/src/sync/v4/export/factory.js +3 -1
  196. package/dist/src/sync/v4/export/factory.js.map +1 -1
  197. package/dist/src/sync/v4/export/manifest.js +28 -7
  198. package/dist/src/sync/v4/export/manifest.js.map +1 -1
  199. package/dist/src/sync/v4/export/pages/AnalyticalListPage.js +2 -2
  200. package/dist/src/sync/v4/export/pages/AnalyticalListPage.js.map +1 -1
  201. package/dist/src/sync/v4/export/pages/ListReport.js +1 -4
  202. package/dist/src/sync/v4/export/pages/ListReport.js.map +1 -1
  203. package/dist/src/sync/v4/generate/listReport.d.ts +1 -0
  204. package/dist/src/sync/v4/generate/listReport.js +7 -2
  205. package/dist/src/sync/v4/generate/listReport.js.map +1 -1
  206. package/dist/src/sync/v4/generate/objectPage.js +167 -69
  207. package/dist/src/sync/v4/generate/objectPage.js.map +1 -1
  208. package/dist/src/sync/v4/import/app/appProvider.d.ts +2 -1
  209. package/dist/src/sync/v4/import/app/appProvider.js +25 -11
  210. package/dist/src/sync/v4/import/app/appProvider.js.map +1 -1
  211. package/dist/src/sync/v4/import/fragment.js +4 -3
  212. package/dist/src/sync/v4/import/fragment.js.map +1 -1
  213. package/dist/src/sync/v4/import/pages/analyticalListPage.js +7 -6
  214. package/dist/src/sync/v4/import/pages/analyticalListPage.js.map +1 -1
  215. package/dist/src/sync/v4/import/pages/listReport.d.ts +2 -2
  216. package/dist/src/sync/v4/import/pages/listReport.js +32 -19
  217. package/dist/src/sync/v4/import/pages/listReport.js.map +1 -1
  218. package/dist/src/sync/v4/import/pages/objectPage.d.ts +3 -1
  219. package/dist/src/sync/v4/import/pages/objectPage.js +74 -21
  220. package/dist/src/sync/v4/import/pages/objectPage.js.map +1 -1
  221. package/dist/src/sync/v4/utils/StableIdHelper.js +12 -1
  222. package/dist/src/sync/v4/utils/StableIdHelper.js.map +1 -1
  223. package/dist/src/sync/v4/utils/utils.d.ts +13 -2
  224. package/dist/src/sync/v4/utils/utils.js +49 -29
  225. package/dist/src/sync/v4/utils/utils.js.map +1 -1
  226. package/dist/test/test-utils/utils.d.ts +0 -1
  227. package/dist/test/unit/import/importAppV4.test.d.ts +1 -0
  228. package/package.json +9 -9
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectPageTable.js","sourceRoot":"","sources":["../../../../../src/specification/v2/controls/ObjectPageTable.ts"],"names":[],"mappings":";;AA4BA,IAAY,UAEX;AAFD,WAAY,UAAU;IAClB,+BAAiB,CAAA;AACrB,CAAC,EAFW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAErB"}
1
+ {"version":3,"file":"ObjectPageTable.js","sourceRoot":"","sources":["../../../../../src/specification/v2/controls/ObjectPageTable.ts"],"names":[],"mappings":";;AAqBA,IAAY,UAEX;AAFD,WAAY,UAAU;IAClB,+BAAiB,CAAA;AACrB,CAAC,EAFW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAErB"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Action
3
+ * @isViewNode true
4
+ */
5
+ export declare type ObjectPageToolBarAction = object;
6
+ /**
7
+ * Actions
8
+ * @isViewNode true
9
+ */
10
+ export interface ObjectPageToolBarActions {
11
+ [key: string]: ObjectPageToolBarAction;
12
+ }
13
+ /**
14
+ * Toolbar
15
+ * @isViewNode true
16
+ */
17
+ export interface ObjectPageToolBar {
18
+ actions: ObjectPageToolBarActions;
19
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ObjectPageToolBar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObjectPageToolBar.js","sourceRoot":"","sources":["../../../../../src/specification/v2/controls/ObjectPageToolBar.ts"],"names":[],"mappings":""}
@@ -1,4 +1,5 @@
1
1
  import { SAPUI5_FRAGMENT_CLASS } from '../../common/webapp/manifest/sapUi5';
2
+ import { ToolBar } from './ToolBar';
2
3
  export declare enum HAlign {
3
4
  initial = "Initial",
4
5
  left = "Left",
@@ -244,6 +245,10 @@ export interface CommonTableSettings<COLS = GenericColumns> {
244
245
  * Change the default behavior for autoloading of data.
245
246
  */
246
247
  dataLoadSettings?: DataLoadSettings;
248
+ /**
249
+ * Tool Bar
250
+ */
251
+ toolBar?: ToolBar;
247
252
  /**
248
253
  * Columns
249
254
  * @isViewNode true
@@ -271,6 +276,10 @@ export interface ResponsiveTableCommonSettings extends CommonTableSettings {
271
276
  * In the list report and on the object page, you can enable buttons to display and hide draft values. By default, these buttons are hidden. To enable them, set the showDraftToggle flag to true.
272
277
  */
273
278
  showDraftToggle?: boolean;
279
+ /**
280
+ * growingThreshold defines the number of items to be requested from the model for each grow. This property can only be used if the growing property is set to true.
281
+ */
282
+ growingThreshold?: number;
274
283
  }
275
284
  /**
276
285
  * Table
@@ -373,11 +382,7 @@ export interface AnalyticalTable extends CommonTableSettings {
373
382
  * @isViewNode true
374
383
  * @controlProperty type
375
384
  */
376
- export interface TableALP extends CommonTableSettings {
377
- /**
378
- * Use type to define the table type. Note: Grid tables, analytical tables, and tree tables cannot be rendered on smartphones. Instead, responsive tables always show on smartphones.
379
- */
380
- type?: TableTypeV2.AnalyticalTable | TableTypeV2.ResponsiveTable | TableTypeV2.GridTable;
385
+ export interface TableALPCommonSettings extends CommonTableSettings {
381
386
  /**
382
387
  * Represents the SelectionPresentationVariant qualifier. ALP looks for SelectionPresentationVariant with this qualifier and if not found, it looks for PresentationVariant with this qualifier.
383
388
  */
@@ -412,6 +417,49 @@ export interface TableALP extends CommonTableSettings {
412
417
  */
413
418
  multiSelect?: boolean;
414
419
  }
420
+ /**
421
+ * Table
422
+ * @isViewNode true
423
+ * @controlProperty type
424
+ */
425
+ export interface ALPResponsiveTable extends TableALPCommonSettings {
426
+ /**
427
+ * Use type to define the table type. Note: Grid tables, analytical tables, and tree tables cannot be rendered on smartphones. Instead, responsive tables always show on smartphones.
428
+ */
429
+ type?: TableTypeV2.ResponsiveTable;
430
+ /**
431
+ * growingThreshold defines the number of items to be requested from the model for each grow. This property can only be used if the growing property is set to true.
432
+ */
433
+ growingThreshold?: number;
434
+ }
435
+ /**
436
+ * Table
437
+ * @isViewNode true
438
+ * @controlProperty type
439
+ */
440
+ export interface ALPGridTable extends TableALPCommonSettings {
441
+ /**
442
+ * Use type to define the table type. Note: Grid tables, analytical tables, and tree tables cannot be rendered on smartphones. Instead, responsive tables always show on smartphones.
443
+ */
444
+ type?: TableTypeV2.GridTable;
445
+ }
446
+ /**
447
+ * Table
448
+ * @isViewNode true
449
+ * @controlProperty type
450
+ */
451
+ export interface ALPAnalyticalTable extends TableALPCommonSettings {
452
+ /**
453
+ * Use type to define the table type. Note: Grid tables, analytical tables, and tree tables cannot be rendered on smartphones. Instead, responsive tables always show on smartphones.
454
+ */
455
+ type?: TableTypeV2.AnalyticalTable;
456
+ }
457
+ export interface TableALP extends ALPResponsiveTable, ALPGridTable, ALPAnalyticalTable {
458
+ /**
459
+ * Use type to define the table type. Note: Grid tables, analytical tables, and tree tables cannot be rendered on smartphones. Instead, responsive tables always show on smartphones.
460
+ */
461
+ type?: TableTypeV2.ResponsiveTable & TableTypeV2.GridTable & TableTypeV2.AnalyticalTable;
462
+ }
415
463
  /**
416
464
  * Table
417
465
  * @isViewNode true
@@ -1 +1 @@
1
- {"version":3,"file":"Table.js","sourceRoot":"","sources":["../../../../../src/specification/v2/controls/Table.ts"],"names":[],"mappings":";;AAEA,IAAY,MAOX;AAPD,WAAY,MAAM;IACd,6BAAmB,CAAA;IACnB,uBAAa,CAAA;IACb,2BAAiB,CAAA;IACjB,yBAAe,CAAA;IACf,yBAAe,CAAA;IACf,qBAAW,CAAA;AACf,CAAC,EAPW,MAAM,GAAN,cAAM,KAAN,cAAM,QAOjB;AAiED,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAC7B,oCAAW,CAAA;AACf,CAAC,EAFW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAEhC;AAED,IAAY,WAKX;AALD,WAAY,WAAW;IACnB,kDAAmC,CAAA;IACnC,sCAAuB,CAAA;IACvB,kDAAmC,CAAA;IACnC,sCAAuB,CAAA;AAC3B,CAAC,EALW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAKtB;AAED,IAAY,0BAKX;AALD,WAAY,0BAA0B;IAClC,iGAAmE,CAAA;IACnE,iGAAmE,CAAA;IACnE,qFAAuD,CAAA;IACvD,qFAAuD,CAAA;AAC3D,CAAC,EALW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAKrC;AAYD,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,8BAAe,CAAA;IACf,sCAAuB,CAAA;IACvB,sCAAuB,CAAA;AAC3B,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB;AA6ED,IAAY,QAEX;AAFD,WAAY,QAAQ;IAChB,mCAAuB,CAAA;AAC3B,CAAC,EAFW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAEnB;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,+CAAyB,CAAA;IACzB,qCAAe,CAAA;IACf,qCAAe,CAAA;AACnB,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IACzB,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;AACvB,CAAC,EAHW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAG5B;AAED,IAAY,2BAIX;AAJD,WAAY,2BAA2B;IACnC,gDAAiB,CAAA;IACjB,8CAAe,CAAA;IACf,oEAAqC,CAAA;AACzC,CAAC,EAJW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAItC"}
1
+ {"version":3,"file":"Table.js","sourceRoot":"","sources":["../../../../../src/specification/v2/controls/Table.ts"],"names":[],"mappings":";;AAGA,IAAY,MAOX;AAPD,WAAY,MAAM;IACd,6BAAmB,CAAA;IACnB,uBAAa,CAAA;IACb,2BAAiB,CAAA;IACjB,yBAAe,CAAA;IACf,yBAAe,CAAA;IACf,qBAAW,CAAA;AACf,CAAC,EAPW,MAAM,GAAN,cAAM,KAAN,cAAM,QAOjB;AAiED,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAC7B,oCAAW,CAAA;AACf,CAAC,EAFW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAEhC;AAED,IAAY,WAKX;AALD,WAAY,WAAW;IACnB,kDAAmC,CAAA;IACnC,sCAAuB,CAAA;IACvB,kDAAmC,CAAA;IACnC,sCAAuB,CAAA;AAC3B,CAAC,EALW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAKtB;AAED,IAAY,0BAKX;AALD,WAAY,0BAA0B;IAClC,iGAAmE,CAAA;IACnE,iGAAmE,CAAA;IACnE,qFAAuD,CAAA;IACvD,qFAAuD,CAAA;AAC3D,CAAC,EALW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAKrC;AAYD,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,8BAAe,CAAA;IACf,sCAAuB,CAAA;IACvB,sCAAuB,CAAA;AAC3B,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB;AA6ED,IAAY,QAEX;AAFD,WAAY,QAAQ;IAChB,mCAAuB,CAAA;AAC3B,CAAC,EAFW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAEnB;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,+CAAyB,CAAA;IACzB,qCAAe,CAAA;IACf,qCAAe,CAAA;AACnB,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IACzB,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;AACvB,CAAC,EAHW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAG5B;AAED,IAAY,2BAIX;AAJD,WAAY,2BAA2B;IACnC,gDAAiB,CAAA;IACjB,8CAAe,CAAA;IACf,oEAAqC,CAAA;AACzC,CAAC,EAJW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAItC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Action
3
+ * @isViewNode true
4
+ */
5
+ export declare type Action = object;
6
+ /**
7
+ * Actions
8
+ * @isViewNode true
9
+ */
10
+ export interface Actions {
11
+ [key: string]: Action;
12
+ }
13
+ /**
14
+ * Toolbar
15
+ * @isViewNode true
16
+ */
17
+ export interface ToolBar {
18
+ actions: Actions;
19
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ToolBar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToolBar.js","sourceRoot":"","sources":["../../../../../src/specification/v2/controls/ToolBar.ts"],"names":[],"mappings":""}
@@ -1,6 +1,8 @@
1
1
  export * from './FilterBar';
2
2
  export * from './Table';
3
3
  export * from './Facets';
4
+ export * from './ToolBar';
5
+ export * from './ObjectPageToolBar';
4
6
  export * from './ObjectPageHeader';
5
7
  export * from './ObjectPageHeaderAction';
6
8
  export * from './ObjectPageLayout';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/specification/v2/controls/index.ts"],"names":[],"mappings":";;;;;AAAA,iCAA4B;AAC5B,6BAAwB;AAExB,wCAAmC;AACnC,8CAAyC;AAEzC,yCAAoC;AACpC,4BAAuB;AACvB,uCAAkC;AAClC,+CAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/specification/v2/controls/index.ts"],"names":[],"mappings":";;;;;AAAA,iCAA4B;AAC5B,6BAAwB;AAIxB,wCAAmC;AACnC,8CAAyC;AAEzC,yCAAoC;AACpC,4BAAuB;AACvB,uCAAkC;AAClC,+CAA0C"}
@@ -1,4 +1,4 @@
1
- import { AnalyticalListPageFilterBar, TableALP } from '../controls';
1
+ import { AnalyticalListPageFilterBar, ALPAnalyticalTable, ALPGridTable, ALPResponsiveTable } from '../controls';
2
2
  import { PageConfig } from '../../common/page';
3
3
  import { ChartSettings } from '../../../specification/v2/controls';
4
4
  import { KPISettings } from '../../../specification/v2/controls/AnalyticalListPageKPI';
@@ -7,7 +7,7 @@ export interface AnalyticalListPageConfig extends PageConfig {
7
7
  * Set fitContent to true to optimize the dynamic page responsiveness on small screens and behavior when the DynamicPageHeader is expanded or collapsed.
8
8
  */
9
9
  fitContent?: boolean;
10
- table?: TableALP;
10
+ table?: ALPResponsiveTable | ALPGridTable | ALPAnalyticalTable;
11
11
  filterBar?: AnalyticalListPageFilterBar;
12
12
  chart?: ChartSettings;
13
13
  /**
@@ -1,4 +1,5 @@
1
1
  import { SapUi5RootView, SapUi5OdataModel, SapUi5ResourceModel, SapUi5RoutingRoute, SAPUI5_FRAGMENT_CLASS, SAPUI5_VIEW_CLASS, ViewTypes } from '../../../common/webapp/manifest/sapUi5';
2
+ import { ManifestSection } from '../../../v4';
2
3
  export interface SapUi5 {
3
4
  flexEnabled?: boolean;
4
5
  resources?: object;
@@ -85,7 +86,7 @@ export interface SapUi5PageControllerExtensions {
85
86
  }
86
87
  export interface SapUi5ControllerExtension {
87
88
  controllerName: string;
88
- ['sap.ui.generic.app']: {
89
+ [ManifestSection.generic]: {
89
90
  [key: string]: SapUi5ControllerExtensionSettings;
90
91
  };
91
92
  }
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ const v4_1 = require("../../../v4");
3
4
  // SAPUI5 EXTENDS
4
5
  exports.SAPUI5_VIEW_EXTENSION = 'sap.ui.viewExtensions';
5
6
  exports.SAPUI5_CONTROLLER_EXTENSION = 'sap.ui.controllerExtensions';
@@ -1 +1 @@
1
- {"version":3,"file":"sapUi5.js","sourceRoot":"","sources":["../../../../../../src/specification/v2/webapp/manifest/sapUi5.ts"],"names":[],"mappings":";;AA4DA,iBAAiB;AACJ,QAAA,qBAAqB,GAAG,uBAAuB,CAAC;AAChD,QAAA,2BAA2B,GAAG,6BAA6B,CAAC;AAW5D,QAAA,iCAAiC,GAAG,uDAAuD,CAAC;AAC5F,QAAA,iCAAiC,GAAG,0DAA0D,CAAC;AAC/F,QAAA,0CAA0C,GACnD,0EAA0E,CAAC"}
1
+ {"version":3,"file":"sapUi5.js","sourceRoot":"","sources":["../../../../../../src/specification/v2/webapp/manifest/sapUi5.ts"],"names":[],"mappings":";;AASA,oCAA8C;AAoD9C,iBAAiB;AACJ,QAAA,qBAAqB,GAAG,uBAAuB,CAAC;AAChD,QAAA,2BAA2B,GAAG,6BAA6B,CAAC;AAW5D,QAAA,iCAAiC,GAAG,uDAAuD,CAAC;AAC5F,QAAA,iCAAiC,GAAG,0DAA0D,CAAC;AAC/F,QAAA,0CAA0C,GACnD,0EAA0E,CAAC"}
@@ -1,6 +1,6 @@
1
1
  export declare type SelectionField = object;
2
2
  /**
3
- * Selection Fields
3
+ * Filter Fields
4
4
  * @isViewNode true
5
5
  */
6
6
  export interface SelectionFields {
@@ -1,3 +1,4 @@
1
+ import { HeaderSections } from './ObjectPageHeaderSection';
1
2
  /**
2
3
  * Header
3
4
  * @isViewNode true
@@ -19,4 +20,5 @@ export interface ObjectPageHeader {
19
20
  * Set visible to true to make the anchor bar visible.
20
21
  */
21
22
  anchorBarVisible?: boolean;
23
+ sections?: HeaderSections;
22
24
  }
@@ -0,0 +1,58 @@
1
+ export declare const enum DesigntimeValues {
2
+ 'not-adaptable-visibility' = "not-adaptable-visibility"
3
+ }
4
+ export interface FlexSettings {
5
+ /**
6
+ * You can restrict the adaptability of header facets via the setting 'flexSettings'/'designtime'. 'not-adaptable-visibility' means that 'remove' and 'add' are not possible, but 'move' is enabled.
7
+ */
8
+ designtime?: DesigntimeValues;
9
+ }
10
+ export interface CommonHeaderFacetSettings {
11
+ /**
12
+ * Header facets marked as stashed are initially not visible on the UI. Key users can add these header facets via key user adaptation.
13
+ */
14
+ stashed?: boolean;
15
+ flexSettings?: FlexSettings;
16
+ }
17
+ export interface ObjectPageHeaderSectionForm extends CommonHeaderFacetSettings {
18
+ /**
19
+ * Form
20
+ * @isViewNode true
21
+ */
22
+ form?: object;
23
+ }
24
+ export interface ObjectPageHeaderSectionChart extends CommonHeaderFacetSettings {
25
+ /**
26
+ * Chart
27
+ * @isViewNode true
28
+ */
29
+ chart?: object;
30
+ }
31
+ export interface ObjectPageHeaderSectionDataPoint extends CommonHeaderFacetSettings {
32
+ /**
33
+ * Data Point
34
+ * @isViewNode true
35
+ */
36
+ dataPoint?: object;
37
+ }
38
+ export interface ObjectPageHeaderSectionContact extends CommonHeaderFacetSettings {
39
+ /**
40
+ * Contact
41
+ * @isViewNode true
42
+ */
43
+ contact?: object;
44
+ }
45
+ export interface ObjectPageHeaderSectionAddress extends CommonHeaderFacetSettings {
46
+ /**
47
+ * Address
48
+ * @isViewNode true
49
+ */
50
+ address?: object;
51
+ }
52
+ /**
53
+ * Header Sections
54
+ * @isViewNode true
55
+ */
56
+ export interface HeaderSections {
57
+ [key: string]: ObjectPageHeaderSectionForm | ObjectPageHeaderSectionChart | ObjectPageHeaderSectionDataPoint | ObjectPageHeaderSectionContact | ObjectPageHeaderSectionAddress;
58
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var DesigntimeValues;
4
+ (function (DesigntimeValues) {
5
+ DesigntimeValues["not-adaptable-visibility"] = "not-adaptable-visibility";
6
+ })(DesigntimeValues = exports.DesigntimeValues || (exports.DesigntimeValues = {}));
7
+ //# sourceMappingURL=ObjectPageHeaderSection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObjectPageHeaderSection.js","sourceRoot":"","sources":["../../../../../src/specification/v4/controls/ObjectPageHeaderSection.ts"],"names":[],"mappings":";;AAAA,IAAkB,gBAEjB;AAFD,WAAkB,gBAAgB;IAC9B,yEAAuD,CAAA;AAC3D,CAAC,EAFiB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAEjC"}
@@ -7,12 +7,36 @@ import { SAPUI5_FRAGMENT_CLASS } from '../../common/webapp/manifest/sapUi5';
7
7
  export interface ObjectPageSubSections {
8
8
  subsections: GenericSections;
9
9
  }
10
- export declare type FieldType = object;
11
10
  export interface ObjectPageSectionForm {
12
- [key: string]: FieldType;
11
+ /**
12
+ * Form
13
+ * @isViewNode true
14
+ */
15
+ form?: object;
16
+ }
17
+ export interface ObjectPageSectionDataPoint {
18
+ /**
19
+ * Data Point
20
+ * @isViewNode true
21
+ */
22
+ dataPoint?: object;
23
+ }
24
+ export interface ObjectPageSectionContact {
25
+ /**
26
+ * Contact
27
+ * @isViewNode true
28
+ */
29
+ contact?: object;
30
+ }
31
+ export interface ObjectPageSectionAddress {
32
+ /**
33
+ * Address
34
+ * @isViewNode true
35
+ */
36
+ address?: object;
13
37
  }
14
38
  export interface GenericSections {
15
- [key: string]: ObjectPageSectionTableV4 | ObjectPageSectionForm;
39
+ [key: string]: ObjectPageSectionTableV4 | ObjectPageSectionForm | ObjectPageSectionDataPoint | ObjectPageSectionContact | ObjectPageSectionAddress;
16
40
  }
17
41
  export declare enum SectionPosition {
18
42
  After = "After",
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectPageSection.js","sourceRoot":"","sources":["../../../../../src/specification/v4/controls/ObjectPageSection.ts"],"names":[],"mappings":";;AAqBA,IAAY,eAGX;AAHD,WAAY,eAAe;IACvB,kCAAe,CAAA;IACf,oCAAiB,CAAA;AACrB,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B;AAED,IAAY,wBAEX;AAFD,WAAY,wBAAwB;IAChC,uCAAW,CAAA;AACf,CAAC,EAFW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAEnC"}
1
+ {"version":3,"file":"ObjectPageSection.js","sourceRoot":"","sources":["../../../../../src/specification/v4/controls/ObjectPageSection.ts"],"names":[],"mappings":";;AAoDA,IAAY,eAGX;AAHD,WAAY,eAAe;IACvB,kCAAe,CAAA;IACf,oCAAiB,CAAA;AACrB,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B;AAED,IAAY,wBAEX;AAFD,WAAY,wBAAwB;IAChC,uCAAW,CAAA;AACf,CAAC,EAFW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAEnC"}
@@ -1,9 +1,11 @@
1
- import { TableSettings } from '../controls';
1
+ import { AnnotationPathAsObject, TableCreationModeType, TableCustomColumns, TableSettings } from '../controls';
2
+ import { TableColumnOP } from '../webapp/manifest/ManifestSettings';
3
+ import { ObjectPageToolBar } from './ObjectPageToolBar';
2
4
  /**
3
5
  * Table
4
6
  * @isViewNode true
5
7
  */
6
- export interface ObjectPageTable extends TableSettings {
8
+ export interface ObjectPageTable extends TableSettingsOP {
7
9
  /**
8
10
  * By setting enableFullScreen to true you can enable the full screen mode for this table; this will display a new button on the table toolbar allowing the user to open the table in a fullscreen dialog.
9
11
  */
@@ -12,6 +14,10 @@ export interface ObjectPageTable extends TableSettings {
12
14
  * In the Object Page tables, it is possible to add several items at a time by copying and pasting data from an excel file, if this property is set to true.
13
15
  */
14
16
  enablePaste?: boolean;
17
+ /**
18
+ * Tool Bar
19
+ */
20
+ toolBar?: ObjectPageToolBar;
15
21
  }
16
22
  /**
17
23
  * Table Section
@@ -20,3 +26,66 @@ export interface ObjectPageTable extends TableSettings {
20
26
  export interface ObjectPageSectionTableV4 {
21
27
  table?: ObjectPageTable;
22
28
  }
29
+ export interface TableCreationModeOP {
30
+ /**
31
+ * The name property of TableCreationMode defines the creation mode; possible values are:
32
+ * - NewPage: The create action leads to a new page.
33
+ * - Inline: The create action leads to a new row at the table.
34
+ * - CreationRow: No create button will be rendered, an empty row is directly given.
35
+ * The default is "NewPage".
36
+ */
37
+ name?: TableCreationModeType;
38
+ /**
39
+ * In case of inline creation mode you can decide if the new row will be created at the end of the table, or direcly after the currently selected table. The default value is "true"
40
+ */
41
+ createAtEnd?: boolean;
42
+ }
43
+ export interface PersonalizationTypeOP {
44
+ /**
45
+ * Defines whether the user can add and remove columns to a given table.
46
+ */
47
+ column?: boolean;
48
+ /**
49
+ * Defines whether the user can sort a given table.
50
+ */
51
+ sort?: boolean;
52
+ /**
53
+ * Defines whether the user can filter data of a given table.
54
+ */
55
+ filter?: boolean;
56
+ }
57
+ export interface QuickVariantSelectionV4OP {
58
+ /**
59
+ * List of annotation paths referring to SelectionVariant annotations
60
+ */
61
+ paths: AnnotationPathAsObject[];
62
+ /**
63
+ * You can hide the table and display only the titles of the tabs. To do so, add the hideTableTitle option and set it to true.
64
+ */
65
+ hideTableTitle?: boolean;
66
+ /**
67
+ * You can show the counts of entries of each view. To do so, add the showCounts option and set it to true.
68
+ */
69
+ showCounts?: boolean;
70
+ }
71
+ interface GenericColumns {
72
+ [key: string]: TableColumnOP | TableCustomColumns;
73
+ }
74
+ export interface TableSettingsOP extends TableSettings {
75
+ /**
76
+ * Defines the page behavior when a new record is created.
77
+ */
78
+ creationMode?: TableCreationModeOP;
79
+ /**
80
+ * Defines the personalization mode, currently only effective if variant management on page is either set to Page or Control.
81
+ * By default all table settings are enabled. You can change this for the different parts of the table by setting the properties "Column", "Sort" and "Filter" accordingly.
82
+ * Omitting a property is treated as false, this allows apps to avoid getting new features like grouping in upcoming releases.
83
+ */
84
+ personalization?: PersonalizationTypeOP;
85
+ /**
86
+ * With quickVariantSelection you can switch on the multiple view feature (single table mode). It links to SelectionVariant (filters) or SelectionPresentationVariant (filters and sorters) you must have added to your annotations beforehand.
87
+ */
88
+ quickVariantSelection?: QuickVariantSelectionV4OP;
89
+ columns?: GenericColumns;
90
+ }
91
+ export {};
@@ -0,0 +1,25 @@
1
+ import { SelectType } from './ToolBar';
2
+ /**
3
+ * Action
4
+ * @isViewNode true
5
+ */
6
+ export interface ObjectPageToolBarAction {
7
+ /**
8
+ * Enables single selection for a bound action
9
+ */
10
+ enableOnSelect?: SelectType;
11
+ }
12
+ /**
13
+ * Actions
14
+ * @isViewNode true
15
+ */
16
+ export interface ObjectPageToolBarActions {
17
+ [key: string]: ObjectPageToolBarAction;
18
+ }
19
+ /**
20
+ * Toolbar
21
+ * @isViewNode true
22
+ */
23
+ export interface ObjectPageToolBar {
24
+ actions: ObjectPageToolBarActions;
25
+ }