@code-coaching/vuetiful 0.16.6 → 0.17.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.
Files changed (52) hide show
  1. package/README.md +2 -3
  2. package/dist/style.css +1 -1
  3. package/dist/styles/all.css +70 -2
  4. package/dist/types/components/index.d.ts +2 -2
  5. package/dist/types/components/molecules/VListbox/VListbox.test.d.ts +1 -0
  6. package/dist/types/components/molecules/VListbox/VListbox.vue.d.ts +100 -0
  7. package/dist/types/components/molecules/VListbox/VListboxButton.test.d.ts +1 -0
  8. package/dist/types/components/molecules/VListbox/VListboxButton.vue.d.ts +23 -0
  9. package/dist/types/components/molecules/VListbox/VListboxItem.test.d.ts +1 -0
  10. package/dist/types/components/molecules/VListbox/VListboxItem.vue.d.ts +12 -0
  11. package/dist/types/components/molecules/VListbox/VListboxItems.test.d.ts +1 -0
  12. package/dist/types/components/molecules/VListbox/VListboxItems.vue.d.ts +23 -0
  13. package/dist/types/components/molecules/VListbox/VListboxLabel.test.d.ts +1 -0
  14. package/dist/types/components/molecules/VListbox/VListboxLabel.vue.d.ts +14 -0
  15. package/dist/types/components/molecules/index.d.ts +6 -1
  16. package/dist/vuetiful.es.mjs +792 -185
  17. package/dist/vuetiful.umd.js +13 -13
  18. package/package.json +1 -1
  19. package/src/components/atoms/VAvatar.vue +7 -1
  20. package/src/components/atoms/VBadge.test.ts +1 -1
  21. package/src/components/atoms/VChip.test.ts +1 -1
  22. package/src/components/atoms/VCodeBlock.test.ts +2 -2
  23. package/src/components/atoms/VLightSwitch.test.ts +2 -2
  24. package/src/components/atoms/VRadio/VRadioDescription.vue +3 -3
  25. package/src/components/atoms/VRadio/VRadioGroup.test.ts +4 -4
  26. package/src/components/atoms/VRadio/VRadioItem.test.ts +14 -14
  27. package/src/components/atoms/VSwitch/VSwitch.test.ts +4 -27
  28. package/src/components/atoms/VSwitch/VSwitchDescription.test.ts +1 -2
  29. package/src/components/atoms/VSwitch/VSwitchDescription.vue +2 -2
  30. package/src/components/atoms/VSwitch/VSwitchGroup.test.ts +2 -2
  31. package/src/components/atoms/VSwitch/VSwitchGroup.vue +2 -2
  32. package/src/components/atoms/VSwitch/VSwitchLabel.test.ts +3 -3
  33. package/src/components/atoms/VSwitch/VSwitchLabel.vue +3 -3
  34. package/src/components/index.ts +2 -2
  35. package/src/components/molecules/VDrawer.test.ts +2 -2
  36. package/src/components/molecules/VDrawer.vue +1 -1
  37. package/src/components/molecules/VListbox/VListbox.test.ts +119 -0
  38. package/src/components/molecules/VListbox/VListbox.vue +119 -0
  39. package/src/components/molecules/VListbox/VListboxButton.test.ts +57 -0
  40. package/src/components/molecules/VListbox/VListboxButton.vue +48 -0
  41. package/src/components/molecules/VListbox/VListboxItem.test.ts +51 -0
  42. package/src/components/molecules/VListbox/VListboxItem.vue +29 -0
  43. package/src/components/molecules/VListbox/VListboxItems.test.ts +44 -0
  44. package/src/components/molecules/VListbox/VListboxItems.vue +31 -0
  45. package/src/components/molecules/VListbox/VListboxLabel.test.ts +31 -0
  46. package/src/components/molecules/VListbox/VListboxLabel.vue +14 -0
  47. package/src/components/molecules/VPreview.test.ts +2 -2
  48. package/src/components/molecules/VRail.test.ts +2 -2
  49. package/src/components/molecules/VRailTile.test.ts +2 -2
  50. package/src/components/molecules/VShell.test.ts +2 -2
  51. package/src/components/molecules/index.ts +17 -1
  52. package/src/styles/elements/buttons.css +1 -1
@@ -1,11 +1,11 @@
1
- import { defineComponent, ref, computed, useAttrs, openBlock, createElementBlock, normalizeClass, createElementVNode, unref, toDisplayString, renderSlot, createBlock, resolveDynamicComponent, withCtx, withDirectives, createTextVNode, onMounted, Fragment, cloneVNode, h as h$1, watchEffect, provide, onUnmounted, inject, toRaw, watch, createCommentVNode, reactive, readonly, toRefs, createVNode, Transition, mergeProps, renderList, pushScopeId, popScopeId, resolveComponent } from "vue";
2
- const _hoisted_1$a = ["src", "alt"];
3
- const _hoisted_2$5 = {
1
+ import { defineComponent, ref, computed, useAttrs, openBlock, createElementBlock, normalizeClass, createElementVNode, unref, toDisplayString, renderSlot, createBlock, resolveDynamicComponent, withCtx, withDirectives, createTextVNode, onMounted, Fragment, cloneVNode, h as h$1, inject, provide, watchEffect, onUnmounted, watch, nextTick, toRaw, createCommentVNode, reactive, readonly, toRefs, createVNode, Transition, mergeProps, renderList, pushScopeId, popScopeId, resolveComponent } from "vue";
2
+ const _hoisted_1$b = ["src", "alt"];
3
+ const _hoisted_2$6 = {
4
4
  key: 1,
5
5
  class: "avatar-initials h-full w-full",
6
6
  viewBox: "0 0 512 512"
7
7
  };
8
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
8
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
9
9
  __name: "VAvatar",
10
10
  props: {
11
11
  initials: { type: String, default: "" },
@@ -39,7 +39,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
39
39
  src: imgSrc.value,
40
40
  alt: __props.alt,
41
41
  onError: _cache[0] || (_cache[0] = () => imgSrc.value = __props.fallback)
42
- }, null, 40, _hoisted_1$a)) : (openBlock(), createElementBlock("svg", _hoisted_2$5, [
42
+ }, null, 40, _hoisted_1$b)) : (openBlock(), createElementBlock("svg", _hoisted_2$6, [
43
43
  createElementVNode("text", {
44
44
  x: "50%",
45
45
  y: "50%",
@@ -61,17 +61,17 @@ var _export_sfc = (sfc, props) => {
61
61
  }
62
62
  return target;
63
63
  };
64
- const _sfc_main$i = {};
65
- const _hoisted_1$9 = {
64
+ const _sfc_main$n = {};
65
+ const _hoisted_1$a = {
66
66
  class: /* @__PURE__ */ normalizeClass(`vuetiful-badge badge`)
67
67
  };
68
68
  function _sfc_render$3(_ctx, _cache) {
69
- return openBlock(), createElementBlock("div", _hoisted_1$9, [
69
+ return openBlock(), createElementBlock("div", _hoisted_1$a, [
70
70
  renderSlot(_ctx.$slots, "default")
71
71
  ]);
72
72
  }
73
- var VBadge = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$3]]);
74
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
73
+ var VBadge = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$3]]);
74
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
75
75
  __name: "VButton",
76
76
  props: {
77
77
  icon: {
@@ -121,16 +121,16 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
121
121
  };
122
122
  }
123
123
  });
124
- const _sfc_main$g = {};
125
- const _hoisted_1$8 = {
124
+ const _sfc_main$l = {};
125
+ const _hoisted_1$9 = {
126
126
  class: /* @__PURE__ */ normalizeClass(`vuetiful-chip chip`)
127
127
  };
128
128
  function _sfc_render$2(_ctx, _cache) {
129
- return openBlock(), createElementBlock("div", _hoisted_1$8, [
129
+ return openBlock(), createElementBlock("div", _hoisted_1$9, [
130
130
  renderSlot(_ctx.$slots, "default")
131
131
  ]);
132
132
  }
133
- var VChip = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$2]]);
133
+ var VChip = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$2]]);
134
134
  var deepFreezeEs6 = { exports: {} };
135
135
  function deepFreeze(obj) {
136
136
  if (obj instanceof Map) {
@@ -188,7 +188,7 @@ const scopeToCSSClass = (name, { prefix }) => {
188
188
  const pieces = name.split(".");
189
189
  return [
190
190
  `${prefix}${pieces.shift()}`,
191
- ...pieces.map((x, i2) => `${x}${"_".repeat(i2 + 1)}`)
191
+ ...pieces.map((x2, i2) => `${x2}${"_".repeat(i2 + 1)}`)
192
192
  ].join(" ");
193
193
  }
194
194
  return `${prefix}${name}`;
@@ -339,7 +339,7 @@ function optional(re2) {
339
339
  return concat$2("(?:", re2, ")?");
340
340
  }
341
341
  function concat$2(...args) {
342
- const joined = args.map((x) => source$2(x)).join("");
342
+ const joined = args.map((x2) => source$2(x2)).join("");
343
343
  return joined;
344
344
  }
345
345
  function stripOptionsFromArgs$2(args) {
@@ -353,7 +353,7 @@ function stripOptionsFromArgs$2(args) {
353
353
  }
354
354
  function either$2(...args) {
355
355
  const opts = stripOptionsFromArgs$2(args);
356
- const joined = "(" + (opts.capture ? "" : "?:") + args.map((x) => source$2(x)).join("|") + ")";
356
+ const joined = "(" + (opts.capture ? "" : "?:") + args.map((x2) => source$2(x2)).join("|") + ")";
357
357
  return joined;
358
358
  }
359
359
  function countMatchGroups(re2) {
@@ -669,7 +669,7 @@ function compileKeywords(rawKeywords, caseInsensitive, scopeName = DEFAULT_KEYWO
669
669
  return compiledKeywords;
670
670
  function compileList(scopeName2, keywordList) {
671
671
  if (caseInsensitive) {
672
- keywordList = keywordList.map((x) => x.toLowerCase());
672
+ keywordList = keywordList.map((x2) => x2.toLowerCase());
673
673
  }
674
674
  keywordList.forEach(function(keyword) {
675
675
  const pair = keyword.split("|");
@@ -5634,7 +5634,7 @@ function brainfuck(hljs2) {
5634
5634
  };
5635
5635
  }
5636
5636
  var brainfuck_1 = brainfuck;
5637
- function c$2(hljs2) {
5637
+ function c$3(hljs2) {
5638
5638
  const regex = hljs2.regex;
5639
5639
  const C_LINE_COMMENT_MODE2 = hljs2.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] });
5640
5640
  const DECLTYPE_AUTO_RE = "decltype\\(auto\\)";
@@ -5897,7 +5897,7 @@ function c$2(hljs2) {
5897
5897
  }
5898
5898
  };
5899
5899
  }
5900
- var c_1 = c$2;
5900
+ var c_1 = c$3;
5901
5901
  function cal(hljs2) {
5902
5902
  const regex = hljs2.regex;
5903
5903
  const KEYWORDS2 = [
@@ -10863,10 +10863,10 @@ function elixir(hljs2) {
10863
10863
  const LOWERCASE_SIGIL = {
10864
10864
  className: "string",
10865
10865
  begin: "~[a-z](?=" + SIGIL_DELIMITERS + ")",
10866
- contains: SIGIL_DELIMITER_MODES.map((x) => hljs2.inherit(
10867
- x,
10866
+ contains: SIGIL_DELIMITER_MODES.map((x2) => hljs2.inherit(
10867
+ x2,
10868
10868
  { contains: [
10869
- escapeSigilEnd(x.end),
10869
+ escapeSigilEnd(x2.end),
10870
10870
  BACKSLASH_ESCAPE2,
10871
10871
  SUBST
10872
10872
  ] }
@@ -10875,9 +10875,9 @@ function elixir(hljs2) {
10875
10875
  const UPCASE_SIGIL = {
10876
10876
  className: "string",
10877
10877
  begin: "~[A-Z](?=" + SIGIL_DELIMITERS + ")",
10878
- contains: SIGIL_DELIMITER_MODES.map((x) => hljs2.inherit(
10879
- x,
10880
- { contains: [escapeSigilEnd(x.end)] }
10878
+ contains: SIGIL_DELIMITER_MODES.map((x2) => hljs2.inherit(
10879
+ x2,
10880
+ { contains: [escapeSigilEnd(x2.end)] }
10881
10881
  ))
10882
10882
  };
10883
10883
  const REGEX_SIGIL = {
@@ -10885,12 +10885,12 @@ function elixir(hljs2) {
10885
10885
  variants: [
10886
10886
  {
10887
10887
  begin: "~r(?=" + SIGIL_DELIMITERS + ")",
10888
- contains: SIGIL_DELIMITER_MODES.map((x) => hljs2.inherit(
10889
- x,
10888
+ contains: SIGIL_DELIMITER_MODES.map((x2) => hljs2.inherit(
10889
+ x2,
10890
10890
  {
10891
- end: regex.concat(x.end, /[uismxfU]{0,7}/),
10891
+ end: regex.concat(x2.end, /[uismxfU]{0,7}/),
10892
10892
  contains: [
10893
- escapeSigilEnd(x.end),
10893
+ escapeSigilEnd(x2.end),
10894
10894
  BACKSLASH_ESCAPE2,
10895
10895
  SUBST
10896
10896
  ]
@@ -10900,11 +10900,11 @@ function elixir(hljs2) {
10900
10900
  {
10901
10901
  begin: "~R(?=" + SIGIL_DELIMITERS + ")",
10902
10902
  contains: SIGIL_DELIMITER_MODES.map(
10903
- (x) => hljs2.inherit(
10904
- x,
10903
+ (x2) => hljs2.inherit(
10904
+ x2,
10905
10905
  {
10906
- end: regex.concat(x.end, /[uismxfU]{0,7}/),
10907
- contains: [escapeSigilEnd(x.end)]
10906
+ end: regex.concat(x2.end, /[uismxfU]{0,7}/),
10907
+ contains: [escapeSigilEnd(x2.end)]
10908
10908
  }
10909
10909
  )
10910
10910
  )
@@ -11752,7 +11752,7 @@ function erlang(hljs2) {
11752
11752
  returnBegin: true,
11753
11753
  keywords: {
11754
11754
  $pattern: "-" + hljs2.IDENT_RE,
11755
- keyword: DIRECTIVES.map((x) => `${x}|1.5`).join(" ")
11755
+ keyword: DIRECTIVES.map((x2) => `${x2}|1.5`).join(" ")
11756
11756
  },
11757
11757
  contains: [PARAMS]
11758
11758
  },
@@ -12966,7 +12966,7 @@ function lookahead$1(re2) {
12966
12966
  return concat$1("(?=", re2, ")");
12967
12967
  }
12968
12968
  function concat$1(...args) {
12969
- const joined = args.map((x) => source$1(x)).join("");
12969
+ const joined = args.map((x2) => source$1(x2)).join("");
12970
12970
  return joined;
12971
12971
  }
12972
12972
  function stripOptionsFromArgs$1(args) {
@@ -12980,7 +12980,7 @@ function stripOptionsFromArgs$1(args) {
12980
12980
  }
12981
12981
  function either$1(...args) {
12982
12982
  const opts = stripOptionsFromArgs$1(args);
12983
- const joined = "(" + (opts.capture ? "" : "?:") + args.map((x) => source$1(x)).join("|") + ")";
12983
+ const joined = "(" + (opts.capture ? "" : "?:") + args.map((x2) => source$1(x2)).join("|") + ")";
12984
12984
  return joined;
12985
12985
  }
12986
12986
  function fsharp(hljs2) {
@@ -34385,7 +34385,7 @@ function qml(hljs2) {
34385
34385
  };
34386
34386
  }
34387
34387
  var qml_1 = qml;
34388
- function r$1(hljs2) {
34388
+ function r$2(hljs2) {
34389
34389
  const regex = hljs2.regex;
34390
34390
  const IDENT_RE2 = /(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/;
34391
34391
  const NUMBER_TYPES_RE = regex.either(
@@ -34564,7 +34564,7 @@ function r$1(hljs2) {
34564
34564
  ]
34565
34565
  };
34566
34566
  }
34567
- var r_1 = r$1;
34567
+ var r_1 = r$2;
34568
34568
  function reasonml(hljs2) {
34569
34569
  function orReValues(ops) {
34570
34570
  return ops.map(function(op) {
@@ -40410,7 +40410,7 @@ function sql(hljs2) {
40410
40410
  illegal: /[{}]|<\//,
40411
40411
  keywords: {
40412
40412
  $pattern: /\b[\w\.]+/,
40413
- keyword: reduceRelevancy(KEYWORDS2, { when: (x) => x.length < 3 }),
40413
+ keyword: reduceRelevancy(KEYWORDS2, { when: (x2) => x2.length < 3 }),
40414
40414
  literal: LITERALS2,
40415
40415
  type: TYPES2,
40416
40416
  built_in: POSSIBLE_WITHOUT_PARENS
@@ -41756,7 +41756,7 @@ function lookahead(re2) {
41756
41756
  return concat("(?=", re2, ")");
41757
41757
  }
41758
41758
  function concat(...args) {
41759
- const joined = args.map((x) => source(x)).join("");
41759
+ const joined = args.map((x2) => source(x2)).join("");
41760
41760
  return joined;
41761
41761
  }
41762
41762
  function stripOptionsFromArgs(args) {
@@ -41770,7 +41770,7 @@ function stripOptionsFromArgs(args) {
41770
41770
  }
41771
41771
  function either(...args) {
41772
41772
  const opts = stripOptionsFromArgs(args);
41773
- const joined = "(" + (opts.capture ? "" : "?:") + args.map((x) => source(x)).join("|") + ")";
41773
+ const joined = "(" + (opts.capture ? "" : "?:") + args.map((x2) => source(x2)).join("|") + ")";
41774
41774
  return joined;
41775
41775
  }
41776
41776
  const keywordWrapper = (keyword) => concat(
@@ -46471,12 +46471,12 @@ const useHighlight = () => {
46471
46471
  };
46472
46472
  };
46473
46473
  var githubDark = "";
46474
- const _hoisted_1$7 = { class: "code-block max-w-full bg-neutral-900/90 text-sm text-white shadow rounded-container-token" };
46475
- const _hoisted_2$4 = {
46474
+ const _hoisted_1$8 = { class: "code-block max-w-full bg-neutral-900/90 text-sm text-white shadow rounded-container-token" };
46475
+ const _hoisted_2$5 = {
46476
46476
  class: /* @__PURE__ */ normalizeClass(`code-block-language`)
46477
46477
  };
46478
- const _hoisted_3$2 = ["innerHTML"];
46479
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
46478
+ const _hoisted_3$3 = ["innerHTML"];
46479
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
46480
46480
  __name: "VCodeBlock",
46481
46481
  props: {
46482
46482
  language: {
@@ -46534,12 +46534,12 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
46534
46534
  emit("copy");
46535
46535
  }
46536
46536
  return (_ctx, _cache) => {
46537
- return openBlock(), createElementBlock("div", _hoisted_1$7, [
46537
+ return openBlock(), createElementBlock("div", _hoisted_1$8, [
46538
46538
  createElementVNode("header", {
46539
46539
  class: normalizeClass(`code-block-header flex items-center justify-between p-2 pb-0 pl-4 text-xs uppercase text-white/50 ${__props.headerClass}`)
46540
46540
  }, [
46541
- createElementVNode("span", _hoisted_2$4, toDisplayString(languageFormatter(__props.language)), 1),
46542
- withDirectives((openBlock(), createBlock(unref(_sfc_main$h), {
46541
+ createElementVNode("span", _hoisted_2$5, toDisplayString(languageFormatter(__props.language)), 1),
46542
+ withDirectives((openBlock(), createBlock(unref(_sfc_main$m), {
46543
46543
  class: normalizeClass(`code-block-btn ${__props.buttonClass}`),
46544
46544
  onClick: _cache[0] || (_cache[0] = ($event) => onCopyClick())
46545
46545
  }, {
@@ -46557,13 +46557,13 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
46557
46557
  createElementVNode("code", {
46558
46558
  class: normalizeClass(`code-block-code language-${__props.language}`),
46559
46559
  innerHTML: unref(highlight2)(props.code, props.language)
46560
- }, null, 10, _hoisted_3$2)
46560
+ }, null, 10, _hoisted_3$3)
46561
46561
  ], 2)
46562
46562
  ]);
46563
46563
  };
46564
46564
  }
46565
46565
  });
46566
- const _sfc_main$e = defineComponent({
46566
+ const _sfc_main$j = defineComponent({
46567
46567
  props: {
46568
46568
  bgLight: {
46569
46569
  type: String,
@@ -46654,8 +46654,8 @@ const _sfc_main$e = defineComponent({
46654
46654
  };
46655
46655
  }
46656
46656
  });
46657
- const _hoisted_1$6 = ["aria-checked", "title"];
46658
- const _hoisted_2$3 = ["d"];
46657
+ const _hoisted_1$7 = ["aria-checked", "title"];
46658
+ const _hoisted_2$4 = ["d"];
46659
46659
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
46660
46660
  return openBlock(), createElementBlock("div", {
46661
46661
  class: normalizeClass(`lightswitch-track ${_ctx.classesTrack}`),
@@ -46680,39 +46680,39 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
46680
46680
  createElementVNode("path", {
46681
46681
  fill: "currentColor",
46682
46682
  d: _ctx.currentMode ? _ctx.svgPath.sun : _ctx.svgPath.moon
46683
- }, null, 8, _hoisted_2$3)
46683
+ }, null, 8, _hoisted_2$4)
46684
46684
  ], 2))
46685
46685
  ], 2)
46686
- ], 42, _hoisted_1$6);
46686
+ ], 42, _hoisted_1$7);
46687
46687
  }
46688
- var VLightSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$1]]);
46689
- function u(r2, n2, ...a2) {
46688
+ var VLightSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$1]]);
46689
+ function u$2(r2, n2, ...a2) {
46690
46690
  if (r2 in n2) {
46691
46691
  let e2 = n2[r2];
46692
46692
  return typeof e2 == "function" ? e2(...a2) : e2;
46693
46693
  }
46694
46694
  let t2 = new Error(`Tried to handle "${r2}" but there is no handler defined. Only defined handlers are: ${Object.keys(n2).map((e2) => `"${e2}"`).join(", ")}.`);
46695
- throw Error.captureStackTrace && Error.captureStackTrace(t2, u), t2;
46695
+ throw Error.captureStackTrace && Error.captureStackTrace(t2, u$2), t2;
46696
46696
  }
46697
46697
  var N$1 = ((o2) => (o2[o2.None = 0] = "None", o2[o2.RenderStrategy = 1] = "RenderStrategy", o2[o2.Static = 2] = "Static", o2))(N$1 || {}), S$1 = ((e2) => (e2[e2.Unmount = 0] = "Unmount", e2[e2.Hidden = 1] = "Hidden", e2))(S$1 || {});
46698
46698
  function H$2({ visible: r2 = true, features: t2 = 0, ourProps: e2, theirProps: o2, ...i2 }) {
46699
46699
  var a2;
46700
- let n2 = j$1(o2, e2), l = Object.assign(i2, { props: n2 });
46700
+ let n2 = j$2(o2, e2), l2 = Object.assign(i2, { props: n2 });
46701
46701
  if (r2 || t2 & 2 && n2.static)
46702
- return y$1(l);
46702
+ return y$2(l2);
46703
46703
  if (t2 & 1) {
46704
46704
  let d2 = (a2 = n2.unmount) == null || a2 ? 0 : 1;
46705
- return u(d2, { [0]() {
46705
+ return u$2(d2, { [0]() {
46706
46706
  return null;
46707
46707
  }, [1]() {
46708
- return y$1({ ...i2, props: { ...n2, hidden: true, style: { display: "none" } } });
46708
+ return y$2({ ...i2, props: { ...n2, hidden: true, style: { display: "none" } } });
46709
46709
  } });
46710
46710
  }
46711
- return y$1(l);
46711
+ return y$2(l2);
46712
46712
  }
46713
- function y$1({ props: r2, attrs: t2, slots: e2, slot: o2, name: i2 }) {
46713
+ function y$2({ props: r2, attrs: t2, slots: e2, slot: o2, name: i2 }) {
46714
46714
  var m2, h2;
46715
- let { as: n2, ...l } = T$2(r2, ["unmount", "static"]), a2 = (m2 = e2.default) == null ? void 0 : m2.call(e2, o2), d2 = {};
46715
+ let { as: n2, ...l2 } = T$2(r2, ["unmount", "static"]), a2 = (m2 = e2.default) == null ? void 0 : m2.call(e2, o2), d2 = {};
46716
46716
  if (o2) {
46717
46717
  let u2 = false, c2 = [];
46718
46718
  for (let [p2, f2] of Object.entries(o2))
@@ -46720,26 +46720,26 @@ function y$1({ props: r2, attrs: t2, slots: e2, slot: o2, name: i2 }) {
46720
46720
  u2 && (d2["data-headlessui-state"] = c2.join(" "));
46721
46721
  }
46722
46722
  if (n2 === "template") {
46723
- if (a2 = b$2(a2 != null ? a2 : []), Object.keys(l).length > 0 || Object.keys(t2).length > 0) {
46723
+ if (a2 = b$2(a2 != null ? a2 : []), Object.keys(l2).length > 0 || Object.keys(t2).length > 0) {
46724
46724
  let [u2, ...c2] = a2 != null ? a2 : [];
46725
46725
  if (!v(u2) || c2.length > 0)
46726
- throw new Error(['Passing props on "template"!', "", `The current component <${i2} /> is rendering a "template".`, "However we need to passthrough the following props:", Object.keys(l).concat(Object.keys(t2)).map((s2) => s2.trim()).filter((s2, g, R) => R.indexOf(s2) === g).sort((s2, g) => s2.localeCompare(g)).map((s2) => ` - ${s2}`).join(`
46726
+ throw new Error(['Passing props on "template"!', "", `The current component <${i2} /> is rendering a "template".`, "However we need to passthrough the following props:", Object.keys(l2).concat(Object.keys(t2)).map((s2) => s2.trim()).filter((s2, g, R) => R.indexOf(s2) === g).sort((s2, g) => s2.localeCompare(g)).map((s2) => ` - ${s2}`).join(`
46727
46727
  `), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".', "Render a single element as the child so that we can forward the props onto that element."].map((s2) => ` - ${s2}`).join(`
46728
46728
  `)].join(`
46729
46729
  `));
46730
- let p2 = j$1((h2 = u2.props) != null ? h2 : {}, l), f2 = cloneVNode(u2, p2);
46730
+ let p2 = j$2((h2 = u2.props) != null ? h2 : {}, l2), f2 = cloneVNode(u2, p2);
46731
46731
  for (let s2 in p2)
46732
46732
  s2.startsWith("on") && (f2.props || (f2.props = {}), f2.props[s2] = p2[s2]);
46733
46733
  return f2;
46734
46734
  }
46735
46735
  return Array.isArray(a2) && a2.length === 1 ? a2[0] : a2;
46736
46736
  }
46737
- return h$1(n2, Object.assign({}, l, d2), { default: () => a2 });
46737
+ return h$1(n2, Object.assign({}, l2, d2), { default: () => a2 });
46738
46738
  }
46739
46739
  function b$2(r2) {
46740
46740
  return r2.flatMap((t2) => t2.type === Fragment ? b$2(t2.children) : [t2]);
46741
46741
  }
46742
- function j$1(...r2) {
46742
+ function j$2(...r2) {
46743
46743
  if (r2.length === 0)
46744
46744
  return {};
46745
46745
  if (r2.length === 1)
@@ -46751,12 +46751,12 @@ function j$1(...r2) {
46751
46751
  if (t2.disabled || t2["aria-disabled"])
46752
46752
  return Object.assign(t2, Object.fromEntries(Object.keys(e2).map((i2) => [i2, void 0])));
46753
46753
  for (let i2 in e2)
46754
- Object.assign(t2, { [i2](n2, ...l) {
46754
+ Object.assign(t2, { [i2](n2, ...l2) {
46755
46755
  let a2 = e2[i2];
46756
46756
  for (let d2 of a2) {
46757
46757
  if (n2 instanceof Event && n2.defaultPrevented)
46758
46758
  return;
46759
- d2(n2, ...l);
46759
+ d2(n2, ...l2);
46760
46760
  }
46761
46761
  } });
46762
46762
  return t2;
@@ -46777,18 +46777,58 @@ function v(r2) {
46777
46777
  return r2 == null ? false : typeof r2.type == "string" || typeof r2.type == "object" || typeof r2.type == "function";
46778
46778
  }
46779
46779
  let e$1 = 0;
46780
- function n$1() {
46780
+ function n$2() {
46781
46781
  return ++e$1;
46782
46782
  }
46783
46783
  function t() {
46784
- return n$1();
46784
+ return n$2();
46785
46785
  }
46786
46786
  var o$1 = ((r2) => (r2.Space = " ", r2.Enter = "Enter", r2.Escape = "Escape", r2.Backspace = "Backspace", r2.Delete = "Delete", r2.ArrowLeft = "ArrowLeft", r2.ArrowUp = "ArrowUp", r2.ArrowRight = "ArrowRight", r2.ArrowDown = "ArrowDown", r2.Home = "Home", r2.End = "End", r2.PageUp = "PageUp", r2.PageDown = "PageDown", r2.Tab = "Tab", r2))(o$1 || {});
46787
+ function f$2(r2) {
46788
+ throw new Error("Unexpected object: " + r2);
46789
+ }
46790
+ var a$2 = ((e2) => (e2[e2.First = 0] = "First", e2[e2.Previous = 1] = "Previous", e2[e2.Next = 2] = "Next", e2[e2.Last = 3] = "Last", e2[e2.Specific = 4] = "Specific", e2[e2.Nothing = 5] = "Nothing", e2))(a$2 || {});
46791
+ function x(r2, n2) {
46792
+ let t2 = n2.resolveItems();
46793
+ if (t2.length <= 0)
46794
+ return null;
46795
+ let l2 = n2.resolveActiveIndex(), s2 = l2 != null ? l2 : -1, d2 = (() => {
46796
+ switch (r2.focus) {
46797
+ case 0:
46798
+ return t2.findIndex((e2) => !n2.resolveDisabled(e2));
46799
+ case 1: {
46800
+ let e2 = t2.slice().reverse().findIndex((i2, c2, u2) => s2 !== -1 && u2.length - c2 - 1 >= s2 ? false : !n2.resolveDisabled(i2));
46801
+ return e2 === -1 ? e2 : t2.length - 1 - e2;
46802
+ }
46803
+ case 2:
46804
+ return t2.findIndex((e2, i2) => i2 <= s2 ? false : !n2.resolveDisabled(e2));
46805
+ case 3: {
46806
+ let e2 = t2.slice().reverse().findIndex((i2) => !n2.resolveDisabled(i2));
46807
+ return e2 === -1 ? e2 : t2.length - 1 - e2;
46808
+ }
46809
+ case 4:
46810
+ return t2.findIndex((e2) => n2.resolveId(e2) === r2.id);
46811
+ case 5:
46812
+ return null;
46813
+ default:
46814
+ f$2(r2);
46815
+ }
46816
+ })();
46817
+ return d2 === -1 ? l2 : d2;
46818
+ }
46787
46819
  function o(n2) {
46788
- var l;
46789
- return n2 == null || n2.value == null ? null : (l = n2.value.$el) != null ? l : n2.value;
46820
+ var l2;
46821
+ return n2 == null || n2.value == null ? null : (l2 = n2.value.$el) != null ? l2 : n2.value;
46822
+ }
46823
+ let n$1 = Symbol("Context");
46824
+ var l = ((e2) => (e2[e2.Open = 1] = "Open", e2[e2.Closed = 2] = "Closed", e2[e2.Closing = 4] = "Closing", e2[e2.Opening = 8] = "Opening", e2))(l || {});
46825
+ function p$3() {
46826
+ return inject(n$1, null);
46790
46827
  }
46791
- function r(t2, e2) {
46828
+ function c$2(o2) {
46829
+ provide(n$1, o2);
46830
+ }
46831
+ function r$1(t2, e2) {
46792
46832
  if (t2)
46793
46833
  return t2;
46794
46834
  let n2 = e2 != null ? e2 : "button";
@@ -46796,9 +46836,9 @@ function r(t2, e2) {
46796
46836
  return "button";
46797
46837
  }
46798
46838
  function b$1(t2, e2) {
46799
- let n2 = ref(r(t2.value.type, t2.value.as));
46839
+ let n2 = ref(r$1(t2.value.type, t2.value.as));
46800
46840
  return onMounted(() => {
46801
- n2.value = r(t2.value.type, t2.value.as);
46841
+ n2.value = r$1(t2.value.type, t2.value.as);
46802
46842
  }), watchEffect(() => {
46803
46843
  var o$12;
46804
46844
  n2.value || o(e2) && o(e2) instanceof HTMLButtonElement && !((o$12 = o(e2)) != null && o$12.hasAttribute("type")) && (n2.value = "button");
@@ -46849,10 +46889,10 @@ function p$2({ container: e2, accept: t2, walk: d2, enabled: o2 }) {
46849
46889
  let r2 = e2.value;
46850
46890
  if (!r2 || o2 !== void 0 && !o2.value)
46851
46891
  return;
46852
- let l = m(e2);
46853
- if (!l)
46892
+ let l2 = m(e2);
46893
+ if (!l2)
46854
46894
  return;
46855
- let c2 = Object.assign((f2) => t2(f2), { acceptNode: t2 }), n2 = l.createTreeWalker(r2, NodeFilter.SHOW_ELEMENT, c2, false);
46895
+ let c2 = Object.assign((f2) => t2(f2), { acceptNode: t2 }), n2 = l2.createTreeWalker(r2, NodeFilter.SHOW_ELEMENT, c2, false);
46856
46896
  for (; n2.nextNode(); )
46857
46897
  d2(n2.currentNode);
46858
46898
  });
@@ -46863,7 +46903,21 @@ function E$1(e2 = document.body) {
46863
46903
  return e2 == null ? [] : Array.from(e2.querySelectorAll(c)).sort((r2, t2) => Math.sign((r2.tabIndex || Number.MAX_SAFE_INTEGER) - (t2.tabIndex || Number.MAX_SAFE_INTEGER)));
46864
46904
  }
46865
46905
  var h = ((t2) => (t2[t2.Strict = 0] = "Strict", t2[t2.Loose = 1] = "Loose", t2))(h || {});
46866
- var y = ((t2) => (t2[t2.Keyboard = 0] = "Keyboard", t2[t2.Mouse = 1] = "Mouse", t2))(y || {});
46906
+ function w(e2, r2 = 0) {
46907
+ var t2;
46908
+ return e2 === ((t2 = m(e2)) == null ? void 0 : t2.body) ? false : u$2(r2, { [0]() {
46909
+ return e2.matches(c);
46910
+ }, [1]() {
46911
+ let l2 = e2;
46912
+ for (; l2 !== null; ) {
46913
+ if (l2.matches(c))
46914
+ return true;
46915
+ l2 = l2.parentElement;
46916
+ }
46917
+ return false;
46918
+ } });
46919
+ }
46920
+ var y$1 = ((t2) => (t2[t2.Keyboard = 0] = "Keyboard", t2[t2.Mouse = 1] = "Mouse", t2))(y$1 || {});
46867
46921
  typeof window != "undefined" && typeof document != "undefined" && (document.addEventListener("keydown", (e2) => {
46868
46922
  e2.metaKey || e2.altKey || e2.ctrlKey || (document.documentElement.dataset.headlessuiFocusVisible = "");
46869
46923
  }, true), document.addEventListener("click", (e2) => {
@@ -46875,19 +46929,19 @@ function I(e2) {
46875
46929
  return (t2 = (r2 = e2 == null ? void 0 : e2.matches) == null ? void 0 : r2.call(e2, H$1)) != null ? t2 : false;
46876
46930
  }
46877
46931
  function O(e2, r2 = (t2) => t2) {
46878
- return e2.slice().sort((t2, l) => {
46879
- let o2 = r2(t2), i2 = r2(l);
46932
+ return e2.slice().sort((t2, l2) => {
46933
+ let o2 = r2(t2), i2 = r2(l2);
46880
46934
  if (o2 === null || i2 === null)
46881
46935
  return 0;
46882
46936
  let n2 = o2.compareDocumentPosition(i2);
46883
46937
  return n2 & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : n2 & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0;
46884
46938
  });
46885
46939
  }
46886
- function P(e2, r2, { sorted: t2 = true, relativeTo: l = null, skipElements: o2 = [] } = {}) {
46940
+ function P(e2, r2, { sorted: t2 = true, relativeTo: l2 = null, skipElements: o2 = [] } = {}) {
46887
46941
  var m2;
46888
46942
  let i2 = (m2 = Array.isArray(e2) ? e2.length > 0 ? e2[0].ownerDocument : document : e2 == null ? void 0 : e2.ownerDocument) != null ? m2 : document, n2 = Array.isArray(e2) ? t2 ? O(e2) : e2 : E$1(e2);
46889
- o2.length > 0 && n2.length > 1 && (n2 = n2.filter((s2) => !o2.includes(s2))), l = l != null ? l : i2.activeElement;
46890
- let x = (() => {
46943
+ o2.length > 0 && n2.length > 1 && (n2 = n2.filter((s2) => !o2.includes(s2))), l2 = l2 != null ? l2 : i2.activeElement;
46944
+ let x2 = (() => {
46891
46945
  if (r2 & 5)
46892
46946
  return 1;
46893
46947
  if (r2 & 10)
@@ -46897,9 +46951,9 @@ function P(e2, r2, { sorted: t2 = true, relativeTo: l = null, skipElements: o2 =
46897
46951
  if (r2 & 1)
46898
46952
  return 0;
46899
46953
  if (r2 & 2)
46900
- return Math.max(0, n2.indexOf(l)) - 1;
46954
+ return Math.max(0, n2.indexOf(l2)) - 1;
46901
46955
  if (r2 & 4)
46902
- return Math.max(0, n2.indexOf(l)) + 1;
46956
+ return Math.max(0, n2.indexOf(l2)) + 1;
46903
46957
  if (r2 & 8)
46904
46958
  return n2.length - 1;
46905
46959
  throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last");
@@ -46916,10 +46970,42 @@ function P(e2, r2, { sorted: t2 = true, relativeTo: l = null, skipElements: o2 =
46916
46970
  if (s2 >= d2)
46917
46971
  return 1;
46918
46972
  }
46919
- u2 = n2[s2], u2 == null || u2.focus(L), a2 += x;
46973
+ u2 = n2[s2], u2 == null || u2.focus(L), a2 += x2;
46920
46974
  } while (u2 !== i2.activeElement);
46921
46975
  return r2 & 6 && I(u2) && u2.select(), 2;
46922
46976
  }
46977
+ function u$1(e2, t2, n2) {
46978
+ c$1.isServer || watchEffect((o2) => {
46979
+ document.addEventListener(e2, t2, n2), o2(() => document.removeEventListener(e2, t2, n2));
46980
+ });
46981
+ }
46982
+ function y(f2, m2, i2 = computed(() => true)) {
46983
+ function a2(e2, u2) {
46984
+ if (!i2.value || e2.defaultPrevented)
46985
+ return;
46986
+ let n2 = u2(e2);
46987
+ if (n2 === null || !n2.getRootNode().contains(n2))
46988
+ return;
46989
+ let c2 = function o2(t2) {
46990
+ return typeof t2 == "function" ? o2(t2()) : Array.isArray(t2) || t2 instanceof Set ? t2 : [t2];
46991
+ }(f2);
46992
+ for (let o$12 of c2) {
46993
+ if (o$12 === null)
46994
+ continue;
46995
+ let t2 = o$12 instanceof HTMLElement ? o$12 : o(o$12);
46996
+ if (t2 != null && t2.contains(n2) || e2.composed && e2.composedPath().includes(t2))
46997
+ return;
46998
+ }
46999
+ return !w(n2, h.Loose) && n2.tabIndex !== -1 && e2.preventDefault(), m2(e2, n2);
47000
+ }
47001
+ let r2 = ref(null);
47002
+ u$1("mousedown", (e2) => {
47003
+ var u2, n2;
47004
+ i2.value && (r2.value = ((n2 = (u2 = e2.composedPath) == null ? void 0 : u2.call(e2)) == null ? void 0 : n2[0]) || e2.target);
47005
+ }, true), u$1("click", (e2) => {
47006
+ r2.value && (a2(e2, () => r2.value), r2.value = null);
47007
+ }, true), u$1("blur", (e2) => a2(e2, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), true);
47008
+ }
46923
47009
  var a$1 = ((e2) => (e2[e2.None = 1] = "None", e2[e2.Focusable = 2] = "Focusable", e2[e2.Hidden = 4] = "Hidden", e2))(a$1 || {});
46924
47010
  let f$1 = defineComponent({ name: "Hidden", props: { as: { type: [Object, String], default: "div" }, features: { type: Number, default: 1 } }, setup(r2, { slots: t2, attrs: d2 }) {
46925
47011
  return () => {
@@ -46959,6 +47045,18 @@ function d$1(u2, e2, r2) {
46959
47045
  return f2.value || (i2.value = t2), e2 == null ? void 0 : e2(t2);
46960
47046
  }];
46961
47047
  }
47048
+ function r(e2) {
47049
+ return [e2.screenX, e2.screenY];
47050
+ }
47051
+ function u() {
47052
+ let e2 = ref([-1, -1]);
47053
+ return { wasMoved(n2) {
47054
+ let t2 = r(n2);
47055
+ return e2.value[0] === t2[0] && e2.value[1] === t2[1] ? false : (e2.value = t2, true);
47056
+ }, update(n2) {
47057
+ e2.value = r(n2);
47058
+ } };
47059
+ }
46962
47060
  let p = Symbol("DescriptionContext");
46963
47061
  function b() {
46964
47062
  let t2 = inject(p, null);
@@ -46979,8 +47077,248 @@ function M({ slot: t2 = ref({}), name: i2 = "Description", props: o2 = {} } = {}
46979
47077
  let E = defineComponent({ name: "Description", props: { as: { type: [Object, String], default: "p" }, id: { type: String, default: () => `headlessui-description-${t()}` } }, setup(t2, { attrs: i2, slots: o2 }) {
46980
47078
  let e2 = b();
46981
47079
  return onMounted(() => onUnmounted(e2.register(t2.id))), () => {
46982
- let { name: s2 = "Description", slot: n2 = ref({}), props: r2 = {} } = e2, { id: d2, ...l } = t2, c2 = { ...Object.entries(r2).reduce((f2, [a2, g]) => Object.assign(f2, { [a2]: unref(g) }), {}), id: d2 };
46983
- return H$2({ ourProps: c2, theirProps: l, slot: n2.value, attrs: i2, slots: o2, name: s2 });
47080
+ let { name: s2 = "Description", slot: n2 = ref({}), props: r2 = {} } = e2, { id: d2, ...l2 } = t2, c2 = { ...Object.entries(r2).reduce((f2, [a2, g]) => Object.assign(f2, { [a2]: unref(g) }), {}), id: d2 };
47081
+ return H$2({ ourProps: c2, theirProps: l2, slot: n2.value, attrs: i2, slots: o2, name: s2 });
47082
+ };
47083
+ } });
47084
+ function de$1(t2, b2) {
47085
+ return t2 === b2;
47086
+ }
47087
+ var fe = ((u2) => (u2[u2.Open = 0] = "Open", u2[u2.Closed = 1] = "Closed", u2))(fe || {}), pe = ((u2) => (u2[u2.Single = 0] = "Single", u2[u2.Multi = 1] = "Multi", u2))(pe || {}), ce$1 = ((u2) => (u2[u2.Pointer = 0] = "Pointer", u2[u2.Other = 1] = "Other", u2))(ce$1 || {});
47088
+ function ve(t2) {
47089
+ requestAnimationFrame(() => requestAnimationFrame(t2));
47090
+ }
47091
+ let U = Symbol("ListboxContext");
47092
+ function j$1(t2) {
47093
+ let b2 = inject(U, null);
47094
+ if (b2 === null) {
47095
+ let u2 = new Error(`<${t2} /> is missing a parent <Listbox /> component.`);
47096
+ throw Error.captureStackTrace && Error.captureStackTrace(u2, j$1), u2;
47097
+ }
47098
+ return b2;
47099
+ }
47100
+ let je = defineComponent({ name: "Listbox", emits: { "update:modelValue": (t2) => true }, props: { as: { type: [Object, String], default: "template" }, disabled: { type: [Boolean], default: false }, by: { type: [String, Function], default: () => de$1 }, horizontal: { type: [Boolean], default: false }, modelValue: { type: [Object, String, Number, Boolean], default: void 0 }, defaultValue: { type: [Object, String, Number, Boolean], default: void 0 }, form: { type: String, optional: true }, name: { type: String, optional: true }, multiple: { type: [Boolean], default: false } }, inheritAttrs: false, setup(t2, { slots: b2, attrs: u2, emit: L }) {
47101
+ let e$12 = ref(1), d2 = ref(null), m2 = ref(null), x$1 = ref(null), f2 = ref([]), o$12 = ref(""), i2 = ref(null), w$1 = ref(1);
47102
+ function R(a2 = (l2) => l2) {
47103
+ let l2 = i2.value !== null ? f2.value[i2.value] : null, r2 = O(a2(f2.value.slice()), (S2) => o(S2.dataRef.domRef)), s2 = l2 ? r2.indexOf(l2) : null;
47104
+ return s2 === -1 && (s2 = null), { options: r2, activeOptionIndex: s2 };
47105
+ }
47106
+ let h$2 = computed(() => t2.multiple ? 1 : 0), [y$12, M2] = d$1(computed(() => t2.modelValue === void 0 ? u$2(h$2.value, { [1]: [], [0]: void 0 }) : t2.modelValue), (a2) => L("update:modelValue", a2), computed(() => t2.defaultValue)), n2 = { listboxState: e$12, value: y$12, mode: h$2, compare(a2, l2) {
47107
+ if (typeof t2.by == "string") {
47108
+ let r2 = t2.by;
47109
+ return (a2 == null ? void 0 : a2[r2]) === (l2 == null ? void 0 : l2[r2]);
47110
+ }
47111
+ return t2.by(a2, l2);
47112
+ }, orientation: computed(() => t2.horizontal ? "horizontal" : "vertical"), labelRef: d2, buttonRef: m2, optionsRef: x$1, disabled: computed(() => t2.disabled), options: f2, searchQuery: o$12, activeOptionIndex: i2, activationTrigger: w$1, closeListbox() {
47113
+ t2.disabled || e$12.value !== 1 && (e$12.value = 1, i2.value = null);
47114
+ }, openListbox() {
47115
+ t2.disabled || e$12.value !== 0 && (e$12.value = 0);
47116
+ }, goToOption(a2, l2, r2) {
47117
+ if (t2.disabled || e$12.value === 1)
47118
+ return;
47119
+ let s2 = R(), S2 = x(a2 === a$2.Specific ? { focus: a$2.Specific, id: l2 } : { focus: a2 }, { resolveItems: () => s2.options, resolveActiveIndex: () => s2.activeOptionIndex, resolveId: (k) => k.id, resolveDisabled: (k) => k.dataRef.disabled });
47120
+ o$12.value = "", i2.value = S2, w$1.value = r2 != null ? r2 : 1, f2.value = s2.options;
47121
+ }, search(a2) {
47122
+ if (t2.disabled || e$12.value === 1)
47123
+ return;
47124
+ let r2 = o$12.value !== "" ? 0 : 1;
47125
+ o$12.value += a2.toLowerCase();
47126
+ let S2 = (i2.value !== null ? f2.value.slice(i2.value + r2).concat(f2.value.slice(0, i2.value + r2)) : f2.value).find((V) => V.dataRef.textValue.startsWith(o$12.value) && !V.dataRef.disabled), k = S2 ? f2.value.indexOf(S2) : -1;
47127
+ k === -1 || k === i2.value || (i2.value = k, w$1.value = 1);
47128
+ }, clearSearch() {
47129
+ t2.disabled || e$12.value !== 1 && o$12.value !== "" && (o$12.value = "");
47130
+ }, registerOption(a2, l2) {
47131
+ let r2 = R((s2) => [...s2, { id: a2, dataRef: l2 }]);
47132
+ f2.value = r2.options, i2.value = r2.activeOptionIndex;
47133
+ }, unregisterOption(a2) {
47134
+ let l2 = R((r2) => {
47135
+ let s2 = r2.findIndex((S2) => S2.id === a2);
47136
+ return s2 !== -1 && r2.splice(s2, 1), r2;
47137
+ });
47138
+ f2.value = l2.options, i2.value = l2.activeOptionIndex, w$1.value = 1;
47139
+ }, select(a2) {
47140
+ t2.disabled || M2(u$2(h$2.value, { [0]: () => a2, [1]: () => {
47141
+ let l2 = toRaw(n2.value.value).slice(), r2 = toRaw(a2), s2 = l2.findIndex((S2) => n2.compare(r2, toRaw(S2)));
47142
+ return s2 === -1 ? l2.push(r2) : l2.splice(s2, 1), l2;
47143
+ } }));
47144
+ } };
47145
+ y([m2, x$1], (a2, l2) => {
47146
+ var r2;
47147
+ n2.closeListbox(), w(l2, h.Loose) || (a2.preventDefault(), (r2 = o(m2)) == null || r2.focus());
47148
+ }, computed(() => e$12.value === 0)), provide(U, n2), c$2(computed(() => u$2(e$12.value, { [0]: l.Open, [1]: l.Closed })));
47149
+ let p2 = computed(() => {
47150
+ var a2;
47151
+ return (a2 = o(m2)) == null ? void 0 : a2.closest("form");
47152
+ });
47153
+ return onMounted(() => {
47154
+ watch([p2], () => {
47155
+ if (!p2.value || t2.defaultValue === void 0)
47156
+ return;
47157
+ function a2() {
47158
+ n2.select(t2.defaultValue);
47159
+ }
47160
+ return p2.value.addEventListener("reset", a2), () => {
47161
+ var l2;
47162
+ (l2 = p2.value) == null || l2.removeEventListener("reset", a2);
47163
+ };
47164
+ }, { immediate: true });
47165
+ }), () => {
47166
+ let { name: a2, modelValue: l2, disabled: r2, form: s2, ...S2 } = t2, k = { open: e$12.value === 0, disabled: r2, value: y$12.value };
47167
+ return h$1(Fragment, [...a2 != null && y$12.value != null ? e({ [a2]: y$12.value }).map(([V, $]) => h$1(f$1, K$1({ features: a$1.Hidden, key: V, as: "input", type: "hidden", hidden: true, readOnly: true, form: s2, name: V, value: $ }))) : [], H$2({ ourProps: {}, theirProps: { ...u2, ...T$2(S2, ["defaultValue", "onUpdate:modelValue", "horizontal", "multiple", "by"]) }, slot: k, slots: b2, attrs: u2, name: "Listbox" })]);
47168
+ };
47169
+ } }), Ae = defineComponent({ name: "ListboxLabel", props: { as: { type: [Object, String], default: "label" }, id: { type: String, default: () => `headlessui-listbox-label-${t()}` } }, setup(t2, { attrs: b2, slots: u2 }) {
47170
+ let L = j$1("ListboxLabel");
47171
+ function e2() {
47172
+ var d2;
47173
+ (d2 = o(L.buttonRef)) == null || d2.focus({ preventScroll: true });
47174
+ }
47175
+ return () => {
47176
+ let d2 = { open: L.listboxState.value === 0, disabled: L.disabled.value }, { id: m2, ...x2 } = t2, f2 = { id: m2, ref: L.labelRef, onClick: e2 };
47177
+ return H$2({ ourProps: f2, theirProps: x2, slot: d2, attrs: b2, slots: u2, name: "ListboxLabel" });
47178
+ };
47179
+ } }), Fe = defineComponent({ name: "ListboxButton", props: { as: { type: [Object, String], default: "button" }, id: { type: String, default: () => `headlessui-listbox-button-${t()}` } }, setup(t2, { attrs: b2, slots: u2, expose: L }) {
47180
+ let e2 = j$1("ListboxButton");
47181
+ L({ el: e2.buttonRef, $el: e2.buttonRef });
47182
+ function d2(o$2) {
47183
+ switch (o$2.key) {
47184
+ case o$1.Space:
47185
+ case o$1.Enter:
47186
+ case o$1.ArrowDown:
47187
+ o$2.preventDefault(), e2.openListbox(), nextTick(() => {
47188
+ var i2;
47189
+ (i2 = o(e2.optionsRef)) == null || i2.focus({ preventScroll: true }), e2.value.value || e2.goToOption(a$2.First);
47190
+ });
47191
+ break;
47192
+ case o$1.ArrowUp:
47193
+ o$2.preventDefault(), e2.openListbox(), nextTick(() => {
47194
+ var i2;
47195
+ (i2 = o(e2.optionsRef)) == null || i2.focus({ preventScroll: true }), e2.value.value || e2.goToOption(a$2.Last);
47196
+ });
47197
+ break;
47198
+ }
47199
+ }
47200
+ function m2(o2) {
47201
+ switch (o2.key) {
47202
+ case o$1.Space:
47203
+ o2.preventDefault();
47204
+ break;
47205
+ }
47206
+ }
47207
+ function x2(o$12) {
47208
+ e2.disabled.value || (e2.listboxState.value === 0 ? (e2.closeListbox(), nextTick(() => {
47209
+ var i2;
47210
+ return (i2 = o(e2.buttonRef)) == null ? void 0 : i2.focus({ preventScroll: true });
47211
+ })) : (o$12.preventDefault(), e2.openListbox(), ve(() => {
47212
+ var i2;
47213
+ return (i2 = o(e2.optionsRef)) == null ? void 0 : i2.focus({ preventScroll: true });
47214
+ })));
47215
+ }
47216
+ let f2 = b$1(computed(() => ({ as: t2.as, type: b2.type })), e2.buttonRef);
47217
+ return () => {
47218
+ var h2, y2;
47219
+ let o$12 = { open: e2.listboxState.value === 0, disabled: e2.disabled.value, value: e2.value.value }, { id: i2, ...w2 } = t2, R = { ref: e2.buttonRef, id: i2, type: f2.value, "aria-haspopup": "listbox", "aria-controls": (h2 = o(e2.optionsRef)) == null ? void 0 : h2.id, "aria-expanded": e2.disabled.value ? void 0 : e2.listboxState.value === 0, "aria-labelledby": e2.labelRef.value ? [(y2 = o(e2.labelRef)) == null ? void 0 : y2.id, i2].join(" ") : void 0, disabled: e2.disabled.value === true ? true : void 0, onKeydown: d2, onKeyup: m2, onClick: x2 };
47220
+ return H$2({ ourProps: R, theirProps: w2, slot: o$12, attrs: b2, slots: u2, name: "ListboxButton" });
47221
+ };
47222
+ } }), Be = defineComponent({ name: "ListboxOptions", props: { as: { type: [Object, String], default: "ul" }, static: { type: Boolean, default: false }, unmount: { type: Boolean, default: true }, id: { type: String, default: () => `headlessui-listbox-options-${t()}` } }, setup(t2, { attrs: b2, slots: u2, expose: L }) {
47223
+ let e2 = j$1("ListboxOptions"), d2 = ref(null);
47224
+ L({ el: e2.optionsRef, $el: e2.optionsRef });
47225
+ function m2(o$2) {
47226
+ switch (d2.value && clearTimeout(d2.value), o$2.key) {
47227
+ case o$1.Space:
47228
+ if (e2.searchQuery.value !== "")
47229
+ return o$2.preventDefault(), o$2.stopPropagation(), e2.search(o$2.key);
47230
+ case o$1.Enter:
47231
+ if (o$2.preventDefault(), o$2.stopPropagation(), e2.activeOptionIndex.value !== null) {
47232
+ let i2 = e2.options.value[e2.activeOptionIndex.value];
47233
+ e2.select(i2.dataRef.value);
47234
+ }
47235
+ e2.mode.value === 0 && (e2.closeListbox(), nextTick(() => {
47236
+ var i2;
47237
+ return (i2 = o(e2.buttonRef)) == null ? void 0 : i2.focus({ preventScroll: true });
47238
+ }));
47239
+ break;
47240
+ case u$2(e2.orientation.value, { vertical: o$1.ArrowDown, horizontal: o$1.ArrowRight }):
47241
+ return o$2.preventDefault(), o$2.stopPropagation(), e2.goToOption(a$2.Next);
47242
+ case u$2(e2.orientation.value, { vertical: o$1.ArrowUp, horizontal: o$1.ArrowLeft }):
47243
+ return o$2.preventDefault(), o$2.stopPropagation(), e2.goToOption(a$2.Previous);
47244
+ case o$1.Home:
47245
+ case o$1.PageUp:
47246
+ return o$2.preventDefault(), o$2.stopPropagation(), e2.goToOption(a$2.First);
47247
+ case o$1.End:
47248
+ case o$1.PageDown:
47249
+ return o$2.preventDefault(), o$2.stopPropagation(), e2.goToOption(a$2.Last);
47250
+ case o$1.Escape:
47251
+ o$2.preventDefault(), o$2.stopPropagation(), e2.closeListbox(), nextTick(() => {
47252
+ var i2;
47253
+ return (i2 = o(e2.buttonRef)) == null ? void 0 : i2.focus({ preventScroll: true });
47254
+ });
47255
+ break;
47256
+ case o$1.Tab:
47257
+ o$2.preventDefault(), o$2.stopPropagation();
47258
+ break;
47259
+ default:
47260
+ o$2.key.length === 1 && (e2.search(o$2.key), d2.value = setTimeout(() => e2.clearSearch(), 350));
47261
+ break;
47262
+ }
47263
+ }
47264
+ let x2 = p$3(), f2 = computed(() => x2 !== null ? (x2.value & l.Open) === l.Open : e2.listboxState.value === 0);
47265
+ return () => {
47266
+ var h2, y2, M2, n2;
47267
+ let o$12 = { open: e2.listboxState.value === 0 }, { id: i2, ...w2 } = t2, R = { "aria-activedescendant": e2.activeOptionIndex.value === null || (h2 = e2.options.value[e2.activeOptionIndex.value]) == null ? void 0 : h2.id, "aria-multiselectable": e2.mode.value === 1 ? true : void 0, "aria-labelledby": (n2 = (y2 = o(e2.labelRef)) == null ? void 0 : y2.id) != null ? n2 : (M2 = o(e2.buttonRef)) == null ? void 0 : M2.id, "aria-orientation": e2.orientation.value, id: i2, onKeydown: m2, role: "listbox", tabIndex: 0, ref: e2.optionsRef };
47268
+ return H$2({ ourProps: R, theirProps: w2, slot: o$12, attrs: b2, slots: u2, features: N$1.RenderStrategy | N$1.Static, visible: f2.value, name: "ListboxOptions" });
47269
+ };
47270
+ } }), Ke = defineComponent({ name: "ListboxOption", props: { as: { type: [Object, String], default: "li" }, value: { type: [Object, String, Number, Boolean] }, disabled: { type: Boolean, default: false }, id: { type: String, default: () => `headlessui-listbox.option-${t()}` } }, setup(t2, { slots: b2, attrs: u$12, expose: L }) {
47271
+ let e2 = j$1("ListboxOption"), d2 = ref(null);
47272
+ L({ el: d2, $el: d2 });
47273
+ let m2 = computed(() => e2.activeOptionIndex.value !== null ? e2.options.value[e2.activeOptionIndex.value].id === t2.id : false), x2 = computed(() => u$2(e2.mode.value, { [0]: () => e2.compare(toRaw(e2.value.value), toRaw(t2.value)), [1]: () => toRaw(e2.value.value).some((n2) => e2.compare(toRaw(n2), toRaw(t2.value))) })), f2 = computed(() => u$2(e2.mode.value, { [1]: () => {
47274
+ var p2;
47275
+ let n2 = toRaw(e2.value.value);
47276
+ return ((p2 = e2.options.value.find((a2) => n2.some((l2) => e2.compare(toRaw(l2), toRaw(a2.dataRef.value))))) == null ? void 0 : p2.id) === t2.id;
47277
+ }, [0]: () => x2.value })), o$12 = computed(() => ({ disabled: t2.disabled, value: t2.value, textValue: "", domRef: d2 }));
47278
+ onMounted(() => {
47279
+ var p2, a2;
47280
+ let n2 = (a2 = (p2 = o(d2)) == null ? void 0 : p2.textContent) == null ? void 0 : a2.toLowerCase().trim();
47281
+ n2 !== void 0 && (o$12.value.textValue = n2);
47282
+ }), onMounted(() => e2.registerOption(t2.id, o$12)), onUnmounted(() => e2.unregisterOption(t2.id)), onMounted(() => {
47283
+ watch([e2.listboxState, x2], () => {
47284
+ e2.listboxState.value === 0 && x2.value && u$2(e2.mode.value, { [1]: () => {
47285
+ f2.value && e2.goToOption(a$2.Specific, t2.id);
47286
+ }, [0]: () => {
47287
+ e2.goToOption(a$2.Specific, t2.id);
47288
+ } });
47289
+ }, { immediate: true });
47290
+ }), watchEffect(() => {
47291
+ e2.listboxState.value === 0 && m2.value && e2.activationTrigger.value !== 0 && nextTick(() => {
47292
+ var n2, p2;
47293
+ return (p2 = (n2 = o(d2)) == null ? void 0 : n2.scrollIntoView) == null ? void 0 : p2.call(n2, { block: "nearest" });
47294
+ });
47295
+ });
47296
+ function i2(n2) {
47297
+ if (t2.disabled)
47298
+ return n2.preventDefault();
47299
+ e2.select(t2.value), e2.mode.value === 0 && (e2.closeListbox(), nextTick(() => {
47300
+ var p2;
47301
+ return (p2 = o(e2.buttonRef)) == null ? void 0 : p2.focus({ preventScroll: true });
47302
+ }));
47303
+ }
47304
+ function w2() {
47305
+ if (t2.disabled)
47306
+ return e2.goToOption(a$2.Nothing);
47307
+ e2.goToOption(a$2.Specific, t2.id);
47308
+ }
47309
+ let R = u();
47310
+ function h2(n2) {
47311
+ R.update(n2);
47312
+ }
47313
+ function y2(n2) {
47314
+ R.wasMoved(n2) && (t2.disabled || m2.value || e2.goToOption(a$2.Specific, t2.id, 0));
47315
+ }
47316
+ function M2(n2) {
47317
+ R.wasMoved(n2) && (t2.disabled || m2.value && e2.goToOption(a$2.Nothing));
47318
+ }
47319
+ return () => {
47320
+ let { disabled: n2 } = t2, p2 = { active: m2.value, selected: x2.value, disabled: n2 }, { id: a2, value: l2, disabled: r2, ...s2 } = t2, S2 = { id: a2, ref: d2, role: "option", tabIndex: n2 === true ? void 0 : -1, "aria-disabled": n2 === true ? true : void 0, "aria-selected": x2.value, disabled: void 0, onClick: i2, onFocus: w2, onPointerenter: h2, onMouseenter: h2, onPointermove: y2, onMousemove: y2, onPointerleave: M2, onMouseleave: M2 };
47321
+ return H$2({ ourProps: S2, theirProps: s2, slot: p2, attrs: u$12, slots: b2, name: "ListboxOption" });
46984
47322
  };
46985
47323
  } });
46986
47324
  let a = Symbol("LabelContext");
@@ -46994,19 +47332,19 @@ function d() {
46994
47332
  }
46995
47333
  function K({ slot: t2 = {}, name: n2 = "Label", props: i2 = {} } = {}) {
46996
47334
  let e2 = ref([]);
46997
- function l(r2) {
47335
+ function l2(r2) {
46998
47336
  return e2.value.push(r2), () => {
46999
47337
  let o2 = e2.value.indexOf(r2);
47000
47338
  o2 !== -1 && e2.value.splice(o2, 1);
47001
47339
  };
47002
47340
  }
47003
- return provide(a, { register: l, slot: t2, name: n2, props: i2 }), computed(() => e2.value.length > 0 ? e2.value.join(" ") : void 0);
47341
+ return provide(a, { register: l2, slot: t2, name: n2, props: i2 }), computed(() => e2.value.length > 0 ? e2.value.join(" ") : void 0);
47004
47342
  }
47005
47343
  let T = defineComponent({ name: "Label", props: { as: { type: [Object, String], default: "label" }, passive: { type: [Boolean], default: false }, id: { type: String, default: () => `headlessui-label-${t()}` } }, setup(t2, { slots: n2, attrs: i2 }) {
47006
47344
  let e2 = d();
47007
47345
  return onMounted(() => onUnmounted(e2.register(t2.id))), () => {
47008
- let { name: l = "Label", slot: r2 = {}, props: o2 = {} } = e2, { id: p2, passive: c2, ...u2 } = t2, s2 = { ...Object.entries(o2).reduce((f2, [b2, g]) => Object.assign(f2, { [b2]: unref(g) }), {}), id: p2 };
47009
- return c2 && (delete s2.onClick, delete s2.htmlFor, delete u2.onClick), H$2({ ourProps: s2, theirProps: u2, slot: r2, attrs: i2, slots: n2, name: l });
47346
+ let { name: l2 = "Label", slot: r2 = {}, props: o2 = {} } = e2, { id: p2, passive: c2, ...u2 } = t2, s2 = { ...Object.entries(o2).reduce((f2, [b2, g]) => Object.assign(f2, { [b2]: unref(g) }), {}), id: p2 };
47347
+ return c2 && (delete s2.onClick, delete s2.htmlFor, delete u2.onClick), H$2({ ourProps: s2, theirProps: u2, slot: r2, attrs: i2, slots: n2, name: l2 });
47010
47348
  };
47011
47349
  } });
47012
47350
  function re(t2, c2) {
@@ -47022,7 +47360,7 @@ function H(t2) {
47022
47360
  return c2;
47023
47361
  }
47024
47362
  let ke = defineComponent({ name: "RadioGroup", emits: { "update:modelValue": (t2) => true }, props: { as: { type: [Object, String], default: "div" }, disabled: { type: [Boolean], default: false }, by: { type: [String, Function], default: () => re }, modelValue: { type: [Object, String, Number, Boolean], default: void 0 }, defaultValue: { type: [Object, String, Number, Boolean], default: void 0 }, form: { type: String, optional: true }, name: { type: String, optional: true }, id: { type: String, default: () => `headlessui-radiogroup-${t()}` } }, inheritAttrs: false, setup(t2, { emit: c2, attrs: u2, slots: E2, expose: d2 }) {
47025
- let s2 = ref(null), i2 = ref([]), R = K({ name: "RadioGroupLabel" }), w = M({ name: "RadioGroupDescription" });
47363
+ let s2 = ref(null), i2 = ref([]), R = K({ name: "RadioGroupLabel" }), w2 = M({ name: "RadioGroupDescription" });
47026
47364
  d2({ el: s2, $el: s2 });
47027
47365
  let [f2, S2] = d$1(computed(() => t2.modelValue), (e2) => c2("update:modelValue", e2), computed(() => t2.defaultValue)), p2 = { options: i2, value: f2, disabled: computed(() => t2.disabled), firstOption: computed(() => i2.value.find((e2) => !e2.propsRef.disabled)), containsCheckedOption: computed(() => i2.value.some((e2) => p2.compare(toRaw(e2.propsRef.value), toRaw(t2.modelValue)))), compare(e2, a2) {
47028
47366
  if (typeof t2.by == "string") {
@@ -47034,7 +47372,7 @@ let ke = defineComponent({ name: "RadioGroup", emits: { "update:modelValue": (t2
47034
47372
  var n2;
47035
47373
  if (t2.disabled || p2.compare(toRaw(f2.value), toRaw(e2)))
47036
47374
  return false;
47037
- let a2 = (n2 = i2.value.find((l) => p2.compare(toRaw(l.propsRef.value), toRaw(e2)))) == null ? void 0 : n2.propsRef;
47375
+ let a2 = (n2 = i2.value.find((l2) => p2.compare(toRaw(l2.propsRef.value), toRaw(e2)))) == null ? void 0 : n2.propsRef;
47038
47376
  return a2 != null && a2.disabled ? false : (S2(e2), true);
47039
47377
  }, registerOption(e2) {
47040
47378
  i2.value.push(e2), i2.value = O(i2.value, (a2) => a2.element);
@@ -47058,29 +47396,29 @@ let ke = defineComponent({ name: "RadioGroup", emits: { "update:modelValue": (t2
47058
47396
  case o$1.ArrowLeft:
47059
47397
  case o$1.ArrowUp:
47060
47398
  if (e2.preventDefault(), e2.stopPropagation(), P(a2, N.Previous | N.WrapAround) === T$1.Success) {
47061
- let l = i2.value.find((r2) => {
47399
+ let l2 = i2.value.find((r2) => {
47062
47400
  var b2;
47063
47401
  return r2.element === ((b2 = m(s2)) == null ? void 0 : b2.activeElement);
47064
47402
  });
47065
- l && p2.change(l.propsRef.value);
47403
+ l2 && p2.change(l2.propsRef.value);
47066
47404
  }
47067
47405
  break;
47068
47406
  case o$1.ArrowRight:
47069
47407
  case o$1.ArrowDown:
47070
47408
  if (e2.preventDefault(), e2.stopPropagation(), P(a2, N.Next | N.WrapAround) === T$1.Success) {
47071
- let l = i2.value.find((r2) => {
47409
+ let l2 = i2.value.find((r2) => {
47072
47410
  var b2;
47073
47411
  return r2.element === ((b2 = m(r2.element)) == null ? void 0 : b2.activeElement);
47074
47412
  });
47075
- l && p2.change(l.propsRef.value);
47413
+ l2 && p2.change(l2.propsRef.value);
47076
47414
  }
47077
47415
  break;
47078
47416
  case o$1.Space:
47079
47417
  {
47080
47418
  e2.preventDefault(), e2.stopPropagation();
47081
- let n2 = i2.value.find((l) => {
47419
+ let n2 = i2.value.find((l2) => {
47082
47420
  var r2;
47083
- return l.element === ((r2 = m(l.element)) == null ? void 0 : r2.activeElement);
47421
+ return l2.element === ((r2 = m(l2.element)) == null ? void 0 : r2.activeElement);
47084
47422
  });
47085
47423
  n2 && p2.change(n2.propsRef.value);
47086
47424
  }
@@ -47104,16 +47442,16 @@ let ke = defineComponent({ name: "RadioGroup", emits: { "update:modelValue": (t2
47104
47442
  };
47105
47443
  }, { immediate: true });
47106
47444
  }), () => {
47107
- let { disabled: e$12, name: a2, id: n2, form: l, ...r2 } = t2, b2 = { ref: s2, id: n2, role: "radiogroup", "aria-labelledby": R.value, "aria-describedby": w.value, onKeydown: m$1 };
47108
- return h$1(Fragment, [...a2 != null && f2.value != null ? e({ [a2]: f2.value }).map(([T2, G]) => h$1(f$1, K$1({ features: a$1.Hidden, key: T2, as: "input", type: "hidden", hidden: true, readOnly: true, form: l, name: T2, value: G }))) : [], H$2({ ourProps: b2, theirProps: { ...u2, ...T$2(r2, ["modelValue", "defaultValue", "by"]) }, slot: {}, attrs: u2, slots: E2, name: "RadioGroup" })]);
47445
+ let { disabled: e$12, name: a2, id: n2, form: l2, ...r2 } = t2, b2 = { ref: s2, id: n2, role: "radiogroup", "aria-labelledby": R.value, "aria-describedby": w2.value, onKeydown: m$1 };
47446
+ return h$1(Fragment, [...a2 != null && f2.value != null ? e({ [a2]: f2.value }).map(([T2, G]) => h$1(f$1, K$1({ features: a$1.Hidden, key: T2, as: "input", type: "hidden", hidden: true, readOnly: true, form: l2, name: T2, value: G }))) : [], H$2({ ourProps: b2, theirProps: { ...u2, ...T$2(r2, ["modelValue", "defaultValue", "by"]) }, slot: {}, attrs: u2, slots: E2, name: "RadioGroup" })]);
47109
47447
  };
47110
47448
  } });
47111
47449
  var ie = ((u2) => (u2[u2.Empty = 1] = "Empty", u2[u2.Active = 2] = "Active", u2))(ie || {});
47112
47450
  let Ee = defineComponent({ name: "RadioGroupOption", props: { as: { type: [Object, String], default: "div" }, value: { type: [Object, String, Number, Boolean] }, disabled: { type: Boolean, default: false }, id: { type: String, default: () => `headlessui-radiogroup-option-${t()}` } }, setup(t2, { attrs: c2, slots: u2, expose: E2 }) {
47113
- let d2 = H("RadioGroupOption"), s2 = K({ name: "RadioGroupLabel" }), i2 = M({ name: "RadioGroupDescription" }), R = ref(null), w = computed(() => ({ value: t2.value, disabled: t2.disabled })), f2 = ref(1);
47451
+ let d2 = H("RadioGroupOption"), s2 = K({ name: "RadioGroupLabel" }), i2 = M({ name: "RadioGroupDescription" }), R = ref(null), w2 = computed(() => ({ value: t2.value, disabled: t2.disabled })), f2 = ref(1);
47114
47452
  E2({ el: R, $el: R });
47115
47453
  let S2 = computed(() => o(R));
47116
- onMounted(() => d2.registerOption({ id: t2.id, element: S2, propsRef: w })), onUnmounted(() => d2.unregisterOption(t2.id));
47454
+ onMounted(() => d2.registerOption({ id: t2.id, element: S2, propsRef: w2 })), onUnmounted(() => d2.unregisterOption(t2.id));
47117
47455
  let p2 = computed(() => {
47118
47456
  var r2;
47119
47457
  return ((r2 = d2.firstOption.value) == null ? void 0 : r2.id) === t2.id;
@@ -47125,28 +47463,28 @@ let Ee = defineComponent({ name: "RadioGroupOption", props: { as: { type: [Objec
47125
47463
  function n2() {
47126
47464
  f2.value |= 2;
47127
47465
  }
47128
- function l() {
47466
+ function l2() {
47129
47467
  f2.value &= -3;
47130
47468
  }
47131
47469
  return () => {
47132
- let { id: r2, value: b2, disabled: T2, ...G } = t2, N2 = { checked: v2.value, disabled: m2.value, active: Boolean(f2.value & 2) }, K2 = { id: r2, ref: R, role: "radio", "aria-checked": v2.value ? "true" : "false", "aria-labelledby": s2.value, "aria-describedby": i2.value, "aria-disabled": m2.value ? true : void 0, tabIndex: e2.value, onClick: m2.value ? void 0 : a2, onFocus: m2.value ? void 0 : n2, onBlur: m2.value ? void 0 : l };
47470
+ let { id: r2, value: b2, disabled: T2, ...G } = t2, N2 = { checked: v2.value, disabled: m2.value, active: Boolean(f2.value & 2) }, K2 = { id: r2, ref: R, role: "radio", "aria-checked": v2.value ? "true" : "false", "aria-labelledby": s2.value, "aria-describedby": i2.value, "aria-disabled": m2.value ? true : void 0, tabIndex: e2.value, onClick: m2.value ? void 0 : a2, onFocus: m2.value ? void 0 : n2, onBlur: m2.value ? void 0 : l2 };
47133
47471
  return H$2({ ourProps: K2, theirProps: G, slot: N2, attrs: c2, slots: u2, name: "RadioGroupOption" });
47134
47472
  };
47135
47473
  } }), we = T, Se = E;
47136
- let S = Symbol("GroupContext"), ae = defineComponent({ name: "SwitchGroup", props: { as: { type: [Object, String], default: "template" } }, setup(l, { slots: p2, attrs: a2 }) {
47474
+ let S = Symbol("GroupContext"), ae = defineComponent({ name: "SwitchGroup", props: { as: { type: [Object, String], default: "template" } }, setup(l2, { slots: p2, attrs: a2 }) {
47137
47475
  let o2 = ref(null), f2 = K({ name: "SwitchLabel", props: { htmlFor: computed(() => {
47138
47476
  var r2;
47139
47477
  return (r2 = o2.value) == null ? void 0 : r2.id;
47140
47478
  }), onClick(r2) {
47141
47479
  o2.value && (r2.currentTarget.tagName === "LABEL" && r2.preventDefault(), o2.value.click(), o2.value.focus({ preventScroll: true }));
47142
47480
  } } }), t2 = M({ name: "SwitchDescription" });
47143
- return provide(S, { switchRef: o2, labelledby: f2, describedby: t2 }), () => H$2({ theirProps: l, ourProps: {}, slot: {}, slots: p2, attrs: a2, name: "SwitchGroup" });
47144
- } }), ue = defineComponent({ name: "Switch", emits: { "update:modelValue": (l) => true }, props: { as: { type: [Object, String], default: "button" }, modelValue: { type: Boolean, default: void 0 }, defaultChecked: { type: Boolean, optional: true }, form: { type: String, optional: true }, name: { type: String, optional: true }, value: { type: String, optional: true }, id: { type: String, default: () => `headlessui-switch-${t()}` } }, inheritAttrs: false, setup(l, { emit: p2, attrs: a2, slots: o$2, expose: f2 }) {
47145
- let t2 = inject(S, null), [i2, r2] = d$1(computed(() => l.modelValue), (e2) => p2("update:modelValue", e2), computed(() => l.defaultChecked));
47481
+ return provide(S, { switchRef: o2, labelledby: f2, describedby: t2 }), () => H$2({ theirProps: l2, ourProps: {}, slot: {}, slots: p2, attrs: a2, name: "SwitchGroup" });
47482
+ } }), ue = defineComponent({ name: "Switch", emits: { "update:modelValue": (l2) => true }, props: { as: { type: [Object, String], default: "button" }, modelValue: { type: Boolean, default: void 0 }, defaultChecked: { type: Boolean, optional: true }, form: { type: String, optional: true }, name: { type: String, optional: true }, value: { type: String, optional: true }, id: { type: String, default: () => `headlessui-switch-${t()}` } }, inheritAttrs: false, setup(l2, { emit: p2, attrs: a2, slots: o$2, expose: f2 }) {
47483
+ let t2 = inject(S, null), [i2, r2] = d$1(computed(() => l2.modelValue), (e2) => p2("update:modelValue", e2), computed(() => l2.defaultChecked));
47146
47484
  function s2() {
47147
47485
  r2(!i2.value);
47148
47486
  }
47149
- let w = ref(null), u2 = t2 === null ? w : t2.switchRef, g = b$1(computed(() => ({ as: l.as, type: a2.type })), u2);
47487
+ let w2 = ref(null), u2 = t2 === null ? w2 : t2.switchRef, g = b$1(computed(() => ({ as: l2.as, type: a2.type })), u2);
47150
47488
  f2({ el: u2, $el: u2 });
47151
47489
  function k(e2) {
47152
47490
  e2.preventDefault(), s2();
@@ -47163,10 +47501,10 @@ let S = Symbol("GroupContext"), ae = defineComponent({ name: "SwitchGroup", prop
47163
47501
  });
47164
47502
  return onMounted(() => {
47165
47503
  watch([c2], () => {
47166
- if (!c2.value || l.defaultChecked === void 0)
47504
+ if (!c2.value || l2.defaultChecked === void 0)
47167
47505
  return;
47168
47506
  function e2() {
47169
- r2(l.defaultChecked);
47507
+ r2(l2.defaultChecked);
47170
47508
  }
47171
47509
  return c2.value.addEventListener("reset", e2), () => {
47172
47510
  var n2;
@@ -47174,11 +47512,11 @@ let S = Symbol("GroupContext"), ae = defineComponent({ name: "SwitchGroup", prop
47174
47512
  };
47175
47513
  }, { immediate: true });
47176
47514
  }), () => {
47177
- let { id: e2, name: n2, value: L, form: D, ...R } = l, K2 = { checked: i2.value }, x = { id: e2, ref: u2, role: "switch", type: g.value, tabIndex: 0, "aria-checked": i2.value, "aria-labelledby": t2 == null ? void 0 : t2.labelledby.value, "aria-describedby": t2 == null ? void 0 : t2.describedby.value, onClick: k, onKeyup: C, onKeypress: E2 };
47178
- return h$1(Fragment, [n2 != null && i2.value != null ? h$1(f$1, K$1({ features: a$1.Hidden, as: "input", type: "checkbox", hidden: true, readOnly: true, checked: i2.value, form: D, name: n2, value: L })) : null, H$2({ ourProps: x, theirProps: { ...a2, ...T$2(R, ["modelValue", "defaultChecked"]) }, slot: K2, attrs: a2, slots: o$2, name: "Switch" })]);
47515
+ let { id: e2, name: n2, value: L, form: D, ...R } = l2, K2 = { checked: i2.value }, x2 = { id: e2, ref: u2, role: "switch", type: g.value, tabIndex: 0, "aria-checked": i2.value, "aria-labelledby": t2 == null ? void 0 : t2.labelledby.value, "aria-describedby": t2 == null ? void 0 : t2.describedby.value, onClick: k, onKeyup: C, onKeypress: E2 };
47516
+ return h$1(Fragment, [n2 != null && i2.value != null ? h$1(f$1, K$1({ features: a$1.Hidden, as: "input", type: "checkbox", hidden: true, readOnly: true, checked: i2.value, form: D, name: n2, value: L })) : null, H$2({ ourProps: x2, theirProps: { ...a2, ...T$2(R, ["modelValue", "defaultChecked"]) }, slot: K2, attrs: a2, slots: o$2, name: "Switch" })]);
47179
47517
  };
47180
47518
  } }), de = T, ce = E;
47181
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
47519
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
47182
47520
  __name: "VRadioDescription",
47183
47521
  props: {
47184
47522
  as: {
@@ -47197,7 +47535,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
47197
47535
  };
47198
47536
  }
47199
47537
  });
47200
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
47538
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
47201
47539
  __name: "VRadioGroup",
47202
47540
  props: {
47203
47541
  as: {
@@ -47265,7 +47603,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
47265
47603
  };
47266
47604
  }
47267
47605
  });
47268
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
47606
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
47269
47607
  __name: "VRadioItem",
47270
47608
  props: {
47271
47609
  value: {
@@ -47291,7 +47629,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
47291
47629
  };
47292
47630
  }
47293
47631
  });
47294
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
47632
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
47295
47633
  __name: "VRadioLabel",
47296
47634
  props: {
47297
47635
  as: {
@@ -47310,11 +47648,11 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
47310
47648
  };
47311
47649
  }
47312
47650
  });
47313
- const _hoisted_1$5 = {
47651
+ const _hoisted_1$6 = {
47314
47652
  key: 0,
47315
47653
  class: "sr-only"
47316
47654
  };
47317
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
47655
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
47318
47656
  __name: "VSwitch",
47319
47657
  props: {
47320
47658
  modelValue: {
@@ -47390,7 +47728,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
47390
47728
  createElementVNode("div", {
47391
47729
  class: normalizeClass(`slide-toggle-track flex transition-all duration-[150ms] border-token rounded-token ${unref(trackSize)} ${__props.disabled ? "cursor-not-allowed" : "cursor-pointer"} ${__props.switchClass}`)
47392
47730
  }, [
47393
- _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_1$5, [
47731
+ _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_1$6, [
47394
47732
  renderSlot(_ctx.$slots, "default")
47395
47733
  ])) : createCommentVNode("", true),
47396
47734
  createElementVNode("div", {
@@ -47403,7 +47741,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
47403
47741
  };
47404
47742
  }
47405
47743
  });
47406
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
47744
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
47407
47745
  __name: "VSwitchDescription",
47408
47746
  props: {
47409
47747
  as: {
@@ -47422,7 +47760,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
47422
47760
  };
47423
47761
  }
47424
47762
  });
47425
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
47763
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
47426
47764
  __name: "VSwitchGroup",
47427
47765
  props: {
47428
47766
  as: {
@@ -47441,7 +47779,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
47441
47779
  };
47442
47780
  }
47443
47781
  });
47444
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
47782
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
47445
47783
  __name: "VSwitchLabel",
47446
47784
  props: {
47447
47785
  as: {
@@ -47586,8 +47924,8 @@ const useDarkMode = () => {
47586
47924
  MODE
47587
47925
  };
47588
47926
  };
47589
- const _hoisted_1$4 = ["aria-labelledby", "aria-describedby"];
47590
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
47927
+ const _hoisted_1$5 = ["aria-labelledby", "aria-describedby"];
47928
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
47591
47929
  __name: "VDrawer",
47592
47930
  props: {
47593
47931
  regionBackdrop: {
@@ -47651,7 +47989,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
47651
47989
  "aria-describedby": unref(describedby)
47652
47990
  }, [
47653
47991
  renderSlot(_ctx.$slots, "default")
47654
- ], 10, _hoisted_1$4)) : createCommentVNode("", true)
47992
+ ], 10, _hoisted_1$5)) : createCommentVNode("", true)
47655
47993
  ]),
47656
47994
  _: 3
47657
47995
  }, 8, ["name"]),
@@ -47663,7 +48001,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
47663
48001
  key: 0,
47664
48002
  ref_key: "elemBackdrop",
47665
48003
  ref: elemBackdrop,
47666
- class: normalizeClass(`drawer-backdrop backdrop-blur-xs fixed bottom-0 left-0 right-0 top-0 flex bg-surface-backdrop-token z-40 ${unref(regionBackdrop)}`),
48004
+ class: normalizeClass(`drawer-backdrop backdrop-blur-xs fixed bottom-0 left-0 right-0 top-0 z-40 flex bg-surface-backdrop-token ${unref(regionBackdrop)}`),
47667
48005
  onMousedown: onBackdropInteraction,
47668
48006
  onTouchstart: onBackdropInteraction
47669
48007
  }, null, 34)) : createCommentVNode("", true)
@@ -47674,8 +48012,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
47674
48012
  };
47675
48013
  }
47676
48014
  });
47677
- const _hoisted_1$3 = { class: "v-rail grid h-full w-[70px] grid-rows-[auto_1fr_auto] gap-0 overflow-y-auto sm:w-20" };
47678
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
48015
+ const _hoisted_1$4 = { class: "v-rail grid h-full w-[70px] grid-rows-[auto_1fr_auto] gap-0 overflow-y-auto sm:w-20" };
48016
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
47679
48017
  __name: "VRail",
47680
48018
  props: {
47681
48019
  active: {
@@ -47704,7 +48042,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
47704
48042
  provide("active", props.active);
47705
48043
  provide("hover", props.hover);
47706
48044
  return (_ctx, _cache) => {
47707
- return openBlock(), createElementBlock("div", _hoisted_1$3, [
48045
+ return openBlock(), createElementBlock("div", _hoisted_1$4, [
47708
48046
  createElementVNode("div", {
47709
48047
  class: normalizeClass(["v-bar-lead", __props.regionLead])
47710
48048
  }, [
@@ -47724,7 +48062,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
47724
48062
  };
47725
48063
  }
47726
48064
  });
47727
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
48065
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
47728
48066
  __name: "VRailTile",
47729
48067
  props: {
47730
48068
  value: {
@@ -47800,9 +48138,9 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
47800
48138
  };
47801
48139
  }
47802
48140
  });
47803
- const _hoisted_1$2 = { class: "vuetiful-shell flex h-full w-full flex-col overflow-hidden" };
47804
- const _hoisted_2$2 = { class: "vuetiful-shell-content flex h-full w-full flex-auto overflow-hidden" };
47805
- const _sfc_main$2 = defineComponent({
48141
+ const _hoisted_1$3 = { class: "vuetiful-shell flex h-full w-full flex-col overflow-hidden" };
48142
+ const _hoisted_2$3 = { class: "vuetiful-shell-content flex h-full w-full flex-auto overflow-hidden" };
48143
+ const _sfc_main$7 = defineComponent({
47806
48144
  __name: "VShell",
47807
48145
  props: {
47808
48146
  regionPage: { type: String, default: "" },
@@ -47817,14 +48155,14 @@ const _sfc_main$2 = defineComponent({
47817
48155
  setup(__props) {
47818
48156
  return (_ctx, _cache) => {
47819
48157
  var _a;
47820
- return openBlock(), createElementBlock("div", _hoisted_1$2, [
48158
+ return openBlock(), createElementBlock("div", _hoisted_1$3, [
47821
48159
  _ctx.$slots.fixedHeader ? (openBlock(), createElementBlock("header", {
47822
48160
  key: 0,
47823
48161
  class: normalizeClass(`vuetiful-fixed-header ${__props.slotFixedHeader}`)
47824
48162
  }, [
47825
48163
  renderSlot(_ctx.$slots, "fixedHeader")
47826
48164
  ], 2)) : createCommentVNode("", true),
47827
- createElementVNode("div", _hoisted_2$2, [
48165
+ createElementVNode("div", _hoisted_2$3, [
47828
48166
  _ctx.$slots.sidebarLeft ? (openBlock(), createElementBlock("aside", {
47829
48167
  key: 0,
47830
48168
  class: normalizeClass(`vuetiful-sidebar-left overflow-y-auto overflow-x-hidden ${__props.slotSidebarLeft}`)
@@ -47871,59 +48209,59 @@ const _sfc_main$2 = defineComponent({
47871
48209
  }
47872
48210
  });
47873
48211
  var VPreview_vue_vue_type_style_index_0_scoped_true_lang = "";
47874
- const _withScopeId = (n2) => (pushScopeId("data-v-0d055d3d"), n2 = n2(), popScopeId(), n2);
47875
- const _hoisted_1$1 = { class: "vuetiful-previewer overflow-hidden shadow-2xl shadow-surface-500/10 rounded-container-token dark:shadow-black/10" };
47876
- const _hoisted_2$1 = { class: "flex items-center gap-2" };
47877
- const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
48212
+ const _withScopeId$1 = (n2) => (pushScopeId("data-v-0d055d3d"), n2 = n2(), popScopeId(), n2);
48213
+ const _hoisted_1$2 = { class: "vuetiful-previewer overflow-hidden shadow-2xl shadow-surface-500/10 rounded-container-token dark:shadow-black/10" };
48214
+ const _hoisted_2$2 = { class: "flex items-center gap-2" };
48215
+ const _hoisted_3$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("svg", {
47878
48216
  class: "icon",
47879
48217
  xmlns: "http://www.w3.org/2000/svg",
47880
48218
  viewBox: "0 0 576 512"
47881
48219
  }, [
47882
48220
  /* @__PURE__ */ createElementVNode("path", { d: "M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z" })
47883
48221
  ], -1));
47884
- const _hoisted_4$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
48222
+ const _hoisted_4$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("svg", {
47885
48223
  class: "icon",
47886
48224
  xmlns: "http://www.w3.org/2000/svg",
47887
48225
  viewBox: "0 0 640 512"
47888
48226
  }, [
47889
48227
  /* @__PURE__ */ createElementVNode("path", { d: "M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z" })
47890
48228
  ], -1));
47891
- const _hoisted_5$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
48229
+ const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("svg", {
47892
48230
  class: "icon",
47893
48231
  xmlns: "http://www.w3.org/2000/svg",
47894
48232
  viewBox: "0 0 384 512"
47895
48233
  }, [
47896
48234
  /* @__PURE__ */ createElementVNode("path", { d: "M16 64C16 28.7 44.7 0 80 0H304c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H80c-35.3 0-64-28.7-64-64V64zM144 448c0 8.8 7.2 16 16 16h64c8.8 0 16-7.2 16-16s-7.2-16-16-16H160c-8.8 0-16 7.2-16 16zM304 64H80V384H304V64z" })
47897
48235
  ], -1));
47898
- const _hoisted_6$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
48236
+ const _hoisted_6$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("svg", {
47899
48237
  class: "icon",
47900
48238
  xmlns: "http://www.w3.org/2000/svg",
47901
48239
  viewBox: "0 0 576 512"
47902
48240
  }, [
47903
48241
  /* @__PURE__ */ createElementVNode("path", { d: "M64 0C28.7 0 0 28.7 0 64V352c0 35.3 28.7 64 64 64H240l-10.7 32H160c-17.7 0-32 14.3-32 32s14.3 32 32 32H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H346.7L336 416H512c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64zM512 64V352H64V64H512z" })
47904
48242
  ], -1));
47905
- const _hoisted_7 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
48243
+ const _hoisted_7 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("svg", {
47906
48244
  class: "icon",
47907
48245
  xmlns: "http://www.w3.org/2000/svg",
47908
48246
  viewBox: "0 0 512 512"
47909
48247
  }, [
47910
48248
  /* @__PURE__ */ createElementVNode("path", { d: "M0 32C0 14.3 14.3 0 32 0H160c17.7 0 32 14.3 32 32V416c0 53-43 96-96 96s-96-43-96-96V32zM223.6 425.9c.3-3.3 .4-6.6 .4-9.9V154l75.4-75.4c12.5-12.5 32.8-12.5 45.3 0l90.5 90.5c12.5 12.5 12.5 32.8 0 45.3L223.6 425.9zM182.8 512l192-192H480c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32H182.8zM128 64H64v64h64V64zM64 192v64h64V192H64zM96 440a24 24 0 1 0 0-48 24 24 0 1 0 0 48z" })
47911
48249
  ], -1));
47912
- const _hoisted_8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
48250
+ const _hoisted_8 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("svg", {
47913
48251
  class: "icon",
47914
48252
  xmlns: "http://www.w3.org/2000/svg",
47915
48253
  viewBox: "0 0 512 512"
47916
48254
  }, [
47917
48255
  /* @__PURE__ */ createElementVNode("path", { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z" })
47918
48256
  ], -1));
47919
- const _hoisted_9 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
48257
+ const _hoisted_9 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("svg", {
47920
48258
  class: "icon",
47921
48259
  xmlns: "http://www.w3.org/2000/svg",
47922
48260
  viewBox: "0 0 512 512"
47923
48261
  }, [
47924
48262
  /* @__PURE__ */ createElementVNode("path", { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z" })
47925
48263
  ], -1));
47926
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
48264
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
47927
48265
  __name: "VPreview",
47928
48266
  props: {
47929
48267
  hideMobileToggle: {
@@ -47979,29 +48317,29 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
47979
48317
  const swatches = ref(false);
47980
48318
  const toggleSwatches = () => swatches.value = !swatches.value;
47981
48319
  return (_ctx, _cache) => {
47982
- return openBlock(), createElementBlock("div", _hoisted_1$1, [
48320
+ return openBlock(), createElementBlock("div", _hoisted_1$2, [
47983
48321
  createElementVNode("header", {
47984
48322
  class: normalizeClass(`vuetiful-previewer-header flex items-center justify-between gap-4 p-4 bg-surface-200-700-token ${__props.regionHeader}`)
47985
48323
  }, [
47986
- createElementVNode("div", _hoisted_2$1, [
47987
- createVNode(unref(_sfc_main$c), {
48324
+ createElementVNode("div", _hoisted_2$2, [
48325
+ createVNode(unref(_sfc_main$h), {
47988
48326
  modelValue: tabView.value,
47989
48327
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => tabView.value = $event)
47990
48328
  }, {
47991
48329
  default: withCtx(() => [
47992
- createVNode(unref(_sfc_main$b), {
48330
+ createVNode(unref(_sfc_main$g), {
47993
48331
  "data-test": "radio-item-preview",
47994
48332
  value: "preview",
47995
48333
  title: "Preview"
47996
48334
  }, {
47997
48335
  default: withCtx(() => [
47998
48336
  renderSlot(_ctx.$slots, "preview-item", {}, () => [
47999
- _hoisted_3$1
48337
+ _hoisted_3$2
48000
48338
  ], true)
48001
48339
  ]),
48002
48340
  _: 3
48003
48341
  }),
48004
- createVNode(unref(_sfc_main$b), {
48342
+ createVNode(unref(_sfc_main$g), {
48005
48343
  "data-test": "radio-item-code",
48006
48344
  value: "code",
48007
48345
  title: "Code"
@@ -48016,14 +48354,14 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
48016
48354
  ]),
48017
48355
  _: 3
48018
48356
  }, 8, ["modelValue"]),
48019
- !__props.hideMobileToggle && tabView.value === "preview" ? (openBlock(), createBlock(unref(_sfc_main$c), {
48357
+ !__props.hideMobileToggle && tabView.value === "preview" ? (openBlock(), createBlock(unref(_sfc_main$h), {
48020
48358
  key: 0,
48021
48359
  class: "hidden sm:!inline-flex",
48022
48360
  modelValue: radioSize.value,
48023
48361
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => radioSize.value = $event)
48024
48362
  }, {
48025
48363
  default: withCtx(() => [
48026
- createVNode(unref(_sfc_main$b), {
48364
+ createVNode(unref(_sfc_main$g), {
48027
48365
  "data-test": "radio-item-mobile",
48028
48366
  value: "mobile"
48029
48367
  }, {
@@ -48034,7 +48372,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
48034
48372
  ]),
48035
48373
  _: 3
48036
48374
  }),
48037
- createVNode(unref(_sfc_main$b), { value: "full" }, {
48375
+ createVNode(unref(_sfc_main$g), { value: "full" }, {
48038
48376
  default: withCtx(() => [
48039
48377
  renderSlot(_ctx.$slots, "desktop-item", {}, () => [
48040
48378
  _hoisted_6$1
@@ -48046,7 +48384,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
48046
48384
  _: 3
48047
48385
  }, 8, ["modelValue"])) : createCommentVNode("", true)
48048
48386
  ]),
48049
- !__props.hideSwatches ? (openBlock(), createBlock(unref(_sfc_main$h), {
48387
+ !__props.hideSwatches ? (openBlock(), createBlock(unref(_sfc_main$m), {
48050
48388
  key: 0,
48051
48389
  "data-test": "swatch-button",
48052
48390
  class: normalizeClass(`${swatches.value ? "variant-filled" : "variant-ghost"} px-4 py-1 border-token border-surface-400-500-token`),
@@ -48061,7 +48399,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
48061
48399
  _: 3
48062
48400
  }, 8, ["class"])) : createCommentVNode("", true)
48063
48401
  ], 2),
48064
- swatches.value ? (openBlock(), createBlock(unref(_sfc_main$c), {
48402
+ swatches.value ? (openBlock(), createBlock(unref(_sfc_main$h), {
48065
48403
  key: 0,
48066
48404
  "data-test": "swatches",
48067
48405
  class: normalizeClass(`vuetiful-previewer-swatches variant-soft grid grid-cols-6 gap-2 !rounded-none p-4 sm:grid-cols-12`),
@@ -48072,7 +48410,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
48072
48410
  }, {
48073
48411
  default: withCtx(() => [
48074
48412
  (openBlock(true), createElementBlock(Fragment, null, renderList(Object.entries(backgrounds), ([key, value], index2) => {
48075
- return openBlock(), createBlock(unref(_sfc_main$b), {
48413
+ return openBlock(), createBlock(unref(_sfc_main$g), {
48076
48414
  value: key,
48077
48415
  key: index2,
48078
48416
  class: normalizeClass(`${value} flex aspect-square cursor-pointer items-center justify-center rounded ring-[1px] ring-surface-500/50`),
@@ -48125,36 +48463,305 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
48125
48463
  };
48126
48464
  }
48127
48465
  });
48128
- var VPreview = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-0d055d3d"]]);
48466
+ var VPreview = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-0d055d3d"]]);
48467
+ var VListboxButton_vue_vue_type_style_index_0_scoped_true_lang = "";
48468
+ const _withScopeId = (n2) => (pushScopeId("data-v-85546624"), n2 = n2(), popScopeId(), n2);
48469
+ const _hoisted_1$1 = { key: 0 };
48470
+ const _hoisted_2$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
48471
+ class: "icon",
48472
+ xmlns: "http://www.w3.org/2000/svg",
48473
+ viewBox: "0 0 512 512"
48474
+ }, [
48475
+ /* @__PURE__ */ createElementVNode("path", { d: "M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z" })
48476
+ ], -1));
48477
+ const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
48478
+ class: "icon",
48479
+ xmlns: "http://www.w3.org/2000/svg",
48480
+ viewBox: "0 0 512 512"
48481
+ }, [
48482
+ /* @__PURE__ */ createElementVNode("path", { d: "M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z" })
48483
+ ], -1));
48484
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
48485
+ __name: "VListboxButton",
48486
+ props: {
48487
+ as: {
48488
+ type: String,
48489
+ default: "button"
48490
+ },
48491
+ hideIcon: {
48492
+ type: Boolean,
48493
+ default: false
48494
+ }
48495
+ },
48496
+ setup(__props) {
48497
+ return (_ctx, _cache) => {
48498
+ return openBlock(), createBlock(unref(Fe), {
48499
+ as: __props.as,
48500
+ class: "variant-filled btn flex w-full justify-between active:scale-[100%]"
48501
+ }, {
48502
+ default: withCtx(({ open }) => [
48503
+ renderSlot(_ctx.$slots, "default", {}, void 0, true),
48504
+ !__props.hideIcon ? (openBlock(), createElementBlock("span", _hoisted_1$1, [
48505
+ !open ? renderSlot(_ctx.$slots, "open-icon", { key: 0 }, () => [
48506
+ _hoisted_2$1
48507
+ ], true) : createCommentVNode("", true),
48508
+ open ? renderSlot(_ctx.$slots, "close-icon", { key: 1 }, () => [
48509
+ _hoisted_3$1
48510
+ ], true) : createCommentVNode("", true)
48511
+ ])) : createCommentVNode("", true)
48512
+ ]),
48513
+ _: 3
48514
+ }, 8, ["as"]);
48515
+ };
48516
+ }
48517
+ });
48518
+ var VListboxButton = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-85546624"]]);
48519
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
48520
+ __name: "VListboxItems",
48521
+ props: {
48522
+ as: {
48523
+ type: String,
48524
+ default: "ul"
48525
+ },
48526
+ static: {
48527
+ type: Boolean,
48528
+ default: false
48529
+ }
48530
+ },
48531
+ setup(__props) {
48532
+ const background = inject("background");
48533
+ const text = inject("text");
48534
+ const horizontal = inject("horizontal");
48535
+ return (_ctx, _cache) => {
48536
+ return openBlock(), createBlock(unref(Be), {
48537
+ as: __props.as,
48538
+ static: __props.static,
48539
+ class: normalizeClass(`p-4 border-token border-surface-400-500-token rounded-container-token ${unref(background)} ${unref(text)}`)
48540
+ }, {
48541
+ default: withCtx(() => [
48542
+ createElementVNode("div", {
48543
+ "data-test": "listbox-items",
48544
+ class: normalizeClass(`flex ${unref(horizontal) ? "flex" : "flex-col"} gap-1`)
48545
+ }, [
48546
+ renderSlot(_ctx.$slots, "default")
48547
+ ], 2)
48548
+ ]),
48549
+ _: 3
48550
+ }, 8, ["as", "static", "class"]);
48551
+ };
48552
+ }
48553
+ });
48554
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
48555
+ __name: "VListboxLabel",
48556
+ props: {
48557
+ as: {
48558
+ type: String,
48559
+ default: "label"
48560
+ }
48561
+ },
48562
+ setup(__props) {
48563
+ return (_ctx, _cache) => {
48564
+ return openBlock(), createBlock(unref(Ae), { as: __props.as }, {
48565
+ default: withCtx(() => [
48566
+ renderSlot(_ctx.$slots, "default")
48567
+ ]),
48568
+ _: 3
48569
+ }, 8, ["as"]);
48570
+ };
48571
+ }
48572
+ });
48573
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
48574
+ __name: "VListbox",
48575
+ props: {
48576
+ by: {
48577
+ type: String
48578
+ },
48579
+ display: {
48580
+ type: String
48581
+ },
48582
+ labelText: {
48583
+ type: String
48584
+ },
48585
+ labelClasses: {
48586
+ type: Boolean,
48587
+ default: false
48588
+ },
48589
+ buttonText: {
48590
+ type: String,
48591
+ default: "Select an option"
48592
+ },
48593
+ modelValue: je.props["modelValue"],
48594
+ horizontal: {
48595
+ type: Boolean,
48596
+ default: false
48597
+ },
48598
+ multiple: {
48599
+ type: Boolean,
48600
+ default: false
48601
+ },
48602
+ active: {
48603
+ type: String,
48604
+ default: "variant-filled"
48605
+ },
48606
+ hover: {
48607
+ type: String,
48608
+ default: "variant-ghost"
48609
+ },
48610
+ background: {
48611
+ type: String,
48612
+ default: "bg-surface-200-700-token"
48613
+ },
48614
+ text: {
48615
+ type: String,
48616
+ default: "text-surface-900 dark:text-surface-50"
48617
+ }
48618
+ },
48619
+ emits: ["update:modelValue"],
48620
+ setup(__props, { emit }) {
48621
+ const props = __props;
48622
+ const parentModelValue = ref(props.modelValue);
48623
+ watch(
48624
+ () => props.modelValue,
48625
+ (newValue) => {
48626
+ parentModelValue.value = newValue;
48627
+ }
48628
+ );
48629
+ watch(
48630
+ () => parentModelValue.value,
48631
+ (newValue) => {
48632
+ emit("update:modelValue", newValue);
48633
+ }
48634
+ );
48635
+ provide("active", props.active);
48636
+ provide("hover", props.hover);
48637
+ provide("background", props.background);
48638
+ provide("text", props.text);
48639
+ provide("horizontal", props.horizontal);
48640
+ const showText = computed(() => {
48641
+ var _a;
48642
+ if (props.display && parentModelValue.value)
48643
+ return parentModelValue.value[props.display];
48644
+ const length = (_a = parentModelValue.value) == null ? void 0 : _a.length;
48645
+ if (props.multiple && length === 0)
48646
+ return props.buttonText;
48647
+ if (props.multiple && length === 1)
48648
+ return parentModelValue.value[0];
48649
+ if (props.multiple && length > 1)
48650
+ return `${length} options selected`;
48651
+ if (parentModelValue.value)
48652
+ return parentModelValue.value;
48653
+ return props.buttonText;
48654
+ });
48655
+ return (_ctx, _cache) => {
48656
+ return openBlock(), createBlock(unref(je), {
48657
+ "data-test": "v-listbox",
48658
+ as: "div",
48659
+ by: __props.by,
48660
+ multiple: __props.multiple,
48661
+ class: "vuetiful-listbox relative rounded-container-token",
48662
+ modelValue: parentModelValue.value,
48663
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => parentModelValue.value = $event)
48664
+ }, {
48665
+ default: withCtx(() => [
48666
+ __props.labelText ? (openBlock(), createBlock(_sfc_main$3, {
48667
+ key: 0,
48668
+ class: normalizeClass(__props.labelClasses)
48669
+ }, {
48670
+ default: withCtx(() => [
48671
+ createTextVNode(toDisplayString(__props.labelText), 1)
48672
+ ]),
48673
+ _: 1
48674
+ }, 8, ["class"])) : createCommentVNode("", true),
48675
+ createVNode(VListboxButton, { "data-test": "v-listbox-button" }, {
48676
+ default: withCtx(() => [
48677
+ createTextVNode(toDisplayString(unref(showText)), 1)
48678
+ ]),
48679
+ _: 1
48680
+ }),
48681
+ createVNode(Transition, {
48682
+ "enter-active-class": "transition duration-150 ease-in-out",
48683
+ "enter-from-class": "opacity-0",
48684
+ "enter-to-class": "opacity-100",
48685
+ "leave-active-class": "transition duration-150 ease-in-out",
48686
+ "leave-from-class": "opacity-100",
48687
+ "leave-to-class": "opacity-0"
48688
+ }, {
48689
+ default: withCtx(() => [
48690
+ createVNode(_sfc_main$4, { class: "absolute mt-1 min-w-full" }, {
48691
+ default: withCtx(() => [
48692
+ renderSlot(_ctx.$slots, "default")
48693
+ ]),
48694
+ _: 3
48695
+ })
48696
+ ]),
48697
+ _: 3
48698
+ })
48699
+ ]),
48700
+ _: 3
48701
+ }, 8, ["by", "multiple", "modelValue"]);
48702
+ };
48703
+ }
48704
+ });
48705
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
48706
+ __name: "VListboxItem",
48707
+ props: {
48708
+ value: {
48709
+ type: [String, Number, Boolean, Object],
48710
+ required: true
48711
+ }
48712
+ },
48713
+ setup(__props) {
48714
+ const activeClass = inject("active");
48715
+ const hoverClass = inject("hover");
48716
+ return (_ctx, _cache) => {
48717
+ return openBlock(), createBlock(unref(Ke), { value: __props.value }, {
48718
+ default: withCtx(({ selected, disabled, active }) => [
48719
+ createElementVNode("div", {
48720
+ "data-test": "v-listbox-item",
48721
+ class: normalizeClass(`vuetiful-listbox-item px-4 py-1 text-base rounded-token ${selected ? unref(activeClass) : `hover:${unref(hoverClass)}`} ${disabled ? "cursor-not-allowed opacity-50" : "cursor-pointer"} ${active && !selected ? unref(hoverClass) : ""}`)
48722
+ }, [
48723
+ renderSlot(_ctx.$slots, "default")
48724
+ ], 2)
48725
+ ]),
48726
+ _: 3
48727
+ }, 8, ["value"]);
48728
+ };
48729
+ }
48730
+ });
48129
48731
  var components = /* @__PURE__ */ Object.freeze({
48130
48732
  __proto__: null,
48131
48733
  [Symbol.toStringTag]: "Module",
48132
- VAvatar: _sfc_main$j,
48133
- VButton: _sfc_main$h,
48734
+ VAvatar: _sfc_main$o,
48735
+ VButton: _sfc_main$m,
48134
48736
  VBadge,
48135
48737
  VChip,
48136
- VCodeBlock: _sfc_main$f,
48738
+ VCodeBlock: _sfc_main$k,
48137
48739
  VLightSwitch,
48138
- VRadioGroup: _sfc_main$c,
48139
- VRadioItem: _sfc_main$b,
48140
- VRadioLabel: _sfc_main$a,
48141
- VRadioDescription: _sfc_main$d,
48142
- VSwitchGroup: _sfc_main$7,
48143
- VSwitchLabel: _sfc_main$6,
48144
- VSwitchDescription: _sfc_main$8,
48145
- VSwitch: _sfc_main$9,
48146
- VRail: _sfc_main$4,
48147
- VRailTile: _sfc_main$3,
48148
- VShell: _sfc_main$2,
48149
- VDrawer: _sfc_main$5,
48150
- VPreview
48740
+ VRadioGroup: _sfc_main$h,
48741
+ VRadioItem: _sfc_main$g,
48742
+ VRadioLabel: _sfc_main$f,
48743
+ VRadioDescription: _sfc_main$i,
48744
+ VSwitchGroup: _sfc_main$c,
48745
+ VSwitchLabel: _sfc_main$b,
48746
+ VSwitchDescription: _sfc_main$d,
48747
+ VSwitch: _sfc_main$e,
48748
+ VRail: _sfc_main$9,
48749
+ VRailTile: _sfc_main$8,
48750
+ VShell: _sfc_main$7,
48751
+ VDrawer: _sfc_main$a,
48752
+ VPreview,
48753
+ VListbox: _sfc_main$2,
48754
+ VListboxItem: _sfc_main$1,
48755
+ VListboxItems: _sfc_main$4,
48756
+ VListboxLabel: _sfc_main$3,
48757
+ VListboxButton
48151
48758
  });
48152
48759
  var main = "";
48153
48760
  var tailwind = "";
48154
48761
  const _sfc_main = defineComponent({
48155
48762
  components: {
48156
48763
  VLightSwitch,
48157
- VButton: _sfc_main$h
48764
+ VButton: _sfc_main$m
48158
48765
  },
48159
48766
  props: {
48160
48767
  bgLight: {
@@ -48394,4 +49001,4 @@ function install(app) {
48394
49001
  }
48395
49002
  }
48396
49003
  var index = { install };
48397
- export { themeSwitcher as ThemeSwitcher, _sfc_main$j as VAvatar, VBadge, _sfc_main$h as VButton, VChip, _sfc_main$f as VCodeBlock, _sfc_main$5 as VDrawer, VLightSwitch, VPreview, _sfc_main$d as VRadioDescription, _sfc_main$c as VRadioGroup, _sfc_main$b as VRadioItem, _sfc_main$a as VRadioLabel, _sfc_main$4 as VRail, _sfc_main$3 as VRailTile, _sfc_main$2 as VShell, _sfc_main$9 as VSwitch, _sfc_main$8 as VSwitchDescription, _sfc_main$7 as VSwitchGroup, _sfc_main$6 as VSwitchLabel, index as default, useDarkMode, useDrawer, useHighlight, useRail, useTheme, clipboard as vClipboard };
49004
+ export { themeSwitcher as ThemeSwitcher, _sfc_main$o as VAvatar, VBadge, _sfc_main$m as VButton, VChip, _sfc_main$k as VCodeBlock, _sfc_main$a as VDrawer, VLightSwitch, _sfc_main$2 as VListbox, VListboxButton, _sfc_main$1 as VListboxItem, _sfc_main$4 as VListboxItems, _sfc_main$3 as VListboxLabel, VPreview, _sfc_main$i as VRadioDescription, _sfc_main$h as VRadioGroup, _sfc_main$g as VRadioItem, _sfc_main$f as VRadioLabel, _sfc_main$9 as VRail, _sfc_main$8 as VRailTile, _sfc_main$7 as VShell, _sfc_main$e as VSwitch, _sfc_main$d as VSwitchDescription, _sfc_main$c as VSwitchGroup, _sfc_main$b as VSwitchLabel, index as default, useDarkMode, useDrawer, useHighlight, useRail, useTheme, clipboard as vClipboard };