@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.
- package/LICENSE.txt +13 -10
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/sap/gantt/.library +11 -5
- package/src/sap/gantt/AdhocLine.js +1 -1
- package/src/sap/gantt/GanttChart.js +1 -1
- package/src/sap/gantt/GanttChartBase.js +4 -4
- package/src/sap/gantt/GanttChartContainer.js +1 -1
- package/src/sap/gantt/GanttChartWithTable.js +1 -1
- package/src/sap/gantt/axistime/AxisTimeStrategyBase.js +1 -3
- package/src/sap/gantt/axistime/FullScreenStrategy.js +1 -1
- package/src/sap/gantt/axistime/ProportionZoomStrategy.js +1 -1
- package/src/sap/gantt/axistime/StepwiseZoomStrategy.js +1 -1
- package/src/sap/gantt/changeHandlers/simple/AdhocLine.js +1 -1
- package/src/sap/gantt/changeHandlers/simple/DeltaLine.js +1 -1
- package/src/sap/gantt/changeHandlers/simple/GanttChartContainer.js +1 -1
- package/src/sap/gantt/changeHandlers/simple/GanttChartWithTable.js +1 -1
- package/src/sap/gantt/config/BirdEyeGroup.js +2 -2
- package/src/sap/gantt/config/ChartScheme.js +2 -2
- package/src/sap/gantt/config/ColumnAttribute.js +2 -2
- package/src/sap/gantt/config/ContainerLayout.js +2 -2
- package/src/sap/gantt/config/ExpandChart.js +2 -2
- package/src/sap/gantt/config/ExpandChartGroup.js +2 -2
- package/src/sap/gantt/config/GanttChartLayout.js +2 -2
- package/src/sap/gantt/config/Hierarchy.js +2 -2
- package/src/sap/gantt/config/HierarchyColumn.js +2 -2
- package/src/sap/gantt/config/LayoutGroup.js +3 -3
- package/src/sap/gantt/config/Locale.js +9 -11
- package/src/sap/gantt/config/Mode.js +2 -2
- package/src/sap/gantt/config/ModeGroup.js +2 -2
- package/src/sap/gantt/config/ObjectType.js +2 -2
- package/src/sap/gantt/config/SettingGroup.js +2 -2
- package/src/sap/gantt/config/SettingItem.js +1 -1
- package/src/sap/gantt/config/Shape.js +2 -2
- package/src/sap/gantt/config/TimeAxis.js +1 -1
- package/src/sap/gantt/config/TimeHorizon.js +1 -1
- package/src/sap/gantt/config/TimeZoomGroup.js +2 -2
- package/src/sap/gantt/config/ToolbarGroup.js +2 -2
- package/src/sap/gantt/config/ToolbarScheme.js +2 -2
- package/src/sap/gantt/control/Cell.js +2 -2
- package/src/sap/gantt/control/Toolbar.js +1 -1
- package/src/sap/gantt/def/DefBase.js +1 -1
- package/src/sap/gantt/def/SvgDefs.js +1 -1
- package/src/sap/gantt/def/cal/Calendar.js +1 -1
- package/src/sap/gantt/def/cal/CalendarDefs.js +1 -1
- package/src/sap/gantt/def/cal/TimeInterval.js +1 -1
- package/src/sap/gantt/def/filter/MorphologyFilter.js +1 -1
- package/src/sap/gantt/def/gradient/LinearGradient.js +1 -1
- package/src/sap/gantt/def/gradient/RadialGradient.js +1 -1
- package/src/sap/gantt/def/gradient/Stop.js +1 -1
- package/src/sap/gantt/def/pattern/BackSlashPattern.js +1 -1
- package/src/sap/gantt/def/pattern/PatternBase.js +1 -1
- package/src/sap/gantt/def/pattern/SlashPattern.js +1 -1
- package/src/sap/gantt/drawer/Drawer.js +1 -1
- package/src/sap/gantt/eventHandler/AutoScrollHandler.js +1 -1
- package/src/sap/gantt/eventHandler/BirdEyeHandler.js +1 -1
- package/src/sap/gantt/eventHandler/MouseWheelHandler.js +1 -1
- package/src/sap/gantt/eventHandler/ShapeHoverHandler.js +1 -1
- package/src/sap/gantt/eventHandler/ShapeResizeHandler.js +1 -1
- package/src/sap/gantt/eventHandler/TimePeriodZoomHandler.js +1 -1
- package/src/sap/gantt/eventHandler/TimePopoverHandler.js +1 -1
- package/src/sap/gantt/flexibility/simple/GanttTableColumn.flexibility.js +1 -4
- package/src/sap/gantt/layouts/SidePanel.js +197 -0
- package/src/sap/gantt/layouts/SidePanelRenderer.js +28 -0
- package/src/sap/gantt/legend/DimensionLegend.js +2 -2
- package/src/sap/gantt/legend/LegendBase.js +2 -2
- package/src/sap/gantt/legend/LegendContainer.js +2 -2
- package/src/sap/gantt/legend/ListLegend.js +3 -3
- package/src/sap/gantt/library.js +4 -4
- package/src/sap/gantt/messagebundle_ar.properties +5 -2
- package/src/sap/gantt/messagebundle_bg.properties +5 -2
- package/src/sap/gantt/messagebundle_ca.properties +5 -2
- package/src/sap/gantt/messagebundle_cnr.properties +5 -2
- package/src/sap/gantt/messagebundle_cs.properties +5 -2
- package/src/sap/gantt/messagebundle_cy.properties +5 -2
- package/src/sap/gantt/messagebundle_da.properties +5 -2
- package/src/sap/gantt/messagebundle_de.properties +5 -2
- package/src/sap/gantt/messagebundle_el.properties +5 -2
- package/src/sap/gantt/messagebundle_en.properties +5 -2
- package/src/sap/gantt/messagebundle_en_GB.properties +5 -2
- package/src/sap/gantt/messagebundle_es.properties +5 -2
- package/src/sap/gantt/messagebundle_es_MX.properties +5 -2
- package/src/sap/gantt/messagebundle_et.properties +5 -2
- package/src/sap/gantt/messagebundle_fi.properties +5 -2
- package/src/sap/gantt/messagebundle_fr.properties +5 -2
- package/src/sap/gantt/messagebundle_fr_CA.properties +5 -2
- package/src/sap/gantt/messagebundle_hi.properties +5 -2
- package/src/sap/gantt/messagebundle_hr.properties +5 -2
- package/src/sap/gantt/messagebundle_hu.properties +5 -2
- package/src/sap/gantt/messagebundle_id.properties +5 -2
- package/src/sap/gantt/messagebundle_it.properties +5 -2
- package/src/sap/gantt/messagebundle_iw.properties +5 -2
- package/src/sap/gantt/messagebundle_ja.properties +5 -2
- package/src/sap/gantt/messagebundle_kk.properties +5 -2
- package/src/sap/gantt/messagebundle_ko.properties +5 -2
- package/src/sap/gantt/messagebundle_lt.properties +5 -2
- package/src/sap/gantt/messagebundle_lv.properties +5 -2
- package/src/sap/gantt/messagebundle_mk.properties +6 -3
- package/src/sap/gantt/messagebundle_ms.properties +5 -2
- package/src/sap/gantt/messagebundle_nl.properties +5 -2
- package/src/sap/gantt/messagebundle_no.properties +5 -2
- package/src/sap/gantt/messagebundle_pl.properties +5 -2
- package/src/sap/gantt/messagebundle_pt.properties +5 -2
- package/src/sap/gantt/messagebundle_pt_PT.properties +5 -2
- package/src/sap/gantt/messagebundle_ro.properties +5 -2
- package/src/sap/gantt/messagebundle_ru.properties +5 -2
- package/src/sap/gantt/messagebundle_sh.properties +5 -2
- package/src/sap/gantt/messagebundle_sk.properties +5 -2
- package/src/sap/gantt/messagebundle_sl.properties +5 -2
- package/src/sap/gantt/messagebundle_sr.properties +5 -2
- package/src/sap/gantt/messagebundle_sv.properties +10 -7
- package/src/sap/gantt/messagebundle_th.properties +5 -2
- package/src/sap/gantt/messagebundle_tr.properties +5 -2
- package/src/sap/gantt/messagebundle_uk.properties +5 -2
- package/src/sap/gantt/messagebundle_vi.properties +5 -2
- package/src/sap/gantt/messagebundle_zh_CN.properties +5 -2
- package/src/sap/gantt/messagebundle_zh_TW.properties +5 -2
- package/src/sap/gantt/misc/AxisTime.js +4 -4
- package/src/sap/gantt/misc/Memoizer.js +1 -1
- package/src/sap/gantt/misc/RelativeTimeFormatter.js +1 -1
- package/src/sap/gantt/misc/ShapeManager.js +1 -1
- package/src/sap/gantt/misc/Utility.js +3 -3
- package/src/sap/gantt/overlays/GanttRowOverlay.js +1 -1
- package/src/sap/gantt/overlays/Overlay.js +1 -1
- package/src/sap/gantt/shape/Circle.js +2 -2
- package/src/sap/gantt/shape/ClipPath.js +2 -2
- package/src/sap/gantt/shape/Definitions.js +2 -2
- package/src/sap/gantt/shape/Group.js +2 -2
- package/src/sap/gantt/shape/Image.js +2 -2
- package/src/sap/gantt/shape/Line.js +2 -2
- package/src/sap/gantt/shape/Path.js +2 -2
- package/src/sap/gantt/shape/Polygon.js +2 -2
- package/src/sap/gantt/shape/Polyline.js +2 -2
- package/src/sap/gantt/shape/Rectangle.js +2 -2
- package/src/sap/gantt/shape/ResizeShadowShape.js +2 -2
- package/src/sap/gantt/shape/SelectedShape.js +2 -2
- package/src/sap/gantt/shape/Shape.js +2 -2
- package/src/sap/gantt/shape/Text.js +2 -2
- package/src/sap/gantt/shape/cal/Calendar.js +2 -2
- package/src/sap/gantt/shape/ext/Chevron.js +2 -2
- package/src/sap/gantt/shape/ext/Cursor.js +2 -2
- package/src/sap/gantt/shape/ext/Diamond.js +2 -2
- package/src/sap/gantt/shape/ext/Iconfont.js +2 -2
- package/src/sap/gantt/shape/ext/Pentangle.js +2 -2
- package/src/sap/gantt/shape/ext/TextRepeat.js +2 -2
- package/src/sap/gantt/shape/ext/Triangle.js +2 -2
- package/src/sap/gantt/shape/ext/rls/Relationship.js +2 -2
- package/src/sap/gantt/shape/ext/rls/SelectedRelationship.js +3 -3
- package/src/sap/gantt/shape/ext/ubc/UbcBorderPath.js +2 -2
- package/src/sap/gantt/shape/ext/ubc/UbcOverCapacityZonePolygon.js +2 -2
- package/src/sap/gantt/shape/ext/ubc/UbcPolygon.js +2 -2
- package/src/sap/gantt/shape/ext/ubc/UbcShortageCapacityPolygon.js +2 -2
- package/src/sap/gantt/shape/ext/ubc/UbcTooltipRectangle.js +2 -2
- package/src/sap/gantt/shape/ext/ubc/UbcUnderCapacityZonePolygon.js +2 -2
- package/src/sap/gantt/shape/ext/ubc/UbcUsedPolygon.js +2 -2
- package/src/sap/gantt/shape/ext/ubc/UtilizationBarChart.js +2 -2
- package/src/sap/gantt/shape/ext/ulc/UlcBorderPath.js +2 -2
- package/src/sap/gantt/shape/ext/ulc/UlcClipPath.js +2 -2
- package/src/sap/gantt/shape/ext/ulc/UlcClipingPath.js +2 -2
- package/src/sap/gantt/shape/ext/ulc/UlcDimension.js +2 -2
- package/src/sap/gantt/shape/ext/ulc/UlcMiddleLine.js +2 -2
- package/src/sap/gantt/shape/ext/ulc/UlcOverCapacityZoneRectangle.js +2 -2
- package/src/sap/gantt/shape/ext/ulc/UlcOverClipRectangle.js +2 -2
- package/src/sap/gantt/shape/ext/ulc/UlcRectangle.js +2 -2
- package/src/sap/gantt/shape/ext/ulc/UlcTooltipRectangle.js +2 -2
- package/src/sap/gantt/shape/ext/ulc/UlcUnderClipRectangle.js +2 -2
- package/src/sap/gantt/shape/ext/ulc/UtilizationLineChart.js +2 -2
- package/src/sap/gantt/simple/AdhocDiamond.js +1 -1
- package/src/sap/gantt/simple/AdhocLine.js +1 -1
- package/src/sap/gantt/simple/BaseCalendar.js +1 -1
- package/src/sap/gantt/simple/BaseChevron.js +1 -1
- package/src/sap/gantt/simple/BaseConditionalShape.js +1 -1
- package/src/sap/gantt/simple/BaseCursor.js +1 -1
- package/src/sap/gantt/simple/BaseDeltaRectangle.js +1 -1
- package/src/sap/gantt/simple/BaseDiamond.js +1 -1
- package/src/sap/gantt/simple/BaseGroup.js +1 -1
- package/src/sap/gantt/simple/BaseImage.js +1 -1
- package/src/sap/gantt/simple/BaseLine.js +1 -1
- package/src/sap/gantt/simple/BasePath.js +1 -1
- package/src/sap/gantt/simple/BasePseudoShape.js +1 -1
- package/src/sap/gantt/simple/BaseRectangle.js +1 -1
- package/src/sap/gantt/simple/BaseShape.js +1 -1
- package/src/sap/gantt/simple/BaseText.js +1 -1
- package/src/sap/gantt/simple/BaseTriangle.js +1 -1
- package/src/sap/gantt/simple/ContainerToolbar.js +3 -3
- package/src/sap/gantt/simple/ContainerToolbarPlaceholder.js +1 -1
- package/src/sap/gantt/simple/CoordinateUtils.js +1 -1
- package/src/sap/gantt/simple/CustomVariantHandler.js +1 -1
- package/src/sap/gantt/simple/DeltaLine.js +1 -1
- package/src/sap/gantt/simple/DimensionLegendRenderer.js +1 -1
- package/src/sap/gantt/simple/ExpandModel.js +1 -1
- package/src/sap/gantt/simple/FindAndSelectUtils.js +1 -1
- package/src/sap/gantt/simple/GanttAdaptationData.js +1 -1
- package/src/sap/gantt/simple/GanttChartContainer.js +31 -2
- package/src/sap/gantt/simple/GanttChartContainerRenderer.js +29 -12
- package/src/sap/gantt/simple/GanttChartWithTable.js +44 -17
- package/src/sap/gantt/simple/GanttDragDropExtension.js +4 -2
- package/src/sap/gantt/simple/GanttExtension.js +1 -1
- package/src/sap/gantt/simple/GanttHeader.js +2 -2
- package/src/sap/gantt/simple/GanttPointerExtension.js +1 -3
- package/src/sap/gantt/simple/GanttPopoverExtension.js +1 -1
- package/src/sap/gantt/simple/GanttPrinting.js +97 -25
- package/src/sap/gantt/simple/GanttRowAction.js +1 -1
- package/src/sap/gantt/simple/GanttRowSettings.js +1 -1
- package/src/sap/gantt/simple/GanttUtils.js +12 -4
- package/src/sap/gantt/simple/InnerGanttChart.js +11 -2
- package/src/sap/gantt/simple/InnerGanttChartRenderer.js +1 -1
- package/src/sap/gantt/simple/LegendContainer.js +1 -1
- package/src/sap/gantt/simple/LegendShapeGroup.js +1 -1
- package/src/sap/gantt/simple/MultiActivityGroup.js +1 -1
- package/src/sap/gantt/simple/MultiActivityRowSettings.js +1 -1
- package/src/sap/gantt/simple/Relationship.js +1 -1
- package/src/sap/gantt/simple/RenderUtils.js +5 -9
- package/src/sap/gantt/simple/SelectionModel.js +17 -12
- package/src/sap/gantt/simple/ShapeScheme.js +1 -1
- package/src/sap/gantt/simple/StockChart.js +1 -1
- package/src/sap/gantt/simple/StockChartDimension.js +1 -1
- package/src/sap/gantt/simple/StockChartPeriod.js +1 -1
- package/src/sap/gantt/simple/UtilizationBarChart.js +1 -1
- package/src/sap/gantt/simple/UtilizationChart.js +1 -1
- package/src/sap/gantt/simple/UtilizationDimension.js +1 -1
- package/src/sap/gantt/simple/UtilizationLineChart.js +1 -1
- package/src/sap/gantt/simple/UtilizationPeriod.js +1 -1
- package/src/sap/gantt/simple/shapes/Shape.js +5 -23
- package/src/sap/gantt/simple/shapes/Task.js +1 -1
- package/src/sap/gantt/themes/base/Gantt.less +9 -5
- package/src/sap/gantt/themes/sap_belize/library.source.less +10 -1
- package/src/sap/gantt/themes/sap_belize_base/Gantt.less +895 -0
- package/src/sap/gantt/themes/sap_belize_base/GanttPrinting.less +101 -0
- package/src/sap/gantt/themes/sap_belize_base/GanttSyncedControl.less +96 -0
- package/src/sap/gantt/themes/sap_belize_base/library.source.less +13 -0
- package/src/sap/gantt/themes/sap_belize_hcb/library.source.less +10 -1
- package/src/sap/gantt/themes/sap_belize_hcw/library.source.less +10 -1
- package/src/sap/gantt/themes/sap_bluecrystal/library.source.less +10 -1
- package/src/sap/gantt/themes/sap_bluecrystal_base/Gantt.less +899 -0
- package/src/sap/gantt/themes/sap_bluecrystal_base/GanttPrinting.less +101 -0
- package/src/sap/gantt/themes/sap_bluecrystal_base/GanttSyncedControl.less +96 -0
- package/src/sap/gantt/themes/sap_bluecrystal_base/library.source.less +13 -0
- 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
|
-
|
|
979
|
-
|
|
980
|
-
|
|
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
|
-
|
|
124
|
-
|
|
125
|
-
|
|
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 =
|
|
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
|
});
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @extends sap.gantt.simple.BaseShape
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
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
|
}
|
|
@@ -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
|
-
|
|
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";
|