@sapui5/sap.ui.vbm 1.119.0 → 1.121.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.
Files changed (95) hide show
  1. package/package.json +1 -1
  2. package/src/sap/ui/vbm/.library +1 -1
  3. package/src/sap/ui/vbm/Adapter.js +19 -19
  4. package/src/sap/ui/vbm/Adapter3D.js +7 -18
  5. package/src/sap/ui/vbm/AnalyticMap.js +3 -2
  6. package/src/sap/ui/vbm/ContainerBase.js +799 -0
  7. package/src/sap/ui/vbm/ContainerBaseRenderer.js +85 -0
  8. package/src/sap/ui/vbm/ContainerContent.js +82 -0
  9. package/src/sap/ui/vbm/ContainerContentRenderer.js +28 -0
  10. package/src/sap/ui/vbm/ContainerLegendItem.js +68 -0
  11. package/src/sap/ui/vbm/ContainerLegendItemRenderer.js +58 -0
  12. package/src/sap/ui/vbm/GeoMap.js +4 -4
  13. package/src/sap/ui/vbm/Legend.js +5 -3
  14. package/src/sap/ui/vbm/ListPanel.js +336 -0
  15. package/src/sap/ui/vbm/ListPanelRenderer.js +36 -0
  16. package/src/sap/ui/vbm/ListPanelStack.js +254 -0
  17. package/src/sap/ui/vbm/ListPanelStackRenderer.js +29 -0
  18. package/src/sap/ui/vbm/MapContainer.js +514 -0
  19. package/src/sap/ui/vbm/MapContainerButtonType.js +23 -0
  20. package/src/sap/ui/vbm/MapContainerRenderer.js +67 -0
  21. package/src/sap/ui/vbm/Viewport.js +1 -1
  22. package/src/sap/ui/vbm/VoAbstract.js +15 -1
  23. package/src/sap/ui/vbm/VoBase.js +4 -0
  24. package/src/sap/ui/vbm/adapter3d/DragDropHandler.js +1 -1
  25. package/src/sap/ui/vbm/adapter3d/ModelHandler.js +1 -1
  26. package/src/sap/ui/vbm/adapter3d/ObjectFactory.js +1 -1
  27. package/src/sap/ui/vbm/adapter3d/PolygonHandler.js +1 -1
  28. package/src/sap/ui/vbm/adapter3d/SceneBuilder.js +6 -5
  29. package/src/sap/ui/vbm/adapter3d/VBIJSONParser.js +10 -10
  30. package/src/sap/ui/vbm/getResourceBundle.js +14 -0
  31. package/src/sap/ui/vbm/i18n/messagebundle.properties +25 -0
  32. package/src/sap/ui/vbm/i18n/messagebundle_ar.properties +14 -0
  33. package/src/sap/ui/vbm/i18n/messagebundle_ca.properties +14 -0
  34. package/src/sap/ui/vbm/i18n/messagebundle_cnr.properties +14 -0
  35. package/src/sap/ui/vbm/i18n/messagebundle_cs.properties +14 -0
  36. package/src/sap/ui/vbm/i18n/messagebundle_cy.properties +14 -0
  37. package/src/sap/ui/vbm/i18n/messagebundle_da.properties +14 -0
  38. package/src/sap/ui/vbm/i18n/messagebundle_de.properties +14 -0
  39. package/src/sap/ui/vbm/i18n/messagebundle_el.properties +14 -0
  40. package/src/sap/ui/vbm/i18n/messagebundle_en.properties +13 -0
  41. package/src/sap/ui/vbm/i18n/messagebundle_en_GB.properties +14 -0
  42. package/src/sap/ui/vbm/i18n/messagebundle_en_US_sappsd.properties +14 -0
  43. package/src/sap/ui/vbm/i18n/messagebundle_en_US_saprigi.properties +14 -0
  44. package/src/sap/ui/vbm/i18n/messagebundle_en_US_saptrc.properties +14 -0
  45. package/src/sap/ui/vbm/i18n/messagebundle_es.properties +14 -0
  46. package/src/sap/ui/vbm/i18n/messagebundle_es_MX.properties +14 -0
  47. package/src/sap/ui/vbm/i18n/messagebundle_et.properties +14 -0
  48. package/src/sap/ui/vbm/i18n/messagebundle_fi.properties +14 -0
  49. package/src/sap/ui/vbm/i18n/messagebundle_fr.properties +14 -0
  50. package/src/sap/ui/vbm/i18n/messagebundle_fr_CA.properties +14 -0
  51. package/src/sap/ui/vbm/i18n/messagebundle_hi.properties +14 -0
  52. package/src/sap/ui/vbm/i18n/messagebundle_hr.properties +14 -0
  53. package/src/sap/ui/vbm/i18n/messagebundle_hu.properties +14 -0
  54. package/src/sap/ui/vbm/i18n/messagebundle_id.properties +14 -0
  55. package/src/sap/ui/vbm/i18n/messagebundle_it.properties +14 -0
  56. package/src/sap/ui/vbm/i18n/messagebundle_iw.properties +14 -0
  57. package/src/sap/ui/vbm/i18n/messagebundle_ja.properties +14 -0
  58. package/src/sap/ui/vbm/i18n/messagebundle_kk.properties +15 -0
  59. package/src/sap/ui/vbm/i18n/messagebundle_ko.properties +14 -0
  60. package/src/sap/ui/vbm/i18n/messagebundle_lt.properties +14 -0
  61. package/src/sap/ui/vbm/i18n/messagebundle_lv.properties +14 -0
  62. package/src/sap/ui/vbm/i18n/messagebundle_mk.properties +14 -0
  63. package/src/sap/ui/vbm/i18n/messagebundle_ms.properties +14 -0
  64. package/src/sap/ui/vbm/i18n/messagebundle_nl.properties +14 -0
  65. package/src/sap/ui/vbm/i18n/messagebundle_no.properties +14 -0
  66. package/src/sap/ui/vbm/i18n/messagebundle_pl.properties +14 -0
  67. package/src/sap/ui/vbm/i18n/messagebundle_pt.properties +14 -0
  68. package/src/sap/ui/vbm/i18n/messagebundle_pt_PT.properties +14 -0
  69. package/src/sap/ui/vbm/i18n/messagebundle_ro.properties +14 -0
  70. package/src/sap/ui/vbm/i18n/messagebundle_ru.properties +14 -0
  71. package/src/sap/ui/vbm/i18n/messagebundle_sk.properties +14 -0
  72. package/src/sap/ui/vbm/i18n/messagebundle_sl.properties +14 -0
  73. package/src/sap/ui/vbm/i18n/messagebundle_sr.properties +14 -0
  74. package/src/sap/ui/vbm/i18n/messagebundle_sv.properties +14 -0
  75. package/src/sap/ui/vbm/i18n/messagebundle_th.properties +14 -0
  76. package/src/sap/ui/vbm/i18n/messagebundle_tr.properties +14 -0
  77. package/src/sap/ui/vbm/i18n/messagebundle_uk.properties +14 -0
  78. package/src/sap/ui/vbm/i18n/messagebundle_vi.properties +14 -0
  79. package/src/sap/ui/vbm/i18n/messagebundle_zh_CN.properties +14 -0
  80. package/src/sap/ui/vbm/i18n/messagebundle_zh_TW.properties +14 -0
  81. package/src/sap/ui/vbm/lib/sapnavigation.js +7 -3
  82. package/src/sap/ui/vbm/lib/sapscale.js +1 -1
  83. package/src/sap/ui/vbm/lib/saputilities.js +11 -5
  84. package/src/sap/ui/vbm/lib/sapvbmenu.js +6 -1
  85. package/src/sap/ui/vbm/library.js +13 -7
  86. package/src/sap/ui/vbm/themes/base/ContainerBase.less +45 -0
  87. package/src/sap/ui/vbm/themes/base/ContainerLegendItem.less +46 -0
  88. package/src/sap/ui/vbm/themes/base/ListPanel.less +43 -0
  89. package/src/sap/ui/vbm/themes/base/ListPanelStack.less +30 -0
  90. package/src/sap/ui/vbm/themes/base/MapContainer.less +210 -0
  91. package/src/sap/ui/vbm/themes/base/fonts/map-container.eot +0 -0
  92. package/src/sap/ui/vbm/themes/base/fonts/map-container.svg +13 -0
  93. package/src/sap/ui/vbm/themes/base/fonts/map-container.ttf +0 -0
  94. package/src/sap/ui/vbm/themes/base/fonts/map-container.woff +0 -0
  95. package/src/sap/ui/vbm/themes/base/library.source.less +5 -0
@@ -0,0 +1,85 @@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5) (c) Copyright 2009-2012 SAP AG. All rights reserved
3
+ */
4
+
5
+ sap.ui.define(function() {
6
+ "use strict";
7
+
8
+ /**
9
+ * ContainerBase renderer.
10
+ * @namespace
11
+ * @static
12
+ */
13
+ var ContainerBaseRenderer = {
14
+ apiVersion: 2
15
+ };
16
+
17
+ /**
18
+ * Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
19
+ *
20
+ * @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the render output buffer
21
+ * @param {sap.ui.core.Control} oControl an object representation of the control that should be rendered
22
+ */
23
+ ContainerBaseRenderer.render = function(oRm, oControl) {
24
+ // console.log( "sap.ui.vk.ContainerBaseRenderer.render.....\r\n");
25
+ var sTooltip = oControl.getTooltip_AsString();
26
+ var sTitle = oControl.getTitle();
27
+ var aLabelledBy = oControl.getAriaLabelledBy();
28
+ var aDescribedBy = oControl.getAriaDescribedBy();
29
+
30
+ oRm.openStart("div", oControl);
31
+ oRm.attr("role", sap.ui.core.AccessibleRole.Group);
32
+ if (sTitle) {
33
+ oRm.attr("aria-label", sTitle);
34
+ } else if (sTooltip) {
35
+ oRm.attr("aria-label", sTooltip);
36
+ }
37
+ // aria-labelledby references
38
+ if (aLabelledBy && aLabelledBy.length > 0) {
39
+ oRm.attr("aria-labelledby", aLabelledBy.join(" "));
40
+ }
41
+ // aria-describedby references
42
+ if (aDescribedBy && aDescribedBy.length > 0) {
43
+ oRm.attr("aria-describedby", aDescribedBy.join(" "));
44
+ }
45
+ oRm.class("sapUiVkContainerBase");
46
+ oRm.openEnd();
47
+ oRm.openStart("div");
48
+ oRm.attr("id", oControl.getId() + "-wrapper");
49
+ oRm.attr("role", sap.ui.core.AccessibleRole.Presentation);
50
+ oRm.class("sapUiVkContainerBaseWrapper");
51
+ oRm.openEnd();
52
+ this.writeContentArea(oRm, oControl);
53
+ this.writeToolbarArea(oRm, oControl);
54
+ oRm.close("div");
55
+ oRm.close("div");
56
+ };
57
+
58
+ ContainerBaseRenderer.writeContentArea = function(oRm, oControl) {
59
+ // content part
60
+ var selectedContent = oControl.getSelectedContent();
61
+ oRm.openStart("div");
62
+ oRm.class("sapUiVkContainerBaseContentArea");
63
+ oRm.attr("role", sap.ui.core.AccessibleRole.Img);
64
+ oRm.openEnd();
65
+ if (selectedContent !== null) {
66
+ oRm.renderControl(selectedContent);
67
+ } else if (oControl.getContent().length > 0) {
68
+ selectedContent = oControl.getContent()[0];
69
+ oRm.renderControl(selectedContent);
70
+ }
71
+ oRm.close("div");
72
+ };
73
+
74
+ ContainerBaseRenderer.writeToolbarArea = function(oRm, oControl) {
75
+ oRm.openStart("div");
76
+ oRm.class("sapUiVkContainerBaseToolbarArea");
77
+ oRm.attr("role", sap.ui.core.AccessibleRole.Group);
78
+ oRm.openEnd();
79
+ oRm.renderControl(oControl._oToolbar);
80
+ oRm.close("div");
81
+ };
82
+
83
+ return ContainerBaseRenderer;
84
+
85
+ }, /* bExport= */true);
@@ -0,0 +1,82 @@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5) (c) Copyright 2009-2012 SAP AG. All rights reserved
3
+ */
4
+
5
+ // Provides control sap.ui.vbm.ContainerContent.
6
+ sap.ui.define([
7
+ "./library",
8
+ "sap/ui/core/Control",
9
+ "./ContainerContentRenderer"
10
+ ], function(
11
+ vkLibrary,
12
+ Control,
13
+ ContainerContentRenderer
14
+ ) {
15
+ "use strict";
16
+
17
+ /**
18
+ * Constructor for a new ContainerContent.
19
+ *
20
+ * @param {string} [sId] id for the new control, generated automatically if no id is given
21
+ * @param {object} [mSettings] initial settings for the new control
22
+ * @class Aggregation element for the Container Base
23
+ * @extends sap.ui.core.Control
24
+ * @constructor
25
+ * @public
26
+ * @alias sap.ui.vbm.ContainerContent
27
+ * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
28
+ * @since 1.38.0
29
+ */
30
+ var ContainerContent = Control.extend("sap.ui.vbm.ContainerContent", /** @lends sap.ui.vbm.ContainerContent.prototype */ {
31
+ metadata: {
32
+
33
+ library: "sap.ui.vbm",
34
+ properties: {
35
+ /**
36
+ * Icon to show up in the toolbar
37
+ */
38
+ "icon": {
39
+ type: "string",
40
+ group: "Misc",
41
+ defaultValue: null
42
+ },
43
+ /**
44
+ * Title for the icon in the toolbar
45
+ */
46
+ "title": {
47
+ type: "string",
48
+ group: "Misc",
49
+ defaultValue: null
50
+ }
51
+ },
52
+ aggregations: {
53
+ "content": {
54
+ type: "sap.ui.core.Control",
55
+ multiple: false
56
+ }
57
+ },
58
+
59
+ renderer: ContainerContentRenderer
60
+ }
61
+ });
62
+
63
+ // /**
64
+ // * This file defines behavior for the control,
65
+ // */
66
+ // ContainerContent.prototype.init = function(){
67
+ // // do something for initialization...
68
+ // };
69
+
70
+ ContainerContent.prototype.setContent = function(oContent) {
71
+ if (oContent instanceof sap.ui.vbm.GeoMap) {
72
+ oContent.setNavcontrolVisible(false);
73
+ oContent.setWidth("100%");
74
+ oContent.setHeight("100%");
75
+ }
76
+ this.setAggregation("content", oContent);
77
+ return this;
78
+ };
79
+
80
+ return ContainerContent;
81
+
82
+ });
@@ -0,0 +1,28 @@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5) (c) Copyright 2009-2012 SAP AG. All rights reserved
3
+ */
4
+
5
+ sap.ui.define(function() {
6
+ "use strict";
7
+
8
+ /*
9
+ * @class ContainerContent renderer. @static
10
+ */
11
+ var ContainerContentRenderer = {
12
+ apiVersion: 2
13
+ };
14
+
15
+ /**
16
+ * Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
17
+ *
18
+ * @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the render output buffer
19
+ * @param {sap.ui.core.Control} oControl an object representation of the control that should be rendered
20
+ */
21
+ ContainerContentRenderer.render = function(oRm, oControl) {
22
+ // just render the embedded control as it is. The purpose is to only provide extra properties.
23
+ oRm.renderControl(oControl.getContent());
24
+ };
25
+
26
+ return ContainerContentRenderer;
27
+
28
+ }, /* bExport= */true);
@@ -0,0 +1,68 @@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5) (c) Copyright 2009-2012 SAP AG. All rights reserved
3
+ */
4
+
5
+ // Provides control sap.ui.vbm.ContainerLegendItem.
6
+ sap.ui.define([
7
+ "sap/m/StandardListItem",
8
+ "./ContainerLegendItemRenderer"
9
+ ], function(
10
+ StandardListItem,
11
+ ContainerLegendItemRenderer
12
+ ) {
13
+ "use strict";
14
+
15
+ /**
16
+ * Constructor for a new ContainerLegendItem.
17
+ *
18
+ * @param {string} [sId] id for the new control, generated automatically if no id is given
19
+ * @param {object} [mSettings] initial settings for the new control
20
+ * @class Legend item control
21
+ * @extends sap.m.StandardListItem
22
+ * @constructor
23
+ * @public
24
+ * @alias sap.ui.vbm.ContainerLegendItem
25
+ * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
26
+ * @experimental Since 1.38.0 This class is experimental and might be modified or removed in future versions.
27
+ */
28
+ var ContainerLegendItem = StandardListItem.extend("sap.ui.vbm.ContainerLegendItem", /** @lends sap.ui.vbm.ContainerLegendItem.prototype */ {
29
+ metadata: {
30
+
31
+ library: "sap.ui.vbm",
32
+ properties:
33
+ {
34
+ /**
35
+ * show color square
36
+ */
37
+ color: {
38
+ type: "sap.ui.core.CSSColor",
39
+ group: "Appearance",
40
+ defaultValue: null
41
+ },
42
+ /**
43
+ * The semantic spot type for the legend marker.
44
+ */
45
+ semanticSpotType: {
46
+ type: "sap.ui.vbm.SemanticType",
47
+ group: "Behavior",
48
+ defaultValue: null
49
+ }
50
+ },
51
+ aggregations: {
52
+ },
53
+
54
+ renderer: ContainerLegendItemRenderer
55
+ }
56
+ });
57
+
58
+ // /**
59
+ // * This file defines behavior for the control,
60
+ // */
61
+ // ContainerLegendItem.prototype.init = function(){
62
+ // do something for initialization...
63
+
64
+ // };
65
+
66
+ return ContainerLegendItem;
67
+
68
+ });
@@ -0,0 +1,58 @@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5) (c) Copyright 2009-2012 SAP AG. All rights reserved
3
+ */
4
+
5
+ sap.ui.define([
6
+ "sap/m/StandardListItemRenderer", "sap/ui/core/Renderer"
7
+ ], function(BaseItemRenderer, Renderer) {
8
+ "use strict";
9
+
10
+ /*
11
+ * @class Legend Item renderer. @static
12
+ */
13
+ var ContainerLegendItemRenderer = Renderer.extend(BaseItemRenderer);
14
+
15
+ ContainerLegendItemRenderer.apiVersion = 2;
16
+
17
+ ContainerLegendItemRenderer.renderLIContent = function(oRm, oControl) {
18
+ var squareColor = oControl.getColor();
19
+ var type = oControl.getSemanticSpotType();
20
+ var oImg = null;
21
+ if (squareColor) {
22
+ oRm.openStart("span");
23
+ oRm.class("sapUiVkLegendItemSquare");
24
+ oRm.style("background-color", squareColor);
25
+ oRm.openEnd();
26
+ oRm.close("span");
27
+ }
28
+ if (type) {
29
+ switch (type) {
30
+ case sap.ui.vbm.SemanticType.Error:
31
+ oImg = sap.ui.require.toUrl("sap/ui/vbm/themes/base/img/Pin_Red.png");
32
+ break;
33
+ case sap.ui.vbm.SemanticType.Warning:
34
+ oImg = sap.ui.require.toUrl("sap/ui/vbm/themes/base/img/Pin_Orange.png");
35
+ break;
36
+ case sap.ui.vbm.SemanticType.Success:
37
+ oImg = sap.ui.require.toUrl("sap/ui/vbm/themes/base/img/Pin_Green.png");
38
+ break;
39
+ case sap.ui.vbm.SemanticType.Default:
40
+ oImg = sap.ui.require.toUrl("sap/ui/vbm/themes/base/img/Pin_Blue.png");
41
+ break;
42
+ case sap.ui.vbm.SemanticType.Inactive:
43
+ oImg = sap.ui.require.toUrl("sap/ui/vbm/themes/base/img/Pin_Grey.png");
44
+ break;
45
+ default:
46
+ break;
47
+ }
48
+ if (oImg) {
49
+ oControl.addStyleClass("sapUiVkLegendItemSpotType");
50
+ oControl.setIcon(oImg);
51
+ }
52
+ }
53
+ BaseItemRenderer.renderLIContent(oRm, oControl);
54
+ };
55
+
56
+ return ContainerLegendItemRenderer;
57
+
58
+ }, /* bExport= */true);
@@ -881,7 +881,7 @@ sap.ui.define([
881
881
  GeoMap.prototype.setCenterPosition = function(sPosition) {
882
882
  var aCoords = sPosition ? sPosition.split(";") : undefined;
883
883
  if (!aCoords || aCoords.length <= 1 || !this.isNumeric(aCoords[0]) || !this.isNumeric(aCoords[1])) {
884
- Log.error(sap.ui.vbm.getResourceBundle().getText("GEOMAP_INVALID_CENTER_POSITION") + ":'" + sPosition + "'", "setCenterPosition", thisModule);
884
+ Log.error(library.getResourceBundle().getText("GEOMAP_INVALID_CENTER_POSITION") + ":'" + sPosition + "'", "setCenterPosition", thisModule);
885
885
  } else {
886
886
  var sPositionInternal = aCoords[0] + ";" + aCoords[1] + ";0";
887
887
  this.setProperty("centerPosition", sPositionInternal);
@@ -922,7 +922,7 @@ sap.ui.define([
922
922
  }
923
923
  this.setProperty("zoomlevel", iZoom);
924
924
  } else {
925
- Log.error(sap.ui.vbm.getResourceBundle().getText("GEOMAP_INVALID_ZOOM_LEVEL") + ": " + iZoom.toString(), "setZoomlevel", thisModule);
925
+ Log.error(library.getResourceBundle().getText("GEOMAP_INVALID_ZOOM_LEVEL") + ": " + iZoom.toString(), "setZoomlevel", thisModule);
926
926
  }
927
927
  }
928
928
  };
@@ -2131,7 +2131,7 @@ sap.ui.define([
2131
2131
  }
2132
2132
  }
2133
2133
  if (GeoMap.bEncodedSpotImagesAvailable == false) {
2134
- var aPathImgJSON = sap.ui.resource("sap.ui.vbm", "themes/base/img/Pin_images.json");
2134
+ var aPathImgJSON = sap.ui.require.toUrl("sap/ui/vbm/themes/base/img/Pin_images.json");
2135
2135
  var oResponse = jQuery.sap.syncGetJSON(aPathImgJSON);
2136
2136
  GeoMap.bEncodedSpotImageData = oResponse.data;
2137
2137
  GeoMap.bEncodedSpotImagesAvailable = true;
@@ -2149,7 +2149,7 @@ sap.ui.define([
2149
2149
  // resource not found
2150
2150
  this.addResource(new sap.ui.vbm.Resource({
2151
2151
  name: resource,
2152
- src: sap.ui.resource("sap.ui.vbm", "themes/base/img/" + resource)
2152
+ src: sap.ui.require.toUrl("sap/ui/vbm/themes/base/img/" + resource)
2153
2153
  }));
2154
2154
  }
2155
2155
  this.m_bResourcesDirty = true;
@@ -5,8 +5,9 @@
5
5
  // Provides control sap.ui.vbm.Legend.
6
6
  sap.ui.define([
7
7
  "sap/ui/core/Element",
8
- "./library"
9
- ], function(Element, library) {
8
+ "./library",
9
+ "sap/ui/core/Lib"
10
+ ], function(Element, library, Lib) {
10
11
  "use strict";
11
12
 
12
13
  /**
@@ -21,6 +22,7 @@ sap.ui.define([
21
22
  * @alias sap.ui.vbm.Legend
22
23
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
23
24
  */
25
+ Lib.load({ name: "sap.ui.vbm.i18n" });
24
26
  var Legend = Element.extend("sap.ui.vbm.Legend", /** @lends sap.ui.vbm.Legend.prototype */
25
27
  {
26
28
  metadata: {
@@ -34,7 +36,7 @@ sap.ui.define([
34
36
  caption: {
35
37
  type: "string",
36
38
  group: "Misc",
37
- defaultValue: sap.ui.getCore().getLibraryResourceBundle("sap.ui.vbm.i18n").getText("CAPTION_LEGEND")
39
+ defaultValue: Lib.getResourceBundleFor("sap.ui.vbm.i18n").getText("CAPTION_LEGEND")
38
40
  }
39
41
  },
40
42
  defaultAggregation: "items",