@sap/ux-specification 1.96.6 → 1.96.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 (157) hide show
  1. package/CHANGELOG.md +44 -1
  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/ApplicationV2.json +14 -14
  12. package/dist/schemas/v4/ApplicationV4.json +9 -5
  13. package/dist/schemas/v4/ListReportConfig.json +609 -209
  14. package/dist/specification/v2/index-min.js +1 -1
  15. package/dist/specification/v4/index-min.js +1 -1
  16. package/dist/src/api.d.ts +3 -3
  17. package/dist/src/apiTypes.d.ts +16 -20
  18. package/dist/src/extensionLogger.d.ts +1 -1
  19. package/dist/src/project.d.ts +1 -1
  20. package/dist/src/specification/common/Application.d.ts +24 -4
  21. package/dist/src/specification/common/page.d.ts +1 -1
  22. package/dist/src/specification/common/webapp/manifest/Manifest.d.ts +6 -6
  23. package/dist/src/specification/common/webapp/manifest/sapUi5.d.ts +1 -1
  24. package/dist/src/specification/schemaAccess.d.ts +1 -1
  25. package/dist/src/specification/v2/ApplicationV2.d.ts +3 -17
  26. package/dist/src/specification/v2/controls/Facets.d.ts +1 -1
  27. package/dist/src/specification/v2/controls/Footer.d.ts +2 -2
  28. package/dist/src/specification/v2/controls/ObjectPageForm.d.ts +1 -1
  29. package/dist/src/specification/v2/controls/ObjectPageHeader.d.ts +1 -1
  30. package/dist/src/specification/v2/controls/ObjectPageSection.d.ts +2 -2
  31. package/dist/src/specification/v2/controls/ObjectPageTable.d.ts +2 -2
  32. package/dist/src/specification/v2/controls/ObjectPageToolBar.d.ts +1 -1
  33. package/dist/src/specification/v2/controls/Table.d.ts +3 -3
  34. package/dist/src/specification/v2/controls/ToolBar.d.ts +1 -1
  35. package/dist/src/specification/v2/page.d.ts +1 -1
  36. package/dist/src/specification/v2/pages/AnalyticalListPageConfig.d.ts +4 -4
  37. package/dist/src/specification/v2/pages/ListReportConfig.d.ts +2 -2
  38. package/dist/src/specification/v2/pages/ObjectPageConfig.d.ts +3 -3
  39. package/dist/src/specification/v2/pages/OverviewPageConfig.d.ts +3 -3
  40. package/dist/src/specification/v2/webapp/manifest/sapUi5.d.ts +2 -2
  41. package/dist/src/specification/v2/webapp/manifest/sapUiPageV2.d.ts +2 -2
  42. package/dist/src/specification/v4/ApplicationV4.d.ts +4 -14
  43. package/dist/src/specification/v4/controls/ObjectPageHeader.d.ts +1 -1
  44. package/dist/src/specification/v4/controls/ObjectPageSection.d.ts +2 -2
  45. package/dist/src/specification/v4/controls/ObjectPageTable.d.ts +3 -3
  46. package/dist/src/specification/v4/controls/ObjectPageToolBar.d.ts +1 -1
  47. package/dist/src/specification/v4/controls/Table.d.ts +162 -25
  48. package/dist/src/specification/v4/controls/ToolBar.d.ts +26 -1
  49. package/dist/src/specification/v4/page.d.ts +2 -2
  50. package/dist/src/specification/v4/pages/ListReportConfig.d.ts +17 -3
  51. package/dist/src/specification/v4/pages/ObjectPageConfig.d.ts +2 -2
  52. package/dist/src/specification/v4/pages/index.d.ts +0 -1
  53. package/dist/src/specification/v4/webapp/manifest/ManifestSettings.d.ts +77 -0
  54. package/dist/src/specification/v4/webapp/manifest/sapUi5.d.ts +12 -3
  55. package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.d.ts +20 -1
  56. package/dist/src/sync/common/appProvider.d.ts +6 -5
  57. package/dist/src/sync/common/decoration/control.d.ts +1 -1
  58. package/dist/src/sync/common/decoration/decorators.d.ts +1 -1
  59. package/dist/src/sync/common/decoration/factory.d.ts +3 -3
  60. package/dist/src/sync/common/decoration/flex.d.ts +3 -3
  61. package/dist/src/sync/common/flexUtils.d.ts +4 -4
  62. package/dist/src/sync/common/generate/objectPage.d.ts +4 -3
  63. package/dist/src/sync/common/generate/utils.d.ts +11 -9
  64. package/dist/src/sync/common/import/utils.d.ts +4 -3
  65. package/dist/src/sync/common/importProject.d.ts +4 -4
  66. package/dist/src/sync/common/types.d.ts +28 -6
  67. package/dist/src/sync/common/utils.d.ts +11 -8
  68. package/dist/src/sync/i18n.d.ts +1 -1
  69. package/dist/src/sync/v2/application.d.ts +2 -2
  70. package/dist/src/sync/v2/export/controls/Action.d.ts +1 -1
  71. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.d.ts +1 -1
  72. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.d.ts +1 -1
  73. package/dist/src/sync/v2/export/controls/Card.d.ts +1 -1
  74. package/dist/src/sync/v2/export/controls/Field.d.ts +1 -1
  75. package/dist/src/sync/v2/export/controls/FilterBar.d.ts +2 -1
  76. package/dist/src/sync/v2/export/controls/FormAction.d.ts +1 -1
  77. package/dist/src/sync/v2/export/controls/Fragment.d.ts +5 -11
  78. package/dist/src/sync/v2/export/controls/ObjectPageChart.d.ts +1 -1
  79. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.d.ts +3 -3
  80. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts +1 -1
  81. package/dist/src/sync/v2/export/controls/ObjectPageHeader.d.ts +1 -1
  82. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts +1 -1
  83. package/dist/src/sync/v2/export/controls/ObjectPageLayout.d.ts +1 -1
  84. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +2 -2
  85. package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +3 -3
  86. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts +1 -1
  87. package/dist/src/sync/v2/export/controls/Table.d.ts +3 -2
  88. package/dist/src/sync/v2/export/controls/TableColumn.d.ts +2 -2
  89. package/dist/src/sync/v2/export/controls/ToolBar.d.ts +1 -1
  90. package/dist/src/sync/v2/export/export.d.ts +3 -3
  91. package/dist/src/sync/v2/export/exportPage.d.ts +2 -2
  92. package/dist/src/sync/v2/export/factory.d.ts +2 -1
  93. package/dist/src/sync/v2/export/manifest.d.ts +1 -1
  94. package/dist/src/sync/v2/export/pages/AnalyticalListPage.d.ts +4 -4
  95. package/dist/src/sync/v2/export/pages/ListReport.d.ts +2 -2
  96. package/dist/src/sync/v2/export/pages/ObjectPage.d.ts +3 -3
  97. package/dist/src/sync/v2/export/pages/OverviewPage.d.ts +2 -2
  98. package/dist/src/sync/v2/export/view-controller-generator.d.ts +2 -2
  99. package/dist/src/sync/v2/generate/analyticalListReport.d.ts +1 -1
  100. package/dist/src/sync/v2/generate/generate.d.ts +2 -2
  101. package/dist/src/sync/v2/generate/listReport.d.ts +7 -4
  102. package/dist/src/sync/v2/generate/objectPage.d.ts +1 -1
  103. package/dist/src/sync/v2/generate/overviewPage.d.ts +1 -1
  104. package/dist/src/sync/v2/generate/utils.d.ts +5 -5
  105. package/dist/src/sync/v2/import/app/appProvider.d.ts +4 -4
  106. package/dist/src/sync/v2/import/app/ovpProvider.d.ts +3 -3
  107. package/dist/src/sync/v2/import/common/index.d.ts +6 -5
  108. package/dist/src/sync/v2/import/controls/table.d.ts +1 -1
  109. package/dist/src/sync/v2/import/pages/analyticalListPage.d.ts +2 -2
  110. package/dist/src/sync/v2/import/pages/listReport.d.ts +2 -2
  111. package/dist/src/sync/v2/import/pages/objectPage.d.ts +1 -1
  112. package/dist/src/sync/v2/import/pages/overviewPage.d.ts +2 -2
  113. package/dist/src/sync/v2/import/utils.d.ts +3 -2
  114. package/dist/src/sync/v2/types.d.ts +7 -7
  115. package/dist/src/sync/v4/application.d.ts +8 -4
  116. package/dist/src/sync/v4/export/controls/FilterBar.d.ts +1 -1
  117. package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts +2 -1
  118. package/dist/src/sync/v4/export/controls/ObjectPageHeader.d.ts +1 -1
  119. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts +1 -1
  120. package/dist/src/sync/v4/export/controls/ObjectPageLayout.d.ts +1 -1
  121. package/dist/src/sync/v4/export/controls/ObjectPageTable.d.ts +1 -1
  122. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +1 -1
  123. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts +1 -1
  124. package/dist/src/sync/v4/export/controls/Table.d.ts +125 -9
  125. package/dist/src/sync/v4/export/controls/TableColumn.d.ts +39 -1
  126. package/dist/src/sync/v4/export/controls/ToolBar.d.ts +1 -1
  127. package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts +4 -1
  128. package/dist/src/sync/v4/export/export.d.ts +2 -2
  129. package/dist/src/sync/v4/export/exportCustomColumn.d.ts +2 -2
  130. package/dist/src/sync/v4/export/factory.d.ts +2 -1
  131. package/dist/src/sync/v4/export/flexibleColumnLayout.d.ts +1 -1
  132. package/dist/src/sync/v4/export/manifest.d.ts +1 -1
  133. package/dist/src/sync/v4/export/pages/ListReport.d.ts +8 -3
  134. package/dist/src/sync/v4/export/pages/ObjectPage.d.ts +2 -2
  135. package/dist/src/sync/v4/export/pages/index.d.ts +0 -1
  136. package/dist/src/sync/v4/export/types.d.ts +7 -5
  137. package/dist/src/sync/v4/export/utils.d.ts +1 -1
  138. package/dist/src/sync/v4/generate/generate.d.ts +5 -4
  139. package/dist/src/sync/v4/generate/listReport.d.ts +2 -4
  140. package/dist/src/sync/v4/generate/objectPage.d.ts +1 -1
  141. package/dist/src/sync/v4/import/app/appProvider.d.ts +6 -5
  142. package/dist/src/sync/v4/import/fragment.d.ts +2 -2
  143. package/dist/src/sync/v4/import/index.d.ts +0 -1
  144. package/dist/src/sync/v4/import/pages/listReport.d.ts +8 -7
  145. package/dist/src/sync/v4/import/pages/objectPage.d.ts +2 -2
  146. package/dist/src/sync/v4/import/utils.d.ts +2 -2
  147. package/dist/src/sync/v4/types.d.ts +2 -2
  148. package/dist/src/sync/v4/utils/utils.d.ts +14 -5
  149. package/dist/test/test-data/flexChange/v2/stta.prod.man/index.d.ts +1 -1
  150. package/dist/test/test-projects/index.d.ts +1 -1
  151. package/dist/test/test-utils/utils.d.ts +5 -4
  152. package/package.json +12 -9
  153. package/dist/documentation/v4/v4-AnalyticalListPage.html +0 -49
  154. package/dist/schemas/v4/AnalyticalListPageConfig.json +0 -481
  155. package/dist/src/specification/v4/pages/AnalyticalListPageConfig.d.ts +0 -13
  156. package/dist/src/sync/v4/export/pages/AnalyticalListPage.d.ts +0 -8
  157. package/dist/src/sync/v4/import/pages/analyticalListPage.d.ts +0 -11
@@ -1,4 +1,4 @@
1
- import { Manifest } from '../../../../../src';
1
+ import type { Manifest } from '../../../../../src';
2
2
  interface ChangeData {
3
3
  manifest: Manifest;
4
4
  changes: string[];
@@ -1,2 +1,2 @@
1
- import { Project } from '../../src/project';
1
+ import type { Project } from '../../src/project';
2
2
  export declare const getProjects: () => Promise<Project[]>;
@@ -1,7 +1,7 @@
1
- import { FileData } from '../../src';
2
- import { ExtensionLogger } from '../../src';
3
- import { Location } from '../../src/extensionLogger';
4
- import { ExportResults } from '../../src/sync/common';
1
+ import type { FileData } from '../../src';
2
+ import type { ExtensionLogger } from '../../src';
3
+ import type { Location } from '../../src/extensionLogger';
4
+ import type { ExportResults } from '../../src/sync/common';
5
5
  export declare class Logger implements ExtensionLogger {
6
6
  logInfo: string[];
7
7
  logWarning: string[];
@@ -22,6 +22,7 @@ export declare function getSDV4Annotations(): FileData[];
22
22
  export declare function getSTTAAnnotationsProdMan2(): FileData[];
23
23
  export declare function getExtensionsProdMan2(): FileData[];
24
24
  export declare function getSEPMRAAnnotations(): FileData[];
25
+ export declare function getExtensionsForS2pMmPurSrcgprojMaintains1(specificFiles?: string[]): FileData[];
25
26
  export declare function findFlexChangeBySelector(exportResult: ExportResults, selectorId: string, property: string): object;
26
27
  /**
27
28
  * Function to find out the flexChange from a list. Uses global variable exportResult
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/ux-specification",
3
- "version": "1.96.6",
3
+ "version": "1.96.9",
4
4
  "displayName": "SAP Fiori tools - Specification",
5
5
  "description": "SAP Fiori tools - Specification",
6
6
  "files": [
@@ -28,11 +28,12 @@
28
28
  "test": "jest && node ../../scripts/scov.js reports/test/unit/coverage/lcov.info",
29
29
  "test:ci": "jest --ci --forceExit --detectOpenHandles && node ../../scripts/scov.js reports/test/unit/coverage/lcov.info",
30
30
  "update-snapshots": "jest --updateSnapshot",
31
+ "build:snap": "yarn build:dev && yarn update-snapshots",
31
32
  "lint": "eslint . --ext .ts",
32
33
  "lint:summary": "eslint . --ext .ts -f summary",
33
- "lint:fix": "eslint . --report-unused-disable-directives --ext .ts --fix",
34
- "lint:report": "eslint . --report-unused-disable-directives --ext .ts -f multiple",
35
- "lint:report:jslint": "eslint . --report-unused-disable-directives --ext .ts -o reports/lint/eslint.jslint.xml -f jslint-xml",
34
+ "lint:fix": "eslint . --ext .ts --fix",
35
+ "lint:report": "eslint . --ext .ts -f multiple",
36
+ "lint:report:jslint": "eslint . --ext .ts -o reports/lint/eslint.jslint.xml -f jslint-xml",
36
37
  "docuV2": "ts-node ./scripts/extractDocu.ts --version=v2 format=excel",
37
38
  "docuV4": "ts-node ./scripts/extractDocu.ts --version=v4 format=excel",
38
39
  "iXiaSoftV2": "ts-node ./scripts/extractDocu.ts --version=v2 --format=iXiaSoft",
@@ -57,26 +58,28 @@
57
58
  "@types/jquery": "3.5.6",
58
59
  "@types/mem-fs-editor": "7.0.1",
59
60
  "@types/sax": "1.2.1",
60
- "@typescript-eslint/eslint-plugin": "4.14.1",
61
- "@typescript-eslint/parser": "4.14.1",
61
+ "@typescript-eslint/eslint-plugin": "5.12.1",
62
+ "@typescript-eslint/parser": "5.12.1",
62
63
  "@ui5/flexibility-utils": "0.1.3",
63
64
  "ajv": "6.12.6",
64
65
  "cpy-cli": "3.1.1",
65
66
  "d3": "7.1.1",
66
67
  "deepmerge": "4.2.2",
67
68
  "ejs": "3.1.6",
68
- "eslint": "7.18.0",
69
+ "eslint": "7.32.0",
69
70
  "eslint-formatter-multiple": "1.0.0",
70
- "eslint-plugin-prettier": "3.3.1",
71
+ "eslint-plugin-prettier": "3.4.1",
72
+ "eslint-config-prettier": "8.3.0",
71
73
  "excel4node": "1.7.2",
72
74
  "i18next": "20.3.1",
73
75
  "jest": "26.6.3",
76
+ "jest-file-snapshot": "0.5.0",
74
77
  "jest-sonar-reporter": "2.0.0",
75
78
  "jquery": "3.6.0",
76
79
  "lodash.unset": "4.5.2",
77
80
  "mem-fs-editor": "9.3.0",
78
81
  "path": "0.12.7",
79
- "prettier": "1.19.1",
82
+ "prettier": "2.5.1",
80
83
  "reflect-metadata": "0.1.13",
81
84
  "rimraf": "3.0.2",
82
85
  "sax": "1.2.4",
@@ -1,49 +0,0 @@
1
- <!DOCTYPE html>
2
- <head>
3
- <meta charset="utf-8" />
4
- <link href="../styleDocu.css" rel="stylesheet" />
5
- </head>
6
- <body>
7
- <div id="button-container">
8
- <input type="button" id="resetTree" value="Reset" /><input type="button" value="Expand" id="expandTree" />
9
- </div>
10
- <div id="search-container">
11
- <div id="search-input-container">
12
- <svg
13
- id="search-icon"
14
- width="14"
15
- height="14"
16
- viewBox="0 0 16 16"
17
- fill="none"
18
- xmlns="http://www.w3.org/2000/svg"
19
- >
20
- <g>
21
- <path
22
- fill-rule="evenodd"
23
- clip-rule="evenodd"
24
- d="M9.50249 10C7.02149 10 5.00249 7.981 5.00249 5.5C5.00249 3.019 7.02149 1 9.50249 1C11.9835 1 14.0025 3.019 14.0025 5.5C14.0025 7.981 11.9835 10 9.50249 10ZM9.50249 0C6.47049 0 4.00249 2.468 4.00249 5.5C4.00249 6.947 4.56849 8.261 5.48549 9.244L0.000488281 15.331L0.743488 16.001L6.23149 9.911C7.14749 10.592 8.27649 11 9.50249 11C12.5355 11 15.0025 8.532 15.0025 5.5C15.0025 2.468 12.5355 0 9.50249 0Z"
25
- fill="#C5C5C5"
26
- />
27
- </g>
28
- </svg>
29
- <input type="search" data-type="search" placeholder="Search" id="search-input" />
30
- </div>
31
- <ul
32
- id="search-result"
33
- data-role="listview"
34
- data-filter="true"
35
- data-filter-reveal="true"
36
- data-input="#search-input"
37
- data-inset="true"
38
- ></ul>
39
- </div>
40
- <svg id="tree-container"></svg>
41
- </body>
42
- <script>
43
- // placeholder for data
44
- var exports = {},
45
- floorPlanIcon = `<svg id="floorPlan-icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
46
- <g><path fill-rule="evenodd" clip-rule="evenodd" fill="#C5C5C5"d="M9 13V14H6V13H9ZM5 13V14H2V13H5ZM13 13V14H10V13H13ZM9 11V12H6V11H9ZM5 11V12H2V11H5ZM13 11V12H10V11H13ZM5 9V10H2V9H5ZM9 9V10H6V9H9ZM13 9V10H10V9H13ZM3.986 1.998V6.024H1.965V1.998H3.986ZM6.99 4.01V6.01H4.99V4.01H6.99ZM10.008 3.019V6.01H8.008V3.019H10.008ZM13.005 1.998V6.011H11.005V1.998H13.005ZM1 14.988H14.988V7.995H1V14.988ZM1.001 6.994H14.989V1H1.001V6.994ZM1.00169 0C0.449309 0 0 0.448336 0 1.00075V14.9992C0 15.5517 0.449309 16 1.00169 16H14.9993C15.5517 16 16 15.5517 16 14.9992V1.00075C16 0.448336 15.5517 0 14.9993 0H1.00169Z"/></g></svg>`;
47
- var treeData = {"name":"AnalyticalListPage","description":"SAP Fiori elements v4<br>Specification Version: 1.96.6","type":"schema","children":[{"name":"table","children":[{"name":"initialLoad","children":[],"type":"Auto|Disabled|Enabled","artifact":"Manifest","description":"initialLoad defines whether or not the data in the table is automatically loaded.\n- Disabled - Data is never loaded when opening the app without an app state.\n- Enabled - Data is always loaded when opening the app.\n- Auto - Data is only loaded, if initial/preset filters are available (e.g. defined by \"SelectionVariant\" definition, URL parameters or user defaults)."},{"name":"views","children":[{"name":"paths","children":[{"name":"key","children":[],"type":"string"},{"name":"annotationPath","children":[],"type":"string"},{"name":"entitySet","children":[],"type":"string"}],"type":"object","artifact":"Manifest","description":"List of annotation paths referring to SelectionVariant annotations"},{"name":"showCounts","children":[],"type":"boolean","artifact":"Manifest","description":"You can show the counts of entries of each view. To do so, add the showCounts option and set it to true."}],"type":"object","artifact":"Manifest","description":"With the views property you can switch on the multiple view feature. Contrary to quickVariantSelection, each view will be rendered in a different instance of table). It links to SelectionVariant (filters) or SelectionPresentationVariant (filters and sorters) you must have added to your annotations beforehand."},{"name":"toolBar","children":[{"name":"actions","children":[{"name":"enableOnSelect","children":[],"type":"multi|single","artifact":"Manifest","description":"Enables single selection for a bound action"}]}],"type":"object","description":"Tool Bar"},{"name":"type","children":[],"type":"AnalyticalTable|GridTable|ResponsiveTable","artifact":"Manifest","description":"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."},{"name":"creationMode","children":[{"name":"name","children":[],"type":"CreationRow|Inline|NewPage","artifact":"Manifest","description":" possible values are:\n- NewPage: The create action leads to a new page.\n- Inline: The create action leads to a new row at the table.\n- CreationRow: No create button will be rendered, an empty row is directly given.\nThe default is \"NewPage\"."},{"name":"createAtEnd","children":[],"type":"boolean","artifact":"Manifest","description":"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\""}],"type":"object","artifact":"Manifest","description":"Defines the page behavior when a new record is created."},{"name":"personalization","children":[{"name":"column","children":[],"type":"boolean","artifact":"Manifest","description":"Defines whether the user can add and remove columns to a given table."},{"name":"sort","children":[],"type":"boolean","artifact":"Manifest","description":"Defines whether the user can sort a given table."},{"name":"filter","children":[],"type":"boolean","artifact":"Manifest","description":"Defines whether the user can filter data of a given table."}],"type":"object","artifact":"Manifest","description":"Defines the personalization mode, currently only effective if variant management on page is either set to Page or Control.\nBy 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.\nOmitting a property is treated as false, this allows apps to avoid getting new features like grouping in upcoming releases."},{"name":"selectionMode","children":[],"type":"Auto|Multi|None|Single","artifact":"Manifest","description":"Applications can influence whether the table rows are selectable or not, and whether it allows for single selection or multiple selection. It can take the following values:\n- \"Auto\": This is the default value. In this mode, Fiori Elements first checks if there are any custom actions or IBN buttons in the table toolbar that require a context. If no such buttons are found, then no table selection is allowed in display mode. In edit mode too a selection is not allowed unless there is a Delete button in the table toolbar in which case multiple row selection will be allowed.\n- \"Multi\": This will allow end users to select multiple table records (in both display and edit mode)\n- \"Single\" This will allow end user to select only a single table record (in both display and edit mode)\n- \"None\": This will not allow the end user to select any table record in display mode. This will also be the case in edit mode unless the table has a delete button enabled, in which multiple selection is allowed in delete mode."},{"name":"selectAll","children":[],"type":"boolean","artifact":"Manifest","description":"The selectAll configuration overrides the selectionLimit and allows the user to select all the items. When set to true, the select all feature is enabled: a checkbox in the table header is displayed which selects all items when clicked."},{"name":"selectionLimit","children":[],"type":"number","artifact":"Manifest","description":"With the selectionLimit you can define how many items can be selected at a time,"},{"name":"enableExport","children":[],"type":"boolean","artifact":"Manifest","description":" otherwise it is disabled.\nTo disable the export in List Report or to enable it in Object Page, use the \"enableExport\" property and set it to false or true."},{"name":"quickVariantSelection","children":[{"name":"paths","children":[{"name":"annotationPath","children":[],"type":"string"}],"type":"object","artifact":"Manifest","description":"List of annotation paths referring to SelectionVariant annotations"},{"name":"hideTableTitle","children":[],"type":"boolean","artifact":"Manifest","description":"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."},{"name":"showCounts","children":[],"type":"boolean","artifact":"Manifest","description":"You can show the counts of entries of each view. To do so, add the showCounts option and set it to true."}],"type":"object","artifact":"Manifest","description":"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."},{"name":"condensedTableLayout","children":[],"type":"boolean","artifact":"Manifest","description":"You can set the content density to condensed for ui.table on the list report and object page applications."},{"name":"columns","children":[{"name":"columnId","children":[{"name":"width","children":[],"type":"string","artifact":"Manifest","description":"A string type that represents CSS size values.\nRefer to https://openui5.hana.ondemand.com/api/sap.ui.core.CSSSize."},{"name":"availability","children":[],"type":"Adaptation|Default|Hidden","artifact":"Manifest","description":"Defines where the column should be shown.\n- Default: it will be shown by default in the table.\n- Adaptation: it will initially not shown in the table but be available via end user adaptation\n- Hidden: the column is neither available in the table nor in adaptation"},{"name":"afterExecution","children":[{"name":"navigateToInstance","children":[],"type":"boolean","artifact":"Manifest","description":"By default, a navigation is automatically triggered after an action execution. If applications want to disable the navigation, they can do so using the manifest setting “navigateToInstance”."},{"name":"enableAutoScroll","children":[],"type":"boolean","artifact":"Manifest","description":"The \"enableAutoScroll\" allows you to scroll to the newly created or change item after execution of an action"}],"type":"object","artifact":"Manifest","description":"Settings that are only relevant for actions (associated with a UI.DataFieldForAction annotation)"},{"name":"position","children":[{"name":"anchor","children":[],"type":"string","artifact":"Manifest","description":"The key of another column to be used as placement anchor."},{"name":"placement","children":[],"type":"After|Before|End","artifact":"Manifest","description":"Define the placement, either before or after the anchor column."}],"type":"object","artifact":"Manifest","description":"Defines the position of the column relative to other columns."},{"name":"header","children":[],"type":"string","artifact":"Manifest","description":"The header is shown on the table as header, as well as in the add/remove dialog."},{"name":"template","children":[],"type":"string","artifact":"Manifest","description":" allows the definition of a target fragment."},{"name":"horizontalAlign","children":[],"type":"Begin|Center|End","artifact":"Manifest","description":"Aligns the header as well as the content horizontally."},{"name":"properties","children":[],"type":"array","artifact":"Manifest","description":"If provided and sorting is enabled for the table the custom column header can be clicked. This will lead to a list of properties (or one) that can be sorted by, they are displayed as the labels of the properties, corresponding to their definition in the annotations."}]}]}]},{"name":"variantManagement","children":[],"type":"Control|None|Page","artifact":"Manifest","description":"variantManagement defines how the variant management of page personalizations is controlled.\n- None - No variant management by default.\n- Control - Individual personalizations for each control."}]};
48
- </script>
49
- <script type="module" src="./../runDocu-min.js"></script>
@@ -1,481 +0,0 @@
1
- {
2
- "type": "object",
3
- "properties": {
4
- "table": {
5
- "$ref": "#/definitions/Table"
6
- },
7
- "variantManagement": {
8
- "$ref": "#/definitions/VariantManagementTypeListReport",
9
- "description": "variantManagement defines how the variant management of page personalizations is controlled.\n- None - No variant management by default.\n- Control - Individual personalizations for each control.",
10
- "artifactType": "Manifest"
11
- },
12
- "filterBar": {
13
- "$ref": "#/definitions/FilterBar"
14
- },
15
- "$schema": {
16
- "type": "string"
17
- }
18
- },
19
- "additionalProperties": false,
20
- "definitions": {
21
- "Table": {
22
- "description": "Table",
23
- "isViewNode": true,
24
- "type": "object",
25
- "properties": {
26
- "initialLoad": {
27
- "$ref": "#/definitions/InitialLoadType",
28
- "description": "initialLoad defines whether or not the data in the table is automatically loaded.\n- Disabled - Data is never loaded when opening the app without an app state.\n- Enabled - Data is always loaded when opening the app.\n- Auto - Data is only loaded, if initial/preset filters are available (e.g. defined by \"SelectionVariant\" definition, URL parameters or user defaults).",
29
- "artifactType": "Manifest"
30
- },
31
- "views": {
32
- "$ref": "#/definitions/MultiTableModeV4",
33
- "description": "With the views property you can switch on the multiple view feature. Contrary to quickVariantSelection, each view will be rendered in a different instance of table). It links to SelectionVariant (filters) or SelectionPresentationVariant (filters and sorters) you must have added to your annotations beforehand.",
34
- "artifactType": "Manifest"
35
- },
36
- "toolBar": {
37
- "$ref": "#/definitions/ToolBar",
38
- "description": "Tool Bar"
39
- },
40
- "type": {
41
- "$ref": "#/definitions/TableTypeV4",
42
- "description": "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.",
43
- "artifactType": "Manifest"
44
- },
45
- "creationMode": {
46
- "$ref": "#/definitions/TableCreationMode",
47
- "description": "Defines the page behavior when a new record is created.",
48
- "artifactType": "Manifest"
49
- },
50
- "personalization": {
51
- "$ref": "#/definitions/PersonalizationType",
52
- "description": "Defines the personalization mode, currently only effective if variant management on page is either set to Page or Control.\nBy 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.\nOmitting a property is treated as false, this allows apps to avoid getting new features like grouping in upcoming releases.",
53
- "artifactType": "Manifest"
54
- },
55
- "selectionMode": {
56
- "$ref": "#/definitions/SelectionMode",
57
- "description": "Applications can influence whether the table rows are selectable or not, and whether it allows for single selection or multiple selection. It can take the following values:\n- \"Auto\": This is the default value. In this mode, Fiori Elements first checks if there are any custom actions or IBN buttons in the table toolbar that require a context. If no such buttons are found, then no table selection is allowed in display mode. In edit mode too a selection is not allowed unless there is a Delete button in the table toolbar in which case multiple row selection will be allowed.\n- \"Multi\": This will allow end users to select multiple table records (in both display and edit mode)\n- \"Single\" This will allow end user to select only a single table record (in both display and edit mode)\n- \"None\": This will not allow the end user to select any table record in display mode. This will also be the case in edit mode unless the table has a delete button enabled, in which multiple selection is allowed in delete mode.",
58
- "artifactType": "Manifest"
59
- },
60
- "selectAll": {
61
- "description": "The selectAll configuration overrides the selectionLimit and allows the user to select all the items. When set to true, the select all feature is enabled: a checkbox in the table header is displayed which selects all items when clicked.",
62
- "type": "boolean",
63
- "artifactType": "Manifest"
64
- },
65
- "selectionLimit": {
66
- "description": "With the selectionLimit you can define how many items can be selected at a time,",
67
- "type": "number",
68
- "artifactType": "Manifest"
69
- },
70
- "enableExport": {
71
- "description": "The exporting of the table to an Excel file is enabled in List Report tables by default. In Object Page, the export to Excel is available by default if the copy/paste feature is also available; otherwise it is disabled.\nTo disable the export in List Report or to enable it in Object Page, use the \"enableExport\" property and set it to false or true.",
72
- "type": "boolean",
73
- "artifactType": "Manifest"
74
- },
75
- "quickVariantSelection": {
76
- "$ref": "#/definitions/QuickVariantSelectionV4",
77
- "description": "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.",
78
- "artifactType": "Manifest"
79
- },
80
- "condensedTableLayout": {
81
- "description": "You can set the content density to condensed for ui.table on the list report and object page applications.",
82
- "type": "boolean",
83
- "artifactType": "Manifest"
84
- },
85
- "columns": {
86
- "$ref": "#/definitions/GenericColumns"
87
- }
88
- },
89
- "additionalProperties": false
90
- },
91
- "InitialLoadType": {
92
- "enum": [
93
- "Auto",
94
- "Disabled",
95
- "Enabled"
96
- ],
97
- "type": "string"
98
- },
99
- "MultiTableModeV4": {
100
- "type": "object",
101
- "properties": {
102
- "paths": {
103
- "description": "List of annotation paths referring to SelectionVariant annotations",
104
- "type": "array",
105
- "items": {
106
- "$ref": "#/definitions/AnnotationPathWithKey"
107
- },
108
- "artifactType": "Manifest"
109
- },
110
- "showCounts": {
111
- "description": "You can show the counts of entries of each view. To do so, add the showCounts option and set it to true.",
112
- "type": "boolean",
113
- "artifactType": "Manifest"
114
- }
115
- },
116
- "additionalProperties": false,
117
- "required": [
118
- "paths"
119
- ]
120
- },
121
- "AnnotationPathWithKey": {
122
- "type": "object",
123
- "properties": {
124
- "key": {
125
- "type": "string"
126
- },
127
- "annotationPath": {
128
- "type": "string"
129
- },
130
- "entitySet": {
131
- "type": "string"
132
- }
133
- },
134
- "additionalProperties": false,
135
- "required": [
136
- "annotationPath",
137
- "key"
138
- ]
139
- },
140
- "ToolBar": {
141
- "description": "Toolbar",
142
- "isViewNode": true,
143
- "type": "object",
144
- "properties": {
145
- "actions": {
146
- "$ref": "#/definitions/Actions"
147
- }
148
- },
149
- "additionalProperties": false,
150
- "required": [
151
- "actions"
152
- ]
153
- },
154
- "Actions": {
155
- "description": "Actions",
156
- "isViewNode": true,
157
- "type": "object",
158
- "additionalProperties": {
159
- "$ref": "#/definitions/ToolBarAction"
160
- }
161
- },
162
- "ToolBarAction": {
163
- "description": "Action",
164
- "isViewNode": true,
165
- "type": "object",
166
- "properties": {
167
- "enableOnSelect": {
168
- "$ref": "#/definitions/SelectType",
169
- "description": "Enables single selection for a bound action",
170
- "artifactType": "Manifest"
171
- }
172
- },
173
- "additionalProperties": false
174
- },
175
- "SelectType": {
176
- "enum": [
177
- "multi",
178
- "single"
179
- ],
180
- "type": "string"
181
- },
182
- "TableTypeV4": {
183
- "enum": [
184
- "AnalyticalTable",
185
- "GridTable",
186
- "ResponsiveTable"
187
- ],
188
- "type": "string"
189
- },
190
- "TableCreationMode": {
191
- "type": "object",
192
- "properties": {
193
- "name": {
194
- "$ref": "#/definitions/TableCreationModeType",
195
- "description": "The name property of TableCreationMode defines the creation mode; possible values are:\n- NewPage: The create action leads to a new page.\n- Inline: The create action leads to a new row at the table.\n- CreationRow: No create button will be rendered, an empty row is directly given.\nThe default is \"NewPage\".",
196
- "artifactType": "Manifest"
197
- },
198
- "createAtEnd": {
199
- "description": "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\"",
200
- "type": "boolean",
201
- "artifactType": "Manifest"
202
- }
203
- },
204
- "additionalProperties": false
205
- },
206
- "TableCreationModeType": {
207
- "enum": [
208
- "CreationRow",
209
- "Inline",
210
- "NewPage"
211
- ],
212
- "type": "string"
213
- },
214
- "PersonalizationType": {
215
- "type": "object",
216
- "properties": {
217
- "column": {
218
- "description": "Defines whether the user can add and remove columns to a given table.",
219
- "type": "boolean",
220
- "artifactType": "Manifest"
221
- },
222
- "sort": {
223
- "description": "Defines whether the user can sort a given table.",
224
- "type": "boolean",
225
- "artifactType": "Manifest"
226
- },
227
- "filter": {
228
- "description": "Defines whether the user can filter data of a given table.",
229
- "type": "boolean",
230
- "artifactType": "Manifest"
231
- }
232
- },
233
- "additionalProperties": false
234
- },
235
- "SelectionMode": {
236
- "enum": [
237
- "Auto",
238
- "Multi",
239
- "None",
240
- "Single"
241
- ],
242
- "type": "string"
243
- },
244
- "QuickVariantSelectionV4": {
245
- "type": "object",
246
- "properties": {
247
- "paths": {
248
- "description": "List of annotation paths referring to SelectionVariant annotations",
249
- "type": "array",
250
- "items": {
251
- "$ref": "#/definitions/AnnotationPathAsObject"
252
- },
253
- "artifactType": "Manifest"
254
- },
255
- "hideTableTitle": {
256
- "description": "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.",
257
- "type": "boolean",
258
- "artifactType": "Manifest"
259
- },
260
- "showCounts": {
261
- "description": "You can show the counts of entries of each view. To do so, add the showCounts option and set it to true.",
262
- "type": "boolean",
263
- "artifactType": "Manifest"
264
- }
265
- },
266
- "additionalProperties": false,
267
- "required": [
268
- "paths"
269
- ]
270
- },
271
- "AnnotationPathAsObject": {
272
- "type": "object",
273
- "properties": {
274
- "annotationPath": {
275
- "type": "string"
276
- }
277
- },
278
- "additionalProperties": false,
279
- "required": [
280
- "annotationPath"
281
- ]
282
- },
283
- "GenericColumns": {
284
- "type": "object",
285
- "additionalProperties": {
286
- "anyOf": [
287
- {
288
- "$ref": "#/definitions/TableColumn"
289
- },
290
- {
291
- "$ref": "#/definitions/TableColumnAction"
292
- },
293
- {
294
- "$ref": "#/definitions/TableCustomColumn"
295
- }
296
- ]
297
- }
298
- },
299
- "TableColumn": {
300
- "description": "Table Column",
301
- "isViewNode": true,
302
- "type": "object",
303
- "properties": {
304
- "width": {
305
- "description": "A string type that represents CSS size values.\nRefer to https://openui5.hana.ondemand.com/api/sap.ui.core.CSSSize.",
306
- "type": "string",
307
- "artifactType": "Manifest"
308
- },
309
- "availability": {
310
- "$ref": "#/definitions/Availability",
311
- "description": "Defines where the column should be shown.\nDefault: it will be shown by default in the table.\nAdaptation: it will initially not shown in the table but be available via end user adaptation.\nHidden: the column is neither available in the table nor in adaptation.",
312
- "artifactType": "Manifest"
313
- }
314
- },
315
- "additionalProperties": false
316
- },
317
- "Availability": {
318
- "enum": [
319
- "Adaptation",
320
- "Default",
321
- "Hidden"
322
- ],
323
- "type": "string"
324
- },
325
- "TableColumnAction": {
326
- "description": "Inline Action",
327
- "isViewNode": true,
328
- "type": "object",
329
- "properties": {
330
- "afterExecution": {
331
- "$ref": "#/definitions/ActionAfterExecutionConfiguration",
332
- "description": "Settings that are only relevant for actions (associated with a UI.DataFieldForAction annotation)",
333
- "artifactType": "Manifest"
334
- },
335
- "width": {
336
- "description": "A string type that represents CSS size values.\nRefer to https://openui5.hana.ondemand.com/api/sap.ui.core.CSSSize.",
337
- "type": "string",
338
- "artifactType": "Manifest"
339
- },
340
- "availability": {
341
- "$ref": "#/definitions/Availability",
342
- "description": "Defines where the column should be shown.\nDefault: it will be shown by default in the table.\nAdaptation: it will initially not shown in the table but be available via end user adaptation.\nHidden: the column is neither available in the table nor in adaptation.",
343
- "artifactType": "Manifest"
344
- }
345
- },
346
- "additionalProperties": false
347
- },
348
- "ActionAfterExecutionConfiguration": {
349
- "type": "object",
350
- "properties": {
351
- "navigateToInstance": {
352
- "description": "By default, a navigation is automatically triggered after an action execution. If applications want to disable the navigation, they can do so using the manifest setting “navigateToInstance”.",
353
- "type": "boolean",
354
- "artifactType": "Manifest"
355
- },
356
- "enableAutoScroll": {
357
- "description": "The \"enableAutoScroll\" allows you to scroll to the newly created or change item after execution of an action",
358
- "type": "boolean",
359
- "artifactType": "Manifest"
360
- }
361
- },
362
- "additionalProperties": false
363
- },
364
- "TableCustomColumn": {
365
- "description": "Custom Column",
366
- "isViewNode": true,
367
- "type": "object",
368
- "properties": {
369
- "position": {
370
- "$ref": "#/definitions/Position",
371
- "description": "Defines the position of the column relative to other columns.",
372
- "artifactType": "Manifest"
373
- },
374
- "header": {
375
- "description": "The header is shown on the table as header, as well as in the add/remove dialog.",
376
- "i18nClassification": "COL: Custom column header text",
377
- "type": "string",
378
- "artifactType": "Manifest"
379
- },
380
- "width": {
381
- "description": "A string type that represents CSS size values.\nRefer to https://openui5.hana.ondemand.com/api/sap.ui.core.CSSSize.",
382
- "type": "string",
383
- "artifactType": "Manifest"
384
- },
385
- "template": {
386
- "description": "Relevant for extension columns; allows the definition of a target fragment.",
387
- "type": "string",
388
- "artifactType": "Manifest"
389
- },
390
- "horizontalAlign": {
391
- "$ref": "#/definitions/HorizontalAlign",
392
- "description": "Aligns the header as well as the content horizontally.",
393
- "artifactType": "Manifest"
394
- },
395
- "availability": {
396
- "$ref": "#/definitions/Availability",
397
- "description": "Defines where the column should be shown.\n- Default: it will be shown by default in the table.\n- Adaptation: it will initially not shown in the table but be available via end user adaptation\n- Hidden: the column is neither available in the table nor in adaptation",
398
- "artifactType": "Manifest"
399
- },
400
- "properties": {
401
- "description": "If provided and sorting is enabled for the table the custom column header can be clicked. This will lead to a list of properties (or one) that can be sorted by, they are displayed as the labels of the properties, corresponding to their definition in the annotations.",
402
- "type": "array",
403
- "items": {
404
- "type": "string"
405
- },
406
- "artifactType": "Manifest"
407
- }
408
- },
409
- "additionalProperties": false,
410
- "required": [
411
- "header",
412
- "template"
413
- ]
414
- },
415
- "Position": {
416
- "type": "object",
417
- "properties": {
418
- "anchor": {
419
- "description": "The key of another column to be used as placement anchor.",
420
- "type": "string",
421
- "artifactType": "Manifest"
422
- },
423
- "placement": {
424
- "$ref": "#/definitions/Placement",
425
- "description": "Define the placement, either before or after the anchor column.",
426
- "artifactType": "Manifest"
427
- }
428
- },
429
- "additionalProperties": false,
430
- "required": [
431
- "placement"
432
- ]
433
- },
434
- "Placement": {
435
- "enum": [
436
- "After",
437
- "Before",
438
- "End"
439
- ],
440
- "type": "string"
441
- },
442
- "HorizontalAlign": {
443
- "enum": [
444
- "Begin",
445
- "Center",
446
- "End"
447
- ],
448
- "type": "string"
449
- },
450
- "VariantManagementTypeListReport": {
451
- "enum": [
452
- "Control",
453
- "None",
454
- "Page"
455
- ],
456
- "type": "string"
457
- },
458
- "FilterBar": {
459
- "description": "Filter Bar",
460
- "isViewNode": true,
461
- "type": "object",
462
- "properties": {
463
- "selectionFields": {
464
- "$ref": "#/definitions/SelectionFields"
465
- }
466
- },
467
- "additionalProperties": false
468
- },
469
- "SelectionFields": {
470
- "description": "Filter Fields",
471
- "isViewNode": true,
472
- "type": "object",
473
- "additionalProperties": {
474
- "type": "object",
475
- "properties": {},
476
- "additionalProperties": true
477
- }
478
- }
479
- },
480
- "$schema": "http://json-schema.org/draft-07/schema#"
481
- }
@@ -1,13 +0,0 @@
1
- import { FilterBar, Table } from '../controls';
2
- import { PageConfig } from '../../common/page';
3
- import { VariantManagementTypeListReport } from './ListReportConfig';
4
- export interface AnalyticalListPageConfig extends PageConfig {
5
- table?: Table;
6
- /**
7
- * variantManagement defines how the variant management of page personalizations is controlled.
8
- * - None - No variant management by default.
9
- * - Control - Individual personalizations for each control.
10
- */
11
- variantManagement?: VariantManagementTypeListReport;
12
- filterBar?: FilterBar;
13
- }