@sapui5/sap.gantt 1.99.0 → 1.102.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 (230) hide show
  1. package/package.json +1 -1
  2. package/src/sap/gantt/.library +1 -1
  3. package/src/sap/gantt/AdhocLine.js +1 -1
  4. package/src/sap/gantt/GanttChart.js +1 -1
  5. package/src/sap/gantt/GanttChartBase.js +1 -1
  6. package/src/sap/gantt/GanttChartContainer.js +1 -1
  7. package/src/sap/gantt/GanttChartWithTable.js +5 -2
  8. package/src/sap/gantt/axistime/AxisTimeStrategyBase.js +3 -3
  9. package/src/sap/gantt/axistime/FullScreenStrategy.js +1 -1
  10. package/src/sap/gantt/axistime/ProportionZoomStrategy.js +31 -7
  11. package/src/sap/gantt/axistime/StepwiseZoomStrategy.js +1 -1
  12. package/src/sap/gantt/changeHandlers/simple/AdhocLine.js +1 -1
  13. package/src/sap/gantt/changeHandlers/simple/DeltaLine.js +1 -1
  14. package/src/sap/gantt/changeHandlers/simple/GanttChartContainer.js +1 -1
  15. package/src/sap/gantt/changeHandlers/simple/GanttChartWithTable.js +1 -1
  16. package/src/sap/gantt/config/BirdEyeGroup.js +1 -1
  17. package/src/sap/gantt/config/ChartScheme.js +1 -1
  18. package/src/sap/gantt/config/ColumnAttribute.js +1 -1
  19. package/src/sap/gantt/config/ContainerLayout.js +1 -1
  20. package/src/sap/gantt/config/ExpandChart.js +1 -1
  21. package/src/sap/gantt/config/ExpandChartGroup.js +1 -1
  22. package/src/sap/gantt/config/GanttChartLayout.js +1 -1
  23. package/src/sap/gantt/config/Hierarchy.js +1 -1
  24. package/src/sap/gantt/config/HierarchyColumn.js +1 -1
  25. package/src/sap/gantt/config/LayoutGroup.js +1 -1
  26. package/src/sap/gantt/config/Locale.js +1 -1
  27. package/src/sap/gantt/config/Mode.js +1 -1
  28. package/src/sap/gantt/config/ModeGroup.js +1 -1
  29. package/src/sap/gantt/config/ObjectType.js +1 -1
  30. package/src/sap/gantt/config/SettingGroup.js +1 -1
  31. package/src/sap/gantt/config/SettingItem.js +1 -1
  32. package/src/sap/gantt/config/Shape.js +1 -1
  33. package/src/sap/gantt/config/TimeAxis.js +1 -1
  34. package/src/sap/gantt/config/TimeHorizon.js +1 -1
  35. package/src/sap/gantt/config/TimeZoomGroup.js +1 -1
  36. package/src/sap/gantt/config/ToolbarGroup.js +1 -1
  37. package/src/sap/gantt/config/ToolbarScheme.js +1 -1
  38. package/src/sap/gantt/control/Cell.js +1 -1
  39. package/src/sap/gantt/def/DefBase.js +1 -1
  40. package/src/sap/gantt/def/SvgDefs.js +1 -1
  41. package/src/sap/gantt/def/cal/Calendar.js +1 -1
  42. package/src/sap/gantt/def/cal/CalendarDefs.js +1 -1
  43. package/src/sap/gantt/def/cal/TimeInterval.js +1 -1
  44. package/src/sap/gantt/def/filter/MorphologyFilter.js +1 -1
  45. package/src/sap/gantt/def/gradient/LinearGradient.js +1 -1
  46. package/src/sap/gantt/def/gradient/RadialGradient.js +1 -1
  47. package/src/sap/gantt/def/gradient/Stop.js +1 -1
  48. package/src/sap/gantt/def/pattern/BackSlashPattern.js +1 -1
  49. package/src/sap/gantt/def/pattern/PatternBase.js +1 -1
  50. package/src/sap/gantt/def/pattern/SlashPattern.js +1 -1
  51. package/src/sap/gantt/drawer/CursorLine.js +2 -1
  52. package/src/sap/gantt/drawer/Drawer.js +1 -1
  53. package/src/sap/gantt/eventHandler/AutoScrollHandler.js +1 -1
  54. package/src/sap/gantt/eventHandler/BirdEyeHandler.js +1 -1
  55. package/src/sap/gantt/eventHandler/MouseWheelHandler.js +1 -1
  56. package/src/sap/gantt/eventHandler/ShapeHoverHandler.js +1 -1
  57. package/src/sap/gantt/eventHandler/ShapeResizeHandler.js +1 -1
  58. package/src/sap/gantt/eventHandler/TimePeriodZoomHandler.js +1 -1
  59. package/src/sap/gantt/eventHandler/TimePopoverHandler.js +1 -1
  60. package/src/sap/gantt/legend/DimensionLegend.js +1 -1
  61. package/src/sap/gantt/legend/LegendBase.js +1 -1
  62. package/src/sap/gantt/legend/LegendContainer.js +1 -1
  63. package/src/sap/gantt/legend/ListLegend.js +1 -1
  64. package/src/sap/gantt/library.js +104 -4
  65. package/src/sap/gantt/messagebundle.properties +36 -0
  66. package/src/sap/gantt/messagebundle_ar.properties +24 -0
  67. package/src/sap/gantt/messagebundle_bg.properties +24 -0
  68. package/src/sap/gantt/messagebundle_ca.properties +24 -0
  69. package/src/sap/gantt/messagebundle_cs.properties +24 -0
  70. package/src/sap/gantt/messagebundle_cy.properties +24 -0
  71. package/src/sap/gantt/messagebundle_da.properties +24 -0
  72. package/src/sap/gantt/messagebundle_de.properties +24 -0
  73. package/src/sap/gantt/messagebundle_el.properties +24 -0
  74. package/src/sap/gantt/messagebundle_en.properties +24 -0
  75. package/src/sap/gantt/messagebundle_en_GB.properties +24 -0
  76. package/src/sap/gantt/messagebundle_en_US_sappsd.properties +24 -0
  77. package/src/sap/gantt/messagebundle_en_US_saprigi.properties +24 -0
  78. package/src/sap/gantt/messagebundle_en_US_saptrc.properties +24 -0
  79. package/src/sap/gantt/messagebundle_es.properties +24 -0
  80. package/src/sap/gantt/messagebundle_es_MX.properties +24 -0
  81. package/src/sap/gantt/messagebundle_et.properties +24 -0
  82. package/src/sap/gantt/messagebundle_fi.properties +24 -0
  83. package/src/sap/gantt/messagebundle_fr.properties +60 -36
  84. package/src/sap/gantt/messagebundle_fr_CA.properties +24 -0
  85. package/src/sap/gantt/messagebundle_hi.properties +24 -0
  86. package/src/sap/gantt/messagebundle_hr.properties +24 -0
  87. package/src/sap/gantt/messagebundle_hu.properties +24 -0
  88. package/src/sap/gantt/messagebundle_id.properties +24 -0
  89. package/src/sap/gantt/messagebundle_it.properties +24 -0
  90. package/src/sap/gantt/messagebundle_iw.properties +24 -0
  91. package/src/sap/gantt/messagebundle_ja.properties +24 -0
  92. package/src/sap/gantt/messagebundle_kk.properties +24 -0
  93. package/src/sap/gantt/messagebundle_ko.properties +24 -0
  94. package/src/sap/gantt/messagebundle_lt.properties +24 -0
  95. package/src/sap/gantt/messagebundle_lv.properties +24 -0
  96. package/src/sap/gantt/messagebundle_ms.properties +24 -0
  97. package/src/sap/gantt/messagebundle_nl.properties +24 -0
  98. package/src/sap/gantt/messagebundle_no.properties +25 -1
  99. package/src/sap/gantt/messagebundle_pl.properties +24 -0
  100. package/src/sap/gantt/messagebundle_pt.properties +24 -0
  101. package/src/sap/gantt/messagebundle_pt_PT.properties +24 -0
  102. package/src/sap/gantt/messagebundle_ro.properties +24 -0
  103. package/src/sap/gantt/messagebundle_ru.properties +24 -0
  104. package/src/sap/gantt/messagebundle_sh.properties +24 -0
  105. package/src/sap/gantt/messagebundle_sk.properties +24 -0
  106. package/src/sap/gantt/messagebundle_sl.properties +24 -0
  107. package/src/sap/gantt/messagebundle_sv.properties +24 -0
  108. package/src/sap/gantt/messagebundle_th.properties +24 -0
  109. package/src/sap/gantt/messagebundle_tr.properties +24 -0
  110. package/src/sap/gantt/messagebundle_uk.properties +24 -0
  111. package/src/sap/gantt/messagebundle_vi.properties +24 -0
  112. package/src/sap/gantt/messagebundle_zh_CN.properties +24 -0
  113. package/src/sap/gantt/messagebundle_zh_TW.properties +24 -0
  114. package/src/sap/gantt/misc/AxisTime.js +8 -8
  115. package/src/sap/gantt/misc/Format.js +26 -0
  116. package/src/sap/gantt/misc/RelativeTimeFormatter.js +1 -1
  117. package/src/sap/gantt/misc/ShapeManager.js +1 -1
  118. package/src/sap/gantt/misc/Utility.js +10 -1
  119. package/src/sap/gantt/shape/Circle.js +1 -1
  120. package/src/sap/gantt/shape/ClipPath.js +1 -1
  121. package/src/sap/gantt/shape/Definitions.js +1 -1
  122. package/src/sap/gantt/shape/Group.js +1 -1
  123. package/src/sap/gantt/shape/Image.js +1 -1
  124. package/src/sap/gantt/shape/Line.js +1 -1
  125. package/src/sap/gantt/shape/Path.js +1 -1
  126. package/src/sap/gantt/shape/Polygon.js +1 -1
  127. package/src/sap/gantt/shape/Polyline.js +1 -1
  128. package/src/sap/gantt/shape/Rectangle.js +1 -1
  129. package/src/sap/gantt/shape/ResizeShadowShape.js +1 -1
  130. package/src/sap/gantt/shape/SelectedShape.js +1 -1
  131. package/src/sap/gantt/shape/Shape.js +1 -1
  132. package/src/sap/gantt/shape/Text.js +1 -1
  133. package/src/sap/gantt/shape/cal/Calendar.js +1 -1
  134. package/src/sap/gantt/shape/ext/Chevron.js +1 -1
  135. package/src/sap/gantt/shape/ext/Cursor.js +1 -1
  136. package/src/sap/gantt/shape/ext/Diamond.js +1 -1
  137. package/src/sap/gantt/shape/ext/Iconfont.js +1 -1
  138. package/src/sap/gantt/shape/ext/Pentangle.js +1 -1
  139. package/src/sap/gantt/shape/ext/TextRepeat.js +1 -1
  140. package/src/sap/gantt/shape/ext/Triangle.js +1 -1
  141. package/src/sap/gantt/shape/ext/rls/Relationship.js +1 -1
  142. package/src/sap/gantt/shape/ext/rls/SelectedRelationship.js +1 -1
  143. package/src/sap/gantt/shape/ext/ubc/UbcBorderPath.js +1 -1
  144. package/src/sap/gantt/shape/ext/ubc/UbcOverCapacityZonePolygon.js +1 -1
  145. package/src/sap/gantt/shape/ext/ubc/UbcPolygon.js +1 -1
  146. package/src/sap/gantt/shape/ext/ubc/UbcShortageCapacityPolygon.js +1 -1
  147. package/src/sap/gantt/shape/ext/ubc/UbcTooltipRectangle.js +1 -1
  148. package/src/sap/gantt/shape/ext/ubc/UbcUnderCapacityZonePolygon.js +1 -1
  149. package/src/sap/gantt/shape/ext/ubc/UbcUsedPolygon.js +1 -1
  150. package/src/sap/gantt/shape/ext/ubc/UtilizationBarChart.js +1 -1
  151. package/src/sap/gantt/shape/ext/ulc/UlcBorderPath.js +1 -1
  152. package/src/sap/gantt/shape/ext/ulc/UlcClipPath.js +1 -1
  153. package/src/sap/gantt/shape/ext/ulc/UlcClipingPath.js +1 -1
  154. package/src/sap/gantt/shape/ext/ulc/UlcDimension.js +1 -1
  155. package/src/sap/gantt/shape/ext/ulc/UlcMiddleLine.js +1 -1
  156. package/src/sap/gantt/shape/ext/ulc/UlcOverCapacityZoneRectangle.js +1 -1
  157. package/src/sap/gantt/shape/ext/ulc/UlcOverClipRectangle.js +1 -1
  158. package/src/sap/gantt/shape/ext/ulc/UlcRectangle.js +1 -1
  159. package/src/sap/gantt/shape/ext/ulc/UlcTooltipRectangle.js +1 -1
  160. package/src/sap/gantt/shape/ext/ulc/UlcUnderClipRectangle.js +1 -1
  161. package/src/sap/gantt/shape/ext/ulc/UtilizationLineChart.js +1 -1
  162. package/src/sap/gantt/simple/AdhocDiamond.js +1 -1
  163. package/src/sap/gantt/simple/AdhocLine.js +1 -1
  164. package/src/sap/gantt/simple/BaseCalendar.js +78 -21
  165. package/src/sap/gantt/simple/BaseChevron.js +1 -1
  166. package/src/sap/gantt/simple/BaseConditionalShape.js +68 -5
  167. package/src/sap/gantt/simple/BaseCursor.js +1 -1
  168. package/src/sap/gantt/simple/BaseDeltaRectangle.js +1 -1
  169. package/src/sap/gantt/simple/BaseDiamond.js +1 -1
  170. package/src/sap/gantt/simple/BaseGroup.js +1 -1
  171. package/src/sap/gantt/simple/BaseImage.js +1 -1
  172. package/src/sap/gantt/simple/BaseLine.js +1 -1
  173. package/src/sap/gantt/simple/BasePath.js +1 -1
  174. package/src/sap/gantt/simple/BaseRectangle.js +1 -1
  175. package/src/sap/gantt/simple/BaseShape.js +48 -2
  176. package/src/sap/gantt/simple/BaseText.js +3 -2
  177. package/src/sap/gantt/simple/BaseTriangle.js +1 -1
  178. package/src/sap/gantt/simple/ContainerToolbar.js +237 -8
  179. package/src/sap/gantt/simple/ContainerToolbarPlaceholder.js +1 -1
  180. package/src/sap/gantt/simple/CoordinateUtils.js +1 -1
  181. package/src/sap/gantt/simple/CustomVariantHandler.js +1 -1
  182. package/src/sap/gantt/simple/DeltaLine.js +1 -1
  183. package/src/sap/gantt/simple/ExpandModel.js +12 -11
  184. package/src/sap/gantt/simple/FindAndSelectUtils.js +429 -0
  185. package/src/sap/gantt/simple/GanttAdaptationData.js +1 -1
  186. package/src/sap/gantt/simple/GanttChartContainer.js +49 -5
  187. package/src/sap/gantt/simple/GanttChartContainerRenderer.js +21 -2
  188. package/src/sap/gantt/simple/GanttChartWithTable.js +929 -122
  189. package/src/sap/gantt/simple/GanttDragDropExtension.js +20 -13
  190. package/src/sap/gantt/simple/GanttExtension.js +1 -1
  191. package/src/sap/gantt/simple/GanttHeader.js +12 -4
  192. package/src/sap/gantt/simple/GanttPointerExtension.js +4 -2
  193. package/src/sap/gantt/simple/GanttPopoverExtension.js +5 -3
  194. package/src/sap/gantt/simple/GanttPrinting.js +25 -15
  195. package/src/sap/gantt/simple/GanttResizeExtension.js +181 -3
  196. package/src/sap/gantt/simple/GanttRowAction.js +24 -5
  197. package/src/sap/gantt/simple/GanttRowSettings.js +1 -1
  198. package/src/sap/gantt/simple/GanttScrollExtension.js +1 -1
  199. package/src/sap/gantt/simple/GanttSearchSidePanel.js +374 -0
  200. package/src/sap/gantt/simple/GanttSearchSidePanelRenderer.js +28 -0
  201. package/src/sap/gantt/simple/GanttSyncedControl.js +1 -1
  202. package/src/sap/gantt/simple/GanttUtils.js +2 -2
  203. package/src/sap/gantt/simple/GanttZoomExtension.js +55 -0
  204. package/src/sap/gantt/simple/HighlightModel.js +190 -0
  205. package/src/sap/gantt/simple/InnerGanttChart.js +5 -1
  206. package/src/sap/gantt/simple/InnerGanttChartRenderer.js +56 -12
  207. package/src/sap/gantt/simple/LegendContainer.js +1 -1
  208. package/src/sap/gantt/simple/LegendShapeGroup.js +1 -1
  209. package/src/sap/gantt/simple/ListLegendRenderer.js +3 -3
  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 +39 -3
  213. package/src/sap/gantt/simple/RenderUtils.js +163 -12
  214. package/src/sap/gantt/simple/SelectionModel.js +12 -1
  215. package/src/sap/gantt/simple/ShapeScheme.js +1 -1
  216. package/src/sap/gantt/simple/StockChart.js +64 -27
  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 +2 -3
  223. package/src/sap/gantt/simple/UtilizationPeriod.js +1 -1
  224. package/src/sap/gantt/simple/shapes/Shape.js +5 -5
  225. package/src/sap/gantt/simple/shapes/Task.js +6 -6
  226. package/src/sap/gantt/themes/base/Gantt.less +73 -2
  227. package/src/sap/gantt/themes/sap_horizon_dark/library.source.less +10 -0
  228. package/src/sap/gantt/themes/sap_horizon_hcb/library.source.less +10 -0
  229. package/src/sap/gantt/themes/sap_horizon_hcw/library.source.less +10 -0
  230. package/src/sap/gantt/thirdparty/jspdf.js +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.gantt",
3
- "version": "1.99.0",
3
+ "version": "1.102.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.99.0</version>
10
+ <version>1.102.0</version>
11
11
 
12
12
  <documentation>UI5 library: sap.gantt</documentation>
13
13
 
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.99.0
26
+ * @version 1.102.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -87,7 +87,7 @@ function (
87
87
  * @extends sap.gantt.GanttChartBase
88
88
  *
89
89
  * @author SAP SE
90
- * @version 1.99.0
90
+ * @version 1.102.0
91
91
  *
92
92
  * @constructor
93
93
  * @public
@@ -63,7 +63,7 @@ sap.ui.define([
63
63
  * @abstract
64
64
  *
65
65
  * @author SAP SE
66
- * @version 1.99.0
66
+ * @version 1.102.0
67
67
  *
68
68
  * @constructor
69
69
  * @public
@@ -62,7 +62,7 @@ function (
62
62
  * @extend sap.ui.core.Control
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.99.0
65
+ * @version 1.102.0
66
66
  *
67
67
  * @constructor
68
68
  * @public
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * @extends sap.gantt.GanttChartBase
58
58
  *
59
59
  * @author SAP SE
60
- * @version 1.99.0
60
+ * @version 1.102.0
61
61
  *
62
62
  * @constructor
63
63
  * @public
@@ -1336,7 +1336,10 @@ sap.ui.define([
1336
1336
  var aVisibleRowDatas = this._getVisibleRowData();
1337
1337
  if (aVisibleRowDatas !== undefined){
1338
1338
  this._oSelectionPanelDrawer.drawSvg(d3.select(this.getDomSelectorById("spm-svg-table")), aVisibleRowDatas, iTableHeaderWidth, this);
1339
- this.$().find(this.getDomSelectorById("spm-svg-table")).css("transform", "translateY(" + (-this._oTT.$().find(".sapUiTableCCnt").scrollTop()) + "px)");
1339
+ //Update TranslateY of the GanttSVGMask only if GanttChartTable and th eTreeTable scrollTop is not in Sync.
1340
+ if (this._oTT.$().find(".sapUiTableCCnt").scrollTop() != this._oTC.$().find(".sapUiTableCCnt").scrollTop()) {
1341
+ this.$().find(this.getDomSelectorById("spm-svg-table")).css("transform", "translateY(" + (-this._oTC.$().find(".sapUiTableCCnt").scrollTop()) + "px)");
1342
+ }
1340
1343
  }
1341
1344
  };
1342
1345
 
@@ -67,7 +67,7 @@ sap.ui.define([
67
67
  * @abstract
68
68
  *
69
69
  * @author SAP SE
70
- * @version 1.99.0
70
+ * @version 1.102.0
71
71
  *
72
72
  * @constructor
73
73
  * @public
@@ -528,8 +528,8 @@ sap.ui.define([
528
528
  * Fire the redraw request to Gantt Chart
529
529
  * @private
530
530
  */
531
- AxisTimeStrategyBase.prototype.fireRedrawRequest = function (bForceUpdated, sReasonCode, oValueBeforeChange, oOringinEvent) {
532
- this.fireEvent("_redrawRequest", {forceUpdate: bForceUpdated, reasonCode: sReasonCode, valueBeforeChange: oValueBeforeChange, originEvent: oOringinEvent});
531
+ AxisTimeStrategyBase.prototype.fireRedrawRequest = function (bForceUpdated, sReasonCode, oValueBeforeChange, oOringinEvent,subReasonCode) {
532
+ this.fireEvent("_redrawRequest", {forceUpdate: bForceUpdated, reasonCode: sReasonCode, valueBeforeChange: oValueBeforeChange, originEvent: oOringinEvent,subReasonCode: subReasonCode});
533
533
  };
534
534
 
535
535
  /**
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * @extends sap.gantt.axistime.AxisTimeStrategyBase
46
46
  *
47
47
  * @author SAP SE
48
- * @version 1.99.0
48
+ * @version 1.102.0
49
49
  *
50
50
  * @constructor
51
51
  * @public
@@ -12,8 +12,9 @@ sap.ui.define([
12
12
  "sap/base/util/ObjectPath",
13
13
  "sap/gantt/axistime/AxisTimeStrategyBase",
14
14
  "sap/gantt/misc/Utility",
15
- "sap/gantt/misc/Format"
16
- ], function (Log, library, ObjectPath, AxisTimeStrategyBase, Utility, Format) {
15
+ "sap/gantt/misc/Format",
16
+ "sap/gantt/config/TimeHorizon"
17
+ ], function (Log, library, ObjectPath, AxisTimeStrategyBase, Utility, Format, TimeHorizon) {
17
18
  "use strict";
18
19
 
19
20
  sap.gantt.axistime.ProportionTimeLineOptions = library.config.DEFAULT_TIME_ZOOM_STRATEGY;
@@ -36,7 +37,7 @@ sap.ui.define([
36
37
  * @extends sap.gantt.axistime.AxisTimeStrategyBase
37
38
  *
38
39
  * @author SAP SE
39
- * @version 1.99.0
40
+ * @version 1.102.0
40
41
  *
41
42
  * @constructor
42
43
  * @public
@@ -72,7 +73,7 @@ sap.ui.define([
72
73
  /*
73
74
  * @private
74
75
  */
75
- ProportionZoomStrategy.prototype.setVisibleHorizonWithReason = function (oVisibleHorizon, sReasonCode, oOriginEvent) {
76
+ ProportionZoomStrategy.prototype.setVisibleHorizonWithReason = function (oVisibleHorizon, sReasonCode, oOriginEvent,subReasonCode) {
76
77
  if (oVisibleHorizon && !oVisibleHorizon.getStartTime() && !oVisibleHorizon.getEndTime()) {
77
78
  this._bHorizontalScroll = false;
78
79
  } else {
@@ -85,7 +86,7 @@ sap.ui.define([
85
86
  //redraw will call syncContent(), in there rate will be updated
86
87
  AxisTimeStrategyBase.prototype._setVisibleHorizon.apply(this, arguments);
87
88
  if (oLastVisibleHorizon) {
88
- this.fireRedrawRequest(false, sReasonCode, oLastVisibleHorizon, oOriginEvent);
89
+ this.fireRedrawRequest(false, sReasonCode, oLastVisibleHorizon, oOriginEvent,subReasonCode);
89
90
  }
90
91
  return this;
91
92
  };
@@ -109,12 +110,14 @@ sap.ui.define([
109
110
  };
110
111
 
111
112
  ProportionZoomStrategy.prototype.setZoomLevel = function (iZoomLevel) {
113
+ var visibleHorizonUpdateSubType = sap.gantt.simple.VisibleHorizonUpdateSubType;
112
114
  if (iZoomLevel >= 0 && iZoomLevel !== this.getZoomLevel()) {
115
+ var subReasonCode = iZoomLevel > this.getZoomLevel() ? visibleHorizonUpdateSubType.ZoomIn : visibleHorizonUpdateSubType.ZoomOut;
113
116
  this.setProperty("zoomLevel", iZoomLevel, true);
114
117
 
115
118
  if (this._aZoomRate[iZoomLevel]) {
116
119
  var oNewVisibleHorizon = this.calVisibleHorizonByRate(this._aZoomRate[iZoomLevel]);
117
- this.setVisibleHorizonWithReason(oNewVisibleHorizon, "zoomLevelChanged");
120
+ this.setVisibleHorizonWithReason(oNewVisibleHorizon, "zoomLevelChanged",null,subReasonCode);
118
121
  }
119
122
  }
120
123
  return this;
@@ -177,7 +180,7 @@ sap.ui.define([
177
180
  this._oZoom.rate = oDeterminedByChartWidth.suitableRate;
178
181
  this._adjustRateByBoundary();
179
182
  }
180
-
183
+ this._bHorizontalScroll = false;
181
184
  var iLastZoomLevel = this.getZoomLevel(),
182
185
  iZoomLevel = this._calcZoomLevelFromZoomRate(this._oZoom.rate);
183
186
 
@@ -361,5 +364,26 @@ sap.ui.define([
361
364
  return oCurrentVisibleHorizon;
362
365
  };
363
366
 
367
+ /**
368
+ * Provides the rendered horizon range for the given total horizon and zoom level.
369
+ *
370
+ * @private
371
+ * @experimental As of version 1.102
372
+ */
373
+ ProportionZoomStrategy.prototype.getRenderedVisibleHorizon = function () {
374
+ var oTotalHorizon = this.getTotalHorizon(),
375
+ iZoomLevel = this.getZoomLevel(),
376
+ oGantt = this.getParent();
377
+ if (!oGantt || !oTotalHorizon || (iZoomLevel === undefined)) {
378
+ return undefined;
379
+ }
380
+ var oRenderedTimeRange = oGantt.getRenderedTimeRange();
381
+ var oRenderedVisibleHorizon = new TimeHorizon({
382
+ startTime: oRenderedTimeRange[0],
383
+ endTime: oRenderedTimeRange[1]
384
+ });
385
+ return oRenderedVisibleHorizon;
386
+ };
387
+
364
388
  return ProportionZoomStrategy;
365
389
  }, true);
@@ -240,7 +240,7 @@ sap.ui.define([
240
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
241
241
  * is pre-defined and won't be changed during zooming.
242
242
  * @extends sap.gantt.axistime.AxisTimeStrategyBase
243
- * @version 1.99.0
243
+ * @version 1.102.0
244
244
  *
245
245
  * @constructor
246
246
  * @public
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  *
20
20
  * @author SAP SE
21
21
  *
22
- * @version 1.99.0
22
+ * @version 1.102.0
23
23
  *
24
24
  * @since 1.90
25
25
  */
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  *
20
20
  * @author SAP SE
21
21
  *
22
- * @version 1.99.0
22
+ * @version 1.102.0
23
23
  *
24
24
  * @since 1.90
25
25
  */
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  *
33
33
  * @author SAP SE
34
34
  *
35
- * @version 1.99.0
35
+ * @version 1.102.0
36
36
  *
37
37
  * @since 1.90
38
38
  */
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  *
34
34
  * @author SAP SE
35
35
  *
36
- * @version 1.99.0
36
+ * @version 1.102.0
37
37
  *
38
38
  * @since 1.90
39
39
  */
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.gantt.config.ToolbarGroup
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.99.0
24
+ * @version 1.102.0
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.99.0
26
+ * @version 1.102.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @extends sap.ui.core.Element
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.99.0
23
+ * @version 1.102.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.99.0
25
+ * @version 1.102.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.99.0
22
+ * @version 1.102.0
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @extends sap.gantt.config.ToolbarGroup
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.99.0
23
+ * @version 1.102.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @extends sap.ui.core.Element
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.99.0
23
+ * @version 1.102.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.99.0
22
+ * @version 1.102.0
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @extends sap.ui.core.Element
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.99.0
23
+ * @version 1.102.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.gantt.config.ToolbarGroup
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.99.0
22
+ * @version 1.102.0
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(['sap/ui/core/Element'
18
18
  * @extends sap.ui.core.Element
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.99.0
21
+ * @version 1.102.0
22
22
  *
23
23
  * @constructor
24
24
  * @public
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.core.Element
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.99.0
24
+ * @version 1.102.0
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.gantt.config.ToolbarGroup
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.99.0
24
+ * @version 1.102.0
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @extends sap.ui.core.Element
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.99.0
23
+ * @version 1.102.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @extends sap.gantt.config.ToolbarGroup
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.99.0
23
+ * @version 1.102.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @extends sap.ui.core.Element
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.99.0
23
+ * @version 1.102.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.core.Element
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.99.0
35
+ * @version 1.102.0
36
36
  *
37
37
  * @constructor
38
38
  * @public
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @extends sap.ui.core.Element
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.99.0
23
+ * @version 1.102.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.core.Element
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.99.0
24
+ * @version 1.102.0
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.gantt.config.ToolbarGroup
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.99.0
26
+ * @version 1.102.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.99.0
26
+ * @version 1.102.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @extends sap.ui.core.Element
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.99.0
23
+ * @version 1.102.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.core.Control
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.99.0
27
+ * @version 1.102.0
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @abstract
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.99.0
31
+ * @version 1.102.0
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.base.ManagedObject
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.99.0
32
+ * @version 1.102.0
33
33
  *
34
34
  * @constructor
35
35
  * @public
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.gantt.def.DefBase
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.99.0
30
+ * @version 1.102.0
31
31
  *
32
32
  * @constructor
33
33
  * @public
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.gantt.def.SvgDefs
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.99.0
32
+ * @version 1.102.0
33
33
  *
34
34
  * @constructor
35
35
  * @public
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.gantt.def.DefBase
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.99.0
24
+ * @version 1.102.0
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @extends sap.gantt.def.DefBase
45
45
  *
46
46
  * @author SAP SE
47
- * @version 1.99.0
47
+ * @version 1.102.0
48
48
  *
49
49
  * @constructor
50
50
  * @public
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.gantt.def.DefBase
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.99.0
32
+ * @version 1.102.0
33
33
  *
34
34
  * @constructor
35
35
  * @public
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.gantt.def.DefBase
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.99.0
33
+ * @version 1.102.0
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.gantt.def.DefBase
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.99.0
24
+ * @version 1.102.0
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  * @extends sap.gantt.def.pattern.PatternBase
50
50
  *
51
51
  * @author SAP SE
52
- * @version 1.99.0
52
+ * @version 1.102.0
53
53
  *
54
54
  * @constructor
55
55
  * @public
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.gantt.def.DefBase
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.99.0
34
+ * @version 1.102.0
35
35
  *
36
36
  * @constructor
37
37
  * @public
@@ -51,7 +51,7 @@ sap.ui.define([
51
51
  * @abstract
52
52
  *
53
53
  * @author SAP SE
54
- * @version 1.99.0
54
+ * @version 1.102.0
55
55
  *
56
56
  * @constructor
57
57
  * @public
@@ -248,7 +248,8 @@ sap.ui.define([
248
248
  var oLocalTime = Format._convertUTCToLocalTime(sTimeStamp, oLocale),
249
249
  oZoomStrategy = oAxisTime.getZoomStrategy();
250
250
 
251
- return oZoomStrategy.getLowerRowFormatter().format(oLocalTime);
251
+ var sLabel = oZoomStrategy.getLowerRowFormatter().format(oLocalTime);
252
+ return Utility.getLowerCaseLabel(sLabel);
252
253
  };
253
254
 
254
255
  return CursorLine;
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @abstract
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.99.0
30
+ * @version 1.102.0
31
31
  *
32
32
  * @constructor
33
33
  * @private
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.99.0
22
+ * @version 1.102.0
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -18,7 +18,7 @@ function (
18
18
  * @extends sap.ui.base.Object
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.99.0
21
+ * @version 1.102.0
22
22
  *
23
23
  * @constructor
24
24
  * @private