@opengis/admin 0.3.78 → 0.3.79

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,5 +1,5 @@
1
- import { _ as d, s as f, u as g, g as m } from "./import-file-V7TgsOdE.js";
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";
1
+ import { _ as d, f as m, u as f, s as g } from "./import-file-DyHdxyPP.js";
2
+ import { resolveComponent as b, createElementBlock as x, openBlock as h, createElementVNode as i, normalizeClass as y, normalizeStyle as p, createBlock as w, createCommentVNode as v } from "vue";
3
3
  const $ = {
4
4
  data() {
5
5
  return {
@@ -16,7 +16,7 @@ const $ = {
16
16
  },
17
17
  computed: {
18
18
  color() {
19
- return f.value.buttonColor || "blue";
19
+ return g.value.buttonColor || "blue";
20
20
  }
21
21
  },
22
22
  methods: {
@@ -28,7 +28,7 @@ const $ = {
28
28
  },
29
29
  async getFormScheme() {
30
30
  var l, o;
31
- const t = this.flattenMenu(g.value);
31
+ const t = this.flattenMenu(f.value);
32
32
  t != null && t.length || this.$router.replace("/404");
33
33
  const e = t == null ? void 0 : t.find((s) => {
34
34
  var r, n;
@@ -41,7 +41,7 @@ const $ = {
41
41
  const s = await m.get(`/api/table-data/${a}`), { data: r } = await m.get(
42
42
  `/api/template/form/${(l = s == null ? void 0 : s.data) == null ? void 0 : l.form}`
43
43
  );
44
- this.scheme = (r == null ? void 0 : r.schema) || r, this.style = (r == null ? void 0 : r.style) || null, this.api = (r == null ? void 0 : r.api) || "", this.token = (o = s == null ? void 0 : s.data) == null ? void 0 : o.addToken;
44
+ this.scheme = (r == null ? void 0 : r.schema) || r, this.style = (r == null ? void 0 : r.style) || null, this.api = (r == null ? void 0 : r.api) || "", this.token = ((o = s == null ? void 0 : s.data) == null ? void 0 : o.addToken) || "";
45
45
  } catch {
46
46
  }
47
47
  },
@@ -1,5 +1,5 @@
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-V7TgsOdE.js";
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";
1
+ import { _ as S, h as Je, i as Ge, j as Qe, f as M, I as Xe, s as E, k as Ue, l as Q, V as Ye, m as Ze, n as et, o as tt, A as X, p as st, b as nt, q as at, r as lt, a as rt, t as ot, u as Ee } from "./import-file-DyHdxyPP.js";
2
+ import { createElementBlock as i, openBlock as r, createTextVNode as P, createElementVNode as l, toDisplayString as A, createCommentVNode as k, normalizeClass as w, 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() {
5
5
  return {
@@ -101,9 +101,9 @@ function vt(t, e, n, o, s, a) {
101
101
  }
102
102
  const kt = /* @__PURE__ */ S(gt, [["render", vt]]), _t = {
103
103
  components: {
104
- IconMore: Je,
104
+ IconMore: Qe,
105
105
  IconDelete: Ge,
106
- IconEdit: Qe
106
+ IconEdit: Je
107
107
  },
108
108
  emits: ["updateTable"],
109
109
  props: {
@@ -774,10 +774,10 @@ const Vs = /* @__PURE__ */ S($s, [["render", Ds], ["__scopeId", "data-v-c6318482
774
774
  components: {
775
775
  AdminComponentIs: X,
776
776
  AdminTree: Vs,
777
- VsNoData: Ye,
778
- VsWidgetComments: Ze,
779
- VsWidgetMap: et,
780
- VsWidgetFileList: tt
777
+ VsNoData: tt,
778
+ VsWidgetComments: et,
779
+ VsWidgetMap: Ze,
780
+ VsWidgetFileList: Ye
781
781
  },
782
782
  props: { table: String, columns: Array, row: Object }
783
783
  }, Fs = {
@@ -1252,11 +1252,11 @@ const In = /* @__PURE__ */ S(vn, [["render", An]]), Dn = {
1252
1252
  // AdminTablePrint,
1253
1253
  AdminTableColumnsHidden: vs,
1254
1254
  AdminTableColumn: kt,
1255
- AdminNodata: at,
1255
+ AdminNodata: ot,
1256
1256
  IconPlus: Q,
1257
- IconSearch: lt,
1257
+ IconSearch: rt,
1258
1258
  AdminTableCardInfo: Ns,
1259
- IconOpenCard: rt,
1259
+ IconOpenCard: lt,
1260
1260
  AdminComponentIs: X,
1261
1261
  AdminTableFilters: Ws,
1262
1262
  AdminTableTabs: Xs,
@@ -1330,7 +1330,7 @@ const In = /* @__PURE__ */ S(vn, [["render", An]]), Dn = {
1330
1330
  this.tableData = null, this.columnsWidth = {}, await this.getTableData();
1331
1331
  },
1332
1332
  searchValue: {
1333
- handler: ot(async function(t) {
1333
+ handler: at(async function(t) {
1334
1334
  var e;
1335
1335
  this.page = 1, await this.getTableData(), this.$router.push({
1336
1336
  ...this.$route,
@@ -1,5 +1,5 @@
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 ie, f as de, g as ce } from "./import-file-V7TgsOdE.js";
1
+ import { createElementBlock as u, openBlock as n, createElementVNode as o, createStaticVNode as Q, resolveComponent as p, createCommentVNode as w, createVNode as h, normalizeClass as f, createTextVNode as V, toDisplayString as B, 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 ie, f as de, g as ce } from "./import-file-DyHdxyPP.js";
3
3
  import "./user-B_2kh6ic.js";
4
4
  const he = {}, ge = {
5
5
  xmlns: "http://www.w3.org/2000/svg",
@@ -787,9 +787,9 @@ const wt = /* @__PURE__ */ y(ft, [["render", _t], ["__scopeId", "data-v-3cea82a7
787
787
  }, Ct = {
788
788
  components: {
789
789
  IconQuestion: te,
790
- IconUser: ue,
790
+ IconUser: ie,
791
791
  AdminNotification: Y,
792
- IconUserOutline: ie,
792
+ IconUserOutline: ue,
793
793
  IconLogout: G
794
794
  },
795
795
  data() {
@@ -817,12 +817,12 @@ const wt = /* @__PURE__ */ y(ft, [["render", _t], ["__scopeId", "data-v-3cea82a7
817
817
  }
818
818
  },
819
819
  created() {
820
- this.userData = this.$user, de.value = this.$settings;
820
+ this.userData = this.$user, ce.value = this.$settings;
821
821
  },
822
822
  methods: {
823
823
  async logout() {
824
824
  try {
825
- await ce.get("/logout"), await window.history.pushState({}, "", "/login"), await location.reload(), localStorage.removeItem("user");
825
+ await de.get("/logout"), await window.history.pushState({}, "", "/login"), await location.reload(), localStorage.removeItem("user");
826
826
  } catch {
827
827
  }
828
828
  },
package/dist/admin.js CHANGED
@@ -1,4 +1,4 @@
1
- import { v as f } from "./import-file-V7TgsOdE.js";
1
+ import { v as f } from "./import-file-DyHdxyPP.js";
2
2
  export {
3
3
  f as default
4
4
  };