mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 15:16:15 +08:00
[create-pull-request] automated change (#1652)
Co-authored-by: oblomov-dev <oblomov-dev@users.noreply.github.com>
This commit is contained in:
parent
a2437ebcdc
commit
a54b340722
|
@ -174,6 +174,9 @@ CLASS z2ui5_cl_app_app_js IMPLEMENTATION.
|
||||||
` title: {` && |\n| &&
|
` title: {` && |\n| &&
|
||||||
` type: "string"` && |\n| &&
|
` type: "string"` && |\n| &&
|
||||||
` },` && |\n| &&
|
` },` && |\n| &&
|
||||||
|
` ApplicationFullWidth:{` && |\n| &&
|
||||||
|
` type : "boolean"` && |\n| &&
|
||||||
|
` }` && |\n| &&
|
||||||
` }` && |\n| &&
|
` }` && |\n| &&
|
||||||
` },` && |\n| &&
|
` },` && |\n| &&
|
||||||
` setTitle(val) {` && |\n| &&
|
` setTitle(val) {` && |\n| &&
|
||||||
|
@ -184,6 +187,18 @@ CLASS z2ui5_cl_app_app_js IMPLEMENTATION.
|
||||||
` console.error("Launchpad Service to set Title not found");` && |\n| &&
|
` console.error("Launchpad Service to set Title not found");` && |\n| &&
|
||||||
` }` && |\n| &&
|
` }` && |\n| &&
|
||||||
` },` && |\n| &&
|
` },` && |\n| &&
|
||||||
|
`` && |\n| &&
|
||||||
|
` setApplicationFullWidth(val) {` && |\n| &&
|
||||||
|
` this.setProperty("ApplicationFullWidth", val);` && |\n| &&
|
||||||
|
` z2ui5.ApplicationFullWidth = val;` && |\n| &&
|
||||||
|
` sap.ui.require([` && |\n| &&
|
||||||
|
` "sap/ushell/services/AppConfiguration"` && |\n| &&
|
||||||
|
` ], async (AppConfiguration) => {` && |\n| &&
|
||||||
|
` AppConfiguration.setApplicationFullWidth(z2ui5.ApplicationFullWidth);` && |\n| &&
|
||||||
|
` });` && |\n| &&
|
||||||
|
`` && |\n| &&
|
||||||
|
` },` && |\n| &&
|
||||||
|
`` && |\n| &&
|
||||||
` renderer(oRm, oControl) { }` && |\n| &&
|
` renderer(oRm, oControl) { }` && |\n| &&
|
||||||
` });` && |\n| &&
|
` });` && |\n| &&
|
||||||
`}` && |\n| &&
|
`}` && |\n| &&
|
||||||
|
@ -503,6 +518,8 @@ CLASS z2ui5_cl_app_app_js IMPLEMENTATION.
|
||||||
` defaultValue: "sap-icon://browse-folder"` && |\n| &&
|
` defaultValue: "sap-icon://browse-folder"` && |\n| &&
|
||||||
` },` && |\n| &&
|
` },` && |\n| &&
|
||||||
` iconOnly: {` && |\n| &&
|
` iconOnly: {` && |\n| &&
|
||||||
|
|\n|.
|
||||||
|
result = result &&
|
||||||
` type: "boolean",` && |\n| &&
|
` type: "boolean",` && |\n| &&
|
||||||
` defaultValue: false` && |\n| &&
|
` defaultValue: false` && |\n| &&
|
||||||
` },` && |\n| &&
|
` },` && |\n| &&
|
||||||
|
@ -518,8 +535,6 @@ CLASS z2ui5_cl_app_app_js IMPLEMENTATION.
|
||||||
` type: "boolean",` && |\n| &&
|
` type: "boolean",` && |\n| &&
|
||||||
` defaultValue: true` && |\n| &&
|
` defaultValue: true` && |\n| &&
|
||||||
` },` && |\n| &&
|
` },` && |\n| &&
|
||||||
|\n|.
|
|
||||||
result = result &&
|
|
||||||
` checkDirectUpload: {` && |\n| &&
|
` checkDirectUpload: {` && |\n| &&
|
||||||
` type: "boolean",` && |\n| &&
|
` type: "boolean",` && |\n| &&
|
||||||
` defaultValue: false` && |\n| &&
|
` defaultValue: false` && |\n| &&
|
||||||
|
@ -1005,6 +1020,8 @@ CLASS z2ui5_cl_app_app_js IMPLEMENTATION.
|
||||||
` z2ui5.Util = Util;` && |\n| &&
|
` z2ui5.Util = Util;` && |\n| &&
|
||||||
`}` && |\n| &&
|
`}` && |\n| &&
|
||||||
`);` && |\n| &&
|
`);` && |\n| &&
|
||||||
|
|\n|.
|
||||||
|
result = result &&
|
||||||
`` && |\n| &&
|
`` && |\n| &&
|
||||||
`sap.ui.define("z2ui5/Favicon", ["sap/ui/core/Control"], (Control) => {` && |\n| &&
|
`sap.ui.define("z2ui5/Favicon", ["sap/ui/core/Control"], (Control) => {` && |\n| &&
|
||||||
` "use strict";` && |\n| &&
|
` "use strict";` && |\n| &&
|
||||||
|
@ -1020,8 +1037,6 @@ CLASS z2ui5_cl_app_app_js IMPLEMENTATION.
|
||||||
` this.setProperty("favicon", val);` && |\n| &&
|
` this.setProperty("favicon", val);` && |\n| &&
|
||||||
` let headTitle = document.querySelector('head');` && |\n| &&
|
` let headTitle = document.querySelector('head');` && |\n| &&
|
||||||
` let setFavicon = document.createElement('link');` && |\n| &&
|
` let setFavicon = document.createElement('link');` && |\n| &&
|
||||||
|\n|.
|
|
||||||
result = result &&
|
|
||||||
` setFavicon.setAttribute('rel', 'shortcut icon');` && |\n| &&
|
` setFavicon.setAttribute('rel', 'shortcut icon');` && |\n| &&
|
||||||
` setFavicon.setAttribute('href', val);` && |\n| &&
|
` setFavicon.setAttribute('href', val);` && |\n| &&
|
||||||
` headTitle.appendChild(setFavicon);` && |\n| &&
|
` headTitle.appendChild(setFavicon);` && |\n| &&
|
||||||
|
|
Loading…
Reference in New Issue
Block a user