@sapui5/sap.gantt 1.126.0 → 1.127.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 (209) 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 +1 -1
  8. package/src/sap/gantt/axistime/AxisTimeStrategyBase.js +1 -1
  9. package/src/sap/gantt/axistime/FullScreenStrategy.js +1 -1
  10. package/src/sap/gantt/axistime/FullScreenTimeLineOptions.js +7 -1
  11. package/src/sap/gantt/axistime/ProportionTimeLineOptions.js +7 -1
  12. package/src/sap/gantt/axistime/ProportionZoomStrategy.js +1 -1
  13. package/src/sap/gantt/axistime/StepwiseTimeLineOptions.js +7 -1
  14. package/src/sap/gantt/axistime/StepwiseZoomStrategy.js +1 -1
  15. package/src/sap/gantt/changeHandlers/simple/AdhocLine.js +1 -1
  16. package/src/sap/gantt/changeHandlers/simple/DeltaLine.js +1 -1
  17. package/src/sap/gantt/changeHandlers/simple/GanttChartContainer.js +1 -1
  18. package/src/sap/gantt/changeHandlers/simple/GanttChartWithTable.js +1 -1
  19. package/src/sap/gantt/config/BirdEyeGroup.js +1 -1
  20. package/src/sap/gantt/config/ChartScheme.js +1 -1
  21. package/src/sap/gantt/config/ColumnAttribute.js +1 -1
  22. package/src/sap/gantt/config/ContainerLayout.js +1 -1
  23. package/src/sap/gantt/config/ExpandChart.js +1 -1
  24. package/src/sap/gantt/config/ExpandChartGroup.js +1 -1
  25. package/src/sap/gantt/config/GanttChartLayout.js +1 -1
  26. package/src/sap/gantt/config/Hierarchy.js +1 -1
  27. package/src/sap/gantt/config/HierarchyColumn.js +1 -1
  28. package/src/sap/gantt/config/LayoutGroup.js +1 -1
  29. package/src/sap/gantt/config/Locale.js +1 -1
  30. package/src/sap/gantt/config/Mode.js +1 -1
  31. package/src/sap/gantt/config/ModeGroup.js +1 -1
  32. package/src/sap/gantt/config/ObjectType.js +1 -1
  33. package/src/sap/gantt/config/SettingGroup.js +1 -1
  34. package/src/sap/gantt/config/SettingItem.js +1 -1
  35. package/src/sap/gantt/config/Shape.js +1 -1
  36. package/src/sap/gantt/config/TimeAxis.js +1 -1
  37. package/src/sap/gantt/config/TimeHorizon.js +1 -1
  38. package/src/sap/gantt/config/TimeZoomGroup.js +1 -1
  39. package/src/sap/gantt/config/ToolbarGroup.js +1 -1
  40. package/src/sap/gantt/config/ToolbarScheme.js +1 -1
  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/AdhocLine.js +1 -1
  55. package/src/sap/gantt/drawer/Drawer.js +1 -1
  56. package/src/sap/gantt/drawer/Legend.js +6 -0
  57. package/src/sap/gantt/drawer/VerticalLine.js +1 -1
  58. package/src/sap/gantt/eventHandler/AutoScrollHandler.js +1 -1
  59. package/src/sap/gantt/eventHandler/BirdEyeHandler.js +7 -1
  60. package/src/sap/gantt/eventHandler/MouseWheelHandler.js +1 -1
  61. package/src/sap/gantt/eventHandler/ShapeHoverHandler.js +1 -1
  62. package/src/sap/gantt/eventHandler/ShapeResizeHandler.js +1 -1
  63. package/src/sap/gantt/eventHandler/TimePeriodZoomHandler.js +1 -1
  64. package/src/sap/gantt/eventHandler/TimePopoverHandler.js +1 -1
  65. package/src/sap/gantt/flexibility/simple/AdhocLine.flexibility.js +7 -1
  66. package/src/sap/gantt/flexibility/simple/DeltaLine.flexibility.js +7 -1
  67. package/src/sap/gantt/flexibility/simple/GanttChartWithTable.flexibility.js +7 -1
  68. package/src/sap/gantt/flexibility/simple/GanttTableColumn.flexibility.js +6 -7
  69. package/src/sap/gantt/layouts/SidePanel.js +1 -1
  70. package/src/sap/gantt/legend/DimensionLegend.js +1 -1
  71. package/src/sap/gantt/legend/LegendBase.js +1 -1
  72. package/src/sap/gantt/legend/LegendContainer.js +1 -1
  73. package/src/sap/gantt/legend/ListLegend.js +1 -1
  74. package/src/sap/gantt/library.js +2 -2
  75. package/src/sap/gantt/messagebundle.properties +8 -2
  76. package/src/sap/gantt/misc/AxisOrdinal.js +1 -1
  77. package/src/sap/gantt/misc/Format.js +2 -2
  78. package/src/sap/gantt/misc/Memoizer.js +1 -1
  79. package/src/sap/gantt/misc/RelativeTimeFormatter.js +1 -1
  80. package/src/sap/gantt/misc/ShapeManager.js +1 -1
  81. package/src/sap/gantt/misc/Utility.js +11 -0
  82. package/src/sap/gantt/overlays/GanttRowOverlay.js +1 -1
  83. package/src/sap/gantt/overlays/Overlay.js +1 -1
  84. package/src/sap/gantt/polyfills/lib.js +6 -0
  85. package/src/sap/gantt/polyfills/time.js +6 -0
  86. package/src/sap/gantt/polyfills/timeUtils/day.js +6 -0
  87. package/src/sap/gantt/polyfills/timeUtils/dayCount.js +6 -0
  88. package/src/sap/gantt/polyfills/timeUtils/days.js +6 -0
  89. package/src/sap/gantt/polyfills/timeUtils/interval.js +6 -0
  90. package/src/sap/gantt/polyfills/timeUtils/millisecond.js +6 -0
  91. package/src/sap/gantt/polyfills/timeUtils/monday.js +6 -0
  92. package/src/sap/gantt/polyfills/timeUtils/saturday.js +6 -0
  93. package/src/sap/gantt/polyfills/timeUtils/weeks.js +6 -0
  94. package/src/sap/gantt/shape/Circle.js +1 -1
  95. package/src/sap/gantt/shape/ClipPath.js +1 -1
  96. package/src/sap/gantt/shape/Definitions.js +1 -1
  97. package/src/sap/gantt/shape/Group.js +1 -1
  98. package/src/sap/gantt/shape/Image.js +1 -1
  99. package/src/sap/gantt/shape/Line.js +1 -1
  100. package/src/sap/gantt/shape/Path.js +1 -1
  101. package/src/sap/gantt/shape/Polygon.js +1 -1
  102. package/src/sap/gantt/shape/Polyline.js +1 -1
  103. package/src/sap/gantt/shape/Rectangle.js +1 -1
  104. package/src/sap/gantt/shape/ResizeShadowShape.js +1 -1
  105. package/src/sap/gantt/shape/SelectedShape.js +1 -1
  106. package/src/sap/gantt/shape/Shape.js +1 -1
  107. package/src/sap/gantt/shape/Text.js +1 -1
  108. package/src/sap/gantt/shape/cal/Calendar.js +1 -1
  109. package/src/sap/gantt/shape/ext/Chevron.js +1 -1
  110. package/src/sap/gantt/shape/ext/Cursor.js +1 -1
  111. package/src/sap/gantt/shape/ext/Diamond.js +1 -1
  112. package/src/sap/gantt/shape/ext/Iconfont.js +1 -1
  113. package/src/sap/gantt/shape/ext/Pentangle.js +1 -1
  114. package/src/sap/gantt/shape/ext/TextRepeat.js +1 -1
  115. package/src/sap/gantt/shape/ext/Triangle.js +1 -1
  116. package/src/sap/gantt/shape/ext/rls/Relationship.js +1 -1
  117. package/src/sap/gantt/shape/ext/rls/SelectedRelationship.js +1 -1
  118. package/src/sap/gantt/shape/ext/ubc/UbcBorderPath.js +1 -1
  119. package/src/sap/gantt/shape/ext/ubc/UbcOverCapacityZonePolygon.js +1 -1
  120. package/src/sap/gantt/shape/ext/ubc/UbcPolygon.js +1 -1
  121. package/src/sap/gantt/shape/ext/ubc/UbcShortageCapacityPolygon.js +1 -1
  122. package/src/sap/gantt/shape/ext/ubc/UbcTooltipRectangle.js +1 -1
  123. package/src/sap/gantt/shape/ext/ubc/UbcUnderCapacityZonePolygon.js +1 -1
  124. package/src/sap/gantt/shape/ext/ubc/UbcUsedPolygon.js +1 -1
  125. package/src/sap/gantt/shape/ext/ubc/UtilizationBarChart.js +1 -1
  126. package/src/sap/gantt/shape/ext/ulc/UlcBorderPath.js +1 -1
  127. package/src/sap/gantt/shape/ext/ulc/UlcClipPath.js +1 -1
  128. package/src/sap/gantt/shape/ext/ulc/UlcClipingPath.js +1 -1
  129. package/src/sap/gantt/shape/ext/ulc/UlcDimension.js +1 -1
  130. package/src/sap/gantt/shape/ext/ulc/UlcMiddleLine.js +1 -1
  131. package/src/sap/gantt/shape/ext/ulc/UlcOverCapacityZoneRectangle.js +1 -1
  132. package/src/sap/gantt/shape/ext/ulc/UlcOverClipRectangle.js +1 -1
  133. package/src/sap/gantt/shape/ext/ulc/UlcRectangle.js +1 -1
  134. package/src/sap/gantt/shape/ext/ulc/UlcTooltipRectangle.js +1 -1
  135. package/src/sap/gantt/shape/ext/ulc/UlcUnderClipRectangle.js +1 -1
  136. package/src/sap/gantt/shape/ext/ulc/UtilizationLineChart.js +1 -1
  137. package/src/sap/gantt/simple/AdhocDiamond.js +1 -1
  138. package/src/sap/gantt/simple/AdhocLine.js +1 -1
  139. package/src/sap/gantt/simple/AggregationUtils.js +1 -1
  140. package/src/sap/gantt/simple/BaseCalendar.js +1 -1
  141. package/src/sap/gantt/simple/BaseChevron.js +1 -1
  142. package/src/sap/gantt/simple/BaseConditionalShape.js +1 -1
  143. package/src/sap/gantt/simple/BaseCursor.js +7 -7
  144. package/src/sap/gantt/simple/BaseDeltaRectangle.js +4 -4
  145. package/src/sap/gantt/simple/BaseDiamond.js +1 -1
  146. package/src/sap/gantt/simple/BaseGroup.js +1 -1
  147. package/src/sap/gantt/simple/BaseImage.js +1 -1
  148. package/src/sap/gantt/simple/BaseLine.js +1 -1
  149. package/src/sap/gantt/simple/BasePath.js +1 -1
  150. package/src/sap/gantt/simple/BasePseudoShape.js +1 -1
  151. package/src/sap/gantt/simple/BaseRectangle.js +2 -2
  152. package/src/sap/gantt/simple/BaseShape.js +7 -5
  153. package/src/sap/gantt/simple/BaseText.js +1 -1
  154. package/src/sap/gantt/simple/BaseTriangle.js +7 -1
  155. package/src/sap/gantt/simple/ContainerToolbar.js +7 -1
  156. package/src/sap/gantt/simple/ContainerToolbarPlaceholder.js +1 -1
  157. package/src/sap/gantt/simple/CoordinateUtils.js +1 -1
  158. package/src/sap/gantt/simple/CustomVariantHandler.js +8 -2
  159. package/src/sap/gantt/simple/DeltaLine.js +1 -1
  160. package/src/sap/gantt/simple/ExpandModel.js +2 -2
  161. package/src/sap/gantt/simple/FindAndSelectUtils.js +6 -0
  162. package/src/sap/gantt/simple/FullScreenUtil.js +7 -1
  163. package/src/sap/gantt/simple/GanttAdaptationData.js +8 -2
  164. package/src/sap/gantt/simple/GanttChartContainer.js +1 -1
  165. package/src/sap/gantt/simple/GanttChartWithTable.js +28 -4
  166. package/src/sap/gantt/simple/GanttDragDropExtension.js +10 -5
  167. package/src/sap/gantt/simple/GanttExtension.js +1 -1
  168. package/src/sap/gantt/simple/GanttHeader.js +1 -1
  169. package/src/sap/gantt/simple/GanttPointerExtension.js +1 -1
  170. package/src/sap/gantt/simple/GanttPopoverExtension.js +2 -2
  171. package/src/sap/gantt/simple/GanttPrinting.js +311 -197
  172. package/src/sap/gantt/simple/GanttRowAction.js +1 -1
  173. package/src/sap/gantt/simple/GanttRowSettings.js +1 -1
  174. package/src/sap/gantt/simple/GanttScrollExtension.js +1 -1
  175. package/src/sap/gantt/simple/GanttSearchSidePanel.js +7 -1
  176. package/src/sap/gantt/simple/GanttUtils.js +6 -3
  177. package/src/sap/gantt/simple/GanttZoomExtension.js +4 -4
  178. package/src/sap/gantt/simple/InnerGanttChart.js +1 -1
  179. package/src/sap/gantt/simple/InnerGanttChartRenderer.js +2 -0
  180. package/src/sap/gantt/simple/LegendContainer.js +1 -1
  181. package/src/sap/gantt/simple/LegendShapeGroup.js +1 -1
  182. package/src/sap/gantt/simple/MultiActivityGroup.js +1 -1
  183. package/src/sap/gantt/simple/MultiActivityRowSettings.js +1 -1
  184. package/src/sap/gantt/simple/PrintConfig.js +314 -0
  185. package/src/sap/gantt/simple/PrintDialogTemplate.js +38 -0
  186. package/src/sap/gantt/simple/PrintUtils.js +151 -0
  187. package/src/sap/gantt/simple/Relationship.js +1 -1
  188. package/src/sap/gantt/simple/RenderUtils.js +1 -1
  189. package/src/sap/gantt/simple/SelectionModel.js +14 -0
  190. package/src/sap/gantt/simple/ShapeScheme.js +1 -1
  191. package/src/sap/gantt/simple/StockChart.js +1 -1
  192. package/src/sap/gantt/simple/StockChartDimension.js +1 -1
  193. package/src/sap/gantt/simple/StockChartPeriod.js +1 -1
  194. package/src/sap/gantt/simple/UtilizationBarChart.js +1 -1
  195. package/src/sap/gantt/simple/UtilizationChart.js +1 -1
  196. package/src/sap/gantt/simple/UtilizationDimension.js +1 -1
  197. package/src/sap/gantt/simple/UtilizationLineChart.js +1 -1
  198. package/src/sap/gantt/simple/UtilizationPeriod.js +1 -1
  199. package/src/sap/gantt/simple/shapes/Shape.js +6 -6
  200. package/src/sap/gantt/simple/shapes/Task.js +1 -1
  201. package/src/sap/gantt/skipTime/DayInterval.js +1 -1
  202. package/src/sap/gantt/skipTime/DiscontinuousProvider.js +8 -2
  203. package/src/sap/gantt/skipTime/SkipInterval.js +1 -1
  204. package/src/sap/gantt/skipTime/SkipPattern.js +1 -1
  205. package/src/sap/gantt/skipTime/WeekPattern.js +1 -1
  206. package/src/sap/gantt/skipTime/WeeklyDiscontinuousProvider.js +6 -0
  207. package/src/sap/gantt/utils/GanttChartConfigurationUtils.js +6 -0
  208. package/src/sap/gantt/utils/GanttCustomisationUtils.js +7 -1
  209. package/src/sap/gantt/utils/GanttFlexibilityUtils.js +7 -1
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @extends sap.ui.base.Object
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.126.0
39
+ * @version 1.127.1
40
40
  *
41
41
  * @constructor
42
42
  * @private
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.ui.base.Object
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.126.0
33
+ * @version 1.127.1
34
34
  *
35
35
  * @constructor
36
36
  * @private
@@ -1,3 +1,9 @@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
6
+ */
1
7
  sap.ui.define([
2
8
  "sap/gantt/utils/GanttFlexibilityUtils"
3
9
  ], function (GanttFlexibilityUtils) {
@@ -8,4 +14,4 @@ sap.ui.define([
8
14
  "moveControls": "default",
9
15
  "ganttAdhocLineSettings": GanttFlexibilityUtils.fnCustomisationChangeHandler("ganttAdhocLineSettings")
10
16
  };
11
- }, /* bExport= */ true);
17
+ }, /* bExport= */ true);
@@ -1,3 +1,9 @@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
6
+ */
1
7
  sap.ui.define([
2
8
  "sap/gantt/utils/GanttFlexibilityUtils"
3
9
  ], function (GanttFlexibilityUtils) {
@@ -9,4 +15,4 @@ sap.ui.define([
9
15
  "moveControls": "default",
10
16
  "ganttDeltaLineSettings": GanttFlexibilityUtils.fnCustomisationChangeHandler("ganttDeltaLineSettings")
11
17
  };
12
- }, /* bExport= */ true);
18
+ }, /* bExport= */ true);
@@ -1,3 +1,9 @@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
6
+ */
1
7
  sap.ui.define([
2
8
  "sap/gantt/utils/GanttFlexibilityUtils"
3
9
  ], function (GanttFlexibilityUtils) {
@@ -9,4 +15,4 @@ sap.ui.define([
9
15
  "moveControls": "default",
10
16
  "ganttChartWithTableSettings": GanttFlexibilityUtils.fnCustomisationChangeHandler("ganttChartWithTableSettings")
11
17
  };
12
- }, /* bExport= */ true);
18
+ }, /* bExport= */ true);
@@ -7,15 +7,15 @@
7
7
 
8
8
  sap.ui.define([
9
9
  "sap/gantt/utils/GanttFlexibilityUtils",
10
- "sap/ui/fl/changeHandler/condenser/Classification"
11
- ], function (GanttFlexibilityUtils, Classification) {
10
+ "sap/ui/fl/changeHandler/condenser/Classification",
11
+ "sap/m/flexibility/EngineFlex"
12
+ ], function (GanttFlexibilityUtils, Classification, EngineFlex) {
12
13
  "use strict";
13
-
14
- return {
14
+ return Object.assign(EngineFlex, {
15
15
  "hideControl": "default",
16
16
  "unhideControl": "default",
17
17
  "moveControls": "default",
18
- "GanttTableColumnOrder": {
18
+ "GanttTableColumnOrder": {
19
19
  "changeHandler": {
20
20
  applyChange: function (oChange, oControl, mPropertyBag) {
21
21
  var oModifier = mPropertyBag.modifier,
@@ -32,7 +32,6 @@ sap.ui.define([
32
32
  var oColumn = oModifier.bySelector(columnId, oAppComponent, oView);
33
33
  aNewColumns.push(oColumn);
34
34
  });
35
-
36
35
  // move children in `columns` aggregation around
37
36
  if (aNewColumns.length > 0) {
38
37
  return oModifier.removeAllAggregation(oControl, sAggregationName).then(function() {
@@ -142,5 +141,5 @@ sap.ui.define([
142
141
  },
143
142
  "TableColumnFilterValue": GanttFlexibilityUtils.fnChangeHandler("TableColumnFilterValue"),
144
143
  "TableColumnVisibility": GanttFlexibilityUtils.fnChangeHandler("TableColumnVisibility")
145
- };
144
+ });
146
145
  }, /* bExport= */ true);
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.ui.core.Control
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.126.0
33
+ * @version 1.127.1
34
34
  * @since 1.126
35
35
  *
36
36
  * @constructor
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.gantt.legend.LegendBase
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.126.0
32
+ * @version 1.127.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.126.0
41
+ * @version 1.127.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.126.0
25
+ * @version 1.127.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.126.0
55
+ * @version 1.127.1
56
56
  *
57
57
  * @constructor
58
58
  * @public
@@ -175,7 +175,7 @@ sap.ui.define([
175
175
  }
176
176
  },
177
177
  noLibraryCSS: false,
178
- version: "1.126.0"
178
+ version: "1.127.1"
179
179
  });
180
180
 
181
181
 
@@ -787,7 +787,7 @@ sap.ui.define([
787
787
 
788
788
  /**
789
789
  * Define the type of zoom control in global tool bar
790
- * @version 1.126.0
790
+ * @version 1.127.1
791
791
  * @enum {string}
792
792
  * @public
793
793
  */
@@ -494,6 +494,12 @@ GNT_PRNTG_SINGLE_PAGE_PORTRAIT=Set orientation as Portrait for better print qual
494
494
  #XTOL
495
495
  GNT_PRNTG_SINGLE_PAGE_LANDSCAPE=Set orientation as Landscape for better print quality.
496
496
 
497
+ #XTOL
498
+ GNT_PRNTG_ERROR_DATEDURATION=Enter a valid date duration.
499
+
500
+ #XTOL
501
+ GNT_PRNTG_ERROR_DATEDURATION_PREVIEW=Date duration is incorrect, enter a duration from the provided values.
502
+
497
503
  #XFLD: Width for page
498
504
  GNT_PRNTG_WIDTH = Width
499
505
 
@@ -685,10 +691,10 @@ TXT_CH_GC_DELTA_LINE = Enable Delta Line
685
691
  #XFLD: Now line text
686
692
  TXT_CH_GC_NOW_LINE = Enable Now Line
687
693
 
688
- #XBUT:
694
+ #XBUT:
689
695
  TXT_CH_GC_TRUE = TRUE
690
696
 
691
- #XBUT:
697
+ #XBUT:
692
698
  TXT_CH_GC_FALSE = FALSE
693
699
 
694
700
  #XHED: Gantt chart container dialog header text
@@ -239,7 +239,7 @@ sap.ui.define([
239
239
  if (curValue <= viewWidth[1] && curValue >= viewWidth[0]) {
240
240
  //If current position is in the elements scale, calculate the row index
241
241
  return this.viewToElementIndex(value);
242
- } else if (jQuery.isNumeric(iMaxIndex) && iMaxIndex > this.elementArray.length) {
242
+ } else if (Utility.isNumeric(iMaxIndex) && iMaxIndex > this.elementArray.length) {
243
243
  //if current position is out of elements scale, calculate the row index
244
244
  var blankIndex = parseInt( ( value - viewWidth[1] - viewWidth[0] ) / this.viewBandWidth);
245
245
  var rowIndex = blankIndex + this.elementArray.length;
@@ -71,7 +71,7 @@ sap.ui.define([
71
71
  sTimestamp.substr(10, 2),
72
72
  sTimestamp.substr(12, 2));
73
73
  //In case ts is in format of "Fri Jun 12 2015 08:00:00 GMT+0800 (China Standard Time)"
74
- if (!jQuery.isNumeric(date.getTime())){
74
+ if (isNaN(date.getTime())){
75
75
  date = new Date(sTimestamp);
76
76
  //In case ts is in ISO format of "2021-04-19T17:13:10.000Z"
77
77
  if (!isNaN(date.getTime()) && (date.toISOString() === sTimestamp)) {
@@ -85,7 +85,7 @@ sap.ui.define([
85
85
  }
86
86
  }
87
87
  return date;
88
- } else if (jQuery.type(sTimestamp) === "date"){
88
+ } else if (sTimestamp instanceof Date){
89
89
  return sTimestamp;
90
90
  }
91
91
  return null;
@@ -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.126.0
16
+ * @version 1.127.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.126.0
21
+ * @version 1.127.1
22
22
  *
23
23
  * @constructor
24
24
  * @private
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.base.EventProvider
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.126.0
31
+ * @version 1.127.1
32
32
  *
33
33
  * @param {int} oGantt <code>sap.gantt.GanttChartBase</code>
34
34
  *
@@ -560,5 +560,16 @@ sap.ui.define([
560
560
  return oFormatter.format(oDate, sLocalTimezone);
561
561
  };
562
562
 
563
+ /**
564
+ * @param {object} value value to be checked
565
+ * @returns {boolean} returns whether the given value is coercible to number
566
+ */
567
+ Utility.isNumeric = function (value) {
568
+ var type = typeof value;
569
+
570
+ return (type === "number" || type === "string") &&
571
+ (value - parseFloat(value) + 1) >= 0;
572
+ };
573
+
563
574
  return Utility;
564
575
  }, /* bExport= */ true);
@@ -21,7 +21,7 @@ sap.ui.define(
21
21
  * @extends sap.ui.core.Element
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.126.0
24
+ * @version 1.127.1
25
25
  * @since 1.120
26
26
  * @experimental since 1.120
27
27
  *
@@ -23,7 +23,7 @@ sap.ui.define(
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.126.0
26
+ * @version 1.127.1
27
27
  * @since 1.120
28
28
  * @experimental since 1.120
29
29
  *
@@ -1,3 +1,9 @@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
6
+ */
1
7
  sap.ui.define([
2
8
  "sap/gantt/library",
3
9
  "sap/gantt/polyfills/time"
@@ -1,3 +1,9 @@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
6
+ */
1
7
  sap.ui.define([
2
8
  "./timeUtils/day",
3
9
  "./timeUtils/days",
@@ -1,3 +1,9 @@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
6
+ */
1
7
  sap.ui.define([
2
8
  "sap/ui/thirdparty/d3"
3
9
  ], function () {
@@ -1,3 +1,9 @@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
6
+ */
1
7
  sap.ui.define([], function () {
2
8
  "use strict";
3
9
 
@@ -1,3 +1,9 @@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
6
+ */
1
7
  sap.ui.define([
2
8
  "sap/ui/thirdparty/d3"
3
9
  ], function () {
@@ -1,3 +1,9 @@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
6
+ */
1
7
  sap.ui.define([], function () {
2
8
  "use strict";
3
9
 
@@ -1,3 +1,9 @@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
6
+ */
1
7
  sap.ui.define(["./interval"], function (interval) {
2
8
  "use strict";
3
9
 
@@ -1,3 +1,9 @@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
6
+ */
1
7
  sap.ui.define([
2
8
  "sap/ui/thirdparty/d3"
3
9
  ], function () {
@@ -1,3 +1,9 @@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
6
+ */
1
7
  sap.ui.define([
2
8
  "sap/ui/thirdparty/d3"
3
9
  ], function () {
@@ -1,3 +1,9 @@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
6
+ */
1
7
  sap.ui.define([
2
8
  "sap/ui/thirdparty/d3"
3
9
  ], function () {
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extend sap.gantt.shape.Shape
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.126.0
31
+ * @version 1.127.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.126.0
39
+ * @version 1.127.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.126.0
31
+ * @version 1.127.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.126.0
24
+ * @version 1.127.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.126.0
24
+ * @version 1.127.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.126.0
37
+ * @version 1.127.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.126.0
53
+ * @version 1.127.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.126.0
32
+ * @version 1.127.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.126.0
33
+ * @version 1.127.1
34
34
  *
35
35
  * @constructor
36
36
  * @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.126.0
39
+ * @version 1.127.1
40
40
  *
41
41
  * @constructor
42
42
  * @public
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  *
25
25
  *
26
26
  * @extends sap.gantt.shape.Path
27
- * @version 1.126.0
27
+ * @version 1.127.1
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  *
25
25
  *
26
26
  * @extends sap.gantt.shape.Path
27
- * @version 1.126.0
27
+ * @version 1.127.1
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -62,7 +62,7 @@ sap.ui.define([
62
62
  * @abstract
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.126.0
65
+ * @version 1.127.1
66
66
  *
67
67
  * @constructor
68
68
  * @public
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @extend sap.gantt.shape.Shape
45
45
  *
46
46
  * @author SAP SE
47
- * @version 1.126.0
47
+ * @version 1.127.1
48
48
  *
49
49
  * @constructor
50
50
  * @public
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.gantt.shape.Rectangle
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.126.0
28
+ * @version 1.127.1
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @extend sap.gantt.shape.Shape
48
48
  *
49
49
  * @author SAP SE
50
- * @version 1.126.0
50
+ * @version 1.127.1
51
51
  *
52
52
  * @constructor
53
53
  * @public
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @extend sap.gantt.shape.Shape
48
48
  *
49
49
  * @author SAP SE
50
- * @version 1.126.0
50
+ * @version 1.127.1
51
51
  *
52
52
  * @constructor
53
53
  * @public
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @extend sap.gantt.shape.Shape
45
45
  *
46
46
  * @author SAP SE
47
- * @version 1.126.0
47
+ * @version 1.127.1
48
48
  *
49
49
  * @constructor
50
50
  * @public
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extend sap.gantt.shape.Text
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.126.0
24
+ * @version 1.127.1
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @extend sap.gantt.shape.Shape
44
44
  *
45
45
  * @author SAP SE
46
- * @version 1.126.0
46
+ * @version 1.127.1
47
47
  *
48
48
  * @constructor
49
49
  * @public
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extend sap.gantt.shape.Definitions
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.126.0
28
+ * @version 1.127.1
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  * @extend sap.gantt.shape.Shape
47
47
  *
48
48
  * @author SAP SE
49
- * @version 1.126.0
49
+ * @version 1.127.1
50
50
  *
51
51
  * @constructor
52
52
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extend sap.gantt.shape.Shape
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.126.0
25
+ * @version 1.127.1
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  *
25
25
  *
26
26
  * @extends sap.gantt.shape.ext.rls.Relationship
27
- * @version 1.126.0
27
+ * @version 1.127.1
28
28
  *
29
29
  * @constructor
30
30
  * @public