@opengis/admin 0.2.88 → 0.2.89

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 as Re, g as Je, h as Ge, e as F, I as Me, i as Le, j as B, A as N, V as Ke, k as Qe, l as Xe, m as Ye, n as Ze, o as et, a as tt, p as st, u as je, s as nt } from "./import-file-BRBKwVL4.js";
2
- import { openBlock as o, createElementBlock as i, createTextVNode as P, toDisplayString as T, createElementVNode as r, normalizeClass as S, createCommentVNode as v, resolveComponent as b, Fragment as C, createVNode as g, withCtx as I, createBlock as k, renderList as V, withModifiers as rt, withDirectives as L, vModelRadio as lt, createStaticVNode as ot, vModelCheckbox as at, Transition as z, vModelText as it, renderSlot as dt, vShow as U, Teleport as ut, getCurrentInstance as ze, ref as q, resolveDynamicComponent as O, defineComponent as ct, normalizeStyle as Fe } from "vue";
1
+ import { _ as $, f as Re, g as Je, h as Ge, e as F, I as Me, i as Le, j as B, A as N, V as Ke, k as Qe, l as Xe, m as Ye, n as Ze, o as et, a as tt, p as st, u as je, s as nt } from "./import-file-BeLbxtkp.js";
2
+ import { openBlock as o, createElementBlock as i, createTextVNode as P, toDisplayString as T, createElementVNode as l, normalizeClass as S, createCommentVNode as v, resolveComponent as b, Fragment as C, createVNode as g, withCtx as I, createBlock as k, renderList as V, withModifiers as lt, withDirectives as L, vModelRadio as rt, createStaticVNode as ot, vModelCheckbox as at, Transition as z, vModelText as it, renderSlot as dt, vShow as U, Teleport as ut, getCurrentInstance as ze, ref as q, resolveDynamicComponent as O, defineComponent as ct, normalizeStyle as Fe } from "vue";
3
3
  const pt = {
4
4
  data() {
5
5
  return {
@@ -65,16 +65,16 @@ const pt = {
65
65
  key: 1,
66
66
  class: "flex items-center px-1 py-3 font-medium text-gray-800 text-start gap-x-1 dark:text-neutral-200"
67
67
  };
68
- function mt(t, e, n, a, s, l) {
68
+ function mt(t, e, n, a, s, r) {
69
69
  return o(), i("th", bt, [
70
- l.getVisibleIcon ? (o(), i("button", {
70
+ r.getVisibleIcon ? (o(), i("button", {
71
71
  key: 0,
72
72
  type: "button",
73
73
  class: "flex items-center px-1 py-3 font-medium text-gray-800 text-start gap-x-1 dark:text-neutral-200",
74
- onClick: e[0] || (e[0] = (c) => l.handleClickSortBtn(s.currentSort))
74
+ onClick: e[0] || (e[0] = (c) => r.handleClickSortBtn(s.currentSort))
75
75
  }, [
76
- P(T(l.label) + " ", 1),
77
- r("span", ht, [
76
+ P(T(r.label) + " ", 1),
77
+ l("span", ht, [
78
78
  s.currentSort ? (o(), i("svg", {
79
79
  key: 0,
80
80
  class: S(["shrink-0 size-3.5", { "rotate-180": s.currentSort === "asc" }]),
@@ -88,11 +88,11 @@ function mt(t, e, n, a, s, l) {
88
88
  "stroke-linecap": "round",
89
89
  "stroke-linejoin": "round"
90
90
  }, e[1] || (e[1] = [
91
- r("path", { d: "m5 12 7-7 7 7" }, null, -1),
92
- r("path", { d: "M12 19V5" }, null, -1)
91
+ l("path", { d: "m5 12 7-7 7 7" }, null, -1),
92
+ l("path", { d: "M12 19V5" }, null, -1)
93
93
  ]), 2)) : v("", !0)
94
94
  ])
95
- ])) : (o(), i("p", ft, T(l.label), 1))
95
+ ])) : (o(), i("p", ft, T(r.label), 1))
96
96
  ]);
97
97
  }
98
98
  const gt = /* @__PURE__ */ $(pt, [["render", mt]]), xt = {
@@ -182,16 +182,16 @@ const gt = /* @__PURE__ */ $(pt, [["render", mt]]), xt = {
182
182
  key: 1,
183
183
  class: "h-[1px] w-[80%] bg-gray-200 ml-auto mr-auto"
184
184
  }, $t = { class: "flex justify-end p-[16px] pr-0 gap-x-3" };
185
- function Tt(t, e, n, a, s, l) {
185
+ function Tt(t, e, n, a, s, r) {
186
186
  const c = b("IconMore"), f = b("IconEdit"), d = b("router-link"), h = b("IconDelete"), u = b("VsPopover"), _ = b("VsConfirm");
187
187
  return o(), i(C, null, [
188
- r("div", yt, [
188
+ l("div", yt, [
189
189
  g(u, {
190
190
  trigger: "click",
191
191
  placement: "bottom-left"
192
192
  }, {
193
193
  reference: I(() => [
194
- r("button", kt, [
194
+ l("button", kt, [
195
195
  g(c, {
196
196
  height: "16",
197
197
  width: "16"
@@ -201,7 +201,7 @@ function Tt(t, e, n, a, s, l) {
201
201
  default: I(() => {
202
202
  var x, m, w, y, A;
203
203
  return [
204
- r("div", vt, [
204
+ l("div", vt, [
205
205
  (x = n.actions) != null && x.includes("edit") && n.isForm ? (o(), k(d, {
206
206
  key: 0,
207
207
  to: `/edit?table=${(w = (m = t.$route) == null ? void 0 : m.params) == null ? void 0 : w.catchAll}&id=${(y = n.item) == null ? void 0 : y.id}`,
@@ -213,22 +213,22 @@ function Tt(t, e, n, a, s, l) {
213
213
  ]),
214
214
  _: 1
215
215
  }, 8, ["to"])) : v("", !0),
216
- (o(!0), i(C, null, V(l.getCustomActions, (D, M) => (o(), i("button", {
216
+ (o(!0), i(C, null, V(r.getCustomActions, (D, M) => (o(), i("button", {
217
217
  key: M,
218
- onClick: (E) => l.customButtonAction(D),
218
+ onClick: (E) => r.customButtonAction(D),
219
219
  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"
220
220
  }, [
221
221
  g(h, { class: "opacity-0" }),
222
- r("span", wt, T(D == null ? void 0 : D.label), 1)
222
+ l("span", wt, T(D == null ? void 0 : D.label), 1)
223
223
  ], 8, _t))), 128)),
224
224
  n.isForm ? (o(), i("div", Ct)) : v("", !0),
225
225
  (A = n.actions) != null && A.includes("del") ? (o(), i("button", {
226
226
  key: 2,
227
- onClick: e[0] || (e[0] = rt((...D) => l.openConfirm && l.openConfirm(...D), ["stop"])),
227
+ onClick: e[0] || (e[0] = lt((...D) => r.openConfirm && r.openConfirm(...D), ["stop"])),
228
228
  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"
229
229
  }, [
230
230
  g(h),
231
- e[5] || (e[5] = r("span", { class: "text-gray-800" }, "Видалити", -1))
231
+ e[5] || (e[5] = l("span", { class: "text-gray-800" }, "Видалити", -1))
232
232
  ])) : v("", !0)
233
233
  ])
234
234
  ];
@@ -243,17 +243,17 @@ function Tt(t, e, n, a, s, l) {
243
243
  title: "Ви впевнені?"
244
244
  }, {
245
245
  default: I(() => [
246
- e[6] || (e[6] = r("p", { class: "mt-1 text-sm text-gray-600 dark:text-neutral-400" }, " Ви впевнені, що хочете видалити цей об'єкт? ", -1)),
247
- r("div", $t, [
248
- r("button", {
246
+ e[6] || (e[6] = l("p", { class: "mt-1 text-sm text-gray-600 dark:text-neutral-400" }, " Ви впевнені, що хочете видалити цей об'єкт? ", -1)),
247
+ l("div", $t, [
248
+ l("button", {
249
249
  type: "button",
250
250
  class: "inline-flex items-center px-3 py-2 text-xs font-medium duration-300 border rounded-lg shadow-sm hover:bg-gray-100 gap-x-2 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50",
251
251
  onClick: e[1] || (e[1] = (x) => s.isDeleteConfirm = !1)
252
252
  }, " Скасувати "),
253
- r("button", {
253
+ l("button", {
254
254
  type: "button",
255
255
  class: "inline-flex items-center px-3 py-2 text-xs font-medium text-white duration-300 bg-red-500 rounded-lg gap-x-2 hover:bg-red-700 disabled:opacity-50 disabled:pointer-events-none",
256
- onClick: e[2] || (e[2] = (...x) => l.deleteElement && l.deleteElement(...x))
256
+ onClick: e[2] || (e[2] = (...x) => r.deleteElement && r.deleteElement(...x))
257
257
  }, " Так, я впевнена(ий) ")
258
258
  ])
259
259
  ]),
@@ -271,12 +271,12 @@ const At = /* @__PURE__ */ $(xt, [["render", Tt]]), St = {}, It = {
271
271
  "stroke-linecap": "round",
272
272
  "stroke-linejoin": "round"
273
273
  };
274
- function Dt(t, e, n, a, s, l) {
274
+ function Dt(t, e, n, a, s, r) {
275
275
  return o(), i("svg", It, e[0] || (e[0] = [
276
- r("path", { d: "m3 16 4 4 4-4" }, null, -1),
277
- r("path", { d: "M7 20V4" }, null, -1),
278
- r("path", { d: "m21 8-4-4-4 4" }, null, -1),
279
- r("path", { d: "M17 4v16" }, null, -1)
276
+ l("path", { d: "m3 16 4 4 4-4" }, null, -1),
277
+ l("path", { d: "M7 20V4" }, null, -1),
278
+ l("path", { d: "m21 8-4-4-4 4" }, null, -1),
279
+ l("path", { d: "M17 4v16" }, null, -1)
280
280
  ]));
281
281
  }
282
282
  const qe = /* @__PURE__ */ $(St, [["render", Dt]]), Vt = {}, Pt = {
@@ -291,15 +291,15 @@ const qe = /* @__PURE__ */ $(St, [["render", Dt]]), Vt = {}, Pt = {
291
291
  "stroke-linejoin": "round",
292
292
  class: "icon icon-tabler icons-tabler-outline icon-tabler-rosette-discount-check"
293
293
  };
294
- function jt(t, e, n, a, s, l) {
294
+ function jt(t, e, n, a, s, r) {
295
295
  return o(), i("svg", Pt, e[0] || (e[0] = [
296
- r("path", {
296
+ l("path", {
297
297
  stroke: "none",
298
298
  d: "M0 0h24v24H0z",
299
299
  fill: "none"
300
300
  }, null, -1),
301
- r("path", { d: "M5 7.2a2.2 2.2 0 0 1 2.2 -2.2h1a2.2 2.2 0 0 0 1.55 -.64l.7 -.7a2.2 2.2 0 0 1 3.12 0l.7 .7c.412 .41 .97 .64 1.55 .64h1a2.2 2.2 0 0 1 2.2 2.2v1c0 .58 .23 1.138 .64 1.55l.7 .7a2.2 2.2 0 0 1 0 3.12l-.7 .7a2.2 2.2 0 0 0 -.64 1.55v1a2.2 2.2 0 0 1 -2.2 2.2h-1a2.2 2.2 0 0 0 -1.55 .64l-.7 .7a2.2 2.2 0 0 1 -3.12 0l-.7 -.7a2.2 2.2 0 0 0 -1.55 -.64h-1a2.2 2.2 0 0 1 -2.2 -2.2v-1a2.2 2.2 0 0 0 -.64 -1.55l-.7 -.7a2.2 2.2 0 0 1 0 -3.12l.7 -.7a2.2 2.2 0 0 0 .64 -1.55v-1" }, null, -1),
302
- r("path", { d: "M9 12l2 2l4 -4" }, null, -1)
301
+ l("path", { d: "M5 7.2a2.2 2.2 0 0 1 2.2 -2.2h1a2.2 2.2 0 0 0 1.55 -.64l.7 -.7a2.2 2.2 0 0 1 3.12 0l.7 .7c.412 .41 .97 .64 1.55 .64h1a2.2 2.2 0 0 1 2.2 2.2v1c0 .58 .23 1.138 .64 1.55l.7 .7a2.2 2.2 0 0 1 0 3.12l-.7 .7a2.2 2.2 0 0 0 -.64 1.55v1a2.2 2.2 0 0 1 -2.2 2.2h-1a2.2 2.2 0 0 0 -1.55 .64l-.7 .7a2.2 2.2 0 0 1 -3.12 0l-.7 -.7a2.2 2.2 0 0 0 -1.55 -.64h-1a2.2 2.2 0 0 1 -2.2 -2.2v-1a2.2 2.2 0 0 0 -.64 -1.55l-.7 -.7a2.2 2.2 0 0 1 0 -3.12l.7 -.7a2.2 2.2 0 0 0 .64 -1.55v-1" }, null, -1),
302
+ l("path", { d: "M9 12l2 2l4 -4" }, null, -1)
303
303
  ]));
304
304
  }
305
305
  const Oe = /* @__PURE__ */ $(Vt, [["render", jt]]), Ft = {
@@ -369,15 +369,15 @@ const Oe = /* @__PURE__ */ $(Vt, [["render", jt]]), Ft = {
369
369
  responseType: "blob"
370
370
  }), n = await e.data.text(), a = n != null && n.includes(";") ? null : JSON == null ? void 0 : JSON.parse(n), s = new Blob([e.data], {
371
371
  type: "application/octet-stream"
372
- }), l = window.URL.createObjectURL(s), c = document.createElement("a");
373
- if (c.href = l, c.setAttribute(
372
+ }), r = window.URL.createObjectURL(s), c = document.createElement("a");
373
+ if (c.href = r, c.setAttribute(
374
374
  "download",
375
375
  `${this.table.split(".")[0]}.${this.format}`
376
376
  ), document.body.appendChild(c), typeof a == "string") {
377
377
  this.exportTable();
378
378
  return;
379
379
  }
380
- c.click(), document.body.removeChild(c), window.URL.revokeObjectURL(l), this.$notify({
380
+ c.click(), document.body.removeChild(c), window.URL.revokeObjectURL(r), this.$notify({
381
381
  type: "success",
382
382
  title: "Експорт",
383
383
  message: "Файл успішно експортовано!"
@@ -421,10 +421,10 @@ const Oe = /* @__PURE__ */ $(Vt, [["render", jt]]), Ft = {
421
421
  key: 1,
422
422
  class: "flex w-full justify-end p-[20px] gap-[6px] border-t"
423
423
  };
424
- function Gt(t, e, n, a, s, l) {
424
+ function Gt(t, e, n, a, s, r) {
425
425
  const c = b("IconExport"), f = b("IconSuccess"), d = b("VsCheckbox"), h = b("VsDialog");
426
426
  return o(), i(C, null, [
427
- r("button", {
427
+ l("button", {
428
428
  onClick: e[0] || (e[0] = (u) => s.isOpen = !0),
429
429
  class: "py-2 max-h-[34px] px-2.5 md:inline-flex hidden 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"
430
430
  }, [
@@ -443,26 +443,26 @@ function Gt(t, e, n, a, s, l) {
443
443
  }, {
444
444
  footer: I(() => [
445
445
  s.isSuccessTemplate ? (o(), i("div", Rt, [
446
- r("button", {
446
+ l("button", {
447
447
  type: "button",
448
448
  class: "inline-flex items-center justify-center px-3 py-2 text-sm font-medium text-gray-800 align-middle bg-white border border-gray-200 rounded-lg shadow-sm text-nowrap text-start hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700",
449
449
  onClick: e[2] || (e[2] = (u) => s.isOpen = !1)
450
450
  }, " Закрити "),
451
- r("button", {
451
+ l("button", {
452
452
  type: "button",
453
453
  class: "inline-flex items-center justify-center px-3 py-2 text-sm font-medium text-white align-middle bg-blue-600 border border-blue-600 rounded-lg shadow-sm text-nowrap gap-x-2 text-start 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",
454
454
  onClick: e[3] || (e[3] = (u) => s.isSuccessTemplate = !1)
455
455
  }, " Вигрузити ще ")
456
456
  ])) : (o(), i("div", Jt, [
457
- r("button", {
457
+ l("button", {
458
458
  type: "button",
459
459
  class: "inline-flex items-center justify-center px-3 py-2 text-sm font-medium text-gray-800 align-middle bg-white border border-gray-200 rounded-lg shadow-sm text-nowrap text-start hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700",
460
460
  onClick: e[4] || (e[4] = (u) => s.isOpen = !1)
461
461
  }, " Скасувати "),
462
- r("button", {
462
+ l("button", {
463
463
  type: "button",
464
464
  class: "inline-flex items-center justify-center px-3 py-2 text-sm font-medium text-white align-middle bg-blue-600 border border-blue-600 rounded-lg shadow-sm text-nowrap gap-x-2 text-start 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",
465
- onClick: e[5] || (e[5] = (...u) => l.exportTable && l.exportTable(...u))
465
+ onClick: e[5] || (e[5] = (...u) => r.exportTable && r.exportTable(...u))
466
466
  }, " Завантажити таблицю ")
467
467
  ]))
468
468
  ]),
@@ -473,17 +473,17 @@ function Gt(t, e, n, a, s, l) {
473
473
  width: "100",
474
474
  class: "text-green-200 mb-[20px]"
475
475
  }),
476
- e[8] || (e[8] = r("h2", null, "Звіт сформовано і збережено", -1))
476
+ e[8] || (e[8] = l("h2", null, "Звіт сформовано і збережено", -1))
477
477
  ])) : (o(), i("div", Lt, [
478
- r("div", zt, [
479
- e[9] || (e[9] = r("h2", { class: "text-sm font-[600] text-gray-500" }, " Виберіть стовпці таблиці для експорту: ", -1)),
480
- r("div", qt, [
478
+ l("div", zt, [
479
+ e[9] || (e[9] = l("h2", { class: "text-sm font-[600] text-gray-500" }, " Виберіть стовпці таблиці для експорту: ", -1)),
480
+ l("div", qt, [
481
481
  (o(!0), i(C, null, V(s.actions, (u) => (o(), i("button", {
482
482
  key: u == null ? void 0 : u.name,
483
483
  onClick: u == null ? void 0 : u.function,
484
484
  class: "inline-flex items-center gap-[8px] justify-center px-3 py-2 text-sm font-medium text-gray-800 align-middle bg-white border-gray-200 text-nowrap text-start"
485
485
  }, [
486
- r("span", {
486
+ l("span", {
487
487
  class: S(["h-[14px] w-[14px] border rounded-full flex items-center justify-center", { "border-blue-500": (u == null ? void 0 : u.name) === s.activeAction }])
488
488
  }, [
489
489
  (u == null ? void 0 : u.name) === s.activeAction ? (o(), i("span", Bt)) : v("", !0)
@@ -491,7 +491,7 @@ function Gt(t, e, n, a, s, l) {
491
491
  P(" " + T(u == null ? void 0 : u.label), 1)
492
492
  ], 8, Ot))), 128))
493
493
  ]),
494
- r("div", Nt, [
494
+ l("div", Nt, [
495
495
  (o(!0), i(C, null, V(n.columns, (u, _) => (o(), i("div", {
496
496
  class: "flex items-center",
497
497
  key: _,
@@ -507,21 +507,21 @@ function Gt(t, e, n, a, s, l) {
507
507
  ]))), 128))
508
508
  ])
509
509
  ]),
510
- r("div", Ut, [
511
- e[10] || (e[10] = r("h2", { class: "text-sm font-[600] text-gray-500" }, "Виберіть формат таблиці:", -1)),
512
- r("div", Et, [
510
+ l("div", Ut, [
511
+ e[10] || (e[10] = l("h2", { class: "text-sm font-[600] text-gray-500" }, "Виберіть формат таблиці:", -1)),
512
+ l("div", Et, [
513
513
  (o(!0), i(C, null, V(s.tableFormats, (u, _) => (o(), i("div", {
514
514
  class: "flex items-center",
515
515
  key: _
516
516
  }, [
517
- r("input", {
517
+ l("input", {
518
518
  type: "radio",
519
519
  name: "hs-pro-duecmfm",
520
520
  class: "text-blue-600 border-gray-300 rounded-full shrink-0 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",
521
521
  id: u,
522
- onChange: (x) => l.selectFormat(u)
522
+ onChange: (x) => r.selectFormat(u)
523
523
  }, null, 40, Ht),
524
- r("label", {
524
+ l("label", {
525
525
  for: u,
526
526
  class: "text-sm text-gray-800 ms-3 dark:text-neutral-400"
527
527
  }, " Формат " + T(u), 9, Wt)
@@ -572,11 +572,11 @@ const Kt = /* @__PURE__ */ $(Ft, [["render", Gt]]), Qt = {
572
572
  }, Xt = { class: "p-4 flex flex-col" }, Yt = { class: "flex mb-4 gap-2 border rounded overflow-hidden" }, Zt = { class: "flex" }, es = { class: "overflow-y-auto h-[400px] w-1/2 space-y-1 [&::-webkit-scrollbar]:h-1.5 [&::-webkit-scrollbar]:w-1.5 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-gray-300 [&::-webkit-scrollbar-track]:bg-transparent" }, ts = ["id", "value"], ss = ["for"], ns = {
573
573
  key: 0,
574
574
  class: "w-[400px] h-[400px] border ml-4 flex items-center justify-center text-gray-600 text-lg font-medium"
575
- }, rs = ["src"], ls = { class: "flex w-full justify-end p-[20px] gap-[6px] border-t" };
576
- function os(t, e, n, a, s, l) {
575
+ }, ls = ["src"], rs = { class: "flex w-full justify-end p-[20px] gap-[6px] border-t" };
576
+ function os(t, e, n, a, s, r) {
577
577
  const c = b("IconExport"), f = b("VsDialog");
578
578
  return o(), i(C, null, [
579
- r("button", {
579
+ l("button", {
580
580
  onClick: e[0] || (e[0] = (d) => s.isOpen = !0),
581
581
  class: "py-2 max-h-[34px] px-2.5 md:inline-flex hidden 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"
582
582
  }, [
@@ -590,49 +590,49 @@ function os(t, e, n, a, s, l) {
590
590
  visible: s.isOpen,
591
591
  "onUpdate:visible": [
592
592
  e[8] || (e[8] = (d) => s.isOpen = d),
593
- l.resetSelections
593
+ r.resetSelections
594
594
  ],
595
595
  title: "Друк",
596
596
  size: "small",
597
597
  closeClickBack: !0
598
598
  }, {
599
599
  footer: I(() => [
600
- r("div", ls, [
601
- r("button", {
600
+ l("div", rs, [
601
+ l("button", {
602
602
  type: "button",
603
603
  class: "inline-flex items-center justify-center px-3 py-2 text-sm font-medium text-gray-800 align-middle bg-white border border-gray-200 rounded-lg shadow-sm text-nowrap text-start hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700",
604
604
  onClick: e[5] || (e[5] = (d) => s.isOpen = !1)
605
605
  }, " Скасувати "),
606
- r("button", {
606
+ l("button", {
607
607
  type: "button",
608
- class: "inline-flex items-center justify-center px-3 py-2 text-sm font-medium text-gray-800 align-middle bg-white border border-gray-200 rounded-lg shadow-sm text-nowrap text-start hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700",
609
- onClick: e[6] || (e[6] = (...d) => l.downloadPdf && l.downloadPdf(...d))
608
+ class: "inline-flex items-center justify-center px-3 py-2 text-sm font-medium text-white align-middle bg-blue-500 border border-gray-200 rounded-lg shadow-sm text-nowrap text-start hover:bg-blue-600 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700",
609
+ onClick: e[6] || (e[6] = (...d) => r.downloadPdf && r.downloadPdf(...d))
610
610
  }, " Завантажити PDF "),
611
- r("button", {
611
+ l("button", {
612
612
  type: "button",
613
- class: "inline-flex items-center justify-center px-3 py-2 text-sm font-medium text-gray-800 align-middle bg-white border border-gray-200 rounded-lg shadow-sm text-nowrap text-start hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700",
614
- onClick: e[7] || (e[7] = (...d) => l.downloadWord && l.downloadWord(...d))
613
+ class: "inline-flex items-center justify-center px-3 py-2 text-sm font-medium text-white align-middle bg-green-500 border border-gray-200 rounded-lg shadow-sm text-nowrap text-start hover:bg-green-600 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700",
614
+ onClick: e[7] || (e[7] = (...d) => r.downloadWord && r.downloadWord(...d))
615
615
  }, " Завантажити Word ")
616
616
  ])
617
617
  ]),
618
618
  default: I(() => [
619
- r("div", Xt, [
620
- r("div", Yt, [
621
- r("button", {
619
+ l("div", Xt, [
620
+ l("div", Yt, [
621
+ l("button", {
622
622
  class: S([{
623
623
  "bg-gray-200": s.mode === "base",
624
624
  "bg-white": s.mode !== "base"
625
625
  }, "px-4 py-2 border-r text-black w-full"]),
626
626
  onClick: e[1] || (e[1] = (d) => s.mode = "base")
627
627
  }, " Базовий ", 2),
628
- r("button", {
628
+ l("button", {
629
629
  class: S([{
630
630
  "bg-gray-200": s.mode === "demo",
631
631
  "bg-white": s.mode !== "demo"
632
632
  }, "px-4 py-2 border-r text-black w-full"]),
633
633
  onClick: e[2] || (e[2] = (d) => s.mode = "demo")
634
634
  }, " Демо ", 2),
635
- r("button", {
635
+ l("button", {
636
636
  class: S([{
637
637
  "bg-gray-200": s.mode === "preview",
638
638
  "bg-white": s.mode !== "preview"
@@ -640,22 +640,22 @@ function os(t, e, n, a, s, l) {
640
640
  onClick: e[3] || (e[3] = (d) => s.mode = "preview")
641
641
  }, " Перегляд шаблону ", 2)
642
642
  ]),
643
- r("div", Zt, [
644
- r("div", es, [
643
+ l("div", Zt, [
644
+ l("div", es, [
645
645
  (o(!0), i(C, null, V(n.rows, (d) => (o(), i("div", {
646
646
  key: d.id,
647
647
  class: "flex items-center gap-2"
648
648
  }, [
649
- L(r("input", {
649
+ L(l("input", {
650
650
  type: "radio",
651
651
  id: d.id,
652
652
  value: d.id,
653
653
  "onUpdate:modelValue": e[4] || (e[4] = (h) => s.selectedTemplate = h),
654
654
  class: "cursor-pointer h-5"
655
655
  }, null, 8, ts), [
656
- [lt, s.selectedTemplate]
656
+ [rt, s.selectedTemplate]
657
657
  ]),
658
- r("label", {
658
+ l("label", {
659
659
  for: d.id,
660
660
  class: "cursor-pointer"
661
661
  }, T(d[n.titleCol]), 9, ss)
@@ -664,8 +664,8 @@ function os(t, e, n, a, s, l) {
664
664
  s.selectedTemplate ? (o(), i("iframe", {
665
665
  key: 1,
666
666
  class: "w-[400px] h-[400px] border ml-4",
667
- src: l.getTemplateUrl()
668
- }, null, 8, rs)) : (o(), i("div", ns, " Оберіть для друку та прев'ю "))
667
+ src: r.getTemplateUrl()
668
+ }, null, 8, ls)) : (o(), i("div", ns, " Оберіть для друку та прев'ю "))
669
669
  ])
670
670
  ])
671
671
  ]),
@@ -683,7 +683,7 @@ const as = /* @__PURE__ */ $(Qt, [["render", os]]), is = {}, ds = {
683
683
  "stroke-linejoin": "round",
684
684
  class: "icon icon-tabler icons-tabler-outline icon-tabler-columns"
685
685
  };
686
- function us(t, e, n, a, s, l) {
686
+ function us(t, e, n, a, s, r) {
687
687
  return o(), i("svg", ds, e[0] || (e[0] = [
688
688
  ot('<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)
689
689
  ]));
@@ -709,20 +709,20 @@ const cs = /* @__PURE__ */ $(is, [["render", us]]), ps = {
709
709
  ((t = this.column) == null ? void 0 : t.hidden) !== !0 && (this.value = !0);
710
710
  }
711
711
  }, bs = { class: "flex justify-between items-center py-1.5 px-3 cursor-pointer rounded-lg hover:bg-gray-100 has-[:disabled]:opacity-50 has-[:disabled]:pointer-events-none dark:hover:bg-neutral-800" }, hs = { class: "flex justify-between flex-1 items-center gap-x-2.5 cursor-pointer text-[13px] text-gray-800 dark:text-neutral-300" };
712
- function fs(t, e, n, a, s, l) {
712
+ function fs(t, e, n, a, s, r) {
713
713
  var f, d;
714
714
  const c = b("IconCheck2");
715
715
  return o(), i("div", bs, [
716
- r("label", hs, [
716
+ l("label", hs, [
717
717
  P(T(((f = n.column) == null ? void 0 : f.ua) || ((d = n.column) == null ? void 0 : d.title)) + " ", 1),
718
- L(r("input", {
718
+ L(l("input", {
719
719
  type: "checkbox",
720
720
  "onUpdate:modelValue": e[0] || (e[0] = (h) => s.value = h),
721
721
  class: "hidden"
722
722
  }, null, 512), [
723
723
  [at, s.value]
724
724
  ]),
725
- r("span", {
725
+ l("span", {
726
726
  class: S(["flex items-center justify-center text-white border border-gray-300 rounded shrink-0 size-4 focus:ring-blue-500", [s.value ? "bg-blue-600 border-0" : "bg-white"]])
727
727
  }, [
728
728
  g(c, {
@@ -748,8 +748,8 @@ const ms = /* @__PURE__ */ $(ps, [["render", fs]]), gs = {
748
748
  var t;
749
749
  return (t = this.columns) == null ? void 0 : t.filter(
750
750
  (e) => {
751
- var n, a, s, l, c, f;
752
- return ((s = (n = e == null ? void 0 : e.ua) == null ? void 0 : n.toLowerCase()) == null ? void 0 : s.includes((a = this.searchValue) == null ? void 0 : a.toLowerCase())) || ((f = (l = e == null ? void 0 : e.title) == null ? void 0 : l.toLowerCase()) == null ? void 0 : f.includes((c = this.searchValue) == null ? void 0 : c.toLowerCase()));
751
+ var n, a, s, r, c, f;
752
+ return ((s = (n = e == null ? void 0 : e.ua) == null ? void 0 : n.toLowerCase()) == null ? void 0 : s.includes((a = this.searchValue) == null ? void 0 : a.toLowerCase())) || ((f = (r = e == null ? void 0 : e.title) == null ? void 0 : r.toLowerCase()) == null ? void 0 : f.includes((c = this.searchValue) == null ? void 0 : c.toLowerCase()));
753
753
  }
754
754
  );
755
755
  }
@@ -783,11 +783,11 @@ const ms = /* @__PURE__ */ $(ps, [["render", fs]]), gs = {
783
783
  key: 1,
784
784
  class: "flex items-center px-3 text-[13px] py-1.5 px-3 rounded-md cursor-pointer group"
785
785
  };
786
- function $s(t, e, n, a, s, l) {
786
+ function $s(t, e, n, a, s, r) {
787
787
  const c = b("IconColumns"), f = b("AdminTableColumnsHiddenItem");
788
788
  return o(), i("div", xs, [
789
- r("button", {
790
- onClick: e[0] || (e[0] = (...d) => l.toggleVisible && l.toggleVisible(...d)),
789
+ l("button", {
790
+ onClick: e[0] || (e[0] = (...d) => r.toggleVisible && r.toggleVisible(...d)),
791
791
  class: "py-2 max-h-[34px] px-2.5 md:inline-flex hidden 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
793
  g(c, {
@@ -800,9 +800,9 @@ function $s(t, e, n, a, s, l) {
800
800
  var d, h;
801
801
  return [
802
802
  s.visible ? (o(), i("div", ys, [
803
- e[2] || (e[2] = r("div", { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-2 text-sm font-medium text-gray-800" }, " Колонки ", -1)),
804
- r("div", ks, [
805
- L(r("input", {
803
+ e[2] || (e[2] = l("div", { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-2 text-sm font-medium text-gray-800" }, " Колонки ", -1)),
804
+ l("div", ks, [
805
+ L(l("input", {
806
806
  "onUpdate:modelValue": e[1] || (e[1] = (u) => s.searchValue = u),
807
807
  type: "text",
808
808
  class: "py-1.5 px-3 block w-full border-transparent rounded-lg sm:text-sm text-base placeholder:text-gray-500 hover:bg-gray-100 focus:outline-none focus:border-transparent focus:ring-0 focus:bg-gray-100 disabled:opacity-100 disabled:pointer-events-none dark:bg-transparent dark:border-transparent dark:text-neutral-400 dark:placeholder:text-neutral-400 dark:hover:bg-neutral-800 dark:focus:ring-neutral-600 dark:focus:bg-neutral-800",
@@ -812,13 +812,13 @@ function $s(t, e, n, a, s, l) {
812
812
  [it, s.searchValue]
813
813
  ])
814
814
  ]),
815
- r("div", vs, [
816
- (d = l.filteredColumn) != null && d.length ? (o(), i("span", _s, " Оберіть колонки для відображення ")) : v("", !0),
817
- r("div", ws, [
818
- (h = l.filteredColumn) != null && h.length ? (o(!0), i(C, { key: 0 }, V(l.filteredColumn, (u, _) => (o(), k(f, {
815
+ l("div", vs, [
816
+ (d = r.filteredColumn) != null && d.length ? (o(), i("span", _s, " Оберіть колонки для відображення ")) : v("", !0),
817
+ l("div", ws, [
818
+ (h = r.filteredColumn) != null && h.length ? (o(!0), i(C, { key: 0 }, V(r.filteredColumn, (u, _) => (o(), k(f, {
819
819
  key: _,
820
820
  column: u,
821
- onUpdateColumn: l.updateColumn
821
+ onUpdateColumn: r.updateColumn
822
822
  }, null, 8, ["column", "onUpdateColumn"]))), 128)) : (o(), i("div", Cs, " Нічого не знайдено "))
823
823
  ])
824
824
  ])
@@ -839,14 +839,14 @@ const Ts = /* @__PURE__ */ $(gs, [["render", $s]]), As = {}, Ss = {
839
839
  "stroke-linejoin": "round",
840
840
  class: "icon icon-tabler icons-tabler-outline icon-tabler-minus"
841
841
  };
842
- function Is(t, e, n, a, s, l) {
842
+ function Is(t, e, n, a, s, r) {
843
843
  return o(), i("svg", Ss, e[0] || (e[0] = [
844
- r("path", {
844
+ l("path", {
845
845
  stroke: "none",
846
846
  d: "M0 0h24v24H0z",
847
847
  fill: "none"
848
848
  }, null, -1),
849
- r("path", { d: "M5 12l14 0" }, null, -1)
849
+ l("path", { d: "M5 12l14 0" }, null, -1)
850
850
  ]));
851
851
  }
852
852
  const Ds = /* @__PURE__ */ $(As, [["render", Is]]), Vs = {
@@ -859,19 +859,19 @@ const Ds = /* @__PURE__ */ $(As, [["render", Is]]), Vs = {
859
859
  return { expanded: this.defaultValue };
860
860
  }
861
861
  }, Ps = { class: "hs-accordion" }, js = { class: "py-0.5 flex items-center gap-x-0.5 w-full" }, Fs = { class: "text-sm font-medium" }, Ms = { class: "relative inline-block w-full duration-150 cursor-pointer before:block before:absolute b" };
862
- function Ls(t, e, n, a, s, l) {
862
+ function Ls(t, e, n, a, s, r) {
863
863
  const c = b("IconPlus"), f = b("IconMinus");
864
864
  return o(), i("div", null, [
865
- r("div", null, [
866
- r("div", Ps, [
867
- r("div", js, [
868
- r("div", {
865
+ l("div", null, [
866
+ l("div", Ps, [
867
+ l("div", js, [
868
+ l("div", {
869
869
  onClick: e[0] || (e[0] = (d) => s.expanded = !s.expanded),
870
870
  class: "rounded-md cursor-pointer grow"
871
871
  }, [
872
- r("span", Fs, T(n.title), 1)
872
+ l("span", Fs, T(n.title), 1)
873
873
  ]),
874
- r("button", {
874
+ l("button", {
875
875
  class: "flex items-center justify-center rounded-md size-6 hover:bg-gray-100",
876
876
  onClick: e[1] || (e[1] = (d) => s.expanded = !s.expanded)
877
877
  }, [
@@ -883,7 +883,7 @@ function Ls(t, e, n, a, s, l) {
883
883
  ]),
884
884
  g(z, { name: "fade" }, {
885
885
  default: I(() => [
886
- L(r("div", Ms, [
886
+ L(l("div", Ms, [
887
887
  dt(t.$slots, "default", {}, void 0, !0)
888
888
  ], 512), [
889
889
  [U, s.expanded]
@@ -912,14 +912,14 @@ const zs = /* @__PURE__ */ $(Vs, [["render", Ls], ["__scopeId", "data-v-c6318482
912
912
  class: "border-l",
913
913
  style: { height: "calc(100vh - 360px)" }
914
914
  }, Ns = { class: "flow-root mt-[10px]" }, Us = { class: "-my-3 text-sm divide-y divide-gray-100" }, Es = { class: "flex py-3 sm:grid-cols-3 sm:gap-4" }, Hs = { class: "font-medium text-black w-[50%]" }, Ws = { class: "text-gray-700 sm:col-span-2 w-[50%]" }, Rs = { class: "table-info-card" }, Js = { class: "table-info-card" };
915
- function Gs(t, e, n, a, s, l) {
915
+ function Gs(t, e, n, a, s, r) {
916
916
  var x, m, w;
917
917
  const c = b("AdminComponentIs"), f = b("AdminTree"), d = b("VsWidgetMap"), h = b("VsNoData"), u = b("VsWidgetComments"), _ = b("VsWidgetFileList");
918
918
  return o(), i("div", Os, [
919
- e[0] || (e[0] = r("div", { class: "p-[10px] pl-[18px] pb-[18px] border-b" }, [
920
- r("h2", { class: "text-sm font-medium" }, "Інформація про об'єкт")
919
+ e[0] || (e[0] = l("div", { class: "p-[10px] pl-[18px] pb-[18px] border-b" }, [
920
+ l("h2", { class: "text-sm font-medium" }, "Інформація про об'єкт")
921
921
  ], -1)),
922
- r("div", Bs, [
922
+ l("div", Bs, [
923
923
  (m = (x = t.$route) == null ? void 0 : x.query) != null && m.card ? (o(), i(C, { key: 0 }, [
924
924
  n.row ? (o(), k(f, {
925
925
  key: 0,
@@ -928,11 +928,11 @@ function Gs(t, e, n, a, s, l) {
928
928
  class: "border-b p-[10px] py-[16px]"
929
929
  }, {
930
930
  default: I(() => [
931
- r("div", Ns, [
932
- r("dl", Us, [
931
+ l("div", Ns, [
932
+ l("dl", Us, [
933
933
  (o(!0), i(C, null, V(n.columns, (y) => (o(), i("div", Es, [
934
- r("dt", Hs, T((y == null ? void 0 : y.ua) || (y == null ? void 0 : y.title)), 1),
935
- r("dd", Ws, [
934
+ l("dt", Hs, T((y == null ? void 0 : y.ua) || (y == null ? void 0 : y.title)), 1),
935
+ l("dd", Ws, [
936
936
  g(c, {
937
937
  row: n.row,
938
938
  column: y,
@@ -974,7 +974,7 @@ function Gs(t, e, n, a, s, l) {
974
974
  default: I(() => {
975
975
  var y;
976
976
  return [
977
- r("div", Rs, [
977
+ l("div", Rs, [
978
978
  g(u, {
979
979
  id: (y = n.row) == null ? void 0 : y.id
980
980
  }, null, 8, ["id"])
@@ -990,7 +990,7 @@ function Gs(t, e, n, a, s, l) {
990
990
  default: I(() => {
991
991
  var y, A;
992
992
  return [
993
- r("div", Js, [
993
+ l("div", Js, [
994
994
  (o(), k(_, {
995
995
  key: (y = n.row) == null ? void 0 : y.id,
996
996
  id: (A = n.row) == null ? void 0 : A.id
@@ -1029,10 +1029,10 @@ const Ks = /* @__PURE__ */ $(qs, [["render", Gs]]), Qs = {
1029
1029
  key: 0,
1030
1030
  class: "px-[7px] text-[10px] py-[1px] font-[700] text-white bg-blue-500 rounded-full"
1031
1031
  }, Ys = { class: "filter-content h-screen bg-white w-[400px] overflow-x-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" };
1032
- function Zs(t, e, n, a, s, l) {
1032
+ function Zs(t, e, n, a, s, r) {
1033
1033
  const c = b("IconFilter"), f = b("VsFilter");
1034
1034
  return o(), i(C, null, [
1035
- r("button", {
1035
+ l("button", {
1036
1036
  onClick: e[0] || (e[0] = (d) => s.isFilters = !s.isFilters),
1037
1037
  class: "py-2 px-2.5 max-h-[34px] 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"
1038
1038
  }, [
@@ -1048,12 +1048,12 @@ function Zs(t, e, n, a, s, l) {
1048
1048
  var d;
1049
1049
  return [
1050
1050
  (o(), k(ut, { to: "#modal" }, [
1051
- L(r("div", {
1052
- onClick: e[3] || (e[3] = (...h) => l.closeFilter && l.closeFilter(...h)),
1051
+ L(l("div", {
1052
+ onClick: e[3] || (e[3] = (...h) => r.closeFilter && r.closeFilter(...h)),
1053
1053
  style: { height: "100vh" },
1054
1054
  class: "fixed filter-container top-0 flex justify-end items-center z-[12] right-0 left-0 bottom-0 bg-[rgba(0,0,0,0.2)]"
1055
1055
  }, [
1056
- r("div", Ys, [
1056
+ l("div", Ys, [
1057
1057
  (d = n.scheme) != null && d.length ? (o(), k(f, {
1058
1058
  key: 0,
1059
1059
  ref: "filter",
@@ -1088,7 +1088,7 @@ const en = /* @__PURE__ */ $(Qs, [["render", Zs]]), tn = {
1088
1088
  role: "tablist",
1089
1089
  "aria-orientation": "horizontal"
1090
1090
  }, nn = ["onClick"];
1091
- function rn(t, e, n, a, s, l) {
1091
+ function ln(t, e, n, a, s, r) {
1092
1092
  return o(), i("nav", sn, [
1093
1093
  (o(!0), i(C, null, V(n.tabsList, (c) => (o(), i("button", {
1094
1094
  onClick: (f) => t.$emit("update:filterState", c == null ? void 0 : c.name),
@@ -1098,7 +1098,7 @@ function rn(t, e, n, a, s, l) {
1098
1098
  }, T(c == null ? void 0 : c.label), 11, nn))), 256))
1099
1099
  ]);
1100
1100
  }
1101
- const ln = /* @__PURE__ */ $(tn, [["render", rn]]), on = {}, an = {
1101
+ const rn = /* @__PURE__ */ $(tn, [["render", ln]]), on = {}, an = {
1102
1102
  xmlns: "http://www.w3.org/2000/svg",
1103
1103
  viewBox: "0 0 24 24",
1104
1104
  fill: "none",
@@ -1108,28 +1108,28 @@ const ln = /* @__PURE__ */ $(tn, [["render", rn]]), on = {}, an = {
1108
1108
  "stroke-linejoin": "round",
1109
1109
  class: "icon icon-tabler icons-tabler-outline icon-tabler-filter"
1110
1110
  };
1111
- function dn(t, e, n, a, s, l) {
1111
+ function dn(t, e, n, a, s, r) {
1112
1112
  return o(), i("svg", an, e[0] || (e[0] = [
1113
- r("path", {
1113
+ l("path", {
1114
1114
  stroke: "none",
1115
1115
  d: "M0 0h24v24H0z",
1116
1116
  fill: "none"
1117
1117
  }, null, -1),
1118
- r("path", { d: "M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z" }, null, -1)
1118
+ l("path", { d: "M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z" }, null, -1)
1119
1119
  ]));
1120
1120
  }
1121
1121
  const un = /* @__PURE__ */ $(on, [["render", dn]]), cn = {
1122
1122
  components: { IconFilter2: un, IconCheck2: Le },
1123
1123
  props: { filterCustom: String, customList: Array }
1124
1124
  }, pn = { class: "py-2 max-h-[34px] 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" }, bn = { class: "flex flex-col p-[2px] gap-[2px] w-[170px]" }, hn = ["onClick"], fn = { class: "text-sm text-gray-800" };
1125
- function mn(t, e, n, a, s, l) {
1125
+ function mn(t, e, n, a, s, r) {
1126
1126
  const c = b("IconFilter2"), f = b("IconCheck2"), d = b("VsPopover");
1127
1127
  return o(), k(d, {
1128
1128
  ref: "popover",
1129
1129
  placement: "bottom"
1130
1130
  }, {
1131
1131
  reference: I(() => [
1132
- r("button", pn, [
1132
+ l("button", pn, [
1133
1133
  g(c, {
1134
1134
  height: "20",
1135
1135
  width: "20"
@@ -1137,7 +1137,7 @@ function mn(t, e, n, a, s, l) {
1137
1137
  ])
1138
1138
  ]),
1139
1139
  default: I(() => [
1140
- r("div", bn, [
1140
+ l("div", bn, [
1141
1141
  (o(!0), i(C, null, V(n.customList, (h, u) => (o(), i("button", {
1142
1142
  onClick: (_) => {
1143
1143
  var x;
@@ -1146,13 +1146,13 @@ function mn(t, e, n, a, s, l) {
1146
1146
  key: u,
1147
1147
  class: S(["flex items-center px-3 py-1 rounded-md cursor-pointer group hover:bg-gray-100", { "bg-gray-100": n.filterCustom === (h == null ? void 0 : h.name) }])
1148
1148
  }, [
1149
- r("span", fn, T(h == null ? void 0 : h.label), 1),
1149
+ l("span", fn, T(h == null ? void 0 : h.label), 1),
1150
1150
  n.filterCustom === (h == null ? void 0 : h.name) ? (o(), k(f, {
1151
1151
  key: 0,
1152
1152
  class: "ml-auto size-3 shrink-0"
1153
1153
  })) : v("", !0)
1154
1154
  ], 10, hn))), 128)),
1155
- r("button", {
1155
+ l("button", {
1156
1156
  class: "flex items-center px-3 py-1 rounded-md cursor-pointer group hover:bg-gray-100",
1157
1157
  onClick: e[0] || (e[0] = (h) => {
1158
1158
  var u;
@@ -1171,7 +1171,7 @@ const gn = /* @__PURE__ */ $(cn, [["render", mn]]), xn = { class: "flex items-ce
1171
1171
  },
1172
1172
  setup(t) {
1173
1173
  var f, d, h, u, _;
1174
- const { asyncTemplateSlot: e } = (_ = (u = (h = (d = (f = ze()) == null ? void 0 : f.appContext) == null ? void 0 : d.app) == null ? void 0 : h.config) == null ? void 0 : u.globalProperties) == null ? void 0 : _.utils, n = q(""), a = q(""), s = t, l = () => {
1174
+ const { asyncTemplateSlot: e } = (_ = (u = (h = (d = (f = ze()) == null ? void 0 : f.appContext) == null ? void 0 : d.app) == null ? void 0 : h.config) == null ? void 0 : u.globalProperties) == null ? void 0 : _.utils, n = q(""), a = q(""), s = t, r = () => {
1175
1175
  var x, m, w, y, A;
1176
1176
  if ((x = s.slots) != null && x.panelLeft || (a.value = "div"), (w = (m = s.slots) == null ? void 0 : m.panelLeft) != null && w.includes("<")) {
1177
1177
  const D = e("PanelLeft", (y = s.slots) == null ? void 0 : y.panelLeft, [
@@ -1190,7 +1190,7 @@ const gn = /* @__PURE__ */ $(cn, [["render", mn]]), xn = { class: "flex items-ce
1190
1190
  } else
1191
1191
  n.value = (A = s.slots) == null ? void 0 : A.panelRight;
1192
1192
  };
1193
- return l(), c(), (x, m) => (o(), i("div", xn, [
1193
+ return r(), c(), (x, m) => (o(), i("div", xn, [
1194
1194
  (o(), k(O(a.value))),
1195
1195
  (o(), k(O(n.value)))
1196
1196
  ]));
@@ -1208,8 +1208,8 @@ const gn = /* @__PURE__ */ $(cn, [["render", mn]]), xn = { class: "flex items-ce
1208
1208
  slots: Object
1209
1209
  },
1210
1210
  setup(t) {
1211
- var l, c, f, d, h;
1212
- const { asyncTemplateSlot: e } = (h = (d = (f = (c = (l = ze()) == null ? void 0 : l.appContext) == null ? void 0 : c.app) == null ? void 0 : f.config) == null ? void 0 : d.globalProperties) == null ? void 0 : h.utils, n = q(""), a = t;
1211
+ var r, c, f, d, h;
1212
+ const { asyncTemplateSlot: e } = (h = (d = (f = (c = (r = ze()) == null ? void 0 : r.appContext) == null ? void 0 : c.app) == null ? void 0 : f.config) == null ? void 0 : d.globalProperties) == null ? void 0 : h.utils, n = q(""), a = t;
1213
1213
  return (() => {
1214
1214
  var u, _, x, m, w;
1215
1215
  if ((u = a.slots) != null && u.addButton || (n.value = "div"), (x = (_ = a.slots) == null ? void 0 : _.addButton) != null && x.includes("<")) {
@@ -1264,14 +1264,14 @@ const gn = /* @__PURE__ */ $(cn, [["render", mn]]), xn = { class: "flex items-ce
1264
1264
  "stroke-linejoin": "round",
1265
1265
  class: "icon icon-tabler icons-tabler-outline icon-tabler-chevron-down"
1266
1266
  };
1267
- function An(t, e, n, a, s, l) {
1267
+ function An(t, e, n, a, s, r) {
1268
1268
  return o(), i("svg", Tn, e[0] || (e[0] = [
1269
- r("path", {
1269
+ l("path", {
1270
1270
  stroke: "none",
1271
1271
  d: "M0 0h24v24H0z",
1272
1272
  fill: "none"
1273
1273
  }, null, -1),
1274
- r("path", { d: "M6 9l6 6l6 -6" }, null, -1)
1274
+ l("path", { d: "M6 9l6 6l6 -6" }, null, -1)
1275
1275
  ]));
1276
1276
  }
1277
1277
  const Sn = /* @__PURE__ */ $($n, [["render", An]]), In = {}, Dn = {
@@ -1284,14 +1284,14 @@ const Sn = /* @__PURE__ */ $($n, [["render", An]]), In = {}, Dn = {
1284
1284
  "stroke-linejoin": "round",
1285
1285
  class: "icon icon-tabler icons-tabler-outline icon-tabler-check"
1286
1286
  };
1287
- function Vn(t, e, n, a, s, l) {
1287
+ function Vn(t, e, n, a, s, r) {
1288
1288
  return o(), i("svg", Dn, e[0] || (e[0] = [
1289
- r("path", {
1289
+ l("path", {
1290
1290
  stroke: "none",
1291
1291
  d: "M0 0h24v24H0z",
1292
1292
  fill: "none"
1293
1293
  }, null, -1),
1294
- r("path", { d: "M5 12l5 5l10 -10" }, null, -1)
1294
+ l("path", { d: "M5 12l5 5l10 -10" }, null, -1)
1295
1295
  ]));
1296
1296
  }
1297
1297
  const Pn = /* @__PURE__ */ $(In, [["render", Vn]]), jn = ct({
@@ -1364,7 +1364,7 @@ const Pn = /* @__PURE__ */ $(In, [["render", Vn]]), jn = ct({
1364
1364
  let n = Math.max(t - e, 1), a = n + this.maxPages - 1;
1365
1365
  a > this.pagesCount && (a = this.pagesCount, n = Math.max(a - this.maxPages + 1, 1)), this.pages = Array.from(
1366
1366
  { length: a - n + 1 },
1367
- (s, l) => n + l
1367
+ (s, r) => n + r
1368
1368
  );
1369
1369
  },
1370
1370
  handleClickPrev() {
@@ -1381,10 +1381,10 @@ const Pn = /* @__PURE__ */ $(In, [["render", Vn]]), jn = ct({
1381
1381
  key: 0,
1382
1382
  class: "flex items-center justify-center ml-3 gap-x-5"
1383
1383
  }, qn = { class: "relative" }, On = { class: "z-50 bg-white shadow-md rounded-lg p-1 space-y-0.5 dark:bg-neutral-800 dark:border dark:border-neutral-700 dark:divide-neutral-700 absolute bottom-[100%]" }, Bn = ["onClick"];
1384
- function Nn(t, e, n, a, s, l) {
1384
+ function Nn(t, e, n, a, s, r) {
1385
1385
  const c = b("IconChevronDown"), f = b("IconCheck");
1386
1386
  return o(), i("nav", Fn, [
1387
- r("button", {
1387
+ l("button", {
1388
1388
  type: "button",
1389
1389
  onClick: e[0] || (e[0] = (...d) => t.handleClickPrev && t.handleClickPrev(...d)),
1390
1390
  class: S(["min-h-[38px] min-w-[38px] py-2 px-2.5 inline-flex justify-center items-center gap-x-2 text-sm rounded-lg text-stone-800 hover:bg-stone-100 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-stone-100", { "opacity-50 pointer-events-none": t.disablePrevClick }])
@@ -1395,17 +1395,17 @@ function Nn(t, e, n, a, s, l) {
1395
1395
  class: "rotate-90"
1396
1396
  })
1397
1397
  ], 2),
1398
- r("div", Mn, [
1399
- r("span", {
1398
+ l("div", Mn, [
1399
+ l("span", {
1400
1400
  ref: "currentPage",
1401
1401
  contenteditable: "true",
1402
1402
  onBlur: e[1] || (e[1] = (d) => t.handleSetPage(d.target.innerText)),
1403
1403
  class: "min-h-[38px] max-h-[38px] overflow-hidden min-w-[38px] flex justify-center items-center bg-stone-100 text-stone-800 py-2 px-3 text-sm rounded-lg disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-700 dark:text-white"
1404
1404
  }, T(t.page), 545),
1405
- e[4] || (e[4] = r("span", { class: "min-h-[38px] flex justify-center items-center text-stone-500 py-2 px-1.5 text-sm" }, "з", -1)),
1406
- r("span", Ln, T(t.pagesCount), 1)
1405
+ e[4] || (e[4] = l("span", { class: "min-h-[38px] flex justify-center items-center text-stone-500 py-2 px-1.5 text-sm" }, "з", -1)),
1406
+ l("span", Ln, T(t.pagesCount), 1)
1407
1407
  ]),
1408
- r("button", {
1408
+ l("button", {
1409
1409
  type: "button",
1410
1410
  onClick: e[2] || (e[2] = (...d) => t.handleClickNext && t.handleClickNext(...d)),
1411
1411
  class: S([{ "opacity-50 pointer-events-none": t.disableNextClick }, "min-h-[38px] min-w-[38px] py-2 px-2.5 inline-flex justify-center items-center gap-x-2 text-sm rounded-lg text-stone-800 hover:bg-stone-100 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-stone-100"])
@@ -1417,8 +1417,8 @@ function Nn(t, e, n, a, s, l) {
1417
1417
  })
1418
1418
  ], 2),
1419
1419
  t.pageSizes.length ? (o(), i("div", zn, [
1420
- r("div", qn, [
1421
- L(r("div", On, [
1420
+ l("div", qn, [
1421
+ L(l("div", On, [
1422
1422
  (o(!0), i(C, null, V(t.pageSizes, (d) => (o(), i("button", {
1423
1423
  type: "button",
1424
1424
  class: "w-full flex items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm",
@@ -1466,7 +1466,7 @@ const Un = /* @__PURE__ */ $(jn, [["render", Nn]]), En = {
1466
1466
  IconOpenCard: st,
1467
1467
  AdminComponentIs: N,
1468
1468
  AdminTableFilters: en,
1469
- AdminTableTabs: ln,
1469
+ AdminTableTabs: rn,
1470
1470
  AdminTableCustomFilters: gn,
1471
1471
  AdminTableCustomButtons: yn,
1472
1472
  AdminCustomButtonAdd: vn,
@@ -1568,7 +1568,7 @@ const Un = /* @__PURE__ */ $(jn, [["render", Nn]]), En = {
1568
1568
  },
1569
1569
  columns(t) {
1570
1570
  var e, n, a, s;
1571
- this.visibleColumns = t == null ? void 0 : t.map((l) => l == null ? void 0 : l.name), this.initialHiddenColumns === ((e = this.visibleColumns) == null ? void 0 : e.join(",")) && (this.visibleColumns = []), this.$router.replace({
1571
+ this.visibleColumns = t == null ? void 0 : t.map((r) => r == null ? void 0 : r.name), this.initialHiddenColumns === ((e = this.visibleColumns) == null ? void 0 : e.join(",")) && (this.visibleColumns = []), this.$router.replace({
1572
1572
  ...this.$route,
1573
1573
  query: {
1574
1574
  ...(n = this.$route) == null ? void 0 : n.query,
@@ -1579,8 +1579,8 @@ const Un = /* @__PURE__ */ $(jn, [["render", Nn]]), En = {
1579
1579
  },
1580
1580
  methods: {
1581
1581
  async checkUrlMounted() {
1582
- var t, e, n, a, s, l, c, f, d, h, u, _, x, m, w, y, A, D, M;
1583
- this.page = ((e = (t = this.$route) == null ? void 0 : t.query) == null ? void 0 : e.page) || 1, this.limit = ((a = (n = this.$route) == null ? void 0 : n.query) == null ? void 0 : a.limit) || 20, this.filters = ((c = decodeURI((l = (s = this.$route) == null ? void 0 : s.query) == null ? void 0 : l.filter)) == null ? void 0 : c.replaceAll("+", " ")) || null, this.filters && (this.onFilters = ((d = (f = this.filters) == null ? void 0 : f.split("=")) == null ? void 0 : d.length) - 1), this.filterState = ((u = (h = this.$route) == null ? void 0 : h.query) == null ? void 0 : u.filterState) || null, this.filterCustom = ((x = (_ = this.$route) == null ? void 0 : _.query) == null ? void 0 : x.custom) || null, this.searchValue = ((w = (m = this.$route) == null ? void 0 : m.query) == null ? void 0 : w.search) || "", this.visibleColumns = ((D = (A = (y = this.$route) == null ? void 0 : y.query) == null ? void 0 : A.columns) == null ? void 0 : D.split(",")) || [], (M = this.$route) != null && M.query.card && (this.isVisibleCardInfo = !0);
1582
+ var t, e, n, a, s, r, c, f, d, h, u, _, x, m, w, y, A, D, M;
1583
+ this.page = ((e = (t = this.$route) == null ? void 0 : t.query) == null ? void 0 : e.page) || 1, this.limit = ((a = (n = this.$route) == null ? void 0 : n.query) == null ? void 0 : a.limit) || 20, this.filters = ((c = decodeURI((r = (s = this.$route) == null ? void 0 : s.query) == null ? void 0 : r.filter)) == null ? void 0 : c.replaceAll("+", " ")) || null, this.filters && (this.onFilters = ((d = (f = this.filters) == null ? void 0 : f.split("=")) == null ? void 0 : d.length) - 1), this.filterState = ((u = (h = this.$route) == null ? void 0 : h.query) == null ? void 0 : u.filterState) || null, this.filterCustom = ((x = (_ = this.$route) == null ? void 0 : _.query) == null ? void 0 : x.custom) || null, this.searchValue = ((w = (m = this.$route) == null ? void 0 : m.query) == null ? void 0 : w.search) || "", this.visibleColumns = ((D = (A = (y = this.$route) == null ? void 0 : y.query) == null ? void 0 : A.columns) == null ? void 0 : D.split(",")) || [], (M = this.$route) != null && M.query.card && (this.isVisibleCardInfo = !0);
1584
1584
  },
1585
1585
  rowWidth(t) {
1586
1586
  var n, a;
@@ -1594,7 +1594,7 @@ const Un = /* @__PURE__ */ $(jn, [["render", Nn]]), En = {
1594
1594
  this.page = 1, this.visibleColumns = [], this.filterCustom = null, this.filterState = null, this.isVisibleCardInfo = !1, this.filterScheme = null, this.filters = null, this.onFilters = 0, this.searchValue = "";
1595
1595
  },
1596
1596
  async getTableData() {
1597
- var t, e, n, a, s, l, c, f, d, h, u;
1597
+ var t, e, n, a, s, r, c, f, d, h, u;
1598
1598
  try {
1599
1599
  const { data: _ } = await F.get(`/api/template/table/${this.table}`), x = await F.get(`/api/table-data/${this.table}`, {
1600
1600
  params: {
@@ -1610,7 +1610,7 @@ const Un = /* @__PURE__ */ $(jn, [["render", Nn]]), En = {
1610
1610
  this.tableData = {
1611
1611
  ..._,
1612
1612
  ...(x == null ? void 0 : x.data) || {}
1613
- }, this.initialHiddenColumns = (l = (s = (a = (n = this.tableData) == null ? void 0 : n.columns) == null ? void 0 : a.filter((m) => (m == null ? void 0 : m.hidden) !== !0)) == null ? void 0 : s.map((m) => m == null ? void 0 : m.name)) == null ? void 0 : l.join(","), (c = this.visibleColumns) != null && c.length ? (f = this.tableData) == null || f.columns.forEach((m) => {
1613
+ }, this.initialHiddenColumns = (r = (s = (a = (n = this.tableData) == null ? void 0 : n.columns) == null ? void 0 : a.filter((m) => (m == null ? void 0 : m.hidden) !== !0)) == null ? void 0 : s.map((m) => m == null ? void 0 : m.name)) == null ? void 0 : r.join(","), (c = this.visibleColumns) != null && c.length ? (f = this.tableData) == null || f.columns.forEach((m) => {
1614
1614
  var w;
1615
1615
  (w = this.visibleColumns) != null && w.includes(m == null ? void 0 : m.name) ? m.hidden = !1 : m.hidden = !0;
1616
1616
  }) : this.visibleColumns = (u = (h = (d = this.tableData) == null ? void 0 : d.columns) == null ? void 0 : h.filter((m) => (m == null ? void 0 : m.hidden) !== !0)) == null ? void 0 : u.map((m) => m == null ? void 0 : m.name);
@@ -1674,20 +1674,20 @@ const Un = /* @__PURE__ */ $(jn, [["render", Nn]]), En = {
1674
1674
  }, Gn = { class: "bg-white w-full rounded-xl border p-[20px] pr-0" }, Kn = { class: "flex" }, Qn = { class: "flex gap-[6px] ml-auto" }, Xn = { class: "inline-block w-full align-middle" }, Yn = {
1675
1675
  key: 0,
1676
1676
  class: "relative min-w-full text-[13px] divide-y divide-gray-200 table-fixed w-max dark:divide-neutral-700"
1677
- }, Zn = { class: "sticky top-[-1px] z-[2] bg-white w-full after:absolute after:content-[''] after:block after:w-full after:h-px after:bg-stone-200" }, er = { class: "right-0" }, tr = {
1677
+ }, Zn = { class: "sticky top-[-1px] z-[2] bg-white w-full after:absolute after:content-[''] after:block after:w-full after:h-px after:bg-stone-200" }, el = { class: "right-0" }, tl = {
1678
1678
  key: 0,
1679
1679
  class: "w-[70px] sticky right-0 top-0"
1680
- }, sr = { class: "divide-y divide-gray-200 z-[1] relative" }, nr = ["onClick"], rr = ["onClick"], lr = { class: "p-[10px] flex justify-start items-center w-full" }, or = { class: "w-[200px] md:inline-flex hidden" }, ar = { class: "text-sm text-gray-600 dark:text-neutral-400" }, ir = { class: "font-semibold text-gray-800 dark:text-neutral-200" }, dr = { key: 0 }, ur = {
1680
+ }, sl = { class: "divide-y divide-gray-200 z-[1] relative" }, nl = ["onClick"], ll = ["onClick"], rl = { class: "p-[10px] flex justify-start items-center w-full" }, ol = { class: "w-[200px] md:inline-flex hidden" }, al = { class: "text-sm text-gray-600 dark:text-neutral-400" }, il = { class: "font-semibold text-gray-800 dark:text-neutral-200" }, dl = { key: 0 }, ul = {
1681
1681
  key: 0,
1682
1682
  class: "font-semibold text-gray-800 dark:text-neutral-200"
1683
1683
  };
1684
- function cr(t, e, n, a, s, l) {
1685
- var W, R, J, G, K, Q, X, Y, Z, ee, te, se, ne, re, le, oe, ae, ie, de, ue, ce, pe, be, he, fe, me, ge, xe, ye, ke;
1684
+ function cl(t, e, n, a, s, r) {
1685
+ var W, R, J, G, K, Q, X, Y, Z, ee, te, se, ne, le, re, oe, ae, ie, de, ue, ce, pe, be, he, fe, me, ge, xe, ye, ke;
1686
1686
  const c = b("AdminCustomButtonAdd"), f = b("IconPlus"), d = b("router-link"), h = b("AdminTableTabs"), u = b("IconSearch"), _ = b("VsText"), x = b("AdminTableCustomButtons"), m = b("AdminTableCustomFilters"), w = b("AdminTableColumnsHidden"), y = b("AdminTablePrint"), A = b("AdminTableExport"), D = b("AdminTableFilters"), M = b("IconOpenCard"), E = b("AdminTableColumn"), H = b("AdminComponentIs"), Be = b("AdminTableControl"), Ne = b("AdminTableTotalsList"), Ue = b("AdminNodata"), Ee = b("AdminTablePagination"), He = b("AdminTableCardInfo");
1687
1687
  return o(), i("div", Hn, [
1688
- r("div", Wn, [
1689
- r("h2", Rn, T(n.title), 1),
1690
- l.isForm ? (o(), i(C, { key: 0 }, [
1688
+ l("div", Wn, [
1689
+ l("h2", Rn, T(n.title), 1),
1690
+ r.isForm ? (o(), i(C, { key: 0 }, [
1691
1691
  (R = (W = s.tableData) == null ? void 0 : W.slots) != null && R.addButton ? (o(), k(c, {
1692
1692
  key: 0,
1693
1693
  slots: (J = s.tableData) == null ? void 0 : J.slots
@@ -1707,19 +1707,19 @@ function cr(t, e, n, a, s, l) {
1707
1707
  }, 8, ["to"]))
1708
1708
  ], 64)) : v("", !0)
1709
1709
  ]),
1710
- r("div", Jn, [
1711
- r("div", Gn, [
1710
+ l("div", Jn, [
1711
+ l("div", Gn, [
1712
1712
  (X = (Q = s.tableData) == null ? void 0 : Q.filterState) != null && X.length ? (o(), k(h, {
1713
1713
  key: 0,
1714
1714
  tabsList: (Y = s.tableData) == null ? void 0 : Y.filterState,
1715
1715
  filterState: s.filterState,
1716
1716
  "onUpdate:filterState": e[0] || (e[0] = (p) => s.filterState = p)
1717
1717
  }, null, 8, ["tabsList", "filterState"])) : v("", !0),
1718
- r("div", Kn, [
1719
- r("div", {
1718
+ l("div", Kn, [
1719
+ l("div", {
1720
1720
  class: S([s.isVisibleCardInfo ? "w-[calc(100%-360px)]" : "w-full"])
1721
1721
  }, [
1722
- r("div", {
1722
+ l("div", {
1723
1723
  class: S(["flex sm:grid sm:grid-cols-2 gap-x-2 sm:gap-x-5 mb-[10px] relative", { "pr-[20px]": !s.isVisibleCardInfo }])
1724
1724
  }, [
1725
1725
  g(u, {
@@ -1734,7 +1734,7 @@ function cr(t, e, n, a, s, l) {
1734
1734
  clearable: !0,
1735
1735
  class: "[&>input]:py-[7px] [&>input]:max-h-[36px] [&>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"
1736
1736
  }, null, 8, ["modelValue"]),
1737
- r("div", Qn, [
1737
+ l("div", Qn, [
1738
1738
  (Z = s.tableData) != null && Z.slots ? (o(), k(x, {
1739
1739
  key: 0,
1740
1740
  slots: (ee = s.tableData) == null ? void 0 : ee.slots
@@ -1746,12 +1746,12 @@ function cr(t, e, n, a, s, l) {
1746
1746
  "onUpdate:filterCustom": e[2] || (e[2] = (p) => s.filterCustom = p)
1747
1747
  }, null, 8, ["customList", "filterCustom"])) : v("", !0),
1748
1748
  g(w, {
1749
- columns: (re = s.tableData) == null ? void 0 : re.columns,
1749
+ columns: (le = s.tableData) == null ? void 0 : le.columns,
1750
1750
  onUpdateColumns: e[3] || (e[3] = (p) => s.tableData.columns = p)
1751
1751
  }, null, 8, ["columns"]),
1752
1752
  g(y, {
1753
- rows: (le = s.tableData) == null ? void 0 : le.rows,
1754
- titleCol: (ae = (oe = l.columns) == null ? void 0 : oe[0]) == null ? void 0 : ae.name
1753
+ rows: (re = s.tableData) == null ? void 0 : re.rows,
1754
+ titleCol: (ae = (oe = r.columns) == null ? void 0 : oe[0]) == null ? void 0 : ae.name
1755
1755
  }, null, 8, ["rows", "titleCol"]),
1756
1756
  ((ie = s.tableData) == null ? void 0 : ie.export) !== !1 ? (o(), k(A, {
1757
1757
  key: 2,
@@ -1767,10 +1767,10 @@ function cr(t, e, n, a, s, l) {
1767
1767
  scheme: s.filterScheme,
1768
1768
  onFilters: s.onFilters,
1769
1769
  table: n.table,
1770
- onFilterChange: l.filterChange
1770
+ onFilterChange: r.filterChange
1771
1771
  }, null, 8, ["scheme", "onFilters", "table", "onFilterChange"])) : v("", !0),
1772
- r("button", {
1773
- onClick: e[4] || (e[4] = (...p) => l.toggleCardInfo && l.toggleCardInfo(...p)),
1772
+ l("button", {
1773
+ onClick: e[4] || (e[4] = (...p) => r.toggleCardInfo && r.toggleCardInfo(...p)),
1774
1774
  class: "py-2 px-2.5 max-h-[34px] md:inline-flex hidden 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"
1775
1775
  }, [
1776
1776
  g(M, {
@@ -1779,36 +1779,36 @@ function cr(t, e, n, a, s, l) {
1779
1779
  ])
1780
1780
  ])
1781
1781
  ], 2),
1782
- r("div", {
1782
+ l("div", {
1783
1783
  class: S(["flex items-start justify-start w-full space-y-5", { "pr-[20px]": !s.isVisibleCardInfo }])
1784
1784
  }, [
1785
- r("div", {
1785
+ l("div", {
1786
1786
  style: Fe({
1787
1787
  height: (pe = (ce = s.tableData) == null ? void 0 : ce.filterState) != null && pe.length ? "calc(100vh - 370px)" : "calc(100vh - 330px)"
1788
1788
  }),
1789
1789
  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"
1790
1790
  }, [
1791
- r("div", Xn, [
1792
- l.isNoData ? (o(), k(Ue, { key: 1 })) : (o(), i("table", Yn, [
1793
- r("thead", Zn, [
1794
- r("tr", er, [
1795
- (o(!0), i(C, null, V(l.columns, (p) => (o(), k(E, {
1791
+ l("div", Xn, [
1792
+ r.isNoData ? (o(), k(Ue, { key: 1 })) : (o(), i("table", Yn, [
1793
+ l("thead", Zn, [
1794
+ l("tr", el, [
1795
+ (o(!0), i(C, null, V(r.columns, (p) => (o(), k(E, {
1796
1796
  key: p.name,
1797
1797
  style: Fe({
1798
- width: l.rowWidth(p == null ? void 0 : p.name),
1798
+ width: r.rowWidth(p == null ? void 0 : p.name),
1799
1799
  textAlign: p == null ? void 0 : p.align,
1800
1800
  wordBreak: p == null ? void 0 : p.wrap
1801
1801
  }),
1802
1802
  data: p,
1803
1803
  activeColumn: s.activeColumn,
1804
- onChangeActive: l.changeActiveColumn
1804
+ onChangeActive: r.changeActiveColumn
1805
1805
  }, null, 8, ["style", "data", "activeColumn", "onChangeActive"]))), 128)),
1806
- (he = (be = l.getActions) == null ? void 0 : be.filter(
1806
+ (he = (be = r.getActions) == null ? void 0 : be.filter(
1807
1807
  (p) => p !== "add" && p !== "view"
1808
- )) != null && he.length ? (o(), i("th", tr)) : v("", !0)
1808
+ )) != null && he.length ? (o(), i("th", tl)) : v("", !0)
1809
1809
  ])
1810
1810
  ]),
1811
- r("tbody", sr, [
1811
+ l("tbody", sl, [
1812
1812
  (o(!0), i(C, null, V((fe = s.tableData) == null ? void 0 : fe.rows, (p, We) => {
1813
1813
  var ve, _e, we, Ce, $e, Te, Ae, Se, Ie, De, Ve, Pe;
1814
1814
  return o(), i("tr", {
@@ -1817,43 +1817,43 @@ function cr(t, e, n, a, s, l) {
1817
1817
  "bg-gray-50": ((_e = (ve = t.$route) == null ? void 0 : ve.query) == null ? void 0 : _e.card) === (p == null ? void 0 : p.id)
1818
1818
  })
1819
1819
  }, [
1820
- r("td", {
1820
+ l("td", {
1821
1821
  class: S(["px-1 py-3 text-gray-600 pe-4", [
1822
- (we = l.columns[0]) != null && we.align ? `text-${((Ce = l.columns[0]) == null ? void 0 : Ce.align) || "left"}` : ""
1822
+ (we = r.columns[0]) != null && we.align ? `text-${((Ce = r.columns[0]) == null ? void 0 : Ce.align) || "left"}` : ""
1823
1823
  ]])
1824
1824
  }, [
1825
- r("button", {
1825
+ l("button", {
1826
1826
  onClick: (j) => {
1827
- l.pushToCard(p == null ? void 0 : p.id), l.pushToLinkCard(l.columns[0], p);
1827
+ r.pushToCard(p == null ? void 0 : p.id), r.pushToLinkCard(r.columns[0], p);
1828
1828
  },
1829
1829
  class: S(["font-medium", [
1830
- ...l.getCustomStyles(l.columns[0]),
1830
+ ...r.getCustomStyles(r.columns[0]),
1831
1831
  (($e = this.tableData) == null ? void 0 : $e.card) === !1 ? "" : " text-blue-600 decoration-2 focus:outline-none focus:underline hover:text-blue-600 hover:underline"
1832
1832
  ]])
1833
1833
  }, [
1834
1834
  g(H, {
1835
1835
  row: p,
1836
- column: l.columns[0],
1836
+ column: r.columns[0],
1837
1837
  table: n.table,
1838
- onUpdateTable: l.getTableData
1838
+ onUpdateTable: r.getTableData
1839
1839
  }, null, 8, ["row", "column", "table", "onUpdateTable"])
1840
- ], 10, nr)
1840
+ ], 10, nl)
1841
1841
  ], 2),
1842
- (o(!0), i(C, null, V((Te = l.columns) == null ? void 0 : Te.slice(1), (j) => (o(), i("td", {
1843
- onClick: (mr) => {
1844
- l.changeActiveCardInfo(p == null ? void 0 : p.id), l.pushToLinkCard(j, p);
1842
+ (o(!0), i(C, null, V((Te = r.columns) == null ? void 0 : Te.slice(1), (j) => (o(), i("td", {
1843
+ onClick: (ml) => {
1844
+ r.changeActiveCardInfo(p == null ? void 0 : p.id), r.pushToLinkCard(j, p);
1845
1845
  },
1846
- class: S(["px-1 py-3 text-gray-600 pe-3", l.getCustomStyles(j)]),
1846
+ class: S(["px-1 py-3 text-gray-600 pe-3", r.getCustomStyles(j)]),
1847
1847
  key: j.name
1848
1848
  }, [
1849
1849
  g(H, {
1850
1850
  row: p,
1851
1851
  column: j,
1852
1852
  table: n.table,
1853
- onUpdateTable: l.getTableData
1853
+ onUpdateTable: r.getTableData
1854
1854
  }, null, 8, ["row", "column", "table", "onUpdateTable"])
1855
- ], 10, rr))), 128)),
1856
- (Se = (Ae = l.getActions) == null ? void 0 : Ae.filter(
1855
+ ], 10, ll))), 128)),
1856
+ (Se = (Ae = r.getActions) == null ? void 0 : Ae.filter(
1857
1857
  (j) => j !== "add" && j !== "view"
1858
1858
  )) != null && Se.length ? (o(), i("td", {
1859
1859
  key: 0,
@@ -1863,40 +1863,40 @@ function cr(t, e, n, a, s, l) {
1863
1863
  }])
1864
1864
  }, [
1865
1865
  g(Be, {
1866
- actions: l.getActions,
1867
- isForm: l.isForm,
1866
+ actions: r.getActions,
1867
+ isForm: r.isForm,
1868
1868
  item: p,
1869
1869
  table: n.table,
1870
- onUpdateTable: l.getTableData
1870
+ onUpdateTable: r.getTableData
1871
1871
  }, null, 8, ["actions", "isForm", "item", "table", "onUpdateTable"])
1872
1872
  ], 2)) : v("", !0)
1873
1873
  ], 2);
1874
1874
  }), 128))
1875
1875
  ]),
1876
1876
  g(Ne, {
1877
- columns: l.columns,
1877
+ columns: r.columns,
1878
1878
  agg: (me = s.tableData) == null ? void 0 : me.agg
1879
1879
  }, null, 8, ["columns", "agg"])
1880
1880
  ]))
1881
1881
  ])
1882
1882
  ], 4)
1883
1883
  ], 2),
1884
- r("div", lr, [
1885
- r("div", or, [
1886
- r("p", ar, [
1887
- r("span", ir, [
1884
+ l("div", rl, [
1885
+ l("div", ol, [
1886
+ l("p", al, [
1887
+ l("span", il, [
1888
1888
  P(T(s.filters || s.searchValue ? "Відображено" : "Об'єктів") + " " + T(((ge = s.tableData) == null ? void 0 : ge.count) || "0 ") + " ", 1),
1889
- s.filters || s.searchValue ? (o(), i("span", dr, " з")) : v("", !0)
1889
+ s.filters || s.searchValue ? (o(), i("span", dl, " з")) : v("", !0)
1890
1890
  ]),
1891
- s.filters || s.searchValue ? (o(), i("span", ur, T(" " + ((xe = s.tableData) == null ? void 0 : xe.filtered) || 0), 1)) : v("", !0)
1891
+ s.filters || s.searchValue ? (o(), i("span", ul, T(" " + ((xe = s.tableData) == null ? void 0 : xe.filtered) || 0), 1)) : v("", !0)
1892
1892
  ])
1893
1893
  ]),
1894
1894
  Math.ceil(((ye = s.tableData) == null ? void 0 : ye.filtered) / s.limit) > 1 ? (o(), k(Ee, {
1895
1895
  key: 0,
1896
1896
  class: "justify-end",
1897
- "default-page": parseInt(l.defaultPage),
1897
+ "default-page": parseInt(r.defaultPage),
1898
1898
  total: ((ke = s.tableData) == null ? void 0 : ke.filtered) || 0,
1899
- onPageChange: l.handlePageChange,
1899
+ onPageChange: r.handlePageChange,
1900
1900
  pageSize: parseInt(s.limit),
1901
1901
  pageSizes: [10, 20, 50, 100]
1902
1902
  }, null, 8, ["default-page", "total", "onPageChange", "pageSize"])) : v("", !0)
@@ -1910,7 +1910,7 @@ function cr(t, e, n, a, s, l) {
1910
1910
  key: 0,
1911
1911
  table: n.table,
1912
1912
  columns: (p = s.tableData) == null ? void 0 : p.columns,
1913
- row: l.activeCardRow
1913
+ row: r.activeCardRow
1914
1914
  }, null, 8, ["table", "columns", "row"])) : v("", !0)
1915
1915
  ];
1916
1916
  }),
@@ -1921,8 +1921,8 @@ function cr(t, e, n, a, s, l) {
1921
1921
  ])
1922
1922
  ]);
1923
1923
  }
1924
- const pr = /* @__PURE__ */ $(En, [["render", cr], ["__scopeId", "data-v-87a0d788"]]), br = {
1925
- components: { AdminTable: pr },
1924
+ const pl = /* @__PURE__ */ $(En, [["render", cl], ["__scopeId", "data-v-87a0d788"]]), bl = {
1925
+ components: { AdminTable: pl },
1926
1926
  data() {
1927
1927
  return {
1928
1928
  table: !1,
@@ -1957,9 +1957,9 @@ const pr = /* @__PURE__ */ $(En, [["render", cr], ["__scopeId", "data-v-87a0d788
1957
1957
  var a, s;
1958
1958
  const t = this.flattenMenu(je.value);
1959
1959
  t != null && t.length || this.$router.replace("/404");
1960
- const e = t == null ? void 0 : t.find((l) => {
1960
+ const e = t == null ? void 0 : t.find((r) => {
1961
1961
  var c, f;
1962
- return (l == null ? void 0 : l.path) == ((f = (c = this.$route) == null ? void 0 : c.params) == null ? void 0 : f.catchAll);
1962
+ return (r == null ? void 0 : r.path) == ((f = (c = this.$route) == null ? void 0 : c.params) == null ? void 0 : f.catchAll);
1963
1963
  });
1964
1964
  this.title = e == null ? void 0 : e.ua, e || this.$router.replace("/404"), e != null && e.component && this.$router.replace((s = (a = this.$route) == null ? void 0 : a.params) == null ? void 0 : s.catchAll);
1965
1965
  const n = e == null ? void 0 : e.table;
@@ -1977,8 +1977,8 @@ const pr = /* @__PURE__ */ $(En, [["render", cr], ["__scopeId", "data-v-87a0d788
1977
1977
  }
1978
1978
  }
1979
1979
  }
1980
- }, hr = ["innerHTML"];
1981
- function fr(t, e, n, a, s, l) {
1980
+ }, hl = ["innerHTML"];
1981
+ function fl(t, e, n, a, s, r) {
1982
1982
  const c = b("AdminTable");
1983
1983
  return s.table ? (o(), k(c, {
1984
1984
  key: 0,
@@ -1989,9 +1989,9 @@ function fr(t, e, n, a, s, l) {
1989
1989
  class: "w-full bg-gray-50",
1990
1990
  style: { height: "calc(100vh - 120px)" },
1991
1991
  innerHTML: s.interface
1992
- }, null, 8, hr));
1992
+ }, null, 8, hl));
1993
1993
  }
1994
- const yr = /* @__PURE__ */ $(br, [["render", fr]]);
1994
+ const yl = /* @__PURE__ */ $(bl, [["render", fl]]);
1995
1995
  export {
1996
- yr as default
1996
+ yl as default
1997
1997
  };