@sapui5/sap.gantt 1.125.0 → 1.126.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 +6 -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 +58 -8
- 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 +10 -4
- 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/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/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 +13 -3
- package/src/sap/gantt/messagebundle_sh.properties +30 -30
- package/src/sap/gantt/misc/AxisTime.js +80 -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 +1 -1
- package/src/sap/gantt/overlays/GanttRowOverlay.js +80 -16
- package/src/sap/gantt/overlays/Overlay.js +1 -1
- package/src/sap/gantt/polyfills/lib.js +1 -1
- package/src/sap/gantt/polyfills/time.js +7 -7
- package/src/sap/gantt/polyfills/{time-utils → timeUtils}/dayCount.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 +2 -2
- 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 +11 -58
- 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 +4 -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 +4 -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 +13 -4
- 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 -3
- package/src/sap/gantt/simple/GanttAdaptationData.js +1 -1
- package/src/sap/gantt/simple/GanttChartContainer.js +8 -2
- package/src/sap/gantt/simple/GanttChartWithTable.js +36 -2
- package/src/sap/gantt/simple/GanttDragDropExtension.js +8 -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 +3 -2
- package/src/sap/gantt/simple/GanttRowAction.js +1 -1
- package/src/sap/gantt/simple/GanttRowSettings.js +30 -1
- package/src/sap/gantt/simple/GanttScrollExtension.js +19 -4
- package/src/sap/gantt/simple/GanttUtils.js +85 -0
- package/src/sap/gantt/simple/InnerGanttChart.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/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 +4 -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 +63 -0
- package/src/sap/gantt/skipTime/DiscontinuousProvider.js +48 -0
- package/src/sap/gantt/skipTime/SkipInterval.js +76 -0
- package/src/sap/gantt/skipTime/SkipPattern.js +64 -0
- package/src/sap/gantt/skipTime/WeekPattern.js +118 -0
- package/src/sap/gantt/skipTime/WeeklyDiscontinuousProvider.js +78 -0
- package/src/sap/gantt/themes/sap_hcb/base_Gantt.less +899 -0
- package/src/sap/gantt/themes/sap_hcb/base_GanttPrinting.less +101 -0
- package/src/sap/gantt/themes/sap_hcb/base_GanttSyncedControl.less +96 -0
- package/src/sap/gantt/themes/sap_hcb/library.source.less +15 -1
- package/src/sap/gantt/thirdparty/d3fc-discontinuous-scale.js +1129 -0
- package/src/sap/gantt/thirdparty/d3fc-rebind.js +103 -0
- package/src/sap/gantt/thirdparty/licenses/d3fc-MIT-LICENSE.txt +21 -0
- /package/src/sap/gantt/polyfills/{time-utils → timeUtils}/day.js +0 -0
- /package/src/sap/gantt/polyfills/{time-utils → timeUtils}/days.js +0 -0
- /package/src/sap/gantt/polyfills/{time-utils → timeUtils}/interval.js +0 -0
- /package/src/sap/gantt/polyfills/{time-utils → timeUtils}/millisecond.js +0 -0
- /package/src/sap/gantt/polyfills/{time-utils → timeUtils}/monday.js +0 -0
- /package/src/sap/gantt/polyfills/{time-utils → timeUtils}/saturday.js +0 -0
- /package/src/sap/gantt/polyfills/{time-utils → timeUtils}/weeks.js +0 -0
package/src/sap/gantt/library.js
CHANGED
|
@@ -8,6 +8,17 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* Initialization Code and shared classes of library sap.gantt.
|
|
10
10
|
*/
|
|
11
|
+
sap.ui.loader.config({
|
|
12
|
+
shim: {
|
|
13
|
+
'sap/gantt/thirdparty/d3fc-discontinuous-scale': {
|
|
14
|
+
deps: ["sap/gantt/polyfills/lib", "sap/gantt/thirdparty/d3fc-rebind"],
|
|
15
|
+
amd: true
|
|
16
|
+
},
|
|
17
|
+
'sap/gantt/thirdparty/d3fc-rebind': {
|
|
18
|
+
amd: true
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
});
|
|
11
22
|
sap.ui.define([
|
|
12
23
|
"sap/ui/base/DataType",
|
|
13
24
|
"sap/ui/core/theming/Parameters",
|
|
@@ -28,7 +39,6 @@ sap.ui.define([
|
|
|
28
39
|
], function(DataType, Parameters, TimeHorizon, MarkerType, LegendShapeGroupOrientation, GanttChartConfigurationUtils, Lib, Core, mLibrary) {
|
|
29
40
|
"use strict";
|
|
30
41
|
|
|
31
|
-
|
|
32
42
|
/**
|
|
33
43
|
* UI5 library: sap.gantt.
|
|
34
44
|
*
|
|
@@ -165,7 +175,7 @@ sap.ui.define([
|
|
|
165
175
|
}
|
|
166
176
|
},
|
|
167
177
|
noLibraryCSS: false,
|
|
168
|
-
version: "1.
|
|
178
|
+
version: "1.126.0"
|
|
169
179
|
});
|
|
170
180
|
|
|
171
181
|
|
|
@@ -777,7 +787,7 @@ sap.ui.define([
|
|
|
777
787
|
|
|
778
788
|
/**
|
|
779
789
|
* Define the type of zoom control in global tool bar
|
|
780
|
-
* @version 1.
|
|
790
|
+
* @version 1.126.0
|
|
781
791
|
* @enum {string}
|
|
782
792
|
* @public
|
|
783
793
|
*/
|
|
@@ -6,7 +6,7 @@ GNT_FIND=Na\u0111i u Gantovom dijagramu
|
|
|
6
6
|
|
|
7
7
|
GNT_SEARCH_SIDE_PANEL=Bo\u010Dni panel
|
|
8
8
|
|
|
9
|
-
GNT_FIND_NEXT=
|
|
9
|
+
GNT_FIND_NEXT=Slede\u0107e
|
|
10
10
|
|
|
11
11
|
GNT_FIND_PREVIOUS=Prethodno
|
|
12
12
|
|
|
@@ -14,9 +14,9 @@ GNT_FIND_CLOSE=Zatvori
|
|
|
14
14
|
|
|
15
15
|
GNT_FIND_POPUP=Prekida\u010D za kori\u0161\u0107enje opcije Na\u0111i na paleti sa alatkama
|
|
16
16
|
|
|
17
|
-
GNT_EMPTY_LIST_FIELD_INFO=Unesite tekst u polje \u201ENa\u0111i\u201C da biste
|
|
17
|
+
GNT_EMPTY_LIST_FIELD_INFO=Unesite tekst u polje \u201ENa\u0111i\u201C da biste videli rezultate.
|
|
18
18
|
|
|
19
|
-
GNT_EMPTY_LIST_INFO=Rezultati
|
|
19
|
+
GNT_EMPTY_LIST_INFO=Rezultati nisu na\u0111eni.
|
|
20
20
|
|
|
21
21
|
GNT_EMPTY_RESULT_INFO_TOOLBAR=(0/0)
|
|
22
22
|
|
|
@@ -36,7 +36,7 @@ TLTP_SHOW_LEGEND=Poka\u017Ei legendu
|
|
|
36
36
|
|
|
37
37
|
TLTP_HIDE_LEGEND=Sakrij legendu
|
|
38
38
|
|
|
39
|
-
TLTP_CHANGE_SETTINGS=
|
|
39
|
+
TLTP_CHANGE_SETTINGS=Promeni pode\u0161avanja
|
|
40
40
|
|
|
41
41
|
TLTP_COLLAPSE=Sa\u017Emi
|
|
42
42
|
|
|
@@ -66,9 +66,9 @@ TXT_BRIDEYE_RANGE_ALL_ROWS=Svi redovi
|
|
|
66
66
|
|
|
67
67
|
TXT_BRIDEYE_RANGE_VISIBLE_ROWS=Vidljivi redovi
|
|
68
68
|
|
|
69
|
-
TLTP_BRIDEYE_ON_ALL_ROWS=
|
|
69
|
+
TLTP_BRIDEYE_ON_ALL_ROWS=Promenite nivo zumiranja da bi se u svim redovima oblici uklopili u okviru \u0161irine trenutnog pogleda
|
|
70
70
|
|
|
71
|
-
TLTP_BRIDEYE_ON_VISIBLE_ROWS=
|
|
71
|
+
TLTP_BRIDEYE_ON_VISIBLE_ROWS=Promenite nivo zumiranja da bi se u vidljivim redovima oblici uklopili u okviru \u0161irine trenutnog pogleda
|
|
72
72
|
|
|
73
73
|
TLTP_DISPLAY_TYPE_BUTTON_BOTH=Prika\u017Ei tabelu i dijagram
|
|
74
74
|
|
|
@@ -94,31 +94,31 @@ SWZS_SIX_HOURS=\u0160est sati
|
|
|
94
94
|
|
|
95
95
|
SWZS_DATE_1=Datum (pon 01...)
|
|
96
96
|
|
|
97
|
-
SWZS_DATE_PATTERN={0}
|
|
97
|
+
SWZS_DATE_PATTERN={0}Nedelja{1}
|
|
98
98
|
|
|
99
|
-
SWZS_CW=Kalendarska
|
|
99
|
+
SWZS_CW=Kalendarska nedelja
|
|
100
100
|
|
|
101
101
|
SWZS_DATE_2=Datum (01-31)
|
|
102
102
|
|
|
103
|
-
SWZS_WEEK_1=
|
|
103
|
+
SWZS_WEEK_1=Nedelja (teku\u0107a nedelja 01-53)
|
|
104
104
|
|
|
105
|
-
SWZS_WEEK_2=
|
|
105
|
+
SWZS_WEEK_2=Nedelja (01-53)
|
|
106
106
|
|
|
107
|
-
SWZS_MONTH=
|
|
107
|
+
SWZS_MONTH=Mesec
|
|
108
108
|
|
|
109
109
|
SWZS_QUARTER=Kvartal
|
|
110
110
|
|
|
111
111
|
SWZS_YEAR=Godina
|
|
112
112
|
|
|
113
113
|
|
|
114
|
-
TLTP_CAPACITY=Kapacitet\: {0}\
|
|
114
|
+
TLTP_CAPACITY=Kapacitet\: {0}\nZahtevani kapacitet\: {1}\n
|
|
115
115
|
|
|
116
116
|
TLTP_OVER_CAPACITY=Preko kapaciteta\: {0}\n
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
XCEL_GANTT_CELL=\u0106elija Gantovog dijagrama
|
|
120
120
|
|
|
121
|
-
XCKL_NOW_LINE=Poka\u017Ei teku\u0107e
|
|
121
|
+
XCKL_NOW_LINE=Poka\u017Ei teku\u0107e vreme
|
|
122
122
|
|
|
123
123
|
TLTP_CLOSE=Zatvori
|
|
124
124
|
|
|
@@ -140,11 +140,11 @@ XCKL_DELTA_LINE=Poka\u017Ei delta redove
|
|
|
140
140
|
|
|
141
141
|
TLTP_DELTA_LINE=Poka\u017Ei delta redove
|
|
142
142
|
|
|
143
|
-
XCKL_NON_WORKING_TIME=Poka\u017Ei neradno
|
|
143
|
+
XCKL_NON_WORKING_TIME=Poka\u017Ei neradno vreme
|
|
144
144
|
|
|
145
|
-
XCKL_TIME_SCROLL_SYNC=Sinhrinizuj
|
|
145
|
+
XCKL_TIME_SCROLL_SYNC=Sinhrinizuj pomeranje vremena
|
|
146
146
|
|
|
147
|
-
TLTP_TIME_SCROLL_SYNC=Sinhronizuj horizontalne trake za
|
|
147
|
+
TLTP_TIME_SCROLL_SYNC=Sinhronizuj horizontalne trake za pomeranje u dijagramu
|
|
148
148
|
|
|
149
149
|
XCKL_STATUS_BAR=Poka\u017Ei statusnu traku
|
|
150
150
|
|
|
@@ -235,9 +235,9 @@ GNT_PRNTG_DURATION=Trajanje
|
|
|
235
235
|
|
|
236
236
|
GNT_PRNTG_DURATION_ALL=Sve
|
|
237
237
|
|
|
238
|
-
GNT_PRNTG_DURATION_NEXT_WEEK=
|
|
238
|
+
GNT_PRNTG_DURATION_NEXT_WEEK=Slede\u0107a nedelja
|
|
239
239
|
|
|
240
|
-
GNT_PRNTG_DURATION_NEXT_MONTH=
|
|
240
|
+
GNT_PRNTG_DURATION_NEXT_MONTH=Slede\u0107i mesec
|
|
241
241
|
|
|
242
242
|
GNT_PRNTG_DURATION_CUSTOM=Korisni\u010Dki definisano
|
|
243
243
|
|
|
@@ -271,15 +271,15 @@ GNT_PRNTG_MARGIN_CUSTOM=Korisni\u010Dki definisano
|
|
|
271
271
|
|
|
272
272
|
GNT_PRNTG_MARGIN_TOP=Gore
|
|
273
273
|
|
|
274
|
-
GNT_PRNTG_MARGIN_BOTTOM=
|
|
274
|
+
GNT_PRNTG_MARGIN_BOTTOM=Dole
|
|
275
275
|
|
|
276
|
-
GNT_PRNTG_MARGIN_LEFT=
|
|
276
|
+
GNT_PRNTG_MARGIN_LEFT=Levo
|
|
277
277
|
|
|
278
278
|
GNT_PRNTG_MARGIN_RIGHT=Desno
|
|
279
279
|
|
|
280
|
-
GNT_PRNTG_MARGIN_HEIGHT_ERROR=Margine ne
|
|
280
|
+
GNT_PRNTG_MARGIN_HEIGHT_ERROR=Margine ne smeju da prekora\u010De 33% visine stranice.
|
|
281
281
|
|
|
282
|
-
GNT_PRNTG_MARGIN_WIDTH_ERROR=Margine ne
|
|
282
|
+
GNT_PRNTG_MARGIN_WIDTH_ERROR=Margine ne smeju da prekora\u010De 33% \u0161irine stranice.
|
|
283
283
|
|
|
284
284
|
GNT_PRNTG_HEADER_FOOTER_TEXT_ERROR=Du\u017Eina teksta unosa je dostigla maksimalno ograni\u010Denje.
|
|
285
285
|
|
|
@@ -301,9 +301,9 @@ GNT_PRNTG_COMPRESSION_PNG_WARNING=Izvoz u PNG mo\u017Ee potrajati.
|
|
|
301
301
|
|
|
302
302
|
GNT_PRNTG_PDF_PREVIEW=Generisanje prethodnog prikaza PDF-a
|
|
303
303
|
|
|
304
|
-
GNT_PRNTG_ERROR_BIGCHART=Ovaj Gantov dijagram je prevelik i ne mo\u017Ee se
|
|
304
|
+
GNT_PRNTG_ERROR_BIGCHART=Ovaj Gantov dijagram je prevelik i ne mo\u017Ee se izvesti. Da biste izvezli ovaj dijagram, uskladite nivo zumiranja ili skratite trajanje.
|
|
305
305
|
|
|
306
|
-
GNT_PRNTG_ERROR_TOOHIGHCHART=Ovaj Gantov dijagram je prevelik i ne mo\u017Ee se
|
|
306
|
+
GNT_PRNTG_ERROR_TOOHIGHCHART=Ovaj Gantov dijagram je prevelik i ne mo\u017Ee se izvesti.\n\nDa biste izvezli ovaj dijagram, uskladite njegovu visinu sa\u017Eimanjem nekih redova. Dijagram se ne mo\u017Ee izvesti ako neki redovi nisu sa\u017Eeti.
|
|
307
307
|
|
|
308
308
|
GNT_PRNTG_SINGLE_PAGE_QUALITY=Kvalitet PDF-a mo\u017Ee biti nezadovoljavaju\u0107i jer je Gantov dijagram ve\u0107i u odnosu na veli\u010Dinu papira. Da biste postigli bolji kvalitet \u0161tampanja, razmislite o upotrebi ve\u0107e veli\u010Dine papira ili prelasku na vi\u0161estruke stranice.
|
|
309
309
|
|
|
@@ -331,9 +331,9 @@ GNT_PRNTG_PAPER_SIZE_LETTER=Pismo
|
|
|
331
331
|
|
|
332
332
|
GNT_PRNTG_FIRST_PAGE_BUTTON=Prva stranica
|
|
333
333
|
|
|
334
|
-
GNT_PRNTG_LAST_PAGE_BUTTON=
|
|
334
|
+
GNT_PRNTG_LAST_PAGE_BUTTON=Poslednja stranica
|
|
335
335
|
|
|
336
|
-
GNT_PRNTG_NEXT_PAGE_BUTTON=
|
|
336
|
+
GNT_PRNTG_NEXT_PAGE_BUTTON=Slede\u0107a stranica
|
|
337
337
|
|
|
338
338
|
GNT_PRNTG_PREVIOUS_PAGE_BUTTON=Prethodna stranica
|
|
339
339
|
|
|
@@ -352,9 +352,9 @@ EXPORT_SETTINGS_TITLE=Izvezi kao
|
|
|
352
352
|
|
|
353
353
|
FILE_NAME=Naziv fajla
|
|
354
354
|
|
|
355
|
-
FILENAME_ERROR=Ne mo\u017Eete koristiti nijedan od
|
|
355
|
+
FILENAME_ERROR=Ne mo\u017Eete koristiti nijedan od slede\u0107ih znakova u nazivu fajla\: \\ / \: * ? " < > |
|
|
356
356
|
|
|
357
|
-
FILENAME_WARNING=Naziv fajla koji ste
|
|
357
|
+
FILENAME_WARNING=Naziv fajla koji ste uneli prekora\u010Duje 100 znakova. To mo\u017Ee spre\u010Diti pravilno otvaranje tabelarnog izra\u010Dunavanja.
|
|
358
358
|
|
|
359
359
|
CANCEL_BUTTON=Odustani
|
|
360
360
|
|
|
@@ -383,13 +383,13 @@ TXT_CH_AL_TIMESTAMP=Postavi raspon vremenske oznake
|
|
|
383
383
|
|
|
384
384
|
TXT_CH_AL_DESCRIPTION=Postavi opis
|
|
385
385
|
|
|
386
|
-
TXT_CH_AL_PH_STROKE_VALUE=Unesite
|
|
386
|
+
TXT_CH_AL_PH_STROKE_VALUE=Unesite vrednost poteza
|
|
387
387
|
|
|
388
388
|
TXT_CH_AL_PH_STROKE_DASHARRAY=Unesite niz crtica poteza (format je <broj, broj>, npr. 1,5)
|
|
389
389
|
|
|
390
390
|
TXT_CH_AL_PH_STROKE_OPACITY=Unesite neprozirnost poteza
|
|
391
391
|
|
|
392
|
-
TXT_CH_AL_PH_TIMESTAMP=Unesite
|
|
392
|
+
TXT_CH_AL_PH_TIMESTAMP=Unesite vreme
|
|
393
393
|
|
|
394
394
|
TXT_CH_AL_PH_DESCRIPTION=Unesite opis
|
|
395
395
|
|
|
@@ -42,25 +42,61 @@ sap.ui.define([
|
|
|
42
42
|
*/
|
|
43
43
|
|
|
44
44
|
var AxisTime = BaseObject.extend("sap.gantt.misc.AxisTime", {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
this.scale = d3.time.scale().domain(timeRange).range(viewRange).clamp(false);
|
|
45
|
+
constructor : function (timeRange, viewRange, zoomRate, zoomOrigin, viewOffset, locale, oZoomStrategy) {
|
|
46
|
+
BaseObject.call(this);
|
|
48
47
|
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
this.timeRange = timeRange;
|
|
49
|
+
this.viewRange = viewRange;
|
|
51
50
|
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
this.zoomRate = Utility.assign(zoomRate, 1);
|
|
52
|
+
this.zoomOrigin = Utility.assign(zoomOrigin, 0);
|
|
54
53
|
|
|
55
|
-
|
|
54
|
+
this.viewOffset = Utility.assign(viewOffset, 0);
|
|
56
55
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
this.locale = locale;
|
|
57
|
+
this._shapeWidthValue = Memoizer.createCache();
|
|
58
|
+
this.timeZoneOffset = 0;
|
|
60
59
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
this._oZoomStrategy = oZoomStrategy;
|
|
61
|
+
|
|
62
|
+
if (oZoomStrategy) {
|
|
63
|
+
this._discontinuityProviderInstance = oZoomStrategy.getProperty("_discontinuousProvider");
|
|
64
|
+
this.timelineOption = oZoomStrategy.getTimeLineOption();
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
this.continuousScale = d3.time.scale().domain(timeRange).range(viewRange).clamp(false);
|
|
68
|
+
this.discontinuousScale = null;
|
|
69
|
+
|
|
70
|
+
if (this._discontinuityProviderInstance) {
|
|
71
|
+
this.discontinuousScale = window.fc.scaleDiscontinuous(
|
|
72
|
+
d3.time.scale()
|
|
73
|
+
.domain(timeRange)
|
|
74
|
+
.range(viewRange)
|
|
75
|
+
.clamp(false)
|
|
76
|
+
).discontinuityProvider(this._discontinuityProviderInstance)
|
|
77
|
+
.domain(timeRange)
|
|
78
|
+
.range(viewRange)
|
|
79
|
+
.clamp(false);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
Object.defineProperty(this, 'scale', {
|
|
83
|
+
get: function () {
|
|
84
|
+
if (this._discontinuityProviderInstance && this._discontinuityProviderInstance.useDiscontinuousScale(this.timelineOption.smallInterval.unit)) {
|
|
85
|
+
return this.discontinuousScale;
|
|
86
|
+
}
|
|
87
|
+
return this.continuousScale;
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
Object.defineProperty(this, 'discontinuityProvider', {
|
|
91
|
+
get: function () {
|
|
92
|
+
if (this._discontinuityProviderInstance && this._discontinuityProviderInstance.useDiscontinuousScale(this.timelineOption.smallInterval.unit)) {
|
|
93
|
+
return this._discontinuityProviderInstance;
|
|
94
|
+
}
|
|
95
|
+
return null;
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
});
|
|
64
100
|
|
|
65
101
|
/*
|
|
66
102
|
* Constants
|
|
@@ -125,7 +161,12 @@ sap.ui.define([
|
|
|
125
161
|
this._shapeWidthValue.clearCache();
|
|
126
162
|
}
|
|
127
163
|
this.timeRange = timeRange;
|
|
128
|
-
this.
|
|
164
|
+
this.continuousScale.domain(timeRange);
|
|
165
|
+
|
|
166
|
+
if (this.discontinuousScale) {
|
|
167
|
+
this.discontinuousScale.domain(timeRange);
|
|
168
|
+
}
|
|
169
|
+
|
|
129
170
|
return this;
|
|
130
171
|
};
|
|
131
172
|
|
|
@@ -138,7 +179,7 @@ sap.ui.define([
|
|
|
138
179
|
*/
|
|
139
180
|
|
|
140
181
|
AxisTime.prototype.getTimeRange = function(){
|
|
141
|
-
return this.
|
|
182
|
+
return this.continuousScale.domain();
|
|
142
183
|
};
|
|
143
184
|
|
|
144
185
|
/**
|
|
@@ -169,9 +210,14 @@ sap.ui.define([
|
|
|
169
210
|
* @public
|
|
170
211
|
*/
|
|
171
212
|
|
|
172
|
-
AxisTime.prototype.setViewRange = function(viewRange){
|
|
213
|
+
AxisTime.prototype.setViewRange = function (viewRange, timelineOption){
|
|
173
214
|
this.viewRange = viewRange;
|
|
174
|
-
this.
|
|
215
|
+
this.timelineOption = timelineOption;
|
|
216
|
+
this.continuousScale.range(viewRange);
|
|
217
|
+
|
|
218
|
+
if (this.discontinuousScale) {
|
|
219
|
+
this.discontinuousScale.range(viewRange);
|
|
220
|
+
}
|
|
175
221
|
return this;
|
|
176
222
|
};
|
|
177
223
|
|
|
@@ -184,7 +230,7 @@ sap.ui.define([
|
|
|
184
230
|
*/
|
|
185
231
|
|
|
186
232
|
AxisTime.prototype.getViewRange = function(){
|
|
187
|
-
var range = this.
|
|
233
|
+
var range = this.continuousScale.range();
|
|
188
234
|
return [Math.round((range[0] - this.zoomOrigin) * this.zoomRate - this.viewOffset),
|
|
189
235
|
Math.round((range[1] - this.zoomOrigin) * this.zoomRate - this.viewOffset)];
|
|
190
236
|
};
|
|
@@ -731,7 +777,7 @@ sap.ui.define([
|
|
|
731
777
|
return visibleScale.ticks(ObjectPath.get(oTimeInterval.unit).range, oTimeInterval.span);
|
|
732
778
|
}
|
|
733
779
|
//when time interval is week
|
|
734
|
-
var
|
|
780
|
+
var aWeekDays = [
|
|
735
781
|
"d3.time.sunday",
|
|
736
782
|
"d3.time.monday",
|
|
737
783
|
"d3.time.tuesday",
|
|
@@ -740,7 +786,12 @@ sap.ui.define([
|
|
|
740
786
|
"d3.time.friday",
|
|
741
787
|
"d3.time.saturday"
|
|
742
788
|
];
|
|
743
|
-
|
|
789
|
+
|
|
790
|
+
var firstDayOfWeek = this.getZoomStrategy().getFirstDayOfWeek();
|
|
791
|
+
var discontinuityProviderInstance = (this.discontinuityProvider || {});
|
|
792
|
+
var aWeekFirstDay = "firstTradingDayOfWeek" in discontinuityProviderInstance ? discontinuityProviderInstance.firstTradingDayOfWeek(firstDayOfWeek) : firstDayOfWeek;
|
|
793
|
+
|
|
794
|
+
return visibleScale.ticks(ObjectPath.get(aWeekDays[aWeekFirstDay]).range, oTimeInterval.span);
|
|
744
795
|
};
|
|
745
796
|
|
|
746
797
|
AxisTime.prototype._calculateScale = function(timeRangeSet, viewRangeSet, timeRange, viewRange, localTimeRange){
|
|
@@ -763,7 +814,7 @@ sap.ui.define([
|
|
|
763
814
|
}
|
|
764
815
|
}
|
|
765
816
|
} else if (localTimeRange) {
|
|
766
|
-
visibleScale = new AxisTime(localTimeRange, this.viewRange, this.zoomRate, this.zoomOrigin, this.viewOffset, null).scale;
|
|
817
|
+
visibleScale = new AxisTime(localTimeRange, this.viewRange, this.zoomRate, this.zoomOrigin, this.viewOffset, null, this._oZoomStrategy).scale;
|
|
767
818
|
} else {
|
|
768
819
|
timeRange = [
|
|
769
820
|
this.convertToTimezone(timeRange[0]),
|
|
@@ -772,6 +823,13 @@ sap.ui.define([
|
|
|
772
823
|
|
|
773
824
|
visibleScale = new AxisTime(timeRange, viewRange, this.zoomRate, this.zoomOrigin, this.viewOffset, null, this._oZoomStrategy).scale;
|
|
774
825
|
}
|
|
826
|
+
if (this.discontinuityProvider) { // increase visibleScale domain so that first tick renders properly
|
|
827
|
+
var oTotalHorizonStartTime = Format.abapTimestampToDate(this._oZoomStrategy.getTotalHorizon().getStartTime());
|
|
828
|
+
if (visibleScale.domain()[0].getTime() == this._discontinuityProviderInstance.clampUp(oTotalHorizonStartTime).getTime()) {
|
|
829
|
+
var oEndTime = visibleScale.domain()[1];
|
|
830
|
+
visibleScale.domain([this._discontinuityProviderInstance.clampDown(oTotalHorizonStartTime), oEndTime]);
|
|
831
|
+
}
|
|
832
|
+
}
|
|
775
833
|
var retVal = {"viewRangeSet": viewRangeSet, "visibleScale" : visibleScale, "dstScale" : dstScale, "normalScale" : normalScale};
|
|
776
834
|
return retVal;
|
|
777
835
|
};
|
|
@@ -21,7 +21,7 @@ sap.ui.define(
|
|
|
21
21
|
* @extends sap.ui.core.Element
|
|
22
22
|
*
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.126.0
|
|
25
25
|
* @since 1.120
|
|
26
26
|
* @experimental since 1.120
|
|
27
27
|
*
|
|
@@ -59,26 +59,90 @@ sap.ui.define(
|
|
|
59
59
|
);
|
|
60
60
|
|
|
61
61
|
GanttRowOverlay.prototype.init = function () {
|
|
62
|
-
this.
|
|
62
|
+
if (!this._oLocalBindingInfo) {
|
|
63
|
+
this._oLocalBindingInfo = {};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
Element.prototype.init.apply(this, arguments);
|
|
63
67
|
};
|
|
64
68
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
+
GanttRowOverlay.prototype.setParent = function (oParent) {
|
|
70
|
+
if (oParent) {
|
|
71
|
+
oParent.addEventDelegate({
|
|
72
|
+
onRowExpanded: () => this.setExpanded(true),
|
|
73
|
+
onRowCollapsed: () => this.setExpanded(false)
|
|
74
|
+
}, this);
|
|
69
75
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
this.setExpanded(oParent._isExpanded());
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
Element.prototype.setParent.apply(this, arguments);
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
GanttRowOverlay.prototype.setExpanded = function (bExpanded) {
|
|
83
|
+
this._bExpanded = bExpanded;
|
|
84
|
+
|
|
85
|
+
if (this._bExpanded) {
|
|
86
|
+
this.unbindAggregation("staticOverlay");
|
|
87
|
+
this.bindAggregation("expandedOverlay");
|
|
88
|
+
} else {
|
|
89
|
+
this.unbindAggregation("expandedOverlay");
|
|
90
|
+
this.bindAggregation("staticOverlay");
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
GanttRowOverlay.prototype.getActiveOverlays = function () {
|
|
95
|
+
if (this._bExpanded) {
|
|
96
|
+
return this.getAggregation("expandedOverlay");
|
|
97
|
+
} else {
|
|
98
|
+
return this.getAggregation("staticOverlay");
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
GanttRowOverlay.prototype.unbindAggregation = function (sName) {
|
|
103
|
+
var oBindingInfo = this.getBindingInfo(sName);
|
|
104
|
+
|
|
105
|
+
if (oBindingInfo && this._oLocalBindingInfo) {
|
|
106
|
+
this._oLocalBindingInfo[sName] = oBindingInfo;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
Element.prototype.unbindAggregation.apply(this, [sName]);
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
GanttRowOverlay.prototype.bindAggregation = function (sName, oBindingInfo) {
|
|
113
|
+
if (!oBindingInfo && this._oLocalBindingInfo) {
|
|
114
|
+
oBindingInfo = this._oLocalBindingInfo[sName];
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
if (oBindingInfo) {
|
|
118
|
+
Element.prototype.bindAggregation.apply(this, [sName, oBindingInfo]);
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
GanttRowOverlay.prototype.clone = function () {
|
|
123
|
+
var oClone = Element.prototype.clone.call(this);
|
|
124
|
+
|
|
125
|
+
oClone._oLocalBindingInfo = {};
|
|
126
|
+
|
|
127
|
+
if (this._oLocalBindingInfo !== undefined) {
|
|
128
|
+
const staticInfo = this._oLocalBindingInfo["staticOverlay"];
|
|
129
|
+
const expandedInfo = this._oLocalBindingInfo["expandedOverlay"];
|
|
130
|
+
|
|
131
|
+
if (staticInfo) {
|
|
132
|
+
oClone._oLocalBindingInfo["staticOverlay"] = Object.assign({}, staticInfo);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
if (expandedInfo) {
|
|
136
|
+
oClone._oLocalBindingInfo["expandedOverlay"] = Object.assign({}, expandedInfo);
|
|
80
137
|
}
|
|
81
138
|
}
|
|
139
|
+
|
|
140
|
+
oClone._bExpanded = this._bExpanded;
|
|
141
|
+
|
|
142
|
+
oClone.unbindAggregation("staticOverlay");
|
|
143
|
+
oClone.unbindAggregation("expandedOverlay");
|
|
144
|
+
|
|
145
|
+
return oClone;
|
|
82
146
|
};
|
|
83
147
|
|
|
84
148
|
|