@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
|
@@ -23,11 +23,11 @@ sap.ui.define([
|
|
|
23
23
|
* @extends sap.gantt.config.ToolbarGroup
|
|
24
24
|
*
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.125.0
|
|
27
27
|
*
|
|
28
28
|
* @constructor
|
|
29
29
|
* @public
|
|
30
|
-
* @deprecated Since version 1.64
|
|
30
|
+
* @deprecated Since version 1.64, the concept has been discarded.
|
|
31
31
|
* @alias sap.gantt.config.TimeZoomGroup
|
|
32
32
|
*/
|
|
33
33
|
var TimeZoomGroup = ToolbarGroup.extend("sap.gantt.config.TimeZoomGroup", /** @lends sap.gantt.config.LayoutGroup.prototype */ {
|
|
@@ -23,11 +23,11 @@ sap.ui.define([
|
|
|
23
23
|
* @extends sap.ui.core.Element
|
|
24
24
|
*
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.125.0
|
|
27
27
|
*
|
|
28
28
|
* @constructor
|
|
29
29
|
* @public
|
|
30
|
-
* @deprecated Since version 1.64
|
|
30
|
+
* @deprecated Since version 1.64, the concept has been discarded.
|
|
31
31
|
* @alias sap.gantt.config.ToolbarGroup
|
|
32
32
|
*/
|
|
33
33
|
var ToolbarGroup = Element.extend("sap.gantt.config.ToolbarGroup", /** @lends sap.gantt.config.ToolbarGroup.prototype */ {
|
|
@@ -20,11 +20,11 @@ sap.ui.define([
|
|
|
20
20
|
* @extends sap.ui.core.Element
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.125.0
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @public
|
|
27
|
-
* @deprecated Since version 1.64
|
|
27
|
+
* @deprecated Since version 1.64, the concept has been discarded.
|
|
28
28
|
* @alias sap.gantt.config.ToolbarScheme
|
|
29
29
|
*/
|
|
30
30
|
var ToolbarScheme = Element.extend("sap.gantt.config.ToolbarScheme", /** @lends sap.gantt.config.ToolbarScheme.prototype */ {
|
|
@@ -24,11 +24,11 @@ sap.ui.define([
|
|
|
24
24
|
* @extends sap.ui.core.Control
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.125.0
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
31
|
-
* @deprecated Since version 1.64
|
|
31
|
+
* @deprecated Since version 1.64, the concept has been discarded.
|
|
32
32
|
* @alias sap.gantt.control.Cell
|
|
33
33
|
*/
|
|
34
34
|
var Cell = Control.extend("sap.gantt.control.Cell",/** @lends sap.gantt.control.Cell.prototype */ {
|
|
@@ -101,13 +101,11 @@ sap.ui.define([
|
|
|
101
101
|
oldValue = oChangeContent["oldValue"];
|
|
102
102
|
oChange.setRevertData(oldValue);
|
|
103
103
|
oModifier.setPropertyBindingOrProperty(oControl, sPropertyName, newValue);
|
|
104
|
-
oModifier.setPropertyBindingOrProperty(oControl, "sorted", true);
|
|
105
104
|
var aDependentControls = oChange.getDependentControl("ADDITIONAL_CONTROLS", mPropertyBag);
|
|
106
105
|
if (aDependentControls && aDependentControls.length > 0) {
|
|
107
106
|
aDependentControls.forEach(function(oDependentControl) {
|
|
108
107
|
if (oDependentControl) {
|
|
109
|
-
oModifier.setPropertyBindingOrProperty(oDependentControl, sPropertyName, "
|
|
110
|
-
oModifier.setPropertyBindingOrProperty(oDependentControl, "sorted", false);
|
|
108
|
+
oModifier.setPropertyBindingOrProperty(oDependentControl, sPropertyName, "None");
|
|
111
109
|
}
|
|
112
110
|
});
|
|
113
111
|
}
|
|
@@ -119,7 +117,6 @@ sap.ui.define([
|
|
|
119
117
|
var oChangeContent = oChange.getContent(),
|
|
120
118
|
sPropertyName = oChangeContent["propertyName"];
|
|
121
119
|
oModifier.setPropertyBindingOrProperty(oControl, sPropertyName, oldValue);
|
|
122
|
-
oModifier.setPropertyBindingOrProperty(oControl, "sorted", false);
|
|
123
120
|
oChange.resetRevertData();
|
|
124
121
|
return true;
|
|
125
122
|
},
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
|
|
2
|
+
/*!
|
|
3
|
+
* SAP UI development toolkit for HTML5 (SAPUI5)
|
|
4
|
+
|
|
5
|
+
(c) Copyright 2009-2015 SAP SE. All rights reserved
|
|
6
|
+
|
|
7
|
+
*/
|
|
8
|
+
sap.ui.define([
|
|
9
|
+
"sap/ui/core/Control"
|
|
10
|
+
], function (Control) {
|
|
11
|
+
"use strict";
|
|
12
|
+
/**
|
|
13
|
+
* Creates and initializes a new class for side panel.
|
|
14
|
+
*
|
|
15
|
+
* @param {string} [sId] ID of the new control. The ID is generated automatically if it is not provided.
|
|
16
|
+
* @param {object} [mSetting] Initial settings for the new control
|
|
17
|
+
*
|
|
18
|
+
* @class
|
|
19
|
+
* Enables applications to place a custom control within the Gantt Chart Container.
|
|
20
|
+
* The Side Panel control manages the rendering of the control placed in the <code>content</code> aggregation. The child control also receives <code>onActivated</code> and <code>onDeactivated</code> pseudo-events when activated or deactivated.
|
|
21
|
+
* <code>
|
|
22
|
+
* const sidePanel = this.getParent();
|
|
23
|
+
*
|
|
24
|
+
* sidePanel.addEventDelegate({
|
|
25
|
+
* onActivated: (evt) => {}, //on activate handler
|
|
26
|
+
* onDeactivated: (evt) => {} //on deactivate handler
|
|
27
|
+
* })
|
|
28
|
+
* </code>
|
|
29
|
+
*
|
|
30
|
+
* @extends sap.ui.core.Control
|
|
31
|
+
*
|
|
32
|
+
* @author SAP SE
|
|
33
|
+
* @version 1.125.0
|
|
34
|
+
* @since 1.126
|
|
35
|
+
*
|
|
36
|
+
* @constructor
|
|
37
|
+
* @public
|
|
38
|
+
* @alias sap.gantt.layouts.SidePanel
|
|
39
|
+
*/
|
|
40
|
+
var SidePanel = Control.extend("sap.gantt.layouts.SidePanel", {
|
|
41
|
+
metadata: {
|
|
42
|
+
library: "sap.gantt",
|
|
43
|
+
defaultAggregation: "content",
|
|
44
|
+
properties: {
|
|
45
|
+
/**
|
|
46
|
+
* If this property is set to true, the content is shown in the side panel.
|
|
47
|
+
* @since 1.126
|
|
48
|
+
*/
|
|
49
|
+
visible: { type: "boolean", defaultValue: false }
|
|
50
|
+
},
|
|
51
|
+
aggregations: {
|
|
52
|
+
/**
|
|
53
|
+
* Control to be placed in the side panel.
|
|
54
|
+
* @since 1.126
|
|
55
|
+
*/
|
|
56
|
+
content: { type: "sap.ui.core.Control", multiple: false }
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Control init handler
|
|
63
|
+
* @private
|
|
64
|
+
* @override
|
|
65
|
+
*/
|
|
66
|
+
SidePanel.prototype.init = function () {
|
|
67
|
+
this._oLocalAggregation = {
|
|
68
|
+
content: null
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Method to hide or show the side panel
|
|
74
|
+
* @param {boolean} bEnabled flag to hide or show the side panel
|
|
75
|
+
* @override
|
|
76
|
+
* @public
|
|
77
|
+
* @since 1.126
|
|
78
|
+
* @returns {this} returns the control for chaining
|
|
79
|
+
*/
|
|
80
|
+
SidePanel.prototype.setVisible = function (bEnabled) {
|
|
81
|
+
this._setPanelVisibility(bEnabled);
|
|
82
|
+
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Aggregation to set the content of the side panel
|
|
88
|
+
* @param {sap.ui.core.Control} oControl control to be placed
|
|
89
|
+
* @param {boolean} bSuppressInvalidate flag to suppress the invalidation
|
|
90
|
+
* @public
|
|
91
|
+
* @since 1.126
|
|
92
|
+
* @returns {sap.gantt.layouts.SidePanel} returns the control for chaining
|
|
93
|
+
*/
|
|
94
|
+
SidePanel.prototype.setContent = function (oControl, bSuppressInvalidate) {
|
|
95
|
+
if (this._bActive) {
|
|
96
|
+
this.setAggregation("content", oControl, true);
|
|
97
|
+
|
|
98
|
+
if (!bSuppressInvalidate) {
|
|
99
|
+
this._createInvalidation();
|
|
100
|
+
}
|
|
101
|
+
} else {
|
|
102
|
+
this._oLocalAggregation["content"] = oControl;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
return this;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Method to enable or disable the side panel visibility
|
|
110
|
+
* @param {boolean} bEnabled flag to enable or disable the side panel
|
|
111
|
+
* @param {boolean} bSuppressInvalidate flag to suppress the invalidation
|
|
112
|
+
* @private
|
|
113
|
+
* @returns {sap.gantt.layouts.SidePanel} returns the control for chaining
|
|
114
|
+
*/
|
|
115
|
+
SidePanel.prototype._setPanelVisibility = function (bEnabled, bSuppressInvalidate) {
|
|
116
|
+
var bIsEnabled = this.getVisible();
|
|
117
|
+
this.setProperty("visible", bEnabled, true);
|
|
118
|
+
|
|
119
|
+
if (bEnabled != bIsEnabled) {
|
|
120
|
+
if (bIsEnabled) {
|
|
121
|
+
this._deactivate();
|
|
122
|
+
} else {
|
|
123
|
+
this._activate();
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
if (!bSuppressInvalidate) {
|
|
127
|
+
this._createInvalidation();
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
return this;
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Internal side panel activation handler
|
|
136
|
+
* @private
|
|
137
|
+
* @return {void}
|
|
138
|
+
*/
|
|
139
|
+
SidePanel.prototype._activate = function () {
|
|
140
|
+
if (this._bActive) {
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
this.setAggregation("content", this._oLocalAggregation["content"], true);
|
|
145
|
+
|
|
146
|
+
this._bActive = true;
|
|
147
|
+
this._handleEvent(new jQuery.Event("Activated"));
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Internal side panel deactivation handler
|
|
152
|
+
* @private
|
|
153
|
+
* @return {void}
|
|
154
|
+
*/
|
|
155
|
+
SidePanel.prototype._deactivate = function () {
|
|
156
|
+
if (!this._bActive) {
|
|
157
|
+
return;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
this._oLocalAggregation["content"] = this.getAggregation("content");
|
|
161
|
+
this.setAggregation("content", null, true);
|
|
162
|
+
|
|
163
|
+
this._bActive = false;
|
|
164
|
+
this._handleEvent(new jQuery.Event("Deactivated"));
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Notify parent on the attach of the side panel with the instance.
|
|
169
|
+
* @param {object} oParent new parent control
|
|
170
|
+
* @private
|
|
171
|
+
* @override
|
|
172
|
+
*/
|
|
173
|
+
SidePanel.prototype.setParent = function (oParent) {
|
|
174
|
+
Control.prototype.setParent.apply(this, arguments);
|
|
175
|
+
|
|
176
|
+
if (oParent && oParent.onSidePanelAttach) {
|
|
177
|
+
oParent.onSidePanelAttach(this);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
return this;
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Create side panel invalidation for the parent control.
|
|
185
|
+
* @private
|
|
186
|
+
* @returns {sap.gantt.layouts.SidePanel} returns the control for chaining
|
|
187
|
+
*/
|
|
188
|
+
SidePanel.prototype._createInvalidation = function () {
|
|
189
|
+
const oParent = this.getParent();
|
|
190
|
+
if (oParent) {
|
|
191
|
+
oParent.invalidate(this);
|
|
192
|
+
}
|
|
193
|
+
return this;
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
return SidePanel;
|
|
197
|
+
});
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* SAP UI development toolkit for HTML5 (SAPUI5)
|
|
3
|
+
|
|
4
|
+
(c) Copyright 2009-2015 SAP SE. All rights reserved
|
|
5
|
+
|
|
6
|
+
*/
|
|
7
|
+
sap.ui.define([
|
|
8
|
+
|
|
9
|
+
], function () {
|
|
10
|
+
"use strict";
|
|
11
|
+
|
|
12
|
+
const SidePanelRenderer = {
|
|
13
|
+
apiVersion: 2
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
SidePanelRenderer.render = function (oRm, oControl) {
|
|
17
|
+
const oContent = oControl.getContent();
|
|
18
|
+
|
|
19
|
+
if (oControl._bActive && oContent) {
|
|
20
|
+
oRm.openStart("div", oControl);
|
|
21
|
+
oRm.openEnd();
|
|
22
|
+
oRm.renderControl(oControl.getContent());
|
|
23
|
+
oRm.close("div");
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
return SidePanelRenderer;
|
|
28
|
+
});
|
|
@@ -29,11 +29,11 @@ sap.ui.define([
|
|
|
29
29
|
* @extends sap.gantt.legend.LegendBase
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.125.0
|
|
33
33
|
*
|
|
34
34
|
* @constructor
|
|
35
35
|
* @public
|
|
36
|
-
* @deprecated Since version 1.64
|
|
36
|
+
* @deprecated Since version 1.64, replaced by {@link sap.gantt.simple.DimensionLegend}.
|
|
37
37
|
* @alias sap.gantt.legend.DimensionLegend
|
|
38
38
|
*/
|
|
39
39
|
var DimensionLegend = LegendBase.extend("sap.gantt.legend.DimensionLegend",/** @lends sap.gantt.legend.DimensionLegend.prototype */ {
|
|
@@ -38,11 +38,11 @@ sap.ui.define([
|
|
|
38
38
|
* @abstract
|
|
39
39
|
*
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.125.0
|
|
42
42
|
*
|
|
43
43
|
* @constructor
|
|
44
44
|
* @public
|
|
45
|
-
* @deprecated Since version 1.64
|
|
45
|
+
* @deprecated Since version 1.64, the concept has been discarded.
|
|
46
46
|
* @alias sap.gantt.legend.LegendBase
|
|
47
47
|
*/
|
|
48
48
|
var LegendBase = Control.extend("sap.gantt.legend.LegendBase",/** @lends sap.gantt.legend.LegendBase.prototype */ {
|
|
@@ -22,11 +22,11 @@ sap.ui.define([
|
|
|
22
22
|
* @extends sap.ui.core.Control
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.125.0
|
|
26
26
|
*
|
|
27
27
|
* @constructor
|
|
28
28
|
* @public
|
|
29
|
-
* @deprecated Since version 1.64
|
|
29
|
+
* @deprecated Since version 1.64, replaced by {@link sap.gantt.simple.LegendContainer}.
|
|
30
30
|
* @alias sap.gantt.legend.LegendContainer
|
|
31
31
|
*/
|
|
32
32
|
var LegendContainer = Control.extend("sap.gantt.legend.LegendContainer", /** @lends sap.gantt.legend.Legend.prototype */ {
|
|
@@ -12,7 +12,7 @@ sap.gantt.legend = sap.gantt.legend || {};
|
|
|
12
12
|
*
|
|
13
13
|
* @enum {string}
|
|
14
14
|
* @public
|
|
15
|
-
* @deprecated Since version 1.64
|
|
15
|
+
* @deprecated Since version 1.64, the concept has been discarded.
|
|
16
16
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
17
17
|
*/
|
|
18
18
|
sap.gantt.legend.ListLegendItemCheckbox = {
|
|
@@ -52,11 +52,11 @@ sap.ui.define([
|
|
|
52
52
|
* @extends sap.gantt.legend.LegendBase
|
|
53
53
|
*
|
|
54
54
|
* @author SAP SE
|
|
55
|
-
* @version 1.
|
|
55
|
+
* @version 1.125.0
|
|
56
56
|
*
|
|
57
57
|
* @constructor
|
|
58
58
|
* @public
|
|
59
|
-
* @deprecated Since version 1.64
|
|
59
|
+
* @deprecated Since version 1.64, replaced by {@link ap.gantt.simple.ListLegend}.
|
|
60
60
|
* @alias sap.gantt.legend.ListLegend
|
|
61
61
|
*/
|
|
62
62
|
var ListLegend = LegendBase.extend("sap.gantt.legend.ListLegend",/** @lends sap.gantt.legend.ListLegend.prototype */ {
|
package/src/sap/gantt/library.js
CHANGED
|
@@ -165,7 +165,7 @@ sap.ui.define([
|
|
|
165
165
|
}
|
|
166
166
|
},
|
|
167
167
|
noLibraryCSS: false,
|
|
168
|
-
version: "1.
|
|
168
|
+
version: "1.125.0"
|
|
169
169
|
});
|
|
170
170
|
|
|
171
171
|
|
|
@@ -777,7 +777,7 @@ sap.ui.define([
|
|
|
777
777
|
|
|
778
778
|
/**
|
|
779
779
|
* Define the type of zoom control in global tool bar
|
|
780
|
-
* @version 1.
|
|
780
|
+
* @version 1.125.0
|
|
781
781
|
* @enum {string}
|
|
782
782
|
* @public
|
|
783
783
|
*/
|
|
@@ -2333,9 +2333,9 @@ sap.ui.define([
|
|
|
2333
2333
|
|
|
2334
2334
|
/**
|
|
2335
2335
|
* Defines the default configuration object Locale.
|
|
2336
|
-
* The configured time zone is considered as the default time zone for the locale, see {@link sap.
|
|
2336
|
+
* The configured time zone is considered as the default time zone for the locale, see {@link sap.base.i18n.Localization#getTimezone}..
|
|
2337
2337
|
* <b>Note:</b> Adjusting the time zone in a running application can lead to unexpected data
|
|
2338
|
-
* inconsistencies. For more information, see {@link sap
|
|
2338
|
+
* inconsistencies. For more information, see {@link sap/base/i18n/Localization#setTimezone}.
|
|
2339
2339
|
* Default values
|
|
2340
2340
|
* <ul>
|
|
2341
2341
|
* <li>timeZoine - <code>null</code></li>
|
|
@@ -195,10 +195,13 @@ ARIA_CALENDAR=\u0647\u0630\u0627 \u062A\u0642\u0648\u064A\u0645 SVG.
|
|
|
195
195
|
|
|
196
196
|
ARIA_RELATIONSHIP=\u0647\u0630\u0647 \u0639\u0644\u0627\u0642\u0629 SVG.
|
|
197
197
|
|
|
198
|
-
ARIA_GANTT_HEADER=\
|
|
198
|
+
ARIA_GANTT_HEADER=\u0645\u0642\u062F\u0645\u0629 \u0645\u062E\u0637\u0637 \u062C\u0627\u0646\u062A.
|
|
199
199
|
|
|
200
|
-
ARIA_GANTT_CHART=\
|
|
200
|
+
ARIA_GANTT_CHART=\u0645\u062E\u0637\u0637 \u062C\u0627\u0646\u062A.
|
|
201
201
|
|
|
202
|
+
ARIA_GANTT_INNER_HEADER=\u0645\u0642\u062F\u0645\u0629 \u062F\u0627\u062E\u0644\u064A\u0629 \u0644\u0645\u062E\u0637\u0637 \u062C\u0627\u0646\u062A.
|
|
203
|
+
|
|
204
|
+
ARIA_GANTT_CALENDARS=\u062A\u0642\u0648\u064A\u0645\u0627\u062A \u0645\u062E\u0637\u0637 \u062C\u0627\u0646\u062A.
|
|
202
205
|
|
|
203
206
|
GNT_PRNTG_PDF_EXPORT_TITLE=\u062A\u0635\u062F\u064A\u0631 PDF
|
|
204
207
|
|
|
@@ -195,10 +195,13 @@ ARIA_CALENDAR=\u0422\u043E\u0432\u0430 \u0435 SVG \u043A\u0430\u043B\u0435\u043D
|
|
|
195
195
|
|
|
196
196
|
ARIA_RELATIONSHIP=\u0422\u043E\u0432\u0430 \u0435 SVG \u043E\u0442\u043D\u043E\u0448\u0435\u043D\u0438\u0435.
|
|
197
197
|
|
|
198
|
-
ARIA_GANTT_HEADER=\
|
|
198
|
+
ARIA_GANTT_HEADER=\u0417\u0430\u0433\u043B\u0430\u0432\u043A\u0430 \u043D\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430\u0442\u0430 \u043D\u0430 \u0413\u0430\u043D\u0442.
|
|
199
199
|
|
|
200
|
-
ARIA_GANTT_CHART=\
|
|
200
|
+
ARIA_GANTT_CHART=\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u0430 \u043D\u0430 \u0413\u0430\u043D\u0442.
|
|
201
201
|
|
|
202
|
+
ARIA_GANTT_INNER_HEADER=\u0412\u044A\u0442\u0440\u0435\u0448\u043D\u0430 \u0437\u0430\u0433\u043B\u0430\u0432\u043A\u0430 \u043D\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430\u0442\u0430 \u043D\u0430 \u0413\u0430\u043D\u0442.
|
|
203
|
+
|
|
204
|
+
ARIA_GANTT_CALENDARS=\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438 \u043D\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430\u0442\u0430 \u043D\u0430 \u0413\u0430\u043D\u0442.
|
|
202
205
|
|
|
203
206
|
GNT_PRNTG_PDF_EXPORT_TITLE=PDF \u0435\u043A\u0441\u043F\u043E\u0440\u0442
|
|
204
207
|
|
|
@@ -195,10 +195,13 @@ ARIA_CALENDAR=Aix\u00F2 \u00E9s un calendari SVG.
|
|
|
195
195
|
|
|
196
196
|
ARIA_RELATIONSHIP=Aix\u00F2 \u00E9s una relaci\u00F3 SVG.
|
|
197
197
|
|
|
198
|
-
ARIA_GANTT_HEADER=
|
|
198
|
+
ARIA_GANTT_HEADER=Cap\u00E7alera de diagrama de Gantt.
|
|
199
199
|
|
|
200
|
-
ARIA_GANTT_CHART=
|
|
200
|
+
ARIA_GANTT_CHART=Diagrama de Gantt.
|
|
201
201
|
|
|
202
|
+
ARIA_GANTT_INNER_HEADER=Cap\u00E7alera interna de diagrama de Gantt.
|
|
203
|
+
|
|
204
|
+
ARIA_GANTT_CALENDARS=Calendaris de diagrames de Gantt.
|
|
202
205
|
|
|
203
206
|
GNT_PRNTG_PDF_EXPORT_TITLE=Exportaci\u00F3 a PDF
|
|
204
207
|
|