vuesp-components 0.1.25 → 0.2.1
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/app/AppDialog.vue.d.ts +4 -0
- package/dist/app/AppDialog.vue.d.ts.map +1 -0
- package/dist/app/AppHeader.vue.d.ts +4 -0
- package/dist/app/AppHeader.vue.d.ts.map +1 -0
- package/dist/app/AppNotification.vue.d.ts +4 -0
- package/dist/app/AppNotification.vue.d.ts.map +1 -0
- package/dist/{IconTemp.vue.d.ts → app/AppOverlay.vue.d.ts} +1 -1
- package/dist/app/AppOverlay.vue.d.ts.map +1 -0
- package/dist/dashboard/BlockItemEdit.vue.d.ts +4 -0
- package/dist/dashboard/BlockItemEdit.vue.d.ts.map +1 -0
- package/dist/dashboard/cards/CardBase.vue.d.ts +4 -0
- package/dist/dashboard/cards/CardBase.vue.d.ts.map +1 -0
- package/dist/dashboard/cards/CardButton.vue.d.ts +4 -0
- package/dist/dashboard/cards/CardButton.vue.d.ts.map +1 -0
- package/dist/dashboard/cards/CardDate.vue.d.ts +4 -0
- package/dist/dashboard/cards/CardDate.vue.d.ts.map +1 -0
- package/dist/dashboard/cards/CardDimmer.vue.d.ts +4 -0
- package/dist/dashboard/cards/CardDimmer.vue.d.ts.map +1 -0
- package/dist/dashboard/cards/CardInfo.vue.d.ts +4 -0
- package/dist/dashboard/cards/CardInfo.vue.d.ts.map +1 -0
- package/dist/dashboard/cards/CardInput.vue.d.ts +4 -0
- package/dist/dashboard/cards/CardInput.vue.d.ts.map +1 -0
- package/dist/dashboard/cards/CardSwitch.vue.d.ts +4 -0
- package/dist/dashboard/cards/CardSwitch.vue.d.ts.map +1 -0
- package/dist/general/VButton.vue.d.ts.map +1 -0
- package/dist/icons/IconCold.vue.d.ts.map +1 -0
- package/dist/icons/IconDrop.vue.d.ts.map +1 -0
- package/dist/vuesp-components.css +1 -1
- package/dist/vuesp-components.es.js +1374 -594
- package/dist/vuesp-components.umd.js +2 -2
- package/package.json +1 -1
- package/dist/IconCold.vue.d.ts.map +0 -1
- package/dist/IconDrop.vue.d.ts.map +0 -1
- package/dist/IconTemp.vue.d.ts.map +0 -1
- package/dist/VButton.vue.d.ts.map +0 -1
- /package/dist/{VButton.vue.d.ts → general/VButton.vue.d.ts} +0 -0
- /package/dist/{IconCold.vue.d.ts → icons/IconCold.vue.d.ts} +0 -0
- /package/dist/{IconDrop.vue.d.ts → icons/IconDrop.vue.d.ts} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
const
|
|
1
|
+
import { ref as B, computed as M, createElementBlock as s, openBlock as r, createElementVNode as n, createCommentVNode as L, normalizeClass as w, toDisplayString as V, mergeProps as I, withKeys as X, renderSlot as b, createTextVNode as z, resolveDirective as a1, withDirectives as s1, createVNode as p, Transition as Y, withCtx as h, normalizeStyle as D, defineComponent as H, Fragment as A, renderList as F, createBlock as $, resolveDynamicComponent as P, unref as i1, onMounted as U, normalizeProps as G, guardReactiveProps as K, createStaticVNode as c1, resolveComponent as x, Teleport as u1, withModifiers as j, TransitionGroup as d1 } from "vue";
|
|
2
|
+
const f1 = {
|
|
3
3
|
mounted(t, e) {
|
|
4
|
-
t.clickOutsideEvent = function(
|
|
5
|
-
t ===
|
|
4
|
+
t.clickOutsideEvent = function(i) {
|
|
5
|
+
t === i.target || t.contains(i.target) || e.value(i, t);
|
|
6
6
|
}, document.addEventListener("click", t.clickOutsideEvent);
|
|
7
7
|
},
|
|
8
8
|
unmounted(t) {
|
|
9
9
|
document.removeEventListener("click", t.clickOutsideEvent), delete t.clickOutsideEvent;
|
|
10
10
|
}
|
|
11
|
-
},
|
|
12
|
-
var
|
|
11
|
+
}, v1 = [{ name: "outside", directive: f1 }];
|
|
12
|
+
var m1 = { class: "w-full relative" }, p1 = ["value", "disabled", "type"], C1 = ["disabled"], _1 = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "text-red-500 h-[24px] px-2 text-xs"
|
|
15
|
-
},
|
|
15
|
+
}, h1 = "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 after:transition-all", R = {
|
|
16
16
|
__name: "VTextField",
|
|
17
17
|
props: {
|
|
18
18
|
modelValue: { type: [String, Number], default: null },
|
|
@@ -28,69 +28,69 @@ var r1 = { class: "w-full relative" }, n1 = ["value", "disabled", "type"], a1 =
|
|
|
28
28
|
},
|
|
29
29
|
emits: ["update:modelValue", "click", "on-icon", "enter", "blur"],
|
|
30
30
|
setup: function(t, e) {
|
|
31
|
-
var
|
|
31
|
+
var i = e.emit, o = t, a = i, l = B(!1), u = M(function() {
|
|
32
32
|
return [
|
|
33
33
|
o.message ? "border-red-500 hover:border-red-400 dark:border-red-700 hover:dark:border-red-800" : "",
|
|
34
34
|
o.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
35
|
];
|
|
36
|
-
}),
|
|
37
|
-
return
|
|
38
|
-
},
|
|
39
|
-
return [
|
|
40
|
-
}), d = function(
|
|
41
|
-
var
|
|
42
|
-
|
|
43
|
-
},
|
|
44
|
-
|
|
45
|
-
},
|
|
46
|
-
return
|
|
36
|
+
}), f = function(m) {
|
|
37
|
+
return m || m === 0;
|
|
38
|
+
}, c = M(function() {
|
|
39
|
+
return [h1, l.value || f(o.modelValue) || o.active ? "top-0 left-3 text-xs" : "top-1/2"];
|
|
40
|
+
}), d = function(m) {
|
|
41
|
+
var S = m.target;
|
|
42
|
+
a("update:modelValue", S.value);
|
|
43
|
+
}, v = function(m) {
|
|
44
|
+
l.value = !1, a("blur", m);
|
|
45
|
+
}, C = function(m) {
|
|
46
|
+
return a("enter", m);
|
|
47
47
|
}, y = function() {
|
|
48
|
-
return
|
|
49
|
-
},
|
|
50
|
-
return
|
|
51
|
-
}, Z = function(
|
|
52
|
-
o.disabled ||
|
|
48
|
+
return l.value = !0;
|
|
49
|
+
}, _ = function(m) {
|
|
50
|
+
return a("click", m);
|
|
51
|
+
}, Z = function(m) {
|
|
52
|
+
o.disabled || a("on-icon", m);
|
|
53
53
|
};
|
|
54
|
-
return function(
|
|
55
|
-
return
|
|
56
|
-
|
|
57
|
-
class:
|
|
54
|
+
return function(m, S) {
|
|
55
|
+
return r(), s("div", m1, [
|
|
56
|
+
n("label", {
|
|
57
|
+
class: w(["relative w-full h-[40px] border border-gray-300 dark:border-gray-700 flex items-center rounded transition dark:bg-gray-800", u.value])
|
|
58
58
|
}, [
|
|
59
|
-
|
|
60
|
-
class:
|
|
61
|
-
},
|
|
62
|
-
|
|
59
|
+
n("span", {
|
|
60
|
+
class: w(["absolute left-4 transition-all rounded -translate-y-1/2 text-gray-600 dark:text-gray-400", c.value])
|
|
61
|
+
}, V(t.label), 3),
|
|
62
|
+
n("input", I(m.$attrs, {
|
|
63
63
|
value: t.modelValue,
|
|
64
64
|
disabled: t.disabled,
|
|
65
65
|
type: t.type,
|
|
66
66
|
class: "w-full h-full px-4 outline-none overflow-ellipsis flex-auto overflow-hidden w-[calc(100% - 20px)] bg-transparent",
|
|
67
67
|
onFocus: y,
|
|
68
|
-
onBlur:
|
|
68
|
+
onBlur: v,
|
|
69
69
|
onInput: d,
|
|
70
|
-
onClick:
|
|
71
|
-
onKeypress:
|
|
72
|
-
}), null, 16,
|
|
73
|
-
|
|
70
|
+
onClick: _,
|
|
71
|
+
onKeypress: X(C, ["enter"])
|
|
72
|
+
}), null, 16, p1),
|
|
73
|
+
m.$slots.icon ? (r(), s("button", {
|
|
74
74
|
key: 0,
|
|
75
75
|
disabled: t.disabled,
|
|
76
76
|
style: { flex: "0 0 50px" },
|
|
77
77
|
class: "h-full flex items-center justify-center text-gray-400 border-l border-gray-300 dark:border-gray-700/50",
|
|
78
78
|
onClick: Z
|
|
79
79
|
}, [
|
|
80
|
-
|
|
81
|
-
], 8,
|
|
80
|
+
b(m.$slots, "icon")
|
|
81
|
+
], 8, C1)) : L("", !0)
|
|
82
82
|
], 2),
|
|
83
|
-
t.hideMessage ?
|
|
84
|
-
|
|
83
|
+
t.hideMessage ? L("", !0) : (r(), s("div", _1, [
|
|
84
|
+
b(m.$slots, "message", {}, function() {
|
|
85
85
|
return [
|
|
86
|
-
|
|
86
|
+
z(V(t.message), 1)
|
|
87
87
|
];
|
|
88
88
|
})
|
|
89
89
|
]))
|
|
90
90
|
]);
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
|
-
},
|
|
93
|
+
}, g1 = { class: "relative" }, y1 = { class: "flex items-center cursor-pointer" }, W = {
|
|
94
94
|
__name: "VDropdown",
|
|
95
95
|
props: {
|
|
96
96
|
top: { type: String, default: "calc(100% + 5px)" },
|
|
@@ -101,27 +101,27 @@ var r1 = { class: "w-full relative" }, n1 = ["value", "disabled", "type"], a1 =
|
|
|
101
101
|
},
|
|
102
102
|
emits: ["click", "show", "close"],
|
|
103
103
|
setup: function(t, e) {
|
|
104
|
-
var
|
|
104
|
+
var i = e.emit, o = t, a = i, l = B(!1), u = M(function() {
|
|
105
105
|
return { top: o.top, left: o.left, right: o.right, "max-height": o.height };
|
|
106
|
-
}),
|
|
107
|
-
|
|
108
|
-
},
|
|
109
|
-
|
|
110
|
-
}, d = function(
|
|
111
|
-
|
|
112
|
-
},
|
|
113
|
-
|
|
106
|
+
}), f = function() {
|
|
107
|
+
l.value && v();
|
|
108
|
+
}, c = function() {
|
|
109
|
+
l.value ? o.hideOnClick && v() : d(), a("click", l.value);
|
|
110
|
+
}, d = function(C) {
|
|
111
|
+
l.value = !0, a("show", C);
|
|
112
|
+
}, v = function(C) {
|
|
113
|
+
l.value = !1, a("close", C);
|
|
114
114
|
};
|
|
115
|
-
return function(
|
|
116
|
-
var
|
|
117
|
-
return
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
on: { click:
|
|
121
|
-
show:
|
|
115
|
+
return function(C, y) {
|
|
116
|
+
var _ = a1("outside");
|
|
117
|
+
return s1((r(), s("div", g1, [
|
|
118
|
+
n("div", y1, [
|
|
119
|
+
b(C.$slots, "activator", {
|
|
120
|
+
on: { click: c },
|
|
121
|
+
show: l.value
|
|
122
122
|
})
|
|
123
123
|
]),
|
|
124
|
-
|
|
124
|
+
p(Y, {
|
|
125
125
|
"enter-active-class": "duration-300 ease-out",
|
|
126
126
|
"enter-from-class": "transform opacity-0 -translate-y-2",
|
|
127
127
|
"enter-to-class": "opacity-100 translate-y-0",
|
|
@@ -129,72 +129,72 @@ var r1 = { class: "w-full relative" }, n1 = ["value", "disabled", "type"], a1 =
|
|
|
129
129
|
"leave-from-class": "opacity-100 translate-y-0",
|
|
130
130
|
"leave-to-class": "transform opacity-0 -translate-y-2"
|
|
131
131
|
}, {
|
|
132
|
-
default:
|
|
132
|
+
default: h(function() {
|
|
133
133
|
return [
|
|
134
|
-
|
|
134
|
+
l.value ? (r(), s("div", {
|
|
135
135
|
key: 0,
|
|
136
136
|
class: "z-10 min-w-full absolute overflow-auto shadow-lg",
|
|
137
|
-
style:
|
|
138
|
-
onClick:
|
|
137
|
+
style: D(u.value),
|
|
138
|
+
onClick: c
|
|
139
139
|
}, [
|
|
140
|
-
|
|
140
|
+
b(C.$slots, "default", {
|
|
141
141
|
show: d,
|
|
142
|
-
hide:
|
|
143
|
-
isShown:
|
|
142
|
+
hide: v,
|
|
143
|
+
isShown: l.value
|
|
144
144
|
})
|
|
145
|
-
], 4)) :
|
|
145
|
+
], 4)) : L("", !0)
|
|
146
146
|
];
|
|
147
147
|
}),
|
|
148
148
|
_: 3
|
|
149
149
|
})
|
|
150
150
|
])), [
|
|
151
|
-
[
|
|
151
|
+
[_, f]
|
|
152
152
|
]);
|
|
153
153
|
};
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
|
-
const
|
|
156
|
+
const b1 = { class: "bg-white dark:bg-gray-800" }, x1 = ["onClick"], J = /* @__PURE__ */ H({
|
|
157
157
|
__name: "VList",
|
|
158
158
|
props: {
|
|
159
159
|
list: { default: () => [] }
|
|
160
160
|
},
|
|
161
161
|
emits: ["click"],
|
|
162
162
|
setup(t, { emit: e }) {
|
|
163
|
-
const
|
|
164
|
-
return (
|
|
165
|
-
(
|
|
166
|
-
key: "list_" +
|
|
163
|
+
const i = e, o = (a) => i("click", a);
|
|
164
|
+
return (a, l) => (r(), s("ul", b1, [
|
|
165
|
+
(r(!0), s(A, null, F(a.list, (u, f) => (r(), s("li", {
|
|
166
|
+
key: "list_" + f,
|
|
167
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: (
|
|
168
|
+
onClick: (c) => o(u)
|
|
169
169
|
}, [
|
|
170
|
-
|
|
171
|
-
|
|
170
|
+
b(a.$slots, "default", { item: u }, () => [
|
|
171
|
+
z(V(u.name), 1)
|
|
172
172
|
])
|
|
173
|
-
], 8,
|
|
173
|
+
], 8, x1))), 128))
|
|
174
174
|
]));
|
|
175
175
|
}
|
|
176
|
-
}),
|
|
177
|
-
const
|
|
178
|
-
for (const [o,
|
|
179
|
-
|
|
180
|
-
return
|
|
176
|
+
}), g = (t, e) => {
|
|
177
|
+
const i = t.__vccOpts || t;
|
|
178
|
+
for (const [o, a] of e)
|
|
179
|
+
i[o] = a;
|
|
180
|
+
return i;
|
|
181
181
|
};
|
|
182
|
-
var
|
|
182
|
+
var V1 = {}, k1 = {
|
|
183
183
|
viewBox: "0 0 24 24",
|
|
184
184
|
width: "24",
|
|
185
185
|
height: "24",
|
|
186
186
|
fill: "currentColor"
|
|
187
187
|
};
|
|
188
|
-
function
|
|
189
|
-
return
|
|
190
|
-
|
|
188
|
+
function $1(t, e) {
|
|
189
|
+
return r(), s("svg", k1, e[0] || (e[0] = [
|
|
190
|
+
n("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
191
|
]));
|
|
192
192
|
}
|
|
193
|
-
const
|
|
194
|
-
var
|
|
193
|
+
const N = /* @__PURE__ */ g(V1, [["render", $1]]);
|
|
194
|
+
var w1 = {
|
|
195
195
|
key: 0,
|
|
196
196
|
class: "p-4 py-2"
|
|
197
|
-
},
|
|
197
|
+
}, M1 = {
|
|
198
198
|
__name: "VAutocomplete",
|
|
199
199
|
props: {
|
|
200
200
|
value: { type: String, default: "" },
|
|
@@ -206,42 +206,42 @@ var v1 = {
|
|
|
206
206
|
},
|
|
207
207
|
emits: ["change"],
|
|
208
208
|
setup: function(t) {
|
|
209
|
-
var e = t,
|
|
209
|
+
var e = t, i = B(""), o = M(function() {
|
|
210
210
|
return e.value;
|
|
211
|
-
}),
|
|
211
|
+
}), a = M(function() {
|
|
212
212
|
var d = e?.list || [];
|
|
213
|
-
return d.filter(function(
|
|
214
|
-
return
|
|
213
|
+
return d.filter(function(v) {
|
|
214
|
+
return i.value ? v[e.valueName].toLowerCase().includes(i.value.toLowerCase()) : !0;
|
|
215
215
|
});
|
|
216
|
-
}),
|
|
216
|
+
}), l = M(function() {
|
|
217
217
|
return e.placeholder;
|
|
218
|
-
}), u =
|
|
218
|
+
}), u = M(function() {
|
|
219
219
|
var d;
|
|
220
|
-
return !(!((d =
|
|
221
|
-
}),
|
|
222
|
-
return
|
|
223
|
-
},
|
|
220
|
+
return !(!((d = a?.value) === null || d === void 0) && d.length);
|
|
221
|
+
}), f = function(d) {
|
|
222
|
+
return i.value = d.target.value;
|
|
223
|
+
}, c = function(d) {
|
|
224
224
|
return { "rotate-x-180": d };
|
|
225
225
|
};
|
|
226
|
-
return function(d,
|
|
227
|
-
return
|
|
228
|
-
activator:
|
|
229
|
-
var y =
|
|
226
|
+
return function(d, v) {
|
|
227
|
+
return r(), $(W, I(d.$attrs, { top: "50px" }), {
|
|
228
|
+
activator: h(function(C) {
|
|
229
|
+
var y = C.show, _ = C.on;
|
|
230
230
|
return [
|
|
231
|
-
|
|
232
|
-
value: y ?
|
|
233
|
-
placeholder: y ? "Search" :
|
|
234
|
-
onClick:
|
|
235
|
-
onInput:
|
|
236
|
-
onOnIcon:
|
|
237
|
-
onFocus:
|
|
238
|
-
return
|
|
231
|
+
p(R, {
|
|
232
|
+
value: y ? i.value : o.value,
|
|
233
|
+
placeholder: y ? "Search" : l.value,
|
|
234
|
+
onClick: _.click,
|
|
235
|
+
onInput: f,
|
|
236
|
+
onOnIcon: _.click,
|
|
237
|
+
onFocus: v[0] || (v[0] = function(Z) {
|
|
238
|
+
return i.value = "";
|
|
239
239
|
})
|
|
240
240
|
}, {
|
|
241
|
-
icon:
|
|
241
|
+
icon: h(function() {
|
|
242
242
|
return [
|
|
243
|
-
|
|
244
|
-
class:
|
|
243
|
+
p(N, {
|
|
244
|
+
class: w(["transition", c(y)])
|
|
245
245
|
}, null, 8, ["class"])
|
|
246
246
|
];
|
|
247
247
|
}),
|
|
@@ -249,21 +249,21 @@ var v1 = {
|
|
|
249
249
|
}, 1032, ["value", "placeholder", "onClick", "onOnIcon"])
|
|
250
250
|
];
|
|
251
251
|
}),
|
|
252
|
-
default:
|
|
252
|
+
default: h(function() {
|
|
253
253
|
return [
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
list:
|
|
257
|
-
onClick:
|
|
258
|
-
return d.$emit("change",
|
|
254
|
+
n("div", null, [
|
|
255
|
+
p(J, {
|
|
256
|
+
list: a.value,
|
|
257
|
+
onClick: v[1] || (v[1] = function(C) {
|
|
258
|
+
return d.$emit("change", C);
|
|
259
259
|
})
|
|
260
260
|
}, {
|
|
261
|
-
default:
|
|
262
|
-
var y =
|
|
261
|
+
default: h(function(C) {
|
|
262
|
+
var y = C.item;
|
|
263
263
|
return [
|
|
264
|
-
|
|
264
|
+
b(d.$slots, "default", { item: y }, function() {
|
|
265
265
|
return [
|
|
266
|
-
|
|
266
|
+
z(V(y[t.valueName]), 1)
|
|
267
267
|
];
|
|
268
268
|
})
|
|
269
269
|
];
|
|
@@ -271,7 +271,7 @@ var v1 = {
|
|
|
271
271
|
_: 3
|
|
272
272
|
}, 8, ["list"])
|
|
273
273
|
]),
|
|
274
|
-
u.value ? (
|
|
274
|
+
u.value ? (r(), s("div", w1, "Not found")) : L("", !0)
|
|
275
275
|
];
|
|
276
276
|
}),
|
|
277
277
|
_: 3
|
|
@@ -279,38 +279,38 @@ var v1 = {
|
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
281
|
};
|
|
282
|
-
const
|
|
282
|
+
const H1 = { class: "flex items-center gap-1.5" }, L1 = /* @__PURE__ */ H({
|
|
283
283
|
__name: "VBreadcrumb",
|
|
284
284
|
props: {
|
|
285
285
|
items: { default: () => [] }
|
|
286
286
|
},
|
|
287
287
|
emits: ["click"],
|
|
288
288
|
setup(t, { emit: e }) {
|
|
289
|
-
return (
|
|
290
|
-
|
|
291
|
-
(
|
|
292
|
-
key:
|
|
293
|
-
class:
|
|
289
|
+
return (i, o) => (r(), s("nav", null, [
|
|
290
|
+
n("ol", H1, [
|
|
291
|
+
(r(!0), s(A, null, F(i.items, (a, l) => (r(), s("li", {
|
|
292
|
+
key: l,
|
|
293
|
+
class: w(["inline-flex items-center gap-1.5 text-sm text-gray-500 dark:text-gray-400", a.path ? "" : "text-gray-800 dark:text-white/90"])
|
|
294
294
|
}, [
|
|
295
|
-
|
|
296
|
-
(
|
|
297
|
-
href:
|
|
295
|
+
b(i.$slots, "default", { item: a }, () => [
|
|
296
|
+
(r(), $(P(a.path ? "a" : "span"), {
|
|
297
|
+
href: a.path
|
|
298
298
|
}, {
|
|
299
|
-
default:
|
|
300
|
-
|
|
299
|
+
default: h(() => [
|
|
300
|
+
z(V(a.name), 1)
|
|
301
301
|
]),
|
|
302
302
|
_: 2
|
|
303
303
|
}, 1032, ["href"]))
|
|
304
304
|
]),
|
|
305
|
-
|
|
305
|
+
a.path ? (r(), $(N, {
|
|
306
306
|
key: 0,
|
|
307
307
|
class: "rotate-270"
|
|
308
|
-
})) :
|
|
308
|
+
})) : L("", !0)
|
|
309
309
|
], 2))), 128))
|
|
310
310
|
])
|
|
311
311
|
]));
|
|
312
312
|
}
|
|
313
|
-
}),
|
|
313
|
+
}), Z1 = "relative flex justify-center items-center transition not-disabled:cursor-pointer not-disabled:hover:opacity-90 disabled:opacity-40 rounded", S1 = /* @__PURE__ */ H({
|
|
314
314
|
__name: "VButton",
|
|
315
315
|
props: {
|
|
316
316
|
block: { type: Boolean },
|
|
@@ -322,34 +322,34 @@ const _1 = { class: "flex items-center gap-1.5" }, p1 = /* @__PURE__ */ M({
|
|
|
322
322
|
},
|
|
323
323
|
emits: ["click"],
|
|
324
324
|
setup(t, { emit: e }) {
|
|
325
|
-
const
|
|
325
|
+
const i = e, o = (m) => i("click", m), a = t.outline ? "border border-green-600 text-green-600" : "bg-green-600 dark:bg-green-800", l = t.outline ? "border border-red-600 text-red-600" : "bg-red-600 dark:bg-red-800", u = t.outline ? "border border-gray-600 text-gray-600" : "bg-gray-700 dark:bg-gray-800", f = t.outline ? "border border-blue-600 text-blue-600" : "bg-blue-700 dark:bg-blue-800", c = { green: a, red: l, gray: u, blue: f }, d = {
|
|
326
326
|
button: "px-4",
|
|
327
327
|
icon: "h-10 w-10 rounded-full border border-gray-200 dark:border-gray-800"
|
|
328
|
-
},
|
|
329
|
-
return (
|
|
330
|
-
class:
|
|
328
|
+
}, v = { normal: "h-10", small: "h-8" }, C = (m) => v?.[m] || "", y = (m) => d?.[m] || "", _ = (m) => t.type === "icon" ? "" : `${t.outline ? "dark:text-white" : "text-white"} ${c?.[m] || ""}`, Z = M(() => [Z1, _(t.color), y(t.type), C(t.size), { "w-full": t.block }]);
|
|
329
|
+
return (m, S) => (r(), s("button", {
|
|
330
|
+
class: w(Z.value),
|
|
331
331
|
onClick: o
|
|
332
332
|
}, [
|
|
333
|
-
|
|
334
|
-
class: m
|
|
333
|
+
n("span", {
|
|
334
|
+
class: w(m.loading ? "opacity-0" : "")
|
|
335
335
|
}, [
|
|
336
|
-
|
|
336
|
+
b(m.$slots, "default")
|
|
337
337
|
], 2),
|
|
338
|
-
|
|
338
|
+
m.loading ? (r(), $(i1(e1), {
|
|
339
339
|
key: 0,
|
|
340
340
|
class: "absolute left-1/2 -translate-x-1/2"
|
|
341
|
-
})) :
|
|
341
|
+
})) : L("", !0)
|
|
342
342
|
], 2));
|
|
343
343
|
}
|
|
344
344
|
});
|
|
345
|
-
var
|
|
345
|
+
var B1 = {}, I1 = {
|
|
346
346
|
class: "animate-spin h-6 w-6",
|
|
347
347
|
fill: "none",
|
|
348
348
|
viewBox: "0 0 24 24"
|
|
349
349
|
};
|
|
350
|
-
function
|
|
351
|
-
return
|
|
352
|
-
|
|
350
|
+
function z1(t, e) {
|
|
351
|
+
return r(), s("svg", I1, e[0] || (e[0] = [
|
|
352
|
+
n("circle", {
|
|
353
353
|
class: "opacity-25",
|
|
354
354
|
cx: "12",
|
|
355
355
|
cy: "12",
|
|
@@ -357,14 +357,14 @@ function V1(t, e) {
|
|
|
357
357
|
stroke: "currentColor",
|
|
358
358
|
"stroke-width": "2"
|
|
359
359
|
}, null, -1),
|
|
360
|
-
|
|
360
|
+
n("path", {
|
|
361
361
|
class: "opacity-75",
|
|
362
362
|
fill: "currentColor",
|
|
363
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"
|
|
364
364
|
}, null, -1)
|
|
365
365
|
]));
|
|
366
366
|
}
|
|
367
|
-
const
|
|
367
|
+
const e1 = /* @__PURE__ */ g(B1, [["render", z1]]), A1 = ["checked", "disabled"], F1 = { class: "text-sm ms-2 peer-disabled:opacity-40" }, T1 = /* @__PURE__ */ H({
|
|
368
368
|
__name: "VCheckbox",
|
|
369
369
|
props: {
|
|
370
370
|
modelValue: { default: "" },
|
|
@@ -372,109 +372,109 @@ const q = /* @__PURE__ */ f(y1, [["render", V1]]), $1 = ["checked", "disabled"],
|
|
|
372
372
|
},
|
|
373
373
|
emits: ["update:modelValue"],
|
|
374
374
|
setup(t, { emit: e }) {
|
|
375
|
-
const
|
|
376
|
-
return (
|
|
377
|
-
class:
|
|
375
|
+
const i = e, o = ({ target: a }) => i("update:modelValue", a.checked);
|
|
376
|
+
return (a, l) => (r(), s("label", {
|
|
377
|
+
class: w(["inline-flex items-center relative", { "cursor-pointer": !a.disabled }])
|
|
378
378
|
}, [
|
|
379
|
-
|
|
379
|
+
n("input", {
|
|
380
380
|
type: "checkbox",
|
|
381
|
-
checked:
|
|
382
|
-
disabled:
|
|
381
|
+
checked: a.modelValue,
|
|
382
|
+
disabled: a.disabled,
|
|
383
383
|
class: "peer h-5 w-5 transition-all appearance-none rounded border border-gray-300 dark:border-gray-700 disabled:opacity-40",
|
|
384
384
|
onChange: o
|
|
385
|
-
}, null, 40,
|
|
386
|
-
|
|
387
|
-
|
|
385
|
+
}, null, 40, A1),
|
|
386
|
+
l[0] || (l[0] = n("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
|
+
n("svg", {
|
|
388
388
|
class: "h-3.5 w-3.5",
|
|
389
389
|
viewBox: "0 0 20 20",
|
|
390
390
|
fill: "currentColor",
|
|
391
391
|
stroke: "currentColor",
|
|
392
392
|
"stroke-width": "1"
|
|
393
393
|
}, [
|
|
394
|
-
|
|
394
|
+
n("path", {
|
|
395
395
|
"fill-rule": "evenodd",
|
|
396
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",
|
|
397
397
|
"clip-rule": "evenodd"
|
|
398
398
|
})
|
|
399
399
|
])
|
|
400
400
|
], -1)),
|
|
401
|
-
|
|
402
|
-
|
|
401
|
+
n("span", F1, [
|
|
402
|
+
b(a.$slots, "default")
|
|
403
403
|
])
|
|
404
404
|
], 2));
|
|
405
405
|
}
|
|
406
406
|
});
|
|
407
|
-
var
|
|
407
|
+
var j1 = { class: "v-expansion__content max-h-0 overflow-hidden transition-all duration-300" }, O1 = { class: "p-4" }, N1 = {
|
|
408
408
|
__name: "VExpansion",
|
|
409
409
|
props: {
|
|
410
410
|
label: { type: String, default: "" },
|
|
411
411
|
value: { type: Boolean, default: !1 }
|
|
412
412
|
},
|
|
413
413
|
setup: function(t) {
|
|
414
|
-
var e = t,
|
|
415
|
-
var u =
|
|
414
|
+
var e = t, i = B(null), o = B(e.value), a = function() {
|
|
415
|
+
var u = i.value.querySelector(".v-expansion__content");
|
|
416
416
|
u.style.maxHeight = o.value ? "".concat(u.scrollHeight, "px") : "0";
|
|
417
|
-
},
|
|
418
|
-
o.value = !o.value,
|
|
417
|
+
}, l = function() {
|
|
418
|
+
o.value = !o.value, a();
|
|
419
419
|
};
|
|
420
|
-
return
|
|
421
|
-
|
|
422
|
-
}), function(u,
|
|
423
|
-
return
|
|
420
|
+
return U(function() {
|
|
421
|
+
a();
|
|
422
|
+
}), function(u, f) {
|
|
423
|
+
return r(), s("div", {
|
|
424
424
|
ref_key: "root",
|
|
425
|
-
ref:
|
|
425
|
+
ref: i,
|
|
426
426
|
class: "border-b dark:border-gray-700 border-gray-200"
|
|
427
427
|
}, [
|
|
428
|
-
|
|
428
|
+
n("div", {
|
|
429
429
|
class: "cursor-pointer min-h-[60px] px-4 flex items-center justify-between",
|
|
430
|
-
onClick:
|
|
430
|
+
onClick: l
|
|
431
431
|
}, [
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
class:
|
|
432
|
+
n("h4", null, V(t.label), 1),
|
|
433
|
+
n("div", {
|
|
434
|
+
class: w(["transition text-gray-400", { "rotate-180": o.value }])
|
|
435
435
|
}, [
|
|
436
|
-
|
|
436
|
+
p(N)
|
|
437
437
|
], 2)
|
|
438
438
|
]),
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
439
|
+
n("div", j1, [
|
|
440
|
+
n("div", O1, [
|
|
441
|
+
b(u.$slots, "default")
|
|
442
442
|
])
|
|
443
443
|
])
|
|
444
444
|
], 512);
|
|
445
445
|
};
|
|
446
446
|
}
|
|
447
|
-
},
|
|
448
|
-
return
|
|
449
|
-
for (var
|
|
450
|
-
|
|
451
|
-
for (var
|
|
447
|
+
}, q = function() {
|
|
448
|
+
return q = Object.assign || function(e) {
|
|
449
|
+
for (var i, o = 1, a = arguments.length; o < a; o++) {
|
|
450
|
+
i = arguments[o];
|
|
451
|
+
for (var l in i) Object.prototype.hasOwnProperty.call(i, l) && (e[l] = i[l]);
|
|
452
452
|
}
|
|
453
453
|
return e;
|
|
454
|
-
},
|
|
454
|
+
}, q.apply(this, arguments);
|
|
455
455
|
};
|
|
456
|
-
var
|
|
456
|
+
var E1 = {}, D1 = {
|
|
457
457
|
viewBox: "0 0 24 24",
|
|
458
458
|
width: "24",
|
|
459
459
|
height: "24",
|
|
460
460
|
fill: "currentColor"
|
|
461
461
|
};
|
|
462
|
-
function
|
|
463
|
-
return
|
|
464
|
-
|
|
462
|
+
function P1(t, e) {
|
|
463
|
+
return r(), s("svg", D1, e[0] || (e[0] = [
|
|
464
|
+
n("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)
|
|
465
465
|
]));
|
|
466
466
|
}
|
|
467
|
-
const
|
|
468
|
-
var
|
|
467
|
+
const t1 = /* @__PURE__ */ g(E1, [["render", P1]]);
|
|
468
|
+
var U1 = {
|
|
469
469
|
class: "w-full min-w-[260px] max-w-xs p-4 bg-white rounded-lg shadow-lg dark:bg-gray-800",
|
|
470
470
|
role: "alert"
|
|
471
|
-
},
|
|
471
|
+
}, G1 = { class: "flex items-center gap-4 text-sm" }, K1 = { class: "flex-auto" }, q1 = {
|
|
472
472
|
key: 0,
|
|
473
473
|
class: "text-green-600"
|
|
474
|
-
},
|
|
474
|
+
}, R1 = {
|
|
475
475
|
key: 0,
|
|
476
476
|
class: "w-full bg-gray-200 rounded-full dark:bg-gray-700 mt-2"
|
|
477
|
-
},
|
|
477
|
+
}, W1 = {
|
|
478
478
|
__name: "VNotification",
|
|
479
479
|
props: {
|
|
480
480
|
text: { type: String, default: "" },
|
|
@@ -493,42 +493,42 @@ var S1 = {
|
|
|
493
493
|
},
|
|
494
494
|
emits: ["close"],
|
|
495
495
|
setup: function(t, e) {
|
|
496
|
-
var
|
|
496
|
+
var i = e.emit, o = t, a = i, l = M(function() {
|
|
497
497
|
return o.status ? Math.ceil(o.size * 100 / o.length) : 100;
|
|
498
|
-
}), u =
|
|
498
|
+
}), u = M(function() {
|
|
499
499
|
return !!o.length;
|
|
500
|
-
}),
|
|
501
|
-
return !!(u.value &&
|
|
500
|
+
}), f = M(function() {
|
|
501
|
+
return !!(u.value && l.value === 100 && !o.status);
|
|
502
502
|
});
|
|
503
|
-
return
|
|
504
|
-
var
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
},
|
|
508
|
-
}), function(
|
|
509
|
-
return
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
503
|
+
return U(function() {
|
|
504
|
+
var c = o.timeout;
|
|
505
|
+
c && setTimeout(function() {
|
|
506
|
+
a("close", q({}, o));
|
|
507
|
+
}, c * 1e3);
|
|
508
|
+
}), function(c, d) {
|
|
509
|
+
return r(), s("div", U1, [
|
|
510
|
+
n("div", G1, [
|
|
511
|
+
n("div", K1, V(t.text), 1),
|
|
512
|
+
f.value ? (r(), s("span", q1, "Done")) : L("", !0),
|
|
513
|
+
n("button", {
|
|
514
514
|
class: "transition text-gray-400 self-start hover:text-gray-600",
|
|
515
|
-
onClick: d[0] || (d[0] = function(
|
|
516
|
-
return
|
|
515
|
+
onClick: d[0] || (d[0] = function(v) {
|
|
516
|
+
return a("close", c.item);
|
|
517
517
|
})
|
|
518
518
|
}, [
|
|
519
|
-
|
|
519
|
+
p(t1, { class: "h-4 w-4" })
|
|
520
520
|
])
|
|
521
521
|
]),
|
|
522
|
-
u.value ? (
|
|
523
|
-
|
|
522
|
+
u.value ? (r(), s("div", R1, [
|
|
523
|
+
n("div", {
|
|
524
524
|
class: "bg-blue-600 text-sm font-medium text-blue-100 text-center leading-none rounded-full",
|
|
525
|
-
style:
|
|
526
|
-
},
|
|
527
|
-
])) :
|
|
525
|
+
style: D("width: ".concat(l.value, "%"))
|
|
526
|
+
}, V(l.value) + "%", 5)
|
|
527
|
+
])) : L("", !0)
|
|
528
528
|
]);
|
|
529
529
|
};
|
|
530
530
|
}
|
|
531
|
-
},
|
|
531
|
+
}, J1 = {
|
|
532
532
|
__name: "VSelect",
|
|
533
533
|
props: {
|
|
534
534
|
value: { type: String, default: "" },
|
|
@@ -540,17 +540,17 @@ var S1 = {
|
|
|
540
540
|
},
|
|
541
541
|
emits: ["change"],
|
|
542
542
|
setup: function(t, e) {
|
|
543
|
-
var
|
|
543
|
+
var i = e.emit, o = i, a = function(u) {
|
|
544
544
|
return o("change", u);
|
|
545
|
-
},
|
|
545
|
+
}, l = function(u) {
|
|
546
546
|
return { "rotate-x-180": u };
|
|
547
547
|
};
|
|
548
|
-
return function(u,
|
|
549
|
-
return
|
|
550
|
-
activator:
|
|
551
|
-
var d =
|
|
548
|
+
return function(u, f) {
|
|
549
|
+
return r(), $(W, I({ class: "relative w-full" }, u.$attrs, { top: "50px" }), {
|
|
550
|
+
activator: h(function(c) {
|
|
551
|
+
var d = c.on, v = c.show;
|
|
552
552
|
return [
|
|
553
|
-
|
|
553
|
+
p(R, {
|
|
554
554
|
"model-value": t.value,
|
|
555
555
|
readonly: "",
|
|
556
556
|
active: "",
|
|
@@ -558,10 +558,10 @@ var S1 = {
|
|
|
558
558
|
onClick: d.click,
|
|
559
559
|
onOnIcon: d.click
|
|
560
560
|
}, {
|
|
561
|
-
icon:
|
|
561
|
+
icon: h(function() {
|
|
562
562
|
return [
|
|
563
|
-
|
|
564
|
-
class:
|
|
563
|
+
p(N, {
|
|
564
|
+
class: w(["transition", l(v)])
|
|
565
565
|
}, null, 8, ["class"])
|
|
566
566
|
];
|
|
567
567
|
}),
|
|
@@ -569,18 +569,18 @@ var S1 = {
|
|
|
569
569
|
}, 1032, ["model-value", "label", "onClick", "onOnIcon"])
|
|
570
570
|
];
|
|
571
571
|
}),
|
|
572
|
-
default:
|
|
572
|
+
default: h(function() {
|
|
573
573
|
return [
|
|
574
|
-
|
|
574
|
+
p(J, {
|
|
575
575
|
list: t.list,
|
|
576
|
-
onClick:
|
|
576
|
+
onClick: a
|
|
577
577
|
}, {
|
|
578
|
-
default:
|
|
579
|
-
var d =
|
|
578
|
+
default: h(function(c) {
|
|
579
|
+
var d = c.item;
|
|
580
580
|
return [
|
|
581
|
-
|
|
581
|
+
b(u.$slots, "default", { item: d }, function() {
|
|
582
582
|
return [
|
|
583
|
-
|
|
583
|
+
z(V(d.name), 1)
|
|
584
584
|
];
|
|
585
585
|
})
|
|
586
586
|
];
|
|
@@ -593,10 +593,10 @@ var S1 = {
|
|
|
593
593
|
}, 16);
|
|
594
594
|
};
|
|
595
595
|
}
|
|
596
|
-
},
|
|
596
|
+
}, Q1 = { class: "w-full relative" }, X1 = ["value", "disabled", "type"], Y1 = ["disabled"], ee = {
|
|
597
597
|
key: 0,
|
|
598
598
|
class: "text-red-500 h-[24px] px-2 text-xs"
|
|
599
|
-
},
|
|
599
|
+
}, te = "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 after:transition-all", ne = {
|
|
600
600
|
__name: "VTextarea",
|
|
601
601
|
props: {
|
|
602
602
|
modelValue: { type: [String, Number], default: null },
|
|
@@ -612,38 +612,38 @@ var S1 = {
|
|
|
612
612
|
},
|
|
613
613
|
emits: ["update:modelValue", "click", "on-icon", "enter", "blur"],
|
|
614
614
|
setup: function(t, e) {
|
|
615
|
-
var
|
|
615
|
+
var i = e.emit, o = t, a = i, l = B(!1), u = M(function() {
|
|
616
616
|
return [
|
|
617
617
|
o.message ? "border-red-500 hover:border-red-400" : "",
|
|
618
618
|
o.disabled ? "border-gray-400 opacity-40" : "border-gray-300 hover:border-gray-400 dark:border-gray-700/50 hover:dark:border-gray-600/50"
|
|
619
619
|
];
|
|
620
|
-
}),
|
|
621
|
-
return
|
|
622
|
-
},
|
|
623
|
-
return [
|
|
624
|
-
}), d = function(
|
|
625
|
-
var
|
|
626
|
-
|
|
627
|
-
},
|
|
628
|
-
|
|
629
|
-
},
|
|
630
|
-
return
|
|
620
|
+
}), f = function(m) {
|
|
621
|
+
return m || m === 0;
|
|
622
|
+
}, c = M(function() {
|
|
623
|
+
return [te, l.value || f(o.modelValue) || o.active ? "top-0 left-3 text-xs" : "top-1/2"];
|
|
624
|
+
}), d = function(m) {
|
|
625
|
+
var S = m.target;
|
|
626
|
+
a("update:modelValue", S.value);
|
|
627
|
+
}, v = function(m) {
|
|
628
|
+
l.value = !1, a("blur", m);
|
|
629
|
+
}, C = function(m) {
|
|
630
|
+
return a("enter", m);
|
|
631
631
|
}, y = function() {
|
|
632
|
-
return
|
|
633
|
-
},
|
|
634
|
-
return
|
|
635
|
-
}, Z = function(
|
|
636
|
-
o.disabled ||
|
|
632
|
+
return l.value = !0;
|
|
633
|
+
}, _ = function(m) {
|
|
634
|
+
return a("click", m);
|
|
635
|
+
}, Z = function(m) {
|
|
636
|
+
o.disabled || a("on-icon", m);
|
|
637
637
|
};
|
|
638
|
-
return function(
|
|
639
|
-
return
|
|
640
|
-
|
|
641
|
-
class:
|
|
638
|
+
return function(m, S) {
|
|
639
|
+
return r(), s("div", Q1, [
|
|
640
|
+
n("label", {
|
|
641
|
+
class: w(["relative w-full min-h-[40px] border border-gray-300 dark:border-gray-700 flex items-center rounded transition dark:bg-gray-800", u.value])
|
|
642
642
|
}, [
|
|
643
|
-
|
|
644
|
-
class:
|
|
645
|
-
},
|
|
646
|
-
|
|
643
|
+
n("span", {
|
|
644
|
+
class: w(["absolute left-4 transition-all rounded duration-300 -translate-y-1/2 text-gray-600 dark:text-gray-400", c.value])
|
|
645
|
+
}, V(t.label), 3),
|
|
646
|
+
n("textarea", I(m.$attrs, {
|
|
647
647
|
value: t.modelValue,
|
|
648
648
|
disabled: t.disabled,
|
|
649
649
|
type: t.type,
|
|
@@ -651,25 +651,25 @@ var S1 = {
|
|
|
651
651
|
wrap: "",
|
|
652
652
|
class: "h-full w-full px-4 py-2 outline-none flex-auto bg-transparent",
|
|
653
653
|
onFocus: y,
|
|
654
|
-
onBlur:
|
|
654
|
+
onBlur: v,
|
|
655
655
|
onInput: d,
|
|
656
|
-
onClick:
|
|
657
|
-
onKeypress:
|
|
658
|
-
}), null, 16,
|
|
659
|
-
|
|
656
|
+
onClick: _,
|
|
657
|
+
onKeypress: X(C, ["enter"])
|
|
658
|
+
}), null, 16, X1),
|
|
659
|
+
m.$slots.icon ? (r(), s("button", {
|
|
660
660
|
key: 0,
|
|
661
661
|
disabled: t.disabled,
|
|
662
662
|
style: { flex: "0 0 50px" },
|
|
663
663
|
class: "h-full flex items-center justify-center text-gray-400 border-l border-primary",
|
|
664
664
|
onClick: Z
|
|
665
665
|
}, [
|
|
666
|
-
|
|
667
|
-
], 8,
|
|
666
|
+
b(m.$slots, "icon")
|
|
667
|
+
], 8, Y1)) : L("", !0)
|
|
668
668
|
], 2),
|
|
669
|
-
t.hideMessage ?
|
|
670
|
-
|
|
669
|
+
t.hideMessage ? L("", !0) : (r(), s("div", ee, [
|
|
670
|
+
b(m.$slots, "message", {}, function() {
|
|
671
671
|
return [
|
|
672
|
-
|
|
672
|
+
z(V(t.message), 1)
|
|
673
673
|
];
|
|
674
674
|
})
|
|
675
675
|
]))
|
|
@@ -677,33 +677,33 @@ var S1 = {
|
|
|
677
677
|
};
|
|
678
678
|
}
|
|
679
679
|
};
|
|
680
|
-
const
|
|
680
|
+
const oe = { class: "flex items-center cursor-pointer" }, re = /* @__PURE__ */ H({
|
|
681
681
|
__name: "VTextFieldFile",
|
|
682
682
|
emits: ["change"],
|
|
683
683
|
setup(t, { emit: e }) {
|
|
684
|
-
const
|
|
685
|
-
const u =
|
|
686
|
-
for (let
|
|
687
|
-
const d = u.item(
|
|
688
|
-
d && (
|
|
684
|
+
const i = e, o = B({ files: [], totalSize: 0 }), a = async (l) => {
|
|
685
|
+
const u = l.target.files, f = { files: [], totalSize: 0 };
|
|
686
|
+
for (let c = 0; c < u.length; c++) {
|
|
687
|
+
const d = u.item(c);
|
|
688
|
+
d && (f.totalSize += d.size, f.files.push({ name: d.name, size: d.size }));
|
|
689
689
|
}
|
|
690
|
-
u.length && (o.value =
|
|
690
|
+
u.length && (o.value = f, i("change", { files: u, info: f }));
|
|
691
691
|
};
|
|
692
|
-
return (
|
|
693
|
-
|
|
692
|
+
return (l, u) => (r(), s("label", oe, [
|
|
693
|
+
n("input", I({
|
|
694
694
|
type: "file",
|
|
695
695
|
class: "hidden"
|
|
696
|
-
},
|
|
697
|
-
|
|
696
|
+
}, l.$attrs, { onChange: a }), null, 16),
|
|
697
|
+
b(l.$slots, "default", G(K(o.value)))
|
|
698
698
|
]));
|
|
699
699
|
}
|
|
700
|
-
}),
|
|
700
|
+
}), le = { class: "min-w-full" }, ae = { class: "border-y border-gray-100 py-3 dark:border-gray-800" }, se = { class: "bg-gray-50 dark:bg-gray-800" }, ie = { class: "flex items-center" }, ce = { class: "divide-y divide-gray-100 dark:divide-gray-800" }, ue = ["onClick"], de = { class: "flex items-center text-gray-700 dark:text-gray-400" }, fe = {
|
|
701
701
|
key: 1,
|
|
702
702
|
class: ""
|
|
703
|
-
},
|
|
703
|
+
}, ve = {
|
|
704
704
|
class: "py-3 whitespace-nowrap",
|
|
705
705
|
colspan: "9"
|
|
706
|
-
},
|
|
706
|
+
}, me = { class: "flex items-center justify-center text-theme-sm text-gray-700 dark:text-gray-400 px-2" }, pe = /* @__PURE__ */ H({
|
|
707
707
|
__name: "VTable",
|
|
708
708
|
props: {
|
|
709
709
|
headers: { default: () => [] },
|
|
@@ -711,43 +711,43 @@ const q1 = { class: "flex items-center cursor-pointer" }, K1 = /* @__PURE__ */ M
|
|
|
711
711
|
},
|
|
712
712
|
emits: ["click"],
|
|
713
713
|
setup(t, { emit: e }) {
|
|
714
|
-
const
|
|
715
|
-
|
|
716
|
-
},
|
|
717
|
-
return (
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
(
|
|
721
|
-
key:
|
|
722
|
-
class:
|
|
714
|
+
const i = e, o = (l, u) => {
|
|
715
|
+
i("click", { item: l, event: u });
|
|
716
|
+
}, a = (l) => l?.className || "";
|
|
717
|
+
return (l, u) => (r(), s("table", le, [
|
|
718
|
+
n("thead", ae, [
|
|
719
|
+
n("tr", se, [
|
|
720
|
+
(r(!0), s(A, null, F(l.headers, (f, c) => (r(), s("th", {
|
|
721
|
+
key: c,
|
|
722
|
+
class: w(["py-2 whitespace-nowrap text-gray-500 dark:text-gray-400 font-normal px-4", a(f)])
|
|
723
723
|
}, [
|
|
724
|
-
|
|
725
|
-
|
|
724
|
+
b(l.$slots, "header", { item: f }, () => [
|
|
725
|
+
n("div", ie, V(f.name), 1)
|
|
726
726
|
])
|
|
727
727
|
], 2))), 128))
|
|
728
728
|
])
|
|
729
729
|
]),
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
key:
|
|
730
|
+
n("tbody", ce, [
|
|
731
|
+
l.items.length ? (r(!0), s(A, { key: 0 }, F(l.items, (f, c) => (r(), s("tr", {
|
|
732
|
+
key: c,
|
|
733
733
|
class: "hover:bg-gray-50/50 dark:hover:bg-gray-800/50",
|
|
734
|
-
onClick: (d) => o(
|
|
734
|
+
onClick: (d) => o(f, d)
|
|
735
735
|
}, [
|
|
736
|
-
(
|
|
737
|
-
key:
|
|
736
|
+
(r(!0), s(A, null, F(l.headers, (d, v) => (r(), s("td", {
|
|
737
|
+
key: v,
|
|
738
738
|
class: "py-2 whitespace-nowrap px-4"
|
|
739
739
|
}, [
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
740
|
+
n("div", de, [
|
|
741
|
+
b(l.$slots, d.key, { item: f }, () => [
|
|
742
|
+
z(V(f[d.key]), 1)
|
|
743
743
|
])
|
|
744
744
|
])
|
|
745
745
|
]))), 128))
|
|
746
|
-
], 8,
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
u[0] || (u[0] =
|
|
746
|
+
], 8, ue))), 128)) : (r(), s("tr", fe, [
|
|
747
|
+
n("td", ve, [
|
|
748
|
+
n("div", me, [
|
|
749
|
+
b(l.$slots, "empty", {}, () => [
|
|
750
|
+
u[0] || (u[0] = z("The list is empty"))
|
|
751
751
|
])
|
|
752
752
|
])
|
|
753
753
|
])
|
|
@@ -755,63 +755,63 @@ const q1 = { class: "flex items-center cursor-pointer" }, K1 = /* @__PURE__ */ M
|
|
|
755
755
|
])
|
|
756
756
|
]));
|
|
757
757
|
}
|
|
758
|
-
}),
|
|
758
|
+
}), Ce = { class: "relative flex items-end gap-0.5 w-10" }, _e = ["title"], he = { class: "absolute -top-1 -left-1 text-xs text-gray-600 dark:text-gray-300" }, ge = /* @__PURE__ */ H({
|
|
759
759
|
__name: "WifiIcon",
|
|
760
760
|
props: {
|
|
761
761
|
rssi: { default: 0 },
|
|
762
762
|
channel: { default: 0 }
|
|
763
763
|
},
|
|
764
764
|
setup(t) {
|
|
765
|
-
const e = 2 * (t.rssi + 100),
|
|
766
|
-
return (o,
|
|
767
|
-
(
|
|
768
|
-
key:
|
|
769
|
-
class:
|
|
770
|
-
style:
|
|
765
|
+
const e = 2 * (t.rssi + 100), i = (o) => o < e;
|
|
766
|
+
return (o, a) => (r(), s("div", Ce, [
|
|
767
|
+
(r(), s(A, null, F([10, 15, 25, 40, 70], (l, u) => n("div", {
|
|
768
|
+
key: l,
|
|
769
|
+
class: w(["w-1 h-5 rounded-lg", [i(l) ? "bg-gray-900 dark:bg-gray-100" : "bg-gray-300 dark:bg-gray-700"]]),
|
|
770
|
+
style: D(`height: ${(u + 1) * 5}px`),
|
|
771
771
|
title: `rssi: ${o.rssi} channel: ${o.channel}`
|
|
772
|
-
}, null, 14,
|
|
773
|
-
|
|
772
|
+
}, null, 14, _e)), 64)),
|
|
773
|
+
n("div", he, V(o.channel), 1)
|
|
774
774
|
]));
|
|
775
775
|
}
|
|
776
|
-
}),
|
|
776
|
+
}), ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
777
777
|
__proto__: null,
|
|
778
|
-
VAutocomplete:
|
|
779
|
-
VBreadcrumb:
|
|
780
|
-
VButton:
|
|
781
|
-
VCheckbox:
|
|
782
|
-
VDropdown:
|
|
783
|
-
VExpansion:
|
|
784
|
-
VList:
|
|
785
|
-
VLoader:
|
|
786
|
-
VNotification:
|
|
787
|
-
VSelect:
|
|
788
|
-
VTable:
|
|
789
|
-
VTextField:
|
|
790
|
-
VTextFieldFile:
|
|
791
|
-
VTextarea:
|
|
792
|
-
WifiIcon:
|
|
778
|
+
VAutocomplete: M1,
|
|
779
|
+
VBreadcrumb: L1,
|
|
780
|
+
VButton: S1,
|
|
781
|
+
VCheckbox: T1,
|
|
782
|
+
VDropdown: W,
|
|
783
|
+
VExpansion: N1,
|
|
784
|
+
VList: J,
|
|
785
|
+
VLoader: e1,
|
|
786
|
+
VNotification: W1,
|
|
787
|
+
VSelect: J1,
|
|
788
|
+
VTable: pe,
|
|
789
|
+
VTextField: R,
|
|
790
|
+
VTextFieldFile: re,
|
|
791
|
+
VTextarea: ne,
|
|
792
|
+
WifiIcon: ge
|
|
793
793
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
794
|
-
var
|
|
794
|
+
var be = {}, xe = {
|
|
795
795
|
viewBox: "0 0 24 24",
|
|
796
796
|
width: "24",
|
|
797
797
|
height: "24",
|
|
798
798
|
fill: "currentColor"
|
|
799
799
|
};
|
|
800
|
-
function
|
|
801
|
-
return
|
|
802
|
-
|
|
800
|
+
function Ve(t, e) {
|
|
801
|
+
return r(), s("svg", xe, e[0] || (e[0] = [
|
|
802
|
+
n("path", { d: "M3 4H21V6H3V4ZM3 11H15V13H3V11ZM3 18H21V20H3V18Z" }, null, -1)
|
|
803
803
|
]));
|
|
804
804
|
}
|
|
805
|
-
const
|
|
806
|
-
var
|
|
805
|
+
const ke = /* @__PURE__ */ g(be, [["render", Ve]]);
|
|
806
|
+
var $e = {}, we = {
|
|
807
807
|
width: "24",
|
|
808
808
|
height: "24",
|
|
809
809
|
viewBox: "0 0 24 24",
|
|
810
810
|
fill: "none"
|
|
811
811
|
};
|
|
812
|
-
function
|
|
813
|
-
return
|
|
814
|
-
|
|
812
|
+
function Me(t, e) {
|
|
813
|
+
return r(), s("svg", we, e[0] || (e[0] = [
|
|
814
|
+
n("path", {
|
|
815
815
|
"fill-rule": "evenodd",
|
|
816
816
|
"clip-rule": "evenodd",
|
|
817
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",
|
|
@@ -819,263 +819,263 @@ function h2(t, e) {
|
|
|
819
819
|
}, null, -1)
|
|
820
820
|
]));
|
|
821
821
|
}
|
|
822
|
-
const
|
|
823
|
-
var
|
|
822
|
+
const He = /* @__PURE__ */ g($e, [["render", Me]]);
|
|
823
|
+
var Le = {}, Ze = {
|
|
824
824
|
viewBox: "0 0 24 24",
|
|
825
825
|
width: "24",
|
|
826
826
|
height: "24",
|
|
827
827
|
fill: "currentColor"
|
|
828
828
|
};
|
|
829
|
-
function
|
|
830
|
-
return
|
|
831
|
-
|
|
829
|
+
function Se(t, e) {
|
|
830
|
+
return r(), s("svg", Ze, e[0] || (e[0] = [
|
|
831
|
+
n("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)
|
|
832
832
|
]));
|
|
833
833
|
}
|
|
834
|
-
const
|
|
835
|
-
var
|
|
834
|
+
const Be = /* @__PURE__ */ g(Le, [["render", Se]]);
|
|
835
|
+
var Ie = {}, ze = {
|
|
836
836
|
width: "24",
|
|
837
837
|
height: "24",
|
|
838
838
|
viewBox: "0 0 24 24",
|
|
839
839
|
fill: "currentColor"
|
|
840
840
|
};
|
|
841
|
-
function
|
|
842
|
-
return
|
|
843
|
-
|
|
841
|
+
function Ae(t, e) {
|
|
842
|
+
return r(), s("svg", ze, e[0] || (e[0] = [
|
|
843
|
+
n("path", {
|
|
844
844
|
"fill-rule": "evenodd",
|
|
845
845
|
"clip-rule": "evenodd",
|
|
846
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"
|
|
847
847
|
}, null, -1)
|
|
848
848
|
]));
|
|
849
849
|
}
|
|
850
|
-
const
|
|
851
|
-
var
|
|
850
|
+
const Fe = /* @__PURE__ */ g(Ie, [["render", Ae]]);
|
|
851
|
+
var Te = {}, je = {
|
|
852
852
|
viewBox: "0 0 24 24",
|
|
853
853
|
width: "24",
|
|
854
854
|
height: "24",
|
|
855
855
|
fill: "currentColor"
|
|
856
856
|
};
|
|
857
|
-
function
|
|
858
|
-
return
|
|
859
|
-
|
|
857
|
+
function Oe(t, e) {
|
|
858
|
+
return r(), s("svg", je, e[0] || (e[0] = [
|
|
859
|
+
n("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)
|
|
860
860
|
]));
|
|
861
861
|
}
|
|
862
|
-
const
|
|
863
|
-
var
|
|
862
|
+
const Ne = /* @__PURE__ */ g(Te, [["render", Oe]]);
|
|
863
|
+
var Ee = {}, De = {
|
|
864
864
|
viewBox: "0 0 24 24",
|
|
865
865
|
width: "24",
|
|
866
866
|
height: "24",
|
|
867
867
|
fill: "currentColor"
|
|
868
868
|
};
|
|
869
|
-
function
|
|
870
|
-
return
|
|
871
|
-
|
|
869
|
+
function Pe(t, e) {
|
|
870
|
+
return r(), s("svg", De, e[0] || (e[0] = [
|
|
871
|
+
n("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)
|
|
872
872
|
]));
|
|
873
873
|
}
|
|
874
|
-
const
|
|
875
|
-
var
|
|
874
|
+
const Ue = /* @__PURE__ */ g(Ee, [["render", Pe]]);
|
|
875
|
+
var Ge = {}, Ke = {
|
|
876
876
|
viewBox: "0 0 24 24",
|
|
877
877
|
width: "24",
|
|
878
878
|
height: "24",
|
|
879
879
|
fill: "currentColor"
|
|
880
880
|
};
|
|
881
|
-
function
|
|
882
|
-
return
|
|
883
|
-
|
|
881
|
+
function qe(t, e) {
|
|
882
|
+
return r(), s("svg", Ke, e[0] || (e[0] = [
|
|
883
|
+
n("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)
|
|
884
884
|
]));
|
|
885
885
|
}
|
|
886
|
-
const
|
|
887
|
-
var
|
|
886
|
+
const Re = /* @__PURE__ */ g(Ge, [["render", qe]]);
|
|
887
|
+
var We = {}, Je = {
|
|
888
888
|
viewBox: "0 0 24 24",
|
|
889
889
|
width: "24",
|
|
890
890
|
height: "24",
|
|
891
891
|
fill: "currentColor"
|
|
892
892
|
};
|
|
893
|
-
function
|
|
894
|
-
return
|
|
895
|
-
|
|
893
|
+
function Qe(t, e) {
|
|
894
|
+
return r(), s("svg", Je, e[0] || (e[0] = [
|
|
895
|
+
n("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)
|
|
896
896
|
]));
|
|
897
897
|
}
|
|
898
|
-
const
|
|
899
|
-
var
|
|
900
|
-
function
|
|
901
|
-
return
|
|
902
|
-
e[0] || (e[0] =
|
|
898
|
+
const Xe = /* @__PURE__ */ g(We, [["render", Qe]]);
|
|
899
|
+
var Ye = {};
|
|
900
|
+
function e2(t, e) {
|
|
901
|
+
return r(), s(A, null, [
|
|
902
|
+
e[0] || (e[0] = n("svg", {
|
|
903
903
|
class: "flex dark:hidden",
|
|
904
904
|
viewBox: "0 0 24 24",
|
|
905
905
|
width: "20",
|
|
906
906
|
height: "20",
|
|
907
907
|
fill: "currentColor"
|
|
908
908
|
}, [
|
|
909
|
-
|
|
909
|
+
n("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" })
|
|
910
910
|
], -1)),
|
|
911
|
-
e[1] || (e[1] =
|
|
911
|
+
e[1] || (e[1] = n("svg", {
|
|
912
912
|
class: "hidden dark:flex",
|
|
913
913
|
viewBox: "0 0 24 24",
|
|
914
914
|
width: "20",
|
|
915
915
|
height: "20",
|
|
916
916
|
fill: "currentColor"
|
|
917
917
|
}, [
|
|
918
|
-
|
|
918
|
+
n("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" })
|
|
919
919
|
], -1))
|
|
920
920
|
], 64);
|
|
921
921
|
}
|
|
922
|
-
const
|
|
923
|
-
var
|
|
922
|
+
const t2 = /* @__PURE__ */ g(Ye, [["render", e2]]);
|
|
923
|
+
var n2 = {}, o2 = {
|
|
924
924
|
viewBox: "0 0 179 40",
|
|
925
925
|
fill: "#25c1eb"
|
|
926
926
|
};
|
|
927
|
-
function
|
|
928
|
-
return
|
|
929
|
-
|
|
927
|
+
function r2(t, e) {
|
|
928
|
+
return r(), s("svg", o2, e[0] || (e[0] = [
|
|
929
|
+
c1('<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)
|
|
930
930
|
]));
|
|
931
931
|
}
|
|
932
|
-
const
|
|
933
|
-
var
|
|
932
|
+
const l2 = /* @__PURE__ */ g(n2, [["render", r2]]);
|
|
933
|
+
var a2 = {}, s2 = {
|
|
934
934
|
viewBox: "0 0 40 40",
|
|
935
935
|
fill: "#25c1eb"
|
|
936
936
|
};
|
|
937
|
-
function
|
|
938
|
-
return
|
|
939
|
-
|
|
940
|
-
|
|
937
|
+
function i2(t, e) {
|
|
938
|
+
return r(), s("svg", s2, e[0] || (e[0] = [
|
|
939
|
+
n("g", { transform: "matrix(0.13287749,0,0,0.13643171,26.823508,13.407673)" }, [
|
|
940
|
+
n("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" })
|
|
941
941
|
], -1)
|
|
942
942
|
]));
|
|
943
943
|
}
|
|
944
|
-
const
|
|
945
|
-
var
|
|
944
|
+
const c2 = /* @__PURE__ */ g(a2, [["render", i2]]);
|
|
945
|
+
var u2 = {}, d2 = {
|
|
946
946
|
viewBox: "0 0 24 24",
|
|
947
947
|
width: "22",
|
|
948
948
|
height: "22",
|
|
949
949
|
fill: "currentColor"
|
|
950
950
|
};
|
|
951
|
-
function
|
|
952
|
-
return
|
|
953
|
-
|
|
951
|
+
function f2(t, e) {
|
|
952
|
+
return r(), s("svg", d2, e[0] || (e[0] = [
|
|
953
|
+
n("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)
|
|
954
954
|
]));
|
|
955
955
|
}
|
|
956
|
-
const
|
|
957
|
-
var
|
|
956
|
+
const v2 = /* @__PURE__ */ g(u2, [["render", f2]]);
|
|
957
|
+
var m2 = {}, p2 = {
|
|
958
958
|
viewBox: "0 0 24 24",
|
|
959
959
|
width: "24",
|
|
960
960
|
height: "24",
|
|
961
961
|
fill: "currentColor"
|
|
962
962
|
};
|
|
963
|
-
function
|
|
964
|
-
return
|
|
965
|
-
|
|
963
|
+
function C2(t, e) {
|
|
964
|
+
return r(), s("svg", p2, e[0] || (e[0] = [
|
|
965
|
+
n("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)
|
|
966
966
|
]));
|
|
967
967
|
}
|
|
968
|
-
const
|
|
969
|
-
var
|
|
968
|
+
const _2 = /* @__PURE__ */ g(m2, [["render", C2]]);
|
|
969
|
+
var h2 = {}, g2 = {
|
|
970
970
|
viewBox: "0 0 24 24",
|
|
971
971
|
width: "24",
|
|
972
972
|
height: "24",
|
|
973
973
|
fill: "currentColor"
|
|
974
974
|
};
|
|
975
|
-
function
|
|
976
|
-
return
|
|
977
|
-
|
|
975
|
+
function y2(t, e) {
|
|
976
|
+
return r(), s("svg", g2, e[0] || (e[0] = [
|
|
977
|
+
n("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)
|
|
978
978
|
]));
|
|
979
979
|
}
|
|
980
|
-
const
|
|
981
|
-
var
|
|
980
|
+
const b2 = /* @__PURE__ */ g(h2, [["render", y2]]);
|
|
981
|
+
var x2 = {}, V2 = {
|
|
982
982
|
width: "24",
|
|
983
983
|
height: "24",
|
|
984
984
|
viewBox: "0 0 30 30",
|
|
985
985
|
fill: "currentColor"
|
|
986
986
|
};
|
|
987
|
-
function
|
|
988
|
-
return
|
|
989
|
-
|
|
987
|
+
function k2(t, e) {
|
|
988
|
+
return r(), s("svg", V2, e[0] || (e[0] = [
|
|
989
|
+
n("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)
|
|
990
990
|
]));
|
|
991
991
|
}
|
|
992
|
-
const
|
|
993
|
-
var
|
|
992
|
+
const $2 = /* @__PURE__ */ g(x2, [["render", k2]]);
|
|
993
|
+
var w2 = {}, M2 = {
|
|
994
994
|
viewBox: "0 0 24 24",
|
|
995
995
|
width: "24",
|
|
996
996
|
height: "24",
|
|
997
997
|
fill: "currentColor"
|
|
998
998
|
};
|
|
999
|
-
function
|
|
1000
|
-
return
|
|
1001
|
-
|
|
999
|
+
function H2(t, e) {
|
|
1000
|
+
return r(), s("svg", M2, e[0] || (e[0] = [
|
|
1001
|
+
n("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)
|
|
1002
1002
|
]));
|
|
1003
1003
|
}
|
|
1004
|
-
const
|
|
1005
|
-
var
|
|
1004
|
+
const L2 = /* @__PURE__ */ g(w2, [["render", H2]]);
|
|
1005
|
+
var Z2 = {}, S2 = {
|
|
1006
1006
|
viewBox: "0 0 24 24",
|
|
1007
1007
|
width: "24",
|
|
1008
1008
|
height: "24",
|
|
1009
1009
|
fill: "currentColor"
|
|
1010
1010
|
};
|
|
1011
|
-
function
|
|
1012
|
-
return
|
|
1013
|
-
|
|
1011
|
+
function B2(t, e) {
|
|
1012
|
+
return r(), s("svg", S2, e[0] || (e[0] = [
|
|
1013
|
+
n("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)
|
|
1014
1014
|
]));
|
|
1015
1015
|
}
|
|
1016
|
-
const
|
|
1017
|
-
var
|
|
1016
|
+
const I2 = /* @__PURE__ */ g(Z2, [["render", B2]]);
|
|
1017
|
+
var z2 = {}, A2 = {
|
|
1018
1018
|
viewBox: "0 0 24 24",
|
|
1019
1019
|
width: "24",
|
|
1020
1020
|
height: "24",
|
|
1021
1021
|
fill: "currentColor"
|
|
1022
1022
|
};
|
|
1023
|
-
function
|
|
1024
|
-
return
|
|
1025
|
-
|
|
1023
|
+
function F2(t, e) {
|
|
1024
|
+
return r(), s("svg", A2, e[0] || (e[0] = [
|
|
1025
|
+
n("path", { d: "M3 7H21V17H19V15H17V17H15V15H13V17H11V15H9V17H7V15H5V17H3V7ZM2 5C1.44772 5 1 5.44772 1 6V18C1 18.5523 1.44772 19 2 19H22C22.5523 19 23 18.5523 23 18V6C23 5.44772 22.5523 5 22 5H2ZM11 9H5V12H11V9ZM13 9H19V12H13V9Z" }, null, -1)
|
|
1026
1026
|
]));
|
|
1027
1027
|
}
|
|
1028
|
-
const
|
|
1029
|
-
var
|
|
1028
|
+
const T2 = /* @__PURE__ */ g(z2, [["render", F2]]);
|
|
1029
|
+
var j2 = {}, O2 = {
|
|
1030
1030
|
viewBox: "0 0 24 24",
|
|
1031
1031
|
width: "24",
|
|
1032
1032
|
height: "24",
|
|
1033
1033
|
fill: "currentColor"
|
|
1034
1034
|
};
|
|
1035
|
-
function
|
|
1036
|
-
return
|
|
1037
|
-
|
|
1035
|
+
function N2(t, e) {
|
|
1036
|
+
return r(), s("svg", O2, e[0] || (e[0] = [
|
|
1037
|
+
n("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" }, null, -1)
|
|
1038
1038
|
]));
|
|
1039
1039
|
}
|
|
1040
|
-
const
|
|
1041
|
-
var
|
|
1040
|
+
const E2 = /* @__PURE__ */ g(j2, [["render", N2]]);
|
|
1041
|
+
var D2 = {}, P2 = {
|
|
1042
1042
|
viewBox: "0 0 24 24",
|
|
1043
1043
|
width: "24",
|
|
1044
1044
|
height: "24",
|
|
1045
1045
|
fill: "currentColor"
|
|
1046
1046
|
};
|
|
1047
|
-
function
|
|
1048
|
-
return
|
|
1049
|
-
|
|
1047
|
+
function U2(t, e) {
|
|
1048
|
+
return r(), s("svg", P2, e[0] || (e[0] = [
|
|
1049
|
+
n("path", { d: "M6.17071 18C6.58254 16.8348 7.69378 16 9 16C10.3062 16 11.4175 16.8348 11.8293 18H22V20H11.8293C11.4175 21.1652 10.3062 22 9 22C7.69378 22 6.58254 21.1652 6.17071 20H2V18H6.17071ZM12.1707 11C12.5825 9.83481 13.6938 9 15 9C16.3062 9 17.4175 9.83481 17.8293 11H22V13H17.8293C17.4175 14.1652 16.3062 15 15 15C13.6938 15 12.5825 14.1652 12.1707 13H2V11H12.1707ZM6.17071 4C6.58254 2.83481 7.69378 2 9 2C10.3062 2 11.4175 2.83481 11.8293 4H22V6H11.8293C11.4175 7.16519 10.3062 8 9 8C7.69378 8 6.58254 7.16519 6.17071 6H2V4H6.17071ZM9 6C9.55228 6 10 5.55228 10 5C10 4.44772 9.55228 4 9 4C8.44772 4 8 4.44772 8 5C8 5.55228 8.44772 6 9 6ZM15 13C15.5523 13 16 12.5523 16 12C16 11.4477 15.5523 11 15 11C14.4477 11 14 11.4477 14 12C14 12.5523 14.4477 13 15 13ZM9 20C9.55228 20 10 19.5523 10 19C10 18.4477 9.55228 18 9 18C8.44772 18 8 18.4477 8 19C8 19.5523 8.44772 20 9 20Z" }, null, -1)
|
|
1050
1050
|
]));
|
|
1051
1051
|
}
|
|
1052
|
-
const
|
|
1053
|
-
var
|
|
1052
|
+
const G2 = /* @__PURE__ */ g(D2, [["render", U2]]);
|
|
1053
|
+
var K2 = {}, q2 = {
|
|
1054
1054
|
fill: "currentColor",
|
|
1055
1055
|
width: "24",
|
|
1056
1056
|
height: "24",
|
|
1057
1057
|
viewBox: "0 0 24 24"
|
|
1058
1058
|
};
|
|
1059
|
-
function
|
|
1060
|
-
return
|
|
1061
|
-
|
|
1059
|
+
function R2(t, e) {
|
|
1060
|
+
return r(), s("svg", q2, e[0] || (e[0] = [
|
|
1061
|
+
n("path", {
|
|
1062
1062
|
"fill-rule": "evenodd",
|
|
1063
1063
|
"clip-rule": "evenodd",
|
|
1064
1064
|
d: "M12 3.48154C7.29535 3.48154 3.48148 7.29541 3.48148 12.0001C3.48148 16.7047 7.29535 20.5186 12 20.5186C16.7046 20.5186 20.5185 16.7047 20.5185 12.0001C20.5185 7.29541 16.7046 3.48154 12 3.48154ZM2 12.0001C2 6.47721 6.47715 2.00006 12 2.00006C17.5228 2.00006 22 6.47721 22 12.0001C22 17.5229 17.5228 22.0001 12 22.0001C6.47715 22.0001 2 17.5229 2 12.0001Z"
|
|
1065
1065
|
}, null, -1),
|
|
1066
|
-
|
|
1066
|
+
n("path", { d: "M12 11.3C11.8616 11.3 11.7262 11.3411 11.6111 11.418C11.496 11.4949 11.4063 11.6042 11.3533 11.7321C11.3003 11.86 11.2864 12.0008 11.3134 12.1366C11.3405 12.2724 11.4071 12.3971 11.505 12.495C11.6029 12.5929 11.7277 12.6596 11.8634 12.6866C11.9992 12.7136 12.14 12.6997 12.2679 12.6467C12.3958 12.5937 12.5051 12.504 12.582 12.3889C12.6589 12.2738 12.7 12.1385 12.7 12C12.7 11.8144 12.6262 11.6363 12.495 11.505C12.3637 11.3738 12.1857 11.3 12 11.3ZM12.35 5.00002C15.5 5.00002 15.57 7.49902 13.911 8.32502C13.6028 8.50778 13.3403 8.75856 13.1438 9.05822C12.9473 9.35787 12.8218 9.69847 12.777 10.054C13.1117 10.1929 13.4073 10.4116 13.638 10.691C16.2 9.29102 19 9.84401 19 12.35C19 15.5 16.494 15.57 15.675 13.911C15.4869 13.6029 15.232 13.341 14.9291 13.1448C14.6262 12.9485 14.283 12.8228 13.925 12.777C13.7844 13.1108 13.566 13.406 13.288 13.638C14.688 16.221 14.128 19 11.622 19C8.5 19 8.423 16.494 10.082 15.668C10.3852 15.4828 10.644 15.2332 10.84 14.9368C11.036 14.6404 11.1644 14.3046 11.216 13.953C10.8729 13.8188 10.5711 13.5967 10.341 13.309C7.758 14.695 5 14.149 5 11.65C5 8.50002 7.478 8.42302 8.304 10.082C8.48945 10.3888 8.74199 10.6496 9.04265 10.8448C9.34332 11.0399 9.68431 11.1645 10.04 11.209C10.1748 10.8721 10.3971 10.5772 10.684 10.355C9.291 7.80001 9.844 5.00002 12.336 5.00002H12.35Z" }, null, -1)
|
|
1067
1067
|
]));
|
|
1068
1068
|
}
|
|
1069
|
-
const
|
|
1070
|
-
var
|
|
1069
|
+
const W2 = /* @__PURE__ */ g(K2, [["render", R2]]);
|
|
1070
|
+
var J2 = {}, Q2 = {
|
|
1071
1071
|
width: "24",
|
|
1072
1072
|
height: "24",
|
|
1073
1073
|
viewBox: "0 0 24 24",
|
|
1074
1074
|
fill: "none"
|
|
1075
1075
|
};
|
|
1076
|
-
function
|
|
1077
|
-
return
|
|
1078
|
-
|
|
1076
|
+
function X2(t, e) {
|
|
1077
|
+
return r(), s("svg", Q2, e[0] || (e[0] = [
|
|
1078
|
+
n("path", {
|
|
1079
1079
|
d: "M15 7V21M18 11H18.01M18 14H18.01M18 17H18.01M17 3L12 7L7 3M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V11.8C21 10.1198 21 9.27976 20.673 8.63803C20.3854 8.07354 19.9265 7.6146 19.362 7.32698C18.7202 7 17.8802 7 16.2 7H7.8C6.11984 7 5.27976 7 4.63803 7.32698C4.07354 7.6146 3.6146 8.07354 3.32698 8.63803C3 9.27976 3 10.1198 3 11.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z",
|
|
1080
1080
|
stroke: "currentColor",
|
|
1081
1081
|
"stroke-width": "2",
|
|
@@ -1084,68 +1084,57 @@ function N0(t, e) {
|
|
|
1084
1084
|
}, null, -1)
|
|
1085
1085
|
]));
|
|
1086
1086
|
}
|
|
1087
|
-
const
|
|
1088
|
-
var
|
|
1087
|
+
const Y2 = /* @__PURE__ */ g(J2, [["render", X2]]);
|
|
1088
|
+
var et = {}, tt = {
|
|
1089
1089
|
width: "24",
|
|
1090
1090
|
height: "24",
|
|
1091
1091
|
viewBox: "0 0 24 24",
|
|
1092
1092
|
fill: "currentColor"
|
|
1093
1093
|
};
|
|
1094
|
-
function
|
|
1095
|
-
return
|
|
1096
|
-
|
|
1097
|
-
|
|
1094
|
+
function nt(t, e) {
|
|
1095
|
+
return r(), s("svg", tt, e[0] || (e[0] = [
|
|
1096
|
+
n("path", { d: "M12 19C12.5523 19 13 18.5523 13 18C13 17.4477 12.5523 17 12 17C11.4477 17 11 17.4477 11 18C11 18.5523 11.4477 19 12 19Z" }, null, -1),
|
|
1097
|
+
n("path", {
|
|
1098
1098
|
"fill-rule": "evenodd",
|
|
1099
1099
|
"clip-rule": "evenodd",
|
|
1100
1100
|
d: "M15 13.9997C16.2144 14.9119 17 16.3642 17 18C17 20.7614 14.7614 23 12 23C9.23858 23 7 20.7614 7 18C7 16.3642 7.78555 14.9119 9 13.9997V4C9 2.34315 10.3431 1 12 1C13.6569 1 15 2.34315 15 4V13.9997ZM13 4V15.1707C14.1652 15.5826 15 16.6938 15 18C15 19.6569 13.6569 21 12 21C10.3431 21 9 19.6569 9 18C9 16.6938 9.83481 15.5826 11 15.1707V4C11 3.44772 11.4477 3 12 3C12.5523 3 13 3.44772 13 4Z"
|
|
1101
1101
|
}, null, -1)
|
|
1102
1102
|
]));
|
|
1103
1103
|
}
|
|
1104
|
-
const
|
|
1105
|
-
var
|
|
1106
|
-
width: "24",
|
|
1107
|
-
height: "24",
|
|
1108
|
-
viewBox: "0 0 1024 1024"
|
|
1109
|
-
};
|
|
1110
|
-
function U0(t, e) {
|
|
1111
|
-
return n(), a("svg", J0, e[0] || (e[0] = [
|
|
1112
|
-
G('<path d="M343.7 392c-84.3 55-140.1 150.1-140.1 258.3 0 170.2 138 308.2 308.2 308.2S820 820.5 820 650.3C820 542.1 764.3 447 679.9 392V230.1C679.9 137.2 604.6 62 511.8 62 419.2 62 343.7 137.2 343.7 230.1V392z" fill="#5E676F"></path><path d="M623.8 424.4c83 41.3 140.1 126.9 140.1 225.9 0 139.3-112.9 252.1-252.1 252.1S259.6 789.6 259.6 650.3c0-99 57.1-184.7 140.1-225.9V230.1c0-61.8 50.3-112 112.1-112 61.9 0 112.1 50.1 112.1 112v194.3h-0.1z" fill="#FFFFFF"></path><path d="M455.7 448.3c-81 24.1-140.1 99.1-140.1 188 0 108.3 87.8 196.1 196.1 196.1s196.1-87.8 196.1-196.1c0-88.8-59.1-163.9-140.1-188v-218c0-31.1-25.1-56.2-56-56.2-31.2 0-56 25.2-56 56.2v218z" fill="#5E676F"></path><path d="M539.8 470.5c79.5 13.3 140.1 82.5 140.1 165.8 0 92.8-75.3 168.1-168.1 168.1s-168.1-75.3-168.1-168.1c0-83.3 60.6-152.4 140.1-165.8V230.3c0-15.7 12.4-28.2 28-28.2 15.5 0 28 12.6 28 28.2v240.2z" fill="#FFFFFF"></path><path d="M539.8 734.4c0 14-28 14-28 14-61.9 0-112.1-50.2-112.1-112.1 0 0 0-28 14-28s14 17.6 14 28c0 28 42 84 84 84 19.9 0.1 28.1 0.1 28.1 14.1z" fill="#5E676F"></path>', 5)
|
|
1113
|
-
]));
|
|
1114
|
-
}
|
|
1115
|
-
const W0 = /* @__PURE__ */ f(K0, [["render", U0]]);
|
|
1116
|
-
var Q0 = {}, R0 = {
|
|
1104
|
+
const ot = /* @__PURE__ */ g(et, [["render", nt]]);
|
|
1105
|
+
var rt = {}, lt = {
|
|
1117
1106
|
width: "24",
|
|
1118
1107
|
height: "24",
|
|
1119
1108
|
viewBox: "0 0 24 24",
|
|
1120
1109
|
fill: "currentColor"
|
|
1121
1110
|
};
|
|
1122
|
-
function
|
|
1123
|
-
return
|
|
1124
|
-
|
|
1111
|
+
function at(t, e) {
|
|
1112
|
+
return r(), s("svg", lt, e[0] || (e[0] = [
|
|
1113
|
+
n("path", {
|
|
1125
1114
|
"fill-rule": "evenodd",
|
|
1126
1115
|
"clip-rule": "evenodd",
|
|
1127
1116
|
d: "M11.9426 1.25H12.0574C14.3658 1.24999 16.1748 1.24998 17.5863 1.43975C19.031 1.63399 20.1711 2.03933 21.0659 2.93414C21.9607 3.82895 22.366 4.96897 22.5603 6.41371C22.75 7.82519 22.75 9.63423 22.75 11.9426V12.0574C22.75 14.3658 22.75 16.1748 22.5603 17.5863C22.366 19.031 21.9607 20.1711 21.0659 21.0659C20.1711 21.9607 19.031 22.366 17.5863 22.5603C16.1748 22.75 14.3658 22.75 12.0574 22.75H11.9426C9.63423 22.75 7.82519 22.75 6.41371 22.5603C4.96897 22.366 3.82895 21.9607 2.93414 21.0659C2.03933 20.1711 1.63399 19.031 1.43975 17.5863C1.24998 16.1748 1.24999 14.3658 1.25 12.0574V11.9426C1.24999 9.63423 1.24998 7.82519 1.43975 6.41371C1.63399 4.96897 2.03933 3.82895 2.93414 2.93414C3.82895 2.03933 4.96897 1.63399 6.41371 1.43975C7.82519 1.24998 9.63423 1.24999 11.9426 1.25ZM6.61358 2.92637C5.33517 3.09825 4.56445 3.42514 3.9948 3.9948C3.42514 4.56445 3.09825 5.33517 2.92637 6.61358C2.75159 7.91356 2.75 9.62178 2.75 12C2.75 14.3782 2.75159 16.0864 2.92637 17.3864C3.09825 18.6648 3.42514 19.4355 3.9948 20.0052C4.56445 20.5749 5.33517 20.9018 6.61358 21.0736C7.91356 21.2484 9.62178 21.25 12 21.25C14.3782 21.25 16.0864 21.2484 17.3864 21.0736C18.6648 20.9018 19.4355 20.5749 20.0052 20.0052C20.5749 19.4355 20.9018 18.6648 21.0736 17.3864C21.2484 16.0864 21.25 14.3782 21.25 12C21.25 9.62178 21.2484 7.91356 21.0736 6.61358C20.9018 5.33517 20.5749 4.56445 20.0052 3.9948C19.4355 3.42514 18.6648 3.09825 17.3864 2.92637C16.0864 2.75159 14.3782 2.75 12 2.75C9.62178 2.75 7.91356 2.75159 6.61358 2.92637ZM11.25 6.80317C8.70578 7.16709 6.75 9.35515 6.75 12C6.75 14.6449 8.70578 16.8329 11.25 17.1968V16.4999C11.25 16.0857 11.5858 15.7499 12 15.7499C12.4142 15.7499 12.75 16.0857 12.75 16.4999V17.1968C15.2942 16.8329 17.25 14.6449 17.25 12C17.25 9.35515 15.2942 7.16709 12.75 6.80317V7.5C12.75 7.91421 12.4142 8.25 12 8.25C11.5858 8.25 11.25 7.91421 11.25 7.5V6.80317ZM5.25 12C5.25 8.27208 8.27208 5.25 12 5.25C15.7279 5.25 18.75 8.27208 18.75 12C18.75 15.7279 15.7279 18.75 12 18.75C8.27208 18.75 5.25 15.7279 5.25 12Z"
|
|
1128
1117
|
}, null, -1),
|
|
1129
|
-
|
|
1130
|
-
|
|
1118
|
+
n("path", { d: "M15 12C15 12.5523 14.5523 13 14 13C13.4477 13 13 12.5523 13 12C13 11.4477 13.4477 11 14 11C14.5523 11 15 11.4477 15 12Z" }, null, -1),
|
|
1119
|
+
n("path", { d: "M11 12C11 12.5523 10.5523 13 10 13C9.44772 13 9 12.5523 9 12C9 11.4477 9.44772 11 10 11C10.5523 11 11 11.4477 11 12Z" }, null, -1)
|
|
1131
1120
|
]));
|
|
1132
1121
|
}
|
|
1133
|
-
const
|
|
1134
|
-
var
|
|
1122
|
+
const st = /* @__PURE__ */ g(rt, [["render", at]]);
|
|
1123
|
+
var it = {}, ct = {
|
|
1135
1124
|
width: "24",
|
|
1136
1125
|
height: "24",
|
|
1137
1126
|
viewBox: "0 0 24 24",
|
|
1138
1127
|
fill: "none"
|
|
1139
1128
|
};
|
|
1140
|
-
function
|
|
1141
|
-
return
|
|
1142
|
-
|
|
1129
|
+
function ut(t, e) {
|
|
1130
|
+
return r(), s("svg", ct, e[0] || (e[0] = [
|
|
1131
|
+
n("path", {
|
|
1143
1132
|
d: "M8 7.52771C6.7725 8.62635 6 10.2229 6 11.9999C6 15.3136 8.68629 17.9999 12 17.9999C15.3137 17.9999 18 15.3136 18 11.9999C18 10.2229 17.2275 8.62635 16 7.52771",
|
|
1144
1133
|
stroke: "currentColor",
|
|
1145
1134
|
"stroke-width": "2",
|
|
1146
1135
|
"stroke-linecap": "round"
|
|
1147
1136
|
}, null, -1),
|
|
1148
|
-
|
|
1137
|
+
n("path", {
|
|
1149
1138
|
d: "M12 6V13",
|
|
1150
1139
|
stroke: "currentColor",
|
|
1151
1140
|
"stroke-width": "2",
|
|
@@ -1154,16 +1143,16 @@ function r5(t, e) {
|
|
|
1154
1143
|
}, null, -1)
|
|
1155
1144
|
]));
|
|
1156
1145
|
}
|
|
1157
|
-
const
|
|
1158
|
-
var
|
|
1146
|
+
const dt = /* @__PURE__ */ g(it, [["render", ut]]);
|
|
1147
|
+
var ft = {}, vt = {
|
|
1159
1148
|
width: "24",
|
|
1160
1149
|
height: "24",
|
|
1161
1150
|
viewBox: "0 0 24 24",
|
|
1162
1151
|
fill: "none"
|
|
1163
1152
|
};
|
|
1164
|
-
function
|
|
1165
|
-
return
|
|
1166
|
-
|
|
1153
|
+
function mt(t, e) {
|
|
1154
|
+
return r(), s("svg", vt, e[0] || (e[0] = [
|
|
1155
|
+
n("path", {
|
|
1167
1156
|
d: "M12 14.5V16.5M7 10.0288C7.47142 10 8.05259 10 8.8 10H15.2C15.9474 10 16.5286 10 17 10.0288M7 10.0288C6.41168 10.0647 5.99429 10.1455 5.63803 10.327C5.07354 10.6146 4.6146 11.0735 4.32698 11.638C4 12.2798 4 13.1198 4 14.8V16.2C4 17.8802 4 18.7202 4.32698 19.362C4.6146 19.9265 5.07354 20.3854 5.63803 20.673C6.27976 21 7.11984 21 8.8 21H15.2C16.8802 21 17.7202 21 18.362 20.673C18.9265 20.3854 19.3854 19.9265 19.673 19.362C20 18.7202 20 17.8802 20 16.2V14.8C20 13.1198 20 12.2798 19.673 11.638C19.3854 11.0735 18.9265 10.6146 18.362 10.327C18.0057 10.1455 17.5883 10.0647 17 10.0288M7 10.0288V8C7 5.23858 9.23858 3 12 3C14.7614 3 17 5.23858 17 8V10.0288",
|
|
1168
1157
|
stroke: "currentColor",
|
|
1169
1158
|
"stroke-width": "2",
|
|
@@ -1172,28 +1161,28 @@ function l5(t, e) {
|
|
|
1172
1161
|
}, null, -1)
|
|
1173
1162
|
]));
|
|
1174
1163
|
}
|
|
1175
|
-
const
|
|
1176
|
-
var
|
|
1164
|
+
const pt = /* @__PURE__ */ g(ft, [["render", mt]]);
|
|
1165
|
+
var Ct = {}, _t = {
|
|
1177
1166
|
fill: "currentColor",
|
|
1178
1167
|
width: "24",
|
|
1179
1168
|
height: "24",
|
|
1180
1169
|
viewBox: "0 0 24 24"
|
|
1181
1170
|
};
|
|
1182
|
-
function
|
|
1183
|
-
return
|
|
1184
|
-
|
|
1171
|
+
function ht(t, e) {
|
|
1172
|
+
return r(), s("svg", _t, e[0] || (e[0] = [
|
|
1173
|
+
n("path", { d: "M12,10h7L8,22l3-9H5L13,2Z" }, null, -1)
|
|
1185
1174
|
]));
|
|
1186
1175
|
}
|
|
1187
|
-
const
|
|
1188
|
-
var
|
|
1176
|
+
const gt = /* @__PURE__ */ g(Ct, [["render", ht]]);
|
|
1177
|
+
var yt = {}, bt = {
|
|
1189
1178
|
fill: "currentColor",
|
|
1190
1179
|
height: "24",
|
|
1191
1180
|
width: "24",
|
|
1192
1181
|
viewBox: "0 0 491.7 491.7"
|
|
1193
1182
|
};
|
|
1194
|
-
function
|
|
1195
|
-
return
|
|
1196
|
-
|
|
1183
|
+
function xt(t, e) {
|
|
1184
|
+
return r(), s("svg", bt, e[0] || (e[0] = [
|
|
1185
|
+
n("path", { d: `M471.1,368.65v-245.7c11.3,0,20.5-9.2,20.5-20.5c0-11.3-9.2-20.5-20.5-20.5h-1c-4.8-23.3-25.4-41-50.2-41\r
|
|
1197
1186
|
c-24.7,0-45.4,17.6-50.2,41h-22.6c-4.8-23.3-25.4-41-50.2-41c-24.7,0-45.4,17.6-50.2,41h-22.6c-4.8-23.3-25.4-41-50.2-41\r
|
|
1198
1187
|
c-24.7,0-45.4,17.6-50.2,41h-21.5v-61.4c0-11.3-9.2-20.5-20.5-20.5H20.5C9.2,0.05,0,9.25,0,20.55v450.6c0,11.3,9.2,20.5,20.5,20.5\r
|
|
1199
1188
|
h61.4c11.3,0,20.5-9.2,20.5-20.5v-61.4h21.5c4.8,23.3,25.4,41,50.2,41c24.7,0,45.4-17.6,50.2-41h22.5c4.8,23.3,25.4,41,50.2,41\r
|
|
@@ -1202,16 +1191,16 @@ function v5(t, e) {
|
|
|
1202
1191
|
h-20.5v-245.7h20.5V368.65z` }, null, -1)
|
|
1203
1192
|
]));
|
|
1204
1193
|
}
|
|
1205
|
-
const
|
|
1206
|
-
var
|
|
1194
|
+
const Vt = /* @__PURE__ */ g(yt, [["render", xt]]);
|
|
1195
|
+
var kt = {}, $t = {
|
|
1207
1196
|
width: "24",
|
|
1208
1197
|
height: "24",
|
|
1209
1198
|
viewBox: "0 0 24 24",
|
|
1210
1199
|
fill: "none"
|
|
1211
1200
|
};
|
|
1212
|
-
function
|
|
1213
|
-
return
|
|
1214
|
-
|
|
1201
|
+
function wt(t, e) {
|
|
1202
|
+
return r(), s("svg", $t, e[0] || (e[0] = [
|
|
1203
|
+
n("path", {
|
|
1215
1204
|
d: "M7 20H4.6C4.03995 20 3.75992 20 3.54601 19.891C3.35785 19.7951 3.20487 19.6422 3.10899 19.454C3 19.2401 3 18.9601 3 18.4V9.0398C3 8.66343 3 8.47524 3.05919 8.31095C3.1115 8.16573 3.19673 8.03458 3.30819 7.9278C3.43428 7.80699 3.60625 7.73056 3.95018 7.5777L12 4L20.0498 7.5777C20.3938 7.73056 20.5657 7.80699 20.6918 7.9278C20.8033 8.03458 20.8885 8.16573 20.9408 8.31095C21 8.47524 21 8.66343 21 9.0398V18.4C21 18.9601 21 19.2401 20.891 19.454C20.7951 19.6422 20.6422 19.7951 20.454 19.891C20.2401 20 19.9601 20 19.4 20H17M7 20H17M7 20V14M17 20V14M7 14V10H17V14M7 14H17",
|
|
1216
1205
|
stroke: "currentColor",
|
|
1217
1206
|
"stroke-width": "2",
|
|
@@ -1220,59 +1209,59 @@ function g5(t, e) {
|
|
|
1220
1209
|
}, null, -1)
|
|
1221
1210
|
]));
|
|
1222
1211
|
}
|
|
1223
|
-
const
|
|
1224
|
-
var
|
|
1212
|
+
const Mt = /* @__PURE__ */ g(kt, [["render", wt]]);
|
|
1213
|
+
var Ht = {}, Lt = {
|
|
1225
1214
|
width: "24",
|
|
1226
1215
|
height: "24",
|
|
1227
1216
|
viewBox: "0 0 1024 1024"
|
|
1228
1217
|
};
|
|
1229
|
-
function
|
|
1230
|
-
return
|
|
1231
|
-
|
|
1218
|
+
function Zt(t, e) {
|
|
1219
|
+
return r(), s("svg", Lt, e[0] || (e[0] = [
|
|
1220
|
+
n("path", {
|
|
1232
1221
|
d: "M166.5 608.4c0-180.9 153.4-261.1 317.8-528.9 14.4-19.9 43.2-19.9 58.4 1.5 164.6 268.7 317 346.8 317 527.4 0 191.4-155.2 346.6-346.6 346.6S166.5 799.8 166.5 608.4z",
|
|
1233
1222
|
fill: "#5E676F"
|
|
1234
1223
|
}, null, -1),
|
|
1235
|
-
|
|
1224
|
+
n("path", {
|
|
1236
1225
|
d: "M483.2 175.5c-65.9 84.8-214.1 292.7-217.5 298.2-28.6 46.5-41.5 86.8-41.5 134.6 0 159.5 129.3 288.8 288.8 288.8s288.8-129.3 288.8-288.8c0-47.8-12.8-87.9-41.3-134.1-2.5-4-151.4-213.3-217.2-298.6-15.9-20.8-43.9-20.8-60.1-0.1z",
|
|
1237
1226
|
fill: "#FFFFFF"
|
|
1238
1227
|
}, null, -1),
|
|
1239
|
-
|
|
1228
|
+
n("path", {
|
|
1240
1229
|
d: "M513.1 826.3c0 14.4-21.3 13.8-31 12.6-104.1-13.3-186.5-96-199.6-200.1-0.9-7.2-1.8-30.3 12.6-30.3s16.8 32.6 16.8 32.6c13.5 86.6 81.9 155 168.5 168.5 0.1-0.2 32.7 2.2 32.7 16.7z",
|
|
1241
1230
|
fill: "#5E676F"
|
|
1242
1231
|
}, null, -1)
|
|
1243
1232
|
]));
|
|
1244
1233
|
}
|
|
1245
|
-
const
|
|
1246
|
-
var
|
|
1234
|
+
const St = /* @__PURE__ */ g(Ht, [["render", Zt]]);
|
|
1235
|
+
var Bt = {}, It = {
|
|
1247
1236
|
width: "24",
|
|
1248
1237
|
height: "24",
|
|
1249
1238
|
viewBox: "0 0 1024 1024"
|
|
1250
1239
|
};
|
|
1251
|
-
function
|
|
1252
|
-
return
|
|
1253
|
-
|
|
1240
|
+
function zt(t, e) {
|
|
1241
|
+
return r(), s("svg", It, e[0] || (e[0] = [
|
|
1242
|
+
n("path", {
|
|
1254
1243
|
d: "M539.7 463.1V273.5l90.8-91.2c11-11 10.9-28.7 0-39.6-11-11-28.7-10.9-39.6 0L539.7 194V91.3c0-15.1-12.5-27.8-28-27.8-15.6 0-28 12.5-28 27.8V195L432.5 143.8c-10.9-10.9-28.6-11-39.6 0-10.9 10.9-11 28.6 0 39.6l90.8 91.2v188.6l-164.2-94.8L286 244.1c-4-15-19.4-23.8-34.3-19.8-15 4-23.8 19.4-19.8 34.3l18.7 70-88.9-51.4c-13.1-7.6-30.4-3-38.1 10.4-7.8 13.5-3.2 30.5 10.1 38.2l89.8 51.9-70 18.7c-14.9 4-23.8 19.3-19.8 34.3 4 14.9 19.3 23.8 34.3 19.8l124.4-33.1 163.3 94.3-164.2 94.8-124.4-33.1c-15-4-30.3 4.9-34.3 19.8-4 15 4.9 30.3 19.8 34.3l70 18.7-88.9 51.4c-13.1 7.6-17.8 24.8-10.1 38.2 7.8 13.5 24.8 18 38.1 10.4l89.8-51.9-18.7 70c-4 14.9 4.8 30.3 19.8 34.3 14.9 4 30.3-4.8 34.3-19.8l33.6-124.3 163.3-94.3v190.6l-90.8 93c-11 11-10.9 28.7 0 39.6 11 11 28.7 10.9 39.6 0l51.2-51.2v99.9c0 15.1 12.5 27.8 28 27.8 15.6 0 28-12.5 28-27.8v-101l51.2 51.2c10.9 10.9 28.6 11 39.6 0 10.9-10.9 11-28.6 0-39.6l-90.8-93V560.2l165.1 95.3L740 780.6c4 15 19.4 23.8 34.3 19.8 15-4 23.8-19.4 19.8-34.3l-18.7-70 86.6 50c13.1 7.6 30.4 3 38.1-10.4 7.8-13.5 3.2-30.5-10.1-38.2L802.6 647l70-18.7c14.9-4 23.8-19.3 19.8-34.3-4-14.9-19.3-23.8-34.3-19.8l-125.9 32.2L568 511.6l165.1-95.3L859 448.5c15 4 30.3-4.9 34.3-19.8 4-15-4.9-30.3-19.8-34.3l-70-18.7 86.6-50c13.1-7.6 17.8-24.8 10.1-38.2-7.8-13.5-24.8-18-38.1-10.4l-87.4 50.5 18.7-70c4-14.9-4.8-30.3-19.8-34.3-14.9-4-30.3 4.8-34.3 19.8l-35.1 125.1-164.5 94.9z",
|
|
1255
|
-
fill: "
|
|
1244
|
+
fill: "currentColor"
|
|
1256
1245
|
}, null, -1)
|
|
1257
1246
|
]));
|
|
1258
1247
|
}
|
|
1259
|
-
const
|
|
1260
|
-
var
|
|
1248
|
+
const At = /* @__PURE__ */ g(Bt, [["render", zt]]);
|
|
1249
|
+
var Ft = {}, Tt = {
|
|
1261
1250
|
width: "24",
|
|
1262
1251
|
height: "24",
|
|
1263
1252
|
viewBox: "0 0 24 24",
|
|
1264
1253
|
fill: "none"
|
|
1265
1254
|
};
|
|
1266
|
-
function
|
|
1267
|
-
return
|
|
1268
|
-
|
|
1255
|
+
function jt(t, e) {
|
|
1256
|
+
return r(), s("svg", Tt, e[0] || (e[0] = [
|
|
1257
|
+
n("path", {
|
|
1269
1258
|
d: "M12 16C13.6569 16 15 14.6569 15 13C15 11.3431 13.6569 10 12 10C10.3431 10 9 11.3431 9 13C9 14.6569 10.3431 16 12 16Z",
|
|
1270
1259
|
stroke: "currentColor",
|
|
1271
1260
|
"stroke-width": "2",
|
|
1272
1261
|
"stroke-linecap": "round",
|
|
1273
1262
|
"stroke-linejoin": "round"
|
|
1274
1263
|
}, null, -1),
|
|
1275
|
-
|
|
1264
|
+
n("path", {
|
|
1276
1265
|
d: "M3 16.8V9.2C3 8.0799 3 7.51984 3.21799 7.09202C3.40973 6.71569 3.71569 6.40973 4.09202 6.21799C4.51984 6 5.0799 6 6.2 6H7.25464C7.37758 6 7.43905 6 7.49576 5.9935C7.79166 5.95961 8.05705 5.79559 8.21969 5.54609C8.25086 5.49827 8.27836 5.44328 8.33333 5.33333C8.44329 5.11342 8.49827 5.00346 8.56062 4.90782C8.8859 4.40882 9.41668 4.08078 10.0085 4.01299C10.1219 4 10.2448 4 10.4907 4H13.5093C13.7552 4 13.8781 4 13.9915 4.01299C14.5833 4.08078 15.1141 4.40882 15.4394 4.90782C15.5017 5.00345 15.5567 5.11345 15.6667 5.33333C15.7216 5.44329 15.7491 5.49827 15.7803 5.54609C15.943 5.79559 16.2083 5.95961 16.5042 5.9935C16.561 6 16.6224 6 16.7454 6H17.8C18.9201 6 19.4802 6 19.908 6.21799C20.2843 6.40973 20.5903 6.71569 20.782 7.09202C21 7.51984 21 8.0799 21 9.2V16.8C21 17.9201 21 18.4802 20.782 18.908C20.5903 19.2843 20.2843 19.5903 19.908 19.782C19.4802 20 18.9201 20 17.8 20H6.2C5.0799 20 4.51984 20 4.09202 19.782C3.71569 19.5903 3.40973 19.2843 3.21799 18.908C3 18.4802 3 17.9201 3 16.8Z",
|
|
1277
1266
|
stroke: "currentColor",
|
|
1278
1267
|
"stroke-width": "2",
|
|
@@ -1281,16 +1270,16 @@ function Z5(t, e) {
|
|
|
1281
1270
|
}, null, -1)
|
|
1282
1271
|
]));
|
|
1283
1272
|
}
|
|
1284
|
-
const
|
|
1285
|
-
var
|
|
1273
|
+
const Ot = /* @__PURE__ */ g(Ft, [["render", jt]]);
|
|
1274
|
+
var Nt = {}, Et = {
|
|
1286
1275
|
fill: "currentColor",
|
|
1287
1276
|
width: "24",
|
|
1288
1277
|
height: "24",
|
|
1289
1278
|
viewBox: "-2 0 15.998 15.998"
|
|
1290
1279
|
};
|
|
1291
|
-
function
|
|
1292
|
-
return
|
|
1293
|
-
|
|
1280
|
+
function Dt(t, e) {
|
|
1281
|
+
return r(), s("svg", Et, e[0] || (e[0] = [
|
|
1282
|
+
n("path", {
|
|
1294
1283
|
id: "Path_81",
|
|
1295
1284
|
"data-name": "Path 81",
|
|
1296
1285
|
d: "M-10.217,1.343A6.039,6.039,0,0,0-15.284.134a5.979,5.979,0,0,0-4.6,4.673A5.967,5.967,0,0,0-18,10.472V10.5a2.488,2.488,0,0,0,1,1.989l0,.011v1A1.5,1.5,0,0,0-15.5,15h.355A1.168,1.168,0,0,0-14,16a1.168,1.168,0,0,0,1.145-1h.355A1.5,1.5,0,0,0-11,13.5v-1l0-.011A2.488,2.488,0,0,0-10,10.5v-.028A5.982,5.982,0,0,0-8,6,5.979,5.979,0,0,0-10.217,1.343ZM-12,13v.5a.5.5,0,0,1-.5.5h-3a.5.5,0,0,1-.5-.5V13h4Zm1.182-3.143a.5.5,0,0,0-.182.386V10.5A1.5,1.5,0,0,1-12.5,12h-3A1.5,1.5,0,0,1-17,10.5v-.257a.5.5,0,0,0-.182-.386A4.981,4.981,0,0,1-18.9,5a4.968,4.968,0,0,1,3.821-3.884A5.267,5.267,0,0,1-14.012,1a5,5,0,0,1,3.164,1.117A4.983,4.983,0,0,1-9,6,4.988,4.988,0,0,1-10.818,9.857ZM-13.5,3.5A.5.5,0,0,1-14,4a2,2,0,0,0-2,2,.5.5,0,0,1-.5.5A.5.5,0,0,1-17,6a3,3,0,0,1,3-3A.5.5,0,0,1-13.5,3.5Z",
|
|
@@ -1298,96 +1287,887 @@ function z5(t, e) {
|
|
|
1298
1287
|
}, null, -1)
|
|
1299
1288
|
]));
|
|
1300
1289
|
}
|
|
1301
|
-
const
|
|
1302
|
-
var
|
|
1290
|
+
const Pt = /* @__PURE__ */ g(Nt, [["render", Dt]]);
|
|
1291
|
+
var Ut = {}, Gt = {
|
|
1303
1292
|
fill: "currentColor",
|
|
1304
1293
|
width: "24",
|
|
1305
1294
|
height: "24",
|
|
1306
1295
|
viewBox: "0 0 24 24"
|
|
1307
1296
|
};
|
|
1308
|
-
function
|
|
1309
|
-
return
|
|
1310
|
-
|
|
1297
|
+
function Kt(t, e) {
|
|
1298
|
+
return r(), s("svg", Gt, e[0] || (e[0] = [
|
|
1299
|
+
n("path", { d: "M21,3H3A2,2,0,0,0,1,5v7a2,2,0,0,0,2,2H21a2,2,0,0,0,2-2V5A2,2,0,0,0,21,3Zm0,9H3V5H21ZM5,10A1,1,0,0,1,6,9H18a1,1,0,0,1,0,2H6A1,1,0,0,1,5,10ZM16,7a1,1,0,0,1,1-1h1a1,1,0,0,1,0,2H17A1,1,0,0,1,16,7ZM9.793,20.293,11.086,19l-.293-.293a1,1,0,0,1,0-1.414l2-2a1,1,0,0,1,1.414,1.414L12.914,18l.293.293a1,1,0,0,1,0,1.414l-2,2a1,1,0,0,1-1.414-1.414Zm5.5,0L16.586,19l-.293-.293a1,1,0,0,1,0-1.414l2-2a1,1,0,0,1,1.414,1.414L18.414,18l.293.293a1,1,0,0,1,0,1.414l-2,2a1,1,0,0,1-1.414-1.414Zm-11,0L5.586,19l-.293-.293a1,1,0,0,1,0-1.414l2-2a1,1,0,0,1,1.414,1.414L7.414,18l.293.293a1,1,0,0,1,0,1.414l-2,2a1,1,0,0,1-1.414-1.414Z" }, null, -1)
|
|
1311
1300
|
]));
|
|
1312
1301
|
}
|
|
1313
|
-
const
|
|
1302
|
+
const qt = /* @__PURE__ */ g(Ut, [["render", Kt]]), Rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1314
1303
|
__proto__: null,
|
|
1315
|
-
IconAir:
|
|
1316
|
-
IconBulb:
|
|
1317
|
-
IconBurger:
|
|
1318
|
-
IconCamera:
|
|
1319
|
-
IconChevron:
|
|
1320
|
-
IconClose:
|
|
1321
|
-
IconCold:
|
|
1322
|
-
IconDashboard:
|
|
1323
|
-
IconDevice:
|
|
1324
|
-
IconDots:
|
|
1325
|
-
IconDrop:
|
|
1326
|
-
IconEyeClose:
|
|
1327
|
-
IconEyeOpen:
|
|
1328
|
-
IconFile:
|
|
1329
|
-
IconFolder:
|
|
1330
|
-
IconGarage:
|
|
1331
|
-
IconGpio:
|
|
1332
|
-
IconHeater:
|
|
1333
|
-
IconLight:
|
|
1334
|
-
IconLock:
|
|
1335
|
-
IconLogo:
|
|
1336
|
-
IconLogoMini:
|
|
1337
|
-
IconLogout:
|
|
1338
|
-
IconNoti:
|
|
1339
|
-
IconPower:
|
|
1340
|
-
IconSave:
|
|
1341
|
-
IconSearch:
|
|
1342
|
-
IconSetting:
|
|
1343
|
-
IconSocket:
|
|
1344
|
-
IconStore:
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
}, Symbol.toStringTag, { value: "Module" })), T5 = {
|
|
1304
|
+
IconAir: qt,
|
|
1305
|
+
IconBulb: Pt,
|
|
1306
|
+
IconBurger: ke,
|
|
1307
|
+
IconCamera: Ot,
|
|
1308
|
+
IconChevron: N,
|
|
1309
|
+
IconClose: t1,
|
|
1310
|
+
IconCold: At,
|
|
1311
|
+
IconDashboard: He,
|
|
1312
|
+
IconDevice: Be,
|
|
1313
|
+
IconDots: Fe,
|
|
1314
|
+
IconDrop: St,
|
|
1315
|
+
IconEyeClose: Ne,
|
|
1316
|
+
IconEyeOpen: Ue,
|
|
1317
|
+
IconFile: Re,
|
|
1318
|
+
IconFolder: Xe,
|
|
1319
|
+
IconGarage: Mt,
|
|
1320
|
+
IconGpio: T2,
|
|
1321
|
+
IconHeater: Vt,
|
|
1322
|
+
IconLight: gt,
|
|
1323
|
+
IconLock: pt,
|
|
1324
|
+
IconLogo: l2,
|
|
1325
|
+
IconLogoMini: c2,
|
|
1326
|
+
IconLogout: v2,
|
|
1327
|
+
IconNoti: _2,
|
|
1328
|
+
IconPower: dt,
|
|
1329
|
+
IconSave: b2,
|
|
1330
|
+
IconSearch: $2,
|
|
1331
|
+
IconSetting: G2,
|
|
1332
|
+
IconSocket: st,
|
|
1333
|
+
IconStore: E2,
|
|
1334
|
+
IconTheme: t2,
|
|
1335
|
+
IconTherm: ot,
|
|
1336
|
+
IconTv: Y2,
|
|
1337
|
+
IconUpdate: L2,
|
|
1338
|
+
IconVent: W2,
|
|
1339
|
+
IconVideo: I2
|
|
1340
|
+
}, Symbol.toStringTag, { value: "Module" })), Wt = {
|
|
1353
1341
|
key: 0,
|
|
1354
1342
|
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]"
|
|
1355
|
-
},
|
|
1343
|
+
}, Jt = {
|
|
1356
1344
|
key: 1,
|
|
1357
1345
|
class: "absolute top-0 left-0 w-full h-full bg-gray-50 dark:bg-gray-900 z-10 opacity-50"
|
|
1358
|
-
},
|
|
1346
|
+
}, Qt = { class: "mb-6 flex items-center justify-between" }, Xt = { class: "text-lg font-semibold text-gray-800 dark:text-white/90" }, Yt = { class: "max-w-full" }, e0 = /* @__PURE__ */ H({
|
|
1359
1347
|
__name: "VCardGray",
|
|
1360
1348
|
props: {
|
|
1361
1349
|
title: { default: "Title" },
|
|
1362
1350
|
loading: { type: Boolean }
|
|
1363
1351
|
},
|
|
1364
1352
|
setup(t) {
|
|
1365
|
-
return (e,
|
|
1366
|
-
class:
|
|
1353
|
+
return (e, i) => (r(), s("div", {
|
|
1354
|
+
class: w(["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 }])
|
|
1367
1355
|
}, [
|
|
1368
|
-
e.loading ? (
|
|
1369
|
-
e.loading ? (
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1356
|
+
e.loading ? (r(), s("div", Wt)) : L("", !0),
|
|
1357
|
+
e.loading ? (r(), s("div", Jt)) : L("", !0),
|
|
1358
|
+
n("div", Qt, [
|
|
1359
|
+
n("h3", Xt, V(e.title), 1),
|
|
1360
|
+
n("div", null, [
|
|
1361
|
+
b(e.$slots, "header")
|
|
1374
1362
|
])
|
|
1375
1363
|
]),
|
|
1376
|
-
|
|
1377
|
-
|
|
1364
|
+
n("div", Yt, [
|
|
1365
|
+
b(e.$slots, "default")
|
|
1378
1366
|
])
|
|
1379
1367
|
], 2));
|
|
1380
1368
|
}
|
|
1381
|
-
}),
|
|
1369
|
+
}), t0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1370
|
+
__proto__: null,
|
|
1371
|
+
VCardGray: e0
|
|
1372
|
+
}, Symbol.toStringTag, { value: "Module" })), n0 = { class: "flex-auto flex align-center p-4" }, o0 = { class: "flex items-center justify-between px-4 py-2 border-b dark:border-gray-700 border-gray-200" }, r0 = { class: "px-4 py-2 flex-auto scroll-none" }, l0 = ["innerHTML"], a0 = {
|
|
1373
|
+
key: 0,
|
|
1374
|
+
class: "px-4 py-2 flex justify-end"
|
|
1375
|
+
}, n1 = /* @__PURE__ */ H({
|
|
1376
|
+
__name: "AppDialog",
|
|
1377
|
+
props: {
|
|
1378
|
+
value: { type: Boolean },
|
|
1379
|
+
title: { default: "Attention !" },
|
|
1380
|
+
message: { default: "" },
|
|
1381
|
+
callback: { type: Function },
|
|
1382
|
+
button: { default: "OK" },
|
|
1383
|
+
size: { default: "sm" }
|
|
1384
|
+
},
|
|
1385
|
+
emits: ["close"],
|
|
1386
|
+
setup(t, { emit: e }) {
|
|
1387
|
+
const i = e, o = B(!1), a = { sm: "max-w-[330px]", md: "max-w-[600px]", lg: "max-w-[960px]" }, l = M(() => [`${a?.[t.size] || ""}`]), u = (c) => {
|
|
1388
|
+
o.value = !1, setTimeout(() => {
|
|
1389
|
+
i("close", c);
|
|
1390
|
+
}, 300);
|
|
1391
|
+
}, f = (c) => {
|
|
1392
|
+
t.callback && t.callback(), u(c);
|
|
1393
|
+
};
|
|
1394
|
+
return U(() => {
|
|
1395
|
+
setTimeout(() => {
|
|
1396
|
+
o.value = !0;
|
|
1397
|
+
}, 300);
|
|
1398
|
+
}), (c, d) => {
|
|
1399
|
+
const v = x("icon-close"), C = x("v-button");
|
|
1400
|
+
return r(), $(u1, { to: "body" }, [
|
|
1401
|
+
p(Y, {
|
|
1402
|
+
"enter-active-class": "duration-300 ease-out",
|
|
1403
|
+
"enter-from-class": "transform opacity-0 -translate-y-2",
|
|
1404
|
+
"enter-to-class": "opacity-100 translate-y-0",
|
|
1405
|
+
"leave-active-class": "duration-200 ease-in",
|
|
1406
|
+
"leave-from-class": "opacity-100 translate-y-0",
|
|
1407
|
+
"leave-to-class": "transform opacity-0 -translate-y-2"
|
|
1408
|
+
}, {
|
|
1409
|
+
default: h(() => [
|
|
1410
|
+
o.value ? (r(), s("div", {
|
|
1411
|
+
key: 0,
|
|
1412
|
+
class: "z-20 fixed top-0 h-[100dvh] w-full left-0 flex flex-col",
|
|
1413
|
+
onWheel: d[0] || (d[0] = j(() => {
|
|
1414
|
+
}, ["stop"]))
|
|
1415
|
+
}, [
|
|
1416
|
+
n("div", {
|
|
1417
|
+
class: "absolute h-full w-full top-0 left-0 bg-black/60",
|
|
1418
|
+
onClick: u
|
|
1419
|
+
}),
|
|
1420
|
+
n("div", n0, [
|
|
1421
|
+
n("div", {
|
|
1422
|
+
class: w(["m-auto w-full bg-white dark:bg-gray-900 shadow-lg flex flex-col rounded-lg z-30", l.value])
|
|
1423
|
+
}, [
|
|
1424
|
+
n("div", o0, [
|
|
1425
|
+
b(c.$slots, "header", {}, () => [
|
|
1426
|
+
n("h4", null, V(c.title), 1)
|
|
1427
|
+
]),
|
|
1428
|
+
p(C, {
|
|
1429
|
+
type: "icon",
|
|
1430
|
+
size: "",
|
|
1431
|
+
onClick: u
|
|
1432
|
+
}, {
|
|
1433
|
+
default: h(() => [
|
|
1434
|
+
p(v, { class: "h-5 w-5" })
|
|
1435
|
+
]),
|
|
1436
|
+
_: 1
|
|
1437
|
+
})
|
|
1438
|
+
]),
|
|
1439
|
+
n("div", r0, [
|
|
1440
|
+
b(c.$slots, "default", {}, () => [
|
|
1441
|
+
n("div", { innerHTML: c.message }, null, 8, l0)
|
|
1442
|
+
])
|
|
1443
|
+
]),
|
|
1444
|
+
c.$slots.footer || c.callback ? (r(), s("div", a0, [
|
|
1445
|
+
b(c.$slots, "footer", {}, () => [
|
|
1446
|
+
p(C, {
|
|
1447
|
+
color: "blue",
|
|
1448
|
+
size: "small",
|
|
1449
|
+
onClick: f
|
|
1450
|
+
}, {
|
|
1451
|
+
default: h(() => [
|
|
1452
|
+
z(V(c.button), 1)
|
|
1453
|
+
]),
|
|
1454
|
+
_: 1
|
|
1455
|
+
})
|
|
1456
|
+
])
|
|
1457
|
+
])) : L("", !0)
|
|
1458
|
+
], 2)
|
|
1459
|
+
])
|
|
1460
|
+
], 32)) : L("", !0)
|
|
1461
|
+
]),
|
|
1462
|
+
_: 3
|
|
1463
|
+
})
|
|
1464
|
+
]);
|
|
1465
|
+
};
|
|
1466
|
+
}
|
|
1467
|
+
}), s0 = { class: "flex-auto flex justify-between" }, i0 = { class: "text-sm text-gray-500 font-medium text-ellipsis overflow-hidden text-nowrap" }, c0 = { class: "text-sm text-ellipsis overflow-hidden text-nowrap" }, u0 = { class: "flex-auto flex items-center justify-between gap-6 me-2" }, d0 = { class: "min-h-60 relative" }, f0 = { class: "pt-6" }, v0 = { class: "text-center text-3xl text-ellipsis overflow-hidden" }, m0 = { class: "text-center text-xl mt-4" }, T = /* @__PURE__ */ H({
|
|
1468
|
+
__name: "CardBase",
|
|
1469
|
+
props: {
|
|
1470
|
+
id: {},
|
|
1471
|
+
name: {},
|
|
1472
|
+
keyValue: {},
|
|
1473
|
+
type: {},
|
|
1474
|
+
icon: {},
|
|
1475
|
+
value: {},
|
|
1476
|
+
min: {},
|
|
1477
|
+
max: {},
|
|
1478
|
+
get: { type: Function },
|
|
1479
|
+
set: { type: Function },
|
|
1480
|
+
modifyValue: { type: Function },
|
|
1481
|
+
getItem: { type: Function },
|
|
1482
|
+
setItem: { type: Function }
|
|
1483
|
+
},
|
|
1484
|
+
emits: ["edit"],
|
|
1485
|
+
setup(t, { emit: e }) {
|
|
1486
|
+
const i = B(!1), o = e, a = M(() => t.icon ? `icon-${t.icon}` : "icon-therm"), l = M(() => ["button", "switch"].includes(t.type || "") ? t.value ? "text-gray-400" : "text-amber-500" : "text-gray-400"), u = (v) => o("edit", v), f = () => i.value = !0, c = (v) => t.modifyValue?.(v) || v, d = M(() => ({
|
|
1487
|
+
value: t.value,
|
|
1488
|
+
name: t.name,
|
|
1489
|
+
min: t.min,
|
|
1490
|
+
max: t.max,
|
|
1491
|
+
modify: c(t.value),
|
|
1492
|
+
icon: a.value
|
|
1493
|
+
}));
|
|
1494
|
+
return (v, C) => {
|
|
1495
|
+
const y = x("icon-dots"), _ = x("v-button");
|
|
1496
|
+
return r(), s("div", {
|
|
1497
|
+
class: "flex flex-col border aspect-square rounded-sm bg-white dark:bg-gray-900 border-b border-gray-300 dark:border-gray-700 p-2 hover:border-blue-400 dark:hover:border-blue-700 transition-all",
|
|
1498
|
+
onClick: f
|
|
1499
|
+
}, [
|
|
1500
|
+
n("div", s0, [
|
|
1501
|
+
n("div", {
|
|
1502
|
+
class: w(l.value)
|
|
1503
|
+
}, [
|
|
1504
|
+
(r(), $(P(a.value), { class: "size-8" }))
|
|
1505
|
+
], 2),
|
|
1506
|
+
b(v.$slots, "header", G(K(d.value)))
|
|
1507
|
+
]),
|
|
1508
|
+
n("div", null, [
|
|
1509
|
+
n("h6", i0, V(v.name), 1),
|
|
1510
|
+
n("div", c0, V(c(v.value)), 1)
|
|
1511
|
+
]),
|
|
1512
|
+
i.value ? (r(), $(n1, {
|
|
1513
|
+
key: 0,
|
|
1514
|
+
size: "sm",
|
|
1515
|
+
title: v.name,
|
|
1516
|
+
onClose: C[0] || (C[0] = (Z) => i.value = !1)
|
|
1517
|
+
}, {
|
|
1518
|
+
header: h(() => [
|
|
1519
|
+
n("div", u0, [
|
|
1520
|
+
p(_, {
|
|
1521
|
+
type: "icon",
|
|
1522
|
+
size: "",
|
|
1523
|
+
onClick: u
|
|
1524
|
+
}, {
|
|
1525
|
+
default: h(() => [
|
|
1526
|
+
p(y)
|
|
1527
|
+
]),
|
|
1528
|
+
_: 1
|
|
1529
|
+
})
|
|
1530
|
+
])
|
|
1531
|
+
]),
|
|
1532
|
+
default: h(() => [
|
|
1533
|
+
n("div", d0, [
|
|
1534
|
+
n("div", f0, [
|
|
1535
|
+
n("h3", v0, V(v.name), 1),
|
|
1536
|
+
b(v.$slots, "dialog", G(K(d.value))),
|
|
1537
|
+
n("p", m0, V(c(v.value)), 1)
|
|
1538
|
+
])
|
|
1539
|
+
])
|
|
1540
|
+
]),
|
|
1541
|
+
_: 3
|
|
1542
|
+
}, 8, ["title"])) : L("", !0)
|
|
1543
|
+
]);
|
|
1544
|
+
};
|
|
1545
|
+
}
|
|
1546
|
+
}), p0 = { class: "flex justify-end" }, C0 = { class: "flex justify-center py-4" }, _0 = /* @__PURE__ */ H({
|
|
1547
|
+
__name: "CardButton",
|
|
1548
|
+
props: {
|
|
1549
|
+
id: {},
|
|
1550
|
+
name: {},
|
|
1551
|
+
keyValue: {},
|
|
1552
|
+
type: {},
|
|
1553
|
+
icon: {},
|
|
1554
|
+
value: {},
|
|
1555
|
+
min: {},
|
|
1556
|
+
max: {},
|
|
1557
|
+
get: { type: Function },
|
|
1558
|
+
set: { type: Function },
|
|
1559
|
+
modifyValue: { type: Function },
|
|
1560
|
+
getItem: { type: Function },
|
|
1561
|
+
setItem: { type: Function }
|
|
1562
|
+
},
|
|
1563
|
+
emits: ["click", "setState"],
|
|
1564
|
+
setup(t, { emit: e }) {
|
|
1565
|
+
const i = e, o = t, a = (u) => i("click", u), l = () => i("setState", { ...o, value: !o.value });
|
|
1566
|
+
return (u, f) => {
|
|
1567
|
+
const c = x("icon-power"), d = x("v-button");
|
|
1568
|
+
return r(), $(T, I(o, { onClick: a }), {
|
|
1569
|
+
header: h(() => [
|
|
1570
|
+
n("div", p0, [
|
|
1571
|
+
p(d, {
|
|
1572
|
+
type: "icon",
|
|
1573
|
+
size: "sm",
|
|
1574
|
+
class: "text-gray-500",
|
|
1575
|
+
onClick: j(l, ["stop"])
|
|
1576
|
+
}, {
|
|
1577
|
+
default: h(() => [
|
|
1578
|
+
p(c, { class: "size-10" })
|
|
1579
|
+
]),
|
|
1580
|
+
_: 1
|
|
1581
|
+
})
|
|
1582
|
+
])
|
|
1583
|
+
]),
|
|
1584
|
+
dialog: h(() => [
|
|
1585
|
+
n("div", C0, [
|
|
1586
|
+
p(d, {
|
|
1587
|
+
type: "icon",
|
|
1588
|
+
size: "sm",
|
|
1589
|
+
class: w(["h-18 w-18", o.value ? "text-blue-600 dark:text-blue-400" : "text-amber-500"]),
|
|
1590
|
+
onClick: j(l, ["stop"])
|
|
1591
|
+
}, {
|
|
1592
|
+
default: h(() => [
|
|
1593
|
+
p(c, { class: "size-16" })
|
|
1594
|
+
]),
|
|
1595
|
+
_: 1
|
|
1596
|
+
}, 8, ["class"])
|
|
1597
|
+
])
|
|
1598
|
+
]),
|
|
1599
|
+
_: 1
|
|
1600
|
+
}, 16);
|
|
1601
|
+
};
|
|
1602
|
+
}
|
|
1603
|
+
}), h0 = { class: "flex justify-center relative mx-2 my-6" }, g0 = /* @__PURE__ */ H({
|
|
1604
|
+
__name: "CardDate",
|
|
1605
|
+
props: {
|
|
1606
|
+
id: {},
|
|
1607
|
+
name: {},
|
|
1608
|
+
keyValue: {},
|
|
1609
|
+
type: {},
|
|
1610
|
+
icon: {},
|
|
1611
|
+
value: {},
|
|
1612
|
+
min: {},
|
|
1613
|
+
max: {},
|
|
1614
|
+
get: { type: Function },
|
|
1615
|
+
set: { type: Function },
|
|
1616
|
+
modifyValue: { type: Function },
|
|
1617
|
+
getItem: { type: Function },
|
|
1618
|
+
setItem: { type: Function }
|
|
1619
|
+
},
|
|
1620
|
+
emits: ["click", "setState"],
|
|
1621
|
+
setup(t, { emit: e }) {
|
|
1622
|
+
const i = e, o = t, a = (f) => new Date(f * 1e3).toISOString().slice(0, 16), l = (f) => {
|
|
1623
|
+
const c = f?.target?.valueAsNumber;
|
|
1624
|
+
console.log(c), c && i("setState", { ...o, value: c / 1e3 });
|
|
1625
|
+
}, u = (f) => i("click", f);
|
|
1626
|
+
return (f, c) => {
|
|
1627
|
+
const d = x("v-text-field");
|
|
1628
|
+
return r(), $(T, I(o, { onClick: u }), {
|
|
1629
|
+
dialog: h(({ value: v }) => [
|
|
1630
|
+
n("div", h0, [
|
|
1631
|
+
p(d, {
|
|
1632
|
+
modelValue: a(v),
|
|
1633
|
+
type: "datetime-local",
|
|
1634
|
+
label: "Date",
|
|
1635
|
+
onChange: l
|
|
1636
|
+
}, null, 8, ["modelValue"])
|
|
1637
|
+
])
|
|
1638
|
+
]),
|
|
1639
|
+
_: 1
|
|
1640
|
+
}, 16);
|
|
1641
|
+
};
|
|
1642
|
+
}
|
|
1643
|
+
}), y0 = { class: "flex justify-end" }, b0 = {
|
|
1644
|
+
width: "32",
|
|
1645
|
+
height: "32",
|
|
1646
|
+
viewBox: "-7.5 -7.5 75 75",
|
|
1647
|
+
version: "1.1",
|
|
1648
|
+
style: { transform: "rotate(-90deg)" }
|
|
1649
|
+
}, x0 = ["stroke-dashoffset"], V0 = { class: "flex justify-center relative mx-2 my-6" }, k0 = { class: "absolute top-1/2 left-1/2 -translate-1/2 text-white z-10 font-bold text-xl" }, $0 = ["min", "max", "value"], w0 = /* @__PURE__ */ H({
|
|
1650
|
+
__name: "CardDimmer",
|
|
1651
|
+
props: {
|
|
1652
|
+
id: {},
|
|
1653
|
+
name: {},
|
|
1654
|
+
keyValue: {},
|
|
1655
|
+
type: {},
|
|
1656
|
+
icon: {},
|
|
1657
|
+
value: {},
|
|
1658
|
+
min: {},
|
|
1659
|
+
max: {},
|
|
1660
|
+
get: { type: Function },
|
|
1661
|
+
set: { type: Function },
|
|
1662
|
+
modifyValue: { type: Function },
|
|
1663
|
+
getItem: { type: Function },
|
|
1664
|
+
setItem: { type: Function }
|
|
1665
|
+
},
|
|
1666
|
+
emits: ["click", "setState"],
|
|
1667
|
+
setup(t, { emit: e }) {
|
|
1668
|
+
const i = e, o = t, a = (c, d) => Math.round(100 * c / d), l = (c, d) => Math.round(187 - c / d * 187), u = (c) => i("click", c), f = (c) => {
|
|
1669
|
+
const d = +c?.target?.value || 0;
|
|
1670
|
+
i("setState", { ...o, value: d });
|
|
1671
|
+
};
|
|
1672
|
+
return (c, d) => (r(), $(T, I(o, { onClick: u }), {
|
|
1673
|
+
header: h(({ value: v, max: C }) => [
|
|
1674
|
+
n("div", y0, [
|
|
1675
|
+
n("div", {
|
|
1676
|
+
class: w(["", "text-blue-600 dark:text-blue-400"])
|
|
1677
|
+
}, [
|
|
1678
|
+
(r(), s("svg", b0, [
|
|
1679
|
+
d[0] || (d[0] = n("circle", {
|
|
1680
|
+
class: "stroke-gray-300 dark:stroke-gray-700",
|
|
1681
|
+
r: "30",
|
|
1682
|
+
cx: "30",
|
|
1683
|
+
cy: "30",
|
|
1684
|
+
fill: "transparent",
|
|
1685
|
+
"stroke-width": "10"
|
|
1686
|
+
}, null, -1)),
|
|
1687
|
+
n("circle", {
|
|
1688
|
+
r: "30",
|
|
1689
|
+
cx: "30",
|
|
1690
|
+
cy: "30",
|
|
1691
|
+
stroke: "currentColor",
|
|
1692
|
+
"stroke-width": "8",
|
|
1693
|
+
"stroke-linecap": "butt",
|
|
1694
|
+
"stroke-dashoffset": l(v, C || 0),
|
|
1695
|
+
fill: "transparent",
|
|
1696
|
+
"stroke-dasharray": "187"
|
|
1697
|
+
}, null, 8, x0)
|
|
1698
|
+
]))
|
|
1699
|
+
])
|
|
1700
|
+
])
|
|
1701
|
+
]),
|
|
1702
|
+
dialog: h(({ min: v = 0, max: C = 255, value: y }) => [
|
|
1703
|
+
n("div", V0, [
|
|
1704
|
+
d[1] || (d[1] = n("div", { class: "absolute h-10 w-full top-0 left-0 bg-gray-400 dark:bg-gray-800 z-0 rounded-md" }, null, -1)),
|
|
1705
|
+
n("div", {
|
|
1706
|
+
class: "absolute h-10 top-0 left-0 bg-blue-600 dark:bg-blue-400 z-0 rounded-md",
|
|
1707
|
+
style: D(`width: ${a(y, C)}%`)
|
|
1708
|
+
}, null, 4),
|
|
1709
|
+
n("div", k0, V(a(y, C)) + " %", 1),
|
|
1710
|
+
n("input", {
|
|
1711
|
+
type: "range",
|
|
1712
|
+
min: v,
|
|
1713
|
+
max: C,
|
|
1714
|
+
value: y,
|
|
1715
|
+
step: "1",
|
|
1716
|
+
class: "w-full h-10 z-10 appearance-none cursor-pointer opacity-0",
|
|
1717
|
+
onChange: f
|
|
1718
|
+
}, null, 40, $0)
|
|
1719
|
+
])
|
|
1720
|
+
]),
|
|
1721
|
+
_: 1
|
|
1722
|
+
}, 16));
|
|
1723
|
+
}
|
|
1724
|
+
}), M0 = /* @__PURE__ */ H({
|
|
1725
|
+
__name: "CardInfo",
|
|
1726
|
+
props: {
|
|
1727
|
+
id: {},
|
|
1728
|
+
name: {},
|
|
1729
|
+
keyValue: {},
|
|
1730
|
+
type: {},
|
|
1731
|
+
icon: {},
|
|
1732
|
+
value: {},
|
|
1733
|
+
min: {},
|
|
1734
|
+
max: {},
|
|
1735
|
+
get: { type: Function },
|
|
1736
|
+
set: { type: Function },
|
|
1737
|
+
modifyValue: { type: Function },
|
|
1738
|
+
getItem: { type: Function },
|
|
1739
|
+
setItem: { type: Function }
|
|
1740
|
+
},
|
|
1741
|
+
emits: ["click"],
|
|
1742
|
+
setup(t, { emit: e }) {
|
|
1743
|
+
const i = e, o = t, a = (l) => i("click", l);
|
|
1744
|
+
return (l, u) => (r(), $(T, I(o, { onClick: a }), {
|
|
1745
|
+
default: h(() => [
|
|
1746
|
+
b(l.$slots, "dialog")
|
|
1747
|
+
]),
|
|
1748
|
+
_: 3
|
|
1749
|
+
}, 16));
|
|
1750
|
+
}
|
|
1751
|
+
}), H0 = { class: "flex justify-center relative mx-2 my-6" }, L0 = /* @__PURE__ */ H({
|
|
1752
|
+
__name: "CardInput",
|
|
1753
|
+
props: {
|
|
1754
|
+
id: {},
|
|
1755
|
+
name: {},
|
|
1756
|
+
keyValue: {},
|
|
1757
|
+
type: {},
|
|
1758
|
+
icon: {},
|
|
1759
|
+
value: {},
|
|
1760
|
+
min: {},
|
|
1761
|
+
max: {},
|
|
1762
|
+
get: { type: Function },
|
|
1763
|
+
set: { type: Function },
|
|
1764
|
+
modifyValue: { type: Function },
|
|
1765
|
+
getItem: { type: Function },
|
|
1766
|
+
setItem: { type: Function }
|
|
1767
|
+
},
|
|
1768
|
+
emits: ["click", "setState"],
|
|
1769
|
+
setup(t, { emit: e }) {
|
|
1770
|
+
const i = e, o = t, a = (u) => {
|
|
1771
|
+
const f = u?.target?.value;
|
|
1772
|
+
i("setState", { ...o, value: f });
|
|
1773
|
+
}, l = (u) => i("click", u);
|
|
1774
|
+
return (u, f) => {
|
|
1775
|
+
const c = x("v-text-field");
|
|
1776
|
+
return r(), $(T, I(o, { onClick: l }), {
|
|
1777
|
+
dialog: h(({ value: d, name: v }) => [
|
|
1778
|
+
n("div", H0, [
|
|
1779
|
+
p(c, {
|
|
1780
|
+
modelValue: d,
|
|
1781
|
+
label: v,
|
|
1782
|
+
onChange: a
|
|
1783
|
+
}, null, 8, ["modelValue", "label"])
|
|
1784
|
+
])
|
|
1785
|
+
]),
|
|
1786
|
+
_: 1
|
|
1787
|
+
}, 16);
|
|
1788
|
+
};
|
|
1789
|
+
}
|
|
1790
|
+
}), Z0 = { class: "flex justify-center py-4" }, S0 = /* @__PURE__ */ H({
|
|
1791
|
+
__name: "CardSwitch",
|
|
1792
|
+
props: {
|
|
1793
|
+
id: {},
|
|
1794
|
+
name: {},
|
|
1795
|
+
keyValue: {},
|
|
1796
|
+
type: {},
|
|
1797
|
+
icon: {},
|
|
1798
|
+
value: {},
|
|
1799
|
+
min: {},
|
|
1800
|
+
max: {},
|
|
1801
|
+
get: { type: Function },
|
|
1802
|
+
set: { type: Function },
|
|
1803
|
+
modifyValue: { type: Function },
|
|
1804
|
+
getItem: { type: Function },
|
|
1805
|
+
setItem: { type: Function }
|
|
1806
|
+
},
|
|
1807
|
+
emits: ["click", "setState"],
|
|
1808
|
+
setup(t, { emit: e }) {
|
|
1809
|
+
const i = e, o = t, a = (u) => i("click", u), l = () => i("setState", o);
|
|
1810
|
+
return (u, f) => {
|
|
1811
|
+
const c = x("icon-power"), d = x("v-button");
|
|
1812
|
+
return r(), $(T, I(o, { onClick: a }), {
|
|
1813
|
+
header: h(() => f[0] || (f[0] = [
|
|
1814
|
+
n("div", { class: "flex justify-end" }, null, -1)
|
|
1815
|
+
])),
|
|
1816
|
+
dialog: h(() => [
|
|
1817
|
+
n("div", Z0, [
|
|
1818
|
+
p(d, {
|
|
1819
|
+
type: "icon",
|
|
1820
|
+
size: "sm",
|
|
1821
|
+
class: w(["h-18 w-18", o.value ? "text-blue-600 dark:text-blue-400" : "text-amber-500"]),
|
|
1822
|
+
onClick: j(l, ["stop"])
|
|
1823
|
+
}, {
|
|
1824
|
+
default: h(() => [
|
|
1825
|
+
p(c, { class: "size-16" })
|
|
1826
|
+
]),
|
|
1827
|
+
_: 1
|
|
1828
|
+
}, 8, ["class"])
|
|
1829
|
+
])
|
|
1830
|
+
]),
|
|
1831
|
+
_: 1
|
|
1832
|
+
}, 16);
|
|
1833
|
+
};
|
|
1834
|
+
}
|
|
1835
|
+
}), B0 = { class: "pt-6" }, I0 = { class: "grid grid-cols-1 gap-x-4" }, z0 = { class: "grid grid-cols-2 gap-x-4" }, A0 = { class: "grid grid-cols-2 gap-x-4" }, F0 = { class: "flex gap-2 items-center" }, T0 = { class: "grid grid-cols-2 gap-x-4" }, j0 = { class: "flex gap-4 justify-end" }, O0 = /* @__PURE__ */ H({
|
|
1836
|
+
__name: "BlockItemEdit",
|
|
1837
|
+
props: {
|
|
1838
|
+
item: {},
|
|
1839
|
+
isNew: { type: Boolean }
|
|
1840
|
+
},
|
|
1841
|
+
emits: ["remove", "save", "select"],
|
|
1842
|
+
setup(t, { emit: e }) {
|
|
1843
|
+
const i = e, o = B({ id: "", name: "", keyValue: "" }), a = [
|
|
1844
|
+
{ name: "Air", value: "air" },
|
|
1845
|
+
{ name: "Bulb", value: "bulb" },
|
|
1846
|
+
{ name: "Cold", value: "cold" },
|
|
1847
|
+
{ name: "Camera", value: "camera" },
|
|
1848
|
+
{ name: "Vent", value: "vent" },
|
|
1849
|
+
{ name: "Garage", value: "garage" },
|
|
1850
|
+
{ name: "Video", value: "video" },
|
|
1851
|
+
{ name: "Light", value: "light" },
|
|
1852
|
+
{ name: "Tv", value: "tv" },
|
|
1853
|
+
{ name: "Therm", value: "therm" },
|
|
1854
|
+
{ name: "Store", value: "store" },
|
|
1855
|
+
{ name: "Socket", value: "socket" },
|
|
1856
|
+
{ name: "Search", value: "search" },
|
|
1857
|
+
{ name: "Save", value: "save" },
|
|
1858
|
+
{ name: "Noti", value: "noti" },
|
|
1859
|
+
{ name: "Logout", value: "logout" },
|
|
1860
|
+
{ name: "Lock", value: "lock" },
|
|
1861
|
+
{ name: "Folder", value: "folder" }
|
|
1862
|
+
], l = [
|
|
1863
|
+
{ name: "Button", value: "button" },
|
|
1864
|
+
{ name: "Info", value: "info" },
|
|
1865
|
+
{ name: "Dimmer", value: "dimmer" },
|
|
1866
|
+
{ name: "Switch", value: "switch" },
|
|
1867
|
+
{ name: "Date", value: "date" },
|
|
1868
|
+
{ name: "Input", value: "input" }
|
|
1869
|
+
], u = (y) => `icon-${y}`, f = M(() => o.value.type === "dimmer"), c = ({ value: y }) => {
|
|
1870
|
+
o.value.icon = y;
|
|
1871
|
+
}, d = ({ value: y }) => {
|
|
1872
|
+
o.value.type = y;
|
|
1873
|
+
}, v = () => {
|
|
1874
|
+
i("save", o.value);
|
|
1875
|
+
}, C = () => {
|
|
1876
|
+
i("remove", o.value);
|
|
1877
|
+
};
|
|
1878
|
+
return U(() => {
|
|
1879
|
+
console.log(t.item), o.value = { ...t.item };
|
|
1880
|
+
}), (y, _) => {
|
|
1881
|
+
const Z = x("v-text-field"), m = x("VSelect"), S = x("v-textarea"), E = x("v-button");
|
|
1882
|
+
return r(), s("div", B0, [
|
|
1883
|
+
n("div", I0, [
|
|
1884
|
+
n("div", z0, [
|
|
1885
|
+
p(Z, {
|
|
1886
|
+
modelValue: o.value.id,
|
|
1887
|
+
"onUpdate:modelValue": _[0] || (_[0] = (k) => o.value.id = k),
|
|
1888
|
+
label: "ID",
|
|
1889
|
+
disabled: !y.isNew,
|
|
1890
|
+
onClick: _[1] || (_[1] = (k) => i("select", k))
|
|
1891
|
+
}, null, 8, ["modelValue", "disabled"]),
|
|
1892
|
+
p(Z, {
|
|
1893
|
+
modelValue: o.value.keyValue,
|
|
1894
|
+
"onUpdate:modelValue": _[2] || (_[2] = (k) => o.value.keyValue = k),
|
|
1895
|
+
label: "KeyValue"
|
|
1896
|
+
}, null, 8, ["modelValue"])
|
|
1897
|
+
]),
|
|
1898
|
+
p(Z, {
|
|
1899
|
+
modelValue: o.value.name,
|
|
1900
|
+
"onUpdate:modelValue": _[3] || (_[3] = (k) => o.value.name = k),
|
|
1901
|
+
label: "Name"
|
|
1902
|
+
}, null, 8, ["modelValue"]),
|
|
1903
|
+
n("div", A0, [
|
|
1904
|
+
p(m, {
|
|
1905
|
+
value: o.value.icon,
|
|
1906
|
+
class: "",
|
|
1907
|
+
label: "Icon",
|
|
1908
|
+
list: a,
|
|
1909
|
+
onChange: c
|
|
1910
|
+
}, {
|
|
1911
|
+
default: h(({ item: k }) => [
|
|
1912
|
+
n("div", F0, [
|
|
1913
|
+
(r(), $(P(u(k.value)), { class: "size-5" })),
|
|
1914
|
+
n("div", null, V(k.name), 1)
|
|
1915
|
+
])
|
|
1916
|
+
]),
|
|
1917
|
+
_: 1
|
|
1918
|
+
}, 8, ["value"]),
|
|
1919
|
+
p(m, {
|
|
1920
|
+
value: o.value.type,
|
|
1921
|
+
class: "",
|
|
1922
|
+
label: "Type",
|
|
1923
|
+
list: l,
|
|
1924
|
+
onChange: d
|
|
1925
|
+
}, null, 8, ["value"])
|
|
1926
|
+
]),
|
|
1927
|
+
n("div", T0, [
|
|
1928
|
+
f.value ? (r(), $(Z, {
|
|
1929
|
+
key: 0,
|
|
1930
|
+
modelValue: o.value.min,
|
|
1931
|
+
"onUpdate:modelValue": _[4] || (_[4] = (k) => o.value.min = k),
|
|
1932
|
+
label: "Min"
|
|
1933
|
+
}, null, 8, ["modelValue"])) : L("", !0),
|
|
1934
|
+
f.value ? (r(), $(Z, {
|
|
1935
|
+
key: 1,
|
|
1936
|
+
modelValue: o.value.max,
|
|
1937
|
+
"onUpdate:modelValue": _[5] || (_[5] = (k) => o.value.max = k),
|
|
1938
|
+
label: "Max"
|
|
1939
|
+
}, null, 8, ["modelValue"])) : L("", !0)
|
|
1940
|
+
]),
|
|
1941
|
+
o.value.set ? (r(), $(S, {
|
|
1942
|
+
key: 0,
|
|
1943
|
+
modelValue: o.value.set,
|
|
1944
|
+
"onUpdate:modelValue": _[6] || (_[6] = (k) => o.value.set = k),
|
|
1945
|
+
label: "Set"
|
|
1946
|
+
}, null, 8, ["modelValue"])) : L("", !0),
|
|
1947
|
+
p(S, {
|
|
1948
|
+
modelValue: o.value.get,
|
|
1949
|
+
"onUpdate:modelValue": _[7] || (_[7] = (k) => o.value.get = k),
|
|
1950
|
+
label: "Get"
|
|
1951
|
+
}, null, 8, ["modelValue"]),
|
|
1952
|
+
p(S, {
|
|
1953
|
+
modelValue: o.value.modifyValue,
|
|
1954
|
+
"onUpdate:modelValue": _[8] || (_[8] = (k) => o.value.modifyValue = k),
|
|
1955
|
+
label: "ModifyValue"
|
|
1956
|
+
}, null, 8, ["modelValue"])
|
|
1957
|
+
]),
|
|
1958
|
+
n("div", j0, [
|
|
1959
|
+
p(E, {
|
|
1960
|
+
class: "px-4",
|
|
1961
|
+
color: "red",
|
|
1962
|
+
outline: "",
|
|
1963
|
+
onClick: C
|
|
1964
|
+
}, {
|
|
1965
|
+
default: h(() => _[9] || (_[9] = [
|
|
1966
|
+
z("Remove")
|
|
1967
|
+
])),
|
|
1968
|
+
_: 1
|
|
1969
|
+
}),
|
|
1970
|
+
p(E, {
|
|
1971
|
+
class: "px-4",
|
|
1972
|
+
color: "blue",
|
|
1973
|
+
onClick: v
|
|
1974
|
+
}, {
|
|
1975
|
+
default: h(() => _[10] || (_[10] = [
|
|
1976
|
+
z("Save")
|
|
1977
|
+
])),
|
|
1978
|
+
_: 1
|
|
1979
|
+
})
|
|
1980
|
+
])
|
|
1981
|
+
]);
|
|
1982
|
+
};
|
|
1983
|
+
}
|
|
1984
|
+
}), N0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1985
|
+
__proto__: null,
|
|
1986
|
+
BlockItemEdit: O0,
|
|
1987
|
+
CardBase: T,
|
|
1988
|
+
CardButton: _0,
|
|
1989
|
+
CardDate: g0,
|
|
1990
|
+
CardDimmer: w0,
|
|
1991
|
+
CardInfo: M0,
|
|
1992
|
+
CardInput: L0,
|
|
1993
|
+
CardSwitch: S0
|
|
1994
|
+
}, Symbol.toStringTag, { value: "Module" })), E0 = { class: "bg-white dark:bg-gray-900 border-b border-gray-300 dark:border-gray-700 left-0 w-full z-10 sticky top-0" }, D0 = { class: "px-4 py-4 sm:px-6 lg:px-8" }, P0 = { class: "container mx-auto flex flex-auto items-center" }, U0 = { class: "lg:hidden h-[30px] me-10" }, G0 = { class: "flex gap-4" }, K0 = { class: "md:hidden flex gap-4" }, q0 = { class: "ms-2" }, R0 = /* @__PURE__ */ H({
|
|
1995
|
+
__name: "AppHeader",
|
|
1996
|
+
props: {
|
|
1997
|
+
changeTheme: { type: Function }
|
|
1998
|
+
},
|
|
1999
|
+
emits: ["sidebar"],
|
|
2000
|
+
setup(t, { emit: e }) {
|
|
2001
|
+
const i = e, o = B(!1), a = B(!1), l = M(() => [
|
|
2002
|
+
{ name: "Theme", icon: "icon-theme" },
|
|
2003
|
+
{ name: "Logout", icon: "icon-logout" }
|
|
2004
|
+
]), u = (v) => i("sidebar", v), f = async () => await fetch("/", {
|
|
2005
|
+
method: "get",
|
|
2006
|
+
headers: { Authorization: "Basic AAAAAAAAAAAAAAAAAAA=" }
|
|
2007
|
+
}), c = () => {
|
|
2008
|
+
t.changeTheme && t.changeTheme();
|
|
2009
|
+
}, d = ({ name: v }) => {
|
|
2010
|
+
v == "Logout" && f(), v == "Theme" && c();
|
|
2011
|
+
};
|
|
2012
|
+
return (v, C) => {
|
|
2013
|
+
const y = x("icon-burger"), _ = x("v-button"), Z = x("icon-logo"), m = x("router-link"), S = x("IconTheme"), E = x("icon-noti"), k = x("icon-logout"), o1 = x("icon-dots"), r1 = x("v-list"), l1 = x("v-dropdown");
|
|
2014
|
+
return r(), s("header", E0, [
|
|
2015
|
+
n("div", D0, [
|
|
2016
|
+
n("div", P0, [
|
|
2017
|
+
p(_, {
|
|
2018
|
+
type: "icon",
|
|
2019
|
+
color: "gray",
|
|
2020
|
+
class: "me-6",
|
|
2021
|
+
onClick: u
|
|
2022
|
+
}, {
|
|
2023
|
+
default: h(() => [
|
|
2024
|
+
p(y, { class: "h-5 w-5" })
|
|
2025
|
+
]),
|
|
2026
|
+
_: 1
|
|
2027
|
+
}),
|
|
2028
|
+
C[2] || (C[2] = n("div", { class: "lg:hidden flex-auto" }, null, -1)),
|
|
2029
|
+
n("div", U0, [
|
|
2030
|
+
p(m, { to: "/" }, {
|
|
2031
|
+
default: h(() => [
|
|
2032
|
+
p(Z, { class: "h-[30px]" })
|
|
2033
|
+
]),
|
|
2034
|
+
_: 1
|
|
2035
|
+
})
|
|
2036
|
+
]),
|
|
2037
|
+
C[3] || (C[3] = n("div", { class: "flex-auto" }, null, -1)),
|
|
2038
|
+
n("div", G0, [
|
|
2039
|
+
p(_, {
|
|
2040
|
+
type: "icon",
|
|
2041
|
+
color: "gray",
|
|
2042
|
+
class: "hidden md:flex",
|
|
2043
|
+
onClick: c
|
|
2044
|
+
}, {
|
|
2045
|
+
default: h(() => [
|
|
2046
|
+
p(S)
|
|
2047
|
+
]),
|
|
2048
|
+
_: 1
|
|
2049
|
+
}),
|
|
2050
|
+
p(_, {
|
|
2051
|
+
type: "icon",
|
|
2052
|
+
color: "gray",
|
|
2053
|
+
class: "hidden md:flex",
|
|
2054
|
+
onClick: C[0] || (C[0] = j((O) => {
|
|
2055
|
+
o.value = !o.value, a.value = !1;
|
|
2056
|
+
}, ["prevent"]))
|
|
2057
|
+
}, {
|
|
2058
|
+
default: h(() => [
|
|
2059
|
+
n("span", {
|
|
2060
|
+
class: w([a.value ? "flex" : "hidden", "absolute right-0 top-0.5 z-1 h-2 w-2 rounded-full bg-orange-400 flex"])
|
|
2061
|
+
}, C[1] || (C[1] = [
|
|
2062
|
+
n("span", { class: "absolute -z-1 inline-flex h-full w-full animate-ping rounded-full bg-orange-400 opacity-75" }, null, -1)
|
|
2063
|
+
]), 2),
|
|
2064
|
+
p(E, { class: "h-5 w-5" })
|
|
2065
|
+
]),
|
|
2066
|
+
_: 1
|
|
2067
|
+
}),
|
|
2068
|
+
p(_, {
|
|
2069
|
+
type: "icon",
|
|
2070
|
+
color: "gray",
|
|
2071
|
+
class: "hidden md:flex",
|
|
2072
|
+
onClick: j(f, ["prevent"])
|
|
2073
|
+
}, {
|
|
2074
|
+
default: h(() => [
|
|
2075
|
+
p(k, { class: "h-5 w-5" })
|
|
2076
|
+
]),
|
|
2077
|
+
_: 1
|
|
2078
|
+
})
|
|
2079
|
+
]),
|
|
2080
|
+
n("div", K0, [
|
|
2081
|
+
p(l1, {
|
|
2082
|
+
left: "unset",
|
|
2083
|
+
right: "0",
|
|
2084
|
+
top: "0"
|
|
2085
|
+
}, {
|
|
2086
|
+
activator: h(({ on: O }) => [
|
|
2087
|
+
p(_, {
|
|
2088
|
+
type: "icon",
|
|
2089
|
+
color: "gray",
|
|
2090
|
+
class: "flex",
|
|
2091
|
+
onClick: (n5) => O.click()
|
|
2092
|
+
}, {
|
|
2093
|
+
default: h(() => [
|
|
2094
|
+
p(o1)
|
|
2095
|
+
]),
|
|
2096
|
+
_: 2
|
|
2097
|
+
}, 1032, ["onClick"])
|
|
2098
|
+
]),
|
|
2099
|
+
default: h(() => [
|
|
2100
|
+
p(r1, {
|
|
2101
|
+
list: l.value,
|
|
2102
|
+
onClick: d
|
|
2103
|
+
}, {
|
|
2104
|
+
default: h(({ item: O }) => [
|
|
2105
|
+
(r(), $(P(O.icon))),
|
|
2106
|
+
n("span", q0, V(O.name), 1)
|
|
2107
|
+
]),
|
|
2108
|
+
_: 1
|
|
2109
|
+
}, 8, ["list"])
|
|
2110
|
+
]),
|
|
2111
|
+
_: 1
|
|
2112
|
+
})
|
|
2113
|
+
])
|
|
2114
|
+
])
|
|
2115
|
+
])
|
|
2116
|
+
]);
|
|
2117
|
+
};
|
|
2118
|
+
}
|
|
2119
|
+
}), W0 = /* @__PURE__ */ H({
|
|
2120
|
+
__name: "AppNotification",
|
|
2121
|
+
props: {
|
|
2122
|
+
notifications: { default: () => [] }
|
|
2123
|
+
},
|
|
2124
|
+
emits: ["close"],
|
|
2125
|
+
setup(t, { emit: e }) {
|
|
2126
|
+
const i = e;
|
|
2127
|
+
return (o, a) => {
|
|
2128
|
+
const l = x("v-notification");
|
|
2129
|
+
return r(), s("div", null, [
|
|
2130
|
+
p(d1, {
|
|
2131
|
+
name: "list",
|
|
2132
|
+
tag: "ul",
|
|
2133
|
+
class: "flex flex-col gap-2"
|
|
2134
|
+
}, {
|
|
2135
|
+
default: h(() => [
|
|
2136
|
+
(r(!0), s(A, null, F(o.notifications, (u) => (r(), $(l, I({
|
|
2137
|
+
key: u.id,
|
|
2138
|
+
ref_for: !0
|
|
2139
|
+
}, u, {
|
|
2140
|
+
onClose: (f) => i("close", u)
|
|
2141
|
+
}), null, 16, ["onClose"]))), 128))
|
|
2142
|
+
]),
|
|
2143
|
+
_: 1
|
|
2144
|
+
})
|
|
2145
|
+
]);
|
|
2146
|
+
};
|
|
2147
|
+
}
|
|
2148
|
+
});
|
|
2149
|
+
var J0 = {}, Q0 = { class: "fixed h-full w-full top-0 left-0 z-20" }, X0 = { class: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2" };
|
|
2150
|
+
function Y0(t, e) {
|
|
2151
|
+
return r(), s("div", Q0, [
|
|
2152
|
+
e[0] || (e[0] = n("div", { class: "absolute h-full w-full top-0 left-0 bg-gray-900 opacity-40" }, null, -1)),
|
|
2153
|
+
n("div", X0, [
|
|
2154
|
+
b(t.$slots, "default")
|
|
2155
|
+
])
|
|
2156
|
+
]);
|
|
2157
|
+
}
|
|
2158
|
+
const e5 = /* @__PURE__ */ g(J0, [["render", Y0]]), t5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1382
2159
|
__proto__: null,
|
|
1383
|
-
|
|
1384
|
-
|
|
2160
|
+
AppDialog: n1,
|
|
2161
|
+
AppHeader: R0,
|
|
2162
|
+
AppNotification: W0,
|
|
2163
|
+
AppOverlay: e5
|
|
2164
|
+
}, Symbol.toStringTag, { value: "Module" })), Q = { ...Rt, ...ye, ...t0, ...N0, ...t5 }, r5 = {
|
|
1385
2165
|
install: (t) => {
|
|
1386
|
-
Object.keys(
|
|
1387
|
-
t.component(e,
|
|
1388
|
-
}),
|
|
2166
|
+
Object.keys(Q).forEach((e) => {
|
|
2167
|
+
t.component(e, Q[e]);
|
|
2168
|
+
}), v1.forEach(({ name: e, directive: i }) => t.directive(e, i));
|
|
1389
2169
|
}
|
|
1390
2170
|
};
|
|
1391
2171
|
export {
|
|
1392
|
-
|
|
2172
|
+
r5 as default
|
|
1393
2173
|
};
|