quail-ui 0.2.46 → 0.2.48

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 CHANGED
@@ -1,8 +1,8 @@
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 z1, 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 I1, unref as l1, resolveDynamicComponent as d1, renderList as y1, resolveComponent as F, vModelCheckbox as S1, useSlots as B1, createVNode as E, pushScopeId as q1, popScopeId as Z1 } from "vue";
1
+ import { openBlock as n, createElementBlock as s, createElementVNode as o, createStaticVNode as A, defineComponent as j, ref as I, watch as J, onMounted as h1, withDirectives as a1, vModelText as w1, computed as H, nextTick as S1, Fragment as u1, renderSlot as s1, createBlock as O, Transition as g1, withCtx as v1, normalizeClass as Z, normalizeStyle as d1, withModifiers as $1, createCommentVNode as P, toDisplayString as T, getCurrentInstance as z1, unref as l1, resolveDynamicComponent as _1, 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
- for (const [_, u] of e)
5
- i[_] = u;
4
+ for (const [_, h] of e)
5
+ i[_] = h;
6
6
  return i;
7
7
  }, j1 = {}, D1 = {
8
8
  width: "24",
@@ -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 = {}, z2 = {
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
- }, I2 = /* @__PURE__ */ o("path", {
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), S2 = [
171
- I2
170
+ }, null, -1), I2 = [
171
+ z2
172
172
  ];
173
173
  function B2(t, e) {
174
- return n(), s("svg", z2, S2);
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 = {}, zt = {
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
- }, It = /* @__PURE__ */ o("path", {
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), St = [
312
- It
311
+ }, null, -1), It = [
312
+ zt
313
313
  ];
314
314
  function Bt(t, e) {
315
- return n(), s("svg", zt, St);
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
- }, ze = /* @__PURE__ */ o("path", {
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), Ie = [
474
- ze
473
+ }, null, -1), ze = [
474
+ Se
475
475
  ];
476
- function Se(t, e) {
477
- return n(), s("svg", Qe, Ie);
476
+ function Ie(t, e) {
477
+ return n(), s("svg", Qe, ze);
478
478
  }
479
- const Be = /* @__PURE__ */ r(be, [["render", Se]]), qe = {}, Ze = {
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]]), z4 = {}, I4 = {
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
- }, S4 = /* @__PURE__ */ o("path", {
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
- S4
648
+ I4
649
649
  ];
650
650
  function q4(t, e) {
651
- return n(), s("svg", I4, B4);
651
+ return n(), s("svg", z4, B4);
652
652
  }
653
- const Z4 = /* @__PURE__ */ r(z4, [["render", q4]]), j4 = {}, D4 = {
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]]), z0 = {}, I0 = {
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
- }, S0 = /* @__PURE__ */ o("path", {
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
- S0
801
+ I0
802
802
  ];
803
803
  function q0(t, e) {
804
- return n(), s("svg", I0, B0);
804
+ return n(), s("svg", z0, B0);
805
805
  }
806
- const Z0 = /* @__PURE__ */ r(z0, [["render", q0]]), j0 = {}, D0 = {
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
- }, zn = /* @__PURE__ */ o("path", {
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), In = [
954
- zn
953
+ }, null, -1), zn = [
954
+ Sn
955
955
  ];
956
- function Sn(t, e) {
957
- return n(), s("svg", Qn, In);
956
+ function In(t, e) {
957
+ return n(), s("svg", Qn, zn);
958
958
  }
959
- const Bn = /* @__PURE__ */ r(bn, [["render", Sn]]), qn = {}, Zn = {
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 = {}, z7 = {
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
- }, I7 = /* @__PURE__ */ o("path", {
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), S7 = [
1123
- I7
1122
+ }, null, -1), I7 = [
1123
+ z7
1124
1124
  ];
1125
1125
  function B7(t, e) {
1126
- return n(), s("svg", z7, S7);
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), z5 = [
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 I5(t, e) {
1258
- return n(), s("svg", b5, z5);
1257
+ function z5(t, e) {
1258
+ return n(), s("svg", b5, S5);
1259
1259
  }
1260
- const S5 = /* @__PURE__ */ r(H5, [["render", I5]]), B5 = {}, q5 = {
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: S5,
1304
+ QIconColorHackernews: I5,
1305
1305
  QIconColorLine: E5,
1306
1306
  QIconColorLinkedin: V5,
1307
1307
  QIconColorTelegram: M1,
@@ -1368,196 +1368,196 @@ 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", z = "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
- var d = ["th", "st", "nd", "rd"], c = w % 100;
1373
- return "[" + w + (d[(c - 20) % 10] || d[c] || d[0]) + "]";
1374
- } }, t1 = function(w, d, c) {
1375
- var f = String(w);
1376
- return !f || f.length >= d ? w : "" + Array(d + 1 - f.length).join(c) + w;
1377
- }, u1 = { s: t1, z: function(w) {
1378
- var d = -w.utcOffset(), c = Math.abs(d), f = Math.floor(c / 60), l = c % 60;
1379
- return (d <= 0 ? "+" : "-") + t1(f, 2, "0") + ":" + t1(l, 2, "0");
1380
- }, m: function w(d, c) {
1381
- if (d.date() < c.date())
1382
- return -w(c, d);
1383
- var f = 12 * (c.year() - d.year()) + (c.month() - d.month()), l = d.clone().add(f, C), g = c - l < 0, v = d.clone().add(f + (g ? -1 : 1), C);
1384
- return +(-(f + (c - l) / (g ? l - v : v - l)) || 0);
1385
- }, a: function(w) {
1386
- return w < 0 ? Math.ceil(w) || 0 : Math.floor(w);
1387
- }, p: function(w) {
1388
- return { M: C, y: z, w: m, d: k, D: q, h: $, m: p, s: a, ms: h, Q: x }[w] || String(w || "").toLowerCase().replace(/s$/, "");
1389
- }, u: function(w) {
1390
- return w === void 0;
1371
+ var i = 1e3, _ = 6e4, h = 36e5, p = "millisecond", c = "second", w = "minute", f = "hour", k = "day", m = "week", u = "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(g) {
1372
+ var d = ["th", "st", "nd", "rd"], l = g % 100;
1373
+ return "[" + g + (d[(l - 20) % 10] || d[l] || d[0]) + "]";
1374
+ } }, t1 = function(g, d, l) {
1375
+ var C = String(g);
1376
+ return !C || C.length >= d ? g : "" + Array(d + 1 - C.length).join(l) + g;
1377
+ }, C1 = { s: t1, z: function(g) {
1378
+ var d = -g.utcOffset(), l = Math.abs(d), C = Math.floor(l / 60), a = l % 60;
1379
+ return (d <= 0 ? "+" : "-") + t1(C, 2, "0") + ":" + t1(a, 2, "0");
1380
+ }, m: function g(d, l) {
1381
+ if (d.date() < l.date())
1382
+ return -g(l, d);
1383
+ var C = 12 * (l.year() - d.year()) + (l.month() - d.month()), a = d.clone().add(C, u), v = l - a < 0, $ = d.clone().add(C + (v ? -1 : 1), u);
1384
+ return +(-(C + (l - a) / (v ? a - $ : $ - a)) || 0);
1385
+ }, a: function(g) {
1386
+ return g < 0 ? Math.ceil(g) || 0 : Math.floor(g);
1387
+ }, p: function(g) {
1388
+ return { M: u, y: S, w: m, d: k, D: q, h: f, m: w, s: c, ms: p, Q: x }[g] || String(g || "").toLowerCase().replace(/s$/, "");
1389
+ }, u: function(g) {
1390
+ return g === void 0;
1391
1391
  } }, e1 = "en", N = {};
1392
1392
  N[e1] = X;
1393
- var C1 = function(w) {
1394
- return w instanceof r1;
1395
- }, i1 = function w(d, c, f) {
1396
- var l;
1393
+ var f1 = function(g) {
1394
+ return g instanceof r1;
1395
+ }, i1 = function g(d, l, C) {
1396
+ var a;
1397
1397
  if (!d)
1398
1398
  return e1;
1399
1399
  if (typeof d == "string") {
1400
- var g = d.toLowerCase();
1401
- N[g] && (l = g), c && (N[g] = c, l = g);
1402
- var v = d.split("-");
1403
- if (!l && v.length > 1)
1404
- return w(v[0]);
1400
+ var v = d.toLowerCase();
1401
+ N[v] && (a = v), l && (N[v] = l, a = v);
1402
+ var $ = d.split("-");
1403
+ if (!a && $.length > 1)
1404
+ return g($[0]);
1405
1405
  } else {
1406
1406
  var y = d.name;
1407
- N[y] = d, l = y;
1407
+ N[y] = d, a = y;
1408
1408
  }
1409
- return !f && l && (e1 = l), l || !f && e1;
1410
- }, H = function(w, d) {
1411
- if (C1(w))
1412
- return w.clone();
1413
- var c = typeof d == "object" ? d : {};
1414
- return c.date = w, c.args = arguments, new r1(c);
1415
- }, M = u1;
1416
- M.l = i1, M.i = C1, M.w = function(w, d) {
1417
- return H(w, { locale: d.$L, utc: d.$u, x: d.$x, $offset: d.$offset });
1409
+ return !C && a && (e1 = a), a || !C && e1;
1410
+ }, b = function(g, d) {
1411
+ if (f1(g))
1412
+ return g.clone();
1413
+ var l = typeof d == "object" ? d : {};
1414
+ return l.date = g, l.args = arguments, new r1(l);
1415
+ }, M = C1;
1416
+ M.l = i1, M.i = f1, M.w = function(g, d) {
1417
+ return b(g, { locale: d.$L, utc: d.$u, x: d.$x, $offset: d.$offset });
1418
1418
  };
1419
1419
  var r1 = function() {
1420
- function w(c) {
1421
- this.$L = i1(c.locale, null, !0), this.parse(c);
1420
+ function g(l) {
1421
+ this.$L = i1(l.locale, null, !0), this.parse(l);
1422
1422
  }
1423
- var d = w.prototype;
1424
- return d.parse = function(c) {
1425
- this.$d = function(f) {
1426
- var l = f.date, g = f.utc;
1427
- if (l === null)
1423
+ var d = g.prototype;
1424
+ return d.parse = function(l) {
1425
+ this.$d = function(C) {
1426
+ var a = C.date, v = C.utc;
1427
+ if (a === null)
1428
1428
  return /* @__PURE__ */ new Date(NaN);
1429
- if (M.u(l))
1429
+ if (M.u(a))
1430
1430
  return /* @__PURE__ */ new Date();
1431
- if (l instanceof Date)
1432
- return new Date(l);
1433
- if (typeof l == "string" && !/Z$/i.test(l)) {
1434
- var v = l.match(L);
1435
- if (v) {
1436
- var y = v[2] - 1 || 0, V = (v[7] || "0").substring(0, 3);
1437
- return g ? new Date(Date.UTC(v[1], y, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, V)) : new Date(v[1], y, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, V);
1431
+ if (a instanceof Date)
1432
+ return new Date(a);
1433
+ if (typeof a == "string" && !/Z$/i.test(a)) {
1434
+ var $ = a.match(L);
1435
+ if ($) {
1436
+ var y = $[2] - 1 || 0, V = ($[7] || "0").substring(0, 3);
1437
+ return v ? new Date(Date.UTC($[1], y, $[3] || 1, $[4] || 0, $[5] || 0, $[6] || 0, V)) : new Date($[1], y, $[3] || 1, $[4] || 0, $[5] || 0, $[6] || 0, V);
1438
1438
  }
1439
1439
  }
1440
- return new Date(l);
1441
- }(c), this.$x = c.x || {}, this.init();
1440
+ return new Date(a);
1441
+ }(l), this.$x = l.x || {}, this.init();
1442
1442
  }, d.init = function() {
1443
- var c = this.$d;
1444
- this.$y = c.getFullYear(), this.$M = c.getMonth(), this.$D = c.getDate(), this.$W = c.getDay(), this.$H = c.getHours(), this.$m = c.getMinutes(), this.$s = c.getSeconds(), this.$ms = c.getMilliseconds();
1443
+ var l = this.$d;
1444
+ this.$y = l.getFullYear(), this.$M = l.getMonth(), this.$D = l.getDate(), this.$W = l.getDay(), this.$H = l.getHours(), this.$m = l.getMinutes(), this.$s = l.getSeconds(), this.$ms = l.getMilliseconds();
1445
1445
  }, d.$utils = function() {
1446
1446
  return M;
1447
1447
  }, d.isValid = function() {
1448
1448
  return this.$d.toString() !== Y;
1449
- }, d.isSame = function(c, f) {
1450
- var l = H(c);
1451
- return this.startOf(f) <= l && l <= this.endOf(f);
1452
- }, d.isAfter = function(c, f) {
1453
- return H(c) < this.startOf(f);
1454
- }, d.isBefore = function(c, f) {
1455
- return this.endOf(f) < H(c);
1456
- }, d.$g = function(c, f, l) {
1457
- return M.u(c) ? this[f] : this.set(l, c);
1449
+ }, d.isSame = function(l, C) {
1450
+ var a = b(l);
1451
+ return this.startOf(C) <= a && a <= this.endOf(C);
1452
+ }, d.isAfter = function(l, C) {
1453
+ return b(l) < this.startOf(C);
1454
+ }, d.isBefore = function(l, C) {
1455
+ return this.endOf(C) < b(l);
1456
+ }, d.$g = function(l, C, a) {
1457
+ return M.u(l) ? this[C] : this.set(a, l);
1458
1458
  }, d.unix = function() {
1459
1459
  return Math.floor(this.valueOf() / 1e3);
1460
1460
  }, d.valueOf = function() {
1461
1461
  return this.$d.getTime();
1462
- }, d.startOf = function(c, f) {
1463
- var l = this, g = !!M.u(f) || f, v = M.p(c), y = function(R, S) {
1464
- var U = M.w(l.$u ? Date.UTC(l.$y, S, R) : new Date(l.$y, S, R), l);
1465
- return g ? U : U.endOf(k);
1466
- }, V = function(R, S) {
1467
- return M.w(l.toDate()[R].apply(l.toDate("s"), (g ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(S)), l);
1468
- }, b = this.$W, I = this.$M, Z = this.$D, K = "set" + (this.$u ? "UTC" : "");
1469
- switch (v) {
1470
- case z:
1471
- return g ? y(1, 0) : y(31, 11);
1472
- case C:
1473
- return g ? y(1, I) : y(0, I + 1);
1462
+ }, d.startOf = function(l, C) {
1463
+ var a = this, v = !!M.u(C) || C, $ = M.p(l), y = function(R, B) {
1464
+ var U = M.w(a.$u ? Date.UTC(a.$y, B, R) : new Date(a.$y, B, R), a);
1465
+ return v ? U : U.endOf(k);
1466
+ }, V = function(R, B) {
1467
+ return M.w(a.toDate()[R].apply(a.toDate("s"), (v ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(B)), a);
1468
+ }, Q = this.$W, z = this.$M, D = this.$D, K = "set" + (this.$u ? "UTC" : "");
1469
+ switch ($) {
1470
+ case S:
1471
+ return v ? y(1, 0) : y(31, 11);
1472
+ case u:
1473
+ return v ? y(1, z) : y(0, z + 1);
1474
1474
  case m:
1475
- var G = this.$locale().weekStart || 0, n1 = (b < G ? b + 7 : b) - G;
1476
- return y(g ? Z - n1 : Z + (6 - n1), I);
1475
+ var G = this.$locale().weekStart || 0, n1 = (Q < G ? Q + 7 : Q) - G;
1476
+ return y(v ? D - n1 : D + (6 - n1), z);
1477
1477
  case k:
1478
1478
  case q:
1479
1479
  return V(K + "Hours", 0);
1480
- case $:
1480
+ case f:
1481
1481
  return V(K + "Minutes", 1);
1482
- case p:
1482
+ case w:
1483
1483
  return V(K + "Seconds", 2);
1484
- case a:
1484
+ case c:
1485
1485
  return V(K + "Milliseconds", 3);
1486
1486
  default:
1487
1487
  return this.clone();
1488
1488
  }
1489
- }, d.endOf = function(c) {
1490
- return this.startOf(c, !1);
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[z] = 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 === z) {
1494
- var b = this.clone().set(q, 1);
1495
- b.$d[y](V), b.init(), this.$d = b.set(q, Math.min(this.$D, b.daysInMonth())).$d;
1489
+ }, d.endOf = function(l) {
1490
+ return this.startOf(l, !1);
1491
+ }, d.$set = function(l, C) {
1492
+ var a, v = M.p(l), $ = "set" + (this.$u ? "UTC" : ""), y = (a = {}, a[k] = $ + "Date", a[q] = $ + "Date", a[u] = $ + "Month", a[S] = $ + "FullYear", a[f] = $ + "Hours", a[w] = $ + "Minutes", a[c] = $ + "Seconds", a[p] = $ + "Milliseconds", a)[v], V = v === k ? this.$D + (C - this.$W) : C;
1493
+ if (v === u || v === S) {
1494
+ var Q = this.clone().set(q, 1);
1495
+ Q.$d[y](V), Q.init(), this.$d = Q.set(q, Math.min(this.$D, Q.daysInMonth())).$d;
1496
1496
  } else
1497
1497
  y && this.$d[y](V);
1498
1498
  return this.init(), this;
1499
- }, d.set = function(c, f) {
1500
- return this.clone().$set(c, f);
1501
- }, d.get = function(c) {
1502
- return this[M.p(c)]();
1503
- }, d.add = function(c, f) {
1504
- var l, g = this;
1505
- c = Number(c);
1506
- var v = M.p(f), y = function(I) {
1507
- var Z = H(g);
1508
- return M.w(Z.date(Z.date() + Math.round(I * c)), g);
1499
+ }, d.set = function(l, C) {
1500
+ return this.clone().$set(l, C);
1501
+ }, d.get = function(l) {
1502
+ return this[M.p(l)]();
1503
+ }, d.add = function(l, C) {
1504
+ var a, v = this;
1505
+ l = Number(l);
1506
+ var $ = M.p(C), y = function(z) {
1507
+ var D = b(v);
1508
+ return M.w(D.date(D.date() + Math.round(z * l)), v);
1509
1509
  };
1510
- if (v === C)
1511
- return this.set(C, this.$M + c);
1512
- if (v === z)
1513
- return this.set(z, this.$y + c);
1514
- if (v === k)
1510
+ if ($ === u)
1511
+ return this.set(u, this.$M + l);
1512
+ if ($ === S)
1513
+ return this.set(S, this.$y + l);
1514
+ if ($ === k)
1515
1515
  return y(1);
1516
- if (v === m)
1516
+ if ($ === m)
1517
1517
  return y(7);
1518
- var V = (l = {}, l[p] = _, l[$] = u, l[a] = i, l)[v] || 1, b = this.$d.getTime() + c * V;
1519
- return M.w(b, this);
1520
- }, d.subtract = function(c, f) {
1521
- return this.add(-1 * c, f);
1522
- }, d.format = function(c) {
1523
- var f = this, l = this.$locale();
1518
+ var V = (a = {}, a[w] = _, a[f] = h, a[c] = i, a)[$] || 1, Q = this.$d.getTime() + l * V;
1519
+ return M.w(Q, this);
1520
+ }, d.subtract = function(l, C) {
1521
+ return this.add(-1 * l, C);
1522
+ }, d.format = function(l) {
1523
+ var C = this, a = this.$locale();
1524
1524
  if (!this.isValid())
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, I = l.weekdays, Z = l.months, K = l.meridiem, G = function(S, U, o1, c1) {
1527
- return S && (S[U] || S(f, g)) || o1[U].slice(0, c1);
1528
- }, n1 = function(S) {
1529
- return M.s(y % 12 || 12, S, "0");
1530
- }, R = K || function(S, U, o1) {
1531
- var c1 = S < 12 ? "AM" : "PM";
1525
+ return a.invalidDate || Y;
1526
+ var v = l || "YYYY-MM-DDTHH:mm:ssZ", $ = M.z(this), y = this.$H, V = this.$m, Q = this.$M, z = a.weekdays, D = a.months, K = a.meridiem, G = function(B, U, o1, c1) {
1527
+ return B && (B[U] || B(C, v)) || o1[U].slice(0, c1);
1528
+ }, n1 = function(B) {
1529
+ return M.s(y % 12 || 12, B, "0");
1530
+ }, R = K || function(B, U, o1) {
1531
+ var c1 = B < 12 ? "AM" : "PM";
1532
1532
  return o1 ? c1.toLowerCase() : c1;
1533
1533
  };
1534
- return g.replace(W, function(S, U) {
1534
+ return v.replace(W, function(B, U) {
1535
1535
  return U || function(o1) {
1536
1536
  switch (o1) {
1537
1537
  case "YY":
1538
- return String(f.$y).slice(-2);
1538
+ return String(C.$y).slice(-2);
1539
1539
  case "YYYY":
1540
- return M.s(f.$y, 4, "0");
1540
+ return M.s(C.$y, 4, "0");
1541
1541
  case "M":
1542
- return b + 1;
1542
+ return Q + 1;
1543
1543
  case "MM":
1544
- return M.s(b + 1, 2, "0");
1544
+ return M.s(Q + 1, 2, "0");
1545
1545
  case "MMM":
1546
- return G(l.monthsShort, b, Z, 3);
1546
+ return G(a.monthsShort, Q, D, 3);
1547
1547
  case "MMMM":
1548
- return G(Z, b);
1548
+ return G(D, Q);
1549
1549
  case "D":
1550
- return f.$D;
1550
+ return C.$D;
1551
1551
  case "DD":
1552
- return M.s(f.$D, 2, "0");
1552
+ return M.s(C.$D, 2, "0");
1553
1553
  case "d":
1554
- return String(f.$W);
1554
+ return String(C.$W);
1555
1555
  case "dd":
1556
- return G(l.weekdaysMin, f.$W, I, 2);
1556
+ return G(a.weekdaysMin, C.$W, z, 2);
1557
1557
  case "ddd":
1558
- return G(l.weekdaysShort, f.$W, I, 3);
1558
+ return G(a.weekdaysShort, C.$W, z, 3);
1559
1559
  case "dddd":
1560
- return I[f.$W];
1560
+ return z[C.$W];
1561
1561
  case "H":
1562
1562
  return String(y);
1563
1563
  case "HH":
@@ -1575,61 +1575,61 @@ var H1 = { exports: {} };
1575
1575
  case "mm":
1576
1576
  return M.s(V, 2, "0");
1577
1577
  case "s":
1578
- return String(f.$s);
1578
+ return String(C.$s);
1579
1579
  case "ss":
1580
- return M.s(f.$s, 2, "0");
1580
+ return M.s(C.$s, 2, "0");
1581
1581
  case "SSS":
1582
- return M.s(f.$ms, 3, "0");
1582
+ return M.s(C.$ms, 3, "0");
1583
1583
  case "Z":
1584
- return v;
1584
+ return $;
1585
1585
  }
1586
1586
  return null;
1587
- }(S) || v.replace(":", "");
1587
+ }(B) || $.replace(":", "");
1588
1588
  });
1589
1589
  }, d.utcOffset = function() {
1590
1590
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
1591
- }, d.diff = function(c, f, l) {
1592
- var g, v = this, y = M.p(f), V = H(c), b = (V.utcOffset() - this.utcOffset()) * _, I = this - V, Z = function() {
1593
- return M.m(v, V);
1591
+ }, d.diff = function(l, C, a) {
1592
+ var v, $ = this, y = M.p(C), V = b(l), Q = (V.utcOffset() - this.utcOffset()) * _, z = this - V, D = function() {
1593
+ return M.m($, V);
1594
1594
  };
1595
1595
  switch (y) {
1596
- case z:
1597
- g = Z() / 12;
1596
+ case S:
1597
+ v = D() / 12;
1598
1598
  break;
1599
- case C:
1600
- g = Z();
1599
+ case u:
1600
+ v = D();
1601
1601
  break;
1602
1602
  case x:
1603
- g = Z() / 3;
1603
+ v = D() / 3;
1604
1604
  break;
1605
1605
  case m:
1606
- g = (I - b) / 6048e5;
1606
+ v = (z - Q) / 6048e5;
1607
1607
  break;
1608
1608
  case k:
1609
- g = (I - b) / 864e5;
1609
+ v = (z - Q) / 864e5;
1610
1610
  break;
1611
- case $:
1612
- g = I / u;
1611
+ case f:
1612
+ v = z / h;
1613
1613
  break;
1614
- case p:
1615
- g = I / _;
1614
+ case w:
1615
+ v = z / _;
1616
1616
  break;
1617
- case a:
1618
- g = I / i;
1617
+ case c:
1618
+ v = z / i;
1619
1619
  break;
1620
1620
  default:
1621
- g = I;
1621
+ v = z;
1622
1622
  }
1623
- return l ? g : M.a(g);
1623
+ return a ? v : M.a(v);
1624
1624
  }, d.daysInMonth = function() {
1625
- return this.endOf(C).$D;
1625
+ return this.endOf(u).$D;
1626
1626
  }, d.$locale = function() {
1627
1627
  return N[this.$L];
1628
- }, d.locale = function(c, f) {
1629
- if (!c)
1628
+ }, d.locale = function(l, C) {
1629
+ if (!l)
1630
1630
  return this.$L;
1631
- var l = this.clone(), g = i1(c, f, !0);
1632
- return g && (l.$L = g), l;
1631
+ var a = this.clone(), v = i1(l, C, !0);
1632
+ return v && (a.$L = v), a;
1633
1633
  }, d.clone = function() {
1634
1634
  return M.w(this.$d, this);
1635
1635
  }, d.toDate = function() {
@@ -1640,21 +1640,21 @@ var H1 = { exports: {} };
1640
1640
  return this.$d.toISOString();
1641
1641
  }, d.toString = function() {
1642
1642
  return this.$d.toUTCString();
1643
- }, w;
1643
+ }, g;
1644
1644
  }(), k1 = r1.prototype;
1645
- return H.prototype = k1, [["$ms", h], ["$s", a], ["$m", p], ["$H", $], ["$W", k], ["$M", C], ["$y", z], ["$D", q]].forEach(function(w) {
1646
- k1[w[1]] = function(d) {
1647
- return this.$g(d, w[0], w[1]);
1645
+ return b.prototype = k1, [["$ms", p], ["$s", c], ["$m", w], ["$H", f], ["$W", k], ["$M", u], ["$y", S], ["$D", q]].forEach(function(g) {
1646
+ k1[g[1]] = function(d) {
1647
+ return this.$g(d, g[0], g[1]);
1648
1648
  };
1649
- }), H.extend = function(w, d) {
1650
- return w.$i || (w(d, r1, H), w.$i = !0), H;
1651
- }, H.locale = i1, H.isDayjs = C1, H.unix = function(w) {
1652
- return H(1e3 * w);
1653
- }, H.en = N[e1], H.Ls = N, H.p = {}, H;
1649
+ }), b.extend = function(g, d) {
1650
+ return g.$i || (g(d, r1, b), g.$i = !0), b;
1651
+ }, b.locale = i1, b.isDayjs = f1, b.unix = function(g) {
1652
+ return b(1e3 * g);
1653
+ }, b.en = N[e1], b.Ls = N, b.p = {}, b;
1654
1654
  });
1655
1655
  })(H1);
1656
1656
  var G5 = H1.exports;
1657
- const f1 = /* @__PURE__ */ N5(G5), R5 = { class: "q-datetime-picker" }, J5 = ["disabled"], X5 = ["disabled"], K5 = /* @__PURE__ */ O({
1657
+ const p1 = /* @__PURE__ */ N5(G5), R5 = { class: "q-datetime-picker" }, J5 = ["disabled"], X5 = ["disabled"], K5 = /* @__PURE__ */ j({
1658
1658
  __name: "QDatetimePicker",
1659
1659
  props: {
1660
1660
  modelValue: {
@@ -1668,68 +1668,68 @@ const f1 = /* @__PURE__ */ N5(G5), R5 = { class: "q-datetime-picker" }, J5 = ["d
1668
1668
  },
1669
1669
  emits: ["update:modelValue", "change"],
1670
1670
  setup(t, { emit: e }) {
1671
- const i = t, _ = B(""), u = B("");
1671
+ const i = t, _ = I(""), h = I("");
1672
1672
  J(
1673
1673
  () => i.modelValue,
1674
- (a) => {
1675
- const p = f1(a);
1676
- _.value = p.format("YYYY-MM-DD"), u.value = p.format("HH:mm");
1674
+ (c) => {
1675
+ const w = p1(c);
1676
+ _.value = w.format("YYYY-MM-DD"), h.value = w.format("HH:mm");
1677
1677
  }
1678
1678
  );
1679
- function h() {
1680
- const a = f1(`${_.value} ${u.value}`).format("YYYY-MM-DDTHH:mm:ssZ");
1681
- e("change", a), e("update:modelValue", a);
1679
+ function p() {
1680
+ const c = p1(`${_.value} ${h.value}`).format("YYYY-MM-DDTHH:mm:ssZ");
1681
+ e("change", c), e("update:modelValue", c);
1682
1682
  }
1683
- return _1(() => {
1684
- const a = f1();
1685
- _.value = a.format("YYYY-MM-DD"), u.value = a.format("HH:mm");
1686
- }), (a, p) => (n(), s("div", R5, [
1683
+ return h1(() => {
1684
+ const c = p1();
1685
+ _.value = c.format("YYYY-MM-DD"), h.value = c.format("HH:mm");
1686
+ }), (c, w) => (n(), s("div", R5, [
1687
1687
  a1(o("input", {
1688
- "onUpdate:modelValue": p[0] || (p[0] = ($) => _.value = $),
1688
+ "onUpdate:modelValue": w[0] || (w[0] = (f) => _.value = f),
1689
1689
  type: "date",
1690
1690
  disabled: t.disabled,
1691
- onChange: h
1691
+ onChange: p
1692
1692
  }, null, 40, J5), [
1693
- [p1, _.value]
1693
+ [w1, _.value]
1694
1694
  ]),
1695
1695
  a1(o("input", {
1696
- "onUpdate:modelValue": p[1] || (p[1] = ($) => u.value = $),
1696
+ "onUpdate:modelValue": w[1] || (w[1] = (f) => h.value = f),
1697
1697
  type: "time",
1698
1698
  disabled: t.disabled,
1699
- onChange: h
1699
+ onChange: p
1700
1700
  }, null, 40, X5), [
1701
- [p1, u.value]
1701
+ [w1, h.value]
1702
1702
  ])
1703
1703
  ]));
1704
1704
  }
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, z = navigator.userAgent.indexOf("iPhone") > -1, q = navigator.userAgent.indexOf("Macintosh") > -1, Y = navigator.userAgent.indexOf("Windows") > -1, L = navigator.userAgent.indexOf("Linux") > -1;
1708
+ const i = !!window.ActiveXObject || "ActiveXObject" in window, _ = navigator.userAgent.indexOf("Edge") > -1, h = navigator.userAgent.indexOf("Chrome") > -1, p = navigator.userAgent.indexOf("Firefox") > -1, c = navigator.userAgent.indexOf("Safari") > -1, w = navigator.userAgent.indexOf("Opera") > -1, f = navigator.userAgent.indexOf("MicroMessenger") > -1, k = !!navigator.userAgent.match(/AppleWebKit.*Mobile.*/), m = navigator.userAgent.indexOf("Android") > -1 || navigator.userAgent.indexOf("Adr") > -1, u = !!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: _,
1712
- isChrome: u,
1713
- isFirefox: h,
1714
- isSafari: a,
1715
- isOpera: p,
1716
- isWeixin: $,
1712
+ isChrome: h,
1713
+ isFirefox: p,
1714
+ isSafari: c,
1715
+ isOpera: w,
1716
+ isWeixin: f,
1717
1717
  isMobile: k,
1718
1718
  isAndroid: m,
1719
- isIOS: C,
1719
+ isIOS: u,
1720
1720
  isIpad: x,
1721
- isIphone: z,
1721
+ isIphone: S,
1722
1722
  isMac: q,
1723
1723
  isWindows: Y,
1724
1724
  isLinux: L
1725
1725
  };
1726
1726
  }
1727
1727
  function e(i, _) {
1728
- let u;
1729
- return function(...h) {
1730
- const a = this;
1731
- clearTimeout(u), u = setTimeout(() => {
1732
- i.apply(a, h);
1728
+ let h;
1729
+ return function(...p) {
1730
+ const c = this;
1731
+ clearTimeout(h), h = setTimeout(() => {
1732
+ i.apply(c, p);
1733
1733
  }, _);
1734
1734
  };
1735
1735
  }
@@ -1741,7 +1741,7 @@ function t9() {
1741
1741
  const e9 = ["onClick"], n9 = { class: "q-dialog-body" }, o9 = ["onClick"], s9 = { class: "q-dialog-header" }, i9 = {
1742
1742
  key: 0,
1743
1743
  class: "q-dialog-title"
1744
- }, r9 = { class: "q-dialog-body" }, c9 = /* @__PURE__ */ O({
1744
+ }, r9 = { class: "q-dialog-body" }, c9 = /* @__PURE__ */ j({
1745
1745
  __name: "QDialog",
1746
1746
  props: {
1747
1747
  modelValue: Boolean,
@@ -1777,28 +1777,28 @@ const e9 = ["onClick"], n9 = { class: "q-dialog-body" }, o9 = ["onClick"], s9 =
1777
1777
  },
1778
1778
  emits: ["update:modelValue", "close"],
1779
1779
  setup(t, { emit: e }) {
1780
- const i = t, { browserDetect: _ } = t9(), { isMobile: u } = _(), h = B(!1), a = B(i.modelValue), p = B({ top: "0", left: "0" }), $ = B(null), k = B(null), m = Q(() => !u && i.desktopMode === "popup"), C = Q(() => {
1780
+ const i = t, { browserDetect: _ } = t9(), { isMobile: h } = _(), p = I(!1), c = I(i.modelValue), w = I({ top: "0", left: "0" }), f = I(null), k = I(null), m = H(() => !h && i.desktopMode === "popup"), u = H(() => {
1781
1781
  const L = document.body.clientWidth < 720 ? "100%" : i.width, W = i.height, X = {
1782
1782
  width: L,
1783
1783
  height: W
1784
1784
  };
1785
- return m.value && (X.top = p.value.top, X.left = p.value.left), X;
1786
- }), x = Q(() => {
1785
+ return m.value && (X.top = w.value.top, X.left = w.value.left), X;
1786
+ }), x = H(() => {
1787
1787
  let L = [];
1788
- return h.value && L.push("shaking"), u || L.push(`desktop-mode-${i.desktopMode}`), i.noFrame && L.push("no-frame"), L.join(" ");
1789
- }), z = Q(() => {
1788
+ return p.value && L.push("shaking"), h || L.push(`desktop-mode-${i.desktopMode}`), i.noFrame && L.push("no-frame"), L.join(" ");
1789
+ }), S = H(() => {
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, z1(() => {
1797
- if (!u && i.desktopMode === "popup" && $.value.children) {
1798
- const W = $.value.children[0];
1796
+ c.value = L, S1(() => {
1797
+ if (!h && i.desktopMode === "popup" && f.value.children) {
1798
+ const W = f.value.children[0];
1799
1799
  if (W) {
1800
- const t1 = W.getBoundingClientRect().height + 8, u1 = 0;
1801
- p.value = { top: `${t1}px`, left: `${u1}px` };
1800
+ const t1 = W.getBoundingClientRect().height + 8, C1 = 0;
1801
+ w.value = { top: `${t1}px`, left: `${C1}px` };
1802
1802
  }
1803
1803
  }
1804
1804
  });
@@ -1806,32 +1806,32 @@ const e9 = ["onClick"], n9 = { class: "q-dialog-body" }, o9 = ["onClick"], s9 =
1806
1806
  );
1807
1807
  function q() {
1808
1808
  if (i.persistent) {
1809
- h.value = !0, setTimeout(() => {
1810
- h.value = !1;
1809
+ p.value = !0, setTimeout(() => {
1810
+ p.value = !1;
1811
1811
  }, 300);
1812
1812
  return;
1813
1813
  }
1814
- a.value = !1, e("update:modelValue", !1), e("close");
1814
+ c.value = !1, e("update:modelValue", !1), e("close");
1815
1815
  }
1816
1816
  function Y() {
1817
1817
  }
1818
- return _1(() => {
1818
+ return h1(() => {
1819
1819
  i.desktopMode === "popup" && window.addEventListener("storage", (L) => {
1820
1820
  L.key === "quailui_global_popup_trigger" && L.newValue && q();
1821
1821
  });
1822
- }), (L, W) => (n(), s(h1, null, [
1822
+ }), (L, W) => (n(), s(u1, null, [
1823
1823
  o("div", {
1824
1824
  class: "q-dialog-trigger-wrapper",
1825
1825
  ref_key: "triggerWrapper",
1826
- ref: $
1826
+ ref: f
1827
1827
  }, [
1828
1828
  s1(L.$slots, "trigger"),
1829
- m.value ? (n(), j(w1, { key: 0 }, {
1830
- default: g1(() => [
1831
- a.value ? (n(), s("div", {
1829
+ m.value ? (n(), O(g1, { key: 0 }, {
1830
+ default: v1(() => [
1831
+ c.value ? (n(), s("div", {
1832
1832
  key: 0,
1833
- class: D(["q-dialog", x.value]),
1834
- style: v1(C.value),
1833
+ class: Z(["q-dialog", x.value]),
1834
+ style: d1(u.value),
1835
1835
  onClick: $1(Y, ["stop"])
1836
1836
  }, [
1837
1837
  o("div", n9, [
@@ -1842,18 +1842,18 @@ const e9 = ["onClick"], n9 = { class: "q-dialog-body" }, o9 = ["onClick"], s9 =
1842
1842
  _: 3
1843
1843
  })) : P("", !0)
1844
1844
  ], 512),
1845
- m.value ? P("", !0) : (n(), j(w1, { key: 0 }, {
1846
- default: g1(() => [
1847
- a.value ? (n(), s("div", {
1845
+ m.value ? P("", !0) : (n(), O(g1, { key: 0 }, {
1846
+ default: v1(() => [
1847
+ c.value ? (n(), s("div", {
1848
1848
  key: 0,
1849
- class: D(["q-dialog-mask", z.value]),
1849
+ class: Z(["q-dialog-mask", S.value]),
1850
1850
  onClick: q,
1851
1851
  ref_key: "dialogMask",
1852
1852
  ref: k
1853
1853
  }, [
1854
1854
  o("div", {
1855
- class: D(["q-dialog", x.value]),
1856
- style: v1(C.value),
1855
+ class: Z(["q-dialog", x.value]),
1856
+ style: d1(u.value),
1857
1857
  onClick: $1(Y, ["stop"])
1858
1858
  }, [
1859
1859
  o("div", s9, [
@@ -1873,7 +1873,7 @@ const e9 = ["onClick"], n9 = { class: "q-dialog-body" }, o9 = ["onClick"], s9 =
1873
1873
  const l9 = ["href"], a9 = { class: "q-fence-text" }, d9 = {
1874
1874
  key: 1,
1875
1875
  class: "q-fence-inner"
1876
- }, _9 = { class: "q-fence-text" }, h9 = /* @__PURE__ */ O({
1876
+ }, _9 = { class: "q-fence-text" }, h9 = /* @__PURE__ */ j({
1877
1877
  __name: "QFence",
1878
1878
  props: {
1879
1879
  link: {
@@ -1894,9 +1894,9 @@ const l9 = ["href"], a9 = { class: "q-fence-text" }, d9 = {
1894
1894
  },
1895
1895
  setup(t) {
1896
1896
  var i;
1897
- const e = (i = I1()) == null ? void 0 : i.appContext.components;
1898
- return (_, u) => (n(), s("div", {
1899
- class: D(["q-fence", t.type])
1897
+ const e = (i = z1()) == null ? void 0 : i.appContext.components;
1898
+ return (_, h) => (n(), s("div", {
1899
+ class: Z(["q-fence", t.type])
1900
1900
  }, [
1901
1901
  t.link ? (n(), s("a", {
1902
1902
  key: 0,
@@ -1904,19 +1904,19 @@ const l9 = ["href"], a9 = { class: "q-fence-text" }, d9 = {
1904
1904
  href: t.link,
1905
1905
  target: "_blank"
1906
1906
  }, [
1907
- t.icon && l1(e) ? (n(), j(d1(l1(e)[t.icon]), {
1907
+ t.icon && l1(e) ? (n(), O(_1(l1(e)[t.icon]), {
1908
1908
  key: 0,
1909
1909
  class: "icon"
1910
- })) : (n(), j(m1, {
1910
+ })) : (n(), O(m1, {
1911
1911
  key: 1,
1912
1912
  class: "icon"
1913
1913
  })),
1914
1914
  o("div", a9, T(t.text), 1)
1915
1915
  ], 8, l9)) : (n(), s("div", d9, [
1916
- t.icon && l1(e) ? (n(), j(d1(l1(e)[t.icon]), {
1916
+ t.icon && l1(e) ? (n(), O(_1(l1(e)[t.icon]), {
1917
1917
  key: 0,
1918
1918
  class: "icon"
1919
- })) : (n(), j(m1, {
1919
+ })) : (n(), O(m1, {
1920
1920
  key: 1,
1921
1921
  class: "icon"
1922
1922
  })),
@@ -1934,59 +1934,72 @@ const u9 = {}, C9 = {
1934
1934
  function w9(t, e) {
1935
1935
  return n(), s("div", C9, p9);
1936
1936
  }
1937
- const g9 = /* @__PURE__ */ r(u9, [["render", w9]]), v9 = { class: "q-menu" }, $9 = ["onClick"], m9 = {
1937
+ const g9 = /* @__PURE__ */ r(u9, [["render", w9]]), v9 = ["onClick"], $9 = {
1938
1938
  key: 0,
1939
1939
  class: "q-menu-item-divider"
1940
- }, k9 = {
1940
+ }, m9 = {
1941
1941
  key: 1,
1942
1942
  class: "q-menu-item-inner"
1943
- }, M9 = ["src", "alt"], x9 = { class: "q-menu-item-content" }, y9 = { class: "q-menu-title" }, L9 = {
1943
+ }, k9 = ["src", "alt"], M9 = { class: "q-menu-item-content" }, x9 = { class: "q-menu-title" }, y9 = {
1944
1944
  key: 0,
1945
1945
  class: "q-menu-subtitle"
1946
- }, V9 = /* @__PURE__ */ O({
1946
+ }, L9 = /* @__PURE__ */ j({
1947
1947
  __name: "QMenu",
1948
1948
  props: {
1949
1949
  items: {
1950
1950
  type: Array,
1951
1951
  required: !0
1952
+ },
1953
+ persistent: {
1954
+ type: Boolean,
1955
+ default: !1
1956
+ },
1957
+ noFrame: {
1958
+ type: Boolean,
1959
+ default: !1
1952
1960
  }
1953
1961
  },
1954
1962
  emits: ["action"],
1955
1963
  setup(t, { emit: e }) {
1956
- const i = t;
1957
- function _(h) {
1958
- let a = "";
1959
- return h.disabled && (a += " disabled"), h.danger && (a += " danger"), h.icon && (a += " with-icon"), h.image && (a += " with-image"), h.divider && (a += " with-divider"), a;
1964
+ const i = t, _ = H(() => {
1965
+ let c = [];
1966
+ return i.persistent && c.push("persistent"), i.noFrame && c.push("no-frame"), c.join(" ");
1967
+ });
1968
+ function h(c) {
1969
+ let w = "";
1970
+ return c.disabled && (w += " disabled"), c.danger && (w += " danger"), c.icon && (w += " with-icon"), c.image && (w += " with-image"), c.divider && (w += " with-divider"), w;
1960
1971
  }
1961
- function u(h) {
1962
- h.action && h.action(h), h.disabled !== !0 && e("action", h);
1972
+ function p(c) {
1973
+ c.action && c.action(c), c.disabled !== !0 && e("action", c);
1963
1974
  }
1964
- return (h, a) => (n(), s("div", v9, [
1965
- (n(!0), s(h1, null, y1(i.items, (p) => (n(), s("div", {
1966
- class: D(["q-menu-item", _(p)]),
1967
- key: `q-menu-item-${p.id}`,
1968
- onClick: ($) => u(p)
1975
+ return (c, w) => (n(), s("div", {
1976
+ class: Z(["q-menu", _.value])
1977
+ }, [
1978
+ (n(!0), s(u1, null, y1(i.items, (f) => (n(), s("div", {
1979
+ class: Z(["q-menu-item", h(f)]),
1980
+ key: `q-menu-item-${f.id}`,
1981
+ onClick: (k) => p(f)
1969
1982
  }, [
1970
- p.divider ? (n(), s("div", m9)) : (n(), s("div", k9, [
1971
- p.image ? (n(), s("img", {
1983
+ f.divider ? (n(), s("div", $9)) : (n(), s("div", m9, [
1984
+ f.image ? (n(), s("img", {
1972
1985
  key: 0,
1973
1986
  class: "q-menu-image",
1974
- src: p.image,
1975
- alt: p.title
1976
- }, null, 8, M9)) : p.icon ? (n(), j(d1(p.icon), {
1987
+ src: f.image,
1988
+ alt: f.title
1989
+ }, null, 8, k9)) : f.icon ? (n(), O(_1(f.icon), {
1977
1990
  key: 1,
1978
1991
  class: "q-menu-icon"
1979
1992
  })) : P("", !0),
1980
- o("div", x9, [
1981
- o("div", y9, T(p.title), 1),
1982
- p.subtitle ? (n(), s("div", L9, T(p.subtitle), 1)) : P("", !0)
1993
+ o("div", M9, [
1994
+ o("div", x9, T(f.title), 1),
1995
+ f.subtitle ? (n(), s("div", y9, T(f.subtitle), 1)) : P("", !0)
1983
1996
  ])
1984
1997
  ]))
1985
- ], 10, $9))), 128))
1986
- ]));
1998
+ ], 10, v9))), 128))
1999
+ ], 2));
1987
2000
  }
1988
2001
  });
1989
- const H9 = ["disabled"], b9 = { class: "q-switch-inner" }, Q9 = { class: "q-switch-handle" }, z9 = /* @__PURE__ */ O({
2002
+ const V9 = ["disabled"], H9 = { class: "q-switch-inner" }, b9 = { class: "q-switch-handle" }, Q9 = /* @__PURE__ */ j({
1990
2003
  __name: "QSwitch",
1991
2004
  props: {
1992
2005
  modelValue: {
@@ -2005,38 +2018,38 @@ const H9 = ["disabled"], b9 = { class: "q-switch-inner" }, Q9 = { class: "q-swit
2005
2018
  },
2006
2019
  emits: ["update:modelValue", "change"],
2007
2020
  setup(t, { emit: e }) {
2008
- const i = t, _ = B(i.modelValue);
2009
- J(() => i.modelValue, (a) => {
2010
- _.value = a;
2021
+ const i = t, _ = I(i.modelValue);
2022
+ J(() => i.modelValue, (c) => {
2023
+ _.value = c;
2011
2024
  });
2012
- const u = Q(() => {
2013
- const a = [];
2014
- return i.theme && a.push(`theme-${i.theme}`), i.disabled && a.push("disabled"), a.join(" ");
2025
+ const h = H(() => {
2026
+ const c = [];
2027
+ return i.theme && c.push(`theme-${i.theme}`), i.disabled && c.push("disabled"), c.join(" ");
2015
2028
  });
2016
- function h(a) {
2029
+ function p(c) {
2017
2030
  e("update:modelValue", _.value), e("change", _.value);
2018
2031
  }
2019
- return (a, p) => {
2020
- const $ = F("q-icon-sun"), k = F("q-icon-moon-star");
2032
+ return (c, w) => {
2033
+ const f = F("q-icon-sun"), k = F("q-icon-moon-star");
2021
2034
  return n(), s("label", {
2022
- class: D(["q-switch", u.value])
2035
+ class: Z(["q-switch", h.value])
2023
2036
  }, [
2024
2037
  a1(o("input", {
2025
2038
  class: "q-switch-checkbox",
2026
2039
  type: "checkbox",
2027
- "onUpdate:modelValue": p[0] || (p[0] = (m) => _.value = m),
2028
- onChange: h,
2040
+ "onUpdate:modelValue": w[0] || (w[0] = (m) => _.value = m),
2041
+ onChange: p,
2029
2042
  disabled: i.disabled
2030
- }, null, 40, H9), [
2031
- [S1, _.value]
2043
+ }, null, 40, V9), [
2044
+ [I1, _.value]
2032
2045
  ]),
2033
- o("div", b9, [
2034
- o("div", Q9, [
2035
- i.theme === "plastic" ? (n(), s(h1, { key: 0 }, [
2036
- _.value ? (n(), j($, {
2046
+ o("div", H9, [
2047
+ o("div", b9, [
2048
+ i.theme === "plastic" ? (n(), s(u1, { key: 0 }, [
2049
+ _.value ? (n(), O(f, {
2037
2050
  key: 0,
2038
2051
  class: "q-switch-icon"
2039
- })) : (n(), j(k, {
2052
+ })) : (n(), O(k, {
2040
2053
  key: 1,
2041
2054
  class: "q-switch-icon"
2042
2055
  }))
@@ -2047,10 +2060,10 @@ const H9 = ["disabled"], b9 = { class: "q-switch-inner" }, Q9 = { class: "q-swit
2047
2060
  };
2048
2061
  }
2049
2062
  });
2050
- const I9 = { class: "q-text-field-wrapper" }, S9 = ["placeholder"], B9 = { class: "q-text-button-wrapper" }, q9 = ["disabled"], Z9 = {
2063
+ const S9 = { class: "q-text-field-wrapper" }, z9 = ["placeholder"], I9 = { class: "q-text-button-wrapper" }, B9 = ["disabled"], q9 = {
2051
2064
  key: 0,
2052
2065
  class: "q-button-glow"
2053
- }, j9 = /* @__PURE__ */ O({
2066
+ }, Z9 = /* @__PURE__ */ j({
2054
2067
  __name: "QTextFieldWithButton",
2055
2068
  props: {
2056
2069
  modelValue: {
@@ -2084,51 +2097,51 @@ const I9 = { class: "q-text-field-wrapper" }, S9 = ["placeholder"], B9 = { class
2084
2097
  },
2085
2098
  emits: ["submit", "update:modelValue"],
2086
2099
  setup(t, { emit: e }) {
2087
- const i = t, _ = B(i.defaultText), u = Q(() => {
2088
- const C = [];
2089
- return i.layout === "vertical" ? C.push("vertical") : C.push("horizontal"), i.type === "code" && C.push("code"), i.glow && C.push(`glow-${i.glow}`), C.join(" ");
2090
- }), h = Q(() => {
2100
+ const i = t, _ = I(i.defaultText), h = H(() => {
2101
+ const u = [];
2102
+ return i.layout === "vertical" ? u.push("vertical") : u.push("horizontal"), i.type === "code" && u.push("code"), i.glow && u.push(`glow-${i.glow}`), u.join(" ");
2103
+ }), p = H(() => {
2091
2104
  var x;
2092
- return i.loading || ((x = _.value) == null ? void 0 : x.trim()).length === 0 ? !1 : i.type === "email" ? a.value : i.type === "code" ? p.value : !0;
2093
- }), a = Q(() => {
2105
+ return i.loading || ((x = _.value) == null ? void 0 : x.trim()).length === 0 ? !1 : i.type === "email" ? c.value : i.type === "code" ? w.value : !0;
2106
+ }), c = H(() => {
2094
2107
  var x;
2095
- const C = (x = _.value) == null ? void 0 : x.trim();
2096
- return !i.disabled && /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(C);
2097
- }), p = Q(() => {
2108
+ const u = (x = _.value) == null ? void 0 : x.trim();
2109
+ return !i.disabled && /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(u);
2110
+ }), w = H(() => {
2098
2111
  var x;
2099
- const C = (x = _.value) == null ? void 0 : x.trim();
2100
- return /^\d{6}$/.test(C);
2101
- }), $ = Q(() => i.loading ? "Loading..." : i.actionLabel);
2102
- J(() => i.modelValue, (C) => {
2103
- _.value = C;
2112
+ const u = (x = _.value) == null ? void 0 : x.trim();
2113
+ return /^\d{6}$/.test(u);
2114
+ }), f = H(() => i.loading ? "Loading..." : i.actionLabel);
2115
+ J(() => i.modelValue, (u) => {
2116
+ _.value = u;
2104
2117
  });
2105
2118
  function k() {
2106
- h.value && e("submit", { text: _.value });
2119
+ p.value && e("submit", { text: _.value });
2107
2120
  }
2108
2121
  function m() {
2109
2122
  e("update:modelValue", _.value);
2110
2123
  }
2111
- return (C, x) => (n(), s("div", {
2112
- class: D(["q-text-field-with-button", u.value])
2124
+ return (u, x) => (n(), s("div", {
2125
+ class: Z(["q-text-field-with-button", h.value])
2113
2126
  }, [
2114
- o("div", I9, [
2127
+ o("div", S9, [
2115
2128
  a1(o("input", {
2116
2129
  class: "q-text-field text-field",
2117
2130
  placeholder: i.placeholder,
2118
- "onUpdate:modelValue": x[0] || (x[0] = (z) => _.value = z),
2131
+ "onUpdate:modelValue": x[0] || (x[0] = (S) => _.value = S),
2119
2132
  onChange: m
2120
- }, null, 40, S9), [
2121
- [p1, _.value]
2133
+ }, null, 40, z9), [
2134
+ [w1, _.value]
2122
2135
  ])
2123
2136
  ]),
2124
- o("div", B9, [
2137
+ o("div", I9, [
2125
2138
  o("button", {
2126
2139
  class: "q-button button primary",
2127
- disabled: !h.value,
2140
+ disabled: !p.value,
2128
2141
  onClick: k
2129
- }, T($.value), 9, q9)
2142
+ }, T(f.value), 9, B9)
2130
2143
  ]),
2131
- t.glow !== "" ? (n(), s("div", Z9)) : P("", !0)
2144
+ t.glow !== "" ? (n(), s("div", q9)) : P("", !0)
2132
2145
  ], 2));
2133
2146
  }
2134
2147
  });
@@ -2140,10 +2153,10 @@ function b1() {
2140
2153
  oldValue: t + ""
2141
2154
  }));
2142
2155
  }
2143
- const D9 = { class: "q-dropdown-menu" }, O9 = { class: "q-dropdown-menu-inner narrow-view" }, P9 = ["onClick"], A9 = {
2156
+ const j9 = { class: "q-dropdown-menu" }, D9 = { class: "q-dropdown-menu-inner narrow-view" }, O9 = ["onClick"], P9 = {
2144
2157
  key: 0,
2145
2158
  class: "q-dropdown-selected"
2146
- }, F9 = ["src", "alt"], T9 = { class: "menu-title" }, U9 = /* @__PURE__ */ O({
2159
+ }, A9 = ["src", "alt"], F9 = { class: "menu-title" }, T9 = /* @__PURE__ */ j({
2147
2160
  __name: "QDropdownMenu",
2148
2161
  props: {
2149
2162
  items: {
@@ -2169,58 +2182,58 @@ const D9 = { class: "q-dropdown-menu" }, O9 = { class: "q-dropdown-menu-inner na
2169
2182
  },
2170
2183
  emits: ["change"],
2171
2184
  setup(t, { emit: e }) {
2172
- const i = t, _ = B1(), u = B(!1), h = B(null), a = B(null), p = Q(() => {
2173
- const C = [];
2174
- return u.value && C.push("expanded"), i.variant === "outlined" && C.push("frame"), i.hideSelected && C.push("hide-selected"), h.value && (h.value.icon || h.value.image) ? C.push("prepend") : C.push("no-prepend"), C.join(" ");
2175
- }), $ = Q(() => _.default !== void 0);
2185
+ const i = t, _ = B1(), h = I(!1), p = I(null), c = I(null), w = H(() => {
2186
+ const u = [];
2187
+ return h.value && u.push("expanded"), i.variant === "outlined" && u.push("frame"), i.hideSelected && u.push("hide-selected"), p.value && (p.value.icon || p.value.image) ? u.push("prepend") : u.push("no-prepend"), u.join(" ");
2188
+ }), f = H(() => _.default !== void 0);
2176
2189
  function k() {
2177
- u.value || b1(), u.value = !u.value, u.value && setTimeout(() => {
2178
- const x = a.value.querySelector(".q-menu");
2190
+ h.value || b1(), h.value = !h.value, h.value && setTimeout(() => {
2191
+ const x = c.value.querySelector(".q-menu");
2179
2192
  x.getBoundingClientRect().left < 0 && (x.style.left = "0");
2180
2193
  }, 10);
2181
2194
  }
2182
- function m(C) {
2183
- u.value = !1, h.value = C, e("change", C);
2195
+ function m(u) {
2196
+ h.value = !1, p.value = u, e("change", u);
2184
2197
  }
2185
2198
  return J(
2186
2199
  () => i.initialItem,
2187
2200
  () => {
2188
- i.initialItem && (h.value = i.initialItem);
2201
+ i.initialItem && (p.value = i.initialItem);
2189
2202
  }
2190
- ), _1(() => {
2191
- i.initialItem && (h.value = i.initialItem), window.addEventListener("storage", (C) => {
2192
- C.key === "quailui_global_popup_trigger" && C.newValue && (u.value = !1);
2203
+ ), h1(() => {
2204
+ i.initialItem && (p.value = i.initialItem), window.addEventListener("storage", (u) => {
2205
+ u.key === "quailui_global_popup_trigger" && u.newValue && (h.value = !1);
2193
2206
  });
2194
- }), (C, x) => {
2195
- const z = F("q-icon-chevron-down"), q = F("q-menu");
2196
- return n(), s("div", D9, [
2197
- o("div", O9, [
2207
+ }), (u, x) => {
2208
+ const S = F("q-icon-chevron-down"), q = F("q-menu");
2209
+ return n(), s("div", j9, [
2210
+ o("div", D9, [
2198
2211
  o("div", {
2199
- class: D(["q-dropdown-menu-action", p.value]),
2212
+ class: Z(["q-dropdown-menu-action", w.value]),
2200
2213
  onClick: $1(k, ["stop"])
2201
2214
  }, [
2202
- !t.hideSelected && h.value && !$.value ? (n(), s("div", A9, [
2203
- h.value.image ? (n(), s("img", {
2215
+ !t.hideSelected && p.value && !f.value ? (n(), s("div", P9, [
2216
+ p.value.image ? (n(), s("img", {
2204
2217
  key: 0,
2205
2218
  class: "menu-image",
2206
- src: h.value.image,
2207
- alt: h.value.title
2208
- }, null, 8, F9)) : h.value.icon ? (n(), j(d1(h.value.icon), {
2219
+ src: p.value.image,
2220
+ alt: p.value.title
2221
+ }, null, 8, A9)) : p.value.icon ? (n(), O(_1(p.value.icon), {
2209
2222
  key: 1,
2210
2223
  class: "icon menu-icon"
2211
2224
  })) : P("", !0),
2212
- o("div", T9, T(h.value ? h.value.title : i.placeholder || "Select ..."), 1)
2225
+ o("div", F9, T(p.value ? p.value.title : i.placeholder || "Select ..."), 1)
2213
2226
  ])) : P("", !0),
2214
- s1(C.$slots, "default"),
2215
- E(z, { class: "icon chevron-icon" })
2216
- ], 10, P9),
2227
+ s1(u.$slots, "default"),
2228
+ E(S, { class: "icon chevron-icon" })
2229
+ ], 10, O9),
2217
2230
  o("div", {
2218
2231
  ref_key: "menuWrapper",
2219
- ref: a
2232
+ ref: c
2220
2233
  }, [
2221
- E(w1, null, {
2222
- default: g1(() => [
2223
- u.value ? (n(), j(q, {
2234
+ E(g1, null, {
2235
+ default: v1(() => [
2236
+ h.value ? (n(), O(q, {
2224
2237
  key: 0,
2225
2238
  items: t.items,
2226
2239
  onAction: m
@@ -2234,13 +2247,13 @@ const D9 = { class: "q-dropdown-menu" }, O9 = { class: "q-dropdown-menu-inner na
2234
2247
  };
2235
2248
  }
2236
2249
  });
2237
- const E9 = { class: "q-pagination" }, Y9 = ["disabled"], W9 = {
2250
+ const U9 = { class: "q-pagination" }, E9 = ["disabled"], Y9 = {
2238
2251
  key: 0,
2239
2252
  class: "q-page-indicators"
2240
- }, N9 = { class: "q-page-indicator" }, G9 = ["disabled", "onClick"], R9 = {
2253
+ }, W9 = { class: "q-page-indicator" }, N9 = ["disabled", "onClick"], G9 = {
2241
2254
  key: 1,
2242
2255
  class: "q-page-indicator-simple"
2243
- }, J9 = { class: "" }, X9 = ["disabled"], K9 = /* @__PURE__ */ O({
2256
+ }, R9 = { class: "" }, J9 = ["disabled"], X9 = /* @__PURE__ */ j({
2244
2257
  __name: "QPagination",
2245
2258
  props: {
2246
2259
  modelValue: {
@@ -2262,67 +2275,67 @@ const E9 = { class: "q-pagination" }, Y9 = ["disabled"], W9 = {
2262
2275
  },
2263
2276
  emits: ["change:next", "change:prev", "change:goto", "update:modelValue"],
2264
2277
  setup(t, { emit: e }) {
2265
- const i = t, _ = Q(() => {
2266
- let $ = 6;
2278
+ const i = t, _ = H(() => {
2279
+ let f = 6;
2267
2280
  const k = [];
2268
2281
  if (i.totalPage !== 0)
2269
- if (i.totalPage <= $)
2282
+ if (i.totalPage <= f)
2270
2283
  for (let m = 1; m <= i.totalPage; m++)
2271
2284
  k.push({ label: m });
2272
2285
  else {
2273
2286
  k.push({ label: 1 });
2274
- let m = u.value - 2, C = u.value + 2;
2275
- m < 2 && (m = 2, C = m + $ - 2), C > i.totalPage - 1 && (C = i.totalPage - 1, m = C - $ + 2), m > 2 && k.push({ label: "…", disabled: !0 });
2276
- for (let x = m; x <= C; x++)
2287
+ let m = h.value - 2, u = h.value + 2;
2288
+ m < 2 && (m = 2, u = m + f - 2), u > i.totalPage - 1 && (u = i.totalPage - 1, m = u - f + 2), m > 2 && k.push({ label: "…", disabled: !0 });
2289
+ for (let x = m; x <= u; x++)
2277
2290
  k.push({ label: x });
2278
- C < i.totalPage - 1 && k.push({ label: "…", disabled: !0 }), k.push({ label: i.totalPage });
2291
+ u < i.totalPage - 1 && k.push({ label: "…", disabled: !0 }), k.push({ label: i.totalPage });
2279
2292
  }
2280
2293
  return k;
2281
- }), u = B(i.modelValue);
2282
- J(() => i.modelValue, ($) => {
2283
- u.value = $;
2294
+ }), h = I(i.modelValue);
2295
+ J(() => i.modelValue, (f) => {
2296
+ h.value = f;
2284
2297
  });
2285
- function h() {
2286
- u.value--, e("change:prev", u.value), e("update:modelValue", u.value);
2298
+ function p() {
2299
+ h.value--, e("change:prev", h.value), e("update:modelValue", h.value);
2287
2300
  }
2288
- function a() {
2289
- u.value++, e("change:next", u.value), e("update:modelValue", u.value);
2301
+ function c() {
2302
+ h.value++, e("change:next", h.value), e("update:modelValue", h.value);
2290
2303
  }
2291
- function p($, k) {
2292
- k.disabled || (u.value = $, e("change:goto", u.value), e("update:modelValue", u.value));
2304
+ function w(f, k) {
2305
+ k.disabled || (h.value = f, e("change:goto", h.value), e("update:modelValue", h.value));
2293
2306
  }
2294
- return ($, k) => (n(), s("div", E9, [
2307
+ return (f, k) => (n(), s("div", U9, [
2295
2308
  o("button", {
2296
2309
  class: "prev q-button button sm outlined icon",
2297
- onClick: h,
2310
+ onClick: p,
2298
2311
  disabled: !i.hasPrev
2299
2312
  }, [
2300
2313
  E(L1, { class: "icon" })
2301
- ], 8, Y9),
2302
- t.totalPage !== 0 ? (n(), s("div", W9, [
2303
- (n(!0), s(h1, null, y1(_.value, (m) => (n(), s("div", N9, [
2314
+ ], 8, E9),
2315
+ t.totalPage !== 0 ? (n(), s("div", Y9, [
2316
+ (n(!0), s(u1, null, y1(_.value, (m) => (n(), s("div", W9, [
2304
2317
  o("button", {
2305
- class: D(["q-page-indicator q-button button sm plain", m.label === u.value ? "active" : ""]),
2318
+ class: Z(["q-page-indicator q-button button sm plain", m.label === h.value ? "active" : ""]),
2306
2319
  disabled: m.disabled,
2307
- onClick: (C) => p(m.label, m)
2308
- }, T(m.label), 11, G9)
2320
+ onClick: (u) => w(m.label, m)
2321
+ }, T(m.label), 11, N9)
2309
2322
  ]))), 256))
2310
- ])) : (n(), s("div", R9, [
2311
- o("div", J9, T(t.modelValue), 1)
2323
+ ])) : (n(), s("div", G9, [
2324
+ o("div", R9, T(t.modelValue), 1)
2312
2325
  ])),
2313
2326
  o("button", {
2314
2327
  class: "next q-button button sm outlined icon",
2315
- onClick: a,
2328
+ onClick: c,
2316
2329
  disabled: !i.hasNext
2317
2330
  }, [
2318
2331
  E(V1, { class: "icon" })
2319
- ], 8, X9)
2332
+ ], 8, J9)
2320
2333
  ]));
2321
2334
  }
2322
2335
  });
2323
- const t3 = { class: "q-progress-slot" }, e3 = /* @__PURE__ */ o("div", { class: "q-progress-bar-inner" }, null, -1), n3 = [
2324
- e3
2325
- ], o3 = /* @__PURE__ */ O({
2336
+ const K9 = { class: "q-progress-slot" }, t3 = /* @__PURE__ */ o("div", { class: "q-progress-bar-inner" }, null, -1), e3 = [
2337
+ t3
2338
+ ], n3 = /* @__PURE__ */ j({
2326
2339
  __name: "QProgress",
2327
2340
  props: {
2328
2341
  infinite: {
@@ -2343,20 +2356,20 @@ const t3 = { class: "q-progress-slot" }, e3 = /* @__PURE__ */ o("div", { class:
2343
2356
  }
2344
2357
  },
2345
2358
  setup(t) {
2346
- const e = t, i = Q(() => e.infinite ? "100%" : `${e.value / e.max * 100}%`), _ = Q(() => e.value >= e.max);
2347
- return (u, h) => (n(), s("div", {
2348
- class: D(["q-progress", t.color])
2359
+ const e = t, i = H(() => e.infinite ? "100%" : `${e.value / e.max * 100}%`), _ = H(() => e.value >= e.max);
2360
+ return (h, p) => (n(), s("div", {
2361
+ class: Z(["q-progress", t.color])
2349
2362
  }, [
2350
- o("div", t3, [
2363
+ o("div", K9, [
2351
2364
  o("div", {
2352
- class: D(["q-progress-bar", _.value ? "" : "animated"]),
2353
- style: v1({ width: i.value })
2354
- }, n3, 6)
2365
+ class: Z(["q-progress-bar", _.value ? "" : "animated"]),
2366
+ style: d1({ width: i.value })
2367
+ }, e3, 6)
2355
2368
  ])
2356
2369
  ], 2));
2357
2370
  }
2358
2371
  });
2359
- const s3 = /* @__PURE__ */ O({
2372
+ const o3 = /* @__PURE__ */ j({
2360
2373
  __name: "QLanguageSelector",
2361
2374
  props: {
2362
2375
  lang: {
@@ -2378,62 +2391,62 @@ const s3 = /* @__PURE__ */ O({
2378
2391
  },
2379
2392
  emits: ["change"],
2380
2393
  setup(t, { emit: e }) {
2381
- const i = t, _ = B(null), u = Q(() => {
2382
- let a = [
2394
+ const i = t, _ = I(null), h = H(() => {
2395
+ let c = [
2383
2396
  {
2384
2397
  title_flag: "🇺🇸 English",
2385
2398
  title_no_flag: "English",
2386
2399
  value: "en",
2387
- action: h
2400
+ action: p
2388
2401
  },
2389
2402
  {
2390
2403
  title_flag: "🇨🇳 简体中文",
2391
2404
  title_no_flag: "简体中文",
2392
2405
  value: "zh",
2393
- action: h
2406
+ action: p
2394
2407
  },
2395
2408
  {
2396
2409
  title_flag: "🇹🇼 正體中文",
2397
2410
  title_no_flag: "正體中文",
2398
2411
  value: "zh-tw",
2399
- action: h
2412
+ action: p
2400
2413
  },
2401
2414
  {
2402
2415
  title_flag: "🇯🇵 日本語",
2403
2416
  title_no_flag: "日本語",
2404
2417
  value: "ja",
2405
- action: h
2418
+ action: p
2406
2419
  }
2407
2420
  ];
2408
- return i.auto && a.unshift({
2421
+ return i.auto && c.unshift({
2409
2422
  title_flag: "🌐 Auto",
2410
2423
  title_no_flag: "Auto",
2411
2424
  value: "",
2412
- action: h
2413
- }), a = a.map((p) => ({
2414
- ...p,
2415
- title: i.noFlag ? p.title_no_flag : p.title_flag
2416
- })), a;
2425
+ action: p
2426
+ }), c = c.map((w) => ({
2427
+ ...w,
2428
+ title: i.noFlag ? w.title_no_flag : w.title_flag
2429
+ })), c;
2417
2430
  });
2418
- function h(a) {
2419
- i.presist && localStorage.setItem("quail-language", a.value), e("change", {
2420
- title: i.noFlag ? a.title_no_flag : a.title,
2421
- value: a.value
2431
+ function p(c) {
2432
+ i.presist && localStorage.setItem("quail-language", c.value), e("change", {
2433
+ title: i.noFlag ? c.title_no_flag : c.title,
2434
+ value: c.value
2422
2435
  });
2423
2436
  }
2424
- return J(() => i.lang, (a) => {
2425
- _.value = u.value.find((p) => a === p.value);
2426
- }), _1(() => {
2427
- _.value = u.value.find((a) => i.lang === a.value || localStorage.getItem("quail-language") === a.value) || u.value[0];
2428
- }), (a, p) => {
2429
- const $ = F("QDropdownMenu");
2430
- return n(), j($, {
2431
- items: u.value,
2437
+ return J(() => i.lang, (c) => {
2438
+ _.value = h.value.find((w) => c === w.value);
2439
+ }), h1(() => {
2440
+ _.value = h.value.find((c) => i.lang === c.value || localStorage.getItem("quail-language") === c.value) || h.value[0];
2441
+ }), (c, w) => {
2442
+ const f = F("QDropdownMenu");
2443
+ return n(), O(f, {
2444
+ items: h.value,
2432
2445
  "initial-item": _.value
2433
2446
  }, null, 8, ["items", "initial-item"]);
2434
2447
  };
2435
2448
  }
2436
- }), Q1 = (t) => (q1("data-v-c163c615"), t = t(), Z1(), t), i3 = { class: "q-pack-cover block-drop-shadow" }, r3 = /* @__PURE__ */ Q1(() => /* @__PURE__ */ o("div", { class: "q-pack-cover-layer one" }, null, -1)), c3 = /* @__PURE__ */ Q1(() => /* @__PURE__ */ o("div", { class: "q-pack-cover-layer two" }, null, -1)), l3 = { class: "q-pack-cover-inner" }, a3 = ["src", "alt"], d3 = /* @__PURE__ */ O({
2449
+ }), Q1 = (t) => (q1("data-v-c163c615"), t = t(), Z1(), t), s3 = { class: "q-pack-cover block-drop-shadow" }, i3 = /* @__PURE__ */ Q1(() => /* @__PURE__ */ o("div", { class: "q-pack-cover-layer one" }, null, -1)), r3 = /* @__PURE__ */ Q1(() => /* @__PURE__ */ o("div", { class: "q-pack-cover-layer two" }, null, -1)), c3 = { class: "q-pack-cover-inner" }, l3 = ["src", "alt"], a3 = /* @__PURE__ */ j({
2437
2450
  __name: "QPackCover",
2438
2451
  props: {
2439
2452
  src: {
@@ -2446,61 +2459,65 @@ const s3 = /* @__PURE__ */ O({
2446
2459
  },
2447
2460
  setup(t) {
2448
2461
  const e = t;
2449
- return (i, _) => (n(), s("div", i3, [
2462
+ return (i, _) => (n(), s("div", s3, [
2463
+ i3,
2450
2464
  r3,
2451
- c3,
2452
- o("div", l3, [
2465
+ o("div", c3, [
2453
2466
  o("img", {
2454
2467
  src: e.src,
2455
2468
  alt: t.alt
2456
- }, null, 8, a3)
2469
+ }, null, 8, l3)
2457
2470
  ])
2458
2471
  ]));
2459
2472
  }
2460
2473
  });
2461
- const _3 = /* @__PURE__ */ r(d3, [["__scopeId", "data-v-c163c615"]]), h3 = ["href"], u3 = ["href"], C3 = ["href"], f3 = ["href"], p3 = /* @__PURE__ */ O({
2474
+ const d3 = /* @__PURE__ */ r(a3, [["__scopeId", "data-v-c163c615"]]), _3 = ["href"], h3 = ["href"], u3 = ["href"], C3 = ["href"], f3 = /* @__PURE__ */ j({
2462
2475
  __name: "QShare",
2463
2476
  props: {
2464
2477
  url: {
2465
2478
  type: String,
2466
2479
  default: ""
2467
2480
  },
2481
+ text: {
2482
+ type: String,
2483
+ default: ""
2484
+ },
2468
2485
  layout: {
2469
2486
  type: String,
2470
2487
  default: "row"
2471
2488
  }
2472
2489
  },
2473
2490
  setup(t) {
2474
- const e = t, i = Q(() => e.layout === "row" ? "q-share-layout-row" : e.layout === "column" ? "q-share-layout-column" : "q-share-layout-row"), _ = Q(() => e.url ? encodeURIComponent(e.url) : encodeURIComponent(window.location.href));
2475
- return (u, h) => {
2476
- const a = F("q-icon-color-twitter"), p = F("q-icon-color-facebook"), $ = F("q-icon-color-hackernews"), k = F("q-icon-color-linkedin");
2491
+ const e = t, i = H(() => e.layout === "row" ? "q-share-layout-row" : e.layout === "column" ? "q-share-layout-column" : "q-share-layout-row"), _ = H(() => e.url ? encodeURIComponent(e.url) : encodeURIComponent(window.location.href));
2492
+ return (h, p) => {
2493
+ const c = F("q-icon-color-twitter"), w = F("q-icon-color-facebook"), f = F("q-icon-color-hackernews"), k = F("q-icon-color-linkedin");
2477
2494
  return n(), s("div", {
2478
- class: D(["q-share", i.value])
2495
+ class: Z(["q-share", i.value])
2479
2496
  }, [
2480
2497
  o("a", {
2481
- href: `https://twitter.com/intent/tweet?url=${_.value}`,
2498
+ href: `https://twitter.com/intent/tweet?url=${_.value}&text=${e.text}`,
2482
2499
  target: "_blank",
2483
2500
  title: "Share on Twitter",
2484
2501
  class: "q-share-link twitter"
2485
2502
  }, [
2486
- E(a, { class: "icon share-icon" })
2487
- ], 8, h3),
2503
+ E(c, { class: "icon share-icon" })
2504
+ ], 8, _3),
2488
2505
  o("a", {
2489
2506
  href: `https://www.facebook.com/sharer.php?u=${_.value}`,
2490
2507
  target: "_blank",
2491
2508
  title: "Share on facebook",
2492
2509
  class: "q-share-link facebook"
2493
2510
  }, [
2494
- E(p, { class: "icon share-icon" })
2495
- ], 8, u3),
2511
+ E(w, { class: "icon share-icon" })
2512
+ ], 8, h3),
2496
2513
  o("a", {
2497
- href: `https://news.ycombinator.com/submitlink?u=${_.value}&t=${_.value}`,
2514
+ href: `https://news.ycombinator.com/submitlink?u=${_.value}&t=${e.text}`,
2498
2515
  target: "_blank",
2499
2516
  title: "Share on hackernews",
2500
2517
  class: "q-share-link hackernews"
2501
2518
  }, [
2502
- E($, { class: "icon share-icon" })
2503
- ], 8, C3),
2519
+ E(f, { class: "icon share-icon" })
2520
+ ], 8, u3),
2504
2521
  o("a", {
2505
2522
  href: `https://www.linkedin.com/shareArticle?mini=true&url=${_.value}`,
2506
2523
  target: "_blank",
@@ -2508,33 +2525,66 @@ const _3 = /* @__PURE__ */ r(d3, [["__scopeId", "data-v-c163c615"]]), h3 = ["hre
2508
2525
  class: "q-share-link linkedin"
2509
2526
  }, [
2510
2527
  E(k, { class: "icon share-icon" })
2511
- ], 8, f3)
2528
+ ], 8, C3)
2512
2529
  ], 2);
2513
2530
  };
2514
2531
  }
2515
2532
  });
2516
- const w3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2533
+ const p3 = ["src", "alt"], w3 = /* @__PURE__ */ j({
2534
+ __name: "QAvatar",
2535
+ props: {
2536
+ src: {
2537
+ type: String,
2538
+ default: ""
2539
+ },
2540
+ alt: {
2541
+ type: String,
2542
+ default: "An Avatar"
2543
+ },
2544
+ size: {
2545
+ type: String,
2546
+ default: "32px"
2547
+ }
2548
+ },
2549
+ setup(t) {
2550
+ const e = t, i = I({
2551
+ width: `${e.size}px`,
2552
+ height: `${e.size}px`
2553
+ });
2554
+ return (_, h) => (n(), s("div", {
2555
+ class: "q-avatar",
2556
+ style: d1(i.value)
2557
+ }, [
2558
+ o("img", {
2559
+ src: e.src,
2560
+ alt: t.alt
2561
+ }, null, 8, p3)
2562
+ ], 4));
2563
+ }
2564
+ });
2565
+ const g3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2517
2566
  __proto__: null,
2567
+ QAvatar: w3,
2518
2568
  QDatetimePicker: K5,
2519
2569
  QDialog: c9,
2520
- QDropdownMenu: U9,
2570
+ QDropdownMenu: T9,
2521
2571
  QFence: h9,
2522
- QLanguageSelector: s3,
2572
+ QLanguageSelector: o3,
2523
2573
  QLoading: g9,
2524
- QMenu: V9,
2525
- QPackCover: _3,
2526
- QPagination: K9,
2527
- QProgress: o3,
2528
- QShare: p3,
2529
- QSwitch: z9,
2530
- QTextFieldWithButton: j9
2574
+ QMenu: L9,
2575
+ QPackCover: d3,
2576
+ QPagination: X9,
2577
+ QProgress: n3,
2578
+ QShare: f3,
2579
+ QSwitch: Q9,
2580
+ QTextFieldWithButton: Z9
2531
2581
  }, Symbol.toStringTag, { value: "Module" }));
2532
- const v3 = {
2582
+ const $3 = {
2533
2583
  install(t, e) {
2534
2584
  e != null && e.debug && console.log("options", e);
2535
2585
  for (const [i, _] of Object.entries(Y5))
2536
2586
  e != null && e.debug && console.log("[quail-ui] register icon component", i, _), t.component(i, _);
2537
- for (const [i, _] of Object.entries(w3))
2587
+ for (const [i, _] of Object.entries(g3))
2538
2588
  e != null && e.debug && console.log("[quail-ui] register common component", i, _), t.component(i, _);
2539
2589
  document.body.addEventListener("click", (i) => {
2540
2590
  b1();
@@ -2542,9 +2592,9 @@ const v3 = {
2542
2592
  }
2543
2593
  };
2544
2594
  export {
2545
- w3 as Common,
2595
+ g3 as Common,
2546
2596
  Y5 as Icons,
2547
- v3 as QuailUI,
2548
- v3 as default
2597
+ $3 as QuailUI,
2598
+ $3 as default
2549
2599
  };
2550
2600
  //# sourceMappingURL=index.js.map