@opengis/gis 0.2.27 → 0.2.29
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.css +1 -1
- package/dist/index.js +163 -159
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2244,7 +2244,7 @@ const Ui = { class: "flex justify-between p-4 pb-2 bg-slate-50 gap-4" }, qi = {
|
|
|
2244
2244
|
}, null, 8, ["items", "columns"])) : d.value.length ? (m(), _("div", ba, " Додайте колонки та виберіть вигляд для перегляду ")) : (m(), _("div", xa, " Немає даних для превʼю "))
|
|
2245
2245
|
]));
|
|
2246
2246
|
}
|
|
2247
|
-
}), wa = { class: "relative h-screen flex flex-col bg-white p-8" }, ka = { class: "flex-1 flex flex-col min-h-0 overflow-hidden" }, $a = { class: "max-w-6xl mx-auto flex-1 flex flex-col min-h-0 w-full" }, Ca = { class: "flex items-center justify-between mb-6 flex-shrink-0" }, Aa = { class: "flex items-center gap-2" }, La = { class: "w-full flex-shrink-0 mb-6" }, Sa = { 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" }, Ea = ["onClick"], Fa = { class: "flex-1 min-h-0 overflow-y-auto" },
|
|
2247
|
+
}), wa = { class: "relative h-screen flex flex-col bg-white p-8" }, ka = { class: "flex-1 flex flex-col min-h-0 overflow-hidden" }, $a = { class: "max-w-6xl mx-auto flex-1 flex flex-col min-h-0 w-full" }, Ca = { class: "flex items-center justify-between mb-6 flex-shrink-0" }, Aa = { class: "flex items-center gap-2" }, La = { class: "w-full flex-shrink-0 mb-6" }, Sa = { 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" }, Ea = ["onClick"], Fa = { class: "flex-1 min-h-0 overflow-y-auto" }, Um = /* @__PURE__ */ ue({
|
|
2248
2248
|
__name: "register",
|
|
2249
2249
|
setup(e) {
|
|
2250
2250
|
const t = Lt(), n = St(), r = N("list"), o = N(""), l = [
|
|
@@ -6622,7 +6622,7 @@ const Cf = {
|
|
|
6622
6622
|
{ immediate: !0 }
|
|
6623
6623
|
), ye(i), (c, g) => null;
|
|
6624
6624
|
}
|
|
6625
|
-
}), ep = { class: "flex h-screen bg-gradient-to-br from-slate-50 to-white" }, tp = { class: "flex-1 relative overflow-hidden" }, np = { class: "absolute top-0 left-0 w-full z-20" }, rp = { class: "flex items-center justify-between bg-white/80 backdrop-blur border-b border-gray-200 px-6 py-3 shadow-sm gap-4" }, op = { class: "flex items-center gap-3" }, lp = { class: "font-semibold text-lg text-gray-800 line-clamp-1" }, ip = { class: "text-xs text-gray-500 truncate" }, sp = ["title"], ap = { 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]" }, up = { class: "relative w-full h-full" }, cp = { style: { top: "17px", left: "230px", position: "absolute", "z-index": "1" } }, dp = { class: "absolute top-4 left-4 z-20" }, fp = { class: "absolute bottom-4 left-4 z-20" }, pp = { class: "w-[650px] bg-white border-l border-gray-100 flex flex-col overflow-hidden shadow-lg" }, vp = { class: "flex-1 flex flex-col h-full" }, mp = { class: "px-3 pt-3 pb-2 border-b border-gray-100" }, gp = { 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" }, hp = ["aria-selected", "onClick"], yp = { class: "leading-none" }, xp = { class: "flex flex-col flex-1 overflow-y-hidden p-3" },
|
|
6625
|
+
}), ep = { class: "flex h-screen bg-gradient-to-br from-slate-50 to-white" }, tp = { class: "flex-1 relative overflow-hidden" }, np = { class: "absolute top-0 left-0 w-full z-20" }, rp = { class: "flex items-center justify-between bg-white/80 backdrop-blur border-b border-gray-200 px-6 py-3 shadow-sm gap-4" }, op = { class: "flex items-center gap-3" }, lp = { class: "font-semibold text-lg text-gray-800 line-clamp-1" }, ip = { class: "text-xs text-gray-500 truncate" }, sp = ["title"], ap = { 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]" }, up = { class: "relative w-full h-full" }, cp = { style: { top: "17px", left: "230px", position: "absolute", "z-index": "1" } }, dp = { class: "absolute top-4 left-4 z-20" }, fp = { class: "absolute bottom-4 left-4 z-20" }, pp = { class: "w-[650px] bg-white border-l border-gray-100 flex flex-col overflow-hidden shadow-lg" }, vp = { class: "flex-1 flex flex-col h-full" }, mp = { class: "px-3 pt-3 pb-2 border-b border-gray-100" }, gp = { 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" }, hp = ["aria-selected", "onClick"], yp = { class: "leading-none" }, xp = { class: "flex flex-col flex-1 overflow-y-hidden p-3" }, bp = /* @__PURE__ */ ue({
|
|
6626
6626
|
__name: "service",
|
|
6627
6627
|
setup(e) {
|
|
6628
6628
|
var q, P;
|
|
@@ -6791,6 +6791,10 @@ const Cf = {
|
|
|
6791
6791
|
filters: c.value
|
|
6792
6792
|
}, null, 8, ["layer-id", "filters"])) : Z("", !0)
|
|
6793
6793
|
]),
|
|
6794
|
+
C[10] || (C[10] = s("div", {
|
|
6795
|
+
id: "map-filter-popover-host",
|
|
6796
|
+
class: "map-widget__filter-host"
|
|
6797
|
+
}, null, -1)),
|
|
6794
6798
|
s("div", dp, [
|
|
6795
6799
|
ie(_n)
|
|
6796
6800
|
]),
|
|
@@ -6870,7 +6874,7 @@ const Cf = {
|
|
|
6870
6874
|
]);
|
|
6871
6875
|
};
|
|
6872
6876
|
}
|
|
6873
|
-
}), bp = { class: "mapLayer-info__inner" },
|
|
6877
|
+
}), qm = /* @__PURE__ */ ce(bp, [["__scopeId", "data-v-392e1bd1"]]), _p = { class: "mapLayer-info__inner" }, wp = { class: "mapLayer-info__item-label" }, kp = /* @__PURE__ */ ue({
|
|
6874
6878
|
__name: "MapLayerInfoPopover",
|
|
6875
6879
|
props: {
|
|
6876
6880
|
items: {}
|
|
@@ -6963,12 +6967,12 @@ const Cf = {
|
|
|
6963
6967
|
onClick: h[0] || (h[0] = Ue(() => {
|
|
6964
6968
|
}, ["stop"]))
|
|
6965
6969
|
}, [
|
|
6966
|
-
s("div",
|
|
6970
|
+
s("div", _p, [
|
|
6967
6971
|
(m(!0), _(K, null, oe(e.items, (y) => (m(), _("div", {
|
|
6968
6972
|
key: y.label,
|
|
6969
6973
|
class: "mapLayer-info__item"
|
|
6970
6974
|
}, [
|
|
6971
|
-
s("div",
|
|
6975
|
+
s("div", wp, H(y.label), 1),
|
|
6972
6976
|
s("div", {
|
|
6973
6977
|
class: xe(["mapLayer-info__item-value", { "mapLayer-info__item-value--break-all": y.breakLine }])
|
|
6974
6978
|
}, H(y.value ?? "—"), 3)
|
|
@@ -6978,16 +6982,16 @@ const Cf = {
|
|
|
6978
6982
|
]))
|
|
6979
6983
|
], 512));
|
|
6980
6984
|
}
|
|
6981
|
-
}), Mn = /* @__PURE__ */ ce(
|
|
6985
|
+
}), Mn = /* @__PURE__ */ ce(kp, [["__scopeId", "data-v-e7d532ad"]]), $p = {
|
|
6982
6986
|
key: 0,
|
|
6983
6987
|
class: "map-info__header"
|
|
6984
|
-
},
|
|
6988
|
+
}, Cp = {
|
|
6985
6989
|
key: 0,
|
|
6986
6990
|
class: "map-info__title"
|
|
6987
|
-
},
|
|
6991
|
+
}, Ap = { class: "map-info__actions" }, Lp = {
|
|
6988
6992
|
key: 0,
|
|
6989
6993
|
class: "map-info__menu"
|
|
6990
|
-
},
|
|
6994
|
+
}, Sp = ["onClick"], Ep = ["innerHTML"], Fp = /* @__PURE__ */ ue({
|
|
6991
6995
|
__name: "MapInfoWidget",
|
|
6992
6996
|
props: {
|
|
6993
6997
|
title: {},
|
|
@@ -7042,10 +7046,10 @@ const Cf = {
|
|
|
7042
7046
|
ref_key: "container",
|
|
7043
7047
|
ref: n
|
|
7044
7048
|
}, [
|
|
7045
|
-
e.title || u.value.length || d.value.length ? (m(), _("div",
|
|
7046
|
-
e.title ? (m(), _("h2",
|
|
7047
|
-
s("div",
|
|
7048
|
-
u.value.length ? (m(), _("div",
|
|
7049
|
+
e.title || u.value.length || d.value.length ? (m(), _("div", $p, [
|
|
7050
|
+
e.title ? (m(), _("h2", Cp, H(e.title), 1)) : Z("", !0),
|
|
7051
|
+
s("div", Ap, [
|
|
7052
|
+
u.value.length ? (m(), _("div", Lp, [
|
|
7049
7053
|
s("button", {
|
|
7050
7054
|
ref_key: "menuButton",
|
|
7051
7055
|
ref: o,
|
|
@@ -7094,7 +7098,7 @@ const Cf = {
|
|
|
7094
7098
|
type: "button",
|
|
7095
7099
|
class: "map-info__popover-link",
|
|
7096
7100
|
onClick: (y) => p(h.slug)
|
|
7097
|
-
}, H(h.name), 9,
|
|
7101
|
+
}, H(h.name), 9, Sp))), 128))
|
|
7098
7102
|
], 4)) : Z("", !0)
|
|
7099
7103
|
]))
|
|
7100
7104
|
])) : Z("", !0),
|
|
@@ -7108,10 +7112,10 @@ const Cf = {
|
|
|
7108
7112
|
key: 1,
|
|
7109
7113
|
class: "map-info__content",
|
|
7110
7114
|
innerHTML: e.content
|
|
7111
|
-
}, null, 8,
|
|
7115
|
+
}, null, 8, Ep)) : Z("", !0)
|
|
7112
7116
|
], 512));
|
|
7113
7117
|
}
|
|
7114
|
-
}), or = /* @__PURE__ */ ce(
|
|
7118
|
+
}), or = /* @__PURE__ */ ce(Fp, [["__scopeId", "data-v-2b3e43a7"]]), Mp = { class: "opacity-popover__content" }, Tp = { class: "opacity-popover__value" }, Ip = /* @__PURE__ */ ue({
|
|
7115
7119
|
__name: "LayerOpacityPopover",
|
|
7116
7120
|
props: {
|
|
7117
7121
|
layerId: {}
|
|
@@ -7188,7 +7192,7 @@ const Cf = {
|
|
|
7188
7192
|
class: "opacity-popover",
|
|
7189
7193
|
style: Ve({ top: i.top + "px", left: i.left + "px" })
|
|
7190
7194
|
}, [
|
|
7191
|
-
s("div",
|
|
7195
|
+
s("div", Mp, [
|
|
7192
7196
|
v[1] || (v[1] = s("label", { class: "opacity-popover__label" }, "Прозорість:", -1)),
|
|
7193
7197
|
Xe(s("input", {
|
|
7194
7198
|
type: "range",
|
|
@@ -7201,19 +7205,19 @@ const Cf = {
|
|
|
7201
7205
|
}, null, 544), [
|
|
7202
7206
|
[$t, r.value]
|
|
7203
7207
|
]),
|
|
7204
|
-
s("span",
|
|
7208
|
+
s("span", Tp, H(r.value) + "%", 1)
|
|
7205
7209
|
])
|
|
7206
7210
|
], 4)) : Z("", !0)
|
|
7207
7211
|
]))
|
|
7208
7212
|
], 512));
|
|
7209
7213
|
}
|
|
7210
|
-
}), uo = /* @__PURE__ */ ce(
|
|
7214
|
+
}), uo = /* @__PURE__ */ ce(Ip, [["__scopeId", "data-v-e53d97ef"]]), jp = { class: "layers-panel" }, Op = { class: "layers-panel__header" }, Np = { class: "layers-panel__heading" }, zp = { class: "layers-panel__title" }, Pp = {
|
|
7211
7215
|
key: 0,
|
|
7212
7216
|
class: "layers-panel__description"
|
|
7213
|
-
},
|
|
7217
|
+
}, Dp = { class: "layers-panel__label" }, Rp = ["checked", "onChange"], Bp = { class: "layers-panel__name" }, Vp = { class: "layers-panel__meta text-slate-500" }, Up = ["onClick"], qp = { class: "inline-flex items-center justify-center w-[18px] h-[18px] text-slate-500 transition-colors duration-200 hover:text-blue-700" }, Hp = {
|
|
7214
7218
|
key: 0,
|
|
7215
7219
|
class: "layers-panel__actions"
|
|
7216
|
-
},
|
|
7220
|
+
}, Yp = ["innerHTML", "onClick"], lr = "map:temporary-layer-request", Wp = /* @__PURE__ */ ue({
|
|
7217
7221
|
__name: "MapDataLayersWidget",
|
|
7218
7222
|
props: {
|
|
7219
7223
|
layers: {},
|
|
@@ -7398,11 +7402,11 @@ const Cf = {
|
|
|
7398
7402
|
}
|
|
7399
7403
|
return (x, I) => {
|
|
7400
7404
|
var F, B;
|
|
7401
|
-
return m(), _("div",
|
|
7402
|
-
s("div",
|
|
7403
|
-
s("div",
|
|
7404
|
-
s("h2",
|
|
7405
|
-
(B = e.config) != null && B.description ? (m(), _("div",
|
|
7405
|
+
return m(), _("div", jp, [
|
|
7406
|
+
s("div", Op, [
|
|
7407
|
+
s("div", Np, [
|
|
7408
|
+
s("h2", zp, H(((F = e.config) == null ? void 0 : F.title) || "Шари"), 1),
|
|
7409
|
+
(B = e.config) != null && B.description ? (m(), _("div", Pp, [
|
|
7406
7410
|
s("p", null, H(e.config.description), 1)
|
|
7407
7411
|
])) : Z("", !0)
|
|
7408
7412
|
]),
|
|
@@ -7419,15 +7423,15 @@ const Cf = {
|
|
|
7419
7423
|
key: V.id,
|
|
7420
7424
|
class: "layers-panel__item"
|
|
7421
7425
|
}, [
|
|
7422
|
-
s("label",
|
|
7426
|
+
s("label", Dp, [
|
|
7423
7427
|
s("input", {
|
|
7424
7428
|
type: "checkbox",
|
|
7425
7429
|
class: "layers-panel__checkbox",
|
|
7426
7430
|
checked: g(V.id),
|
|
7427
7431
|
onChange: (P) => k(V, P)
|
|
7428
|
-
}, null, 40,
|
|
7429
|
-
s("span",
|
|
7430
|
-
s("div",
|
|
7432
|
+
}, null, 40, Rp),
|
|
7433
|
+
s("span", Bp, H(V.name), 1),
|
|
7434
|
+
s("div", Vp, [
|
|
7431
7435
|
g(V.id) && !V.isTemporary ? (m(), _(K, { key: 0 }, [
|
|
7432
7436
|
ie(uo, {
|
|
7433
7437
|
"layer-id": V.id,
|
|
@@ -7438,10 +7442,10 @@ const Cf = {
|
|
|
7438
7442
|
class: "inline-flex items-center justify-center p-0 text-inherit no-underline cursor-pointer",
|
|
7439
7443
|
onClick: Ue(P, ["prevent", "stop"])
|
|
7440
7444
|
}, [
|
|
7441
|
-
s("div",
|
|
7445
|
+
s("div", qp, [
|
|
7442
7446
|
ie(ae(Eo))
|
|
7443
7447
|
])
|
|
7444
|
-
], 8,
|
|
7448
|
+
], 8, Up)
|
|
7445
7449
|
]),
|
|
7446
7450
|
_: 1
|
|
7447
7451
|
}, 8, ["layer-id"]),
|
|
@@ -7455,21 +7459,21 @@ const Cf = {
|
|
|
7455
7459
|
}, null, 8, ["items"])
|
|
7456
7460
|
])
|
|
7457
7461
|
]),
|
|
7458
|
-
(q = V.actions) != null && q.length ? (m(), _("div",
|
|
7462
|
+
(q = V.actions) != null && q.length ? (m(), _("div", Hp, [
|
|
7459
7463
|
(m(!0), _(K, null, oe(V.actions, (P) => (m(), _("button", {
|
|
7460
7464
|
key: P.widget || P.id || P.icon,
|
|
7461
7465
|
type: "button",
|
|
7462
7466
|
class: "layers-panel__action",
|
|
7463
7467
|
innerHTML: P.icon,
|
|
7464
7468
|
onClick: (j) => a("action", { layerId: P.widget })
|
|
7465
|
-
}, null, 8,
|
|
7469
|
+
}, null, 8, Yp))), 128))
|
|
7466
7470
|
])) : Z("", !0)
|
|
7467
7471
|
]);
|
|
7468
7472
|
}), 128))
|
|
7469
7473
|
]);
|
|
7470
7474
|
};
|
|
7471
7475
|
}
|
|
7472
|
-
}), ir = /* @__PURE__ */ ce(
|
|
7476
|
+
}), ir = /* @__PURE__ */ ce(Wp, [["__scopeId", "data-v-108d6706"]]), Zp = { class: "catalog-tab__search relative mt-[10px]" }, Kp = {
|
|
7473
7477
|
width: "24",
|
|
7474
7478
|
height: "24",
|
|
7475
7479
|
viewBox: "0 0 24 24",
|
|
@@ -7477,10 +7481,10 @@ const Cf = {
|
|
|
7477
7481
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7478
7482
|
class: "absolute top-[40%] left-[8px] w-[16px] h-[16px]",
|
|
7479
7483
|
style: { transform: "translate(0, -50%)" }
|
|
7480
|
-
},
|
|
7484
|
+
}, Gp = {
|
|
7481
7485
|
key: 0,
|
|
7482
7486
|
class: "text-sm text-gray-400 text-center mt-6"
|
|
7483
|
-
},
|
|
7487
|
+
}, Xp = ["onClick"], Jp = { class: "flex items-center gap-x-3" }, Qp = { class: "max-w-[260px] text-[14px] text-[#4b5563]" }, ev = { class: "text-xs opacity-60 text-[#4b5563]" }, tv = { class: "flex items-center cursor-pointer gap-2 flex-1" }, nv = ["checked", "onChange"], rv = { class: "text-[13px] text-gray-600 truncate max-w-[260px]" }, ov = { class: "flex items-center gap-2" }, lv = /* @__PURE__ */ ue({
|
|
7484
7488
|
__name: "LayersCatalogTab",
|
|
7485
7489
|
props: {
|
|
7486
7490
|
catalog: {},
|
|
@@ -7551,7 +7555,7 @@ const Cf = {
|
|
|
7551
7555
|
ref: l,
|
|
7552
7556
|
class: "catalog-tab"
|
|
7553
7557
|
}, [
|
|
7554
|
-
s("div",
|
|
7558
|
+
s("div", Zp, [
|
|
7555
7559
|
Xe(s("input", {
|
|
7556
7560
|
"onUpdate:modelValue": y[0] || (y[0] = (b) => f.value = b),
|
|
7557
7561
|
type: "text",
|
|
@@ -7560,7 +7564,7 @@ const Cf = {
|
|
|
7560
7564
|
}, null, 512), [
|
|
7561
7565
|
[$t, f.value]
|
|
7562
7566
|
]),
|
|
7563
|
-
(m(), _("svg",
|
|
7567
|
+
(m(), _("svg", Kp, [...y[1] || (y[1] = [
|
|
7564
7568
|
s("path", {
|
|
7565
7569
|
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",
|
|
7566
7570
|
stroke: "black",
|
|
@@ -7575,7 +7579,7 @@ const Cf = {
|
|
|
7575
7579
|
}, null, -1)
|
|
7576
7580
|
])]))
|
|
7577
7581
|
]),
|
|
7578
|
-
u.value.length === 0 ? (m(), _("div",
|
|
7582
|
+
u.value.length === 0 ? (m(), _("div", Gp, " Нічого не знайдено ")) : Z("", !0),
|
|
7579
7583
|
(m(!0), _(K, null, oe(u.value, (b) => (m(), _("div", {
|
|
7580
7584
|
key: b.id,
|
|
7581
7585
|
class: "mt-2"
|
|
@@ -7584,7 +7588,7 @@ const Cf = {
|
|
|
7584
7588
|
class: "hover:bg-gray-100 cursor-pointer p-[8px] rounded-lg flex justify-between items-center",
|
|
7585
7589
|
onClick: (k) => d(b.id)
|
|
7586
7590
|
}, [
|
|
7587
|
-
s("div",
|
|
7591
|
+
s("div", Jp, [
|
|
7588
7592
|
(m(), _("svg", {
|
|
7589
7593
|
width: "6",
|
|
7590
7594
|
height: "10",
|
|
@@ -7600,10 +7604,10 @@ const Cf = {
|
|
|
7600
7604
|
"stroke-linejoin": "round"
|
|
7601
7605
|
}, null, -1)
|
|
7602
7606
|
])], 2)),
|
|
7603
|
-
s("div",
|
|
7607
|
+
s("div", Qp, H(b.name), 1)
|
|
7604
7608
|
]),
|
|
7605
|
-
s("div",
|
|
7606
|
-
], 8,
|
|
7609
|
+
s("div", ev, H(b.layers.length), 1)
|
|
7610
|
+
], 8, Xp),
|
|
7607
7611
|
ie(kn, { name: "out-in" }, {
|
|
7608
7612
|
default: Oe(() => [
|
|
7609
7613
|
Xe(s("div", null, [
|
|
@@ -7611,13 +7615,13 @@ const Cf = {
|
|
|
7611
7615
|
key: k.id,
|
|
7612
7616
|
class: "hover:bg-gray-100 rounded-lg flex items-center justify-between ml-[20px] py-[8px] px-[8px] gap-3"
|
|
7613
7617
|
}, [
|
|
7614
|
-
s("label",
|
|
7618
|
+
s("label", tv, [
|
|
7615
7619
|
s("input", {
|
|
7616
7620
|
type: "checkbox",
|
|
7617
7621
|
class: "peer hidden",
|
|
7618
7622
|
checked: e.selected.includes(k.id),
|
|
7619
7623
|
onChange: (A) => h.$emit("toggle-layer", k.id, A.target.checked, k)
|
|
7620
|
-
}, null, 40,
|
|
7624
|
+
}, null, 40, nv),
|
|
7621
7625
|
y[3] || (y[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" }, [
|
|
7622
7626
|
s("svg", {
|
|
7623
7627
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -7634,9 +7638,9 @@ const Cf = {
|
|
|
7634
7638
|
})
|
|
7635
7639
|
])
|
|
7636
7640
|
], -1)),
|
|
7637
|
-
s("span",
|
|
7641
|
+
s("span", rv, H(k.name), 1)
|
|
7638
7642
|
]),
|
|
7639
|
-
s("div",
|
|
7643
|
+
s("div", ov, [
|
|
7640
7644
|
Array.isArray(k.filters) && k.filters.length ? (m(), ne(en, {
|
|
7641
7645
|
key: 0,
|
|
7642
7646
|
count: k.filters.length,
|
|
@@ -7671,7 +7675,7 @@ const Cf = {
|
|
|
7671
7675
|
]))
|
|
7672
7676
|
], 512));
|
|
7673
7677
|
}
|
|
7674
|
-
}),
|
|
7678
|
+
}), iv = /* @__PURE__ */ ce(lv, [["__scopeId", "data-v-1df2b104"]]), sv = { class: "flex flex-col gap-0" }, av = { class: "text-xs text-slate-600 font-semibold" }, uv = /* @__PURE__ */ ue({
|
|
7675
7679
|
__name: "MapLayerPopover",
|
|
7676
7680
|
props: {
|
|
7677
7681
|
items: {}
|
|
@@ -7766,12 +7770,12 @@ const Cf = {
|
|
|
7766
7770
|
onClick: h[0] || (h[0] = Ue(() => {
|
|
7767
7771
|
}, ["stop"]))
|
|
7768
7772
|
}, [
|
|
7769
|
-
s("div",
|
|
7773
|
+
s("div", sv, [
|
|
7770
7774
|
(m(!0), _(K, null, oe(e.items, (y) => (m(), _("div", {
|
|
7771
7775
|
key: y.label,
|
|
7772
7776
|
class: "grid grid-cols-[120px_1fr] gap-3 items-start py-1.5 border-b border-slate-200 last:border-b-0"
|
|
7773
7777
|
}, [
|
|
7774
|
-
s("div",
|
|
7778
|
+
s("div", av, H(y.label), 1),
|
|
7775
7779
|
s("div", {
|
|
7776
7780
|
class: xe(["text-sm text-gray-800", { "break-all": y.breakLine }])
|
|
7777
7781
|
}, H(y.value ?? "—"), 3)
|
|
@@ -7781,10 +7785,10 @@ const Cf = {
|
|
|
7781
7785
|
]))
|
|
7782
7786
|
], 512));
|
|
7783
7787
|
}
|
|
7784
|
-
}),
|
|
7788
|
+
}), cv = { class: "selected-tab" }, dv = { class: "selected-tab__actions" }, fv = {
|
|
7785
7789
|
key: 0,
|
|
7786
7790
|
class: "selected-tab__scroll"
|
|
7787
|
-
},
|
|
7791
|
+
}, pv = ["onDragstart", "onDragover", "onDrop"], vv = { class: "selected-tab__item-header" }, mv = { class: "selected-tab__item-info" }, gv = ["checked", "onChange"], hv = { class: "selected-tab__item-name" }, yv = { class: "selected-tab__item-controls" }, xv = ["onClick"], bv = { class: "selected-tab__menu-inner" }, _v = /* @__PURE__ */ ue({
|
|
7788
7792
|
__name: "LayersSelectedTab",
|
|
7789
7793
|
props: {
|
|
7790
7794
|
catalog: {},
|
|
@@ -7918,8 +7922,8 @@ const Cf = {
|
|
|
7918
7922
|
{ label: "Фільтри", value: O(Fe, "фільтрів") }
|
|
7919
7923
|
];
|
|
7920
7924
|
}
|
|
7921
|
-
return (L, E) => (m(), _("div",
|
|
7922
|
-
s("div",
|
|
7925
|
+
return (L, E) => (m(), _("div", cv, [
|
|
7926
|
+
s("div", dv, [
|
|
7923
7927
|
s("button", {
|
|
7924
7928
|
class: "selected-tab__add",
|
|
7925
7929
|
onClick: E[0] || (E[0] = (z) => r("select-layer"))
|
|
@@ -7942,7 +7946,7 @@ const Cf = {
|
|
|
7942
7946
|
s("span", null, "Вибрати шар", -1)
|
|
7943
7947
|
])])
|
|
7944
7948
|
]),
|
|
7945
|
-
e.selected.length ? (m(), _("div",
|
|
7949
|
+
e.selected.length ? (m(), _("div", fv, [
|
|
7946
7950
|
s("div", null, [
|
|
7947
7951
|
(m(!0), _(K, null, oe(e.selected, (z, Y) => {
|
|
7948
7952
|
var X;
|
|
@@ -7958,18 +7962,18 @@ const Cf = {
|
|
|
7958
7962
|
onDrop: (G) => j(G, Y),
|
|
7959
7963
|
onDragend: C
|
|
7960
7964
|
}, [
|
|
7961
|
-
s("div",
|
|
7962
|
-
s("div",
|
|
7965
|
+
s("div", vv, [
|
|
7966
|
+
s("div", mv, [
|
|
7963
7967
|
E[4] || (E[4] = s("span", { class: "selected-tab__item-handle" }, "☰", -1)),
|
|
7964
7968
|
s("input", {
|
|
7965
7969
|
type: "checkbox",
|
|
7966
7970
|
class: "selected-tab__item-checkbox",
|
|
7967
7971
|
checked: p[z] ?? !0,
|
|
7968
7972
|
onChange: (G) => h(z, G.target.checked)
|
|
7969
|
-
}, null, 40,
|
|
7970
|
-
s("span",
|
|
7973
|
+
}, null, 40, gv),
|
|
7974
|
+
s("span", hv, H(((X = c(z)) == null ? void 0 : X.name) || "Шар"), 1)
|
|
7971
7975
|
]),
|
|
7972
|
-
s("div",
|
|
7976
|
+
s("div", yv, [
|
|
7973
7977
|
ie(uo, { "layer-id": z }, null, 8, ["layer-id"]),
|
|
7974
7978
|
s("button", {
|
|
7975
7979
|
type: "button",
|
|
@@ -8006,10 +8010,10 @@ const Cf = {
|
|
|
8006
8010
|
r: "1"
|
|
8007
8011
|
})
|
|
8008
8012
|
], -1)
|
|
8009
|
-
])], 8,
|
|
8013
|
+
])], 8, xv)
|
|
8010
8014
|
])
|
|
8011
8015
|
])
|
|
8012
|
-
], 42,
|
|
8016
|
+
], 42, pv);
|
|
8013
8017
|
}), 128))
|
|
8014
8018
|
])
|
|
8015
8019
|
])) : Z("", !0),
|
|
@@ -8021,7 +8025,7 @@ const Cf = {
|
|
|
8021
8025
|
class: "selected-tab__menu",
|
|
8022
8026
|
style: Ve({ top: w.top + "px", left: w.left + "px" })
|
|
8023
8027
|
}, [
|
|
8024
|
-
s("div",
|
|
8028
|
+
s("div", bv, [
|
|
8025
8029
|
s("button", {
|
|
8026
8030
|
class: "selected-tab__menu-item",
|
|
8027
8031
|
onClick: E[1] || (E[1] = (z) => F(d.value))
|
|
@@ -8064,7 +8068,7 @@ const Cf = {
|
|
|
8064
8068
|
], -1),
|
|
8065
8069
|
fe(" Збільшити до шару ", -1)
|
|
8066
8070
|
])]),
|
|
8067
|
-
ie(
|
|
8071
|
+
ie(uv, {
|
|
8068
8072
|
items: T(d.value)
|
|
8069
8073
|
}, {
|
|
8070
8074
|
default: Oe(() => [...E[7] || (E[7] = [
|
|
@@ -8134,16 +8138,16 @@ const Cf = {
|
|
|
8134
8138
|
]))
|
|
8135
8139
|
]));
|
|
8136
8140
|
}
|
|
8137
|
-
}),
|
|
8141
|
+
}), wv = /* @__PURE__ */ ce(_v, [["__scopeId", "data-v-4519d824"]]), kv = { class: "filter-tab" }, $v = {
|
|
8138
8142
|
key: 0,
|
|
8139
8143
|
class: "filter-tab__header"
|
|
8140
|
-
},
|
|
8144
|
+
}, Cv = { class: "filter-tab__title" }, Av = {
|
|
8141
8145
|
key: 1,
|
|
8142
8146
|
class: "filter-tab__content rounded-md"
|
|
8143
|
-
},
|
|
8147
|
+
}, Lv = { class: "filter-tab__scroll" }, Sv = {
|
|
8144
8148
|
key: 2,
|
|
8145
8149
|
class: "filter-tab__empty"
|
|
8146
|
-
},
|
|
8150
|
+
}, Ev = /* @__PURE__ */ ue({
|
|
8147
8151
|
__name: "LayersFilterTab",
|
|
8148
8152
|
props: {
|
|
8149
8153
|
layer: {},
|
|
@@ -8158,14 +8162,14 @@ const Cf = {
|
|
|
8158
8162
|
function u(f) {
|
|
8159
8163
|
o("change", f.data);
|
|
8160
8164
|
}
|
|
8161
|
-
return (f, d) => (m(), _("div",
|
|
8162
|
-
e.layer && i.value ? (m(), _("div",
|
|
8165
|
+
return (f, d) => (m(), _("div", kv, [
|
|
8166
|
+
e.layer && i.value ? (m(), _("div", $v, [
|
|
8163
8167
|
s("div", null, [
|
|
8164
|
-
s("p",
|
|
8168
|
+
s("p", Cv, H(e.layer.name), 1)
|
|
8165
8169
|
])
|
|
8166
8170
|
])) : Z("", !0),
|
|
8167
|
-
e.layer && i.value ? (m(), _("div",
|
|
8168
|
-
s("div",
|
|
8171
|
+
e.layer && i.value ? (m(), _("div", Av, [
|
|
8172
|
+
s("div", Lv, [
|
|
8169
8173
|
ie(ae(n), {
|
|
8170
8174
|
view: "vertical",
|
|
8171
8175
|
schema: l.value,
|
|
@@ -8175,16 +8179,16 @@ const Cf = {
|
|
|
8175
8179
|
onChange: d[0] || (d[0] = (w) => u(w))
|
|
8176
8180
|
}, null, 8, ["schema", "value"])
|
|
8177
8181
|
])
|
|
8178
|
-
])) : (m(), _("div",
|
|
8182
|
+
])) : (m(), _("div", Sv, [...d[1] || (d[1] = [
|
|
8179
8183
|
s("p", { class: "filter-tab__empty-title" }, "Немає доступних фільтрів", -1),
|
|
8180
8184
|
s("p", { class: "filter-tab__empty-text" }, " Оберіть шар із фільтрами у каталозі, щоб налаштувати відбір даних. ", -1)
|
|
8181
8185
|
])]))
|
|
8182
8186
|
]));
|
|
8183
8187
|
}
|
|
8184
|
-
}),
|
|
8188
|
+
}), Fv = /* @__PURE__ */ ce(Ev, [["__scopeId", "data-v-c6632fbd"]]), Mv = { class: "map-catalog-widget w-full max-w-md mx-auto p-4 bg-white border border-gray-200 rounded-lg shadow-sm widget" }, Tv = { class: "flex items-center justify-between mb-4" }, Iv = { class: "flex items-center gap-2" }, jv = { class: "text-lg font-semibold text-gray-800" }, Ov = { key: 0 }, Nv = {
|
|
8185
8189
|
key: 1,
|
|
8186
8190
|
class: "block text-sm font-normal text-gray-500"
|
|
8187
|
-
},
|
|
8191
|
+
}, zv = { class: "flex mb-4 border-b border-gray-200" }, Pv = { class: "map-catalog-widget__body" }, Dv = /* @__PURE__ */ ue({
|
|
8188
8192
|
__name: "MapCatalogWidget",
|
|
8189
8193
|
setup(e) {
|
|
8190
8194
|
const t = N("catalog"), n = N({ groups: [] }), r = N([]), o = N(""), { map: l } = qe(), i = Lt(), u = St(), f = Ge({}), d = N(null);
|
|
@@ -8330,9 +8334,9 @@ const Cf = {
|
|
|
8330
8334
|
});
|
|
8331
8335
|
},
|
|
8332
8336
|
{ deep: !0 }
|
|
8333
|
-
), we(V), (q, P) => (m(), _("div",
|
|
8334
|
-
s("div",
|
|
8335
|
-
s("div",
|
|
8337
|
+
), we(V), (q, P) => (m(), _("div", Mv, [
|
|
8338
|
+
s("div", Tv, [
|
|
8339
|
+
s("div", Iv, [
|
|
8336
8340
|
P[5] || (P[5] = s("svg", {
|
|
8337
8341
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8338
8342
|
width: "20",
|
|
@@ -8349,10 +8353,10 @@ const Cf = {
|
|
|
8349
8353
|
s("path", { d: "m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65" }),
|
|
8350
8354
|
s("path", { d: "m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65" })
|
|
8351
8355
|
], -1)),
|
|
8352
|
-
s("h2",
|
|
8356
|
+
s("h2", jv, [
|
|
8353
8357
|
fe(H(I.value) + " ", 1),
|
|
8354
|
-
F.value !== null ? (m(), _("span",
|
|
8355
|
-
B.value ? (m(), _("span",
|
|
8358
|
+
F.value !== null ? (m(), _("span", Ov, "(" + H(F.value) + ")", 1)) : Z("", !0),
|
|
8359
|
+
B.value ? (m(), _("span", Nv, H(B.value), 1)) : Z("", !0)
|
|
8356
8360
|
])
|
|
8357
8361
|
]),
|
|
8358
8362
|
s("button", {
|
|
@@ -8363,7 +8367,7 @@ const Cf = {
|
|
|
8363
8367
|
yt('<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-205c8f6a><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8" data-v-205c8f6a></path><path d="M21 3v5h-5" data-v-205c8f6a></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-205c8f6a></path><path d="M8 16H3v5" data-v-205c8f6a></path></svg>', 1)
|
|
8364
8368
|
])])
|
|
8365
8369
|
]),
|
|
8366
|
-
s("div",
|
|
8370
|
+
s("div", zv, [
|
|
8367
8371
|
s("button", {
|
|
8368
8372
|
onClick: P[0] || (P[0] = (j) => t.value = "catalog"),
|
|
8369
8373
|
class: xe([
|
|
@@ -8379,8 +8383,8 @@ const Cf = {
|
|
|
8379
8383
|
])
|
|
8380
8384
|
}, " Вибрані шари ", 2)
|
|
8381
8385
|
]),
|
|
8382
|
-
s("div",
|
|
8383
|
-
t.value === "catalog" ? (m(), ne(
|
|
8386
|
+
s("div", Pv, [
|
|
8387
|
+
t.value === "catalog" ? (m(), ne(iv, {
|
|
8384
8388
|
key: 0,
|
|
8385
8389
|
class: "map-catalog-widget__scroll",
|
|
8386
8390
|
catalog: n.value,
|
|
@@ -8389,7 +8393,7 @@ const Cf = {
|
|
|
8389
8393
|
"onUpdate:search": P[2] || (P[2] = (j) => o.value = j),
|
|
8390
8394
|
onToggleLayer: g,
|
|
8391
8395
|
onOpenFilter: b
|
|
8392
|
-
}, null, 8, ["catalog", "selected", "search"])) : t.value === "selected" ? (m(), ne(
|
|
8396
|
+
}, null, 8, ["catalog", "selected", "search"])) : t.value === "selected" ? (m(), ne(wv, {
|
|
8393
8397
|
key: 1,
|
|
8394
8398
|
catalog: n.value,
|
|
8395
8399
|
selected: r.value,
|
|
@@ -8397,7 +8401,7 @@ const Cf = {
|
|
|
8397
8401
|
onSelectLayer: P[3] || (P[3] = (j) => t.value = "catalog"),
|
|
8398
8402
|
onReorder: y,
|
|
8399
8403
|
onRemove: P[4] || (P[4] = (j) => r.value = r.value.filter((C) => C !== j))
|
|
8400
|
-
}, null, 8, ["catalog", "selected"])) : (m(), ne(
|
|
8404
|
+
}, null, 8, ["catalog", "selected"])) : (m(), ne(Fv, {
|
|
8401
8405
|
key: 2,
|
|
8402
8406
|
layer: A.value,
|
|
8403
8407
|
value: M.value,
|
|
@@ -8407,22 +8411,22 @@ const Cf = {
|
|
|
8407
8411
|
])
|
|
8408
8412
|
]));
|
|
8409
8413
|
}
|
|
8410
|
-
}), sr = /* @__PURE__ */ ce(
|
|
8414
|
+
}), sr = /* @__PURE__ */ ce(Dv, [["__scopeId", "data-v-205c8f6a"]]), Rv = {
|
|
8411
8415
|
key: 1,
|
|
8412
8416
|
class: "flex flex-col bg-white border border-stone-200 shadow-2xs rounded-xl z-10 relative widget"
|
|
8413
|
-
},
|
|
8417
|
+
}, Bv = { class: "flex items-start justify-between gap-3 p-5 pb-3" }, Vv = { class: "inline-block text-xl font-semibold text-gray-800" }, Uv = {
|
|
8414
8418
|
key: 0,
|
|
8415
8419
|
class: "mt-1 text-sm text-gray-500"
|
|
8416
|
-
},
|
|
8420
|
+
}, qv = { class: "flex items-center gap-[6px]" }, Hv = { class: "px-5 pb-5 space-y-6" }, Yv = {
|
|
8417
8421
|
key: 0,
|
|
8418
8422
|
class: "space-y-2"
|
|
8419
|
-
},
|
|
8423
|
+
}, Wv = { class: "flex flex-wrap gap-4" }, Zv = ["value"], Kv = {
|
|
8420
8424
|
key: 1,
|
|
8421
8425
|
class: "text-sm text-gray-500"
|
|
8422
|
-
},
|
|
8426
|
+
}, Gv = {
|
|
8423
8427
|
key: 2,
|
|
8424
8428
|
class: "text-sm text-gray-500"
|
|
8425
|
-
},
|
|
8429
|
+
}, Xv = { class: "text-4xl font-medium text-gray-800" }, Jv = { class: "space-y-[14px]" }, Qv = { class: "flex items-center gap-[10px] text-gray-600" }, em = { class: "font-medium text-gray-700" }, tm = { class: "flex items-center justify-end text-end gap-3" }, nm = { class: "font-medium text-gray-800" }, rm = { class: "min-w-[40px] font-medium text-[#3C3C4399]" }, om = /* @__PURE__ */ ue({
|
|
8426
8430
|
__name: "MapAttributeWidget",
|
|
8427
8431
|
props: {
|
|
8428
8432
|
config: {}
|
|
@@ -8616,13 +8620,13 @@ const Cf = {
|
|
|
8616
8620
|
return ye(() => {
|
|
8617
8621
|
var O, T;
|
|
8618
8622
|
(T = (O = u.value) == null ? void 0 : O.remove) == null || T.call(O);
|
|
8619
|
-
}), (O, T) => r.value ? (m(), _("div",
|
|
8620
|
-
s("div",
|
|
8623
|
+
}), (O, T) => r.value ? (m(), _("div", Rv, [
|
|
8624
|
+
s("div", Bv, [
|
|
8621
8625
|
s("div", null, [
|
|
8622
|
-
s("h2",
|
|
8623
|
-
C.value && h.value.length === 1 ? (m(), _("p",
|
|
8626
|
+
s("h2", Vv, H(P.value), 1),
|
|
8627
|
+
C.value && h.value.length === 1 ? (m(), _("p", Uv, H(C.value), 1)) : Z("", !0)
|
|
8624
8628
|
]),
|
|
8625
|
-
s("div",
|
|
8629
|
+
s("div", qv, [
|
|
8626
8630
|
b.value ? (m(), ne(en, {
|
|
8627
8631
|
key: 0,
|
|
8628
8632
|
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",
|
|
@@ -8649,9 +8653,9 @@ const Cf = {
|
|
|
8649
8653
|
])])
|
|
8650
8654
|
])
|
|
8651
8655
|
]),
|
|
8652
|
-
s("div",
|
|
8653
|
-
h.value.length > 1 ? (m(), _("div",
|
|
8654
|
-
s("div",
|
|
8656
|
+
s("div", Hv, [
|
|
8657
|
+
h.value.length > 1 ? (m(), _("div", Yv, [
|
|
8658
|
+
s("div", Wv, [
|
|
8655
8659
|
(m(!0), _(K, null, oe(h.value, (L) => (m(), _("label", {
|
|
8656
8660
|
key: L.id,
|
|
8657
8661
|
class: "inline-flex items-center gap-2 text-sm text-gray-700"
|
|
@@ -8661,34 +8665,34 @@ const Cf = {
|
|
|
8661
8665
|
class: "text-sky-600 focus:ring-sky-500",
|
|
8662
8666
|
value: L.id,
|
|
8663
8667
|
"onUpdate:modelValue": T[2] || (T[2] = (E) => v.value = E)
|
|
8664
|
-
}, null, 8,
|
|
8668
|
+
}, null, 8, Zv), [
|
|
8665
8669
|
[ko, v.value]
|
|
8666
8670
|
]),
|
|
8667
8671
|
s("span", null, H(L.label), 1)
|
|
8668
8672
|
]))), 128))
|
|
8669
8673
|
])
|
|
8670
8674
|
])) : Z("", !0),
|
|
8671
|
-
o.value ? (m(), _("div",
|
|
8672
|
-
s("h4",
|
|
8673
|
-
s("ul",
|
|
8675
|
+
o.value ? (m(), _("div", Kv, "Завантаження…")) : l.value.length ? (m(), _(K, { key: 3 }, [
|
|
8676
|
+
s("h4", Xv, H(j.value), 1),
|
|
8677
|
+
s("ul", Jv, [
|
|
8674
8678
|
(m(!0), _(K, null, oe(l.value, (L) => (m(), _("li", {
|
|
8675
8679
|
key: L.id,
|
|
8676
8680
|
class: "flex flex-wrap items-center justify-between gap-x-2"
|
|
8677
8681
|
}, [
|
|
8678
|
-
s("div",
|
|
8682
|
+
s("div", Qv, [
|
|
8679
8683
|
s("span", {
|
|
8680
8684
|
class: "block w-[16px] h-[16px] rounded",
|
|
8681
8685
|
style: Ve({ backgroundColor: L.color })
|
|
8682
8686
|
}, null, 4),
|
|
8683
|
-
s("span",
|
|
8687
|
+
s("span", em, H(L.label), 1)
|
|
8684
8688
|
]),
|
|
8685
|
-
s("div",
|
|
8686
|
-
s("span",
|
|
8687
|
-
s("span",
|
|
8689
|
+
s("div", tm, [
|
|
8690
|
+
s("span", nm, H(L.count), 1),
|
|
8691
|
+
s("span", rm, H(R(L.count)), 1)
|
|
8688
8692
|
])
|
|
8689
8693
|
]))), 128))
|
|
8690
8694
|
])
|
|
8691
|
-
], 64)) : (m(), _("div",
|
|
8695
|
+
], 64)) : (m(), _("div", Gv, "Дані відсутні"))
|
|
8692
8696
|
])
|
|
8693
8697
|
])) : (m(), _("button", {
|
|
8694
8698
|
key: 0,
|
|
@@ -8696,10 +8700,10 @@ const Cf = {
|
|
|
8696
8700
|
onClick: T[0] || (T[0] = (L) => r.value = !0)
|
|
8697
8701
|
}, " Набори даних "));
|
|
8698
8702
|
}
|
|
8699
|
-
}), ar = /* @__PURE__ */ ce(
|
|
8703
|
+
}), ar = /* @__PURE__ */ ce(om, [["__scopeId", "data-v-9686ce7b"]]), lm = { 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]" }, im = {
|
|
8700
8704
|
key: 0,
|
|
8701
8705
|
class: "vs-select__options absolute z-50 mt-1 w-full bg-white border border-gray-300 shadow-lg rounded-lg text-sm"
|
|
8702
|
-
},
|
|
8706
|
+
}, sm = ["onClick"], am = { class: "relative flex-1 min-w-[140px]" }, um = ["placeholder"], cm = "https://data.softpro.ua/api-user/gis-url-proxy", dm = "https://geo.rv.ua/api-user/dzk.api", fm = /* @__PURE__ */ ue({
|
|
8703
8707
|
__name: "MapSearchWidget",
|
|
8704
8708
|
props: {
|
|
8705
8709
|
config: {}
|
|
@@ -8802,7 +8806,7 @@ const Cf = {
|
|
|
8802
8806
|
return;
|
|
8803
8807
|
}
|
|
8804
8808
|
try {
|
|
8805
|
-
const A = new URL(i.value === "here" ?
|
|
8809
|
+
const A = new URL(i.value === "here" ? cm : dm);
|
|
8806
8810
|
if (i.value === "here")
|
|
8807
8811
|
A.searchParams.set("searchtext", k);
|
|
8808
8812
|
else {
|
|
@@ -8827,7 +8831,7 @@ const Cf = {
|
|
|
8827
8831
|
}
|
|
8828
8832
|
}
|
|
8829
8833
|
}
|
|
8830
|
-
return (k, A) => (m(), _("div",
|
|
8834
|
+
return (k, A) => (m(), _("div", lm, [
|
|
8831
8835
|
s("form", {
|
|
8832
8836
|
class: "flex gap-2",
|
|
8833
8837
|
onSubmit: Ue(b, ["prevent"])
|
|
@@ -8859,23 +8863,23 @@ const Cf = {
|
|
|
8859
8863
|
}, null, -1)
|
|
8860
8864
|
])], 2))
|
|
8861
8865
|
]),
|
|
8862
|
-
f.value ? (m(), _("div",
|
|
8866
|
+
f.value ? (m(), _("div", im, [
|
|
8863
8867
|
s("ul", null, [
|
|
8864
8868
|
(m(!0), _(K, null, oe(o.value, (M) => (m(), _("li", {
|
|
8865
8869
|
key: M,
|
|
8866
8870
|
class: "px-3 py-2 cursor-pointer hover:bg-gray-100",
|
|
8867
8871
|
onClick: (x) => w(M)
|
|
8868
|
-
}, H(v(M)), 9,
|
|
8872
|
+
}, H(v(M)), 9, sm))), 128))
|
|
8869
8873
|
])
|
|
8870
8874
|
])) : Z("", !0)
|
|
8871
8875
|
], 512)) : Z("", !0),
|
|
8872
|
-
s("div",
|
|
8876
|
+
s("div", am, [
|
|
8873
8877
|
Xe(s("input", {
|
|
8874
8878
|
"onUpdate:modelValue": A[1] || (A[1] = (M) => u.value = M),
|
|
8875
8879
|
placeholder: l.value,
|
|
8876
8880
|
type: "text",
|
|
8877
8881
|
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"
|
|
8878
|
-
}, null, 8,
|
|
8882
|
+
}, null, 8, um), [
|
|
8879
8883
|
[
|
|
8880
8884
|
$t,
|
|
8881
8885
|
u.value,
|
|
@@ -8907,7 +8911,7 @@ const Cf = {
|
|
|
8907
8911
|
], 32)
|
|
8908
8912
|
]));
|
|
8909
8913
|
}
|
|
8910
|
-
}), ur = /* @__PURE__ */ ce(
|
|
8914
|
+
}), ur = /* @__PURE__ */ ce(fm, [["__scopeId", "data-v-85962cbc"]]), pm = "https://watergis.github.io/mapbox-gl-export/mapbox-gl-export.css", vm = "https://watergis.github.io/mapbox-gl-export/mapbox-gl-export.js", mm = /* @__PURE__ */ ue({
|
|
8911
8915
|
__name: "MapPrintControl",
|
|
8912
8916
|
setup(e) {
|
|
8913
8917
|
const { map: t, ready: n, addControl: r, removeControl: o } = qe(), l = N(null), i = N(null), u = N(null), f = N(null);
|
|
@@ -9034,9 +9038,9 @@ const Cf = {
|
|
|
9034
9038
|
await (n == null ? void 0 : n());
|
|
9035
9039
|
const x = t.value;
|
|
9036
9040
|
if (!x) return;
|
|
9037
|
-
a(
|
|
9041
|
+
a(pm), w();
|
|
9038
9042
|
try {
|
|
9039
|
-
await v(
|
|
9043
|
+
await v(vm);
|
|
9040
9044
|
} catch (B) {
|
|
9041
9045
|
console.warn("[MapPrintControl] load error", B);
|
|
9042
9046
|
return;
|
|
@@ -9076,7 +9080,7 @@ const Cf = {
|
|
|
9076
9080
|
class: "map-print-control"
|
|
9077
9081
|
}, null, 512));
|
|
9078
9082
|
}
|
|
9079
|
-
}),
|
|
9083
|
+
}), gm = /* @__PURE__ */ ce(mm, [["__scopeId", "data-v-89156246"]]), hm = { class: "map-center-control" }, ym = /* @__PURE__ */ ue({
|
|
9080
9084
|
__name: "MapCenterControl",
|
|
9081
9085
|
props: {
|
|
9082
9086
|
center: {},
|
|
@@ -9138,7 +9142,7 @@ const Cf = {
|
|
|
9138
9142
|
})(), w = l.value ?? f.getZoom();
|
|
9139
9143
|
f.flyTo({ center: d, zoom: w });
|
|
9140
9144
|
}
|
|
9141
|
-
return (f, d) => (m(), _("div",
|
|
9145
|
+
return (f, d) => (m(), _("div", hm, [
|
|
9142
9146
|
s("button", {
|
|
9143
9147
|
id: "center-btn",
|
|
9144
9148
|
type: "button",
|
|
@@ -9154,17 +9158,17 @@ const Cf = {
|
|
|
9154
9158
|
])
|
|
9155
9159
|
]));
|
|
9156
9160
|
}
|
|
9157
|
-
}),
|
|
9161
|
+
}), xm = /* @__PURE__ */ ce(ym, [["__scopeId", "data-v-d21bee3d"]]), bm = { class: "cursor-coordinates" }, _m = { class: "cursor-coordinates__text" }, wm = /* @__PURE__ */ ue({
|
|
9158
9162
|
__name: "MapCursorCoordinates",
|
|
9159
9163
|
props: {
|
|
9160
9164
|
coordinates: {}
|
|
9161
9165
|
},
|
|
9162
9166
|
setup(e) {
|
|
9163
|
-
return (t, n) => (m(), _("div",
|
|
9164
|
-
s("span",
|
|
9167
|
+
return (t, n) => (m(), _("div", bm, [
|
|
9168
|
+
s("span", _m, H(e.coordinates), 1)
|
|
9165
9169
|
]));
|
|
9166
9170
|
}
|
|
9167
|
-
}),
|
|
9171
|
+
}), km = /* @__PURE__ */ ce(wm, [["__scopeId", "data-v-334315d9"]]), $m = { class: "minimap__wrapper" }, qt = "minimap-viewport", Cm = "minimap-viewport-layer", Am = /* @__PURE__ */ ue({
|
|
9168
9172
|
__name: "MapMiniMap",
|
|
9169
9173
|
props: {
|
|
9170
9174
|
mapContext: {},
|
|
@@ -9266,7 +9270,7 @@ const Cf = {
|
|
|
9266
9270
|
properties: {}
|
|
9267
9271
|
}
|
|
9268
9272
|
}), r.value.addLayer({
|
|
9269
|
-
id:
|
|
9273
|
+
id: Cm,
|
|
9270
9274
|
type: "fill",
|
|
9271
9275
|
source: qt,
|
|
9272
9276
|
paint: {
|
|
@@ -9382,7 +9386,7 @@ const Cf = {
|
|
|
9382
9386
|
]),
|
|
9383
9387
|
ie(kn, { name: "minimap-slide" }, {
|
|
9384
9388
|
default: Oe(() => [
|
|
9385
|
-
Xe(s("div",
|
|
9389
|
+
Xe(s("div", $m, [
|
|
9386
9390
|
s("div", {
|
|
9387
9391
|
ref_key: "minimapRoot",
|
|
9388
9392
|
ref: n,
|
|
@@ -9398,26 +9402,26 @@ const Cf = {
|
|
|
9398
9402
|
})
|
|
9399
9403
|
], 2));
|
|
9400
9404
|
}
|
|
9401
|
-
}),
|
|
9405
|
+
}), Lm = /* @__PURE__ */ ce(Am, [["__scopeId", "data-v-3ce09bde"]]), Sm = {
|
|
9402
9406
|
key: 1,
|
|
9403
9407
|
class: "absolute bottom-4 right-4 z-[80] flex items-end gap-2"
|
|
9404
|
-
},
|
|
9408
|
+
}, Em = { class: "absolute top-[103px] right-[6.5px] z-[80] flex flex-col items-end gap-1" }, Fm = { class: "map-widget__overlay-grid" }, Mm = {
|
|
9405
9409
|
key: 0,
|
|
9406
9410
|
id: "map-filter-popover-host",
|
|
9407
9411
|
class: "map-widget__filter-host"
|
|
9408
|
-
},
|
|
9412
|
+
}, Tm = {
|
|
9409
9413
|
key: 1,
|
|
9410
9414
|
class: "map-widget__stack-wrapper map-widget__stack-wrapper--top"
|
|
9411
|
-
},
|
|
9415
|
+
}, Im = { class: "map-widget__stack" }, jm = {
|
|
9412
9416
|
key: 2,
|
|
9413
9417
|
class: "map-widget__stack-wrapper map-widget__stack-wrapper--bottom mb-5"
|
|
9414
|
-
},
|
|
9418
|
+
}, Om = { class: "map-widget__stack map-widget__stack--bottom" }, Nm = {
|
|
9415
9419
|
key: 0,
|
|
9416
9420
|
class: "map-widget__state"
|
|
9417
|
-
},
|
|
9421
|
+
}, zm = {
|
|
9418
9422
|
key: 1,
|
|
9419
9423
|
class: "map-widget__state map-widget__state--error"
|
|
9420
|
-
},
|
|
9424
|
+
}, Pm = /* @__PURE__ */ ue({
|
|
9421
9425
|
__name: "MapWidget",
|
|
9422
9426
|
props: {
|
|
9423
9427
|
id: {},
|
|
@@ -9630,33 +9634,33 @@ const Cf = {
|
|
|
9630
9634
|
boundary: I.value.boundary,
|
|
9631
9635
|
katottg: I.value.katottg
|
|
9632
9636
|
}, null, 8, ["boundary", "katottg"])) : Z("", !0),
|
|
9633
|
-
A.value ? (m(), _("div",
|
|
9634
|
-
k.value ? (m(), ne(
|
|
9637
|
+
A.value ? (m(), _("div", Sm, [
|
|
9638
|
+
k.value ? (m(), ne(km, {
|
|
9635
9639
|
key: 0,
|
|
9636
9640
|
coordinates: k.value
|
|
9637
9641
|
}, null, 8, ["coordinates"])) : Z("", !0),
|
|
9638
|
-
ie(
|
|
9642
|
+
ie(Lm, {
|
|
9639
9643
|
"map-context": A.value,
|
|
9640
9644
|
options: M.value
|
|
9641
9645
|
}, null, 8, ["map-context", "options"])
|
|
9642
9646
|
])) : Z("", !0),
|
|
9643
|
-
s("div",
|
|
9644
|
-
w.value.includes("home") ? (m(), ne(
|
|
9647
|
+
s("div", Em, [
|
|
9648
|
+
w.value.includes("home") ? (m(), ne(xm, {
|
|
9645
9649
|
key: 0,
|
|
9646
9650
|
center: ((se = l.value) == null ? void 0 : se.center) || ((ve = i.value) == null ? void 0 : ve.center) || null,
|
|
9647
9651
|
zoom: ((le = l.value) == null ? void 0 : le.zoom) ?? ((ke = i.value) == null ? void 0 : ke.zoom) ?? null
|
|
9648
9652
|
}, null, 8, ["center", "zoom"])) : Z("", !0),
|
|
9649
|
-
w.value.includes("print") ? (m(), ne(
|
|
9653
|
+
w.value.includes("print") ? (m(), ne(gm, { key: 1 })) : Z("", !0)
|
|
9650
9654
|
]),
|
|
9651
9655
|
d.value ? (m(), _(K, { key: 2 }, [
|
|
9652
|
-
s("div",
|
|
9656
|
+
s("div", Fm, [
|
|
9653
9657
|
(m(), _(K, null, oe(q, (He) => s("div", {
|
|
9654
9658
|
key: He,
|
|
9655
9659
|
class: xe(["map-widget__side", `map-widget__side--${He}`])
|
|
9656
9660
|
}, [
|
|
9657
|
-
He === "left" ? (m(), _("div",
|
|
9658
|
-
P.value[He].top.length ? (m(), _("div",
|
|
9659
|
-
s("div",
|
|
9661
|
+
He === "left" ? (m(), _("div", Mm)) : Z("", !0),
|
|
9662
|
+
P.value[He].top.length ? (m(), _("div", Tm, [
|
|
9663
|
+
s("div", Im, [
|
|
9660
9664
|
(m(!0), _(K, null, oe(P.value[He].top, (te) => {
|
|
9661
9665
|
var Je, Qe, Te, pt, it, vt, Ye, mt;
|
|
9662
9666
|
return Xe((m(), _("div", {
|
|
@@ -9703,8 +9707,8 @@ const Cf = {
|
|
|
9703
9707
|
}), 128))
|
|
9704
9708
|
])
|
|
9705
9709
|
])) : Z("", !0),
|
|
9706
|
-
P.value[He].bottom.length ? (m(), _("div",
|
|
9707
|
-
s("div",
|
|
9710
|
+
P.value[He].bottom.length ? (m(), _("div", jm, [
|
|
9711
|
+
s("div", Om, [
|
|
9708
9712
|
(m(!0), _(K, null, oe(P.value[He].bottom, (te) => {
|
|
9709
9713
|
var Je, Qe, Te, pt, it, vt, Ye, mt;
|
|
9710
9714
|
return Xe((m(), _("div", {
|
|
@@ -9760,19 +9764,19 @@ const Cf = {
|
|
|
9760
9764
|
}),
|
|
9761
9765
|
_: 1
|
|
9762
9766
|
}, 512),
|
|
9763
|
-
u.value ? (m(), _("div",
|
|
9767
|
+
u.value ? (m(), _("div", Nm, "Завантаження карти…")) : f.value ? (m(), _("div", zm, H(f.value), 1)) : Z("", !0)
|
|
9764
9768
|
], 4));
|
|
9765
9769
|
}
|
|
9766
|
-
}),
|
|
9767
|
-
function
|
|
9768
|
-
e.component("MapCustom",
|
|
9770
|
+
}), Dm = /* @__PURE__ */ ce(Pm, [["__scopeId", "data-v-8a5bc566"]]);
|
|
9771
|
+
function Hm(e) {
|
|
9772
|
+
e.component("MapCustom", Dm);
|
|
9769
9773
|
}
|
|
9770
9774
|
export {
|
|
9771
|
-
|
|
9772
|
-
|
|
9773
|
-
|
|
9774
|
-
|
|
9775
|
-
|
|
9775
|
+
Dm as MapWidget,
|
|
9776
|
+
Um as Register,
|
|
9777
|
+
qm as Service,
|
|
9778
|
+
Dm as default,
|
|
9779
|
+
Hm as install,
|
|
9776
9780
|
ns as template1,
|
|
9777
9781
|
hs as template2,
|
|
9778
9782
|
Is as template3,
|