@opengis/admin 0.1.55 → 0.1.57

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
- import { _ as f, b as ue, a as A, V as he, c as pe, d as be, e as fe, I as me, u as re } from "./import-file-YqGiZOb_.js";
2
- import { openBlock as s, createElementBlock as i, createTextVNode as F, toDisplayString as I, createCommentVNode as v, createStaticVNode as z, Fragment as C, createElementVNode as l, resolveComponent as d, createVNode as b, withCtx as y, createBlock as x, withModifiers as ge, renderList as T, withDirectives as P, vModelCheckbox as xe, resolveDynamicComponent as ye, Transition as q, renderSlot as _e, vShow as ne, normalizeClass as V, normalizeStyle as j } from "vue";
1
+ import { _ as f, b as de, a as A, V as ue, c as he, d as pe, e as be, I as fe, u as te } from "./import-file-BRMqCIEX.js";
2
+ import { openBlock as o, createElementBlock as i, createTextVNode as F, toDisplayString as I, createCommentVNode as v, createStaticVNode as j, Fragment as C, createElementVNode as l, resolveComponent as c, createVNode as b, withCtx as y, createBlock as x, withModifiers as me, renderList as T, withDirectives as z, vModelCheckbox as ge, resolveDynamicComponent as xe, Transition as P, renderSlot as ye, vShow as re, normalizeClass as V, normalizeStyle as _e } from "vue";
3
3
  const ke = {
4
4
  data() {
5
5
  return {
@@ -60,7 +60,7 @@ const ke = {
60
60
  }
61
61
  }, we = {
62
62
  scope: "col",
63
- class: "text-start"
63
+ class: "text-start whitespace-nowrap px-2 py-1"
64
64
  }, ve = {
65
65
  class: "flex-shrink-0 size-3.5",
66
66
  xmlns: "http://www.w3.org/2000/svg",
@@ -80,25 +80,25 @@ const ke = {
80
80
  d: "m7 9 5-5 5 5"
81
81
  }, Ie = {
82
82
  key: 1,
83
- class: "text-sm text-gray-800 px-[4px] py-2.5 text-start font-normal text-gray-500"
83
+ class: "text-sm text-stone-500 px-[4px] py-2.5 text-start font-normal text-gray-500"
84
84
  };
85
- function Te(t, e, r, a, n, o) {
86
- return s(), i("th", we, [
87
- o.getVisibleIcon ? (s(), i("button", {
85
+ function Te(t, e, r, a, n, s) {
86
+ return o(), i("th", we, [
87
+ s.getVisibleIcon ? (o(), i("button", {
88
88
  key: 0,
89
89
  type: "button",
90
- class: "text-sm text-gray-800 px-[4px] py-2.5 text-start font-normal text-gray-500 flex items-center gap-[6px]",
91
- onClick: e[0] || (e[0] = (c) => o.handleClickSortBtn(n.currentSort))
90
+ class: "text-sm text-stone-500 px-[4px] py-2.5 text-start font-normal text-gray-500 flex items-center gap-[6px]",
91
+ onClick: e[0] || (e[0] = (d) => s.handleClickSortBtn(n.currentSort))
92
92
  }, [
93
- F(I(o.label) + " ", 1),
94
- (s(), i("svg", ve, [
95
- n.currentSort === "asc" || n.currentSort === "" ? (s(), i("path", Ce)) : v("", !0),
96
- n.currentSort === "desc" || n.currentSort === "" ? (s(), i("path", $e)) : v("", !0)
93
+ F(I(s.label) + " ", 1),
94
+ (o(), i("svg", ve, [
95
+ n.currentSort === "asc" || n.currentSort === "" ? (o(), i("path", Ce)) : v("", !0),
96
+ n.currentSort === "desc" || n.currentSort === "" ? (o(), i("path", $e)) : v("", !0)
97
97
  ]))
98
- ])) : (s(), i("p", Ie, I(o.label), 1))
98
+ ])) : (o(), i("p", Ie, I(s.label), 1))
99
99
  ]);
100
100
  }
101
- const Se = /* @__PURE__ */ f(ke, [["render", Te]]), Ve = {}, Ae = {
101
+ const Ve = /* @__PURE__ */ f(ke, [["render", Te]]), Se = {}, Ae = {
102
102
  class: "flex-shrink-0 size-3.5",
103
103
  xmlns: "http://www.w3.org/2000/svg",
104
104
  viewBox: "0 0 24 24",
@@ -108,21 +108,21 @@ const Se = /* @__PURE__ */ f(ke, [["render", Te]]), Ve = {}, Ae = {
108
108
  "stroke-linecap": "round",
109
109
  "stroke-linejoin": "round"
110
110
  };
111
- function Fe(t, e, r, a, n, o) {
112
- return s(), i("svg", Ae, e[0] || (e[0] = [
113
- z('<path d="M3 6h18"></path><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"></path><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"></path><line x1="10" x2="10" y1="11" y2="17"></line><line x1="14" x2="14" y1="11" y2="17"></line>', 5)
111
+ function Fe(t, e, r, a, n, s) {
112
+ return o(), i("svg", Ae, e[0] || (e[0] = [
113
+ j('<path d="M3 6h18"></path><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"></path><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"></path><line x1="10" x2="10" y1="11" y2="17"></line><line x1="14" x2="14" y1="11" y2="17"></line>', 5)
114
114
  ]));
115
115
  }
116
- const De = /* @__PURE__ */ f(Ve, [["render", Fe]]), Me = {
116
+ const De = /* @__PURE__ */ f(Se, [["render", Fe]]), Me = {
117
117
  props: {
118
118
  height: { type: String, default: "16" },
119
119
  width: { type: String, default: "12" },
120
120
  color: { type: String, default: "black" }
121
121
  }
122
122
  }, je = { style: { display: "none" } }, ze = ["height", "width", "fill"];
123
- function Pe(t, e, r, a, n, o) {
124
- return s(), i(C, null, [
125
- (s(), i("svg", je, e[0] || (e[0] = [
123
+ function Pe(t, e, r, a, n, s) {
124
+ return o(), i(C, null, [
125
+ (o(), i("svg", je, e[0] || (e[0] = [
126
126
  l("symbol", {
127
127
  id: "icon-pencil",
128
128
  viewBox: "0 0 32 32"
@@ -130,7 +130,7 @@ function Pe(t, e, r, a, n, o) {
130
130
  l("path", { d: "M27 0c2.761 0 5 2.239 5 5 0 1.126-0.372 2.164-1 3l-2 2-7-7 2-2c0.836-0.628 1.874-1 3-1zM2 23l-2 9 9-2 18.5-18.5-7-7-18.5 18.5zM22.362 11.362l-14 14-1.724-1.724 14-14 1.724 1.724z" })
131
131
  ], -1)
132
132
  ]))),
133
- (s(), i("svg", {
133
+ (o(), i("svg", {
134
134
  height: r.height,
135
135
  width: r.width,
136
136
  fill: r.color
@@ -141,7 +141,7 @@ function Pe(t, e, r, a, n, o) {
141
141
  }
142
142
  const qe = /* @__PURE__ */ f(Me, [["render", Pe]]), Be = {
143
143
  components: {
144
- IconMore: ue,
144
+ IconMore: de,
145
145
  IconDelete: De,
146
146
  IconEdit: qe
147
147
  },
@@ -197,13 +197,13 @@ const qe = /* @__PURE__ */ f(Me, [["render", Pe]]), Be = {
197
197
  }
198
198
  }
199
199
  }
200
- }, Le = { class: "hs-dropdown [--placement:bottom-right] inline-flex" }, Ue = { class: "gap-x-2 p-[4px] rounded-lg shadow-sm hover:border-transparent border focus:outline-none text-black hover:bg-gray-50" }, We = { class: "flex flex-col items-start" }, Oe = {
200
+ }, Le = { class: "hs-dropdown [--placement:bottom-right] inline-flex" }, Ue = { class: "size-7 inline-flex justify-center items-center gap-x-2 rounded-lg border border-stone-200 bg-white text-stone-800 shadow-sm hover:bg-stone-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-stone-50" }, Oe = { class: "flex flex-col items-start" }, Ee = {
201
201
  key: 1,
202
202
  class: "h-[1px] w-[80%] bg-gray-200 ml-auto mr-auto"
203
- }, Ee = { class: "p-4" }, Ne = { class: "flex justify-end mt-4 gap-x-3" };
204
- function He(t, e, r, a, n, o) {
205
- const c = d("IconMore"), p = d("IconEdit"), h = d("router-link"), u = d("IconDelete"), _ = d("VsPopover"), w = d("VsDialog");
206
- return s(), i(C, null, [
203
+ }, Ne = { class: "p-4" }, He = { class: "flex justify-end mt-4 gap-x-3" };
204
+ function We(t, e, r, a, n, s) {
205
+ const d = c("IconMore"), p = c("IconEdit"), h = c("router-link"), u = c("IconDelete"), _ = c("VsPopover"), w = c("VsDialog");
206
+ return o(), i(C, null, [
207
207
  l("div", Le, [
208
208
  b(_, {
209
209
  trigger: "click",
@@ -211,7 +211,7 @@ function He(t, e, r, a, n, o) {
211
211
  }, {
212
212
  reference: y(() => [
213
213
  l("button", Ue, [
214
- b(c, {
214
+ b(d, {
215
215
  height: "16",
216
216
  width: "16"
217
217
  })
@@ -220,8 +220,8 @@ function He(t, e, r, a, n, o) {
220
220
  default: y(() => {
221
221
  var k, $, m, S, D;
222
222
  return [
223
- l("div", We, [
224
- (k = r.actions) != null && k.includes("edit") && r.isForm ? (s(), x(h, {
223
+ l("div", Oe, [
224
+ (k = r.actions) != null && k.includes("edit") && r.isForm ? (o(), x(h, {
225
225
  key: 0,
226
226
  to: `/edit?table=${(m = ($ = t.$route) == null ? void 0 : $.params) == null ? void 0 : m.catchAll}&id=${(S = r.item) == null ? void 0 : S.id}`,
227
227
  class: "w-full flex items-center gap-x-3 py-1.5 px-2 rounded-lg text-[13px] text-stone-800 hover:bg-stone-100 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-stone-100"
@@ -232,10 +232,10 @@ function He(t, e, r, a, n, o) {
232
232
  ]),
233
233
  _: 1
234
234
  }, 8, ["to"])) : v("", !0),
235
- r.isForm ? (s(), i("div", Oe)) : v("", !0),
236
- (D = r.actions) != null && D.includes("del") ? (s(), i("button", {
235
+ r.isForm ? (o(), i("div", Ee)) : v("", !0),
236
+ (D = r.actions) != null && D.includes("del") ? (o(), i("button", {
237
237
  key: 2,
238
- onClick: e[0] || (e[0] = ge((...M) => o.openConfirm && o.openConfirm(...M), ["stop"])),
238
+ onClick: e[0] || (e[0] = me((...M) => s.openConfirm && s.openConfirm(...M), ["stop"])),
239
239
  class: "w-full flex items-center gap-x-3 py-1.5 px-2 rounded-lg text-[13px] text-stone-800 hover:bg-stone-100 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-stone-100"
240
240
  }, [
241
241
  b(u),
@@ -253,9 +253,9 @@ function He(t, e, r, a, n, o) {
253
253
  title: "Ви впевнені?"
254
254
  }, {
255
255
  default: y(() => [
256
- l("div", Ee, [
256
+ l("div", Ne, [
257
257
  e[6] || (e[6] = l("p", { class: "mt-1 text-gray-500 dark:text-neutral-500" }, " Ви впевнені, що хочете видалити цей об'єкт? ", -1)),
258
- l("div", Ne, [
258
+ l("div", He, [
259
259
  l("button", {
260
260
  type: "button",
261
261
  class: "inline-flex items-center px-3 py-2 text-sm font-medium text-gray-800 bg-white border border-gray-200 rounded-lg shadow-sm gap-x-2 hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700",
@@ -264,7 +264,7 @@ function He(t, e, r, a, n, o) {
264
264
  l("button", {
265
265
  type: "button",
266
266
  class: "inline-flex items-center px-3 py-2 text-sm font-semibold text-white bg-red-500 border border-transparent rounded-lg gap-x-2 hover:bg-red-600 disabled:opacity-50 disabled:pointer-events-none",
267
- onClick: e[2] || (e[2] = (...k) => o.deleteElement && o.deleteElement(...k))
267
+ onClick: e[2] || (e[2] = (...k) => s.deleteElement && s.deleteElement(...k))
268
268
  }, " Так, я впевнена/ий ")
269
269
  ])
270
270
  ])
@@ -273,7 +273,7 @@ function He(t, e, r, a, n, o) {
273
273
  }, 8, ["visible"])
274
274
  ], 64);
275
275
  }
276
- const Re = /* @__PURE__ */ f(Be, [["render", He]]), Ge = {}, Ze = {
276
+ const Re = /* @__PURE__ */ f(Be, [["render", We]]), Ge = {}, Ze = {
277
277
  class: "flex-shrink-0 mt-0.5 size-3.5",
278
278
  xmlns: "http://www.w3.org/2000/svg",
279
279
  viewBox: "0 0 24 24",
@@ -283,8 +283,8 @@ const Re = /* @__PURE__ */ f(Be, [["render", He]]), Ge = {}, Ze = {
283
283
  "stroke-linecap": "round",
284
284
  "stroke-linejoin": "round"
285
285
  };
286
- function Je(t, e, r, a, n, o) {
287
- return s(), i("svg", Ze, e[0] || (e[0] = [
286
+ function Je(t, e, r, a, n, s) {
287
+ return o(), i("svg", Ze, e[0] || (e[0] = [
288
288
  l("path", { d: "m3 16 4 4 4-4" }, null, -1),
289
289
  l("path", { d: "M7 20V4" }, null, -1),
290
290
  l("path", { d: "m21 8-4-4-4 4" }, null, -1),
@@ -336,14 +336,14 @@ const Ke = /* @__PURE__ */ f(Ge, [["render", Je]]), Qe = {
336
336
  }
337
337
  }
338
338
  }, Xe = { class: "p-4" }, Ye = { class: "pb-5 mb-5 last:pb-0 last:mb-0 border-b last:border-b-0 border-gray-200 dark:border-neutral-700" }, et = { class: "mt-2 flex row flex-wrap gap-y-[5px] gap-x-[10px]" }, tt = { class: "pb-5 mb-5 last:pb-0 last:mb-0 border-b last:border-b-0 border-gray-200 dark:border-neutral-700" }, rt = { class: "mt-2 space-y-2" }, nt = ["id", "onChange"], lt = ["for"], ot = { class: "flex w-full justify-end p-[20px] gap-[6px] border-t" };
339
- function st(t, e, r, a, n, o) {
340
- const c = d("IconExport"), p = d("VsCheckbox"), h = d("VsDialog");
341
- return s(), i(C, null, [
339
+ function st(t, e, r, a, n, s) {
340
+ const d = c("IconExport"), p = c("VsCheckbox"), h = c("VsDialog");
341
+ return o(), i(C, null, [
342
342
  l("button", {
343
343
  onClick: e[0] || (e[0] = (u) => n.isOpen = !0),
344
344
  class: "py-2 px-2.5 inline-flex items-center gap-x-1.5 text-xs font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700"
345
345
  }, [
346
- b(c, {
346
+ b(d, {
347
347
  height: "16",
348
348
  width: "16"
349
349
  }),
@@ -379,7 +379,7 @@ function st(t, e, r, a, n, o) {
379
379
  l("button", {
380
380
  type: "button",
381
381
  class: "py-2 px-3 text-nowrap inline-flex justify-center items-center gap-x-2 text-start bg-blue-600 border border-blue-600 text-white text-sm font-medium rounded-lg shadow-sm align-middle hover:bg-blue-700 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:ring-1 focus:ring-blue-300 dark:focus:ring-blue-500",
382
- onClick: e[2] || (e[2] = (...u) => o.exportTable && o.exportTable(...u))
382
+ onClick: e[2] || (e[2] = (...u) => s.exportTable && s.exportTable(...u))
383
383
  }, " Завантажити таблицю ")
384
384
  ])
385
385
  ]),
@@ -389,7 +389,7 @@ function st(t, e, r, a, n, o) {
389
389
  l("div", Ye, [
390
390
  e[6] || (e[6] = l("h2", { class: "text-sm text-gray-500" }, " Виберіть стовпці таблиці для експорту: ", -1)),
391
391
  l("div", et, [
392
- (s(!0), i(C, null, T(r.columns, (u, _) => (s(), i("div", {
392
+ (o(!0), i(C, null, T(r.columns, (u, _) => (o(), i("div", {
393
393
  class: "flex items-center",
394
394
  key: _,
395
395
  style: { width: "calc((100% - 10px) / 2)" }
@@ -407,7 +407,7 @@ function st(t, e, r, a, n, o) {
407
407
  l("div", tt, [
408
408
  e[7] || (e[7] = l("h2", { class: "text-sm text-gray-500" }, "Виберіть формат таблиці:", -1)),
409
409
  l("div", rt, [
410
- (s(!0), i(C, null, T(n.tableFormats, (u, _) => (s(), i("div", {
410
+ (o(!0), i(C, null, T(n.tableFormats, (u, _) => (o(), i("div", {
411
411
  class: "flex items-center",
412
412
  key: _
413
413
  }, [
@@ -416,7 +416,7 @@ function st(t, e, r, a, n, o) {
416
416
  name: "hs-pro-duecmfm",
417
417
  class: "shrink-0 border-gray-300 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-500 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800",
418
418
  id: u,
419
- onChange: (w) => o.selectFormat(u)
419
+ onChange: (w) => s.selectFormat(u)
420
420
  }, null, 40, nt),
421
421
  l("label", {
422
422
  for: u,
@@ -431,7 +431,7 @@ function st(t, e, r, a, n, o) {
431
431
  }, 8, ["visible"])
432
432
  ], 64);
433
433
  }
434
- const at = /* @__PURE__ */ f(Qe, [["render", st]]), it = {}, dt = {
434
+ const at = /* @__PURE__ */ f(Qe, [["render", st]]), it = {}, ct = {
435
435
  xmlns: "http://www.w3.org/2000/svg",
436
436
  viewBox: "0 0 24 24",
437
437
  fill: "none",
@@ -441,12 +441,12 @@ const at = /* @__PURE__ */ f(Qe, [["render", st]]), it = {}, dt = {
441
441
  "stroke-linejoin": "round",
442
442
  class: "icon icon-tabler icons-tabler-outline icon-tabler-columns"
443
443
  };
444
- function ct(t, e, r, a, n, o) {
445
- return s(), i("svg", dt, e[0] || (e[0] = [
446
- z('<path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 6l5.5 0"></path><path d="M4 10l5.5 0"></path><path d="M4 14l5.5 0"></path><path d="M4 18l5.5 0"></path><path d="M14.5 6l5.5 0"></path><path d="M14.5 10l5.5 0"></path><path d="M14.5 14l5.5 0"></path><path d="M14.5 18l5.5 0"></path>', 9)
444
+ function dt(t, e, r, a, n, s) {
445
+ return o(), i("svg", ct, e[0] || (e[0] = [
446
+ j('<path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 6l5.5 0"></path><path d="M4 10l5.5 0"></path><path d="M4 14l5.5 0"></path><path d="M4 18l5.5 0"></path><path d="M14.5 6l5.5 0"></path><path d="M14.5 10l5.5 0"></path><path d="M14.5 14l5.5 0"></path><path d="M14.5 18l5.5 0"></path>', 9)
447
447
  ]));
448
448
  }
449
- const ut = /* @__PURE__ */ f(it, [["render", ct]]), ht = {
449
+ const ut = /* @__PURE__ */ f(it, [["render", dt]]), ht = {
450
450
  props: { column: Object },
451
451
  emits: ["update-column"],
452
452
  data() {
@@ -464,16 +464,16 @@ const ut = /* @__PURE__ */ f(it, [["render", ct]]), ht = {
464
464
  ((t = this.column) == null ? void 0 : t.hidden) !== !0 && (this.value = !0);
465
465
  }
466
466
  }, pt = { class: "flex w-full gap-[8px] items-centr" };
467
- function bt(t, e, r, a, n, o) {
468
- var c, p;
469
- return s(), i("label", pt, [
470
- P(l("input", {
467
+ function bt(t, e, r, a, n, s) {
468
+ var d, p;
469
+ return o(), i("label", pt, [
470
+ z(l("input", {
471
471
  "onUpdate:modelValue": e[0] || (e[0] = (h) => n.value = h),
472
472
  type: "checkbox"
473
473
  }, null, 512), [
474
- [xe, n.value]
474
+ [ge, n.value]
475
475
  ]),
476
- F(" " + I(((c = r.column) == null ? void 0 : c.ua) || ((p = r.column) == null ? void 0 : p.title)), 1)
476
+ F(" " + I(((d = r.column) == null ? void 0 : d.ua) || ((p = r.column) == null ? void 0 : p.title)), 1)
477
477
  ]);
478
478
  }
479
479
  const ft = /* @__PURE__ */ f(ht, [["render", bt]]), mt = {
@@ -487,15 +487,15 @@ const ft = /* @__PURE__ */ f(ht, [["render", bt]]), mt = {
487
487
  }
488
488
  }
489
489
  }, gt = { class: "py-2 px-2.5 inline-flex items-center gap-x-1.5 text-xs font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700" }, xt = { class: "py-[10px] px-[10px] w-[260px]" }, yt = { class: "flex flex-col gap-[3px] max-h-[400px] w-full overflow-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar:horizontal]:h-[8px] [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500" };
490
- function _t(t, e, r, a, n, o) {
491
- const c = d("IconColumns"), p = d("AdminTableColumnsHiddenItem"), h = d("VsPopover");
492
- return s(), x(h, {
490
+ function _t(t, e, r, a, n, s) {
491
+ const d = c("IconColumns"), p = c("AdminTableColumnsHiddenItem"), h = c("VsPopover");
492
+ return o(), x(h, {
493
493
  trigger: "click",
494
494
  placement: "bottom"
495
495
  }, {
496
496
  reference: y(() => [
497
497
  l("button", gt, [
498
- b(c, {
498
+ b(d, {
499
499
  height: "20",
500
500
  width: "16"
501
501
  })
@@ -505,10 +505,10 @@ function _t(t, e, r, a, n, o) {
505
505
  l("div", xt, [
506
506
  e[0] || (e[0] = l("h2", { class: "text-sm mb-[8px]" }, "Оберіть колонки, щоб приховати", -1)),
507
507
  l("ul", yt, [
508
- (s(!0), i(C, null, T(r.columns, (u, _) => (s(), i("li", { key: _ }, [
508
+ (o(!0), i(C, null, T(r.columns, (u, _) => (o(), i("li", { key: _ }, [
509
509
  b(p, {
510
510
  column: u,
511
- onUpdateColumn: o.updateColumn
511
+ onUpdateColumn: s.updateColumn
512
512
  }, null, 8, ["column", "onUpdateColumn"])
513
513
  ]))), 128))
514
514
  ])
@@ -523,8 +523,8 @@ const kt = /* @__PURE__ */ f(mt, [["render", _t]]), wt = {}, vt = {
523
523
  fill: "currentColor",
524
524
  viewBox: "0 0 16 16"
525
525
  };
526
- function Ct(t, e, r, a, n, o) {
527
- return s(), i("svg", vt, e[0] || (e[0] = [
526
+ function Ct(t, e, r, a, n, s) {
527
+ return o(), i("svg", vt, e[0] || (e[0] = [
528
528
  l("path", {
529
529
  "fill-rule": "evenodd",
530
530
  "clip-rule": "evenodd",
@@ -532,19 +532,19 @@ function Ct(t, e, r, a, n, o) {
532
532
  }, null, -1)
533
533
  ]));
534
534
  }
535
- const le = /* @__PURE__ */ f(wt, [["render", Ct]]), $t = {}, It = { class: "vs-table-interface__table-wrp w-full rounded h-fit overflow-hidden" };
536
- function Tt(t, e, r, a, n, o) {
537
- return s(), i("div", It, e[0] || (e[0] = [
538
- z('<div><div class="p-5 min-h-[500px] flex flex-col justify-center items-center text-center"><svg class="w-48 mx-auto" viewBox="0 0 178 90" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="27" y="50.5" width="124" height="39" rx="7.5" fill="currentColor" class="fill-white dark:fill-neutral-800"></rect><rect x="27" y="50.5" width="124" height="39" rx="7.5" stroke="currentColor" class="stroke-gray-50 dark:stroke-neutral-700/10"></rect><rect x="34.5" y="58" width="24" height="24" rx="4" fill="currentColor" class="fill-gray-50 dark:fill-neutral-700/30"></rect><rect x="66.5" y="61" width="60" height="6" rx="3" fill="currentColor" class="fill-gray-50 dark:fill-neutral-700/30"></rect><rect x="66.5" y="73" width="77" height="6" rx="3" fill="currentColor" class="fill-gray-50 dark:fill-neutral-700/30"></rect><rect x="19.5" y="28.5" width="139" height="39" rx="7.5" fill="currentColor" class="fill-white dark:fill-neutral-800"></rect><rect x="19.5" y="28.5" width="139" height="39" rx="7.5" stroke="currentColor" class="stroke-gray-100 dark:stroke-neutral-700/30"></rect><rect x="27" y="36" width="24" height="24" rx="4" fill="currentColor" class="fill-gray-100 dark:fill-neutral-700/70"></rect><rect x="59" y="39" width="60" height="6" rx="3" fill="currentColor" class="fill-gray-100 dark:fill-neutral-700/70"></rect><rect x="59" y="51" width="92" height="6" rx="3" fill="currentColor" class="fill-gray-100 dark:fill-neutral-700/70"></rect><g filter="url(#filter1)"><rect x="12" y="6" width="154" height="40" rx="8" fill="currentColor" class="fill-white dark:fill-neutral-800" shape-rendering="crispEdges"></rect><rect x="12.5" y="6.5" width="153" height="39" rx="7.5" stroke="currentColor" class="stroke-gray-100 dark:stroke-neutral-700/60" shape-rendering="crispEdges"></rect><rect x="20" y="14" width="24" height="24" rx="4" fill="currentColor" class="fill-gray-200 dark:fill-neutral-700"></rect><rect x="52" y="17" width="60" height="6" rx="3" fill="currentColor" class="fill-gray-200 dark:fill-neutral-700"></rect><rect x="52" y="29" width="106" height="6" rx="3" fill="currentColor" class="fill-gray-200 dark:fill-neutral-700"></rect></g><defs><filter id="filter1" x="0" y="0" width="178" height="64" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="6"></feOffset><feGaussianBlur stdDeviation="6"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1187_14810"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1187_14810" result="shape"></feBlend></filter></defs></svg><div class="max-w-sm mx-auto mt-6"><p class="font-medium text-gray-800 dark:text-neutral-200"> Дані для відображення відсутні </p><p class="mt-2 text-sm text-gray-500 dark:text-neutral-500"> Змініть параметри пошуку або спробуйте пізніше </p></div></div></div>', 1)
535
+ const ne = /* @__PURE__ */ f(wt, [["render", Ct]]), $t = {}, It = { class: "vs-table-interface__table-wrp w-full rounded h-fit overflow-hidden" };
536
+ function Tt(t, e, r, a, n, s) {
537
+ return o(), i("div", It, e[0] || (e[0] = [
538
+ j('<div><div class="p-5 min-h-[500px] flex flex-col justify-center items-center text-center"><svg class="w-48 mx-auto" viewBox="0 0 178 90" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="27" y="50.5" width="124" height="39" rx="7.5" fill="currentColor" class="fill-white dark:fill-neutral-800"></rect><rect x="27" y="50.5" width="124" height="39" rx="7.5" stroke="currentColor" class="stroke-gray-50 dark:stroke-neutral-700/10"></rect><rect x="34.5" y="58" width="24" height="24" rx="4" fill="currentColor" class="fill-gray-50 dark:fill-neutral-700/30"></rect><rect x="66.5" y="61" width="60" height="6" rx="3" fill="currentColor" class="fill-gray-50 dark:fill-neutral-700/30"></rect><rect x="66.5" y="73" width="77" height="6" rx="3" fill="currentColor" class="fill-gray-50 dark:fill-neutral-700/30"></rect><rect x="19.5" y="28.5" width="139" height="39" rx="7.5" fill="currentColor" class="fill-white dark:fill-neutral-800"></rect><rect x="19.5" y="28.5" width="139" height="39" rx="7.5" stroke="currentColor" class="stroke-gray-100 dark:stroke-neutral-700/30"></rect><rect x="27" y="36" width="24" height="24" rx="4" fill="currentColor" class="fill-gray-100 dark:fill-neutral-700/70"></rect><rect x="59" y="39" width="60" height="6" rx="3" fill="currentColor" class="fill-gray-100 dark:fill-neutral-700/70"></rect><rect x="59" y="51" width="92" height="6" rx="3" fill="currentColor" class="fill-gray-100 dark:fill-neutral-700/70"></rect><g filter="url(#filter1)"><rect x="12" y="6" width="154" height="40" rx="8" fill="currentColor" class="fill-white dark:fill-neutral-800" shape-rendering="crispEdges"></rect><rect x="12.5" y="6.5" width="153" height="39" rx="7.5" stroke="currentColor" class="stroke-gray-100 dark:stroke-neutral-700/60" shape-rendering="crispEdges"></rect><rect x="20" y="14" width="24" height="24" rx="4" fill="currentColor" class="fill-gray-200 dark:fill-neutral-700"></rect><rect x="52" y="17" width="60" height="6" rx="3" fill="currentColor" class="fill-gray-200 dark:fill-neutral-700"></rect><rect x="52" y="29" width="106" height="6" rx="3" fill="currentColor" class="fill-gray-200 dark:fill-neutral-700"></rect></g><defs><filter id="filter1" x="0" y="0" width="178" height="64" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="6"></feOffset><feGaussianBlur stdDeviation="6"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1187_14810"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1187_14810" result="shape"></feBlend></filter></defs></svg><div class="max-w-sm mx-auto mt-6"><p class="font-medium text-gray-800 dark:text-neutral-200"> Дані для відображення відсутні </p><p class="mt-2 text-sm text-gray-500 dark:text-neutral-500"> Змініть параметри пошуку або спробуйте пізніше </p></div></div></div>', 1)
539
539
  ]));
540
540
  }
541
- const St = /* @__PURE__ */ f($t, [["render", Tt]]), Vt = {
541
+ const Vt = /* @__PURE__ */ f($t, [["render", Tt]]), St = {
542
542
  props: { row: Object, column: Object, table: String }
543
543
  };
544
- function At(t, e, r, a, n, o) {
545
- var c, p, h, u, _, w, k, $;
546
- return s(), x(ye(
547
- ((c = r.column) == null ? void 0 : c.format) === "custom" ? (p = r.column) == null ? void 0 : p.component : t.$componentsConfig[`table-format-${((u = (h = r.column) == null ? void 0 : h.format) == null ? void 0 : u.toLowerCase()) || "text"}`]
544
+ function At(t, e, r, a, n, s) {
545
+ var d, p, h, u, _, w, k, $;
546
+ return o(), x(xe(
547
+ ((d = r.column) == null ? void 0 : d.format) === "custom" ? (p = r.column) == null ? void 0 : p.component : t.$componentsConfig[`table-format-${((u = (h = r.column) == null ? void 0 : h.format) == null ? void 0 : u.toLowerCase()) || "text"}`]
548
548
  ), {
549
549
  onUpdateTable: e[0] || (e[0] = (m) => t.$emit("update-table")),
550
550
  name: (_ = r.column) == null ? void 0 : _.name,
@@ -554,7 +554,7 @@ function At(t, e, r, a, n, o) {
554
554
  edit: ($ = r.column) == null ? void 0 : $.edit
555
555
  }, null, 40, ["name", "data", "value", "table", "edit"]);
556
556
  }
557
- const oe = /* @__PURE__ */ f(Vt, [["render", At]]), Ft = {}, Dt = {
557
+ const le = /* @__PURE__ */ f(St, [["render", At]]), Ft = {}, Dt = {
558
558
  xmlns: "http://www.w3.org/2000/svg",
559
559
  viewBox: "0 0 24 24",
560
560
  fill: "none",
@@ -564,8 +564,8 @@ const oe = /* @__PURE__ */ f(Vt, [["render", At]]), Ft = {}, Dt = {
564
564
  "stroke-linejoin": "round",
565
565
  class: "icon icon-tabler icons-tabler-outline icon-tabler-minus"
566
566
  };
567
- function Mt(t, e, r, a, n, o) {
568
- return s(), i("svg", Dt, e[0] || (e[0] = [
567
+ function Mt(t, e, r, a, n, s) {
568
+ return o(), i("svg", Dt, e[0] || (e[0] = [
569
569
  l("path", {
570
570
  stroke: "none",
571
571
  d: "M0 0h24v24H0z",
@@ -575,15 +575,15 @@ function Mt(t, e, r, a, n, o) {
575
575
  ]));
576
576
  }
577
577
  const jt = /* @__PURE__ */ f(Ft, [["render", Mt]]), zt = {
578
- components: { IconPlus: le, IconMinus: jt },
578
+ components: { IconPlus: ne, IconMinus: jt },
579
579
  props: { title: String },
580
580
  data() {
581
581
  return { expanded: !1 };
582
582
  }
583
583
  }, Pt = { class: "hs-accordion" }, qt = { class: "py-0.5 flex items-center gap-x-0.5 w-full" }, Bt = { class: "text-sm font-medium" }, Lt = { class: "w-full duration-150 before:block before:absolute relative inline-block b cursor-pointer" };
584
- function Ut(t, e, r, a, n, o) {
585
- const c = d("IconPlus"), p = d("IconMinus");
586
- return s(), i("div", null, [
584
+ function Ut(t, e, r, a, n, s) {
585
+ const d = c("IconPlus"), p = c("IconMinus");
586
+ return o(), i("div", null, [
587
587
  l("div", null, [
588
588
  l("div", Pt, [
589
589
  l("div", qt, [
@@ -597,18 +597,18 @@ function Ut(t, e, r, a, n, o) {
597
597
  class: "size-6 flex justify-center items-center hover:bg-gray-100 rounded-md",
598
598
  onClick: e[1] || (e[1] = (h) => n.expanded = !n.expanded)
599
599
  }, [
600
- n.expanded ? (s(), x(p, {
600
+ n.expanded ? (o(), x(p, {
601
601
  key: 1,
602
602
  width: "14"
603
- })) : (s(), x(c, { key: 0 }))
603
+ })) : (o(), x(d, { key: 0 }))
604
604
  ])
605
605
  ]),
606
- b(q, { name: "fade" }, {
606
+ b(P, { name: "fade" }, {
607
607
  default: y(() => [
608
- P(l("div", Lt, [
609
- _e(t.$slots, "default", {}, void 0, !0)
608
+ z(l("div", Lt, [
609
+ ye(t.$slots, "default", {}, void 0, !0)
610
610
  ], 512), [
611
- [ne, n.expanded]
611
+ [re, n.expanded]
612
612
  ])
613
613
  ]),
614
614
  _: 3
@@ -617,45 +617,45 @@ function Ut(t, e, r, a, n, o) {
617
617
  ])
618
618
  ]);
619
619
  }
620
- const Wt = /* @__PURE__ */ f(zt, [["render", Ut], ["__scopeId", "data-v-f5ecdb9a"]]), Ot = {
620
+ const Ot = /* @__PURE__ */ f(zt, [["render", Ut], ["__scopeId", "data-v-f5ecdb9a"]]), Et = {
621
621
  components: {
622
- AdminComponentIs: oe,
623
- AdminTree: Wt,
624
- VsNoData: he,
625
- VsWidgetComments: pe,
626
- VsWidgetMap: be,
627
- VsWidgetFileList: fe
622
+ AdminComponentIs: le,
623
+ AdminTree: Ot,
624
+ VsNoData: ue,
625
+ VsWidgetComments: he,
626
+ VsWidgetMap: pe,
627
+ VsWidgetFileList: be
628
628
  },
629
629
  props: { table: String, columns: Array, row: Object }
630
- }, Et = {
631
- class: "hs-accordion border-gray-100 w-[360px] overflow-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar:horizontal]:h-[8px] [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500",
632
- style: { height: "calc(100vh - 310px)" }
633
630
  }, Nt = {
631
+ class: "hs-accordion border-gray-100 w-[360px] shrink-0 overflow-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar:horizontal]:h-[8px] [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500",
632
+ style: { height: "calc(100vh - 310px)" }
633
+ }, Ht = {
634
634
  class: "border-l",
635
635
  style: { height: "calc(100vh - 360px)" }
636
- }, Ht = { class: "py-1 flex justify-between items-center gap-x-4" }, Rt = { class: "col-span-1" }, Gt = { class: "inline-flex items-center gap-x-2 text-[13px] text-gray-500 dark:text-neutral-500" }, Zt = { class: "col-span-2" }, Jt = { class: "font-medium text-[13px] text-gray-800 dark:text-neutral-200" }, Kt = { class: "table-info-card" }, Qt = { class: "table-info-card" };
637
- function Xt(t, e, r, a, n, o) {
636
+ }, Wt = { class: "py-1 flex justify-between items-center gap-x-4" }, Rt = { class: "col-span-1" }, Gt = { class: "inline-flex items-center gap-x-2 text-[13px] text-gray-500 dark:text-neutral-500" }, Zt = { class: "col-span-2" }, Jt = { class: "font-medium text-[13px] text-gray-800 dark:text-neutral-200" }, Kt = { class: "table-info-card" }, Qt = { class: "table-info-card" };
637
+ function Xt(t, e, r, a, n, s) {
638
638
  var k, $;
639
- const c = d("AdminComponentIs"), p = d("AdminTree"), h = d("VsWidgetMap"), u = d("VsNoData"), _ = d("VsWidgetComments"), w = d("VsWidgetFileList");
640
- return s(), i("div", Et, [
639
+ const d = c("AdminComponentIs"), p = c("AdminTree"), h = c("VsWidgetMap"), u = c("VsNoData"), _ = c("VsWidgetComments"), w = c("VsWidgetFileList");
640
+ return o(), i("div", Nt, [
641
641
  e[0] || (e[0] = l("div", { class: "p-[10px] pl-[18px] pb-[18px] border-b" }, [
642
642
  l("h2", { class: "text-sm font-medium" }, "Інформація про об'єкт")
643
643
  ], -1)),
644
- l("div", Nt, [
645
- ($ = (k = t.$route) == null ? void 0 : k.query) != null && $.card ? (s(), i(C, { key: 0 }, [
646
- r.row ? (s(), x(p, {
644
+ l("div", Ht, [
645
+ ($ = (k = t.$route) == null ? void 0 : k.query) != null && $.card ? (o(), i(C, { key: 0 }, [
646
+ r.row ? (o(), x(p, {
647
647
  key: 0,
648
648
  title: "Основна інформація",
649
649
  class: "border-b p-[10px] py-[16px] w-[280px]"
650
650
  }, {
651
651
  default: y(() => [
652
- (s(!0), i(C, null, T(r.columns, (m) => (s(), i("dl", Ht, [
652
+ (o(!0), i(C, null, T(r.columns, (m) => (o(), i("dl", Wt, [
653
653
  l("dt", Rt, [
654
654
  l("p", Gt, I((m == null ? void 0 : m.ua) || (m == null ? void 0 : m.title)) + ": ", 1)
655
655
  ]),
656
656
  l("dd", Zt, [
657
657
  l("p", Jt, [
658
- b(c, {
658
+ b(d, {
659
659
  row: r.row,
660
660
  column: m,
661
661
  table: r.table
@@ -673,11 +673,11 @@ function Xt(t, e, r, a, n, o) {
673
673
  default: y(() => {
674
674
  var m, S;
675
675
  return [
676
- (m = r.row) != null && m.geom ? (s(), x(h, {
676
+ (m = r.row) != null && m.geom ? (o(), x(h, {
677
677
  key: 0,
678
678
  geometry: (S = r.row) == null ? void 0 : S.geom,
679
679
  zoom: 14
680
- }, null, 8, ["geometry"])) : (s(), x(u, {
680
+ }, null, 8, ["geometry"])) : (o(), x(u, {
681
681
  key: 1,
682
682
  title: "У об'єкта відсутня геометрія",
683
683
  text: "",
@@ -719,14 +719,14 @@ function Xt(t, e, r, a, n, o) {
719
719
  }),
720
720
  _: 1
721
721
  })
722
- ], 64)) : (s(), x(u, {
722
+ ], 64)) : (o(), x(u, {
723
723
  key: 1,
724
724
  text: "Оберіть один з об'єктів в таблиці для відображення інформаціі про нього"
725
725
  }))
726
726
  ])
727
727
  ]);
728
728
  }
729
- const Yt = /* @__PURE__ */ f(Ot, [["render", Xt]]), er = {}, tr = {
729
+ const Yt = /* @__PURE__ */ f(Et, [["render", Xt]]), er = {}, tr = {
730
730
  class: "hidden xl:block shrink-0 size-4",
731
731
  xmlns: "http://www.w3.org/2000/svg",
732
732
  viewBox: "0 0 24 24",
@@ -736,8 +736,8 @@ const Yt = /* @__PURE__ */ f(Ot, [["render", Xt]]), er = {}, tr = {
736
736
  "stroke-linecap": "round",
737
737
  "stroke-linejoin": "round"
738
738
  };
739
- function rr(t, e, r, a, n, o) {
740
- return s(), i("svg", tr, e[0] || (e[0] = [
739
+ function rr(t, e, r, a, n, s) {
740
+ return o(), i("svg", tr, e[0] || (e[0] = [
741
741
  l("rect", {
742
742
  width: "18",
743
743
  height: "18",
@@ -761,9 +761,9 @@ const nr = /* @__PURE__ */ f(er, [["render", rr]]), lr = {}, or = {
761
761
  "stroke-linecap": "round",
762
762
  "stroke-linejoin": "round"
763
763
  };
764
- function sr(t, e, r, a, n, o) {
765
- return s(), i("svg", or, e[0] || (e[0] = [
766
- z('<line x1="21" x2="14" y1="4" y2="4"></line><line x1="10" x2="3" y1="4" y2="4"></line><line x1="21" x2="12" y1="12" y2="12"></line><line x1="8" x2="3" y1="12" y2="12"></line><line x1="21" x2="16" y1="20" y2="20"></line><line x1="12" x2="3" y1="20" y2="20"></line><line x1="14" x2="14" y1="2" y2="6"></line><line x1="8" x2="8" y1="10" y2="14"></line><line x1="16" x2="16" y1="18" y2="22"></line>', 9)
764
+ function sr(t, e, r, a, n, s) {
765
+ return o(), i("svg", or, e[0] || (e[0] = [
766
+ j('<line x1="21" x2="14" y1="4" y2="4"></line><line x1="10" x2="3" y1="4" y2="4"></line><line x1="21" x2="12" y1="12" y2="12"></line><line x1="8" x2="3" y1="12" y2="12"></line><line x1="21" x2="16" y1="20" y2="20"></line><line x1="12" x2="3" y1="20" y2="20"></line><line x1="14" x2="14" y1="2" y2="6"></line><line x1="8" x2="8" y1="10" y2="14"></line><line x1="16" x2="16" y1="18" y2="22"></line>', 9)
767
767
  ]));
768
768
  }
769
769
  const ar = /* @__PURE__ */ f(lr, [["render", sr]]), ir = {
@@ -779,35 +779,35 @@ const ar = /* @__PURE__ */ f(lr, [["render", sr]]), ir = {
779
779
  this.isFilters && t.classList.contains("filter-container") && (this.isFilters = !1);
780
780
  }
781
781
  }
782
- }, dr = {
782
+ }, cr = {
783
783
  key: 0,
784
784
  class: "font-medium text-[10px] py-0.5 px-[5px] bg-gray-800 text-white leading-3 rounded-full dark:bg-neutral-500"
785
- }, cr = { class: "filter-content h-screen bg-white w-[400px] p-[20px] pt-[10px] overflow-x-auto bg-white [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar:horizontal]:h-[8px] [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500" };
786
- function ur(t, e, r, a, n, o) {
787
- const c = d("IconFilter"), p = d("VsFilter");
788
- return s(), i(C, null, [
785
+ }, dr = { class: "filter-content h-screen bg-white w-[400px] p-[20px] pt-[10px] overflow-x-auto bg-white [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar:horizontal]:h-[8px] [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500" };
786
+ function ur(t, e, r, a, n, s) {
787
+ const d = c("IconFilter"), p = c("VsFilter");
788
+ return o(), i(C, null, [
789
789
  l("button", {
790
790
  onClick: e[0] || (e[0] = (h) => n.isFilters = !n.isFilters),
791
791
  class: "py-2 px-2.5 inline-flex items-center gap-x-1.5 text-xs font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700"
792
792
  }, [
793
- b(c, {
793
+ b(d, {
794
794
  height: "16",
795
795
  width: "16"
796
796
  }),
797
797
  e[4] || (e[4] = F(" Фільтри ")),
798
- r.onFilters ? (s(), i("span", dr, I(r.onFilters), 1)) : v("", !0)
798
+ r.onFilters ? (o(), i("span", cr, I(r.onFilters), 1)) : v("", !0)
799
799
  ]),
800
- b(q, { name: "fade" }, {
800
+ b(P, { name: "fade" }, {
801
801
  default: y(() => {
802
802
  var h;
803
803
  return [
804
- P(l("div", {
805
- onClick: e[3] || (e[3] = (...u) => o.closeFilter && o.closeFilter(...u)),
804
+ z(l("div", {
805
+ onClick: e[3] || (e[3] = (...u) => s.closeFilter && s.closeFilter(...u)),
806
806
  style: { height: "100vh" },
807
807
  class: "fixed filter-container top-0 flex justify-end items-center z-[2] right-0 left-0 bottom-0 bg-[rgba(0,0,0,0.5)]"
808
808
  }, [
809
- l("div", cr, [
810
- (h = r.scheme) != null && h.length ? (s(), x(p, {
809
+ l("div", dr, [
810
+ (h = r.scheme) != null && h.length ? (o(), x(p, {
811
811
  key: 0,
812
812
  ref: "filter",
813
813
  scheme: r.scheme,
@@ -821,7 +821,7 @@ function ur(t, e, r, a, n, o) {
821
821
  }, null, 8, ["scheme"])) : v("", !0)
822
822
  ])
823
823
  ], 512), [
824
- [ne, n.isFilters]
824
+ [re, n.isFilters]
825
825
  ])
826
826
  ];
827
827
  }),
@@ -837,14 +837,14 @@ const hr = /* @__PURE__ */ f(ir, [["render", ur]]), pr = {
837
837
  role: "tablist",
838
838
  "aria-orientation": "horizontal"
839
839
  }, fr = ["onClick"];
840
- function mr(t, e, r, a, n, o) {
841
- return s(), i("nav", br, [
842
- (s(!0), i(C, null, T(r.tabsList, (c) => (s(), i("button", {
843
- onClick: (p) => t.$emit("update:filterState", c == null ? void 0 : c.name),
840
+ function mr(t, e, r, a, n, s) {
841
+ return o(), i("nav", br, [
842
+ (o(!0), i(C, null, T(r.tabsList, (d) => (o(), i("button", {
843
+ onClick: (p) => t.$emit("update:filterState", d == null ? void 0 : d.name),
844
844
  class: V(["hs-tab-active:after:bg-gray-800 hs-tab-active:text-gray-800 px-2.5 py-1.5 mb-2 relative inline-flex justify-center items-center gap-x-2 hover:bg-gray-100 text-gray-500 hover:text-gray-800 text-sm rounded-lg disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-100 after:absolute after:-bottom-2 after:inset-x-0 after:z-10 after:h-0.5 after:pointer-events-none dark:hs-tab-active:text-neutral-200 dark:hs-tab-active:after:bg-neutral-400 dark:text-neutral-500 dark:hover:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700 active", {
845
- " font-semibold after:absolute after:bottom-[-8px] after:left-2.5 after:right-2.5 after:z-10 after:h-0.5 after:bg-gray-800": (c == null ? void 0 : c.name) === r.filterState
845
+ " font-semibold after:absolute after:bottom-[-8px] after:left-2.5 after:right-2.5 after:z-10 after:h-0.5 after:bg-gray-800": (d == null ? void 0 : d.name) === r.filterState
846
846
  }])
847
- }, I(c == null ? void 0 : c.label), 11, fr))), 256))
847
+ }, I(d == null ? void 0 : d.label), 11, fr))), 256))
848
848
  ]);
849
849
  }
850
850
  const gr = /* @__PURE__ */ f(pr, [["render", mr]]), xr = {}, yr = {
@@ -857,8 +857,8 @@ const gr = /* @__PURE__ */ f(pr, [["render", mr]]), xr = {}, yr = {
857
857
  "stroke-linejoin": "round",
858
858
  class: "icon icon-tabler icons-tabler-outline icon-tabler-filter"
859
859
  };
860
- function _r(t, e, r, a, n, o) {
861
- return s(), i("svg", yr, e[0] || (e[0] = [
860
+ function _r(t, e, r, a, n, s) {
861
+ return o(), i("svg", yr, e[0] || (e[0] = [
862
862
  l("path", {
863
863
  stroke: "none",
864
864
  d: "M0 0h24v24H0z",
@@ -871,15 +871,15 @@ const kr = /* @__PURE__ */ f(xr, [["render", _r]]), wr = {
871
871
  components: { IconFilter2: kr },
872
872
  props: { filterCustom: String, customList: Array }
873
873
  }, vr = { class: "py-2 px-2.5 inline-flex items-center gap-x-1.5 text-xs font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700" }, Cr = { class: "flex flex-col gap-[4px]" }, $r = ["onClick"];
874
- function Ir(t, e, r, a, n, o) {
875
- const c = d("IconFilter2"), p = d("VsPopover");
876
- return s(), x(p, {
874
+ function Ir(t, e, r, a, n, s) {
875
+ const d = c("IconFilter2"), p = c("VsPopover");
876
+ return o(), x(p, {
877
877
  ref: "popover",
878
878
  placement: "bottom"
879
879
  }, {
880
880
  reference: y(() => [
881
881
  l("button", vr, [
882
- b(c, {
882
+ b(d, {
883
883
  height: "20",
884
884
  width: "20"
885
885
  })
@@ -887,7 +887,7 @@ function Ir(t, e, r, a, n, o) {
887
887
  ]),
888
888
  default: y(() => [
889
889
  l("div", Cr, [
890
- (s(!0), i(C, null, T(r.customList, (h, u) => (s(), i("button", {
890
+ (o(!0), i(C, null, T(r.customList, (h, u) => (o(), i("button", {
891
891
  onClick: (_) => {
892
892
  var w;
893
893
  t.$emit("update:filterCustom", h == null ? void 0 : h.name), (w = t.$refs) == null || w.popover.togglePopover();
@@ -907,19 +907,19 @@ function Ir(t, e, r, a, n, o) {
907
907
  _: 1
908
908
  }, 512);
909
909
  }
910
- const Tr = /* @__PURE__ */ f(wr, [["render", Ir]]), Sr = {
910
+ const Tr = /* @__PURE__ */ f(wr, [["render", Ir]]), Vr = {
911
911
  props: { table: String, title: String },
912
912
  components: {
913
913
  AdminTableControl: Re,
914
914
  AdminTableExport: at,
915
915
  AdminTableColumnsHidden: kt,
916
- AdminTableColumn: Se,
917
- AdminNodata: St,
918
- IconPlus: le,
919
- IconSearch: me,
916
+ AdminTableColumn: Ve,
917
+ AdminNodata: Vt,
918
+ IconPlus: ne,
919
+ IconSearch: fe,
920
920
  AdminTableCardInfo: Yt,
921
921
  IconOpenCard: nr,
922
- AdminComponentIs: oe,
922
+ AdminComponentIs: le,
923
923
  AdminTableFilters: hr,
924
924
  AdminTableTabs: gr,
925
925
  AdminTableCustomFilters: Tr
@@ -1010,8 +1010,8 @@ const Tr = /* @__PURE__ */ f(wr, [["render", Ir]]), Sr = {
1010
1010
  },
1011
1011
  methods: {
1012
1012
  async checkUrlMounted() {
1013
- var t, e, r, a, n, o, c, p, h;
1014
- this.page = ((e = (t = this.$route) == null ? void 0 : t.query) == null ? void 0 : e.page) || 1, this.limit = ((a = (r = this.$route) == null ? void 0 : r.query) == null ? void 0 : a.limit) || 20, this.filterState = ((o = (n = this.$route) == null ? void 0 : n.query) == null ? void 0 : o.filterState) || null, this.filterCustom = ((p = (c = this.$route) == null ? void 0 : c.query) == null ? void 0 : p.filterCustom) || null, (h = this.$route) != null && h.query.card && (this.isVisibleCardInfo = !0);
1013
+ var t, e, r, a, n, s, d, p, h;
1014
+ this.page = ((e = (t = this.$route) == null ? void 0 : t.query) == null ? void 0 : e.page) || 1, this.limit = ((a = (r = this.$route) == null ? void 0 : r.query) == null ? void 0 : a.limit) || 20, this.filterState = ((s = (n = this.$route) == null ? void 0 : n.query) == null ? void 0 : s.filterState) || null, this.filterCustom = ((p = (d = this.$route) == null ? void 0 : d.query) == null ? void 0 : p.filterCustom) || null, (h = this.$route) != null && h.query.card && (this.isVisibleCardInfo = !0);
1015
1015
  },
1016
1016
  unmountedData() {
1017
1017
  this.page = 1, this.filterCustom = null, this.filterState = null, this.isVisibleCardInfo = !1, this.filterScheme = null, this.filters = null, this.onFilters = 0;
@@ -1081,29 +1081,29 @@ const Tr = /* @__PURE__ */ f(wr, [["render", Ir]]), Sr = {
1081
1081
  });
1082
1082
  }
1083
1083
  }
1084
- }, Vr = { class: "w-[calc(100vw - 320px)]" }, Ar = { class: "h-[76px] bg-gray-50 flex items-center justify-between px-[30px]" }, Fr = { class: "text-xl font-medium h-[20px]" }, Dr = {
1084
+ }, Sr = { class: "w-[calc(100vw - 320px)]" }, Ar = { class: "h-[76px] bg-gray-50 flex items-center justify-between px-[30px]" }, Fr = { class: "text-xl font-medium h-[20px]" }, Dr = {
1085
1085
  style: { height: "calc(100vh - 140px)", width: "calc(100vw - 260px)" },
1086
1086
  class: "bg-gray-50 p-[20px] flex pt-[10px]"
1087
- }, Mr = { class: "bg-white w-full rounded-xl border p-[20px] pr-0" }, jr = { class: "flex" }, zr = { class: "w-full" }, Pr = { class: "flex gap-[6px] ml-auto" }, qr = { class: "inline-block w-full align-middle" }, Br = {
1087
+ }, Mr = { class: "bg-white w-full rounded-xl border p-[20px] pr-0" }, jr = { class: "flex" }, zr = { class: "flex gap-[6px] ml-auto" }, Pr = { class: "inline-block w-full align-middle" }, qr = {
1088
1088
  key: 0,
1089
1089
  class: "relative min-w-full divide-y divide-gray-200 table-fixed dark:divide-neutral-700"
1090
- }, Lr = { class: "sticky top-0 bg-white w-full after:absolute after:content-[''] z-[1] after:block after:w-full after:h-px after:bg-stone-200" }, Ur = { class: "right-0 border-stone-200" }, Wr = { class: "divide-y divide-gray-200" }, Or = ["onClick"], Er = ["onClick"], Nr = {
1090
+ }, Br = { class: "sticky top-0 bg-white w-full after:absolute after:content-[''] z-[1] after:block after:w-full after:h-px after:bg-stone-200" }, Lr = { class: "right-0 border-t border-stone-200" }, Ur = { class: "divide-y divide-gray-200" }, Or = { class: "text-sm text-gray-600 px-4 py-3 whitespace-nowrap" }, Er = ["onClick"], Nr = ["onClick"], Hr = {
1091
1091
  key: 0,
1092
1092
  class: "text-center sticky right-0 bg-white w-[80px] px-[10px]"
1093
- }, Hr = { class: "p-[20px] flex justify-end w-full" };
1094
- function Rr(t, e, r, a, n, o) {
1095
- var B, L, U, W, O, E, N, H, R, G, Z, J, K, Q;
1096
- const c = d("IconPlus"), p = d("router-link"), h = d("AdminTableTabs"), u = d("IconSearch"), _ = d("VsText"), w = d("AdminTableCustomFilters"), k = d("AdminTableColumnsHidden"), $ = d("AdminTableExport"), m = d("AdminTableFilters"), S = d("IconOpenCard"), D = d("AdminTableColumn"), M = d("AdminComponentIs"), se = d("AdminTableControl"), ae = d("AdminNodata"), ie = d("VsPagination"), de = d("AdminTableCardInfo");
1097
- return s(), i("div", Vr, [
1093
+ }, Wr = { class: "p-[20px] flex justify-end w-full" };
1094
+ function Rr(t, e, r, a, n, s) {
1095
+ var q, B, L, U, O, E, N, H, W, R, G, Z, J, K;
1096
+ const d = c("IconPlus"), p = c("router-link"), h = c("AdminTableTabs"), u = c("IconSearch"), _ = c("VsText"), w = c("AdminTableCustomFilters"), k = c("AdminTableColumnsHidden"), $ = c("AdminTableExport"), m = c("AdminTableFilters"), S = c("IconOpenCard"), D = c("AdminTableColumn"), M = c("AdminComponentIs"), oe = c("AdminTableControl"), se = c("AdminNodata"), ae = c("VsPagination"), ie = c("AdminTableCardInfo");
1097
+ return o(), i("div", Sr, [
1098
1098
  l("div", Ar, [
1099
1099
  l("h2", Fr, I(r.title), 1),
1100
- o.isForm ? (s(), x(p, {
1100
+ s.isForm ? (o(), x(p, {
1101
1101
  key: 0,
1102
- to: `/add?table=${(L = (B = t.$route) == null ? void 0 : B.params) == null ? void 0 : L.catchAll}`,
1102
+ to: `/add?table=${(B = (q = t.$route) == null ? void 0 : q.params) == null ? void 0 : B.catchAll}`,
1103
1103
  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"
1104
1104
  }, {
1105
1105
  default: y(() => [
1106
- b(c, {
1106
+ b(d, {
1107
1107
  height: "16",
1108
1108
  width: "16"
1109
1109
  }),
@@ -1114,14 +1114,16 @@ function Rr(t, e, r, a, n, o) {
1114
1114
  ]),
1115
1115
  l("div", Dr, [
1116
1116
  l("div", Mr, [
1117
- (W = (U = n.tableData) == null ? void 0 : U.filterState) != null && W.length ? (s(), x(h, {
1117
+ (U = (L = n.tableData) == null ? void 0 : L.filterState) != null && U.length ? (o(), x(h, {
1118
1118
  key: 0,
1119
1119
  tabsList: (O = n.tableData) == null ? void 0 : O.filterState,
1120
1120
  filterState: n.filterState,
1121
1121
  "onUpdate:filterState": e[0] || (e[0] = (g) => n.filterState = g)
1122
1122
  }, null, 8, ["tabsList", "filterState"])) : v("", !0),
1123
1123
  l("div", jr, [
1124
- l("div", zr, [
1124
+ l("div", {
1125
+ class: V([n.isVisibleCardInfo ? "w-[calc(100%-360px)]" : "w-full"])
1126
+ }, [
1125
1127
  l("div", {
1126
1128
  class: V(["flex sm:grid sm:grid-cols-2 gap-x-2 sm:gap-x-5 mb-[10px] relative", { "pr-[20px]": !n.isVisibleCardInfo }])
1127
1129
  }, [
@@ -1137,28 +1139,28 @@ function Rr(t, e, r, a, n, o) {
1137
1139
  clearable: !0,
1138
1140
  class: "[&>input]:py-[7px] [&>input]:ps-10 [&>input]:pe-8 [&>input]:block [&>input]:w-full [&>input]:bg-gray-100 [&>input]:border-transparent [&>input]:rounded-lg [&>input]:text-sm [&>input]:focus:bg-white [&>input]:focus:border-blue-500 [&>input]:focus:ring-blue-500 [&>input]:disabled:opacity-50 [&>input]:disabled:pointer-events-none [&>input]:dark:bg-neutral-700 [&>input]:dark:border-transparent [&>input]:dark:text-neutral-400 [&>input]:dark:placeholder:text-neutral-400 dark:focus:bg-neutral-800 dark:focus:ring-neutral-600"
1139
1141
  }, null, 8, ["modelValue"]),
1140
- l("div", Pr, [
1141
- (N = (E = n.tableData) == null ? void 0 : E.filterCustom) != null && N.length ? (s(), x(w, {
1142
+ l("div", zr, [
1143
+ (N = (E = n.tableData) == null ? void 0 : E.filterCustom) != null && N.length ? (o(), x(w, {
1142
1144
  key: 0,
1143
1145
  customList: (H = n.tableData) == null ? void 0 : H.filterCustom,
1144
1146
  filterCustom: n.filterCustom,
1145
1147
  "onUpdate:filterCustom": e[2] || (e[2] = (g) => n.filterCustom = g)
1146
1148
  }, null, 8, ["customList", "filterCustom"])) : v("", !0),
1147
1149
  b(k, {
1148
- columns: (R = n.tableData) == null ? void 0 : R.columns,
1150
+ columns: (W = n.tableData) == null ? void 0 : W.columns,
1149
1151
  onUpdateColumns: e[3] || (e[3] = (g) => n.tableData.columns = g)
1150
1152
  }, null, 8, ["columns"]),
1151
1153
  b($, {
1152
1154
  table: r.table,
1153
- columns: (G = n.tableData) == null ? void 0 : G.columns
1155
+ columns: (R = n.tableData) == null ? void 0 : R.columns
1154
1156
  }, null, 8, ["table", "columns"]),
1155
1157
  b(m, {
1156
1158
  scheme: n.filterScheme,
1157
1159
  onFilters: n.onFilters,
1158
- onFilterChange: o.filterChange
1160
+ onFilterChange: s.filterChange
1159
1161
  }, null, 8, ["scheme", "onFilters", "onFilterChange"]),
1160
1162
  l("button", {
1161
- onClick: e[4] || (e[4] = (...g) => o.toggleCardInfo && o.toggleCardInfo(...g)),
1163
+ onClick: e[4] || (e[4] = (...g) => s.toggleCardInfo && s.toggleCardInfo(...g)),
1162
1164
  class: "py-2 px-2.5 inline-flex items-center gap-x-1.5 text-xs font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700"
1163
1165
  }, [
1164
1166
  b(S, {
@@ -1171,67 +1173,62 @@ function Rr(t, e, r, a, n, o) {
1171
1173
  class: V(["flex items-start justify-start w-full space-y-5", { "pr-[20px]": !n.isVisibleCardInfo }])
1172
1174
  }, [
1173
1175
  l("div", {
1174
- style: j({
1175
- height: (J = (Z = n.tableData) == null ? void 0 : Z.filterState) != null && J.length ? "calc(100vh - 370px)" : "calc(100vh - 320px)"
1176
+ style: _e({
1177
+ height: (Z = (G = n.tableData) == null ? void 0 : G.filterState) != null && Z.length ? "calc(100vh - 370px)" : "calc(100vh - 315px)"
1176
1178
  }),
1177
- class: "overflow-x-auto w-full border-t [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar:horizontal]:h-[8px] [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500"
1179
+ class: "overflow-x-auto w-full [&::-webkit-scrollbar]:h-2 [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-stone-100 [&::-webkit-scrollbar-thumb]:bg-stone-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500"
1178
1180
  }, [
1179
- l("div", qr, [
1180
- o.isNoData ? (s(), x(ae, { key: 1 })) : (s(), i("table", Br, [
1181
- l("thead", Lr, [
1182
- l("tr", Ur, [
1183
- (s(!0), i(C, null, T(o.columns, (g) => (s(), x(D, {
1181
+ l("div", Pr, [
1182
+ s.isNoData ? (o(), x(se, { key: 1 })) : (o(), i("table", qr, [
1183
+ l("thead", Br, [
1184
+ l("tr", Lr, [
1185
+ (o(!0), i(C, null, T(s.columns, (g) => (o(), x(D, {
1184
1186
  key: g.name,
1185
- style: j({ minWidth: o.rowWidth, maxWidth: o.rowWidth }),
1186
1187
  data: g,
1187
1188
  activeColumn: n.activeColumn,
1188
- onChangeActive: o.changeActiveColumn
1189
- }, null, 8, ["style", "data", "activeColumn", "onChangeActive"]))), 128)),
1189
+ onChangeActive: s.changeActiveColumn
1190
+ }, null, 8, ["data", "activeColumn", "onChangeActive"]))), 128)),
1190
1191
  e[6] || (e[6] = l("th", { class: "w-[70px] sticky right-0 top-0 bg-white" }, null, -1))
1191
1192
  ])
1192
1193
  ]),
1193
- l("tbody", Wr, [
1194
- (s(!0), i(C, null, T((K = n.tableData) == null ? void 0 : K.rows, (g, ce) => {
1195
- var X, Y, ee;
1196
- return s(), i("tr", { key: ce }, [
1197
- l("td", {
1198
- class: "text-sm text-gray-600",
1199
- style: j({ minWidth: o.rowWidth, maxWidth: o.rowWidth })
1200
- }, [
1194
+ l("tbody", Ur, [
1195
+ (o(!0), i(C, null, T((J = n.tableData) == null ? void 0 : J.rows, (g, ce) => {
1196
+ var Q, X, Y;
1197
+ return o(), i("tr", { key: ce }, [
1198
+ l("td", Or, [
1201
1199
  l("button", {
1202
- onClick: () => o.pushToCard(g == null ? void 0 : g.id),
1200
+ onClick: () => s.pushToCard(g == null ? void 0 : g.id),
1203
1201
  class: V(["text-sm font-medium", [
1204
- ((X = n.tableData) == null ? void 0 : X.card) === !1 ? "" : "text-blue-600 decoration-2 focus:outline-none focus:underline hover:text-blue-600 hover:underline"
1202
+ ((Q = n.tableData) == null ? void 0 : Q.card) === !1 ? "" : "text-blue-600 decoration-2 focus:outline-none focus:underline hover:text-blue-600 hover:underline"
1205
1203
  ]])
1206
1204
  }, [
1207
1205
  b(M, {
1208
1206
  row: g,
1209
- column: o.columns[0],
1207
+ column: s.columns[0],
1210
1208
  table: r.table,
1211
- onUpdateTable: o.getTableData
1209
+ onUpdateTable: s.getTableData
1212
1210
  }, null, 8, ["row", "column", "table", "onUpdateTable"])
1213
- ], 10, Or)
1214
- ], 4),
1215
- (s(!0), i(C, null, T((Y = o.columns) == null ? void 0 : Y.slice(1), (te) => (s(), i("td", {
1216
- onClick: (Qr) => o.changeActiveCardInfo(g == null ? void 0 : g.id),
1217
- class: V(["text-start px-[4px] py-3 text-sm text-gray-600", { "cursor-pointer": n.isVisibleCardInfo }]),
1218
- style: j({ minWidth: o.rowWidth, maxWidth: o.rowWidth }),
1219
- key: te.name
1211
+ ], 10, Er)
1212
+ ]),
1213
+ (o(!0), i(C, null, T((X = s.columns) == null ? void 0 : X.slice(1), (ee) => (o(), i("td", {
1214
+ onClick: (Qr) => s.changeActiveCardInfo(g == null ? void 0 : g.id),
1215
+ class: V(["text-start px-3 py-3 text-sm text-gray-600 whitespace-nowrap", { "cursor-pointer": n.isVisibleCardInfo }]),
1216
+ key: ee.name
1220
1217
  }, [
1221
1218
  b(M, {
1222
1219
  row: g,
1223
- column: te,
1220
+ column: ee,
1224
1221
  table: r.table,
1225
- onUpdateTable: o.getTableData
1222
+ onUpdateTable: s.getTableData
1226
1223
  }, null, 8, ["row", "column", "table", "onUpdateTable"])
1227
- ], 14, Er))), 128)),
1228
- (ee = o.getActions) != null && ee.length ? (s(), i("td", Nr, [
1229
- b(se, {
1230
- actions: o.getActions,
1231
- isForm: o.isForm,
1224
+ ], 10, Nr))), 128)),
1225
+ (Y = s.getActions) != null && Y.length ? (o(), i("td", Hr, [
1226
+ b(oe, {
1227
+ actions: s.getActions,
1228
+ isForm: s.isForm,
1232
1229
  item: g,
1233
1230
  table: r.table,
1234
- onUpdateTable: o.getTableData
1231
+ onUpdateTable: s.getTableData
1235
1232
  }, null, 8, ["actions", "isForm", "item", "table", "onUpdateTable"])
1236
1233
  ])) : v("", !0)
1237
1234
  ]);
@@ -1241,27 +1238,27 @@ function Rr(t, e, r, a, n, o) {
1241
1238
  ])
1242
1239
  ], 4)
1243
1240
  ], 2),
1244
- l("div", Hr, [
1245
- n.limit ? (s(), x(ie, {
1241
+ l("div", Wr, [
1242
+ n.limit ? (o(), x(ae, {
1246
1243
  key: 0,
1247
1244
  goTo: !1,
1248
1245
  class: "justify-end",
1249
- "default-page": o.defaultPage,
1250
- total: ((Q = n.tableData) == null ? void 0 : Q.total) || 0,
1246
+ "default-page": s.defaultPage,
1247
+ total: ((K = n.tableData) == null ? void 0 : K.total) || 0,
1251
1248
  pageSize: parseInt(n.limit),
1252
- onPageChange: o.handlePageChange,
1249
+ onPageChange: s.handlePageChange,
1253
1250
  pageSizes: [10, 16, 20],
1254
- onPageSizeChange: o.changeLimit
1251
+ onPageSizeChange: s.changeLimit
1255
1252
  }, null, 8, ["default-page", "total", "pageSize", "onPageChange", "onPageSizeChange"])) : v("", !0)
1256
1253
  ])
1257
- ]),
1258
- b(q, { name: "slide-fade" }, {
1254
+ ], 2),
1255
+ b(P, { name: "slide-fade" }, {
1259
1256
  default: y(() => [
1260
- n.isVisibleCardInfo ? (s(), x(de, {
1257
+ n.isVisibleCardInfo ? (o(), x(ie, {
1261
1258
  key: 0,
1262
1259
  table: r.table,
1263
- columns: o.columns,
1264
- row: o.activeCardRow
1260
+ columns: s.columns,
1261
+ row: s.activeCardRow
1265
1262
  }, null, 8, ["table", "columns", "row"])) : v("", !0)
1266
1263
  ]),
1267
1264
  _: 1
@@ -1271,7 +1268,7 @@ function Rr(t, e, r, a, n, o) {
1271
1268
  ])
1272
1269
  ]);
1273
1270
  }
1274
- const Gr = /* @__PURE__ */ f(Sr, [["render", Rr], ["__scopeId", "data-v-d1eaaef8"]]), Zr = {
1271
+ const Gr = /* @__PURE__ */ f(Vr, [["render", Rr], ["__scopeId", "data-v-f40661d7"]]), Zr = {
1275
1272
  components: { AdminTable: Gr },
1276
1273
  data() {
1277
1274
  return {
@@ -1284,7 +1281,7 @@ const Gr = /* @__PURE__ */ f(Sr, [["render", Rr], ["__scopeId", "data-v-d1eaaef8
1284
1281
  $route: {
1285
1282
  async handler() {
1286
1283
  var t;
1287
- (t = re) != null && t.value || await this.getMenu(), await this.checkPageType();
1284
+ (t = te) != null && t.value || await this.getMenu(), await this.checkPageType();
1288
1285
  },
1289
1286
  deep: !0
1290
1287
  },
@@ -1304,11 +1301,11 @@ const Gr = /* @__PURE__ */ f(Sr, [["render", Rr], ["__scopeId", "data-v-d1eaaef8
1304
1301
  },
1305
1302
  async checkPageType() {
1306
1303
  var a, n;
1307
- const t = this.flattenMenu(re.value);
1304
+ const t = this.flattenMenu(te.value);
1308
1305
  t != null && t.length || this.$router.replace("/404");
1309
- const e = t == null ? void 0 : t.find((o) => {
1310
- var c, p;
1311
- return (o == null ? void 0 : o.path) == ((p = (c = this.$route) == null ? void 0 : c.params) == null ? void 0 : p.catchAll);
1306
+ const e = t == null ? void 0 : t.find((s) => {
1307
+ var d, p;
1308
+ return (s == null ? void 0 : s.path) == ((p = (d = this.$route) == null ? void 0 : d.params) == null ? void 0 : p.catchAll);
1312
1309
  });
1313
1310
  this.title = e == null ? void 0 : e.ua, e || this.$router.replace("/404"), e != null && e.component && this.$router.replace((n = (a = this.$route) == null ? void 0 : a.params) == null ? void 0 : n.catchAll);
1314
1311
  const r = e == null ? void 0 : e.table;
@@ -1327,13 +1324,13 @@ const Gr = /* @__PURE__ */ f(Sr, [["render", Rr], ["__scopeId", "data-v-d1eaaef8
1327
1324
  }
1328
1325
  }
1329
1326
  }, Jr = ["innerHTML"];
1330
- function Kr(t, e, r, a, n, o) {
1331
- const c = d("AdminTable");
1332
- return n.table ? (s(), x(c, {
1327
+ function Kr(t, e, r, a, n, s) {
1328
+ const d = c("AdminTable");
1329
+ return n.table ? (o(), x(d, {
1333
1330
  key: 0,
1334
1331
  table: n.table,
1335
1332
  title: n.title
1336
- }, null, 8, ["table", "title"])) : (s(), i("div", {
1333
+ }, null, 8, ["table", "title"])) : (o(), i("div", {
1337
1334
  key: 1,
1338
1335
  class: "w-full bg-gray-50",
1339
1336
  style: { height: "calc(100vh - 120px)" },