@volverjs/ui-vue 0.0.10-beta.11 → 0.0.10-beta.13

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 (47) hide show
  1. package/auto-imports.d.ts +1 -0
  2. package/dist/components/VvInputFile/VvInputFile.es.js +1529 -0
  3. package/dist/components/VvInputFile/VvInputFile.umd.js +1 -0
  4. package/dist/components/VvInputFile/VvInputFile.vue.d.ts +141 -0
  5. package/dist/components/VvInputFile/index.d.ts +52 -0
  6. package/dist/components/VvTab/VvTab.es.js +2 -2
  7. package/dist/components/VvTab/VvTab.umd.js +1 -1
  8. package/dist/components/VvTab/VvTab.vue.d.ts +1 -0
  9. package/dist/components/index.d.ts +1 -0
  10. package/dist/components/index.es.js +635 -312
  11. package/dist/components/index.umd.js +1 -1
  12. package/dist/composables/index.d.ts +1 -0
  13. package/dist/composables/index.es.js +77 -1
  14. package/dist/composables/index.umd.js +1 -1
  15. package/dist/composables/useBlurhash.d.ts +7 -0
  16. package/dist/icons.es.js +3 -3
  17. package/dist/icons.umd.js +1 -1
  18. package/dist/stories/AlertGroup/AlertGroupWithComposable.stories.d.ts +1 -1
  19. package/dist/stories/Blurhash/BlurhashComposable.stories.d.ts +4 -0
  20. package/dist/stories/InputFile/InputFile.settings.d.ts +56 -0
  21. package/dist/stories/InputFile/InputFile.stories.d.ts +12 -0
  22. package/dist/stories/InputFile/InputFileModifiers.stories.d.ts +9 -0
  23. package/dist/stories/InputFile/InputFileSlots.stories.d.ts +6 -0
  24. package/dist/types/blurhash.d.ts +12 -0
  25. package/dist/types/index.d.ts +2 -0
  26. package/dist/types/input-file.d.ts +14 -0
  27. package/dist/workers/blurhash.d.ts +1 -0
  28. package/package.json +13 -1
  29. package/src/assets/icons/detailed.json +1 -1
  30. package/src/assets/icons/normal.json +1 -1
  31. package/src/assets/icons/simple.json +1 -1
  32. package/src/components/VvInputFile/VvInputFile.vue +274 -0
  33. package/src/components/VvInputFile/index.ts +36 -0
  34. package/src/components/VvTab/VvTab.vue +2 -2
  35. package/src/components/index.ts +1 -0
  36. package/src/composables/index.ts +1 -0
  37. package/src/composables/useBlurhash.ts +76 -0
  38. package/src/stories/AlertGroup/AlertGroupWithComposable.stories.ts +2 -2
  39. package/src/stories/Blurhash/BlurhashComposable.stories.ts +195 -0
  40. package/src/stories/InputFile/InputFile.settings.ts +36 -0
  41. package/src/stories/InputFile/InputFile.stories.ts +90 -0
  42. package/src/stories/InputFile/InputFileModifiers.stories.ts +51 -0
  43. package/src/stories/InputFile/InputFileSlots.stories.ts +25 -0
  44. package/src/types/blurhash.ts +21 -0
  45. package/src/types/index.ts +2 -0
  46. package/src/types/input-file.ts +16 -0
  47. package/src/workers/blurhash.ts +9 -0
@@ -1,4 +1,4 @@
1
- import { unref, inject, computed, toRef, toRefs, defineComponent, useAttrs, ref, openBlock, createElementBlock, normalizeClass, createElementVNode, withModifiers, renderSlot, normalizeProps, guardReactiveProps, createTextVNode, toDisplayString, isRef, provide, watchEffect, watch, Fragment, renderList, createBlock, mergeProps, withCtx, resolveDynamicComponent, createCommentVNode, createVNode, TransitionGroup, toHandlers, useSlots, h, onMounted, withDirectives, vModelCheckbox, createSlots, nextTick, Transition, normalizeStyle, vShow, vModelSelect, vModelText, vModelRadio } from "vue";
1
+ import { unref, inject, computed, toRef, toRefs, defineComponent, useAttrs, ref, openBlock, createElementBlock, normalizeClass, createElementVNode, withModifiers, renderSlot, normalizeProps, guardReactiveProps, createTextVNode, toDisplayString, isRef, provide, watchEffect, watch, Fragment, renderList, createBlock, mergeProps, withCtx, resolveDynamicComponent, createCommentVNode, createVNode, TransitionGroup, toHandlers, useSlots, h, onMounted, withDirectives, vModelCheckbox, createSlots, nextTick, Transition, normalizeStyle, vShow, vModelSelect, vModelText, vModelRadio, onBeforeUnmount } from "vue";
2
2
  import { uid } from "uid";
3
3
  import { useToggle, useStorage, useVModel, useMutationObserver, onClickOutside, useFocusWithin, onKeyStroke, useElementHover, useFocus, useElementVisibility, refDebounced, computedAsync } from "@vueuse/core";
4
4
  import { iconExists, Icon, addIcon } from "@iconify/vue";
@@ -754,14 +754,14 @@ function useModifiers(prefix, modifiers, others) {
754
754
  return toReturn;
755
755
  });
756
756
  }
757
- const _hoisted_1$l = ["id", "open"];
758
- const _hoisted_2$e = ["aria-controls", "aria-expanded"];
759
- const _hoisted_3$7 = ["aria-hidden"];
760
- const __default__$q = {
757
+ const _hoisted_1$m = ["id", "open"];
758
+ const _hoisted_2$f = ["aria-controls", "aria-expanded"];
759
+ const _hoisted_3$8 = ["aria-hidden"];
760
+ const __default__$r = {
761
761
  name: "VvAccordion"
762
762
  };
763
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
764
- ...__default__$q,
763
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
764
+ ...__default__$r,
765
765
  props: VvAccordionProps,
766
766
  emits: VvAccordionEvents,
767
767
  setup(__props, { emit }) {
@@ -847,7 +847,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
847
847
  /* TEXT */
848
848
  )
849
849
  ])
850
- ], 8, _hoisted_2$e),
850
+ ], 8, _hoisted_2$f),
851
851
  createElementVNode("div", {
852
852
  "aria-hidden": !unref(isOpen),
853
853
  class: "vv-accordion__content"
@@ -859,8 +859,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
859
859
  /* TEXT */
860
860
  )
861
861
  ])
862
- ], 8, _hoisted_3$7)
863
- ], 10, _hoisted_1$l);
862
+ ], 8, _hoisted_3$8)
863
+ ], 10, _hoisted_1$m);
864
864
  };
865
865
  }
866
866
  });
@@ -913,11 +913,11 @@ function useProvideGroupState(groupState) {
913
913
  computed(() => groupState)
914
914
  );
915
915
  }
916
- const __default__$p = {
916
+ const __default__$q = {
917
917
  name: "VvAccordionGroup"
918
918
  };
919
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
920
- ...__default__$p,
919
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
920
+ ...__default__$q,
921
921
  props: VvAccordionGroupProps,
922
922
  emits: VvAccordionGroupEvents,
923
923
  setup(__props, { emit }) {
@@ -991,7 +991,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
991
991
  null,
992
992
  renderList(unref(items), (item) => {
993
993
  return openBlock(), createBlock(
994
- _sfc_main$w,
994
+ _sfc_main$x,
995
995
  mergeProps({
996
996
  key: item.title
997
997
  }, {
@@ -1038,11 +1038,11 @@ function useInjectedDropdownItem() {
1038
1038
  function useInjectedDropdownAction() {
1039
1039
  return inject(INJECTION_KEY_DROPDOWN_ACTION, {});
1040
1040
  }
1041
- const __default__$o = {
1041
+ const __default__$p = {
1042
1042
  name: "VvAction"
1043
1043
  };
1044
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
1045
- ...__default__$o,
1044
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
1045
+ ...__default__$p,
1046
1046
  props: VvActionProps,
1047
1047
  emits: VvActionEvents,
1048
1048
  setup(__props, { expose: __expose, emit }) {
@@ -1251,11 +1251,11 @@ const VvIconProps = {
1251
1251
  type: [String, Array]
1252
1252
  }
1253
1253
  };
1254
- const __default__$n = {
1254
+ const __default__$o = {
1255
1255
  name: "VvIcon"
1256
1256
  };
1257
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
1258
- ...__default__$n,
1257
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
1258
+ ...__default__$o,
1259
1259
  props: VvIconProps,
1260
1260
  setup(__props) {
1261
1261
  const props = __props;
@@ -1492,35 +1492,35 @@ const useVvAlert = (props, emit) => {
1492
1492
  }))
1493
1493
  };
1494
1494
  };
1495
- const _hoisted_1$k = {
1495
+ const _hoisted_1$l = {
1496
1496
  key: 0,
1497
1497
  class: "vv-alert__header"
1498
1498
  };
1499
- const _hoisted_2$d = ["id"];
1500
- const _hoisted_3$6 = ["aria-label"];
1501
- const _hoisted_4$5 = /* @__PURE__ */ createElementVNode(
1499
+ const _hoisted_2$e = ["id"];
1500
+ const _hoisted_3$7 = ["aria-label"];
1501
+ const _hoisted_4$6 = /* @__PURE__ */ createElementVNode(
1502
1502
  "div",
1503
1503
  { class: "vv-alert__close-mask" },
1504
1504
  null,
1505
1505
  -1
1506
1506
  /* HOISTED */
1507
1507
  );
1508
- const _hoisted_5$4 = [
1509
- _hoisted_4$5
1508
+ const _hoisted_5$5 = [
1509
+ _hoisted_4$6
1510
1510
  ];
1511
- const _hoisted_6$4 = {
1511
+ const _hoisted_6$5 = {
1512
1512
  key: 1,
1513
1513
  class: "vv-alert__content"
1514
1514
  };
1515
- const _hoisted_7$4 = {
1515
+ const _hoisted_7$5 = {
1516
1516
  key: 2,
1517
1517
  class: "vv-alert__footer"
1518
1518
  };
1519
- const __default__$m = {
1519
+ const __default__$n = {
1520
1520
  name: "VvAlert"
1521
1521
  };
1522
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
1523
- ...__default__$m,
1522
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
1523
+ ...__default__$n,
1524
1524
  props: VvAlertProps,
1525
1525
  emits: VvAlertEvents,
1526
1526
  setup(__props, { expose: __expose, emit }) {
@@ -1532,9 +1532,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
1532
1532
  "div",
1533
1533
  normalizeProps(guardReactiveProps(unref(hasProps))),
1534
1534
  [
1535
- _ctx.$slots.header || _ctx.$slots.title || _ctx.$slots.close || _ctx.$slots["title::before"] || _ctx.$slots["title::after"] || _ctx.title || _ctx.dismissable || _ctx.autoClose ? (openBlock(), createElementBlock("div", _hoisted_1$k, [
1535
+ _ctx.$slots.header || _ctx.$slots.title || _ctx.$slots.close || _ctx.$slots["title::before"] || _ctx.$slots["title::after"] || _ctx.title || _ctx.dismissable || _ctx.autoClose ? (openBlock(), createElementBlock("div", _hoisted_1$l, [
1536
1536
  unref(hasIcon) ? (openBlock(), createBlock(
1537
- _sfc_main$t,
1537
+ _sfc_main$u,
1538
1538
  mergeProps({ key: 0 }, unref(hasIcon), { class: "vv-alert__icon" }),
1539
1539
  null,
1540
1540
  16
@@ -1554,7 +1554,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
1554
1554
  /* TEXT */
1555
1555
  )
1556
1556
  ])
1557
- ], 8, _hoisted_2$d)) : createCommentVNode("v-if", true),
1557
+ ], 8, _hoisted_2$e)) : createCommentVNode("v-if", true),
1558
1558
  renderSlot(_ctx.$slots, "title::after")
1559
1559
  ]),
1560
1560
  renderSlot(_ctx.$slots, "close", normalizeProps(guardReactiveProps({ close: unref(close) })), () => [
@@ -1568,10 +1568,10 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
1568
1568
  (...args) => unref(close) && unref(close)(...args),
1569
1569
  ["stop"]
1570
1570
  ))
1571
- }, _hoisted_5$4, 8, _hoisted_3$6)) : createCommentVNode("v-if", true)
1571
+ }, _hoisted_5$5, 8, _hoisted_3$7)) : createCommentVNode("v-if", true)
1572
1572
  ])
1573
1573
  ])) : createCommentVNode("v-if", true),
1574
- _ctx.$slots.default || _ctx.content ? (openBlock(), createElementBlock("div", _hoisted_6$4, [
1574
+ _ctx.$slots.default || _ctx.content ? (openBlock(), createElementBlock("div", _hoisted_6$5, [
1575
1575
  renderSlot(_ctx.$slots, "default", {}, () => [
1576
1576
  createTextVNode(
1577
1577
  toDisplayString(_ctx.content),
@@ -1580,7 +1580,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
1580
1580
  )
1581
1581
  ])
1582
1582
  ])) : createCommentVNode("v-if", true),
1583
- _ctx.$slots.footer || _ctx.footer ? (openBlock(), createElementBlock("div", _hoisted_7$4, [
1583
+ _ctx.$slots.footer || _ctx.footer ? (openBlock(), createElementBlock("div", _hoisted_7$5, [
1584
1584
  renderSlot(_ctx.$slots, "footer", {}, () => [
1585
1585
  createTextVNode(
1586
1586
  toDisplayString(_ctx.footer),
@@ -1708,11 +1708,11 @@ const useVvAlertGroup = (props, emit) => {
1708
1708
  }))
1709
1709
  };
1710
1710
  };
1711
- const __default__$l = {
1711
+ const __default__$m = {
1712
1712
  name: "VvAlertGroup"
1713
1713
  };
1714
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
1715
- ...__default__$l,
1714
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
1715
+ ...__default__$m,
1716
1716
  props: VvAlertGroupProps,
1717
1717
  emits: VvAlertGroupEvents,
1718
1718
  setup(__props, { emit }) {
@@ -1763,7 +1763,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
1763
1763
  null,
1764
1764
  renderList(_ctx.items, (item) => {
1765
1765
  return openBlock(), createBlock(
1766
- _sfc_main$s,
1766
+ _sfc_main$t,
1767
1767
  mergeProps(item, {
1768
1768
  key: item.id
1769
1769
  }),
@@ -1795,9 +1795,9 @@ const VvAvatarProps = {
1795
1795
  */
1796
1796
  imgSrc: String
1797
1797
  };
1798
- const _hoisted_1$j = ["role", "aria-label"];
1799
- const _hoisted_2$c = ["src"];
1800
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
1798
+ const _hoisted_1$k = ["role", "aria-label"];
1799
+ const _hoisted_2$d = ["src"];
1800
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
1801
1801
  __name: "VvAvatar",
1802
1802
  props: VvAvatarProps,
1803
1803
  setup(__props) {
@@ -1815,9 +1815,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
1815
1815
  key: 0,
1816
1816
  src: _ctx.imgSrc,
1817
1817
  alt: "avatar"
1818
- }, null, 8, _hoisted_2$c)) : createCommentVNode("v-if", true)
1818
+ }, null, 8, _hoisted_2$d)) : createCommentVNode("v-if", true)
1819
1819
  ])
1820
- ], 10, _hoisted_1$j);
1820
+ ], 10, _hoisted_1$k);
1821
1821
  };
1822
1822
  }
1823
1823
  });
@@ -1840,8 +1840,8 @@ const VvAvatarGroupProps = {
1840
1840
  },
1841
1841
  avatarModifiers: [String, Array]
1842
1842
  };
1843
- const _hoisted_1$i = { key: 0 };
1844
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
1843
+ const _hoisted_1$j = { key: 0 };
1844
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
1845
1845
  __name: "VvAvatarGroup",
1846
1846
  props: VvAvatarGroupProps,
1847
1847
  setup(__props) {
@@ -1884,7 +1884,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1884
1884
  null,
1885
1885
  renderList(unref(avatarItems), (avatarItem) => {
1886
1886
  return openBlock(), createBlock(
1887
- _sfc_main$q,
1887
+ _sfc_main$r,
1888
1888
  mergeProps({
1889
1889
  key: avatarItem.key
1890
1890
  }, {
@@ -1895,7 +1895,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1895
1895
  default: withCtx(() => [
1896
1896
  avatarItem.text ? (openBlock(), createElementBlock(
1897
1897
  "span",
1898
- _hoisted_1$i,
1898
+ _hoisted_1$j,
1899
1899
  toDisplayString(avatarItem.text),
1900
1900
  1
1901
1901
  /* TEXT */
@@ -1911,7 +1911,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1911
1911
  128
1912
1912
  /* KEYED_FRAGMENT */
1913
1913
  )),
1914
- (unref(totalItems) || unref(items).length) > unref(toShow) ? (openBlock(), createBlock(_sfc_main$q, {
1914
+ (unref(totalItems) || unref(items).length) > unref(toShow) ? (openBlock(), createBlock(_sfc_main$r, {
1915
1915
  key: 0,
1916
1916
  modifiers: `${unref(stringModifiers)} surface bordered`
1917
1917
  }, {
@@ -1937,11 +1937,11 @@ const VvBadgeProps = {
1937
1937
  ...ModifiersProps,
1938
1938
  value: [String, Number]
1939
1939
  };
1940
- const __default__$k = {
1940
+ const __default__$l = {
1941
1941
  name: "VvBadge"
1942
1942
  };
1943
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
1944
- ...__default__$k,
1943
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1944
+ ...__default__$l,
1945
1945
  props: VvBadgeProps,
1946
1946
  setup(__props) {
1947
1947
  const props = __props;
@@ -1973,13 +1973,13 @@ const VvBreadcrumbProps = {
1973
1973
  ...ModifiersProps,
1974
1974
  routes: Array
1975
1975
  };
1976
- const _hoisted_1$h = { class: "vv-breadcrumb__list" };
1977
- const _hoisted_2$b = ["content"];
1978
- const __default__$j = {
1976
+ const _hoisted_1$i = { class: "vv-breadcrumb__list" };
1977
+ const _hoisted_2$c = ["content"];
1978
+ const __default__$k = {
1979
1979
  name: "VvBreadcrumb"
1980
1980
  };
1981
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
1982
- ...__default__$j,
1981
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1982
+ ...__default__$k,
1983
1983
  props: VvBreadcrumbProps,
1984
1984
  setup(__props) {
1985
1985
  const props = __props;
@@ -1998,7 +1998,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
1998
1998
  "aria-label": "breadcrumbs"
1999
1999
  },
2000
2000
  [
2001
- createElementVNode("ol", _hoisted_1$h, [
2001
+ createElementVNode("ol", _hoisted_1$i, [
2002
2002
  (openBlock(true), createElementBlock(
2003
2003
  Fragment,
2004
2004
  null,
@@ -2015,7 +2015,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
2015
2015
  itemscope: ""
2016
2016
  },
2017
2017
  [
2018
- createVNode(_sfc_main$u, mergeProps(route, {
2018
+ createVNode(_sfc_main$v, mergeProps(route, {
2019
2019
  class: !isLast(index) ? "vv-breadcrumb__link" : "vv-breadcrumb__label",
2020
2020
  "aria-current": isLast(index) ? "page" : void 0,
2021
2021
  itemprop: "item",
@@ -2036,7 +2036,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
2036
2036
  createElementVNode("meta", {
2037
2037
  itemprop: "position",
2038
2038
  content: `${index + 1}`
2039
- }, null, 8, _hoisted_2$b)
2039
+ }, null, 8, _hoisted_2$c)
2040
2040
  ],
2041
2041
  2
2042
2042
  /* CLASS */
@@ -2157,19 +2157,19 @@ function useGroupProps$2(props, emit) {
2157
2157
  label
2158
2158
  };
2159
2159
  }
2160
- const _hoisted_1$g = {
2160
+ const _hoisted_1$h = {
2161
2161
  key: 1,
2162
2162
  class: "vv-button__label"
2163
2163
  };
2164
- const _hoisted_2$a = {
2164
+ const _hoisted_2$b = {
2165
2165
  key: 1,
2166
2166
  class: "vv-button__label"
2167
2167
  };
2168
- const __default__$i = {
2168
+ const __default__$j = {
2169
2169
  name: "VvButton"
2170
2170
  };
2171
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
2172
- ...__default__$i,
2171
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
2172
+ ...__default__$j,
2173
2173
  props: VvButtonProps,
2174
2174
  emits: VvButtonEvents,
2175
2175
  setup(__props, { expose: __expose, emit }) {
@@ -2247,7 +2247,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
2247
2247
  }
2248
2248
  };
2249
2249
  return (_ctx, _cache) => {
2250
- return openBlock(), createBlock(_sfc_main$u, mergeProps({
2250
+ return openBlock(), createBlock(_sfc_main$v, mergeProps({
2251
2251
  disabled: unref(disabled),
2252
2252
  pressed: unref(pressed),
2253
2253
  active: _ctx.active,
@@ -2267,14 +2267,14 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
2267
2267
  default: withCtx(() => [
2268
2268
  renderSlot(_ctx.$slots, "default", {}, () => [
2269
2269
  _ctx.loading ? renderSlot(_ctx.$slots, "loading", { key: 0 }, () => [
2270
- _ctx.loadingIcon ? (openBlock(), createBlock(_sfc_main$t, {
2270
+ _ctx.loadingIcon ? (openBlock(), createBlock(_sfc_main$u, {
2271
2271
  key: 0,
2272
2272
  class: "vv-button__loading-icon",
2273
2273
  name: _ctx.loadingIcon
2274
2274
  }, null, 8, ["name"])) : createCommentVNode("v-if", true),
2275
2275
  _ctx.loadingLabel ? (openBlock(), createElementBlock(
2276
2276
  "span",
2277
- _hoisted_1$g,
2277
+ _hoisted_1$h,
2278
2278
  toDisplayString(_ctx.loadingLabel),
2279
2279
  1
2280
2280
  /* TEXT */
@@ -2285,7 +2285,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
2285
2285
  [
2286
2286
  renderSlot(_ctx.$slots, "before"),
2287
2287
  unref(icon) ? (openBlock(), createBlock(
2288
- _sfc_main$t,
2288
+ _sfc_main$u,
2289
2289
  mergeProps({
2290
2290
  key: 0,
2291
2291
  class: "vv-button__icon"
@@ -2294,7 +2294,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
2294
2294
  16
2295
2295
  /* FULL_PROPS */
2296
2296
  )) : createCommentVNode("v-if", true),
2297
- unref(label) ? (openBlock(), createElementBlock("span", _hoisted_2$a, [
2297
+ unref(label) ? (openBlock(), createElementBlock("span", _hoisted_2$b, [
2298
2298
  renderSlot(_ctx.$slots, "label", {}, () => [
2299
2299
  createTextVNode(
2300
2300
  toDisplayString(unref(label)),
@@ -2335,11 +2335,11 @@ const VvButtonGroupProps = {
2335
2335
  }
2336
2336
  };
2337
2337
  const VvButtonGroupEvents = ["update:modelValue"];
2338
- const __default__$h = {
2338
+ const __default__$i = {
2339
2339
  name: "VvButtonGroup"
2340
2340
  };
2341
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
2342
- ...__default__$h,
2341
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
2342
+ ...__default__$i,
2343
2343
  props: VvButtonGroupProps,
2344
2344
  emits: VvButtonGroupEvents,
2345
2345
  setup(__props, { emit }) {
@@ -2403,23 +2403,23 @@ const VvCardProps = {
2403
2403
  ...ModifiersProps,
2404
2404
  title: String
2405
2405
  };
2406
- const _hoisted_1$f = {
2406
+ const _hoisted_1$g = {
2407
2407
  key: 0,
2408
2408
  class: "vv-card__header"
2409
2409
  };
2410
- const _hoisted_2$9 = {
2410
+ const _hoisted_2$a = {
2411
2411
  key: 1,
2412
2412
  class: "vv-card__content"
2413
2413
  };
2414
- const _hoisted_3$5 = {
2414
+ const _hoisted_3$6 = {
2415
2415
  key: 2,
2416
2416
  class: "vv-card__footer"
2417
2417
  };
2418
- const __default__$g = {
2418
+ const __default__$h = {
2419
2419
  name: "VvCard"
2420
2420
  };
2421
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
2422
- ...__default__$g,
2421
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
2422
+ ...__default__$h,
2423
2423
  props: VvCardProps,
2424
2424
  setup(__props) {
2425
2425
  const props = __props;
@@ -2432,7 +2432,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
2432
2432
  class: normalizeClass(unref(bemCssClasses))
2433
2433
  },
2434
2434
  [
2435
- _ctx.$slots.header || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$f, [
2435
+ _ctx.$slots.header || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$g, [
2436
2436
  renderSlot(_ctx.$slots, "header", {}, () => [
2437
2437
  createTextVNode(
2438
2438
  toDisplayString(_ctx.title),
@@ -2442,10 +2442,10 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
2442
2442
  ])
2443
2443
  ])) : createCommentVNode("v-if", true),
2444
2444
  renderSlot(_ctx.$slots, "default"),
2445
- _ctx.$slots.content ? (openBlock(), createElementBlock("div", _hoisted_2$9, [
2445
+ _ctx.$slots.content ? (openBlock(), createElementBlock("div", _hoisted_2$a, [
2446
2446
  renderSlot(_ctx.$slots, "content")
2447
2447
  ])) : createCommentVNode("v-if", true),
2448
- _ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_3$5, [
2448
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_3$6, [
2449
2449
  renderSlot(_ctx.$slots, "footer")
2450
2450
  ])) : createCommentVNode("v-if", true)
2451
2451
  ],
@@ -2676,13 +2676,13 @@ function useDefaults(componentName, propsDefinition, props) {
2676
2676
  }, {});
2677
2677
  });
2678
2678
  }
2679
- const _hoisted_1$e = ["for"];
2680
- const _hoisted_2$8 = ["id", "name", "disabled", "value", "tabindex", "aria-invalid", "aria-describedby", "aria-errormessage"];
2681
- const __default__$f = {
2679
+ const _hoisted_1$f = ["for"];
2680
+ const _hoisted_2$9 = ["id", "name", "disabled", "value", "tabindex", "aria-invalid", "aria-describedby", "aria-errormessage"];
2681
+ const __default__$g = {
2682
2682
  name: "VvCheckbox"
2683
2683
  };
2684
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
2685
- ...__default__$f,
2684
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
2685
+ ...__default__$g,
2686
2686
  props: VvCheckboxProps,
2687
2687
  emits: VvCheckboxEvents,
2688
2688
  setup(__props, { emit }) {
@@ -2825,7 +2825,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
2825
2825
  "aria-invalid": unref(isInvalid),
2826
2826
  "aria-describedby": unref(hasHintLabelOrSlot) ? unref(hasHintId) : void 0,
2827
2827
  "aria-errormessage": unref(hasInvalidLabelOrSlot) ? unref(hasHintId) : void 0
2828
- }, null, 8, _hoisted_2$8), [
2828
+ }, null, 8, _hoisted_2$9), [
2829
2829
  [vModelCheckbox, unref(localModelValue)]
2830
2830
  ]),
2831
2831
  renderSlot(_ctx.$slots, "default", { value: unref(modelValue) }, () => [
@@ -2871,7 +2871,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
2871
2871
  key: "3"
2872
2872
  } : void 0
2873
2873
  ]), 1032, ["id"])
2874
- ], 10, _hoisted_1$e);
2874
+ ], 10, _hoisted_1$f);
2875
2875
  };
2876
2876
  }
2877
2877
  });
@@ -2909,13 +2909,13 @@ function useOptions(props) {
2909
2909
  getOptionGrouped
2910
2910
  };
2911
2911
  }
2912
- const _hoisted_1$d = ["textContent"];
2913
- const _hoisted_2$7 = { class: "vv-checkbox-group__wrapper" };
2914
- const __default__$e = {
2912
+ const _hoisted_1$e = ["textContent"];
2913
+ const _hoisted_2$8 = { class: "vv-checkbox-group__wrapper" };
2914
+ const __default__$f = {
2915
2915
  name: "VvCheckboxGroup"
2916
2916
  };
2917
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
2918
- ...__default__$e,
2917
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
2918
+ ...__default__$f,
2919
2919
  props: VvCheckboxGroupProps,
2920
2920
  emits: VvCheckboxGroupEvents,
2921
2921
  setup(__props, { emit }) {
@@ -2967,14 +2967,14 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
2967
2967
  _ctx.label ? (openBlock(), createElementBlock("legend", {
2968
2968
  key: 0,
2969
2969
  textContent: toDisplayString(_ctx.label)
2970
- }, null, 8, _hoisted_1$d)) : createCommentVNode("v-if", true),
2971
- createElementVNode("div", _hoisted_2$7, [
2970
+ }, null, 8, _hoisted_1$e)) : createCommentVNode("v-if", true),
2971
+ createElementVNode("div", _hoisted_2$8, [
2972
2972
  _ctx.options.length > 0 ? (openBlock(true), createElementBlock(
2973
2973
  Fragment,
2974
2974
  { key: 0 },
2975
2975
  renderList(_ctx.options, (option, index) => {
2976
2976
  return openBlock(), createBlock(
2977
- _sfc_main$j,
2977
+ _sfc_main$k,
2978
2978
  mergeProps({ key: index }, getOptionProps(option, index)),
2979
2979
  null,
2980
2980
  16
@@ -3260,13 +3260,13 @@ function useProvideDropdownAction({
3260
3260
  expanded
3261
3261
  });
3262
3262
  }
3263
- const _hoisted_1$c = ["id", "tabindex", "role", "aria-labelledby"];
3264
- const __default__$d = {
3263
+ const _hoisted_1$d = ["id", "tabindex", "role", "aria-labelledby"];
3264
+ const __default__$e = {
3265
3265
  name: "VvDropdown",
3266
3266
  inheritAttrs: false
3267
3267
  };
3268
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
3269
- ...__default__$d,
3268
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
3269
+ ...__default__$e,
3270
3270
  props: VvDropdownProps,
3271
3271
  emits: [
3272
3272
  "update:modelValue",
@@ -3668,7 +3668,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
3668
3668
  renderSlot(_ctx.$slots, "items", normalizeProps(guardReactiveProps({
3669
3669
  role: unref(itemRole)
3670
3670
  })))
3671
- ], 16, _hoisted_1$c),
3671
+ ], 16, _hoisted_1$d),
3672
3672
  renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps({ expanded: unref(expanded) })))
3673
3673
  ],
3674
3674
  6
@@ -3687,11 +3687,11 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
3687
3687
  };
3688
3688
  }
3689
3689
  });
3690
- const __default__$c = {
3690
+ const __default__$d = {
3691
3691
  name: "VvDropdownItem"
3692
3692
  };
3693
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
3694
- ...__default__$c,
3693
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
3694
+ ...__default__$d,
3695
3695
  setup(__props) {
3696
3696
  const { role, expanded } = useInjectedDropdownItem();
3697
3697
  const element = ref(null);
@@ -3721,12 +3721,12 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
3721
3721
  };
3722
3722
  }
3723
3723
  });
3724
- const _hoisted_1$b = ["title"];
3725
- const __default__$b = {
3724
+ const _hoisted_1$c = ["title"];
3725
+ const __default__$c = {
3726
3726
  name: "VvDropdownOption"
3727
3727
  };
3728
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
3729
- ...__default__$b,
3728
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
3729
+ ...__default__$c,
3730
3730
  props: {
3731
3731
  ...DisabledProps,
3732
3732
  ...SelectedProps,
@@ -3763,7 +3763,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
3763
3763
  }
3764
3764
  });
3765
3765
  return (_ctx, _cache) => {
3766
- return openBlock(), createBlock(_sfc_main$g, {
3766
+ return openBlock(), createBlock(_sfc_main$h, {
3767
3767
  class: normalizeClass(unref(bemCssClasses)),
3768
3768
  tabindex: _ctx.disabled ? -1 : 0,
3769
3769
  "aria-selected": _ctx.selected,
@@ -3782,7 +3782,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
3782
3782
  /* TEXT */
3783
3783
  )
3784
3784
  ])
3785
- ], 8, _hoisted_1$b)
3785
+ ], 8, _hoisted_1$c)
3786
3786
  ]),
3787
3787
  _: 3
3788
3788
  /* FORWARDED */
@@ -3790,16 +3790,16 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
3790
3790
  };
3791
3791
  }
3792
3792
  });
3793
- const _hoisted_1$a = {
3793
+ const _hoisted_1$b = {
3794
3794
  class: "vv-dropdown-optgroup",
3795
3795
  role: "presentation",
3796
3796
  tabindex: "-1"
3797
3797
  };
3798
- const __default__$a = {
3798
+ const __default__$b = {
3799
3799
  name: "VvDropdownOptgroup"
3800
3800
  };
3801
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
3802
- ...__default__$a,
3801
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
3802
+ ...__default__$b,
3803
3803
  props: {
3804
3804
  ...LabelProps
3805
3805
  },
@@ -3808,7 +3808,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
3808
3808
  return (_ctx, _cache) => {
3809
3809
  return openBlock(), createElementBlock(
3810
3810
  "li",
3811
- _hoisted_1$a,
3811
+ _hoisted_1$b,
3812
3812
  toDisplayString(props.label),
3813
3813
  1
3814
3814
  /* TEXT */
@@ -3909,27 +3909,27 @@ function useComponentIcon(icon, iconPosition) {
3909
3909
  hasIconAfter
3910
3910
  };
3911
3911
  }
3912
- const _hoisted_1$9 = ["for"];
3913
- const _hoisted_2$6 = { class: "vv-select__wrapper" };
3914
- const _hoisted_3$4 = {
3912
+ const _hoisted_1$a = ["for"];
3913
+ const _hoisted_2$7 = { class: "vv-select__wrapper" };
3914
+ const _hoisted_3$5 = {
3915
3915
  key: 0,
3916
3916
  class: "vv-select__input-before"
3917
3917
  };
3918
- const _hoisted_4$4 = { class: "vv-select__inner" };
3919
- const _hoisted_5$3 = ["id"];
3920
- const _hoisted_6$3 = ["disabled", "hidden"];
3921
- const _hoisted_7$3 = ["disabled", "value"];
3922
- const _hoisted_8$2 = ["disabled", "label"];
3923
- const _hoisted_9$1 = ["disabled", "value"];
3924
- const _hoisted_10 = {
3918
+ const _hoisted_4$5 = { class: "vv-select__inner" };
3919
+ const _hoisted_5$4 = ["id"];
3920
+ const _hoisted_6$4 = ["disabled", "hidden"];
3921
+ const _hoisted_7$4 = ["disabled", "value"];
3922
+ const _hoisted_8$3 = ["disabled", "label"];
3923
+ const _hoisted_9$2 = ["disabled", "value"];
3924
+ const _hoisted_10$1 = {
3925
3925
  key: 1,
3926
3926
  class: "vv-select__input-after"
3927
3927
  };
3928
- const __default__$9 = {
3928
+ const __default__$a = {
3929
3929
  name: "VvSelect"
3930
3930
  };
3931
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
3932
- ...__default__$9,
3931
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
3932
+ ...__default__$a,
3933
3933
  props: VvSelectProps,
3934
3934
  emits: VvSelectEmits,
3935
3935
  setup(__props, { emit }) {
@@ -4055,14 +4055,14 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
4055
4055
  _ctx.label ? (openBlock(), createElementBlock("label", {
4056
4056
  key: 0,
4057
4057
  for: unref(hasId)
4058
- }, toDisplayString(_ctx.label), 9, _hoisted_1$9)) : createCommentVNode("v-if", true),
4059
- createElementVNode("div", _hoisted_2$6, [
4060
- _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
4058
+ }, toDisplayString(_ctx.label), 9, _hoisted_1$a)) : createCommentVNode("v-if", true),
4059
+ createElementVNode("div", _hoisted_2$7, [
4060
+ _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_3$5, [
4061
4061
  renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
4062
4062
  ])) : createCommentVNode("v-if", true),
4063
- createElementVNode("div", _hoisted_4$4, [
4063
+ createElementVNode("div", _hoisted_4$5, [
4064
4064
  unref(hasIconBefore) ? (openBlock(), createBlock(
4065
- _sfc_main$t,
4065
+ _sfc_main$u,
4066
4066
  mergeProps({
4067
4067
  key: 0,
4068
4068
  class: "vv-select__icon"
@@ -4082,7 +4082,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
4082
4082
  value: void 0,
4083
4083
  disabled: !_ctx.unselectable,
4084
4084
  hidden: !_ctx.unselectable
4085
- }, toDisplayString(_ctx.placeholder), 9, _hoisted_6$3)) : createCommentVNode("v-if", true),
4085
+ }, toDisplayString(_ctx.placeholder), 9, _hoisted_6$4)) : createCommentVNode("v-if", true),
4086
4086
  (openBlock(true), createElementBlock(
4087
4087
  Fragment,
4088
4088
  null,
@@ -4095,7 +4095,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
4095
4095
  key: index,
4096
4096
  disabled: unref(isOptionDisabled)(option),
4097
4097
  value: unref(getOptionValue)(option)
4098
- }, toDisplayString(unref(getOptionLabel)(option)), 9, _hoisted_7$3)) : (openBlock(), createElementBlock("optgroup", {
4098
+ }, toDisplayString(unref(getOptionLabel)(option)), 9, _hoisted_7$4)) : (openBlock(), createElementBlock("optgroup", {
4099
4099
  key: `group-${index}`,
4100
4100
  disabled: unref(isOptionDisabled)(option),
4101
4101
  label: unref(getOptionLabel)(option)
@@ -4108,12 +4108,12 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
4108
4108
  key: `group-${index}-item-${i}`,
4109
4109
  disabled: unref(isOptionDisabled)(item),
4110
4110
  value: unref(getOptionValue)(item)
4111
- }, toDisplayString(unref(getOptionLabel)(item)), 9, _hoisted_9$1);
4111
+ }, toDisplayString(unref(getOptionLabel)(item)), 9, _hoisted_9$2);
4112
4112
  }),
4113
4113
  128
4114
4114
  /* KEYED_FRAGMENT */
4115
4115
  ))
4116
- ], 8, _hoisted_8$2))
4116
+ ], 8, _hoisted_8$3))
4117
4117
  ],
4118
4118
  64
4119
4119
  /* STABLE_FRAGMENT */
@@ -4122,11 +4122,11 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
4122
4122
  256
4123
4123
  /* UNKEYED_FRAGMENT */
4124
4124
  ))
4125
- ], 16, _hoisted_5$3), [
4125
+ ], 16, _hoisted_5$4), [
4126
4126
  [vModelSelect, unref(localModelValue)]
4127
4127
  ]),
4128
4128
  unref(hasIconAfter) ? (openBlock(), createBlock(
4129
- _sfc_main$t,
4129
+ _sfc_main$u,
4130
4130
  mergeProps({
4131
4131
  key: 1,
4132
4132
  class: "vv-select__icon vv-select__icon-after"
@@ -4136,7 +4136,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
4136
4136
  /* FULL_PROPS */
4137
4137
  )) : createCommentVNode("v-if", true)
4138
4138
  ]),
4139
- _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_10, [
4139
+ _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_10$1, [
4140
4140
  renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps(unref(slotProps))))
4141
4141
  ])) : createCommentVNode("v-if", true)
4142
4142
  ]),
@@ -4183,35 +4183,35 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
4183
4183
  };
4184
4184
  }
4185
4185
  });
4186
- const _hoisted_1$8 = ["id"];
4187
- const _hoisted_2$5 = ["id", "for"];
4188
- const _hoisted_3$3 = ["id", "aria-controls", "placeholder"];
4189
- const _hoisted_4$3 = {
4186
+ const _hoisted_1$9 = ["id"];
4187
+ const _hoisted_2$6 = ["id", "for"];
4188
+ const _hoisted_3$4 = ["id", "aria-controls", "placeholder"];
4189
+ const _hoisted_4$4 = {
4190
4190
  key: 0,
4191
4191
  class: "vv-select__input-before"
4192
4192
  };
4193
- const _hoisted_5$2 = { class: "vv-select__inner" };
4194
- const _hoisted_6$2 = ["aria-expanded", "aria-labelledby", "aria-describedby", "aria-errormessage", "tabindex"];
4195
- const _hoisted_7$2 = {
4193
+ const _hoisted_5$3 = { class: "vv-select__inner" };
4194
+ const _hoisted_6$3 = ["aria-expanded", "aria-labelledby", "aria-describedby", "aria-errormessage", "tabindex"];
4195
+ const _hoisted_7$3 = {
4196
4196
  key: 0,
4197
4197
  class: "vv-select__value"
4198
4198
  };
4199
- const _hoisted_8$1 = ["aria-label", "onClick"];
4200
- const _hoisted_9 = {
4199
+ const _hoisted_8$2 = ["aria-label", "onClick"];
4200
+ const _hoisted_9$1 = {
4201
4201
  key: 1,
4202
4202
  class: "vv-select__input-after"
4203
4203
  };
4204
- const __default__$8 = {
4204
+ const __default__$9 = {
4205
4205
  name: "VvCombobox",
4206
4206
  components: {
4207
- VvDropdown: _sfc_main$h,
4208
- VvDropdownOption: _sfc_main$f,
4209
- VvDropdownOptgroup: _sfc_main$e,
4210
- VvButton: _sfc_main$m
4207
+ VvDropdown: _sfc_main$i,
4208
+ VvDropdownOption: _sfc_main$g,
4209
+ VvDropdownOptgroup: _sfc_main$f,
4210
+ VvButton: _sfc_main$n
4211
4211
  }
4212
4212
  };
4213
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
4214
- ...__default__$8,
4213
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
4214
+ ...__default__$9,
4215
4215
  props: VvComboboxProps,
4216
4216
  emits: VvComboboxEvents,
4217
4217
  setup(__props, { emit }) {
@@ -4494,7 +4494,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
4494
4494
  key: 0,
4495
4495
  id: unref(hasLabelId),
4496
4496
  for: unref(propsDefaults).searchable ? unref(hasSearchId) : void 0
4497
- }, toDisplayString(_ctx.label), 9, _hoisted_2$5)) : createCommentVNode("v-if", true),
4497
+ }, toDisplayString(_ctx.label), 9, _hoisted_2$6)) : createCommentVNode("v-if", true),
4498
4498
  createElementVNode(
4499
4499
  "div",
4500
4500
  {
@@ -4503,7 +4503,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
4503
4503
  class: "vv-select__wrapper"
4504
4504
  },
4505
4505
  [
4506
- createVNode(_sfc_main$h, mergeProps({
4506
+ createVNode(_sfc_main$i, mergeProps({
4507
4507
  ref_key: "dropdownEl",
4508
4508
  ref: dropdownEl,
4509
4509
  modelValue: unref(expanded),
@@ -4514,12 +4514,12 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
4514
4514
  onAfterCollapse
4515
4515
  }), createSlots({
4516
4516
  default: withCtx(({ aria }) => [
4517
- _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_4$3, [
4517
+ _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
4518
4518
  renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
4519
4519
  ])) : createCommentVNode("v-if", true),
4520
- createElementVNode("div", _hoisted_5$2, [
4520
+ createElementVNode("div", _hoisted_5$3, [
4521
4521
  unref(hasIconBefore) ? (openBlock(), createBlock(
4522
- _sfc_main$t,
4522
+ _sfc_main$u,
4523
4523
  mergeProps({
4524
4524
  key: 0,
4525
4525
  class: "vv-select__icon"
@@ -4548,7 +4548,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
4548
4548
  [
4549
4549
  !_ctx.badges ? (openBlock(), createElementBlock(
4550
4550
  "div",
4551
- _hoisted_7$2,
4551
+ _hoisted_7$3,
4552
4552
  toDisplayString(unref(hasValue)),
4553
4553
  1
4554
4554
  /* TEXT */
@@ -4556,7 +4556,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
4556
4556
  Fragment,
4557
4557
  { key: 1 },
4558
4558
  renderList(unref(selectedOptions), (option, index) => {
4559
- return openBlock(), createBlock(_sfc_main$o, {
4559
+ return openBlock(), createBlock(_sfc_main$p, {
4560
4560
  key: index,
4561
4561
  modifiers: _ctx.badgeModifiers,
4562
4562
  class: "vv-select__badge"
@@ -4573,8 +4573,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
4573
4573
  type: "button",
4574
4574
  onClick: withModifiers(($event) => onInput(option), ["stop"])
4575
4575
  }, [
4576
- createVNode(_sfc_main$t, { name: "close" })
4577
- ], 8, _hoisted_8$1)) : createCommentVNode("v-if", true)
4576
+ createVNode(_sfc_main$u, { name: "close" })
4577
+ ], 8, _hoisted_8$2)) : createCommentVNode("v-if", true)
4578
4578
  ]),
4579
4579
  _: 2
4580
4580
  /* DYNAMIC */
@@ -4600,9 +4600,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
4600
4600
  /* STABLE_FRAGMENT */
4601
4601
  ))
4602
4602
  ])
4603
- ], 16, _hoisted_6$2),
4603
+ ], 16, _hoisted_6$3),
4604
4604
  unref(hasIconAfter) ? (openBlock(), createBlock(
4605
- _sfc_main$t,
4605
+ _sfc_main$u,
4606
4606
  mergeProps({
4607
4607
  key: 1,
4608
4608
  class: "vv-select__icon vv-select__icon-after"
@@ -4612,7 +4612,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
4612
4612
  /* FULL_PROPS */
4613
4613
  )) : createCommentVNode("v-if", true)
4614
4614
  ]),
4615
- _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_9, [
4615
+ _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_9$1, [
4616
4616
  renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps(unref(slotProps))))
4617
4617
  ])) : createCommentVNode("v-if", true)
4618
4618
  ]),
@@ -4631,7 +4631,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
4631
4631
  Fragment,
4632
4632
  { key: 0 },
4633
4633
  [
4634
- createVNode(_sfc_main$e, {
4634
+ createVNode(_sfc_main$f, {
4635
4635
  label: unref(getOptionLabel)(option)
4636
4636
  }, null, 8, ["label"]),
4637
4637
  (openBlock(true), createElementBlock(
@@ -4640,7 +4640,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
4640
4640
  renderList(unref(getOptionGrouped)(
4641
4641
  option
4642
4642
  ), (item, i) => {
4643
- return openBlock(), createBlock(_sfc_main$f, mergeProps({
4643
+ return openBlock(), createBlock(_sfc_main$g, mergeProps({
4644
4644
  selected: isOptionSelected(item),
4645
4645
  disabled: unref(isOptionDisabled)(item),
4646
4646
  unselectable: _ctx.unselectable,
@@ -4676,7 +4676,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
4676
4676
  ],
4677
4677
  64
4678
4678
  /* STABLE_FRAGMENT */
4679
- )) : (openBlock(), createBlock(_sfc_main$f, mergeProps({ key: 1 }, {
4679
+ )) : (openBlock(), createBlock(_sfc_main$g, mergeProps({ key: 1 }, {
4680
4680
  selected: isOptionSelected(option),
4681
4681
  disabled: unref(isOptionDisabled)(option),
4682
4682
  unselectable: _ctx.unselectable,
@@ -4711,7 +4711,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
4711
4711
  }),
4712
4712
  128
4713
4713
  /* KEYED_FRAGMENT */
4714
- )) : !_ctx.options.length ? (openBlock(), createBlock(_sfc_main$f, {
4714
+ )) : !_ctx.options.length ? (openBlock(), createBlock(_sfc_main$g, {
4715
4715
  key: 1,
4716
4716
  modifiers: "inert"
4717
4717
  }, {
@@ -4726,7 +4726,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
4726
4726
  ]),
4727
4727
  _: 3
4728
4728
  /* FORWARDED */
4729
- })) : !unref(disabled) ? (openBlock(), createBlock(_sfc_main$f, {
4729
+ })) : !unref(disabled) ? (openBlock(), createBlock(_sfc_main$g, {
4730
4730
  key: 2,
4731
4731
  modifiers: "inert"
4732
4732
  }, {
@@ -4748,7 +4748,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
4748
4748
  renderSlot(_ctx.$slots, "dropdown::after", {}, () => {
4749
4749
  var _a;
4750
4750
  return [
4751
- ((_a = unref(dropdownEl)) == null ? void 0 : _a.customPosition) ? (openBlock(), createBlock(_sfc_main$m, {
4751
+ ((_a = unref(dropdownEl)) == null ? void 0 : _a.customPosition) ? (openBlock(), createBlock(_sfc_main$n, {
4752
4752
  key: 0,
4753
4753
  label: unref(propsDefaults).closeLabel,
4754
4754
  modifiers: "secondary",
@@ -4777,7 +4777,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
4777
4777
  type: "search",
4778
4778
  class: "vv-dropdown__search",
4779
4779
  placeholder: unref(propsDefaults).searchPlaceholder
4780
- }, null, 8, _hoisted_3$3)), [
4780
+ }, null, 8, _hoisted_3$4)), [
4781
4781
  [vModelText, unref(searchText)]
4782
4782
  ]) : createCommentVNode("v-if", true)
4783
4783
  ]),
@@ -4824,8 +4824,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
4824
4824
  key: "3"
4825
4825
  } : void 0
4826
4826
  ]), 1032, ["id"])
4827
- ], 10, _hoisted_1$8)) : (openBlock(), createBlock(
4828
- _sfc_main$d,
4827
+ ], 10, _hoisted_1$9)) : (openBlock(), createBlock(
4828
+ _sfc_main$e,
4829
4829
  mergeProps({ key: 1 }, unref(selectProps), {
4830
4830
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => emit("update:modelValue", $event))
4831
4831
  }),
@@ -4875,21 +4875,21 @@ const VvDialogProps = {
4875
4875
  */
4876
4876
  keepOpen: { type: Boolean, default: false }
4877
4877
  };
4878
- const _hoisted_1$7 = ["onCancel"];
4879
- const _hoisted_2$4 = {
4878
+ const _hoisted_1$8 = ["onCancel"];
4879
+ const _hoisted_2$5 = {
4880
4880
  key: 0,
4881
4881
  class: "vv-dialog__header"
4882
4882
  };
4883
- const _hoisted_3$2 = { class: "vv-dialog__content" };
4884
- const _hoisted_4$2 = {
4883
+ const _hoisted_3$3 = { class: "vv-dialog__content" };
4884
+ const _hoisted_4$3 = {
4885
4885
  key: 1,
4886
4886
  class: "vv-dialog__footer"
4887
4887
  };
4888
- const __default__$7 = {
4888
+ const __default__$8 = {
4889
4889
  name: "VvDialog"
4890
4890
  };
4891
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
4892
- ...__default__$7,
4891
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
4892
+ ...__default__$8,
4893
4893
  props: VvDialogProps,
4894
4894
  emits: VvDialogEvents,
4895
4895
  setup(__props, { expose: __expose, emit }) {
@@ -4991,7 +4991,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
4991
4991
  class: "vv-dialog__wrapper"
4992
4992
  },
4993
4993
  [
4994
- _ctx.$slots.header || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_2$4, [
4994
+ _ctx.$slots.header || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_2$5, [
4995
4995
  renderSlot(_ctx.$slots, "header", {}, () => [
4996
4996
  createTextVNode(
4997
4997
  toDisplayString(_ctx.title) + " ",
@@ -5007,24 +5007,24 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
5007
5007
  onClickPassive: close
5008
5008
  },
5009
5009
  [
5010
- createVNode(_sfc_main$t, { name: "close" })
5010
+ createVNode(_sfc_main$u, { name: "close" })
5011
5011
  ],
5012
5012
  32
5013
5013
  /* HYDRATE_EVENTS */
5014
5014
  )
5015
5015
  ])
5016
5016
  ])) : createCommentVNode("v-if", true),
5017
- createElementVNode("div", _hoisted_3$2, [
5017
+ createElementVNode("div", _hoisted_3$3, [
5018
5018
  renderSlot(_ctx.$slots, "default")
5019
5019
  ]),
5020
- _ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_4$2, [
5020
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_4$3, [
5021
5021
  renderSlot(_ctx.$slots, "footer")
5022
5022
  ])) : createCommentVNode("v-if", true)
5023
5023
  ],
5024
5024
  512
5025
5025
  /* NEED_PATCH */
5026
5026
  )
5027
- ], 16, _hoisted_1$7), [
5027
+ ], 16, _hoisted_1$8), [
5028
5028
  [vShow, unref(isOpened)]
5029
5029
  ])
5030
5030
  ]),
@@ -5034,11 +5034,11 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
5034
5034
  };
5035
5035
  }
5036
5036
  });
5037
- const __default__$6 = {
5037
+ const __default__$7 = {
5038
5038
  name: "VvDropdownAction"
5039
5039
  };
5040
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
5041
- ...__default__$6,
5040
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
5041
+ ...__default__$7,
5042
5042
  props: {
5043
5043
  ...ActionProps,
5044
5044
  ...ModifiersProps
@@ -5048,9 +5048,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
5048
5048
  const { modifiers } = toRefs(props);
5049
5049
  const bemCssClasses = useModifiers("vv-dropdown-action", modifiers);
5050
5050
  return (_ctx, _cache) => {
5051
- return openBlock(), createBlock(_sfc_main$g, null, {
5051
+ return openBlock(), createBlock(_sfc_main$h, null, {
5052
5052
  default: withCtx(() => [
5053
- createVNode(_sfc_main$u, mergeProps({
5053
+ createVNode(_sfc_main$v, mergeProps({
5054
5054
  disabled: _ctx.disabled,
5055
5055
  pressed: _ctx.pressed,
5056
5056
  active: _ctx.active,
@@ -5269,7 +5269,7 @@ const VvInputTextProps = {
5269
5269
  };
5270
5270
  const VvInputPasswordAction = defineComponent({
5271
5271
  components: {
5272
- VvIcon: _sfc_main$t
5272
+ VvIcon: _sfc_main$u
5273
5273
  },
5274
5274
  props: {
5275
5275
  disabled: {
@@ -5313,7 +5313,7 @@ const VvInputPasswordAction = defineComponent({
5313
5313
  };
5314
5314
  },
5315
5315
  render() {
5316
- const icon = h(_sfc_main$t, {
5316
+ const icon = h(_sfc_main$u, {
5317
5317
  name: this.activeIcon,
5318
5318
  class: "vv-input-text__icon"
5319
5319
  });
@@ -5332,7 +5332,7 @@ const VvInputPasswordAction = defineComponent({
5332
5332
  });
5333
5333
  const VvInputStepAction = defineComponent({
5334
5334
  components: {
5335
- VvIcon: _sfc_main$t
5335
+ VvIcon: _sfc_main$u
5336
5336
  },
5337
5337
  props: {
5338
5338
  disabled: {
@@ -5377,7 +5377,7 @@ const VvInputStepAction = defineComponent({
5377
5377
  });
5378
5378
  const VvInputClearAction = defineComponent({
5379
5379
  components: {
5380
- VvIcon: _sfc_main$t
5380
+ VvIcon: _sfc_main$u
5381
5381
  },
5382
5382
  props: {
5383
5383
  disabled: {
@@ -5406,7 +5406,7 @@ const VvInputClearAction = defineComponent({
5406
5406
  };
5407
5407
  },
5408
5408
  render() {
5409
- const icon = h(_sfc_main$t, {
5409
+ const icon = h(_sfc_main$u, {
5410
5410
  name: this.icon,
5411
5411
  class: "vv-input-text__icon"
5412
5412
  });
@@ -5427,7 +5427,7 @@ function VvInputTextActionsFactory(type, parentProps) {
5427
5427
  return {
5428
5428
  name: "VvInputTextActions",
5429
5429
  components: {
5430
- VvIcon: _sfc_main$t,
5430
+ VvIcon: _sfc_main$u,
5431
5431
  VvInputPasswordAction,
5432
5432
  VvInputStepAction,
5433
5433
  VvInputClearAction
@@ -5554,31 +5554,31 @@ function useTextCount(text, options) {
5554
5554
  formatted
5555
5555
  };
5556
5556
  }
5557
- const _hoisted_1$6 = ["for"];
5558
- const _hoisted_2$3 = { class: "vv-input-text__wrapper" };
5559
- const _hoisted_3$1 = {
5557
+ const _hoisted_1$7 = ["for"];
5558
+ const _hoisted_2$4 = { class: "vv-input-text__wrapper" };
5559
+ const _hoisted_3$2 = {
5560
5560
  key: 0,
5561
5561
  class: "vv-input-text__input-before"
5562
5562
  };
5563
- const _hoisted_4$1 = ["onClick"];
5564
- const _hoisted_5$1 = ["id"];
5565
- const _hoisted_6$1 = {
5563
+ const _hoisted_4$2 = ["onClick"];
5564
+ const _hoisted_5$2 = ["id"];
5565
+ const _hoisted_6$2 = {
5566
5566
  key: 1,
5567
5567
  class: "vv-input-text__unit"
5568
5568
  };
5569
- const _hoisted_7$1 = {
5569
+ const _hoisted_7$2 = {
5570
5570
  key: 5,
5571
5571
  class: "vv-input-text__input-after"
5572
5572
  };
5573
- const _hoisted_8 = {
5573
+ const _hoisted_8$1 = {
5574
5574
  key: 6,
5575
5575
  class: "vv-input-text__limit"
5576
5576
  };
5577
- const __default__$5 = {
5577
+ const __default__$6 = {
5578
5578
  name: "VvInputText"
5579
5579
  };
5580
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
5581
- ...__default__$5,
5580
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
5581
+ ...__default__$6,
5582
5582
  props: VvInputTextProps,
5583
5583
  emits: VvInputTextEvents,
5584
5584
  setup(__props, { expose: __expose, emit }) {
@@ -5929,9 +5929,9 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
5929
5929
  key: 0,
5930
5930
  for: unref(hasId),
5931
5931
  class: "vv-input-text__label"
5932
- }, toDisplayString(unref(label)), 9, _hoisted_1$6)) : createCommentVNode("v-if", true),
5933
- createElementVNode("div", _hoisted_2$3, [
5934
- _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_3$1, [
5932
+ }, toDisplayString(unref(label)), 9, _hoisted_1$7)) : createCommentVNode("v-if", true),
5933
+ createElementVNode("div", _hoisted_2$4, [
5934
+ _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
5935
5935
  renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
5936
5936
  ])) : createCommentVNode("v-if", true),
5937
5937
  createElementVNode("div", {
@@ -5941,7 +5941,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
5941
5941
  onClick: withModifiers(onClickInner, ["stop"])
5942
5942
  }, [
5943
5943
  unref(hasIconBefore) ? (openBlock(), createBlock(
5944
- _sfc_main$t,
5944
+ _sfc_main$u,
5945
5945
  mergeProps({
5946
5946
  key: 0,
5947
5947
  class: "vv-input-text__icon"
@@ -5959,8 +5959,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
5959
5959
  onKeyup: _cache[0] || (_cache[0] = ($event) => emit("keyup", $event)),
5960
5960
  onKeydown: onKeyDown,
5961
5961
  onKeypress: _cache[1] || (_cache[1] = ($event) => emit("keypress", $event))
5962
- }), null, 16, _hoisted_5$1),
5963
- (_ctx.unit || _ctx.$slots.unit) && unref(isDirty) ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
5962
+ }), null, 16, _hoisted_5$2),
5963
+ (_ctx.unit || _ctx.$slots.unit) && unref(isDirty) ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
5964
5964
  renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(unref(slotProps))), () => [
5965
5965
  createTextVNode(
5966
5966
  toDisplayString(_ctx.unit),
@@ -5969,9 +5969,9 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
5969
5969
  )
5970
5970
  ])
5971
5971
  ])) : createCommentVNode("v-if", true)
5972
- ], 8, _hoisted_4$1),
5972
+ ], 8, _hoisted_4$2),
5973
5973
  unref(hasIconAfter) || unref(defaultAfterIcon) ? (openBlock(), createBlock(
5974
- _sfc_main$t,
5974
+ _sfc_main$u,
5975
5975
  mergeProps({
5976
5976
  key: 1,
5977
5977
  class: "vv-input-text__icon vv-input-text__icon-after"
@@ -5990,10 +5990,10 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
5990
5990
  key: 4,
5991
5991
  onClear
5992
5992
  })) : createCommentVNode("v-if", true),
5993
- _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_7$1, [
5993
+ _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_7$2, [
5994
5994
  renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps(unref(slotProps))))
5995
5995
  ])) : createCommentVNode("v-if", true),
5996
- unref(count) ? (openBlock(), createElementBlock("span", _hoisted_8, [
5996
+ unref(count) ? (openBlock(), createElementBlock("span", _hoisted_8$1, [
5997
5997
  renderSlot(_ctx.$slots, "count", normalizeProps(guardReactiveProps(unref(slotProps))), () => [
5998
5998
  createTextVNode(
5999
5999
  toDisplayString(unref(countFormatted)),
@@ -6051,21 +6051,21 @@ const VvNavProps = {
6051
6051
  ...NavProps
6052
6052
  };
6053
6053
  const VvNavEvents = ["click"];
6054
- const _hoisted_1$5 = {
6054
+ const _hoisted_1$6 = {
6055
6055
  class: "vv-nav__item",
6056
6056
  role: "presentation"
6057
6057
  };
6058
- const __default__$4 = {
6058
+ const __default__$5 = {
6059
6059
  name: "VvNavItem",
6060
6060
  inheritAttrs: false
6061
6061
  };
6062
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
6063
- ...__default__$4,
6062
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
6063
+ ...__default__$5,
6064
6064
  setup(__props) {
6065
6065
  return (_ctx, _cache) => {
6066
- return openBlock(), createElementBlock("li", _hoisted_1$5, [
6066
+ return openBlock(), createElementBlock("li", _hoisted_1$6, [
6067
6067
  createVNode(
6068
- _sfc_main$u,
6068
+ _sfc_main$v,
6069
6069
  mergeProps(_ctx.$attrs, { class: "vv-nav__item-label" }),
6070
6070
  {
6071
6071
  default: withCtx(() => [
@@ -6081,8 +6081,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
6081
6081
  };
6082
6082
  }
6083
6083
  });
6084
- const _hoisted_1$4 = ["onClick"];
6085
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
6084
+ const _hoisted_1$5 = ["onClick"];
6085
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
6086
6086
  __name: "VvNav",
6087
6087
  props: VvNavProps,
6088
6088
  emits: VvNavEvents,
@@ -6120,7 +6120,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
6120
6120
  Fragment,
6121
6121
  null,
6122
6122
  renderList(_ctx.items, ({ on = {}, data, ...item }, index) => {
6123
- return openBlock(), createBlock(_sfc_main$8, mergeProps({
6123
+ return openBlock(), createBlock(_sfc_main$9, mergeProps({
6124
6124
  key: index,
6125
6125
  "data-index": index
6126
6126
  }, item, toHandlers(on)), {
@@ -6135,7 +6135,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
6135
6135
  /* KEYED_FRAGMENT */
6136
6136
  ))
6137
6137
  ])
6138
- ], 8, _hoisted_1$4)
6138
+ ], 8, _hoisted_1$5)
6139
6139
  ],
6140
6140
  2
6141
6141
  /* CLASS */
@@ -6143,7 +6143,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
6143
6143
  };
6144
6144
  }
6145
6145
  });
6146
- const _sfc_main$6 = {
6146
+ const _sfc_main$7 = {
6147
6147
  name: "VvNavSeparator"
6148
6148
  };
6149
6149
  const _export_sfc = (sfc, props) => {
@@ -6153,16 +6153,16 @@ const _export_sfc = (sfc, props) => {
6153
6153
  }
6154
6154
  return target;
6155
6155
  };
6156
- const _hoisted_1$3 = {
6156
+ const _hoisted_1$4 = {
6157
6157
  class: "vv-nav__separator",
6158
6158
  role: "separator"
6159
6159
  };
6160
6160
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
6161
- return openBlock(), createElementBlock("li", _hoisted_1$3, [
6161
+ return openBlock(), createElementBlock("li", _hoisted_1$4, [
6162
6162
  renderSlot(_ctx.$slots, "default")
6163
6163
  ]);
6164
6164
  }
6165
- const VvNavSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render]]);
6165
+ const VvNavSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render]]);
6166
6166
  const VvProgressProps = {
6167
6167
  ...ModifiersProps,
6168
6168
  /**
@@ -6193,11 +6193,11 @@ const VvProgressProps = {
6193
6193
  required: true
6194
6194
  }
6195
6195
  };
6196
- const __default__$3 = {
6196
+ const __default__$4 = {
6197
6197
  name: "VvProgress"
6198
6198
  };
6199
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
6200
- ...__default__$3,
6199
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
6200
+ ...__default__$4,
6201
6201
  props: VvProgressProps,
6202
6202
  setup(__props) {
6203
6203
  const props = __props;
@@ -6258,13 +6258,13 @@ function useGroupProps(props, emit) {
6258
6258
  disabled
6259
6259
  };
6260
6260
  }
6261
- const _hoisted_1$2 = ["for"];
6262
- const _hoisted_2$2 = ["id", "name", "disabled", "value", "tabindex", "aria-invalid", "aria-describedby", "aria-errormessage"];
6263
- const __default__$2 = {
6261
+ const _hoisted_1$3 = ["for"];
6262
+ const _hoisted_2$3 = ["id", "name", "disabled", "value", "tabindex", "aria-invalid", "aria-describedby", "aria-errormessage"];
6263
+ const __default__$3 = {
6264
6264
  name: "VvRadio"
6265
6265
  };
6266
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6267
- ...__default__$2,
6266
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
6267
+ ...__default__$3,
6268
6268
  props: VvRadioProps,
6269
6269
  emits: VvRadioEvents,
6270
6270
  setup(__props, { emit }) {
@@ -6345,7 +6345,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6345
6345
  "aria-invalid": unref(isInvalid),
6346
6346
  "aria-describedby": unref(hasHintLabelOrSlot) ? unref(hasHintId) : void 0,
6347
6347
  "aria-errormessage": unref(hasInvalidLabelOrSlot) ? unref(hasHintId) : void 0
6348
- }, null, 8, _hoisted_2$2), [
6348
+ }, null, 8, _hoisted_2$3), [
6349
6349
  [vModelRadio, unref(localModelValue)]
6350
6350
  ]),
6351
6351
  renderSlot(_ctx.$slots, "default", { value: unref(modelValue) }, () => [
@@ -6391,19 +6391,19 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6391
6391
  key: "3"
6392
6392
  } : void 0
6393
6393
  ]), 1032, ["id"])
6394
- ], 10, _hoisted_1$2);
6394
+ ], 10, _hoisted_1$3);
6395
6395
  };
6396
6396
  }
6397
6397
  });
6398
6398
  const VvRadioGroupProps = CheckboxRadioGroupProps;
6399
6399
  const VvRadioGroupEvents = ["update:modelValue", "change"];
6400
- const _hoisted_1$1 = ["textContent"];
6401
- const _hoisted_2$1 = { class: "vv-radio-group__wrapper" };
6402
- const __default__$1 = {
6400
+ const _hoisted_1$2 = ["textContent"];
6401
+ const _hoisted_2$2 = { class: "vv-radio-group__wrapper" };
6402
+ const __default__$2 = {
6403
6403
  name: "VvRadioGroup"
6404
6404
  };
6405
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
6406
- ...__default__$1,
6405
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6406
+ ...__default__$2,
6407
6407
  props: VvRadioGroupProps,
6408
6408
  emits: VvRadioGroupEvents,
6409
6409
  setup(__props, { emit }) {
@@ -6455,14 +6455,14 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
6455
6455
  _ctx.label ? (openBlock(), createElementBlock("legend", {
6456
6456
  key: 0,
6457
6457
  textContent: toDisplayString(_ctx.label)
6458
- }, null, 8, _hoisted_1$1)) : createCommentVNode("v-if", true),
6459
- createElementVNode("div", _hoisted_2$1, [
6458
+ }, null, 8, _hoisted_1$2)) : createCommentVNode("v-if", true),
6459
+ createElementVNode("div", _hoisted_2$2, [
6460
6460
  _ctx.options.length > 0 ? (openBlock(true), createElementBlock(
6461
6461
  Fragment,
6462
6462
  { key: 0 },
6463
6463
  renderList(_ctx.options, (option, index) => {
6464
6464
  return openBlock(), createBlock(
6465
- _sfc_main$4,
6465
+ _sfc_main$5,
6466
6466
  mergeProps({ key: index }, getOptionProps(option, index)),
6467
6467
  null,
6468
6468
  16
@@ -6534,7 +6534,7 @@ const VvTabProps = {
6534
6534
  }
6535
6535
  };
6536
6536
  const VvTabEvents = ["update:modelValue"];
6537
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
6537
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
6538
6538
  __name: "VvTab",
6539
6539
  props: VvTabProps,
6540
6540
  emits: VvTabEvents,
@@ -6587,14 +6587,14 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
6587
6587
  },
6588
6588
  [
6589
6589
  createVNode(
6590
- _sfc_main$7,
6590
+ _sfc_main$8,
6591
6591
  mergeProps({
6592
6592
  items: unref(navItems),
6593
6593
  modifiers: unref(hasNavModifiers)
6594
6594
  }, { onClick: onNavClick }),
6595
6595
  {
6596
- item: withCtx(({ item, index }) => [
6597
- renderSlot(_ctx.$slots, "nav-item", normalizeProps(guardReactiveProps({ item, index })))
6596
+ item: withCtx(({ item, data, index }) => [
6597
+ renderSlot(_ctx.$slots, "nav-item", normalizeProps(guardReactiveProps({ item, data, index })))
6598
6598
  ]),
6599
6599
  _: 3
6600
6600
  /* FORWARDED */
@@ -6679,27 +6679,27 @@ const VvTextareaProps = {
6679
6679
  */
6680
6680
  resizable: Boolean
6681
6681
  };
6682
- const _hoisted_1 = ["for"];
6683
- const _hoisted_2 = { class: "vv-textarea__wrapper" };
6684
- const _hoisted_3 = {
6682
+ const _hoisted_1$1 = ["for"];
6683
+ const _hoisted_2$1 = { class: "vv-textarea__wrapper" };
6684
+ const _hoisted_3$1 = {
6685
6685
  key: 0,
6686
6686
  class: "vv-textarea__input-before"
6687
6687
  };
6688
- const _hoisted_4 = { class: "vv-textarea__inner" };
6689
- const _hoisted_5 = ["id"];
6690
- const _hoisted_6 = {
6688
+ const _hoisted_4$1 = { class: "vv-textarea__inner" };
6689
+ const _hoisted_5$1 = ["id"];
6690
+ const _hoisted_6$1 = {
6691
6691
  key: 1,
6692
6692
  class: "vv-textarea__input-after"
6693
6693
  };
6694
- const _hoisted_7 = {
6694
+ const _hoisted_7$1 = {
6695
6695
  key: 2,
6696
6696
  class: "vv-textarea__limit"
6697
6697
  };
6698
- const __default__ = {
6698
+ const __default__$1 = {
6699
6699
  name: "VvTextarea"
6700
6700
  };
6701
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
6702
- ...__default__,
6701
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
6702
+ ...__default__$1,
6703
6703
  props: VvTextareaProps,
6704
6704
  emits: VvTextareaEvents,
6705
6705
  setup(__props, { emit }) {
@@ -6828,14 +6828,14 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
6828
6828
  key: 0,
6829
6829
  for: unref(hasId),
6830
6830
  class: "vv-textarea__label"
6831
- }, toDisplayString(unref(label)), 9, _hoisted_1)) : createCommentVNode("v-if", true),
6832
- createElementVNode("div", _hoisted_2, [
6833
- _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_3, [
6831
+ }, toDisplayString(unref(label)), 9, _hoisted_1$1)) : createCommentVNode("v-if", true),
6832
+ createElementVNode("div", _hoisted_2$1, [
6833
+ _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_3$1, [
6834
6834
  renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
6835
6835
  ])) : createCommentVNode("v-if", true),
6836
- createElementVNode("div", _hoisted_4, [
6836
+ createElementVNode("div", _hoisted_4$1, [
6837
6837
  unref(hasIconBefore) ? (openBlock(), createBlock(
6838
- _sfc_main$t,
6838
+ _sfc_main$u,
6839
6839
  mergeProps({
6840
6840
  key: 0,
6841
6841
  class: "vv-textarea__icon"
@@ -6851,11 +6851,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
6851
6851
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(localModelValue) ? localModelValue.value = $event : null)
6852
6852
  }, unref(hasAttrs), {
6853
6853
  onKeyup: _cache[1] || (_cache[1] = ($event) => emit("keyup", $event))
6854
- }), null, 16, _hoisted_5), [
6854
+ }), null, 16, _hoisted_5$1), [
6855
6855
  [vModelText, unref(localModelValue)]
6856
6856
  ]),
6857
6857
  unref(hasIconAfter) ? (openBlock(), createBlock(
6858
- _sfc_main$t,
6858
+ _sfc_main$u,
6859
6859
  mergeProps({
6860
6860
  key: 1,
6861
6861
  class: "vv-textarea__icon vv-textarea__icon-after"
@@ -6865,10 +6865,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
6865
6865
  /* FULL_PROPS */
6866
6866
  )) : createCommentVNode("v-if", true)
6867
6867
  ]),
6868
- _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_6, [
6868
+ _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
6869
6869
  renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps(unref(slotProps))))
6870
6870
  ])) : createCommentVNode("v-if", true),
6871
- unref(count) ? (openBlock(), createElementBlock("span", _hoisted_7, [
6871
+ unref(count) ? (openBlock(), createElementBlock("span", _hoisted_7$1, [
6872
6872
  renderSlot(_ctx.$slots, "count", normalizeProps(guardReactiveProps(unref(slotProps))), () => [
6873
6873
  createTextVNode(
6874
6874
  toDisplayString(unref(countFormatted)),
@@ -6935,7 +6935,7 @@ const VvTooltipProps = {
6935
6935
  type: String
6936
6936
  }
6937
6937
  };
6938
- const _sfc_main = /* @__PURE__ */ defineComponent({
6938
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
6939
6939
  __name: "VvTooltip",
6940
6940
  props: VvTooltipProps,
6941
6941
  setup(__props) {
@@ -6971,38 +6971,361 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
6971
6971
  };
6972
6972
  }
6973
6973
  });
6974
+ const VvInputFileProps = {
6975
+ ...ModifiersProps,
6976
+ ...ValidProps,
6977
+ ...InvalidProps,
6978
+ ...HintProps,
6979
+ ...LabelProps,
6980
+ ...LoadingProps,
6981
+ name: { type: String },
6982
+ id: { type: String },
6983
+ modelValue: {
6984
+ type: Object,
6985
+ required: true
6986
+ },
6987
+ max: [Number, String],
6988
+ labelButton: { type: String, default: "Image" },
6989
+ loading: Boolean,
6990
+ accept: String,
6991
+ placeholder: String,
6992
+ multiple: Boolean,
6993
+ iconLeft: String,
6994
+ iconRight: String
6995
+ };
6996
+ const _hoisted_1 = ["for"];
6997
+ const _hoisted_2 = ["onDragenter", "onDragleave", "onDrop", "onClick"];
6998
+ const _hoisted_3 = { class: "vv-input-file__preview" };
6999
+ const _hoisted_4 = ["src", "alt"];
7000
+ const _hoisted_5 = { class: "vv-input-file__wrapper" };
7001
+ const _hoisted_6 = ["id", "placeholder", "aria-describedby", "aria-invalid", "aria-errormessage", "multiple", "accept", "name"];
7002
+ const _hoisted_7 = { class: "vv-input-file__list" };
7003
+ const _hoisted_8 = { class: "vv-input-file__item-name" };
7004
+ const _hoisted_9 = { class: "vv-input-file__item-info" };
7005
+ const _hoisted_10 = ["onClick"];
7006
+ const __default__ = {
7007
+ name: "VvInputFile"
7008
+ };
7009
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7010
+ ...__default__,
7011
+ props: VvInputFileProps,
7012
+ emits: ["update:modelValue"],
7013
+ setup(__props, { emit }) {
7014
+ const props = __props;
7015
+ const slots = useSlots();
7016
+ const propsDefaults = useDefaults(
7017
+ "VvInputFile",
7018
+ VvInputFileProps,
7019
+ props
7020
+ );
7021
+ const { modifiers, id } = toRefs(props);
7022
+ const hasId = useUniqueId(id);
7023
+ const hasHintId = computed(() => `${hasId.value}-hint`);
7024
+ const bemCssClasses = useModifiers(
7025
+ "vv-input-file",
7026
+ modifiers,
7027
+ computed(() => ({
7028
+ dragging: isDragging.value,
7029
+ loading: props.loading,
7030
+ valid: props.valid === true,
7031
+ invalid: props.invalid === true,
7032
+ "icon-before": !!props.iconLeft,
7033
+ "icon-after": !!props.iconRight
7034
+ }))
7035
+ );
7036
+ const {
7037
+ HintSlot,
7038
+ hasHintLabelOrSlot,
7039
+ hasInvalidLabelOrSlot,
7040
+ hintSlotScope
7041
+ } = HintSlotFactory(propsDefaults, slots);
7042
+ const localModelValue = useVModel(props, "modelValue", emit);
7043
+ const files = computed(() => {
7044
+ var _a;
7045
+ if (!localModelValue.value || !Array.isArray(localModelValue.value) && !((_a = localModelValue.value) == null ? void 0 : _a.name)) {
7046
+ return [];
7047
+ }
7048
+ return Array.isArray(localModelValue.value) ? localModelValue.value : [localModelValue.value];
7049
+ });
7050
+ const hasMax = computed(() => {
7051
+ return typeof props.max === "string" ? parseInt(props.max) : props.max;
7052
+ });
7053
+ const hasDropArea = computed(() => {
7054
+ var _a;
7055
+ return (_a = modifiers == null ? void 0 : modifiers.value) == null ? void 0 : _a.includes("drop-area");
7056
+ });
7057
+ const isMultiple = computed(() => {
7058
+ if (!props.multiple) {
7059
+ return false;
7060
+ }
7061
+ if (!hasMax.value) {
7062
+ return true;
7063
+ }
7064
+ return hasMax.value - files.value.length > 1;
7065
+ });
7066
+ const isDragging = ref(false);
7067
+ const inputEl = ref();
7068
+ const onDragenter = () => {
7069
+ isDragging.value = true;
7070
+ };
7071
+ const onDragleave = () => {
7072
+ isDragging.value = false;
7073
+ };
7074
+ const onDrop = (event) => {
7075
+ var _a, _b;
7076
+ if (!((_a = event.dataTransfer) == null ? void 0 : _a.files)) {
7077
+ return;
7078
+ }
7079
+ isDragging.value = false;
7080
+ addFiles((_b = event.dataTransfer) == null ? void 0 : _b.files);
7081
+ };
7082
+ const onChange = () => {
7083
+ var _a;
7084
+ if (!((_a = inputEl.value) == null ? void 0 : _a.files)) {
7085
+ return;
7086
+ }
7087
+ addFiles(inputEl.value.files);
7088
+ inputEl.value.value = "";
7089
+ };
7090
+ const addFiles = (uploadedFiles) => {
7091
+ if (!props.multiple) {
7092
+ if (Array.isArray(localModelValue.value)) {
7093
+ localModelValue.value = [...uploadedFiles];
7094
+ return;
7095
+ }
7096
+ localModelValue.value = uploadedFiles[0];
7097
+ return;
7098
+ }
7099
+ let toReturn = [];
7100
+ if (!Array.isArray(localModelValue.value) && localModelValue.value) {
7101
+ toReturn = [localModelValue.value];
7102
+ } else {
7103
+ toReturn = localModelValue.value && Array.isArray(localModelValue.value) ? [...localModelValue.value] : toReturn;
7104
+ }
7105
+ for (const file of uploadedFiles) {
7106
+ if (hasMax.value && toReturn.length >= hasMax.value) {
7107
+ break;
7108
+ }
7109
+ toReturn.push(file);
7110
+ }
7111
+ localModelValue.value = toReturn;
7112
+ };
7113
+ const onClick = () => {
7114
+ if (!inputEl.value) {
7115
+ return;
7116
+ }
7117
+ inputEl.value.click();
7118
+ };
7119
+ const onClickRemoveFile = (index) => {
7120
+ if (!Array.isArray(localModelValue.value)) {
7121
+ localModelValue.value = void 0;
7122
+ return;
7123
+ }
7124
+ const toReturn = [...localModelValue.value];
7125
+ toReturn.splice(index, 1);
7126
+ localModelValue.value = toReturn;
7127
+ };
7128
+ const previewSrc = computed(() => {
7129
+ if (files.value.length === 0) {
7130
+ return;
7131
+ }
7132
+ if (files.value[0] instanceof File) {
7133
+ return URL.createObjectURL(files.value[0]);
7134
+ }
7135
+ return files.value[0].url;
7136
+ });
7137
+ onBeforeUnmount(() => {
7138
+ if (previewSrc.value) {
7139
+ URL.revokeObjectURL(previewSrc.value);
7140
+ }
7141
+ });
7142
+ const sizeInKiB = (size2) => {
7143
+ if (!size2) {
7144
+ return;
7145
+ }
7146
+ return Math.floor(size2 / 1024);
7147
+ };
7148
+ return (_ctx, _cache) => {
7149
+ return openBlock(), createElementBlock(
7150
+ "div",
7151
+ {
7152
+ class: normalizeClass(unref(bemCssClasses))
7153
+ },
7154
+ [
7155
+ _ctx.label ? (openBlock(), createElementBlock("label", {
7156
+ key: 0,
7157
+ for: unref(hasId)
7158
+ }, toDisplayString(_ctx.label), 9, _hoisted_1)) : createCommentVNode("v-if", true),
7159
+ hasDropArea.value ? (openBlock(), createElementBlock("div", {
7160
+ key: 1,
7161
+ class: "vv-input-file__drop-area",
7162
+ onDragenter: withModifiers(onDragenter, ["prevent", "stop"]),
7163
+ onDragleave: withModifiers(onDragleave, ["prevent", "stop"]),
7164
+ onDrop: withModifiers(onDrop, ["prevent", "stop"]),
7165
+ onDragover: _cache[0] || (_cache[0] = withModifiers(() => {
7166
+ }, ["prevent", "stop"])),
7167
+ onClick: withModifiers(onClick, ["stop"])
7168
+ }, [
7169
+ renderSlot(_ctx.$slots, "drop-area", {}, () => [
7170
+ createVNode(_sfc_main$n, {
7171
+ modifiers: "action",
7172
+ "aria-label": "upload",
7173
+ label: !previewSrc.value ? _ctx.labelButton : void 0,
7174
+ class: normalizeClass([{
7175
+ "absolute top-8 right-8": previewSrc.value
7176
+ }, "z-1"]),
7177
+ icon: !previewSrc.value ? "image" : "edit",
7178
+ onClick: withModifiers(onClick, ["stop"])
7179
+ }, null, 8, ["label", "class", "icon", "onClick"]),
7180
+ createElementVNode("picture", _hoisted_3, [
7181
+ previewSrc.value ? (openBlock(), createElementBlock("img", {
7182
+ key: 0,
7183
+ src: previewSrc.value,
7184
+ alt: files.value[0].name
7185
+ }, null, 8, _hoisted_4)) : createCommentVNode("v-if", true)
7186
+ ])
7187
+ ])
7188
+ ], 40, _hoisted_2)) : createCommentVNode("v-if", true),
7189
+ createElementVNode("div", _hoisted_5, [
7190
+ _ctx.iconLeft ? (openBlock(), createBlock(_sfc_main$u, {
7191
+ key: 0,
7192
+ name: _ctx.iconLeft
7193
+ }, null, 8, ["name"])) : createCommentVNode("v-if", true),
7194
+ createElementVNode("input", {
7195
+ id: unref(hasId),
7196
+ ref_key: "inputEl",
7197
+ ref: inputEl,
7198
+ placeholder: _ctx.placeholder,
7199
+ "aria-describedby": unref(hasHintLabelOrSlot) ? hasHintId.value : void 0,
7200
+ "aria-invalid": _ctx.invalid,
7201
+ "aria-errormessage": unref(hasInvalidLabelOrSlot) ? hasHintId.value : void 0,
7202
+ multiple: isMultiple.value,
7203
+ accept: _ctx.accept,
7204
+ type: "file",
7205
+ name: _ctx.name,
7206
+ onChange
7207
+ }, null, 40, _hoisted_6),
7208
+ _ctx.iconRight ? (openBlock(), createBlock(_sfc_main$u, {
7209
+ key: 1,
7210
+ name: _ctx.iconRight
7211
+ }, null, 8, ["name"])) : createCommentVNode("v-if", true)
7212
+ ]),
7213
+ createElementVNode("ul", _hoisted_7, [
7214
+ (openBlock(true), createElementBlock(
7215
+ Fragment,
7216
+ null,
7217
+ renderList(files.value, (file, index) => {
7218
+ return openBlock(), createElementBlock("li", {
7219
+ key: index,
7220
+ class: "vv-input-file__item"
7221
+ }, [
7222
+ createVNode(_sfc_main$u, {
7223
+ class: "vv-input-file__item-icon",
7224
+ name: "akar-icons:file"
7225
+ }),
7226
+ createElementVNode(
7227
+ "div",
7228
+ _hoisted_8,
7229
+ toDisplayString(file.name),
7230
+ 1
7231
+ /* TEXT */
7232
+ ),
7233
+ createElementVNode(
7234
+ "small",
7235
+ _hoisted_9,
7236
+ toDisplayString(sizeInKiB(file.size)) + " KB ",
7237
+ 1
7238
+ /* TEXT */
7239
+ ),
7240
+ createElementVNode("button", {
7241
+ type: "button",
7242
+ class: "vv-input-file__item-remove",
7243
+ title: "Remove",
7244
+ "aria-label": "remove-file",
7245
+ onClick: withModifiers(($event) => onClickRemoveFile(index), ["stop"])
7246
+ }, null, 8, _hoisted_10)
7247
+ ]);
7248
+ }),
7249
+ 128
7250
+ /* KEYED_FRAGMENT */
7251
+ ))
7252
+ ]),
7253
+ createVNode(unref(HintSlot), {
7254
+ id: hasHintId.value,
7255
+ class: "vv-input-file__hint"
7256
+ }, createSlots({
7257
+ _: 2
7258
+ /* DYNAMIC */
7259
+ }, [
7260
+ _ctx.$slots.hint ? {
7261
+ name: "hint",
7262
+ fn: withCtx(() => [
7263
+ renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
7264
+ ]),
7265
+ key: "0"
7266
+ } : void 0,
7267
+ _ctx.$slots.loading ? {
7268
+ name: "loading",
7269
+ fn: withCtx(() => [
7270
+ renderSlot(_ctx.$slots, "loading", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
7271
+ ]),
7272
+ key: "1"
7273
+ } : void 0,
7274
+ _ctx.$slots.valid ? {
7275
+ name: "valid",
7276
+ fn: withCtx(() => [
7277
+ renderSlot(_ctx.$slots, "valid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
7278
+ ]),
7279
+ key: "2"
7280
+ } : void 0,
7281
+ _ctx.$slots.invalid ? {
7282
+ name: "invalid",
7283
+ fn: withCtx(() => [
7284
+ renderSlot(_ctx.$slots, "invalid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
7285
+ ]),
7286
+ key: "3"
7287
+ } : void 0
7288
+ ]), 1032, ["id"])
7289
+ ],
7290
+ 2
7291
+ /* CLASS */
7292
+ );
7293
+ };
7294
+ }
7295
+ });
6974
7296
  export {
6975
- _sfc_main$w as VvAccordion,
6976
- _sfc_main$v as VvAccordionGroup,
6977
- _sfc_main$u as VvAction,
6978
- _sfc_main$s as VvAlert,
6979
- _sfc_main$r as VvAlertGroup,
6980
- _sfc_main$q as VvAvatar,
6981
- _sfc_main$p as VvAvatarGroup,
6982
- _sfc_main$o as VvBadge,
6983
- _sfc_main$n as VvBreadcrumb,
6984
- _sfc_main$m as VvButton,
6985
- _sfc_main$l as VvButtonGroup,
6986
- _sfc_main$k as VvCard,
6987
- _sfc_main$j as VvCheckbox,
6988
- _sfc_main$i as VvCheckboxGroup,
6989
- _sfc_main$c as VvCombobox,
6990
- _sfc_main$b as VvDialog,
6991
- _sfc_main$h as VvDropdown,
6992
- _sfc_main$a as VvDropdownAction,
6993
- _sfc_main$g as VvDropdownItem,
6994
- _sfc_main$e as VvDropdownOptgroup,
6995
- _sfc_main$f as VvDropdownOption,
6996
- _sfc_main$t as VvIcon,
6997
- _sfc_main$9 as VvInputText,
6998
- _sfc_main$7 as VvNav,
6999
- _sfc_main$8 as VvNavItem,
7297
+ _sfc_main$x as VvAccordion,
7298
+ _sfc_main$w as VvAccordionGroup,
7299
+ _sfc_main$v as VvAction,
7300
+ _sfc_main$t as VvAlert,
7301
+ _sfc_main$s as VvAlertGroup,
7302
+ _sfc_main$r as VvAvatar,
7303
+ _sfc_main$q as VvAvatarGroup,
7304
+ _sfc_main$p as VvBadge,
7305
+ _sfc_main$o as VvBreadcrumb,
7306
+ _sfc_main$n as VvButton,
7307
+ _sfc_main$m as VvButtonGroup,
7308
+ _sfc_main$l as VvCard,
7309
+ _sfc_main$k as VvCheckbox,
7310
+ _sfc_main$j as VvCheckboxGroup,
7311
+ _sfc_main$d as VvCombobox,
7312
+ _sfc_main$c as VvDialog,
7313
+ _sfc_main$i as VvDropdown,
7314
+ _sfc_main$b as VvDropdownAction,
7315
+ _sfc_main$h as VvDropdownItem,
7316
+ _sfc_main$f as VvDropdownOptgroup,
7317
+ _sfc_main$g as VvDropdownOption,
7318
+ _sfc_main$u as VvIcon,
7319
+ _sfc_main as VvInputFile,
7320
+ _sfc_main$a as VvInputText,
7321
+ _sfc_main$8 as VvNav,
7322
+ _sfc_main$9 as VvNavItem,
7000
7323
  VvNavSeparator,
7001
- _sfc_main$5 as VvProgress,
7002
- _sfc_main$4 as VvRadio,
7003
- _sfc_main$3 as VvRadioGroup,
7004
- _sfc_main$d as VvSelect,
7005
- _sfc_main$2 as VvTab,
7006
- _sfc_main$1 as VvTextarea,
7007
- _sfc_main as VvTooltip
7324
+ _sfc_main$6 as VvProgress,
7325
+ _sfc_main$5 as VvRadio,
7326
+ _sfc_main$4 as VvRadioGroup,
7327
+ _sfc_main$e as VvSelect,
7328
+ _sfc_main$3 as VvTab,
7329
+ _sfc_main$2 as VvTextarea,
7330
+ _sfc_main$1 as VvTooltip
7008
7331
  };