@sapui5/sap.ui.vbm 1.145.0 → 1.146.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/ui/vbm/.library +1 -1
- package/src/sap/ui/vbm/Adapter.js +4 -4
- package/src/sap/ui/vbm/Adapter3D.js +1 -1
- package/src/sap/ui/vbm/Viewport.js +1 -1
- package/src/sap/ui/vbm/adapter3d/ColladaBounds.js +1 -1
- package/src/sap/ui/vbm/adapter3d/DragDropHandler.js +1 -1
- package/src/sap/ui/vbm/adapter3d/ModelHandler.js +1 -1
- package/src/sap/ui/vbm/adapter3d/ObjectFactory.js +1 -1
- package/src/sap/ui/vbm/adapter3d/PolygonHandler.js +1 -1
- package/src/sap/ui/vbm/adapter3d/RectangleTracker.js +1 -1
- package/src/sap/ui/vbm/adapter3d/SceneBuilder.js +1 -1
- package/src/sap/ui/vbm/adapter3d/VBIJSONParser.js +1 -1
- package/src/sap/ui/vbm/library.js +2 -2
- package/src/sap/ui/vbm/themes/base/AnalyticMap.less +5 -5
- package/src/sap/ui/vbm/themes/base/Cluster.less +41 -48
- package/src/sap/ui/vbm/themes/base/ContainerBase.less +14 -14
- package/src/sap/ui/vbm/themes/base/ContainerLegendItem.less +12 -27
- package/src/sap/ui/vbm/themes/base/DetailWindow.less +12 -8
- package/src/sap/ui/vbm/themes/base/ListPanel.less +17 -18
- package/src/sap/ui/vbm/themes/base/ListPanelStack.less +9 -10
- package/src/sap/ui/vbm/themes/base/MapContainer.less +49 -41
- package/src/sap/ui/vbm/themes/base/VBI.less +356 -491
- package/src/sap/ui/vbm/themes/base/Viewport.less +5 -1
- package/src/sap/ui/vbm/themes/base/library.source.less +1 -2
- package/src/sap/ui/vbm/themes/sap_fiori_3_dark/VBI.less +46 -55
- package/src/sap/ui/vbm/themes/sap_fiori_3_dark/library.source.less +1 -2
- package/src/sap/ui/vbm/themes/sap_fiori_3_hcb/VBI.less +46 -55
- package/src/sap/ui/vbm/themes/sap_fiori_3_hcb/library.source.less +1 -2
- package/src/sap/ui/vbm/themes/sap_horizon_dark/VBI.less +45 -54
- package/src/sap/ui/vbm/themes/sap_horizon_dark/library.source.less +1 -2
- package/src/sap/ui/vbm/themes/sap_horizon_hcb/VBI.less +45 -54
- package/src/sap/ui/vbm/themes/sap_horizon_hcb/library.source.less +1 -3
- package/src/sap/ui/vbm/themes/sap_horizon_hcw/VBI.less +45 -54
- package/src/sap/ui/vbm/themes/sap_horizon_hcw/library.source.less +1 -2
- package/src/sap/ui/vbm/vector/MapRenderer.js +497 -416
- package/src/sap/ui/vbm/vector/PayloadGenerator.js +1 -1
- package/src/sap/ui/vbm/vector/RectangularSelection.js +1 -1
- package/src/sap/ui/vbm/vector/VBITransformer.js +19 -4
- package/src/sap/ui/vbm/themes/base/GeoMap.less +0 -8
- package/src/sap/ui/vbm/themes/sap_fiori_3_dark/AnalyticMap.less +0 -4
- package/src/sap/ui/vbm/themes/sap_fiori_3_hcb/AnalyticMap.less +0 -4
- package/src/sap/ui/vbm/themes/sap_horizon_dark/AnalyticMap.less +0 -3
- package/src/sap/ui/vbm/themes/sap_horizon_hcb/AnalyticMap.less +0 -3
- package/src/sap/ui/vbm/themes/sap_horizon_hcw/AnalyticMap.less +0 -3
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/* ======================================== */
|
|
2
|
+
/* CSS for control sap.ui.vbm/MapContainer */
|
|
3
|
+
/* Base theme */
|
|
4
|
+
/* ======================================== */
|
|
2
5
|
|
|
3
|
-
|
|
4
|
-
/* LESS for control sap.ui.vbm/MapContainer.control...................................*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
/*...........................................................................*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
/* main map container style..................................................*/
|
|
11
|
-
|
|
12
|
-
.sapUiVkMapContainer {}
|
|
13
6
|
.sapUiVkMapContainerOverlay {
|
|
14
7
|
position: absolute;
|
|
15
8
|
top: 0.5rem;
|
|
@@ -19,12 +12,15 @@
|
|
|
19
12
|
/* necessary to let events through to the content below */
|
|
20
13
|
pointer-events: none;
|
|
21
14
|
}
|
|
15
|
+
|
|
22
16
|
html.sap-phone {
|
|
17
|
+
|
|
23
18
|
.sapUiVkMapContainerOverlay {
|
|
24
19
|
top: 0.25rem;
|
|
25
20
|
left: 0.25rem;
|
|
26
21
|
right: 0.25rem;
|
|
27
22
|
}
|
|
23
|
+
|
|
28
24
|
.sapUiVkContainerBaseWrapper {
|
|
29
25
|
position: absolute;
|
|
30
26
|
top: 0px;
|
|
@@ -32,16 +28,20 @@ html.sap-phone {
|
|
|
32
28
|
transition: transform 0.4s;
|
|
33
29
|
}
|
|
34
30
|
}
|
|
31
|
+
|
|
35
32
|
.sapUiVkMapContainer {
|
|
33
|
+
|
|
36
34
|
.sapUiVkContainerBaseContentArea {
|
|
37
|
-
padding-top:
|
|
35
|
+
padding-top: 0;
|
|
38
36
|
}
|
|
37
|
+
|
|
39
38
|
.sapUiVkContainerBaseToolbarArea {
|
|
40
39
|
position: static;
|
|
41
40
|
/* since parent sapUiVkMapContainerOverlay declares pointer-events: none, which gets inherited,
|
|
42
|
-
|
|
41
|
+
this is needed to make toolbar buttons functional */
|
|
43
42
|
pointer-events: auto;
|
|
44
43
|
}
|
|
44
|
+
|
|
45
45
|
.sapUiVkContainerBaseToolbarArea .sapMTB {
|
|
46
46
|
border: none;
|
|
47
47
|
/* This trick allows to let events pass transparent parts of the toolbar */
|
|
@@ -49,24 +49,29 @@ html.sap-phone {
|
|
|
49
49
|
overflow: visible;
|
|
50
50
|
margin-top: 1.5rem;
|
|
51
51
|
}
|
|
52
|
+
|
|
52
53
|
.sapUiVkMapContainerListPanelArea {
|
|
53
54
|
/* since parent sapUiVkMapContainerOverlay declares pointer-events: none, which gets inherited,
|
|
54
|
-
|
|
55
|
+
this is needed to make ListPanelStack functional */
|
|
55
56
|
pointer-events: auto;
|
|
56
57
|
}
|
|
57
58
|
}
|
|
59
|
+
|
|
58
60
|
.sapUiSizeCompact .sapUiVkMapContainer .sapUiVkContainerBaseToolbarArea .sapMTB {
|
|
59
61
|
margin-top: 1rem;
|
|
60
62
|
}
|
|
63
|
+
|
|
61
64
|
.sapUiVkMapContainerNavbarArea {
|
|
62
65
|
position: absolute;
|
|
63
|
-
right:
|
|
64
|
-
bottom:
|
|
66
|
+
right: 0;
|
|
67
|
+
bottom: 0;
|
|
65
68
|
/* since parent sapUiVkMapContainerOverlay declares pointer-events: none, which gets inherited,
|
|
66
|
-
|
|
69
|
+
this is needed to make navbar buttons functional */
|
|
67
70
|
pointer-events: auto;
|
|
68
71
|
}
|
|
72
|
+
|
|
69
73
|
.sapUiVkMapContainerNavbarArea {
|
|
74
|
+
|
|
70
75
|
.sapMTB {
|
|
71
76
|
border: none !important;
|
|
72
77
|
flex-direction: column;
|
|
@@ -75,13 +80,15 @@ html.sap-phone {
|
|
|
75
80
|
overflow: visible;
|
|
76
81
|
background: transparent;
|
|
77
82
|
}
|
|
78
|
-
|
|
83
|
+
|
|
84
|
+
.sapMIBar > .sapMBarChild:last-child {
|
|
79
85
|
margin-top: -0.5rem;
|
|
80
86
|
}
|
|
81
87
|
}
|
|
88
|
+
|
|
82
89
|
.sapUiVkMapContainerLPW {
|
|
83
|
-
top:
|
|
84
|
-
left:
|
|
90
|
+
top: 0;
|
|
91
|
+
left: 0;
|
|
85
92
|
background: white;
|
|
86
93
|
width: 100%;
|
|
87
94
|
height: 100%;
|
|
@@ -91,20 +98,25 @@ html.sap-phone {
|
|
|
91
98
|
transition: transform 0.4s;
|
|
92
99
|
box-sizing: border-box;
|
|
93
100
|
}
|
|
101
|
+
|
|
94
102
|
html.sap-phone .sapUiVkMapContainerListPanelArea {
|
|
95
103
|
/* neutralize padding from sapUiVkMapContainerLPW */
|
|
96
104
|
margin-left: -0.25rem;
|
|
97
105
|
}
|
|
106
|
+
|
|
98
107
|
html:not(.sap-phone) .sapUiVkMapContainerListPanelArea {
|
|
99
108
|
float: left;
|
|
100
109
|
}
|
|
110
|
+
|
|
101
111
|
.sapUiVkMapContainerLPWIn {
|
|
102
112
|
transform: translateX(0%);
|
|
103
113
|
}
|
|
114
|
+
|
|
104
115
|
.sapUiVkMapContainerMapOut {
|
|
105
116
|
transform: translateX(100%);
|
|
106
117
|
}
|
|
107
|
-
|
|
118
|
+
|
|
119
|
+
html[dir='rtl'] {
|
|
108
120
|
.sapUiVkMapContainerLPW {
|
|
109
121
|
transform: translateX(100%);
|
|
110
122
|
}
|
|
@@ -116,15 +128,12 @@ html[dir=rtl] {
|
|
|
116
128
|
}
|
|
117
129
|
}
|
|
118
130
|
|
|
119
|
-
|
|
120
131
|
.mapContainerHboxPopover.sapMFlexBox.sapMFlexBoxAlignContentStretch.sapMFlexBoxAlignItemsStretch.sapMFlexBoxBGTransparent.sapMFlexBoxJustifyStart.sapMFlexBoxWrapNoWrap.sapMHBox {
|
|
121
132
|
height:5rem;
|
|
122
133
|
width: 100%;
|
|
123
134
|
}
|
|
124
135
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
.mapLayerPopoverItemText.sapMText.sapMTextBreakWord.sapMTextMaxWidth.sapUiSelectable{
|
|
136
|
+
.mapLayerPopoverItemText.sapMText.sapMTextBreakWord.sapMTextMaxWidth.sapUiSelectable {
|
|
128
137
|
bottom: 0.1rem;
|
|
129
138
|
right: 0.3rem;
|
|
130
139
|
position: absolute;
|
|
@@ -132,14 +141,12 @@ html[dir=rtl] {
|
|
|
132
141
|
margin-bottom: 0.15rem;
|
|
133
142
|
}
|
|
134
143
|
|
|
135
|
-
|
|
136
|
-
.layerType.sapMImg.sapMPointer{
|
|
144
|
+
.layerType.sapMImg.sapMPointer {
|
|
137
145
|
border: 0.15rem solid white;
|
|
138
146
|
width: 4.7rem;
|
|
139
147
|
height: 4.7rem;
|
|
140
148
|
}
|
|
141
149
|
|
|
142
|
-
|
|
143
150
|
.sapUiVkMapContainerNavbarArea .mapLayerPopoverItem {
|
|
144
151
|
position: absolute;
|
|
145
152
|
border: 0.15rem solid white;
|
|
@@ -150,7 +157,6 @@ html[dir=rtl] {
|
|
|
150
157
|
z-index: 1;
|
|
151
158
|
}
|
|
152
159
|
|
|
153
|
-
|
|
154
160
|
.sapUiVkMapContainerNavbarContainer {
|
|
155
161
|
position: absolute;
|
|
156
162
|
right: 0;
|
|
@@ -171,24 +177,29 @@ html[dir=rtl] {
|
|
|
171
177
|
}
|
|
172
178
|
|
|
173
179
|
.sapUiVkMapContainer {
|
|
180
|
+
|
|
174
181
|
.sapUiVkContainerBaseToolbarArea .sapMBtnTransparent:not(.sapMToggleBtnPressed),
|
|
175
182
|
.sapUiVkMapContainerNavbarArea .sapMBtnTransparent:not(.sapMToggleBtnPressed) {
|
|
176
183
|
/* make transparent button in toolbar look like segmented button */
|
|
177
184
|
background-color: @sapUiSegmentedButtonBackground;
|
|
178
|
-
border-radius:
|
|
185
|
+
border-radius: 0;
|
|
179
186
|
border-color: @sapUiSegmentedButtonBorderColor;
|
|
180
187
|
}
|
|
188
|
+
|
|
181
189
|
html.sap-desktop & .sapMSegBBtnFocusable:not(.sapMSegBBtnSel):hover,
|
|
182
190
|
/* needed for segmented button on hover */
|
|
183
|
-
:not(.sapMBtnDisabled)
|
|
191
|
+
:not(.sapMBtnDisabled) > .sapMBtnInner.sapMBtnActive .sapMBtnIcon {
|
|
184
192
|
/* button active state */
|
|
185
193
|
color: @sapUiSegmentedButtonIconColor;
|
|
186
194
|
}
|
|
187
195
|
}
|
|
196
|
+
|
|
188
197
|
html:not(.sap-phone) .sapUiVkMapContainer {
|
|
198
|
+
|
|
189
199
|
.sapUiVkListPanelStack {
|
|
190
|
-
border: 1px solid
|
|
200
|
+
border: 1px solid var(--sapList_BorderColor);
|
|
191
201
|
}
|
|
202
|
+
|
|
192
203
|
.sapUiVkMapContainerListPanelArea {
|
|
193
204
|
padding: 0.0625rem 0.125rem;
|
|
194
205
|
/* needed for shadow bleeding from inner div */
|
|
@@ -196,15 +207,12 @@ html:not(.sap-phone) .sapUiVkMapContainer {
|
|
|
196
207
|
}
|
|
197
208
|
|
|
198
209
|
@font-face {
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
font-weight: normal;
|
|
204
|
-
font-style: normal;
|
|
210
|
+
font-family: 'map-container';
|
|
211
|
+
src: url('fonts/map-container.woff') format('woff');
|
|
212
|
+
font-weight: normal;
|
|
213
|
+
font-style: normal;
|
|
205
214
|
}
|
|
206
215
|
|
|
207
|
-
|
|
208
216
|
#__popover0-scroll {
|
|
209
|
-
margin-right:
|
|
210
|
-
}
|
|
217
|
+
margin-right: 0 !important;
|
|
218
|
+
}
|