@opengis/bi 1.2.1 → 1.2.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/dist/bi.js +1 -1
- package/dist/bi.umd.cjs +42 -42
- package/dist/import-file-D8jh74Dz.js +3543 -0
- package/dist/{vs-funnel-bar-C8m-602x.js → vs-funnel-bar-T330oJNS.js} +3 -3
- package/dist/{vs-list-BJ0NjSm5.js → vs-list-DeHF_Oaf.js} +109 -109
- package/dist/{vs-map-PLlJqaaW.js → vs-map-Skt608pM.js} +8 -8
- package/dist/{vs-map-cluster-9tV6eiDA.js → vs-map-cluster-BRUiY_90.js} +21 -21
- package/dist/{vs-number-B2V_BPer.js → vs-number-Dd_21nn-.js} +3 -3
- package/dist/{vs-table-WGE9jyDq.js → vs-table-BwC29Zyc.js} +6 -6
- package/dist/{vs-text-DkLKRC7F.js → vs-text-DEJjWxDu.js} +32 -39
- package/package.json +77 -76
- package/server/routes/data/controllers/data.js +4 -3
- package/server/routes/dataset/controllers/export.js +2 -1
- package/dist/import-file-D06AZEtP.js +0 -3493
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as n, c, a as
|
|
2
|
-
import {
|
|
1
|
+
import { _ as n, c, a as o, b as h, d as l } from "./import-file-D8jh74Dz.js";
|
|
2
|
+
import { createElementBlock as d, openBlock as p } from "vue";
|
|
3
3
|
const u = {
|
|
4
4
|
name: "VsFunnelBar",
|
|
5
5
|
mixins: [c],
|
|
@@ -104,7 +104,7 @@ const u = {
|
|
|
104
104
|
}
|
|
105
105
|
}, m = ["id"];
|
|
106
106
|
function f(t, r, s, a, e, i) {
|
|
107
|
-
return
|
|
107
|
+
return p(), d("div", {
|
|
108
108
|
ref: "chart",
|
|
109
109
|
id: e.uniqueID,
|
|
110
110
|
class: "h-[90%] custom-scrollbar min-h-[200px]"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as p } from "./import-file-
|
|
1
|
+
import { createElementBlock as l, openBlock as h, createStaticVNode as V, createElementVNode as a, withDirectives as B, toDisplayString as L, vShow as P, Fragment as z, renderList as S, normalizeClass as G, resolveComponent as j, createVNode as D } from "vue";
|
|
2
|
+
import { _ as p } from "./import-file-D8jh74Dz.js";
|
|
3
3
|
function N(t) {
|
|
4
4
|
return [
|
|
5
5
|
{
|
|
@@ -180,9 +180,9 @@ const O = {
|
|
|
180
180
|
class: "icon icon-tabler icons-tabler-outline icon-tabler-list-details"
|
|
181
181
|
};
|
|
182
182
|
function J(t, e) {
|
|
183
|
-
return
|
|
183
|
+
return h(), l("svg", W, [...e[0] || (e[0] = [
|
|
184
184
|
V('<path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M13 5h8"></path><path d="M13 9h5"></path><path d="M13 15h8"></path><path d="M13 19h5"></path><path d="M3 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"></path><path d="M3 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"></path>', 7)
|
|
185
|
-
]));
|
|
185
|
+
])]);
|
|
186
186
|
}
|
|
187
187
|
const U = /* @__PURE__ */ p(R, [["render", J]]), Z = {}, q = {
|
|
188
188
|
class: "shrink-0 size-3",
|
|
@@ -197,10 +197,10 @@ const U = /* @__PURE__ */ p(R, [["render", J]]), Z = {}, q = {
|
|
|
197
197
|
"stroke-linejoin": "round"
|
|
198
198
|
};
|
|
199
199
|
function A(t, e) {
|
|
200
|
-
return
|
|
200
|
+
return h(), l("svg", q, [...e[0] || (e[0] = [
|
|
201
201
|
a("path", { d: "M18 6 6 18" }, null, -1),
|
|
202
202
|
a("path", { d: "m6 6 12 12" }, null, -1)
|
|
203
|
-
]));
|
|
203
|
+
])]);
|
|
204
204
|
}
|
|
205
205
|
const K = /* @__PURE__ */ p(Z, [["render", A]]), zt = {
|
|
206
206
|
pink: ["#fde7e2", "#feafbe", "#fd58a4", "#d7038e", "#86007b"],
|
|
@@ -209,7 +209,96 @@ const K = /* @__PURE__ */ p(Z, [["render", A]]), zt = {
|
|
|
209
209
|
pink2: ["#f1eef6", "#d7b5d8", "#df65b0", "#dd1c77", "#980043"],
|
|
210
210
|
red: ["#fef0d9", "#fdcc8a", "#fc8d59", "#e34a33", "#b30000"],
|
|
211
211
|
teal: ["#f6eff7", "#bdc9e1", "#67a9cf", "#1c9099", "#016c59"]
|
|
212
|
+
}, Q = {
|
|
213
|
+
props: ["map", "coordinates"],
|
|
214
|
+
data() {
|
|
215
|
+
return {
|
|
216
|
+
isMenuVisible: !1
|
|
217
|
+
};
|
|
218
|
+
},
|
|
219
|
+
computed: {
|
|
220
|
+
getCoordinates() {
|
|
221
|
+
var e;
|
|
222
|
+
return !(this != null && this.coordinates) || ((e = this.coordinates) == null ? void 0 : e.length) !== 2 ? "" : (this == null ? void 0 : this.coordinates).slice().reverse().map((i) => Number(i).toFixed(5)).join(", ");
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}, X = { class: "map__settings" }, Y = {
|
|
226
|
+
ref: "attribution",
|
|
227
|
+
class: "map__settings-attribution map__settings-item mt-[3px]"
|
|
212
228
|
};
|
|
229
|
+
function T(t, e, i, s, o, n) {
|
|
230
|
+
return h(), l("div", X, [
|
|
231
|
+
a("div", Y, [
|
|
232
|
+
B(a("div", {
|
|
233
|
+
ref: "mouse",
|
|
234
|
+
class: "map__settings-item",
|
|
235
|
+
style: { "min-width": "115px" }
|
|
236
|
+
}, L(n.getCoordinates), 513), [
|
|
237
|
+
[P, n.getCoordinates]
|
|
238
|
+
])
|
|
239
|
+
], 512)
|
|
240
|
+
]);
|
|
241
|
+
}
|
|
242
|
+
const St = /* @__PURE__ */ p(Q, [["render", T]]), I = {
|
|
243
|
+
mixins: [O],
|
|
244
|
+
props: {
|
|
245
|
+
map: { type: Object, default: () => null }
|
|
246
|
+
},
|
|
247
|
+
data() {
|
|
248
|
+
return {
|
|
249
|
+
baseLayers: [
|
|
250
|
+
{
|
|
251
|
+
id: "orto10",
|
|
252
|
+
name: "Ortophoto 1:10К",
|
|
253
|
+
url: "https://data.gki.com.ua/api-user/rtile/orto10/ua/{z}/{x}/{y}.png",
|
|
254
|
+
service: "TMS",
|
|
255
|
+
image: "https://data.gki.com.ua/api-user/rtile/orto10/ua/13/4954/2876.png"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
id: "graymap",
|
|
259
|
+
name: "Сіра карта",
|
|
260
|
+
url: "https://data.gki.com.ua/api-user/rtile/voyager/ua/{z}/{x}/{y}.png",
|
|
261
|
+
service: "TMS",
|
|
262
|
+
image: "https://data.gki.com.ua/api-user/rtile/positron/ua/10/601/348.png"
|
|
263
|
+
}
|
|
264
|
+
]
|
|
265
|
+
};
|
|
266
|
+
},
|
|
267
|
+
watch: {
|
|
268
|
+
map(t) {
|
|
269
|
+
t && t.on("load", this.handleMapLoad);
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
created() {
|
|
273
|
+
this.baseLayers.forEach((t) => {
|
|
274
|
+
const e = { ...t, basemap: !0 };
|
|
275
|
+
this.layerList.push(e);
|
|
276
|
+
});
|
|
277
|
+
},
|
|
278
|
+
methods: {
|
|
279
|
+
handleMapLoad() {
|
|
280
|
+
this.changeBaseLayer("graymap");
|
|
281
|
+
},
|
|
282
|
+
isLayerInFocus(t) {
|
|
283
|
+
return t.id === this.activeLayer;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
}, tt = { class: "vs-map-slot-layers" }, et = ["onClick"], it = ["src"];
|
|
287
|
+
function st(t, e, i, s, o, n) {
|
|
288
|
+
return h(), l("div", tt, [
|
|
289
|
+
(h(!0), l(z, null, S(o.baseLayers, (r) => (h(), l("div", {
|
|
290
|
+
key: r.id,
|
|
291
|
+
class: G(["vs-map-slot-layers__layer", { focused: n.isLayerInFocus(r) }]),
|
|
292
|
+
onClick: (_) => t.changeBaseLayer(r.id)
|
|
293
|
+
}, [
|
|
294
|
+
a("img", {
|
|
295
|
+
src: r.image,
|
|
296
|
+
class: "vs-map-slot-layers__image"
|
|
297
|
+
}, null, 8, it)
|
|
298
|
+
], 10, et))), 128))
|
|
299
|
+
]);
|
|
300
|
+
}
|
|
301
|
+
const Et = /* @__PURE__ */ p(I, [["render", st]]);
|
|
213
302
|
function E(t, e, i) {
|
|
214
303
|
if (t !== null)
|
|
215
304
|
for (var s, o, n, r, _, c, y, b = 0, u = 0, v, k = t.type, $ = k === "FeatureCollection", M = k === "Feature", C = $ ? t.features.length : 1, f = 0; f < C; f++) {
|
|
@@ -297,7 +386,7 @@ function E(t, e, i) {
|
|
|
297
386
|
}
|
|
298
387
|
}
|
|
299
388
|
}
|
|
300
|
-
function
|
|
389
|
+
function rt(t, e = {}) {
|
|
301
390
|
if (t.bbox != null && e.recompute !== !0)
|
|
302
391
|
return t.bbox;
|
|
303
392
|
const i = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
|
|
@@ -305,96 +394,7 @@ function Q(t, e = {}) {
|
|
|
305
394
|
i[0] > s[0] && (i[0] = s[0]), i[1] > s[1] && (i[1] = s[1]), i[2] < s[0] && (i[2] = s[0]), i[3] < s[1] && (i[3] = s[1]);
|
|
306
395
|
}), i;
|
|
307
396
|
}
|
|
308
|
-
const
|
|
309
|
-
props: ["map", "coordinates"],
|
|
310
|
-
data() {
|
|
311
|
-
return {
|
|
312
|
-
isMenuVisible: !1
|
|
313
|
-
};
|
|
314
|
-
},
|
|
315
|
-
computed: {
|
|
316
|
-
getCoordinates() {
|
|
317
|
-
var e;
|
|
318
|
-
return !(this != null && this.coordinates) || ((e = this.coordinates) == null ? void 0 : e.length) !== 2 ? "" : (this == null ? void 0 : this.coordinates).slice().reverse().map((i) => Number(i).toFixed(5)).join(", ");
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
}, Y = { class: "map__settings" }, T = {
|
|
322
|
-
ref: "attribution",
|
|
323
|
-
class: "map__settings-attribution map__settings-item mt-[3px]"
|
|
324
|
-
};
|
|
325
|
-
function I(t, e, i, s, o, n) {
|
|
326
|
-
return l(), h("div", Y, [
|
|
327
|
-
a("div", T, [
|
|
328
|
-
B(a("div", {
|
|
329
|
-
ref: "mouse",
|
|
330
|
-
class: "map__settings-item",
|
|
331
|
-
style: { "min-width": "115px" }
|
|
332
|
-
}, L(n.getCoordinates), 513), [
|
|
333
|
-
[P, n.getCoordinates]
|
|
334
|
-
])
|
|
335
|
-
], 512)
|
|
336
|
-
]);
|
|
337
|
-
}
|
|
338
|
-
const St = /* @__PURE__ */ p(X, [["render", I]]), tt = {
|
|
339
|
-
mixins: [O],
|
|
340
|
-
props: {
|
|
341
|
-
map: { type: Object, default: () => null }
|
|
342
|
-
},
|
|
343
|
-
data() {
|
|
344
|
-
return {
|
|
345
|
-
baseLayers: [
|
|
346
|
-
{
|
|
347
|
-
id: "orto10",
|
|
348
|
-
name: "Ortophoto 1:10К",
|
|
349
|
-
url: "https://data.gki.com.ua/api-user/rtile/orto10/ua/{z}/{x}/{y}.png",
|
|
350
|
-
service: "TMS",
|
|
351
|
-
image: "https://data.gki.com.ua/api-user/rtile/orto10/ua/13/4954/2876.png"
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
id: "graymap",
|
|
355
|
-
name: "Сіра карта",
|
|
356
|
-
url: "https://data.gki.com.ua/api-user/rtile/voyager/ua/{z}/{x}/{y}.png",
|
|
357
|
-
service: "TMS",
|
|
358
|
-
image: "https://data.gki.com.ua/api-user/rtile/positron/ua/10/601/348.png"
|
|
359
|
-
}
|
|
360
|
-
]
|
|
361
|
-
};
|
|
362
|
-
},
|
|
363
|
-
watch: {
|
|
364
|
-
map(t) {
|
|
365
|
-
t && t.on("load", this.handleMapLoad);
|
|
366
|
-
}
|
|
367
|
-
},
|
|
368
|
-
created() {
|
|
369
|
-
this.baseLayers.forEach((t) => {
|
|
370
|
-
const e = { ...t, basemap: !0 };
|
|
371
|
-
this.layerList.push(e);
|
|
372
|
-
});
|
|
373
|
-
},
|
|
374
|
-
methods: {
|
|
375
|
-
handleMapLoad() {
|
|
376
|
-
this.changeBaseLayer("graymap");
|
|
377
|
-
},
|
|
378
|
-
isLayerInFocus(t) {
|
|
379
|
-
return t.id === this.activeLayer;
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
}, et = { class: "vs-map-slot-layers" }, it = ["onClick"], st = ["src"];
|
|
383
|
-
function rt(t, e, i, s, o, n) {
|
|
384
|
-
return l(), h("div", et, [
|
|
385
|
-
(l(!0), h(z, null, S(o.baseLayers, (r) => (l(), h("div", {
|
|
386
|
-
key: r.id,
|
|
387
|
-
class: G(["vs-map-slot-layers__layer", { focused: n.isLayerInFocus(r) }]),
|
|
388
|
-
onClick: (_) => t.changeBaseLayer(r.id)
|
|
389
|
-
}, [
|
|
390
|
-
a("img", {
|
|
391
|
-
src: r.image,
|
|
392
|
-
class: "vs-map-slot-layers__image"
|
|
393
|
-
}, null, 8, st)
|
|
394
|
-
], 10, it))), 128))
|
|
395
|
-
]);
|
|
396
|
-
}
|
|
397
|
-
const Et = /* @__PURE__ */ p(tt, [["render", rt]]), ot = {}, nt = {
|
|
397
|
+
const ot = {}, nt = {
|
|
398
398
|
xmlns: "http://www.w3.org/2000/svg",
|
|
399
399
|
width: "24",
|
|
400
400
|
height: "24",
|
|
@@ -407,7 +407,7 @@ const Et = /* @__PURE__ */ p(tt, [["render", rt]]), ot = {}, nt = {
|
|
|
407
407
|
class: "icon icon-tabler icons-tabler-outline icon-tabler-home"
|
|
408
408
|
};
|
|
409
409
|
function at(t, e) {
|
|
410
|
-
return
|
|
410
|
+
return h(), l("svg", nt, [...e[0] || (e[0] = [
|
|
411
411
|
a("path", {
|
|
412
412
|
stroke: "none",
|
|
413
413
|
d: "M0 0h24v24H0z",
|
|
@@ -416,7 +416,7 @@ function at(t, e) {
|
|
|
416
416
|
a("path", { d: "M5 12l-2 0l9 -9l9 9l-2 0" }, null, -1),
|
|
417
417
|
a("path", { d: "M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" }, null, -1),
|
|
418
418
|
a("path", { d: "M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6" }, null, -1)
|
|
419
|
-
]));
|
|
419
|
+
])]);
|
|
420
420
|
}
|
|
421
421
|
const ct = /* @__PURE__ */ p(ot, [["render", at]]), lt = {
|
|
422
422
|
props: ["bbox", "map"],
|
|
@@ -426,14 +426,14 @@ const ct = /* @__PURE__ */ p(ot, [["render", at]]), lt = {
|
|
|
426
426
|
const t = {
|
|
427
427
|
type: "Feature",
|
|
428
428
|
geometry: this == null ? void 0 : this.bbox
|
|
429
|
-
}, e =
|
|
429
|
+
}, e = rt(t);
|
|
430
430
|
this.map.fitBounds(e);
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
433
|
}, ht = { class: "z-100 flex justify-center items-center rounded-md w-[32px] h-[32px] cursor-pointer bg-white p-1 border-[2px]" };
|
|
434
434
|
function dt(t, e, i, s, o, n) {
|
|
435
435
|
const r = j("homeIcon");
|
|
436
|
-
return
|
|
436
|
+
return h(), l("div", ht, [
|
|
437
437
|
D(r, { onClick: n.setBounds }, null, 8, ["onClick"])
|
|
438
438
|
]);
|
|
439
439
|
}
|
|
@@ -450,7 +450,7 @@ const Mt = /* @__PURE__ */ p(lt, [["render", dt]]), ut = {}, pt = {
|
|
|
450
450
|
"stroke-linejoin": "#9E9E9E"
|
|
451
451
|
};
|
|
452
452
|
function ft(t, e) {
|
|
453
|
-
return
|
|
453
|
+
return h(), l("svg", pt, [...e[0] || (e[0] = [
|
|
454
454
|
a("circle", {
|
|
455
455
|
cx: "12",
|
|
456
456
|
cy: "12",
|
|
@@ -466,7 +466,7 @@ function ft(t, e) {
|
|
|
466
466
|
cy: "19",
|
|
467
467
|
r: "1"
|
|
468
468
|
}, null, -1)
|
|
469
|
-
]));
|
|
469
|
+
])]);
|
|
470
470
|
}
|
|
471
471
|
const mt = /* @__PURE__ */ p(ut, [["render", ft]]), yt = {
|
|
472
472
|
components: { legendIcon: U, menuIcon: mt, closeIcon: K },
|
|
@@ -490,7 +490,7 @@ const mt = /* @__PURE__ */ p(ut, [["render", ft]]), yt = {
|
|
|
490
490
|
}
|
|
491
491
|
}, gt = { class: "w-full h-[calc(100%-40px)] bg-white" }, _t = { class: "w-full flex flex-col gap-[8px] h-[250px] overflow-auto [&::-webkit-scrollbar]:h-1.5 [&::-webkit-scrollbar]:w-1.5 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-gray-300 [&::-webkit-scrollbar-track]:bg-transparent text-xs" }, bt = { class: "relative min-w-full bg-white text-[12px]" }, vt = { class: "divide-gray-200 dark:divide-neutral-700" }, wt = { class: "px-2 py-1" }, Lt = { class: "px-2 py-1" };
|
|
492
492
|
function kt(t, e, i, s, o, n) {
|
|
493
|
-
return
|
|
493
|
+
return h(), l("div", gt, [
|
|
494
494
|
a("div", _t, [
|
|
495
495
|
a("table", bt, [
|
|
496
496
|
e[0] || (e[0] = a("thead", { class: "sticky top-[-1px] z-[1] bg-white w-full after:absolute after:content-[''] after:block after:w-full after:h-px after:bg-stone-200" }, [
|
|
@@ -500,7 +500,7 @@ function kt(t, e, i, s, o, n) {
|
|
|
500
500
|
])
|
|
501
501
|
], -1)),
|
|
502
502
|
a("tbody", vt, [
|
|
503
|
-
(
|
|
503
|
+
(h(!0), l(z, null, S(i.source, (r) => (h(), l("tr", {
|
|
504
504
|
key: r.id,
|
|
505
505
|
class: "border-b cursor-pointer hover:bg-gray-100 odd:bg-gray-50"
|
|
506
506
|
}, [
|
|
@@ -514,11 +514,11 @@ function kt(t, e, i, s, o, n) {
|
|
|
514
514
|
}
|
|
515
515
|
const Ct = /* @__PURE__ */ p(yt, [["render", kt]]);
|
|
516
516
|
export {
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
517
|
+
Ct as V,
|
|
518
|
+
Mt as a,
|
|
519
|
+
Et as b,
|
|
520
520
|
K as c,
|
|
521
|
-
|
|
521
|
+
St as d,
|
|
522
522
|
O as e,
|
|
523
523
|
U as l,
|
|
524
524
|
zt as p
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as V, c as N } from "./import-file-
|
|
3
|
-
import { resolveComponent as u,
|
|
1
|
+
import { c as E, l as L, p as $, V as T, a as B, b as H, d as O, e as F } from "./vs-list-DeHF_Oaf.js";
|
|
2
|
+
import { _ as V, c as N } from "./import-file-D8jh74Dz.js";
|
|
3
|
+
import { resolveComponent as u, createElementBlock as p, openBlock as i, Fragment as w, createElementVNode as l, createBlock as C, createCommentVNode as m, createVNode as x, Teleport as P, toDisplayString as f, renderList as S, normalizeStyle as k, normalizeClass as I } from "vue";
|
|
4
4
|
const R = {
|
|
5
|
-
components: { legendIcon:
|
|
5
|
+
components: { legendIcon: L, closeIcon: E },
|
|
6
6
|
props: {
|
|
7
7
|
mapId: { type: String },
|
|
8
8
|
colors: { type: Array },
|
|
@@ -132,11 +132,11 @@ function Y(e, o, t, s, r, a) {
|
|
|
132
132
|
}
|
|
133
133
|
const ee = /* @__PURE__ */ V(R, [["render", Y]]), te = {
|
|
134
134
|
components: {
|
|
135
|
-
VsMapSetting:
|
|
136
|
-
VsMapSlotLayers:
|
|
135
|
+
VsMapSetting: O,
|
|
136
|
+
VsMapSlotLayers: H,
|
|
137
137
|
VsMapLegend: ee,
|
|
138
|
-
VsMapGoHome:
|
|
139
|
-
VsList:
|
|
138
|
+
VsMapGoHome: B,
|
|
139
|
+
VsList: T
|
|
140
140
|
},
|
|
141
141
|
data() {
|
|
142
142
|
return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as x,
|
|
3
|
-
import {
|
|
1
|
+
import { c as F, l as G, p as T, b as A, V as P, a as Z, d as q, e as D } from "./vs-list-DeHF_Oaf.js";
|
|
2
|
+
import { _ as x, V as K, c as W, e as j } from "./import-file-D8jh74Dz.js";
|
|
3
|
+
import { createElementBlock as p, createCommentVNode as S, openBlock as c, createElementVNode as r, normalizeClass as I, Fragment as N, renderList as R, toDisplayString as O, normalizeStyle as J, createStaticVNode as Q, resolveComponent as g, withDirectives as M, createBlock as k, resolveDynamicComponent as U, createVNode as z, vShow as C } from "vue";
|
|
4
4
|
const X = {
|
|
5
|
-
components: { legendIcon:
|
|
5
|
+
components: { legendIcon: G, closeIcon: F },
|
|
6
6
|
props: {
|
|
7
7
|
mapId: { type: String },
|
|
8
8
|
colors: { type: Array },
|
|
@@ -88,7 +88,7 @@ const ot = /* @__PURE__ */ x(X, [["render", st]]), rt = {}, nt = {
|
|
|
88
88
|
class: "icon icon-tabler icons-tabler-outline icon-tabler-map"
|
|
89
89
|
};
|
|
90
90
|
function at(e, s) {
|
|
91
|
-
return c(), p("svg", nt, s[0] || (s[0] = [
|
|
91
|
+
return c(), p("svg", nt, [...s[0] || (s[0] = [
|
|
92
92
|
r("path", {
|
|
93
93
|
stroke: "none",
|
|
94
94
|
d: "M0 0h24v24H0z",
|
|
@@ -97,7 +97,7 @@ function at(e, s) {
|
|
|
97
97
|
r("path", { d: "M3 7l6 -3l6 3l6 -3v13l-6 3l-6 -3l-6 3v-13" }, null, -1),
|
|
98
98
|
r("path", { d: "M9 4v13" }, null, -1),
|
|
99
99
|
r("path", { d: "M15 7v13" }, null, -1)
|
|
100
|
-
]));
|
|
100
|
+
])]);
|
|
101
101
|
}
|
|
102
102
|
const lt = /* @__PURE__ */ x(rt, [["render", at]]), it = {}, ct = {
|
|
103
103
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -112,7 +112,7 @@ const lt = /* @__PURE__ */ x(rt, [["render", at]]), it = {}, ct = {
|
|
|
112
112
|
class: "icon icon-tabler icons-tabler-outline icon-tabler-table"
|
|
113
113
|
};
|
|
114
114
|
function pt(e, s) {
|
|
115
|
-
return c(), p("svg", ct, s[0] || (s[0] = [
|
|
115
|
+
return c(), p("svg", ct, [...s[0] || (s[0] = [
|
|
116
116
|
r("path", {
|
|
117
117
|
stroke: "none",
|
|
118
118
|
d: "M0 0h24v24H0z",
|
|
@@ -121,7 +121,7 @@ function pt(e, s) {
|
|
|
121
121
|
r("path", { d: "M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z" }, null, -1),
|
|
122
122
|
r("path", { d: "M3 10h18" }, null, -1),
|
|
123
123
|
r("path", { d: "M10 3v18" }, null, -1)
|
|
124
|
-
]));
|
|
124
|
+
])]);
|
|
125
125
|
}
|
|
126
126
|
const dt = /* @__PURE__ */ x(it, [["render", pt]]), ht = {}, ut = {
|
|
127
127
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -136,20 +136,20 @@ const dt = /* @__PURE__ */ x(it, [["render", pt]]), ht = {}, ut = {
|
|
|
136
136
|
class: "icon icon-tabler icons-tabler-outline icon-tabler-align-box-left-stretch"
|
|
137
137
|
};
|
|
138
138
|
function mt(e, s) {
|
|
139
|
-
return c(), p("svg", ut, s[0] || (s[0] = [
|
|
139
|
+
return c(), p("svg", ut, [...s[0] || (s[0] = [
|
|
140
140
|
Q('<path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"></path><path d="M9 17h-2"></path><path d="M13 12h-6"></path><path d="M11 7h-4"></path>', 5)
|
|
141
|
-
]));
|
|
141
|
+
])]);
|
|
142
142
|
}
|
|
143
143
|
const gt = /* @__PURE__ */ x(ht, [["render", mt]]), ft = {
|
|
144
|
-
mixins: [
|
|
144
|
+
mixins: [W, D],
|
|
145
145
|
components: {
|
|
146
|
-
VsMapSetting:
|
|
146
|
+
VsMapSetting: q,
|
|
147
147
|
VsClusterLegend: ot,
|
|
148
148
|
VsMapGoHome: Z,
|
|
149
|
-
VsList:
|
|
150
|
-
VsMapSlotLayers:
|
|
149
|
+
VsList: P,
|
|
150
|
+
VsMapSlotLayers: A,
|
|
151
151
|
// VsListbar,
|
|
152
|
-
VsBar:
|
|
152
|
+
VsBar: K
|
|
153
153
|
},
|
|
154
154
|
data() {
|
|
155
155
|
return {
|
|
@@ -290,14 +290,14 @@ function kt(e, s, n, o, t, a) {
|
|
|
290
290
|
class: I(["p-1 text-gray-700 border rounded", [t.activeTab === (l == null ? void 0 : l.id) ? "ring-2 ring-blue-500" : ""]]),
|
|
291
291
|
onClick: (Ct) => t.activeTab = l == null ? void 0 : l.id
|
|
292
292
|
}, [
|
|
293
|
-
(c(),
|
|
293
|
+
(c(), k(U(l == null ? void 0 : l.component), {
|
|
294
294
|
height: "16",
|
|
295
295
|
width: "16"
|
|
296
296
|
}))
|
|
297
297
|
], 10, xt))), 256))
|
|
298
298
|
])
|
|
299
299
|
]),
|
|
300
|
-
|
|
300
|
+
M(r("div", {
|
|
301
301
|
class: "relative w-full h-[calc(100%-40px)]",
|
|
302
302
|
id: `wrapper-${t.mapId}`
|
|
303
303
|
}, [
|
|
@@ -305,7 +305,7 @@ function kt(e, s, n, o, t, a) {
|
|
|
305
305
|
id: t.mapId,
|
|
306
306
|
class: "h-full w-full flex items-end min-h-[250px]"
|
|
307
307
|
}, null, 8, zt),
|
|
308
|
-
t.showSetting ? (c(),
|
|
308
|
+
t.showSetting ? (c(), k(h, {
|
|
309
309
|
key: 0,
|
|
310
310
|
map: t.map,
|
|
311
311
|
coordinates: t.coordinatesByMouse
|
|
@@ -328,7 +328,7 @@ function kt(e, s, n, o, t, a) {
|
|
|
328
328
|
], 8, wt), [
|
|
329
329
|
[C, t.activeTab == "map"]
|
|
330
330
|
]),
|
|
331
|
-
|
|
331
|
+
M(z(m, {
|
|
332
332
|
mapId: t.mapId,
|
|
333
333
|
source: (v = t.data) == null ? void 0 : v.rows,
|
|
334
334
|
total: ((_ = t.data) == null ? void 0 : _.total) || 0,
|
|
@@ -337,8 +337,8 @@ function kt(e, s, n, o, t, a) {
|
|
|
337
337
|
}, null, 8, ["mapId", "source", "total", "count"]), [
|
|
338
338
|
[C, t.activeTab == "table"]
|
|
339
339
|
]),
|
|
340
|
-
|
|
341
|
-
(E = (L = t.data) == null ? void 0 : L.rows) != null && E.length ? (c(),
|
|
340
|
+
M(r("div", Mt, [
|
|
341
|
+
(E = (L = t.data) == null ? void 0 : L.rows) != null && E.length ? (c(), k(w, {
|
|
342
342
|
key: 0,
|
|
343
343
|
source: (H = (B = t.data) == null ? void 0 : B.rows) == null ? void 0 : H.map((l) => ({
|
|
344
344
|
title: l == null ? void 0 : l.title,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as c, c as o, f as n } from "./import-file-
|
|
2
|
-
import {
|
|
1
|
+
import { _ as c, c as o, f as n } from "./import-file-D8jh74Dz.js";
|
|
2
|
+
import { createElementBlock as i, openBlock as m, toDisplayString as s } from "vue";
|
|
3
3
|
const u = {
|
|
4
4
|
name: "VsNumber",
|
|
5
5
|
mixins: [o],
|
|
@@ -47,7 +47,7 @@ const u = {
|
|
|
47
47
|
}
|
|
48
48
|
}, h = { class: "text-lg lg:text-xl xl:text-2xl text-gray-800 h-[32px] flex items-center" };
|
|
49
49
|
function x(e, t, r, f, l, a) {
|
|
50
|
-
return
|
|
50
|
+
return m(), i("div", h, s(a.prefix) + s(a.formattedNumber), 1);
|
|
51
51
|
}
|
|
52
52
|
const b = /* @__PURE__ */ c(u, [["render", x]]);
|
|
53
53
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as m, c as f,
|
|
2
|
-
import {
|
|
1
|
+
import { _ as m, c as f, b as _, d as b } from "./import-file-D8jh74Dz.js";
|
|
2
|
+
import { createElementBlock as a, openBlock as r, createElementVNode as s, Fragment as n, renderList as c, toDisplayString as d } from "vue";
|
|
3
3
|
const x = {
|
|
4
4
|
name: "VsTable",
|
|
5
5
|
mixins: [f],
|
|
@@ -39,20 +39,20 @@ const x = {
|
|
|
39
39
|
class: "xl:min-w-[120px] min-w-48"
|
|
40
40
|
}, F = { class: "flex items-center px-1 py-3 font-medium text-gray-800 text-start gap-x-1" }, T = { class: "divide-y divide-gray-200" }, B = { class: "text-gray-600" };
|
|
41
41
|
function E(t, e, o, l, N, S) {
|
|
42
|
-
return
|
|
42
|
+
return r(), a("div", y, [
|
|
43
43
|
s("div", g, [
|
|
44
44
|
s("div", w, [
|
|
45
45
|
s("table", k, [
|
|
46
46
|
s("thead", v, [
|
|
47
47
|
s("tr", D, [
|
|
48
|
-
(
|
|
48
|
+
(r(!0), a(n, null, c(t.dimensions, (i) => (r(), a("th", $, [
|
|
49
49
|
s("div", F, d(i), 1)
|
|
50
50
|
]))), 256))
|
|
51
51
|
])
|
|
52
52
|
]),
|
|
53
53
|
s("tbody", T, [
|
|
54
|
-
(
|
|
55
|
-
(
|
|
54
|
+
(r(!0), a(n, null, c(t.sourceData, (i, p) => (r(), a("tr", { key: p }, [
|
|
55
|
+
(r(!0), a(n, null, c(t.dimensions, (u, h) => (r(), a("td", {
|
|
56
56
|
key: h,
|
|
57
57
|
class: "py-3 whitespace-nowrap"
|
|
58
58
|
}, [
|