@sap/ux-specification 1.144.4 → 1.144.6

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 (212) hide show
  1. package/CHANGELOG.md +42 -3
  2. package/dist/documentation/{runDocu-min.js → runDocu-min.mjs} +6 -6
  3. package/dist/documentation/{runDocu-min.js.map → runDocu-min.mjs.map} +2 -2
  4. package/dist/documentation/v2/v2-AnalyticalListPage.html +4 -4
  5. package/dist/documentation/v2/v2-ApplicationV2.html +4 -4
  6. package/dist/documentation/v2/v2-ListReport.html +4 -4
  7. package/dist/documentation/v2/v2-ListReportNew.html +4 -4
  8. package/dist/documentation/v2/v2-ObjectPage.html +4 -4
  9. package/dist/documentation/v2/v2-OverviewPage.html +4 -4
  10. package/dist/documentation/v4/v4-ApplicationV4.html +4 -4
  11. package/dist/documentation/v4/v4-BuildingBlocks.html +4 -4
  12. package/dist/documentation/v4/v4-FreestylePage.html +4 -4
  13. package/dist/documentation/v4/v4-ListReport.html +4 -4
  14. package/dist/documentation/v4/v4-ObjectPage.html +4 -4
  15. package/dist/index-min.mjs +1300 -0
  16. package/dist/index-min.mjs.map +7 -0
  17. package/dist/schemas/v2/ListReportNewConfig.json +143 -0
  18. package/dist/schemas/v4/BuildingBlocksConfig.json +110 -20
  19. package/dist/specification/package.json +14 -7
  20. package/dist/specification/scripts/macros/corrections.d.ts.map +1 -1
  21. package/dist/specification/scripts/macros/corrections.js +35 -3
  22. package/dist/specification/scripts/macros/corrections.js.map +1 -1
  23. package/dist/specification/scripts/macros/schema.d.ts +9 -0
  24. package/dist/specification/scripts/macros/schema.d.ts.map +1 -1
  25. package/dist/specification/scripts/macros/schema.js +21 -4
  26. package/dist/specification/scripts/macros/schema.js.map +1 -1
  27. package/dist/specification/scripts/schema/to-json-schema.js +1 -1
  28. package/dist/specification/scripts/schema/to-json-schema.js.map +1 -1
  29. package/dist/specification/src/api.d.ts.map +1 -1
  30. package/dist/specification/src/api.js +6 -6
  31. package/dist/specification/src/api.js.map +1 -1
  32. package/dist/specification/src/ftfs/ftfs.d.ts.map +1 -1
  33. package/dist/specification/src/ftfs/ftfs.js +25 -1
  34. package/dist/specification/src/ftfs/ftfs.js.map +1 -1
  35. package/dist/specification/src/ftfs/parser/model/ObjectAggregation.d.ts +21 -0
  36. package/dist/specification/src/ftfs/parser/model/ObjectAggregation.d.ts.map +1 -1
  37. package/dist/specification/src/ftfs/parser/model/ObjectAggregation.js +35 -0
  38. package/dist/specification/src/ftfs/parser/model/ObjectAggregation.js.map +1 -1
  39. package/dist/specification/src/ftfs/parser/model/TreeModel.d.ts.map +1 -1
  40. package/dist/specification/src/ftfs/parser/model/TreeModel.js +3 -2
  41. package/dist/specification/src/ftfs/parser/model/TreeModel.js.map +1 -1
  42. package/dist/specification/src/ftfs/parser/model/actions/ActionAggregation.d.ts +0 -3
  43. package/dist/specification/src/ftfs/parser/model/actions/ActionAggregation.d.ts.map +1 -1
  44. package/dist/specification/src/ftfs/parser/model/actions/ActionAggregation.js +6 -4
  45. package/dist/specification/src/ftfs/parser/model/actions/ActionAggregation.js.map +1 -1
  46. package/dist/specification/src/ftfs/parser/model/actions/ActionGroupAggregation.d.ts +86 -0
  47. package/dist/specification/src/ftfs/parser/model/actions/ActionGroupAggregation.d.ts.map +1 -0
  48. package/dist/specification/src/ftfs/parser/model/actions/ActionGroupAggregation.js +139 -0
  49. package/dist/specification/src/ftfs/parser/model/actions/ActionGroupAggregation.js.map +1 -0
  50. package/dist/specification/src/ftfs/parser/model/actions/ActionsAggregation.d.ts +11 -52
  51. package/dist/specification/src/ftfs/parser/model/actions/ActionsAggregation.d.ts.map +1 -1
  52. package/dist/specification/src/ftfs/parser/model/actions/ActionsAggregation.js +15 -81
  53. package/dist/specification/src/ftfs/parser/model/actions/ActionsAggregation.js.map +1 -1
  54. package/dist/specification/src/ftfs/parser/model/actions/ActionsContainerAggregation.d.ts +46 -0
  55. package/dist/specification/src/ftfs/parser/model/actions/ActionsContainerAggregation.d.ts.map +1 -0
  56. package/dist/specification/src/ftfs/parser/model/actions/ActionsContainerAggregation.js +81 -0
  57. package/dist/specification/src/ftfs/parser/model/actions/ActionsContainerAggregation.js.map +1 -0
  58. package/dist/specification/src/ftfs/parser/model/actions/index.d.ts +2 -0
  59. package/dist/specification/src/ftfs/parser/model/actions/index.d.ts.map +1 -1
  60. package/dist/specification/src/ftfs/parser/model/actions/index.js +2 -0
  61. package/dist/specification/src/ftfs/parser/model/actions/index.js.map +1 -1
  62. package/dist/specification/src/i18n/i18n.js +35 -2
  63. package/dist/specification/src/i18n/i18n.js.map +1 -1
  64. package/dist/specification/src/index.d.ts +1 -0
  65. package/dist/specification/src/index.d.ts.map +1 -1
  66. package/dist/specification/src/index.js +4 -0
  67. package/dist/specification/src/index.js.map +1 -1
  68. package/dist/specification/src/sync/common/decoration/decorator-paths.d.ts +37 -3
  69. package/dist/specification/src/sync/common/decoration/decorator-paths.d.ts.map +1 -1
  70. package/dist/specification/src/sync/common/decoration/decorator-paths.js +18 -1
  71. package/dist/specification/src/sync/common/decoration/decorator-paths.js.map +1 -1
  72. package/dist/specification/src/sync/common/decoration/decorators.d.ts +8 -5
  73. package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -1
  74. package/dist/specification/src/sync/common/decoration/decorators.js +4 -1
  75. package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -1
  76. package/dist/specification/src/sync/common/decoration/steps/Enums.d.ts.map +1 -1
  77. package/dist/specification/src/sync/common/decoration/steps/Enums.js +47 -8
  78. package/dist/specification/src/sync/common/decoration/steps/Enums.js.map +1 -1
  79. package/dist/specification/src/sync/common/generate/utils.d.ts +8 -0
  80. package/dist/specification/src/sync/common/generate/utils.d.ts.map +1 -1
  81. package/dist/specification/src/sync/common/generate/utils.js +56 -34
  82. package/dist/specification/src/sync/common/generate/utils.js.map +1 -1
  83. package/dist/specification/src/sync/common/i18n.json +2 -0
  84. package/dist/specification/src/sync/common/utils.d.ts +9 -2
  85. package/dist/specification/src/sync/common/utils.d.ts.map +1 -1
  86. package/dist/specification/src/sync/common/utils.js +10 -0
  87. package/dist/specification/src/sync/common/utils.js.map +1 -1
  88. package/dist/specification/src/sync/v2/generate/stableIdUtils.d.ts +14 -1
  89. package/dist/specification/src/sync/v2/generate/stableIdUtils.d.ts.map +1 -1
  90. package/dist/specification/src/sync/v2/generate/stableIdUtils.js +110 -0
  91. package/dist/specification/src/sync/v2/generate/stableIdUtils.js.map +1 -1
  92. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/FilterBar.d.ts.map +1 -1
  93. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/FilterBar.js +1 -1
  94. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/FilterBar.js.map +1 -1
  95. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.d.ts +1 -0
  96. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.d.ts.map +1 -1
  97. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.js +4 -0
  98. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.js.map +1 -1
  99. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/TableColumn.d.ts +32 -0
  100. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/TableColumn.d.ts.map +1 -0
  101. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/TableColumn.js +274 -0
  102. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/TableColumn.js.map +1 -0
  103. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.d.ts +1 -0
  104. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.d.ts.map +1 -1
  105. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.js +1 -0
  106. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.js.map +1 -1
  107. package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.d.ts.map +1 -1
  108. package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js +25 -11
  109. package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js.map +1 -1
  110. package/dist/specification/src/sync/v4/export/controls/Table.d.ts.map +1 -1
  111. package/dist/specification/src/sync/v4/export/controls/Table.js +21 -9
  112. package/dist/specification/src/sync/v4/export/controls/Table.js.map +1 -1
  113. package/dist/specification/src/sync/v4/export/fpmCustomPage.d.ts.map +1 -1
  114. package/dist/specification/src/sync/v4/export/fpmCustomPage.js +141 -72
  115. package/dist/specification/src/sync/v4/export/fpmCustomPage.js.map +1 -1
  116. package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.d.ts.map +1 -1
  117. package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js +14 -1
  118. package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js.map +1 -1
  119. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.d.ts.map +1 -1
  120. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js +66 -4
  121. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js.map +1 -1
  122. package/dist/specification/src/sync/v4/generate/generate.d.ts +4 -2
  123. package/dist/specification/src/sync/v4/generate/generate.d.ts.map +1 -1
  124. package/dist/specification/src/sync/v4/generate/generate.js +8 -4
  125. package/dist/specification/src/sync/v4/generate/generate.js.map +1 -1
  126. package/dist/specification/src/sync/v4/generate/list-report/ListReportUtils.d.ts.map +1 -1
  127. package/dist/specification/src/sync/v4/generate/list-report/ListReportUtils.js +1 -0
  128. package/dist/specification/src/sync/v4/generate/list-report/ListReportUtils.js.map +1 -1
  129. package/dist/specification/src/sync/v4/generate/list-report/listReport.d.ts +1 -0
  130. package/dist/specification/src/sync/v4/generate/list-report/listReport.d.ts.map +1 -1
  131. package/dist/specification/src/sync/v4/generate/list-report/listReport.js +15 -5
  132. package/dist/specification/src/sync/v4/generate/list-report/listReport.js.map +1 -1
  133. package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -1
  134. package/dist/specification/src/sync/v4/generate/objectPage.js +20 -4
  135. package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -1
  136. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.d.ts.map +1 -1
  137. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.js +70 -19
  138. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.js.map +1 -1
  139. package/dist/specification/src/sync/v4/sync-rules/Page.d.ts +6 -0
  140. package/dist/specification/src/sync/v4/sync-rules/Page.d.ts.map +1 -1
  141. package/dist/specification/src/sync/v4/sync-rules/Page.js +8 -0
  142. package/dist/specification/src/sync/v4/sync-rules/Page.js.map +1 -1
  143. package/dist/specification/src/sync/v4/utils/utils.d.ts +125 -0
  144. package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -1
  145. package/dist/specification/src/sync/v4/utils/utils.js +252 -1
  146. package/dist/specification/src/sync/v4/utils/utils.js.map +1 -1
  147. package/dist/templates/action/manifest.action-menu.json +10 -0
  148. package/dist/templates/action/manifest.action.json +13 -0
  149. package/dist/templates/app/Component.js +13 -0
  150. package/dist/templates/app/Component.ts +11 -0
  151. package/dist/templates/building-block/action/View.xml +30 -0
  152. package/dist/templates/building-block/chart/View.xml +9 -0
  153. package/dist/templates/building-block/common/manifest.json +7 -0
  154. package/dist/templates/building-block/custom-column/View.xml +5 -0
  155. package/dist/templates/building-block/custom-filter-field/View.xml +12 -0
  156. package/dist/templates/building-block/custom-form-field/View.xml +12 -0
  157. package/dist/templates/building-block/field/View.xml +8 -0
  158. package/dist/templates/building-block/filter-bar/View.xml +10 -0
  159. package/dist/templates/building-block/form/View.xml +4 -0
  160. package/dist/templates/building-block/page/View.xml +5 -0
  161. package/dist/templates/building-block/rich-text-editor/View.xml +3 -0
  162. package/dist/templates/building-block/rich-text-editor-button-groups/View.xml +18 -0
  163. package/dist/templates/building-block/table/View.xml +19 -0
  164. package/dist/templates/column/1.84/manifest.json +28 -0
  165. package/dist/templates/column/1.85/manifest.json +31 -0
  166. package/dist/templates/column/1.86/manifest.json +43 -0
  167. package/dist/templates/common/EventHandler.js +25 -0
  168. package/dist/templates/common/EventHandler.ts +28 -0
  169. package/dist/templates/common/Fragment.xml +3 -0
  170. package/dist/templates/common/FragmentWithForm.xml +7 -0
  171. package/dist/templates/common/FragmentWithVBox.xml +5 -0
  172. package/dist/templates/common/sap.fe.d.ts +43 -0
  173. package/dist/templates/controller-extension/Controller.js +18 -0
  174. package/dist/templates/controller-extension/Controller.ts +20 -0
  175. package/dist/templates/controller-extension/ControllerExtension.d.ts +11 -0
  176. package/dist/templates/controller-extension/manifest.json +14 -0
  177. package/dist/templates/field/manifest.json +32 -0
  178. package/dist/templates/filter/Controller.js +21 -0
  179. package/dist/templates/filter/Controller.ts +24 -0
  180. package/dist/templates/filter/fragment.xml +15 -0
  181. package/dist/templates/filter/manifest.json +12 -0
  182. package/dist/templates/header-section/1.85/manifest.json +43 -0
  183. package/dist/templates/header-section/1.86/manifest.json +45 -0
  184. package/dist/templates/page/custom/1.84/ext/Controller.js +45 -0
  185. package/dist/templates/page/custom/1.84/ext/Controller.ts +42 -0
  186. package/dist/templates/page/custom/1.84/ext/View.xml +6 -0
  187. package/dist/templates/page/custom/1.84/i18n/i18n.properties +2 -0
  188. package/dist/templates/page/custom/1.84/manifest.json +32 -0
  189. package/dist/templates/page/custom/1.94/ext/Controller.js +45 -0
  190. package/dist/templates/page/custom/1.94/ext/Controller.ts +42 -0
  191. package/dist/templates/page/custom/1.94/ext/View.xml +6 -0
  192. package/dist/templates/page/custom/1.94/i18n/i18n.properties +2 -0
  193. package/dist/templates/page/custom/1.94/manifest.json +33 -0
  194. package/dist/templates/page/custom/i18n/i18n.properties +2 -0
  195. package/dist/templates/page/list/manifest.json +20 -0
  196. package/dist/templates/page/object/manifest.json +33 -0
  197. package/dist/templates/section/1.85/manifest.json +33 -0
  198. package/dist/templates/section/1.86/manifest.json +32 -0
  199. package/dist/templates/subsection/1.85/manifest.json +37 -0
  200. package/dist/templates/subsection/1.86/manifest.json +36 -0
  201. package/dist/templates/view/ext/CustomViewWithTable.xml +3 -0
  202. package/dist/templates/view/manifest.json +41 -0
  203. package/dist/types/src/apiTypes.d.ts +3 -0
  204. package/dist/types/src/apiTypes.d.ts.map +1 -1
  205. package/dist/types/src/apiTypes.js.map +1 -1
  206. package/dist/types/src/common/types.d.ts +2 -0
  207. package/dist/types/src/common/types.d.ts.map +1 -1
  208. package/dist/types/src/common/types.js +2 -0
  209. package/dist/types/src/common/types.js.map +1 -1
  210. package/package.json +14 -7
  211. package/dist/index-min.js +0 -647
  212. package/dist/index-min.js.map +0 -7
@@ -0,0 +1,45 @@
1
+ {
2
+ "sap.ui5": {
3
+ "routing": {
4
+ "targets": {
5
+ "<%- target %>": {
6
+ "options": {
7
+ "settings": {
8
+ "content": {
9
+ "header": {
10
+ "facets": {
11
+ "<%- name %>": {
12
+ "template": "<%- ns %>.<%- typeof fragmentFile !== 'undefined' ? fragmentFile : name %>",
13
+ <% if (typeof edit !== 'undefined') { %>
14
+ "templateEdit": "<%- edit.ns %>.<%- edit.name %>",
15
+ <% } %>
16
+ <%if (typeof position !== 'undefined') {%>"position": {
17
+ <% if (position.placement) { %>
18
+ "placement": "<%- position.placement %>"<% if (position.anchor) { %>,<% } %>
19
+ <% } %>
20
+ <% if (position.anchor) { %>
21
+ "anchor": "<%- position.anchor %>"
22
+ <% } %>
23
+ },<% } %>
24
+ "title": "<%- title %>",
25
+ <% if (typeof subTitle !== 'undefined') { %>
26
+ "subTitle": "<%- subTitle %>",
27
+ <% } %>
28
+ <% if (typeof stashed !== 'undefined') { %>
29
+ "stashed": <%- stashed %>,
30
+ <% } %>
31
+ "requestGroupId": "<%- requestGroupId %>",
32
+ "flexSettings": {
33
+ "designtime": "<%- flexSettings.designtime %>"
34
+ }
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,45 @@
1
+ sap.ui.define(
2
+ [
3
+ 'sap/ui/core/mvc/Controller' /** If UI5 version 1.94 or newer can be used, the change the base controller to sap/fe/core/PageController to get full FEv4 FPM support */
4
+ ],
5
+ function(PageController) {
6
+ 'use strict';
7
+
8
+ return PageController.extend('<%- ns %>.<%- name %>', {
9
+ /**
10
+ * Called when a controller is instantiated and its View controls (if available) are already created.
11
+ * Can be used to modify the View before it is displayed, to bind event handlers and do other one-time initialization.
12
+ * @memberOf <%- ns %>.<%- name %>
13
+ */
14
+ // onInit: function () {
15
+ // PageController.prototype.onInit.apply(this, arguments); // needs to be called to properly initialize the page controller
16
+ // },
17
+
18
+ /**
19
+ * Similar to onAfterRendering, but this hook is invoked before the controller's View is re-rendered
20
+ * (NOT before the first rendering! onInit() is used for that one!).
21
+ * @memberOf <%- ns %>.<%- name %>
22
+ */
23
+ // onBeforeRendering: function() {
24
+ //
25
+ // },
26
+
27
+ /**
28
+ * Called when the View has been rendered (so its HTML is part of the document). Post-rendering manipulations of the HTML could be done here.
29
+ * This hook is the same one that SAPUI5 controls get after being rendered.
30
+ * @memberOf <%- ns %>.<%- name %>
31
+ */
32
+ // onAfterRendering: function() {
33
+ //
34
+ // },
35
+
36
+ /**
37
+ * Called when the Controller is destroyed. Use this one to free resources and finalize activities.
38
+ * @memberOf <%- ns %>.<%- name %>
39
+ */
40
+ // onExit: function() {
41
+ //
42
+ // }
43
+ });
44
+ }
45
+ );
@@ -0,0 +1,42 @@
1
+ import Controller from 'sap/ui/core/mvc/Controller'; /** If UI5 version 1.94 or newer can be used, the change the base controller to sap/fe/core/PageController to get full FEv4 FPM support */
2
+
3
+ /**
4
+ * @namespace <%- ns %>
5
+ */
6
+ export default class <%- name %> extends Controller {
7
+
8
+ /**
9
+ * Called when a controller is instantiated and its View controls (if available) are already created.
10
+ * Can be used to modify the View before it is displayed, to bind event handlers and do other one-time initialization.
11
+ * @memberOf <%- ns %>.<%- name %>
12
+ */
13
+ // public onInit(): void {
14
+ // super.onInit(); // needs to be called to properly initialize the page controller
15
+ //}
16
+
17
+ /**
18
+ * Similar to onAfterRendering, but this hook is invoked before the controller's View is re-rendered
19
+ * (NOT before the first rendering! onInit() is used for that one!).
20
+ * @memberOf <%- ns %>.<%- name %>
21
+ */
22
+ // public onBeforeRendering(): void {
23
+ //
24
+ // }
25
+
26
+ /**
27
+ * Called when the View has been rendered (so its HTML is part of the document). Post-rendering manipulations of the HTML could be done here.
28
+ * This hook is the same one that SAPUI5 controls get after being rendered.
29
+ * @memberOf <%- ns %>.<%- name %>
30
+ */
31
+ // public onAfterRendering(): void {
32
+ //
33
+ // }
34
+
35
+ /**
36
+ * Called when the Controller is destroyed. Use this one to free resources and finalize activities.
37
+ * @memberOf <%- ns %>.<%- name %>
38
+ */
39
+ // public onExit(): void {
40
+ //
41
+ // }
42
+ }
@@ -0,0 +1,6 @@
1
+ <mvc:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m"
2
+ xmlns:html="http://www.w3.org/1999/xhtml" controllerName="<%- ns %>.<%- name %>">
3
+ <Page id="<%- ids.page %>" title="{i18n><%- name %>Title}">
4
+ <content></content>
5
+ </Page>
6
+ </mvc:View>
@@ -0,0 +1,2 @@
1
+ #XTIT: Custom view title
2
+ <%=name%>Title=<%=view.title%>
@@ -0,0 +1,32 @@
1
+ {
2
+ "sap.ui5": {
3
+ "dependencies": {
4
+ "libs": <%- JSON.stringify(libraries) %>
5
+ },
6
+ "routing": {
7
+ "targets": {
8
+ "<% if (typeof id !== 'undefined') { %><%- id %><% } else { %><%- entity %><%- name %><% } %>": {
9
+ "viewId": "<%- name %>View",
10
+ "viewName": "<%- ns %>.<%- name %>",<%if (locals.controlAggregation) {%>
11
+ "controlAggregation": "<%- locals.controlAggregation %>",<% } %>
12
+ "options": {
13
+ "settings": <%- JSON.stringify(settings) %>
14
+ }
15
+ }<%if (locals.navigation) {%>,
16
+ "<%- navigation.sourcePage %>": {
17
+ "options": {
18
+ "settings": {
19
+ "navigation": {
20
+ "<%- navigation.navEntity %>": {
21
+ "detail": {
22
+ "route": "<% if (typeof id !== 'undefined') { %><%- id %><% } else { %><%- entity %><%- name %><% } %>"
23
+ }
24
+ }
25
+ }
26
+ }
27
+ }
28
+ }<% } %>
29
+ }
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,45 @@
1
+ sap.ui.define(
2
+ [
3
+ 'sap/fe/core/PageController'
4
+ ],
5
+ function(PageController) {
6
+ 'use strict';
7
+
8
+ return PageController.extend('<%- ns %>.<%- name %>', {
9
+ /**
10
+ * Called when a controller is instantiated and its View controls (if available) are already created.
11
+ * Can be used to modify the View before it is displayed, to bind event handlers and do other one-time initialization.
12
+ * @memberOf <%- ns %>.<%- name %>
13
+ */
14
+ // onInit: function () {
15
+ // PageController.prototype.onInit.apply(this, arguments); // needs to be called to properly initialize the page controller
16
+ // },
17
+
18
+ /**
19
+ * Similar to onAfterRendering, but this hook is invoked before the controller's View is re-rendered
20
+ * (NOT before the first rendering! onInit() is used for that one!).
21
+ * @memberOf <%- ns %>.<%- name %>
22
+ */
23
+ // onBeforeRendering: function() {
24
+ //
25
+ // },
26
+
27
+ /**
28
+ * Called when the View has been rendered (so its HTML is part of the document). Post-rendering manipulations of the HTML could be done here.
29
+ * This hook is the same one that SAPUI5 controls get after being rendered.
30
+ * @memberOf <%- ns %>.<%- name %>
31
+ */
32
+ // onAfterRendering: function() {
33
+ //
34
+ // },
35
+
36
+ /**
37
+ * Called when the Controller is destroyed. Use this one to free resources and finalize activities.
38
+ * @memberOf <%- ns %>.<%- name %>
39
+ */
40
+ // onExit: function() {
41
+ //
42
+ // }
43
+ });
44
+ }
45
+ );
@@ -0,0 +1,42 @@
1
+ import Controller from "sap/fe/core/PageController";
2
+
3
+ /**
4
+ * @namespace <%- ns %>
5
+ */
6
+ export default class <%- name %> extends Controller {
7
+
8
+ /**
9
+ * Called when a controller is instantiated and its View controls (if available) are already created.
10
+ * Can be used to modify the View before it is displayed, to bind event handlers and do other one-time initialization.
11
+ * @memberOf <%- ns %>.<%- name %>
12
+ */
13
+ // public onInit(): void {
14
+ // super.onInit(); // needs to be called to properly initialize the page controller
15
+ //}
16
+
17
+ /**
18
+ * Similar to onAfterRendering, but this hook is invoked before the controller's View is re-rendered
19
+ * (NOT before the first rendering! onInit() is used for that one!).
20
+ * @memberOf <%- ns %>.<%- name %>
21
+ */
22
+ // public onBeforeRendering(): void {
23
+ //
24
+ // }
25
+
26
+ /**
27
+ * Called when the View has been rendered (so its HTML is part of the document). Post-rendering manipulations of the HTML could be done here.
28
+ * This hook is the same one that SAPUI5 controls get after being rendered.
29
+ * @memberOf <%- ns %>.<%- name %>
30
+ */
31
+ // public onAfterRendering(): void {
32
+ //
33
+ // }
34
+
35
+ /**
36
+ * Called when the Controller is destroyed. Use this one to free resources and finalize activities.
37
+ * @memberOf <%- ns %>.<%- name %>
38
+ */
39
+ // public onExit(): void {
40
+ //
41
+ // }
42
+ }
@@ -0,0 +1,6 @@
1
+ <mvc:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m" xmlns:macros="sap.fe.macros"
2
+ xmlns:html="http://www.w3.org/1999/xhtml" controllerName="<%- ns %>.<%- name %>">
3
+ <Page id="<%- ids.page %>" title="{i18n><%- name %>Title}">
4
+ <content></content>
5
+ </Page>
6
+ </mvc:View>
@@ -0,0 +1,2 @@
1
+ #XTIT: Custom view title
2
+ <%=name%>Title=<%=view.title%>
@@ -0,0 +1,33 @@
1
+ {
2
+ "sap.ui5": {
3
+ "dependencies": {
4
+ "libs": <%- JSON.stringify(libraries) %>
5
+ },
6
+ "routing": {
7
+ "targets": {
8
+ "<% if (typeof id !== 'undefined') { %><%- id %><% } else { %><%- entity %><%- name %><% } %>": {
9
+ "type": "Component",
10
+ "id": "<% if (typeof id !== 'undefined') { %><%- id %><% } else { %><%- entity %><%- name %><% } %>",
11
+ "name": "<%- template %>",<%if (locals.controlAggregation) {%>
12
+ "controlAggregation": "<%- locals.controlAggregation %>",<% } %>
13
+ "options": {
14
+ "settings": <%- JSON.stringify({ ...settings, viewName: `${ns}.${name}`}) %>
15
+ }
16
+ }<%if (locals.navigation) {%>,
17
+ "<%- navigation.sourcePage %>": {
18
+ "options": {
19
+ "settings": {
20
+ "navigation": {
21
+ "<%- navigation.navEntity %>": {
22
+ "detail": {
23
+ "route": "<% if (typeof id !== 'undefined') { %><%- id %><% } else { %><%- entity %><%- name %><% } %>"
24
+ }
25
+ }
26
+ }
27
+ }
28
+ }
29
+ }<% } %>
30
+ }
31
+ }
32
+ }
33
+ }
@@ -0,0 +1,2 @@
1
+ #XTIT: Custom view title
2
+ <%=name%>Title=<%=view.title%>
@@ -0,0 +1,20 @@
1
+ {
2
+ "sap.ui5": {
3
+ "dependencies": {
4
+ "libs": <%- JSON.stringify(libraries) %>
5
+ },
6
+ "routing": {
7
+ "targets": {
8
+ "<% if (typeof id !== 'undefined') { %><%- id %><% } else { %><%- entity %>ListReport<% } %>": {
9
+ "type": "Component",
10
+ "id": "<% if (typeof id !== 'undefined') { %><%- id %><% } else { %><%- entity %>ListReport<% } %>",
11
+ "name": "<%- template %>",<%if (locals.controlAggregation) {%>
12
+ "controlAggregation": "<%- locals.controlAggregation %>",<% } %>
13
+ "options": {
14
+ "settings": <%- JSON.stringify(settings) %>
15
+ }
16
+ }
17
+ }
18
+ }
19
+ }
20
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "sap.ui5": {
3
+ "dependencies": {
4
+ "libs": <%- JSON.stringify(libraries) %>
5
+ },
6
+ "routing": {
7
+ "targets": {
8
+ "<% if (typeof id !== 'undefined') { %><%- id %><% } else { %><%- entity %>ObjectPage<% } %>": {
9
+ "type": "Component",
10
+ "id": "<% if (typeof id !== 'undefined') { %><%- id %><% } else { %><%- entity %>ObjectPage<% } %>",
11
+ "name": "<%- template %>",<%if (locals.controlAggregation) {%>
12
+ "controlAggregation": "<%- locals.controlAggregation %>",<% } %>
13
+ "options": {
14
+ "settings": <%- JSON.stringify(settings) %>
15
+ }
16
+ }<%if (locals.navigation) {%>,
17
+ "<%- navigation.sourcePage %>": {
18
+ "options": {
19
+ "settings": {
20
+ "navigation": {
21
+ "<%- navigation.navEntity %>": {
22
+ "detail": {
23
+ "route": "<% if (typeof id !== 'undefined') { %><%- id %><% } else { %><%- entity %>ObjectPage<% } %>"
24
+ }
25
+ }
26
+ }
27
+ }
28
+ }
29
+ }<% } %>
30
+ }
31
+ }
32
+ }
33
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "sap.ui5": {
3
+ "routing": {
4
+ "targets": {
5
+ "<%- target %>": {
6
+ "options": {
7
+ "settings": {
8
+ "content": {
9
+ "body": {
10
+ "sections": {
11
+ "<%- name %>": {
12
+ "name": "<%- ns %>.<%- name %>",
13
+ "type": "XMLFragment",
14
+ <%if (typeof position !== 'undefined') {%>"position": {
15
+ <% if (position.placement) { %>
16
+ "placement": "<%- position.placement %>"<% if (position.anchor) { %>,<% } %>
17
+ <% } %>
18
+ <% if (position.anchor) { %>
19
+ "anchor": "<%- position.anchor %>"
20
+ <% } %>
21
+ },<% } %>
22
+ "title": "<%- title %>"
23
+ }
24
+ }
25
+ }
26
+ }
27
+ }
28
+ }
29
+ }
30
+ }
31
+ }
32
+ }
33
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "sap.ui5": {
3
+ "routing": {
4
+ "targets": {
5
+ "<%- target %>": {
6
+ "options": {
7
+ "settings": {
8
+ "content": {
9
+ "body": {
10
+ "sections": {
11
+ "<%- name %>": {
12
+ "template": "<%- ns %>.<%- typeof fragmentFile !== 'undefined' ? fragmentFile : name %>",
13
+ <%if (typeof position !== 'undefined') {%>"position": {
14
+ <% if (position.placement) { %>
15
+ "placement": "<%- position.placement %>"<% if (position.anchor) { %>,<% } %>
16
+ <% } %>
17
+ <% if (position.anchor) { %>
18
+ "anchor": "<%- position.anchor %>"
19
+ <% } %>
20
+ },<% } %>
21
+ "title": "<%- title %>"
22
+ }
23
+ }
24
+ }
25
+ }
26
+ }
27
+ }
28
+ }
29
+ }
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "sap.ui5": {
3
+ "routing": {
4
+ "targets": {
5
+ "<%- target %>": {
6
+ "options": {
7
+ "settings": {
8
+ "content": {
9
+ "body": {
10
+ "sections": {
11
+ "<%- parentSection %>": {
12
+ "subSections": {
13
+ "<%- name %>": {
14
+ "name": "<%- ns %>.<%- name %>",
15
+ "type": "XMLFragment",
16
+ <%if (typeof position !== 'undefined') {%>"position": {
17
+ <% if (position.placement) { %>
18
+ "placement": "<%- position.placement %>"<% if (position.anchor) { %>,<% } %>
19
+ <% } %>
20
+ <% if (position.anchor) { %>
21
+ "anchor": "<%- position.anchor %>"
22
+ <% } %>
23
+ },<% } %>
24
+ "title": "<%- title %>"
25
+ }
26
+ }
27
+ }
28
+ }
29
+ }
30
+ }
31
+ }
32
+ }
33
+ }
34
+ }
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "sap.ui5": {
3
+ "routing": {
4
+ "targets": {
5
+ "<%- target %>": {
6
+ "options": {
7
+ "settings": {
8
+ "content": {
9
+ "body": {
10
+ "sections": {
11
+ "<%- parentSection %>": {
12
+ "subSections": {
13
+ "<%- name %>": {
14
+ "template": "<%- ns %>.<%- typeof fragmentFile !== 'undefined' ? fragmentFile : name %>",
15
+ <%if (typeof position !== 'undefined') {%>"position": {
16
+ <% if (position.placement) { %>
17
+ "placement": "<%- position.placement %>"<% if (position.anchor) { %>,<% } %>
18
+ <% } %>
19
+ <% if (position.anchor) { %>
20
+ "anchor": "<%- position.anchor %>"
21
+ <% } %>
22
+ },<% } %>
23
+ "title": "<%- title %>"
24
+ }
25
+ }
26
+ }
27
+ }
28
+ }
29
+ }
30
+ }
31
+ }
32
+ }
33
+ }
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,3 @@
1
+ <core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core" xmlns:macros="sap.fe.macros" xmlns:u="sap.ui.unified">
2
+ <macros:Table id="<%- ids.table %>" metaPath="@com.sap.vocabularies.UI.v1.LineItem" displayMode="true" />
3
+ </core:FragmentDefinition>
@@ -0,0 +1,41 @@
1
+ {
2
+ "sap.ui5": {
3
+ <% if (locals.eventHandler ) { %>
4
+ "extends": {
5
+ "extensions": {
6
+ "sap.ui.controllerExtensions": {
7
+ "sap.fe.templates.ListReport.ListReportController": {
8
+ "controllerName": "<%- ns %>.<%- name %>"
9
+ }
10
+ }
11
+ }
12
+ },
13
+ <%
14
+ } %>
15
+ "routing": {
16
+ "targets": {
17
+ "<%- target %>": {
18
+ "options": {
19
+ "settings": {
20
+ "views": {
21
+ "paths": [
22
+ <% if (locals.views?.paths) { %>
23
+ <% for (var i =0; i < locals.views.paths.length; i++) { %>
24
+ <%- JSON.stringify(locals.views.paths[i]) %>
25
+ <% if (i < locals.views.paths.length - 1) { %>
26
+ ,
27
+ <%
28
+ } %>
29
+ <%
30
+ } %>
31
+ <%
32
+ } %>
33
+ ]
34
+ }
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
@@ -124,6 +124,7 @@ export type GenerateListReportV4 = {
124
124
  annotations: FileData[];
125
125
  logger?: ExtensionLogger;
126
126
  manifest?: Manifest;
127
+ isCapService?: boolean;
127
128
  };
128
129
  };
129
130
  export type GenerateObjectPageV4 = {
@@ -136,6 +137,7 @@ export type GenerateObjectPageV4 = {
136
137
  logger?: ExtensionLogger;
137
138
  genericMacrosSchema?: object;
138
139
  fragments?: FileData[];
140
+ isCapService?: boolean;
139
141
  };
140
142
  };
141
143
  export type GenerateAnalyticalListPageV4 = {
@@ -502,6 +504,7 @@ export interface GenerateAppSchemaParameters extends SyncBaseParameters {
502
504
  views?: FileData[];
503
505
  logger?: ExtensionLogger;
504
506
  entityType?: EntityType;
507
+ isCapService?: boolean;
505
508
  }
506
509
  export declare enum CustomExtensionType {
507
510
  ControllerExtension = "ControllerExtension",