@opengis/admin 0.1.81 → 0.1.82

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
- import { g as J, h as K, _ as Q, u as I, a as U } from "./import-file-CsnR0UjH.js";
2
- import { getCurrentInstance as F, ref as E, computed as W, resolveComponent as G, openBlock as e, createElementBlock as r, createElementVNode as w, toDisplayString as O, createBlock as k, resolveDynamicComponent as B, createVNode as X, withCtx as Y, createTextVNode as Z, createCommentVNode as y, normalizeClass as P, Fragment as j, renderList as q } from "vue";
3
- const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justify-start px-[20px] mb-[16px]" }, m = { class: "mr-[10px]" }, oo = { class: "text-lg font-semibold md:text-xl text-stone-800 dark:text-neutral-200" }, to = { class: "flex items-center gap-[6px] ml-auto" }, eo = { class: "mr-[10px]" }, no = {
1
+ import { g as K, h as Q, _ as U, u as F, r as W, a as X } from "./import-file-BihjtZo9.js";
2
+ import { getCurrentInstance as J, ref as G, computed as Y, resolveComponent as I, openBlock as e, createElementBlock as r, createElementVNode as D, toDisplayString as E, createBlock as j, resolveDynamicComponent as B, createVNode as Z, withCtx as i, createTextVNode as $, createCommentVNode as y, normalizeClass as z, Fragment as w, renderList as q } from "vue";
3
+ const m = { class: "h-[76px] bg-white border rounded-xl flex items-center justify-start px-[20px] mb-[16px]" }, oo = { class: "mr-[10px]" }, to = { class: "text-lg font-semibold md:text-xl text-stone-800 dark:text-neutral-200" }, eo = { class: "flex items-center gap-[6px] ml-auto" }, no = { class: "mr-[10px]" }, so = {
4
4
  __name: "admin-card-header",
5
5
  props: {
6
6
  title: {
@@ -13,17 +13,17 @@ const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
13
13
  slots: { type: Object }
14
14
  },
15
15
  setup(s) {
16
- var n, z, D, L, C;
17
- const { asyncTemplateSlot: a } = (C = (L = (D = (z = (n = F()) == null ? void 0 : n.appContext) == null ? void 0 : z.app) == null ? void 0 : D.config) == null ? void 0 : L.globalProperties) == null ? void 0 : C.utils, c = s, l = J(), t = K(), u = E(""), g = E(""), b = () => {
16
+ var n, V, C, L, k;
17
+ const { asyncTemplateSlot: a } = (k = (L = (C = (V = (n = J()) == null ? void 0 : n.appContext) == null ? void 0 : V.app) == null ? void 0 : C.config) == null ? void 0 : L.globalProperties) == null ? void 0 : k.utils, c = s, l = K(), t = Q(), u = G(""), g = G(""), h = () => {
18
18
  l.back();
19
- }, f = W(
19
+ }, f = Y(
20
20
  () => {
21
- var h;
22
- return `/edit?table=${c.getRoute}&id=${(h = t == null ? void 0 : t.params) == null ? void 0 : h.id}`;
21
+ var b;
22
+ return `/edit?table=${c.getRoute}&id=${(b = t == null ? void 0 : t.params) == null ? void 0 : b.id}`;
23
23
  }
24
24
  ), p = () => {
25
- var h, x, o, _;
26
- if (!((h = c.slots) != null && h.panelLeft)) return "div";
25
+ var b, x, o, _;
26
+ if (!((b = c.slots) != null && b.panelLeft)) return "div";
27
27
  if ((x = c.slots) != null && x.panelLeft.includes("<")) {
28
28
  const v = a("PanelLeft", (o = c.slots) == null ? void 0 : o.panelLeft, [
29
29
  "name"
@@ -32,8 +32,8 @@ const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
32
32
  } else
33
33
  g.value = (_ = c.slots) == null ? void 0 : _.panelLeft;
34
34
  }, d = () => {
35
- var h, x, o, _;
36
- if (!((h = c.slots) != null && h.panelRight)) return "div";
35
+ var b, x, o, _;
36
+ if (!((b = c.slots) != null && b.panelRight)) return "div";
37
37
  if ((x = c.slots) != null && x.panelRight.includes("<")) {
38
38
  const v = a("PanelRight", (o = c.slots) == null ? void 0 : o.panelRight, [
39
39
  "name"
@@ -42,27 +42,27 @@ const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
42
42
  } else
43
43
  u.value = (_ = c.slots) == null ? void 0 : _.panelRight;
44
44
  };
45
- return p(), d(), (h, x) => {
46
- const o = G("router-link");
47
- return e(), r("div", $, [
48
- w("div", m, [
49
- w("button", {
50
- onClick: b,
45
+ return p(), d(), (b, x) => {
46
+ const o = I("router-link");
47
+ return e(), r("div", m, [
48
+ D("div", oo, [
49
+ D("button", {
50
+ onClick: h,
51
51
  class: "text-sm h-[20px] text-blue-600 font-medium hover:border-b-2 hover:border-b-blue-500"
52
52
  }, " До таблиці "),
53
- w("h2", oo, O(s.title), 1)
53
+ D("h2", to, E(s.title), 1)
54
54
  ]),
55
- (e(), k(B(g.value))),
56
- w("div", to, [
57
- w("div", eo, [
58
- (e(), k(B(u.value)))
55
+ (e(), j(B(g.value))),
56
+ D("div", eo, [
57
+ D("div", no, [
58
+ (e(), j(B(u.value)))
59
59
  ]),
60
- X(o, {
60
+ Z(o, {
61
61
  to: f.value,
62
62
  class: "inline-flex items-center px-3 py-2 text-sm font-medium text-white duration-300 bg-blue-600 border border-transparent rounded-lg gap-x-2 hover:bg-blue-700 hover:text-white"
63
63
  }, {
64
- default: Y(() => x[0] || (x[0] = [
65
- Z(" Редагувати ")
64
+ default: i(() => x[0] || (x[0] = [
65
+ $(" Редагувати ")
66
66
  ])),
67
67
  _: 1
68
68
  }, 8, ["to"])
@@ -70,22 +70,23 @@ const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
70
70
  ]);
71
71
  };
72
72
  }
73
- }, so = {
73
+ }, ro = {
74
74
  __name: "admin-card-async-component",
75
75
  props: {
76
76
  slot: String,
77
- data: Object
77
+ data: Object,
78
+ objectData: Object
78
79
  },
79
80
  setup(s) {
80
- var u, g, b, f, p;
81
- const { asyncTemplateSlot: a } = (p = (f = (b = (g = (u = F()) == null ? void 0 : u.appContext) == null ? void 0 : g.app) == null ? void 0 : b.config) == null ? void 0 : f.globalProperties) == null ? void 0 : p.utils, c = E(""), l = s;
81
+ var u, g, h, f, p;
82
+ const { asyncTemplateSlot: a } = (p = (f = (h = (g = (u = J()) == null ? void 0 : u.appContext) == null ? void 0 : g.app) == null ? void 0 : h.config) == null ? void 0 : f.globalProperties) == null ? void 0 : p.utils, c = G(""), l = s;
82
83
  return (() => {
83
84
  const d = a("CustomComponent", l.slot, ["data"]);
84
85
  c.value = d;
85
- })(), (d, n) => (e(), k(B(c.value), { data: s.data }, null, 8, ["data"]));
86
+ })(), (d, n) => (e(), j(B(c.value), { data: s.objectData }, null, 8, ["data"]));
86
87
  }
87
- }, ro = {
88
- components: { AdminCardHeader: no, AdminCardAsyncComponent: so },
88
+ }, co = {
89
+ components: { AdminCardHeader: so, AdminCardAsyncComponent: ro },
89
90
  data() {
90
91
  return {
91
92
  objectData: null,
@@ -94,7 +95,7 @@ const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
94
95
  },
95
96
  computed: {
96
97
  getRoute() {
97
- const s = this.flattenMenu(I.value);
98
+ const s = this.flattenMenu(F.value);
98
99
  s != null && s.length || this.$router.replace("/404");
99
100
  const a = s == null ? void 0 : s.find((c) => {
100
101
  var l, t;
@@ -103,18 +104,21 @@ const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
103
104
  return a || this.$router.replace("/404"), a == null ? void 0 : a.path;
104
105
  },
105
106
  getTitle() {
106
- var s, a, c, l, t, u, g, b, f, p, d, n, z, D, L;
107
+ var s, a, c, l, t, u, g, h, f, p, d, n, V, C, L;
107
108
  if ((c = (a = (s = this.objectData) == null ? void 0 : s.rows) == null ? void 0 : a[0]) != null && c.name)
108
- return ((g = (u = (t = (l = this.objectData) == null ? void 0 : l.rows) == null ? void 0 : t[0]) == null ? void 0 : u.name) == null ? void 0 : g.length) < 35 ? (p = (f = (b = this.objectData) == null ? void 0 : b.rows) == null ? void 0 : f[0]) == null ? void 0 : p.name : ((D = (z = (n = (d = this.objectData) == null ? void 0 : d.rows) == null ? void 0 : n[0]) == null ? void 0 : z.name) == null ? void 0 : D.slice(0, 35)) + " ...";
109
+ return ((g = (u = (t = (l = this.objectData) == null ? void 0 : l.rows) == null ? void 0 : t[0]) == null ? void 0 : u.name) == null ? void 0 : g.length) < 35 ? (p = (f = (h = this.objectData) == null ? void 0 : h.rows) == null ? void 0 : f[0]) == null ? void 0 : p.name : ((C = (V = (n = (d = this.objectData) == null ? void 0 : d.rows) == null ? void 0 : n[0]) == null ? void 0 : V.name) == null ? void 0 : C.slice(0, 35)) + " ...";
109
110
  {
110
- const C = (L = this.flattenMenu(I.value)) == null ? void 0 : L.find(
111
- (h) => {
111
+ const k = (L = this.flattenMenu(F.value)) == null ? void 0 : L.find(
112
+ (b) => {
112
113
  var x, o;
113
- return (h == null ? void 0 : h.table) === ((o = (x = this.$route) == null ? void 0 : x.params) == null ? void 0 : o.table);
114
+ return (b == null ? void 0 : b.table) === ((o = (x = this.$route) == null ? void 0 : x.params) == null ? void 0 : o.table);
114
115
  }
115
116
  );
116
- return C == null ? void 0 : C.ua;
117
+ return k == null ? void 0 : k.ua;
117
118
  }
119
+ },
120
+ reloadPageTrigger() {
121
+ return W.value;
118
122
  }
119
123
  },
120
124
  async mounted() {
@@ -123,6 +127,9 @@ const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
123
127
  watch: {
124
128
  component(s) {
125
129
  this.$router.replace({ ...this.$route, query: { tab: s } });
130
+ },
131
+ reloadPageTrigger() {
132
+ this.getObjectData();
126
133
  }
127
134
  },
128
135
  methods: {
@@ -131,7 +138,7 @@ const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
131
138
  const { table: s, id: a } = (c = this.$route) == null ? void 0 : c.params;
132
139
  (!s || !a) && this.$router.replace("/404");
133
140
  try {
134
- const { data: l } = await U.get(`/api/table-data/${s}/${a}`);
141
+ const { data: l } = await X.get(`/api/table-data/${s}/${a}`);
135
142
  this.objectData = l;
136
143
  } catch (l) {
137
144
  console.error(l);
@@ -144,14 +151,14 @@ const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
144
151
  return "grid-cols-12";
145
152
  },
146
153
  checkActiveComponent() {
147
- var s, a, c, l, t, u, g, b, f;
154
+ var s, a, c, l, t, u, g, h, f;
148
155
  if ((a = (s = this.$route) == null ? void 0 : s.query) != null && a.tab)
149
156
  this.component = (l = (c = this.$route) == null ? void 0 : c.query) == null ? void 0 : l.tab;
150
157
  else {
151
158
  const p = (u = (t = this.objectData) == null ? void 0 : t.panels) == null ? void 0 : u.find(
152
159
  (d) => (d == null ? void 0 : d.type) === "tabs" || (d == null ? void 0 : d.type) === "vertical-tabs"
153
160
  );
154
- (g = p == null ? void 0 : p.items) != null && g.length && (this.component = ((b = p.items[0]) == null ? void 0 : b.component) || ((f = p.items[0]) == null ? void 0 : f.name));
161
+ (g = p == null ? void 0 : p.items) != null && g.length && (this.component = ((h = p.items[0]) == null ? void 0 : h.component) || ((f = p.items[0]) == null ? void 0 : f.name));
155
162
  }
156
163
  },
157
164
  flattenMenu(s) {
@@ -161,31 +168,31 @@ const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
161
168
  }), a;
162
169
  }
163
170
  }
164
- }, co = {
171
+ }, ao = {
165
172
  style: { width: "calc(100vw - 260px)", height: "calc(100vh - 60px)" },
166
173
  class: "p-4 overflow-y-auto bg-gray-50"
167
- }, ao = {
174
+ }, lo = {
168
175
  key: 0,
169
176
  class: "bg-white border rounded-xl"
170
- }, lo = { class: "p-[10px] pl-[20px] text-md font-[500]" }, uo = ["innerHTML"], po = { key: 1 }, ho = {
177
+ }, uo = { class: "p-[10px] pl-[20px] text-md font-[500]" }, po = ["innerHTML"], bo = { key: 1 }, ho = {
171
178
  key: 0,
172
179
  class: "p-[10px] pl-[20px] text-md font-[500]"
173
- }, bo = {
180
+ }, go = {
174
181
  key: 2,
175
182
  class: "p-[20px] border-t"
176
- }, go = ["innerHTML"], xo = { class: "flex space-x-1 w-full bg-white border border-b-0 rounded-tr-xl rounded-tl-xl h-[60px] items-center pl-[20px]" }, fo = ["onClick"], _o = {
183
+ }, xo = ["innerHTML"], fo = { class: "flex space-x-1 w-full bg-white border border-b-0 rounded-tr-xl rounded-tl-xl h-[60px] items-center pl-[20px]" }, _o = ["onClick"], yo = {
177
184
  key: 0,
178
185
  class: "bg-white border border-t-0 rounded-bl-xl rounded-br-xl"
179
- }, yo = {
186
+ }, vo = {
180
187
  key: 0,
181
188
  class: "p-[20px] border-t"
182
- }, vo = {
189
+ }, jo = {
183
190
  key: 1,
184
191
  class: "p-[20px] border-t"
185
- }, ko = ["innerHTML"], wo = {
192
+ }, Do = ["innerHTML"], ko = {
186
193
  key: 3,
187
194
  class: "flex"
188
- }, Co = { class: "flex flex-col space-y-2 w-[200px] border rounded-xl mr-4 h-auto items-start pl-[10px] bg-white py-[20px]" }, jo = ["onClick"], Do = { class: "flex-grow" }, Lo = {
195
+ }, wo = { class: "flex flex-col space-y-2 w-[200px] border rounded-xl mr-4 h-auto items-start pl-[10px] bg-white py-[20px]" }, Co = ["onClick"], Lo = { class: "flex-grow" }, To = {
189
196
  key: 0,
190
197
  class: "h-full bg-white border rounded-xl"
191
198
  }, Ao = {
@@ -195,135 +202,145 @@ const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
195
202
  key: 1,
196
203
  class: "p-[20px] border-t"
197
204
  }, Mo = ["innerHTML"];
198
- function To(s, a, c, l, t, u) {
205
+ function Ho(s, a, c, l, t, u) {
199
206
  var f, p, d;
200
- const g = G("AdminCardHeader"), b = G("AdminCardAsyncComponent");
201
- return e(), r("div", co, [
202
- t.objectData && ((f = t.objectData) == null ? void 0 : f.isHeader) !== !1 ? (e(), k(g, {
207
+ const g = I("AdminCardHeader"), h = I("AdminCardAsyncComponent");
208
+ return e(), r("div", ao, [
209
+ t.objectData && ((f = t.objectData) == null ? void 0 : f.isHeader) !== !1 ? (e(), j(g, {
203
210
  key: 0,
204
211
  title: u.getTitle,
205
212
  "get-route": u.getRoute,
206
213
  slots: (p = t.objectData) == null ? void 0 : p.slots
207
214
  }, null, 8, ["title", "get-route", "slots"])) : y("", !0),
208
- w("div", {
209
- class: P(["grid gap-[20px]", u.getGridClass()])
215
+ D("div", {
216
+ class: z(["grid gap-[20px]", u.getGridClass()])
210
217
  }, [
211
- (e(!0), r(j, null, q((d = t.objectData) == null ? void 0 : d.panels, (n, z) => {
212
- var D, L, C, h, x;
218
+ (e(!0), r(w, null, q((d = t.objectData) == null ? void 0 : d.panels, (n, V) => {
219
+ var C, L, k, b, x;
213
220
  return e(), r("div", {
214
- key: z,
215
- class: P(u.getColClass(n.col))
221
+ key: V,
222
+ class: z(u.getColClass(n.col))
216
223
  }, [
217
- n != null && n.name ? (e(), r("div", ao, [
218
- w("h2", lo, O((n == null ? void 0 : n.title) || "Панель"), 1),
219
- (D = t.objectData) != null && D.html[n == null ? void 0 : n.name] ? (e(), r("div", {
224
+ n != null && n.name ? (e(), r("div", lo, [
225
+ D("h2", uo, E((n == null ? void 0 : n.title) || "Панель"), 1),
226
+ (C = t.objectData) != null && C.html[n == null ? void 0 : n.name] ? (e(), r("div", {
220
227
  key: 0,
221
228
  class: "p-[20px] border-t",
222
229
  innerHTML: (L = t.objectData) == null ? void 0 : L.html[n == null ? void 0 : n.name]
223
- }, null, 8, uo)) : (e(), k(b, {
230
+ }, null, 8, po)) : (e(), j(h, {
224
231
  key: 1,
225
- slot: (C = t.objectData) == null ? void 0 : C.vue[n == null ? void 0 : n.name],
226
- data: (x = (h = t.objectData) == null ? void 0 : h.rows) == null ? void 0 : x[0]
227
- }, null, 8, ["slot", "data"]))
228
- ])) : n.type === "container" ? (e(), r("div", po, [
229
- (e(!0), r(j, null, q(n.items, (o, _) => {
230
- var v, A, R, M, T, H, i, N, S, V;
232
+ slot: (k = t.objectData) == null ? void 0 : k.vue[n == null ? void 0 : n.name],
233
+ data: (x = (b = t.objectData) == null ? void 0 : b.rows) == null ? void 0 : x[0],
234
+ objectData: t.objectData
235
+ }, null, 8, ["slot", "data", "objectData"]))
236
+ ])) : n.type === "container" ? (e(), r("div", bo, [
237
+ (e(!0), r(w, null, q(n.items, (o, _) => {
238
+ var v, T, A, R, M, H, P, N, O, S;
231
239
  return e(), r("div", {
232
240
  key: _,
233
- class: P([{ "mb-[20px]": n.items.length > 1 }, "bg-white border rounded-xl"])
241
+ class: z([{ "mb-[20px]": n.items.length > 1 }, "bg-white border rounded-xl"])
234
242
  }, [
235
- o != null && o.title ? (e(), r("h2", ho, O((o == null ? void 0 : o.title) || "Панель"), 1)) : y("", !0),
243
+ o != null && o.title ? (e(), r("h2", ho, E((o == null ? void 0 : o.title) || "Панель"), 1)) : y("", !0),
236
244
  o != null && o.component ? (e(), r("div", {
237
245
  key: 1,
238
- class: P(["p-[20px]", { "border-t": o == null ? void 0 : o.title }])
246
+ class: z(["p-[20px]", { "border-t": o == null ? void 0 : o.title }])
239
247
  }, [
240
- (e(), k(B(o.component), {
241
- geometry: (A = (v = t.objectData) == null ? void 0 : v.rows[0]) == null ? void 0 : A.geom,
248
+ (e(), j(B(o.component), {
249
+ geometry: (T = (v = t.objectData) == null ? void 0 : v.rows[0]) == null ? void 0 : T.geom,
250
+ columns: o == null ? void 0 : o.columns,
242
251
  zoom: 16,
243
- id: (M = (R = s.$route) == null ? void 0 : R.params) == null ? void 0 : M.id
244
- }, null, 8, ["geometry", "id"]))
252
+ data: t.objectData,
253
+ id: (R = (A = s.$route) == null ? void 0 : A.params) == null ? void 0 : R.id
254
+ }, null, 8, ["geometry", "columns", "data", "id"]))
245
255
  ], 2)) : y("", !0),
246
- o != null && o.name ? (e(), r("div", bo, [
247
- (H = (T = t.objectData) == null ? void 0 : T.html) != null && H[o == null ? void 0 : o.name] ? (e(), r("div", {
256
+ o != null && o.name ? (e(), r("div", go, [
257
+ (H = (M = t.objectData) == null ? void 0 : M.html) != null && H[o == null ? void 0 : o.name] ? (e(), r("div", {
248
258
  key: 0,
249
- innerHTML: (i = t.objectData) == null ? void 0 : i.html[o == null ? void 0 : o.name]
250
- }, null, 8, go)) : (e(), k(b, {
259
+ innerHTML: (P = t.objectData) == null ? void 0 : P.html[o == null ? void 0 : o.name]
260
+ }, null, 8, xo)) : (e(), j(h, {
251
261
  key: 1,
252
262
  slot: (N = t.objectData) == null ? void 0 : N.vue[o == null ? void 0 : o.name],
253
- data: (V = (S = t.objectData) == null ? void 0 : S.rows) == null ? void 0 : V[0]
254
- }, null, 8, ["slot", "data"]))
263
+ data: (S = (O = t.objectData) == null ? void 0 : O.rows) == null ? void 0 : S[0],
264
+ objectData: t.objectData
265
+ }, null, 8, ["slot", "data", "objectData"]))
255
266
  ])) : y("", !0)
256
267
  ], 2);
257
268
  }), 128))
258
269
  ])) : y("", !0),
259
- (n == null ? void 0 : n.type) === "tabs" ? (e(), r(j, { key: 2 }, [
260
- w("nav", xo, [
261
- (e(!0), r(j, null, q(n == null ? void 0 : n.items, (o) => (e(), r("button", {
270
+ (n == null ? void 0 : n.type) === "tabs" ? (e(), r(w, { key: 2 }, [
271
+ D("nav", fo, [
272
+ (e(!0), r(w, null, q(n == null ? void 0 : n.items, (o) => (e(), r("button", {
262
273
  key: (o == null ? void 0 : o.name) || (o == null ? void 0 : o.component),
263
274
  onClick: (_) => t.component = (o == null ? void 0 : o.component) || (o == null ? void 0 : o.name),
264
- class: P(["px-2.5 h-[30px] py-1.5 relative inline-flex items-center gap-x-2 text-gray-500 hover:bg-gray-100 focus:bg-gray-100 hover:text-gray-800 text-sm whitespace-nowrap rounded-lg focus:outline-none", {
275
+ class: z(["px-2.5 h-[30px] py-1.5 relative inline-flex items-center gap-x-2 text-gray-500 hover:bg-gray-100 focus:bg-gray-100 hover:text-gray-800 text-sm whitespace-nowrap rounded-lg focus:outline-none", {
265
276
  " font-semibold after:absolute after:bottom-[-14px] after:left-2.5 after:right-2.5 after:z-10 after:h-0.5 after:bg-gray-800": t.component === (o == null ? void 0 : o.component) || t.component === (o == null ? void 0 : o.name),
266
277
  "": t.component !== (o == null ? void 0 : o.component) && t.component !== (o == null ? void 0 : o.name)
267
278
  }])
268
- }, O(o == null ? void 0 : o.title), 11, fo))), 128))
279
+ }, E(o == null ? void 0 : o.title), 11, _o))), 128))
269
280
  ]),
270
- (e(!0), r(j, null, q(n.items, (o, _) => {
271
- var v, A, R, M, T, H, i, N, S, V;
272
- return e(), r(j, { key: _ }, [
273
- t.component === (o == null ? void 0 : o.component) || t.component === (o == null ? void 0 : o.name) ? (e(), r("div", _o, [
274
- o != null && o.component ? (e(), r("div", yo, [
275
- (e(), k(B(o.component), {
276
- geometry: (A = (v = t.objectData) == null ? void 0 : v.rows[0]) == null ? void 0 : A.geom,
281
+ (e(!0), r(w, null, q(n.items, (o, _) => {
282
+ var v, T, A, R, M, H, P, N, O, S;
283
+ return e(), r(w, { key: _ }, [
284
+ t.component === (o == null ? void 0 : o.component) || t.component === (o == null ? void 0 : o.name) ? (e(), r("div", yo, [
285
+ o != null && o.component ? (e(), r("div", vo, [
286
+ (e(), j(B(o.component), {
287
+ data: t.objectData,
288
+ columns: o == null ? void 0 : o.columns,
289
+ geometry: (T = (v = t.objectData) == null ? void 0 : v.rows[0]) == null ? void 0 : T.geom,
277
290
  zoom: 16,
278
- id: (M = (R = s.$route) == null ? void 0 : R.params) == null ? void 0 : M.id
279
- }, null, 8, ["geometry", "id"]))
291
+ id: (R = (A = s.$route) == null ? void 0 : A.params) == null ? void 0 : R.id
292
+ }, null, 8, ["data", "columns", "geometry", "id"]))
280
293
  ])) : y("", !0),
281
- o != null && o.name ? (e(), r("div", vo, [
282
- (H = (T = t.objectData) == null ? void 0 : T.html) != null && H[o == null ? void 0 : o.name] ? (e(), r("div", {
294
+ o != null && o.name ? (e(), r("div", jo, [
295
+ (H = (M = t.objectData) == null ? void 0 : M.html) != null && H[o == null ? void 0 : o.name] ? (e(), r("div", {
283
296
  key: 0,
284
- innerHTML: (i = t.objectData) == null ? void 0 : i.html[o == null ? void 0 : o.name]
285
- }, null, 8, ko)) : (e(), k(b, {
297
+ innerHTML: (P = t.objectData) == null ? void 0 : P.html[o == null ? void 0 : o.name]
298
+ }, null, 8, Do)) : (e(), j(h, {
286
299
  key: 1,
287
300
  slot: (N = t.objectData) == null ? void 0 : N.vue[o == null ? void 0 : o.name],
288
- data: (V = (S = t.objectData) == null ? void 0 : S.rows) == null ? void 0 : V[0]
289
- }, null, 8, ["slot", "data"]))
301
+ data: (S = (O = t.objectData) == null ? void 0 : O.rows) == null ? void 0 : S[0],
302
+ objectData: t.objectData
303
+ }, null, 8, ["slot", "data", "objectData"]))
290
304
  ])) : y("", !0)
291
305
  ])) : y("", !0)
292
306
  ], 64);
293
307
  }), 128))
294
308
  ], 64)) : y("", !0),
295
- (n == null ? void 0 : n.type) === "vertical-tabs" ? (e(), r("div", wo, [
296
- w("nav", Co, [
297
- (e(!0), r(j, null, q(n == null ? void 0 : n.items, (o) => (e(), r("button", {
309
+ (n == null ? void 0 : n.type) === "vertical-tabs" ? (e(), r("div", ko, [
310
+ D("nav", wo, [
311
+ (e(!0), r(w, null, q(n == null ? void 0 : n.items, (o) => (e(), r("button", {
298
312
  key: (o == null ? void 0 : o.name) || (o == null ? void 0 : o.component),
299
313
  onClick: (_) => t.component = (o == null ? void 0 : o.component) || (o == null ? void 0 : o.name),
300
- class: P(["relative inline-flex items-center w-full py-1 text-sm border-transparent pe-4 gap-x-2 border-e-2 whitespace-nowrap hover:text-blue-600 focus:outline-none focus:text-blue-600", {
314
+ class: z(["relative inline-flex items-center w-full py-1 text-sm border-transparent pe-4 gap-x-2 border-e-2 whitespace-nowrap hover:text-blue-600 focus:outline-none focus:text-blue-600", {
301
315
  "font-semibold after:absolute after:top-[0] after:right-[-1px] after:h-full text-blue-600 after:w-[2px] after:bg-blue-600 ": t.component === (o == null ? void 0 : o.component) || t.component === (o == null ? void 0 : o.name),
302
316
  "text-gray-500": t.component !== (o == null ? void 0 : o.component) && t.component !== (o == null ? void 0 : o.name)
303
317
  }])
304
- }, O(o == null ? void 0 : o.title), 11, jo))), 128))
318
+ }, E(o == null ? void 0 : o.title), 11, Co))), 128))
305
319
  ]),
306
- w("div", Do, [
307
- (e(!0), r(j, null, q(n.items, (o, _) => {
308
- var v, A, R, M, T, H, i, N, S, V;
309
- return e(), r(j, { key: _ }, [
310
- t.component === (o == null ? void 0 : o.component) || t.component === (o == null ? void 0 : o.name) ? (e(), r("div", Lo, [
320
+ D("div", Lo, [
321
+ (e(!0), r(w, null, q(n.items, (o, _) => {
322
+ var v, T, A, R, M, H, P, N, O, S;
323
+ return e(), r(w, { key: _ }, [
324
+ t.component === (o == null ? void 0 : o.component) || t.component === (o == null ? void 0 : o.name) ? (e(), r("div", To, [
311
325
  o != null && o.component ? (e(), r("div", Ao, [
312
- (e(), k(B(o.component), {
313
- geometry: (A = (v = t.objectData) == null ? void 0 : v.rows[0]) == null ? void 0 : A.geom,
326
+ (e(), j(B(o.component), {
327
+ data: t.objectData,
328
+ columns: o == null ? void 0 : o.columns,
329
+ geometry: (T = (v = t.objectData) == null ? void 0 : v.rows[0]) == null ? void 0 : T.geom,
314
330
  zoom: 16,
315
- id: (M = (R = s.$route) == null ? void 0 : R.params) == null ? void 0 : M.id
316
- }, null, 8, ["geometry", "id"]))
331
+ id: (R = (A = s.$route) == null ? void 0 : A.params) == null ? void 0 : R.id
332
+ }, null, 8, ["data", "columns", "geometry", "id"]))
317
333
  ])) : y("", !0),
318
334
  o != null && o.name ? (e(), r("div", Ro, [
319
- (H = (T = t.objectData) == null ? void 0 : T.html) != null && H[o == null ? void 0 : o.name] ? (e(), r("div", {
335
+ (H = (M = t.objectData) == null ? void 0 : M.html) != null && H[o == null ? void 0 : o.name] ? (e(), r("div", {
320
336
  key: 0,
321
- innerHTML: (i = t.objectData) == null ? void 0 : i.html[o == null ? void 0 : o.name]
322
- }, null, 8, Mo)) : (e(), k(b, {
337
+ innerHTML: (P = t.objectData) == null ? void 0 : P.html[o == null ? void 0 : o.name]
338
+ }, null, 8, Mo)) : (e(), j(h, {
323
339
  key: 1,
324
340
  slot: (N = t.objectData) == null ? void 0 : N.vue[o == null ? void 0 : o.name],
325
- data: (V = (S = t.objectData) == null ? void 0 : S.rows) == null ? void 0 : V[0]
326
- }, null, 8, ["slot", "data"]))
341
+ data: (S = (O = t.objectData) == null ? void 0 : O.rows) == null ? void 0 : S[0],
342
+ objectData: t.objectData
343
+ }, null, 8, ["slot", "data", "objectData"]))
327
344
  ])) : y("", !0)
328
345
  ])) : y("", !0)
329
346
  ], 64);
@@ -335,7 +352,7 @@ function To(s, a, c, l, t, u) {
335
352
  ], 2)
336
353
  ]);
337
354
  }
338
- const No = /* @__PURE__ */ Q(ro, [["render", To], ["__scopeId", "data-v-6a1823cf"]]);
355
+ const Oo = /* @__PURE__ */ U(co, [["render", Ho], ["__scopeId", "data-v-d3972cb9"]]);
339
356
  export {
340
- No as default
357
+ Oo as default
341
358
  };
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as e, openBlock as r, createBlock as t } from "vue";
2
- import { _ as c } from "./import-file-CsnR0UjH.js";
2
+ import { _ as c } from "./import-file-BihjtZo9.js";
3
3
  const n = {};
4
4
  function s(_, p, a, i, f, m) {
5
5
  const o = e("router-view");
@@ -1,4 +1,4 @@
1
- import { _ as d, u as m, a as n } from "./import-file-CsnR0UjH.js";
1
+ import { _ as d, u as m, a as n } from "./import-file-BihjtZo9.js";
2
2
  import { resolveComponent as b, openBlock as u, createElementBlock as h, createElementVNode as a, createBlock as f, createCommentVNode as p } from "vue";
3
3
  const g = {
4
4
  data() {