@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
@@ -394,7 +394,7 @@
394
394
  }
395
395
  this._updateShapes(oElement, select, oGantt);
396
396
  if (!select) {
397
- oGantt.getSelection().clearSelectionByUid(oElement.getShapeUid());
397
+ oGantt.getSelection().clearSelectionByUid(oElement.getShapeUid(), true);
398
398
  }
399
399
  }
400
400
  }
@@ -411,7 +411,7 @@
411
411
  endTime: oElement.getEndTime()
412
412
  }, true);
413
413
  } else {
414
- oGantt.getSelection().clearSelectionByUid(oElement.getShapeUid());
414
+ oGantt.getSelection().clearSelectionByUid(oElement.getShapeUid(), false);
415
415
  }
416
416
  },
417
417
 
@@ -975,13 +975,9 @@
975
975
  var aExpandableShapes, parentRowSettings = oMainShape.getParentRowSettings();
976
976
  oGantt.oExpandedShapesMap[rowIndex] = oGantt.oExpandedShapesMap[rowIndex] ? oGantt.oExpandedShapesMap[rowIndex] : [];
977
977
  //fetch all overlay aggregation shapes and concat to expandable shapes list
978
- if (oGanttRowOverlayorRow && oGanttRowOverlayorRow.isA("sap.gantt.overlays.GanttRowOverlay")){
979
- var pseudoShapeExpanded = oGantt.oOverlapShapeIds && oGantt.oOverlapShapeIds[rowIndex] && oGantt.oOverlapShapeIds[rowIndex].length;
980
- var allOverlayAggr = AggregationUtils._fetchOverlayAggregation(parentRowSettings, pseudoShapeExpanded, false, mOption.expandModel.aShapeSchemes);
981
- aExpandableShapes = parentRowSettings.getAllExpandableShapes(oGantt).concat(allOverlayAggr);
982
- } else {
983
- aExpandableShapes = parentRowSettings.getAllExpandableShapes(oGantt);
984
- }
978
+ var pseudoShapeExpanded = oGantt.oOverlapShapeIds && oGantt.oOverlapShapeIds[rowIndex] && oGantt.oOverlapShapeIds[rowIndex].length;
979
+ var allOverlayAggr = AggregationUtils._fetchOverlayAggregation(parentRowSettings, pseudoShapeExpanded, false, mOption.expandModel.aShapeSchemes);
980
+ aExpandableShapes = parentRowSettings.getAllExpandableShapes(oGantt).concat(allOverlayAggr);
985
981
  aExpandableShapes.forEach(function(shape, index) {
986
982
  if (oGantt.isShapeVisible(shape)) {
987
983
  lastVisibleShapeIndex = index;
@@ -101,7 +101,7 @@ sap.ui.define([
101
101
  } else if (!mParam.selected && this.mSelected.uid[sUid]) {
102
102
  // click on the same shape to mark it as deselected
103
103
  delete this.mSelected.uid[sUid];
104
- this._updateShapeIdRowIdList(sUid);
104
+ this._updateShapeIdRowIdList(sUid, false);
105
105
  this._fireSelectionChanged([sUid]);
106
106
  }
107
107
  };
@@ -110,7 +110,7 @@ sap.ui.define([
110
110
  * @private
111
111
  * Updates shapeId and rowId list when deselection done using Uid
112
112
  */
113
- SelectionModel.prototype._updateShapeIdRowIdList = function (sUid) {
113
+ SelectionModel.prototype._updateShapeIdRowIdList = function (sUid, isRowDeselection) {
114
114
  var shapeId = Utility.parseUid(sUid).shapeId,
115
115
  rowId = Utility.parseUid(sUid).rowId;
116
116
  if (this.mSelected.shapeId[shapeId]) {
@@ -119,11 +119,13 @@ sap.ui.define([
119
119
  selected: false
120
120
  };
121
121
  }
122
- if (this.mSelected.rowId[rowId]) {
123
- delete this.mSelected.rowId[rowId];
124
- this.mSelected.deSelectRowId[rowId] = {
125
- selected: false
126
- };
122
+ if (this.mSelected.rowId[rowId] ) {
123
+ if (isRowDeselection) {
124
+ delete this.mSelected.rowId[rowId];
125
+ this.mSelected.deSelectRowId[rowId] = {
126
+ selected: false
127
+ };
128
+ }
127
129
  }
128
130
  };
129
131
 
@@ -144,7 +146,7 @@ sap.ui.define([
144
146
  this._updateSelectedShape(sUid, mParam);
145
147
  } else if (mParam && !mParam.selected && this.mSelected.uid[sUid]) {
146
148
  delete this.mSelected.uid[sUid];
147
- this._updateShapeIdRowIdList(sUid);
149
+ this._updateShapeIdRowIdList(sUid, false);
148
150
  aDeselectedShapeUids.push(sUid);
149
151
  }
150
152
  }
@@ -184,10 +186,12 @@ sap.ui.define([
184
186
  }
185
187
  };
186
188
 
187
- SelectionModel.prototype.clearSelectionByUid = function (sUid) {
189
+ SelectionModel.prototype.clearSelectionByUid = function (sUid, isRowDeselection) {
188
190
  if (this.existed(sUid)) {
189
- this._updateShapeIdRowIdList(sUid);
191
+ this._updateShapeIdRowIdList(sUid, isRowDeselection);
190
192
  delete this.mSelected.uid[sUid];
193
+ } else if (isRowDeselection) {
194
+ this._updateShapeIdRowIdList(sUid, isRowDeselection);
191
195
  }
192
196
  };
193
197
 
@@ -233,8 +237,9 @@ sap.ui.define([
233
237
  * updates selection model and fires selection change event.
234
238
  * @param {string[]} selectedObjectsId Array of shapeId.
235
239
  * @param {boolean} overrideExisting flag to override existing selection by UID.
240
+ * @param {string} oGanttId Id of the Gantt.
236
241
  */
237
- SelectionModel.prototype.updateSelectedShapes = function(selectedObjectsId, overrideExisting) {
242
+ SelectionModel.prototype.updateSelectedShapes = function(selectedObjectsId, overrideExisting, oGanttId) {
238
243
  var aUid = [];
239
244
  this.mSelected.deSelectRowId = {};
240
245
  if (!selectedObjectsId || selectedObjectsId.length === 0) {
@@ -281,7 +286,7 @@ sap.ui.define([
281
286
  if (selectedObjectsId.length > 0) {
282
287
  var aUpdatedUid = [];
283
288
  Object.keys(this.mSelected.deSelectShapeId).forEach(function(shapeId){
284
- var shapeDomRef = jQuery("[data-sap-gantt-shape-id='" + shapeId + "']").get(0),
289
+ var shapeDomRef = document.querySelectorAll("[id='" + oGanttId + "'] [data-sap-gantt-shape-id='" + shapeId + "']")[0],
285
290
  shapeObj = Element.getElementById(shapeDomRef && shapeDomRef.id);
286
291
  aUpdatedUid.push(shapeObj && shapeObj.getShapeUid());
287
292
  });
@@ -19,7 +19,7 @@ sap.ui.define(['sap/ui/core/Element'], function (Element) {
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
  * @public
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.gantt.simple.UtilizationChart
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.123.0
31
+ * @version 1.125.0
32
32
  * @since 1.95
33
33
  *
34
34
  * @constructor
@@ -23,7 +23,7 @@ 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
  * @since 1.95
28
28
  *
29
29
  * @constructor
@@ -24,7 +24,7 @@ sap.ui.define(["sap/ui/core/Element"], function(Element){
24
24
  * @extends sap.ui.core.Element
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
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.gantt.simple.UtilizationChart
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.123.0
28
+ * @version 1.125.0
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.gantt.simple.BaseShape
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.123.0
29
+ * @version 1.125.0
30
30
  *
31
31
  * @constructor
32
32
  * @abstract
@@ -20,7 +20,7 @@ sap.ui.define(["sap/ui/core/Element"], function(Element){
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
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.gantt.simple.UtilizationChart
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
@@ -24,7 +24,7 @@ sap.ui.define(["sap/ui/core/Element"], function(Element){
24
24
  * @extends sap.ui.core.Element
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
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.gantt.simple.BaseShape
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.123.0
35
+ * @version 1.125.0
36
36
  *
37
37
  * @abstract
38
38
  * @constructor
@@ -62,34 +62,16 @@ sap.ui.define([
62
62
  * The x position of the shapes start. Auto will be converted to position based on <code>time</code>.
63
63
  */
64
64
  startX: {type: "sap.gantt.SVGLength", defaultValue: "auto"},
65
- /**
66
- * This property is ignored.
67
- * @deprecated Since version 1.71.2.
68
- */
69
- fill: {type : "sap.gantt.ValueSVGPaintServer"},
70
- /**
71
- * This property is ignored.
72
- * @deprecated Since version 1.71.2.
73
- */
74
- fillOpacity: {type: "float", defaultValue: 1.0},
75
- /**
76
- * This property is ignored.
77
- * @deprecated Since version 1.71.2.
78
- */
79
- stroke: {type : "sap.gantt.ValueSVGPaintServer"},
80
- /**
81
- * This property is ignored.
82
- * @deprecated Since version 1.71.2.
83
- */
84
- opacity: {type: "float", defaultValue: 1.0},
85
65
  /**
86
66
  * All standard shapes are selectable.
87
- * @deprecated Since version 1.71.2.
67
+ * @deprecated Since version 1.71.2, replaced by {@link sap.gantt.simple.BaseShape}
68
+ * The property and its default value, that is set to 'false', are being inherited from the parent BaseShape.
88
69
  */
89
70
  selectable: {type: "boolean", defaultValue: true},
90
71
  /**
91
72
  * All standard shapes are hoverable.
92
- * @deprecated Since version 1.71.2.
73
+ * @deprecated Since version 1.71.2, replaced by {@link sap.gantt.simple.BaseShape}
74
+ * The property and its default value, that is set to 'false', are being inherited from the parent BaseShape.
93
75
  */
94
76
  hoverable: {type: "boolean", defaultValue: true}
95
77
  }
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends sap.gantt.simple.shapes.Shape
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
@@ -56,7 +56,8 @@ svg {
56
56
  fill: @sapChart_OrderedColor_11;
57
57
  height: 0.25rem;
58
58
  }
59
- .sapUiGanttSearchSidePanel{
59
+ .sapUiGanttSearchSidePanel,
60
+ .sapUiGanttLayoutSidePanel{
60
61
  width: 30%;
61
62
  float: right;
62
63
  }
@@ -70,7 +71,8 @@ svg {
70
71
  width: 80%;
71
72
  float: left;
72
73
  }
73
- .sapUiGanttSearchSidePanel{
74
+ .sapUiGanttSearchSidePanel,
75
+ .sapUiGanttLayoutSidePanel{
74
76
  width: 20%;
75
77
  float: right;
76
78
  }
@@ -85,7 +87,8 @@ svg {
85
87
  width: 70%;
86
88
  float: left;
87
89
  }
88
- .sapUiGanttSearchSidePanel{
90
+ .sapUiGanttSearchSidePanel,
91
+ .sapUiGanttLayoutSidePanel{
89
92
  width: 30%;
90
93
  float: right;
91
94
  }
@@ -101,7 +104,8 @@ svg {
101
104
  width: 80%;
102
105
  float: left;
103
106
  }
104
- .sapUiGanttSearchSidePanel{
107
+ .sapUiGanttSearchSidePanel,
108
+ .sapUiGanttLayoutSidePanel{
105
109
  width: 20%;
106
110
  float: right;
107
111
  }
@@ -892,4 +896,4 @@ tspan.sapGanttTooltipLine:nth-child(2n) {
892
896
 
893
897
  .sapGanttHeaderOverflowToolbar {
894
898
  max-width: 100%;
895
- }
899
+ }
@@ -5,6 +5,15 @@
5
5
 
6
6
  */
7
7
 
8
- @import "../base/library.source.less";
8
+ /***********************************************************************************
9
+ /* Due to deprecation of the Belize theme family with SAPUI5 version 1.120 the
10
+ /* inheritance of the base theme is now updated to an inheritance of a static
11
+ /* copy of the base theme named sap_belize_base. The respective
12
+ /* control css files of base are copied to the sap_belize_base theme folder.
13
+ /* This decoupling of the base theme is introduced with SAPUI5 version 1.125.
14
+ ***********************************************************************************/
15
+
16
+
17
+ @import "../sap_belize_base/library.source.less";
9
18
  @import "../../../../sap/ui/core/themes/sap_belize/base.less";
10
19
  @import "../../../../sap/ui/core/themes/sap_belize/global.less";