quail-ui 0.2.46 → 0.2.47
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 +100 -96
- 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,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as n, createElementBlock as s, createElementVNode as o, createStaticVNode as A, defineComponent as O, ref as B, watch as J, onMounted as _1, withDirectives as a1, vModelText as p1, computed as Q, nextTick as
|
|
1
|
+
import { openBlock as n, createElementBlock as s, createElementVNode as o, createStaticVNode as A, defineComponent as O, ref as B, watch as J, onMounted as _1, withDirectives as a1, vModelText as p1, computed as Q, nextTick as S1, Fragment as h1, renderSlot as s1, createBlock as j, Transition as w1, withCtx as g1, normalizeClass as D, normalizeStyle as v1, withModifiers as $1, createCommentVNode as P, toDisplayString as T, getCurrentInstance as z1, unref as l1, resolveDynamicComponent as d1, renderList as y1, resolveComponent as F, vModelCheckbox as I1, useSlots as B1, createVNode as E, pushScopeId as q1, popScopeId as Z1 } from "vue";
|
|
2
2
|
const r = (t, e) => {
|
|
3
3
|
const i = t.__vccOpts || t;
|
|
4
4
|
for (const [_, u] of e)
|
|
@@ -155,23 +155,23 @@ const M2 = /* @__PURE__ */ r(g2, [["render", k2]]), x2 = {}, y2 = {
|
|
|
155
155
|
function H2(t, e) {
|
|
156
156
|
return n(), s("svg", y2, V2);
|
|
157
157
|
}
|
|
158
|
-
const b2 = /* @__PURE__ */ r(x2, [["render", H2]]), Q2 = {},
|
|
158
|
+
const b2 = /* @__PURE__ */ r(x2, [["render", H2]]), Q2 = {}, S2 = {
|
|
159
159
|
width: "24",
|
|
160
160
|
height: "24",
|
|
161
161
|
viewBox: "0 0 24 24",
|
|
162
162
|
fill: "none",
|
|
163
163
|
xmlns: "http://www.w3.org/2000/svg"
|
|
164
|
-
},
|
|
164
|
+
}, z2 = /* @__PURE__ */ o("path", {
|
|
165
165
|
d: "M18 15L12 9L6 15",
|
|
166
166
|
stroke: "currentColor",
|
|
167
167
|
"stroke-width": "2",
|
|
168
168
|
"stroke-linecap": "round",
|
|
169
169
|
"stroke-linejoin": "round"
|
|
170
|
-
}, null, -1),
|
|
171
|
-
|
|
170
|
+
}, null, -1), I2 = [
|
|
171
|
+
z2
|
|
172
172
|
];
|
|
173
173
|
function B2(t, e) {
|
|
174
|
-
return n(), s("svg",
|
|
174
|
+
return n(), s("svg", S2, I2);
|
|
175
175
|
}
|
|
176
176
|
const q2 = /* @__PURE__ */ r(Q2, [["render", B2]]), Z2 = {}, j2 = {
|
|
177
177
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -296,23 +296,23 @@ const Mt = /* @__PURE__ */ r(gt, [["render", kt]]), xt = {}, yt = {
|
|
|
296
296
|
function Ht(t, e) {
|
|
297
297
|
return n(), s("svg", yt, Vt);
|
|
298
298
|
}
|
|
299
|
-
const bt = /* @__PURE__ */ r(xt, [["render", Ht]]), Qt = {},
|
|
299
|
+
const bt = /* @__PURE__ */ r(xt, [["render", Ht]]), Qt = {}, St = {
|
|
300
300
|
width: "24",
|
|
301
301
|
height: "24",
|
|
302
302
|
viewBox: "0 0 24 24",
|
|
303
303
|
fill: "none",
|
|
304
304
|
xmlns: "http://www.w3.org/2000/svg"
|
|
305
|
-
},
|
|
305
|
+
}, zt = /* @__PURE__ */ o("path", {
|
|
306
306
|
d: "M16 8.00007L2 22.0001M18 15.0001H9M6.6 19.0001H13.3373C13.5818 19.0001 13.7041 19.0001 13.8192 18.9724C13.9213 18.9479 14.0188 18.9075 14.1083 18.8527C14.2092 18.7909 14.2957 18.7044 14.4686 18.5314L19.5 13.5001C19.739 13.2611 19.8584 13.1416 19.9546 13.0358C22.0348 10.7474 22.0348 7.25275 19.9546 4.9643C19.8584 4.85851 19.739 4.73903 19.5 4.50007C19.261 4.26111 19.1416 4.14163 19.0358 4.04547C16.7473 1.96531 13.2527 1.96531 10.9642 4.04547C10.8584 4.14163 10.739 4.26111 10.5 4.50007L5.46863 9.53144C5.29568 9.70439 5.2092 9.79087 5.14736 9.89179C5.09253 9.98126 5.05213 10.0788 5.02763 10.1808C5 10.2959 5 10.4182 5 10.6628V17.4001C5 17.9601 5 18.2401 5.10899 18.4541C5.20487 18.6422 5.35785 18.7952 5.54601 18.8911C5.75992 19.0001 6.03995 19.0001 6.6 19.0001Z",
|
|
307
307
|
stroke: "currentColor",
|
|
308
308
|
"stroke-width": "2",
|
|
309
309
|
"stroke-linecap": "round",
|
|
310
310
|
"stroke-linejoin": "round"
|
|
311
|
-
}, null, -1),
|
|
312
|
-
|
|
311
|
+
}, null, -1), It = [
|
|
312
|
+
zt
|
|
313
313
|
];
|
|
314
314
|
function Bt(t, e) {
|
|
315
|
-
return n(), s("svg",
|
|
315
|
+
return n(), s("svg", St, It);
|
|
316
316
|
}
|
|
317
317
|
const qt = /* @__PURE__ */ r(Qt, [["render", Bt]]), Zt = {}, jt = {
|
|
318
318
|
width: "24",
|
|
@@ -464,19 +464,19 @@ const He = /* @__PURE__ */ r(Me, [["render", Ve]]), be = {}, Qe = {
|
|
|
464
464
|
viewBox: "0 0 24 24",
|
|
465
465
|
fill: "none",
|
|
466
466
|
xmlns: "http://www.w3.org/2000/svg"
|
|
467
|
-
},
|
|
467
|
+
}, Se = /* @__PURE__ */ o("path", {
|
|
468
468
|
d: "M3 12H21M3 6H21M3 18H15",
|
|
469
469
|
stroke: "currentColor",
|
|
470
470
|
"stroke-width": "2",
|
|
471
471
|
"stroke-linecap": "round",
|
|
472
472
|
"stroke-linejoin": "round"
|
|
473
|
-
}, null, -1),
|
|
474
|
-
|
|
473
|
+
}, null, -1), ze = [
|
|
474
|
+
Se
|
|
475
475
|
];
|
|
476
|
-
function
|
|
477
|
-
return n(), s("svg", Qe,
|
|
476
|
+
function Ie(t, e) {
|
|
477
|
+
return n(), s("svg", Qe, ze);
|
|
478
478
|
}
|
|
479
|
-
const Be = /* @__PURE__ */ r(be, [["render",
|
|
479
|
+
const Be = /* @__PURE__ */ r(be, [["render", Ie]]), qe = {}, Ze = {
|
|
480
480
|
width: "24",
|
|
481
481
|
height: "24",
|
|
482
482
|
viewBox: "0 0 24 24",
|
|
@@ -632,25 +632,25 @@ const x4 = /* @__PURE__ */ r(v4, [["render", M4]]), y4 = {}, L4 = {
|
|
|
632
632
|
function b4(t, e) {
|
|
633
633
|
return n(), s("svg", L4, H4);
|
|
634
634
|
}
|
|
635
|
-
const Q4 = /* @__PURE__ */ r(y4, [["render", b4]]),
|
|
635
|
+
const Q4 = /* @__PURE__ */ r(y4, [["render", b4]]), S4 = {}, z4 = {
|
|
636
636
|
width: "24",
|
|
637
637
|
height: "24",
|
|
638
638
|
viewBox: "0 0 24 24",
|
|
639
639
|
fill: "none",
|
|
640
640
|
xmlns: "http://www.w3.org/2000/svg"
|
|
641
|
-
},
|
|
641
|
+
}, I4 = /* @__PURE__ */ o("path", {
|
|
642
642
|
d: "M16 6V5.2C16 4.0799 16 3.51984 15.782 3.09202C15.5903 2.71569 15.2843 2.40973 14.908 2.21799C14.4802 2 13.9201 2 12.8 2H11.2C10.0799 2 9.51984 2 9.09202 2.21799C8.71569 2.40973 8.40973 2.71569 8.21799 3.09202C8 3.51984 8 4.0799 8 5.2V6M10 11.5V16.5M14 11.5V16.5M3 6H21M19 6V17.2C19 18.8802 19 19.7202 18.673 20.362C18.3854 20.9265 17.9265 21.3854 17.362 21.673C16.7202 22 15.8802 22 14.2 22H9.8C8.11984 22 7.27976 22 6.63803 21.673C6.07354 21.3854 5.6146 20.9265 5.32698 20.362C5 19.7202 5 18.8802 5 17.2V6",
|
|
643
643
|
stroke: "currentColor",
|
|
644
644
|
"stroke-width": "2",
|
|
645
645
|
"stroke-linecap": "round",
|
|
646
646
|
"stroke-linejoin": "round"
|
|
647
647
|
}, null, -1), B4 = [
|
|
648
|
-
|
|
648
|
+
I4
|
|
649
649
|
];
|
|
650
650
|
function q4(t, e) {
|
|
651
|
-
return n(), s("svg",
|
|
651
|
+
return n(), s("svg", z4, B4);
|
|
652
652
|
}
|
|
653
|
-
const Z4 = /* @__PURE__ */ r(
|
|
653
|
+
const Z4 = /* @__PURE__ */ r(S4, [["render", q4]]), j4 = {}, D4 = {
|
|
654
654
|
width: "24",
|
|
655
655
|
height: "24",
|
|
656
656
|
viewBox: "0 0 24 24",
|
|
@@ -785,25 +785,25 @@ const x0 = /* @__PURE__ */ r(v0, [["render", M0]]), y0 = {}, L0 = {
|
|
|
785
785
|
function b0(t, e) {
|
|
786
786
|
return n(), s("svg", L0, H0);
|
|
787
787
|
}
|
|
788
|
-
const Q0 = /* @__PURE__ */ r(y0, [["render", b0]]),
|
|
788
|
+
const Q0 = /* @__PURE__ */ r(y0, [["render", b0]]), S0 = {}, z0 = {
|
|
789
789
|
width: "24",
|
|
790
790
|
height: "24",
|
|
791
791
|
viewBox: "0 0 24 24",
|
|
792
792
|
fill: "none",
|
|
793
793
|
xmlns: "http://www.w3.org/2000/svg"
|
|
794
|
-
},
|
|
794
|
+
}, I0 = /* @__PURE__ */ o("path", {
|
|
795
795
|
d: "M20 10V6.8C20 5.11984 20 4.27976 19.673 3.63803C19.3854 3.07354 18.9265 2.6146 18.362 2.32698C17.7202 2 16.8802 2 15.2 2H8.8C7.11984 2 6.27976 2 5.63803 2.32698C5.07354 2.6146 4.6146 3.07354 4.32698 3.63803C4 4.27976 4 5.11984 4 6.8V17.2C4 18.8802 4 19.7202 4.32698 20.362C4.6146 20.9265 5.07354 21.3854 5.63803 21.673C6.27976 22 7.11984 22 8.8 22H10.5M13 11H8M11 15H8M16 7H8M19.25 17V15.25C19.25 14.2835 18.4665 13.5 17.5 13.5C16.5335 13.5 15.75 14.2835 15.75 15.25V17M15.6 21H19.4C19.9601 21 20.2401 21 20.454 20.891C20.6422 20.7951 20.7951 20.6422 20.891 20.454C21 20.2401 21 19.9601 21 19.4V18.6C21 18.0399 21 17.7599 20.891 17.546C20.7951 17.3578 20.6422 17.2049 20.454 17.109C20.2401 17 19.9601 17 19.4 17H15.6C15.0399 17 14.7599 17 14.546 17.109C14.3578 17.2049 14.2049 17.3578 14.109 17.546C14 17.7599 14 18.0399 14 18.6V19.4C14 19.9601 14 20.2401 14.109 20.454C14.2049 20.6422 14.3578 20.7951 14.546 20.891C14.7599 21 15.0399 21 15.6 21Z",
|
|
796
796
|
stroke: "currentColor",
|
|
797
797
|
"stroke-width": "2",
|
|
798
798
|
"stroke-linecap": "round",
|
|
799
799
|
"stroke-linejoin": "round"
|
|
800
800
|
}, null, -1), B0 = [
|
|
801
|
-
|
|
801
|
+
I0
|
|
802
802
|
];
|
|
803
803
|
function q0(t, e) {
|
|
804
|
-
return n(), s("svg",
|
|
804
|
+
return n(), s("svg", z0, B0);
|
|
805
805
|
}
|
|
806
|
-
const Z0 = /* @__PURE__ */ r(
|
|
806
|
+
const Z0 = /* @__PURE__ */ r(S0, [["render", q0]]), j0 = {}, D0 = {
|
|
807
807
|
width: "24",
|
|
808
808
|
height: "24",
|
|
809
809
|
viewBox: "0 0 24 24",
|
|
@@ -944,19 +944,19 @@ const Hn = /* @__PURE__ */ r(Mn, [["render", Vn]]), bn = {}, Qn = {
|
|
|
944
944
|
viewBox: "0 0 24 24",
|
|
945
945
|
fill: "none",
|
|
946
946
|
xmlns: "http://www.w3.org/2000/svg"
|
|
947
|
-
},
|
|
947
|
+
}, Sn = /* @__PURE__ */ o("path", {
|
|
948
948
|
d: "M9 11L11 13L15.5 8.5M11.9932 5.13581C9.9938 2.7984 6.65975 2.16964 4.15469 4.31001C1.64964 6.45038 1.29697 10.029 3.2642 12.5604C4.75009 14.4724 8.97129 18.311 10.948 20.0749C11.3114 20.3991 11.4931 20.5613 11.7058 20.6251C11.8905 20.6805 12.0958 20.6805 12.2805 20.6251C12.4932 20.5613 12.6749 20.3991 13.0383 20.0749C15.015 18.311 19.2362 14.4724 20.7221 12.5604C22.6893 10.029 22.3797 6.42787 19.8316 4.31001C17.2835 2.19216 13.9925 2.7984 11.9932 5.13581Z",
|
|
949
949
|
stroke: "currentColor",
|
|
950
950
|
"stroke-width": "2",
|
|
951
951
|
"stroke-linecap": "round",
|
|
952
952
|
"stroke-linejoin": "round"
|
|
953
|
-
}, null, -1),
|
|
954
|
-
|
|
953
|
+
}, null, -1), zn = [
|
|
954
|
+
Sn
|
|
955
955
|
];
|
|
956
|
-
function
|
|
957
|
-
return n(), s("svg", Qn,
|
|
956
|
+
function In(t, e) {
|
|
957
|
+
return n(), s("svg", Qn, zn);
|
|
958
958
|
}
|
|
959
|
-
const Bn = /* @__PURE__ */ r(bn, [["render",
|
|
959
|
+
const Bn = /* @__PURE__ */ r(bn, [["render", In]]), qn = {}, Zn = {
|
|
960
960
|
width: "24",
|
|
961
961
|
height: "24",
|
|
962
962
|
viewBox: "0 0 24 24",
|
|
@@ -1107,23 +1107,23 @@ const M7 = /* @__PURE__ */ r(g7, [["render", k7]]), x7 = {}, y7 = {
|
|
|
1107
1107
|
function H7(t, e) {
|
|
1108
1108
|
return n(), s("svg", y7, V7);
|
|
1109
1109
|
}
|
|
1110
|
-
const b7 = /* @__PURE__ */ r(x7, [["render", H7]]), Q7 = {},
|
|
1110
|
+
const b7 = /* @__PURE__ */ r(x7, [["render", H7]]), Q7 = {}, S7 = {
|
|
1111
1111
|
width: "24",
|
|
1112
1112
|
height: "24",
|
|
1113
1113
|
viewBox: "0 0 24 24",
|
|
1114
1114
|
fill: "none",
|
|
1115
1115
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1116
|
-
},
|
|
1116
|
+
}, z7 = /* @__PURE__ */ o("path", {
|
|
1117
1117
|
d: "M12 4V15.2C12 16.8802 12 17.7202 12.327 18.362C12.6146 18.9265 13.0735 19.3854 13.638 19.673C14.2798 20 15.1198 20 16.8 20H17M17 20C17 21.1046 17.8954 22 19 22C20.1046 22 21 21.1046 21 20C21 18.8954 20.1046 18 19 18C17.8954 18 17 18.8954 17 20ZM7 4L17 4M7 4C7 5.10457 6.10457 6 5 6C3.89543 6 3 5.10457 3 4C3 2.89543 3.89543 2 5 2C6.10457 2 7 2.89543 7 4ZM17 4C17 5.10457 17.8954 6 19 6C20.1046 6 21 5.10457 21 4C21 2.89543 20.1046 2 19 2C17.8954 2 17 2.89543 17 4ZM12 12H17M17 12C17 13.1046 17.8954 14 19 14C20.1046 14 21 13.1046 21 12C21 10.8954 20.1046 10 19 10C17.8954 10 17 10.8954 17 12Z",
|
|
1118
1118
|
stroke: "currentColor",
|
|
1119
1119
|
"stroke-width": "2",
|
|
1120
1120
|
"stroke-linecap": "round",
|
|
1121
1121
|
"stroke-linejoin": "round"
|
|
1122
|
-
}, null, -1),
|
|
1123
|
-
|
|
1122
|
+
}, null, -1), I7 = [
|
|
1123
|
+
z7
|
|
1124
1124
|
];
|
|
1125
1125
|
function B7(t, e) {
|
|
1126
|
-
return n(), s("svg",
|
|
1126
|
+
return n(), s("svg", S7, I7);
|
|
1127
1127
|
}
|
|
1128
1128
|
const q7 = /* @__PURE__ */ r(Q7, [["render", B7]]), Z7 = {}, j7 = {
|
|
1129
1129
|
width: "24",
|
|
@@ -1251,13 +1251,13 @@ const V5 = /* @__PURE__ */ r(k5, [["render", L5]]), H5 = {}, b5 = {
|
|
|
1251
1251
|
viewBox: "0 0 24 24",
|
|
1252
1252
|
fill: "none",
|
|
1253
1253
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1254
|
-
}, Q5 = /* @__PURE__ */ A('<g clip-path="url(#clip0_333_2)"><mask id="mask0_333_2" style="mask-type:luminance;" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24"><path d="M24 0H0V24H24V0Z" fill="white"></path></mask><g mask="url(#mask0_333_2)"><path d="M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z" fill="url(#paint0_linear_333_2)"></path></g><path d="M7 5.08235H8.98333L12.1333 11.7529L15.2833 5H17.2667L12.9111 13.4V19H11.3556V13.4L7 5.08235Z" fill="white"></path></g><defs><linearGradient id="paint0_linear_333_2" x1="12" y1="0" x2="12" y2="23.9124" gradientUnits="userSpaceOnUse"><stop stop-color="#FF6600"></stop><stop offset="1" stop-color="#FF6600"></stop></linearGradient><clipPath id="clip0_333_2"><rect width="24" height="24" fill="white"></rect></clipPath></defs>', 2),
|
|
1254
|
+
}, Q5 = /* @__PURE__ */ A('<g clip-path="url(#clip0_333_2)"><mask id="mask0_333_2" style="mask-type:luminance;" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24"><path d="M24 0H0V24H24V0Z" fill="white"></path></mask><g mask="url(#mask0_333_2)"><path d="M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z" fill="url(#paint0_linear_333_2)"></path></g><path d="M7 5.08235H8.98333L12.1333 11.7529L15.2833 5H17.2667L12.9111 13.4V19H11.3556V13.4L7 5.08235Z" fill="white"></path></g><defs><linearGradient id="paint0_linear_333_2" x1="12" y1="0" x2="12" y2="23.9124" gradientUnits="userSpaceOnUse"><stop stop-color="#FF6600"></stop><stop offset="1" stop-color="#FF6600"></stop></linearGradient><clipPath id="clip0_333_2"><rect width="24" height="24" fill="white"></rect></clipPath></defs>', 2), S5 = [
|
|
1255
1255
|
Q5
|
|
1256
1256
|
];
|
|
1257
|
-
function
|
|
1258
|
-
return n(), s("svg", b5,
|
|
1257
|
+
function z5(t, e) {
|
|
1258
|
+
return n(), s("svg", b5, S5);
|
|
1259
1259
|
}
|
|
1260
|
-
const
|
|
1260
|
+
const I5 = /* @__PURE__ */ r(H5, [["render", z5]]), B5 = {}, q5 = {
|
|
1261
1261
|
width: "24",
|
|
1262
1262
|
height: "24",
|
|
1263
1263
|
viewBox: "0 0 24 24",
|
|
@@ -1301,7 +1301,7 @@ const E5 = /* @__PURE__ */ r(P5, [["render", U5]]), Y5 = /* @__PURE__ */ Object.
|
|
|
1301
1301
|
QIconColorDiscord: O5,
|
|
1302
1302
|
QIconColorFacebook: m5,
|
|
1303
1303
|
QIconColorFeed: x1,
|
|
1304
|
-
QIconColorHackernews:
|
|
1304
|
+
QIconColorHackernews: I5,
|
|
1305
1305
|
QIconColorLine: E5,
|
|
1306
1306
|
QIconColorLinkedin: V5,
|
|
1307
1307
|
QIconColorTelegram: M1,
|
|
@@ -1368,7 +1368,7 @@ var H1 = { exports: {} };
|
|
|
1368
1368
|
(function(i, _) {
|
|
1369
1369
|
t.exports = _();
|
|
1370
1370
|
})(W5, function() {
|
|
1371
|
-
var i = 1e3, _ = 6e4, u = 36e5, h = "millisecond", a = "second", p = "minute", $ = "hour", k = "day", m = "week", C = "month", x = "quarter",
|
|
1371
|
+
var i = 1e3, _ = 6e4, u = 36e5, h = "millisecond", a = "second", p = "minute", $ = "hour", k = "day", m = "week", C = "month", x = "quarter", S = "year", q = "date", Y = "Invalid Date", L = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, W = /\[([^\]]+)]|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, X = { 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(w) {
|
|
1372
1372
|
var d = ["th", "st", "nd", "rd"], c = w % 100;
|
|
1373
1373
|
return "[" + w + (d[(c - 20) % 10] || d[c] || d[0]) + "]";
|
|
1374
1374
|
} }, t1 = function(w, d, c) {
|
|
@@ -1385,7 +1385,7 @@ var H1 = { exports: {} };
|
|
|
1385
1385
|
}, a: function(w) {
|
|
1386
1386
|
return w < 0 ? Math.ceil(w) || 0 : Math.floor(w);
|
|
1387
1387
|
}, p: function(w) {
|
|
1388
|
-
return { M: C, y:
|
|
1388
|
+
return { M: C, y: S, w: m, d: k, D: q, h: $, m: p, s: a, ms: h, Q: x }[w] || String(w || "").toLowerCase().replace(/s$/, "");
|
|
1389
1389
|
}, u: function(w) {
|
|
1390
1390
|
return w === void 0;
|
|
1391
1391
|
} }, e1 = "en", N = {};
|
|
@@ -1460,20 +1460,20 @@ var H1 = { exports: {} };
|
|
|
1460
1460
|
}, d.valueOf = function() {
|
|
1461
1461
|
return this.$d.getTime();
|
|
1462
1462
|
}, d.startOf = function(c, f) {
|
|
1463
|
-
var l = this, g = !!M.u(f) || f, v = M.p(c), y = function(R,
|
|
1464
|
-
var U = M.w(l.$u ? Date.UTC(l.$y,
|
|
1463
|
+
var l = this, g = !!M.u(f) || f, v = M.p(c), y = function(R, I) {
|
|
1464
|
+
var U = M.w(l.$u ? Date.UTC(l.$y, I, R) : new Date(l.$y, I, R), l);
|
|
1465
1465
|
return g ? U : U.endOf(k);
|
|
1466
|
-
}, V = function(R,
|
|
1467
|
-
return M.w(l.toDate()[R].apply(l.toDate("s"), (g ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(
|
|
1468
|
-
}, b = this.$W,
|
|
1466
|
+
}, V = function(R, I) {
|
|
1467
|
+
return M.w(l.toDate()[R].apply(l.toDate("s"), (g ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(I)), l);
|
|
1468
|
+
}, b = this.$W, z = this.$M, Z = this.$D, K = "set" + (this.$u ? "UTC" : "");
|
|
1469
1469
|
switch (v) {
|
|
1470
|
-
case
|
|
1470
|
+
case S:
|
|
1471
1471
|
return g ? y(1, 0) : y(31, 11);
|
|
1472
1472
|
case C:
|
|
1473
|
-
return g ? y(1,
|
|
1473
|
+
return g ? y(1, z) : y(0, z + 1);
|
|
1474
1474
|
case m:
|
|
1475
1475
|
var G = this.$locale().weekStart || 0, n1 = (b < G ? b + 7 : b) - G;
|
|
1476
|
-
return y(g ? Z - n1 : Z + (6 - n1),
|
|
1476
|
+
return y(g ? Z - n1 : Z + (6 - n1), z);
|
|
1477
1477
|
case k:
|
|
1478
1478
|
case q:
|
|
1479
1479
|
return V(K + "Hours", 0);
|
|
@@ -1489,8 +1489,8 @@ var H1 = { exports: {} };
|
|
|
1489
1489
|
}, d.endOf = function(c) {
|
|
1490
1490
|
return this.startOf(c, !1);
|
|
1491
1491
|
}, d.$set = function(c, f) {
|
|
1492
|
-
var l, g = M.p(c), v = "set" + (this.$u ? "UTC" : ""), y = (l = {}, l[k] = v + "Date", l[q] = v + "Date", l[C] = v + "Month", l[
|
|
1493
|
-
if (g === C || g ===
|
|
1492
|
+
var l, g = M.p(c), v = "set" + (this.$u ? "UTC" : ""), y = (l = {}, l[k] = v + "Date", l[q] = v + "Date", l[C] = v + "Month", l[S] = v + "FullYear", l[$] = v + "Hours", l[p] = v + "Minutes", l[a] = v + "Seconds", l[h] = v + "Milliseconds", l)[g], V = g === k ? this.$D + (f - this.$W) : f;
|
|
1493
|
+
if (g === C || g === S) {
|
|
1494
1494
|
var b = this.clone().set(q, 1);
|
|
1495
1495
|
b.$d[y](V), b.init(), this.$d = b.set(q, Math.min(this.$D, b.daysInMonth())).$d;
|
|
1496
1496
|
} else
|
|
@@ -1503,14 +1503,14 @@ var H1 = { exports: {} };
|
|
|
1503
1503
|
}, d.add = function(c, f) {
|
|
1504
1504
|
var l, g = this;
|
|
1505
1505
|
c = Number(c);
|
|
1506
|
-
var v = M.p(f), y = function(
|
|
1506
|
+
var v = M.p(f), y = function(z) {
|
|
1507
1507
|
var Z = H(g);
|
|
1508
|
-
return M.w(Z.date(Z.date() + Math.round(
|
|
1508
|
+
return M.w(Z.date(Z.date() + Math.round(z * c)), g);
|
|
1509
1509
|
};
|
|
1510
1510
|
if (v === C)
|
|
1511
1511
|
return this.set(C, this.$M + c);
|
|
1512
|
-
if (v ===
|
|
1513
|
-
return this.set(
|
|
1512
|
+
if (v === S)
|
|
1513
|
+
return this.set(S, this.$y + c);
|
|
1514
1514
|
if (v === k)
|
|
1515
1515
|
return y(1);
|
|
1516
1516
|
if (v === m)
|
|
@@ -1523,15 +1523,15 @@ var H1 = { exports: {} };
|
|
|
1523
1523
|
var f = this, l = this.$locale();
|
|
1524
1524
|
if (!this.isValid())
|
|
1525
1525
|
return l.invalidDate || Y;
|
|
1526
|
-
var g = c || "YYYY-MM-DDTHH:mm:ssZ", v = M.z(this), y = this.$H, V = this.$m, b = this.$M,
|
|
1527
|
-
return
|
|
1528
|
-
}, n1 = function(
|
|
1529
|
-
return M.s(y % 12 || 12,
|
|
1530
|
-
}, R = K || function(
|
|
1531
|
-
var c1 =
|
|
1526
|
+
var g = c || "YYYY-MM-DDTHH:mm:ssZ", v = M.z(this), y = this.$H, V = this.$m, b = this.$M, z = l.weekdays, Z = l.months, K = l.meridiem, G = function(I, U, o1, c1) {
|
|
1527
|
+
return I && (I[U] || I(f, g)) || o1[U].slice(0, c1);
|
|
1528
|
+
}, n1 = function(I) {
|
|
1529
|
+
return M.s(y % 12 || 12, I, "0");
|
|
1530
|
+
}, R = K || function(I, U, o1) {
|
|
1531
|
+
var c1 = I < 12 ? "AM" : "PM";
|
|
1532
1532
|
return o1 ? c1.toLowerCase() : c1;
|
|
1533
1533
|
};
|
|
1534
|
-
return g.replace(W, function(
|
|
1534
|
+
return g.replace(W, function(I, U) {
|
|
1535
1535
|
return U || function(o1) {
|
|
1536
1536
|
switch (o1) {
|
|
1537
1537
|
case "YY":
|
|
@@ -1553,11 +1553,11 @@ var H1 = { exports: {} };
|
|
|
1553
1553
|
case "d":
|
|
1554
1554
|
return String(f.$W);
|
|
1555
1555
|
case "dd":
|
|
1556
|
-
return G(l.weekdaysMin, f.$W,
|
|
1556
|
+
return G(l.weekdaysMin, f.$W, z, 2);
|
|
1557
1557
|
case "ddd":
|
|
1558
|
-
return G(l.weekdaysShort, f.$W,
|
|
1558
|
+
return G(l.weekdaysShort, f.$W, z, 3);
|
|
1559
1559
|
case "dddd":
|
|
1560
|
-
return
|
|
1560
|
+
return z[f.$W];
|
|
1561
1561
|
case "H":
|
|
1562
1562
|
return String(y);
|
|
1563
1563
|
case "HH":
|
|
@@ -1584,16 +1584,16 @@ var H1 = { exports: {} };
|
|
|
1584
1584
|
return v;
|
|
1585
1585
|
}
|
|
1586
1586
|
return null;
|
|
1587
|
-
}(
|
|
1587
|
+
}(I) || v.replace(":", "");
|
|
1588
1588
|
});
|
|
1589
1589
|
}, d.utcOffset = function() {
|
|
1590
1590
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1591
1591
|
}, d.diff = function(c, f, l) {
|
|
1592
|
-
var g, v = this, y = M.p(f), V = H(c), b = (V.utcOffset() - this.utcOffset()) * _,
|
|
1592
|
+
var g, v = this, y = M.p(f), V = H(c), b = (V.utcOffset() - this.utcOffset()) * _, z = this - V, Z = function() {
|
|
1593
1593
|
return M.m(v, V);
|
|
1594
1594
|
};
|
|
1595
1595
|
switch (y) {
|
|
1596
|
-
case
|
|
1596
|
+
case S:
|
|
1597
1597
|
g = Z() / 12;
|
|
1598
1598
|
break;
|
|
1599
1599
|
case C:
|
|
@@ -1603,22 +1603,22 @@ var H1 = { exports: {} };
|
|
|
1603
1603
|
g = Z() / 3;
|
|
1604
1604
|
break;
|
|
1605
1605
|
case m:
|
|
1606
|
-
g = (
|
|
1606
|
+
g = (z - b) / 6048e5;
|
|
1607
1607
|
break;
|
|
1608
1608
|
case k:
|
|
1609
|
-
g = (
|
|
1609
|
+
g = (z - b) / 864e5;
|
|
1610
1610
|
break;
|
|
1611
1611
|
case $:
|
|
1612
|
-
g =
|
|
1612
|
+
g = z / u;
|
|
1613
1613
|
break;
|
|
1614
1614
|
case p:
|
|
1615
|
-
g =
|
|
1615
|
+
g = z / _;
|
|
1616
1616
|
break;
|
|
1617
1617
|
case a:
|
|
1618
|
-
g =
|
|
1618
|
+
g = z / i;
|
|
1619
1619
|
break;
|
|
1620
1620
|
default:
|
|
1621
|
-
g =
|
|
1621
|
+
g = z;
|
|
1622
1622
|
}
|
|
1623
1623
|
return l ? g : M.a(g);
|
|
1624
1624
|
}, d.daysInMonth = function() {
|
|
@@ -1642,7 +1642,7 @@ var H1 = { exports: {} };
|
|
|
1642
1642
|
return this.$d.toUTCString();
|
|
1643
1643
|
}, w;
|
|
1644
1644
|
}(), k1 = r1.prototype;
|
|
1645
|
-
return H.prototype = k1, [["$ms", h], ["$s", a], ["$m", p], ["$H", $], ["$W", k], ["$M", C], ["$y",
|
|
1645
|
+
return H.prototype = k1, [["$ms", h], ["$s", a], ["$m", p], ["$H", $], ["$W", k], ["$M", C], ["$y", S], ["$D", q]].forEach(function(w) {
|
|
1646
1646
|
k1[w[1]] = function(d) {
|
|
1647
1647
|
return this.$g(d, w[0], w[1]);
|
|
1648
1648
|
};
|
|
@@ -1705,7 +1705,7 @@ const f1 = /* @__PURE__ */ N5(G5), R5 = { class: "q-datetime-picker" }, J5 = ["d
|
|
|
1705
1705
|
});
|
|
1706
1706
|
function t9() {
|
|
1707
1707
|
function t() {
|
|
1708
|
-
const i = !!window.ActiveXObject || "ActiveXObject" in window, _ = navigator.userAgent.indexOf("Edge") > -1, u = navigator.userAgent.indexOf("Chrome") > -1, h = navigator.userAgent.indexOf("Firefox") > -1, a = navigator.userAgent.indexOf("Safari") > -1, p = navigator.userAgent.indexOf("Opera") > -1, $ = navigator.userAgent.indexOf("MicroMessenger") > -1, k = !!navigator.userAgent.match(/AppleWebKit.*Mobile.*/), m = navigator.userAgent.indexOf("Android") > -1 || navigator.userAgent.indexOf("Adr") > -1, C = !!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), x = navigator.userAgent.indexOf("iPad") > -1,
|
|
1708
|
+
const i = !!window.ActiveXObject || "ActiveXObject" in window, _ = navigator.userAgent.indexOf("Edge") > -1, u = navigator.userAgent.indexOf("Chrome") > -1, h = navigator.userAgent.indexOf("Firefox") > -1, a = navigator.userAgent.indexOf("Safari") > -1, p = navigator.userAgent.indexOf("Opera") > -1, $ = navigator.userAgent.indexOf("MicroMessenger") > -1, k = !!navigator.userAgent.match(/AppleWebKit.*Mobile.*/), m = navigator.userAgent.indexOf("Android") > -1 || navigator.userAgent.indexOf("Adr") > -1, C = !!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), x = navigator.userAgent.indexOf("iPad") > -1, S = navigator.userAgent.indexOf("iPhone") > -1, q = navigator.userAgent.indexOf("Macintosh") > -1, Y = navigator.userAgent.indexOf("Windows") > -1, L = navigator.userAgent.indexOf("Linux") > -1;
|
|
1709
1709
|
return {
|
|
1710
1710
|
isIE: i,
|
|
1711
1711
|
isEdge: _,
|
|
@@ -1718,7 +1718,7 @@ function t9() {
|
|
|
1718
1718
|
isAndroid: m,
|
|
1719
1719
|
isIOS: C,
|
|
1720
1720
|
isIpad: x,
|
|
1721
|
-
isIphone:
|
|
1721
|
+
isIphone: S,
|
|
1722
1722
|
isMac: q,
|
|
1723
1723
|
isWindows: Y,
|
|
1724
1724
|
isLinux: L
|
|
@@ -1786,14 +1786,14 @@ const e9 = ["onClick"], n9 = { class: "q-dialog-body" }, o9 = ["onClick"], s9 =
|
|
|
1786
1786
|
}), x = Q(() => {
|
|
1787
1787
|
let L = [];
|
|
1788
1788
|
return h.value && L.push("shaking"), u || L.push(`desktop-mode-${i.desktopMode}`), i.noFrame && L.push("no-frame"), L.join(" ");
|
|
1789
|
-
}),
|
|
1789
|
+
}), S = Q(() => {
|
|
1790
1790
|
let L = [];
|
|
1791
1791
|
return m.value && L.push("desktop-mode-popup"), L.join(" ");
|
|
1792
1792
|
});
|
|
1793
1793
|
J(
|
|
1794
1794
|
() => i.modelValue,
|
|
1795
1795
|
(L) => {
|
|
1796
|
-
a.value = L,
|
|
1796
|
+
a.value = L, S1(() => {
|
|
1797
1797
|
if (!u && i.desktopMode === "popup" && $.value.children) {
|
|
1798
1798
|
const W = $.value.children[0];
|
|
1799
1799
|
if (W) {
|
|
@@ -1846,7 +1846,7 @@ const e9 = ["onClick"], n9 = { class: "q-dialog-body" }, o9 = ["onClick"], s9 =
|
|
|
1846
1846
|
default: g1(() => [
|
|
1847
1847
|
a.value ? (n(), s("div", {
|
|
1848
1848
|
key: 0,
|
|
1849
|
-
class: D(["q-dialog-mask",
|
|
1849
|
+
class: D(["q-dialog-mask", S.value]),
|
|
1850
1850
|
onClick: q,
|
|
1851
1851
|
ref_key: "dialogMask",
|
|
1852
1852
|
ref: k
|
|
@@ -1894,7 +1894,7 @@ const l9 = ["href"], a9 = { class: "q-fence-text" }, d9 = {
|
|
|
1894
1894
|
},
|
|
1895
1895
|
setup(t) {
|
|
1896
1896
|
var i;
|
|
1897
|
-
const e = (i =
|
|
1897
|
+
const e = (i = z1()) == null ? void 0 : i.appContext.components;
|
|
1898
1898
|
return (_, u) => (n(), s("div", {
|
|
1899
1899
|
class: D(["q-fence", t.type])
|
|
1900
1900
|
}, [
|
|
@@ -1986,7 +1986,7 @@ const g9 = /* @__PURE__ */ r(u9, [["render", w9]]), v9 = { class: "q-menu" }, $9
|
|
|
1986
1986
|
]));
|
|
1987
1987
|
}
|
|
1988
1988
|
});
|
|
1989
|
-
const H9 = ["disabled"], b9 = { class: "q-switch-inner" }, Q9 = { class: "q-switch-handle" },
|
|
1989
|
+
const H9 = ["disabled"], b9 = { class: "q-switch-inner" }, Q9 = { class: "q-switch-handle" }, S9 = /* @__PURE__ */ O({
|
|
1990
1990
|
__name: "QSwitch",
|
|
1991
1991
|
props: {
|
|
1992
1992
|
modelValue: {
|
|
@@ -2028,7 +2028,7 @@ const H9 = ["disabled"], b9 = { class: "q-switch-inner" }, Q9 = { class: "q-swit
|
|
|
2028
2028
|
onChange: h,
|
|
2029
2029
|
disabled: i.disabled
|
|
2030
2030
|
}, null, 40, H9), [
|
|
2031
|
-
[
|
|
2031
|
+
[I1, _.value]
|
|
2032
2032
|
]),
|
|
2033
2033
|
o("div", b9, [
|
|
2034
2034
|
o("div", Q9, [
|
|
@@ -2047,7 +2047,7 @@ const H9 = ["disabled"], b9 = { class: "q-switch-inner" }, Q9 = { class: "q-swit
|
|
|
2047
2047
|
};
|
|
2048
2048
|
}
|
|
2049
2049
|
});
|
|
2050
|
-
const
|
|
2050
|
+
const z9 = { class: "q-text-field-wrapper" }, I9 = ["placeholder"], B9 = { class: "q-text-button-wrapper" }, q9 = ["disabled"], Z9 = {
|
|
2051
2051
|
key: 0,
|
|
2052
2052
|
class: "q-button-glow"
|
|
2053
2053
|
}, j9 = /* @__PURE__ */ O({
|
|
@@ -2111,13 +2111,13 @@ const I9 = { class: "q-text-field-wrapper" }, S9 = ["placeholder"], B9 = { class
|
|
|
2111
2111
|
return (C, x) => (n(), s("div", {
|
|
2112
2112
|
class: D(["q-text-field-with-button", u.value])
|
|
2113
2113
|
}, [
|
|
2114
|
-
o("div",
|
|
2114
|
+
o("div", z9, [
|
|
2115
2115
|
a1(o("input", {
|
|
2116
2116
|
class: "q-text-field text-field",
|
|
2117
2117
|
placeholder: i.placeholder,
|
|
2118
|
-
"onUpdate:modelValue": x[0] || (x[0] = (
|
|
2118
|
+
"onUpdate:modelValue": x[0] || (x[0] = (S) => _.value = S),
|
|
2119
2119
|
onChange: m
|
|
2120
|
-
}, null, 40,
|
|
2120
|
+
}, null, 40, I9), [
|
|
2121
2121
|
[p1, _.value]
|
|
2122
2122
|
])
|
|
2123
2123
|
]),
|
|
@@ -2192,7 +2192,7 @@ const D9 = { class: "q-dropdown-menu" }, O9 = { class: "q-dropdown-menu-inner na
|
|
|
2192
2192
|
C.key === "quailui_global_popup_trigger" && C.newValue && (u.value = !1);
|
|
2193
2193
|
});
|
|
2194
2194
|
}), (C, x) => {
|
|
2195
|
-
const
|
|
2195
|
+
const S = F("q-icon-chevron-down"), q = F("q-menu");
|
|
2196
2196
|
return n(), s("div", D9, [
|
|
2197
2197
|
o("div", O9, [
|
|
2198
2198
|
o("div", {
|
|
@@ -2212,7 +2212,7 @@ const D9 = { class: "q-dropdown-menu" }, O9 = { class: "q-dropdown-menu-inner na
|
|
|
2212
2212
|
o("div", T9, T(h.value ? h.value.title : i.placeholder || "Select ..."), 1)
|
|
2213
2213
|
])) : P("", !0),
|
|
2214
2214
|
s1(C.$slots, "default"),
|
|
2215
|
-
E(
|
|
2215
|
+
E(S, { class: "icon chevron-icon" })
|
|
2216
2216
|
], 10, P9),
|
|
2217
2217
|
o("div", {
|
|
2218
2218
|
ref_key: "menuWrapper",
|
|
@@ -2465,6 +2465,10 @@ const _3 = /* @__PURE__ */ r(d3, [["__scopeId", "data-v-c163c615"]]), h3 = ["hre
|
|
|
2465
2465
|
type: String,
|
|
2466
2466
|
default: ""
|
|
2467
2467
|
},
|
|
2468
|
+
text: {
|
|
2469
|
+
type: String,
|
|
2470
|
+
default: ""
|
|
2471
|
+
},
|
|
2468
2472
|
layout: {
|
|
2469
2473
|
type: String,
|
|
2470
2474
|
default: "row"
|
|
@@ -2478,7 +2482,7 @@ const _3 = /* @__PURE__ */ r(d3, [["__scopeId", "data-v-c163c615"]]), h3 = ["hre
|
|
|
2478
2482
|
class: D(["q-share", i.value])
|
|
2479
2483
|
}, [
|
|
2480
2484
|
o("a", {
|
|
2481
|
-
href: `https://twitter.com/intent/tweet?url=${_.value}`,
|
|
2485
|
+
href: `https://twitter.com/intent/tweet?url=${_.value}&text=${e.text}`,
|
|
2482
2486
|
target: "_blank",
|
|
2483
2487
|
title: "Share on Twitter",
|
|
2484
2488
|
class: "q-share-link twitter"
|
|
@@ -2494,7 +2498,7 @@ const _3 = /* @__PURE__ */ r(d3, [["__scopeId", "data-v-c163c615"]]), h3 = ["hre
|
|
|
2494
2498
|
E(p, { class: "icon share-icon" })
|
|
2495
2499
|
], 8, u3),
|
|
2496
2500
|
o("a", {
|
|
2497
|
-
href: `https://news.ycombinator.com/submitlink?u=${_.value}&t=${
|
|
2501
|
+
href: `https://news.ycombinator.com/submitlink?u=${_.value}&t=${e.text}`,
|
|
2498
2502
|
target: "_blank",
|
|
2499
2503
|
title: "Share on hackernews",
|
|
2500
2504
|
class: "q-share-link hackernews"
|
|
@@ -2526,7 +2530,7 @@ const w3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2526
2530
|
QPagination: K9,
|
|
2527
2531
|
QProgress: o3,
|
|
2528
2532
|
QShare: p3,
|
|
2529
|
-
QSwitch:
|
|
2533
|
+
QSwitch: S9,
|
|
2530
2534
|
QTextFieldWithButton: j9
|
|
2531
2535
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2532
2536
|
const v3 = {
|