nicklabs-ui 1.0.118 → 1.0.119

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.mjs CHANGED
@@ -6360,7 +6360,7 @@ var Nc = { class: "vtable-hscroll" }, Pc = { class: "vtable-htable" }, Fc = ["on
6360
6360
  }, Hc = ["onClick"], Uc = {
6361
6361
  key: 0,
6362
6362
  class: "actions"
6363
- }, Wc = "120px", Gc = /* @__PURE__ */ J(/* @__PURE__ */ p({
6363
+ }, Wc = /* @__PURE__ */ J(/* @__PURE__ */ p({
6364
6364
  __name: "NVirtualTable",
6365
6365
  props: {
6366
6366
  columns: { default: () => [] },
@@ -6392,7 +6392,7 @@ var Nc = { class: "vtable-hscroll" }, Pc = { class: "vtable-htable" }, Fc = ["on
6392
6392
  order: null
6393
6393
  }), p = i(() => !!l.actions), m = (e) => {
6394
6394
  let t = e.width ?? "1fr";
6395
- return t.endsWith("fr") ? `minmax(${e.minWidth ?? Wc}, ${e.maxWidth ?? t})` : `minmax(${t}, ${t})`;
6395
+ return t.endsWith("fr") ? `minmax(${e.minWidth ?? "120px"}, ${e.maxWidth ?? t})` : `minmax(${t}, ${t})`;
6396
6396
  }, h = i(() => {
6397
6397
  let e = t.columns.map((e) => m(e));
6398
6398
  return p.value && e.push(`minmax(${t.actionsWidth}, ${t.actionsWidth})`), e.join(" ");
@@ -6458,10 +6458,10 @@ var Nc = { class: "vtable-hscroll" }, Pc = { class: "vtable-htable" }, Fc = ["on
6458
6458
  description: t.emptyDescription
6459
6459
  }, null, 8, ["title", "description"])], !0) : o("", !0)], 2));
6460
6460
  }
6461
- }), [["__scopeId", "data-v-7576351a"]]);
6461
+ }), [["__scopeId", "data-v-8608257e"]]);
6462
6462
  //#endregion
6463
6463
  //#region src/composables/useDisclosure.ts
6464
- function Kc() {
6464
+ function Gc() {
6465
6465
  let e = j(!1);
6466
6466
  function t() {
6467
6467
  e.value = !0;
@@ -6477,11 +6477,11 @@ function Kc() {
6477
6477
  }
6478
6478
  //#endregion
6479
6479
  //#region src/composables/useMediaSelect.ts
6480
- var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 1024).toFixed(0) + " KB" : e < 1073741824 ? (e / 1048576).toFixed(1) + " MB" : (e / 1073741824).toFixed(2) + " GB", Jc = (e, t = "floor") => {
6480
+ var Kc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 1024).toFixed(0) + " KB" : e < 1073741824 ? (e / 1048576).toFixed(1) + " MB" : (e / 1073741824).toFixed(2) + " GB", qc = (e, t = "floor") => {
6481
6481
  if (e == null || isNaN(e)) return "0:00";
6482
6482
  let n = t === "round" ? Math.round(e) : Math.floor(e), r = Math.floor(n / 60), i = n % 60;
6483
6483
  return r + ":" + (i < 10 ? "0" : "") + i;
6484
- }, Yc = (e) => e.width && e.height ? e.width + "×" + e.height : "—", Xc = (e, t) => {
6484
+ }, Jc = (e) => e.width && e.height ? e.width + "×" + e.height : "—", Yc = (e, t) => {
6485
6485
  if (e.name) return e.name;
6486
6486
  try {
6487
6487
  let n = new URL(e.url, window.location.href).pathname;
@@ -6489,17 +6489,17 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
6489
6489
  } catch {
6490
6490
  return t;
6491
6491
  }
6492
- }, Zc = (e) => {
6492
+ }, Xc = (e) => {
6493
6493
  e?.startsWith("blob:") && URL.revokeObjectURL(e);
6494
- }, Qc = (e) => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUUID() : e + Math.random().toString(36).slice(2, 9), $c = (e, t, n) => {
6494
+ }, Zc = (e) => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUUID() : e + Math.random().toString(36).slice(2, 9), Qc = (e, t, n) => {
6495
6495
  let r = t.split(",").map((e) => e.trim().toLowerCase()).filter(Boolean);
6496
6496
  if (r.length === 0) return e.type.startsWith(n);
6497
6497
  let i = e.type.toLowerCase(), a = e.name.toLowerCase();
6498
6498
  return r.some((e) => e.startsWith(".") ? a.endsWith(e) : e.endsWith("/*") ? i.startsWith(e.slice(0, -1)) : i === e);
6499
- }, el = (e, t) => {
6499
+ }, $c = (e, t) => {
6500
6500
  let n = [], r = !1;
6501
6501
  return Array.prototype.forEach.call(e, (e) => {
6502
- if (!$c(e, t.accept, t.fallbackTypePrefix)) {
6502
+ if (!Qc(e, t.accept, t.fallbackTypePrefix)) {
6503
6503
  t.onError({
6504
6504
  type: "type",
6505
6505
  file: e
@@ -6522,7 +6522,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
6522
6522
  }
6523
6523
  n.push(e);
6524
6524
  }), n;
6525
- }, tl = (e) => {
6525
+ }, el = (e) => {
6526
6526
  let t = j(!1), n = async () => {
6527
6527
  if (!e.isBlocked()) if (e.multiple()) {
6528
6528
  let t = await _i.input.custom(e.accept(), !0);
@@ -6553,7 +6553,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
6553
6553
  },
6554
6554
  openFileDialog: n
6555
6555
  };
6556
- }, nl = (e, t) => {
6556
+ }, tl = (e, t) => {
6557
6557
  let n = "", r = (e) => {
6558
6558
  e.key === "Escape" && t();
6559
6559
  };
@@ -6562,26 +6562,26 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
6562
6562
  }), C(() => {
6563
6563
  e.value && (document.body.style.overflow = n), document.removeEventListener("keydown", r);
6564
6564
  });
6565
- }, rl = {
6565
+ }, nl = {
6566
6566
  key: 0,
6567
6567
  class: "head"
6568
- }, il = ["textContent"], al = {
6568
+ }, rl = ["textContent"], il = {
6569
6569
  key: 1,
6570
6570
  class: "count-chip"
6571
- }, ol = { class: "grid" }, sl = {
6571
+ }, al = { class: "grid" }, ol = {
6572
6572
  key: 0,
6573
6573
  class: "icon",
6574
6574
  "aria-hidden": "true"
6575
- }, cl = ["textContent"], ll = ["textContent"], ul = ["onClick"], dl = ["src"], fl = {
6575
+ }, sl = ["textContent"], cl = ["textContent"], ll = ["onClick"], ul = ["src"], dl = {
6576
6576
  key: 1,
6577
6577
  class: "placeholder-label"
6578
- }, pl = { class: "duration" }, ml = { class: "card-body" }, hl = ["title"], gl = { class: "file-meta" }, _l = { key: 0 }, vl = {
6578
+ }, fl = { class: "duration" }, pl = { class: "card-body" }, ml = ["title"], hl = { class: "file-meta" }, gl = { key: 0 }, _l = {
6579
6579
  key: 1,
6580
6580
  class: "dot-separator"
6581
- }, yl = { key: 2 }, bl = { class: "card-actions" }, xl = ["onClick"], Sl = ["disabled", "onClick"], Cl = { class: "vi-modal-card" }, wl = { class: "vi-modal-media" }, Tl = ["src"], El = {
6581
+ }, vl = { key: 2 }, yl = { class: "card-actions" }, bl = ["onClick"], xl = ["disabled", "onClick"], Sl = { class: "vi-modal-card" }, Cl = { class: "vi-modal-media" }, wl = ["src"], Tl = {
6582
6582
  key: 1,
6583
6583
  class: "vi-modal-placeholder"
6584
- }, Dl = { class: "vi-modal-bar" }, Ol = { class: "vi-modal-info" }, kl = { class: "modal-name" }, Al = { class: "modal-meta" }, jl = /* @__PURE__ */ J(/* @__PURE__ */ p({
6584
+ }, El = { class: "vi-modal-bar" }, Dl = { class: "vi-modal-info" }, Ol = { class: "modal-name" }, kl = { class: "modal-meta" }, Al = /* @__PURE__ */ J(/* @__PURE__ */ p({
6585
6585
  __name: "NVideoSelect",
6586
6586
  props: {
6587
6587
  modelValue: { default: () => [] },
@@ -6619,7 +6619,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
6619
6619
  "error"
6620
6620
  ],
6621
6621
  setup(r, { emit: l }) {
6622
- let u = l, p = j(null), [m, h, g] = Kc(), { confirm: _ } = bi(), y = !1, x = i(() => r.modelValue.length), S = (e) => Jc(e, "round"), w = (e) => Xc(e, "影片"), T = (e) => {
6622
+ let u = l, p = j(null), [m, h, g] = Gc(), { confirm: _ } = bi(), y = !1, x = i(() => r.modelValue.length), S = (e) => qc(e, "round"), w = (e) => Yc(e, "影片"), T = (e) => {
6623
6623
  if (!e.url) return;
6624
6624
  let t = document.createElement("video");
6625
6625
  t.preload = "metadata";
@@ -6644,13 +6644,13 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
6644
6644
  !e.url || E.has(e.id) || (E.add(e.id), (e.duration == null || e.width == null) && T(e));
6645
6645
  });
6646
6646
  }, { immediate: !0 });
6647
- let { isDragging: O, dropZoneHandlers: k } = tl({
6647
+ let { isDragging: O, dropZoneHandlers: k } = el({
6648
6648
  isBlocked: () => r.disabled || r.readonly,
6649
6649
  accept: () => r.accept,
6650
6650
  multiple: () => r.multiple,
6651
6651
  onFiles: (e) => {
6652
6652
  if (r.disabled || r.readonly) return;
6653
- let t = el(e, {
6653
+ let t = $c(e, {
6654
6654
  accept: r.accept,
6655
6655
  fallbackTypePrefix: "video/",
6656
6656
  maxSize: r.maxSize,
@@ -6659,7 +6659,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
6659
6659
  });
6660
6660
  if (t.length === 0) return;
6661
6661
  let n = t.map((e) => ({
6662
- id: Qc("v"),
6662
+ id: Zc("v"),
6663
6663
  file: e,
6664
6664
  name: e.name,
6665
6665
  size: e.size,
@@ -6681,7 +6681,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
6681
6681
  confirmText: "移除",
6682
6682
  cancelText: "取消"
6683
6683
  })) return;
6684
- Zc(t.url), E.delete(e);
6684
+ Xc(t.url), E.delete(e);
6685
6685
  let n = r.modelValue.filter((t) => t.id !== e);
6686
6686
  u("update:modelValue", n), u("change", n), u("remove", t);
6687
6687
  }, N = (e) => {
@@ -6691,30 +6691,30 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
6691
6691
  }, ee = i(() => {
6692
6692
  let e = p.value;
6693
6693
  return e ? [
6694
- e.size == null ? null : qc(e.size),
6695
- e.width && e.height ? Yc(e) : null,
6694
+ e.size == null ? null : Kc(e.size),
6695
+ e.width && e.height ? Jc(e) : null,
6696
6696
  S(e.duration)
6697
6697
  ].filter(Boolean).join(" · ") : "";
6698
6698
  });
6699
- return nl(m, P), C(() => {
6700
- y = !0, r.autoRevoke && r.modelValue.forEach((e) => Zc(e.url));
6699
+ return tl(m, P), C(() => {
6700
+ y = !0, r.autoRevoke && r.modelValue.forEach((e) => Xc(e.url));
6701
6701
  }), (i, l) => (D(), s("div", { class: b(["video-input", {
6702
6702
  "is-disabled": r.disabled,
6703
6703
  "is-readonly": r.readonly
6704
6704
  }]) }, [
6705
- r.title || r.showCount ? (D(), s("div", rl, [r.title ? (D(), s("span", {
6705
+ r.title || r.showCount ? (D(), s("div", nl, [r.title ? (D(), s("span", {
6706
6706
  key: 0,
6707
6707
  class: "title",
6708
6708
  textContent: L(r.title)
6709
- }, null, 8, il)) : o("", !0), r.showCount ? (D(), s("span", al, L(x.value) + " 支", 1)) : o("", !0)])) : o("", !0),
6710
- c("div", ol, [x.value === 0 ? (D(), s("div", v({
6709
+ }, null, 8, rl)) : o("", !0), r.showCount ? (D(), s("span", il, L(x.value) + " 支", 1)) : o("", !0)])) : o("", !0),
6710
+ c("div", al, [x.value === 0 ? (D(), s("div", v({
6711
6711
  key: 0,
6712
6712
  class: ["empty", {
6713
6713
  "is-drag": B(O),
6714
6714
  "is-static": r.readonly
6715
6715
  }]
6716
6716
  }, r.readonly ? {} : B(k)), [
6717
- r.readonly ? o("", !0) : (D(), s("span", sl, [...l[0] ||= [c("svg", {
6717
+ r.readonly ? o("", !0) : (D(), s("span", ol, [...l[0] ||= [c("svg", {
6718
6718
  viewBox: "0 0 24 24",
6719
6719
  fill: "none",
6720
6720
  stroke: "currentColor",
@@ -6726,11 +6726,11 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
6726
6726
  c("path", { d: "M7 9l5-5 5 5" }),
6727
6727
  c("path", { d: "M12 4v12" })
6728
6728
  ], -1)]])),
6729
- c("h3", { textContent: L(r.readonly ? "目前沒有影片" : r.emptyTitle) }, null, 8, cl),
6729
+ c("h3", { textContent: L(r.readonly ? "目前沒有影片" : r.emptyTitle) }, null, 8, sl),
6730
6730
  r.readonly ? o("", !0) : (D(), s("p", {
6731
6731
  key: 1,
6732
6732
  textContent: L(r.emptyHint)
6733
- }, null, 8, ll))
6733
+ }, null, 8, cl))
6734
6734
  ], 16)) : (D(), s(e, { key: 1 }, [(D(!0), s(e, null, M(r.modelValue, (e) => (D(), s("div", {
6735
6735
  key: e.id,
6736
6736
  class: "card"
@@ -6743,7 +6743,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
6743
6743
  src: e.url + "#t=0.5",
6744
6744
  muted: "",
6745
6745
  preload: "metadata"
6746
- }, null, 8, dl)) : (D(), s("div", fl, "縮圖預覽")),
6746
+ }, null, 8, ul)) : (D(), s("div", dl, "縮圖預覽")),
6747
6747
  l[1] ||= c("div", {
6748
6748
  class: "play",
6749
6749
  "aria-hidden": "true"
@@ -6751,18 +6751,18 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
6751
6751
  viewBox: "0 0 24 24",
6752
6752
  fill: "currentColor"
6753
6753
  }, [c("path", { d: "M8 5v14l11-7z" })])], -1),
6754
- c("div", pl, L(S(e.duration)), 1)
6755
- ], 10, ul), c("div", ml, [
6754
+ c("div", fl, L(S(e.duration)), 1)
6755
+ ], 10, ll), c("div", pl, [
6756
6756
  c("div", {
6757
6757
  class: "file-name",
6758
6758
  title: w(e)
6759
- }, L(w(e)), 9, hl),
6760
- c("div", gl, [
6761
- e.size == null ? o("", !0) : (D(), s("span", _l, L(B(qc)(e.size)), 1)),
6762
- e.size != null && e.width && e.height ? (D(), s("span", vl)) : o("", !0),
6763
- e.width && e.height ? (D(), s("span", yl, L(B(Yc)(e)), 1)) : o("", !0)
6759
+ }, L(w(e)), 9, ml),
6760
+ c("div", hl, [
6761
+ e.size == null ? o("", !0) : (D(), s("span", gl, L(B(Kc)(e.size)), 1)),
6762
+ e.size != null && e.width && e.height ? (D(), s("span", _l)) : o("", !0),
6763
+ e.width && e.height ? (D(), s("span", vl, L(B(Jc)(e)), 1)) : o("", !0)
6764
6764
  ]),
6765
- c("div", bl, [c("button", {
6765
+ c("div", yl, [c("button", {
6766
6766
  class: "action preview",
6767
6767
  onClick: (t) => N(e),
6768
6768
  type: "button"
@@ -6777,7 +6777,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
6777
6777
  cx: "12",
6778
6778
  cy: "12",
6779
6779
  r: "3"
6780
- })], -1), d(" 預覽 ", -1)]], 8, xl), r.readonly ? o("", !0) : (D(), s("button", {
6780
+ })], -1), d(" 預覽 ", -1)]], 8, bl), r.readonly ? o("", !0) : (D(), s("button", {
6781
6781
  key: 0,
6782
6782
  class: "action delete",
6783
6783
  "aria-label": "刪除",
@@ -6791,7 +6791,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
6791
6791
  "stroke-width": "2",
6792
6792
  "stroke-linecap": "round",
6793
6793
  "stroke-linejoin": "round"
6794
- }, [c("path", { d: "M3 6h18M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2m2 0v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" }), c("path", { d: "M10 11v6M14 11v6" })], -1)]], 8, Sl))])
6794
+ }, [c("path", { d: "M3 6h18M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2m2 0v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" }), c("path", { d: "M10 11v6M14 11v6" })], -1)]], 8, xl))])
6795
6795
  ])]))), 128)), r.multiple && !r.readonly ? (D(), s("div", v({
6796
6796
  key: 0,
6797
6797
  class: ["add-card", { "is-drag": B(O) }]
@@ -6815,7 +6815,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
6815
6815
  key: 0,
6816
6816
  class: "vi-modal",
6817
6817
  onClick: K(P, ["self"])
6818
- }, [c("div", Cl, [c("div", wl, [p.value?.url ? (D(), s("video", {
6818
+ }, [c("div", Sl, [c("div", Cl, [p.value?.url ? (D(), s("video", {
6819
6819
  key: 0,
6820
6820
  src: p.value.url,
6821
6821
  controls: "",
@@ -6823,7 +6823,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
6823
6823
  playsinline: "",
6824
6824
  controlslist: "nofullscreen nodownload noremoteplayback noplaybackrate",
6825
6825
  disablepictureinpicture: ""
6826
- }, null, 8, Tl)) : (D(), s("div", El, " 示範影片 · 上傳真實檔案即可在此播放 "))]), c("div", Dl, [c("div", Ol, [c("div", kl, L(p.value ? w(p.value) : ""), 1), c("div", Al, L(ee.value), 1)]), c("button", {
6826
+ }, null, 8, wl)) : (D(), s("div", Tl, " 示範影片 · 上傳真實檔案即可在此播放 "))]), c("div", El, [c("div", Dl, [c("div", Ol, L(p.value ? w(p.value) : ""), 1), c("div", kl, L(ee.value), 1)]), c("button", {
6827
6827
  class: "vi-modal-close",
6828
6828
  "aria-label": "關閉",
6829
6829
  onClick: P,
@@ -6840,26 +6840,26 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
6840
6840
  })]))
6841
6841
  ], 2));
6842
6842
  }
6843
- }), [["__scopeId", "data-v-48e045dd"]]), Ml = {
6843
+ }), [["__scopeId", "data-v-48e045dd"]]), jl = {
6844
6844
  key: 0,
6845
6845
  class: "head"
6846
- }, Nl = ["textContent"], Pl = {
6846
+ }, Ml = ["textContent"], Nl = {
6847
6847
  key: 1,
6848
6848
  class: "count-chip"
6849
- }, Fl = { class: "grid" }, Il = {
6849
+ }, Pl = { class: "grid" }, Fl = {
6850
6850
  key: 0,
6851
6851
  class: "icon",
6852
6852
  "aria-hidden": "true"
6853
- }, Ll = ["textContent"], Rl = ["textContent"], zl = ["onClick"], Bl = ["src", "alt"], Vl = {
6853
+ }, Il = ["textContent"], Ll = ["textContent"], Rl = ["onClick"], zl = ["src", "alt"], Bl = {
6854
6854
  key: 1,
6855
6855
  class: "placeholder-label"
6856
- }, Hl = { class: "card-body" }, Ul = ["title"], Wl = { class: "file-meta" }, Gl = { key: 0 }, Kl = {
6856
+ }, Vl = { class: "card-body" }, Hl = ["title"], Ul = { class: "file-meta" }, Wl = { key: 0 }, Gl = {
6857
6857
  key: 1,
6858
6858
  class: "dot-separator"
6859
- }, ql = { key: 2 }, Jl = { class: "card-actions" }, Yl = ["onClick"], Xl = ["disabled", "onClick"], Zl = { class: "ii-modal-card" }, Ql = { class: "ii-modal-media" }, $l = ["src", "alt"], eu = {
6859
+ }, Kl = { key: 2 }, ql = { class: "card-actions" }, Jl = ["onClick"], Yl = ["disabled", "onClick"], Xl = { class: "ii-modal-card" }, Zl = { class: "ii-modal-media" }, Ql = ["src", "alt"], $l = {
6860
6860
  key: 1,
6861
6861
  class: "ii-modal-ph"
6862
- }, tu = { class: "ii-modal-bar" }, nu = { class: "ii-modal-info" }, ru = { class: "modal-name" }, iu = { class: "modal-meta" }, au = /* @__PURE__ */ J(/* @__PURE__ */ p({
6862
+ }, eu = { class: "ii-modal-bar" }, tu = { class: "ii-modal-info" }, nu = { class: "modal-name" }, ru = { class: "modal-meta" }, iu = /* @__PURE__ */ J(/* @__PURE__ */ p({
6863
6863
  __name: "NImageSelect",
6864
6864
  props: {
6865
6865
  modelValue: { default: () => [] },
@@ -6897,7 +6897,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
6897
6897
  "error"
6898
6898
  ],
6899
6899
  setup(r, { emit: l }) {
6900
- let u = l, p = j(null), [m, h, g] = Kc(), { confirm: _ } = bi(), y = !1, x = i(() => r.modelValue.length), S = (e) => Xc(e, "圖片"), w = (e) => {
6900
+ let u = l, p = j(null), [m, h, g] = Gc(), { confirm: _ } = bi(), y = !1, x = i(() => r.modelValue.length), S = (e) => Yc(e, "圖片"), w = (e) => {
6901
6901
  if (!e.url) return;
6902
6902
  let t = new Image(), n = () => {
6903
6903
  t.removeEventListener("load", i), t.removeEventListener("error", n), t.removeAttribute("src");
@@ -6919,13 +6919,13 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
6919
6919
  !e.url || T.has(e.id) || (T.add(e.id), (e.width == null || e.height == null) && w(e));
6920
6920
  });
6921
6921
  }, { immediate: !0 });
6922
- let { isDragging: E, dropZoneHandlers: O } = tl({
6922
+ let { isDragging: E, dropZoneHandlers: O } = el({
6923
6923
  isBlocked: () => r.disabled || r.readonly,
6924
6924
  accept: () => r.accept,
6925
6925
  multiple: () => r.multiple,
6926
6926
  onFiles: (e) => {
6927
6927
  if (r.disabled || r.readonly) return;
6928
- let t = el(e, {
6928
+ let t = $c(e, {
6929
6929
  accept: r.accept,
6930
6930
  fallbackTypePrefix: "image/",
6931
6931
  maxSize: r.maxSize,
@@ -6934,7 +6934,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
6934
6934
  });
6935
6935
  if (t.length === 0) return;
6936
6936
  let n = t.map((e) => ({
6937
- id: Qc("i"),
6937
+ id: Zc("i"),
6938
6938
  file: e,
6939
6939
  name: e.name,
6940
6940
  size: e.size,
@@ -6955,7 +6955,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
6955
6955
  confirmText: "移除",
6956
6956
  cancelText: "取消"
6957
6957
  })) return;
6958
- Zc(t.url), T.delete(e);
6958
+ Xc(t.url), T.delete(e);
6959
6959
  let n = r.modelValue.filter((t) => t.id !== e);
6960
6960
  u("update:modelValue", n), u("change", n), u("remove", t);
6961
6961
  }, A = (e) => {
@@ -6964,27 +6964,27 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
6964
6964
  g();
6965
6965
  }, P = i(() => {
6966
6966
  let e = p.value;
6967
- return e ? [e.size == null ? null : qc(e.size), e.width && e.height ? Yc(e) : null].filter(Boolean).join(" · ") : "";
6967
+ return e ? [e.size == null ? null : Kc(e.size), e.width && e.height ? Jc(e) : null].filter(Boolean).join(" · ") : "";
6968
6968
  });
6969
- return nl(m, N), C(() => {
6970
- y = !0, r.autoRevoke && r.modelValue.forEach((e) => Zc(e.url));
6969
+ return tl(m, N), C(() => {
6970
+ y = !0, r.autoRevoke && r.modelValue.forEach((e) => Xc(e.url));
6971
6971
  }), (i, l) => (D(), s("div", { class: b(["image-input", {
6972
6972
  "is-disabled": r.disabled,
6973
6973
  "is-readonly": r.readonly
6974
6974
  }]) }, [
6975
- r.title || r.showCount ? (D(), s("div", Ml, [r.title ? (D(), s("span", {
6975
+ r.title || r.showCount ? (D(), s("div", jl, [r.title ? (D(), s("span", {
6976
6976
  key: 0,
6977
6977
  class: "title",
6978
6978
  textContent: L(r.title)
6979
- }, null, 8, Nl)) : o("", !0), r.showCount ? (D(), s("span", Pl, L(x.value) + " 張", 1)) : o("", !0)])) : o("", !0),
6980
- c("div", Fl, [x.value === 0 ? (D(), s("div", v({
6979
+ }, null, 8, Ml)) : o("", !0), r.showCount ? (D(), s("span", Nl, L(x.value) + " 張", 1)) : o("", !0)])) : o("", !0),
6980
+ c("div", Pl, [x.value === 0 ? (D(), s("div", v({
6981
6981
  key: 0,
6982
6982
  class: ["empty", {
6983
6983
  "is-drag": B(E),
6984
6984
  "is-static": r.readonly
6985
6985
  }]
6986
6986
  }, r.readonly ? {} : B(O)), [
6987
- r.readonly ? o("", !0) : (D(), s("span", Il, [...l[0] ||= [c("svg", {
6987
+ r.readonly ? o("", !0) : (D(), s("span", Fl, [...l[0] ||= [c("svg", {
6988
6988
  viewBox: "0 0 24 24",
6989
6989
  fill: "none",
6990
6990
  stroke: "currentColor",
@@ -7006,11 +7006,11 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7006
7006
  }),
7007
7007
  c("path", { d: "M21 15l-5-5L5 21" })
7008
7008
  ], -1)]])),
7009
- c("h3", { textContent: L(r.readonly ? "目前沒有圖片" : r.emptyTitle) }, null, 8, Ll),
7009
+ c("h3", { textContent: L(r.readonly ? "目前沒有圖片" : r.emptyTitle) }, null, 8, Il),
7010
7010
  r.readonly ? o("", !0) : (D(), s("p", {
7011
7011
  key: 1,
7012
7012
  textContent: L(r.emptyHint)
7013
- }, null, 8, Rl))
7013
+ }, null, 8, Ll))
7014
7014
  ], 16)) : (D(), s(e, { key: 1 }, [(D(!0), s(e, null, M(r.modelValue, (e) => (D(), s("div", {
7015
7015
  key: e.id,
7016
7016
  class: "card"
@@ -7022,7 +7022,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7022
7022
  src: e.url,
7023
7023
  alt: S(e),
7024
7024
  loading: "lazy"
7025
- }, null, 8, Bl)) : (D(), s("div", Vl, "縮圖預覽")), l[1] ||= c("div", {
7025
+ }, null, 8, zl)) : (D(), s("div", Bl, "縮圖預覽")), l[1] ||= c("div", {
7026
7026
  class: "zoom",
7027
7027
  "aria-hidden": "true"
7028
7028
  }, [c("svg", {
@@ -7036,17 +7036,17 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7036
7036
  cx: "11",
7037
7037
  cy: "11",
7038
7038
  r: "7"
7039
- }), c("path", { d: "m21 21-4.3-4.3M11 8v6M8 11h6" })])], -1)], 10, zl), c("div", Hl, [
7039
+ }), c("path", { d: "m21 21-4.3-4.3M11 8v6M8 11h6" })])], -1)], 10, Rl), c("div", Vl, [
7040
7040
  c("div", {
7041
7041
  class: "file-name",
7042
7042
  title: S(e)
7043
- }, L(S(e)), 9, Ul),
7044
- c("div", Wl, [
7045
- e.size == null ? o("", !0) : (D(), s("span", Gl, L(B(qc)(e.size)), 1)),
7046
- e.size != null && e.width && e.height ? (D(), s("span", Kl)) : o("", !0),
7047
- e.width && e.height ? (D(), s("span", ql, L(B(Yc)(e)), 1)) : o("", !0)
7043
+ }, L(S(e)), 9, Hl),
7044
+ c("div", Ul, [
7045
+ e.size == null ? o("", !0) : (D(), s("span", Wl, L(B(Kc)(e.size)), 1)),
7046
+ e.size != null && e.width && e.height ? (D(), s("span", Gl)) : o("", !0),
7047
+ e.width && e.height ? (D(), s("span", Kl, L(B(Jc)(e)), 1)) : o("", !0)
7048
7048
  ]),
7049
- c("div", Jl, [c("button", {
7049
+ c("div", ql, [c("button", {
7050
7050
  class: "action preview",
7051
7051
  onClick: (t) => A(e),
7052
7052
  type: "button"
@@ -7061,7 +7061,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7061
7061
  cx: "12",
7062
7062
  cy: "12",
7063
7063
  r: "3"
7064
- })], -1), d(" 預覽 ", -1)]], 8, Yl), r.readonly ? o("", !0) : (D(), s("button", {
7064
+ })], -1), d(" 預覽 ", -1)]], 8, Jl), r.readonly ? o("", !0) : (D(), s("button", {
7065
7065
  key: 0,
7066
7066
  class: "action delete",
7067
7067
  "aria-label": "刪除",
@@ -7075,7 +7075,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7075
7075
  "stroke-width": "2",
7076
7076
  "stroke-linecap": "round",
7077
7077
  "stroke-linejoin": "round"
7078
- }, [c("path", { d: "M3 6h18M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2m2 0v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" }), c("path", { d: "M10 11v6M14 11v6" })], -1)]], 8, Xl))])
7078
+ }, [c("path", { d: "M3 6h18M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2m2 0v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" }), c("path", { d: "M10 11v6M14 11v6" })], -1)]], 8, Yl))])
7079
7079
  ])]))), 128)), r.multiple && !r.readonly ? (D(), s("div", v({
7080
7080
  key: 0,
7081
7081
  class: ["add-card", { "is-drag": B(E) }]
@@ -7099,11 +7099,11 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7099
7099
  key: 0,
7100
7100
  class: "ii-modal",
7101
7101
  onClick: K(N, ["self"])
7102
- }, [c("div", Zl, [c("div", Ql, [p.value?.url ? (D(), s("img", {
7102
+ }, [c("div", Xl, [c("div", Zl, [p.value?.url ? (D(), s("img", {
7103
7103
  key: 0,
7104
7104
  src: p.value.url,
7105
7105
  alt: p.value ? S(p.value) : ""
7106
- }, null, 8, $l)) : (D(), s("div", eu, " 示範圖片 · 上傳真實檔案即可在此檢視 "))]), c("div", tu, [c("div", nu, [c("div", ru, L(p.value ? S(p.value) : ""), 1), c("div", iu, L(P.value), 1)]), c("button", {
7106
+ }, null, 8, Ql)) : (D(), s("div", $l, " 示範圖片 · 上傳真實檔案即可在此檢視 "))]), c("div", eu, [c("div", tu, [c("div", nu, L(p.value ? S(p.value) : ""), 1), c("div", ru, L(P.value), 1)]), c("button", {
7107
7107
  class: "ii-modal-close",
7108
7108
  "aria-label": "關閉",
7109
7109
  onClick: N,
@@ -7120,40 +7120,40 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7120
7120
  })]))
7121
7121
  ], 2));
7122
7122
  }
7123
- }), [["__scopeId", "data-v-68af7848"]]), ou = {
7123
+ }), [["__scopeId", "data-v-68af7848"]]), au = {
7124
7124
  key: 0,
7125
7125
  class: "head"
7126
- }, su = ["textContent"], cu = {
7126
+ }, ou = ["textContent"], su = {
7127
7127
  key: 1,
7128
7128
  class: "count-chip"
7129
- }, lu = {
7129
+ }, cu = {
7130
7130
  key: 0,
7131
7131
  class: "icon",
7132
7132
  "aria-hidden": "true"
7133
- }, uu = ["textContent"], du = ["textContent"], fu = {
7133
+ }, lu = ["textContent"], uu = ["textContent"], du = {
7134
7134
  key: 2,
7135
7135
  class: "list"
7136
- }, pu = [
7136
+ }, fu = [
7137
7137
  "src",
7138
7138
  "onLoadedmetadata",
7139
7139
  "onTimeupdate",
7140
7140
  "onEnded"
7141
- ], mu = [
7141
+ ], pu = [
7142
7142
  "aria-label",
7143
7143
  "disabled",
7144
7144
  "onClick"
7145
- ], hu = {
7145
+ ], mu = {
7146
7146
  key: 0,
7147
7147
  viewBox: "0 0 24 24",
7148
7148
  fill: "currentColor"
7149
- }, gu = {
7149
+ }, hu = {
7150
7150
  key: 1,
7151
7151
  viewBox: "0 0 24 24",
7152
7152
  fill: "currentColor"
7153
- }, _u = { class: "meta" }, vu = ["title"], yu = { class: "sub" }, bu = ["onMousedown", "onTouchstart"], xu = {
7153
+ }, gu = { class: "meta" }, _u = ["title"], vu = { class: "sub" }, yu = ["onMousedown", "onTouchstart"], bu = {
7154
7154
  key: 1,
7155
7155
  class: "track"
7156
- }, Su = { class: "time" }, Cu = ["disabled", "onClick"], wu = { class: "meta" }, Tu = { class: "name" }, Eu = 30, Du = 256, Ou = 5, ku = /* @__PURE__ */ J(/* @__PURE__ */ p({
7156
+ }, xu = { class: "time" }, Su = ["disabled", "onClick"], Cu = { class: "meta" }, wu = { class: "name" }, Tu = 30, Eu = 256, Du = 5, Ou = /* @__PURE__ */ J(/* @__PURE__ */ p({
7157
7157
  __name: "NAudioSelect",
7158
7158
  props: {
7159
7159
  modelValue: { default: () => [] },
@@ -7204,8 +7204,8 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7204
7204
  let e = 0;
7205
7205
  if (r.forEach((t) => {
7206
7206
  t.refCount <= 0 && (e += 1);
7207
- }), !(e <= Eu)) {
7208
- for (let [t, n] of r) if (!(n.refCount > 0) && (r.delete(t), --e, e <= Eu)) break;
7207
+ }), !(e <= Tu)) {
7208
+ for (let [t, n] of r) if (!(n.refCount > 0) && (r.delete(t), --e, e <= Tu)) break;
7209
7209
  }
7210
7210
  }, f = (e, t) => {
7211
7211
  if (!e) return;
@@ -7219,9 +7219,9 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7219
7219
  n <= 0 || (n === 1 ? E.delete(e) : E.set(e, n - 1), f(e, t));
7220
7220
  }, N = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), ee = (e, t) => {
7221
7221
  t ? N.set(e, t) : N.delete(e);
7222
- }, te = i(() => t.modelValue.length), ne = () => Qc("a"), F = (e) => Xc(e, "音訊"), I = null, re = () => (I ||= new (window.AudioContext || window.webkitAudioContext)(), I), R = async (e) => {
7223
- let t = await re().decodeAudioData(e.slice(0)), n = t.getChannelData(0), r = Math.floor(n.length / Du) || 1, i = Array(Du), a = 0;
7224
- for (let e = 0; e < Du; e++) {
7222
+ }, te = i(() => t.modelValue.length), ne = () => Zc("a"), F = (e) => Yc(e, "音訊"), I = null, re = () => (I ||= new (window.AudioContext || window.webkitAudioContext)(), I), R = async (e) => {
7223
+ let t = await re().decodeAudioData(e.slice(0)), n = t.getChannelData(0), r = Math.floor(n.length / Eu) || 1, i = Array(Eu), a = 0;
7224
+ for (let e = 0; e < Eu; e++) {
7225
7225
  let t = 0, o = e * r, s = Math.min(n.length, o + r);
7226
7226
  for (let e = o; e < s; e++) {
7227
7227
  let r = Math.abs(n[e]);
@@ -7230,7 +7230,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7230
7230
  i[e] = t, t > a && (a = t);
7231
7231
  }
7232
7232
  let o = a > 0 ? 1 / a : 1;
7233
- for (let e = 0; e < Du; e++) i[e] = Math.max(.06, i[e] * o);
7233
+ for (let e = 0; e < Eu; e++) i[e] = Math.max(.06, i[e] * o);
7234
7234
  return {
7235
7235
  peaks: i,
7236
7236
  duration: t.duration
@@ -7243,7 +7243,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7243
7243
  H || requestAnimationFrame(() => V(e));
7244
7244
  return;
7245
7245
  }
7246
- let i = Math.max(8, Math.min(n.length, Math.floor((r + 2) / Ou)));
7246
+ let i = Math.max(8, Math.min(n.length, Math.floor((r + 2) / Du)));
7247
7247
  if (x[e] && x[e].length === i) return;
7248
7248
  let a = Array(i);
7249
7249
  for (let e = 0; e < i; e++) {
@@ -7263,13 +7263,13 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7263
7263
  let n = t;
7264
7264
  n.dataset.waveId = e, P.set(e, n), H ? H.observe(n) : V(e);
7265
7265
  } else P.delete(e);
7266
- }, { isDragging: W, dropZoneHandlers: G } = tl({
7266
+ }, { isDragging: W, dropZoneHandlers: G } = el({
7267
7267
  isBlocked: () => t.disabled || t.readonly,
7268
7268
  accept: () => t.accept,
7269
7269
  multiple: () => t.multiple,
7270
7270
  onFiles: (e) => {
7271
7271
  if (t.disabled || t.readonly) return;
7272
- let n = el(e, {
7272
+ let n = $c(e, {
7273
7273
  accept: t.accept,
7274
7274
  fallbackTypePrefix: "audio/",
7275
7275
  maxSize: t.maxSize,
@@ -7313,7 +7313,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7313
7313
  confirmText: "移除",
7314
7314
  cancelText: "取消"
7315
7315
  })) return;
7316
- _.value === e && q(), Zc(n.url), k(n.url, !0), delete y[e], delete x[e], delete w[e], T.delete(e);
7316
+ _.value === e && q(), Xc(n.url), k(n.url, !0), delete y[e], delete x[e], delete w[e], T.delete(e);
7317
7317
  let r = t.modelValue.filter((t) => t.id !== e);
7318
7318
  p("update:modelValue", r), p("change", r), p("remove", n);
7319
7319
  }, q = () => {
@@ -7384,24 +7384,24 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7384
7384
  !e.url || T.has(e.id) || (T.add(e.id), y[e.id] || me(e));
7385
7385
  });
7386
7386
  }, { immediate: !0 }), C(() => {
7387
- g = !0, ue?.(), t.autoRevoke && t.modelValue.forEach((e) => Zc(e.url)), E.forEach((e, t) => {
7387
+ g = !0, ue?.(), t.autoRevoke && t.modelValue.forEach((e) => Xc(e.url)), E.forEach((e, t) => {
7388
7388
  for (let n = 0; n < e; n++) f(t, !1);
7389
7389
  }), E.clear(), H?.disconnect(), I &&= (I.close(), null);
7390
7390
  }), (n, r) => (D(), s("div", { class: b(["audio-input", {
7391
7391
  "is-disabled": t.disabled,
7392
7392
  "is-readonly": t.readonly
7393
- }]) }, [t.title || t.showCount ? (D(), s("div", ou, [t.title ? (D(), s("span", {
7393
+ }]) }, [t.title || t.showCount ? (D(), s("div", au, [t.title ? (D(), s("span", {
7394
7394
  key: 0,
7395
7395
  class: "title",
7396
7396
  textContent: L(t.title)
7397
- }, null, 8, su)) : o("", !0), t.showCount ? (D(), s("span", cu, L(te.value) + " 首", 1)) : o("", !0)])) : o("", !0), te.value === 0 && h.value.length === 0 ? (D(), s("div", v({
7397
+ }, null, 8, ou)) : o("", !0), t.showCount ? (D(), s("span", su, L(te.value) + " 首", 1)) : o("", !0)])) : o("", !0), te.value === 0 && h.value.length === 0 ? (D(), s("div", v({
7398
7398
  key: 1,
7399
7399
  class: ["empty", {
7400
7400
  "is-drag": B(W),
7401
7401
  "is-static": t.readonly
7402
7402
  }]
7403
7403
  }, t.readonly ? {} : B(G)), [
7404
- t.readonly ? o("", !0) : (D(), s("span", lu, [...r[0] ||= [c("svg", {
7404
+ t.readonly ? o("", !0) : (D(), s("span", cu, [...r[0] ||= [c("svg", {
7405
7405
  viewBox: "0 0 24 24",
7406
7406
  fill: "none",
7407
7407
  stroke: "currentColor",
@@ -7421,12 +7421,12 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7421
7421
  r: "3"
7422
7422
  })
7423
7423
  ], -1)]])),
7424
- c("h3", { textContent: L(t.readonly ? "目前沒有音訊" : t.emptyTitle) }, null, 8, uu),
7424
+ c("h3", { textContent: L(t.readonly ? "目前沒有音訊" : t.emptyTitle) }, null, 8, lu),
7425
7425
  t.readonly ? o("", !0) : (D(), s("p", {
7426
7426
  key: 1,
7427
7427
  textContent: L(t.emptyHint)
7428
- }, null, 8, du))
7429
- ], 16)) : (D(), s("div", fu, [
7428
+ }, null, 8, uu))
7429
+ ], 16)) : (D(), s("div", du, [
7430
7430
  (D(!0), s(e, null, M(t.modelValue, (n) => (D(), s("div", {
7431
7431
  key: n.id,
7432
7432
  class: b(["row", { "is-playing": _.value === n.id }])
@@ -7439,14 +7439,14 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7439
7439
  onLoadedmetadata: (e) => he(n.id, e),
7440
7440
  onTimeupdate: (e) => se(n.id, e),
7441
7441
  onEnded: (e) => ce(n.id)
7442
- }, null, 40, pu),
7442
+ }, null, 40, fu),
7443
7443
  c("button", {
7444
7444
  class: "play-btn",
7445
7445
  "aria-label": _.value === n.id ? "暫停" : "播放",
7446
7446
  disabled: !n.url,
7447
7447
  onClick: (e) => oe(n.id),
7448
7448
  type: "button"
7449
- }, [_.value === n.id ? (D(), s("svg", hu, [...r[1] ||= [c("rect", {
7449
+ }, [_.value === n.id ? (D(), s("svg", mu, [...r[1] ||= [c("rect", {
7450
7450
  x: "6",
7451
7451
  y: "5",
7452
7452
  width: "4",
@@ -7458,11 +7458,11 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7458
7458
  width: "4",
7459
7459
  height: "14",
7460
7460
  rx: "1"
7461
- }, null, -1)]])) : (D(), s("svg", gu, [...r[2] ||= [c("path", { d: "M8 5v14l11-7z" }, null, -1)]]))], 8, mu),
7462
- c("div", _u, [c("div", {
7461
+ }, null, -1)]])) : (D(), s("svg", hu, [...r[2] ||= [c("path", { d: "M8 5v14l11-7z" }, null, -1)]]))], 8, pu),
7462
+ c("div", gu, [c("div", {
7463
7463
  class: "name",
7464
7464
  title: F(n)
7465
- }, L(F(n)), 9, vu), c("div", yu, [n.size == null ? o("", !0) : (D(), s(e, { key: 0 }, [d(L(B(qc)(n.size)) + " · ", 1)], 64)), d(" " + L(B(Jc)(n.duration)), 1)])]),
7465
+ }, L(F(n)), 9, _u), c("div", vu, [n.size == null ? o("", !0) : (D(), s(e, { key: 0 }, [d(L(B(Kc)(n.size)) + " · ", 1)], 64)), d(" " + L(B(qc)(n.duration)), 1)])]),
7466
7466
  c("div", {
7467
7467
  class: b(["wave", { "is-track": !x[n.id]?.length }]),
7468
7468
  ref_for: !0,
@@ -7473,11 +7473,11 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7473
7473
  key: t,
7474
7474
  class: b(["bar", { "is-played": Y(n, t) }]),
7475
7475
  style: S({ height: Math.max(2, Math.round(e * 34)) + "px" })
7476
- }, null, 6))), 128)) : (D(), s("div", xu, [c("div", {
7476
+ }, null, 6))), 128)) : (D(), s("div", bu, [c("div", {
7477
7477
  class: "track-fill",
7478
7478
  style: S({ width: de(n) * 100 + "%" })
7479
- }, null, 4)]))], 42, bu),
7480
- c("div", Su, L(B(Jc)(w[n.id] || 0)) + " / " + L(B(Jc)(n.duration)), 1),
7479
+ }, null, 4)]))], 42, yu),
7480
+ c("div", xu, L(B(qc)(w[n.id] || 0)) + " / " + L(B(qc)(n.duration)), 1),
7481
7481
  t.readonly ? o("", !0) : (D(), s("button", {
7482
7482
  key: 0,
7483
7483
  class: "del-btn",
@@ -7492,7 +7492,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7492
7492
  "stroke-width": "1.8",
7493
7493
  "stroke-linecap": "round",
7494
7494
  "stroke-linejoin": "round"
7495
- }, [c("path", { d: "M3 6h18M8 6V4h8v2M6 6l1 14h10l1-14" })], -1)]], 8, Cu))
7495
+ }, [c("path", { d: "M3 6h18M8 6V4h8v2M6 6l1 14h10l1-14" })], -1)]], 8, Su))
7496
7496
  ], 2))), 128)),
7497
7497
  (D(!0), s(e, null, M(h.value, (e) => (D(), s("div", {
7498
7498
  key: e.tag,
@@ -7506,18 +7506,18 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7506
7506
  stroke: "currentColor",
7507
7507
  "stroke-width": "2",
7508
7508
  "stroke-linecap": "round"
7509
- }, [c("path", { d: "M12 3a9 9 0 1 0 9 9" })])], -1), c("div", wu, [c("div", Tu, L(e.name), 1), r[4] ||= c("div", { class: "sub" }, "解析波形中…", -1)])]))), 128)),
7509
+ }, [c("path", { d: "M12 3a9 9 0 1 0 9 9" })])], -1), c("div", Cu, [c("div", wu, L(e.name), 1), r[4] ||= c("div", { class: "sub" }, "解析波形中…", -1)])]))), 128)),
7510
7510
  t.multiple && !t.readonly ? (D(), s("div", v({
7511
7511
  key: 0,
7512
7512
  class: ["add", { "is-drag": B(W) }]
7513
7513
  }, B(G)), [...r[6] ||= [u("<span class=\"plus\" aria-hidden=\"true\" data-v-550a16fe><svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" data-v-550a16fe><path d=\"M12 5v14M5 12h14\" data-v-550a16fe></path></svg></span><div class=\"add-text\" data-v-550a16fe><div class=\"t\" data-v-550a16fe>新增音訊</div><div class=\"d\" data-v-550a16fe>點擊或拖放檔案 · MP3 / WAV / OGG / M4A</div></div>", 2)]], 16)) : o("", !0)
7514
7514
  ]))], 2));
7515
7515
  }
7516
- }), [["__scopeId", "data-v-550a16fe"]]), Au = [
7516
+ }), [["__scopeId", "data-v-550a16fe"]]), ku = [
7517
7517
  "src",
7518
7518
  "alt",
7519
7519
  "loading"
7520
- ], ju = ["src", "alt"], Mu = /* @__PURE__ */ J(/* @__PURE__ */ p({
7520
+ ], Au = ["src", "alt"], ju = /* @__PURE__ */ J(/* @__PURE__ */ p({
7521
7521
  __name: "NImage",
7522
7522
  props: {
7523
7523
  src: {},
@@ -7577,7 +7577,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7577
7577
  onClick: _,
7578
7578
  onLoad: h,
7579
7579
  onError: g
7580
- }, null, 44, Au), (D(), a(t, { to: "body" }, [f(n, { name: "n-image-fade" }, {
7580
+ }, null, 44, ku), (D(), a(t, { to: "body" }, [f(n, { name: "n-image-fade" }, {
7581
7581
  default: W(() => [u.value ? (D(), s("div", {
7582
7582
  key: 0,
7583
7583
  class: "n-image-overlay",
@@ -7597,14 +7597,14 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7597
7597
  class: "n-image-preview",
7598
7598
  src: m.value,
7599
7599
  alt: e.alt
7600
- }, null, 8, ju)], 4)) : o("", !0)]),
7600
+ }, null, 8, Au)], 4)) : o("", !0)]),
7601
7601
  _: 1
7602
7602
  })]))], 2));
7603
7603
  }
7604
- }), [["__scopeId", "data-v-6cfc93a7"]]), Nu = {
7604
+ }), [["__scopeId", "data-v-6cfc93a7"]]), Mu = {
7605
7605
  class: "hint-icon",
7606
7606
  "aria-hidden": "true"
7607
- }, Pu = { class: "hint-content" }, Fu = /* @__PURE__ */ J(/* @__PURE__ */ p({
7607
+ }, Nu = { class: "hint-content" }, Pu = /* @__PURE__ */ J(/* @__PURE__ */ p({
7608
7608
  __name: "NHint",
7609
7609
  props: { intent: { default: "warning" } },
7610
7610
  setup(e) {
@@ -7619,15 +7619,15 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7619
7619
  return (t, r) => (D(), s("p", {
7620
7620
  class: b(["hint", `intent-${e.intent}`]),
7621
7621
  role: "note"
7622
- }, [c("span", Nu, L(n.value), 1), c("span", Pu, [N(t.$slots, "default", {}, void 0, !0)])], 2));
7622
+ }, [c("span", Mu, L(n.value), 1), c("span", Nu, [N(t.$slots, "default", {}, void 0, !0)])], 2));
7623
7623
  }
7624
- }), [["__scopeId", "data-v-d19725b3"]]), Iu = { class: "header" }, Lu = { class: "brand-logo" }, Ru = { class: "logo-text" }, zu = { class: "logo-icon" }, Bu = { class: "nav" }, Vu = ["onClick"], Hu = ["innerHTML"], Uu = { class: "nav-list" }, Wu = ["href", "onClick"], Gu = ["innerHTML"], Ku = { class: "nav-text" }, qu = ["href", "onClick"], Ju = { class: "title no-children" }, Yu = ["innerHTML"], Xu = { class: "user-capsule" }, Zu = { class: "user-avatar" }, Qu = ["src"], $u = {
7624
+ }), [["__scopeId", "data-v-d19725b3"]]), Fu = { class: "header" }, Iu = { class: "brand-logo" }, Lu = { class: "logo-text" }, Ru = { class: "logo-icon" }, zu = { class: "nav" }, Bu = ["onClick"], Vu = ["innerHTML"], Hu = { class: "nav-list" }, Uu = ["href", "onClick"], Wu = ["innerHTML"], Gu = { class: "nav-text" }, Ku = ["href", "onClick"], qu = { class: "title no-children" }, Ju = ["innerHTML"], Yu = { class: "user-capsule" }, Xu = { class: "user-avatar" }, Zu = ["src"], Qu = {
7625
7625
  key: 1,
7626
7626
  xmlns: "http://www.w3.org/2000/svg",
7627
7627
  width: "36",
7628
7628
  height: "36",
7629
7629
  viewBox: "0 0 36 36"
7630
- }, ed = { class: "user-info" }, td = { class: "user-name-row" }, nd = { class: "user-name" }, rd = /* @__PURE__ */ J(/* @__PURE__ */ p({
7630
+ }, $u = { class: "user-info" }, ed = { class: "user-name-row" }, td = { class: "user-name" }, nd = /* @__PURE__ */ J(/* @__PURE__ */ p({
7631
7631
  __name: "NSidebar",
7632
7632
  props: {
7633
7633
  title: { default: "" },
@@ -7680,8 +7680,8 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7680
7680
  class: "content",
7681
7681
  onMouseenter: i[2] ||= (e) => m.value = !0
7682
7682
  }, [
7683
- N(r.$slots, "header", {}, () => [c("div", Iu, [c("div", Lu, [c("span", Ru, L(n.title), 1), c("span", zu, L(n.title.substring(0, 1).toUpperCase()), 1)])])], !0),
7684
- c("div", Bu, [(D(!0), s(e, null, M(n.menus, (t) => (D(), s(e, null, [t.children?.length ? (D(), s("div", {
7683
+ N(r.$slots, "header", {}, () => [c("div", Fu, [c("div", Iu, [c("span", Lu, L(n.title), 1), c("span", Ru, L(n.title.substring(0, 1).toUpperCase()), 1)])])], !0),
7684
+ c("div", zu, [(D(!0), s(e, null, M(n.menus, (t) => (D(), s(e, null, [t.children?.length ? (D(), s("div", {
7685
7685
  key: 0,
7686
7686
  class: b(["menu", {
7687
7687
  open: g.value.get(t.title),
@@ -7690,7 +7690,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7690
7690
  }, [c("div", {
7691
7691
  class: "title",
7692
7692
  onClick: (e) => B(l)(t.title)
7693
- }, [c("div", null, [c("div", { innerHTML: t.icon }, null, 8, Hu), c("span", null, L(t.title), 1)]), i[6] ||= c("svg", {
7693
+ }, [c("div", null, [c("div", { innerHTML: t.icon }, null, 8, Vu), c("span", null, L(t.title), 1)]), i[6] ||= c("svg", {
7694
7694
  xmlns: "http://www.w3.org/2000/svg",
7695
7695
  width: "14",
7696
7696
  height: "14",
@@ -7701,23 +7701,23 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7701
7701
  "stroke-linecap": "round",
7702
7702
  "stroke-linejoin": "round",
7703
7703
  class: "icon"
7704
- }, [c("path", { d: "m9 18 6-6-6-6" })], -1)], 8, Vu), c("div", Uu, [c("div", null, [(D(!0), s(e, null, M(t.children, (e) => (D(), s("a", {
7704
+ }, [c("path", { d: "m9 18 6-6-6-6" })], -1)], 8, Bu), c("div", Hu, [c("div", null, [(D(!0), s(e, null, M(t.children, (e) => (D(), s("a", {
7705
7705
  href: e.route,
7706
7706
  onClick: K((t) => y(e), ["prevent"])
7707
- }, [c("div", { class: b(["nav-item", { active: v.value.get(e.route) }]) }, [c("div", { innerHTML: e.icon }, null, 8, Gu), c("span", Ku, L(e.title), 1)], 2)], 8, Wu))), 256))])])], 2)) : (D(), s("div", {
7707
+ }, [c("div", { class: b(["nav-item", { active: v.value.get(e.route) }]) }, [c("div", { innerHTML: e.icon }, null, 8, Wu), c("span", Gu, L(e.title), 1)], 2)], 8, Uu))), 256))])])], 2)) : (D(), s("div", {
7708
7708
  key: 1,
7709
7709
  class: b(["menu", { active: _.value.get(t.title) }])
7710
7710
  }, [c("a", {
7711
7711
  href: t.route,
7712
7712
  onClick: K((e) => x(t), ["prevent"])
7713
- }, [c("div", Ju, [c("div", null, [c("div", { innerHTML: t.icon }, null, 8, Yu), c("span", null, L(t.title), 1)])])], 8, qu)], 2))], 64))), 256))]),
7714
- c("div", Xu, [N(r.$slots, "user", {}, () => [
7715
- c("div", Zu, [n.userAvatarUrl ? (D(), s("img", {
7713
+ }, [c("div", qu, [c("div", null, [c("div", { innerHTML: t.icon }, null, 8, Ju), c("span", null, L(t.title), 1)])])], 8, Ku)], 2))], 64))), 256))]),
7714
+ c("div", Yu, [N(r.$slots, "user", {}, () => [
7715
+ c("div", Xu, [n.userAvatarUrl ? (D(), s("img", {
7716
7716
  key: 0,
7717
7717
  src: n.userAvatarUrl,
7718
7718
  alt: "User Avatar"
7719
- }, null, 8, Qu)) : (D(), s("svg", $u, [...i[7] ||= [u("<defs data-v-beb07b23><clipPath id=\"avatarClip\" data-v-beb07b23><circle cx=\"18\" cy=\"18\" r=\"18\" data-v-beb07b23></circle></clipPath></defs><circle cx=\"18\" cy=\"18\" r=\"18\" fill=\"#dbeafe\" data-v-beb07b23></circle><g clip-path=\"url(#avatarClip)\" data-v-beb07b23><circle cx=\"18\" cy=\"14\" r=\"6\" fill=\"#2563eb\" data-v-beb07b23></circle><path d=\"M6,34 Q6,24 18,24 Q30,24 30,34\" fill=\"#2563eb\" data-v-beb07b23></path></g>", 3)]]))]),
7720
- c("div", ed, [c("div", td, [c("span", nd, L(n.userName), 1)])]),
7719
+ }, null, 8, Zu)) : (D(), s("svg", Qu, [...i[7] ||= [u("<defs data-v-beb07b23><clipPath id=\"avatarClip\" data-v-beb07b23><circle cx=\"18\" cy=\"18\" r=\"18\" data-v-beb07b23></circle></clipPath></defs><circle cx=\"18\" cy=\"18\" r=\"18\" fill=\"#dbeafe\" data-v-beb07b23></circle><g clip-path=\"url(#avatarClip)\" data-v-beb07b23><circle cx=\"18\" cy=\"14\" r=\"6\" fill=\"#2563eb\" data-v-beb07b23></circle><path d=\"M6,34 Q6,24 18,24 Q30,24 30,34\" fill=\"#2563eb\" data-v-beb07b23></path></g>", 3)]]))]),
7720
+ c("div", $u, [c("div", ed, [c("span", td, L(n.userName), 1)])]),
7721
7721
  f(Y, {
7722
7722
  class: "logout-btn",
7723
7723
  intent: "error",
@@ -7756,7 +7756,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7756
7756
  }, null, 2)]))
7757
7757
  ], 34));
7758
7758
  }
7759
- }), [["__scopeId", "data-v-beb07b23"]]), id = { class: "layout" }, ad = { class: "main-content" }, od = { class: "copyright" }, sd = /* @__PURE__ */ J(/* @__PURE__ */ p({
7759
+ }), [["__scopeId", "data-v-beb07b23"]]), rd = { class: "layout" }, id = { class: "main-content" }, ad = { class: "copyright" }, od = /* @__PURE__ */ J(/* @__PURE__ */ p({
7760
7760
  __name: "NLayout",
7761
7761
  props: {
7762
7762
  title: { default: "NICKLABS" },
@@ -7772,7 +7772,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7772
7772
  emits: ["logout", "navigate"],
7773
7773
  setup(e, { emit: t }) {
7774
7774
  let n = zi(), r = t;
7775
- return (t, i) => (D(), s("div", id, [e.isShowSidebar ? (D(), a(rd, {
7775
+ return (t, i) => (D(), s("div", rd, [e.isShowSidebar ? (D(), a(nd, {
7776
7776
  key: 0,
7777
7777
  title: e.title,
7778
7778
  userName: e.userName,
@@ -7788,18 +7788,18 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7788
7788
  "isOpen",
7789
7789
  "menus",
7790
7790
  "currentPath"
7791
- ])) : o("", !0), c("main", ad, [N(t.$slots, "default", {}, void 0, !0), c("div", od, L(e.copyright), 1)])]));
7791
+ ])) : o("", !0), c("main", id, [N(t.$slots, "default", {}, void 0, !0), c("div", ad, L(e.copyright), 1)])]));
7792
7792
  }
7793
- }), [["__scopeId", "data-v-41b1eb44"]]), cd = { class: "topbar" }, ld = { class: "topbar-left" }, ud = { class: "topbar-right" }, dd = {
7793
+ }), [["__scopeId", "data-v-41b1eb44"]]), sd = { class: "topbar" }, cd = { class: "topbar-left" }, ld = { class: "topbar-right" }, ud = {
7794
7794
  key: 0,
7795
7795
  class: "pill"
7796
- }, fd = {
7796
+ }, dd = {
7797
7797
  key: 0,
7798
7798
  class: "name"
7799
- }, pd = {
7799
+ }, fd = {
7800
7800
  key: 1,
7801
7801
  class: "separator"
7802
- }, md = /* @__PURE__ */ J(/* @__PURE__ */ p({
7802
+ }, pd = /* @__PURE__ */ J(/* @__PURE__ */ p({
7803
7803
  __name: "NNavigation",
7804
7804
  props: {
7805
7805
  isShowSidebar: {
@@ -7824,7 +7824,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7824
7824
  let n = t, r = () => {
7825
7825
  document.fullscreenElement ? document.exitFullscreen?.() : document.documentElement.requestFullscreen();
7826
7826
  };
7827
- return (t, i) => (D(), s("header", cd, [c("div", ld, [e.isShowSidebar ? (D(), a(Y, {
7827
+ return (t, i) => (D(), s("header", sd, [c("div", cd, [e.isShowSidebar ? (D(), a(Y, {
7828
7828
  key: 0,
7829
7829
  onClick: i[0] ||= (e) => n("toggleSidebar"),
7830
7830
  padding: "8px"
@@ -7867,9 +7867,9 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7867
7867
  c("path", { d: "M16 21h3a2 2 0 0 0 2-2v-3" })
7868
7868
  ], -1)]]),
7869
7869
  _: 1
7870
- })) : o("", !0)]), c("div", ud, [e.isShowUser || e.isShowLogoutButton ? (D(), s("div", dd, [
7871
- e.isShowUser ? (D(), s("span", fd, "Nick")) : o("", !0),
7872
- e.isShowUser && e.isShowLogoutButton ? (D(), s("div", pd)) : o("", !0),
7870
+ })) : o("", !0)]), c("div", ld, [e.isShowUser || e.isShowLogoutButton ? (D(), s("div", ud, [
7871
+ e.isShowUser ? (D(), s("span", dd, "Nick")) : o("", !0),
7872
+ e.isShowUser && e.isShowLogoutButton ? (D(), s("div", fd)) : o("", !0),
7873
7873
  e.isShowLogoutButton ? (D(), a(Y, {
7874
7874
  key: 2,
7875
7875
  variant: "mute",
@@ -7895,10 +7895,10 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7895
7895
  })) : o("", !0)
7896
7896
  ])) : o("", !0)])]));
7897
7897
  }
7898
- }), [["__scopeId", "data-v-f38a4beb"]]), hd = { class: "brand" }, gd = ["src", "alt"], _d = {
7898
+ }), [["__scopeId", "data-v-f38a4beb"]]), md = { class: "brand" }, hd = ["src", "alt"], gd = {
7899
7899
  key: 1,
7900
7900
  class: "icon"
7901
- }, vd = { key: 2 }, yd = { key: 3 }, bd = /* @__PURE__ */ J(/* @__PURE__ */ p({
7901
+ }, _d = { key: 2 }, vd = { key: 3 }, yd = /* @__PURE__ */ J(/* @__PURE__ */ p({
7902
7902
  __name: "NLoginLayout",
7903
7903
  props: {
7904
7904
  backgroundImage: { default: "" },
@@ -7916,15 +7916,15 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7916
7916
  radius: "xl",
7917
7917
  class: "card"
7918
7918
  }, {
7919
- default: W(() => [c("div", hd, [
7919
+ default: W(() => [c("div", md, [
7920
7920
  t.value ? (D(), s("img", {
7921
7921
  key: 0,
7922
7922
  class: "logo-img",
7923
7923
  src: e.logo,
7924
7924
  alt: e.title
7925
- }, null, 8, gd)) : (D(), s("div", _d, L(e.logo), 1)),
7926
- e.title ? (D(), s("h1", vd, L(e.title), 1)) : o("", !0),
7927
- e.description ? (D(), s("p", yd, L(e.description), 1)) : o("", !0)
7925
+ }, null, 8, hd)) : (D(), s("div", gd, L(e.logo), 1)),
7926
+ e.title ? (D(), s("h1", _d, L(e.title), 1)) : o("", !0),
7927
+ e.description ? (D(), s("p", vd, L(e.description), 1)) : o("", !0)
7928
7928
  ]), N(n.$slots, "default", {}, void 0, !0)]),
7929
7929
  _: 3
7930
7930
  })], 4));
@@ -7932,7 +7932,7 @@ var qc = (e) => e == null ? "—" : e < 1024 ? e + " B" : e < 1048576 ? (e / 102
7932
7932
  }), [["__scopeId", "data-v-f0866bc5"]]);
7933
7933
  //#endregion
7934
7934
  //#region src/composables/useRouteModal.ts
7935
- function xd(e) {
7935
+ function bd(e) {
7936
7936
  let t = i(() => {
7937
7937
  let t = se();
7938
7938
  return t ? t.currentRoute.value.matched.some((t) => t.name === e.routeName) : !1;
@@ -7956,7 +7956,7 @@ function xd(e) {
7956
7956
  }
7957
7957
  //#endregion
7958
7958
  //#region src/index.ts
7959
- var Sd = {
7959
+ var xd = {
7960
7960
  NButton: Y,
7961
7961
  NBreadcrumb: _e,
7962
7962
  NInput: X,
@@ -7979,21 +7979,21 @@ var Sd = {
7979
7979
  NDrawer: Ms,
7980
7980
  NAlert: Vs,
7981
7981
  NTable: Ia,
7982
- NVirtualTable: Gc,
7983
- NVideoSelect: jl,
7984
- NImageSelect: au,
7985
- NAudioSelect: ku,
7986
- NImage: Mu,
7987
- NHint: Fu,
7988
- NLayout: sd,
7989
- NNavigation: md,
7990
- NSidebar: rd,
7982
+ NVirtualTable: Wc,
7983
+ NVideoSelect: Al,
7984
+ NImageSelect: iu,
7985
+ NAudioSelect: Ou,
7986
+ NImage: ju,
7987
+ NHint: Pu,
7988
+ NLayout: od,
7989
+ NNavigation: pd,
7990
+ NSidebar: nd,
7991
7991
  NCard: ra,
7992
- NLoginLayout: bd
7993
- }, Cd = { install(e, t = {}) {
7994
- Object.entries(Sd).forEach(([t, n]) => {
7992
+ NLoginLayout: yd
7993
+ }, Sd = { install(e, t = {}) {
7994
+ Object.entries(xd).forEach(([t, n]) => {
7995
7995
  e.component(t, n);
7996
7996
  }), t.router && oe(t.router);
7997
7997
  } };
7998
7998
  //#endregion
7999
- export { Vs as NAlert, ku as NAudioSelect, Y as NButton, ra as NCard, Fe as NCheckbox, ro as NCode, fs as NDatePicker, Ms as NDrawer, pa as NEmpty, Fi as NFileSelect, na as NForm, Fu as NHint, Mu as NImage, au as NImageSelect, X as NInput, sd as NLayout, za as NList, wa as NLoading, bd as NLoginLayout, Ds as NModal, md as NNavigation, lr as NSelect, rd as NSidebar, ao as NSwitch, Ia as NTable, oo as NTag, Oe as NTextarea, xs as NTimePicker, Ja as NToast, Ss as NTooltip, jl as NVideoSelect, Gc as NVirtualTable, Cd as NickLabsUI, bi as useAlert, pe as useBreadcrumb, Kc as useDisclosure, xd as useRouteModal, zi as useSidebarManager, Ha as useToast };
7999
+ export { Vs as NAlert, Ou as NAudioSelect, Y as NButton, ra as NCard, Fe as NCheckbox, ro as NCode, fs as NDatePicker, Ms as NDrawer, pa as NEmpty, Fi as NFileSelect, na as NForm, Pu as NHint, ju as NImage, iu as NImageSelect, X as NInput, od as NLayout, za as NList, wa as NLoading, yd as NLoginLayout, Ds as NModal, pd as NNavigation, lr as NSelect, nd as NSidebar, ao as NSwitch, Ia as NTable, oo as NTag, Oe as NTextarea, xs as NTimePicker, Ja as NToast, Ss as NTooltip, Al as NVideoSelect, Wc as NVirtualTable, Sd as NickLabsUI, bi as useAlert, pe as useBreadcrumb, Gc as useDisclosure, bd as useRouteModal, zi as useSidebarManager, Ha as useToast };