@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
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.gantt.def.DefBase
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
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.gantt.def.DefBase
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
@@ -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.119.0
52
+ * @version 1.120.1
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.119.0
34
+ * @version 1.120.1
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.119.0
54
+ * @version 1.120.1
55
55
  *
56
56
  * @constructor
57
57
  * @public
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @abstract
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.119.0
30
+ * @version 1.120.1
31
31
  *
32
32
  * @constructor
33
33
  * @private
@@ -231,7 +231,7 @@ sap.ui.define([
231
231
  aCntCloseBtn.select("title").remove();
232
232
  aCntCloseBtn.insert("title", ":first-child")
233
233
  .text(function(d) {
234
- return sap.ui.getCore().getLibraryResourceBundle("sap.gantt").getText("TLTP_CLOSE");
234
+ return Core.getLibraryResourceBundle("sap.gantt").getText("TLTP_CLOSE");
235
235
  });
236
236
  aCntCloseBtn.exit().remove();
237
237
  };
@@ -5,10 +5,10 @@
5
5
 
6
6
  */
7
7
  sap.ui.define([
8
- "sap/gantt/drawer/Drawer", "sap/gantt/misc/Utility","sap/gantt/misc/Format","sap/ui/Device",
8
+ "sap/gantt/drawer/Drawer", "sap/gantt/misc/Utility","sap/gantt/misc/Format","sap/ui/Device", "sap/ui/core/Core",
9
9
  // 3rd party lib
10
10
  "sap/ui/thirdparty/d3"
11
- ], function (Drawer, Utility, Format, Device) {
11
+ ], function (Drawer, Utility, Format, Device, Core) {
12
12
  "use strict";
13
13
 
14
14
  var ShapeInRow = Drawer.extend("sap.gantt.drawer.ShapeInRow", {
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  aShapeTopG = aSvgNode.append("g")
29
29
  .classed(oShape.getId() + "-top", true);
30
30
  }
31
- if (sap.ui.getCore().byId(oShape.getId()).getMetadata().getName() === "sap.gantt.shape.cal.Calendar") {
31
+ if (Core.byId(oShape.getId()).getMetadata().getName() === "sap.gantt.shape.cal.Calendar") {
32
32
  aShapeTopG.classed("sapGanttChartCalendar", true);
33
33
  }
34
34
  // bind data to row g
@@ -402,7 +402,7 @@ sap.ui.define([
402
402
  .attr("textLength", oSelf.node().getComputedTextLength())
403
403
  .attr("lengthAdjust", "spacingAndGlyphs");
404
404
  } else {
405
- var bRTL = sap.ui.getCore().getConfiguration().getRTL();
405
+ var bRTL = Core.getConfiguration().getRTL();
406
406
  if (bRTL && (Device.browser.edge || Device.browser.safari)) {
407
407
  oSelf.text("..." + sText)
408
408
  .classed(id, true);
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.119.0
22
+ * @version 1.120.1
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.119.0
21
+ * @version 1.120.1
22
22
  *
23
23
  * @constructor
24
24
  * @private
@@ -20,10 +20,11 @@ sap.ui.define([
20
20
  * @extends sap.ui.base.Object
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.119.0
23
+ * @version 1.120.1
24
24
  *
25
25
  * @constructor
26
26
  * @private
27
+ * @deprecated Since version 1.120.
27
28
  * @alias sap.gantt.eventHandler.MouseWheelHandler
28
29
  */
29
30
  var MouseWheelHandler = BaseObject.extend("sap.gantt.eventHandler.MouseWheelHandler", {
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.base.Object
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.119.0
24
+ * @version 1.120.1
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.base.Object
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.119.0
24
+ * @version 1.120.1
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @extends sap.ui.base.Object
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.119.0
39
+ * @version 1.120.1
40
40
  *
41
41
  * @constructor
42
42
  * @private
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.base.Object
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.119.0
31
+ * @version 1.120.1
32
32
  *
33
33
  * @constructor
34
34
  * @private
@@ -113,8 +113,8 @@ sap.ui.define([
113
113
  };
114
114
 
115
115
  TimePopoverHandler.prototype._buildPopover = function(oPositionData) {
116
- var sStart = sap.ui.getCore().getLibraryResourceBundle("sap.gantt").getText("GNT_CURRENT_START");
117
- var sEnd = sap.ui.getCore().getLibraryResourceBundle("sap.gantt").getText("GNT_CURRENT_END");
116
+ var sStart = Core.getLibraryResourceBundle("sap.gantt").getText("GNT_CURRENT_START");
117
+ var sEnd = Core.getLibraryResourceBundle("sap.gantt").getText("GNT_CURRENT_END");
118
118
  this.oTimePopover = new sap.m.ResponsivePopover({
119
119
  showArrow: false,
120
120
  showHeader: false,
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.gantt.legend.LegendBase
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
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @abstract
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.119.0
41
+ * @version 1.120.1
42
42
  *
43
43
  * @constructor
44
44
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Control
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.119.0
25
+ * @version 1.120.1
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -52,7 +52,7 @@ sap.ui.define([
52
52
  * @extends sap.gantt.legend.LegendBase
53
53
  *
54
54
  * @author SAP SE
55
- * @version 1.119.0
55
+ * @version 1.120.1
56
56
  *
57
57
  * @constructor
58
58
  * @public
@@ -163,10 +163,10 @@ sap.ui.define([
163
163
  }
164
164
  },
165
165
  noLibraryCSS: false,
166
- version: "1.119.0"
166
+ version: "1.120.1"
167
167
  });
168
168
 
169
- this._oRb = sap.ui.getCore().getLibraryResourceBundle("sap.gantt");
169
+ this._oRb = Core.getLibraryResourceBundle("sap.gantt");
170
170
 
171
171
  /**
172
172
  * Different selection mode for GanttChart
@@ -773,7 +773,7 @@ sap.ui.define([
773
773
 
774
774
  /**
775
775
  * Define the type of zoom control in global tool bar
776
- * @version 1.119.0
776
+ * @version 1.120.1
777
777
  * @enum {string}
778
778
  * @public
779
779
  */
@@ -1124,14 +1124,60 @@ sap.ui.define([
1124
1124
  */
1125
1125
  oGanttLib.config.DEFAULT_INIT_HORIZON.destroy = function(){};
1126
1126
 
1127
- var sUnitDayPattern = sap.ui.getCore().getConfiguration().getRTL() ? ".M.d" : "d.M.";
1127
+ /**
1128
+ * Defines the default configuration planHorizon.
1129
+ *
1130
+ * <p>From one year ago, to one year from now.</p>
1131
+ * @public
1132
+ * @alias sap.gantt.config.DEFAULT_TOTAL_HORIZON
1133
+ * Create the time horizons directly:
1134
+ * <pre><code> new TimeHorizon({
1135
+ * startTime: new Date((new Date()).getTime() - 31536000000),
1136
+ * endTime: new Date((new Date()).getTime() + 31536000000)
1137
+ * }); </code></pre>
1138
+ * @type {sap.gantt.config.TimeHorizon}
1139
+ */
1140
+ oGanttLib.config.DEFAULT_TOTAL_HORIZON = new TimeHorizon({
1141
+ startTime: new Date((new Date()).getTime() - 31536000000),
1142
+ endTime: new Date((new Date()).getTime() + 31536000000)
1143
+ });
1128
1144
 
1129
- var sDatePattern = sap.ui.getCore().getConfiguration().getFormatSettings().getDatePattern("short");
1145
+ /**
1146
+ * Prevents destroying of default object when gantt chart is destroyed
1147
+ */
1148
+ oGanttLib.config.DEFAULT_TOTAL_HORIZON.destroy = function(){};
1149
+
1150
+ /**
1151
+ * Defines the default configuration initHorizon.
1152
+ *
1153
+ * <p>From one month ago, to one year from now.</p>
1154
+ * @public
1155
+ * @alias sap.gantt.config.DEFAULT_VISIBLE_HORIZON
1156
+ * Create the time horizons directly:
1157
+ * <pre><code> new TimeHorizon({
1158
+ * startTime: new Date((new Date()).getTime() - 2628000000),
1159
+ * endTime: new Date((new Date()).getTime() + 2628000000)
1160
+ * }); </code></pre>
1161
+ * @type {sap.gantt.config.TimeHorizon}
1162
+ */
1163
+ oGanttLib.config.DEFAULT_VISIBLE_HORIZON = new TimeHorizon({
1164
+ startTime: new Date((new Date()).getTime() - 2628000000),
1165
+ endTime: new Date((new Date()).getTime() + 2628000000)
1166
+ });
1167
+
1168
+ /**
1169
+ * Prevents destroying of default object when gantt chart is destroyed
1170
+ */
1171
+ oGanttLib.config.DEFAULT_VISIBLE_HORIZON.destroy = function(){};
1172
+
1173
+ var sUnitDayPattern = Core.getConfiguration().getRTL() ? ".M.d" : "d.M.";
1174
+
1175
+ var sDatePattern = Core.getConfiguration().getFormatSettings().getDatePattern("short");
1130
1176
  oGanttLib.config.DEFAULT_DATE_PATTERN = sDatePattern ? sDatePattern : "EEEE, MMM d, yy";
1131
1177
 
1132
- var sTimePattern = sap.ui.getCore().getConfiguration().getFormatSettings().getTimePattern("short");
1178
+ var sTimePattern = Core.getConfiguration().getFormatSettings().getTimePattern("short");
1133
1179
  oGanttLib.config.DEFAULT_TIME_PATTERN = sTimePattern ? sTimePattern : "HH:mm";
1134
- var sLegacyTimeFormat = sap.ui.getCore().getConfiguration().getFormatSettings().getLegacyTimeFormat();
1180
+ var sLegacyTimeFormat = Core.getConfiguration().getFormatSettings().getLegacyTimeFormat();
1135
1181
  oGanttLib.config.TIME_PATTERN_LOWERCASE = ((sLegacyTimeFormat === "2") || (sLegacyTimeFormat === "4")) ? true : false;
1136
1182
 
1137
1183
  /**
@@ -1743,7 +1789,6 @@ sap.ui.define([
1743
1789
  * @public
1744
1790
  * @alias sap.gantt.config.SETTING_ITEM_ENABLE_NOW_LINE
1745
1791
  * @type {sap.gantt.config.SettingItem}
1746
- * @deprecated Since version 1.63. Using these constants may result in errors in your application.
1747
1792
  */
1748
1793
  oGanttLib.config.SETTING_ITEM_ENABLE_NOW_LINE = new sap.gantt.config.SettingItem({
1749
1794
  id: "enableNowLineSettingItem",
@@ -1802,7 +1847,6 @@ sap.ui.define([
1802
1847
  * @public
1803
1848
  * @alias sap.gantt.config.SETTING_ITEM_ENABLE_CURSOR_LINE
1804
1849
  * @type {sap.gantt.config.SettingItem}
1805
- * @deprecated Since version 1.63. Using these constants may result in errors in your application.
1806
1850
  */
1807
1851
  oGanttLib.config.SETTING_ITEM_ENABLE_CURSOR_LINE = new sap.gantt.config.SettingItem({
1808
1852
  id: "enableCurserLineSettingItem",
@@ -1864,7 +1908,6 @@ sap.ui.define([
1864
1908
  * @public
1865
1909
  * @alias sap.gantt.config.SETTING_ITEM_ENABLE_VERTICAL_LINE
1866
1910
  * @type {sap.gantt.config.SettingItem}
1867
- * @deprecated Since version 1.63. Using these constants may result in errors in your application.
1868
1911
  */
1869
1912
  oGanttLib.config.SETTING_ITEM_ENABLE_VERTICAL_LINE = new sap.gantt.config.SettingItem({
1870
1913
  id: "enableVerticalLineSettingItem",
@@ -1886,7 +1929,6 @@ sap.ui.define([
1886
1929
  * @public
1887
1930
  * @alias sap.gantt.config.SETTING_ITEM_ENABLE_ADHOC_LINE
1888
1931
  * @type {sap.gantt.config.SettingItem}
1889
- * @deprecated Since version 1.63. Using these constants may result in errors in your application.
1890
1932
  */
1891
1933
  oGanttLib.config.SETTING_ITEM_ENABLE_ADHOC_LINE = new sap.gantt.config.SettingItem({
1892
1934
  id: "enableAdhocLineSettingItem",
@@ -1950,7 +1992,6 @@ sap.ui.define([
1950
1992
  * @public
1951
1993
  * @alias sap.gantt.config.SETTING_ITEM_ENABLE_TIME_SCROLL_SYNC
1952
1994
  * @type {sap.gantt.config.SettingItem}
1953
- * @deprecated Since version 1.63. Using these constants may result in errors in your application.
1954
1995
  */
1955
1996
  oGanttLib.config.SETTING_ITEM_ENABLE_TIME_SCROLL_SYNC = new sap.gantt.config.SettingItem({
1956
1997
  id: "enableTimeScrollSyncSettingItem",
@@ -501,6 +501,30 @@ GNT_PRNTG_START_DATE = Start Date
501
501
  #XFLD: End date label
502
502
  GNT_PRNTG_END_DATE = End Date
503
503
 
504
+ #XLST: Custom Paper Size
505
+ GNT_PRNTG_PAPER_SIZE_CUSTOM = Custom
506
+
507
+ #XLST: Tabloid Paper Size
508
+ GNT_PRNTG_PAPER_SIZE_TABLOID = Tabloid
509
+
510
+ #XLST: Legal Paper Size
511
+ GNT_PRNTG_PAPER_SIZE_LEGAL = Legal
512
+
513
+ #XLST: Letter Paper Size
514
+ GNT_PRNTG_PAPER_SIZE_LETTER = Letter
515
+
516
+ #XLST: First Page Button
517
+ GNT_PRNTG_FIRST_PAGE_BUTTON = First Page
518
+
519
+ #XLST: Last Page Button
520
+ GNT_PRNTG_LAST_PAGE_BUTTON = Last Page
521
+
522
+ #XLST: Next Page Button
523
+ GNT_PRNTG_NEXT_PAGE_BUTTON = Next Page
524
+
525
+ #XLST: Previous Paper Size
526
+ GNT_PRNTG_PREVIOUS_PAGE_BUTTON = Previous Page
527
+
504
528
  #########
505
529
  # Texts for sap.gantt.simple.GanttDragDropExtension
506
530
  ##########
@@ -312,7 +312,7 @@ GNT_PRNTG_HEIGHT=\u0627\u0644\u0627\u0631\u062A\u0641\u0627\u0639\:
312
312
 
313
313
  GNT_PRNTG_UNITS=\u0627\u0644\u0648\u062D\u062F\u0627\u062A\:
314
314
 
315
- GNT_PRNTG_START_DATE=\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0628\u062F\u0627\u064A\u0629\:
315
+ GNT_PRNTG_START_DATE=\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0628\u062F\u0621\:
316
316
 
317
317
  GNT_PRNTG_END_DATE=\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0627\u0646\u062A\u0647\u0627\u0621\:
318
318
 
@@ -1,6 +1,6 @@
1
1
 
2
2
 
3
- GNT_FIND_PLACEHOLDER=\u0422\u044A\u0440\u0441\u0435\u043D\u0435
3
+ GNT_FIND_PLACEHOLDER=\u041D\u0430\u043C\u0438\u0440\u0430\u043D\u0435
4
4
 
5
5
  GNT_FIND=\u0422\u044A\u0440\u0441\u0435\u043D\u0435 \u0432 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430\u0442\u0430 \u043D\u0430 \u0413\u0430\u043D\u0442
6
6
 
@@ -132,7 +132,7 @@ TLTP_VERTICAL_LINE=\u041F\u043E\u043A\u0430\u0437\u0432\u0430\u043D\u0435 \u0432
132
132
 
133
133
  XCKL_ADHOC_LINE=\u041F\u043E\u043A\u0430\u0437\u0432\u0430\u043D\u0435 \u043D\u0430 Ad Hoc \u043B\u0438\u043D\u0438\u0438
134
134
 
135
- TLTP_ADHOC_LINE=\u041F\u043E\u043A\u0430\u0437\u0432\u0430\u043D\u0435 \u043D\u0430 ad hoc \u043B\u0438\u043D\u0438\u0438
135
+ TLTP_ADHOC_LINE=\u041F\u043E\u043A\u0430\u0437\u0432\u0430\u043D\u0435 \u043D\u0430 ad hoc \u043B\u0438\u043D\u0438\u0438
136
136
 
137
137
  XCKL_DELTA_LINE=\u041F\u043E\u043A\u0430\u0437\u0432\u0430\u043D\u0435 \u043D\u0430 \u0434\u0435\u043B\u0442\u0430 \u043F\u043E\u0437\u0438\u0446\u0438\u0438
138
138
 
@@ -296,7 +296,7 @@ GNT_PRNTG_COMPRESSION_PNG_WARNING=\u0415\u043A\u0441\u043F\u043E\u0440\u0442 \u0
296
296
 
297
297
  GNT_PRNTG_PDF_PREVIEW=\u0413\u0435\u043D\u0435\u0440\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u043F\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043B\u0435\u043D \u043F\u0440\u0435\u0433\u043B\u0435\u0434 \u0432 PDF \u0444\u043E\u0440\u043C\u0430\u0442
298
298
 
299
- GNT_PRNTG_ERROR_BIGCHART=\u0422\u0430\u0437\u0438 Gantt \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430 \u0435 \u0442\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u0430 \u0438 \u043D\u0435 \u043C\u043E\u0436\u0435 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0435\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u0430\u043D\u0430. \u0417\u0430 \u0434\u0430 \u044F \u0435\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u0430\u0442\u0435, \u043A\u043E\u0440\u0438\u0433\u0438\u0440\u0430\u0439\u0442\u0435 \u043D\u0438\u0432\u043E\u0442\u043E \u043D\u0430 \u043D\u0430\u043C\u0430\u043B\u0435\u043D\u0438\u0435/\u0443\u0432\u0435\u043B\u0438\u0447\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u0441\u043A\u044A\u0441\u0435\u0442\u0435 \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E\u0441\u0442\u0442\u0430 \u0439.
299
+ GNT_PRNTG_ERROR_BIGCHART=\u0422\u0430\u0437\u0438 Gantt \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430 \u0435 \u0442\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u0430 \u0438 \u043D\u0435 \u043C\u043E\u0436\u0435 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0435\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u0430\u043D\u0430. \u0417\u0430 \u0434\u0430 \u044F \u0435\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u0430\u0442\u0435, \u043A\u043E\u0440\u0438\u0433\u0438\u0440\u0430\u0439\u0442\u0435 \u043D\u0438\u0432\u043E\u0442\u043E \u043D\u0430 \u043D\u0430\u043C\u0430\u043B\u0435\u043D\u0438\u0435/\u0443\u0432\u0435\u043B\u0438\u0447\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u0441\u043A\u044A\u0441\u0435\u0442\u0435 \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E\u0441\u0442\u0442\u0430 \u0439.
300
300
 
301
301
  GNT_PRNTG_ERROR_TOOHIGHCHART=\u0422\u0430\u0437\u0438 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430 \u043D\u0430 \u0413\u0430\u043D\u0442 \u0435 \u043F\u0440\u0435\u043A\u0430\u043B\u0435\u043D\u043E \u0433\u043E\u043B\u044F\u043C\u0430 \u0438 \u043D\u0435 \u043C\u043E\u0436\u0435 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0435\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u0430\u043D\u0430.\n\n\u0417\u0430 \u0434\u0430 \u0435\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u0430\u0442\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430\u0442\u0430, \u043C\u043E\u043B\u044F \u043A\u043E\u0440\u0438\u0433\u0438\u0440\u0430\u0439\u0442\u0435 \u043D\u0435\u0439\u043D\u0430\u0442\u0430 \u0432\u0438\u0441\u043E\u0447\u0438\u043D\u0430, \u043A\u0430\u0442\u043E \u0441\u0432\u0438\u0435\u0442\u0435 \u043D\u044F\u043A\u043E\u0438 \u043E\u0442 \u0440\u0435\u0434\u043E\u0432\u0435\u0442\u0435. \u0412 \u043F\u0440\u043E\u0442\u0438\u0432\u0435\u043D \u0441\u043B\u0443\u0447\u0430\u0439 \u0442\u044F \u043D\u044F\u043C\u0430 \u0434\u0430 \u043C\u043E\u0436\u0435 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0435\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u0430\u043D\u0430.
302
302
 
@@ -206,19 +206,19 @@ GNT_PRNTG_CANCEL=Cancel\u00B7lar
206
206
 
207
207
  GNT_PRNTG_OF={0} de {1}
208
208
 
209
- GNT_PRNTG_EXPORT_TYPES=Tipus d'exportaci\u00F3\:
209
+ GNT_PRNTG_EXPORT_TYPES=Tipus d'exportaci\u00F3
210
210
 
211
211
  GNT_PRNTG_MULTIPLE_PAGE=Diverses p\u00E0gines
212
212
 
213
213
  GNT_PRNTG_SINGLE_PAGE=P\u00E0gina individual
214
214
 
215
- GNT_PRNTG_ORIENTATION=Orientaci\u00F3\:
215
+ GNT_PRNTG_ORIENTATION=Orientaci\u00F3
216
216
 
217
217
  GNT_PRNTG_PORTRAIT=Format vertical
218
218
 
219
219
  GNT_PRNTG_LANDSCAPE=Format horitzontal
220
220
 
221
- GNT_PRNTG_PAPER_SIZE=Mida del paper\:
221
+ GNT_PRNTG_PAPER_SIZE=Mida del paper
222
222
 
223
223
  GNT_PRNTG_MILLIMETERS=Mil\u00B7l\u00EDmetres
224
224
 
@@ -226,7 +226,7 @@ GNT_PRNTG_CENTIMETERS=Cent\u00EDmetres
226
226
 
227
227
  GNT_PRNTG_INCHES=Polzades
228
228
 
229
- GNT_PRNTG_DURATION=Durada\:
229
+ GNT_PRNTG_DURATION=Durada
230
230
 
231
231
  GNT_PRNTG_DURATION_ALL=Tot
232
232
 
@@ -236,9 +236,9 @@ GNT_PRNTG_DURATION_NEXT_MONTH=Mes seg\u00FCent
236
236
 
237
237
  GNT_PRNTG_DURATION_CUSTOM=Personalitzat
238
238
 
239
- GNT_PRNTG_SCALE=Escala\:
239
+ GNT_PRNTG_SCALE=Escala
240
240
 
241
- GNT_PRNTG_PAGE_RANGE=Interval de p\u00E0gina\:
241
+ GNT_PRNTG_PAGE_RANGE=Interval de p\u00E0gina
242
242
 
243
243
  GNT_PRNTG_PAGE_RANGE_ERROR=Introduir n\u00FAmeros de p\u00E0gina o intervals de p\u00E0gina separats per comes (per exemple, 3, 5-10, 14).
244
244
 
@@ -250,11 +250,11 @@ GNT_PRNTG_REPEAT_TABLE=Repetir la taula a totes les p\u00E0gines\:
250
250
 
251
251
  GNT_PRNTG_HEADER_AND_FOOTER=Cap\u00E7alera i peu de p\u00E0gina\:
252
252
 
253
- GNT_PRNTG_HEADER=Text de cap\u00E7alera\:
253
+ GNT_PRNTG_HEADER=Text de cap\u00E7alera
254
254
 
255
- GNT_PRNTG_FOOTER=Text de peu de p\u00E0gina\:
255
+ GNT_PRNTG_FOOTER=Text de peu de p\u00E0gina
256
256
 
257
- GNT_PRNTG_SHOW_PAGE_NUMBER=Mostrar n\u00FAmero de p\u00E0gina\:
257
+ GNT_PRNTG_SHOW_PAGE_NUMBER=Mostrar n\u00FAmero de p\u00E0gina
258
258
 
259
259
  GNT_PRNTG_MARGIN=Marge
260
260
 
@@ -264,13 +264,13 @@ GNT_PRNTG_MARGIN_NONE=Cap
264
264
 
265
265
  GNT_PRNTG_MARGIN_CUSTOM=Personalitzat
266
266
 
267
- GNT_PRNTG_MARGIN_TOP=Sobre\:
267
+ GNT_PRNTG_MARGIN_TOP=A dalt
268
268
 
269
- GNT_PRNTG_MARGIN_BOTTOM=Sota\:
269
+ GNT_PRNTG_MARGIN_BOTTOM=A baix
270
270
 
271
- GNT_PRNTG_MARGIN_LEFT=Esquerra\:
271
+ GNT_PRNTG_MARGIN_LEFT=Esquerra
272
272
 
273
- GNT_PRNTG_MARGIN_RIGHT=Dreta\:
273
+ GNT_PRNTG_MARGIN_RIGHT=A la dreta
274
274
 
275
275
  GNT_PRNTG_MARGIN_HEIGHT_ERROR=Els marges no poden superar el 33% de l'al\u00E7ada de p\u00E0gina.
276
276
 
@@ -280,7 +280,7 @@ GNT_PRNTG_HEADER_FOOTER_TEXT_ERROR=La longitud del text d'entrada ha assolit el
280
280
 
281
281
  GNT_PRNTG_COMPRESSION=Compressi\u00F3
282
282
 
283
- GNT_PRNTG_COMPRESSION_EXPORT_TYPES=Tipus d'exportaci\u00F3\:
283
+ GNT_PRNTG_COMPRESSION_EXPORT_TYPES=Tipus d'exportaci\u00F3
284
284
 
285
285
  GNT_PRNTG_COMPRESSION_QUALITY=Qualitat
286
286
 
@@ -306,15 +306,31 @@ GNT_PRNTG_SINGLE_PAGE_PORTRAIT=Definir l'orientaci\u00F3 en vertical per a una m
306
306
 
307
307
  GNT_PRNTG_SINGLE_PAGE_LANDSCAPE=Definir l'orientaci\u00F3 en horitzontal per a una millor qualitat d'impressi\u00F3.
308
308
 
309
- GNT_PRNTG_WIDTH=Amplada\:
309
+ GNT_PRNTG_WIDTH=Amplada
310
310
 
311
- GNT_PRNTG_HEIGHT=Al\u00E7ada\:
311
+ GNT_PRNTG_HEIGHT=Al\u00E7ada
312
312
 
313
- GNT_PRNTG_UNITS=Unitats\:
313
+ GNT_PRNTG_UNITS=Unitats
314
314
 
315
- GNT_PRNTG_START_DATE=Data d'inici\:
315
+ GNT_PRNTG_START_DATE=Data d'inici
316
316
 
317
- GNT_PRNTG_END_DATE=Data de fi\:
317
+ GNT_PRNTG_END_DATE=Data de fi
318
+
319
+ GNT_PRNTG_PAPER_SIZE_CUSTOM=Personalitzat
320
+
321
+ GNT_PRNTG_PAPER_SIZE_TABLOID=Tabloide
322
+
323
+ GNT_PRNTG_PAPER_SIZE_LEGAL=Legal
324
+
325
+ GNT_PRNTG_PAPER_SIZE_LETTER=Carta
326
+
327
+ GNT_PRNTG_FIRST_PAGE_BUTTON=Primera p\u00E0gina
328
+
329
+ GNT_PRNTG_LAST_PAGE_BUTTON=\u00DAltima p\u00E0gina
330
+
331
+ GNT_PRNTG_NEXT_PAGE_BUTTON=P\u00E0gina seg\u00FCent
332
+
333
+ GNT_PRNTG_PREVIOUS_PAGE_BUTTON=P\u00E0gina anterior
318
334
 
319
335
 
320
336
  GNT_DRAGGED_OBJECT=Objecte