@sapui5/sap.ushell_abap 1.135.0 → 1.136.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 +1 -1
- package/src/main/js/sap/ushell_abap/.library +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/AppStateAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/CommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/ConfigurationDefaultsAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/FlpLaunchPageAdapter.js +62 -62
- package/src/main/js/sap/ushell_abap/adapters/abap/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/NavTargetResolutionInternalAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/PageBuildingAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/PagePersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/SearchAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/SupportTicketAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/hana/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.configure.ushell.js +1 -1
- package/src/main/js/sap/ushell_abap/library.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/Chip.js +12 -13
- package/src/main/js/sap/ushell_abap/pbServices/ui2/ChipInstance.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/PageBuildingService.js +1 -2
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<library xmlns="http://www.sap.com/sap.ui.library.xsd">
|
|
3
3
|
<name>sap.ushell_abap</name>
|
|
4
4
|
<vendor>SAP SE</vendor>
|
|
5
|
-
<version>1.
|
|
5
|
+
<version>1.136.0</version>
|
|
6
6
|
<copyright>Copyright (c) 2009-2025 SAP SE, All Rights Reserved</copyright>
|
|
7
7
|
<documentation>SAP library: sap.ushell_abap</documentation>
|
|
8
8
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileoverview The Unified Shell's page building adapter for the ABAP platform. Private copy. Classical home page functions are deprecated.
|
|
5
5
|
* @since 1.121
|
|
6
|
-
* @version 1.
|
|
6
|
+
* @version 1.136.0
|
|
7
7
|
*/
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"sap/ui/thirdparty/URI",
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
"sap/ushell/utils",
|
|
24
24
|
"sap/ushell_abap/pbServices/ui2/contracts/preview",
|
|
25
25
|
"sap/ushell/Container"
|
|
26
|
-
], function(
|
|
26
|
+
], function (
|
|
27
27
|
URI,
|
|
28
28
|
ManifestPropertyHelper,
|
|
29
29
|
jQuery,
|
|
@@ -106,7 +106,7 @@ sap.ui.define([
|
|
|
106
106
|
* @param {string} sTitle Title string
|
|
107
107
|
* @param {string} sMessage Message string
|
|
108
108
|
* @returns {sap.ui.core.Control} Implementation
|
|
109
|
-
* @deprecated
|
|
109
|
+
* @deprecated since 1.120
|
|
110
110
|
*/
|
|
111
111
|
function getImplementationAsSapui5 (oTile, sTitle, sMessage) {
|
|
112
112
|
try {
|
|
@@ -191,7 +191,7 @@ sap.ui.define([
|
|
|
191
191
|
* @param {object[]} aElements array of objects. Each object must provide a getId method
|
|
192
192
|
* @private
|
|
193
193
|
* @since 1.11.0
|
|
194
|
-
* @deprecated
|
|
194
|
+
* @deprecated since 1.120
|
|
195
195
|
*/
|
|
196
196
|
LaunchPageAdapter.prototype._orderBasedOnConfiguration = function (oConfiguration, aElements) {
|
|
197
197
|
var aOrder = (oConfiguration && Utils.isArray(oConfiguration.order) ? oConfiguration.order : []);
|
|
@@ -241,7 +241,7 @@ sap.ui.define([
|
|
|
241
241
|
* @param {string} sCurrentTileType "link" or "tile"
|
|
242
242
|
* @returns {int} the index of the oTile if found. Otherwise -1 is returned
|
|
243
243
|
* @private
|
|
244
|
-
* @deprecated
|
|
244
|
+
* @deprecated since 1.120
|
|
245
245
|
*/
|
|
246
246
|
function removeFromLayout (oLayout, oTile, sCurrentTileType) {
|
|
247
247
|
if (sCurrentTileType === "link") {
|
|
@@ -257,7 +257,7 @@ sap.ui.define([
|
|
|
257
257
|
* @param {any} vValue The value to be removed.
|
|
258
258
|
* @returns {int} The index of the vValue in the array or -1 if it was not found.
|
|
259
259
|
* @private
|
|
260
|
-
* @deprecated
|
|
260
|
+
* @deprecated since 1.120
|
|
261
261
|
*/
|
|
262
262
|
function removeFromArray (aArray, vValue) {
|
|
263
263
|
var iSourceIndex = aArray.indexOf(vValue);
|
|
@@ -282,7 +282,7 @@ sap.ui.define([
|
|
|
282
282
|
* @param {int} iIndex The index of the tile or link to be added
|
|
283
283
|
* @param {string} sNewTileType "link" or "tile"; specifies if the tile is added to the order or linkOrder.
|
|
284
284
|
* @private
|
|
285
|
-
* @deprecated
|
|
285
|
+
* @deprecated since 1.120
|
|
286
286
|
*/
|
|
287
287
|
function addToLayout (oLayout, sTileId, iIndex, sNewTileType) {
|
|
288
288
|
if (sNewTileType === "link") {
|
|
@@ -309,7 +309,7 @@ sap.ui.define([
|
|
|
309
309
|
* }
|
|
310
310
|
* </pre>
|
|
311
311
|
* @private
|
|
312
|
-
* @deprecated
|
|
312
|
+
* @deprecated since 1.120
|
|
313
313
|
*/
|
|
314
314
|
function calculateCurrentLayout (oPage, oAdapter) {
|
|
315
315
|
var aTiles = oAdapter.getGroupTiles(oPage);
|
|
@@ -335,7 +335,7 @@ sap.ui.define([
|
|
|
335
335
|
*
|
|
336
336
|
* @returns {sap.ushell_abap.pbServices.ui2.Page[]}
|
|
337
337
|
* @private
|
|
338
|
-
* @deprecated
|
|
338
|
+
* @deprecated since 1.120
|
|
339
339
|
*/
|
|
340
340
|
function getOrderedPages () {
|
|
341
341
|
var oConfiguration;
|
|
@@ -359,7 +359,7 @@ sap.ui.define([
|
|
|
359
359
|
* groups that should be set hidden. In case an empty array is provided all groups should be changed to visible.
|
|
360
360
|
* @returns {jQuery.Promise} Resolves once the group is hidden.
|
|
361
361
|
* @private
|
|
362
|
-
* @deprecated
|
|
362
|
+
* @deprecated since 1.120
|
|
363
363
|
*/
|
|
364
364
|
this.hideGroups = function (aHiddenGroupsIDs) {
|
|
365
365
|
var oDeferred = new jQuery.Deferred();
|
|
@@ -385,7 +385,7 @@ sap.ui.define([
|
|
|
385
385
|
* @param {sap.ushell_abap.pbServices.ui2.Page} oGroup The group to be checked.
|
|
386
386
|
* @returns {boolean} true\false accordingly.
|
|
387
387
|
* @private
|
|
388
|
-
* @deprecated
|
|
388
|
+
* @deprecated since 1.120
|
|
389
389
|
*/
|
|
390
390
|
this.isGroupVisible = function (oGroup) {
|
|
391
391
|
var sConf = that._oCurrentPageSet.getConfiguration();
|
|
@@ -415,7 +415,7 @@ sap.ui.define([
|
|
|
415
415
|
* Triggers loading of a CHIP instance and adds the temporary property $loadingPromise to it
|
|
416
416
|
* as it does not wait for the loading success or failure.
|
|
417
417
|
* As soon as it is completely loaded (or loading failed) the $loadingPromise property is removed again.
|
|
418
|
-
* @deprecated
|
|
418
|
+
* @deprecated since 1.120
|
|
419
419
|
*/
|
|
420
420
|
LaunchPageAdapter.prototype._triggerChipInstanceLoad = function (oChipInstance) {
|
|
421
421
|
function fnSuccess () {
|
|
@@ -446,7 +446,7 @@ sap.ui.define([
|
|
|
446
446
|
* @param {sap.ushell_abap.pbServices.ui2.Page[]} aPages the pages
|
|
447
447
|
* @param {function} fnLocalChipsLoaded Success handler which is called as soon as all LOCAL CHIPs are completely loaded.
|
|
448
448
|
* @private
|
|
449
|
-
* @deprecated
|
|
449
|
+
* @deprecated since 1.120
|
|
450
450
|
*/
|
|
451
451
|
this._loadApplaunchersAndDelayLoadingOfOtherChips = function (aPages, fnLocalChipsLoaded) {
|
|
452
452
|
var iPendingRequests = 0; // counter used for loading app launchers only
|
|
@@ -633,7 +633,7 @@ sap.ui.define([
|
|
|
633
633
|
*
|
|
634
634
|
* @param {sap.ushell_abap.pbServices.ui2.ChipInstance} oTile
|
|
635
635
|
* @returns {boolean}
|
|
636
|
-
* @deprecated
|
|
636
|
+
* @deprecated since 1.120
|
|
637
637
|
*/
|
|
638
638
|
LaunchPageAdapter.prototype._isWrapperOnly = function (oTile) {
|
|
639
639
|
// Note:
|
|
@@ -975,7 +975,7 @@ sap.ui.define([
|
|
|
975
975
|
* @param {sap.ushell_abap.pbServices.ui2.Map} oTargetMappingSupport a map containing whether an intent is supported taking into
|
|
976
976
|
* account its form factor.
|
|
977
977
|
* @private
|
|
978
|
-
* @deprecated
|
|
978
|
+
* @deprecated since 1.120
|
|
979
979
|
*/
|
|
980
980
|
this._findAndReportTileErrors = function (aPages, oTargetMappingSupport) {
|
|
981
981
|
var aGroupTileErrors = this._getPossibleTileErrors(aPages, oTargetMappingSupport);
|
|
@@ -992,7 +992,7 @@ sap.ui.define([
|
|
|
992
992
|
* account its form factor.
|
|
993
993
|
* @returns {object[]} An array describing each error found.
|
|
994
994
|
* @private
|
|
995
|
-
* @deprecated
|
|
995
|
+
* @deprecated since 1.120
|
|
996
996
|
*/
|
|
997
997
|
this._getPossibleTileErrors = function (aPages, oTargetMappingSupport) {
|
|
998
998
|
var that = this;
|
|
@@ -1013,7 +1013,7 @@ sap.ui.define([
|
|
|
1013
1013
|
* account its form factor.
|
|
1014
1014
|
* @returns {object[]} An array describing each error found
|
|
1015
1015
|
* @private
|
|
1016
|
-
* @deprecated
|
|
1016
|
+
* @deprecated since 1.120
|
|
1017
1017
|
*/
|
|
1018
1018
|
this._getPossibleTileErrorsFromOnePage = function (oPage, oTargetMappingSupport) {
|
|
1019
1019
|
var that = this;
|
|
@@ -1141,7 +1141,7 @@ sap.ui.define([
|
|
|
1141
1141
|
*
|
|
1142
1142
|
* @param {object[]} aErrorsByGroup an array containing information about errors within one group
|
|
1143
1143
|
* @private
|
|
1144
|
-
* @deprecated
|
|
1144
|
+
* @deprecated since 1.120
|
|
1145
1145
|
*/
|
|
1146
1146
|
this._reportTileErrors = function (aErrorsByGroup) {
|
|
1147
1147
|
var that = this;
|
|
@@ -1226,7 +1226,7 @@ sap.ui.define([
|
|
|
1226
1226
|
*
|
|
1227
1227
|
* @returns {jQuery.Promise<sap.ushell_abap.pbServices.ui2.Page[]>} Resolves the list of group.
|
|
1228
1228
|
* @since 1.11.0
|
|
1229
|
-
* @deprecated
|
|
1229
|
+
* @deprecated since 1.120
|
|
1230
1230
|
*/
|
|
1231
1231
|
this.getGroups = function () {
|
|
1232
1232
|
if (this._bPageSetFullyLoaded) {
|
|
@@ -1369,7 +1369,7 @@ sap.ui.define([
|
|
|
1369
1369
|
*
|
|
1370
1370
|
* @private
|
|
1371
1371
|
* @since 1.105.0
|
|
1372
|
-
* @deprecated
|
|
1372
|
+
* @deprecated since 1.120
|
|
1373
1373
|
*/
|
|
1374
1374
|
this.getGroupsAndWaitForAllChips = function () {
|
|
1375
1375
|
return new Promise(function (resolve, reject) {
|
|
@@ -1389,7 +1389,7 @@ sap.ui.define([
|
|
|
1389
1389
|
*
|
|
1390
1390
|
* @returns {jQuery.Promise<sap.ushell_abap.pbServices.ui2.Page>} Resolves the default group.
|
|
1391
1391
|
* @since 1.11.0
|
|
1392
|
-
* @deprecated
|
|
1392
|
+
* @deprecated since 1.120
|
|
1393
1393
|
*/
|
|
1394
1394
|
this.getDefaultGroup = function () {
|
|
1395
1395
|
var oDeferred = new jQuery.Deferred();
|
|
@@ -1408,7 +1408,7 @@ sap.ui.define([
|
|
|
1408
1408
|
* @param {sap.ushell_abap.pbServices.ui2.Page} oGroup the group (as received via #getGroups())
|
|
1409
1409
|
* @returns {string} the group title
|
|
1410
1410
|
* @since 1.11.0
|
|
1411
|
-
* @deprecated
|
|
1411
|
+
* @deprecated since 1.120
|
|
1412
1412
|
*/
|
|
1413
1413
|
this.getGroupTitle = function (oGroup) {
|
|
1414
1414
|
return oGroup.getTitle();
|
|
@@ -1420,7 +1420,7 @@ sap.ui.define([
|
|
|
1420
1420
|
* @param {sap.ushell_abap.pbServices.ui2.Page} oGroup the group (as received via #getGroups())
|
|
1421
1421
|
* @returns {string} the group id
|
|
1422
1422
|
* @since 1.11.0
|
|
1423
|
-
* @deprecated
|
|
1423
|
+
* @deprecated since 1.120
|
|
1424
1424
|
*/
|
|
1425
1425
|
this.getGroupId = function (oGroup) {
|
|
1426
1426
|
return oGroup.getId();
|
|
@@ -1432,7 +1432,7 @@ sap.ui.define([
|
|
|
1432
1432
|
* @param {sap.ushell_abap.pbServices.ui2.Page} oGroup the group
|
|
1433
1433
|
* @returns {sap.ushell_abap.pbServices.ui2.ChipInstance[]} the tiles in the order to be displayed.
|
|
1434
1434
|
* @since 1.11.0
|
|
1435
|
-
* @deprecated
|
|
1435
|
+
* @deprecated since 1.120
|
|
1436
1436
|
*/
|
|
1437
1437
|
this.getGroupTiles = function (oGroup) {
|
|
1438
1438
|
var oLayout;
|
|
@@ -1453,7 +1453,7 @@ sap.ui.define([
|
|
|
1453
1453
|
*
|
|
1454
1454
|
* @private
|
|
1455
1455
|
* @since 1.113.0
|
|
1456
|
-
* @deprecated
|
|
1456
|
+
* @deprecated since 1.120
|
|
1457
1457
|
*/
|
|
1458
1458
|
this.getGroupTileClones = function (oGroup) {
|
|
1459
1459
|
var aGroupTiles = this.getGroupTiles(oGroup);
|
|
@@ -1485,7 +1485,7 @@ sap.ui.define([
|
|
|
1485
1485
|
* @param {string} sTitle the title of the new group
|
|
1486
1486
|
* @returns {jQuery.Promise<sap.ushell_abap.pbServices.ui2.Page>} Resolves once the group was added.
|
|
1487
1487
|
* @since 1.11.0
|
|
1488
|
-
* @deprecated
|
|
1488
|
+
* @deprecated since 1.120
|
|
1489
1489
|
*/
|
|
1490
1490
|
this.addGroup = function (sTitle) {
|
|
1491
1491
|
var oDeferred = new jQuery.Deferred();
|
|
@@ -1505,7 +1505,7 @@ sap.ui.define([
|
|
|
1505
1505
|
* @param {object} oGroup the group to be removed
|
|
1506
1506
|
* @returns {jQuery.Promise} Resolves once the group was removed.
|
|
1507
1507
|
* @since 1.11.0
|
|
1508
|
-
* @deprecated
|
|
1508
|
+
* @deprecated since 1.120
|
|
1509
1509
|
*/
|
|
1510
1510
|
this.removeGroup = function (oGroup) {
|
|
1511
1511
|
var oDeferred = new jQuery.Deferred();
|
|
@@ -1528,7 +1528,7 @@ sap.ui.define([
|
|
|
1528
1528
|
* @param {sap.ushell_abap.pbServices.ui2.Page} oGroup the group to be reset
|
|
1529
1529
|
* @returns {jQuery.Promise} Resolves once the group was reset.
|
|
1530
1530
|
* @since 1.11.0
|
|
1531
|
-
* @deprecated
|
|
1531
|
+
* @deprecated since 1.120
|
|
1532
1532
|
*/
|
|
1533
1533
|
this.resetGroup = function (oGroup) {
|
|
1534
1534
|
var oDeferred = new jQuery.Deferred();
|
|
@@ -1556,7 +1556,7 @@ sap.ui.define([
|
|
|
1556
1556
|
* @param {object} oGroup the group to be checked
|
|
1557
1557
|
* @returns {boolean} true if removable; false if only resettable
|
|
1558
1558
|
* @since 1.11.0
|
|
1559
|
-
* @deprecated
|
|
1559
|
+
* @deprecated since 1.120
|
|
1560
1560
|
*/
|
|
1561
1561
|
this.isGroupRemovable = function (oGroup) {
|
|
1562
1562
|
return that._oCurrentPageSet.isPageRemovable(oGroup);
|
|
@@ -1568,7 +1568,7 @@ sap.ui.define([
|
|
|
1568
1568
|
* @param {object} oGroup the group to be checked
|
|
1569
1569
|
* @returns {boolean} true if locked; false if not locked
|
|
1570
1570
|
* @since 1.25.0
|
|
1571
|
-
* @deprecated
|
|
1571
|
+
* @deprecated since 1.120
|
|
1572
1572
|
*/
|
|
1573
1573
|
this.isGroupLocked = function (oGroup) {
|
|
1574
1574
|
return oGroup.isPersonalizationLocked();
|
|
@@ -1580,7 +1580,7 @@ sap.ui.define([
|
|
|
1580
1580
|
* @param {object} [oChipInstance] ChipInstance to check for personalization support
|
|
1581
1581
|
* @returns {boolean} If no chip instance was provided and link personalization is supported in general, the return value is true.
|
|
1582
1582
|
* If a chip was provided, the return value is true for chips supporting the link type or false for chips that don't.
|
|
1583
|
-
* @deprecated
|
|
1583
|
+
* @deprecated since 1.120
|
|
1584
1584
|
*/
|
|
1585
1585
|
this.isLinkPersonalizationSupported = function (oChipInstance) {
|
|
1586
1586
|
if (!oChipInstance) {
|
|
@@ -1787,7 +1787,7 @@ sap.ui.define([
|
|
|
1787
1787
|
* @param {int} iNewIndex the new index for the group
|
|
1788
1788
|
* @returns {jQuery.Promise} Resolves once the group was moved.
|
|
1789
1789
|
* @since 1.11.0
|
|
1790
|
-
* @deprecated
|
|
1790
|
+
* @deprecated since 1.120
|
|
1791
1791
|
*/
|
|
1792
1792
|
this.moveGroup = function (oGroup, iNewIndex) {
|
|
1793
1793
|
// see wiki UICEI/PageSets+and+Groups#PageSetsandGroups-Rearrangegroupsonthehomepage
|
|
@@ -1827,7 +1827,7 @@ sap.ui.define([
|
|
|
1827
1827
|
* @param {string} sNewTitle the new title of the group
|
|
1828
1828
|
* @returns {jQuery.Promise} Resolves once the group title was set.
|
|
1829
1829
|
* @since 1.11.0
|
|
1830
|
-
* @deprecated
|
|
1830
|
+
* @deprecated since 1.120
|
|
1831
1831
|
*/
|
|
1832
1832
|
this.setGroupTitle = function (oGroup, sNewTitle) {
|
|
1833
1833
|
var oDeferred = new jQuery.Deferred();
|
|
@@ -1849,7 +1849,7 @@ sap.ui.define([
|
|
|
1849
1849
|
* @param {sap.ushell_abap.pbServices.ui2.Page} [oGroup] the group
|
|
1850
1850
|
* @returns {jQuery.Promise<sap.ushell_abap.pbServices.ui2.ChipInstance>} Resolves once the tile was added.
|
|
1851
1851
|
* @since 1.11.0
|
|
1852
|
-
* @deprecated
|
|
1852
|
+
* @deprecated since 1.120
|
|
1853
1853
|
*/
|
|
1854
1854
|
this.addTile = function (oCatalogTile, oGroup) {
|
|
1855
1855
|
var oDeferred = new jQuery.Deferred();
|
|
@@ -1880,7 +1880,7 @@ sap.ui.define([
|
|
|
1880
1880
|
* @param {sap.ushell_abap.pbServices.ui2.ChipInstance} oTile the tile
|
|
1881
1881
|
* @returns {jQuery.Promise} Resolves once the tile was removed.
|
|
1882
1882
|
* @since 1.11.0
|
|
1883
|
-
* @deprecated
|
|
1883
|
+
* @deprecated since 1.120
|
|
1884
1884
|
*/
|
|
1885
1885
|
this.removeTile = function (oGroup, oTile) {
|
|
1886
1886
|
var oDeferred = new jQuery.Deferred();
|
|
@@ -1904,7 +1904,7 @@ sap.ui.define([
|
|
|
1904
1904
|
* @param {string} [sNewTileType] (added with 1.60) The new type of the tile
|
|
1905
1905
|
* @returns {jQuery.Promise} Resolves once the tile was moved.
|
|
1906
1906
|
* @since 1.11.0
|
|
1907
|
-
* @deprecated
|
|
1907
|
+
* @deprecated since 1.120
|
|
1908
1908
|
*/
|
|
1909
1909
|
this.moveTile = function (oTile, iSourceIndex, iTargetIndex, oSourceGroup, oTargetGroup, sNewTileType) {
|
|
1910
1910
|
var oDeferred = new jQuery.Deferred();
|
|
@@ -2018,7 +2018,7 @@ sap.ui.define([
|
|
|
2018
2018
|
* @param {sap.ushell_abap.pbServices.ui2.ChipInstance} oTile the tile
|
|
2019
2019
|
* @returns {string} the id
|
|
2020
2020
|
* @since 1.11.0
|
|
2021
|
-
* @deprecated
|
|
2021
|
+
* @deprecated since 1.120
|
|
2022
2022
|
*/
|
|
2023
2023
|
this.getTileId = function (oTile) {
|
|
2024
2024
|
return oTile.getId();
|
|
@@ -2030,7 +2030,7 @@ sap.ui.define([
|
|
|
2030
2030
|
* @param {sap.ushell_abap.pbServices.ui2.ChipInstance} oChipInstance the CHIP instance
|
|
2031
2031
|
* @returns {string} the type. either <code>"tile"</code> or <code>"link"</code> or <code>"card"</code>.
|
|
2032
2032
|
* @since 1.32.0
|
|
2033
|
-
* @deprecated
|
|
2033
|
+
* @deprecated since 1.120
|
|
2034
2034
|
*/
|
|
2035
2035
|
this.getTileType = function (oChipInstance) {
|
|
2036
2036
|
var oGroup = oChipInstance.getPage();
|
|
@@ -2064,7 +2064,7 @@ sap.ui.define([
|
|
|
2064
2064
|
* @param {sap.ushell_abap.pbServices.ui2.ChipInstance} card the CHIP instance
|
|
2065
2065
|
* @returns {object} The card's manifest
|
|
2066
2066
|
* @private
|
|
2067
|
-
* @deprecated
|
|
2067
|
+
* @deprecated since 1.120
|
|
2068
2068
|
*/
|
|
2069
2069
|
this.getCardManifest = function (card) {
|
|
2070
2070
|
try {
|
|
@@ -2085,7 +2085,7 @@ sap.ui.define([
|
|
|
2085
2085
|
* @param {sap.ushell_abap.pbServices.ui2.ChipInstance} oTile the tile
|
|
2086
2086
|
* @returns {string} the title, might be <code>undefined</code> if tile has not finished loading (see {@link #getTileView}).
|
|
2087
2087
|
* @since 1.11.0
|
|
2088
|
-
* @deprecated
|
|
2088
|
+
* @deprecated since 1.120
|
|
2089
2089
|
*/
|
|
2090
2090
|
this.getTileTitle = function (oTile) {
|
|
2091
2091
|
return oTile.getTitle();
|
|
@@ -2099,7 +2099,7 @@ sap.ui.define([
|
|
|
2099
2099
|
* @param {sap.ushell_abap.pbServices.ui2.ChipInstance} oTile The tile's chip data
|
|
2100
2100
|
* @returns {jQuery.Promise<sap.ui.core.Control>} Resolves an instance of sap.m.GenericTile.
|
|
2101
2101
|
* @since 1.11.0
|
|
2102
|
-
* @deprecated
|
|
2102
|
+
* @deprecated since 1.120
|
|
2103
2103
|
*/
|
|
2104
2104
|
this.getTileView = function (oTile) {
|
|
2105
2105
|
var that = this;
|
|
@@ -2194,7 +2194,7 @@ sap.ui.define([
|
|
|
2194
2194
|
* Only dynamic data should be updated, not the tile configuration itself.
|
|
2195
2195
|
*
|
|
2196
2196
|
* @param {sap.ushell_abap.pbServices.ui2.ChipInstance} oTile the tile
|
|
2197
|
-
* @deprecated
|
|
2197
|
+
* @deprecated since 1.120
|
|
2198
2198
|
*/
|
|
2199
2199
|
this.refreshTile = function (oTile) {
|
|
2200
2200
|
oTile.refresh();
|
|
@@ -2254,7 +2254,7 @@ sap.ui.define([
|
|
|
2254
2254
|
*
|
|
2255
2255
|
* @param {object} oTile the tile
|
|
2256
2256
|
* @returns {string} the tile target
|
|
2257
|
-
* @deprecated
|
|
2257
|
+
* @deprecated since 1.120
|
|
2258
2258
|
*/
|
|
2259
2259
|
this.getTileTarget = function (/*oTile*/) {
|
|
2260
2260
|
// TODO method obsolete for now - TBD (don't implement)
|
|
@@ -2268,7 +2268,7 @@ sap.ui.define([
|
|
|
2268
2268
|
*
|
|
2269
2269
|
* @param {object} oTile the tile
|
|
2270
2270
|
* @returns {string} debug information for the tile
|
|
2271
|
-
* @deprecated
|
|
2271
|
+
* @deprecated since 1.120
|
|
2272
2272
|
*/
|
|
2273
2273
|
this.getTileDebugInfo = function (oTile) {
|
|
2274
2274
|
var oChip = oTile.getChip();
|
|
@@ -2512,7 +2512,7 @@ sap.ui.define([
|
|
|
2512
2512
|
*
|
|
2513
2513
|
* @returns {boolean}
|
|
2514
2514
|
* @since 1.16.4
|
|
2515
|
-
* @deprecated
|
|
2515
|
+
* @deprecated since 1.120
|
|
2516
2516
|
* @see #getCatalogs
|
|
2517
2517
|
*/
|
|
2518
2518
|
this.isCatalogsValid = function () {
|
|
@@ -2697,7 +2697,7 @@ sap.ui.define([
|
|
|
2697
2697
|
* @param {boolean} bPreview return the tile in preview mode, default is true
|
|
2698
2698
|
* @returns {sap.ui.core.Control} the UI5 representation
|
|
2699
2699
|
* @since 1.11.0
|
|
2700
|
-
* @deprecated
|
|
2700
|
+
* @deprecated since 1.120
|
|
2701
2701
|
*/
|
|
2702
2702
|
this.getCatalogTileView = function (oCatalogTile, bPreview) {
|
|
2703
2703
|
bPreview = typeof bPreview !== "undefined" ? bPreview : true;
|
|
@@ -2991,7 +2991,7 @@ sap.ui.define([
|
|
|
2991
2991
|
* @returns {jQuery.Promise} Resolves once the bookmark was added.
|
|
2992
2992
|
* @see sap.ushell.services.URLParsing#getShellHash
|
|
2993
2993
|
* @since 1.11.0
|
|
2994
|
-
* @deprecated
|
|
2994
|
+
* @deprecated since 1.120
|
|
2995
2995
|
*/
|
|
2996
2996
|
this.addBookmark = function (oParameters, oGroup) {
|
|
2997
2997
|
var sChipId = sSTATIC_BASE_CHIP_ID;
|
|
@@ -3085,7 +3085,7 @@ sap.ui.define([
|
|
|
3085
3085
|
*
|
|
3086
3086
|
* @private
|
|
3087
3087
|
* @since 1.83.0
|
|
3088
|
-
* @deprecated
|
|
3088
|
+
* @deprecated since 1.120
|
|
3089
3089
|
*/
|
|
3090
3090
|
this.addCustomBookmark = function (oBookmarkConfig, oGroup) {
|
|
3091
3091
|
var oChipConfig = oBookmarkConfig.vizConfig["sap.flp"].chipConfig;
|
|
@@ -3117,7 +3117,7 @@ sap.ui.define([
|
|
|
3117
3117
|
*
|
|
3118
3118
|
* @private
|
|
3119
3119
|
* @since 1.83.0
|
|
3120
|
-
* @deprecated
|
|
3120
|
+
* @deprecated since 1.120
|
|
3121
3121
|
*/
|
|
3122
3122
|
this._getTileTargetConfiguration = function (sUrl) {
|
|
3123
3123
|
return Container.getServiceAsync("URLParsing").then(function (oUrlParsing) {
|
|
@@ -3156,7 +3156,7 @@ sap.ui.define([
|
|
|
3156
3156
|
* @returns {Promise<string[]>} Resolves with an array of the bag ids which where saved
|
|
3157
3157
|
*
|
|
3158
3158
|
* @since 1.83.0
|
|
3159
|
-
* @deprecated
|
|
3159
|
+
* @deprecated since 1.120
|
|
3160
3160
|
* @private
|
|
3161
3161
|
*/
|
|
3162
3162
|
this._updateBags = function (oChipInstance, oBags) {
|
|
@@ -3207,7 +3207,7 @@ sap.ui.define([
|
|
|
3207
3207
|
* @returns {Promise<undefined>} Resolves in case the chip initializes correctly.
|
|
3208
3208
|
*
|
|
3209
3209
|
* @since 1.83.0
|
|
3210
|
-
* @deprecated
|
|
3210
|
+
* @deprecated since 1.120
|
|
3211
3211
|
* @private
|
|
3212
3212
|
*/
|
|
3213
3213
|
this._checkBookmarkConfiguration = function (oChipInstance) {
|
|
@@ -3243,7 +3243,7 @@ sap.ui.define([
|
|
|
3243
3243
|
*
|
|
3244
3244
|
* @private
|
|
3245
3245
|
* @since 1.83.0
|
|
3246
|
-
* @deprecated
|
|
3246
|
+
* @deprecated since 1.120
|
|
3247
3247
|
*/
|
|
3248
3248
|
this._createBookmarkTile = function (sChipId, sUrl, oConfiguration, oBags, sTitle, oGroup) {
|
|
3249
3249
|
return Promise.all([
|
|
@@ -3319,7 +3319,7 @@ sap.ui.define([
|
|
|
3319
3319
|
* @returns {boolean}
|
|
3320
3320
|
* @see #addBookmark
|
|
3321
3321
|
* @since 1.17.1
|
|
3322
|
-
* @deprecated
|
|
3322
|
+
* @deprecated since 1.120
|
|
3323
3323
|
*/
|
|
3324
3324
|
LaunchPageAdapter.prototype._isBookmarkFor = function (oChipInstance, vIdentifier) {
|
|
3325
3325
|
var sChipId = oChipInstance.getChip().getBaseChipId();
|
|
@@ -3348,7 +3348,7 @@ sap.ui.define([
|
|
|
3348
3348
|
* In case of failure, an error message is passed.
|
|
3349
3349
|
* @see #addBookmark
|
|
3350
3350
|
* @since 1.17.1
|
|
3351
|
-
* @deprecated
|
|
3351
|
+
* @deprecated since 1.120
|
|
3352
3352
|
*/
|
|
3353
3353
|
LaunchPageAdapter.prototype._visitBookmarks = function (sUrl, fnVisitor) {
|
|
3354
3354
|
var aDeferreds = [];
|
|
@@ -3402,7 +3402,7 @@ sap.ui.define([
|
|
|
3402
3402
|
*
|
|
3403
3403
|
* @private
|
|
3404
3404
|
* @since 1.83.0
|
|
3405
|
-
* @deprecated
|
|
3405
|
+
* @deprecated since 1.120
|
|
3406
3406
|
*/
|
|
3407
3407
|
this._visitCustomBookmarks = function (oIdentifier, fnVisitor) {
|
|
3408
3408
|
if (!oIdentifier.chipId) {
|
|
@@ -3445,7 +3445,7 @@ sap.ui.define([
|
|
|
3445
3445
|
* In case of failure, an error message is passed.
|
|
3446
3446
|
* @see #addBookmark
|
|
3447
3447
|
* @since 1.17.1
|
|
3448
|
-
* @deprecated
|
|
3448
|
+
* @deprecated since 1.120
|
|
3449
3449
|
*/
|
|
3450
3450
|
this.countBookmarks = function (sUrl) {
|
|
3451
3451
|
return LaunchPageAdapter.prototype._visitBookmarks(sUrl);
|
|
@@ -3466,7 +3466,7 @@ sap.ui.define([
|
|
|
3466
3466
|
*
|
|
3467
3467
|
* @see #addCustomBookmark
|
|
3468
3468
|
* @since 1.83.0
|
|
3469
|
-
* @deprecated
|
|
3469
|
+
* @deprecated since 1.120
|
|
3470
3470
|
*
|
|
3471
3471
|
* @private
|
|
3472
3472
|
*/
|
|
@@ -3483,7 +3483,7 @@ sap.ui.define([
|
|
|
3483
3483
|
* @see #addBookmark
|
|
3484
3484
|
* @see #countBookmarks
|
|
3485
3485
|
* @since 1.17.1
|
|
3486
|
-
* @deprecated
|
|
3486
|
+
* @deprecated since 1.120
|
|
3487
3487
|
*/
|
|
3488
3488
|
this.deleteBookmarks = function (sUrl) {
|
|
3489
3489
|
return LaunchPageAdapter.prototype._visitBookmarks(sUrl, function (oChipInstance) {
|
|
@@ -3510,7 +3510,7 @@ sap.ui.define([
|
|
|
3510
3510
|
* @see #addCustomBookmark
|
|
3511
3511
|
* @see #countCustomBookmarks
|
|
3512
3512
|
* @since 1.83.0
|
|
3513
|
-
* @deprecated
|
|
3513
|
+
* @deprecated since 1.120
|
|
3514
3514
|
*
|
|
3515
3515
|
* @private
|
|
3516
3516
|
*/
|
|
@@ -3535,7 +3535,7 @@ sap.ui.define([
|
|
|
3535
3535
|
* @see #countBookmarks
|
|
3536
3536
|
* @see #deleteBookmarks
|
|
3537
3537
|
* @since 1.17.1
|
|
3538
|
-
* @deprecated
|
|
3538
|
+
* @deprecated since 1.120
|
|
3539
3539
|
*/
|
|
3540
3540
|
this.updateBookmarks = function (sUrl, oParameters) {
|
|
3541
3541
|
return LaunchPageAdapter.prototype._visitBookmarks(sUrl, function (oChipInstance) {
|
|
@@ -3644,7 +3644,7 @@ sap.ui.define([
|
|
|
3644
3644
|
* @see #addCustomBookmark
|
|
3645
3645
|
* @see #countCustomBookmarks
|
|
3646
3646
|
* @since 1.83.0
|
|
3647
|
-
* @deprecated
|
|
3647
|
+
* @deprecated since 1.120
|
|
3648
3648
|
*
|
|
3649
3649
|
* @private
|
|
3650
3650
|
*/
|
|
@@ -3707,7 +3707,7 @@ sap.ui.define([
|
|
|
3707
3707
|
* @param {string} sTileId the ID of the tile that has been added to the catalog (as returned by that OData POST operation)
|
|
3708
3708
|
* @private
|
|
3709
3709
|
* @since 1.16.4
|
|
3710
|
-
* @deprecated
|
|
3710
|
+
* @deprecated since 1.120
|
|
3711
3711
|
*/
|
|
3712
3712
|
this.onCatalogTileAdded = function (/*sTileId*/) {
|
|
3713
3713
|
bCatalogsValid = false;
|
|
@@ -3,14 +3,13 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview The <code>sap.ushell_abap.pbServices.ui2.Chip</code> object with related functions.
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
], function (
|
|
6
|
+
sap.ui.define([
|
|
7
|
+
"sap/ushell_abap/pbServices/ui2/Bag",
|
|
8
|
+
"sap/ushell_abap/pbServices/ui2/Utils",
|
|
9
|
+
"sap/ushell_abap/pbServices/ui2/Error",
|
|
10
|
+
"sap/ushell_abap/pbServices/ui2/ChipDefinition",
|
|
11
|
+
"sap/base/Log"
|
|
12
|
+
], function (
|
|
14
13
|
Bag,
|
|
15
14
|
Utils,
|
|
16
15
|
SrvcError,
|
|
@@ -523,7 +522,7 @@
|
|
|
523
522
|
* @returns {sap.ui.core.Control}
|
|
524
523
|
* this CHIP instance's SAPUI5 implementation as a control
|
|
525
524
|
* @since 1.2.0
|
|
526
|
-
* @deprecated since 1.97. Use <code>getImplementationAsSapui5Async</code> instead
|
|
525
|
+
* @deprecated since 1.97. Use <code>getImplementationAsSapui5Async</code> instead.
|
|
527
526
|
*
|
|
528
527
|
* @see #isStub()
|
|
529
528
|
*/
|
|
@@ -551,9 +550,9 @@
|
|
|
551
550
|
if ((sBaseChipId !== "X-SAP-UI2-CHIP:/UI2/STATIC_APPLAUNCHER") && (sBaseChipId !== "X-SAP-UI2-CHIP:/UI2/DYNAMIC_APPLAUNCHER")) {
|
|
552
551
|
if (oImplementation.$VirtualNamespace) {
|
|
553
552
|
oImplementation.$absolutePath = this.toAbsoluteUrl(oImplementation.basePath);
|
|
554
|
-
sap.ui.loader.config({paths: JSON.parse("{\"" + oImplementation.$Namespace.replace(/\./g, "/") + "\":\"" + oImplementation.$absolutePath + "\"}")});
|
|
553
|
+
sap.ui.loader.config({ paths: JSON.parse("{\"" + oImplementation.$Namespace.replace(/\./g, "/") + "\":\"" + oImplementation.$absolutePath + "\"}") });
|
|
555
554
|
} else {
|
|
556
|
-
sap.ui.loader.config({paths: JSON.parse("{\"" + oImplementation.$Namespace.replace(/\./g, "/") + "\":\"" + oImplementation.$UrlPrefix + "\"}")});
|
|
555
|
+
sap.ui.loader.config({ paths: JSON.parse("{\"" + oImplementation.$Namespace.replace(/\./g, "/") + "\":\"" + oImplementation.$UrlPrefix + "\"}") });
|
|
557
556
|
}
|
|
558
557
|
}
|
|
559
558
|
|
|
@@ -637,9 +636,9 @@
|
|
|
637
636
|
if ((sBaseChipId !== "X-SAP-UI2-CHIP:/UI2/STATIC_APPLAUNCHER") && (sBaseChipId !== "X-SAP-UI2-CHIP:/UI2/DYNAMIC_APPLAUNCHER")) {
|
|
638
637
|
if (oImplementation.$VirtualNamespace) {
|
|
639
638
|
oImplementation.$absolutePath = this.toAbsoluteUrl(oImplementation.basePath);
|
|
640
|
-
sap.ui.loader.config({paths: JSON.parse("{\"" + oImplementation.$Namespace.replace(/\./g, "/") + "\":\"" + oImplementation.$absolutePath + "\"}")});
|
|
639
|
+
sap.ui.loader.config({ paths: JSON.parse("{\"" + oImplementation.$Namespace.replace(/\./g, "/") + "\":\"" + oImplementation.$absolutePath + "\"}") });
|
|
641
640
|
} else {
|
|
642
|
-
sap.ui.loader.config({paths: JSON.parse("{\"" + oImplementation.$Namespace.replace(/\./g, "/") + "\":\"" + oImplementation.$UrlPrefix + "\"}")});
|
|
641
|
+
sap.ui.loader.config({ paths: JSON.parse("{\"" + oImplementation.$Namespace.replace(/\./g, "/") + "\":\"" + oImplementation.$UrlPrefix + "\"}") });
|
|
643
642
|
}
|
|
644
643
|
}
|
|
645
644
|
|
|
@@ -461,7 +461,7 @@ sap.ui.define([
|
|
|
461
461
|
* @returns {sap.ui.core.Control}
|
|
462
462
|
* this CHIP instance's SAPUI5 implementation as a control
|
|
463
463
|
* @since 1.2.0
|
|
464
|
-
* @deprecated since 1.97. Use <code>getImplementationAsSapui5Async</code> instead
|
|
464
|
+
* @deprecated since 1.97. Use <code>getImplementationAsSapui5Async</code> instead.
|
|
465
465
|
*
|
|
466
466
|
* @see #isStub()
|
|
467
467
|
*/
|
|
@@ -253,8 +253,7 @@ sap.ui.define([
|
|
|
253
253
|
* (since 1.5.0) whether to avoid caching
|
|
254
254
|
* @since 1.2.0
|
|
255
255
|
*
|
|
256
|
-
* @deprecated
|
|
257
|
-
* done automatically.
|
|
256
|
+
* @deprecated since 1.17. It is no longer necessary to fetch a CSRF token first; this is done automatically.
|
|
258
257
|
*/
|
|
259
258
|
this.readMetadata = function (fnSuccess, fnFailure, bNoCache) {
|
|
260
259
|
var sRequestUrl = oWrapper.getBaseUrl() + "$metadata" + (bNoCache ? "?" + Date.now() : "");
|