@sap-ux/fiori-freestyle-writer 2.5.18 → 2.5.19

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 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": "2.5.18",
4
+ "version": "2.5.19",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -28,11 +28,11 @@
28
28
  "read-pkg-up": "7.0.1",
29
29
  "semver": "7.5.4",
30
30
  "@sap-ux/odata-service-writer": "0.29.2",
31
- "@sap-ux/ui5-application-writer": "1.6.6",
31
+ "@sap-ux/ui5-application-writer": "1.6.7",
32
32
  "@sap-ux/ui5-config": "0.29.12",
33
33
  "@sap-ux/fiori-generator-shared": "0.13.46",
34
34
  "@sap-ux/cap-config-writer": "0.12.37",
35
- "@sap-ux/ui5-test-writer": "0.7.46",
35
+ "@sap-ux/ui5-test-writer": "0.7.47",
36
36
  "@sap-ux/logger": "0.8.0"
37
37
  },
38
38
  "devDependencies": {
@@ -43,7 +43,7 @@
43
43
  "@types/mem-fs": "1.1.2",
44
44
  "@types/semver": "7.5.2",
45
45
  "fs-extra": "10.0.0",
46
- "@sap-ux/eslint-plugin-fiori-tools": "9.0.1"
46
+ "@sap-ux/eslint-plugin-fiori-tools": "9.0.2"
47
47
  },
48
48
  "engines": {
49
49
  "node": ">=20.x"
@@ -55,7 +55,7 @@ function (UIComponent, Device, models, ListSelector, ErrorHandler) {
55
55
  getContentDensityClass : function() {
56
56
  if (this._sContentDensityClass === undefined) {
57
57
  // check whether FLP has already set the content density class; do nothing in this case
58
- // eslint-disable-next-line fiori-custom/sap-no-proprietary-browser-api, fiori-custom/sap-browser-api-warning
58
+ // eslint-disable-next-line @sap-ux/fiori-tools/sap-no-proprietary-browser-api, @sap-ux/fiori-tools/sap-browser-api-warning
59
59
  if (document.body.classList.contains("sapUiSizeCozy") || document.body.classList.contains("sapUiSizeCompact")) {
60
60
  this._sContentDensityClass = "";
61
61
  } else if (!Device.support.touch) { // apply "compact" mode if touch is not supported
@@ -53,7 +53,7 @@ export default class Component extends UIComponent {
53
53
  public getContentDensityClass(): string {
54
54
  if (this.contentDensityClass === undefined) {
55
55
  // check whether FLP has already set the content density class; do nothing in this case
56
- // eslint-disable-next-line fiori-custom/sap-no-proprietary-browser-api
56
+ // eslint-disable-next-line @sap-ux/fiori-tools/sap-no-proprietary-browser-api
57
57
  if (document.body.classList.contains("sapUiSizeCozy") || document.body.classList.contains("sapUiSizeCompact")) {
58
58
  this.contentDensityClass = "";
59
59
  } else if (!support.touch) { // apply "compact" mode if touch is not supported
@@ -54,7 +54,6 @@ sap.ui.define([
54
54
  var sPreviousHash = History.getInstance().getPreviousHash();
55
55
 
56
56
  if (sPreviousHash !== undefined) {
57
- // eslint-disable-next-line fiori-custom/sap-no-history-manipulation
58
57
  history.go(-1);
59
58
  } else {
60
59
  this.getRouter().navTo("list", {}, true);
@@ -73,7 +73,6 @@ export default class BaseController extends Controller {
73
73
  */
74
74
  protected onNavBack() {
75
75
  if (History.getInstance().getPreviousHash() !== undefined) {
76
- // eslint-disable-next-line fiori-custom/sap-no-history-manipulation, fiori-custom/sap-browser-api-warning
77
76
  history.go(-1);
78
77
  } else {
79
78
  this.getRouter().navTo("list", {});
@@ -271,7 +271,7 @@ sap.ui.define([
271
271
  * @public
272
272
  */
273
273
  onNavBack: function() {
274
- // eslint-disable-next-line fiori-custom/sap-no-history-manipulation, fiori-custom/sap-browser-api-warning
274
+ // eslint-disable-next-line @sap-ux/fiori-tools/sap-no-history-manipulation, @sap-ux/fiori-tools/sap-browser-api-warning
275
275
  history.go(-1);
276
276
  },
277
277
 
@@ -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 fiori-custom/sap-no-proprietary-browser-api, fiori-custom/sap-browser-api-warning
56
+ // eslint-disable-next-line @sap-ux/fiori-tools/sap-no-proprietary-browser-api, @sap-ux/fiori-tools/sap-browser-api-warning
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
@@ -50,7 +50,7 @@ export default class Component extends UIComponent {
50
50
  public getContentDensityClass(): string {
51
51
  if (this.contentDensityClass === undefined) {
52
52
  // check whether FLP has already set the content density class; do nothing in this case
53
- // eslint-disable-next-line fiori-custom/sap-no-proprietary-browser-api
53
+ // eslint-disable-next-line @sap-ux/fiori-tools/sap-no-proprietary-browser-api
54
54
  if (document.body.classList.contains("sapUiSizeCozy") || document.body.classList.contains("sapUiSizeCompact")) {
55
55
  this.contentDensityClass = "";
56
56
  } else if (!support.touch) { // apply "compact" mode if touch is not supported
@@ -74,7 +74,6 @@ export default class BaseController extends Controller {
74
74
  */
75
75
  protected onNavBack() {
76
76
  if (History.getInstance().getPreviousHash() !== undefined) {
77
- // eslint-disable-next-line fiori-custom/sap-no-history-manipulation, fiori-custom/sap-browser-api-warning
78
77
  history.go(-1);
79
78
  } else {
80
79
  this.getRouter().navTo("worklist", {});
@@ -43,7 +43,6 @@ sap.ui.define([
43
43
  onNavBack : function() {
44
44
  var sPreviousHash = History.getInstance().getPreviousHash();
45
45
  if (sPreviousHash !== undefined) {
46
- // eslint-disable-next-line fiori-custom/sap-no-history-manipulation
47
46
  history.go(-1);
48
47
  } else {
49
48
  this.getRouter().navTo("worklist", {}, true);
@@ -80,7 +80,6 @@ sap.ui.define([
80
80
  * @public
81
81
  */
82
82
  onNavBack : function() {
83
- // eslint-disable-next-line fiori-custom/sap-no-history-manipulation, fiori-custom/sap-browser-api-warning
84
83
  history.go(-1);
85
84
  },
86
85