@opengis/admin 0.1.99 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as t, createElementVNode as n } from "vue";
2
- import { _ as r } from "./import-file-DoWm0VXP.js";
2
+ import { _ as r } from "./import-file-By5-gtTh.js";
3
3
  const l = {}, s = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 24 24",
@@ -1,4 +1,4 @@
1
- import { _ as g, u as f, c as u } from "./import-file-DoWm0VXP.js";
1
+ import { _ as g, u as f, c as u } from "./import-file-By5-gtTh.js";
2
2
  import { resolveComponent as x, openBlock as d, createElementBlock as w, createElementVNode as n, createBlock as k, createCommentVNode as y } from "vue";
3
3
  const v = {
4
4
  data() {
@@ -1,6 +1,6 @@
1
- import { _ as v, d as Ve, c as F, V as Ie, e as De, f as Fe, g as je, A as Me, I as qe, u as ye, s as ze } from "./import-file-DoWm0VXP.js";
2
- import { openBlock as o, createElementBlock as a, createTextVNode as j, toDisplayString as T, createCommentVNode as w, createStaticVNode as L, Fragment as S, createElementVNode as l, resolveComponent as p, createVNode as x, withCtx as $, createBlock as _, renderList as D, withModifiers as Le, normalizeClass as I, withDirectives as P, vModelCheckbox as Pe, resolveDynamicComponent as z, Transition as B, renderSlot as Be, vShow as ke, getCurrentInstance as Ue, ref as _e, normalizeStyle as ve } from "vue";
3
- import { I as Oe } from "./IconChevronDown-CHEXfG3v.js";
1
+ import { _ as v, d as Ve, c as F, V as Ie, e as De, f as Fe, g as je, A as Me, I as qe, u as ye, s as ze } from "./import-file-By5-gtTh.js";
2
+ import { openBlock as o, createElementBlock as a, createTextVNode as j, toDisplayString as T, createCommentVNode as w, createStaticVNode as L, Fragment as S, createElementVNode as l, resolveComponent as h, createVNode as x, withCtx as $, createBlock as _, renderList as D, withModifiers as Le, normalizeClass as I, withDirectives as P, vModelCheckbox as Pe, resolveDynamicComponent as z, Transition as B, renderSlot as Be, vShow as ke, getCurrentInstance as Ue, ref as _e, normalizeStyle as ve } from "vue";
3
+ import { I as Oe } from "./IconChevronDown-BJPl2auV.js";
4
4
  const Ee = {
5
5
  data() {
6
6
  return {
@@ -224,9 +224,9 @@ const lt = /* @__PURE__ */ v(et, [["render", st]]), ot = {
224
224
  }, rt = { class: "hs-dropdown [--placement:bottom-right] inline-flex" }, at = { class: "inline-flex items-center justify-center bg-white border rounded-lg shadow-sm size-7 gap-x-2 border-stone-200 text-stone-800 hover:bg-stone-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-stone-50" }, it = { class: "flex flex-col items-start" }, ct = ["onClick"], ut = { class: "text-gray-800" }, dt = {
225
225
  key: 1,
226
226
  class: "h-[1px] w-[80%] bg-gray-200 ml-auto mr-auto"
227
- }, bt = { class: "p-4" }, pt = { class: "flex justify-end mt-4 gap-x-3" };
228
- function ht(t, e, s, i, n, r) {
229
- const u = p("IconMore"), f = p("IconEdit"), h = p("router-link"), m = p("IconDelete"), k = p("VsPopover"), c = p("VsDialog");
227
+ }, bt = { class: "p-4" }, ht = { class: "flex justify-end mt-4 gap-x-3" };
228
+ function pt(t, e, s, i, n, r) {
229
+ const u = h("IconMore"), f = h("IconEdit"), p = h("router-link"), m = h("IconDelete"), k = h("VsPopover"), c = h("VsDialog");
230
230
  return o(), a(S, null, [
231
231
  l("div", rt, [
232
232
  x(k, {
@@ -245,7 +245,7 @@ function ht(t, e, s, i, n, r) {
245
245
  var g, d, C, y, A;
246
246
  return [
247
247
  l("div", it, [
248
- (g = s.actions) != null && g.includes("edit") && s.isForm ? (o(), _(h, {
248
+ (g = s.actions) != null && g.includes("edit") && s.isForm ? (o(), _(p, {
249
249
  key: 0,
250
250
  to: `/edit?table=${(C = (d = t.$route) == null ? void 0 : d.params) == null ? void 0 : C.catchAll}&id=${(y = s.item) == null ? void 0 : y.id}`,
251
251
  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"
@@ -288,7 +288,7 @@ function ht(t, e, s, i, n, r) {
288
288
  default: $(() => [
289
289
  l("div", bt, [
290
290
  e[6] || (e[6] = l("p", { class: "mt-1 text-gray-500 dark:text-neutral-500" }, " Ви впевнені, що хочете видалити цей об'єкт? ", -1)),
291
- l("div", pt, [
291
+ l("div", ht, [
292
292
  l("button", {
293
293
  type: "button",
294
294
  class: "inline-flex items-center px-3 py-2 text-sm font-medium text-gray-800 bg-white border border-gray-200 rounded-lg shadow-sm gap-x-2 hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700",
@@ -306,7 +306,7 @@ function ht(t, e, s, i, n, r) {
306
306
  }, 8, ["visible"])
307
307
  ], 64);
308
308
  }
309
- const ft = /* @__PURE__ */ v(ot, [["render", ht]]), mt = {}, gt = {
309
+ const ft = /* @__PURE__ */ v(ot, [["render", pt]]), mt = {}, gt = {
310
310
  class: "flex-shrink-0 mt-0.5 size-3.5",
311
311
  xmlns: "http://www.w3.org/2000/svg",
312
312
  viewBox: "0 0 24 24",
@@ -463,7 +463,7 @@ const wt = /* @__PURE__ */ v(_t, [["render", kt]]), Ct = {
463
463
  class: "flex w-full justify-end p-[20px] gap-[6px] border-t"
464
464
  };
465
465
  function Bt(t, e, s, i, n, r) {
466
- const u = p("IconExport"), f = p("IconChevronDown"), h = p("IconSuccess"), m = p("VsCheckbox"), k = p("VsDialog");
466
+ const u = h("IconExport"), f = h("IconChevronDown"), p = h("IconSuccess"), m = h("VsCheckbox"), k = h("VsDialog");
467
467
  return o(), a(S, null, [
468
468
  l("button", {
469
469
  onClick: e[0] || (e[0] = (c) => n.isOpen = !0),
@@ -513,7 +513,7 @@ function Bt(t, e, s, i, n, r) {
513
513
  ]),
514
514
  default: $(() => [
515
515
  n.isSuccessTemplate ? (o(), a("div", $t, [
516
- x(h, {
516
+ x(p, {
517
517
  height: "100",
518
518
  width: "100",
519
519
  class: "text-green-200 mb-[20px]"
@@ -618,7 +618,7 @@ function Zt(t, e, s, i, n, r) {
618
618
  var u, f;
619
619
  return o(), a("label", Wt, [
620
620
  P(l("input", {
621
- "onUpdate:modelValue": e[0] || (e[0] = (h) => n.value = h),
621
+ "onUpdate:modelValue": e[0] || (e[0] = (p) => n.value = p),
622
622
  type: "checkbox"
623
623
  }, null, 512), [
624
624
  [Pe, n.value]
@@ -638,8 +638,8 @@ const Gt = /* @__PURE__ */ v(Rt, [["render", Zt]]), Jt = {
638
638
  }
639
639
  }, Kt = { class: "py-2 px-2.5 inline-flex items-center gap-x-1.5 text-xs font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700" }, Qt = { class: "py-[10px] px-[10px] w-[260px]" }, Xt = { class: "flex flex-col gap-[3px] max-h-[400px] w-full overflow-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar:horizontal]:h-[8px] [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500" };
640
640
  function Yt(t, e, s, i, n, r) {
641
- const u = p("IconColumns"), f = p("AdminTableColumnsHiddenItem"), h = p("VsPopover");
642
- return o(), _(h, {
641
+ const u = h("IconColumns"), f = h("AdminTableColumnsHiddenItem"), p = h("VsPopover");
642
+ return o(), _(p, {
643
643
  trigger: "click",
644
644
  placement: "bottom"
645
645
  }, {
@@ -686,9 +686,9 @@ const we = /* @__PURE__ */ v(tn, [["render", sn]]), ln = {
686
686
  props: { row: Object, column: Object, table: String }
687
687
  };
688
688
  function on(t, e, s, i, n, r) {
689
- var u, f, h, m, k, c, g, d;
689
+ var u, f, p, m, k, c, g, d;
690
690
  return o(), _(z(
691
- ((u = s.column) == null ? void 0 : u.format) === "custom" ? (f = s.column) == null ? void 0 : f.component : `table-format-${((m = (h = s.column) == null ? void 0 : h.format) == null ? void 0 : m.toLowerCase()) || "text"}`
691
+ ((u = s.column) == null ? void 0 : u.format) === "custom" ? (f = s.column) == null ? void 0 : f.component : `table-format-${((m = (p = s.column) == null ? void 0 : p.format) == null ? void 0 : m.toLowerCase()) || "text"}`
692
692
  ), {
693
693
  onUpdateTable: e[0] || (e[0] = (C) => t.$emit("update-table")),
694
694
  name: (k = s.column) == null ? void 0 : k.name,
@@ -728,22 +728,22 @@ const un = /* @__PURE__ */ v(rn, [["render", cn]]), dn = {
728
728
  data() {
729
729
  return { expanded: this.defaultValue };
730
730
  }
731
- }, bn = { class: "hs-accordion" }, pn = { class: "py-0.5 flex items-center gap-x-0.5 w-full" }, hn = { class: "text-sm font-medium" }, fn = { class: "relative inline-block w-full duration-150 cursor-pointer before:block before:absolute b" };
731
+ }, bn = { class: "hs-accordion" }, hn = { class: "py-0.5 flex items-center gap-x-0.5 w-full" }, pn = { class: "text-sm font-medium" }, fn = { class: "relative inline-block w-full duration-150 cursor-pointer before:block before:absolute b" };
732
732
  function mn(t, e, s, i, n, r) {
733
- const u = p("IconPlus"), f = p("IconMinus");
733
+ const u = h("IconPlus"), f = h("IconMinus");
734
734
  return o(), a("div", null, [
735
735
  l("div", null, [
736
736
  l("div", bn, [
737
- l("div", pn, [
737
+ l("div", hn, [
738
738
  l("div", {
739
- onClick: e[0] || (e[0] = (h) => n.expanded = !n.expanded),
739
+ onClick: e[0] || (e[0] = (p) => n.expanded = !n.expanded),
740
740
  class: "rounded-md cursor-pointer grow"
741
741
  }, [
742
- l("span", hn, T(s.title), 1)
742
+ l("span", pn, T(s.title), 1)
743
743
  ]),
744
744
  l("button", {
745
745
  class: "flex items-center justify-center rounded-md size-6 hover:bg-gray-100",
746
- onClick: e[1] || (e[1] = (h) => n.expanded = !n.expanded)
746
+ onClick: e[1] || (e[1] = (p) => n.expanded = !n.expanded)
747
747
  }, [
748
748
  n.expanded ? (o(), _(f, {
749
749
  key: 1,
@@ -784,7 +784,7 @@ const gn = /* @__PURE__ */ v(dn, [["render", mn], ["__scopeId", "data-v-c6318482
784
784
  }, vn = { class: "flex items-center justify-between py-1 gap-x-4" }, kn = { class: "col-span-1" }, wn = { class: "inline-flex items-center gap-x-2 text-[13px] text-gray-500 dark:text-neutral-500" }, Cn = { class: "col-span-2" }, $n = { class: "font-medium text-[13px] text-gray-800 dark:text-neutral-200" }, An = { class: "table-info-card" }, Sn = { class: "table-info-card" };
785
785
  function Tn(t, e, s, i, n, r) {
786
786
  var g, d, C;
787
- const u = p("AdminComponentIs"), f = p("AdminTree"), h = p("VsWidgetMap"), m = p("VsNoData"), k = p("VsWidgetComments"), c = p("VsWidgetFileList");
787
+ const u = h("AdminComponentIs"), f = h("AdminTree"), p = h("VsWidgetMap"), m = h("VsNoData"), k = h("VsWidgetComments"), c = h("VsWidgetFileList");
788
788
  return o(), a("div", yn, [
789
789
  e[0] || (e[0] = l("div", { class: "p-[10px] pl-[18px] pb-[18px] border-b" }, [
790
790
  l("h2", { class: "text-sm font-medium" }, "Інформація про об'єкт")
@@ -823,7 +823,7 @@ function Tn(t, e, s, i, n, r) {
823
823
  default: $(() => {
824
824
  var y, A;
825
825
  return [
826
- (y = s.row) != null && y.geom ? (o(), _(h, {
826
+ (y = s.row) != null && y.geom ? (o(), _(p, {
827
827
  key: 0,
828
828
  geometry: (A = s.row) == null ? void 0 : A.geom,
829
829
  zoom: 14
@@ -935,10 +935,10 @@ const Ln = /* @__PURE__ */ v(Mn, [["render", zn]]), Pn = {
935
935
  class: "font-medium text-[10px] py-0.5 px-[5px] bg-gray-800 text-white leading-3 rounded-full dark:bg-neutral-500"
936
936
  }, Un = { class: "filter-content h-screen bg-white w-[400px] p-[20px] pt-[10px] overflow-x-auto bg-white [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar:horizontal]:h-[8px] [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500" };
937
937
  function On(t, e, s, i, n, r) {
938
- const u = p("IconFilter"), f = p("VsFilter");
938
+ const u = h("IconFilter"), f = h("VsFilter");
939
939
  return o(), a(S, null, [
940
940
  l("button", {
941
- onClick: e[0] || (e[0] = (h) => n.isFilters = !n.isFilters),
941
+ onClick: e[0] || (e[0] = (p) => n.isFilters = !n.isFilters),
942
942
  class: "py-2 px-2.5 inline-flex items-center gap-x-1.5 text-xs font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700"
943
943
  }, [
944
944
  x(u, {
@@ -950,7 +950,7 @@ function On(t, e, s, i, n, r) {
950
950
  ]),
951
951
  x(B, { name: "fade" }, {
952
952
  default: $(() => {
953
- var h;
953
+ var p;
954
954
  return [
955
955
  P(l("div", {
956
956
  onClick: e[3] || (e[3] = (...m) => r.closeFilter && r.closeFilter(...m)),
@@ -958,7 +958,7 @@ function On(t, e, s, i, n, r) {
958
958
  class: "fixed filter-container top-0 flex justify-end items-center z-[2] right-0 left-0 bottom-0 bg-[rgba(0,0,0,0.5)]"
959
959
  }, [
960
960
  l("div", Un, [
961
- (h = s.scheme) != null && h.length ? (o(), _(f, {
961
+ (p = s.scheme) != null && p.length ? (o(), _(f, {
962
962
  key: 0,
963
963
  ref: "filter",
964
964
  scheme: s.scheme,
@@ -1023,7 +1023,7 @@ const Qn = /* @__PURE__ */ v(Gn, [["render", Kn]]), Xn = {
1023
1023
  props: { filterCustom: String, customList: Array }
1024
1024
  }, Yn = { class: "py-2 px-2.5 inline-flex items-center gap-x-1.5 text-xs font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700" }, es = { class: "flex flex-col gap-[4px]" }, ts = ["onClick"];
1025
1025
  function ns(t, e, s, i, n, r) {
1026
- const u = p("IconFilter2"), f = p("VsPopover");
1026
+ const u = h("IconFilter2"), f = h("VsPopover");
1027
1027
  return o(), _(f, {
1028
1028
  ref: "popover",
1029
1029
  placement: "bottom"
@@ -1038,17 +1038,17 @@ function ns(t, e, s, i, n, r) {
1038
1038
  ]),
1039
1039
  default: $(() => [
1040
1040
  l("div", es, [
1041
- (o(!0), a(S, null, D(s.customList, (h, m) => (o(), a("button", {
1041
+ (o(!0), a(S, null, D(s.customList, (p, m) => (o(), a("button", {
1042
1042
  onClick: (k) => {
1043
1043
  var c;
1044
- t.$emit("update:filterCustom", h == null ? void 0 : h.name), (c = t.$refs) == null || c.popover.togglePopover();
1044
+ t.$emit("update:filterCustom", p == null ? void 0 : p.name), (c = t.$refs) == null || c.popover.togglePopover();
1045
1045
  },
1046
1046
  key: m,
1047
- class: I(["p-[8px] block rounded-lg w-[140px] text-start hover:bg-gray-100 !duration-300", { "bg-gray-100": s.filterCustom === (h == null ? void 0 : h.name) }])
1048
- }, T(h == null ? void 0 : h.label), 11, ts))), 128)),
1047
+ class: I(["p-[8px] block rounded-lg w-[140px] text-start hover:bg-gray-100 !duration-300", { "bg-gray-100": s.filterCustom === (p == null ? void 0 : p.name) }])
1048
+ }, T(p == null ? void 0 : p.label), 11, ts))), 128)),
1049
1049
  l("button", {
1050
1050
  class: "p-[8px] block rounded-lg w-[140px] text-start hover:bg-gray-100 !duration-300",
1051
- onClick: e[0] || (e[0] = (h) => {
1051
+ onClick: e[0] || (e[0] = (p) => {
1052
1052
  var m;
1053
1053
  t.$emit("update:filterCustom", void 0), (m = t.$refs) == null || m.popover.togglePopover();
1054
1054
  })
@@ -1064,8 +1064,8 @@ const ss = /* @__PURE__ */ v(Xn, [["render", ns]]), ls = { class: "flex items-ce
1064
1064
  slots: Object
1065
1065
  },
1066
1066
  setup(t) {
1067
- var f, h, m, k, c;
1068
- const { asyncTemplateSlot: e } = (c = (k = (m = (h = (f = Ue()) == null ? void 0 : f.appContext) == null ? void 0 : h.app) == null ? void 0 : m.config) == null ? void 0 : k.globalProperties) == null ? void 0 : c.utils, s = _e(""), i = _e(""), n = t, r = () => {
1067
+ var f, p, m, k, c;
1068
+ const { asyncTemplateSlot: e } = (c = (k = (m = (p = (f = Ue()) == null ? void 0 : f.appContext) == null ? void 0 : p.app) == null ? void 0 : m.config) == null ? void 0 : k.globalProperties) == null ? void 0 : c.utils, s = _e(""), i = _e(""), n = t, r = () => {
1069
1069
  var g, d, C, y, A;
1070
1070
  if ((g = n.slots) != null && g.panelLeft || (i.value = "div"), (C = (d = n.slots) == null ? void 0 : d.panelLeft) != null && C.includes("<")) {
1071
1071
  const V = e("PanelLeft", (y = n.slots) == null ? void 0 : y.panelLeft, [
@@ -1214,8 +1214,8 @@ const ss = /* @__PURE__ */ v(Xn, [["render", ns]]), ls = { class: "flex items-ce
1214
1214
  },
1215
1215
  methods: {
1216
1216
  async checkUrlMounted() {
1217
- var t, e, s, i, n, r, u, f, h, m, k, c, g, d, C, y, A;
1218
- this.page = ((e = (t = this.$route) == null ? void 0 : t.query) == null ? void 0 : e.page) || 1, this.limit = ((i = (s = this.$route) == null ? void 0 : s.query) == null ? void 0 : i.limit) || 20, this.filters = ((u = decodeURI((r = (n = this.$route) == null ? void 0 : n.query) == null ? void 0 : r.filter)) == null ? void 0 : u.replaceAll("+", " ")) || null, this.filterState = ((h = (f = this.$route) == null ? void 0 : f.query) == null ? void 0 : h.filterState) || null, this.filterCustom = ((k = (m = this.$route) == null ? void 0 : m.query) == null ? void 0 : k.custom) || null, this.searchValue = ((g = (c = this.$route) == null ? void 0 : c.query) == null ? void 0 : g.search) || "", this.visibleColumns = ((y = (C = (d = this.$route) == null ? void 0 : d.query) == null ? void 0 : C.columns) == null ? void 0 : y.split(",")) || [], (A = this.$route) != null && A.query.card && (this.isVisibleCardInfo = !0);
1217
+ var t, e, s, i, n, r, u, f, p, m, k, c, g, d, C, y, A;
1218
+ this.page = ((e = (t = this.$route) == null ? void 0 : t.query) == null ? void 0 : e.page) || 1, this.limit = ((i = (s = this.$route) == null ? void 0 : s.query) == null ? void 0 : i.limit) || 20, this.filters = ((u = decodeURI((r = (n = this.$route) == null ? void 0 : n.query) == null ? void 0 : r.filter)) == null ? void 0 : u.replaceAll("+", " ")) || null, this.filterState = ((p = (f = this.$route) == null ? void 0 : f.query) == null ? void 0 : p.filterState) || null, this.filterCustom = ((k = (m = this.$route) == null ? void 0 : m.query) == null ? void 0 : k.custom) || null, this.searchValue = ((g = (c = this.$route) == null ? void 0 : c.query) == null ? void 0 : g.search) || "", this.visibleColumns = ((y = (C = (d = this.$route) == null ? void 0 : d.query) == null ? void 0 : C.columns) == null ? void 0 : y.split(",")) || [], (A = this.$route) != null && A.query.card && (this.isVisibleCardInfo = !0);
1219
1219
  },
1220
1220
  rowWidth(t) {
1221
1221
  var s, i;
@@ -1229,7 +1229,7 @@ const ss = /* @__PURE__ */ v(Xn, [["render", ns]]), ls = { class: "flex items-ce
1229
1229
  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 = "";
1230
1230
  },
1231
1231
  async getTableData() {
1232
- var t, e, s, i, n, r, u, f, h, m, k;
1232
+ var t, e, s, i, n, r, u, f, p, m, k;
1233
1233
  try {
1234
1234
  const { data: c } = await F.get(`/api/template/table/${this.table}`), g = await F.get(`/api/table-data/${this.table}`, {
1235
1235
  params: {
@@ -1248,7 +1248,7 @@ const ss = /* @__PURE__ */ v(Xn, [["render", ns]]), ls = { class: "flex items-ce
1248
1248
  }, this.initialHiddenColumns = (r = (n = (i = (s = this.tableData) == null ? void 0 : s.columns) == null ? void 0 : i.filter((d) => (d == null ? void 0 : d.hidden) !== !0)) == null ? void 0 : n.map((d) => d == null ? void 0 : d.name)) == null ? void 0 : r.join(","), (u = this.visibleColumns) != null && u.length ? (f = this.tableData) == null || f.columns.forEach((d) => {
1249
1249
  var C;
1250
1250
  (C = this.visibleColumns) != null && C.includes(d == null ? void 0 : d.name) ? d.hidden = !1 : d.hidden = !0;
1251
- }) : this.visibleColumns = (k = (m = (h = this.tableData) == null ? void 0 : h.columns) == null ? void 0 : m.filter((d) => (d == null ? void 0 : d.hidden) !== !0)) == null ? void 0 : k.map((d) => d == null ? void 0 : d.name);
1251
+ }) : this.visibleColumns = (k = (m = (p = this.tableData) == null ? void 0 : p.columns) == null ? void 0 : m.filter((d) => (d == null ? void 0 : d.hidden) !== !0)) == null ? void 0 : k.map((d) => d == null ? void 0 : d.name);
1252
1252
  } catch {
1253
1253
  }
1254
1254
  },
@@ -1299,7 +1299,7 @@ const ss = /* @__PURE__ */ v(Xn, [["render", ns]]), ls = { class: "flex items-ce
1299
1299
  }, is = { class: "w-[calc(100vw - 320px)] bg-gray-50" }, cs = { class: "h-[76px] mt-[15px] flex items-center justify-between mx-[20px] px-[20px] bg-white border rounded-xl" }, us = { class: "text-xl font-medium" }, ds = {
1300
1300
  style: { height: "calc(100vh - 155px)", width: "calc(100vw - 260px)" },
1301
1301
  class: "bg-gray-50 p-[20px] flex pt-[10px]"
1302
- }, bs = { class: "bg-white w-full rounded-xl border p-[20px] pr-0" }, ps = { class: "flex" }, hs = { class: "flex gap-[6px] ml-auto" }, fs = { class: "inline-block w-full align-middle" }, ms = {
1302
+ }, bs = { class: "bg-white w-full rounded-xl border p-[20px] pr-0" }, hs = { class: "flex" }, ps = { class: "flex gap-[6px] ml-auto" }, fs = { class: "inline-block w-full align-middle" }, ms = {
1303
1303
  key: 0,
1304
1304
  class: "relative w-max min-w-full divide-y divide-gray-200 table-fixed dark:divide-neutral-700"
1305
1305
  }, gs = { class: "sticky top-[-1px] bg-white w-full after:absolute after:content-[''] after:block after:w-full after:h-px after:bg-stone-200" }, xs = { class: "right-0 border-t border-stone-200" }, ys = {
@@ -1311,7 +1311,7 @@ const ss = /* @__PURE__ */ v(Xn, [["render", ns]]), ls = { class: "flex items-ce
1311
1311
  };
1312
1312
  function Is(t, e, s, i, n, r) {
1313
1313
  var O, E, N, H, R, W, Z, G, J, K, Q, X, Y, ee, te, ne, se, le, oe, re, ae, ie;
1314
- const u = p("IconPlus"), f = p("router-link"), h = p("AdminTableTabs"), m = p("IconSearch"), k = p("VsText"), c = p("AdminTableCustomButtons"), g = p("AdminTableCustomFilters"), d = p("AdminTableColumnsHidden"), C = p("AdminTableExport"), y = p("AdminTableFilters"), A = p("IconOpenCard"), V = p("AdminTableColumn"), M = p("AdminComponentIs"), U = p("AdminTableControl"), $e = p("AdminNodata"), Ae = p("VsPagination"), Se = p("AdminTableCardInfo");
1314
+ const u = h("IconPlus"), f = h("router-link"), p = h("AdminTableTabs"), m = h("IconSearch"), k = h("VsText"), c = h("AdminTableCustomButtons"), g = h("AdminTableCustomFilters"), d = h("AdminTableColumnsHidden"), C = h("AdminTableExport"), y = h("AdminTableFilters"), A = h("IconOpenCard"), V = h("AdminTableColumn"), M = h("AdminComponentIs"), U = h("AdminTableControl"), $e = h("AdminNodata"), Ae = h("VsPagination"), Se = h("AdminTableCardInfo");
1315
1315
  return o(), a("div", is, [
1316
1316
  l("div", cs, [
1317
1317
  l("h2", us, T(s.title), 1),
@@ -1332,13 +1332,13 @@ function Is(t, e, s, i, n, r) {
1332
1332
  ]),
1333
1333
  l("div", ds, [
1334
1334
  l("div", bs, [
1335
- (H = (N = n.tableData) == null ? void 0 : N.filterState) != null && H.length ? (o(), _(h, {
1335
+ (H = (N = n.tableData) == null ? void 0 : N.filterState) != null && H.length ? (o(), _(p, {
1336
1336
  key: 0,
1337
1337
  tabsList: (R = n.tableData) == null ? void 0 : R.filterState,
1338
1338
  filterState: n.filterState,
1339
1339
  "onUpdate:filterState": e[0] || (e[0] = (b) => n.filterState = b)
1340
1340
  }, null, 8, ["tabsList", "filterState"])) : w("", !0),
1341
- l("div", ps, [
1341
+ l("div", hs, [
1342
1342
  l("div", {
1343
1343
  class: I([n.isVisibleCardInfo ? "w-[calc(100%-360px)]" : "w-full"])
1344
1344
  }, [
@@ -1357,7 +1357,7 @@ function Is(t, e, s, i, n, r) {
1357
1357
  clearable: !0,
1358
1358
  class: "[&>input]:py-[7px] [&>input]:ps-10 [&>input]:pe-8 [&>input]:block [&>input]:w-full [&>input]:bg-gray-100 [&>input]:border-transparent [&>input]:rounded-lg [&>input]:text-sm [&>input]:focus:bg-white [&>input]:focus:border-blue-500 [&>input]:focus:ring-blue-500 [&>input]:disabled:opacity-50 [&>input]:disabled:pointer-events-none [&>input]:dark:bg-neutral-700 [&>input]:dark:border-transparent [&>input]:dark:text-neutral-400 [&>input]:dark:placeholder:text-neutral-400 dark:focus:bg-neutral-800 dark:focus:ring-neutral-600"
1359
1359
  }, null, 8, ["modelValue"]),
1360
- l("div", hs, [
1360
+ l("div", ps, [
1361
1361
  (W = n.tableData) != null && W.slots ? (o(), _(c, {
1362
1362
  key: 0,
1363
1363
  slots: (Z = n.tableData) == null ? void 0 : Z.slots
@@ -1425,7 +1425,7 @@ function Is(t, e, s, i, n, r) {
1425
1425
  ]),
1426
1426
  l("tbody", _s, [
1427
1427
  (o(!0), a(S, null, D((le = n.tableData) == null ? void 0 : le.rows, (b, Te) => {
1428
- var ce, ue, de, be, pe, he, fe, me, ge, xe;
1428
+ var ce, ue, de, be, he, pe, fe, me, ge, xe;
1429
1429
  return o(), a("tr", {
1430
1430
  key: Te,
1431
1431
  class: I({
@@ -1449,7 +1449,7 @@ function Is(t, e, s, i, n, r) {
1449
1449
  ]),
1450
1450
  (o(!0), a(S, null, D((be = r.columns) == null ? void 0 : be.slice(1), (q) => (o(), a("td", {
1451
1451
  onClick: (qs) => r.changeActiveCardInfo(b == null ? void 0 : b.id),
1452
- class: I(["px-3 py-3 text-sm text-gray-600 text-start whitespace-nowrap", { "cursor-pointer": n.isVisibleCardInfo }]),
1452
+ class: I(["px-3 py-3 text-sm text-gray-600 text-start", { "cursor-pointer": n.isVisibleCardInfo }]),
1453
1453
  key: q.name
1454
1454
  }, [
1455
1455
  x(M, {
@@ -1459,7 +1459,7 @@ function Is(t, e, s, i, n, r) {
1459
1459
  onUpdateTable: r.getTableData
1460
1460
  }, null, 8, ["row", "column", "table", "onUpdateTable"])
1461
1461
  ], 10, ws))), 128)),
1462
- (he = (pe = r.getActions) == null ? void 0 : pe.filter((q) => q !== "add")) != null && he.length ? (o(), a("td", {
1462
+ (pe = (he = r.getActions) == null ? void 0 : he.filter((q) => q !== "add")) != null && pe.length ? (o(), a("td", {
1463
1463
  key: 0,
1464
1464
  class: I(["text-center sticky right-0 w-[80px] px-[10px]", {
1465
1465
  "bg-gray-50": ((me = (fe = t.$route) == null ? void 0 : fe.query) == null ? void 0 : me.card) === (b == null ? void 0 : b.id),
@@ -1524,7 +1524,7 @@ function Is(t, e, s, i, n, r) {
1524
1524
  ])
1525
1525
  ]);
1526
1526
  }
1527
- const Ds = /* @__PURE__ */ v(as, [["render", Is], ["__scopeId", "data-v-f939b7ed"]]), Fs = {
1527
+ const Ds = /* @__PURE__ */ v(as, [["render", Is], ["__scopeId", "data-v-ec85e237"]]), Fs = {
1528
1528
  components: { AdminTable: Ds },
1529
1529
  data() {
1530
1530
  return {
@@ -1582,7 +1582,7 @@ const Ds = /* @__PURE__ */ v(as, [["render", Is], ["__scopeId", "data-v-f939b7ed
1582
1582
  }
1583
1583
  }, js = ["innerHTML"];
1584
1584
  function Ms(t, e, s, i, n, r) {
1585
- const u = p("AdminTable");
1585
+ const u = h("AdminTable");
1586
1586
  return n.table ? (o(), _(u, {
1587
1587
  key: 0,
1588
1588
  table: n.table,
@@ -1,6 +1,6 @@
1
- import { _, I as F, u as D, s as T, a as R, b as q, c as j } from "./import-file-DoWm0VXP.js";
1
+ import { _, I as F, u as D, s as T, a as R, b as q, c as j } from "./import-file-By5-gtTh.js";
2
2
  import { openBlock as l, createElementBlock as c, createElementVNode as n, createStaticVNode as G, resolveComponent as p, normalizeClass as I, createTextVNode as B, toDisplayString as U, createVNode as u, Transition as J, withCtx as A, withDirectives as K, Fragment as Z, renderList as Q, vShow as P, createCommentVNode as E, withModifiers as W, createBlock as X, resolveDynamicComponent as Y } from "vue";
3
- import { I as e1 } from "./IconChevronDown-CHEXfG3v.js";
3
+ import { I as e1 } from "./IconChevronDown-BJPl2auV.js";
4
4
  const t1 = {}, o1 = {
5
5
  xmlns: "http://www.w3.org/2000/svg",
6
6
  viewBox: "0 0 24 24",
package/dist/admin.js CHANGED
@@ -1,4 +1,4 @@
1
- import { h as f } from "./import-file-DoWm0VXP.js";
1
+ import { h as f } from "./import-file-By5-gtTh.js";
2
2
  export {
3
3
  f as default
4
4
  };