@opengis/admin 0.3.112 → 0.3.113

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
1
  import { resolveComponent as e, openBlock as r, createBlock as t } from "vue";
2
- import { _ as c } from "./import-file-4fPjufhm.js";
2
+ import { _ as c } from "./import-file-CAgITLho.js";
3
3
  const n = {};
4
4
  function s(_, p, a, i, f, m) {
5
5
  const o = e("router-view");
@@ -1,4 +1,4 @@
1
- import { _ as $, s as k, u as V, g as d } from "./import-file-4fPjufhm.js";
1
+ import { _ as $, s as k, u as V, g as d } from "./import-file-CAgITLho.js";
2
2
  import { resolveComponent as j, openBlock as p, createElementBlock as g, createElementVNode as m, normalizeClass as b, createCommentVNode as x, normalizeStyle as y, createBlock as E } from "vue";
3
3
  const O = {
4
4
  data() {
@@ -3696,27 +3696,27 @@ const G4 = [
3696
3696
  {
3697
3697
  name: "edit",
3698
3698
  path: "/edit",
3699
- component: () => import("./edit-page-uoPbSNAg.js")
3699
+ component: () => import("./edit-page-CBwN8d9e.js")
3700
3700
  },
3701
3701
  {
3702
3702
  name: "add",
3703
3703
  path: "/add",
3704
- component: () => import("./add-page-HV2OuTP5.js")
3704
+ component: () => import("./add-page-DMus7NKz.js")
3705
3705
  },
3706
3706
  {
3707
3707
  path: "/profile",
3708
3708
  name: "profile",
3709
- component: () => import("./profile-page-DcpVHW8y.js")
3709
+ component: () => import("./profile-page-BsG3mID9.js")
3710
3710
  },
3711
3711
  {
3712
3712
  name: "card-view",
3713
3713
  path: "/card",
3714
- component: () => import("./card-view-Cs1UdOX4.js"),
3714
+ component: () => import("./card-view-CMvnVw9a.js"),
3715
3715
  children: [
3716
3716
  {
3717
3717
  name: "table",
3718
3718
  path: ":table",
3719
- component: () => import("./card-view-Cs1UdOX4.js"),
3719
+ component: () => import("./card-view-CMvnVw9a.js"),
3720
3720
  children: [
3721
3721
  {
3722
3722
  name: "card",
@@ -3777,14 +3777,14 @@ const J4 = /* @__PURE__ */ ut(Y4, [["render", K4]]), Q4 = (t) => {
3777
3777
  {
3778
3778
  path: "/",
3779
3779
  name: "home",
3780
- component: () => import("./admin-view-CQeFRO-H.js"),
3780
+ component: () => import("./admin-view-B5WF4hQI.js"),
3781
3781
  children: [
3782
3782
  ...t,
3783
3783
  ...e,
3784
3784
  // { path: '/', redirect: '/home' },
3785
3785
  {
3786
3786
  path: "/:catchAll(.*)",
3787
- component: () => import("./admin-interface-CE8pRY0Y.js")
3787
+ component: () => import("./admin-interface-B8h1ng5Z.js")
3788
3788
  }
3789
3789
  ]
3790
3790
  }
@@ -47589,12 +47589,15 @@ const kX = /* @__PURE__ */ ut(bX, [["render", wX]]), SX = {
47589
47589
  },
47590
47590
  methods: {
47591
47591
  toggleVisible() {
47592
- this.visible = !this.visible, PI("bottom", this.$refs.wrapper, this.$refs.dropdown), this.visible ? (document.addEventListener("click", this.handleClickOutside), document.addEventListener("scroll", this.handleClickOutside, !0)) : (document.removeEventListener("click", this.handleClickOutside), document.removeEventListener("scroll", this.handleClickOutside, !0));
47592
+ this.visible = !this.visible, PI("bottom", this.$refs.wrapper, this.$refs.dropdown), this.visible ? (document.addEventListener("click", this.handleClickOutside), document.addEventListener("scroll", this.handleScroll, !0)) : (document.removeEventListener("click", this.handleClickOutside), document.removeEventListener("scroll", this.handleScroll, !0));
47593
47593
  },
47594
47594
  handleClickOutside(t) {
47595
47595
  const e = this.$refs.wrapper;
47596
47596
  e && !e.contains(t.target) && (this.visible = !1, document.removeEventListener("click", this.handleClickOutside));
47597
47597
  },
47598
+ handleScroll(t) {
47599
+ this.visible && this.$refs.dropdown && !this.$refs.dropdown.contains(t.target) && (this.visible = !1);
47600
+ },
47598
47601
  updateColumn(t) {
47599
47602
  const e = this.columns.findIndex((i) => (i == null ? void 0 : i.name) === (t == null ? void 0 : t.name)), n = this.columns;
47600
47603
  n[e] = t, this.$emit("update-columns", [...n]);
@@ -1,4 +1,4 @@
1
- import { _ as n, g as m } from "./import-file-4fPjufhm.js";
1
+ import { _ as n, g as m } from "./import-file-CAgITLho.js";
2
2
  import { u as p } from "./user-B_2kh6ic.js";
3
3
  import { resolveComponent as d, openBlock as u, createElementBlock as f, createElementVNode as o, createBlock as h, createCommentVNode as b } from "vue";
4
4
  const x = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengis/admin",
3
- "version": "0.3.112",
3
+ "version": "0.3.113",
4
4
  "description": "This project Softpro Admin",
5
5
  "main": "dist/admin.js",
6
6
  "type": "module",