@sapui5/sap.gantt 1.119.0 → 1.120.1
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 +6 -2
- package/src/sap/gantt/axistime/AxisTimeStrategyBase.js +6 -6
- package/src/sap/gantt/axistime/FullScreenStrategy.js +1 -1
- package/src/sap/gantt/axistime/ProportionZoomStrategy.js +1 -1
- package/src/sap/gantt/axistime/StepwiseTimeLineOptions.js +5 -4
- 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 +6 -4
- package/src/sap/gantt/changeHandlers/simple/GanttChartWithTable.js +6 -4
- 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 +4 -4
- 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/AssociateContainer.js +1 -3
- package/src/sap/gantt/control/AssociateContainerRenderer.js +9 -12
- 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/Drawer.js +1 -1
- package/src/sap/gantt/drawer/SelectionPanel.js +1 -1
- package/src/sap/gantt/drawer/ShapeInRow.js +4 -4
- 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 +2 -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 +3 -3
- 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 +53 -12
- package/src/sap/gantt/messagebundle.properties +24 -0
- package/src/sap/gantt/messagebundle_ar.properties +1 -1
- package/src/sap/gantt/messagebundle_bg.properties +3 -3
- package/src/sap/gantt/messagebundle_ca.properties +35 -19
- package/src/sap/gantt/messagebundle_cnr.properties +427 -0
- package/src/sap/gantt/messagebundle_cs.properties +1 -1
- package/src/sap/gantt/messagebundle_el.properties +4 -4
- package/src/sap/gantt/messagebundle_en.properties +295 -19
- package/src/sap/gantt/messagebundle_en_US_saprigi.properties +212 -196
- package/src/sap/gantt/messagebundle_es.properties +7 -7
- package/src/sap/gantt/messagebundle_et.properties +2 -2
- package/src/sap/gantt/messagebundle_fr.properties +1 -1
- package/src/sap/gantt/messagebundle_hi.properties +2 -2
- package/src/sap/gantt/messagebundle_hr.properties +3 -3
- package/src/sap/gantt/messagebundle_ja.properties +2 -2
- package/src/sap/gantt/messagebundle_kk.properties +1 -1
- package/src/sap/gantt/messagebundle_lt.properties +2 -2
- package/src/sap/gantt/messagebundle_mk.properties +411 -0
- package/src/sap/gantt/messagebundle_ms.properties +1 -1
- package/src/sap/gantt/messagebundle_nl.properties +2 -2
- package/src/sap/gantt/messagebundle_no.properties +2 -2
- package/src/sap/gantt/messagebundle_pt.properties +2 -2
- package/src/sap/gantt/messagebundle_ro.properties +10 -10
- package/src/sap/gantt/messagebundle_ru.properties +1 -1
- package/src/sap/gantt/messagebundle_sk.properties +4 -4
- package/src/sap/gantt/messagebundle_th.properties +8 -8
- package/src/sap/gantt/messagebundle_uk.properties +3 -3
- package/src/sap/gantt/misc/AxisTime.js +65 -38
- package/src/sap/gantt/misc/Format.js +0 -22
- 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 +5 -4
- package/src/sap/gantt/misc/ShapeSelectionModel.js +3 -3
- package/src/sap/gantt/overlays/GanttRowOverlay.js +88 -0
- package/src/sap/gantt/overlays/Overlay.js +73 -0
- 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/AggregationUtils.js +92 -0
- 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 +118 -92
- package/src/sap/gantt/simple/BaseRectangle.js +1 -1
- package/src/sap/gantt/simple/BaseShape.js +8 -2
- 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 +9 -7
- 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/DeltaLineRenderer.js +4 -2
- package/src/sap/gantt/simple/ExpandModel.js +12 -5
- package/src/sap/gantt/simple/FindAndSelectUtils.js +7 -1
- package/src/sap/gantt/simple/GanttAdaptationData.js +1 -1
- package/src/sap/gantt/simple/GanttChartContainer.js +2 -2
- package/src/sap/gantt/simple/GanttChartWithTable.js +136 -64
- package/src/sap/gantt/simple/GanttDragDropExtension.js +22 -9
- 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 -1
- package/src/sap/gantt/simple/GanttPopoverExtension.js +1 -1
- package/src/sap/gantt/simple/GanttPrinting.js +67 -47
- package/src/sap/gantt/simple/GanttResizeExtension.js +5 -12
- package/src/sap/gantt/simple/GanttRowAction.js +1 -1
- package/src/sap/gantt/simple/GanttRowSettings.js +55 -3
- package/src/sap/gantt/simple/GanttSearchSidePanel.js +7 -4
- package/src/sap/gantt/simple/GanttUtils.js +46 -10
- package/src/sap/gantt/simple/GanttZoomExtension.js +12 -2
- package/src/sap/gantt/simple/InnerGanttChart.js +17 -7
- package/src/sap/gantt/simple/InnerGanttChartRenderer.js +2 -26
- 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 +2 -14
- package/src/sap/gantt/simple/Relationship.js +6 -6
- package/src/sap/gantt/simple/RenderUtils.js +23 -11
- package/src/sap/gantt/simple/SelectionModel.js +4 -3
- 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 +10 -11
- package/src/sap/gantt/simple/shapes/Task.js +1 -1
- package/src/sap/gantt/utils/GanttCustomisationUtils.js +5 -3
package/package.json
CHANGED
package/src/sap/gantt/.library
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
|
+
"sap/m/Label",
|
|
8
9
|
"sap/ui/performance/Measurement",
|
|
9
10
|
"sap/ui/Device",
|
|
10
11
|
"./GanttChartBase",
|
|
@@ -22,6 +23,7 @@ sap.ui.define([
|
|
|
22
23
|
"./eventHandler/MouseWheelHandler",
|
|
23
24
|
"sap/ui/thirdparty/d3"
|
|
24
25
|
], function (
|
|
26
|
+
Label,
|
|
25
27
|
Measurement,
|
|
26
28
|
Device,
|
|
27
29
|
GanttChartBase,
|
|
@@ -57,7 +59,7 @@ sap.ui.define([
|
|
|
57
59
|
* @extends sap.gantt.GanttChartBase
|
|
58
60
|
*
|
|
59
61
|
* @author SAP SE
|
|
60
|
-
* @version 1.
|
|
62
|
+
* @version 1.120.1
|
|
61
63
|
*
|
|
62
64
|
* @constructor
|
|
63
65
|
* @public
|
|
@@ -544,7 +546,9 @@ sap.ui.define([
|
|
|
544
546
|
if (aColumnConfig) {
|
|
545
547
|
for (var i = 0; i < aColumnConfig.length; i++) {
|
|
546
548
|
var oCol = new Column({
|
|
547
|
-
label:
|
|
549
|
+
label: new Label({
|
|
550
|
+
text: aColumnConfig[i].getTitle()
|
|
551
|
+
}),
|
|
548
552
|
sortProperty: aColumnConfig[i].getSortAttribute(),
|
|
549
553
|
filterProperty: aColumnConfig[i].getFilterAttribute(),
|
|
550
554
|
width: aColumnConfig[i].getWidth(),
|
|
@@ -67,7 +67,7 @@ sap.ui.define([
|
|
|
67
67
|
* @abstract
|
|
68
68
|
*
|
|
69
69
|
* @author SAP SE
|
|
70
|
-
* @version 1.
|
|
70
|
+
* @version 1.120.1
|
|
71
71
|
*
|
|
72
72
|
* @constructor
|
|
73
73
|
* @public
|
|
@@ -200,7 +200,7 @@ sap.ui.define([
|
|
|
200
200
|
* We recommend that you set the type of this argument to <code>sap.gantt.config.TimeHorizon</code>.
|
|
201
201
|
* Otherwise some properties you set may not function properly.
|
|
202
202
|
*
|
|
203
|
-
* Default totalHorizon value is: <code>sap.gantt.config.
|
|
203
|
+
* Default totalHorizon value is: <code>sap.gantt.config.DEFAULT_TOTAL_HORIZON </code>
|
|
204
204
|
*/
|
|
205
205
|
totalHorizon: {type: "sap.gantt.config.TimeHorizon", multiple: false},
|
|
206
206
|
|
|
@@ -221,7 +221,7 @@ sap.ui.define([
|
|
|
221
221
|
* We recommend that you set the type of this argument to <code>sap.gantt.config.TimeHorizon</code>.
|
|
222
222
|
* Otherwise some properties you set may not function properly.
|
|
223
223
|
*
|
|
224
|
-
* Default visible horizon value is <code>sap.gantt.config.
|
|
224
|
+
* Default visible horizon value is <code>sap.gantt.config.DEFAULT_VISIBLE_HORIZON</code>
|
|
225
225
|
*/
|
|
226
226
|
visibleHorizon: {type: "sap.gantt.config.TimeHorizon", multiple: false},
|
|
227
227
|
|
|
@@ -233,10 +233,10 @@ sap.ui.define([
|
|
|
233
233
|
AxisTimeStrategyBase.prototype.applySettings = function (mSettings) {
|
|
234
234
|
mSettings = mSettings || {};
|
|
235
235
|
if (!mSettings.visibleHorizon) {
|
|
236
|
-
mSettings.visibleHorizon = library.config.
|
|
236
|
+
mSettings.visibleHorizon = library.config.DEFAULT_VISIBLE_HORIZON.clone();
|
|
237
237
|
}
|
|
238
238
|
if (!mSettings.totalHorizon) {
|
|
239
|
-
mSettings.totalHorizon = library.config.
|
|
239
|
+
mSettings.totalHorizon = library.config.DEFAULT_TOTAL_HORIZON.clone();
|
|
240
240
|
}
|
|
241
241
|
this.checkFirstDayOfWeek(mSettings);
|
|
242
242
|
|
|
@@ -779,7 +779,7 @@ sap.ui.define([
|
|
|
779
779
|
AxisTimeStrategyBase.prototype._onLocalizationChanged = function () {
|
|
780
780
|
this.setFirstDayOfWeek(LocaleData.getInstance(Core.getConfiguration().getLocale()).getFirstDayOfWeek());
|
|
781
781
|
var oGantt = this.getParent();
|
|
782
|
-
if (oGantt && oGantt.getEnablePseudoShapes()){
|
|
782
|
+
if (oGantt && oGantt.getEnablePseudoShapes && oGantt.getEnablePseudoShapes()){
|
|
783
783
|
if (!oGantt.pseudoShapeSpecificData){
|
|
784
784
|
oGantt.pseudoShapeSpecificData = {};
|
|
785
785
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
sap.ui.define([
|
|
2
|
-
"sap/gantt/library"
|
|
3
|
-
|
|
2
|
+
"sap/gantt/library",
|
|
3
|
+
"sap/ui/core/Core"
|
|
4
|
+
],function(library, Core) {
|
|
4
5
|
"use strict";
|
|
5
|
-
var oRb =
|
|
6
|
+
var oRb = Core.getLibraryResourceBundle("sap.gantt");
|
|
6
7
|
|
|
7
8
|
var TimeUnit = library.config.TimeUnit;
|
|
8
9
|
|
|
@@ -99,7 +100,7 @@ sap.ui.define([
|
|
|
99
100
|
unit: TimeUnit.day,
|
|
100
101
|
span: 1,
|
|
101
102
|
//e.g. Mon 22, Tue 23
|
|
102
|
-
pattern:
|
|
103
|
+
pattern: Core.getConfiguration().getRTL() ? "dd EEE " : "EEE dd "
|
|
103
104
|
}
|
|
104
105
|
},
|
|
105
106
|
"Date": {
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
* The class allows you to define a zoom strategy whose time line options are stepwise, i.e. the width of each time line option
|
|
24
24
|
* is pre-defined and won't be changed during zooming.
|
|
25
25
|
* @extends sap.gantt.axistime.AxisTimeStrategyBase
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.120.1
|
|
27
27
|
*
|
|
28
28
|
* @constructor
|
|
29
29
|
* @public
|
|
@@ -11,7 +11,8 @@ sap.ui.define([
|
|
|
11
11
|
"sap/ui/comp/smartform/Group",
|
|
12
12
|
"sap/ui/comp/smartform/GroupElement",
|
|
13
13
|
"sap/m/RadioButtonGroup",
|
|
14
|
-
"sap/m/RadioButton"
|
|
14
|
+
"sap/m/RadioButton",
|
|
15
|
+
"sap/ui/core/Core"
|
|
15
16
|
], function (
|
|
16
17
|
Button,
|
|
17
18
|
Dialog,
|
|
@@ -19,7 +20,8 @@ sap.ui.define([
|
|
|
19
20
|
Group,
|
|
20
21
|
GroupElement,
|
|
21
22
|
RadioButtonGroup,
|
|
22
|
-
RadioButton
|
|
23
|
+
RadioButton,
|
|
24
|
+
Core
|
|
23
25
|
) {
|
|
24
26
|
"use strict";
|
|
25
27
|
|
|
@@ -32,11 +34,11 @@ sap.ui.define([
|
|
|
32
34
|
*
|
|
33
35
|
* @author SAP SE
|
|
34
36
|
*
|
|
35
|
-
* @version 1.
|
|
37
|
+
* @version 1.120.1
|
|
36
38
|
*
|
|
37
39
|
* @since 1.90
|
|
38
40
|
*/
|
|
39
|
-
var oResourceBundle =
|
|
41
|
+
var oResourceBundle = Core.getLibraryResourceBundle("sap.gantt");
|
|
40
42
|
var GanttChartContainer = {
|
|
41
43
|
getDialogBox : function(oContainer) {
|
|
42
44
|
return new Promise(function (resolve, reject) {
|
|
@@ -12,7 +12,8 @@ sap.ui.define([
|
|
|
12
12
|
"sap/ui/comp/smartform/GroupElement",
|
|
13
13
|
"sap/m/RadioButtonGroup",
|
|
14
14
|
"sap/m/RadioButton",
|
|
15
|
-
"sap/m/Slider"
|
|
15
|
+
"sap/m/Slider",
|
|
16
|
+
"sap/ui/core/Core"
|
|
16
17
|
], function (
|
|
17
18
|
Button,
|
|
18
19
|
Dialog,
|
|
@@ -21,7 +22,8 @@ sap.ui.define([
|
|
|
21
22
|
GroupElement,
|
|
22
23
|
RadioButtonGroup,
|
|
23
24
|
RadioButton,
|
|
24
|
-
Slider
|
|
25
|
+
Slider,
|
|
26
|
+
Core
|
|
25
27
|
) {
|
|
26
28
|
"use strict";
|
|
27
29
|
/**
|
|
@@ -33,12 +35,12 @@ sap.ui.define([
|
|
|
33
35
|
*
|
|
34
36
|
* @author SAP SE
|
|
35
37
|
*
|
|
36
|
-
* @version 1.
|
|
38
|
+
* @version 1.120.1
|
|
37
39
|
*
|
|
38
40
|
* @since 1.90
|
|
39
41
|
*/
|
|
40
42
|
|
|
41
|
-
var oResourceBundle =
|
|
43
|
+
var oResourceBundle = Core.getLibraryResourceBundle("sap.gantt");
|
|
42
44
|
var GanttChartWithTable = {
|
|
43
45
|
getDialogBox : function(oTable) {
|
|
44
46
|
return new Promise(function (resolve, reject) {
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @extends sap.ui.core.Element
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.120.1
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @public
|
|
@@ -60,9 +60,9 @@ sap.ui.define([
|
|
|
60
60
|
SettingItem.prototype.setChecked = function(bChecked) {
|
|
61
61
|
this.setProperty("checked", bChecked, true);
|
|
62
62
|
if (this.oParent !== null) {
|
|
63
|
-
this.oParent._oSettingsBox.getItems().forEach(function(
|
|
64
|
-
if (
|
|
65
|
-
|
|
63
|
+
this.oParent._oSettingsBox.getItems().forEach(function(oCheckBox) {
|
|
64
|
+
if (oCheckBox.getName() === this.getKey()) {
|
|
65
|
+
oCheckBox.setSelected(bChecked, true);
|
|
66
66
|
}
|
|
67
67
|
}.bind(this));
|
|
68
68
|
}
|
|
@@ -8,9 +8,7 @@ sap.ui.define([
|
|
|
8
8
|
"sap/ui/core/Control", "sap/ui/core/Core", "./AssociateContainerRenderer"
|
|
9
9
|
], function (Control, Core) {
|
|
10
10
|
"use strict";
|
|
11
|
-
|
|
12
|
-
* @deprecated Since version 1.64
|
|
13
|
-
*/
|
|
11
|
+
|
|
14
12
|
var AssociateContainer = Control.extend("sap.gantt.control.AssociateContainer", {
|
|
15
13
|
metadata: {
|
|
16
14
|
library: "sap.gantt",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
(c) Copyright 2009-2015 SAP SE. All rights reserved
|
|
5
5
|
|
|
6
6
|
*/
|
|
7
|
-
sap.ui.define([], function () {
|
|
7
|
+
sap.ui.define(["sap/ui/core/Core"], function (Core) {
|
|
8
8
|
"use strict";
|
|
9
9
|
|
|
10
10
|
var AssociateContainerRenderer = {};
|
|
@@ -12,19 +12,16 @@ sap.ui.define([], function () {
|
|
|
12
12
|
AssociateContainerRenderer.render = function(oRenderManager, oControl) {
|
|
13
13
|
|
|
14
14
|
if (oControl.getEnableRootDiv()) {
|
|
15
|
-
oRenderManager.
|
|
16
|
-
oRenderManager.
|
|
17
|
-
oRenderManager.
|
|
18
|
-
oRenderManager.
|
|
19
|
-
oRenderManager.
|
|
20
|
-
oRenderManager.
|
|
21
|
-
oRenderManager.addStyle("overflow", "hidden");
|
|
22
|
-
oRenderManager.writeStyles();
|
|
23
|
-
oRenderManager.write(">");
|
|
15
|
+
oRenderManager.openStart("div", oControl);
|
|
16
|
+
oRenderManager.class("sapGanttChartLayoutBG");
|
|
17
|
+
oRenderManager.style("width", "100%");
|
|
18
|
+
oRenderManager.style("height", "100%");
|
|
19
|
+
oRenderManager.style("overflow", "hidden");
|
|
20
|
+
oRenderManager.openEnd();
|
|
24
21
|
}
|
|
25
|
-
oRenderManager.renderControl(
|
|
22
|
+
oRenderManager.renderControl(Core.byId(oControl.getContent()));
|
|
26
23
|
if (oControl.getEnableRootDiv()) {
|
|
27
|
-
oRenderManager.
|
|
24
|
+
oRenderManager.close("div");
|
|
28
25
|
}
|
|
29
26
|
};
|
|
30
27
|
|