@opengis/admin 0.1.53 → 0.1.54

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
- import { _ as V, u as $, a as z } from "./import-file-CL8r9Pju.js";
2
- import { resolveComponent as N, openBlock as n, createElementBlock as c, createElementVNode as u, toDisplayString as C, createVNode as m, withCtx as q, createTextVNode as B, normalizeClass as T, Fragment as k, renderList as M, createBlock as L, resolveDynamicComponent as H, createCommentVNode as v } from "vue";
1
+ import { _ as V, u as $, a as z } from "./import-file-BNnG8cW-.js";
2
+ import { resolveComponent as N, openBlock as n, createElementBlock as c, createElementVNode as d, toDisplayString as C, createVNode as m, withCtx as q, createTextVNode as B, normalizeClass as T, Fragment as k, renderList as M, createBlock as L, resolveDynamicComponent as H, createCommentVNode as v } from "vue";
3
3
  const E = {
4
4
  data() {
5
5
  return {
@@ -18,9 +18,9 @@ const E = {
18
18
  return r || this.$router.replace("/404"), r == null ? void 0 : r.path;
19
19
  },
20
20
  getTitle() {
21
- var t, r, a, l, s, h, i, x, g, d, o, j, w, e, y;
21
+ var t, r, a, l, s, h, i, x, g, u, o, j, w, e, y;
22
22
  if ((a = (r = (t = this.objectData) == null ? void 0 : t.rows) == null ? void 0 : r[0]) != null && a.name)
23
- 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 = (j = (o = this.objectData) == null ? void 0 : o.rows) == null ? void 0 : j[0]) == null ? void 0 : w.name) == null ? void 0 : e.slice(0, 35)) + " ...";
23
+ 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 ? (u = (g = (x = this.objectData) == null ? void 0 : x.rows) == null ? void 0 : g[0]) == null ? void 0 : u.name : ((e = (w = (j = (o = this.objectData) == null ? void 0 : o.rows) == null ? void 0 : j[0]) == null ? void 0 : w.name) == null ? void 0 : e.slice(0, 35)) + " ...";
24
24
  {
25
25
  const b = (y = this.flattenMenu($.value)) == null ? void 0 : y.find(
26
26
  (p) => {
@@ -63,8 +63,8 @@ const E = {
63
63
  if ((r = (t = this.$route) == null ? void 0 : t.query) != null && r.tab)
64
64
  this.component = (l = (a = this.$route) == null ? void 0 : a.query) == null ? void 0 : l.tab;
65
65
  else {
66
- const d = (h = (s = this.objectData) == null ? void 0 : s.panels) == null ? void 0 : h.find((o) => (o == null ? void 0 : o.type) === "tabs");
67
- (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));
66
+ const u = (h = (s = this.objectData) == null ? void 0 : s.panels) == null ? void 0 : h.find((o) => (o == null ? void 0 : o.type) === "tabs");
67
+ (i = u == null ? void 0 : u.items) != null && i.length && (this.component = ((x = u.items[0]) == null ? void 0 : x.component) || ((g = u.items[0]) == null ? void 0 : g.name));
68
68
  }
69
69
  },
70
70
  flattenMenu(t) {
@@ -77,7 +77,7 @@ const E = {
77
77
  }, A = {
78
78
  style: { width: "calc(100vw - 260px)", height: "calc(100vh - 60px)" },
79
79
  class: "p-4 overflow-y-auto bg-gray-50"
80
- }, G = { class: "h-[76px] bg-gray-50 flex items-center justify-between px-[30px]" }, O = { class: "" }, R = { class: "text-lg font-semibold md:text-xl text-stone-800 dark:text-neutral-200" }, F = { class: "flex items-center gap-[6px]" }, I = {
80
+ }, G = { class: "h-[76px] bg-gray-50 flex items-center justify-between pl-[15px]" }, O = { class: "" }, R = { class: "text-lg font-semibold md:text-xl text-stone-800 dark:text-neutral-200" }, F = { class: "flex items-center gap-[6px]" }, I = {
81
81
  key: 0,
82
82
  class: "bg-white border rounded-xl"
83
83
  }, P = { class: "p-[10px] pl-[20px] text-xl" }, S = ["innerHTML"], J = { key: 1 }, K = { class: "p-[10px] pl-[20px] text-xl" }, Q = {
@@ -97,18 +97,18 @@ const E = {
97
97
  class: "p-[20px] border-t"
98
98
  }, oe = ["innerHTML"];
99
99
  function re(t, r, a, l, s, h) {
100
- var x, g, d;
100
+ var x, g, u;
101
101
  const i = N("router-link");
102
102
  return n(), c("div", A, [
103
- u("div", G, [
104
- u("div", O, [
105
- u("button", {
103
+ d("div", G, [
104
+ d("div", O, [
105
+ d("button", {
106
106
  onClick: r[0] || (r[0] = (o) => t.$router.back()),
107
107
  class: "text-sm h-[20px] text-blue-600 font-medium hover:border-b hover:border-b-2 hover:border-b-blue-500"
108
108
  }, " До таблиці "),
109
- u("h2", R, C(h.getTitle), 1)
109
+ d("h2", R, C(h.getTitle), 1)
110
110
  ]),
111
- u("div", F, [
111
+ d("div", F, [
112
112
  m(i, {
113
113
  to: `/edit?table=${h.getRoute}&id=${(g = (x = t.$route) == null ? void 0 : x.params) == null ? void 0 : g.id}`,
114
114
  class: "inline-flex items-center px-3 py-2 text-sm font-medium text-white duration-300 bg-blue-600 border border-transparent rounded-lg gap-x-2 hover:bg-blue-700 hover:text-white"
@@ -120,18 +120,18 @@ function re(t, r, a, l, s, h) {
120
120
  }, 8, ["to"])
121
121
  ])
122
122
  ]),
123
- u("div", {
123
+ d("div", {
124
124
  class: T(["grid gap-[20px]", h.getGridClass()])
125
125
  }, [
126
- (n(!0), c(k, null, M((d = s.objectData) == null ? void 0 : d.panels, (o, j) => {
126
+ (n(!0), c(k, null, M((u = s.objectData) == null ? void 0 : u.panels, (o, j) => {
127
127
  var w;
128
128
  return n(), c("div", {
129
129
  key: j,
130
130
  class: T(h.getColClass(o.col))
131
131
  }, [
132
132
  o != null && o.name ? (n(), c("div", I, [
133
- u("h2", P, C((o == null ? void 0 : o.title) || "Панель"), 1),
134
- u("div", {
133
+ d("h2", P, C((o == null ? void 0 : o.title) || "Панель"), 1),
134
+ d("div", {
135
135
  class: "p-[20px] border-t",
136
136
  innerHTML: (w = s.objectData) == null ? void 0 : w.data[o == null ? void 0 : o.name]
137
137
  }, null, 8, S)
@@ -142,7 +142,7 @@ function re(t, r, a, l, s, h) {
142
142
  key: y,
143
143
  class: "border rounded-xl bg-white mb-[20px]"
144
144
  }, [
145
- u("h2", K, C((e == null ? void 0 : e.title) || "Панель"), 1),
145
+ d("h2", K, C((e == null ? void 0 : e.title) || "Панель"), 1),
146
146
  e != null && e.component ? (n(), c("div", Q, [
147
147
  (n(), L(H(e.component), {
148
148
  geometry: (p = (b = s.objectData) == null ? void 0 : b.rows[0]) == null ? void 0 : p.geom,
@@ -151,7 +151,7 @@ function re(t, r, a, l, s, h) {
151
151
  }, null, 8, ["geometry", "id"]))
152
152
  ])) : v("", !0),
153
153
  e != null && e.name ? (n(), c("div", U, [
154
- u("div", {
154
+ d("div", {
155
155
  innerHTML: (D = s.objectData) == null ? void 0 : D.data[e == null ? void 0 : e.name]
156
156
  }, null, 8, W)
157
157
  ])) : v("", !0)
@@ -159,7 +159,7 @@ function re(t, r, a, l, s, h) {
159
159
  }), 128))
160
160
  ])) : v("", !0),
161
161
  (o == null ? void 0 : o.type) === "tabs" ? (n(), c(k, { key: 2 }, [
162
- u("nav", X, [
162
+ d("nav", X, [
163
163
  (n(!0), c(k, null, M(o == null ? void 0 : o.items, (e) => (n(), c("button", {
164
164
  key: (e == null ? void 0 : e.name) || (e == null ? void 0 : e.component),
165
165
  onClick: (y) => s.component = (e == null ? void 0 : e.component) || (e == null ? void 0 : e.name),
@@ -181,7 +181,7 @@ function re(t, r, a, l, s, h) {
181
181
  }, null, 8, ["geometry", "id"]))
182
182
  ])) : v("", !0),
183
183
  e != null && e.name ? (n(), c("div", te, [
184
- u("div", {
184
+ d("div", {
185
185
  innerHTML: (D = s.objectData) == null ? void 0 : D.data[e == null ? void 0 : e.name]
186
186
  }, null, 8, oe)
187
187
  ])) : v("", !0)
@@ -194,7 +194,7 @@ function re(t, r, a, l, s, h) {
194
194
  ], 2)
195
195
  ]);
196
196
  }
197
- const ae = /* @__PURE__ */ V(E, [["render", re], ["__scopeId", "data-v-fcc7131b"]]);
197
+ const ae = /* @__PURE__ */ V(E, [["render", re], ["__scopeId", "data-v-ed2cfe89"]]);
198
198
  export {
199
199
  ae as default
200
200
  };
@@ -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-CL8r9Pju.js";
2
+ import { _ as c } from "./import-file-BNnG8cW-.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 m, u as b, a as i } from "./import-file-CL8r9Pju.js";
1
+ import { _ as m, u as b, a as i } from "./import-file-BNnG8cW-.js";
2
2
  import { resolveComponent as d, openBlock as u, createElementBlock as h, createElementVNode as n, createBlock as p, createCommentVNode as f } from "vue";
3
3
  const g = {
4
4
  data() {