@opengis/gis 0.2.15 → 0.2.17
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/index.js +520 -517
- package/dist/index.umd.cjs +13 -13
- package/package.json +1 -1
- package/server/routes/map/vtile1.js +1 -1
package/dist/index.js
CHANGED
|
@@ -974,6 +974,7 @@ const Ho = /* @__PURE__ */ ie(Uo, [["render", Yo]]), ln = {
|
|
|
974
974
|
return (_, k) => (m(), Q(le(i), {
|
|
975
975
|
visible: n.value,
|
|
976
976
|
"onUpdate:visible": k[0] || (k[0] = (F) => n.value = F),
|
|
977
|
+
teleport: "#modal",
|
|
977
978
|
title: e.title,
|
|
978
979
|
size: "lg"
|
|
979
980
|
}, {
|
|
@@ -2142,14 +2143,14 @@ const Dl = { class: "flex justify-between p-4 pb-2 bg-slate-50 gap-4" }, Bl = {
|
|
|
2142
2143
|
}, null, 8, ["items", "columns"])) : c.value.length ? (m(), b("div", ds, " Додайте колонки та виберіть вигляд для перегляду ")) : (m(), b("div", cs, " Немає даних для превʼю "))
|
|
2143
2144
|
]));
|
|
2144
2145
|
}
|
|
2145
|
-
}), ps = { class: "relative
|
|
2146
|
+
}), ps = { class: "relative h-screen flex flex-col bg-white p-8" }, vs = { class: "flex-1 flex flex-col min-h-0 overflow-hidden" }, ms = { class: "max-w-6xl mx-auto flex-1 flex flex-col min-h-0 w-full" }, gs = { class: "flex items-center justify-between mb-6 flex-shrink-0" }, hs = { class: "flex items-center gap-2" }, ys = ["href"], xs = { class: "w-full flex-shrink-0 mb-6" }, bs = { class: "flex items-center w-full h-10 max-w-md grid-cols-3 p-1 bg-white border border-gray-200 rounded-md text-muted-foreground" }, _s = ["onClick"], ws = { class: "flex-1 min-h-0 overflow-y-auto" }, $v = /* @__PURE__ */ ne({
|
|
2146
2147
|
__name: "register",
|
|
2147
2148
|
setup(e) {
|
|
2148
2149
|
const t = xt(), n = st(), r = O("list"), l = O(""), o = [
|
|
2149
|
-
{ name: "
|
|
2150
|
-
{ name: "
|
|
2151
|
-
{ name: "
|
|
2152
|
-
{ name: "
|
|
2150
|
+
{ name: "Список", id: "list" },
|
|
2151
|
+
{ name: "Фільтри", id: "filters" },
|
|
2152
|
+
{ name: "Картка", id: "card" },
|
|
2153
|
+
{ name: "Перегляд", id: "preview" }
|
|
2153
2154
|
], i = {
|
|
2154
2155
|
list: Al,
|
|
2155
2156
|
filters: Ml,
|
|
@@ -2222,44 +2223,46 @@ const Dl = { class: "flex justify-between p-4 pb-2 bg-slate-50 gap-4" }, Bl = {
|
|
|
2222
2223
|
typeof y == "string" && u.includes(y) && r.value !== y && (r.value = y);
|
|
2223
2224
|
}
|
|
2224
2225
|
), (y, d) => (m(), b("main", ps, [
|
|
2225
|
-
s("div",
|
|
2226
|
-
s("div",
|
|
2227
|
-
s("div",
|
|
2226
|
+
s("div", vs, [
|
|
2227
|
+
s("div", ms, [
|
|
2228
|
+
s("div", gs, [
|
|
2228
2229
|
d[1] || (d[1] = s("div", null, [
|
|
2229
2230
|
s("h1", { class: "mb-2 text-2xl font-semibold text-gray-900" }, "Створити контент"),
|
|
2230
2231
|
s("p", { class: "text-gray-600" }, "Створити контент для вашого сайту")
|
|
2231
2232
|
], -1)),
|
|
2232
|
-
s("div",
|
|
2233
|
+
s("div", hs, [
|
|
2233
2234
|
s("a", {
|
|
2234
2235
|
href: `/${le(t).path.split("/")[1]}`,
|
|
2235
2236
|
class: "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 border bg-background hover:text-accent-foreground h-10 px-4 py-2 border-gray-300 text-gray-700 hover:bg-gray-50"
|
|
2236
|
-
}, " Повернутися ", 8,
|
|
2237
|
+
}, " Повернутися ", 8, ys),
|
|
2237
2238
|
s("button", {
|
|
2238
2239
|
onClick: g,
|
|
2239
2240
|
class: "inline-flex items-center justify-center gap-2 whitespace-nowrap text-white rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 text-primary-foreground h-10 px-4 py-2 bg-blue-600 hover:bg-blue-700"
|
|
2240
2241
|
}, " Зберегти ")
|
|
2241
2242
|
])
|
|
2242
2243
|
]),
|
|
2243
|
-
s("div",
|
|
2244
|
-
s("div",
|
|
2244
|
+
s("div", xs, [
|
|
2245
|
+
s("div", bs, [
|
|
2245
2246
|
(m(), b(q, null, J(o, (p) => s("button", {
|
|
2246
2247
|
key: p.id,
|
|
2247
2248
|
onClick: (x) => r.value = p.id,
|
|
2248
2249
|
class: pe(["inline-flex flex-1 items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm data-[state=active]:bg-blue-50 data-[state=active]:text-blue-700 data-[state=active]:border-blue-200", p.id === r.value ? "bg-blue-50 text-blue-700 border-blue-200" : ""])
|
|
2249
|
-
}, B(p.name), 11,
|
|
2250
|
+
}, B(p.name), 11, _s)), 64))
|
|
2250
2251
|
])
|
|
2251
2252
|
]),
|
|
2252
|
-
(
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2253
|
+
s("div", ws, [
|
|
2254
|
+
(m(), Q(yt(i[r.value]), {
|
|
2255
|
+
data: f.value,
|
|
2256
|
+
"onUpdate:data": d[0] || (d[0] = (p) => f.value = p),
|
|
2257
|
+
fields: c.value,
|
|
2258
|
+
key: r.value
|
|
2259
|
+
}, null, 40, ["data", "fields"]))
|
|
2260
|
+
])
|
|
2258
2261
|
])
|
|
2259
2262
|
])
|
|
2260
2263
|
]));
|
|
2261
2264
|
}
|
|
2262
|
-
}),
|
|
2265
|
+
}), ks = {}, $s = {
|
|
2263
2266
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2264
2267
|
width: "24",
|
|
2265
2268
|
height: "24",
|
|
@@ -2271,8 +2274,8 @@ const Dl = { class: "flex justify-between p-4 pb-2 bg-slate-50 gap-4" }, Bl = {
|
|
|
2271
2274
|
"stroke-linejoin": "round",
|
|
2272
2275
|
class: "lucide lucide-settings"
|
|
2273
2276
|
};
|
|
2274
|
-
function
|
|
2275
|
-
return m(), b("svg",
|
|
2277
|
+
function Cs(e, t) {
|
|
2278
|
+
return m(), b("svg", $s, [...t[0] || (t[0] = [
|
|
2276
2279
|
s("path", { d: "M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z" }, null, -1),
|
|
2277
2280
|
s("circle", {
|
|
2278
2281
|
cx: "12",
|
|
@@ -2281,7 +2284,7 @@ function ks(e, t) {
|
|
|
2281
2284
|
}, null, -1)
|
|
2282
2285
|
])]);
|
|
2283
2286
|
}
|
|
2284
|
-
const
|
|
2287
|
+
const As = /* @__PURE__ */ ie(ks, [["render", Cs]]), Ls = {}, Ss = {
|
|
2285
2288
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2286
2289
|
width: "24",
|
|
2287
2290
|
height: "24",
|
|
@@ -2293,14 +2296,14 @@ const $s = /* @__PURE__ */ ie(_s, [["render", ks]]), Cs = {}, As = {
|
|
|
2293
2296
|
"stroke-linejoin": "round",
|
|
2294
2297
|
class: "lucide lucide-layers"
|
|
2295
2298
|
};
|
|
2296
|
-
function
|
|
2297
|
-
return m(), b("svg",
|
|
2299
|
+
function Es(e, t) {
|
|
2300
|
+
return m(), b("svg", Ss, [...t[0] || (t[0] = [
|
|
2298
2301
|
s("path", { d: "m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z" }, null, -1),
|
|
2299
2302
|
s("path", { d: "m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65" }, null, -1),
|
|
2300
2303
|
s("path", { d: "m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65" }, null, -1)
|
|
2301
2304
|
])]);
|
|
2302
2305
|
}
|
|
2303
|
-
const
|
|
2306
|
+
const Fs = /* @__PURE__ */ ie(Ls, [["render", Es]]), Is = {}, Ms = {
|
|
2304
2307
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2305
2308
|
width: "24",
|
|
2306
2309
|
height: "24",
|
|
@@ -2312,8 +2315,8 @@ const Ss = /* @__PURE__ */ ie(Cs, [["render", Ls]]), Es = {}, Fs = {
|
|
|
2312
2315
|
"stroke-linejoin": "round",
|
|
2313
2316
|
class: "lucide lucide-eye"
|
|
2314
2317
|
};
|
|
2315
|
-
function
|
|
2316
|
-
return m(), b("svg",
|
|
2318
|
+
function Ts(e, t) {
|
|
2319
|
+
return m(), b("svg", Ms, [...t[0] || (t[0] = [
|
|
2317
2320
|
s("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }, null, -1),
|
|
2318
2321
|
s("circle", {
|
|
2319
2322
|
cx: "12",
|
|
@@ -2322,7 +2325,7 @@ function Is(e, t) {
|
|
|
2322
2325
|
}, null, -1)
|
|
2323
2326
|
])]);
|
|
2324
2327
|
}
|
|
2325
|
-
const
|
|
2328
|
+
const js = /* @__PURE__ */ ie(Is, [["render", Ts]]), Os = {}, Ns = {
|
|
2326
2329
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2327
2330
|
width: "24",
|
|
2328
2331
|
height: "24",
|
|
@@ -2334,14 +2337,14 @@ const Ms = /* @__PURE__ */ ie(Es, [["render", Is]]), Ts = {}, js = {
|
|
|
2334
2337
|
"stroke-linejoin": "round",
|
|
2335
2338
|
class: "lucide lucide-map"
|
|
2336
2339
|
};
|
|
2337
|
-
function
|
|
2338
|
-
return m(), b("svg",
|
|
2340
|
+
function Ps(e, t) {
|
|
2341
|
+
return m(), b("svg", Ns, [...t[0] || (t[0] = [
|
|
2339
2342
|
s("path", { d: "M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z" }, null, -1),
|
|
2340
2343
|
s("path", { d: "M15 5.764v15" }, null, -1),
|
|
2341
2344
|
s("path", { d: "M9 3.236v15" }, null, -1)
|
|
2342
2345
|
])]);
|
|
2343
2346
|
}
|
|
2344
|
-
const
|
|
2347
|
+
const zs = /* @__PURE__ */ ie(Os, [["render", Ps]]), Rs = {}, Ds = {
|
|
2345
2348
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2346
2349
|
width: "24",
|
|
2347
2350
|
height: "24",
|
|
@@ -2353,12 +2356,12 @@ const Ns = /* @__PURE__ */ ie(Ts, [["render", Os]]), Ps = {}, zs = {
|
|
|
2353
2356
|
"stroke-linejoin": "round",
|
|
2354
2357
|
class: "lucide lucide-filter"
|
|
2355
2358
|
};
|
|
2356
|
-
function
|
|
2357
|
-
return m(), b("svg",
|
|
2359
|
+
function Bs(e, t) {
|
|
2360
|
+
return m(), b("svg", Ds, [...t[0] || (t[0] = [
|
|
2358
2361
|
s("polygon", { points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3" }, null, -1)
|
|
2359
2362
|
])]);
|
|
2360
2363
|
}
|
|
2361
|
-
const
|
|
2364
|
+
const Vs = /* @__PURE__ */ ie(Rs, [["render", Bs]]), Pn = /* @__PURE__ */ ne({
|
|
2362
2365
|
__name: "MonacoEditor",
|
|
2363
2366
|
props: {
|
|
2364
2367
|
modelValue: {},
|
|
@@ -2431,35 +2434,35 @@ const Ds = /* @__PURE__ */ ie(Ps, [["render", Rs]]), Pn = /* @__PURE__ */ ne({
|
|
|
2431
2434
|
function zn(e) {
|
|
2432
2435
|
return typeof e > "u" || e === null;
|
|
2433
2436
|
}
|
|
2434
|
-
function
|
|
2437
|
+
function Us(e) {
|
|
2435
2438
|
return typeof e == "object" && e !== null;
|
|
2436
2439
|
}
|
|
2437
|
-
function
|
|
2440
|
+
function qs(e) {
|
|
2438
2441
|
return Array.isArray(e) ? e : zn(e) ? [] : [e];
|
|
2439
2442
|
}
|
|
2440
|
-
function
|
|
2443
|
+
function Ys(e, t) {
|
|
2441
2444
|
var n, r, l, o;
|
|
2442
2445
|
if (t)
|
|
2443
2446
|
for (o = Object.keys(t), n = 0, r = o.length; n < r; n += 1)
|
|
2444
2447
|
l = o[n], e[l] = t[l];
|
|
2445
2448
|
return e;
|
|
2446
2449
|
}
|
|
2447
|
-
function
|
|
2450
|
+
function Hs(e, t) {
|
|
2448
2451
|
var n = "", r;
|
|
2449
2452
|
for (r = 0; r < t; r += 1)
|
|
2450
2453
|
n += e;
|
|
2451
2454
|
return n;
|
|
2452
2455
|
}
|
|
2453
|
-
function
|
|
2456
|
+
function Ws(e) {
|
|
2454
2457
|
return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
|
|
2455
2458
|
}
|
|
2456
|
-
var
|
|
2457
|
-
isNothing:
|
|
2458
|
-
isObject:
|
|
2459
|
-
toArray:
|
|
2460
|
-
repeat:
|
|
2461
|
-
isNegativeZero:
|
|
2462
|
-
extend:
|
|
2459
|
+
var Ks = zn, Zs = Us, Gs = qs, Xs = Hs, Qs = Ws, Js = Ys, ge = {
|
|
2460
|
+
isNothing: Ks,
|
|
2461
|
+
isObject: Zs,
|
|
2462
|
+
toArray: Gs,
|
|
2463
|
+
repeat: Xs,
|
|
2464
|
+
isNegativeZero: Qs,
|
|
2465
|
+
extend: Js
|
|
2463
2466
|
};
|
|
2464
2467
|
function Rn(e, t) {
|
|
2465
2468
|
var n = "", r = e.reason || "(unknown reason)";
|
|
@@ -2487,7 +2490,7 @@ function Mt(e, t, n, r, l) {
|
|
|
2487
2490
|
function Tt(e, t) {
|
|
2488
2491
|
return ge.repeat(" ", t - e.length) + e;
|
|
2489
2492
|
}
|
|
2490
|
-
function
|
|
2493
|
+
function ea(e, t) {
|
|
2491
2494
|
if (t = Object.create(t || null), !e.buffer) return null;
|
|
2492
2495
|
t.maxLength || (t.maxLength = 79), typeof t.indent != "number" && (t.indent = 1), typeof t.linesBefore != "number" && (t.linesBefore = 3), typeof t.linesAfter != "number" && (t.linesAfter = 2);
|
|
2493
2496
|
for (var n = /\r?\n|\r|\0/g, r = [0], l = [], o, i = -1; o = n.exec(e.buffer); )
|
|
@@ -2516,7 +2519,7 @@ function Qs(e, t) {
|
|
|
2516
2519
|
`;
|
|
2517
2520
|
return u.replace(/\n$/, "");
|
|
2518
2521
|
}
|
|
2519
|
-
var
|
|
2522
|
+
var ta = ea, na = [
|
|
2520
2523
|
"kind",
|
|
2521
2524
|
"multi",
|
|
2522
2525
|
"resolve",
|
|
@@ -2527,12 +2530,12 @@ var Js = Qs, ea = [
|
|
|
2527
2530
|
"representName",
|
|
2528
2531
|
"defaultStyle",
|
|
2529
2532
|
"styleAliases"
|
|
2530
|
-
],
|
|
2533
|
+
], ra = [
|
|
2531
2534
|
"scalar",
|
|
2532
2535
|
"sequence",
|
|
2533
2536
|
"mapping"
|
|
2534
2537
|
];
|
|
2535
|
-
function
|
|
2538
|
+
function oa(e) {
|
|
2536
2539
|
var t = {};
|
|
2537
2540
|
return e !== null && Object.keys(e).forEach(function(n) {
|
|
2538
2541
|
e[n].forEach(function(r) {
|
|
@@ -2540,18 +2543,18 @@ function na(e) {
|
|
|
2540
2543
|
});
|
|
2541
2544
|
}), t;
|
|
2542
2545
|
}
|
|
2543
|
-
function
|
|
2546
|
+
function la(e, t) {
|
|
2544
2547
|
if (t = t || {}, Object.keys(t).forEach(function(n) {
|
|
2545
|
-
if (
|
|
2548
|
+
if (na.indexOf(n) === -1)
|
|
2546
2549
|
throw new $e('Unknown option "' + n + '" is met in definition of "' + e + '" YAML type.');
|
|
2547
2550
|
}), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
|
|
2548
2551
|
return !0;
|
|
2549
2552
|
}, this.construct = t.construct || function(n) {
|
|
2550
2553
|
return n;
|
|
2551
|
-
}, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases =
|
|
2554
|
+
}, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = oa(t.styleAliases || null), ra.indexOf(this.kind) === -1)
|
|
2552
2555
|
throw new $e('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
|
|
2553
2556
|
}
|
|
2554
|
-
var be =
|
|
2557
|
+
var be = la;
|
|
2555
2558
|
function an(e, t) {
|
|
2556
2559
|
var n = [];
|
|
2557
2560
|
return e[t].forEach(function(r) {
|
|
@@ -2561,7 +2564,7 @@ function an(e, t) {
|
|
|
2561
2564
|
}), n[l] = r;
|
|
2562
2565
|
}), n;
|
|
2563
2566
|
}
|
|
2564
|
-
function
|
|
2567
|
+
function ia() {
|
|
2565
2568
|
var e = {
|
|
2566
2569
|
scalar: {},
|
|
2567
2570
|
sequence: {},
|
|
@@ -2606,46 +2609,46 @@ Bt.prototype.extend = function(t) {
|
|
|
2606
2609
|
throw new $e("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
2607
2610
|
});
|
|
2608
2611
|
var l = Object.create(Bt.prototype);
|
|
2609
|
-
return l.implicit = (this.implicit || []).concat(n), l.explicit = (this.explicit || []).concat(r), l.compiledImplicit = an(l, "implicit"), l.compiledExplicit = an(l, "explicit"), l.compiledTypeMap =
|
|
2612
|
+
return l.implicit = (this.implicit || []).concat(n), l.explicit = (this.explicit || []).concat(r), l.compiledImplicit = an(l, "implicit"), l.compiledExplicit = an(l, "explicit"), l.compiledTypeMap = ia(l.compiledImplicit, l.compiledExplicit), l;
|
|
2610
2613
|
};
|
|
2611
|
-
var
|
|
2614
|
+
var sa = Bt, aa = new be("tag:yaml.org,2002:str", {
|
|
2612
2615
|
kind: "scalar",
|
|
2613
2616
|
construct: function(e) {
|
|
2614
2617
|
return e !== null ? e : "";
|
|
2615
2618
|
}
|
|
2616
|
-
}),
|
|
2619
|
+
}), ua = new be("tag:yaml.org,2002:seq", {
|
|
2617
2620
|
kind: "sequence",
|
|
2618
2621
|
construct: function(e) {
|
|
2619
2622
|
return e !== null ? e : [];
|
|
2620
2623
|
}
|
|
2621
|
-
}),
|
|
2624
|
+
}), ca = new be("tag:yaml.org,2002:map", {
|
|
2622
2625
|
kind: "mapping",
|
|
2623
2626
|
construct: function(e) {
|
|
2624
2627
|
return e !== null ? e : {};
|
|
2625
2628
|
}
|
|
2626
|
-
}),
|
|
2629
|
+
}), da = new sa({
|
|
2627
2630
|
explicit: [
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
+
aa,
|
|
2632
|
+
ua,
|
|
2633
|
+
ca
|
|
2631
2634
|
]
|
|
2632
2635
|
});
|
|
2633
|
-
function
|
|
2636
|
+
function fa(e) {
|
|
2634
2637
|
if (e === null) return !0;
|
|
2635
2638
|
var t = e.length;
|
|
2636
2639
|
return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
|
|
2637
2640
|
}
|
|
2638
|
-
function
|
|
2641
|
+
function pa() {
|
|
2639
2642
|
return null;
|
|
2640
2643
|
}
|
|
2641
|
-
function
|
|
2644
|
+
function va(e) {
|
|
2642
2645
|
return e === null;
|
|
2643
2646
|
}
|
|
2644
|
-
var
|
|
2647
|
+
var ma = new be("tag:yaml.org,2002:null", {
|
|
2645
2648
|
kind: "scalar",
|
|
2646
|
-
resolve:
|
|
2647
|
-
construct:
|
|
2648
|
-
predicate:
|
|
2649
|
+
resolve: fa,
|
|
2650
|
+
construct: pa,
|
|
2651
|
+
predicate: va,
|
|
2649
2652
|
represent: {
|
|
2650
2653
|
canonical: function() {
|
|
2651
2654
|
return "~";
|
|
@@ -2665,22 +2668,22 @@ var pa = new be("tag:yaml.org,2002:null", {
|
|
|
2665
2668
|
},
|
|
2666
2669
|
defaultStyle: "lowercase"
|
|
2667
2670
|
});
|
|
2668
|
-
function
|
|
2671
|
+
function ga(e) {
|
|
2669
2672
|
if (e === null) return !1;
|
|
2670
2673
|
var t = e.length;
|
|
2671
2674
|
return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
|
|
2672
2675
|
}
|
|
2673
|
-
function
|
|
2676
|
+
function ha(e) {
|
|
2674
2677
|
return e === "true" || e === "True" || e === "TRUE";
|
|
2675
2678
|
}
|
|
2676
|
-
function
|
|
2679
|
+
function ya(e) {
|
|
2677
2680
|
return Object.prototype.toString.call(e) === "[object Boolean]";
|
|
2678
2681
|
}
|
|
2679
|
-
var
|
|
2682
|
+
var xa = new be("tag:yaml.org,2002:bool", {
|
|
2680
2683
|
kind: "scalar",
|
|
2681
|
-
resolve:
|
|
2682
|
-
construct:
|
|
2683
|
-
predicate:
|
|
2684
|
+
resolve: ga,
|
|
2685
|
+
construct: ha,
|
|
2686
|
+
predicate: ya,
|
|
2684
2687
|
represent: {
|
|
2685
2688
|
lowercase: function(e) {
|
|
2686
2689
|
return e ? "true" : "false";
|
|
@@ -2694,16 +2697,16 @@ var ha = new be("tag:yaml.org,2002:bool", {
|
|
|
2694
2697
|
},
|
|
2695
2698
|
defaultStyle: "lowercase"
|
|
2696
2699
|
});
|
|
2697
|
-
function
|
|
2700
|
+
function ba(e) {
|
|
2698
2701
|
return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
|
|
2699
2702
|
}
|
|
2700
|
-
function
|
|
2703
|
+
function _a(e) {
|
|
2701
2704
|
return 48 <= e && e <= 55;
|
|
2702
2705
|
}
|
|
2703
|
-
function
|
|
2706
|
+
function wa(e) {
|
|
2704
2707
|
return 48 <= e && e <= 57;
|
|
2705
2708
|
}
|
|
2706
|
-
function
|
|
2709
|
+
function ka(e) {
|
|
2707
2710
|
if (e === null) return !1;
|
|
2708
2711
|
var t = e.length, n = 0, r = !1, l;
|
|
2709
2712
|
if (!t) return !1;
|
|
@@ -2720,7 +2723,7 @@ function _a(e) {
|
|
|
2720
2723
|
if (l === "x") {
|
|
2721
2724
|
for (n++; n < t; n++)
|
|
2722
2725
|
if (l = e[n], l !== "_") {
|
|
2723
|
-
if (!
|
|
2726
|
+
if (!ba(e.charCodeAt(n))) return !1;
|
|
2724
2727
|
r = !0;
|
|
2725
2728
|
}
|
|
2726
2729
|
return r && l !== "_";
|
|
@@ -2728,7 +2731,7 @@ function _a(e) {
|
|
|
2728
2731
|
if (l === "o") {
|
|
2729
2732
|
for (n++; n < t; n++)
|
|
2730
2733
|
if (l = e[n], l !== "_") {
|
|
2731
|
-
if (!
|
|
2734
|
+
if (!_a(e.charCodeAt(n))) return !1;
|
|
2732
2735
|
r = !0;
|
|
2733
2736
|
}
|
|
2734
2737
|
return r && l !== "_";
|
|
@@ -2737,13 +2740,13 @@ function _a(e) {
|
|
|
2737
2740
|
if (l === "_") return !1;
|
|
2738
2741
|
for (; n < t; n++)
|
|
2739
2742
|
if (l = e[n], l !== "_") {
|
|
2740
|
-
if (!
|
|
2743
|
+
if (!wa(e.charCodeAt(n)))
|
|
2741
2744
|
return !1;
|
|
2742
2745
|
r = !0;
|
|
2743
2746
|
}
|
|
2744
2747
|
return !(!r || l === "_");
|
|
2745
2748
|
}
|
|
2746
|
-
function
|
|
2749
|
+
function $a(e) {
|
|
2747
2750
|
var t = e, n = 1, r;
|
|
2748
2751
|
if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), r = t[0], (r === "-" || r === "+") && (r === "-" && (n = -1), t = t.slice(1), r = t[0]), t === "0") return 0;
|
|
2749
2752
|
if (r === "0") {
|
|
@@ -2753,14 +2756,14 @@ function wa(e) {
|
|
|
2753
2756
|
}
|
|
2754
2757
|
return n * parseInt(t, 10);
|
|
2755
2758
|
}
|
|
2756
|
-
function
|
|
2759
|
+
function Ca(e) {
|
|
2757
2760
|
return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !ge.isNegativeZero(e);
|
|
2758
2761
|
}
|
|
2759
|
-
var
|
|
2762
|
+
var Aa = new be("tag:yaml.org,2002:int", {
|
|
2760
2763
|
kind: "scalar",
|
|
2761
|
-
resolve:
|
|
2762
|
-
construct:
|
|
2763
|
-
predicate:
|
|
2764
|
+
resolve: ka,
|
|
2765
|
+
construct: $a,
|
|
2766
|
+
predicate: Ca,
|
|
2764
2767
|
represent: {
|
|
2765
2768
|
binary: function(e) {
|
|
2766
2769
|
return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
|
|
@@ -2783,21 +2786,21 @@ var $a = new be("tag:yaml.org,2002:int", {
|
|
|
2783
2786
|
decimal: [10, "dec"],
|
|
2784
2787
|
hexadecimal: [16, "hex"]
|
|
2785
2788
|
}
|
|
2786
|
-
}),
|
|
2789
|
+
}), La = new RegExp(
|
|
2787
2790
|
// 2.5e4, 2.5 and integers
|
|
2788
2791
|
"^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
|
|
2789
2792
|
);
|
|
2790
|
-
function
|
|
2791
|
-
return !(e === null || !
|
|
2793
|
+
function Sa(e) {
|
|
2794
|
+
return !(e === null || !La.test(e) || // Quick hack to not allow integers end with `_`
|
|
2792
2795
|
// Probably should update regexp & check speed
|
|
2793
2796
|
e[e.length - 1] === "_");
|
|
2794
2797
|
}
|
|
2795
|
-
function
|
|
2798
|
+
function Ea(e) {
|
|
2796
2799
|
var t, n;
|
|
2797
2800
|
return t = e.replace(/_/g, "").toLowerCase(), n = t[0] === "-" ? -1 : 1, "+-".indexOf(t[0]) >= 0 && (t = t.slice(1)), t === ".inf" ? n === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : t === ".nan" ? NaN : n * parseFloat(t, 10);
|
|
2798
2801
|
}
|
|
2799
|
-
var
|
|
2800
|
-
function
|
|
2802
|
+
var Fa = /^[-+]?[0-9]+e/;
|
|
2803
|
+
function Ia(e, t) {
|
|
2801
2804
|
var n;
|
|
2802
2805
|
if (isNaN(e))
|
|
2803
2806
|
switch (t) {
|
|
@@ -2828,34 +2831,34 @@ function Ea(e, t) {
|
|
|
2828
2831
|
}
|
|
2829
2832
|
else if (ge.isNegativeZero(e))
|
|
2830
2833
|
return "-0.0";
|
|
2831
|
-
return n = e.toString(10),
|
|
2834
|
+
return n = e.toString(10), Fa.test(n) ? n.replace("e", ".e") : n;
|
|
2832
2835
|
}
|
|
2833
|
-
function
|
|
2836
|
+
function Ma(e) {
|
|
2834
2837
|
return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ge.isNegativeZero(e));
|
|
2835
2838
|
}
|
|
2836
|
-
var
|
|
2839
|
+
var Ta = new be("tag:yaml.org,2002:float", {
|
|
2837
2840
|
kind: "scalar",
|
|
2838
|
-
resolve:
|
|
2839
|
-
construct:
|
|
2840
|
-
predicate:
|
|
2841
|
-
represent:
|
|
2841
|
+
resolve: Sa,
|
|
2842
|
+
construct: Ea,
|
|
2843
|
+
predicate: Ma,
|
|
2844
|
+
represent: Ia,
|
|
2842
2845
|
defaultStyle: "lowercase"
|
|
2843
|
-
}),
|
|
2846
|
+
}), ja = da.extend({
|
|
2844
2847
|
implicit: [
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2848
|
+
ma,
|
|
2849
|
+
xa,
|
|
2850
|
+
Aa,
|
|
2851
|
+
Ta
|
|
2849
2852
|
]
|
|
2850
|
-
}),
|
|
2853
|
+
}), Oa = ja, Dn = new RegExp(
|
|
2851
2854
|
"^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
|
|
2852
2855
|
), Bn = new RegExp(
|
|
2853
2856
|
"^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"
|
|
2854
2857
|
);
|
|
2855
|
-
function
|
|
2858
|
+
function Na(e) {
|
|
2856
2859
|
return e === null ? !1 : Dn.exec(e) !== null || Bn.exec(e) !== null;
|
|
2857
2860
|
}
|
|
2858
|
-
function
|
|
2861
|
+
function Pa(e) {
|
|
2859
2862
|
var t, n, r, l, o, i, u, f = 0, c = null, g, a, v;
|
|
2860
2863
|
if (t = Dn.exec(e), t === null && (t = Bn.exec(e)), t === null) throw new Error("Date resolve error");
|
|
2861
2864
|
if (n = +t[1], r = +t[2] - 1, l = +t[3], !t[4])
|
|
@@ -2867,25 +2870,25 @@ function Oa(e) {
|
|
|
2867
2870
|
}
|
|
2868
2871
|
return t[9] && (g = +t[10], a = +(t[11] || 0), c = (g * 60 + a) * 6e4, t[9] === "-" && (c = -c)), v = new Date(Date.UTC(n, r, l, o, i, u, f)), c && v.setTime(v.getTime() - c), v;
|
|
2869
2872
|
}
|
|
2870
|
-
function
|
|
2873
|
+
function za(e) {
|
|
2871
2874
|
return e.toISOString();
|
|
2872
2875
|
}
|
|
2873
|
-
var
|
|
2876
|
+
var Ra = new be("tag:yaml.org,2002:timestamp", {
|
|
2874
2877
|
kind: "scalar",
|
|
2875
|
-
resolve:
|
|
2876
|
-
construct:
|
|
2878
|
+
resolve: Na,
|
|
2879
|
+
construct: Pa,
|
|
2877
2880
|
instanceOf: Date,
|
|
2878
|
-
represent:
|
|
2881
|
+
represent: za
|
|
2879
2882
|
});
|
|
2880
|
-
function
|
|
2883
|
+
function Da(e) {
|
|
2881
2884
|
return e === "<<" || e === null;
|
|
2882
2885
|
}
|
|
2883
|
-
var
|
|
2886
|
+
var Ba = new be("tag:yaml.org,2002:merge", {
|
|
2884
2887
|
kind: "scalar",
|
|
2885
|
-
resolve:
|
|
2888
|
+
resolve: Da
|
|
2886
2889
|
}), Qt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
2887
2890
|
\r`;
|
|
2888
|
-
function
|
|
2891
|
+
function Va(e) {
|
|
2889
2892
|
if (e === null) return !1;
|
|
2890
2893
|
var t, n, r = 0, l = e.length, o = Qt;
|
|
2891
2894
|
for (n = 0; n < l; n++)
|
|
@@ -2895,35 +2898,35 @@ function Da(e) {
|
|
|
2895
2898
|
}
|
|
2896
2899
|
return r % 8 === 0;
|
|
2897
2900
|
}
|
|
2898
|
-
function
|
|
2901
|
+
function Ua(e) {
|
|
2899
2902
|
var t, n, r = e.replace(/[\r\n=]/g, ""), l = r.length, o = Qt, i = 0, u = [];
|
|
2900
2903
|
for (t = 0; t < l; t++)
|
|
2901
2904
|
t % 4 === 0 && t && (u.push(i >> 16 & 255), u.push(i >> 8 & 255), u.push(i & 255)), i = i << 6 | o.indexOf(r.charAt(t));
|
|
2902
2905
|
return n = l % 4 * 6, n === 0 ? (u.push(i >> 16 & 255), u.push(i >> 8 & 255), u.push(i & 255)) : n === 18 ? (u.push(i >> 10 & 255), u.push(i >> 2 & 255)) : n === 12 && u.push(i >> 4 & 255), new Uint8Array(u);
|
|
2903
2906
|
}
|
|
2904
|
-
function
|
|
2907
|
+
function qa(e) {
|
|
2905
2908
|
var t = "", n = 0, r, l, o = e.length, i = Qt;
|
|
2906
2909
|
for (r = 0; r < o; r++)
|
|
2907
2910
|
r % 3 === 0 && r && (t += i[n >> 18 & 63], t += i[n >> 12 & 63], t += i[n >> 6 & 63], t += i[n & 63]), n = (n << 8) + e[r];
|
|
2908
2911
|
return l = o % 3, l === 0 ? (t += i[n >> 18 & 63], t += i[n >> 12 & 63], t += i[n >> 6 & 63], t += i[n & 63]) : l === 2 ? (t += i[n >> 10 & 63], t += i[n >> 4 & 63], t += i[n << 2 & 63], t += i[64]) : l === 1 && (t += i[n >> 2 & 63], t += i[n << 4 & 63], t += i[64], t += i[64]), t;
|
|
2909
2912
|
}
|
|
2910
|
-
function
|
|
2913
|
+
function Ya(e) {
|
|
2911
2914
|
return Object.prototype.toString.call(e) === "[object Uint8Array]";
|
|
2912
2915
|
}
|
|
2913
|
-
var
|
|
2916
|
+
var Ha = new be("tag:yaml.org,2002:binary", {
|
|
2914
2917
|
kind: "scalar",
|
|
2915
|
-
resolve:
|
|
2916
|
-
construct:
|
|
2917
|
-
predicate:
|
|
2918
|
-
represent:
|
|
2919
|
-
}),
|
|
2920
|
-
function
|
|
2918
|
+
resolve: Va,
|
|
2919
|
+
construct: Ua,
|
|
2920
|
+
predicate: Ya,
|
|
2921
|
+
represent: qa
|
|
2922
|
+
}), Wa = Object.prototype.hasOwnProperty, Ka = Object.prototype.toString;
|
|
2923
|
+
function Za(e) {
|
|
2921
2924
|
if (e === null) return !0;
|
|
2922
2925
|
var t = [], n, r, l, o, i, u = e;
|
|
2923
2926
|
for (n = 0, r = u.length; n < r; n += 1) {
|
|
2924
|
-
if (l = u[n], i = !1,
|
|
2927
|
+
if (l = u[n], i = !1, Ka.call(l) !== "[object Object]") return !1;
|
|
2925
2928
|
for (o in l)
|
|
2926
|
-
if (
|
|
2929
|
+
if (Wa.call(l, o))
|
|
2927
2930
|
if (!i) i = !0;
|
|
2928
2931
|
else return !1;
|
|
2929
2932
|
if (!i) return !1;
|
|
@@ -2932,62 +2935,62 @@ function Wa(e) {
|
|
|
2932
2935
|
}
|
|
2933
2936
|
return !0;
|
|
2934
2937
|
}
|
|
2935
|
-
function
|
|
2938
|
+
function Ga(e) {
|
|
2936
2939
|
return e !== null ? e : [];
|
|
2937
2940
|
}
|
|
2938
|
-
var
|
|
2941
|
+
var Xa = new be("tag:yaml.org,2002:omap", {
|
|
2939
2942
|
kind: "sequence",
|
|
2940
|
-
resolve:
|
|
2941
|
-
construct:
|
|
2942
|
-
}),
|
|
2943
|
-
function
|
|
2943
|
+
resolve: Za,
|
|
2944
|
+
construct: Ga
|
|
2945
|
+
}), Qa = Object.prototype.toString;
|
|
2946
|
+
function Ja(e) {
|
|
2944
2947
|
if (e === null) return !0;
|
|
2945
2948
|
var t, n, r, l, o, i = e;
|
|
2946
2949
|
for (o = new Array(i.length), t = 0, n = i.length; t < n; t += 1) {
|
|
2947
|
-
if (r = i[t],
|
|
2950
|
+
if (r = i[t], Qa.call(r) !== "[object Object]" || (l = Object.keys(r), l.length !== 1)) return !1;
|
|
2948
2951
|
o[t] = [l[0], r[l[0]]];
|
|
2949
2952
|
}
|
|
2950
2953
|
return !0;
|
|
2951
2954
|
}
|
|
2952
|
-
function
|
|
2955
|
+
function eu(e) {
|
|
2953
2956
|
if (e === null) return [];
|
|
2954
2957
|
var t, n, r, l, o, i = e;
|
|
2955
2958
|
for (o = new Array(i.length), t = 0, n = i.length; t < n; t += 1)
|
|
2956
2959
|
r = i[t], l = Object.keys(r), o[t] = [l[0], r[l[0]]];
|
|
2957
2960
|
return o;
|
|
2958
2961
|
}
|
|
2959
|
-
var
|
|
2962
|
+
var tu = new be("tag:yaml.org,2002:pairs", {
|
|
2960
2963
|
kind: "sequence",
|
|
2961
|
-
resolve:
|
|
2962
|
-
construct:
|
|
2963
|
-
}),
|
|
2964
|
-
function
|
|
2964
|
+
resolve: Ja,
|
|
2965
|
+
construct: eu
|
|
2966
|
+
}), nu = Object.prototype.hasOwnProperty;
|
|
2967
|
+
function ru(e) {
|
|
2965
2968
|
if (e === null) return !0;
|
|
2966
2969
|
var t, n = e;
|
|
2967
2970
|
for (t in n)
|
|
2968
|
-
if (
|
|
2971
|
+
if (nu.call(n, t) && n[t] !== null)
|
|
2969
2972
|
return !1;
|
|
2970
2973
|
return !0;
|
|
2971
2974
|
}
|
|
2972
|
-
function
|
|
2975
|
+
function ou(e) {
|
|
2973
2976
|
return e !== null ? e : {};
|
|
2974
2977
|
}
|
|
2975
|
-
var
|
|
2978
|
+
var lu = new be("tag:yaml.org,2002:set", {
|
|
2976
2979
|
kind: "mapping",
|
|
2977
|
-
resolve:
|
|
2978
|
-
construct:
|
|
2979
|
-
}), Vn =
|
|
2980
|
+
resolve: ru,
|
|
2981
|
+
construct: ou
|
|
2982
|
+
}), Vn = Oa.extend({
|
|
2980
2983
|
implicit: [
|
|
2981
|
-
|
|
2982
|
-
|
|
2984
|
+
Ra,
|
|
2985
|
+
Ba
|
|
2983
2986
|
],
|
|
2984
2987
|
explicit: [
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2988
|
+
Ha,
|
|
2989
|
+
Xa,
|
|
2990
|
+
tu,
|
|
2991
|
+
lu
|
|
2989
2992
|
]
|
|
2990
|
-
}), We = Object.prototype.hasOwnProperty, $t = 1, Un = 2, qn = 3, Ct = 4, jt = 1,
|
|
2993
|
+
}), We = Object.prototype.hasOwnProperty, $t = 1, Un = 2, qn = 3, Ct = 4, jt = 1, iu = 2, un = 3, su = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, au = /[\x85\u2028\u2029]/, uu = /[,\[\]\{\}]/, Yn = /^(?:!|!!|![a-z\-]+!)$/i, Hn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
2991
2994
|
function cn(e) {
|
|
2992
2995
|
return Object.prototype.toString.call(e);
|
|
2993
2996
|
}
|
|
@@ -3003,21 +3006,21 @@ function Ce(e) {
|
|
|
3003
3006
|
function nt(e) {
|
|
3004
3007
|
return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
|
|
3005
3008
|
}
|
|
3006
|
-
function
|
|
3009
|
+
function cu(e) {
|
|
3007
3010
|
var t;
|
|
3008
3011
|
return 48 <= e && e <= 57 ? e - 48 : (t = e | 32, 97 <= t && t <= 102 ? t - 97 + 10 : -1);
|
|
3009
3012
|
}
|
|
3010
|
-
function
|
|
3013
|
+
function du(e) {
|
|
3011
3014
|
return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
|
|
3012
3015
|
}
|
|
3013
|
-
function
|
|
3016
|
+
function fu(e) {
|
|
3014
3017
|
return 48 <= e && e <= 57 ? e - 48 : -1;
|
|
3015
3018
|
}
|
|
3016
3019
|
function dn(e) {
|
|
3017
3020
|
return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
|
|
3018
3021
|
` : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? '"' : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "
" : e === 95 ? " " : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
|
|
3019
3022
|
}
|
|
3020
|
-
function
|
|
3023
|
+
function pu(e) {
|
|
3021
3024
|
return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
|
|
3022
3025
|
(e - 65536 >> 10) + 55296,
|
|
3023
3026
|
(e - 65536 & 1023) + 56320
|
|
@@ -3026,7 +3029,7 @@ function du(e) {
|
|
|
3026
3029
|
var Wn = new Array(256), Kn = new Array(256);
|
|
3027
3030
|
for (var et = 0; et < 256; et++)
|
|
3028
3031
|
Wn[et] = dn(et) ? 1 : 0, Kn[et] = dn(et);
|
|
3029
|
-
function
|
|
3032
|
+
function vu(e, t) {
|
|
3030
3033
|
this.input = e, this.filename = t.filename || null, this.schema = t.schema || Vn, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
|
|
3031
3034
|
}
|
|
3032
3035
|
function Zn(e, t) {
|
|
@@ -3038,7 +3041,7 @@ function Zn(e, t) {
|
|
|
3038
3041
|
line: e.line,
|
|
3039
3042
|
column: e.position - e.lineStart
|
|
3040
3043
|
};
|
|
3041
|
-
return n.snippet =
|
|
3044
|
+
return n.snippet = ta(n), new $e(t, n);
|
|
3042
3045
|
}
|
|
3043
3046
|
function X(e, t) {
|
|
3044
3047
|
throw Zn(e, t);
|
|
@@ -3068,7 +3071,7 @@ function Ye(e, t, n, r) {
|
|
|
3068
3071
|
if (u = e.input.slice(t, n), r)
|
|
3069
3072
|
for (l = 0, o = u.length; l < o; l += 1)
|
|
3070
3073
|
i = u.charCodeAt(l), i === 9 || 32 <= i && i <= 1114111 || X(e, "expected valid JSON character");
|
|
3071
|
-
else
|
|
3074
|
+
else su.test(u) && X(e, "the stream contains non-printable characters");
|
|
3072
3075
|
e.result += u;
|
|
3073
3076
|
}
|
|
3074
3077
|
}
|
|
@@ -3125,7 +3128,7 @@ function en(e, t) {
|
|
|
3125
3128
|
t === 1 ? e.result += " " : t > 1 && (e.result += ge.repeat(`
|
|
3126
3129
|
`, t - 1));
|
|
3127
3130
|
}
|
|
3128
|
-
function
|
|
3131
|
+
function mu(e, t, n) {
|
|
3129
3132
|
var r, l, o, i, u, f, c, g, a = e.kind, v = e.result, y;
|
|
3130
3133
|
if (y = e.input.charCodeAt(e.position), Ce(y) || nt(y) || y === 35 || y === 38 || y === 42 || y === 33 || y === 124 || y === 62 || y === 39 || y === 34 || y === 37 || y === 64 || y === 96 || (y === 63 || y === 45) && (l = e.input.charCodeAt(e.position + 1), Ce(l) || n && nt(l)))
|
|
3131
3134
|
return !1;
|
|
@@ -3152,7 +3155,7 @@ function pu(e, t, n) {
|
|
|
3152
3155
|
}
|
|
3153
3156
|
return Ye(e, o, i, !1), e.result ? !0 : (e.kind = a, e.result = v, !1);
|
|
3154
3157
|
}
|
|
3155
|
-
function
|
|
3158
|
+
function gu(e, t) {
|
|
3156
3159
|
var n, r, l;
|
|
3157
3160
|
if (n = e.input.charCodeAt(e.position), n !== 39)
|
|
3158
3161
|
return !1;
|
|
@@ -3165,7 +3168,7 @@ function vu(e, t) {
|
|
|
3165
3168
|
else De(n) ? (Ye(e, r, l, !0), en(e, me(e, !1, t)), r = l = e.position) : e.position === e.lineStart && Et(e) ? X(e, "unexpected end of the document within a single quoted scalar") : (e.position++, l = e.position);
|
|
3166
3169
|
X(e, "unexpected end of the stream within a single quoted scalar");
|
|
3167
3170
|
}
|
|
3168
|
-
function
|
|
3171
|
+
function hu(e, t) {
|
|
3169
3172
|
var n, r, l, o, i, u;
|
|
3170
3173
|
if (u = e.input.charCodeAt(e.position), u !== 34)
|
|
3171
3174
|
return !1;
|
|
@@ -3177,10 +3180,10 @@ function mu(e, t) {
|
|
|
3177
3180
|
me(e, !1, t);
|
|
3178
3181
|
else if (u < 256 && Wn[u])
|
|
3179
3182
|
e.result += Kn[u], e.position++;
|
|
3180
|
-
else if ((i =
|
|
3183
|
+
else if ((i = du(u)) > 0) {
|
|
3181
3184
|
for (l = i, o = 0; l > 0; l--)
|
|
3182
|
-
u = e.input.charCodeAt(++e.position), (i =
|
|
3183
|
-
e.result +=
|
|
3185
|
+
u = e.input.charCodeAt(++e.position), (i = cu(u)) >= 0 ? o = (o << 4) + i : X(e, "expected hexadecimal character");
|
|
3186
|
+
e.result += pu(o), e.position++;
|
|
3184
3187
|
} else
|
|
3185
3188
|
X(e, "unknown escape sequence");
|
|
3186
3189
|
n = r = e.position;
|
|
@@ -3188,7 +3191,7 @@ function mu(e, t) {
|
|
|
3188
3191
|
}
|
|
3189
3192
|
X(e, "unexpected end of the stream within a double quoted scalar");
|
|
3190
3193
|
}
|
|
3191
|
-
function
|
|
3194
|
+
function yu(e, t) {
|
|
3192
3195
|
var n = !0, r, l, o, i = e.tag, u, f = e.anchor, c, g, a, v, y, d = /* @__PURE__ */ Object.create(null), p, x, S, _;
|
|
3193
3196
|
if (_ = e.input.charCodeAt(e.position), _ === 91)
|
|
3194
3197
|
g = 93, y = !1, u = [];
|
|
@@ -3203,7 +3206,7 @@ function gu(e, t) {
|
|
|
3203
3206
|
}
|
|
3204
3207
|
X(e, "unexpected end of the stream within a flow collection");
|
|
3205
3208
|
}
|
|
3206
|
-
function
|
|
3209
|
+
function xu(e, t) {
|
|
3207
3210
|
var n, r, l = jt, o = !1, i = !1, u = t, f = 0, c = !1, g, a;
|
|
3208
3211
|
if (a = e.input.charCodeAt(e.position), a === 124)
|
|
3209
3212
|
r = !1;
|
|
@@ -3213,8 +3216,8 @@ function hu(e, t) {
|
|
|
3213
3216
|
return !1;
|
|
3214
3217
|
for (e.kind = "scalar", e.result = ""; a !== 0; )
|
|
3215
3218
|
if (a = e.input.charCodeAt(++e.position), a === 43 || a === 45)
|
|
3216
|
-
jt === l ? l = a === 43 ? un :
|
|
3217
|
-
else if ((g =
|
|
3219
|
+
jt === l ? l = a === 43 ? un : iu : X(e, "repeat of a chomping mode identifier");
|
|
3220
|
+
else if ((g = fu(a)) >= 0)
|
|
3218
3221
|
g === 0 ? X(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : i ? X(e, "repeat of an indentation width identifier") : (u = t + g - 1, i = !0);
|
|
3219
3222
|
else
|
|
3220
3223
|
break;
|
|
@@ -3265,7 +3268,7 @@ function vn(e, t) {
|
|
|
3265
3268
|
}
|
|
3266
3269
|
return u ? (e.tag = r, e.anchor = l, e.kind = "sequence", e.result = o, !0) : !1;
|
|
3267
3270
|
}
|
|
3268
|
-
function
|
|
3271
|
+
function bu(e, t, n) {
|
|
3269
3272
|
var r, l, o, i, u, f, c = e.tag, g = e.anchor, a = {}, v = /* @__PURE__ */ Object.create(null), y = null, d = null, p = null, x = !1, S = !1, _;
|
|
3270
3273
|
if (e.firstTabInLine !== -1) return !1;
|
|
3271
3274
|
for (e.anchor !== null && (e.anchorMap[e.anchor] = a), _ = e.input.charCodeAt(e.position); _ !== 0; ) {
|
|
@@ -3295,7 +3298,7 @@ function yu(e, t, n) {
|
|
|
3295
3298
|
}
|
|
3296
3299
|
return x && rt(e, a, v, y, d, null, i, u, f), S && (e.tag = c, e.anchor = g, e.kind = "mapping", e.result = a), S;
|
|
3297
3300
|
}
|
|
3298
|
-
function
|
|
3301
|
+
function _u(e) {
|
|
3299
3302
|
var t, n = !1, r = !1, l, o, i;
|
|
3300
3303
|
if (i = e.input.charCodeAt(e.position), i !== 33) return !1;
|
|
3301
3304
|
if (e.tag !== null && X(e, "duplication of a tag property"), i = e.input.charCodeAt(++e.position), i === 60 ? (n = !0, i = e.input.charCodeAt(++e.position)) : i === 33 ? (r = !0, l = "!!", i = e.input.charCodeAt(++e.position)) : l = "!", t = e.position, n) {
|
|
@@ -3306,7 +3309,7 @@ function xu(e) {
|
|
|
3306
3309
|
} else {
|
|
3307
3310
|
for (; i !== 0 && !Ce(i); )
|
|
3308
3311
|
i === 33 && (r ? X(e, "tag suffix cannot contain exclamation marks") : (l = e.input.slice(t - 1, e.position + 1), Yn.test(l) || X(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), i = e.input.charCodeAt(++e.position);
|
|
3309
|
-
o = e.input.slice(t, e.position),
|
|
3312
|
+
o = e.input.slice(t, e.position), uu.test(o) && X(e, "tag suffix cannot contain flow indicator characters");
|
|
3310
3313
|
}
|
|
3311
3314
|
o && !Hn.test(o) && X(e, "tag name cannot contain such characters: " + o);
|
|
3312
3315
|
try {
|
|
@@ -3316,14 +3319,14 @@ function xu(e) {
|
|
|
3316
3319
|
}
|
|
3317
3320
|
return n ? e.tag = o : We.call(e.tagMap, l) ? e.tag = e.tagMap[l] + o : l === "!" ? e.tag = "!" + o : l === "!!" ? e.tag = "tag:yaml.org,2002:" + o : X(e, 'undeclared tag handle "' + l + '"'), !0;
|
|
3318
3321
|
}
|
|
3319
|
-
function
|
|
3322
|
+
function wu(e) {
|
|
3320
3323
|
var t, n;
|
|
3321
3324
|
if (n = e.input.charCodeAt(e.position), n !== 38) return !1;
|
|
3322
3325
|
for (e.anchor !== null && X(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !Ce(n) && !nt(n); )
|
|
3323
3326
|
n = e.input.charCodeAt(++e.position);
|
|
3324
3327
|
return e.position === t && X(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
|
|
3325
3328
|
}
|
|
3326
|
-
function
|
|
3329
|
+
function ku(e) {
|
|
3327
3330
|
var t, n, r;
|
|
3328
3331
|
if (r = e.input.charCodeAt(e.position), r !== 42) return !1;
|
|
3329
3332
|
for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !Ce(r) && !nt(r); )
|
|
@@ -3333,9 +3336,9 @@ function _u(e) {
|
|
|
3333
3336
|
function it(e, t, n, r, l) {
|
|
3334
3337
|
var o, i, u, f = 1, c = !1, g = !1, a, v, y, d, p, x;
|
|
3335
3338
|
if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = i = u = Ct === n || qn === n, r && me(e, !0, -1) && (c = !0, e.lineIndent > t ? f = 1 : e.lineIndent === t ? f = 0 : e.lineIndent < t && (f = -1)), f === 1)
|
|
3336
|
-
for (;
|
|
3339
|
+
for (; _u(e) || wu(e); )
|
|
3337
3340
|
me(e, !0, -1) ? (c = !0, u = o, e.lineIndent > t ? f = 1 : e.lineIndent === t ? f = 0 : e.lineIndent < t && (f = -1)) : u = !1;
|
|
3338
|
-
if (u && (u = c || l), (f === 1 || Ct === n) && ($t === n || Un === n ? p = t : p = t + 1, x = e.position - e.lineStart, f === 1 ? u && (vn(e, x) ||
|
|
3341
|
+
if (u && (u = c || l), (f === 1 || Ct === n) && ($t === n || Un === n ? p = t : p = t + 1, x = e.position - e.lineStart, f === 1 ? u && (vn(e, x) || bu(e, x, p)) || yu(e, p) ? g = !0 : (i && xu(e, p) || gu(e, p) || hu(e, p) ? g = !0 : ku(e) ? (g = !0, (e.tag !== null || e.anchor !== null) && X(e, "alias node should not have any properties")) : mu(e, p, $t === n) && (g = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : f === 0 && (g = u && vn(e, x))), e.tag === null)
|
|
3339
3342
|
e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
|
|
3340
3343
|
else if (e.tag === "?") {
|
|
3341
3344
|
for (e.result !== null && e.kind !== "scalar" && X(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), a = 0, v = e.implicitTypes.length; a < v; a += 1)
|
|
@@ -3356,7 +3359,7 @@ function it(e, t, n, r, l) {
|
|
|
3356
3359
|
}
|
|
3357
3360
|
return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || g;
|
|
3358
3361
|
}
|
|
3359
|
-
function
|
|
3362
|
+
function $u(e) {
|
|
3360
3363
|
var t = e.position, n, r, l, o = !1, i;
|
|
3361
3364
|
for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (i = e.input.charCodeAt(e.position)) !== 0 && (me(e, !0, -1), i = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || i !== 37)); ) {
|
|
3362
3365
|
for (o = !0, i = e.input.charCodeAt(++e.position), n = e.position; i !== 0 && !Ce(i); )
|
|
@@ -3377,7 +3380,7 @@ function wu(e) {
|
|
|
3377
3380
|
}
|
|
3378
3381
|
i !== 0 && Jt(e), We.call(fn, r) ? fn[r](e, r, l) : At(e, 'unknown document directive "' + r + '"');
|
|
3379
3382
|
}
|
|
3380
|
-
if (me(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, me(e, !0, -1)) : o && X(e, "directives end mark is expected"), it(e, e.lineIndent - 1, Ct, !1, !0), me(e, !0, -1), e.checkLineBreaks &&
|
|
3383
|
+
if (me(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, me(e, !0, -1)) : o && X(e, "directives end mark is expected"), it(e, e.lineIndent - 1, Ct, !1, !0), me(e, !0, -1), e.checkLineBreaks && au.test(e.input.slice(t, e.position)) && At(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Et(e)) {
|
|
3381
3384
|
e.input.charCodeAt(e.position) === 46 && (e.position += 3, me(e, !0, -1));
|
|
3382
3385
|
return;
|
|
3383
3386
|
}
|
|
@@ -3386,27 +3389,27 @@ function wu(e) {
|
|
|
3386
3389
|
else
|
|
3387
3390
|
return;
|
|
3388
3391
|
}
|
|
3389
|
-
function
|
|
3392
|
+
function Cu(e, t) {
|
|
3390
3393
|
e = String(e), t = t || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
|
|
3391
3394
|
`), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
|
|
3392
|
-
var n = new
|
|
3395
|
+
var n = new vu(e, t), r = e.indexOf("\0");
|
|
3393
3396
|
for (r !== -1 && (n.position = r, X(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
|
|
3394
3397
|
n.lineIndent += 1, n.position += 1;
|
|
3395
3398
|
for (; n.position < n.length - 1; )
|
|
3396
|
-
|
|
3399
|
+
$u(n);
|
|
3397
3400
|
return n.documents;
|
|
3398
3401
|
}
|
|
3399
|
-
function
|
|
3400
|
-
var n =
|
|
3402
|
+
function Au(e, t) {
|
|
3403
|
+
var n = Cu(e, t);
|
|
3401
3404
|
if (n.length !== 0) {
|
|
3402
3405
|
if (n.length === 1)
|
|
3403
3406
|
return n[0];
|
|
3404
3407
|
throw new $e("expected a single document in the stream, but found more");
|
|
3405
3408
|
}
|
|
3406
3409
|
}
|
|
3407
|
-
var
|
|
3408
|
-
load:
|
|
3409
|
-
}, Gn = Object.prototype.toString, Xn = Object.prototype.hasOwnProperty, tn = 65279,
|
|
3410
|
+
var Lu = Au, Su = {
|
|
3411
|
+
load: Lu
|
|
3412
|
+
}, Gn = Object.prototype.toString, Xn = Object.prototype.hasOwnProperty, tn = 65279, Eu = 9, mt = 10, Fu = 13, Iu = 32, Mu = 33, Tu = 34, Vt = 35, ju = 37, Ou = 38, Nu = 39, Pu = 42, Qn = 44, zu = 45, Lt = 58, Ru = 61, Du = 62, Bu = 63, Vu = 64, Jn = 91, er = 93, Uu = 96, tr = 123, qu = 124, nr = 125, _e = {};
|
|
3410
3413
|
_e[0] = "\\0";
|
|
3411
3414
|
_e[7] = "\\a";
|
|
3412
3415
|
_e[8] = "\\b";
|
|
@@ -3422,7 +3425,7 @@ _e[133] = "\\N";
|
|
|
3422
3425
|
_e[160] = "\\_";
|
|
3423
3426
|
_e[8232] = "\\L";
|
|
3424
3427
|
_e[8233] = "\\P";
|
|
3425
|
-
var
|
|
3428
|
+
var Yu = [
|
|
3426
3429
|
"y",
|
|
3427
3430
|
"Y",
|
|
3428
3431
|
"yes",
|
|
@@ -3439,15 +3442,15 @@ var Uu = [
|
|
|
3439
3442
|
"off",
|
|
3440
3443
|
"Off",
|
|
3441
3444
|
"OFF"
|
|
3442
|
-
],
|
|
3443
|
-
function
|
|
3445
|
+
], Hu = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
|
|
3446
|
+
function Wu(e, t) {
|
|
3444
3447
|
var n, r, l, o, i, u, f;
|
|
3445
3448
|
if (t === null) return {};
|
|
3446
3449
|
for (n = {}, r = Object.keys(t), l = 0, o = r.length; l < o; l += 1)
|
|
3447
3450
|
i = r[l], u = String(t[i]), i.slice(0, 2) === "!!" && (i = "tag:yaml.org,2002:" + i.slice(2)), f = e.compiledTypeMap.fallback[i], f && Xn.call(f.styleAliases, u) && (u = f.styleAliases[u]), n[i] = u;
|
|
3448
3451
|
return n;
|
|
3449
3452
|
}
|
|
3450
|
-
function
|
|
3453
|
+
function Ku(e) {
|
|
3451
3454
|
var t, n, r;
|
|
3452
3455
|
if (t = e.toString(16).toUpperCase(), e <= 255)
|
|
3453
3456
|
n = "x", r = 2;
|
|
@@ -3459,9 +3462,9 @@ function Hu(e) {
|
|
|
3459
3462
|
throw new $e("code point within a string may not be greater than 0xFFFFFFFF");
|
|
3460
3463
|
return "\\" + n + ge.repeat("0", r - t.length) + t;
|
|
3461
3464
|
}
|
|
3462
|
-
var
|
|
3463
|
-
function
|
|
3464
|
-
this.schema = e.schema || Vn, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ge.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap =
|
|
3465
|
+
var Zu = 1, gt = 2;
|
|
3466
|
+
function Gu(e) {
|
|
3467
|
+
this.schema = e.schema || Vn, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ge.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Wu(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? gt : Zu, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
|
|
3465
3468
|
}
|
|
3466
3469
|
function mn(e, t) {
|
|
3467
3470
|
for (var n = ge.repeat(" ", t), r = 0, l = -1, o = "", i, u = e.length; r < u; )
|
|
@@ -3474,7 +3477,7 @@ function Ut(e, t) {
|
|
|
3474
3477
|
return `
|
|
3475
3478
|
` + ge.repeat(" ", e.indent * t);
|
|
3476
3479
|
}
|
|
3477
|
-
function
|
|
3480
|
+
function Xu(e, t) {
|
|
3478
3481
|
var n, r, l;
|
|
3479
3482
|
for (n = 0, r = e.implicitTypes.length; n < r; n += 1)
|
|
3480
3483
|
if (l = e.implicitTypes[n], l.resolve(t))
|
|
@@ -3482,13 +3485,13 @@ function Zu(e, t) {
|
|
|
3482
3485
|
return !1;
|
|
3483
3486
|
}
|
|
3484
3487
|
function St(e) {
|
|
3485
|
-
return e ===
|
|
3488
|
+
return e === Iu || e === Eu;
|
|
3486
3489
|
}
|
|
3487
3490
|
function ht(e) {
|
|
3488
3491
|
return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== tn || 65536 <= e && e <= 1114111;
|
|
3489
3492
|
}
|
|
3490
3493
|
function gn(e) {
|
|
3491
|
-
return ht(e) && e !== tn && e !==
|
|
3494
|
+
return ht(e) && e !== tn && e !== Fu && e !== mt;
|
|
3492
3495
|
}
|
|
3493
3496
|
function hn(e, t, n) {
|
|
3494
3497
|
var r = gn(e), l = r && !St(e);
|
|
@@ -3500,10 +3503,10 @@ function hn(e, t, n) {
|
|
|
3500
3503
|
) : r && e !== Qn && e !== Jn && e !== er && e !== tr && e !== nr) && e !== Vt && !(t === Lt && !l) || gn(t) && !St(t) && e === Vt || t === Lt && l
|
|
3501
3504
|
);
|
|
3502
3505
|
}
|
|
3503
|
-
function
|
|
3504
|
-
return ht(e) && e !== tn && !St(e) && e !==
|
|
3506
|
+
function Qu(e) {
|
|
3507
|
+
return ht(e) && e !== tn && !St(e) && e !== zu && e !== Bu && e !== Lt && e !== Qn && e !== Jn && e !== er && e !== tr && e !== nr && e !== Vt && e !== Ou && e !== Pu && e !== Mu && e !== qu && e !== Ru && e !== Du && e !== Nu && e !== Tu && e !== ju && e !== Vu && e !== Uu;
|
|
3505
3508
|
}
|
|
3506
|
-
function
|
|
3509
|
+
function Ju(e) {
|
|
3507
3510
|
return !St(e) && e !== Lt;
|
|
3508
3511
|
}
|
|
3509
3512
|
function ft(e, t) {
|
|
@@ -3515,8 +3518,8 @@ function rr(e) {
|
|
|
3515
3518
|
return t.test(e);
|
|
3516
3519
|
}
|
|
3517
3520
|
var or = 1, qt = 2, lr = 3, ir = 4, tt = 5;
|
|
3518
|
-
function
|
|
3519
|
-
var f, c = 0, g = null, a = !1, v = !1, y = r !== -1, d = -1, p =
|
|
3521
|
+
function ec(e, t, n, r, l, o, i, u) {
|
|
3522
|
+
var f, c = 0, g = null, a = !1, v = !1, y = r !== -1, d = -1, p = Qu(ft(e, 0)) && Ju(ft(e, e.length - 1));
|
|
3520
3523
|
if (t || i)
|
|
3521
3524
|
for (f = 0; f < e.length; c >= 65536 ? f += 2 : f++) {
|
|
3522
3525
|
if (c = ft(e, f), !ht(c))
|
|
@@ -3536,17 +3539,17 @@ function Qu(e, t, n, r, l, o, i, u) {
|
|
|
3536
3539
|
}
|
|
3537
3540
|
return !a && !v ? p && !i && !l(e) ? or : o === gt ? tt : qt : n > 9 && rr(e) ? tt : i ? o === gt ? tt : qt : v ? ir : lr;
|
|
3538
3541
|
}
|
|
3539
|
-
function
|
|
3542
|
+
function tc(e, t, n, r, l) {
|
|
3540
3543
|
e.dump = (function() {
|
|
3541
3544
|
if (t.length === 0)
|
|
3542
3545
|
return e.quotingType === gt ? '""' : "''";
|
|
3543
|
-
if (!e.noCompatMode && (
|
|
3546
|
+
if (!e.noCompatMode && (Yu.indexOf(t) !== -1 || Hu.test(t)))
|
|
3544
3547
|
return e.quotingType === gt ? '"' + t + '"' : "'" + t + "'";
|
|
3545
3548
|
var o = e.indent * Math.max(1, n), i = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), u = r || e.flowLevel > -1 && n >= e.flowLevel;
|
|
3546
3549
|
function f(c) {
|
|
3547
|
-
return
|
|
3550
|
+
return Xu(e, c);
|
|
3548
3551
|
}
|
|
3549
|
-
switch (
|
|
3552
|
+
switch (ec(
|
|
3550
3553
|
t,
|
|
3551
3554
|
u,
|
|
3552
3555
|
e.indent,
|
|
@@ -3563,9 +3566,9 @@ function Ju(e, t, n, r, l) {
|
|
|
3563
3566
|
case lr:
|
|
3564
3567
|
return "|" + yn(t, e.indent) + xn(mn(t, o));
|
|
3565
3568
|
case ir:
|
|
3566
|
-
return ">" + yn(t, e.indent) + xn(mn(
|
|
3569
|
+
return ">" + yn(t, e.indent) + xn(mn(nc(t, i), o));
|
|
3567
3570
|
case tt:
|
|
3568
|
-
return '"' +
|
|
3571
|
+
return '"' + rc(t) + '"';
|
|
3569
3572
|
default:
|
|
3570
3573
|
throw new $e("impossible error: invalid scalar style");
|
|
3571
3574
|
}
|
|
@@ -3583,7 +3586,7 @@ function xn(e) {
|
|
|
3583
3586
|
return e[e.length - 1] === `
|
|
3584
3587
|
` ? e.slice(0, -1) : e;
|
|
3585
3588
|
}
|
|
3586
|
-
function
|
|
3589
|
+
function nc(e, t) {
|
|
3587
3590
|
for (var n = /(\n+)([^\n]*)/g, r = (function() {
|
|
3588
3591
|
var c = e.indexOf(`
|
|
3589
3592
|
`);
|
|
@@ -3605,12 +3608,12 @@ function bn(e, t) {
|
|
|
3605
3608
|
`, e.length - l > t && i > l ? f += e.slice(l, i) + `
|
|
3606
3609
|
` + e.slice(i + 1) : f += e.slice(l), f.slice(1);
|
|
3607
3610
|
}
|
|
3608
|
-
function
|
|
3611
|
+
function rc(e) {
|
|
3609
3612
|
for (var t = "", n = 0, r, l = 0; l < e.length; n >= 65536 ? l += 2 : l++)
|
|
3610
|
-
n = ft(e, l), r = _e[n], !r && ht(n) ? (t += e[l], n >= 65536 && (t += e[l + 1])) : t += r ||
|
|
3613
|
+
n = ft(e, l), r = _e[n], !r && ht(n) ? (t += e[l], n >= 65536 && (t += e[l + 1])) : t += r || Ku(n);
|
|
3611
3614
|
return t;
|
|
3612
3615
|
}
|
|
3613
|
-
function
|
|
3616
|
+
function oc(e, t, n) {
|
|
3614
3617
|
var r = "", l = e.tag, o, i, u;
|
|
3615
3618
|
for (o = 0, i = n.length; o < i; o += 1)
|
|
3616
3619
|
u = n[o], e.replacer && (u = e.replacer.call(n, String(o), u)), (Ue(e, t, u, !1, !1) || typeof u > "u" && Ue(e, t, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
|
|
@@ -3622,13 +3625,13 @@ function _n(e, t, n, r) {
|
|
|
3622
3625
|
f = n[i], e.replacer && (f = e.replacer.call(n, String(i), f)), (Ue(e, t + 1, f, !0, !0, !1, !0) || typeof f > "u" && Ue(e, t + 1, null, !0, !0, !1, !0)) && ((!r || l !== "") && (l += Ut(e, t)), e.dump && mt === e.dump.charCodeAt(0) ? l += "-" : l += "- ", l += e.dump);
|
|
3623
3626
|
e.tag = o, e.dump = l || "[]";
|
|
3624
3627
|
}
|
|
3625
|
-
function
|
|
3628
|
+
function lc(e, t, n) {
|
|
3626
3629
|
var r = "", l = e.tag, o = Object.keys(n), i, u, f, c, g;
|
|
3627
3630
|
for (i = 0, u = o.length; i < u; i += 1)
|
|
3628
3631
|
g = "", r !== "" && (g += ", "), e.condenseFlow && (g += '"'), f = o[i], c = n[f], e.replacer && (c = e.replacer.call(n, f, c)), Ue(e, t, f, !1, !1) && (e.dump.length > 1024 && (g += "? "), g += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), Ue(e, t, c, !1, !1) && (g += e.dump, r += g));
|
|
3629
3632
|
e.tag = l, e.dump = "{" + r + "}";
|
|
3630
3633
|
}
|
|
3631
|
-
function
|
|
3634
|
+
function ic(e, t, n, r) {
|
|
3632
3635
|
var l = "", o = e.tag, i = Object.keys(n), u, f, c, g, a, v;
|
|
3633
3636
|
if (e.sortKeys === !0)
|
|
3634
3637
|
i.sort();
|
|
@@ -3666,11 +3669,11 @@ function Ue(e, t, n, r, l, o, i) {
|
|
|
3666
3669
|
e.dump = "*ref_" + a;
|
|
3667
3670
|
else {
|
|
3668
3671
|
if (g && v && !e.usedDuplicates[a] && (e.usedDuplicates[a] = !0), u === "[object Object]")
|
|
3669
|
-
r && Object.keys(e.dump).length !== 0 ? (
|
|
3672
|
+
r && Object.keys(e.dump).length !== 0 ? (ic(e, t, e.dump, l), v && (e.dump = "&ref_" + a + e.dump)) : (lc(e, t, e.dump), v && (e.dump = "&ref_" + a + " " + e.dump));
|
|
3670
3673
|
else if (u === "[object Array]")
|
|
3671
|
-
r && e.dump.length !== 0 ? (e.noArrayIndent && !i && t > 0 ? _n(e, t - 1, e.dump, l) : _n(e, t, e.dump, l), v && (e.dump = "&ref_" + a + e.dump)) : (
|
|
3674
|
+
r && e.dump.length !== 0 ? (e.noArrayIndent && !i && t > 0 ? _n(e, t - 1, e.dump, l) : _n(e, t, e.dump, l), v && (e.dump = "&ref_" + a + e.dump)) : (oc(e, t, e.dump), v && (e.dump = "&ref_" + a + " " + e.dump));
|
|
3672
3675
|
else if (u === "[object String]")
|
|
3673
|
-
e.tag !== "?" &&
|
|
3676
|
+
e.tag !== "?" && tc(e, e.dump, t, o, f);
|
|
3674
3677
|
else {
|
|
3675
3678
|
if (u === "[object Undefined]")
|
|
3676
3679
|
return !1;
|
|
@@ -3683,7 +3686,7 @@ function Ue(e, t, n, r, l, o, i) {
|
|
|
3683
3686
|
}
|
|
3684
3687
|
return !0;
|
|
3685
3688
|
}
|
|
3686
|
-
function
|
|
3689
|
+
function sc(e, t) {
|
|
3687
3690
|
var n = [], r = [], l, o;
|
|
3688
3691
|
for (Yt(e, n, r), l = 0, o = r.length; l < o; l += 1)
|
|
3689
3692
|
t.duplicates.push(n[r[l]]);
|
|
@@ -3701,18 +3704,18 @@ function Yt(e, t, n) {
|
|
|
3701
3704
|
for (r = Object.keys(e), l = 0, o = r.length; l < o; l += 1)
|
|
3702
3705
|
Yt(e[r[l]], t, n);
|
|
3703
3706
|
}
|
|
3704
|
-
function
|
|
3707
|
+
function ac(e, t) {
|
|
3705
3708
|
t = t || {};
|
|
3706
|
-
var n = new
|
|
3707
|
-
n.noRefs ||
|
|
3709
|
+
var n = new Gu(t);
|
|
3710
|
+
n.noRefs || sc(e, n);
|
|
3708
3711
|
var r = e;
|
|
3709
3712
|
return n.replacer && (r = n.replacer.call({ "": r }, "", r)), Ue(n, 0, r, !0, !0) ? n.dump + `
|
|
3710
3713
|
` : "";
|
|
3711
3714
|
}
|
|
3712
|
-
var
|
|
3713
|
-
dump:
|
|
3714
|
-
},
|
|
3715
|
-
const
|
|
3715
|
+
var uc = ac, cc = {
|
|
3716
|
+
dump: uc
|
|
3717
|
+
}, dc = Su.load, kn = cc.dump;
|
|
3718
|
+
const fc = { class: "flex flex-col flex-1 overflow-hidden" }, pc = { class: "flex justify-end gap-2" }, vc = { class: "w-20 gap-2 whitespace-nowrap rounded-md font-medium ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 bg-primary hover:bg-primary/90 px-4 py-2 h-9 text-xs bg-gradient-to-r from-sky-400 to-blue-400 hover:from-sky-500 hover:to-blue-500 text-white shadow-sm transition-all duration-300 hover:shadow-md hover:scale-[1.02] relative overflow-hidden" }, mc = ["href"], gc = { class: "flex flex-col flex-1 overflow-hidden" }, hc = { class: "bg-white rounded-xl border border-gray-200 shadow-sm overflow-hidden mt-3 flex flex-col flex-1" }, yc = { class: "relative bg-gradient-to-br from-slate-50 to-white flex-1" }, xc = /* @__PURE__ */ ne({
|
|
3716
3719
|
__name: "vs-tab-style",
|
|
3717
3720
|
props: {
|
|
3718
3721
|
token: {},
|
|
@@ -3735,7 +3738,7 @@ const cc = { class: "flex flex-col flex-1 overflow-hidden" }, dc = { class: "fle
|
|
|
3735
3738
|
), Z(l, async (f) => {
|
|
3736
3739
|
var c, g;
|
|
3737
3740
|
try {
|
|
3738
|
-
const a = f ?
|
|
3741
|
+
const a = f ? dc(f) : null;
|
|
3739
3742
|
if ((c = a == null ? void 0 : a.colorAttr) != null && c.length && ((g = n.styleYaml) == null ? void 0 : g.colorAttr) !== a.colorAttr) {
|
|
3740
3743
|
const v = await o(a.colorAttr);
|
|
3741
3744
|
a.colors = v.reduce(
|
|
@@ -3774,13 +3777,13 @@ const cc = { class: "flex flex-col flex-1 overflow-hidden" }, dc = { class: "fle
|
|
|
3774
3777
|
xe({ type: "error", title: "Помилка", message: "Не вдалося зберегти стилі" }), console.log(f);
|
|
3775
3778
|
}
|
|
3776
3779
|
};
|
|
3777
|
-
return (f, c) => (m(), b("div",
|
|
3778
|
-
s("div",
|
|
3779
|
-
s("button",
|
|
3780
|
+
return (f, c) => (m(), b("div", fc, [
|
|
3781
|
+
s("div", pc, [
|
|
3782
|
+
s("button", vc, [
|
|
3780
3783
|
s("a", {
|
|
3781
3784
|
target: "_blank",
|
|
3782
3785
|
href: "/api/gis-service/" + n.token + "/col"
|
|
3783
|
-
}, "Attr", 8,
|
|
3786
|
+
}, "Attr", 8, mc)
|
|
3784
3787
|
]),
|
|
3785
3788
|
s("button", {
|
|
3786
3789
|
onClick: u,
|
|
@@ -3805,12 +3808,12 @@ const cc = { class: "flex flex-col flex-1 overflow-hidden" }, dc = { class: "fle
|
|
|
3805
3808
|
se(" Зберегти стилі ", -1)
|
|
3806
3809
|
])])
|
|
3807
3810
|
]),
|
|
3808
|
-
s("div",
|
|
3809
|
-
s("div",
|
|
3811
|
+
s("div", gc, [
|
|
3812
|
+
s("div", hc, [
|
|
3810
3813
|
c[2] || (c[2] = s("div", { class: "bg-gradient-to-r from-gray-50 to-gray-100 px-4 py-2 border-b border-gray-200 flex items-center justify-between" }, [
|
|
3811
3814
|
s("div", { class: "text-xs text-gray-400" }, "YAML")
|
|
3812
3815
|
], -1)),
|
|
3813
|
-
s("div",
|
|
3816
|
+
s("div", yc, [
|
|
3814
3817
|
re(Pn, {
|
|
3815
3818
|
modelValue: l.value,
|
|
3816
3819
|
"onUpdate:modelValue": c[0] || (c[0] = (g) => l.value = g),
|
|
@@ -3823,7 +3826,7 @@ const cc = { class: "flex flex-col flex-1 overflow-hidden" }, dc = { class: "fle
|
|
|
3823
3826
|
]));
|
|
3824
3827
|
}
|
|
3825
3828
|
}), sr = Symbol("MapContext");
|
|
3826
|
-
function
|
|
3829
|
+
function bc(e) {
|
|
3827
3830
|
const t = Tn(null), n = O(!1);
|
|
3828
3831
|
let r = !1;
|
|
3829
3832
|
const l = [], o = () => {
|
|
@@ -3931,7 +3934,7 @@ function nn(e) {
|
|
|
3931
3934
|
}
|
|
3932
3935
|
return null;
|
|
3933
3936
|
}
|
|
3934
|
-
function
|
|
3937
|
+
function _c(e) {
|
|
3935
3938
|
if (!e.icon || !e.colors) return null;
|
|
3936
3939
|
const t = [], n = e.icon.split("+")[0];
|
|
3937
3940
|
return Object.values(e.colors).forEach((r) => {
|
|
@@ -3962,7 +3965,7 @@ function $n(e, t) {
|
|
|
3962
3965
|
}
|
|
3963
3966
|
};
|
|
3964
3967
|
}
|
|
3965
|
-
function
|
|
3968
|
+
function wc(e) {
|
|
3966
3969
|
const t = nn(e);
|
|
3967
3970
|
return {
|
|
3968
3971
|
type: "fill",
|
|
@@ -3974,7 +3977,7 @@ function bc(e) {
|
|
|
3974
3977
|
}
|
|
3975
3978
|
};
|
|
3976
3979
|
}
|
|
3977
|
-
function
|
|
3980
|
+
function kc(e) {
|
|
3978
3981
|
return {
|
|
3979
3982
|
type: "line",
|
|
3980
3983
|
paint: {
|
|
@@ -3984,8 +3987,8 @@ function _c(e) {
|
|
|
3984
3987
|
}
|
|
3985
3988
|
};
|
|
3986
3989
|
}
|
|
3987
|
-
function
|
|
3988
|
-
const t =
|
|
3990
|
+
function $c(e) {
|
|
3991
|
+
const t = _c(e);
|
|
3989
3992
|
return {
|
|
3990
3993
|
type: "symbol",
|
|
3991
3994
|
minzoom: e.iconZoom || 0,
|
|
@@ -4000,9 +4003,9 @@ function wc(e) {
|
|
|
4000
4003
|
function Cn(e) {
|
|
4001
4004
|
if (!e) return [];
|
|
4002
4005
|
const t = [];
|
|
4003
|
-
return e.icon && t.push(
|
|
4006
|
+
return e.icon && t.push($c(e)), e.pointZoom && t.push($n(e, e.pointZoom)), e.type === "polygon" ? t.push(wc(e)) : e.type === "line" ? t.push(kc(e)) : t.push($n(e)), t.filter(Boolean);
|
|
4004
4007
|
}
|
|
4005
|
-
function
|
|
4008
|
+
function Cc(e) {
|
|
4006
4009
|
return {
|
|
4007
4010
|
type: "geojson",
|
|
4008
4011
|
data: {
|
|
@@ -4036,7 +4039,7 @@ function ce(e, t, n) {
|
|
|
4036
4039
|
if (!e) return Nt;
|
|
4037
4040
|
if (!t) return Nt[e];
|
|
4038
4041
|
const { map: r, ready: l = () => Promise.resolve() } = Le(n), o = e || ((L = t.layer) == null ? void 0 : L.id), i = t.sourceId ?? e, u = { ...t };
|
|
4039
|
-
u.point && (u.source =
|
|
4042
|
+
u.point && (u.source = Cc(u.point)), !u.layer && (($ = u.source) == null ? void 0 : $.type) === "raster" && (u.layer = { id: i, type: "raster", source: i }), u.layer && !u.layer.source && Object.assign(u.layer, { source: i });
|
|
4040
4043
|
let f = !1, c = !1;
|
|
4041
4044
|
const g = () => {
|
|
4042
4045
|
var T, R, D, C;
|
|
@@ -4152,7 +4155,7 @@ function ce(e, t, n) {
|
|
|
4152
4155
|
A(), P();
|
|
4153
4156
|
}, fe(I.remove), Nt[e] = I, I;
|
|
4154
4157
|
}
|
|
4155
|
-
const
|
|
4158
|
+
const Ac = { class: "flex flex-col flex-1 min-h-0" }, Lc = { class: "flex flex-col flex-1 min-h-0" }, Sc = /* @__PURE__ */ ne({
|
|
4156
4159
|
__name: "vs-tab-popup",
|
|
4157
4160
|
props: {
|
|
4158
4161
|
token: {},
|
|
@@ -4209,7 +4212,7 @@ const $c = { class: "flex flex-col flex-1 min-h-0" }, Cc = { class: "flex flex-c
|
|
|
4209
4212
|
let d = [];
|
|
4210
4213
|
o.value === "all" ? d = n.fields || [] : o.value === "none" ? d = [] : d = l.value, d.filter((p) => !p.label).forEach((p) => p.label = p.ua), r("save", d);
|
|
4211
4214
|
}
|
|
4212
|
-
return (d, p) => (m(), b("div",
|
|
4215
|
+
return (d, p) => (m(), b("div", Ac, [
|
|
4213
4216
|
s("div", { class: "flex justify-between mb-3 gap-2" }, [
|
|
4214
4217
|
s("button", {
|
|
4215
4218
|
onClick: g,
|
|
@@ -4220,7 +4223,7 @@ const $c = { class: "flex flex-col flex-1 min-h-0" }, Cc = { class: "flex flex-c
|
|
|
4220
4223
|
class: "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md font-medium bg-gradient-to-r from-sky-400 to-blue-400 hover:from-sky-500 hover:to-blue-500 text-white shadow-sm px-4 py-2 h-9 text-xs transition-all duration-300"
|
|
4221
4224
|
}, " Зберегти popup ")
|
|
4222
4225
|
]),
|
|
4223
|
-
s("div",
|
|
4226
|
+
s("div", Lc, [
|
|
4224
4227
|
o.value === "list" ? (m(), Q(Je, {
|
|
4225
4228
|
key: 0,
|
|
4226
4229
|
modelValue: l.value,
|
|
@@ -4244,7 +4247,7 @@ const $c = { class: "flex flex-col flex-1 min-h-0" }, Cc = { class: "flex flex-c
|
|
|
4244
4247
|
}, null, 8, ["visible", "selection", "fields"])
|
|
4245
4248
|
]));
|
|
4246
4249
|
}
|
|
4247
|
-
}),
|
|
4250
|
+
}), Ec = { class: "flex flex-col flex-1 min-h-0" }, Fc = { class: "flex justify-between mb-3 gap-2" }, Ic = { class: "p-4 space-y-4 text-sm" }, Mc = { class: "space-y-1" }, Tc = { class: "space-y-1" }, jc = { class: "flex items-center gap-3" }, Oc = { class: "flex justify-end gap-2 p-4 border-t" }, Nc = /* @__PURE__ */ ne({
|
|
4248
4251
|
__name: "vs-tab-legend",
|
|
4249
4252
|
props: {
|
|
4250
4253
|
mapInfo: {},
|
|
@@ -4307,8 +4310,8 @@ const $c = { class: "flex flex-col flex-1 min-h-0" }, Cc = { class: "flex flex-c
|
|
|
4307
4310
|
function y() {
|
|
4308
4311
|
r("save", l.value);
|
|
4309
4312
|
}
|
|
4310
|
-
return (d, p) => (m(), b("div",
|
|
4311
|
-
s("div",
|
|
4313
|
+
return (d, p) => (m(), b("div", Ec, [
|
|
4314
|
+
s("div", Fc, [
|
|
4312
4315
|
s("button", {
|
|
4313
4316
|
onClick: p[0] || (p[0] = (x) => o.value = !0),
|
|
4314
4317
|
class: "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium bg-gradient-to-r from-gray-500 to-gray-400 text-white h-9 px-4 py-2 hover:from-gray-600 hover:to-gray-500"
|
|
@@ -4332,7 +4335,7 @@ const $c = { class: "flex flex-col flex-1 min-h-0" }, Cc = { class: "flex flex-c
|
|
|
4332
4335
|
"onUpdate:visible": g
|
|
4333
4336
|
}, {
|
|
4334
4337
|
footer: we(() => [
|
|
4335
|
-
s("div",
|
|
4338
|
+
s("div", Oc, [
|
|
4336
4339
|
s("button", {
|
|
4337
4340
|
type: "button",
|
|
4338
4341
|
class: "px-4 py-2 rounded bg-gray-100 text-gray-700",
|
|
@@ -4346,8 +4349,8 @@ const $c = { class: "flex flex-col flex-1 min-h-0" }, Cc = { class: "flex flex-c
|
|
|
4346
4349
|
])
|
|
4347
4350
|
]),
|
|
4348
4351
|
default: we(() => [
|
|
4349
|
-
s("div",
|
|
4350
|
-
s("div",
|
|
4352
|
+
s("div", Ic, [
|
|
4353
|
+
s("div", Mc, [
|
|
4351
4354
|
p[6] || (p[6] = s("label", { class: "block text-xs font-medium text-gray-500 uppercase tracking-wide" }, " Назва ", -1)),
|
|
4352
4355
|
Me(s("input", {
|
|
4353
4356
|
"onUpdate:modelValue": p[2] || (p[2] = (x) => i.value.name = x),
|
|
@@ -4358,9 +4361,9 @@ const $c = { class: "flex flex-col flex-1 min-h-0" }, Cc = { class: "flex flex-c
|
|
|
4358
4361
|
[ot, i.value.name]
|
|
4359
4362
|
])
|
|
4360
4363
|
]),
|
|
4361
|
-
s("div",
|
|
4364
|
+
s("div", Tc, [
|
|
4362
4365
|
p[7] || (p[7] = s("label", { class: "block text-xs font-medium text-gray-500 uppercase tracking-wide" }, " Колір ", -1)),
|
|
4363
|
-
s("div",
|
|
4366
|
+
s("div", jc, [
|
|
4364
4367
|
Me(s("input", {
|
|
4365
4368
|
"onUpdate:modelValue": p[3] || (p[3] = (x) => i.value.color = x),
|
|
4366
4369
|
type: "color",
|
|
@@ -4384,7 +4387,7 @@ const $c = { class: "flex flex-col flex-1 min-h-0" }, Cc = { class: "flex flex-c
|
|
|
4384
4387
|
}, 8, ["visible"])
|
|
4385
4388
|
]));
|
|
4386
4389
|
}
|
|
4387
|
-
}),
|
|
4390
|
+
}), Pc = { class: "space-y-3 bg-gradient-to-br from-sky-50 to-blue-50 p-4 rounded-xl border border-sky-100 shadow-sm" }, zc = ["onClick"], Rc = ["aria-checked", "value"], Dc = { key: 0 }, Bc = /* @__PURE__ */ ne({
|
|
4388
4391
|
__name: "view-mode-toggle",
|
|
4389
4392
|
props: {
|
|
4390
4393
|
modelValue: {},
|
|
@@ -4398,7 +4401,7 @@ const $c = { class: "flex flex-col flex-1 min-h-0" }, Cc = { class: "flex flex-c
|
|
|
4398
4401
|
{ value: "list", label: "List" },
|
|
4399
4402
|
{ value: "none", label: "None" }
|
|
4400
4403
|
];
|
|
4401
|
-
return (i, u) => (m(), b("div",
|
|
4404
|
+
return (i, u) => (m(), b("div", Pc, [
|
|
4402
4405
|
u[1] || (u[1] = s("label", { class: "text-sm font-medium text-gray-600" }, "Режим відображення", -1)),
|
|
4403
4406
|
s("div", {
|
|
4404
4407
|
role: "radiogroup",
|
|
@@ -4418,7 +4421,7 @@ const $c = { class: "flex flex-col flex-1 min-h-0" }, Cc = { class: "flex flex-c
|
|
|
4418
4421
|
value: f.value,
|
|
4419
4422
|
class: "aspect-square rounded-full border border-primary h-4 w-4 flex items-center justify-center text-sky-500"
|
|
4420
4423
|
}, [
|
|
4421
|
-
e.modelValue === f.value ? (m(), b("span",
|
|
4424
|
+
e.modelValue === f.value ? (m(), b("span", Dc, [...u[0] || (u[0] = [
|
|
4422
4425
|
s("svg", {
|
|
4423
4426
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4424
4427
|
viewBox: "0 0 24 24",
|
|
@@ -4436,15 +4439,15 @@ const $c = { class: "flex flex-col flex-1 min-h-0" }, Cc = { class: "flex flex-c
|
|
|
4436
4439
|
})
|
|
4437
4440
|
], -1)
|
|
4438
4441
|
])])) : H("", !0)
|
|
4439
|
-
], 8,
|
|
4442
|
+
], 8, Rc),
|
|
4440
4443
|
s("label", {
|
|
4441
4444
|
class: pe(["text-xs font-medium cursor-pointer", e.modelValue === f.value ? "text-gray-700" : "text-gray-600"])
|
|
4442
4445
|
}, B(f.label), 3)
|
|
4443
|
-
], 10,
|
|
4446
|
+
], 10, zc))), 128))
|
|
4444
4447
|
], 2)
|
|
4445
4448
|
]));
|
|
4446
4449
|
}
|
|
4447
|
-
}),
|
|
4450
|
+
}), Vc = { class: "flex flex-col flex-1 min-h-0" }, Uc = { class: "flex flex-col flex-1 min-h-0" }, qc = /* @__PURE__ */ ne({
|
|
4448
4451
|
__name: "vs-tab-card",
|
|
4449
4452
|
props: {
|
|
4450
4453
|
fields: {},
|
|
@@ -4558,7 +4561,7 @@ ${F}` : F;
|
|
|
4558
4561
|
{ value: "none", label: "None" },
|
|
4559
4562
|
{ value: "html", label: "HTML" }
|
|
4560
4563
|
];
|
|
4561
|
-
return (x, S) => (m(), b("div",
|
|
4564
|
+
return (x, S) => (m(), b("div", Vc, [
|
|
4562
4565
|
s("div", { class: "flex justify-between mb-3 gap-2" }, [
|
|
4563
4566
|
s("button", {
|
|
4564
4567
|
onClick: a,
|
|
@@ -4569,12 +4572,12 @@ ${F}` : F;
|
|
|
4569
4572
|
class: "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md font-medium bg-gradient-to-r from-sky-400 to-blue-400 hover:from-sky-500 hover:to-blue-500 text-white shadow-sm px-4 py-2 h-9 text-xs transition-all duration-300"
|
|
4570
4573
|
}, " Зберегти ")
|
|
4571
4574
|
]),
|
|
4572
|
-
re(
|
|
4575
|
+
re(Bc, {
|
|
4573
4576
|
modelValue: o.value,
|
|
4574
4577
|
"onUpdate:modelValue": S[0] || (S[0] = (_) => o.value = _),
|
|
4575
4578
|
options: p
|
|
4576
4579
|
}, null, 8, ["modelValue"]),
|
|
4577
|
-
s("div",
|
|
4580
|
+
s("div", Uc, [
|
|
4578
4581
|
o.value === "list" ? (m(), Q(Je, {
|
|
4579
4582
|
key: 0,
|
|
4580
4583
|
modelValue: l.value,
|
|
@@ -4605,7 +4608,7 @@ ${F}` : F;
|
|
|
4605
4608
|
}, null, 8, ["visible", "selection", "fields"])
|
|
4606
4609
|
]));
|
|
4607
4610
|
}
|
|
4608
|
-
}),
|
|
4611
|
+
}), Yc = { class: "flex flex-col flex-1 min-h-0" }, Hc = /* @__PURE__ */ ne({
|
|
4609
4612
|
__name: "vs-tab-filter",
|
|
4610
4613
|
props: {
|
|
4611
4614
|
fields: {},
|
|
@@ -4670,7 +4673,7 @@ ${F}` : F;
|
|
|
4670
4673
|
let d = [];
|
|
4671
4674
|
o.value === "all" ? d = n.fields || [] : o.value === "none" ? d = [] : d = l.value, r("save", d);
|
|
4672
4675
|
}
|
|
4673
|
-
return (d, p) => (m(), b("div",
|
|
4676
|
+
return (d, p) => (m(), b("div", Yc, [
|
|
4674
4677
|
s("div", { class: "flex justify-between mb-3 gap-2" }, [
|
|
4675
4678
|
s("button", {
|
|
4676
4679
|
onClick: g,
|
|
@@ -4706,7 +4709,7 @@ ${F}` : F;
|
|
|
4706
4709
|
}), ar = /* @__PURE__ */ ne({
|
|
4707
4710
|
__name: "MapView",
|
|
4708
4711
|
setup(e, { expose: t }) {
|
|
4709
|
-
const n = O(null), r = O(null), l =
|
|
4712
|
+
const n = O(null), r = O(null), l = bc({
|
|
4710
4713
|
container: n,
|
|
4711
4714
|
mapOptions: {
|
|
4712
4715
|
style: {
|
|
@@ -4750,7 +4753,7 @@ ${F}` : F;
|
|
|
4750
4753
|
Zt(f.$slots, "default")
|
|
4751
4754
|
], 512));
|
|
4752
4755
|
}
|
|
4753
|
-
}),
|
|
4756
|
+
}), Wc = /* @__PURE__ */ ne({
|
|
4754
4757
|
__name: "MapDataLayer",
|
|
4755
4758
|
props: {
|
|
4756
4759
|
id: {},
|
|
@@ -4798,10 +4801,10 @@ ${F}` : F;
|
|
|
4798
4801
|
}), (y, d) => null;
|
|
4799
4802
|
}
|
|
4800
4803
|
}), pt = O(null);
|
|
4801
|
-
function
|
|
4804
|
+
function Kc() {
|
|
4802
4805
|
pt.value = null;
|
|
4803
4806
|
}
|
|
4804
|
-
function
|
|
4807
|
+
function Zc(e) {
|
|
4805
4808
|
const t = O(!1), n = () => typeof e == "string" ? e : e.value;
|
|
4806
4809
|
Z(pt, (i) => {
|
|
4807
4810
|
i !== n() && t.value && (t.value = !1);
|
|
@@ -4822,7 +4825,7 @@ function Wc(e) {
|
|
|
4822
4825
|
toggle: o
|
|
4823
4826
|
};
|
|
4824
4827
|
}
|
|
4825
|
-
const
|
|
4828
|
+
const Gc = { class: "map-filter" }, Xc = { class: "map-filter__header" }, Qc = { class: "map-filter__title" }, Jc = { "aria-hidden": "true" }, Pt = "#map-filter-popover-host", ed = /* @__PURE__ */ ne({
|
|
4826
4829
|
__name: "MapFilterPopover",
|
|
4827
4830
|
props: {
|
|
4828
4831
|
count: {},
|
|
@@ -4838,7 +4841,7 @@ const Kc = { class: "map-filter" }, Zc = { class: "map-filter__header" }, Gc = {
|
|
|
4838
4841
|
isOpen: o,
|
|
4839
4842
|
close: i,
|
|
4840
4843
|
toggle: u
|
|
4841
|
-
} =
|
|
4844
|
+
} = Zc(l), f = Ne({ top: 0, left: 0, transform: "translateX(-50%)" }), c = O(null), g = O(null);
|
|
4842
4845
|
let a = null;
|
|
4843
4846
|
const v = O({}), y = Ne({
|
|
4844
4847
|
visible: !1,
|
|
@@ -4990,15 +4993,15 @@ const Kc = { class: "map-filter" }, Zc = { class: "map-filter__header" }, Gc = {
|
|
|
4990
4993
|
onClick: Y[1] || (Y[1] = Te(() => {
|
|
4991
4994
|
}, ["stop"]))
|
|
4992
4995
|
}, [
|
|
4993
|
-
s("div",
|
|
4994
|
-
s("div",
|
|
4995
|
-
s("h3",
|
|
4996
|
+
s("div", Gc, [
|
|
4997
|
+
s("div", Xc, [
|
|
4998
|
+
s("h3", Qc, B(S.value || "Фільтр"), 1),
|
|
4996
4999
|
s("button", {
|
|
4997
5000
|
type: "button",
|
|
4998
5001
|
class: "map-filter__close",
|
|
4999
5002
|
onClick: A
|
|
5000
5003
|
}, [
|
|
5001
|
-
s("span",
|
|
5004
|
+
s("span", Jc, [
|
|
5002
5005
|
re(le(Er), { class: "h-4 w-4" })
|
|
5003
5006
|
]),
|
|
5004
5007
|
Y[3] || (Y[3] = s("span", { class: "sr-only" }, "Закрити", -1))
|
|
@@ -5027,7 +5030,7 @@ const Kc = { class: "map-filter" }, Zc = { class: "map-filter__header" }, Gc = {
|
|
|
5027
5030
|
]))
|
|
5028
5031
|
], 512)) : H("", !0);
|
|
5029
5032
|
}
|
|
5030
|
-
}), Ft = /* @__PURE__ */ ie(
|
|
5033
|
+
}), Ft = /* @__PURE__ */ ie(ed, [["__scopeId", "data-v-e46ae0d6"]]), td = { class: "flex justify-center items-center h-[40px] w-[40px] bg-white text-sm border border-gray-200 text-gray-600 hover:bg-gray-100 rounded-full" }, nd = /* @__PURE__ */ ne({
|
|
5031
5034
|
__name: "MapFilterWidget",
|
|
5032
5035
|
props: {
|
|
5033
5036
|
filters: {},
|
|
@@ -5036,7 +5039,7 @@ const Kc = { class: "map-filter" }, Zc = { class: "map-filter__header" }, Gc = {
|
|
|
5036
5039
|
},
|
|
5037
5040
|
setup(e) {
|
|
5038
5041
|
return (t, n) => (m(), b("div", null, [
|
|
5039
|
-
s("div",
|
|
5042
|
+
s("div", td, [
|
|
5040
5043
|
re(Ft, {
|
|
5041
5044
|
layer: {
|
|
5042
5045
|
filters: e.filters,
|
|
@@ -5047,7 +5050,7 @@ const Kc = { class: "map-filter" }, Zc = { class: "map-filter__header" }, Gc = {
|
|
|
5047
5050
|
])
|
|
5048
5051
|
]));
|
|
5049
5052
|
}
|
|
5050
|
-
}), Ht = /* @__PURE__ */ ie(
|
|
5053
|
+
}), Ht = /* @__PURE__ */ ie(nd, [["__scopeId", "data-v-2bd0fbac"]]), rd = { class: "flex flex-row gap-x-3 z-10 relative widget" }, od = ["onClick"], ld = ["src", "alt"], Wt = /* @__PURE__ */ ne({
|
|
5051
5054
|
__name: "BaseMaps",
|
|
5052
5055
|
setup(e) {
|
|
5053
5056
|
const t = {
|
|
@@ -5071,7 +5074,7 @@ const Kc = { class: "map-filter" }, Zc = { class: "map-filter__header" }, Gc = {
|
|
|
5071
5074
|
if (n.value = o, !t[o].url) return r.setVisible(!1);
|
|
5072
5075
|
r.setVisible(!0), r.setTiles([t[o].url]);
|
|
5073
5076
|
}
|
|
5074
|
-
return (o, i) => (m(), b("div",
|
|
5077
|
+
return (o, i) => (m(), b("div", rd, [
|
|
5075
5078
|
(m(), b(q, null, J(t, (u, f) => s("div", {
|
|
5076
5079
|
key: f,
|
|
5077
5080
|
onClick: (c) => l(f)
|
|
@@ -5084,16 +5087,16 @@ const Kc = { class: "map-filter" }, Zc = { class: "map-filter__header" }, Gc = {
|
|
|
5084
5087
|
src: u.preview,
|
|
5085
5088
|
alt: u.title,
|
|
5086
5089
|
class: "object-cover rounded-lg w-12 h-12"
|
|
5087
|
-
}, null, 8,
|
|
5090
|
+
}, null, 8, ld)) : H("", !0)
|
|
5088
5091
|
], 2)
|
|
5089
|
-
], 8,
|
|
5092
|
+
], 8, od)), 64))
|
|
5090
5093
|
]));
|
|
5091
5094
|
}
|
|
5092
|
-
}),
|
|
5095
|
+
}), id = {
|
|
5093
5096
|
key: 0,
|
|
5094
5097
|
class: "legend-widget flex flex-col bg-white border border-stone-200 shadow-2xs rounded-xl z-10 relative widget",
|
|
5095
5098
|
style: { width: "100%" }
|
|
5096
|
-
},
|
|
5099
|
+
}, sd = { class: "flex flex-col gap-1 p-5" }, ad = { class: "flex items-center justify-between w-full text-sm text-gray-800 ml-2" }, Kt = /* @__PURE__ */ ne({
|
|
5097
5100
|
__name: "MapLegendWidget",
|
|
5098
5101
|
props: {
|
|
5099
5102
|
items: {}
|
|
@@ -5151,8 +5154,8 @@ const Kc = { class: "map-filter" }, Zc = { class: "map-filter__header" }, Gc = {
|
|
|
5151
5154
|
(t.items === void 0 || t.items === null) && (await r(), c(), f());
|
|
5152
5155
|
}), fe(() => {
|
|
5153
5156
|
o == null || o(), o = null;
|
|
5154
|
-
}), (g, a) => l.value.length ? (m(), b("div",
|
|
5155
|
-
s("div",
|
|
5157
|
+
}), (g, a) => l.value.length ? (m(), b("div", id, [
|
|
5158
|
+
s("div", sd, [
|
|
5156
5159
|
(m(!0), b(q, null, J(l.value, (v) => (m(), b("div", {
|
|
5157
5160
|
key: v.id,
|
|
5158
5161
|
class: "flex items-center"
|
|
@@ -5161,7 +5164,7 @@ const Kc = { class: "map-filter" }, Zc = { class: "map-filter__header" }, Gc = {
|
|
|
5161
5164
|
class: "shrink-0 size-2.5 inline-block me-2.5 h-[10px] w-[10px] rounded-full",
|
|
5162
5165
|
style: Ae({ background: v.color })
|
|
5163
5166
|
}, null, 4),
|
|
5164
|
-
s("span",
|
|
5167
|
+
s("span", ad, [
|
|
5165
5168
|
s("span", null, B(v.label), 1)
|
|
5166
5169
|
])
|
|
5167
5170
|
]))), 128))
|
|
@@ -5169,7 +5172,7 @@ const Kc = { class: "map-filter" }, Zc = { class: "map-filter__header" }, Gc = {
|
|
|
5169
5172
|
])) : H("", !0);
|
|
5170
5173
|
}
|
|
5171
5174
|
});
|
|
5172
|
-
function
|
|
5175
|
+
function ud() {
|
|
5173
5176
|
const { map: e, ready: t } = Le(), n = O(null), r = O(null), l = O(null), o = O(null);
|
|
5174
5177
|
let i = [];
|
|
5175
5178
|
function u() {
|
|
@@ -5202,10 +5205,10 @@ function sd() {
|
|
|
5202
5205
|
title: l
|
|
5203
5206
|
};
|
|
5204
5207
|
}
|
|
5205
|
-
const
|
|
5208
|
+
const cd = { class: "min-w-[200px] max-w-[280px] rounded-lg border border-slate-200 bg-white/90 p-3 text-xs shadow-lg backdrop-blur" }, dd = { class: "space-y-1.5" }, fd = { class: "font-bold text-slate-700" }, pd = { class: "text-slate-700" }, ur = /* @__PURE__ */ ne({
|
|
5206
5209
|
__name: "MapPopup",
|
|
5207
5210
|
setup(e) {
|
|
5208
|
-
const { popupCoords: t, popupFields: n, popupValues: r, disable: l } =
|
|
5211
|
+
const { popupCoords: t, popupFields: n, popupValues: r, disable: l } = ud(), o = O(null), i = O({ left: "-9999px", top: "-9999px" }), u = N(() => {
|
|
5209
5212
|
const v = n.value || [], y = r.value || {};
|
|
5210
5213
|
return v.filter((d) => (d == null ? void 0 : d.meta) !== "title").map((d, p) => g(d, y, p)).filter((d) => d.label);
|
|
5211
5214
|
}), f = N(() => {
|
|
@@ -5249,21 +5252,21 @@ const ad = { class: "min-w-[200px] max-w-[280px] rounded-lg border border-slate-
|
|
|
5249
5252
|
class: "absolute pointer-events-none z-20",
|
|
5250
5253
|
style: Ae(i.value)
|
|
5251
5254
|
}, [
|
|
5252
|
-
s("div",
|
|
5253
|
-
s("div",
|
|
5255
|
+
s("div", cd, [
|
|
5256
|
+
s("div", dd, [
|
|
5254
5257
|
(m(!0), b(q, null, J(c.value, (d) => (m(), b("div", {
|
|
5255
5258
|
key: d.key,
|
|
5256
5259
|
class: "flex flex-col"
|
|
5257
5260
|
}, [
|
|
5258
|
-
s("span",
|
|
5259
|
-
s("span",
|
|
5261
|
+
s("span", fd, B(d.label), 1),
|
|
5262
|
+
s("span", pd, B(d.value ?? "—"), 1)
|
|
5260
5263
|
]))), 128))
|
|
5261
5264
|
])
|
|
5262
5265
|
])
|
|
5263
5266
|
], 4)) : H("", !0);
|
|
5264
5267
|
}
|
|
5265
5268
|
});
|
|
5266
|
-
function
|
|
5269
|
+
function vd() {
|
|
5267
5270
|
const { map: e, ready: t } = Le(), n = xt(), r = st(), l = O(null), o = O(null), i = O(null), u = O(!1), f = N(() => u.value || !!l.value || !!i.value);
|
|
5268
5271
|
let c = null, g = !1;
|
|
5269
5272
|
function a() {
|
|
@@ -5376,7 +5379,7 @@ function fd() {
|
|
|
5376
5379
|
close: x
|
|
5377
5380
|
};
|
|
5378
5381
|
}
|
|
5379
|
-
function
|
|
5382
|
+
function md() {
|
|
5380
5383
|
const { map: e, ready: t } = Le(), n = O([]), r = O(0), l = O(0), o = O(!1), i = O(null), u = O({}), f = O(null), c = O([]), g = N(() => n.value[l.value] || null), a = N(() => n.value.length > 0);
|
|
5381
5384
|
let v = null;
|
|
5382
5385
|
const y = () => {
|
|
@@ -5496,7 +5499,7 @@ function pd() {
|
|
|
5496
5499
|
close: h
|
|
5497
5500
|
};
|
|
5498
5501
|
}
|
|
5499
|
-
const
|
|
5502
|
+
const gd = /* @__PURE__ */ ne({
|
|
5500
5503
|
__name: "LayerSwitcher",
|
|
5501
5504
|
props: {
|
|
5502
5505
|
title: {},
|
|
@@ -5538,7 +5541,7 @@ const vd = /* @__PURE__ */ ne({
|
|
|
5538
5541
|
]));
|
|
5539
5542
|
}
|
|
5540
5543
|
}), Ie = O([]);
|
|
5541
|
-
function
|
|
5544
|
+
function hd(e, t) {
|
|
5542
5545
|
return typeof e != "string" ? "" : e.includes("{{") ? e.replace(/\{\{\s*([a-zA-Z0-9_]+)\s*}}/g, (n, r) => {
|
|
5543
5546
|
const l = String(r || "").trim();
|
|
5544
5547
|
if (!l) return "";
|
|
@@ -5558,7 +5561,7 @@ function cr(e) {
|
|
|
5558
5561
|
var x, S;
|
|
5559
5562
|
const c = zt(o == null ? void 0 : o.id), g = ((x = o == null ? void 0 : o.title) == null ? void 0 : x.trim()) || c, a = ((S = o == null ? void 0 : o.url) == null ? void 0 : S.trim()) || "";
|
|
5560
5563
|
if (!c || !a) return;
|
|
5561
|
-
const v =
|
|
5564
|
+
const v = hd(a, i);
|
|
5562
5565
|
if (!v) return;
|
|
5563
5566
|
const y = f ?? e;
|
|
5564
5567
|
if (!y) return;
|
|
@@ -5631,45 +5634,45 @@ function cr(e) {
|
|
|
5631
5634
|
isTemporaryLayerActive: l
|
|
5632
5635
|
};
|
|
5633
5636
|
}
|
|
5634
|
-
const
|
|
5637
|
+
const yd = {
|
|
5635
5638
|
key: 0,
|
|
5636
5639
|
class: "card absolute top-4 right-11 z-30 w-[400px] max-h-[80%] overflow-hidden rounded-2xl border border-slate-200 bg-white/95 shadow-2xl backdrop-blur-md flex flex-col"
|
|
5637
|
-
},
|
|
5640
|
+
}, xd = { class: "flex items-start justify-between gap-3 border-b border-slate-200 px-4 py-3" }, bd = { class: "min-w-0 flex-1" }, _d = { class: "text-base font-semibold text-slate-900 truncate" }, wd = {
|
|
5638
5641
|
key: 0,
|
|
5639
5642
|
class: "flex gap-1 mt-1"
|
|
5640
|
-
},
|
|
5643
|
+
}, kd = ["disabled"], $d = ["disabled"], Cd = { class: "flex-1 overflow-y-auto px-4 py-3 space-y-3 text-sm text-slate-700" }, Ad = {
|
|
5641
5644
|
key: 0,
|
|
5642
5645
|
class: "text-center text-xs text-slate-500"
|
|
5643
|
-
},
|
|
5646
|
+
}, Ld = {
|
|
5644
5647
|
key: 1,
|
|
5645
5648
|
class: "text-center text-xs text-red-500"
|
|
5646
|
-
},
|
|
5649
|
+
}, Sd = {
|
|
5647
5650
|
key: 2,
|
|
5648
5651
|
class: "prose prose-sm max-w-none space-y-3"
|
|
5649
|
-
},
|
|
5652
|
+
}, Ed = ["innerHTML"], Fd = ["innerHTML"], Id = {
|
|
5650
5653
|
key: 3,
|
|
5651
5654
|
class: "space-y-2"
|
|
5652
|
-
},
|
|
5655
|
+
}, Md = { class: "text-xs font-semibold text-slate-500 uppercase tracking-wide" }, Td = {
|
|
5653
5656
|
key: 0,
|
|
5654
5657
|
class: "inline-block rounded px-2 py-0.5 text-xs font-semibold text-yellow-800",
|
|
5655
5658
|
style: { "background-color": "rgba(250,204,21,0.25)" }
|
|
5656
|
-
},
|
|
5659
|
+
}, jd = {
|
|
5657
5660
|
key: 1,
|
|
5658
5661
|
class: "text-sm text-right text-slate-800 whitespace-pre-wrap"
|
|
5659
|
-
},
|
|
5662
|
+
}, Od = {
|
|
5660
5663
|
key: 4,
|
|
5661
5664
|
class: "text-center text-xs text-slate-400"
|
|
5662
|
-
},
|
|
5665
|
+
}, Nd = "map:temporary-layer-request", Pd = /* @__PURE__ */ ne({
|
|
5663
5666
|
__name: "MapCardWidget",
|
|
5664
5667
|
setup(e) {
|
|
5665
|
-
const t =
|
|
5668
|
+
const t = vd(), n = md(), r = N(() => n.active.value), l = N(() => r.value || t.isOpen.value), o = N(() => r.value ? n.loading.value : t.cardLoading.value), i = N(() => r.value ? n.error.value : t.cardError.value), u = N(() => {
|
|
5666
5669
|
var C, w;
|
|
5667
5670
|
return r.value ? ((C = n.current.value) == null ? void 0 : C.html) || null : ((w = t.card.value) == null ? void 0 : w.html) || null;
|
|
5668
5671
|
}), {
|
|
5669
5672
|
isTemporaryLayerActive: f
|
|
5670
5673
|
} = cr();
|
|
5671
5674
|
function c(C) {
|
|
5672
|
-
window.dispatchEvent(new CustomEvent(
|
|
5675
|
+
window.dispatchEvent(new CustomEvent(Nd, { detail: C }));
|
|
5673
5676
|
}
|
|
5674
5677
|
const g = N(() => {
|
|
5675
5678
|
var C;
|
|
@@ -5830,10 +5833,10 @@ const gd = {
|
|
|
5830
5833
|
c({ action: "clear", owner: C || void 0 });
|
|
5831
5834
|
}), (C, w) => (m(), Q(Gt, { name: "fade" }, {
|
|
5832
5835
|
default: we(() => [
|
|
5833
|
-
l.value ? (m(), b("div",
|
|
5834
|
-
s("div",
|
|
5835
|
-
s("div",
|
|
5836
|
-
s("p",
|
|
5836
|
+
l.value ? (m(), b("div", yd, [
|
|
5837
|
+
s("div", xd, [
|
|
5838
|
+
s("div", bd, [
|
|
5839
|
+
s("p", _d, [
|
|
5837
5840
|
r.value ? (m(), b(q, { key: 1 }, [
|
|
5838
5841
|
se(" Об’єкт " + B(le(R) + 1) + " / " + B(le(T)), 1)
|
|
5839
5842
|
], 64)) : (m(), b(q, { key: 0 }, [
|
|
@@ -5841,7 +5844,7 @@ const gd = {
|
|
|
5841
5844
|
], 64))
|
|
5842
5845
|
])
|
|
5843
5846
|
]),
|
|
5844
|
-
r.value && le(T) > 1 ? (m(), b("div",
|
|
5847
|
+
r.value && le(T) > 1 ? (m(), b("div", wd, [
|
|
5845
5848
|
s("button", {
|
|
5846
5849
|
onClick: w[0] || (w[0] = //@ts-ignore
|
|
5847
5850
|
(...E) => le($) && le($)(...E)),
|
|
@@ -5849,7 +5852,7 @@ const gd = {
|
|
|
5849
5852
|
class: "border p-1 rounded text-xs disabled:opacity-40"
|
|
5850
5853
|
}, [
|
|
5851
5854
|
re(le(wr), { class: "h-4 w-4" })
|
|
5852
|
-
], 8,
|
|
5855
|
+
], 8, kd),
|
|
5853
5856
|
s("button", {
|
|
5854
5857
|
onClick: w[1] || (w[1] = //@ts-ignore
|
|
5855
5858
|
(...E) => le(L) && le(L)(...E)),
|
|
@@ -5857,7 +5860,7 @@ const gd = {
|
|
|
5857
5860
|
class: "border p-1 rounded text-xs disabled:opacity-40"
|
|
5858
5861
|
}, [
|
|
5859
5862
|
re(le(kr), { class: "h-4 w-4" })
|
|
5860
|
-
], 8,
|
|
5863
|
+
], 8, $d)
|
|
5861
5864
|
])) : H("", !0),
|
|
5862
5865
|
s("button", {
|
|
5863
5866
|
type: "button",
|
|
@@ -5865,13 +5868,13 @@ const gd = {
|
|
|
5865
5868
|
onClick: D
|
|
5866
5869
|
}, " ✕ ")
|
|
5867
5870
|
]),
|
|
5868
|
-
s("div",
|
|
5869
|
-
o.value ? (m(), b("div",
|
|
5871
|
+
s("div", Cd, [
|
|
5872
|
+
o.value ? (m(), b("div", Ad, " Завантаження даних… ")) : i.value ? (m(), b("div", Ld, B(i.value), 1)) : M.value.length ? (m(), b("div", Sd, [
|
|
5870
5873
|
(m(!0), b(q, null, J(M.value, (E, j) => (m(), b(q, { key: j }, [
|
|
5871
5874
|
E.type === "html" ? (m(), b("div", {
|
|
5872
5875
|
key: 0,
|
|
5873
5876
|
innerHTML: E.content
|
|
5874
|
-
}, null, 8,
|
|
5877
|
+
}, null, 8, Ed)) : (m(), Q(gd, {
|
|
5875
5878
|
key: 1,
|
|
5876
5879
|
title: E.componentProps.title,
|
|
5877
5880
|
url: E.componentProps.url,
|
|
@@ -5884,28 +5887,28 @@ const gd = {
|
|
|
5884
5887
|
fn: we(() => [
|
|
5885
5888
|
s("span", {
|
|
5886
5889
|
innerHTML: E.slotText
|
|
5887
|
-
}, null, 8,
|
|
5890
|
+
}, null, 8, Fd)
|
|
5888
5891
|
]),
|
|
5889
5892
|
key: "0"
|
|
5890
5893
|
} : void 0
|
|
5891
5894
|
]), 1032, ["title", "url", "id", "button-text"]))
|
|
5892
5895
|
], 64))), 128))
|
|
5893
|
-
])) : F.value.length ? (m(), b("div",
|
|
5896
|
+
])) : F.value.length ? (m(), b("div", Id, [
|
|
5894
5897
|
(m(!0), b(q, null, J(F.value, (E) => (m(), b("div", {
|
|
5895
5898
|
key: E.key,
|
|
5896
5899
|
class: "flex items-start justify-between gap-3 border-b border-slate-100 pb-2"
|
|
5897
5900
|
}, [
|
|
5898
|
-
s("span",
|
|
5899
|
-
E.format === "badge" ? (m(), b("span",
|
|
5901
|
+
s("span", Md, B(E.label), 1),
|
|
5902
|
+
E.format === "badge" ? (m(), b("span", Td, B(E.value), 1)) : (m(), b("span", jd, B(E.value), 1))
|
|
5900
5903
|
]))), 128))
|
|
5901
|
-
])) : (m(), b("div",
|
|
5904
|
+
])) : (m(), b("div", Od, " Даних не знайдено. "))
|
|
5902
5905
|
])
|
|
5903
5906
|
])) : H("", !0)
|
|
5904
5907
|
]),
|
|
5905
5908
|
_: 1
|
|
5906
5909
|
}));
|
|
5907
5910
|
}
|
|
5908
|
-
}), dr = /* @__PURE__ */ ie(
|
|
5911
|
+
}), dr = /* @__PURE__ */ ie(Pd, [["__scopeId", "data-v-e51a6a31"]]), fr = /* @__PURE__ */ ne({
|
|
5909
5912
|
__name: "MapBoundaryLayer",
|
|
5910
5913
|
props: {
|
|
5911
5914
|
layerId: {},
|
|
@@ -5992,7 +5995,7 @@ const gd = {
|
|
|
5992
5995
|
{ immediate: !0 }
|
|
5993
5996
|
), fe(i), (d, p) => null;
|
|
5994
5997
|
}
|
|
5995
|
-
}),
|
|
5998
|
+
}), zd = { class: "flex h-screen bg-gradient-to-br from-slate-50 to-white" }, Rd = { class: "flex-1 relative overflow-hidden" }, Dd = { class: "absolute top-0 left-0 w-full z-20" }, Bd = { class: "flex items-center justify-between bg-white/80 backdrop-blur border-b border-gray-200 px-6 py-3 shadow-sm gap-4" }, Vd = { class: "flex items-center gap-3" }, Ud = { class: "font-semibold text-lg text-gray-800 line-clamp-1" }, qd = { class: "text-xs text-gray-500 truncate" }, Yd = ["title"], Hd = { class: "w-full h-full bg-gradient-to-br from-sky-50 via-white to-blue-50 flex items-center justify-center relative pt-[64px]" }, Wd = { class: "relative w-full h-full" }, Kd = { style: { top: "10px", left: "230px", position: "absolute", "z-index": "1" } }, Zd = { class: "absolute top-4 left-4 z-20" }, Gd = { class: "absolute bottom-4 left-4 z-20" }, Xd = { class: "w-[650px] bg-white border-l border-gray-100 flex flex-col overflow-hidden shadow-lg" }, Qd = { class: "flex-1 flex flex-col h-full" }, Jd = { class: "px-3 pt-3 pb-2 border-b border-gray-100" }, ef = { class: "items-center justify-center text-muted-foreground grid w-full grid-cols-6 h-12 p-1 bg-gray-50 rounded-xl shadow-sm" }, tf = ["aria-selected", "onClick"], nf = { class: "leading-none" }, rf = { class: "flex flex-col flex-1 overflow-y-hidden p-3" }, Cv = /* @__PURE__ */ ne({
|
|
5996
5999
|
__name: "service",
|
|
5997
6000
|
setup(e) {
|
|
5998
6001
|
var A, P;
|
|
@@ -6003,11 +6006,11 @@ const gd = {
|
|
|
6003
6006
|
const L = (u == null ? void 0 : u.map) || null, $ = (L == null ? void 0 : L.boundary) ?? null, T = (L == null ? void 0 : L.katottg) ?? null;
|
|
6004
6007
|
return !$ && !T ? null : { boundary: $, katottg: T };
|
|
6005
6008
|
}), S = [
|
|
6006
|
-
{ key: "style", label: "Style", icon:
|
|
6007
|
-
{ key: "popup", label: "Popup", icon:
|
|
6008
|
-
{ key: "filter", label: "Filter", icon:
|
|
6009
|
-
{ key: "legend", label: "Legend", icon:
|
|
6010
|
-
{ key: "card", label: "Card", icon:
|
|
6009
|
+
{ key: "style", label: "Style", icon: As },
|
|
6010
|
+
{ key: "popup", label: "Popup", icon: zs },
|
|
6011
|
+
{ key: "filter", label: "Filter", icon: Vs },
|
|
6012
|
+
{ key: "legend", label: "Legend", icon: Fs },
|
|
6013
|
+
{ key: "card", label: "Card", icon: js }
|
|
6011
6014
|
], _ = S.map((L) => L.key), k = O("style");
|
|
6012
6015
|
he(async () => {
|
|
6013
6016
|
const L = t.query.tab;
|
|
@@ -6076,11 +6079,11 @@ const gd = {
|
|
|
6076
6079
|
}
|
|
6077
6080
|
return (L, $) => {
|
|
6078
6081
|
var T, R, D, C;
|
|
6079
|
-
return m(), b("div",
|
|
6080
|
-
s("div",
|
|
6081
|
-
s("div",
|
|
6082
|
-
s("div",
|
|
6083
|
-
s("div",
|
|
6082
|
+
return m(), b("div", zd, [
|
|
6083
|
+
s("div", Rd, [
|
|
6084
|
+
s("div", Dd, [
|
|
6085
|
+
s("div", Bd, [
|
|
6086
|
+
s("div", Vd, [
|
|
6084
6087
|
s("button", {
|
|
6085
6088
|
onClick: $[0] || ($[0] = (w) => L.$router.back()),
|
|
6086
6089
|
class: "inline-flex items-center px-3 py-1.5 rounded-md bg-sky-100 hover:bg-sky-200 text-sky-700 font-medium text-sm transition"
|
|
@@ -6102,23 +6105,23 @@ const gd = {
|
|
|
6102
6105
|
se(" Назад ", -1)
|
|
6103
6106
|
])]),
|
|
6104
6107
|
s("div", null, [
|
|
6105
|
-
s("div",
|
|
6106
|
-
s("div",
|
|
6108
|
+
s("div", Ud, B((T = i.value) == null ? void 0 : T.name), 1),
|
|
6109
|
+
s("div", qd, " Сервіс: " + B((R = i.value) == null ? void 0 : R.service_key), 1)
|
|
6107
6110
|
])
|
|
6108
6111
|
]),
|
|
6109
6112
|
s("div", {
|
|
6110
6113
|
class: "max-w-xl text-xs text-gray-600 truncate",
|
|
6111
6114
|
title: (D = i.value) == null ? void 0 : D.description
|
|
6112
|
-
}, B((C = i.value) == null ? void 0 : C.description), 9,
|
|
6115
|
+
}, B((C = i.value) == null ? void 0 : C.description), 9, Yd)
|
|
6113
6116
|
])
|
|
6114
6117
|
]),
|
|
6115
|
-
s("div",
|
|
6116
|
-
s("div",
|
|
6118
|
+
s("div", Hd, [
|
|
6119
|
+
s("div", Wd, [
|
|
6117
6120
|
re(ar, null, {
|
|
6118
6121
|
default: we(() => {
|
|
6119
6122
|
var w, E, j, U, V, Y, K;
|
|
6120
6123
|
return [
|
|
6121
|
-
(w = i.value) != null && w.service_id ? (m(), Q(
|
|
6124
|
+
(w = i.value) != null && w.service_id ? (m(), Q(Wc, {
|
|
6122
6125
|
key: 0,
|
|
6123
6126
|
id: (E = i.value) == null ? void 0 : E.service_id,
|
|
6124
6127
|
layer: i.value,
|
|
@@ -6130,17 +6133,17 @@ const gd = {
|
|
|
6130
6133
|
boundary: ((j = i.value) == null ? void 0 : j.boundary) || ((U = x.value) == null ? void 0 : U.boundary) || null,
|
|
6131
6134
|
katottg: ((V = i.value) == null ? void 0 : V.katottg) || ((Y = x.value) == null ? void 0 : Y.katottg) || null
|
|
6132
6135
|
}, null, 8, ["layer-id", "boundary", "katottg"])) : H("", !0),
|
|
6133
|
-
s("div",
|
|
6136
|
+
s("div", Kd, [
|
|
6134
6137
|
p.value ? (m(), Q(Ht, {
|
|
6135
6138
|
key: 0,
|
|
6136
6139
|
"layer-id": p.value,
|
|
6137
6140
|
filters: d.value
|
|
6138
6141
|
}, null, 8, ["layer-id", "filters"])) : H("", !0)
|
|
6139
6142
|
]),
|
|
6140
|
-
s("div",
|
|
6143
|
+
s("div", Zd, [
|
|
6141
6144
|
re(Wt)
|
|
6142
6145
|
]),
|
|
6143
|
-
s("div",
|
|
6146
|
+
s("div", Gd, [
|
|
6144
6147
|
re(Kt, {
|
|
6145
6148
|
items: ((K = i.value) == null ? void 0 : K.legend) || null
|
|
6146
6149
|
}, null, 8, ["items"])
|
|
@@ -6156,10 +6159,10 @@ const gd = {
|
|
|
6156
6159
|
])
|
|
6157
6160
|
])
|
|
6158
6161
|
]),
|
|
6159
|
-
s("div",
|
|
6160
|
-
s("div",
|
|
6161
|
-
s("div",
|
|
6162
|
-
s("div",
|
|
6162
|
+
s("div", Xd, [
|
|
6163
|
+
s("div", Qd, [
|
|
6164
|
+
s("div", Jd, [
|
|
6165
|
+
s("div", ef, [
|
|
6163
6166
|
(m(), b(q, null, J(S, (w) => s("button", {
|
|
6164
6167
|
key: w.key,
|
|
6165
6168
|
type: "button",
|
|
@@ -6169,31 +6172,31 @@ const gd = {
|
|
|
6169
6172
|
onClick: (E) => k.value = w.key
|
|
6170
6173
|
}, [
|
|
6171
6174
|
(m(), Q(yt(w.icon), { class: "h-3.5 w-3.5 mb-0.5" })),
|
|
6172
|
-
s("span",
|
|
6173
|
-
], 10,
|
|
6175
|
+
s("span", nf, B(w.label), 1)
|
|
6176
|
+
], 10, tf)), 64))
|
|
6174
6177
|
])
|
|
6175
6178
|
]),
|
|
6176
|
-
s("div",
|
|
6177
|
-
k.value === "style" ? (m(), Q(
|
|
6179
|
+
s("div", rf, [
|
|
6180
|
+
k.value === "style" ? (m(), Q(xc, {
|
|
6178
6181
|
key: 0,
|
|
6179
6182
|
token: p.value,
|
|
6180
6183
|
"style-yaml": f.value,
|
|
6181
6184
|
"onUpdate:styleYaml": $[1] || ($[1] = (w) => f.value = w),
|
|
6182
6185
|
onSave: $[2] || ($[2] = (w) => M("style", w))
|
|
6183
|
-
}, null, 8, ["token", "style-yaml"])) : k.value === "legend" ? (m(), Q(
|
|
6186
|
+
}, null, 8, ["token", "style-yaml"])) : k.value === "legend" ? (m(), Q(Nc, {
|
|
6184
6187
|
key: 1,
|
|
6185
6188
|
token: p.value,
|
|
6186
6189
|
columns: c.value,
|
|
6187
6190
|
"onUpdate:columns": $[3] || ($[3] = (w) => c.value = w),
|
|
6188
6191
|
onSave: $[4] || ($[4] = (w) => M("legend", w))
|
|
6189
|
-
}, null, 8, ["token", "columns"])) : k.value === "popup" ? (m(), Q(
|
|
6192
|
+
}, null, 8, ["token", "columns"])) : k.value === "popup" ? (m(), Q(Sc, {
|
|
6190
6193
|
key: 2,
|
|
6191
6194
|
token: p.value,
|
|
6192
6195
|
columns: g.value,
|
|
6193
6196
|
fields: o.value.fields,
|
|
6194
6197
|
"onUpdate:columns": $[5] || ($[5] = (w) => g.value = w),
|
|
6195
6198
|
onSave: $[6] || ($[6] = (w) => M("popup", w))
|
|
6196
|
-
}, null, 8, ["token", "columns", "fields"])) : k.value === "card" ? (m(), Q(
|
|
6199
|
+
}, null, 8, ["token", "columns", "fields"])) : k.value === "card" ? (m(), Q(qc, {
|
|
6197
6200
|
key: 3,
|
|
6198
6201
|
token: p.value,
|
|
6199
6202
|
columns: a.value,
|
|
@@ -6202,7 +6205,7 @@ const gd = {
|
|
|
6202
6205
|
html: y.value,
|
|
6203
6206
|
"onUpdate:columns": $[7] || ($[7] = (w) => a.value = w),
|
|
6204
6207
|
onSave: I
|
|
6205
|
-
}, null, 8, ["token", "columns", "fields", "view-mode", "html"])) : k.value === "filter" ? (m(), Q(
|
|
6208
|
+
}, null, 8, ["token", "columns", "fields", "view-mode", "html"])) : k.value === "filter" ? (m(), Q(Hc, {
|
|
6206
6209
|
key: 4,
|
|
6207
6210
|
token: p.value,
|
|
6208
6211
|
fields: o.value.fields,
|
|
@@ -6216,7 +6219,7 @@ const gd = {
|
|
|
6216
6219
|
]);
|
|
6217
6220
|
};
|
|
6218
6221
|
}
|
|
6219
|
-
}),
|
|
6222
|
+
}), of = { class: "mapLayer-info__inner" }, lf = { class: "mapLayer-info__item-label" }, sf = /* @__PURE__ */ ne({
|
|
6220
6223
|
__name: "MapLayerInfoPopover",
|
|
6221
6224
|
props: {
|
|
6222
6225
|
items: {}
|
|
@@ -6309,12 +6312,12 @@ const gd = {
|
|
|
6309
6312
|
onClick: x[0] || (x[0] = Te(() => {
|
|
6310
6313
|
}, ["stop"]))
|
|
6311
6314
|
}, [
|
|
6312
|
-
s("div",
|
|
6315
|
+
s("div", of, [
|
|
6313
6316
|
(m(!0), b(q, null, J(e.items, (S) => (m(), b("div", {
|
|
6314
6317
|
key: S.label,
|
|
6315
6318
|
class: "mapLayer-info__item"
|
|
6316
6319
|
}, [
|
|
6317
|
-
s("div",
|
|
6320
|
+
s("div", lf, B(S.label), 1),
|
|
6318
6321
|
s("div", {
|
|
6319
6322
|
class: pe(["mapLayer-info__item-value", { "mapLayer-info__item-value--break-all": S.breakLine }])
|
|
6320
6323
|
}, B(S.value ?? "—"), 3)
|
|
@@ -6324,16 +6327,16 @@ const gd = {
|
|
|
6324
6327
|
]))
|
|
6325
6328
|
], 512));
|
|
6326
6329
|
}
|
|
6327
|
-
}), rn = /* @__PURE__ */ ie(
|
|
6330
|
+
}), rn = /* @__PURE__ */ ie(sf, [["__scopeId", "data-v-e7d532ad"]]), af = {
|
|
6328
6331
|
key: 0,
|
|
6329
6332
|
class: "map-info__header"
|
|
6330
|
-
},
|
|
6333
|
+
}, uf = {
|
|
6331
6334
|
key: 0,
|
|
6332
6335
|
class: "map-info__title"
|
|
6333
|
-
},
|
|
6336
|
+
}, cf = { class: "map-info__actions" }, df = {
|
|
6334
6337
|
key: 0,
|
|
6335
6338
|
class: "map-info__menu"
|
|
6336
|
-
},
|
|
6339
|
+
}, ff = ["onClick"], pf = ["innerHTML"], vf = /* @__PURE__ */ ne({
|
|
6337
6340
|
__name: "MapInfoWidget",
|
|
6338
6341
|
props: {
|
|
6339
6342
|
title: {},
|
|
@@ -6388,10 +6391,10 @@ const gd = {
|
|
|
6388
6391
|
ref_key: "container",
|
|
6389
6392
|
ref: n
|
|
6390
6393
|
}, [
|
|
6391
|
-
e.title || u.value.length || c.value.length ? (m(), b("div",
|
|
6392
|
-
e.title ? (m(), b("h2",
|
|
6393
|
-
s("div",
|
|
6394
|
-
u.value.length ? (m(), b("div",
|
|
6394
|
+
e.title || u.value.length || c.value.length ? (m(), b("div", af, [
|
|
6395
|
+
e.title ? (m(), b("h2", uf, B(e.title), 1)) : H("", !0),
|
|
6396
|
+
s("div", cf, [
|
|
6397
|
+
u.value.length ? (m(), b("div", df, [
|
|
6395
6398
|
s("button", {
|
|
6396
6399
|
ref_key: "menuButton",
|
|
6397
6400
|
ref: l,
|
|
@@ -6440,7 +6443,7 @@ const gd = {
|
|
|
6440
6443
|
type: "button",
|
|
6441
6444
|
class: "map-info__popover-link",
|
|
6442
6445
|
onClick: (S) => y(x.slug)
|
|
6443
|
-
}, B(x.name), 9,
|
|
6446
|
+
}, B(x.name), 9, ff))), 128))
|
|
6444
6447
|
], 4)) : H("", !0)
|
|
6445
6448
|
]))
|
|
6446
6449
|
])) : H("", !0),
|
|
@@ -6454,10 +6457,10 @@ const gd = {
|
|
|
6454
6457
|
key: 1,
|
|
6455
6458
|
class: "map-info__content",
|
|
6456
6459
|
innerHTML: e.content
|
|
6457
|
-
}, null, 8,
|
|
6460
|
+
}, null, 8, pf)) : H("", !0)
|
|
6458
6461
|
], 512));
|
|
6459
6462
|
}
|
|
6460
|
-
}), Ln = /* @__PURE__ */ ie(
|
|
6463
|
+
}), Ln = /* @__PURE__ */ ie(vf, [["__scopeId", "data-v-2b3e43a7"]]), mf = { class: "opacity-popover__content" }, gf = { class: "opacity-popover__value" }, hf = /* @__PURE__ */ ne({
|
|
6461
6464
|
__name: "LayerOpacityPopover",
|
|
6462
6465
|
props: {
|
|
6463
6466
|
layerId: {}
|
|
@@ -6529,7 +6532,7 @@ const gd = {
|
|
|
6529
6532
|
class: "opacity-popover",
|
|
6530
6533
|
style: Ae({ top: i.top + "px", left: i.left + "px" })
|
|
6531
6534
|
}, [
|
|
6532
|
-
s("div",
|
|
6535
|
+
s("div", mf, [
|
|
6533
6536
|
v[1] || (v[1] = s("label", { class: "opacity-popover__label" }, "Прозорість:", -1)),
|
|
6534
6537
|
Me(s("input", {
|
|
6535
6538
|
type: "range",
|
|
@@ -6542,19 +6545,19 @@ const gd = {
|
|
|
6542
6545
|
}, null, 544), [
|
|
6543
6546
|
[ot, r.value]
|
|
6544
6547
|
]),
|
|
6545
|
-
s("span",
|
|
6548
|
+
s("span", gf, B(r.value) + "%", 1)
|
|
6546
6549
|
])
|
|
6547
6550
|
], 4)) : H("", !0)
|
|
6548
6551
|
]))
|
|
6549
6552
|
], 512));
|
|
6550
6553
|
}
|
|
6551
|
-
}), pr = /* @__PURE__ */ ie(
|
|
6554
|
+
}), pr = /* @__PURE__ */ ie(hf, [["__scopeId", "data-v-b2bb0bb0"]]), yf = { class: "layers-panel" }, xf = { class: "layers-panel__header" }, bf = { class: "layers-panel__heading" }, _f = { class: "layers-panel__title" }, wf = {
|
|
6552
6555
|
key: 0,
|
|
6553
6556
|
class: "layers-panel__description"
|
|
6554
|
-
},
|
|
6557
|
+
}, kf = { class: "layers-panel__label" }, $f = ["checked", "onChange"], Cf = { class: "layers-panel__name" }, Af = { class: "layers-panel__meta text-slate-500" }, Lf = ["onClick"], Sf = { class: "inline-flex items-center justify-center w-[18px] h-[18px] text-slate-500 transition-colors duration-200 hover:text-blue-700" }, Ef = {
|
|
6555
6558
|
key: 0,
|
|
6556
6559
|
class: "layers-panel__actions"
|
|
6557
|
-
},
|
|
6560
|
+
}, Ff = ["innerHTML", "onClick"], Sn = "map:temporary-layer-request", If = /* @__PURE__ */ ne({
|
|
6558
6561
|
__name: "MapDataLayersWidget",
|
|
6559
6562
|
props: {
|
|
6560
6563
|
layers: {},
|
|
@@ -6739,11 +6742,11 @@ const gd = {
|
|
|
6739
6742
|
}
|
|
6740
6743
|
return (h, I) => {
|
|
6741
6744
|
var A, P;
|
|
6742
|
-
return m(), b("div",
|
|
6743
|
-
s("div",
|
|
6744
|
-
s("div",
|
|
6745
|
-
s("h2",
|
|
6746
|
-
(P = e.config) != null && P.description ? (m(), b("div",
|
|
6745
|
+
return m(), b("div", yf, [
|
|
6746
|
+
s("div", xf, [
|
|
6747
|
+
s("div", bf, [
|
|
6748
|
+
s("h2", _f, B(((A = e.config) == null ? void 0 : A.title) || "Шари"), 1),
|
|
6749
|
+
(P = e.config) != null && P.description ? (m(), b("div", wf, [
|
|
6747
6750
|
s("p", null, B(e.config.description), 1)
|
|
6748
6751
|
])) : H("", !0)
|
|
6749
6752
|
]),
|
|
@@ -6760,15 +6763,15 @@ const gd = {
|
|
|
6760
6763
|
key: L.id,
|
|
6761
6764
|
class: "layers-panel__item"
|
|
6762
6765
|
}, [
|
|
6763
|
-
s("label",
|
|
6766
|
+
s("label", kf, [
|
|
6764
6767
|
s("input", {
|
|
6765
6768
|
type: "checkbox",
|
|
6766
6769
|
class: "layers-panel__checkbox",
|
|
6767
6770
|
checked: p(L.id),
|
|
6768
6771
|
onChange: (T) => k(L, T)
|
|
6769
|
-
}, null, 40,
|
|
6770
|
-
s("span",
|
|
6771
|
-
s("div",
|
|
6772
|
+
}, null, 40, $f),
|
|
6773
|
+
s("span", Cf, B(L.name), 1),
|
|
6774
|
+
s("div", Af, [
|
|
6772
6775
|
p(L.id) && !L.isTemporary ? (m(), b(q, { key: 0 }, [
|
|
6773
6776
|
re(pr, {
|
|
6774
6777
|
"layer-id": L.id,
|
|
@@ -6779,10 +6782,10 @@ const gd = {
|
|
|
6779
6782
|
class: "inline-flex items-center justify-center p-0 text-inherit no-underline cursor-pointer",
|
|
6780
6783
|
onClick: Te(T, ["prevent", "stop"])
|
|
6781
6784
|
}, [
|
|
6782
|
-
s("div",
|
|
6785
|
+
s("div", Sf, [
|
|
6783
6786
|
re(le(Cr))
|
|
6784
6787
|
])
|
|
6785
|
-
], 8,
|
|
6788
|
+
], 8, Lf)
|
|
6786
6789
|
]),
|
|
6787
6790
|
_: 1
|
|
6788
6791
|
}, 8, ["layer-id"]),
|
|
@@ -6796,21 +6799,21 @@ const gd = {
|
|
|
6796
6799
|
}, null, 8, ["items"])
|
|
6797
6800
|
])
|
|
6798
6801
|
]),
|
|
6799
|
-
($ = L.actions) != null && $.length ? (m(), b("div",
|
|
6802
|
+
($ = L.actions) != null && $.length ? (m(), b("div", Ef, [
|
|
6800
6803
|
(m(!0), b(q, null, J(L.actions, (T) => (m(), b("button", {
|
|
6801
6804
|
key: T.widget || T.id || T.icon,
|
|
6802
6805
|
type: "button",
|
|
6803
6806
|
class: "layers-panel__action",
|
|
6804
6807
|
innerHTML: T.icon,
|
|
6805
6808
|
onClick: (R) => a("action", { layerId: T.widget })
|
|
6806
|
-
}, null, 8,
|
|
6809
|
+
}, null, 8, Ff))), 128))
|
|
6807
6810
|
])) : H("", !0)
|
|
6808
6811
|
]);
|
|
6809
6812
|
}), 128))
|
|
6810
6813
|
]);
|
|
6811
6814
|
};
|
|
6812
6815
|
}
|
|
6813
|
-
}), En = /* @__PURE__ */ ie(
|
|
6816
|
+
}), En = /* @__PURE__ */ ie(If, [["__scopeId", "data-v-108d6706"]]), Mf = { class: "catalog-tab__search relative mt-[10px]" }, Tf = {
|
|
6814
6817
|
width: "24",
|
|
6815
6818
|
height: "24",
|
|
6816
6819
|
viewBox: "0 0 24 24",
|
|
@@ -6818,10 +6821,10 @@ const gd = {
|
|
|
6818
6821
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6819
6822
|
class: "absolute top-[40%] left-[8px] w-[16px] h-[16px]",
|
|
6820
6823
|
style: { transform: "translate(0, -50%)" }
|
|
6821
|
-
},
|
|
6824
|
+
}, jf = {
|
|
6822
6825
|
key: 0,
|
|
6823
6826
|
class: "text-sm text-gray-400 text-center mt-6"
|
|
6824
|
-
},
|
|
6827
|
+
}, Of = ["onClick"], Nf = { class: "flex items-center gap-x-3" }, Pf = { class: "max-w-[260px] text-[14px] text-[#4b5563]" }, zf = { class: "text-xs opacity-60 text-[#4b5563]" }, Rf = { class: "flex items-center cursor-pointer gap-2 flex-1" }, Df = ["checked", "onChange"], Bf = { class: "text-[13px] text-gray-600 truncate max-w-[260px]" }, Vf = { class: "flex items-center gap-2" }, Uf = /* @__PURE__ */ ne({
|
|
6825
6828
|
__name: "LayersCatalogTab",
|
|
6826
6829
|
props: {
|
|
6827
6830
|
catalog: {},
|
|
@@ -6847,7 +6850,7 @@ const gd = {
|
|
|
6847
6850
|
set: (x) => r("update:search", x)
|
|
6848
6851
|
});
|
|
6849
6852
|
function c(x) {
|
|
6850
|
-
l[x] = !l[x],
|
|
6853
|
+
l[x] = !l[x], Kc();
|
|
6851
6854
|
}
|
|
6852
6855
|
function g(x) {
|
|
6853
6856
|
return !!l[x];
|
|
@@ -6892,7 +6895,7 @@ const gd = {
|
|
|
6892
6895
|
ref: o,
|
|
6893
6896
|
class: "catalog-tab"
|
|
6894
6897
|
}, [
|
|
6895
|
-
s("div",
|
|
6898
|
+
s("div", Mf, [
|
|
6896
6899
|
Me(s("input", {
|
|
6897
6900
|
"onUpdate:modelValue": S[0] || (S[0] = (_) => f.value = _),
|
|
6898
6901
|
type: "text",
|
|
@@ -6901,7 +6904,7 @@ const gd = {
|
|
|
6901
6904
|
}, null, 512), [
|
|
6902
6905
|
[ot, f.value]
|
|
6903
6906
|
]),
|
|
6904
|
-
(m(), b("svg",
|
|
6907
|
+
(m(), b("svg", Tf, [...S[1] || (S[1] = [
|
|
6905
6908
|
s("path", {
|
|
6906
6909
|
d: "M11 19C15.4183 19 19 15.4183 19 11C19 6.5817 15.4183 3 11 3C6.5817 3 3 6.5817 3 11C3 15.4183 6.5817 19 11 19Z",
|
|
6907
6910
|
stroke: "black",
|
|
@@ -6916,7 +6919,7 @@ const gd = {
|
|
|
6916
6919
|
}, null, -1)
|
|
6917
6920
|
])]))
|
|
6918
6921
|
]),
|
|
6919
|
-
u.value.length === 0 ? (m(), b("div",
|
|
6922
|
+
u.value.length === 0 ? (m(), b("div", jf, " Нічого не знайдено ")) : H("", !0),
|
|
6920
6923
|
(m(!0), b(q, null, J(u.value, (_) => (m(), b("div", {
|
|
6921
6924
|
key: _.id,
|
|
6922
6925
|
class: "mt-2"
|
|
@@ -6925,7 +6928,7 @@ const gd = {
|
|
|
6925
6928
|
class: "hover:bg-gray-100 cursor-pointer p-[8px] rounded-lg flex justify-between items-center",
|
|
6926
6929
|
onClick: (k) => c(_.id)
|
|
6927
6930
|
}, [
|
|
6928
|
-
s("div",
|
|
6931
|
+
s("div", Nf, [
|
|
6929
6932
|
(m(), b("svg", {
|
|
6930
6933
|
width: "6",
|
|
6931
6934
|
height: "10",
|
|
@@ -6941,10 +6944,10 @@ const gd = {
|
|
|
6941
6944
|
"stroke-linejoin": "round"
|
|
6942
6945
|
}, null, -1)
|
|
6943
6946
|
])], 2)),
|
|
6944
|
-
s("div",
|
|
6947
|
+
s("div", Pf, B(_.name), 1)
|
|
6945
6948
|
]),
|
|
6946
|
-
s("div",
|
|
6947
|
-
], 8,
|
|
6949
|
+
s("div", zf, B(_.layers.length), 1)
|
|
6950
|
+
], 8, Of),
|
|
6948
6951
|
re(Gt, { name: "out-in" }, {
|
|
6949
6952
|
default: we(() => [
|
|
6950
6953
|
Me(s("div", null, [
|
|
@@ -6952,13 +6955,13 @@ const gd = {
|
|
|
6952
6955
|
key: k.id,
|
|
6953
6956
|
class: "hover:bg-gray-100 rounded-lg flex items-center justify-between ml-[20px] py-[8px] px-[8px] gap-3"
|
|
6954
6957
|
}, [
|
|
6955
|
-
s("label",
|
|
6958
|
+
s("label", Rf, [
|
|
6956
6959
|
s("input", {
|
|
6957
6960
|
type: "checkbox",
|
|
6958
6961
|
class: "peer hidden",
|
|
6959
6962
|
checked: e.selected.includes(k.id),
|
|
6960
6963
|
onChange: (F) => x.$emit("toggle-layer", k.id, F.target.checked, k)
|
|
6961
|
-
}, null, 40,
|
|
6964
|
+
}, null, 40, Df),
|
|
6962
6965
|
S[3] || (S[3] = s("div", { class: "w-4 h-4 rounded border border-blue-800 flex items-center justify-center peer-checked:bg-blue-600 peer-checked:border-blue-600" }, [
|
|
6963
6966
|
s("svg", {
|
|
6964
6967
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -6975,9 +6978,9 @@ const gd = {
|
|
|
6975
6978
|
})
|
|
6976
6979
|
])
|
|
6977
6980
|
], -1)),
|
|
6978
|
-
s("span",
|
|
6981
|
+
s("span", Bf, B(k.name), 1)
|
|
6979
6982
|
]),
|
|
6980
|
-
s("div",
|
|
6983
|
+
s("div", Vf, [
|
|
6981
6984
|
Array.isArray(k.filters) && k.filters.length ? (m(), Q(Ft, {
|
|
6982
6985
|
key: 0,
|
|
6983
6986
|
count: k.filters.length,
|
|
@@ -7012,10 +7015,10 @@ const gd = {
|
|
|
7012
7015
|
]))
|
|
7013
7016
|
], 512));
|
|
7014
7017
|
}
|
|
7015
|
-
}),
|
|
7018
|
+
}), qf = /* @__PURE__ */ ie(Uf, [["__scopeId", "data-v-1df2b104"]]), Yf = { class: "selected-tab" }, Hf = { class: "selected-tab__actions" }, Wf = {
|
|
7016
7019
|
key: 0,
|
|
7017
7020
|
class: "selected-tab__scroll"
|
|
7018
|
-
},
|
|
7021
|
+
}, Kf = ["onDragstart", "onDragover", "onDrop"], Zf = { class: "selected-tab__item-header" }, Gf = { class: "selected-tab__item-info" }, Xf = ["checked", "onChange"], Qf = { class: "selected-tab__item-name" }, Jf = { class: "selected-tab__item-controls" }, ep = ["onClick"], tp = { class: "selected-tab__menu-inner" }, np = /* @__PURE__ */ ne({
|
|
7019
7022
|
__name: "LayersSelectedTab",
|
|
7020
7023
|
props: {
|
|
7021
7024
|
catalog: {},
|
|
@@ -7127,8 +7130,8 @@ const gd = {
|
|
|
7127
7130
|
const C = [...n.selected], [w] = C.splice(P.value, 1);
|
|
7128
7131
|
C.splice(D, 0, w), r("reorder", C), P.value = null, L.value = null;
|
|
7129
7132
|
}
|
|
7130
|
-
return (D, C) => (m(), b("div",
|
|
7131
|
-
s("div",
|
|
7133
|
+
return (D, C) => (m(), b("div", Yf, [
|
|
7134
|
+
s("div", Hf, [
|
|
7132
7135
|
s("button", {
|
|
7133
7136
|
class: "selected-tab__add",
|
|
7134
7137
|
onClick: C[0] || (C[0] = (w) => r("select-layer"))
|
|
@@ -7151,7 +7154,7 @@ const gd = {
|
|
|
7151
7154
|
s("span", null, "Вибрати шар", -1)
|
|
7152
7155
|
])])
|
|
7153
7156
|
]),
|
|
7154
|
-
e.selected.length ? (m(), b("div",
|
|
7157
|
+
e.selected.length ? (m(), b("div", Wf, [
|
|
7155
7158
|
s("div", null, [
|
|
7156
7159
|
(m(!0), b(q, null, J(e.selected, (w, E) => {
|
|
7157
7160
|
var j;
|
|
@@ -7166,18 +7169,18 @@ const gd = {
|
|
|
7166
7169
|
onDragover: Te((U) => T(E), ["prevent"]),
|
|
7167
7170
|
onDrop: (U) => R(E)
|
|
7168
7171
|
}, [
|
|
7169
|
-
s("div",
|
|
7170
|
-
s("div",
|
|
7172
|
+
s("div", Zf, [
|
|
7173
|
+
s("div", Gf, [
|
|
7171
7174
|
C[4] || (C[4] = s("span", { class: "selected-tab__item-handle" }, "☰", -1)),
|
|
7172
7175
|
s("input", {
|
|
7173
7176
|
type: "checkbox",
|
|
7174
7177
|
class: "selected-tab__item-checkbox",
|
|
7175
7178
|
checked: y[w] ?? !0,
|
|
7176
7179
|
onChange: (U) => x(w, U.target.checked)
|
|
7177
|
-
}, null, 40,
|
|
7178
|
-
s("span",
|
|
7180
|
+
}, null, 40, Xf),
|
|
7181
|
+
s("span", Qf, B(((j = d(w)) == null ? void 0 : j.name) || "Шар"), 1)
|
|
7179
7182
|
]),
|
|
7180
|
-
s("div",
|
|
7183
|
+
s("div", Jf, [
|
|
7181
7184
|
re(pr, { "layer-id": w }, null, 8, ["layer-id"]),
|
|
7182
7185
|
s("button", {
|
|
7183
7186
|
type: "button",
|
|
@@ -7214,10 +7217,10 @@ const gd = {
|
|
|
7214
7217
|
r: "1"
|
|
7215
7218
|
})
|
|
7216
7219
|
], -1)
|
|
7217
|
-
])], 8,
|
|
7220
|
+
])], 8, ep)
|
|
7218
7221
|
])
|
|
7219
7222
|
])
|
|
7220
|
-
], 42,
|
|
7223
|
+
], 42, Kf);
|
|
7221
7224
|
}), 128))
|
|
7222
7225
|
])
|
|
7223
7226
|
])) : H("", !0),
|
|
@@ -7229,7 +7232,7 @@ const gd = {
|
|
|
7229
7232
|
class: "selected-tab__menu",
|
|
7230
7233
|
style: Ae({ top: g.top + "px", left: g.left + "px" })
|
|
7231
7234
|
}, [
|
|
7232
|
-
s("div",
|
|
7235
|
+
s("div", tp, [
|
|
7233
7236
|
s("button", {
|
|
7234
7237
|
class: "selected-tab__menu-item",
|
|
7235
7238
|
onClick: C[1] || (C[1] = (w) => A(c.value))
|
|
@@ -7367,16 +7370,16 @@ const gd = {
|
|
|
7367
7370
|
]))
|
|
7368
7371
|
]));
|
|
7369
7372
|
}
|
|
7370
|
-
}),
|
|
7373
|
+
}), rp = /* @__PURE__ */ ie(np, [["__scopeId", "data-v-e336e847"]]), op = { class: "filter-tab" }, lp = {
|
|
7371
7374
|
key: 0,
|
|
7372
7375
|
class: "filter-tab__header"
|
|
7373
|
-
},
|
|
7376
|
+
}, ip = { class: "filter-tab__title" }, sp = {
|
|
7374
7377
|
key: 1,
|
|
7375
7378
|
class: "filter-tab__content rounded-md"
|
|
7376
|
-
},
|
|
7379
|
+
}, ap = { class: "filter-tab__scroll" }, up = {
|
|
7377
7380
|
key: 2,
|
|
7378
7381
|
class: "filter-tab__empty"
|
|
7379
|
-
},
|
|
7382
|
+
}, cp = /* @__PURE__ */ ne({
|
|
7380
7383
|
__name: "LayersFilterTab",
|
|
7381
7384
|
props: {
|
|
7382
7385
|
layer: {},
|
|
@@ -7391,14 +7394,14 @@ const gd = {
|
|
|
7391
7394
|
function u(f) {
|
|
7392
7395
|
l("change", f.data);
|
|
7393
7396
|
}
|
|
7394
|
-
return (f, c) => (m(), b("div",
|
|
7395
|
-
e.layer && i.value ? (m(), b("div",
|
|
7397
|
+
return (f, c) => (m(), b("div", op, [
|
|
7398
|
+
e.layer && i.value ? (m(), b("div", lp, [
|
|
7396
7399
|
s("div", null, [
|
|
7397
|
-
s("p",
|
|
7400
|
+
s("p", ip, B(e.layer.name), 1)
|
|
7398
7401
|
])
|
|
7399
7402
|
])) : H("", !0),
|
|
7400
|
-
e.layer && i.value ? (m(), b("div",
|
|
7401
|
-
s("div",
|
|
7403
|
+
e.layer && i.value ? (m(), b("div", sp, [
|
|
7404
|
+
s("div", ap, [
|
|
7402
7405
|
re(le(n), {
|
|
7403
7406
|
view: "vertical",
|
|
7404
7407
|
schema: o.value,
|
|
@@ -7408,16 +7411,16 @@ const gd = {
|
|
|
7408
7411
|
onChange: c[0] || (c[0] = (g) => u(g))
|
|
7409
7412
|
}, null, 8, ["schema", "value"])
|
|
7410
7413
|
])
|
|
7411
|
-
])) : (m(), b("div",
|
|
7414
|
+
])) : (m(), b("div", up, [...c[1] || (c[1] = [
|
|
7412
7415
|
s("p", { class: "filter-tab__empty-title" }, "Немає доступних фільтрів", -1),
|
|
7413
7416
|
s("p", { class: "filter-tab__empty-text" }, " Оберіть шар із фільтрами у каталозі, щоб налаштувати відбір даних. ", -1)
|
|
7414
7417
|
])]))
|
|
7415
7418
|
]));
|
|
7416
7419
|
}
|
|
7417
|
-
}),
|
|
7420
|
+
}), dp = /* @__PURE__ */ ie(cp, [["__scopeId", "data-v-c6632fbd"]]), fp = { class: "map-catalog-widget w-full max-w-md mx-auto p-4 bg-white border border-gray-200 rounded-lg shadow-sm widget" }, pp = { class: "flex items-center justify-between mb-4" }, vp = { class: "flex items-center gap-2" }, mp = { class: "text-lg font-semibold text-gray-800" }, gp = { key: 0 }, hp = {
|
|
7418
7421
|
key: 1,
|
|
7419
7422
|
class: "block text-sm font-normal text-gray-500"
|
|
7420
|
-
},
|
|
7423
|
+
}, yp = { class: "flex mb-4 border-b border-gray-200" }, xp = { class: "map-catalog-widget__body" }, bp = /* @__PURE__ */ ne({
|
|
7421
7424
|
__name: "MapCatalogWidget",
|
|
7422
7425
|
setup(e) {
|
|
7423
7426
|
const t = O("catalog"), n = O({ groups: [] }), r = O([]), l = O(""), { map: o } = Le(), i = xt(), u = st(), f = Ne({}), c = O(null);
|
|
@@ -7553,9 +7556,9 @@ const gd = {
|
|
|
7553
7556
|
});
|
|
7554
7557
|
},
|
|
7555
7558
|
{ deep: !0 }
|
|
7556
|
-
), he(L), ($, T) => (m(), b("div",
|
|
7557
|
-
s("div",
|
|
7558
|
-
s("div",
|
|
7559
|
+
), he(L), ($, T) => (m(), b("div", fp, [
|
|
7560
|
+
s("div", pp, [
|
|
7561
|
+
s("div", vp, [
|
|
7559
7562
|
T[5] || (T[5] = s("svg", {
|
|
7560
7563
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7561
7564
|
width: "20",
|
|
@@ -7572,10 +7575,10 @@ const gd = {
|
|
|
7572
7575
|
s("path", { d: "m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65" }),
|
|
7573
7576
|
s("path", { d: "m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65" })
|
|
7574
7577
|
], -1)),
|
|
7575
|
-
s("h2",
|
|
7578
|
+
s("h2", mp, [
|
|
7576
7579
|
se(B(I.value) + " ", 1),
|
|
7577
|
-
A.value !== null ? (m(), b("span",
|
|
7578
|
-
P.value ? (m(), b("span",
|
|
7580
|
+
A.value !== null ? (m(), b("span", gp, "(" + B(A.value) + ")", 1)) : H("", !0),
|
|
7581
|
+
P.value ? (m(), b("span", hp, B(P.value), 1)) : H("", !0)
|
|
7579
7582
|
])
|
|
7580
7583
|
]),
|
|
7581
7584
|
s("button", {
|
|
@@ -7586,7 +7589,7 @@ const gd = {
|
|
|
7586
7589
|
Qe('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-refresh-cw text-gray-600" data-v-c75de067><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8" data-v-c75de067></path><path d="M21 3v5h-5" data-v-c75de067></path><path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16" data-v-c75de067></path><path d="M8 16H3v5" data-v-c75de067></path></svg>', 1)
|
|
7587
7590
|
])])
|
|
7588
7591
|
]),
|
|
7589
|
-
s("div",
|
|
7592
|
+
s("div", yp, [
|
|
7590
7593
|
s("button", {
|
|
7591
7594
|
onClick: T[0] || (T[0] = (R) => t.value = "catalog"),
|
|
7592
7595
|
class: pe([
|
|
@@ -7602,8 +7605,8 @@ const gd = {
|
|
|
7602
7605
|
])
|
|
7603
7606
|
}, " Вибрані шари ", 2)
|
|
7604
7607
|
]),
|
|
7605
|
-
s("div",
|
|
7606
|
-
t.value === "catalog" ? (m(), Q(
|
|
7608
|
+
s("div", xp, [
|
|
7609
|
+
t.value === "catalog" ? (m(), Q(qf, {
|
|
7607
7610
|
key: 0,
|
|
7608
7611
|
class: "map-catalog-widget__scroll",
|
|
7609
7612
|
catalog: n.value,
|
|
@@ -7612,7 +7615,7 @@ const gd = {
|
|
|
7612
7615
|
"onUpdate:search": T[2] || (T[2] = (R) => l.value = R),
|
|
7613
7616
|
onToggleLayer: p,
|
|
7614
7617
|
onOpenFilter: _
|
|
7615
|
-
}, null, 8, ["catalog", "selected", "search"])) : t.value === "selected" ? (m(), Q(
|
|
7618
|
+
}, null, 8, ["catalog", "selected", "search"])) : t.value === "selected" ? (m(), Q(rp, {
|
|
7616
7619
|
key: 1,
|
|
7617
7620
|
catalog: n.value,
|
|
7618
7621
|
selected: r.value,
|
|
@@ -7620,7 +7623,7 @@ const gd = {
|
|
|
7620
7623
|
onSelectLayer: T[3] || (T[3] = (R) => t.value = "catalog"),
|
|
7621
7624
|
onReorder: S,
|
|
7622
7625
|
onRemove: T[4] || (T[4] = (R) => r.value = r.value.filter((D) => D !== R))
|
|
7623
|
-
}, null, 8, ["catalog", "selected"])) : (m(), Q(
|
|
7626
|
+
}, null, 8, ["catalog", "selected"])) : (m(), Q(dp, {
|
|
7624
7627
|
key: 2,
|
|
7625
7628
|
layer: F.value,
|
|
7626
7629
|
value: M.value,
|
|
@@ -7630,22 +7633,22 @@ const gd = {
|
|
|
7630
7633
|
])
|
|
7631
7634
|
]));
|
|
7632
7635
|
}
|
|
7633
|
-
}), Fn = /* @__PURE__ */ ie(
|
|
7636
|
+
}), Fn = /* @__PURE__ */ ie(bp, [["__scopeId", "data-v-c75de067"]]), _p = {
|
|
7634
7637
|
key: 1,
|
|
7635
7638
|
class: "flex flex-col bg-white border border-stone-200 shadow-2xs rounded-xl z-10 relative widget"
|
|
7636
|
-
},
|
|
7639
|
+
}, wp = { class: "flex items-start justify-between gap-3 p-5 pb-3" }, kp = { class: "inline-block text-xl font-semibold text-gray-800" }, $p = {
|
|
7637
7640
|
key: 0,
|
|
7638
7641
|
class: "mt-1 text-sm text-gray-500"
|
|
7639
|
-
},
|
|
7642
|
+
}, Cp = { class: "flex items-center gap-[6px]" }, Ap = { class: "px-5 pb-5 space-y-6" }, Lp = {
|
|
7640
7643
|
key: 0,
|
|
7641
7644
|
class: "space-y-2"
|
|
7642
|
-
},
|
|
7645
|
+
}, Sp = { class: "flex flex-wrap gap-4" }, Ep = ["value"], Fp = {
|
|
7643
7646
|
key: 1,
|
|
7644
7647
|
class: "text-sm text-gray-500"
|
|
7645
|
-
},
|
|
7648
|
+
}, Ip = {
|
|
7646
7649
|
key: 2,
|
|
7647
7650
|
class: "text-sm text-gray-500"
|
|
7648
|
-
},
|
|
7651
|
+
}, Mp = { class: "text-4xl font-medium text-gray-800" }, Tp = { class: "space-y-[14px]" }, jp = { class: "flex items-center gap-[10px] text-gray-600" }, Op = { class: "font-medium text-gray-700" }, Np = { class: "flex items-center justify-end text-end gap-3" }, Pp = { class: "font-medium text-gray-800" }, zp = { class: "min-w-[40px] font-medium text-[#3C3C4399]" }, Rp = /* @__PURE__ */ ne({
|
|
7649
7652
|
__name: "MapAttributeWidget",
|
|
7650
7653
|
props: {
|
|
7651
7654
|
config: {}
|
|
@@ -7839,13 +7842,13 @@ const gd = {
|
|
|
7839
7842
|
return fe(() => {
|
|
7840
7843
|
var w, E;
|
|
7841
7844
|
(E = (w = u.value) == null ? void 0 : w.remove) == null || E.call(w);
|
|
7842
|
-
}), (w, E) => r.value ? (m(), b("div",
|
|
7843
|
-
s("div",
|
|
7845
|
+
}), (w, E) => r.value ? (m(), b("div", _p, [
|
|
7846
|
+
s("div", wp, [
|
|
7844
7847
|
s("div", null, [
|
|
7845
|
-
s("h2",
|
|
7846
|
-
D.value && x.value.length === 1 ? (m(), b("p",
|
|
7848
|
+
s("h2", kp, B(T.value), 1),
|
|
7849
|
+
D.value && x.value.length === 1 ? (m(), b("p", $p, B(D.value), 1)) : H("", !0)
|
|
7847
7850
|
]),
|
|
7848
|
-
s("div",
|
|
7851
|
+
s("div", Cp, [
|
|
7849
7852
|
_.value ? (m(), Q(Ft, {
|
|
7850
7853
|
key: 0,
|
|
7851
7854
|
class: "flex justify-center items-center h-[36px] w-[36px] text-sm border border-gray-200 text-gray-600 hover:bg-gray-100 rounded-full",
|
|
@@ -7872,9 +7875,9 @@ const gd = {
|
|
|
7872
7875
|
])])
|
|
7873
7876
|
])
|
|
7874
7877
|
]),
|
|
7875
|
-
s("div",
|
|
7876
|
-
x.value.length > 1 ? (m(), b("div",
|
|
7877
|
-
s("div",
|
|
7878
|
+
s("div", Ap, [
|
|
7879
|
+
x.value.length > 1 ? (m(), b("div", Lp, [
|
|
7880
|
+
s("div", Sp, [
|
|
7878
7881
|
(m(!0), b(q, null, J(x.value, (j) => (m(), b("label", {
|
|
7879
7882
|
key: j.id,
|
|
7880
7883
|
class: "inline-flex items-center gap-2 text-sm text-gray-700"
|
|
@@ -7884,34 +7887,34 @@ const gd = {
|
|
|
7884
7887
|
class: "text-sky-600 focus:ring-sky-500",
|
|
7885
7888
|
value: j.id,
|
|
7886
7889
|
"onUpdate:modelValue": E[2] || (E[2] = (U) => v.value = U)
|
|
7887
|
-
}, null, 8,
|
|
7890
|
+
}, null, 8, Ep), [
|
|
7888
7891
|
[hr, v.value]
|
|
7889
7892
|
]),
|
|
7890
7893
|
s("span", null, B(j.label), 1)
|
|
7891
7894
|
]))), 128))
|
|
7892
7895
|
])
|
|
7893
7896
|
])) : H("", !0),
|
|
7894
|
-
l.value ? (m(), b("div",
|
|
7895
|
-
s("h4",
|
|
7896
|
-
s("ul",
|
|
7897
|
+
l.value ? (m(), b("div", Fp, "Завантаження…")) : o.value.length ? (m(), b(q, { key: 3 }, [
|
|
7898
|
+
s("h4", Mp, B(R.value), 1),
|
|
7899
|
+
s("ul", Tp, [
|
|
7897
7900
|
(m(!0), b(q, null, J(o.value, (j) => (m(), b("li", {
|
|
7898
7901
|
key: j.id,
|
|
7899
7902
|
class: "flex flex-wrap items-center justify-between gap-x-2"
|
|
7900
7903
|
}, [
|
|
7901
|
-
s("div",
|
|
7904
|
+
s("div", jp, [
|
|
7902
7905
|
s("span", {
|
|
7903
7906
|
class: "block w-[16px] h-[16px] rounded",
|
|
7904
7907
|
style: Ae({ backgroundColor: j.color })
|
|
7905
7908
|
}, null, 4),
|
|
7906
|
-
s("span",
|
|
7909
|
+
s("span", Op, B(j.label), 1)
|
|
7907
7910
|
]),
|
|
7908
|
-
s("div",
|
|
7909
|
-
s("span",
|
|
7910
|
-
s("span",
|
|
7911
|
+
s("div", Np, [
|
|
7912
|
+
s("span", Pp, B(j.count), 1),
|
|
7913
|
+
s("span", zp, B(C(j.count)), 1)
|
|
7911
7914
|
])
|
|
7912
7915
|
]))), 128))
|
|
7913
7916
|
])
|
|
7914
|
-
], 64)) : (m(), b("div",
|
|
7917
|
+
], 64)) : (m(), b("div", Ip, "Дані відсутні"))
|
|
7915
7918
|
])
|
|
7916
7919
|
])) : (m(), b("button", {
|
|
7917
7920
|
key: 0,
|
|
@@ -7919,10 +7922,10 @@ const gd = {
|
|
|
7919
7922
|
onClick: E[0] || (E[0] = (j) => r.value = !0)
|
|
7920
7923
|
}, " Набори даних "));
|
|
7921
7924
|
}
|
|
7922
|
-
}), In = /* @__PURE__ */ ie(
|
|
7925
|
+
}), In = /* @__PURE__ */ ie(Rp, [["__scopeId", "data-v-9686ce7b"]]), Dp = { class: "map-search-widget flex flex-col gap-2 bg-white border border-stone-200 shadow-2xs rounded-xl widget p-3 min-w-[200px]" }, Bp = {
|
|
7923
7926
|
key: 0,
|
|
7924
7927
|
class: "vs-select__options absolute z-50 mt-1 w-full bg-white border border-gray-300 shadow-lg rounded-lg text-sm"
|
|
7925
|
-
},
|
|
7928
|
+
}, Vp = ["onClick"], Up = { class: "relative flex-1 min-w-[140px]" }, qp = ["placeholder"], Yp = "https://data.softpro.ua/api-user/gis-url-proxy", Hp = "https://geo.rv.ua/api-user/dzk.api", Wp = /* @__PURE__ */ ne({
|
|
7926
7929
|
__name: "MapSearchWidget",
|
|
7927
7930
|
props: {
|
|
7928
7931
|
config: {}
|
|
@@ -8025,7 +8028,7 @@ const gd = {
|
|
|
8025
8028
|
return;
|
|
8026
8029
|
}
|
|
8027
8030
|
try {
|
|
8028
|
-
const F = new URL(i.value === "here" ?
|
|
8031
|
+
const F = new URL(i.value === "here" ? Yp : Hp);
|
|
8029
8032
|
if (i.value === "here")
|
|
8030
8033
|
F.searchParams.set("searchtext", k);
|
|
8031
8034
|
else {
|
|
@@ -8050,7 +8053,7 @@ const gd = {
|
|
|
8050
8053
|
}
|
|
8051
8054
|
}
|
|
8052
8055
|
}
|
|
8053
|
-
return (k, F) => (m(), b("div",
|
|
8056
|
+
return (k, F) => (m(), b("div", Dp, [
|
|
8054
8057
|
s("form", {
|
|
8055
8058
|
class: "flex gap-2",
|
|
8056
8059
|
onSubmit: Te(_, ["prevent"])
|
|
@@ -8082,23 +8085,23 @@ const gd = {
|
|
|
8082
8085
|
}, null, -1)
|
|
8083
8086
|
])], 2))
|
|
8084
8087
|
]),
|
|
8085
|
-
f.value ? (m(), b("div",
|
|
8088
|
+
f.value ? (m(), b("div", Bp, [
|
|
8086
8089
|
s("ul", null, [
|
|
8087
8090
|
(m(!0), b(q, null, J(l.value, (M) => (m(), b("li", {
|
|
8088
8091
|
key: M,
|
|
8089
8092
|
class: "px-3 py-2 cursor-pointer hover:bg-gray-100",
|
|
8090
8093
|
onClick: (h) => g(M)
|
|
8091
|
-
}, B(v(M)), 9,
|
|
8094
|
+
}, B(v(M)), 9, Vp))), 128))
|
|
8092
8095
|
])
|
|
8093
8096
|
])) : H("", !0)
|
|
8094
8097
|
], 512)) : H("", !0),
|
|
8095
|
-
s("div",
|
|
8098
|
+
s("div", Up, [
|
|
8096
8099
|
Me(s("input", {
|
|
8097
8100
|
"onUpdate:modelValue": F[1] || (F[1] = (M) => u.value = M),
|
|
8098
8101
|
placeholder: o.value,
|
|
8099
8102
|
type: "text",
|
|
8100
8103
|
class: "vs-input transition-all border block w-full border-gray-200 rounded-md focus:border-blue-100 border-solid !pr-8 py-1.5 pl-3 text-sm"
|
|
8101
|
-
}, null, 8,
|
|
8104
|
+
}, null, 8, qp), [
|
|
8102
8105
|
[
|
|
8103
8106
|
ot,
|
|
8104
8107
|
u.value,
|
|
@@ -8130,7 +8133,7 @@ const gd = {
|
|
|
8130
8133
|
], 32)
|
|
8131
8134
|
]));
|
|
8132
8135
|
}
|
|
8133
|
-
}), Mn = /* @__PURE__ */ ie(
|
|
8136
|
+
}), Mn = /* @__PURE__ */ ie(Wp, [["__scopeId", "data-v-85962cbc"]]), Kp = "https://watergis.github.io/mapbox-gl-export/mapbox-gl-export.css", Zp = "https://watergis.github.io/mapbox-gl-export/mapbox-gl-export.js", Gp = /* @__PURE__ */ ne({
|
|
8134
8137
|
__name: "MapPrintControl",
|
|
8135
8138
|
setup(e) {
|
|
8136
8139
|
const { map: t, ready: n, addControl: r, removeControl: l } = Le(), o = O(null), i = O(null), u = O(null), f = O(null);
|
|
@@ -8257,9 +8260,9 @@ const gd = {
|
|
|
8257
8260
|
await (n == null ? void 0 : n());
|
|
8258
8261
|
const h = t.value;
|
|
8259
8262
|
if (!h) return;
|
|
8260
|
-
a(
|
|
8263
|
+
a(Kp), g();
|
|
8261
8264
|
try {
|
|
8262
|
-
await v(
|
|
8265
|
+
await v(Zp);
|
|
8263
8266
|
} catch (P) {
|
|
8264
8267
|
console.warn("[MapPrintControl] load error", P);
|
|
8265
8268
|
return;
|
|
@@ -8299,7 +8302,7 @@ const gd = {
|
|
|
8299
8302
|
class: "map-print-control"
|
|
8300
8303
|
}, null, 512));
|
|
8301
8304
|
}
|
|
8302
|
-
}),
|
|
8305
|
+
}), Xp = /* @__PURE__ */ ie(Gp, [["__scopeId", "data-v-89156246"]]), Qp = { class: "map-center-control" }, Jp = /* @__PURE__ */ ne({
|
|
8303
8306
|
__name: "MapCenterControl",
|
|
8304
8307
|
props: {
|
|
8305
8308
|
center: {},
|
|
@@ -8361,7 +8364,7 @@ const gd = {
|
|
|
8361
8364
|
})(), g = o.value ?? f.getZoom();
|
|
8362
8365
|
f.flyTo({ center: c, zoom: g });
|
|
8363
8366
|
}
|
|
8364
|
-
return (f, c) => (m(), b("div",
|
|
8367
|
+
return (f, c) => (m(), b("div", Qp, [
|
|
8365
8368
|
s("button", {
|
|
8366
8369
|
id: "center-btn",
|
|
8367
8370
|
type: "button",
|
|
@@ -8377,17 +8380,17 @@ const gd = {
|
|
|
8377
8380
|
])
|
|
8378
8381
|
]));
|
|
8379
8382
|
}
|
|
8380
|
-
}),
|
|
8383
|
+
}), ev = /* @__PURE__ */ ie(Jp, [["__scopeId", "data-v-d21bee3d"]]), tv = { class: "cursor-coordinates" }, nv = { class: "cursor-coordinates__text" }, rv = /* @__PURE__ */ ne({
|
|
8381
8384
|
__name: "MapCursorCoordinates",
|
|
8382
8385
|
props: {
|
|
8383
8386
|
coordinates: {}
|
|
8384
8387
|
},
|
|
8385
8388
|
setup(e) {
|
|
8386
|
-
return (t, n) => (m(), b("div",
|
|
8387
|
-
s("span",
|
|
8389
|
+
return (t, n) => (m(), b("div", tv, [
|
|
8390
|
+
s("span", nv, B(e.coordinates), 1)
|
|
8388
8391
|
]));
|
|
8389
8392
|
}
|
|
8390
|
-
}),
|
|
8393
|
+
}), ov = /* @__PURE__ */ ie(rv, [["__scopeId", "data-v-334315d9"]]), lv = { class: "minimap__wrapper" }, wt = "minimap-viewport", iv = "minimap-viewport-layer", sv = /* @__PURE__ */ ne({
|
|
8391
8394
|
__name: "MapMiniMap",
|
|
8392
8395
|
props: {
|
|
8393
8396
|
mapContext: {},
|
|
@@ -8489,7 +8492,7 @@ const gd = {
|
|
|
8489
8492
|
properties: {}
|
|
8490
8493
|
}
|
|
8491
8494
|
}), r.value.addLayer({
|
|
8492
|
-
id:
|
|
8495
|
+
id: iv,
|
|
8493
8496
|
type: "fill",
|
|
8494
8497
|
source: wt,
|
|
8495
8498
|
paint: {
|
|
@@ -8605,7 +8608,7 @@ const gd = {
|
|
|
8605
8608
|
]),
|
|
8606
8609
|
re(Gt, { name: "minimap-slide" }, {
|
|
8607
8610
|
default: we(() => [
|
|
8608
|
-
Me(s("div",
|
|
8611
|
+
Me(s("div", lv, [
|
|
8609
8612
|
s("div", {
|
|
8610
8613
|
ref_key: "minimapRoot",
|
|
8611
8614
|
ref: n,
|
|
@@ -8621,26 +8624,26 @@ const gd = {
|
|
|
8621
8624
|
})
|
|
8622
8625
|
], 2));
|
|
8623
8626
|
}
|
|
8624
|
-
}),
|
|
8627
|
+
}), av = /* @__PURE__ */ ie(sv, [["__scopeId", "data-v-3ce09bde"]]), uv = {
|
|
8625
8628
|
key: 1,
|
|
8626
8629
|
class: "absolute bottom-4 right-4 z-[80] flex items-end gap-2"
|
|
8627
|
-
},
|
|
8630
|
+
}, cv = { class: "absolute top-[103px] right-[6.5px] z-[80] flex flex-col items-end gap-1" }, dv = { class: "map-widget__overlay-grid" }, fv = {
|
|
8628
8631
|
key: 0,
|
|
8629
8632
|
id: "map-filter-popover-host",
|
|
8630
8633
|
class: "map-widget__filter-host"
|
|
8631
|
-
},
|
|
8634
|
+
}, pv = {
|
|
8632
8635
|
key: 1,
|
|
8633
8636
|
class: "map-widget__stack-wrapper map-widget__stack-wrapper--top"
|
|
8634
|
-
},
|
|
8637
|
+
}, vv = { class: "map-widget__stack" }, mv = {
|
|
8635
8638
|
key: 2,
|
|
8636
8639
|
class: "map-widget__stack-wrapper map-widget__stack-wrapper--bottom mb-5"
|
|
8637
|
-
},
|
|
8640
|
+
}, gv = { class: "map-widget__stack map-widget__stack--bottom" }, hv = {
|
|
8638
8641
|
key: 0,
|
|
8639
8642
|
class: "map-widget__state"
|
|
8640
|
-
},
|
|
8643
|
+
}, yv = {
|
|
8641
8644
|
key: 1,
|
|
8642
8645
|
class: "map-widget__state map-widget__state--error"
|
|
8643
|
-
},
|
|
8646
|
+
}, xv = /* @__PURE__ */ ne({
|
|
8644
8647
|
__name: "MapWidget",
|
|
8645
8648
|
props: {
|
|
8646
8649
|
id: {},
|
|
@@ -8845,33 +8848,33 @@ const gd = {
|
|
|
8845
8848
|
boundary: h.value.boundary,
|
|
8846
8849
|
katottg: h.value.katottg
|
|
8847
8850
|
}, null, 8, ["boundary", "katottg"])) : H("", !0),
|
|
8848
|
-
k.value ? (m(), b("div",
|
|
8849
|
-
_.value ? (m(), Q(
|
|
8851
|
+
k.value ? (m(), b("div", uv, [
|
|
8852
|
+
_.value ? (m(), Q(ov, {
|
|
8850
8853
|
key: 0,
|
|
8851
8854
|
coordinates: _.value
|
|
8852
8855
|
}, null, 8, ["coordinates"])) : H("", !0),
|
|
8853
|
-
re(
|
|
8856
|
+
re(av, {
|
|
8854
8857
|
"map-context": k.value,
|
|
8855
8858
|
options: F.value
|
|
8856
8859
|
}, null, 8, ["map-context", "options"])
|
|
8857
8860
|
])) : H("", !0),
|
|
8858
|
-
s("div",
|
|
8859
|
-
c.value.includes("home") ? (m(), Q(
|
|
8861
|
+
s("div", cv, [
|
|
8862
|
+
c.value.includes("home") ? (m(), Q(ev, {
|
|
8860
8863
|
key: 0,
|
|
8861
8864
|
center: ((oe = o.value) == null ? void 0 : oe.center) || null,
|
|
8862
8865
|
zoom: ((ue = o.value) == null ? void 0 : ue.zoom) ?? null
|
|
8863
8866
|
}, null, 8, ["center", "zoom"])) : H("", !0),
|
|
8864
|
-
c.value.includes("print") ? (m(), Q(
|
|
8867
|
+
c.value.includes("print") ? (m(), Q(Xp, { key: 1 })) : H("", !0)
|
|
8865
8868
|
]),
|
|
8866
8869
|
f.value ? (m(), b(q, { key: 2 }, [
|
|
8867
|
-
s("div",
|
|
8870
|
+
s("div", dv, [
|
|
8868
8871
|
(m(), b(q, null, J(L, (ee) => s("div", {
|
|
8869
8872
|
key: ee,
|
|
8870
8873
|
class: pe(["map-widget__side", `map-widget__side--${ee}`])
|
|
8871
8874
|
}, [
|
|
8872
|
-
ee === "left" ? (m(), b("div",
|
|
8873
|
-
$.value[ee].top.length ? (m(), b("div",
|
|
8874
|
-
s("div",
|
|
8875
|
+
ee === "left" ? (m(), b("div", fv)) : H("", !0),
|
|
8876
|
+
$.value[ee].top.length ? (m(), b("div", pv, [
|
|
8877
|
+
s("div", vv, [
|
|
8875
8878
|
(m(!0), b(q, null, J($.value[ee].top, (W) => {
|
|
8876
8879
|
var Ee, Oe, ze, Fe, Re, qe, ct, dt;
|
|
8877
8880
|
return Me((m(), b("div", {
|
|
@@ -8918,8 +8921,8 @@ const gd = {
|
|
|
8918
8921
|
}), 128))
|
|
8919
8922
|
])
|
|
8920
8923
|
])) : H("", !0),
|
|
8921
|
-
$.value[ee].bottom.length ? (m(), b("div",
|
|
8922
|
-
s("div",
|
|
8924
|
+
$.value[ee].bottom.length ? (m(), b("div", mv, [
|
|
8925
|
+
s("div", gv, [
|
|
8923
8926
|
(m(!0), b(q, null, J($.value[ee].bottom, (W) => {
|
|
8924
8927
|
var Ee, Oe, ze, Fe, Re, qe, ct, dt;
|
|
8925
8928
|
return Me((m(), b("div", {
|
|
@@ -8975,19 +8978,19 @@ const gd = {
|
|
|
8975
8978
|
}),
|
|
8976
8979
|
_: 1
|
|
8977
8980
|
}, 512),
|
|
8978
|
-
i.value ? (m(), b("div",
|
|
8981
|
+
i.value ? (m(), b("div", hv, "Завантаження карти…")) : u.value ? (m(), b("div", yv, B(u.value), 1)) : H("", !0)
|
|
8979
8982
|
], 4));
|
|
8980
8983
|
}
|
|
8981
|
-
}),
|
|
8982
|
-
function
|
|
8983
|
-
e.component("MapCustom",
|
|
8984
|
+
}), bv = /* @__PURE__ */ ie(xv, [["__scopeId", "data-v-6e34dcde"]]);
|
|
8985
|
+
function Av(e) {
|
|
8986
|
+
e.component("MapCustom", bv);
|
|
8984
8987
|
}
|
|
8985
8988
|
export {
|
|
8986
|
-
|
|
8987
|
-
|
|
8988
|
-
|
|
8989
|
-
|
|
8990
|
-
|
|
8989
|
+
bv as MapWidget,
|
|
8990
|
+
$v as Register,
|
|
8991
|
+
Cv as Service,
|
|
8992
|
+
bv as default,
|
|
8993
|
+
Av as install,
|
|
8991
8994
|
Ql as template1,
|
|
8992
8995
|
fi as template2,
|
|
8993
8996
|
Ai as template3,
|