@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.
- package/package.json +1 -1
- package/src/sap/cux/home/.library +4 -1
- package/src/sap/cux/home/AdvancedSettingsPanel.d.ts.map +1 -1
- package/src/sap/cux/home/AdvancedSettingsPanel.js +3 -0
- package/src/sap/cux/home/AdvancedSettingsPanel.js.map +1 -1
- package/src/sap/cux/home/AdvancedSettingsPanel.ts +3 -0
- package/src/sap/cux/home/App.d.ts.map +1 -1
- package/src/sap/cux/home/App.js +3 -0
- package/src/sap/cux/home/App.js.map +1 -1
- package/src/sap/cux/home/App.ts +3 -0
- package/src/sap/cux/home/AppsContainer.d.ts.map +1 -1
- package/src/sap/cux/home/AppsContainer.js +3 -2
- package/src/sap/cux/home/AppsContainer.js.map +1 -1
- package/src/sap/cux/home/AppsContainer.ts +3 -2
- package/src/sap/cux/home/BaseAppPanel.d.ts.map +1 -1
- package/src/sap/cux/home/BaseAppPanel.js +6 -1
- package/src/sap/cux/home/BaseAppPanel.js.map +1 -1
- package/src/sap/cux/home/BaseAppPanel.ts +6 -1
- package/src/sap/cux/home/ContentAdditionDialog.d.ts.map +1 -1
- package/src/sap/cux/home/ContentAdditionDialog.js +2 -3
- package/src/sap/cux/home/ContentAdditionDialog.js.map +1 -1
- package/src/sap/cux/home/ContentAdditionDialog.ts +2 -3
- package/src/sap/cux/home/FavAppPanel.d.ts +3 -0
- package/src/sap/cux/home/FavAppPanel.d.ts.map +1 -1
- package/src/sap/cux/home/FavAppPanel.js +172 -140
- package/src/sap/cux/home/FavAppPanel.js.map +1 -1
- package/src/sap/cux/home/FavAppPanel.ts +43 -26
- package/src/sap/cux/home/i18n/messagebundle_cnr.properties +6 -6
- package/src/sap/cux/home/i18n/messagebundle_de.properties +2 -2
- package/src/sap/cux/home/i18n/messagebundle_id.properties +14 -14
- package/src/sap/cux/home/i18n/messagebundle_it.properties +4 -4
- package/src/sap/cux/home/i18n/messagebundle_sh.properties +6 -6
- package/src/sap/cux/home/i18n/messagebundle_sl.properties +1 -1
- package/src/sap/cux/home/i18n/messagebundle_sr.properties +6 -6
- package/src/sap/cux/home/i18n/messagebundle_uk.properties +4 -4
- package/src/sap/cux/home/interface/AppsInterface.d.ts +1 -0
- package/src/sap/cux/home/interface/AppsInterface.d.ts.map +1 -1
- package/src/sap/cux/home/interface/AppsInterface.js.map +1 -1
- package/src/sap/cux/home/interface/AppsInterface.ts +1 -0
- package/src/sap/cux/home/library.js +1 -1
- package/src/sap/cux/home/library.js.map +1 -1
- package/src/sap/cux/home/library.ts +1 -1
- package/src/sap/cux/home/utils/AppManager.d.ts +7 -6
- package/src/sap/cux/home/utils/AppManager.d.ts.map +1 -1
- package/src/sap/cux/home/utils/AppManager.js +1 -1
- package/src/sap/cux/home/utils/AppManager.js.map +1 -1
- package/src/sap/cux/home/utils/AppManager.ts +9 -10
- package/ui5.yaml +1 -0
|
@@ -68,6 +68,13 @@ interface IValidManifest {
|
|
|
68
68
|
manifest: IAppManifest;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
export interface IMoveConfig {
|
|
72
|
+
sourceSectionIndex: number;
|
|
73
|
+
sourceVisualizationIndex: number;
|
|
74
|
+
targetSectionIndex: number;
|
|
75
|
+
targetVisualizationIndex: number;
|
|
76
|
+
}
|
|
77
|
+
|
|
71
78
|
const _parseSBParameters = (oParam: object | string | undefined): IParseSBParameters | undefined => {
|
|
72
79
|
let oParsedParams: IParseSBParameters | undefined = {};
|
|
73
80
|
if (oParam) {
|
|
@@ -328,7 +335,7 @@ export default class AppManager extends BaseObject {
|
|
|
328
335
|
this._oVizCacheData[oViz.appId] = oVizInstantiationService.instantiateVisualization(
|
|
329
336
|
oVisualization
|
|
330
337
|
) as ICustomVizInstance;
|
|
331
|
-
this._oVizCacheData[oViz.appId].setActive(
|
|
338
|
+
this._oVizCacheData[oViz.appId].setActive(false);
|
|
332
339
|
}
|
|
333
340
|
oViz.vizInstance = this._oVizCacheData[oViz.appId];
|
|
334
341
|
}
|
|
@@ -557,15 +564,7 @@ export default class AppManager extends BaseObject {
|
|
|
557
564
|
* @param {Object} bookmark - The bookmark data object.
|
|
558
565
|
* @returns {Promise<void>} - A Promise that resolves once the bookmark is added.
|
|
559
566
|
*/
|
|
560
|
-
public async addBookMark(
|
|
561
|
-
bookmark: IVisualization,
|
|
562
|
-
moveConfig?: {
|
|
563
|
-
sourceSectionIndex: number;
|
|
564
|
-
sourceVisualizationIndex: number;
|
|
565
|
-
targetSectionIndex: number;
|
|
566
|
-
targetVisualizationIndex: number;
|
|
567
|
-
}
|
|
568
|
-
) {
|
|
567
|
+
public async addBookMark(bookmark: IVisualization, moveConfig?: IMoveConfig) {
|
|
569
568
|
const oBookmarkService: Bookmark = await Container.getServiceAsync("BookmarkV2");
|
|
570
569
|
const aContentNodes = await oBookmarkService.getContentNodes();
|
|
571
570
|
const oMyHomeSpace = aContentNodes.find((contentNode) => contentNode.id === MYHOME_SPACE_ID);
|