@sapui5/sap.gantt 1.123.0 → 1.125.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/LICENSE.txt +13 -10
  2. package/README.md +1 -1
  3. package/package.json +1 -1
  4. package/src/sap/gantt/.library +11 -5
  5. package/src/sap/gantt/AdhocLine.js +1 -1
  6. package/src/sap/gantt/GanttChart.js +1 -1
  7. package/src/sap/gantt/GanttChartBase.js +4 -4
  8. package/src/sap/gantt/GanttChartContainer.js +1 -1
  9. package/src/sap/gantt/GanttChartWithTable.js +1 -1
  10. package/src/sap/gantt/axistime/AxisTimeStrategyBase.js +1 -3
  11. package/src/sap/gantt/axistime/FullScreenStrategy.js +1 -1
  12. package/src/sap/gantt/axistime/ProportionZoomStrategy.js +1 -1
  13. package/src/sap/gantt/axistime/StepwiseZoomStrategy.js +1 -1
  14. package/src/sap/gantt/changeHandlers/simple/AdhocLine.js +1 -1
  15. package/src/sap/gantt/changeHandlers/simple/DeltaLine.js +1 -1
  16. package/src/sap/gantt/changeHandlers/simple/GanttChartContainer.js +1 -1
  17. package/src/sap/gantt/changeHandlers/simple/GanttChartWithTable.js +1 -1
  18. package/src/sap/gantt/config/BirdEyeGroup.js +2 -2
  19. package/src/sap/gantt/config/ChartScheme.js +2 -2
  20. package/src/sap/gantt/config/ColumnAttribute.js +2 -2
  21. package/src/sap/gantt/config/ContainerLayout.js +2 -2
  22. package/src/sap/gantt/config/ExpandChart.js +2 -2
  23. package/src/sap/gantt/config/ExpandChartGroup.js +2 -2
  24. package/src/sap/gantt/config/GanttChartLayout.js +2 -2
  25. package/src/sap/gantt/config/Hierarchy.js +2 -2
  26. package/src/sap/gantt/config/HierarchyColumn.js +2 -2
  27. package/src/sap/gantt/config/LayoutGroup.js +3 -3
  28. package/src/sap/gantt/config/Locale.js +9 -11
  29. package/src/sap/gantt/config/Mode.js +2 -2
  30. package/src/sap/gantt/config/ModeGroup.js +2 -2
  31. package/src/sap/gantt/config/ObjectType.js +2 -2
  32. package/src/sap/gantt/config/SettingGroup.js +2 -2
  33. package/src/sap/gantt/config/SettingItem.js +1 -1
  34. package/src/sap/gantt/config/Shape.js +2 -2
  35. package/src/sap/gantt/config/TimeAxis.js +1 -1
  36. package/src/sap/gantt/config/TimeHorizon.js +1 -1
  37. package/src/sap/gantt/config/TimeZoomGroup.js +2 -2
  38. package/src/sap/gantt/config/ToolbarGroup.js +2 -2
  39. package/src/sap/gantt/config/ToolbarScheme.js +2 -2
  40. package/src/sap/gantt/control/Cell.js +2 -2
  41. package/src/sap/gantt/control/Toolbar.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/eventHandler/AutoScrollHandler.js +1 -1
  56. package/src/sap/gantt/eventHandler/BirdEyeHandler.js +1 -1
  57. package/src/sap/gantt/eventHandler/MouseWheelHandler.js +1 -1
  58. package/src/sap/gantt/eventHandler/ShapeHoverHandler.js +1 -1
  59. package/src/sap/gantt/eventHandler/ShapeResizeHandler.js +1 -1
  60. package/src/sap/gantt/eventHandler/TimePeriodZoomHandler.js +1 -1
  61. package/src/sap/gantt/eventHandler/TimePopoverHandler.js +1 -1
  62. package/src/sap/gantt/flexibility/simple/GanttTableColumn.flexibility.js +1 -4
  63. package/src/sap/gantt/layouts/SidePanel.js +197 -0
  64. package/src/sap/gantt/layouts/SidePanelRenderer.js +28 -0
  65. package/src/sap/gantt/legend/DimensionLegend.js +2 -2
  66. package/src/sap/gantt/legend/LegendBase.js +2 -2
  67. package/src/sap/gantt/legend/LegendContainer.js +2 -2
  68. package/src/sap/gantt/legend/ListLegend.js +3 -3
  69. package/src/sap/gantt/library.js +4 -4
  70. package/src/sap/gantt/messagebundle_ar.properties +5 -2
  71. package/src/sap/gantt/messagebundle_bg.properties +5 -2
  72. package/src/sap/gantt/messagebundle_ca.properties +5 -2
  73. package/src/sap/gantt/messagebundle_cnr.properties +5 -2
  74. package/src/sap/gantt/messagebundle_cs.properties +5 -2
  75. package/src/sap/gantt/messagebundle_cy.properties +5 -2
  76. package/src/sap/gantt/messagebundle_da.properties +5 -2
  77. package/src/sap/gantt/messagebundle_de.properties +5 -2
  78. package/src/sap/gantt/messagebundle_el.properties +5 -2
  79. package/src/sap/gantt/messagebundle_en.properties +5 -2
  80. package/src/sap/gantt/messagebundle_en_GB.properties +5 -2
  81. package/src/sap/gantt/messagebundle_es.properties +5 -2
  82. package/src/sap/gantt/messagebundle_es_MX.properties +5 -2
  83. package/src/sap/gantt/messagebundle_et.properties +5 -2
  84. package/src/sap/gantt/messagebundle_fi.properties +5 -2
  85. package/src/sap/gantt/messagebundle_fr.properties +5 -2
  86. package/src/sap/gantt/messagebundle_fr_CA.properties +5 -2
  87. package/src/sap/gantt/messagebundle_hi.properties +5 -2
  88. package/src/sap/gantt/messagebundle_hr.properties +5 -2
  89. package/src/sap/gantt/messagebundle_hu.properties +5 -2
  90. package/src/sap/gantt/messagebundle_id.properties +5 -2
  91. package/src/sap/gantt/messagebundle_it.properties +5 -2
  92. package/src/sap/gantt/messagebundle_iw.properties +5 -2
  93. package/src/sap/gantt/messagebundle_ja.properties +5 -2
  94. package/src/sap/gantt/messagebundle_kk.properties +5 -2
  95. package/src/sap/gantt/messagebundle_ko.properties +5 -2
  96. package/src/sap/gantt/messagebundle_lt.properties +5 -2
  97. package/src/sap/gantt/messagebundle_lv.properties +5 -2
  98. package/src/sap/gantt/messagebundle_mk.properties +6 -3
  99. package/src/sap/gantt/messagebundle_ms.properties +5 -2
  100. package/src/sap/gantt/messagebundle_nl.properties +5 -2
  101. package/src/sap/gantt/messagebundle_no.properties +5 -2
  102. package/src/sap/gantt/messagebundle_pl.properties +5 -2
  103. package/src/sap/gantt/messagebundle_pt.properties +5 -2
  104. package/src/sap/gantt/messagebundle_pt_PT.properties +5 -2
  105. package/src/sap/gantt/messagebundle_ro.properties +5 -2
  106. package/src/sap/gantt/messagebundle_ru.properties +5 -2
  107. package/src/sap/gantt/messagebundle_sh.properties +5 -2
  108. package/src/sap/gantt/messagebundle_sk.properties +5 -2
  109. package/src/sap/gantt/messagebundle_sl.properties +5 -2
  110. package/src/sap/gantt/messagebundle_sr.properties +5 -2
  111. package/src/sap/gantt/messagebundle_sv.properties +10 -7
  112. package/src/sap/gantt/messagebundle_th.properties +5 -2
  113. package/src/sap/gantt/messagebundle_tr.properties +5 -2
  114. package/src/sap/gantt/messagebundle_uk.properties +5 -2
  115. package/src/sap/gantt/messagebundle_vi.properties +5 -2
  116. package/src/sap/gantt/messagebundle_zh_CN.properties +5 -2
  117. package/src/sap/gantt/messagebundle_zh_TW.properties +5 -2
  118. package/src/sap/gantt/misc/AxisTime.js +4 -4
  119. package/src/sap/gantt/misc/Memoizer.js +1 -1
  120. package/src/sap/gantt/misc/RelativeTimeFormatter.js +1 -1
  121. package/src/sap/gantt/misc/ShapeManager.js +1 -1
  122. package/src/sap/gantt/misc/Utility.js +3 -3
  123. package/src/sap/gantt/overlays/GanttRowOverlay.js +1 -1
  124. package/src/sap/gantt/overlays/Overlay.js +1 -1
  125. package/src/sap/gantt/shape/Circle.js +2 -2
  126. package/src/sap/gantt/shape/ClipPath.js +2 -2
  127. package/src/sap/gantt/shape/Definitions.js +2 -2
  128. package/src/sap/gantt/shape/Group.js +2 -2
  129. package/src/sap/gantt/shape/Image.js +2 -2
  130. package/src/sap/gantt/shape/Line.js +2 -2
  131. package/src/sap/gantt/shape/Path.js +2 -2
  132. package/src/sap/gantt/shape/Polygon.js +2 -2
  133. package/src/sap/gantt/shape/Polyline.js +2 -2
  134. package/src/sap/gantt/shape/Rectangle.js +2 -2
  135. package/src/sap/gantt/shape/ResizeShadowShape.js +2 -2
  136. package/src/sap/gantt/shape/SelectedShape.js +2 -2
  137. package/src/sap/gantt/shape/Shape.js +2 -2
  138. package/src/sap/gantt/shape/Text.js +2 -2
  139. package/src/sap/gantt/shape/cal/Calendar.js +2 -2
  140. package/src/sap/gantt/shape/ext/Chevron.js +2 -2
  141. package/src/sap/gantt/shape/ext/Cursor.js +2 -2
  142. package/src/sap/gantt/shape/ext/Diamond.js +2 -2
  143. package/src/sap/gantt/shape/ext/Iconfont.js +2 -2
  144. package/src/sap/gantt/shape/ext/Pentangle.js +2 -2
  145. package/src/sap/gantt/shape/ext/TextRepeat.js +2 -2
  146. package/src/sap/gantt/shape/ext/Triangle.js +2 -2
  147. package/src/sap/gantt/shape/ext/rls/Relationship.js +2 -2
  148. package/src/sap/gantt/shape/ext/rls/SelectedRelationship.js +3 -3
  149. package/src/sap/gantt/shape/ext/ubc/UbcBorderPath.js +2 -2
  150. package/src/sap/gantt/shape/ext/ubc/UbcOverCapacityZonePolygon.js +2 -2
  151. package/src/sap/gantt/shape/ext/ubc/UbcPolygon.js +2 -2
  152. package/src/sap/gantt/shape/ext/ubc/UbcShortageCapacityPolygon.js +2 -2
  153. package/src/sap/gantt/shape/ext/ubc/UbcTooltipRectangle.js +2 -2
  154. package/src/sap/gantt/shape/ext/ubc/UbcUnderCapacityZonePolygon.js +2 -2
  155. package/src/sap/gantt/shape/ext/ubc/UbcUsedPolygon.js +2 -2
  156. package/src/sap/gantt/shape/ext/ubc/UtilizationBarChart.js +2 -2
  157. package/src/sap/gantt/shape/ext/ulc/UlcBorderPath.js +2 -2
  158. package/src/sap/gantt/shape/ext/ulc/UlcClipPath.js +2 -2
  159. package/src/sap/gantt/shape/ext/ulc/UlcClipingPath.js +2 -2
  160. package/src/sap/gantt/shape/ext/ulc/UlcDimension.js +2 -2
  161. package/src/sap/gantt/shape/ext/ulc/UlcMiddleLine.js +2 -2
  162. package/src/sap/gantt/shape/ext/ulc/UlcOverCapacityZoneRectangle.js +2 -2
  163. package/src/sap/gantt/shape/ext/ulc/UlcOverClipRectangle.js +2 -2
  164. package/src/sap/gantt/shape/ext/ulc/UlcRectangle.js +2 -2
  165. package/src/sap/gantt/shape/ext/ulc/UlcTooltipRectangle.js +2 -2
  166. package/src/sap/gantt/shape/ext/ulc/UlcUnderClipRectangle.js +2 -2
  167. package/src/sap/gantt/shape/ext/ulc/UtilizationLineChart.js +2 -2
  168. package/src/sap/gantt/simple/AdhocDiamond.js +1 -1
  169. package/src/sap/gantt/simple/AdhocLine.js +1 -1
  170. package/src/sap/gantt/simple/BaseCalendar.js +1 -1
  171. package/src/sap/gantt/simple/BaseChevron.js +1 -1
  172. package/src/sap/gantt/simple/BaseConditionalShape.js +1 -1
  173. package/src/sap/gantt/simple/BaseCursor.js +1 -1
  174. package/src/sap/gantt/simple/BaseDeltaRectangle.js +1 -1
  175. package/src/sap/gantt/simple/BaseDiamond.js +1 -1
  176. package/src/sap/gantt/simple/BaseGroup.js +1 -1
  177. package/src/sap/gantt/simple/BaseImage.js +1 -1
  178. package/src/sap/gantt/simple/BaseLine.js +1 -1
  179. package/src/sap/gantt/simple/BasePath.js +1 -1
  180. package/src/sap/gantt/simple/BasePseudoShape.js +1 -1
  181. package/src/sap/gantt/simple/BaseRectangle.js +1 -1
  182. package/src/sap/gantt/simple/BaseShape.js +1 -1
  183. package/src/sap/gantt/simple/BaseText.js +1 -1
  184. package/src/sap/gantt/simple/BaseTriangle.js +1 -1
  185. package/src/sap/gantt/simple/ContainerToolbar.js +3 -3
  186. package/src/sap/gantt/simple/ContainerToolbarPlaceholder.js +1 -1
  187. package/src/sap/gantt/simple/CoordinateUtils.js +1 -1
  188. package/src/sap/gantt/simple/CustomVariantHandler.js +1 -1
  189. package/src/sap/gantt/simple/DeltaLine.js +1 -1
  190. package/src/sap/gantt/simple/DimensionLegendRenderer.js +1 -1
  191. package/src/sap/gantt/simple/ExpandModel.js +1 -1
  192. package/src/sap/gantt/simple/FindAndSelectUtils.js +1 -1
  193. package/src/sap/gantt/simple/GanttAdaptationData.js +1 -1
  194. package/src/sap/gantt/simple/GanttChartContainer.js +31 -2
  195. package/src/sap/gantt/simple/GanttChartContainerRenderer.js +29 -12
  196. package/src/sap/gantt/simple/GanttChartWithTable.js +44 -17
  197. package/src/sap/gantt/simple/GanttDragDropExtension.js +4 -2
  198. package/src/sap/gantt/simple/GanttExtension.js +1 -1
  199. package/src/sap/gantt/simple/GanttHeader.js +2 -2
  200. package/src/sap/gantt/simple/GanttPointerExtension.js +1 -3
  201. package/src/sap/gantt/simple/GanttPopoverExtension.js +1 -1
  202. package/src/sap/gantt/simple/GanttPrinting.js +97 -25
  203. package/src/sap/gantt/simple/GanttRowAction.js +1 -1
  204. package/src/sap/gantt/simple/GanttRowSettings.js +1 -1
  205. package/src/sap/gantt/simple/GanttUtils.js +12 -4
  206. package/src/sap/gantt/simple/InnerGanttChart.js +11 -2
  207. package/src/sap/gantt/simple/InnerGanttChartRenderer.js +1 -1
  208. package/src/sap/gantt/simple/LegendContainer.js +1 -1
  209. package/src/sap/gantt/simple/LegendShapeGroup.js +1 -1
  210. package/src/sap/gantt/simple/MultiActivityGroup.js +1 -1
  211. package/src/sap/gantt/simple/MultiActivityRowSettings.js +1 -1
  212. package/src/sap/gantt/simple/Relationship.js +1 -1
  213. package/src/sap/gantt/simple/RenderUtils.js +5 -9
  214. package/src/sap/gantt/simple/SelectionModel.js +17 -12
  215. package/src/sap/gantt/simple/ShapeScheme.js +1 -1
  216. package/src/sap/gantt/simple/StockChart.js +1 -1
  217. package/src/sap/gantt/simple/StockChartDimension.js +1 -1
  218. package/src/sap/gantt/simple/StockChartPeriod.js +1 -1
  219. package/src/sap/gantt/simple/UtilizationBarChart.js +1 -1
  220. package/src/sap/gantt/simple/UtilizationChart.js +1 -1
  221. package/src/sap/gantt/simple/UtilizationDimension.js +1 -1
  222. package/src/sap/gantt/simple/UtilizationLineChart.js +1 -1
  223. package/src/sap/gantt/simple/UtilizationPeriod.js +1 -1
  224. package/src/sap/gantt/simple/shapes/Shape.js +5 -23
  225. package/src/sap/gantt/simple/shapes/Task.js +1 -1
  226. package/src/sap/gantt/themes/base/Gantt.less +9 -5
  227. package/src/sap/gantt/themes/sap_belize/library.source.less +10 -1
  228. package/src/sap/gantt/themes/sap_belize_base/Gantt.less +895 -0
  229. package/src/sap/gantt/themes/sap_belize_base/GanttPrinting.less +101 -0
  230. package/src/sap/gantt/themes/sap_belize_base/GanttSyncedControl.less +96 -0
  231. package/src/sap/gantt/themes/sap_belize_base/library.source.less +13 -0
  232. package/src/sap/gantt/themes/sap_belize_hcb/library.source.less +10 -1
  233. package/src/sap/gantt/themes/sap_belize_hcw/library.source.less +10 -1
  234. package/src/sap/gantt/themes/sap_bluecrystal/library.source.less +10 -1
  235. package/src/sap/gantt/themes/sap_bluecrystal_base/Gantt.less +899 -0
  236. package/src/sap/gantt/themes/sap_bluecrystal_base/GanttPrinting.less +101 -0
  237. package/src/sap/gantt/themes/sap_bluecrystal_base/GanttSyncedControl.less +96 -0
  238. package/src/sap/gantt/themes/sap_bluecrystal_base/library.source.less +13 -0
  239. package/src/sap/gantt/utils/GanttChartConfigurationUtils.js +4 -1
@@ -23,11 +23,11 @@ sap.ui.define([
23
23
  * @extends sap.gantt.config.ToolbarGroup
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.123.0
26
+ * @version 1.125.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
30
- * @deprecated Since version 1.64
30
+ * @deprecated Since version 1.64, the concept has been discarded.
31
31
  * @alias sap.gantt.config.TimeZoomGroup
32
32
  */
33
33
  var TimeZoomGroup = ToolbarGroup.extend("sap.gantt.config.TimeZoomGroup", /** @lends sap.gantt.config.LayoutGroup.prototype */ {
@@ -23,11 +23,11 @@ sap.ui.define([
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.123.0
26
+ * @version 1.125.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
30
- * @deprecated Since version 1.64
30
+ * @deprecated Since version 1.64, the concept has been discarded.
31
31
  * @alias sap.gantt.config.ToolbarGroup
32
32
  */
33
33
  var ToolbarGroup = Element.extend("sap.gantt.config.ToolbarGroup", /** @lends sap.gantt.config.ToolbarGroup.prototype */ {
@@ -20,11 +20,11 @@ sap.ui.define([
20
20
  * @extends sap.ui.core.Element
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.123.0
23
+ * @version 1.125.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
27
- * @deprecated Since version 1.64
27
+ * @deprecated Since version 1.64, the concept has been discarded.
28
28
  * @alias sap.gantt.config.ToolbarScheme
29
29
  */
30
30
  var ToolbarScheme = Element.extend("sap.gantt.config.ToolbarScheme", /** @lends sap.gantt.config.ToolbarScheme.prototype */ {
@@ -24,11 +24,11 @@ sap.ui.define([
24
24
  * @extends sap.ui.core.Control
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.123.0
27
+ * @version 1.125.0
28
28
  *
29
29
  * @constructor
30
30
  * @public
31
- * @deprecated Since version 1.64
31
+ * @deprecated Since version 1.64, the concept has been discarded.
32
32
  * @alias sap.gantt.control.Cell
33
33
  */
34
34
  var Cell = Control.extend("sap.gantt.control.Cell",/** @lends sap.gantt.control.Cell.prototype */ {
@@ -66,7 +66,7 @@ sap.ui.define([
66
66
 
67
67
  /**
68
68
  * Creates and initializes a new Toolbar.
69
- * @deprecated Since version 1.64
69
+ * @deprecated Since version 1.64, the concept has been discarded.
70
70
  * @private
71
71
  */
72
72
  var Toolbar = Control.extend("sap.gantt.control.Toolbar", {
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @abstract
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.123.0
31
+ * @version 1.125.0
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.base.ManagedObject
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.123.0
32
+ * @version 1.125.0
33
33
  *
34
34
  * @constructor
35
35
  * @public
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.gantt.def.DefBase
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.123.0
30
+ * @version 1.125.0
31
31
  *
32
32
  * @constructor
33
33
  * @public
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.gantt.def.SvgDefs
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.123.0
32
+ * @version 1.125.0
33
33
  *
34
34
  * @constructor
35
35
  * @public
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.gantt.def.DefBase
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.123.0
24
+ * @version 1.125.0
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @extends sap.gantt.def.DefBase
45
45
  *
46
46
  * @author SAP SE
47
- * @version 1.123.0
47
+ * @version 1.125.0
48
48
  *
49
49
  * @constructor
50
50
  * @public
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.gantt.def.DefBase
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.123.0
32
+ * @version 1.125.0
33
33
  *
34
34
  * @constructor
35
35
  * @public
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.gantt.def.DefBase
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.123.0
33
+ * @version 1.125.0
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.gantt.def.DefBase
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.123.0
24
+ * @version 1.125.0
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  * @extends sap.gantt.def.pattern.PatternBase
50
50
  *
51
51
  * @author SAP SE
52
- * @version 1.123.0
52
+ * @version 1.125.0
53
53
  *
54
54
  * @constructor
55
55
  * @public
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.gantt.def.DefBase
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.123.0
34
+ * @version 1.125.0
35
35
  *
36
36
  * @constructor
37
37
  * @public
@@ -51,7 +51,7 @@ sap.ui.define([
51
51
  * @abstract
52
52
  *
53
53
  * @author SAP SE
54
- * @version 1.123.0
54
+ * @version 1.125.0
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.123.0
30
+ * @version 1.125.0
31
31
  *
32
32
  * @constructor
33
33
  * @private
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.123.0
22
+ * @version 1.125.0
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -18,7 +18,7 @@ function (
18
18
  * @extends sap.ui.base.Object
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.123.0
21
+ * @version 1.125.0
22
22
  *
23
23
  * @constructor
24
24
  * @private
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @extends sap.ui.base.Object
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.123.0
23
+ * @version 1.125.0
24
24
  *
25
25
  * @constructor
26
26
  * @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.123.0
24
+ * @version 1.125.0
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.123.0
24
+ * @version 1.125.0
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.123.0
39
+ * @version 1.125.0
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.123.0
33
+ * @version 1.125.0
34
34
  *
35
35
  * @constructor
36
36
  * @private
@@ -101,13 +101,11 @@ sap.ui.define([
101
101
  oldValue = oChangeContent["oldValue"];
102
102
  oChange.setRevertData(oldValue);
103
103
  oModifier.setPropertyBindingOrProperty(oControl, sPropertyName, newValue);
104
- oModifier.setPropertyBindingOrProperty(oControl, "sorted", true);
105
104
  var aDependentControls = oChange.getDependentControl("ADDITIONAL_CONTROLS", mPropertyBag);
106
105
  if (aDependentControls && aDependentControls.length > 0) {
107
106
  aDependentControls.forEach(function(oDependentControl) {
108
107
  if (oDependentControl) {
109
- oModifier.setPropertyBindingOrProperty(oDependentControl, sPropertyName, "Ascending");
110
- oModifier.setPropertyBindingOrProperty(oDependentControl, "sorted", false);
108
+ oModifier.setPropertyBindingOrProperty(oDependentControl, sPropertyName, "None");
111
109
  }
112
110
  });
113
111
  }
@@ -119,7 +117,6 @@ sap.ui.define([
119
117
  var oChangeContent = oChange.getContent(),
120
118
  sPropertyName = oChangeContent["propertyName"];
121
119
  oModifier.setPropertyBindingOrProperty(oControl, sPropertyName, oldValue);
122
- oModifier.setPropertyBindingOrProperty(oControl, "sorted", false);
123
120
  oChange.resetRevertData();
124
121
  return true;
125
122
  },
@@ -0,0 +1,197 @@
1
+
2
+ /*!
3
+ * SAP UI development toolkit for HTML5 (SAPUI5)
4
+
5
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
6
+
7
+ */
8
+ sap.ui.define([
9
+ "sap/ui/core/Control"
10
+ ], function (Control) {
11
+ "use strict";
12
+ /**
13
+ * Creates and initializes a new class for side panel.
14
+ *
15
+ * @param {string} [sId] ID of the new control. The ID is generated automatically if it is not provided.
16
+ * @param {object} [mSetting] Initial settings for the new control
17
+ *
18
+ * @class
19
+ * Enables applications to place a custom control within the Gantt Chart Container.
20
+ * The Side Panel control manages the rendering of the control placed in the <code>content</code> aggregation. The child control also receives <code>onActivated</code> and <code>onDeactivated</code> pseudo-events when activated or deactivated.
21
+ * <code>
22
+ * const sidePanel = this.getParent();
23
+ *
24
+ * sidePanel.addEventDelegate({
25
+ * onActivated: (evt) => {}, //on activate handler
26
+ * onDeactivated: (evt) => {} //on deactivate handler
27
+ * })
28
+ * </code>
29
+ *
30
+ * @extends sap.ui.core.Control
31
+ *
32
+ * @author SAP SE
33
+ * @version 1.125.0
34
+ * @since 1.126
35
+ *
36
+ * @constructor
37
+ * @public
38
+ * @alias sap.gantt.layouts.SidePanel
39
+ */
40
+ var SidePanel = Control.extend("sap.gantt.layouts.SidePanel", {
41
+ metadata: {
42
+ library: "sap.gantt",
43
+ defaultAggregation: "content",
44
+ properties: {
45
+ /**
46
+ * If this property is set to true, the content is shown in the side panel.
47
+ * @since 1.126
48
+ */
49
+ visible: { type: "boolean", defaultValue: false }
50
+ },
51
+ aggregations: {
52
+ /**
53
+ * Control to be placed in the side panel.
54
+ * @since 1.126
55
+ */
56
+ content: { type: "sap.ui.core.Control", multiple: false }
57
+ }
58
+ }
59
+ });
60
+
61
+ /**
62
+ * Control init handler
63
+ * @private
64
+ * @override
65
+ */
66
+ SidePanel.prototype.init = function () {
67
+ this._oLocalAggregation = {
68
+ content: null
69
+ };
70
+ };
71
+
72
+ /**
73
+ * Method to hide or show the side panel
74
+ * @param {boolean} bEnabled flag to hide or show the side panel
75
+ * @override
76
+ * @public
77
+ * @since 1.126
78
+ * @returns {this} returns the control for chaining
79
+ */
80
+ SidePanel.prototype.setVisible = function (bEnabled) {
81
+ this._setPanelVisibility(bEnabled);
82
+
83
+ return this;
84
+ };
85
+
86
+ /**
87
+ * Aggregation to set the content of the side panel
88
+ * @param {sap.ui.core.Control} oControl control to be placed
89
+ * @param {boolean} bSuppressInvalidate flag to suppress the invalidation
90
+ * @public
91
+ * @since 1.126
92
+ * @returns {sap.gantt.layouts.SidePanel} returns the control for chaining
93
+ */
94
+ SidePanel.prototype.setContent = function (oControl, bSuppressInvalidate) {
95
+ if (this._bActive) {
96
+ this.setAggregation("content", oControl, true);
97
+
98
+ if (!bSuppressInvalidate) {
99
+ this._createInvalidation();
100
+ }
101
+ } else {
102
+ this._oLocalAggregation["content"] = oControl;
103
+ }
104
+
105
+ return this;
106
+ };
107
+
108
+ /**
109
+ * Method to enable or disable the side panel visibility
110
+ * @param {boolean} bEnabled flag to enable or disable the side panel
111
+ * @param {boolean} bSuppressInvalidate flag to suppress the invalidation
112
+ * @private
113
+ * @returns {sap.gantt.layouts.SidePanel} returns the control for chaining
114
+ */
115
+ SidePanel.prototype._setPanelVisibility = function (bEnabled, bSuppressInvalidate) {
116
+ var bIsEnabled = this.getVisible();
117
+ this.setProperty("visible", bEnabled, true);
118
+
119
+ if (bEnabled != bIsEnabled) {
120
+ if (bIsEnabled) {
121
+ this._deactivate();
122
+ } else {
123
+ this._activate();
124
+ }
125
+
126
+ if (!bSuppressInvalidate) {
127
+ this._createInvalidation();
128
+ }
129
+ }
130
+
131
+ return this;
132
+ };
133
+
134
+ /**
135
+ * Internal side panel activation handler
136
+ * @private
137
+ * @return {void}
138
+ */
139
+ SidePanel.prototype._activate = function () {
140
+ if (this._bActive) {
141
+ return;
142
+ }
143
+
144
+ this.setAggregation("content", this._oLocalAggregation["content"], true);
145
+
146
+ this._bActive = true;
147
+ this._handleEvent(new jQuery.Event("Activated"));
148
+ };
149
+
150
+ /**
151
+ * Internal side panel deactivation handler
152
+ * @private
153
+ * @return {void}
154
+ */
155
+ SidePanel.prototype._deactivate = function () {
156
+ if (!this._bActive) {
157
+ return;
158
+ }
159
+
160
+ this._oLocalAggregation["content"] = this.getAggregation("content");
161
+ this.setAggregation("content", null, true);
162
+
163
+ this._bActive = false;
164
+ this._handleEvent(new jQuery.Event("Deactivated"));
165
+ };
166
+
167
+ /**
168
+ * Notify parent on the attach of the side panel with the instance.
169
+ * @param {object} oParent new parent control
170
+ * @private
171
+ * @override
172
+ */
173
+ SidePanel.prototype.setParent = function (oParent) {
174
+ Control.prototype.setParent.apply(this, arguments);
175
+
176
+ if (oParent && oParent.onSidePanelAttach) {
177
+ oParent.onSidePanelAttach(this);
178
+ }
179
+
180
+ return this;
181
+ };
182
+
183
+ /**
184
+ * Create side panel invalidation for the parent control.
185
+ * @private
186
+ * @returns {sap.gantt.layouts.SidePanel} returns the control for chaining
187
+ */
188
+ SidePanel.prototype._createInvalidation = function () {
189
+ const oParent = this.getParent();
190
+ if (oParent) {
191
+ oParent.invalidate(this);
192
+ }
193
+ return this;
194
+ };
195
+
196
+ return SidePanel;
197
+ });
@@ -0,0 +1,28 @@
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
+ ], function () {
10
+ "use strict";
11
+
12
+ const SidePanelRenderer = {
13
+ apiVersion: 2
14
+ };
15
+
16
+ SidePanelRenderer.render = function (oRm, oControl) {
17
+ const oContent = oControl.getContent();
18
+
19
+ if (oControl._bActive && oContent) {
20
+ oRm.openStart("div", oControl);
21
+ oRm.openEnd();
22
+ oRm.renderControl(oControl.getContent());
23
+ oRm.close("div");
24
+ }
25
+ };
26
+
27
+ return SidePanelRenderer;
28
+ });
@@ -29,11 +29,11 @@ sap.ui.define([
29
29
  * @extends sap.gantt.legend.LegendBase
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.123.0
32
+ * @version 1.125.0
33
33
  *
34
34
  * @constructor
35
35
  * @public
36
- * @deprecated Since version 1.64
36
+ * @deprecated Since version 1.64, replaced by {@link sap.gantt.simple.DimensionLegend}.
37
37
  * @alias sap.gantt.legend.DimensionLegend
38
38
  */
39
39
  var DimensionLegend = LegendBase.extend("sap.gantt.legend.DimensionLegend",/** @lends sap.gantt.legend.DimensionLegend.prototype */ {
@@ -38,11 +38,11 @@ sap.ui.define([
38
38
  * @abstract
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.123.0
41
+ * @version 1.125.0
42
42
  *
43
43
  * @constructor
44
44
  * @public
45
- * @deprecated Since version 1.64
45
+ * @deprecated Since version 1.64, the concept has been discarded.
46
46
  * @alias sap.gantt.legend.LegendBase
47
47
  */
48
48
  var LegendBase = Control.extend("sap.gantt.legend.LegendBase",/** @lends sap.gantt.legend.LegendBase.prototype */ {
@@ -22,11 +22,11 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Control
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.123.0
25
+ * @version 1.125.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
29
- * @deprecated Since version 1.64
29
+ * @deprecated Since version 1.64, replaced by {@link sap.gantt.simple.LegendContainer}.
30
30
  * @alias sap.gantt.legend.LegendContainer
31
31
  */
32
32
  var LegendContainer = Control.extend("sap.gantt.legend.LegendContainer", /** @lends sap.gantt.legend.Legend.prototype */ {
@@ -12,7 +12,7 @@ sap.gantt.legend = sap.gantt.legend || {};
12
12
  *
13
13
  * @enum {string}
14
14
  * @public
15
- * @deprecated Since version 1.64
15
+ * @deprecated Since version 1.64, the concept has been discarded.
16
16
  * @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
17
17
  */
18
18
  sap.gantt.legend.ListLegendItemCheckbox = {
@@ -52,11 +52,11 @@ sap.ui.define([
52
52
  * @extends sap.gantt.legend.LegendBase
53
53
  *
54
54
  * @author SAP SE
55
- * @version 1.123.0
55
+ * @version 1.125.0
56
56
  *
57
57
  * @constructor
58
58
  * @public
59
- * @deprecated Since version 1.64
59
+ * @deprecated Since version 1.64, replaced by {@link ap.gantt.simple.ListLegend}.
60
60
  * @alias sap.gantt.legend.ListLegend
61
61
  */
62
62
  var ListLegend = LegendBase.extend("sap.gantt.legend.ListLegend",/** @lends sap.gantt.legend.ListLegend.prototype */ {
@@ -165,7 +165,7 @@ sap.ui.define([
165
165
  }
166
166
  },
167
167
  noLibraryCSS: false,
168
- version: "1.123.0"
168
+ version: "1.125.0"
169
169
  });
170
170
 
171
171
 
@@ -777,7 +777,7 @@ sap.ui.define([
777
777
 
778
778
  /**
779
779
  * Define the type of zoom control in global tool bar
780
- * @version 1.123.0
780
+ * @version 1.125.0
781
781
  * @enum {string}
782
782
  * @public
783
783
  */
@@ -2333,9 +2333,9 @@ sap.ui.define([
2333
2333
 
2334
2334
  /**
2335
2335
  * Defines the default configuration object Locale.
2336
- * The configured time zone is considered as the default time zone for the locale, see {@link sap.ui.core.Configuration#getTimezone}..
2336
+ * The configured time zone is considered as the default time zone for the locale, see {@link sap.base.i18n.Localization#getTimezone}..
2337
2337
  * <b>Note:</b> Adjusting the time zone in a running application can lead to unexpected data
2338
- * inconsistencies. For more information, see {@link sap.ui.core.Configuration#setTimezone}.
2338
+ * inconsistencies. For more information, see {@link sap/base/i18n/Localization#setTimezone}.
2339
2339
  * Default values
2340
2340
  * <ul>
2341
2341
  * <li>timeZoine - <code>null</code></li>
@@ -195,10 +195,13 @@ ARIA_CALENDAR=\u0647\u0630\u0627 \u062A\u0642\u0648\u064A\u0645 SVG.
195
195
 
196
196
  ARIA_RELATIONSHIP=\u0647\u0630\u0647 \u0639\u0644\u0627\u0642\u0629 SVG.
197
197
 
198
- ARIA_GANTT_HEADER=\u0647\u0630\u0627 \u0645\u0642\u062F\u0645\u0629 \u0645\u062E\u0637\u0637 \u062C\u0627\u0646\u062A.
198
+ ARIA_GANTT_HEADER=\u0645\u0642\u062F\u0645\u0629 \u0645\u062E\u0637\u0637 \u062C\u0627\u0646\u062A.
199
199
 
200
- ARIA_GANTT_CHART=\u0647\u0630\u0627 \u0645\u062E\u0637\u0637 \u062C\u0627\u0646\u062A.
200
+ ARIA_GANTT_CHART=\u0645\u062E\u0637\u0637 \u062C\u0627\u0646\u062A.
201
201
 
202
+ ARIA_GANTT_INNER_HEADER=\u0645\u0642\u062F\u0645\u0629 \u062F\u0627\u062E\u0644\u064A\u0629 \u0644\u0645\u062E\u0637\u0637 \u062C\u0627\u0646\u062A.
203
+
204
+ ARIA_GANTT_CALENDARS=\u062A\u0642\u0648\u064A\u0645\u0627\u062A \u0645\u062E\u0637\u0637 \u062C\u0627\u0646\u062A.
202
205
 
203
206
  GNT_PRNTG_PDF_EXPORT_TITLE=\u062A\u0635\u062F\u064A\u0631 PDF
204
207
 
@@ -195,10 +195,13 @@ ARIA_CALENDAR=\u0422\u043E\u0432\u0430 \u0435 SVG \u043A\u0430\u043B\u0435\u043D
195
195
 
196
196
  ARIA_RELATIONSHIP=\u0422\u043E\u0432\u0430 \u0435 SVG \u043E\u0442\u043D\u043E\u0448\u0435\u043D\u0438\u0435.
197
197
 
198
- ARIA_GANTT_HEADER=\u0422\u043E\u0432\u0430 \u0435 \u0437\u0430\u0433\u043B\u0430\u0432\u0435\u043D \u0440\u0435\u0434 \u043D\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430 \u043D\u0430 \u0413\u0430\u043D\u0442
198
+ ARIA_GANTT_HEADER=\u0417\u0430\u0433\u043B\u0430\u0432\u043A\u0430 \u043D\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430\u0442\u0430 \u043D\u0430 \u0413\u0430\u043D\u0442.
199
199
 
200
- ARIA_GANTT_CHART=\u0422\u043E\u0432\u0430 \u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430 \u043D\u0430 \u0413\u0430\u043D\u0442.
200
+ ARIA_GANTT_CHART=\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u0430 \u043D\u0430 \u0413\u0430\u043D\u0442.
201
201
 
202
+ ARIA_GANTT_INNER_HEADER=\u0412\u044A\u0442\u0440\u0435\u0448\u043D\u0430 \u0437\u0430\u0433\u043B\u0430\u0432\u043A\u0430 \u043D\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430\u0442\u0430 \u043D\u0430 \u0413\u0430\u043D\u0442.
203
+
204
+ ARIA_GANTT_CALENDARS=\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438 \u043D\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430\u0442\u0430 \u043D\u0430 \u0413\u0430\u043D\u0442.
202
205
 
203
206
  GNT_PRNTG_PDF_EXPORT_TITLE=PDF \u0435\u043A\u0441\u043F\u043E\u0440\u0442
204
207
 
@@ -195,10 +195,13 @@ ARIA_CALENDAR=Aix\u00F2 \u00E9s un calendari SVG.
195
195
 
196
196
  ARIA_RELATIONSHIP=Aix\u00F2 \u00E9s una relaci\u00F3 SVG.
197
197
 
198
- ARIA_GANTT_HEADER=Aix\u00F2 \u00E9s una cap\u00E7alera de diagrama de Gantt.
198
+ ARIA_GANTT_HEADER=Cap\u00E7alera de diagrama de Gantt.
199
199
 
200
- ARIA_GANTT_CHART=Aix\u00F2 \u00E9s un diagrama de Gantt.
200
+ ARIA_GANTT_CHART=Diagrama de Gantt.
201
201
 
202
+ ARIA_GANTT_INNER_HEADER=Cap\u00E7alera interna de diagrama de Gantt.
203
+
204
+ ARIA_GANTT_CALENDARS=Calendaris de diagrames de Gantt.
202
205
 
203
206
  GNT_PRNTG_PDF_EXPORT_TITLE=Exportaci\u00F3 a PDF
204
207