ol-wfst 4.3.0 → 5.0.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/README.md +240 -173
- package/dist/@types.d.ts +25 -9
- package/dist/@types.d.ts.map +1 -1
- package/dist/Geoserver.d.ts +6 -4
- package/dist/Geoserver.d.ts.map +1 -1
- package/dist/WfsLayer.d.ts +10 -6
- package/dist/WfsLayer.d.ts.map +1 -1
- package/dist/WmsLayer.d.ts +34 -4
- package/dist/WmsLayer.d.ts.map +1 -1
- package/dist/css/ol-wfst.bootstrap5.css +102 -90
- package/dist/css/ol-wfst.bootstrap5.min.css +1 -1
- package/dist/css/ol-wfst.css +432 -54
- package/dist/css/ol-wfst.min.css +1 -1
- package/dist/defaults.d.ts.map +1 -1
- package/dist/jsx-runtime.d.ts +4 -0
- package/dist/jsx-runtime.d.ts.map +1 -0
- package/dist/modules/EditControlChanges.d.ts +2 -1
- package/dist/modules/EditControlChanges.d.ts.map +1 -1
- package/dist/modules/EditFieldsModal.d.ts +10 -6
- package/dist/modules/EditFieldsModal.d.ts.map +1 -1
- package/dist/modules/EditOverlay.d.ts +1 -1
- package/dist/modules/EditOverlay.d.ts.map +1 -1
- package/dist/modules/ExtendLineOverlay.d.ts +12 -0
- package/dist/modules/ExtendLineOverlay.d.ts.map +1 -0
- package/dist/modules/LayersControl.d.ts +5 -0
- package/dist/modules/LayersControl.d.ts.map +1 -1
- package/dist/modules/QueryOverlay.d.ts +21 -0
- package/dist/modules/QueryOverlay.d.ts.map +1 -0
- package/dist/modules/base/BaseLayer.d.ts +7 -3
- package/dist/modules/base/BaseLayer.d.ts.map +1 -1
- package/dist/modules/base/WfsSource.d.ts.map +1 -1
- package/dist/modules/editLayer.d.ts.map +1 -1
- package/dist/modules/errors.d.ts +1 -1
- package/dist/modules/errors.d.ts.map +1 -1
- package/dist/modules/helpers.d.ts.map +1 -1
- package/dist/modules/i18n/en.d.ts.map +1 -1
- package/dist/modules/i18n/es.d.ts.map +1 -1
- package/dist/modules/i18n/index.d.ts.map +1 -1
- package/dist/modules/i18n/zh.d.ts.map +1 -1
- package/dist/modules/loading.d.ts.map +1 -1
- package/dist/modules/state.d.ts +9 -1
- package/dist/modules/state.d.ts.map +1 -1
- package/dist/modules/styleFunction.d.ts +36 -3
- package/dist/modules/styleFunction.d.ts.map +1 -1
- package/dist/ol-wfst.d.ts +243 -6
- package/dist/ol-wfst.d.ts.map +1 -1
- package/dist/ol-wfst.js +1855 -386
- package/dist/ol-wfst.js.map +1 -1
- package/dist/ol-wfst.min.js +3 -3
- package/dist/ol-wfst.min.js.map +1 -1
- package/lib/@types.d.ts +25 -9
- package/lib/@types.d.ts.map +1 -1
- package/lib/Geoserver.d.ts +6 -4
- package/lib/Geoserver.d.ts.map +1 -1
- package/lib/WfsLayer.d.ts +10 -6
- package/lib/WfsLayer.d.ts.map +1 -1
- package/lib/WmsLayer.d.ts +34 -4
- package/lib/WmsLayer.d.ts.map +1 -1
- package/lib/defaults.d.ts.map +1 -1
- package/lib/jsx-runtime.d.ts +4 -0
- package/lib/jsx-runtime.d.ts.map +1 -0
- package/lib/modules/EditControlChanges.d.ts +2 -1
- package/lib/modules/EditControlChanges.d.ts.map +1 -1
- package/lib/modules/EditFieldsModal.d.ts +10 -6
- package/lib/modules/EditFieldsModal.d.ts.map +1 -1
- package/lib/modules/EditOverlay.d.ts +1 -1
- package/lib/modules/EditOverlay.d.ts.map +1 -1
- package/lib/modules/ExtendLineOverlay.d.ts +12 -0
- package/lib/modules/ExtendLineOverlay.d.ts.map +1 -0
- package/lib/modules/LayersControl.d.ts +5 -0
- package/lib/modules/LayersControl.d.ts.map +1 -1
- package/lib/modules/QueryOverlay.d.ts +21 -0
- package/lib/modules/QueryOverlay.d.ts.map +1 -0
- package/lib/modules/base/BaseLayer.d.ts +7 -3
- package/lib/modules/base/BaseLayer.d.ts.map +1 -1
- package/lib/modules/base/WfsSource.d.ts.map +1 -1
- package/lib/modules/editLayer.d.ts.map +1 -1
- package/lib/modules/errors.d.ts +1 -1
- package/lib/modules/errors.d.ts.map +1 -1
- package/lib/modules/helpers.d.ts.map +1 -1
- package/lib/modules/i18n/en.d.ts.map +1 -1
- package/lib/modules/i18n/es.d.ts.map +1 -1
- package/lib/modules/i18n/index.d.ts.map +1 -1
- package/lib/modules/i18n/zh.d.ts.map +1 -1
- package/lib/modules/loading.d.ts.map +1 -1
- package/lib/modules/state.d.ts +9 -1
- package/lib/modules/state.d.ts.map +1 -1
- package/lib/modules/styleFunction.d.ts +36 -3
- package/lib/modules/styleFunction.d.ts.map +1 -1
- package/lib/ol-wfst.d.ts +243 -6
- package/lib/ol-wfst.d.ts.map +1 -1
- package/lib/ol-wfst.js +1857 -384
- package/lib/ol-wfst.js.map +1 -1
- package/lib/style/css/ol-gisify.css +432 -54
- package/lib/style/css/ol-wfst.bootstrap5.css +102 -90
- package/lib/style/scss/_variables.scss +2 -1
- package/lib/style/scss/ol-wfst.scss +441 -42
- package/package.json +3 -3
- package/dist/myPragma.d.ts +0 -2
- package/dist/myPragma.d.ts.map +0 -1
- package/lib/myPragma.d.ts +0 -2
- package/lib/myPragma.d.ts.map +0 -1
package/dist/css/ol-wfst.css
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--ol-subtle-background-color: transparent;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.ol-zoom {
|
|
6
|
+
top: inherit;
|
|
7
|
+
left: inherit;
|
|
8
|
+
bottom: 5em;
|
|
9
|
+
right: 0.5em;
|
|
10
|
+
}
|
|
11
|
+
|
|
1
12
|
.ol-wfst--input-field-container {
|
|
2
13
|
display: inline-block;
|
|
3
14
|
width: 49%;
|
|
@@ -14,6 +25,29 @@
|
|
|
14
25
|
.ol-wfst--input-field-input {
|
|
15
26
|
width: 100%;
|
|
16
27
|
padding: 5px;
|
|
28
|
+
border: 1px solid black;
|
|
29
|
+
border-radius: 3px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.ol-wfst--input-field-input.ol-wfst--input-multiple::-moz-placeholder {
|
|
33
|
+
font-style: italic;
|
|
34
|
+
color: #888;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.ol-wfst--input-field-input.ol-wfst--input-multiple::placeholder {
|
|
38
|
+
font-style: italic;
|
|
39
|
+
color: #888;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.ol-wfst--edit-modal-notice {
|
|
43
|
+
padding: 10px 12px;
|
|
44
|
+
margin-bottom: 12px;
|
|
45
|
+
border: 1px solid #ffc107;
|
|
46
|
+
border-radius: 8px;
|
|
47
|
+
background: #fff8e1;
|
|
48
|
+
color: #6b5300;
|
|
49
|
+
font-size: 13px;
|
|
50
|
+
font-weight: 500;
|
|
17
51
|
}
|
|
18
52
|
|
|
19
53
|
.ol-wfst--edit-button-cnt {
|
|
@@ -37,73 +71,235 @@
|
|
|
37
71
|
background: #f5f5f5;
|
|
38
72
|
}
|
|
39
73
|
.ol-wfst--edit-button:active {
|
|
40
|
-
background:
|
|
74
|
+
background: rgb(98%, 98%, 98%);
|
|
41
75
|
transform: translateY(1px);
|
|
42
76
|
}
|
|
43
|
-
.ol-wfst--edit-button
|
|
77
|
+
.ol-wfst--edit-button svg {
|
|
44
78
|
fill: #333;
|
|
45
79
|
width: 20px;
|
|
46
80
|
height: 20px;
|
|
47
81
|
}
|
|
48
82
|
|
|
83
|
+
.ol-wfst--extend-button-cnt {
|
|
84
|
+
display: inline-block;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.ol-wfst--extend-button {
|
|
88
|
+
outline: 0;
|
|
89
|
+
display: -webkit-flex;
|
|
90
|
+
display: flex;
|
|
91
|
+
align-items: center;
|
|
92
|
+
justify-content: center;
|
|
93
|
+
padding: 0;
|
|
94
|
+
width: 24px;
|
|
95
|
+
height: 24px;
|
|
96
|
+
background: #ffffff;
|
|
97
|
+
border: 1px solid #b3b3b3;
|
|
98
|
+
border-radius: 50%;
|
|
99
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.42);
|
|
100
|
+
cursor: pointer;
|
|
101
|
+
}
|
|
102
|
+
.ol-wfst--extend-button:hover {
|
|
103
|
+
background: #f5f5f5;
|
|
104
|
+
}
|
|
105
|
+
.ol-wfst--extend-button:active {
|
|
106
|
+
background: rgb(98%, 98%, 98%);
|
|
107
|
+
transform: translateY(1px);
|
|
108
|
+
}
|
|
109
|
+
.ol-wfst--extend-button svg {
|
|
110
|
+
fill: #333;
|
|
111
|
+
width: 16px;
|
|
112
|
+
height: 16px;
|
|
113
|
+
}
|
|
114
|
+
|
|
49
115
|
.ol-wfst--changes-control {
|
|
50
116
|
position: absolute;
|
|
51
117
|
left: 50%;
|
|
52
118
|
top: 0;
|
|
53
|
-
right: 0;
|
|
54
119
|
transform: translateX(-50%);
|
|
55
|
-
|
|
120
|
+
z-index: 10;
|
|
121
|
+
max-width: 320px;
|
|
56
122
|
width: 90%;
|
|
57
123
|
background: #ff6161;
|
|
58
|
-
|
|
124
|
+
color: #fff;
|
|
125
|
+
border: 1px solid rgba(0, 0, 0, 0.18);
|
|
59
126
|
border-top: 0;
|
|
60
|
-
box-shadow: 0
|
|
61
|
-
border-radius: 0 0
|
|
62
|
-
padding:
|
|
127
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.35);
|
|
128
|
+
border-radius: 0 0 8px 8px;
|
|
129
|
+
padding: 12px 14px 14px;
|
|
130
|
+
animation: ol-wfst--slide-down 0.28s ease-out;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@keyframes ol-wfst--slide-down {
|
|
134
|
+
from {
|
|
135
|
+
opacity: 0;
|
|
136
|
+
transform: translate(-50%, -10px);
|
|
137
|
+
}
|
|
138
|
+
to {
|
|
139
|
+
opacity: 1;
|
|
140
|
+
transform: translate(-50%, 0);
|
|
141
|
+
}
|
|
63
142
|
}
|
|
64
|
-
|
|
65
143
|
.ol-wfst--changes-control-el {
|
|
66
|
-
|
|
144
|
+
display: -webkit-flex;
|
|
145
|
+
display: flex;
|
|
146
|
+
flex-wrap: wrap;
|
|
147
|
+
justify-content: center;
|
|
148
|
+
align-items: center;
|
|
149
|
+
gap: 8px;
|
|
67
150
|
}
|
|
68
151
|
.ol-wfst--changes-control-el button {
|
|
69
|
-
margin: 0
|
|
152
|
+
margin: 0;
|
|
153
|
+
transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
|
|
154
|
+
}
|
|
155
|
+
.ol-wfst--changes-control-el button:hover {
|
|
156
|
+
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
|
|
157
|
+
filter: brightness(1.05);
|
|
158
|
+
}
|
|
159
|
+
.ol-wfst--changes-control-el button:active {
|
|
160
|
+
transform: translateY(-1px);
|
|
161
|
+
box-shadow: none;
|
|
162
|
+
filter: brightness(0.97);
|
|
163
|
+
}
|
|
164
|
+
.ol-wfst--changes-control-el .btn-danger-outline {
|
|
165
|
+
color: rgba(255, 255, 255, 0.9);
|
|
166
|
+
border: 1px solid rgba(255, 255, 255, 0.55);
|
|
167
|
+
background: transparent;
|
|
168
|
+
}
|
|
169
|
+
.ol-wfst--changes-control-el .btn-danger-outline:hover {
|
|
170
|
+
background: rgba(255, 255, 255, 0.15);
|
|
171
|
+
box-shadow: none;
|
|
172
|
+
}
|
|
173
|
+
.ol-wfst--changes-control-el .btn-danger-outline:active {
|
|
174
|
+
background: rgba(255, 255, 255, 0.25);
|
|
70
175
|
}
|
|
71
176
|
|
|
72
177
|
.ol-wfst--changes-control-id {
|
|
73
|
-
|
|
178
|
+
flex-basis: 100%;
|
|
179
|
+
display: -webkit-flex;
|
|
180
|
+
display: flex;
|
|
181
|
+
align-items: center;
|
|
182
|
+
justify-content: center;
|
|
183
|
+
gap: 8px;
|
|
184
|
+
margin-bottom: 8px;
|
|
185
|
+
padding-bottom: 10px;
|
|
186
|
+
border-bottom: 1px solid rgba(255, 255, 255, 0.25);
|
|
74
187
|
font-size: 12px;
|
|
188
|
+
font-weight: 600;
|
|
189
|
+
text-transform: uppercase;
|
|
190
|
+
letter-spacing: 0.4px;
|
|
75
191
|
color: #fff;
|
|
76
192
|
}
|
|
77
|
-
|
|
193
|
+
.ol-wfst--changes-control-id b {
|
|
194
|
+
display: -webkit-inline-flex;
|
|
195
|
+
display: inline-flex;
|
|
196
|
+
align-items: center;
|
|
197
|
+
gap: 6px;
|
|
198
|
+
}
|
|
199
|
+
.ol-wfst--changes-control-id b::before {
|
|
200
|
+
content: "";
|
|
201
|
+
width: 8px;
|
|
202
|
+
height: 8px;
|
|
203
|
+
border-radius: 50%;
|
|
204
|
+
background: currentColor;
|
|
205
|
+
animation: ol-wfst--pulse 1.6s infinite;
|
|
206
|
+
}
|
|
207
|
+
.ol-wfst--changes-control-id i {
|
|
208
|
+
font-style: normal;
|
|
209
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
210
|
+
font-size: 11px;
|
|
211
|
+
font-weight: 500;
|
|
212
|
+
text-transform: none;
|
|
213
|
+
letter-spacing: 0;
|
|
214
|
+
background: rgba(255, 255, 255, 0.22);
|
|
215
|
+
border-radius: 999px;
|
|
216
|
+
padding: 2px 10px;
|
|
217
|
+
max-width: 180px;
|
|
218
|
+
overflow: hidden;
|
|
219
|
+
text-overflow: ellipsis;
|
|
220
|
+
white-space: nowrap;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
@keyframes ol-wfst--pulse {
|
|
224
|
+
0% {
|
|
225
|
+
box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
|
|
226
|
+
}
|
|
227
|
+
70% {
|
|
228
|
+
box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
|
|
229
|
+
}
|
|
230
|
+
100% {
|
|
231
|
+
box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
78
234
|
.ol-wfst--tools-control {
|
|
79
235
|
position: absolute;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
236
|
+
top: 0.5em;
|
|
237
|
+
left: 0.5em;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.ol-control button {
|
|
241
|
+
cursor: pointer;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.ol-wfst--fullscreen {
|
|
245
|
+
top: auto;
|
|
246
|
+
left: auto;
|
|
247
|
+
right: 0.5em;
|
|
248
|
+
bottom: 18px;
|
|
249
|
+
}
|
|
250
|
+
.ol-wfst--fullscreen button {
|
|
251
|
+
background: #fff;
|
|
252
|
+
border-radius: 8px;
|
|
253
|
+
outline: 0;
|
|
254
|
+
width: 32px;
|
|
255
|
+
height: 32px;
|
|
256
|
+
display: -webkit-inline-flex;
|
|
257
|
+
display: inline-flex;
|
|
258
|
+
align-items: center;
|
|
259
|
+
justify-content: center;
|
|
260
|
+
padding: 0;
|
|
261
|
+
}
|
|
262
|
+
.ol-wfst--fullscreen button svg {
|
|
263
|
+
width: 20px;
|
|
264
|
+
height: 20px;
|
|
265
|
+
pointer-events: none;
|
|
266
|
+
}
|
|
267
|
+
.ol-wfst--fullscreen button:hover, .ol-wfst--fullscreen button:active {
|
|
268
|
+
opacity: 0.95;
|
|
269
|
+
}
|
|
270
|
+
.ol-wfst--fullscreen button:active {
|
|
271
|
+
transform: translateY(1px);
|
|
86
272
|
}
|
|
87
273
|
|
|
88
274
|
.btn.btn-third {
|
|
89
|
-
|
|
275
|
+
margin-right: auto;
|
|
90
276
|
color: #d43f3a;
|
|
91
277
|
}
|
|
92
278
|
|
|
93
279
|
.ol-wfst--layer-not-visible {
|
|
94
280
|
opacity: 0.5 !important;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.ol-wfst--layer-not-visible {
|
|
98
281
|
font-style: italic;
|
|
99
282
|
}
|
|
100
283
|
|
|
101
284
|
.wfst--layer-control {
|
|
102
285
|
position: relative;
|
|
286
|
+
min-width: 200px;
|
|
287
|
+
opacity: 0.7;
|
|
288
|
+
display: -webkit-flex;
|
|
289
|
+
display: flex;
|
|
290
|
+
}
|
|
291
|
+
.wfst--layer-control label {
|
|
292
|
+
width: 100%;
|
|
103
293
|
padding: 5px 10px;
|
|
294
|
+
display: -webkit-flex;
|
|
295
|
+
display: flex;
|
|
296
|
+
gap: 6px;
|
|
297
|
+
}
|
|
298
|
+
.wfst--layer-control.ol-wfst--visible-on {
|
|
299
|
+
opacity: 1;
|
|
104
300
|
}
|
|
105
301
|
.wfst--layer-control.ol-wfst--selected-on {
|
|
106
|
-
background-color: rgba(
|
|
302
|
+
background-color: rgba(94%, 87.3647058824%, 0%, 0.6) !important;
|
|
107
303
|
}
|
|
108
304
|
.wfst--layer-control:hover, .wfst--layer-control:active {
|
|
109
305
|
background-color: #f5f5f5;
|
|
@@ -112,18 +308,22 @@
|
|
|
112
308
|
display: none;
|
|
113
309
|
}
|
|
114
310
|
|
|
311
|
+
.wfst--tools-control--select-layers .wfst--tools-control--select-layers-title {
|
|
312
|
+
padding: 5px 10px;
|
|
313
|
+
font-weight: bold;
|
|
314
|
+
border-bottom: 1px solid rgba(169, 169, 169, 0.7333333333);
|
|
315
|
+
background-color: #dddddd;
|
|
316
|
+
}
|
|
317
|
+
.wfst--tools-control--select-layers .wfst--tools-control--select-layers-list {
|
|
318
|
+
max-height: 150px;
|
|
319
|
+
overflow-y: auto;
|
|
320
|
+
}
|
|
115
321
|
.wfst--tools-control--select-layers .wfst--layer-control:not(.ol-wfst--selected-on) label {
|
|
116
322
|
cursor: pointer;
|
|
117
323
|
}
|
|
118
|
-
.wfst--tools-control--select-layers label {
|
|
119
|
-
position: absolute;
|
|
120
|
-
left: 30px;
|
|
121
|
-
right: 0;
|
|
122
|
-
}
|
|
123
324
|
|
|
124
325
|
.ol-wfst--tools-control-btn {
|
|
125
|
-
|
|
126
|
-
border-radius: 4px;
|
|
326
|
+
border-radius: 8px;
|
|
127
327
|
outline: 0;
|
|
128
328
|
width: 40px;
|
|
129
329
|
height: 32px;
|
|
@@ -132,11 +332,10 @@
|
|
|
132
332
|
vertical-align: middle;
|
|
133
333
|
cursor: pointer;
|
|
134
334
|
border: 1px solid #c0c0c0;
|
|
335
|
+
background-color: #fff;
|
|
135
336
|
}
|
|
136
337
|
.ol-wfst--tools-control-btn.wfst--active {
|
|
137
338
|
background-color: #ffed00 !important;
|
|
138
|
-
}
|
|
139
|
-
.ol-wfst--tools-control-btn.wfst--active {
|
|
140
339
|
opacity: 1;
|
|
141
340
|
}
|
|
142
341
|
.ol-wfst--tools-control-btn:hover, .ol-wfst--tools-control-btn:active {
|
|
@@ -146,25 +345,84 @@
|
|
|
146
345
|
.ol-wfst--tools-control-btn:active {
|
|
147
346
|
transform: translateY(1px);
|
|
148
347
|
}
|
|
149
|
-
.ol-wfst--tools-control-btn
|
|
348
|
+
.ol-wfst--tools-control-btn svg {
|
|
150
349
|
width: 20px;
|
|
151
350
|
height: 20px;
|
|
152
351
|
}
|
|
153
352
|
|
|
154
353
|
.wfst--tools-control--head {
|
|
354
|
+
position: absolute;
|
|
155
355
|
background: #dddddd;
|
|
156
356
|
padding: 10px;
|
|
157
|
-
border
|
|
158
|
-
border-radius:
|
|
357
|
+
border: 1px solid rgba(169, 169, 169, 0.7333333333);
|
|
358
|
+
border-radius: 8px;
|
|
359
|
+
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.42);
|
|
360
|
+
display: -webkit-flex;
|
|
361
|
+
display: flex;
|
|
362
|
+
pointer-events: auto;
|
|
363
|
+
gap: 6px;
|
|
364
|
+
}
|
|
365
|
+
.wfst--tools-control--head label {
|
|
366
|
+
cursor: pointer;
|
|
159
367
|
}
|
|
160
368
|
.wfst--tools-control--head > * {
|
|
161
|
-
display:
|
|
369
|
+
display: -webkit-flex;
|
|
370
|
+
display: flex;
|
|
162
371
|
}
|
|
163
372
|
|
|
164
|
-
.ol-wfst--
|
|
373
|
+
.ol-wfst--layers-control {
|
|
374
|
+
font-size: 13px;
|
|
375
|
+
position: absolute;
|
|
376
|
+
left: 10px;
|
|
377
|
+
bottom: 10px;
|
|
378
|
+
pointer-events: auto;
|
|
379
|
+
}
|
|
380
|
+
.ol-wfst--layers-control .wfst--tools-control--select-layers {
|
|
381
|
+
border-radius: 8px;
|
|
382
|
+
border: 1px solid rgba(169, 169, 169, 0.7333333333);
|
|
383
|
+
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.42);
|
|
384
|
+
background-color: #fff;
|
|
385
|
+
overflow: hidden;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.ol-wfst--tools-control-select-cnt {
|
|
389
|
+
font-size: 0;
|
|
390
|
+
}
|
|
391
|
+
.ol-wfst--tools-control-select-cnt:not(:first-child) {
|
|
165
392
|
margin-left: 6px;
|
|
166
393
|
}
|
|
167
394
|
|
|
395
|
+
.ol-wfst--tools-control-btn-select,
|
|
396
|
+
.ol-wfst--tools-control-btn-select-box,
|
|
397
|
+
.ol-wfst--tools-control-btn-select-freehand {
|
|
398
|
+
width: 34px;
|
|
399
|
+
padding: 0;
|
|
400
|
+
border-radius: 0;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.ol-wfst--tools-control-btn-select {
|
|
404
|
+
border-radius: 8px 0 0 8px;
|
|
405
|
+
}
|
|
406
|
+
.ol-wfst--tools-control-btn-select svg {
|
|
407
|
+
width: 11px;
|
|
408
|
+
height: auto;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.ol-wfst--tools-control-btn-select-box {
|
|
412
|
+
border-left: 0;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.ol-wfst--tools-control-btn-select-freehand {
|
|
416
|
+
border-left: 0;
|
|
417
|
+
border-radius: 0 8px 8px 0;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.ol-box.ol-wfst--dragbox {
|
|
421
|
+
border: 2px dashed #ffc800;
|
|
422
|
+
background-color: rgba(255, 200, 0, 0.1);
|
|
423
|
+
border-radius: 0;
|
|
424
|
+
}
|
|
425
|
+
|
|
168
426
|
.ol-wfst--tools-control-btn-upload {
|
|
169
427
|
padding: 3px;
|
|
170
428
|
}
|
|
@@ -172,7 +430,7 @@
|
|
|
172
430
|
.wfst--tools-control--select-draw {
|
|
173
431
|
outline: 0;
|
|
174
432
|
border: 1px solid #c0c0c0;
|
|
175
|
-
border-radius:
|
|
433
|
+
border-radius: 8px;
|
|
176
434
|
padding: 0 3px;
|
|
177
435
|
height: 32px;
|
|
178
436
|
background: #f7f7f7;
|
|
@@ -182,11 +440,11 @@
|
|
|
182
440
|
vertical-align: middle;
|
|
183
441
|
font-size: 0.9em;
|
|
184
442
|
border-left: 0;
|
|
185
|
-
border-radius: 0
|
|
443
|
+
border-radius: 0 8px 8px 0;
|
|
186
444
|
}
|
|
187
445
|
|
|
188
446
|
.ol-wfst--tools-control-btn-draw {
|
|
189
|
-
border-radius:
|
|
447
|
+
border-radius: 8px 0 0 8px;
|
|
190
448
|
opacity: 0.7;
|
|
191
449
|
}
|
|
192
450
|
|
|
@@ -196,10 +454,6 @@
|
|
|
196
454
|
background: #fffab5;
|
|
197
455
|
}
|
|
198
456
|
|
|
199
|
-
.wfst--tools-control--head label {
|
|
200
|
-
cursor: pointer;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
457
|
#ol-wfst--upload {
|
|
204
458
|
display: none;
|
|
205
459
|
visibility: hidden;
|
|
@@ -208,18 +462,46 @@
|
|
|
208
462
|
.ol-wfst--tools-control--loading {
|
|
209
463
|
display: none;
|
|
210
464
|
position: absolute;
|
|
211
|
-
top: -
|
|
465
|
+
top: -10px;
|
|
466
|
+
width: 100%;
|
|
467
|
+
height: 4px;
|
|
468
|
+
overflow: hidden;
|
|
469
|
+
background: rgba(0, 0, 0, 0.5);
|
|
470
|
+
border-radius: 4px;
|
|
471
|
+
box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
|
|
212
472
|
}
|
|
213
473
|
|
|
474
|
+
.ol-wfst--tools-control--loading::before {
|
|
475
|
+
content: "";
|
|
476
|
+
position: absolute;
|
|
477
|
+
top: 0;
|
|
478
|
+
left: 0;
|
|
479
|
+
width: 35%;
|
|
480
|
+
height: 100%;
|
|
481
|
+
background: #ffed00;
|
|
482
|
+
border-radius: inherit;
|
|
483
|
+
animation: ol-wfst-loading-sweep 1.1s ease-in-out infinite;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
@keyframes ol-wfst-loading-sweep {
|
|
487
|
+
0% {
|
|
488
|
+
transform: translateX(-100%);
|
|
489
|
+
}
|
|
490
|
+
100% {
|
|
491
|
+
transform: translateX(300%);
|
|
492
|
+
}
|
|
493
|
+
}
|
|
214
494
|
.ol-wfst--tools-control--loading.ol-wfst--tools-control--loading-show {
|
|
215
495
|
display: block;
|
|
216
496
|
}
|
|
217
497
|
|
|
218
498
|
.ol-wfst--tools-control-visible {
|
|
219
499
|
display: inline-block;
|
|
500
|
+
position: relative;
|
|
501
|
+
z-index: 999;
|
|
220
502
|
}
|
|
221
503
|
|
|
222
|
-
.ol-wfst--tools-control-visible
|
|
504
|
+
.ol-wfst--tools-control-visible svg {
|
|
223
505
|
width: 14px;
|
|
224
506
|
height: 14px;
|
|
225
507
|
}
|
|
@@ -233,13 +515,6 @@
|
|
|
233
515
|
opacity: 0.9;
|
|
234
516
|
}
|
|
235
517
|
|
|
236
|
-
.wfst--layer-control {
|
|
237
|
-
opacity: 0.7;
|
|
238
|
-
}
|
|
239
|
-
.wfst--layer-control.ol-wfst--visible-on {
|
|
240
|
-
opacity: 1;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
518
|
.ol-wfst--visible-btn-on {
|
|
244
519
|
display: none;
|
|
245
520
|
}
|
|
@@ -253,4 +528,107 @@
|
|
|
253
528
|
|
|
254
529
|
.ol-wfst--visible-btn-off {
|
|
255
530
|
display: block;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.ol-wfst--tools-control-query-cnt .ol-wfst--tools-control-btn-query {
|
|
534
|
+
border-radius: 8px;
|
|
535
|
+
}
|
|
536
|
+
.ol-wfst--tools-control-query-cnt svg {
|
|
537
|
+
width: 16px;
|
|
538
|
+
height: 16px;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.ol-wfst--query-popup {
|
|
542
|
+
position: relative;
|
|
543
|
+
width: 260px;
|
|
544
|
+
max-width: 280px;
|
|
545
|
+
background: #ffffff;
|
|
546
|
+
border: 1px solid #a9a9a9;
|
|
547
|
+
border-radius: 8px;
|
|
548
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.42);
|
|
549
|
+
font-size: 12px;
|
|
550
|
+
color: #333;
|
|
551
|
+
overflow: hidden;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.ol-wfst--query-popup-head {
|
|
555
|
+
display: -webkit-flex;
|
|
556
|
+
display: flex;
|
|
557
|
+
align-items: center;
|
|
558
|
+
justify-content: space-between;
|
|
559
|
+
padding: 6px 8px;
|
|
560
|
+
background: #f2f2f2;
|
|
561
|
+
border-bottom: 1px solid #d9d9d9;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.ol-wfst--query-popup-title {
|
|
565
|
+
font-weight: 600;
|
|
566
|
+
font-size: 12px;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
.ol-wfst--query-popup-close {
|
|
570
|
+
outline: 0;
|
|
571
|
+
border: 0;
|
|
572
|
+
background: transparent;
|
|
573
|
+
cursor: pointer;
|
|
574
|
+
font-size: 18px;
|
|
575
|
+
line-height: 1;
|
|
576
|
+
color: #555;
|
|
577
|
+
padding: 0 2px;
|
|
578
|
+
}
|
|
579
|
+
.ol-wfst--query-popup-close:hover {
|
|
580
|
+
color: #000;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
.ol-wfst--query-popup-subtitle {
|
|
584
|
+
display: -webkit-flex;
|
|
585
|
+
display: flex;
|
|
586
|
+
align-items: center;
|
|
587
|
+
justify-content: space-between;
|
|
588
|
+
gap: 8px;
|
|
589
|
+
padding: 6px 10px;
|
|
590
|
+
border-bottom: 1px solid #efefef;
|
|
591
|
+
}
|
|
592
|
+
.ol-wfst--query-popup-subtitle b {
|
|
593
|
+
font-weight: 600;
|
|
594
|
+
}
|
|
595
|
+
.ol-wfst--query-popup-subtitle i {
|
|
596
|
+
font-style: normal;
|
|
597
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
598
|
+
font-size: 11px;
|
|
599
|
+
color: #777;
|
|
600
|
+
max-width: 150px;
|
|
601
|
+
overflow: hidden;
|
|
602
|
+
text-overflow: ellipsis;
|
|
603
|
+
white-space: nowrap;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
.ol-wfst--query-popup-body {
|
|
607
|
+
max-height: 220px;
|
|
608
|
+
overflow-y: auto;
|
|
609
|
+
padding: 4px 0;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
.ol-wfst--query-popup-row {
|
|
613
|
+
display: -webkit-flex;
|
|
614
|
+
display: flex;
|
|
615
|
+
gap: 8px;
|
|
616
|
+
padding: 3px 10px;
|
|
617
|
+
word-break: break-word;
|
|
618
|
+
}
|
|
619
|
+
.ol-wfst--query-popup-row:nth-child(odd) {
|
|
620
|
+
background: #fafafa;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
.ol-wfst--query-popup-key {
|
|
624
|
+
flex: 0 0 35%;
|
|
625
|
+
font-weight: 600;
|
|
626
|
+
color: #555;
|
|
627
|
+
overflow: hidden;
|
|
628
|
+
text-overflow: ellipsis;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
.ol-wfst--query-popup-value {
|
|
632
|
+
flex: 1;
|
|
633
|
+
color: #222;
|
|
256
634
|
}
|
package/dist/css/ol-wfst.min.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.ol-wfst--input-field-container{display:inline-block;margin-bottom:10px;padding:5px;width:49%}.ol-wfst--input-field-label{display:block;font-weight:500;margin-bottom:4px}.ol-wfst--input-field-input{padding:5px;width:100%}.ol-wfst--edit-button-cnt{display:inline-block;margin:0 5px}.ol-wfst--edit-button{background:#fff;border:1px solid #b3b3b3;border-radius:50%;box-shadow:0 2px 8px rgba(0,0,0,.42);cursor:pointer;font-size:12px;height:38px;outline:0;padding:8px;width:38px}.ol-wfst--edit-button:hover{background:#f5f5f5}.ol-wfst--edit-button:active{background:#fafafa;transform:translateY(1px)}.ol-wfst--edit-button img{fill:#333;height:20px;width:20px}.ol-wfst--changes-control{background:#ff6161;border:1px solid #969696;border-radius:0 0 4px 4px;border-top:0;box-shadow:0 1px 4px rgba(0,0,0,.529);left:50%;max-width:290px;padding:10px;position:absolute;right:0;top:0;transform:translateX(-50%);width:90%}.ol-wfst--changes-control-el{text-align:center}.ol-wfst--changes-control-el button{margin:0 5px}.ol-wfst--changes-control-id{color:#fff;font-size:12px;margin-bottom:10px}.ol-wfst--tools-control{background-color:#fff;border:1px solid hsla(0,0%,66%,.733);border-radius:4px;bottom:10px;box-shadow:0 1px 4px rgba(0,0,0,.42);left:10px;position:absolute}.btn.btn-third{color:#d43f3a;float:left}.ol-wfst--layer-not-visible{font-style:italic;opacity:.5!important}.wfst--layer-control{padding:5px 10px;position:relative}.wfst--layer-control.ol-wfst--selected-on{background-color:rgba(240,223,0,.6)!important}.wfst--layer-control:active,.wfst--layer-control:hover{background-color:#f5f5f5}.wfst--layer-control input[type=radio]{display:none}.wfst--tools-control--select-layers .wfst--layer-control:not(.ol-wfst--selected-on) label{cursor:pointer}.wfst--tools-control--select-layers label{left:30px;position:absolute;right:0}.ol-wfst--tools-control-btn{background:#fff;border:1px solid silver;border-radius:4px;cursor:pointer;display:inline-block;height:32px;outline:0;text-align:center;vertical-align:middle;width:40px}.ol-wfst--tools-control-btn.wfst--active{background-color:#ffed00!important;opacity:1}.ol-wfst--tools-control-btn:active,.ol-wfst--tools-control-btn:hover{background-color:#f5f5f5;opacity:.95}.ol-wfst--tools-control-btn:active{transform:translateY(1px)}.ol-wfst--tools-control-btn img{height:20px;width:20px}.wfst--tools-control--head{background:#ddd;border-bottom:1px solid hsla(0,0%,66%,.733);border-radius:4px 4px 0 0;padding:10px}.wfst--tools-control--head>*{display:inline-block}.ol-wfst--tools-control-draw-cnt:not(:first-child){margin-left:6px}.ol-wfst--tools-control-btn-upload{padding:3px}.wfst--tools-control--select-draw{background:#f7f7f7;border:1px solid silver;border-left:0;border-radius:4px;border-radius:0 4px 4px 0;cursor:pointer;font-size:.9em;height:32px;opacity:.5;outline:0;padding:0 3px;pointer-events:none;vertical-align:middle}.ol-wfst--tools-control-btn-draw{border-radius:4px 0 0 4px;opacity:.7}.draw-mode .wfst--tools-control--select-draw{background:#fffab5;opacity:1;pointer-events:inherit}.wfst--tools-control--head label{cursor:pointer}#ol-wfst--upload{display:none;visibility:hidden}.ol-wfst--tools-control--loading{display:none;position:absolute;top:-25px}.ol-wfst--tools-control--loading.ol-wfst--tools-control--loading-show{display:block}.ol-wfst--tools-control-visible{display:inline-block}.ol-wfst--tools-control-visible img{height:14px;width:14px}.ol-wfst--tools-control-visible-btn{cursor:pointer;opacity:.6}.ol-wfst--tools-control-visible-btn:hover{opacity:.9}.wfst--layer-control{opacity:.7}.wfst--layer-control.ol-wfst--visible-on{opacity:1}.ol-wfst--visible-btn-on{display:none}.ol-wfst--visible-on .ol-wfst--visible-btn-on{display:block}.ol-wfst--visible-on .ol-wfst--visible-btn-off{display:none}.ol-wfst--visible-btn-off{display:block}
|
|
1
|
+
:root{--ol-subtle-background-color:transparent}.ol-zoom{bottom:5em;left:inherit;right:.5em;top:inherit}.ol-wfst--input-field-container{display:inline-block;margin-bottom:10px;padding:5px;width:49%}.ol-wfst--input-field-label{display:block;font-weight:500;margin-bottom:4px}.ol-wfst--input-field-input{border:1px solid #000;border-radius:3px;padding:5px;width:100%}.ol-wfst--input-field-input.ol-wfst--input-multiple::-moz-placeholder{color:#888;font-style:italic}.ol-wfst--input-field-input.ol-wfst--input-multiple::placeholder{color:#888;font-style:italic}.ol-wfst--edit-modal-notice{background:#fff8e1;border:1px solid #ffc107;border-radius:8px;color:#6b5300;font-size:13px;font-weight:500;margin-bottom:12px;padding:10px 12px}.ol-wfst--edit-button-cnt{display:inline-block;margin:0 5px}.ol-wfst--edit-button{background:#fff;border:1px solid #b3b3b3;border-radius:50%;box-shadow:0 2px 8px rgba(0,0,0,.42);cursor:pointer;font-size:12px;height:38px;outline:0;padding:8px;width:38px}.ol-wfst--edit-button:hover{background:#f5f5f5}.ol-wfst--edit-button:active{background:#fafafa;transform:translateY(1px)}.ol-wfst--edit-button svg{fill:#333;height:20px;width:20px}.ol-wfst--extend-button-cnt{display:inline-block}.ol-wfst--extend-button{align-items:center;background:#fff;border:1px solid #b3b3b3;border-radius:50%;box-shadow:0 2px 8px rgba(0,0,0,.42);cursor:pointer;display:-webkit-flex;display:flex;height:24px;justify-content:center;outline:0;padding:0;width:24px}.ol-wfst--extend-button:hover{background:#f5f5f5}.ol-wfst--extend-button:active{background:#fafafa;transform:translateY(1px)}.ol-wfst--extend-button svg{fill:#333;height:16px;width:16px}.ol-wfst--changes-control{animation:ol-wfst--slide-down .28s ease-out;background:#ff6161;border:1px solid rgba(0,0,0,.18);border-radius:0 0 8px 8px;border-top:0;box-shadow:0 2px 6px rgba(0,0,0,.2),0 8px 24px rgba(0,0,0,.35);color:#fff;left:50%;max-width:320px;padding:12px 14px 14px;position:absolute;top:0;transform:translateX(-50%);width:90%;z-index:10}@keyframes ol-wfst--slide-down{0%{opacity:0;transform:translate(-50%,-10px)}to{opacity:1;transform:translate(-50%)}}.ol-wfst--changes-control-el{align-items:center;display:-webkit-flex;display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.ol-wfst--changes-control-el button{margin:0;transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}.ol-wfst--changes-control-el button:hover{box-shadow:0 3px 8px rgba(0,0,0,.25);filter:brightness(1.05)}.ol-wfst--changes-control-el button:active{box-shadow:none;filter:brightness(.97);transform:translateY(-1px)}.ol-wfst--changes-control-el .btn-danger-outline{background:transparent;border:1px solid hsla(0,0%,100%,.55);color:hsla(0,0%,100%,.9)}.ol-wfst--changes-control-el .btn-danger-outline:hover{background:hsla(0,0%,100%,.15);box-shadow:none}.ol-wfst--changes-control-el .btn-danger-outline:active{background:hsla(0,0%,100%,.25)}.ol-wfst--changes-control-id{align-items:center;border-bottom:1px solid hsla(0,0%,100%,.25);color:#fff;display:-webkit-flex;display:flex;flex-basis:100%;font-size:12px;font-weight:600;gap:8px;justify-content:center;letter-spacing:.4px;margin-bottom:8px;padding-bottom:10px;text-transform:uppercase}.ol-wfst--changes-control-id b{align-items:center;display:-webkit-inline-flex;display:inline-flex;gap:6px}.ol-wfst--changes-control-id b:before{animation:ol-wfst--pulse 1.6s infinite;background:currentColor;border-radius:50%;content:"";height:8px;width:8px}.ol-wfst--changes-control-id i{background:hsla(0,0%,100%,.22);border-radius:999px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;font-style:normal;font-weight:500;letter-spacing:0;max-width:180px;overflow:hidden;padding:2px 10px;text-overflow:ellipsis;text-transform:none;white-space:nowrap}@keyframes ol-wfst--pulse{0%{box-shadow:0 0 0 0 hsla(0,0%,100%,.7)}70%{box-shadow:0 0 0 6px hsla(0,0%,100%,0)}to{box-shadow:0 0 0 0 hsla(0,0%,100%,0)}}.ol-wfst--tools-control{left:.5em;position:absolute;top:.5em}.ol-control button{cursor:pointer}.ol-wfst--fullscreen{bottom:18px;left:auto;right:.5em;top:auto}.ol-wfst--fullscreen button{align-items:center;background:#fff;border-radius:8px;display:-webkit-inline-flex;display:inline-flex;height:32px;justify-content:center;outline:0;padding:0;width:32px}.ol-wfst--fullscreen button svg{height:20px;pointer-events:none;width:20px}.ol-wfst--fullscreen button:active,.ol-wfst--fullscreen button:hover{opacity:.95}.ol-wfst--fullscreen button:active{transform:translateY(1px)}.btn.btn-third{color:#d43f3a;margin-right:auto}.ol-wfst--layer-not-visible{font-style:italic;opacity:.5!important}.wfst--layer-control{display:-webkit-flex;display:flex;min-width:200px;opacity:.7;position:relative}.wfst--layer-control label{display:-webkit-flex;display:flex;gap:6px;padding:5px 10px;width:100%}.wfst--layer-control.ol-wfst--visible-on{opacity:1}.wfst--layer-control.ol-wfst--selected-on{background-color:rgba(240,223,0,.6)!important}.wfst--layer-control:active,.wfst--layer-control:hover{background-color:#f5f5f5}.wfst--layer-control input[type=radio]{display:none}.wfst--tools-control--select-layers .wfst--tools-control--select-layers-title{background-color:#ddd;border-bottom:1px solid hsla(0,0%,66%,.733);font-weight:700;padding:5px 10px}.wfst--tools-control--select-layers .wfst--tools-control--select-layers-list{max-height:150px;overflow-y:auto}.wfst--tools-control--select-layers .wfst--layer-control:not(.ol-wfst--selected-on) label{cursor:pointer}.ol-wfst--tools-control-btn{background-color:#fff;border:1px solid silver;border-radius:8px;cursor:pointer;display:inline-block;height:32px;outline:0;text-align:center;vertical-align:middle;width:40px}.ol-wfst--tools-control-btn.wfst--active{background-color:#ffed00!important;opacity:1}.ol-wfst--tools-control-btn:active,.ol-wfst--tools-control-btn:hover{background-color:#f5f5f5;opacity:.95}.ol-wfst--tools-control-btn:active{transform:translateY(1px)}.ol-wfst--tools-control-btn svg{height:20px;width:20px}.wfst--tools-control--head{background:#ddd;border:1px solid hsla(0,0%,66%,.733);border-radius:8px;box-shadow:0 1px 4px rgba(0,0,0,.42);display:-webkit-flex;display:flex;gap:6px;padding:10px;pointer-events:auto;position:absolute}.wfst--tools-control--head label{cursor:pointer}.wfst--tools-control--head>*{display:-webkit-flex;display:flex}.ol-wfst--layers-control{bottom:10px;font-size:13px;left:10px;pointer-events:auto;position:absolute}.ol-wfst--layers-control .wfst--tools-control--select-layers{background-color:#fff;border:1px solid hsla(0,0%,66%,.733);border-radius:8px;box-shadow:0 1px 4px rgba(0,0,0,.42);overflow:hidden}.ol-wfst--tools-control-select-cnt{font-size:0}.ol-wfst--tools-control-select-cnt:not(:first-child){margin-left:6px}.ol-wfst--tools-control-btn-select,.ol-wfst--tools-control-btn-select-box,.ol-wfst--tools-control-btn-select-freehand{border-radius:0;padding:0;width:34px}.ol-wfst--tools-control-btn-select{border-radius:8px 0 0 8px}.ol-wfst--tools-control-btn-select svg{height:auto;width:11px}.ol-wfst--tools-control-btn-select-box{border-left:0}.ol-wfst--tools-control-btn-select-freehand{border-left:0;border-radius:0 8px 8px 0}.ol-box.ol-wfst--dragbox{background-color:rgba(255,200,0,.1);border:2px dashed #ffc800;border-radius:0}.ol-wfst--tools-control-btn-upload{padding:3px}.wfst--tools-control--select-draw{background:#f7f7f7;border:1px solid silver;border-left:0;border-radius:8px;border-radius:0 8px 8px 0;cursor:pointer;font-size:.9em;height:32px;opacity:.5;outline:0;padding:0 3px;pointer-events:none;vertical-align:middle}.ol-wfst--tools-control-btn-draw{border-radius:8px 0 0 8px;opacity:.7}.draw-mode .wfst--tools-control--select-draw{background:#fffab5;opacity:1;pointer-events:inherit}#ol-wfst--upload{display:none;visibility:hidden}.ol-wfst--tools-control--loading{background:rgba(0,0,0,.5);border-radius:4px;box-shadow:0 0 4px rgba(0,0,0,.15);display:none;height:4px;overflow:hidden;position:absolute;top:-10px;width:100%}.ol-wfst--tools-control--loading:before{animation:ol-wfst-loading-sweep 1.1s ease-in-out infinite;background:#ffed00;border-radius:inherit;content:"";height:100%;left:0;position:absolute;top:0;width:35%}@keyframes ol-wfst-loading-sweep{0%{transform:translateX(-100%)}to{transform:translateX(300%)}}.ol-wfst--tools-control--loading.ol-wfst--tools-control--loading-show{display:block}.ol-wfst--tools-control-visible{display:inline-block;position:relative;z-index:999}.ol-wfst--tools-control-visible svg{height:14px;width:14px}.ol-wfst--tools-control-visible-btn{cursor:pointer;opacity:.6}.ol-wfst--tools-control-visible-btn:hover{opacity:.9}.ol-wfst--visible-btn-on{display:none}.ol-wfst--visible-on .ol-wfst--visible-btn-on{display:block}.ol-wfst--visible-on .ol-wfst--visible-btn-off{display:none}.ol-wfst--visible-btn-off{display:block}.ol-wfst--tools-control-query-cnt .ol-wfst--tools-control-btn-query{border-radius:8px}.ol-wfst--tools-control-query-cnt svg{height:16px;width:16px}.ol-wfst--query-popup{background:#fff;border:1px solid #a9a9a9;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.42);color:#333;font-size:12px;max-width:280px;overflow:hidden;position:relative;width:260px}.ol-wfst--query-popup-head{align-items:center;background:#f2f2f2;border-bottom:1px solid #d9d9d9;display:-webkit-flex;display:flex;justify-content:space-between;padding:6px 8px}.ol-wfst--query-popup-title{font-size:12px;font-weight:600}.ol-wfst--query-popup-close{background:transparent;border:0;color:#555;cursor:pointer;font-size:18px;line-height:1;outline:0;padding:0 2px}.ol-wfst--query-popup-close:hover{color:#000}.ol-wfst--query-popup-subtitle{align-items:center;border-bottom:1px solid #efefef;display:-webkit-flex;display:flex;gap:8px;justify-content:space-between;padding:6px 10px}.ol-wfst--query-popup-subtitle b{font-weight:600}.ol-wfst--query-popup-subtitle i{color:#777;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;font-style:normal;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ol-wfst--query-popup-body{max-height:220px;overflow-y:auto;padding:4px 0}.ol-wfst--query-popup-row{display:-webkit-flex;display:flex;gap:8px;padding:3px 10px;word-break:break-word}.ol-wfst--query-popup-row:nth-child(odd){background:#fafafa}.ol-wfst--query-popup-key{color:#555;flex:0 0 35%;font-weight:600;overflow:hidden;text-overflow:ellipsis}.ol-wfst--query-popup-value{color:#222;flex:1}
|
package/dist/defaults.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../src/defaults.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,eAAO,MAAM,gBAAgB,OAAO,CAAC;AAErC,eAAO,MAAM,iBAAiB,QAAO,
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../src/defaults.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,eAAO,MAAM,gBAAgB,OAAO,CAAC;AAErC,eAAO,MAAM,iBAAiB,QAAO,OAqBpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jsx-runtime.d.ts","sourceRoot":"","sources":["../src/jsx-runtime.ts"],"names":[],"mappings":"AAyDA,wBAAgB,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,GACA,WAAW,CACnD;AAED,wBAAgB,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,GACD,WAAW,CACnD;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,GAAG,EAAE,QAAQ,KAAA,GACU,gBAAgB,CACrE"}
|
|
@@ -12,7 +12,8 @@ export default class EditControlChangesEl extends Control {
|
|
|
12
12
|
on: OnSignature<EventTypes, BaseEvent, EventsKey> & OnSignature<ChangesEventTypes, VectorSourceEvent, EventsKey> & OnSignature<ObjectEventTypes, ObjectEvent, EventsKey> & CombinedOnSignature<ChangesEventTypes | ObjectEventTypes | EventTypes, EventsKey>;
|
|
13
13
|
once: OnSignature<EventTypes, BaseEvent, EventsKey> & OnSignature<ChangesEventTypes, VectorSourceEvent, EventsKey> & OnSignature<ObjectEventTypes, ObjectEvent, EventsKey> & CombinedOnSignature<ChangesEventTypes | ObjectEventTypes | EventTypes, EventsKey>;
|
|
14
14
|
un: OnSignature<EventTypes, BaseEvent, void> & OnSignature<ChangesEventTypes, VectorSourceEvent, EventsKey> & OnSignature<ObjectEventTypes, ObjectEvent, void> & CombinedOnSignature<ChangesEventTypes | ObjectEventTypes | EventTypes, void>;
|
|
15
|
-
constructor(
|
|
15
|
+
constructor(features: Feature<Geometry>[]);
|
|
16
|
+
private _dispatch;
|
|
16
17
|
}
|
|
17
18
|
export {};
|
|
18
19
|
//# sourceMappingURL=EditControlChanges.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditControlChanges.d.ts","sourceRoot":"","sources":["../../src/modules/EditControlChanges.tsx"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,eAAe,CAAC;AACpC,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,OAAO,MAAM,uBAAuB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAChF,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,KAAK,IAAI,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"EditControlChanges.d.ts","sourceRoot":"","sources":["../../src/modules/EditControlChanges.tsx"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,eAAe,CAAC;AACpC,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,OAAO,MAAM,uBAAuB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAChF,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,KAAK,IAAI,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAIlE,KAAK,iBAAiB,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEvD,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,OAAO;IAC7C,EAAE,EAAE,WAAW,CAAC,UAAU,EAAE,SAAS,EAAE,SAAS,CAAC,GACrD,WAAW,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,SAAS,CAAC,GAC5D,WAAW,CAAC,gBAAgB,EAAE,WAAW,EAAE,SAAS,CAAC,GACrD,mBAAmB,CACf,iBAAiB,GAAG,gBAAgB,GAAG,UAAU,EACjD,SAAS,CACZ,CAAC;IAEE,IAAI,EAAE,WAAW,CAAC,UAAU,EAAE,SAAS,EAAE,SAAS,CAAC,GACvD,WAAW,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,SAAS,CAAC,GAC5D,WAAW,CAAC,gBAAgB,EAAE,WAAW,EAAE,SAAS,CAAC,GACrD,mBAAmB,CACf,iBAAiB,GAAG,gBAAgB,GAAG,UAAU,EACjD,SAAS,CACZ,CAAC;IAEE,EAAE,EAAE,WAAW,CAAC,UAAU,EAAE,SAAS,EAAE,IAAI,CAAC,GAChD,WAAW,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,SAAS,CAAC,GAC5D,WAAW,CAAC,gBAAgB,EAAE,WAAW,EAAE,IAAI,CAAC,GAChD,mBAAmB,CACf,iBAAiB,GAAG,gBAAgB,GAAG,UAAU,EACjD,IAAI,CACP,CAAC;gBAEM,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,EAAE;IA8CzC,OAAO,CAAC,SAAS;CAQpB"}
|