@sapui5/sap.gantt 1.132.0 → 1.134.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 +12 -4
- 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 +4 -4
- package/src/sap/gantt/def/gradient/RadialGradient.js +4 -4
- package/src/sap/gantt/def/gradient/Stop.js +12 -4
- package/src/sap/gantt/def/pattern/BackSlashPattern.js +9 -9
- package/src/sap/gantt/def/pattern/PatternBase.js +15 -7
- package/src/sap/gantt/def/pattern/SlashPattern.js +14 -13
- 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/messagebundle.properties +6 -0
- package/src/sap/gantt/messagebundle_ar.properties +4 -0
- package/src/sap/gantt/messagebundle_bg.properties +4 -0
- package/src/sap/gantt/messagebundle_ca.properties +4 -0
- package/src/sap/gantt/messagebundle_cnr.properties +4 -0
- package/src/sap/gantt/messagebundle_cs.properties +4 -0
- package/src/sap/gantt/messagebundle_cy.properties +4 -0
- package/src/sap/gantt/messagebundle_da.properties +4 -0
- package/src/sap/gantt/messagebundle_de.properties +4 -0
- package/src/sap/gantt/messagebundle_el.properties +4 -0
- package/src/sap/gantt/messagebundle_en.properties +4 -0
- package/src/sap/gantt/messagebundle_en_GB.properties +4 -0
- package/src/sap/gantt/messagebundle_en_US_saprigi.properties +4 -0
- package/src/sap/gantt/messagebundle_es.properties +4 -0
- package/src/sap/gantt/messagebundle_es_MX.properties +4 -0
- package/src/sap/gantt/messagebundle_et.properties +4 -0
- package/src/sap/gantt/messagebundle_fi.properties +4 -0
- package/src/sap/gantt/messagebundle_fr.properties +4 -0
- package/src/sap/gantt/messagebundle_fr_CA.properties +10 -6
- package/src/sap/gantt/messagebundle_hi.properties +4 -0
- package/src/sap/gantt/messagebundle_hr.properties +4 -0
- package/src/sap/gantt/messagebundle_hu.properties +4 -0
- package/src/sap/gantt/messagebundle_id.properties +4 -0
- package/src/sap/gantt/messagebundle_it.properties +4 -0
- package/src/sap/gantt/messagebundle_iw.properties +4 -0
- package/src/sap/gantt/messagebundle_ja.properties +4 -0
- package/src/sap/gantt/messagebundle_kk.properties +4 -0
- package/src/sap/gantt/messagebundle_ko.properties +4 -0
- package/src/sap/gantt/messagebundle_lt.properties +4 -0
- package/src/sap/gantt/messagebundle_lv.properties +4 -0
- package/src/sap/gantt/messagebundle_mk.properties +4 -0
- package/src/sap/gantt/messagebundle_ms.properties +4 -0
- package/src/sap/gantt/messagebundle_nl.properties +4 -0
- package/src/sap/gantt/messagebundle_no.properties +4 -0
- package/src/sap/gantt/messagebundle_pl.properties +4 -0
- package/src/sap/gantt/messagebundle_pt.properties +4 -0
- package/src/sap/gantt/messagebundle_pt_PT.properties +4 -0
- package/src/sap/gantt/messagebundle_ro.properties +4 -0
- package/src/sap/gantt/messagebundle_ru.properties +4 -0
- package/src/sap/gantt/messagebundle_sh.properties +4 -0
- package/src/sap/gantt/messagebundle_sk.properties +4 -0
- package/src/sap/gantt/messagebundle_sl.properties +4 -0
- package/src/sap/gantt/messagebundle_sr.properties +4 -0
- package/src/sap/gantt/messagebundle_sv.properties +4 -0
- package/src/sap/gantt/messagebundle_th.properties +4 -0
- package/src/sap/gantt/messagebundle_tr.properties +4 -0
- package/src/sap/gantt/messagebundle_uk.properties +4 -0
- package/src/sap/gantt/messagebundle_vi.properties +4 -0
- package/src/sap/gantt/messagebundle_zh_CN.properties +4 -0
- package/src/sap/gantt/messagebundle_zh_TW.properties +4 -0
- 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 +12 -4
- package/src/sap/gantt/simple/BaseCalendar.js +14 -3
- 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 +2 -2
- 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 +5 -5
- 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 +13 -3
- 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 +11 -4
- package/src/sap/gantt/simple/ExpandModel.js +1 -1
- package/src/sap/gantt/simple/FindAndSelectUtils.js +43 -47
- 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 +100 -98
- package/src/sap/gantt/simple/GanttDragDropExtension.js +6 -4
- package/src/sap/gantt/simple/GanttExtension.js +1 -1
- package/src/sap/gantt/simple/GanttHeader.js +1 -1
- package/src/sap/gantt/simple/GanttLassoExtension.js +5 -4
- 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 +12 -5
- package/src/sap/gantt/simple/GanttResizeExtension.js +3 -3
- 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 +2 -2
- 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/RenderUtils.js +5 -2
- 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 +9 -9
- package/src/sap/gantt/simple/StockChartPeriod.js +1 -1
- package/src/sap/gantt/simple/UtilizationBarChart.js +15 -8
- package/src/sap/gantt/simple/UtilizationChart.js +17 -3
- package/src/sap/gantt/simple/UtilizationDimension.js +10 -3
- package/src/sap/gantt/simple/UtilizationLineChart.js +6 -5
- 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 +33 -17
- package/src/sap/gantt/themes/base/GanttPrinting.less +3 -4
|
@@ -7,8 +7,9 @@
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/ui/core/Element",
|
|
9
9
|
"./GanttUtils",
|
|
10
|
-
"sap/gantt/simple/MarkerType"
|
|
11
|
-
|
|
10
|
+
"sap/gantt/simple/MarkerType",
|
|
11
|
+
"sap/gantt/library"
|
|
12
|
+
], function (Element, GanttUtils, MarkerType,library) {
|
|
12
13
|
"use strict";
|
|
13
14
|
|
|
14
15
|
/**
|
|
@@ -25,7 +26,7 @@ sap.ui.define([
|
|
|
25
26
|
* @extends sap.ui.core.Element
|
|
26
27
|
*
|
|
27
28
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
29
|
+
* @version 1.134.0
|
|
29
30
|
* @since 1.84
|
|
30
31
|
*
|
|
31
32
|
* @constructor
|
|
@@ -42,7 +43,7 @@ sap.ui.define([
|
|
|
42
43
|
* Paint server definitions usually come from paint servers rendered by {@link sap.gantt.simple.GanttChartContainer},
|
|
43
44
|
* {@link sap.gantt.simple.GanttChartWithTable}.
|
|
44
45
|
*/
|
|
45
|
-
stroke: {type : "sap.gantt.ValueSVGPaintServer"},
|
|
46
|
+
stroke: {type : "sap.gantt.ValueSVGPaintServer", defaultValue:"sapChart_Sequence_3_BorderColor"},
|
|
46
47
|
|
|
47
48
|
/**
|
|
48
49
|
* Standard SVG 'stroke-width' attribute.
|
|
@@ -156,6 +157,13 @@ sap.ui.define([
|
|
|
156
157
|
}
|
|
157
158
|
});
|
|
158
159
|
|
|
160
|
+
/**
|
|
161
|
+
* @returns the value of the stroke property for the Adhoc line.
|
|
162
|
+
*/
|
|
163
|
+
AdhocLine.prototype.getStroke = function(){
|
|
164
|
+
return library.ValueSVGPaintServer.normalize(this.getProperty("stroke"));
|
|
165
|
+
};
|
|
166
|
+
|
|
159
167
|
/**
|
|
160
168
|
* Returns the strokeWidth property of the Adhoc line
|
|
161
169
|
* @returns {float} - Return the strokeWidth property value
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* @extends sap.gantt.simple.BaseRectangle
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.134.0
|
|
33
33
|
*
|
|
34
34
|
* @constructor
|
|
35
35
|
* @public
|
|
@@ -44,7 +44,18 @@ sap.ui.define([
|
|
|
44
44
|
* Do not set this property if you do not want to reuse the calendar definition across rows, and you want row wise different calendars. Instead set the time, endtime and fill the properties for the calendar shape.
|
|
45
45
|
* Providing values for calendarName, and time or endTime is considered as invalid. In such cases, time or endTime are ignored even if the calendarName is not available in calendar definitions.
|
|
46
46
|
*/
|
|
47
|
-
calendarName: {type: "string"}
|
|
47
|
+
calendarName: {type: "string"},
|
|
48
|
+
/**
|
|
49
|
+
* Fill for calendar shape
|
|
50
|
+
* @since 1.134
|
|
51
|
+
*/
|
|
52
|
+
fill: {type : "sap.gantt.ValueSVGPaintServer", defaultValue:"sapChart_Sequence_Neutral_Plus2"},
|
|
53
|
+
/**
|
|
54
|
+
* stroke for the calendar shape
|
|
55
|
+
* @since 1.134
|
|
56
|
+
*/
|
|
57
|
+
stroke: {type : "sap.gantt.ValueSVGPaintServer", defaultValue:"sapChart_Sequence_Neutral_BorderColor"}
|
|
58
|
+
|
|
48
59
|
}
|
|
49
60
|
}
|
|
50
61
|
});
|
|
@@ -124,7 +135,7 @@ sap.ui.define([
|
|
|
124
135
|
return oPaintServerDef.getRefString(sCalendarName);
|
|
125
136
|
}
|
|
126
137
|
}
|
|
127
|
-
return this.getProperty("fill");
|
|
138
|
+
return this.determineValueColor(this.getProperty("fill"));
|
|
128
139
|
};
|
|
129
140
|
|
|
130
141
|
BaseCalendar.prototype.renderElement = function (oRm, oElement) {
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* @extends sap.gantt.simple.BaseText
|
|
22
22
|
*
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.134.0
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @public
|
|
@@ -52,7 +52,7 @@ sap.ui.define([
|
|
|
52
52
|
apiVersion: 2 // enable in-place DOM patching
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
|
-
var mImageAttributes = ["x", "y", "width", "height", "opacity"];
|
|
55
|
+
var mImageAttributes = ["x", "y", "width", "height", "transform", "opacity"];
|
|
56
56
|
|
|
57
57
|
var RenderAs = {
|
|
58
58
|
IconFont: "iconFont",
|
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* @extends sap.gantt.simple.MultiActivityGroup
|
|
31
31
|
*
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.134.0
|
|
34
34
|
* @since 1.109
|
|
35
35
|
*
|
|
36
36
|
* @constructor
|
|
@@ -64,7 +64,7 @@ sap.ui.define([
|
|
|
64
64
|
*/
|
|
65
65
|
overlapFill: {
|
|
66
66
|
type: "sap.gantt.ValueSVGPaintServer",
|
|
67
|
-
defaultValue: "
|
|
67
|
+
defaultValue: "sapChart_Sequence_1_Minus4"
|
|
68
68
|
},
|
|
69
69
|
/**
|
|
70
70
|
* The color for pseudo shape.
|
|
@@ -72,7 +72,7 @@ sap.ui.define([
|
|
|
72
72
|
*/
|
|
73
73
|
fill: {
|
|
74
74
|
type: "sap.gantt.ValueSVGPaintServer",
|
|
75
|
-
defaultValue: "
|
|
75
|
+
defaultValue: "sapChart_Sequence_1"
|
|
76
76
|
},
|
|
77
77
|
|
|
78
78
|
/**
|
|
@@ -226,8 +226,8 @@ sap.ui.define([
|
|
|
226
226
|
* @private
|
|
227
227
|
*/
|
|
228
228
|
BasePseudoShape.prototype._fnCreateLinearGradient = function (aPoints, oPseudoShape) {
|
|
229
|
-
var aStops = [], shapeFill = oPseudoShape.shapeFill ? oPseudoShape.shapeFill : "
|
|
230
|
-
overlapIndicatorFill = oPseudoShape.overlapIndicatorFill ? oPseudoShape.overlapIndicatorFill : "
|
|
229
|
+
var aStops = [], shapeFill = oPseudoShape.shapeFill ? oPseudoShape.shapeFill : "sapChart_Sequence_1",
|
|
230
|
+
overlapIndicatorFill = oPseudoShape.overlapIndicatorFill ? oPseudoShape.overlapIndicatorFill : "sapChart_Sequence_1_Minus4";
|
|
231
231
|
var bRtl = GanttChartConfigurationUtils.getRTL();
|
|
232
232
|
if (bRtl){
|
|
233
233
|
for (var i = aPoints.length - 1; i >= 0; i--){
|
|
@@ -36,7 +36,7 @@ sap.ui.define([
|
|
|
36
36
|
* @extends sap.gantt.simple.BaseShape
|
|
37
37
|
*
|
|
38
38
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
39
|
+
* @version 1.134.0
|
|
40
40
|
*
|
|
41
41
|
* @constructor
|
|
42
42
|
* @public
|
|
@@ -75,7 +75,7 @@ sap.ui.define([
|
|
|
75
75
|
/**
|
|
76
76
|
* This property indicates which font family will be used to render the text, specified as a prioritized list of font family names and/or generic family names
|
|
77
77
|
*/
|
|
78
|
-
fontFamily: {type: "string", defaultValue: "
|
|
78
|
+
fontFamily: {type: "string", defaultValue: "sapFontFamily"},
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
81
|
* The width to start truncate the text. If the value is omit, the text is truncated base on it's parent width
|
|
@@ -103,7 +103,13 @@ sap.ui.define([
|
|
|
103
103
|
* @private
|
|
104
104
|
* @since 1.96
|
|
105
105
|
*/
|
|
106
|
-
_xBiassed: {type: "float", visibility: "hidden"}
|
|
106
|
+
_xBiassed: {type: "float", visibility: "hidden"},
|
|
107
|
+
/**
|
|
108
|
+
* The color of the text
|
|
109
|
+
*/
|
|
110
|
+
fill:{ type: "sap.gantt.ValueSVGPaintServer", defaultValue:"sapTextColor"}
|
|
111
|
+
|
|
112
|
+
|
|
107
113
|
|
|
108
114
|
}
|
|
109
115
|
},
|
|
@@ -361,6 +367,7 @@ sap.ui.define([
|
|
|
361
367
|
BaseText.prototype._processTextForTruncation = function(sSourceText, bPseudoShape, iIconHeight) {
|
|
362
368
|
var iTruncateWidth = this.getTruncateWidth(),
|
|
363
369
|
iEllipsisWidth = this.measureTextWidth("..."),
|
|
370
|
+
iXBias = this.getProperty("xBias") || 0,
|
|
364
371
|
iTextTotalLength = this.measureTextWidth(sSourceText);
|
|
365
372
|
var iAdditionalPadding;
|
|
366
373
|
if (bPseudoShape){
|
|
@@ -383,6 +390,9 @@ sap.ui.define([
|
|
|
383
390
|
if (iTargetWidth > iAdditionalPadding){
|
|
384
391
|
iTargetWidth = iTargetWidth - iAdditionalPadding;
|
|
385
392
|
}
|
|
393
|
+
if (iTargetWidth > iXBias){
|
|
394
|
+
iTargetWidth = iTargetWidth - iXBias;
|
|
395
|
+
}
|
|
386
396
|
|
|
387
397
|
// truncate
|
|
388
398
|
var sTruncatedText;
|
|
@@ -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.134.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.134.0
|
|
21
21
|
*
|
|
22
22
|
* @private
|
|
23
23
|
* @static
|
|
@@ -8,9 +8,10 @@ sap.ui.define(
|
|
|
8
8
|
[
|
|
9
9
|
"sap/ui/core/Element",
|
|
10
10
|
"./GanttUtils",
|
|
11
|
-
"sap/ui/core/theming/Parameters"
|
|
11
|
+
"sap/ui/core/theming/Parameters",
|
|
12
|
+
"sap/gantt/library"
|
|
12
13
|
],
|
|
13
|
-
function (Element, GanttUtils, Parameters) {
|
|
14
|
+
function (Element, GanttUtils, Parameters,library) {
|
|
14
15
|
"use strict";
|
|
15
16
|
|
|
16
17
|
/**
|
|
@@ -25,7 +26,7 @@ sap.ui.define(
|
|
|
25
26
|
* @extends sap.ui.core.Element
|
|
26
27
|
*
|
|
27
28
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
29
|
+
* @version 1.134.0
|
|
29
30
|
* @since 1.84
|
|
30
31
|
*
|
|
31
32
|
* @constructor
|
|
@@ -44,7 +45,7 @@ sap.ui.define(
|
|
|
44
45
|
* Paint server definitions usually come from paint servers rendered by {@link sap.gantt.GanttChartContainer},
|
|
45
46
|
* {@link sap.gantt.GanttChartWithTable} or {@link sap.gantt.GanttChart}.
|
|
46
47
|
*/
|
|
47
|
-
stroke: { type: "sap.gantt.ValueSVGPaintServer" },
|
|
48
|
+
stroke: { type: "sap.gantt.ValueSVGPaintServer" ,defaultValue:"sapChart_Sequence_3_BorderColor"},
|
|
48
49
|
|
|
49
50
|
/**
|
|
50
51
|
* Standard SVG 'stroke-width' attribute.
|
|
@@ -255,6 +256,12 @@ sap.ui.define(
|
|
|
255
256
|
return this.getProperty("_strokeWidth");
|
|
256
257
|
};
|
|
257
258
|
|
|
259
|
+
/**
|
|
260
|
+
* @returns the value of the stroke property for the Delta line.
|
|
261
|
+
*/
|
|
262
|
+
DeltaLine.prototype.getStroke = function () {
|
|
263
|
+
return library.ValueSVGPaintServer.normalize(this.getProperty("stroke"));
|
|
264
|
+
};
|
|
258
265
|
/**
|
|
259
266
|
* Sets the start line object
|
|
260
267
|
* @param {sap.gantt.simple.BaseLine} val - Instance of start line object to be set
|