quail-ui 0.0.3 → 0.0.4
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 +147 -145
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { openBlock as _, createElementBlock as f, createElementVNode as h, createStaticVNode as ce, defineComponent as Z, ref as E, watch as te, onMounted as
|
|
1
|
+
import { openBlock as _, createElementBlock as f, createElementVNode as h, createStaticVNode as ce, defineComponent as Z, ref as E, watch as te, onMounted as fe, withDirectives as P, vModelText as K, computed as F, createVNode as X, Transition as Ce, withCtx as pe, normalizeStyle as $e, withModifiers as ve, toDisplayString as T, renderSlot as ie, createCommentVNode as ee, resolveComponent as ge, normalizeClass as ne, Fragment as me, renderList as we, createBlock as Me, resolveDynamicComponent as ke, vModelCheckbox as ye, pushScopeId as xe, popScopeId as be } from "vue";
|
|
2
2
|
const v = (o, d) => {
|
|
3
3
|
const u = o.__vccOpts || o;
|
|
4
4
|
for (const [i, w] of d)
|
|
5
5
|
u[i] = w;
|
|
6
6
|
return u;
|
|
7
|
-
},
|
|
7
|
+
}, De = {}, Se = {
|
|
8
8
|
width: "24",
|
|
9
9
|
height: "24",
|
|
10
10
|
viewBox: "0 0 24 24",
|
|
11
11
|
fill: "none",
|
|
12
12
|
xmlns: "http://www.w3.org/2000/svg"
|
|
13
|
-
},
|
|
13
|
+
}, He = /* @__PURE__ */ h("path", {
|
|
14
14
|
d: "M12 16V12M12 8H12.01M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z",
|
|
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), Le = [
|
|
20
|
+
He
|
|
21
21
|
];
|
|
22
22
|
function Ve(o, d) {
|
|
23
|
-
return _(), f("svg",
|
|
23
|
+
return _(), f("svg", Se, Le);
|
|
24
24
|
}
|
|
25
|
-
const
|
|
25
|
+
const Qe = /* @__PURE__ */ v(De, [["render", Ve]]), Ie = {}, je = {
|
|
26
26
|
width: "24",
|
|
27
27
|
height: "24",
|
|
28
28
|
viewBox: "0 0 24 24",
|
|
@@ -32,117 +32,117 @@ const Le = /* @__PURE__ */ v(be, [["render", Ve]]), je = {}, Ie = {
|
|
|
32
32
|
Oe
|
|
33
33
|
];
|
|
34
34
|
function Be(o, d) {
|
|
35
|
-
return _(), f("svg",
|
|
35
|
+
return _(), f("svg", je, Ye);
|
|
36
36
|
}
|
|
37
|
-
const Te = /* @__PURE__ */ v(
|
|
37
|
+
const Te = /* @__PURE__ */ v(Ie, [["render", Be]]), Ze = {}, Ue = {
|
|
38
38
|
width: "24",
|
|
39
39
|
height: "24",
|
|
40
40
|
viewBox: "0 0 24 24",
|
|
41
41
|
fill: "none",
|
|
42
42
|
xmlns: "http://www.w3.org/2000/svg"
|
|
43
|
-
},
|
|
43
|
+
}, Ae = /* @__PURE__ */ h("path", {
|
|
44
44
|
d: "M5 15C4.06812 15 3.60218 15 3.23463 14.8478C2.74458 14.6448 2.35523 14.2554 2.15224 13.7654C2 13.3978 2 12.9319 2 12V5.2C2 4.0799 2 3.51984 2.21799 3.09202C2.40973 2.71569 2.71569 2.40973 3.09202 2.21799C3.51984 2 4.0799 2 5.2 2H12C12.9319 2 13.3978 2 13.7654 2.15224C14.2554 2.35523 14.6448 2.74458 14.8478 3.23463C15 3.60218 15 4.06812 15 5M12.2 22H18.8C19.9201 22 20.4802 22 20.908 21.782C21.2843 21.5903 21.5903 21.2843 21.782 20.908C22 20.4802 22 19.9201 22 18.8V12.2C22 11.0799 22 10.5198 21.782 10.092C21.5903 9.71569 21.2843 9.40973 20.908 9.21799C20.4802 9 19.9201 9 18.8 9H12.2C11.0799 9 10.5198 9 10.092 9.21799C9.71569 9.40973 9.40973 9.71569 9.21799 10.092C9 10.5198 9 11.0799 9 12.2V18.8C9 19.9201 9 20.4802 9.21799 20.908C9.40973 21.2843 9.71569 21.5903 10.092 21.782C10.5198 22 11.0799 22 12.2 22Z",
|
|
45
45
|
stroke: "currentColor",
|
|
46
46
|
"stroke-width": "2",
|
|
47
47
|
"stroke-linecap": "round",
|
|
48
48
|
"stroke-linejoin": "round"
|
|
49
|
-
}, null, -1),
|
|
50
|
-
|
|
49
|
+
}, null, -1), We = [
|
|
50
|
+
Ae
|
|
51
51
|
];
|
|
52
|
-
function
|
|
53
|
-
return _(), f("svg",
|
|
52
|
+
function Fe(o, d) {
|
|
53
|
+
return _(), f("svg", Ue, We);
|
|
54
54
|
}
|
|
55
|
-
const
|
|
55
|
+
const Ee = /* @__PURE__ */ v(Ze, [["render", Fe]]), Ne = {}, qe = {
|
|
56
56
|
width: "24",
|
|
57
57
|
height: "24",
|
|
58
58
|
viewBox: "0 0 24 24",
|
|
59
59
|
fill: "none",
|
|
60
60
|
xmlns: "http://www.w3.org/2000/svg"
|
|
61
|
-
},
|
|
61
|
+
}, ze = /* @__PURE__ */ h("path", {
|
|
62
62
|
d: "M13.0001 14L10.0001 11M15.0104 3.5V2M18.9498 5.06066L20.0104 4M18.9498 13L20.0104 14.0607M11.0104 5.06066L9.94979 4M20.5104 9H22.0104M6.13146 20.8686L15.3687 11.6314C15.7647 11.2354 15.9627 11.0373 16.0369 10.809C16.1022 10.6082 16.1022 10.3918 16.0369 10.191C15.9627 9.96265 15.7647 9.76465 15.3687 9.36863L14.6315 8.63137C14.2354 8.23535 14.0374 8.03735 13.8091 7.96316C13.6083 7.8979 13.3919 7.8979 13.1911 7.96316C12.9627 8.03735 12.7647 8.23535 12.3687 8.63137L3.13146 17.8686C2.73545 18.2646 2.53744 18.4627 2.46325 18.691C2.39799 18.8918 2.39799 19.1082 2.46325 19.309C2.53744 19.5373 2.73545 19.7354 3.13146 20.1314L3.86872 20.8686C4.26474 21.2646 4.46275 21.4627 4.69108 21.5368C4.89192 21.6021 5.10827 21.6021 5.30911 21.5368C5.53744 21.4627 5.73545 21.2646 6.13146 20.8686Z",
|
|
63
63
|
stroke: "currentColor",
|
|
64
64
|
"stroke-width": "2",
|
|
65
65
|
"stroke-linecap": "round",
|
|
66
66
|
"stroke-linejoin": "round"
|
|
67
|
-
}, null, -1),
|
|
68
|
-
|
|
67
|
+
}, null, -1), Pe = [
|
|
68
|
+
ze
|
|
69
69
|
];
|
|
70
|
-
function
|
|
71
|
-
return _(), f("svg",
|
|
70
|
+
function Ge(o, d) {
|
|
71
|
+
return _(), f("svg", qe, Pe);
|
|
72
72
|
}
|
|
73
|
-
const
|
|
73
|
+
const Je = /* @__PURE__ */ v(Ne, [["render", Ge]]), Re = {}, Ke = {
|
|
74
74
|
width: "24",
|
|
75
75
|
height: "24",
|
|
76
76
|
viewBox: "0 0 24 24",
|
|
77
77
|
fill: "none",
|
|
78
78
|
xmlns: "http://www.w3.org/2000/svg"
|
|
79
|
-
},
|
|
79
|
+
}, Xe = /* @__PURE__ */ h("path", {
|
|
80
80
|
d: "M8 21H16M12 17V21M6.8 17H17.2C18.8802 17 19.7202 17 20.362 16.673C20.9265 16.3854 21.3854 15.9265 21.673 15.362C22 14.7202 22 13.8802 22 12.2V7.8C22 6.11984 22 5.27976 21.673 4.63803C21.3854 4.07354 20.9265 3.6146 20.362 3.32698C19.7202 3 18.8802 3 17.2 3H6.8C5.11984 3 4.27976 3 3.63803 3.32698C3.07354 3.6146 2.6146 4.07354 2.32698 4.63803C2 5.27976 2 6.11984 2 7.8V12.2C2 13.8802 2 14.7202 2.32698 15.362C2.6146 15.9265 3.07354 16.3854 3.63803 16.673C4.27976 17 5.11984 17 6.8 17Z",
|
|
81
81
|
stroke: "currentColor",
|
|
82
82
|
"stroke-width": "2",
|
|
83
83
|
"stroke-linecap": "round",
|
|
84
84
|
"stroke-linejoin": "round"
|
|
85
|
-
}, null, -1),
|
|
86
|
-
|
|
85
|
+
}, null, -1), et = [
|
|
86
|
+
Xe
|
|
87
87
|
];
|
|
88
|
-
function
|
|
89
|
-
return _(), f("svg",
|
|
88
|
+
function tt(o, d) {
|
|
89
|
+
return _(), f("svg", Ke, et);
|
|
90
90
|
}
|
|
91
|
-
const
|
|
91
|
+
const nt = /* @__PURE__ */ v(Re, [["render", tt]]), ot = {}, st = {
|
|
92
92
|
width: "24",
|
|
93
93
|
height: "24",
|
|
94
94
|
viewBox: "0 0 24 24",
|
|
95
95
|
fill: "none",
|
|
96
96
|
xmlns: "http://www.w3.org/2000/svg"
|
|
97
|
-
},
|
|
97
|
+
}, rt = /* @__PURE__ */ h("path", {
|
|
98
98
|
d: "M15 2V3.4C15 3.96005 15 4.24008 14.891 4.45399C14.7951 4.64215 14.6422 4.79513 14.454 4.89101C14.2401 5 13.9601 5 13.4 5H10.6C10.0399 5 9.75992 5 9.54601 4.89101C9.35785 4.79513 9.20487 4.64215 9.10899 4.45399C9 4.24008 9 3.96005 9 3.4V2M8.2 22H15.8C16.9201 22 17.4802 22 17.908 21.782C18.2843 21.5903 18.5903 21.2843 18.782 20.908C19 20.4802 19 19.9201 19 18.8V5.2C19 4.07989 19 3.51984 18.782 3.09202C18.5903 2.71569 18.2843 2.40973 17.908 2.21799C17.4802 2 16.9201 2 15.8 2H8.2C7.0799 2 6.51984 2 6.09202 2.21799C5.71569 2.40973 5.40973 2.71569 5.21799 3.09202C5 3.51984 5 4.0799 5 5.2V18.8C5 19.9201 5 20.4802 5.21799 20.908C5.40973 21.2843 5.71569 21.5903 6.09202 21.782C6.51984 22 7.07989 22 8.2 22Z",
|
|
99
99
|
stroke: "currentColor",
|
|
100
100
|
"stroke-width": "2",
|
|
101
101
|
"stroke-linecap": "round",
|
|
102
102
|
"stroke-linejoin": "round"
|
|
103
|
-
}, null, -1),
|
|
104
|
-
|
|
103
|
+
}, null, -1), it = [
|
|
104
|
+
rt
|
|
105
105
|
];
|
|
106
|
-
function
|
|
107
|
-
return _(), f("svg",
|
|
106
|
+
function ct(o, d) {
|
|
107
|
+
return _(), f("svg", st, it);
|
|
108
108
|
}
|
|
109
|
-
const
|
|
109
|
+
const at = /* @__PURE__ */ v(ot, [["render", ct]]), dt = {}, lt = {
|
|
110
110
|
width: "24",
|
|
111
111
|
height: "24",
|
|
112
112
|
viewBox: "0 0 24 24",
|
|
113
113
|
fill: "none",
|
|
114
114
|
xmlns: "http://www.w3.org/2000/svg"
|
|
115
|
-
},
|
|
115
|
+
}, ut = /* @__PURE__ */ h("path", {
|
|
116
116
|
d: "M6 18L18 6M18 6H10M18 6V14",
|
|
117
117
|
stroke: "currentColor",
|
|
118
118
|
"stroke-width": "2",
|
|
119
119
|
"stroke-linecap": "round",
|
|
120
120
|
"stroke-linejoin": "round"
|
|
121
|
-
}, null, -1),
|
|
122
|
-
|
|
121
|
+
}, null, -1), _t = [
|
|
122
|
+
ut
|
|
123
123
|
];
|
|
124
|
-
function
|
|
125
|
-
return _(), f("svg",
|
|
124
|
+
function ht(o, d) {
|
|
125
|
+
return _(), f("svg", lt, _t);
|
|
126
126
|
}
|
|
127
|
-
const
|
|
127
|
+
const ft = /* @__PURE__ */ v(dt, [["render", ht]]), Ct = {}, pt = {
|
|
128
128
|
width: "24",
|
|
129
129
|
height: "24",
|
|
130
130
|
viewBox: "0 0 24 24",
|
|
131
131
|
fill: "none",
|
|
132
132
|
xmlns: "http://www.w3.org/2000/svg"
|
|
133
|
-
},
|
|
133
|
+
}, $t = /* @__PURE__ */ h("path", {
|
|
134
134
|
d: "M19 12H5M5 12L12 19M5 12L12 5",
|
|
135
135
|
stroke: "currentColor",
|
|
136
136
|
"stroke-width": "2",
|
|
137
137
|
"stroke-linecap": "round",
|
|
138
138
|
"stroke-linejoin": "round"
|
|
139
|
-
}, null, -1),
|
|
140
|
-
|
|
139
|
+
}, null, -1), vt = [
|
|
140
|
+
$t
|
|
141
141
|
];
|
|
142
|
-
function
|
|
143
|
-
return _(), f("svg",
|
|
142
|
+
function gt(o, d) {
|
|
143
|
+
return _(), f("svg", pt, vt);
|
|
144
144
|
}
|
|
145
|
-
const
|
|
145
|
+
const ae = /* @__PURE__ */ v(Ct, [["render", gt]]), mt = {}, wt = {
|
|
146
146
|
width: "24",
|
|
147
147
|
height: "24",
|
|
148
148
|
viewBox: "0 0 24 24",
|
|
@@ -175,28 +175,28 @@ const xt = /* @__PURE__ */ v(mt, [["render", yt]]), bt = {}, Dt = {
|
|
|
175
175
|
}, null, -1), Ht = [
|
|
176
176
|
St
|
|
177
177
|
];
|
|
178
|
-
function
|
|
178
|
+
function Lt(o, d) {
|
|
179
179
|
return _(), f("svg", Dt, Ht);
|
|
180
180
|
}
|
|
181
|
-
const
|
|
181
|
+
const Vt = /* @__PURE__ */ v(bt, [["render", Lt]]), Qt = {}, It = {
|
|
182
182
|
width: "24",
|
|
183
183
|
height: "24",
|
|
184
184
|
viewBox: "0 0 24 24",
|
|
185
185
|
fill: "none",
|
|
186
186
|
xmlns: "http://www.w3.org/2000/svg"
|
|
187
|
-
},
|
|
187
|
+
}, jt = /* @__PURE__ */ h("path", {
|
|
188
188
|
d: "M5.3163 19.4384C5.92462 18.0052 7.34492 17 9 17H15C16.6551 17 18.0754 18.0052 18.6837 19.4384M16 9.5C16 11.7091 14.2091 13.5 12 13.5C9.79086 13.5 8 11.7091 8 9.5C8 7.29086 9.79086 5.5 12 5.5C14.2091 5.5 16 7.29086 16 9.5ZM22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z",
|
|
189
189
|
stroke: "currentColor",
|
|
190
190
|
"stroke-width": "2",
|
|
191
191
|
"stroke-linecap": "round",
|
|
192
192
|
"stroke-linejoin": "round"
|
|
193
|
-
}, null, -1),
|
|
194
|
-
|
|
193
|
+
}, null, -1), Ot = [
|
|
194
|
+
jt
|
|
195
195
|
];
|
|
196
|
-
function
|
|
197
|
-
return _(), f("svg", It,
|
|
196
|
+
function Yt(o, d) {
|
|
197
|
+
return _(), f("svg", It, Ot);
|
|
198
198
|
}
|
|
199
|
-
const
|
|
199
|
+
const Bt = /* @__PURE__ */ v(Qt, [["render", Yt]]), Tt = {}, Zt = {
|
|
200
200
|
width: "24",
|
|
201
201
|
height: "24",
|
|
202
202
|
viewBox: "0 0 24 24",
|
|
@@ -214,7 +214,7 @@ const Tt = /* @__PURE__ */ v(jt, [["render", Bt]]), Qt = {}, Zt = {
|
|
|
214
214
|
function Wt(o, d) {
|
|
215
215
|
return _(), f("svg", Zt, At);
|
|
216
216
|
}
|
|
217
|
-
const Ft = /* @__PURE__ */ v(
|
|
217
|
+
const Ft = /* @__PURE__ */ v(Tt, [["render", Wt]]), Et = {}, Nt = {
|
|
218
218
|
width: "32",
|
|
219
219
|
height: "32",
|
|
220
220
|
viewBox: "0 0 32 32",
|
|
@@ -335,41 +335,41 @@ function b1(o, d) {
|
|
|
335
335
|
}
|
|
336
336
|
const D1 = /* @__PURE__ */ v(M1, [["render", b1]]), S1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
337
337
|
__proto__: null,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
338
|
+
QIconArrowLeft: ae,
|
|
339
|
+
QIconArrowRight: xt,
|
|
340
|
+
QIconArrowUpRight: ft,
|
|
341
|
+
QIconBook: a1,
|
|
342
|
+
QIconCopy: Ee,
|
|
343
|
+
QIconDesktop: nt,
|
|
344
|
+
QIconFeather: n1,
|
|
345
|
+
QIconHelp: Vt,
|
|
346
|
+
QIconInfoSquare: Qe,
|
|
347
|
+
QIconLogout: Ft,
|
|
348
|
+
QIconMagicWand: Je,
|
|
349
|
+
QIconMobile: at,
|
|
350
|
+
QIconMoonStar: w1,
|
|
351
|
+
QIconQuail: Jt,
|
|
352
|
+
QIconSun: D1,
|
|
353
|
+
QIconTrash: f1,
|
|
354
|
+
QIconUserCircle: Bt,
|
|
355
|
+
QIconZapSquare: Te
|
|
356
356
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
357
357
|
var H1 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
358
|
-
function
|
|
358
|
+
function L1(o) {
|
|
359
359
|
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
360
360
|
}
|
|
361
|
-
var
|
|
361
|
+
var de = { exports: {} };
|
|
362
362
|
(function(o, d) {
|
|
363
363
|
(function(u, i) {
|
|
364
364
|
o.exports = i();
|
|
365
365
|
})(H1, function() {
|
|
366
|
-
var u = 1e3, i = 6e4, w = 36e5, g = "millisecond", C = "second", l = "minute", y = "hour", D = "day", x = "week", H = "month", oe = "quarter",
|
|
366
|
+
var u = 1e3, i = 6e4, w = 36e5, g = "millisecond", C = "second", l = "minute", y = "hour", D = "day", x = "week", H = "month", oe = "quarter", V = "year", Y = "date", se = "Invalid Date", le = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, ue = /\[([^\]]+)]|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, _e = { 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(r) {
|
|
367
367
|
var n = ["th", "st", "nd", "rd"], e = r % 100;
|
|
368
368
|
return "[" + r + (n[(e - 20) % 10] || n[e] || n[0]) + "]";
|
|
369
369
|
} }, G = function(r, n, e) {
|
|
370
370
|
var s = String(r);
|
|
371
371
|
return !s || s.length >= n ? r : "" + Array(n + 1 - s.length).join(e) + r;
|
|
372
|
-
},
|
|
372
|
+
}, he = { s: G, z: function(r) {
|
|
373
373
|
var n = -r.utcOffset(), e = Math.abs(n), s = Math.floor(e / 60), t = e % 60;
|
|
374
374
|
return (n <= 0 ? "+" : "-") + G(s, 2, "0") + ":" + G(t, 2, "0");
|
|
375
375
|
}, m: function r(n, e) {
|
|
@@ -380,11 +380,11 @@ var ae = { exports: {} };
|
|
|
380
380
|
}, a: function(r) {
|
|
381
381
|
return r < 0 ? Math.ceil(r) || 0 : Math.floor(r);
|
|
382
382
|
}, p: function(r) {
|
|
383
|
-
return { M: H, y:
|
|
383
|
+
return { M: H, y: V, w: x, d: D, D: Y, h: y, m: l, s: C, ms: g, Q: oe }[r] || String(r || "").toLowerCase().replace(/s$/, "");
|
|
384
384
|
}, u: function(r) {
|
|
385
385
|
return r === void 0;
|
|
386
386
|
} }, U = "en", I = {};
|
|
387
|
-
I[U] =
|
|
387
|
+
I[U] = _e;
|
|
388
388
|
var J = function(r) {
|
|
389
389
|
return r instanceof q;
|
|
390
390
|
}, N = function r(n, e, s) {
|
|
@@ -407,7 +407,7 @@ var ae = { exports: {} };
|
|
|
407
407
|
return r.clone();
|
|
408
408
|
var e = typeof n == "object" ? n : {};
|
|
409
409
|
return e.date = r, e.args = arguments, new q(e);
|
|
410
|
-
}, p =
|
|
410
|
+
}, p = he;
|
|
411
411
|
p.l = N, p.i = J, p.w = function(r, n) {
|
|
412
412
|
return M(r, { locale: n.$L, utc: n.$u, x: n.$x, $offset: n.$offset });
|
|
413
413
|
};
|
|
@@ -426,7 +426,7 @@ var ae = { exports: {} };
|
|
|
426
426
|
if (t instanceof Date)
|
|
427
427
|
return new Date(t);
|
|
428
428
|
if (typeof t == "string" && !/Z$/i.test(t)) {
|
|
429
|
-
var a = t.match(
|
|
429
|
+
var a = t.match(le);
|
|
430
430
|
if (a) {
|
|
431
431
|
var $ = a[2] - 1 || 0, m = (a[7] || "0").substring(0, 3);
|
|
432
432
|
return c ? new Date(Date.UTC(a[1], $, a[3] || 1, a[4] || 0, a[5] || 0, a[6] || 0, m)) : new Date(a[1], $, a[3] || 1, a[4] || 0, a[5] || 0, a[6] || 0, m);
|
|
@@ -455,39 +455,39 @@ var ae = { exports: {} };
|
|
|
455
455
|
}, n.valueOf = function() {
|
|
456
456
|
return this.$d.getTime();
|
|
457
457
|
}, n.startOf = function(e, s) {
|
|
458
|
-
var t = this, c = !!p.u(s) || s, a = p.p(e), $ = function(
|
|
459
|
-
var
|
|
460
|
-
return c ?
|
|
461
|
-
}, m = function(
|
|
462
|
-
return p.w(t.toDate()[
|
|
463
|
-
}, k = this.$W, b = this.$M,
|
|
458
|
+
var t = this, c = !!p.u(s) || s, a = p.p(e), $ = function(O, S) {
|
|
459
|
+
var Q = p.w(t.$u ? Date.UTC(t.$y, S, O) : new Date(t.$y, S, O), t);
|
|
460
|
+
return c ? Q : Q.endOf(D);
|
|
461
|
+
}, m = function(O, S) {
|
|
462
|
+
return p.w(t.toDate()[O].apply(t.toDate("s"), (c ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(S)), t);
|
|
463
|
+
}, k = this.$W, b = this.$M, L = this.$D, B = "set" + (this.$u ? "UTC" : "");
|
|
464
464
|
switch (a) {
|
|
465
|
-
case
|
|
465
|
+
case V:
|
|
466
466
|
return c ? $(1, 0) : $(31, 11);
|
|
467
467
|
case H:
|
|
468
468
|
return c ? $(1, b) : $(0, b + 1);
|
|
469
469
|
case x:
|
|
470
|
-
var
|
|
471
|
-
return $(c ?
|
|
470
|
+
var j = this.$locale().weekStart || 0, A = (k < j ? k + 7 : k) - j;
|
|
471
|
+
return $(c ? L - A : L + (6 - A), b);
|
|
472
472
|
case D:
|
|
473
|
-
case
|
|
474
|
-
return m(
|
|
473
|
+
case Y:
|
|
474
|
+
return m(B + "Hours", 0);
|
|
475
475
|
case y:
|
|
476
|
-
return m(
|
|
476
|
+
return m(B + "Minutes", 1);
|
|
477
477
|
case l:
|
|
478
|
-
return m(
|
|
478
|
+
return m(B + "Seconds", 2);
|
|
479
479
|
case C:
|
|
480
|
-
return m(
|
|
480
|
+
return m(B + "Milliseconds", 3);
|
|
481
481
|
default:
|
|
482
482
|
return this.clone();
|
|
483
483
|
}
|
|
484
484
|
}, n.endOf = function(e) {
|
|
485
485
|
return this.startOf(e, !1);
|
|
486
486
|
}, n.$set = function(e, s) {
|
|
487
|
-
var t, c = p.p(e), a = "set" + (this.$u ? "UTC" : ""), $ = (t = {}, t[D] = a + "Date", t[
|
|
488
|
-
if (c === H || c ===
|
|
489
|
-
var k = this.clone().set(
|
|
490
|
-
k.$d[$](m), k.init(), this.$d = k.set(
|
|
487
|
+
var t, c = p.p(e), a = "set" + (this.$u ? "UTC" : ""), $ = (t = {}, t[D] = a + "Date", t[Y] = a + "Date", t[H] = a + "Month", t[V] = a + "FullYear", t[y] = a + "Hours", t[l] = a + "Minutes", t[C] = a + "Seconds", t[g] = a + "Milliseconds", t)[c], m = c === D ? this.$D + (s - this.$W) : s;
|
|
488
|
+
if (c === H || c === V) {
|
|
489
|
+
var k = this.clone().set(Y, 1);
|
|
490
|
+
k.$d[$](m), k.init(), this.$d = k.set(Y, Math.min(this.$D, k.daysInMonth())).$d;
|
|
491
491
|
} else
|
|
492
492
|
$ && this.$d[$](m);
|
|
493
493
|
return this.init(), this;
|
|
@@ -499,13 +499,13 @@ var ae = { exports: {} };
|
|
|
499
499
|
var t, c = this;
|
|
500
500
|
e = Number(e);
|
|
501
501
|
var a = p.p(s), $ = function(b) {
|
|
502
|
-
var
|
|
503
|
-
return p.w(
|
|
502
|
+
var L = M(c);
|
|
503
|
+
return p.w(L.date(L.date() + Math.round(b * e)), c);
|
|
504
504
|
};
|
|
505
505
|
if (a === H)
|
|
506
506
|
return this.set(H, this.$M + e);
|
|
507
|
-
if (a ===
|
|
508
|
-
return this.set(
|
|
507
|
+
if (a === V)
|
|
508
|
+
return this.set(V, this.$y + e);
|
|
509
509
|
if (a === D)
|
|
510
510
|
return $(1);
|
|
511
511
|
if (a === x)
|
|
@@ -518,16 +518,16 @@ var ae = { exports: {} };
|
|
|
518
518
|
var s = this, t = this.$locale();
|
|
519
519
|
if (!this.isValid())
|
|
520
520
|
return t.invalidDate || se;
|
|
521
|
-
var c = e || "YYYY-MM-DDTHH:mm:ssZ", a = p.z(this), $ = this.$H, m = this.$m, k = this.$M, b = t.weekdays,
|
|
522
|
-
return S && (S[
|
|
521
|
+
var c = e || "YYYY-MM-DDTHH:mm:ssZ", a = p.z(this), $ = this.$H, m = this.$m, k = this.$M, b = t.weekdays, L = t.months, B = t.meridiem, j = function(S, Q, W, z) {
|
|
522
|
+
return S && (S[Q] || S(s, c)) || W[Q].slice(0, z);
|
|
523
523
|
}, A = function(S) {
|
|
524
524
|
return p.s($ % 12 || 12, S, "0");
|
|
525
|
-
},
|
|
525
|
+
}, O = B || function(S, Q, W) {
|
|
526
526
|
var z = S < 12 ? "AM" : "PM";
|
|
527
527
|
return W ? z.toLowerCase() : z;
|
|
528
528
|
};
|
|
529
|
-
return c.replace(
|
|
530
|
-
return
|
|
529
|
+
return c.replace(ue, function(S, Q) {
|
|
530
|
+
return Q || function(W) {
|
|
531
531
|
switch (W) {
|
|
532
532
|
case "YY":
|
|
533
533
|
return String(s.$y).slice(-2);
|
|
@@ -538,9 +538,9 @@ var ae = { exports: {} };
|
|
|
538
538
|
case "MM":
|
|
539
539
|
return p.s(k + 1, 2, "0");
|
|
540
540
|
case "MMM":
|
|
541
|
-
return
|
|
541
|
+
return j(t.monthsShort, k, L, 3);
|
|
542
542
|
case "MMMM":
|
|
543
|
-
return
|
|
543
|
+
return j(L, k);
|
|
544
544
|
case "D":
|
|
545
545
|
return s.$D;
|
|
546
546
|
case "DD":
|
|
@@ -548,9 +548,9 @@ var ae = { exports: {} };
|
|
|
548
548
|
case "d":
|
|
549
549
|
return String(s.$W);
|
|
550
550
|
case "dd":
|
|
551
|
-
return
|
|
551
|
+
return j(t.weekdaysMin, s.$W, b, 2);
|
|
552
552
|
case "ddd":
|
|
553
|
-
return
|
|
553
|
+
return j(t.weekdaysShort, s.$W, b, 3);
|
|
554
554
|
case "dddd":
|
|
555
555
|
return b[s.$W];
|
|
556
556
|
case "H":
|
|
@@ -562,9 +562,9 @@ var ae = { exports: {} };
|
|
|
562
562
|
case "hh":
|
|
563
563
|
return A(2);
|
|
564
564
|
case "a":
|
|
565
|
-
return
|
|
565
|
+
return O($, m, !0);
|
|
566
566
|
case "A":
|
|
567
|
-
return
|
|
567
|
+
return O($, m, !1);
|
|
568
568
|
case "m":
|
|
569
569
|
return String(m);
|
|
570
570
|
case "mm":
|
|
@@ -584,18 +584,18 @@ var ae = { exports: {} };
|
|
|
584
584
|
}, n.utcOffset = function() {
|
|
585
585
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
586
586
|
}, n.diff = function(e, s, t) {
|
|
587
|
-
var c, a = this, $ = p.p(s), m = M(e), k = (m.utcOffset() - this.utcOffset()) * i, b = this - m,
|
|
587
|
+
var c, a = this, $ = p.p(s), m = M(e), k = (m.utcOffset() - this.utcOffset()) * i, b = this - m, L = function() {
|
|
588
588
|
return p.m(a, m);
|
|
589
589
|
};
|
|
590
590
|
switch ($) {
|
|
591
|
-
case
|
|
592
|
-
c =
|
|
591
|
+
case V:
|
|
592
|
+
c = L() / 12;
|
|
593
593
|
break;
|
|
594
594
|
case H:
|
|
595
|
-
c =
|
|
595
|
+
c = L();
|
|
596
596
|
break;
|
|
597
597
|
case oe:
|
|
598
|
-
c =
|
|
598
|
+
c = L() / 3;
|
|
599
599
|
break;
|
|
600
600
|
case x:
|
|
601
601
|
c = (b - k) / 6048e5;
|
|
@@ -637,7 +637,7 @@ var ae = { exports: {} };
|
|
|
637
637
|
return this.$d.toUTCString();
|
|
638
638
|
}, r;
|
|
639
639
|
}(), re = q.prototype;
|
|
640
|
-
return M.prototype = re, [["$ms", g], ["$s", C], ["$m", l], ["$H", y], ["$W", D], ["$M", H], ["$y",
|
|
640
|
+
return M.prototype = re, [["$ms", g], ["$s", C], ["$m", l], ["$H", y], ["$W", D], ["$M", H], ["$y", V], ["$D", Y]].forEach(function(r) {
|
|
641
641
|
re[r[1]] = function(n) {
|
|
642
642
|
return this.$g(n, r[0], r[1]);
|
|
643
643
|
};
|
|
@@ -647,9 +647,9 @@ var ae = { exports: {} };
|
|
|
647
647
|
return M(1e3 * r);
|
|
648
648
|
}, M.en = I[U], M.Ls = I, M.p = {}, M;
|
|
649
649
|
});
|
|
650
|
-
})(
|
|
651
|
-
var
|
|
652
|
-
const R = /* @__PURE__ */ V1
|
|
650
|
+
})(de);
|
|
651
|
+
var V1 = de.exports;
|
|
652
|
+
const R = /* @__PURE__ */ L1(V1), Q1 = { class: "wrapper" }, I1 = ["disabled"], j1 = ["disabled"], O1 = /* @__PURE__ */ Z({
|
|
653
653
|
__name: "QDatetimePicker",
|
|
654
654
|
props: {
|
|
655
655
|
modelValue: {
|
|
@@ -672,10 +672,10 @@ const R = /* @__PURE__ */ V1(L1), j1 = { class: "wrapper" }, I1 = ["disabled"],
|
|
|
672
672
|
const C = R(`${i.value} ${w.value}`).format("YYYY-MM-DDTHH:mm:ssZ");
|
|
673
673
|
d("change", C), d("update:modelValue", C);
|
|
674
674
|
}
|
|
675
|
-
return
|
|
675
|
+
return fe(() => {
|
|
676
676
|
const C = R();
|
|
677
677
|
console.log("d", C.format("YYYY-MM-DDTHH:mm:ssZ")), i.value = C.format("YYYY-MM-DD"), w.value = C.format("HH:mm");
|
|
678
|
-
}), (C, l) => (_(), f("div",
|
|
678
|
+
}), (C, l) => (_(), f("div", Q1, [
|
|
679
679
|
P(h("input", {
|
|
680
680
|
"onUpdate:modelValue": l[0] || (l[0] = (y) => i.value = y),
|
|
681
681
|
type: "date",
|
|
@@ -689,13 +689,13 @@ const R = /* @__PURE__ */ V1(L1), j1 = { class: "wrapper" }, I1 = ["disabled"],
|
|
|
689
689
|
type: "time",
|
|
690
690
|
disabled: !o.enabled,
|
|
691
691
|
onChange: g
|
|
692
|
-
}, null, 40,
|
|
692
|
+
}, null, 40, j1), [
|
|
693
693
|
[K, w.value]
|
|
694
694
|
])
|
|
695
695
|
]));
|
|
696
696
|
}
|
|
697
697
|
});
|
|
698
|
-
const
|
|
698
|
+
const Y1 = /* @__PURE__ */ v(O1, [["__scopeId", "data-v-b95342fe"]]), B1 = ["onClick"], T1 = { class: "dialog-header" }, Z1 = {
|
|
699
699
|
key: 0,
|
|
700
700
|
class: "dialog-title"
|
|
701
701
|
}, U1 = { class: "dialog-body" }, A1 = /* @__PURE__ */ Z({
|
|
@@ -744,20 +744,20 @@ const B1 = /* @__PURE__ */ v(Y1, [["__scopeId", "data-v-b95342fe"]]), T1 = ["onC
|
|
|
744
744
|
class: "dialog-mask",
|
|
745
745
|
onClick: g
|
|
746
746
|
}, [
|
|
747
|
-
X(
|
|
748
|
-
default:
|
|
747
|
+
X(Ce, null, {
|
|
748
|
+
default: pe(() => [
|
|
749
749
|
h("div", {
|
|
750
750
|
class: "dialog",
|
|
751
|
-
style:
|
|
752
|
-
onClick:
|
|
751
|
+
style: $e(w.value),
|
|
752
|
+
onClick: ve(C, ["stop"])
|
|
753
753
|
}, [
|
|
754
|
-
h("div",
|
|
755
|
-
o.title ? (_(), f("div", Z1,
|
|
754
|
+
h("div", T1, [
|
|
755
|
+
o.title ? (_(), f("div", Z1, T(o.title), 1)) : ie(l.$slots, "header", { key: 1 }, void 0, !0)
|
|
756
756
|
]),
|
|
757
757
|
h("div", U1, [
|
|
758
758
|
ie(l.$slots, "default", {}, void 0, !0)
|
|
759
759
|
])
|
|
760
|
-
], 12,
|
|
760
|
+
], 12, B1)
|
|
761
761
|
]),
|
|
762
762
|
_: 3
|
|
763
763
|
})
|
|
@@ -785,7 +785,7 @@ const W1 = /* @__PURE__ */ v(A1, [["__scopeId", "data-v-dff1e7ea"]]), F1 = ["hre
|
|
|
785
785
|
},
|
|
786
786
|
setup(o) {
|
|
787
787
|
return (d, u) => {
|
|
788
|
-
const i =
|
|
788
|
+
const i = ge("IconHelp");
|
|
789
789
|
return _(), f("div", {
|
|
790
790
|
class: ne(["fence", o.type])
|
|
791
791
|
}, [
|
|
@@ -796,10 +796,10 @@ const W1 = /* @__PURE__ */ v(A1, [["__scopeId", "data-v-dff1e7ea"]]), F1 = ["hre
|
|
|
796
796
|
target: "_blank"
|
|
797
797
|
}, [
|
|
798
798
|
X(i, { class: "icon" }),
|
|
799
|
-
h("div", null,
|
|
799
|
+
h("div", null, T(o.text), 1)
|
|
800
800
|
], 8, F1)) : (_(), f("div", E1, [
|
|
801
801
|
X(i, { class: "icon" }),
|
|
802
|
-
h("div", null,
|
|
802
|
+
h("div", null, T(o.text), 1)
|
|
803
803
|
]))
|
|
804
804
|
], 2);
|
|
805
805
|
};
|
|
@@ -843,7 +843,7 @@ const K1 = /* @__PURE__ */ v(z1, [["render", R1], ["__scopeId", "data-v-f4d8a4f4
|
|
|
843
843
|
g.action && g.action(g), g.disabled !== !0 && d("action", g);
|
|
844
844
|
}
|
|
845
845
|
return (g, C) => (_(), f("div", X1, [
|
|
846
|
-
(_(!0), f(
|
|
846
|
+
(_(!0), f(me, null, we(u.items, (l) => (_(), f("div", {
|
|
847
847
|
class: ne(["menu-item", i(l)]),
|
|
848
848
|
key: `menu-item-${l.id}`,
|
|
849
849
|
onClick: (y) => w(l)
|
|
@@ -854,20 +854,20 @@ const K1 = /* @__PURE__ */ v(z1, [["render", R1], ["__scopeId", "data-v-f4d8a4f4
|
|
|
854
854
|
class: "menu-image",
|
|
855
855
|
src: l.image,
|
|
856
856
|
alt: l.title
|
|
857
|
-
}, null, 8, o2)) : l.icon ? (_(),
|
|
857
|
+
}, null, 8, o2)) : l.icon ? (_(), Me(ke(l.icon), {
|
|
858
858
|
key: 1,
|
|
859
859
|
class: "menu-icon mr-1"
|
|
860
860
|
})) : ee("", !0),
|
|
861
861
|
h("div", s2, [
|
|
862
|
-
h("div", r2,
|
|
863
|
-
l.subtitle ? (_(), f("div", i2,
|
|
862
|
+
h("div", r2, T(l.title), 1),
|
|
863
|
+
l.subtitle ? (_(), f("div", i2, T(l.subtitle), 1)) : ee("", !0)
|
|
864
864
|
])
|
|
865
865
|
]))
|
|
866
866
|
], 10, e2))), 128))
|
|
867
867
|
]));
|
|
868
868
|
}
|
|
869
869
|
});
|
|
870
|
-
const a2 = /* @__PURE__ */ v(c2, [["__scopeId", "data-v-d9fb52ac"]]), d2 = (o) => (
|
|
870
|
+
const a2 = /* @__PURE__ */ v(c2, [["__scopeId", "data-v-d9fb52ac"]]), d2 = (o) => (xe("data-v-430d9fe6"), o = o(), be(), o), l2 = { class: "toggle" }, u2 = /* @__PURE__ */ d2(() => /* @__PURE__ */ h("div", { class: "toggle-switch" }, null, -1)), _2 = /* @__PURE__ */ Z({
|
|
871
871
|
__name: "QSwitch",
|
|
872
872
|
props: {
|
|
873
873
|
modelValue: {
|
|
@@ -891,7 +891,7 @@ const a2 = /* @__PURE__ */ v(c2, [["__scopeId", "data-v-d9fb52ac"]]), d2 = (o) =
|
|
|
891
891
|
"onUpdate:modelValue": C[0] || (C[0] = (l) => i.value = l),
|
|
892
892
|
onChange: w
|
|
893
893
|
}, null, 544), [
|
|
894
|
-
[
|
|
894
|
+
[ye, i.value]
|
|
895
895
|
]),
|
|
896
896
|
u2
|
|
897
897
|
]));
|
|
@@ -953,7 +953,7 @@ const h2 = /* @__PURE__ */ v(_2, [["__scopeId", "data-v-430d9fe6"]]), f2 = ["pla
|
|
|
953
953
|
disabled: !w.value,
|
|
954
954
|
onClick: y
|
|
955
955
|
}, [
|
|
956
|
-
h("div", p2,
|
|
956
|
+
h("div", p2, T(l.value), 1)
|
|
957
957
|
], 8, C2)
|
|
958
958
|
])
|
|
959
959
|
], 2));
|
|
@@ -961,20 +961,22 @@ const h2 = /* @__PURE__ */ v(_2, [["__scopeId", "data-v-430d9fe6"]]), f2 = ["pla
|
|
|
961
961
|
});
|
|
962
962
|
const v2 = /* @__PURE__ */ v($2, [["__scopeId", "data-v-dc6300df"]]), g2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
963
963
|
__proto__: null,
|
|
964
|
-
QDatetimePicker:
|
|
964
|
+
QDatetimePicker: Y1,
|
|
965
965
|
QDialog: W1,
|
|
966
966
|
QFence: q1,
|
|
967
967
|
QLoading: K1,
|
|
968
968
|
QMenu: a2,
|
|
969
969
|
QSwitch: h2,
|
|
970
970
|
QTextFieldWithButton: v2
|
|
971
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
971
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
972
|
+
const w2 = {
|
|
972
973
|
install(o, d) {
|
|
973
974
|
d.debug && console.log("options", d);
|
|
974
975
|
for (const [u, i] of Object.entries(S1))
|
|
975
976
|
d.debug && console.log("[quail-ui] register icon component", u, i), o.component(u, i);
|
|
976
977
|
for (const [u, i] of Object.entries(g2))
|
|
977
978
|
d.debug && console.log("[quail-ui] register cpmmon component", u, i), o.component(u, i);
|
|
979
|
+
o.component("QIconArrowLeft", ae);
|
|
978
980
|
}
|
|
979
981
|
};
|
|
980
982
|
export {
|