@sap-ux/fiori-freestyle-writer 0.16.2 → 0.17.0
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/package.json +2 -2
- package/templates/listdetail/add/webapp/Component.js +1 -1
- package/templates/listdetail/add/webapp/controller/BaseController.js +1 -1
- package/templates/listdetail/add/webapp/controller/BaseController.ts +1 -1
- package/templates/listdetail/add/webapp/controller/List.controller.js +1 -1
- package/templates/worklist/add/webapp/Component.js +1 -1
- package/templates/worklist/add/webapp/controller/BaseController.ts +1 -1
- package/templates/worklist/add/webapp/controller/Object.controller.js +1 -1
- package/templates/worklist/add/webapp/controller/Worklist.controller.js +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/fiori-freestyle-writer",
|
|
3
3
|
"description": "SAP Fiori freestyle application writer",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.17.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@sap-ux/odata-service-writer": "0.14.19",
|
|
24
|
-
"@sap-ux/ui5-application-writer": "0.
|
|
24
|
+
"@sap-ux/ui5-application-writer": "0.20.0",
|
|
25
25
|
"@sap-ux/ui5-config": "0.16.5",
|
|
26
26
|
"ejs": "3.1.7",
|
|
27
27
|
"i18next": "20.3.2",
|
|
@@ -59,7 +59,7 @@ function (UIComponent, Device, models, ListSelector, ErrorHandler) {
|
|
|
59
59
|
getContentDensityClass : function() {
|
|
60
60
|
if (this._sContentDensityClass === undefined) {
|
|
61
61
|
// check whether FLP has already set the content density class; do nothing in this case
|
|
62
|
-
// eslint-disable-next-line sap-no-proprietary-browser-api
|
|
62
|
+
// eslint-disable-next-line fiori-custom/sap-no-proprietary-browser-api
|
|
63
63
|
if (document.body.classList.contains("sapUiSizeCozy") || document.body.classList.contains("sapUiSizeCompact")) {
|
|
64
64
|
this._sContentDensityClass = "";
|
|
65
65
|
} else if (!Device.support.touch) { // apply "compact" mode if touch is not supported
|
|
@@ -54,7 +54,7 @@ sap.ui.define([
|
|
|
54
54
|
var sPreviousHash = History.getInstance().getPreviousHash();
|
|
55
55
|
|
|
56
56
|
if (sPreviousHash !== undefined) {
|
|
57
|
-
// eslint-disable-next-line sap-no-history-manipulation
|
|
57
|
+
// eslint-disable-next-line fiori-custom/sap-no-history-manipulation
|
|
58
58
|
history.go(-1);
|
|
59
59
|
} else {
|
|
60
60
|
this.getRouter().navTo("list", {}, true);
|
|
@@ -73,7 +73,7 @@ export default class BaseController extends Controller {
|
|
|
73
73
|
*/
|
|
74
74
|
protected onNavBack() {
|
|
75
75
|
if (History.getInstance().getPreviousHash() !== undefined) {
|
|
76
|
-
// eslint-disable-next-line sap-no-history-manipulation
|
|
76
|
+
// eslint-disable-next-line fiori-custom/sap-no-history-manipulation
|
|
77
77
|
history.go(-1);
|
|
78
78
|
} else {
|
|
79
79
|
this.getRouter().navTo("list", {});
|
|
@@ -53,7 +53,7 @@ sap.ui.define([
|
|
|
53
53
|
getContentDensityClass : function() {
|
|
54
54
|
if (this._sContentDensityClass === undefined) {
|
|
55
55
|
// check whether FLP has already set the content density class; do nothing in this case
|
|
56
|
-
// eslint-disable-next-line sap-no-proprietary-browser-api
|
|
56
|
+
// eslint-disable-next-line fiori-custom/sap-no-proprietary-browser-api
|
|
57
57
|
if (document.body.classList.contains("sapUiSizeCozy") || document.body.classList.contains("sapUiSizeCompact")) {
|
|
58
58
|
this._sContentDensityClass = "";
|
|
59
59
|
} else if (!Device.support.touch) { // apply "compact" mode if touch is not supported
|
|
@@ -74,7 +74,7 @@ export default class BaseController extends Controller {
|
|
|
74
74
|
*/
|
|
75
75
|
protected onNavBack() {
|
|
76
76
|
if (History.getInstance().getPreviousHash() !== undefined) {
|
|
77
|
-
// eslint-disable-next-line sap-no-history-manipulation
|
|
77
|
+
// eslint-disable-next-line fiori-custom/sap-no-history-manipulation
|
|
78
78
|
history.go(-1);
|
|
79
79
|
} else {
|
|
80
80
|
this.getRouter().navTo("worklist", {});
|
|
@@ -43,7 +43,7 @@ sap.ui.define([
|
|
|
43
43
|
onNavBack : function() {
|
|
44
44
|
var sPreviousHash = History.getInstance().getPreviousHash();
|
|
45
45
|
if (sPreviousHash !== undefined) {
|
|
46
|
-
// eslint-disable-next-line sap-no-history-manipulation
|
|
46
|
+
// eslint-disable-next-line fiori-custom/sap-no-history-manipulation
|
|
47
47
|
history.go(-1);
|
|
48
48
|
} else {
|
|
49
49
|
this.getRouter().navTo("worklist", {}, true);
|