@squirrel-cloud/ui-vue 0.4.21 → 0.4.23

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as T, computed as b, createBlock as C, openBlock as m, unref as u, normalizeClass as U, withCtx as M, createCommentVNode as L, createTextVNode as Se, resolveDynamicComponent as ue, toDisplayString as Y, h as Ee, ref as z, watch as ce, createElementBlock as $, normalizeStyle as X, onMounted as ie, onBeforeUnmount as ge, Transition as he, withDirectives as oe, createElementVNode as I, renderSlot as N, vShow as ve, useSlots as Be, createVNode as S, inject as fe, provide as ke, toRef as se, mergeModels as Z, useModel as le, vModelCheckbox as Ke, toRaw as _e, Fragment as ne, renderList as de, useAttrs as De, Teleport as Ge, mergeProps as pe, shallowRef as re, withModifiers as me, nextTick as ze, vModelDynamic as vt, vModelText as mt, render as Te, cloneVNode as ht, Text as gt, Comment as bt, vModelRadio as Ze } from "vue";
1
+ import { defineComponent as z, computed as b, createBlock as C, openBlock as m, unref as u, normalizeClass as U, withCtx as I, createCommentVNode as M, createTextVNode as Se, resolveDynamicComponent as ue, toDisplayString as j, h as Ee, ref as T, watch as ce, createElementBlock as $, normalizeStyle as Y, onMounted as ie, onBeforeUnmount as be, Transition as ge, withDirectives as oe, createElementVNode as L, renderSlot as N, vShow as ve, useSlots as Be, createVNode as S, inject as fe, provide as ke, toRef as se, mergeModels as Z, useModel as le, vModelCheckbox as Ke, toRaw as _e, Fragment as ne, renderList as de, useAttrs as De, Teleport as Ge, mergeProps as pe, shallowRef as re, withModifiers as he, nextTick as ze, vModelDynamic as vt, vModelText as mt, render as Te, cloneVNode as ht, Text as gt, Comment as bt, vModelRadio as Ze } from "vue";
2
2
  import { WarningFilled as Je, CloseFilled as Qe, InfoFilled as Ve, CheckFilled as et, JumpTo as yt, CaretUp as xt, Loading as Re, Check as _t, Close as Oe, Bold as $t, Italic as kt, Underline as wt, Strikethrough as qt, Hide as tt, ListUl as Ct, ListOl as St, View as st, ArrowLeft as nt, ArrowRight as ot, ZoomIn as Bt, ZoomOut as zt, FlipHorizontal as Tt, FlipVertical as Rt, Clockwise as Lt, Couterclockwise as It, FitSize as Mt, Fullscreen as Et, Ellipsis as At } from "@squirrel-cloud/icons-vue";
3
3
  import Dt from "markdown-it";
4
4
  import { RouterLink as Ot } from "vue-router";
@@ -9,7 +9,7 @@ const Pe = {
9
9
  info: Ve,
10
10
  error: Qe,
11
11
  warn: Je
12
- }, Ht = "sq-alert", Jo = /* @__PURE__ */ T({
12
+ }, Ht = "sq-alert", ea = /* @__PURE__ */ z({
13
13
  name: Ht,
14
14
  __name: "alert",
15
15
  props: {
@@ -23,12 +23,12 @@ const Pe = {
23
23
  const s = [];
24
24
  return o.type && s.push(`is-${o.type}`), s;
25
25
  }), t = b(() => o.icon ? o.icon : o.showIcon && o.type ? Pe[o.type] : void 0);
26
- return (s, e) => (m(), C(u(be), {
26
+ return (s, e) => (m(), C(u(me), {
27
27
  class: U(["sq-alert", n.value])
28
28
  }, {
29
- default: M(() => [
30
- t.value ? (m(), C(ue(t.value), { key: 0 })) : L("", !0),
31
- Se(" " + Y(o.text), 1)
29
+ default: I(() => [
30
+ t.value ? (m(), C(ue(t.value), { key: 0 })) : M("", !0),
31
+ Se(" " + j(o.text), 1)
32
32
  ]),
33
33
  _: 1
34
34
  }, 8, ["class"]));
@@ -347,7 +347,7 @@ function Kt() {
347
347
  throttle: d
348
348
  };
349
349
  }
350
- const { md2tokens: Gt, tokens2vueh: Zt } = Yt(), Jt = "sq-article", Qt = T({
350
+ const { md2tokens: Gt, tokens2vueh: Zt } = Yt(), Jt = "sq-article", Qt = z({
351
351
  name: Jt,
352
352
  props: {
353
353
  text: {
@@ -383,7 +383,7 @@ const { md2tokens: Gt, tokens2vueh: Zt } = Yt(), Jt = "sq-article", Qt = T({
383
383
  return Zt(n, o.value);
384
384
  };
385
385
  }
386
- }), es = ["src", "alt"], ts = ["textContent"], ss = "sq-avatar", Qo = /* @__PURE__ */ T({
386
+ }), es = ["src", "alt"], ts = ["textContent"], ss = "sq-avatar", ta = /* @__PURE__ */ z({
387
387
  name: ss,
388
388
  __name: "avatar",
389
389
  props: {
@@ -394,7 +394,7 @@ const { md2tokens: Gt, tokens2vueh: Zt } = Yt(), Jt = "sq-article", Qt = T({
394
394
  size: { default: "md" }
395
395
  },
396
396
  setup(d) {
397
- const o = d, n = z(!0), t = b(() => {
397
+ const o = d, n = T(!0), t = b(() => {
398
398
  const c = [];
399
399
  return o.size !== "md" && c.push(`sq-avatar--${o.size}`), o.round && c.push("is-round"), c;
400
400
  }), s = b(() => {
@@ -415,7 +415,7 @@ const { md2tokens: Gt, tokens2vueh: Zt } = Yt(), Jt = "sq-article", Qt = T({
415
415
  }
416
416
  return (c, a) => (m(), $("div", {
417
417
  class: U(["sq-avatar", t.value]),
418
- style: X(s.value)
418
+ style: Y(s.value)
419
419
  }, [
420
420
  o.img && n.value ? (m(), $("img", {
421
421
  key: 0,
@@ -424,11 +424,11 @@ const { md2tokens: Gt, tokens2vueh: Zt } = Yt(), Jt = "sq-article", Qt = T({
424
424
  onError: r
425
425
  }, null, 40, es)) : (m(), $("span", {
426
426
  key: 1,
427
- textContent: Y(e.value)
427
+ textContent: j(e.value)
428
428
  }, null, 8, ts))
429
429
  ], 6));
430
430
  }
431
- }), ns = { class: "sq-backtop" }, os = "sq-backtop", ea = /* @__PURE__ */ T({
431
+ }), ns = { class: "sq-backtop" }, os = "sq-backtop", sa = /* @__PURE__ */ z({
432
432
  name: os,
433
433
  __name: "backtop",
434
434
  props: {
@@ -440,13 +440,13 @@ const { md2tokens: Gt, tokens2vueh: Zt } = Yt(), Jt = "sq-article", Qt = T({
440
440
  progressProps: {}
441
441
  },
442
442
  setup(d) {
443
- const { throttle: o } = Kt(), n = o(a), t = new ResizeObserver(l), s = d, e = z(100), r = z(0), c = b(() => r.value > s.visibilityHeight);
443
+ const { throttle: o } = Kt(), n = o(a), t = new ResizeObserver(l), s = d, e = T(100), r = T(0), c = b(() => r.value > s.visibilityHeight);
444
444
  ie(() => {
445
445
  var g;
446
446
  l(), n(), window.addEventListener("scroll", n);
447
447
  const p = document.querySelector(s.target) ?? document.body;
448
448
  t.observe(p), (g = window.visualViewport) == null || g.addEventListener("resize", l);
449
- }), ge(() => {
449
+ }), be(() => {
450
450
  var p;
451
451
  window.removeEventListener("scroll", n), t.disconnect(), (p = window.visualViewport) == null || p.removeEventListener("resize", l);
452
452
  });
@@ -460,18 +460,18 @@ const { md2tokens: Gt, tokens2vueh: Zt } = Yt(), Jt = "sq-article", Qt = T({
460
460
  function i() {
461
461
  window.scrollTo({ top: 0, behavior: "smooth" });
462
462
  }
463
- return (p, g) => (m(), C(he, {
463
+ return (p, g) => (m(), C(ge, {
464
464
  name: s.transition
465
465
  }, {
466
- default: M(() => {
466
+ default: I(() => {
467
467
  var h, f, w;
468
468
  return [
469
- oe(I("div", ns, [
470
- I("div", {
469
+ oe(L("div", ns, [
470
+ L("div", {
471
471
  class: "sq-backtop-wrap",
472
472
  onClick: i
473
473
  }, [
474
- s.progress ? (m(), C(u(ao), {
474
+ s.progress ? (m(), C(u(io), {
475
475
  key: 0,
476
476
  variant: "circle",
477
477
  label: !1,
@@ -480,7 +480,7 @@ const { md2tokens: Gt, tokens2vueh: Zt } = Yt(), Jt = "sq-article", Qt = T({
480
480
  type: (h = s.progressProps) == null ? void 0 : h.type,
481
481
  stroke: (f = s.progressProps) == null ? void 0 : f.stroke,
482
482
  color: (w = s.progressProps) == null ? void 0 : w.color
483
- }, null, 8, ["value", "max", "type", "stroke", "color"])) : L("", !0),
483
+ }, null, 8, ["value", "max", "type", "stroke", "color"])) : M("", !0),
484
484
  N(p.$slots, "default", {}, () => [
485
485
  (m(), C(ue(s.icon)))
486
486
  ])
@@ -493,7 +493,7 @@ const { md2tokens: Gt, tokens2vueh: Zt } = Yt(), Jt = "sq-article", Qt = T({
493
493
  _: 3
494
494
  }, 8, ["name"]));
495
495
  }
496
- }), as = ["textContent"], ls = "sq-badge", Xe = /* @__PURE__ */ T({
496
+ }), as = ["textContent"], ls = "sq-badge", Xe = /* @__PURE__ */ z({
497
497
  name: ls,
498
498
  __name: "badge",
499
499
  props: {
@@ -510,42 +510,42 @@ const { md2tokens: Gt, tokens2vueh: Zt } = Yt(), Jt = "sq-article", Qt = T({
510
510
  const c = [];
511
511
  return n.dot && c.push("is-dot"), c.push(`is-${n.type}`), c;
512
512
  }), s = b(() => o.default ? "sup" : "div"), e = b(() => !n.dot && n.text || n.showZero ? !0 : n.count > 0), r = b(() => n.dot ? "" : n.text ? n.text : n.max && n.count > n.max ? `${n.max}+` : `${n.count}`);
513
- return (c, a) => (m(), C(he, { name: "sq-zoom" }, {
514
- default: M(() => [
513
+ return (c, a) => (m(), C(ge, { name: "sq-zoom" }, {
514
+ default: I(() => [
515
515
  u(o).default || e.value ? (m(), $("span", {
516
516
  key: 0,
517
517
  class: U(["sq-badge", t.value]),
518
- style: X({ "--badge-color": n.color })
518
+ style: Y({ "--badge-color": n.color })
519
519
  }, [
520
520
  N(c.$slots, "default"),
521
521
  (m(), C(ue(s.value), { class: "sq-badge-label" }, {
522
- default: M(() => [
523
- S(he, {
522
+ default: I(() => [
523
+ S(ge, {
524
524
  name: u(o).default ? "sq-zoom" : ""
525
525
  }, {
526
- default: M(() => [
526
+ default: I(() => [
527
527
  e.value ? (m(), $("span", {
528
528
  key: 0,
529
529
  class: "sq-badge-label-inner",
530
- textContent: Y(r.value)
531
- }, null, 8, as)) : L("", !0)
530
+ textContent: j(r.value)
531
+ }, null, 8, as)) : M("", !0)
532
532
  ]),
533
533
  _: 1
534
534
  }, 8, ["name"])
535
535
  ]),
536
536
  _: 1
537
537
  }))
538
- ], 6)) : L("", !0)
538
+ ], 6)) : M("", !0)
539
539
  ]),
540
540
  _: 3
541
541
  }));
542
542
  }
543
- }), is = "sq-blur", rs = /* @__PURE__ */ T({
543
+ }), is = "sq-blur", rs = /* @__PURE__ */ z({
544
544
  name: is,
545
545
  __name: "blur",
546
546
  setup(d) {
547
- return (o, n) => (m(), C(u(be), { class: "sq-blur" }, {
548
- default: M(() => [
547
+ return (o, n) => (m(), C(u(me), { class: "sq-blur" }, {
548
+ default: I(() => [
549
549
  N(o.$slots, "default")
550
550
  ]),
551
551
  _: 3
@@ -738,7 +738,7 @@ function vs(d) {
738
738
  );
739
739
  return { switchSize: s, switchDisabled: e, id: t };
740
740
  }
741
- const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T({
741
+ const ms = ["disabled", "form", "type"], hs = "sq-button", X = /* @__PURE__ */ z({
742
742
  name: hs,
743
743
  __name: "button",
744
744
  props: {
@@ -766,18 +766,18 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
766
766
  type: t.nativeType,
767
767
  onClick: h[0] || (h[0] = (f) => n("click", f))
768
768
  }, [
769
- S(u(be), {
769
+ S(u(me), {
770
770
  size: u(e) === "lg" ? "md" : u(e)
771
771
  }, {
772
- default: M(() => [
773
- i.value ? (m(), C(ue(i.value), { key: 0 })) : L("", !0),
772
+ default: I(() => [
773
+ i.value ? (m(), C(ue(i.value), { key: 0 })) : M("", !0),
774
774
  N(g.$slots, "default")
775
775
  ]),
776
776
  _: 3
777
777
  }, 8, ["size"])
778
778
  ], 10, ms));
779
779
  }
780
- }), gs = { class: "sq-button-group" }, bs = "sq-button-group", ta = /* @__PURE__ */ T({
780
+ }), gs = { class: "sq-button-group" }, bs = "sq-button-group", na = /* @__PURE__ */ z({
781
781
  name: bs,
782
782
  __name: "button-group",
783
783
  props: {
@@ -790,7 +790,7 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
790
790
  const o = d;
791
791
  return ke(
792
792
  at,
793
- z({
793
+ T({
794
794
  size: se(o, "size"),
795
795
  type: se(o, "type"),
796
796
  round: se(o, "round"),
@@ -806,7 +806,7 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
806
806
  }, _s = ["textContent"], $s = {
807
807
  key: 1,
808
808
  class: "sq-card-footer"
809
- }, ks = "sq-card", sa = /* @__PURE__ */ T({
809
+ }, ks = "sq-card", oa = /* @__PURE__ */ z({
810
810
  name: ks,
811
811
  __name: "card",
812
812
  props: {
@@ -817,19 +817,19 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
817
817
  const o = Be(), n = d;
818
818
  return (t, s) => (m(), $("section", ys, [
819
819
  n.title || u(o).title ? (m(), $("div", xs, [
820
- I("h2", {
820
+ L("h2", {
821
821
  class: U({ "has-decorative": n.decorative }),
822
- textContent: Y(n.title)
822
+ textContent: j(n.title)
823
823
  }, null, 10, _s),
824
824
  N(t.$slots, "title")
825
- ])) : L("", !0),
825
+ ])) : M("", !0),
826
826
  N(t.$slots, "default"),
827
827
  u(o).footer ? (m(), $("div", $s, [
828
828
  N(t.$slots, "footer")
829
- ])) : L("", !0)
829
+ ])) : M("", !0)
830
830
  ]));
831
831
  }
832
- }), ws = ["autofocus", "name", "form", "value", "disabled"], qs = ["textContent"], Cs = "sq-checkbox", lt = /* @__PURE__ */ T({
832
+ }), ws = ["autofocus", "name", "form", "value", "disabled"], qs = ["textContent"], Cs = "sq-checkbox", lt = /* @__PURE__ */ z({
833
833
  name: Cs,
834
834
  __name: "checkbox",
835
835
  props: /* @__PURE__ */ Z({
@@ -871,7 +871,7 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
871
871
  }), (h, f) => (m(), $("label", {
872
872
  class: U(["sq-selection sq-checkbox", p.value])
873
873
  }, [
874
- oe(I("input", {
874
+ oe(L("input", {
875
875
  type: "checkbox",
876
876
  autofocus: t.autofocus,
877
877
  name: u(c),
@@ -890,16 +890,16 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
890
890
  g.value ? (m(), C(u(_t), {
891
891
  key: 0,
892
892
  class: "sq-checkbox-inner"
893
- })) : L("", !0)
894
- ], 2)) : L("", !0),
893
+ })) : M("", !0)
894
+ ], 2)) : M("", !0),
895
895
  t.label ? (m(), $("span", {
896
896
  key: 1,
897
897
  class: "sq-selection-label",
898
- textContent: Y(t.label)
899
- }, null, 8, qs)) : L("", !0)
898
+ textContent: j(t.label)
899
+ }, null, 8, qs)) : M("", !0)
900
900
  ], 2));
901
901
  }
902
- }), Ss = { class: "sq-checkbox-group sq-selection-group" }, Bs = "sq-checkbox-group", zs = /* @__PURE__ */ T({
902
+ }), Ss = { class: "sq-checkbox-group sq-selection-group" }, Bs = "sq-checkbox-group", zs = /* @__PURE__ */ z({
903
903
  name: Bs,
904
904
  __name: "checkbox-group",
905
905
  props: {
@@ -913,10 +913,10 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
913
913
  },
914
914
  emits: ["change", "update:value"],
915
915
  setup(d, { emit: o }) {
916
- const { nextId: n } = Le(), t = o, s = d, e = z(s.value ?? []), r = b(() => s.name ?? `sq-checkbox-${n()}`);
916
+ const { nextId: n } = Le(), t = o, s = d, e = T(s.value ?? []), r = b(() => s.name ?? `sq-checkbox-${n()}`);
917
917
  ke(
918
918
  it,
919
- z({
919
+ T({
920
920
  form: se(s, "form"),
921
921
  name: r,
922
922
  disabled: se(s, "disabled"),
@@ -945,7 +945,7 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
945
945
  ])
946
946
  ]));
947
947
  }
948
- }), it = Symbol("checkbox-group-context-keys"), Ts = "sq-mask", rt = /* @__PURE__ */ T({
948
+ }), it = Symbol("checkbox-group-context-keys"), Ts = "sq-mask", rt = /* @__PURE__ */ z({
949
949
  name: Ts,
950
950
  inheritAttrs: !1,
951
951
  __name: "mask",
@@ -961,11 +961,11 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
961
961
  setup(d, { emit: o }) {
962
962
  const { nextZIndex: n } = Fe(), t = De();
963
963
  let s;
964
- const e = o, r = d, c = z(0), a = z(!1), l = le(d, "visible");
964
+ const e = o, r = d, c = T(0), a = T(!1), l = le(d, "visible");
965
965
  a.value = l.value, ce(l, (h) => {
966
966
  const f = document.scrollingElement;
967
967
  h ? (s = f.style.overflow, f.style.overflow = "hidden", c.value = n(), a.value = !0, document.addEventListener("keydown", i)) : (f.style.overflow = s, document.removeEventListener("keydown", i));
968
- }), ge(() => {
968
+ }), be(() => {
969
969
  document.removeEventListener("keydown", i);
970
970
  });
971
971
  function i(h) {
@@ -986,14 +986,14 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
986
986
  }) : h && (l.value = !1);
987
987
  }
988
988
  return (h, f) => (m(), C(Ge, { to: "body" }, [
989
- S(he, {
989
+ S(ge, {
990
990
  name: "sq-fade",
991
991
  onBeforeEnter: f[0] || (f[0] = (w) => e("open")),
992
992
  onAfterEnter: f[1] || (f[1] = (w) => e("opened")),
993
993
  onBeforeLeave: f[2] || (f[2] = (w) => e("close")),
994
994
  onAfterLeave: f[3] || (f[3] = (w) => e("closed"))
995
995
  }, {
996
- default: M(() => [
996
+ default: I(() => [
997
997
  a.value ? oe((m(), $("div", pe({
998
998
  key: 0,
999
999
  class: "sq-mask",
@@ -1002,7 +1002,7 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
1002
1002
  N(h.$slots, "default")
1003
1003
  ], 16)), [
1004
1004
  [ve, l.value]
1005
- ]) : L("", !0)
1005
+ ]) : M("", !0)
1006
1006
  ]),
1007
1007
  _: 3
1008
1008
  })
@@ -1014,7 +1014,7 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
1014
1014
  }, Ls = ["textContent"], Is = { class: "sq-dialog-body" }, Ms = {
1015
1015
  key: 1,
1016
1016
  class: "sq-dialog-footer"
1017
- }, Es = "sq-dialog", As = /* @__PURE__ */ T({
1017
+ }, Es = "sq-dialog", As = /* @__PURE__ */ z({
1018
1018
  name: Es,
1019
1019
  inheritAttrs: !1,
1020
1020
  __name: "dialog",
@@ -1037,7 +1037,7 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
1037
1037
  }),
1038
1038
  emits: /* @__PURE__ */ Z(["open", "opened", "close", "closed"], ["update:visible"]),
1039
1039
  setup(d, { emit: o }) {
1040
- const n = Be(), t = De(), s = o, e = d, r = z(!1), c = z(!1), a = le(d, "visible"), l = b(() => !!e.title || !!n.header), i = b(() => {
1040
+ const n = Be(), t = De(), s = o, e = d, r = T(!1), c = T(!1), a = le(d, "visible"), l = b(() => !!e.title || !!n.header), i = b(() => {
1041
1041
  const P = [];
1042
1042
  return e.type && P.push(`is-${e.type}`), l.value && P.push("has-header"), P.push(t.class), [P];
1043
1043
  }), p = b(() => e.type ? Pe[e.type] : void 0), g = b(() => ({
@@ -1080,52 +1080,52 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
1080
1080
  onClose: O[3] || (O[3] = (V) => s("close")),
1081
1081
  onClosed: O[4] || (O[4] = (V) => s("closed"))
1082
1082
  }, {
1083
- default: M(() => [
1084
- I("div", {
1083
+ default: I(() => [
1084
+ L("div", {
1085
1085
  class: U(["sq-dialog", i.value]),
1086
- style: X(u(t).style)
1086
+ style: Y(u(t).style)
1087
1087
  }, [
1088
1088
  l.value ? (m(), $("div", Rs, [
1089
1089
  p.value ? (m(), C(ue(p.value), {
1090
1090
  key: 0,
1091
1091
  class: "sq-dialog-header-icon"
1092
- })) : L("", !0),
1092
+ })) : M("", !0),
1093
1093
  N(P.$slots, "header", {}, () => [
1094
- I("span", {
1094
+ L("span", {
1095
1095
  class: "sq-dialog-header-title",
1096
- textContent: Y(e.title)
1096
+ textContent: j(e.title)
1097
1097
  }, null, 8, Ls)
1098
1098
  ]),
1099
1099
  S(u(Oe), {
1100
1100
  class: "sq-dialog-close",
1101
1101
  onClick: B
1102
1102
  })
1103
- ])) : L("", !0),
1104
- I("div", Is, [
1103
+ ])) : M("", !0),
1104
+ L("div", Is, [
1105
1105
  N(P.$slots, "default")
1106
1106
  ]),
1107
1107
  e.footer ? (m(), $("div", Ms, [
1108
1108
  N(P.$slots, "footer", {}, () => [
1109
- S(u(j), pe(h.value, { onClick: B }), {
1110
- default: M(() => [
1111
- Se(Y(e.cancelText), 1)
1109
+ S(u(X), pe(h.value, { onClick: B }), {
1110
+ default: I(() => [
1111
+ Se(j(e.cancelText), 1)
1112
1112
  ]),
1113
1113
  _: 1
1114
1114
  }, 16),
1115
- S(u(j), pe(g.value, { onClick: D }), {
1116
- default: M(() => [
1117
- Se(Y(e.okText), 1)
1115
+ S(u(X), pe(g.value, { onClick: D }), {
1116
+ default: I(() => [
1117
+ Se(j(e.okText), 1)
1118
1118
  ]),
1119
1119
  _: 1
1120
1120
  }, 16)
1121
1121
  ])
1122
- ])) : L("", !0)
1122
+ ])) : M("", !0)
1123
1123
  ], 6)
1124
1124
  ]),
1125
1125
  _: 3
1126
1126
  }, 8, ["visible", "mask-closeable", "keyboard", "before-close"]));
1127
1127
  }
1128
- }), Ds = "sq-divider", $e = /* @__PURE__ */ T({
1128
+ }), Ds = "sq-divider", $e = /* @__PURE__ */ z({
1129
1129
  name: Ds,
1130
1130
  __name: "divider",
1131
1131
  props: {
@@ -1142,21 +1142,21 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
1142
1142
  });
1143
1143
  return (s, e) => (m(), $("div", {
1144
1144
  class: U(["sq-divider", t.value]),
1145
- style: X({ "--divider-line-type": n.variant })
1145
+ style: Y({ "--divider-line-type": n.variant })
1146
1146
  }, [
1147
- u(o).default && n.direction !== "vertical" ? (m(), C(u(be), {
1147
+ u(o).default && n.direction !== "vertical" ? (m(), C(u(me), {
1148
1148
  key: 0,
1149
1149
  ellipsis: n.ellipsis,
1150
1150
  size: n.size
1151
1151
  }, {
1152
- default: M(() => [
1152
+ default: I(() => [
1153
1153
  N(s.$slots, "default")
1154
1154
  ]),
1155
1155
  _: 3
1156
- }, 8, ["ellipsis", "size"])) : L("", !0)
1156
+ }, 8, ["ellipsis", "size"])) : M("", !0)
1157
1157
  ], 6));
1158
1158
  }
1159
- }), Os = "sq-editor-bold", Ps = /* @__PURE__ */ T({
1159
+ }), Os = "sq-editor-bold", Ps = /* @__PURE__ */ z({
1160
1160
  name: Os,
1161
1161
  __name: "editor-bold",
1162
1162
  props: {
@@ -1187,8 +1187,8 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
1187
1187
  tip: "加粗 ( Ctrl + B )",
1188
1188
  disabled: s.disabled
1189
1189
  }, {
1190
- default: M(() => [
1191
- S(u(j), {
1190
+ default: I(() => [
1191
+ S(u(X), {
1192
1192
  text: "",
1193
1193
  icon: u($t),
1194
1194
  disabled: s.disabled,
@@ -1198,7 +1198,7 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
1198
1198
  _: 1
1199
1199
  }, 8, ["disabled"]));
1200
1200
  }
1201
- }), Ns = "sq-editor-italic", Fs = /* @__PURE__ */ T({
1201
+ }), Ns = "sq-editor-italic", Fs = /* @__PURE__ */ z({
1202
1202
  name: Ns,
1203
1203
  __name: "editor-italic",
1204
1204
  props: {
@@ -1237,8 +1237,8 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
1237
1237
  tip: "斜体 ( Ctrl + I )",
1238
1238
  disabled: s.disabled
1239
1239
  }, {
1240
- default: M(() => [
1241
- S(u(j), {
1240
+ default: I(() => [
1241
+ S(u(X), {
1242
1242
  text: "",
1243
1243
  icon: u(kt),
1244
1244
  disabled: s.disabled,
@@ -1248,7 +1248,7 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
1248
1248
  _: 1
1249
1249
  }, 8, ["disabled"]));
1250
1250
  }
1251
- }), Us = "sq-editor-underline", Vs = /* @__PURE__ */ T({
1251
+ }), Us = "sq-editor-underline", Vs = /* @__PURE__ */ z({
1252
1252
  name: Us,
1253
1253
  __name: "editor-underline",
1254
1254
  props: {
@@ -1279,8 +1279,8 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
1279
1279
  tip: "下划线 ( Ctrl + U )",
1280
1280
  disabled: s.disabled
1281
1281
  }, {
1282
- default: M(() => [
1283
- S(u(j), {
1282
+ default: I(() => [
1283
+ S(u(X), {
1284
1284
  text: "",
1285
1285
  icon: u(wt),
1286
1286
  disabled: s.disabled,
@@ -1290,7 +1290,7 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
1290
1290
  _: 1
1291
1291
  }, 8, ["disabled"]));
1292
1292
  }
1293
- }), Hs = "sq-editor-strikethrough", Ws = /* @__PURE__ */ T({
1293
+ }), Hs = "sq-editor-strikethrough", Ws = /* @__PURE__ */ z({
1294
1294
  name: Hs,
1295
1295
  __name: "editor-strikethrough",
1296
1296
  props: {
@@ -1317,8 +1317,8 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
1317
1317
  tip: "删除线",
1318
1318
  disabled: t.disabled
1319
1319
  }, {
1320
- default: M(() => [
1321
- S(u(j), {
1320
+ default: I(() => [
1321
+ S(u(X), {
1322
1322
  text: "",
1323
1323
  icon: u(qt),
1324
1324
  disabled: t.disabled,
@@ -1328,7 +1328,7 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
1328
1328
  _: 1
1329
1329
  }, 8, ["disabled"]));
1330
1330
  }
1331
- }), js = "sq-editor-blur", Xs = /* @__PURE__ */ T({
1331
+ }), js = "sq-editor-blur", Xs = /* @__PURE__ */ z({
1332
1332
  name: js,
1333
1333
  __name: "editor-blur",
1334
1334
  props: {
@@ -1359,8 +1359,8 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
1359
1359
  tip: "模糊块",
1360
1360
  disabled: t.disabled
1361
1361
  }, {
1362
- default: M(() => [
1363
- S(u(j), {
1362
+ default: I(() => [
1363
+ S(u(X), {
1364
1364
  text: "",
1365
1365
  icon: u(tt),
1366
1366
  disabled: t.disabled,
@@ -1370,7 +1370,7 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
1370
1370
  _: 1
1371
1371
  }, 8, ["disabled"]));
1372
1372
  }
1373
- }), Ys = "sq-editor-ul", Ks = /* @__PURE__ */ T({
1373
+ }), Ys = "sq-editor-ul", Ks = /* @__PURE__ */ z({
1374
1374
  name: Ys,
1375
1375
  __name: "editor-ul",
1376
1376
  props: {
@@ -1409,8 +1409,8 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
1409
1409
  tip: "无序列表",
1410
1410
  disabled: t.disabled
1411
1411
  }, {
1412
- default: M(() => [
1413
- S(u(j), {
1412
+ default: I(() => [
1413
+ S(u(X), {
1414
1414
  text: "",
1415
1415
  icon: u(Ct),
1416
1416
  disabled: t.disabled,
@@ -1420,7 +1420,7 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
1420
1420
  _: 1
1421
1421
  }, 8, ["disabled"]));
1422
1422
  }
1423
- }), Gs = "sq-editor-ol", Zs = /* @__PURE__ */ T({
1423
+ }), Gs = "sq-editor-ol", Zs = /* @__PURE__ */ z({
1424
1424
  name: Gs,
1425
1425
  __name: "editor-ol",
1426
1426
  props: {
@@ -1464,8 +1464,8 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
1464
1464
  tip: "有序列表",
1465
1465
  disabled: t.disabled
1466
1466
  }, {
1467
- default: M(() => [
1468
- S(u(j), {
1467
+ default: I(() => [
1468
+ S(u(X), {
1469
1469
  text: "",
1470
1470
  icon: u(St),
1471
1471
  disabled: t.disabled,
@@ -1475,7 +1475,7 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
1475
1475
  _: 1
1476
1476
  }, 8, ["disabled"]));
1477
1477
  }
1478
- }), Js = { class: "sq-editor-body" }, Qs = { class: "sq-editor-toolbar" }, en = { class: "sq-editor-control" }, tn = "sq-editor", na = /* @__PURE__ */ T({
1478
+ }), Js = { class: "sq-editor-body" }, Qs = { class: "sq-editor-toolbar" }, en = { class: "sq-editor-control" }, tn = "sq-editor", aa = /* @__PURE__ */ z({
1479
1479
  name: tn,
1480
1480
  __name: "editor",
1481
1481
  props: /* @__PURE__ */ Z({
@@ -1503,7 +1503,7 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
1503
1503
  }
1504
1504
  ];
1505
1505
  let n;
1506
- const t = d, s = z("edit"), e = z([]), r = z(!1), c = z(""), a = z(), l = z({}), i = re(null), p = re(null), g = re(null), h = re(
1506
+ const t = d, s = T("edit"), e = T([]), r = T(!1), c = T(""), a = T(), l = T({}), i = re(null), p = re(null), g = re(null), h = re(
1507
1507
  null
1508
1508
  ), f = le(d, "value"), w = b(() => {
1509
1509
  const y = [];
@@ -1518,7 +1518,7 @@ const ms = ["disabled", "form", "type"], hs = "sq-button", j = /* @__PURE__ */ T
1518
1518
  );
1519
1519
  ie(() => {
1520
1520
  document.addEventListener("selectionchange", K), document.addEventListener("click", H);
1521
- }), ge(() => {
1521
+ }), be(() => {
1522
1522
  document.removeEventListener("selectionchange", K), document.removeEventListener("click", H);
1523
1523
  });
1524
1524
  function O(y) {
@@ -1620,11 +1620,11 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
1620
1620
  }
1621
1621
  return (y, x) => (m(), $("div", {
1622
1622
  class: U(["sq-editor", w.value]),
1623
- onClick: x[2] || (x[2] = me(() => {
1623
+ onClick: x[2] || (x[2] = he(() => {
1624
1624
  }, ["stop"]))
1625
1625
  }, [
1626
- oe(I("div", Js, [
1627
- I("div", Qs, [
1626
+ oe(L("div", Js, [
1627
+ L("div", Qs, [
1628
1628
  S(Ps, {
1629
1629
  ref_key: "boldRef",
1630
1630
  ref: p,
@@ -1711,9 +1711,9 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
1711
1711
  s.value === "preview" ? (m(), C(u(Qt), {
1712
1712
  key: 0,
1713
1713
  text: P.value
1714
- }, null, 8, ["text"])) : L("", !0),
1715
- I("div", en, [
1716
- S(u(ho), {
1714
+ }, null, 8, ["text"])) : M("", !0),
1715
+ L("div", en, [
1716
+ S(u(bo), {
1717
1717
  size: t.size,
1718
1718
  round: t.round,
1719
1719
  disabled: t.disabled,
@@ -1726,7 +1726,7 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
1726
1726
  ])
1727
1727
  ], 2));
1728
1728
  }
1729
- }), sn = ["textContent", "for"], nn = { class: "sq-form-item-content" }, on = ["textContent"], an = "sq-form-item", ln = /* @__PURE__ */ T({
1729
+ }), sn = ["textContent", "for"], nn = { class: "sq-form-item-content" }, on = ["textContent"], an = "sq-form-item", ln = /* @__PURE__ */ z({
1730
1730
  name: an,
1731
1731
  __name: "form-item",
1732
1732
  props: {
@@ -1738,7 +1738,7 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
1738
1738
  errorMsg: {}
1739
1739
  },
1740
1740
  setup(d) {
1741
- const { nextId: o } = Le(), n = d, t = z(""), s = z("");
1741
+ const { nextId: o } = Le(), n = d, t = T(""), s = T("");
1742
1742
  ke(Ue, t);
1743
1743
  const e = b(() => {
1744
1744
  const a = [];
@@ -1757,25 +1757,25 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
1757
1757
  }
1758
1758
  return (a, l) => (m(), $("div", {
1759
1759
  class: "sq-form-item",
1760
- style: X({ "--form-label-width": n.labelWidth })
1760
+ style: Y({ "--form-label-width": n.labelWidth })
1761
1761
  }, [
1762
1762
  n.label || n.showLabel ? (m(), $("label", {
1763
1763
  key: 0,
1764
1764
  class: U(["sq-form-item-label", e.value]),
1765
- textContent: Y(n.label),
1765
+ textContent: j(n.label),
1766
1766
  for: n.type !== "custom" ? t.value : void 0
1767
- }, null, 10, sn)) : L("", !0),
1768
- I("div", nn, [
1767
+ }, null, 10, sn)) : M("", !0),
1768
+ L("div", nn, [
1769
1769
  N(a.$slots, "default"),
1770
- S(he, {
1770
+ S(ge, {
1771
1771
  appear: "",
1772
1772
  name: "sq-zoom-top",
1773
1773
  onAfterLeave: c
1774
1774
  }, {
1775
- default: M(() => [
1776
- oe(I("span", {
1775
+ default: I(() => [
1776
+ oe(L("span", {
1777
1777
  class: "sq-form-item-check",
1778
- textContent: Y(s.value)
1778
+ textContent: j(s.value)
1779
1779
  }, null, 8, on), [
1780
1780
  [ve, n.errorMsg]
1781
1781
  ])
@@ -1785,7 +1785,7 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
1785
1785
  ])
1786
1786
  ], 4));
1787
1787
  }
1788
- }), rn = "sq-form", oa = /* @__PURE__ */ T({
1788
+ }), rn = "sq-form", la = /* @__PURE__ */ z({
1789
1789
  name: rn,
1790
1790
  __name: "form",
1791
1791
  props: {
@@ -1809,14 +1809,14 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
1809
1809
  const s = n, e = d;
1810
1810
  ke(
1811
1811
  Ce,
1812
- z({
1812
+ T({
1813
1813
  size: se(e, "size"),
1814
1814
  round: se(e, "round"),
1815
1815
  disabled: se(e, "disabled"),
1816
1816
  readonly: se(e, "readonly")
1817
1817
  })
1818
1818
  );
1819
- const r = z({}), c = z([]), a = z({}), l = b(() => {
1819
+ const r = T({}), c = T([]), a = T({}), l = b(() => {
1820
1820
  const k = [];
1821
1821
  return e.size !== "md" && k.push(`sq-form--${e.size}`), e.requiredMark !== "hidden" && k.push(`required-${e.requiredMark}`), k.push(`is-${e.layout}`), k;
1822
1822
  }), i = b(() => ({
@@ -1895,8 +1895,8 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
1895
1895
  }
1896
1896
  return o({ resetFields: ee, validate: J }), (k, _) => (m(), $("form", {
1897
1897
  class: U(["sq-form", l.value]),
1898
- style: X(i.value),
1899
- onSubmit: _[0] || (_[0] = me(() => {
1898
+ style: Y(i.value),
1899
+ onSubmit: _[0] || (_[0] = he(() => {
1900
1900
  }, ["prevent"]))
1901
1901
  }, [
1902
1902
  (m(!0), $(ne, null, de(p.value, (v, y) => (m(), C(ln, {
@@ -1909,7 +1909,7 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
1909
1909
  "is-required": g(v),
1910
1910
  "error-msg": e.hasFeedback ? r.value[v.binding] : ""
1911
1911
  }, {
1912
- default: M(() => [
1912
+ default: I(() => [
1913
1913
  v.type === "input" ? (m(), C(u(ut), pe({
1914
1914
  key: 0,
1915
1915
  ref_for: !0
@@ -1930,7 +1930,7 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
1930
1930
  value: e.formData[v.binding],
1931
1931
  "onUpdate:value": (x) => e.formData[v.binding] = x,
1932
1932
  onChange: (x) => f(v.binding, "change", v.rule)
1933
- }), null, 16, ["name", "value", "onUpdate:value", "onChange"])) : v.type === "radio" ? (m(), C(u(vo), pe({
1933
+ }), null, 16, ["name", "value", "onUpdate:value", "onChange"])) : v.type === "radio" ? (m(), C(u(ho), pe({
1934
1934
  key: 2,
1935
1935
  ref_for: !0
1936
1936
  }, v.props, {
@@ -1938,7 +1938,7 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
1938
1938
  value: e.formData[v.binding],
1939
1939
  "onUpdate:value": (x) => e.formData[v.binding] = x,
1940
1940
  onChange: (x) => f(v.binding, "change", v.rule)
1941
- }), null, 16, ["name", "value", "onUpdate:value", "onChange"])) : v.type === "switch" ? (m(), C(u(wo), pe({
1941
+ }), null, 16, ["name", "value", "onUpdate:value", "onChange"])) : v.type === "switch" ? (m(), C(u(Co), pe({
1942
1942
  key: 3,
1943
1943
  ref_for: !0
1944
1944
  }, v.props, {
@@ -1962,7 +1962,7 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
1962
1962
  }, dn = ["srcset", "media", "type"], fn = ["crossorigin", "alt", "src"], pn = {
1963
1963
  key: 2,
1964
1964
  class: "sq-image-error"
1965
- }, vn = "sq-image", mn = /* @__PURE__ */ T({
1965
+ }, vn = "sq-image", mn = /* @__PURE__ */ z({
1966
1966
  name: vn,
1967
1967
  __name: "image",
1968
1968
  props: {
@@ -1978,13 +1978,13 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
1978
1978
  },
1979
1979
  emits: ["load", "error"],
1980
1980
  setup(d, { emit: o }) {
1981
- const n = new IntersectionObserver(w), t = o, s = d, e = z(!1), r = z(s.src), c = z(!1), a = z(!1), l = z(!1), i = re(null), p = b(() => e.value && !c.value), g = b(() => ({
1981
+ const n = new IntersectionObserver(w), t = o, s = d, e = T(!1), r = T(s.src), c = T(!1), a = T(!1), l = T(!1), i = re(null), p = b(() => e.value && !c.value), g = b(() => ({
1982
1982
  height: p.value ? void 0 : "var(--image-placeholder-height)",
1983
1983
  aspectRatio: p.value ? void 0 : s.aspectRatio
1984
1984
  }));
1985
1985
  ie(() => {
1986
1986
  n.observe(i.value);
1987
- }), ge(() => {
1987
+ }), be(() => {
1988
1988
  n.disconnect();
1989
1989
  });
1990
1990
  function h(D) {
@@ -2005,13 +2005,13 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2005
2005
  }
2006
2006
  return (D, P) => (m(), $("div", {
2007
2007
  class: "sq-image",
2008
- style: X(g.value),
2008
+ style: Y(g.value),
2009
2009
  ref_key: "imgRef",
2010
2010
  ref: i
2011
2011
  }, [
2012
- S(he, { name: "sq-fade" }, {
2013
- default: M(() => [
2014
- e.value ? L("", !0) : (m(), $("div", un))
2012
+ S(ge, { name: "sq-fade" }, {
2013
+ default: I(() => [
2014
+ e.value ? M("", !0) : (m(), $("div", un))
2015
2015
  ]),
2016
2016
  _: 1
2017
2017
  }),
@@ -2022,36 +2022,36 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2022
2022
  media: O.media,
2023
2023
  type: O.type
2024
2024
  }, null, 8, dn))), 128)),
2025
- I("img", {
2026
- style: X({ objectFit: s.objectFit }),
2025
+ L("img", {
2026
+ style: Y({ objectFit: s.objectFit }),
2027
2027
  crossorigin: s.crossorigin,
2028
2028
  alt: s.alt,
2029
2029
  src: r.value,
2030
2030
  onLoad: h,
2031
2031
  onError: f
2032
2032
  }, null, 44, fn)
2033
- ])) : L("", !0),
2033
+ ])) : M("", !0),
2034
2034
  !c.value && a.value && s.preview ? (m(), $("div", {
2035
2035
  key: 1,
2036
2036
  class: "sq-image-control",
2037
2037
  onClick: B
2038
2038
  }, [
2039
2039
  S(u(st))
2040
- ])) : L("", !0),
2040
+ ])) : M("", !0),
2041
2041
  c.value ? (m(), $("div", pn, [
2042
2042
  N(D.$slots, "error", {}, () => [
2043
- P[1] || (P[1] = I("span", null, "图片加载失败", -1))
2043
+ P[1] || (P[1] = L("span", null, "图片加载失败", -1))
2044
2044
  ])
2045
- ])) : L("", !0),
2045
+ ])) : M("", !0),
2046
2046
  s.preview ? (m(), C(u(bn), {
2047
2047
  key: 3,
2048
2048
  "src-list": [r.value],
2049
2049
  visible: l.value,
2050
2050
  "onUpdate:visible": P[0] || (P[0] = (O) => l.value = O)
2051
- }, null, 8, ["src-list", "visible"])) : L("", !0)
2051
+ }, null, 8, ["src-list", "visible"])) : M("", !0)
2052
2052
  ], 4));
2053
2053
  }
2054
- }), hn = ["src"], gn = "sq-image-viewer", bn = /* @__PURE__ */ T({
2054
+ }), hn = ["src"], gn = "sq-image-viewer", bn = /* @__PURE__ */ z({
2055
2055
  name: gn,
2056
2056
  __name: "image-viewer",
2057
2057
  props: /* @__PURE__ */ Z({
@@ -2072,7 +2072,7 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2072
2072
  setup(d) {
2073
2073
  const o = {}, n = {};
2074
2074
  let t = !1, s;
2075
- const e = d, r = z(1), c = z(!1), a = z(!1), l = z(0), i = z(0), p = z(!0), g = z({ x: 0, y: 0 }), h = le(d, "visible"), f = b(() => e.srcList[i.value]), w = b(() => {
2075
+ const e = d, r = T(1), c = T(!1), a = T(!1), l = T(0), i = T(0), p = T(!0), g = T({ x: 0, y: 0 }), h = le(d, "visible"), f = b(() => e.srcList[i.value]), w = b(() => {
2076
2076
  const q = c.value ? -1 : 1, E = a.value ? -1 : 1;
2077
2077
  return {
2078
2078
  transform: [
@@ -2168,50 +2168,50 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2168
2168
  onTouchend: K,
2169
2169
  onClosed: ee
2170
2170
  }, {
2171
- default: M(() => [
2172
- I("img", {
2173
- style: X(w.value),
2171
+ default: I(() => [
2172
+ L("img", {
2173
+ style: Y(w.value),
2174
2174
  src: f.value,
2175
- onClick: E[0] || (E[0] = me(() => {
2175
+ onClick: E[0] || (E[0] = he(() => {
2176
2176
  }, ["stop"])),
2177
2177
  onLoad: F,
2178
- onMousedown: me(D, ["prevent"]),
2178
+ onMousedown: he(D, ["prevent"]),
2179
2179
  onTouchstartPassive: V
2180
2180
  }, null, 44, hn),
2181
- S(u(j), {
2181
+ S(u(X), {
2182
2182
  class: "sq-image-viewer-close",
2183
2183
  round: "",
2184
2184
  icon: u(Oe),
2185
- onClick: me(A, ["stop"])
2185
+ onClick: he(A, ["stop"])
2186
2186
  }, null, 8, ["icon"]),
2187
2187
  e.srcList.length > 1 ? (m(), $(ne, { key: 0 }, [
2188
- S(u(j), {
2188
+ S(u(X), {
2189
2189
  class: "sq-image-viewer-prev",
2190
2190
  round: "",
2191
2191
  icon: u(nt),
2192
2192
  disabled: i.value === 0,
2193
2193
  onClick: E[1] || (E[1] = (W) => J(-1))
2194
2194
  }, null, 8, ["icon", "disabled"]),
2195
- S(u(j), {
2195
+ S(u(X), {
2196
2196
  class: "sq-image-viewer-next",
2197
2197
  round: "",
2198
2198
  icon: u(ot),
2199
2199
  disabled: i.value === e.srcList.length - 1,
2200
2200
  onClick: E[2] || (E[2] = (W) => J(1))
2201
2201
  }, null, 8, ["icon", "disabled"])
2202
- ], 64)) : L("", !0),
2202
+ ], 64)) : M("", !0),
2203
2203
  e.toolbar ? (m(), $("div", {
2204
2204
  key: 1,
2205
2205
  class: "sq-image-viewer-toolbar",
2206
- onClick: E[5] || (E[5] = me(() => {
2206
+ onClick: E[5] || (E[5] = he(() => {
2207
2207
  }, ["stop"]))
2208
2208
  }, [
2209
2209
  S(u(ae), {
2210
2210
  tip: "放大",
2211
2211
  shadow: !1
2212
2212
  }, {
2213
- default: M(() => [
2214
- S(u(j), {
2213
+ default: I(() => [
2214
+ S(u(X), {
2215
2215
  text: "",
2216
2216
  icon: u(Bt),
2217
2217
  disabled: r.value >= e.maxScale,
@@ -2224,8 +2224,8 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2224
2224
  tip: "缩小",
2225
2225
  shadow: !1
2226
2226
  }, {
2227
- default: M(() => [
2228
- S(u(j), {
2227
+ default: I(() => [
2228
+ S(u(X), {
2229
2229
  text: "",
2230
2230
  icon: u(zt),
2231
2231
  disabled: r.value <= e.minScale,
@@ -2239,8 +2239,8 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2239
2239
  tip: "水平翻转",
2240
2240
  shadow: !1
2241
2241
  }, {
2242
- default: M(() => [
2243
- S(u(j), {
2242
+ default: I(() => [
2243
+ S(u(X), {
2244
2244
  text: "",
2245
2245
  icon: u(Tt),
2246
2246
  onClick: R
@@ -2252,8 +2252,8 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2252
2252
  tip: "垂直翻转",
2253
2253
  shadow: !1
2254
2254
  }, {
2255
- default: M(() => [
2256
- S(u(j), {
2255
+ default: I(() => [
2256
+ S(u(X), {
2257
2257
  text: "",
2258
2258
  icon: u(Rt),
2259
2259
  onClick: Q
@@ -2266,8 +2266,8 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2266
2266
  tip: "顺时针旋转",
2267
2267
  shadow: !1
2268
2268
  }, {
2269
- default: M(() => [
2270
- S(u(j), {
2269
+ default: I(() => [
2270
+ S(u(X), {
2271
2271
  text: "",
2272
2272
  icon: u(Lt),
2273
2273
  onClick: E[3] || (E[3] = (W) => G(90))
@@ -2279,8 +2279,8 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2279
2279
  tip: "逆时针旋转",
2280
2280
  shadow: !1
2281
2281
  }, {
2282
- default: M(() => [
2283
- S(u(j), {
2282
+ default: I(() => [
2283
+ S(u(X), {
2284
2284
  text: "",
2285
2285
  icon: u(It),
2286
2286
  onClick: E[4] || (E[4] = (W) => G(-90))
@@ -2293,8 +2293,8 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2293
2293
  tip: "原始大小",
2294
2294
  shadow: !1
2295
2295
  }, {
2296
- default: M(() => [
2297
- S(u(j), {
2296
+ default: I(() => [
2297
+ S(u(X), {
2298
2298
  text: "",
2299
2299
  icon: u(Mt),
2300
2300
  onClick: x
@@ -2306,8 +2306,8 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2306
2306
  tip: "全屏",
2307
2307
  shadow: !1
2308
2308
  }, {
2309
- default: M(() => [
2310
- S(u(j), {
2309
+ default: I(() => [
2310
+ S(u(X), {
2311
2311
  text: "",
2312
2312
  icon: u(Et),
2313
2313
  onClick: y
@@ -2315,12 +2315,12 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2315
2315
  ]),
2316
2316
  _: 1
2317
2317
  })
2318
- ])) : L("", !0)
2318
+ ])) : M("", !0)
2319
2319
  ]),
2320
2320
  _: 1
2321
2321
  }, 8, ["visible", "keyboard", "mask-closeable"]));
2322
2322
  }
2323
- }), yn = ["src"], xn = "sq-image-crop", Ie = 5, aa = /* @__PURE__ */ T({
2323
+ }), yn = ["src"], xn = "sq-image-crop", Ie = 5, ia = /* @__PURE__ */ z({
2324
2324
  name: xn,
2325
2325
  __name: "image-crop",
2326
2326
  props: {
@@ -2330,14 +2330,14 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2330
2330
  setup(d, { expose: o }) {
2331
2331
  const n = {};
2332
2332
  let t = 0, s, e = !1, r;
2333
- const c = d, a = z(1), l = z({ x: 0, y: 0 }), i = re(null), p = re(null), g = b(() => ({
2333
+ const c = d, a = T(1), l = T({ x: 0, y: 0 }), i = re(null), p = re(null), g = b(() => ({
2334
2334
  transform: `scale(${a.value})`,
2335
2335
  marginInlineStart: `${l.value.x}px`,
2336
2336
  marginBlockStart: `${l.value.y}px`
2337
2337
  }));
2338
2338
  ie(() => {
2339
2339
  document.addEventListener("mousemove", D), document.addEventListener("mouseup", B);
2340
- }), ge(() => {
2340
+ }), be(() => {
2341
2341
  document.removeEventListener("mousemove", D), document.removeEventListener("mouseup", B);
2342
2342
  });
2343
2343
  function h(_) {
@@ -2422,33 +2422,33 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2422
2422
  }
2423
2423
  return o({ cropImageAsync: k }), (_, v) => (m(), $("div", {
2424
2424
  class: "sq-image-crop",
2425
- style: X({ "--image-crop-ratio": c.aspectRatio }),
2425
+ style: Y({ "--image-crop-ratio": c.aspectRatio }),
2426
2426
  onWheelPassive: f,
2427
- onMousedown: me(w, ["prevent"]),
2427
+ onMousedown: he(w, ["prevent"]),
2428
2428
  onTouchstartPassive: P,
2429
2429
  onTouchmovePassive: V,
2430
2430
  onTouchend: O
2431
2431
  }, [
2432
- I("div", {
2432
+ L("div", {
2433
2433
  class: "sq-image-crop-cropper",
2434
- style: X(`${c.aspectRatio > 1 ? "width" : "height"}: 100%`),
2434
+ style: Y(`${c.aspectRatio > 1 ? "width" : "height"}: 100%`),
2435
2435
  ref_key: "cropperRef",
2436
2436
  ref: i
2437
2437
  }, null, 4),
2438
2438
  c.src ? (m(), $("img", {
2439
2439
  key: 0,
2440
- style: X(g.value),
2440
+ style: Y(g.value),
2441
2441
  ref_key: "imgRef",
2442
2442
  ref: p,
2443
2443
  src: c.src,
2444
2444
  onLoad: h
2445
- }, null, 44, yn)) : L("", !0)
2445
+ }, null, 44, yn)) : M("", !0)
2446
2446
  ], 36));
2447
2447
  }
2448
2448
  }), _n = {
2449
2449
  key: 0,
2450
2450
  class: "sq-input-prefix"
2451
- }, $n = ["id", "disabled", "readonly", "placeholder", "type", "maxlength", "minlength", "autocomplete", "name", "autofocus", "form", "inputmode"], kn = ["id", "disabled", "readonly", "placeholder", "type", "maxlength", "minlength", "autocomplete", "name", "autofocus", "form", "inputmode", "rows", "cols"], wn = { class: "sq-input-suffix" }, qn = "sq-input", ut = /* @__PURE__ */ T({
2451
+ }, $n = ["id", "disabled", "readonly", "placeholder", "type", "maxlength", "minlength", "autocomplete", "name", "autofocus", "form", "inputmode"], kn = ["id", "disabled", "readonly", "placeholder", "type", "maxlength", "minlength", "autocomplete", "name", "autofocus", "form", "inputmode", "rows", "cols"], wn = { class: "sq-input-suffix" }, qn = "sq-input", ut = /* @__PURE__ */ z({
2452
2452
  name: qn,
2453
2453
  __name: "input",
2454
2454
  props: /* @__PURE__ */ Z({
@@ -2479,7 +2479,7 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2479
2479
  }),
2480
2480
  emits: /* @__PURE__ */ Z(["focus", "blur", "input", "change"], ["update:value"]),
2481
2481
  setup(d, { expose: o, emit: n }) {
2482
- const t = Be(), s = n, e = d, { inputSize: r, inputRound: c, inputDisabled: a, inputReadonly: l, id: i } = ds(e), p = le(d, "value"), g = z(!1), h = z(!1), f = re(null), w = b(() => {
2482
+ const t = Be(), s = n, e = d, { inputSize: r, inputRound: c, inputDisabled: a, inputReadonly: l, id: i } = ds(e), p = le(d, "value"), g = T(!1), h = T(!1), f = re(null), w = b(() => {
2483
2483
  const A = [], F = u(r), q = u(c), E = u(J);
2484
2484
  return F !== "md" && A.push(`sq-input--${F}`), e.status && A.push(`is-${e.status}`), q && A.push("is-round"), E && A.push("is-disabled"), A;
2485
2485
  }), B = b(() => u(h) ? tt : st), D = b(() => u(h) ? "text" : e.type), P = b(() => t.prefix || e.prefixIcon), O = b(() => u(g) && u(p).length), V = b(
@@ -2521,7 +2521,7 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2521
2521
  N(A.$slots, "prefix", {}, () => [
2522
2522
  (m(), C(ue(e.prefixIcon)))
2523
2523
  ])
2524
- ])) : L("", !0),
2524
+ ])) : M("", !0),
2525
2525
  e.type !== "textarea" ? oe((m(), $("input", {
2526
2526
  key: 1,
2527
2527
  class: "sq-input-inner",
@@ -2549,7 +2549,7 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2549
2549
  ]) : oe((m(), $("textarea", {
2550
2550
  key: 2,
2551
2551
  class: "sq-input-inner",
2552
- style: X({ resize: k.value }),
2552
+ style: Y({ resize: k.value }),
2553
2553
  "onUpdate:modelValue": F[3] || (F[3] = (q) => p.value = q),
2554
2554
  id: u(i),
2555
2555
  disabled: J.value,
@@ -2574,26 +2574,26 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2574
2574
  }, null, 44, kn)), [
2575
2575
  [mt, p.value]
2576
2576
  ]),
2577
- oe(I("span", wn, [
2577
+ oe(L("span", wn, [
2578
2578
  V.value ? (m(), C(ue(B.value), {
2579
2579
  key: 0,
2580
2580
  class: "sq-input-suffix-pwd",
2581
2581
  onMousedown: R
2582
- }, null, 32)) : L("", !0),
2582
+ }, null, 32)) : M("", !0),
2583
2583
  K.value ? (m(), C(u(Oe), {
2584
2584
  key: 1,
2585
2585
  class: "sq-input-suffix-clear",
2586
2586
  onMousedown: x
2587
- })) : L("", !0),
2587
+ })) : M("", !0),
2588
2588
  N(A.$slots, "suffix", {}, () => [
2589
- H.value ? (m(), C(ue(H.value), { key: 0 })) : L("", !0)
2589
+ H.value ? (m(), C(ue(H.value), { key: 0 })) : M("", !0)
2590
2590
  ])
2591
2591
  ], 512), [
2592
2592
  [ve, ee.value]
2593
2593
  ])
2594
2594
  ], 34));
2595
2595
  }
2596
- }), Cn = ["onClick"], Sn = ["textContent"], Bn = ["onClick"], zn = ["textContent"], Tn = "sq-menu", la = /* @__PURE__ */ T({
2596
+ }), Cn = ["onClick"], Sn = ["textContent"], Bn = ["onClick"], zn = ["textContent"], Tn = "sq-menu", ra = /* @__PURE__ */ z({
2597
2597
  name: Tn,
2598
2598
  __name: "menu",
2599
2599
  props: /* @__PURE__ */ Z({
@@ -2624,15 +2624,15 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2624
2624
  to: { name: i.value },
2625
2625
  key: i.value
2626
2626
  }, {
2627
- default: M(({ navigate: p, isActive: g }) => [
2628
- I("li", {
2627
+ default: I(({ navigate: p, isActive: g }) => [
2628
+ L("li", {
2629
2629
  class: U(["sq-menu-item", { "is-active": g, "is-disabled": i.disabled }]),
2630
2630
  onClick: (h) => r(i, p)
2631
2631
  }, [
2632
2632
  N(a.$slots, "default", pe({ ref_for: !0 }, i), () => [
2633
- i.icon ? (m(), C(ue(i.icon), { key: 0 })) : L("", !0),
2634
- I("span", {
2635
- textContent: Y(i.text)
2633
+ i.icon ? (m(), C(ue(i.icon), { key: 0 })) : M("", !0),
2634
+ L("span", {
2635
+ textContent: j(i.text)
2636
2636
  }, null, 8, Sn),
2637
2637
  t.direction === "vertical" ? oe((m(), C(u(Xe), {
2638
2638
  key: 1,
@@ -2641,7 +2641,7 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2641
2641
  type: "primary"
2642
2642
  }, null, 512)), [
2643
2643
  [ve, g]
2644
- ]) : L("", !0)
2644
+ ]) : M("", !0)
2645
2645
  ])
2646
2646
  ], 10, Cn)
2647
2647
  ]),
@@ -2655,9 +2655,9 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2655
2655
  onClick: (p) => c(i, p)
2656
2656
  }, [
2657
2657
  N(a.$slots, "default", pe({ ref_for: !0 }, i), () => [
2658
- i.icon ? (m(), C(ue(i.icon), { key: 0 })) : L("", !0),
2659
- I("span", {
2660
- textContent: Y(i.text)
2658
+ i.icon ? (m(), C(ue(i.icon), { key: 0 })) : M("", !0),
2659
+ L("span", {
2660
+ textContent: j(i.text)
2661
2661
  }, null, 8, zn),
2662
2662
  t.direction === "vertical" ? oe((m(), C(u(Xe), {
2663
2663
  key: 1,
@@ -2666,12 +2666,12 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2666
2666
  type: "primary"
2667
2667
  }, null, 512)), [
2668
2668
  [ve, s.value === i.value]
2669
- ]) : L("", !0)
2669
+ ]) : M("", !0)
2670
2670
  ])
2671
2671
  ], 10, Bn))), 128))
2672
2672
  ], 2));
2673
2673
  }
2674
- }), Rn = ["id"], Ln = ["textContent"], In = "sq-message", Mn = /* @__PURE__ */ T({
2674
+ }), Rn = ["id"], Ln = ["textContent"], In = "sq-message", Mn = /* @__PURE__ */ z({
2675
2675
  name: In,
2676
2676
  __name: "message",
2677
2677
  props: {
@@ -2684,34 +2684,34 @@ ${W}${E}`, ee(y.target), v(e.value, ye, ye);
2684
2684
  id: {}
2685
2685
  },
2686
2686
  setup(d, { expose: o }) {
2687
- const n = d, t = z(!0), s = b(() => n.type ? Pe[n.type] : void 0);
2687
+ const n = d, t = T(!0), s = b(() => n.type ? Pe[n.type] : void 0);
2688
2688
  ie(() => {
2689
2689
  setTimeout(e, n.closeAfter);
2690
2690
  });
2691
2691
  function e() {
2692
2692
  t.value = !1;
2693
2693
  }
2694
- return o({ close: e }), (r, c) => (m(), C(he, {
2694
+ return o({ close: e }), (r, c) => (m(), C(ge, {
2695
2695
  appear: "",
2696
2696
  name: "sq-zoom-top",
2697
2697
  onBeforeLeave: n.onClose,
2698
2698
  onAfterLeave: n.onDestroy
2699
2699
  }, {
2700
- default: M(() => [
2701
- oe(I("div", {
2700
+ default: I(() => [
2701
+ oe(L("div", {
2702
2702
  class: U(["sq-message", `is-${n.type}`]),
2703
2703
  id: n.id,
2704
- style: X({ top: `${n.offsetTop}px` })
2704
+ style: Y({ top: `${n.offsetTop}px` })
2705
2705
  }, [
2706
- S(u(be), { class: "sq-message-inner" }, {
2707
- default: M(() => [
2706
+ S(u(me), { class: "sq-message-inner" }, {
2707
+ default: I(() => [
2708
2708
  n.type && s.value ? (m(), C(ue(s.value), {
2709
2709
  key: 0,
2710
2710
  class: "sq-message-icon"
2711
- })) : L("", !0),
2712
- I("div", {
2711
+ })) : M("", !0),
2712
+ L("div", {
2713
2713
  class: "sq-message-content",
2714
- textContent: Y(n.message)
2714
+ textContent: j(n.message)
2715
2715
  }, null, 8, Ln)
2716
2716
  ]),
2717
2717
  _: 1
@@ -2772,7 +2772,7 @@ Dn.forEach((d) => {
2772
2772
  message: o
2773
2773
  }), Ae({ ...o, type: d }));
2774
2774
  });
2775
- const ia = Ae, Pn = ["textContent"], Nn = "sq-message-box", Fn = /* @__PURE__ */ T({
2775
+ const ua = Ae, Pn = ["textContent"], Nn = "sq-message-box", Fn = /* @__PURE__ */ z({
2776
2776
  name: Nn,
2777
2777
  __name: "message-box",
2778
2778
  props: {
@@ -2788,7 +2788,7 @@ const ia = Ae, Pn = ["textContent"], Nn = "sq-message-box", Fn = /* @__PURE__ */
2788
2788
  beforeClose: {}
2789
2789
  },
2790
2790
  setup(d, { expose: o }) {
2791
- const n = d, t = z(!1);
2791
+ const n = d, t = T(!1);
2792
2792
  ie(() => {
2793
2793
  t.value = !0;
2794
2794
  });
@@ -2808,9 +2808,9 @@ const ia = Ae, Pn = ["textContent"], Nn = "sq-message-box", Fn = /* @__PURE__ */
2808
2808
  onOk: n.onOk,
2809
2809
  onClosed: n.onDestroy
2810
2810
  }, {
2811
- default: M(() => [
2812
- I("span", {
2813
- textContent: Y(n.message)
2811
+ default: I(() => [
2812
+ L("span", {
2813
+ textContent: j(n.message)
2814
2814
  }, null, 8, Pn)
2815
2815
  ]),
2816
2816
  _: 1
@@ -2834,9 +2834,9 @@ const ia = Ae, Pn = ["textContent"], Nn = "sq-message-box", Fn = /* @__PURE__ */
2834
2834
  (r = (e = s.component) == null ? void 0 : e.exposed) == null || r.close();
2835
2835
  }
2836
2836
  };
2837
- }, ra = {
2837
+ }, ca = {
2838
2838
  confirm: (d, o) => Un(d, { title: "警告", ...o ?? {} })
2839
- }, Vn = "sq-pagination-prev", Hn = /* @__PURE__ */ T({
2839
+ }, Vn = "sq-pagination-prev", Hn = /* @__PURE__ */ z({
2840
2840
  name: Vn,
2841
2841
  __name: "pagination-prev",
2842
2842
  props: /* @__PURE__ */ Z({
@@ -2852,14 +2852,14 @@ const ia = Ae, Pn = ["textContent"], Nn = "sq-message-box", Fn = /* @__PURE__ */
2852
2852
  const o = d, n = le(d, "current"), t = (s) => {
2853
2853
  n.value += s;
2854
2854
  };
2855
- return (s, e) => (m(), C(u(j), {
2855
+ return (s, e) => (m(), C(u(X), {
2856
2856
  icon: u(nt),
2857
2857
  size: o.size,
2858
2858
  disabled: n.value === 1 || o.disabled,
2859
2859
  onClick: e[0] || (e[0] = (r) => t(-1))
2860
2860
  }, null, 8, ["icon", "size", "disabled"]));
2861
2861
  }
2862
- }), Wn = "sq-pagination-next", jn = /* @__PURE__ */ T({
2862
+ }), Wn = "sq-pagination-next", jn = /* @__PURE__ */ z({
2863
2863
  name: Wn,
2864
2864
  __name: "pagination-next",
2865
2865
  props: /* @__PURE__ */ Z({
@@ -2875,14 +2875,14 @@ const ia = Ae, Pn = ["textContent"], Nn = "sq-message-box", Fn = /* @__PURE__ */
2875
2875
  const o = d, n = le(d, "current"), t = (s) => {
2876
2876
  n.value += s;
2877
2877
  };
2878
- return (s, e) => (m(), C(u(j), {
2878
+ return (s, e) => (m(), C(u(X), {
2879
2879
  icon: u(ot),
2880
2880
  size: o.size,
2881
2881
  disabled: n.value === o.maxPage || o.disabled,
2882
2882
  onClick: e[0] || (e[0] = (r) => t(1))
2883
2883
  }, null, 8, ["icon", "size", "disabled"]));
2884
2884
  }
2885
- }), Xn = { class: "sq-pagination-pager" }, Yn = "sq-pagination-pager", Kn = /* @__PURE__ */ T({
2885
+ }), Xn = { class: "sq-pagination-pager" }, Yn = "sq-pagination-pager", Kn = /* @__PURE__ */ z({
2886
2886
  name: Yn,
2887
2887
  __name: "pagination-pager",
2888
2888
  props: /* @__PURE__ */ Z({
@@ -2900,18 +2900,18 @@ const ia = Ae, Pn = ["textContent"], Nn = "sq-message-box", Fn = /* @__PURE__ */
2900
2900
  };
2901
2901
  return (s, e) => (m(), $("div", Xn, [
2902
2902
  (m(!0), $(ne, null, de(o.list, (r) => (m(), $(ne, { key: r }, [
2903
- r ? (m(), C(u(j), {
2903
+ r ? (m(), C(u(X), {
2904
2904
  key: 0,
2905
2905
  type: n.value === r ? "primary" : void 0,
2906
2906
  size: o.size,
2907
2907
  disabled: o.disabled,
2908
2908
  onClick: (c) => t(r)
2909
2909
  }, {
2910
- default: M(() => [
2911
- Se(Y(r), 1)
2910
+ default: I(() => [
2911
+ Se(j(r), 1)
2912
2912
  ]),
2913
2913
  _: 2
2914
- }, 1032, ["type", "size", "disabled", "onClick"])) : (m(), C(u(j), {
2914
+ }, 1032, ["type", "size", "disabled", "onClick"])) : (m(), C(u(X), {
2915
2915
  key: 1,
2916
2916
  icon: u(At),
2917
2917
  size: o.size,
@@ -2920,8 +2920,26 @@ const ia = Ae, Pn = ["textContent"], Nn = "sq-message-box", Fn = /* @__PURE__ */
2920
2920
  ], 64))), 128))
2921
2921
  ]));
2922
2922
  }
2923
- }), Gn = { class: "sq-pagination" }, Zn = "sq-pagination", ua = /* @__PURE__ */ T({
2924
- name: Zn,
2923
+ }), Gn = "sq-pagination-next", Zn = /* @__PURE__ */ z({
2924
+ name: Gn,
2925
+ __name: "pagination-total",
2926
+ props: {
2927
+ size: {},
2928
+ total: {}
2929
+ },
2930
+ setup(d) {
2931
+ const o = d;
2932
+ return (n, t) => (m(), C(u(me), {
2933
+ size: o.size === "sm" ? "sm" : "md"
2934
+ }, {
2935
+ default: I(() => [
2936
+ L("span", null, "共 " + j(o.total) + " 条", 1)
2937
+ ]),
2938
+ _: 1
2939
+ }, 8, ["size"]));
2940
+ }
2941
+ }), Jn = { class: "sq-pagination" }, Qn = "sq-pagination", da = /* @__PURE__ */ z({
2942
+ name: Qn,
2925
2943
  __name: "pagination",
2926
2944
  props: /* @__PURE__ */ Z({
2927
2945
  total: { default: 0 },
@@ -2957,23 +2975,27 @@ const ia = Ae, Pn = ["textContent"], Nn = "sq-message-box", Fn = /* @__PURE__ */
2957
2975
  case "next":
2958
2976
  a.push(jn);
2959
2977
  break;
2978
+ case "total":
2979
+ a.push(Zn);
2980
+ break;
2960
2981
  }
2961
2982
  return a;
2962
2983
  });
2963
- return (c, a) => (m(), $("div", Gn, [
2984
+ return (c, a) => (m(), $("div", Jn, [
2964
2985
  (m(!0), $(ne, null, de(r.value, (l, i) => (m(), C(ue(l), {
2965
2986
  key: i,
2966
2987
  size: o.size,
2967
2988
  disabled: o.disabled,
2968
2989
  list: e.value,
2969
2990
  "max-page": s.value,
2991
+ total: o.total,
2970
2992
  current: n.value,
2971
2993
  "onUpdate:current": a[0] || (a[0] = (p) => n.value = p)
2972
- }, null, 40, ["size", "disabled", "list", "max-page", "current"]))), 128))
2994
+ }, null, 40, ["size", "disabled", "list", "max-page", "total", "current"]))), 128))
2973
2995
  ]));
2974
2996
  }
2975
- }), Jn = "sq-only-child", Qn = /* @__PURE__ */ T({
2976
- name: Jn,
2997
+ }), eo = "sq-only-child", to = /* @__PURE__ */ z({
2998
+ name: eo,
2977
2999
  setup(d, {
2978
3000
  slots: o,
2979
3001
  attrs: n
@@ -3008,8 +3030,8 @@ function ct(d) {
3008
3030
  function Ye(d) {
3009
3031
  return S("span", null, [d]);
3010
3032
  }
3011
- const eo = "sq-popover", to = /* @__PURE__ */ T({
3012
- name: eo,
3033
+ const so = "sq-popover", no = /* @__PURE__ */ z({
3034
+ name: so,
3013
3035
  __name: "popover",
3014
3036
  props: /* @__PURE__ */ Z({
3015
3037
  placement: { default: "top" },
@@ -3030,7 +3052,7 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3030
3052
  setup(d) {
3031
3053
  const { getCssVar: o } = Ne(), { nextZIndex: n } = Fe(), t = De(), s = parseInt(o("--sq-padding-sm")), e = parseInt(o("--sq-padding-md"));
3032
3054
  let r, c;
3033
- const a = d, l = le(d, "visible"), i = z(0), p = z({}), g = re(null), h = re(null), f = b(() => {
3055
+ const a = d, l = le(d, "visible"), i = T(0), p = T({}), g = re(null), h = re(null), f = b(() => {
3034
3056
  const H = [];
3035
3057
  return a.shadow && H.push("has-shadow"), H.push(a.popoverClass), [H];
3036
3058
  });
@@ -3042,7 +3064,7 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3042
3064
  )) : c == null || c();
3043
3065
  }), ie(() => {
3044
3066
  V();
3045
- }), ge(() => {
3067
+ }), be(() => {
3046
3068
  K(), document.removeEventListener("click", O);
3047
3069
  });
3048
3070
  function w() {
@@ -3085,16 +3107,16 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3085
3107
  r && (clearTimeout(r), r = void 0);
3086
3108
  }
3087
3109
  return (H, ee) => (m(), $(ne, null, [
3088
- S(u(Qn), {
3110
+ S(u(to), {
3089
3111
  class: U(["sq-popover-trigger", u(t).class]),
3090
- style: X(u(t).style),
3112
+ style: Y(u(t).style),
3091
3113
  ref_key: "triggerRef",
3092
3114
  ref: g,
3093
3115
  onMouseenter: w,
3094
3116
  onMouseleave: B,
3095
3117
  onClick: D
3096
3118
  }, {
3097
- default: M(() => [
3119
+ default: I(() => [
3098
3120
  N(H.$slots, "reference")
3099
3121
  ]),
3100
3122
  _: 3
@@ -3103,16 +3125,16 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3103
3125
  to: "body",
3104
3126
  disabled: !a.teleported
3105
3127
  }, [
3106
- S(he, {
3128
+ S(ge, {
3107
3129
  name: a.transition
3108
3130
  }, {
3109
- default: M(() => [
3110
- oe(I("div", {
3131
+ default: I(() => [
3132
+ oe(L("div", {
3111
3133
  class: U(["sq-popover", f.value]),
3112
- style: X({ ...p.value, zIndex: i.value }),
3134
+ style: Y({ ...p.value, zIndex: i.value }),
3113
3135
  ref_key: "popverRef",
3114
3136
  ref: h,
3115
- onClick: ee[0] || (ee[0] = me(() => {
3137
+ onClick: ee[0] || (ee[0] = he(() => {
3116
3138
  }, ["stop"]))
3117
3139
  }, [
3118
3140
  N(H.$slots, "default")
@@ -3125,11 +3147,11 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3125
3147
  ], 8, ["disabled"]))
3126
3148
  ], 64));
3127
3149
  }
3128
- }), so = {
3150
+ }), oo = {
3129
3151
  key: 0,
3130
3152
  class: "sq-progress-label"
3131
- }, no = ["textContent"], oo = "sq-progress", ao = /* @__PURE__ */ T({
3132
- name: oo,
3153
+ }, ao = ["textContent"], lo = "sq-progress", io = /* @__PURE__ */ z({
3154
+ name: lo,
3133
3155
  __name: "progress",
3134
3156
  props: {
3135
3157
  value: {},
@@ -3142,7 +3164,7 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3142
3164
  label: { type: Boolean, default: !0 }
3143
3165
  },
3144
3166
  setup(d) {
3145
- const o = new ResizeObserver(l), n = d, t = z(100), s = re(null), e = b(() => {
3167
+ const o = new ResizeObserver(l), n = d, t = T(100), s = re(null), e = b(() => {
3146
3168
  const i = [];
3147
3169
  return n.color || i.push(`is-${n.type}`), n.variant && i.push(`is-${n.variant}`), i;
3148
3170
  }), r = b(() => {
@@ -3164,7 +3186,7 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3164
3186
  });
3165
3187
  ie(() => {
3166
3188
  o.observe(s.value);
3167
- }), ge(() => {
3189
+ }), be(() => {
3168
3190
  o.disconnect();
3169
3191
  });
3170
3192
  function l() {
@@ -3174,40 +3196,40 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3174
3196
  class: U(["sq-progress", e.value]),
3175
3197
  ref_key: "progressRef",
3176
3198
  ref: s,
3177
- style: X(a.value)
3199
+ style: Y(a.value)
3178
3200
  }, [
3179
3201
  n.variant === "circle" ? (m(), $(ne, { key: 0 }, [
3180
- p[0] || (p[0] = I("svg", {
3202
+ p[0] || (p[0] = L("svg", {
3181
3203
  viewBox: "0 0 100 100",
3182
3204
  version: "1.1",
3183
3205
  xmlns: "http://www.w3.org/2000/svg"
3184
3206
  }, [
3185
- I("circle", {
3207
+ L("circle", {
3186
3208
  class: "sq-progress-track",
3187
3209
  cx: "50",
3188
3210
  cy: "50"
3189
3211
  }),
3190
- I("circle", {
3212
+ L("circle", {
3191
3213
  class: "sq-progress-path",
3192
3214
  cx: "50",
3193
3215
  cy: "50"
3194
3216
  })
3195
3217
  ], -1)),
3196
- n.label ? (m(), $("div", so, [
3218
+ n.label ? (m(), $("div", oo, [
3197
3219
  N(i.$slots, "default", { percentage: r.value }, () => [
3198
- I("span", {
3199
- textContent: Y(c.value)
3200
- }, null, 8, no)
3220
+ L("span", {
3221
+ textContent: j(c.value)
3222
+ }, null, 8, ao)
3201
3223
  ])
3202
- ])) : L("", !0)
3203
- ], 64)) : L("", !0)
3224
+ ])) : M("", !0)
3225
+ ], 64)) : M("", !0)
3204
3226
  ], 6));
3205
3227
  }
3206
- }), lo = ["autofocus", "name", "form", "value", "disabled"], io = {
3228
+ }), ro = ["autofocus", "name", "form", "value", "disabled"], uo = {
3207
3229
  key: 0,
3208
3230
  class: "sq-radio-box"
3209
- }, ro = ["textContent"], uo = "sq-radio", co = /* @__PURE__ */ T({
3210
- name: uo,
3231
+ }, co = ["textContent"], fo = "sq-radio", po = /* @__PURE__ */ z({
3232
+ name: fo,
3211
3233
  __name: "radio",
3212
3234
  props: /* @__PURE__ */ Z({
3213
3235
  form: {},
@@ -3231,7 +3253,7 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3231
3253
  radioName: c,
3232
3254
  radioVariant: a,
3233
3255
  groupContext: l
3234
- } = fs(t), i = z(), p = le(d, "checked"), g = b(() => {
3256
+ } = fs(t), i = T(), p = le(d, "checked"), g = b(() => {
3235
3257
  const f = [], w = u(s), B = u(e), D = u(a);
3236
3258
  return w !== "md" && f.push(`sq-selection--${w}`), h.value && f.push("is-checked"), B && f.push("is-disabled"), D && f.push(`is-${D}`), f;
3237
3259
  }), h = b(() => l ? u(l).checked === t.value : p.value);
@@ -3249,7 +3271,7 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3249
3271
  }), (f, w) => (m(), $("label", {
3250
3272
  class: U(["sq-selection sq-radio", g.value])
3251
3273
  }, [
3252
- oe(I("input", {
3274
+ oe(L("input", {
3253
3275
  type: "radio",
3254
3276
  autofocus: t.autofocus,
3255
3277
  name: u(c),
@@ -3258,19 +3280,19 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3258
3280
  disabled: u(e),
3259
3281
  "onUpdate:modelValue": w[0] || (w[0] = (B) => i.value = B),
3260
3282
  onChange: w[1] || (w[1] = (B) => n("change", h.value))
3261
- }, null, 40, lo), [
3283
+ }, null, 40, ro), [
3262
3284
  [Ze, i.value]
3263
3285
  ]),
3264
- u(a) !== "solid" ? (m(), $("span", io)) : L("", !0),
3286
+ u(a) !== "solid" ? (m(), $("span", uo)) : M("", !0),
3265
3287
  t.label ? (m(), $("span", {
3266
3288
  key: 1,
3267
3289
  class: "sq-selection-label",
3268
- textContent: Y(t.label)
3269
- }, null, 8, ro)) : L("", !0)
3290
+ textContent: j(t.label)
3291
+ }, null, 8, co)) : M("", !0)
3270
3292
  ], 2));
3271
3293
  }
3272
- }), fo = { class: "sq-radio-group sq-selection-group" }, po = "sq-radio-group", vo = /* @__PURE__ */ T({
3273
- name: po,
3294
+ }), vo = { class: "sq-radio-group sq-selection-group" }, mo = "sq-radio-group", ho = /* @__PURE__ */ z({
3295
+ name: mo,
3274
3296
  __name: "radio-group",
3275
3297
  props: {
3276
3298
  items: { default: () => [] },
@@ -3283,10 +3305,10 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3283
3305
  },
3284
3306
  emits: ["change", "update:value"],
3285
3307
  setup(d, { emit: o }) {
3286
- const { nextId: n } = Le(), t = o, s = d, e = z(s.value), r = b(() => s.name ?? `sq-radio-${n()}`);
3308
+ const { nextId: n } = Le(), t = o, s = d, e = T(s.value), r = b(() => s.name ?? `sq-radio-${n()}`);
3287
3309
  ke(
3288
3310
  dt,
3289
- z({
3311
+ T({
3290
3312
  form: se(s, "form"),
3291
3313
  name: r,
3292
3314
  disabled: se(s, "disabled"),
@@ -3304,9 +3326,9 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3304
3326
  function c(a) {
3305
3327
  e.value = a, t("change", e.value), t("update:value", e.value);
3306
3328
  }
3307
- return (a, l) => (m(), $("div", fo, [
3329
+ return (a, l) => (m(), $("div", vo, [
3308
3330
  N(a.$slots, "default", {}, () => [
3309
- (m(!0), $(ne, null, de(s.items, (i, p) => (m(), C(u(co), {
3331
+ (m(!0), $(ne, null, de(s.items, (i, p) => (m(), C(u(po), {
3310
3332
  key: p,
3311
3333
  label: i.toString(),
3312
3334
  value: i
@@ -3314,8 +3336,8 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3314
3336
  ])
3315
3337
  ]));
3316
3338
  }
3317
- }), dt = Symbol("radio-group-context-keys"), mo = "sq-segmented", ho = /* @__PURE__ */ T({
3318
- name: mo,
3339
+ }), dt = Symbol("radio-group-context-keys"), go = "sq-segmented", bo = /* @__PURE__ */ z({
3340
+ name: go,
3319
3341
  __name: "segmented",
3320
3342
  props: {
3321
3343
  name: {},
@@ -3327,7 +3349,7 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3327
3349
  },
3328
3350
  emits: ["change", "update:value"],
3329
3351
  setup(d, { emit: o }) {
3330
- const { nextId: n } = Le(), t = o, s = d, e = z(s.value), r = z(), c = z(), a = b(() => s.items.length && typeof s.items[0] == "string" ? s.items.map((f) => ({
3352
+ const { nextId: n } = Le(), t = o, s = d, e = T(s.value), r = T(), c = T(), a = b(() => s.items.length && typeof s.items[0] == "string" ? s.items.map((f) => ({
3331
3353
  text: f,
3332
3354
  value: f
3333
3355
  })) : s.items), l = b(() => {
@@ -3339,7 +3361,7 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3339
3361
  }), p = b(() => s.name ?? `sq-segmented-${n()}`);
3340
3362
  ke(
3341
3363
  ft,
3342
- z({
3364
+ T({
3343
3365
  name: p,
3344
3366
  disabled: se(s, "disabled"),
3345
3367
  size: se(s, "size"),
@@ -3367,19 +3389,19 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3367
3389
  return (f, w) => (m(), $("div", {
3368
3390
  class: U(["sq-segmented", l.value])
3369
3391
  }, [
3370
- I("div", {
3392
+ L("div", {
3371
3393
  class: "sq-segmented-thumb",
3372
- style: X(i.value)
3394
+ style: Y(i.value)
3373
3395
  }, null, 4),
3374
3396
  N(f.$slots, "default", {}, () => [
3375
- (m(!0), $(ne, null, de(a.value, (B) => (m(), C(u(yo), pe({
3397
+ (m(!0), $(ne, null, de(a.value, (B) => (m(), C(u(_o), pe({
3376
3398
  key: B.text
3377
3399
  }, { ref_for: !0 }, B), null, 16))), 128))
3378
3400
  ])
3379
3401
  ], 2));
3380
3402
  }
3381
- }), go = ["name", "value", "disabled"], bo = "sq-segmented-item", yo = /* @__PURE__ */ T({
3382
- name: bo,
3403
+ }), yo = ["name", "value", "disabled"], xo = "sq-segmented-item", _o = /* @__PURE__ */ z({
3404
+ name: xo,
3383
3405
  __name: "segmented-item",
3384
3406
  props: {
3385
3407
  icon: {},
@@ -3388,7 +3410,7 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3388
3410
  value: {}
3389
3411
  },
3390
3412
  setup(d) {
3391
- const o = d, { segmentedDisabled: n, parentContext: t } = ps(o), s = z(), e = re(null), r = b(() => {
3413
+ const o = d, { segmentedDisabled: n, parentContext: t } = ps(o), s = T(), e = re(null), r = b(() => {
3392
3414
  const i = [], p = u(n);
3393
3415
  return c.value && i.push("is-active"), p && i.push("is-disabled"), i;
3394
3416
  }), c = b(() => u(t).active === o.value), a = b(() => u(t).size !== "sm" ? "md" : "sm");
@@ -3410,21 +3432,21 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3410
3432
  ref_key: "itemRef",
3411
3433
  ref: e
3412
3434
  }, [
3413
- oe(I("input", {
3435
+ oe(L("input", {
3414
3436
  type: "radio",
3415
3437
  name: (g = u(t)) == null ? void 0 : g.name,
3416
3438
  value: o.value,
3417
3439
  disabled: u(n),
3418
3440
  "onUpdate:modelValue": p[0] || (p[0] = (h) => s.value = h),
3419
3441
  onChange: l
3420
- }, null, 40, go), [
3442
+ }, null, 40, yo), [
3421
3443
  [Ze, s.value]
3422
3444
  ]),
3423
3445
  N(i.$slots, "default", {}, () => [
3424
- S(u(be), { size: a.value }, {
3425
- default: M(() => [
3426
- o.icon ? (m(), C(ue(o.icon), { key: 0 })) : L("", !0),
3427
- Se(" " + Y(o.text), 1)
3446
+ S(u(me), { size: a.value }, {
3447
+ default: I(() => [
3448
+ o.icon ? (m(), C(ue(o.icon), { key: 0 })) : M("", !0),
3449
+ Se(" " + j(o.text), 1)
3428
3450
  ]),
3429
3451
  _: 1
3430
3452
  }, 8, ["size"])
@@ -3434,8 +3456,8 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3434
3456
  }
3435
3457
  }), ft = Symbol(
3436
3458
  "segmented-context-keys"
3437
- ), xo = ["id", "autofocus", "name", "form", "disabled"], _o = { class: "sq-switch-track" }, $o = { class: "sq-switch-thumb" }, ko = "sq-switch", wo = /* @__PURE__ */ T({
3438
- name: ko,
3459
+ ), $o = ["id", "autofocus", "name", "form", "disabled"], ko = { class: "sq-switch-track" }, wo = { class: "sq-switch-thumb" }, qo = "sq-switch", Co = /* @__PURE__ */ z({
3460
+ name: qo,
3439
3461
  __name: "switch",
3440
3462
  props: /* @__PURE__ */ Z({
3441
3463
  form: {},
@@ -3458,7 +3480,7 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3458
3480
  return (l, i) => (m(), $("label", {
3459
3481
  class: U(["sq-switch", a.value])
3460
3482
  }, [
3461
- oe(I("input", {
3483
+ oe(L("input", {
3462
3484
  type: "checkbox",
3463
3485
  "onUpdate:modelValue": i[0] || (i[0] = (p) => c.value = p),
3464
3486
  id: u(r),
@@ -3468,18 +3490,18 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3468
3490
  disabled: u(e) || t.loading,
3469
3491
  onChange: i[1] || (i[1] = (p) => n("change", c.value, p)),
3470
3492
  onClick: i[2] || (i[2] = (p) => n("click", c.value, p))
3471
- }, null, 40, xo), [
3493
+ }, null, 40, $o), [
3472
3494
  [Ke, c.value]
3473
3495
  ]),
3474
- I("span", _o, [
3475
- I("span", $o, [
3476
- t.loading ? (m(), C(u(Re), { key: 0 })) : L("", !0)
3496
+ L("span", ko, [
3497
+ L("span", wo, [
3498
+ t.loading ? (m(), C(u(Re), { key: 0 })) : M("", !0)
3477
3499
  ])
3478
3500
  ])
3479
3501
  ], 2));
3480
3502
  }
3481
- }), qo = "sq-vnode-renderer", Co = T({
3482
- name: qo,
3503
+ }), So = "sq-vnode-renderer", Bo = z({
3504
+ name: So,
3483
3505
  props: {
3484
3506
  content: {
3485
3507
  type: Object
@@ -3488,11 +3510,11 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3488
3510
  render() {
3489
3511
  return this.content;
3490
3512
  }
3491
- }), So = { class: "sq-table-wrap" }, Bo = ["textContent"], zo = ["textContent"], To = {
3513
+ }), zo = { class: "sq-table-wrap" }, To = ["textContent"], Ro = ["textContent"], Lo = {
3492
3514
  key: 0,
3493
3515
  class: "sq-table-empty"
3494
- }, Ro = ["textContent"], Lo = "sq-table", ca = /* @__PURE__ */ T({
3495
- name: Lo,
3516
+ }, Io = ["textContent"], Mo = "sq-table", fa = /* @__PURE__ */ z({
3517
+ name: Mo,
3496
3518
  __name: "table",
3497
3519
  props: {
3498
3520
  emptyText: { default: "暂无数据" },
@@ -3504,7 +3526,7 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3504
3526
  cols: { default: () => [] }
3505
3527
  },
3506
3528
  setup(d) {
3507
- const { getCssUnit: o } = Ne(), n = new ResizeObserver(l), t = d, s = z(!1), e = re(null), r = b(() => {
3529
+ const { getCssUnit: o } = Ne(), n = new ResizeObserver(l), t = d, s = T(!1), e = re(null), r = b(() => {
3508
3530
  const h = [];
3509
3531
  return t.stripe && h.push("is-striped"), t.border && h.push("has-border"), h;
3510
3532
  }), c = b(() => ({
@@ -3515,7 +3537,7 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3515
3537
  }));
3516
3538
  ie(() => {
3517
3539
  n.observe(e.value);
3518
- }), ge(() => {
3540
+ }), be(() => {
3519
3541
  n.disconnect();
3520
3542
  });
3521
3543
  function l() {
@@ -3550,60 +3572,60 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3550
3572
  return (h, f) => (m(), $("div", {
3551
3573
  class: U(["sq-table", r.value])
3552
3574
  }, [
3553
- I("div", So, [
3554
- I("div", {
3575
+ L("div", zo, [
3576
+ L("div", {
3555
3577
  class: "sq-table-header",
3556
- style: X(a.value)
3578
+ style: Y(a.value)
3557
3579
  }, [
3558
3580
  (m(!0), $(ne, null, de(t.cols, (w) => (m(), $("div", {
3559
3581
  class: "sq-table-cell",
3560
- style: X({ "justify-content": p(w.align) }),
3582
+ style: Y({ "justify-content": p(w.align) }),
3561
3583
  key: w.binding
3562
3584
  }, [
3563
- I("span", {
3564
- textContent: Y(w.title)
3565
- }, null, 8, Bo)
3585
+ L("span", {
3586
+ textContent: j(w.title)
3587
+ }, null, 8, To)
3566
3588
  ], 4))), 128))
3567
3589
  ], 4),
3568
- oe(I("div", {
3590
+ oe(L("div", {
3569
3591
  class: "sq-table-body",
3570
3592
  ref_key: "bodyRef",
3571
3593
  ref: e
3572
3594
  }, [
3573
3595
  (m(!0), $(ne, null, de(t.data, (w, B) => (m(), $("div", {
3574
3596
  class: "sq-table-row",
3575
- style: X(c.value),
3597
+ style: Y(c.value),
3576
3598
  key: i(w, B)
3577
3599
  }, [
3578
3600
  (m(!0), $(ne, null, de(t.cols, (D, P) => (m(), $("div", {
3579
3601
  class: U(["sq-table-cell", D.columnClass]),
3580
- style: X({ "justify-content": p(D.align) }),
3602
+ style: Y({ "justify-content": p(D.align) }),
3581
3603
  key: `${D.binding}-${i(w, P)}`
3582
3604
  }, [
3583
- typeof D.cellRender == "function" ? (m(), C(u(Co), {
3605
+ typeof D.cellRender == "function" ? (m(), C(u(Bo), {
3584
3606
  key: 0,
3585
3607
  content: D.cellRender(w)
3586
3608
  }, null, 8, ["content"])) : (m(), $("span", {
3587
3609
  key: 1,
3588
- textContent: Y(g(w, D))
3589
- }, null, 8, zo))
3610
+ textContent: j(g(w, D))
3611
+ }, null, 8, Ro))
3590
3612
  ], 6))), 128))
3591
3613
  ], 4))), 128))
3592
3614
  ], 512), [
3593
3615
  [ve, t.data.length]
3594
3616
  ]),
3595
- t.data.length ? L("", !0) : (m(), $("div", To, [
3617
+ t.data.length ? M("", !0) : (m(), $("div", Lo, [
3596
3618
  N(h.$slots, "empty", {}, () => [
3597
- I("span", {
3598
- textContent: Y(t.emptyText)
3599
- }, null, 8, Ro)
3619
+ L("span", {
3620
+ textContent: j(t.emptyText)
3621
+ }, null, 8, Io)
3600
3622
  ])
3601
3623
  ]))
3602
3624
  ])
3603
3625
  ], 2));
3604
3626
  }
3605
- }), Io = "sq-tag", da = /* @__PURE__ */ T({
3606
- name: Io,
3627
+ }), Eo = "sq-tag", pa = /* @__PURE__ */ z({
3628
+ name: Eo,
3607
3629
  __name: "tag",
3608
3630
  props: {
3609
3631
  type: {},
@@ -3616,18 +3638,18 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3616
3638
  const s = [];
3617
3639
  return o.size !== "md" && s.push(`sq-tag--${o.size}`), o.variant && o.type && s.push(`is-${o.variant}`), o.type && s.push(`is-${o.type}`), o.round && s.push("is-round"), s;
3618
3640
  }), t = b(() => o.size === "lg" ? "md" : "sm");
3619
- return (s, e) => (m(), C(u(be), {
3641
+ return (s, e) => (m(), C(u(me), {
3620
3642
  class: U(["sq-tag", n.value]),
3621
3643
  size: t.value
3622
3644
  }, {
3623
- default: M(() => [
3645
+ default: I(() => [
3624
3646
  N(s.$slots, "default")
3625
3647
  ]),
3626
3648
  _: 3
3627
3649
  }, 8, ["class", "size"]));
3628
3650
  }
3629
- }), Mo = "sq-check-tag", fa = /* @__PURE__ */ T({
3630
- name: Mo,
3651
+ }), Ao = "sq-check-tag", va = /* @__PURE__ */ z({
3652
+ name: Ao,
3631
3653
  __name: "check-tag",
3632
3654
  props: {
3633
3655
  checked: { type: Boolean, default: !1 },
@@ -3641,19 +3663,19 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3641
3663
  const r = [];
3642
3664
  return t.size !== "md" && r.push(`sq-tag--${t.size}`), t.type && r.push(`is-${t.type}`), t.round && r.push("is-round"), t.checked && r.push("is-checked"), r;
3643
3665
  }), e = b(() => t.size === "lg" ? "md" : "sm");
3644
- return (r, c) => (m(), C(u(be), {
3666
+ return (r, c) => (m(), C(u(me), {
3645
3667
  class: U(["sq-check-tag", s.value]),
3646
3668
  size: e.value,
3647
3669
  onClick: c[0] || (c[0] = (a) => n("change", !t.checked))
3648
3670
  }, {
3649
- default: M(() => [
3671
+ default: I(() => [
3650
3672
  N(r.$slots, "default")
3651
3673
  ]),
3652
3674
  _: 3
3653
3675
  }, 8, ["class", "size"]));
3654
3676
  }
3655
- }), Eo = "sq-text", be = /* @__PURE__ */ T({
3656
- name: Eo,
3677
+ }), Do = "sq-text", me = /* @__PURE__ */ z({
3678
+ name: Do,
3657
3679
  __name: "text",
3658
3680
  props: {
3659
3681
  ellipsis: { type: [Boolean, Number], default: !1 },
@@ -3668,13 +3690,13 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3668
3690
  );
3669
3691
  return (e, r) => (m(), $("span", {
3670
3692
  class: U(["sq-text", n.value]),
3671
- style: X(s.value)
3693
+ style: Y(s.value)
3672
3694
  }, [
3673
3695
  N(e.$slots, "default")
3674
3696
  ], 6));
3675
3697
  }
3676
- }), Ao = "sq-timeline", pa = /* @__PURE__ */ T({
3677
- name: Ao,
3698
+ }), Oo = "sq-timeline", ma = /* @__PURE__ */ z({
3699
+ name: Oo,
3678
3700
  __name: "timeline",
3679
3701
  props: {
3680
3702
  align: { default: "left" },
@@ -3691,8 +3713,8 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3691
3713
  N(t.$slots, "default")
3692
3714
  ], 2));
3693
3715
  }
3694
- }), Do = { class: "sq-timeline-dot" }, Oo = { class: "sq-timeline-content" }, Po = ["textContent"], No = ["textContent"], Fo = { class: "content-info" }, Uo = "sq-timeline-item", va = /* @__PURE__ */ T({
3695
- name: Uo,
3716
+ }), Po = { class: "sq-timeline-dot" }, No = { class: "sq-timeline-content" }, Fo = ["textContent"], Uo = ["textContent"], Vo = { class: "content-info" }, Ho = "sq-timeline-item", ha = /* @__PURE__ */ z({
3717
+ name: Ho,
3696
3718
  __name: "timeline-item",
3697
3719
  props: {
3698
3720
  color: {},
@@ -3712,30 +3734,30 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3712
3734
  });
3713
3735
  return (s, e) => (m(), $("div", {
3714
3736
  class: U(["sq-timeline-item", n.value]),
3715
- style: X(t.value)
3737
+ style: Y(t.value)
3716
3738
  }, [
3717
- I("span", Do, [
3718
- o.icon ? (m(), C(ue(o.icon), { key: 0 })) : L("", !0)
3739
+ L("span", Po, [
3740
+ o.icon ? (m(), C(ue(o.icon), { key: 0 })) : M("", !0)
3719
3741
  ]),
3720
- I("div", Oo, [
3742
+ L("div", No, [
3721
3743
  o.title ? (m(), $("h2", {
3722
3744
  key: 0,
3723
3745
  class: "content-title",
3724
- textContent: Y(o.title)
3725
- }, null, 8, Po)) : L("", !0),
3746
+ textContent: j(o.title)
3747
+ }, null, 8, Fo)) : M("", !0),
3726
3748
  o.timestamp ? (m(), $("span", {
3727
3749
  key: 1,
3728
3750
  class: "content-time",
3729
- textContent: Y(o.timestamp)
3730
- }, null, 8, No)) : L("", !0),
3731
- I("div", Fo, [
3751
+ textContent: j(o.timestamp)
3752
+ }, null, 8, Uo)) : M("", !0),
3753
+ L("div", Vo, [
3732
3754
  N(s.$slots, "default")
3733
3755
  ])
3734
3756
  ])
3735
3757
  ], 6));
3736
3758
  }
3737
- }), Vo = ["textContent"], Ho = "sq-tooltip", ae = /* @__PURE__ */ T({
3738
- name: Ho,
3759
+ }), Wo = ["textContent"], jo = "sq-tooltip", ae = /* @__PURE__ */ z({
3760
+ name: jo,
3739
3761
  __name: "tooltip",
3740
3762
  props: {
3741
3763
  placement: {},
@@ -3751,7 +3773,7 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3751
3773
  const t = ["sq-tooltip"], s = o.popoverClass;
3752
3774
  return Array.isArray(s) ? t.push(...s) : typeof s == "string" && t.push(s), t;
3753
3775
  });
3754
- return (t, s) => (m(), C(u(to), {
3776
+ return (t, s) => (m(), C(u(no), {
3755
3777
  placement: o.placement,
3756
3778
  disabled: o.disabled,
3757
3779
  "show-after": 300,
@@ -3761,19 +3783,19 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3761
3783
  transition: o.transition,
3762
3784
  shadow: o.shadow
3763
3785
  }, {
3764
- reference: M(() => [
3786
+ reference: I(() => [
3765
3787
  N(t.$slots, "default")
3766
3788
  ]),
3767
- default: M(() => [
3768
- I("span", {
3769
- textContent: Y(o.tip)
3770
- }, null, 8, Vo)
3789
+ default: I(() => [
3790
+ L("span", {
3791
+ textContent: j(o.tip)
3792
+ }, null, 8, Wo)
3771
3793
  ]),
3772
3794
  _: 3
3773
3795
  }, 8, ["placement", "disabled", "popover-class", "teleported", "transition", "shadow"]));
3774
3796
  }
3775
- }), Wo = ["name", "form", "disabled", "accept", "multiple"], jo = "sq-upload", ma = /* @__PURE__ */ T({
3776
- name: jo,
3797
+ }), Xo = ["name", "form", "disabled", "accept", "multiple"], Yo = "sq-upload", ga = /* @__PURE__ */ z({
3798
+ name: Yo,
3777
3799
  __name: "upload",
3778
3800
  props: {
3779
3801
  form: {},
@@ -3819,7 +3841,7 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3819
3841
  onDragover: a,
3820
3842
  onDrop: l
3821
3843
  }, [
3822
- I("input", {
3844
+ L("input", {
3823
3845
  type: "file",
3824
3846
  ref_key: "inputRef",
3825
3847
  ref: e,
@@ -3829,7 +3851,7 @@ const eo = "sq-popover", to = /* @__PURE__ */ T({
3829
3851
  accept: s.accept,
3830
3852
  multiple: s.multiple,
3831
3853
  onChange: r
3832
- }, null, 40, Wo),
3854
+ }, null, 40, Xo),
3833
3855
  N(g.$slots, "default")
3834
3856
  ], 32));
3835
3857
  }
@@ -3841,42 +3863,42 @@ export {
3841
3863
  Ue as FormItemIdKeys,
3842
3864
  dt as RadioGroupContextKeys,
3843
3865
  ft as SegmentedContextKeys,
3844
- Jo as SqAlert,
3866
+ ea as SqAlert,
3845
3867
  Qt as SqArticle,
3846
- Qo as SqAvatar,
3847
- ea as SqBacktop,
3868
+ ta as SqAvatar,
3869
+ sa as SqBacktop,
3848
3870
  Xe as SqBadge,
3849
3871
  rs as SqBlur,
3850
- j as SqButton,
3851
- ta as SqButtonGroup,
3852
- sa as SqCard,
3853
- fa as SqCheckTag,
3872
+ X as SqButton,
3873
+ na as SqButtonGroup,
3874
+ oa as SqCard,
3875
+ va as SqCheckTag,
3854
3876
  lt as SqCheckbox,
3855
3877
  zs as SqCheckboxGroup,
3856
3878
  As as SqDialog,
3857
3879
  $e as SqDivider,
3858
- na as SqEditor,
3859
- oa as SqForm,
3880
+ aa as SqEditor,
3881
+ la as SqForm,
3860
3882
  mn as SqImage,
3861
- aa as SqImageCrop,
3883
+ ia as SqImageCrop,
3862
3884
  bn as SqImageViewer,
3863
3885
  ut as SqInput,
3864
- la as SqMenu,
3865
- ia as SqMessage,
3866
- ra as SqMessageBox,
3867
- ua as SqPagination,
3868
- to as SqPopover,
3869
- ao as SqProgress,
3870
- co as SqRadio,
3871
- vo as SqRadioGroup,
3872
- ho as SqSegmented,
3873
- yo as SqSegmentedItem,
3874
- wo as SqSwitch,
3875
- ca as SqTable,
3876
- da as SqTag,
3877
- be as SqText,
3878
- pa as SqTimeline,
3879
- va as SqTimelineItem,
3886
+ ra as SqMenu,
3887
+ ua as SqMessage,
3888
+ ca as SqMessageBox,
3889
+ da as SqPagination,
3890
+ no as SqPopover,
3891
+ io as SqProgress,
3892
+ po as SqRadio,
3893
+ ho as SqRadioGroup,
3894
+ bo as SqSegmented,
3895
+ _o as SqSegmentedItem,
3896
+ Co as SqSwitch,
3897
+ fa as SqTable,
3898
+ pa as SqTag,
3899
+ me as SqText,
3900
+ ma as SqTimeline,
3901
+ ha as SqTimelineItem,
3880
3902
  ae as SqTooltip,
3881
- ma as SqUpload
3903
+ ga as SqUpload
3882
3904
  };