vuesp-components 1.0.1 → 1.1.2
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.vue.d.ts +1 -1
- package/dist/App.vue.d.ts.map +1 -1
- package/dist/components/app/AppAside.vue.d.ts +3 -3
- package/dist/components/app/AppAside.vue.d.ts.map +1 -1
- package/dist/components/app/AppDialog.vue.d.ts +7 -5
- package/dist/components/app/AppDialog.vue.d.ts.map +1 -1
- package/dist/components/app/AppHeader.vue.d.ts +9 -5
- package/dist/components/app/AppHeader.vue.d.ts.map +1 -1
- package/dist/components/app/AppNav.vue.d.ts +3 -3
- package/dist/components/app/AppNotification.vue.d.ts +33 -7
- package/dist/components/app/AppNotification.vue.d.ts.map +1 -1
- package/dist/components/app/AppOverlay.vue.d.ts +1 -1
- package/dist/components/app/AppOverlay.vue.d.ts.map +1 -1
- package/dist/components/app/AppProgress.vue.d.ts +24 -0
- package/dist/components/app/AppProgress.vue.d.ts.map +1 -0
- package/dist/components/app/index.d.ts +2 -1
- package/dist/components/app/index.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardBase.vue.d.ts +87 -47
- package/dist/components/dashboard/cards/CardBase.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardButton.vue.d.ts +3 -3
- package/dist/components/dashboard/cards/CardButton.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardDate.vue.d.ts +3 -3
- package/dist/components/dashboard/cards/CardDate.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardDimmer.vue.d.ts +3 -3
- package/dist/components/dashboard/cards/CardDimmer.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardInfo.vue.d.ts +4 -4
- package/dist/components/dashboard/cards/CardInfo.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardInput.vue.d.ts +3 -3
- package/dist/components/dashboard/cards/CardInput.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardList.vue.d.ts +3 -3
- package/dist/components/dashboard/cards/CardList.vue.d.ts.map +1 -1
- package/dist/components/dashboard/edit/ItemEdit.vue.d.ts +29 -0
- package/dist/components/dashboard/edit/ItemEdit.vue.d.ts.map +1 -0
- package/dist/components/dashboard/edit/ItemOptions.vue.d.ts +18 -0
- package/dist/components/dashboard/edit/ItemOptions.vue.d.ts.map +1 -0
- package/dist/components/dashboard/index.d.ts +2 -3
- package/dist/components/dashboard/index.d.ts.map +1 -1
- package/dist/components/general/blocks/BlockBreadcrumb.vue.d.ts +3 -3
- package/dist/components/general/blocks/BlockBreadcrumb.vue.d.ts.map +1 -1
- package/dist/components/general/blocks/BlockInfo.vue.d.ts +22 -2
- package/dist/components/general/blocks/BlockInfo.vue.d.ts.map +1 -1
- package/dist/components/general/blocks/BlockTable.vue.d.ts +3 -3
- package/dist/components/general/blocks/BlockTable.vue.d.ts.map +1 -1
- package/dist/components/general/blocks/index.d.ts +1 -2
- package/dist/components/general/blocks/index.d.ts.map +1 -1
- package/dist/components/general/cards/CardGray.vue.d.ts +3 -3
- package/dist/components/general/cards/CardGray.vue.d.ts.map +1 -1
- package/dist/components/general/cards/CardNotification.vue.d.ts +8 -15
- package/dist/components/general/cards/CardNotification.vue.d.ts.map +1 -1
- package/dist/components/general/forms/VAutocomplete.vue.d.ts +34 -0
- package/dist/components/general/forms/VAutocomplete.vue.d.ts.map +1 -0
- package/dist/components/general/forms/VButton.vue.d.ts +7 -7
- package/dist/components/general/forms/VButton.vue.d.ts.map +1 -1
- package/dist/components/general/forms/VCheckbox.vue.d.ts +7 -5
- package/dist/components/general/forms/VCheckbox.vue.d.ts.map +1 -1
- package/dist/components/general/forms/VDragDrop.vue.d.ts +43 -0
- package/dist/components/general/forms/VDragDrop.vue.d.ts.map +1 -0
- package/dist/components/general/forms/VDropdown.vue.d.ts +8 -6
- package/dist/components/general/forms/VDropdown.vue.d.ts.map +1 -1
- package/dist/components/general/forms/VExpansion.vue.d.ts +2 -2
- package/dist/components/general/forms/VExpansion.vue.d.ts.map +1 -1
- package/dist/components/general/forms/{VTextFieldFile.vue.d.ts → VFile.vue.d.ts} +7 -14
- package/dist/components/general/forms/VFile.vue.d.ts.map +1 -0
- package/dist/components/general/forms/VFunc.vue.d.ts +20 -0
- package/dist/components/general/forms/VFunc.vue.d.ts.map +1 -0
- package/dist/components/general/forms/VIcons.vue.d.ts +1 -1
- package/dist/components/general/forms/VIcons.vue.d.ts.map +1 -1
- package/dist/components/general/forms/VList.vue.d.ts +6 -5
- package/dist/components/general/forms/VList.vue.d.ts.map +1 -1
- package/dist/components/general/forms/VListObject.vue.d.ts +7 -5
- package/dist/components/general/forms/VListObject.vue.d.ts.map +1 -1
- package/dist/components/general/forms/VLoader.vue.d.ts +1 -1
- package/dist/components/general/forms/VSelect.vue.d.ts +10 -10
- package/dist/components/general/forms/VSelect.vue.d.ts.map +1 -1
- package/dist/components/general/forms/VTabs.vue.d.ts +29 -0
- package/dist/components/general/forms/VTabs.vue.d.ts.map +1 -0
- package/dist/components/general/forms/VTextField.vue.d.ts +5 -5
- package/dist/components/general/forms/VTextField.vue.d.ts.map +1 -1
- package/dist/components/general/forms/VTextWrapper.vue.d.ts +29 -0
- package/dist/components/general/forms/VTextWrapper.vue.d.ts.map +1 -0
- package/dist/components/general/forms/VWifiIcon.vue.d.ts +1 -1
- package/dist/components/general/forms/index.d.ts +5 -2
- package/dist/components/general/forms/index.d.ts.map +1 -1
- package/dist/composables/index.d.ts +2 -0
- package/dist/composables/index.d.ts.map +1 -0
- package/dist/composables/index.es.js +71 -0
- package/dist/composables/types.d.ts +36 -0
- package/dist/composables/types.d.ts.map +1 -0
- package/dist/composables/useForms.d.ts +3 -0
- package/dist/composables/useForms.d.ts.map +1 -0
- package/dist/const/lists.d.ts +4 -0
- package/dist/const/lists.d.ts.map +1 -0
- package/dist/dashboard/index.d.ts +18 -20
- package/dist/dashboard/index.d.ts.map +1 -1
- package/dist/dashboard/index.es.js +35 -133
- package/dist/dashboard/types.d.ts +18 -31
- package/dist/dashboard/types.d.ts.map +1 -1
- package/dist/helpers/app.d.ts +1 -10
- package/dist/helpers/app.d.ts.map +1 -1
- package/dist/helpers/fetch.d.ts +14 -0
- package/dist/helpers/fetch.d.ts.map +1 -0
- package/dist/helpers/general.d.ts +11 -0
- package/dist/helpers/general.d.ts.map +1 -0
- package/dist/helpers/index.d.ts +4 -1
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/index.es.js +50 -28
- package/dist/helpers/utils.d.ts +2 -0
- package/dist/helpers/utils.d.ts.map +1 -0
- package/dist/helpers/web-api.d.ts +7 -0
- package/dist/helpers/web-api.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +1904 -1450
- package/dist/plugins/i18n/index.d.ts +4 -0
- package/dist/plugins/i18n/index.d.ts.map +1 -0
- package/dist/plugins/i18n/types.d.ts +34 -0
- package/dist/plugins/i18n/types.d.ts.map +1 -0
- package/dist/plugins/index.d.ts +3 -0
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/plugins/index.es.js +34 -0
- package/dist/plugins/types.d.ts +13 -0
- package/dist/plugins/types.d.ts.map +1 -0
- package/dist/style.css +1 -1
- package/dist/types/components.d.ts +6 -16
- package/dist/types/components.d.ts.map +1 -1
- package/dist/types/messages.d.ts +110 -0
- package/dist/types/messages.d.ts.map +1 -0
- package/dist/types/state.d.ts +43 -0
- package/dist/types/state.d.ts.map +1 -0
- package/dist/types/types.d.ts +3 -1
- package/dist/types/types.d.ts.map +1 -1
- package/dist/utils-r5TQv-RW.js +62 -0
- package/package.json +16 -5
- package/dist/app-B-BsxziJ.js +0 -47
- package/dist/components/dashboard/BlockItemEdit.vue.d.ts +0 -16
- package/dist/components/dashboard/BlockItemEdit.vue.d.ts.map +0 -1
- package/dist/components/dashboard/cards/CardSwitch.vue.d.ts +0 -10
- package/dist/components/dashboard/cards/CardSwitch.vue.d.ts.map +0 -1
- package/dist/components/general/blocks/BlockStatus.vue.d.ts +0 -19
- package/dist/components/general/blocks/BlockStatus.vue.d.ts.map +0 -1
- package/dist/components/general/forms/VTextFieldFile.vue.d.ts.map +0 -1
- package/dist/dashboard/utils.d.ts +0 -7
- package/dist/dashboard/utils.d.ts.map +0 -1
- package/dist/helpers/fs.d.ts +0 -9
- package/dist/helpers/fs.d.ts.map +0 -1
- package/dist/types/store.d.ts +0 -104
- package/dist/types/store.d.ts.map +0 -1
package/dist/index.es.js
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { defineComponent as B, ref as L, computed as M, createElementBlock as c, openBlock as o, createElementVNode as l, createCommentVNode as I, normalizeClass as V, createBlock as A, toDisplayString as _, resolveDynamicComponent as q, mergeProps as D, withKeys as Le, renderSlot as C, createTextVNode as T, resolveDirective as je, withDirectives as de, createVNode as p, Transition as Y, withCtx as m, normalizeStyle as J, Fragment as H, renderList as N, onMounted as ce, unref as z, withModifiers as F, vShow as Ne, TransitionGroup as _e, toRef as Oe, readonly as Fe, customRef as Pe, getCurrentScope as Ee, onScopeDispose as Re, shallowRef as me, watch as U, nextTick as Ue, toValue as ue, isRef as Ge, vModelText as We, resolveComponent as ee, normalizeProps as E, guardReactiveProps as R, Teleport as qe } from "vue";
|
|
2
|
+
import { getDataValue as Ke } from "./dashboard/index.es.js";
|
|
3
|
+
import { getFunction as y1, getParamsData as x1, getStateItem as k1, setStateItem as _1 } from "./dashboard/index.es.js";
|
|
4
|
+
import { u as ve, d as Ze, e as Je, b as Qe, f as Xe } from "./utils-r5TQv-RW.js";
|
|
5
|
+
import { useForm as w1 } from "./composables/index.es.js";
|
|
6
|
+
const Ye = {
|
|
7
|
+
mounted(e, t) {
|
|
8
|
+
e.clickOutsideEvent = function(d) {
|
|
9
|
+
e === d.target || e.contains(d.target) || t.value(d, e);
|
|
10
|
+
}, document.addEventListener("click", e.clickOutsideEvent);
|
|
9
11
|
},
|
|
10
|
-
unmounted(
|
|
11
|
-
document.removeEventListener("click",
|
|
12
|
+
unmounted(e) {
|
|
13
|
+
document.removeEventListener("click", e.clickOutsideEvent), delete e.clickOutsideEvent;
|
|
12
14
|
}
|
|
13
|
-
},
|
|
15
|
+
}, et = [{ name: "outside", directive: Ye }], tt = { class: "w-full relative" }, lt = ["disabled"], st = {
|
|
14
16
|
key: 0,
|
|
15
|
-
class: "text-red-
|
|
16
|
-
},
|
|
17
|
+
class: "text-red-400 h-[24px] px-2 text-xs"
|
|
18
|
+
}, at = "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", O = /* @__PURE__ */ B({
|
|
17
19
|
__name: "VTextField",
|
|
18
20
|
props: {
|
|
19
21
|
modelValue: { default: null },
|
|
@@ -22,93 +24,92 @@ const we = {
|
|
|
22
24
|
type: { default: "text" },
|
|
23
25
|
message: { default: "" },
|
|
24
26
|
readonly: { type: Boolean },
|
|
25
|
-
disabled: { type: Boolean, default: !1 },
|
|
27
|
+
disabled: { type: [Boolean, Number], default: !1 },
|
|
26
28
|
active: { type: Boolean, default: !1 },
|
|
27
29
|
hideMessage: { type: Boolean, default: !1 },
|
|
28
30
|
rules: {}
|
|
29
31
|
},
|
|
30
32
|
emits: ["update:modelValue", "click", "on-icon", "enter", "blur"],
|
|
31
|
-
setup(
|
|
32
|
-
const
|
|
33
|
+
setup(e, { emit: t }) {
|
|
34
|
+
const d = t, r = {
|
|
33
35
|
input: "w-full h-full px-4 outline-none overflow-ellipsis flex-auto overflow-hidden w-[calc(100% - 20px)] bg-transparent",
|
|
34
36
|
textarea: "h-full w-full px-4 py-2 outline-none flex-auto bg-transparent"
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
t.disabled || i("on-icon", y);
|
|
37
|
+
}, s = L(!1), n = M(() => [
|
|
38
|
+
e.component === "input" ? "h-[40px]" : "min-h-[40px]",
|
|
39
|
+
e.message ? "border-red-500 hover:border-red-400" : "",
|
|
40
|
+
e.disabled ? "border-gray-400 opacity-40" : "border-gray-300 hover:border-gray-400 dark:border-gray-700/50 hover:dark:border-gray-600/50"
|
|
41
|
+
]), v = M(() => r[e.component]), u = (g) => g || g === 0, f = M(() => [at, s.value || u(e.modelValue) || e.active ? "top-0 left-3 text-xs" : "top-1/2"]), a = M(() => e.component === "input"), i = (g) => {
|
|
42
|
+
s.value = !1, d("blur", g);
|
|
43
|
+
}, h = ({ target: g }) => d("update:modelValue", g.value), b = (g) => d("enter", g), $ = () => s.value = !0, y = (g) => d("click", g), w = (g) => {
|
|
44
|
+
e.disabled || d("on-icon", g);
|
|
44
45
|
};
|
|
45
|
-
return (
|
|
46
|
+
return (g, P) => (o(), c("div", tt, [
|
|
46
47
|
l("label", {
|
|
47
|
-
class:
|
|
48
|
+
class: V(["relative w-full border border-gray-300 dark:border-gray-700 flex items-center rounded transition bg-white dark:bg-gray-800", n.value])
|
|
48
49
|
}, [
|
|
49
50
|
l("span", {
|
|
50
|
-
class:
|
|
51
|
-
},
|
|
52
|
-
(
|
|
53
|
-
value:
|
|
54
|
-
disabled:
|
|
55
|
-
type:
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
51
|
+
class: V(["absolute left-4 transition-all rounded -translate-y-1/2 text-gray-600 dark:text-gray-400", f.value])
|
|
52
|
+
}, _(g.label), 3),
|
|
53
|
+
(o(), A(q(g.component), D(g.$attrs, {
|
|
54
|
+
value: g.modelValue,
|
|
55
|
+
disabled: !!g.disabled,
|
|
56
|
+
type: g.type,
|
|
57
|
+
readonly: g.readonly,
|
|
58
|
+
rows: a.value ? null : "2",
|
|
59
|
+
wrap: a.value ? null : "soft",
|
|
60
|
+
class: v.value,
|
|
61
|
+
onFocus: $,
|
|
62
|
+
onBlur: i,
|
|
61
63
|
onInput: h,
|
|
62
|
-
onClick:
|
|
63
|
-
onKeypress:
|
|
64
|
-
}), null, 16, ["value", "disabled", "type", "rows", "wrap", "class"])),
|
|
65
|
-
|
|
64
|
+
onClick: y,
|
|
65
|
+
onKeypress: Le(b, ["enter"])
|
|
66
|
+
}), null, 16, ["value", "disabled", "type", "readonly", "rows", "wrap", "class"])),
|
|
67
|
+
g.$slots.icon ? (o(), c("button", {
|
|
66
68
|
key: 0,
|
|
67
|
-
disabled:
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
onClick: j
|
|
69
|
+
disabled: !!g.disabled,
|
|
70
|
+
class: V([{ "cursor-pointer": !g.disabled }, "flex-[0_0_50px] h-full flex items-center justify-center text-gray-400 border-l border-gray-300 dark:border-gray-700/50"]),
|
|
71
|
+
onClick: w
|
|
71
72
|
}, [
|
|
72
|
-
|
|
73
|
-
], 10,
|
|
73
|
+
C(g.$slots, "icon")
|
|
74
|
+
], 10, lt)) : I("", !0)
|
|
74
75
|
], 2),
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
g.hideMessage ? I("", !0) : (o(), c("div", st, [
|
|
77
|
+
C(g.$slots, "message", {}, () => [
|
|
78
|
+
T(_(g.message), 1)
|
|
78
79
|
])
|
|
79
80
|
]))
|
|
80
81
|
]));
|
|
81
82
|
}
|
|
82
|
-
}),
|
|
83
|
+
}), ot = { class: "relative" }, nt = { class: "flex items-center cursor-pointer" }, te = /* @__PURE__ */ B({
|
|
83
84
|
__name: "VDropdown",
|
|
84
85
|
props: {
|
|
85
86
|
top: { default: "calc(100% + 5px)" },
|
|
86
87
|
left: { default: "0" },
|
|
87
88
|
right: { default: "" },
|
|
88
89
|
height: { default: "200px" },
|
|
89
|
-
hideOnClick: { type: Boolean, default: !
|
|
90
|
+
hideOnClick: { type: Boolean, default: !0 }
|
|
90
91
|
},
|
|
91
92
|
emits: ["click", "show", "close"],
|
|
92
|
-
setup(
|
|
93
|
-
const
|
|
94
|
-
|
|
95
|
-
},
|
|
96
|
-
|
|
97
|
-
},
|
|
98
|
-
|
|
99
|
-
},
|
|
100
|
-
|
|
101
|
-
},
|
|
102
|
-
return (
|
|
103
|
-
const
|
|
104
|
-
return
|
|
105
|
-
l("div",
|
|
106
|
-
|
|
107
|
-
on:
|
|
108
|
-
show:
|
|
93
|
+
setup(e, { emit: t }) {
|
|
94
|
+
const d = t, r = L(!1), s = M(() => ({ top: e.top, left: e.left, right: e.right, "max-height": e.height })), n = (i) => {
|
|
95
|
+
r.value && f(i);
|
|
96
|
+
}, v = (i) => {
|
|
97
|
+
r.value ? e.hideOnClick && f(i) : u(i), d("click", r.value);
|
|
98
|
+
}, u = (i) => {
|
|
99
|
+
r.value = !0, d("show", i);
|
|
100
|
+
}, f = (i) => {
|
|
101
|
+
r.value = !1, d("close", i);
|
|
102
|
+
}, a = { click: v, open: u };
|
|
103
|
+
return (i, h) => {
|
|
104
|
+
const b = je("outside");
|
|
105
|
+
return de((o(), c("div", ot, [
|
|
106
|
+
l("div", nt, [
|
|
107
|
+
C(i.$slots, "activator", {
|
|
108
|
+
on: a,
|
|
109
|
+
show: r.value
|
|
109
110
|
})
|
|
110
111
|
]),
|
|
111
|
-
|
|
112
|
+
p(Y, {
|
|
112
113
|
"enter-active-class": "duration-300 ease-out",
|
|
113
114
|
"enter-from-class": "transform opacity-0 -translate-y-2",
|
|
114
115
|
"enter-to-class": "opacity-100 translate-y-0",
|
|
@@ -117,124 +118,108 @@ const we = {
|
|
|
117
118
|
"leave-to-class": "transform opacity-0 -translate-y-2"
|
|
118
119
|
}, {
|
|
119
120
|
default: m(() => [
|
|
120
|
-
|
|
121
|
+
r.value ? (o(), c("div", {
|
|
121
122
|
key: 0,
|
|
122
|
-
class: "z-10 min-w-full absolute overflow-auto shadow-lg",
|
|
123
|
-
style:
|
|
124
|
-
onClick:
|
|
123
|
+
class: "z-10 min-w-full absolute overflow-auto shadow-lg scrollbar",
|
|
124
|
+
style: J(s.value),
|
|
125
|
+
onClick: v
|
|
125
126
|
}, [
|
|
126
|
-
|
|
127
|
-
on:
|
|
128
|
-
show:
|
|
129
|
-
hide:
|
|
130
|
-
isShown:
|
|
127
|
+
C(i.$slots, "default", {
|
|
128
|
+
on: a,
|
|
129
|
+
show: u,
|
|
130
|
+
hide: f,
|
|
131
|
+
isShown: r.value
|
|
131
132
|
})
|
|
132
|
-
], 4)) :
|
|
133
|
+
], 4)) : I("", !0)
|
|
133
134
|
]),
|
|
134
135
|
_: 3
|
|
135
136
|
})
|
|
136
137
|
])), [
|
|
137
|
-
[
|
|
138
|
+
[b, n]
|
|
138
139
|
]);
|
|
139
140
|
};
|
|
140
141
|
}
|
|
141
|
-
}),
|
|
142
|
+
}), rt = ["onClick"], le = /* @__PURE__ */ B({
|
|
142
143
|
__name: "VList",
|
|
143
144
|
props: {
|
|
144
|
-
list: {
|
|
145
|
+
list: {},
|
|
146
|
+
className: {}
|
|
145
147
|
},
|
|
146
148
|
emits: ["click"],
|
|
147
|
-
setup(
|
|
148
|
-
const
|
|
149
|
-
return (
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
149
|
+
setup(e, { emit: t }) {
|
|
150
|
+
const d = e, r = t, s = (n, v) => r("click", n, v);
|
|
151
|
+
return (n, v) => (o(), c("ul", {
|
|
152
|
+
class: V(d.className ?? "bg-white dark:bg-gray-800")
|
|
153
|
+
}, [
|
|
154
|
+
(o(!0), c(H, null, N(d.list, (u) => (o(), c("li", {
|
|
155
|
+
key: `${u.value}_${u.name}`,
|
|
156
|
+
class: "whitespace-nowrap cursor-pointer flex items-center min-h-[40px] py-1 px-6 border-b last:border-b-0 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-700/30",
|
|
157
|
+
onClick: (f) => s(u, f)
|
|
154
158
|
}, [
|
|
155
|
-
|
|
156
|
-
|
|
159
|
+
C(n.$slots, "default", { item: u }, () => [
|
|
160
|
+
T(_(u.name), 1)
|
|
157
161
|
])
|
|
158
|
-
], 8,
|
|
159
|
-
]));
|
|
162
|
+
], 8, rt))), 128))
|
|
163
|
+
], 2));
|
|
160
164
|
}
|
|
161
|
-
}),
|
|
162
|
-
width: "24",
|
|
163
|
-
height: "24",
|
|
164
|
-
fill: "currentColor",
|
|
165
|
-
viewBox: "0 0 24 24"
|
|
166
|
-
};
|
|
167
|
-
function Le(t, e) {
|
|
168
|
-
return n(), c("svg", He, [...e[0] || (e[0] = [
|
|
169
|
-
l("path", { d: "m12 13.171 4.95-4.95 1.414 1.415L12 16 5.636 9.636 7.05 8.222z" }, null, -1)
|
|
170
|
-
])]);
|
|
171
|
-
}
|
|
172
|
-
const U = { render: Le }, je = {
|
|
173
|
-
key: 0,
|
|
174
|
-
class: "p-4 py-2"
|
|
175
|
-
}, Y0 = {
|
|
165
|
+
}), d1 = /* @__PURE__ */ B({
|
|
176
166
|
__name: "VAutocomplete",
|
|
177
167
|
props: {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
168
|
+
modelValue: { default: "" },
|
|
169
|
+
label: {},
|
|
170
|
+
name: { default: "" },
|
|
171
|
+
message: { default: "" },
|
|
172
|
+
list: {}
|
|
182
173
|
},
|
|
183
|
-
emits: ["
|
|
184
|
-
setup(t) {
|
|
185
|
-
const
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
174
|
+
emits: ["update:modelValue", "select"],
|
|
175
|
+
setup(e, { emit: t }) {
|
|
176
|
+
const d = t, r = (n) => {
|
|
177
|
+
d("update:modelValue", n);
|
|
178
|
+
}, s = (n, v) => {
|
|
179
|
+
n.click(v), d("select", v);
|
|
180
|
+
};
|
|
181
|
+
return (n, v) => (o(), A(te, D(n.$attrs, {
|
|
182
|
+
top: "50px",
|
|
183
|
+
"hide-on-click": ""
|
|
184
|
+
}), {
|
|
185
|
+
activator: m(({ on: u }) => [
|
|
186
|
+
p(O, {
|
|
187
|
+
"model-value": n.modelValue,
|
|
188
|
+
name: n.name,
|
|
189
|
+
message: n.message,
|
|
190
|
+
label: n.label,
|
|
191
|
+
"onUpdate:modelValue": r,
|
|
192
|
+
onClick: u.open
|
|
193
|
+
}, null, 8, ["model-value", "name", "message", "label", "onClick"])
|
|
194
|
+
]),
|
|
195
|
+
default: m(({ on: u }) => [
|
|
196
|
+
p(le, {
|
|
197
|
+
list: n.list,
|
|
198
|
+
onClick: (f) => s(u, f)
|
|
198
199
|
}, {
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
200
|
+
default: m(({ item: f }) => [
|
|
201
|
+
C(n.$slots, "default", { item: f }, () => [
|
|
202
|
+
T(_(f.name), 1)
|
|
203
|
+
])
|
|
203
204
|
]),
|
|
204
205
|
_: 2
|
|
205
|
-
}, 1032, ["
|
|
206
|
-
]),
|
|
207
|
-
default: m(() => [
|
|
208
|
-
l("div", null, [
|
|
209
|
-
v(Q, {
|
|
210
|
-
list: r.value,
|
|
211
|
-
onClick: h[1] || (h[1] = (p) => s.$emit("change", p))
|
|
212
|
-
}, {
|
|
213
|
-
default: m(({ item: p }) => [
|
|
214
|
-
_(s.$slots, "default", { item: p }, () => [
|
|
215
|
-
V(x(p[t.valueName]), 1)
|
|
216
|
-
])
|
|
217
|
-
]),
|
|
218
|
-
_: 3
|
|
219
|
-
}, 8, ["list"])
|
|
220
|
-
]),
|
|
221
|
-
a.value ? (n(), c("div", je, "Not found")) : C("", !0)
|
|
206
|
+
}, 1032, ["list", "onClick"])
|
|
222
207
|
]),
|
|
223
208
|
_: 3
|
|
224
209
|
}, 16));
|
|
225
210
|
}
|
|
226
|
-
},
|
|
227
|
-
const
|
|
228
|
-
for (const [
|
|
229
|
-
|
|
230
|
-
return
|
|
231
|
-
},
|
|
211
|
+
}), $e = (e, t) => {
|
|
212
|
+
const d = e.__vccOpts || e;
|
|
213
|
+
for (const [r, s] of t)
|
|
214
|
+
d[r] = s;
|
|
215
|
+
return d;
|
|
216
|
+
}, it = {}, dt = {
|
|
232
217
|
class: "animate-spin h-6 w-6",
|
|
233
218
|
fill: "none",
|
|
234
219
|
viewBox: "0 0 24 24"
|
|
235
220
|
};
|
|
236
|
-
function
|
|
237
|
-
return
|
|
221
|
+
function ct(e, t) {
|
|
222
|
+
return o(), c("svg", dt, t[0] || (t[0] = [
|
|
238
223
|
l("circle", {
|
|
239
224
|
class: "opacity-25",
|
|
240
225
|
cx: "12",
|
|
@@ -248,9 +233,9 @@ function Oe(t, e) {
|
|
|
248
233
|
fill: "currentColor",
|
|
249
234
|
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"
|
|
250
235
|
}, null, -1)
|
|
251
|
-
])
|
|
236
|
+
]));
|
|
252
237
|
}
|
|
253
|
-
const
|
|
238
|
+
const we = /* @__PURE__ */ $e(it, [["render", ct]]), ut = "relative flex justify-center items-center transition not-disabled:cursor-pointer not-disabled:hover:opacity-90 disabled:opacity-40 rounded", j = /* @__PURE__ */ B({
|
|
254
239
|
__name: "VButton",
|
|
255
240
|
props: {
|
|
256
241
|
block: { type: Boolean },
|
|
@@ -261,55 +246,65 @@ const ie = /* @__PURE__ */ re(Te, [["render", Oe]]), Ne = "relative flex justify
|
|
|
261
246
|
href: { default: "" },
|
|
262
247
|
to: { default: "" },
|
|
263
248
|
loading: { type: Boolean, default: !1 },
|
|
264
|
-
disabled: { type: Boolean, default: !1 }
|
|
249
|
+
disabled: { type: [Number, Boolean], default: !1 }
|
|
265
250
|
},
|
|
266
251
|
emits: ["click"],
|
|
267
|
-
setup(
|
|
268
|
-
const
|
|
252
|
+
setup(e, { emit: t }) {
|
|
253
|
+
const d = t, r = (g) => d("click", g), s = e.outline ? "border border-green-600 text-green-600" : "bg-green-600 dark:bg-green-800", n = e.outline ? "border border-red-600 text-red-600" : "bg-red-600 dark:bg-red-800", v = e.outline ? "border border-gray-600 text-gray-600" : "bg-gray-500 dark:bg-gray-800", u = e.outline ? "border border-blue-600 text-blue-600" : "bg-blue-700 dark:bg-blue-800", f = { green: s, red: n, gray: v, blue: u }, a = {
|
|
269
254
|
button: "px-4",
|
|
270
|
-
icon: "
|
|
271
|
-
},
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
255
|
+
icon: "rounded-full border border-gray-200 dark:border-gray-800"
|
|
256
|
+
}, i = {
|
|
257
|
+
button: { normal: "h-10", small: "h-8" },
|
|
258
|
+
icon: { normal: "size-10", small: "size-8" }
|
|
259
|
+
}, h = (g, P) => {
|
|
260
|
+
var X;
|
|
261
|
+
return ((X = i[g]) == null ? void 0 : X[P]) || "";
|
|
262
|
+
}, b = (g) => (a == null ? void 0 : a[g]) || "", $ = (g) => e.type === "icon" ? "" : `${e.outline ? "dark:text-white" : "text-white"} ${(f == null ? void 0 : f[g]) || ""}`, y = M(() => [ut, $(e.color), b(e.type), h(e.type, e.size), { "w-full": e.block }]), w = M(() => e.href || e.to ? "router-link" : "button");
|
|
263
|
+
return (g, P) => (o(), A(q(w.value), D(g.$attrs, {
|
|
264
|
+
href: g.href,
|
|
265
|
+
to: g.to,
|
|
266
|
+
class: y.value,
|
|
267
|
+
disabled: !!g.disabled,
|
|
268
|
+
onClick: r
|
|
278
269
|
}), {
|
|
279
270
|
default: m(() => [
|
|
280
271
|
l("span", {
|
|
281
|
-
class:
|
|
272
|
+
class: V(g.loading ? "opacity-0" : "")
|
|
282
273
|
}, [
|
|
283
|
-
|
|
274
|
+
C(g.$slots, "default")
|
|
284
275
|
], 2),
|
|
285
|
-
|
|
276
|
+
g.loading ? (o(), A(we, {
|
|
286
277
|
key: 0,
|
|
287
278
|
class: "absolute left-1/2 -translate-x-1/2"
|
|
288
|
-
})) :
|
|
279
|
+
})) : I("", !0)
|
|
289
280
|
]),
|
|
290
281
|
_: 3
|
|
291
282
|
}, 16, ["href", "to", "class", "disabled"]));
|
|
292
283
|
}
|
|
293
|
-
}),
|
|
284
|
+
}), vt = ["checked", "disabled"], ft = { class: "text-sm ms-2 peer-disabled:opacity-40" }, ht = /* @__PURE__ */ B({
|
|
294
285
|
__name: "VCheckbox",
|
|
295
286
|
props: {
|
|
296
287
|
modelValue: { type: [Number, Boolean], default: !1 },
|
|
297
288
|
disabled: { type: Boolean, default: !1 }
|
|
298
289
|
},
|
|
299
|
-
emits: ["update:modelValue"],
|
|
300
|
-
setup(
|
|
301
|
-
const
|
|
302
|
-
|
|
303
|
-
|
|
290
|
+
emits: ["update:modelValue", "click"],
|
|
291
|
+
setup(e, { emit: t }) {
|
|
292
|
+
const d = t, r = (n) => {
|
|
293
|
+
const v = n.target;
|
|
294
|
+
d("update:modelValue", v.checked);
|
|
295
|
+
}, s = (n) => d("click", n);
|
|
296
|
+
return (n, v) => (o(), c("label", {
|
|
297
|
+
class: V(["inline-flex items-center relative", { "cursor-pointer": !n.disabled }]),
|
|
298
|
+
onClick: s
|
|
304
299
|
}, [
|
|
305
300
|
l("input", {
|
|
306
301
|
type: "checkbox",
|
|
307
|
-
checked: !!
|
|
308
|
-
disabled:
|
|
309
|
-
class:
|
|
310
|
-
onChange:
|
|
311
|
-
}, null,
|
|
312
|
-
|
|
302
|
+
checked: !!n.modelValue,
|
|
303
|
+
disabled: n.disabled,
|
|
304
|
+
class: "peer size-5 transition-all appearance-none rounded border border-gray-300 dark:border-gray-700 disabled:opacity-40 not-disabled:cursor-pointer",
|
|
305
|
+
onChange: r
|
|
306
|
+
}, null, 40, vt),
|
|
307
|
+
v[0] || (v[0] = l("button", { 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" }, [
|
|
313
308
|
l("svg", {
|
|
314
309
|
class: "h-3.5 w-3.5",
|
|
315
310
|
viewBox: "0 0 20 20",
|
|
@@ -324,159 +319,176 @@ const ie = /* @__PURE__ */ re(Te, [["render", Oe]]), Ne = "relative flex justify
|
|
|
324
319
|
})
|
|
325
320
|
])
|
|
326
321
|
], -1)),
|
|
327
|
-
l("span",
|
|
328
|
-
|
|
322
|
+
l("span", ft, [
|
|
323
|
+
C(n.$slots, "default")
|
|
329
324
|
])
|
|
330
325
|
], 2));
|
|
331
326
|
}
|
|
332
|
-
}),
|
|
327
|
+
}), pt = {
|
|
328
|
+
width: "24",
|
|
329
|
+
height: "24",
|
|
330
|
+
fill: "currentColor",
|
|
331
|
+
viewBox: "0 0 24 24"
|
|
332
|
+
};
|
|
333
|
+
function gt(e, t) {
|
|
334
|
+
return o(), c("svg", pt, t[0] || (t[0] = [
|
|
335
|
+
l("path", { d: "m12 13.171 4.95-4.95 1.414 1.415L12 16 5.636 9.636 7.05 8.222z" }, null, -1)
|
|
336
|
+
]));
|
|
337
|
+
}
|
|
338
|
+
const K = { render: gt }, mt = { class: "v-expansion__content max-h-0 overflow-hidden transition-all duration-300" }, bt = { class: "p-4" }, c1 = /* @__PURE__ */ B({
|
|
333
339
|
__name: "VExpansion",
|
|
334
340
|
props: {
|
|
335
341
|
label: { default: "" },
|
|
336
342
|
value: { type: Boolean, default: !1 }
|
|
337
343
|
},
|
|
338
|
-
setup(
|
|
339
|
-
const
|
|
340
|
-
if (!
|
|
341
|
-
const
|
|
342
|
-
|
|
343
|
-
},
|
|
344
|
-
|
|
344
|
+
setup(e) {
|
|
345
|
+
const t = L(null), d = L(e.value), r = () => {
|
|
346
|
+
if (!t.value) return;
|
|
347
|
+
const n = t.value.querySelector(".v-expansion__content");
|
|
348
|
+
n && (n.style.maxHeight = d.value ? `${n.scrollHeight}px` : "0");
|
|
349
|
+
}, s = () => {
|
|
350
|
+
d.value = !d.value, r();
|
|
345
351
|
};
|
|
346
|
-
return
|
|
347
|
-
|
|
348
|
-
}), (
|
|
352
|
+
return ce(() => {
|
|
353
|
+
r();
|
|
354
|
+
}), (n, v) => (o(), c("div", {
|
|
349
355
|
ref_key: "root",
|
|
350
|
-
ref:
|
|
356
|
+
ref: t,
|
|
351
357
|
class: "border-b dark:border-gray-700 border-gray-200"
|
|
352
358
|
}, [
|
|
353
359
|
l("div", {
|
|
354
360
|
class: "cursor-pointer min-h-[60px] px-4 flex items-center justify-between",
|
|
355
|
-
onClick:
|
|
361
|
+
onClick: s
|
|
356
362
|
}, [
|
|
357
|
-
l("h4", null,
|
|
363
|
+
l("h4", null, _(n.label), 1),
|
|
358
364
|
l("div", {
|
|
359
|
-
class:
|
|
365
|
+
class: V(["transition text-gray-400", { "rotate-180": d.value }])
|
|
360
366
|
}, [
|
|
361
|
-
|
|
367
|
+
p(z(K))
|
|
362
368
|
], 2)
|
|
363
369
|
]),
|
|
364
|
-
l("div",
|
|
365
|
-
l("div",
|
|
366
|
-
|
|
370
|
+
l("div", mt, [
|
|
371
|
+
l("div", bt, [
|
|
372
|
+
C(n.$slots, "default")
|
|
367
373
|
])
|
|
368
374
|
])
|
|
369
375
|
], 512));
|
|
370
376
|
}
|
|
371
|
-
}),
|
|
377
|
+
}), yt = ["value", "selected"], Q = /* @__PURE__ */ B({
|
|
372
378
|
__name: "VSelect",
|
|
373
379
|
props: {
|
|
374
380
|
value: { default: "" },
|
|
375
|
-
valueName: { default: "name" },
|
|
376
381
|
label: {},
|
|
377
|
-
disabled: { type: Boolean, default: !1 },
|
|
378
|
-
list: {
|
|
382
|
+
disabled: { type: [Boolean, Number], default: !1 },
|
|
383
|
+
list: {}
|
|
379
384
|
},
|
|
380
385
|
emits: ["update:modelValue", "change"],
|
|
381
|
-
setup(
|
|
382
|
-
const
|
|
383
|
-
|
|
384
|
-
return (
|
|
385
|
-
}),
|
|
386
|
-
|
|
386
|
+
setup(e, { emit: t }) {
|
|
387
|
+
const d = t, r = M(() => {
|
|
388
|
+
const u = e.list.find((f) => f.value === e.value);
|
|
389
|
+
return (u == null ? void 0 : u.name) || "";
|
|
390
|
+
}), s = (u) => ({ "rotate-x-180": u }), n = (u) => {
|
|
391
|
+
const f = u.target, a = (f == null ? void 0 : f.value) || 0, i = e.list.find((h) => h.value == a);
|
|
392
|
+
i && d("change", i);
|
|
393
|
+
}, v = (u, f) => {
|
|
394
|
+
u.click(f), d("change", f);
|
|
387
395
|
};
|
|
388
|
-
return (
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
activator: m(({ on: u, show: s }) => [
|
|
393
|
-
v(A, {
|
|
394
|
-
"model-value": o.value,
|
|
396
|
+
return (u, f) => (o(), A(te, D({ class: "relative w-full" }, u.$attrs, { top: "46px" }), {
|
|
397
|
+
activator: m(({ on: a, show: i }) => [
|
|
398
|
+
p(O, {
|
|
399
|
+
"model-value": r.value,
|
|
395
400
|
readonly: "",
|
|
396
401
|
hideMessage: "",
|
|
397
|
-
disabled:
|
|
402
|
+
disabled: u.disabled,
|
|
398
403
|
active: "",
|
|
399
|
-
label:
|
|
400
|
-
onClick:
|
|
401
|
-
onOnIcon:
|
|
404
|
+
label: u.label,
|
|
405
|
+
onClick: a.click,
|
|
406
|
+
onOnIcon: a.click
|
|
402
407
|
}, {
|
|
403
408
|
icon: m(() => [
|
|
404
|
-
|
|
405
|
-
class:
|
|
409
|
+
p(z(K), {
|
|
410
|
+
class: V(["transition", s(i)])
|
|
406
411
|
}, null, 8, ["class"])
|
|
407
412
|
]),
|
|
408
413
|
_: 2
|
|
409
|
-
}, 1032, ["model-value", "disabled", "label", "onClick", "onOnIcon"])
|
|
414
|
+
}, 1032, ["model-value", "disabled", "label", "onClick", "onOnIcon"]),
|
|
415
|
+
l("select", {
|
|
416
|
+
class: "md:hidden absolute left-0 top-0 w-full h-full opacity-0",
|
|
417
|
+
name: "select",
|
|
418
|
+
onChange: n
|
|
419
|
+
}, [
|
|
420
|
+
(o(!0), c(H, null, N(u.list, (h) => (o(), c("option", {
|
|
421
|
+
key: h.value,
|
|
422
|
+
value: h.value,
|
|
423
|
+
selected: u.value === h.value
|
|
424
|
+
}, _(h.name), 9, yt))), 128))
|
|
425
|
+
], 32)
|
|
410
426
|
]),
|
|
411
|
-
default: m(({ on:
|
|
412
|
-
|
|
413
|
-
list:
|
|
414
|
-
onClick: (
|
|
427
|
+
default: m(({ on: a }) => [
|
|
428
|
+
p(le, {
|
|
429
|
+
list: u.list,
|
|
430
|
+
onClick: (i) => v(a, i)
|
|
415
431
|
}, {
|
|
416
|
-
default: m(({ item:
|
|
417
|
-
|
|
418
|
-
|
|
432
|
+
default: m(({ item: i }) => [
|
|
433
|
+
C(u.$slots, "default", { item: i }, () => [
|
|
434
|
+
T(_(i.name), 1)
|
|
419
435
|
])
|
|
420
436
|
]),
|
|
421
|
-
_:
|
|
422
|
-
},
|
|
437
|
+
_: 2
|
|
438
|
+
}, 1032, ["list", "onClick"])
|
|
423
439
|
]),
|
|
424
440
|
_: 3
|
|
425
441
|
}, 16));
|
|
426
442
|
}
|
|
427
|
-
}),
|
|
428
|
-
__name: "
|
|
443
|
+
}), xt = { class: "flex items-center cursor-pointer" }, u1 = /* @__PURE__ */ B({
|
|
444
|
+
__name: "VFile",
|
|
429
445
|
emits: ["change"],
|
|
430
|
-
setup(
|
|
431
|
-
const
|
|
432
|
-
const
|
|
433
|
-
|
|
434
|
-
const s = a.item(u);
|
|
435
|
-
s && (f.totalSize += s.size, f.files.push({ name: s.name, size: s.size }));
|
|
436
|
-
}
|
|
437
|
-
a.length && (o.value = f, i("change", { files: a, info: f }));
|
|
446
|
+
setup(e, { emit: t }) {
|
|
447
|
+
const d = t, r = async (s) => {
|
|
448
|
+
const n = s.target;
|
|
449
|
+
n.files && d("change", n.files);
|
|
438
450
|
};
|
|
439
|
-
return (
|
|
440
|
-
l("input",
|
|
451
|
+
return (s, n) => (o(), c("label", xt, [
|
|
452
|
+
l("input", D({
|
|
441
453
|
type: "file",
|
|
442
454
|
class: "hidden"
|
|
443
|
-
},
|
|
444
|
-
|
|
455
|
+
}, s.$attrs, { onChange: r }), null, 16),
|
|
456
|
+
C(s.$slots, "default")
|
|
445
457
|
]));
|
|
446
458
|
}
|
|
447
|
-
}),
|
|
459
|
+
}), kt = {
|
|
448
460
|
width: "24",
|
|
449
461
|
height: "24",
|
|
450
462
|
fill: "currentColor",
|
|
451
463
|
viewBox: "0 0 24 24"
|
|
452
464
|
};
|
|
453
|
-
function
|
|
454
|
-
return
|
|
465
|
+
function _t(e, t) {
|
|
466
|
+
return o(), c("svg", kt, t[0] || (t[0] = [
|
|
455
467
|
l("path", { d: "M21 3H3a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m0 9H3V5h18ZM5 10a1 1 0 0 1 1-1h12a1 1 0 0 1 0 2H6a1 1 0 0 1-1-1m11-3a1 1 0 0 1 1-1h1a1 1 0 0 1 0 2h-1a1 1 0 0 1-1-1M9.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.414m5.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.414m-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.414" }, null, -1)
|
|
456
|
-
])
|
|
468
|
+
]));
|
|
457
469
|
}
|
|
458
|
-
const
|
|
470
|
+
const $t = { render: _t }, wt = {
|
|
459
471
|
width: "24",
|
|
460
472
|
height: "24",
|
|
461
473
|
fill: "currentColor",
|
|
462
474
|
viewBox: "-2 0 15.998 15.998"
|
|
463
475
|
};
|
|
464
|
-
function
|
|
465
|
-
return
|
|
476
|
+
function Ct(e, t) {
|
|
477
|
+
return o(), c("svg", wt, t[0] || (t[0] = [
|
|
466
478
|
l("path", {
|
|
467
479
|
d: "M9.785 1.341A6.04 6.04 0 0 0 4.718.132a5.98 5.98 0 0 0-4.6 4.673 5.97 5.97 0 0 0 1.884 5.665v.028a2.49 2.49 0 0 0 1 1.989v1.011a1.5 1.5 0 0 0 1.5 1.5h.355a1.17 1.17 0 0 0 1.145 1 1.17 1.17 0 0 0 1.145-1h.355a1.5 1.5 0 0 0 1.5-1.5v-1.011a2.49 2.49 0 0 0 1-1.989v-.028a5.98 5.98 0 0 0 2-4.472 5.98 5.98 0 0 0-2.217-4.657M8.002 12.998v.5a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-.5zm1.182-3.143a.5.5 0 0 0-.182.386v.257a1.5 1.5 0 0 1-1.5 1.5h-3a1.5 1.5 0 0 1-1.5-1.5v-.257a.5.5 0 0 0-.182-.386 4.98 4.98 0 0 1-1.718-4.857 4.97 4.97 0 0 1 3.821-3.884A5.3 5.3 0 0 1 5.99.998a5 5 0 0 1 3.164 1.117 4.98 4.98 0 0 1 1.848 3.883 4.99 4.99 0 0 1-1.818 3.857M6.502 3.498a.5.5 0 0 1-.5.5 2 2 0 0 0-2 2 .5.5 0 0 1-.5.5.5.5 0 0 1-.5-.5 3 3 0 0 1 3-3 .5.5 0 0 1 .5.5",
|
|
468
480
|
"data-name": "Path 81"
|
|
469
481
|
}, null, -1)
|
|
470
|
-
])
|
|
482
|
+
]));
|
|
471
483
|
}
|
|
472
|
-
const
|
|
484
|
+
const zt = { render: Ct }, Vt = {
|
|
473
485
|
width: "24",
|
|
474
486
|
height: "24",
|
|
475
487
|
fill: "none",
|
|
476
488
|
viewBox: "0 0 24 24"
|
|
477
489
|
};
|
|
478
|
-
function
|
|
479
|
-
return
|
|
490
|
+
function Bt(e, t) {
|
|
491
|
+
return o(), c("svg", Vt, t[0] || (t[0] = [
|
|
480
492
|
l("path", {
|
|
481
493
|
stroke: "currentColor",
|
|
482
494
|
"stroke-linecap": "round",
|
|
@@ -491,92 +503,92 @@ function Ye(t, e) {
|
|
|
491
503
|
"stroke-width": "2",
|
|
492
504
|
d: "M3 16.8V9.2c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C4.52 6 5.08 6 6.2 6h1.055c.123 0 .184 0 .24-.006a1 1 0 0 0 .725-.448c.03-.048.058-.103.113-.213.11-.22.165-.33.228-.425a2 2 0 0 1 1.447-.895C10.123 4 10.246 4 10.492 4h3.018c.246 0 .37 0 .482.013a2 2 0 0 1 1.448.895c.063.095.118.205.228.425.055.11.082.165.113.213a1 1 0 0 0 .724.447c.057.007.118.007.241.007H17.8c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874C21 7.52 21 8.08 21 9.2v7.6c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874C19.48 20 18.92 20 17.8 20H6.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C3 18.48 3 17.92 3 16.8"
|
|
493
505
|
}, null, -1)
|
|
494
|
-
])
|
|
506
|
+
]));
|
|
495
507
|
}
|
|
496
|
-
const
|
|
508
|
+
const Mt = { render: Bt }, It = {
|
|
497
509
|
width: "24",
|
|
498
510
|
height: "24",
|
|
499
511
|
fill: "currentColor",
|
|
500
512
|
viewBox: "0 0 24 24"
|
|
501
513
|
};
|
|
502
|
-
function
|
|
503
|
-
return
|
|
514
|
+
function At(e, t) {
|
|
515
|
+
return o(), c("svg", It, t[0] || (t[0] = [
|
|
504
516
|
l("path", {
|
|
505
517
|
"fill-rule": "evenodd",
|
|
506
518
|
d: "M5.999 10.495a1.5 1.5 0 0 1 1.5 1.5v.01a1.5 1.5 0 0 1-3 0v-.01a1.5 1.5 0 0 1 1.5-1.5m12 0a1.5 1.5 0 0 1 1.5 1.5v.01a1.5 1.5 0 1 1-3 0v-.01a1.5 1.5 0 0 1 1.5-1.5m-4.5 1.5a1.5 1.5 0 1 0-3 0v.01a1.5 1.5 0 0 0 3 0z",
|
|
507
519
|
"clip-rule": "evenodd"
|
|
508
520
|
}, null, -1)
|
|
509
|
-
])
|
|
521
|
+
]));
|
|
510
522
|
}
|
|
511
|
-
const
|
|
523
|
+
const Ce = { render: At }, St = {
|
|
512
524
|
width: "24",
|
|
513
525
|
height: "24",
|
|
514
526
|
viewBox: "0 0 1024 1024"
|
|
515
527
|
};
|
|
516
|
-
function
|
|
517
|
-
return
|
|
528
|
+
function Tt(e, t) {
|
|
529
|
+
return o(), c("svg", St, t[0] || (t[0] = [
|
|
518
530
|
l("path", {
|
|
519
531
|
fill: "currentColor",
|
|
520
532
|
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.8V195l-51.2-51.2c-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.1z"
|
|
521
533
|
}, null, -1)
|
|
522
|
-
])
|
|
534
|
+
]));
|
|
523
535
|
}
|
|
524
|
-
const
|
|
536
|
+
const Ht = { render: Tt }, Dt = {
|
|
525
537
|
width: "24",
|
|
526
538
|
height: "24",
|
|
527
539
|
fill: "currentColor",
|
|
528
540
|
viewBox: "0 0 24 24"
|
|
529
541
|
};
|
|
530
|
-
function
|
|
531
|
-
return
|
|
542
|
+
function Lt(e, t) {
|
|
543
|
+
return o(), c("svg", Dt, t[0] || (t[0] = [
|
|
532
544
|
l("path", { d: "M2 4a1 1 0 0 1 1-1h7.414l2 2H21a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3c-.55 0-1-.45-1-1zm8.586 2-1-1H4v2h5.586zM4 9v10h16V7h-7.586l-2 2z" }, null, -1)
|
|
533
|
-
])
|
|
545
|
+
]));
|
|
534
546
|
}
|
|
535
|
-
const
|
|
547
|
+
const ze = { render: Lt }, jt = {
|
|
536
548
|
width: "24",
|
|
537
549
|
height: "24",
|
|
538
550
|
fill: "currentColor",
|
|
539
551
|
viewBox: "0 0 24 24"
|
|
540
552
|
};
|
|
541
|
-
function
|
|
542
|
-
return
|
|
553
|
+
function Nt(e, t) {
|
|
554
|
+
return o(), c("svg", jt, t[0] || (t[0] = [
|
|
543
555
|
l("path", { d: "m12 10.587 4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.415 1.414-4.95-4.95-4.949 4.95-1.414-1.415 4.95-4.95-4.95-4.95L7.05 5.638z" }, null, -1)
|
|
544
|
-
])
|
|
556
|
+
]));
|
|
545
557
|
}
|
|
546
|
-
const
|
|
558
|
+
const G = { render: Nt }, Ot = {
|
|
547
559
|
width: "24",
|
|
548
560
|
height: "24",
|
|
549
561
|
fill: "none",
|
|
550
562
|
viewBox: "0 0 24 24"
|
|
551
563
|
};
|
|
552
|
-
function
|
|
553
|
-
return
|
|
564
|
+
function Ft(e, t) {
|
|
565
|
+
return o(), c("svg", Ot, t[0] || (t[0] = [
|
|
554
566
|
l("path", {
|
|
555
567
|
fill: "currentColor",
|
|
556
568
|
"fill-rule": "evenodd",
|
|
557
569
|
d: "M5.5 3.25A2.25 2.25 0 0 0 3.25 5.5V9a2.25 2.25 0 0 0 2.25 2.25H9A2.25 2.25 0 0 0 11.25 9V5.5A2.25 2.25 0 0 0 9 3.25zM4.75 5.5a.75.75 0 0 1 .75-.75H9a.75.75 0 0 1 .75.75V9a.75.75 0 0 1-.75.75H5.5A.75.75 0 0 1 4.75 9zm.75 7.25A2.25 2.25 0 0 0 3.25 15v3.5a2.25 2.25 0 0 0 2.25 2.25H9a2.25 2.25 0 0 0 2.25-2.25V15A2.25 2.25 0 0 0 9 12.75zM4.75 15a.75.75 0 0 1 .75-.75H9a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-.75.75H5.5a.75.75 0 0 1-.75-.75zm8-9.5A2.25 2.25 0 0 1 15 3.25h3.5a2.25 2.25 0 0 1 2.25 2.25V9a2.25 2.25 0 0 1-2.25 2.25H15A2.25 2.25 0 0 1 12.75 9zM15 4.75a.75.75 0 0 0-.75.75V9c0 .414.336.75.75.75h3.5a.75.75 0 0 0 .75-.75V5.5a.75.75 0 0 0-.75-.75zm0 8A2.25 2.25 0 0 0 12.75 15v3.5A2.25 2.25 0 0 0 15 20.75h3.5a2.25 2.25 0 0 0 2.25-2.25V15a2.25 2.25 0 0 0-2.25-2.25zM14.25 15a.75.75 0 0 1 .75-.75h3.5a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-.75.75H15a.75.75 0 0 1-.75-.75z",
|
|
558
570
|
"clip-rule": "evenodd"
|
|
559
571
|
}, null, -1)
|
|
560
|
-
])
|
|
572
|
+
]));
|
|
561
573
|
}
|
|
562
|
-
const
|
|
574
|
+
const Pt = { render: Ft }, Et = {
|
|
563
575
|
width: "24",
|
|
564
576
|
height: "24",
|
|
565
577
|
fill: "currentColor",
|
|
566
578
|
viewBox: "0 0 24 24"
|
|
567
579
|
};
|
|
568
|
-
function
|
|
569
|
-
return
|
|
580
|
+
function Rt(e, t) {
|
|
581
|
+
return o(), c("svg", Et, t[0] || (t[0] = [
|
|
570
582
|
l("path", { d: "M11 14v-3h2v3h5a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1zM2.51 8.837C3.835 4.864 7.584 2 12 2c4.418 0 8.166 2.864 9.49 6.837l-1.898.632a8.004 8.004 0 0 0-15.183 0zm3.797 1.265a6.003 6.003 0 0 1 11.387 0l-1.898.633a4.002 4.002 0 0 0-7.592 0zM7 16v4h10v-4z" }, null, -1)
|
|
571
|
-
])
|
|
583
|
+
]));
|
|
572
584
|
}
|
|
573
|
-
const
|
|
585
|
+
const Ut = { render: Rt }, Gt = {
|
|
574
586
|
width: "24",
|
|
575
587
|
height: "24",
|
|
576
588
|
viewBox: "0 0 1024 1024"
|
|
577
589
|
};
|
|
578
|
-
function
|
|
579
|
-
return
|
|
590
|
+
function Wt(e, t) {
|
|
591
|
+
return o(), c("svg", Gt, t[0] || (t[0] = [
|
|
580
592
|
l("path", {
|
|
581
593
|
fill: "#5E676F",
|
|
582
594
|
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.4"
|
|
@@ -589,124 +601,124 @@ function gt(t, e) {
|
|
|
589
601
|
fill: "#5E676F",
|
|
590
602
|
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-.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.1-.2 32.7 2.2 32.7 16.7"
|
|
591
603
|
}, null, -1)
|
|
592
|
-
])
|
|
604
|
+
]));
|
|
593
605
|
}
|
|
594
|
-
const
|
|
606
|
+
const qt = { render: Wt }, Kt = {
|
|
595
607
|
width: "24",
|
|
596
608
|
height: "24",
|
|
597
609
|
fill: "currentColor",
|
|
598
610
|
viewBox: "0 0 24 24"
|
|
599
611
|
};
|
|
600
|
-
function
|
|
601
|
-
return
|
|
612
|
+
function Zt(e, t) {
|
|
613
|
+
return o(), c("svg", Kt, t[0] || (t[0] = [
|
|
602
614
|
l("path", { d: "M3 4h18v2H3zm0 7h12v2H3zm0 7h18v2H3z" }, null, -1)
|
|
603
|
-
])
|
|
615
|
+
]));
|
|
604
616
|
}
|
|
605
|
-
const
|
|
617
|
+
const Ve = { render: Zt }, Jt = {
|
|
606
618
|
width: "24",
|
|
607
619
|
height: "24",
|
|
608
620
|
fill: "currentColor",
|
|
609
621
|
viewBox: "0 0 24 24"
|
|
610
622
|
};
|
|
611
|
-
function
|
|
612
|
-
return
|
|
623
|
+
function Qt(e, t) {
|
|
624
|
+
return o(), c("svg", Jt, t[0] || (t[0] = [
|
|
613
625
|
l("path", { d: "M17.883 19.297A10.95 10.95 0 0 1 12 21c-5.392 0-9.878-3.88-10.818-9A11 11 0 0 1 4.52 5.935L1.394 2.808l1.414-1.414 19.799 19.798-1.414 1.415zM5.936 7.35A8.97 8.97 0 0 0 3.223 12a9.005 9.005 0 0 0 13.201 5.838l-2.028-2.028A4.5 4.5 0 0 1 8.19 9.604zm6.978 6.978-3.242-3.241a2.5 2.5 0 0 0 3.241 3.241m7.893 2.265-1.431-1.431A8.9 8.9 0 0 0 20.778 12 9.005 9.005 0 0 0 9.552 5.338L7.974 3.76C9.221 3.27 10.58 3 12 3c5.392 0 9.878 3.88 10.819 9a10.95 10.95 0 0 1-2.012 4.593m-9.084-9.084Q11.86 7.5 12 7.5a4.5 4.5 0 0 1 4.492 4.778z" }, null, -1)
|
|
614
|
-
])
|
|
626
|
+
]));
|
|
615
627
|
}
|
|
616
|
-
const
|
|
628
|
+
const Xt = { render: Qt }, Yt = {
|
|
617
629
|
width: "24",
|
|
618
630
|
height: "24",
|
|
619
631
|
fill: "currentColor",
|
|
620
632
|
viewBox: "0 0 24 24"
|
|
621
633
|
};
|
|
622
|
-
function
|
|
623
|
-
return
|
|
634
|
+
function el(e, t) {
|
|
635
|
+
return o(), c("svg", Yt, t[0] || (t[0] = [
|
|
624
636
|
l("path", { d: "M12 3c5.392 0 9.878 3.88 10.819 9-.94 5.12-5.427 9-10.819 9s-9.878-3.88-10.818-9C2.122 6.88 6.608 3 12 3m0 16a9.005 9.005 0 0 0 8.778-7 9.005 9.005 0 0 0-17.555 0A9.005 9.005 0 0 0 12 19m0-2.5a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9m0-2a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5" }, null, -1)
|
|
625
|
-
])
|
|
637
|
+
]));
|
|
626
638
|
}
|
|
627
|
-
const
|
|
639
|
+
const tl = { render: el }, ll = {
|
|
628
640
|
width: "24",
|
|
629
641
|
height: "24",
|
|
630
642
|
fill: "currentColor",
|
|
631
643
|
viewBox: "0 0 24 24"
|
|
632
644
|
};
|
|
633
|
-
function
|
|
634
|
-
return
|
|
645
|
+
function sl(e, t) {
|
|
646
|
+
return o(), c("svg", ll, t[0] || (t[0] = [
|
|
635
647
|
l("path", { d: "M9 2.003V2h10.998C20.55 2 21 2.455 21 2.992v18.016a.993.993 0 0 1-.993.992H3.993A1 1 0 0 1 3 20.993V8zM5.83 8H9V4.83zM11 4v5a1 1 0 0 1-1 1H5v10h14V4z" }, null, -1)
|
|
636
|
-
])
|
|
648
|
+
]));
|
|
637
649
|
}
|
|
638
|
-
const
|
|
650
|
+
const al = { render: sl }, ol = {
|
|
639
651
|
width: "24",
|
|
640
652
|
height: "24",
|
|
641
653
|
fill: "currentColor",
|
|
642
654
|
viewBox: "0 0 24 24"
|
|
643
655
|
};
|
|
644
|
-
function
|
|
645
|
-
return
|
|
656
|
+
function nl(e, t) {
|
|
657
|
+
return o(), c("svg", ol, t[0] || (t[0] = [
|
|
646
658
|
l("path", { d: "M3 7h18v10h-2v-2h-2v2h-2v-2h-2v2h-2v-2H9v2H7v-2H5v2H3zM2 5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h20a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1zm9 4H5v3h6zm2 0h6v3h-6z" }, null, -1)
|
|
647
|
-
])
|
|
659
|
+
]));
|
|
648
660
|
}
|
|
649
|
-
const
|
|
661
|
+
const rl = { render: nl }, il = {
|
|
650
662
|
width: "24",
|
|
651
663
|
height: "24",
|
|
652
664
|
fill: "currentColor",
|
|
653
665
|
viewBox: "0 0 24 24"
|
|
654
666
|
};
|
|
655
|
-
function
|
|
656
|
-
return
|
|
667
|
+
function dl(e, t) {
|
|
668
|
+
return o(), c("svg", il, t[0] || (t[0] = [
|
|
657
669
|
l("path", { d: "M12 4a7.99 7.99 0 0 0-6.616 3.5H8v2H2v-6h2V6a9.98 9.98 0 0 1 8-4c5.523 0 10 4.477 10 10h-2a8 8 0 0 0-8-8m-8 8a8 8 0 0 0 14.616 4.5H16v-2h6v6h-2V18a9.98 9.98 0 0 1-8 4C6.477 22 2 17.523 2 12z" }, null, -1)
|
|
658
|
-
])
|
|
670
|
+
]));
|
|
659
671
|
}
|
|
660
|
-
const
|
|
672
|
+
const cl = { render: dl }, ul = {
|
|
661
673
|
width: "24",
|
|
662
674
|
height: "24",
|
|
663
675
|
fill: "currentColor",
|
|
664
676
|
viewBox: "0 0 491.7 491.7"
|
|
665
677
|
};
|
|
666
|
-
function
|
|
667
|
-
return
|
|
678
|
+
function vl(e, t) {
|
|
679
|
+
return o(), c("svg", ul, t[0] || (t[0] = [
|
|
668
680
|
l("path", { d: "M471.1 368.65v-245.7c11.3 0 20.5-9.2 20.5-20.5s-9.2-20.5-20.5-20.5h-1c-4.8-23.3-25.4-41-50.2-41-24.7 0-45.4 17.6-50.2 41h-22.6c-4.8-23.3-25.4-41-50.2-41-24.7 0-45.4 17.6-50.2 41h-22.6c-4.8-23.3-25.4-41-50.2-41-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.05 0 9.25 0 20.55v450.6c0 11.3 9.2 20.5 20.5 20.5h61.4c11.3 0 20.5-9.2 20.5-20.5v-61.4h21.5c4.8 23.3 25.4 41 50.2 41 24.7 0 45.4-17.6 50.2-41h22.5c4.8 23.3 25.4 41 50.2 41 24.7 0 45.4-17.6 50.2-41h22.6c4.8 23.3 25.4 41 50.2 41 24.7 0 45.4-17.6 50.2-41h1c11.3 0 20.5-9.2 20.5-20.5s-9.3-20.6-20.6-20.6m-348.2 0h-20.5v-245.7h20.5zm122.9 0h-20.5v-245.7h20.5zm122.9 0h-20.5v-245.7h20.5z" }, null, -1)
|
|
669
|
-
])
|
|
681
|
+
]));
|
|
670
682
|
}
|
|
671
|
-
const
|
|
683
|
+
const fl = { render: vl }, hl = {
|
|
672
684
|
width: "24",
|
|
673
685
|
height: "24",
|
|
674
686
|
fill: "currentColor",
|
|
675
687
|
viewBox: "0 0 24 24"
|
|
676
688
|
};
|
|
677
|
-
function
|
|
678
|
-
return
|
|
689
|
+
function pl(e, t) {
|
|
690
|
+
return o(), c("svg", hl, t[0] || (t[0] = [
|
|
679
691
|
l("path", { d: "M6.17 18a3.001 3.001 0 0 1 5.66 0H22v2H11.83a3.001 3.001 0 0 1-5.66 0H2v-2zm6-7a3.001 3.001 0 0 1 5.66 0H22v2h-4.17a3.001 3.001 0 0 1-5.66 0H2v-2zm-6-7a3.001 3.001 0 0 1 5.66 0H22v2H11.83a3.001 3.001 0 0 1-5.66 0H2V4zM9 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2m6 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2m-6 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2" }, null, -1)
|
|
680
|
-
])
|
|
692
|
+
]));
|
|
681
693
|
}
|
|
682
|
-
const
|
|
694
|
+
const gl = { render: pl }, ml = {
|
|
683
695
|
fill: "currentColor",
|
|
684
696
|
viewBox: "0 0 179 40"
|
|
685
697
|
};
|
|
686
|
-
function
|
|
687
|
-
return
|
|
698
|
+
function bl(e, t) {
|
|
699
|
+
return o(), c("svg", ml, t[0] || (t[0] = [
|
|
688
700
|
l("path", { d: "M24.264 11.217c0 5.347-1.898 11.74-5.138 15.962-1.05 1.368-4.049 4.478-5.816 2.415-1.26-1.471-.47-5.037-.116-6.673 1.218-5.628 2.62-10.76 4.028-16.343-3.656 1.984-9.07-3.295-9.35-.302-1.637 9.446-3.83 27.866 2.174 29.46 10.87 1.45 15.99-11.283 17.198-20.29.29-2.16.548-4.363.32-6.548-.312-2.973-3.296-4.46-5.819-2.946-1.518.911-1.614 4.085-.257 5.187.726.59 1.983.421 2.776.078M40.744 4.761l.002 12.436-3.502 3.412 3.502 3.467v12.438l.536.003s.01-12.404-.007-12.438l3.487-3.38-3.486-3.5V4.762zM133.638 24.706c-.732-.23-2.09-.29-2.649.141-.739.62-.084 3.093-.101 3.953.052 2.697 2.753 4.142 4.786 4.502 0 0 5.988.651 9.036-.742 4.77-2.18 5.416-8.62 1.848-12.205-2.025-2.5-9.668-4.457-10.485-6.835-.87-1.026-.335-3.054.678-3.806 1.39-1.031 3.442-1.004 5.036-.684 1.742.35 1.88 1.86 2.391 3.398.197.594.383 1.686 1.077 1.865.299.077.62-.015.917-.052 2.183-.275 1.5-1.558 1.607-3.303.05-.821.295-2.215-.15-2.967-.796-1.348-2.323-1.36-4.115-2.092-1.594-.398-4.328-.75-6.644-.171-1.85.462-3.787 1.432-4.948 3.037-2.167 2.996-1.276 7.802 1.363 10.191 2.946 2.668 7.76 2.97 10.153 6.317 2.246 3.14-2.486 5.148-4.93 4.933-5.303-.047-3.14-4.191-4.87-5.48M69.501 9.017l2.79 1.228-6.112 16.509c-1.73-6.733-3.409-12.76-4.916-16.645.763-.164 2.385-.561 2.71-1.379.31-.777-.152-1.78-.185-2.578-1.213.102-10.556-.31-10.951.317-.136.714-.511 1.768-.264 2.358.537 1.168 2.501.48 3.156 1.892 3.442 7.402 5.118 14.56 8.09 21.355 4.96 7.37 8.38-12.623 9.603-16.235.543-1.613.958-4.097 2.019-5.426 2.014-2.379 3.85-.734 2.906-3.831-.696-.811-8.386-.374-8.556-.21-.459.588-1 1.064-.29 2.645M80.132 6.152c-.133.66-.653 2.2-.18 2.777.652.799 2.702.514 2.851 1.731.478 3.898-.053 7.953.114 11.864.117 2.75.464 5.712 2.276 7.908 4.83 5.85 15.167 3.5 17.052-3.815 1.214-4.715.4-11.024.41-15.866.004-2.154 2.064-.485 2.985-1.822.444-.644-.16-2.072-.262-2.777-2.718-.035-5.428-.035-8.14.14l-.497 1.634c.113 1.896 1.512 1.37 3.177 1.604.043 1.254.012 6.675.012 9.72 0 2.647.063 5.503-1.181 7.913-2.068 4.005-8.193 4.012-9.95-.273-1.413-3.448-.816-7.672-.828-11.324-.005-1.499-.332-3.457.043-4.906.338-1.309 2.209-.877 2.931-1.731.437-.517-.069-2.144-.183-2.777zM127.818 32.925c-.679-4.31.658-7.155-.196-8.136-.421-.431-2.323-.529-2.71-.039-1.014 1.285-.798 3.762-1.958 4.923-.416.417-1.365.2-1.896.23-1.741.102-3.441-.012-5.182-.012l-.133-9.277c.96.125 2.881-.272 3.683.173.886.492.476 2.324 1.403 2.802.685-.01 1.735.065 2.325-.192.692-1.059.497-8.27-.002-8.546-.733-.033-1.767-.39-2.332-.158-.876.392-.664 2.078-1.41 2.7-.694.582-2.845.284-3.667.083l.002-2.728.13-5.73h4.784c.558 0 1.464-.174 1.957.14 1.26.801.695 3.447 1.82 4.22.62.427 1.889-.277 2.601-.268-.23-1.368.688-6.107-.08-6.817-1.139-.024-16.47.013-18.903.078-.373.446-.561 2.128-.203 2.593.642.835 2.147.596 2.721 1.358.6 3.898 1.049 13.15.08 18.054-.291 1.062-2.151.814-2.745 1.614-.212.714-.099 1.82.204 2.463.685 1.025 14.62.433 19.707.472M154.942 10.245c0 5.923.508 12.11-.008 18.007-.107 1.218-1.978 1.03-2.74 1.65-.558.453-.26 1.97-.023 2.561 2.088.638 11.468 1.266 11.878-.662.076-.417.314-1.307.056-1.677-.767-1.097-3.844-.326-4.094-1.876-.009-7.56-.047-7.539-.02-19.23 2.151 0 4.55-.408 6.242 1.24 2.427 2.36 1.587 7.287-1.193 8.953-1.019.611-2.45.448-3.587.448v3.138c3.081 0 6.756-.03 9.168-2.332 3.776-3.607 2.622-11.45-2.126-13.607-.624-1.135-12.871-2.346-16.036-.605-.358.188-.487.817-.42 1.14-.444 2.346 1.134 2.54 2.903 2.852" }, null, -1)
|
|
689
|
-
])
|
|
701
|
+
]));
|
|
690
702
|
}
|
|
691
|
-
const
|
|
703
|
+
const fe = { render: bl }, yl = {
|
|
692
704
|
width: "40",
|
|
693
705
|
height: "40",
|
|
694
706
|
fill: "currentColor",
|
|
695
707
|
viewBox: "0 0 40 40"
|
|
696
708
|
};
|
|
697
|
-
function
|
|
698
|
-
return
|
|
709
|
+
function xl(e, t) {
|
|
710
|
+
return o(), c("svg", yl, t[0] || (t[0] = [
|
|
699
711
|
l("path", { d: "M24.264 11.217c0 5.347-1.898 11.74-5.138 15.962-1.05 1.368-4.049 4.478-5.816 2.415-1.26-1.471-.47-5.037-.116-6.673 1.218-5.628 2.62-10.76 4.028-16.343-3.656 1.984-9.07-3.295-9.35-.302-1.637 9.446-3.83 27.866 2.174 29.46 10.87 1.45 15.99-11.283 17.198-20.29.29-2.16.548-4.363.32-6.548-.312-2.973-3.296-4.46-5.819-2.946-1.518.911-1.614 4.085-.257 5.187.726.59 1.983.421 2.776.078" }, null, -1)
|
|
700
|
-
])
|
|
712
|
+
]));
|
|
701
713
|
}
|
|
702
|
-
const
|
|
714
|
+
const Be = { render: xl }, kl = {
|
|
703
715
|
width: "24",
|
|
704
716
|
height: "24",
|
|
705
717
|
fill: "none",
|
|
706
718
|
viewBox: "0 0 24 24"
|
|
707
719
|
};
|
|
708
|
-
function
|
|
709
|
-
return
|
|
720
|
+
function _l(e, t) {
|
|
721
|
+
return o(), c("svg", kl, t[0] || (t[0] = [
|
|
710
722
|
l("path", {
|
|
711
723
|
stroke: "currentColor",
|
|
712
724
|
"stroke-linecap": "round",
|
|
@@ -720,12 +732,12 @@ function Rt(t, e) {
|
|
|
720
732
|
"stroke-width": "2",
|
|
721
733
|
d: "M12 6v7"
|
|
722
734
|
}, null, -1)
|
|
723
|
-
])
|
|
735
|
+
]));
|
|
724
736
|
}
|
|
725
|
-
const
|
|
726
|
-
function
|
|
727
|
-
return
|
|
728
|
-
|
|
737
|
+
const re = { render: _l };
|
|
738
|
+
function $l(e, t) {
|
|
739
|
+
return o(), c(H, null, [
|
|
740
|
+
t[0] || (t[0] = l("svg", {
|
|
729
741
|
width: "20",
|
|
730
742
|
height: "20",
|
|
731
743
|
fill: "currentColor",
|
|
@@ -734,7 +746,7 @@ function Wt(t, e) {
|
|
|
734
746
|
}, [
|
|
735
747
|
l("path", { d: "M10 7a7 7 0 0 0 12 4.9v.1c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2h.1A6.98 6.98 0 0 0 10 7m-6 5a8 8 0 0 0 15.062 3.762A9 9 0 0 1 8.238 4.938 8 8 0 0 0 4 12" })
|
|
736
748
|
], -1)),
|
|
737
|
-
|
|
749
|
+
t[1] || (t[1] = l("svg", {
|
|
738
750
|
width: "20",
|
|
739
751
|
height: "20",
|
|
740
752
|
fill: "currentColor",
|
|
@@ -745,25 +757,25 @@ function Wt(t, e) {
|
|
|
745
757
|
], -1))
|
|
746
758
|
], 64);
|
|
747
759
|
}
|
|
748
|
-
const
|
|
760
|
+
const Me = { render: $l }, wl = {
|
|
749
761
|
width: "24",
|
|
750
762
|
height: "24",
|
|
751
763
|
fill: "currentColor",
|
|
752
764
|
viewBox: "0 0 24 24"
|
|
753
765
|
};
|
|
754
|
-
function
|
|
755
|
-
return
|
|
766
|
+
function Cl(e, t) {
|
|
767
|
+
return o(), c("svg", wl, t[0] || (t[0] = [
|
|
756
768
|
l("path", { d: "M12 10h7L8 22l3-9H5l8-11Z" }, null, -1)
|
|
757
|
-
])
|
|
769
|
+
]));
|
|
758
770
|
}
|
|
759
|
-
const
|
|
771
|
+
const zl = { render: Cl }, Vl = {
|
|
760
772
|
width: "24",
|
|
761
773
|
height: "24",
|
|
762
774
|
fill: "none",
|
|
763
775
|
viewBox: "0 0 24 24"
|
|
764
776
|
};
|
|
765
|
-
function
|
|
766
|
-
return
|
|
777
|
+
function Bl(e, t) {
|
|
778
|
+
return o(), c("svg", Vl, t[0] || (t[0] = [
|
|
767
779
|
l("path", {
|
|
768
780
|
stroke: "currentColor",
|
|
769
781
|
"stroke-linecap": "round",
|
|
@@ -771,60 +783,60 @@ function Yt(t, e) {
|
|
|
771
783
|
"stroke-width": "2",
|
|
772
784
|
d: "M12 14.5v2m-5-6.471C7.471 10 8.053 10 8.8 10h6.4c.747 0 1.329 0 1.8.029m-10 0c-.588.036-1.006.117-1.362.298a3 3 0 0 0-1.311 1.311C4 12.28 4 13.12 4 14.8v1.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 21 7.12 21 8.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 18.72 20 17.88 20 16.2v-1.4c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311c-.356-.181-.774-.262-1.362-.298m-10 0V8a5 5 0 0 1 10 0v2.029"
|
|
773
785
|
}, null, -1)
|
|
774
|
-
])
|
|
786
|
+
]));
|
|
775
787
|
}
|
|
776
|
-
const
|
|
788
|
+
const Ml = { render: Bl }, Il = {
|
|
777
789
|
width: "22",
|
|
778
790
|
height: "22",
|
|
779
791
|
fill: "currentColor",
|
|
780
792
|
viewBox: "0 0 24 24"
|
|
781
793
|
};
|
|
782
|
-
function
|
|
783
|
-
return
|
|
794
|
+
function Al(e, t) {
|
|
795
|
+
return o(), c("svg", Il, t[0] || (t[0] = [
|
|
784
796
|
l("path", { d: "M5 22a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v3h-2V4H6v16h12v-2h2v3a1 1 0 0 1-1 1zm13-6v-3h-7v-2h7V8l5 4z" }, null, -1)
|
|
785
|
-
])
|
|
797
|
+
]));
|
|
786
798
|
}
|
|
787
|
-
const
|
|
799
|
+
const Ie = { render: Al }, Sl = {
|
|
788
800
|
width: "24",
|
|
789
801
|
height: "24",
|
|
790
802
|
fill: "currentColor",
|
|
791
803
|
viewBox: "0 0 24 24"
|
|
792
804
|
};
|
|
793
|
-
function
|
|
794
|
-
return
|
|
805
|
+
function Tl(e, t) {
|
|
806
|
+
return o(), c("svg", Sl, t[0] || (t[0] = [
|
|
795
807
|
l("path", { d: "M22 20H2v-2h1v-6.969C3 6.043 7.03 2 12 2s9 4.043 9 9.031V18h1zM5 18h14v-6.969C19 7.148 15.866 4 12 4s-7 3.148-7 7.031zm4.5 3h5a2.5 2.5 0 0 1-5 0" }, null, -1)
|
|
796
|
-
])
|
|
808
|
+
]));
|
|
797
809
|
}
|
|
798
|
-
const he = { render:
|
|
810
|
+
const he = { render: Tl }, Hl = {
|
|
799
811
|
width: "24",
|
|
800
812
|
height: "24",
|
|
801
813
|
fill: "currentColor",
|
|
802
814
|
viewBox: "0 0 24 24"
|
|
803
815
|
};
|
|
804
|
-
function
|
|
805
|
-
return
|
|
816
|
+
function Dl(e, t) {
|
|
817
|
+
return o(), c("svg", Hl, t[0] || (t[0] = [
|
|
806
818
|
l("path", { d: "M7 19v-6h10v6h2V7.828L16.172 5H5v14zM4 3h13l4 4v13a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1m5 12v4h6v-4z" }, null, -1)
|
|
807
|
-
])
|
|
819
|
+
]));
|
|
808
820
|
}
|
|
809
|
-
const
|
|
821
|
+
const ie = { render: Dl }, Ll = {
|
|
810
822
|
width: "24",
|
|
811
823
|
height: "24",
|
|
812
824
|
fill: "currentColor",
|
|
813
825
|
viewBox: "0 0 30 30"
|
|
814
826
|
};
|
|
815
|
-
function
|
|
816
|
-
return
|
|
827
|
+
function jl(e, t) {
|
|
828
|
+
return o(), c("svg", Ll, t[0] || (t[0] = [
|
|
817
829
|
l("path", { d: "M13 3C7.489 3 3 7.489 3 13s4.489 10 10 10a9.95 9.95 0 0 0 6.322-2.264l5.971 5.971a1 1 0 1 0 1.414-1.414l-5.97-5.97A9.95 9.95 0 0 0 23 13c0-5.511-4.489-10-10-10m0 2c4.43 0 8 3.57 8 8s-3.57 8-8 8-8-3.57-8-8 3.57-8 8-8" }, null, -1)
|
|
818
|
-
])
|
|
830
|
+
]));
|
|
819
831
|
}
|
|
820
|
-
const
|
|
832
|
+
const Nl = { render: jl }, Ol = {
|
|
821
833
|
width: "24",
|
|
822
834
|
height: "24",
|
|
823
835
|
fill: "none",
|
|
824
836
|
viewBox: "0 0 24 24"
|
|
825
837
|
};
|
|
826
|
-
function
|
|
827
|
-
return
|
|
838
|
+
function Fl(e, t) {
|
|
839
|
+
return o(), c("svg", Ol, t[0] || (t[0] = [
|
|
828
840
|
l("path", {
|
|
829
841
|
stroke: "currentColor",
|
|
830
842
|
"stroke-linecap": "round",
|
|
@@ -832,59 +844,59 @@ function u1(t, e) {
|
|
|
832
844
|
"stroke-width": "2",
|
|
833
845
|
d: "M7 20H4.6c-.56 0-.84 0-1.054-.109a1 1 0 0 1-.437-.437C3 19.24 3 18.96 3 18.4V9.04c0-.377 0-.565.06-.729a1 1 0 0 1 .248-.383c.126-.121.298-.197.642-.35L12 4l8.05 3.578c.344.153.516.229.642.35a1 1 0 0 1 .249.383c.059.164.059.352.059.729v9.36c0 .56 0 .84-.109 1.054a1 1 0 0 1-.437.437C20.24 20 19.96 20 19.4 20H17M7 20h10M7 20v-6m10 6v-6M7 14v-4h10v4M7 14h10"
|
|
834
846
|
}, null, -1)
|
|
835
|
-
])
|
|
847
|
+
]));
|
|
836
848
|
}
|
|
837
|
-
const
|
|
849
|
+
const Pl = { render: Fl }, El = {
|
|
838
850
|
width: "24",
|
|
839
851
|
height: "24",
|
|
840
852
|
fill: "currentColor",
|
|
841
853
|
viewBox: "0 0 24 24"
|
|
842
854
|
};
|
|
843
|
-
function
|
|
844
|
-
return
|
|
855
|
+
function Rl(e, t) {
|
|
856
|
+
return o(), c("svg", El, t[0] || (t[0] = [
|
|
845
857
|
l("path", {
|
|
846
858
|
"fill-rule": "evenodd",
|
|
847
859
|
d: "M11.943 1.25h.114c2.309 0 4.118 0 5.53.19 1.444.194 2.584.6 3.479 1.494.895.895 1.3 2.035 1.494 3.48.19 1.411.19 3.22.19 5.529v.114c0 2.309 0 4.118-.19 5.53-.194 1.444-.6 2.584-1.494 3.479-.895.895-2.035 1.3-3.48 1.494-1.411.19-3.22.19-5.529.19h-.114c-2.309 0-4.118 0-5.53-.19-1.444-.194-2.584-.6-3.479-1.494-.895-.895-1.3-2.035-1.494-3.48-.19-1.411-.19-3.22-.19-5.529v-.114c0-2.309 0-4.118.19-5.53.194-1.444.6-2.584 1.494-3.479.895-.895 2.035-1.3 3.48-1.494 1.411-.19 3.22-.19 5.529-.19m-5.33 1.676c-1.278.172-2.049.5-2.618 1.069-.57.57-.897 1.34-1.069 2.619-.174 1.3-.176 3.008-.176 5.386s.002 4.086.176 5.386c.172 1.279.5 2.05 1.069 2.62.57.569 1.34.896 2.619 1.068 1.3.174 3.008.176 5.386.176s4.086-.002 5.386-.176c1.279-.172 2.05-.5 2.62-1.069.569-.57.896-1.34 1.068-2.619.174-1.3.176-3.008.176-5.386s-.002-4.086-.176-5.386c-.172-1.279-.5-2.05-1.069-2.62-.57-.569-1.34-.896-2.619-1.068-1.3-.174-3.008-.176-5.386-.176s-4.086.002-5.386.176m4.637 3.877a5.251 5.251 0 0 0 0 10.394V16.5a.75.75 0 0 1 1.5 0v.697a5.251 5.251 0 0 0 0-10.394V7.5a.75.75 0 0 1-1.5 0zM5.25 12a6.75 6.75 0 1 1 13.5 0 6.75 6.75 0 0 1-13.5 0",
|
|
848
860
|
"clip-rule": "evenodd"
|
|
849
861
|
}, null, -1),
|
|
850
862
|
l("path", { d: "M15 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0M11 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0" }, null, -1)
|
|
851
|
-
])
|
|
863
|
+
]));
|
|
852
864
|
}
|
|
853
|
-
const
|
|
865
|
+
const Ul = { render: Rl }, Gl = {
|
|
854
866
|
width: "24",
|
|
855
867
|
height: "24",
|
|
856
868
|
fill: "currentColor",
|
|
857
869
|
viewBox: "0 0 24 24"
|
|
858
870
|
};
|
|
859
|
-
function
|
|
860
|
-
return
|
|
871
|
+
function Wl(e, t) {
|
|
872
|
+
return o(), c("svg", Gl, t[0] || (t[0] = [
|
|
861
873
|
l("path", { d: "M5 12.5c0 .313.461.858 1.53 1.393C7.914 14.585 9.877 15 12 15s4.086-.415 5.47-1.107c1.069-.535 1.53-1.08 1.53-1.393v-2.171C17.35 11.349 14.827 12 12 12s-5.35-.652-7-1.671zm14 2.829C17.35 16.349 14.827 17 12 17s-5.35-.652-7-1.671V17.5c0 .313.461.858 1.53 1.393C7.914 19.585 9.877 20 12 20s4.086-.415 5.47-1.107c1.069-.535 1.53-1.08 1.53-1.393zM3 17.5v-10C3 5.015 7.03 3 12 3s9 2.015 9 4.5v10c0 2.485-4.03 4.5-9 4.5s-9-2.015-9-4.5m9-7.5c2.123 0 4.086-.415 5.47-1.107C18.539 8.358 19 7.813 19 7.5s-.461-.858-1.53-1.393C16.086 5.415 14.123 5 12 5s-4.086.415-5.47 1.107C5.461 6.642 5 7.187 5 7.5s.461.858 1.53 1.393C7.914 9.585 9.877 10 12 10" }, null, -1)
|
|
862
|
-
])
|
|
874
|
+
]));
|
|
863
875
|
}
|
|
864
|
-
const
|
|
876
|
+
const ql = { render: Wl }, Kl = {
|
|
865
877
|
width: "24",
|
|
866
878
|
height: "24",
|
|
867
879
|
fill: "currentColor",
|
|
868
880
|
viewBox: "0 0 24 24"
|
|
869
881
|
};
|
|
870
|
-
function
|
|
871
|
-
return
|
|
882
|
+
function Zl(e, t) {
|
|
883
|
+
return o(), c("svg", Kl, t[0] || (t[0] = [
|
|
872
884
|
l("path", { d: "M12 19a1 1 0 1 0 0-2 1 1 0 0 0 0 2" }, null, -1),
|
|
873
885
|
l("path", {
|
|
874
886
|
"fill-rule": "evenodd",
|
|
875
887
|
d: "M15 14a5 5 0 1 1-6 0V4a3 3 0 1 1 6 0zM13 4v11.17A3.001 3.001 0 0 1 12 21a3 3 0 0 1-1-5.83V4a1 1 0 1 1 2 0",
|
|
876
888
|
"clip-rule": "evenodd"
|
|
877
889
|
}, null, -1)
|
|
878
|
-
])
|
|
890
|
+
]));
|
|
879
891
|
}
|
|
880
|
-
const
|
|
892
|
+
const be = { render: Zl }, Jl = {
|
|
881
893
|
width: "24",
|
|
882
894
|
height: "24",
|
|
883
895
|
fill: "none",
|
|
884
896
|
viewBox: "0 0 24 24"
|
|
885
897
|
};
|
|
886
|
-
function
|
|
887
|
-
return
|
|
898
|
+
function Ql(e, t) {
|
|
899
|
+
return o(), c("svg", Jl, t[0] || (t[0] = [
|
|
888
900
|
l("path", {
|
|
889
901
|
stroke: "currentColor",
|
|
890
902
|
"stroke-linecap": "round",
|
|
@@ -892,225 +904,496 @@ function _1(t, e) {
|
|
|
892
904
|
"stroke-width": "2",
|
|
893
905
|
d: "M15 7v14m3-10h.01M18 14h.01M18 17h.01M17 3l-5 4-5-4m.8 18h8.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 18.72 21 17.88 21 16.2v-4.4c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C18.72 7 17.88 7 16.2 7H7.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C3 9.28 3 10.12 3 11.8v4.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 21 6.12 21 7.8 21"
|
|
894
906
|
}, null, -1)
|
|
895
|
-
])
|
|
907
|
+
]));
|
|
896
908
|
}
|
|
897
|
-
const
|
|
909
|
+
const Xl = { render: Ql }, Yl = {
|
|
898
910
|
width: "24",
|
|
899
911
|
height: "24",
|
|
900
912
|
fill: "currentColor",
|
|
901
913
|
viewBox: "0 0 24 24"
|
|
902
914
|
};
|
|
903
|
-
function
|
|
904
|
-
return
|
|
915
|
+
function es(e, t) {
|
|
916
|
+
return o(), c("svg", Yl, t[0] || (t[0] = [
|
|
905
917
|
l("path", {
|
|
906
918
|
"fill-rule": "evenodd",
|
|
907
919
|
d: "M12 3.482a8.519 8.519 0 1 0 0 17.037 8.519 8.519 0 0 0 0-17.037M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12",
|
|
908
920
|
"clip-rule": "evenodd"
|
|
909
921
|
}, null, -1),
|
|
910
922
|
l("path", { d: "M12 11.3a.7.7 0 1 0 0 1.4.7.7 0 0 0 0-1.4m.35-6.3c3.15 0 3.22 2.499 1.561 3.325a2.35 2.35 0 0 0-1.134 1.729c.335.139.63.358.861.637C16.2 9.291 19 9.844 19 12.35c0 3.15-2.506 3.22-3.325 1.561a2.4 2.4 0 0 0-1.75-1.134c-.14.334-.359.629-.637.861 1.4 2.583.84 5.362-1.666 5.362-3.122 0-3.199-2.506-1.54-3.332a2.42 2.42 0 0 0 1.134-1.715 2.1 2.1 0 0 1-.875-.644C7.758 14.695 5 14.149 5 11.65c0-3.15 2.478-3.227 3.304-1.568a2.37 2.37 0 0 0 1.736 1.127c.135-.337.357-.632.644-.854C9.291 7.8 9.844 5 12.336 5z" }, null, -1)
|
|
911
|
-
])
|
|
923
|
+
]));
|
|
912
924
|
}
|
|
913
|
-
const
|
|
925
|
+
const ts = { render: es }, ls = {
|
|
914
926
|
width: "24",
|
|
915
927
|
height: "24",
|
|
916
928
|
fill: "currentColor",
|
|
917
929
|
viewBox: "0 0 24 24"
|
|
918
930
|
};
|
|
919
|
-
function
|
|
920
|
-
return
|
|
931
|
+
function ss(e, t) {
|
|
932
|
+
return o(), c("svg", ls, t[0] || (t[0] = [
|
|
921
933
|
l("path", { d: "M16 4a1 1 0 0 1 1 1v4.2l5.213-3.65a.5.5 0 0 1 .787.41v12.08a.5.5 0 0 1-.787.41L17 14.8V19a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1zm-1 2H3v12h12zM7.4 8.829a.4.4 0 0 1 .215.062l4.355 2.771a.4.4 0 0 1 0 .675L7.615 15.11A.4.4 0 0 1 7 14.77V9.23c0-.221.18-.4.4-.4M21 8.84l-4 2.8v.718l4 2.8z" }, null, -1)
|
|
922
|
-
])
|
|
934
|
+
]));
|
|
923
935
|
}
|
|
924
|
-
const
|
|
936
|
+
const as = { render: ss }, os = {
|
|
925
937
|
width: "24",
|
|
926
938
|
height: "24",
|
|
927
939
|
fill: "currentColor",
|
|
928
940
|
viewBox: "0 0 24 24"
|
|
929
941
|
};
|
|
930
|
-
function
|
|
931
|
-
return
|
|
942
|
+
function ns(e, t) {
|
|
943
|
+
return o(), c("svg", os, t[0] || (t[0] = [
|
|
932
944
|
l("path", { d: "M12 2C6.489 2 2 6.489 2 12s4.489 10 10 10 10-4.489 10-10S17.511 2 12 2m0 2c4.43 0 8 3.57 8 8s-3.57 8-8 8-8-3.57-8-8 3.57-8 8-8m-1 3v2h2V7zm0 4v6h2v-6z" }, null, -1)
|
|
933
|
-
])
|
|
945
|
+
]));
|
|
946
|
+
}
|
|
947
|
+
const rs = { render: ns }, is = {
|
|
948
|
+
width: "24",
|
|
949
|
+
height: "24",
|
|
950
|
+
fill: "currentColor",
|
|
951
|
+
"fill-rule": "evenodd",
|
|
952
|
+
viewBox: "0 0 24 24"
|
|
953
|
+
};
|
|
954
|
+
function ds(e, t) {
|
|
955
|
+
return o(), c("svg", is, t[0] || (t[0] = [
|
|
956
|
+
l("path", { d: "M11 2v9H2v2h9v9h2v-9h9v-2h-9V2Z" }, null, -1)
|
|
957
|
+
]));
|
|
934
958
|
}
|
|
935
|
-
const
|
|
959
|
+
const se = { render: ds }, Z = /* @__PURE__ */ B({
|
|
936
960
|
__name: "VIcons",
|
|
937
961
|
props: {
|
|
938
962
|
name: {}
|
|
939
963
|
},
|
|
940
|
-
setup(
|
|
941
|
-
const
|
|
942
|
-
IconDots:
|
|
943
|
-
IconAir:
|
|
944
|
-
IconBulb:
|
|
945
|
-
IconCold:
|
|
946
|
-
IconCamera:
|
|
947
|
-
IconVent:
|
|
948
|
-
IconGarage:
|
|
949
|
-
IconVideo:
|
|
950
|
-
IconLight:
|
|
951
|
-
IconTv:
|
|
952
|
-
IconTherm:
|
|
953
|
-
IconStore:
|
|
954
|
-
IconSocket:
|
|
955
|
-
IconSearch:
|
|
956
|
-
IconSave:
|
|
964
|
+
setup(e) {
|
|
965
|
+
const t = {
|
|
966
|
+
IconDots: Ce,
|
|
967
|
+
IconAir: $t,
|
|
968
|
+
IconBulb: zt,
|
|
969
|
+
IconCold: Ht,
|
|
970
|
+
IconCamera: Mt,
|
|
971
|
+
IconVent: ts,
|
|
972
|
+
IconGarage: Pl,
|
|
973
|
+
IconVideo: as,
|
|
974
|
+
IconLight: zl,
|
|
975
|
+
IconTv: Xl,
|
|
976
|
+
IconTherm: be,
|
|
977
|
+
IconStore: ql,
|
|
978
|
+
IconSocket: Ul,
|
|
979
|
+
IconSearch: Nl,
|
|
980
|
+
IconSave: ie,
|
|
957
981
|
IconNoti: he,
|
|
958
|
-
IconLogout:
|
|
959
|
-
IconLock:
|
|
960
|
-
IconFolder:
|
|
961
|
-
IconChevron:
|
|
962
|
-
IconClose:
|
|
963
|
-
IconDashboard:
|
|
964
|
-
IconDevice:
|
|
965
|
-
IconDrop:
|
|
966
|
-
IconBurger:
|
|
967
|
-
IconEyeClose:
|
|
968
|
-
IconEyeOpen:
|
|
969
|
-
IconFile:
|
|
970
|
-
IconGpio:
|
|
971
|
-
IconUpdate:
|
|
972
|
-
IconHeater:
|
|
973
|
-
IconSetting:
|
|
974
|
-
IconLogo:
|
|
975
|
-
IconLogoMini:
|
|
976
|
-
IconPower:
|
|
977
|
-
IconTheme:
|
|
978
|
-
IconInfo:
|
|
979
|
-
|
|
980
|
-
|
|
982
|
+
IconLogout: Ie,
|
|
983
|
+
IconLock: Ml,
|
|
984
|
+
IconFolder: ze,
|
|
985
|
+
IconChevron: K,
|
|
986
|
+
IconClose: G,
|
|
987
|
+
IconDashboard: Pt,
|
|
988
|
+
IconDevice: Ut,
|
|
989
|
+
IconDrop: qt,
|
|
990
|
+
IconBurger: Ve,
|
|
991
|
+
IconEyeClose: Xt,
|
|
992
|
+
IconEyeOpen: tl,
|
|
993
|
+
IconFile: al,
|
|
994
|
+
IconGpio: rl,
|
|
995
|
+
IconUpdate: cl,
|
|
996
|
+
IconHeater: fl,
|
|
997
|
+
IconSetting: gl,
|
|
998
|
+
IconLogo: fe,
|
|
999
|
+
IconLogoMini: Be,
|
|
1000
|
+
IconPower: re,
|
|
1001
|
+
IconTheme: Me,
|
|
1002
|
+
IconInfo: rs,
|
|
1003
|
+
IconPlus: se
|
|
1004
|
+
}, d = M(() => e.name ? t[`Icon${e.name}`] : be);
|
|
1005
|
+
return (r, s) => (o(), A(q(d.value), { name: "Icon" }));
|
|
981
1006
|
}
|
|
982
|
-
}),
|
|
1007
|
+
}), cs = { class: "relative flex items-end gap-0.5 w-10" }, us = ["title"], vs = { class: "absolute -top-1 -left-1 text-xs text-gray-600 dark:text-gray-300" }, fs = /* @__PURE__ */ B({
|
|
983
1008
|
__name: "VWifiIcon",
|
|
984
1009
|
props: {
|
|
985
1010
|
rssi: { default: 0 },
|
|
986
1011
|
channel: { default: 0 }
|
|
987
1012
|
},
|
|
988
|
-
setup(
|
|
989
|
-
const
|
|
990
|
-
return (
|
|
991
|
-
(
|
|
992
|
-
key:
|
|
993
|
-
class:
|
|
994
|
-
style:
|
|
995
|
-
title: `rssi: ${
|
|
996
|
-
}, null, 14,
|
|
997
|
-
l("div",
|
|
1013
|
+
setup(e) {
|
|
1014
|
+
const t = 2 * (e.rssi + 100), d = (r) => r < t;
|
|
1015
|
+
return (r, s) => (o(), c("div", cs, [
|
|
1016
|
+
(o(), c(H, null, N([10, 15, 25, 40, 70], (n, v) => l("div", {
|
|
1017
|
+
key: n,
|
|
1018
|
+
class: V(["w-1 h-5 rounded-lg", [d(n) ? "bg-gray-900 dark:bg-gray-100" : "bg-gray-300 dark:bg-gray-700"]]),
|
|
1019
|
+
style: J(`height: ${(v + 1) * 5}px`),
|
|
1020
|
+
title: `rssi: ${r.rssi} channel: ${r.channel}`
|
|
1021
|
+
}, null, 14, us)), 64)),
|
|
1022
|
+
l("div", vs, _(r.channel), 1)
|
|
998
1023
|
]));
|
|
999
1024
|
}
|
|
1000
|
-
}),
|
|
1025
|
+
}), hs = ["onClick"], ps = {
|
|
1001
1026
|
key: 0,
|
|
1002
1027
|
class: "me-1"
|
|
1003
|
-
},
|
|
1028
|
+
}, gs = { class: "flex items-center z-10" }, ms = ["onClick"], bs = {
|
|
1004
1029
|
key: 0,
|
|
1005
1030
|
class: "flex ps-5"
|
|
1006
|
-
},
|
|
1031
|
+
}, ys = { class: "font-medium me-4" }, xs = ["onClick"], Ae = /* @__PURE__ */ B({
|
|
1007
1032
|
__name: "VListObject",
|
|
1008
1033
|
props: {
|
|
1009
1034
|
items: { default: () => ({}) },
|
|
1010
|
-
path: { default: "" }
|
|
1035
|
+
path: { default: "" },
|
|
1036
|
+
onlyValue: { type: Boolean, default: !1 }
|
|
1011
1037
|
},
|
|
1012
1038
|
emits: ["click"],
|
|
1013
|
-
setup(
|
|
1014
|
-
const
|
|
1015
|
-
|
|
1016
|
-
},
|
|
1017
|
-
|
|
1039
|
+
setup(e, { emit: t }) {
|
|
1040
|
+
const d = t, r = () => "before:absolute before:w-full before:h-8 before:t-0 before:left-0 before:border-b before:border-gray-200 dark:before:border-gray-800/50 hover:before:bg-gray-400/10", s = L({}), n = (a) => {
|
|
1041
|
+
s.value[a] = !s.value[a];
|
|
1042
|
+
}, v = (a) => typeof a == "object", u = (a) => `${e.path ? e.path + "." : ""}${a}`, f = (a, i) => {
|
|
1043
|
+
d("click", { key: a, path: u(a), isObject: i });
|
|
1018
1044
|
};
|
|
1019
|
-
return (
|
|
1020
|
-
(
|
|
1021
|
-
key:
|
|
1022
|
-
class:
|
|
1045
|
+
return (a, i) => (o(), c("ul", null, [
|
|
1046
|
+
(o(!0), c(H, null, N(a.items, (h, b) => (o(), c("li", {
|
|
1047
|
+
key: b,
|
|
1048
|
+
class: V(v(h) ? "" : `flex items-center ${r()}`)
|
|
1023
1049
|
}, [
|
|
1024
1050
|
l("div", {
|
|
1025
|
-
class:
|
|
1026
|
-
onClick: (
|
|
1051
|
+
class: V(["flex items-center cursor-pointer ps-2 h-8", v(h) ? `${r()}` : ""]),
|
|
1052
|
+
onClick: ($) => n(b)
|
|
1027
1053
|
}, [
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
])) :
|
|
1031
|
-
l("div",
|
|
1032
|
-
a(
|
|
1033
|
-
|
|
1034
|
-
l("div",
|
|
1054
|
+
v(h) ? (o(), c("div", ps, [
|
|
1055
|
+
p(z(ze), { class: "size-5" })
|
|
1056
|
+
])) : I("", !0),
|
|
1057
|
+
l("div", null, _(b), 1),
|
|
1058
|
+
!a.onlyValue && v(h) ? (o(), c(H, { key: 1 }, [
|
|
1059
|
+
i[1] || (i[1] = l("div", { class: "flex-auto" }, null, -1)),
|
|
1060
|
+
l("div", gs, [
|
|
1035
1061
|
l("button", {
|
|
1036
1062
|
class: "px-2 cursor-pointer text-gray-400 hover:text-gray-200",
|
|
1037
|
-
onClick:
|
|
1063
|
+
onClick: F(($) => f(b, v(h)), ["stop"])
|
|
1038
1064
|
}, [
|
|
1039
|
-
|
|
1040
|
-
], 8,
|
|
1065
|
+
p(z(ie), { class: "size-5" })
|
|
1066
|
+
], 8, ms)
|
|
1041
1067
|
])
|
|
1042
|
-
], 64)) :
|
|
1043
|
-
], 10,
|
|
1044
|
-
|
|
1045
|
-
|
|
1068
|
+
], 64)) : I("", !0)
|
|
1069
|
+
], 10, hs),
|
|
1070
|
+
v(h) ? (o(), c("div", bs, [
|
|
1071
|
+
de(p(Ae, {
|
|
1046
1072
|
class: "flex-auto",
|
|
1047
|
-
path:
|
|
1048
|
-
items:
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1073
|
+
path: u(b),
|
|
1074
|
+
items: h,
|
|
1075
|
+
onlyValue: a.onlyValue,
|
|
1076
|
+
onClick: i[0] || (i[0] = ($) => d("click", $))
|
|
1077
|
+
}, null, 8, ["path", "items", "onlyValue"]), [
|
|
1078
|
+
[Ne, s.value[b]]
|
|
1052
1079
|
])
|
|
1053
|
-
])) : (
|
|
1054
|
-
|
|
1055
|
-
l("div",
|
|
1080
|
+
])) : (o(), c(H, { key: 1 }, [
|
|
1081
|
+
i[2] || (i[2] = l("div", { class: "flex-auto" }, null, -1)),
|
|
1082
|
+
l("div", ys, _(h), 1),
|
|
1056
1083
|
l("button", {
|
|
1057
1084
|
class: "px-2 cursor-pointer z-10",
|
|
1058
|
-
onClick:
|
|
1085
|
+
onClick: F(($) => f(b, v(h)), ["stop"])
|
|
1059
1086
|
}, [
|
|
1060
|
-
|
|
1061
|
-
], 8,
|
|
1087
|
+
p(z(ie), { class: "size-5" })
|
|
1088
|
+
], 8, xs)
|
|
1062
1089
|
], 64))
|
|
1063
1090
|
], 2))), 128))
|
|
1064
1091
|
]));
|
|
1065
1092
|
}
|
|
1066
|
-
}),
|
|
1093
|
+
}), ks = ["onDragstart", "onDragenter"], _s = {
|
|
1094
|
+
key: 0,
|
|
1095
|
+
class: "absolute inset-0 border border-dashed border-blue-600 rounded-lg"
|
|
1096
|
+
}, v1 = /* @__PURE__ */ B({
|
|
1097
|
+
__name: "VDragDrop",
|
|
1098
|
+
props: {
|
|
1099
|
+
items: {},
|
|
1100
|
+
itemKey: { default: "id" }
|
|
1101
|
+
},
|
|
1102
|
+
emits: ["update:items", "order-change"],
|
|
1103
|
+
setup(e, { emit: t }) {
|
|
1104
|
+
const d = t, r = L(null), s = L(0), n = L(-1), v = ({ id: h }) => ({
|
|
1105
|
+
"opacity-30 scale-105 z-10": r.value === h,
|
|
1106
|
+
"transition-transform duration-200": r.value !== h
|
|
1107
|
+
}), u = (h, b, $) => {
|
|
1108
|
+
r.value = b, s.value = $, h.dataTransfer.effectAllowed = "move";
|
|
1109
|
+
}, f = (h) => {
|
|
1110
|
+
r.value !== null && (n.value = h);
|
|
1111
|
+
}, a = () => {
|
|
1112
|
+
r.value = null, n.value = -1;
|
|
1113
|
+
}, i = (h) => {
|
|
1114
|
+
if (h.preventDefault(), r.value && n.value !== -1) {
|
|
1115
|
+
const b = e.items.findIndex((y) => y[e.itemKey] === r.value), $ = n.value;
|
|
1116
|
+
if (b !== $ && $ !== -1) {
|
|
1117
|
+
const y = [...e.items], [w] = y.splice(b, 1);
|
|
1118
|
+
y.splice($, 0, w), d("update:items", y), d("order-change", { fromIndex: b, toIndex: $, movedItem: w, newOrder: y });
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
n.value = -1;
|
|
1122
|
+
};
|
|
1123
|
+
return (h, b) => (o(), c("div", {
|
|
1124
|
+
onDragover: b[1] || (b[1] = F(() => {
|
|
1125
|
+
}, ["prevent"])),
|
|
1126
|
+
onDrop: i
|
|
1127
|
+
}, [
|
|
1128
|
+
p(_e, {
|
|
1129
|
+
"enter-active-class": "transition-all duration-300 ease",
|
|
1130
|
+
"enter-from-class": "opacity-0 translate-x-8",
|
|
1131
|
+
"enter-to-class": "opacity-100 translate-x-0",
|
|
1132
|
+
"leave-active-class": "transition-all duration-300 ease absolute",
|
|
1133
|
+
"leave-from-class": "opacity-100 translate-x-0",
|
|
1134
|
+
"leave-to-class": "opacity-0 translate-x-8",
|
|
1135
|
+
"move-class": "transition-all duration-300 ease"
|
|
1136
|
+
}, {
|
|
1137
|
+
default: m(() => [
|
|
1138
|
+
(o(!0), c(H, null, N(h.items, ($, y) => (o(), c("div", {
|
|
1139
|
+
key: `${$.id}_drug`,
|
|
1140
|
+
class: V(["relative group", v($)]),
|
|
1141
|
+
draggable: "true",
|
|
1142
|
+
onDragstart: (w) => u(w, $.id, y),
|
|
1143
|
+
onDragenter: (w) => f(y),
|
|
1144
|
+
onDragend: a,
|
|
1145
|
+
onDragover: b[0] || (b[0] = F(() => {
|
|
1146
|
+
}, ["prevent"]))
|
|
1147
|
+
}, [
|
|
1148
|
+
C(h.$slots, "default", {
|
|
1149
|
+
item: $,
|
|
1150
|
+
key: $.id,
|
|
1151
|
+
index: y,
|
|
1152
|
+
isDragging: r.value === $.id
|
|
1153
|
+
}),
|
|
1154
|
+
n.value === y && r.value !== $.id ? (o(), c("div", _s)) : I("", !0)
|
|
1155
|
+
], 42, ks))), 128))
|
|
1156
|
+
]),
|
|
1157
|
+
_: 3
|
|
1158
|
+
})
|
|
1159
|
+
], 32));
|
|
1160
|
+
}
|
|
1161
|
+
});
|
|
1162
|
+
function $s(e) {
|
|
1163
|
+
return Ee() ? (Re(e), !0) : !1;
|
|
1164
|
+
}
|
|
1165
|
+
const ws = typeof window < "u" && typeof document < "u", Cs = () => {
|
|
1166
|
+
};
|
|
1167
|
+
function ye(...e) {
|
|
1168
|
+
if (e.length !== 1)
|
|
1169
|
+
return Oe(...e);
|
|
1170
|
+
const t = e[0];
|
|
1171
|
+
return typeof t == "function" ? Fe(Pe(() => ({ get: t, set: Cs }))) : L(t);
|
|
1172
|
+
}
|
|
1173
|
+
const pe = ws ? window : void 0;
|
|
1174
|
+
function xe(e) {
|
|
1175
|
+
var t;
|
|
1176
|
+
const d = ue(e);
|
|
1177
|
+
return (t = d == null ? void 0 : d.$el) != null ? t : d;
|
|
1178
|
+
}
|
|
1179
|
+
// @__NO_SIDE_EFFECTS__
|
|
1180
|
+
function zs(e) {
|
|
1181
|
+
return M(() => !!e());
|
|
1182
|
+
}
|
|
1183
|
+
function Vs(e, t, d = {}) {
|
|
1184
|
+
const { window: r = pe, ...s } = d;
|
|
1185
|
+
let n;
|
|
1186
|
+
const v = /* @__PURE__ */ zs(() => r && "ResizeObserver" in r), u = () => {
|
|
1187
|
+
n && (n.disconnect(), n = void 0);
|
|
1188
|
+
}, f = M(() => {
|
|
1189
|
+
const h = ue(e);
|
|
1190
|
+
return Array.isArray(h) ? h.map((b) => xe(b)) : [xe(h)];
|
|
1191
|
+
}), a = U(
|
|
1192
|
+
f,
|
|
1193
|
+
(h) => {
|
|
1194
|
+
if (u(), v.value && r) {
|
|
1195
|
+
n = new ResizeObserver(t);
|
|
1196
|
+
for (const b of h)
|
|
1197
|
+
b && n.observe(b, s);
|
|
1198
|
+
}
|
|
1199
|
+
},
|
|
1200
|
+
{ immediate: !0, flush: "post" }
|
|
1201
|
+
), i = () => {
|
|
1202
|
+
u(), a();
|
|
1203
|
+
};
|
|
1204
|
+
return $s(i), {
|
|
1205
|
+
isSupported: v,
|
|
1206
|
+
stop: i
|
|
1207
|
+
};
|
|
1208
|
+
}
|
|
1209
|
+
function Bs(e = pe, t) {
|
|
1210
|
+
e && typeof e.requestAnimationFrame == "function" ? e.requestAnimationFrame(t) : t();
|
|
1211
|
+
}
|
|
1212
|
+
function Ms(e = {}) {
|
|
1213
|
+
var t, d;
|
|
1214
|
+
const { window: r = pe } = e, s = ye(e == null ? void 0 : e.element), n = ye((t = e == null ? void 0 : e.input) != null ? t : ""), v = (d = e == null ? void 0 : e.styleProp) != null ? d : "height", u = me(1), f = me(0);
|
|
1215
|
+
function a() {
|
|
1216
|
+
var i;
|
|
1217
|
+
if (!s.value)
|
|
1218
|
+
return;
|
|
1219
|
+
let h = "";
|
|
1220
|
+
s.value.style[v] = "1px", u.value = (i = s.value) == null ? void 0 : i.scrollHeight;
|
|
1221
|
+
const b = ue(e == null ? void 0 : e.styleTarget);
|
|
1222
|
+
b ? b.style[v] = `${u.value}px` : h = `${u.value}px`, s.value.style[v] = h;
|
|
1223
|
+
}
|
|
1224
|
+
return U([n, s], () => Ue(a), { immediate: !0 }), U(u, () => {
|
|
1225
|
+
var i;
|
|
1226
|
+
return (i = e == null ? void 0 : e.onResize) == null ? void 0 : i.call(e);
|
|
1227
|
+
}), Vs(s, ([{ contentRect: i }]) => {
|
|
1228
|
+
f.value !== i.width && Bs(r, () => {
|
|
1229
|
+
f.value = i.width, a();
|
|
1230
|
+
});
|
|
1231
|
+
}), e != null && e.watch && U(e.watch, a, { immediate: !0, deep: !0 }), {
|
|
1232
|
+
textarea: s,
|
|
1233
|
+
input: n,
|
|
1234
|
+
triggerResize: a
|
|
1235
|
+
};
|
|
1236
|
+
}
|
|
1237
|
+
const Is = { class: "flex w-full relative" }, As = { class: "flex gap-2 flex-wrap flex-auto px-2 py-1" }, Ss = ["disabled"], Se = /* @__PURE__ */ B({
|
|
1238
|
+
__name: "VTextWrapper",
|
|
1239
|
+
props: {
|
|
1240
|
+
active: { type: Boolean },
|
|
1241
|
+
label: { default: "label" },
|
|
1242
|
+
disabled: { type: Boolean, default: !1 },
|
|
1243
|
+
hideIcon: { type: Boolean, default: !1 }
|
|
1244
|
+
},
|
|
1245
|
+
emits: ["icon"],
|
|
1246
|
+
setup(e, { emit: t }) {
|
|
1247
|
+
const d = t, r = M(() => e.active ? "top-0 left-3 text-xs" : "top-1/2"), s = M(() => [e.disabled ? "border-gray-400 opacity-40" : "border-gray-300 hover:border-gray-400 dark:border-gray-700/50 hover:dark:border-gray-600/50"]);
|
|
1248
|
+
return (n, v) => (o(), c("div", Is, [
|
|
1249
|
+
l("div", {
|
|
1250
|
+
class: V(["relative w-full min-h-[40px] border border-gray-300 dark:border-gray-700 flex items-center rounded transition bg-white dark:bg-gray-800", s.value])
|
|
1251
|
+
}, [
|
|
1252
|
+
l("span", {
|
|
1253
|
+
class: V(["absolute left-4 transition-all rounded -translate-y-1/2 text-gray-600 dark:text-gray-400", r.value])
|
|
1254
|
+
}, _(n.label), 3),
|
|
1255
|
+
l("div", As, [
|
|
1256
|
+
C(n.$slots, "default")
|
|
1257
|
+
]),
|
|
1258
|
+
n.hideIcon ? I("", !0) : (o(), c("button", {
|
|
1259
|
+
key: 0,
|
|
1260
|
+
disabled: n.disabled,
|
|
1261
|
+
class: V(["h-full flex items-center justify-center text-gray-400 border-l border-gray-300 dark:border-gray-700/50 flex-[0_0_50px]", { "cursor-pointer": !n.disabled }]),
|
|
1262
|
+
onClick: v[0] || (v[0] = (u) => d("icon", u))
|
|
1263
|
+
}, [
|
|
1264
|
+
C(n.$slots, "icon", {}, () => [
|
|
1265
|
+
p(z(se), { class: "size-4" })
|
|
1266
|
+
])
|
|
1267
|
+
], 10, Ss))
|
|
1268
|
+
], 2)
|
|
1269
|
+
]));
|
|
1270
|
+
}
|
|
1271
|
+
}), Ts = { class: "flex gap-1 text-amber-500 self-start text-nowrap select-none" }, Hs = ["title", "onMouseenter", "onMouseleave"], Ds = { class: "flex flex-auto" }, Ls = ["disabled"], ne = /* @__PURE__ */ B({
|
|
1272
|
+
__name: "VFunc",
|
|
1273
|
+
props: {
|
|
1274
|
+
label: {},
|
|
1275
|
+
args: {},
|
|
1276
|
+
value: {},
|
|
1277
|
+
disabled: { type: Boolean, default: !1 },
|
|
1278
|
+
hideIcon: { type: Boolean, default: !1 }
|
|
1279
|
+
},
|
|
1280
|
+
emits: ["change", "icon", "hover"],
|
|
1281
|
+
setup(e, { emit: t }) {
|
|
1282
|
+
const { textarea: d, input: r } = Ms(), s = t, n = ["v", "a", "b", "c"];
|
|
1283
|
+
r.value = e.value || "";
|
|
1284
|
+
const v = (a) => {
|
|
1285
|
+
try {
|
|
1286
|
+
return new Function(a), !0;
|
|
1287
|
+
} catch {
|
|
1288
|
+
return !1;
|
|
1289
|
+
}
|
|
1290
|
+
}, u = ve((a) => {
|
|
1291
|
+
const i = a.target;
|
|
1292
|
+
v(i.value) && s("change", i.value);
|
|
1293
|
+
}, 500), f = (a) => s("icon", a);
|
|
1294
|
+
return U(
|
|
1295
|
+
() => e.value,
|
|
1296
|
+
() => {
|
|
1297
|
+
e.value && (r.value = e.value);
|
|
1298
|
+
}
|
|
1299
|
+
), (a, i) => (o(), A(Se, {
|
|
1300
|
+
active: !!a.value,
|
|
1301
|
+
disabled: a.disabled,
|
|
1302
|
+
label: a.label,
|
|
1303
|
+
hideIcon: a.hideIcon,
|
|
1304
|
+
onIcon: f
|
|
1305
|
+
}, {
|
|
1306
|
+
icon: m(() => [
|
|
1307
|
+
a.value ? (o(), A(z(G), {
|
|
1308
|
+
key: 0,
|
|
1309
|
+
class: "size-4"
|
|
1310
|
+
})) : (o(), A(z(se), {
|
|
1311
|
+
key: 1,
|
|
1312
|
+
class: "size-4"
|
|
1313
|
+
}))
|
|
1314
|
+
]),
|
|
1315
|
+
default: m(() => [
|
|
1316
|
+
a.value ? (o(), c(H, { key: 0 }, [
|
|
1317
|
+
l("div", Ts, [
|
|
1318
|
+
i[3] || (i[3] = T(" ( ")),
|
|
1319
|
+
(o(!0), c(H, null, N(a.args, (h, b) => (o(), c(H, { key: h }, [
|
|
1320
|
+
l("span", {
|
|
1321
|
+
class: "text-blue-400/80",
|
|
1322
|
+
title: h,
|
|
1323
|
+
onMouseenter: ($) => s("hover", "enter", b),
|
|
1324
|
+
onMouseleave: ($) => s("hover", "leave", b)
|
|
1325
|
+
}, _(n[b]), 41, Hs),
|
|
1326
|
+
i[2] || (i[2] = l("span", { class: "last:hidden" }, ",", -1))
|
|
1327
|
+
], 64))), 128)),
|
|
1328
|
+
i[4] || (i[4] = T(" ) => "))
|
|
1329
|
+
]),
|
|
1330
|
+
l("div", Ds, [
|
|
1331
|
+
de(l("textarea", {
|
|
1332
|
+
ref_key: "textarea",
|
|
1333
|
+
ref: d,
|
|
1334
|
+
"onUpdate:modelValue": i[0] || (i[0] = (h) => Ge(r) ? r.value = h : null),
|
|
1335
|
+
class: "outline-0 w-full resize-none",
|
|
1336
|
+
type: "text",
|
|
1337
|
+
disabled: a.disabled,
|
|
1338
|
+
onInput: i[1] || (i[1] = //@ts-ignore
|
|
1339
|
+
(...h) => z(u) && z(u)(...h))
|
|
1340
|
+
}, null, 40, Ls), [
|
|
1341
|
+
[We, z(r)]
|
|
1342
|
+
])
|
|
1343
|
+
])
|
|
1344
|
+
], 64)) : I("", !0)
|
|
1345
|
+
]),
|
|
1346
|
+
_: 1
|
|
1347
|
+
}, 8, ["active", "disabled", "label", "hideIcon"]));
|
|
1348
|
+
}
|
|
1349
|
+
}), js = { class: "min-w-full" }, Ns = { class: "border-y border-gray-100 py-3 dark:border-gray-800" }, Os = { class: "bg-gray-50 dark:bg-gray-800" }, Fs = { class: "flex items-center" }, Ps = { class: "divide-y divide-gray-100 dark:divide-gray-800" }, Es = ["onClick"], Rs = { class: "flex items-center text-gray-700 dark:text-gray-400" }, Us = { key: 1 }, Gs = {
|
|
1067
1350
|
class: "py-3 whitespace-nowrap",
|
|
1068
1351
|
colspan: "9"
|
|
1069
|
-
},
|
|
1352
|
+
}, Ws = { class: "flex items-center justify-center text-theme-sm text-gray-700 dark:text-gray-400 px-2" }, f1 = /* @__PURE__ */ B({
|
|
1070
1353
|
__name: "BlockTable",
|
|
1071
1354
|
props: {
|
|
1072
1355
|
headers: { default: () => [] },
|
|
1073
1356
|
items: { default: () => [] }
|
|
1074
1357
|
},
|
|
1075
1358
|
emits: ["click"],
|
|
1076
|
-
setup(
|
|
1077
|
-
const
|
|
1078
|
-
|
|
1079
|
-
},
|
|
1080
|
-
return (
|
|
1081
|
-
l("thead",
|
|
1082
|
-
l("tr",
|
|
1083
|
-
(
|
|
1084
|
-
key:
|
|
1085
|
-
class:
|
|
1359
|
+
setup(e, { emit: t }) {
|
|
1360
|
+
const d = t, r = (n, v) => {
|
|
1361
|
+
d("click", { item: n, event: v });
|
|
1362
|
+
}, s = (n) => (n == null ? void 0 : n.className) || "";
|
|
1363
|
+
return (n, v) => (o(), c("table", js, [
|
|
1364
|
+
l("thead", Ns, [
|
|
1365
|
+
l("tr", Os, [
|
|
1366
|
+
(o(!0), c(H, null, N(n.headers, (u, f) => (o(), c("th", {
|
|
1367
|
+
key: f,
|
|
1368
|
+
class: V(["py-2 whitespace-nowrap text-gray-500 dark:text-gray-400 font-normal px-4", s(u)])
|
|
1086
1369
|
}, [
|
|
1087
|
-
|
|
1088
|
-
l("div",
|
|
1370
|
+
C(n.$slots, "header", { item: u }, () => [
|
|
1371
|
+
l("div", Fs, _(u.name), 1)
|
|
1089
1372
|
])
|
|
1090
1373
|
], 2))), 128))
|
|
1091
1374
|
])
|
|
1092
1375
|
]),
|
|
1093
|
-
l("tbody",
|
|
1094
|
-
|
|
1095
|
-
key:
|
|
1376
|
+
l("tbody", Ps, [
|
|
1377
|
+
n.items.length ? (o(!0), c(H, { key: 0 }, N(n.items, (u, f) => (o(), c("tr", {
|
|
1378
|
+
key: f,
|
|
1096
1379
|
class: "hover:bg-gray-50/50 dark:hover:bg-gray-800/50",
|
|
1097
|
-
onClick: (
|
|
1380
|
+
onClick: (a) => r(u, a)
|
|
1098
1381
|
}, [
|
|
1099
|
-
(
|
|
1100
|
-
key:
|
|
1382
|
+
(o(!0), c(H, null, N(n.headers, (a, i) => (o(), c("td", {
|
|
1383
|
+
key: i,
|
|
1101
1384
|
class: "py-2 whitespace-nowrap px-4"
|
|
1102
1385
|
}, [
|
|
1103
|
-
l("div",
|
|
1104
|
-
|
|
1105
|
-
|
|
1386
|
+
l("div", Rs, [
|
|
1387
|
+
C(n.$slots, a.key, { item: u }, () => [
|
|
1388
|
+
T(_(u[a.key]), 1)
|
|
1106
1389
|
])
|
|
1107
1390
|
])
|
|
1108
1391
|
]))), 128))
|
|
1109
|
-
], 8,
|
|
1110
|
-
l("td",
|
|
1111
|
-
l("div",
|
|
1112
|
-
|
|
1113
|
-
|
|
1392
|
+
], 8, Es))), 128)) : (o(), c("tr", Us, [
|
|
1393
|
+
l("td", Gs, [
|
|
1394
|
+
l("div", Ws, [
|
|
1395
|
+
C(n.$slots, "empty", {}, () => [
|
|
1396
|
+
v[0] || (v[0] = T("The list is empty"))
|
|
1114
1397
|
])
|
|
1115
1398
|
])
|
|
1116
1399
|
])
|
|
@@ -1118,552 +1401,391 @@ const A1 = { render: S1 }, W = /* @__PURE__ */ $({
|
|
|
1118
1401
|
])
|
|
1119
1402
|
]));
|
|
1120
1403
|
}
|
|
1121
|
-
}),
|
|
1404
|
+
}), qs = { class: "my-4 text-gray-700 dark:text-gray-400" }, Ks = { class: "flex flex-col md:flex-row flex-wrap md:gap-4 text-sm" }, Zs = { class: "flex gap-2" }, Js = { class: "text-gray-700 dark:text-gray-400" }, Qs = { class: "flex gap-2" }, Xs = { class: "flex gap-2" }, Ys = { class: "text-gray-700 dark:text-gray-400" }, ea = { class: "flex gap-2" }, ta = { class: "text-gray-700 dark:text-gray-400" }, la = { class: "flex flex-col gap-4 text-sm" }, sa = { class: "flex gap-4" }, h1 = /* @__PURE__ */ B({
|
|
1122
1405
|
__name: "BlockInfo",
|
|
1123
1406
|
props: {
|
|
1407
|
+
pkg: {},
|
|
1408
|
+
key: {},
|
|
1124
1409
|
id: { default: 0 },
|
|
1125
1410
|
firmware: { default: () => [] },
|
|
1126
1411
|
totalBytes: {},
|
|
1127
1412
|
usedBytes: {},
|
|
1128
1413
|
uptime: {},
|
|
1129
|
-
name: {}
|
|
1130
|
-
pkg: {}
|
|
1414
|
+
name: {}
|
|
1131
1415
|
},
|
|
1132
|
-
setup(
|
|
1133
|
-
const
|
|
1134
|
-
var
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
repository: (d = (r = t.pkg) == null ? void 0 : r.repository) == null ? void 0 : d.url,
|
|
1138
|
-
bugs: (f = (a = t.pkg) == null ? void 0 : a.bugs) == null ? void 0 : f.url,
|
|
1139
|
-
author: (u = t.pkg) != null && u.author ? `mailto:${(s = t.pkg) == null ? void 0 : s.author}` : ""
|
|
1140
|
-
};
|
|
1416
|
+
setup(e) {
|
|
1417
|
+
const t = M(() => e.firmware.join(".")), d = M(() => {
|
|
1418
|
+
var s, n, v, u, f, a, i;
|
|
1419
|
+
const r = [];
|
|
1420
|
+
return (s = e.pkg) != null && s.homepage && r.push({ name: "homepage", href: e.pkg.homepage }), (v = (n = e.pkg) == null ? void 0 : n.repository) != null && v.url && r.push({ name: "repository", href: e.pkg.repository.url }), (f = (u = e.pkg) == null ? void 0 : u.bugs) != null && f.url && r.push({ name: "bugs", href: e.pkg.bugs.url }), (a = e.pkg) != null && a.author && r.push({ name: "author", href: `mailto:${(i = e.pkg) == null ? void 0 : i.author}` }), r;
|
|
1141
1421
|
});
|
|
1142
|
-
return (
|
|
1143
|
-
var
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
l("
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
l("span", sl, x(e.value), 1)
|
|
1422
|
+
return (r, s) => {
|
|
1423
|
+
var n, v;
|
|
1424
|
+
return o(), c("div", null, [
|
|
1425
|
+
l("p", qs, _((n = r.pkg) == null ? void 0 : n.description), 1),
|
|
1426
|
+
l("div", Ks, [
|
|
1427
|
+
l("div", Zs, [
|
|
1428
|
+
s[0] || (s[0] = T(" Firmware (hw): ")),
|
|
1429
|
+
l("span", Js, _(t.value), 1)
|
|
1151
1430
|
]),
|
|
1152
|
-
l("div",
|
|
1153
|
-
l("div",
|
|
1154
|
-
|
|
1155
|
-
l("span",
|
|
1431
|
+
l("div", Qs, [
|
|
1432
|
+
l("div", Xs, [
|
|
1433
|
+
s[1] || (s[1] = T(" Version (web): ")),
|
|
1434
|
+
l("span", Ys, _((v = r.pkg) == null ? void 0 : v.version), 1)
|
|
1156
1435
|
])
|
|
1157
1436
|
]),
|
|
1158
|
-
|
|
1159
|
-
l("div",
|
|
1160
|
-
|
|
1161
|
-
l("span",
|
|
1437
|
+
s[3] || (s[3] = l("div", { class: "flex-auto" }, null, -1)),
|
|
1438
|
+
l("div", ea, [
|
|
1439
|
+
s[2] || (s[2] = T(" ID: ")),
|
|
1440
|
+
l("span", ta, _(r.id.toString(16)), 1)
|
|
1162
1441
|
])
|
|
1163
1442
|
]),
|
|
1164
|
-
|
|
1165
|
-
l("div",
|
|
1166
|
-
l("div",
|
|
1167
|
-
|
|
1168
|
-
l("div", hl, [
|
|
1169
|
-
i.value.homepage ? (n(), k(d, {
|
|
1170
|
-
key: 0,
|
|
1171
|
-
href: i.value.homepage,
|
|
1172
|
-
target: "_blank",
|
|
1173
|
-
class: "me-4"
|
|
1174
|
-
}, {
|
|
1175
|
-
default: m(() => [...r[4] || (r[4] = [
|
|
1176
|
-
V("Homepage", -1)
|
|
1177
|
-
])]),
|
|
1178
|
-
_: 1
|
|
1179
|
-
}, 8, ["href"])) : C("", !0),
|
|
1180
|
-
i.value.repository ? (n(), k(d, {
|
|
1181
|
-
key: 1,
|
|
1182
|
-
href: i.value.repository,
|
|
1183
|
-
target: "_blank",
|
|
1184
|
-
class: "me-4"
|
|
1185
|
-
}, {
|
|
1186
|
-
default: m(() => [...r[5] || (r[5] = [
|
|
1187
|
-
V("Repository", -1)
|
|
1188
|
-
])]),
|
|
1189
|
-
_: 1
|
|
1190
|
-
}, 8, ["href"])) : C("", !0),
|
|
1191
|
-
i.value.bugs ? (n(), k(d, {
|
|
1192
|
-
key: 2,
|
|
1193
|
-
href: i.value.bugs,
|
|
1194
|
-
target: "_blank",
|
|
1195
|
-
class: "me-4"
|
|
1196
|
-
}, {
|
|
1197
|
-
default: m(() => [...r[6] || (r[6] = [
|
|
1198
|
-
V("Bugs", -1)
|
|
1199
|
-
])]),
|
|
1200
|
-
_: 1
|
|
1201
|
-
}, 8, ["href"])) : C("", !0),
|
|
1202
|
-
i.value.author ? (n(), k(d, {
|
|
1203
|
-
key: 3,
|
|
1204
|
-
href: i.value.author,
|
|
1205
|
-
target: "_blank",
|
|
1206
|
-
class: "me-4"
|
|
1207
|
-
}, {
|
|
1208
|
-
default: m(() => [...r[7] || (r[7] = [
|
|
1209
|
-
V("Author", -1)
|
|
1210
|
-
])]),
|
|
1211
|
-
_: 1
|
|
1212
|
-
}, 8, ["href"])) : C("", !0)
|
|
1213
|
-
])
|
|
1443
|
+
s[4] || (s[4] = l("hr", { class: "dark:text-gray-700 text-gray-200 my-2" }, null, -1)),
|
|
1444
|
+
l("div", la, [
|
|
1445
|
+
l("div", sa, [
|
|
1446
|
+
C(r.$slots, "links", { links: d.value })
|
|
1214
1447
|
])
|
|
1215
1448
|
])
|
|
1216
1449
|
]);
|
|
1217
1450
|
};
|
|
1218
1451
|
}
|
|
1219
|
-
}),
|
|
1220
|
-
__name: "BlockStatus",
|
|
1221
|
-
props: {
|
|
1222
|
-
id: { default: 0 },
|
|
1223
|
-
firmware: { default: () => [] },
|
|
1224
|
-
totalBytes: { default: 0 },
|
|
1225
|
-
usedBytes: { default: 0 },
|
|
1226
|
-
uptime: { default: 0 },
|
|
1227
|
-
name: {},
|
|
1228
|
-
pkg: {}
|
|
1229
|
-
},
|
|
1230
|
-
setup(t) {
|
|
1231
|
-
const e = S(t.uptime);
|
|
1232
|
-
let i = null;
|
|
1233
|
-
const o = z(() => t.firmware.join(".")), r = z(() => ({
|
|
1234
|
-
Used: J(t.usedBytes),
|
|
1235
|
-
Available: J(t.totalBytes - t.usedBytes),
|
|
1236
|
-
Total: J(t.totalBytes)
|
|
1237
|
-
})), d = z(() => {
|
|
1238
|
-
var u;
|
|
1239
|
-
return {
|
|
1240
|
-
Uptime: _e(e.value),
|
|
1241
|
-
ID: t.id.toString(16),
|
|
1242
|
-
"Firmware (hw)": o.value,
|
|
1243
|
-
"Version (web)": (u = t.pkg) == null ? void 0 : u.version
|
|
1244
|
-
};
|
|
1245
|
-
}), a = z(() => t.usedBytes ? Math.round(t.usedBytes * 100 / t.totalBytes) : 0), f = () => {
|
|
1246
|
-
e.value++, i = setTimeout(f, 1e3);
|
|
1247
|
-
};
|
|
1248
|
-
return q(() => {
|
|
1249
|
-
f();
|
|
1250
|
-
}), ye(() => {
|
|
1251
|
-
e.value = 0, i && clearTimeout(i);
|
|
1252
|
-
}), (u, s) => {
|
|
1253
|
-
var p, g, b;
|
|
1254
|
-
const h = P("v-button");
|
|
1255
|
-
return n(), c("div", vl, [
|
|
1256
|
-
l("div", ml, [
|
|
1257
|
-
l("div", pl, [
|
|
1258
|
-
l("div", {
|
|
1259
|
-
class: "absolute left-0 top-0 flex h-full items-center justify-center bg-blue-600 hover:bg-blue-500",
|
|
1260
|
-
style: G(`width: ${a.value}%;`),
|
|
1261
|
-
title: `${a.value}%`
|
|
1262
|
-
}, null, 12, gl),
|
|
1263
|
-
l("span", yl, x(a.value) + "%", 1)
|
|
1264
|
-
]),
|
|
1265
|
-
l("div", bl, [
|
|
1266
|
-
(n(!0), c(I, null, H(r.value, (N, j) => (n(), c("div", {
|
|
1267
|
-
key: j,
|
|
1268
|
-
class: "flex-auto"
|
|
1269
|
-
}, [
|
|
1270
|
-
l("div", xl, x(j) + ":", 1),
|
|
1271
|
-
l("div", null, x(N), 1)
|
|
1272
|
-
]))), 128))
|
|
1273
|
-
])
|
|
1274
|
-
]),
|
|
1275
|
-
l("div", kl, [
|
|
1276
|
-
(n(!0), c(I, null, H(d.value, (N, j) => (n(), c("div", {
|
|
1277
|
-
key: j,
|
|
1278
|
-
class: "flex justify-between items-center"
|
|
1279
|
-
}, [
|
|
1280
|
-
l("div", _l, x(j) + ":", 1),
|
|
1281
|
-
l("div", $l, x(N), 1)
|
|
1282
|
-
]))), 128))
|
|
1283
|
-
]),
|
|
1284
|
-
l("div", null, [
|
|
1285
|
-
_(u.$slots, "default"),
|
|
1286
|
-
l("div", wl, [
|
|
1287
|
-
v(h, {
|
|
1288
|
-
href: (p = u.pkg) == null ? void 0 : p.repository.url,
|
|
1289
|
-
target: "_blank",
|
|
1290
|
-
class: "w-full text-white",
|
|
1291
|
-
color: "blue"
|
|
1292
|
-
}, {
|
|
1293
|
-
default: m(() => [...s[0] || (s[0] = [
|
|
1294
|
-
V("Github", -1)
|
|
1295
|
-
])]),
|
|
1296
|
-
_: 1
|
|
1297
|
-
}, 8, ["href"]),
|
|
1298
|
-
(g = u.pkg) != null && g.homepage ? (n(), k(h, {
|
|
1299
|
-
key: 0,
|
|
1300
|
-
href: (b = u.pkg) == null ? void 0 : b.homepage,
|
|
1301
|
-
target: "_blank",
|
|
1302
|
-
class: "w-full",
|
|
1303
|
-
color: "blue",
|
|
1304
|
-
outline: ""
|
|
1305
|
-
}, {
|
|
1306
|
-
default: m(() => [...s[1] || (s[1] = [
|
|
1307
|
-
V("Homepage", -1)
|
|
1308
|
-
])]),
|
|
1309
|
-
_: 1
|
|
1310
|
-
}, 8, ["href"])) : C("", !0)
|
|
1311
|
-
])
|
|
1312
|
-
])
|
|
1313
|
-
]);
|
|
1314
|
-
};
|
|
1315
|
-
}
|
|
1316
|
-
}), Cl = { class: "flex items-center gap-1.5" }, an = /* @__PURE__ */ $({
|
|
1452
|
+
}), aa = { class: "flex items-center gap-1.5" }, p1 = /* @__PURE__ */ B({
|
|
1317
1453
|
__name: "BlockBreadcrumb",
|
|
1318
1454
|
props: {
|
|
1319
1455
|
items: { default: () => [] }
|
|
1320
1456
|
},
|
|
1321
1457
|
emits: ["click"],
|
|
1322
|
-
setup(
|
|
1323
|
-
const
|
|
1324
|
-
return (
|
|
1325
|
-
l("ol",
|
|
1326
|
-
(
|
|
1327
|
-
key:
|
|
1328
|
-
class:
|
|
1458
|
+
setup(e, { emit: t }) {
|
|
1459
|
+
const d = t;
|
|
1460
|
+
return (r, s) => (o(), c("nav", null, [
|
|
1461
|
+
l("ol", aa, [
|
|
1462
|
+
(o(!0), c(H, null, N(r.items, (n, v) => (o(), c("li", {
|
|
1463
|
+
key: v,
|
|
1464
|
+
class: V(["inline-flex items-center gap-1.5 text-sm text-gray-500 dark:text-gray-400", n.path ? "" : "text-gray-800 dark:text-white/90"])
|
|
1329
1465
|
}, [
|
|
1330
|
-
|
|
1331
|
-
(
|
|
1332
|
-
href:
|
|
1333
|
-
onClick:
|
|
1466
|
+
C(r.$slots, "default", { item: n }, () => [
|
|
1467
|
+
(o(), A(q(n.path ? "a" : "span"), {
|
|
1468
|
+
href: n.path,
|
|
1469
|
+
onClick: s[0] || (s[0] = (u) => d("click", u))
|
|
1334
1470
|
}, {
|
|
1335
1471
|
default: m(() => [
|
|
1336
|
-
|
|
1472
|
+
T(_(n.name), 1)
|
|
1337
1473
|
]),
|
|
1338
1474
|
_: 2
|
|
1339
1475
|
}, 1032, ["href"]))
|
|
1340
1476
|
]),
|
|
1341
|
-
|
|
1477
|
+
n.path ? (o(), A(z(K), {
|
|
1342
1478
|
key: 0,
|
|
1343
1479
|
class: "rotate-270"
|
|
1344
|
-
})) :
|
|
1480
|
+
})) : I("", !0)
|
|
1345
1481
|
], 2))), 128))
|
|
1346
1482
|
])
|
|
1347
1483
|
]));
|
|
1348
1484
|
}
|
|
1349
|
-
}),
|
|
1485
|
+
}), oa = {
|
|
1350
1486
|
key: 0,
|
|
1351
1487
|
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]"
|
|
1352
|
-
},
|
|
1488
|
+
}, na = {
|
|
1353
1489
|
key: 1,
|
|
1354
1490
|
class: "absolute top-0 left-0 w-full h-full bg-gray-50 dark:bg-gray-900 z-10 opacity-50"
|
|
1355
|
-
},
|
|
1491
|
+
}, ra = { class: "mb-6 flex items-center justify-between" }, ia = { class: "text-lg font-semibold text-gray-800 dark:text-white/90" }, da = { class: "max-w-full" }, ca = /* @__PURE__ */ B({
|
|
1356
1492
|
__name: "CardGray",
|
|
1357
1493
|
props: {
|
|
1358
|
-
title: {
|
|
1494
|
+
title: {},
|
|
1359
1495
|
loading: { type: Boolean }
|
|
1360
1496
|
},
|
|
1361
|
-
setup(
|
|
1362
|
-
|
|
1363
|
-
|
|
1497
|
+
setup(e) {
|
|
1498
|
+
const t = e;
|
|
1499
|
+
return (d, r) => (o(), c("div", {
|
|
1500
|
+
class: V(["relative rounded-md border border-gray-200 bg-white p-5 dark:border-gray-800 dark:bg-white/[0.03] sm:p-6", { "overflow-hidden": t.loading }])
|
|
1364
1501
|
}, [
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
l("div",
|
|
1368
|
-
l("h3",
|
|
1502
|
+
d.loading ? (o(), c("div", oa)) : I("", !0),
|
|
1503
|
+
d.loading ? (o(), c("div", na)) : I("", !0),
|
|
1504
|
+
l("div", ra, [
|
|
1505
|
+
l("h3", ia, _(t.title), 1),
|
|
1369
1506
|
l("div", null, [
|
|
1370
|
-
|
|
1507
|
+
C(d.$slots, "header")
|
|
1371
1508
|
])
|
|
1372
1509
|
]),
|
|
1373
|
-
l("div",
|
|
1374
|
-
|
|
1510
|
+
l("div", da, [
|
|
1511
|
+
C(d.$slots, "default")
|
|
1375
1512
|
])
|
|
1376
1513
|
], 2));
|
|
1377
1514
|
}
|
|
1378
|
-
}),
|
|
1379
|
-
class: "w-full min-w-[260px] max-w-xs p-4 bg-white rounded-lg shadow-lg dark:bg-gray-800",
|
|
1380
|
-
role: "alert"
|
|
1381
|
-
}, Fl = { class: "flex items-center gap-4 text-sm" }, Hl = { class: "flex-auto" }, Ll = {
|
|
1382
|
-
key: 0,
|
|
1383
|
-
class: "text-green-600"
|
|
1384
|
-
}, jl = {
|
|
1385
|
-
key: 0,
|
|
1386
|
-
class: "w-full bg-gray-200 rounded-full dark:bg-gray-700 mt-2"
|
|
1387
|
-
}, Tl = /* @__PURE__ */ $({
|
|
1515
|
+
}), ua = { class: "relative flex items-center gap-2 w-full p-2 overflow-hidden" }, va = { class: "flex-auto text-xs" }, fa = { class: "text-gray-500 dark:text-gray-400 mt-1" }, ha = /* @__PURE__ */ B({
|
|
1388
1516
|
__name: "CardNotification",
|
|
1389
1517
|
props: {
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
timeout: { default: 0 }
|
|
1518
|
+
key: {},
|
|
1519
|
+
isNew: {},
|
|
1520
|
+
color: {},
|
|
1521
|
+
timeout: {},
|
|
1522
|
+
date: {},
|
|
1523
|
+
text: {}
|
|
1397
1524
|
},
|
|
1398
|
-
emits: ["
|
|
1399
|
-
setup(
|
|
1400
|
-
const
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1525
|
+
emits: ["remove", "read"],
|
|
1526
|
+
setup(e, { emit: t }) {
|
|
1527
|
+
const d = e, r = t, s = ["", "bg-green-500", "bg-red-500", "bg-yellow-500", "bg-blue-500"], n = (f) => s[f], v = (f) => r("remove", f), u = (f) => r("read", f);
|
|
1528
|
+
return (f, a) => (o(), c("div", ua, [
|
|
1529
|
+
l("div", {
|
|
1530
|
+
class: V(["absolute left-0 top-0 w-[3px] h-full", n(d.color)])
|
|
1531
|
+
}, null, 2),
|
|
1532
|
+
p(j, {
|
|
1533
|
+
class: "shrink-0",
|
|
1534
|
+
type: "icon",
|
|
1535
|
+
color: "gray",
|
|
1536
|
+
onClick: u
|
|
1537
|
+
}, {
|
|
1538
|
+
default: m(() => [
|
|
1539
|
+
l("span", {
|
|
1540
|
+
class: V([d.isNew ? "flex" : "hidden", "absolute right-0 top-0.5 z-1 h-2 w-2 rounded-full bg-orange-400"])
|
|
1541
|
+
}, a[0] || (a[0] = [
|
|
1542
|
+
l("span", { class: "absolute -z-1 inline-flex h-full w-full animate-ping rounded-full bg-orange-400 opacity-75" }, null, -1)
|
|
1543
|
+
]), 2),
|
|
1544
|
+
p(z(he), { class: "size-5" })
|
|
1545
|
+
]),
|
|
1546
|
+
_: 1
|
|
1547
|
+
}),
|
|
1548
|
+
l("div", va, [
|
|
1549
|
+
l("div", null, _(d.text), 1),
|
|
1550
|
+
l("div", fa, _(z(Ze)(d.date)) + " (" + _(z(Je)(d.date)) + ")", 1)
|
|
1417
1551
|
]),
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1552
|
+
p(j, {
|
|
1553
|
+
class: "shrink-0",
|
|
1554
|
+
type: "icon",
|
|
1555
|
+
size: "small",
|
|
1556
|
+
onClick: v
|
|
1557
|
+
}, {
|
|
1558
|
+
default: m(() => [
|
|
1559
|
+
p(z(G), { class: "size-4" })
|
|
1560
|
+
]),
|
|
1561
|
+
_: 1
|
|
1562
|
+
})
|
|
1424
1563
|
]));
|
|
1425
1564
|
}
|
|
1426
|
-
}),
|
|
1565
|
+
}), pa = { class: "flex-auto flex justify-between" }, ga = { class: "text-sm text-gray-500 font-medium line-clamp-2 overflow-hidden" }, ma = { class: "text-sm text-ellipsis overflow-hidden text-nowrap" }, ba = { class: "flex-auto flex items-center justify-between gap-6 me-2" }, ya = { class: "min-h-60 relative" }, xa = { class: "pt-6" }, ka = { class: "text-center text-3xl text-ellipsis overflow-hidden" }, _a = { class: "text-center text-xl mt-4" }, W = /* @__PURE__ */ B({
|
|
1427
1566
|
__name: "CardBase",
|
|
1428
1567
|
props: {
|
|
1568
|
+
size: {},
|
|
1429
1569
|
id: {},
|
|
1430
1570
|
name: {},
|
|
1431
|
-
keyValue: {},
|
|
1432
1571
|
type: {},
|
|
1433
1572
|
icon: {},
|
|
1434
1573
|
value: {},
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
getItem: { type: Function },
|
|
1442
|
-
setItem: { type: Function }
|
|
1574
|
+
valueTo: {},
|
|
1575
|
+
opts: {},
|
|
1576
|
+
args: {},
|
|
1577
|
+
set: {},
|
|
1578
|
+
get: {},
|
|
1579
|
+
getTo: {}
|
|
1443
1580
|
},
|
|
1444
|
-
emits: ["edit"],
|
|
1445
|
-
setup(
|
|
1446
|
-
const
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
list: t.list,
|
|
1455
|
-
modify: f(t.value),
|
|
1456
|
-
icon: t.icon
|
|
1457
|
-
}));
|
|
1458
|
-
return (s, h) => {
|
|
1459
|
-
const p = P("AppDialog");
|
|
1460
|
-
return n(), c("div", {
|
|
1461
|
-
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 cursor-pointer",
|
|
1462
|
-
onClick: a
|
|
1581
|
+
emits: ["edit", "close", "open"],
|
|
1582
|
+
setup(e, { emit: t }) {
|
|
1583
|
+
const d = L(!1), r = t, s = e, n = M(() => ["button", "dimmer"].includes(s.type || "") && s.value ? "text-amber-500" : "text-gray-400"), v = M(() => s.icon || ""), u = (h) => r("edit", h), f = () => d.value = !0, a = (h) => r("open", h), i = (h) => {
|
|
1584
|
+
d.value = !1, r("close", h);
|
|
1585
|
+
};
|
|
1586
|
+
return (h, b) => {
|
|
1587
|
+
const $ = ee("AppDialog");
|
|
1588
|
+
return o(), c("div", {
|
|
1589
|
+
class: "flex flex-col border relative aspect-square rounded-md 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 cursor-pointer",
|
|
1590
|
+
onClick: f
|
|
1463
1591
|
}, [
|
|
1464
|
-
l("div",
|
|
1592
|
+
l("div", pa, [
|
|
1465
1593
|
l("div", {
|
|
1466
|
-
class:
|
|
1594
|
+
class: V(n.value)
|
|
1467
1595
|
}, [
|
|
1468
|
-
|
|
1469
|
-
name:
|
|
1470
|
-
class: "size-8"
|
|
1471
|
-
}, null, 8, ["name"])
|
|
1596
|
+
p(Z, {
|
|
1597
|
+
name: v.value,
|
|
1598
|
+
class: V(["size-8", s.value ? "animate-shake" : ""])
|
|
1599
|
+
}, null, 8, ["name", "class"])
|
|
1472
1600
|
], 2),
|
|
1473
|
-
|
|
1601
|
+
C(h.$slots, "header", E(R(s)))
|
|
1474
1602
|
]),
|
|
1475
1603
|
l("div", null, [
|
|
1476
|
-
|
|
1477
|
-
l("h6",
|
|
1478
|
-
|
|
1479
|
-
|
|
1604
|
+
C(h.$slots, "body", E(R(s)), () => [
|
|
1605
|
+
l("h6", ga, [
|
|
1606
|
+
C(h.$slots, "name", E(R(s)), () => [
|
|
1607
|
+
T(_(s.name), 1)
|
|
1480
1608
|
])
|
|
1481
1609
|
]),
|
|
1482
|
-
l("div",
|
|
1483
|
-
|
|
1484
|
-
|
|
1610
|
+
l("div", ma, [
|
|
1611
|
+
C(h.$slots, "value", E(R(s)), () => [
|
|
1612
|
+
T(_(s.valueTo || s.value), 1)
|
|
1485
1613
|
])
|
|
1486
1614
|
])
|
|
1487
1615
|
])
|
|
1488
1616
|
]),
|
|
1489
|
-
|
|
1617
|
+
v.value ? (o(), A(Z, {
|
|
1490
1618
|
key: 0,
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1619
|
+
name: v.value,
|
|
1620
|
+
class: "absolute left-1/2 top-1/2 size-[calc(50%)] opacity-5 text-gray-200/20 -translate-1/2"
|
|
1621
|
+
}, null, 8, ["name"])) : I("", !0),
|
|
1622
|
+
d.value ? (o(), A($, {
|
|
1623
|
+
key: 1,
|
|
1624
|
+
size: s.size || "sm",
|
|
1625
|
+
title: h.name,
|
|
1626
|
+
onClose: i,
|
|
1627
|
+
onOpen: a
|
|
1494
1628
|
}, {
|
|
1495
1629
|
header: m(() => [
|
|
1496
|
-
l("div",
|
|
1497
|
-
|
|
1630
|
+
l("div", ba, [
|
|
1631
|
+
p(j, {
|
|
1498
1632
|
type: "icon",
|
|
1499
|
-
|
|
1500
|
-
onClick: d
|
|
1633
|
+
onClick: u
|
|
1501
1634
|
}, {
|
|
1502
1635
|
default: m(() => [
|
|
1503
|
-
|
|
1504
|
-
name: "IconDots",
|
|
1505
|
-
class: "size-8"
|
|
1506
|
-
})
|
|
1636
|
+
p(Z, { name: "Dots" })
|
|
1507
1637
|
]),
|
|
1508
1638
|
_: 1
|
|
1509
1639
|
})
|
|
1510
1640
|
])
|
|
1511
1641
|
]),
|
|
1512
1642
|
default: m(() => [
|
|
1513
|
-
l("div",
|
|
1514
|
-
l("div",
|
|
1515
|
-
l("h3",
|
|
1516
|
-
|
|
1517
|
-
|
|
1643
|
+
l("div", ya, [
|
|
1644
|
+
l("div", xa, [
|
|
1645
|
+
l("h3", ka, [
|
|
1646
|
+
C(h.$slots, "dialog-name", E(R(s)), () => [
|
|
1647
|
+
T(_(s.name), 1)
|
|
1518
1648
|
])
|
|
1519
1649
|
]),
|
|
1520
|
-
|
|
1521
|
-
l("p",
|
|
1522
|
-
|
|
1523
|
-
|
|
1650
|
+
C(h.$slots, "dialog", E(R(s))),
|
|
1651
|
+
l("p", _a, [
|
|
1652
|
+
C(h.$slots, "dialog-value", E(R(s)), () => [
|
|
1653
|
+
T(_(s.valueTo || s.value), 1)
|
|
1524
1654
|
])
|
|
1525
1655
|
])
|
|
1526
1656
|
])
|
|
1527
1657
|
])
|
|
1528
1658
|
]),
|
|
1529
1659
|
_: 3
|
|
1530
|
-
}, 8, ["title"])) :
|
|
1660
|
+
}, 8, ["size", "title"])) : I("", !0)
|
|
1531
1661
|
]);
|
|
1532
1662
|
};
|
|
1533
1663
|
}
|
|
1534
|
-
}),
|
|
1664
|
+
}), $a = { class: "flex justify-end" }, wa = { class: "flex justify-center py-4" }, Ca = /* @__PURE__ */ B({
|
|
1535
1665
|
__name: "CardButton",
|
|
1536
1666
|
props: {
|
|
1537
1667
|
id: {},
|
|
1538
1668
|
name: {},
|
|
1539
|
-
keyValue: {},
|
|
1540
1669
|
type: {},
|
|
1541
1670
|
icon: {},
|
|
1542
1671
|
value: {},
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
getItem: { type: Function },
|
|
1550
|
-
setItem: { type: Function }
|
|
1672
|
+
valueTo: {},
|
|
1673
|
+
opts: {},
|
|
1674
|
+
args: {},
|
|
1675
|
+
set: {},
|
|
1676
|
+
get: {},
|
|
1677
|
+
getTo: {}
|
|
1551
1678
|
},
|
|
1552
1679
|
emits: ["click", "setState"],
|
|
1553
|
-
setup(
|
|
1554
|
-
const
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1680
|
+
setup(e, { emit: t }) {
|
|
1681
|
+
const d = t, r = e, s = ({ opts: u = {} }) => {
|
|
1682
|
+
const { disabled: f } = u;
|
|
1683
|
+
return { disabled: f };
|
|
1684
|
+
}, n = (u) => d("click", u), v = () => d("setState", !r.value);
|
|
1685
|
+
return (u, f) => (o(), A(W, D(r, { onClick: n }), {
|
|
1686
|
+
header: m((a) => [
|
|
1687
|
+
l("div", $a, [
|
|
1688
|
+
p(j, D(s(a), {
|
|
1559
1689
|
type: "icon",
|
|
1560
|
-
size: "sm",
|
|
1561
1690
|
class: "text-gray-500",
|
|
1562
|
-
onClick:
|
|
1563
|
-
}, {
|
|
1691
|
+
onClick: F(v, ["stop"])
|
|
1692
|
+
}), {
|
|
1564
1693
|
default: m(() => [
|
|
1565
|
-
|
|
1694
|
+
p(z(re), { class: "size-10" })
|
|
1566
1695
|
]),
|
|
1567
|
-
_:
|
|
1568
|
-
})
|
|
1696
|
+
_: 2
|
|
1697
|
+
}, 1040)
|
|
1569
1698
|
])
|
|
1570
1699
|
]),
|
|
1571
|
-
dialog: m(() => [
|
|
1572
|
-
l("div",
|
|
1573
|
-
|
|
1700
|
+
dialog: m((a) => [
|
|
1701
|
+
l("div", wa, [
|
|
1702
|
+
p(j, D(s(a), {
|
|
1574
1703
|
type: "icon",
|
|
1575
|
-
size: "
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
}, {
|
|
1704
|
+
class: ["size-18", r.value ? "text-amber-500" : "text-blue-600 dark:text-blue-400"],
|
|
1705
|
+
onClick: F(v, ["stop"])
|
|
1706
|
+
}), {
|
|
1579
1707
|
default: m(() => [
|
|
1580
|
-
|
|
1708
|
+
p(z(re), { class: "size-16" })
|
|
1581
1709
|
]),
|
|
1582
|
-
_:
|
|
1583
|
-
},
|
|
1710
|
+
_: 2
|
|
1711
|
+
}, 1040, ["class"])
|
|
1584
1712
|
])
|
|
1585
1713
|
]),
|
|
1586
1714
|
_: 1
|
|
1587
1715
|
}, 16));
|
|
1588
1716
|
}
|
|
1589
|
-
}),
|
|
1717
|
+
}), za = { class: "flex justify-center relative mx-2 my-6" }, Va = /* @__PURE__ */ B({
|
|
1590
1718
|
__name: "CardDate",
|
|
1591
1719
|
props: {
|
|
1592
1720
|
id: {},
|
|
1593
1721
|
name: {},
|
|
1594
|
-
keyValue: {},
|
|
1595
1722
|
type: {},
|
|
1596
1723
|
icon: {},
|
|
1597
1724
|
value: {},
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
getItem: { type: Function },
|
|
1605
|
-
setItem: { type: Function }
|
|
1725
|
+
valueTo: {},
|
|
1726
|
+
opts: {},
|
|
1727
|
+
args: {},
|
|
1728
|
+
set: {},
|
|
1729
|
+
get: {},
|
|
1730
|
+
getTo: {}
|
|
1606
1731
|
},
|
|
1607
1732
|
emits: ["click", "setState"],
|
|
1608
|
-
setup(
|
|
1609
|
-
const
|
|
1610
|
-
var
|
|
1611
|
-
const
|
|
1612
|
-
|
|
1613
|
-
},
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1733
|
+
setup(e, { emit: t }) {
|
|
1734
|
+
const d = t, r = e, s = (f) => new Date(+f * 1e3).toISOString().slice(0, 16), n = (f) => {
|
|
1735
|
+
var i;
|
|
1736
|
+
const a = (i = f == null ? void 0 : f.target) == null ? void 0 : i.valueAsNumber;
|
|
1737
|
+
a && d("setState", a / 1e3);
|
|
1738
|
+
}, v = ({ name: f, value: a, opts: i = {} }) => {
|
|
1739
|
+
const { disabled: h } = i;
|
|
1740
|
+
return { label: f, modelValue: s(a), disabled: h };
|
|
1741
|
+
}, u = (f) => d("click", f);
|
|
1742
|
+
return (f, a) => (o(), A(W, D(r, { onClick: u }), {
|
|
1743
|
+
dialog: m((i) => [
|
|
1744
|
+
l("div", za, [
|
|
1745
|
+
p(O, D(v(i), {
|
|
1619
1746
|
type: "datetime-local",
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
}, null, 8, ["modelValue"])
|
|
1747
|
+
onChange: n
|
|
1748
|
+
}), null, 16)
|
|
1623
1749
|
])
|
|
1624
1750
|
]),
|
|
1625
1751
|
_: 1
|
|
1626
1752
|
}, 16));
|
|
1627
1753
|
}
|
|
1628
|
-
}),
|
|
1629
|
-
class: /* @__PURE__ */
|
|
1630
|
-
},
|
|
1754
|
+
}), Ba = { class: "flex justify-end" }, Ma = {
|
|
1755
|
+
class: /* @__PURE__ */ V("text-blue-600 dark:text-blue-400")
|
|
1756
|
+
}, Ia = {
|
|
1631
1757
|
width: "32",
|
|
1632
1758
|
height: "32",
|
|
1633
1759
|
viewBox: "-7.5 -7.5 75 75",
|
|
1634
1760
|
version: "1.1",
|
|
1635
1761
|
style: { transform: "rotate(-90deg)" }
|
|
1636
|
-
},
|
|
1762
|
+
}, Aa = ["stroke-dashoffset"], Sa = { class: "absolute top-1/2 left-1/2 -translate-1/2 text-white z-10 font-bold text-xl" }, Ta = /* @__PURE__ */ B({
|
|
1637
1763
|
__name: "CardDimmer",
|
|
1638
1764
|
props: {
|
|
1639
1765
|
id: {},
|
|
1640
1766
|
name: {},
|
|
1641
|
-
keyValue: {},
|
|
1642
1767
|
type: {},
|
|
1643
1768
|
icon: {},
|
|
1644
1769
|
value: {},
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
getItem: { type: Function },
|
|
1652
|
-
setItem: { type: Function }
|
|
1770
|
+
valueTo: {},
|
|
1771
|
+
opts: {},
|
|
1772
|
+
args: {},
|
|
1773
|
+
set: {},
|
|
1774
|
+
get: {},
|
|
1775
|
+
getTo: {}
|
|
1653
1776
|
},
|
|
1654
1777
|
emits: ["click", "setState"],
|
|
1655
|
-
setup(
|
|
1656
|
-
const
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
}
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
s[0] || (s[0] = l("circle", {
|
|
1778
|
+
setup(e, { emit: t }) {
|
|
1779
|
+
const d = t, r = e, s = ({ opts: a, value: i }) => Math.round(100 * +i / ((a == null ? void 0 : a.max) || 255)), n = ({ opts: a, value: i }) => Math.round(187 - +i / ((a == null ? void 0 : a.max) || 255) * 187), v = ({ value: a, opts: i }) => {
|
|
1780
|
+
const { min: h = 0, max: b = 255, step: $ = 1, disabled: y } = i || {};
|
|
1781
|
+
return { min: h, max: b, step: $, value: a, disabled: !!y, class: y ? "" : "cursor-pointer" };
|
|
1782
|
+
}, u = (a) => d("click", a), f = (a) => d("setState", +a.target.value || 0);
|
|
1783
|
+
return (a, i) => (o(), A(W, D(r, { onClick: u }), {
|
|
1784
|
+
header: m((h) => [
|
|
1785
|
+
l("div", Ba, [
|
|
1786
|
+
l("div", Ma, [
|
|
1787
|
+
(o(), c("svg", Ia, [
|
|
1788
|
+
i[0] || (i[0] = l("circle", {
|
|
1667
1789
|
class: "stroke-gray-300 dark:stroke-gray-700",
|
|
1668
1790
|
r: "30",
|
|
1669
1791
|
cx: "30",
|
|
@@ -1678,598 +1800,828 @@ const A1 = { render: S1 }, W = /* @__PURE__ */ $({
|
|
|
1678
1800
|
stroke: "currentColor",
|
|
1679
1801
|
"stroke-width": "8",
|
|
1680
1802
|
"stroke-linecap": "butt",
|
|
1681
|
-
"stroke-dashoffset":
|
|
1803
|
+
"stroke-dashoffset": n(h),
|
|
1682
1804
|
fill: "transparent",
|
|
1683
1805
|
"stroke-dasharray": "187"
|
|
1684
|
-
}, null, 8,
|
|
1806
|
+
}, null, 8, Aa)
|
|
1685
1807
|
]))
|
|
1686
1808
|
])
|
|
1687
1809
|
])
|
|
1688
1810
|
]),
|
|
1689
|
-
dialog: m((
|
|
1690
|
-
l("div",
|
|
1691
|
-
|
|
1811
|
+
dialog: m((h) => [
|
|
1812
|
+
l("div", {
|
|
1813
|
+
class: V(["flex justify-center relative mx-2 my-6", v(h).disabled ? "opacity-40" : ""])
|
|
1814
|
+
}, [
|
|
1815
|
+
i[1] || (i[1] = l("div", { class: "absolute h-10 w-full top-0 left-0 bg-gray-400 dark:bg-gray-800 z-0 rounded-md" }, null, -1)),
|
|
1692
1816
|
l("div", {
|
|
1693
|
-
class: "absolute h-10 top-0 left-0 bg-blue-600 dark:bg-blue-400 z-0 rounded-md",
|
|
1694
|
-
style:
|
|
1817
|
+
class: "absolute h-10 top-0 left-0 bg-blue-600 dark:bg-blue-400 z-0 rounded-md transition-[width_0.3s_linear]",
|
|
1818
|
+
style: J(`width: ${s(h)}%`)
|
|
1695
1819
|
}, null, 4),
|
|
1696
|
-
l("div",
|
|
1697
|
-
l("input", {
|
|
1698
|
-
|
|
1699
|
-
min: h,
|
|
1700
|
-
max: p,
|
|
1701
|
-
value: g,
|
|
1702
|
-
step: "1",
|
|
1703
|
-
class: "w-full h-10 z-10 appearance-none cursor-pointer opacity-0",
|
|
1820
|
+
l("div", Sa, _(s(h)) + " %", 1),
|
|
1821
|
+
l("input", D({ type: "range" }, v(h), {
|
|
1822
|
+
class: "w-full h-10 z-10 appearance-none opacity-0",
|
|
1704
1823
|
onChange: f
|
|
1705
|
-
}, null,
|
|
1706
|
-
])
|
|
1824
|
+
}), null, 16)
|
|
1825
|
+
], 2)
|
|
1707
1826
|
]),
|
|
1708
1827
|
_: 1
|
|
1709
1828
|
}, 16));
|
|
1710
1829
|
}
|
|
1711
|
-
}),
|
|
1830
|
+
}), Ha = /* @__PURE__ */ B({
|
|
1712
1831
|
__name: "CardInfo",
|
|
1713
1832
|
props: {
|
|
1714
1833
|
id: {},
|
|
1715
1834
|
name: {},
|
|
1716
|
-
keyValue: {},
|
|
1717
1835
|
type: {},
|
|
1718
1836
|
icon: {},
|
|
1719
1837
|
value: {},
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
getItem: { type: Function },
|
|
1727
|
-
setItem: { type: Function }
|
|
1838
|
+
valueTo: {},
|
|
1839
|
+
opts: {},
|
|
1840
|
+
args: {},
|
|
1841
|
+
set: {},
|
|
1842
|
+
get: {},
|
|
1843
|
+
getTo: {}
|
|
1728
1844
|
},
|
|
1729
1845
|
emits: ["click"],
|
|
1730
|
-
setup(
|
|
1731
|
-
const
|
|
1732
|
-
return (
|
|
1846
|
+
setup(e, { emit: t }) {
|
|
1847
|
+
const d = t, r = e, s = (n) => d("click", n);
|
|
1848
|
+
return (n, v) => (o(), A(W, D(r, { onClick: s }), {
|
|
1733
1849
|
default: m(() => [
|
|
1734
|
-
|
|
1850
|
+
C(n.$slots, "dialog")
|
|
1735
1851
|
]),
|
|
1736
1852
|
_: 3
|
|
1737
1853
|
}, 16));
|
|
1738
1854
|
}
|
|
1739
|
-
}),
|
|
1855
|
+
}), Da = { class: "flex justify-center relative mx-2 my-6" }, La = /* @__PURE__ */ B({
|
|
1740
1856
|
__name: "CardInput",
|
|
1741
1857
|
props: {
|
|
1742
1858
|
id: {},
|
|
1743
1859
|
name: {},
|
|
1744
|
-
keyValue: {},
|
|
1745
1860
|
type: {},
|
|
1746
1861
|
icon: {},
|
|
1747
1862
|
value: {},
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
getItem: { type: Function },
|
|
1755
|
-
setItem: { type: Function }
|
|
1863
|
+
valueTo: {},
|
|
1864
|
+
opts: {},
|
|
1865
|
+
args: {},
|
|
1866
|
+
set: {},
|
|
1867
|
+
get: {},
|
|
1868
|
+
getTo: {}
|
|
1756
1869
|
},
|
|
1757
1870
|
emits: ["click", "setState"],
|
|
1758
|
-
setup(
|
|
1759
|
-
const
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
]),
|
|
1774
|
-
_: 1
|
|
1775
|
-
}, 16));
|
|
1776
|
-
}
|
|
1777
|
-
}), i0 = { class: "flex justify-center py-4" }, c0 = { class: "size-16" }, d0 = /* @__PURE__ */ $({
|
|
1778
|
-
__name: "CardSwitch",
|
|
1779
|
-
props: {
|
|
1780
|
-
id: {},
|
|
1781
|
-
name: {},
|
|
1782
|
-
keyValue: {},
|
|
1783
|
-
type: {},
|
|
1784
|
-
icon: {},
|
|
1785
|
-
value: {},
|
|
1786
|
-
min: {},
|
|
1787
|
-
max: {},
|
|
1788
|
-
list: {},
|
|
1789
|
-
get: { type: Function },
|
|
1790
|
-
set: { type: Function },
|
|
1791
|
-
modifyValue: { type: Function },
|
|
1792
|
-
getItem: { type: Function },
|
|
1793
|
-
setItem: { type: Function }
|
|
1794
|
-
},
|
|
1795
|
-
emits: ["click", "setState"],
|
|
1796
|
-
setup(t, { emit: e }) {
|
|
1797
|
-
const i = e, o = t, r = (a) => i("click", a), d = () => i("setState", o);
|
|
1798
|
-
return (a, f) => (n(), k(O, F(o, { onClick: r }), {
|
|
1799
|
-
header: m(() => [...f[0] || (f[0] = [
|
|
1800
|
-
l("div", { class: "flex justify-end" }, null, -1)
|
|
1801
|
-
])]),
|
|
1802
|
-
dialog: m(() => [
|
|
1803
|
-
l("div", i0, [
|
|
1804
|
-
v(B, {
|
|
1805
|
-
type: "icon",
|
|
1806
|
-
size: "sm",
|
|
1807
|
-
class: w(["h-18 w-18", o.value ? "text-amber-500" : "text-blue-600 dark:text-blue-400"]),
|
|
1808
|
-
onClick: L(d, ["stop"])
|
|
1809
|
-
}, {
|
|
1810
|
-
default: m(() => [
|
|
1811
|
-
l("div", c0, [
|
|
1812
|
-
v(M(R))
|
|
1813
|
-
])
|
|
1871
|
+
setup(e, { emit: t }) {
|
|
1872
|
+
const d = t, r = e, s = ({ name: u, value: f, opts: a = {} }) => {
|
|
1873
|
+
const { disabled: i } = a;
|
|
1874
|
+
return { label: u, modelValue: f, disabled: i };
|
|
1875
|
+
}, n = (u) => d("setState", u.target.value), v = (u) => d("click", u);
|
|
1876
|
+
return (u, f) => (o(), A(W, D(r, { onClick: v }), {
|
|
1877
|
+
dialog: m((a) => [
|
|
1878
|
+
l("div", Da, [
|
|
1879
|
+
p(O, D(s(a), {
|
|
1880
|
+
autofocus: "",
|
|
1881
|
+
onEnter: n,
|
|
1882
|
+
onBlur: n
|
|
1883
|
+
}), {
|
|
1884
|
+
icon: m(() => [
|
|
1885
|
+
p(z(K), { class: "size-6 rotate-270" })
|
|
1814
1886
|
]),
|
|
1815
|
-
_:
|
|
1816
|
-
},
|
|
1887
|
+
_: 2
|
|
1888
|
+
}, 1040)
|
|
1817
1889
|
])
|
|
1818
1890
|
]),
|
|
1819
1891
|
_: 1
|
|
1820
1892
|
}, 16));
|
|
1821
1893
|
}
|
|
1822
|
-
}),
|
|
1894
|
+
}), ja = { class: "flex justify-center py-4" }, Na = /* @__PURE__ */ B({
|
|
1823
1895
|
__name: "CardList",
|
|
1824
1896
|
props: {
|
|
1825
1897
|
id: {},
|
|
1826
1898
|
name: {},
|
|
1827
|
-
keyValue: {},
|
|
1828
1899
|
type: {},
|
|
1829
1900
|
icon: {},
|
|
1830
1901
|
value: {},
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
getItem: { type: Function },
|
|
1838
|
-
setItem: { type: Function }
|
|
1902
|
+
valueTo: {},
|
|
1903
|
+
opts: {},
|
|
1904
|
+
args: {},
|
|
1905
|
+
set: {},
|
|
1906
|
+
get: {},
|
|
1907
|
+
getTo: {}
|
|
1839
1908
|
},
|
|
1840
1909
|
emits: ["click", "setState"],
|
|
1841
|
-
setup(
|
|
1842
|
-
const
|
|
1843
|
-
var
|
|
1844
|
-
return Array.isArray(f
|
|
1910
|
+
setup(e, { emit: t }) {
|
|
1911
|
+
const d = t, r = e, s = (f) => d("click", f), n = ({ value: f }) => d("setState", f), v = ({ opts: f, value: a }) => {
|
|
1912
|
+
var i;
|
|
1913
|
+
return Array.isArray(f == null ? void 0 : f.list) && ((i = f == null ? void 0 : f.list.find((h) => h.value === a)) == null ? void 0 : i.name) || a;
|
|
1914
|
+
}, u = ({ name: f, value: a, opts: i = {} }) => {
|
|
1915
|
+
const { list: h = [], disabled: b } = i;
|
|
1916
|
+
return { label: f, value: a, list: h, disabled: b };
|
|
1845
1917
|
};
|
|
1846
|
-
return (f,
|
|
1847
|
-
value: m((
|
|
1848
|
-
|
|
1918
|
+
return (f, a) => (o(), A(W, D(r, { onClick: s }), {
|
|
1919
|
+
value: m((i) => [
|
|
1920
|
+
T(_(v(i)), 1)
|
|
1849
1921
|
]),
|
|
1850
|
-
"dialog-value": m((
|
|
1851
|
-
|
|
1922
|
+
"dialog-value": m((i) => [
|
|
1923
|
+
T(_(v(i)), 1)
|
|
1852
1924
|
]),
|
|
1853
|
-
dialog: m((
|
|
1854
|
-
l("div",
|
|
1855
|
-
|
|
1856
|
-
value: h,
|
|
1857
|
-
label: s,
|
|
1858
|
-
list: p,
|
|
1859
|
-
onChange: d
|
|
1860
|
-
}, null, 8, ["value", "label", "list"])
|
|
1925
|
+
dialog: m((i) => [
|
|
1926
|
+
l("div", ja, [
|
|
1927
|
+
p(Q, D(u(i), { onChange: n }), null, 16)
|
|
1861
1928
|
])
|
|
1862
1929
|
]),
|
|
1863
1930
|
_: 1
|
|
1864
1931
|
}, 16));
|
|
1865
1932
|
}
|
|
1866
|
-
}),
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
}, h = () => {
|
|
1907
|
-
i("remove", o.value);
|
|
1908
|
-
};
|
|
1909
|
-
return q(() => {
|
|
1910
|
-
o.value = { ...t.item };
|
|
1911
|
-
}), (p, g) => (n(), c("div", h0, [
|
|
1912
|
-
l("div", v0, [
|
|
1913
|
-
l("div", m0, [
|
|
1914
|
-
v(A, {
|
|
1915
|
-
modelValue: o.value.id,
|
|
1916
|
-
"onUpdate:modelValue": g[0] || (g[0] = (b) => o.value.id = b),
|
|
1917
|
-
label: "ID",
|
|
1918
|
-
disabled: !p.isNew,
|
|
1919
|
-
onClick: g[1] || (g[1] = (b) => i("select", b))
|
|
1920
|
-
}, null, 8, ["modelValue", "disabled"]),
|
|
1921
|
-
v(A, {
|
|
1922
|
-
modelValue: o.value.keyValue,
|
|
1923
|
-
"onUpdate:modelValue": g[2] || (g[2] = (b) => o.value.keyValue = b),
|
|
1924
|
-
label: "KeyValue"
|
|
1925
|
-
}, null, 8, ["modelValue"])
|
|
1926
|
-
]),
|
|
1927
|
-
v(A, {
|
|
1928
|
-
modelValue: o.value.name,
|
|
1929
|
-
"onUpdate:modelValue": g[3] || (g[3] = (b) => o.value.name = b),
|
|
1930
|
-
label: "Name"
|
|
1931
|
-
}, null, 8, ["modelValue"]),
|
|
1932
|
-
l("div", p0, [
|
|
1933
|
-
v(K, {
|
|
1934
|
-
value: o.value.icon,
|
|
1935
|
-
label: "Icon",
|
|
1936
|
-
list: r,
|
|
1937
|
-
onChange: f
|
|
1938
|
-
}, {
|
|
1939
|
-
default: m(({ item: b }) => [
|
|
1940
|
-
l("div", g0, [
|
|
1941
|
-
v(W, {
|
|
1942
|
-
name: b.icon,
|
|
1943
|
-
class: "size-5"
|
|
1944
|
-
}, null, 8, ["name"]),
|
|
1945
|
-
l("div", null, x(b.name), 1)
|
|
1946
|
-
])
|
|
1947
|
-
]),
|
|
1948
|
-
_: 1
|
|
1949
|
-
}, 8, ["value"]),
|
|
1950
|
-
v(K, {
|
|
1951
|
-
value: o.value.type,
|
|
1952
|
-
label: "Type",
|
|
1953
|
-
list: d,
|
|
1954
|
-
onChange: u
|
|
1955
|
-
}, null, 8, ["value"])
|
|
1956
|
-
]),
|
|
1957
|
-
l("div", y0, [
|
|
1958
|
-
a.value ? (n(), k(A, {
|
|
1959
|
-
key: 0,
|
|
1960
|
-
modelValue: o.value.min,
|
|
1961
|
-
"onUpdate:modelValue": g[4] || (g[4] = (b) => o.value.min = b),
|
|
1962
|
-
label: "Min"
|
|
1963
|
-
}, null, 8, ["modelValue"])) : C("", !0),
|
|
1964
|
-
a.value ? (n(), k(A, {
|
|
1965
|
-
key: 1,
|
|
1966
|
-
modelValue: o.value.max,
|
|
1967
|
-
"onUpdate:modelValue": g[5] || (g[5] = (b) => o.value.max = b),
|
|
1968
|
-
label: "Max"
|
|
1969
|
-
}, null, 8, ["modelValue"])) : C("", !0)
|
|
1970
|
-
]),
|
|
1971
|
-
o.value.set ? (n(), k(A, {
|
|
1972
|
-
key: 0,
|
|
1973
|
-
modelValue: o.value.set,
|
|
1974
|
-
"onUpdate:modelValue": g[6] || (g[6] = (b) => o.value.set = b),
|
|
1975
|
-
component: "textarea",
|
|
1976
|
-
label: "Set"
|
|
1977
|
-
}, null, 8, ["modelValue"])) : C("", !0),
|
|
1978
|
-
v(A, {
|
|
1979
|
-
modelValue: o.value.get,
|
|
1980
|
-
"onUpdate:modelValue": g[7] || (g[7] = (b) => o.value.get = b),
|
|
1981
|
-
component: "textarea",
|
|
1982
|
-
label: "Get"
|
|
1983
|
-
}, null, 8, ["modelValue"]),
|
|
1984
|
-
v(A, {
|
|
1985
|
-
modelValue: o.value.modifyValue,
|
|
1986
|
-
"onUpdate:modelValue": g[8] || (g[8] = (b) => o.value.modifyValue = b),
|
|
1987
|
-
component: "textarea",
|
|
1988
|
-
label: "ModifyValue"
|
|
1989
|
-
}, null, 8, ["modelValue"])
|
|
1990
|
-
]),
|
|
1991
|
-
l("div", b0, [
|
|
1992
|
-
v(B, {
|
|
1993
|
-
class: "px-4",
|
|
1994
|
-
color: "red",
|
|
1995
|
-
outline: "",
|
|
1996
|
-
onClick: h
|
|
1997
|
-
}, {
|
|
1998
|
-
default: m(() => [...g[9] || (g[9] = [
|
|
1999
|
-
V("Remove", -1)
|
|
2000
|
-
])]),
|
|
2001
|
-
_: 1
|
|
2002
|
-
}),
|
|
2003
|
-
v(B, {
|
|
2004
|
-
class: "px-4",
|
|
2005
|
-
color: "blue",
|
|
2006
|
-
onClick: s
|
|
2007
|
-
}, {
|
|
2008
|
-
default: m(() => [...g[10] || (g[10] = [
|
|
2009
|
-
V("Save", -1)
|
|
2010
|
-
])]),
|
|
2011
|
-
_: 1
|
|
2012
|
-
})
|
|
2013
|
-
])
|
|
2014
|
-
]));
|
|
2015
|
-
}
|
|
2016
|
-
}), k0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2017
|
-
__proto__: null,
|
|
2018
|
-
BlockItemEdit: x0,
|
|
2019
|
-
CardBase: O,
|
|
2020
|
-
CardButton: Wl,
|
|
2021
|
-
CardDate: Ql,
|
|
2022
|
-
CardDimmer: o0,
|
|
2023
|
-
CardInfo: s0,
|
|
2024
|
-
CardInput: r0,
|
|
2025
|
-
CardList: f0,
|
|
2026
|
-
CardSwitch: d0
|
|
2027
|
-
}, Symbol.toStringTag, { value: "Module" })), _0 = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 ease-linear h-full" }, $0 = /* @__PURE__ */ $({
|
|
2028
|
-
__name: "AppAside",
|
|
2029
|
-
props: {
|
|
2030
|
-
isSidebar: { type: Boolean, default: !1 }
|
|
2031
|
-
},
|
|
2032
|
-
emits: ["sidebar"],
|
|
2033
|
-
setup(t, { emit: e }) {
|
|
2034
|
-
const i = e, o = () => {
|
|
2035
|
-
t.isSidebar && i("sidebar", !t.isSidebar);
|
|
2036
|
-
};
|
|
2037
|
-
return (r, d) => {
|
|
2038
|
-
const a = P("router-link");
|
|
2039
|
-
return n(), c(I, null, [
|
|
2040
|
-
r.isSidebar ? (n(), c("div", {
|
|
2041
|
-
key: 0,
|
|
2042
|
-
class: "lg:hidden overlay fixed left-0 top-0 h-full w-full bg-black/40 bg-blur z-10",
|
|
2043
|
-
onClick: o
|
|
2044
|
-
})) : C("", !0),
|
|
2045
|
-
l("aside", {
|
|
2046
|
-
class: w([r.isSidebar ? "translate-x-0 lg:w-[90px]" : "-translate-x-full", "overflow-x-hidden fixed top-0 left-0 z-10 flex lg:static h-full w-[290px] flex-col overflow-y-auto border-r border-gray-200 px-5 transition-all lg:translate-x-0 dark:border-gray-800 bg-white dark:bg-gray-900 -translate-x-full"])
|
|
2047
|
-
}, [
|
|
2048
|
-
l("div", {
|
|
2049
|
-
class: w([r.isSidebar ? "justify-center" : "justify-between", "sidebar-header flex items-center gap-2 pt-6 pb-6 justify-between"])
|
|
2050
|
-
}, [
|
|
2051
|
-
v(a, { to: "/" }, {
|
|
2052
|
-
default: m(() => [
|
|
2053
|
-
r.isSidebar ? (n(), k(M(fe), {
|
|
2054
|
-
key: 0,
|
|
2055
|
-
class: "h-[30px] text-primary"
|
|
2056
|
-
})) : (n(), k(M(le), {
|
|
2057
|
-
key: 1,
|
|
2058
|
-
class: "h-[30px] text-primary"
|
|
2059
|
-
}))
|
|
2060
|
-
]),
|
|
2061
|
-
_: 1
|
|
2062
|
-
})
|
|
2063
|
-
], 2),
|
|
2064
|
-
l("div", _0, [
|
|
2065
|
-
_(r.$slots, "default")
|
|
2066
|
-
])
|
|
2067
|
-
], 2)
|
|
2068
|
-
], 64);
|
|
2069
|
-
};
|
|
2070
|
-
}
|
|
2071
|
-
}), w0 = { class: "flex-auto flex align-center p-4" }, C0 = { class: "flex items-center justify-between px-4 py-2 border-b dark:border-gray-700 border-gray-200" }, V0 = { class: "px-4 py-2 flex-auto scroll-none" }, z0 = ["innerHTML"], M0 = {
|
|
1933
|
+
}), Oa = [
|
|
1934
|
+
"Dots",
|
|
1935
|
+
"Air",
|
|
1936
|
+
"Bulb",
|
|
1937
|
+
"Cold",
|
|
1938
|
+
"Camera",
|
|
1939
|
+
"Vent",
|
|
1940
|
+
"Garage",
|
|
1941
|
+
"Video",
|
|
1942
|
+
"Light",
|
|
1943
|
+
"Tv",
|
|
1944
|
+
"Therm",
|
|
1945
|
+
"Store",
|
|
1946
|
+
"Socket",
|
|
1947
|
+
"Search",
|
|
1948
|
+
"Save",
|
|
1949
|
+
"Noti",
|
|
1950
|
+
"Logout",
|
|
1951
|
+
"Lock",
|
|
1952
|
+
"Folder",
|
|
1953
|
+
"Chevron",
|
|
1954
|
+
"Close",
|
|
1955
|
+
"Dashboard",
|
|
1956
|
+
"Device",
|
|
1957
|
+
"Drop",
|
|
1958
|
+
"Burger",
|
|
1959
|
+
"EyeClose",
|
|
1960
|
+
"EyeOpen",
|
|
1961
|
+
"File",
|
|
1962
|
+
"Gpio",
|
|
1963
|
+
"Update",
|
|
1964
|
+
"Heater",
|
|
1965
|
+
"Setting",
|
|
1966
|
+
"Logo",
|
|
1967
|
+
"LogoMini",
|
|
1968
|
+
"Power",
|
|
1969
|
+
"Theme",
|
|
1970
|
+
"Info",
|
|
1971
|
+
"Plus"
|
|
1972
|
+
], Fa = ["Button", "Info", "Dimmer", "Date", "Input", "List"], Pa = Oa.map((e, t) => ({ id: ++t, name: `${e}`, value: e })), Ea = Fa.map((e, t) => ({ id: ++t, name: `${e}`, value: `${e.toLowerCase()}` })), Ra = { class: "flex-auto flex align-center md:px-4 overflow-y-auto no-scrollbar" }, Ua = { class: "flex items-center justify-between px-4 py-2 rounded-md border-b border-gray-200 dark:border-gray-700 bg-gray-50 dark:bg-gray-900 sticky top-0 z-30" }, Ga = { class: "px-4 py-2 flex-auto scroll-none" }, Wa = ["innerHTML"], qa = {
|
|
2072
1973
|
key: 0,
|
|
2073
1974
|
class: "px-4 py-2 flex justify-end"
|
|
2074
|
-
},
|
|
1975
|
+
}, Te = /* @__PURE__ */ B({
|
|
2075
1976
|
__name: "AppDialog",
|
|
2076
1977
|
props: {
|
|
2077
1978
|
value: { type: Boolean },
|
|
2078
|
-
title: {
|
|
1979
|
+
title: {},
|
|
2079
1980
|
message: { default: "" },
|
|
2080
1981
|
callback: { type: Function },
|
|
2081
1982
|
button: { default: "OK" },
|
|
2082
1983
|
size: { default: "sm" }
|
|
2083
1984
|
},
|
|
2084
|
-
emits: ["close"],
|
|
2085
|
-
setup(
|
|
2086
|
-
const
|
|
2087
|
-
|
|
2088
|
-
|
|
1985
|
+
emits: ["close", "open"],
|
|
1986
|
+
setup(e, { emit: t }) {
|
|
1987
|
+
const d = t, r = L(!1), s = { sm: "max-w-[330px]", md: "max-w-[600px]", lg: "max-w-[960px]" }, n = M(() => s[e.size]), v = (a) => {
|
|
1988
|
+
r.value = !1, setTimeout(() => {
|
|
1989
|
+
d("close", a);
|
|
2089
1990
|
}, 300);
|
|
2090
|
-
},
|
|
2091
|
-
|
|
2092
|
-
};
|
|
2093
|
-
return
|
|
1991
|
+
}, u = (a) => {
|
|
1992
|
+
e.callback && e.callback(), v(a);
|
|
1993
|
+
}, f = () => d("open", r.value);
|
|
1994
|
+
return ce(() => {
|
|
2094
1995
|
setTimeout(() => {
|
|
2095
|
-
|
|
1996
|
+
r.value = !0;
|
|
2096
1997
|
}, 300);
|
|
2097
|
-
}), (
|
|
2098
|
-
|
|
1998
|
+
}), (a, i) => (o(), A(qe, { to: "body" }, [
|
|
1999
|
+
p(Y, {
|
|
2099
2000
|
"enter-active-class": "duration-300 ease-out",
|
|
2100
2001
|
"enter-from-class": "transform opacity-0 -translate-y-2",
|
|
2101
2002
|
"enter-to-class": "opacity-100 translate-y-0",
|
|
2102
2003
|
"leave-active-class": "duration-200 ease-in",
|
|
2103
2004
|
"leave-from-class": "opacity-100 translate-y-0",
|
|
2104
|
-
"leave-to-class": "transform opacity-0 -translate-y-2"
|
|
2005
|
+
"leave-to-class": "transform opacity-0 -translate-y-2",
|
|
2006
|
+
onAfterEnter: f
|
|
2105
2007
|
}, {
|
|
2106
2008
|
default: m(() => [
|
|
2107
|
-
|
|
2009
|
+
r.value ? (o(), c("div", {
|
|
2108
2010
|
key: 0,
|
|
2109
2011
|
class: "z-20 fixed top-0 h-[100dvh] w-full left-0 flex flex-col",
|
|
2110
|
-
onWheel:
|
|
2012
|
+
onWheel: i[0] || (i[0] = F(() => {
|
|
2111
2013
|
}, ["stop"]))
|
|
2112
2014
|
}, [
|
|
2113
2015
|
l("div", {
|
|
2114
2016
|
class: "absolute h-full w-full top-0 left-0 bg-black/40 bg-blur",
|
|
2115
|
-
onClick:
|
|
2017
|
+
onClick: v
|
|
2116
2018
|
}),
|
|
2117
|
-
l("div",
|
|
2019
|
+
l("div", Ra, [
|
|
2118
2020
|
l("div", {
|
|
2119
|
-
class:
|
|
2021
|
+
class: V(["m-auto w-full bg-gray-50 dark:bg-gray-900 shadow-lg flex flex-col rounded-sm z-30", n.value])
|
|
2120
2022
|
}, [
|
|
2121
|
-
l("div",
|
|
2122
|
-
|
|
2123
|
-
l("h4", null,
|
|
2023
|
+
l("div", Ua, [
|
|
2024
|
+
C(a.$slots, "header", {}, () => [
|
|
2025
|
+
l("h4", null, _(a.title), 1)
|
|
2124
2026
|
]),
|
|
2125
|
-
|
|
2027
|
+
p(j, {
|
|
2126
2028
|
type: "icon",
|
|
2127
|
-
|
|
2128
|
-
onClick: a
|
|
2029
|
+
onClick: v
|
|
2129
2030
|
}, {
|
|
2130
2031
|
default: m(() => [
|
|
2131
|
-
|
|
2032
|
+
p(z(G))
|
|
2132
2033
|
]),
|
|
2133
2034
|
_: 1
|
|
2134
2035
|
})
|
|
2135
2036
|
]),
|
|
2136
|
-
l("div",
|
|
2137
|
-
|
|
2138
|
-
l("div", { innerHTML:
|
|
2037
|
+
l("div", Ga, [
|
|
2038
|
+
C(a.$slots, "default", {}, () => [
|
|
2039
|
+
l("div", { innerHTML: a.message }, null, 8, Wa)
|
|
2139
2040
|
])
|
|
2140
2041
|
]),
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2042
|
+
a.$slots.footer || a.callback ? (o(), c("div", qa, [
|
|
2043
|
+
C(a.$slots, "footer", {}, () => [
|
|
2044
|
+
p(j, {
|
|
2144
2045
|
color: "blue",
|
|
2145
2046
|
size: "small",
|
|
2146
|
-
onClick:
|
|
2047
|
+
onClick: u
|
|
2147
2048
|
}, {
|
|
2148
2049
|
default: m(() => [
|
|
2149
|
-
|
|
2050
|
+
T(_(a.button), 1)
|
|
2150
2051
|
]),
|
|
2151
2052
|
_: 1
|
|
2152
2053
|
})
|
|
2153
2054
|
])
|
|
2154
|
-
])) :
|
|
2055
|
+
])) : I("", !0)
|
|
2155
2056
|
], 2)
|
|
2156
2057
|
])
|
|
2157
|
-
], 32)) :
|
|
2058
|
+
], 32)) : I("", !0)
|
|
2158
2059
|
]),
|
|
2159
2060
|
_: 3
|
|
2160
2061
|
})
|
|
2161
2062
|
]));
|
|
2162
2063
|
}
|
|
2163
|
-
}),
|
|
2164
|
-
__name: "
|
|
2064
|
+
}), Ka = { class: "" }, Za = { class: "flex border-b border-gray-200 dark:border-gray-700" }, Ja = ["onClick"], Qa = { class: "relative my-4" }, Xa = { key: 0 }, Ya = /* @__PURE__ */ B({
|
|
2065
|
+
__name: "VTabs",
|
|
2066
|
+
props: {
|
|
2067
|
+
value: {},
|
|
2068
|
+
items: {}
|
|
2069
|
+
},
|
|
2070
|
+
emits: ["click"],
|
|
2071
|
+
setup(e, { expose: t, emit: d }) {
|
|
2072
|
+
const r = d, s = L(e.value || 0), n = (u) => [s.value === u ? "" : "before:hidden"], v = (u) => {
|
|
2073
|
+
s.value = u, r("click", u);
|
|
2074
|
+
};
|
|
2075
|
+
return t({
|
|
2076
|
+
setActiveTab: v,
|
|
2077
|
+
activeTab: s
|
|
2078
|
+
}), (u, f) => (o(), c("div", Ka, [
|
|
2079
|
+
l("div", Za, [
|
|
2080
|
+
(o(!0), c(H, null, N(u.items, (a, i) => (o(), c("div", {
|
|
2081
|
+
key: i,
|
|
2082
|
+
class: "relative"
|
|
2083
|
+
}, [
|
|
2084
|
+
l("button", {
|
|
2085
|
+
class: V(["font-medium text-lg transition cursor-pointer before:h-[2px] before:absolute before:w-full before:bg-blue-700 before:left-0 before:bottom-0 px-4 py-2", n(i)]),
|
|
2086
|
+
onClick: (h) => v(i)
|
|
2087
|
+
}, _(a.title), 11, Ja)
|
|
2088
|
+
]))), 128))
|
|
2089
|
+
]),
|
|
2090
|
+
l("div", Qa, [
|
|
2091
|
+
(o(!0), c(H, null, N(u.items, (a, i) => (o(), c("div", {
|
|
2092
|
+
key: i,
|
|
2093
|
+
class: "tab-panel"
|
|
2094
|
+
}, [
|
|
2095
|
+
p(Y, {
|
|
2096
|
+
"enter-active-class": "transition-all duration-300 ease-out",
|
|
2097
|
+
"enter-from-class": "transform opacity-0 translate-x-2",
|
|
2098
|
+
"enter-to-class": "transform opacity-100 translate-x-0",
|
|
2099
|
+
"leave-active-class": "transition-all duration-0 ease-in absolute inset-0",
|
|
2100
|
+
"leave-from-class": "transform opacity-100 translate-x-0",
|
|
2101
|
+
"leave-to-class": "transform opacity-0 -translate-x-2"
|
|
2102
|
+
}, {
|
|
2103
|
+
default: m(() => [
|
|
2104
|
+
s.value === i ? (o(), c("div", Xa, [
|
|
2105
|
+
C(u.$slots, `tab-${i}`)
|
|
2106
|
+
])) : I("", !0)
|
|
2107
|
+
]),
|
|
2108
|
+
_: 2
|
|
2109
|
+
}, 1024)
|
|
2110
|
+
]))), 128))
|
|
2111
|
+
])
|
|
2112
|
+
]));
|
|
2113
|
+
}
|
|
2114
|
+
}), eo = { class: "flex flex-col" }, to = { class: "flex gap-4 mb-6" }, lo = {
|
|
2115
|
+
key: 0,
|
|
2116
|
+
class: "flex gap-4"
|
|
2117
|
+
}, so = {
|
|
2118
|
+
key: 1,
|
|
2119
|
+
class: ""
|
|
2120
|
+
}, ao = { class: "flex flex-col md:flex-row gap-4" }, oo = { class: "flex gap-4" }, no = { class: "flex justify-between flex-auto" }, ro = ["onClick"], io = /* @__PURE__ */ B({
|
|
2121
|
+
__name: "ItemOptions",
|
|
2122
|
+
props: {
|
|
2123
|
+
min: { default: 0 },
|
|
2124
|
+
max: { default: 255 },
|
|
2125
|
+
step: { default: 1 },
|
|
2126
|
+
disabled: {},
|
|
2127
|
+
list: { default: () => [] },
|
|
2128
|
+
value: {},
|
|
2129
|
+
type: {}
|
|
2130
|
+
},
|
|
2131
|
+
emits: ["update"],
|
|
2132
|
+
setup(e, { emit: t }) {
|
|
2133
|
+
const d = t, r = M(() => e.list.map((y, w) => ({ ...y, id: ++w }))), s = L({ name: "", value: "" }), n = M(() => e.list.length + 1), v = M(() => {
|
|
2134
|
+
var y;
|
|
2135
|
+
return !((y = s.value) != null && y.id);
|
|
2136
|
+
}), u = (y) => e.type === y, f = (y, w) => d("update", y, w), a = (y) => y.map(({ name: w, value: g }) => ({ name: w, value: g })), i = ({ id: y, name: w, value: g }) => s.value = { id: y, name: w, value: g }, h = () => {
|
|
2137
|
+
const y = n.value;
|
|
2138
|
+
s.value = { name: `New_${y}`, value: y, id: y }, f("list", a([s.value, ...r.value]));
|
|
2139
|
+
}, b = (y) => {
|
|
2140
|
+
s.value.name === y.name && (s.value = { name: "", value: "" }), f("list", a(r.value.filter((w) => w.value !== y.value)));
|
|
2141
|
+
}, $ = ve(() => {
|
|
2142
|
+
const y = s.value;
|
|
2143
|
+
if (!y.name || !y.value) return;
|
|
2144
|
+
const w = r.value.map((g) => g.id === y.id ? y : g);
|
|
2145
|
+
f("list", a(w));
|
|
2146
|
+
}, 300);
|
|
2147
|
+
return (y, w) => (o(), c("div", eo, [
|
|
2148
|
+
l("div", to, [
|
|
2149
|
+
p(ht, {
|
|
2150
|
+
modelValue: y.disabled,
|
|
2151
|
+
"onUpdate:modelValue": w[0] || (w[0] = (g) => f("disabled", g ? 1 : 0))
|
|
2152
|
+
}, {
|
|
2153
|
+
default: m(() => w[6] || (w[6] = [
|
|
2154
|
+
T("Disabled")
|
|
2155
|
+
])),
|
|
2156
|
+
_: 1
|
|
2157
|
+
}, 8, ["modelValue"])
|
|
2158
|
+
]),
|
|
2159
|
+
u("dimmer") ? (o(), c("div", lo, [
|
|
2160
|
+
p(O, {
|
|
2161
|
+
modelValue: y.min,
|
|
2162
|
+
label: "Min",
|
|
2163
|
+
"onUpdate:modelValue": w[1] || (w[1] = (g) => f("min", +g))
|
|
2164
|
+
}, null, 8, ["modelValue"]),
|
|
2165
|
+
p(O, {
|
|
2166
|
+
modelValue: y.max,
|
|
2167
|
+
label: "Max",
|
|
2168
|
+
"onUpdate:modelValue": w[2] || (w[2] = (g) => f("max", +g))
|
|
2169
|
+
}, null, 8, ["modelValue"]),
|
|
2170
|
+
p(O, {
|
|
2171
|
+
modelValue: y.step,
|
|
2172
|
+
label: "Step",
|
|
2173
|
+
"onUpdate:modelValue": w[3] || (w[3] = (g) => f("step", +g))
|
|
2174
|
+
}, null, 8, ["modelValue"])
|
|
2175
|
+
])) : I("", !0),
|
|
2176
|
+
u("list") ? (o(), c("div", so, [
|
|
2177
|
+
l("div", ao, [
|
|
2178
|
+
p(O, {
|
|
2179
|
+
modelValue: s.value.name,
|
|
2180
|
+
"onUpdate:modelValue": [
|
|
2181
|
+
w[4] || (w[4] = (g) => s.value.name = g),
|
|
2182
|
+
z($)
|
|
2183
|
+
],
|
|
2184
|
+
disabled: v.value,
|
|
2185
|
+
label: "Name"
|
|
2186
|
+
}, null, 8, ["modelValue", "disabled", "onUpdate:modelValue"]),
|
|
2187
|
+
p(O, {
|
|
2188
|
+
modelValue: s.value.value,
|
|
2189
|
+
"onUpdate:modelValue": [
|
|
2190
|
+
w[5] || (w[5] = (g) => s.value.value = g),
|
|
2191
|
+
z($)
|
|
2192
|
+
],
|
|
2193
|
+
disabled: v.value,
|
|
2194
|
+
label: "Value"
|
|
2195
|
+
}, {
|
|
2196
|
+
default: m(() => w[7] || (w[7] = [
|
|
2197
|
+
T(">")
|
|
2198
|
+
])),
|
|
2199
|
+
_: 1
|
|
2200
|
+
}, 8, ["modelValue", "disabled", "onUpdate:modelValue"])
|
|
2201
|
+
]),
|
|
2202
|
+
l("div", oo, [
|
|
2203
|
+
p(Q, {
|
|
2204
|
+
value: s.value.value,
|
|
2205
|
+
label: "List",
|
|
2206
|
+
list: r.value,
|
|
2207
|
+
onChange: i
|
|
2208
|
+
}, {
|
|
2209
|
+
default: m(({ item: g }) => [
|
|
2210
|
+
l("div", no, [
|
|
2211
|
+
l("span", null, _(g.name), 1),
|
|
2212
|
+
l("button", {
|
|
2213
|
+
class: "cursor-pointer size-4",
|
|
2214
|
+
onClick: F((P) => b(g), ["prevent", "stop"])
|
|
2215
|
+
}, [
|
|
2216
|
+
p(z(G))
|
|
2217
|
+
], 8, ro)
|
|
2218
|
+
])
|
|
2219
|
+
]),
|
|
2220
|
+
_: 1
|
|
2221
|
+
}, 8, ["value", "list"]),
|
|
2222
|
+
p(j, {
|
|
2223
|
+
class: "px-4",
|
|
2224
|
+
color: "blue",
|
|
2225
|
+
onClick: h
|
|
2226
|
+
}, {
|
|
2227
|
+
default: m(() => [
|
|
2228
|
+
p(z(se))
|
|
2229
|
+
]),
|
|
2230
|
+
_: 1
|
|
2231
|
+
})
|
|
2232
|
+
])
|
|
2233
|
+
])) : I("", !0)
|
|
2234
|
+
]));
|
|
2235
|
+
}
|
|
2236
|
+
}), co = { class: "flex flex-col" }, uo = { class: "flex flex-col md:flex-row gap-6 min-h-[300px]" }, vo = { class: "flex-auto order-1" }, fo = { class: "flex-auto gap-x-2 order-1" }, ho = { class: "grid grid-cols-1 md:grid-cols-2 gap-x-4" }, po = { class: "flex gap-2 items-center" }, go = { class: "flex flex-col gap-4" }, mo = { class: "flex gap-2 flex-wrap flex-auto px-2 py-1" }, bo = { class: "relative group" }, yo = { class: "select-none" }, xo = ["onClick"], ko = { class: "flex justify-center order-0 md:order-1 md:mt-11" }, _o = { class: "flex-[0_0_130px] size-[130px]" }, $o = { class: "flex gap-4 justify-end" }, wo = { class: "relative min-h-[200px] max-h-100dvh overflow-auto scrollbar" }, Co = /* @__PURE__ */ B({
|
|
2237
|
+
__name: "ItemEdit",
|
|
2238
|
+
props: {
|
|
2239
|
+
item: {},
|
|
2240
|
+
object: {}
|
|
2241
|
+
},
|
|
2242
|
+
emits: ["button"],
|
|
2243
|
+
setup(e, { emit: t }) {
|
|
2244
|
+
const d = t, r = [{ title: "Main" }, { title: "Data" }, { title: "Options" }], s = L({
|
|
2245
|
+
id: "",
|
|
2246
|
+
name: "",
|
|
2247
|
+
type: "button",
|
|
2248
|
+
icon: "Bulb",
|
|
2249
|
+
value: "",
|
|
2250
|
+
args: [],
|
|
2251
|
+
set: "",
|
|
2252
|
+
get: "",
|
|
2253
|
+
getTo: ""
|
|
2254
|
+
}), n = L(!1), v = M(() => {
|
|
2255
|
+
var x;
|
|
2256
|
+
return !((x = e.item) != null && x.id);
|
|
2257
|
+
}), u = M(() => s.value.type === "info"), f = M(() => {
|
|
2258
|
+
var x;
|
|
2259
|
+
return (x = s.value.args) == null ? void 0 : x.length;
|
|
2260
|
+
}), a = M(() => s.value.args.length > 3), i = M(() => {
|
|
2261
|
+
const { id: x, args: k } = s.value;
|
|
2262
|
+
return !x || !k.length;
|
|
2263
|
+
}), h = ({ value: x }) => s.value.icon = x, b = ({ value: x }) => {
|
|
2264
|
+
const k = x;
|
|
2265
|
+
s.value.type = k, delete s.value.opts, ["button", "list", "dimmer"].includes(k) && (x === "button" && (s.value.opts = {}), x === "list" && (s.value.opts = { list: [] }), x === "dimmer" && (s.value.opts = { min: 0, max: 255, step: 1 }));
|
|
2266
|
+
}, $ = (x) => {
|
|
2267
|
+
x === "get" && (s.value.get ? delete s.value.get : s.value.get = "v"), x === "set" && (s.value.set ? delete s.value.set : s.value.set = "v"), x === "getTo" && (s.value.getTo ? delete s.value.getTo : s.value.getTo = "v");
|
|
2268
|
+
}, y = (x) => d("button", x, s.value), w = (x) => s.value.args = s.value.args.filter((k) => k !== x), g = ({ path: x }) => {
|
|
2269
|
+
s.value.args.length || (s.value.id = x), s.value.args.push(x), n.value = !1;
|
|
2270
|
+
}, P = L(-1), X = (x) => P.value === x, ae = (x, k) => {
|
|
2271
|
+
x === "enter" && (P.value = k), x === "leave" && (P.value = -1);
|
|
2272
|
+
}, oe = (x, k) => {
|
|
2273
|
+
x === "set" && (s.value.set = k), x === "get" && (s.value.get = k), x === "getTo" && (s.value.getTo = k), k || delete s.value[x];
|
|
2274
|
+
}, He = () => {
|
|
2275
|
+
var x;
|
|
2276
|
+
!s.value.args.length && !((x = e.item) != null && x.id) && (n.value = !0);
|
|
2277
|
+
}, De = (x, k) => {
|
|
2278
|
+
s.value.opts || (s.value.opts = {}), s.value.opts[x] = k, x === "disabled" && !k && delete s.value.opts[x];
|
|
2279
|
+
};
|
|
2280
|
+
return ce(() => {
|
|
2281
|
+
var x;
|
|
2282
|
+
(x = e.item) != null && x.id && (s.value = Qe(e.item));
|
|
2283
|
+
}), (x, k) => (o(), c("div", co, [
|
|
2284
|
+
l("div", uo, [
|
|
2285
|
+
l("div", vo, [
|
|
2286
|
+
p(Ya, {
|
|
2287
|
+
class: "flex-auto",
|
|
2288
|
+
value: 0,
|
|
2289
|
+
items: r
|
|
2290
|
+
}, {
|
|
2291
|
+
"tab-0": m(() => [
|
|
2292
|
+
l("div", fo, [
|
|
2293
|
+
p(O, {
|
|
2294
|
+
modelValue: s.value.id,
|
|
2295
|
+
"onUpdate:modelValue": k[0] || (k[0] = (S) => s.value.id = S),
|
|
2296
|
+
label: "ID",
|
|
2297
|
+
disabled: !v.value,
|
|
2298
|
+
onClick: He
|
|
2299
|
+
}, null, 8, ["modelValue", "disabled"]),
|
|
2300
|
+
p(O, {
|
|
2301
|
+
modelValue: s.value.name,
|
|
2302
|
+
"onUpdate:modelValue": k[1] || (k[1] = (S) => s.value.name = S),
|
|
2303
|
+
label: "Name"
|
|
2304
|
+
}, null, 8, ["modelValue"]),
|
|
2305
|
+
l("div", ho, [
|
|
2306
|
+
p(Q, {
|
|
2307
|
+
value: s.value.icon,
|
|
2308
|
+
label: "Icon",
|
|
2309
|
+
class: "mb-6",
|
|
2310
|
+
list: z(Pa),
|
|
2311
|
+
onChange: h
|
|
2312
|
+
}, {
|
|
2313
|
+
default: m(({ item: S }) => [
|
|
2314
|
+
l("div", po, [
|
|
2315
|
+
p(Z, {
|
|
2316
|
+
name: `${S.value}`,
|
|
2317
|
+
class: "size-5"
|
|
2318
|
+
}, null, 8, ["name"]),
|
|
2319
|
+
l("div", null, _(S.name), 1)
|
|
2320
|
+
])
|
|
2321
|
+
]),
|
|
2322
|
+
_: 1
|
|
2323
|
+
}, 8, ["value", "list"]),
|
|
2324
|
+
p(Q, {
|
|
2325
|
+
value: s.value.type,
|
|
2326
|
+
label: "Type",
|
|
2327
|
+
list: z(Ea),
|
|
2328
|
+
onChange: b
|
|
2329
|
+
}, null, 8, ["value", "list"])
|
|
2330
|
+
])
|
|
2331
|
+
])
|
|
2332
|
+
]),
|
|
2333
|
+
"tab-1": m(() => [
|
|
2334
|
+
l("div", go, [
|
|
2335
|
+
p(Se, {
|
|
2336
|
+
active: !!s.value.args.length,
|
|
2337
|
+
disabled: a.value,
|
|
2338
|
+
label: "Arguments",
|
|
2339
|
+
onIcon: k[2] || (k[2] = (S) => n.value = !0)
|
|
2340
|
+
}, {
|
|
2341
|
+
default: m(() => [
|
|
2342
|
+
l("div", mo, [
|
|
2343
|
+
(o(!0), c(H, null, N(s.value.args, (S, ge) => (o(), c("div", {
|
|
2344
|
+
key: S,
|
|
2345
|
+
class: "flex items-center rounded-full bg-gray-200 dark:bg-gray-900/50 px-2 py-[2px] text-xs"
|
|
2346
|
+
}, [
|
|
2347
|
+
l("div", bo, [
|
|
2348
|
+
l("span", yo, _(S), 1),
|
|
2349
|
+
l("div", {
|
|
2350
|
+
class: V(["fixed left-1/2 top-1/2 p-4 text-white bg-gray-900 rounded-md group-hover:visible invisible opacity-0 group-hover:opacity-100 z-50 transition-all -translate-1/2", X(ge) ? "visible opacity-100" : ""])
|
|
2351
|
+
}, [
|
|
2352
|
+
l("pre", null, _(z(Ke)(S, x.object)), 1)
|
|
2353
|
+
], 2)
|
|
2354
|
+
]),
|
|
2355
|
+
ge ? (o(), c("button", {
|
|
2356
|
+
key: 0,
|
|
2357
|
+
class: "cursor-pointer ms-1",
|
|
2358
|
+
onClick: (o1) => w(S)
|
|
2359
|
+
}, [
|
|
2360
|
+
p(z(G), { class: "size-5" })
|
|
2361
|
+
], 8, xo)) : I("", !0)
|
|
2362
|
+
]))), 128))
|
|
2363
|
+
])
|
|
2364
|
+
]),
|
|
2365
|
+
_: 1
|
|
2366
|
+
}, 8, ["active", "disabled"]),
|
|
2367
|
+
p(ne, {
|
|
2368
|
+
value: s.value.set,
|
|
2369
|
+
args: s.value.args,
|
|
2370
|
+
disabled: !f.value || u.value,
|
|
2371
|
+
label: "Set",
|
|
2372
|
+
onIcon: k[3] || (k[3] = (S) => $("set")),
|
|
2373
|
+
onHover: ae,
|
|
2374
|
+
onChange: k[4] || (k[4] = (S) => oe("set", S))
|
|
2375
|
+
}, null, 8, ["value", "args", "disabled"]),
|
|
2376
|
+
p(ne, {
|
|
2377
|
+
value: s.value.get,
|
|
2378
|
+
args: s.value.args,
|
|
2379
|
+
disabled: !f.value,
|
|
2380
|
+
label: "Get",
|
|
2381
|
+
onIcon: k[5] || (k[5] = (S) => $("get")),
|
|
2382
|
+
onHover: ae,
|
|
2383
|
+
onChange: k[6] || (k[6] = (S) => oe("get", S))
|
|
2384
|
+
}, null, 8, ["value", "args", "disabled"]),
|
|
2385
|
+
p(ne, {
|
|
2386
|
+
value: s.value.getTo,
|
|
2387
|
+
args: s.value.args,
|
|
2388
|
+
disabled: !f.value,
|
|
2389
|
+
label: "GetTo",
|
|
2390
|
+
onIcon: k[7] || (k[7] = (S) => $("getTo")),
|
|
2391
|
+
onHover: ae,
|
|
2392
|
+
onChange: k[8] || (k[8] = (S) => oe("getTo", S))
|
|
2393
|
+
}, null, 8, ["value", "args", "disabled"])
|
|
2394
|
+
])
|
|
2395
|
+
]),
|
|
2396
|
+
"tab-2": m(() => [
|
|
2397
|
+
p(io, D(s.value.opts, {
|
|
2398
|
+
value: s.value.value,
|
|
2399
|
+
type: s.value.type,
|
|
2400
|
+
onUpdate: De
|
|
2401
|
+
}), null, 16, ["value", "type"])
|
|
2402
|
+
]),
|
|
2403
|
+
_: 1
|
|
2404
|
+
})
|
|
2405
|
+
]),
|
|
2406
|
+
l("div", ko, [
|
|
2407
|
+
l("div", _o, [
|
|
2408
|
+
C(x.$slots, "default", { item: s.value })
|
|
2409
|
+
])
|
|
2410
|
+
])
|
|
2411
|
+
]),
|
|
2412
|
+
l("div", $o, [
|
|
2413
|
+
p(j, {
|
|
2414
|
+
class: "px-4",
|
|
2415
|
+
color: "red",
|
|
2416
|
+
outline: "",
|
|
2417
|
+
onClick: k[9] || (k[9] = (S) => y("remove"))
|
|
2418
|
+
}, {
|
|
2419
|
+
default: m(() => k[13] || (k[13] = [
|
|
2420
|
+
T(_("Remove"))
|
|
2421
|
+
])),
|
|
2422
|
+
_: 1
|
|
2423
|
+
}),
|
|
2424
|
+
p(j, {
|
|
2425
|
+
class: "px-4",
|
|
2426
|
+
color: "gray",
|
|
2427
|
+
outline: "",
|
|
2428
|
+
onClick: k[10] || (k[10] = (S) => y("cancel"))
|
|
2429
|
+
}, {
|
|
2430
|
+
default: m(() => k[14] || (k[14] = [
|
|
2431
|
+
T(_("Cancel"))
|
|
2432
|
+
])),
|
|
2433
|
+
_: 1
|
|
2434
|
+
}),
|
|
2435
|
+
p(j, {
|
|
2436
|
+
class: "px-4",
|
|
2437
|
+
color: "blue",
|
|
2438
|
+
disabled: i.value,
|
|
2439
|
+
onClick: k[11] || (k[11] = (S) => y(v.value ? "add" : "save"))
|
|
2440
|
+
}, {
|
|
2441
|
+
default: m(() => [
|
|
2442
|
+
T(_(v.value ? "Add" : "Save"), 1)
|
|
2443
|
+
]),
|
|
2444
|
+
_: 1
|
|
2445
|
+
}, 8, ["disabled"])
|
|
2446
|
+
]),
|
|
2447
|
+
n.value ? (o(), A(Te, {
|
|
2448
|
+
key: 0,
|
|
2449
|
+
size: "md",
|
|
2450
|
+
title: "Select",
|
|
2451
|
+
onClose: k[12] || (k[12] = (S) => n.value = !1)
|
|
2452
|
+
}, {
|
|
2453
|
+
default: m(() => [
|
|
2454
|
+
l("div", wo, [
|
|
2455
|
+
p(Ae, {
|
|
2456
|
+
items: x.object,
|
|
2457
|
+
onlyValue: !f.value,
|
|
2458
|
+
onClick: g
|
|
2459
|
+
}, null, 8, ["items", "onlyValue"])
|
|
2460
|
+
])
|
|
2461
|
+
]),
|
|
2462
|
+
_: 1
|
|
2463
|
+
})) : I("", !0)
|
|
2464
|
+
]));
|
|
2465
|
+
}
|
|
2466
|
+
}), zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2467
|
+
__proto__: null,
|
|
2468
|
+
CardBase: W,
|
|
2469
|
+
CardButton: Ca,
|
|
2470
|
+
CardDate: Va,
|
|
2471
|
+
CardDimmer: Ta,
|
|
2472
|
+
CardInfo: Ha,
|
|
2473
|
+
CardInput: La,
|
|
2474
|
+
CardList: Na,
|
|
2475
|
+
ItemEdit: Co
|
|
2476
|
+
}, Symbol.toStringTag, { value: "Module" })), Vo = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 ease-linear h-full" }, Bo = /* @__PURE__ */ B({
|
|
2477
|
+
__name: "AppAside",
|
|
2165
2478
|
props: {
|
|
2166
|
-
|
|
2479
|
+
isSidebar: { type: Boolean, default: !1 }
|
|
2167
2480
|
},
|
|
2168
2481
|
emits: ["sidebar"],
|
|
2169
|
-
setup(
|
|
2170
|
-
const
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2482
|
+
setup(e, { emit: t }) {
|
|
2483
|
+
const d = t, r = () => {
|
|
2484
|
+
e.isSidebar && d("sidebar", !e.isSidebar);
|
|
2485
|
+
};
|
|
2486
|
+
return (s, n) => {
|
|
2487
|
+
const v = ee("router-link");
|
|
2488
|
+
return o(), c(H, null, [
|
|
2489
|
+
s.isSidebar ? (o(), c("div", {
|
|
2490
|
+
key: 0,
|
|
2491
|
+
class: "lg:hidden overlay fixed left-0 top-0 h-full w-full bg-black/40 z-10 bg-blur",
|
|
2492
|
+
onClick: r
|
|
2493
|
+
})) : I("", !0),
|
|
2494
|
+
l("aside", {
|
|
2495
|
+
class: V([s.isSidebar ? "translate-x-0 lg:w-[90px]" : "-translate-x-full", "overflow-x-hidden fixed top-0 left-0 z-10 flex lg:static h-full w-[290px] flex-col overflow-y-auto border-r border-gray-200 px-5 transition-all duration-350 lg:translate-x-0 dark:border-gray-800 bg-white dark:bg-gray-900"])
|
|
2496
|
+
}, [
|
|
2497
|
+
l("div", {
|
|
2498
|
+
class: V([s.isSidebar ? "justify-center" : "justify-between", "sidebar-header flex items-center gap-2 pt-6 pb-6 justify-between"])
|
|
2499
|
+
}, [
|
|
2500
|
+
p(v, { to: "/" }, {
|
|
2501
|
+
default: m(() => [
|
|
2502
|
+
s.isSidebar ? (o(), A(z(Be), {
|
|
2503
|
+
key: 0,
|
|
2504
|
+
class: "h-[30px] text-primary"
|
|
2505
|
+
})) : (o(), A(z(fe), {
|
|
2506
|
+
key: 1,
|
|
2507
|
+
class: "h-[30px] text-primary"
|
|
2508
|
+
}))
|
|
2509
|
+
]),
|
|
2510
|
+
_: 1
|
|
2511
|
+
})
|
|
2512
|
+
], 2),
|
|
2513
|
+
l("div", Vo, [
|
|
2514
|
+
C(s.$slots, "default")
|
|
2515
|
+
])
|
|
2516
|
+
], 2)
|
|
2517
|
+
], 64);
|
|
2518
|
+
};
|
|
2519
|
+
}
|
|
2520
|
+
}), Mo = { 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" }, Io = { class: "px-4 py-4 sm:px-6 lg:px-8" }, Ao = { class: "container mx-auto flex flex-auto items-center" }, So = { class: "lg:hidden h-[30px]" }, To = { class: "gap-4 hidden lg:flex" }, Ho = { class: "lg:hidden flex gap-4" }, Do = { class: "ms-2" }, Lo = /* @__PURE__ */ B({
|
|
2521
|
+
__name: "AppHeader",
|
|
2522
|
+
props: {
|
|
2523
|
+
changeTheme: { type: Function },
|
|
2524
|
+
notifications: {}
|
|
2525
|
+
},
|
|
2526
|
+
emits: ["sidebar", "notif"],
|
|
2527
|
+
setup(e, { emit: t }) {
|
|
2528
|
+
const d = t, r = [
|
|
2529
|
+
{ name: "Theme", value: 1 },
|
|
2530
|
+
{ name: "Notification", value: 2 },
|
|
2531
|
+
{ name: "Logout", value: 3 }
|
|
2532
|
+
], s = M(() => !!e.notifications.find((i) => i.isNew)), n = (i) => d("sidebar", i), v = (i) => d("notif", i), u = async () => await fetch("/", { headers: { Authorization: "Basic AAAAAAAAAAAAAAAAAAA=" } }), f = () => {
|
|
2533
|
+
e.changeTheme && e.changeTheme();
|
|
2534
|
+
}, a = ({ value: i }, h) => {
|
|
2535
|
+
i == 1 && f(), i == 2 && v(h), i == 3 && u();
|
|
2180
2536
|
};
|
|
2181
|
-
return (
|
|
2182
|
-
const
|
|
2183
|
-
return
|
|
2184
|
-
l("div",
|
|
2185
|
-
l("div",
|
|
2186
|
-
|
|
2537
|
+
return (i, h) => {
|
|
2538
|
+
const b = ee("router-link");
|
|
2539
|
+
return o(), c("header", Mo, [
|
|
2540
|
+
l("div", Io, [
|
|
2541
|
+
l("div", Ao, [
|
|
2542
|
+
p(j, {
|
|
2187
2543
|
type: "icon",
|
|
2188
2544
|
color: "gray",
|
|
2189
|
-
|
|
2190
|
-
onClick: a
|
|
2545
|
+
onClick: n
|
|
2191
2546
|
}, {
|
|
2192
2547
|
default: m(() => [
|
|
2193
|
-
|
|
2548
|
+
p(z(Ve), { class: "size-5" })
|
|
2194
2549
|
]),
|
|
2195
2550
|
_: 1
|
|
2196
2551
|
}),
|
|
2197
|
-
|
|
2198
|
-
l("div",
|
|
2199
|
-
|
|
2552
|
+
h[1] || (h[1] = l("div", { class: "lg:hidden flex-auto" }, null, -1)),
|
|
2553
|
+
l("div", So, [
|
|
2554
|
+
p(b, { to: "/" }, {
|
|
2200
2555
|
default: m(() => [
|
|
2201
|
-
|
|
2556
|
+
p(z(fe), { class: "h-[30px] text-primary" })
|
|
2202
2557
|
]),
|
|
2203
2558
|
_: 1
|
|
2204
2559
|
})
|
|
2205
2560
|
]),
|
|
2206
|
-
|
|
2207
|
-
l("div",
|
|
2208
|
-
|
|
2561
|
+
h[2] || (h[2] = l("div", { class: "flex-auto" }, null, -1)),
|
|
2562
|
+
l("div", To, [
|
|
2563
|
+
p(j, {
|
|
2209
2564
|
type: "icon",
|
|
2210
2565
|
color: "gray",
|
|
2211
|
-
onClick:
|
|
2566
|
+
onClick: f
|
|
2212
2567
|
}, {
|
|
2213
2568
|
default: m(() => [
|
|
2214
|
-
|
|
2569
|
+
p(z(Me))
|
|
2215
2570
|
]),
|
|
2216
2571
|
_: 1
|
|
2217
2572
|
}),
|
|
2218
|
-
|
|
2573
|
+
p(j, {
|
|
2219
2574
|
type: "icon",
|
|
2220
2575
|
color: "gray",
|
|
2221
|
-
onClick:
|
|
2222
|
-
o.value = !o.value, r.value = !1;
|
|
2223
|
-
}, ["prevent"]))
|
|
2576
|
+
onClick: v
|
|
2224
2577
|
}, {
|
|
2225
2578
|
default: m(() => [
|
|
2226
2579
|
l("span", {
|
|
2227
|
-
class:
|
|
2228
|
-
}, [
|
|
2580
|
+
class: V([s.value ? "flex" : "hidden", "absolute right-0 top-0.5 z-1 h-2 w-2 rounded-full bg-orange-400"])
|
|
2581
|
+
}, h[0] || (h[0] = [
|
|
2229
2582
|
l("span", { class: "absolute -z-1 inline-flex h-full w-full animate-ping rounded-full bg-orange-400 opacity-75" }, null, -1)
|
|
2230
|
-
])
|
|
2231
|
-
|
|
2583
|
+
]), 2),
|
|
2584
|
+
p(z(he), { class: "size-5" })
|
|
2232
2585
|
]),
|
|
2233
2586
|
_: 1
|
|
2234
2587
|
}),
|
|
2235
|
-
|
|
2588
|
+
p(j, {
|
|
2236
2589
|
type: "icon",
|
|
2237
2590
|
color: "gray",
|
|
2238
|
-
onClick:
|
|
2591
|
+
onClick: F(u, ["prevent"])
|
|
2239
2592
|
}, {
|
|
2240
2593
|
default: m(() => [
|
|
2241
|
-
|
|
2594
|
+
p(z(Ie), { class: "size-5" })
|
|
2242
2595
|
]),
|
|
2243
2596
|
_: 1
|
|
2244
2597
|
})
|
|
2245
2598
|
]),
|
|
2246
|
-
l("div",
|
|
2247
|
-
|
|
2599
|
+
l("div", Ho, [
|
|
2600
|
+
p(te, {
|
|
2248
2601
|
left: "unset",
|
|
2249
2602
|
right: "0",
|
|
2250
2603
|
top: "0"
|
|
2251
2604
|
}, {
|
|
2252
|
-
activator: m(({ on:
|
|
2253
|
-
|
|
2605
|
+
activator: m(({ on: $ }) => [
|
|
2606
|
+
p(j, {
|
|
2254
2607
|
type: "icon",
|
|
2255
2608
|
color: "gray",
|
|
2256
2609
|
class: "flex",
|
|
2257
|
-
onClick:
|
|
2610
|
+
onClick: $.click
|
|
2258
2611
|
}, {
|
|
2259
2612
|
default: m(() => [
|
|
2260
|
-
|
|
2613
|
+
p(z(Ce))
|
|
2261
2614
|
]),
|
|
2262
|
-
_:
|
|
2263
|
-
},
|
|
2615
|
+
_: 2
|
|
2616
|
+
}, 1032, ["onClick"])
|
|
2264
2617
|
]),
|
|
2265
2618
|
default: m(() => [
|
|
2266
|
-
|
|
2267
|
-
list:
|
|
2268
|
-
onClick:
|
|
2619
|
+
p(le, {
|
|
2620
|
+
list: r,
|
|
2621
|
+
onClick: a
|
|
2269
2622
|
}, {
|
|
2270
|
-
default: m(({ item:
|
|
2271
|
-
(
|
|
2272
|
-
l("span", j0, x(b.name), 1)
|
|
2623
|
+
default: m(({ item: $ }) => [
|
|
2624
|
+
l("span", Do, _($.name), 1)
|
|
2273
2625
|
]),
|
|
2274
2626
|
_: 1
|
|
2275
2627
|
})
|
|
@@ -2282,41 +2634,69 @@ const A1 = { render: S1 }, W = /* @__PURE__ */ $({
|
|
|
2282
2634
|
]);
|
|
2283
2635
|
};
|
|
2284
2636
|
}
|
|
2285
|
-
}),
|
|
2637
|
+
}), jo = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 ease-linear h-full" }, No = {
|
|
2638
|
+
key: 0,
|
|
2639
|
+
class: "flex flex-col gap-2 p-2"
|
|
2640
|
+
}, Oo = /* @__PURE__ */ B({
|
|
2286
2641
|
__name: "AppNotification",
|
|
2287
2642
|
props: {
|
|
2288
|
-
|
|
2643
|
+
value: { type: Boolean },
|
|
2644
|
+
notifications: {}
|
|
2289
2645
|
},
|
|
2290
|
-
emits: ["close"],
|
|
2291
|
-
setup(
|
|
2292
|
-
const
|
|
2293
|
-
return (
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
},
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2646
|
+
emits: ["close", "remove", "read"],
|
|
2647
|
+
setup(e, { emit: t }) {
|
|
2648
|
+
const d = e, r = t, s = M(() => !!d.notifications.find((a) => a.isNew)), n = M(() => !!d.notifications.length), v = (a) => r("close", a), u = (a) => r("remove", a), f = (a) => r("read", a);
|
|
2649
|
+
return (a, i) => (o(), c(H, null, [
|
|
2650
|
+
d.value ? (o(), c("div", {
|
|
2651
|
+
key: 0,
|
|
2652
|
+
class: "overlay fixed left-0 top-0 h-full w-full bg-black/40 bg-blur",
|
|
2653
|
+
onClick: v
|
|
2654
|
+
})) : I("", !0),
|
|
2655
|
+
l("aside", {
|
|
2656
|
+
class: V([d.value ? "translate-x-0 " : "translate-x-full", "overflow-x-hidden fixed top-[73px] right-0 flex h-[calc(100%-73px)] w-[290px] md:w-80 border-l border-gray-200 flex-col overflow-y-auto transition-all duration-350 dark:border-gray-800 bg-white dark:bg-gray-900"])
|
|
2657
|
+
}, [
|
|
2658
|
+
l("div", jo, [
|
|
2659
|
+
C(a.$slots, "header", { isNew: s.value }),
|
|
2660
|
+
n.value ? (o(), c("div", No, [
|
|
2661
|
+
p(_e, {
|
|
2662
|
+
"enter-active-class": "transition-all duration-300 ",
|
|
2663
|
+
"enter-from-class": "opacity-0 translate-x-1/2",
|
|
2664
|
+
"enter-to-class": "opacity-100 translate-x-0",
|
|
2665
|
+
"leave-active-class": "transition-all duration-300 absolute",
|
|
2666
|
+
"leave-from-class": "opacity-100 translate-x-0",
|
|
2667
|
+
"leave-to-class": "opacity-0 translate-x-1/2"
|
|
2668
|
+
}, {
|
|
2669
|
+
default: m(() => [
|
|
2670
|
+
(o(!0), c(H, null, N(d.notifications, (h) => (o(), c("div", {
|
|
2671
|
+
key: h.date,
|
|
2672
|
+
class: "relative"
|
|
2673
|
+
}, [
|
|
2674
|
+
C(a.$slots, "card", { item: h }, () => [
|
|
2675
|
+
p(ha, D({ ref_for: !0 }, h, {
|
|
2676
|
+
class: "bg-gray-200/50 dark:bg-gray-800/50 rounded-md",
|
|
2677
|
+
onRemove: (b) => u(h),
|
|
2678
|
+
onRead: (b) => f(h)
|
|
2679
|
+
}), null, 16, ["onRemove", "onRead"])
|
|
2680
|
+
])
|
|
2681
|
+
]))), 128))
|
|
2682
|
+
]),
|
|
2683
|
+
_: 3
|
|
2684
|
+
})
|
|
2685
|
+
])) : C(a.$slots, "empty", { key: 1 })
|
|
2686
|
+
])
|
|
2687
|
+
], 2)
|
|
2688
|
+
], 64));
|
|
2309
2689
|
}
|
|
2310
|
-
}),
|
|
2311
|
-
function
|
|
2312
|
-
return
|
|
2313
|
-
|
|
2314
|
-
l("div",
|
|
2315
|
-
|
|
2690
|
+
}), Fo = {}, Po = { class: "fixed h-full w-full top-0 left-0 z-20" }, Eo = { class: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2" };
|
|
2691
|
+
function Ro(e, t) {
|
|
2692
|
+
return o(), c("div", Po, [
|
|
2693
|
+
t[0] || (t[0] = l("div", { class: "absolute h-full w-full top-0 left-0 bg-black/60 bg-blur" }, null, -1)),
|
|
2694
|
+
l("div", Eo, [
|
|
2695
|
+
C(e.$slots, "default")
|
|
2316
2696
|
])
|
|
2317
2697
|
]);
|
|
2318
2698
|
}
|
|
2319
|
-
const
|
|
2699
|
+
const Uo = /* @__PURE__ */ $e(Fo, [["render", Ro]]), Go = { class: "mb-4 flex flex-col gap-4" }, Wo = ["onClick"], qo = { class: "flex flex-col gap-2" }, Ko = { class: "flex gap-2 ms-8" }, Zo = { class: "flex-1 first-letter:uppercase text-sm" }, Jo = /* @__PURE__ */ B({
|
|
2320
2700
|
__name: "AppNav",
|
|
2321
2701
|
props: {
|
|
2322
2702
|
menu: { default: () => [] },
|
|
@@ -2324,121 +2704,195 @@ const U0 = /* @__PURE__ */ re(O0, [["render", P0]]), G0 = { class: "mb-4 flex fl
|
|
|
2324
2704
|
isSidebar: { type: Boolean, default: !1 }
|
|
2325
2705
|
},
|
|
2326
2706
|
emits: ["sidebar"],
|
|
2327
|
-
setup(
|
|
2328
|
-
const
|
|
2329
|
-
|
|
2330
|
-
},
|
|
2331
|
-
return
|
|
2332
|
-
() =>
|
|
2707
|
+
setup(e, { emit: t }) {
|
|
2708
|
+
const d = t, r = L(""), s = ({ name: v, path: u }) => {
|
|
2709
|
+
e.isSidebar && d("sidebar", !e.isSidebar), r.value !== v && (r.value = r.value === v ? "" : v);
|
|
2710
|
+
}, n = (v) => e.fullPath === v;
|
|
2711
|
+
return U(
|
|
2712
|
+
() => e.menu,
|
|
2333
2713
|
() => {
|
|
2334
|
-
var
|
|
2335
|
-
return
|
|
2714
|
+
var v;
|
|
2715
|
+
return r.value = ((v = Xe(e.menu, e.fullPath)) == null ? void 0 : v.name) || "";
|
|
2336
2716
|
}
|
|
2337
|
-
), (
|
|
2338
|
-
const
|
|
2339
|
-
return
|
|
2340
|
-
l("ul",
|
|
2341
|
-
(
|
|
2342
|
-
key:
|
|
2717
|
+
), (v, u) => {
|
|
2718
|
+
const f = ee("v-icons");
|
|
2719
|
+
return o(), c("nav", null, [
|
|
2720
|
+
l("ul", Go, [
|
|
2721
|
+
(o(!0), c(H, null, N(v.menu, (a) => (o(), c("li", {
|
|
2722
|
+
key: a.name
|
|
2343
2723
|
}, [
|
|
2344
|
-
(
|
|
2345
|
-
to:
|
|
2346
|
-
class:
|
|
2347
|
-
onClick:
|
|
2724
|
+
(o(), A(q(a.path ? "router-link" : "span"), {
|
|
2725
|
+
to: a.path,
|
|
2726
|
+
class: V(["flex gap-2 items-center px-3 py-2 rounded-lg", n(a.path) ? "bg-blue-500/10" : "hover:bg-gray-500/10"]),
|
|
2727
|
+
onClick: F((i) => s(a), ["prevent", "stop"])
|
|
2348
2728
|
}, {
|
|
2349
2729
|
default: m(() => [
|
|
2350
|
-
|
|
2351
|
-
name:
|
|
2730
|
+
p(f, {
|
|
2731
|
+
name: a.icon,
|
|
2352
2732
|
class: "size-5 flex-[0_0_24px]"
|
|
2353
2733
|
}, null, 8, ["name"]),
|
|
2354
2734
|
l("span", {
|
|
2355
|
-
class:
|
|
2356
|
-
},
|
|
2735
|
+
class: V(["flex-1 first-letter:uppercase text-sm", v.isSidebar ? "lg:hidden" : ""])
|
|
2736
|
+
}, _(a.name), 3),
|
|
2357
2737
|
l("button", {
|
|
2358
|
-
class:
|
|
2359
|
-
onClick:
|
|
2738
|
+
class: V(["cursor-pointer", [v.isSidebar ? "lg:hidden" : ""]]),
|
|
2739
|
+
onClick: F((i) => s(a), ["prevent", "stop"])
|
|
2360
2740
|
}, [
|
|
2361
|
-
|
|
2362
|
-
], 10,
|
|
2741
|
+
a.children ? (o(), A(z(K), { key: 0 })) : I("", !0)
|
|
2742
|
+
], 10, Wo)
|
|
2363
2743
|
]),
|
|
2364
2744
|
_: 2
|
|
2365
2745
|
}, 1032, ["to", "class", "onClick"])),
|
|
2366
|
-
|
|
2746
|
+
a.children ? (o(), c("div", {
|
|
2367
2747
|
key: 0,
|
|
2368
|
-
class:
|
|
2748
|
+
class: V(["translate transform overflow-hidden mt-2", [v.isSidebar ? "lg:hidden" : "", r.value === a.name ? "block" : "hidden"]])
|
|
2369
2749
|
}, [
|
|
2370
|
-
l("ul",
|
|
2371
|
-
(
|
|
2372
|
-
(
|
|
2373
|
-
to:
|
|
2374
|
-
class:
|
|
2750
|
+
l("ul", qo, [
|
|
2751
|
+
(o(!0), c(H, null, N(a.children, ({ name: i, path: h, icon: b }) => (o(), c("li", { key: i }, [
|
|
2752
|
+
(o(), A(q(h ? "router-link" : "span"), {
|
|
2753
|
+
to: h,
|
|
2754
|
+
class: V(["flex gap-2 items-center px-3 py-2 rounded-lg", n(h) ? "bg-blue-500/10" : "hover:bg-gray-500/10"])
|
|
2375
2755
|
}, {
|
|
2376
2756
|
default: m(() => [
|
|
2377
|
-
l("div",
|
|
2378
|
-
|
|
2757
|
+
l("div", Ko, [
|
|
2758
|
+
b ? (o(), A(f, {
|
|
2379
2759
|
key: 0,
|
|
2380
|
-
name:
|
|
2760
|
+
name: b,
|
|
2381
2761
|
class: "size-5 flex-[0_0_24px]"
|
|
2382
|
-
}, null, 8, ["name"])) :
|
|
2383
|
-
l("span",
|
|
2762
|
+
}, null, 8, ["name"])) : I("", !0),
|
|
2763
|
+
l("span", Zo, _(i), 1)
|
|
2384
2764
|
])
|
|
2385
2765
|
]),
|
|
2386
2766
|
_: 2
|
|
2387
2767
|
}, 1032, ["to", "class"]))
|
|
2388
2768
|
]))), 128))
|
|
2389
2769
|
])
|
|
2390
|
-
], 2)) :
|
|
2770
|
+
], 2)) : I("", !0)
|
|
2391
2771
|
]))), 128))
|
|
2392
2772
|
])
|
|
2393
2773
|
]);
|
|
2394
2774
|
};
|
|
2395
2775
|
}
|
|
2396
|
-
}),
|
|
2776
|
+
}), Qo = {
|
|
2777
|
+
key: 0,
|
|
2778
|
+
class: "w-full min-w-[260px] max-w-xs p-4 bg-white rounded-lg shadow-lg dark:bg-gray-800",
|
|
2779
|
+
role: "alert"
|
|
2780
|
+
}, Xo = { class: "flex items-center gap-4 text-sm" }, Yo = {
|
|
2781
|
+
key: 0,
|
|
2782
|
+
class: "text-green-600"
|
|
2783
|
+
}, e1 = {
|
|
2784
|
+
key: 1,
|
|
2785
|
+
class: "relative block h-4 w-full rounded-lg overflow-hidden bg-gray-200 dark:bg-gray-900/50 select-none mt-2"
|
|
2786
|
+
}, t1 = { class: "absolute left-[140px] top-1/2 -translate-1/2 text-sm font-bold text-black dark:text-white text-center leading-none" }, l1 = { class: "absolute left-[140px] top-1/2 -translate-1/2 text-sm font-bold text-white text-center leading-none" }, s1 = /* @__PURE__ */ B({
|
|
2787
|
+
__name: "AppProgress",
|
|
2788
|
+
props: {
|
|
2789
|
+
timeout: { default: 5e3 },
|
|
2790
|
+
key: {},
|
|
2791
|
+
status: { default: 0 },
|
|
2792
|
+
empty: {},
|
|
2793
|
+
size: { default: 0 },
|
|
2794
|
+
length: { default: 0 }
|
|
2795
|
+
},
|
|
2796
|
+
setup(e) {
|
|
2797
|
+
const t = L(!1), d = M(() => e.status ? Math.ceil(e.size * 100 / e.length) : 100), r = M(() => !!e.length), s = M(() => !!(r.value && d.value === 100 && !e.status)), n = ve(() => {
|
|
2798
|
+
t.value = !1;
|
|
2799
|
+
}, e.timeout);
|
|
2800
|
+
return U(
|
|
2801
|
+
() => [e.size, e.status],
|
|
2802
|
+
() => {
|
|
2803
|
+
t.value = !0, n();
|
|
2804
|
+
}
|
|
2805
|
+
), (v, u) => (o(), A(Y, {
|
|
2806
|
+
"enter-active-class": "duration-300 ease-out",
|
|
2807
|
+
"enter-from-class": "transform opacity-0 translate-x-full",
|
|
2808
|
+
"enter-to-class": "opacity-100 translate-x-0",
|
|
2809
|
+
"leave-active-class": "duration-200 ease-in",
|
|
2810
|
+
"leave-from-class": "opacity-100 translate-y-0",
|
|
2811
|
+
"leave-to-class": "transform opacity-0 -translate-y-8"
|
|
2812
|
+
}, {
|
|
2813
|
+
default: m(() => [
|
|
2814
|
+
t.value ? (o(), c("div", Qo, [
|
|
2815
|
+
l("div", Xo, [
|
|
2816
|
+
C(v.$slots, "default", { isDone: s.value }, () => [
|
|
2817
|
+
u[1] || (u[1] = l("div", { class: "flex-auto" }, "Progress...", -1)),
|
|
2818
|
+
s.value ? (o(), c("span", Yo, "Done")) : I("", !0)
|
|
2819
|
+
]),
|
|
2820
|
+
l("button", {
|
|
2821
|
+
class: "cursor-pointer transition text-gray-700 dark:text-gray-400 self-start hover:text-gray-600",
|
|
2822
|
+
onClick: u[0] || (u[0] = (f) => t.value = !1)
|
|
2823
|
+
}, [
|
|
2824
|
+
p(z(G), { class: "h-4 w-4" })
|
|
2825
|
+
])
|
|
2826
|
+
]),
|
|
2827
|
+
r.value ? (o(), c("div", {
|
|
2828
|
+
key: 0,
|
|
2829
|
+
class: "h-[2px] fixed top-0 left-0 w-full bg-blue-600 transition-all duration-500",
|
|
2830
|
+
style: J(`width: ${d.value}%`)
|
|
2831
|
+
}, null, 4)) : I("", !0),
|
|
2832
|
+
r.value ? (o(), c("div", e1, [
|
|
2833
|
+
l("div", t1, _(d.value) + "%", 1),
|
|
2834
|
+
l("div", {
|
|
2835
|
+
class: "bg-blue-600 rounded-full h-4 overflow-hidden relative transition-all duration-500",
|
|
2836
|
+
style: J(`width: ${d.value}%`)
|
|
2837
|
+
}, [
|
|
2838
|
+
l("div", l1, _(d.value) + "%", 1)
|
|
2839
|
+
], 4)
|
|
2840
|
+
])) : I("", !0)
|
|
2841
|
+
])) : I("", !0)
|
|
2842
|
+
]),
|
|
2843
|
+
_: 3
|
|
2844
|
+
}));
|
|
2845
|
+
}
|
|
2846
|
+
}), a1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2397
2847
|
__proto__: null,
|
|
2398
|
-
AppAside:
|
|
2399
|
-
AppDialog:
|
|
2400
|
-
AppHeader:
|
|
2401
|
-
AppNav:
|
|
2402
|
-
AppNotification:
|
|
2403
|
-
AppOverlay:
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2848
|
+
AppAside: Bo,
|
|
2849
|
+
AppDialog: Te,
|
|
2850
|
+
AppHeader: Lo,
|
|
2851
|
+
AppNav: Jo,
|
|
2852
|
+
AppNotification: Oo,
|
|
2853
|
+
AppOverlay: Uo,
|
|
2854
|
+
AppProgress: s1
|
|
2855
|
+
}, Symbol.toStringTag, { value: "Module" })), ke = { ...a1, ...zo, VButton: j, VLoader: we, VDropdown: te, VList: le, VTextField: O, VSelect: Q, VWifiIcon: fs, VIcons: Z, CardGray: ca }, g1 = {
|
|
2856
|
+
install: (e, t) => {
|
|
2857
|
+
Object.keys(ke).forEach((d) => {
|
|
2858
|
+
e.component(d, ke[d]);
|
|
2859
|
+
}), et.forEach(({ name: d, directive: r }) => e.directive(d, r));
|
|
2409
2860
|
}
|
|
2410
2861
|
};
|
|
2411
2862
|
export {
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2863
|
+
Bo as AppAside,
|
|
2864
|
+
Te as AppDialog,
|
|
2865
|
+
Lo as AppHeader,
|
|
2866
|
+
Jo as AppNav,
|
|
2867
|
+
Oo as AppNotification,
|
|
2868
|
+
Uo as AppOverlay,
|
|
2869
|
+
s1 as AppProgress,
|
|
2870
|
+
p1 as BlockBreadcrumb,
|
|
2871
|
+
h1 as BlockInfo,
|
|
2872
|
+
f1 as BlockTable,
|
|
2873
|
+
ca as CardGray,
|
|
2874
|
+
ha as CardNotification,
|
|
2875
|
+
d1 as VAutocomplete,
|
|
2876
|
+
j as VButton,
|
|
2877
|
+
ht as VCheckbox,
|
|
2878
|
+
v1 as VDragDrop,
|
|
2879
|
+
te as VDropdown,
|
|
2880
|
+
c1 as VExpansion,
|
|
2881
|
+
u1 as VFile,
|
|
2882
|
+
ne as VFunc,
|
|
2883
|
+
Z as VIcons,
|
|
2884
|
+
le as VList,
|
|
2885
|
+
Ae as VListObject,
|
|
2886
|
+
we as VLoader,
|
|
2887
|
+
Q as VSelect,
|
|
2888
|
+
O as VTextField,
|
|
2889
|
+
Se as VTextWrapper,
|
|
2890
|
+
fs as VWifiIcon,
|
|
2891
|
+
g1 as default,
|
|
2892
|
+
Ke as getDataValue,
|
|
2893
|
+
y1 as getFunction,
|
|
2894
|
+
x1 as getParamsData,
|
|
2895
|
+
k1 as getStateItem,
|
|
2896
|
+
_1 as setStateItem,
|
|
2897
|
+
w1 as useForm
|
|
2444
2898
|
};
|