quail-ui 0.2.61 → 0.2.62
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 +253 -253
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { openBlock as n, createElementBlock as s, createElementVNode as o, createStaticVNode as G, defineComponent as P, ref as b, watch as t1, onMounted as d1, withDirectives as i1, vModelText as l1, computed as
|
|
1
|
+
import { openBlock as n, createElementBlock as s, createElementVNode as o, createStaticVNode as G, defineComponent as P, ref as b, watch as t1, onMounted as d1, withDirectives as i1, vModelText as l1, computed as H, nextTick as A1, Fragment as u1, renderSlot as s1, createBlock as A, Transition as v1, withCtx as E, normalizeClass as Z, normalizeStyle as a1, withModifiers as $1, createCommentVNode as q, toDisplayString as W, getCurrentInstance as P1, unref as f1, resolveDynamicComponent as p1, renderList as x1, resolveComponent as z, vModelCheckbox as O1, createVNode as T, createTextVNode as M1, useSlots as F1, pushScopeId as I1, popScopeId as Q1 } from "vue";
|
|
2
2
|
const r = (e, t) => {
|
|
3
3
|
const i = e.__vccOpts || e;
|
|
4
|
-
for (const [
|
|
5
|
-
i[
|
|
4
|
+
for (const [l, c] of t)
|
|
5
|
+
i[l] = c;
|
|
6
6
|
return i;
|
|
7
7
|
}, T1 = {}, z1 = {
|
|
8
8
|
width: "24",
|
|
@@ -10,17 +10,17 @@ const r = (e, t) => {
|
|
|
10
10
|
viewBox: "0 0 24 24",
|
|
11
11
|
fill: "none",
|
|
12
12
|
xmlns: "http://www.w3.org/2000/svg"
|
|
13
|
-
},
|
|
13
|
+
}, U1 = /* @__PURE__ */ o("path", {
|
|
14
14
|
d: "M6 18L18 6M18 6H10M18 6V14",
|
|
15
15
|
stroke: "currentColor",
|
|
16
16
|
"stroke-width": "2",
|
|
17
17
|
"stroke-linecap": "round",
|
|
18
18
|
"stroke-linejoin": "round"
|
|
19
|
-
}, null, -1),
|
|
20
|
-
|
|
19
|
+
}, null, -1), W1 = [
|
|
20
|
+
U1
|
|
21
21
|
];
|
|
22
22
|
function N1(e, t) {
|
|
23
|
-
return n(), s("svg", z1,
|
|
23
|
+
return n(), s("svg", z1, W1);
|
|
24
24
|
}
|
|
25
25
|
const B1 = /* @__PURE__ */ r(T1, [["render", N1]]), Y1 = {}, E1 = {
|
|
26
26
|
width: "24",
|
|
@@ -188,10 +188,10 @@ const P2 = /* @__PURE__ */ r(S2, [["render", A2]]), O2 = {}, F2 = {
|
|
|
188
188
|
}, null, -1), z2 = [
|
|
189
189
|
T2
|
|
190
190
|
];
|
|
191
|
-
function
|
|
191
|
+
function U2(e, t) {
|
|
192
192
|
return n(), s("svg", F2, z2);
|
|
193
193
|
}
|
|
194
|
-
const
|
|
194
|
+
const W2 = /* @__PURE__ */ r(O2, [["render", U2]]), N2 = {}, Y2 = {
|
|
195
195
|
width: "24",
|
|
196
196
|
height: "24",
|
|
197
197
|
viewBox: "0 0 24 24",
|
|
@@ -343,10 +343,10 @@ const Pe = /* @__PURE__ */ r(Se, [["render", Ae]]), Oe = {}, Fe = {
|
|
|
343
343
|
}, null, -1), ze = [
|
|
344
344
|
Te
|
|
345
345
|
];
|
|
346
|
-
function
|
|
346
|
+
function Ue(e, t) {
|
|
347
347
|
return n(), s("svg", Fe, ze);
|
|
348
348
|
}
|
|
349
|
-
const
|
|
349
|
+
const We = /* @__PURE__ */ r(Oe, [["render", Ue]]), Ne = {}, Ye = {
|
|
350
350
|
width: "24",
|
|
351
351
|
height: "24",
|
|
352
352
|
viewBox: "0 0 24 24",
|
|
@@ -508,7 +508,7 @@ const At = /* @__PURE__ */ r(jt, [["render", Dt]]), Pt = {}, Ot = {
|
|
|
508
508
|
function zt(e, t) {
|
|
509
509
|
return n(), s("svg", Ot, Tt);
|
|
510
510
|
}
|
|
511
|
-
const
|
|
511
|
+
const Ut = /* @__PURE__ */ r(Pt, [["render", zt]]), Wt = {}, Nt = {
|
|
512
512
|
width: "24",
|
|
513
513
|
height: "24",
|
|
514
514
|
viewBox: "0 0 24 24",
|
|
@@ -533,7 +533,7 @@ const Wt = /* @__PURE__ */ r(Pt, [["render", zt]]), Ut = {}, Nt = {
|
|
|
533
533
|
function Rt(e, t) {
|
|
534
534
|
return n(), s("svg", Nt, Gt);
|
|
535
535
|
}
|
|
536
|
-
const Jt = /* @__PURE__ */ r(
|
|
536
|
+
const Jt = /* @__PURE__ */ r(Wt, [["render", Rt]]), Xt = {}, Kt = {
|
|
537
537
|
width: "24",
|
|
538
538
|
height: "24",
|
|
539
539
|
viewBox: "0 0 24 24",
|
|
@@ -673,13 +673,13 @@ const O4 = /* @__PURE__ */ r(q4, [["render", P4]]), F4 = {}, T4 = {
|
|
|
673
673
|
}, z4 = /* @__PURE__ */ o("path", {
|
|
674
674
|
d: "M8.625 8.0625V3H15.375V8.0625H8.625ZM15.375 10.875H21V21H3V10.875H8.625V15.9375H15.375V10.875Z",
|
|
675
675
|
fill: "currentColor"
|
|
676
|
-
}, null, -1),
|
|
676
|
+
}, null, -1), U4 = [
|
|
677
677
|
z4
|
|
678
678
|
];
|
|
679
|
-
function
|
|
680
|
-
return n(), s("svg", T4,
|
|
679
|
+
function W4(e, t) {
|
|
680
|
+
return n(), s("svg", T4, U4);
|
|
681
681
|
}
|
|
682
|
-
const N4 = /* @__PURE__ */ r(F4, [["render",
|
|
682
|
+
const N4 = /* @__PURE__ */ r(F4, [["render", W4]]), Y4 = {}, E4 = {
|
|
683
683
|
width: "24",
|
|
684
684
|
height: "24",
|
|
685
685
|
viewBox: "0 0 24 24",
|
|
@@ -829,13 +829,13 @@ const O0 = /* @__PURE__ */ r(q0, [["render", P0]]), F0 = {}, T0 = {
|
|
|
829
829
|
"stroke-width": "2",
|
|
830
830
|
"stroke-linecap": "round",
|
|
831
831
|
"stroke-linejoin": "round"
|
|
832
|
-
}, null, -1),
|
|
832
|
+
}, null, -1), U0 = [
|
|
833
833
|
z0
|
|
834
834
|
];
|
|
835
|
-
function
|
|
836
|
-
return n(), s("svg", T0,
|
|
835
|
+
function W0(e, t) {
|
|
836
|
+
return n(), s("svg", T0, U0);
|
|
837
837
|
}
|
|
838
|
-
const N0 = /* @__PURE__ */ r(F0, [["render",
|
|
838
|
+
const N0 = /* @__PURE__ */ r(F0, [["render", W0]]), Y0 = {}, E0 = {
|
|
839
839
|
width: "24",
|
|
840
840
|
height: "24",
|
|
841
841
|
viewBox: "0 0 24 24",
|
|
@@ -995,7 +995,7 @@ const D9 = /* @__PURE__ */ r(B9, [["render", Z9]]), A9 = {}, P9 = {
|
|
|
995
995
|
function z9(e, t) {
|
|
996
996
|
return n(), s("svg", P9, T9);
|
|
997
997
|
}
|
|
998
|
-
const
|
|
998
|
+
const U9 = /* @__PURE__ */ r(A9, [["render", z9]]), W9 = {}, N9 = {
|
|
999
999
|
width: "24",
|
|
1000
1000
|
height: "24",
|
|
1001
1001
|
viewBox: "0 0 24 24",
|
|
@@ -1013,7 +1013,7 @@ const W9 = /* @__PURE__ */ r(A9, [["render", z9]]), U9 = {}, N9 = {
|
|
|
1013
1013
|
function G9(e, t) {
|
|
1014
1014
|
return n(), s("svg", N9, E9);
|
|
1015
1015
|
}
|
|
1016
|
-
const R9 = /* @__PURE__ */ r(
|
|
1016
|
+
const R9 = /* @__PURE__ */ r(W9, [["render", G9]]), J9 = {}, X9 = {
|
|
1017
1017
|
width: "24",
|
|
1018
1018
|
height: "24",
|
|
1019
1019
|
viewBox: "0 0 24 24",
|
|
@@ -1154,10 +1154,10 @@ const Pn = /* @__PURE__ */ r(Sn, [["render", An]]), On = {}, Fn = {
|
|
|
1154
1154
|
}, null, -1), zn = [
|
|
1155
1155
|
Tn
|
|
1156
1156
|
];
|
|
1157
|
-
function
|
|
1157
|
+
function Un(e, t) {
|
|
1158
1158
|
return n(), s("svg", Fn, zn);
|
|
1159
1159
|
}
|
|
1160
|
-
const
|
|
1160
|
+
const Wn = /* @__PURE__ */ r(On, [["render", Un]]), Nn = {}, Yn = {
|
|
1161
1161
|
width: "24",
|
|
1162
1162
|
height: "24",
|
|
1163
1163
|
viewBox: "0 0 24 24",
|
|
@@ -1316,10 +1316,10 @@ const P7 = /* @__PURE__ */ r(S7, [["render", A7]]), O7 = {}, F7 = {
|
|
|
1316
1316
|
}, null, -1), z7 = [
|
|
1317
1317
|
T7
|
|
1318
1318
|
];
|
|
1319
|
-
function
|
|
1319
|
+
function U7(e, t) {
|
|
1320
1320
|
return n(), s("svg", F7, z7);
|
|
1321
1321
|
}
|
|
1322
|
-
const
|
|
1322
|
+
const W7 = /* @__PURE__ */ r(O7, [["render", U7]]), N7 = {}, Y7 = {
|
|
1323
1323
|
width: "24",
|
|
1324
1324
|
height: "24",
|
|
1325
1325
|
viewBox: "0 0 24 24",
|
|
@@ -1475,7 +1475,7 @@ const H1 = /* @__PURE__ */ r(S5, [["render", A5]]), P5 = {}, O5 = {
|
|
|
1475
1475
|
function z5(e, t) {
|
|
1476
1476
|
return n(), s("svg", O5, T5);
|
|
1477
1477
|
}
|
|
1478
|
-
const V1 = /* @__PURE__ */ r(P5, [["render", z5]]),
|
|
1478
|
+
const V1 = /* @__PURE__ */ r(P5, [["render", z5]]), U5 = {}, W5 = {
|
|
1479
1479
|
width: "24",
|
|
1480
1480
|
height: "24",
|
|
1481
1481
|
viewBox: "0 0 24 24",
|
|
@@ -1485,9 +1485,9 @@ const V1 = /* @__PURE__ */ r(P5, [["render", z5]]), W5 = {}, U5 = {
|
|
|
1485
1485
|
N5
|
|
1486
1486
|
];
|
|
1487
1487
|
function E5(e, t) {
|
|
1488
|
-
return n(), s("svg",
|
|
1488
|
+
return n(), s("svg", W5, Y5);
|
|
1489
1489
|
}
|
|
1490
|
-
const G5 = /* @__PURE__ */ r(
|
|
1490
|
+
const G5 = /* @__PURE__ */ r(U5, [["render", E5]]), R5 = {}, J5 = {
|
|
1491
1491
|
width: "24",
|
|
1492
1492
|
height: "24",
|
|
1493
1493
|
viewBox: "0 0 24 24",
|
|
@@ -1575,8 +1575,8 @@ const y3 = /* @__PURE__ */ r($3, [["render", M3]]), L3 = /* @__PURE__ */ Object.
|
|
|
1575
1575
|
QIconColorLinkedin: c3,
|
|
1576
1576
|
QIconColorTelegram: H1,
|
|
1577
1577
|
QIconColorTwitter: G5,
|
|
1578
|
-
QIconCommunity:
|
|
1579
|
-
QIconCompass:
|
|
1578
|
+
QIconCommunity: W2,
|
|
1579
|
+
QIconCompass: U9,
|
|
1580
1580
|
QIconCopy: J2,
|
|
1581
1581
|
QIconDataflow: Pn,
|
|
1582
1582
|
QIconDesktop: ae,
|
|
@@ -1586,14 +1586,14 @@ const y3 = /* @__PURE__ */ r($3, [["render", M3]]), L3 = /* @__PURE__ */ Object.
|
|
|
1586
1586
|
QIconEcosystem: He,
|
|
1587
1587
|
QIconExpand: S0,
|
|
1588
1588
|
QIconFaceFrown: je,
|
|
1589
|
-
QIconFaceHappy:
|
|
1589
|
+
QIconFaceHappy: Wn,
|
|
1590
1590
|
QIconFeather: Pe,
|
|
1591
1591
|
QIconFeed: V1,
|
|
1592
1592
|
QIconFileLock: O0,
|
|
1593
|
-
QIconFilter:
|
|
1593
|
+
QIconFilter: We,
|
|
1594
1594
|
QIconFingerprint: H5,
|
|
1595
1595
|
QIconFingerprintLock: j5,
|
|
1596
|
-
QIconFlash:
|
|
1596
|
+
QIconFlash: W7,
|
|
1597
1597
|
QIconHead: N0,
|
|
1598
1598
|
QIconHelp: m1,
|
|
1599
1599
|
QIconImage: nt,
|
|
@@ -1611,7 +1611,7 @@ const y3 = /* @__PURE__ */ r($3, [["render", M3]]), L3 = /* @__PURE__ */ Object.
|
|
|
1611
1611
|
QIconMenu: At,
|
|
1612
1612
|
QIconMessageChatSquare: nn,
|
|
1613
1613
|
QIconMessageSquare: Jn,
|
|
1614
|
-
QIconMobile:
|
|
1614
|
+
QIconMobile: Ut,
|
|
1615
1615
|
QIconMoonStar: Jt,
|
|
1616
1616
|
QIconOrderedList: c9,
|
|
1617
1617
|
QIconPaperclip: an,
|
|
@@ -1645,10 +1645,10 @@ function V3(e) {
|
|
|
1645
1645
|
}
|
|
1646
1646
|
var q1 = { exports: {} };
|
|
1647
1647
|
(function(e, t) {
|
|
1648
|
-
(function(i,
|
|
1649
|
-
e.exports =
|
|
1648
|
+
(function(i, l) {
|
|
1649
|
+
e.exports = l();
|
|
1650
1650
|
})(H3, function() {
|
|
1651
|
-
var i = 1e3,
|
|
1651
|
+
var i = 1e3, l = 6e4, c = 36e5, C = "millisecond", _ = "second", a = "minute", p = "hour", f = "day", M = "week", $ = "month", m = "quarter", y = "year", B = "date", U = "Invalid Date", R = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, g = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, Q = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(v) {
|
|
1652
1652
|
var h = ["th", "st", "nd", "rd"], d = v % 100;
|
|
1653
1653
|
return "[" + v + (h[(d - 20) % 10] || h[d] || h[0]) + "]";
|
|
1654
1654
|
} }, O = function(v, h, d) {
|
|
@@ -1665,7 +1665,7 @@ var q1 = { exports: {} };
|
|
|
1665
1665
|
}, a: function(v) {
|
|
1666
1666
|
return v < 0 ? Math.ceil(v) || 0 : Math.floor(v);
|
|
1667
1667
|
}, p: function(v) {
|
|
1668
|
-
return { M: $, y, w: M, d: f, D: B, h: p, m:
|
|
1668
|
+
return { M: $, y, w: M, d: f, D: B, h: p, m: a, s: _, ms: C, Q: m }[v] || String(v || "").toLowerCase().replace(/s$/, "");
|
|
1669
1669
|
}, u: function(v) {
|
|
1670
1670
|
return v === void 0;
|
|
1671
1671
|
} }, J = "en", Y = {};
|
|
@@ -1683,8 +1683,8 @@ var q1 = { exports: {} };
|
|
|
1683
1683
|
if (!u && x.length > 1)
|
|
1684
1684
|
return v(x[0]);
|
|
1685
1685
|
} else {
|
|
1686
|
-
var
|
|
1687
|
-
Y[
|
|
1686
|
+
var V = h.name;
|
|
1687
|
+
Y[V] = h, u = V;
|
|
1688
1688
|
}
|
|
1689
1689
|
return !w && u && (J = u), u || !w && J;
|
|
1690
1690
|
}, j = function(v, h) {
|
|
@@ -1713,8 +1713,8 @@ var q1 = { exports: {} };
|
|
|
1713
1713
|
if (typeof u == "string" && !/Z$/i.test(u)) {
|
|
1714
1714
|
var x = u.match(R);
|
|
1715
1715
|
if (x) {
|
|
1716
|
-
var
|
|
1717
|
-
return k ? new Date(Date.UTC(x[1],
|
|
1716
|
+
var V = x[2] - 1 || 0, I = (x[7] || "0").substring(0, 3);
|
|
1717
|
+
return k ? new Date(Date.UTC(x[1], V, x[3] || 1, x[4] || 0, x[5] || 0, x[6] || 0, I)) : new Date(x[1], V, x[3] || 1, x[4] || 0, x[5] || 0, x[6] || 0, I);
|
|
1718
1718
|
}
|
|
1719
1719
|
}
|
|
1720
1720
|
return new Date(u);
|
|
@@ -1725,7 +1725,7 @@ var q1 = { exports: {} };
|
|
|
1725
1725
|
}, h.$utils = function() {
|
|
1726
1726
|
return L;
|
|
1727
1727
|
}, h.isValid = function() {
|
|
1728
|
-
return this.$d.toString() !==
|
|
1728
|
+
return this.$d.toString() !== U;
|
|
1729
1729
|
}, h.isSame = function(d, w) {
|
|
1730
1730
|
var u = j(d);
|
|
1731
1731
|
return this.startOf(w) <= u && u <= this.endOf(w);
|
|
@@ -1740,7 +1740,7 @@ var q1 = { exports: {} };
|
|
|
1740
1740
|
}, h.valueOf = function() {
|
|
1741
1741
|
return this.$d.getTime();
|
|
1742
1742
|
}, h.startOf = function(d, w) {
|
|
1743
|
-
var u = this, k = !!L.u(w) || w, x = L.p(d),
|
|
1743
|
+
var u = this, k = !!L.u(w) || w, x = L.p(d), V = function(e1, F) {
|
|
1744
1744
|
var X = L.w(u.$u ? Date.UTC(u.$y, F, e1) : new Date(u.$y, F, e1), u);
|
|
1745
1745
|
return k ? X : X.endOf(f);
|
|
1746
1746
|
}, I = function(e1, F) {
|
|
@@ -1748,18 +1748,18 @@ var q1 = { exports: {} };
|
|
|
1748
1748
|
}, S = this.$W, D = this.$M, N = this.$D, o1 = "set" + (this.$u ? "UTC" : "");
|
|
1749
1749
|
switch (x) {
|
|
1750
1750
|
case y:
|
|
1751
|
-
return k ?
|
|
1751
|
+
return k ? V(1, 0) : V(31, 11);
|
|
1752
1752
|
case $:
|
|
1753
|
-
return k ?
|
|
1753
|
+
return k ? V(1, D) : V(0, D + 1);
|
|
1754
1754
|
case M:
|
|
1755
1755
|
var K = this.$locale().weekStart || 0, r1 = (S < K ? S + 7 : S) - K;
|
|
1756
|
-
return
|
|
1756
|
+
return V(k ? N - r1 : N + (6 - r1), D);
|
|
1757
1757
|
case f:
|
|
1758
1758
|
case B:
|
|
1759
1759
|
return I(o1 + "Hours", 0);
|
|
1760
1760
|
case p:
|
|
1761
1761
|
return I(o1 + "Minutes", 1);
|
|
1762
|
-
case
|
|
1762
|
+
case a:
|
|
1763
1763
|
return I(o1 + "Seconds", 2);
|
|
1764
1764
|
case _:
|
|
1765
1765
|
return I(o1 + "Milliseconds", 3);
|
|
@@ -1769,12 +1769,12 @@ var q1 = { exports: {} };
|
|
|
1769
1769
|
}, h.endOf = function(d) {
|
|
1770
1770
|
return this.startOf(d, !1);
|
|
1771
1771
|
}, h.$set = function(d, w) {
|
|
1772
|
-
var u, k = L.p(d), x = "set" + (this.$u ? "UTC" : ""),
|
|
1772
|
+
var u, k = L.p(d), x = "set" + (this.$u ? "UTC" : ""), V = (u = {}, u[f] = x + "Date", u[B] = x + "Date", u[$] = x + "Month", u[y] = x + "FullYear", u[p] = x + "Hours", u[a] = x + "Minutes", u[_] = x + "Seconds", u[C] = x + "Milliseconds", u)[k], I = k === f ? this.$D + (w - this.$W) : w;
|
|
1773
1773
|
if (k === $ || k === y) {
|
|
1774
1774
|
var S = this.clone().set(B, 1);
|
|
1775
|
-
S.$d[
|
|
1775
|
+
S.$d[V](I), S.init(), this.$d = S.set(B, Math.min(this.$D, S.daysInMonth())).$d;
|
|
1776
1776
|
} else
|
|
1777
|
-
|
|
1777
|
+
V && this.$d[V](I);
|
|
1778
1778
|
return this.init(), this;
|
|
1779
1779
|
}, h.set = function(d, w) {
|
|
1780
1780
|
return this.clone().$set(d, w);
|
|
@@ -1783,7 +1783,7 @@ var q1 = { exports: {} };
|
|
|
1783
1783
|
}, h.add = function(d, w) {
|
|
1784
1784
|
var u, k = this;
|
|
1785
1785
|
d = Number(d);
|
|
1786
|
-
var x = L.p(w),
|
|
1786
|
+
var x = L.p(w), V = function(D) {
|
|
1787
1787
|
var N = j(k);
|
|
1788
1788
|
return L.w(N.date(N.date() + Math.round(D * d)), k);
|
|
1789
1789
|
};
|
|
@@ -1792,21 +1792,21 @@ var q1 = { exports: {} };
|
|
|
1792
1792
|
if (x === y)
|
|
1793
1793
|
return this.set(y, this.$y + d);
|
|
1794
1794
|
if (x === f)
|
|
1795
|
-
return
|
|
1795
|
+
return V(1);
|
|
1796
1796
|
if (x === M)
|
|
1797
|
-
return
|
|
1798
|
-
var I = (u = {}, u[
|
|
1797
|
+
return V(7);
|
|
1798
|
+
var I = (u = {}, u[a] = l, u[p] = c, u[_] = i, u)[x] || 1, S = this.$d.getTime() + d * I;
|
|
1799
1799
|
return L.w(S, this);
|
|
1800
1800
|
}, h.subtract = function(d, w) {
|
|
1801
1801
|
return this.add(-1 * d, w);
|
|
1802
1802
|
}, h.format = function(d) {
|
|
1803
1803
|
var w = this, u = this.$locale();
|
|
1804
1804
|
if (!this.isValid())
|
|
1805
|
-
return u.invalidDate ||
|
|
1806
|
-
var k = d || "YYYY-MM-DDTHH:mm:ssZ", x = L.z(this),
|
|
1805
|
+
return u.invalidDate || U;
|
|
1806
|
+
var k = d || "YYYY-MM-DDTHH:mm:ssZ", x = L.z(this), V = this.$H, I = this.$m, S = this.$M, D = u.weekdays, N = u.months, o1 = u.meridiem, K = function(F, X, c1, C1) {
|
|
1807
1807
|
return F && (F[X] || F(w, k)) || c1[X].slice(0, C1);
|
|
1808
1808
|
}, r1 = function(F) {
|
|
1809
|
-
return L.s(
|
|
1809
|
+
return L.s(V % 12 || 12, F, "0");
|
|
1810
1810
|
}, e1 = o1 || function(F, X, c1) {
|
|
1811
1811
|
var C1 = F < 12 ? "AM" : "PM";
|
|
1812
1812
|
return c1 ? C1.toLowerCase() : C1;
|
|
@@ -1839,17 +1839,17 @@ var q1 = { exports: {} };
|
|
|
1839
1839
|
case "dddd":
|
|
1840
1840
|
return D[w.$W];
|
|
1841
1841
|
case "H":
|
|
1842
|
-
return String(
|
|
1842
|
+
return String(V);
|
|
1843
1843
|
case "HH":
|
|
1844
|
-
return L.s(
|
|
1844
|
+
return L.s(V, 2, "0");
|
|
1845
1845
|
case "h":
|
|
1846
1846
|
return r1(1);
|
|
1847
1847
|
case "hh":
|
|
1848
1848
|
return r1(2);
|
|
1849
1849
|
case "a":
|
|
1850
|
-
return e1(
|
|
1850
|
+
return e1(V, I, !0);
|
|
1851
1851
|
case "A":
|
|
1852
|
-
return e1(
|
|
1852
|
+
return e1(V, I, !1);
|
|
1853
1853
|
case "m":
|
|
1854
1854
|
return String(I);
|
|
1855
1855
|
case "mm":
|
|
@@ -1869,10 +1869,10 @@ var q1 = { exports: {} };
|
|
|
1869
1869
|
}, h.utcOffset = function() {
|
|
1870
1870
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1871
1871
|
}, h.diff = function(d, w, u) {
|
|
1872
|
-
var k, x = this,
|
|
1872
|
+
var k, x = this, V = L.p(w), I = j(d), S = (I.utcOffset() - this.utcOffset()) * l, D = this - I, N = function() {
|
|
1873
1873
|
return L.m(x, I);
|
|
1874
1874
|
};
|
|
1875
|
-
switch (
|
|
1875
|
+
switch (V) {
|
|
1876
1876
|
case y:
|
|
1877
1877
|
k = N() / 12;
|
|
1878
1878
|
break;
|
|
@@ -1889,11 +1889,11 @@ var q1 = { exports: {} };
|
|
|
1889
1889
|
k = (D - S) / 864e5;
|
|
1890
1890
|
break;
|
|
1891
1891
|
case p:
|
|
1892
|
-
k = D / a;
|
|
1893
|
-
break;
|
|
1894
|
-
case l:
|
|
1895
1892
|
k = D / c;
|
|
1896
1893
|
break;
|
|
1894
|
+
case a:
|
|
1895
|
+
k = D / l;
|
|
1896
|
+
break;
|
|
1897
1897
|
case _:
|
|
1898
1898
|
k = D / i;
|
|
1899
1899
|
break;
|
|
@@ -1922,7 +1922,7 @@ var q1 = { exports: {} };
|
|
|
1922
1922
|
return this.$d.toUTCString();
|
|
1923
1923
|
}, v;
|
|
1924
1924
|
}(), L1 = h1.prototype;
|
|
1925
|
-
return j.prototype = L1, [["$ms", C], ["$s", _], ["$m",
|
|
1925
|
+
return j.prototype = L1, [["$ms", C], ["$s", _], ["$m", a], ["$H", p], ["$W", f], ["$M", $], ["$y", y], ["$D", B]].forEach(function(v) {
|
|
1926
1926
|
L1[v[1]] = function(h) {
|
|
1927
1927
|
return this.$g(h, v[0], v[1]);
|
|
1928
1928
|
};
|
|
@@ -1948,29 +1948,29 @@ const g1 = /* @__PURE__ */ V3(b3), I3 = { class: "q-datetime-picker touchable ou
|
|
|
1948
1948
|
},
|
|
1949
1949
|
emits: ["update:modelValue", "change"],
|
|
1950
1950
|
setup(e, { emit: t }) {
|
|
1951
|
-
const i = e,
|
|
1951
|
+
const i = e, l = t, c = b(""), C = b("");
|
|
1952
1952
|
t1(
|
|
1953
1953
|
() => i.modelValue,
|
|
1954
|
-
(
|
|
1955
|
-
const p = g1(
|
|
1956
|
-
|
|
1954
|
+
(a) => {
|
|
1955
|
+
const p = g1(a);
|
|
1956
|
+
c.value = p.format("YYYY-MM-DD"), C.value = p.format("HH:mm");
|
|
1957
1957
|
}
|
|
1958
1958
|
);
|
|
1959
1959
|
function _() {
|
|
1960
|
-
const
|
|
1961
|
-
|
|
1960
|
+
const a = g1(`${c.value} ${C.value}`).format("YYYY-MM-DDTHH:mm:ssZ");
|
|
1961
|
+
l("change", a), l("update:modelValue", a);
|
|
1962
1962
|
}
|
|
1963
1963
|
return d1(() => {
|
|
1964
|
-
const
|
|
1965
|
-
|
|
1966
|
-
}), (
|
|
1964
|
+
const a = g1();
|
|
1965
|
+
c.value = a.format("YYYY-MM-DD"), C.value = a.format("HH:mm");
|
|
1966
|
+
}), (a, p) => (n(), s("div", I3, [
|
|
1967
1967
|
i1(o("input", {
|
|
1968
|
-
"onUpdate:modelValue": p[0] || (p[0] = (f) =>
|
|
1968
|
+
"onUpdate:modelValue": p[0] || (p[0] = (f) => c.value = f),
|
|
1969
1969
|
type: "date",
|
|
1970
1970
|
disabled: e.disabled,
|
|
1971
1971
|
onChange: _
|
|
1972
1972
|
}, null, 40, Q3), [
|
|
1973
|
-
[l1,
|
|
1973
|
+
[l1, c.value]
|
|
1974
1974
|
]),
|
|
1975
1975
|
i1(o("input", {
|
|
1976
1976
|
"onUpdate:modelValue": p[1] || (p[1] = (f) => C.value = f),
|
|
@@ -1985,14 +1985,14 @@ const g1 = /* @__PURE__ */ V3(b3), I3 = { class: "q-datetime-picker touchable ou
|
|
|
1985
1985
|
});
|
|
1986
1986
|
function S3() {
|
|
1987
1987
|
function e() {
|
|
1988
|
-
const i = !!window.ActiveXObject || "ActiveXObject" in window,
|
|
1988
|
+
const i = !!window.ActiveXObject || "ActiveXObject" in window, l = navigator.userAgent.indexOf("Edge") > -1, c = navigator.userAgent.indexOf("Chrome") > -1, C = navigator.userAgent.indexOf("Firefox") > -1, _ = navigator.userAgent.indexOf("Safari") > -1, a = navigator.userAgent.indexOf("Opera") > -1, p = navigator.userAgent.indexOf("MicroMessenger") > -1, f = !!navigator.userAgent.match(/AppleWebKit.*Mobile.*/), M = navigator.userAgent.indexOf("Android") > -1 || navigator.userAgent.indexOf("Adr") > -1, $ = !!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), m = navigator.userAgent.indexOf("iPad") > -1, y = navigator.userAgent.indexOf("iPhone") > -1, B = navigator.userAgent.indexOf("Macintosh") > -1, U = navigator.userAgent.indexOf("Windows") > -1, R = navigator.userAgent.indexOf("Linux") > -1;
|
|
1989
1989
|
return {
|
|
1990
1990
|
isIE: i,
|
|
1991
|
-
isEdge:
|
|
1992
|
-
isChrome:
|
|
1991
|
+
isEdge: l,
|
|
1992
|
+
isChrome: c,
|
|
1993
1993
|
isFirefox: C,
|
|
1994
1994
|
isSafari: _,
|
|
1995
|
-
isOpera:
|
|
1995
|
+
isOpera: a,
|
|
1996
1996
|
isWeixin: p,
|
|
1997
1997
|
isMobile: f,
|
|
1998
1998
|
isAndroid: M,
|
|
@@ -2000,17 +2000,17 @@ function S3() {
|
|
|
2000
2000
|
isIpad: m,
|
|
2001
2001
|
isIphone: y,
|
|
2002
2002
|
isMac: B,
|
|
2003
|
-
isWindows:
|
|
2003
|
+
isWindows: U,
|
|
2004
2004
|
isLinux: R
|
|
2005
2005
|
};
|
|
2006
2006
|
}
|
|
2007
|
-
function t(i,
|
|
2008
|
-
let
|
|
2007
|
+
function t(i, l) {
|
|
2008
|
+
let c;
|
|
2009
2009
|
return function(...C) {
|
|
2010
2010
|
const _ = this;
|
|
2011
|
-
clearTimeout(
|
|
2011
|
+
clearTimeout(c), c = setTimeout(() => {
|
|
2012
2012
|
i.apply(_, C);
|
|
2013
|
-
},
|
|
2013
|
+
}, l);
|
|
2014
2014
|
};
|
|
2015
2015
|
}
|
|
2016
2016
|
return {
|
|
@@ -2057,24 +2057,24 @@ const q3 = { class: "q-dialog-body" }, Z3 = { class: "q-dialog-header" }, D3 = {
|
|
|
2057
2057
|
},
|
|
2058
2058
|
emits: ["update:modelValue", "close"],
|
|
2059
2059
|
setup(e, { emit: t }) {
|
|
2060
|
-
const { browserDetect: i } = S3(), { isMobile:
|
|
2061
|
-
const g = document.body.clientWidth < 720 ? "100%" :
|
|
2060
|
+
const { browserDetect: i } = S3(), { isMobile: l } = i(), c = e, C = t, _ = b(!1), a = b(c.modelValue), p = b({ top: "0", left: "0" }), f = b(null), M = b(null), $ = H(() => !l && c.desktopMode === "popup"), m = H(() => {
|
|
2061
|
+
const g = document.body.clientWidth < 720 ? "100%" : c.width, Q = c.height, O = {
|
|
2062
2062
|
width: g,
|
|
2063
2063
|
height: Q
|
|
2064
2064
|
};
|
|
2065
2065
|
return $.value && (O.top = p.value.top, O.left = p.value.left), O;
|
|
2066
|
-
}), y =
|
|
2066
|
+
}), y = H(() => {
|
|
2067
2067
|
let g = [];
|
|
2068
|
-
return _.value && g.push("shaking"),
|
|
2069
|
-
}), B =
|
|
2068
|
+
return _.value && g.push("shaking"), l || g.push(`desktop-mode-${c.desktopMode}`), c.noFrame && g.push("no-frame"), g.join(" ");
|
|
2069
|
+
}), B = H(() => {
|
|
2070
2070
|
let g = [];
|
|
2071
2071
|
return $.value && g.push("desktop-mode-popup"), g.join(" ");
|
|
2072
2072
|
});
|
|
2073
2073
|
t1(
|
|
2074
|
-
() =>
|
|
2074
|
+
() => c.modelValue,
|
|
2075
2075
|
(g) => {
|
|
2076
|
-
|
|
2077
|
-
if (!
|
|
2076
|
+
a.value = g, A1(() => {
|
|
2077
|
+
if (!l && c.desktopMode === "popup" && f.value.children) {
|
|
2078
2078
|
const Q = f.value.children[0];
|
|
2079
2079
|
if (Q) {
|
|
2080
2080
|
const n1 = Q.getBoundingClientRect().height + 8, J = 0;
|
|
@@ -2085,20 +2085,20 @@ const q3 = { class: "q-dialog-body" }, Z3 = { class: "q-dialog-header" }, D3 = {
|
|
|
2085
2085
|
});
|
|
2086
2086
|
}
|
|
2087
2087
|
);
|
|
2088
|
-
function
|
|
2089
|
-
if (
|
|
2088
|
+
function U() {
|
|
2089
|
+
if (c.persistent) {
|
|
2090
2090
|
_.value = !0, setTimeout(() => {
|
|
2091
2091
|
_.value = !1;
|
|
2092
2092
|
}, 300);
|
|
2093
2093
|
return;
|
|
2094
2094
|
}
|
|
2095
|
-
|
|
2095
|
+
a.value = !1, document.body.style.overflowY = "auto", C("update:modelValue", !1), C("close");
|
|
2096
2096
|
}
|
|
2097
2097
|
function R() {
|
|
2098
2098
|
}
|
|
2099
2099
|
return d1(() => {
|
|
2100
|
-
|
|
2101
|
-
g.key === "quailui_global_popup_trigger" && g.newValue &&
|
|
2100
|
+
c.desktopMode === "popup" && window.addEventListener("storage", (g) => {
|
|
2101
|
+
g.key === "quailui_global_popup_trigger" && g.newValue && U();
|
|
2102
2102
|
});
|
|
2103
2103
|
}), (g, Q) => (n(), s(u1, null, [
|
|
2104
2104
|
o("div", {
|
|
@@ -2109,7 +2109,7 @@ const q3 = { class: "q-dialog-body" }, Z3 = { class: "q-dialog-header" }, D3 = {
|
|
|
2109
2109
|
s1(g.$slots, "trigger"),
|
|
2110
2110
|
$.value ? (n(), A(v1, { key: 0 }, {
|
|
2111
2111
|
default: E(() => [
|
|
2112
|
-
|
|
2112
|
+
a.value ? (n(), s("div", {
|
|
2113
2113
|
key: 0,
|
|
2114
2114
|
class: Z(["q-dialog", y.value]),
|
|
2115
2115
|
style: a1(m.value),
|
|
@@ -2125,10 +2125,10 @@ const q3 = { class: "q-dialog-body" }, Z3 = { class: "q-dialog-header" }, D3 = {
|
|
|
2125
2125
|
], 512),
|
|
2126
2126
|
$.value ? q("", !0) : (n(), A(v1, { key: 0 }, {
|
|
2127
2127
|
default: E(() => [
|
|
2128
|
-
|
|
2128
|
+
a.value ? (n(), s("div", {
|
|
2129
2129
|
key: 0,
|
|
2130
2130
|
class: Z(["q-dialog-mask", B.value]),
|
|
2131
|
-
onClick:
|
|
2131
|
+
onClick: U,
|
|
2132
2132
|
ref_key: "dialogMask",
|
|
2133
2133
|
ref: M
|
|
2134
2134
|
}, [
|
|
@@ -2138,7 +2138,7 @@ const q3 = { class: "q-dialog-body" }, Z3 = { class: "q-dialog-header" }, D3 = {
|
|
|
2138
2138
|
onClick: $1(R, ["stop"])
|
|
2139
2139
|
}, [
|
|
2140
2140
|
o("div", Z3, [
|
|
2141
|
-
e.title ? (n(), s("div", D3,
|
|
2141
|
+
e.title ? (n(), s("div", D3, W(e.title), 1)) : s1(g.$slots, "header", { key: 1 })
|
|
2142
2142
|
]),
|
|
2143
2143
|
o("div", A3, [
|
|
2144
2144
|
s1(g.$slots, "default")
|
|
@@ -2154,7 +2154,7 @@ const q3 = { class: "q-dialog-body" }, Z3 = { class: "q-dialog-header" }, D3 = {
|
|
|
2154
2154
|
const O3 = ["href"], F3 = { class: "q-fence-text text-sm" }, T3 = {
|
|
2155
2155
|
key: 1,
|
|
2156
2156
|
class: "q-fence-inner"
|
|
2157
|
-
}, z3 = { class: "q-fence-text text-sm" },
|
|
2157
|
+
}, z3 = { class: "q-fence-text text-sm" }, U3 = /* @__PURE__ */ P({
|
|
2158
2158
|
__name: "QFence",
|
|
2159
2159
|
props: {
|
|
2160
2160
|
link: {
|
|
@@ -2176,7 +2176,7 @@ const O3 = ["href"], F3 = { class: "q-fence-text text-sm" }, T3 = {
|
|
|
2176
2176
|
setup(e) {
|
|
2177
2177
|
var i;
|
|
2178
2178
|
const t = (i = P1()) == null ? void 0 : i.appContext.components;
|
|
2179
|
-
return (
|
|
2179
|
+
return (l, c) => (n(), s("div", {
|
|
2180
2180
|
class: Z(["q-fence", e.type])
|
|
2181
2181
|
}, [
|
|
2182
2182
|
e.link ? (n(), s("a", {
|
|
@@ -2192,7 +2192,7 @@ const O3 = ["href"], F3 = { class: "q-fence-text text-sm" }, T3 = {
|
|
|
2192
2192
|
key: 1,
|
|
2193
2193
|
class: "icon"
|
|
2194
2194
|
})),
|
|
2195
|
-
o("div", F3,
|
|
2195
|
+
o("div", F3, W(e.text), 1)
|
|
2196
2196
|
], 8, O3)) : (n(), s("div", T3, [
|
|
2197
2197
|
e.icon && f1(t) ? (n(), A(p1(f1(t)[e.icon]), {
|
|
2198
2198
|
key: 0,
|
|
@@ -2201,12 +2201,12 @@ const O3 = ["href"], F3 = { class: "q-fence-text text-sm" }, T3 = {
|
|
|
2201
2201
|
key: 1,
|
|
2202
2202
|
class: "icon"
|
|
2203
2203
|
})),
|
|
2204
|
-
o("div", z3,
|
|
2204
|
+
o("div", z3, W(e.text), 1)
|
|
2205
2205
|
]))
|
|
2206
2206
|
], 2));
|
|
2207
2207
|
}
|
|
2208
2208
|
});
|
|
2209
|
-
const
|
|
2209
|
+
const W3 = {}, N3 = {
|
|
2210
2210
|
class: "q-loading pa-4 mb-4 rounded-sm text-center",
|
|
2211
2211
|
color: "glass"
|
|
2212
2212
|
}, Y3 = /* @__PURE__ */ G('<div class="spinners py-2 mb-2 d-flex justify-center"><i class="spinner one" aria-hidden="true"></i><i class="spinner two" aria-hidden="true"></i><i class="spinner three" aria-hidden="true"></i><i class="spinner four" aria-hidden="true"></i><i class="spinner five" aria-hidden="true"></i></div>', 1), E3 = [
|
|
@@ -2215,7 +2215,7 @@ const U3 = {}, N3 = {
|
|
|
2215
2215
|
function G3(e, t) {
|
|
2216
2216
|
return n(), s("div", N3, E3);
|
|
2217
2217
|
}
|
|
2218
|
-
const R3 = /* @__PURE__ */ r(
|
|
2218
|
+
const R3 = /* @__PURE__ */ r(W3, [["render", G3]]), J3 = ["onClick"], X3 = {
|
|
2219
2219
|
key: 0,
|
|
2220
2220
|
class: "q-menu-item-divider"
|
|
2221
2221
|
}, K3 = {
|
|
@@ -2246,19 +2246,19 @@ const R3 = /* @__PURE__ */ r(U3, [["render", G3]]), J3 = ["onClick"], X3 = {
|
|
|
2246
2246
|
},
|
|
2247
2247
|
emits: ["action"],
|
|
2248
2248
|
setup(e, { emit: t }) {
|
|
2249
|
-
const i = e,
|
|
2250
|
-
let
|
|
2251
|
-
return i.persistent &&
|
|
2249
|
+
const i = e, l = t, c = H(() => {
|
|
2250
|
+
let a = [];
|
|
2251
|
+
return i.persistent && a.push("persistent"), i.noFrame && a.push("no-frame"), i.noShadow && a.push("no-shadow"), a.join(" ");
|
|
2252
2252
|
});
|
|
2253
|
-
function C(
|
|
2253
|
+
function C(a) {
|
|
2254
2254
|
let p = "";
|
|
2255
|
-
return
|
|
2255
|
+
return a.disabled && (p += " disabled"), a.danger && (p += " danger"), a.icon && (p += " with-icon"), a.image && (p += " with-image"), a.divider && (p += " with-divider"), p;
|
|
2256
2256
|
}
|
|
2257
|
-
function _(
|
|
2258
|
-
|
|
2257
|
+
function _(a) {
|
|
2258
|
+
a.action && a.action(a), a.disabled !== !0 && l("action", a);
|
|
2259
2259
|
}
|
|
2260
|
-
return (
|
|
2261
|
-
class: Z(["q-menu",
|
|
2260
|
+
return (a, p) => (n(), s("div", {
|
|
2261
|
+
class: Z(["q-menu", c.value])
|
|
2262
2262
|
}, [
|
|
2263
2263
|
(n(!0), s(u1, null, x1(i.items, (f) => (n(), s("div", {
|
|
2264
2264
|
class: Z(["q-menu-item", C(f)]),
|
|
@@ -2276,8 +2276,8 @@ const R3 = /* @__PURE__ */ r(U3, [["render", G3]]), J3 = ["onClick"], X3 = {
|
|
|
2276
2276
|
class: "q-menu-icon"
|
|
2277
2277
|
})) : q("", !0),
|
|
2278
2278
|
o("div", to, [
|
|
2279
|
-
o("div", no,
|
|
2280
|
-
f.subtitle ? (n(), s("div", oo,
|
|
2279
|
+
o("div", no, W(f.title), 1),
|
|
2280
|
+
f.subtitle ? (n(), s("div", oo, W(f.subtitle), 1)) : q("", !0)
|
|
2281
2281
|
])
|
|
2282
2282
|
]))
|
|
2283
2283
|
], 10, J3))), 128))
|
|
@@ -2303,18 +2303,18 @@ const io = ["disabled"], ro = { class: "q-switch-inner" }, co = { class: "q-swit
|
|
|
2303
2303
|
},
|
|
2304
2304
|
emits: ["update:modelValue", "change"],
|
|
2305
2305
|
setup(e, { emit: t }) {
|
|
2306
|
-
const i = e,
|
|
2307
|
-
t1(() => i.modelValue, (
|
|
2308
|
-
|
|
2306
|
+
const i = e, l = b(i.modelValue);
|
|
2307
|
+
t1(() => i.modelValue, (a) => {
|
|
2308
|
+
l.value = a;
|
|
2309
2309
|
});
|
|
2310
|
-
const
|
|
2311
|
-
const
|
|
2312
|
-
return i.theme &&
|
|
2310
|
+
const c = t, C = H(() => {
|
|
2311
|
+
const a = [];
|
|
2312
|
+
return i.theme && a.push(`theme-${i.theme}`), i.disabled && a.push("disabled"), a.join(" ");
|
|
2313
2313
|
});
|
|
2314
|
-
function _(
|
|
2315
|
-
|
|
2314
|
+
function _(a) {
|
|
2315
|
+
c("update:modelValue", l.value), c("change", l.value);
|
|
2316
2316
|
}
|
|
2317
|
-
return (
|
|
2317
|
+
return (a, p) => {
|
|
2318
2318
|
const f = z("q-icon-sun"), M = z("q-icon-moon-star");
|
|
2319
2319
|
return n(), s("label", {
|
|
2320
2320
|
class: Z(["q-switch", C.value])
|
|
@@ -2322,16 +2322,16 @@ const io = ["disabled"], ro = { class: "q-switch-inner" }, co = { class: "q-swit
|
|
|
2322
2322
|
i1(o("input", {
|
|
2323
2323
|
class: "q-switch-checkbox",
|
|
2324
2324
|
type: "checkbox",
|
|
2325
|
-
"onUpdate:modelValue": p[0] || (p[0] = ($) =>
|
|
2325
|
+
"onUpdate:modelValue": p[0] || (p[0] = ($) => l.value = $),
|
|
2326
2326
|
onChange: _,
|
|
2327
2327
|
disabled: i.disabled
|
|
2328
2328
|
}, null, 40, io), [
|
|
2329
|
-
[O1,
|
|
2329
|
+
[O1, l.value]
|
|
2330
2330
|
]),
|
|
2331
2331
|
o("div", ro, [
|
|
2332
2332
|
o("div", co, [
|
|
2333
2333
|
i.theme === "plastic" ? (n(), s(u1, { key: 0 }, [
|
|
2334
|
-
|
|
2334
|
+
l.value ? (n(), A(f, {
|
|
2335
2335
|
key: 0,
|
|
2336
2336
|
class: "q-switch-icon"
|
|
2337
2337
|
})) : (n(), A(M, {
|
|
@@ -2382,29 +2382,29 @@ const ao = { class: "q-text-field-wrapper" }, uo = ["placeholder"], _o = { class
|
|
|
2382
2382
|
},
|
|
2383
2383
|
emits: ["submit", "update:modelValue"],
|
|
2384
2384
|
setup(e, { emit: t }) {
|
|
2385
|
-
const i = e,
|
|
2385
|
+
const i = e, l = t, c = b(i.defaultText), C = H(() => {
|
|
2386
2386
|
const m = [];
|
|
2387
2387
|
return i.layout === "vertical" ? m.push("vertical") : m.push("horizontal"), i.type === "code" && m.push("code"), i.glow && m.push(`glow-${i.glow}`), m.join(" ");
|
|
2388
|
-
}), _ =
|
|
2388
|
+
}), _ = H(() => {
|
|
2389
2389
|
var y;
|
|
2390
|
-
return i.loading || ((y =
|
|
2391
|
-
}),
|
|
2390
|
+
return i.loading || ((y = c.value) == null ? void 0 : y.trim()).length === 0 ? !1 : i.type === "email" ? a.value : i.type === "code" ? p.value : !0;
|
|
2391
|
+
}), a = H(() => {
|
|
2392
2392
|
var y;
|
|
2393
|
-
const m = (y =
|
|
2393
|
+
const m = (y = c.value) == null ? void 0 : y.trim();
|
|
2394
2394
|
return !i.disabled && /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(m);
|
|
2395
|
-
}), p =
|
|
2395
|
+
}), p = H(() => {
|
|
2396
2396
|
var y;
|
|
2397
|
-
const m = (y =
|
|
2397
|
+
const m = (y = c.value) == null ? void 0 : y.trim();
|
|
2398
2398
|
return /^\d{6}$/.test(m);
|
|
2399
|
-
}), f =
|
|
2399
|
+
}), f = H(() => i.loading ? "Loading..." : i.actionLabel);
|
|
2400
2400
|
t1(() => i.modelValue, (m) => {
|
|
2401
|
-
|
|
2401
|
+
c.value = m;
|
|
2402
2402
|
});
|
|
2403
2403
|
function M() {
|
|
2404
|
-
_.value &&
|
|
2404
|
+
_.value && l("submit", { text: c.value });
|
|
2405
2405
|
}
|
|
2406
2406
|
function $() {
|
|
2407
|
-
|
|
2407
|
+
l("update:modelValue", c.value);
|
|
2408
2408
|
}
|
|
2409
2409
|
return (m, y) => {
|
|
2410
2410
|
const B = z("q-button");
|
|
@@ -2415,10 +2415,10 @@ const ao = { class: "q-text-field-wrapper" }, uo = ["placeholder"], _o = { class
|
|
|
2415
2415
|
i1(o("input", {
|
|
2416
2416
|
class: "q-text-field text-field",
|
|
2417
2417
|
placeholder: i.placeholder,
|
|
2418
|
-
"onUpdate:modelValue": y[0] || (y[0] = (
|
|
2418
|
+
"onUpdate:modelValue": y[0] || (y[0] = (U) => c.value = U),
|
|
2419
2419
|
onChange: $
|
|
2420
2420
|
}, null, 40, uo), [
|
|
2421
|
-
[l1,
|
|
2421
|
+
[l1, c.value]
|
|
2422
2422
|
])
|
|
2423
2423
|
]),
|
|
2424
2424
|
o("div", _o, [
|
|
@@ -2428,7 +2428,7 @@ const ao = { class: "q-text-field-wrapper" }, uo = ["placeholder"], _o = { class
|
|
|
2428
2428
|
onClick: M
|
|
2429
2429
|
}, {
|
|
2430
2430
|
default: E(() => [
|
|
2431
|
-
M1(
|
|
2431
|
+
M1(W(f.value), 1)
|
|
2432
2432
|
]),
|
|
2433
2433
|
_: 1
|
|
2434
2434
|
}, 8, ["disabled"])
|
|
@@ -2448,10 +2448,10 @@ function Z1() {
|
|
|
2448
2448
|
}
|
|
2449
2449
|
function k1(e, t) {
|
|
2450
2450
|
let i;
|
|
2451
|
-
return function(...
|
|
2452
|
-
const
|
|
2451
|
+
return function(...l) {
|
|
2452
|
+
const c = this;
|
|
2453
2453
|
clearTimeout(i), i = setTimeout(() => {
|
|
2454
|
-
e.apply(
|
|
2454
|
+
e.apply(c, l);
|
|
2455
2455
|
}, t);
|
|
2456
2456
|
};
|
|
2457
2457
|
}
|
|
@@ -2510,22 +2510,22 @@ const fo = { class: "q-dropdown-menu" }, po = { class: "q-dropdown-menu-inner na
|
|
|
2510
2510
|
},
|
|
2511
2511
|
emits: ["change"],
|
|
2512
2512
|
setup(e, { emit: t }) {
|
|
2513
|
-
const i = F1(),
|
|
2513
|
+
const i = F1(), l = e, c = t, C = b(!1), _ = b(null), a = b(null), p = b(null), f = b(""), M = b(""), $ = H(() => {
|
|
2514
2514
|
const g = [];
|
|
2515
|
-
return C.value && g.push("expanded"),
|
|
2516
|
-
}), m =
|
|
2517
|
-
if (
|
|
2515
|
+
return C.value && g.push("expanded"), l.variant === "outlined" ? g.push("outlined") : l.variant === "plain" && g.push("plain"), l.hideSelected && g.push("hide-selected"), _.value && (_.value.icon || _.value.image) ? g.push("prepend") : g.push("no-prepend"), g.join(" ");
|
|
2516
|
+
}), m = H(() => i.default !== void 0), y = H(() => {
|
|
2517
|
+
if (l.items && l.items.length > 0) {
|
|
2518
2518
|
if (M.value.trim() === "")
|
|
2519
|
-
return
|
|
2519
|
+
return l.items;
|
|
2520
2520
|
const g = M.value.toLowerCase();
|
|
2521
|
-
return
|
|
2521
|
+
return l.items.filter((Q) => {
|
|
2522
2522
|
var O;
|
|
2523
2523
|
return !!((O = Q == null ? void 0 : Q.title) != null && O.toLowerCase().includes(g));
|
|
2524
2524
|
});
|
|
2525
2525
|
}
|
|
2526
2526
|
return [];
|
|
2527
|
-
}), B =
|
|
2528
|
-
function
|
|
2527
|
+
}), B = H(() => l.useDialog === "always" ? !0 : l.useDialog === "never" ? !1 : window.innerWidth < 768);
|
|
2528
|
+
function U() {
|
|
2529
2529
|
C.value || Z1(), C.value = !C.value, C.value && (B.value ? k1(() => {
|
|
2530
2530
|
var g;
|
|
2531
2531
|
(g = p == null ? void 0 : p.value) == null || g.addEventListener("scroll", () => {
|
|
@@ -2534,20 +2534,20 @@ const fo = { class: "q-dropdown-menu" }, po = { class: "q-dropdown-menu-inner na
|
|
|
2534
2534
|
}, 100)();
|
|
2535
2535
|
});
|
|
2536
2536
|
}, 1e3)() : setTimeout(() => {
|
|
2537
|
-
const g =
|
|
2537
|
+
const g = a == null ? void 0 : a.value, Q = g == null ? void 0 : g.querySelector(".q-menu");
|
|
2538
2538
|
Q.getBoundingClientRect().left < 0 && (Q.style.left = "0");
|
|
2539
2539
|
}, 10));
|
|
2540
2540
|
}
|
|
2541
2541
|
function R(g) {
|
|
2542
|
-
C.value = !1, _.value = g,
|
|
2542
|
+
C.value = !1, _.value = g, c("change", g);
|
|
2543
2543
|
}
|
|
2544
2544
|
return t1(
|
|
2545
|
-
() =>
|
|
2545
|
+
() => l.initialItem,
|
|
2546
2546
|
() => {
|
|
2547
|
-
|
|
2547
|
+
l.initialItem && (_.value = l.initialItem);
|
|
2548
2548
|
}
|
|
2549
2549
|
), d1(() => {
|
|
2550
|
-
|
|
2550
|
+
l.initialItem && (_.value = l.initialItem), window.addEventListener("storage", (g) => {
|
|
2551
2551
|
g.key === "quailui_global_popup_trigger" && g.newValue && (C.value = !1);
|
|
2552
2552
|
});
|
|
2553
2553
|
}), (g, Q) => {
|
|
@@ -2556,7 +2556,7 @@ const fo = { class: "q-dropdown-menu" }, po = { class: "q-dropdown-menu-inner na
|
|
|
2556
2556
|
o("div", po, [
|
|
2557
2557
|
o("div", {
|
|
2558
2558
|
class: Z(["q-dropdown-menu-action touchable", $.value]),
|
|
2559
|
-
onClick: $1(
|
|
2559
|
+
onClick: $1(U, ["stop"])
|
|
2560
2560
|
}, [
|
|
2561
2561
|
!e.hideSelected && _.value && !m.value ? (n(), s("div", wo, [
|
|
2562
2562
|
_.value.image ? (n(), s("img", {
|
|
@@ -2568,7 +2568,7 @@ const fo = { class: "q-dropdown-menu" }, po = { class: "q-dropdown-menu-inner na
|
|
|
2568
2568
|
key: 1,
|
|
2569
2569
|
class: "icon menu-icon"
|
|
2570
2570
|
})) : q("", !0),
|
|
2571
|
-
e.hideActionLabel ? q("", !0) : (n(), s("div", vo,
|
|
2571
|
+
e.hideActionLabel ? q("", !0) : (n(), s("div", vo, W(_.value ? _.value.title : l.placeholder || "Select ..."), 1))
|
|
2572
2572
|
])) : q("", !0),
|
|
2573
2573
|
s1(g.$slots, "default"),
|
|
2574
2574
|
T(O, { class: "icon chevron-icon" })
|
|
@@ -2576,7 +2576,7 @@ const fo = { class: "q-dropdown-menu" }, po = { class: "q-dropdown-menu-inner na
|
|
|
2576
2576
|
B.value ? q("", !0) : (n(), s("div", {
|
|
2577
2577
|
key: 0,
|
|
2578
2578
|
ref_key: "menuWrapper",
|
|
2579
|
-
ref:
|
|
2579
|
+
ref: a
|
|
2580
2580
|
}, [
|
|
2581
2581
|
T(v1, null, {
|
|
2582
2582
|
default: E(() => [
|
|
@@ -2597,7 +2597,7 @@ const fo = { class: "q-dropdown-menu" }, po = { class: "q-dropdown-menu-inner na
|
|
|
2597
2597
|
}, {
|
|
2598
2598
|
default: E(() => [
|
|
2599
2599
|
o("div", $o, [
|
|
2600
|
-
|
|
2600
|
+
l.useFilter ? (n(), s("div", mo, [
|
|
2601
2601
|
i1(o("input", {
|
|
2602
2602
|
type: "text",
|
|
2603
2603
|
class: "filter-input text-field",
|
|
@@ -2611,7 +2611,7 @@ const fo = { class: "q-dropdown-menu" }, po = { class: "q-dropdown-menu-inner na
|
|
|
2611
2611
|
class: Z(["scroll-area", f.value]),
|
|
2612
2612
|
ref_key: "scrollArea",
|
|
2613
2613
|
ref: p,
|
|
2614
|
-
style: a1({ height:
|
|
2614
|
+
style: a1({ height: l.scrollHeight, maxHeight: l.scrollHeight })
|
|
2615
2615
|
}, [
|
|
2616
2616
|
y.value ? (n(), A(n1, {
|
|
2617
2617
|
key: 0,
|
|
@@ -2622,7 +2622,7 @@ const fo = { class: "q-dropdown-menu" }, po = { class: "q-dropdown-menu-inner na
|
|
|
2622
2622
|
}, null, 8, ["items"])) : (n(), s("div", {
|
|
2623
2623
|
key: 1,
|
|
2624
2624
|
class: "empty-hint flow place-center",
|
|
2625
|
-
textContent:
|
|
2625
|
+
textContent: W(e.emptyHit)
|
|
2626
2626
|
}, null, 8, ko))
|
|
2627
2627
|
], 6)
|
|
2628
2628
|
])
|
|
@@ -2659,7 +2659,7 @@ const Mo = { class: "q-pagination" }, yo = {
|
|
|
2659
2659
|
},
|
|
2660
2660
|
emits: ["change:next", "change:prev", "change:goto", "update:modelValue"],
|
|
2661
2661
|
setup(e, { emit: t }) {
|
|
2662
|
-
const i = e,
|
|
2662
|
+
const i = e, l = H(() => {
|
|
2663
2663
|
let f = 6;
|
|
2664
2664
|
const M = [];
|
|
2665
2665
|
if (i.totalPage !== 0)
|
|
@@ -2668,26 +2668,26 @@ const Mo = { class: "q-pagination" }, yo = {
|
|
|
2668
2668
|
M.push({ label: $ });
|
|
2669
2669
|
else {
|
|
2670
2670
|
M.push({ label: 1 });
|
|
2671
|
-
let $ =
|
|
2671
|
+
let $ = c.value - 2, m = c.value + 2;
|
|
2672
2672
|
$ < 2 && ($ = 2, m = $ + f - 2), m > i.totalPage - 1 && (m = i.totalPage - 1, $ = m - f + 2), $ > 2 && M.push({ label: "…", disabled: !0 });
|
|
2673
2673
|
for (let y = $; y <= m; y++)
|
|
2674
2674
|
M.push({ label: y });
|
|
2675
2675
|
m < i.totalPage - 1 && M.push({ label: "…", disabled: !0 }), M.push({ label: i.totalPage });
|
|
2676
2676
|
}
|
|
2677
2677
|
return M;
|
|
2678
|
-
}),
|
|
2678
|
+
}), c = b(i.modelValue);
|
|
2679
2679
|
t1(() => i.modelValue, (f) => {
|
|
2680
|
-
|
|
2680
|
+
c.value = f;
|
|
2681
2681
|
});
|
|
2682
2682
|
const C = t;
|
|
2683
2683
|
function _() {
|
|
2684
|
-
|
|
2684
|
+
c.value--, C("change:prev", c.value), C("update:modelValue", c.value);
|
|
2685
2685
|
}
|
|
2686
|
-
function
|
|
2687
|
-
|
|
2686
|
+
function a() {
|
|
2687
|
+
c.value++, C("change:next", c.value), C("update:modelValue", c.value);
|
|
2688
2688
|
}
|
|
2689
2689
|
function p(f, M) {
|
|
2690
|
-
M.disabled || (
|
|
2690
|
+
M.disabled || (c.value = f, C("change:goto", c.value), C("update:modelValue", c.value));
|
|
2691
2691
|
}
|
|
2692
2692
|
return (f, M) => {
|
|
2693
2693
|
const $ = z("q-button");
|
|
@@ -2703,14 +2703,14 @@ const Mo = { class: "q-pagination" }, yo = {
|
|
|
2703
2703
|
_: 1
|
|
2704
2704
|
}, 8, ["disabled"]),
|
|
2705
2705
|
e.totalPage !== 0 ? (n(), s("div", yo, [
|
|
2706
|
-
(n(!0), s(u1, null, x1(
|
|
2706
|
+
(n(!0), s(u1, null, x1(l.value, (m) => (n(), s("div", Lo, [
|
|
2707
2707
|
T($, {
|
|
2708
|
-
class: Z(["q-page-indicator sm outlined", m.label ===
|
|
2708
|
+
class: Z(["q-page-indicator sm outlined", m.label === c.value ? "active" : ""]),
|
|
2709
2709
|
disabled: m.disabled,
|
|
2710
2710
|
onClick: (y) => p(m.label, m)
|
|
2711
2711
|
}, {
|
|
2712
2712
|
default: E(() => [
|
|
2713
|
-
M1(
|
|
2713
|
+
M1(W(m.label), 1)
|
|
2714
2714
|
]),
|
|
2715
2715
|
_: 2
|
|
2716
2716
|
}, 1032, ["class", "disabled", "onClick"])
|
|
@@ -2720,13 +2720,13 @@ const Mo = { class: "q-pagination" }, yo = {
|
|
|
2720
2720
|
class: "outlined sm q-page-indicator-simple q-page-indicator"
|
|
2721
2721
|
}, {
|
|
2722
2722
|
default: E(() => [
|
|
2723
|
-
o("div", Ho,
|
|
2723
|
+
o("div", Ho, W(e.modelValue), 1)
|
|
2724
2724
|
]),
|
|
2725
2725
|
_: 1
|
|
2726
2726
|
})),
|
|
2727
2727
|
T($, {
|
|
2728
2728
|
class: "next sm outlined icon",
|
|
2729
|
-
onClick:
|
|
2729
|
+
onClick: a,
|
|
2730
2730
|
disabled: !i.hasNext
|
|
2731
2731
|
}, {
|
|
2732
2732
|
default: E(() => [
|
|
@@ -2761,13 +2761,13 @@ const bo = { class: "q-progress-slot" }, Io = /* @__PURE__ */ o("div", { class:
|
|
|
2761
2761
|
}
|
|
2762
2762
|
},
|
|
2763
2763
|
setup(e) {
|
|
2764
|
-
const t = e, i =
|
|
2765
|
-
return (
|
|
2764
|
+
const t = e, i = H(() => t.infinite ? "100%" : `${t.value / t.max * 100}%`), l = H(() => t.value >= t.max);
|
|
2765
|
+
return (c, C) => (n(), s("div", {
|
|
2766
2766
|
class: Z(["q-progress", e.color])
|
|
2767
2767
|
}, [
|
|
2768
2768
|
o("div", bo, [
|
|
2769
2769
|
o("div", {
|
|
2770
|
-
class: Z(["q-progress-bar",
|
|
2770
|
+
class: Z(["q-progress-bar", l.value ? "" : "animated"]),
|
|
2771
2771
|
style: a1({ width: i.value })
|
|
2772
2772
|
}, Qo, 6)
|
|
2773
2773
|
])
|
|
@@ -2796,8 +2796,8 @@ const jo = /* @__PURE__ */ P({
|
|
|
2796
2796
|
},
|
|
2797
2797
|
emits: ["change"],
|
|
2798
2798
|
setup(e, { emit: t }) {
|
|
2799
|
-
const i = t,
|
|
2800
|
-
let
|
|
2799
|
+
const i = t, l = e, c = b(null), C = H(() => {
|
|
2800
|
+
let a = [
|
|
2801
2801
|
{
|
|
2802
2802
|
flag: "🇺🇸",
|
|
2803
2803
|
title: "English",
|
|
@@ -2823,31 +2823,31 @@ const jo = /* @__PURE__ */ P({
|
|
|
2823
2823
|
action: _
|
|
2824
2824
|
}
|
|
2825
2825
|
];
|
|
2826
|
-
return
|
|
2826
|
+
return l.auto && a.unshift({
|
|
2827
2827
|
flag: "🌐",
|
|
2828
2828
|
title: "Auto",
|
|
2829
2829
|
value: "",
|
|
2830
2830
|
action: _
|
|
2831
|
-
}),
|
|
2831
|
+
}), a = a.map((p) => ({
|
|
2832
2832
|
...p,
|
|
2833
|
-
title:
|
|
2834
|
-
})),
|
|
2833
|
+
title: l.noFlag ? p.title : `${p.flag} ${p.title}`
|
|
2834
|
+
})), a;
|
|
2835
2835
|
});
|
|
2836
|
-
function _(
|
|
2837
|
-
|
|
2838
|
-
title:
|
|
2839
|
-
value:
|
|
2836
|
+
function _(a) {
|
|
2837
|
+
l.presist && localStorage.setItem("quail-language", a.value), i("change", {
|
|
2838
|
+
title: l.noFlag ? a.title_no_flag : a.title,
|
|
2839
|
+
value: a.value
|
|
2840
2840
|
});
|
|
2841
2841
|
}
|
|
2842
|
-
return t1(() =>
|
|
2843
|
-
|
|
2842
|
+
return t1(() => l.lang, (a) => {
|
|
2843
|
+
c.value = C.value.find((p) => a === p.value);
|
|
2844
2844
|
}), d1(() => {
|
|
2845
|
-
|
|
2846
|
-
}), (
|
|
2845
|
+
c.value = C.value.find((a) => l.lang === a.value || localStorage.getItem("quail-language") === a.value) || C.value[0];
|
|
2846
|
+
}), (a, p) => {
|
|
2847
2847
|
const f = z("QDropdownMenu");
|
|
2848
2848
|
return n(), A(f, {
|
|
2849
2849
|
items: C.value,
|
|
2850
|
-
"initial-item":
|
|
2850
|
+
"initial-item": c.value
|
|
2851
2851
|
}, null, 8, ["items", "initial-item"]);
|
|
2852
2852
|
};
|
|
2853
2853
|
}
|
|
@@ -2864,7 +2864,7 @@ const jo = /* @__PURE__ */ P({
|
|
|
2864
2864
|
},
|
|
2865
2865
|
setup(e) {
|
|
2866
2866
|
const t = e;
|
|
2867
|
-
return (i,
|
|
2867
|
+
return (i, l) => (n(), s("div", So, [
|
|
2868
2868
|
qo,
|
|
2869
2869
|
Zo,
|
|
2870
2870
|
o("div", Do, [
|
|
@@ -2876,7 +2876,7 @@ const jo = /* @__PURE__ */ P({
|
|
|
2876
2876
|
]));
|
|
2877
2877
|
}
|
|
2878
2878
|
});
|
|
2879
|
-
const Oo = /* @__PURE__ */ r(Po, [["__scopeId", "data-v-c163c615"]]), Fo = ["href"], To = ["href"], zo = ["href"],
|
|
2879
|
+
const Oo = /* @__PURE__ */ r(Po, [["__scopeId", "data-v-c163c615"]]), Fo = ["href"], To = ["href"], zo = ["href"], Uo = ["href"], Wo = /* @__PURE__ */ P({
|
|
2880
2880
|
__name: "QShare",
|
|
2881
2881
|
props: {
|
|
2882
2882
|
url: {
|
|
@@ -2893,44 +2893,44 @@ const Oo = /* @__PURE__ */ r(Po, [["__scopeId", "data-v-c163c615"]]), Fo = ["hre
|
|
|
2893
2893
|
}
|
|
2894
2894
|
},
|
|
2895
2895
|
setup(e) {
|
|
2896
|
-
const t = e, i =
|
|
2897
|
-
return (
|
|
2898
|
-
const
|
|
2896
|
+
const t = e, i = H(() => t.layout === "row" ? "q-share-layout-row" : t.layout === "column" ? "q-share-layout-column" : "q-share-layout-row"), l = H(() => t.url ? encodeURIComponent(t.url) : encodeURIComponent(window.location.href)), c = H(() => t.text ? encodeURIComponent(t.text) : encodeURIComponent(document.title));
|
|
2897
|
+
return (C, _) => {
|
|
2898
|
+
const a = z("q-icon-color-twitter"), p = z("q-icon-color-facebook"), f = z("q-icon-color-hackernews"), M = z("q-icon-color-linkedin");
|
|
2899
2899
|
return n(), s("div", {
|
|
2900
2900
|
class: Z(["q-share", i.value])
|
|
2901
2901
|
}, [
|
|
2902
2902
|
o("a", {
|
|
2903
|
-
href: `https://twitter.com/intent/tweet?url=${
|
|
2903
|
+
href: `https://twitter.com/intent/tweet?url=${l.value}&text=${c.value}`,
|
|
2904
2904
|
target: "_blank",
|
|
2905
2905
|
title: "Share on Twitter",
|
|
2906
2906
|
class: "q-share-link twitter"
|
|
2907
2907
|
}, [
|
|
2908
|
-
T(
|
|
2908
|
+
T(a, { class: "icon share-icon" })
|
|
2909
2909
|
], 8, Fo),
|
|
2910
2910
|
o("a", {
|
|
2911
|
-
href: `https://www.facebook.com/sharer.php?u=${
|
|
2911
|
+
href: `https://www.facebook.com/sharer.php?u=${l.value}`,
|
|
2912
2912
|
target: "_blank",
|
|
2913
2913
|
title: "Share on facebook",
|
|
2914
2914
|
class: "q-share-link facebook"
|
|
2915
2915
|
}, [
|
|
2916
|
-
T(
|
|
2916
|
+
T(p, { class: "icon share-icon" })
|
|
2917
2917
|
], 8, To),
|
|
2918
2918
|
o("a", {
|
|
2919
|
-
href: `https://news.ycombinator.com/submitlink?u=${
|
|
2919
|
+
href: `https://news.ycombinator.com/submitlink?u=${l.value}&t=${c.value}`,
|
|
2920
2920
|
target: "_blank",
|
|
2921
2921
|
title: "Share on hackernews",
|
|
2922
2922
|
class: "q-share-link hackernews"
|
|
2923
2923
|
}, [
|
|
2924
|
-
T(
|
|
2924
|
+
T(f, { class: "icon share-icon" })
|
|
2925
2925
|
], 8, zo),
|
|
2926
2926
|
o("a", {
|
|
2927
|
-
href: `https://www.linkedin.com/shareArticle?mini=true&url=${
|
|
2927
|
+
href: `https://www.linkedin.com/shareArticle?mini=true&url=${l.value}`,
|
|
2928
2928
|
target: "_blank",
|
|
2929
2929
|
title: "Share on linkedin",
|
|
2930
2930
|
class: "q-share-link linkedin"
|
|
2931
2931
|
}, [
|
|
2932
|
-
T(
|
|
2933
|
-
], 8,
|
|
2932
|
+
T(M, { class: "icon share-icon" })
|
|
2933
|
+
], 8, Uo)
|
|
2934
2934
|
], 2);
|
|
2935
2935
|
};
|
|
2936
2936
|
}
|
|
@@ -2957,20 +2957,20 @@ const No = ["src", "alt"], b1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjU2I
|
|
|
2957
2957
|
}
|
|
2958
2958
|
},
|
|
2959
2959
|
setup(e) {
|
|
2960
|
-
const t = e, i =
|
|
2960
|
+
const t = e, i = H(() => t.src || b1), l = H(() => {
|
|
2961
2961
|
const _ = [];
|
|
2962
2962
|
return t.variant === "circle" ? _.push("circle") : t.variant === "rounded" ? _.push("rounded") : t.variant === "square" && _.push("square"), _.join(" ");
|
|
2963
|
-
}),
|
|
2963
|
+
}), c = b({
|
|
2964
2964
|
width: `${t.size}px`,
|
|
2965
2965
|
height: `${t.size}px`
|
|
2966
2966
|
});
|
|
2967
2967
|
function C(_) {
|
|
2968
|
-
const
|
|
2969
|
-
|
|
2968
|
+
const a = _.target;
|
|
2969
|
+
a.src = b1;
|
|
2970
2970
|
}
|
|
2971
|
-
return (_,
|
|
2972
|
-
class: Z(["q-avatar",
|
|
2973
|
-
style: a1(
|
|
2971
|
+
return (_, a) => (n(), s("div", {
|
|
2972
|
+
class: Z(["q-avatar", l.value]),
|
|
2973
|
+
style: a1(c.value)
|
|
2974
2974
|
}, [
|
|
2975
2975
|
o("img", {
|
|
2976
2976
|
src: i.value,
|
|
@@ -3017,7 +3017,7 @@ const Eo = { class: "q-dropdown-menu-with-text-field" }, Go = { class: "q-dropdo
|
|
|
3017
3017
|
},
|
|
3018
3018
|
emits: ["change"],
|
|
3019
3019
|
setup(e, { emit: t }) {
|
|
3020
|
-
const i = e,
|
|
3020
|
+
const i = e, l = t, c = b(i.defaultText), C = b(i.defaultSelection), _ = b(null), a = H(() => i.fillActionLabel !== "" || i.hintText !== "");
|
|
3021
3021
|
function p(m) {
|
|
3022
3022
|
C.value = m, M();
|
|
3023
3023
|
}
|
|
@@ -3027,16 +3027,16 @@ const Eo = { class: "q-dropdown-menu-with-text-field" }, Go = { class: "q-dropdo
|
|
|
3027
3027
|
function M() {
|
|
3028
3028
|
const m = {
|
|
3029
3029
|
selected: C.value,
|
|
3030
|
-
text:
|
|
3030
|
+
text: c.value
|
|
3031
3031
|
};
|
|
3032
|
-
|
|
3032
|
+
l("change", m);
|
|
3033
3033
|
}
|
|
3034
3034
|
function $() {
|
|
3035
|
-
|
|
3035
|
+
c.value = i.fillActionValue, M();
|
|
3036
3036
|
}
|
|
3037
3037
|
return d1(() => {
|
|
3038
3038
|
k1(() => {
|
|
3039
|
-
C.value = i.defaultSelection,
|
|
3039
|
+
C.value = i.defaultSelection, c.value = i.defaultText, (C.value === null || C.value === void 0) && (C.value = i.items[0]), _.value.addEventListener("focus", () => {
|
|
3040
3040
|
_.value.select();
|
|
3041
3041
|
});
|
|
3042
3042
|
}, 300)();
|
|
@@ -3061,26 +3061,26 @@ const Eo = { class: "q-dropdown-menu-with-text-field" }, Go = { class: "q-dropdo
|
|
|
3061
3061
|
ref: _,
|
|
3062
3062
|
class: "q-text-field text-field",
|
|
3063
3063
|
placeholder: i.placeholder,
|
|
3064
|
-
"onUpdate:modelValue": y[0] || (y[0] = (
|
|
3064
|
+
"onUpdate:modelValue": y[0] || (y[0] = (U) => c.value = U),
|
|
3065
3065
|
onChange: f
|
|
3066
3066
|
}, null, 40, Xo), [
|
|
3067
|
-
[l1,
|
|
3067
|
+
[l1, c.value]
|
|
3068
3068
|
])
|
|
3069
3069
|
])
|
|
3070
3070
|
]),
|
|
3071
|
-
|
|
3071
|
+
a.value ? (n(), s("div", Ko, [
|
|
3072
3072
|
o("div", {
|
|
3073
3073
|
class: "fill-action text-xs plain flex",
|
|
3074
3074
|
onClick: $
|
|
3075
3075
|
}, [
|
|
3076
3076
|
o("span", {
|
|
3077
|
-
textContent:
|
|
3077
|
+
textContent: W(i.fillActionLabel)
|
|
3078
3078
|
}, null, 8, e8),
|
|
3079
3079
|
T(B1, { class: "icon" })
|
|
3080
3080
|
]),
|
|
3081
3081
|
o("div", t8, [
|
|
3082
3082
|
o("span", {
|
|
3083
|
-
textContent:
|
|
3083
|
+
textContent: W(i.hintText)
|
|
3084
3084
|
}, null, 8, n8)
|
|
3085
3085
|
])
|
|
3086
3086
|
])) : q("", !0)
|
|
@@ -3110,16 +3110,16 @@ const s8 = /* @__PURE__ */ r(o8, [["__scopeId", "data-v-a375fcf4"]]), i8 = (e) =
|
|
|
3110
3110
|
}
|
|
3111
3111
|
},
|
|
3112
3112
|
setup(e) {
|
|
3113
|
-
const t = e, i =
|
|
3114
|
-
const
|
|
3115
|
-
return
|
|
3116
|
-
}),
|
|
3117
|
-
return (
|
|
3113
|
+
const t = e, i = H(() => {
|
|
3114
|
+
const c = ["q-button touchable"];
|
|
3115
|
+
return c.push(t.class), t.loading && c.push("loading"), c.join(" ");
|
|
3116
|
+
}), l = H(() => !t.disabled);
|
|
3117
|
+
return (c, C) => (n(), s("button", {
|
|
3118
3118
|
class: Z(i.value),
|
|
3119
|
-
disabled: !
|
|
3119
|
+
disabled: !l.value
|
|
3120
3120
|
}, [
|
|
3121
3121
|
t.loading ? (n(), s("div", c8, a8)) : q("", !0),
|
|
3122
|
-
s1(
|
|
3122
|
+
s1(c.$slots, "default", {}, void 0, !0)
|
|
3123
3123
|
], 10, r8));
|
|
3124
3124
|
}
|
|
3125
3125
|
});
|
|
@@ -3137,20 +3137,20 @@ const u8 = /* @__PURE__ */ r(d8, [["__scopeId", "data-v-c02574b3"]]), _8 = { cla
|
|
|
3137
3137
|
},
|
|
3138
3138
|
emits: ["change"],
|
|
3139
3139
|
setup(e, { emit: t }) {
|
|
3140
|
-
const i = e,
|
|
3141
|
-
function C(_,
|
|
3142
|
-
|
|
3140
|
+
const i = e, l = t, c = b(i.initialIndex);
|
|
3141
|
+
function C(_, a) {
|
|
3142
|
+
c.value = _, l("change", { index: _, tab: a });
|
|
3143
3143
|
}
|
|
3144
|
-
return (_,
|
|
3144
|
+
return (_, a) => {
|
|
3145
3145
|
const p = z("QButton");
|
|
3146
3146
|
return n(), s("div", _8, [
|
|
3147
3147
|
(n(!0), s(u1, null, x1(e.tabs, (f, M) => (n(), A(p, {
|
|
3148
|
-
class: Z(["q-tab-button sm",
|
|
3148
|
+
class: Z(["q-tab-button sm", c.value === M ? "outlined selected" : "plain"]),
|
|
3149
3149
|
key: `tab-button-${M}`,
|
|
3150
3150
|
onClick: ($) => C(M, f)
|
|
3151
3151
|
}, {
|
|
3152
3152
|
default: E(() => [
|
|
3153
|
-
M1(
|
|
3153
|
+
M1(W(f.title), 1)
|
|
3154
3154
|
]),
|
|
3155
3155
|
_: 2
|
|
3156
3156
|
}, 1032, ["class", "onClick"]))), 128))
|
|
@@ -3166,14 +3166,14 @@ const C8 = /* @__PURE__ */ r(h8, [["__scopeId", "data-v-b2c130c1"]]), f8 = /* @_
|
|
|
3166
3166
|
QDialog: P3,
|
|
3167
3167
|
QDropdownMenu: xo,
|
|
3168
3168
|
QDropdownMenuWithTextField: s8,
|
|
3169
|
-
QFence:
|
|
3169
|
+
QFence: U3,
|
|
3170
3170
|
QLanguageSelector: jo,
|
|
3171
3171
|
QLoading: R3,
|
|
3172
3172
|
QMenu: so,
|
|
3173
3173
|
QPackCover: Oo,
|
|
3174
3174
|
QPagination: Vo,
|
|
3175
3175
|
QProgress: Bo,
|
|
3176
|
-
QShare:
|
|
3176
|
+
QShare: Wo,
|
|
3177
3177
|
QSwitch: lo,
|
|
3178
3178
|
QTabs: C8,
|
|
3179
3179
|
QTextFieldWithButton: Co
|
|
@@ -3181,10 +3181,10 @@ const C8 = /* @__PURE__ */ r(h8, [["__scopeId", "data-v-b2c130c1"]]), f8 = /* @_
|
|
|
3181
3181
|
const w8 = {
|
|
3182
3182
|
install(e, t) {
|
|
3183
3183
|
t != null && t.debug && console.log("options", t);
|
|
3184
|
-
for (const [i,
|
|
3185
|
-
t != null && t.debug && console.log("[quail-ui] register icon component", i,
|
|
3186
|
-
for (const [i,
|
|
3187
|
-
t != null && t.debug && console.log("[quail-ui] register common component", i,
|
|
3184
|
+
for (const [i, l] of Object.entries(L3))
|
|
3185
|
+
t != null && t.debug && console.log("[quail-ui] register icon component", i, l), e.component(i, l);
|
|
3186
|
+
for (const [i, l] of Object.entries(f8))
|
|
3187
|
+
t != null && t.debug && console.log("[quail-ui] register common component", i, l), e.component(i, l);
|
|
3188
3188
|
document.body.addEventListener("click", (i) => {
|
|
3189
3189
|
Z1();
|
|
3190
3190
|
});
|