@sapui5/sap.gantt 1.119.0 → 1.120.1

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 (208) 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 +6 -2
  8. package/src/sap/gantt/axistime/AxisTimeStrategyBase.js +6 -6
  9. package/src/sap/gantt/axistime/FullScreenStrategy.js +1 -1
  10. package/src/sap/gantt/axistime/ProportionZoomStrategy.js +1 -1
  11. package/src/sap/gantt/axistime/StepwiseTimeLineOptions.js +5 -4
  12. package/src/sap/gantt/axistime/StepwiseZoomStrategy.js +1 -1
  13. package/src/sap/gantt/changeHandlers/simple/AdhocLine.js +1 -1
  14. package/src/sap/gantt/changeHandlers/simple/DeltaLine.js +1 -1
  15. package/src/sap/gantt/changeHandlers/simple/GanttChartContainer.js +6 -4
  16. package/src/sap/gantt/changeHandlers/simple/GanttChartWithTable.js +6 -4
  17. package/src/sap/gantt/config/BirdEyeGroup.js +1 -1
  18. package/src/sap/gantt/config/ChartScheme.js +1 -1
  19. package/src/sap/gantt/config/ColumnAttribute.js +1 -1
  20. package/src/sap/gantt/config/ContainerLayout.js +1 -1
  21. package/src/sap/gantt/config/ExpandChart.js +1 -1
  22. package/src/sap/gantt/config/ExpandChartGroup.js +1 -1
  23. package/src/sap/gantt/config/GanttChartLayout.js +1 -1
  24. package/src/sap/gantt/config/Hierarchy.js +1 -1
  25. package/src/sap/gantt/config/HierarchyColumn.js +1 -1
  26. package/src/sap/gantt/config/LayoutGroup.js +1 -1
  27. package/src/sap/gantt/config/Locale.js +1 -1
  28. package/src/sap/gantt/config/Mode.js +1 -1
  29. package/src/sap/gantt/config/ModeGroup.js +1 -1
  30. package/src/sap/gantt/config/ObjectType.js +1 -1
  31. package/src/sap/gantt/config/SettingGroup.js +1 -1
  32. package/src/sap/gantt/config/SettingItem.js +4 -4
  33. package/src/sap/gantt/config/Shape.js +1 -1
  34. package/src/sap/gantt/config/TimeAxis.js +1 -1
  35. package/src/sap/gantt/config/TimeHorizon.js +1 -1
  36. package/src/sap/gantt/config/TimeZoomGroup.js +1 -1
  37. package/src/sap/gantt/config/ToolbarGroup.js +1 -1
  38. package/src/sap/gantt/config/ToolbarScheme.js +1 -1
  39. package/src/sap/gantt/control/AssociateContainer.js +1 -3
  40. package/src/sap/gantt/control/AssociateContainerRenderer.js +9 -12
  41. package/src/sap/gantt/control/Cell.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/drawer/SelectionPanel.js +1 -1
  56. package/src/sap/gantt/drawer/ShapeInRow.js +4 -4
  57. package/src/sap/gantt/eventHandler/AutoScrollHandler.js +1 -1
  58. package/src/sap/gantt/eventHandler/BirdEyeHandler.js +1 -1
  59. package/src/sap/gantt/eventHandler/MouseWheelHandler.js +2 -1
  60. package/src/sap/gantt/eventHandler/ShapeHoverHandler.js +1 -1
  61. package/src/sap/gantt/eventHandler/ShapeResizeHandler.js +1 -1
  62. package/src/sap/gantt/eventHandler/TimePeriodZoomHandler.js +1 -1
  63. package/src/sap/gantt/eventHandler/TimePopoverHandler.js +3 -3
  64. package/src/sap/gantt/legend/DimensionLegend.js +1 -1
  65. package/src/sap/gantt/legend/LegendBase.js +1 -1
  66. package/src/sap/gantt/legend/LegendContainer.js +1 -1
  67. package/src/sap/gantt/legend/ListLegend.js +1 -1
  68. package/src/sap/gantt/library.js +53 -12
  69. package/src/sap/gantt/messagebundle.properties +24 -0
  70. package/src/sap/gantt/messagebundle_ar.properties +1 -1
  71. package/src/sap/gantt/messagebundle_bg.properties +3 -3
  72. package/src/sap/gantt/messagebundle_ca.properties +35 -19
  73. package/src/sap/gantt/messagebundle_cnr.properties +427 -0
  74. package/src/sap/gantt/messagebundle_cs.properties +1 -1
  75. package/src/sap/gantt/messagebundle_el.properties +4 -4
  76. package/src/sap/gantt/messagebundle_en.properties +295 -19
  77. package/src/sap/gantt/messagebundle_en_US_saprigi.properties +212 -196
  78. package/src/sap/gantt/messagebundle_es.properties +7 -7
  79. package/src/sap/gantt/messagebundle_et.properties +2 -2
  80. package/src/sap/gantt/messagebundle_fr.properties +1 -1
  81. package/src/sap/gantt/messagebundle_hi.properties +2 -2
  82. package/src/sap/gantt/messagebundle_hr.properties +3 -3
  83. package/src/sap/gantt/messagebundle_ja.properties +2 -2
  84. package/src/sap/gantt/messagebundle_kk.properties +1 -1
  85. package/src/sap/gantt/messagebundle_lt.properties +2 -2
  86. package/src/sap/gantt/messagebundle_mk.properties +411 -0
  87. package/src/sap/gantt/messagebundle_ms.properties +1 -1
  88. package/src/sap/gantt/messagebundle_nl.properties +2 -2
  89. package/src/sap/gantt/messagebundle_no.properties +2 -2
  90. package/src/sap/gantt/messagebundle_pt.properties +2 -2
  91. package/src/sap/gantt/messagebundle_ro.properties +10 -10
  92. package/src/sap/gantt/messagebundle_ru.properties +1 -1
  93. package/src/sap/gantt/messagebundle_sk.properties +4 -4
  94. package/src/sap/gantt/messagebundle_th.properties +8 -8
  95. package/src/sap/gantt/messagebundle_uk.properties +3 -3
  96. package/src/sap/gantt/misc/AxisTime.js +65 -38
  97. package/src/sap/gantt/misc/Format.js +0 -22
  98. package/src/sap/gantt/misc/Memoizer.js +1 -1
  99. package/src/sap/gantt/misc/RelativeTimeFormatter.js +1 -1
  100. package/src/sap/gantt/misc/ShapeManager.js +5 -4
  101. package/src/sap/gantt/misc/ShapeSelectionModel.js +3 -3
  102. package/src/sap/gantt/overlays/GanttRowOverlay.js +88 -0
  103. package/src/sap/gantt/overlays/Overlay.js +73 -0
  104. package/src/sap/gantt/shape/Circle.js +1 -1
  105. package/src/sap/gantt/shape/ClipPath.js +1 -1
  106. package/src/sap/gantt/shape/Definitions.js +1 -1
  107. package/src/sap/gantt/shape/Group.js +1 -1
  108. package/src/sap/gantt/shape/Image.js +1 -1
  109. package/src/sap/gantt/shape/Line.js +1 -1
  110. package/src/sap/gantt/shape/Path.js +1 -1
  111. package/src/sap/gantt/shape/Polygon.js +1 -1
  112. package/src/sap/gantt/shape/Polyline.js +1 -1
  113. package/src/sap/gantt/shape/Rectangle.js +1 -1
  114. package/src/sap/gantt/shape/ResizeShadowShape.js +1 -1
  115. package/src/sap/gantt/shape/SelectedShape.js +1 -1
  116. package/src/sap/gantt/shape/Shape.js +1 -1
  117. package/src/sap/gantt/shape/Text.js +1 -1
  118. package/src/sap/gantt/shape/cal/Calendar.js +1 -1
  119. package/src/sap/gantt/shape/ext/Chevron.js +1 -1
  120. package/src/sap/gantt/shape/ext/Cursor.js +1 -1
  121. package/src/sap/gantt/shape/ext/Diamond.js +1 -1
  122. package/src/sap/gantt/shape/ext/Iconfont.js +1 -1
  123. package/src/sap/gantt/shape/ext/Pentangle.js +1 -1
  124. package/src/sap/gantt/shape/ext/TextRepeat.js +1 -1
  125. package/src/sap/gantt/shape/ext/Triangle.js +1 -1
  126. package/src/sap/gantt/shape/ext/rls/Relationship.js +1 -1
  127. package/src/sap/gantt/shape/ext/rls/SelectedRelationship.js +1 -1
  128. package/src/sap/gantt/shape/ext/ubc/UbcBorderPath.js +1 -1
  129. package/src/sap/gantt/shape/ext/ubc/UbcOverCapacityZonePolygon.js +1 -1
  130. package/src/sap/gantt/shape/ext/ubc/UbcPolygon.js +1 -1
  131. package/src/sap/gantt/shape/ext/ubc/UbcShortageCapacityPolygon.js +1 -1
  132. package/src/sap/gantt/shape/ext/ubc/UbcTooltipRectangle.js +1 -1
  133. package/src/sap/gantt/shape/ext/ubc/UbcUnderCapacityZonePolygon.js +1 -1
  134. package/src/sap/gantt/shape/ext/ubc/UbcUsedPolygon.js +1 -1
  135. package/src/sap/gantt/shape/ext/ubc/UtilizationBarChart.js +1 -1
  136. package/src/sap/gantt/shape/ext/ulc/UlcBorderPath.js +1 -1
  137. package/src/sap/gantt/shape/ext/ulc/UlcClipPath.js +1 -1
  138. package/src/sap/gantt/shape/ext/ulc/UlcClipingPath.js +1 -1
  139. package/src/sap/gantt/shape/ext/ulc/UlcDimension.js +1 -1
  140. package/src/sap/gantt/shape/ext/ulc/UlcMiddleLine.js +1 -1
  141. package/src/sap/gantt/shape/ext/ulc/UlcOverCapacityZoneRectangle.js +1 -1
  142. package/src/sap/gantt/shape/ext/ulc/UlcOverClipRectangle.js +1 -1
  143. package/src/sap/gantt/shape/ext/ulc/UlcRectangle.js +1 -1
  144. package/src/sap/gantt/shape/ext/ulc/UlcTooltipRectangle.js +1 -1
  145. package/src/sap/gantt/shape/ext/ulc/UlcUnderClipRectangle.js +1 -1
  146. package/src/sap/gantt/shape/ext/ulc/UtilizationLineChart.js +1 -1
  147. package/src/sap/gantt/simple/AdhocDiamond.js +1 -1
  148. package/src/sap/gantt/simple/AdhocLine.js +1 -1
  149. package/src/sap/gantt/simple/AggregationUtils.js +92 -0
  150. package/src/sap/gantt/simple/BaseCalendar.js +1 -1
  151. package/src/sap/gantt/simple/BaseChevron.js +1 -1
  152. package/src/sap/gantt/simple/BaseConditionalShape.js +1 -1
  153. package/src/sap/gantt/simple/BaseCursor.js +1 -1
  154. package/src/sap/gantt/simple/BaseDeltaRectangle.js +1 -1
  155. package/src/sap/gantt/simple/BaseDiamond.js +1 -1
  156. package/src/sap/gantt/simple/BaseGroup.js +1 -1
  157. package/src/sap/gantt/simple/BaseImage.js +1 -1
  158. package/src/sap/gantt/simple/BaseLine.js +1 -1
  159. package/src/sap/gantt/simple/BasePath.js +1 -1
  160. package/src/sap/gantt/simple/BasePseudoShape.js +118 -92
  161. package/src/sap/gantt/simple/BaseRectangle.js +1 -1
  162. package/src/sap/gantt/simple/BaseShape.js +8 -2
  163. package/src/sap/gantt/simple/BaseText.js +1 -1
  164. package/src/sap/gantt/simple/BaseTriangle.js +1 -1
  165. package/src/sap/gantt/simple/ContainerToolbar.js +9 -7
  166. package/src/sap/gantt/simple/ContainerToolbarPlaceholder.js +1 -1
  167. package/src/sap/gantt/simple/CoordinateUtils.js +1 -1
  168. package/src/sap/gantt/simple/CustomVariantHandler.js +1 -1
  169. package/src/sap/gantt/simple/DeltaLine.js +1 -1
  170. package/src/sap/gantt/simple/DeltaLineRenderer.js +4 -2
  171. package/src/sap/gantt/simple/ExpandModel.js +12 -5
  172. package/src/sap/gantt/simple/FindAndSelectUtils.js +7 -1
  173. package/src/sap/gantt/simple/GanttAdaptationData.js +1 -1
  174. package/src/sap/gantt/simple/GanttChartContainer.js +2 -2
  175. package/src/sap/gantt/simple/GanttChartWithTable.js +136 -64
  176. package/src/sap/gantt/simple/GanttDragDropExtension.js +22 -9
  177. package/src/sap/gantt/simple/GanttExtension.js +1 -1
  178. package/src/sap/gantt/simple/GanttHeader.js +2 -2
  179. package/src/sap/gantt/simple/GanttPointerExtension.js +1 -1
  180. package/src/sap/gantt/simple/GanttPopoverExtension.js +1 -1
  181. package/src/sap/gantt/simple/GanttPrinting.js +67 -47
  182. package/src/sap/gantt/simple/GanttResizeExtension.js +5 -12
  183. package/src/sap/gantt/simple/GanttRowAction.js +1 -1
  184. package/src/sap/gantt/simple/GanttRowSettings.js +55 -3
  185. package/src/sap/gantt/simple/GanttSearchSidePanel.js +7 -4
  186. package/src/sap/gantt/simple/GanttUtils.js +46 -10
  187. package/src/sap/gantt/simple/GanttZoomExtension.js +12 -2
  188. package/src/sap/gantt/simple/InnerGanttChart.js +17 -7
  189. package/src/sap/gantt/simple/InnerGanttChartRenderer.js +2 -26
  190. package/src/sap/gantt/simple/LegendContainer.js +1 -1
  191. package/src/sap/gantt/simple/LegendShapeGroup.js +1 -1
  192. package/src/sap/gantt/simple/MultiActivityGroup.js +1 -1
  193. package/src/sap/gantt/simple/MultiActivityRowSettings.js +2 -14
  194. package/src/sap/gantt/simple/Relationship.js +6 -6
  195. package/src/sap/gantt/simple/RenderUtils.js +23 -11
  196. package/src/sap/gantt/simple/SelectionModel.js +4 -3
  197. package/src/sap/gantt/simple/ShapeScheme.js +1 -1
  198. package/src/sap/gantt/simple/StockChart.js +1 -1
  199. package/src/sap/gantt/simple/StockChartDimension.js +1 -1
  200. package/src/sap/gantt/simple/StockChartPeriod.js +1 -1
  201. package/src/sap/gantt/simple/UtilizationBarChart.js +1 -1
  202. package/src/sap/gantt/simple/UtilizationChart.js +1 -1
  203. package/src/sap/gantt/simple/UtilizationDimension.js +1 -1
  204. package/src/sap/gantt/simple/UtilizationLineChart.js +1 -1
  205. package/src/sap/gantt/simple/UtilizationPeriod.js +1 -1
  206. package/src/sap/gantt/simple/shapes/Shape.js +10 -11
  207. package/src/sap/gantt/simple/shapes/Task.js +1 -1
  208. package/src/sap/gantt/utils/GanttCustomisationUtils.js +5 -3
@@ -240,7 +240,7 @@ GNT_PRNTG_SCALE=Mierka\:
240
240
 
241
241
  GNT_PRNTG_PAGE_RANGE=Rozsah str\u00E1n\:
242
242
 
243
- GNT_PRNTG_PAGE_RANGE_ERROR=Zadajte \u010D\u00EDsla str\u00E1n alebo rozsah str\u00E1n oddelen\u00FDch \u010Diarkami (napr. 3, 5-10, 14).
243
+ GNT_PRNTG_PAGE_RANGE_ERROR=Zadajte \u010D\u00EDsla str\u00E1n alebo rozsah str\u00E1n oddelen\u00FDch \u010Diarkami (napr. 3, 5-10, 14).
244
244
 
245
245
  GNT_PRNTG_PAGE_RANGE_ALL=V\u0161etky
246
246
 
@@ -260,7 +260,7 @@ GNT_PRNTG_MARGIN=Okraj
260
260
 
261
261
  GNT_PRNTG_MARGIN_DEFAULT=\u0160tandardn\u00FD
262
262
 
263
- GNT_PRNTG_MARGIN_NONE=\u017Diadny
263
+ GNT_PRNTG_MARGIN_NONE=\u017Diadny
264
264
 
265
265
  GNT_PRNTG_MARGIN_CUSTOM=Definovan\u00FD pou\u017E\u00EDvate\u013Eom
266
266
 
@@ -312,9 +312,9 @@ GNT_PRNTG_HEIGHT=V\u00FD\u0161ka\:
312
312
 
313
313
  GNT_PRNTG_UNITS=Jednotky\:
314
314
 
315
- GNT_PRNTG_START_DATE=Po\u010Diato\u010Dn\u00FD d\u00E1tum\:
315
+ GNT_PRNTG_START_DATE=D\u00E1tum za\u010Diatku\:
316
316
 
317
- GNT_PRNTG_END_DATE=Koncov\u00FD d\u00E1tum\:
317
+ GNT_PRNTG_END_DATE=D\u00E1tum ukon\u010Denia\:
318
318
 
319
319
 
320
320
  GNT_DRAGGED_OBJECT=Objekt
@@ -14,7 +14,7 @@ GNT_FIND_CLOSE=\u0E1B\u0E34\u0E14
14
14
 
15
15
  GNT_FIND_POPUP=\u0E2A\u0E25\u0E31\u0E1A\u0E44\u0E1B\u0E43\u0E0A\u0E49 '\u0E04\u0E49\u0E19\u0E2B\u0E32\u0E17\u0E35\u0E48\u0E41\u0E16\u0E1A\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D'
16
16
 
17
- GNT_EMPTY_LIST_FIELD_INFO=\u0E1B\u0E49\u0E2D\u0E19\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E43\u0E19\u0E1F\u0E34\u0E25\u0E14\u0E4C "\u0E04\u0E49\u0E19\u0E2B\u0E32" \u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E14\u0E39\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C
17
+ GNT_EMPTY_LIST_FIELD_INFO=\u0E1B\u0E49\u0E2D\u0E19\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E43\u0E19\u0E1F\u0E34\u0E25\u0E14\u0E4C "\u0E04\u0E49\u0E19\u0E2B\u0E32" \u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E14\u0E39\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C
18
18
 
19
19
  GNT_EMPTY_LIST_INFO=\u0E44\u0E21\u0E48\u0E1E\u0E1A\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C
20
20
 
@@ -109,9 +109,9 @@ SWZS_QUARTER=\u0E44\u0E15\u0E23\u0E21\u0E32\u0E2A
109
109
  SWZS_YEAR=\u0E1B\u0E35
110
110
 
111
111
 
112
- TLTP_CAPACITY=\u0E04\u0E27\u0E32\u0E21\u0E08\u0E38\: {0}\n\u0E04\u0E27\u0E32\u0E21\u0E08\u0E38\u0E17\u0E35\u0E48\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\: {1}
112
+ TLTP_CAPACITY=\u0E04\u0E27\u0E32\u0E21\u0E08\u0E38\: {0}\n\u0E04\u0E27\u0E32\u0E21\u0E08\u0E38\u0E17\u0E35\u0E48\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\: {1}\n
113
113
 
114
- TLTP_OVER_CAPACITY=\u0E40\u0E01\u0E34\u0E19\u0E04\u0E27\u0E32\u0E21\u0E08\u0E38\: {0}
114
+ TLTP_OVER_CAPACITY=\u0E40\u0E01\u0E34\u0E19\u0E04\u0E27\u0E32\u0E21\u0E08\u0E38\: {0}\n
115
115
 
116
116
 
117
117
  XCEL_GANTT_CELL=\u0E40\u0E0B\u0E25\u0E25\u0E4C\u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34\u0E41\u0E01\u0E19\u0E15\u0E4C
@@ -296,15 +296,15 @@ GNT_PRNTG_COMPRESSION_PNG_WARNING=\u0E01\u0E32\u0E23\u0E40\u0E2D\u0E47\u0E01\u0E
296
296
 
297
297
  GNT_PRNTG_PDF_PREVIEW=\u0E01\u0E33\u0E25\u0E31\u0E07\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E01\u0E32\u0E23\u0E41\u0E2A\u0E14\u0E07\u0E15\u0E31\u0E27\u0E2D\u0E22\u0E48\u0E32\u0E07 PDF
298
298
 
299
- GNT_PRNTG_ERROR_BIGCHART=\u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34\u0E41\u0E01\u0E19\u0E15\u0E4C\u0E19\u0E35\u0E49\u0E21\u0E35\u0E02\u0E19\u0E32\u0E14\u0E43\u0E2B\u0E0D\u0E48\u0E40\u0E01\u0E34\u0E19\u0E44\u0E1B \u0E41\u0E25\u0E30\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E40\u0E2D\u0E47\u0E01\u0E0B\u0E4C\u0E1B\u0E2D\u0E23\u0E4C\u0E15\u0E44\u0E14\u0E49 \u0E40\u0E21\u0E37\u0E48\u0E2D\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E40\u0E2D\u0E47\u0E01\u0E0B\u0E4C\u0E1B\u0E2D\u0E23\u0E4C\u0E15\u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34\u0E19\u0E35\u0E49 \u0E01\u0E23\u0E38\u0E13\u0E32\u0E1B\u0E23\u0E31\u0E1A\u0E23\u0E30\u0E14\u0E31\u0E1A\u0E01\u0E32\u0E23\u0E22\u0E48\u0E2D/\u0E02\u0E22\u0E32\u0E22 \u0E2B\u0E23\u0E37\u0E2D\u0E17\u0E33\u0E43\u0E2B\u0E49\u0E23\u0E30\u0E22\u0E30\u0E40\u0E27\u0E25\u0E32\u0E2A\u0E31\u0E49\u0E19\u0E25\u0E07
299
+ GNT_PRNTG_ERROR_BIGCHART=\u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34\u0E41\u0E01\u0E19\u0E15\u0E4C\u0E19\u0E35\u0E49\u0E21\u0E35\u0E02\u0E19\u0E32\u0E14\u0E43\u0E2B\u0E0D\u0E48\u0E40\u0E01\u0E34\u0E19\u0E44\u0E1B \u0E41\u0E25\u0E30\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E40\u0E2D\u0E47\u0E01\u0E0B\u0E4C\u0E1B\u0E2D\u0E23\u0E4C\u0E15\u0E44\u0E14\u0E49 \u0E40\u0E21\u0E37\u0E48\u0E2D\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E40\u0E2D\u0E47\u0E01\u0E0B\u0E4C\u0E1B\u0E2D\u0E23\u0E4C\u0E15\u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34\u0E19\u0E35\u0E49 \u0E01\u0E23\u0E38\u0E13\u0E32\u0E1B\u0E23\u0E31\u0E1A\u0E23\u0E30\u0E14\u0E31\u0E1A\u0E01\u0E32\u0E23\u0E22\u0E48\u0E2D/\u0E02\u0E22\u0E32\u0E22 \u0E2B\u0E23\u0E37\u0E2D\u0E17\u0E33\u0E43\u0E2B\u0E49\u0E23\u0E30\u0E22\u0E30\u0E40\u0E27\u0E25\u0E32\u0E2A\u0E31\u0E49\u0E19\u0E25\u0E07
300
300
 
301
301
  GNT_PRNTG_ERROR_TOOHIGHCHART=\u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34\u0E41\u0E01\u0E19\u0E15\u0E4C\u0E19\u0E35\u0E49\u0E21\u0E35\u0E02\u0E19\u0E32\u0E14\u0E43\u0E2B\u0E0D\u0E48\u0E40\u0E01\u0E34\u0E19\u0E44\u0E1B \u0E41\u0E25\u0E30\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E40\u0E2D\u0E47\u0E01\u0E0B\u0E4C\u0E1B\u0E2D\u0E23\u0E4C\u0E15\u0E44\u0E14\u0E49\n\n\u0E40\u0E21\u0E37\u0E48\u0E2D\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E40\u0E2D\u0E47\u0E01\u0E0B\u0E4C\u0E1B\u0E2D\u0E23\u0E4C\u0E15\u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34\u0E19\u0E35\u0E49 \u0E01\u0E23\u0E38\u0E13\u0E32\u0E1B\u0E23\u0E31\u0E1A\u0E04\u0E27\u0E32\u0E21\u0E2A\u0E39\u0E07\u0E42\u0E14\u0E22\u0E22\u0E48\u0E2D\u0E23\u0E27\u0E21\u0E41\u0E16\u0E27\u0E1A\u0E32\u0E07\u0E41\u0E16\u0E27 \u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E40\u0E2D\u0E47\u0E01\u0E0B\u0E4C\u0E1B\u0E2D\u0E23\u0E4C\u0E15\u0E44\u0E14\u0E49\u0E22\u0E01\u0E40\u0E27\u0E49\u0E19\u0E1A\u0E32\u0E07\u0E41\u0E16\u0E27\u0E08\u0E30\u0E16\u0E39\u0E01\u0E22\u0E48\u0E2D\u0E23\u0E27\u0E21
302
302
 
303
303
  GNT_PRNTG_SINGLE_PAGE_QUALITY=\u0E04\u0E38\u0E13\u0E20\u0E32\u0E1E\u0E02\u0E2D\u0E07 PDF \u0E2D\u0E32\u0E08\u0E44\u0E21\u0E48\u0E40\u0E1B\u0E47\u0E19\u0E17\u0E35\u0E48\u0E19\u0E48\u0E32\u0E1E\u0E2D\u0E43\u0E08\u0E40\u0E19\u0E37\u0E48\u0E2D\u0E07\u0E08\u0E32\u0E01\u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34\u0E41\u0E01\u0E19\u0E15\u0E4C\u0E43\u0E2B\u0E0D\u0E48\u0E01\u0E27\u0E48\u0E32\u0E40\u0E21\u0E37\u0E48\u0E2D\u0E40\u0E1B\u0E23\u0E35\u0E22\u0E1A\u0E40\u0E17\u0E35\u0E22\u0E1A\u0E01\u0E31\u0E1A\u0E02\u0E19\u0E32\u0E14\u0E01\u0E23\u0E30\u0E14\u0E32\u0E29 \u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E43\u0E2B\u0E49\u0E44\u0E14\u0E49\u0E04\u0E38\u0E13\u0E20\u0E32\u0E1E\u0E01\u0E32\u0E23\u0E1E\u0E34\u0E21\u0E1E\u0E4C\u0E17\u0E35\u0E48\u0E14\u0E35\u0E02\u0E36\u0E49\u0E19 \u0E43\u0E2B\u0E49\u0E1E\u0E34\u0E08\u0E32\u0E23\u0E13\u0E32\u0E43\u0E0A\u0E49\u0E02\u0E19\u0E32\u0E14\u0E01\u0E23\u0E30\u0E14\u0E32\u0E29\u0E17\u0E35\u0E48\u0E43\u0E2B\u0E0D\u0E48\u0E02\u0E36\u0E49\u0E19\u0E2B\u0E23\u0E37\u0E2D\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E40\u0E1B\u0E47\u0E19\u0E41\u0E1A\u0E1A\u0E2B\u0E25\u0E32\u0E22\u0E2B\u0E19\u0E49\u0E32
304
304
 
305
- GNT_PRNTG_SINGLE_PAGE_PORTRAIT=\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E01\u0E32\u0E23\u0E27\u0E32\u0E07\u0E41\u0E19\u0E27\u0E40\u0E1B\u0E47\u0E19\u0E41\u0E19\u0E27\u0E15\u0E31\u0E49\u0E07\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E04\u0E38\u0E13\u0E20\u0E32\u0E1E\u0E01\u0E32\u0E23\u0E1E\u0E34\u0E21\u0E1E\u0E4C\u0E17\u0E35\u0E48\u0E14\u0E35\u0E02\u0E36\u0E49\u0E19
305
+ GNT_PRNTG_SINGLE_PAGE_PORTRAIT=\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E01\u0E32\u0E23\u0E27\u0E32\u0E07\u0E41\u0E19\u0E27\u0E40\u0E1B\u0E47\u0E19\u0E41\u0E19\u0E27\u0E15\u0E31\u0E49\u0E07\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E04\u0E38\u0E13\u0E20\u0E32\u0E1E\u0E01\u0E32\u0E23\u0E1E\u0E34\u0E21\u0E1E\u0E4C\u0E17\u0E35\u0E48\u0E14\u0E35\u0E02\u0E36\u0E49\u0E19
306
306
 
307
- GNT_PRNTG_SINGLE_PAGE_LANDSCAPE=\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E01\u0E32\u0E23\u0E27\u0E32\u0E07\u0E41\u0E19\u0E27\u0E40\u0E1B\u0E47\u0E19\u0E41\u0E19\u0E27\u0E19\u0E2D\u0E19\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E04\u0E38\u0E13\u0E20\u0E32\u0E1E\u0E01\u0E32\u0E23\u0E1E\u0E34\u0E21\u0E1E\u0E4C\u0E17\u0E35\u0E48\u0E14\u0E35\u0E02\u0E36\u0E49\u0E19
307
+ GNT_PRNTG_SINGLE_PAGE_LANDSCAPE=\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E01\u0E32\u0E23\u0E27\u0E32\u0E07\u0E41\u0E19\u0E27\u0E40\u0E1B\u0E47\u0E19\u0E41\u0E19\u0E27\u0E19\u0E2D\u0E19\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E04\u0E38\u0E13\u0E20\u0E32\u0E1E\u0E01\u0E32\u0E23\u0E1E\u0E34\u0E21\u0E1E\u0E4C\u0E17\u0E35\u0E48\u0E14\u0E35\u0E02\u0E36\u0E49\u0E19
308
308
 
309
309
  GNT_PRNTG_WIDTH=\u0E04\u0E27\u0E32\u0E21\u0E01\u0E27\u0E49\u0E32\u0E07\:
310
310
 
@@ -346,7 +346,7 @@ TXT_DT_ADHOCLINE=\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0
346
346
  TXT_DT_DELTALINE=\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E1A\u0E23\u0E23\u0E17\u0E31\u0E14\u0E2A\u0E48\u0E27\u0E19\u0E15\u0E48\u0E32\u0E07
347
347
 
348
348
 
349
- TXT_DT_GANTT_CHART_CONTAINER=\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E01\u0E32\u0E23\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E04\u0E48\u0E32\u0E04\u0E2D\u0E19\u0E40\u0E17\u0E19\u0E40\u0E19\u0E2D\u0E23\u0E4C
349
+ TXT_DT_GANTT_CHART_CONTAINER=\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E01\u0E32\u0E23\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E04\u0E48\u0E32\u0E04\u0E2D\u0E19\u0E40\u0E17\u0E19\u0E40\u0E19\u0E2D\u0E23\u0E4C
350
350
 
351
351
 
352
352
  TXT_DT_GANTT_CHART_WITH_TABLE=\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34\u0E41\u0E01\u0E19\u0E15\u0E4C\u0E14\u0E49\u0E27\u0E22\u0E01\u0E32\u0E23\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E04\u0E48\u0E32\u0E15\u0E32\u0E23\u0E32\u0E07
@@ -358,7 +358,7 @@ TXT_CH_AL_STROKE_DASHARRAY=\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E2D\u0E32\u0E23\u0E4
358
358
 
359
359
  TXT_CH_AL_STROKE_OPACITY=\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E04\u0E27\u0E32\u0E21\u0E17\u0E36\u0E1A\u0E41\u0E2A\u0E07\u0E02\u0E2D\u0E07\u0E40\u0E2A\u0E49\u0E19\u0E02\u0E35\u0E14
360
360
 
361
- TXT_CH_AL_TIMESTAMP=\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E0A\u0E48\u0E27\u0E07\u0E02\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E40\u0E27\u0E25\u0E32
361
+ TXT_CH_AL_TIMESTAMP=\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E0A\u0E48\u0E27\u0E07\u0E02\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E40\u0E27\u0E25\u0E32
362
362
 
363
363
  TXT_CH_AL_DESCRIPTION=\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E04\u0E33\u0E2D\u0E18\u0E34\u0E1A\u0E32\u0E22
364
364
 
@@ -30,7 +30,7 @@ TLTP_SLIDER_ZOOM_OUT=\u0417\u043C\u0435\u043D\u0448\u0438\u0442\u0438
30
30
 
31
31
  TLTP_SLIDER_ZOOM_LEVEL=\u0420\u0456\u0432\u0435\u043D\u044C \u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0443\u0432\u0430\u043D\u043D\u044F
32
32
 
33
- TLTP_ADD_GANTTCHART=\u0414\u043E\u0434\u0430\u0442\u0438 \u0434\u0456\u0433\u0440\u0430\u043C\u0443 \u0413\u0430\u043D\u0442\u0430
33
+ TLTP_ADD_GANTTCHART=\u0414\u043E\u0434\u0430\u0442\u0438 \u0434\u0456\u0430\u0433\u0440\u0430\u043C\u0443 \u0413\u0430\u043D\u0442\u0430
34
34
 
35
35
  TLTP_SHOW_LEGEND=\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u0443\u043C\u043E\u0432\u043D\u0456 \u043F\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F
36
36
 
@@ -346,10 +346,10 @@ TXT_DT_ADHOCLINE=\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u0441\u043F\u
346
346
  TXT_DT_DELTALINE=\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u043B\u0456\u043D\u0456\u044E \u0434\u0435\u043B\u044C\u0442\u0438
347
347
 
348
348
 
349
- TXT_DT_GANTT_CHART_CONTAINER=\u041A\u043E\u043D\u0444\u0456\u0433\u0443\u0440\u0443\u0432\u0430\u0442\u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043A\u043E\u043D\u0442\u0435\u0439\u043D\u0435\u0440\u0430
349
+ TXT_DT_GANTT_CHART_CONTAINER=\u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043A\u043E\u043D\u0442\u0435\u0439\u043D\u0435\u0440\u0430
350
350
 
351
351
 
352
- TXT_DT_GANTT_CHART_WITH_TABLE=\u041A\u043E\u043D\u0444\u0456\u0433\u0443\u0440\u0443\u0432\u0430\u0442\u0438 \u0434\u0456\u0430\u0433\u0440\u0430\u043C\u0443 \u0413\u0430\u043D\u0442\u0430 \u0437 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u043C\u0438 \u0442\u0430\u0431\u043B\u0438\u0446\u0456
352
+ TXT_DT_GANTT_CHART_WITH_TABLE=\u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0434\u0456\u0430\u0433\u0440\u0430\u043C\u0443 \u0413\u0430\u043D\u0442\u0430 \u0437 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u043C\u0438 \u0442\u0430\u0431\u043B\u0438\u0446\u0456
353
353
 
354
354
 
355
355
  TXT_CH_AL_STROKE=\u0412\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0438 \u043F\u043E\u0445\u0438\u043B\u0443 \u0440\u0438\u0441\u043A\u0443 \u043F\u0440\u0430\u0432\u043E\u0440\u0443\u0447
@@ -10,8 +10,10 @@ sap.ui.define([
10
10
  "sap/gantt/misc/Utility",
11
11
  "sap/gantt/misc/Format",
12
12
  "sap/gantt/simple/GanttUtils",
13
- "sap/gantt/misc/Memoizer"
14
- ], function (ObjectPath, Core, Utility, Format, GanttUtils,Memoizer) {
13
+ "sap/gantt/misc/Memoizer",
14
+ "sap/ui/core/format/TimezoneUtil",
15
+ "sap/ui/core/date/UI5Date"
16
+ ], function (ObjectPath, Core, Utility, Format, GanttUtils, Memoizer, TimezoneUtil, UI5Date) {
15
17
  // Utility cannot be referenced because of cyclic dependency between AxisOrdinal and Utility, use global name to reference
16
18
  "use strict";
17
19
  var oContextCache = {};
@@ -37,11 +39,7 @@ sap.ui.define([
37
39
  */
38
40
 
39
41
  var AxisTime = function (timeRange, viewRange, zoomRate, zoomOrigin, viewOffset, locale, oZoomStrategy) {
40
- if (Format._getEnableDateTimezoneFormatter()) {
41
- this.scale = d3.time.scale().domain(timeRange).range(viewRange).clamp(false);
42
- } else {
43
- this.scale = d3.time.scale.utc().domain(timeRange).range(viewRange).clamp(false);
44
- }
42
+ this.scale = d3.time.scale().domain(timeRange).range(viewRange).clamp(false);
45
43
 
46
44
  this.timeRange = timeRange;
47
45
  this.viewRange = viewRange;
@@ -54,13 +52,6 @@ sap.ui.define([
54
52
  this.locale = locale;
55
53
  this._shapeWidthValue = Memoizer.createCache();
56
54
  this.timeZoneOffset = 0;
57
- if (locale && locale.getUtcdiff()) {
58
- var format = Format.getTimeStampFormatter();
59
- this.timeZoneOffset = Math.round((format.parse("20000101" + locale.getUtcdiff()).getTime() - format.parse("20000101000000").getTime()) / 1000);
60
- if (locale.getUtcsign() === "-") {
61
- this.timeZoneOffset = -this.timeZoneOffset;
62
- }
63
- }
64
55
 
65
56
  this._oZoomStrategy = oZoomStrategy;
66
57
  };
@@ -284,17 +275,6 @@ sap.ui.define([
284
275
 
285
276
  AxisTime.prototype.setLocale = function(locale){
286
277
  this.locale = locale;
287
- var timeZoneOffset = this.timeZoneOffset;
288
- if (locale && locale.getUtcdiff()) {
289
- var format = Format.getTimeStampFormatter();
290
- this.timeZoneOffset = Math.round((format.parse("20000101" + locale.getUtcdiff()).getTime() - format.parse("20000101000000").getTime()) / 1000);
291
- if (locale.getUtcsign() === "-") {
292
- this.timeZoneOffset = -this.timeZoneOffset;
293
- }
294
- }
295
- if (this.timeZoneOffset != timeZoneOffset){
296
- this._shapeWidthValue.clearCache();
297
- }
298
278
  return this;
299
279
  };
300
280
 
@@ -326,10 +306,8 @@ sap.ui.define([
326
306
  */
327
307
  AxisTime.prototype._get2dContext = function(iFontSize, sFontFamily) {
328
308
  if (!oContextCache.context) {
329
- /* eslint-disable sap-no-element-creation */
330
309
  oContextCache.context
331
310
  = document.createElement('canvas').getContext("2d");
332
- /* eslint-enable sap-no-element-creation */
333
311
  }
334
312
  if (oContextCache.fontSize !== iFontSize
335
313
  || oContextCache.fontFamily !== sFontFamily) {
@@ -394,23 +372,22 @@ sap.ui.define([
394
372
  /**
395
373
  * Retrieves an object containing the information of current time, its position, and label.
396
374
  *
397
- * @param {boolean} timeInUTC Convert date to UTC.
375
+ * @param {boolean} bTimeInUTC Convert date to UTC.
398
376
  * @return {object} Reference to an object containing the information of current time, its position, and label.
399
377
  *
400
378
  * @public
401
379
  */
402
380
  AxisTime.prototype.getNowLabel = function(bTimeInUTC){
403
381
  var date = new Date();
382
+
404
383
  if (bTimeInUTC === undefined || bTimeInUTC) {
405
- date = new Date(date.getTime() + (date.getTimezoneOffset() * 60000));
406
- } else if (Format._getEnableDateTimezoneFormatter()) {
407
- date = GanttUtils.getFormatedDateByTimeZone(date);
384
+ date = this.convertToTimezone(date, "UTC");
385
+ date = this.offsetTimezoneDiff(date);
408
386
  }
409
387
 
410
388
  var value = this.timeToView(date);
411
- var localDate = d3.time.second.offset(date, this.timeZoneOffset);
412
389
 
413
- return [{"date": localDate, "value": Math.round(value)}];
390
+ return [{ "date": date, "value": Math.round(value)}];
414
391
  };
415
392
 
416
393
  /**
@@ -447,9 +424,6 @@ sap.ui.define([
447
424
  preEndDate,
448
425
  daylightInterval = null;
449
426
 
450
- if (this.locale && this.locale.getDstHorizons().length > 0){
451
- daylightInterval = this.locale.getDstHorizons();
452
- }
453
427
  var format = Format.getTimeStampFormatter();
454
428
  var dlsIntervals = [];
455
429
  if (daylightInterval){
@@ -549,7 +523,7 @@ sap.ui.define([
549
523
  if (largeIntervalTicks[0] !== null){
550
524
  for (iIndex = 0; iIndex < largeIntervalTicks.length; iIndex++){
551
525
  for (iInner = 0; iInner < largeIntervalTicks[iIndex].length; iInner++) {
552
- date = largeIntervalTicks[iIndex][iInner];
526
+ date = this.offsetTimezoneDiff(largeIntervalTicks[iIndex][iInner]);
553
527
 
554
528
  value = localAxisTime.timeToView(date);
555
529
 
@@ -599,7 +573,7 @@ sap.ui.define([
599
573
  if (smallIntervalTicks[0]){
600
574
  for (iIndex = 0; iIndex < smallIntervalTicks.length; iIndex++){
601
575
  for (iInner = 0; iInner < smallIntervalTicks[iIndex].length; iInner++) {
602
- date = smallIntervalTicks[iIndex][iInner];
576
+ date = this.offsetTimezoneDiff(smallIntervalTicks[iIndex][iInner]);
603
577
  var changeDate;
604
578
  var ignoreTickFlag = false;
605
579
  if (dlsIntervals.length){
@@ -785,6 +759,11 @@ sap.ui.define([
785
759
  } else if (localTimeRange) {
786
760
  visibleScale = new AxisTime(localTimeRange, this.viewRange, this.zoomRate, this.zoomOrigin, this.viewOffset, null).scale;
787
761
  } else {
762
+ timeRange = [
763
+ this.convertToTimezone(timeRange[0]),
764
+ this.convertToTimezone(timeRange[1])
765
+ ];
766
+
788
767
  visibleScale = new AxisTime(timeRange, viewRange, this.zoomRate, this.zoomOrigin, this.viewOffset, null, this._oZoomStrategy).scale;
789
768
  }
790
769
  var retVal = {"viewRangeSet": viewRangeSet, "visibleScale" : visibleScale, "dstScale" : dstScale, "normalScale" : normalScale};
@@ -894,5 +873,53 @@ sap.ui.define([
894
873
  }
895
874
  };
896
875
 
876
+ /**
877
+ * @param {Date} oDate Date to be formatted
878
+ * @param {Date} sInputTimeZone target timezone, fallbacks to Locale Timezone
879
+ * @description To convert the local date to the specified timezone. Use to add offset to the visible scale from the main d3 scale
880
+ * @returns {Date} Returns converted date
881
+ * @private
882
+ */
883
+ AxisTime.prototype.convertToTimezone = function (oDate, sInputTimeZone) {
884
+ var sTimeZone = sInputTimeZone || this.locale.getTimeZone();
885
+
886
+ if (sTimeZone !== TimezoneUtil.getLocalTimezone()) {
887
+ var oUI5Instance = new UI5Date([oDate], sTimeZone);
888
+
889
+ return new Date(
890
+ oUI5Instance.getFullYear(),
891
+ oUI5Instance.getMonth(),
892
+ oUI5Instance.getDate(),
893
+ oUI5Instance.getHours(),
894
+ oUI5Instance.getMinutes(),
895
+ oUI5Instance.getSeconds(),
896
+ oUI5Instance.getMilliseconds()
897
+ );
898
+ }
899
+
900
+ return oDate;
901
+ };
902
+
903
+ /**
904
+ * @param {Date} oDate Date to be adjusted
905
+ * @description To adjust the timeline ticks to the offsetted place for formatting
906
+ * @returns {Date} Returns timezone difference adjusted date
907
+ * @private
908
+ */
909
+ AxisTime.prototype.offsetTimezoneDiff = function (oDate) {
910
+ var sTimeZone = this.locale.getTimeZone();
911
+
912
+ if (sTimeZone !== TimezoneUtil.getLocalTimezone()) {
913
+ var iCurrentMilli = oDate.getTime();
914
+ var oFormattedDate = this.convertToTimezone(oDate, sTimeZone);
915
+ var iDiff = oFormattedDate.getTime() - iCurrentMilli;
916
+
917
+ // reverse the difference to adjust the offset
918
+ return new Date(iCurrentMilli + (iDiff * -1));
919
+ }
920
+
921
+ return oDate;
922
+ };
923
+
897
924
  return AxisTime;
898
925
  }, true);
@@ -228,35 +228,13 @@ sap.ui.define([
228
228
  return oResult;
229
229
  };
230
230
 
231
- /**
232
- @deprecated Since version 1.119
233
- */
234
231
  Format._convertUTCToLocalTime = function (sTimeStamp, oLocale) {
235
232
 
236
233
  //convert utc date to local date
237
234
  //code is from axistime.js
238
235
  var timeZoneOffset = 0;
239
- if (oLocale && oLocale.getUtcdiff()) {
240
- var format = this.getTimeStampFormatter();
241
- timeZoneOffset = Math.round((format.parse("20000101" + oLocale.getUtcdiff()).getTime() - format.parse("20000101000000").getTime()) / 1000);
242
- if (oLocale.getUtcsign() === "-") {
243
- timeZoneOffset = -timeZoneOffset;
244
- }
245
- }
246
236
  var utcDate = sap.gantt.misc.Format.abapTimestampToDate(sTimeStamp);
247
237
  var localDate = d3.time.second.offset(utcDate, timeZoneOffset);
248
-
249
- //to solve the daylight saving time
250
- var aDstHorizons = oLocale.getDstHorizons();
251
- if (aDstHorizons.length > 0) {
252
- for (var i = 0; i < aDstHorizons.length; i++) {
253
- var startDate = sap.gantt.misc.Format.abapTimestampToDate(aDstHorizons[i].getStartTime());
254
- var endDate = sap.gantt.misc.Format.abapTimestampToDate(aDstHorizons[i].getEndTime());
255
- if (localDate >= startDate && localDate <= endDate) {
256
- localDate = d3.time.second.offset(localDate, 60 * 60);
257
- }
258
- }
259
- }
260
238
  return localDate;
261
239
  };
262
240
 
@@ -13,7 +13,7 @@ sap.ui.define([
13
13
  * Caching the values of control and returning them when the same inputs are used again.
14
14
  *
15
15
  * @author SAP SE
16
- * @version 1.119.0
16
+ * @version 1.120.1
17
17
  *
18
18
  * @private
19
19
  * @alias sap.gantt.misc.Memoizer
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * @param {string} sPrefix the prefix of the time label
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.119.0
21
+ * @version 1.120.1
22
22
  *
23
23
  * @constructor
24
24
  * @private
@@ -16,8 +16,9 @@ sap.ui.define([
16
16
  "sap/gantt/shape/ext/rls/SelectedRelationship",
17
17
  "sap/gantt/shape/SelectedShape",
18
18
  "sap/gantt/shape/Group",
19
- "sap/gantt/shape/Text"
20
- ],function(jQuery, Log, ObjectPath, EventProvider, Utility) {
19
+ "sap/gantt/shape/Text",
20
+ "sap/ui/core/Core"
21
+ ],function(jQuery, Log, ObjectPath, EventProvider, Utility, Core) {
21
22
  "use strict";
22
23
 
23
24
  /**
@@ -27,7 +28,7 @@ sap.ui.define([
27
28
  * @extends sap.ui.base.EventProvider
28
29
  *
29
30
  * @author SAP SE
30
- * @version 1.119.0
31
+ * @version 1.120.1
31
32
  *
32
33
  * @param {int} oGantt <code>sap.gantt.GanttChartBase</code>
33
34
  *
@@ -300,7 +301,7 @@ sap.ui.define([
300
301
  ShapeManager.prototype.getShapePropertyValue = function(sProperty, oShapeData, sElementId) {
301
302
  var oInstance, vValue;
302
303
  if (oShapeData) {
303
- oInstance = this.getShapeInstance(oShapeData, sElementId) || sap.ui.getCore().byId(sElementId);
304
+ oInstance = this.getShapeInstance(oShapeData, sElementId) || Core.byId(sElementId);
304
305
  var sMethod = "get" + sProperty.substr(0,1).toUpperCase() + sProperty.substr(1);
305
306
  vValue = (oInstance && oInstance[sMethod]) ? oInstance[sMethod](oShapeData) : vValue;
306
307
  }
@@ -6,8 +6,8 @@
6
6
  */
7
7
 
8
8
  // Provides class sap.gantt.ShapeSelectionModel
9
- sap.ui.define(["sap/ui/thirdparty/jquery", "sap/ui/base/ManagedObject", "sap/gantt/misc/Utility"],
10
- function(jQuery, ManagedObject, Utility) {
9
+ sap.ui.define(["sap/ui/thirdparty/jquery", "sap/ui/base/ManagedObject", "sap/gantt/misc/Utility", "sap/ui/core/Core"],
10
+ function(jQuery, ManagedObject, Utility, Core) {
11
11
  "use strict";
12
12
 
13
13
  /**
@@ -642,7 +642,7 @@ sap.ui.define(["sap/ui/thirdparty/jquery", "sap/ui/base/ManagedObject", "sap/gan
642
642
  };
643
643
 
644
644
  ShapeSelectionModel.prototype._getGanttChart = function() {
645
- return sap.ui.getCore().byId(this.getGanttChart());
645
+ return Core.byId(this.getGanttChart());
646
646
  };
647
647
 
648
648
  /**
@@ -0,0 +1,88 @@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
6
+ */
7
+ sap.ui.define(
8
+ [
9
+ "sap/ui/core/Element"
10
+ ],
11
+ function (Element) {
12
+ "use strict";
13
+ /**
14
+ * Creates and initializes a new GanttRowOverlay class.
15
+ *
16
+ * @param {string} [sId] ID of the new control, generated automatically if an ID is not provided.
17
+ *
18
+ * @class
19
+ * The GanttRowOverlay class contains staticOverlay and expanded aggregations that are of type Overlay.
20
+ *
21
+ * @extends sap.ui.core.Element
22
+ *
23
+ * @author SAP SE
24
+ * @version 1.120.1
25
+ * @since 1.120
26
+ * @experimental since 1.120
27
+ *
28
+ * @constructor
29
+ * @public
30
+ * @alias sap.gantt.overlays.GanttRowOverlay
31
+ */
32
+ var GanttRowOverlay = Element.extend(
33
+ "sap.gantt.overlays.GanttRowOverlay",
34
+ /** @lends sap.gantt.overlays.GanttRowOverlay.prototype */ {
35
+ metadata: {
36
+ library: "sap.gantt",
37
+ aggregations: {
38
+ /**
39
+ * @since 1.120
40
+ * Aggregation to define overlay(s) when a row is collapsed or does not have expand scenario.
41
+ * @experimental since 1.120
42
+ */
43
+ staticOverlay: { type: "sap.gantt.overlays.Overlay", multiple: true, singularName: "staticOverlay"},
44
+
45
+ /**
46
+ * @since 1.120
47
+ * Aggregation to define overlay(s) when a row is expanded.
48
+ * @experimental since 1.120
49
+ */
50
+ expandedOverlay: { type: "sap.gantt.overlays.Overlay", multiple: true, singularName: "expandedOverlay" }
51
+
52
+ },
53
+ defaultAggregation: "staticOverlay"
54
+ },
55
+ renderer: {
56
+ apiVersion: 2 // enable in-place DOM patching
57
+ }
58
+ }
59
+ );
60
+
61
+ GanttRowOverlay.prototype.init = function () {
62
+ this._oLocaleBindingInfo = {};
63
+ };
64
+
65
+ /**
66
+ * bindAggregation method of element is stored to add expanded shapes when actual expand is called.
67
+ */
68
+ GanttRowOverlay.prototype._bindAddon = Element.prototype.bindAggregation;
69
+
70
+ /**
71
+ * @param {string} sName Name of a public aggregation to bind
72
+ * @param {sap.ui.base.ManagedObject.AggregationBindingInfo} oBindingInfo Binding info
73
+ * BindAggregation is overriden so that only staticOverlay aggregation's shapes are added by default.
74
+ */
75
+ GanttRowOverlay.prototype.bindAggregation = function(sName, oBindingInfo){
76
+ if (oBindingInfo){
77
+ this._oLocaleBindingInfo[sName] = oBindingInfo;
78
+ if (sName == "staticOverlay"){
79
+ this._bindAddon(sName,oBindingInfo);
80
+ }
81
+ }
82
+ };
83
+
84
+
85
+ return GanttRowOverlay;
86
+ },
87
+ true
88
+ );
@@ -0,0 +1,73 @@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
6
+ */
7
+ sap.ui.define(
8
+ [
9
+ "sap/ui/core/Element",
10
+ "sap/gantt/simple/BaseShape"
11
+ ],
12
+ function (Element,BaseShape) {
13
+ "use strict";
14
+ /**
15
+ * Creates and initializes a new Overlay class.
16
+ *
17
+ * @param {string} [sId] ID of the new control, generated automatically if an ID is not provided.
18
+ *
19
+ * @class
20
+ * The Overlay class contains a shape aggregation to draw any Gantt 2.0 supported shapes as an overlay
21
+ * at specific time points in the chart area.
22
+ *
23
+ * @extends sap.ui.core.Element
24
+ *
25
+ * @author SAP SE
26
+ * @version 1.120.1
27
+ * @since 1.120
28
+ * @experimental since 1.120
29
+ *
30
+ * @constructor
31
+ * @public
32
+ * @alias sap.gantt.overlays.Overlay
33
+ */
34
+ var Overlay = BaseShape.extend(
35
+ "sap.gantt.overlays.Overlay",
36
+ /** @lends sap.gantt.overlays.Overlay.prototype */ {
37
+ metadata: {
38
+ library: "sap.gantt",
39
+ aggregations: {
40
+ /**
41
+ * @since 1.120
42
+ * The control for the shape defined within the overlay.
43
+ * @experimental since 1.120
44
+ */
45
+ shape: { type: "sap.gantt.simple.BaseShape", multiple: false }
46
+ },
47
+ properties: {
48
+ /**
49
+ * @since 1.120
50
+ * @experimental since 1.120
51
+ * level defined for an overlay shape that is to be added on the expansion of a row.
52
+ */
53
+ overlayLevel: { type: "int", defaultValue: 1 },
54
+ /**
55
+ * @since 1.120
56
+ * @experimental since 1.120
57
+ * shape id for an overlay shape that is to be added on the expansion of a row, this is valid for the shape bound overlay.
58
+ * this id should match with the shape id that must be associated.
59
+ * this property has precedence over "overlayLevel" property incase of shape bound overlay.
60
+ */
61
+ overlayShapeId: {type: "string"}
62
+ },
63
+ defaultAggregation: "shape"
64
+ },
65
+ renderer: {
66
+ apiVersion: 2 // enable in-place DOM patching
67
+ }
68
+ }
69
+ );
70
+ return Overlay;
71
+ },
72
+ true
73
+ );
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extend sap.gantt.shape.Shape
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.119.0
31
+ * @version 1.120.1
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @extend sap.gantt.shape.Shape
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.119.0
39
+ * @version 1.120.1
40
40
  *
41
41
  * @constructor
42
42
  * @public
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extend sap.gantt.shape.Shape
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.119.0
31
+ * @version 1.120.1
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extend sap.gantt.shape.Shape
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.119.0
24
+ * @version 1.120.1
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extend sap.gantt.shape.Shape
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.119.0
24
+ * @version 1.120.1
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extend sap.gantt.shape.Shape
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.119.0
37
+ * @version 1.120.1
38
38
  *
39
39
  * @constructor
40
40
  * @public
@@ -50,7 +50,7 @@ sap.ui.define([
50
50
  * @extend sap.gantt.shape.Shape
51
51
  *
52
52
  * @author SAP SE
53
- * @version 1.119.0
53
+ * @version 1.120.1
54
54
  *
55
55
  * @constructor
56
56
  * @public
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extend sap.gantt.shape.Shape
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.119.0
32
+ * @version 1.120.1
33
33
  *
34
34
  * @constructor
35
35
  * @public
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extend sap.gantt.shape.Shape
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.119.0
33
+ * @version 1.120.1
34
34
  *
35
35
  * @constructor
36
36
  * @public