@opengis/admin 0.3.76 → 0.3.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { _ as d, s as f, u as g, g as m } from "./import-file-BcwoHMHl.js";
1
+ import { _ as d, s as f, u as g, g as m } from "./import-file-BSRkcRkP.js";
2
2
  import { resolveComponent as b, openBlock as h, createElementBlock as x, createElementVNode as i, normalizeClass as y, normalizeStyle as p, createBlock as w, createCommentVNode as v } from "vue";
3
3
  const $ = {
4
4
  data() {
@@ -1,4 +1,4 @@
1
- import { _ as S, h as Je, i as Ge, j as Qe, g as M, I as Xe, s as E, k as Ue, l as Q, A as X, V as Ye, m as Ze, n as et, o as tt, p as st, b as nt, q as at, a as lt, r as rt, t as ot, u as Ee } from "./import-file-BcwoHMHl.js";
1
+ import { _ as S, h as Je, i as Ge, j as Qe, g as M, I as Xe, s as E, k as Ue, l as Q, A as X, V as Ye, m as Ze, n as et, o as tt, p as st, b as nt, q as at, a as lt, r as rt, t as ot, u as Ee } from "./import-file-BSRkcRkP.js";
2
2
  import { openBlock as r, createElementBlock as i, createTextVNode as P, toDisplayString as A, createElementVNode as l, normalizeClass as w, createCommentVNode as k, resolveComponent as f, Fragment as $, createVNode as x, withCtx as D, createBlock as v, renderList as V, withModifiers as it, createStaticVNode as dt, withDirectives as U, vModelCheckbox as ut, Transition as W, vModelText as ct, renderSlot as ht, vShow as Y, Teleport as pt, getCurrentInstance as Re, ref as J, resolveDynamicComponent as G, defineComponent as bt, withKeys as ft, normalizeStyle as K } from "vue";
3
3
  const gt = {
4
4
  data() {
@@ -1,5 +1,5 @@
1
1
  import { openBlock as n, createElementBlock as u, createElementVNode as o, createStaticVNode as Q, resolveComponent as p, normalizeClass as f, createTextVNode as V, toDisplayString as B, createCommentVNode as w, createVNode as h, Transition as q, withCtx as _, withDirectives as W, Fragment as U, renderList as P, vShow as J, createBlock as T, resolveDynamicComponent as F, ref as le, onMounted as ae, computed as oe, withModifiers as ne } from "vue";
2
- import { _ as y, I as K, s as g, a as X, u as A, b as se, c as Y, d as ue, e as de, f as ie, g as ce } from "./import-file-BcwoHMHl.js";
2
+ import { _ as y, I as K, s as g, a as X, u as A, b as se, c as Y, d as ue, e as de, f as ie, g as ce } from "./import-file-BSRkcRkP.js";
3
3
  import "./user-B_2kh6ic.js";
4
4
  const he = {}, ge = {
5
5
  xmlns: "http://www.w3.org/2000/svg",
@@ -95,7 +95,7 @@ const ee = /* @__PURE__ */ y(fe, [["render", xe]]), ve = {
95
95
  class: "py-0.5 px-2 inline-flex items-center gap-x-1.5 text-xs font-medium bg-blue-100 text-blue-800 rounded-full dark:bg-blue-500/10 dark:text-blue-500"
96
96
  }, _e = { key: 1 }, we = ["innerHTML"];
97
97
  function ye(t, e, r, s, a, l) {
98
- var i, v, m, H, E, k, C, z, M, $, I, O, D, N, j;
98
+ var i, v, m, H, E, k, C, z, M, $, I, O, D, j, N;
99
99
  const b = p("IconChevronDown"), x = p("router-link");
100
100
  return (i = r.route) != null && i.menu ? (n(), u("div", me, [
101
101
  o("button", {
@@ -158,7 +158,7 @@ function ye(t, e, r, s, a, l) {
158
158
  h(x, {
159
159
  to: ((z = (C = r.route) == null ? void 0 : C.path) == null ? void 0 : z[0]) === "/" ? (M = r.route) == null ? void 0 : M.path : "/" + (($ = r.route) == null ? void 0 : $.path),
160
160
  class: f([[
161
- (((I = r.route) == null ? void 0 : I.path.replace("/", "")) === t.$route.path.replace("/", "") || ((D = (O = t.$route) == null ? void 0 : O.params) == null ? void 0 : D.table) === ((N = r.route) == null ? void 0 : N.table) && ((j = r.route) == null ? void 0 : j.table)) && (l.darkMode ? "bg-white/10" : "bg-gray-100"),
161
+ (((I = r.route) == null ? void 0 : I.path.replace("/", "")) === t.$route.path.replace("/", "") || ((D = (O = t.$route) == null ? void 0 : O.params) == null ? void 0 : D.table) === ((j = r.route) == null ? void 0 : j.table) && ((N = r.route) == null ? void 0 : N.table)) && (l.darkMode ? "bg-white/10" : "bg-gray-100"),
162
162
  {
163
163
  "text-white/80 hover:bg-white/10 hover:text-white/80 focus:bg-white/10 ": l.darkMode,
164
164
  "text-gray-800 hover:bg-gray-100 hover:text-gray-800 focus:bg-gray-100 ": !l.darkMode
@@ -217,7 +217,7 @@ const Ie = /* @__PURE__ */ y(Le, [["render", $e]]), Oe = {}, De = {
217
217
  viewBox: "0 0 256 256",
218
218
  "xml:space": "preserve"
219
219
  };
220
- function Ne(t, e, r, s, a, l) {
220
+ function je(t, e, r, s, a, l) {
221
221
  return n(), u("svg", De, e[0] || (e[0] = [
222
222
  o("defs", null, null, -1),
223
223
  o("g", {
@@ -239,7 +239,7 @@ function Ne(t, e, r, s, a, l) {
239
239
  ], -1)
240
240
  ]));
241
241
  }
242
- const je = /* @__PURE__ */ y(Oe, [["render", Ne]]), Be = {}, Ee = {
242
+ const Ne = /* @__PURE__ */ y(Oe, [["render", je]]), Be = {}, Ee = {
243
243
  class: "shrink-0 size-3.5 text-gray-800 dark:text-neutral-200",
244
244
  xmlns: "http:.w3.org/2000/svg",
245
245
  width: "24",
@@ -257,7 +257,7 @@ function Te(t, e, r, s, a, l) {
257
257
  ]));
258
258
  }
259
259
  const Ue = /* @__PURE__ */ y(Be, [["render", Te]]), Ze = {
260
- components: { IconQuestion: te, IconUSA: Ie, IconUkraine: je, IconTick: Ue },
260
+ components: { IconQuestion: te, IconUSA: Ie, IconUkraine: Ne, IconTick: Ue },
261
261
  props: ["docs", "languages"],
262
262
  data() {
263
263
  return {
@@ -522,7 +522,7 @@ const R = /* @__PURE__ */ y(Re, [["render", et], ["__scopeId", "data-v-d8b78d9f"
522
522
  class: "py-0.5 px-2 inline-flex items-center gap-x-1.5 text-xs font-medium bg-blue-100 text-blue-800 rounded-full dark:bg-blue-500/10 dark:text-blue-500"
523
523
  }, at = { class: "ml-[28px] pt-[6px] before:block before:absolute relative w-[calc(100%-28px)] before:bg-gray-200 flex-col gap-y-1.5 inline-flex before:w-[2px] before:h-[100%] before:left-[-10px] cursor-pointer" }, ot = { key: 1 }, nt = ["innerHTML"];
524
524
  function st(t, e, r, s, a, l) {
525
- var i, v, m, H, E, k, C, z, M, $, I, O, D, N, j;
525
+ var i, v, m, H, E, k, C, z, M, $, I, O, D, j, N;
526
526
  const b = p("IconChevronDown"), x = p("router-link");
527
527
  return (i = r.route) != null && i.menu ? (n(), u("div", rt, [
528
528
  o("button", {
@@ -575,7 +575,7 @@ function st(t, e, r, s, a, l) {
575
575
  h(x, {
576
576
  to: ((z = (C = r.route) == null ? void 0 : C.path) == null ? void 0 : z[0]) === "/" ? (M = r.route) == null ? void 0 : M.path : "/" + (($ = r.route) == null ? void 0 : $.path),
577
577
  class: f([[
578
- (((I = r.route) == null ? void 0 : I.path.replace("/", "")) === t.$route.path.replace("/", "") || ((D = (O = t.$route) == null ? void 0 : O.params) == null ? void 0 : D.table) === ((N = r.route) == null ? void 0 : N.table) && ((j = r.route) == null ? void 0 : j.table)) && "bg-gray-200"
578
+ (((I = r.route) == null ? void 0 : I.path.replace("/", "")) === t.$route.path.replace("/", "") || ((D = (O = t.$route) == null ? void 0 : O.params) == null ? void 0 : D.table) === ((j = r.route) == null ? void 0 : j.table) && ((N = r.route) == null ? void 0 : N.table)) && "bg-gray-200"
579
579
  ], "flex items-center w-full px-3 py-2 text-sm text-gray-800 duration-300 rounded-lg gap-x-3 hover:bg-gray-200 focus:bg-gray-200"])
580
580
  }, {
581
581
  default: _(() => {
@@ -642,15 +642,15 @@ const ut = /* @__PURE__ */ y(tt, [["render", st]]), dt = { class: "relative w-fi
642
642
  ]);
643
643
  };
644
644
  }
645
- }, gt = { class: "p-5 text-center border-b relative h-[250px]" }, pt = {
645
+ }, gt = { class: "p-4 flex flex-col justify-center border-b relative max-h-[192px]" }, pt = {
646
646
  __name: "navbar-gray-user",
647
647
  setup(t) {
648
648
  return (e, r) => (n(), u("div", gt, [
649
649
  h(Y, {
650
- class: "absolute top-[-26px] right-[-100px]",
650
+ class: "!absolute top-[8px] right-[8px]",
651
651
  placement: "left"
652
652
  }),
653
- r[0] || (r[0] = o("div", { class: "flex size-24 justify-center items-center rounded-full overflow-hidden mx-auto mb-2" }, [
653
+ r[0] || (r[0] = o("div", { class: "flex size-24 justify-center items-center shrink-0 rounded-full overflow-hidden mx-auto mb-2" }, [
654
654
  o("img", {
655
655
  class: "object-cover h-[130px] w-[130px]",
656
656
  src: "https://media.istockphoto.com/id/1337144146/vector/default-avatar-profile-icon-vector.jpg?s=612x612&w=0&k=20&c=BIbFwuv7FxTWvh5S3vB6bkT0Qv8Vn8N5Ffseq84ClGI=",
@@ -729,7 +729,7 @@ function _t(t, e, r, s, a, l) {
729
729
  var i;
730
730
  const b = p("NavbarUser"), x = p("NavbarItem");
731
731
  return n(), u("div", {
732
- class: f(["lg:flex lg:relative lg:left-0 flex-col h-[100vh] pt-3 border-r w-[260px] bg-gray-100 top-0 bottom-0 shrink-0 absolute transition left-[-100%] z-[11]", {
732
+ class: f(["lg:flex lg:relative lg:left-0 flex-col h-[100vh] border-r w-[260px] bg-gray-100 top-0 bottom-0 shrink-0 absolute transition left-[-100%] z-[11]", {
733
733
  "left-0": t.$parent.showMenu
734
734
  }])
735
735
  }, [
@@ -770,7 +770,7 @@ function _t(t, e, r, s, a, l) {
770
770
  ])
771
771
  ], 2);
772
772
  }
773
- const wt = /* @__PURE__ */ y(ft, [["render", _t], ["__scopeId", "data-v-8b4c631a"]]), yt = {
773
+ const wt = /* @__PURE__ */ y(ft, [["render", _t], ["__scopeId", "data-v-05078f3f"]]), yt = {
774
774
  __name: "navbar",
775
775
  setup(t) {
776
776
  const e = {
@@ -845,7 +845,7 @@ const wt = /* @__PURE__ */ y(ft, [["render", _t], ["__scopeId", "data-v-8b4c631a
845
845
  }, It = ["src"], Ot = {
846
846
  key: 1,
847
847
  class: "flex items-center justify-center bg-gray-200 rounded-full size-10"
848
- }, Dt = { class: "grow" }, Nt = { class: "block text-sm font-medium text-gray-800 dark:text-neutral-200" }, jt = { class: "text-xs text-gray-500 dark:text-neutral-500" }, Bt = { class: "flex flex-col space-y-0.5" };
848
+ }, Dt = { class: "grow" }, jt = { class: "block text-sm font-medium text-gray-800 dark:text-neutral-200" }, Nt = { class: "text-xs text-gray-500 dark:text-neutral-500" }, Bt = { class: "flex flex-col space-y-0.5" };
849
849
  function Et(t, e, r, s, a, l) {
850
850
  const b = p("IconQuestion"), x = p("VsPopover"), i = p("AdminNotification"), v = p("IconUser"), m = p("router-link"), H = p("IconUserOutline"), E = p("IconLogout");
851
851
  return n(), u("div", {
@@ -928,7 +928,7 @@ function Et(t, e, r, s, a, l) {
928
928
  class: "py-2 px-2.5 flex items-center gap-3 rounded-lg hover:bg-gray-100 focus:outline-none focus:bg-gray-100 dark:hover:bg-neutral-800 dark:focus:bg-neutral-800"
929
929
  }, {
930
930
  default: _(() => {
931
- var k, C, z, M, $, I, O, D, N, j;
931
+ var k, C, z, M, $, I, O, D, j, N;
932
932
  return [
933
933
  (C = (k = a.userData) == null ? void 0 : k.user) != null && C.avatar ? (n(), u("img", {
934
934
  key: 0,
@@ -939,8 +939,8 @@ function Et(t, e, r, s, a, l) {
939
939
  h(v, { class: "w-[16px]" })
940
940
  ])),
941
941
  o("div", Dt, [
942
- o("span", Nt, B(((I = ($ = a.userData) == null ? void 0 : $.user) == null ? void 0 : I.username) || ((D = (O = a.userData) == null ? void 0 : O.user) == null ? void 0 : D.user_name) || "User User"), 1),
943
- o("p", jt, B(((j = (N = a.userData) == null ? void 0 : N.user) == null ? void 0 : j.email) || "email не вказано"), 1)
942
+ o("span", jt, B(((I = ($ = a.userData) == null ? void 0 : $.user) == null ? void 0 : I.username) || ((D = (O = a.userData) == null ? void 0 : O.user) == null ? void 0 : D.user_name) || "User User"), 1),
943
+ o("p", Nt, B(((N = (j = a.userData) == null ? void 0 : j.user) == null ? void 0 : N.email) || "email не вказано"), 1)
944
944
  ])
945
945
  ];
946
946
  }),
package/dist/admin.js CHANGED
@@ -1,4 +1,4 @@
1
- import { v as f } from "./import-file-BcwoHMHl.js";
1
+ import { v as f } from "./import-file-BSRkcRkP.js";
2
2
  export {
3
3
  f as default
4
4
  };