@sapui5/sap.gantt 1.132.0 → 1.133.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/package.json +1 -1
- package/src/sap/gantt/.library +1 -1
- package/src/sap/gantt/AdhocLine.js +1 -1
- package/src/sap/gantt/GanttChart.js +1 -1
- package/src/sap/gantt/GanttChartBase.js +1 -1
- package/src/sap/gantt/GanttChartContainer.js +1 -1
- package/src/sap/gantt/GanttChartWithTable.js +1 -1
- package/src/sap/gantt/axistime/AxisTimeStrategyBase.js +24 -4
- package/src/sap/gantt/axistime/FullScreenStrategy.js +1 -1
- package/src/sap/gantt/axistime/ProportionZoomStrategy.js +2 -1
- package/src/sap/gantt/axistime/StepwiseZoomStrategy.js +2 -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 +1 -1
- package/src/sap/gantt/config/ChartScheme.js +1 -1
- package/src/sap/gantt/config/ColumnAttribute.js +1 -1
- package/src/sap/gantt/config/ContainerLayout.js +1 -1
- package/src/sap/gantt/config/ExpandChart.js +1 -1
- package/src/sap/gantt/config/ExpandChartGroup.js +1 -1
- package/src/sap/gantt/config/GanttChartLayout.js +1 -1
- package/src/sap/gantt/config/Hierarchy.js +1 -1
- package/src/sap/gantt/config/HierarchyColumn.js +1 -1
- package/src/sap/gantt/config/LayoutGroup.js +1 -1
- package/src/sap/gantt/config/Locale.js +1 -1
- package/src/sap/gantt/config/Mode.js +1 -1
- package/src/sap/gantt/config/ModeGroup.js +1 -1
- package/src/sap/gantt/config/ObjectType.js +1 -1
- package/src/sap/gantt/config/SettingGroup.js +1 -1
- package/src/sap/gantt/config/SettingItem.js +1 -1
- package/src/sap/gantt/config/Shape.js +1 -1
- 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 +1 -1
- package/src/sap/gantt/config/ToolbarGroup.js +1 -1
- package/src/sap/gantt/config/ToolbarScheme.js +1 -1
- package/src/sap/gantt/control/Cell.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/AdhocLine.js +1 -1
- package/src/sap/gantt/drawer/Drawer.js +1 -1
- package/src/sap/gantt/drawer/VerticalLine.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/layouts/SidePanel.js +1 -1
- package/src/sap/gantt/legend/DimensionLegend.js +1 -1
- package/src/sap/gantt/legend/LegendBase.js +1 -1
- package/src/sap/gantt/legend/LegendContainer.js +1 -1
- package/src/sap/gantt/legend/ListLegend.js +1 -1
- package/src/sap/gantt/library.js +2 -2
- 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/overlays/GanttRowOverlay.js +1 -1
- package/src/sap/gantt/overlays/Overlay.js +1 -1
- package/src/sap/gantt/shape/Circle.js +1 -1
- package/src/sap/gantt/shape/ClipPath.js +1 -1
- package/src/sap/gantt/shape/Definitions.js +1 -1
- package/src/sap/gantt/shape/Group.js +1 -1
- package/src/sap/gantt/shape/Image.js +1 -1
- package/src/sap/gantt/shape/Line.js +1 -1
- package/src/sap/gantt/shape/Path.js +1 -1
- package/src/sap/gantt/shape/Polygon.js +1 -1
- package/src/sap/gantt/shape/Polyline.js +1 -1
- package/src/sap/gantt/shape/Rectangle.js +1 -1
- package/src/sap/gantt/shape/ResizeShadowShape.js +1 -1
- package/src/sap/gantt/shape/SelectedShape.js +1 -1
- package/src/sap/gantt/shape/Shape.js +1 -1
- package/src/sap/gantt/shape/Text.js +1 -1
- package/src/sap/gantt/shape/cal/Calendar.js +1 -1
- package/src/sap/gantt/shape/ext/Chevron.js +1 -1
- package/src/sap/gantt/shape/ext/Cursor.js +1 -1
- package/src/sap/gantt/shape/ext/Diamond.js +1 -1
- package/src/sap/gantt/shape/ext/Iconfont.js +1 -1
- package/src/sap/gantt/shape/ext/Pentangle.js +1 -1
- package/src/sap/gantt/shape/ext/TextRepeat.js +1 -1
- package/src/sap/gantt/shape/ext/Triangle.js +1 -1
- package/src/sap/gantt/shape/ext/rls/Relationship.js +1 -1
- package/src/sap/gantt/shape/ext/rls/SelectedRelationship.js +1 -1
- package/src/sap/gantt/shape/ext/ubc/UbcBorderPath.js +1 -1
- package/src/sap/gantt/shape/ext/ubc/UbcOverCapacityZonePolygon.js +1 -1
- package/src/sap/gantt/shape/ext/ubc/UbcPolygon.js +1 -1
- package/src/sap/gantt/shape/ext/ubc/UbcShortageCapacityPolygon.js +1 -1
- package/src/sap/gantt/shape/ext/ubc/UbcTooltipRectangle.js +1 -1
- package/src/sap/gantt/shape/ext/ubc/UbcUnderCapacityZonePolygon.js +1 -1
- package/src/sap/gantt/shape/ext/ubc/UbcUsedPolygon.js +1 -1
- package/src/sap/gantt/shape/ext/ubc/UtilizationBarChart.js +1 -1
- package/src/sap/gantt/shape/ext/ulc/UlcBorderPath.js +1 -1
- package/src/sap/gantt/shape/ext/ulc/UlcClipPath.js +1 -1
- package/src/sap/gantt/shape/ext/ulc/UlcClipingPath.js +1 -1
- package/src/sap/gantt/shape/ext/ulc/UlcDimension.js +1 -1
- package/src/sap/gantt/shape/ext/ulc/UlcMiddleLine.js +1 -1
- package/src/sap/gantt/shape/ext/ulc/UlcOverCapacityZoneRectangle.js +1 -1
- package/src/sap/gantt/shape/ext/ulc/UlcOverClipRectangle.js +1 -1
- package/src/sap/gantt/shape/ext/ulc/UlcRectangle.js +1 -1
- package/src/sap/gantt/shape/ext/ulc/UlcTooltipRectangle.js +1 -1
- package/src/sap/gantt/shape/ext/ulc/UlcUnderClipRectangle.js +1 -1
- package/src/sap/gantt/shape/ext/ulc/UtilizationLineChart.js +1 -1
- 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 +1 -9
- 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/ExpandModel.js +1 -1
- package/src/sap/gantt/simple/GanttAdaptationData.js +1 -1
- package/src/sap/gantt/simple/GanttChartContainer.js +16 -1
- package/src/sap/gantt/simple/GanttChartWithTable.js +52 -2
- package/src/sap/gantt/simple/GanttDragDropExtension.js +1 -1
- package/src/sap/gantt/simple/GanttExtension.js +1 -1
- package/src/sap/gantt/simple/GanttHeader.js +1 -1
- package/src/sap/gantt/simple/GanttPointerExtension.js +1 -1
- package/src/sap/gantt/simple/GanttPopoverExtension.js +1 -1
- package/src/sap/gantt/simple/GanttPrinting.js +5 -4
- 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 +1 -1
- package/src/sap/gantt/simple/InnerGanttChart.js +1 -1
- package/src/sap/gantt/simple/InnerGanttChartRenderer.js +3 -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/PrintConfig.js +7 -7
- package/src/sap/gantt/simple/PrintDialogTemplate.js +1 -1
- package/src/sap/gantt/simple/PrintUtils.js +1 -1
- package/src/sap/gantt/simple/Relationship.js +1 -1
- package/src/sap/gantt/simple/ShapeScheme.js +1 -1
- package/src/sap/gantt/simple/ShapeStyle.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 +1 -1
- package/src/sap/gantt/simple/shapes/Task.js +1 -1
- package/src/sap/gantt/skipTime/DayInterval.js +1 -1
- package/src/sap/gantt/skipTime/DiscontinuousProvider.js +1 -1
- package/src/sap/gantt/skipTime/SkipInterval.js +1 -1
- package/src/sap/gantt/skipTime/SkipPattern.js +1 -1
- package/src/sap/gantt/skipTime/WeekPattern.js +1 -1
- package/src/sap/gantt/themes/base/Gantt.less +16 -1
|
@@ -89,7 +89,7 @@ sap.ui.define([
|
|
|
89
89
|
* @extends sap.m.OverflowToolbar
|
|
90
90
|
*
|
|
91
91
|
* @author SAP SE
|
|
92
|
-
* @version 1.
|
|
92
|
+
* @version 1.133.0
|
|
93
93
|
*
|
|
94
94
|
* @constructor
|
|
95
95
|
* @public
|
|
@@ -703,13 +703,6 @@ sap.ui.define([
|
|
|
703
703
|
return aSelectItems;
|
|
704
704
|
};
|
|
705
705
|
|
|
706
|
-
ContainerToolbar.prototype._focusOnZoom = function(iCurrentZoomLevel, iZoomLevel) {
|
|
707
|
-
var oGanttContainer = this.getParent();
|
|
708
|
-
if (oGanttContainer && oGanttContainer.isA("sap.gantt.simple.GanttChartContainer") && oGanttContainer.getEnableAutoFocusOnZoom() && iCurrentZoomLevel < iZoomLevel) {
|
|
709
|
-
GanttUtils._calculateSelectedShapeMinTime(oGanttContainer);
|
|
710
|
-
}
|
|
711
|
-
};
|
|
712
|
-
|
|
713
706
|
ContainerToolbar.prototype._genTimeZoomGroupControls = function() {
|
|
714
707
|
var ZoomControlType = library.config.ZoomControlType;
|
|
715
708
|
|
|
@@ -718,7 +711,6 @@ sap.ui.define([
|
|
|
718
711
|
var fnUpdateZoomLevel = function(iZoomLevel) {
|
|
719
712
|
clearTimeout(this._iLiveChangeTimer);
|
|
720
713
|
this._iLiveChangeTimer = -1;
|
|
721
|
-
this._focusOnZoom(this.getZoomLevel(), iZoomLevel);
|
|
722
714
|
this.setZoomLevel(iZoomLevel, true);
|
|
723
715
|
};
|
|
724
716
|
|
|
@@ -17,7 +17,7 @@ sap.ui.define(['sap/ui/thirdparty/jquery', "sap/ui/Device"], function(jQuery, De
|
|
|
17
17
|
* @class Utility functionality to work with SVG coordination, e.g. find x position of cursor
|
|
18
18
|
*
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.133.0
|
|
21
21
|
*
|
|
22
22
|
* @private
|
|
23
23
|
* @static
|
|
@@ -52,7 +52,7 @@ sap.ui.define([
|
|
|
52
52
|
* @extends sap.ui.core.Control
|
|
53
53
|
*
|
|
54
54
|
* @author SAP SE
|
|
55
|
-
* @version 1.
|
|
55
|
+
* @version 1.133.0
|
|
56
56
|
*
|
|
57
57
|
* @constructor
|
|
58
58
|
* @public
|
|
@@ -1137,5 +1137,20 @@ sap.ui.define([
|
|
|
1137
1137
|
oSidePanel.addDelegate(this._oSidePanelDelegate, true /* trigger on BeforeOnActivated */);
|
|
1138
1138
|
};
|
|
1139
1139
|
|
|
1140
|
+
/**
|
|
1141
|
+
* Displays the wrapper on top of GanttChartContainer
|
|
1142
|
+
* @param {boolean} bShow When set to true, the wrapper for GanttChartContainer is displayed
|
|
1143
|
+
* @since 1.133
|
|
1144
|
+
* @public
|
|
1145
|
+
*/
|
|
1146
|
+
GanttChartContainer.prototype.showWrapper = function(bShow){
|
|
1147
|
+
if (this.getDomRef()) {
|
|
1148
|
+
this.getGanttCharts().forEach(function(oChart) {
|
|
1149
|
+
oChart.getDomRef().classList.remove("sapGanttWrapper");
|
|
1150
|
+
});
|
|
1151
|
+
this.getDomRef().classList.toggle("sapGanttWrapper",bShow);
|
|
1152
|
+
}
|
|
1153
|
+
};
|
|
1154
|
+
|
|
1140
1155
|
return GanttChartContainer;
|
|
1141
1156
|
}, true);
|
|
@@ -170,7 +170,7 @@ sap.ui.define([
|
|
|
170
170
|
* @extend sap.ui.core.Control
|
|
171
171
|
*
|
|
172
172
|
* @author SAP SE
|
|
173
|
-
* @version 1.
|
|
173
|
+
* @version 1.133.0
|
|
174
174
|
* @since 1.60
|
|
175
175
|
*
|
|
176
176
|
* @constructor
|
|
@@ -590,7 +590,14 @@ sap.ui.define([
|
|
|
590
590
|
* Flag to enable displaying multiple ghosts when multiple shapes are selected and dragged.
|
|
591
591
|
* @since 1.127
|
|
592
592
|
*/
|
|
593
|
-
enableMultipleGhosts: {type: "boolean", defaultValue: true}
|
|
593
|
+
enableMultipleGhosts: {type: "boolean", defaultValue: true},
|
|
594
|
+
/**
|
|
595
|
+
* Configuration that optimizes relationship rendering behaviour by avoiding the rendering of non-interactive relationships.
|
|
596
|
+
* When the flag is enabled, a relationship instance is required in both the predecessor and successor rows.
|
|
597
|
+
* @since 1.133
|
|
598
|
+
*/
|
|
599
|
+
optimiseRelationships: {type: "boolean", defaultValue: false }
|
|
600
|
+
|
|
594
601
|
},
|
|
595
602
|
aggregations: {
|
|
596
603
|
/**
|
|
@@ -1712,6 +1719,33 @@ sap.ui.define([
|
|
|
1712
1719
|
}
|
|
1713
1720
|
};
|
|
1714
1721
|
|
|
1722
|
+
/**
|
|
1723
|
+
* Select and deselect shapes based on shapeIDs
|
|
1724
|
+
* @param {string[]} aSelectedShapeId array of shapeIDs to be selected
|
|
1725
|
+
* @param {string[]} aDeselectedShapeId array of shapeIDs to be deselected
|
|
1726
|
+
* @public
|
|
1727
|
+
* @since 1.133
|
|
1728
|
+
*/
|
|
1729
|
+
GanttChartWithTable.prototype.updateSelectionByShapeID = function (aSelectedShapeId, aDeselectedShapeId) {
|
|
1730
|
+
var selectedShapeIDs = [];
|
|
1731
|
+
var oSelectionMode = this.getShapeSelectionMode();
|
|
1732
|
+
if (oSelectionMode === library.SelectionMode.Single && aSelectedShapeId && aSelectedShapeId.length > 0) {
|
|
1733
|
+
this.oSelection.clear(true);
|
|
1734
|
+
aSelectedShapeId = aSelectedShapeId.slice(0,1);
|
|
1735
|
+
}
|
|
1736
|
+
if (aSelectedShapeId) {
|
|
1737
|
+
aSelectedShapeId.forEach(function(sShapeID) {
|
|
1738
|
+
selectedShapeIDs.push({ShapeId: sShapeID, Selected: true});
|
|
1739
|
+
});
|
|
1740
|
+
}
|
|
1741
|
+
if (aDeselectedShapeId) {
|
|
1742
|
+
aDeselectedShapeId.forEach(function(sShapeID) {
|
|
1743
|
+
selectedShapeIDs.push({ShapeId: sShapeID, Selected: false});
|
|
1744
|
+
});
|
|
1745
|
+
}
|
|
1746
|
+
this.oSelection.updateSelectedShapes(selectedShapeIDs, false, this.getId());
|
|
1747
|
+
};
|
|
1748
|
+
|
|
1715
1749
|
/**
|
|
1716
1750
|
* deselect a group of shapes which matched the search value/property.
|
|
1717
1751
|
* deselects all the shapes matched the find result irrespective of visible area.
|
|
@@ -4677,6 +4711,22 @@ sap.ui.define([
|
|
|
4677
4711
|
return bLazyLoadingEnabled;
|
|
4678
4712
|
};
|
|
4679
4713
|
|
|
4714
|
+
/**
|
|
4715
|
+
* Displays the wrapper on top of GanttChartWthTable
|
|
4716
|
+
* For this to work, GanttChartContainer showWrapper must not be set to true
|
|
4717
|
+
* @param {boolean} bShow When set to true, the wrapper for GanttChartWithTable is displayed
|
|
4718
|
+
* @since 1.133
|
|
4719
|
+
* @public
|
|
4720
|
+
*/
|
|
4721
|
+
GanttChartWithTable.prototype.showWrapper = function(bShow){
|
|
4722
|
+
if (this.getDomRef() ){
|
|
4723
|
+
var oGanttChartContainer = this.getParentGanttChartContainer();
|
|
4724
|
+
if (!oGanttChartContainer || (oGanttChartContainer && !oGanttChartContainer.getDomRef().classList.contains("sapGanttWrapper"))){
|
|
4725
|
+
this.getDomRef().classList.toggle("sapGanttWrapper",bShow);
|
|
4726
|
+
}
|
|
4727
|
+
}
|
|
4728
|
+
};
|
|
4729
|
+
|
|
4680
4730
|
return GanttChartWithTable;
|
|
4681
4731
|
|
|
4682
4732
|
}, true);
|
|
@@ -141,7 +141,7 @@ sap.ui.define([
|
|
|
141
141
|
PrintUtils
|
|
142
142
|
) {
|
|
143
143
|
"use strict";
|
|
144
|
-
|
|
144
|
+
var oResourceBundle = Lib.getResourceBundleFor("sap.gantt");
|
|
145
145
|
var FlexDirection = MobileLibrary.FlexDirection,
|
|
146
146
|
GanttChartWithTableDisplayType = GanttLibrary.simple.GanttChartWithTableDisplayType;
|
|
147
147
|
html2canvas = window.html2canvas;
|
|
@@ -162,7 +162,7 @@ sap.ui.define([
|
|
|
162
162
|
* @extend sap.ui.core.Element
|
|
163
163
|
*
|
|
164
164
|
* @author SAP SE
|
|
165
|
-
* @version 1.
|
|
165
|
+
* @version 1.133.0
|
|
166
166
|
* @since 1.66
|
|
167
167
|
*
|
|
168
168
|
* @constructor
|
|
@@ -4367,7 +4367,8 @@ sap.ui.define([
|
|
|
4367
4367
|
if (ganttContainer.getEnableVariantManagement()){
|
|
4368
4368
|
this._onLoadValues = this.getPrintData();
|
|
4369
4369
|
this._oButtonSave = new Button({
|
|
4370
|
-
text: "
|
|
4370
|
+
text: oResourceBundle.getText("SAVE_BUTTON"),
|
|
4371
|
+
type: sap.m.ButtonType.Ghost,
|
|
4371
4372
|
press: function (oEvent) {
|
|
4372
4373
|
this._savePreset(oEvent,bSinglePage);
|
|
4373
4374
|
}.bind(this)
|
|
@@ -4398,12 +4399,12 @@ sap.ui.define([
|
|
|
4398
4399
|
this._createDialogContent(bSinglePage)
|
|
4399
4400
|
],
|
|
4400
4401
|
buttons: [
|
|
4401
|
-
this._footerButtons = buttonsArray,
|
|
4402
4402
|
this._oButtonExport = new Button({
|
|
4403
4403
|
text: this._oRb.getText("GNT_PRNTG_EXPORT"),
|
|
4404
4404
|
type: MobileLibrary.ButtonType.Emphasized,
|
|
4405
4405
|
press: fnExport.bind(this)
|
|
4406
4406
|
}),
|
|
4407
|
+
this._footerButtons = buttonsArray,
|
|
4407
4408
|
this._oButtonClose = new Button({
|
|
4408
4409
|
text: this._oRb.getText("GNT_PRNTG_CANCEL"),
|
|
4409
4410
|
press: function () {
|
|
@@ -588,7 +588,9 @@ sap.ui.define([
|
|
|
588
588
|
|
|
589
589
|
var mShapeIdFilterMap = Object.create(null);
|
|
590
590
|
this._eachVisibleRowSettings(oGantt, this._renderVisibleRowRelationships.bind(this, oRm, oGantt, mShapeIdFilterMap));
|
|
591
|
-
|
|
591
|
+
if (!oGantt.getOptimiseRelationships()){
|
|
592
|
+
this._renderNonVisibleRowRelationships(oRm, oGantt, mShapeIdFilterMap);
|
|
593
|
+
}
|
|
592
594
|
for (var x in oGantt.relSet){
|
|
593
595
|
if (oGantt.relSet[x].mAnchors.predecessor || oGantt.relSet[x].mAnchors.successor){
|
|
594
596
|
oGantt.relSet[x].renderElement(oRm, oGantt.relSet[x], oGantt.getId());
|
|
@@ -74,13 +74,13 @@ sap.ui.define(['sap/ui/base/Object',
|
|
|
74
74
|
*/
|
|
75
75
|
|
|
76
76
|
var PrintConfig = BaseObject.extend('sap.gantt.simple.PrintConfig', {
|
|
77
|
-
constructor: function(
|
|
78
|
-
if (
|
|
79
|
-
this._setPageConfig(
|
|
80
|
-
this._setTextConfig(
|
|
81
|
-
this._setMarginConfig(
|
|
82
|
-
this._setDurationConfig(
|
|
83
|
-
this._setExportConfig(
|
|
77
|
+
constructor: function(printConfigurationObject) {
|
|
78
|
+
if (printConfigurationObject && typeof printConfigurationObject == 'object'){
|
|
79
|
+
this._setPageConfig(printConfigurationObject.pageConfig);
|
|
80
|
+
this._setTextConfig(printConfigurationObject.textConfig);
|
|
81
|
+
this._setMarginConfig(printConfigurationObject.marginConfig);
|
|
82
|
+
this._setDurationConfig(printConfigurationObject.durationConfig);
|
|
83
|
+
this._setExportConfig(printConfigurationObject.exportConfig);
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
});
|