@opengis/admin 0.2.135 → 0.2.137

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.
@@ -1,4 +1,4 @@
1
- import { _ as h, u as p, f as u } from "./import-file-D-sIzmab.js";
1
+ import { _ as h, u as p, f as u } from "./import-file-DXkf9FfS.js";
2
2
  import { resolveComponent as d, openBlock as b, createElementBlock as g, createElementVNode as n, createBlock as f, normalizeStyle as x, createCommentVNode as w } from "vue";
3
3
  const y = {
4
4
  data() {
@@ -1,5 +1,5 @@
1
- import { _ as A, g as Be, h as Oe, i as Ne, f as j, I as Ue, j as De, k as N, A as U, V as Ee, l as He, m as Re, n as We, o as Je, p as Ge, q as Ke, a as Qe, r as Xe, t as Ye, u as Ie, s as Ze } from "./import-file-D-sIzmab.js";
2
- import { openBlock as r, createElementBlock as i, createTextVNode as P, toDisplayString as $, 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 et, createStaticVNode as tt, withDirectives as M, vModelCheckbox as st, Transition as z, vModelText as nt, renderSlot as lt, vShow as E, Teleport as rt, getCurrentInstance as Pe, ref as B, resolveDynamicComponent as O, defineComponent as at, normalizeStyle as Ve } from "vue";
1
+ import { _ as T, g as Be, h as Oe, i as Ne, f as j, I as Ue, j as De, k as N, A as U, V as Ee, l as He, m as Re, n as We, o as Je, p as Ge, q as Ke, a as Qe, r as Xe, t as Ye, u as Ie, s as Ze } from "./import-file-DXkf9FfS.js";
2
+ import { openBlock as r, createElementBlock as i, createTextVNode as P, toDisplayString as $, 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 et, createStaticVNode as tt, withDirectives as M, vModelCheckbox as st, Transition as z, vModelText as nt, renderSlot as lt, vShow as E, Teleport as rt, getCurrentInstance as Pe, ref as B, resolveDynamicComponent as O, defineComponent as at, normalizeStyle as Ve } from "vue";
3
3
  const ot = {
4
4
  data() {
5
5
  return {
@@ -95,7 +95,7 @@ function ct(t, e, n, o, s, a) {
95
95
  ])) : (r(), i("p", ut, $(a.label), 1))
96
96
  ]);
97
97
  }
98
- const pt = /* @__PURE__ */ A(ot, [["render", ct]]), ht = {
98
+ const pt = /* @__PURE__ */ T(ot, [["render", ct]]), ht = {
99
99
  components: {
100
100
  IconMore: Be,
101
101
  IconDelete: Oe,
@@ -184,7 +184,7 @@ const pt = /* @__PURE__ */ A(ot, [["render", ct]]), ht = {
184
184
  }, kt = { class: "flex justify-end p-[16px] pr-0 gap-x-3" };
185
185
  function vt(t, e, n, o, s, a) {
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", bt, [
189
189
  x(d, {
190
190
  trigger: "click",
@@ -213,7 +213,7 @@ function vt(t, e, n, o, s, a) {
213
213
  ]),
214
214
  _: 1
215
215
  }, 8, ["to"])) : v("", !0),
216
- (r(!0), i(T, null, D(a.getCustomActions, (V, L) => (r(), i("button", {
216
+ (r(!0), i(A, null, D(a.getCustomActions, (V, L) => (r(), i("button", {
217
217
  key: L,
218
218
  onClick: (q) => a.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"
@@ -261,7 +261,7 @@ function vt(t, e, n, o, s, a) {
261
261
  }, 8, ["visible"])
262
262
  ], 64);
263
263
  }
264
- const _t = /* @__PURE__ */ A(ht, [["render", vt]]), Ct = {}, wt = {
264
+ const _t = /* @__PURE__ */ T(ht, [["render", vt]]), Ct = {}, wt = {
265
265
  class: "flex-shrink-0 mt-0.5 size-3.5",
266
266
  xmlns: "http://www.w3.org/2000/svg",
267
267
  viewBox: "0 0 24 24",
@@ -279,7 +279,7 @@ function $t(t, e, n, o, s, a) {
279
279
  l("path", { d: "M17 4v16" }, null, -1)
280
280
  ]));
281
281
  }
282
- const Tt = /* @__PURE__ */ A(Ct, [["render", $t]]), At = {}, St = {
282
+ const At = /* @__PURE__ */ T(Ct, [["render", $t]]), Tt = {}, St = {
283
283
  xmlns: "http://www.w3.org/2000/svg",
284
284
  width: "24",
285
285
  height: "24",
@@ -302,8 +302,8 @@ function It(t, e, n, o, s, a) {
302
302
  l("path", { d: "M9 12l2 2l4 -4" }, null, -1)
303
303
  ]));
304
304
  }
305
- const Vt = /* @__PURE__ */ A(At, [["render", It]]), Dt = {
306
- components: { IconExport: Tt, IconChevronDown: Ue, IconSuccess: Vt },
305
+ const Vt = /* @__PURE__ */ T(Tt, [["render", It]]), Dt = {
306
+ components: { IconExport: At, IconChevronDown: Ue, IconSuccess: Vt },
307
307
  props: {
308
308
  table: String,
309
309
  columns: Array,
@@ -423,7 +423,7 @@ const Vt = /* @__PURE__ */ A(At, [["render", It]]), Dt = {
423
423
  };
424
424
  function Rt(t, e, n, o, s, a) {
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) => 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"
@@ -478,7 +478,7 @@ function Rt(t, e, n, o, s, a) {
478
478
  l("div", jt, [
479
479
  e[9] || (e[9] = l("h2", { class: "text-sm font-[600] text-gray-500" }, " Виберіть стовпці таблиці для експорту: ", -1)),
480
480
  l("div", Lt, [
481
- (r(!0), i(T, null, D(s.actions, (d) => (r(), i("button", {
481
+ (r(!0), i(A, null, D(s.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"
@@ -492,7 +492,7 @@ function Rt(t, e, n, o, s, a) {
492
492
  ], 8, Mt))), 128))
493
493
  ]),
494
494
  l("div", qt, [
495
- (r(!0), i(T, null, D(n.columns, (d, _) => (r(), i("div", {
495
+ (r(!0), i(A, null, D(n.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 Rt(t, e, n, o, s, a) {
510
510
  l("div", Bt, [
511
511
  e[10] || (e[10] = l("h2", { class: "text-sm font-[600] text-gray-500" }, "Виберіть формат таблиці:", -1)),
512
512
  l("div", Ot, [
513
- (r(!0), i(T, null, D(s.tableFormats, (d, _) => (r(), i("div", {
513
+ (r(!0), i(A, null, D(s.tableFormats, (d, _) => (r(), i("div", {
514
514
  class: "flex items-center",
515
515
  key: _
516
516
  }, [
@@ -534,7 +534,7 @@ function Rt(t, e, n, o, s, a) {
534
534
  }, 8, ["visible"])
535
535
  ], 64);
536
536
  }
537
- const Wt = /* @__PURE__ */ A(Dt, [["render", Rt]]), Jt = {}, Gt = {
537
+ const Wt = /* @__PURE__ */ T(Dt, [["render", Rt]]), Jt = {}, Gt = {
538
538
  xmlns: "http://www.w3.org/2000/svg",
539
539
  viewBox: "0 0 24 24",
540
540
  fill: "none",
@@ -549,7 +549,7 @@ function Kt(t, e, n, o, s, a) {
549
549
  tt('<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)
550
550
  ]));
551
551
  }
552
- const Qt = /* @__PURE__ */ A(Jt, [["render", Kt]]), Xt = {
552
+ const Qt = /* @__PURE__ */ T(Jt, [["render", Kt]]), Xt = {
553
553
  props: { column: Object },
554
554
  emits: ["update-column"],
555
555
  components: {
@@ -594,7 +594,7 @@ function es(t, e, n, o, s, a) {
594
594
  ])
595
595
  ]);
596
596
  }
597
- const ts = /* @__PURE__ */ A(Xt, [["render", es]]), ss = {
597
+ const ts = /* @__PURE__ */ T(Xt, [["render", es]]), ss = {
598
598
  components: { IconColumns: Qt, AdminTableColumnsHiddenItem: ts },
599
599
  emits: ["update-columns"],
600
600
  props: { columns: Array },
@@ -676,7 +676,7 @@ function us(t, e, n, o, s, a) {
676
676
  l("div", as, [
677
677
  (h = a.filteredColumn) != null && h.length ? (r(), i("span", os, " Оберіть колонки для відображення ")) : v("", !0),
678
678
  l("div", is, [
679
- (b = a.filteredColumn) != null && b.length ? (r(!0), i(T, { key: 0 }, D(a.filteredColumn, (d, _) => (r(), k(f, {
679
+ (b = a.filteredColumn) != null && b.length ? (r(!0), i(A, { key: 0 }, D(a.filteredColumn, (d, _) => (r(), k(f, {
680
680
  key: _,
681
681
  column: d,
682
682
  onUpdateColumn: a.updateColumn
@@ -690,7 +690,7 @@ function us(t, e, n, o, s, a) {
690
690
  })
691
691
  ], 512);
692
692
  }
693
- const cs = /* @__PURE__ */ A(ss, [["render", us]]), ps = {}, hs = {
693
+ const cs = /* @__PURE__ */ T(ss, [["render", us]]), ps = {}, hs = {
694
694
  xmlns: "http://www.w3.org/2000/svg",
695
695
  viewBox: "0 0 24 24",
696
696
  fill: "none",
@@ -710,7 +710,7 @@ function bs(t, e, n, o, s, a) {
710
710
  l("path", { d: "M5 12l14 0" }, null, -1)
711
711
  ]));
712
712
  }
713
- const fs = /* @__PURE__ */ A(ps, [["render", bs]]), gs = {
713
+ const fs = /* @__PURE__ */ T(ps, [["render", bs]]), gs = {
714
714
  components: { IconPlus: N, IconMinus: fs },
715
715
  props: {
716
716
  title: String,
@@ -756,7 +756,7 @@ function vs(t, e, n, o, s, a) {
756
756
  ])
757
757
  ]);
758
758
  }
759
- const _s = /* @__PURE__ */ A(gs, [["render", vs], ["__scopeId", "data-v-c6318482"]]), Cs = {
759
+ const _s = /* @__PURE__ */ T(gs, [["render", vs], ["__scopeId", "data-v-c6318482"]]), Cs = {
760
760
  components: {
761
761
  AdminComponentIs: U,
762
762
  AdminTree: _s,
@@ -772,7 +772,7 @@ const _s = /* @__PURE__ */ A(gs, [["render", vs], ["__scopeId", "data-v-c6318482
772
772
  }, $s = {
773
773
  class: "border-l",
774
774
  style: { height: "calc(100vh - 360px)" }
775
- }, Ts = { class: "flow-root mt-[10px]" }, As = { class: "-my-3 text-sm divide-y divide-gray-100" }, Ss = { class: "flex py-3 sm:grid-cols-3 sm:gap-4" }, Is = { class: "font-medium text-black w-[50%]" }, Vs = { class: "text-gray-700 sm:col-span-2 w-[50%]" }, Ds = { class: "table-info-card" }, Ps = { class: "table-info-card" };
775
+ }, As = { class: "flow-root mt-[10px]" }, Ts = { class: "-my-3 text-sm divide-y divide-gray-100" }, Ss = { class: "flex py-3 sm:grid-cols-3 sm:gap-4" }, Is = { class: "font-medium text-black w-[50%]" }, Vs = { class: "text-gray-700 sm:col-span-2 w-[50%]" }, Ds = { class: "table-info-card" }, Ps = { class: "table-info-card" };
776
776
  function Fs(t, e, n, o, s, a) {
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 Fs(t, e, n, o, s, a) {
781
781
  l("h2", { class: "text-sm font-medium" }, "Інформація про об'єкт")
782
782
  ], -1)),
783
783
  l("div", $s, [
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
  n.row ? (r(), k(f, {
786
786
  key: 0,
787
787
  defaultValue: !0,
@@ -789,9 +789,9 @@ function Fs(t, e, n, o, s, a) {
789
789
  class: "border-b p-[10px] py-[16px]"
790
790
  }, {
791
791
  default: S(() => [
792
- l("div", Ts, [
793
- l("dl", As, [
794
- (r(!0), i(T, null, D(n.columns, (y) => (r(), i("div", Ss, [
792
+ l("div", As, [
793
+ l("dl", Ts, [
794
+ (r(!0), i(A, null, D(n.columns, (y) => (r(), i("div", Ss, [
795
795
  l("dt", Is, $((y == null ? void 0 : y.ua) || (y == null ? void 0 : y.title)), 1),
796
796
  l("dd", Vs, [
797
797
  x(u, {
@@ -868,7 +868,7 @@ function Fs(t, e, n, o, s, a) {
868
868
  ])
869
869
  ]);
870
870
  }
871
- const js = /* @__PURE__ */ A(Cs, [["render", Fs]]), Ls = {
871
+ const js = /* @__PURE__ */ T(Cs, [["render", Fs]]), Ls = {
872
872
  emits: ["filterChange"],
873
873
  props: {
874
874
  scheme: { type: Object },
@@ -892,7 +892,7 @@ const js = /* @__PURE__ */ A(Cs, [["render", Fs]]), Ls = {
892
892
  }, zs = { 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
893
  function qs(t, e, n, o, s, a) {
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) => s.isFilters = !s.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"
@@ -941,7 +941,7 @@ function qs(t, e, n, o, s, a) {
941
941
  })
942
942
  ], 64);
943
943
  }
944
- const Bs = /* @__PURE__ */ A(Ls, [["render", qs]]), Os = {
944
+ const Bs = /* @__PURE__ */ T(Ls, [["render", qs]]), Os = {
945
945
  props: { tabsList: { type: Array, default: () => [] }, filterState: String }
946
946
  }, Ns = {
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,7 +951,7 @@ const Bs = /* @__PURE__ */ A(Ls, [["render", qs]]), Os = {
951
951
  }, Us = ["onClick"];
952
952
  function Es(t, e, n, o, s, a) {
953
953
  return r(), i("nav", Ns, [
954
- (r(!0), i(T, null, D(n.tabsList, (u) => (r(), i("button", {
954
+ (r(!0), i(A, null, D(n.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) === n.filterState
@@ -959,7 +959,7 @@ function Es(t, e, n, o, s, a) {
959
959
  }, $(u == null ? void 0 : u.label), 11, Us))), 256))
960
960
  ]);
961
961
  }
962
- const Hs = /* @__PURE__ */ A(Os, [["render", Es]]), Rs = {}, Ws = {
962
+ const Hs = /* @__PURE__ */ T(Os, [["render", Es]]), Rs = {}, Ws = {
963
963
  xmlns: "http://www.w3.org/2000/svg",
964
964
  viewBox: "0 0 24 24",
965
965
  fill: "none",
@@ -979,7 +979,7 @@ function Js(t, e, n, o, s, a) {
979
979
  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)
980
980
  ]));
981
981
  }
982
- const Gs = /* @__PURE__ */ A(Rs, [["render", Js]]), Ks = {
982
+ const Gs = /* @__PURE__ */ T(Rs, [["render", Js]]), Ks = {
983
983
  components: { IconFilter2: Gs, IconCheck2: De },
984
984
  props: { filterCustom: String, customList: Array }
985
985
  }, Qs = { 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" }, Xs = { class: "flex flex-col p-[2px] gap-[2px] w-[170px]" }, Ys = ["onClick"], Zs = { class: "text-sm text-gray-800" };
@@ -999,7 +999,7 @@ function en(t, e, n, o, s, a) {
999
999
  ]),
1000
1000
  default: S(() => [
1001
1001
  l("div", Xs, [
1002
- (r(!0), i(T, null, D(n.customList, (b, d) => (r(), i("button", {
1002
+ (r(!0), i(A, null, D(n.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();
@@ -1025,7 +1025,7 @@ function en(t, e, n, o, s, a) {
1025
1025
  _: 1
1026
1026
  }, 512);
1027
1027
  }
1028
- const tn = /* @__PURE__ */ A(Ks, [["render", en]]), sn = { class: "flex items-center gap-x-2" }, nn = {
1028
+ const tn = /* @__PURE__ */ T(Ks, [["render", en]]), sn = { class: "flex items-center gap-x-2" }, nn = {
1029
1029
  __name: "admin-table-custom-buttons",
1030
1030
  props: {
1031
1031
  slots: Object
@@ -1093,9 +1093,9 @@ const tn = /* @__PURE__ */ A(Ks, [["render", en]]), sn = { class: "flex items-ce
1093
1093
  },
1094
1094
  setup(t) {
1095
1095
  return (e, n) => (r(), i("tr", null, [
1096
- (r(!0), i(T, null, D(t.columns, (o) => {
1096
+ (r(!0), i(A, null, D(t.columns, (o) => {
1097
1097
  var s;
1098
- return r(), i(T, {
1098
+ return r(), i(A, {
1099
1099
  key: o == null ? void 0 : o.name
1100
1100
  }, [
1101
1101
  (s = t.agg) != null && s[o == null ? void 0 : o.name] ? (r(), i("td", rn, [
@@ -1128,7 +1128,7 @@ function cn(t, e, n, o, s, a) {
1128
1128
  l("path", { d: "M5 12l5 5l10 -10" }, null, -1)
1129
1129
  ]));
1130
1130
  }
1131
- const pn = /* @__PURE__ */ A(dn, [["render", cn]]), hn = at({
1131
+ const pn = /* @__PURE__ */ T(dn, [["render", cn]]), hn = at({
1132
1132
  components: { IconChevronDown: Ge, IconCheck: pn },
1133
1133
  props: {
1134
1134
  total: { type: Number, default: () => 0 },
@@ -1253,7 +1253,7 @@ function vn(t, e, n, o, s, a) {
1253
1253
  t.pageSizes.length ? (r(), i("div", mn, [
1254
1254
  l("div", xn, [
1255
1255
  M(l("div", yn, [
1256
- (r(!0), i(T, null, D(t.pageSizes, (h) => (r(), i("button", {
1256
+ (r(!0), i(A, null, D(t.pageSizes, (h) => (r(), i("button", {
1257
1257
  type: "button",
1258
1258
  class: "w-full flex items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm",
1259
1259
  onClick: (b) => t.pageSizeLocal = h
@@ -1285,7 +1285,7 @@ function vn(t, e, n, o, s, a) {
1285
1285
  ])) : v("", !0)
1286
1286
  ]);
1287
1287
  }
1288
- const _n = /* @__PURE__ */ A(hn, [["render", vn]]), Cn = {
1288
+ const _n = /* @__PURE__ */ T(hn, [["render", vn]]), Cn = {
1289
1289
  props: { table: String, title: String, search: String },
1290
1290
  components: {
1291
1291
  AdminTableControl: _t,
@@ -1502,7 +1502,7 @@ const _n = /* @__PURE__ */ A(hn, [["render", vn]]), Cn = {
1502
1502
  ];
1503
1503
  }
1504
1504
  }
1505
- }, wn = { class: "w-[calc(100vw - 320px)] bg-gray-50" }, $n = { class: "h-[76px] mt-[15px] flex items-center justify-between mx-[20px] px-[20px] bg-white border rounded-xl" }, Tn = { class: "text-lg font-semibold text-gray-800 dark:text-neutral-200" }, An = {
1505
+ }, wn = { class: "w-[calc(100vw - 320px)] bg-gray-50" }, $n = { class: "h-[76px] mt-[15px] flex items-center justify-between mx-[20px] px-[20px] bg-white border rounded-xl" }, An = { class: "text-lg font-semibold text-gray-800 dark:text-neutral-200" }, Tn = {
1506
1506
  style: { height: "calc(100vh - 155px)" },
1507
1507
  class: "bg-gray-50 p-[20px] flex pt-[10px] lg:w-[calc(100vw-260px)] w-[100vw]"
1508
1508
  }, Sn = { class: "bg-white w-full rounded-xl border p-[20px] pr-0" }, In = { class: "flex" }, Vn = { class: "flex gap-[6px] ml-auto" }, Dn = { class: "inline-block w-full align-middle" }, Pn = {
@@ -1511,17 +1511,17 @@ const _n = /* @__PURE__ */ A(hn, [["render", vn]]), Cn = {
1511
1511
  }, Fn = { 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" }, jn = { class: "right-0" }, Ln = {
1512
1512
  key: 0,
1513
1513
  class: "w-[70px] sticky right-0 top-0"
1514
- }, Mn = { class: "divide-y divide-gray-200 z-[1] relative" }, zn = ["onClick"], qn = ["onClick"], Bn = { class: "p-[10px] flex justify-start items-end w-full" }, On = { class: "w-[200px] md:inline-flex hidden" }, Nn = { class: "text-sm text-gray-600 dark:text-neutral-400" }, Un = { class: "font-semibold text-gray-800 dark:text-neutral-200" }, En = { key: 0 }, Hn = {
1514
+ }, Mn = { class: "divide-y divide-gray-200 z-[1] relative" }, zn = ["onClick"], qn = ["onClick"], Bn = ["onClick"], On = { class: "p-[10px] flex justify-start items-end w-full" }, Nn = { class: "w-[200px] md:inline-flex hidden" }, Un = { class: "text-sm text-gray-600 dark:text-neutral-400" }, En = { class: "font-semibold text-gray-800 dark:text-neutral-200" }, Hn = { key: 0 }, Rn = {
1515
1515
  key: 0,
1516
1516
  class: "font-semibold text-gray-800 dark:text-neutral-200"
1517
1517
  };
1518
- function Rn(t, e, n, o, s, a) {
1518
+ function Wn(t, e, n, o, s, a) {
1519
1519
  var H, R, W, J, G, K, Q, X, Y, Z, ee, te, se, ne, le, re, ae, oe, ie, de, ue, ce, pe, he, be, fe, ge;
1520
1520
  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"), w = 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");
1521
1521
  return r(), i("div", wn, [
1522
1522
  l("div", $n, [
1523
- l("h2", Tn, $(n.title), 1),
1524
- a.isForm ? (r(), i(T, { key: 0 }, [
1523
+ l("h2", An, $(n.title), 1),
1524
+ a.isForm ? (r(), i(A, { key: 0 }, [
1525
1525
  (R = (H = s.tableData) == null ? void 0 : H.slots) != null && R.addButton ? (r(), k(u, {
1526
1526
  key: 0,
1527
1527
  slots: (W = s.tableData) == null ? void 0 : W.slots
@@ -1541,7 +1541,7 @@ function Rn(t, e, n, o, s, a) {
1541
1541
  }, 8, ["to"]))
1542
1542
  ], 64)) : v("", !0)
1543
1543
  ]),
1544
- l("div", An, [
1544
+ l("div", Tn, [
1545
1545
  l("div", Sn, [
1546
1546
  (Q = (K = s.tableData) == null ? void 0 : K.filterState) != null && Q.length ? (r(), k(b, {
1547
1547
  key: 0,
@@ -1622,7 +1622,7 @@ function Rn(t, e, n, o, s, a) {
1622
1622
  a.isNoData ? (r(), k(Le, { key: 1 })) : (r(), i("table", Pn, [
1623
1623
  l("thead", Fn, [
1624
1624
  l("tr", jn, [
1625
- (r(!0), i(T, null, D(a.columns, (c) => (r(), k(L, {
1625
+ (r(!0), i(A, null, D(a.columns, (c) => (r(), k(L, {
1626
1626
  key: c.name,
1627
1627
  style: Ve({
1628
1628
  width: a.rowWidth(c == null ? void 0 : c.name),
@@ -1639,8 +1639,8 @@ function Rn(t, e, n, o, s, a) {
1639
1639
  ])
1640
1640
  ]),
1641
1641
  l("tbody", Mn, [
1642
- (r(!0), i(T, null, D((ce = s.tableData) == null ? void 0 : ce.rows, (c, qe) => {
1643
- var me, xe, ye, ke, ve, _e, Ce, we, $e, Te, Ae, Se;
1642
+ (r(!0), i(A, null, D((ce = s.tableData) == null ? void 0 : ce.rows, (c, qe) => {
1643
+ var me, xe, ye, ke, ve, _e, Ce, we, $e, Ae, Te, Se;
1644
1644
  return r(), i("tr", {
1645
1645
  key: (c == null ? void 0 : c.id) || qe,
1646
1646
  class: I({
@@ -1650,7 +1650,8 @@ function Rn(t, e, n, o, s, a) {
1650
1650
  l("td", {
1651
1651
  class: I(["px-1 py-3 text-gray-600 pe-4", [
1652
1652
  (ye = a.columns[0]) != null && ye.align ? `text-${((ke = a.columns[0]) == null ? void 0 : ke.align) || "left"}` : ""
1653
- ]])
1653
+ ]]),
1654
+ onClick: (F) => a.changeActiveCardInfo(c == null ? void 0 : c.id)
1654
1655
  }, [
1655
1656
  l("button", {
1656
1657
  onClick: (F) => {
@@ -1667,10 +1668,10 @@ function Rn(t, e, n, o, s, a) {
1667
1668
  table: n.table,
1668
1669
  onUpdateTable: a.getTableData
1669
1670
  }, null, 8, ["row", "column", "table", "onUpdateTable"])
1670
- ], 10, zn)
1671
- ], 2),
1672
- (r(!0), i(T, null, D((_e = a.columns) == null ? void 0 : _e.slice(1), (F) => (r(), i("td", {
1673
- onClick: (Qn) => {
1671
+ ], 10, qn)
1672
+ ], 10, zn),
1673
+ (r(!0), i(A, null, D((_e = a.columns) == null ? void 0 : _e.slice(1), (F) => (r(), i("td", {
1674
+ onClick: (Xn) => {
1674
1675
  a.changeActiveCardInfo(c == null ? void 0 : c.id), a.pushToLinkCard(F, c);
1675
1676
  },
1676
1677
  class: I(["px-1 py-3 text-gray-600 pe-3", a.getCustomStyles(F)]),
@@ -1682,14 +1683,14 @@ function Rn(t, e, n, o, s, a) {
1682
1683
  table: n.table,
1683
1684
  onUpdateTable: a.getTableData
1684
1685
  }, null, 8, ["row", "column", "table", "onUpdateTable"])
1685
- ], 10, qn))), 128)),
1686
+ ], 10, Bn))), 128)),
1686
1687
  (we = (Ce = a.getActions) == null ? void 0 : Ce.filter(
1687
1688
  (F) => F !== "add" && F !== "view"
1688
1689
  )) != null && we.length ? (r(), i("td", {
1689
1690
  key: 0,
1690
1691
  class: I(["text-center sticky right-0 w-[80px] px-[10px]", {
1691
- "bg-gray-50": ((Te = ($e = t.$route) == null ? void 0 : $e.query) == null ? void 0 : Te.card) === (c == null ? void 0 : c.id),
1692
- "bg-white": ((Se = (Ae = t.$route) == null ? void 0 : Ae.query) == null ? void 0 : Se.card) !== (c == null ? void 0 : c.id)
1692
+ "bg-gray-50": ((Ae = ($e = t.$route) == null ? void 0 : $e.query) == null ? void 0 : Ae.card) === (c == null ? void 0 : c.id),
1693
+ "bg-white": ((Se = (Te = t.$route) == null ? void 0 : Te.query) == null ? void 0 : Se.card) !== (c == null ? void 0 : c.id)
1693
1694
  }])
1694
1695
  }, [
1695
1696
  x(Fe, {
@@ -1711,14 +1712,14 @@ function Rn(t, e, n, o, s, a) {
1711
1712
  ])
1712
1713
  ], 4)
1713
1714
  ], 2),
1714
- l("div", Bn, [
1715
- l("div", On, [
1716
- l("p", Nn, [
1717
- l("span", Un, [
1715
+ l("div", On, [
1716
+ l("div", Nn, [
1717
+ l("p", Un, [
1718
+ l("span", En, [
1718
1719
  P($(s.filters || s.searchValue ? "Відображено" : "Об'єктів") + " " + $(((he = s.tableData) == null ? void 0 : he.count) || "0 ") + " ", 1),
1719
- s.filters || s.searchValue ? (r(), i("span", En, " з")) : v("", !0)
1720
+ s.filters || s.searchValue ? (r(), i("span", Hn, " з")) : v("", !0)
1720
1721
  ]),
1721
- s.filters || s.searchValue ? (r(), i("span", Hn, $(" " + ((be = s.tableData) == null ? void 0 : be.filtered) || 0), 1)) : v("", !0)
1722
+ s.filters || s.searchValue ? (r(), i("span", Rn, $(" " + ((be = s.tableData) == null ? void 0 : be.filtered) || 0), 1)) : v("", !0)
1722
1723
  ])
1723
1724
  ]),
1724
1725
  Math.ceil(((fe = s.tableData) == null ? void 0 : fe.filtered) / s.limit) > 1 ? (r(), k(Me, {
@@ -1751,8 +1752,8 @@ function Rn(t, e, n, o, s, a) {
1751
1752
  ])
1752
1753
  ]);
1753
1754
  }
1754
- const Wn = /* @__PURE__ */ A(Cn, [["render", Rn], ["__scopeId", "data-v-27cc637b"]]), Jn = {
1755
- components: { AdminTable: Wn },
1755
+ const Jn = /* @__PURE__ */ T(Cn, [["render", Wn], ["__scopeId", "data-v-d6f0f678"]]), Gn = {
1756
+ components: { AdminTable: Jn },
1756
1757
  data() {
1757
1758
  return {
1758
1759
  table: !1,
@@ -1807,8 +1808,8 @@ const Wn = /* @__PURE__ */ A(Cn, [["render", Rn], ["__scopeId", "data-v-27cc637b
1807
1808
  }
1808
1809
  }
1809
1810
  }
1810
- }, Gn = ["innerHTML"];
1811
- function Kn(t, e, n, o, s, a) {
1811
+ }, Kn = ["innerHTML"];
1812
+ function Qn(t, e, n, o, s, a) {
1812
1813
  const u = p("AdminTable");
1813
1814
  return s.table ? (r(), k(u, {
1814
1815
  key: 0,
@@ -1820,9 +1821,9 @@ function Kn(t, e, n, o, s, a) {
1820
1821
  class: "w-full bg-gray-50",
1821
1822
  style: { height: "calc(100vh - 120px)" },
1822
1823
  innerHTML: s.interface
1823
- }, null, 8, Gn));
1824
+ }, null, 8, Kn));
1824
1825
  }
1825
- const Zn = /* @__PURE__ */ A(Jn, [["render", Kn]]);
1826
+ const el = /* @__PURE__ */ T(Gn, [["render", Qn]]);
1826
1827
  export {
1827
- Zn as default
1828
+ el as default
1828
1829
  };
@@ -1,4 +1,4 @@
1
- import { _ as C, I as G, s as v, a as J, u as T, b as K, c as W, d as X, e as Y, f as ee } from "./import-file-D-sIzmab.js";
1
+ import { _ as C, I as G, s as v, a as J, u as T, b as K, c as W, d as X, e as Y, f as ee } from "./import-file-DXkf9FfS.js";
2
2
  import { openBlock as s, createElementBlock as a, createElementVNode as o, createStaticVNode as A, resolveComponent as g, normalizeClass as p, createTextVNode as L, toDisplayString as V, createCommentVNode as _, createVNode as d, Transition as te, withCtx as k, withDirectives as re, Fragment as Z, renderList as P, vShow as le, createBlock as U, resolveDynamicComponent as S, withModifiers as oe } from "vue";
3
3
  import "./user-B_2kh6ic.js";
4
4
  const ne = {}, se = {
package/dist/admin.js CHANGED
@@ -1,4 +1,4 @@
1
- import { v as f } from "./import-file-D-sIzmab.js";
1
+ import { v as f } from "./import-file-DXkf9FfS.js";
2
2
  export {
3
3
  f as default
4
4
  };