@opengis/admin 0.1.26 → 0.1.28

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 { u as $ } from "./userMenu-CT1xO2Pt.js";
2
- import { _ as V, a as z } from "./import-file-De3lGFop.js";
2
+ import { _ as V, a as z } from "./import-file-rpq4v06F.js";
3
3
  import { resolveComponent as N, openBlock as n, createElementBlock as c, createElementVNode as u, toDisplayString as j, createVNode as q, withCtx as B, createTextVNode as E, normalizeClass as T, Fragment as k, renderList as M, createBlock as L, resolveDynamicComponent as H, createCommentVNode as v } from "vue";
4
4
  const A = {
5
5
  data() {
@@ -19,14 +19,14 @@ const A = {
19
19
  return r || this.$router.replace("/404"), r == null ? void 0 : r.path;
20
20
  },
21
21
  getTitle() {
22
- var t, r, a, l, s, h, i, b, g, d, o, C, w, e, y;
22
+ var t, r, a, l, s, h, i, x, g, d, o, C, w, e, y;
23
23
  if ((a = (r = (t = this.objectData) == null ? void 0 : t.rows) == null ? void 0 : r[0]) != null && a.name)
24
- return ((i = (h = (s = (l = this.objectData) == null ? void 0 : l.rows) == null ? void 0 : s[0]) == null ? void 0 : h.name) == null ? void 0 : i.length) < 35 ? (d = (g = (b = this.objectData) == null ? void 0 : b.rows) == null ? void 0 : g[0]) == null ? void 0 : d.name : ((e = (w = (C = (o = this.objectData) == null ? void 0 : o.rows) == null ? void 0 : C[0]) == null ? void 0 : w.name) == null ? void 0 : e.slice(0, 35)) + " ...";
24
+ return ((i = (h = (s = (l = this.objectData) == null ? void 0 : l.rows) == null ? void 0 : s[0]) == null ? void 0 : h.name) == null ? void 0 : i.length) < 35 ? (d = (g = (x = this.objectData) == null ? void 0 : x.rows) == null ? void 0 : g[0]) == null ? void 0 : d.name : ((e = (w = (C = (o = this.objectData) == null ? void 0 : o.rows) == null ? void 0 : C[0]) == null ? void 0 : w.name) == null ? void 0 : e.slice(0, 35)) + " ...";
25
25
  {
26
26
  const p = (y = this.flattenMenu($.value)) == null ? void 0 : y.find(
27
- (x) => {
27
+ (b) => {
28
28
  var f, _;
29
- return (x == null ? void 0 : x.table) === ((_ = (f = this.$route) == null ? void 0 : f.params) == null ? void 0 : _.table);
29
+ return (b == null ? void 0 : b.table) === ((_ = (f = this.$route) == null ? void 0 : f.params) == null ? void 0 : _.table);
30
30
  }
31
31
  );
32
32
  return p == null ? void 0 : p.ua;
@@ -60,12 +60,12 @@ const A = {
60
60
  return "grid-cols-12";
61
61
  },
62
62
  checkActiveComponent() {
63
- var t, r, a, l, s, h, i, b, g;
63
+ var t, r, a, l, s, h, i, x, g;
64
64
  if ((r = (t = this.$route) == null ? void 0 : t.query) != null && r.tab)
65
65
  this.component = (l = (a = this.$route) == null ? void 0 : a.query) == null ? void 0 : l.tab;
66
66
  else {
67
67
  const d = (h = (s = this.objectData) == null ? void 0 : s.panels) == null ? void 0 : h.find((o) => (o == null ? void 0 : o.type) === "tabs");
68
- (i = d == null ? void 0 : d.items) != null && i.length && (this.component = ((b = d.items[0]) == null ? void 0 : b.component) || ((g = d.items[0]) == null ? void 0 : g.name));
68
+ (i = d == null ? void 0 : d.items) != null && i.length && (this.component = ((x = d.items[0]) == null ? void 0 : x.component) || ((g = d.items[0]) == null ? void 0 : g.name));
69
69
  }
70
70
  },
71
71
  flattenMenu(t) {
@@ -98,20 +98,20 @@ const A = {
98
98
  class: "p-[20px] border-t"
99
99
  }, re = ["innerHTML"];
100
100
  function se(t, r, a, l, s, h) {
101
- var b, g, d;
101
+ var x, g, d;
102
102
  const i = N("router-link");
103
103
  return n(), c("div", G, [
104
104
  u("div", O, [
105
105
  u("div", R, [
106
106
  u("button", {
107
107
  onClick: r[0] || (r[0] = (o) => t.$router.back()),
108
- class: "text-sm text-blue-600 decoration-2 hover:underline font-medium focus:outline-none focus:underline dark:text-green-400 dark:hover:text-green-500"
108
+ class: "text-sm h-[20px] text-blue-600 font-medium hover:border-b hover:border-b-2 hover:border-b-blue-500"
109
109
  }, " До таблиці "),
110
110
  u("h2", m, j(h.getTitle), 1)
111
111
  ]),
112
112
  u("div", F, [
113
113
  q(i, {
114
- to: `/edit?table=${h.getRoute}&id=${(g = (b = t.$route) == null ? void 0 : b.params) == null ? void 0 : g.id}`,
114
+ to: `/edit?table=${h.getRoute}&id=${(g = (x = t.$route) == null ? void 0 : x.params) == null ? void 0 : g.id}`,
115
115
  class: "py-2 px-3 inline-flex items-center gap-x-2 text-sm font-medium rounded-lg border border-transparent bg-blue-600 text-white hover:bg-blue-700 hover:text-white duration-300"
116
116
  }, {
117
117
  default: B(() => r[1] || (r[1] = [
@@ -138,7 +138,7 @@ function se(t, r, a, l, s, h) {
138
138
  }, null, 8, S)
139
139
  ])) : o.type === "container" ? (n(), c("div", J, [
140
140
  (n(!0), c(k, null, M(o.items, (e, y) => {
141
- var p, x, f, _, D;
141
+ var p, b, f, _, D;
142
142
  return n(), c("div", {
143
143
  key: y,
144
144
  class: "border rounded-xl bg-white mb-[20px]"
@@ -146,7 +146,7 @@ function se(t, r, a, l, s, h) {
146
146
  u("h2", K, j((e == null ? void 0 : e.title) || "Панель"), 1),
147
147
  e != null && e.component ? (n(), c("div", Q, [
148
148
  (n(), L(H(e.component), {
149
- geometry: (x = (p = s.objectData) == null ? void 0 : p.rows[0]) == null ? void 0 : x.geom,
149
+ geometry: (b = (p = s.objectData) == null ? void 0 : p.rows[0]) == null ? void 0 : b.geom,
150
150
  zoom: 16,
151
151
  id: (_ = (f = t.$route) == null ? void 0 : f.params) == null ? void 0 : _.id
152
152
  }, null, 8, ["geometry", "id"]))
@@ -164,20 +164,20 @@ function se(t, r, a, l, s, h) {
164
164
  (n(!0), c(k, null, M(o == null ? void 0 : o.items, (e) => (n(), c("button", {
165
165
  key: (e == null ? void 0 : e.name) || (e == null ? void 0 : e.component),
166
166
  onClick: (y) => s.component = (e == null ? void 0 : e.component) || (e == null ? void 0 : e.name),
167
- class: T(["px-2.5 h-[30px] py-1.5 relative inline-flex items-center gap-x-2 text-gray-500 hover:text-gray-800 text-sm whitespace-nowrap rounded-lg focus:outline-none", {
168
- "bg-gray-100 text-gray-800 font-semibold after:absolute after:bottom-[-14px] after:left-2.5 after:right-2.5 after:z-10 after:h-0.5 after:bg-gray-800": s.component === (e == null ? void 0 : e.component) || s.component === (e == null ? void 0 : e.name),
169
- "hover:bg-gray-100": s.component !== (e == null ? void 0 : e.component) && s.component !== (e == null ? void 0 : e.name)
167
+ class: T(["px-2.5 h-[30px] py-1.5 relative inline-flex items-center gap-x-2 text-gray-500 hover:bg-gray-100 focus:bg-gray-100 hover:text-gray-800 text-sm whitespace-nowrap rounded-lg focus:outline-none", {
168
+ " font-semibold after:absolute after:bottom-[-14px] after:left-2.5 after:right-2.5 after:z-10 after:h-0.5 after:bg-gray-800": s.component === (e == null ? void 0 : e.component) || s.component === (e == null ? void 0 : e.name),
169
+ "": s.component !== (e == null ? void 0 : e.component) && s.component !== (e == null ? void 0 : e.name)
170
170
  }])
171
171
  }, j(e == null ? void 0 : e.title), 11, Y))), 128))
172
172
  ]),
173
173
  (n(!0), c(k, null, M(o.items, (e, y) => {
174
- var p, x, f, _, D;
174
+ var p, b, f, _, D;
175
175
  return n(), c(k, { key: y }, [
176
176
  s.component === (e == null ? void 0 : e.component) || s.component === (e == null ? void 0 : e.name) ? (n(), c("div", Z, [
177
177
  u("h2", ee, j((e == null ? void 0 : e.title) || "Панель"), 1),
178
178
  e != null && e.component ? (n(), c("div", te, [
179
179
  (n(), L(H(e.component), {
180
- geometry: (x = (p = s.objectData) == null ? void 0 : p.rows[0]) == null ? void 0 : x.geom,
180
+ geometry: (b = (p = s.objectData) == null ? void 0 : p.rows[0]) == null ? void 0 : b.geom,
181
181
  zoom: 16,
182
182
  id: (_ = (f = t.$route) == null ? void 0 : f.params) == null ? void 0 : _.id
183
183
  }, null, 8, ["geometry", "id"]))
@@ -196,7 +196,7 @@ function se(t, r, a, l, s, h) {
196
196
  ], 2)
197
197
  ]);
198
198
  }
199
- const le = /* @__PURE__ */ V(A, [["render", se], ["__scopeId", "data-v-1f38acae"]]);
199
+ const le = /* @__PURE__ */ V(A, [["render", se], ["__scopeId", "data-v-e7d9ada1"]]);
200
200
  export {
201
201
  le as default
202
202
  };
@@ -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-De3lGFop.js";
2
+ import { _ as c } from "./import-file-rpq4v06F.js";
3
3
  const n = {};
4
4
  function s(_, p, a, i, f, m) {
5
5
  const o = e("router-view");
@@ -1,5 +1,5 @@
1
1
  import { u as m } from "./userMenu-CT1xO2Pt.js";
2
- import { _ as b, a as n } from "./import-file-De3lGFop.js";
2
+ import { _ as b, a as n } from "./import-file-rpq4v06F.js";
3
3
  import { resolveComponent as d, openBlock as u, createElementBlock as h, createElementVNode as i, createBlock as p, createCommentVNode as f } from "vue";
4
4
  const g = {
5
5
  data() {