@sapui5/sap.cux.home 1.136.7 → 1.136.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.
Files changed (48) hide show
  1. package/package.json +1 -1
  2. package/src/sap/cux/home/.library +4 -1
  3. package/src/sap/cux/home/AdvancedSettingsPanel.d.ts.map +1 -1
  4. package/src/sap/cux/home/AdvancedSettingsPanel.js +3 -0
  5. package/src/sap/cux/home/AdvancedSettingsPanel.js.map +1 -1
  6. package/src/sap/cux/home/AdvancedSettingsPanel.ts +3 -0
  7. package/src/sap/cux/home/App.d.ts.map +1 -1
  8. package/src/sap/cux/home/App.js +3 -0
  9. package/src/sap/cux/home/App.js.map +1 -1
  10. package/src/sap/cux/home/App.ts +3 -0
  11. package/src/sap/cux/home/AppsContainer.d.ts.map +1 -1
  12. package/src/sap/cux/home/AppsContainer.js +3 -2
  13. package/src/sap/cux/home/AppsContainer.js.map +1 -1
  14. package/src/sap/cux/home/AppsContainer.ts +3 -2
  15. package/src/sap/cux/home/BaseAppPanel.d.ts.map +1 -1
  16. package/src/sap/cux/home/BaseAppPanel.js +6 -1
  17. package/src/sap/cux/home/BaseAppPanel.js.map +1 -1
  18. package/src/sap/cux/home/BaseAppPanel.ts +6 -1
  19. package/src/sap/cux/home/ContentAdditionDialog.d.ts.map +1 -1
  20. package/src/sap/cux/home/ContentAdditionDialog.js +2 -3
  21. package/src/sap/cux/home/ContentAdditionDialog.js.map +1 -1
  22. package/src/sap/cux/home/ContentAdditionDialog.ts +2 -3
  23. package/src/sap/cux/home/FavAppPanel.d.ts +3 -0
  24. package/src/sap/cux/home/FavAppPanel.d.ts.map +1 -1
  25. package/src/sap/cux/home/FavAppPanel.js +172 -140
  26. package/src/sap/cux/home/FavAppPanel.js.map +1 -1
  27. package/src/sap/cux/home/FavAppPanel.ts +43 -26
  28. package/src/sap/cux/home/i18n/messagebundle_cnr.properties +6 -6
  29. package/src/sap/cux/home/i18n/messagebundle_de.properties +2 -2
  30. package/src/sap/cux/home/i18n/messagebundle_id.properties +14 -14
  31. package/src/sap/cux/home/i18n/messagebundle_it.properties +4 -4
  32. package/src/sap/cux/home/i18n/messagebundle_sh.properties +6 -6
  33. package/src/sap/cux/home/i18n/messagebundle_sl.properties +1 -1
  34. package/src/sap/cux/home/i18n/messagebundle_sr.properties +6 -6
  35. package/src/sap/cux/home/i18n/messagebundle_uk.properties +4 -4
  36. package/src/sap/cux/home/interface/AppsInterface.d.ts +1 -0
  37. package/src/sap/cux/home/interface/AppsInterface.d.ts.map +1 -1
  38. package/src/sap/cux/home/interface/AppsInterface.js.map +1 -1
  39. package/src/sap/cux/home/interface/AppsInterface.ts +1 -0
  40. package/src/sap/cux/home/library.js +1 -1
  41. package/src/sap/cux/home/library.js.map +1 -1
  42. package/src/sap/cux/home/library.ts +1 -1
  43. package/src/sap/cux/home/utils/AppManager.d.ts +7 -6
  44. package/src/sap/cux/home/utils/AppManager.d.ts.map +1 -1
  45. package/src/sap/cux/home/utils/AppManager.js +1 -1
  46. package/src/sap/cux/home/utils/AppManager.js.map +1 -1
  47. package/src/sap/cux/home/utils/AppManager.ts +9 -10
  48. package/ui5.yaml +1 -0
@@ -368,60 +368,59 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
368
368
  const _this3 = this;
369
369
  let aPromise = [];
370
370
  return Promise.resolve(_this3._getAppPersonalization()).then(function (aPersonalization) {
371
- return Promise.resolve(Container.getServiceAsync("Pages")).then(function (pagesService) {
372
- function _temp4() {
373
- //update personalization
374
- return Promise.resolve(_this3.setFavAppsPersonalization(aPersonalization)).then(function () {
375
- return aPromise.reduce((chain, current) => {
376
- return chain.then(() => current());
377
- }, Promise.resolve()).then(() => {
378
- return _this3.updateDefaultSectionPersonalization(aPersonalization);
379
- });
371
+ function _temp5() {
372
+ //update personalization
373
+ return Promise.resolve(_this3.setFavAppsPersonalization(aPersonalization)).then(function () {
374
+ return aPromise.reduce((chain, current) => {
375
+ return chain.then(() => current());
376
+ }, Promise.resolve()).then(() => {
377
+ return _this3.updateDefaultSectionPersonalization(aPersonalization);
380
378
  });
381
- }
382
- const _temp3 = _forOf(sections, function (section) {
383
- const sectionViz = section.visualizations;
384
- const _temp2 = function () {
385
- if (sectionViz?.length) {
386
- const _temp = function () {
387
- if (section.default || section.id === MYAPPS_SECTION_ID) {
388
- const filteredPersonalizations = _this3.filterPersonalizations(importedPersonalizations, section);
389
- aPersonalization = aPersonalization.concat(filteredPersonalizations);
390
- aPromise.push(() => {
391
- return section.default ? _this3.addSectionViz(sectionViz) : _this3.addSectionViz(sectionViz, MYAPPS_SECTION_ID);
392
- });
393
- } else {
394
- return Promise.resolve(_this3.appManagerInstance._getSections(true)).then(function (sections) {
395
- //check if this generate id can be replaced with any exposed method
396
- const sNewSectionId = pagesService._generateId(MYHOME_PAGE_ID);
397
- const filteredPersonalizations = _this3.filterPersonalizations(importedPersonalizations, section, sNewSectionId);
398
- //update section id in personalization data
399
- aPersonalization = aPersonalization.concat(filteredPersonalizations);
379
+ });
380
+ }
381
+ const _temp4 = _forOf(sections, function (section) {
382
+ const sectionViz = section.visualizations;
383
+ const _temp3 = function () {
384
+ if (sectionViz?.length) {
385
+ function _temp2() {
386
+ const filteredPersonalizations = _this3.filterPersonalizations(importedPersonalizations, section);
387
+ aPersonalization = aPersonalization.concat(filteredPersonalizations);
388
+ }
389
+ const _temp = function () {
390
+ if (section.default || section.id === MYAPPS_SECTION_ID) {
391
+ aPromise.push(() => {
392
+ return section.default ? _this3.addSectionViz(sectionViz) : _this3.addSectionViz(sectionViz, MYAPPS_SECTION_ID);
393
+ });
394
+ } else {
395
+ return Promise.resolve(_this3.appManagerInstance._getSections(true)).then(function (sections) {
396
+ // If Section exists, add visualization to existing section else create a new section with same sectionId
397
+ const sectionIndex = sections.findIndex(n => n.id === section.id);
398
+ if (sectionIndex > -1) {
399
+ aPromise.push(() => {
400
+ return _this3.addSectionViz(sectionViz, section.id);
401
+ });
402
+ } else {
400
403
  aPromise.push(() => {
401
404
  return _this3.appManagerInstance.addSection({
402
405
  sectionIndex: sections.length,
403
406
  sectionProperties: {
404
- id: sNewSectionId,
407
+ id: section.id,
405
408
  title: section.title,
406
409
  visible: true,
407
- visualizations: sectionViz?.map(oViz => {
408
- //check if this generate id can be replaced with any exposed method
409
- oViz.id = pagesService._generateId(MYHOME_PAGE_ID);
410
- return oViz;
411
- })
410
+ visualizations: sectionViz
412
411
  }
413
412
  });
414
413
  });
415
- });
416
- }
417
- }();
418
- if (_temp && _temp.then) return _temp.then(function () {});
419
- }
420
- }();
421
- if (_temp2 && _temp2.then) return _temp2.then(function () {});
422
- });
423
- return _temp3 && _temp3.then ? _temp3.then(_temp4) : _temp4(_temp3);
414
+ }
415
+ });
416
+ }
417
+ }();
418
+ return _temp && _temp.then ? _temp.then(_temp2) : _temp2(_temp);
419
+ }
420
+ }();
421
+ if (_temp3 && _temp3.then) return _temp3.then(function () {});
424
422
  });
423
+ return _temp4 && _temp4.then ? _temp4.then(_temp5) : _temp5(_temp4);
425
424
  });
426
425
  } catch (e) {
427
426
  return Promise.reject(e);
@@ -492,10 +491,40 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
492
491
  try {
493
492
  const _this5 = this;
494
493
  return Promise.resolve(sectionsViz.reduce((promiseChain, oViz) => {
495
- return promiseChain.then(() => {
496
- return _this5._addVisualization({
497
- visualization: oViz
498
- }, sSectionId);
494
+ return promiseChain.then(function () {
495
+ try {
496
+ let _exit = false;
497
+ function _temp7(_result) {
498
+ return _exit ? _result : _this5._addVisualization({
499
+ visualization: oViz
500
+ }, sSectionId);
501
+ }
502
+ const _temp6 = function () {
503
+ if (oViz.isBookmark && sSectionId) {
504
+ return Promise.resolve(_this5.appManagerInstance._getSections()).then(function (sections) {
505
+ const defaultSection = sections.find(section => section.default);
506
+ const targetSection = sections.find(section => section.id === sSectionId);
507
+ if (defaultSection && targetSection) {
508
+ const moveConfig = {
509
+ sourceSectionIndex: sections.indexOf(defaultSection),
510
+ sourceVisualizationIndex: defaultSection.visualizations.length,
511
+ targetSectionIndex: sections.indexOf(targetSection),
512
+ targetVisualizationIndex: targetSection.visualizations.length
513
+ };
514
+ const _this5$_addVisualizat = _this5._addVisualization({
515
+ visualization: oViz
516
+ }, sSectionId, moveConfig);
517
+ _exit = true;
518
+ return _this5$_addVisualizat;
519
+ }
520
+ });
521
+ }
522
+ }();
523
+ // in case of bookmark, move the viz to target section
524
+ return Promise.resolve(_temp6 && _temp6.then ? _temp6.then(_temp7) : _temp7(_temp6));
525
+ } catch (e) {
526
+ return Promise.reject(e);
527
+ }
499
528
  });
500
529
  }, Promise.resolve()));
501
530
  } catch (e) {
@@ -559,19 +588,19 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
559
588
  _switchToRecommendedIfNoFavApps: function _switchToRecommendedIfNoFavApps(apps, groups) {
560
589
  try {
561
590
  const _this7 = this;
562
- function _temp6() {
591
+ function _temp9() {
563
592
  _this7._isInitialLoad = false;
564
593
  }
565
594
  const container = _this7.getParent();
566
595
  const panels = container.getContent();
567
596
  const recommendedPanel = panels ? panels.find(panel => panel instanceof RecommendedAppPanel) : null;
568
- const _temp5 = function () {
597
+ const _temp8 = function () {
569
598
  if (_this7._isInitialLoad && [...apps, ...groups].length === 0 && recommendedPanel) {
570
599
  container.setProperty?.("selectedKey", "recommendedApps");
571
600
  return Promise.resolve(container.refreshPanel(recommendedPanel)).then(function () {});
572
601
  }
573
602
  }();
574
- return Promise.resolve(_temp5 && _temp5.then ? _temp5.then(_temp6) : _temp6(_temp5));
603
+ return Promise.resolve(_temp8 && _temp8.then ? _temp8.then(_temp9) : _temp9(_temp8));
575
604
  } catch (e) {
576
605
  return Promise.reject(e);
577
606
  }
@@ -863,24 +892,24 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
863
892
  dropItemIndex
864
893
  };
865
894
  //adjust drap drop info
866
- const _temp9 = function () {
895
+ const _temp10 = function () {
867
896
  if (dragItemIndex !== dropItemIndex) {
868
- const _temp8 = function () {
897
+ const _temp1 = function () {
869
898
  if (!dragItem?.isA("sap.cux.home.Group") && !dropItem?.isA("sap.cux.home.Group")) {
870
899
  return Promise.resolve(_this0._adjustAppDragDropInfo(dragDropInfo, appGroupId)).then(function () {});
871
900
  } else {
872
- const _temp7 = function () {
901
+ const _temp0 = function () {
873
902
  if (dragItem?.isA("sap.cux.home.Group")) {
874
903
  return Promise.resolve(_this0._adjustGroupDragDropInfo(dragDropInfo)).then(function () {});
875
904
  }
876
905
  }();
877
- if (_temp7 && _temp7.then) return _temp7.then(function () {});
906
+ if (_temp0 && _temp0.then) return _temp0.then(function () {});
878
907
  }
879
908
  }();
880
- if (_temp8 && _temp8.then) return _temp8.then(function () {});
909
+ if (_temp1 && _temp1.then) return _temp1.then(function () {});
881
910
  }
882
911
  }();
883
- return Promise.resolve(_temp9 && _temp9.then ? _temp9.then(function () {
912
+ return Promise.resolve(_temp10 && _temp10.then ? _temp10.then(function () {
884
913
  return dragDropInfo;
885
914
  }) : dragDropInfo);
886
915
  } catch (e) {
@@ -986,7 +1015,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
986
1015
  const _this11 = this;
987
1016
  const dragTile = event.getParameter?.("draggedControl");
988
1017
  return Promise.resolve(_this11._getDragDropInfo(event, appGroupId)).then(function (dragDropInfo) {
989
- function _temp10() {
1018
+ function _temp13() {
990
1019
  dragTile.removeStyleClass("sapMGTPressActive");
991
1020
  }
992
1021
  const {
@@ -997,13 +1026,13 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
997
1026
  dropItem
998
1027
  } = dragDropInfo;
999
1028
  if (dragItemIndex === dropItemIndex) return;
1000
- const _temp1 = function () {
1029
+ const _temp12 = function () {
1001
1030
  if (dropPosition === dnd.RelativeDropPosition.On) {
1002
1031
  return Promise.resolve(_this11._handleOnItemDrop(dragItem, dropItem)).then(function () {
1003
1032
  void _this11.refresh();
1004
1033
  });
1005
1034
  } else {
1006
- const _temp0 = function () {
1035
+ const _temp11 = function () {
1007
1036
  if (dropPosition === dnd.RelativeDropPosition.After || dropPosition === dnd.RelativeDropPosition.Before) {
1008
1037
  _this11._setBusy(true);
1009
1038
  return Promise.resolve(_this11._handleItemsReorder(dragDropInfo, appGroupId)).then(function () {
@@ -1016,10 +1045,10 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1016
1045
  });
1017
1046
  }
1018
1047
  }();
1019
- if (_temp0 && _temp0.then) return _temp0.then(function () {});
1048
+ if (_temp11 && _temp11.then) return _temp11.then(function () {});
1020
1049
  }
1021
1050
  }();
1022
- return _temp1 && _temp1.then ? _temp1.then(_temp10) : _temp10(_temp1);
1051
+ return _temp12 && _temp12.then ? _temp12.then(_temp13) : _temp13(_temp12);
1023
1052
  });
1024
1053
  } catch (e) {
1025
1054
  return Promise.reject(e);
@@ -1038,7 +1067,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1038
1067
  try {
1039
1068
  const _this12 = this;
1040
1069
  if (dragItem.isA("sap.cux.home.Group")) return Promise.resolve();
1041
- const _temp11 = function () {
1070
+ const _temp14 = function () {
1042
1071
  if (!dropItem.isA("sap.cux.home.Group")) {
1043
1072
  //if both dragged and dropped items are apps, create group dialog is opened.
1044
1073
  const dragApp = dragItem;
@@ -1054,7 +1083,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1054
1083
  });
1055
1084
  }
1056
1085
  }();
1057
- return Promise.resolve(_temp11 && _temp11.then ? _temp11.then(function () {}) : void 0);
1086
+ return Promise.resolve(_temp14 && _temp14.then ? _temp14.then(function () {}) : void 0);
1058
1087
  } catch (e) {
1059
1088
  return Promise.reject(e);
1060
1089
  }
@@ -1076,7 +1105,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1076
1105
  } = dragDropInfo;
1077
1106
  const isDragItemGroup = dragItem.isA("sap.cux.home.Group");
1078
1107
  const isDropItemGroup = dropItem.isA("sap.cux.home.Group");
1079
- const _temp13 = function () {
1108
+ const _temp16 = function () {
1080
1109
  if (!isDragItemGroup && !isDropItemGroup) {
1081
1110
  const drapApp = dragItem;
1082
1111
  const dropApp = dropItem;
@@ -1089,15 +1118,15 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1089
1118
  })).then(function () {});
1090
1119
  });
1091
1120
  } else {
1092
- const _temp12 = function () {
1121
+ const _temp15 = function () {
1093
1122
  if (isDragItemGroup && isDropItemGroup) {
1094
1123
  return Promise.resolve(_this13.appManagerInstance.moveSection(dragItemIndex, dropItemIndex)).then(function () {});
1095
1124
  }
1096
1125
  }();
1097
- if (_temp12 && _temp12.then) return _temp12.then(function () {});
1126
+ if (_temp15 && _temp15.then) return _temp15.then(function () {});
1098
1127
  }
1099
1128
  }();
1100
- return Promise.resolve(_temp13 && _temp13.then ? _temp13.then(function () {}) : void 0);
1129
+ return Promise.resolve(_temp16 && _temp16.then ? _temp16.then(function () {}) : void 0);
1101
1130
  } catch (e) {
1102
1131
  return Promise.reject(e);
1103
1132
  }
@@ -1523,12 +1552,12 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1523
1552
  try {
1524
1553
  const _this14 = this;
1525
1554
  const groupNameInput = _this14._controlMap.get(`${_this14.getId()}-createGroupDialog-mainPage-form-groupName-input`);
1526
- const _temp16 = function () {
1555
+ const _temp19 = function () {
1527
1556
  if (_this14._validateGroupName()) {
1528
- const _temp15 = function () {
1557
+ const _temp18 = function () {
1529
1558
  if (_this14._selectedApps?.length) {
1530
1559
  _this14._setBusy(true);
1531
- const _temp14 = _finallyRethrows(function () {
1560
+ const _temp17 = _finallyRethrows(function () {
1532
1561
  return _catch(function () {
1533
1562
  return Promise.resolve(_this14._createGroup({
1534
1563
  selectedApps: _this14._selectedApps,
@@ -1549,21 +1578,21 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1549
1578
  Log.error(err);
1550
1579
  MessageToast.show(_this14._i18nBundle.getText("unableToCreateGroup"));
1551
1580
  });
1552
- }, function (_wasThrown, _result) {
1581
+ }, function (_wasThrown, _result2) {
1553
1582
  _this14._setBusy(false);
1554
1583
  _this14._closeCreateGroupDialog();
1555
- if (_wasThrown) throw _result;
1556
- return _result;
1584
+ if (_wasThrown) throw _result2;
1585
+ return _result2;
1557
1586
  });
1558
- if (_temp14 && _temp14.then) return _temp14.then(function () {});
1587
+ if (_temp17 && _temp17.then) return _temp17.then(function () {});
1559
1588
  } else {
1560
1589
  _this14._setNoAppsSelectedError(true);
1561
1590
  }
1562
1591
  }();
1563
- if (_temp15 && _temp15.then) return _temp15.then(function () {});
1592
+ if (_temp18 && _temp18.then) return _temp18.then(function () {});
1564
1593
  }
1565
1594
  }();
1566
- return Promise.resolve(_temp16 && _temp16.then ? _temp16.then(function () {}) : void 0);
1595
+ return Promise.resolve(_temp19 && _temp19.then ? _temp19.then(function () {}) : void 0);
1567
1596
  } catch (e) {
1568
1597
  return Promise.reject(e);
1569
1598
  }
@@ -1683,7 +1712,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1683
1712
  _handleColorSelect: function _handleColorSelect(item, color) {
1684
1713
  try {
1685
1714
  const _this16 = this;
1686
- function _temp18() {
1715
+ function _temp21() {
1687
1716
  _this16.oEventBus.publish("appsChannel", "favAppColorChanged", {
1688
1717
  item,
1689
1718
  color
@@ -1707,7 +1736,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1707
1736
  }
1708
1737
 
1709
1738
  //update personalization
1710
- const _temp17 = function () {
1739
+ const _temp20 = function () {
1711
1740
  if (groupId) {
1712
1741
  //if group
1713
1742
  void _this16._updateGroupPersonalization(groupId, selectedColor);
@@ -1727,7 +1756,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1727
1756
  });
1728
1757
  }
1729
1758
  }();
1730
- return Promise.resolve(_temp17 && _temp17.then ? _temp17.then(_temp18) : _temp18(_temp17));
1759
+ return Promise.resolve(_temp20 && _temp20.then ? _temp20.then(_temp21) : _temp21(_temp20));
1731
1760
  } catch (e) {
1732
1761
  return Promise.reject(e);
1733
1762
  }
@@ -1820,10 +1849,10 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1820
1849
  emphasizedAction: actionText,
1821
1850
  onClose: function (action) {
1822
1851
  try {
1823
- const _temp20 = function () {
1852
+ const _temp23 = function () {
1824
1853
  if (action === actionText) {
1825
1854
  _this17._setBusy(true);
1826
- const _temp19 = _finallyRethrows(function () {
1855
+ const _temp22 = _finallyRethrows(function () {
1827
1856
  return _catch(function () {
1828
1857
  return Promise.resolve(_this17._removeApp(app, group)).then(function () {
1829
1858
  if (lastAppInGroup) {
@@ -1839,15 +1868,15 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1839
1868
  Log.error(err);
1840
1869
  MessageToast.show(_this17._i18nBundle.getText("unableToRemoveApp"));
1841
1870
  });
1842
- }, function (_wasThrown2, _result2) {
1871
+ }, function (_wasThrown2, _result3) {
1843
1872
  _this17._setBusy(false);
1844
- if (_wasThrown2) throw _result2;
1845
- return _result2;
1873
+ if (_wasThrown2) throw _result3;
1874
+ return _result3;
1846
1875
  });
1847
- if (_temp19 && _temp19.then) return _temp19.then(function () {});
1876
+ if (_temp22 && _temp22.then) return _temp22.then(function () {});
1848
1877
  }
1849
1878
  }();
1850
- return Promise.resolve(_temp20 && _temp20.then ? _temp20.then(function () {}) : void 0);
1879
+ return Promise.resolve(_temp23 && _temp23.then ? _temp23.then(function () {}) : void 0);
1851
1880
  } catch (e) {
1852
1881
  return Promise.reject(e);
1853
1882
  }
@@ -1870,7 +1899,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1870
1899
  groupId = group?.getGroupId(),
1871
1900
  appId = app.getUrl();
1872
1901
  return Promise.resolve(_this18.appManagerInstance.getVisualization(appId, groupId)).then(function (viz) {
1873
- const _temp22 = function () {
1902
+ const _temp25 = function () {
1874
1903
  if (lastAppInGroup) {
1875
1904
  //if last app in group, then delete the group as well
1876
1905
  return Promise.resolve(_this18._deleteGroup(groupId)).then(function () {});
@@ -1880,7 +1909,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1880
1909
  //for apps outside group i.e. for favorite apps delete duplicate apps as well
1881
1910
  visualizationsToBeDeleted = visualizationsToBeDeleted.concat(viz?.persConfig?.duplicateApps?.map(viz => viz.visualization?.id));
1882
1911
  }
1883
- const _temp21 = function () {
1912
+ const _temp24 = function () {
1884
1913
  if (viz?.persConfig?.sectionId && visualizationsToBeDeleted.length > 0) {
1885
1914
  return Promise.resolve(_this18.appManagerInstance.removeVisualizations({
1886
1915
  sectionId: viz.persConfig.sectionId,
@@ -1895,10 +1924,10 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1895
1924
  });
1896
1925
  }
1897
1926
  }();
1898
- if (_temp21 && _temp21.then) return _temp21.then(function () {});
1927
+ if (_temp24 && _temp24.then) return _temp24.then(function () {});
1899
1928
  }
1900
1929
  }();
1901
- if (_temp22 && _temp22.then) return _temp22.then(function () {});
1930
+ if (_temp25 && _temp25.then) return _temp25.then(function () {});
1902
1931
  });
1903
1932
  } catch (e) {
1904
1933
  return Promise.reject(e);
@@ -1916,7 +1945,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1916
1945
  const _this19 = this;
1917
1946
  const sourceGroup = sourceGroupId ? _this19._getGroup(sourceGroupId) : undefined,
1918
1947
  isLastAppInGroup = sourceGroup?.getApps()?.length === 1;
1919
- const _temp23 = function () {
1948
+ const _temp26 = function () {
1920
1949
  if (isLastAppInGroup) {
1921
1950
  const confirmationMessage = _this19._i18nBundle.getText("moveAppMessage", [app.getTitle()]);
1922
1951
  const confirmationTitle = _this19._i18nBundle.getText("delete");
@@ -1935,7 +1964,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1935
1964
  return Promise.resolve(_this19._moveAppAndHandleGroupChanges(app, sourceGroupId, targetGroupId)).then(function () {});
1936
1965
  }
1937
1966
  }();
1938
- return Promise.resolve(_temp23 && _temp23.then ? _temp23.then(function () {}) : void 0);
1967
+ return Promise.resolve(_temp26 && _temp26.then ? _temp26.then(function () {}) : void 0);
1939
1968
  } catch (e) {
1940
1969
  return Promise.reject(e);
1941
1970
  }
@@ -1955,16 +1984,16 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1955
1984
  targetGroup = targetGroupId ? _this20._getGroup(targetGroupId) : null,
1956
1985
  sTargetGroupTile = targetGroup?.getTitle(),
1957
1986
  isLastAppInGroup = sourceGroup?.getApps()?.length === 1;
1958
- const _temp26 = _finallyRethrows(function () {
1987
+ const _temp29 = _finallyRethrows(function () {
1959
1988
  return _catch(function () {
1960
1989
  _this20._setBusy(true);
1961
1990
  return Promise.resolve(_this20._moveAppToGroup(app, sourceGroupId, targetGroupId)).then(function () {
1962
- function _temp25() {
1991
+ function _temp28() {
1963
1992
  const sMsg = sTargetGroupTile ? _this20._i18nBundle.getText("appMoved", [sTargetGroupTile]) : _this20._i18nBundle.getText("appUngrouped");
1964
1993
  MessageToast.show(sMsg);
1965
1994
  return Promise.resolve(_this20.refresh()).then(function () {});
1966
1995
  }
1967
- const _temp24 = function () {
1996
+ const _temp27 = function () {
1968
1997
  if (isLastAppInGroup) {
1969
1998
  return Promise.resolve(_this20._deleteGroup(sourceGroupId)).then(function () {
1970
1999
  _this20._closeGroupDetailDialog();
@@ -1974,17 +2003,17 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1974
2003
  }
1975
2004
  }();
1976
2005
  //delete group, if it is the last app in the group
1977
- return _temp24 && _temp24.then ? _temp24.then(_temp25) : _temp25(_temp24);
2006
+ return _temp27 && _temp27.then ? _temp27.then(_temp28) : _temp28(_temp27);
1978
2007
  });
1979
2008
  }, function (error) {
1980
2009
  Log.error(error);
1981
2010
  });
1982
- }, function (_wasThrown3, _result3) {
2011
+ }, function (_wasThrown3, _result4) {
1983
2012
  _this20._setBusy(false);
1984
- if (_wasThrown3) throw _result3;
1985
- return _result3;
2013
+ if (_wasThrown3) throw _result4;
2014
+ return _result4;
1986
2015
  });
1987
- return Promise.resolve(_temp26 && _temp26.then ? _temp26.then(function () {}) : void 0);
2016
+ return Promise.resolve(_temp29 && _temp29.then ? _temp29.then(function () {}) : void 0);
1988
2017
  } catch (e) {
1989
2018
  return Promise.reject(e);
1990
2019
  }
@@ -2037,9 +2066,9 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2037
2066
  const isTargetGroupDefault = !targetGroupId; //if group id is not passed, then we consider it as default section
2038
2067
  const isSourceGroupDefault = !sourceGroupId;
2039
2068
  const targetSectionIndex = sections.findIndex(section => !targetGroupId ? section.default : section.id === targetGroupId);
2040
- const _temp31 = function () {
2069
+ const _temp34 = function () {
2041
2070
  if (sourceVisualization) {
2042
- function _temp30() {
2071
+ function _temp33() {
2043
2072
  return Promise.resolve(_this21.appManagerInstance._getSections(true)).then(function (sections) {
2044
2073
  const defaultSection = sections.find(oSection => oSection.default);
2045
2074
  return Promise.resolve(_this21._updateAppPersonalization([{
@@ -2049,11 +2078,11 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2049
2078
  }])).then(function () {});
2050
2079
  });
2051
2080
  }
2052
- const _temp29 = function () {
2081
+ const _temp32 = function () {
2053
2082
  if (isTargetGroupDefault) {
2054
2083
  return Promise.resolve(_this21._moveAppToDefaultGroup(sourceVisualization)).then(function () {});
2055
2084
  } else {
2056
- function _temp28() {
2085
+ function _temp31() {
2057
2086
  return Promise.resolve(_this21.appManagerInstance.moveVisualization({
2058
2087
  sourceSectionIndex: sourceSectionIndex,
2059
2088
  sourceVisualizationIndex: sourceVisualizationIndex,
@@ -2061,19 +2090,19 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2061
2090
  targetVisualizationIndex: -1
2062
2091
  })).then(function () {});
2063
2092
  }
2064
- const _temp27 = function () {
2093
+ const _temp30 = function () {
2065
2094
  if (isSourceGroupDefault) {
2066
2095
  //remove duplicate apps
2067
2096
  return Promise.resolve(_this21._removeDuplicateVisualizations(sourceVisualization)).then(function () {});
2068
2097
  }
2069
2098
  }();
2070
- return _temp27 && _temp27.then ? _temp27.then(_temp28) : _temp28(_temp27);
2099
+ return _temp30 && _temp30.then ? _temp30.then(_temp31) : _temp31(_temp30);
2071
2100
  }
2072
2101
  }();
2073
- return _temp29 && _temp29.then ? _temp29.then(_temp30) : _temp30(_temp29);
2102
+ return _temp32 && _temp32.then ? _temp32.then(_temp33) : _temp33(_temp32);
2074
2103
  }
2075
2104
  }();
2076
- if (_temp31 && _temp31.then) return _temp31.then(function () {});
2105
+ if (_temp34 && _temp34.then) return _temp34.then(function () {});
2077
2106
  });
2078
2107
  } catch (e) {
2079
2108
  return Promise.reject(e);
@@ -2089,7 +2118,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2089
2118
  try {
2090
2119
  const _this22 = this;
2091
2120
  return Promise.resolve(_this22._addVisualization(visualization)).then(function () {
2092
- const _temp32 = function () {
2121
+ const _temp35 = function () {
2093
2122
  if (visualization.persConfig?.sectionId && visualization.visualization?.id) {
2094
2123
  return Promise.resolve(_this22.appManagerInstance.removeVisualizations({
2095
2124
  sectionId: visualization.persConfig?.sectionId,
@@ -2097,7 +2126,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2097
2126
  })).then(function () {});
2098
2127
  }
2099
2128
  }();
2100
- if (_temp32 && _temp32.then) return _temp32.then(function () {});
2129
+ if (_temp35 && _temp35.then) return _temp35.then(function () {});
2101
2130
  });
2102
2131
  } catch (e) {
2103
2132
  return Promise.reject(e);
@@ -2113,7 +2142,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2113
2142
  try {
2114
2143
  const _this23 = this;
2115
2144
  const vizIdsToBeDeleted = visualization?.persConfig?.duplicateApps?.map(oViz => oViz.visualization?.id) || [];
2116
- const _temp33 = function () {
2145
+ const _temp36 = function () {
2117
2146
  if (visualization.persConfig?.sectionId && vizIdsToBeDeleted.length > 0) {
2118
2147
  return Promise.resolve(_this23.appManagerInstance.removeVisualizations({
2119
2148
  sectionId: visualization.persConfig?.sectionId,
@@ -2121,7 +2150,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2121
2150
  })).then(function () {});
2122
2151
  }
2123
2152
  }();
2124
- return Promise.resolve(_temp33 && _temp33.then ? _temp33.then(function () {}) : void 0);
2153
+ return Promise.resolve(_temp36 && _temp36.then ? _temp36.then(function () {}) : void 0);
2125
2154
  } catch (e) {
2126
2155
  return Promise.reject(e);
2127
2156
  }
@@ -2177,7 +2206,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2177
2206
  emphasizedAction: deleteAction,
2178
2207
  onClose: function (action) {
2179
2208
  try {
2180
- const _temp34 = function () {
2209
+ const _temp37 = function () {
2181
2210
  if (action === deleteAction) {
2182
2211
  _this24._setBusy(true);
2183
2212
  return Promise.resolve(_this24._deleteGroup(group.getGroupId())).then(function () {
@@ -2190,7 +2219,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2190
2219
  void _this24._ungroupApps(group.getGroupId());
2191
2220
  }
2192
2221
  }();
2193
- return Promise.resolve(_temp34 && _temp34.then ? _temp34.then(function () {}) : void 0);
2222
+ return Promise.resolve(_temp37 && _temp37.then ? _temp37.then(function () {}) : void 0);
2194
2223
  } catch (e) {
2195
2224
  return Promise.reject(e);
2196
2225
  }
@@ -2208,7 +2237,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2208
2237
  try {
2209
2238
  const _this25 = this;
2210
2239
  _this25._setBusy(true);
2211
- const _temp37 = _finallyRethrows(function () {
2240
+ const _temp40 = _finallyRethrows(function () {
2212
2241
  return _catch(function () {
2213
2242
  return Promise.resolve(_this25.appManagerInstance.getSectionVisualizations(groupId)).then(function (visualizations) {
2214
2243
  return Promise.resolve(_this25.appManagerInstance._getSections()).then(function (sections) {
@@ -2225,11 +2254,11 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2225
2254
  isTargetGroupDefault: true
2226
2255
  };
2227
2256
  }))).then(function () {
2228
- function _temp36() {
2257
+ function _temp39() {
2229
2258
  MessageToast.show(_this25._i18nBundle.getText("appsUngrouped") ?? "");
2230
2259
  return Promise.resolve(_this25.refresh()).then(function () {});
2231
2260
  }
2232
- const _temp35 = function () {
2261
+ const _temp38 = function () {
2233
2262
  if (section?.preset) {
2234
2263
  return Promise.resolve(_this25.appManagerInstance.removeVisualizations({
2235
2264
  sectionId: groupId,
@@ -2239,7 +2268,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2239
2268
  return Promise.resolve(_this25._deleteGroup(groupId)).then(function () {});
2240
2269
  }
2241
2270
  }();
2242
- return _temp35 && _temp35.then ? _temp35.then(_temp36) : _temp36(_temp35);
2271
+ return _temp38 && _temp38.then ? _temp38.then(_temp39) : _temp39(_temp38);
2243
2272
  });
2244
2273
  });
2245
2274
  });
@@ -2249,13 +2278,13 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2249
2278
  Log.error(error);
2250
2279
  MessageToast.show(_this25._i18nBundle.getText("unableToUngroupApps") ?? "");
2251
2280
  });
2252
- }, function (_wasThrown4, _result4) {
2281
+ }, function (_wasThrown4, _result5) {
2253
2282
  _this25._setBusy(false);
2254
2283
  _this25._closeGroupDetailDialog();
2255
- if (_wasThrown4) throw _result4;
2256
- return _result4;
2284
+ if (_wasThrown4) throw _result5;
2285
+ return _result5;
2257
2286
  });
2258
- return Promise.resolve(_temp37 && _temp37.then ? _temp37.then(function () {}) : void 0);
2287
+ return Promise.resolve(_temp40 && _temp40.then ? _temp40.then(function () {}) : void 0);
2259
2288
  } catch (e) {
2260
2289
  return Promise.reject(e);
2261
2290
  }
@@ -2302,7 +2331,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2302
2331
  try {
2303
2332
  const _this27 = this;
2304
2333
  const group = _this27._getGroup(groupId);
2305
- const _temp38 = function () {
2334
+ const _temp41 = function () {
2306
2335
  if (group) {
2307
2336
  return Promise.resolve(_this27.appManagerInstance.getSectionVisualizations(groupId, false)).then(function (appVisualizations) {
2308
2337
  group.destroyAggregation("apps", true);
@@ -2322,7 +2351,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2322
2351
  });
2323
2352
  }
2324
2353
  }();
2325
- return Promise.resolve(_temp38 && _temp38.then ? _temp38.then(function () {}) : void 0);
2354
+ return Promise.resolve(_temp41 && _temp41.then ? _temp41.then(function () {}) : void 0);
2326
2355
  } catch (e) {
2327
2356
  return Promise.reject(e);
2328
2357
  }
@@ -2451,7 +2480,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2451
2480
  _onGroupEditName: function _onGroupEditName(updatedTitle) {
2452
2481
  try {
2453
2482
  const _this28 = this;
2454
- function _temp40() {
2483
+ function _temp43() {
2455
2484
  _this28._setGroupNameControl(updatedTitle, false);
2456
2485
  _this28._setBusy(false);
2457
2486
  }
@@ -2459,7 +2488,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2459
2488
  const groupId = _this28._selectedGroupId,
2460
2489
  group = _this28._getGroup(groupId),
2461
2490
  oldTitle = group?.getTitle();
2462
- const _temp39 = function () {
2491
+ const _temp42 = function () {
2463
2492
  if (updatedTitle && updatedTitle !== oldTitle) {
2464
2493
  return Promise.resolve(_this28._renameGroup(groupId, updatedTitle)).then(function () {
2465
2494
  group?.setProperty("title", updatedTitle, true);
@@ -2468,7 +2497,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2468
2497
  });
2469
2498
  }
2470
2499
  }();
2471
- return Promise.resolve(_temp39 && _temp39.then ? _temp39.then(_temp40) : _temp40(_temp39));
2500
+ return Promise.resolve(_temp42 && _temp42.then ? _temp42.then(_temp43) : _temp43(_temp42));
2472
2501
  } catch (e) {
2473
2502
  return Promise.reject(e);
2474
2503
  }
@@ -2486,12 +2515,12 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2486
2515
  const pageIndex = pagesService.getPageIndex(MYHOME_PAGE_ID),
2487
2516
  groups = pagesService.getModel().getProperty(`/pages/${pageIndex}/sections/`),
2488
2517
  groupIndex = groups.findIndex(group => group.id === groupId);
2489
- const _temp41 = function () {
2518
+ const _temp44 = function () {
2490
2519
  if (groupIndex > -1) {
2491
2520
  return Promise.resolve(pagesService.renameSection(pageIndex, groupIndex, updatedTitle)).then(function () {});
2492
2521
  }
2493
2522
  }();
2494
- if (_temp41 && _temp41.then) return _temp41.then(function () {});
2523
+ if (_temp44 && _temp44.then) return _temp44.then(function () {});
2495
2524
  });
2496
2525
  } catch (e) {
2497
2526
  return Promise.reject(e);
@@ -2708,7 +2737,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2708
2737
  _addFromInsights: function _addFromInsights() {
2709
2738
  try {
2710
2739
  const _this31 = this;
2711
- function _temp43() {
2740
+ function _temp46() {
2712
2741
  _this31._closeAddFromInsightsDialog();
2713
2742
  MessageToast.show(_this31._i18nBundle.getText(selectedItems.length === 1 ? "addFromInsightTileSuccess" : "addFromInsightTilesSuccess", [selectedItems.length]));
2714
2743
  return Promise.resolve(_this31.getParent()._refreshAllPanels()).then(function () {
@@ -2717,10 +2746,10 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2717
2746
  }
2718
2747
  _this31._setBusy(true);
2719
2748
  const selectedItems = _this31._getSelectedInsights();
2720
- const _temp42 = _forOf(selectedItems, function (selectedItem) {
2749
+ const _temp45 = _forOf(selectedItems, function (selectedItem) {
2721
2750
  return Promise.resolve(_this31.appManagerInstance.addVisualization(selectedItem.data("vizId"))).then(function () {});
2722
2751
  });
2723
- return Promise.resolve(_temp42 && _temp42.then ? _temp42.then(_temp43) : _temp43(_temp42));
2752
+ return Promise.resolve(_temp45 && _temp45.then ? _temp45.then(_temp46) : _temp46(_temp45));
2724
2753
  } catch (e) {
2725
2754
  return Promise.reject(e);
2726
2755
  }
@@ -2884,12 +2913,15 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2884
2913
  * @param {object} oViz.visualization - The visualization object.
2885
2914
  * @param {boolean} [oViz.visualization.isBookmark=false] - Indicates if the visualization is a bookmark.
2886
2915
  * @param {string} [oViz.visualization.vizId] - The ID of the visualization if it's not a bookmark.
2916
+ * @param {string} [sSectionId] - The ID of the section (group) to which the visualization should be added.
2917
+ * If not provided, the visualization will be added to the default section.
2918
+ * @param {IMoveConfig} [moveConfig] - Configuration for moving the visualization.
2887
2919
  * @returns {Promise<void>} A promise that resolves to void after the visualization is added.
2888
2920
  * @private
2889
2921
  */
2890
- _addVisualization: function _addVisualization(viz, sSectionId) {
2922
+ _addVisualization: function _addVisualization(viz, sSectionId, moveConfig) {
2891
2923
  if (viz.visualization) {
2892
- return viz.visualization.isBookmark ? this.appManagerInstance.addBookMark(viz.visualization) : this.appManagerInstance.addVisualization(viz.visualization.vizId, sSectionId);
2924
+ return viz.visualization.isBookmark ? this.appManagerInstance.addBookMark(viz.visualization, moveConfig) : this.appManagerInstance.addVisualization(viz.visualization.vizId, sSectionId);
2893
2925
  }
2894
2926
  return Promise.reject(new Error("No visualization provided to add"));
2895
2927
  },
@@ -2906,7 +2938,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2906
2938
  const pageIndex = pagesService.getPageIndex(MYHOME_PAGE_ID),
2907
2939
  groups = pagesService.getModel().getProperty(`/pages/${pageIndex}/sections/`),
2908
2940
  groupIndex = groups.findIndex(group => group.id === groupId);
2909
- const _temp44 = function () {
2941
+ const _temp47 = function () {
2910
2942
  if (groupIndex > -1) {
2911
2943
  return Promise.resolve(pagesService.deleteSection(pageIndex, groupIndex)).then(function () {
2912
2944
  void _this34._deletePersonalization({
@@ -2916,7 +2948,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2916
2948
  });
2917
2949
  }
2918
2950
  }();
2919
- if (_temp44 && _temp44.then) return _temp44.then(function () {});
2951
+ if (_temp47 && _temp47.then) return _temp47.then(function () {});
2920
2952
  });
2921
2953
  } catch (e) {
2922
2954
  return Promise.reject(e);
@@ -2983,7 +3015,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2983
3015
  const _this36 = this;
2984
3016
  const currentItem = Element.closestTo(event.target.firstElementChild);
2985
3017
  const container = currentItem.getParent();
2986
- const _temp46 = function () {
3018
+ const _temp49 = function () {
2987
3019
  if (event.metaKey || event.ctrlKey) {
2988
3020
  // ctrl(windows)/cmd (mac) + x, sets app to be moved to a group, or to create a group
2989
3021
  if (event.key === "x" && !currentItem.data("groupId") && !_this36._cutApp && !appGroupId) {
@@ -2991,7 +3023,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2991
3023
  currentItem._oMoreIcon.setEnabled(false);
2992
3024
  _this36._cutApp = currentItem;
2993
3025
  }
2994
- const _temp45 = function () {
3026
+ const _temp48 = function () {
2995
3027
  if (event.key === "v" && _this36._cutApp && !appGroupId) {
2996
3028
  const dragDropEvent = new Event("keyboardDragDropEvent", container, {
2997
3029
  draggedControl: _this36._cutApp,
@@ -3003,10 +3035,10 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
3003
3035
  });
3004
3036
  }
3005
3037
  }();
3006
- if (_temp45 && _temp45.then) return _temp45.then(function () {});
3038
+ if (_temp48 && _temp48.then) return _temp48.then(function () {});
3007
3039
  }
3008
3040
  }();
3009
- return Promise.resolve(_temp46 && _temp46.then ? _temp46.then(function () {}) : void 0);
3041
+ return Promise.resolve(_temp49 && _temp49.then ? _temp49.then(function () {}) : void 0);
3010
3042
  } catch (e) {
3011
3043
  return Promise.reject(e);
3012
3044
  }