@sapui5/sap.gantt 1.94.0 → 1.97.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 (244) hide show
  1. package/package.json +1 -1
  2. package/src/sap/gantt/.library +1 -1
  3. package/src/sap/gantt/AdhocLine.js +5 -3
  4. package/src/sap/gantt/GanttChart.js +6 -4
  5. package/src/sap/gantt/GanttChartBase.js +5 -3
  6. package/src/sap/gantt/GanttChartContainer.js +11 -5
  7. package/src/sap/gantt/GanttChartContainerRenderer.js +4 -2
  8. package/src/sap/gantt/GanttChartRenderer.js +4 -2
  9. package/src/sap/gantt/GanttChartWithTable.js +15 -7
  10. package/src/sap/gantt/GanttChartWithTableRenderer.js +4 -2
  11. package/src/sap/gantt/axistime/AxisTimeStrategyBase.js +5 -3
  12. package/src/sap/gantt/axistime/FullScreenStrategy.js +5 -3
  13. package/src/sap/gantt/axistime/ProportionZoomStrategy.js +5 -3
  14. package/src/sap/gantt/axistime/StepwiseZoomStrategy.js +5 -3
  15. package/src/sap/gantt/changeHandlers/simple/AdhocLine.js +5 -3
  16. package/src/sap/gantt/changeHandlers/simple/DeltaLine.js +5 -3
  17. package/src/sap/gantt/changeHandlers/simple/GanttChartContainer.js +5 -3
  18. package/src/sap/gantt/changeHandlers/simple/GanttChartWithTable.js +5 -3
  19. package/src/sap/gantt/config/BirdEyeGroup.js +5 -3
  20. package/src/sap/gantt/config/ChartScheme.js +5 -3
  21. package/src/sap/gantt/config/ColumnAttribute.js +5 -3
  22. package/src/sap/gantt/config/ContainerLayout.js +5 -3
  23. package/src/sap/gantt/config/ExpandChart.js +5 -3
  24. package/src/sap/gantt/config/ExpandChartGroup.js +5 -3
  25. package/src/sap/gantt/config/GanttChartLayout.js +5 -3
  26. package/src/sap/gantt/config/Hierarchy.js +5 -3
  27. package/src/sap/gantt/config/HierarchyColumn.js +5 -3
  28. package/src/sap/gantt/config/LayoutGroup.js +5 -3
  29. package/src/sap/gantt/config/Locale.js +5 -3
  30. package/src/sap/gantt/config/Mode.js +5 -3
  31. package/src/sap/gantt/config/ModeGroup.js +5 -3
  32. package/src/sap/gantt/config/ObjectType.js +5 -3
  33. package/src/sap/gantt/config/SettingGroup.js +5 -3
  34. package/src/sap/gantt/config/SettingItem.js +5 -3
  35. package/src/sap/gantt/config/Shape.js +5 -3
  36. package/src/sap/gantt/config/TimeAxis.js +5 -3
  37. package/src/sap/gantt/config/TimeHorizon.js +5 -3
  38. package/src/sap/gantt/config/TimeZoomGroup.js +5 -3
  39. package/src/sap/gantt/config/ToolbarGroup.js +5 -3
  40. package/src/sap/gantt/config/ToolbarScheme.js +5 -3
  41. package/src/sap/gantt/control/AssociateContainer.js +4 -2
  42. package/src/sap/gantt/control/AssociateContainerRenderer.js +4 -2
  43. package/src/sap/gantt/control/Cell.js +5 -3
  44. package/src/sap/gantt/control/CellRenderer.js +4 -2
  45. package/src/sap/gantt/control/Toolbar.js +4 -2
  46. package/src/sap/gantt/control/ToolbarRenderer.js +4 -2
  47. package/src/sap/gantt/def/DefBase.js +5 -3
  48. package/src/sap/gantt/def/SvgDefs.js +5 -3
  49. package/src/sap/gantt/def/cal/Calendar.js +5 -3
  50. package/src/sap/gantt/def/cal/CalendarDefs.js +5 -3
  51. package/src/sap/gantt/def/cal/TimeInterval.js +5 -3
  52. package/src/sap/gantt/def/filter/MorphologyFilter.js +5 -3
  53. package/src/sap/gantt/def/gradient/LinearGradient.js +5 -3
  54. package/src/sap/gantt/def/gradient/RadialGradient.js +5 -3
  55. package/src/sap/gantt/def/gradient/Stop.js +5 -3
  56. package/src/sap/gantt/def/pattern/BackSlashPattern.js +5 -3
  57. package/src/sap/gantt/def/pattern/PatternBase.js +5 -3
  58. package/src/sap/gantt/def/pattern/SlashPattern.js +5 -3
  59. package/src/sap/gantt/designtime/GanttChart.designtime.js +4 -2
  60. package/src/sap/gantt/designtime/GanttChartWithTable.designtime.js +4 -2
  61. package/src/sap/gantt/designtime/library.designtime.js +4 -2
  62. package/src/sap/gantt/designtime/simple/AdhocLine.designtime.js +4 -2
  63. package/src/sap/gantt/designtime/simple/DeltaLine.designtime.js +4 -2
  64. package/src/sap/gantt/designtime/simple/GanttChartContainer.designtime.js +4 -2
  65. package/src/sap/gantt/designtime/simple/GanttChartWithTable.designtime.js +4 -2
  66. package/src/sap/gantt/designtime/simple/Table.designtime.js +4 -2
  67. package/src/sap/gantt/drawer/AdhocLine.js +4 -2
  68. package/src/sap/gantt/drawer/CalendarPattern.js +4 -2
  69. package/src/sap/gantt/drawer/CursorLine.js +4 -2
  70. package/src/sap/gantt/drawer/Drawer.js +5 -3
  71. package/src/sap/gantt/drawer/ExpandedBackground.js +4 -2
  72. package/src/sap/gantt/drawer/NowLine.js +4 -2
  73. package/src/sap/gantt/drawer/SelectionPanel.js +4 -2
  74. package/src/sap/gantt/drawer/ShapeCrossRow.js +4 -2
  75. package/src/sap/gantt/drawer/ShapeInRow.js +26 -23
  76. package/src/sap/gantt/drawer/TimePeriodZoomRectangle.js +4 -2
  77. package/src/sap/gantt/drawer/VerticalLine.js +4 -2
  78. package/src/sap/gantt/eventHandler/AutoScrollHandler.js +5 -3
  79. package/src/sap/gantt/eventHandler/BirdEyeHandler.js +1 -1
  80. package/src/sap/gantt/eventHandler/MouseWheelHandler.js +5 -3
  81. package/src/sap/gantt/eventHandler/ShapeHoverHandler.js +5 -3
  82. package/src/sap/gantt/eventHandler/ShapeResizeHandler.js +5 -3
  83. package/src/sap/gantt/eventHandler/TimePeriodZoomHandler.js +5 -3
  84. package/src/sap/gantt/eventHandler/TimePopoverHandler.js +5 -3
  85. package/src/sap/gantt/flexibility/simple/GanttChartContainer.flexibility.js +4 -2
  86. package/src/sap/gantt/flexibility/simple/GanttTableColumn.flexibility.js +4 -2
  87. package/src/sap/gantt/legend/DimensionLegend.js +5 -3
  88. package/src/sap/gantt/legend/DimensionLegendRenderer.js +4 -2
  89. package/src/sap/gantt/legend/LegendBase.js +5 -3
  90. package/src/sap/gantt/legend/LegendContainer.js +5 -3
  91. package/src/sap/gantt/legend/LegendContainerRenderer.js +4 -2
  92. package/src/sap/gantt/legend/ListLegend.js +5 -3
  93. package/src/sap/gantt/legend/ListLegendRenderer.js +4 -2
  94. package/src/sap/gantt/library.js +49 -9
  95. package/src/sap/gantt/messagebundle_fr.properties +8 -8
  96. package/src/sap/gantt/misc/AxisOrdinal.js +4 -2
  97. package/src/sap/gantt/misc/AxisTime.js +4 -2
  98. package/src/sap/gantt/misc/Format.js +4 -2
  99. package/src/sap/gantt/misc/RelativeTimeFormatter.js +5 -3
  100. package/src/sap/gantt/misc/ShapeManager.js +5 -3
  101. package/src/sap/gantt/misc/ShapeSelectionModel.js +4 -2
  102. package/src/sap/gantt/misc/Utility.js +4 -2
  103. package/src/sap/gantt/shape/Circle.js +7 -4
  104. package/src/sap/gantt/shape/ClipPath.js +5 -3
  105. package/src/sap/gantt/shape/Definitions.js +5 -3
  106. package/src/sap/gantt/shape/Group.js +5 -3
  107. package/src/sap/gantt/shape/Image.js +5 -3
  108. package/src/sap/gantt/shape/Line.js +7 -4
  109. package/src/sap/gantt/shape/Path.js +8 -5
  110. package/src/sap/gantt/shape/Polygon.js +7 -4
  111. package/src/sap/gantt/shape/Polyline.js +7 -4
  112. package/src/sap/gantt/shape/Rectangle.js +7 -4
  113. package/src/sap/gantt/shape/ResizeShadowShape.js +5 -3
  114. package/src/sap/gantt/shape/SelectedShape.js +5 -3
  115. package/src/sap/gantt/shape/Shape.js +6 -4
  116. package/src/sap/gantt/shape/Text.js +8 -5
  117. package/src/sap/gantt/shape/cal/Calendar.js +5 -3
  118. package/src/sap/gantt/shape/ext/Chevron.js +5 -3
  119. package/src/sap/gantt/shape/ext/Cursor.js +5 -3
  120. package/src/sap/gantt/shape/ext/Diamond.js +5 -3
  121. package/src/sap/gantt/shape/ext/Iconfont.js +5 -3
  122. package/src/sap/gantt/shape/ext/Pentangle.js +5 -3
  123. package/src/sap/gantt/shape/ext/TextRepeat.js +5 -3
  124. package/src/sap/gantt/shape/ext/Triangle.js +5 -3
  125. package/src/sap/gantt/shape/ext/rls/Relationship.js +5 -3
  126. package/src/sap/gantt/shape/ext/rls/SelectedRelationship.js +5 -3
  127. package/src/sap/gantt/shape/ext/ubc/UbcBorderPath.js +5 -3
  128. package/src/sap/gantt/shape/ext/ubc/UbcOverCapacityZonePolygon.js +5 -3
  129. package/src/sap/gantt/shape/ext/ubc/UbcPolygon.js +5 -3
  130. package/src/sap/gantt/shape/ext/ubc/UbcShortageCapacityPolygon.js +5 -3
  131. package/src/sap/gantt/shape/ext/ubc/UbcTooltipRectangle.js +5 -3
  132. package/src/sap/gantt/shape/ext/ubc/UbcUnderCapacityZonePolygon.js +5 -3
  133. package/src/sap/gantt/shape/ext/ubc/UbcUsedPolygon.js +5 -3
  134. package/src/sap/gantt/shape/ext/ubc/UtilizationBarChart.js +5 -3
  135. package/src/sap/gantt/shape/ext/ulc/UlcBorderPath.js +5 -3
  136. package/src/sap/gantt/shape/ext/ulc/UlcClipPath.js +5 -3
  137. package/src/sap/gantt/shape/ext/ulc/UlcClipingPath.js +5 -3
  138. package/src/sap/gantt/shape/ext/ulc/UlcDimension.js +5 -3
  139. package/src/sap/gantt/shape/ext/ulc/UlcMiddleLine.js +5 -3
  140. package/src/sap/gantt/shape/ext/ulc/UlcOverCapacityZoneRectangle.js +5 -3
  141. package/src/sap/gantt/shape/ext/ulc/UlcOverClipRectangle.js +5 -3
  142. package/src/sap/gantt/shape/ext/ulc/UlcRectangle.js +5 -3
  143. package/src/sap/gantt/shape/ext/ulc/UlcTooltipRectangle.js +5 -3
  144. package/src/sap/gantt/shape/ext/ulc/UlcUnderClipRectangle.js +5 -3
  145. package/src/sap/gantt/shape/ext/ulc/UtilizationLineChart.js +5 -3
  146. package/src/sap/gantt/simple/AdhocDiamond.js +5 -3
  147. package/src/sap/gantt/simple/AdhocLine.js +9 -4
  148. package/src/sap/gantt/simple/AdhocLineRenderer.js +4 -2
  149. package/src/sap/gantt/simple/AggregationUtils.js +4 -2
  150. package/src/sap/gantt/simple/BaseCalendar.js +5 -3
  151. package/src/sap/gantt/simple/BaseChevron.js +5 -3
  152. package/src/sap/gantt/simple/BaseConditionalShape.js +5 -3
  153. package/src/sap/gantt/simple/BaseCursor.js +5 -3
  154. package/src/sap/gantt/simple/BaseDeltaRectangle.js +18 -5
  155. package/src/sap/gantt/simple/BaseDiamond.js +5 -3
  156. package/src/sap/gantt/simple/BaseGroup.js +22 -13
  157. package/src/sap/gantt/simple/BaseImage.js +5 -3
  158. package/src/sap/gantt/simple/BaseLine.js +5 -3
  159. package/src/sap/gantt/simple/BasePath.js +5 -3
  160. package/src/sap/gantt/simple/BaseRectangle.js +6 -4
  161. package/src/sap/gantt/simple/BaseShape.js +23 -4
  162. package/src/sap/gantt/simple/BaseText.js +24 -6
  163. package/src/sap/gantt/simple/BaseTriangle.js +1 -1
  164. package/src/sap/gantt/simple/ContainerToolbar.js +79 -12
  165. package/src/sap/gantt/simple/ContainerToolbarPlaceholder.js +5 -3
  166. package/src/sap/gantt/simple/ContainerToolbarRenderer.js +4 -2
  167. package/src/sap/gantt/simple/CoordinateUtils.js +5 -3
  168. package/src/sap/gantt/simple/CustomVariantHandler.js +19 -0
  169. package/src/sap/gantt/simple/DeltaLine.js +11 -5
  170. package/src/sap/gantt/simple/DeltaLineRenderer.js +4 -2
  171. package/src/sap/gantt/simple/DimensionLegend.js +4 -2
  172. package/src/sap/gantt/simple/DimensionLegendRenderer.js +4 -2
  173. package/src/sap/gantt/simple/ExpandModel.js +11 -4
  174. package/src/sap/gantt/simple/FullScreenUtil.js +118 -0
  175. package/src/sap/gantt/simple/GanttAdaptationData.js +1 -1
  176. package/src/sap/gantt/simple/GanttChartContainer.js +50 -17
  177. package/src/sap/gantt/simple/GanttChartContainerRenderer.js +4 -2
  178. package/src/sap/gantt/simple/GanttChartWithTable.js +121 -11
  179. package/src/sap/gantt/simple/GanttChartWithTableRenderer.js +4 -2
  180. package/src/sap/gantt/simple/GanttConnectExtension.js +4 -2
  181. package/src/sap/gantt/simple/GanttDragDropExtension.js +21 -14
  182. package/src/sap/gantt/simple/GanttExtension.js +5 -3
  183. package/src/sap/gantt/simple/GanttHeader.js +9 -8
  184. package/src/sap/gantt/simple/GanttLassoExtension.js +4 -2
  185. package/src/sap/gantt/simple/GanttPointerExtension.js +5 -3
  186. package/src/sap/gantt/simple/GanttPopoverExtension.js +7 -5
  187. package/src/sap/gantt/simple/GanttPrinting.js +64 -44
  188. package/src/sap/gantt/simple/GanttResizeExtension.js +14 -10
  189. package/src/sap/gantt/simple/GanttRowAction.js +5 -3
  190. package/src/sap/gantt/simple/GanttRowActionRenderer.js +4 -2
  191. package/src/sap/gantt/simple/GanttRowSettings.js +5 -3
  192. package/src/sap/gantt/simple/GanttScrollExtension.js +24 -9
  193. package/src/sap/gantt/simple/GanttSyncedControl.js +13 -4
  194. package/src/sap/gantt/simple/GanttUtils.js +97 -9
  195. package/src/sap/gantt/simple/GanttZoomExtension.js +4 -2
  196. package/src/sap/gantt/simple/InnerGanttChart.js +23 -12
  197. package/src/sap/gantt/simple/InnerGanttChartRenderer.js +14 -4
  198. package/src/sap/gantt/simple/LegendColumnConfig.js +4 -2
  199. package/src/sap/gantt/simple/LegendContainer.js +5 -3
  200. package/src/sap/gantt/simple/LegendContainerRenderer.js +4 -2
  201. package/src/sap/gantt/simple/LegendRowConfig.js +4 -2
  202. package/src/sap/gantt/simple/LegendShapeGroup.js +5 -3
  203. package/src/sap/gantt/simple/LegendShapeGroupOrientation.js +4 -2
  204. package/src/sap/gantt/simple/ListLegend.js +4 -2
  205. package/src/sap/gantt/simple/ListLegendItem.js +4 -2
  206. package/src/sap/gantt/simple/ListLegendRenderer.js +4 -2
  207. package/src/sap/gantt/simple/MarkerType.js +4 -2
  208. package/src/sap/gantt/simple/MultiActivityGroup.js +5 -3
  209. package/src/sap/gantt/simple/MultiActivityRowSettings.js +5 -3
  210. package/src/sap/gantt/simple/Relationship.js +136 -116
  211. package/src/sap/gantt/simple/RenderUtils.js +63 -48
  212. package/src/sap/gantt/simple/SelectionModel.js +4 -2
  213. package/src/sap/gantt/simple/ShapeScheme.js +5 -3
  214. package/src/sap/gantt/simple/StockChart.js +886 -0
  215. package/src/sap/gantt/simple/StockChartDimension.js +101 -0
  216. package/src/sap/gantt/simple/StockChartPeriod.js +58 -0
  217. package/src/sap/gantt/simple/UtilizationBarChart.js +5 -3
  218. package/src/sap/gantt/simple/UtilizationChart.js +12 -7
  219. package/src/sap/gantt/simple/UtilizationDimension.js +5 -3
  220. package/src/sap/gantt/simple/UtilizationLineChart.js +5 -3
  221. package/src/sap/gantt/simple/UtilizationPeriod.js +5 -3
  222. package/src/sap/gantt/simple/shapes/Shape.js +24 -6
  223. package/src/sap/gantt/simple/shapes/Task.js +5 -3
  224. package/src/sap/gantt/themes/base/Gantt.less +31 -6
  225. package/src/sap/gantt/themes/base/GanttSyncedControl.less +4 -0
  226. package/src/sap/gantt/themes/base/library.source.less +4 -2
  227. package/src/sap/gantt/themes/sap_belize/library.source.less +4 -2
  228. package/src/sap/gantt/themes/sap_belize_hcb/Gantt.less +4 -2
  229. package/src/sap/gantt/themes/sap_belize_hcb/library.source.less +4 -2
  230. package/src/sap/gantt/themes/sap_belize_hcw/Gantt.less +4 -2
  231. package/src/sap/gantt/themes/sap_belize_hcw/library.source.less +4 -2
  232. package/src/sap/gantt/themes/sap_belize_plus/library.source.less +4 -2
  233. package/src/sap/gantt/themes/sap_bluecrystal/Gantt.less +4 -2
  234. package/src/sap/gantt/themes/sap_bluecrystal/library.source.less +4 -2
  235. package/src/sap/gantt/themes/sap_fiori_3/library.source.less +4 -2
  236. package/src/sap/gantt/themes/sap_fiori_3_dark/library.source.less +4 -2
  237. package/src/sap/gantt/themes/sap_fiori_3_hcb/library.source.less +4 -2
  238. package/src/sap/gantt/themes/sap_fiori_3_hcw/library.source.less +4 -2
  239. package/src/sap/gantt/themes/sap_hcb/Gantt.less +4 -2
  240. package/src/sap/gantt/themes/sap_hcb/library.source.less +4 -2
  241. package/src/sap/gantt/themes/sap_horizon/library.source.less +10 -0
  242. package/src/sap/gantt/thirdparty/html2canvas.js +4 -1
  243. package/src/sap/gantt/thirdparty/jspdf.js +13 -4
  244. package/ui5.yaml +2 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.gantt",
3
- "version": "1.94.0",
3
+ "version": "1.97.0",
4
4
  "description": "SAPUI5 Library sap.gantt",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -7,7 +7,7 @@
7
7
 
8
8
  (c) Copyright 2009-2015 SAP SE. All rights reserved
9
9
  </copyright>
10
- <version>1.94.0</version>
10
+ <version>1.97.0</version>
11
11
 
12
12
  <documentation>UI5 library: sap.gantt</documentation>
13
13
 
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  "sap/ui/core/Element"
@@ -21,7 +23,7 @@ sap.ui.define([
21
23
  * @extends sap.ui.core.Element
22
24
  *
23
25
  * @author SAP SE
24
- * @version 1.94.0
26
+ * @version 1.97.0
25
27
  *
26
28
  * @constructor
27
29
  * @public
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  "sap/ui/thirdparty/jquery",
@@ -85,7 +87,7 @@ function (
85
87
  * @extends sap.gantt.GanttChartBase
86
88
  *
87
89
  * @author SAP SE
88
- * @version 1.94.0
90
+ * @version 1.97.0
89
91
  *
90
92
  * @constructor
91
93
  * @public
@@ -1794,7 +1796,7 @@ function (
1794
1796
  if (this.getEnableCursorLine()) {
1795
1797
  var aSvg = jQuery(this.getDomSelectorById("svg"));
1796
1798
  // calculate svg coordinate for hover
1797
- var oSvgPoint = this._getSvgCoodinateByDiv(aSvg[0], this._getMouseXPos(oEvent), oEvent.pageY || oEvent.clientY);
1799
+ var oSvgPoint = this._getSvgCoodinateByDiv(aSvg[0], this._getMouseXPos(oEvent) - window.pageXOffset, oEvent.pageY || oEvent.clientY);
1798
1800
 
1799
1801
  // draw cursorLine. select svgs of all chart instances to impl synchronized cursorLine
1800
1802
  this._oCursorLineDrawer.drawSvg(
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  'sap/ui/thirdparty/jquery',
@@ -61,7 +63,7 @@ sap.ui.define([
61
63
  * @abstract
62
64
  *
63
65
  * @author SAP SE
64
- * @version 1.94.0
66
+ * @version 1.97.0
65
67
  *
66
68
  * @constructor
67
69
  * @public
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  "sap/ui/performance/Measurement",
@@ -60,7 +62,7 @@ function (
60
62
  * @extend sap.ui.core.Control
61
63
  *
62
64
  * @author SAP SE
63
- * @version 1.94.0
65
+ * @version 1.97.0
64
66
  *
65
67
  * @constructor
66
68
  * @public
@@ -879,8 +881,12 @@ function (
879
881
  var ganttChartSize = oEvent.getParameter("newSizes")[1];
880
882
 
881
883
  if (selectionPanelSize >= 0 && (selectionPanelSize + ganttChartSize) !== 0) {
882
- var selectionPanelSizeInPercentage = (100 * selectionPanelSize / (selectionPanelSize + ganttChartSize)).toFixed(0);
883
- aGanttCharts[i].setSelectionPanelSize(selectionPanelSizeInPercentage + "%", true);
884
+ if (aGanttCharts[i].getAxisTimeStrategy().isA("sap.gantt.axistime.StepwiseZoomStrategy")) {
885
+ aGanttCharts[i].setSelectionPanelSize(selectionPanelSize + "px", true);
886
+ } else {
887
+ var selectionPanelSizeInPercentage = (100 * selectionPanelSize / (selectionPanelSize + ganttChartSize)).toFixed(0);
888
+ aGanttCharts[i].setSelectionPanelSize(selectionPanelSizeInPercentage + "%", true);
889
+ }
884
890
  }
885
891
  }
886
892
  };
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
 
6
8
  sap.ui.define(["sap/gantt/misc/Utility", "sap/ui/performance/Measurement"], function (Utility, Measurement) {
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
 
6
8
  sap.ui.define(["sap/ui/performance/Measurement"], function (Measurement) {
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  "sap/ui/performance/Measurement",
@@ -55,7 +57,7 @@ sap.ui.define([
55
57
  * @extends sap.gantt.GanttChartBase
56
58
  *
57
59
  * @author SAP SE
58
- * @version 1.94.0
60
+ * @version 1.97.0
59
61
  *
60
62
  * @constructor
61
63
  * @public
@@ -175,22 +177,28 @@ sap.ui.define([
175
177
  };
176
178
 
177
179
  this._oTT._updateRowState = function (oState) {
178
- TreeTable.prototype._updateRowState.apply(this, arguments);
180
+ TableUtils.Grouping.updateGroups(this);
179
181
 
180
182
  var aRows = this.getRows(),
181
183
  aRowHeights = that._getRowHeights();
182
184
  if (!aRowHeights) {
183
185
  return;
184
186
  }
187
+ var iFirstVisibleRowIndex = that._getTTFirstRenderingRowIndex();
188
+ var iRowCount = that._aHeights.length;
189
+ var aShapeData = that._oGanttChart._getDrawingData([iFirstVisibleRowIndex,iFirstVisibleRowIndex + iRowCount - 1]);
190
+ if (aShapeData && aShapeData.length > 0){
191
+ var rowSpan = aShapeData[0].rowSpan;
192
+ }
185
193
  var $fixedRows = this.$().find(".sapUiTableCtrlFixed > tbody > tr.sapUiTableTr");
186
- var $rowHeaders = this.$().find(".sapUiTableRowHdr");
194
+ var $rowHeaders = this.$().find(".sapUiTableContentRow > div.sapUiTableRowSelectionCell");
187
195
  for (var iIndex = 0; iIndex < aRows.length; iIndex++) {
188
196
  var $Row = aRows[iIndex].$(),
189
197
  $fixedRow = $fixedRows.filter(":eq(" + iIndex + ")"),
190
198
  $rowHeader = $rowHeaders.filter(":eq(" + iIndex + ")"),
191
199
  iHeight = aRowHeights[iIndex] || 0;
192
200
  var iBaseRowHeight = that._oGanttChart.getBaseRowHeight();
193
- var bAddedClass = iHeight / iBaseRowHeight > 1;
201
+ var bAddedClass = iHeight / (iBaseRowHeight * rowSpan) > 1;
194
202
  $Row.toggleClass('sapGanttExpandedRow', bAddedClass);
195
203
  $fixedRow.toggleClass('sapGanttExpandedRow', bAddedClass);
196
204
  $rowHeader.toggleClass('sapGanttExpandedRow', bAddedClass);
@@ -1165,7 +1173,7 @@ sap.ui.define([
1165
1173
  $tableMask.hide();
1166
1174
  }
1167
1175
  this._adjustGanttInferredRowHeight();
1168
- TableUtils.Grouping.updateGroups(this._oTT);
1176
+ this._oTT._updateRowState();
1169
1177
  //this._adjustChartHeaderHeight();
1170
1178
  };
1171
1179
 
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
 
6
8
  sap.ui.define(['sap/ui/core/theming/Parameters', 'sap/gantt/misc/Utility'], function (Parameters, Utility) {
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  "sap/base/Log",
@@ -65,7 +67,7 @@ sap.ui.define([
65
67
  * @abstract
66
68
  *
67
69
  * @author SAP SE
68
- * @version 1.94.0
70
+ * @version 1.97.0
69
71
  *
70
72
  * @constructor
71
73
  * @public
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  "sap/base/Log",
@@ -43,7 +45,7 @@ sap.ui.define([
43
45
  * @extends sap.gantt.axistime.AxisTimeStrategyBase
44
46
  *
45
47
  * @author SAP SE
46
- * @version 1.94.0
48
+ * @version 1.97.0
47
49
  *
48
50
  * @constructor
49
51
  * @public
@@ -1,8 +1,10 @@
1
1
 
2
2
 
3
3
  /*!
4
- * SAPUI5
5
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
4
+ * SAP UI development toolkit for HTML5 (SAPUI5)
5
+
6
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
7
+
6
8
  */
7
9
  sap.ui.define([
8
10
  "sap/base/Log",
@@ -34,7 +36,7 @@ sap.ui.define([
34
36
  * @extends sap.gantt.axistime.AxisTimeStrategyBase
35
37
  *
36
38
  * @author SAP SE
37
- * @version 1.94.0
39
+ * @version 1.97.0
38
40
  *
39
41
  * @constructor
40
42
  * @public
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  "sap/gantt/library",
@@ -238,7 +240,7 @@ sap.ui.define([
238
240
  * The class allows you to define a zoom strategy whose time line options are stepwise, i.e. the width of each time line option
239
241
  * is pre-defined and won't be changed during zooming.
240
242
  * @extends sap.gantt.axistime.AxisTimeStrategyBase
241
- * @version 1.94.0
243
+ * @version 1.97.0
242
244
  *
243
245
  * @constructor
244
246
  * @public
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  "sap/gantt/utils/GanttCustomisationUtils"
@@ -17,7 +19,7 @@ sap.ui.define([
17
19
  *
18
20
  * @author SAP SE
19
21
  *
20
- * @version 1.94.0
22
+ * @version 1.97.0
21
23
  *
22
24
  * @since 1.90
23
25
  */
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  "sap/gantt/utils/GanttCustomisationUtils"
@@ -17,7 +19,7 @@ sap.ui.define([
17
19
  *
18
20
  * @author SAP SE
19
21
  *
20
- * @version 1.94.0
22
+ * @version 1.97.0
21
23
  *
22
24
  * @since 1.90
23
25
  */
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  "sap/m/Button",
@@ -30,7 +32,7 @@ sap.ui.define([
30
32
  *
31
33
  * @author SAP SE
32
34
  *
33
- * @version 1.94.0
35
+ * @version 1.97.0
34
36
  *
35
37
  * @since 1.90
36
38
  */
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  "sap/m/Button",
@@ -31,7 +33,7 @@ sap.ui.define([
31
33
  *
32
34
  * @author SAP SE
33
35
  *
34
- * @version 1.94.0
36
+ * @version 1.97.0
35
37
  *
36
38
  * @since 1.90
37
39
  */
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
 
6
8
  sap.ui.define([
@@ -19,7 +21,7 @@ sap.ui.define([
19
21
  * @extends sap.gantt.config.ToolbarGroup
20
22
  *
21
23
  * @author SAP SE
22
- * @version 1.94.0
24
+ * @version 1.97.0
23
25
  *
24
26
  * @constructor
25
27
  * @public
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  'sap/ui/core/Element'
@@ -21,7 +23,7 @@ sap.ui.define([
21
23
  * @extends sap.ui.core.Element
22
24
  *
23
25
  * @author SAP SE
24
- * @version 1.94.0
26
+ * @version 1.97.0
25
27
  *
26
28
  * @constructor
27
29
  * @public
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  'sap/ui/core/Element'
@@ -18,7 +20,7 @@ sap.ui.define([
18
20
  * @extends sap.ui.core.Element
19
21
  *
20
22
  * @author SAP SE
21
- * @version 1.94.0
23
+ * @version 1.97.0
22
24
  *
23
25
  * @constructor
24
26
  * @public
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  'sap/ui/core/Element', 'sap/ui/core/library'
@@ -20,7 +22,7 @@ sap.ui.define([
20
22
  * @extends sap.ui.core.Element
21
23
  *
22
24
  * @author SAP SE
23
- * @version 1.94.0
25
+ * @version 1.97.0
24
26
  *
25
27
  * @constructor
26
28
  * @public
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  'sap/ui/core/Element'
@@ -17,7 +19,7 @@ sap.ui.define([
17
19
  * @extends sap.ui.core.Element
18
20
  *
19
21
  * @author SAP SE
20
- * @version 1.94.0
22
+ * @version 1.97.0
21
23
  *
22
24
  * @constructor
23
25
  * @public
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  './ToolbarGroup'
@@ -18,7 +20,7 @@ sap.ui.define([
18
20
  * @extends sap.gantt.config.ToolbarGroup
19
21
  *
20
22
  * @author SAP SE
21
- * @version 1.94.0
23
+ * @version 1.97.0
22
24
  *
23
25
  * @constructor
24
26
  * @public
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  'sap/ui/core/Element'
@@ -18,7 +20,7 @@ sap.ui.define([
18
20
  * @extends sap.ui.core.Element
19
21
  *
20
22
  * @author SAP SE
21
- * @version 1.94.0
23
+ * @version 1.97.0
22
24
  *
23
25
  * @constructor
24
26
  * @public
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  'sap/ui/core/Element'
@@ -17,7 +19,7 @@ sap.ui.define([
17
19
  * @extends sap.ui.core.Element
18
20
  *
19
21
  * @author SAP SE
20
- * @version 1.94.0
22
+ * @version 1.97.0
21
23
  *
22
24
  * @constructor
23
25
  * @public
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  'sap/ui/core/Element'
@@ -18,7 +20,7 @@ sap.ui.define([
18
20
  * @extends sap.ui.core.Element
19
21
  *
20
22
  * @author SAP SE
21
- * @version 1.94.0
23
+ * @version 1.97.0
22
24
  *
23
25
  * @constructor
24
26
  * @public
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  './ToolbarGroup'
@@ -17,7 +19,7 @@ sap.ui.define([
17
19
  * @extends sap.gantt.config.ToolbarGroup
18
20
  *
19
21
  * @author SAP SE
20
- * @version 1.94.0
22
+ * @version 1.97.0
21
23
  *
22
24
  * @constructor
23
25
  * @public
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define(['sap/ui/core/Element'
6
8
  ], function (Element) {
@@ -16,7 +18,7 @@ sap.ui.define(['sap/ui/core/Element'
16
18
  * @extends sap.ui.core.Element
17
19
  *
18
20
  * @author SAP SE
19
- * @version 1.94.0
21
+ * @version 1.97.0
20
22
  *
21
23
  * @constructor
22
24
  * @public
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  'sap/ui/core/Element'
@@ -19,7 +21,7 @@ sap.ui.define([
19
21
  * @extends sap.ui.core.Element
20
22
  *
21
23
  * @author SAP SE
22
- * @version 1.94.0
24
+ * @version 1.97.0
23
25
  *
24
26
  * @constructor
25
27
  * @public
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  './ToolbarGroup'
@@ -19,7 +21,7 @@ sap.ui.define([
19
21
  * @extends sap.gantt.config.ToolbarGroup
20
22
  *
21
23
  * @author SAP SE
22
- * @version 1.94.0
24
+ * @version 1.97.0
23
25
  *
24
26
  * @constructor
25
27
  * @public
@@ -1,6 +1,8 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
4
6
  */
5
7
  sap.ui.define([
6
8
  'sap/ui/core/Element'
@@ -18,7 +20,7 @@ sap.ui.define([
18
20
  * @extends sap.ui.core.Element
19
21
  *
20
22
  * @author SAP SE
21
- * @version 1.94.0
23
+ * @version 1.97.0
22
24
  *
23
25
  * @constructor
24
26
  * @public