vuesp-components 0.1.16 → 0.1.18
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.
- package/dist/VAutocomplete.vue.d.ts +25 -0
- package/dist/VAutocomplete.vue.d.ts.map +1 -0
- package/dist/VDropdown.vue.d.ts.map +1 -1
- package/dist/VSelect.vue.d.ts +0 -4
- package/dist/VSelect.vue.d.ts.map +1 -1
- package/dist/cards/VCardGray.vue.d.ts +1 -0
- package/dist/cards/VCardGray.vue.d.ts.map +1 -1
- package/dist/general/VBreadcrumb.vue.d.ts +4 -0
- package/dist/general/VBreadcrumb.vue.d.ts.map +1 -0
- package/dist/general/VTable.vue.d.ts +4 -0
- package/dist/general/VTable.vue.d.ts.map +1 -0
- package/dist/icons/IconBurger.vue.d.ts.map +1 -1
- package/dist/icons/IconChevron.vue.d.ts.map +1 -1
- package/dist/icons/IconNoti.vue.d.ts.map +1 -1
- package/dist/icons/IconTheme.vue.d.ts.map +1 -1
- package/dist/vuesp-components.css +1 -1
- package/dist/vuesp-components.es.js +721 -539
- package/dist/vuesp-components.umd.js +1 -1
- package/package.json +1 -1
- package/dist/icons/IconNext.vue.d.ts +0 -3
- package/dist/icons/IconNext.vue.d.ts.map +0 -1
|
@@ -1,55 +1,370 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
1
|
+
import { ref as M, computed as b, createElementBlock as s, openBlock as n, createElementVNode as r, createCommentVNode as x, normalizeClass as C, toDisplayString as m, mergeProps as I, withKeys as D, renderSlot as y, createTextVNode as w, resolveDirective as G, withDirectives as U, createVNode as $, Transition as W, withCtx as k, normalizeStyle as E, defineComponent as H, Fragment as L, renderList as S, createBlock as z, resolveDynamicComponent as R, unref as J, onMounted as P, normalizeProps as Q, guardReactiveProps as X, createStaticVNode as Y } from "vue";
|
|
2
|
+
const e1 = {
|
|
3
|
+
mounted(t, e) {
|
|
4
|
+
t.clickOutsideEvent = function(i) {
|
|
5
|
+
t === i.target || t.contains(i.target) || e.value(i, t);
|
|
6
|
+
}, document.addEventListener("click", t.clickOutsideEvent);
|
|
7
|
+
},
|
|
8
|
+
unmounted(t) {
|
|
9
|
+
document.removeEventListener("click", t.clickOutsideEvent), delete t.clickOutsideEvent;
|
|
10
|
+
}
|
|
11
|
+
}, t1 = [{ name: "outside", directive: e1 }];
|
|
12
|
+
var r1 = { class: "w-full relative" }, n1 = ["value", "disabled", "type"], a1 = ["disabled"], l1 = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "text-red-500 h-[24px] px-2 text-xs"
|
|
15
|
+
}, o1 = "after:absolute after:h-1 after:w-full after:left-0 after:translate-y-[6px] after:-z-10 dark:after:bg-gray-800 after:bg-white", j = {
|
|
16
|
+
__name: "VTextField",
|
|
17
|
+
props: {
|
|
18
|
+
modelValue: { type: [String, Number], default: null },
|
|
19
|
+
label: { type: String, default: "" },
|
|
20
|
+
disabled: { type: Boolean, default: !1 },
|
|
21
|
+
type: { type: String, default: "text" },
|
|
22
|
+
active: { type: Boolean, default: !1 },
|
|
23
|
+
hideMessage: { type: Boolean, default: !1 },
|
|
24
|
+
rules: { type: Array, default: function() {
|
|
25
|
+
return [];
|
|
26
|
+
} },
|
|
27
|
+
message: { type: String, default: "" }
|
|
28
|
+
},
|
|
29
|
+
emits: ["update:modelValue", "click", "on-icon", "enter", "blur"],
|
|
30
|
+
setup: function(t, e) {
|
|
31
|
+
var i = e.emit, a = t, l = i, o = M(!1), c = b(function() {
|
|
32
|
+
return [
|
|
33
|
+
a.message ? "border-red-500 hover:border-red-400 dark:border-red-700 hover:dark:border-red-800" : "",
|
|
34
|
+
a.disabled ? "border-gray-400 opacity-40" : "border-gray-300 hover:border-gray-400 dark:border-gray-700/50 hover:dark:border-gray-600/50"
|
|
35
|
+
];
|
|
36
|
+
}), v = function(u) {
|
|
37
|
+
return u || u === 0;
|
|
38
|
+
}, f = b(function() {
|
|
39
|
+
return [o1, o.value || v(a.modelValue) || a.active ? "top-0 left-3 text-xs" : "top-1/2"];
|
|
40
|
+
}), d = function(u) {
|
|
41
|
+
var B = u.target;
|
|
42
|
+
l("update:modelValue", B.value);
|
|
43
|
+
}, h = function(u) {
|
|
44
|
+
o.value = !1, l("blur", u);
|
|
45
|
+
}, p = function(u) {
|
|
46
|
+
return l("enter", u);
|
|
47
|
+
}, _ = function() {
|
|
48
|
+
return o.value = !0;
|
|
49
|
+
}, V = function(u) {
|
|
50
|
+
return l("click", u);
|
|
51
|
+
}, Z = function(u) {
|
|
52
|
+
a.disabled || l("on-icon", u);
|
|
53
|
+
};
|
|
54
|
+
return function(u, B) {
|
|
55
|
+
return n(), s("div", r1, [
|
|
56
|
+
r("label", {
|
|
57
|
+
class: C(["relative w-full h-[40px] border border-gray-300 dark:border-gray-700 flex items-center rounded transition dark:bg-gray-800", c.value])
|
|
58
|
+
}, [
|
|
59
|
+
r("span", {
|
|
60
|
+
class: C(["absolute left-4 transition-all rounded -translate-y-1/2 text-gray-600 dark:text-gray-400", f.value])
|
|
61
|
+
}, m(t.label), 3),
|
|
62
|
+
r("input", I(u.$attrs, {
|
|
63
|
+
value: t.modelValue,
|
|
64
|
+
disabled: t.disabled,
|
|
65
|
+
type: t.type,
|
|
66
|
+
class: "w-full h-full px-4 outline-none overflow-ellipsis flex-auto overflow-hidden w-[calc(100% - 20px)] bg-transparent",
|
|
67
|
+
onFocus: _,
|
|
68
|
+
onBlur: h,
|
|
69
|
+
onInput: d,
|
|
70
|
+
onClick: V,
|
|
71
|
+
onKeypress: D(p, ["enter"])
|
|
72
|
+
}), null, 16, n1),
|
|
73
|
+
u.$slots.icon ? (n(), s("button", {
|
|
74
|
+
key: 0,
|
|
75
|
+
disabled: t.disabled,
|
|
76
|
+
style: { flex: "0 0 50px" },
|
|
77
|
+
class: "h-full flex items-center justify-center text-gray-400 border-l border-gray-300 dark:border-gray-700/50",
|
|
78
|
+
onClick: Z
|
|
79
|
+
}, [
|
|
80
|
+
y(u.$slots, "icon")
|
|
81
|
+
], 8, a1)) : x("", !0)
|
|
82
|
+
], 2),
|
|
83
|
+
t.hideMessage ? x("", !0) : (n(), s("div", l1, [
|
|
84
|
+
y(u.$slots, "message", {}, function() {
|
|
85
|
+
return [
|
|
86
|
+
w(m(t.message), 1)
|
|
87
|
+
];
|
|
88
|
+
})
|
|
89
|
+
]))
|
|
90
|
+
]);
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
}, s1 = { class: "relative" }, i1 = { class: "flex items-center cursor-pointer translate-0.5" }, T = {
|
|
94
|
+
__name: "VDropdown",
|
|
95
|
+
props: {
|
|
96
|
+
top: { type: String, default: "calc(100% + 5px)" },
|
|
97
|
+
left: { type: String, default: "0" },
|
|
98
|
+
right: { type: String, default: "" },
|
|
99
|
+
hideOnClick: { type: Boolean, default: !0 },
|
|
100
|
+
height: { type: String, default: "200px" }
|
|
101
|
+
},
|
|
102
|
+
emits: ["click", "show", "close"],
|
|
103
|
+
setup: function(t, e) {
|
|
104
|
+
var i = e.emit, a = t, l = i, o = M(!1), c = b(function() {
|
|
105
|
+
return { top: a.top, left: a.left, right: a.right, "max-height": a.height };
|
|
106
|
+
}), v = function() {
|
|
107
|
+
o.value && h();
|
|
108
|
+
}, f = function() {
|
|
109
|
+
o.value ? a.hideOnClick && h() : d(), l("click", o.value);
|
|
110
|
+
}, d = function(p) {
|
|
111
|
+
o.value = !0, l("show", p);
|
|
112
|
+
}, h = function(p) {
|
|
113
|
+
o.value = !1, l("close", p);
|
|
114
|
+
};
|
|
115
|
+
return function(p, _) {
|
|
116
|
+
var V = G("outside");
|
|
117
|
+
return U((n(), s("div", s1, [
|
|
118
|
+
r("div", i1, [
|
|
119
|
+
y(p.$slots, "activator", {
|
|
120
|
+
on: { click: f },
|
|
121
|
+
show: o.value
|
|
122
|
+
})
|
|
123
|
+
]),
|
|
124
|
+
$(W, {
|
|
125
|
+
"enter-active-class": "duration-300 ease-out",
|
|
126
|
+
"enter-from-class": "transform opacity-0 -translate-y-2",
|
|
127
|
+
"enter-to-class": "opacity-100 translate-y-0",
|
|
128
|
+
"leave-active-class": "duration-200 ease-in",
|
|
129
|
+
"leave-from-class": "opacity-100 translate-y-0",
|
|
130
|
+
"leave-to-class": "transform opacity-0 -translate-y-2"
|
|
131
|
+
}, {
|
|
132
|
+
default: k(function() {
|
|
133
|
+
return [
|
|
134
|
+
o.value ? (n(), s("div", {
|
|
135
|
+
key: 0,
|
|
136
|
+
class: "z-10 min-w-full absolute overflow-auto shadow-lg",
|
|
137
|
+
style: E(c.value),
|
|
138
|
+
onClick: f
|
|
139
|
+
}, [
|
|
140
|
+
y(p.$slots, "default", {
|
|
141
|
+
show: d,
|
|
142
|
+
hide: h,
|
|
143
|
+
isShown: o.value
|
|
144
|
+
})
|
|
145
|
+
], 4)) : x("", !0)
|
|
146
|
+
];
|
|
147
|
+
}),
|
|
148
|
+
_: 3
|
|
149
|
+
})
|
|
150
|
+
])), [
|
|
151
|
+
[V, v]
|
|
152
|
+
]);
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
const u1 = { class: "bg-white dark:bg-gray-800" }, c1 = ["onClick"], F = /* @__PURE__ */ H({
|
|
157
|
+
__name: "VList",
|
|
158
|
+
props: {
|
|
159
|
+
list: { default: () => [] }
|
|
160
|
+
},
|
|
161
|
+
emits: ["click"],
|
|
162
|
+
setup(t, { emit: e }) {
|
|
163
|
+
const i = e, a = (l) => i("click", l);
|
|
164
|
+
return (l, o) => (n(), s("ul", u1, [
|
|
165
|
+
(n(!0), s(L, null, S(l.list, (c, v) => (n(), s("li", {
|
|
166
|
+
key: "list_" + v,
|
|
167
|
+
class: "whitespace-nowrap cursor-pointer flex items-center min-h-[40px] py-1 px-4 border-b last:border-b-0 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-700",
|
|
168
|
+
onClick: (f) => a(c)
|
|
169
|
+
}, [
|
|
170
|
+
y(l.$slots, "default", { item: c }, () => [
|
|
171
|
+
w(m(c.name), 1)
|
|
172
|
+
])
|
|
173
|
+
], 8, c1))), 128))
|
|
174
|
+
]));
|
|
175
|
+
}
|
|
176
|
+
}), g = (t, e) => {
|
|
177
|
+
const i = t.__vccOpts || t;
|
|
178
|
+
for (const [a, l] of e)
|
|
179
|
+
i[a] = l;
|
|
180
|
+
return i;
|
|
181
|
+
};
|
|
182
|
+
var d1 = {}, f1 = {
|
|
183
|
+
viewBox: "0 0 24 24",
|
|
184
|
+
width: "24",
|
|
185
|
+
height: "24",
|
|
186
|
+
fill: "currentColor"
|
|
187
|
+
};
|
|
188
|
+
function v1(t, e) {
|
|
189
|
+
return n(), s("svg", f1, e[0] || (e[0] = [
|
|
190
|
+
r("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" }, null, -1)
|
|
191
|
+
]));
|
|
192
|
+
}
|
|
193
|
+
const O = /* @__PURE__ */ g(d1, [["render", v1]]);
|
|
194
|
+
var h1 = {
|
|
195
|
+
key: 0,
|
|
196
|
+
class: "p-4 py-2"
|
|
197
|
+
}, g1 = {
|
|
198
|
+
__name: "VAutocomplete",
|
|
199
|
+
props: {
|
|
200
|
+
value: { type: String, default: "" },
|
|
201
|
+
valueName: { type: String, default: "name" },
|
|
202
|
+
placeholder: { type: String, default: "" },
|
|
203
|
+
list: { type: Array, default: function() {
|
|
204
|
+
return [];
|
|
205
|
+
} }
|
|
206
|
+
},
|
|
207
|
+
emits: ["change"],
|
|
208
|
+
setup: function(t) {
|
|
209
|
+
var e = t, i = M(""), a = b(function() {
|
|
210
|
+
return e.value;
|
|
211
|
+
}), l = b(function() {
|
|
212
|
+
var d = e?.list || [];
|
|
213
|
+
return d.filter(function(h) {
|
|
214
|
+
return i.value ? h[e.valueName].toLowerCase().includes(i.value.toLowerCase()) : !0;
|
|
215
|
+
});
|
|
216
|
+
}), o = b(function() {
|
|
217
|
+
return e.placeholder;
|
|
218
|
+
}), c = b(function() {
|
|
219
|
+
var d;
|
|
220
|
+
return !(!((d = l?.value) === null || d === void 0) && d.length);
|
|
221
|
+
}), v = function(d) {
|
|
222
|
+
return i.value = d.target.value;
|
|
223
|
+
}, f = function(d) {
|
|
224
|
+
return { "rotate-x-180": d };
|
|
225
|
+
};
|
|
226
|
+
return function(d, h) {
|
|
227
|
+
return n(), z(T, I(d.$attrs, { top: "50px" }), {
|
|
228
|
+
activator: k(function(p) {
|
|
229
|
+
var _ = p.show, V = p.on;
|
|
230
|
+
return [
|
|
231
|
+
$(j, {
|
|
232
|
+
value: _ ? i.value : a.value,
|
|
233
|
+
placeholder: _ ? "Search" : o.value,
|
|
234
|
+
onClick: V.click,
|
|
235
|
+
onInput: v,
|
|
236
|
+
onOnIcon: V.click,
|
|
237
|
+
onFocus: h[0] || (h[0] = function(Z) {
|
|
238
|
+
return i.value = "";
|
|
239
|
+
})
|
|
240
|
+
}, {
|
|
241
|
+
icon: k(function() {
|
|
242
|
+
return [
|
|
243
|
+
$(O, {
|
|
244
|
+
class: C(["transition", f(_)])
|
|
245
|
+
}, null, 8, ["class"])
|
|
246
|
+
];
|
|
247
|
+
}),
|
|
248
|
+
_: 2
|
|
249
|
+
}, 1032, ["value", "placeholder", "onClick", "onOnIcon"])
|
|
250
|
+
];
|
|
251
|
+
}),
|
|
252
|
+
default: k(function() {
|
|
253
|
+
return [
|
|
254
|
+
r("div", null, [
|
|
255
|
+
$(F, {
|
|
256
|
+
list: l.value,
|
|
257
|
+
onClick: h[1] || (h[1] = function(p) {
|
|
258
|
+
return d.$emit("change", p);
|
|
259
|
+
})
|
|
260
|
+
}, {
|
|
261
|
+
default: k(function(p) {
|
|
262
|
+
var _ = p.item;
|
|
263
|
+
return [
|
|
264
|
+
y(d.$slots, "default", { item: _ }, function() {
|
|
265
|
+
return [
|
|
266
|
+
w(m(_[t.valueName]), 1)
|
|
267
|
+
];
|
|
268
|
+
})
|
|
269
|
+
];
|
|
270
|
+
}),
|
|
271
|
+
_: 3
|
|
272
|
+
}, 8, ["list"])
|
|
273
|
+
]),
|
|
274
|
+
c.value ? (n(), s("div", h1, "Not found")) : x("", !0)
|
|
275
|
+
];
|
|
276
|
+
}),
|
|
277
|
+
_: 3
|
|
278
|
+
}, 16);
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
};
|
|
282
|
+
const p1 = { class: "flex items-center gap-1.5" }, y1 = /* @__PURE__ */ H({
|
|
283
|
+
__name: "VBreadcrumb",
|
|
284
|
+
props: {
|
|
285
|
+
items: { default: () => [] }
|
|
286
|
+
},
|
|
287
|
+
emits: ["click"],
|
|
288
|
+
setup(t, { emit: e }) {
|
|
289
|
+
return (i, a) => (n(), s("nav", null, [
|
|
290
|
+
r("ol", p1, [
|
|
291
|
+
(n(!0), s(L, null, S(i.items, (l, o) => (n(), s("li", {
|
|
292
|
+
key: o,
|
|
293
|
+
class: C(["inline-flex items-center gap-1.5 text-sm text-gray-500 dark:text-gray-400", l.path ? "" : "text-gray-800 dark:text-white/90"])
|
|
294
|
+
}, [
|
|
295
|
+
y(i.$slots, "default", { item: l }, () => [
|
|
296
|
+
(n(), z(R(l.path ? "a" : "span"), {
|
|
297
|
+
href: l.path
|
|
298
|
+
}, {
|
|
299
|
+
default: k(() => [
|
|
300
|
+
w(m(l.name), 1)
|
|
301
|
+
]),
|
|
302
|
+
_: 2
|
|
303
|
+
}, 1032, ["href"]))
|
|
304
|
+
]),
|
|
305
|
+
l.path ? (n(), z(O, {
|
|
306
|
+
key: 0,
|
|
307
|
+
class: "rotate-270"
|
|
308
|
+
})) : x("", !0)
|
|
309
|
+
], 2))), 128))
|
|
310
|
+
])
|
|
311
|
+
]));
|
|
312
|
+
}
|
|
313
|
+
}), m1 = "relative flex justify-center items-center transition not-disabled:cursor-pointer not-disabled:hover:opacity-90 disabled:opacity-40 rounded", C1 = /* @__PURE__ */ H({
|
|
3
314
|
__name: "VButton",
|
|
4
315
|
props: {
|
|
5
316
|
block: { type: Boolean },
|
|
6
317
|
outline: { type: Boolean, default: !1 },
|
|
7
318
|
color: { default: "gray" },
|
|
8
319
|
size: { default: "normal" },
|
|
9
|
-
type: { default: "button" }
|
|
320
|
+
type: { default: "button" },
|
|
321
|
+
loading: { type: Boolean, default: !1 }
|
|
10
322
|
},
|
|
11
323
|
emits: ["click"],
|
|
12
324
|
setup(t, { emit: e }) {
|
|
13
|
-
const
|
|
325
|
+
const i = e, a = (u) => i("click", u), l = t.outline ? "border border-green-600 text-green-600" : "bg-green-600 dark:bg-green-800", o = t.outline ? "border border-red-600 text-red-600" : "bg-red-600 dark:bg-red-800", c = t.outline ? "border border-gray-600 text-gray-600" : "bg-gray-700 dark:bg-gray-800", v = t.outline ? "border border-blue-600 text-blue-600" : "bg-blue-700 dark:bg-blue-800", f = { green: l, red: o, gray: c, blue: v }, d = {
|
|
14
326
|
button: "px-4",
|
|
15
327
|
icon: "h-10 w-10 rounded-full border border-gray-200 dark:border-gray-800"
|
|
16
|
-
},
|
|
17
|
-
return (
|
|
18
|
-
class:
|
|
19
|
-
onClick:
|
|
328
|
+
}, h = { normal: "h-10", small: "h-8" }, p = (u) => h?.[u] || "", _ = (u) => d?.[u] || "", V = (u) => t.type === "icon" ? "" : `${t.outline ? "dark:text-white" : "text-white"} ${f?.[u] || ""}`, Z = b(() => [m1, V(t.color), _(t.type), p(t.size), { "w-full": t.block }]);
|
|
329
|
+
return (u, B) => (n(), s("button", {
|
|
330
|
+
class: C(Z.value),
|
|
331
|
+
onClick: a
|
|
20
332
|
}, [
|
|
21
|
-
|
|
333
|
+
r("span", {
|
|
334
|
+
class: C(u.loading ? "opacity-0" : "")
|
|
335
|
+
}, [
|
|
336
|
+
y(u.$slots, "default")
|
|
337
|
+
], 2),
|
|
338
|
+
u.loading ? (n(), z(J(q), {
|
|
339
|
+
key: 0,
|
|
340
|
+
class: "absolute left-1/2 -translate-x-1/2"
|
|
341
|
+
})) : x("", !0)
|
|
22
342
|
], 2));
|
|
23
343
|
}
|
|
24
|
-
})
|
|
25
|
-
|
|
26
|
-
for (const [r, o] of e)
|
|
27
|
-
c[r] = o;
|
|
28
|
-
return c;
|
|
29
|
-
};
|
|
30
|
-
var Y = {}, e1 = {
|
|
344
|
+
});
|
|
345
|
+
var _1 = {}, b1 = {
|
|
31
346
|
class: "animate-spin h-6 w-6",
|
|
32
347
|
fill: "none",
|
|
33
348
|
viewBox: "0 0 24 24"
|
|
34
349
|
};
|
|
35
|
-
function
|
|
36
|
-
return
|
|
37
|
-
|
|
350
|
+
function x1(t, e) {
|
|
351
|
+
return n(), s("svg", b1, e[0] || (e[0] = [
|
|
352
|
+
r("circle", {
|
|
38
353
|
class: "opacity-25",
|
|
39
354
|
cx: "12",
|
|
40
355
|
cy: "12",
|
|
41
356
|
r: "10",
|
|
42
357
|
stroke: "currentColor",
|
|
43
|
-
"stroke-width": "
|
|
358
|
+
"stroke-width": "2"
|
|
44
359
|
}, null, -1),
|
|
45
|
-
|
|
360
|
+
r("path", {
|
|
46
361
|
class: "opacity-75",
|
|
47
362
|
fill: "currentColor",
|
|
48
363
|
d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
|
|
49
364
|
}, null, -1)
|
|
50
365
|
]));
|
|
51
366
|
}
|
|
52
|
-
const
|
|
367
|
+
const q = /* @__PURE__ */ g(_1, [["render", x1]]), V1 = ["checked", "disabled"], k1 = { class: "text-sm ms-2 peer-disabled:opacity-40" }, $1 = /* @__PURE__ */ H({
|
|
53
368
|
__name: "VCheckbox",
|
|
54
369
|
props: {
|
|
55
370
|
modelValue: { default: "" },
|
|
@@ -57,202 +372,109 @@ const r1 = /* @__PURE__ */ v(Y, [["render", t1]]), n1 = { class: "inline-flex it
|
|
|
57
372
|
},
|
|
58
373
|
emits: ["update:modelValue"],
|
|
59
374
|
setup(t, { emit: e }) {
|
|
60
|
-
const
|
|
61
|
-
return (
|
|
62
|
-
|
|
375
|
+
const i = e, a = ({ target: l }) => i("update:modelValue", l.checked);
|
|
376
|
+
return (l, o) => (n(), s("label", {
|
|
377
|
+
class: C(["inline-flex items-center relative", { "cursor-pointer": !l.disabled }])
|
|
378
|
+
}, [
|
|
379
|
+
r("input", {
|
|
63
380
|
type: "checkbox",
|
|
64
|
-
checked:
|
|
65
|
-
disabled:
|
|
66
|
-
class: "peer h-5 w-5 transition-all appearance-none rounded border border-
|
|
67
|
-
onChange:
|
|
68
|
-
}, null, 40,
|
|
69
|
-
|
|
70
|
-
|
|
381
|
+
checked: l.modelValue,
|
|
382
|
+
disabled: l.disabled,
|
|
383
|
+
class: "peer h-5 w-5 transition-all appearance-none rounded border border-gray-300 dark:border-gray-700 disabled:opacity-40",
|
|
384
|
+
onChange: a
|
|
385
|
+
}, null, 40, V1),
|
|
386
|
+
o[0] || (o[0] = r("span", { class: "absolute opacity-0 peer-checked:opacity-100 peer-disabled:opacity-40 top-1/2 left-[10px] transform -translate-x-1/2 -translate-y-1/2 pointer-events-none" }, [
|
|
387
|
+
r("svg", {
|
|
71
388
|
class: "h-3.5 w-3.5",
|
|
72
389
|
viewBox: "0 0 20 20",
|
|
73
390
|
fill: "currentColor",
|
|
74
391
|
stroke: "currentColor",
|
|
75
392
|
"stroke-width": "1"
|
|
76
393
|
}, [
|
|
77
|
-
|
|
394
|
+
r("path", {
|
|
78
395
|
"fill-rule": "evenodd",
|
|
79
396
|
d: "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",
|
|
80
397
|
"clip-rule": "evenodd"
|
|
81
398
|
})
|
|
82
399
|
])
|
|
83
400
|
], -1)),
|
|
84
|
-
|
|
85
|
-
|
|
401
|
+
r("span", k1, [
|
|
402
|
+
y(l.$slots, "default")
|
|
86
403
|
])
|
|
87
|
-
]));
|
|
404
|
+
], 2));
|
|
88
405
|
}
|
|
89
406
|
});
|
|
90
|
-
var
|
|
91
|
-
__name: "VDropdown",
|
|
92
|
-
props: {
|
|
93
|
-
top: { type: String, default: "calc(100% + 5px)" },
|
|
94
|
-
left: { type: String, default: "0" },
|
|
95
|
-
right: { type: String, default: "" },
|
|
96
|
-
hideOnClick: { type: Boolean, default: !0 },
|
|
97
|
-
height: { type: String, default: "200px" }
|
|
98
|
-
},
|
|
99
|
-
emits: ["click", "show", "close"],
|
|
100
|
-
setup: function(t, e) {
|
|
101
|
-
var c = e.emit, r = t, o = c, i = w(!1), u = m(function() {
|
|
102
|
-
return { top: r.top, left: r.left, right: r.right, "max-height": r.height };
|
|
103
|
-
}), C = function() {
|
|
104
|
-
i.value && g();
|
|
105
|
-
}, d = function() {
|
|
106
|
-
i.value ? r.hideOnClick && g() : f(), o("click", i.value);
|
|
107
|
-
}, f = function(p) {
|
|
108
|
-
i.value = !0, o("show", p);
|
|
109
|
-
}, g = function(p) {
|
|
110
|
-
i.value = !1, o("close", p);
|
|
111
|
-
};
|
|
112
|
-
return function(p, V) {
|
|
113
|
-
var y = K("outside");
|
|
114
|
-
return G((l(), s("div", i1, [
|
|
115
|
-
n("div", s1, [
|
|
116
|
-
h(p.$slots, "activator", {
|
|
117
|
-
on: { click: d },
|
|
118
|
-
show: i.value
|
|
119
|
-
})
|
|
120
|
-
]),
|
|
121
|
-
M(W, { name: "slide" }, {
|
|
122
|
-
default: H(function() {
|
|
123
|
-
return [
|
|
124
|
-
i.value ? (l(), s("div", {
|
|
125
|
-
key: 0,
|
|
126
|
-
class: "z-10 min-w-full absolute overflow-auto shadow-lg",
|
|
127
|
-
style: z(u.value),
|
|
128
|
-
onClick: d
|
|
129
|
-
}, [
|
|
130
|
-
h(p.$slots, "default", {
|
|
131
|
-
show: f,
|
|
132
|
-
hide: g,
|
|
133
|
-
isShown: i.value
|
|
134
|
-
})
|
|
135
|
-
], 4)) : x("", !0)
|
|
136
|
-
];
|
|
137
|
-
}),
|
|
138
|
-
_: 3
|
|
139
|
-
})
|
|
140
|
-
])), [
|
|
141
|
-
[y, C]
|
|
142
|
-
]);
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
}, u1 = {}, c1 = {
|
|
146
|
-
width: "20",
|
|
147
|
-
height: "20",
|
|
148
|
-
viewBox: "0 0 20 20",
|
|
149
|
-
fill: "none"
|
|
150
|
-
};
|
|
151
|
-
function d1(t, e) {
|
|
152
|
-
return l(), s("svg", c1, e[0] || (e[0] = [
|
|
153
|
-
n("path", {
|
|
154
|
-
d: "M4.79175 7.39584L10.0001 12.6042L15.2084 7.39585",
|
|
155
|
-
stroke: "currentColor",
|
|
156
|
-
"stroke-width": "1.5",
|
|
157
|
-
"stroke-linecap": "round",
|
|
158
|
-
"stroke-linejoin": "round"
|
|
159
|
-
}, null, -1)
|
|
160
|
-
]));
|
|
161
|
-
}
|
|
162
|
-
const j = /* @__PURE__ */ v(u1, [["render", d1]]);
|
|
163
|
-
var f1 = { class: "v-expansion__content max-h-0 overflow-hidden transition-all duration-300" }, v1 = { class: "p-4" }, C1 = {
|
|
407
|
+
var w1 = { class: "v-expansion__content max-h-0 overflow-hidden transition-all duration-300" }, H1 = { class: "p-4" }, L1 = {
|
|
164
408
|
__name: "VExpansion",
|
|
165
409
|
props: {
|
|
166
410
|
label: { type: String, default: "" },
|
|
167
411
|
value: { type: Boolean, default: !1 }
|
|
168
412
|
},
|
|
169
413
|
setup: function(t) {
|
|
170
|
-
var e = t,
|
|
171
|
-
var
|
|
172
|
-
|
|
173
|
-
},
|
|
174
|
-
|
|
414
|
+
var e = t, i = M(null), a = M(e.value), l = function() {
|
|
415
|
+
var c = i.value.querySelector(".v-expansion__content");
|
|
416
|
+
c.style.maxHeight = a.value ? "".concat(c.scrollHeight, "px") : "0";
|
|
417
|
+
}, o = function() {
|
|
418
|
+
a.value = !a.value, l();
|
|
175
419
|
};
|
|
176
|
-
return
|
|
177
|
-
|
|
178
|
-
}), function(
|
|
179
|
-
return
|
|
420
|
+
return P(function() {
|
|
421
|
+
l();
|
|
422
|
+
}), function(c, v) {
|
|
423
|
+
return n(), s("div", {
|
|
180
424
|
ref_key: "root",
|
|
181
|
-
ref:
|
|
425
|
+
ref: i,
|
|
182
426
|
class: "border-b dark:border-gray-700 border-gray-200"
|
|
183
427
|
}, [
|
|
184
|
-
|
|
428
|
+
r("div", {
|
|
185
429
|
class: "cursor-pointer min-h-[60px] px-4 flex items-center justify-between",
|
|
186
|
-
onClick:
|
|
430
|
+
onClick: o
|
|
187
431
|
}, [
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
class:
|
|
432
|
+
r("h4", null, m(t.label), 1),
|
|
433
|
+
r("div", {
|
|
434
|
+
class: C(["transition text-gray-400", { "rotate-180": a.value }])
|
|
191
435
|
}, [
|
|
192
|
-
|
|
436
|
+
$(O)
|
|
193
437
|
], 2)
|
|
194
438
|
]),
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
439
|
+
r("div", w1, [
|
|
440
|
+
r("div", H1, [
|
|
441
|
+
y(c.$slots, "default")
|
|
198
442
|
])
|
|
199
443
|
])
|
|
200
444
|
], 512);
|
|
201
445
|
};
|
|
202
446
|
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
},
|
|
209
|
-
emits: ["click"],
|
|
210
|
-
setup(t, { emit: e }) {
|
|
211
|
-
const c = e, r = (o) => c("click", o);
|
|
212
|
-
return (o, i) => (l(), s("ul", h1, [
|
|
213
|
-
(l(!0), s(I, null, T(o.list, (u, C) => (l(), s("li", {
|
|
214
|
-
key: "list_" + C,
|
|
215
|
-
class: "whitespace-nowrap cursor-pointer flex items-center min-h-[40px] py-1 px-4 border-b last:border-b-0 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-700",
|
|
216
|
-
onClick: (d) => r(u)
|
|
217
|
-
}, [
|
|
218
|
-
h(o.$slots, "default", { item: u }, () => [
|
|
219
|
-
Z(_(u.name), 1)
|
|
220
|
-
])
|
|
221
|
-
], 8, g1))), 128))
|
|
222
|
-
]));
|
|
223
|
-
}
|
|
224
|
-
});
|
|
225
|
-
var S = function() {
|
|
226
|
-
return S = Object.assign || function(e) {
|
|
227
|
-
for (var c, r = 1, o = arguments.length; r < o; r++) {
|
|
228
|
-
c = arguments[r];
|
|
229
|
-
for (var i in c) Object.prototype.hasOwnProperty.call(c, i) && (e[i] = c[i]);
|
|
447
|
+
}, N = function() {
|
|
448
|
+
return N = Object.assign || function(e) {
|
|
449
|
+
for (var i, a = 1, l = arguments.length; a < l; a++) {
|
|
450
|
+
i = arguments[a];
|
|
451
|
+
for (var o in i) Object.prototype.hasOwnProperty.call(i, o) && (e[o] = i[o]);
|
|
230
452
|
}
|
|
231
453
|
return e;
|
|
232
|
-
},
|
|
454
|
+
}, N.apply(this, arguments);
|
|
233
455
|
};
|
|
234
|
-
var
|
|
456
|
+
var M1 = {}, Z1 = {
|
|
457
|
+
viewBox: "0 0 24 24",
|
|
235
458
|
width: "24",
|
|
236
459
|
height: "24",
|
|
237
|
-
viewBox: "0 0 8 8",
|
|
238
460
|
fill: "currentColor"
|
|
239
461
|
};
|
|
240
|
-
function
|
|
241
|
-
return
|
|
242
|
-
|
|
462
|
+
function B1(t, e) {
|
|
463
|
+
return n(), s("svg", Z1, e[0] || (e[0] = [
|
|
464
|
+
r("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" }, null, -1)
|
|
243
465
|
]));
|
|
244
466
|
}
|
|
245
|
-
const
|
|
246
|
-
var
|
|
467
|
+
const K = /* @__PURE__ */ g(M1, [["render", B1]]);
|
|
468
|
+
var S1 = {
|
|
247
469
|
class: "w-full min-w-[260px] max-w-xs p-4 bg-white rounded-lg shadow-lg dark:bg-gray-800",
|
|
248
470
|
role: "alert"
|
|
249
|
-
},
|
|
471
|
+
}, z1 = { class: "flex items-center gap-4 text-sm" }, I1 = { class: "flex-auto" }, O1 = {
|
|
250
472
|
key: 0,
|
|
251
473
|
class: "text-green-600"
|
|
252
|
-
},
|
|
474
|
+
}, N1 = {
|
|
253
475
|
key: 0,
|
|
254
476
|
class: "w-full bg-gray-200 rounded-full dark:bg-gray-700 mt-2"
|
|
255
|
-
},
|
|
477
|
+
}, E1 = {
|
|
256
478
|
__name: "VNotification",
|
|
257
479
|
props: {
|
|
258
480
|
text: { type: String, default: "" },
|
|
@@ -271,127 +493,45 @@ var b1 = {
|
|
|
271
493
|
},
|
|
272
494
|
emits: ["close"],
|
|
273
495
|
setup: function(t, e) {
|
|
274
|
-
var
|
|
275
|
-
return
|
|
276
|
-
}),
|
|
277
|
-
return !!
|
|
278
|
-
}),
|
|
279
|
-
return !!(
|
|
496
|
+
var i = e.emit, a = t, l = i, o = b(function() {
|
|
497
|
+
return a.status ? Math.ceil(a.size * 100 / a.length) : 100;
|
|
498
|
+
}), c = b(function() {
|
|
499
|
+
return !!a.length;
|
|
500
|
+
}), v = b(function() {
|
|
501
|
+
return !!(c.value && o.value === 100 && !a.status);
|
|
280
502
|
});
|
|
281
|
-
return
|
|
282
|
-
var
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
},
|
|
286
|
-
}), function(
|
|
287
|
-
return
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
503
|
+
return P(function() {
|
|
504
|
+
var f = a.timeout;
|
|
505
|
+
f && setTimeout(function() {
|
|
506
|
+
l("close", N({}, a));
|
|
507
|
+
}, f * 1e3);
|
|
508
|
+
}), function(f, d) {
|
|
509
|
+
return n(), s("div", S1, [
|
|
510
|
+
r("div", z1, [
|
|
511
|
+
r("div", I1, m(t.text), 1),
|
|
512
|
+
v.value ? (n(), s("span", O1, "Done")) : x("", !0),
|
|
513
|
+
r("button", {
|
|
292
514
|
class: "transition text-gray-400 self-start hover:text-gray-600",
|
|
293
|
-
onClick:
|
|
294
|
-
return
|
|
515
|
+
onClick: d[0] || (d[0] = function(h) {
|
|
516
|
+
return l("close", f.item);
|
|
295
517
|
})
|
|
296
518
|
}, [
|
|
297
|
-
|
|
519
|
+
$(K, { class: "h-4 w-4" })
|
|
298
520
|
])
|
|
299
521
|
]),
|
|
300
|
-
|
|
301
|
-
|
|
522
|
+
c.value ? (n(), s("div", N1, [
|
|
523
|
+
r("div", {
|
|
302
524
|
class: "bg-blue-600 text-sm font-medium text-blue-100 text-center leading-none rounded-full",
|
|
303
|
-
style:
|
|
304
|
-
},
|
|
525
|
+
style: E("width: ".concat(o.value, "%"))
|
|
526
|
+
}, m(o.value) + "%", 5)
|
|
305
527
|
])) : x("", !0)
|
|
306
528
|
]);
|
|
307
529
|
};
|
|
308
530
|
}
|
|
309
|
-
},
|
|
310
|
-
key: 0,
|
|
311
|
-
class: "text-red-500 h-[24px] px-2 text-xs"
|
|
312
|
-
}, Z1 = "after:absolute after:h-1 after:w-full after:left-0 after:translate-y-[6px] after:-z-10 dark:after:bg-gray-800 after:bg-white", q = {
|
|
313
|
-
__name: "VTextField",
|
|
314
|
-
props: {
|
|
315
|
-
modelValue: { type: [String, Number], default: null },
|
|
316
|
-
label: { type: String, default: "" },
|
|
317
|
-
disabled: { type: Boolean, default: !1 },
|
|
318
|
-
type: { type: String, default: "text" },
|
|
319
|
-
active: { type: Boolean, default: !1 },
|
|
320
|
-
hideMessage: { type: Boolean, default: !1 },
|
|
321
|
-
rules: { type: Array, default: function() {
|
|
322
|
-
return [];
|
|
323
|
-
} },
|
|
324
|
-
message: { type: String, default: "" }
|
|
325
|
-
},
|
|
326
|
-
emits: ["update:modelValue", "click", "on-icon", "enter", "blur"],
|
|
327
|
-
setup: function(t, e) {
|
|
328
|
-
var c = e.emit, r = t, o = c, i = w(!1), u = m(function() {
|
|
329
|
-
return [
|
|
330
|
-
r.message ? "border-red-500 hover:border-red-400" : "",
|
|
331
|
-
r.disabled ? "border-gray-400 opacity-50 hover:border-gray-400" : "border-gray-300 dark:border-gray-600 hover:border-secondary"
|
|
332
|
-
];
|
|
333
|
-
}), C = function(a) {
|
|
334
|
-
return a || a === 0;
|
|
335
|
-
}, d = m(function() {
|
|
336
|
-
return [Z1, i.value || C(r.modelValue) || r.active ? "top-0 left-3 text-xs" : "top-1/2"];
|
|
337
|
-
}), f = function(a) {
|
|
338
|
-
var $ = a.target;
|
|
339
|
-
o("update:modelValue", $.value);
|
|
340
|
-
}, g = function(a) {
|
|
341
|
-
i.value = !1, o("blur", a);
|
|
342
|
-
}, p = function(a) {
|
|
343
|
-
return o("enter", a);
|
|
344
|
-
}, V = function() {
|
|
345
|
-
return i.value = !0;
|
|
346
|
-
}, y = function(a) {
|
|
347
|
-
return o("click", a);
|
|
348
|
-
}, L = function(a) {
|
|
349
|
-
r.disabled || o("on-icon", a);
|
|
350
|
-
};
|
|
351
|
-
return function(a, $) {
|
|
352
|
-
return l(), s("div", k1, [
|
|
353
|
-
n("label", {
|
|
354
|
-
class: b(["relative w-full h-[40px] border flex items-center rounded transition", u.value])
|
|
355
|
-
}, [
|
|
356
|
-
n("span", {
|
|
357
|
-
class: b(["absolute left-4 transition-all rounded duration-300 -translate-y-1/2 text-gray-600 dark:text-gray-400", d.value])
|
|
358
|
-
}, _(t.label), 3),
|
|
359
|
-
n("input", B(a.$attrs, {
|
|
360
|
-
value: t.modelValue,
|
|
361
|
-
disabled: t.disabled,
|
|
362
|
-
type: t.type,
|
|
363
|
-
class: "w-full px-4 outline-none overflow-ellipsis flex-auto overflow-hidden w-[calc(100% - 20px)] bg-transparent",
|
|
364
|
-
onFocus: V,
|
|
365
|
-
onBlur: g,
|
|
366
|
-
onInput: f,
|
|
367
|
-
onClick: y,
|
|
368
|
-
onKeypress: E(p, ["enter"])
|
|
369
|
-
}), null, 16, L1),
|
|
370
|
-
a.$slots.icon ? (l(), s("button", {
|
|
371
|
-
key: 0,
|
|
372
|
-
disabled: t.disabled,
|
|
373
|
-
style: { flex: "0 0 50px" },
|
|
374
|
-
class: "h-full flex items-center justify-center text-gray-400 border-l border-gray-300 dark:border-gray-600",
|
|
375
|
-
onClick: L
|
|
376
|
-
}, [
|
|
377
|
-
h(a.$slots, "icon")
|
|
378
|
-
], 8, H1)) : x("", !0)
|
|
379
|
-
], 2),
|
|
380
|
-
!t.hideMessage && t.message ? (l(), s("div", M1, [
|
|
381
|
-
h(a.$slots, "message", {}, function() {
|
|
382
|
-
return [
|
|
383
|
-
Z(_(t.message), 1)
|
|
384
|
-
];
|
|
385
|
-
})
|
|
386
|
-
])) : x("", !0)
|
|
387
|
-
]);
|
|
388
|
-
};
|
|
389
|
-
}
|
|
390
|
-
}, B1 = {
|
|
531
|
+
}, j1 = {
|
|
391
532
|
__name: "VSelect",
|
|
392
533
|
props: {
|
|
393
534
|
value: { type: String, default: "" },
|
|
394
|
-
modelValue: { type: [String, Number], default: "" },
|
|
395
535
|
valueName: { type: String, default: "name" },
|
|
396
536
|
label: { type: String, default: "" },
|
|
397
537
|
list: { type: Array, default: function() {
|
|
@@ -400,50 +540,47 @@ var b1 = {
|
|
|
400
540
|
},
|
|
401
541
|
emits: ["change"],
|
|
402
542
|
setup: function(t, e) {
|
|
403
|
-
var
|
|
404
|
-
return
|
|
405
|
-
},
|
|
406
|
-
return { "rotate-x-180":
|
|
543
|
+
var i = e.emit, a = i, l = function(c) {
|
|
544
|
+
return a("change", c);
|
|
545
|
+
}, o = function(c) {
|
|
546
|
+
return { "rotate-x-180": c };
|
|
407
547
|
};
|
|
408
|
-
return function(
|
|
409
|
-
return
|
|
410
|
-
activator:
|
|
411
|
-
var
|
|
548
|
+
return function(c, v) {
|
|
549
|
+
return n(), z(T, I({ class: "relative w-full" }, c.$attrs, { top: "50px" }), {
|
|
550
|
+
activator: k(function(f) {
|
|
551
|
+
var d = f.on, h = f.show;
|
|
412
552
|
return [
|
|
413
|
-
(
|
|
414
|
-
key: t.value,
|
|
553
|
+
$(j, {
|
|
415
554
|
"model-value": t.value,
|
|
416
|
-
title: t.value,
|
|
417
555
|
readonly: "",
|
|
418
556
|
active: "",
|
|
419
|
-
"hide-message": "",
|
|
420
557
|
label: t.label,
|
|
421
|
-
onClick:
|
|
422
|
-
onOnIcon:
|
|
558
|
+
onClick: d.click,
|
|
559
|
+
onOnIcon: d.click
|
|
423
560
|
}, {
|
|
424
|
-
icon:
|
|
561
|
+
icon: k(function() {
|
|
425
562
|
return [
|
|
426
|
-
|
|
427
|
-
class:
|
|
563
|
+
$(O, {
|
|
564
|
+
class: C(["transition", o(h)])
|
|
428
565
|
}, null, 8, ["class"])
|
|
429
566
|
];
|
|
430
567
|
}),
|
|
431
568
|
_: 2
|
|
432
|
-
}, 1032, ["model-value", "
|
|
569
|
+
}, 1032, ["model-value", "label", "onClick", "onOnIcon"])
|
|
433
570
|
];
|
|
434
571
|
}),
|
|
435
|
-
default:
|
|
572
|
+
default: k(function() {
|
|
436
573
|
return [
|
|
437
|
-
|
|
574
|
+
$(F, {
|
|
438
575
|
list: t.list,
|
|
439
|
-
onClick:
|
|
576
|
+
onClick: l
|
|
440
577
|
}, {
|
|
441
|
-
default:
|
|
442
|
-
var
|
|
578
|
+
default: k(function(f) {
|
|
579
|
+
var d = f.item;
|
|
443
580
|
return [
|
|
444
|
-
|
|
581
|
+
y(c.$slots, "default", { item: d }, function() {
|
|
445
582
|
return [
|
|
446
|
-
|
|
583
|
+
w(m(d.name), 1)
|
|
447
584
|
];
|
|
448
585
|
})
|
|
449
586
|
];
|
|
@@ -456,10 +593,10 @@ var b1 = {
|
|
|
456
593
|
}, 16);
|
|
457
594
|
};
|
|
458
595
|
}
|
|
459
|
-
},
|
|
596
|
+
}, T1 = { class: "w-full relative" }, F1 = ["value", "disabled", "type"], A1 = ["disabled"], D1 = {
|
|
460
597
|
key: 0,
|
|
461
598
|
class: "text-red-500 h-[24px] px-2 text-xs"
|
|
462
|
-
},
|
|
599
|
+
}, P1 = "after:absolute after:h-1 after:w-full after:left-0 after:translate-y-[6px] after:-z-10 dark:after:bg-gray-800 after:bg-white", q1 = {
|
|
463
600
|
__name: "VTextarea",
|
|
464
601
|
props: {
|
|
465
602
|
modelValue: { type: [String, Number], default: null },
|
|
@@ -475,150 +612,206 @@ var b1 = {
|
|
|
475
612
|
},
|
|
476
613
|
emits: ["update:modelValue", "click", "on-icon", "enter", "blur"],
|
|
477
614
|
setup: function(t, e) {
|
|
478
|
-
var
|
|
615
|
+
var i = e.emit, a = t, l = i, o = M(!1), c = b(function() {
|
|
479
616
|
return [
|
|
480
|
-
|
|
481
|
-
|
|
617
|
+
a.message ? "border-red-500 hover:border-red-400" : "",
|
|
618
|
+
a.disabled ? "border-gray-400 opacity-40" : "border-gray-300 hover:border-gray-400 dark:border-gray-700/50 hover:dark:border-gray-600/50"
|
|
482
619
|
];
|
|
483
|
-
}),
|
|
484
|
-
return
|
|
485
|
-
},
|
|
486
|
-
return [
|
|
487
|
-
}),
|
|
488
|
-
var
|
|
489
|
-
|
|
490
|
-
},
|
|
491
|
-
|
|
492
|
-
}, p = function(
|
|
493
|
-
return
|
|
494
|
-
},
|
|
495
|
-
return
|
|
496
|
-
},
|
|
497
|
-
return
|
|
498
|
-
},
|
|
499
|
-
|
|
620
|
+
}), v = function(u) {
|
|
621
|
+
return u || u === 0;
|
|
622
|
+
}, f = b(function() {
|
|
623
|
+
return [P1, o.value || v(a.modelValue) || a.active ? "top-0 left-3 text-xs" : "top-1/2"];
|
|
624
|
+
}), d = function(u) {
|
|
625
|
+
var B = u.target;
|
|
626
|
+
l("update:modelValue", B.value);
|
|
627
|
+
}, h = function(u) {
|
|
628
|
+
o.value = !1, l("blur", u);
|
|
629
|
+
}, p = function(u) {
|
|
630
|
+
return l("enter", u);
|
|
631
|
+
}, _ = function() {
|
|
632
|
+
return o.value = !0;
|
|
633
|
+
}, V = function(u) {
|
|
634
|
+
return l("click", u);
|
|
635
|
+
}, Z = function(u) {
|
|
636
|
+
a.disabled || l("on-icon", u);
|
|
500
637
|
};
|
|
501
|
-
return function(
|
|
502
|
-
return
|
|
503
|
-
|
|
504
|
-
class:
|
|
638
|
+
return function(u, B) {
|
|
639
|
+
return n(), s("div", T1, [
|
|
640
|
+
r("label", {
|
|
641
|
+
class: C(["relative w-full min-h-[40px] border border-gray-300 dark:border-gray-700 flex items-center rounded transition dark:bg-gray-800", c.value])
|
|
505
642
|
}, [
|
|
506
|
-
|
|
507
|
-
class:
|
|
508
|
-
},
|
|
509
|
-
|
|
643
|
+
r("span", {
|
|
644
|
+
class: C(["absolute left-4 transition-all rounded duration-300 -translate-y-1/2 text-gray-600 dark:text-gray-400", f.value])
|
|
645
|
+
}, m(t.label), 3),
|
|
646
|
+
r("textarea", I(u.$attrs, {
|
|
510
647
|
value: t.modelValue,
|
|
511
648
|
disabled: t.disabled,
|
|
512
649
|
type: t.type,
|
|
513
650
|
rows: "2",
|
|
514
651
|
wrap: "",
|
|
515
652
|
class: "h-full w-full px-4 py-2 outline-none flex-auto bg-transparent",
|
|
516
|
-
onFocus:
|
|
517
|
-
onBlur:
|
|
518
|
-
onInput:
|
|
519
|
-
onClick:
|
|
520
|
-
onKeypress:
|
|
521
|
-
}), null, 16,
|
|
522
|
-
|
|
653
|
+
onFocus: _,
|
|
654
|
+
onBlur: h,
|
|
655
|
+
onInput: d,
|
|
656
|
+
onClick: V,
|
|
657
|
+
onKeypress: D(p, ["enter"])
|
|
658
|
+
}), null, 16, F1),
|
|
659
|
+
u.$slots.icon ? (n(), s("button", {
|
|
523
660
|
key: 0,
|
|
524
661
|
disabled: t.disabled,
|
|
525
662
|
style: { flex: "0 0 50px" },
|
|
526
663
|
class: "h-full flex items-center justify-center text-gray-400 border-l border-primary",
|
|
527
|
-
onClick:
|
|
664
|
+
onClick: Z
|
|
528
665
|
}, [
|
|
529
|
-
|
|
530
|
-
], 8,
|
|
666
|
+
y(u.$slots, "icon")
|
|
667
|
+
], 8, A1)) : x("", !0)
|
|
531
668
|
], 2),
|
|
532
|
-
|
|
533
|
-
|
|
669
|
+
t.hideMessage ? x("", !0) : (n(), s("div", D1, [
|
|
670
|
+
y(u.$slots, "message", {}, function() {
|
|
534
671
|
return [
|
|
535
|
-
|
|
672
|
+
w(m(t.message), 1)
|
|
536
673
|
];
|
|
537
674
|
})
|
|
538
|
-
]))
|
|
675
|
+
]))
|
|
539
676
|
]);
|
|
540
677
|
};
|
|
541
678
|
}
|
|
542
679
|
};
|
|
543
|
-
const
|
|
680
|
+
const K1 = { class: "flex items-center cursor-pointer" }, G1 = /* @__PURE__ */ H({
|
|
544
681
|
__name: "VTextFieldFile",
|
|
545
682
|
emits: ["change"],
|
|
546
683
|
setup(t, { emit: e }) {
|
|
547
|
-
const
|
|
548
|
-
const
|
|
549
|
-
for (let
|
|
550
|
-
const
|
|
551
|
-
|
|
684
|
+
const i = e, a = M({ files: [], totalSize: 0 }), l = async (o) => {
|
|
685
|
+
const c = o.target.files, v = { files: [], totalSize: 0 };
|
|
686
|
+
for (let f = 0; f < c.length; f++) {
|
|
687
|
+
const d = c.item(f);
|
|
688
|
+
d && (v.totalSize += d.size, v.files.push({ name: d.name, size: d.size }));
|
|
552
689
|
}
|
|
553
|
-
|
|
690
|
+
c.length && (a.value = v, i("change", { files: c, info: v }));
|
|
554
691
|
};
|
|
555
|
-
return (
|
|
556
|
-
|
|
692
|
+
return (o, c) => (n(), s("label", K1, [
|
|
693
|
+
r("input", I({
|
|
557
694
|
type: "file",
|
|
558
695
|
class: "hidden"
|
|
559
|
-
},
|
|
560
|
-
|
|
696
|
+
}, o.$attrs, { onChange: l }), null, 16),
|
|
697
|
+
y(o.$slots, "default", Q(X(a.value)))
|
|
561
698
|
]));
|
|
562
699
|
}
|
|
563
|
-
}),
|
|
700
|
+
}), U1 = { class: "min-w-full" }, W1 = { class: "border-y border-gray-100 py-3 dark:border-gray-800" }, R1 = { class: "bg-gray-50 dark:bg-gray-800" }, J1 = { class: "flex items-center px-2" }, Q1 = { class: "divide-y divide-gray-100 dark:divide-gray-800" }, X1 = ["onClick"], Y1 = { class: "flex items-center text-gray-700 dark:text-gray-400" }, ee = {
|
|
701
|
+
key: 1,
|
|
702
|
+
class: ""
|
|
703
|
+
}, te = {
|
|
704
|
+
class: "py-3 whitespace-nowrap",
|
|
705
|
+
colspan: "9"
|
|
706
|
+
}, re = { class: "flex items-center justify-center text-theme-sm text-gray-700 dark:text-gray-400 px-2" }, ne = /* @__PURE__ */ H({
|
|
707
|
+
__name: "VTable",
|
|
708
|
+
props: {
|
|
709
|
+
headers: { default: () => [] },
|
|
710
|
+
items: { default: () => [] }
|
|
711
|
+
},
|
|
712
|
+
emits: ["click"],
|
|
713
|
+
setup(t, { emit: e }) {
|
|
714
|
+
const i = e, a = (o, c) => {
|
|
715
|
+
i("click", { item: o, event: c });
|
|
716
|
+
}, l = (o) => o?.className || "";
|
|
717
|
+
return (o, c) => (n(), s("table", U1, [
|
|
718
|
+
r("thead", W1, [
|
|
719
|
+
r("tr", R1, [
|
|
720
|
+
(n(!0), s(L, null, S(o.headers, (v, f) => (n(), s("th", {
|
|
721
|
+
key: f,
|
|
722
|
+
class: C(["py-2 whitespace-nowrap text-gray-500 dark:text-gray-400 font-normal px-4", l(v)])
|
|
723
|
+
}, [
|
|
724
|
+
y(o.$slots, "header", { item: v }, () => [
|
|
725
|
+
r("div", J1, m(v.name), 1)
|
|
726
|
+
])
|
|
727
|
+
], 2))), 128))
|
|
728
|
+
])
|
|
729
|
+
]),
|
|
730
|
+
r("tbody", Q1, [
|
|
731
|
+
o.items.length ? (n(!0), s(L, { key: 0 }, S(o.items, (v, f) => (n(), s("tr", {
|
|
732
|
+
key: f,
|
|
733
|
+
class: "hover:bg-gray-50/50 dark:hover:bg-gray-800/50",
|
|
734
|
+
onClick: (d) => a(v, d)
|
|
735
|
+
}, [
|
|
736
|
+
(n(!0), s(L, null, S(o.headers, (d, h) => (n(), s("td", {
|
|
737
|
+
key: h,
|
|
738
|
+
class: "py-2 whitespace-nowrap px-4"
|
|
739
|
+
}, [
|
|
740
|
+
r("div", Y1, [
|
|
741
|
+
y(o.$slots, d.key, { item: v }, () => [
|
|
742
|
+
w(m(v[d.key]), 1)
|
|
743
|
+
])
|
|
744
|
+
])
|
|
745
|
+
]))), 128))
|
|
746
|
+
], 8, X1))), 128)) : (n(), s("tr", ee, [
|
|
747
|
+
r("td", te, [
|
|
748
|
+
r("div", re, [
|
|
749
|
+
y(o.$slots, "empty", {}, () => [
|
|
750
|
+
c[0] || (c[0] = w("The list is empty"))
|
|
751
|
+
])
|
|
752
|
+
])
|
|
753
|
+
])
|
|
754
|
+
]))
|
|
755
|
+
])
|
|
756
|
+
]));
|
|
757
|
+
}
|
|
758
|
+
}), ae = { class: "relative flex items-end gap-0.5 w-10" }, le = ["title"], oe = { class: "absolute -top-1 -left-1 text-xs text-gray-600 dark:text-gray-300" }, se = /* @__PURE__ */ H({
|
|
564
759
|
__name: "WifiIcon",
|
|
565
760
|
props: {
|
|
566
761
|
rssi: { default: 0 },
|
|
567
762
|
channel: { default: 0 }
|
|
568
763
|
},
|
|
569
764
|
setup(t) {
|
|
570
|
-
const e = 2 * (t.rssi + 100),
|
|
571
|
-
return (
|
|
572
|
-
(
|
|
573
|
-
key:
|
|
574
|
-
class:
|
|
575
|
-
style:
|
|
576
|
-
title: `rssi: ${
|
|
577
|
-
}, null, 14,
|
|
578
|
-
|
|
765
|
+
const e = 2 * (t.rssi + 100), i = (a) => a < e;
|
|
766
|
+
return (a, l) => (n(), s("div", ae, [
|
|
767
|
+
(n(), s(L, null, S([10, 15, 25, 40, 70], (o, c) => r("div", {
|
|
768
|
+
key: o,
|
|
769
|
+
class: C(["w-1 h-5 rounded-lg", [i(o) ? "bg-gray-900 dark:bg-gray-100" : "bg-gray-300 dark:bg-gray-700"]]),
|
|
770
|
+
style: E(`height: ${(c + 1) * 5}px`),
|
|
771
|
+
title: `rssi: ${a.rssi} channel: ${a.channel}`
|
|
772
|
+
}, null, 14, le)), 64)),
|
|
773
|
+
r("div", oe, m(a.channel), 1)
|
|
579
774
|
]));
|
|
580
775
|
}
|
|
581
|
-
}),
|
|
776
|
+
}), ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
582
777
|
__proto__: null,
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
778
|
+
VAutocomplete: g1,
|
|
779
|
+
VBreadcrumb: y1,
|
|
780
|
+
VButton: C1,
|
|
781
|
+
VCheckbox: $1,
|
|
782
|
+
VDropdown: T,
|
|
783
|
+
VExpansion: L1,
|
|
784
|
+
VList: F,
|
|
785
|
+
VLoader: q,
|
|
786
|
+
VNotification: E1,
|
|
787
|
+
VSelect: j1,
|
|
788
|
+
VTable: ne,
|
|
789
|
+
VTextField: j,
|
|
790
|
+
VTextFieldFile: G1,
|
|
791
|
+
VTextarea: q1,
|
|
792
|
+
WifiIcon: se
|
|
595
793
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
596
|
-
var
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
fill: "
|
|
794
|
+
var ue = {}, ce = {
|
|
795
|
+
viewBox: "0 0 24 24",
|
|
796
|
+
width: "24",
|
|
797
|
+
height: "24",
|
|
798
|
+
fill: "currentColor"
|
|
601
799
|
};
|
|
602
|
-
function
|
|
603
|
-
return
|
|
604
|
-
|
|
605
|
-
"fill-rule": "evenodd",
|
|
606
|
-
"clip-rule": "evenodd",
|
|
607
|
-
d: "M0.583252 1C0.583252 0.585788 0.919038 0.25 1.33325 0.25H14.6666C15.0808 0.25 15.4166 0.585786 15.4166 1C15.4166 1.41421 15.0808 1.75 14.6666 1.75L1.33325 1.75C0.919038 1.75 0.583252 1.41422 0.583252 1ZM0.583252 11C0.583252 10.5858 0.919038 10.25 1.33325 10.25L14.6666 10.25C15.0808 10.25 15.4166 10.5858 15.4166 11C15.4166 11.4142 15.0808 11.75 14.6666 11.75L1.33325 11.75C0.919038 11.75 0.583252 11.4142 0.583252 11ZM1.33325 5.25C0.919038 5.25 0.583252 5.58579 0.583252 6C0.583252 6.41421 0.919038 6.75 1.33325 6.75L7.99992 6.75C8.41413 6.75 8.74992 6.41421 8.74992 6C8.74992 5.58579 8.41413 5.25 7.99992 5.25L1.33325 5.25Z",
|
|
608
|
-
fill: ""
|
|
609
|
-
}, null, -1)
|
|
800
|
+
function de(t, e) {
|
|
801
|
+
return n(), s("svg", ce, e[0] || (e[0] = [
|
|
802
|
+
r("path", { d: "M3 4H21V6H3V4ZM3 11H15V13H3V11ZM3 18H21V20H3V18Z" }, null, -1)
|
|
610
803
|
]));
|
|
611
804
|
}
|
|
612
|
-
const
|
|
613
|
-
var
|
|
805
|
+
const fe = /* @__PURE__ */ g(ue, [["render", de]]);
|
|
806
|
+
var ve = {}, he = {
|
|
614
807
|
width: "24",
|
|
615
808
|
height: "24",
|
|
616
809
|
viewBox: "0 0 24 24",
|
|
617
810
|
fill: "none"
|
|
618
811
|
};
|
|
619
|
-
function
|
|
620
|
-
return
|
|
621
|
-
|
|
812
|
+
function ge(t, e) {
|
|
813
|
+
return n(), s("svg", he, e[0] || (e[0] = [
|
|
814
|
+
r("path", {
|
|
622
815
|
"fill-rule": "evenodd",
|
|
623
816
|
"clip-rule": "evenodd",
|
|
624
817
|
d: "M5.5 3.25C4.25736 3.25 3.25 4.25736 3.25 5.5V8.99998C3.25 10.2426 4.25736 11.25 5.5 11.25H9C10.2426 11.25 11.25 10.2426 11.25 8.99998V5.5C11.25 4.25736 10.2426 3.25 9 3.25H5.5ZM4.75 5.5C4.75 5.08579 5.08579 4.75 5.5 4.75H9C9.41421 4.75 9.75 5.08579 9.75 5.5V8.99998C9.75 9.41419 9.41421 9.74998 9 9.74998H5.5C5.08579 9.74998 4.75 9.41419 4.75 8.99998V5.5ZM5.5 12.75C4.25736 12.75 3.25 13.7574 3.25 15V18.5C3.25 19.7426 4.25736 20.75 5.5 20.75H9C10.2426 20.75 11.25 19.7427 11.25 18.5V15C11.25 13.7574 10.2426 12.75 9 12.75H5.5ZM4.75 15C4.75 14.5858 5.08579 14.25 5.5 14.25H9C9.41421 14.25 9.75 14.5858 9.75 15V18.5C9.75 18.9142 9.41421 19.25 9 19.25H5.5C5.08579 19.25 4.75 18.9142 4.75 18.5V15ZM12.75 5.5C12.75 4.25736 13.7574 3.25 15 3.25H18.5C19.7426 3.25 20.75 4.25736 20.75 5.5V8.99998C20.75 10.2426 19.7426 11.25 18.5 11.25H15C13.7574 11.25 12.75 10.2426 12.75 8.99998V5.5ZM15 4.75C14.5858 4.75 14.25 5.08579 14.25 5.5V8.99998C14.25 9.41419 14.5858 9.74998 15 9.74998H18.5C18.9142 9.74998 19.25 9.41419 19.25 8.99998V5.5C19.25 5.08579 18.9142 4.75 18.5 4.75H15ZM15 12.75C13.7574 12.75 12.75 13.7574 12.75 15V18.5C12.75 19.7426 13.7574 20.75 15 20.75H18.5C19.7426 20.75 20.75 19.7427 20.75 18.5V15C20.75 13.7574 19.7426 12.75 18.5 12.75H15ZM14.25 15C14.25 14.5858 14.5858 14.25 15 14.25H18.5C18.9142 14.25 19.25 14.5858 19.25 15V18.5C19.25 18.9142 18.9142 19.25 18.5 19.25H15C14.5858 19.25 14.25 18.9142 14.25 18.5V15Z",
|
|
@@ -626,271 +819,260 @@ function Q1(t, e) {
|
|
|
626
819
|
}, null, -1)
|
|
627
820
|
]));
|
|
628
821
|
}
|
|
629
|
-
const
|
|
630
|
-
var
|
|
822
|
+
const pe = /* @__PURE__ */ g(ve, [["render", ge]]);
|
|
823
|
+
var ye = {}, me = {
|
|
631
824
|
viewBox: "0 0 24 24",
|
|
632
825
|
width: "24",
|
|
633
826
|
height: "24",
|
|
634
827
|
fill: "currentColor"
|
|
635
828
|
};
|
|
636
|
-
function
|
|
637
|
-
return
|
|
638
|
-
|
|
829
|
+
function Ce(t, e) {
|
|
830
|
+
return n(), s("svg", me, e[0] || (e[0] = [
|
|
831
|
+
r("path", { d: "M11.0001 14V11H13.0001V14H18.0001C18.5524 14 19.0001 14.4477 19.0001 15V21C19.0001 21.5523 18.5524 22 18.0001 22H6.00015C5.44786 22 5.00015 21.5523 5.00015 21V15C5.00015 14.4477 5.44786 14 6.00015 14H11.0001ZM2.51074 8.83686C3.83432 4.86424 7.58275 2 12.0001 2C16.4176 2 20.166 4.86424 21.4896 8.83686L19.5917 9.46949C18.5328 6.29139 15.5341 4 12.0001 4C8.46623 4 5.46749 6.29139 4.40862 9.46949L2.51074 8.83686ZM6.3065 10.1021C7.10065 7.71854 9.34971 6 12.0001 6C14.6506 6 16.8996 7.71854 17.6938 10.1021L15.7959 10.7347C15.2665 9.1457 13.7671 8 12.0001 8C10.2332 8 8.73382 9.1457 8.20439 10.7347L6.3065 10.1021ZM7.00015 16V20H17.0001V16H7.00015Z" }, null, -1)
|
|
639
832
|
]));
|
|
640
833
|
}
|
|
641
|
-
const
|
|
642
|
-
var
|
|
834
|
+
const _e = /* @__PURE__ */ g(ye, [["render", Ce]]);
|
|
835
|
+
var be = {}, xe = {
|
|
643
836
|
width: "24",
|
|
644
837
|
height: "24",
|
|
645
838
|
viewBox: "0 0 24 24",
|
|
646
839
|
fill: "currentColor"
|
|
647
840
|
};
|
|
648
|
-
function
|
|
649
|
-
return
|
|
650
|
-
|
|
841
|
+
function Ve(t, e) {
|
|
842
|
+
return n(), s("svg", xe, e[0] || (e[0] = [
|
|
843
|
+
r("path", {
|
|
651
844
|
"fill-rule": "evenodd",
|
|
652
845
|
"clip-rule": "evenodd",
|
|
653
846
|
d: "M5.99902 10.4951C6.82745 10.4951 7.49902 11.1667 7.49902 11.9951V12.0051C7.49902 12.8335 6.82745 13.5051 5.99902 13.5051C5.1706 13.5051 4.49902 12.8335 4.49902 12.0051V11.9951C4.49902 11.1667 5.1706 10.4951 5.99902 10.4951ZM17.999 10.4951C18.8275 10.4951 19.499 11.1667 19.499 11.9951V12.0051C19.499 12.8335 18.8275 13.5051 17.999 13.5051C17.1706 13.5051 16.499 12.8335 16.499 12.0051V11.9951C16.499 11.1667 17.1706 10.4951 17.999 10.4951ZM13.499 11.9951C13.499 11.1667 12.8275 10.4951 11.999 10.4951C11.1706 10.4951 10.499 11.1667 10.499 11.9951V12.0051C10.499 12.8335 11.1706 13.5051 11.999 13.5051C12.8275 13.5051 13.499 12.8335 13.499 12.0051V11.9951Z"
|
|
654
847
|
}, null, -1)
|
|
655
848
|
]));
|
|
656
849
|
}
|
|
657
|
-
const
|
|
658
|
-
var
|
|
850
|
+
const ke = /* @__PURE__ */ g(be, [["render", Ve]]);
|
|
851
|
+
var $e = {}, we = {
|
|
659
852
|
viewBox: "0 0 24 24",
|
|
660
|
-
width: "
|
|
661
|
-
height: "
|
|
853
|
+
width: "24",
|
|
854
|
+
height: "24",
|
|
662
855
|
fill: "currentColor"
|
|
663
856
|
};
|
|
664
|
-
function
|
|
665
|
-
return
|
|
666
|
-
|
|
857
|
+
function He(t, e) {
|
|
858
|
+
return n(), s("svg", we, e[0] || (e[0] = [
|
|
859
|
+
r("path", { d: "M17.8827 19.2968C16.1814 20.3755 14.1638 21.0002 12.0003 21.0002C6.60812 21.0002 2.12215 17.1204 1.18164 12.0002C1.61832 9.62282 2.81932 7.5129 4.52047 5.93457L1.39366 2.80777L2.80788 1.39355L22.6069 21.1925L21.1927 22.6068L17.8827 19.2968ZM5.9356 7.3497C4.60673 8.56015 3.6378 10.1672 3.22278 12.0002C4.14022 16.0521 7.7646 19.0002 12.0003 19.0002C13.5997 19.0002 15.112 18.5798 16.4243 17.8384L14.396 15.8101C13.7023 16.2472 12.8808 16.5002 12.0003 16.5002C9.51498 16.5002 7.50026 14.4854 7.50026 12.0002C7.50026 11.1196 7.75317 10.2981 8.19031 9.60442L5.9356 7.3497ZM12.9139 14.328L9.67246 11.0866C9.5613 11.3696 9.50026 11.6777 9.50026 12.0002C9.50026 13.3809 10.6196 14.5002 12.0003 14.5002C12.3227 14.5002 12.6309 14.4391 12.9139 14.328ZM20.8068 16.5925L19.376 15.1617C20.0319 14.2268 20.5154 13.1586 20.7777 12.0002C19.8603 7.94818 16.2359 5.00016 12.0003 5.00016C11.1544 5.00016 10.3329 5.11773 9.55249 5.33818L7.97446 3.76015C9.22127 3.26959 10.5793 3.00016 12.0003 3.00016C17.3924 3.00016 21.8784 6.87992 22.8189 12.0002C22.5067 13.6998 21.8038 15.2628 20.8068 16.5925ZM11.7229 7.50857C11.8146 7.50299 11.9071 7.50016 12.0003 7.50016C14.4855 7.50016 16.5003 9.51488 16.5003 12.0002C16.5003 12.0933 16.4974 12.1858 16.4919 12.2775L11.7229 7.50857Z" }, null, -1)
|
|
667
860
|
]));
|
|
668
861
|
}
|
|
669
|
-
const
|
|
670
|
-
var
|
|
862
|
+
const Le = /* @__PURE__ */ g($e, [["render", He]]);
|
|
863
|
+
var Me = {}, Ze = {
|
|
671
864
|
viewBox: "0 0 24 24",
|
|
672
|
-
width: "
|
|
673
|
-
height: "
|
|
865
|
+
width: "24",
|
|
866
|
+
height: "24",
|
|
674
867
|
fill: "currentColor"
|
|
675
868
|
};
|
|
676
|
-
function
|
|
677
|
-
return
|
|
678
|
-
|
|
869
|
+
function Be(t, e) {
|
|
870
|
+
return n(), s("svg", Ze, e[0] || (e[0] = [
|
|
871
|
+
r("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" }, null, -1)
|
|
679
872
|
]));
|
|
680
873
|
}
|
|
681
|
-
const
|
|
682
|
-
var
|
|
874
|
+
const Se = /* @__PURE__ */ g(Me, [["render", Be]]);
|
|
875
|
+
var ze = {}, Ie = {
|
|
683
876
|
viewBox: "0 0 24 24",
|
|
684
877
|
width: "24",
|
|
685
878
|
height: "24",
|
|
686
879
|
fill: "currentColor"
|
|
687
880
|
};
|
|
688
|
-
function
|
|
689
|
-
return
|
|
690
|
-
|
|
881
|
+
function Oe(t, e) {
|
|
882
|
+
return n(), s("svg", Ie, e[0] || (e[0] = [
|
|
883
|
+
r("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" }, null, -1)
|
|
691
884
|
]));
|
|
692
885
|
}
|
|
693
|
-
const
|
|
694
|
-
var
|
|
886
|
+
const Ne = /* @__PURE__ */ g(ze, [["render", Oe]]);
|
|
887
|
+
var Ee = {}, je = {
|
|
695
888
|
viewBox: "0 0 24 24",
|
|
696
889
|
width: "24",
|
|
697
890
|
height: "24",
|
|
698
891
|
fill: "currentColor"
|
|
699
892
|
};
|
|
700
|
-
function
|
|
701
|
-
return
|
|
702
|
-
|
|
893
|
+
function Te(t, e) {
|
|
894
|
+
return n(), s("svg", je, e[0] || (e[0] = [
|
|
895
|
+
r("path", { d: "M2 4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21L3 21C2.45 21 2 20.55 2 20V4ZM10.5858 6L9.58579 5H4V7H9.58579L10.5858 6ZM4 9V19L20 19V7H12.4142L10.4142 9H4Z" }, null, -1)
|
|
703
896
|
]));
|
|
704
897
|
}
|
|
705
|
-
const
|
|
706
|
-
var
|
|
707
|
-
function
|
|
708
|
-
return
|
|
709
|
-
e[0] || (e[0] =
|
|
898
|
+
const Fe = /* @__PURE__ */ g(Ee, [["render", Te]]);
|
|
899
|
+
var Ae = {};
|
|
900
|
+
function De(t, e) {
|
|
901
|
+
return n(), s(L, null, [
|
|
902
|
+
e[0] || (e[0] = r("svg", {
|
|
710
903
|
class: "flex dark:hidden",
|
|
904
|
+
viewBox: "0 0 24 24",
|
|
711
905
|
width: "20",
|
|
712
906
|
height: "20",
|
|
713
|
-
viewBox: "0 0 20 20",
|
|
714
907
|
fill: "currentColor"
|
|
715
908
|
}, [
|
|
716
|
-
|
|
909
|
+
r("path", { d: "M10 7C10 10.866 13.134 14 17 14C18.9584 14 20.729 13.1957 21.9995 11.8995C22 11.933 22 11.9665 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C12.0335 2 12.067 2 12.1005 2.00049C10.8043 3.27098 10 5.04157 10 7ZM4 12C4 16.4183 7.58172 20 12 20C15.0583 20 17.7158 18.2839 19.062 15.7621C18.3945 15.9187 17.7035 16 17 16C12.0294 16 8 11.9706 8 7C8 6.29648 8.08133 5.60547 8.2379 4.938C5.71611 6.28423 4 8.9417 4 12Z" })
|
|
717
910
|
], -1)),
|
|
718
|
-
e[1] || (e[1] =
|
|
911
|
+
e[1] || (e[1] = r("svg", {
|
|
719
912
|
class: "hidden dark:flex",
|
|
913
|
+
viewBox: "0 0 24 24",
|
|
720
914
|
width: "20",
|
|
721
915
|
height: "20",
|
|
722
|
-
viewBox: "0 0 20 20",
|
|
723
916
|
fill: "currentColor"
|
|
724
917
|
}, [
|
|
725
|
-
|
|
726
|
-
"fill-rule": "evenodd",
|
|
727
|
-
"clip-rule": "evenodd",
|
|
728
|
-
d: "M9.99998 1.5415C10.4142 1.5415 10.75 1.87729 10.75 2.2915V3.5415C10.75 3.95572 10.4142 4.2915 9.99998 4.2915C9.58577 4.2915 9.24998 3.95572 9.24998 3.5415V2.2915C9.24998 1.87729 9.58577 1.5415 9.99998 1.5415ZM10.0009 6.79327C8.22978 6.79327 6.79402 8.22904 6.79402 10.0001C6.79402 11.7712 8.22978 13.207 10.0009 13.207C11.772 13.207 13.2078 11.7712 13.2078 10.0001C13.2078 8.22904 11.772 6.79327 10.0009 6.79327ZM5.29402 10.0001C5.29402 7.40061 7.40135 5.29327 10.0009 5.29327C12.6004 5.29327 14.7078 7.40061 14.7078 10.0001C14.7078 12.5997 12.6004 14.707 10.0009 14.707C7.40135 14.707 5.29402 12.5997 5.29402 10.0001ZM15.9813 5.08035C16.2742 4.78746 16.2742 4.31258 15.9813 4.01969C15.6884 3.7268 15.2135 3.7268 14.9207 4.01969L14.0368 4.90357C13.7439 5.19647 13.7439 5.67134 14.0368 5.96423C14.3297 6.25713 14.8045 6.25713 15.0974 5.96423L15.9813 5.08035ZM18.4577 10.0001C18.4577 10.4143 18.1219 10.7501 17.7077 10.7501H16.4577C16.0435 10.7501 15.7077 10.4143 15.7077 10.0001C15.7077 9.58592 16.0435 9.25013 16.4577 9.25013H17.7077C18.1219 9.25013 18.4577 9.58592 18.4577 10.0001ZM14.9207 15.9806C15.2135 16.2735 15.6884 16.2735 15.9813 15.9806C16.2742 15.6877 16.2742 15.2128 15.9813 14.9199L15.0974 14.036C14.8045 13.7431 14.3297 13.7431 14.0368 14.036C13.7439 14.3289 13.7439 14.8038 14.0368 15.0967L14.9207 15.9806ZM9.99998 15.7088C10.4142 15.7088 10.75 16.0445 10.75 16.4588V17.7088C10.75 18.123 10.4142 18.4588 9.99998 18.4588C9.58577 18.4588 9.24998 18.123 9.24998 17.7088V16.4588C9.24998 16.0445 9.58577 15.7088 9.99998 15.7088ZM5.96356 15.0972C6.25646 14.8043 6.25646 14.3295 5.96356 14.0366C5.67067 13.7437 5.1958 13.7437 4.9029 14.0366L4.01902 14.9204C3.72613 15.2133 3.72613 15.6882 4.01902 15.9811C4.31191 16.274 4.78679 16.274 5.07968 15.9811L5.96356 15.0972ZM4.29224 10.0001C4.29224 10.4143 3.95645 10.7501 3.54224 10.7501H2.29224C1.87802 10.7501 1.54224 10.4143 1.54224 10.0001C1.54224 9.58592 1.87802 9.25013 2.29224 9.25013H3.54224C3.95645 9.25013 4.29224 9.58592 4.29224 10.0001ZM4.9029 5.9637C5.1958 6.25659 5.67067 6.25659 5.96356 5.9637C6.25646 5.6708 6.25646 5.19593 5.96356 4.90303L5.07968 4.01915C4.78679 3.72626 4.31191 3.72626 4.01902 4.01915C3.72613 4.31204 3.72613 4.78692 4.01902 5.07981L4.9029 5.9637Z"
|
|
729
|
-
})
|
|
918
|
+
r("path", { d: "M12 18C8.68629 18 6 15.3137 6 12C6 8.68629 8.68629 6 12 6C15.3137 6 18 8.68629 18 12C18 15.3137 15.3137 18 12 18ZM12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16ZM11 1H13V4H11V1ZM11 20H13V23H11V20ZM3.51472 4.92893L4.92893 3.51472L7.05025 5.63604L5.63604 7.05025L3.51472 4.92893ZM16.9497 18.364L18.364 16.9497L20.4853 19.0711L19.0711 20.4853L16.9497 18.364ZM19.0711 3.51472L20.4853 4.92893L18.364 7.05025L16.9497 5.63604L19.0711 3.51472ZM5.63604 16.9497L7.05025 18.364L4.92893 20.4853L3.51472 19.0711L5.63604 16.9497ZM23 11V13H20V11H23ZM4 11V13H1V11H4Z" })
|
|
730
919
|
], -1))
|
|
731
920
|
], 64);
|
|
732
921
|
}
|
|
733
|
-
const
|
|
734
|
-
var
|
|
922
|
+
const Pe = /* @__PURE__ */ g(Ae, [["render", De]]);
|
|
923
|
+
var qe = {}, Ke = {
|
|
735
924
|
viewBox: "0 0 179 40",
|
|
736
925
|
fill: "#25c1eb"
|
|
737
926
|
};
|
|
738
|
-
function
|
|
739
|
-
return
|
|
740
|
-
|
|
927
|
+
function Ge(t, e) {
|
|
928
|
+
return n(), s("svg", Ke, e[0] || (e[0] = [
|
|
929
|
+
Y('<g transform="matrix(0.13287749,0,0,0.13643171,26.823508,13.407673)"><path d="m -19.25933,-16.057909 c 0,39.1906 -14.287,86.055995 -38.669,116.999999 -7.898,10.024 -30.4718,32.819 -43.7731,17.695 -9.4823,-10.781 -3.53183,-36.917714 -0.86893,-48.907714 9.1618,-41.251693 19.72123,-78.8733849 30.31103,-119.787285 -27.50968,14.537655 -68.26323,-24.154322 -70.36602,-2.214449 -12.32038,69.23655 -28.82323,204.245118 16.36602,215.925448 81.802,10.63 120.333,-82.698004 129.4249996,-148.710999 2.182,-15.84009991 4.123,-31.9832 2.401,-48 -2.342,-21.78506 -24.7959996,-32.68227 -43.7859996,-21.58643 -11.424,6.67523 -12.148,29.93713 -1.935,38.01393 5.462,4.3199 14.927,3.091 20.895,0.5725 z"></path><path d="m 104.76548,-63.374174 0.008,91.15236 -26.35225,25.003926 26.35676,25.415735 4.8e-4,91.161403 4.03033,0.0237 c 0,0 0.0729,-90.913243 -0.0476,-91.163063 l 26.24012,-24.776315 -26.23835,-25.66073 0.007,-91.147024 z"></path><path d="m 803.85444,82.816565 c -5.5092,-1.69169 -15.7197,-2.12913 -19.9329,1.03114 -5.56,4.548 -0.63,22.670005 -0.76,28.973005 0.3943,19.76599 20.7146,30.35978 36.02,33 0,0 45.06,4.77 68,-5.439 35.89996,-15.975 40.75996,-63.180005 13.91,-89.457 -15.2385,-18.333755 -72.7584,-32.66908 -78.91,-50.10399958 -6.54,-7.52040002 -2.52,-22.38120042 5.1,-27.89120042 10.47,-7.5605 25.91,-7.3647 37.9,-5.017 13.11,2.5659 14.15,13.6285 18,24.9082004 1.48,4.3522 2.88,12.3564 8.1,13.6674 2.25,0.5623 4.67,-0.1094 6.9,-0.3827 16.42996,-2.011 11.28456,-11.418391 12.09456,-24.2037914 0.38,-6.0219 2.2254,-16.238609 -1.1246,-21.752209 -5.98996,-9.87979 -17.48276,-9.960049 -30.96996,-15.3287 -11.9944,-2.919504 -32.57,-5.50288 -50,-1.25772 -13.92,3.39017 -28.5,10.49772 -37.24,22.25772 -16.31,21.9622 -9.6,57.1861 10.26,74.6998 22.17,19.5582 58.4,21.7732 76.41,46.304195 16.9,23.013005 -18.71,37.732005 -37.1,36.158005 -39.9169,-0.34531 -23.6297,-30.723925 -36.6571,-40.166145 z"></path><path d="m 321.18154,-32.17929 21,9 -46,120.999995 c -13.02939,-49.349215 -25.65589,-93.5184936 -37,-121.999995 5.741,-1.2008 17.946,-4.1139 20.397,-10.1049 2.328,-5.6934 -1.142,-13.0456 -1.397,-18.8951 -9.12189,0.745226 -79.43846,-2.275099 -82.411,2.3179 -1.02172,5.2378 -3.84926,12.95938 -1.985,17.2878 4.036,8.5605 18.82154,3.517306 23.75154,13.866906 25.90475,54.255645 38.51776,106.713979 60.87446,156.527394 37.33703,54.02331 63.06896,-92.52485 72.275,-119 4.089,-11.8192996 7.212,-30.0265 15.194,-39.7724 15.1599,-17.433642 28.97616,-5.381825 21.868,-28.07945 -5.23694,-5.944366 -63.1086,-2.739072 -64.389,-1.54476 -3.452,4.31661 -7.5289,7.804293 -2.178,19.39661 z"></path><path d="m 401.18154,-53.17929 c -0.998,4.83681 -4.908,16.1206 -1.357,20.3511 4.914,5.8555 20.341,3.7676 21.463,12.689 3.596,28.5694004 -0.4,58.2962 0.855,86.9599 0.882,20.149995 3.491,41.865 17.134,57.961 36.351,42.885 114.137,25.661 128.322,-27.961005 9.142,-34.561995 3.01191,-80.803507 3.08491,-116.292007 0.033,-15.7886 15.53509,-3.553988 22.46909,-13.356888 3.337,-4.7169 -1.212,-15.187 -1.971,-20.3511 -20.45735,-0.261837 -40.85188,-0.262234 -61.258,1.02779 l -3.742,11.97221 c 0.84877,13.898543 11.37685,10.038234 23.90801,11.758642 0.32053,9.189207 0.091,48.923358 0.092,71.241358 10e-4,19.4 0.471,40.338995 -8.89,58 -15.56,29.358 -61.659,29.409 -74.878,-2.000005 -10.636,-25.273 -6.147,-56.234995 -6.233,-82.999995 -0.035,-10.9870996 -2.501,-25.3419996 0.319,-35.9568 2.549,-9.5978 16.626,-6.4297 22.064,-12.6921 3.287,-3.7858 -0.52,-15.71299 -1.382,-20.3511 z"></path><path d="m 760.05964,143.05268 c -5.1123,-31.58627 4.9497,-52.437285 -1.4781,-59.628975 -3.17,-3.163 -17.48,-3.877 -20.39,-0.285 -7.636,9.412 -6.012,27.571005 -14.737,36.079005 -3.136,3.058 -10.272,1.461 -14.273,1.689 -13.102,0.746 -25.895,-0.086 -39,-0.086 l -1,-68 c 7.223,0.913 21.685,-1.996 27.722,1.269 6.665,3.604 3.577,17.035995 10.556,20.532995 5.15472,-0.0642 13.05488,0.47604 17.494,-1.405 5.21328,-7.758815 3.74312,-60.612259 -0.015,-62.640795 -5.5141,-0.237113 -13.29293,-2.8563906 -17.543,-1.1527996 -6.595,2.8734996 -5.002,15.2292996 -10.608,19.7931996 -5.233,4.2609 -21.417,2.0768 -27.606,0.6034 l 0.018,-19.9999996 0.982,-42.0000004 h 36 c 4.195,0 11.017,-1.271 14.725,1.0278 9.479,5.8759 5.235,25.2669004 13.705,30.94060042 4.66,3.12049998 14.21,-2.03520002 19.57,-1.96840002 -1.7258,-10.0332024 5.1749,-44.7657364 -0.6,-49.9722104 -8.573,-0.17431 -123.95249,0.09746 -142.26,0.5756 -2.813,3.26479 -4.226,15.59871 -1.533,19.00621 4.834,6.1168 16.163,4.3646 20.481,9.9544 4.51586,28.5714044 7.89004,96.377815 0.594,132.328 -2.185,7.787 -16.181,5.969 -20.654,11.832 -1.59611,5.22999 -0.7409,13.33851 1.536,18.048 5.16025,7.51372 110.02916,3.17366 148.3141,3.45997 z"></path><path d="m 964.1815,-23.17929 c 0,43.4127 3.83,88.767 -0.06,131.985 -0.8,8.923 -14.88,7.544 -20.62,12.09 -4.2,3.326 -1.95,14.442 -0.17,18.777 15.7137,4.67091 86.3037,9.27518 89.39,-4.852 0.57,-3.057 2.36,-9.582 0.42,-12.297 -5.77,-8.041 -28.93,-2.391 -30.81,-13.747 -0.063,-55.41713 -0.3488,-55.25935 -0.15,-140.956 16.19,0 34.24,-2.9842 46.98,9.0934 18.26,17.2977004 11.94,53.4098 -8.98,65.6236 -7.67,4.477 -18.44,3.283 -27,3.283 v 23 c 23.19,0 50.85,-0.216 69,-17.093 28.42,-26.4403 19.73,-83.9314 -16,-99.7334 -4.6952,-8.320027 -96.8662,-17.196078 -120.68,-4.43208 -2.7,1.3721 -3.6701,5.98455 -3.17,8.34798 -3.3313,17.201533 8.54,18.6194 21.85,20.9105 z"></path></g>', 1)
|
|
741
930
|
]));
|
|
742
931
|
}
|
|
743
|
-
const
|
|
744
|
-
var
|
|
932
|
+
const Ue = /* @__PURE__ */ g(qe, [["render", Ge]]);
|
|
933
|
+
var We = {}, Re = {
|
|
745
934
|
viewBox: "0 0 40 40",
|
|
746
935
|
fill: "#25c1eb"
|
|
747
936
|
};
|
|
748
|
-
function
|
|
749
|
-
return
|
|
750
|
-
|
|
751
|
-
|
|
937
|
+
function Je(t, e) {
|
|
938
|
+
return n(), s("svg", Re, e[0] || (e[0] = [
|
|
939
|
+
r("g", { transform: "matrix(0.13287749,0,0,0.13643171,26.823508,13.407673)" }, [
|
|
940
|
+
r("path", { d: "m -19.25933,-16.057909 c 0,39.1906 -14.287,86.055995 -38.669,116.999999 -7.898,10.024 -30.4718,32.819 -43.7731,17.695 -9.4823,-10.781 -3.53183,-36.917714 -0.86893,-48.907714 9.1618,-41.251693 19.72123,-78.8733849 30.31103,-119.787285 -27.50968,14.537655 -68.26323,-24.154322 -70.36602,-2.214449 -12.32038,69.23655 -28.82323,204.245118 16.36602,215.925448 81.802,10.63 120.333,-82.698004 129.4249996,-148.710999 2.182,-15.84009991 4.123,-31.9832 2.401,-48 -2.342,-21.78506 -24.7959996,-32.68227 -43.7859996,-21.58643 -11.424,6.67523 -12.148,29.93713 -1.935,38.01393 5.462,4.3199 14.927,3.091 20.895,0.5725 z" })
|
|
752
941
|
], -1)
|
|
753
942
|
]));
|
|
754
943
|
}
|
|
755
|
-
const
|
|
756
|
-
var
|
|
944
|
+
const Qe = /* @__PURE__ */ g(We, [["render", Je]]);
|
|
945
|
+
var Xe = {}, Ye = {
|
|
757
946
|
viewBox: "0 0 24 24",
|
|
758
947
|
width: "22",
|
|
759
948
|
height: "22",
|
|
760
949
|
fill: "currentColor"
|
|
761
950
|
};
|
|
762
|
-
function
|
|
763
|
-
return
|
|
764
|
-
|
|
951
|
+
function e0(t, e) {
|
|
952
|
+
return n(), s("svg", Ye, e[0] || (e[0] = [
|
|
953
|
+
r("path", { d: "M5 22C4.44772 22 4 21.5523 4 21V3C4 2.44772 4.44772 2 5 2H19C19.5523 2 20 2.44772 20 3V6H18V4H6V20H18V18H20V21C20 21.5523 19.5523 22 19 22H5ZM18 16V13H11V11H18V8L23 12L18 16Z" }, null, -1)
|
|
765
954
|
]));
|
|
766
955
|
}
|
|
767
|
-
const
|
|
768
|
-
var
|
|
956
|
+
const t0 = /* @__PURE__ */ g(Xe, [["render", e0]]);
|
|
957
|
+
var r0 = {}, n0 = {
|
|
769
958
|
viewBox: "0 0 24 24",
|
|
770
959
|
width: "24",
|
|
771
960
|
height: "24",
|
|
772
961
|
fill: "currentColor"
|
|
773
962
|
};
|
|
774
|
-
function
|
|
775
|
-
return
|
|
776
|
-
|
|
777
|
-
]));
|
|
778
|
-
}
|
|
779
|
-
const D0 = /* @__PURE__ */ v(F0, [["render", E0]]);
|
|
780
|
-
var P0 = {}, A0 = {
|
|
781
|
-
class: "fill-current",
|
|
782
|
-
width: "20",
|
|
783
|
-
height: "20",
|
|
784
|
-
viewBox: "0 0 20 20",
|
|
785
|
-
fill: "none"
|
|
786
|
-
};
|
|
787
|
-
function q0(t, e) {
|
|
788
|
-
return l(), s("svg", A0, e[0] || (e[0] = [
|
|
789
|
-
n("path", {
|
|
790
|
-
"fill-rule": "evenodd",
|
|
791
|
-
"clip-rule": "evenodd",
|
|
792
|
-
d: "M10.75 2.29248C10.75 1.87827 10.4143 1.54248 10 1.54248C9.58583 1.54248 9.25004 1.87827 9.25004 2.29248V2.83613C6.08266 3.20733 3.62504 5.9004 3.62504 9.16748V14.4591H3.33337C2.91916 14.4591 2.58337 14.7949 2.58337 15.2091C2.58337 15.6234 2.91916 15.9591 3.33337 15.9591H4.37504H15.625H16.6667C17.0809 15.9591 17.4167 15.6234 17.4167 15.2091C17.4167 14.7949 17.0809 14.4591 16.6667 14.4591H16.375V9.16748C16.375 5.9004 13.9174 3.20733 10.75 2.83613V2.29248ZM14.875 14.4591V9.16748C14.875 6.47509 12.6924 4.29248 10 4.29248C7.30765 4.29248 5.12504 6.47509 5.12504 9.16748V14.4591H14.875ZM8.00004 17.7085C8.00004 18.1228 8.33583 18.4585 8.75004 18.4585H11.25C11.6643 18.4585 12 18.1228 12 17.7085C12 17.2943 11.6643 16.9585 11.25 16.9585H8.75004C8.33583 16.9585 8.00004 17.2943 8.00004 17.7085Z"
|
|
793
|
-
}, null, -1)
|
|
963
|
+
function a0(t, e) {
|
|
964
|
+
return n(), s("svg", n0, e[0] || (e[0] = [
|
|
965
|
+
r("path", { d: "M22 20H2V18H3V11.0314C3 6.04348 7.02944 2 12 2C16.9706 2 21 6.04348 21 11.0314V18H22V20ZM5 18H19V11.0314C19 7.14806 15.866 4 12 4C8.13401 4 5 7.14806 5 11.0314V18ZM9.5 21H14.5C14.5 22.3807 13.3807 23.5 12 23.5C10.6193 23.5 9.5 22.3807 9.5 21Z" }, null, -1)
|
|
794
966
|
]));
|
|
795
967
|
}
|
|
796
|
-
const
|
|
797
|
-
var
|
|
968
|
+
const l0 = /* @__PURE__ */ g(r0, [["render", a0]]);
|
|
969
|
+
var o0 = {}, s0 = {
|
|
798
970
|
viewBox: "0 0 24 24",
|
|
799
971
|
width: "24",
|
|
800
972
|
height: "24",
|
|
801
973
|
fill: "currentColor"
|
|
802
974
|
};
|
|
803
|
-
function
|
|
804
|
-
return
|
|
805
|
-
|
|
975
|
+
function i0(t, e) {
|
|
976
|
+
return n(), s("svg", s0, e[0] || (e[0] = [
|
|
977
|
+
r("path", { d: "M7 19V13H17V19H19V7.82843L16.1716 5H5V19H7ZM4 3H17L21 7V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3ZM9 15V19H15V15H9Z" }, null, -1)
|
|
806
978
|
]));
|
|
807
979
|
}
|
|
808
|
-
const
|
|
809
|
-
var
|
|
980
|
+
const u0 = /* @__PURE__ */ g(o0, [["render", i0]]);
|
|
981
|
+
var c0 = {}, d0 = {
|
|
810
982
|
width: "24",
|
|
811
983
|
height: "24",
|
|
812
984
|
viewBox: "0 0 30 30",
|
|
813
985
|
fill: "currentColor"
|
|
814
986
|
};
|
|
815
|
-
function
|
|
816
|
-
return
|
|
817
|
-
|
|
987
|
+
function f0(t, e) {
|
|
988
|
+
return n(), s("svg", d0, e[0] || (e[0] = [
|
|
989
|
+
r("path", { d: "M 13 3 C 7.4889971 3 3 7.4889971 3 13 C 3 18.511003 7.4889971 23 13 23 C 15.396508 23 17.597385 22.148986 19.322266 20.736328 L 25.292969 26.707031 A 1.0001 1.0001 0 1 0 26.707031 25.292969 L 20.736328 19.322266 C 22.148986 17.597385 23 15.396508 23 13 C 23 7.4889971 18.511003 3 13 3 z M 13 5 C 17.430123 5 21 8.5698774 21 13 C 21 17.430123 17.430123 21 13 21 C 8.5698774 21 5 17.430123 5 13 C 5 8.5698774 8.5698774 5 13 5 z" }, null, -1)
|
|
818
990
|
]));
|
|
819
991
|
}
|
|
820
|
-
const
|
|
821
|
-
var
|
|
992
|
+
const v0 = /* @__PURE__ */ g(c0, [["render", f0]]);
|
|
993
|
+
var h0 = {}, g0 = {
|
|
822
994
|
viewBox: "0 0 24 24",
|
|
823
995
|
width: "24",
|
|
824
996
|
height: "24",
|
|
825
997
|
fill: "currentColor"
|
|
826
998
|
};
|
|
827
|
-
function
|
|
828
|
-
return
|
|
829
|
-
|
|
999
|
+
function p0(t, e) {
|
|
1000
|
+
return n(), s("svg", g0, e[0] || (e[0] = [
|
|
1001
|
+
r("path", { d: "M12 4C9.25144 4 6.82508 5.38626 5.38443 7.5H8V9.5H2V3.5H4V5.99936C5.82381 3.57166 8.72764 2 12 2C17.5228 2 22 6.47715 22 12H20C20 7.58172 16.4183 4 12 4ZM4 12C4 16.4183 7.58172 20 12 20C14.7486 20 17.1749 18.6137 18.6156 16.5H16V14.5H22V20.5H20V18.0006C18.1762 20.4283 15.2724 22 12 22C6.47715 22 2 17.5228 2 12H4Z" }, null, -1)
|
|
830
1002
|
]));
|
|
831
1003
|
}
|
|
832
|
-
const
|
|
833
|
-
var
|
|
1004
|
+
const y0 = /* @__PURE__ */ g(h0, [["render", p0]]);
|
|
1005
|
+
var m0 = {}, C0 = {
|
|
834
1006
|
viewBox: "0 0 24 24",
|
|
835
1007
|
width: "24",
|
|
836
1008
|
height: "24",
|
|
837
1009
|
fill: "currentColor"
|
|
838
1010
|
};
|
|
839
|
-
function
|
|
840
|
-
return
|
|
841
|
-
|
|
1011
|
+
function _0(t, e) {
|
|
1012
|
+
return n(), s("svg", C0, e[0] || (e[0] = [
|
|
1013
|
+
r("path", { d: "M16 4C16.5523 4 17 4.44772 17 5V9.2L22.2133 5.55071C22.4395 5.39235 22.7513 5.44737 22.9096 5.6736C22.9684 5.75764 23 5.85774 23 5.96033V18.0397C23 18.3158 22.7761 18.5397 22.5 18.5397C22.3974 18.5397 22.2973 18.5081 22.2133 18.4493L17 14.8V19C17 19.5523 16.5523 20 16 20H2C1.44772 20 1 19.5523 1 19V5C1 4.44772 1.44772 4 2 4H16ZM15 6H3V18H15V6ZM7.4 8.82867C7.47607 8.82867 7.55057 8.85036 7.61475 8.8912L11.9697 11.6625C12.1561 11.7811 12.211 12.0284 12.0924 12.2148C12.061 12.2641 12.0191 12.306 11.9697 12.3375L7.61475 15.1088C7.42837 15.2274 7.18114 15.1725 7.06254 14.9861C7.02169 14.9219 7 14.8474 7 14.7713V9.22867C7 9.00776 7.17909 8.82867 7.4 8.82867ZM21 8.84131L17 11.641V12.359L21 15.1587V8.84131Z" }, null, -1)
|
|
842
1014
|
]));
|
|
843
1015
|
}
|
|
844
|
-
const
|
|
1016
|
+
const b0 = /* @__PURE__ */ g(m0, [["render", _0]]), x0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
845
1017
|
__proto__: null,
|
|
846
|
-
IconBurger:
|
|
847
|
-
IconChevron:
|
|
848
|
-
IconClose:
|
|
849
|
-
IconDashboard:
|
|
850
|
-
IconDevice:
|
|
851
|
-
IconDots:
|
|
852
|
-
IconEyeClose:
|
|
853
|
-
IconEyeOpen:
|
|
854
|
-
IconFile:
|
|
855
|
-
IconFolder:
|
|
856
|
-
IconLogo:
|
|
857
|
-
IconLogoMini:
|
|
858
|
-
IconLogout:
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
1018
|
+
IconBurger: fe,
|
|
1019
|
+
IconChevron: O,
|
|
1020
|
+
IconClose: K,
|
|
1021
|
+
IconDashboard: pe,
|
|
1022
|
+
IconDevice: _e,
|
|
1023
|
+
IconDots: ke,
|
|
1024
|
+
IconEyeClose: Le,
|
|
1025
|
+
IconEyeOpen: Se,
|
|
1026
|
+
IconFile: Ne,
|
|
1027
|
+
IconFolder: Fe,
|
|
1028
|
+
IconLogo: Ue,
|
|
1029
|
+
IconLogoMini: Qe,
|
|
1030
|
+
IconLogout: t0,
|
|
1031
|
+
IconNoti: l0,
|
|
1032
|
+
IconSave: u0,
|
|
1033
|
+
IconSearch: v0,
|
|
1034
|
+
IconTheme: Pe,
|
|
1035
|
+
IconUpdate: y0,
|
|
1036
|
+
IconVideo: b0
|
|
1037
|
+
}, Symbol.toStringTag, { value: "Module" })), V0 = {
|
|
1038
|
+
key: 0,
|
|
1039
|
+
class: "loader-line w-full absolute top-0 left-0 h-[3px] bg-gray-100 dark:bg-gray-800 before:bg-blue-600 dark:before:bg-blue-800 before:h-1 rounded-xl z-20 before:absolute before:w-[40%] before:-left-1/2 before:content-[''] before:animate-[lineAnim_1s_linear_infinite]"
|
|
1040
|
+
}, k0 = {
|
|
1041
|
+
key: 1,
|
|
1042
|
+
class: "absolute top-0 left-0 w-full h-full bg-gray-50 dark:bg-gray-900 z-10 opacity-50"
|
|
1043
|
+
}, $0 = { class: "mb-6 flex items-center justify-between" }, w0 = { class: "text-lg font-semibold text-gray-800 dark:text-white/90" }, H0 = { class: "max-w-full" }, L0 = /* @__PURE__ */ H({
|
|
867
1044
|
__name: "VCardGray",
|
|
868
1045
|
props: {
|
|
869
|
-
title: { default: "Title" }
|
|
1046
|
+
title: { default: "Title" },
|
|
1047
|
+
loading: { type: Boolean }
|
|
870
1048
|
},
|
|
871
1049
|
setup(t) {
|
|
872
|
-
return (e,
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
1050
|
+
return (e, i) => (n(), s("div", {
|
|
1051
|
+
class: C(["relative rounded-2xl border border-gray-200 bg-white p-5 dark:border-gray-800 dark:bg-white/[0.03] sm:p-6", { "overflow-hidden": e.loading }])
|
|
1052
|
+
}, [
|
|
1053
|
+
e.loading ? (n(), s("div", V0)) : x("", !0),
|
|
1054
|
+
e.loading ? (n(), s("div", k0)) : x("", !0),
|
|
1055
|
+
r("div", $0, [
|
|
1056
|
+
r("h3", w0, m(e.title), 1),
|
|
1057
|
+
r("div", null, [
|
|
1058
|
+
y(e.$slots, "header")
|
|
877
1059
|
])
|
|
878
1060
|
]),
|
|
879
|
-
|
|
880
|
-
|
|
1061
|
+
r("div", H0, [
|
|
1062
|
+
y(e.$slots, "default")
|
|
881
1063
|
])
|
|
882
|
-
]));
|
|
1064
|
+
], 2));
|
|
883
1065
|
}
|
|
884
|
-
}),
|
|
1066
|
+
}), M0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
885
1067
|
__proto__: null,
|
|
886
|
-
VCardGray:
|
|
887
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1068
|
+
VCardGray: L0
|
|
1069
|
+
}, Symbol.toStringTag, { value: "Module" })), A = { ...x0, ...ie, ...M0 }, B0 = {
|
|
888
1070
|
install: (t) => {
|
|
889
|
-
Object.keys(
|
|
890
|
-
t.component(e,
|
|
891
|
-
});
|
|
1071
|
+
Object.keys(A).forEach((e) => {
|
|
1072
|
+
t.component(e, A[e]);
|
|
1073
|
+
}), t1.forEach(({ name: e, directive: i }) => t.directive(e, i));
|
|
892
1074
|
}
|
|
893
1075
|
};
|
|
894
1076
|
export {
|
|
895
|
-
|
|
1077
|
+
B0 as default
|
|
896
1078
|
};
|