@sapui5/sap.gantt 1.123.0 → 1.125.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 (239) hide show
  1. package/LICENSE.txt +13 -10
  2. package/README.md +1 -1
  3. package/package.json +1 -1
  4. package/src/sap/gantt/.library +11 -5
  5. package/src/sap/gantt/AdhocLine.js +1 -1
  6. package/src/sap/gantt/GanttChart.js +1 -1
  7. package/src/sap/gantt/GanttChartBase.js +4 -4
  8. package/src/sap/gantt/GanttChartContainer.js +1 -1
  9. package/src/sap/gantt/GanttChartWithTable.js +1 -1
  10. package/src/sap/gantt/axistime/AxisTimeStrategyBase.js +1 -3
  11. package/src/sap/gantt/axistime/FullScreenStrategy.js +1 -1
  12. package/src/sap/gantt/axistime/ProportionZoomStrategy.js +1 -1
  13. package/src/sap/gantt/axistime/StepwiseZoomStrategy.js +1 -1
  14. package/src/sap/gantt/changeHandlers/simple/AdhocLine.js +1 -1
  15. package/src/sap/gantt/changeHandlers/simple/DeltaLine.js +1 -1
  16. package/src/sap/gantt/changeHandlers/simple/GanttChartContainer.js +1 -1
  17. package/src/sap/gantt/changeHandlers/simple/GanttChartWithTable.js +1 -1
  18. package/src/sap/gantt/config/BirdEyeGroup.js +2 -2
  19. package/src/sap/gantt/config/ChartScheme.js +2 -2
  20. package/src/sap/gantt/config/ColumnAttribute.js +2 -2
  21. package/src/sap/gantt/config/ContainerLayout.js +2 -2
  22. package/src/sap/gantt/config/ExpandChart.js +2 -2
  23. package/src/sap/gantt/config/ExpandChartGroup.js +2 -2
  24. package/src/sap/gantt/config/GanttChartLayout.js +2 -2
  25. package/src/sap/gantt/config/Hierarchy.js +2 -2
  26. package/src/sap/gantt/config/HierarchyColumn.js +2 -2
  27. package/src/sap/gantt/config/LayoutGroup.js +3 -3
  28. package/src/sap/gantt/config/Locale.js +9 -11
  29. package/src/sap/gantt/config/Mode.js +2 -2
  30. package/src/sap/gantt/config/ModeGroup.js +2 -2
  31. package/src/sap/gantt/config/ObjectType.js +2 -2
  32. package/src/sap/gantt/config/SettingGroup.js +2 -2
  33. package/src/sap/gantt/config/SettingItem.js +1 -1
  34. package/src/sap/gantt/config/Shape.js +2 -2
  35. package/src/sap/gantt/config/TimeAxis.js +1 -1
  36. package/src/sap/gantt/config/TimeHorizon.js +1 -1
  37. package/src/sap/gantt/config/TimeZoomGroup.js +2 -2
  38. package/src/sap/gantt/config/ToolbarGroup.js +2 -2
  39. package/src/sap/gantt/config/ToolbarScheme.js +2 -2
  40. package/src/sap/gantt/control/Cell.js +2 -2
  41. package/src/sap/gantt/control/Toolbar.js +1 -1
  42. package/src/sap/gantt/def/DefBase.js +1 -1
  43. package/src/sap/gantt/def/SvgDefs.js +1 -1
  44. package/src/sap/gantt/def/cal/Calendar.js +1 -1
  45. package/src/sap/gantt/def/cal/CalendarDefs.js +1 -1
  46. package/src/sap/gantt/def/cal/TimeInterval.js +1 -1
  47. package/src/sap/gantt/def/filter/MorphologyFilter.js +1 -1
  48. package/src/sap/gantt/def/gradient/LinearGradient.js +1 -1
  49. package/src/sap/gantt/def/gradient/RadialGradient.js +1 -1
  50. package/src/sap/gantt/def/gradient/Stop.js +1 -1
  51. package/src/sap/gantt/def/pattern/BackSlashPattern.js +1 -1
  52. package/src/sap/gantt/def/pattern/PatternBase.js +1 -1
  53. package/src/sap/gantt/def/pattern/SlashPattern.js +1 -1
  54. package/src/sap/gantt/drawer/Drawer.js +1 -1
  55. package/src/sap/gantt/eventHandler/AutoScrollHandler.js +1 -1
  56. package/src/sap/gantt/eventHandler/BirdEyeHandler.js +1 -1
  57. package/src/sap/gantt/eventHandler/MouseWheelHandler.js +1 -1
  58. package/src/sap/gantt/eventHandler/ShapeHoverHandler.js +1 -1
  59. package/src/sap/gantt/eventHandler/ShapeResizeHandler.js +1 -1
  60. package/src/sap/gantt/eventHandler/TimePeriodZoomHandler.js +1 -1
  61. package/src/sap/gantt/eventHandler/TimePopoverHandler.js +1 -1
  62. package/src/sap/gantt/flexibility/simple/GanttTableColumn.flexibility.js +1 -4
  63. package/src/sap/gantt/layouts/SidePanel.js +197 -0
  64. package/src/sap/gantt/layouts/SidePanelRenderer.js +28 -0
  65. package/src/sap/gantt/legend/DimensionLegend.js +2 -2
  66. package/src/sap/gantt/legend/LegendBase.js +2 -2
  67. package/src/sap/gantt/legend/LegendContainer.js +2 -2
  68. package/src/sap/gantt/legend/ListLegend.js +3 -3
  69. package/src/sap/gantt/library.js +4 -4
  70. package/src/sap/gantt/messagebundle_ar.properties +5 -2
  71. package/src/sap/gantt/messagebundle_bg.properties +5 -2
  72. package/src/sap/gantt/messagebundle_ca.properties +5 -2
  73. package/src/sap/gantt/messagebundle_cnr.properties +5 -2
  74. package/src/sap/gantt/messagebundle_cs.properties +5 -2
  75. package/src/sap/gantt/messagebundle_cy.properties +5 -2
  76. package/src/sap/gantt/messagebundle_da.properties +5 -2
  77. package/src/sap/gantt/messagebundle_de.properties +5 -2
  78. package/src/sap/gantt/messagebundle_el.properties +5 -2
  79. package/src/sap/gantt/messagebundle_en.properties +5 -2
  80. package/src/sap/gantt/messagebundle_en_GB.properties +5 -2
  81. package/src/sap/gantt/messagebundle_es.properties +5 -2
  82. package/src/sap/gantt/messagebundle_es_MX.properties +5 -2
  83. package/src/sap/gantt/messagebundle_et.properties +5 -2
  84. package/src/sap/gantt/messagebundle_fi.properties +5 -2
  85. package/src/sap/gantt/messagebundle_fr.properties +5 -2
  86. package/src/sap/gantt/messagebundle_fr_CA.properties +5 -2
  87. package/src/sap/gantt/messagebundle_hi.properties +5 -2
  88. package/src/sap/gantt/messagebundle_hr.properties +5 -2
  89. package/src/sap/gantt/messagebundle_hu.properties +5 -2
  90. package/src/sap/gantt/messagebundle_id.properties +5 -2
  91. package/src/sap/gantt/messagebundle_it.properties +5 -2
  92. package/src/sap/gantt/messagebundle_iw.properties +5 -2
  93. package/src/sap/gantt/messagebundle_ja.properties +5 -2
  94. package/src/sap/gantt/messagebundle_kk.properties +5 -2
  95. package/src/sap/gantt/messagebundle_ko.properties +5 -2
  96. package/src/sap/gantt/messagebundle_lt.properties +5 -2
  97. package/src/sap/gantt/messagebundle_lv.properties +5 -2
  98. package/src/sap/gantt/messagebundle_mk.properties +6 -3
  99. package/src/sap/gantt/messagebundle_ms.properties +5 -2
  100. package/src/sap/gantt/messagebundle_nl.properties +5 -2
  101. package/src/sap/gantt/messagebundle_no.properties +5 -2
  102. package/src/sap/gantt/messagebundle_pl.properties +5 -2
  103. package/src/sap/gantt/messagebundle_pt.properties +5 -2
  104. package/src/sap/gantt/messagebundle_pt_PT.properties +5 -2
  105. package/src/sap/gantt/messagebundle_ro.properties +5 -2
  106. package/src/sap/gantt/messagebundle_ru.properties +5 -2
  107. package/src/sap/gantt/messagebundle_sh.properties +5 -2
  108. package/src/sap/gantt/messagebundle_sk.properties +5 -2
  109. package/src/sap/gantt/messagebundle_sl.properties +5 -2
  110. package/src/sap/gantt/messagebundle_sr.properties +5 -2
  111. package/src/sap/gantt/messagebundle_sv.properties +10 -7
  112. package/src/sap/gantt/messagebundle_th.properties +5 -2
  113. package/src/sap/gantt/messagebundle_tr.properties +5 -2
  114. package/src/sap/gantt/messagebundle_uk.properties +5 -2
  115. package/src/sap/gantt/messagebundle_vi.properties +5 -2
  116. package/src/sap/gantt/messagebundle_zh_CN.properties +5 -2
  117. package/src/sap/gantt/messagebundle_zh_TW.properties +5 -2
  118. package/src/sap/gantt/misc/AxisTime.js +4 -4
  119. package/src/sap/gantt/misc/Memoizer.js +1 -1
  120. package/src/sap/gantt/misc/RelativeTimeFormatter.js +1 -1
  121. package/src/sap/gantt/misc/ShapeManager.js +1 -1
  122. package/src/sap/gantt/misc/Utility.js +3 -3
  123. package/src/sap/gantt/overlays/GanttRowOverlay.js +1 -1
  124. package/src/sap/gantt/overlays/Overlay.js +1 -1
  125. package/src/sap/gantt/shape/Circle.js +2 -2
  126. package/src/sap/gantt/shape/ClipPath.js +2 -2
  127. package/src/sap/gantt/shape/Definitions.js +2 -2
  128. package/src/sap/gantt/shape/Group.js +2 -2
  129. package/src/sap/gantt/shape/Image.js +2 -2
  130. package/src/sap/gantt/shape/Line.js +2 -2
  131. package/src/sap/gantt/shape/Path.js +2 -2
  132. package/src/sap/gantt/shape/Polygon.js +2 -2
  133. package/src/sap/gantt/shape/Polyline.js +2 -2
  134. package/src/sap/gantt/shape/Rectangle.js +2 -2
  135. package/src/sap/gantt/shape/ResizeShadowShape.js +2 -2
  136. package/src/sap/gantt/shape/SelectedShape.js +2 -2
  137. package/src/sap/gantt/shape/Shape.js +2 -2
  138. package/src/sap/gantt/shape/Text.js +2 -2
  139. package/src/sap/gantt/shape/cal/Calendar.js +2 -2
  140. package/src/sap/gantt/shape/ext/Chevron.js +2 -2
  141. package/src/sap/gantt/shape/ext/Cursor.js +2 -2
  142. package/src/sap/gantt/shape/ext/Diamond.js +2 -2
  143. package/src/sap/gantt/shape/ext/Iconfont.js +2 -2
  144. package/src/sap/gantt/shape/ext/Pentangle.js +2 -2
  145. package/src/sap/gantt/shape/ext/TextRepeat.js +2 -2
  146. package/src/sap/gantt/shape/ext/Triangle.js +2 -2
  147. package/src/sap/gantt/shape/ext/rls/Relationship.js +2 -2
  148. package/src/sap/gantt/shape/ext/rls/SelectedRelationship.js +3 -3
  149. package/src/sap/gantt/shape/ext/ubc/UbcBorderPath.js +2 -2
  150. package/src/sap/gantt/shape/ext/ubc/UbcOverCapacityZonePolygon.js +2 -2
  151. package/src/sap/gantt/shape/ext/ubc/UbcPolygon.js +2 -2
  152. package/src/sap/gantt/shape/ext/ubc/UbcShortageCapacityPolygon.js +2 -2
  153. package/src/sap/gantt/shape/ext/ubc/UbcTooltipRectangle.js +2 -2
  154. package/src/sap/gantt/shape/ext/ubc/UbcUnderCapacityZonePolygon.js +2 -2
  155. package/src/sap/gantt/shape/ext/ubc/UbcUsedPolygon.js +2 -2
  156. package/src/sap/gantt/shape/ext/ubc/UtilizationBarChart.js +2 -2
  157. package/src/sap/gantt/shape/ext/ulc/UlcBorderPath.js +2 -2
  158. package/src/sap/gantt/shape/ext/ulc/UlcClipPath.js +2 -2
  159. package/src/sap/gantt/shape/ext/ulc/UlcClipingPath.js +2 -2
  160. package/src/sap/gantt/shape/ext/ulc/UlcDimension.js +2 -2
  161. package/src/sap/gantt/shape/ext/ulc/UlcMiddleLine.js +2 -2
  162. package/src/sap/gantt/shape/ext/ulc/UlcOverCapacityZoneRectangle.js +2 -2
  163. package/src/sap/gantt/shape/ext/ulc/UlcOverClipRectangle.js +2 -2
  164. package/src/sap/gantt/shape/ext/ulc/UlcRectangle.js +2 -2
  165. package/src/sap/gantt/shape/ext/ulc/UlcTooltipRectangle.js +2 -2
  166. package/src/sap/gantt/shape/ext/ulc/UlcUnderClipRectangle.js +2 -2
  167. package/src/sap/gantt/shape/ext/ulc/UtilizationLineChart.js +2 -2
  168. package/src/sap/gantt/simple/AdhocDiamond.js +1 -1
  169. package/src/sap/gantt/simple/AdhocLine.js +1 -1
  170. package/src/sap/gantt/simple/BaseCalendar.js +1 -1
  171. package/src/sap/gantt/simple/BaseChevron.js +1 -1
  172. package/src/sap/gantt/simple/BaseConditionalShape.js +1 -1
  173. package/src/sap/gantt/simple/BaseCursor.js +1 -1
  174. package/src/sap/gantt/simple/BaseDeltaRectangle.js +1 -1
  175. package/src/sap/gantt/simple/BaseDiamond.js +1 -1
  176. package/src/sap/gantt/simple/BaseGroup.js +1 -1
  177. package/src/sap/gantt/simple/BaseImage.js +1 -1
  178. package/src/sap/gantt/simple/BaseLine.js +1 -1
  179. package/src/sap/gantt/simple/BasePath.js +1 -1
  180. package/src/sap/gantt/simple/BasePseudoShape.js +1 -1
  181. package/src/sap/gantt/simple/BaseRectangle.js +1 -1
  182. package/src/sap/gantt/simple/BaseShape.js +1 -1
  183. package/src/sap/gantt/simple/BaseText.js +1 -1
  184. package/src/sap/gantt/simple/BaseTriangle.js +1 -1
  185. package/src/sap/gantt/simple/ContainerToolbar.js +3 -3
  186. package/src/sap/gantt/simple/ContainerToolbarPlaceholder.js +1 -1
  187. package/src/sap/gantt/simple/CoordinateUtils.js +1 -1
  188. package/src/sap/gantt/simple/CustomVariantHandler.js +1 -1
  189. package/src/sap/gantt/simple/DeltaLine.js +1 -1
  190. package/src/sap/gantt/simple/DimensionLegendRenderer.js +1 -1
  191. package/src/sap/gantt/simple/ExpandModel.js +1 -1
  192. package/src/sap/gantt/simple/FindAndSelectUtils.js +1 -1
  193. package/src/sap/gantt/simple/GanttAdaptationData.js +1 -1
  194. package/src/sap/gantt/simple/GanttChartContainer.js +31 -2
  195. package/src/sap/gantt/simple/GanttChartContainerRenderer.js +29 -12
  196. package/src/sap/gantt/simple/GanttChartWithTable.js +44 -17
  197. package/src/sap/gantt/simple/GanttDragDropExtension.js +4 -2
  198. package/src/sap/gantt/simple/GanttExtension.js +1 -1
  199. package/src/sap/gantt/simple/GanttHeader.js +2 -2
  200. package/src/sap/gantt/simple/GanttPointerExtension.js +1 -3
  201. package/src/sap/gantt/simple/GanttPopoverExtension.js +1 -1
  202. package/src/sap/gantt/simple/GanttPrinting.js +97 -25
  203. package/src/sap/gantt/simple/GanttRowAction.js +1 -1
  204. package/src/sap/gantt/simple/GanttRowSettings.js +1 -1
  205. package/src/sap/gantt/simple/GanttUtils.js +12 -4
  206. package/src/sap/gantt/simple/InnerGanttChart.js +11 -2
  207. package/src/sap/gantt/simple/InnerGanttChartRenderer.js +1 -1
  208. package/src/sap/gantt/simple/LegendContainer.js +1 -1
  209. package/src/sap/gantt/simple/LegendShapeGroup.js +1 -1
  210. package/src/sap/gantt/simple/MultiActivityGroup.js +1 -1
  211. package/src/sap/gantt/simple/MultiActivityRowSettings.js +1 -1
  212. package/src/sap/gantt/simple/Relationship.js +1 -1
  213. package/src/sap/gantt/simple/RenderUtils.js +5 -9
  214. package/src/sap/gantt/simple/SelectionModel.js +17 -12
  215. package/src/sap/gantt/simple/ShapeScheme.js +1 -1
  216. package/src/sap/gantt/simple/StockChart.js +1 -1
  217. package/src/sap/gantt/simple/StockChartDimension.js +1 -1
  218. package/src/sap/gantt/simple/StockChartPeriod.js +1 -1
  219. package/src/sap/gantt/simple/UtilizationBarChart.js +1 -1
  220. package/src/sap/gantt/simple/UtilizationChart.js +1 -1
  221. package/src/sap/gantt/simple/UtilizationDimension.js +1 -1
  222. package/src/sap/gantt/simple/UtilizationLineChart.js +1 -1
  223. package/src/sap/gantt/simple/UtilizationPeriod.js +1 -1
  224. package/src/sap/gantt/simple/shapes/Shape.js +5 -23
  225. package/src/sap/gantt/simple/shapes/Task.js +1 -1
  226. package/src/sap/gantt/themes/base/Gantt.less +9 -5
  227. package/src/sap/gantt/themes/sap_belize/library.source.less +10 -1
  228. package/src/sap/gantt/themes/sap_belize_base/Gantt.less +895 -0
  229. package/src/sap/gantt/themes/sap_belize_base/GanttPrinting.less +101 -0
  230. package/src/sap/gantt/themes/sap_belize_base/GanttSyncedControl.less +96 -0
  231. package/src/sap/gantt/themes/sap_belize_base/library.source.less +13 -0
  232. package/src/sap/gantt/themes/sap_belize_hcb/library.source.less +10 -1
  233. package/src/sap/gantt/themes/sap_belize_hcw/library.source.less +10 -1
  234. package/src/sap/gantt/themes/sap_bluecrystal/library.source.less +10 -1
  235. package/src/sap/gantt/themes/sap_bluecrystal_base/Gantt.less +899 -0
  236. package/src/sap/gantt/themes/sap_bluecrystal_base/GanttPrinting.less +101 -0
  237. package/src/sap/gantt/themes/sap_bluecrystal_base/GanttSyncedControl.less +96 -0
  238. package/src/sap/gantt/themes/sap_bluecrystal_base/library.source.less +13 -0
  239. package/src/sap/gantt/utils/GanttChartConfigurationUtils.js +4 -1
@@ -26,11 +26,17 @@ sap.ui.define([], function () {
26
26
  });
27
27
  }
28
28
 
29
+ const bShowSearchSidePanel = oContainer.getShowSearchSidePanel();
30
+ const oLayoutSidePanel = oContainer.getSidePanel();
31
+ const bShowLayoutSidePanel = oLayoutSidePanel && oLayoutSidePanel.getVisible();
32
+
29
33
  oRm.openStart("div", oContainer);
30
34
  oRm.class("sapGanttContainer");
31
- if (oContainer.getShowSearchSidePanel()) {
35
+
36
+ if (bShowSearchSidePanel || bShowLayoutSidePanel) {
32
37
  oRm.class("sapGanttContainerWithSidePanel");
33
38
  }
39
+
34
40
  oRm.style("width", oContainer.getWidth());
35
41
  oRm.style("height", oContainer.getHeight());
36
42
  oRm.openEnd();
@@ -40,10 +46,22 @@ sap.ui.define([], function () {
40
46
 
41
47
  this.renderToolbar(oRm, oContainer);
42
48
 
43
- this.renderGanttCharts(oRm, oContainer);
49
+ this.renderGanttCharts(oRm, oContainer, {
50
+ hasSidePanel: bShowSearchSidePanel || bShowLayoutSidePanel
51
+ });
44
52
 
45
- if (oContainer.getShowSearchSidePanel()) {
46
- this.renderSidePanel(oRm, oContainer);
53
+ if (bShowSearchSidePanel) {
54
+ this.renderSidePanel(oRm, oContainer, {
55
+ id: "ganttSearchSidePanel",
56
+ sidePanel: oContainer.getSearchSidePanel(),
57
+ classNames: "sapUiGanttSearchSidePanel"
58
+ });
59
+ } else if (bShowLayoutSidePanel) {
60
+ this.renderSidePanel(oRm, oContainer, {
61
+ id: "ganttLayoutSidePanel",
62
+ sidePanel: oLayoutSidePanel,
63
+ classNames: "sapUiGanttLayoutSidePanel"
64
+ });
47
65
  }
48
66
 
49
67
  if (oContainer.getEnableStatusBar()) {
@@ -87,14 +105,14 @@ sap.ui.define([], function () {
87
105
  }
88
106
  };
89
107
 
90
- GanttChartContainerRenderer.renderGanttCharts = function (oRm, oContainer) {
108
+ GanttChartContainerRenderer.renderGanttCharts = function (oRm, oContainer, oOptions) {
91
109
  oRm.openStart("div", oContainer.getId() + "-ganttContainerContent");
92
110
  if (oContainer.getEnableStatusBar()) {
93
111
  oRm.class("sapGanttContainerCntWithStatusBar");
94
112
  } else {
95
113
  oRm.class("sapGanttContainerCnt");
96
114
  }
97
- if (oContainer.getShowSearchSidePanel()) {
115
+ if (oOptions.hasSidePanel) {
98
116
  oRm.class("sapGanttContainerCntWithSidePanel");
99
117
  }
100
118
  oRm.openEnd();
@@ -102,13 +120,12 @@ sap.ui.define([], function () {
102
120
  oRm.close("div");
103
121
  };
104
122
 
105
- GanttChartContainerRenderer.renderSidePanel = function(oRm, oContainer) {
106
- var oSidePanel = oContainer.getSearchSidePanel();
107
- if (oSidePanel) {
108
- oRm.openStart("div", oContainer.getId() + "-ganttSearchSidePanel");
109
- oRm.class("sapUiGanttSearchSidePanel");
123
+ GanttChartContainerRenderer.renderSidePanel = function (oRm, oContainer, oOptions) {
124
+ if (oOptions.sidePanel) {
125
+ oRm.openStart("div", oContainer.getId() + "-" + oOptions.id);
126
+ oRm.class(oOptions.classNames);
110
127
  oRm.openEnd();
111
- oRm.renderControl(oSidePanel);
128
+ oRm.renderControl(oOptions.sidePanel);
112
129
  oRm.close("div");
113
130
  }
114
131
  };
@@ -141,6 +141,13 @@ sap.ui.define([
141
141
  var MARGIN_OF_ERROR = 10;
142
142
  var MIN_AREA_WIDTH = 60;
143
143
 
144
+ // whenever model changed, need invalidate gantt as well
145
+ var aModelChangeReason = values(ChangeReason).slice();
146
+
147
+ // All reasons that need to invalidate the control which allows render manager to rerender it
148
+ // Each UI interaction shall only render once
149
+ var aInvalidateReasons = aModelChangeReason.concat(["Render", "FirstVisibleRowChange", "Resize"]);
150
+
144
151
  function add(a, b) {
145
152
  return a + b;
146
153
  }
@@ -163,7 +170,7 @@ sap.ui.define([
163
170
  * @extend sap.ui.core.Control
164
171
  *
165
172
  * @author SAP SE
166
- * @version 1.123.0
173
+ * @version 1.125.0
167
174
  * @since 1.60
168
175
  *
169
176
  * @constructor
@@ -1386,6 +1393,9 @@ sap.ui.define([
1386
1393
  if (oTable.getRowMode()) {
1387
1394
  oTable.getRowMode().setRowContentHeight(80);
1388
1395
  } else {
1396
+ /**
1397
+ * @deprecated As of version 1.119
1398
+ */
1389
1399
  oTable.setRowHeight(80);
1390
1400
  }
1391
1401
  }
@@ -1668,7 +1678,7 @@ sap.ui.define([
1668
1678
  });
1669
1679
  }
1670
1680
  if (selectedShapeIDs.length > 0) {
1671
- this.oSelection.updateSelectedShapes(selectedShapeIDs, overrideExisting);
1681
+ this.oSelection.updateSelectedShapes(selectedShapeIDs, overrideExisting, this.getId());
1672
1682
  }
1673
1683
  };
1674
1684
 
@@ -1720,7 +1730,7 @@ sap.ui.define([
1720
1730
  }
1721
1731
  });
1722
1732
  if (deSelectedShapeIDs.length > 0) {
1723
- this.oSelection.updateSelectedShapes(deSelectedShapeIDs, false);
1733
+ this.oSelection.updateSelectedShapes(deSelectedShapeIDs, false, this.getId());
1724
1734
  }
1725
1735
  };
1726
1736
 
@@ -2854,12 +2864,7 @@ sap.ui.define([
2854
2864
 
2855
2865
  this._invalidateRowActionTemplate(oTable, sReason);
2856
2866
 
2857
- // whenever model changed, need invalidate gantt as well
2858
- var aModelChangeReason = values(ChangeReason).slice();
2859
-
2860
- // All reasons that need to invalidate the control which allows render manager to rerender it
2861
2867
  // Each UI interaction shall only render once
2862
- var aInvalidateReasons = aModelChangeReason.concat(["Render", "FirstVisibleRowChange", "Resize"]);
2863
2868
  if (this.getEnablePseudoShapes() && this.pseudoShapeSpecificData && ((this.pseudoShapeSpecificData.oDraggedShapeDates && this.pseudoShapeSpecificData.draggedShapeTRowIndex != null) || (this.pseudoShapeSpecificData.resizedShape && this.pseudoShapeSpecificData.resizedShapeRowIndex != null))){
2864
2869
  var oDraggedShapeDates = this.pseudoShapeSpecificData.oDraggedShapeDates,
2865
2870
  aRows = this.getTable().getRows(), aTRowIndexArr;
@@ -2927,11 +2932,14 @@ sap.ui.define([
2927
2932
  this.pseudoShapeSpecificData.isPseudoShapesEnabled = false;
2928
2933
  this._addBackTasksToRows();
2929
2934
  }
2930
- if (this._createInnerGanttRenderPromise()) {
2935
+
2936
+ var bIsValidReason = aInvalidateReasons.indexOf(sReason) !== -1;
2937
+
2938
+ if ((!bIsValidReason && sReason !== "VerticalScroll") || this._createInnerGanttRenderPromise()) {
2931
2939
  this.getInnerGantt().invalidate();
2932
2940
  }
2933
- if (aInvalidateReasons.indexOf(sReason) !== -1) {
2934
2941
 
2942
+ if (bIsValidReason) {
2935
2943
  // do not scrolling while invalidating control
2936
2944
  this.getSyncedControl().setAllowContentScroll(false);
2937
2945
  this._oInnerGanttRenderPromiseResolve();
@@ -3279,12 +3287,12 @@ sap.ui.define([
3279
3287
  return;
3280
3288
  }
3281
3289
  //Changes to set ZoomLevel during the Initial Rendering of the GanttChart
3282
- var oSyncZoomStrategyResult = this.getAxisTimeStrategy().syncContext(iVisibleWidth);
3283
- if (this.getAxisTimeStrategy().initialSettings != null && this.getAxisTimeStrategy().initialSettings.zoomLevel != null
3284
- && this.getAxisTimeStrategy().initialSettings.zoomLevel != 0 && sReasonCode == "initialRender"
3285
- && !this.getAxisTimeStrategy().isA("sap.gantt.axistime.FullScreenStrategy")
3290
+ var oAxisTimeStrategy = this.getAxisTimeStrategy();
3291
+ var oSyncZoomStrategyResult = oAxisTimeStrategy.syncContext(iVisibleWidth);
3292
+ if (oAxisTimeStrategy.initialSettings != null && oAxisTimeStrategy.initialSettings.zoomLevel != null
3293
+ && oAxisTimeStrategy.initialSettings.zoomLevel != 0 && sReasonCode == "initialRender"
3294
+ && !oAxisTimeStrategy.isA("sap.gantt.axistime.FullScreenStrategy")
3286
3295
  && !this.isPrint && this.getParent().isA("sap.gantt.simple.GanttChartContainer") && !this.getParent().isZoomLevelUpdated) {
3287
- var oAxisTimeStrategy = this.getAxisTimeStrategy();
3288
3296
  var binitialZoomLevel = oAxisTimeStrategy.initialSettings.zoomLevel;
3289
3297
  oAxisTimeStrategy.setProperty("zoomLevel", binitialZoomLevel, true);
3290
3298
  oSyncZoomStrategyResult.zoomLevel = binitialZoomLevel;
@@ -3292,6 +3300,12 @@ sap.ui.define([
3292
3300
  oAxisTimeStrategy.updateInitialVisibleHorizon(visibleHorizon, binitialZoomLevel);
3293
3301
  this.getParent().isZoomLevelUpdated = true;
3294
3302
  }
3303
+ if (sReasonCode == "initialRender" && oAxisTimeStrategy.isA("sap.gantt.axistime.StepwiseZoomStrategy")) {
3304
+ var oHorizon = oAxisTimeStrategy._completeTimeHorizon(new TimeHorizon({
3305
+ startTime: oAxisTimeStrategy.getVisibleHorizon().getStartTime()
3306
+ }));
3307
+ oAxisTimeStrategy.getVisibleHorizon().setProperty("endTime", oHorizon.getEndTime(), true);
3308
+ }
3295
3309
  this.fireEvent("_zoomInfoUpdated", oSyncZoomStrategyResult);
3296
3310
  this._iLastVisibleWidth = null;
3297
3311
 
@@ -3557,7 +3571,12 @@ sap.ui.define([
3557
3571
  })
3558
3572
  );
3559
3573
  }
3560
- } else {
3574
+ }
3575
+
3576
+ /**
3577
+ * @deprecated As of version 1.119
3578
+ */
3579
+ if (!oRowMode) {
3561
3580
  oTable.setVisibleRowCountMode(sap.ui.table.VisibleRowCountMode.Auto);
3562
3581
  oTable.setMinAutoRowCount(1);//Change the default value of minAutoRowCount to 1 form the default vlue of 5 for GanttChart with minimal height.
3563
3582
  }
@@ -3635,7 +3654,15 @@ sap.ui.define([
3635
3654
 
3636
3655
  GanttChartWithTable.prototype._updateRowHeightInExpandModel = function(oTable) {
3637
3656
  GanttUtils.setTableRowMode(oTable);
3638
- var iTableRowHeight = oTable.getRowMode() ? Math.ceil(oTable.getRowMode().getRowContentHeight()) : Math.ceil(oTable.getRowHeight());
3657
+ var oRowMode = oTable.getRowMode(), iTableRowHeight = 0;
3658
+ if (oRowMode) {
3659
+ iTableRowHeight = Math.ceil(oRowMode.getRowContentHeight());
3660
+ } else {
3661
+ /**
3662
+ * @deprecated As of version 1.119
3663
+ */
3664
+ iTableRowHeight = Math.ceil(oTable.getRowHeight());
3665
+ }
3639
3666
  if (iTableRowHeight === 0) {
3640
3667
  iTableRowHeight = Math.ceil(oTable._getDefaultRowHeight());
3641
3668
  }
@@ -100,7 +100,7 @@ sap.ui.define([
100
100
  *
101
101
  * @extends sap.gantt.simple.GanttExtension
102
102
  * @author SAP SE
103
- * @version 1.123.0
103
+ * @version 1.125.0
104
104
  * @constructor
105
105
  * @private
106
106
  * @alias sap.gantt.simple.GanttExtension
@@ -981,7 +981,9 @@ sap.ui.define([
981
981
  } else {
982
982
  this.updateCursorStyle("not-allowed", "none");
983
983
  this.updateHeaderCursorStyle("not-allowed", "none");
984
- this._stopAutoScroll();
984
+ if (oPointerExtension.isPointerInGanttChart() !== true){
985
+ this._stopAutoScroll();
986
+ }
985
987
  }
986
988
  this.showGhost(oEvent);
987
989
  this._disableTextSelection();
@@ -18,7 +18,7 @@ sap.ui.define([ "sap/ui/base/Object" ],function(BaseObject) {
18
18
  * @abstract
19
19
  * @extends sap.ui.base.Object
20
20
  * @author SAP SE
21
- * @version 1.123.0
21
+ * @version 1.125.0
22
22
  * @constructor
23
23
  * @private
24
24
  * @alias sap.gantt.simple.GanttExtension
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @extend sap.ui.core.Element
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.123.0
38
+ * @version 1.125.0
39
39
  *
40
40
  * @constructor
41
41
  * @private
@@ -349,7 +349,7 @@ sap.ui.define([
349
349
  oRm.attr("aria-label", _oRb.getText("ARIA_GANTT_INNER_HEADER"));
350
350
  oRm.openEnd();
351
351
  oRm.openStart("g", "inner-header-g");
352
- oRm.style("height", iMarkerAreaHeight);
352
+ oRm.style("height", iMarkerAreaHeight + "px");
353
353
  oRm.openEnd();
354
354
  var oRectArea = new BaseRectangle({
355
355
  x: 0,
@@ -14,7 +14,6 @@ sap.ui.define([
14
14
  "./GanttUtils",
15
15
  "sap/ui/core/format/DateFormat",
16
16
  "sap/m/Text",
17
- "sap/ui/core/format/TimezoneUtil",
18
17
  "sap/gantt/utils/GanttChartConfigurationUtils"
19
18
  ], function(
20
19
  jQuery,
@@ -26,7 +25,6 @@ sap.ui.define([
26
25
  GanttUtils,
27
26
  DateFormat,
28
27
  Text,
29
- TimezoneUtil,
30
28
  GanttChartConfigurationUtils
31
29
  ) {
32
30
  "use strict";
@@ -242,7 +240,7 @@ sap.ui.define([
242
240
  *
243
241
  * @extends sap.gantt.simple.GanttExtension
244
242
  * @author SAP SE
245
- * @version 1.123.0
243
+ * @version 1.125.0
246
244
  * @constructor
247
245
  * @private
248
246
  * @alias sap.gantt.simple.GanttPointerExtension
@@ -83,7 +83,7 @@ function(
83
83
  *
84
84
  * @extends sap.gantt.simple.GanttExtension
85
85
  * @author SAP SE
86
- * @version 1.123.0
86
+ * @version 1.125.0
87
87
  * @constructor
88
88
  * @private
89
89
  * @alias sap.gantt.simple.GanttPopoverExtension
@@ -158,7 +158,7 @@ sap.ui.define([
158
158
  * @extend sap.ui.core.Element
159
159
  *
160
160
  * @author SAP SE
161
- * @version 1.123.0
161
+ * @version 1.125.0
162
162
  * @since 1.66
163
163
  *
164
164
  * @constructor
@@ -396,9 +396,26 @@ sap.ui.define([
396
396
  var iRowCount = that._getOriginalGanttChart().getTable()._getTotalRowCount();
397
397
  that.iThreshold = Math.min(that.iThreshold, iRowCount - rowVal);
398
398
  that.bLast = counter + 1 >= lastVal ? true : false;
399
- that._ganttChartClone.getTable().setRowMode(new FixedRowMode({
400
- rowCount: that.iThreshold
401
- }));
399
+ if (that._getOriginalGanttChart()._bExpandToggled) {
400
+ that._ganttChartClone.getTable().setRowMode(new FixedRowMode({
401
+ rowCount: that.iThreshold
402
+ }));
403
+ } else {
404
+ var oCloneTable = that._ganttChartClone.getTable();
405
+ var oRowMode = oCloneTable.getRowMode(), nRowHeight = 0;
406
+ if (oRowMode && oRowMode.getRowContentHeight()) {
407
+ nRowHeight = oRowMode.getRowContentHeight();
408
+ } else {
409
+ /**
410
+ * @deprecated As of version 1.119
411
+ */
412
+ nRowHeight = oCloneTable.getRowHeight();
413
+ }
414
+ that._ganttChartClone.getTable().setRowMode(new FixedRowMode({
415
+ rowCount: that.iThreshold,
416
+ rowContentHeight: nRowHeight ? nRowHeight : Math.ceil(that._getOriginalGanttChart().getTableRowHeights()[0])
417
+ }));
418
+ }
402
419
  that.bFirst = (index === 0) ? true : false;
403
420
  that._ganttChartClone.getTable().setFirstVisibleRow(rowVal);
404
421
  if (GanttChartConfigurationUtils.getRTL()) {
@@ -483,9 +500,26 @@ sap.ui.define([
483
500
  var iRowCount = that._getOriginalGanttChart().getTable()._getTotalRowCount();
484
501
  that.iThreshold = Math.min(that.iThreshold, iRowCount - rowVal);
485
502
  that.bLast = counter + 1 >= lastVal ? true : false;
486
- that._ganttChartClone.getTable().setRowMode(new FixedRowMode({
487
- rowCount: that.iThreshold
488
- }));
503
+ if (that._getOriginalGanttChart._bExpandToggled) {
504
+ that._ganttChartClone.getTable().setRowMode(new FixedRowMode({
505
+ rowCount: that.iThreshold
506
+ }));
507
+ } else {
508
+ var oCloneTable = that._ganttChartClone.getTable();
509
+ var oRowMode = oCloneTable.getRowMode(), nRowHeight = 0;
510
+ if (oRowMode && oRowMode.getRowContentHeight()) {
511
+ nRowHeight = oRowMode.getRowContentHeight();
512
+ } else {
513
+ /**
514
+ * @deprecated As of version 1.119
515
+ */
516
+ nRowHeight = oCloneTable.getRowHeight();
517
+ }
518
+ that._ganttChartClone.getTable().setRowMode(new FixedRowMode({
519
+ rowCount: that.iThreshold,
520
+ rowContentHeight: nRowHeight ? nRowHeight : Math.ceil(that._getOriginalGanttChart().getTableRowHeights()[0])
521
+ }));
522
+ }
489
523
  that.bFirst = (index === 0) ? true : false;
490
524
  that._ganttChartClone.getTable().setFirstVisibleRow(rowVal);
491
525
  if (GanttChartConfigurationUtils.getRTL()) {
@@ -718,9 +752,26 @@ sap.ui.define([
718
752
  this.iThreshold = Math.min(Math.round(oGanttChart.getPrintingBatchSize() / iZoomLevel), oGanttChart.getTable()._getTotalRowCount());
719
753
  this._bMultipleBatches = oGanttChart.getTable()._getTotalRowCount() > this.iThreshold;
720
754
  this.bFirst = true;
721
- this._ganttChartClone.getTable().setRowMode(new FixedRowMode({
722
- rowCount: this.iThreshold
723
- }));
755
+ if (this._getOriginalGanttChart._bExpandToggled) {
756
+ this._ganttChartClone.getTable().setRowMode(new FixedRowMode({
757
+ rowCount: this.iThreshold
758
+ }));
759
+ } else {
760
+ var oCloneTable = this._ganttChartClone.getTable();
761
+ var oRowMode = oCloneTable.getRowMode(), nRowHeight = 0;
762
+ if (oRowMode && oRowMode.getRowContentHeight()) {
763
+ nRowHeight = oRowMode.getRowContentHeight();
764
+ } else {
765
+ /**
766
+ * @deprecated As of version 1.119
767
+ */
768
+ nRowHeight = oCloneTable.getRowHeight();
769
+ }
770
+ this._ganttChartClone.getTable().setRowMode(new FixedRowMode({
771
+ rowCount: this.iThreshold,
772
+ rowContentHeight: nRowHeight ? nRowHeight : Math.ceil(oGanttChart.getTableRowHeights()[0])
773
+ }));
774
+ }
724
775
  this._ganttChartClone.getTable().setThreshold(this.iThreshold);
725
776
  this._ganttChartClone.setParent(this._getOriginalGanttChart(), "originalGanttChart", true);
726
777
  } else {
@@ -909,11 +960,13 @@ sap.ui.define([
909
960
  };
910
961
 
911
962
  GanttPrinting.prototype._onResize = function () {
912
- var $dialogPreviewContentDiv = this._oHTMLDialogPreview.getDomRef();
913
- $dialogPreviewContentDiv.style.overflow = "hidden";
914
- this._resizePrintingPreviewPage();
915
- // overflow has to be set to visible because of the page shadow
916
- $dialogPreviewContentDiv.style.overflow = "visible";
963
+ if (this._oHTMLDialogPreview) {
964
+ var $dialogPreviewContentDiv = this._oHTMLDialogPreview.getDomRef();
965
+ $dialogPreviewContentDiv.style.overflow = "hidden";
966
+ this._resizePrintingPreviewPage();
967
+ // overflow has to be set to visible because of the page shadow
968
+ $dialogPreviewContentDiv.style.overflow = "visible";
969
+ }
917
970
  };
918
971
 
919
972
  function mmToPx(iMm) {
@@ -1896,9 +1949,26 @@ sap.ui.define([
1896
1949
  }
1897
1950
  }
1898
1951
  if (this._ganttChartClone._enableOptimisation) {
1899
- oTable.setRowMode(new FixedRowMode({
1900
- rowCount: this.iThreshold
1901
- }));
1952
+ if (this._getOriginalGanttChart._bExpandToggled) {
1953
+ oTable.setRowMode(new FixedRowMode({
1954
+ rowCount: this.iThreshold
1955
+ }));
1956
+ } else {
1957
+ var oCloneTable = this._ganttChartClone.getTable();
1958
+ var oRowMode = oCloneTable.getRowMode(), nRowHeight = 0;
1959
+ if (oRowMode && oRowMode.getRowContentHeight()) {
1960
+ nRowHeight = oRowMode.getRowContentHeight();
1961
+ } else {
1962
+ /**
1963
+ * @deprecated As of version 1.119
1964
+ */
1965
+ nRowHeight = oCloneTable.getRowHeight();
1966
+ }
1967
+ oTable.setRowMode(new FixedRowMode({
1968
+ rowCount: this.iThreshold,
1969
+ rowContentHeight: nRowHeight ? nRowHeight : Math.ceil(this._getOriginalGanttChart().getTableRowHeights()[0])
1970
+ }));
1971
+ }
1902
1972
  oTable.setThreshold(this.iThreshold);
1903
1973
  }
1904
1974
  var oOriginalRowBinding = oOriginalGantt.getTable().getBinding("rows"),
@@ -3104,9 +3174,8 @@ sap.ui.define([
3104
3174
  };
3105
3175
 
3106
3176
  GanttPrinting.prototype._createDatePicker = function (bSinglePage) {
3107
- var oTimeStrategy = this._getOriginalGanttChart().getAxisTimeStrategy();
3108
- var oLocale = this._getOriginalGanttChart().getLocale();
3109
- var oTotalHorizon = oTimeStrategy.getTotalHorizon();
3177
+ var oLocale = this._ganttChartClone.getLocale();
3178
+ var oTotalHorizon = this._ganttChartClone.getAxisTimeStrategy().getTotalHorizon();
3110
3179
  var oStartTime = Format.abapTimestampToDate(oTotalHorizon.getStartTime());
3111
3180
  var oEndTime = Format.abapTimestampToDate(oTotalHorizon.getEndTime());
3112
3181
 
@@ -3123,9 +3192,12 @@ sap.ui.define([
3123
3192
  this._oStartDateLabel.toStatic();
3124
3193
  this._oEndDateLabel.toStatic();
3125
3194
 
3195
+ var oOriginalTotalHorizon = this._getOriginalGanttChart().getAxisTimeStrategy().getTotalHorizon();
3196
+ var oOriginalStartTime = Format.abapTimestampToDate(oOriginalTotalHorizon.getStartTime());
3197
+ var oOriginalEndTime = Format.abapTimestampToDate(oOriginalTotalHorizon.getEndTime());
3126
3198
  this._oDatePickerFrom = new DateTimePicker({
3127
- minDate: UI5Date.getInstance(oStartTime),
3128
- maxDate: UI5Date.getInstance(oEndTime),
3199
+ minDate: UI5Date.getInstance(oOriginalStartTime),
3200
+ maxDate: UI5Date.getInstance(oOriginalEndTime),
3129
3201
  value: {
3130
3202
  parts: [{
3131
3203
  path: "setting>/startDate",
@@ -3146,8 +3218,8 @@ sap.ui.define([
3146
3218
  });
3147
3219
 
3148
3220
  this._oDatePickerTo = new DateTimePicker({
3149
- minDate: UI5Date.getInstance(oStartTime),
3150
- maxDate: UI5Date.getInstance(oEndTime),
3221
+ minDate: UI5Date.getInstance(oOriginalStartTime),
3222
+ maxDate: UI5Date.getInstance(oOriginalEndTime),
3151
3223
  value: {
3152
3224
  parts: [{
3153
3225
  path: "setting>/endDate",
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.table.RowAction
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.123.0
30
+ * @version 1.125.0
31
31
  *
32
32
  * @constructor
33
33
  * @experimental
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.table.RowSettings
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.123.0
30
+ * @version 1.125.0
31
31
  *
32
32
  * @constructor
33
33
  * @public
@@ -121,9 +121,14 @@ sap.ui.define([
121
121
  setTableRowMode: function(oTable) {
122
122
  if (oTable) {
123
123
  var oRowMode = oTable.getRowMode();
124
+
125
+ /**
126
+ * @deprecated As of version 1.119
127
+ */
124
128
  if (!oRowMode && oTable.getVisibleRowCountMode()) {
125
129
  return;
126
130
  }
131
+
127
132
  if (oRowMode === null || oRowMode === "Fixed") {
128
133
  oTable.setRowMode(new FixedRowMode());
129
134
  } else if (oRowMode === "Auto") {
@@ -231,10 +236,13 @@ sap.ui.define([
231
236
  sShapeId = oPart.shapeId;
232
237
 
233
238
  var selector = ["[id='", sContainerId, "']", " [" + GanttUtils.SHAPE_ID_DATASET_KEY + "='", sShapeId, "']"].join("");
234
- return jQuery(selector).control().filter(function (oElement) {
235
- return oElement.getShapeUid() === sShapeUid;
236
- })[0];
237
-
239
+ var sElm = document.querySelector(selector);
240
+ if (sElm) {
241
+ const oElement = Element.getElementById(sElm.id);
242
+ if ( oElement && oElement.getShapeUid() === sShapeUid ) {
243
+ return oElement;
244
+ }
245
+ }
238
246
  };
239
247
  return aShapeUid.map(fnElementFromShapeId);
240
248
  },
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * @extend sap.ui.core.Control
40
40
  *
41
41
  * @author SAP SE
42
- * @version 1.123.0
42
+ * @version 1.125.0
43
43
  *
44
44
  * @constructor
45
45
  * @private
@@ -119,12 +119,21 @@ sap.ui.define([
119
119
  var oGantt = this.getParent(), oTable = oGantt.getTable();
120
120
  GanttUtils.setTableRowMode(oTable);
121
121
  if (oGantt._enableOptimisation && !oGantt.getTable().getRowMode().isA("sap.ui.table.rowmodes.Fixed")) {
122
- oGantt.getTable().setRowMode(new FixedRowMode());
122
+ if (oGantt.getTable().getRowMode() && oGantt.getTable().getRowMode().getRowContentHeight()) {
123
+ oGantt.getTable().setRowMode(new FixedRowMode({
124
+ rowContentHeight: oGantt.getTable().getRowMode().getRowContentHeight()
125
+ }));
126
+ } else {
127
+ oGantt.getTable().setRowMode(new FixedRowMode());
128
+ }
123
129
  }
124
130
  var bRowMode;
125
131
  if (oTable.getRowMode()) {
126
132
  bRowMode = oGantt.getTable().getRowMode().isA("sap.ui.table.rowmodes.Auto") && oGantt.getSyncedControl().getRowStates().length < (oGantt.getTable().getRows().length - 1 + TableUtils.getHeaderRowCount(oGantt.getTable()));
127
133
  } else {
134
+ /**
135
+ * @deprecated As of version 1.119
136
+ */
128
137
  bRowMode = oGantt.getTable().getVisibleRowCountMode() === tableLibrary.VisibleRowCountMode.Auto && oGantt.getSyncedControl().getRowStates().length < (oGantt.getTable().getVisibleRowCount() + TableUtils.getHeaderRowCount(oGantt.getTable()));
129
138
  }
130
139
  if (bWithShapes && !oEvent.getParameter("hasRenderedShapes") ||
@@ -652,7 +652,7 @@ sap.ui.define([
652
652
  fnRenderFakeRls(mEntities[sEntityKey].getProperty(sRelationshipShapeIdPath), sEntityKey[0] === "/" ? sEntityKey : "/" + sEntityKey);
653
653
  }
654
654
  });
655
- } else { // ODataModel
655
+ } else if (oModel.isA("sap.ui.model.odata.v2.ODataModel")) { // ODataModel v2
656
656
  var mEntities = oModel.getProperty("/"); // OData entities are in the root (even expanded ones)
657
657
  Object.keys(mEntities).forEach(function (sEntityKey) {
658
658
  if (sEntityKey.startsWith(oRelationshipsBindingInfo.path)) {
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.ui.core.Control
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.123.0
36
+ * @version 1.125.0
37
37
  *
38
38
  * @constructor
39
39
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.gantt.simple.BaseShape
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.123.0
25
+ * @version 1.125.0
26
26
  * @since 1.84
27
27
  *
28
28
  * @constructor
@@ -19,7 +19,7 @@ sap.ui.define(["sap/gantt/simple/BaseGroup"], function (BaseGroup) {
19
19
  * @extends sap.gantt.simple.BaseGroup
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.123.0
22
+ * @version 1.125.0
23
23
  * @since 1.85
24
24
  *
25
25
  * @constructor
@@ -21,7 +21,7 @@
21
21
  * @extends sap.gantt.simple.GanttRowSettings
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.123.0
24
+ * @version 1.125.0
25
25
  * @since 1.85
26
26
  *
27
27
  * @constructor
@@ -50,7 +50,7 @@ sap.ui.define([
50
50
  * @extends sap.gantt.simple.BasePath
51
51
  *
52
52
  * @author SAP SE
53
- * @version 1.123.0
53
+ * @version 1.125.0
54
54
  *
55
55
  * @constructor
56
56
  * @public