@vue/devtools-ui 7.0.15 → 7.0.16
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/index.cjs +1 -1
- package/dist/index.js +530 -525
- package/dist/types/src/index.d.ts +1 -0
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @unocss-include
|
|
2
2
|
|
|
3
|
-
import { Dropdown as Re, VClosePopper as
|
|
4
|
-
import { VTooltip as
|
|
5
|
-
import { openBlock as p, createElementBlock as $, createElementVNode as b, defineComponent as
|
|
6
|
-
const
|
|
3
|
+
import { Dropdown as Re, VClosePopper as _e, Tooltip as ze } from "floating-vue";
|
|
4
|
+
import { VTooltip as _o } from "floating-vue";
|
|
5
|
+
import { openBlock as p, createElementBlock as $, createElementVNode as b, defineComponent as T, useAttrs as je, computed as _, useSlots as Ce, createBlock as M, resolveDynamicComponent as Ve, mergeProps as Q, withCtx as y, renderSlot as w, unref as k, createCommentVNode as E, normalizeClass as V, ref as B, watch as L, customRef as Se, isRef as Z, getCurrentScope as Ie, onScopeDispose as He, toRef as Je, readonly as Be, onMounted as Y, nextTick as ee, getCurrentInstance as de, shallowRef as Ue, watchEffect as q, normalizeProps as ce, guardReactiveProps as fe, Teleport as Te, createVNode as W, Transition as pe, normalizeStyle as me, createTextVNode as I, toDisplayString as H, withDirectives as ve, vModelDynamic as Ge, provide as Ke, createSlots as De, inject as Ye, Fragment as be, renderList as ye, withModifiers as Xe, h as qe, render as we } from "vue";
|
|
6
|
+
const ge = (e, o) => {
|
|
7
7
|
const t = e.__vccOpts || e;
|
|
8
8
|
for (const [a, n] of o)
|
|
9
9
|
t[a] = n;
|
|
10
10
|
return t;
|
|
11
|
-
},
|
|
11
|
+
}, Qe = {}, Ze = { class: "h-3 w-3 $ui-inline-fcc" }, et = /* @__PURE__ */ b("svg", {
|
|
12
12
|
class: "animate-spin",
|
|
13
13
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14
14
|
fill: "none",
|
|
@@ -27,13 +27,13 @@ const ve = (e, o) => {
|
|
|
27
27
|
fill: "currentColor",
|
|
28
28
|
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"
|
|
29
29
|
})
|
|
30
|
-
], -1),
|
|
31
|
-
|
|
30
|
+
], -1), tt = [
|
|
31
|
+
et
|
|
32
32
|
];
|
|
33
|
-
function
|
|
34
|
-
return p(), $("div",
|
|
33
|
+
function ot(e, o) {
|
|
34
|
+
return p(), $("div", Ze, tt);
|
|
35
35
|
}
|
|
36
|
-
const
|
|
36
|
+
const Oe = /* @__PURE__ */ ge(Qe, [["render", ot]]), nt = { key: 2 }, K = /* @__PURE__ */ T({
|
|
37
37
|
inheritAttrs: !1,
|
|
38
38
|
__name: "Button",
|
|
39
39
|
props: {
|
|
@@ -47,15 +47,15 @@ const De = /* @__PURE__ */ ve(qe, [["render", tt]]), ot = { key: 2 }, K = /* @__
|
|
|
47
47
|
},
|
|
48
48
|
emits: ["click"],
|
|
49
49
|
setup(e, { emit: o }) {
|
|
50
|
-
const t = e, a = o, n =
|
|
51
|
-
function
|
|
50
|
+
const t = e, a = o, n = je(), l = _(() => n.to ? "router-link" : n.href ? "a" : "button"), r = _(() => t.loading || t.disabled);
|
|
51
|
+
function s(u) {
|
|
52
52
|
if (r.value) {
|
|
53
53
|
u.preventDefault(), u.stopPropagation(), u.stopImmediatePropagation();
|
|
54
54
|
return;
|
|
55
55
|
}
|
|
56
56
|
a("click", u);
|
|
57
57
|
}
|
|
58
|
-
const
|
|
58
|
+
const i = {
|
|
59
59
|
common: {
|
|
60
60
|
default: "active:bg-primary-100-darker dark:active:bg-gray-800-darker",
|
|
61
61
|
primary: "active:bg-primary-500-darker",
|
|
@@ -92,12 +92,12 @@ const De = /* @__PURE__ */ ve(qe, [["render", tt]]), ot = { key: 2 }, K = /* @__
|
|
|
92
92
|
info: "hover:border-info-500 hover:text-info-500 active:ring-info-500:5 active:bg-info-500:5",
|
|
93
93
|
success: "hover:border-primary-500 hover:text-primary-500 active:ring-primary-500:5 active:bg-primary-500:5"
|
|
94
94
|
}
|
|
95
|
-
},
|
|
96
|
-
return (u, f) => (p(), M(
|
|
95
|
+
}, c = Ce(), d = _(() => t.flat ? i.flat[t.type] : t.outlined ? i.outlined[t.type] : i.normal[t.type]);
|
|
96
|
+
return (u, f) => (p(), M(Ve(l.value), Q(u.$attrs, {
|
|
97
97
|
role: "button",
|
|
98
98
|
"aria-disabled": r.value,
|
|
99
99
|
class: ["$ui-base $ui-inline-fcc inline-flex cursor-pointer select-none gap1.25 py-0 no-underline $ui-transition", [
|
|
100
|
-
[
|
|
100
|
+
[i.common[t.type]],
|
|
101
101
|
{
|
|
102
102
|
"rounded-full": t.round === "full",
|
|
103
103
|
"$ui-base-br": t.round === "normal",
|
|
@@ -107,20 +107,20 @@ const De = /* @__PURE__ */ ve(qe, [["render", tt]]), ot = { key: 2 }, K = /* @__
|
|
|
107
107
|
[
|
|
108
108
|
u.outlined ? "b-1 $ui-border-base active:ring-3 shadow-sm" : "border-none",
|
|
109
109
|
u.size === "mini" ? "px1 text-3 h5.5" : "px3.5 text-3.5 h8",
|
|
110
|
-
|
|
110
|
+
d.value
|
|
111
111
|
]
|
|
112
112
|
]],
|
|
113
|
-
onClickCapture:
|
|
113
|
+
onClickCapture: s
|
|
114
114
|
}), {
|
|
115
115
|
default: y(() => [
|
|
116
|
-
u.loading ? (p(), M(
|
|
116
|
+
u.loading ? (p(), M(Oe, {
|
|
117
117
|
key: 0,
|
|
118
118
|
class: "mt0.5 h-full w3"
|
|
119
119
|
})) : w(u.$slots, "icon", {
|
|
120
120
|
key: 1,
|
|
121
121
|
class: "h-full w3 $ui-inline-fcc"
|
|
122
122
|
}),
|
|
123
|
-
k(
|
|
123
|
+
k(c).default ? (p(), $("div", nt, [
|
|
124
124
|
w(u.$slots, "default")
|
|
125
125
|
])) : E("", !0),
|
|
126
126
|
w(u.$slots, "icon-right")
|
|
@@ -128,13 +128,13 @@ const De = /* @__PURE__ */ ve(qe, [["render", tt]]), ot = { key: 2 }, K = /* @__
|
|
|
128
128
|
_: 3
|
|
129
129
|
}, 16, ["aria-disabled", "class"]));
|
|
130
130
|
}
|
|
131
|
-
}),
|
|
132
|
-
function
|
|
133
|
-
return p(), $("span",
|
|
131
|
+
}), rt = {}, at = { class: "mx-0.5 $ui-base inline-block select-none whitespace-nowrap rounded px-1.5 py-0.5 text-xs" };
|
|
132
|
+
function lt(e, o) {
|
|
133
|
+
return p(), $("span", at, [
|
|
134
134
|
w(e.$slots, "default")
|
|
135
135
|
]);
|
|
136
136
|
}
|
|
137
|
-
const
|
|
137
|
+
const io = /* @__PURE__ */ ge(rt, [["render", lt]]), ue = /* @__PURE__ */ T({
|
|
138
138
|
__name: "Icon",
|
|
139
139
|
props: {
|
|
140
140
|
icon: {},
|
|
@@ -142,259 +142,259 @@ const so = /* @__PURE__ */ ve(nt, [["render", at]]), ie = /* @__PURE__ */ D({
|
|
|
142
142
|
action: { type: Boolean, default: !1 }
|
|
143
143
|
},
|
|
144
144
|
setup(e) {
|
|
145
|
-
return (o, t) => (p(), M(
|
|
146
|
-
class:
|
|
145
|
+
return (o, t) => (p(), M(Ve(o.inline ? "span" : "div"), {
|
|
146
|
+
class: V(["$ui-base", [o.icon, o.action ? "cursor-pointer hover:op50" : ""]])
|
|
147
147
|
}, null, 8, ["class"]));
|
|
148
148
|
}
|
|
149
149
|
});
|
|
150
|
-
function
|
|
151
|
-
return
|
|
150
|
+
function le(e) {
|
|
151
|
+
return Ie() ? (He(e), !0) : !1;
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
for (const [n,
|
|
155
|
-
n !== "value" && (
|
|
153
|
+
function st(e, o, { enumerable: t = !1, unwrap: a = !0 } = {}) {
|
|
154
|
+
for (const [n, l] of Object.entries(o))
|
|
155
|
+
n !== "value" && (Z(l) && a ? Object.defineProperty(e, n, {
|
|
156
156
|
get() {
|
|
157
|
-
return
|
|
157
|
+
return l.value;
|
|
158
158
|
},
|
|
159
159
|
set(r) {
|
|
160
|
-
|
|
160
|
+
l.value = r;
|
|
161
161
|
},
|
|
162
162
|
enumerable: t
|
|
163
|
-
}) : Object.defineProperty(e, n, { value:
|
|
163
|
+
}) : Object.defineProperty(e, n, { value: l, enumerable: t }));
|
|
164
164
|
return e;
|
|
165
165
|
}
|
|
166
166
|
function N(e) {
|
|
167
167
|
return typeof e == "function" ? e() : k(e);
|
|
168
168
|
}
|
|
169
|
-
const
|
|
169
|
+
const Me = typeof window < "u" && typeof document < "u";
|
|
170
170
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
171
|
-
const
|
|
172
|
-
},
|
|
173
|
-
function
|
|
171
|
+
const it = (e) => typeof e < "u", ut = Object.prototype.toString, dt = (e) => ut.call(e) === "[object Object]", re = () => {
|
|
172
|
+
}, ke = /* @__PURE__ */ ct();
|
|
173
|
+
function ct() {
|
|
174
174
|
var e, o;
|
|
175
|
-
return
|
|
175
|
+
return Me && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && (/iP(ad|hone|od)/.test(window.navigator.userAgent) || ((o = window == null ? void 0 : window.navigator) == null ? void 0 : o.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function Ae(e, o) {
|
|
178
178
|
function t(...a) {
|
|
179
|
-
return new Promise((n,
|
|
180
|
-
Promise.resolve(e(() => o.apply(this, a), { fn: o, thisArg: this, args: a })).then(n).catch(
|
|
179
|
+
return new Promise((n, l) => {
|
|
180
|
+
Promise.resolve(e(() => o.apply(this, a), { fn: o, thisArg: this, args: a })).then(n).catch(l);
|
|
181
181
|
});
|
|
182
182
|
}
|
|
183
183
|
return t;
|
|
184
184
|
}
|
|
185
|
-
const
|
|
186
|
-
function
|
|
187
|
-
let t, a, n =
|
|
188
|
-
const
|
|
189
|
-
clearTimeout(
|
|
185
|
+
const Ee = (e) => e();
|
|
186
|
+
function ft(e, o = {}) {
|
|
187
|
+
let t, a, n = re;
|
|
188
|
+
const l = (s) => {
|
|
189
|
+
clearTimeout(s), n(), n = re;
|
|
190
190
|
};
|
|
191
|
-
return (
|
|
192
|
-
const
|
|
193
|
-
return t &&
|
|
194
|
-
n = o.rejectOnCancel ? u :
|
|
195
|
-
t &&
|
|
196
|
-
},
|
|
197
|
-
a &&
|
|
198
|
-
},
|
|
191
|
+
return (s) => {
|
|
192
|
+
const i = N(e), c = N(o.maxWait);
|
|
193
|
+
return t && l(t), i <= 0 || c !== void 0 && c <= 0 ? (a && (l(a), a = null), Promise.resolve(s())) : new Promise((d, u) => {
|
|
194
|
+
n = o.rejectOnCancel ? u : d, c && !a && (a = setTimeout(() => {
|
|
195
|
+
t && l(t), a = null, d(s());
|
|
196
|
+
}, c)), t = setTimeout(() => {
|
|
197
|
+
a && l(a), a = null, d(s());
|
|
198
|
+
}, i);
|
|
199
199
|
});
|
|
200
200
|
};
|
|
201
201
|
}
|
|
202
|
-
function
|
|
203
|
-
const o =
|
|
202
|
+
function pt(e = Ee) {
|
|
203
|
+
const o = B(!0);
|
|
204
204
|
function t() {
|
|
205
205
|
o.value = !1;
|
|
206
206
|
}
|
|
207
207
|
function a() {
|
|
208
208
|
o.value = !0;
|
|
209
209
|
}
|
|
210
|
-
const n = (...
|
|
211
|
-
o.value && e(...
|
|
210
|
+
const n = (...l) => {
|
|
211
|
+
o.value && e(...l);
|
|
212
212
|
};
|
|
213
|
-
return { isActive:
|
|
213
|
+
return { isActive: Be(o), pause: t, resume: a, eventFilter: n };
|
|
214
214
|
}
|
|
215
|
-
function
|
|
216
|
-
return e ||
|
|
215
|
+
function mt(e) {
|
|
216
|
+
return e || de();
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function Ne(...e) {
|
|
219
219
|
if (e.length !== 1)
|
|
220
|
-
return
|
|
220
|
+
return Je(...e);
|
|
221
221
|
const o = e[0];
|
|
222
|
-
return typeof o == "function" ? Se(
|
|
222
|
+
return typeof o == "function" ? Be(Se(() => ({ get: o, set: re }))) : B(o);
|
|
223
223
|
}
|
|
224
|
-
function
|
|
225
|
-
return
|
|
226
|
-
|
|
224
|
+
function vt(e, o = 200, t = {}) {
|
|
225
|
+
return Ae(
|
|
226
|
+
ft(o, t),
|
|
227
227
|
e
|
|
228
228
|
);
|
|
229
229
|
}
|
|
230
|
-
function
|
|
231
|
-
const a =
|
|
230
|
+
function gt(e, o = 200, t = {}) {
|
|
231
|
+
const a = B(e.value), n = vt(() => {
|
|
232
232
|
a.value = e.value;
|
|
233
233
|
}, o, t);
|
|
234
|
-
return
|
|
234
|
+
return L(e, () => n()), a;
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function ht(e, o = {}) {
|
|
237
237
|
let t = e, a, n;
|
|
238
|
-
const
|
|
238
|
+
const l = Se((f, m) => (a = f, n = m, {
|
|
239
239
|
get() {
|
|
240
240
|
return r();
|
|
241
241
|
},
|
|
242
242
|
set(g) {
|
|
243
|
-
|
|
243
|
+
s(g);
|
|
244
244
|
}
|
|
245
245
|
}));
|
|
246
246
|
function r(f = !0) {
|
|
247
247
|
return f && a(), t;
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function s(f, m = !0) {
|
|
250
250
|
var g, h;
|
|
251
251
|
if (f === t)
|
|
252
252
|
return;
|
|
253
|
-
const
|
|
254
|
-
((g = o.onBeforeChange) == null ? void 0 : g.call(o, f,
|
|
253
|
+
const D = t;
|
|
254
|
+
((g = o.onBeforeChange) == null ? void 0 : g.call(o, f, D)) !== !1 && (t = f, (h = o.onChanged) == null || h.call(o, f, D), m && n());
|
|
255
255
|
}
|
|
256
|
-
return
|
|
257
|
-
|
|
256
|
+
return st(
|
|
257
|
+
l,
|
|
258
258
|
{
|
|
259
259
|
get: r,
|
|
260
|
-
set:
|
|
260
|
+
set: s,
|
|
261
261
|
untrackedGet: () => r(!1),
|
|
262
|
-
silentSet: (f) =>
|
|
262
|
+
silentSet: (f) => s(f, !1),
|
|
263
263
|
peek: () => r(!1),
|
|
264
|
-
lay: (f) =>
|
|
264
|
+
lay: (f) => s(f, !1)
|
|
265
265
|
},
|
|
266
266
|
{ enumerable: !0 }
|
|
267
267
|
);
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function bt(e, o, t = {}) {
|
|
270
270
|
const {
|
|
271
|
-
eventFilter: a =
|
|
271
|
+
eventFilter: a = Ee,
|
|
272
272
|
...n
|
|
273
273
|
} = t;
|
|
274
|
-
return
|
|
274
|
+
return L(
|
|
275
275
|
e,
|
|
276
|
-
|
|
276
|
+
Ae(
|
|
277
277
|
a,
|
|
278
278
|
o
|
|
279
279
|
),
|
|
280
280
|
n
|
|
281
281
|
);
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function yt(e, o, t = {}) {
|
|
284
284
|
const {
|
|
285
285
|
eventFilter: a,
|
|
286
286
|
...n
|
|
287
|
-
} = t, { eventFilter:
|
|
288
|
-
return { stop:
|
|
287
|
+
} = t, { eventFilter: l, pause: r, resume: s, isActive: i } = pt(a);
|
|
288
|
+
return { stop: bt(
|
|
289
289
|
e,
|
|
290
290
|
o,
|
|
291
291
|
{
|
|
292
292
|
...n,
|
|
293
|
-
eventFilter:
|
|
293
|
+
eventFilter: l
|
|
294
294
|
}
|
|
295
|
-
), pause: r, resume:
|
|
295
|
+
), pause: r, resume: s, isActive: i };
|
|
296
296
|
}
|
|
297
|
-
function
|
|
298
|
-
|
|
297
|
+
function he(e, o = !0, t) {
|
|
298
|
+
mt() ? Y(e, t) : o ? e() : ee(e);
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function wt(e = !1, o = {}) {
|
|
301
301
|
const {
|
|
302
302
|
truthyValue: t = !0,
|
|
303
303
|
falsyValue: a = !1
|
|
304
|
-
} = o, n =
|
|
305
|
-
function r(
|
|
304
|
+
} = o, n = Z(e), l = B(e);
|
|
305
|
+
function r(s) {
|
|
306
306
|
if (arguments.length)
|
|
307
|
-
return
|
|
307
|
+
return l.value = s, l.value;
|
|
308
308
|
{
|
|
309
|
-
const
|
|
310
|
-
return
|
|
309
|
+
const i = N(t);
|
|
310
|
+
return l.value = l.value === i ? N(a) : i, l.value;
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
|
-
return n ? r : [
|
|
313
|
+
return n ? r : [l, r];
|
|
314
314
|
}
|
|
315
|
-
function
|
|
315
|
+
function j(e) {
|
|
316
316
|
var o;
|
|
317
317
|
const t = N(e);
|
|
318
318
|
return (o = t == null ? void 0 : t.$el) != null ? o : t;
|
|
319
319
|
}
|
|
320
|
-
const
|
|
321
|
-
function
|
|
320
|
+
const J = Me ? window : void 0;
|
|
321
|
+
function ae(...e) {
|
|
322
322
|
let o, t, a, n;
|
|
323
|
-
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([t, a, n] = e, o =
|
|
324
|
-
return
|
|
323
|
+
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([t, a, n] = e, o = J) : [o, t, a, n] = e, !o)
|
|
324
|
+
return re;
|
|
325
325
|
Array.isArray(t) || (t = [t]), Array.isArray(a) || (a = [a]);
|
|
326
|
-
const
|
|
327
|
-
|
|
328
|
-
},
|
|
329
|
-
() => [
|
|
330
|
-
([
|
|
331
|
-
if (r(), !
|
|
326
|
+
const l = [], r = () => {
|
|
327
|
+
l.forEach((d) => d()), l.length = 0;
|
|
328
|
+
}, s = (d, u, f, m) => (d.addEventListener(u, f, m), () => d.removeEventListener(u, f, m)), i = L(
|
|
329
|
+
() => [j(o), N(n)],
|
|
330
|
+
([d, u]) => {
|
|
331
|
+
if (r(), !d)
|
|
332
332
|
return;
|
|
333
|
-
const f =
|
|
334
|
-
|
|
335
|
-
...t.flatMap((m) => a.map((g) =>
|
|
333
|
+
const f = dt(u) ? { ...u } : u;
|
|
334
|
+
l.push(
|
|
335
|
+
...t.flatMap((m) => a.map((g) => s(d, m, g, f)))
|
|
336
336
|
);
|
|
337
337
|
},
|
|
338
338
|
{ immediate: !0, flush: "post" }
|
|
339
|
-
),
|
|
340
|
-
|
|
339
|
+
), c = () => {
|
|
340
|
+
i(), r();
|
|
341
341
|
};
|
|
342
|
-
return
|
|
342
|
+
return le(c), c;
|
|
343
343
|
}
|
|
344
|
-
function
|
|
344
|
+
function kt(e) {
|
|
345
345
|
return typeof e == "function" ? e : typeof e == "string" ? (o) => o.key === e : Array.isArray(e) ? (o) => e.includes(o.key) : () => !0;
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function Pe(...e) {
|
|
348
348
|
let o, t, a = {};
|
|
349
349
|
e.length === 3 ? (o = e[0], t = e[1], a = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (o = !0, t = e[0], a = e[1]) : (o = e[0], t = e[1]) : (o = !0, t = e[0]);
|
|
350
350
|
const {
|
|
351
|
-
target: n =
|
|
352
|
-
eventName:
|
|
351
|
+
target: n = J,
|
|
352
|
+
eventName: l = "keydown",
|
|
353
353
|
passive: r = !1,
|
|
354
|
-
dedupe:
|
|
355
|
-
} = a,
|
|
356
|
-
return
|
|
357
|
-
|
|
354
|
+
dedupe: s = !1
|
|
355
|
+
} = a, i = kt(o);
|
|
356
|
+
return ae(n, l, (d) => {
|
|
357
|
+
d.repeat && N(s) || i(d) && t(d);
|
|
358
358
|
}, r);
|
|
359
359
|
}
|
|
360
|
-
function
|
|
361
|
-
const e =
|
|
362
|
-
return
|
|
360
|
+
function $t() {
|
|
361
|
+
const e = B(!1), o = de();
|
|
362
|
+
return o && Y(() => {
|
|
363
363
|
e.value = !0;
|
|
364
|
-
}), e;
|
|
364
|
+
}, o), e;
|
|
365
365
|
}
|
|
366
|
-
function
|
|
367
|
-
const o =
|
|
366
|
+
function We(e) {
|
|
367
|
+
const o = $t();
|
|
368
368
|
return _(() => (o.value, !!e()));
|
|
369
369
|
}
|
|
370
|
-
function
|
|
371
|
-
const { window: t =
|
|
370
|
+
function _t(e, o = {}) {
|
|
371
|
+
const { window: t = J } = o, a = We(() => t && "matchMedia" in t && typeof t.matchMedia == "function");
|
|
372
372
|
let n;
|
|
373
|
-
const
|
|
374
|
-
|
|
375
|
-
},
|
|
373
|
+
const l = B(!1), r = (c) => {
|
|
374
|
+
l.value = c.matches;
|
|
375
|
+
}, s = () => {
|
|
376
376
|
n && ("removeEventListener" in n ? n.removeEventListener("change", r) : n.removeListener(r));
|
|
377
|
-
},
|
|
378
|
-
a.value && (
|
|
377
|
+
}, i = q(() => {
|
|
378
|
+
a.value && (s(), n = t.matchMedia(N(e)), "addEventListener" in n ? n.addEventListener("change", r) : n.addListener(r), l.value = n.matches);
|
|
379
379
|
});
|
|
380
|
-
return
|
|
381
|
-
|
|
382
|
-
}),
|
|
380
|
+
return le(() => {
|
|
381
|
+
i(), s(), n = void 0;
|
|
382
|
+
}), l;
|
|
383
383
|
}
|
|
384
|
-
function
|
|
384
|
+
function Ct(e) {
|
|
385
385
|
return JSON.parse(JSON.stringify(e));
|
|
386
386
|
}
|
|
387
|
-
const
|
|
388
|
-
function
|
|
389
|
-
return
|
|
387
|
+
const te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, oe = "__vueuse_ssr_handlers__", Vt = /* @__PURE__ */ St();
|
|
388
|
+
function St() {
|
|
389
|
+
return oe in te || (te[oe] = te[oe] || {}), te[oe];
|
|
390
390
|
}
|
|
391
391
|
function xe(e, o) {
|
|
392
|
-
return
|
|
392
|
+
return Vt[e] || o;
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function Bt(e) {
|
|
395
395
|
return e == null ? "any" : e instanceof Set ? "set" : e instanceof Map ? "map" : e instanceof Date ? "date" : typeof e == "boolean" ? "boolean" : typeof e == "string" ? "string" : typeof e == "object" ? "object" : Number.isNaN(e) ? "any" : "number";
|
|
396
396
|
}
|
|
397
|
-
const
|
|
397
|
+
const Tt = {
|
|
398
398
|
boolean: {
|
|
399
399
|
read: (e) => e === "true",
|
|
400
400
|
write: (e) => String(e)
|
|
@@ -427,222 +427,227 @@ const Bt = {
|
|
|
427
427
|
read: (e) => new Date(e),
|
|
428
428
|
write: (e) => e.toISOString()
|
|
429
429
|
}
|
|
430
|
-
},
|
|
431
|
-
function
|
|
430
|
+
}, $e = "vueuse-storage";
|
|
431
|
+
function Dt(e, o, t, a = {}) {
|
|
432
432
|
var n;
|
|
433
433
|
const {
|
|
434
|
-
flush:
|
|
434
|
+
flush: l = "pre",
|
|
435
435
|
deep: r = !0,
|
|
436
|
-
listenToStorageChanges:
|
|
437
|
-
writeDefaults:
|
|
438
|
-
mergeDefaults:
|
|
439
|
-
shallow:
|
|
440
|
-
window: u =
|
|
436
|
+
listenToStorageChanges: s = !0,
|
|
437
|
+
writeDefaults: i = !0,
|
|
438
|
+
mergeDefaults: c = !1,
|
|
439
|
+
shallow: d,
|
|
440
|
+
window: u = J,
|
|
441
441
|
eventFilter: f,
|
|
442
442
|
onError: m = (v) => {
|
|
443
443
|
console.error(v);
|
|
444
444
|
},
|
|
445
445
|
initOnMounted: g
|
|
446
|
-
} = a, h = (
|
|
446
|
+
} = a, h = (d ? Ue : B)(typeof o == "function" ? o() : o);
|
|
447
447
|
if (!t)
|
|
448
448
|
try {
|
|
449
449
|
t = xe("getDefaultStorage", () => {
|
|
450
450
|
var v;
|
|
451
|
-
return (v =
|
|
451
|
+
return (v = J) == null ? void 0 : v.localStorage;
|
|
452
452
|
})();
|
|
453
453
|
} catch (v) {
|
|
454
454
|
m(v);
|
|
455
455
|
}
|
|
456
456
|
if (!t)
|
|
457
457
|
return h;
|
|
458
|
-
const
|
|
458
|
+
const D = N(o), R = Bt(D), P = (n = a.serializer) != null ? n : Tt[R], { pause: S, resume: C } = yt(
|
|
459
459
|
h,
|
|
460
|
-
() =>
|
|
461
|
-
{ flush:
|
|
460
|
+
() => F(h.value),
|
|
461
|
+
{ flush: l, deep: r, eventFilter: f }
|
|
462
462
|
);
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
}), g ||
|
|
466
|
-
function A(v) {
|
|
463
|
+
u && s && he(() => {
|
|
464
|
+
ae(u, "storage", x), ae(u, $e, X), g && x();
|
|
465
|
+
}), g || x();
|
|
466
|
+
function A(v, O) {
|
|
467
|
+
u && u.dispatchEvent(new CustomEvent($e, {
|
|
468
|
+
detail: {
|
|
469
|
+
key: e,
|
|
470
|
+
oldValue: v,
|
|
471
|
+
newValue: O,
|
|
472
|
+
storageArea: t
|
|
473
|
+
}
|
|
474
|
+
}));
|
|
475
|
+
}
|
|
476
|
+
function F(v) {
|
|
467
477
|
try {
|
|
478
|
+
const O = t.getItem(e);
|
|
468
479
|
if (v == null)
|
|
469
|
-
t.removeItem(e);
|
|
480
|
+
A(O, null), t.removeItem(e);
|
|
470
481
|
else {
|
|
471
|
-
const
|
|
472
|
-
|
|
473
|
-
detail: {
|
|
474
|
-
key: e,
|
|
475
|
-
oldValue: U,
|
|
476
|
-
newValue: V,
|
|
477
|
-
storageArea: t
|
|
478
|
-
}
|
|
479
|
-
})));
|
|
482
|
+
const z = P.write(v);
|
|
483
|
+
O !== z && (t.setItem(e, z), A(O, z));
|
|
480
484
|
}
|
|
481
|
-
} catch (
|
|
482
|
-
m(
|
|
485
|
+
} catch (O) {
|
|
486
|
+
m(O);
|
|
483
487
|
}
|
|
484
488
|
}
|
|
485
|
-
function L(v) {
|
|
486
|
-
const V = v ? v.newValue : t.getItem(e);
|
|
487
|
-
if (V == null)
|
|
488
|
-
return l && O != null && t.setItem(e, P.write(O)), O;
|
|
489
|
-
if (!v && d) {
|
|
490
|
-
const U = P.read(V);
|
|
491
|
-
return typeof d == "function" ? d(U, O) : W === "object" && !Array.isArray(U) ? { ...O, ...U } : U;
|
|
492
|
-
} else
|
|
493
|
-
return typeof V != "string" ? V : P.read(V);
|
|
494
|
-
}
|
|
495
489
|
function G(v) {
|
|
496
|
-
|
|
490
|
+
const O = v ? v.newValue : t.getItem(e);
|
|
491
|
+
if (O == null)
|
|
492
|
+
return i && D != null && t.setItem(e, P.write(D)), D;
|
|
493
|
+
if (!v && c) {
|
|
494
|
+
const z = P.read(O);
|
|
495
|
+
return typeof c == "function" ? c(z, D) : R === "object" && !Array.isArray(z) ? { ...D, ...z } : z;
|
|
496
|
+
} else
|
|
497
|
+
return typeof O != "string" ? O : P.read(O);
|
|
497
498
|
}
|
|
498
|
-
function
|
|
499
|
+
function x(v) {
|
|
499
500
|
if (!(v && v.storageArea !== t)) {
|
|
500
501
|
if (v && v.key == null) {
|
|
501
|
-
h.value =
|
|
502
|
+
h.value = D;
|
|
502
503
|
return;
|
|
503
504
|
}
|
|
504
505
|
if (!(v && v.key !== e)) {
|
|
505
|
-
|
|
506
|
+
S();
|
|
506
507
|
try {
|
|
507
|
-
(v == null ? void 0 : v.newValue) !== P.write(h.value) && (h.value =
|
|
508
|
-
} catch (
|
|
509
|
-
m(
|
|
508
|
+
(v == null ? void 0 : v.newValue) !== P.write(h.value) && (h.value = G(v));
|
|
509
|
+
} catch (O) {
|
|
510
|
+
m(O);
|
|
510
511
|
} finally {
|
|
511
|
-
v ?
|
|
512
|
+
v ? ee(C) : C();
|
|
512
513
|
}
|
|
513
514
|
}
|
|
514
515
|
}
|
|
515
516
|
}
|
|
517
|
+
function X(v) {
|
|
518
|
+
x(v.detail);
|
|
519
|
+
}
|
|
520
|
+
return h;
|
|
516
521
|
}
|
|
517
|
-
function
|
|
518
|
-
return
|
|
522
|
+
function Ot(e) {
|
|
523
|
+
return _t("(prefers-color-scheme: dark)", e);
|
|
519
524
|
}
|
|
520
|
-
function
|
|
525
|
+
function Mt(e = {}) {
|
|
521
526
|
const {
|
|
522
527
|
selector: o = "html",
|
|
523
528
|
attribute: t = "class",
|
|
524
529
|
initialValue: a = "auto",
|
|
525
|
-
window: n =
|
|
526
|
-
storage:
|
|
530
|
+
window: n = J,
|
|
531
|
+
storage: l,
|
|
527
532
|
storageKey: r = "vueuse-color-scheme",
|
|
528
|
-
listenToStorageChanges:
|
|
529
|
-
storageRef:
|
|
530
|
-
emitAuto:
|
|
531
|
-
disableTransition:
|
|
533
|
+
listenToStorageChanges: s = !0,
|
|
534
|
+
storageRef: i,
|
|
535
|
+
emitAuto: c,
|
|
536
|
+
disableTransition: d = !0
|
|
532
537
|
} = e, u = {
|
|
533
538
|
auto: "",
|
|
534
539
|
light: "light",
|
|
535
540
|
dark: "dark",
|
|
536
541
|
...e.modes || {}
|
|
537
|
-
}, f =
|
|
542
|
+
}, f = Ot({ window: n }), m = _(() => f.value ? "dark" : "light"), g = i || (r == null ? Ne(a) : Dt(r, a, l, { window: n, listenToStorageChanges: s })), h = _(() => g.value === "auto" ? m.value : g.value), D = xe(
|
|
538
543
|
"updateHTMLAttrs",
|
|
539
|
-
(C, A,
|
|
540
|
-
const G = typeof C == "string" ? n == null ? void 0 : n.document.querySelector(C) :
|
|
544
|
+
(C, A, F) => {
|
|
545
|
+
const G = typeof C == "string" ? n == null ? void 0 : n.document.querySelector(C) : j(C);
|
|
541
546
|
if (!G)
|
|
542
547
|
return;
|
|
543
|
-
let
|
|
544
|
-
if (
|
|
545
|
-
|
|
546
|
-
const
|
|
547
|
-
|
|
548
|
+
let x;
|
|
549
|
+
if (d) {
|
|
550
|
+
x = n.document.createElement("style");
|
|
551
|
+
const X = "*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";
|
|
552
|
+
x.appendChild(document.createTextNode(X)), n.document.head.appendChild(x);
|
|
548
553
|
}
|
|
549
554
|
if (A === "class") {
|
|
550
|
-
const
|
|
551
|
-
Object.values(u).flatMap((
|
|
552
|
-
|
|
555
|
+
const X = F.split(/\s/g);
|
|
556
|
+
Object.values(u).flatMap((v) => (v || "").split(/\s/g)).filter(Boolean).forEach((v) => {
|
|
557
|
+
X.includes(v) ? G.classList.add(v) : G.classList.remove(v);
|
|
553
558
|
});
|
|
554
559
|
} else
|
|
555
|
-
G.setAttribute(A,
|
|
556
|
-
|
|
560
|
+
G.setAttribute(A, F);
|
|
561
|
+
d && (n.getComputedStyle(x).opacity, document.head.removeChild(x));
|
|
557
562
|
}
|
|
558
563
|
);
|
|
559
|
-
function
|
|
564
|
+
function R(C) {
|
|
560
565
|
var A;
|
|
561
|
-
|
|
566
|
+
D(o, t, (A = u[C]) != null ? A : C);
|
|
562
567
|
}
|
|
563
568
|
function P(C) {
|
|
564
|
-
e.onChanged ? e.onChanged(C,
|
|
569
|
+
e.onChanged ? e.onChanged(C, R) : R(C);
|
|
565
570
|
}
|
|
566
|
-
|
|
567
|
-
const
|
|
571
|
+
L(h, P, { flush: "post", immediate: !0 }), he(() => P(h.value));
|
|
572
|
+
const S = _({
|
|
568
573
|
get() {
|
|
569
|
-
return
|
|
574
|
+
return c ? g.value : h.value;
|
|
570
575
|
},
|
|
571
576
|
set(C) {
|
|
572
577
|
g.value = C;
|
|
573
578
|
}
|
|
574
579
|
});
|
|
575
580
|
try {
|
|
576
|
-
return Object.assign(
|
|
581
|
+
return Object.assign(S, { store: g, system: m, state: h });
|
|
577
582
|
} catch {
|
|
578
|
-
return
|
|
583
|
+
return S;
|
|
579
584
|
}
|
|
580
585
|
}
|
|
581
|
-
function
|
|
582
|
-
const { window: a =
|
|
583
|
-
let
|
|
584
|
-
const r =
|
|
585
|
-
|
|
586
|
-
},
|
|
587
|
-
|
|
586
|
+
function At(e, o, t = {}) {
|
|
587
|
+
const { window: a = J, ...n } = t;
|
|
588
|
+
let l;
|
|
589
|
+
const r = We(() => a && "ResizeObserver" in a), s = () => {
|
|
590
|
+
l && (l.disconnect(), l = void 0);
|
|
591
|
+
}, i = _(() => Array.isArray(e) ? e.map((u) => j(u)) : [j(e)]), c = L(
|
|
592
|
+
i,
|
|
588
593
|
(u) => {
|
|
589
|
-
if (
|
|
590
|
-
|
|
594
|
+
if (s(), r.value && a) {
|
|
595
|
+
l = new ResizeObserver(o);
|
|
591
596
|
for (const f of u)
|
|
592
|
-
f &&
|
|
597
|
+
f && l.observe(f, n);
|
|
593
598
|
}
|
|
594
599
|
},
|
|
595
|
-
{ immediate: !0, flush: "post"
|
|
596
|
-
),
|
|
597
|
-
|
|
600
|
+
{ immediate: !0, flush: "post" }
|
|
601
|
+
), d = () => {
|
|
602
|
+
s(), c();
|
|
598
603
|
};
|
|
599
|
-
return
|
|
604
|
+
return le(d), {
|
|
600
605
|
isSupported: r,
|
|
601
|
-
stop:
|
|
606
|
+
stop: d
|
|
602
607
|
};
|
|
603
608
|
}
|
|
604
|
-
function
|
|
605
|
-
const { window: a =
|
|
609
|
+
function Et(e, o = { width: 0, height: 0 }, t = {}) {
|
|
610
|
+
const { window: a = J, box: n = "content-box" } = t, l = _(() => {
|
|
606
611
|
var u, f;
|
|
607
|
-
return (f = (u =
|
|
608
|
-
}), r =
|
|
612
|
+
return (f = (u = j(e)) == null ? void 0 : u.namespaceURI) == null ? void 0 : f.includes("svg");
|
|
613
|
+
}), r = B(o.width), s = B(o.height), { stop: i } = At(
|
|
609
614
|
e,
|
|
610
615
|
([u]) => {
|
|
611
616
|
const f = n === "border-box" ? u.borderBoxSize : n === "content-box" ? u.contentBoxSize : u.devicePixelContentBoxSize;
|
|
612
|
-
if (a &&
|
|
613
|
-
const m =
|
|
617
|
+
if (a && l.value) {
|
|
618
|
+
const m = j(e);
|
|
614
619
|
if (m) {
|
|
615
620
|
const g = a.getComputedStyle(m);
|
|
616
|
-
r.value = Number.parseFloat(g.width),
|
|
621
|
+
r.value = Number.parseFloat(g.width), s.value = Number.parseFloat(g.height);
|
|
617
622
|
}
|
|
618
623
|
} else if (f) {
|
|
619
624
|
const m = Array.isArray(f) ? f : [f];
|
|
620
|
-
r.value = m.reduce((g, { inlineSize: h }) => g + h, 0),
|
|
625
|
+
r.value = m.reduce((g, { inlineSize: h }) => g + h, 0), s.value = m.reduce((g, { blockSize: h }) => g + h, 0);
|
|
621
626
|
} else
|
|
622
|
-
r.value = u.contentRect.width,
|
|
627
|
+
r.value = u.contentRect.width, s.value = u.contentRect.height;
|
|
623
628
|
},
|
|
624
629
|
t
|
|
625
630
|
);
|
|
626
|
-
|
|
627
|
-
const u =
|
|
628
|
-
u && (r.value = "offsetWidth" in u ? u.offsetWidth : o.width,
|
|
631
|
+
he(() => {
|
|
632
|
+
const u = j(e);
|
|
633
|
+
u && (r.value = "offsetWidth" in u ? u.offsetWidth : o.width, s.value = "offsetHeight" in u ? u.offsetHeight : o.height);
|
|
629
634
|
});
|
|
630
|
-
const
|
|
631
|
-
() =>
|
|
635
|
+
const c = L(
|
|
636
|
+
() => j(e),
|
|
632
637
|
(u) => {
|
|
633
|
-
r.value = u ? o.width : 0,
|
|
638
|
+
r.value = u ? o.width : 0, s.value = u ? o.height : 0;
|
|
634
639
|
}
|
|
635
640
|
);
|
|
636
|
-
function
|
|
637
|
-
|
|
641
|
+
function d() {
|
|
642
|
+
i(), c();
|
|
638
643
|
}
|
|
639
644
|
return {
|
|
640
645
|
width: r,
|
|
641
|
-
height:
|
|
642
|
-
stop:
|
|
646
|
+
height: s,
|
|
647
|
+
stop: d
|
|
643
648
|
};
|
|
644
649
|
}
|
|
645
|
-
function
|
|
650
|
+
function se(e) {
|
|
646
651
|
return typeof Window < "u" && e instanceof Window ? e.document.documentElement : typeof Document < "u" && e instanceof Document ? e.documentElement : e;
|
|
647
652
|
}
|
|
648
653
|
function Fe(e) {
|
|
@@ -654,88 +659,88 @@ function Fe(e) {
|
|
|
654
659
|
return !t || t.tagName === "BODY" ? !1 : Fe(t);
|
|
655
660
|
}
|
|
656
661
|
}
|
|
657
|
-
function
|
|
662
|
+
function Nt(e) {
|
|
658
663
|
const o = e || window.event, t = o.target;
|
|
659
664
|
return Fe(t) ? !1 : o.touches.length > 1 ? !0 : (o.preventDefault && o.preventDefault(), !1);
|
|
660
665
|
}
|
|
661
|
-
const
|
|
662
|
-
function
|
|
663
|
-
const t =
|
|
664
|
-
let a = null
|
|
665
|
-
|
|
666
|
-
const
|
|
667
|
-
if (
|
|
668
|
-
const
|
|
669
|
-
|
|
666
|
+
const ne = /* @__PURE__ */ new WeakMap();
|
|
667
|
+
function Pt(e, o = !1) {
|
|
668
|
+
const t = B(o);
|
|
669
|
+
let a = null;
|
|
670
|
+
L(Ne(e), (r) => {
|
|
671
|
+
const s = se(N(r));
|
|
672
|
+
if (s) {
|
|
673
|
+
const i = s;
|
|
674
|
+
ne.get(i) || ne.set(i, i.style.overflow), t.value && (i.style.overflow = "hidden");
|
|
670
675
|
}
|
|
671
676
|
}, {
|
|
672
677
|
immediate: !0
|
|
673
678
|
});
|
|
674
|
-
const
|
|
675
|
-
const
|
|
676
|
-
!
|
|
677
|
-
|
|
679
|
+
const n = () => {
|
|
680
|
+
const r = se(N(e));
|
|
681
|
+
!r || t.value || (ke && (a = ae(
|
|
682
|
+
r,
|
|
678
683
|
"touchmove",
|
|
679
|
-
(
|
|
680
|
-
|
|
684
|
+
(s) => {
|
|
685
|
+
Nt(s);
|
|
681
686
|
},
|
|
682
687
|
{ passive: !1 }
|
|
683
|
-
)),
|
|
684
|
-
},
|
|
685
|
-
var
|
|
686
|
-
const
|
|
687
|
-
!
|
|
688
|
+
)), r.style.overflow = "hidden", t.value = !0);
|
|
689
|
+
}, l = () => {
|
|
690
|
+
var r;
|
|
691
|
+
const s = se(N(e));
|
|
692
|
+
!s || !t.value || (ke && (a == null || a()), s.style.overflow = (r = ne.get(s)) != null ? r : "", ne.delete(s), t.value = !1);
|
|
688
693
|
};
|
|
689
|
-
return
|
|
694
|
+
return le(l), _({
|
|
690
695
|
get() {
|
|
691
696
|
return t.value;
|
|
692
697
|
},
|
|
693
|
-
set(
|
|
694
|
-
|
|
698
|
+
set(r) {
|
|
699
|
+
r ? n() : l();
|
|
695
700
|
}
|
|
696
701
|
});
|
|
697
702
|
}
|
|
698
|
-
function
|
|
699
|
-
var n,
|
|
703
|
+
function U(e, o, t, a = {}) {
|
|
704
|
+
var n, l, r;
|
|
700
705
|
const {
|
|
701
|
-
clone:
|
|
702
|
-
passive:
|
|
703
|
-
eventName:
|
|
704
|
-
deep:
|
|
706
|
+
clone: s = !1,
|
|
707
|
+
passive: i = !1,
|
|
708
|
+
eventName: c,
|
|
709
|
+
deep: d = !1,
|
|
705
710
|
defaultValue: u,
|
|
706
711
|
shouldEmit: f
|
|
707
|
-
} = a, m =
|
|
708
|
-
let h =
|
|
712
|
+
} = a, m = de(), g = t || (m == null ? void 0 : m.emit) || ((n = m == null ? void 0 : m.$emit) == null ? void 0 : n.bind(m)) || ((r = (l = m == null ? void 0 : m.proxy) == null ? void 0 : l.$emit) == null ? void 0 : r.bind(m == null ? void 0 : m.proxy));
|
|
713
|
+
let h = c;
|
|
709
714
|
o || (o = "modelValue"), h = h || `update:${o.toString()}`;
|
|
710
|
-
const
|
|
711
|
-
f ? f(
|
|
715
|
+
const D = (S) => s ? typeof s == "function" ? s(S) : Ct(S) : S, R = () => it(e[o]) ? D(e[o]) : u, P = (S) => {
|
|
716
|
+
f ? f(S) && g(h, S) : g(h, S);
|
|
712
717
|
};
|
|
713
|
-
if (
|
|
714
|
-
const
|
|
718
|
+
if (i) {
|
|
719
|
+
const S = R(), C = B(S);
|
|
715
720
|
let A = !1;
|
|
716
|
-
return
|
|
721
|
+
return L(
|
|
717
722
|
() => e[o],
|
|
718
|
-
(
|
|
719
|
-
A || (A = !0, C.value =
|
|
723
|
+
(F) => {
|
|
724
|
+
A || (A = !0, C.value = D(F), ee(() => A = !1));
|
|
720
725
|
}
|
|
721
|
-
),
|
|
726
|
+
), L(
|
|
722
727
|
C,
|
|
723
|
-
(
|
|
724
|
-
!A && (
|
|
728
|
+
(F) => {
|
|
729
|
+
!A && (F !== e[o] || d) && P(F);
|
|
725
730
|
},
|
|
726
|
-
{ deep:
|
|
731
|
+
{ deep: d }
|
|
727
732
|
), C;
|
|
728
733
|
} else
|
|
729
734
|
return _({
|
|
730
735
|
get() {
|
|
731
|
-
return
|
|
736
|
+
return R();
|
|
732
737
|
},
|
|
733
|
-
set(
|
|
734
|
-
P(
|
|
738
|
+
set(S) {
|
|
739
|
+
P(S);
|
|
735
740
|
}
|
|
736
741
|
});
|
|
737
742
|
}
|
|
738
|
-
const
|
|
743
|
+
const Wt = { class: "$ui-dark-toggle-vtr" }, uo = /* @__PURE__ */ T({
|
|
739
744
|
__name: "DarkToggle",
|
|
740
745
|
props: {
|
|
741
746
|
isDark: { type: Boolean, default: !1 },
|
|
@@ -743,30 +748,30 @@ const Pt = { class: "$ui-dark-toggle-vtr" }, io = /* @__PURE__ */ D({
|
|
|
743
748
|
animationDuration: { default: 400 }
|
|
744
749
|
},
|
|
745
750
|
setup(e) {
|
|
746
|
-
const o = e, t =
|
|
751
|
+
const o = e, t = U(o, "isDark"), a = Mt({
|
|
747
752
|
initialValue: t.value ? "dark" : "light",
|
|
748
|
-
onChanged: (
|
|
749
|
-
t.value =
|
|
753
|
+
onChanged: (s) => {
|
|
754
|
+
t.value = s === "dark";
|
|
750
755
|
}
|
|
751
756
|
}), n = _({
|
|
752
757
|
get: () => a.value === "dark",
|
|
753
|
-
set: (
|
|
754
|
-
}),
|
|
755
|
-
function r(
|
|
756
|
-
if (!
|
|
758
|
+
set: (s) => a.value = s ? "dark" : "light"
|
|
759
|
+
}), l = document.startViewTransition && !window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
760
|
+
function r(s) {
|
|
761
|
+
if (!l || !s || !o.animation) {
|
|
757
762
|
n.value = !n.value;
|
|
758
763
|
return;
|
|
759
764
|
}
|
|
760
|
-
const
|
|
761
|
-
Math.max(
|
|
762
|
-
Math.max(
|
|
765
|
+
const i = s.clientX, c = s.clientY, d = Math.hypot(
|
|
766
|
+
Math.max(i, innerWidth - i),
|
|
767
|
+
Math.max(c, innerHeight - c)
|
|
763
768
|
);
|
|
764
769
|
document.startViewTransition(async () => {
|
|
765
|
-
n.value = !n.value, await
|
|
770
|
+
n.value = !n.value, await ee();
|
|
766
771
|
}).ready.then(() => {
|
|
767
772
|
const f = [
|
|
768
|
-
`circle(0px at ${
|
|
769
|
-
`circle(${
|
|
773
|
+
`circle(0px at ${i}px ${c}px)`,
|
|
774
|
+
`circle(${d}px at ${i}px ${c}px)`
|
|
770
775
|
];
|
|
771
776
|
document.documentElement.animate(
|
|
772
777
|
{
|
|
@@ -780,8 +785,8 @@ const Pt = { class: "$ui-dark-toggle-vtr" }, io = /* @__PURE__ */ D({
|
|
|
780
785
|
);
|
|
781
786
|
});
|
|
782
787
|
}
|
|
783
|
-
return (
|
|
784
|
-
w(
|
|
788
|
+
return (s, i) => (p(), $("span", Wt, [
|
|
789
|
+
w(s.$slots, "default", ce(fe({ mode: k(a), isDark: n.value, toggle: r })))
|
|
785
790
|
]));
|
|
786
791
|
}
|
|
787
792
|
}), xt = {}, Ft = { class: "$ui-base border $ui-border-base rounded shadow-sm" };
|
|
@@ -790,7 +795,7 @@ function Lt(e, o) {
|
|
|
790
795
|
w(e.$slots, "default")
|
|
791
796
|
]);
|
|
792
797
|
}
|
|
793
|
-
const
|
|
798
|
+
const co = /* @__PURE__ */ ge(xt, [["render", Lt]]), Le = /* @__PURE__ */ T({
|
|
794
799
|
__name: "Overlay",
|
|
795
800
|
props: {
|
|
796
801
|
dim: { type: Boolean },
|
|
@@ -798,7 +803,7 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
798
803
|
},
|
|
799
804
|
setup(e) {
|
|
800
805
|
return (o, t) => (p(), $("div", {
|
|
801
|
-
class:
|
|
806
|
+
class: V(["fixed left-0 top-0 $ui-z-max h-full w-full $ui-fcc transition-opacity transition-duration-300 $ui-bg-base", [
|
|
802
807
|
o.dim ? "bg-opacity-50!" : "bg-opacity-0!",
|
|
803
808
|
o.blur ? "backdrop-blur-sm" : ""
|
|
804
809
|
]])
|
|
@@ -806,9 +811,9 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
806
811
|
w(o.$slots, "default")
|
|
807
812
|
], 2));
|
|
808
813
|
}
|
|
809
|
-
}), Rt = { class: "h7.5 w-full $ui-fbc" },
|
|
810
|
-
|
|
811
|
-
],
|
|
814
|
+
}), Rt = { class: "h7.5 w-full $ui-fbc" }, zt = { class: "text-4.5" }, jt = /* @__PURE__ */ b("div", { class: "i-carbon-close" }, null, -1), It = [
|
|
815
|
+
jt
|
|
816
|
+
], Ht = { class: "content transition-all transition-duration-300" }, Jt = { class: "footer h8 w-full transition-all transition-duration-300 delay-250" }, Ut = { class: "$ui-fcc" }, Gt = /* @__PURE__ */ T({
|
|
812
817
|
__name: "Dialog",
|
|
813
818
|
props: {
|
|
814
819
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -823,22 +828,22 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
823
828
|
},
|
|
824
829
|
emits: ["close", "update:modelValue"],
|
|
825
830
|
setup(e, { emit: o }) {
|
|
826
|
-
const t = e, n =
|
|
827
|
-
|
|
828
|
-
n.value ?
|
|
831
|
+
const t = e, n = U(t, "modelValue", o, { passive: !0 }), l = Pt(() => window.document.documentElement);
|
|
832
|
+
q(() => {
|
|
833
|
+
n.value ? l.value = !0 : l.value = !1;
|
|
829
834
|
});
|
|
830
835
|
function r() {
|
|
831
836
|
n.value && t.autoClose && (n.value = !1);
|
|
832
837
|
}
|
|
833
|
-
|
|
838
|
+
Pe("Escape", () => {
|
|
834
839
|
r();
|
|
835
840
|
});
|
|
836
|
-
const
|
|
837
|
-
return Y(() =>
|
|
841
|
+
const s = B(!1);
|
|
842
|
+
return Y(() => s.value = !0), (i, c) => s.value || i.mountTo === "body" ? (p(), M(Te, {
|
|
838
843
|
key: 0,
|
|
839
|
-
to:
|
|
844
|
+
to: i.mountTo
|
|
840
845
|
}, [
|
|
841
|
-
|
|
846
|
+
W(pe, {
|
|
842
847
|
"enter-from-class": "opacity-0 [&_.modal]:scale-95 [&_.content,&_.footer]:translate-y--2.5 [&_.content,&_.footer]:opacity-0",
|
|
843
848
|
"enter-to-class": "opacity-100 [&_.modal]:scale-100",
|
|
844
849
|
"leave-from-class": "opacity-100 [&_.modal]:scale-100",
|
|
@@ -847,42 +852,42 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
847
852
|
default: y(() => [
|
|
848
853
|
k(n) ? (p(), M(Le, {
|
|
849
854
|
key: 0,
|
|
850
|
-
dim:
|
|
851
|
-
blur:
|
|
855
|
+
dim: i.dim,
|
|
856
|
+
blur: i.blur
|
|
852
857
|
}, {
|
|
853
858
|
default: y(() => [
|
|
854
859
|
b("div", {
|
|
855
860
|
class: "modal relative grid grid-rows-[1.875rem_1fr_2.5rem] $ui-base max-h-[calc(100vh-6.25rem)] max-w-[calc(100vw-6.25rem)] min-h-6.25rem min-w-12.5rem gap-2.5 rounded-md bg-white px6 py4.5 color-gray-800 shadow-2xl transition-transform transition-duration-300 dark:bg-gray-900 dark:color-gray-200",
|
|
856
|
-
style:
|
|
861
|
+
style: me({
|
|
857
862
|
width: t.width,
|
|
858
863
|
height: t.height
|
|
859
864
|
})
|
|
860
865
|
}, [
|
|
861
866
|
b("div", Rt, [
|
|
862
|
-
b("div",
|
|
863
|
-
w(
|
|
864
|
-
|
|
867
|
+
b("div", zt, [
|
|
868
|
+
w(i.$slots, "title", {}, () => [
|
|
869
|
+
I(H(t.title), 1)
|
|
865
870
|
])
|
|
866
871
|
]),
|
|
867
|
-
|
|
872
|
+
i.closable ? (p(), $("div", {
|
|
868
873
|
key: 0,
|
|
869
874
|
class: "h6 w6 $ui-fcc cursor-pointer rounded-full transition-colors hover:bg-primary-100 dark:hover:bg-gray-700",
|
|
870
875
|
onClick: r
|
|
871
|
-
},
|
|
872
|
-
]),
|
|
873
|
-
b("div", It, [
|
|
874
|
-
w(l.$slots, "default")
|
|
876
|
+
}, It)) : E("", !0)
|
|
875
877
|
]),
|
|
876
878
|
b("div", Ht, [
|
|
877
|
-
w(
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
879
|
+
w(i.$slots, "default")
|
|
880
|
+
]),
|
|
881
|
+
b("div", Jt, [
|
|
882
|
+
w(i.$slots, "footer", {}, () => [
|
|
883
|
+
w(i.$slots, "footer", {}, () => [
|
|
884
|
+
b("div", Ut, [
|
|
885
|
+
W(K, {
|
|
881
886
|
type: "primary",
|
|
882
887
|
onClick: r
|
|
883
888
|
}, {
|
|
884
889
|
default: y(() => [
|
|
885
|
-
|
|
890
|
+
I(" close ")
|
|
886
891
|
]),
|
|
887
892
|
_: 1
|
|
888
893
|
})
|
|
@@ -899,10 +904,10 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
899
904
|
})
|
|
900
905
|
], 8, ["to"])) : E("", !0);
|
|
901
906
|
}
|
|
902
|
-
}),
|
|
907
|
+
}), Kt = ["type", "placeholder", "disabled"], Yt = {
|
|
903
908
|
key: 3,
|
|
904
909
|
class: "pointer-events-none absolute bottom--0.25 left-50% right-50% z-9999 h-0.75 bg-primary-500 opacity-0 transition-all duration-240 group-[&.focused]:left-0 group-[&.focused]:right-0 group-[&.focused]:opacity-100 group-[&.accent.focused]:bg-accent-500"
|
|
905
|
-
},
|
|
910
|
+
}, ie = "transition-colors $ui-fcc color-gray-500 dark:color-gray-300 group-[&.focused]:color-primary-500; group-[&.accent.focused]:color-accent-500", Xt = /* @__PURE__ */ T({
|
|
906
911
|
__name: "Input",
|
|
907
912
|
props: {
|
|
908
913
|
modelValue: {},
|
|
@@ -919,26 +924,26 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
919
924
|
},
|
|
920
925
|
emits: ["update:modelValue", "updateFocused", "keyTab"],
|
|
921
926
|
setup(e, { emit: o }) {
|
|
922
|
-
const t = e, a = o, n =
|
|
927
|
+
const t = e, a = o, n = U(t, "modelValue", a), l = gt(_(() => t.loading), t.loadingDebounceTime), r = ht(!1, {
|
|
923
928
|
onChanged(u) {
|
|
924
929
|
a("updateFocused", u);
|
|
925
930
|
}
|
|
926
|
-
}),
|
|
927
|
-
let
|
|
928
|
-
return
|
|
929
|
-
|
|
931
|
+
}), s = _(() => t.variant === "flat" || t.variant === "warning" || t.disabled || t.readonly), i = _(() => t.disabled || l.value), c = B();
|
|
932
|
+
let d = !1;
|
|
933
|
+
return q(() => {
|
|
934
|
+
l.value && r.value ? d = !0 : !l.value && d && (d = !1, ee(() => {
|
|
930
935
|
r.value = !0;
|
|
931
936
|
}));
|
|
932
937
|
}), Y(() => {
|
|
933
938
|
t.autoFocus && (r.value = !0);
|
|
934
|
-
}),
|
|
939
|
+
}), q(() => {
|
|
935
940
|
var u;
|
|
936
|
-
r.value && ((u =
|
|
941
|
+
r.value && ((u = c.value) == null || u.focus());
|
|
937
942
|
}), (u, f) => (p(), $("div", {
|
|
938
|
-
class:
|
|
943
|
+
class: V(["group relative w-50 w-auto flex items-center justify-between gap-0.5 overflow-hidden b-1 rounded-1 px3 py-0.75 color-gray-800 dark:color-gray-100", [
|
|
939
944
|
{
|
|
940
945
|
"border-none bg-transparent group": u.variant === "flat",
|
|
941
|
-
"cursor-not-allowed opacity-50":
|
|
946
|
+
"cursor-not-allowed opacity-50": i.value,
|
|
942
947
|
accent: u.variant === "accent",
|
|
943
948
|
focused: k(r)
|
|
944
949
|
},
|
|
@@ -952,37 +957,37 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
952
957
|
}, [
|
|
953
958
|
u.leftIcon ? (p(), $("div", {
|
|
954
959
|
key: 0,
|
|
955
|
-
class:
|
|
960
|
+
class: V(ie)
|
|
956
961
|
}, [
|
|
957
|
-
|
|
962
|
+
W(ue, { icon: u.leftIcon }, null, 8, ["icon"])
|
|
958
963
|
])) : E("", !0),
|
|
959
|
-
|
|
964
|
+
ve(b("input", {
|
|
960
965
|
ref_key: "inputRef",
|
|
961
|
-
ref:
|
|
962
|
-
"onUpdate:modelValue": f[0] || (f[0] = (m) =>
|
|
966
|
+
ref: c,
|
|
967
|
+
"onUpdate:modelValue": f[0] || (f[0] = (m) => Z(n) ? n.value = m : null),
|
|
963
968
|
class: "$ui-base w-full bg-transparent color-inherit outline-none placeholder-color-gray-500 dark:placeholder-gray-300",
|
|
964
969
|
type: t.password ? "password" : "text",
|
|
965
970
|
placeholder: u.placeholder,
|
|
966
|
-
disabled:
|
|
971
|
+
disabled: i.value || u.readonly,
|
|
967
972
|
onBlur: f[1] || (f[1] = (m) => r.value = !1)
|
|
968
|
-
}, null, 40,
|
|
969
|
-
[
|
|
973
|
+
}, null, 40, Kt), [
|
|
974
|
+
[Ge, k(n)]
|
|
970
975
|
]),
|
|
971
|
-
k(
|
|
976
|
+
k(l) ? (p(), $("div", {
|
|
972
977
|
key: 1,
|
|
973
|
-
class:
|
|
978
|
+
class: V(ie)
|
|
974
979
|
}, [
|
|
975
|
-
|
|
980
|
+
W(Oe)
|
|
976
981
|
])) : u.rightIcon ? (p(), $("div", {
|
|
977
982
|
key: 2,
|
|
978
|
-
class:
|
|
983
|
+
class: V(ie)
|
|
979
984
|
}, [
|
|
980
|
-
|
|
985
|
+
W(ue, { icon: u.rightIcon }, null, 8, ["icon"])
|
|
981
986
|
])) : E("", !0),
|
|
982
|
-
|
|
987
|
+
s.value ? E("", !0) : (p(), $("div", Yt))
|
|
983
988
|
], 2));
|
|
984
989
|
}
|
|
985
|
-
}),
|
|
990
|
+
}), qt = { class: "$ui-base" }, fo = /* @__PURE__ */ T({
|
|
986
991
|
__name: "FormField",
|
|
987
992
|
props: {
|
|
988
993
|
modelValue: {},
|
|
@@ -993,39 +998,39 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
993
998
|
},
|
|
994
999
|
emits: ["update:modelValue"],
|
|
995
1000
|
setup(e, { emit: o }) {
|
|
996
|
-
const t = e, n =
|
|
1001
|
+
const t = e, n = U(t, "modelValue", o), l = B(!1), r = _(() => t.message && t.message.length && t.showMessage), s = {
|
|
997
1002
|
normal: "color-gray-600 dark:color-gray-400",
|
|
998
1003
|
warning: "color-warning-500 dark:color-warning-200",
|
|
999
1004
|
danger: "color-danger-500 dark:color-danger-200",
|
|
1000
1005
|
success: "color-primary-700 dark:color-primary-500"
|
|
1001
|
-
},
|
|
1006
|
+
}, i = {
|
|
1002
1007
|
warning: "i-bx:bxs-error",
|
|
1003
1008
|
danger: "i-ic-round-error",
|
|
1004
1009
|
success: "i-ep:success-filled"
|
|
1005
1010
|
};
|
|
1006
|
-
return (
|
|
1007
|
-
|
|
1011
|
+
return (c, d) => (p(), $("div", qt, [
|
|
1012
|
+
W(Xt, {
|
|
1008
1013
|
modelValue: k(n),
|
|
1009
|
-
"onUpdate:modelValue":
|
|
1010
|
-
placeholder:
|
|
1011
|
-
onUpdateFocused:
|
|
1014
|
+
"onUpdate:modelValue": d[0] || (d[0] = (u) => Z(n) ? n.value = u : null),
|
|
1015
|
+
placeholder: c.placeholder,
|
|
1016
|
+
onUpdateFocused: d[1] || (d[1] = (u) => l.value = u)
|
|
1012
1017
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
1013
1018
|
b("div", {
|
|
1014
|
-
class:
|
|
1015
|
-
|
|
1016
|
-
{ "opacity-65": !
|
|
1019
|
+
class: V(["mt2 $ui-base text-3.5", [
|
|
1020
|
+
s[c.status],
|
|
1021
|
+
{ "opacity-65": !l.value }
|
|
1017
1022
|
]])
|
|
1018
1023
|
}, [
|
|
1019
|
-
|
|
1024
|
+
c.status !== "normal" && r.value ? (p(), M(ue, {
|
|
1020
1025
|
key: 0,
|
|
1021
1026
|
inline: "",
|
|
1022
|
-
icon:
|
|
1027
|
+
icon: i[c.status]
|
|
1023
1028
|
}, null, 8, ["icon"])) : E("", !0),
|
|
1024
|
-
|
|
1029
|
+
I(" " + H(r.value ? c.message : ""), 1)
|
|
1025
1030
|
], 2)
|
|
1026
1031
|
]));
|
|
1027
1032
|
}
|
|
1028
|
-
}),
|
|
1033
|
+
}), Qt = { class: "overflow-hidden rounded-lg shadow-lg" }, Zt = /* @__PURE__ */ b("div", { class: "p2 opacity-40" }, " Empty... ", -1), eo = /* @__PURE__ */ T({
|
|
1029
1034
|
__name: "Dropdown",
|
|
1030
1035
|
props: {
|
|
1031
1036
|
label: {},
|
|
@@ -1041,7 +1046,7 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
1041
1046
|
emits: ["update:visible"],
|
|
1042
1047
|
setup(e) {
|
|
1043
1048
|
const o = e;
|
|
1044
|
-
return
|
|
1049
|
+
return Ke("$ui-dropdown-disabled", _(() => o.disabled)), (t, a) => (p(), M(k(Re), {
|
|
1045
1050
|
disabled: t.disabled,
|
|
1046
1051
|
class: "inline-block w-auto",
|
|
1047
1052
|
shown: t.shown,
|
|
@@ -1055,18 +1060,18 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
1055
1060
|
})
|
|
1056
1061
|
}, {
|
|
1057
1062
|
popper: y(({ hide: n }) => [
|
|
1058
|
-
b("div",
|
|
1059
|
-
w(t.$slots, "popper",
|
|
1060
|
-
|
|
1063
|
+
b("div", Qt, [
|
|
1064
|
+
w(t.$slots, "popper", ce(fe({ hide: n })), () => [
|
|
1065
|
+
Zt
|
|
1061
1066
|
])
|
|
1062
1067
|
])
|
|
1063
1068
|
]),
|
|
1064
1069
|
default: y(() => [
|
|
1065
1070
|
w(t.$slots, "default", {}, () => [
|
|
1066
|
-
|
|
1071
|
+
W(K, Q({
|
|
1067
1072
|
...t.buttonProps,
|
|
1068
1073
|
disabled: t.disabled
|
|
1069
|
-
}, { class: t.buttonClass }),
|
|
1074
|
+
}, { class: t.buttonClass }), De({
|
|
1070
1075
|
icon: y(() => [
|
|
1071
1076
|
w(t.$slots, "button-icon")
|
|
1072
1077
|
]),
|
|
@@ -1078,7 +1083,7 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
1078
1083
|
t.label ? {
|
|
1079
1084
|
name: "default",
|
|
1080
1085
|
fn: y(() => [
|
|
1081
|
-
|
|
1086
|
+
I(H(t.label), 1)
|
|
1082
1087
|
]),
|
|
1083
1088
|
key: "0"
|
|
1084
1089
|
} : void 0
|
|
@@ -1088,7 +1093,7 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
1088
1093
|
_: 3
|
|
1089
1094
|
}, 8, ["disabled", "shown", "triggers", "distance", "placement", "skidding"]));
|
|
1090
1095
|
}
|
|
1091
|
-
}),
|
|
1096
|
+
}), po = /* @__PURE__ */ T({
|
|
1092
1097
|
__name: "DropdownButton",
|
|
1093
1098
|
props: {
|
|
1094
1099
|
type: {},
|
|
@@ -1101,8 +1106,8 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
1101
1106
|
keepOpen: { type: Boolean, default: !1 }
|
|
1102
1107
|
},
|
|
1103
1108
|
setup(e) {
|
|
1104
|
-
const o = e, t =
|
|
1105
|
-
return (a, n) =>
|
|
1109
|
+
const o = e, t = Ye("$ui-dropdown-disabled", void 0);
|
|
1110
|
+
return (a, n) => ve((p(), M(K, Q({
|
|
1106
1111
|
...o,
|
|
1107
1112
|
round: !1
|
|
1108
1113
|
}, {
|
|
@@ -1117,10 +1122,10 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
1117
1122
|
]),
|
|
1118
1123
|
_: 3
|
|
1119
1124
|
}, 16, ["disabled"])), [
|
|
1120
|
-
[k(
|
|
1125
|
+
[k(_e)]
|
|
1121
1126
|
]);
|
|
1122
1127
|
}
|
|
1123
|
-
}),
|
|
1128
|
+
}), to = { class: "$ui-fec gap2.5" }, mo = /* @__PURE__ */ T({
|
|
1124
1129
|
__name: "Confirm",
|
|
1125
1130
|
props: {
|
|
1126
1131
|
modelValue: { type: Boolean },
|
|
@@ -1135,42 +1140,42 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
1135
1140
|
},
|
|
1136
1141
|
emits: ["update:modelValue", "confirm", "cancel", "close"],
|
|
1137
1142
|
setup(e, { emit: o }) {
|
|
1138
|
-
const t = e, a = o, n =
|
|
1139
|
-
|
|
1143
|
+
const t = e, a = o, n = U(t, "modelValue", a);
|
|
1144
|
+
q(() => {
|
|
1140
1145
|
n.value || a("close");
|
|
1141
1146
|
});
|
|
1142
|
-
function
|
|
1147
|
+
function l(r = !1) {
|
|
1143
1148
|
(t.autoClose || r) && (n.value = !1);
|
|
1144
1149
|
}
|
|
1145
|
-
return (r,
|
|
1150
|
+
return (r, s) => (p(), M(Gt, {
|
|
1146
1151
|
modelValue: k(n),
|
|
1147
|
-
"onUpdate:modelValue":
|
|
1152
|
+
"onUpdate:modelValue": s[2] || (s[2] = (i) => Z(n) ? n.value = i : null),
|
|
1148
1153
|
width: r.width,
|
|
1149
1154
|
height: r.height,
|
|
1150
1155
|
title: r.title,
|
|
1151
1156
|
closable: !1
|
|
1152
1157
|
}, {
|
|
1153
1158
|
footer: y(() => [
|
|
1154
|
-
b("div",
|
|
1155
|
-
|
|
1156
|
-
onClick:
|
|
1157
|
-
a("cancel"),
|
|
1159
|
+
b("div", to, [
|
|
1160
|
+
W(K, {
|
|
1161
|
+
onClick: s[0] || (s[0] = () => {
|
|
1162
|
+
a("cancel"), l(!0);
|
|
1158
1163
|
})
|
|
1159
1164
|
}, {
|
|
1160
1165
|
default: y(() => [
|
|
1161
|
-
|
|
1166
|
+
I(H(r.cancelText), 1)
|
|
1162
1167
|
]),
|
|
1163
1168
|
_: 1
|
|
1164
1169
|
}),
|
|
1165
|
-
|
|
1170
|
+
W(K, {
|
|
1166
1171
|
loading: r.loading,
|
|
1167
1172
|
type: "primary",
|
|
1168
|
-
onClick:
|
|
1169
|
-
a("confirm"),
|
|
1173
|
+
onClick: s[1] || (s[1] = () => {
|
|
1174
|
+
a("confirm"), l();
|
|
1170
1175
|
})
|
|
1171
1176
|
}, {
|
|
1172
1177
|
default: y(() => [
|
|
1173
|
-
|
|
1178
|
+
I(H(r.confirmText), 1)
|
|
1174
1179
|
]),
|
|
1175
1180
|
_: 1
|
|
1176
1181
|
}, 8, ["loading"])
|
|
@@ -1178,13 +1183,13 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
1178
1183
|
]),
|
|
1179
1184
|
default: y(() => [
|
|
1180
1185
|
w(r.$slots, "default", { class: "h-auto w-auto" }, () => [
|
|
1181
|
-
|
|
1186
|
+
I(H(r.content), 1)
|
|
1182
1187
|
])
|
|
1183
1188
|
]),
|
|
1184
1189
|
_: 3
|
|
1185
1190
|
}, 8, ["modelValue", "width", "height", "title"]));
|
|
1186
1191
|
}
|
|
1187
|
-
}),
|
|
1192
|
+
}), oo = { class: "m1 min-w-35 w-auto flex flex-col" }, no = ["onClick"], ro = /* @__PURE__ */ b("div", { class: "i-mdi-chevron-down" }, null, -1), vo = /* @__PURE__ */ T({
|
|
1188
1193
|
__name: "Select",
|
|
1189
1194
|
props: {
|
|
1190
1195
|
modelValue: {},
|
|
@@ -1198,65 +1203,65 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
1198
1203
|
},
|
|
1199
1204
|
emits: ["update:modelValue"],
|
|
1200
1205
|
setup(e, { emit: o }) {
|
|
1201
|
-
const t = e, a = o, n =
|
|
1206
|
+
const t = e, a = o, n = Ce(), l = _({
|
|
1202
1207
|
get: () => t.modelValue,
|
|
1203
|
-
set: (
|
|
1208
|
+
set: (i) => a("update:modelValue", i)
|
|
1204
1209
|
}), r = _(() => {
|
|
1205
|
-
const
|
|
1206
|
-
return
|
|
1210
|
+
const i = t.options.find((c) => c.value === l.value);
|
|
1211
|
+
return i != null && i.label ? t.labelRenderer(i.label) : t.placeholder;
|
|
1207
1212
|
});
|
|
1208
|
-
function i
|
|
1209
|
-
t.multiple ?
|
|
1213
|
+
function s(i) {
|
|
1214
|
+
t.multiple ? l.value = l.value.includes(i.value) ? l.value.filter((c) => c !== i.value) : [...l.value, i.value] : l.value = i.value;
|
|
1210
1215
|
}
|
|
1211
|
-
return (
|
|
1212
|
-
buttonProps:
|
|
1213
|
-
disabled:
|
|
1214
|
-
}),
|
|
1216
|
+
return (i, c) => (p(), M(eo, Q({ label: r.value }, {
|
|
1217
|
+
buttonProps: i.buttonProps,
|
|
1218
|
+
disabled: i.disabled
|
|
1219
|
+
}), De({
|
|
1215
1220
|
popper: y(() => [
|
|
1216
|
-
b("div",
|
|
1217
|
-
k(n).item ? (p(!0), $(
|
|
1218
|
-
key:
|
|
1221
|
+
b("div", oo, [
|
|
1222
|
+
k(n).item ? (p(!0), $(be, { key: 0 }, ye(i.options, (d) => (p(), $("div", {
|
|
1223
|
+
key: d.value,
|
|
1219
1224
|
class: "cursor-pointer",
|
|
1220
|
-
onClick: (u) =>
|
|
1225
|
+
onClick: (u) => s(d)
|
|
1221
1226
|
}, [
|
|
1222
|
-
w(
|
|
1223
|
-
item:
|
|
1224
|
-
active:
|
|
1225
|
-
disabled:
|
|
1227
|
+
w(i.$slots, "item", ce(fe({
|
|
1228
|
+
item: d,
|
|
1229
|
+
active: i.multiple ? l.value.includes(d.value) : d.value === l.value,
|
|
1230
|
+
disabled: i.disabled
|
|
1226
1231
|
})))
|
|
1227
|
-
], 8,
|
|
1228
|
-
key:
|
|
1229
|
-
disabled:
|
|
1232
|
+
], 8, no))), 128)) : (p(!0), $(be, { key: 1 }, ye(i.options, (d) => ve((p(), M(K, {
|
|
1233
|
+
key: d.value,
|
|
1234
|
+
disabled: i.disabled,
|
|
1230
1235
|
round: "normal",
|
|
1231
|
-
class:
|
|
1232
|
-
active:
|
|
1236
|
+
class: V(["flex-[auto_1_1] not-hover:[&:not(.active)]:bg-transparent!", {
|
|
1237
|
+
active: i.multiple ? l.value.includes(d.value) : d.value === l.value
|
|
1233
1238
|
}]),
|
|
1234
|
-
onClick: (u) =>
|
|
1239
|
+
onClick: (u) => s(d)
|
|
1235
1240
|
}, {
|
|
1236
1241
|
default: y(() => [
|
|
1237
|
-
|
|
1242
|
+
I(H(d.label), 1)
|
|
1238
1243
|
]),
|
|
1239
1244
|
_: 2
|
|
1240
1245
|
}, 1032, ["disabled", "class", "onClick"])), [
|
|
1241
|
-
[k(
|
|
1246
|
+
[k(_e), i.autoClose]
|
|
1242
1247
|
])), 128))
|
|
1243
1248
|
])
|
|
1244
1249
|
]),
|
|
1245
1250
|
"button-icon-right": y(() => [
|
|
1246
|
-
|
|
1251
|
+
ro
|
|
1247
1252
|
]),
|
|
1248
1253
|
_: 2
|
|
1249
1254
|
}, [
|
|
1250
1255
|
k(n).button ? {
|
|
1251
1256
|
name: "default",
|
|
1252
1257
|
fn: y(() => [
|
|
1253
|
-
w(
|
|
1258
|
+
w(i.$slots, "button")
|
|
1254
1259
|
]),
|
|
1255
1260
|
key: "0"
|
|
1256
1261
|
} : void 0
|
|
1257
1262
|
]), 1040, ["label"]));
|
|
1258
1263
|
}
|
|
1259
|
-
}),
|
|
1264
|
+
}), go = /* @__PURE__ */ T({
|
|
1260
1265
|
__name: "Switch",
|
|
1261
1266
|
props: {
|
|
1262
1267
|
modelValue: { type: Boolean },
|
|
@@ -1264,22 +1269,22 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
1264
1269
|
},
|
|
1265
1270
|
emits: ["update:modelValue"],
|
|
1266
1271
|
setup(e, { emit: o }) {
|
|
1267
|
-
const n =
|
|
1268
|
-
return (r,
|
|
1269
|
-
class:
|
|
1272
|
+
const n = U(e, "modelValue", o), l = wt(n);
|
|
1273
|
+
return (r, s) => (p(), $("div", {
|
|
1274
|
+
class: V([[
|
|
1270
1275
|
r.disabled ? "cursor-not-allowed" : "cursor-pointer"
|
|
1271
1276
|
], "$ui-base $ui-if-sc cursor-pointer select-none gap1.25 vertical-mid text-3.5"]),
|
|
1272
1277
|
role: "checkbox",
|
|
1273
|
-
onClick:
|
|
1278
|
+
onClick: s[0] || (s[0] = (i) => !r.disabled && k(l)())
|
|
1274
1279
|
}, [
|
|
1275
1280
|
w(r.$slots, "default"),
|
|
1276
1281
|
b("div", {
|
|
1277
|
-
class:
|
|
1282
|
+
class: V([{
|
|
1278
1283
|
selected: k(n)
|
|
1279
1284
|
}, "group relative $ui-base h4 w8 rounded-2 bg-primary-100 transition-colors dark:bg-gray-700 [&.selected]:bg-primary-500!"])
|
|
1280
1285
|
}, [
|
|
1281
1286
|
b("div", {
|
|
1282
|
-
class:
|
|
1287
|
+
class: V(["h4 w4 rounded-full bg-primary-800 transition-transform group-[&.selected]:transform-translate-x-4 dark:bg-white", [
|
|
1283
1288
|
{ "group-hover:opacity-75 group-active:scale-85": !r.disabled },
|
|
1284
1289
|
{ "opacity-65": r.disabled }
|
|
1285
1290
|
]])
|
|
@@ -1287,7 +1292,7 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
1287
1292
|
], 2)
|
|
1288
1293
|
], 2));
|
|
1289
1294
|
}
|
|
1290
|
-
}),
|
|
1295
|
+
}), ho = /* @__PURE__ */ T({
|
|
1291
1296
|
__name: "Checkbox",
|
|
1292
1297
|
props: {
|
|
1293
1298
|
modelValue: { type: Boolean },
|
|
@@ -1295,21 +1300,21 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
1295
1300
|
},
|
|
1296
1301
|
emits: ["update:modelValue"],
|
|
1297
1302
|
setup(e, { emit: o }) {
|
|
1298
|
-
const n =
|
|
1299
|
-
return (
|
|
1300
|
-
class:
|
|
1301
|
-
k(n) ?
|
|
1303
|
+
const n = U(e, "modelValue", o);
|
|
1304
|
+
return (l, r) => (p(), $("div", {
|
|
1305
|
+
class: V(["relative $ui-base h5 w5 $ui-inline-fcc cursor-pointer border-0.125rem rounded-1.25 transition-colors duration-200 ease-in-out", [
|
|
1306
|
+
k(n) ? l.variant === "normal" ? "bg-primary-500 border-primary-200 dark:border-primary-100" : "bg-accent-500 border-accent-200 dark:border-accent-100" : ""
|
|
1302
1307
|
]]),
|
|
1303
|
-
onClick: r[0] || (r[0] = (
|
|
1308
|
+
onClick: r[0] || (r[0] = (s) => n.value = !k(n))
|
|
1304
1309
|
}, [
|
|
1305
1310
|
b("div", {
|
|
1306
|
-
class:
|
|
1311
|
+
class: V([[
|
|
1307
1312
|
k(n) ? "opacity-100" : "opacity-0"
|
|
1308
1313
|
], "h-60% w-35% transform-translate-y--0.25 transform-rotate-45 border-width-[0_0.125rem_0.125rem_0] border-white border-solid transition-opacity duration-200 ease-in-out"])
|
|
1309
1314
|
}, null, 2)
|
|
1310
1315
|
], 2));
|
|
1311
1316
|
}
|
|
1312
|
-
}),
|
|
1317
|
+
}), bo = /* @__PURE__ */ T({
|
|
1313
1318
|
__name: "Drawer",
|
|
1314
1319
|
props: {
|
|
1315
1320
|
modelValue: { type: Boolean },
|
|
@@ -1326,7 +1331,7 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
1326
1331
|
},
|
|
1327
1332
|
emits: ["update:modelValue", "close"],
|
|
1328
1333
|
setup(e, { emit: o }) {
|
|
1329
|
-
const t = e, a = o, { height: n } =
|
|
1334
|
+
const t = e, a = o, { height: n } = Et(() => typeof t.top == "string" ? document.querySelector(t.top) : t.top, void 0, { box: "border-box" }), l = U(t, "modelValue", a), r = {
|
|
1330
1335
|
left: {
|
|
1331
1336
|
class: "left-0 h-full b-r",
|
|
1332
1337
|
transition: "[&_.drawer]:translate-x--100%"
|
|
@@ -1344,44 +1349,44 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
1344
1349
|
transition: "[&_.drawer]:translate-y-100%"
|
|
1345
1350
|
}
|
|
1346
1351
|
};
|
|
1347
|
-
|
|
1348
|
-
t.closable && (
|
|
1352
|
+
Pe("Escape", () => {
|
|
1353
|
+
t.closable && (l.value = !1);
|
|
1349
1354
|
});
|
|
1350
|
-
const
|
|
1351
|
-
return Y(() =>
|
|
1355
|
+
const s = _(() => r[t.placement]), i = B(!1);
|
|
1356
|
+
return Y(() => i.value = !0), (c, d) => i.value || c.mountTo === "body" ? (p(), M(Te, {
|
|
1352
1357
|
key: 0,
|
|
1353
|
-
to:
|
|
1358
|
+
to: c.mountTo
|
|
1354
1359
|
}, [
|
|
1355
|
-
|
|
1356
|
-
"enter-from-class": `${
|
|
1357
|
-
"leave-to-class": `${
|
|
1360
|
+
W(pe, {
|
|
1361
|
+
"enter-from-class": `${s.value.transition}`,
|
|
1362
|
+
"leave-to-class": `${s.value.transition}`
|
|
1358
1363
|
}, {
|
|
1359
1364
|
default: y(() => [
|
|
1360
|
-
k(
|
|
1365
|
+
k(l) ? (p(), M(Le, {
|
|
1361
1366
|
key: 0,
|
|
1362
|
-
class:
|
|
1363
|
-
"pointer-events-none":
|
|
1367
|
+
class: V({
|
|
1368
|
+
"pointer-events-none": c.permanent
|
|
1364
1369
|
}),
|
|
1365
|
-
dim:
|
|
1366
|
-
blur:
|
|
1367
|
-
onClick:
|
|
1370
|
+
dim: c.dim,
|
|
1371
|
+
blur: c.blur,
|
|
1372
|
+
onClick: d[2] || (d[2] = (u) => c.closeOutside && c.closable && (l.value = !1))
|
|
1368
1373
|
}, {
|
|
1369
1374
|
default: y(() => [
|
|
1370
1375
|
b("div", {
|
|
1371
|
-
class:
|
|
1372
|
-
style:
|
|
1373
|
-
top:
|
|
1374
|
-
height: ["top", "bottom"].includes(
|
|
1376
|
+
class: V([[s.value.class, c.contentClass ?? "", c.contentBlur ? "$ui-glass-effect" : "$ui-bg-base"], "drawer pointer-events-auto absolute min-w-25 of-auto $ui-border-base transition-transform transition-duration-300"]),
|
|
1377
|
+
style: me({
|
|
1378
|
+
top: c.placement === "bottom" ? "auto" : `${k(n)}px`,
|
|
1379
|
+
height: ["top", "bottom"].includes(c.placement) ? "auto" : `calc(100% - ${k(n)}px)`
|
|
1375
1380
|
}),
|
|
1376
|
-
onClick:
|
|
1381
|
+
onClick: d[1] || (d[1] = Xe(() => {
|
|
1377
1382
|
}, ["stop"]))
|
|
1378
1383
|
}, [
|
|
1379
|
-
|
|
1384
|
+
c.closable ? (p(), $("div", {
|
|
1380
1385
|
key: 0,
|
|
1381
1386
|
class: "i-carbon-close absolute right-1.5 top-1.5 $ui-z-max cursor-pointer p1 text-lg $ui-text",
|
|
1382
|
-
onClick:
|
|
1387
|
+
onClick: d[0] || (d[0] = (u) => l.value = !1)
|
|
1383
1388
|
})) : E("", !0),
|
|
1384
|
-
w(
|
|
1389
|
+
w(c.$slots, "default")
|
|
1385
1390
|
], 6)
|
|
1386
1391
|
]),
|
|
1387
1392
|
_: 3
|
|
@@ -1391,7 +1396,7 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
1391
1396
|
}, 8, ["enter-from-class", "leave-to-class"])
|
|
1392
1397
|
], 8, ["to"])) : E("", !0);
|
|
1393
1398
|
}
|
|
1394
|
-
}),
|
|
1399
|
+
}), ao = /* @__PURE__ */ T({
|
|
1395
1400
|
__name: "Notification",
|
|
1396
1401
|
props: {
|
|
1397
1402
|
message: {},
|
|
@@ -1412,40 +1417,40 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
1412
1417
|
info: "text-blue-4 border-blue-2 dark:text-blue-2 dark:border-blue-4",
|
|
1413
1418
|
warning: "text-amber-4 border-amber-2 dark:border-amber-4",
|
|
1414
1419
|
error: "text-red-4 border-red-2 dark:border-red-4"
|
|
1415
|
-
}, n =
|
|
1420
|
+
}, n = B(!1);
|
|
1416
1421
|
Y(() => {
|
|
1417
1422
|
n.value = !0, setTimeout(() => {
|
|
1418
1423
|
n.value = !1;
|
|
1419
1424
|
}, o.duration);
|
|
1420
1425
|
});
|
|
1421
|
-
const
|
|
1422
|
-
return (r,
|
|
1423
|
-
class:
|
|
1426
|
+
const l = _(() => o.placement.startsWith("top") ? "translate-y--300%" : "translate-y-300%");
|
|
1427
|
+
return (r, s) => (p(), $("div", {
|
|
1428
|
+
class: V(["fixed left-0 right-0 $ui-z-max-override text-center", [
|
|
1424
1429
|
{ "top-0": r.placement.startsWith("top") },
|
|
1425
1430
|
{ "bottom-0": r.placement.startsWith("bottom") }
|
|
1426
1431
|
]])
|
|
1427
1432
|
}, [
|
|
1428
|
-
|
|
1429
|
-
"enter-from-class":
|
|
1430
|
-
"leave-to-class":
|
|
1431
|
-
onAfterLeave:
|
|
1432
|
-
var
|
|
1433
|
-
n.value || (
|
|
1433
|
+
W(pe, {
|
|
1434
|
+
"enter-from-class": l.value,
|
|
1435
|
+
"leave-to-class": l.value,
|
|
1436
|
+
onAfterLeave: s[0] || (s[0] = () => {
|
|
1437
|
+
var i;
|
|
1438
|
+
n.value || (i = r.onClose) == null || i.call(r);
|
|
1434
1439
|
})
|
|
1435
1440
|
}, {
|
|
1436
1441
|
default: y(() => [
|
|
1437
1442
|
n.value ? (p(), $("div", {
|
|
1438
1443
|
key: 0,
|
|
1439
1444
|
class: "flex transition-all duration-300",
|
|
1440
|
-
style:
|
|
1445
|
+
style: me({ justifyContent: r.placement.includes("right") ? "right" : r.placement.includes("left") ? "left" : "center" })
|
|
1441
1446
|
}, [
|
|
1442
1447
|
b("div", {
|
|
1443
|
-
class:
|
|
1448
|
+
class: V(["m3 flex-inline items-center gap2 b-1 b-1 rounded px4 py1 shadow transition-all duration-300 $ui-bg-base", [r.classes, a[r.type]]])
|
|
1444
1449
|
}, [
|
|
1445
1450
|
b("div", {
|
|
1446
|
-
class:
|
|
1451
|
+
class: V(t[r.type])
|
|
1447
1452
|
}, null, 2),
|
|
1448
|
-
b("div", null,
|
|
1453
|
+
b("div", null, H(r.message), 1)
|
|
1449
1454
|
], 2)
|
|
1450
1455
|
], 4)) : E("", !0)
|
|
1451
1456
|
]),
|
|
@@ -1453,7 +1458,7 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
1453
1458
|
}, 8, ["enter-from-class", "leave-to-class"])
|
|
1454
1459
|
], 2));
|
|
1455
1460
|
}
|
|
1456
|
-
}),
|
|
1461
|
+
}), yo = /* @__PURE__ */ T({
|
|
1457
1462
|
__name: "Tooltip",
|
|
1458
1463
|
props: {
|
|
1459
1464
|
trigger: {},
|
|
@@ -1464,7 +1469,7 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
1464
1469
|
shown: { type: Boolean }
|
|
1465
1470
|
},
|
|
1466
1471
|
setup(e) {
|
|
1467
|
-
return (o, t) => (p(), M(k(
|
|
1472
|
+
return (o, t) => (p(), M(k(ze), Q({
|
|
1468
1473
|
disabled: o.disabled,
|
|
1469
1474
|
placement: o.placement
|
|
1470
1475
|
}, o.$attrs), {
|
|
@@ -1478,39 +1483,39 @@ const uo = /* @__PURE__ */ ve(xt, [["render", Lt]]), Le = /* @__PURE__ */ D({
|
|
|
1478
1483
|
}, 16, ["disabled", "placement"]));
|
|
1479
1484
|
}
|
|
1480
1485
|
});
|
|
1481
|
-
function
|
|
1486
|
+
function wo(e) {
|
|
1482
1487
|
const o = document.createElement("div");
|
|
1483
1488
|
o.classList.add("$ui-z-max-override", "fixed"), document.body.appendChild(o);
|
|
1484
1489
|
const t = e.onClose;
|
|
1485
1490
|
function a() {
|
|
1486
|
-
|
|
1491
|
+
we(null, o);
|
|
1487
1492
|
}
|
|
1488
1493
|
e.onClose = () => {
|
|
1489
1494
|
a(), t == null || t(), document.body.removeChild(o);
|
|
1490
1495
|
};
|
|
1491
|
-
const n =
|
|
1492
|
-
|
|
1496
|
+
const n = qe(ao, e);
|
|
1497
|
+
we(n, o);
|
|
1493
1498
|
}
|
|
1494
1499
|
export {
|
|
1495
|
-
|
|
1496
|
-
|
|
1500
|
+
_o as VTooltip,
|
|
1501
|
+
io as VueBadge,
|
|
1497
1502
|
K as VueButton,
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1503
|
+
co as VueCard,
|
|
1504
|
+
ho as VueCheckbox,
|
|
1505
|
+
mo as VueConfirm,
|
|
1506
|
+
uo as VueDarkToggle,
|
|
1507
|
+
Gt as VueDialog,
|
|
1508
|
+
bo as VueDrawer,
|
|
1509
|
+
eo as VueDropdown,
|
|
1510
|
+
po as VueDropdownButton,
|
|
1511
|
+
fo as VueFormField,
|
|
1512
|
+
ue as VueIcon,
|
|
1513
|
+
Xt as VueInput,
|
|
1514
|
+
Oe as VueLoadingIndicator,
|
|
1515
|
+
ao as VueNotification,
|
|
1511
1516
|
Le as VueOverlay,
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1517
|
+
vo as VueSelect,
|
|
1518
|
+
go as VueSwitch,
|
|
1519
|
+
yo as VueTooltip,
|
|
1520
|
+
wo as showVueNotification
|
|
1516
1521
|
};
|