@opengis/gis 0.2.129 → 0.2.130
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-DgpYeKbG.js → CardIcon-BeZkp0PF.js} +1 -1
- package/dist/{EntityTablePage-DNdVavT4.js → EntityTablePage-A1oEJgB4.js} +1 -1
- package/dist/{ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-DQnIBCpE.js → ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-Wr8oJ-ni.js} +24 -22
- package/dist/{HeaderActions.vue_vue_type_script_setup_true_lang-Cg2y4sIa.js → HeaderActions.vue_vue_type_script_setup_true_lang-6BnXldBs.js} +345 -321
- package/dist/{MapSettings-CHF3VpUu.js → MapSettings-EmXkXJ90.js} +12 -12
- package/dist/{RastersTablePage-Ci3P3r4c.js → RastersTablePage-Cgecxbky.js} +1 -1
- package/dist/cartocss-C29B9mz3.js +1024 -0
- package/dist/{import-utils-ElncWVJV.js → import-utils-CFjQD50e.js} +1 -1
- package/dist/{index-UGx54M0Q.js → index-1vaLWtnh.js} +377 -386
- package/dist/index.css +1 -1
- package/dist/index.js +4 -4
- package/dist/index.umd.cjs +41 -41
- package/dist/raster-DFuH49fc.js +792 -0
- package/dist/{register-BfNUPbey.js → register-COO0Y_MS.js} +3 -3
- package/dist/{service-DsykdHry.js → service-DagZaIev.js} +911 -879
- package/dist/{vs-datatable-D6g7tjZo.js → vs-datatable-BaMRTZVi.js} +1 -1
- package/package.json +2 -2
- package/server/routes/gis/cartocss/get.cartocss.js +11 -2
- package/server/routes/gis/registers/add.registry.js +3 -4
- package/server/routes/gis/registers/funcs/columns.js +2 -4
- package/server/routes/mapnik/controllers/pretile.js +7 -9
- package/server/routes/mapnik/functions/cartoBounds.js +6 -2
- package/dist/cartocss-BsaIlSRb.js +0 -894
- package/dist/raster-BDWEafwx.js +0 -663
|
@@ -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 {
|
|
8
|
+
import { r as me, _ as pe } from "./index-1vaLWtnh.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",
|
|
@@ -178,7 +178,7 @@ const fe = { class: "rounded-lg border border-gray-200 bg-[rgba(252,252,252,0.8)
|
|
|
178
178
|
}, je = {
|
|
179
179
|
key: 1,
|
|
180
180
|
class: "rounded-lg border border-gray-200 overflow-hidden"
|
|
181
|
-
}, Te = { class: "w-full text-sm" }, ze = { class: "divide-y divide-gray-200" }, De = { class: "px-4 py-3" }, Ue = ["onUpdate:modelValue", "onChange"], Ae = ["value"], Oe = { class: "px-4 py-3" }, Ie = ["onUpdate:modelValue", "onChange"],
|
|
181
|
+
}, Te = { class: "w-full text-sm" }, ze = { class: "divide-y divide-gray-200" }, De = { class: "px-4 py-3" }, Ue = ["onUpdate:modelValue", "onChange"], Ae = ["value"], Oe = { class: "px-4 py-3" }, Ie = ["onUpdate:modelValue", "onChange"], Me = ["value"], qe = { class: "px-4 py-3 text-center" }, Ee = ["checked", "onChange"], Le = { class: "px-4 py-3" }, We = {
|
|
182
182
|
key: 0,
|
|
183
183
|
class: "flex items-center gap-2"
|
|
184
184
|
}, Fe = ["onClick"], Je = ["onClick"], Pe = { key: 1 }, Be = ["onClick"], Re = { class: "px-4 py-3 text-right" }, Ge = ["onClick"], Ke = /* @__PURE__ */ I({
|
|
@@ -239,7 +239,7 @@ const fe = { class: "rounded-lg border border-gray-200 bg-[rgba(252,252,252,0.8)
|
|
|
239
239
|
function D(i) {
|
|
240
240
|
y(i, {});
|
|
241
241
|
}
|
|
242
|
-
function
|
|
242
|
+
function M(i) {
|
|
243
243
|
H({
|
|
244
244
|
title: "Видалити конфігурацію?",
|
|
245
245
|
message: "Ви впевнені, що хочете видалити конфігурацію цього віджета?",
|
|
@@ -301,12 +301,12 @@ const fe = { class: "rounded-lg border border-gray-200 bg-[rgba(252,252,252,0.8)
|
|
|
301
301
|
(m(), g(B, null, R(n, (e) => o("option", {
|
|
302
302
|
key: e,
|
|
303
303
|
value: e
|
|
304
|
-
}, O(e), 9,
|
|
304
|
+
}, O(e), 9, Me)), 64))
|
|
305
305
|
], 40, Ie), [
|
|
306
306
|
[K, c.position]
|
|
307
307
|
])
|
|
308
308
|
]),
|
|
309
|
-
o("td",
|
|
309
|
+
o("td", qe, [
|
|
310
310
|
o("input", {
|
|
311
311
|
type: "checkbox",
|
|
312
312
|
checked: c.visible !== !1,
|
|
@@ -324,7 +324,7 @@ const fe = { class: "rounded-lg border border-gray-200 bg-[rgba(252,252,252,0.8)
|
|
|
324
324
|
v($(ae), { size: 16 })
|
|
325
325
|
], 8, Fe),
|
|
326
326
|
o("button", {
|
|
327
|
-
onClick: (e) =>
|
|
327
|
+
onClick: (e) => M(k),
|
|
328
328
|
class: "p-1 text-red-500 hover:text-red-700 hover:bg-red-50 rounded transition-colors",
|
|
329
329
|
title: "Видалити конфігурацію"
|
|
330
330
|
}, [
|
|
@@ -411,7 +411,7 @@ const fe = { class: "rounded-lg border border-gray-200 bg-[rgba(252,252,252,0.8)
|
|
|
411
411
|
y.value.layers = e;
|
|
412
412
|
}
|
|
413
413
|
});
|
|
414
|
-
async function
|
|
414
|
+
async function M(e) {
|
|
415
415
|
if (!e.length) {
|
|
416
416
|
u.value = {};
|
|
417
417
|
return;
|
|
@@ -419,8 +419,8 @@ const fe = { class: "rounded-lg border border-gray-200 bg-[rgba(252,252,252,0.8)
|
|
|
419
419
|
try {
|
|
420
420
|
const t = new URLSearchParams({ json: "1", val: Array.from(new Set(e)).join(",") }), f = await fetch(`/api/suggest/layer_list?${t.toString()}`);
|
|
421
421
|
if (!f.ok) return;
|
|
422
|
-
const a = await f.json(), T = (a == null ? void 0 : a.data) ?? a ?? [],
|
|
423
|
-
|
|
422
|
+
const a = await f.json(), T = (a == null ? void 0 : a.data) ?? a ?? [], q = Array.isArray(T) ? T : [], z = { ...u.value };
|
|
423
|
+
q.forEach((E) => {
|
|
424
424
|
const P = E.id != null ? String(E.id) : "";
|
|
425
425
|
P && (z[P] = E.text ?? E.name ?? P);
|
|
426
426
|
}), u.value = z;
|
|
@@ -432,7 +432,7 @@ const fe = { class: "rounded-lg border border-gray-200 bg-[rgba(252,252,252,0.8)
|
|
|
432
432
|
get: () => D.value.map((e) => u.value[e] ?? e),
|
|
433
433
|
set: (e) => {
|
|
434
434
|
const t = Object.entries(u.value).reduce(
|
|
435
|
-
(a, [T,
|
|
435
|
+
(a, [T, q]) => (a[q] = T, a),
|
|
436
436
|
{}
|
|
437
437
|
), f = e.map((a) => t[a] ?? null).filter((a) => a != null);
|
|
438
438
|
D.value = f;
|
|
@@ -528,7 +528,7 @@ const fe = { class: "rounded-lg border border-gray-200 bg-[rgba(252,252,252,0.8)
|
|
|
528
528
|
center: t.center ?? null,
|
|
529
529
|
widgets: Array.isArray(t.widgets) ? t.widgets : [],
|
|
530
530
|
layers: (t.layers || []).map((f) => f.id || f)
|
|
531
|
-
}, await
|
|
531
|
+
}, await M(y.value.layers ?? []);
|
|
532
532
|
} catch (e) {
|
|
533
533
|
console.error("Failed to load map:", e), F({
|
|
534
534
|
type: "error",
|
|
@@ -573,7 +573,7 @@ const fe = { class: "rounded-lg border border-gray-200 bg-[rgba(252,252,252,0.8)
|
|
|
573
573
|
var e;
|
|
574
574
|
return ((e = y.value) == null ? void 0 : e.layers) ?? [];
|
|
575
575
|
},
|
|
576
|
-
(e) =>
|
|
576
|
+
(e) => M(Array.isArray(e) ? e.map((t) => (t == null ? void 0 : t.id) ?? t) : []),
|
|
577
577
|
{ immediate: !1 }
|
|
578
578
|
), te(async () => {
|
|
579
579
|
await c();
|
|
@@ -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-1vaLWtnh.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",
|