@opengis/admin 0.1.81 → 0.1.82

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as t, createElementVNode as n } from "vue";
2
- import { _ as r } from "./import-file-CsnR0UjH.js";
2
+ import { _ as r } from "./import-file-BihjtZo9.js";
3
3
  const l = {}, s = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 24 24",
@@ -1,4 +1,4 @@
1
- import { _ as d, u as h, a as i } from "./import-file-CsnR0UjH.js";
1
+ import { _ as d, u as h, a as i } from "./import-file-BihjtZo9.js";
2
2
  import { resolveComponent as p, openBlock as m, createElementBlock as g, createElementVNode as n, createBlock as f, createCommentVNode as x } from "vue";
3
3
  const w = {
4
4
  data() {
@@ -1,7 +1,48 @@
1
- import { _ as k, b as Te, a as D, c as Ve, d as De, e as Fe, f as Me, I as je, u as xe, s as qe } from "./import-file-CsnR0UjH.js";
2
- import { openBlock as r, createElementBlock as a, createTextVNode as F, toDisplayString as A, createCommentVNode as w, createStaticVNode as j, Fragment as $, createElementVNode as l, resolveComponent as h, createVNode as x, withCtx as C, createBlock as _, withModifiers as Be, renderList as V, normalizeClass as I, withDirectives as z, vModelCheckbox as ze, resolveDynamicComponent as B, Transition as P, renderSlot as Pe, vShow as ke, getCurrentInstance as Le, ref as ye, normalizeStyle as _e } from "vue";
3
- import { I as Ue } from "./IconChevronDown-D5JGurpf.js";
4
- const Oe = {
1
+ import { _ as k, b as Te, a as D, c as Ve, d as De, e as Fe, f as Me, I as je, u as xe, s as qe } from "./import-file-BihjtZo9.js";
2
+ import { openBlock as r, createElementBlock as a, createStaticVNode as j, Fragment as $, createElementVNode as l, createTextVNode as F, toDisplayString as A, createCommentVNode as w, resolveComponent as h, createVNode as x, withCtx as C, createBlock as _, withModifiers as Be, renderList as V, normalizeClass as I, withDirectives as z, vModelCheckbox as ze, resolveDynamicComponent as B, Transition as P, renderSlot as Pe, vShow as ke, getCurrentInstance as Le, ref as ye, normalizeStyle as _e } from "vue";
3
+ import { I as Ue } from "./IconChevronDown-TOHGDzb9.js";
4
+ const Oe = {}, Ee = {
5
+ class: "flex-shrink-0 size-3.5",
6
+ xmlns: "http://www.w3.org/2000/svg",
7
+ viewBox: "0 0 24 24",
8
+ fill: "none",
9
+ stroke: "currentColor",
10
+ "stroke-width": "2",
11
+ "stroke-linecap": "round",
12
+ "stroke-linejoin": "round"
13
+ };
14
+ function Ne(t, e, s, i, n, o) {
15
+ return r(), a("svg", Ee, e[0] || (e[0] = [
16
+ j('<path d="M3 6h18"></path><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"></path><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"></path><line x1="10" x2="10" y1="11" y2="17"></line><line x1="14" x2="14" y1="11" y2="17"></line>', 5)
17
+ ]));
18
+ }
19
+ const He = /* @__PURE__ */ k(Oe, [["render", Ne]]), Re = {
20
+ props: {
21
+ height: { type: String, default: "16" },
22
+ width: { type: String, default: "12" },
23
+ color: { type: String, default: "black" }
24
+ }
25
+ }, We = { style: { display: "none" } }, Ge = ["height", "width", "fill"];
26
+ function Ze(t, e, s, i, n, o) {
27
+ return r(), a($, null, [
28
+ (r(), a("svg", We, e[0] || (e[0] = [
29
+ l("symbol", {
30
+ id: "icon-pencil",
31
+ viewBox: "0 0 32 32"
32
+ }, [
33
+ l("path", { d: "M27 0c2.761 0 5 2.239 5 5 0 1.126-0.372 2.164-1 3l-2 2-7-7 2-2c0.836-0.628 1.874-1 3-1zM2 23l-2 9 9-2 18.5-18.5-7-7-18.5 18.5zM22.362 11.362l-14 14-1.724-1.724 14-14 1.724 1.724z" })
34
+ ], -1)
35
+ ]))),
36
+ (r(), a("svg", {
37
+ height: s.height,
38
+ width: s.width,
39
+ fill: s.color
40
+ }, e[1] || (e[1] = [
41
+ l("use", { "xlink:href": "#icon-pencil" }, null, -1)
42
+ ]), 8, Ge))
43
+ ], 64);
44
+ }
45
+ const Je = /* @__PURE__ */ k(Re, [["render", Ze]]), Ke = {
5
46
  data() {
6
47
  return {
7
48
  currentSort: ""
@@ -59,10 +100,10 @@ const Oe = {
59
100
  return `${this.data.name}-${t}` === this.selectedSortParam;
60
101
  }
61
102
  }
62
- }, Ee = {
103
+ }, Qe = {
63
104
  scope: "col",
64
105
  class: "text-start px-2 py-1"
65
- }, Ne = {
106
+ }, Xe = {
66
107
  class: "flex-shrink-0 size-3.5",
67
108
  xmlns: "http://www.w3.org/2000/svg",
68
109
  width: "24",
@@ -73,18 +114,18 @@ const Oe = {
73
114
  "stroke-width": "2",
74
115
  "stroke-linecap": "round",
75
116
  "stroke-linejoin": "round"
76
- }, He = {
117
+ }, Ye = {
77
118
  key: 0,
78
119
  d: "m7 15 5 5 5-5"
79
- }, Re = {
120
+ }, et = {
80
121
  key: 1,
81
122
  d: "m7 9 5-5 5 5"
82
- }, We = {
123
+ }, tt = {
83
124
  key: 1,
84
125
  class: "text-sm text-stone-500 px-[4px] py-2.5 text-start font-normal text-gray-500"
85
126
  };
86
- function Ge(t, e, s, i, n, o) {
87
- return r(), a("th", Ee, [
127
+ function nt(t, e, s, i, n, o) {
128
+ return r(), a("th", Qe, [
88
129
  o.getVisibleIcon ? (r(), a("button", {
89
130
  key: 0,
90
131
  type: "button",
@@ -92,59 +133,18 @@ function Ge(t, e, s, i, n, o) {
92
133
  onClick: e[0] || (e[0] = (u) => o.handleClickSortBtn(n.currentSort))
93
134
  }, [
94
135
  F(A(o.label) + " ", 1),
95
- (r(), a("svg", Ne, [
96
- n.currentSort === "asc" || n.currentSort === "" ? (r(), a("path", He)) : w("", !0),
97
- n.currentSort === "desc" || n.currentSort === "" ? (r(), a("path", Re)) : w("", !0)
136
+ (r(), a("svg", Xe, [
137
+ n.currentSort === "asc" || n.currentSort === "" ? (r(), a("path", Ye)) : w("", !0),
138
+ n.currentSort === "desc" || n.currentSort === "" ? (r(), a("path", et)) : w("", !0)
98
139
  ]))
99
- ])) : (r(), a("p", We, A(o.label), 1))
140
+ ])) : (r(), a("p", tt, A(o.label), 1))
100
141
  ]);
101
142
  }
102
- const Ze = /* @__PURE__ */ k(Oe, [["render", Ge]]), Je = {}, Ke = {
103
- class: "flex-shrink-0 size-3.5",
104
- xmlns: "http://www.w3.org/2000/svg",
105
- viewBox: "0 0 24 24",
106
- fill: "none",
107
- stroke: "currentColor",
108
- "stroke-width": "2",
109
- "stroke-linecap": "round",
110
- "stroke-linejoin": "round"
111
- };
112
- function Qe(t, e, s, i, n, o) {
113
- return r(), a("svg", Ke, e[0] || (e[0] = [
114
- j('<path d="M3 6h18"></path><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"></path><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"></path><line x1="10" x2="10" y1="11" y2="17"></line><line x1="14" x2="14" y1="11" y2="17"></line>', 5)
115
- ]));
116
- }
117
- const Xe = /* @__PURE__ */ k(Je, [["render", Qe]]), Ye = {
118
- props: {
119
- height: { type: String, default: "16" },
120
- width: { type: String, default: "12" },
121
- color: { type: String, default: "black" }
122
- }
123
- }, et = { style: { display: "none" } }, tt = ["height", "width", "fill"];
124
- function nt(t, e, s, i, n, o) {
125
- return r(), a($, null, [
126
- (r(), a("svg", et, e[0] || (e[0] = [
127
- l("symbol", {
128
- id: "icon-pencil",
129
- viewBox: "0 0 32 32"
130
- }, [
131
- l("path", { d: "M27 0c2.761 0 5 2.239 5 5 0 1.126-0.372 2.164-1 3l-2 2-7-7 2-2c0.836-0.628 1.874-1 3-1zM2 23l-2 9 9-2 18.5-18.5-7-7-18.5 18.5zM22.362 11.362l-14 14-1.724-1.724 14-14 1.724 1.724z" })
132
- ], -1)
133
- ]))),
134
- (r(), a("svg", {
135
- height: s.height,
136
- width: s.width,
137
- fill: s.color
138
- }, e[1] || (e[1] = [
139
- l("use", { "xlink:href": "#icon-pencil" }, null, -1)
140
- ]), 8, tt))
141
- ], 64);
142
- }
143
- const st = /* @__PURE__ */ k(Ye, [["render", nt]]), lt = {
143
+ const st = /* @__PURE__ */ k(Ke, [["render", nt]]), lt = {
144
144
  components: {
145
145
  IconMore: Te,
146
- IconDelete: Xe,
147
- IconEdit: st
146
+ IconDelete: He,
147
+ IconEdit: Je
148
148
  },
149
149
  emits: ["updateTable"],
150
150
  props: {
@@ -1082,7 +1082,7 @@ const ls = /* @__PURE__ */ k(Yn, [["render", ss]]), rs = { class: "flex items-ce
1082
1082
  AdminTableControl: ht,
1083
1083
  AdminTableExport: zt,
1084
1084
  AdminTableColumnsHidden: Qt,
1085
- AdminTableColumn: Ze,
1085
+ AdminTableColumn: st,
1086
1086
  AdminNodata: ln,
1087
1087
  IconPlus: ve,
1088
1088
  IconSearch: je,
@@ -1481,7 +1481,7 @@ function Ds(t, e, s, i, n, o) {
1481
1481
  onPageChange: o.handlePageChange,
1482
1482
  pageSizes: [10, 16, 20],
1483
1483
  onPageSizeChange: o.changeLimit,
1484
- backgroundColor: "#D6D3D1"
1484
+ backgroundColor: "#F3F4F6"
1485
1485
  }, null, 8, ["default-page", "total", "pageSize", "onPageChange", "onPageSizeChange"])) : w("", !0)
1486
1486
  ])
1487
1487
  ], 2),
@@ -1504,7 +1504,7 @@ function Ds(t, e, s, i, n, o) {
1504
1504
  ])
1505
1505
  ]);
1506
1506
  }
1507
- const Fs = /* @__PURE__ */ k(is, [["render", Ds], ["__scopeId", "data-v-e274f71c"]]), Ms = {
1507
+ const Fs = /* @__PURE__ */ k(is, [["render", Ds], ["__scopeId", "data-v-ef9b0865"]]), Ms = {
1508
1508
  components: { AdminTable: Fs },
1509
1509
  data() {
1510
1510
  return {
@@ -1,6 +1,6 @@
1
- import { _ as w, I as Q, u as B, s as F, V as R, a as O } from "./import-file-CsnR0UjH.js";
1
+ import { _ as w, I as Q, u as B, s as F, V as R, a as O } from "./import-file-BihjtZo9.js";
2
2
  import { openBlock as s, createElementBlock as r, createElementVNode as t, createStaticVNode as q, resolveComponent as v, normalizeClass as E, createTextVNode as L, toDisplayString as V, createVNode as c, Transition as T, withCtx as M, withDirectives as G, Fragment as N, renderList as S, vShow as J, ref as D, createCommentVNode as H, getCurrentInstance as K, watch as W, onBeforeUnmount as X, createBlock as Y, withModifiers as ee } from "vue";
3
- import { I as te } from "./IconChevronDown-D5JGurpf.js";
3
+ import { I as te } from "./IconChevronDown-TOHGDzb9.js";
4
4
  const oe = {}, ne = {
5
5
  xmlns: "http://www.w3.org/2000/svg",
6
6
  viewBox: "0 0 24 24",
@@ -60,7 +60,7 @@ function he(o, e, n, l, a, i) {
60
60
  return (g = n.route) != null && g.menu ? (s(), r("div", de, [
61
61
  t("button", {
62
62
  onClick: e[0] || (e[0] = (h) => a.isOpen = !a.isOpen),
63
- class: E(["flex cursor-pointer gap-x-3 py-2 px-3 text-sm text-gray-800 justify-start w-full border-none focus:outline-none text-gray-800 rounded-lg items-center hover:bg-gray-100 duration-300", [
63
+ class: E(["flex cursor-pointer gap-x-3 py-2 px-3 text-sm text-gray-800 justify-start w-full border-none focus:outline-none text-left rounded-lg items-center hover:bg-gray-100 duration-300", [
64
64
  ((x = (C = n.route) == null ? void 0 : C.menu) == null ? void 0 : x.some(
65
65
  (h) => {
66
66
  var d, Z;
package/dist/admin.js CHANGED
@@ -1,4 +1,4 @@
1
- import { i as f } from "./import-file-CsnR0UjH.js";
1
+ import { i as f } from "./import-file-BihjtZo9.js";
2
2
  export {
3
3
  f as default
4
4
  };