legato-ui 1.2.0 → 1.2.1

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/CHANGELOG.md CHANGED
@@ -7,6 +7,16 @@ Historical generated Changeset paragraphs are preserved in [the maintainer archi
7
7
 
8
8
  ## Unreleased
9
9
 
10
+ ## 1.2.1
11
+
12
+ ### Fixed
13
+
14
+ - Keep each `WlField` label linked to its input when sibling `Suspense` branches hydrate in a different order. Replacing an input or inserting another field during hydration preserves unique control IDs.
15
+ - Omit disabled `WlSelect` fields from native form submissions. Re-enabling the field submits its current value once.
16
+ - Keep the selected `WlTabs` tab in the Tab order when tabs are reordered or new tabs are inserted before it.
17
+ - Stepping `WlNumberInput` from `0.2` by `0.1` now displays and emits `0.3` without requiring an explicit `precision`. Stepping back restores `0.2`.
18
+ - Full themes from `createWlTheme` now apply their own `text-rendering` setting when nested inside another theme.
19
+
10
20
  ## 1.2.0 — 2026-11-21
11
21
 
12
22
  ### Added
package/README.md CHANGED
@@ -7,7 +7,7 @@ A Vue 3 + TypeScript component library and design system. Plain CSS, seven theme
7
7
  explicit style imports and no runtime dependencies. Vue `^3.4.0` is the only
8
8
  required peer. TypeScript consumers need TypeScript 5.4 or later.
9
9
 
10
- Source and package archive version: **1.2.0**.
10
+ Source and package archive version: **1.2.1**.
11
11
  Prerelease versions use npm `next` after publication; opt in with `legato-ui@next`
12
12
  or an exact candidate version. The ordinary install command below selects stable.
13
13
  [Documentation](https://whitewolf06.github.io/legato-ui/docs/) ·
@@ -1,4 +1,4 @@
1
- import { i as e, t, w as n } from "./KbPin6nM.js";
1
+ import { T as e, i as t, t as n } from "./Yh9MCKqK.js";
2
2
  import { computed as r, effectScope as i, getCurrentInstance as a, inject as o, isReactive as s, nextTick as c, normalizeClass as l, onBeforeUnmount as u, onMounted as d, onScopeDispose as f, ref as p, shallowReactive as m, shallowRef as h, toRaw as g, watch as _, watchEffect as v } from "vue";
3
3
  //#region src/composables/useWlControllable.ts
4
4
  function y(e) {
@@ -33,7 +33,7 @@ function b(e = {}) {
33
33
  //#region src/theme.ts
34
34
  var x = (...e) => e.filter(Boolean).join(" ");
35
35
  function S(e = {}) {
36
- return t({
36
+ return n({
37
37
  checkbox: {
38
38
  input: { class: "wl-check-input" },
39
39
  box: (e) => ({ class: x("wl-checkbox__box", e.context.checked && "is-checked", e.context.indeterminate && "is-indeterminate") }),
@@ -280,29 +280,29 @@ function j(e, t) {
280
280
  function M(e, t) {
281
281
  return A(typeof e == "function" ? e({ context: t }) : e);
282
282
  }
283
- function N(e, t) {
283
+ function N(t, n) {
284
284
  let r = k();
285
285
  return (i, a) => {
286
- if (r.pt?.[e] === void 0 && t.value === void 0) {
287
- let t = j(w[e], i);
288
- if (typeof t != "function" || a === void 0) {
289
- let r = `${e}.${i}`, a = D.get(r);
290
- return a || (a = n(M(t, {})), a.class !== void 0 && (a.class = l(a.class)), Object.freeze(a), D.set(r, a)), a;
286
+ if (r.pt?.[t] === void 0 && n.value === void 0) {
287
+ let n = j(w[t], i);
288
+ if (typeof n != "function" || a === void 0) {
289
+ let r = `${t}.${i}`, a = D.get(r);
290
+ return a || (a = e(M(n, {})), a.class !== void 0 && (a.class = l(a.class)), Object.freeze(a), D.set(r, a)), a;
291
291
  }
292
292
  }
293
- return ie(e, i, r, t.value, a);
293
+ return ie(t, i, r, n.value, a);
294
294
  };
295
295
  }
296
- function ie(e, t, r = {}, i, a = {}) {
297
- return n(M(j(w[e], t), a), M(j(r.pt?.[e], t), a), M(j(i, t), a));
296
+ function ie(t, n, r = {}, i, a = {}) {
297
+ return e(M(j(w[t], n), a), M(j(r.pt?.[t], n), a), M(j(i, n), a));
298
298
  }
299
299
  function P(e) {
300
300
  let t = e?.$?.appContext;
301
301
  return t?.provides?.[C] ?? (t?.app ? T.get(t.app) : void 0) ?? {};
302
302
  }
303
303
  function F() {
304
- let t = k(), n = E.get(t);
305
- return n || (n = i(!0).run(() => r(() => e(t.locale))), E.set(t, n)), n;
304
+ let e = k(), n = E.get(e);
305
+ return n || (n = i(!0).run(() => r(() => t(e.locale))), E.set(e, n)), n;
306
306
  }
307
307
  function ae(e) {
308
308
  let t = k();
@@ -23,50 +23,63 @@ function i(e, n, r = 0) {
23
23
  let a = r + Math.round((t(e, r) - r) / i) * i;
24
24
  return Number.isFinite(a) ? Number(a.toPrecision(15)) : t(e, r);
25
25
  }
26
+ function a(e) {
27
+ let [t = "", n = "0"] = String(e).split("e"), [r = "", i = ""] = t.split(".");
28
+ return {
29
+ coefficient: BigInt(r + i),
30
+ exponent: Number(n) - i.length
31
+ };
32
+ }
33
+ function o(e, t) {
34
+ let n = e + t;
35
+ if (!Number.isFinite(n) || Number.isInteger(e) && Number.isInteger(t)) return n;
36
+ let r = a(e), i = a(t), o = Math.min(r.exponent, i.exponent), s = r.coefficient * 10n ** BigInt(r.exponent - o) + i.coefficient * 10n ** BigInt(i.exponent - o);
37
+ return Number(`${s}e${o}`);
38
+ }
26
39
  //#endregion
27
40
  //#region src/utils/format.ts
28
- var a = [
41
+ var s = [
29
42
  "byte",
30
43
  "kilobyte",
31
44
  "megabyte",
32
45
  "gigabyte",
33
46
  "terabyte"
34
- ], o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map();
35
- function c(e) {
47
+ ], c = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map();
48
+ function u(e) {
36
49
  try {
37
50
  return Intl.getCanonicalLocales(e)[0] ?? "en";
38
51
  } catch {
39
52
  return "en";
40
53
  }
41
54
  }
42
- function l(e, t) {
43
- let n = c(e), r = n + JSON.stringify(t), i = o.get(r);
44
- return i || (i = new Intl.NumberFormat(n, t), o.set(r, i)), i;
55
+ function d(e, t) {
56
+ let n = u(e), r = n + JSON.stringify(t), i = c.get(r);
57
+ return i || (i = new Intl.NumberFormat(n, t), c.set(r, i)), i;
45
58
  }
46
- function u(e, n, r = {}) {
47
- return l(e, r).format(t(n, 0));
59
+ function f(e, n, r = {}) {
60
+ return d(e, r).format(t(n, 0));
48
61
  }
49
- function d(e, t, n) {
50
- let r = c(e), i = s.get(r);
51
- return i || (i = new Intl.PluralRules(r), s.set(r, i)), (n[i.select(t)] ?? n.other).replace(/\{count\}/g, u(r, t));
62
+ function p(e, t, n) {
63
+ let r = u(e), i = l.get(r);
64
+ return i || (i = new Intl.PluralRules(r), l.set(r, i)), (n[i.select(t)] ?? n.other).replace(/\{count\}/g, f(r, t));
52
65
  }
53
- function f(e, n, r = {}) {
54
- let i = Math.max(0, t(n, 0)), o = r.maxUnit === void 0 ? a.length - 1 : a.indexOf(r.maxUnit), s = i === 0 ? 0 : Math.max(0, Math.min(Math.max(0, o), Math.floor(Math.log(i) / Math.log(1024)))), c = a[s], u = i / 1024 ** s, d = typeof r.maximumFractionDigits == "function" ? r.maximumFractionDigits(u, c) : r.maximumFractionDigits ?? (s === 0 ? 0 : 1), f = r.unitLabels?.[c], p = f === void 0 ? {
66
+ function m(e, n, r = {}) {
67
+ let i = Math.max(0, t(n, 0)), a = r.maxUnit === void 0 ? s.length - 1 : s.indexOf(r.maxUnit), o = i === 0 ? 0 : Math.max(0, Math.min(Math.max(0, a), Math.floor(Math.log(i) / Math.log(1024)))), c = s[o], l = i / 1024 ** o, u = typeof r.maximumFractionDigits == "function" ? r.maximumFractionDigits(l, c) : r.maximumFractionDigits ?? (o === 0 ? 0 : 1), f = r.unitLabels?.[c], p = f === void 0 ? {
55
68
  style: "unit",
56
69
  unit: c,
57
70
  unitDisplay: "short",
58
- maximumFractionDigits: d
59
- } : { maximumFractionDigits: d };
71
+ maximumFractionDigits: u
72
+ } : { maximumFractionDigits: u };
60
73
  r.useGrouping !== void 0 && (p.useGrouping = r.useGrouping);
61
- let m = l(e, p), h = r.decimalSeparator === void 0 ? m.format(u) : m.formatToParts(u).map((e) => e.type === "decimal" ? r.decimalSeparator : e.value).join("");
74
+ let m = d(e, p), h = r.decimalSeparator === void 0 ? m.format(l) : m.formatToParts(l).map((e) => e.type === "decimal" ? r.decimalSeparator : e.value).join("");
62
75
  return f === void 0 ? h : `${h} ${f}`;
63
76
  }
64
- function p(e, { max: n = 99 } = {}) {
77
+ function h(e, { max: n = 99 } = {}) {
65
78
  let r = Math.max(0, Math.floor(t(n, 99))), i = Math.max(0, Math.floor(t(e, 0)));
66
79
  return i > r ? `${r}+` : String(i);
67
80
  }
68
- function m(e, t, n = {}) {
69
- return u(e, t, {
81
+ function g(e, t, n = {}) {
82
+ return f(e, t, {
70
83
  maximumFractionDigits: 1,
71
84
  ...n,
72
85
  style: "percent"
@@ -74,20 +87,20 @@ function m(e, t, n = {}) {
74
87
  }
75
88
  //#endregion
76
89
  //#region src/utils/date.ts
77
- function h(e) {
90
+ function _(e) {
78
91
  let t = /^(\d{4})-(\d{2})-(\d{2})$/.exec(e);
79
92
  if (!t) return null;
80
93
  let n = Number(t[1]), r = Number(t[2]), i = Number(t[3]), a = /* @__PURE__ */ new Date(0);
81
94
  return a.setHours(0, 0, 0, 0), a.setFullYear(n, r - 1, i), a.getFullYear() === n && a.getMonth() === r - 1 && a.getDate() === i ? a : null;
82
95
  }
83
- function g(e) {
96
+ function v(e) {
84
97
  return Number.isFinite(e.getTime()) ? `${String(e.getFullYear()).padStart(4, "0")}-${String(e.getMonth() + 1).padStart(2, "0")}-${String(e.getDate()).padStart(2, "0")}` : "";
85
98
  }
86
- function _(e, t, n = {}) {
87
- let r = typeof t == "string" ? h(t) : t;
88
- return r && Number.isFinite(r.getTime()) ? new Intl.DateTimeFormat(c(e), n).format(r) : "";
99
+ function y(e, t, n = {}) {
100
+ let r = typeof t == "string" ? _(t) : t;
101
+ return r && Number.isFinite(r.getTime()) ? new Intl.DateTimeFormat(u(e), n).format(r) : "";
89
102
  }
90
- function v(e, t, n = Date.now()) {
103
+ function b(e, t, n = Date.now()) {
91
104
  let r = t instanceof Date ? t.getTime() : t, i = n instanceof Date ? n.getTime() : n;
92
105
  if (!Number.isFinite(r) || !Number.isFinite(i)) return "";
93
106
  let a = (r - i) / 1e3, [o, s] = [
@@ -98,24 +111,24 @@ function v(e, t, n = Date.now()) {
98
111
  ["hour", 3600],
99
112
  ["minute", 60]
100
113
  ].find(([, e]) => Math.abs(a) >= e) ?? ["second", 1];
101
- return new Intl.RelativeTimeFormat(c(e), { numeric: "auto" }).format(Math.round(a / s), o);
114
+ return new Intl.RelativeTimeFormat(u(e), { numeric: "auto" }).format(Math.round(a / s), o);
102
115
  }
103
- function y(e, t = "long") {
104
- let n = new Intl.DateTimeFormat(c(e), {
116
+ function x(e, t = "long") {
117
+ let n = new Intl.DateTimeFormat(u(e), {
105
118
  month: t,
106
119
  timeZone: "UTC"
107
120
  });
108
121
  return Array.from({ length: 12 }, (e, t) => n.format(new Date(Date.UTC(2024, t, 15))));
109
122
  }
110
- function b(e, t = "short") {
111
- let n = new Intl.DateTimeFormat(c(e), {
123
+ function S(e, t = "short") {
124
+ let n = new Intl.DateTimeFormat(u(e), {
112
125
  weekday: t,
113
126
  timeZone: "UTC"
114
127
  });
115
128
  return Array.from({ length: 7 }, (e, t) => n.format(new Date(Date.UTC(2024, 0, 7 + t))));
116
129
  }
117
- function x(e) {
118
- let t = new Intl.Locale(c(e)), n = t, r = n.getWeekInfo?.().firstDay ?? n.weekInfo?.firstDay;
130
+ function C(e) {
131
+ let t = new Intl.Locale(u(e)), n = t, r = n.getWeekInfo?.().firstDay ?? n.weekInfo?.firstDay;
119
132
  if (r !== void 0) return r % 7;
120
133
  let i = t.maximize().region ?? "US";
121
134
  return [
@@ -148,7 +161,7 @@ function x(e) {
148
161
  }
149
162
  //#endregion
150
163
  //#region src/locale.ts
151
- var S = {
164
+ var w = {
152
165
  showBreadcrumbs: "Показать весь путь",
153
166
  dateRangePresets: "Готовые диапазоны",
154
167
  colorHue: "Тон",
@@ -317,7 +330,7 @@ var S = {
317
330
  presenceBusy: "Занят",
318
331
  presenceOffline: "Не в сети",
319
332
  opensInNewTab: "Откроется в новой вкладке"
320
- }, C = {
333
+ }, T = {
321
334
  showBreadcrumbs: "Show full path",
322
335
  dateRangePresets: "Date range presets",
323
336
  colorHue: "Hue",
@@ -484,8 +497,8 @@ var S = {
484
497
  presenceBusy: "Busy",
485
498
  presenceOffline: "Offline",
486
499
  opensInNewTab: "Opens in a new tab"
487
- }, w = /* @__PURE__ */ "localeCode.close.remove.loading.options.noOptions.filter.removeItem.breadcrumbs.showOptions.password.showPassword.hidePassword.colorPalette.colorHex.searchPlaceholder.noResults.searching.commandPalette.confirmation.datePlaceholder.dateFrom.dateTo.chooseDateForLabel.newDateRange.chooseMonthCurrent.chooseYearCurrent.monthsOfYear.yearsRange.chooseFiles.fileDropLabel.dropFiles.fileByteUnit.fileKilobyteUnit.fileMegabyteUnit.decimalSeparator.fileUnsupportedType.fileTooLarge.fileSizeLimit.fileCountLimit.fileTooMany.filters.reset.apply.closeFilters.decrease.increase.pages.firstPage.prevPage.nextPage.lastPage.pageNumber.of.mainNavigation.pinSidebar.unpinSidebar.closeNavigation.noData.eventOne.eventFew.eventMany.stepCompleted.stepCurrent.opensInNewTab.rowsPerPage.pageRange.selectAll.selectAllRows.selectRow.sortAscending.sortDescending.clearSort.presenceOnline.presenceBusy.presenceOffline.fileProgress.optional.stepError.passwordStrength.rangeStart.rangeEnd.slider.showBreadcrumbs.dateRangePresets.colorHue.colorSaturation.colorValue.colorAlpha.badgeCount.badgeDot".split("."), T = [
488
- ...w,
500
+ }, E = /* @__PURE__ */ "localeCode.close.remove.loading.options.noOptions.filter.removeItem.breadcrumbs.showOptions.password.showPassword.hidePassword.colorPalette.colorHex.searchPlaceholder.noResults.searching.commandPalette.confirmation.datePlaceholder.dateFrom.dateTo.chooseDateForLabel.newDateRange.chooseMonthCurrent.chooseYearCurrent.monthsOfYear.yearsRange.chooseFiles.fileDropLabel.dropFiles.fileByteUnit.fileKilobyteUnit.fileMegabyteUnit.decimalSeparator.fileUnsupportedType.fileTooLarge.fileSizeLimit.fileCountLimit.fileTooMany.filters.reset.apply.closeFilters.decrease.increase.pages.firstPage.prevPage.nextPage.lastPage.pageNumber.of.mainNavigation.pinSidebar.unpinSidebar.closeNavigation.noData.eventOne.eventFew.eventMany.stepCompleted.stepCurrent.opensInNewTab.rowsPerPage.pageRange.selectAll.selectAllRows.selectRow.sortAscending.sortDescending.clearSort.presenceOnline.presenceBusy.presenceOffline.fileProgress.optional.stepError.passwordStrength.rangeStart.rangeEnd.slider.showBreadcrumbs.dateRangePresets.colorHue.colorSaturation.colorValue.colorAlpha.badgeCount.badgeDot".split("."), D = [
501
+ ...E,
489
502
  "today",
490
503
  "clear",
491
504
  "accept",
@@ -500,50 +513,50 @@ var S = {
500
513
  "prevDecade",
501
514
  "nextDecade",
502
515
  "weekHeader"
503
- ], E = [
516
+ ], O = [
504
517
  "dayNames",
505
518
  "dayNamesShort",
506
519
  "dayNamesMin"
507
- ], D = ["monthNames", "monthNamesShort"], O = /* @__PURE__ */ new Set([
520
+ ], k = ["monthNames", "monthNamesShort"], A = /* @__PURE__ */ new Set([
508
521
  "firstDayOfWeek",
509
522
  "selectedItems",
510
523
  "resultsFound",
511
- ...T,
512
- ...E,
513
- ...D
524
+ ...D,
525
+ ...O,
526
+ ...k
514
527
  ]);
515
- function k(e, t) {
528
+ function j(e, t) {
516
529
  return Array.isArray(e) && e.length === t && Array.from(e).every((e) => typeof e == "string");
517
530
  }
518
- function A(e) {
531
+ function M(e) {
519
532
  if (typeof e == "string") return !0;
520
533
  if (!e || typeof e != "object" || Array.isArray(e)) return !1;
521
534
  let t = e;
522
535
  return typeof t.other == "string" && Object.values(t).every((e) => typeof e == "string");
523
536
  }
524
- function j(e, t = C) {
537
+ function N(e, t = T) {
525
538
  let n = e && typeof e == "object" && !Array.isArray(e) ? e : {}, r = {
526
- ...C,
539
+ ...T,
527
540
  ...t
528
541
  };
529
- for (let e of w) typeof r[e] != "string" && (r[e] = C[e]);
530
- for (let e of ["selectedItems", "resultsFound"]) A(r[e]) || (r[e] = C[e]);
542
+ for (let e of E) typeof r[e] != "string" && (r[e] = T[e]);
543
+ for (let e of ["selectedItems", "resultsFound"]) M(r[e]) || (r[e] = T[e]);
531
544
  try {
532
- r.localeCode = Intl.getCanonicalLocales(r.localeCode)[0] ?? C.localeCode;
545
+ r.localeCode = Intl.getCanonicalLocales(r.localeCode)[0] ?? T.localeCode;
533
546
  } catch {
534
- r.localeCode = C.localeCode;
547
+ r.localeCode = T.localeCode;
535
548
  }
536
549
  let i = {
537
550
  ...r,
538
- ...Object.fromEntries(Object.entries(n).filter(([e, t]) => !O.has(e) && t !== void 0))
551
+ ...Object.fromEntries(Object.entries(n).filter(([e, t]) => !A.has(e) && t !== void 0))
539
552
  };
540
553
  for (let e of ["selectedItems", "resultsFound"]) {
541
554
  let t = n[e];
542
- A(t) && (i[e] = t);
555
+ M(t) && (i[e] = t);
543
556
  }
544
557
  let a = n.firstDayOfWeek;
545
558
  typeof a == "number" && Number.isInteger(a) && a >= 0 && a <= 6 && (i.firstDayOfWeek = a);
546
- for (let e of T) {
559
+ for (let e of D) {
547
560
  let t = n[e];
548
561
  if (typeof t == "string") {
549
562
  if (e === "localeCode") try {
@@ -552,39 +565,39 @@ function j(e, t = C) {
552
565
  else i[e] = t;
553
566
  }
554
567
  }
555
- for (let e of E) {
568
+ for (let e of O) {
556
569
  let r = n[e];
557
- i[e] = [...k(r, 7) ? r : t[e]];
570
+ i[e] = [...j(r, 7) ? r : t[e]];
558
571
  }
559
- for (let e of D) {
572
+ for (let e of k) {
560
573
  let r = n[e];
561
- i[e] = [...k(r, 12) ? r : t[e]];
574
+ i[e] = [...j(r, 12) ? r : t[e]];
562
575
  }
563
576
  return i;
564
577
  }
565
- function M(e, t) {
578
+ function P(e, t) {
566
579
  return e.replace(/\{(\w+)\}/g, (e, n) => t[n] === void 0 ? e : String(t[n]));
567
580
  }
568
- function N(e, t = {}) {
581
+ function F(e, t = {}) {
569
582
  let n = Intl.getCanonicalLocales(e)[0] ?? "en", r = new Intl.NumberFormat(n).formatToParts(1.5).find((e) => e.type === "decimal")?.value ?? ".";
570
- return j({
583
+ return N({
571
584
  localeCode: n,
572
- firstDayOfWeek: x(n),
573
- monthNames: y(n),
574
- monthNamesShort: y(n, "short"),
575
- dayNames: b(n, "long"),
576
- dayNamesShort: b(n, "short"),
577
- dayNamesMin: b(n, "narrow"),
585
+ firstDayOfWeek: C(n),
586
+ monthNames: x(n),
587
+ monthNamesShort: x(n, "short"),
588
+ dayNames: S(n, "long"),
589
+ dayNamesShort: S(n, "short"),
590
+ dayNamesMin: S(n, "narrow"),
578
591
  decimalSeparator: r,
579
592
  ...t
580
- }, C);
593
+ }, T);
581
594
  }
582
595
  //#endregion
583
596
  //#region src/utils/merge.ts
584
- function P(e) {
597
+ function I(e) {
585
598
  return typeof e == "object" && !!e && [Object.prototype, null].includes(Object.getPrototypeOf(e));
586
599
  }
587
- function F(e, t) {
600
+ function L(e, t) {
588
601
  let n = { ...e };
589
602
  if (!t) return n;
590
603
  for (let [e, r] of Object.entries(t)) {
@@ -594,9 +607,9 @@ function F(e, t) {
594
607
  "prototype"
595
608
  ].includes(e)) continue;
596
609
  let t = n[e];
597
- P(t) && P(r) ? n[e] = F(t, r) : r !== void 0 && (n[e] = r);
610
+ I(t) && I(r) ? n[e] = L(t, r) : r !== void 0 && (n[e] = r);
598
611
  }
599
612
  return n;
600
613
  }
601
614
  //#endregion
602
- export { r as C, i as S, u as _, C as a, n as b, v as c, b as d, h as f, p as g, f as h, j as i, x as l, c as m, N as n, S as o, g as p, M as r, _ as s, F as t, y as u, m as v, e as w, t as x, d as y };
615
+ export { i as C, t as S, e as T, f as _, T as a, o as b, b as c, S as d, _ as f, h as g, m as h, N as i, C as l, u as m, F as n, w as o, v as p, P as r, y as s, L as t, x as u, g as v, r as w, n as x, p as y };
@@ -1,4 +1,4 @@
1
- import { N as e, P as t, S as n, T as r, b as i, d as a, f as o, l as s, n as c, p as l, t as u, u as d, v as f, y as p } from "./chunks/BovMd2iJ.js";
1
+ import { N as e, P as t, S as n, T as r, b as i, d as a, f as o, l as s, n as c, p as l, t as u, u as d, v as f, y as p } from "./chunks/DcMDMWRD.js";
2
2
  import { t as m } from "./chunks/U27hmRqd.js";
3
3
  import { computed as h, onBeforeUnmount as g, onMounted as _, readonly as v, ref as y, watch as b } from "vue";
4
4
  //#region src/composables/useWlClipboard.ts