@opengis/admin 0.2.75 → 0.2.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/README.md +97 -97
  2. package/config.js +4 -4
  3. package/dist/{add-page-du20O7zl.js → add-page-CvuHKEfS.js} +1 -1
  4. package/dist/{admin-interface-CmyMYxWI.js → admin-interface-BC09_rBa.js} +78 -75
  5. package/dist/{admin-view-GBWoQx4Y.js → admin-view-DMkq08PE.js} +6 -6
  6. package/dist/admin.js +1 -1
  7. package/dist/admin.umd.cjs +50 -50
  8. package/dist/assets/logo.svg +41 -41
  9. package/dist/{card-view-BdUQnI68.js → card-view-DDBcqfBn.js} +1 -1
  10. package/dist/{edit-page-FEq7avIc.js → edit-page-BXM3uZ2t.js} +1 -1
  11. package/dist/{import-file-BQ-sGZF2.js → import-file-1dZxkOgs.js} +7950 -7928
  12. package/dist/style.css +1 -1
  13. package/module/settings/card/admin.accounts.table/index.yml +7 -7
  14. package/module/settings/card/admin.accounts.table/rules.hbs +18 -18
  15. package/module/settings/card/admin.accounts.table/users.hbs +13 -13
  16. package/module/settings/card/admin.routes.table/groups.hbs +11 -11
  17. package/module/settings/card/admin.routes.table/index.yml +11 -11
  18. package/module/settings/card/admin.routes.table/users.hbs +16 -16
  19. package/module/settings/cls/core.actions.json +17 -17
  20. package/module/settings/cls/core.scope.json +13 -13
  21. package/module/settings/cls/properties.site_status.json +13 -13
  22. package/module/settings/cls/properties.widget_status.json +13 -13
  23. package/module/settings/cls/users.user_type.json +13 -13
  24. package/module/settings/cls/yes_no.json +11 -11
  25. package/module/settings/form/admin.accounts.form.json +13 -13
  26. package/module/settings/form/admin.properties.form.json +15 -15
  27. package/module/settings/form/admin.roles.form.json +21 -21
  28. package/module/settings/form/admin.user_properties.form.json +15 -15
  29. package/module/settings/form/admin.user_roles_card.form.json +13 -13
  30. package/module/settings/interface/admin.properties.json +4 -4
  31. package/module/settings/interface/admin.roles.json +4 -4
  32. package/module/settings/interface/admin.routes.json +4 -4
  33. package/module/settings/interface/admin.users.json +4 -4
  34. package/module/settings/select/core.routes.sql +1 -1
  35. package/module/settings/select/core.user_mentioned.sql +1 -1
  36. package/module/settings/select/core.user_uid.sql +1 -1
  37. package/module/settings/table/admin.properties.table.json +39 -39
  38. package/module/settings/table/admin.user_properties.table.json +34 -34
  39. package/package.json +1 -1
  40. package/plugin.js +29 -29
  41. package/server/helpers/core/badge.js +16 -16
  42. package/server/helpers/core/buttonHelper.js +21 -21
  43. package/server/helpers/core/select.js +48 -48
  44. package/server/helpers/core/token.js +18 -18
  45. package/server/helpers/index.js +31 -31
  46. package/server/helpers/list/buttonHelper.js +21 -21
  47. package/server/helpers/list/utils/button.js +5 -5
  48. package/server/helpers/temp/contentList.js +58 -58
  49. package/server/helpers/temp/ifCond.js +101 -101
  50. package/server/helpers/utils/button.js +5 -5
  51. package/server/plugins/access/index.mjs +6 -6
  52. package/server/plugins/adminHook.js +81 -81
  53. package/server/plugins/cron.js +10 -10
  54. package/server/plugins/docs.js +28 -28
  55. package/server/plugins/vite.js +71 -71
  56. package/server/routes/access/controllers/access.group.js +29 -29
  57. package/server/routes/access/controllers/access.group.post.js +49 -49
  58. package/server/routes/access/index.mjs +11 -11
  59. package/server/routes/access/schema.mjs +67 -67
  60. package/server/routes/calendar/controllers/calendar.data.js +125 -125
  61. package/server/routes/calendar/index.mjs +7 -7
  62. package/server/routes/calendar/schema.js +21 -21
  63. package/server/routes/data/controllers/cardData.js +106 -106
  64. package/server/routes/data/controllers/cardTabData.js +49 -49
  65. package/server/routes/data/controllers/funcs/getFilterSQL/index.js +92 -92
  66. package/server/routes/data/controllers/funcs/getFilterSQL/util/formatValue.js +170 -170
  67. package/server/routes/data/controllers/funcs/getFilterSQL/util/getCustomQuery.js +13 -13
  68. package/server/routes/data/controllers/funcs/getFilterSQL/util/getFilterQuery.js +64 -64
  69. package/server/routes/data/controllers/funcs/getFilterSQL/util/getOptimizedQuery.js +12 -12
  70. package/server/routes/data/controllers/funcs/getFilterSQL/util/getTableSql.js +34 -34
  71. package/server/routes/data/controllers/tableData.js +29 -29
  72. package/server/routes/data/controllers/tableDataId.js +27 -27
  73. package/server/routes/data/controllers/tableFilter.js +82 -82
  74. package/server/routes/data/controllers/tokenInfo.js +9 -9
  75. package/server/routes/data/controllers/utils/assignTokens.js +30 -30
  76. package/server/routes/data/controllers/utils/conditions.js +20 -20
  77. package/server/routes/data/controllers/utils/getColumns.js +8 -8
  78. package/server/routes/data/index.mjs +20 -20
  79. package/server/routes/data/schema.js +54 -54
  80. package/server/routes/menu/index.mjs +5 -5
  81. package/server/routes/notifications/controllers/readNotifications.js +27 -27
  82. package/server/routes/notifications/controllers/testEmail.js +35 -35
  83. package/server/routes/notifications/controllers/userNotifications.js +53 -53
  84. package/server/routes/notifications/funcs/addNotification.js +21 -21
  85. package/server/routes/notifications/funcs/sendNotification.js +92 -92
  86. package/server/routes/notifications/hook/onWidgetSet.js +57 -57
  87. package/server/routes/notifications/index.mjs +27 -27
  88. package/server/routes/notifications/schema.js +16 -16
  89. package/server/routes/print/controllers/cardPrint.js +130 -130
  90. package/server/routes/properties/controllers/admin.properties.get.js +29 -29
  91. package/server/routes/properties/controllers/user.properties.get.js +30 -30
  92. package/server/routes/properties/controllers/user.properties.post.js +30 -30
  93. package/server/routes/properties/funcs/getSettings.js +56 -56
  94. package/server/routes/properties/funcs/setSettings.js +44 -44
  95. package/server/routes/properties/funcs/utils/dataInsert.js +26 -26
  96. package/server/routes/properties/index.mjs +14 -14
  97. package/server/routes/properties/schema.js +10 -10
  98. package/server/routes/root.mjs +3 -3
  99. package/server/routes/templates/controllers/getTemplate.js +49 -49
  100. package/server/routes/templates/index.mjs +16 -16
  101. package/server/routes/templates/schema.js +8 -8
  102. package/server/routes/user/controllers/user.cls.id.js +14 -14
  103. package/server/routes/user/controllers/user.cls.js +71 -71
  104. package/server/routes/user/controllers/user.info.js +17 -17
  105. package/server/routes/user/schema.js +14 -14
  106. package/server/routes/widget/controllers/utils/obj2db.js +13 -13
  107. package/server/routes/widget/controllers/widget.del.js +47 -47
  108. package/server/routes/widget/controllers/widget.get.js +98 -98
  109. package/server/routes/widget/controllers/widget.set.js +76 -76
  110. package/server/routes/widget/index.mjs +11 -11
  111. package/server/routes/widget/schema.js +12 -12
  112. package/server/templates/cls/itree.recrzone_category.json +73 -73
  113. package/server/templates/cls/test.json +9 -9
  114. package/server/templates/form/admin.user_cls.data.form.json +49 -49
  115. package/server/templates/form/admin.user_group_rel.form.json +21 -21
  116. package/server/templates/form/cp_building.form.json +32 -32
  117. package/server/templates/form/form-user-pass.json +10 -10
  118. package/server/templates/form/form-user_group.json +39 -39
  119. package/server/templates/form/form-users.json +156 -156
  120. package/server/templates/form/user_group_access.form.json +22 -22
  121. package/server/templates/select/account_id.json +2 -2
  122. package/server/templates/table/gis.dataset.table.json +43 -43
  123. package/server/templates/table/management.user_group.table.json +112 -112
  124. package/server/templates/table/management.users.table.json +126 -126
  125. package/utils.js +29 -29
@@ -1,5 +1,5 @@
1
- import { _ as w, f as Be, g as Oe, h as Ne, e as j, I as Ue, i as De, j as N, A as U, V as Ee, k as He, l as Re, m as We, n as Je, o as Ge, a as Ke, p as Qe, u as Ie, s as Xe } from "./import-file-BQ-sGZF2.js";
2
- import { openBlock as r, createElementBlock as i, createTextVNode as P, toDisplayString as A, createElementVNode as l, normalizeClass as I, createCommentVNode as v, resolveComponent as p, Fragment as T, createVNode as x, withCtx as S, createBlock as k, renderList as D, withModifiers as Ye, createStaticVNode as Ze, withDirectives as L, vModelCheckbox as et, Transition as z, vModelText as tt, renderSlot as st, vShow as E, Teleport as nt, getCurrentInstance as Pe, ref as B, resolveDynamicComponent as O, defineComponent as lt, normalizeStyle as Ve } from "vue";
1
+ import { _ as w, f as Be, g as Oe, h as Ne, e as j, I as Ue, i as De, j as N, A as U, V as Ee, k as He, l as Re, m as We, n as Je, o as Ge, a as Ke, p as Qe, u as Ie, s as Xe } from "./import-file-1dZxkOgs.js";
2
+ import { openBlock as r, createElementBlock as i, createTextVNode as P, toDisplayString as T, createElementVNode as l, normalizeClass as I, createCommentVNode as v, resolveComponent as p, Fragment as A, createVNode as x, withCtx as S, createBlock as k, renderList as D, withModifiers as Ye, createStaticVNode as Ze, withDirectives as M, vModelCheckbox as et, Transition as z, vModelText as tt, renderSlot as st, vShow as E, Teleport as nt, getCurrentInstance as Pe, ref as B, resolveDynamicComponent as O, defineComponent as lt, normalizeStyle as Ve } from "vue";
3
3
  const rt = {
4
4
  data() {
5
5
  return {
@@ -73,7 +73,7 @@ function dt(t, e, s, a, n, o) {
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
74
  onClick: e[0] || (e[0] = (u) => o.handleClickSortBtn(n.currentSort))
75
75
  }, [
76
- P(A(o.label) + " ", 1),
76
+ P(T(o.label) + " ", 1),
77
77
  l("span", at, [
78
78
  n.currentSort ? (r(), i("svg", {
79
79
  key: 0,
@@ -92,7 +92,7 @@ function dt(t, e, s, a, n, o) {
92
92
  l("path", { d: "M12 19V5" }, null, -1)
93
93
  ]), 2)) : v("", !0)
94
94
  ])
95
- ])) : (r(), i("p", it, A(o.label), 1))
95
+ ])) : (r(), i("p", it, T(o.label), 1))
96
96
  ]);
97
97
  }
98
98
  const ut = /* @__PURE__ */ w(rt, [["render", dt]]), ct = {
@@ -184,7 +184,7 @@ const ut = /* @__PURE__ */ w(rt, [["render", dt]]), ct = {
184
184
  }, xt = { class: "flex justify-end p-[16px] pr-0 gap-x-3" };
185
185
  function yt(t, e, s, a, n, o) {
186
186
  const u = p("IconMore"), f = p("IconEdit"), h = p("router-link"), b = p("IconDelete"), d = p("VsPopover"), _ = p("VsConfirm");
187
- return r(), i(T, null, [
187
+ return r(), i(A, null, [
188
188
  l("div", pt, [
189
189
  x(d, {
190
190
  trigger: "click",
@@ -213,13 +213,13 @@ function yt(t, e, s, a, n, o) {
213
213
  ]),
214
214
  _: 1
215
215
  }, 8, ["to"])) : v("", !0),
216
- (r(!0), i(T, null, D(o.getCustomActions, (V, M) => (r(), i("button", {
217
- key: M,
216
+ (r(!0), i(A, null, D(o.getCustomActions, (V, L) => (r(), i("button", {
217
+ key: L,
218
218
  onClick: (q) => o.customButtonAction(V),
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
  x(b, { class: "opacity-0" }),
222
- l("span", gt, A(V == null ? void 0 : V.label), 1)
222
+ l("span", gt, T(V == null ? void 0 : V.label), 1)
223
223
  ], 8, ft))), 128)),
224
224
  s.isForm ? (r(), i("div", mt)) : v("", !0),
225
225
  ($ = s.actions) != null && $.includes("del") ? (r(), i("button", {
@@ -279,7 +279,7 @@ function Ct(t, e, s, a, n, o) {
279
279
  l("path", { d: "M17 4v16" }, null, -1)
280
280
  ]));
281
281
  }
282
- const wt = /* @__PURE__ */ w(vt, [["render", Ct]]), $t = {}, At = {
282
+ const wt = /* @__PURE__ */ w(vt, [["render", Ct]]), $t = {}, Tt = {
283
283
  xmlns: "http://www.w3.org/2000/svg",
284
284
  width: "24",
285
285
  height: "24",
@@ -291,8 +291,8 @@ const wt = /* @__PURE__ */ w(vt, [["render", Ct]]), $t = {}, At = {
291
291
  "stroke-linejoin": "round",
292
292
  class: "icon icon-tabler icons-tabler-outline icon-tabler-rosette-discount-check"
293
293
  };
294
- function Tt(t, e, s, a, n, o) {
295
- return r(), i("svg", At, e[0] || (e[0] = [
294
+ function At(t, e, s, a, n, o) {
295
+ return r(), i("svg", Tt, e[0] || (e[0] = [
296
296
  l("path", {
297
297
  stroke: "none",
298
298
  d: "M0 0h24v24H0z",
@@ -302,7 +302,7 @@ function Tt(t, e, s, a, n, o) {
302
302
  l("path", { d: "M9 12l2 2l4 -4" }, null, -1)
303
303
  ]));
304
304
  }
305
- const St = /* @__PURE__ */ w($t, [["render", Tt]]), It = {
305
+ const St = /* @__PURE__ */ w($t, [["render", At]]), It = {
306
306
  components: { IconExport: wt, IconChevronDown: Ue, IconSuccess: St },
307
307
  props: {
308
308
  table: String,
@@ -411,10 +411,10 @@ const St = /* @__PURE__ */ w($t, [["render", Tt]]), It = {
411
411
  }, Dt = {
412
412
  key: 1,
413
413
  class: "p-4"
414
- }, Pt = { class: "pb-5 mb-5 border-b border-gray-200 last:pb-0 last:mb-0 last:border-b-0 dark:border-neutral-700" }, Ft = { class: "flex items-center gap-[10px] -ml-[10px] my-[10px]" }, jt = ["onClick"], Mt = {
414
+ }, Pt = { class: "pb-5 mb-5 border-b border-gray-200 last:pb-0 last:mb-0 last:border-b-0 dark:border-neutral-700" }, Ft = { class: "flex items-center gap-[10px] -ml-[10px] my-[10px]" }, jt = ["onClick"], Lt = {
415
415
  key: 0,
416
416
  class: "block h-[8px] w-[8px] rounded-full bg-blue-500"
417
- }, Lt = { class: "mt-2 flex row flex-wrap gap-y-[5px] gap-x-[10px]" }, zt = { class: "pb-5 mb-5 border-b border-gray-200 last:pb-0 last:mb-0 last:border-b-0 dark:border-neutral-700" }, qt = { class: "mt-2 space-y-2" }, Bt = ["id", "onChange"], Ot = ["for"], Nt = {
417
+ }, Mt = { class: "mt-2 flex row flex-wrap gap-y-[5px] gap-x-[10px]" }, zt = { class: "pb-5 mb-5 border-b border-gray-200 last:pb-0 last:mb-0 last:border-b-0 dark:border-neutral-700" }, qt = { class: "mt-2 space-y-2" }, Bt = ["id", "onChange"], Ot = ["for"], Nt = {
418
418
  key: 0,
419
419
  class: "flex w-full justify-end p-[20px] gap-[6px] border-t"
420
420
  }, Ut = {
@@ -423,7 +423,7 @@ const St = /* @__PURE__ */ w($t, [["render", Tt]]), It = {
423
423
  };
424
424
  function Et(t, e, s, a, n, o) {
425
425
  const u = p("IconExport"), f = p("IconSuccess"), h = p("VsCheckbox"), b = p("VsDialog");
426
- return r(), i(T, null, [
426
+ return r(), i(A, null, [
427
427
  l("button", {
428
428
  onClick: e[0] || (e[0] = (d) => n.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"
@@ -478,7 +478,7 @@ function Et(t, e, s, a, n, o) {
478
478
  l("div", Pt, [
479
479
  e[9] || (e[9] = l("h2", { class: "text-sm font-[600] text-gray-500" }, " Виберіть стовпці таблиці для експорту: ", -1)),
480
480
  l("div", Ft, [
481
- (r(!0), i(T, null, D(n.actions, (d) => (r(), i("button", {
481
+ (r(!0), i(A, null, D(n.actions, (d) => (r(), i("button", {
482
482
  key: d == null ? void 0 : d.name,
483
483
  onClick: d == null ? void 0 : d.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"
@@ -486,13 +486,13 @@ function Et(t, e, s, a, n, o) {
486
486
  l("span", {
487
487
  class: I(["h-[14px] w-[14px] border rounded-full flex items-center justify-center", { "border-blue-500": (d == null ? void 0 : d.name) === n.activeAction }])
488
488
  }, [
489
- (d == null ? void 0 : d.name) === n.activeAction ? (r(), i("span", Mt)) : v("", !0)
489
+ (d == null ? void 0 : d.name) === n.activeAction ? (r(), i("span", Lt)) : v("", !0)
490
490
  ], 2),
491
- P(" " + A(d == null ? void 0 : d.label), 1)
491
+ P(" " + T(d == null ? void 0 : d.label), 1)
492
492
  ], 8, jt))), 128))
493
493
  ]),
494
- l("div", Lt, [
495
- (r(!0), i(T, null, D(s.columns, (d, _) => (r(), i("div", {
494
+ l("div", Mt, [
495
+ (r(!0), i(A, null, D(s.columns, (d, _) => (r(), i("div", {
496
496
  class: "flex items-center",
497
497
  key: _,
498
498
  style: { width: "calc((100% - 10px) / 2)" }
@@ -510,7 +510,7 @@ function Et(t, e, s, a, n, o) {
510
510
  l("div", zt, [
511
511
  e[10] || (e[10] = l("h2", { class: "text-sm font-[600] text-gray-500" }, "Виберіть формат таблиці:", -1)),
512
512
  l("div", qt, [
513
- (r(!0), i(T, null, D(n.tableFormats, (d, _) => (r(), i("div", {
513
+ (r(!0), i(A, null, D(n.tableFormats, (d, _) => (r(), i("div", {
514
514
  class: "flex items-center",
515
515
  key: _
516
516
  }, [
@@ -524,7 +524,7 @@ function Et(t, e, s, a, n, o) {
524
524
  l("label", {
525
525
  for: d,
526
526
  class: "text-sm text-gray-800 ms-3 dark:text-neutral-400"
527
- }, " Формат " + A(d), 9, Ot)
527
+ }, " Формат " + T(d), 9, Ot)
528
528
  ]))), 128))
529
529
  ])
530
530
  ])
@@ -575,8 +575,8 @@ function Yt(t, e, s, a, n, o) {
575
575
  const u = p("IconCheck2");
576
576
  return r(), i("div", Qt, [
577
577
  l("label", Xt, [
578
- P(A(((f = s.column) == null ? void 0 : f.ua) || ((h = s.column) == null ? void 0 : h.title)) + " ", 1),
579
- L(l("input", {
578
+ P(T(((f = s.column) == null ? void 0 : f.ua) || ((h = s.column) == null ? void 0 : h.title)) + " ", 1),
579
+ M(l("input", {
580
580
  type: "checkbox",
581
581
  "onUpdate:modelValue": e[0] || (e[0] = (b) => n.value = b),
582
582
  class: "hidden"
@@ -663,7 +663,7 @@ function is(t, e, s, a, n, o) {
663
663
  n.visible ? (r(), i("div", ss, [
664
664
  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)),
665
665
  l("div", ns, [
666
- L(l("input", {
666
+ M(l("input", {
667
667
  "onUpdate:modelValue": e[1] || (e[1] = (d) => n.searchValue = d),
668
668
  type: "text",
669
669
  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",
@@ -676,7 +676,7 @@ function is(t, e, s, a, n, o) {
676
676
  l("div", ls, [
677
677
  (h = o.filteredColumn) != null && h.length ? (r(), i("span", rs, " Оберіть колонки для відображення ")) : v("", !0),
678
678
  l("div", os, [
679
- (b = o.filteredColumn) != null && b.length ? (r(!0), i(T, { key: 0 }, D(o.filteredColumn, (d, _) => (r(), k(f, {
679
+ (b = o.filteredColumn) != null && b.length ? (r(!0), i(A, { key: 0 }, D(o.filteredColumn, (d, _) => (r(), k(f, {
680
680
  key: _,
681
681
  column: d,
682
682
  onUpdateColumn: o.updateColumn
@@ -730,7 +730,7 @@ function ys(t, e, s, a, n, o) {
730
730
  onClick: e[0] || (e[0] = (h) => n.expanded = !n.expanded),
731
731
  class: "rounded-md cursor-pointer grow"
732
732
  }, [
733
- l("span", ms, A(s.title), 1)
733
+ l("span", ms, T(s.title), 1)
734
734
  ]),
735
735
  l("button", {
736
736
  class: "flex items-center justify-center rounded-md size-6 hover:bg-gray-100",
@@ -744,7 +744,7 @@ function ys(t, e, s, a, n, o) {
744
744
  ]),
745
745
  x(z, { name: "fade" }, {
746
746
  default: S(() => [
747
- L(l("div", xs, [
747
+ M(l("div", xs, [
748
748
  st(t.$slots, "default", {}, void 0, !0)
749
749
  ], 512), [
750
750
  [E, n.expanded]
@@ -756,7 +756,7 @@ function ys(t, e, s, a, n, o) {
756
756
  ])
757
757
  ]);
758
758
  }
759
- const ks = /* @__PURE__ */ w(bs, [["render", ys], ["__scopeId", "data-v-e1f274c9"]]), vs = {
759
+ const ks = /* @__PURE__ */ w(bs, [["render", ys], ["__scopeId", "data-v-c6318482"]]), vs = {
760
760
  components: {
761
761
  AdminComponentIs: U,
762
762
  AdminTree: ks,
@@ -772,7 +772,7 @@ const ks = /* @__PURE__ */ w(bs, [["render", ys], ["__scopeId", "data-v-e1f274c9
772
772
  }, Cs = {
773
773
  class: "border-l",
774
774
  style: { height: "calc(100vh - 360px)" }
775
- }, ws = { class: "flow-root mt-[10px]" }, $s = { class: "-my-3 text-sm divide-y divide-gray-100" }, As = { class: "flex py-3 sm:grid-cols-3 sm:gap-4" }, Ts = { class: "font-medium text-black w-[50%]" }, Ss = { class: "text-gray-700 sm:col-span-2 w-[50%]" }, Is = { class: "table-info-card" }, Vs = { class: "table-info-card" };
775
+ }, ws = { class: "flow-root mt-[10px]" }, $s = { class: "-my-3 text-sm divide-y divide-gray-100" }, Ts = { class: "flex py-3 sm:grid-cols-3 sm:gap-4" }, As = { class: "font-medium text-black w-[50%]" }, Ss = { class: "text-gray-700 sm:col-span-2 w-[50%]" }, Is = { class: "table-info-card" }, Vs = { class: "table-info-card" };
776
776
  function Ds(t, e, s, a, n, o) {
777
777
  var m, g, C;
778
778
  const u = p("AdminComponentIs"), f = p("AdminTree"), h = p("VsWidgetMap"), b = p("VsNoData"), d = p("VsWidgetComments"), _ = p("VsWidgetFileList");
@@ -781,7 +781,7 @@ function Ds(t, e, s, a, n, o) {
781
781
  l("h2", { class: "text-sm font-medium" }, "Інформація про об'єкт")
782
782
  ], -1)),
783
783
  l("div", Cs, [
784
- (g = (m = t.$route) == null ? void 0 : m.query) != null && g.card ? (r(), i(T, { key: 0 }, [
784
+ (g = (m = t.$route) == null ? void 0 : m.query) != null && g.card ? (r(), i(A, { key: 0 }, [
785
785
  s.row ? (r(), k(f, {
786
786
  key: 0,
787
787
  defaultValue: !0,
@@ -791,8 +791,8 @@ function Ds(t, e, s, a, n, o) {
791
791
  default: S(() => [
792
792
  l("div", ws, [
793
793
  l("dl", $s, [
794
- (r(!0), i(T, null, D(s.columns, (y) => (r(), i("div", As, [
795
- l("dt", Ts, A((y == null ? void 0 : y.ua) || (y == null ? void 0 : y.title)), 1),
794
+ (r(!0), i(A, null, D(s.columns, (y) => (r(), i("div", Ts, [
795
+ l("dt", As, T((y == null ? void 0 : y.ua) || (y == null ? void 0 : y.title)), 1),
796
796
  l("dd", Ss, [
797
797
  x(u, {
798
798
  row: s.row,
@@ -889,10 +889,10 @@ const Ps = /* @__PURE__ */ w(vs, [["render", Ds]]), Fs = {
889
889
  }, js = {
890
890
  key: 0,
891
891
  class: "px-[7px] text-[10px] py-[1px] font-[700] text-white bg-blue-500 rounded-full"
892
- }, Ms = { 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" };
893
- function Ls(t, e, s, a, n, o) {
892
+ }, Ls = { 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" };
893
+ function Ms(t, e, s, a, n, o) {
894
894
  const u = p("IconFilter"), f = p("VsFilter");
895
- return r(), i(T, null, [
895
+ return r(), i(A, null, [
896
896
  l("button", {
897
897
  onClick: e[0] || (e[0] = (h) => n.isFilters = !n.isFilters),
898
898
  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"
@@ -902,19 +902,19 @@ function Ls(t, e, s, a, n, o) {
902
902
  width: "16"
903
903
  }),
904
904
  e[4] || (e[4] = P(" Фільтри ")),
905
- s.onFilters ? (r(), i("span", js, A(s.onFilters), 1)) : v("", !0)
905
+ s.onFilters ? (r(), i("span", js, T(s.onFilters), 1)) : v("", !0)
906
906
  ]),
907
907
  x(z, { name: "fade" }, {
908
908
  default: S(() => {
909
909
  var h;
910
910
  return [
911
911
  (r(), k(nt, { to: "#modal" }, [
912
- L(l("div", {
912
+ M(l("div", {
913
913
  onClick: e[3] || (e[3] = (...b) => o.closeFilter && o.closeFilter(...b)),
914
914
  style: { height: "100vh" },
915
915
  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)]"
916
916
  }, [
917
- l("div", Ms, [
917
+ l("div", Ls, [
918
918
  (h = s.scheme) != null && h.length ? (r(), k(f, {
919
919
  key: 0,
920
920
  ref: "filter",
@@ -941,7 +941,7 @@ function Ls(t, e, s, a, n, o) {
941
941
  })
942
942
  ], 64);
943
943
  }
944
- const zs = /* @__PURE__ */ w(Fs, [["render", Ls]]), qs = {
944
+ const zs = /* @__PURE__ */ w(Fs, [["render", Ms]]), qs = {
945
945
  props: { tabsList: { type: Array, default: () => [] }, filterState: String }
946
946
  }, Bs = {
947
947
  class: "relative flex space-x-1 mb-[20px] after:absolute after:w-[99%] after:bottom-0 after:inset-x-0 after:border-b-2 after:border-gray-200 dark:after:border-neutral-700",
@@ -951,12 +951,12 @@ const zs = /* @__PURE__ */ w(Fs, [["render", Ls]]), qs = {
951
951
  }, Os = ["onClick"];
952
952
  function Ns(t, e, s, a, n, o) {
953
953
  return r(), i("nav", Bs, [
954
- (r(!0), i(T, null, D(s.tabsList, (u) => (r(), i("button", {
954
+ (r(!0), i(A, null, D(s.tabsList, (u) => (r(), i("button", {
955
955
  onClick: (f) => t.$emit("update:filterState", u == null ? void 0 : u.name),
956
956
  class: I(["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", {
957
957
  " 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": (u == null ? void 0 : u.name) === s.filterState
958
958
  }])
959
- }, A(u == null ? void 0 : u.label), 11, Os))), 256))
959
+ }, T(u == null ? void 0 : u.label), 11, Os))), 256))
960
960
  ]);
961
961
  }
962
962
  const Us = /* @__PURE__ */ w(qs, [["render", Ns]]), Es = {}, Hs = {
@@ -999,7 +999,7 @@ function Ys(t, e, s, a, n, o) {
999
999
  ]),
1000
1000
  default: S(() => [
1001
1001
  l("div", Ks, [
1002
- (r(!0), i(T, null, D(s.customList, (b, d) => (r(), i("button", {
1002
+ (r(!0), i(A, null, D(s.customList, (b, d) => (r(), i("button", {
1003
1003
  onClick: (_) => {
1004
1004
  var m;
1005
1005
  t.$emit("update:filterCustom", b == null ? void 0 : b.name), (m = t.$refs) == null || m.popover.togglePopover();
@@ -1007,7 +1007,7 @@ function Ys(t, e, s, a, n, o) {
1007
1007
  key: d,
1008
1008
  class: I(["flex items-center px-3 py-1 rounded-md cursor-pointer group hover:bg-gray-100", { "bg-gray-100": s.filterCustom === (b == null ? void 0 : b.name) }])
1009
1009
  }, [
1010
- l("span", Xs, A(b == null ? void 0 : b.label), 1),
1010
+ l("span", Xs, T(b == null ? void 0 : b.label), 1),
1011
1011
  s.filterCustom === (b == null ? void 0 : b.name) ? (r(), k(f, {
1012
1012
  key: 0,
1013
1013
  class: "ml-auto size-3 shrink-0"
@@ -1100,9 +1100,9 @@ const Zs = /* @__PURE__ */ w(Js, [["render", Ys]]), en = { class: "flex items-ce
1100
1100
  },
1101
1101
  setup(t) {
1102
1102
  return (e, s) => (r(), i("tr", null, [
1103
- (r(!0), i(T, null, D(t.columns, (a) => {
1103
+ (r(!0), i(A, null, D(t.columns, (a) => {
1104
1104
  var n;
1105
- return r(), i(T, {
1105
+ return r(), i(A, {
1106
1106
  key: a == null ? void 0 : a.name
1107
1107
  }, [
1108
1108
  (n = t.agg) != null && n[a == null ? void 0 : a.name] ? (r(), i("td", ln, [
@@ -1262,9 +1262,9 @@ function wn(t, e, s, a, n, o) {
1262
1262
  contenteditable: "true",
1263
1263
  onBlur: e[1] || (e[1] = (h) => t.handleSetPage(h.target.innerText)),
1264
1264
  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"
1265
- }, A(t.page), 545),
1265
+ }, T(t.page), 545),
1266
1266
  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)),
1267
- l("span", yn, A(t.pagesCount), 1)
1267
+ l("span", yn, T(t.pagesCount), 1)
1268
1268
  ]),
1269
1269
  l("button", {
1270
1270
  type: "button",
@@ -1279,13 +1279,13 @@ function wn(t, e, s, a, n, o) {
1279
1279
  ], 2),
1280
1280
  t.pageSizes.length ? (r(), i("div", kn, [
1281
1281
  l("div", vn, [
1282
- L(l("div", _n, [
1283
- (r(!0), i(T, null, D(t.pageSizes, (h) => (r(), i("button", {
1282
+ M(l("div", _n, [
1283
+ (r(!0), i(A, null, D(t.pageSizes, (h) => (r(), i("button", {
1284
1284
  type: "button",
1285
1285
  class: "w-full flex items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm",
1286
1286
  onClick: (b) => t.pageSizeLocal = h
1287
1287
  }, [
1288
- P(A(h) + " ", 1),
1288
+ P(T(h) + " ", 1),
1289
1289
  h === t.pageSizeLocal ? (r(), k(f, {
1290
1290
  key: 0,
1291
1291
  width: "14",
@@ -1302,7 +1302,7 @@ function wn(t, e, s, a, n, o) {
1302
1302
  class: "text-sm h-[32px] min-w-8 py-3 px-3.5 inline-flex items-center gap-x-1 rounded-lg border border-gray-200 text-gray-800 shadow-sm hover:bg-gray-50 focus:outline-none focus:bg-gray-100 disabled:opacity-50 disabled:pointer-events-none dark:border-neutral-700 dark:text-white dark:hover:bg-neutral-700 dark:focus:bg-neutral-700",
1303
1303
  onClick: e[3] || (e[3] = (h) => t.isDropdownOpen = !t.isDropdownOpen)
1304
1304
  }, [
1305
- P(A(t.pageSizeLocal) + " ", 1),
1305
+ P(T(t.pageSizeLocal) + " ", 1),
1306
1306
  x(u, {
1307
1307
  height: "16",
1308
1308
  width: "16"
@@ -1312,7 +1312,7 @@ function wn(t, e, s, a, n, o) {
1312
1312
  ])) : v("", !0)
1313
1313
  ]);
1314
1314
  }
1315
- const $n = /* @__PURE__ */ w(gn, [["render", wn]]), An = {
1315
+ const $n = /* @__PURE__ */ w(gn, [["render", wn]]), Tn = {
1316
1316
  props: { table: String, title: String },
1317
1317
  components: {
1318
1318
  AdminTableControl: kt,
@@ -1351,7 +1351,10 @@ const $n = /* @__PURE__ */ w(gn, [["render", wn]]), An = {
1351
1351
  };
1352
1352
  },
1353
1353
  async mounted() {
1354
- await this.checkUrlMounted(), await this.getTableData(), await this.getFilters();
1354
+ await this.checkUrlMounted(), await this.getTableData(), await this.getFilters(), window.addEventListener("reloadTablePage", this.getTableData);
1355
+ },
1356
+ unmounted() {
1357
+ window.removeEventListener("reloadTablePage", this.getTableData);
1355
1358
  },
1356
1359
  computed: {
1357
1360
  defaultPage() {
@@ -1436,8 +1439,8 @@ const $n = /* @__PURE__ */ w(gn, [["render", wn]]), An = {
1436
1439
  },
1437
1440
  methods: {
1438
1441
  async checkUrlMounted() {
1439
- var t, e, s, a, n, o, u, f, h, b, d, _, m, g, C, y, $, V, M;
1440
- this.page = ((e = (t = this.$route) == null ? void 0 : t.query) == null ? void 0 : e.page) || 1, this.limit = ((a = (s = this.$route) == null ? void 0 : s.query) == null ? void 0 : a.limit) || 20, this.filters = ((u = decodeURI((o = (n = this.$route) == null ? void 0 : n.query) == null ? void 0 : o.filter)) == null ? void 0 : u.replaceAll("+", " ")) || null, this.filters && (this.onFilters = ((h = (f = this.filters) == null ? void 0 : f.split("=")) == null ? void 0 : h.length) - 1), this.filterState = ((d = (b = this.$route) == null ? void 0 : b.query) == null ? void 0 : d.filterState) || null, this.filterCustom = ((m = (_ = this.$route) == null ? void 0 : _.query) == null ? void 0 : m.custom) || null, this.searchValue = ((C = (g = this.$route) == null ? void 0 : g.query) == null ? void 0 : C.search) || "", this.visibleColumns = ((V = ($ = (y = this.$route) == null ? void 0 : y.query) == null ? void 0 : $.columns) == null ? void 0 : V.split(",")) || [], (M = this.$route) != null && M.query.card && (this.isVisibleCardInfo = !0);
1442
+ var t, e, s, a, n, o, u, f, h, b, d, _, m, g, C, y, $, V, L;
1443
+ this.page = ((e = (t = this.$route) == null ? void 0 : t.query) == null ? void 0 : e.page) || 1, this.limit = ((a = (s = this.$route) == null ? void 0 : s.query) == null ? void 0 : a.limit) || 20, this.filters = ((u = decodeURI((o = (n = this.$route) == null ? void 0 : n.query) == null ? void 0 : o.filter)) == null ? void 0 : u.replaceAll("+", " ")) || null, this.filters && (this.onFilters = ((h = (f = this.filters) == null ? void 0 : f.split("=")) == null ? void 0 : h.length) - 1), this.filterState = ((d = (b = this.$route) == null ? void 0 : b.query) == null ? void 0 : d.filterState) || null, this.filterCustom = ((m = (_ = this.$route) == null ? void 0 : _.query) == null ? void 0 : m.custom) || null, this.searchValue = ((C = (g = this.$route) == null ? void 0 : g.query) == null ? void 0 : C.search) || "", this.visibleColumns = ((V = ($ = (y = this.$route) == null ? void 0 : y.query) == null ? void 0 : $.columns) == null ? void 0 : V.split(",")) || [], (L = this.$route) != null && L.query.card && (this.isVisibleCardInfo = !0);
1441
1444
  },
1442
1445
  rowWidth(t) {
1443
1446
  var s, a;
@@ -1525,13 +1528,13 @@ const $n = /* @__PURE__ */ w(gn, [["render", wn]]), An = {
1525
1528
  ];
1526
1529
  }
1527
1530
  }
1528
- }, Tn = { class: "w-[calc(100vw - 320px)] bg-gray-50" }, Sn = { class: "h-[76px] mt-[15px] flex items-center justify-between mx-[20px] px-[20px] bg-white border rounded-xl" }, In = { class: "text-lg font-semibold text-gray-800 dark:text-neutral-200" }, Vn = {
1531
+ }, An = { class: "w-[calc(100vw - 320px)] bg-gray-50" }, Sn = { class: "h-[76px] mt-[15px] flex items-center justify-between mx-[20px] px-[20px] bg-white border rounded-xl" }, In = { class: "text-lg font-semibold text-gray-800 dark:text-neutral-200" }, Vn = {
1529
1532
  style: { height: "calc(100vh - 155px)" },
1530
1533
  class: "bg-gray-50 p-[20px] flex pt-[10px] lg:w-[calc(100vw-260px)] w-[100vw]"
1531
- }, Dn = { class: "bg-white w-full rounded-xl border p-[20px] pr-0" }, Pn = { class: "flex" }, Fn = { class: "flex gap-[6px] ml-auto" }, jn = { class: "inline-block w-full align-middle" }, Mn = {
1534
+ }, Dn = { class: "bg-white w-full rounded-xl border p-[20px] pr-0" }, Pn = { class: "flex" }, Fn = { class: "flex gap-[6px] ml-auto" }, jn = { class: "inline-block w-full align-middle" }, Ln = {
1532
1535
  key: 0,
1533
1536
  class: "relative min-w-full text-[13px] divide-y divide-gray-200 table-fixed w-max dark:divide-neutral-700"
1534
- }, Ln = { 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" }, zn = { class: "right-0" }, qn = {
1537
+ }, Mn = { 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" }, zn = { class: "right-0" }, qn = {
1535
1538
  key: 0,
1536
1539
  class: "w-[70px] sticky right-0 top-0"
1537
1540
  }, Bn = { class: "divide-y divide-gray-200 z-[1] relative" }, On = ["onClick"], Nn = ["onClick"], Un = { class: "p-[10px] flex justify-start items-center w-full" }, En = { class: "w-[200px] md:inline-flex hidden" }, Hn = { class: "text-sm text-gray-600 dark:text-neutral-400" }, Rn = { class: "font-semibold text-gray-800 dark:text-neutral-200" }, Wn = { key: 0 }, Jn = {
@@ -1540,11 +1543,11 @@ const $n = /* @__PURE__ */ w(gn, [["render", wn]]), An = {
1540
1543
  };
1541
1544
  function Gn(t, e, s, a, n, o) {
1542
1545
  var H, R, W, J, G, K, Q, X, Y, Z, ee, te, se, ne, le, re, oe, ae, ie, de, ue, ce, pe, he, be, fe, ge;
1543
- const u = p("AdminCustomButtonAdd"), f = p("IconPlus"), h = p("router-link"), b = p("AdminTableTabs"), d = p("IconSearch"), _ = p("VsText"), m = p("AdminTableCustomButtons"), g = p("AdminTableCustomFilters"), C = p("AdminTableColumnsHidden"), y = p("AdminTableExport"), $ = p("AdminTableFilters"), V = p("IconOpenCard"), M = p("AdminTableColumn"), q = p("AdminComponentIs"), Fe = p("AdminTableControl"), je = p("AdminTableTotalsList"), Me = p("AdminNodata"), Le = p("AdminTablePagination"), ze = p("AdminTableCardInfo");
1544
- return r(), i("div", Tn, [
1546
+ const u = p("AdminCustomButtonAdd"), f = p("IconPlus"), h = p("router-link"), b = p("AdminTableTabs"), d = p("IconSearch"), _ = p("VsText"), m = p("AdminTableCustomButtons"), g = p("AdminTableCustomFilters"), C = p("AdminTableColumnsHidden"), y = p("AdminTableExport"), $ = p("AdminTableFilters"), V = p("IconOpenCard"), L = p("AdminTableColumn"), q = p("AdminComponentIs"), Fe = p("AdminTableControl"), je = p("AdminTableTotalsList"), Le = p("AdminNodata"), Me = p("AdminTablePagination"), ze = p("AdminTableCardInfo");
1547
+ return r(), i("div", An, [
1545
1548
  l("div", Sn, [
1546
- l("h2", In, A(s.title), 1),
1547
- o.isForm ? (r(), i(T, { key: 0 }, [
1549
+ l("h2", In, T(s.title), 1),
1550
+ o.isForm ? (r(), i(A, { key: 0 }, [
1548
1551
  (R = (H = n.tableData) == null ? void 0 : H.slots) != null && R.addButton ? (r(), k(u, {
1549
1552
  key: 0,
1550
1553
  slots: (W = n.tableData) == null ? void 0 : W.slots
@@ -1642,10 +1645,10 @@ function Gn(t, e, s, a, n, o) {
1642
1645
  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"
1643
1646
  }, [
1644
1647
  l("div", jn, [
1645
- o.isNoData ? (r(), k(Me, { key: 1 })) : (r(), i("table", Mn, [
1646
- l("thead", Ln, [
1648
+ o.isNoData ? (r(), k(Le, { key: 1 })) : (r(), i("table", Ln, [
1649
+ l("thead", Mn, [
1647
1650
  l("tr", zn, [
1648
- (r(!0), i(T, null, D(o.columns, (c) => (r(), k(M, {
1651
+ (r(!0), i(A, null, D(o.columns, (c) => (r(), k(L, {
1649
1652
  key: c.name,
1650
1653
  style: Ve({
1651
1654
  width: o.rowWidth(c == null ? void 0 : c.name),
@@ -1662,8 +1665,8 @@ function Gn(t, e, s, a, n, o) {
1662
1665
  ])
1663
1666
  ]),
1664
1667
  l("tbody", Bn, [
1665
- (r(!0), i(T, null, D((ce = n.tableData) == null ? void 0 : ce.rows, (c, qe) => {
1666
- var me, xe, ye, ke, ve, _e, Ce, we, $e, Ae, Te, Se;
1668
+ (r(!0), i(A, null, D((ce = n.tableData) == null ? void 0 : ce.rows, (c, qe) => {
1669
+ var me, xe, ye, ke, ve, _e, Ce, we, $e, Te, Ae, Se;
1667
1670
  return r(), i("tr", {
1668
1671
  key: (c == null ? void 0 : c.id) || qe,
1669
1672
  class: I({
@@ -1692,7 +1695,7 @@ function Gn(t, e, s, a, n, o) {
1692
1695
  }, null, 8, ["row", "column", "table", "onUpdateTable"])
1693
1696
  ], 10, On)
1694
1697
  ], 2),
1695
- (r(!0), i(T, null, D((_e = o.columns) == null ? void 0 : _e.slice(1), (F) => (r(), i("td", {
1698
+ (r(!0), i(A, null, D((_e = o.columns) == null ? void 0 : _e.slice(1), (F) => (r(), i("td", {
1696
1699
  onClick: (Zn) => {
1697
1700
  o.changeActiveCardInfo(c == null ? void 0 : c.id), o.pushToLinkCard(F, c);
1698
1701
  },
@@ -1711,8 +1714,8 @@ function Gn(t, e, s, a, n, o) {
1711
1714
  )) != null && we.length ? (r(), i("td", {
1712
1715
  key: 0,
1713
1716
  class: I(["text-center sticky right-0 w-[80px] px-[10px]", {
1714
- "bg-gray-50": ((Ae = ($e = t.$route) == null ? void 0 : $e.query) == null ? void 0 : Ae.card) === (c == null ? void 0 : c.id),
1715
- "bg-white": ((Se = (Te = t.$route) == null ? void 0 : Te.query) == null ? void 0 : Se.card) !== (c == null ? void 0 : c.id)
1717
+ "bg-gray-50": ((Te = ($e = t.$route) == null ? void 0 : $e.query) == null ? void 0 : Te.card) === (c == null ? void 0 : c.id),
1718
+ "bg-white": ((Se = (Ae = t.$route) == null ? void 0 : Ae.query) == null ? void 0 : Se.card) !== (c == null ? void 0 : c.id)
1716
1719
  }])
1717
1720
  }, [
1718
1721
  x(Fe, {
@@ -1738,13 +1741,13 @@ function Gn(t, e, s, a, n, o) {
1738
1741
  l("div", En, [
1739
1742
  l("p", Hn, [
1740
1743
  l("span", Rn, [
1741
- P(A(n.filters || n.searchValue ? "Знайдено" : "Об'єктів") + " " + A(((he = n.tableData) == null ? void 0 : he.count) || "0 ") + " ", 1),
1744
+ P(T(n.filters || n.searchValue ? "Відображено" : "Об'єктів") + " " + T(((he = n.tableData) == null ? void 0 : he.count) || "0 ") + " ", 1),
1742
1745
  n.filters || n.searchValue ? (r(), i("span", Wn, " з")) : v("", !0)
1743
1746
  ]),
1744
- n.filters || n.searchValue ? (r(), i("span", Jn, A(" " + ((be = n.tableData) == null ? void 0 : be.filtered) || 0), 1)) : v("", !0)
1747
+ n.filters || n.searchValue ? (r(), i("span", Jn, T(" " + ((be = n.tableData) == null ? void 0 : be.filtered) || 0), 1)) : v("", !0)
1745
1748
  ])
1746
1749
  ]),
1747
- Math.ceil(((fe = n.tableData) == null ? void 0 : fe.filtered) / n.limit) > 1 ? (r(), k(Le, {
1750
+ Math.ceil(((fe = n.tableData) == null ? void 0 : fe.filtered) / n.limit) > 1 ? (r(), k(Me, {
1748
1751
  key: 0,
1749
1752
  class: "justify-end",
1750
1753
  "default-page": parseInt(o.defaultPage),
@@ -1774,7 +1777,7 @@ function Gn(t, e, s, a, n, o) {
1774
1777
  ])
1775
1778
  ]);
1776
1779
  }
1777
- const Kn = /* @__PURE__ */ w(An, [["render", Gn], ["__scopeId", "data-v-9370dca8"]]), Qn = {
1780
+ const Kn = /* @__PURE__ */ w(Tn, [["render", Gn], ["__scopeId", "data-v-3f8cf3d4"]]), Qn = {
1778
1781
  components: { AdminTable: Kn },
1779
1782
  data() {
1780
1783
  return {
@@ -1,4 +1,4 @@
1
- import { _ as x, I as J, s as C, a as K, u as T, b as W, c as X, d as Y, e as R } from "./import-file-BQ-sGZF2.js";
1
+ import { _ as x, I as J, s as C, a as K, u as T, b as W, c as X, d as Y, e as R } from "./import-file-1dZxkOgs.js";
2
2
  import { openBlock as s, createElementBlock as i, createElementVNode as o, createStaticVNode as A, resolveComponent as p, normalizeClass as f, createTextVNode as B, toDisplayString as N, createCommentVNode as w, createVNode as h, Transition as e1, withCtx as y, withDirectives as t1, Fragment as j, renderList as P, vShow as r1, createBlock as U, resolveDynamicComponent as S, withModifiers as l1 } from "vue";
3
3
  const o1 = {}, n1 = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -521,8 +521,8 @@ const J1 = /* @__PURE__ */ x(S1, [["render", G1], ["__scopeId", "data-v-ebe4c2ff
521
521
  class: "size-[40px] rounded-full bg-gray-200 flex items-center justify-center"
522
522
  }, le = ["src"], oe = {
523
523
  key: 1,
524
- class: "size-10 rounded-full bg-gray-200 flex items-center justify-center"
525
- }, ne = { class: "grow" }, se = { class: "block font-medium text-sm text-gray-800 dark:text-neutral-200" }, ae = { class: "text-xs text-gray-500 dark:text-neutral-500" }, ie = { class: "flex flex-col space-y-0.5" };
524
+ class: "flex items-center justify-center bg-gray-200 rounded-full size-10"
525
+ }, ne = { class: "grow" }, se = { class: "block text-sm font-medium text-gray-800 dark:text-neutral-200" }, ae = { class: "text-xs text-gray-500 dark:text-neutral-500" }, ie = { class: "flex flex-col space-y-0.5" };
526
526
  function ue(t, e, l, u, n, r) {
527
527
  var z, M, H, L;
528
528
  const k = p("IconQuestion"), m = p("AdminNotification"), a = p("IconUser"), g = p("router-link"), b = p("IconUserOutline"), _ = p("IconLogout");
@@ -572,7 +572,7 @@ function ue(t, e, l, u, n, r) {
572
572
  return [
573
573
  (V = (v = n.userData) == null ? void 0 : v.user) != null && V.avatar ? (s(), i("img", {
574
574
  key: 0,
575
- class: "shrink-0 size-10 rounded-full",
575
+ class: "rounded-full shrink-0 size-10",
576
576
  src: ($ = (I = n.userData) == null ? void 0 : I.user) == null ? void 0 : $.avatar,
577
577
  alt: "Image Description"
578
578
  }, null, 8, le)) : (s(), i("div", oe, [
@@ -592,7 +592,7 @@ function ue(t, e, l, u, n, r) {
592
592
  h(g, {
593
593
  to: "profile",
594
594
  class: "w-full flex items-center gap-x-3.5 py-2 px-2.5 text-sm text-gray-800 rounded-lg hover:bg-gray-100 focus:outline-none focus:bg-gray-100 dark:text-white dark:hover:bg-neutral-800 dark:focus:bg-neutral-800",
595
- disabled: !0
595
+ disabled: "true"
596
596
  }, {
597
597
  default: y(() => [
598
598
  h(b, { class: "size-4" }),
@@ -652,7 +652,7 @@ function ge(t, e, l, u, n, r) {
652
652
  ])
653
653
  ]);
654
654
  }
655
- const xe = /* @__PURE__ */ x(de, [["render", ge], ["__scopeId", "data-v-79c10cab"]]);
655
+ const xe = /* @__PURE__ */ x(de, [["render", ge], ["__scopeId", "data-v-34da2042"]]);
656
656
  export {
657
657
  xe as default
658
658
  };
package/dist/admin.js CHANGED
@@ -1,4 +1,4 @@
1
- import { q as f } from "./import-file-BQ-sGZF2.js";
1
+ import { q as f } from "./import-file-1dZxkOgs.js";
2
2
  export {
3
3
  f as default
4
4
  };