quail-ui 0.0.2

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 ADDED
@@ -0,0 +1,983 @@
1
+ import { openBlock as u, createElementBlock as h, createElementVNode as _, createStaticVNode as ce, defineComponent as Z, ref as E, watch as te, onMounted as he, withDirectives as P, vModelText as K, computed as F, createVNode as X, Transition as fe, withCtx as Ce, normalizeStyle as pe, withModifiers as $e, toDisplayString as Q, renderSlot as ie, createCommentVNode as ee, resolveComponent as ve, normalizeClass as ne, Fragment as ge, renderList as me, createBlock as we, resolveDynamicComponent as Me, vModelCheckbox as ke, pushScopeId as ye, popScopeId as xe } from "vue";
2
+ const v = (o, d) => {
3
+ const f = o.__vccOpts || o;
4
+ for (const [l, w] of d)
5
+ f[l] = w;
6
+ return f;
7
+ }, be = {}, De = {
8
+ width: "24",
9
+ height: "24",
10
+ viewBox: "0 0 24 24",
11
+ fill: "none",
12
+ xmlns: "http://www.w3.org/2000/svg"
13
+ }, Se = /* @__PURE__ */ _("path", {
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
+ stroke: "currentColor",
16
+ "stroke-width": "2",
17
+ "stroke-linecap": "round",
18
+ "stroke-linejoin": "round"
19
+ }, null, -1), He = [
20
+ Se
21
+ ];
22
+ function Ve(o, d) {
23
+ return u(), h("svg", De, He);
24
+ }
25
+ const Le = /* @__PURE__ */ v(be, [["render", Ve]]), Ie = {}, je = {
26
+ width: "24",
27
+ height: "24",
28
+ viewBox: "0 0 24 24",
29
+ fill: "none",
30
+ xmlns: "http://www.w3.org/2000/svg"
31
+ }, Oe = /* @__PURE__ */ ce('<path d="M3 7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3H16.2C17.8802 3 18.7202 3 19.362 3.32698C19.9265 3.6146 20.3854 4.07354 20.673 4.63803C21 5.27976 21 6.11984 21 7.8V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8Z" stroke="url(#paint0_linear_24_7)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 6L7.4336 12.2269C7.13256 12.6374 6.98205 12.8427 6.9869 13.0142C6.99113 13.1634 7.06185 13.303 7.17972 13.3947C7.31514 13.5 7.56967 13.5 8.07872 13.5H12V18L16.5664 11.7731C16.8674 11.3626 17.018 11.1573 17.0131 10.9858C17.0089 10.8366 16.9381 10.697 16.8203 10.6053C16.6849 10.5 16.4303 10.5 15.9213 10.5H12V6Z" fill="url(#paint1_linear_24_7)"></path><defs><linearGradient id="paint0_linear_24_7" x1="12" y1="3" x2="12" y2="21" gradientUnits="userSpaceOnUse"><stop stop-color="#D6AC5E"></stop><stop offset="1" stop-color="#9D5C2E"></stop></linearGradient><linearGradient id="paint1_linear_24_7" x1="12" y1="6" x2="12" y2="18" gradientUnits="userSpaceOnUse"><stop stop-color="#D7AD5E"></stop><stop offset="1" stop-color="#9C5B2D"></stop></linearGradient></defs>', 3), Ye = [
32
+ Oe
33
+ ];
34
+ function Be(o, d) {
35
+ return u(), h("svg", je, Ye);
36
+ }
37
+ const Te = /* @__PURE__ */ v(Ie, [["render", Be]]), Qe = {}, Ze = {
38
+ width: "24",
39
+ height: "24",
40
+ viewBox: "0 0 24 24",
41
+ fill: "none",
42
+ xmlns: "http://www.w3.org/2000/svg"
43
+ }, Ue = /* @__PURE__ */ _("path", {
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
+ stroke: "currentColor",
46
+ "stroke-width": "2",
47
+ "stroke-linecap": "round",
48
+ "stroke-linejoin": "round"
49
+ }, null, -1), Ae = [
50
+ Ue
51
+ ];
52
+ function We(o, d) {
53
+ return u(), h("svg", Ze, Ae);
54
+ }
55
+ const Fe = /* @__PURE__ */ v(Qe, [["render", We]]), Ee = {}, Ne = {
56
+ width: "24",
57
+ height: "24",
58
+ viewBox: "0 0 24 24",
59
+ fill: "none",
60
+ xmlns: "http://www.w3.org/2000/svg"
61
+ }, qe = /* @__PURE__ */ _("path", {
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
+ stroke: "currentColor",
64
+ "stroke-width": "2",
65
+ "stroke-linecap": "round",
66
+ "stroke-linejoin": "round"
67
+ }, null, -1), ze = [
68
+ qe
69
+ ];
70
+ function Pe(o, d) {
71
+ return u(), h("svg", Ne, ze);
72
+ }
73
+ const Ge = /* @__PURE__ */ v(Ee, [["render", Pe]]), Je = {}, Re = {
74
+ width: "24",
75
+ height: "24",
76
+ viewBox: "0 0 24 24",
77
+ fill: "none",
78
+ xmlns: "http://www.w3.org/2000/svg"
79
+ }, Ke = /* @__PURE__ */ _("path", {
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
+ stroke: "currentColor",
82
+ "stroke-width": "2",
83
+ "stroke-linecap": "round",
84
+ "stroke-linejoin": "round"
85
+ }, null, -1), Xe = [
86
+ Ke
87
+ ];
88
+ function et(o, d) {
89
+ return u(), h("svg", Re, Xe);
90
+ }
91
+ const tt = /* @__PURE__ */ v(Je, [["render", et]]), nt = {}, ot = {
92
+ width: "24",
93
+ height: "24",
94
+ viewBox: "0 0 24 24",
95
+ fill: "none",
96
+ xmlns: "http://www.w3.org/2000/svg"
97
+ }, st = /* @__PURE__ */ _("path", {
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
+ stroke: "currentColor",
100
+ "stroke-width": "2",
101
+ "stroke-linecap": "round",
102
+ "stroke-linejoin": "round"
103
+ }, null, -1), rt = [
104
+ st
105
+ ];
106
+ function it(o, d) {
107
+ return u(), h("svg", ot, rt);
108
+ }
109
+ const ct = /* @__PURE__ */ v(nt, [["render", it]]), at = {}, dt = {
110
+ width: "24",
111
+ height: "24",
112
+ viewBox: "0 0 24 24",
113
+ fill: "none",
114
+ xmlns: "http://www.w3.org/2000/svg"
115
+ }, lt = /* @__PURE__ */ _("path", {
116
+ d: "M6 18L18 6M18 6H10M18 6V14",
117
+ stroke: "currentColor",
118
+ "stroke-width": "2",
119
+ "stroke-linecap": "round",
120
+ "stroke-linejoin": "round"
121
+ }, null, -1), ut = [
122
+ lt
123
+ ];
124
+ function _t(o, d) {
125
+ return u(), h("svg", dt, ut);
126
+ }
127
+ const ht = /* @__PURE__ */ v(at, [["render", _t]]), ft = {}, Ct = {
128
+ width: "24",
129
+ height: "24",
130
+ viewBox: "0 0 24 24",
131
+ fill: "none",
132
+ xmlns: "http://www.w3.org/2000/svg"
133
+ }, pt = /* @__PURE__ */ _("path", {
134
+ d: "M19 12H5M5 12L12 19M5 12L12 5",
135
+ stroke: "currentColor",
136
+ "stroke-width": "2",
137
+ "stroke-linecap": "round",
138
+ "stroke-linejoin": "round"
139
+ }, null, -1), $t = [
140
+ pt
141
+ ];
142
+ function vt(o, d) {
143
+ return u(), h("svg", Ct, $t);
144
+ }
145
+ const gt = /* @__PURE__ */ v(ft, [["render", vt]]), mt = {}, wt = {
146
+ width: "24",
147
+ height: "24",
148
+ viewBox: "0 0 24 24",
149
+ fill: "none",
150
+ xmlns: "http://www.w3.org/2000/svg"
151
+ }, Mt = /* @__PURE__ */ _("path", {
152
+ d: "M5 12H19M19 12L12 5M19 12L12 19",
153
+ stroke: "currentColor",
154
+ "stroke-width": "2",
155
+ "stroke-linecap": "round",
156
+ "stroke-linejoin": "round"
157
+ }, null, -1), kt = [
158
+ Mt
159
+ ];
160
+ function yt(o, d) {
161
+ return u(), h("svg", wt, kt);
162
+ }
163
+ const xt = /* @__PURE__ */ v(mt, [["render", yt]]), bt = {}, Dt = {
164
+ width: "24",
165
+ height: "24",
166
+ viewBox: "0 0 24 24",
167
+ fill: "none",
168
+ xmlns: "http://www.w3.org/2000/svg"
169
+ }, St = /* @__PURE__ */ _("path", {
170
+ d: "M9.09 9C9.3251 8.33167 9.78915 7.76811 10.4 7.40913C11.0108 7.05016 11.7289 6.91894 12.4272 7.03871C13.1255 7.15849 13.7588 7.52152 14.2151 8.06353C14.6713 8.60553 14.9211 9.29152 14.92 10C14.92 12 11.92 13 11.92 13M12 17H12.01M22 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",
171
+ stroke: "currentColor",
172
+ "stroke-width": "2",
173
+ "stroke-linecap": "round",
174
+ "stroke-linejoin": "round"
175
+ }, null, -1), Ht = [
176
+ St
177
+ ];
178
+ function Vt(o, d) {
179
+ return u(), h("svg", Dt, Ht);
180
+ }
181
+ const Lt = /* @__PURE__ */ v(bt, [["render", Vt]]), It = {}, jt = {
182
+ width: "24",
183
+ height: "24",
184
+ viewBox: "0 0 24 24",
185
+ fill: "none",
186
+ xmlns: "http://www.w3.org/2000/svg"
187
+ }, Ot = /* @__PURE__ */ _("path", {
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
+ stroke: "currentColor",
190
+ "stroke-width": "2",
191
+ "stroke-linecap": "round",
192
+ "stroke-linejoin": "round"
193
+ }, null, -1), Yt = [
194
+ Ot
195
+ ];
196
+ function Bt(o, d) {
197
+ return u(), h("svg", jt, Yt);
198
+ }
199
+ const Tt = /* @__PURE__ */ v(It, [["render", Bt]]), Qt = {}, Zt = {
200
+ width: "24",
201
+ height: "24",
202
+ viewBox: "0 0 24 24",
203
+ fill: "none",
204
+ xmlns: "http://www.w3.org/2000/svg"
205
+ }, Ut = /* @__PURE__ */ _("path", {
206
+ d: "M18 8L22 12M22 12L18 16M22 12H9M15 4.20404C13.7252 3.43827 12.2452 3 10.6667 3C5.8802 3 2 7.02944 2 12C2 16.9706 5.8802 21 10.6667 21C12.2452 21 13.7252 20.5617 15 19.796",
207
+ stroke: "currentColor",
208
+ "stroke-width": "2",
209
+ "stroke-linecap": "round",
210
+ "stroke-linejoin": "round"
211
+ }, null, -1), At = [
212
+ Ut
213
+ ];
214
+ function Wt(o, d) {
215
+ return u(), h("svg", Zt, At);
216
+ }
217
+ const Ft = /* @__PURE__ */ v(Qt, [["render", Wt]]), Et = {}, Nt = {
218
+ width: "32",
219
+ height: "32",
220
+ viewBox: "0 0 32 32",
221
+ fill: "none",
222
+ xmlns: "http://www.w3.org/2000/svg"
223
+ }, qt = /* @__PURE__ */ _("path", {
224
+ d: "M23.5 19.5H13L8 24.5H18.5L23.5 19.5Z",
225
+ fill: "#CB0000"
226
+ }, null, -1), zt = /* @__PURE__ */ _("path", {
227
+ d: "M21.2178 10.7822L4 28M23.6775 19.3911H12.6089M9.65727 24.3105H17.943C18.2438 24.3105 18.3942 24.3105 18.5358 24.2765C18.6613 24.2464 18.7812 24.1967 18.8913 24.1292C19.0154 24.0532 19.1217 23.9468 19.3344 23.7341L25.5222 17.5464C25.8161 17.2525 25.963 17.1055 26.0813 16.9754C28.6396 14.161 28.6396 9.86314 26.0813 7.04871C25.963 6.91861 25.8161 6.77167 25.5222 6.47778C25.2283 6.1839 25.0814 6.03695 24.9513 5.9187C22.1369 3.36043 17.839 3.36043 15.0246 5.9187C14.8945 6.03695 14.7475 6.1839 14.4537 6.47778L8.26586 12.6656C8.05316 12.8783 7.94681 12.9846 7.87075 13.1087C7.80332 13.2188 7.75363 13.3387 7.7235 13.4642C7.68952 13.6058 7.68952 13.7562 7.68952 14.057V22.3427C7.68952 23.0315 7.68952 23.3759 7.82357 23.639C7.94148 23.8704 8.12962 24.0585 8.36103 24.1764C8.6241 24.3105 8.96849 24.3105 9.65727 24.3105Z",
228
+ stroke: "currentColor",
229
+ "stroke-width": "2",
230
+ "stroke-linecap": "round",
231
+ "stroke-linejoin": "round"
232
+ }, null, -1), Pt = [
233
+ qt,
234
+ zt
235
+ ];
236
+ function Gt(o, d) {
237
+ return u(), h("svg", Nt, Pt);
238
+ }
239
+ const Jt = /* @__PURE__ */ v(Et, [["render", Gt]]), Rt = {}, Kt = {
240
+ width: "24",
241
+ height: "24",
242
+ viewBox: "0 0 24 24",
243
+ fill: "none",
244
+ xmlns: "http://www.w3.org/2000/svg"
245
+ }, Xt = /* @__PURE__ */ _("path", {
246
+ 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",
247
+ stroke: "currentColor",
248
+ "stroke-width": "2",
249
+ "stroke-linecap": "round",
250
+ "stroke-linejoin": "round"
251
+ }, null, -1), e1 = [
252
+ Xt
253
+ ];
254
+ function t1(o, d) {
255
+ return u(), h("svg", Kt, e1);
256
+ }
257
+ const n1 = /* @__PURE__ */ v(Rt, [["render", t1]]), o1 = {}, s1 = {
258
+ width: "24",
259
+ height: "24",
260
+ viewBox: "0 0 24 24",
261
+ fill: "none",
262
+ xmlns: "http://www.w3.org/2000/svg"
263
+ }, r1 = /* @__PURE__ */ _("path", {
264
+ d: "M12 21L11.8999 20.8499C11.2053 19.808 10.858 19.287 10.3991 18.9098C9.99286 18.5759 9.52476 18.3254 9.02161 18.1726C8.45325 18 7.82711 18 6.57482 18H5.2C4.07989 18 3.51984 18 3.09202 17.782C2.71569 17.5903 2.40973 17.2843 2.21799 16.908C2 16.4802 2 15.9201 2 14.8V6.2C2 5.07989 2 4.51984 2.21799 4.09202C2.40973 3.71569 2.71569 3.40973 3.09202 3.21799C3.51984 3 4.07989 3 5.2 3H5.6C7.84021 3 8.96031 3 9.81596 3.43597C10.5686 3.81947 11.1805 4.43139 11.564 5.18404C12 6.03968 12 7.15979 12 9.4M12 21V9.4M12 21L12.1001 20.8499C12.7947 19.808 13.142 19.287 13.6009 18.9098C14.0071 18.5759 14.4752 18.3254 14.9784 18.1726C15.5467 18 16.1729 18 17.4252 18H18.8C19.9201 18 20.4802 18 20.908 17.782C21.2843 17.5903 21.5903 17.2843 21.782 16.908C22 16.4802 22 15.9201 22 14.8V6.2C22 5.07989 22 4.51984 21.782 4.09202C21.5903 3.71569 21.2843 3.40973 20.908 3.21799C20.4802 3 19.9201 3 18.8 3H18.4C16.1598 3 15.0397 3 14.184 3.43597C13.4314 3.81947 12.8195 4.43139 12.436 5.18404C12 6.03968 12 7.15979 12 9.4",
265
+ stroke: "currentColor",
266
+ "stroke-width": "2",
267
+ "stroke-linecap": "round",
268
+ "stroke-linejoin": "round"
269
+ }, null, -1), i1 = [
270
+ r1
271
+ ];
272
+ function c1(o, d) {
273
+ return u(), h("svg", s1, i1);
274
+ }
275
+ const a1 = /* @__PURE__ */ v(o1, [["render", c1]]), d1 = {}, l1 = {
276
+ width: "24",
277
+ height: "24",
278
+ viewBox: "0 0 24 24",
279
+ fill: "none",
280
+ xmlns: "http://www.w3.org/2000/svg"
281
+ }, u1 = /* @__PURE__ */ _("path", {
282
+ 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",
283
+ stroke: "currentColor",
284
+ "stroke-width": "2",
285
+ "stroke-linecap": "round",
286
+ "stroke-linejoin": "round"
287
+ }, null, -1), _1 = [
288
+ u1
289
+ ];
290
+ function h1(o, d) {
291
+ return u(), h("svg", l1, _1);
292
+ }
293
+ const f1 = /* @__PURE__ */ v(d1, [["render", h1]]), C1 = {}, p1 = {
294
+ width: "24",
295
+ height: "24",
296
+ viewBox: "0 0 24 24",
297
+ fill: "none",
298
+ xmlns: "http://www.w3.org/2000/svg"
299
+ }, $1 = /* @__PURE__ */ _("path", {
300
+ d: "M18 2L18.6178 3.23558C18.8833 3.76656 19.016 4.03205 19.1934 4.26211C19.3507 4.46626 19.5337 4.64927 19.7379 4.80664C19.9679 4.98397 20.2334 5.11672 20.7644 5.38221L22 6L20.7644 6.61779C20.2334 6.88328 19.9679 7.01603 19.7379 7.19336C19.5337 7.35073 19.3507 7.53374 19.1934 7.73789C19.016 7.96795 18.8833 8.23344 18.6178 8.76442L18 10L17.3822 8.76442C17.1167 8.23344 16.984 7.96795 16.8066 7.73789C16.6493 7.53374 16.4663 7.35073 16.2621 7.19336C16.0321 7.01603 15.7666 6.88328 15.2356 6.61779L14 6L15.2356 5.38221C15.7666 5.11672 16.0321 4.98397 16.2621 4.80664C16.4663 4.64927 16.6493 4.46626 16.8066 4.26211C16.984 4.03205 17.1167 3.76656 17.3822 3.23558L18 2Z",
301
+ stroke: "currentColor",
302
+ "stroke-width": "2",
303
+ "stroke-linecap": "round",
304
+ "stroke-linejoin": "round"
305
+ }, null, -1), v1 = /* @__PURE__ */ _("path", {
306
+ d: "M21 13.3893C19.689 15.689 17.2145 17.2395 14.3779 17.2395C10.1711 17.2395 6.76075 13.8292 6.76075 9.62233C6.76075 6.78554 8.31149 4.31094 10.6115 3C5.77979 3.45812 2 7.52692 2 12.4785C2 17.7371 6.26292 22 11.5215 22C16.4729 22 20.5415 18.2206 21 13.3893Z",
307
+ stroke: "currentColor",
308
+ "stroke-width": "2",
309
+ "stroke-linecap": "round",
310
+ "stroke-linejoin": "round"
311
+ }, null, -1), g1 = [
312
+ $1,
313
+ v1
314
+ ];
315
+ function m1(o, d) {
316
+ return u(), h("svg", p1, g1);
317
+ }
318
+ const w1 = /* @__PURE__ */ v(C1, [["render", m1]]), M1 = {}, k1 = {
319
+ width: "24",
320
+ height: "24",
321
+ viewBox: "0 0 24 24",
322
+ fill: "none",
323
+ xmlns: "http://www.w3.org/2000/svg"
324
+ }, y1 = /* @__PURE__ */ _("path", {
325
+ d: "M12 2V4M12 20V22M4 12H2M6.31412 6.31412L4.8999 4.8999M17.6859 6.31412L19.1001 4.8999M6.31412 17.69L4.8999 19.1042M17.6859 17.69L19.1001 19.1042M22 12H20M17 12C17 14.7614 14.7614 17 12 17C9.23858 17 7 14.7614 7 12C7 9.23858 9.23858 7 12 7C14.7614 7 17 9.23858 17 12Z",
326
+ stroke: "currentColor",
327
+ "stroke-width": "2",
328
+ "stroke-linecap": "round",
329
+ "stroke-linejoin": "round"
330
+ }, null, -1), x1 = [
331
+ y1
332
+ ];
333
+ function b1(o, d) {
334
+ return u(), h("svg", k1, x1);
335
+ }
336
+ const D1 = /* @__PURE__ */ v(M1, [["render", b1]]), S1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
337
+ __proto__: null,
338
+ IconArrowRight: xt,
339
+ IconArrowUpRight: ht,
340
+ IconBook: a1,
341
+ IconCopy: Fe,
342
+ IconDesktop: tt,
343
+ IconFeather: n1,
344
+ IconHelp: Lt,
345
+ IconInfoSquare: Le,
346
+ IconLogout: Ft,
347
+ IconMagicWand: Ge,
348
+ IconMobile: ct,
349
+ IconMoonStar: w1,
350
+ IconQuail: Jt,
351
+ IconTrash: f1,
352
+ IconUserCircle: Tt,
353
+ IconZapSquare: Te,
354
+ QIconArrowLeft: gt,
355
+ QIconSun: D1
356
+ }, Symbol.toStringTag, { value: "Module" }));
357
+ var H1 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
358
+ function V1(o) {
359
+ return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
360
+ }
361
+ var ae = { exports: {} };
362
+ (function(o, d) {
363
+ (function(f, l) {
364
+ o.exports = l();
365
+ })(H1, function() {
366
+ var f = 1e3, l = 6e4, w = 36e5, g = "millisecond", C = "second", a = "minute", y = "hour", D = "day", x = "week", H = "month", oe = "quarter", L = "year", B = "date", se = "Invalid Date", de = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, le = /\[([^\]]+)]|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, ue = { 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
+ var n = ["th", "st", "nd", "rd"], e = r % 100;
368
+ return "[" + r + (n[(e - 20) % 10] || n[e] || n[0]) + "]";
369
+ } }, G = function(r, n, e) {
370
+ var s = String(r);
371
+ return !s || s.length >= n ? r : "" + Array(n + 1 - s.length).join(e) + r;
372
+ }, _e = { s: G, z: function(r) {
373
+ var n = -r.utcOffset(), e = Math.abs(n), s = Math.floor(e / 60), t = e % 60;
374
+ return (n <= 0 ? "+" : "-") + G(s, 2, "0") + ":" + G(t, 2, "0");
375
+ }, m: function r(n, e) {
376
+ if (n.date() < e.date())
377
+ return -r(e, n);
378
+ var s = 12 * (e.year() - n.year()) + (e.month() - n.month()), t = n.clone().add(s, H), i = e - t < 0, c = n.clone().add(s + (i ? -1 : 1), H);
379
+ return +(-(s + (e - t) / (i ? t - c : c - t)) || 0);
380
+ }, a: function(r) {
381
+ return r < 0 ? Math.ceil(r) || 0 : Math.floor(r);
382
+ }, p: function(r) {
383
+ return { M: H, y: L, w: x, d: D, D: B, h: y, m: a, s: C, ms: g, Q: oe }[r] || String(r || "").toLowerCase().replace(/s$/, "");
384
+ }, u: function(r) {
385
+ return r === void 0;
386
+ } }, U = "en", j = {};
387
+ j[U] = ue;
388
+ var J = function(r) {
389
+ return r instanceof q;
390
+ }, N = function r(n, e, s) {
391
+ var t;
392
+ if (!n)
393
+ return U;
394
+ if (typeof n == "string") {
395
+ var i = n.toLowerCase();
396
+ j[i] && (t = i), e && (j[i] = e, t = i);
397
+ var c = n.split("-");
398
+ if (!t && c.length > 1)
399
+ return r(c[0]);
400
+ } else {
401
+ var $ = n.name;
402
+ j[$] = n, t = $;
403
+ }
404
+ return !s && t && (U = t), t || !s && U;
405
+ }, M = function(r, n) {
406
+ if (J(r))
407
+ return r.clone();
408
+ var e = typeof n == "object" ? n : {};
409
+ return e.date = r, e.args = arguments, new q(e);
410
+ }, p = _e;
411
+ p.l = N, p.i = J, p.w = function(r, n) {
412
+ return M(r, { locale: n.$L, utc: n.$u, x: n.$x, $offset: n.$offset });
413
+ };
414
+ var q = function() {
415
+ function r(e) {
416
+ this.$L = N(e.locale, null, !0), this.parse(e);
417
+ }
418
+ var n = r.prototype;
419
+ return n.parse = function(e) {
420
+ this.$d = function(s) {
421
+ var t = s.date, i = s.utc;
422
+ if (t === null)
423
+ return /* @__PURE__ */ new Date(NaN);
424
+ if (p.u(t))
425
+ return /* @__PURE__ */ new Date();
426
+ if (t instanceof Date)
427
+ return new Date(t);
428
+ if (typeof t == "string" && !/Z$/i.test(t)) {
429
+ var c = t.match(de);
430
+ if (c) {
431
+ var $ = c[2] - 1 || 0, m = (c[7] || "0").substring(0, 3);
432
+ return i ? new Date(Date.UTC(c[1], $, c[3] || 1, c[4] || 0, c[5] || 0, c[6] || 0, m)) : new Date(c[1], $, c[3] || 1, c[4] || 0, c[5] || 0, c[6] || 0, m);
433
+ }
434
+ }
435
+ return new Date(t);
436
+ }(e), this.$x = e.x || {}, this.init();
437
+ }, n.init = function() {
438
+ var e = this.$d;
439
+ this.$y = e.getFullYear(), this.$M = e.getMonth(), this.$D = e.getDate(), this.$W = e.getDay(), this.$H = e.getHours(), this.$m = e.getMinutes(), this.$s = e.getSeconds(), this.$ms = e.getMilliseconds();
440
+ }, n.$utils = function() {
441
+ return p;
442
+ }, n.isValid = function() {
443
+ return this.$d.toString() !== se;
444
+ }, n.isSame = function(e, s) {
445
+ var t = M(e);
446
+ return this.startOf(s) <= t && t <= this.endOf(s);
447
+ }, n.isAfter = function(e, s) {
448
+ return M(e) < this.startOf(s);
449
+ }, n.isBefore = function(e, s) {
450
+ return this.endOf(s) < M(e);
451
+ }, n.$g = function(e, s, t) {
452
+ return p.u(e) ? this[s] : this.set(t, e);
453
+ }, n.unix = function() {
454
+ return Math.floor(this.valueOf() / 1e3);
455
+ }, n.valueOf = function() {
456
+ return this.$d.getTime();
457
+ }, n.startOf = function(e, s) {
458
+ var t = this, i = !!p.u(s) || s, c = p.p(e), $ = function(Y, S) {
459
+ var I = p.w(t.$u ? Date.UTC(t.$y, S, Y) : new Date(t.$y, S, Y), t);
460
+ return i ? I : I.endOf(D);
461
+ }, m = function(Y, S) {
462
+ return p.w(t.toDate()[Y].apply(t.toDate("s"), (i ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(S)), t);
463
+ }, k = this.$W, b = this.$M, V = this.$D, T = "set" + (this.$u ? "UTC" : "");
464
+ switch (c) {
465
+ case L:
466
+ return i ? $(1, 0) : $(31, 11);
467
+ case H:
468
+ return i ? $(1, b) : $(0, b + 1);
469
+ case x:
470
+ var O = this.$locale().weekStart || 0, A = (k < O ? k + 7 : k) - O;
471
+ return $(i ? V - A : V + (6 - A), b);
472
+ case D:
473
+ case B:
474
+ return m(T + "Hours", 0);
475
+ case y:
476
+ return m(T + "Minutes", 1);
477
+ case a:
478
+ return m(T + "Seconds", 2);
479
+ case C:
480
+ return m(T + "Milliseconds", 3);
481
+ default:
482
+ return this.clone();
483
+ }
484
+ }, n.endOf = function(e) {
485
+ return this.startOf(e, !1);
486
+ }, n.$set = function(e, s) {
487
+ var t, i = p.p(e), c = "set" + (this.$u ? "UTC" : ""), $ = (t = {}, t[D] = c + "Date", t[B] = c + "Date", t[H] = c + "Month", t[L] = c + "FullYear", t[y] = c + "Hours", t[a] = c + "Minutes", t[C] = c + "Seconds", t[g] = c + "Milliseconds", t)[i], m = i === D ? this.$D + (s - this.$W) : s;
488
+ if (i === H || i === L) {
489
+ var k = this.clone().set(B, 1);
490
+ k.$d[$](m), k.init(), this.$d = k.set(B, Math.min(this.$D, k.daysInMonth())).$d;
491
+ } else
492
+ $ && this.$d[$](m);
493
+ return this.init(), this;
494
+ }, n.set = function(e, s) {
495
+ return this.clone().$set(e, s);
496
+ }, n.get = function(e) {
497
+ return this[p.p(e)]();
498
+ }, n.add = function(e, s) {
499
+ var t, i = this;
500
+ e = Number(e);
501
+ var c = p.p(s), $ = function(b) {
502
+ var V = M(i);
503
+ return p.w(V.date(V.date() + Math.round(b * e)), i);
504
+ };
505
+ if (c === H)
506
+ return this.set(H, this.$M + e);
507
+ if (c === L)
508
+ return this.set(L, this.$y + e);
509
+ if (c === D)
510
+ return $(1);
511
+ if (c === x)
512
+ return $(7);
513
+ var m = (t = {}, t[a] = l, t[y] = w, t[C] = f, t)[c] || 1, k = this.$d.getTime() + e * m;
514
+ return p.w(k, this);
515
+ }, n.subtract = function(e, s) {
516
+ return this.add(-1 * e, s);
517
+ }, n.format = function(e) {
518
+ var s = this, t = this.$locale();
519
+ if (!this.isValid())
520
+ return t.invalidDate || se;
521
+ var i = e || "YYYY-MM-DDTHH:mm:ssZ", c = p.z(this), $ = this.$H, m = this.$m, k = this.$M, b = t.weekdays, V = t.months, T = t.meridiem, O = function(S, I, W, z) {
522
+ return S && (S[I] || S(s, i)) || W[I].slice(0, z);
523
+ }, A = function(S) {
524
+ return p.s($ % 12 || 12, S, "0");
525
+ }, Y = T || function(S, I, W) {
526
+ var z = S < 12 ? "AM" : "PM";
527
+ return W ? z.toLowerCase() : z;
528
+ };
529
+ return i.replace(le, function(S, I) {
530
+ return I || function(W) {
531
+ switch (W) {
532
+ case "YY":
533
+ return String(s.$y).slice(-2);
534
+ case "YYYY":
535
+ return p.s(s.$y, 4, "0");
536
+ case "M":
537
+ return k + 1;
538
+ case "MM":
539
+ return p.s(k + 1, 2, "0");
540
+ case "MMM":
541
+ return O(t.monthsShort, k, V, 3);
542
+ case "MMMM":
543
+ return O(V, k);
544
+ case "D":
545
+ return s.$D;
546
+ case "DD":
547
+ return p.s(s.$D, 2, "0");
548
+ case "d":
549
+ return String(s.$W);
550
+ case "dd":
551
+ return O(t.weekdaysMin, s.$W, b, 2);
552
+ case "ddd":
553
+ return O(t.weekdaysShort, s.$W, b, 3);
554
+ case "dddd":
555
+ return b[s.$W];
556
+ case "H":
557
+ return String($);
558
+ case "HH":
559
+ return p.s($, 2, "0");
560
+ case "h":
561
+ return A(1);
562
+ case "hh":
563
+ return A(2);
564
+ case "a":
565
+ return Y($, m, !0);
566
+ case "A":
567
+ return Y($, m, !1);
568
+ case "m":
569
+ return String(m);
570
+ case "mm":
571
+ return p.s(m, 2, "0");
572
+ case "s":
573
+ return String(s.$s);
574
+ case "ss":
575
+ return p.s(s.$s, 2, "0");
576
+ case "SSS":
577
+ return p.s(s.$ms, 3, "0");
578
+ case "Z":
579
+ return c;
580
+ }
581
+ return null;
582
+ }(S) || c.replace(":", "");
583
+ });
584
+ }, n.utcOffset = function() {
585
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
586
+ }, n.diff = function(e, s, t) {
587
+ var i, c = this, $ = p.p(s), m = M(e), k = (m.utcOffset() - this.utcOffset()) * l, b = this - m, V = function() {
588
+ return p.m(c, m);
589
+ };
590
+ switch ($) {
591
+ case L:
592
+ i = V() / 12;
593
+ break;
594
+ case H:
595
+ i = V();
596
+ break;
597
+ case oe:
598
+ i = V() / 3;
599
+ break;
600
+ case x:
601
+ i = (b - k) / 6048e5;
602
+ break;
603
+ case D:
604
+ i = (b - k) / 864e5;
605
+ break;
606
+ case y:
607
+ i = b / w;
608
+ break;
609
+ case a:
610
+ i = b / l;
611
+ break;
612
+ case C:
613
+ i = b / f;
614
+ break;
615
+ default:
616
+ i = b;
617
+ }
618
+ return t ? i : p.a(i);
619
+ }, n.daysInMonth = function() {
620
+ return this.endOf(H).$D;
621
+ }, n.$locale = function() {
622
+ return j[this.$L];
623
+ }, n.locale = function(e, s) {
624
+ if (!e)
625
+ return this.$L;
626
+ var t = this.clone(), i = N(e, s, !0);
627
+ return i && (t.$L = i), t;
628
+ }, n.clone = function() {
629
+ return p.w(this.$d, this);
630
+ }, n.toDate = function() {
631
+ return new Date(this.valueOf());
632
+ }, n.toJSON = function() {
633
+ return this.isValid() ? this.toISOString() : null;
634
+ }, n.toISOString = function() {
635
+ return this.$d.toISOString();
636
+ }, n.toString = function() {
637
+ return this.$d.toUTCString();
638
+ }, r;
639
+ }(), re = q.prototype;
640
+ return M.prototype = re, [["$ms", g], ["$s", C], ["$m", a], ["$H", y], ["$W", D], ["$M", H], ["$y", L], ["$D", B]].forEach(function(r) {
641
+ re[r[1]] = function(n) {
642
+ return this.$g(n, r[0], r[1]);
643
+ };
644
+ }), M.extend = function(r, n) {
645
+ return r.$i || (r(n, q, M), r.$i = !0), M;
646
+ }, M.locale = N, M.isDayjs = J, M.unix = function(r) {
647
+ return M(1e3 * r);
648
+ }, M.en = j[U], M.Ls = j, M.p = {}, M;
649
+ });
650
+ })(ae);
651
+ var L1 = ae.exports;
652
+ const R = /* @__PURE__ */ V1(L1), I1 = { class: "wrapper" }, j1 = ["disabled"], O1 = ["disabled"], Y1 = /* @__PURE__ */ Z({
653
+ __name: "QDatetimePicker",
654
+ props: {
655
+ modelValue: {
656
+ type: String,
657
+ required: !0
658
+ },
659
+ enabled: {
660
+ type: Boolean,
661
+ default: !0
662
+ }
663
+ },
664
+ emits: ["update:modelValue", "change"],
665
+ setup(o, { emit: d }) {
666
+ const f = o, l = E(""), w = E("");
667
+ te(() => f.modelValue, (C) => {
668
+ const a = R(C);
669
+ console.log("d", a.format("YYYY-MM-DDTHH:mm:ssZ")), l.value = a.format("YYYY-MM-DD"), w.value = a.format("HH:mm");
670
+ });
671
+ function g() {
672
+ const C = R(`${l.value} ${w.value}`).format("YYYY-MM-DDTHH:mm:ssZ");
673
+ d("change", C), d("update:modelValue", C);
674
+ }
675
+ return he(() => {
676
+ const C = R();
677
+ console.log("d", C.format("YYYY-MM-DDTHH:mm:ssZ")), l.value = C.format("YYYY-MM-DD"), w.value = C.format("HH:mm");
678
+ }), (C, a) => (u(), h("div", I1, [
679
+ P(_("input", {
680
+ "onUpdate:modelValue": a[0] || (a[0] = (y) => l.value = y),
681
+ type: "date",
682
+ disabled: !o.enabled,
683
+ onChange: g
684
+ }, null, 40, j1), [
685
+ [K, l.value]
686
+ ]),
687
+ P(_("input", {
688
+ "onUpdate:modelValue": a[1] || (a[1] = (y) => w.value = y),
689
+ type: "time",
690
+ disabled: !o.enabled,
691
+ onChange: g
692
+ }, null, 40, O1), [
693
+ [K, w.value]
694
+ ])
695
+ ]));
696
+ }
697
+ });
698
+ const B1 = /* @__PURE__ */ v(Y1, [["__scopeId", "data-v-b95342fe"]]), T1 = ["onClick"], Q1 = { class: "dialog-header" }, Z1 = {
699
+ key: 0,
700
+ class: "dialog-title"
701
+ }, U1 = { class: "dialog-body" }, A1 = /* @__PURE__ */ Z({
702
+ __name: "QDialog",
703
+ props: {
704
+ modelValue: Boolean,
705
+ title: {
706
+ type: String,
707
+ default: ""
708
+ },
709
+ width: {
710
+ type: String,
711
+ default: "500px"
712
+ },
713
+ height: {
714
+ type: String,
715
+ default: "auto"
716
+ },
717
+ position: {
718
+ type: String,
719
+ default: "center"
720
+ }
721
+ },
722
+ emits: ["update:modelValue", "close"],
723
+ setup(o, { emit: d }) {
724
+ const f = o, l = E(f.modelValue), w = F(() => {
725
+ const a = document.body.clientWidth < 720 ? "100%" : f.width, y = f.height;
726
+ return {
727
+ width: a,
728
+ height: y
729
+ };
730
+ });
731
+ te(
732
+ () => f.modelValue,
733
+ (a) => {
734
+ l.value = a;
735
+ }
736
+ );
737
+ function g() {
738
+ l.value = !1, d("update:modelValue", !1), d("close");
739
+ }
740
+ function C() {
741
+ }
742
+ return (a, y) => l.value ? (u(), h("div", {
743
+ key: 0,
744
+ class: "dialog-mask",
745
+ onClick: g
746
+ }, [
747
+ X(fe, null, {
748
+ default: Ce(() => [
749
+ _("div", {
750
+ class: "dialog",
751
+ style: pe(w.value),
752
+ onClick: $e(C, ["stop"])
753
+ }, [
754
+ _("div", Q1, [
755
+ o.title ? (u(), h("div", Z1, Q(o.title), 1)) : ie(a.$slots, "header", { key: 1 }, void 0, !0)
756
+ ]),
757
+ _("div", U1, [
758
+ ie(a.$slots, "default", {}, void 0, !0)
759
+ ])
760
+ ], 12, T1)
761
+ ]),
762
+ _: 3
763
+ })
764
+ ])) : ee("", !0);
765
+ }
766
+ });
767
+ const W1 = /* @__PURE__ */ v(A1, [["__scopeId", "data-v-dff1e7ea"]]), F1 = ["href"], E1 = {
768
+ key: 1,
769
+ class: "fence-inner"
770
+ }, N1 = /* @__PURE__ */ Z({
771
+ __name: "QFence",
772
+ props: {
773
+ link: {
774
+ type: String,
775
+ default: ""
776
+ },
777
+ text: {
778
+ type: String,
779
+ default: ""
780
+ },
781
+ type: {
782
+ type: String,
783
+ default: "default"
784
+ }
785
+ },
786
+ setup(o) {
787
+ return (d, f) => {
788
+ const l = ve("IconHelp");
789
+ return u(), h("div", {
790
+ class: ne(["fence", o.type])
791
+ }, [
792
+ o.link ? (u(), h("a", {
793
+ key: 0,
794
+ class: "fence-inner",
795
+ href: o.link,
796
+ target: "_blank"
797
+ }, [
798
+ X(l, { class: "icon" }),
799
+ _("div", null, Q(o.text), 1)
800
+ ], 8, F1)) : (u(), h("div", E1, [
801
+ X(l, { class: "icon" }),
802
+ _("div", null, Q(o.text), 1)
803
+ ]))
804
+ ], 2);
805
+ };
806
+ }
807
+ });
808
+ const q1 = /* @__PURE__ */ v(N1, [["__scopeId", "data-v-db8d761f"]]);
809
+ const z1 = {}, P1 = {
810
+ class: "pa-4 mb-4 rounded-sm text-center",
811
+ color: "glass"
812
+ }, G1 = /* @__PURE__ */ ce('<div class="spinners py-2 mb-2 d-flex justify-center" data-v-f4d8a4f4><i class="spinner one" aria-hidden="true" data-v-f4d8a4f4></i><i class="spinner two" aria-hidden="true" data-v-f4d8a4f4></i><i class="spinner three" aria-hidden="true" data-v-f4d8a4f4></i><i class="spinner four" aria-hidden="true" data-v-f4d8a4f4></i><i class="spinner five" aria-hidden="true" data-v-f4d8a4f4></i></div>', 1), J1 = [
813
+ G1
814
+ ];
815
+ function R1(o, d) {
816
+ return u(), h("div", P1, J1);
817
+ }
818
+ const K1 = /* @__PURE__ */ v(z1, [["render", R1], ["__scopeId", "data-v-f4d8a4f4"]]), X1 = { class: "menu frame" }, e2 = ["onClick"], t2 = {
819
+ key: 0,
820
+ class: "menu-item-divider"
821
+ }, n2 = {
822
+ key: 1,
823
+ class: "menu-item-inner"
824
+ }, o2 = ["src", "alt"], s2 = { class: "menu-item-content" }, r2 = { class: "menu-title" }, i2 = {
825
+ key: 0,
826
+ class: "menu-subtitle"
827
+ }, c2 = /* @__PURE__ */ Z({
828
+ __name: "QMenu",
829
+ props: {
830
+ items: {
831
+ type: Array,
832
+ required: !0
833
+ }
834
+ },
835
+ emits: ["action"],
836
+ setup(o, { emit: d }) {
837
+ const f = o;
838
+ function l(g) {
839
+ let C = "";
840
+ return g.disabled && (C += " disabled"), g.danger && (C += " danger"), C;
841
+ }
842
+ function w(g) {
843
+ g.action && g.action(g), g.disabled !== !0 && d("action", g);
844
+ }
845
+ return (g, C) => (u(), h("div", X1, [
846
+ (u(!0), h(ge, null, me(f.items, (a) => (u(), h("div", {
847
+ class: ne(["menu-item", l(a)]),
848
+ key: `menu-item-${a.id}`,
849
+ onClick: (y) => w(a)
850
+ }, [
851
+ a.divider ? (u(), h("div", t2)) : (u(), h("div", n2, [
852
+ a.image ? (u(), h("img", {
853
+ key: 0,
854
+ class: "menu-image",
855
+ src: a.image,
856
+ alt: a.title
857
+ }, null, 8, o2)) : a.icon ? (u(), we(Me(a.icon), {
858
+ key: 1,
859
+ class: "menu-icon mr-1"
860
+ })) : ee("", !0),
861
+ _("div", s2, [
862
+ _("div", r2, Q(a.title), 1),
863
+ a.subtitle ? (u(), h("div", i2, Q(a.subtitle), 1)) : ee("", !0)
864
+ ])
865
+ ]))
866
+ ], 10, e2))), 128))
867
+ ]));
868
+ }
869
+ });
870
+ const a2 = /* @__PURE__ */ v(c2, [["__scopeId", "data-v-d9fb52ac"]]), d2 = (o) => (ye("data-v-430d9fe6"), o = o(), xe(), o), l2 = { class: "toggle" }, u2 = /* @__PURE__ */ d2(() => /* @__PURE__ */ _("div", { class: "toggle-switch" }, null, -1)), _2 = /* @__PURE__ */ Z({
871
+ __name: "QSwitch",
872
+ props: {
873
+ modelValue: {
874
+ type: Boolean,
875
+ required: !0
876
+ }
877
+ },
878
+ emits: ["update:modelValue", "change"],
879
+ setup(o, { emit: d }) {
880
+ const f = o, l = E(f.modelValue);
881
+ te(() => f.modelValue, (g) => {
882
+ l.value = g;
883
+ });
884
+ function w(g) {
885
+ d("update:modelValue", l.value), d("change", l.value);
886
+ }
887
+ return (g, C) => (u(), h("label", l2, [
888
+ P(_("input", {
889
+ class: "toggle-checkbox",
890
+ type: "checkbox",
891
+ "onUpdate:modelValue": C[0] || (C[0] = (a) => l.value = a),
892
+ onChange: w
893
+ }, null, 544), [
894
+ [ke, l.value]
895
+ ]),
896
+ u2
897
+ ]));
898
+ }
899
+ });
900
+ const h2 = /* @__PURE__ */ v(_2, [["__scopeId", "data-v-430d9fe6"]]), f2 = ["placeholder"], C2 = ["disabled"], p2 = { clas: "" }, $2 = /* @__PURE__ */ Z({
901
+ __name: "QTextFieldWithButton",
902
+ props: {
903
+ type: {
904
+ default: "text"
905
+ },
906
+ actionLabel: {
907
+ default: "Submit"
908
+ },
909
+ placeholder: {
910
+ default: "Type here"
911
+ },
912
+ defaultText: {
913
+ default: ""
914
+ },
915
+ loading: {
916
+ default: !1
917
+ },
918
+ disabled: {
919
+ default: !1
920
+ }
921
+ },
922
+ emits: ["submit"],
923
+ setup(o, { emit: d }) {
924
+ const f = o, l = E(f.defaultText), w = F(() => {
925
+ var x;
926
+ return f.loading || ((x = l.value) == null ? void 0 : x.trim()).length === 0 ? !1 : f.type === "email" ? g.value : f.type === "code" ? C.value : !0;
927
+ }), g = F(() => {
928
+ var x;
929
+ const D = (x = l.value) == null ? void 0 : x.trim();
930
+ return !f.disabled && /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(D);
931
+ }), C = F(() => {
932
+ var x;
933
+ const D = (x = l.value) == null ? void 0 : x.trim();
934
+ return /^\d{6}$/.test(D);
935
+ }), a = F(() => f.loading ? "Loading..." : f.actionLabel), y = () => {
936
+ w.value && d("submit", { text: l.value });
937
+ };
938
+ return (D, x) => (u(), h("div", {
939
+ class: ne(["text-field-with-button", f.type])
940
+ }, [
941
+ _("div", null, [
942
+ P(_("input", {
943
+ class: "text-field",
944
+ placeholder: f.placeholder,
945
+ "onUpdate:modelValue": x[0] || (x[0] = (H) => l.value = H)
946
+ }, null, 8, f2), [
947
+ [K, l.value]
948
+ ])
949
+ ]),
950
+ _("div", null, [
951
+ _("button", {
952
+ class: "button primary",
953
+ disabled: !w.value,
954
+ onClick: y
955
+ }, [
956
+ _("div", p2, Q(a.value), 1)
957
+ ], 8, C2)
958
+ ])
959
+ ], 2));
960
+ }
961
+ });
962
+ const v2 = /* @__PURE__ */ v($2, [["__scopeId", "data-v-dc6300df"]]), m2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
963
+ __proto__: null,
964
+ QDatetimePicker: B1,
965
+ QDialog: W1,
966
+ QFence: q1,
967
+ QLoading: K1,
968
+ QMenu: a2,
969
+ QSwitch: h2,
970
+ QTextFieldWithButton: v2
971
+ }, Symbol.toStringTag, { value: "Module" }));
972
+ console.log("Icons from UI", S1);
973
+ const w2 = {
974
+ install(o, d) {
975
+ console.log("options", d), window.quail_ui_init = !0;
976
+ }
977
+ };
978
+ export {
979
+ m2 as Common,
980
+ S1 as Icons,
981
+ w2 as QuailUI
982
+ };
983
+ //# sourceMappingURL=index.js.map