@sap/ux-specification 1.142.8 → 1.142.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.
- package/CHANGELOG.md +21 -4
- package/dist/documentation/{runDocu-min.js → runDocu-min.mjs} +6 -6
- package/dist/documentation/{runDocu-min.js.map → runDocu-min.mjs.map} +2 -2
- package/dist/documentation/v2/v2-AnalyticalListPage.html +4 -4
- package/dist/documentation/v2/v2-ApplicationV2.html +4 -4
- package/dist/documentation/v2/v2-ListReport.html +4 -4
- package/dist/documentation/v2/v2-ListReportNew.html +4 -4
- package/dist/documentation/v2/v2-ObjectPage.html +4 -4
- package/dist/documentation/v2/v2-OverviewPage.html +4 -4
- package/dist/documentation/v4/v4-ApplicationV4.html +4 -4
- package/dist/documentation/v4/v4-BuildingBlocks.html +4 -4
- package/dist/documentation/v4/v4-FreestylePage.html +4 -4
- package/dist/documentation/v4/v4-ListReport.html +4 -4
- package/dist/documentation/v4/v4-ObjectPage.html +4 -4
- package/dist/index-min.mjs +1300 -0
- package/dist/index-min.mjs.map +7 -0
- package/dist/specification/package.json +14 -7
- package/dist/specification/src/api.d.ts.map +1 -1
- package/dist/specification/src/api.js +6 -6
- package/dist/specification/src/api.js.map +1 -1
- package/dist/specification/src/ftfs/ftfs.d.ts.map +1 -1
- package/dist/specification/src/ftfs/ftfs.js +25 -1
- package/dist/specification/src/ftfs/ftfs.js.map +1 -1
- package/dist/specification/src/i18n/i18n.js +35 -2
- package/dist/specification/src/i18n/i18n.js.map +1 -1
- package/dist/specification/src/index.d.ts +1 -0
- package/dist/specification/src/index.d.ts.map +1 -1
- package/dist/specification/src/index.js +4 -0
- package/dist/specification/src/index.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorator-paths.d.ts +37 -3
- package/dist/specification/src/sync/common/decoration/decorator-paths.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorator-paths.js +18 -1
- package/dist/specification/src/sync/common/decoration/decorator-paths.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorators.d.ts +8 -5
- package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorators.js +4 -1
- package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/steps/Enums.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/steps/Enums.js +47 -8
- package/dist/specification/src/sync/common/decoration/steps/Enums.js.map +1 -1
- package/dist/specification/src/sync/common/i18n.json +3 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js +25 -11
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Table.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Table.js +21 -9
- package/dist/specification/src/sync/v4/export/controls/Table.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/generate.d.ts +4 -2
- package/dist/specification/src/sync/v4/generate/generate.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/generate.js +8 -4
- package/dist/specification/src/sync/v4/generate/generate.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/list-report/ListReportUtils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/list-report/ListReportUtils.js +1 -0
- package/dist/specification/src/sync/v4/generate/list-report/ListReportUtils.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/list-report/listReport.d.ts +1 -0
- package/dist/specification/src/sync/v4/generate/list-report/listReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/list-report/listReport.js +15 -5
- package/dist/specification/src/sync/v4/generate/list-report/listReport.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/objectPage.js +20 -4
- package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/Page.d.ts +6 -0
- package/dist/specification/src/sync/v4/sync-rules/Page.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/Page.js +8 -0
- package/dist/specification/src/sync/v4/sync-rules/Page.js.map +1 -1
- package/dist/specification/src/sync/v4/utils/utils.d.ts +125 -0
- package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/utils/utils.js +252 -1
- package/dist/specification/src/sync/v4/utils/utils.js.map +1 -1
- package/dist/templates/action/manifest.action-menu.json +10 -0
- package/dist/templates/action/manifest.action.json +13 -0
- package/dist/templates/app/Component.js +13 -0
- package/dist/templates/app/Component.ts +11 -0
- package/dist/templates/building-block/action/View.xml +30 -0
- package/dist/templates/building-block/chart/View.xml +9 -0
- package/dist/templates/building-block/common/manifest.json +7 -0
- package/dist/templates/building-block/custom-column/View.xml +5 -0
- package/dist/templates/building-block/custom-filter-field/View.xml +12 -0
- package/dist/templates/building-block/custom-form-field/View.xml +12 -0
- package/dist/templates/building-block/field/View.xml +8 -0
- package/dist/templates/building-block/filter-bar/View.xml +10 -0
- package/dist/templates/building-block/form/View.xml +4 -0
- package/dist/templates/building-block/page/View.xml +5 -0
- package/dist/templates/building-block/rich-text-editor/View.xml +3 -0
- package/dist/templates/building-block/rich-text-editor-button-groups/View.xml +18 -0
- package/dist/templates/building-block/table/View.xml +19 -0
- package/dist/templates/column/1.84/manifest.json +28 -0
- package/dist/templates/column/1.85/manifest.json +31 -0
- package/dist/templates/column/1.86/manifest.json +43 -0
- package/dist/templates/common/EventHandler.js +25 -0
- package/dist/templates/common/EventHandler.ts +28 -0
- package/dist/templates/common/Fragment.xml +3 -0
- package/dist/templates/common/FragmentWithForm.xml +7 -0
- package/dist/templates/common/FragmentWithVBox.xml +5 -0
- package/dist/templates/common/sap.fe.d.ts +43 -0
- package/dist/templates/controller-extension/Controller.js +18 -0
- package/dist/templates/controller-extension/Controller.ts +20 -0
- package/dist/templates/controller-extension/ControllerExtension.d.ts +11 -0
- package/dist/templates/controller-extension/manifest.json +14 -0
- package/dist/templates/field/manifest.json +32 -0
- package/dist/templates/filter/Controller.js +21 -0
- package/dist/templates/filter/Controller.ts +24 -0
- package/dist/templates/filter/fragment.xml +15 -0
- package/dist/templates/filter/manifest.json +12 -0
- package/dist/templates/header-section/1.85/manifest.json +43 -0
- package/dist/templates/header-section/1.86/manifest.json +45 -0
- package/dist/templates/page/custom/1.84/ext/Controller.js +45 -0
- package/dist/templates/page/custom/1.84/ext/Controller.ts +42 -0
- package/dist/templates/page/custom/1.84/ext/View.xml +6 -0
- package/dist/templates/page/custom/1.84/i18n/i18n.properties +2 -0
- package/dist/templates/page/custom/1.84/manifest.json +32 -0
- package/dist/templates/page/custom/1.94/ext/Controller.js +45 -0
- package/dist/templates/page/custom/1.94/ext/Controller.ts +42 -0
- package/dist/templates/page/custom/1.94/ext/View.xml +6 -0
- package/dist/templates/page/custom/1.94/i18n/i18n.properties +2 -0
- package/dist/templates/page/custom/1.94/manifest.json +33 -0
- package/dist/templates/page/custom/i18n/i18n.properties +2 -0
- package/dist/templates/page/list/manifest.json +20 -0
- package/dist/templates/page/object/manifest.json +33 -0
- package/dist/templates/section/1.85/manifest.json +33 -0
- package/dist/templates/section/1.86/manifest.json +32 -0
- package/dist/templates/subsection/1.85/manifest.json +37 -0
- package/dist/templates/subsection/1.86/manifest.json +36 -0
- package/dist/templates/view/ext/CustomViewWithTable.xml +3 -0
- package/dist/templates/view/manifest.json +41 -0
- package/dist/types/src/apiTypes.d.ts +3 -0
- package/dist/types/src/apiTypes.d.ts.map +1 -1
- package/dist/types/src/apiTypes.js.map +1 -1
- package/dist/types/src/common/types.d.ts +2 -0
- package/dist/types/src/common/types.d.ts.map +1 -1
- package/dist/types/src/common/types.js +2 -0
- package/dist/types/src/common/types.js.map +1 -1
- package/package.json +14 -7
- package/dist/index-min.js +0 -647
- 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,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,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,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,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
|
+
}
|
|
@@ -121,6 +121,7 @@ export type GenerateListReportV4 = {
|
|
|
121
121
|
annotations: FileData[];
|
|
122
122
|
logger?: ExtensionLogger;
|
|
123
123
|
manifest?: Manifest;
|
|
124
|
+
isCapService?: boolean;
|
|
124
125
|
};
|
|
125
126
|
};
|
|
126
127
|
export type GenerateObjectPageV4 = {
|
|
@@ -133,6 +134,7 @@ export type GenerateObjectPageV4 = {
|
|
|
133
134
|
logger?: ExtensionLogger;
|
|
134
135
|
genericMacrosSchema?: object;
|
|
135
136
|
fragments?: FileData[];
|
|
137
|
+
isCapService?: boolean;
|
|
136
138
|
};
|
|
137
139
|
};
|
|
138
140
|
export type GenerateAnalyticalListPageV4 = {
|
|
@@ -498,6 +500,7 @@ export interface GenerateAppSchemaParameters extends SyncBaseParameters {
|
|
|
498
500
|
views?: FileData[];
|
|
499
501
|
logger?: ExtensionLogger;
|
|
500
502
|
entityType?: EntityType;
|
|
503
|
+
isCapService?: boolean;
|
|
501
504
|
}
|
|
502
505
|
export declare enum CustomExtensionType {
|
|
503
506
|
ControllerExtension = "ControllerExtension",
|