@opengis/gis 0.2.183 → 0.2.185
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/{CardIcon-CKcvisBB.js → CardIcon-C3cCdpvO.js} +1 -1
- package/dist/{EntityTablePage-Dj4Ysqkw.js → EntityTablePage-D0hDbacp.js} +1 -1
- package/dist/{ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-zNchIX_P.js → ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-8ervbwRu.js} +1 -1
- package/dist/{MapSettings-DH7BzcxB.js → MapSettings-BQak-606.js} +1 -1
- package/dist/{MapToolbarRight.vue_vue_type_script_setup_true_lang-B5aTyoyH.js → MapToolbarRight.vue_vue_type_script_setup_true_lang-D5Q1QqS8.js} +1 -1
- package/dist/{RastersTablePage-BjgVVZDP.js → RastersTablePage-DbiK7bD4.js} +1 -1
- package/dist/{cartocss-B-5m_Jgg.js → cartocss-H7PBnoyC.js} +37 -37
- package/dist/{import-utils-Bzs6QWW3.js → import-utils-BYsmUngb.js} +1 -1
- package/dist/{index-DhmYISKS.js → index-Bd_JFn54.js} +4785 -4722
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +25 -25
- package/dist/{raster-XFH5nm6L.js → raster-DzFKHCJf.js} +3 -3
- package/dist/{register-CNWivGIA.js → register-ChSxZGlt.js} +3 -3
- package/dist/{service-CAelhYEL.js → service-DB7wy37J.js} +5 -5
- package/dist/{vs-datatable-DkR1zed2.js → vs-datatable-BvSBnibk.js} +2 -3
- package/module/gis/card/gis.metadata.table/index.yml +22 -22
- package/module/gis/card/gis.rasters.table/index.yml +11 -11
- package/module/gis/card/gis.registers.table/index.yml +23 -23
- package/module/gis/card/gis.services.table/index.yml +25 -25
- package/module/gis/cls/bool.yes_no.json +12 -12
- package/module/gis/cls/encoding.json +14 -14
- package/module/gis/cls/geom_type.json +14 -14
- package/module/gis/cls/gis.column_type.json +34 -34
- package/module/gis/cls/gis.column_view_type.json +26 -26
- package/module/gis/cls/gis.filter_type.json +22 -22
- package/module/gis/cls/language.json +10 -10
- package/module/gis/cls/meta.service_type.json +42 -42
- package/module/gis/cls/ogc.service.json +21 -21
- package/module/gis/cls/source_type.json +10 -10
- package/module/gis/cls/standarts.json +6 -6
- package/module/gis/cls/topic_category.json +106 -106
- package/module/gis/cls/update_frequency.json +29 -29
- package/module/gis/cls/view.json +21 -21
- package/module/gis/form/feedback.answer.form.json +10 -10
- package/module/gis/form/gis.cartocss.form.json +64 -64
- package/module/gis/form/gis.group_list.form.json +17 -17
- package/module/gis/form/gis.maps.form.json +61 -61
- package/module/gis/form/gis.metadata.form.json +240 -240
- package/module/gis/form/gis.metadata_new.form.json +195 -195
- package/module/gis/form/gis.ogc_service.form.json +51 -51
- package/module/gis/form/gis.rasters.form.json +76 -76
- package/module/gis/form/gis.registers_column.form.json +84 -84
- package/module/gis/form/gis.registers_filter.form.json +65 -65
- package/module/gis/form/gis.services.form.json +111 -111
- package/module/gis/form/gis.services_attributes.form.json +75 -75
- package/module/gis/form/gis.services_filter.form.json +65 -65
- package/module/gis/menu.json +43 -43
- package/module/gis/select/admin.cls.name.sql +9 -9
- package/module/gis/select/layer_list.sql +7 -7
- package/module/gis/select/layer_list_text.sql +7 -7
- package/module/gis/select/pg.column_name.geometry.sql +12 -12
- package/module/gis/select/pg.columns.parent.sql +6 -6
- package/module/gis/select/pg.table_name.sql +17 -17
- package/module/gis/select/service_id.sql +1 -1
- package/module/gis/select/srid.sql +7 -7
- package/module/gis/table/gis.cartocss.table.json +74 -74
- package/module/gis/table/gis.group_list.table.json +58 -58
- package/module/gis/table/gis.maps.table.json +110 -110
- package/module/gis/table/gis.metadata.table.json +70 -70
- package/module/gis/table/gis.metadata_new.table.json +137 -137
- package/module/gis/table/gis.ogc_service.table.json +100 -100
- package/module/gis/table/gis.rasters.table.json +113 -113
- package/module/gis/table/gis.registers.table.json +143 -143
- package/module/gis/table/gis.services.table.json +120 -120
- package/module/gis/table/site.gis.registers.table.json +88 -88
- package/module/gis/table/site.gis.services.table.json +106 -106
- package/module/gis/templates/ISO19136_2017_gml_template.xml +330 -330
- package/module/gis/tokens.yml +5 -5
- package/module/permissions/form/permissions.users.form.json +151 -151
- package/module/permissions/table/gis.permissions.table.json +97 -97
- package/package.json +2 -2
- package/server/routes/registers/functions/gis.suggest.js +16 -8
- package/server/routes/registers/functions/handleRegistryRequest.js +3 -2
- package/server/routes/registers/registers.route.test.js +1 -1
- package/server/routes/services/functions/get.services.js +34 -4
- package/server/routes/services/services.route.test.js +4 -0
|
@@ -3,7 +3,7 @@ import { RefreshCw as ie, Plus as ue } from "lucide-vue-next";
|
|
|
3
3
|
import { useRoute as ce, useRouter as de } from "vue-router";
|
|
4
4
|
import { VsPagination as fe, notify as Q } from "@opengis/core";
|
|
5
5
|
import { FilterField as me, Filter as he } from "@opengis/filter";
|
|
6
|
-
import { F as ge, _ as ve } from "./index-
|
|
6
|
+
import { F as ge, _ as ve } from "./index-Bd_JFn54.js";
|
|
7
7
|
import { _ as pe } from "./TableFormHeader.vue_vue_type_script_setup_true_lang-Mci_tseM.js";
|
|
8
8
|
const xe = { class: "flex-1 flex flex-col bg-gray-50 h-screen overflow-hidden p-0 m-0" }, be = {
|
|
9
9
|
key: 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as y, computed as f, watch as d, createCommentVNode as x } from "vue";
|
|
2
|
-
import { f as C, u as b } from "./index-
|
|
2
|
+
import { f as C, u as b } from "./index-Bd_JFn54.js";
|
|
3
3
|
const h = /* @__PURE__ */ y({
|
|
4
4
|
__name: "ExtentOutlineLayer",
|
|
5
5
|
props: {
|
|
@@ -5,7 +5,7 @@ import { confirm as H, notify as F } from "@opengis/core";
|
|
|
5
5
|
import { _ as de } from "./TableFormHeader.vue_vue_type_script_setup_true_lang-Mci_tseM.js";
|
|
6
6
|
import { _ as ue } from "./MapSettingsTabs.vue_vue_type_script_setup_true_lang-CKCK3NqY.js";
|
|
7
7
|
import { VsInputArraySelect as ce } from "@opengis/form";
|
|
8
|
-
import { v as me, _ as pe } from "./index-
|
|
8
|
+
import { v as me, _ as pe } from "./index-Bd_JFn54.js";
|
|
9
9
|
import { _ as ye } from "./MonacoEditor.vue_vue_type_script_setup_true_lang-D3ZPeXMw.js";
|
|
10
10
|
const fe = { class: "rounded-lg border border-gray-200 bg-[rgba(252,252,252,0.8)] p-6" }, ge = /* @__PURE__ */ I({
|
|
11
11
|
__name: "GeneralSettings",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as s, createElementBlock as b, createElementVNode as a, defineComponent as I, normalizeClass as ee, createVNode as j, createBlock as J, unref as U, ref as h, computed as k, watch as ce, withDirectives as Me, vModelText as Ee, createCommentVNode as G, Fragment as X, renderList as K, createStaticVNode as Be, toDisplayString as $, defineAsyncComponent as re, createTextVNode as ye, withCtx as Q, nextTick as Te, onMounted as ne, onUnmounted as Le, withModifiers as we, Teleport as Ue, normalizeStyle as ke, renderSlot as Ce, onBeforeUnmount as je } from "vue";
|
|
2
|
-
import { _ as Ne, f as de } from "./index-
|
|
2
|
+
import { _ as Ne, f as de } from "./index-Bd_JFn54.js";
|
|
3
3
|
import { Settings as Ae, BrushCleaning as he, SquareCode as xe, Pencil as Re, ZoomIn as Fe, ZoomOut as Oe, Compass as Ie } from "lucide-vue-next";
|
|
4
4
|
import { notify as W } from "@opengis/core";
|
|
5
5
|
const De = {}, Pe = {
|
|
@@ -3,7 +3,7 @@ import { useRoute as ne, useRouter as oe } from "vue-router";
|
|
|
3
3
|
import { VsPagination as le, notify as B } from "@opengis/core";
|
|
4
4
|
import { FilterField as re, Filter as ie } from "@opengis/filter";
|
|
5
5
|
import { RefreshCw as ue, Plus as ce } from "lucide-vue-next";
|
|
6
|
-
import { F as de, _ as ve } from "./index-
|
|
6
|
+
import { F as de, _ as ve } from "./index-Bd_JFn54.js";
|
|
7
7
|
import { _ as fe } from "./TableFormHeader.vue_vue_type_script_setup_true_lang-Mci_tseM.js";
|
|
8
8
|
const ge = { class: "flex-1 flex flex-col bg-gray-50 h-screen overflow-hidden p-0 m-0" }, me = {
|
|
9
9
|
href: "/api/gis-create-xml",
|
|
@@ -2,12 +2,12 @@ import { openBlock as x, createElementBlock as P, createElementVNode as l, defin
|
|
|
2
2
|
import { useRouter as _t, useRoute as wt } from "vue-router";
|
|
3
3
|
import { notify as D } from "@opengis/core";
|
|
4
4
|
import { Minimize2 as kt, Maximize2 as Ct, Link2 as Mt, Ruler as St, Eye as $t, EyeOff as Lt } from "lucide-vue-next";
|
|
5
|
-
import { _ as Ye, f as oe, o as Et, p as Vt, q as zt, M as Rt, i as Bt, j as qe, r as Pt, t as Tt, m as At } from "./index-
|
|
6
|
-
import { S as Ft, C as Nt } from "./CardIcon-
|
|
7
|
-
import { h as ve, _ as jt, a as Ot, b as Dt, c as Ut, d as qt, e as Zt, f as It, g as Qt } from "./MapToolbarRight.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as Ye, f as oe, o as Et, p as Vt, q as zt, M as Rt, i as Bt, j as qe, r as Pt, t as Tt, m as At } from "./index-Bd_JFn54.js";
|
|
6
|
+
import { S as Ft, C as Nt } from "./CardIcon-C3cCdpvO.js";
|
|
7
|
+
import { h as ve, _ as jt, a as Ot, b as Dt, c as Ut, d as qt, e as Zt, f as It, g as Qt } from "./MapToolbarRight.vue_vue_type_script_setup_true_lang-D5Q1QqS8.js";
|
|
8
8
|
import { _ as He } from "./MonacoEditor.vue_vue_type_script_setup_true_lang-D3ZPeXMw.js";
|
|
9
|
-
import { V as Yt } from "./vs-datatable-
|
|
10
|
-
import { _ as Ze } from "./ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { V as Yt } from "./vs-datatable-BvSBnibk.js";
|
|
10
|
+
import { _ as Ze } from "./ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-8ervbwRu.js";
|
|
11
11
|
const Ht = {}, Jt = {
|
|
12
12
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13
13
|
width: "24",
|
|
@@ -34,7 +34,7 @@ function Kt($, r) {
|
|
|
34
34
|
l("path", { d: "M3 15h18" }, null, -1)
|
|
35
35
|
])]);
|
|
36
36
|
}
|
|
37
|
-
const
|
|
37
|
+
const Wt = /* @__PURE__ */ Ye(Ht, [["render", Kt]]), Xt = { class: "flex flex-col h-full" }, Gt = { class: "flex justify-end mb-3 gap-2" }, ea = /* @__PURE__ */ U({
|
|
38
38
|
__name: "cartocss-css-tab",
|
|
39
39
|
props: {
|
|
40
40
|
modelValue: {}
|
|
@@ -45,8 +45,8 @@ const Xt = /* @__PURE__ */ Ye(Ht, [["render", Kt]]), Gt = { class: "flex flex-co
|
|
|
45
45
|
get: () => n.modelValue,
|
|
46
46
|
set: (v) => k("update:modelValue", v)
|
|
47
47
|
});
|
|
48
|
-
return (v, g) => (x(), P("div",
|
|
49
|
-
l("div",
|
|
48
|
+
return (v, g) => (x(), P("div", Xt, [
|
|
49
|
+
l("div", Gt, [
|
|
50
50
|
l("button", {
|
|
51
51
|
type: "button",
|
|
52
52
|
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",
|
|
@@ -761,10 +761,10 @@ const Xt = /* @__PURE__ */ Ye(Ht, [["render", Kt]]), Gt = { class: "flex flex-co
|
|
|
761
761
|
}), za = { class: "flex h-full bg-gradient-to-br from-slate-50 to-white" }, Ra = { class: "flex-1 relative overflow-hidden" }, Ba = { class: "absolute top-0 left-0 w-full z-20" }, Pa = { class: "px-4 sm:px-6 py-4 border-b border-gray-200 bg-white shadow-sm" }, Ta = { class: "flex items-start justify-between gap-4" }, Aa = { class: "flex-1 min-w-0" }, Fa = { class: "flex items-center text-sm text-gray-500 mb-3" }, Na = { class: "text-gray-900 font-medium truncate max-w-xs" }, ja = { class: "flex items-center justify-between gap-4" }, Oa = { class: "flex-1 min-w-0" }, Da = { class: "flex items-center gap-3 mb-1" }, Ua = { class: "text-base font-semibold text-gray-900 truncate" }, qa = {
|
|
762
762
|
key: 0,
|
|
763
763
|
class: "px-2 py-0.5 bg-green-50 border border-green-200 rounded flex-shrink-0"
|
|
764
|
-
}, Za = { class: "text-xs font-medium text-green-700" }, Ia = ["title"], Qa = { class: "w-full h-full bg-gradient-to-br from-sky-50 via-white to-blue-50 flex items-center justify-center relative pt-[115px]" }, Ya = { class: "relative w-full h-full" }, Ha = { class: "absolute top-3 left-3 z-20" }, Ja = { class: "px-3 py-2 flex items-center gap-2 border-b border-gray-100" }, Ka = { class: "text-xs text-gray-700 w-9 text-right" },
|
|
764
|
+
}, Za = { class: "text-xs font-medium text-green-700" }, Ia = ["title"], Qa = { class: "w-full h-full bg-gradient-to-br from-sky-50 via-white to-blue-50 flex items-center justify-center relative pt-[115px]" }, Ya = { class: "relative w-full h-full" }, Ha = { class: "absolute top-3 left-3 z-20" }, Ja = { class: "px-3 py-2 flex items-center gap-2 border-b border-gray-100" }, Ka = { class: "text-xs text-gray-700 w-9 text-right" }, Wa = { class: "px-3 py-2 flex items-center gap-2" }, Xa = {
|
|
765
765
|
for: "show-layer",
|
|
766
766
|
class: "text-xs text-gray-700 flex items-center gap-1 cursor-pointer"
|
|
767
|
-
},
|
|
767
|
+
}, Ga = {
|
|
768
768
|
key: 2,
|
|
769
769
|
class: "absolute bottom-4 left-1/2 z-30 -translate-x-1/2 rounded-2xl border border-sky-200 bg-white/95 px-4 py-2 text-xs font-medium text-slate-700 shadow-lg backdrop-blur"
|
|
770
770
|
}, eo = { class: "flex-1 flex flex-col h-full" }, to = {
|
|
@@ -790,7 +790,7 @@ const Xt = /* @__PURE__ */ Ye(Ht, [["render", Kt]]), Gt = { class: "flex flex-co
|
|
|
790
790
|
}
|
|
791
791
|
const y = [
|
|
792
792
|
{ key: "css", label: "CSS", icon: Ft },
|
|
793
|
-
{ key: "data", label: "Дані", icon:
|
|
793
|
+
{ key: "data", label: "Дані", icon: Wt },
|
|
794
794
|
{ key: "metadata", label: "Метадані", icon: Qt },
|
|
795
795
|
{ key: "card", label: "Картка", icon: Nt }
|
|
796
796
|
], h = y.map((e) => e.key), u = b(
|
|
@@ -853,7 +853,7 @@ const Xt = /* @__PURE__ */ Ye(Ht, [["render", Kt]]), Gt = { class: "flex flex-co
|
|
|
853
853
|
function Q(e) {
|
|
854
854
|
typeof document > "u" || (document.title = e ? `${e} — CartoCSS` : ro);
|
|
855
855
|
}
|
|
856
|
-
const ne = b(""), le = b([]), ye = b(!1), se = b(!1), ge = b(""), he = b(0),
|
|
856
|
+
const ne = b(""), le = b([]), ye = b(!1), se = b(!1), ge = b(""), he = b(0), W = b(!0), re = b(1), Y = b(!1), ee = b(null), H = b(!1), be = b(null), ue = b(
|
|
857
857
|
[]
|
|
858
858
|
), xe = b(!1), Ve = b("general");
|
|
859
859
|
function Je(e) {
|
|
@@ -867,14 +867,14 @@ const Xt = /* @__PURE__ */ Ye(Ht, [["render", Kt]]), Gt = { class: "flex flex-co
|
|
|
867
867
|
var e;
|
|
868
868
|
ue.value = [], xe.value = !1, (e = be.value) == null || e.clearPoints(), H.value = !1;
|
|
869
869
|
}
|
|
870
|
-
function
|
|
870
|
+
function We() {
|
|
871
871
|
if (H.value) {
|
|
872
872
|
ze();
|
|
873
873
|
return;
|
|
874
874
|
}
|
|
875
875
|
H.value = !0;
|
|
876
876
|
}
|
|
877
|
-
const
|
|
877
|
+
const Xe = B(() => `cartocss-layer-${p.value}`), Ge = B(
|
|
878
878
|
() => `${Math.round(re.value * 100)}%`
|
|
879
879
|
), et = B(
|
|
880
880
|
() => `cartocss-extent-${p.value}`
|
|
@@ -916,7 +916,7 @@ const Xt = /* @__PURE__ */ Ye(Ht, [["render", Kt]]), Gt = { class: "flex flex-co
|
|
|
916
916
|
const e = (a = m.value) == null ? void 0 : a.group_id;
|
|
917
917
|
return e ? String(e).toUpperCase() : "";
|
|
918
918
|
});
|
|
919
|
-
let
|
|
919
|
+
let X = null, te = !1, G = null;
|
|
920
920
|
function ie(e) {
|
|
921
921
|
return Number(e.toFixed(uo));
|
|
922
922
|
}
|
|
@@ -989,7 +989,7 @@ const Xt = /* @__PURE__ */ Ye(Ht, [["render", Kt]]), Gt = { class: "flex flex-co
|
|
|
989
989
|
bounds: [...e]
|
|
990
990
|
}, nt(e, E);
|
|
991
991
|
}
|
|
992
|
-
|
|
992
|
+
X = null, te = !1, ee.value = null, Y.value = !1, we("");
|
|
993
993
|
}
|
|
994
994
|
function ke() {
|
|
995
995
|
Ne(null);
|
|
@@ -1003,24 +1003,24 @@ const Xt = /* @__PURE__ */ Ye(Ht, [["render", Kt]]), Gt = { class: "flex flex-co
|
|
|
1003
1003
|
if (!Y.value || ((J = L == null ? void 0 : L.originalEvent) == null ? void 0 : J.button) != null && L.originalEvent.button !== 0)
|
|
1004
1004
|
return;
|
|
1005
1005
|
const T = L == null ? void 0 : L.lngLat;
|
|
1006
|
-
T && (
|
|
1006
|
+
T && (X = [T.lng, T.lat], te = !0, ee.value = [T.lng, T.lat, T.lng, T.lat], (de = (Z = e.dragPan) == null ? void 0 : Z.disable) == null || de.call(Z));
|
|
1007
1007
|
}, t = (L) => {
|
|
1008
|
-
if (!Y.value || !te || !
|
|
1008
|
+
if (!Y.value || !te || !X)
|
|
1009
1009
|
return;
|
|
1010
1010
|
const T = L == null ? void 0 : L.lngLat;
|
|
1011
|
-
T && (ee.value = Fe(
|
|
1011
|
+
T && (ee.value = Fe(X, [
|
|
1012
1012
|
T.lng,
|
|
1013
1013
|
T.lat
|
|
1014
1014
|
]));
|
|
1015
1015
|
}, d = (L) => {
|
|
1016
|
-
if (!Y.value || !te || !
|
|
1016
|
+
if (!Y.value || !te || !X)
|
|
1017
1017
|
return;
|
|
1018
1018
|
const T = L == null ? void 0 : L.lngLat;
|
|
1019
1019
|
if (!T) {
|
|
1020
1020
|
ke();
|
|
1021
1021
|
return;
|
|
1022
1022
|
}
|
|
1023
|
-
const J = Fe(
|
|
1023
|
+
const J = Fe(X, [
|
|
1024
1024
|
T.lng,
|
|
1025
1025
|
T.lat
|
|
1026
1026
|
]), [Z, de, ft, mt] = J;
|
|
@@ -1036,14 +1036,14 @@ const Xt = /* @__PURE__ */ Ye(Ht, [["render", Kt]]), Gt = { class: "flex flex-co
|
|
|
1036
1036
|
}, f = (L) => {
|
|
1037
1037
|
Y.value && L.key === "Escape" && (L.preventDefault(), ke());
|
|
1038
1038
|
};
|
|
1039
|
-
e.on("mousedown", a), e.on("mousemove", t), e.on("mouseup", d), window.addEventListener("keydown", f),
|
|
1039
|
+
e.on("mousedown", a), e.on("mousemove", t), e.on("mouseup", d), window.addEventListener("keydown", f), G = () => {
|
|
1040
1040
|
e.off("mousedown", a), e.off("mousemove", t), e.off("mouseup", d), window.removeEventListener("keydown", f);
|
|
1041
1041
|
};
|
|
1042
1042
|
}
|
|
1043
1043
|
async function st() {
|
|
1044
1044
|
var t;
|
|
1045
1045
|
const e = V();
|
|
1046
|
-
!(e != null && e.ready) || (await e.ready(), !((t = e.map) == null ? void 0 : t.value)) || (
|
|
1046
|
+
!(e != null && e.ready) || (await e.ready(), !((t = e.map) == null ? void 0 : t.value)) || (G || lt(), Y.value = !0, te = !1, X = null, ee.value = null, we("crosshair"), D({
|
|
1047
1047
|
type: "info",
|
|
1048
1048
|
title: "Редагування Bounds",
|
|
1049
1049
|
message: "Протягніть прямокутник на карті, щоб задати нові межі."
|
|
@@ -1083,7 +1083,7 @@ const Xt = /* @__PURE__ */ Ye(Ht, [["render", Kt]]), Gt = { class: "flex flex-co
|
|
|
1083
1083
|
), Ee(() => {
|
|
1084
1084
|
rt();
|
|
1085
1085
|
}), ae(() => {
|
|
1086
|
-
C == null || C(), C = null,
|
|
1086
|
+
C == null || C(), C = null, G == null || G(), G = null, we("");
|
|
1087
1087
|
}), q(
|
|
1088
1088
|
() => n.query.tab,
|
|
1089
1089
|
(e) => {
|
|
@@ -1169,9 +1169,9 @@ const Xt = /* @__PURE__ */ Ye(Ht, [["render", Kt]]), Gt = { class: "flex flex-co
|
|
|
1169
1169
|
const E = it(f.config ?? []);
|
|
1170
1170
|
le.value = ct(E);
|
|
1171
1171
|
const F = typeof f.url == "string" ? f.url : "";
|
|
1172
|
-
ge.value = F,
|
|
1172
|
+
ge.value = F, W.value = !!(F && f.enabled !== !1), he.value = a != null && a.bustCache ? Date.now() : 0;
|
|
1173
1173
|
} catch (t) {
|
|
1174
|
-
console.error("Failed to fetch CartoCSS", t),
|
|
1174
|
+
console.error("Failed to fetch CartoCSS", t), W.value = !1, ge.value = "", he.value = 0, m.value = null;
|
|
1175
1175
|
} finally {
|
|
1176
1176
|
ye.value = !1;
|
|
1177
1177
|
}
|
|
@@ -1285,20 +1285,20 @@ const Xt = /* @__PURE__ */ Ye(Ht, [["render", Kt]]), Gt = { class: "flex flex-co
|
|
|
1285
1285
|
{ number: !0 }
|
|
1286
1286
|
]
|
|
1287
1287
|
]),
|
|
1288
|
-
l("span", Ka, O(
|
|
1288
|
+
l("span", Ka, O(Ge.value), 1)
|
|
1289
1289
|
]),
|
|
1290
|
-
l("div",
|
|
1290
|
+
l("div", Wa, [
|
|
1291
1291
|
Ue(l("input", {
|
|
1292
1292
|
id: "show-layer",
|
|
1293
1293
|
type: "checkbox",
|
|
1294
1294
|
class: "rounded",
|
|
1295
|
-
"onUpdate:modelValue": a[1] || (a[1] = (f) =>
|
|
1295
|
+
"onUpdate:modelValue": a[1] || (a[1] = (f) => W.value = f),
|
|
1296
1296
|
style: { "accent-color": "rgb(30, 78, 216)" }
|
|
1297
1297
|
}, null, 512), [
|
|
1298
|
-
[bt,
|
|
1298
|
+
[bt, W.value]
|
|
1299
1299
|
]),
|
|
1300
|
-
l("label",
|
|
1301
|
-
|
|
1300
|
+
l("label", Xa, [
|
|
1301
|
+
W.value ? (x(), A(I($t), {
|
|
1302
1302
|
key: 0,
|
|
1303
1303
|
class: "w-3.5 h-3.5"
|
|
1304
1304
|
})) : (x(), A(I(Lt), {
|
|
@@ -1328,7 +1328,7 @@ const Xt = /* @__PURE__ */ Ye(Ht, [["render", Kt]]), Gt = { class: "flex flex-co
|
|
|
1328
1328
|
S(ga),
|
|
1329
1329
|
S(Ea, {
|
|
1330
1330
|
active: H.value,
|
|
1331
|
-
onClick:
|
|
1331
|
+
onClick: We
|
|
1332
1332
|
}, null, 8, ["active"]),
|
|
1333
1333
|
S(La)
|
|
1334
1334
|
]),
|
|
@@ -1353,12 +1353,12 @@ const Xt = /* @__PURE__ */ Ye(Ht, [["render", Kt]]), Gt = { class: "flex flex-co
|
|
|
1353
1353
|
active: H.value,
|
|
1354
1354
|
onMapClick: Ke
|
|
1355
1355
|
}, null, 8, ["active"]),
|
|
1356
|
-
Y.value ? (x(), P("div",
|
|
1356
|
+
Y.value ? (x(), P("div", Ga, " Потягніть на карті, щоб намалювати нові Bounds. Esc скасовує редагування. ")) : N("", !0),
|
|
1357
1357
|
Re.value ? (x(), A(ma, {
|
|
1358
1358
|
key: 3,
|
|
1359
|
-
"layer-id":
|
|
1359
|
+
"layer-id": Xe.value,
|
|
1360
1360
|
"tile-url": Re.value,
|
|
1361
|
-
active:
|
|
1361
|
+
active: W.value,
|
|
1362
1362
|
opacity: re.value,
|
|
1363
1363
|
title: w.value.name,
|
|
1364
1364
|
owner: p.value
|
|
@@ -1376,7 +1376,7 @@ const Xt = /* @__PURE__ */ Ye(Ht, [["render", Kt]]), Gt = { class: "flex flex-co
|
|
|
1376
1376
|
S(pa, {
|
|
1377
1377
|
"cartocss-id": p.value,
|
|
1378
1378
|
bounds: ((t = m.value) == null ? void 0 : t.bounds) ?? null,
|
|
1379
|
-
active:
|
|
1379
|
+
active: W.value && !Y.value && !H.value,
|
|
1380
1380
|
"info-enabled": (d = m.value) == null ? void 0 : d.info
|
|
1381
1381
|
}, null, 8, ["cartocss-id", "bounds", "active", "info-enabled"]),
|
|
1382
1382
|
S(At, { "map-id": p.value }, null, 8, ["map-id"])
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as V, mergeModels as S, useModel as w, defineAsyncComponent as $, computed as h, openBlock as p, createBlock as A, unref as C, withCtx as T, createElementVNode as r, toDisplayString as y, createElementBlock as b, Fragment as D, renderList as E, normalizeClass as L, resolveDynamicComponent as N, createCommentVNode as f } from "vue";
|
|
2
|
-
import { i as P, g as j } from "./vs-datatable-
|
|
2
|
+
import { i as P, g as j } from "./vs-datatable-BvSBnibk.js";
|
|
3
3
|
const R = { class: "p-4 text-[13px]" }, U = { class: "grid grid-cols-2 gap-x-6 gap-y-2" }, q = ["id", "checked", "onChange"], G = { class: "ml-2 flex-1 min-w-0 flex items-center gap-2" }, H = { class: "font-medium text-gray-900 truncate" }, J = { class: "text-xs text-gray-500" }, O = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "text-xs text-[#B2C9D6]"
|