@opengis/admin 0.2.112 → 0.2.114

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- import { _ as h, u as p, e as u } from "./import-file-BwBdLE9n.js";
1
+ import { _ as h, u as p, e as u } from "./import-file-CpEg7H-h.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,4 +1,4 @@
1
- import { _ as T, g as Re, h as Je, i as Ge, e as F, I as Le, j as Me, k as B, A as N, V as Ke, l as Qe, m as Xe, n as Ye, o as Ze, p as et, q as tt, a as st, r as nt, u as je, s as rt } from "./import-file-BwBdLE9n.js";
1
+ import { _ as T, g as Re, h as Je, i as Ge, e as F, I as Le, j as Me, k as B, A as N, V as Ke, l as Qe, m as Xe, n as Ye, o as Ze, p as et, q as tt, a as st, r as nt, u as je, s as rt } from "./import-file-CpEg7H-h.js";
2
2
  import { openBlock as o, createElementBlock as i, createTextVNode as P, toDisplayString as $, 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 D, withModifiers as lt, withDirectives as M, vModelRadio as ot, createStaticVNode as at, vModelCheckbox as it, Transition as z, vModelText as dt, renderSlot as ut, vShow as U, Teleport as ct, getCurrentInstance as ze, ref as q, resolveDynamicComponent as O, defineComponent as pt, normalizeStyle as Fe } from "vue";
3
3
  const bt = {
4
4
  data() {
@@ -183,7 +183,7 @@ const xt = /* @__PURE__ */ T(bt, [["render", gt]]), yt = {
183
183
  class: "h-[1px] w-[80%] bg-gray-200 ml-auto mr-auto"
184
184
  }, Tt = { class: "flex justify-end p-[16px] pr-0 gap-x-3" };
185
185
  function At(t, e, n, a, s, l) {
186
- const c = b("IconMore"), m = b("IconEdit"), d = b("router-link"), h = b("IconDelete"), u = b("VsPopover"), _ = b("VsConfirm");
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
188
  r("div", kt, [
189
189
  g(u, {
@@ -199,16 +199,16 @@ function At(t, e, n, a, s, l) {
199
199
  ])
200
200
  ]),
201
201
  default: I(() => {
202
- var x, f, w, y, A;
202
+ var x, m, w, y, A;
203
203
  return [
204
204
  r("div", _t, [
205
205
  (x = n.actions) != null && x.includes("edit") && n.isForm ? (o(), k(d, {
206
206
  key: 0,
207
- to: `/edit?table=${(w = (f = t.$route) == null ? void 0 : f.params) == null ? void 0 : w.catchAll}&id=${(y = n.item) == null ? void 0 : y.id}`,
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}`,
208
208
  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"
209
209
  }, {
210
210
  default: I(() => [
211
- g(m, { color: "#000" }),
211
+ g(f, { color: "#000" }),
212
212
  e[4] || (e[4] = P(" Редагувати "))
213
213
  ]),
214
214
  _: 1
@@ -422,7 +422,7 @@ const Oe = /* @__PURE__ */ T(Pt, [["render", Ft]]), Lt = {
422
422
  class: "flex w-full justify-end p-[20px] gap-[6px] border-t"
423
423
  };
424
424
  function Kt(t, e, n, a, s, l) {
425
- const c = b("IconExport"), m = b("IconSuccess"), d = b("VsCheckbox"), h = b("VsDialog");
425
+ const c = b("IconExport"), f = b("IconSuccess"), d = b("VsCheckbox"), h = b("VsDialog");
426
426
  return o(), i(C, null, [
427
427
  r("button", {
428
428
  onClick: e[0] || (e[0] = (u) => s.isOpen = !0),
@@ -468,7 +468,7 @@ function Kt(t, e, n, a, s, l) {
468
468
  ]),
469
469
  default: I(() => [
470
470
  s.isSuccessTemplate ? (o(), i("div", Mt, [
471
- g(m, {
471
+ g(f, {
472
472
  height: "100",
473
473
  width: "100",
474
474
  class: "text-green-200 mb-[20px]"
@@ -574,7 +574,7 @@ const Qt = /* @__PURE__ */ T(Lt, [["render", Kt]]), Xt = {
574
574
  class: "w-[400px] h-[400px] border ml-4 flex items-center justify-center text-gray-600 text-lg font-medium"
575
575
  }, ls = ["src"], os = { class: "flex w-full justify-end p-[20px] gap-[6px] border-t" };
576
576
  function as(t, e, n, a, s, l) {
577
- const c = b("IconExport"), m = b("VsDialog");
577
+ const c = b("IconExport"), f = b("VsDialog");
578
578
  return o(), i(C, null, [
579
579
  r("button", {
580
580
  onClick: e[0] || (e[0] = (d) => s.isOpen = !0),
@@ -586,7 +586,7 @@ function as(t, e, n, a, s, l) {
586
586
  }),
587
587
  e[9] || (e[9] = P(" Друк "))
588
588
  ]),
589
- g(m, {
589
+ g(f, {
590
590
  visible: s.isOpen,
591
591
  "onUpdate:visible": [
592
592
  e[8] || (e[8] = (d) => s.isOpen = d),
@@ -710,11 +710,11 @@ const ps = /* @__PURE__ */ T(ds, [["render", cs]]), bs = {
710
710
  }
711
711
  }, hs = { 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" }, fs = { class: "flex justify-between flex-1 items-center gap-x-2.5 cursor-pointer text-[13px] text-gray-800 dark:text-neutral-300" };
712
712
  function ms(t, e, n, a, s, l) {
713
- var m, d;
713
+ var f, d;
714
714
  const c = b("IconCheck2");
715
715
  return o(), i("div", hs, [
716
716
  r("label", fs, [
717
- P($(((m = n.column) == null ? void 0 : m.ua) || ((d = n.column) == null ? void 0 : d.title)) + " ", 1),
717
+ P($(((f = n.column) == null ? void 0 : f.ua) || ((d = n.column) == null ? void 0 : d.title)) + " ", 1),
718
718
  M(r("input", {
719
719
  type: "checkbox",
720
720
  "onUpdate:modelValue": e[0] || (e[0] = (h) => s.value = h),
@@ -748,8 +748,8 @@ const gs = /* @__PURE__ */ T(bs, [["render", ms]]), xs = {
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, m;
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())) || ((m = (l = e == null ? void 0 : e.title) == null ? void 0 : l.toLowerCase()) == null ? void 0 : m.includes((c = this.searchValue) == null ? void 0 : c.toLowerCase()));
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()));
753
753
  }
754
754
  );
755
755
  }
@@ -784,7 +784,7 @@ const gs = /* @__PURE__ */ T(bs, [["render", ms]]), xs = {
784
784
  class: "flex items-center px-3 text-[13px] py-1.5 px-3 rounded-md cursor-pointer group"
785
785
  };
786
786
  function Ts(t, e, n, a, s, l) {
787
- const c = b("IconColumns"), m = b("AdminTableColumnsHiddenItem");
787
+ const c = b("IconColumns"), f = b("AdminTableColumnsHiddenItem");
788
788
  return o(), i("div", ys, [
789
789
  r("button", {
790
790
  onClick: e[0] || (e[0] = (...d) => l.toggleVisible && l.toggleVisible(...d)),
@@ -815,7 +815,7 @@ function Ts(t, e, n, a, s, l) {
815
815
  r("div", _s, [
816
816
  (d = l.filteredColumn) != null && d.length ? (o(), i("span", ws, " Оберіть колонки для відображення ")) : v("", !0),
817
817
  r("div", Cs, [
818
- (h = l.filteredColumn) != null && h.length ? (o(!0), i(C, { key: 0 }, D(l.filteredColumn, (u, _) => (o(), k(m, {
818
+ (h = l.filteredColumn) != null && h.length ? (o(!0), i(C, { key: 0 }, D(l.filteredColumn, (u, _) => (o(), k(f, {
819
819
  key: _,
820
820
  column: u,
821
821
  onUpdateColumn: l.updateColumn
@@ -860,7 +860,7 @@ const Ds = /* @__PURE__ */ T(Ss, [["render", Vs]]), Ps = {
860
860
  }
861
861
  }, js = { class: "hs-accordion" }, Fs = { class: "py-0.5 flex items-center gap-x-0.5 w-full" }, Ls = { class: "text-sm font-medium" }, Ms = { class: "relative inline-block w-full duration-150 cursor-pointer before:block before:absolute b" };
862
862
  function zs(t, e, n, a, s, l) {
863
- const c = b("IconPlus"), m = b("IconMinus");
863
+ const c = b("IconPlus"), f = b("IconMinus");
864
864
  return o(), i("div", null, [
865
865
  r("div", null, [
866
866
  r("div", js, [
@@ -875,7 +875,7 @@ function zs(t, e, n, a, s, l) {
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
  }, [
878
- s.expanded ? (o(), k(m, {
878
+ s.expanded ? (o(), k(f, {
879
879
  key: 1,
880
880
  width: "14"
881
881
  })) : (o(), k(c, { key: 0 }))
@@ -913,15 +913,15 @@ const qs = /* @__PURE__ */ T(Ps, [["render", zs], ["__scopeId", "data-v-e1f274c9
913
913
  style: { height: "calc(100vh - 360px)" }
914
914
  }, Us = { class: "flow-root mt-[10px]" }, Es = { class: "-my-3 text-sm divide-y divide-gray-100" }, Hs = { class: "flex py-3 sm:grid-cols-3 sm:gap-4" }, Ws = { class: "font-medium text-black w-[50%]" }, Rs = { class: "text-gray-700 sm:col-span-2 w-[50%]" }, Js = { class: "table-info-card" }, Gs = { class: "table-info-card" };
915
915
  function Ks(t, e, n, a, s, l) {
916
- var x, f, w;
917
- const c = b("AdminComponentIs"), m = b("AdminTree"), d = b("VsWidgetMap"), h = b("VsNoData"), u = b("VsWidgetComments"), _ = b("VsWidgetFileList");
916
+ var x, m, w;
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", Bs, [
919
919
  e[0] || (e[0] = r("div", { class: "p-[10px] pl-[18px] pb-[18px] border-b" }, [
920
920
  r("h2", { class: "text-sm font-medium" }, "Інформація про об'єкт")
921
921
  ], -1)),
922
922
  r("div", Ns, [
923
- (f = (x = t.$route) == null ? void 0 : x.query) != null && f.card ? (o(), i(C, { key: 0 }, [
924
- n.row ? (o(), k(m, {
923
+ (m = (x = t.$route) == null ? void 0 : x.query) != null && m.card ? (o(), i(C, { key: 0 }, [
924
+ n.row ? (o(), k(f, {
925
925
  key: 0,
926
926
  defaultValue: !0,
927
927
  title: "Основна інформація",
@@ -945,7 +945,7 @@ function Ks(t, e, n, a, s, l) {
945
945
  ]),
946
946
  _: 1
947
947
  })) : v("", !0),
948
- (w = n.row) != null && w.geom ? (o(), k(m, {
948
+ (w = n.row) != null && w.geom ? (o(), k(f, {
949
949
  key: 1,
950
950
  title: "Карта",
951
951
  class: "border-b p-[10px] py-[16px]"
@@ -967,7 +967,7 @@ function Ks(t, e, n, a, s, l) {
967
967
  }),
968
968
  _: 1
969
969
  })) : v("", !0),
970
- g(m, {
970
+ g(f, {
971
971
  title: "Коментарі",
972
972
  class: "border-b p-[10px] py-[16px]"
973
973
  }, {
@@ -983,7 +983,7 @@ function Ks(t, e, n, a, s, l) {
983
983
  }),
984
984
  _: 1
985
985
  }),
986
- g(m, {
986
+ g(f, {
987
987
  title: "Файли",
988
988
  class: "border-b p-[10px] py-[16px]"
989
989
  }, {
@@ -1030,7 +1030,7 @@ const Qs = /* @__PURE__ */ T(Os, [["render", Ks]]), Xs = {
1030
1030
  class: "px-[7px] text-[10px] py-[1px] font-[700] text-white bg-blue-500 rounded-full"
1031
1031
  }, 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" };
1032
1032
  function en(t, e, n, a, s, l) {
1033
- const c = b("IconFilter"), m = b("VsFilter");
1033
+ const c = b("IconFilter"), f = b("VsFilter");
1034
1034
  return o(), i(C, null, [
1035
1035
  r("button", {
1036
1036
  onClick: e[0] || (e[0] = (d) => s.isFilters = !s.isFilters),
@@ -1054,7 +1054,7 @@ function en(t, e, n, a, s, l) {
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
1056
  r("div", Zs, [
1057
- (d = n.scheme) != null && d.length ? (o(), k(m, {
1057
+ (d = n.scheme) != null && d.length ? (o(), k(f, {
1058
1058
  key: 0,
1059
1059
  ref: "filter",
1060
1060
  scheme: n.scheme,
@@ -1091,7 +1091,7 @@ const tn = /* @__PURE__ */ T(Xs, [["render", en]]), sn = {
1091
1091
  function ln(t, e, n, a, s, l) {
1092
1092
  return o(), i("nav", nn, [
1093
1093
  (o(!0), i(C, null, D(n.tabsList, (c) => (o(), i("button", {
1094
- onClick: (m) => t.$emit("update:filterState", c == null ? void 0 : c.name),
1094
+ onClick: (f) => t.$emit("update:filterState", c == null ? void 0 : c.name),
1095
1095
  class: S(["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", {
1096
1096
  " font-semibold after:absolute after:bottom-[-8px] after:left-2.5 after:right-2.5 after:z-10 after:h-0.5 after:bg-gray-800": (c == null ? void 0 : c.name) === n.filterState
1097
1097
  }])
@@ -1123,7 +1123,7 @@ const cn = /* @__PURE__ */ T(an, [["render", un]]), pn = {
1123
1123
  props: { filterCustom: String, customList: Array }
1124
1124
  }, bn = { 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" }, hn = { class: "flex flex-col p-[2px] gap-[2px] w-[170px]" }, fn = ["onClick"], mn = { class: "text-sm text-gray-800" };
1125
1125
  function gn(t, e, n, a, s, l) {
1126
- const c = b("IconFilter2"), m = b("IconCheck2"), d = b("VsPopover");
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"
@@ -1147,7 +1147,7 @@ function gn(t, e, n, a, s, l) {
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
1149
  r("span", mn, $(h == null ? void 0 : h.label), 1),
1150
- n.filterCustom === (h == null ? void 0 : h.name) ? (o(), k(m, {
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)
@@ -1170,10 +1170,10 @@ const xn = /* @__PURE__ */ T(pn, [["render", gn]]), yn = { class: "flex items-ce
1170
1170
  slots: Object
1171
1171
  },
1172
1172
  setup(t) {
1173
- var m, d, h, u, _;
1174
- const { asyncTemplateSlot: e } = (_ = (u = (h = (d = (m = ze()) == null ? void 0 : m.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 = () => {
1175
- var x, f, w, y, A;
1176
- if ((x = s.slots) != null && x.panelLeft || (a.value = "div"), (w = (f = s.slots) == null ? void 0 : f.panelLeft) != null && w.includes("<")) {
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 = () => {
1175
+ var x, m, w, y, A;
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 V = e("PanelLeft", (y = s.slots) == null ? void 0 : y.panelLeft, [
1178
1178
  "name"
1179
1179
  ]);
@@ -1181,8 +1181,8 @@ const xn = /* @__PURE__ */ T(pn, [["render", gn]]), yn = { class: "flex items-ce
1181
1181
  } else
1182
1182
  a.value = (A = s.slots) == null ? void 0 : A.panelLeft;
1183
1183
  }, c = () => {
1184
- var x, f, w, y, A;
1185
- if ((x = s.slots) != null && x.panelRight || (n.value = "div"), (w = (f = s.slots) == null ? void 0 : f.panelRight) != null && w.includes("<")) {
1184
+ var x, m, w, y, A;
1185
+ if ((x = s.slots) != null && x.panelRight || (n.value = "div"), (w = (m = s.slots) == null ? void 0 : m.panelRight) != null && w.includes("<")) {
1186
1186
  const V = e("PanelRight", (y = s.slots) == null ? void 0 : y.panelRight, [
1187
1187
  "name"
1188
1188
  ]);
@@ -1190,7 +1190,7 @@ const xn = /* @__PURE__ */ T(pn, [["render", gn]]), yn = { 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, f) => (o(), i("div", yn, [
1193
+ return l(), c(), (x, m) => (o(), i("div", yn, [
1194
1194
  (o(), k(O(a.value))),
1195
1195
  (o(), k(O(n.value)))
1196
1196
  ]));
@@ -1208,12 +1208,12 @@ const xn = /* @__PURE__ */ T(pn, [["render", gn]]), yn = { class: "flex items-ce
1208
1208
  slots: Object
1209
1209
  },
1210
1210
  setup(t) {
1211
- var l, c, m, d, h;
1212
- const { asyncTemplateSlot: e } = (h = (d = (m = (c = (l = ze()) == null ? void 0 : l.appContext) == null ? void 0 : c.app) == null ? void 0 : m.config) == null ? void 0 : d.globalProperties) == null ? void 0 : h.utils, n = q(""), a = 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;
1213
1213
  return (() => {
1214
- var u, _, x, f, w;
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("<")) {
1216
- const y = e("addButton", (f = a.slots) == null ? void 0 : f.addButton, [
1216
+ const y = e("addButton", (m = a.slots) == null ? void 0 : m.addButton, [
1217
1217
  "IconPlus"
1218
1218
  ]);
1219
1219
  n.value = y;
@@ -1362,7 +1362,7 @@ const In = /* @__PURE__ */ T(Tn, [["render", Sn]]), Vn = pt({
1362
1362
  class: "flex items-center justify-center ml-3 gap-x-5"
1363
1363
  }, Ln = { class: "relative" }, Mn = { 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%]" }, zn = ["onClick"];
1364
1364
  function qn(t, e, n, a, s, l) {
1365
- const c = b("IconChevronDown"), m = b("IconCheck");
1365
+ const c = b("IconChevronDown"), f = b("IconCheck");
1366
1366
  return o(), i("nav", Dn, [
1367
1367
  r("button", {
1368
1368
  type: "button",
@@ -1405,7 +1405,7 @@ function qn(t, e, n, a, s, l) {
1405
1405
  onClick: (h) => t.pageSizeLocal = d
1406
1406
  }, [
1407
1407
  P($(d) + " ", 1),
1408
- d === t.pageSizeLocal ? (o(), k(m, {
1408
+ d === t.pageSizeLocal ? (o(), k(f, {
1409
1409
  key: 0,
1410
1410
  width: "14",
1411
1411
  height: "14",
@@ -1559,8 +1559,8 @@ const On = /* @__PURE__ */ T(Vn, [["render", qn]]), Bn = {
1559
1559
  },
1560
1560
  methods: {
1561
1561
  async checkUrlMounted() {
1562
- var t, e, n, a, s, l, c, m, d, h, u, _, x, f, w, y, A, V, L;
1563
- 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 = (m = this.filters) == null ? void 0 : m.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 = (f = this.$route) == null ? void 0 : f.query) == null ? void 0 : w.search) || "", this.visibleColumns = ((V = (A = (y = this.$route) == null ? void 0 : y.query) == null ? void 0 : A.columns) == null ? void 0 : V.split(",")) || [], (L = this.$route) != null && L.query.card && (this.isVisibleCardInfo = !0);
1562
+ var t, e, n, a, s, l, c, f, d, h, u, _, x, m, w, y, A, V, L;
1563
+ 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 = ((V = (A = (y = this.$route) == null ? void 0 : y.query) == null ? void 0 : A.columns) == null ? void 0 : V.split(",")) || [], (L = this.$route) != null && L.query.card && (this.isVisibleCardInfo = !0);
1564
1564
  },
1565
1565
  rowWidth(t) {
1566
1566
  var n, a;
@@ -1574,7 +1574,7 @@ const On = /* @__PURE__ */ T(Vn, [["render", qn]]), Bn = {
1574
1574
  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 = "";
1575
1575
  },
1576
1576
  async getTableData() {
1577
- var t, e, n, a, s, l, c, m, d, h, u;
1577
+ var t, e, n, a, s, l, c, f, d, h, u;
1578
1578
  try {
1579
1579
  const { data: _ } = await F.get(`/api/template/table/${this.table}`), x = await F.get(`/api/table-data/${this.table}`, {
1580
1580
  params: {
@@ -1590,10 +1590,10 @@ const On = /* @__PURE__ */ T(Vn, [["render", qn]]), Bn = {
1590
1590
  this.tableData = {
1591
1591
  ..._,
1592
1592
  ...(x == null ? void 0 : x.data) || {}
1593
- }, this.initialHiddenColumns = (l = (s = (a = (n = this.tableData) == null ? void 0 : n.columns) == null ? void 0 : a.filter((f) => (f == null ? void 0 : f.hidden) !== !0)) == null ? void 0 : s.map((f) => f == null ? void 0 : f.name)) == null ? void 0 : l.join(","), (c = this.visibleColumns) != null && c.length ? (m = this.tableData) == null || m.columns.forEach((f) => {
1593
+ }, 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) => {
1594
1594
  var w;
1595
- (w = this.visibleColumns) != null && w.includes(f == null ? void 0 : f.name) ? f.hidden = !1 : f.hidden = !0;
1596
- }) : this.visibleColumns = (u = (h = (d = this.tableData) == null ? void 0 : d.columns) == null ? void 0 : h.filter((f) => (f == null ? void 0 : f.hidden) !== !0)) == null ? void 0 : u.map((f) => f == null ? void 0 : f.name);
1595
+ (w = this.visibleColumns) != null && w.includes(m == null ? void 0 : m.name) ? m.hidden = !1 : m.hidden = !0;
1596
+ }) : 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);
1597
1597
  } catch {
1598
1598
  }
1599
1599
  },
@@ -1663,7 +1663,7 @@ const On = /* @__PURE__ */ T(Vn, [["render", qn]]), Bn = {
1663
1663
  };
1664
1664
  function ir(t, e, n, a, s, l) {
1665
1665
  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;
1666
- const c = b("AdminCustomButtonAdd"), m = b("IconPlus"), d = b("router-link"), h = b("AdminTableTabs"), u = b("IconSearch"), _ = b("VsText"), x = b("AdminTableCustomButtons"), f = b("AdminTableCustomFilters"), w = b("AdminTableColumnsHidden"), y = b("AdminTablePrint"), A = b("AdminTableExport"), V = b("AdminTableFilters"), L = b("IconOpenCard"), E = b("AdminTableColumn"), H = b("AdminComponentIs"), Be = b("AdminTableControl"), Ne = b("AdminTableTotalsList"), Ue = b("AdminNodata"), Ee = b("AdminTablePagination"), He = b("AdminTableCardInfo");
1666
+ 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"), V = b("AdminTableFilters"), L = b("IconOpenCard"), E = b("AdminTableColumn"), H = b("AdminComponentIs"), Be = b("AdminTableControl"), Ne = b("AdminTableTotalsList"), Ue = b("AdminNodata"), Ee = b("AdminTablePagination"), He = b("AdminTableCardInfo");
1667
1667
  return o(), i("div", Nn, [
1668
1668
  r("div", Un, [
1669
1669
  r("h2", En, $(n.title), 1),
@@ -1677,7 +1677,7 @@ function ir(t, e, n, a, s, l) {
1677
1677
  class: "inline-flex items-center px-3 py-2 text-sm font-medium text-white duration-300 bg-blue-600 border border-transparent rounded-lg gap-x-2 hover:bg-blue-700 hover:text-white"
1678
1678
  }, {
1679
1679
  default: I(() => [
1680
- g(m, {
1680
+ g(f, {
1681
1681
  height: "16",
1682
1682
  width: "16"
1683
1683
  }),
@@ -1719,7 +1719,7 @@ function ir(t, e, n, a, s, l) {
1719
1719
  key: 0,
1720
1720
  slots: (ee = s.tableData) == null ? void 0 : ee.slots
1721
1721
  }, null, 8, ["slots"])) : v("", !0),
1722
- (se = (te = s.tableData) == null ? void 0 : te.filterCustom) != null && se.length ? (o(), k(f, {
1722
+ (se = (te = s.tableData) == null ? void 0 : te.filterCustom) != null && se.length ? (o(), k(m, {
1723
1723
  key: 1,
1724
1724
  customList: (ne = s.tableData) == null ? void 0 : ne.filterCustom,
1725
1725
  filterCustom: s.filterCustom,
@@ -1934,14 +1934,16 @@ const dr = /* @__PURE__ */ T(Bn, [["render", ir], ["__scopeId", "data-v-4cadd511
1934
1934
  }), e;
1935
1935
  },
1936
1936
  async checkPageType() {
1937
- var n, a;
1937
+ var a, s;
1938
1938
  const t = this.flattenMenu(je.value);
1939
1939
  t != null && t.length || this.$router.replace("/404");
1940
- const e = t == null ? void 0 : t.find((s) => {
1941
- var l, c;
1942
- return (s == null ? void 0 : s.path) == ((c = (l = this.$route) == null ? void 0 : l.params) == null ? void 0 : c.catchAll);
1940
+ const e = t == null ? void 0 : t.find((l) => {
1941
+ var c, f;
1942
+ return (l == null ? void 0 : l.path) == ((f = (c = this.$route) == null ? void 0 : c.params) == null ? void 0 : f.catchAll);
1943
1943
  });
1944
- this.title = e == null ? void 0 : e.ua, e || this.$router.replace("/404"), e != null && e.component && this.$router.replace((a = (n = this.$route) == null ? void 0 : n.params) == null ? void 0 : a.catchAll), this.table = (e == null ? void 0 : e.table) || !1, this.search = (e == null ? void 0 : e.search) || "", !table && this.getInterface();
1944
+ 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);
1945
+ const n = e == null ? void 0 : e.table;
1946
+ this.table = n || !1, this.search = (e == null ? void 0 : e.search) || "", !n && this.getInterface();
1945
1947
  },
1946
1948
  async getInterface() {
1947
1949
  var t, e;
@@ -1,4 +1,4 @@
1
- import { _ as C, I as J, s as v, a as K, u as A, b as W, c as X, d as Y, e as T, f as ee } from "./import-file-BwBdLE9n.js";
1
+ import { _ as C, I as J, s as v, a as K, u as A, b as W, c as X, d as Y, e as T, f as ee } from "./import-file-CpEg7H-h.js";
2
2
  import { openBlock as s, createElementBlock as a, createElementVNode as o, createStaticVNode as P, 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 F, vShow as le, createBlock as U, resolveDynamicComponent as S, withModifiers as oe } from "vue";
3
3
  import { u as ne } from "./user-B_2kh6ic.js";
4
4
  const se = {}, ae = {
package/dist/admin.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./import-file-BwBdLE9n.js";
1
+ import { t as e } from "./import-file-CpEg7H-h.js";
2
2
  export {
3
3
  e as default
4
4
  };