quail-ui 0.2.76 → 0.2.77
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.js +126 -122
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +8 -8
- package/dist/index.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as a, createElementBlock as u, createElementVNode as d, createStaticVNode as X, defineComponent as z, ref as T, watch as e1, onMounted as C1, withDirectives as c1, vModelText as u1, computed as S, nextTick as T2, Fragment as k1, renderSlot as r1, createBlock as
|
|
1
|
+
import { openBlock as a, createElementBlock as u, createElementVNode as d, createStaticVNode as X, defineComponent as z, ref as T, watch as e1, onMounted as C1, withDirectives as c1, vModelText as u1, computed as S, nextTick as T2, Fragment as k1, renderSlot as r1, createBlock as R, Transition as z1, withCtx as J, normalizeClass as U, normalizeStyle as I1, withModifiers as Y1, createCommentVNode as P, toDisplayString as Y, getCurrentInstance as A2, unref as B1, resolveDynamicComponent as h1, renderList as A1, resolveComponent as O, vModelCheckbox as D2, createVNode as F, createTextVNode as d2, useSlots as P2, pushScopeId as u2, popScopeId as h2 } from "vue";
|
|
2
2
|
const j2 = {
|
|
3
3
|
name: "QIconArrowUpRight"
|
|
4
4
|
}, _ = (t, n) => {
|
|
@@ -2295,7 +2295,7 @@ var f2 = { exports: {} };
|
|
|
2295
2295
|
Q[V] = v;
|
|
2296
2296
|
var Z = "$isDayjsObject", G = function(b) {
|
|
2297
2297
|
return b instanceof l1 || !(!b || !b[Z]);
|
|
2298
|
-
},
|
|
2298
|
+
}, j = function b(y, m, L) {
|
|
2299
2299
|
var x;
|
|
2300
2300
|
if (!y)
|
|
2301
2301
|
return V;
|
|
@@ -2306,8 +2306,8 @@ var f2 = { exports: {} };
|
|
|
2306
2306
|
if (!x && B.length > 1)
|
|
2307
2307
|
return b(B[0]);
|
|
2308
2308
|
} else {
|
|
2309
|
-
var
|
|
2310
|
-
Q[
|
|
2309
|
+
var q = y.name;
|
|
2310
|
+
Q[q] = y, x = q;
|
|
2311
2311
|
}
|
|
2312
2312
|
return !L && x && (V = x), x || !L && V;
|
|
2313
2313
|
}, D = function(b, y) {
|
|
@@ -2316,12 +2316,12 @@ var f2 = { exports: {} };
|
|
|
2316
2316
|
var m = typeof y == "object" ? y : {};
|
|
2317
2317
|
return m.date = b, m.args = arguments, new l1(m);
|
|
2318
2318
|
}, E = k;
|
|
2319
|
-
E.l =
|
|
2319
|
+
E.l = j, E.i = G, E.w = function(b, y) {
|
|
2320
2320
|
return D(b, { locale: y.$L, utc: y.$u, x: y.$x, $offset: y.$offset });
|
|
2321
2321
|
};
|
|
2322
2322
|
var l1 = function() {
|
|
2323
2323
|
function b(m) {
|
|
2324
|
-
this.$L =
|
|
2324
|
+
this.$L = j(m.locale, null, !0), this.parse(m), this.$x = this.$x || m.x || {}, this[Z] = !0;
|
|
2325
2325
|
}
|
|
2326
2326
|
var y = b.prototype;
|
|
2327
2327
|
return y.parse = function(m) {
|
|
@@ -2336,8 +2336,8 @@ var f2 = { exports: {} };
|
|
|
2336
2336
|
if (typeof x == "string" && !/Z$/i.test(x)) {
|
|
2337
2337
|
var B = x.match(A);
|
|
2338
2338
|
if (B) {
|
|
2339
|
-
var
|
|
2340
|
-
return H ? new Date(Date.UTC(B[1],
|
|
2339
|
+
var q = B[2] - 1 || 0, N = (B[7] || "0").substring(0, 3);
|
|
2340
|
+
return H ? new Date(Date.UTC(B[1], q, B[3] || 1, B[4] || 0, B[5] || 0, B[6] || 0, N)) : new Date(B[1], q, B[3] || 1, B[4] || 0, B[5] || 0, B[6] || 0, N);
|
|
2341
2341
|
}
|
|
2342
2342
|
}
|
|
2343
2343
|
return new Date(x);
|
|
@@ -2363,41 +2363,41 @@ var f2 = { exports: {} };
|
|
|
2363
2363
|
}, y.valueOf = function() {
|
|
2364
2364
|
return this.$d.getTime();
|
|
2365
2365
|
}, y.startOf = function(m, L) {
|
|
2366
|
-
var x = this, H = !!E.u(L) || L, B = E.p(m),
|
|
2366
|
+
var x = this, H = !!E.u(L) || L, B = E.p(m), q = function(f1, t1) {
|
|
2367
2367
|
var a1 = E.w(x.$u ? Date.UTC(x.$y, t1, f1) : new Date(x.$y, t1, f1), x);
|
|
2368
2368
|
return H ? a1 : a1.endOf(h);
|
|
2369
|
-
},
|
|
2369
|
+
}, N = function(f1, t1) {
|
|
2370
2370
|
return E.w(x.toDate()[f1].apply(x.toDate("s"), (H ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(t1)), x);
|
|
2371
2371
|
}, W = this.$W, K = this.$M, s1 = this.$D, g1 = "set" + (this.$u ? "UTC" : "");
|
|
2372
2372
|
switch (B) {
|
|
2373
2373
|
case p:
|
|
2374
|
-
return H ?
|
|
2374
|
+
return H ? q(1, 0) : q(31, 11);
|
|
2375
2375
|
case $:
|
|
2376
|
-
return H ?
|
|
2376
|
+
return H ? q(1, K) : q(0, K + 1);
|
|
2377
2377
|
case C:
|
|
2378
2378
|
var p1 = this.$locale().weekStart || 0, M1 = (W < p1 ? W + 7 : W) - p1;
|
|
2379
|
-
return
|
|
2379
|
+
return q(H ? s1 - M1 : s1 + (6 - M1), K);
|
|
2380
2380
|
case h:
|
|
2381
2381
|
case M:
|
|
2382
|
-
return
|
|
2382
|
+
return N(g1 + "Hours", 0);
|
|
2383
2383
|
case l:
|
|
2384
|
-
return
|
|
2384
|
+
return N(g1 + "Minutes", 1);
|
|
2385
2385
|
case i:
|
|
2386
|
-
return
|
|
2386
|
+
return N(g1 + "Seconds", 2);
|
|
2387
2387
|
case c:
|
|
2388
|
-
return
|
|
2388
|
+
return N(g1 + "Milliseconds", 3);
|
|
2389
2389
|
default:
|
|
2390
2390
|
return this.clone();
|
|
2391
2391
|
}
|
|
2392
2392
|
}, y.endOf = function(m) {
|
|
2393
2393
|
return this.startOf(m, !1);
|
|
2394
2394
|
}, y.$set = function(m, L) {
|
|
2395
|
-
var x, H = E.p(m), B = "set" + (this.$u ? "UTC" : ""),
|
|
2395
|
+
var x, H = E.p(m), B = "set" + (this.$u ? "UTC" : ""), q = (x = {}, x[h] = B + "Date", x[M] = B + "Date", x[$] = B + "Month", x[p] = B + "FullYear", x[l] = B + "Hours", x[i] = B + "Minutes", x[c] = B + "Seconds", x[r] = B + "Milliseconds", x)[H], N = H === h ? this.$D + (L - this.$W) : L;
|
|
2396
2396
|
if (H === $ || H === p) {
|
|
2397
2397
|
var W = this.clone().set(M, 1);
|
|
2398
|
-
W.$d[
|
|
2398
|
+
W.$d[q](N), W.init(), this.$d = W.set(M, Math.min(this.$D, W.daysInMonth())).$d;
|
|
2399
2399
|
} else
|
|
2400
|
-
|
|
2400
|
+
q && this.$d[q](N);
|
|
2401
2401
|
return this.init(), this;
|
|
2402
2402
|
}, y.set = function(m, L) {
|
|
2403
2403
|
return this.clone().$set(m, L);
|
|
@@ -2406,7 +2406,7 @@ var f2 = { exports: {} };
|
|
|
2406
2406
|
}, y.add = function(m, L) {
|
|
2407
2407
|
var x, H = this;
|
|
2408
2408
|
m = Number(m);
|
|
2409
|
-
var B = E.p(L),
|
|
2409
|
+
var B = E.p(L), q = function(K) {
|
|
2410
2410
|
var s1 = D(H);
|
|
2411
2411
|
return E.w(s1.date(s1.date() + Math.round(K * m)), H);
|
|
2412
2412
|
};
|
|
@@ -2415,10 +2415,10 @@ var f2 = { exports: {} };
|
|
|
2415
2415
|
if (B === p)
|
|
2416
2416
|
return this.set(p, this.$y + m);
|
|
2417
2417
|
if (B === h)
|
|
2418
|
-
return
|
|
2418
|
+
return q(1);
|
|
2419
2419
|
if (B === C)
|
|
2420
|
-
return
|
|
2421
|
-
var
|
|
2420
|
+
return q(7);
|
|
2421
|
+
var N = (x = {}, x[i] = s, x[l] = e, x[c] = o, x)[B] || 1, W = this.$d.getTime() + m * N;
|
|
2422
2422
|
return E.w(W, this);
|
|
2423
2423
|
}, y.subtract = function(m, L) {
|
|
2424
2424
|
return this.add(-1 * m, L);
|
|
@@ -2426,10 +2426,10 @@ var f2 = { exports: {} };
|
|
|
2426
2426
|
var L = this, x = this.$locale();
|
|
2427
2427
|
if (!this.isValid())
|
|
2428
2428
|
return x.invalidDate || I;
|
|
2429
|
-
var H = m || "YYYY-MM-DDTHH:mm:ssZ", B = E.z(this),
|
|
2429
|
+
var H = m || "YYYY-MM-DDTHH:mm:ssZ", B = E.z(this), q = this.$H, N = this.$m, W = this.$M, K = x.weekdays, s1 = x.months, g1 = x.meridiem, p1 = function(t1, a1, x1, H1) {
|
|
2430
2430
|
return t1 && (t1[a1] || t1(L, H)) || x1[a1].slice(0, H1);
|
|
2431
2431
|
}, M1 = function(t1) {
|
|
2432
|
-
return E.s(
|
|
2432
|
+
return E.s(q % 12 || 12, t1, "0");
|
|
2433
2433
|
}, f1 = g1 || function(t1, a1, x1) {
|
|
2434
2434
|
var H1 = t1 < 12 ? "AM" : "PM";
|
|
2435
2435
|
return x1 ? H1.toLowerCase() : H1;
|
|
@@ -2462,21 +2462,21 @@ var f2 = { exports: {} };
|
|
|
2462
2462
|
case "dddd":
|
|
2463
2463
|
return K[L.$W];
|
|
2464
2464
|
case "H":
|
|
2465
|
-
return String(
|
|
2465
|
+
return String(q);
|
|
2466
2466
|
case "HH":
|
|
2467
|
-
return E.s(
|
|
2467
|
+
return E.s(q, 2, "0");
|
|
2468
2468
|
case "h":
|
|
2469
2469
|
return M1(1);
|
|
2470
2470
|
case "hh":
|
|
2471
2471
|
return M1(2);
|
|
2472
2472
|
case "a":
|
|
2473
|
-
return f1(
|
|
2473
|
+
return f1(q, N, !0);
|
|
2474
2474
|
case "A":
|
|
2475
|
-
return f1(
|
|
2475
|
+
return f1(q, N, !1);
|
|
2476
2476
|
case "m":
|
|
2477
|
-
return String(
|
|
2477
|
+
return String(N);
|
|
2478
2478
|
case "mm":
|
|
2479
|
-
return E.s(
|
|
2479
|
+
return E.s(N, 2, "0");
|
|
2480
2480
|
case "s":
|
|
2481
2481
|
return String(L.$s);
|
|
2482
2482
|
case "ss":
|
|
@@ -2492,10 +2492,10 @@ var f2 = { exports: {} };
|
|
|
2492
2492
|
}, y.utcOffset = function() {
|
|
2493
2493
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
2494
2494
|
}, y.diff = function(m, L, x) {
|
|
2495
|
-
var H, B = this,
|
|
2496
|
-
return E.m(B,
|
|
2495
|
+
var H, B = this, q = E.p(L), N = D(m), W = (N.utcOffset() - this.utcOffset()) * s, K = this - N, s1 = function() {
|
|
2496
|
+
return E.m(B, N);
|
|
2497
2497
|
};
|
|
2498
|
-
switch (
|
|
2498
|
+
switch (q) {
|
|
2499
2499
|
case p:
|
|
2500
2500
|
H = s1() / 12;
|
|
2501
2501
|
break;
|
|
@@ -2531,7 +2531,7 @@ var f2 = { exports: {} };
|
|
|
2531
2531
|
}, y.locale = function(m, L) {
|
|
2532
2532
|
if (!m)
|
|
2533
2533
|
return this.$L;
|
|
2534
|
-
var x = this.clone(), H =
|
|
2534
|
+
var x = this.clone(), H = j(m, L, !0);
|
|
2535
2535
|
return H && (x.$L = H), x;
|
|
2536
2536
|
}, y.clone = function() {
|
|
2537
2537
|
return E.w(this.$d, this);
|
|
@@ -2551,7 +2551,7 @@ var f2 = { exports: {} };
|
|
|
2551
2551
|
};
|
|
2552
2552
|
}), D.extend = function(b, y) {
|
|
2553
2553
|
return b.$i || (b(y, l1, D), b.$i = !0), D;
|
|
2554
|
-
}, D.locale =
|
|
2554
|
+
}, D.locale = j, D.isDayjs = G, D.unix = function(b) {
|
|
2555
2555
|
return D(1e3 * b);
|
|
2556
2556
|
}, D.en = Q[V], D.Ls = Q, D.p = {}, D;
|
|
2557
2557
|
});
|
|
@@ -2730,11 +2730,11 @@ const r6 = { class: "q-dialog-body" }, i6 = { class: "q-dialog-header" }, c6 = {
|
|
|
2730
2730
|
ref: h
|
|
2731
2731
|
}, [
|
|
2732
2732
|
r1(g.$slots, "trigger"),
|
|
2733
|
-
$.value ? (a(),
|
|
2733
|
+
$.value ? (a(), R(z1, { key: 0 }, {
|
|
2734
2734
|
default: J(() => [
|
|
2735
2735
|
i.value ? (a(), u("div", {
|
|
2736
2736
|
key: 0,
|
|
2737
|
-
class:
|
|
2737
|
+
class: U(["q-dialog", p.value]),
|
|
2738
2738
|
style: I1(f.value),
|
|
2739
2739
|
onClick: Y1(A, ["stop"])
|
|
2740
2740
|
}, [
|
|
@@ -2746,17 +2746,17 @@ const r6 = { class: "q-dialog-body" }, i6 = { class: "q-dialog-header" }, c6 = {
|
|
|
2746
2746
|
_: 3
|
|
2747
2747
|
})) : P("", !0)
|
|
2748
2748
|
], 512),
|
|
2749
|
-
$.value ? P("", !0) : (a(),
|
|
2749
|
+
$.value ? P("", !0) : (a(), R(z1, { key: 0 }, {
|
|
2750
2750
|
default: J(() => [
|
|
2751
2751
|
i.value ? (a(), u("div", {
|
|
2752
2752
|
key: 0,
|
|
2753
|
-
class:
|
|
2753
|
+
class: U(["q-dialog-mask", M.value]),
|
|
2754
2754
|
onClick: I,
|
|
2755
2755
|
ref_key: "dialogMask",
|
|
2756
2756
|
ref: C
|
|
2757
2757
|
}, [
|
|
2758
2758
|
d("div", {
|
|
2759
|
-
class:
|
|
2759
|
+
class: U(["q-dialog", p.value]),
|
|
2760
2760
|
style: I1(f.value),
|
|
2761
2761
|
onClick: Y1(A, ["stop"])
|
|
2762
2762
|
}, [
|
|
@@ -2800,7 +2800,7 @@ const d6 = ["href"], u6 = { class: "q-fence-text text-sm" }, h6 = {
|
|
|
2800
2800
|
var o;
|
|
2801
2801
|
const n = (o = A2()) == null ? void 0 : o.appContext.components;
|
|
2802
2802
|
return (s, e) => (a(), u("div", {
|
|
2803
|
-
class:
|
|
2803
|
+
class: U(["q-fence", t.type])
|
|
2804
2804
|
}, [
|
|
2805
2805
|
t.link ? (a(), u("a", {
|
|
2806
2806
|
key: 0,
|
|
@@ -2808,19 +2808,19 @@ const d6 = ["href"], u6 = { class: "q-fence-text text-sm" }, h6 = {
|
|
|
2808
2808
|
href: t.link,
|
|
2809
2809
|
target: "_blank"
|
|
2810
2810
|
}, [
|
|
2811
|
-
t.icon && B1(n) ? (a(),
|
|
2811
|
+
t.icon && B1(n) ? (a(), R(h1(B1(n)[t.icon]), {
|
|
2812
2812
|
key: 0,
|
|
2813
2813
|
class: "icon"
|
|
2814
|
-
})) : (a(),
|
|
2814
|
+
})) : (a(), R(W1, {
|
|
2815
2815
|
key: 1,
|
|
2816
2816
|
class: "icon"
|
|
2817
2817
|
})),
|
|
2818
2818
|
d("div", u6, Y(t.text), 1)
|
|
2819
2819
|
], 8, d6)) : (a(), u("div", h6, [
|
|
2820
|
-
t.icon && B1(n) ? (a(),
|
|
2820
|
+
t.icon && B1(n) ? (a(), R(h1(B1(n)[t.icon]), {
|
|
2821
2821
|
key: 0,
|
|
2822
2822
|
class: "icon"
|
|
2823
|
-
})) : (a(),
|
|
2823
|
+
})) : (a(), R(W1, {
|
|
2824
2824
|
key: 1,
|
|
2825
2825
|
class: "icon"
|
|
2826
2826
|
})),
|
|
@@ -2881,10 +2881,10 @@ const m6 = /* @__PURE__ */ _(p6, [["render", w6]]), v6 = ["onClick"], k6 = {
|
|
|
2881
2881
|
i.action && i.action(i), i.disabled !== !0 && s("action", i);
|
|
2882
2882
|
}
|
|
2883
2883
|
return (i, l) => (a(), u("div", {
|
|
2884
|
-
class:
|
|
2884
|
+
class: U(["q-menu", e.value])
|
|
2885
2885
|
}, [
|
|
2886
2886
|
(a(!0), u(k1, null, A1(o.items, (h) => (a(), u("div", {
|
|
2887
|
-
class:
|
|
2887
|
+
class: U(["q-menu-item", r(h)]),
|
|
2888
2888
|
key: `q-menu-item-${h.id}`,
|
|
2889
2889
|
onClick: (C) => c(h)
|
|
2890
2890
|
}, [
|
|
@@ -2894,7 +2894,7 @@ const m6 = /* @__PURE__ */ _(p6, [["render", w6]]), v6 = ["onClick"], k6 = {
|
|
|
2894
2894
|
class: "q-menu-image",
|
|
2895
2895
|
src: h.image,
|
|
2896
2896
|
alt: h.title
|
|
2897
|
-
}, null, 8, x6)) : h.icon ? (a(),
|
|
2897
|
+
}, null, 8, x6)) : h.icon ? (a(), R(h1(h.icon), {
|
|
2898
2898
|
key: 1,
|
|
2899
2899
|
class: "q-menu-icon"
|
|
2900
2900
|
})) : P("", !0),
|
|
@@ -2940,7 +2940,7 @@ const V6 = ["disabled"], H6 = { class: "q-switch-inner" }, B6 = { class: "q-swit
|
|
|
2940
2940
|
return (i, l) => {
|
|
2941
2941
|
const h = O("q-icon-sun"), C = O("q-icon-moon-star");
|
|
2942
2942
|
return a(), u("label", {
|
|
2943
|
-
class:
|
|
2943
|
+
class: U(["q-switch", r.value])
|
|
2944
2944
|
}, [
|
|
2945
2945
|
c1(d("input", {
|
|
2946
2946
|
class: "q-switch-checkbox",
|
|
@@ -2954,10 +2954,10 @@ const V6 = ["disabled"], H6 = { class: "q-switch-inner" }, B6 = { class: "q-swit
|
|
|
2954
2954
|
d("div", H6, [
|
|
2955
2955
|
d("div", B6, [
|
|
2956
2956
|
o.theme === "plastic" ? (a(), u(k1, { key: 0 }, [
|
|
2957
|
-
s.value ? (a(),
|
|
2957
|
+
s.value ? (a(), R(h, {
|
|
2958
2958
|
key: 0,
|
|
2959
2959
|
class: "q-switch-icon"
|
|
2960
|
-
})) : (a(),
|
|
2960
|
+
})) : (a(), R(C, {
|
|
2961
2961
|
key: 1,
|
|
2962
2962
|
class: "q-switch-icon"
|
|
2963
2963
|
}))
|
|
@@ -3032,7 +3032,7 @@ const S6 = { class: "q-text-field-wrapper" }, E6 = ["placeholder"], T6 = { class
|
|
|
3032
3032
|
return (f, p) => {
|
|
3033
3033
|
const M = O("q-button");
|
|
3034
3034
|
return a(), u("div", {
|
|
3035
|
-
class:
|
|
3035
|
+
class: U(["q-text-field-with-button", r.value])
|
|
3036
3036
|
}, [
|
|
3037
3037
|
d("div", S6, [
|
|
3038
3038
|
c1(d("input", {
|
|
@@ -3045,7 +3045,7 @@ const S6 = { class: "q-text-field-wrapper" }, E6 = ["placeholder"], T6 = { class
|
|
|
3045
3045
|
])
|
|
3046
3046
|
]),
|
|
3047
3047
|
d("div", T6, [
|
|
3048
|
-
|
|
3048
|
+
F(M, {
|
|
3049
3049
|
class: "primary",
|
|
3050
3050
|
disabled: !c.value,
|
|
3051
3051
|
onClick: C
|
|
@@ -3191,7 +3191,7 @@ const P6 = { class: "q-dropdown-menu" }, j6 = { class: "q-dropdown-menu-inner na
|
|
|
3191
3191
|
return a(), u("div", P6, [
|
|
3192
3192
|
d("div", j6, [
|
|
3193
3193
|
d("div", {
|
|
3194
|
-
class:
|
|
3194
|
+
class: U(["q-dropdown-menu-action touchable", $.value]),
|
|
3195
3195
|
onClick: Y1(I, ["stop"])
|
|
3196
3196
|
}, [
|
|
3197
3197
|
s.loading ? (a(), u("div", q6, U6)) : P("", !0),
|
|
@@ -3201,23 +3201,23 @@ const P6 = { class: "q-dropdown-menu" }, j6 = { class: "q-dropdown-menu-inner na
|
|
|
3201
3201
|
class: "menu-image",
|
|
3202
3202
|
src: c.value.image,
|
|
3203
3203
|
alt: c.value.title
|
|
3204
|
-
}, null, 8, F6)) : c.value.icon ? (a(),
|
|
3204
|
+
}, null, 8, F6)) : c.value.icon ? (a(), R(h1(c.value.icon), {
|
|
3205
3205
|
key: 1,
|
|
3206
3206
|
class: "icon menu-icon"
|
|
3207
3207
|
})) : P("", !0),
|
|
3208
3208
|
t.hideActionLabel ? P("", !0) : (a(), u("div", R6, Y(c.value ? c.value.title : s.placeholder || "Select ..."), 1))
|
|
3209
3209
|
])) : P("", !0),
|
|
3210
3210
|
r1(g.$slots, "default"),
|
|
3211
|
-
|
|
3211
|
+
F(w, { class: "icon chevron-icon" })
|
|
3212
3212
|
], 2),
|
|
3213
3213
|
M.value ? P("", !0) : (a(), u("div", {
|
|
3214
3214
|
key: 0,
|
|
3215
3215
|
ref_key: "menuWrapper",
|
|
3216
3216
|
ref: i
|
|
3217
3217
|
}, [
|
|
3218
|
-
|
|
3218
|
+
F(z1, null, {
|
|
3219
3219
|
default: J(() => [
|
|
3220
|
-
r.value ? (a(),
|
|
3220
|
+
r.value ? (a(), R(k, {
|
|
3221
3221
|
key: 0,
|
|
3222
3222
|
items: t.items,
|
|
3223
3223
|
onAction: A
|
|
@@ -3226,7 +3226,7 @@ const P6 = { class: "q-dropdown-menu" }, j6 = { class: "q-dropdown-menu-inner na
|
|
|
3226
3226
|
_: 1
|
|
3227
3227
|
})
|
|
3228
3228
|
], 512)),
|
|
3229
|
-
M.value ? (a(),
|
|
3229
|
+
M.value ? (a(), R(V, {
|
|
3230
3230
|
key: 1,
|
|
3231
3231
|
modelValue: r.value,
|
|
3232
3232
|
"onUpdate:modelValue": v[1] || (v[1] = (Q) => r.value = Q),
|
|
@@ -3245,12 +3245,12 @@ const P6 = { class: "q-dropdown-menu" }, j6 = { class: "q-dropdown-menu-inner na
|
|
|
3245
3245
|
])
|
|
3246
3246
|
])) : P("", !0),
|
|
3247
3247
|
d("div", {
|
|
3248
|
-
class:
|
|
3248
|
+
class: U(["scroll-area", h.value]),
|
|
3249
3249
|
ref_key: "scrollArea",
|
|
3250
3250
|
ref: l,
|
|
3251
3251
|
style: I1({ height: s.scrollHeight, maxHeight: s.scrollHeight })
|
|
3252
3252
|
}, [
|
|
3253
|
-
p.value ? (a(),
|
|
3253
|
+
p.value ? (a(), R(k, {
|
|
3254
3254
|
key: 0,
|
|
3255
3255
|
items: p.value,
|
|
3256
3256
|
onAction: A,
|
|
@@ -3330,20 +3330,20 @@ const G6 = { class: "q-pagination" }, K6 = {
|
|
|
3330
3330
|
return (h, C) => {
|
|
3331
3331
|
const $ = O("q-button");
|
|
3332
3332
|
return a(), u("div", G6, [
|
|
3333
|
-
|
|
3333
|
+
F($, {
|
|
3334
3334
|
class: "prev sm outlined icon",
|
|
3335
3335
|
onClick: c,
|
|
3336
3336
|
disabled: !o.hasPrev
|
|
3337
3337
|
}, {
|
|
3338
3338
|
default: J(() => [
|
|
3339
|
-
|
|
3339
|
+
F(_2, { class: "icon" })
|
|
3340
3340
|
]),
|
|
3341
3341
|
_: 1
|
|
3342
3342
|
}, 8, ["disabled"]),
|
|
3343
3343
|
t.totalPage !== 0 ? (a(), u("div", K6, [
|
|
3344
3344
|
(a(!0), u(k1, null, A1(s.value, (f) => (a(), u("div", J6, [
|
|
3345
|
-
|
|
3346
|
-
class:
|
|
3345
|
+
F($, {
|
|
3346
|
+
class: U(["q-page-indicator sm outlined", f.label === e.value ? "active" : ""]),
|
|
3347
3347
|
disabled: f.disabled,
|
|
3348
3348
|
onClick: (p) => l(f.label, f)
|
|
3349
3349
|
}, {
|
|
@@ -3353,7 +3353,7 @@ const G6 = { class: "q-pagination" }, K6 = {
|
|
|
3353
3353
|
_: 2
|
|
3354
3354
|
}, 1032, ["class", "disabled", "onClick"])
|
|
3355
3355
|
]))), 256))
|
|
3356
|
-
])) : (a(),
|
|
3356
|
+
])) : (a(), R($, {
|
|
3357
3357
|
key: 1,
|
|
3358
3358
|
class: "outlined sm q-page-indicator-simple q-page-indicator"
|
|
3359
3359
|
}, {
|
|
@@ -3362,13 +3362,13 @@ const G6 = { class: "q-pagination" }, K6 = {
|
|
|
3362
3362
|
]),
|
|
3363
3363
|
_: 1
|
|
3364
3364
|
})),
|
|
3365
|
-
|
|
3365
|
+
F($, {
|
|
3366
3366
|
class: "next sm outlined icon",
|
|
3367
3367
|
onClick: i,
|
|
3368
3368
|
disabled: !o.hasNext
|
|
3369
3369
|
}, {
|
|
3370
3370
|
default: J(() => [
|
|
3371
|
-
|
|
3371
|
+
F(p2, { class: "icon" })
|
|
3372
3372
|
]),
|
|
3373
3373
|
_: 1
|
|
3374
3374
|
}, 8, ["disabled"])
|
|
@@ -3401,11 +3401,11 @@ const er = { class: "q-progress-slot" }, nr = /* @__PURE__ */ d("div", { class:
|
|
|
3401
3401
|
setup(t) {
|
|
3402
3402
|
const n = t, o = S(() => n.infinite ? "100%" : `${n.value / n.max * 100}%`), s = S(() => n.value >= n.max);
|
|
3403
3403
|
return (e, r) => (a(), u("div", {
|
|
3404
|
-
class:
|
|
3404
|
+
class: U(["q-progress", t.color])
|
|
3405
3405
|
}, [
|
|
3406
3406
|
d("div", er, [
|
|
3407
3407
|
d("div", {
|
|
3408
|
-
class:
|
|
3408
|
+
class: U(["q-progress-bar", s.value ? "" : "animated"]),
|
|
3409
3409
|
style: I1({ width: o.value })
|
|
3410
3410
|
}, or, 6)
|
|
3411
3411
|
])
|
|
@@ -3483,7 +3483,7 @@ const rr = /* @__PURE__ */ z({
|
|
|
3483
3483
|
e.value = r.value.find((i) => s.lang === i.value || localStorage.getItem("quail-language") === i.value) || r.value[0];
|
|
3484
3484
|
}), (i, l) => {
|
|
3485
3485
|
const h = O("QDropdownMenu");
|
|
3486
|
-
return a(),
|
|
3486
|
+
return a(), R(h, {
|
|
3487
3487
|
items: r.value,
|
|
3488
3488
|
"initial-item": e.value
|
|
3489
3489
|
}, null, 8, ["items", "initial-item"]);
|
|
@@ -4705,8 +4705,8 @@ var Dr = B2.exports;
|
|
|
4705
4705
|
let V = ["start"];
|
|
4706
4706
|
for (let Q = 0; Q < g.length; Q++) {
|
|
4707
4707
|
const Z = g[Q], G = [];
|
|
4708
|
-
for (let
|
|
4709
|
-
const D = Z[
|
|
4708
|
+
for (let j = 0; j < Z.length; j++) {
|
|
4709
|
+
const D = Z[j], E = "" + Q + j;
|
|
4710
4710
|
G.push(E), w[E] = { node: D, lastCount: 0 }, k[E] = {};
|
|
4711
4711
|
for (let l1 = 0; l1 < V.length; l1++) {
|
|
4712
4712
|
const o1 = V[l1];
|
|
@@ -4742,8 +4742,8 @@ var Dr = B2.exports;
|
|
|
4742
4742
|
}, []);
|
|
4743
4743
|
}, t.fromString = function(v, w) {
|
|
4744
4744
|
const k = $(v, i.isKanjiModeEnabled()), V = M(k), Q = I(V, w), Z = l.find_path(Q.map, "start", "end"), G = [];
|
|
4745
|
-
for (let
|
|
4746
|
-
G.push(Q.table[Z[
|
|
4745
|
+
for (let j = 1; j < Z.length - 1; j++)
|
|
4746
|
+
G.push(Q.table[Z[j]].node);
|
|
4747
4747
|
return t.fromArray(p(G));
|
|
4748
4748
|
}, t.rawSplit = function(v) {
|
|
4749
4749
|
return t.fromArray(
|
|
@@ -5016,7 +5016,7 @@ b1.toDataURL = r2.bind(null, E2.renderToDataURL);
|
|
|
5016
5016
|
b1.toString = r2.bind(null, function(t, n, o) {
|
|
5017
5017
|
return ni.render(t, o);
|
|
5018
5018
|
});
|
|
5019
|
-
const oi =
|
|
5019
|
+
const oi = { class: "q-dialog-content mastodon-dialog-content flex center" }, si = { class: "q-dialog-content general-dialog-content" }, ri = { class: "qrcode-wrapper" }, ii = ["src"], ci = { class: "operations form" }, li = { class: "copy-row form-row" }, ai = /* @__PURE__ */ d("span", { class: "button-label" }, "Copy URL", -1), di = ["title", "onClick"], ui = /* @__PURE__ */ z({
|
|
5020
5020
|
__name: "QShare",
|
|
5021
5021
|
props: {
|
|
5022
5022
|
url: {
|
|
@@ -5135,39 +5135,31 @@ const oi = ["title", "onClick"], si = { class: "q-dialog-content mastodon-dialog
|
|
|
5135
5135
|
return (v, w) => {
|
|
5136
5136
|
const k = O("q-icon-color-mastodon"), V = O("q-icon-arrow-right"), Q = O("q-button"), Z = O("q-dialog"), G = O("q-icon-copy");
|
|
5137
5137
|
return a(), u("div", {
|
|
5138
|
-
class:
|
|
5138
|
+
class: U(["q-share", h.value])
|
|
5139
5139
|
}, [
|
|
5140
|
-
(
|
|
5141
|
-
key: `serv-${q.name}`,
|
|
5142
|
-
title: q.tooltip,
|
|
5143
|
-
class: R(["q-share-link", q.name]),
|
|
5144
|
-
onClick: (D) => M(q)
|
|
5145
|
-
}, [
|
|
5146
|
-
(a(), F(h1(q.icon), { class: "icon share-icon" }))
|
|
5147
|
-
], 10, oi))), 128)),
|
|
5148
|
-
N(Z, {
|
|
5140
|
+
F(Z, {
|
|
5149
5141
|
modelValue: r.value,
|
|
5150
|
-
"onUpdate:modelValue": w[1] || (w[1] = (
|
|
5142
|
+
"onUpdate:modelValue": w[1] || (w[1] = (j) => r.value = j),
|
|
5151
5143
|
title: "Share to Mastodon"
|
|
5152
5144
|
}, {
|
|
5153
5145
|
default: J(() => [
|
|
5154
|
-
d("div",
|
|
5155
|
-
|
|
5146
|
+
d("div", oi, [
|
|
5147
|
+
F(k, { class: "service-icon" }),
|
|
5156
5148
|
c1(d("input", {
|
|
5157
5149
|
class: "text-field",
|
|
5158
|
-
"onUpdate:modelValue": w[0] || (w[0] = (
|
|
5150
|
+
"onUpdate:modelValue": w[0] || (w[0] = (j) => c.value = j),
|
|
5159
5151
|
placeholder: "Instance Domain",
|
|
5160
5152
|
ref_key: "mastodonHostInput",
|
|
5161
5153
|
ref: i
|
|
5162
5154
|
}, null, 512), [
|
|
5163
5155
|
[u1, c.value]
|
|
5164
5156
|
]),
|
|
5165
|
-
|
|
5157
|
+
F(Q, {
|
|
5166
5158
|
class: "primary icon ml-2",
|
|
5167
5159
|
onClick: g
|
|
5168
5160
|
}, {
|
|
5169
5161
|
default: J(() => [
|
|
5170
|
-
|
|
5162
|
+
F(V)
|
|
5171
5163
|
]),
|
|
5172
5164
|
_: 1
|
|
5173
5165
|
})
|
|
@@ -5175,29 +5167,29 @@ const oi = ["title", "onClick"], si = { class: "q-dialog-content mastodon-dialog
|
|
|
5175
5167
|
]),
|
|
5176
5168
|
_: 1
|
|
5177
5169
|
}, 8, ["modelValue"]),
|
|
5178
|
-
|
|
5170
|
+
F(Z, {
|
|
5179
5171
|
modelValue: o.value,
|
|
5180
|
-
"onUpdate:modelValue": w[2] || (w[2] = (
|
|
5172
|
+
"onUpdate:modelValue": w[2] || (w[2] = (j) => o.value = j),
|
|
5181
5173
|
title: "Share to ..."
|
|
5182
5174
|
}, {
|
|
5183
5175
|
default: J(() => [
|
|
5184
|
-
d("div",
|
|
5185
|
-
d("div",
|
|
5176
|
+
d("div", si, [
|
|
5177
|
+
d("div", ri, [
|
|
5186
5178
|
d("img", {
|
|
5187
5179
|
src: e.value,
|
|
5188
5180
|
alt: "QR Code",
|
|
5189
5181
|
class: "frame shadow"
|
|
5190
|
-
}, null, 8,
|
|
5182
|
+
}, null, 8, ii)
|
|
5191
5183
|
]),
|
|
5192
|
-
d("div",
|
|
5193
|
-
d("div",
|
|
5194
|
-
|
|
5184
|
+
d("div", ci, [
|
|
5185
|
+
d("div", li, [
|
|
5186
|
+
F(Q, {
|
|
5195
5187
|
class: "outlined block",
|
|
5196
5188
|
onClick: I
|
|
5197
5189
|
}, {
|
|
5198
5190
|
default: J(() => [
|
|
5199
|
-
|
|
5200
|
-
|
|
5191
|
+
F(G, { class: "icon" }),
|
|
5192
|
+
ai
|
|
5201
5193
|
]),
|
|
5202
5194
|
_: 1
|
|
5203
5195
|
})
|
|
@@ -5206,7 +5198,19 @@ const oi = ["title", "onClick"], si = { class: "q-dialog-content mastodon-dialog
|
|
|
5206
5198
|
])
|
|
5207
5199
|
]),
|
|
5208
5200
|
_: 1
|
|
5209
|
-
}, 8, ["modelValue"])
|
|
5201
|
+
}, 8, ["modelValue"]),
|
|
5202
|
+
(a(!0), u(k1, null, A1(f.value, (j) => (a(), u("a", {
|
|
5203
|
+
key: `serv-${j.name}`,
|
|
5204
|
+
title: j.tooltip,
|
|
5205
|
+
class: U(["q-share-link", j.name]),
|
|
5206
|
+
onClick: (D) => M(j)
|
|
5207
|
+
}, [
|
|
5208
|
+
d("span", {
|
|
5209
|
+
class: U(["q-share-link-inner", j.name])
|
|
5210
|
+
}, [
|
|
5211
|
+
(a(), R(h1(j.icon), { class: "icon share-icon" }))
|
|
5212
|
+
], 2)
|
|
5213
|
+
], 10, di))), 128))
|
|
5210
5214
|
], 2);
|
|
5211
5215
|
};
|
|
5212
5216
|
}
|
|
@@ -5260,7 +5264,7 @@ const hi = ["src", "alt"], a2 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjU2I
|
|
|
5260
5264
|
i.src = a2;
|
|
5261
5265
|
}
|
|
5262
5266
|
return (c, i) => (a(), u("div", {
|
|
5263
|
-
class:
|
|
5267
|
+
class: U(["q-avatar", s.value]),
|
|
5264
5268
|
style: I1(e.value)
|
|
5265
5269
|
}, [
|
|
5266
5270
|
n.src === "" ? r1(c.$slots, "default", { key: 0 }) : (a(), u("img", {
|
|
@@ -5337,7 +5341,7 @@ const _i = { class: "q-dropdown-menu-with-text-field" }, pi = { class: "q-dropdo
|
|
|
5337
5341
|
return a(), u("div", _i, [
|
|
5338
5342
|
d("div", pi, [
|
|
5339
5343
|
d("div", fi, [
|
|
5340
|
-
|
|
5344
|
+
F(M, {
|
|
5341
5345
|
items: t.items,
|
|
5342
5346
|
"initial-item": r.value,
|
|
5343
5347
|
"use-dialog": "always",
|
|
@@ -5368,7 +5372,7 @@ const _i = { class: "q-dropdown-menu-with-text-field" }, pi = { class: "q-dropdo
|
|
|
5368
5372
|
d("span", {
|
|
5369
5373
|
textContent: Y(o.fillActionLabel)
|
|
5370
5374
|
}, null, 8, mi),
|
|
5371
|
-
|
|
5375
|
+
F(C2, { class: "icon" })
|
|
5372
5376
|
]),
|
|
5373
5377
|
d("div", vi, [
|
|
5374
5378
|
d("span", {
|
|
@@ -5407,7 +5411,7 @@ const xi = /* @__PURE__ */ _(Mi, [["__scopeId", "data-v-abade42e"]]), yi = (t) =
|
|
|
5407
5411
|
return e.push(n.class), n.loading && e.push("loading"), e.join(" ");
|
|
5408
5412
|
}), s = S(() => !n.disabled);
|
|
5409
5413
|
return (e, r) => (a(), u("button", {
|
|
5410
|
-
class:
|
|
5414
|
+
class: U(o.value),
|
|
5411
5415
|
disabled: !s.value
|
|
5412
5416
|
}, [
|
|
5413
5417
|
n.loading ? (a(), u("div", Li, Vi)) : P("", !0),
|
|
@@ -5444,13 +5448,13 @@ const Bi = /* @__PURE__ */ _(Hi, [["__scopeId", "data-v-239de42a"]]), Qi = { cla
|
|
|
5444
5448
|
return (l, h) => {
|
|
5445
5449
|
const C = O("QButton");
|
|
5446
5450
|
return a(), u("div", Qi, [
|
|
5447
|
-
(a(!0), u(k1, null, A1(t.tabs, ($, f) => (a(),
|
|
5448
|
-
class:
|
|
5451
|
+
(a(!0), u(k1, null, A1(t.tabs, ($, f) => (a(), R(C, {
|
|
5452
|
+
class: U(["q-tab-button sm", i($, f)]),
|
|
5449
5453
|
key: `tab-button-${f}`,
|
|
5450
5454
|
onClick: (p) => c(f, $)
|
|
5451
5455
|
}, {
|
|
5452
5456
|
default: J(() => [
|
|
5453
|
-
$.icon ? (a(),
|
|
5457
|
+
$.icon ? (a(), R(h1($.icon), {
|
|
5454
5458
|
key: 0,
|
|
5455
5459
|
class: "q-tab-button-icon"
|
|
5456
5460
|
})) : P("", !0),
|
|
@@ -5528,7 +5532,7 @@ const Ti = /* @__PURE__ */ _(Ei, [["__scopeId", "data-v-c10a45b7"]]), Ai = { cla
|
|
|
5528
5532
|
}), (p, M) => {
|
|
5529
5533
|
const I = O("QIconEditorDelete"), A = O("QButton");
|
|
5530
5534
|
return a(), u("div", {
|
|
5531
|
-
class:
|
|
5535
|
+
class: U(["q-input", l.value])
|
|
5532
5536
|
}, [
|
|
5533
5537
|
d("div", Ai, [
|
|
5534
5538
|
r1(p.$slots, "prepend-out", {}, void 0, !0)
|
|
@@ -5552,12 +5556,12 @@ const Ti = /* @__PURE__ */ _(Ei, [["__scopeId", "data-v-c10a45b7"]]), Ai = { cla
|
|
|
5552
5556
|
}, null, 40, qi), [
|
|
5553
5557
|
[u1, e.value]
|
|
5554
5558
|
]),
|
|
5555
|
-
|
|
5559
|
+
F(A, {
|
|
5556
5560
|
class: "clear-btn plain icon",
|
|
5557
5561
|
onClick: $
|
|
5558
5562
|
}, {
|
|
5559
5563
|
default: J(() => [
|
|
5560
|
-
|
|
5564
|
+
F(I, { class: "icon" })
|
|
5561
5565
|
]),
|
|
5562
5566
|
_: 1
|
|
5563
5567
|
}),
|
|
@@ -5567,7 +5571,7 @@ const Ti = /* @__PURE__ */ _(Ei, [["__scopeId", "data-v-c10a45b7"]]), Ai = { cla
|
|
|
5567
5571
|
]),
|
|
5568
5572
|
i.value ? (a(), u("div", Ui, [
|
|
5569
5573
|
d("div", Ni, [
|
|
5570
|
-
t.hintIcon ? (a(),
|
|
5574
|
+
t.hintIcon ? (a(), R(h1(t.hintIcon), {
|
|
5571
5575
|
key: 0,
|
|
5572
5576
|
class: "q-text-field-hint-icon"
|
|
5573
5577
|
})) : P("", !0),
|
|
@@ -5637,7 +5641,7 @@ const Yi = /* @__PURE__ */ _(zi, [["__scopeId", "data-v-88cf3487"]]), Wi = { cla
|
|
|
5637
5641
|
}), (C, $) => {
|
|
5638
5642
|
const f = O("QInput"), p = O("QMenu");
|
|
5639
5643
|
return a(), u("div", Wi, [
|
|
5640
|
-
|
|
5644
|
+
F(f, {
|
|
5641
5645
|
modelValue: e.value,
|
|
5642
5646
|
"onUpdate:modelValue": $[0] || ($[0] = (M) => e.value = M),
|
|
5643
5647
|
type: "text",
|
|
@@ -5647,7 +5651,7 @@ const Yi = /* @__PURE__ */ _(zi, [["__scopeId", "data-v-88cf3487"]]), Wi = { cla
|
|
|
5647
5651
|
onChange: l
|
|
5648
5652
|
}, null, 8, ["modelValue", "placeholder", "disabled"]),
|
|
5649
5653
|
t.items && r.value ? (a(), u("div", Gi, [
|
|
5650
|
-
|
|
5654
|
+
F(p, { items: c.value }, null, 8, ["items"])
|
|
5651
5655
|
])) : P("", !0)
|
|
5652
5656
|
]);
|
|
5653
5657
|
};
|
|
@@ -5688,8 +5692,8 @@ const Ji = /* @__PURE__ */ _(Ki, [["__scopeId", "data-v-2bc84f25"]]), Xi = /* @_
|
|
|
5688
5692
|
}
|
|
5689
5693
|
return (i, l) => {
|
|
5690
5694
|
const h = O("QButton");
|
|
5691
|
-
return a(),
|
|
5692
|
-
class:
|
|
5695
|
+
return a(), R(h, {
|
|
5696
|
+
class: U(r.value),
|
|
5693
5697
|
disabled: t.disabled,
|
|
5694
5698
|
loading: t.loading,
|
|
5695
5699
|
onClick: c
|
|
@@ -5766,7 +5770,7 @@ const Ji = /* @__PURE__ */ _(Ki, [["__scopeId", "data-v-2bc84f25"]]), Xi = /* @_
|
|
|
5766
5770
|
}
|
|
5767
5771
|
return C1(() => {
|
|
5768
5772
|
}), ($, f) => (a(), u("div", {
|
|
5769
|
-
class:
|
|
5773
|
+
class: U(["q-textarea", i.value])
|
|
5770
5774
|
}, [
|
|
5771
5775
|
c1(d("textarea", {
|
|
5772
5776
|
class: "textarea",
|
|
@@ -5781,7 +5785,7 @@ const Ji = /* @__PURE__ */ _(Ki, [["__scopeId", "data-v-2bc84f25"]]), Xi = /* @_
|
|
|
5781
5785
|
]),
|
|
5782
5786
|
c.value ? (a(), u("div", ec, [
|
|
5783
5787
|
d("div", nc, [
|
|
5784
|
-
t.hintIcon ? (a(),
|
|
5788
|
+
t.hintIcon ? (a(), R(h1(t.hintIcon), {
|
|
5785
5789
|
key: 0,
|
|
5786
5790
|
class: "q-textarea-hint-icon"
|
|
5787
5791
|
})) : P("", !0),
|