@opengis/admin 0.2.94 → 0.2.96

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- import { _ as g, u as f, e as u } from "./import-file-C12CZdlT.js";
1
+ import { _ as g, u as f, e as u } from "./import-file-B5mxodWe.js";
2
2
  import { resolveComponent as x, openBlock as h, createElementBlock as w, createElementVNode as n, createBlock as y, normalizeStyle as k, createCommentVNode as v } from "vue";
3
3
  const V = {
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 lt } from "./import-file-C12CZdlT.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 lt } from "./import-file-B5mxodWe.js";
2
2
  import { openBlock as o, createElementBlock as i, createTextVNode as P, toDisplayString as $, createElementVNode as l, normalizeClass as S, createCommentVNode as v, resolveComponent as b, Fragment as C, createVNode as g, withCtx as I, createBlock as k, renderList as D, withModifiers as rt, 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() {
@@ -1610,7 +1610,7 @@ const On = /* @__PURE__ */ T(Vn, [["render", qn]]), Bn = {
1610
1610
  },
1611
1611
  async handlePageChange(t, e) {
1612
1612
  const n = this.$route.query;
1613
- this.page = t, await this.$router.replace({ query: { ...n, page: t, limit: e } }), await this.getTableData();
1613
+ this.page = t, this.limit = e, await this.$router.replace({ query: { ...n, page: t, limit: e } }), await this.getTableData();
1614
1614
  },
1615
1615
  async filterChange({ url: t, state: e }) {
1616
1616
  var n;
@@ -1901,7 +1901,7 @@ function il(t, e, n, a, s, r) {
1901
1901
  ])
1902
1902
  ]);
1903
1903
  }
1904
- const dl = /* @__PURE__ */ T(Bn, [["render", il], ["__scopeId", "data-v-87a0d788"]]), ul = {
1904
+ const dl = /* @__PURE__ */ T(Bn, [["render", il], ["__scopeId", "data-v-dc5b48b8"]]), ul = {
1905
1905
  components: { AdminTable: dl },
1906
1906
  data() {
1907
1907
  return {
@@ -1,5 +1,5 @@
1
- import { _ as x, I as K, s as w, a as W, u as T, b as X, c as Y, d as ee, e as A, f as q } from "./import-file-C12CZdlT.js";
2
- import { openBlock as n, createElementBlock as i, createElementVNode as o, createStaticVNode as P, resolveComponent as p, normalizeClass as f, createTextVNode as B, toDisplayString as N, createCommentVNode as C, createVNode as h, Transition as te, withCtx as y, withDirectives as re, Fragment as j, renderList as F, vShow as le, createBlock as U, resolveDynamicComponent as S, withModifiers as oe } from "vue";
1
+ import { _ as x, I as K, s as C, a as W, u as T, b as X, c as Y, d as ee, e as A, f as q } from "./import-file-B5mxodWe.js";
2
+ import { openBlock as n, createElementBlock as i, createElementVNode as o, createStaticVNode as P, resolveComponent as p, normalizeClass as f, createTextVNode as B, toDisplayString as N, createCommentVNode as w, createVNode as h, Transition as te, withCtx as y, withDirectives as re, Fragment as j, renderList as F, vShow as le, createBlock as U, resolveDynamicComponent as S, withModifiers as oe } from "vue";
3
3
  const se = {}, ne = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 24 24",
@@ -62,7 +62,7 @@ const de = /* @__PURE__ */ x(ie, [["render", ce]]), he = {
62
62
  computed: {
63
63
  darkMode() {
64
64
  var t, e;
65
- return (e = (t = w) == null ? void 0 : t.value) == null ? void 0 : e.sidebarDark;
65
+ return (e = (t = C) == null ? void 0 : t.value) == null ? void 0 : e.sidebarDark;
66
66
  }
67
67
  },
68
68
  methods: {
@@ -113,7 +113,7 @@ function xe(t, e, l, u, s, r) {
113
113
  ]])
114
114
  }, [
115
115
  B(N((_ = l.route) == null ? void 0 : _.ua) + " ", 1),
116
- (z = l.route) != null && z.new ? (n(), i("span", ge, "Нове")) : C("", !0),
116
+ (z = l.route) != null && z.new ? (n(), i("span", ge, "Нове")) : w("", !0),
117
117
  h(k, {
118
118
  class: f([[s.isOpen && "-rotate-180"], "ml-auto duration-300"]),
119
119
  width: "14",
@@ -153,7 +153,7 @@ function xe(t, e, l, u, s, r) {
153
153
  }),
154
154
  _: 1
155
155
  })
156
- ])) : (M = l.route) != null && M.hidden ? C("", !0) : (n(), i("div", fe, [
156
+ ])) : (M = l.route) != null && M.hidden ? w("", !0) : (n(), i("div", fe, [
157
157
  h(m, {
158
158
  to: ((L = (H = l.route) == null ? void 0 : H.path) == null ? void 0 : L[0]) === "/" ? (v = l.route) == null ? void 0 : v.path : "/" + ((V = l.route) == null ? void 0 : V.path),
159
159
  class: f([[
@@ -186,7 +186,7 @@ const me = /* @__PURE__ */ x(he, [["render", xe]]), ke = {}, ve = {
186
186
  "stroke-linecap": "round",
187
187
  "stroke-linejoin": "round"
188
188
  };
189
- function we(t, e, l, u, s, r) {
189
+ function Ce(t, e, l, u, s, r) {
190
190
  return n(), i("svg", ve, e[0] || (e[0] = [
191
191
  o("circle", {
192
192
  cx: "12",
@@ -197,7 +197,7 @@ function we(t, e, l, u, s, r) {
197
197
  o("path", { d: "M12 17h.01" }, null, -1)
198
198
  ]));
199
199
  }
200
- const J = /* @__PURE__ */ x(ke, [["render", we]]), Ce = {}, _e = {
200
+ const J = /* @__PURE__ */ x(ke, [["render", Ce]]), we = {}, _e = {
201
201
  class: "shrink-0 size-4 rounded-full",
202
202
  xmlns: "http://www.w3.org/2000/svg",
203
203
  viewBox: "0 0 512 512"
@@ -207,7 +207,7 @@ function ye(t, e, l, u, s, r) {
207
207
  P('<g fill-rule="evenodd"><g stroke-width="1pt"><path fill="#bd3d44" d="M0 0h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0z" transform="scale(3.9385)"></path><path fill="#fff" d="M0 10h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0z" transform="scale(3.9385)"></path></g><path fill="#192f5d" d="M0 0h98.8v70H0z" transform="scale(3.9385)"></path><path fill="#fff" d="M8.2 3l1 2.8H12L9.7 7.5l.9 2.7-2.4-1.7L6 10.2l.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7L74 8.5l-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 7.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm-74.1 7l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7H65zm16.4 0l1 2.8H86l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm-74 7l.8 2.8h3l-2.4 1.7.9 2.7-2.4-1.7L6 24.2l.9-2.7-2.4-1.7h3zm16.4 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 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1.7h3zm16.4 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 63.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9z" transform="scale(3.9385)"></path></g>', 1)
208
208
  ]));
209
209
  }
210
- const ze = /* @__PURE__ */ x(Ce, [["render", ye]]), Me = {}, He = {
210
+ const ze = /* @__PURE__ */ x(we, [["render", ye]]), Me = {}, He = {
211
211
  xmlns: "http://www.w3.org/2000/svg",
212
212
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
213
213
  version: "1.1",
@@ -283,7 +283,7 @@ const De = /* @__PURE__ */ x(Ie, [["render", Oe]]), Ee = {
283
283
  },
284
284
  darkMode() {
285
285
  var t, e;
286
- return (e = (t = w) == null ? void 0 : t.value) == null ? void 0 : e.sidebarDark;
286
+ return (e = (t = C) == null ? void 0 : t.value) == null ? void 0 : e.sidebarDark;
287
287
  }
288
288
  },
289
289
  methods: {
@@ -333,7 +333,7 @@ function Te(t, e, l, u, s, r) {
333
333
  (n(), U(S(a == null ? void 0 : a.icon), { class: "w-[16px] h-[16px] rounded-full" })),
334
334
  o("div", Ze, N(s.currentLang === "ukraine" ? a == null ? void 0 : a.titleUA : a == null ? void 0 : a.titleEN), 1),
335
335
  o("span", je, [
336
- (a == null ? void 0 : a.id) === s.currentLang ? (n(), U(k, { key: 0 })) : C("", !0)
336
+ (a == null ? void 0 : a.id) === s.currentLang ? (n(), U(k, { key: 0 })) : w("", !0)
337
337
  ])
338
338
  ], 10, Ne))), 128))
339
339
  ])
@@ -341,7 +341,7 @@ function Te(t, e, l, u, s, r) {
341
341
  _: 1
342
342
  }, 512)
343
343
  ])
344
- ], 2)) : C("", !0);
344
+ ], 2)) : w("", !0);
345
345
  }
346
346
  const Be = /* @__PURE__ */ x(Ee, [["render", Te]]), Se = {
347
347
  components: { IconLogout: G, NavbarItem: me, IconLogo: de, IconSearch: W, NavbarFooter: Be },
@@ -358,23 +358,24 @@ const Be = /* @__PURE__ */ x(Ee, [["render", Te]]), Se = {
358
358
  },
359
359
  logo() {
360
360
  var t;
361
- return ((t = w.value) == null ? void 0 : t.logo) || "/assets/logo.svg";
361
+ return ((t = C.value) == null ? void 0 : t.logo) || "/assets/logo.svg";
362
362
  },
363
363
  docs() {
364
364
  var t, e;
365
- return (e = (t = w) == null ? void 0 : t.value) == null ? void 0 : e.docs;
365
+ return (e = (t = C) == null ? void 0 : t.value) == null ? void 0 : e.docs;
366
366
  },
367
367
  languages() {
368
368
  var t, e;
369
- return (e = (t = w) == null ? void 0 : t.value) == null ? void 0 : e.languages;
369
+ return (e = (t = C) == null ? void 0 : t.value) == null ? void 0 : e.languages;
370
370
  },
371
371
  darkMode() {
372
372
  var t, e;
373
- return (e = (t = w) == null ? void 0 : t.value) == null ? void 0 : e.sidebarDark;
373
+ return ((e = (t = C) == null ? void 0 : t.value) == null ? void 0 : e.sidebarDark) || !1;
374
374
  },
375
375
  darkColor() {
376
- var t, e, l, u;
377
- return ((e = (t = w) == null ? void 0 : t.value) == null ? void 0 : e.sidebarColor) || ((u = (l = w) == null ? void 0 : l.value) == null ? void 0 : u.color) || "blue";
376
+ var e, l, u, s;
377
+ const t = ((l = (e = C) == null ? void 0 : e.value) == null ? void 0 : l.sidebarColor) || ((s = (u = C) == null ? void 0 : u.value) == null ? void 0 : s.color) || "blue";
378
+ return t.includes("-") || t.includes("[") ? t : t + "-950";
378
379
  }
379
380
  },
380
381
  watch: {
@@ -406,8 +407,8 @@ function Je(t, e, l, u, s, r) {
406
407
  return n(), i("div", {
407
408
  class: f(["lg:flex lg:relative lg:left-0 flex-col h-[100vh] pt-3 border-r w-[260px] top-0 bottom-0 shrink-0 absolute transition left-[-100%] z-[11]", {
408
409
  "left-0": t.$parent.showMenu,
409
- ["bg-" + r.darkColor + "-950"]: r.darkMode,
410
- "bg-white": !r.darkMode
410
+ ["bg-" + r.darkColor]: r.darkColor,
411
+ "bg-white": !r.darkMode && !r.darkColor
411
412
  }])
412
413
  }, [
413
414
  o("div", Pe, [
@@ -429,7 +430,7 @@ function Je(t, e, l, u, s, r) {
429
430
  placeholder: "Пошук по меню",
430
431
  class: f(["[&>input]:h-[38px]", {
431
432
  "[&>input]:bg-[#172554] [&>input]:text-white/80 [&>input]:placeholder:text-white/40 [&>input]:border [&>input]:border-white/50": r.darkMode,
432
- ["[&>input]:bg-" + r.darkColor + "-950"]: r.darkMode,
433
+ ["[&>input]:bg-" + r.darkColor]: r.darkColor,
433
434
  ["focus:[&>input]:border-" + r.darkColor + "-500"]: r.darkMode
434
435
  }])
435
436
  }, null, 8, ["modelValue", "class"])
@@ -464,10 +465,10 @@ function Je(t, e, l, u, s, r) {
464
465
  key: 0,
465
466
  docs: r.docs,
466
467
  languages: r.languages
467
- }, null, 8, ["docs", "languages"])) : C("", !0)
468
+ }, null, 8, ["docs", "languages"])) : w("", !0)
468
469
  ], 2);
469
470
  }
470
- const Ke = /* @__PURE__ */ x(Se, [["render", Je], ["__scopeId", "data-v-ebe4c2ff"]]), We = {
471
+ const Ke = /* @__PURE__ */ x(Se, [["render", Je], ["__scopeId", "data-v-1bcbb021"]]), We = {
471
472
  components: {
472
473
  IconQuestion: J,
473
474
  IconUser: X,
@@ -621,7 +622,7 @@ function c1(t, e, l, u, s, r) {
621
622
  e[6] || (e[6] = B(" Вийти "))
622
623
  ])
623
624
  ])
624
- ])) : C("", !0)
625
+ ])) : w("", !0)
625
626
  ])
626
627
  ])
627
628
  ]);
@@ -639,7 +640,7 @@ const d1 = /* @__PURE__ */ x(We, [["render", c1]]), h1 = {
639
640
  },
640
641
  header() {
641
642
  var t;
642
- return ((t = w.value) == null ? void 0 : t.header) || "admin-header";
643
+ return ((t = C.value) == null ? void 0 : t.header) || "admin-header";
643
644
  }
644
645
  }
645
646
  }, p1 = { class: "admin-wrapper" }, g1 = { class: "flex flex-col w-full" };
@@ -651,12 +652,12 @@ function f1(t, e, l, u, s, r) {
651
652
  key: 0,
652
653
  onClick: e[0] || (e[0] = (a) => s.showMenu = !1),
653
654
  class: "z-[10] lg:hidden transition duration fixed inset-0 bg-gray-900 bg-opacity-50 dark:bg-opacity-80 dark:bg-neutral-900"
654
- })) : C("", !0),
655
+ })) : w("", !0),
655
656
  o("div", g1, [
656
657
  r.isMenu ? (n(), i(j, { key: 0 }, [
657
658
  (n(), U(S(r.header))),
658
659
  h(m)
659
- ], 64)) : C("", !0)
660
+ ], 64)) : w("", !0)
660
661
  ])
661
662
  ]);
662
663
  }
package/dist/admin.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./import-file-C12CZdlT.js";
1
+ import { t as e } from "./import-file-B5mxodWe.js";
2
2
  export {
3
3
  e as default
4
4
  };