@code-coaching/vuetiful 0.19.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/README.md +1 -1
  2. package/dist/style.css +1 -1
  3. package/dist/styles/all.css +232 -0
  4. package/dist/types/components/molecules/VAlert.test.d.ts +1 -0
  5. package/dist/types/components/molecules/VAlert.vue.d.ts +44 -0
  6. package/dist/types/components/molecules/VCard/VCard.test.d.ts +1 -0
  7. package/dist/types/components/molecules/VCard/VCard.vue.d.ts +52 -0
  8. package/dist/types/components/molecules/VCard/VCardBody.test.d.ts +1 -0
  9. package/dist/types/components/molecules/VCard/VCardBody.vue.d.ts +2 -0
  10. package/dist/types/components/molecules/VCard/VCardFooter.test.d.ts +1 -0
  11. package/dist/types/components/molecules/VCard/VCardFooter.vue.d.ts +2 -0
  12. package/dist/types/components/molecules/VCard/VCardHeader.test.d.ts +1 -0
  13. package/dist/types/components/molecules/VCard/VCardHeader.vue.d.ts +2 -0
  14. package/dist/types/components/molecules/index.d.ts +6 -1
  15. package/dist/vuetiful.es.mjs +398 -139
  16. package/dist/vuetiful.umd.js +10 -10
  17. package/package.json +1 -1
  18. package/src/components/molecules/VAlert.test.ts +90 -0
  19. package/src/components/molecules/VAlert.vue +133 -0
  20. package/src/components/molecules/VCard/VCard.test.ts +47 -0
  21. package/src/components/molecules/VCard/VCard.vue +71 -0
  22. package/src/components/molecules/VCard/VCardBody.test.ts +21 -0
  23. package/src/components/molecules/VCard/VCardBody.vue +5 -0
  24. package/src/components/molecules/VCard/VCardFooter.test.ts +45 -0
  25. package/src/components/molecules/VCard/VCardFooter.vue +11 -0
  26. package/src/components/molecules/VCard/VCardHeader.test.ts +68 -0
  27. package/src/components/molecules/VCard/VCardHeader.vue +33 -0
  28. package/src/components/molecules/VListbox/VListbox.vue +3 -1
  29. package/src/components/molecules/index.ts +12 -0
@@ -1,11 +1,11 @@
1
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, renderList, pushScopeId, popScopeId, mergeProps, vShow, resolveComponent } from "vue";
2
- const _hoisted_1$d = ["src", "alt"];
3
- const _hoisted_2$7 = {
2
+ const _hoisted_1$i = ["src", "alt"];
3
+ const _hoisted_2$9 = {
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$t = /* @__PURE__ */ defineComponent({
8
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
9
9
  __name: "VAvatar",
10
10
  props: {
11
11
  initials: { type: String, default: "" },
@@ -39,7 +39,7 @@ const _sfc_main$t = /* @__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$d)) : (openBlock(), createElementBlock("svg", _hoisted_2$7, [
42
+ }, null, 40, _hoisted_1$i)) : (openBlock(), createElementBlock("svg", _hoisted_2$9, [
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$s = {};
65
- const _hoisted_1$c = {
64
+ const _sfc_main$x = {};
65
+ const _hoisted_1$h = {
66
66
  class: /* @__PURE__ */ normalizeClass(`vuetiful-badge badge`)
67
67
  };
68
- function _sfc_render$3(_ctx, _cache) {
69
- return openBlock(), createElementBlock("div", _hoisted_1$c, [
68
+ function _sfc_render$4(_ctx, _cache) {
69
+ return openBlock(), createElementBlock("div", _hoisted_1$h, [
70
70
  renderSlot(_ctx.$slots, "default")
71
71
  ]);
72
72
  }
73
- var VBadge = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$3]]);
74
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
73
+ var VBadge = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_render$4]]);
74
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
75
75
  __name: "VButton",
76
76
  props: {
77
77
  icon: {
@@ -121,16 +121,16 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
121
121
  };
122
122
  }
123
123
  });
124
- const _sfc_main$q = {};
125
- const _hoisted_1$b = {
124
+ const _sfc_main$v = {};
125
+ const _hoisted_1$g = {
126
126
  class: /* @__PURE__ */ normalizeClass(`vuetiful-chip chip`)
127
127
  };
128
- function _sfc_render$2(_ctx, _cache) {
129
- return openBlock(), createElementBlock("div", _hoisted_1$b, [
128
+ function _sfc_render$3(_ctx, _cache) {
129
+ return openBlock(), createElementBlock("div", _hoisted_1$g, [
130
130
  renderSlot(_ctx.$slots, "default")
131
131
  ]);
132
132
  }
133
- var VChip = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$2]]);
133
+ var VChip = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$3]]);
134
134
  var deepFreezeEs6 = { exports: {} };
135
135
  function deepFreeze(obj) {
136
136
  if (obj instanceof Map) {
@@ -46471,12 +46471,12 @@ const useHighlight = () => {
46471
46471
  };
46472
46472
  };
46473
46473
  var githubDark = "";
46474
- const _hoisted_1$a = { class: "code-block max-w-full bg-neutral-900/90 text-sm text-white shadow rounded-container-token" };
46475
- const _hoisted_2$6 = {
46474
+ const _hoisted_1$f = { class: "code-block max-w-full bg-neutral-900/90 text-sm text-white shadow rounded-container-token" };
46475
+ const _hoisted_2$8 = {
46476
46476
  class: /* @__PURE__ */ normalizeClass(`code-block-language`)
46477
46477
  };
46478
- const _hoisted_3$4 = ["innerHTML"];
46479
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
46478
+ const _hoisted_3$5 = ["innerHTML"];
46479
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
46480
46480
  __name: "VCodeBlock",
46481
46481
  props: {
46482
46482
  language: {
@@ -46534,12 +46534,12 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
46534
46534
  emit("copy");
46535
46535
  }
46536
46536
  return (_ctx, _cache) => {
46537
- return openBlock(), createElementBlock("div", _hoisted_1$a, [
46537
+ return openBlock(), createElementBlock("div", _hoisted_1$f, [
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$6, toDisplayString(languageFormatter(__props.language)), 1),
46542
- withDirectives((openBlock(), createBlock(unref(_sfc_main$r), {
46541
+ createElementVNode("span", _hoisted_2$8, toDisplayString(languageFormatter(__props.language)), 1),
46542
+ withDirectives((openBlock(), createBlock(unref(_sfc_main$w), {
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$p = /* @__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$4)
46560
+ }, null, 10, _hoisted_3$5)
46561
46561
  ], 2)
46562
46562
  ]);
46563
46563
  };
46564
46564
  }
46565
46565
  });
46566
- const _sfc_main$o = defineComponent({
46566
+ const _sfc_main$t = defineComponent({
46567
46567
  props: {
46568
46568
  bgLight: {
46569
46569
  type: String,
@@ -46654,9 +46654,9 @@ const _sfc_main$o = defineComponent({
46654
46654
  };
46655
46655
  }
46656
46656
  });
46657
- const _hoisted_1$9 = ["aria-checked", "title"];
46658
- const _hoisted_2$5 = ["d"];
46659
- function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
46657
+ const _hoisted_1$e = ["aria-checked", "title"];
46658
+ const _hoisted_2$7 = ["d"];
46659
+ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
46660
46660
  return openBlock(), createElementBlock("div", {
46661
46661
  class: normalizeClass(`lightswitch-track ${_ctx.classesTrack}`),
46662
46662
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onToggleHandler && _ctx.onToggleHandler(...args)),
@@ -46680,12 +46680,12 @@ 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$5)
46683
+ }, null, 8, _hoisted_2$7)
46684
46684
  ], 2))
46685
46685
  ], 2)
46686
- ], 42, _hoisted_1$9);
46686
+ ], 42, _hoisted_1$e);
46687
46687
  }
46688
- var VLightSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$1]]);
46688
+ var VLightSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$2]]);
46689
46689
  function u$2(r2, n2, ...a2) {
46690
46690
  if (r2 in n2) {
46691
46691
  let e2 = n2[r2];
@@ -47796,7 +47796,7 @@ let j = Symbol("TabsSSRContext"), xe = defineComponent({ name: "TabGroup", emits
47796
47796
  return !m2.value && a2.unmount && !a2.static ? h$1(f$1, { as: "span", ...h2 }) : H$2({ ourProps: h2, theirProps: w2, slot: r2, attrs: v2, slots: i2, features: N$1.Static | N$1.RenderStrategy, visible: m2.value, name: "TabPanel" });
47797
47797
  };
47798
47798
  } });
47799
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
47799
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
47800
47800
  __name: "VRadioDescription",
47801
47801
  props: {
47802
47802
  as: {
@@ -47815,7 +47815,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
47815
47815
  };
47816
47816
  }
47817
47817
  });
47818
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
47818
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
47819
47819
  __name: "VRadioGroup",
47820
47820
  props: {
47821
47821
  as: {
@@ -47883,7 +47883,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
47883
47883
  };
47884
47884
  }
47885
47885
  });
47886
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
47886
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
47887
47887
  __name: "VRadioItem",
47888
47888
  props: {
47889
47889
  value: {
@@ -47909,7 +47909,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
47909
47909
  };
47910
47910
  }
47911
47911
  });
47912
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
47912
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
47913
47913
  __name: "VRadioLabel",
47914
47914
  props: {
47915
47915
  as: {
@@ -47928,11 +47928,11 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
47928
47928
  };
47929
47929
  }
47930
47930
  });
47931
- const _hoisted_1$8 = {
47931
+ const _hoisted_1$d = {
47932
47932
  key: 0,
47933
47933
  class: "sr-only"
47934
47934
  };
47935
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
47935
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
47936
47936
  __name: "VSwitch",
47937
47937
  props: {
47938
47938
  modelValue: {
@@ -48008,7 +48008,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
48008
48008
  createElementVNode("div", {
48009
48009
  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}`)
48010
48010
  }, [
48011
- _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_1$8, [
48011
+ _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_1$d, [
48012
48012
  renderSlot(_ctx.$slots, "default")
48013
48013
  ])) : createCommentVNode("", true),
48014
48014
  createElementVNode("div", {
@@ -48021,7 +48021,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
48021
48021
  };
48022
48022
  }
48023
48023
  });
48024
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
48024
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
48025
48025
  __name: "VSwitchDescription",
48026
48026
  props: {
48027
48027
  as: {
@@ -48040,7 +48040,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
48040
48040
  };
48041
48041
  }
48042
48042
  });
48043
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
48043
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
48044
48044
  __name: "VSwitchGroup",
48045
48045
  props: {
48046
48046
  as: {
@@ -48059,7 +48059,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
48059
48059
  };
48060
48060
  }
48061
48061
  });
48062
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
48062
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
48063
48063
  __name: "VSwitchLabel",
48064
48064
  props: {
48065
48065
  as: {
@@ -48204,8 +48204,8 @@ const useDarkMode = () => {
48204
48204
  MODE
48205
48205
  };
48206
48206
  };
48207
- const _hoisted_1$7 = ["aria-labelledby", "aria-describedby"];
48208
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
48207
+ const _hoisted_1$c = ["aria-labelledby", "aria-describedby"];
48208
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
48209
48209
  __name: "VDrawer",
48210
48210
  props: {
48211
48211
  regionBackdrop: {
@@ -48269,7 +48269,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
48269
48269
  "aria-describedby": unref(describedby)
48270
48270
  }, [
48271
48271
  renderSlot(_ctx.$slots, "default")
48272
- ], 10, _hoisted_1$7)) : createCommentVNode("", true)
48272
+ ], 10, _hoisted_1$c)) : createCommentVNode("", true)
48273
48273
  ]),
48274
48274
  _: 3
48275
48275
  }, 8, ["name"]),
@@ -48293,59 +48293,59 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
48293
48293
  }
48294
48294
  });
48295
48295
  var VPreview_vue_vue_type_style_index_0_scoped_true_lang = "";
48296
- const _withScopeId$2 = (n2) => (pushScopeId("data-v-0d055d3d"), n2 = n2(), popScopeId(), n2);
48297
- const _hoisted_1$6 = { class: "vuetiful-previewer overflow-hidden shadow-2xl shadow-surface-500/10 rounded-container-token dark:shadow-black/10" };
48298
- const _hoisted_2$4 = { class: "flex items-center gap-2" };
48299
- const _hoisted_3$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("svg", {
48296
+ const _withScopeId$3 = (n2) => (pushScopeId("data-v-0d055d3d"), n2 = n2(), popScopeId(), n2);
48297
+ const _hoisted_1$b = { class: "vuetiful-previewer overflow-hidden shadow-2xl shadow-surface-500/10 rounded-container-token dark:shadow-black/10" };
48298
+ const _hoisted_2$6 = { class: "flex items-center gap-2" };
48299
+ const _hoisted_3$4 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("svg", {
48300
48300
  class: "icon",
48301
48301
  xmlns: "http://www.w3.org/2000/svg",
48302
48302
  viewBox: "0 0 576 512"
48303
48303
  }, [
48304
48304
  /* @__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" })
48305
48305
  ], -1));
48306
- const _hoisted_4$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("svg", {
48306
+ const _hoisted_4$2 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("svg", {
48307
48307
  class: "icon",
48308
48308
  xmlns: "http://www.w3.org/2000/svg",
48309
48309
  viewBox: "0 0 640 512"
48310
48310
  }, [
48311
48311
  /* @__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" })
48312
48312
  ], -1));
48313
- const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("svg", {
48313
+ const _hoisted_5$2 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("svg", {
48314
48314
  class: "icon",
48315
48315
  xmlns: "http://www.w3.org/2000/svg",
48316
48316
  viewBox: "0 0 384 512"
48317
48317
  }, [
48318
48318
  /* @__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" })
48319
48319
  ], -1));
48320
- const _hoisted_6$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("svg", {
48320
+ const _hoisted_6$2 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("svg", {
48321
48321
  class: "icon",
48322
48322
  xmlns: "http://www.w3.org/2000/svg",
48323
48323
  viewBox: "0 0 576 512"
48324
48324
  }, [
48325
48325
  /* @__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" })
48326
48326
  ], -1));
48327
- const _hoisted_7 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("svg", {
48327
+ const _hoisted_7$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("svg", {
48328
48328
  class: "icon",
48329
48329
  xmlns: "http://www.w3.org/2000/svg",
48330
48330
  viewBox: "0 0 512 512"
48331
48331
  }, [
48332
48332
  /* @__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" })
48333
48333
  ], -1));
48334
- const _hoisted_8 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("svg", {
48334
+ const _hoisted_8$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("svg", {
48335
48335
  class: "icon",
48336
48336
  xmlns: "http://www.w3.org/2000/svg",
48337
48337
  viewBox: "0 0 512 512"
48338
48338
  }, [
48339
48339
  /* @__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" })
48340
48340
  ], -1));
48341
- const _hoisted_9 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("svg", {
48341
+ const _hoisted_9$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("svg", {
48342
48342
  class: "icon",
48343
48343
  xmlns: "http://www.w3.org/2000/svg",
48344
48344
  viewBox: "0 0 512 512"
48345
48345
  }, [
48346
48346
  /* @__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" })
48347
48347
  ], -1));
48348
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
48348
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
48349
48349
  __name: "VPreview",
48350
48350
  props: {
48351
48351
  hideMobileToggle: {
@@ -48401,36 +48401,36 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
48401
48401
  const swatches = ref(false);
48402
48402
  const toggleSwatches = () => swatches.value = !swatches.value;
48403
48403
  return (_ctx, _cache) => {
48404
- return openBlock(), createElementBlock("div", _hoisted_1$6, [
48404
+ return openBlock(), createElementBlock("div", _hoisted_1$b, [
48405
48405
  createElementVNode("header", {
48406
48406
  class: normalizeClass(`vuetiful-previewer-header flex items-center justify-between gap-4 p-4 bg-surface-200-700-token ${__props.regionHeader}`)
48407
48407
  }, [
48408
- createElementVNode("div", _hoisted_2$4, [
48409
- createVNode(unref(_sfc_main$m), {
48408
+ createElementVNode("div", _hoisted_2$6, [
48409
+ createVNode(unref(_sfc_main$r), {
48410
48410
  modelValue: tabView.value,
48411
48411
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => tabView.value = $event)
48412
48412
  }, {
48413
48413
  default: withCtx(() => [
48414
- createVNode(unref(_sfc_main$l), {
48414
+ createVNode(unref(_sfc_main$q), {
48415
48415
  "data-test": "radio-item-preview",
48416
48416
  value: "preview",
48417
48417
  title: "Preview"
48418
48418
  }, {
48419
48419
  default: withCtx(() => [
48420
48420
  renderSlot(_ctx.$slots, "preview-item", {}, () => [
48421
- _hoisted_3$3
48421
+ _hoisted_3$4
48422
48422
  ], true)
48423
48423
  ]),
48424
48424
  _: 3
48425
48425
  }),
48426
- createVNode(unref(_sfc_main$l), {
48426
+ createVNode(unref(_sfc_main$q), {
48427
48427
  "data-test": "radio-item-code",
48428
48428
  value: "code",
48429
48429
  title: "Code"
48430
48430
  }, {
48431
48431
  default: withCtx(() => [
48432
48432
  renderSlot(_ctx.$slots, "code-item", {}, () => [
48433
- _hoisted_4$1
48433
+ _hoisted_4$2
48434
48434
  ], true)
48435
48435
  ]),
48436
48436
  _: 3
@@ -48438,28 +48438,28 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
48438
48438
  ]),
48439
48439
  _: 3
48440
48440
  }, 8, ["modelValue"]),
48441
- !__props.hideMobileToggle && tabView.value === "preview" ? (openBlock(), createBlock(unref(_sfc_main$m), {
48441
+ !__props.hideMobileToggle && tabView.value === "preview" ? (openBlock(), createBlock(unref(_sfc_main$r), {
48442
48442
  key: 0,
48443
48443
  class: "hidden sm:!inline-flex",
48444
48444
  modelValue: radioSize.value,
48445
48445
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => radioSize.value = $event)
48446
48446
  }, {
48447
48447
  default: withCtx(() => [
48448
- createVNode(unref(_sfc_main$l), {
48448
+ createVNode(unref(_sfc_main$q), {
48449
48449
  "data-test": "radio-item-mobile",
48450
48450
  value: "mobile"
48451
48451
  }, {
48452
48452
  default: withCtx(() => [
48453
48453
  renderSlot(_ctx.$slots, "mobile-item", {}, () => [
48454
- _hoisted_5$1
48454
+ _hoisted_5$2
48455
48455
  ], true)
48456
48456
  ]),
48457
48457
  _: 3
48458
48458
  }),
48459
- createVNode(unref(_sfc_main$l), { value: "full" }, {
48459
+ createVNode(unref(_sfc_main$q), { value: "full" }, {
48460
48460
  default: withCtx(() => [
48461
48461
  renderSlot(_ctx.$slots, "desktop-item", {}, () => [
48462
- _hoisted_6$1
48462
+ _hoisted_6$2
48463
48463
  ], true)
48464
48464
  ]),
48465
48465
  _: 3
@@ -48468,7 +48468,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
48468
48468
  _: 3
48469
48469
  }, 8, ["modelValue"])) : createCommentVNode("", true)
48470
48470
  ]),
48471
- !__props.hideSwatches ? (openBlock(), createBlock(unref(_sfc_main$r), {
48471
+ !__props.hideSwatches ? (openBlock(), createBlock(unref(_sfc_main$w), {
48472
48472
  key: 0,
48473
48473
  "data-test": "swatch-button",
48474
48474
  class: normalizeClass(`${swatches.value ? "variant-filled" : "variant-ghost"} px-4 py-1 border-token border-surface-400-500-token`),
@@ -48477,13 +48477,13 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
48477
48477
  }, {
48478
48478
  default: withCtx(() => [
48479
48479
  renderSlot(_ctx.$slots, "swatchbook-item", {}, () => [
48480
- _hoisted_7
48480
+ _hoisted_7$1
48481
48481
  ], true)
48482
48482
  ]),
48483
48483
  _: 3
48484
48484
  }, 8, ["class"])) : createCommentVNode("", true)
48485
48485
  ], 2),
48486
- swatches.value ? (openBlock(), createBlock(unref(_sfc_main$m), {
48486
+ swatches.value ? (openBlock(), createBlock(unref(_sfc_main$r), {
48487
48487
  key: 0,
48488
48488
  "data-test": "swatches",
48489
48489
  class: normalizeClass(`vuetiful-previewer-swatches variant-soft grid grid-cols-6 gap-2 !rounded-none p-4 sm:grid-cols-12`),
@@ -48494,7 +48494,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
48494
48494
  }, {
48495
48495
  default: withCtx(() => [
48496
48496
  (openBlock(true), createElementBlock(Fragment, null, renderList(Object.entries(backgrounds), ([key, value], index2) => {
48497
- return openBlock(), createBlock(unref(_sfc_main$l), {
48497
+ return openBlock(), createBlock(unref(_sfc_main$q), {
48498
48498
  value: key,
48499
48499
  key: index2,
48500
48500
  class: normalizeClass(`${value} flex aspect-square cursor-pointer items-center justify-center rounded ring-[1px] ring-surface-500/50`),
@@ -48502,10 +48502,10 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
48502
48502
  }, {
48503
48503
  default: withCtx(() => [
48504
48504
  index2 === 0 && chosenBackground.value !== key ? renderSlot(_ctx.$slots, "cancel-item", { key: 0 }, () => [
48505
- _hoisted_8
48505
+ _hoisted_8$1
48506
48506
  ], true) : createCommentVNode("", true),
48507
48507
  chosenBackground.value === key ? renderSlot(_ctx.$slots, "selected-item", { key: 1 }, () => [
48508
- _hoisted_9
48508
+ _hoisted_9$1
48509
48509
  ], true) : createCommentVNode("", true)
48510
48510
  ]),
48511
48511
  _: 2
@@ -48547,9 +48547,9 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
48547
48547
  };
48548
48548
  }
48549
48549
  });
48550
- var VPreview = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-0d055d3d"]]);
48551
- const _hoisted_1$5 = { class: "v-rail grid h-full w-[70px] grid-rows-[auto_1fr_auto] gap-0 overflow-y-auto sm:w-20" };
48552
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
48550
+ var VPreview = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-0d055d3d"]]);
48551
+ const _hoisted_1$a = { class: "v-rail grid h-full w-[70px] grid-rows-[auto_1fr_auto] gap-0 overflow-y-auto sm:w-20" };
48552
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
48553
48553
  __name: "VRail",
48554
48554
  props: {
48555
48555
  active: {
@@ -48578,7 +48578,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
48578
48578
  provide("active", props.active);
48579
48579
  provide("hover", props.hover);
48580
48580
  return (_ctx, _cache) => {
48581
- return openBlock(), createElementBlock("div", _hoisted_1$5, [
48581
+ return openBlock(), createElementBlock("div", _hoisted_1$a, [
48582
48582
  createElementVNode("div", {
48583
48583
  class: normalizeClass(["v-bar-lead", __props.regionLead])
48584
48584
  }, [
@@ -48598,7 +48598,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
48598
48598
  };
48599
48599
  }
48600
48600
  });
48601
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
48601
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
48602
48602
  __name: "VRailTile",
48603
48603
  props: {
48604
48604
  value: {
@@ -48674,9 +48674,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
48674
48674
  };
48675
48675
  }
48676
48676
  });
48677
- const _hoisted_1$4 = { class: "vuetiful-shell flex h-full w-full flex-col overflow-hidden" };
48678
- const _hoisted_2$3 = { class: "vuetiful-shell-content flex h-full w-full flex-auto overflow-hidden" };
48679
- const _sfc_main$b = defineComponent({
48677
+ const _hoisted_1$9 = { class: "vuetiful-shell flex h-full w-full flex-col overflow-hidden" };
48678
+ const _hoisted_2$5 = { class: "vuetiful-shell-content flex h-full w-full flex-auto overflow-hidden" };
48679
+ const _sfc_main$g = defineComponent({
48680
48680
  __name: "VShell",
48681
48681
  props: {
48682
48682
  regionPage: { type: String, default: "" },
@@ -48691,14 +48691,14 @@ const _sfc_main$b = defineComponent({
48691
48691
  setup(__props) {
48692
48692
  return (_ctx, _cache) => {
48693
48693
  var _a;
48694
- return openBlock(), createElementBlock("div", _hoisted_1$4, [
48694
+ return openBlock(), createElementBlock("div", _hoisted_1$9, [
48695
48695
  _ctx.$slots.fixedHeader ? (openBlock(), createElementBlock("header", {
48696
48696
  key: 0,
48697
48697
  class: normalizeClass(`vuetiful-fixed-header ${__props.slotFixedHeader}`)
48698
48698
  }, [
48699
48699
  renderSlot(_ctx.$slots, "fixedHeader")
48700
48700
  ], 2)) : createCommentVNode("", true),
48701
- createElementVNode("div", _hoisted_2$3, [
48701
+ createElementVNode("div", _hoisted_2$5, [
48702
48702
  _ctx.$slots.sidebarLeft ? (openBlock(), createElementBlock("aside", {
48703
48703
  key: 0,
48704
48704
  class: normalizeClass(`vuetiful-sidebar-left overflow-y-auto overflow-x-hidden ${__props.slotSidebarLeft}`)
@@ -48745,23 +48745,23 @@ const _sfc_main$b = defineComponent({
48745
48745
  }
48746
48746
  });
48747
48747
  var VListboxButton_vue_vue_type_style_index_0_scoped_true_lang = "";
48748
- const _withScopeId$1 = (n2) => (pushScopeId("data-v-85546624"), n2 = n2(), popScopeId(), n2);
48749
- const _hoisted_1$3 = { key: 0 };
48750
- const _hoisted_2$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("svg", {
48748
+ const _withScopeId$2 = (n2) => (pushScopeId("data-v-85546624"), n2 = n2(), popScopeId(), n2);
48749
+ const _hoisted_1$8 = { key: 0 };
48750
+ const _hoisted_2$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("svg", {
48751
48751
  class: "icon",
48752
48752
  xmlns: "http://www.w3.org/2000/svg",
48753
48753
  viewBox: "0 0 512 512"
48754
48754
  }, [
48755
48755
  /* @__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" })
48756
48756
  ], -1));
48757
- const _hoisted_3$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("svg", {
48757
+ const _hoisted_3$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("svg", {
48758
48758
  class: "icon",
48759
48759
  xmlns: "http://www.w3.org/2000/svg",
48760
48760
  viewBox: "0 0 512 512"
48761
48761
  }, [
48762
48762
  /* @__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" })
48763
48763
  ], -1));
48764
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
48764
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
48765
48765
  __name: "VListboxButton",
48766
48766
  props: {
48767
48767
  as: {
@@ -48781,12 +48781,12 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
48781
48781
  }, {
48782
48782
  default: withCtx(({ open }) => [
48783
48783
  renderSlot(_ctx.$slots, "default", {}, void 0, true),
48784
- !__props.hideIcon ? (openBlock(), createElementBlock("span", _hoisted_1$3, [
48784
+ !__props.hideIcon ? (openBlock(), createElementBlock("span", _hoisted_1$8, [
48785
48785
  !open ? renderSlot(_ctx.$slots, "open-icon", { key: 0 }, () => [
48786
- _hoisted_2$2
48786
+ _hoisted_2$4
48787
48787
  ], true) : createCommentVNode("", true),
48788
48788
  open ? renderSlot(_ctx.$slots, "close-icon", { key: 1 }, () => [
48789
- _hoisted_3$2
48789
+ _hoisted_3$3
48790
48790
  ], true) : createCommentVNode("", true)
48791
48791
  ])) : createCommentVNode("", true)
48792
48792
  ]),
@@ -48795,8 +48795,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
48795
48795
  };
48796
48796
  }
48797
48797
  });
48798
- var VListboxButton = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-85546624"]]);
48799
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
48798
+ var VListboxButton = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-85546624"]]);
48799
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
48800
48800
  __name: "VListboxItems",
48801
48801
  props: {
48802
48802
  as: {
@@ -48831,7 +48831,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
48831
48831
  };
48832
48832
  }
48833
48833
  });
48834
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
48834
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
48835
48835
  __name: "VListboxLabel",
48836
48836
  props: {
48837
48837
  as: {
@@ -48850,7 +48850,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
48850
48850
  };
48851
48851
  }
48852
48852
  });
48853
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
48853
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
48854
48854
  __name: "VListbox",
48855
48855
  props: {
48856
48856
  by: {
@@ -48943,7 +48943,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
48943
48943
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => parentModelValue.value = $event)
48944
48944
  }, {
48945
48945
  default: withCtx(() => [
48946
- __props.labelText ? (openBlock(), createBlock(_sfc_main$8, {
48946
+ __props.labelText ? (openBlock(), createBlock(_sfc_main$d, {
48947
48947
  key: 0,
48948
48948
  class: normalizeClass(__props.labelClasses)
48949
48949
  }, {
@@ -48952,12 +48952,15 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
48952
48952
  ]),
48953
48953
  _: 1
48954
48954
  }, 8, ["class"])) : createCommentVNode("", true),
48955
- createVNode(VListboxButton, { "data-test": "v-listbox-button" }, {
48955
+ createVNode(VListboxButton, {
48956
+ "data-test": "v-listbox-button",
48957
+ class: normalizeClass(`${__props.background} ${__props.text}`)
48958
+ }, {
48956
48959
  default: withCtx(() => [
48957
48960
  createTextVNode(toDisplayString(unref(showText)), 1)
48958
48961
  ]),
48959
48962
  _: 1
48960
- }),
48963
+ }, 8, ["class"]),
48961
48964
  createVNode(Transition, {
48962
48965
  "enter-active-class": "transition duration-150 ease-in-out",
48963
48966
  "enter-from-class": "opacity-0",
@@ -48967,7 +48970,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
48967
48970
  "leave-to-class": "opacity-0"
48968
48971
  }, {
48969
48972
  default: withCtx(() => [
48970
- createVNode(_sfc_main$9, { class: "absolute mt-1 min-w-full" }, {
48973
+ createVNode(_sfc_main$e, { class: "absolute mt-1 min-w-full" }, {
48971
48974
  default: withCtx(() => [
48972
48975
  renderSlot(_ctx.$slots, "default")
48973
48976
  ]),
@@ -48982,7 +48985,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
48982
48985
  };
48983
48986
  }
48984
48987
  });
48985
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
48988
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
48986
48989
  __name: "VListboxItem",
48987
48990
  props: {
48988
48991
  value: {
@@ -49008,7 +49011,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
49008
49011
  };
49009
49012
  }
49010
49013
  });
49011
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
49014
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
49012
49015
  __name: "VTab",
49013
49016
  props: {
49014
49017
  disabled: {
@@ -49048,7 +49051,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
49048
49051
  };
49049
49052
  }
49050
49053
  });
49051
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
49054
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
49052
49055
  __name: "VTabPanel",
49053
49056
  setup(__props) {
49054
49057
  return (_ctx, _cache) => {
@@ -49061,7 +49064,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
49061
49064
  };
49062
49065
  }
49063
49066
  });
49064
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
49067
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
49065
49068
  __name: "VTabs",
49066
49069
  props: {
49067
49070
  hideSeparator: {
@@ -49145,8 +49148,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
49145
49148
  };
49146
49149
  }
49147
49150
  });
49148
- const _hoisted_1$2 = { class: "vuetiful-accordion flex w-full flex-col gap-1" };
49149
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
49151
+ const _hoisted_1$7 = { class: "vuetiful-accordion flex w-full flex-col gap-1" };
49152
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
49150
49153
  __name: "VAccordion",
49151
49154
  props: {
49152
49155
  hover: {
@@ -49163,30 +49166,30 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
49163
49166
  provide("hover", props.hover);
49164
49167
  provide("background", props.background);
49165
49168
  return (_ctx, _cache) => {
49166
- return openBlock(), createElementBlock("div", _hoisted_1$2, [
49169
+ return openBlock(), createElementBlock("div", _hoisted_1$7, [
49167
49170
  renderSlot(_ctx.$slots, "default")
49168
49171
  ]);
49169
49172
  };
49170
49173
  }
49171
49174
  });
49172
49175
  var VAccordionItem_vue_vue_type_style_index_0_scoped_true_lang = "";
49173
- const _withScopeId = (n2) => (pushScopeId("data-v-75f8b8b4"), n2 = n2(), popScopeId(), n2);
49174
- const _hoisted_1$1 = { class: "vuetiful-accordion-title" };
49175
- const _hoisted_2$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
49176
+ const _withScopeId$1 = (n2) => (pushScopeId("data-v-75f8b8b4"), n2 = n2(), popScopeId(), n2);
49177
+ const _hoisted_1$6 = { class: "vuetiful-accordion-title" };
49178
+ const _hoisted_2$3 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("svg", {
49176
49179
  class: "icon",
49177
49180
  xmlns: "http://www.w3.org/2000/svg",
49178
49181
  viewBox: "0 0 448 512"
49179
49182
  }, [
49180
49183
  /* @__PURE__ */ createElementVNode("path", { d: "M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z" })
49181
49184
  ], -1));
49182
- const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
49185
+ const _hoisted_3$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("svg", {
49183
49186
  class: "icon",
49184
49187
  xmlns: "http://www.w3.org/2000/svg",
49185
49188
  viewBox: "0 0 448 512"
49186
49189
  }, [
49187
49190
  /* @__PURE__ */ createElementVNode("path", { d: "M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z" })
49188
49191
  ], -1));
49189
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
49192
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
49190
49193
  __name: "VAccordionItem",
49191
49194
  props: {
49192
49195
  title: {
@@ -49210,12 +49213,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
49210
49213
  createElementVNode("div", {
49211
49214
  class: normalizeClass(["flex items-center justify-between p-4 rounded-container-token hover:cursor-pointer", `${unref(background)} ${unref(hover)} ${open ? "!rounded-bl-none !rounded-br-none" : ""}`])
49212
49215
  }, [
49213
- createElementVNode("span", _hoisted_1$1, toDisplayString(__props.title), 1),
49216
+ createElementVNode("span", _hoisted_1$6, toDisplayString(__props.title), 1),
49214
49217
  !open ? renderSlot(_ctx.$slots, "open-item", { key: 0 }, () => [
49215
- _hoisted_2$1
49218
+ _hoisted_2$3
49216
49219
  ], true) : createCommentVNode("", true),
49217
49220
  open ? renderSlot(_ctx.$slots, "close-item", { key: 1 }, () => [
49218
- _hoisted_3$1
49221
+ _hoisted_3$2
49219
49222
  ], true) : createCommentVNode("", true)
49220
49223
  ], 2)
49221
49224
  ]),
@@ -49235,46 +49238,302 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
49235
49238
  };
49236
49239
  }
49237
49240
  });
49238
- var VAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-75f8b8b4"]]);
49241
+ var VAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-75f8b8b4"]]);
49242
+ var VAlert_vue_vue_type_style_index_0_scoped_true_lang = "";
49243
+ const _withScopeId = (n2) => (pushScopeId("data-v-5669e826"), n2 = n2(), popScopeId(), n2);
49244
+ const _hoisted_1$5 = { key: 0 };
49245
+ const _hoisted_2$2 = {
49246
+ key: 0,
49247
+ class: "icon",
49248
+ xmlns: "http://www.w3.org/2000/svg",
49249
+ viewBox: "0 0 512 512"
49250
+ };
49251
+ const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("path", { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z" }, null, -1));
49252
+ const _hoisted_4$1 = [
49253
+ _hoisted_3$1
49254
+ ];
49255
+ const _hoisted_5$1 = {
49256
+ key: 1,
49257
+ class: "icon",
49258
+ xmlns: "http://www.w3.org/2000/svg",
49259
+ viewBox: "0 0 512 512"
49260
+ };
49261
+ const _hoisted_6$1 = /* @__PURE__ */ _withScopeId(() => /* @__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" }, null, -1));
49262
+ const _hoisted_7 = [
49263
+ _hoisted_6$1
49264
+ ];
49265
+ const _hoisted_8 = {
49266
+ key: 2,
49267
+ class: "icon",
49268
+ xmlns: "http://www.w3.org/2000/svg",
49269
+ viewBox: "0 0 512 512"
49270
+ };
49271
+ const _hoisted_9 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("path", { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z" }, null, -1));
49272
+ const _hoisted_10 = [
49273
+ _hoisted_9
49274
+ ];
49275
+ const _hoisted_11 = {
49276
+ key: 3,
49277
+ class: "icon",
49278
+ xmlns: "http://www.w3.org/2000/svg",
49279
+ viewBox: "0 0 512 512"
49280
+ };
49281
+ const _hoisted_12 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("path", { d: "M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z" }, null, -1));
49282
+ const _hoisted_13 = [
49283
+ _hoisted_12
49284
+ ];
49285
+ const _hoisted_14 = { class: "vuetiful-alert-message flex-auto" };
49286
+ const _hoisted_15 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("path", { d: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z" }, null, -1));
49287
+ const _hoisted_16 = [
49288
+ _hoisted_15
49289
+ ];
49290
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
49291
+ __name: "VAlert",
49292
+ props: {
49293
+ hideIcon: {
49294
+ type: Boolean,
49295
+ default: false
49296
+ },
49297
+ hideClose: {
49298
+ type: Boolean,
49299
+ default: false
49300
+ },
49301
+ show: {
49302
+ type: Boolean,
49303
+ default: true
49304
+ },
49305
+ type: {
49306
+ type: String,
49307
+ default: ""
49308
+ }
49309
+ },
49310
+ emits: ["close"],
49311
+ setup(__props, { emit }) {
49312
+ const props = __props;
49313
+ const typeBackground = computed(() => {
49314
+ switch (props.type) {
49315
+ case "info":
49316
+ return "variant-filled";
49317
+ case "success":
49318
+ return "variant-filled-success";
49319
+ case "warning":
49320
+ return "variant-filled-warning";
49321
+ case "error":
49322
+ return "variant-filled-error";
49323
+ default:
49324
+ return "variant-filled-primary";
49325
+ }
49326
+ });
49327
+ const close = () => emit("close");
49328
+ const handleKeydown = (event) => {
49329
+ if (event.key === "Enter" || event.key === " ") {
49330
+ close();
49331
+ }
49332
+ };
49333
+ return (_ctx, _cache) => {
49334
+ return __props.show ? (openBlock(), createElementBlock("aside", {
49335
+ key: 0,
49336
+ class: normalizeClass(`vuetiful-alert flex w-full flex-row items-center gap-4 p-4 border-token rounded-container-token ${unref(typeBackground)}`)
49337
+ }, [
49338
+ !__props.hideIcon ? (openBlock(), createElementBlock("div", _hoisted_1$5, [
49339
+ _ctx.$slots.pre ? renderSlot(_ctx.$slots, "pre", { key: 0 }, void 0, true) : createCommentVNode("", true),
49340
+ !_ctx.$slots.pre ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
49341
+ __props.type === "info" ? (openBlock(), createElementBlock("svg", _hoisted_2$2, _hoisted_4$1)) : createCommentVNode("", true),
49342
+ __props.type === "success" ? (openBlock(), createElementBlock("svg", _hoisted_5$1, _hoisted_7)) : createCommentVNode("", true),
49343
+ __props.type === "warning" ? (openBlock(), createElementBlock("svg", _hoisted_8, _hoisted_10)) : createCommentVNode("", true),
49344
+ __props.type === "error" ? (openBlock(), createElementBlock("svg", _hoisted_11, _hoisted_13)) : createCommentVNode("", true)
49345
+ ], 64)) : createCommentVNode("", true)
49346
+ ])) : createCommentVNode("", true),
49347
+ createElementVNode("div", _hoisted_14, [
49348
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
49349
+ ]),
49350
+ renderSlot(_ctx.$slots, "actions", {}, void 0, true),
49351
+ !__props.hideClose ? (openBlock(), createElementBlock("svg", {
49352
+ key: 1,
49353
+ "data-test": "close",
49354
+ tabindex: "0",
49355
+ onKeydown: handleKeydown,
49356
+ onClick: close,
49357
+ class: "icon hover:cursor-pointer",
49358
+ xmlns: "http://www.w3.org/2000/svg",
49359
+ viewBox: "0 0 384 512"
49360
+ }, _hoisted_16, 32)) : createCommentVNode("", true)
49361
+ ], 2)) : createCommentVNode("", true);
49362
+ };
49363
+ }
49364
+ });
49365
+ var VAlert = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-5669e826"]]);
49366
+ var VCard_vue_vue_type_style_index_0_lang = "";
49367
+ const _hoisted_1$4 = ["tabindex"];
49368
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
49369
+ __name: "VCard",
49370
+ props: {
49371
+ hideSeparator: {
49372
+ type: Boolean,
49373
+ default: false
49374
+ },
49375
+ background: {
49376
+ type: String,
49377
+ default: "bg-surface-200-700-token"
49378
+ },
49379
+ text: {
49380
+ type: String,
49381
+ default: "text-surface-900-50-token"
49382
+ },
49383
+ horizontal: {
49384
+ type: Boolean,
49385
+ default: false
49386
+ },
49387
+ clickable: {
49388
+ type: Boolean,
49389
+ default: false
49390
+ }
49391
+ },
49392
+ emits: ["click"],
49393
+ setup(__props, { emit }) {
49394
+ const props = __props;
49395
+ provide("hideSeparator", props.hideSeparator);
49396
+ const onClick = () => {
49397
+ if (!props.clickable)
49398
+ return;
49399
+ emit("click");
49400
+ };
49401
+ const onKeydown = (event) => {
49402
+ if (!props.clickable)
49403
+ return;
49404
+ if (event.key === "Enter") {
49405
+ event.preventDefault();
49406
+ emit("click");
49407
+ }
49408
+ if (event.key === " ") {
49409
+ event.preventDefault();
49410
+ emit("click");
49411
+ }
49412
+ };
49413
+ return (_ctx, _cache) => {
49414
+ return openBlock(), createElementBlock("div", {
49415
+ onClick,
49416
+ onKeydown,
49417
+ tabindex: __props.clickable ? 0 : void 0,
49418
+ class: normalizeClass(`vuetiful-card flex border-token rounded-container-token ring-outline-token ${__props.horizontal ? "flex-row" : "flex-col"} ${__props.background} ${__props.text} ${__props.clickable ? "card-hover hover:cursor-pointer" : ""}`)
49419
+ }, [
49420
+ renderSlot(_ctx.$slots, "default")
49421
+ ], 42, _hoisted_1$4);
49422
+ };
49423
+ }
49424
+ });
49425
+ const _sfc_main$3 = {};
49426
+ const _hoisted_1$3 = {
49427
+ "data-test": "vuetiful-card-body-content",
49428
+ class: "vuetiful-card-body p-4"
49429
+ };
49430
+ function _sfc_render$1(_ctx, _cache) {
49431
+ return openBlock(), createElementBlock("div", _hoisted_1$3, [
49432
+ renderSlot(_ctx.$slots, "default")
49433
+ ]);
49434
+ }
49435
+ var VCardBody = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1]]);
49436
+ const _hoisted_1$2 = {
49437
+ key: 0,
49438
+ "data-test": "vuetiful-card-footer-separator",
49439
+ class: "opacity-90"
49440
+ };
49441
+ const _hoisted_2$1 = {
49442
+ "data-test": "vuetiful-card-footer-content",
49443
+ class: "vuetiful-card-footer p-4"
49444
+ };
49445
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
49446
+ __name: "VCardFooter",
49447
+ setup(__props) {
49448
+ const hideSeparator = inject("hideSeparator", false);
49449
+ return (_ctx, _cache) => {
49450
+ return openBlock(), createElementBlock(Fragment, null, [
49451
+ !unref(hideSeparator) ? (openBlock(), createElementBlock("hr", _hoisted_1$2)) : createCommentVNode("", true),
49452
+ createElementVNode("div", _hoisted_2$1, [
49453
+ renderSlot(_ctx.$slots, "default")
49454
+ ])
49455
+ ], 64);
49456
+ };
49457
+ }
49458
+ });
49459
+ var VCardHeader_vue_vue_type_style_index_0_lang = "";
49460
+ const _hoisted_1$1 = {
49461
+ key: 0,
49462
+ "data-test": "vuetiful-card-header-separator",
49463
+ class: "opacity-90"
49464
+ };
49465
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
49466
+ __name: "VCardHeader",
49467
+ setup(__props) {
49468
+ const headerRef = ref();
49469
+ const hasImageAsChild = computed(() => {
49470
+ var _a;
49471
+ const children = (_a = headerRef.value) == null ? void 0 : _a.children;
49472
+ if (!children)
49473
+ return false;
49474
+ const childrenArray = Array.from(children);
49475
+ return childrenArray.some((child) => child.tagName === "IMG");
49476
+ });
49477
+ const hideSeparator = inject("hideSeparator", false);
49478
+ return (_ctx, _cache) => {
49479
+ return openBlock(), createElementBlock(Fragment, null, [
49480
+ createElementVNode("div", {
49481
+ ref_key: "headerRef",
49482
+ ref: headerRef,
49483
+ "data-test": "vuetiful-card-header-content",
49484
+ class: normalizeClass(`vuetiful-card-header ${unref(hasImageAsChild) ? "" : "p-4"}`)
49485
+ }, [
49486
+ renderSlot(_ctx.$slots, "default")
49487
+ ], 2),
49488
+ !unref(hideSeparator) ? (openBlock(), createElementBlock("hr", _hoisted_1$1)) : createCommentVNode("", true)
49489
+ ], 64);
49490
+ };
49491
+ }
49492
+ });
49239
49493
  var components = /* @__PURE__ */ Object.freeze({
49240
49494
  __proto__: null,
49241
49495
  [Symbol.toStringTag]: "Module",
49242
- VAvatar: _sfc_main$t,
49243
- VButton: _sfc_main$r,
49496
+ VAvatar: _sfc_main$y,
49497
+ VButton: _sfc_main$w,
49244
49498
  VBadge,
49245
49499
  VChip,
49246
- VCodeBlock: _sfc_main$p,
49500
+ VCodeBlock: _sfc_main$u,
49247
49501
  VLightSwitch,
49248
- VRadioGroup: _sfc_main$m,
49249
- VRadioItem: _sfc_main$l,
49250
- VRadioLabel: _sfc_main$k,
49251
- VRadioDescription: _sfc_main$n,
49252
- VSwitchGroup: _sfc_main$h,
49253
- VSwitchLabel: _sfc_main$g,
49254
- VSwitchDescription: _sfc_main$i,
49255
- VSwitch: _sfc_main$j,
49256
- VAccordion: _sfc_main$2,
49502
+ VRadioGroup: _sfc_main$r,
49503
+ VRadioItem: _sfc_main$q,
49504
+ VRadioLabel: _sfc_main$p,
49505
+ VRadioDescription: _sfc_main$s,
49506
+ VSwitchGroup: _sfc_main$m,
49507
+ VSwitchLabel: _sfc_main$l,
49508
+ VSwitchDescription: _sfc_main$n,
49509
+ VSwitch: _sfc_main$o,
49510
+ VAccordion: _sfc_main$7,
49257
49511
  VAccordionItem,
49258
- VDrawer: _sfc_main$f,
49259
- VListbox: _sfc_main$7,
49512
+ VAlert,
49513
+ VCard: _sfc_main$4,
49514
+ VCardBody,
49515
+ VCardFooter: _sfc_main$2,
49516
+ VCardHeader: _sfc_main$1,
49517
+ VDrawer: _sfc_main$k,
49518
+ VListbox: _sfc_main$c,
49260
49519
  VListboxButton,
49261
- VListboxItem: _sfc_main$6,
49262
- VListboxItems: _sfc_main$9,
49263
- VListboxLabel: _sfc_main$8,
49520
+ VListboxItem: _sfc_main$b,
49521
+ VListboxItems: _sfc_main$e,
49522
+ VListboxLabel: _sfc_main$d,
49264
49523
  VPreview,
49265
- VRail: _sfc_main$d,
49266
- VRailTile: _sfc_main$c,
49267
- VShell: _sfc_main$b,
49268
- VTab: _sfc_main$5,
49269
- VTabPanel: _sfc_main$4,
49270
- VTabs: _sfc_main$3
49524
+ VRail: _sfc_main$i,
49525
+ VRailTile: _sfc_main$h,
49526
+ VShell: _sfc_main$g,
49527
+ VTab: _sfc_main$a,
49528
+ VTabPanel: _sfc_main$9,
49529
+ VTabs: _sfc_main$8
49271
49530
  });
49272
49531
  var main = "";
49273
49532
  var tailwind = "";
49274
49533
  const _sfc_main = defineComponent({
49275
49534
  components: {
49276
49535
  VLightSwitch,
49277
- VButton: _sfc_main$r
49536
+ VButton: _sfc_main$w
49278
49537
  },
49279
49538
  props: {
49280
49539
  bgLight: {
@@ -49514,4 +49773,4 @@ function install(app) {
49514
49773
  }
49515
49774
  }
49516
49775
  var index = { install };
49517
- export { themeSwitcher as ThemeSwitcher, _sfc_main$2 as VAccordion, VAccordionItem, _sfc_main$t as VAvatar, VBadge, _sfc_main$r as VButton, VChip, _sfc_main$p as VCodeBlock, _sfc_main$f as VDrawer, VLightSwitch, _sfc_main$7 as VListbox, VListboxButton, _sfc_main$6 as VListboxItem, _sfc_main$9 as VListboxItems, _sfc_main$8 as VListboxLabel, VPreview, _sfc_main$n as VRadioDescription, _sfc_main$m as VRadioGroup, _sfc_main$l as VRadioItem, _sfc_main$k as VRadioLabel, _sfc_main$d as VRail, _sfc_main$c as VRailTile, _sfc_main$b as VShell, _sfc_main$j as VSwitch, _sfc_main$i as VSwitchDescription, _sfc_main$h as VSwitchGroup, _sfc_main$g as VSwitchLabel, _sfc_main$5 as VTab, _sfc_main$4 as VTabPanel, _sfc_main$3 as VTabs, index as default, useDarkMode, useDrawer, useHighlight, useRail, useTheme, clipboard as vClipboard };
49776
+ export { themeSwitcher as ThemeSwitcher, _sfc_main$7 as VAccordion, VAccordionItem, VAlert, _sfc_main$y as VAvatar, VBadge, _sfc_main$w as VButton, _sfc_main$4 as VCard, VCardBody, _sfc_main$2 as VCardFooter, _sfc_main$1 as VCardHeader, VChip, _sfc_main$u as VCodeBlock, _sfc_main$k as VDrawer, VLightSwitch, _sfc_main$c as VListbox, VListboxButton, _sfc_main$b as VListboxItem, _sfc_main$e as VListboxItems, _sfc_main$d as VListboxLabel, VPreview, _sfc_main$s as VRadioDescription, _sfc_main$r as VRadioGroup, _sfc_main$q as VRadioItem, _sfc_main$p as VRadioLabel, _sfc_main$i as VRail, _sfc_main$h as VRailTile, _sfc_main$g as VShell, _sfc_main$o as VSwitch, _sfc_main$n as VSwitchDescription, _sfc_main$m as VSwitchGroup, _sfc_main$l as VSwitchLabel, _sfc_main$a as VTab, _sfc_main$9 as VTabPanel, _sfc_main$8 as VTabs, index as default, useDarkMode, useDrawer, useHighlight, useRail, useTheme, clipboard as vClipboard };