@poveste/controls 0.19.1 → 0.20.0

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,5 +1,12 @@
1
- //#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.43_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useKbd.js
2
- function e() {
1
+ import { k as e } from "./HstWrapper-Cmp1NHo2.es.js";
2
+ import "@poveste/vendors/vue";
3
+ //#region ../../node_modules/.pnpm/reka-ui@2.11.0_vue@3.5.44_typescript@6.0.3_/node_modules/reka-ui/dist/shared/nullish.js
4
+ function t(e) {
5
+ return e == null;
6
+ }
7
+ //#endregion
8
+ //#region ../../node_modules/.pnpm/reka-ui@2.11.0_vue@3.5.44_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useKbd.js
9
+ function n() {
3
10
  return {
4
11
  ALT: "Alt",
5
12
  ARROW_DOWN: "ArrowDown",
@@ -38,4 +45,7 @@ function e() {
38
45
  };
39
46
  }
40
47
  //#endregion
41
- export { e as t };
48
+ //#region ../../node_modules/.pnpm/reka-ui@2.11.0_vue@3.5.44_typescript@6.0.3_/node_modules/reka-ui/dist/Field/FieldRoot.js
49
+ var [r, i] = /*#__PURE__*/ e("FieldRoot");
50
+ //#endregion
51
+ export { n, t as r, r as t };
@@ -1,10 +1,10 @@
1
- import { n as e, t } from "./useLocale-Dr4PRYn1.es.js";
2
- import { _ as n, k as r, p as i, r as a, t as o, u as s, v as c } from "./HstWrapper-Bm5H3_to.es.js";
3
- import { i as l, n as u, o as d, r as f, t as p } from "./PopoverTrigger-BVAfE9fE.es.js";
4
- import { n as m, r as h, t as g } from "./VisuallyHiddenInput-0it-_FH2.es.js";
1
+ import { n as e, t } from "./useLocale-CxBCWkuJ.es.js";
2
+ import { _ as n, k as r, p as i, r as a, t as o, u as s, v as c } from "./HstWrapper-Cmp1NHo2.es.js";
3
+ import { i as l, n as u, o as d, r as f, t as p } from "./PopoverTrigger-jwwWaiEH.es.js";
4
+ import { n as m, r as h, t as g } from "./VisuallyHiddenInput-je9d-WO7.es.js";
5
5
  import { computed as _, createBlock as v, createCommentVNode as y, createElementVNode as b, createVNode as x, defineComponent as S, mergeProps as C, nextTick as w, normalizeClass as T, normalizeStyle as E, onMounted as D, onUnmounted as O, openBlock as k, ref as A, renderSlot as j, resolveDynamicComponent as M, shallowRef as N, toRaw as P, toRefs as F, unref as I, watch as L, withCtx as R } from "@poveste/vendors/vue";
6
6
  import { useMounted as z, useVModel as ee } from "@poveste/vendors/vue-use";
7
- //#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.43_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useComposing.js
7
+ //#region ../../node_modules/.pnpm/reka-ui@2.11.0_vue@3.5.44_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useComposing.js
8
8
  var B = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Bopomofo}]/u, V = /android/i;
9
9
  function H() {
10
10
  return typeof navigator < "u" && V.test(navigator.userAgent);
@@ -31,7 +31,7 @@ function te(e) {
31
31
  };
32
32
  }
33
33
  //#endregion
34
- //#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.43_typescript@6.0.3_/node_modules/reka-ui/dist/color/convert.js
34
+ //#region ../../node_modules/.pnpm/reka-ui@2.11.0_vue@3.5.44_typescript@6.0.3_/node_modules/reka-ui/dist/color/convert.js
35
35
  function U(e, t = "hex") {
36
36
  switch (t) {
37
37
  case "hex": return W(e);
@@ -162,7 +162,7 @@ function ce(e) {
162
162
  };
163
163
  }
164
164
  //#endregion
165
- //#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.43_typescript@6.0.3_/node_modules/reka-ui/dist/color/channel.js
165
+ //#region ../../node_modules/.pnpm/reka-ui@2.11.0_vue@3.5.44_typescript@6.0.3_/node_modules/reka-ui/dist/color/channel.js
166
166
  function J(e) {
167
167
  switch (e) {
168
168
  case "hue": return {
@@ -389,7 +389,7 @@ function ge(e) {
389
389
  };
390
390
  }
391
391
  //#endregion
392
- //#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.43_typescript@6.0.3_/node_modules/reka-ui/dist/color/gradient.js
392
+ //#region ../../node_modules/.pnpm/reka-ui@2.11.0_vue@3.5.44_typescript@6.0.3_/node_modules/reka-ui/dist/color/gradient.js
393
393
  function _e(e, t, n = e.space) {
394
394
  let r = K(e), i = q(e);
395
395
  switch (t) {
@@ -667,7 +667,7 @@ function je(e, t, n = e.space) {
667
667
  } : { background: r };
668
668
  }
669
669
  //#endregion
670
- //#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.43_typescript@6.0.3_/node_modules/reka-ui/dist/color/parse.js
670
+ //#region ../../node_modules/.pnpm/reka-ui@2.11.0_vue@3.5.44_typescript@6.0.3_/node_modules/reka-ui/dist/color/parse.js
671
671
  var Me = /^[0-9A-F]{3}$/i, Ne = /^[0-9A-F]{6}$/i, Pe = /^[0-9A-F]{8}$/i, Fe = /rgba?\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*(?:,\s*([\d.]+)\s*)?\)/, Ie = /hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%\s*(?:,\s*([\d.]+)\s*)?\)/, Le = /hsb[av]?\(\s*([\d.]+)\s*,\s*([\d.]+)%?\s*,\s*([\d.]+)%?\s*(?:,\s*([\d.]+)\s*)?\)/;
672
672
  function Re(e) {
673
673
  let t = e.trim().toLowerCase();
@@ -746,7 +746,7 @@ function Ue(e) {
746
746
  }
747
747
  }
748
748
  //#endregion
749
- //#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.43_typescript@6.0.3_/node_modules/reka-ui/dist/color/utils.js
749
+ //#region ../../node_modules/.pnpm/reka-ui@2.11.0_vue@3.5.44_typescript@6.0.3_/node_modules/reka-ui/dist/color/utils.js
750
750
  var We = /^#/, Ge = /^[0-9A-F]{6}$/i, Ke = /^[0-9A-F]{3}$/i;
751
751
  function qe(e) {
752
752
  if (e = e.replace(We, ""), !Ge.test(e) && !Ke.test(e)) throw Error(`Invalid hex color: ${e}. Expected format: #RGB or #RRGGBB`);
@@ -786,7 +786,7 @@ function Xe(e) {
786
786
  return (.299 * t + .587 * n + .114 * r) / 255 > .5 ? "dark" : "light";
787
787
  }
788
788
  //#endregion
789
- //#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.43_typescript@6.0.3_/node_modules/reka-ui/dist/ColorArea/ColorAreaRoot.js
789
+ //#region ../../node_modules/.pnpm/reka-ui@2.11.0_vue@3.5.44_typescript@6.0.3_/node_modules/reka-ui/dist/ColorArea/ColorAreaRoot.js
790
790
  var [Ze, Qe] = /*#__PURE__*/ r("ColorAreaRoot"), $e = /* @__PURE__ */ S({
791
791
  __name: "ColorAreaRoot",
792
792
  props: {
@@ -923,7 +923,7 @@ var [Ze, Qe] = /*#__PURE__*/ r("ColorAreaRoot"), $e = /* @__PURE__ */ S({
923
923
  thumbRef: P,
924
924
  updateValues: M,
925
925
  commitValues: N
926
- }), (e, t) => (k(), v(I(s), {
926
+ }), (t, n) => (k(), v(I(s), {
927
927
  ref: I(u),
928
928
  as: e.as,
929
929
  "as-child": e.asChild,
@@ -932,7 +932,7 @@ var [Ze, Qe] = /*#__PURE__*/ r("ColorAreaRoot"), $e = /* @__PURE__ */ S({
932
932
  "data-disabled": I(l) ? "" : void 0
933
933
  }, {
934
934
  default: R(() => [
935
- j(e.$slots, "default", { style: E(O.value) }),
935
+ j(t.$slots, "default", { style: E(O.value) }),
936
936
  I(f) && e.xName ? (k(), v(I(g), {
937
937
  key: 0,
938
938
  type: "text",
@@ -966,7 +966,7 @@ var [Ze, Qe] = /*#__PURE__*/ r("ColorAreaRoot"), $e = /* @__PURE__ */ S({
966
966
  }
967
967
  });
968
968
  //#endregion
969
- //#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.43_typescript@6.0.3_/node_modules/reka-ui/dist/ColorArea/utils.js
969
+ //#region ../../node_modules/.pnpm/reka-ui@2.11.0_vue@3.5.44_typescript@6.0.3_/node_modules/reka-ui/dist/ColorArea/utils.js
970
970
  function et(e, t) {
971
971
  return (n) => {
972
972
  if (e[0] === e[1] || t[0] === t[1]) return t[0];
@@ -980,7 +980,7 @@ function tt(t, n, r) {
980
980
  return e(i, 0, 100);
981
981
  }
982
982
  //#endregion
983
- //#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.43_typescript@6.0.3_/node_modules/reka-ui/dist/ColorArea/ColorAreaArea.js
983
+ //#region ../../node_modules/.pnpm/reka-ui@2.11.0_vue@3.5.44_typescript@6.0.3_/node_modules/reka-ui/dist/ColorArea/ColorAreaArea.js
984
984
  var nt = /* @__PURE__ */ S({
985
985
  __name: "ColorAreaArea",
986
986
  props: {
@@ -1050,7 +1050,7 @@ var nt = /* @__PURE__ */ S({
1050
1050
  }
1051
1051
  e.preventDefault(), t.updateValues(t.xValue.value + a, t.yValue.value + o);
1052
1052
  }
1053
- return (e, r) => (k(), v(I(s), {
1053
+ return (r, i) => (k(), v(I(s), {
1054
1054
  ref_key: "primitiveElement",
1055
1055
  ref: n,
1056
1056
  "as-child": e.asChild,
@@ -1065,7 +1065,7 @@ var nt = /* @__PURE__ */ S({
1065
1065
  onPointermove: c,
1066
1066
  onPointerup: l
1067
1067
  }, {
1068
- default: R(() => [j(e.$slots, "default")]),
1068
+ default: R(() => [j(r.$slots, "default")]),
1069
1069
  _: 3
1070
1070
  }, 8, [
1071
1071
  "as-child",
@@ -1093,7 +1093,7 @@ var nt = /* @__PURE__ */ S({
1093
1093
  t.thumbRef.value = r.value;
1094
1094
  });
1095
1095
  let i = _(() => tt(t.xValue.value, t.xRange.value.min, t.xRange.value.max)), a = _(() => tt(t.yValue.value, t.yRange.value.min, t.yRange.value.max)), o = _(() => `${Y(t.xChannel.value)}, ${Y(t.yChannel.value)}`), c = _(() => `${Y(t.xChannel.value)} ${Math.round(t.xValue.value)}, ${Y(t.yChannel.value)} ${Math.round(t.yValue.value)}`);
1096
- return (e, r) => (k(), v(I(s), {
1096
+ return (r, l) => (k(), v(I(s), {
1097
1097
  ref_key: "primitiveElement",
1098
1098
  ref: n,
1099
1099
  role: "slider",
@@ -1116,7 +1116,7 @@ var nt = /* @__PURE__ */ S({
1116
1116
  touchAction: "none"
1117
1117
  })
1118
1118
  }, {
1119
- default: R(() => [j(e.$slots, "default")]),
1119
+ default: R(() => [j(r.$slots, "default")]),
1120
1120
  _: 3
1121
1121
  }, 8, [
1122
1122
  "tabindex",
@@ -1317,7 +1317,7 @@ var nt = /* @__PURE__ */ S({
1317
1317
  incrementPage: H,
1318
1318
  decrementPage: te,
1319
1319
  handleWheel: re
1320
- }), (e, t) => (k(), v(I(s), {
1320
+ }), (t, n) => (k(), v(I(s), {
1321
1321
  ref: I(b),
1322
1322
  as: e.as,
1323
1323
  "as-child": e.asChild,
@@ -1325,7 +1325,7 @@ var nt = /* @__PURE__ */ S({
1325
1325
  "data-disabled": I(l) ? "" : void 0,
1326
1326
  "data-readonly": I(u) ? "" : void 0
1327
1327
  }, {
1328
- default: R(() => [j(e.$slots, "default"), I(S) && e.name ? (k(), v(I(g), {
1328
+ default: R(() => [j(t.$slots, "default"), I(S) && e.name ? (k(), v(I(g), {
1329
1329
  key: 0,
1330
1330
  type: "text",
1331
1331
  value: I(U)(w.value, "hex"),
@@ -1407,7 +1407,7 @@ var nt = /* @__PURE__ */ S({
1407
1407
  let i = n.value.slice(0, n.selectionStart ?? void 0) + (r ?? "") + n.value.slice(n.selectionEnd ?? void 0);
1408
1408
  i !== "-" && i !== "." && i !== "-." && isNaN(parseFloat(i)) && e.preventDefault();
1409
1409
  }
1410
- return (e, n) => (k(), v(I(s), {
1410
+ return (n, r) => (k(), v(I(s), {
1411
1411
  "as-child": e.asChild,
1412
1412
  as: e.as,
1413
1413
  type: o.value,
@@ -1428,7 +1428,7 @@ var nt = /* @__PURE__ */ S({
1428
1428
  onCompositionstart: I(i),
1429
1429
  onCompositionend: I(a)
1430
1430
  }, {
1431
- default: R(() => [j(e.$slots, "default")]),
1431
+ default: R(() => [j(n.$slots, "default")]),
1432
1432
  _: 3
1433
1433
  }, 8, [
1434
1434
  "as-child",
@@ -1448,7 +1448,7 @@ var nt = /* @__PURE__ */ S({
1448
1448
  }
1449
1449
  });
1450
1450
  //#endregion
1451
- //#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.43_typescript@6.0.3_/node_modules/reka-ui/dist/Slider/utils.js
1451
+ //#region ../../node_modules/.pnpm/reka-ui@2.11.0_vue@3.5.44_typescript@6.0.3_/node_modules/reka-ui/dist/Slider/utils.js
1452
1452
  function lt(e = [], t, n) {
1453
1453
  let r = [...e];
1454
1454
  return r[n] = t, r.sort((e, t) => e - t);
@@ -1765,38 +1765,38 @@ var yt = ["PageUp", "PageDown"], bt = [
1765
1765
  max: s,
1766
1766
  disabled: f,
1767
1767
  thumbAlignment: p
1768
- }), (e, t) => (k(), v(I(E), null, {
1768
+ }), (e, n) => (k(), v(I(E), null, {
1769
1769
  default: R(() => [(k(), v(M(I(d) === "horizontal" ? wt : Tt), C(e.$attrs, {
1770
1770
  ref: I(S),
1771
- "as-child": e.asChild,
1772
- as: e.as,
1771
+ "as-child": t.asChild,
1772
+ as: t.as,
1773
1773
  min: I(o),
1774
1774
  max: I(s),
1775
1775
  dir: I(x),
1776
- inverted: e.inverted,
1776
+ inverted: t.inverted,
1777
1777
  "aria-disabled": I(f),
1778
1778
  "data-disabled": I(f) ? "" : void 0,
1779
- onPointerdown: t[0] ||= () => {
1779
+ onPointerdown: n[0] ||= () => {
1780
1780
  I(f) || (L.value = O.value);
1781
1781
  },
1782
- onSlideStart: t[1] ||= (e) => !I(f) && z(e),
1783
- onSlideMove: t[2] ||= (e) => !I(f) && B(e),
1784
- onSlideEnd: t[3] ||= (e) => !I(f) && V(),
1785
- onHomeKeyDown: t[4] ||= (e) => !I(f) && H(I(o), 0, { commit: !0 }),
1786
- onEndKeyDown: t[5] ||= (e) => !I(f) && H(I(s), O.value.length - 1, { commit: !0 }),
1787
- onStepKeyDown: t[6] ||= (e, t) => {
1782
+ onSlideStart: n[1] ||= (e) => !I(f) && z(e),
1783
+ onSlideMove: n[2] ||= (e) => !I(f) && B(e),
1784
+ onSlideEnd: n[3] ||= (e) => !I(f) && V(),
1785
+ onHomeKeyDown: n[4] ||= (e) => !I(f) && H(I(o), 0, { commit: !0 }),
1786
+ onEndKeyDown: n[5] ||= (e) => !I(f) && H(I(s), O.value.length - 1, { commit: !0 }),
1787
+ onStepKeyDown: n[6] ||= (e, t) => {
1788
1788
  if (!I(f)) {
1789
1789
  let n = I(yt).includes(e.key) || e.shiftKey && I(bt).includes(e.key) ? 10 : 1, r = N.value, i = O.value[r];
1790
1790
  H(i + I(l) * n * t, r, { commit: !0 });
1791
1791
  }
1792
1792
  }
1793
1793
  }), {
1794
- default: R(() => [j(e.$slots, "default", { modelValue: I(D) }), I(T) && e.name ? (k(), v(I(g), {
1794
+ default: R(() => [j(e.$slots, "default", { modelValue: I(D) }), I(T) && t.name ? (k(), v(I(g), {
1795
1795
  key: 0,
1796
1796
  type: "number",
1797
1797
  value: I(D),
1798
- name: e.name,
1799
- required: e.required,
1798
+ name: t.name,
1799
+ required: t.required,
1800
1800
  disabled: I(f),
1801
1801
  step: I(l)
1802
1802
  }, null, 8, [
@@ -1887,12 +1887,12 @@ var yt = ["PageUp", "PageDown"], bt = [
1887
1887
  }), O(() => {
1888
1888
  let e = r.thumbElements.value.findIndex((e) => e === c.value) ?? -1;
1889
1889
  r.thumbElements.value.splice(e, 1);
1890
- }), (e, t) => (k(), v(I(l), null, {
1891
- default: R(() => [x(I(s), C(e.$attrs, {
1890
+ }), (t, n) => (k(), v(I(l), null, {
1891
+ default: R(() => [x(I(s), C(t.$attrs, {
1892
1892
  ref: I(o),
1893
1893
  role: "slider",
1894
1894
  tabindex: I(r).disabled.value ? void 0 : 0,
1895
- "aria-label": e.$attrs["aria-label"] || f.value,
1895
+ "aria-label": t.$attrs["aria-label"] || f.value,
1896
1896
  "data-disabled": I(r).disabled.value ? "" : void 0,
1897
1897
  "data-orientation": I(r).orientation.value,
1898
1898
  "aria-valuenow": u.value,
@@ -1907,11 +1907,11 @@ var yt = ["PageUp", "PageDown"], bt = [
1907
1907
  [I(a).startEdge.value]: `calc(${d.value}% + ${g.value}px)`,
1908
1908
  display: !I(y) && u.value === void 0 ? "none" : void 0
1909
1909
  },
1910
- onFocus: t[0] ||= () => {
1910
+ onFocus: n[0] ||= () => {
1911
1911
  I(r).valueIndexToChangeRef.value = e.index;
1912
1912
  }
1913
1913
  }), {
1914
- default: R(() => [j(e.$slots, "default")]),
1914
+ default: R(() => [j(t.$slots, "default")]),
1915
1915
  _: 3
1916
1916
  }, 16, [
1917
1917
  "tabindex",
@@ -1964,13 +1964,13 @@ var yt = ["PageUp", "PageDown"], bt = [
1964
1964
  },
1965
1965
  setup(e) {
1966
1966
  let t = $();
1967
- return n(), (e, n) => (k(), v(I(s), {
1967
+ return n(), (n, r) => (k(), v(I(s), {
1968
1968
  "as-child": e.asChild,
1969
1969
  as: e.as,
1970
1970
  "data-disabled": I(t).disabled.value ? "" : void 0,
1971
1971
  "data-orientation": I(t).orientation.value
1972
1972
  }, {
1973
- default: R(() => [j(e.$slots, "default")]),
1973
+ default: R(() => [j(n.$slots, "default")]),
1974
1974
  _: 3
1975
1975
  }, 8, [
1976
1976
  "as-child",
@@ -2107,10 +2107,10 @@ var yt = ["PageUp", "PageDown"], bt = [
2107
2107
  min: M,
2108
2108
  max: N,
2109
2109
  step: P
2110
- }), (e, t) => (k(), v(I(Dt), C(e.$attrs, {
2110
+ }), (t, n) => (k(), v(I(Dt), C(t.$attrs, {
2111
2111
  ref: I(m),
2112
2112
  modelValue: B.value,
2113
- "onUpdate:modelValue": t[0] ||= (e) => B.value = e,
2113
+ "onUpdate:modelValue": n[0] ||= (e) => B.value = e,
2114
2114
  orientation: I(a),
2115
2115
  dir: I(p),
2116
2116
  disabled: I(o),
@@ -2122,7 +2122,7 @@ var yt = ["PageUp", "PageDown"], bt = [
2122
2122
  "as-child": e.asChild,
2123
2123
  onValueCommit: V
2124
2124
  }), {
2125
- default: R(() => [j(e.$slots, "default"), I(x) && e.name ? (k(), v(I(g), {
2125
+ default: R(() => [j(t.$slots, "default"), I(x) && e.name ? (k(), v(I(g), {
2126
2126
  key: 0,
2127
2127
  type: "text",
2128
2128
  value: I(U)(D.value, "hex"),
@@ -2167,13 +2167,13 @@ var yt = ["PageUp", "PageDown"], bt = [
2167
2167
  let e = t.channelValue.value;
2168
2168
  return t.channel.value === "alpha" ? `${Math.round(e)}%` : String(Math.round(e));
2169
2169
  });
2170
- return (e, i) => (k(), v(I(At), {
2170
+ return (i, a) => (k(), v(I(At), {
2171
2171
  as: e.as,
2172
2172
  "as-child": e.asChild,
2173
2173
  "aria-label": n.value,
2174
2174
  "aria-valuetext": r.value
2175
2175
  }, {
2176
- default: R(() => [j(e.$slots, "default", {
2176
+ default: R(() => [j(i.$slots, "default", {
2177
2177
  channelName: n.value,
2178
2178
  channelValue: I(t).channelValue.value
2179
2179
  })]),
@@ -2200,12 +2200,12 @@ var yt = ["PageUp", "PageDown"], bt = [
2200
2200
  },
2201
2201
  setup(e) {
2202
2202
  let t = Mt(), n = _(() => je(t.color.value, t.channel.value, t.colorSpace.value));
2203
- return (e, t) => (k(), v(I(jt), {
2203
+ return (t, r) => (k(), v(I(jt), {
2204
2204
  as: e.as,
2205
2205
  "as-child": e.asChild,
2206
2206
  style: E(n.value)
2207
2207
  }, {
2208
- default: R(() => [j(e.$slots, "default")]),
2208
+ default: R(() => [j(t.$slots, "default")]),
2209
2209
  _: 3
2210
2210
  }, 8, [
2211
2211
  "as",
@@ -2258,7 +2258,7 @@ var yt = ["PageUp", "PageDown"], bt = [
2258
2258
  return;
2259
2259
  }
2260
2260
  });
2261
- return (e, t) => (k(), v(I(s), {
2261
+ return (t, r) => (k(), v(I(s), {
2262
2262
  role: "img",
2263
2263
  "aria-label": o.value,
2264
2264
  "aria-roledescription": "color swatch",
@@ -2271,7 +2271,7 @@ var yt = ["PageUp", "PageDown"], bt = [
2271
2271
  "--reka-color-swatch-alpha": String(i.value)
2272
2272
  })
2273
2273
  }, {
2274
- default: R(() => [j(e.$slots, "default", {
2274
+ default: R(() => [j(t.$slots, "default", {
2275
2275
  color: n.value,
2276
2276
  alpha: i.value
2277
2277
  })]),