@opengis/gis 0.2.181 → 0.2.183

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.
Files changed (78) hide show
  1. package/dist/{CardIcon-g4POnzwa.js → CardIcon-CKcvisBB.js} +1 -1
  2. package/dist/{EntityTablePage-B7K_hSYY.js → EntityTablePage-Dj4Ysqkw.js} +1 -1
  3. package/dist/{ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-BcSv7m_s.js → ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-zNchIX_P.js} +1 -1
  4. package/dist/{MapSettings-C3hn2A7K.js → MapSettings-DH7BzcxB.js} +1 -1
  5. package/dist/{MapToolbarRight.vue_vue_type_script_setup_true_lang-Diu4LI2Z.js → MapToolbarRight.vue_vue_type_script_setup_true_lang-B5aTyoyH.js} +1 -1
  6. package/dist/{RastersTablePage-6Emo2MXj.js → RastersTablePage-BjgVVZDP.js} +1 -1
  7. package/dist/{cartocss-COLdNfzh.js → cartocss-B-5m_Jgg.js} +5 -5
  8. package/dist/{import-utils-DTDbjorg.js → import-utils-Bzs6QWW3.js} +1 -1
  9. package/dist/{index-Czv-aLH-.js → index-DhmYISKS.js} +10 -10
  10. package/dist/index.css +1 -1
  11. package/dist/index.js +1 -1
  12. package/dist/index.umd.cjs +3 -3
  13. package/dist/{raster-CB8C1210.js → raster-XFH5nm6L.js} +3 -3
  14. package/dist/{register-DkQ3WyMI.js → register-CNWivGIA.js} +3 -3
  15. package/dist/{service-BTKNJ8d_.js → service-CAelhYEL.js} +224 -215
  16. package/dist/{vs-datatable-C4NSnPIQ.js → vs-datatable-DkR1zed2.js} +3 -2
  17. package/module/gis/card/gis.metadata.table/index.yml +22 -22
  18. package/module/gis/card/gis.rasters.table/index.yml +11 -11
  19. package/module/gis/card/gis.registers.table/index.yml +23 -23
  20. package/module/gis/card/gis.services.table/index.yml +25 -25
  21. package/module/gis/cls/bool.yes_no.json +12 -12
  22. package/module/gis/cls/encoding.json +14 -14
  23. package/module/gis/cls/geom_type.json +14 -14
  24. package/module/gis/cls/gis.column_type.json +34 -34
  25. package/module/gis/cls/gis.column_view_type.json +26 -26
  26. package/module/gis/cls/gis.filter_type.json +22 -22
  27. package/module/gis/cls/language.json +10 -10
  28. package/module/gis/cls/meta.service_type.json +42 -42
  29. package/module/gis/cls/ogc.service.json +21 -21
  30. package/module/gis/cls/source_type.json +10 -10
  31. package/module/gis/cls/standarts.json +6 -6
  32. package/module/gis/cls/topic_category.json +106 -106
  33. package/module/gis/cls/update_frequency.json +29 -29
  34. package/module/gis/cls/view.json +21 -21
  35. package/module/gis/form/feedback.answer.form.json +10 -10
  36. package/module/gis/form/gis.cartocss.form.json +64 -64
  37. package/module/gis/form/gis.group_list.form.json +17 -17
  38. package/module/gis/form/gis.maps.form.json +61 -61
  39. package/module/gis/form/gis.metadata.form.json +240 -240
  40. package/module/gis/form/gis.metadata_new.form.json +195 -195
  41. package/module/gis/form/gis.ogc_service.form.json +51 -51
  42. package/module/gis/form/gis.rasters.form.json +76 -76
  43. package/module/gis/form/gis.registers_column.form.json +84 -84
  44. package/module/gis/form/gis.registers_filter.form.json +65 -65
  45. package/module/gis/form/gis.services.form.json +111 -111
  46. package/module/gis/form/gis.services_attributes.form.json +75 -75
  47. package/module/gis/form/gis.services_filter.form.json +65 -65
  48. package/module/gis/menu.json +43 -43
  49. package/module/gis/select/admin.cls.name.sql +9 -9
  50. package/module/gis/select/layer_list.sql +7 -7
  51. package/module/gis/select/layer_list_text.sql +7 -7
  52. package/module/gis/select/pg.column_name.geometry.sql +12 -12
  53. package/module/gis/select/pg.columns.parent.sql +6 -6
  54. package/module/gis/select/pg.table_name.sql +17 -17
  55. package/module/gis/select/service_id.sql +1 -1
  56. package/module/gis/select/srid.sql +7 -7
  57. package/module/gis/table/gis.cartocss.table.json +74 -74
  58. package/module/gis/table/gis.group_list.table.json +58 -58
  59. package/module/gis/table/gis.maps.table.json +110 -110
  60. package/module/gis/table/gis.metadata.table.json +70 -70
  61. package/module/gis/table/gis.metadata_new.table.json +137 -137
  62. package/module/gis/table/gis.ogc_service.table.json +100 -100
  63. package/module/gis/table/gis.rasters.table.json +113 -113
  64. package/module/gis/table/gis.registers.table.json +143 -143
  65. package/module/gis/table/gis.services.table.json +120 -120
  66. package/module/gis/table/site.gis.registers.table.json +88 -88
  67. package/module/gis/table/site.gis.services.table.json +106 -106
  68. package/module/gis/templates/ISO19136_2017_gml_template.xml +330 -330
  69. package/module/gis/tokens.yml +5 -5
  70. package/module/permissions/form/permissions.users.form.json +151 -151
  71. package/module/permissions/table/gis.permissions.table.json +97 -97
  72. package/package.json +1 -1
  73. package/server/routes/map/functions/gis.icon.js +1 -1
  74. package/server/routes/map/functions/mapFormat.js +11 -2
  75. package/server/routes/registers/functions/getTableColumnMeta.js +4 -2
  76. package/server/routes/registers/functions/gis.suggest.js +33 -27
  77. package/server/routes/registers/functions/handleRegistryRequest.js +1 -1
  78. package/server/routes/services/functions/get.services.js +5 -0
@@ -1,18 +1,18 @@
1
1
  var fi = Object.defineProperty;
2
2
  var di = (e, n, t) => n in e ? fi(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
- var L = (e, n, t) => di(e, typeof n != "symbol" ? n + "" : n, t);
4
- import { openBlock as _, createElementBlock as U, createElementVNode as y, defineComponent as ae, ref as E, watch as $, createTextVNode as pi, createVNode as F, createBlock as M, createCommentVNode as W, defineAsyncComponent as mi, unref as ze, withCtx as Ge, withDirectives as fn, vModelText as dn, normalizeClass as Ee, Fragment as At, renderList as Ct, toDisplayString as fe, getCurrentInstance as wt, onBeforeUnmount as Tt, toRef as hi, computed as ve, onMounted as gi, resolveDynamicComponent as yi } from "vue";
3
+ var R = (e, n, t) => di(e, typeof n != "symbol" ? n + "" : n, t);
4
+ import { openBlock as _, createElementBlock as q, createElementVNode as y, defineComponent as ae, ref as E, watch as L, createTextVNode as pi, createVNode as O, createBlock as U, createCommentVNode as W, defineAsyncComponent as mi, unref as ze, withCtx as Ge, withDirectives as fn, vModelText as dn, normalizeClass as Ee, Fragment as At, renderList as Ct, toDisplayString as fe, getCurrentInstance as wt, onBeforeUnmount as Tt, toRef as hi, computed as ve, onMounted as gi, resolveDynamicComponent as yi } from "vue";
5
5
  import { useRoute as vi, useRouter as bi } from "vue-router";
6
6
  import { notify as te } from "@opengis/core";
7
- import { _ as Ze, u as We, f as xi, M as Si, g as ki, h as Ai, i as Ci, j as it, k as wi, l as Ti, m as _i, s as rt, n as Ei } from "./index-Czv-aLH-.js";
8
- import { _ as Ii, a as Ni, b as $i, c as Li, d as Fi, e as Ri, f as Oi, g as Pi } from "./MapToolbarRight.vue_vue_type_script_setup_true_lang-Diu4LI2Z.js";
9
- import { S as Mi, C as Ui } from "./CardIcon-g4POnzwa.js";
7
+ import { _ as Ze, u as We, f as xi, M as Si, g as ki, h as Ai, i as Ci, j as it, k as wi, l as Ti, m as _i, s as rt, n as Ei } from "./index-DhmYISKS.js";
8
+ import { _ as Ii, a as Ni, b as $i, c as Li, d as Fi, e as Ri, f as Oi, g as Pi } from "./MapToolbarRight.vue_vue_type_script_setup_true_lang-B5aTyoyH.js";
9
+ import { S as Mi, C as Ui } from "./CardIcon-CKcvisBB.js";
10
10
  import { _ as _t } from "./MonacoEditor.vue_vue_type_script_setup_true_lang-D3ZPeXMw.js";
11
- import { V as en } from "./vs-datatable-C4NSnPIQ.js";
12
- import { _ as Nn, m as $n, r as Le } from "./import-utils-DTDbjorg.js";
11
+ import { V as en } from "./vs-datatable-DkR1zed2.js";
12
+ import { _ as Nn, m as $n, r as Le } from "./import-utils-Bzs6QWW3.js";
13
13
  /*! js-yaml 5.2.1 https://github.com/nodeca/js-yaml @license MIT */
14
14
  var T = Symbol("NOT_RESOLVED"), Ln = Symbol("MERGE_KEY");
15
- function q(e, n) {
15
+ function V(e, n) {
16
16
  return {
17
17
  tagName: e,
18
18
  nodeKind: "scalar",
@@ -60,7 +60,7 @@ function nn(e, n) {
60
60
  representTagName: n.representTagName ?? null
61
61
  };
62
62
  }
63
- var qi = q("tag:yaml.org,2002:str", {
63
+ var qi = V("tag:yaml.org,2002:str", {
64
64
  resolve: (e) => e,
65
65
  identify: (e) => typeof e == "string"
66
66
  }), Vi = [
@@ -69,7 +69,7 @@ var qi = q("tag:yaml.org,2002:str", {
69
69
  "null",
70
70
  "Null",
71
71
  "NULL"
72
- ], Bi = q("tag:yaml.org,2002:null", {
72
+ ], Bi = V("tag:yaml.org,2002:null", {
73
73
  implicit: !0,
74
74
  implicitFirstChars: [
75
75
  "",
@@ -80,7 +80,7 @@ var qi = q("tag:yaml.org,2002:str", {
80
80
  resolve: (e) => Vi.indexOf(e) !== -1 ? null : T,
81
81
  identify: (e) => e === null,
82
82
  represent: () => "null"
83
- }), Di = q("tag:yaml.org,2002:null", {
83
+ }), Di = V("tag:yaml.org,2002:null", {
84
84
  implicit: !0,
85
85
  implicitFirstChars: ["n"],
86
86
  resolve: (e, n) => e === "null" || n && e === "" ? null : T,
@@ -92,7 +92,7 @@ var qi = q("tag:yaml.org,2002:str", {
92
92
  "null",
93
93
  "Null",
94
94
  "NULL"
95
- ], ji = q("tag:yaml.org,2002:null", {
95
+ ], ji = V("tag:yaml.org,2002:null", {
96
96
  implicit: !0,
97
97
  implicitFirstChars: [
98
98
  "",
@@ -111,7 +111,7 @@ var qi = q("tag:yaml.org,2002:str", {
111
111
  "false",
112
112
  "False",
113
113
  "FALSE"
114
- ], zi = q("tag:yaml.org,2002:bool", {
114
+ ], zi = V("tag:yaml.org,2002:bool", {
115
115
  implicit: !0,
116
116
  implicitFirstChars: [
117
117
  "t",
@@ -122,7 +122,7 @@ var qi = q("tag:yaml.org,2002:str", {
122
122
  resolve: (e) => Ki.indexOf(e) !== -1 ? !0 : Hi.indexOf(e) !== -1 ? !1 : T,
123
123
  identify: (e) => Object.prototype.toString.call(e) === "[object Boolean]",
124
124
  represent: (e) => e ? "true" : "false"
125
- }), Gi = ["true"], Wi = ["false"], Qi = q("tag:yaml.org,2002:bool", {
125
+ }), Gi = ["true"], Wi = ["false"], Qi = V("tag:yaml.org,2002:bool", {
126
126
  implicit: !0,
127
127
  implicitFirstChars: ["t", "f"],
128
128
  resolve: (e) => Gi.indexOf(e) !== -1 ? !0 : Wi.indexOf(e) !== -1 ? !1 : T,
@@ -152,7 +152,7 @@ var qi = q("tag:yaml.org,2002:str", {
152
152
  "off",
153
153
  "Off",
154
154
  "OFF"
155
- ], Zi = q("tag:yaml.org,2002:bool", {
155
+ ], Zi = V("tag:yaml.org,2002:bool", {
156
156
  implicit: !0,
157
157
  implicitFirstChars: [
158
158
  "y",
@@ -181,7 +181,7 @@ function ir(e, n) {
181
181
  const t = tr(e);
182
182
  return Number.isFinite(t) ? t : T;
183
183
  }
184
- var Et = q("tag:yaml.org,2002:int", {
184
+ var Et = V("tag:yaml.org,2002:int", {
185
185
  implicit: !0,
186
186
  implicitFirstChars: [
187
187
  "-",
@@ -203,7 +203,7 @@ function ar(e, n) {
203
203
  const t = lr(e);
204
204
  return Number.isFinite(t) ? t : T;
205
205
  }
206
- var sr = q("tag:yaml.org,2002:int", {
206
+ var sr = V("tag:yaml.org,2002:int", {
207
207
  implicit: !0,
208
208
  implicitFirstChars: ["-", ..."0123456789"],
209
209
  resolve: ar,
@@ -226,7 +226,7 @@ function fr(e) {
226
226
  const n = cr(e);
227
227
  return Number.isFinite(n) ? n : T;
228
228
  }
229
- var bn = q("tag:yaml.org,2002:int", {
229
+ var bn = V("tag:yaml.org,2002:int", {
230
230
  implicit: !0,
231
231
  implicitFirstChars: [
232
232
  "-",
@@ -254,7 +254,7 @@ function hr(e) {
254
254
  const n = e.toString(10);
255
255
  return /^[-+]?[0-9]+e/.test(n) ? n.replace("e", ".e") : n;
256
256
  }
257
- var It = q("tag:yaml.org,2002:float", {
257
+ var It = V("tag:yaml.org,2002:float", {
258
258
  implicit: !0,
259
259
  implicitFirstChars: [
260
260
  "-",
@@ -288,7 +288,7 @@ function br(e) {
288
288
  const n = e.toString(10);
289
289
  return /^[-+]?[0-9]+e/.test(n) ? n.replace("e", ".e") : n;
290
290
  }
291
- var xr = q("tag:yaml.org,2002:float", {
291
+ var xr = V("tag:yaml.org,2002:float", {
292
292
  implicit: !0,
293
293
  implicitFirstChars: ["-", ..."0123456789"],
294
294
  resolve: vr,
@@ -316,7 +316,7 @@ function Cr(e) {
316
316
  const n = e.toString(10);
317
317
  return /^[-+]?[0-9]+e/.test(n) ? n.replace("e", ".e") : n;
318
318
  }
319
- var xn = q("tag:yaml.org,2002:float", {
319
+ var xn = V("tag:yaml.org,2002:float", {
320
320
  implicit: !0,
321
321
  implicitFirstChars: [
322
322
  "-",
@@ -327,7 +327,7 @@ var xn = q("tag:yaml.org,2002:float", {
327
327
  resolve: Ar,
328
328
  identify: (e) => typeof e == "number" && (!Number.isInteger(e) || Object.is(e, -0) || e.toString(10).indexOf("e") >= 0),
329
329
  represent: Cr
330
- }), wr = q("tag:yaml.org,2002:merge", {
330
+ }), wr = V("tag:yaml.org,2002:merge", {
331
331
  implicit: !0,
332
332
  implicitFirstChars: ["<"],
333
333
  resolve: (e, n) => e === "<<" || n && e === "" ? Ln : T
@@ -344,7 +344,7 @@ function Er(e) {
344
344
  for (let t = 0; t < e.length; t++) n += String.fromCharCode(e[t]);
345
345
  return btoa(n);
346
346
  }
347
- var Ir = q("tag:yaml.org,2002:binary", {
347
+ var Ir = V("tag:yaml.org,2002:binary", {
348
348
  resolve: _r,
349
349
  identify: (e) => Object.prototype.toString.call(e) === "[object Uint8Array]",
350
350
  represent: Er
@@ -375,7 +375,7 @@ function Lr(e) {
375
375
  }
376
376
  return u;
377
377
  }
378
- var Fr = q("tag:yaml.org,2002:timestamp", {
378
+ var Fr = V("tag:yaml.org,2002:timestamp", {
379
379
  implicit: !0,
380
380
  implicitFirstChars: [..."0123456789"],
381
381
  resolve: Lr,
@@ -490,15 +490,15 @@ function Br(e) {
490
490
  }
491
491
  var rn = class Nt {
492
492
  constructor(n) {
493
- L(this, "tags");
494
- L(this, "implicitScalarTags");
495
- L(this, "implicitScalarByFirstChar");
496
- L(this, "implicitScalarAnyFirstChar");
497
- L(this, "defaultScalarTag");
498
- L(this, "defaultSequenceTag");
499
- L(this, "defaultMappingTag");
500
- L(this, "exact");
501
- L(this, "prefix");
493
+ R(this, "tags");
494
+ R(this, "implicitScalarTags");
495
+ R(this, "implicitScalarByFirstChar");
496
+ R(this, "implicitScalarAnyFirstChar");
497
+ R(this, "defaultScalarTag");
498
+ R(this, "defaultSequenceTag");
499
+ R(this, "defaultMappingTag");
500
+ R(this, "exact");
501
+ R(this, "prefix");
502
502
  const t = Br(n), i = [], r = qr(), o = Vr();
503
503
  for (const c of t) {
504
504
  if (c.nodeKind === "scalar" && c.implicit) {
@@ -664,8 +664,8 @@ ${e.mark.snippet}`), `${e.reason} ${t}`) : e.reason;
664
664
  var Fe = class extends Error {
665
665
  constructor(n, t) {
666
666
  super();
667
- L(this, "reason");
668
- L(this, "mark");
667
+ R(this, "reason");
668
+ R(this, "mark");
669
669
  this.name = "YAMLException", this.reason = n, this.mark = t, this.message = lt(this, !1), Error.captureStackTrace && Error.captureStackTrace(this, this.constructor);
670
670
  }
671
671
  toString(n) {
@@ -1171,14 +1171,14 @@ function oe(e, n) {
1171
1171
  function x(e, n) {
1172
1172
  on(e.input.slice(0, e.length), e.position, n, e.filename);
1173
1173
  }
1174
- function R(e) {
1174
+ function P(e) {
1175
1175
  return e === 10 || e === 13;
1176
1176
  }
1177
1177
  function pe(e) {
1178
1178
  return e === 9 || e === 32;
1179
1179
  }
1180
1180
  function Q(e) {
1181
- return pe(e) || R(e);
1181
+ return pe(e) || P(e);
1182
1182
  }
1183
1183
  function X(e) {
1184
1184
  return e === 0 || Q(e);
@@ -1203,15 +1203,15 @@ function vo(e) {
1203
1203
  function Xe(e) {
1204
1204
  e.input.charCodeAt(e.position) === 10 ? e.position++ : (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++), e.line++, e.lineStart = e.position, e.lineIndent = 0, e.firstTabInLine = -1;
1205
1205
  }
1206
- function B(e, n) {
1206
+ function D(e, n) {
1207
1207
  let t = 0, i = e.input.charCodeAt(e.position), r = e.position === e.lineStart || Q(e.input.charCodeAt(e.position - 1));
1208
1208
  for (; i !== 0; ) {
1209
1209
  for (; pe(i); )
1210
1210
  r = !0, i === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), i = e.input.charCodeAt(++e.position);
1211
1211
  if (n && r && i === 35) do
1212
1212
  i = e.input.charCodeAt(++e.position);
1213
- while (!R(i) && i !== 0);
1214
- if (!R(i)) break;
1213
+ while (!P(i) && i !== 0);
1214
+ if (!P(i)) break;
1215
1215
  for (Xe(e), t++, r = !0, i = e.input.charCodeAt(e.position); i === 32; )
1216
1216
  e.lineIndent++, i = e.input.charCodeAt(++e.position);
1217
1217
  }
@@ -1227,7 +1227,7 @@ function le(e, n = e.position) {
1227
1227
  }
1228
1228
  function dt(e) {
1229
1229
  let n = e.input.charCodeAt(e.position);
1230
- for (; n !== 0 && !R(n); ) n = e.input.charCodeAt(++e.position);
1230
+ for (; n !== 0 && !P(n); ) n = e.input.charCodeAt(++e.position);
1231
1231
  }
1232
1232
  function Dt(e, n, t) {
1233
1233
  ao.test(e.input.slice(n, t)) && x(e, "the stream contains non-printable characters");
@@ -1264,7 +1264,7 @@ function So(e, n) {
1264
1264
  return e.position === t && x(e, "name of an alias node must contain at least one character"), mo(e, t, e.position), !0;
1265
1265
  }
1266
1266
  function Cn(e, n) {
1267
- B(e, !1), e.lineIndent < n && x(e, "deficient indentation");
1267
+ D(e, !1), e.lineIndent < n && x(e, "deficient indentation");
1268
1268
  }
1269
1269
  function ko(e, n, t) {
1270
1270
  if (e.input.charCodeAt(e.position) !== 39) return !1;
@@ -1281,7 +1281,7 @@ function ko(e, n, t) {
1281
1281
  const l = e.position;
1282
1282
  return e.position++, Ae(e, i, l, t.anchorStart, t.anchorEnd, t.tagStart, t.tagEnd, 2, 1, -1, r), !0;
1283
1283
  }
1284
- R(o) ? (r = !1, Cn(e, n)) : e.position === e.lineStart && le(e) ? x(e, "unexpected end of the document within a single quoted scalar") : o !== 9 && o < 32 ? x(e, "expected valid JSON character") : e.position++;
1284
+ P(o) ? (r = !1, Cn(e, n)) : e.position === e.lineStart && le(e) ? x(e, "unexpected end of the document within a single quoted scalar") : o !== 9 && o < 32 ? x(e, "expected valid JSON character") : e.position++;
1285
1285
  }
1286
1286
  x(e, "unexpected end of the stream within a single quoted scalar");
1287
1287
  }
@@ -1299,7 +1299,7 @@ function Ao(e, n, t) {
1299
1299
  if (o === 92) {
1300
1300
  r = !1;
1301
1301
  const l = e.input.charCodeAt(++e.position);
1302
- if (R(l)) Cn(e, n);
1302
+ if (P(l)) Cn(e, n);
1303
1303
  else if (vo(l)) e.position++;
1304
1304
  else {
1305
1305
  let a = yo(l);
@@ -1307,7 +1307,7 @@ function Ao(e, n, t) {
1307
1307
  e.position++, go(e.input.charCodeAt(e.position)) < 0 && x(e, "expected hexadecimal character");
1308
1308
  e.position++;
1309
1309
  }
1310
- } else R(o) ? (r = !1, Cn(e, n)) : e.position === e.lineStart && le(e) ? x(e, "unexpected end of the document within a double quoted scalar") : o !== 9 && o < 32 ? x(e, "expected valid JSON character") : e.position++;
1310
+ } else P(o) ? (r = !1, Cn(e, n)) : e.position === e.lineStart && le(e) ? x(e, "unexpected end of the document within a double quoted scalar") : o !== 9 && o < 32 ? x(e, "expected valid JSON character") : e.position++;
1311
1311
  }
1312
1312
  x(e, "unexpected end of the stream within a double quoted scalar");
1313
1313
  }
@@ -1327,7 +1327,7 @@ function Co(e, n, t) {
1327
1327
  let s = !1;
1328
1328
  for (; pe(e.input.charCodeAt(e.position)); )
1329
1329
  s = !0, e.position++;
1330
- s && e.input.charCodeAt(e.position) === 35 && dt(e), R(e.input.charCodeAt(e.position)) ? Xe(e) : e.input.charCodeAt(e.position) !== 0 && x(e, "a line break is expected");
1330
+ s && e.input.charCodeAt(e.position) === 35 && dt(e), P(e.input.charCodeAt(e.position)) ? Xe(e) : e.input.charCodeAt(e.position) !== 0 && x(e, "a line break is expected");
1331
1331
  let u = l ? o : -1, c = 0;
1332
1332
  const g = e.position;
1333
1333
  let m = e.position;
@@ -1341,17 +1341,17 @@ function Co(e, n, t) {
1341
1341
  break;
1342
1342
  }
1343
1343
  if (b === e.lineStart && le(e, b)) break;
1344
- if (!l && u === -1 && R(h) && (c = Math.max(c, p)), !l && u === -1 && !R(h) && (h === 9 && p < n && (e.position = b + p, x(e, "tab characters must not be used in indentation")), p < c && (e.position = b + p, x(e, "bad indentation of a mapping entry"))), u === -1 && h !== 0 && !R(h) && p < n) {
1344
+ if (!l && u === -1 && P(h) && (c = Math.max(c, p)), !l && u === -1 && !P(h) && (h === 9 && p < n && (e.position = b + p, x(e, "tab characters must not be used in indentation")), p < c && (e.position = b + p, x(e, "bad indentation of a mapping entry"))), u === -1 && h !== 0 && !P(h) && p < n) {
1345
1345
  e.lineIndent = p, e.position = b + p;
1346
1346
  break;
1347
1347
  }
1348
- !l && h !== 0 && !R(h) && u === -1 && (u = p);
1348
+ !l && h !== 0 && !P(h) && u === -1 && (u = p);
1349
1349
  const v = u === -1 ? n + 1 : u;
1350
- if (h !== 0 && !R(h) && p < v) {
1350
+ if (h !== 0 && !P(h) && p < v) {
1351
1351
  e.lineIndent = p, e.position = b + p;
1352
1352
  break;
1353
1353
  }
1354
- dt(e), m = e.position, R(e.input.charCodeAt(e.position)) && (Xe(e), m = e.position);
1354
+ dt(e), m = e.position, P(e.input.charCodeAt(e.position)) && (Xe(e), m = e.position);
1355
1355
  }
1356
1356
  return Dt(e, g, m), Ae(e, g, m, t.anchorStart, t.anchorEnd, t.tagStart, t.tagEnd, a, r, u), !0;
1357
1357
  }
@@ -1378,9 +1378,9 @@ function To(e, n, t, i) {
1378
1378
  if (Q(e.input.charCodeAt(e.position - 1))) break;
1379
1379
  } else {
1380
1380
  if (a && me(l)) break;
1381
- if (R(l)) {
1381
+ if (P(l)) {
1382
1382
  const u = e.position, c = e.line, g = e.lineStart, m = e.lineIndent;
1383
- if (B(e, !1), e.lineIndent >= n) {
1383
+ if (D(e, !1), e.lineIndent >= n) {
1384
1384
  s = !0, l = e.input.charCodeAt(e.position);
1385
1385
  continue;
1386
1386
  }
@@ -1394,7 +1394,7 @@ function To(e, n, t, i) {
1394
1394
  }
1395
1395
  function ce(e, n) {
1396
1396
  const t = e.line;
1397
- B(e, !0), (e.line > t && e.lineIndent < n || e.firstTabInLine !== -1 && e.lineIndent < n) && x(e, "deficient indentation");
1397
+ D(e, !0), (e.line > t && e.lineIndent < n || e.firstTabInLine !== -1 && e.lineIndent < n) && x(e, "deficient indentation");
1398
1398
  }
1399
1399
  function _o(e, n, t) {
1400
1400
  const i = e.input.charCodeAt(e.position), r = i === 123, o = e.position;
@@ -1420,8 +1420,8 @@ function pt(e, n, t) {
1420
1420
  e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, x(e, "tab characters must not be used in indentation"));
1421
1421
  const i = e.line;
1422
1422
  e.position++;
1423
- const r = B(e, !0) > 0;
1424
- if (e.firstTabInLine !== -1 && e.input.charCodeAt(e.position) === 45 && X(e.input.charCodeAt(e.position + 1)) && x(e, "bad indentation of a sequence entry"), r && e.lineIndent <= n ? Y(e) : Z(e, n, Ut, !1, !0), B(e, !0), e.lineIndent < n || e.position >= e.length) break;
1423
+ const r = D(e, !0) > 0;
1424
+ if (e.firstTabInLine !== -1 && e.input.charCodeAt(e.position) === 45 && X(e.input.charCodeAt(e.position + 1)) && x(e, "bad indentation of a sequence entry"), r && e.lineIndent <= n ? Y(e) : Z(e, n, Ut, !1, !0), D(e, !0), e.lineIndent < n || e.position >= e.length) break;
1425
1425
  e.lineIndent > n && x(e, "bad indentation of a sequence entry"), e.line === i && e.input.charCodeAt(e.position) === 45 && X(e.input.charCodeAt(e.position + 1)) && x(e, "bad indentation of a sequence entry");
1426
1426
  }
1427
1427
  return xe(e), !0;
@@ -1454,7 +1454,7 @@ function vn(e, n, t, i) {
1454
1454
  else
1455
1455
  return i.anchorStart !== w || i.tagStart !== w ? (oe(e, g), !1) : !0;
1456
1456
  }
1457
- if (Z(e, n, Je, !0, a) && (a = !1), r || a && (Y(e), a = !1), B(e, !0), s = e.input.charCodeAt(e.position), (e.line === c || e.lineIndent > n) && s !== 0) x(e, "bad indentation of a mapping entry");
1457
+ if (Z(e, n, Je, !0, a) && (a = !1), r || a && (Y(e), a = !1), D(e, !0), s = e.input.charCodeAt(e.position), (e.line === c || e.lineIndent > n) && s !== 0) x(e, "bad indentation of a mapping entry");
1458
1458
  else if (e.lineIndent < n) break;
1459
1459
  }
1460
1460
  return o ? (r && Y(e), l && xe(e), !0) : !1;
@@ -1466,19 +1466,19 @@ function Z(e, n, t, i, r, o = !0) {
1466
1466
  const c = ft();
1467
1467
  let g = t === Je || t === Ut, m = g;
1468
1468
  const b = g;
1469
- if (i && B(e, !0) && (a = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : l = -1), e.position === e.lineStart && le(e))
1469
+ if (i && D(e, !0) && (a = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : l = -1), e.position === e.lineStart && le(e))
1470
1470
  return e.depth--, !1;
1471
1471
  if (l === 1) for (; ; ) {
1472
1472
  const v = e.input.charCodeAt(e.position), k = Ne(e);
1473
1473
  if (a && l !== 1 && (v === 33 || v === 38)) break;
1474
1474
  if (a && b && (c.tagStart !== w || c.anchorStart !== w) && (v === 33 || v === 38)) {
1475
- const C = Ne(e), P = n + 1;
1476
- if (vn(e, e.position - e.lineStart, P, c) && ((p = e.events[C.eventsLength]) == null ? void 0 : p.type) === 3)
1475
+ const C = Ne(e), I = n + 1;
1476
+ if (vn(e, e.position - e.lineStart, I, c) && ((p = e.events[C.eventsLength]) == null ? void 0 : p.type) === 3)
1477
1477
  return e.depth--, !0;
1478
1478
  oe(e, C);
1479
1479
  }
1480
1480
  if (a && (v === 33 && c.tagStart !== w || v === 38 && c.anchorStart !== w) || !bo(e, c, t === ie) && !xo(e, c)) break;
1481
- u === null && (u = k), B(e, !0) ? (a = !0, m = b, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : l = -1) : m = !1;
1481
+ u === null && (u = k), D(e, !0) ? (a = !0, m = b, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : l = -1) : m = !1;
1482
1482
  }
1483
1483
  if (m && (m = a || r), l === 1 || t === Je) {
1484
1484
  const v = t === ie || t === kn ? n : n + 1, k = e.position - e.lineStart;
@@ -1486,8 +1486,8 @@ function Z(e, n, t, i, r, o = !0) {
1486
1486
  else {
1487
1487
  const C = e.input.charCodeAt(e.position);
1488
1488
  if (u !== null && o && b && !m && C !== 124 && C !== 62) {
1489
- const P = Ne(e), D = u.position - u.lineStart;
1490
- oe(e, u), vn(e, D, v, ft()) && ((h = e.events[P.eventsLength]) == null ? void 0 : h.type) === 3 ? s = !0 : oe(e, P);
1489
+ const I = Ne(e), F = u.position - u.lineStart;
1490
+ oe(e, u), vn(e, F, v, ft()) && ((h = e.events[I.eventsLength]) == null ? void 0 : h.type) === 3 ? s = !0 : oe(e, I);
1491
1491
  }
1492
1492
  !s && (g && Co(e, v, c) || ko(e, v, c) || Ao(e, v, c) || So(e, c) || To(e, v, t, c)) && (s = !0);
1493
1493
  }
@@ -1501,14 +1501,14 @@ function Eo(e) {
1501
1501
  const n = e.position;
1502
1502
  for (; e.input.charCodeAt(e.position) !== 0 && !Q(e.input.charCodeAt(e.position)); ) e.position++;
1503
1503
  const t = e.input.slice(n, e.position), i = [];
1504
- for (t.length === 0 && x(e, "directive name must not be less than one character in length"); e.input.charCodeAt(e.position) !== 0 && !R(e.input.charCodeAt(e.position)); ) {
1504
+ for (t.length === 0 && x(e, "directive name must not be less than one character in length"); e.input.charCodeAt(e.position) !== 0 && !P(e.input.charCodeAt(e.position)); ) {
1505
1505
  for (; pe(e.input.charCodeAt(e.position)); ) e.position++;
1506
- if (e.input.charCodeAt(e.position) === 35 || R(e.input.charCodeAt(e.position)) || e.input.charCodeAt(e.position) === 0) break;
1506
+ if (e.input.charCodeAt(e.position) === 35 || P(e.input.charCodeAt(e.position)) || e.input.charCodeAt(e.position) === 0) break;
1507
1507
  const r = e.position;
1508
1508
  for (; e.input.charCodeAt(e.position) !== 0 && !Q(e.input.charCodeAt(e.position)); ) e.position++;
1509
1509
  i.push(e.input.slice(r, e.position));
1510
1510
  }
1511
- if (R(e.input.charCodeAt(e.position)) && Xe(e), t === "YAML") {
1511
+ if (P(e.input.charCodeAt(e.position)) && Xe(e), t === "YAML") {
1512
1512
  e.directives.some((o) => o.kind === "yaml") && x(e, "duplication of %YAML directive"), i.length !== 1 && x(e, "YAML directive accepts exactly one argument");
1513
1513
  const r = /^([0-9]+)\.([0-9]+)$/.exec(i[0]);
1514
1514
  r === null && x(e, "ill-formed argument of the YAML directive"), parseInt(r[1], 10) !== 1 && x(e, "unacceptable YAML version of the document"), e.directives.push({
@@ -1529,22 +1529,22 @@ function Eo(e) {
1529
1529
  function Io(e) {
1530
1530
  e.directives = [], e.tagHandlers = /* @__PURE__ */ Object.create(null);
1531
1531
  let n = !1;
1532
- for (B(e, !0); Eo(e); )
1533
- n = !0, B(e, !0);
1532
+ for (D(e, !0); Eo(e); )
1533
+ n = !0, D(e, !0);
1534
1534
  let t = !1, i = !1, r = !0;
1535
1535
  if (e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 && X(e.input.charCodeAt(e.position + 3))) {
1536
1536
  t = !0;
1537
1537
  const a = e.line;
1538
- e.position += 3, B(e, !0), r = e.line > a;
1538
+ e.position += 3, D(e, !0), r = e.line > a;
1539
1539
  } else n && x(e, "directives end mark is expected");
1540
1540
  const o = e.events.length;
1541
1541
  if (!t && e.position === e.lineStart && e.input.charCodeAt(e.position) === 46 && le(e)) {
1542
- e.position += 3, B(e, !0);
1542
+ e.position += 3, D(e, !0);
1543
1543
  return;
1544
1544
  }
1545
- if (po(e, t, !1), Z(e, e.lineIndent - 1, Je, !1, r, r) || Y(e), B(e, !0), e.position === e.lineStart && le(e) && (i = e.input.charCodeAt(e.position) === 46, i)) {
1545
+ if (po(e, t, !1), Z(e, e.lineIndent - 1, Je, !1, r, r) || Y(e), D(e, !0), e.position === e.lineStart && le(e) && (i = e.input.charCodeAt(e.position) === 46, i)) {
1546
1546
  const a = e.line;
1547
- e.position += 3, B(e, !0), e.line === a && e.position < e.length && x(e, "end of the stream or a document separator is expected");
1547
+ e.position += 3, D(e, !0), e.line === a && e.position < e.length && x(e, "end of the stream or a document separator is expected");
1548
1548
  }
1549
1549
  const l = e.events[o];
1550
1550
  (l == null ? void 0 : l.type) === 1 && (l.explicitEnd = i), xe(e), !i && e.position < e.length && !(e.position === e.lineStart && le(e)) && x(e, "end of the stream or a document separator is expected");
@@ -1565,7 +1565,7 @@ function No(e, n) {
1565
1565
  tagHandlers: /* @__PURE__ */ Object.create(null),
1566
1566
  events: []
1567
1567
  }, r = e.indexOf("\0");
1568
- for (r !== -1 && on(e, r, "null byte is not allowed in input", i.filename), i.input.charCodeAt(i.position) === 65279 && i.position++; i.position < i.length && (B(i, !0), !(i.position >= i.length)); ) {
1568
+ for (r !== -1 && on(e, r, "null byte is not allowed in input", i.filename), i.input.charCodeAt(i.position) === 65279 && i.position++; i.position < i.length && (D(i, !0), !(i.position >= i.length)); ) {
1569
1569
  const o = i.position;
1570
1570
  Io(i), i.position === o && x(i, "can not read a document");
1571
1571
  }
@@ -1593,12 +1593,12 @@ function wn(e, n) {
1593
1593
  }
1594
1594
  var De = class {
1595
1595
  constructor() {
1596
- L(this, "tagged", !1);
1597
- L(this, "flow", !1);
1598
- L(this, "singleQuoted", !1);
1599
- L(this, "doubleQuoted", !1);
1600
- L(this, "literal", !1);
1601
- L(this, "folded", !1);
1596
+ R(this, "tagged", !1);
1597
+ R(this, "flow", !1);
1598
+ R(this, "singleQuoted", !1);
1599
+ R(this, "doubleQuoted", !1);
1600
+ R(this, "literal", !1);
1601
+ R(this, "folded", !1);
1602
1602
  }
1603
1603
  }, de = Symbol("INVALID");
1604
1604
  function Fo(e) {
@@ -1747,22 +1747,22 @@ function Mo(e, n) {
1747
1747
  isKey: !1
1748
1748
  })) return;
1749
1749
  }
1750
- var Un = 65279, Uo = 9, he = 10, jt = 13, qo = 32, Vo = 33, Kt = 34, Tn = 35, Bo = 37, Do = 38, Ht = 39, Yo = 42, zt = 44, qn = 45, Re = 58, jo = 61, Ko = 62, Gt = 63, Ho = 64, Wt = 91, Qt = 93, zo = 96, Jt = 123, Go = 124, Xt = 125, V = {};
1751
- V[0] = "\\0";
1752
- V[7] = "\\a";
1753
- V[8] = "\\b";
1754
- V[9] = "\\t";
1755
- V[10] = "\\n";
1756
- V[11] = "\\v";
1757
- V[12] = "\\f";
1758
- V[13] = "\\r";
1759
- V[27] = "\\e";
1760
- V[34] = '\\"';
1761
- V[92] = "\\\\";
1762
- V[133] = "\\N";
1763
- V[160] = "\\_";
1764
- V[8232] = "\\L";
1765
- V[8233] = "\\P";
1750
+ var Un = 65279, Uo = 9, he = 10, jt = 13, qo = 32, Vo = 33, Kt = 34, Tn = 35, Bo = 37, Do = 38, Ht = 39, Yo = 42, zt = 44, qn = 45, Re = 58, jo = 61, Ko = 62, Gt = 63, Ho = 64, Wt = 91, Qt = 93, zo = 96, Jt = 123, Go = 124, Xt = 125, B = {};
1751
+ B[0] = "\\0";
1752
+ B[7] = "\\a";
1753
+ B[8] = "\\b";
1754
+ B[9] = "\\t";
1755
+ B[10] = "\\n";
1756
+ B[11] = "\\v";
1757
+ B[12] = "\\f";
1758
+ B[13] = "\\r";
1759
+ B[27] = "\\e";
1760
+ B[34] = '\\"';
1761
+ B[92] = "\\\\";
1762
+ B[133] = "\\N";
1763
+ B[160] = "\\_";
1764
+ B[8232] = "\\L";
1765
+ B[8233] = "\\P";
1766
1766
  var Vn = {
1767
1767
  indent: 2,
1768
1768
  seqNoIndent: !1,
@@ -1977,7 +1977,7 @@ function al(e) {
1977
1977
  let n = "", t = 0;
1978
1978
  for (let i = 0; i < e.length; t >= 65536 ? i += 2 : i++) {
1979
1979
  t = Se(e, i);
1980
- const r = V[t];
1980
+ const r = B[t];
1981
1981
  if (r) {
1982
1982
  n += r;
1983
1983
  continue;
@@ -2195,7 +2195,7 @@ const yl = {}, vl = {
2195
2195
  class: "lucide lucide-layers"
2196
2196
  };
2197
2197
  function bl(e, n) {
2198
- return _(), U("svg", vl, [...n[0] || (n[0] = [
2198
+ return _(), q("svg", vl, [...n[0] || (n[0] = [
2199
2199
  y("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),
2200
2200
  y("path", { d: "m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65" }, null, -1),
2201
2201
  y("path", { d: "m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65" }, null, -1)
@@ -2214,7 +2214,7 @@ const xl = /* @__PURE__ */ Ze(yl, [["render", bl]]), Sl = {}, kl = {
2214
2214
  class: "lucide lucide-map"
2215
2215
  };
2216
2216
  function Al(e, n) {
2217
- return _(), U("svg", kl, [...n[0] || (n[0] = [
2217
+ return _(), q("svg", kl, [...n[0] || (n[0] = [
2218
2218
  y("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),
2219
2219
  y("path", { d: "M15 5.764v15" }, null, -1),
2220
2220
  y("path", { d: "M9 3.236v15" }, null, -1)
@@ -2233,7 +2233,7 @@ const Cl = /* @__PURE__ */ Ze(Sl, [["render", Al]]), wl = {}, Tl = {
2233
2233
  class: "lucide lucide-filter"
2234
2234
  };
2235
2235
  function _l(e, n) {
2236
- return _(), U("svg", Tl, [...n[0] || (n[0] = [
2236
+ return _(), q("svg", Tl, [...n[0] || (n[0] = [
2237
2237
  y("polygon", { points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3" }, null, -1)
2238
2238
  ])]);
2239
2239
  }
@@ -2247,14 +2247,14 @@ const El = /* @__PURE__ */ Ze(wl, [["render", _l]]), Il = { class: "flex flex-co
2247
2247
  emits: ["update:style-yaml", "update:style-text", "save"],
2248
2248
  setup(e, { emit: n }) {
2249
2249
  const t = e, i = n, r = E("");
2250
- $(
2250
+ L(
2251
2251
  () => t.styleText,
2252
2252
  (s) => {
2253
2253
  const u = s ?? "";
2254
2254
  r.value !== u && (r.value = u);
2255
2255
  },
2256
2256
  { immediate: !0 }
2257
- ), $(r, async (s) => {
2257
+ ), L(r, async (s) => {
2258
2258
  var c, g;
2259
2259
  const u = s ?? "";
2260
2260
  t.styleText !== u && i("update:style-text", u);
@@ -2313,7 +2313,7 @@ const El = /* @__PURE__ */ Ze(wl, [["render", _l]]), Il = { class: "flex flex-co
2313
2313
  }
2314
2314
  i("save", s && typeof s == "object" ? s : null);
2315
2315
  }
2316
- return (s, u) => (_(), U("div", Il, [
2316
+ return (s, u) => (_(), q("div", Il, [
2317
2317
  y("div", Nl, [
2318
2318
  y("a", {
2319
2319
  target: "_blank",
@@ -2349,7 +2349,7 @@ const El = /* @__PURE__ */ Ze(wl, [["render", _l]]), Il = { class: "flex flex-co
2349
2349
  y("div", { class: "text-xs text-gray-400" }, "YAML")
2350
2350
  ], -1)),
2351
2351
  y("div", Rl, [
2352
- F(_t, {
2352
+ O(_t, {
2353
2353
  modelValue: r.value,
2354
2354
  "onUpdate:modelValue": u[0] || (u[0] = (c) => r.value = c),
2355
2355
  language: "yaml",
@@ -2370,11 +2370,11 @@ const El = /* @__PURE__ */ Ze(wl, [["render", _l]]), Il = { class: "flex flex-co
2370
2370
  emits: ["update:columns", "save"],
2371
2371
  setup(e, { emit: n }) {
2372
2372
  const t = e, i = n, r = E(t.columns || []);
2373
- $(
2373
+ L(
2374
2374
  () => t.columns,
2375
2375
  (p) => r.value = p || [],
2376
2376
  { immediate: !0 }
2377
- ), $(r, (p) => {
2377
+ ), L(r, (p) => {
2378
2378
  const h = We(t.token);
2379
2379
  h && (h.popup = p), i("update:columns", p);
2380
2380
  });
@@ -2422,7 +2422,7 @@ const El = /* @__PURE__ */ Ze(wl, [["render", _l]]), Il = { class: "flex flex-co
2422
2422
  let p = [];
2423
2423
  o.value === "all" ? p = t.fields || [] : o.value === "none" ? p = [] : p = r.value, p.filter((h) => !h.label).forEach((h) => h.label = h.ua), i("save", p);
2424
2424
  }
2425
- return (p, h) => (_(), U("div", Pl, [
2425
+ return (p, h) => (_(), q("div", Pl, [
2426
2426
  y("div", { class: "flex justify-between mb-3 gap-2" }, [
2427
2427
  y("button", {
2428
2428
  onClick: c,
@@ -2434,7 +2434,7 @@ const El = /* @__PURE__ */ Ze(wl, [["render", _l]]), Il = { class: "flex flex-co
2434
2434
  }, " Зберегти попап ")
2435
2435
  ]),
2436
2436
  y("div", Ml, [
2437
- o.value === "list" ? (_(), M(en, {
2437
+ o.value === "list" ? (_(), U(en, {
2438
2438
  key: 0,
2439
2439
  modelValue: r.value,
2440
2440
  "onUpdate:modelValue": h[0] || (h[0] = (v) => r.value = v),
@@ -2444,7 +2444,7 @@ const El = /* @__PURE__ */ Ze(wl, [["render", _l]]), Il = { class: "flex flex-co
2444
2444
  "add-button": !1
2445
2445
  }, null, 8, ["modelValue"])) : W("", !0)
2446
2446
  ]),
2447
- F(Nn, {
2447
+ O(Nn, {
2448
2448
  visible: l.value,
2449
2449
  "onUpdate:visible": h[1] || (h[1] = (v) => l.value = v),
2450
2450
  selection: a.value,
@@ -2467,12 +2467,12 @@ const El = /* @__PURE__ */ Ze(wl, [["render", _l]]), Il = { class: "flex flex-co
2467
2467
  emits: ["update:columns", "save"],
2468
2468
  setup(e, { emit: n }) {
2469
2469
  const t = e, i = n, r = E(t.columns || []);
2470
- $(
2470
+ L(
2471
2471
  () => t.columns,
2472
2472
  (p) => {
2473
2473
  r.value = p || [];
2474
2474
  }
2475
- ), $(r, (p) => {
2475
+ ), L(r, (p) => {
2476
2476
  i("update:columns", p);
2477
2477
  });
2478
2478
  const o = E(!1), l = E({
@@ -2506,7 +2506,7 @@ const El = /* @__PURE__ */ Ze(wl, [["render", _l]]), Il = { class: "flex flex-co
2506
2506
  }
2507
2507
  const h = ((C = l.value.color) == null ? void 0 : C.trim()) || "#2E86DE";
2508
2508
  if (r.value.some(
2509
- (P) => Le(P) === Le({ name: p })
2509
+ (I) => Le(I) === Le({ name: p })
2510
2510
  )) {
2511
2511
  te({
2512
2512
  type: "warning",
@@ -2520,7 +2520,7 @@ const El = /* @__PURE__ */ Ze(wl, [["render", _l]]), Il = { class: "flex flex-co
2520
2520
  function b() {
2521
2521
  i("save", r.value);
2522
2522
  }
2523
- return (p, h) => (_(), U("div", ql, [
2523
+ return (p, h) => (_(), q("div", ql, [
2524
2524
  y("div", Vl, [
2525
2525
  y("button", {
2526
2526
  onClick: h[0] || (h[0] = (v) => o.value = !0),
@@ -2531,7 +2531,7 @@ const El = /* @__PURE__ */ Ze(wl, [["render", _l]]), Il = { class: "flex flex-co
2531
2531
  class: "inline-flex items-center justify-center gap-1 px-3 py-1.5 rounded-md bg-sky-100 hover:bg-sky-200 text-sky-700 font-medium text-sm transition disabled:opacity-70 disabled:cursor-not-allowed"
2532
2532
  }, " Зберегти легенду ")
2533
2533
  ]),
2534
- F(en, {
2534
+ O(en, {
2535
2535
  modelValue: r.value,
2536
2536
  "onUpdate:modelValue": h[1] || (h[1] = (v) => r.value = v),
2537
2537
  "columns-scheme": s,
@@ -2539,7 +2539,7 @@ const El = /* @__PURE__ */ Ze(wl, [["render", _l]]), Il = { class: "flex flex-co
2539
2539
  "main-col-width": "250px",
2540
2540
  "add-button": !1
2541
2541
  }, null, 8, ["modelValue"]),
2542
- F(ze(a), {
2542
+ O(ze(a), {
2543
2543
  teleport: "#modal",
2544
2544
  visible: o.value,
2545
2545
  title: "Новий елемент легенди",
@@ -2612,13 +2612,13 @@ const El = /* @__PURE__ */ Ze(wl, [["render", _l]]), Il = { class: "flex flex-co
2612
2612
  { value: "list", label: "List" },
2613
2613
  { value: "none", label: "None" }
2614
2614
  ];
2615
- return (l, a) => (_(), U("div", zl, [
2615
+ return (l, a) => (_(), q("div", zl, [
2616
2616
  a[1] || (a[1] = y("label", { class: "text-sm font-medium text-gray-600" }, "Режим відображення", -1)),
2617
2617
  y("div", {
2618
2618
  role: "radiogroup",
2619
2619
  class: Ee(["grid gap-2", `grid-cols-${ze(o).length}`])
2620
2620
  }, [
2621
- (_(!0), U(At, null, Ct(ze(o), (s) => (_(), U("div", {
2621
+ (_(!0), q(At, null, Ct(ze(o), (s) => (_(), q("div", {
2622
2622
  key: s.value,
2623
2623
  onClick: (u) => r(s.value),
2624
2624
  class: Ee(["flex items-center justify-center space-x-2 rounded-lg p-2 border transition-all duration-300 cursor-pointer", [
@@ -2632,7 +2632,7 @@ const El = /* @__PURE__ */ Ze(wl, [["render", _l]]), Il = { class: "flex flex-co
2632
2632
  value: s.value,
2633
2633
  class: "aspect-square rounded-full border border-primary h-4 w-4 flex items-center justify-center text-sky-500"
2634
2634
  }, [
2635
- e.modelValue === s.value ? (_(), U("span", Ql, [...a[0] || (a[0] = [
2635
+ e.modelValue === s.value ? (_(), q("span", Ql, [...a[0] || (a[0] = [
2636
2636
  y("svg", {
2637
2637
  xmlns: "http://www.w3.org/2000/svg",
2638
2638
  viewBox: "0 0 24 24",
@@ -2669,20 +2669,20 @@ const El = /* @__PURE__ */ Ze(wl, [["render", _l]]), Il = { class: "flex flex-co
2669
2669
  emits: ["update:columns", "save"],
2670
2670
  setup(e, { emit: n }) {
2671
2671
  const t = e, i = n, r = E(t.columns || []);
2672
- $(
2672
+ L(
2673
2673
  () => t.columns,
2674
2674
  (v) => r.value = v || [],
2675
2675
  { immediate: !0 }
2676
- ), $(r, (v) => i("update:columns", v));
2676
+ ), L(r, (v) => i("update:columns", v));
2677
2677
  const o = E(t.viewMode ?? "list");
2678
- $(
2678
+ L(
2679
2679
  () => t.viewMode,
2680
2680
  (v) => {
2681
2681
  v && v !== o.value && (o.value = v);
2682
2682
  }
2683
2683
  );
2684
2684
  const l = E(t.html ?? "");
2685
- $(
2685
+ L(
2686
2686
  () => t.html,
2687
2687
  (v) => {
2688
2688
  typeof v == "string" && v !== l.value && (l.value = v);
@@ -2742,26 +2742,26 @@ const El = /* @__PURE__ */ Ze(wl, [["render", _l]]), Il = { class: "flex flex-co
2742
2742
  s.value = o.value === "html" ? [] : r.value.map((v) => v.name || v.id), a.value = !0;
2743
2743
  }
2744
2744
  function m() {
2745
- var P;
2746
- const v = [...r.value], k = ((P = t.fields) == null ? void 0 : P.filter((D) => s.value.includes(D.name)).map((D) => {
2747
- const { type: Ce, format: ge, ...G } = D;
2745
+ var I;
2746
+ const v = [...r.value], k = ((I = t.fields) == null ? void 0 : I.filter((F) => s.value.includes(F.name)).map((F) => {
2747
+ const { type: Ce, format: ge, ...G } = F;
2748
2748
  return {
2749
2749
  ...G,
2750
- format: ge ?? Ce ?? "text"
2750
+ format: ge ?? (F.name === "files" ? "file" : Ce ?? "text")
2751
2751
  };
2752
2752
  })) || [], C = $n(v, k, {
2753
2753
  selectedKeys: s.value,
2754
- resolveKey: (D) => Le(D)
2754
+ resolveKey: (F) => Le(F)
2755
2755
  });
2756
2756
  if (r.value = C, o.value === "html" && k.length) {
2757
- const D = k.map((G) => {
2757
+ const F = k.map((G) => {
2758
2758
  const we = G.label ?? "", ye = G.name ?? G.id ?? "";
2759
2759
  return `<dd>${we}</dd>
2760
2760
  <dt>{{ ${ye} }}</dt>`;
2761
2761
  }).join(`
2762
2762
  `), ge = (l.value ?? "").trimEnd();
2763
2763
  l.value = ge ? `${ge}
2764
- ${D}` : D;
2764
+ ${F}` : F;
2765
2765
  }
2766
2766
  a.value = !1, s.value = [];
2767
2767
  }
@@ -2780,7 +2780,7 @@ ${D}` : D;
2780
2780
  { value: "none", label: "Жодне" },
2781
2781
  { value: "html", label: "HTML" }
2782
2782
  ];
2783
- return (v, k) => (_(), U("div", Xl, [
2783
+ return (v, k) => (_(), q("div", Xl, [
2784
2784
  y("div", { class: "flex justify-between mb-3 gap-2" }, [
2785
2785
  y("button", {
2786
2786
  onClick: g,
@@ -2791,13 +2791,13 @@ ${D}` : D;
2791
2791
  class: "inline-flex items-center justify-center gap-1 px-3 py-1.5 rounded-md bg-sky-100 hover:bg-sky-200 text-sky-700 font-medium text-sm transition disabled:opacity-70 disabled:cursor-not-allowed"
2792
2792
  }, " Зберегти ")
2793
2793
  ]),
2794
- F(Jl, {
2794
+ O(Jl, {
2795
2795
  modelValue: o.value,
2796
2796
  "onUpdate:modelValue": k[0] || (k[0] = (C) => o.value = C),
2797
2797
  options: h
2798
2798
  }, null, 8, ["modelValue"]),
2799
2799
  y("div", Zl, [
2800
- o.value === "list" ? (_(), M(en, {
2800
+ o.value === "list" ? (_(), U(en, {
2801
2801
  key: 0,
2802
2802
  modelValue: r.value,
2803
2803
  "onUpdate:modelValue": k[1] || (k[1] = (C) => r.value = C),
@@ -2805,7 +2805,7 @@ ${D}` : D;
2805
2805
  "form-scheme": c,
2806
2806
  "main-col-width": "250px",
2807
2807
  "add-button": !1
2808
- }, null, 8, ["modelValue"])) : o.value === "html" ? (_(), M(_t, {
2808
+ }, null, 8, ["modelValue"])) : o.value === "html" ? (_(), U(_t, {
2809
2809
  key: 1,
2810
2810
  modelValue: l.value,
2811
2811
  "onUpdate:modelValue": k[2] || (k[2] = (C) => l.value = C),
@@ -2814,7 +2814,7 @@ ${D}` : D;
2814
2814
  class: "flex-1 min-h-0"
2815
2815
  }, null, 8, ["modelValue"])) : W("", !0)
2816
2816
  ]),
2817
- F(Nn, {
2817
+ O(Nn, {
2818
2818
  visible: a.value,
2819
2819
  "onUpdate:visible": k[3] || (k[3] = (C) => a.value = C),
2820
2820
  selection: s.value,
@@ -2838,11 +2838,11 @@ ${D}` : D;
2838
2838
  const t = e, i = n;
2839
2839
  console.log(t.columns);
2840
2840
  const r = E(t.columns || []);
2841
- $(
2841
+ L(
2842
2842
  () => t.columns,
2843
2843
  (p) => r.value = p || [],
2844
2844
  { immediate: !0 }
2845
- ), $(r, (p) => i("update:columns", p), { deep: !0, immediate: !0 });
2845
+ ), L(r, (p) => i("update:columns", p), { deep: !0, immediate: !0 });
2846
2846
  const o = E("list"), l = E(!1), a = E([]), s = [
2847
2847
  { key: "id", label: "Name" },
2848
2848
  { key: "label", label: "UA" }
@@ -2893,7 +2893,7 @@ ${D}` : D;
2893
2893
  let p = [];
2894
2894
  o.value === "all" ? p = t.fields || [] : o.value === "none" ? p = [] : p = r.value, i("save", p);
2895
2895
  }
2896
- return (p, h) => (_(), U("div", na, [
2896
+ return (p, h) => (_(), q("div", na, [
2897
2897
  y("div", { class: "flex justify-between mb-3 gap-2" }, [
2898
2898
  y("button", {
2899
2899
  onClick: c,
@@ -2904,7 +2904,7 @@ ${D}` : D;
2904
2904
  class: "inline-flex items-center justify-center gap-1 px-3 py-1.5 rounded-md bg-sky-100 hover:bg-sky-200 text-sky-700 font-medium text-sm transition disabled:opacity-70 disabled:cursor-not-allowed"
2905
2905
  }, " Зберегти фільтр ")
2906
2906
  ]),
2907
- o.value === "list" ? (_(), M(en, {
2907
+ o.value === "list" ? (_(), U(en, {
2908
2908
  key: 0,
2909
2909
  modelValue: r.value,
2910
2910
  "onUpdate:modelValue": h[0] || (h[0] = (v) => r.value = v),
@@ -2913,7 +2913,7 @@ ${D}` : D;
2913
2913
  "main-col-width": "250px",
2914
2914
  "add-button": !1
2915
2915
  }, null, 8, ["modelValue"])) : W("", !0),
2916
- F(Nn, {
2916
+ O(Nn, {
2917
2917
  visible: l.value,
2918
2918
  "onUpdate:visible": h[1] || (h[1] = (v) => l.value = v),
2919
2919
  selection: a.value,
@@ -2935,7 +2935,7 @@ ${D}` : D;
2935
2935
  autoCenter: { type: [Boolean, null] }
2936
2936
  },
2937
2937
  setup(e, { expose: n }) {
2938
- var p, h, v, k;
2938
+ var p, h, v, k, C;
2939
2939
  const { map: t, flyTo: i, setZoom: r } = xi(), o = ((h = (p = wt()) == null ? void 0 : p.appContext.config.globalProperties) == null ? void 0 : h.$settings) || null, l = e, a = l.id;
2940
2940
  String(l.id);
2941
2941
  const s = `${location.origin}/api/vtile/${l.id}/ua/{z}/{x}/{y}.vmt?all=1`, u = We(a, {
@@ -2946,35 +2946,44 @@ ${D}` : D;
2946
2946
  maxzoom: 14
2947
2947
  },
2948
2948
  popup: l.layer.popup,
2949
+ card: (v = l.layer) == null ? void 0 : v.card,
2949
2950
  layer: {
2950
2951
  // id: layerId,
2951
2952
  // source: sourceId,
2952
2953
  // 'source-layer': props.id,
2953
- style: (v = l.layer) == null ? void 0 : v.style
2954
+ style: (k = l.layer) == null ? void 0 : k.style
2954
2955
  /* paint: {
2955
2956
  'circle-radius': 6,
2956
2957
  'circle-color': 'red',
2957
2958
  } */
2958
2959
  }
2959
2960
  });
2960
- n({ layerHandle: u }), (l.autoCenter ?? !0) && i({ center: l.layer.center || ((k = o == null ? void 0 : o.map) == null ? void 0 : k.center) || [30, 50], animate: !1 });
2961
+ n({ layerHandle: u }), (l.autoCenter ?? !0) && i({ center: l.layer.center || ((C = o == null ? void 0 : o.map) == null ? void 0 : C.center) || [30, 50], animate: !1 });
2961
2962
  let c = null;
2962
2963
  function g() {
2963
2964
  if (!(u != null && u.setTiles)) return;
2964
- const C = s.includes("?") ? "&" : "?", P = `${s}${C}_=${Date.now()}`;
2965
- u.setTiles([P]);
2965
+ const I = s.includes("?") ? "&" : "?", F = `${s}${I}_=${Date.now()}`;
2966
+ u.setTiles([F]);
2966
2967
  }
2967
2968
  function m() {
2968
2969
  c && clearTimeout(c), c = setTimeout(() => {
2969
- c = null, b().catch((C) => console.error("Failed to update map layer", C));
2970
+ c = null, b().catch((I) => console.error("Failed to update map layer", I));
2970
2971
  }, 300);
2971
2972
  }
2972
2973
  async function b() {
2973
2974
  t.value && (g(), u.setStyle(l.styleSpec ?? null));
2974
2975
  }
2975
- return $(() => l.styleSpec, m, { deep: !0 }), Tt(() => {
2976
+ return L(() => l.styleSpec, m, { deep: !0 }), L(
2977
+ () => {
2978
+ var I;
2979
+ return (I = l.layer) == null ? void 0 : I.card;
2980
+ },
2981
+ (I) => {
2982
+ u && (u.card = I);
2983
+ }
2984
+ ), Tt(() => {
2976
2985
  u.remove();
2977
- }), (C, P) => null;
2986
+ }), (I, F) => null;
2978
2987
  }
2979
2988
  }), ra = { class: "flex h-full bg-gradient-to-br from-slate-50 to-white" }, oa = { class: "flex-1 relative overflow-hidden" }, la = { class: "absolute top-0 left-0 w-full z-20" }, aa = { class: "px-4 sm:px-6 py-4 border-b border-gray-200 bg-white shadow-sm" }, sa = { class: "flex items-start justify-between gap-4" }, ua = { class: "flex-1 min-w-0" }, ca = { class: "flex items-center text-sm text-gray-500 mb-3" }, fa = { class: "text-gray-900 font-medium truncate max-w-xs" }, da = { class: "flex items-center justify-between gap-4" }, pa = { class: "flex-1 min-w-0" }, ma = { class: "flex items-center gap-3 mb-1" }, ha = { class: "text-base font-semibold text-gray-900 truncate" }, ga = {
2980
2989
  key: 0,
@@ -3004,16 +3013,16 @@ ${D}` : D;
3004
3013
  );
3005
3014
  }
3006
3015
  function v(f) {
3007
- var O, A, J;
3008
- const d = (A = (O = p()) == null ? void 0 : O.map) == null ? void 0 : A.value;
3016
+ var M, A, J;
3017
+ const d = (A = (M = p()) == null ? void 0 : M.map) == null ? void 0 : A.value;
3009
3018
  if (!d || !f) return [];
3010
3019
  const S = (J = u.value) != null && J.service_id ? String(u.value.service_id) : null;
3011
- return (d.queryRenderedFeatures(f) || []).filter((N) => {
3020
+ return (d.queryRenderedFeatures(f) || []).filter(($) => {
3012
3021
  var Jn, Xn, Zn, et, nt, tt;
3013
- const ne = ((Jn = N == null ? void 0 : N.properties) == null ? void 0 : Jn.id) ?? (N == null ? void 0 : N.id);
3014
- if (ne == null || !(N != null && N.source) || S && String(N.source) !== S)
3022
+ const ne = ((Jn = $ == null ? void 0 : $.properties) == null ? void 0 : Jn.id) ?? ($ == null ? void 0 : $.id);
3023
+ if (ne == null || !($ != null && $.source) || S && String($.source) !== S)
3015
3024
  return !1;
3016
- const z = We(N.source) || We((Xn = N.layer) == null ? void 0 : Xn.id);
3025
+ const z = We($.source) || We((Xn = $.layer) == null ? void 0 : Xn.id);
3017
3026
  if (!z) return !1;
3018
3027
  const ue = (et = (Zn = z == null ? void 0 : z.opts) == null ? void 0 : Zn.source) == null ? void 0 : et.type, Be = (tt = (nt = z == null ? void 0 : z.opts) == null ? void 0 : nt.layer) == null ? void 0 : tt.type;
3019
3028
  return ue !== "raster" && Be !== "raster";
@@ -3032,36 +3041,36 @@ ${D}` : D;
3032
3041
  const d = typeof f == "number" ? f : Number(f.trim());
3033
3042
  return Number.isFinite(d) ? d : null;
3034
3043
  }
3035
- function P(f, d) {
3044
+ function I(f, d) {
3036
3045
  return f.toFixed(d);
3037
3046
  }
3038
- function D(f, d, S) {
3039
- const I = 0.5 * 10 ** -S;
3040
- return Math.abs(f - d) > I;
3047
+ function F(f, d, S) {
3048
+ const N = 0.5 * 10 ** -S;
3049
+ return Math.abs(f - d) > N;
3041
3050
  }
3042
3051
  function Ce() {
3043
- var N, ne, z, ue;
3044
- const f = (ne = (N = p()) == null ? void 0 : N.map) == null ? void 0 : ne.value;
3052
+ var $, ne, z, ue;
3053
+ const f = (ne = ($ = p()) == null ? void 0 : $.map) == null ? void 0 : ne.value;
3045
3054
  if (!f) return;
3046
- const d = C(i.query.z), S = C(i.query.x), I = C(i.query.y);
3047
- if (d == null || S == null || I == null) return;
3048
- const O = (z = f.getCenter) == null ? void 0 : z.call(f), A = (ue = f.getZoom) == null ? void 0 : ue.call(f);
3049
- (!O || D(O.lng, S, je) || D(O.lat, I, je) || D(A ?? 0, d, kt)) && (b.value = !0, f.jumpTo({ center: [S, I], zoom: d }), b.value = !1);
3055
+ const d = C(i.query.z), S = C(i.query.x), N = C(i.query.y);
3056
+ if (d == null || S == null || N == null) return;
3057
+ const M = (z = f.getCenter) == null ? void 0 : z.call(f), A = (ue = f.getZoom) == null ? void 0 : ue.call(f);
3058
+ (!M || F(M.lng, S, je) || F(M.lat, N, je) || F(A ?? 0, d, kt)) && (b.value = !0, f.jumpTo({ center: [S, N], zoom: d }), b.value = !1);
3050
3059
  }
3051
3060
  function ge() {
3052
- var O, A, J, N;
3061
+ var M, A, J, $;
3053
3062
  if (b.value) return;
3054
- const f = (A = (O = p()) == null ? void 0 : O.map) == null ? void 0 : A.value;
3063
+ const f = (A = (M = p()) == null ? void 0 : M.map) == null ? void 0 : A.value;
3055
3064
  if (!f) return;
3056
- const d = (J = f.getCenter) == null ? void 0 : J.call(f), S = (N = f.getZoom) == null ? void 0 : N.call(f);
3065
+ const d = (J = f.getCenter) == null ? void 0 : J.call(f), S = ($ = f.getZoom) == null ? void 0 : $.call(f);
3057
3066
  if (!d || S == null) return;
3058
- const I = {
3067
+ const N = {
3059
3068
  ...i.query,
3060
- z: P(S, kt),
3061
- x: P(d.lng, je),
3062
- y: P(d.lat, je)
3069
+ z: I(S, kt),
3070
+ x: I(d.lng, je),
3071
+ y: I(d.lat, je)
3063
3072
  };
3064
- i.query.z === I.z && i.query.x === I.x && i.query.y === I.y || r.replace({ query: I });
3073
+ i.query.z === N.z && i.query.x === N.x && i.query.y === N.y || r.replace({ query: N });
3065
3074
  }
3066
3075
  const G = E(null), we = E(""), ye = E([]), ln = E([]), Me = E([]), an = E("list"), sn = E(""), Ue = E([]), qe = E(!0);
3067
3076
  let se = null;
@@ -3108,30 +3117,30 @@ ${D}` : D;
3108
3117
  f && Hn.includes(f) && (H.value = f), await Ve(), oi();
3109
3118
  });
3110
3119
  async function oi() {
3111
- var I;
3120
+ var N;
3112
3121
  const f = p();
3113
3122
  if (!(f != null && f.ready)) return;
3114
3123
  await f.ready(), Ce();
3115
- const d = (I = f.map) == null ? void 0 : I.value;
3124
+ const d = (N = f.map) == null ? void 0 : N.value;
3116
3125
  if (!d) return;
3117
3126
  const S = () => ge();
3118
3127
  d.on("moveend", S), d.on("zoomend", S), d.on("click", k), m = () => {
3119
3128
  d.off("moveend", S), d.off("zoomend", S), d.off("click", k);
3120
3129
  };
3121
3130
  }
3122
- $(
3131
+ L(
3123
3132
  () => [i.query.z, i.query.x, i.query.y],
3124
3133
  () => {
3125
3134
  Ce();
3126
3135
  }
3127
- ), $(H, (f) => {
3136
+ ), L(H, (f) => {
3128
3137
  i.query.tab !== f && r.replace({ query: { ...i.query, tab: f } });
3129
- }), $(
3138
+ }), L(
3130
3139
  () => i.query.tab,
3131
3140
  (f) => {
3132
3141
  f && Hn.includes(f) && H.value !== f && (H.value = f);
3133
3142
  }
3134
- ), $(
3143
+ ), L(
3135
3144
  () => {
3136
3145
  var f;
3137
3146
  return (f = u.value) == null ? void 0 : f.name;
@@ -3190,7 +3199,7 @@ ${D}` : D;
3190
3199
  console.error("Failed to fetch map info", f);
3191
3200
  }
3192
3201
  };
3193
- $(
3202
+ L(
3194
3203
  () => {
3195
3204
  var f;
3196
3205
  return (f = u.value) == null ? void 0 : f.style;
@@ -3199,7 +3208,7 @@ ${D}` : D;
3199
3208
  G.value = cn(f);
3200
3209
  },
3201
3210
  { deep: !0 }
3202
- ), $(
3211
+ ), L(
3203
3212
  () => G.value,
3204
3213
  () => {
3205
3214
  si();
@@ -3210,10 +3219,10 @@ ${D}` : D;
3210
3219
  });
3211
3220
  async function ui(f) {
3212
3221
  try {
3213
- const d = await fetch(`/api/gis-clear-vtile/${f}`), { message: S, error: I, code: O } = await d.json();
3214
- if (O === 200)
3222
+ const d = await fetch(`/api/gis-clear-vtile/${f}`), { message: S, error: N, code: M } = await d.json();
3223
+ if (M === 200)
3215
3224
  return te({ type: "success", title: "Успіх", message: S });
3216
- te({ type: "error", title: "Помилка", message: I });
3225
+ te({ type: "error", title: "Помилка", message: N });
3217
3226
  } catch (d) {
3218
3227
  te({
3219
3228
  type: "error",
@@ -3257,16 +3266,16 @@ ${D}` : D;
3257
3266
  await Te(f, d);
3258
3267
  return;
3259
3268
  }
3260
- const S = (d == null ? void 0 : d.card_mode) === "html" ? "html" : "list", I = S === "html" && typeof (d == null ? void 0 : d.html) == "string" ? d.html : "", O = (S === "html" ? [] : null) || (Array.isArray(d == null ? void 0 : d.list) ? d.list : []);
3261
- Me.value = O, an.value = S, sn.value = I;
3269
+ const S = (d == null ? void 0 : d.card_mode) === "html" ? "html" : "list", N = S === "html" && typeof (d == null ? void 0 : d.html) == "string" ? d.html : "", M = (S === "html" ? [] : null) || (Array.isArray(d == null ? void 0 : d.list) ? d.list : []);
3270
+ Me.value = M, an.value = S, sn.value = N;
3262
3271
  const A = {
3263
3272
  card_mode: S
3264
3273
  };
3265
- S === "html" && (A.html = I), S === "list" && (A.card = O), await Gn(A, "card");
3274
+ S === "html" && (A.html = N), S === "list" && (A.card = M), await Gn(A, "card");
3266
3275
  }
3267
3276
  return (f, d) => {
3268
- var S, I, O;
3269
- return _(), U("div", ra, [
3277
+ var S, N, M;
3278
+ return _(), q("div", ra, [
3270
3279
  y("div", oa, [
3271
3280
  y("div", la, [
3272
3281
  y("div", aa, [
@@ -3297,12 +3306,12 @@ ${D}` : D;
3297
3306
  y("div", da, [
3298
3307
  y("div", pa, [
3299
3308
  y("div", ma, [
3300
- y("h1", ha, fe(((I = u.value) == null ? void 0 : I.name) || "Dataset"), 1),
3301
- jn.value ? (_(), U("div", ga, [
3309
+ y("h1", ha, fe(((N = u.value) == null ? void 0 : N.name) || "Dataset"), 1),
3310
+ jn.value ? (_(), q("div", ga, [
3302
3311
  y("span", ya, fe(jn.value), 1)
3303
3312
  ])) : W("", !0)
3304
3313
  ]),
3305
- un.value ? (_(), U("p", {
3314
+ un.value ? (_(), q("p", {
3306
3315
  key: 0,
3307
3316
  class: "text-xs text-gray-500 truncate",
3308
3317
  title: un.value
@@ -3310,11 +3319,11 @@ ${D}` : D;
3310
3319
  ])
3311
3320
  ])
3312
3321
  ]),
3313
- K.value ? (_(), M(Ii, {
3322
+ K.value ? (_(), U(Ii, {
3314
3323
  key: 0,
3315
3324
  class: "flex-shrink-0",
3316
3325
  "entity-id": K.value,
3317
- "entity-info": { name: (O = u.value) == null ? void 0 : O.name },
3326
+ "entity-info": { name: (M = u.value) == null ? void 0 : M.name },
3318
3327
  table: "gis.services.table",
3319
3328
  "entity-label": "Сервіс",
3320
3329
  "save-method": "put",
@@ -3327,28 +3336,28 @@ ${D}` : D;
3327
3336
  ]),
3328
3337
  y("div", ba, [
3329
3338
  y("div", xa, [
3330
- F(Si, {
3339
+ O(Si, {
3331
3340
  ref_key: "mapViewRef",
3332
3341
  ref: l
3333
3342
  }, {
3334
3343
  default: Ge(() => {
3335
- var A, J, N, ne, z, ue, Be;
3344
+ var A, J, $, ne, z, ue, Be;
3336
3345
  return [
3337
- (A = u.value) != null && A.service_id ? (_(), M(ia, {
3346
+ (A = u.value) != null && A.service_id ? (_(), U(ia, {
3338
3347
  key: 0,
3339
3348
  id: (J = u.value) == null ? void 0 : J.service_id,
3340
3349
  layer: u.value,
3341
- "style-spec": ((N = u.value) == null ? void 0 : N.style) || null,
3350
+ "style-spec": (($ = u.value) == null ? void 0 : $.style) || null,
3342
3351
  autoCenter: !1
3343
3352
  }, null, 8, ["id", "layer", "style-spec"])) : W("", !0),
3344
- K.value ? (_(), M(ki, {
3353
+ K.value ? (_(), U(ki, {
3345
3354
  key: 1,
3346
3355
  "layer-id": K.value,
3347
3356
  boundary: ((ne = u.value) == null ? void 0 : ne.boundary) || ((z = Yn.value) == null ? void 0 : z.boundary) || null,
3348
3357
  katottg: ((ue = u.value) == null ? void 0 : ue.katottg) || ((Be = Yn.value) == null ? void 0 : Be.katottg) || null
3349
3358
  }, null, 8, ["layer-id", "boundary", "katottg"])) : W("", !0),
3350
3359
  y("div", Sa, [
3351
- K.value ? (_(), M(Ai, {
3360
+ K.value ? (_(), U(Ai, {
3352
3361
  key: 0,
3353
3362
  "layer-id": K.value,
3354
3363
  filters: Ue.value
@@ -3359,15 +3368,15 @@ ${D}` : D;
3359
3368
  class: "map-widget__filter-host"
3360
3369
  }, null, -1)),
3361
3370
  y("div", ka, [
3362
- F(Ci)
3371
+ O(Ci)
3363
3372
  ]),
3364
- F(Ni, null, {
3373
+ O(Ni, null, {
3365
3374
  default: Ge(() => [
3366
- F($i),
3367
- F(Li),
3368
- F(Fi),
3369
- F(it),
3370
- s.value.center ? (_(), M(it, {
3375
+ O($i),
3376
+ O(Li),
3377
+ O(Fi),
3378
+ O(it),
3379
+ s.value.center ? (_(), U(it, {
3371
3380
  key: 0,
3372
3381
  targetCenter: s.value.center,
3373
3382
  targetLabel: "Ценр даних"
@@ -3376,12 +3385,12 @@ ${D}` : D;
3376
3385
  _: 1
3377
3386
  }),
3378
3387
  y("div", Aa, [
3379
- F(wi, {
3388
+ O(wi, {
3380
3389
  items: ye.value || null
3381
3390
  }, null, 8, ["items"])
3382
3391
  ]),
3383
- F(Ti),
3384
- F(_i, {
3392
+ O(Ti),
3393
+ O(_i, {
3385
3394
  html: s.value.html
3386
3395
  }, null, 8, ["html"])
3387
3396
  ];
@@ -3390,7 +3399,7 @@ ${D}` : D;
3390
3399
  }, 512)
3391
3400
  ])
3392
3401
  ]),
3393
- F(Ri, {
3402
+ O(Ri, {
3394
3403
  open: qe.value,
3395
3404
  onToggle: d[0] || (d[0] = (A) => qe.value = !qe.value),
3396
3405
  "top-class": "top-4"
@@ -3402,7 +3411,7 @@ ${D}` : D;
3402
3411
  y("div", Ca, [
3403
3412
  y("div", wa, [
3404
3413
  y("div", Ta, [
3405
- (_(), U(At, null, Ct(Kn, (A) => y("button", {
3414
+ (_(), q(At, null, Ct(Kn, (A) => y("button", {
3406
3415
  key: A.key,
3407
3416
  type: "button",
3408
3417
  role: "tab",
@@ -3413,13 +3422,13 @@ ${D}` : D;
3413
3422
  ]),
3414
3423
  onClick: (J) => H.value = A.key
3415
3424
  }, [
3416
- (_(), M(yi(A.icon), { class: "h-3.5 w-3.5 mb-0.5" })),
3425
+ (_(), U(yi(A.icon), { class: "h-3.5 w-3.5 mb-0.5" })),
3417
3426
  y("span", Ea, fe(A.label), 1)
3418
3427
  ], 10, _a)), 64))
3419
3428
  ])
3420
3429
  ]),
3421
3430
  y("div", Ia, [
3422
- H.value === "style" ? (_(), M(Ol, {
3431
+ H.value === "style" ? (_(), U(Ol, {
3423
3432
  key: 0,
3424
3433
  token: K.value,
3425
3434
  "style-text": we.value,
@@ -3427,20 +3436,20 @@ ${D}` : D;
3427
3436
  "onUpdate:styleYaml": d[1] || (d[1] = (A) => G.value = A),
3428
3437
  "onUpdate:styleText": d[2] || (d[2] = (A) => we.value = A),
3429
3438
  onSave: d[3] || (d[3] = (A) => Te("style", A))
3430
- }, null, 8, ["token", "style-text", "style-yaml"])) : H.value === "legend" ? (_(), M(Hl, {
3439
+ }, null, 8, ["token", "style-text", "style-yaml"])) : H.value === "legend" ? (_(), U(Hl, {
3431
3440
  key: 1,
3432
3441
  token: K.value,
3433
3442
  columns: ye.value,
3434
3443
  "onUpdate:columns": d[4] || (d[4] = (A) => ye.value = A),
3435
3444
  onSave: d[5] || (d[5] = (A) => Te("legend", A))
3436
- }, null, 8, ["token", "columns"])) : H.value === "popup" ? (_(), M(Ul, {
3445
+ }, null, 8, ["token", "columns"])) : H.value === "popup" ? (_(), U(Ul, {
3437
3446
  key: 2,
3438
3447
  token: K.value,
3439
3448
  columns: ln.value,
3440
3449
  fields: s.value.fields,
3441
3450
  "onUpdate:columns": d[6] || (d[6] = (A) => ln.value = A),
3442
3451
  onSave: d[7] || (d[7] = (A) => Te("popup", A))
3443
- }, null, 8, ["token", "columns", "fields"])) : H.value === "card" ? (_(), M(ea, {
3452
+ }, null, 8, ["token", "columns", "fields"])) : H.value === "card" ? (_(), U(ea, {
3444
3453
  key: 3,
3445
3454
  token: K.value,
3446
3455
  columns: Me.value,
@@ -3449,14 +3458,14 @@ ${D}` : D;
3449
3458
  html: sn.value,
3450
3459
  "onUpdate:columns": d[8] || (d[8] = (A) => Me.value = A),
3451
3460
  onSave: ci
3452
- }, null, 8, ["token", "columns", "fields", "view-mode", "html"])) : H.value === "filter" ? (_(), M(ta, {
3461
+ }, null, 8, ["token", "columns", "fields", "view-mode", "html"])) : H.value === "filter" ? (_(), U(ta, {
3453
3462
  key: 4,
3454
3463
  token: K.value,
3455
3464
  fields: s.value.fields,
3456
3465
  columns: Ue.value,
3457
3466
  "onUpdate:columns": d[9] || (d[9] = (A) => Ue.value = A),
3458
3467
  onSave: d[10] || (d[10] = (A) => Te("filters", A))
3459
- }, null, 8, ["token", "fields", "columns"])) : H.value === "metadata" ? (_(), M(Oi, {
3468
+ }, null, 8, ["token", "fields", "columns"])) : H.value === "metadata" ? (_(), U(Oi, {
3460
3469
  key: 5,
3461
3470
  data: u.value,
3462
3471
  "entity-id": String(ze(o)),