ol-wfst 1.0.9 → 3.0.2
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/CHANGELOG.md +24 -1
- package/README.md +478 -401
- package/dist/@enums.d.ts +12 -0
- package/dist/@enums.d.ts.map +1 -0
- package/dist/assets/i18n/en.d.ts +3 -0
- package/dist/assets/i18n/en.d.ts.map +1 -0
- package/dist/assets/i18n/es.d.ts +3 -0
- package/dist/assets/i18n/es.d.ts.map +1 -0
- package/dist/assets/i18n/index.d.ts +4 -0
- package/dist/assets/i18n/index.d.ts.map +1 -0
- package/dist/assets/i18n/zh.d.ts +3 -0
- package/dist/assets/i18n/zh.d.ts.map +1 -0
- package/dist/css/ol-wfst.bootstrap5.css +863 -0
- package/dist/css/ol-wfst.bootstrap5.min.css +1 -0
- package/dist/css/ol-wfst.css +172 -128
- package/dist/css/ol-wfst.min.css +1 -1
- package/dist/ol-wfst.d.ts +143 -87
- package/dist/ol-wfst.d.ts.map +1 -0
- package/dist/ol-wfst.js +5604 -4832
- package/dist/ol-wfst.js.map +1 -0
- package/dist/ol-wfst.min.js +16 -1
- package/dist/ol-wfst.min.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/lib/@enums.d.ts +12 -0
- package/lib/@enums.d.ts.map +1 -0
- package/lib/assets/i18n/en.d.ts +3 -0
- package/lib/assets/i18n/en.d.ts.map +1 -0
- package/lib/assets/i18n/es.d.ts +3 -0
- package/lib/assets/i18n/es.d.ts.map +1 -0
- package/lib/assets/i18n/index.d.ts +4 -0
- package/lib/assets/i18n/index.d.ts.map +1 -0
- package/lib/assets/i18n/zh.d.ts +3 -0
- package/lib/assets/i18n/zh.d.ts.map +1 -0
- package/lib/ol-wfst.d.ts +143 -87
- package/lib/ol-wfst.d.ts.map +1 -0
- package/lib/ol-wfst.js +2198 -2236
- package/lib/ol-wfst.js.map +1 -0
- package/lib/style/css/ol-gisify.css +267 -0
- package/lib/style/css/ol-wfst.bootstrap5.css +863 -0
- package/lib/style/scss/-ol-wfst.bootstrap5.scss +10 -0
- package/lib/{css/ol-wfst.css → style/scss/ol-wfst.scss} +7 -3
- package/lib/tsconfig.tsbuildinfo +1 -0
- package/package.json +70 -66
- package/dist/css/bootstrap-modal.min.css +0 -7
- package/lib/css/bootstrap-modal.min.css +0 -7
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
.ol-wfst--input-field-container {
|
|
2
|
+
display: inline-block;
|
|
3
|
+
width: 49%;
|
|
4
|
+
padding: 5px;
|
|
5
|
+
margin-bottom: 10px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.ol-wfst--input-field-label {
|
|
9
|
+
display: block;
|
|
10
|
+
font-weight: 500;
|
|
11
|
+
margin-bottom: 4px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ol-wfst--input-field-input {
|
|
15
|
+
width: 100%;
|
|
16
|
+
padding: 5px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ol-wfst--edit-button-cnt {
|
|
20
|
+
display: inline-block;
|
|
21
|
+
margin: 0 5px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.ol-wfst--edit-button {
|
|
25
|
+
outline: 0;
|
|
26
|
+
padding: 8px;
|
|
27
|
+
height: 38px;
|
|
28
|
+
width: 38px;
|
|
29
|
+
color: #ffffff;
|
|
30
|
+
font-size: 12px;
|
|
31
|
+
background: #ffffff;
|
|
32
|
+
border: 1px solid #b3b3b3;
|
|
33
|
+
border-radius: 50%;
|
|
34
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.42);
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.ol-wfst--edit-button:hover {
|
|
39
|
+
background: #f5f5f5;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.ol-wfst--edit-button:active {
|
|
43
|
+
background: #e7e7e7;
|
|
44
|
+
transform: translateY(1px);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.ol-wfst--edit-button img {
|
|
48
|
+
fill: #333;
|
|
49
|
+
width: 20px;
|
|
50
|
+
height: 20px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.ol-wfst--changes-control {
|
|
54
|
+
position: absolute;
|
|
55
|
+
left: 50%;
|
|
56
|
+
top: 0;
|
|
57
|
+
right: 0;
|
|
58
|
+
transform: translateX(-50%);
|
|
59
|
+
max-width: 290px;
|
|
60
|
+
width: 90%;
|
|
61
|
+
background: #ff6161;
|
|
62
|
+
border: 1px solid #969696;
|
|
63
|
+
border-top: 0;
|
|
64
|
+
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.529);
|
|
65
|
+
border-radius: 0 0 3px 3px;
|
|
66
|
+
padding: 10px 10px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.ol-wfst--changes-control-el {
|
|
70
|
+
text-align: center;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.ol-wfst--changes-control-el button {
|
|
74
|
+
margin: 0 5px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.ol-wfst--changes-control-id {
|
|
78
|
+
margin-bottom: 10px;
|
|
79
|
+
font-size: 12px;
|
|
80
|
+
color: #fff;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.ol-wfst--tools-control {
|
|
84
|
+
position: absolute;
|
|
85
|
+
left: 10px;
|
|
86
|
+
bottom: 10px;
|
|
87
|
+
background-color: #fff;
|
|
88
|
+
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.42);
|
|
89
|
+
border: 1px solid #a9a9a9;
|
|
90
|
+
border-radius: 4px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.btn.btn-third {
|
|
94
|
+
float: left;
|
|
95
|
+
color: #d43f3a;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.wfst--layer-control {
|
|
99
|
+
position: relative;
|
|
100
|
+
border-radius: 3px;
|
|
101
|
+
padding: 2px 4px;
|
|
102
|
+
margin-bottom: 3px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.wfst--layer-control.ol-wfst--selected-on {
|
|
106
|
+
background-color: rgba(255, 233, 60, 0.651) !important;
|
|
107
|
+
border: 1px solid rgba(0, 0, 0, 0.22) !important;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.wfst--layer-control:hover,
|
|
111
|
+
.wfst--layer-control:active {
|
|
112
|
+
background-color: #e7e7e7;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.wfst--layer-control input[type=radio] {
|
|
116
|
+
display: none;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.ol-wfst--tools-control-btn.wfst--active {
|
|
120
|
+
background-color: #ffed00 !important;
|
|
121
|
+
opacity: 1;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.ol-wfst--tools-control-btn:hover,
|
|
125
|
+
.ol-wfst--tools-control-btn:active {
|
|
126
|
+
background-color: #f8f29e;
|
|
127
|
+
opacity: 0.95;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.ol-wfst--tools-control-btn:active {
|
|
131
|
+
transform: translateY(1px);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.ol-wfst--tools-control-btn {
|
|
135
|
+
background: #ffffff;
|
|
136
|
+
border-radius: 4px;
|
|
137
|
+
outline: 0;
|
|
138
|
+
width: 40px;
|
|
139
|
+
height: 32px;
|
|
140
|
+
display: inline-block;
|
|
141
|
+
text-align: center;
|
|
142
|
+
vertical-align: middle;
|
|
143
|
+
cursor: pointer;
|
|
144
|
+
border: 1px solid #c0c0c0;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.ol-wfst--tools-control-btn img {
|
|
148
|
+
width: 20px;
|
|
149
|
+
height: 20px;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.wfst--tools-control--head {
|
|
153
|
+
background: #dddddd;
|
|
154
|
+
padding: 10px;
|
|
155
|
+
border-bottom: 1px solid #acacac;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.wfst--tools-control--head > * {
|
|
159
|
+
display: inline-block;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.ol-wfst--tools-control-draw-cnt:not(:first-child) {
|
|
163
|
+
margin-left: 6px;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.ol-wfst--tools-control-btn-upload {
|
|
167
|
+
padding: 3px;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.wfst--tools-control--select-draw {
|
|
171
|
+
outline: 0;
|
|
172
|
+
border: 1px solid #c0c0c0;
|
|
173
|
+
border-radius: 4px;
|
|
174
|
+
padding: 0 3px;
|
|
175
|
+
height: 32px;
|
|
176
|
+
background: #f7f7f7;
|
|
177
|
+
cursor: pointer;
|
|
178
|
+
pointer-events: none;
|
|
179
|
+
opacity: 0.5;
|
|
180
|
+
vertical-align: middle;
|
|
181
|
+
font-size: 0.9em;
|
|
182
|
+
border-left: 0;
|
|
183
|
+
border-radius: 0 4px 4px 0;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.ol-wfst--tools-control-btn-draw {
|
|
187
|
+
border-radius: 4px 0 0 4px;
|
|
188
|
+
opacity: 0.7;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.draw-mode .wfst--tools-control--select-draw {
|
|
192
|
+
pointer-events: inherit;
|
|
193
|
+
opacity: 1;
|
|
194
|
+
background: #fffab5;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.wfst--tools-control--head label {
|
|
198
|
+
cursor: pointer;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.wfst--tools-control--select-layers {
|
|
202
|
+
padding: 10px 10px 5px;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.wfst--tools-control--select-layers label {
|
|
206
|
+
position: absolute;
|
|
207
|
+
left: 23px;
|
|
208
|
+
right: 0;
|
|
209
|
+
cursor: pointer;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
#ol-wfst--upload {
|
|
213
|
+
display: none;
|
|
214
|
+
visibility: hidden;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.ol-wfst--tools-control--loading {
|
|
218
|
+
display: none;
|
|
219
|
+
position: absolute;
|
|
220
|
+
top: -25px;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.ol-wfst--tools-control--loading.ol-wfst--tools-control--loading-show {
|
|
224
|
+
display: block;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.ol-wfst--tools-control-visible {
|
|
228
|
+
display: inline-block;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.ol-wfst--tools-control-visible img {
|
|
232
|
+
width: 14px;
|
|
233
|
+
height: 14px;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.ol-wfst--tools-control-visible-btn {
|
|
237
|
+
opacity: 0.6;
|
|
238
|
+
cursor: pointer;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.ol-wfst--tools-control-visible-btn:hover {
|
|
242
|
+
opacity: 0.9;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.wfst--layer-control {
|
|
246
|
+
opacity: 0.7;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.wfst--layer-control.ol-wfst--visible-on {
|
|
250
|
+
opacity: 1;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.ol-wfst--visible-btn-on {
|
|
254
|
+
display: none;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.ol-wfst--visible-btn-off {
|
|
258
|
+
display: block;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.ol-wfst--visible-on .ol-wfst--visible-btn-on {
|
|
262
|
+
display: block;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.ol-wfst--visible-on .ol-wfst--visible-btn-off {
|
|
266
|
+
display: none;
|
|
267
|
+
}
|