@volverjs/ui-vue 0.0.10-beta.7 → 0.0.10-beta.9

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 (112) hide show
  1. package/bin/icons.cjs +1 -1
  2. package/bin/icons.js +22 -15
  3. package/dist/Volver.d.ts +0 -1
  4. package/dist/components/VvAccordion/VvAccordion.es.js +24 -2
  5. package/dist/components/VvAccordion/VvAccordion.umd.js +1 -1
  6. package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +66 -25
  7. package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
  8. package/dist/components/VvAction/VvAction.es.js +17 -3
  9. package/dist/components/VvAction/VvAction.umd.js +1 -1
  10. package/dist/components/VvAction/VvAction.vue.d.ts +10 -0
  11. package/dist/components/VvAction/index.d.ts +4 -0
  12. package/dist/components/VvAlert/VvAlert.es.js +87 -43
  13. package/dist/components/VvAlert/VvAlert.umd.js +1 -1
  14. package/dist/components/VvAlertGroup/VvAlertGroup.es.js +127 -64
  15. package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
  16. package/dist/components/VvAvatar/VvAvatar.es.js +15 -1
  17. package/dist/components/VvAvatar/VvAvatar.umd.js +1 -1
  18. package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +70 -26
  19. package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
  20. package/dist/components/VvBadge/VvBadge.es.js +32 -8
  21. package/dist/components/VvBadge/VvBadge.umd.js +1 -1
  22. package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +217 -41
  23. package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
  24. package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +14 -3
  25. package/dist/components/VvBreadcrumb/index.d.ts +2 -9
  26. package/dist/components/VvButton/VvButton.es.js +56 -19
  27. package/dist/components/VvButton/VvButton.umd.js +1 -1
  28. package/dist/components/VvButton/VvButton.vue.d.ts +20 -13
  29. package/dist/components/VvButton/index.d.ts +6 -2
  30. package/dist/components/VvButtonGroup/VvButtonGroup.es.js +26 -6
  31. package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
  32. package/dist/components/VvCard/VvCard.es.js +40 -16
  33. package/dist/components/VvCard/VvCard.umd.js +1 -1
  34. package/dist/components/VvCheckbox/VvCheckbox.es.js +23 -2
  35. package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
  36. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +92 -44
  37. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
  38. package/dist/components/VvCheckboxGroup/index.d.ts +1 -1
  39. package/dist/components/VvCombobox/VvCombobox.es.js +598 -370
  40. package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
  41. package/dist/components/VvCombobox/VvCombobox.vue.d.ts +3 -3
  42. package/dist/components/VvCombobox/index.d.ts +3 -10
  43. package/dist/components/VvDialog/VvDialog.es.js +58 -27
  44. package/dist/components/VvDialog/VvDialog.umd.js +1 -1
  45. package/dist/components/VvDropdown/VvDropdown.es.js +78 -44
  46. package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
  47. package/dist/components/VvDropdown/VvDropdown.vue.d.ts +3 -3
  48. package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +9 -0
  49. package/dist/components/VvDropdown/index.d.ts +1 -1
  50. package/dist/components/VvDropdownAction/VvDropdownAction.es.js +37 -11
  51. package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
  52. package/dist/components/VvDropdownItem/VvDropdownItem.es.js +13 -7
  53. package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +21 -1
  54. package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.umd.js +1 -1
  55. package/dist/components/VvDropdownOption/VvDropdownOption.es.js +33 -8
  56. package/dist/components/VvDropdownOption/VvDropdownOption.umd.js +1 -1
  57. package/dist/components/VvIcon/VvIcon.es.js +1 -1
  58. package/dist/components/VvIcon/VvIcon.umd.js +1 -1
  59. package/dist/components/VvInputText/VvInputText.es.js +140 -97
  60. package/dist/components/VvInputText/VvInputText.umd.js +1 -1
  61. package/dist/components/VvInputText/index.d.ts +8 -2
  62. package/dist/components/VvNav/VvNav.es.js +61 -28
  63. package/dist/components/VvNav/VvNav.umd.js +1 -1
  64. package/dist/components/VvNav/VvNav.vue.d.ts +3 -3
  65. package/dist/components/VvNav/index.d.ts +1 -1
  66. package/dist/components/VvNavItem/VvNavItem.es.js +30 -9
  67. package/dist/components/VvNavItem/VvNavItem.umd.js +1 -1
  68. package/dist/components/VvProgress/VvProgress.es.js +26 -6
  69. package/dist/components/VvProgress/VvProgress.umd.js +1 -1
  70. package/dist/components/VvRadio/VvRadio.es.js +23 -2
  71. package/dist/components/VvRadio/VvRadio.umd.js +1 -1
  72. package/dist/components/VvRadioGroup/VvRadioGroup.es.js +92 -44
  73. package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
  74. package/dist/components/VvRadioGroup/index.d.ts +1 -1
  75. package/dist/components/VvSelect/VvSelect.es.js +147 -94
  76. package/dist/components/VvSelect/VvSelect.umd.js +1 -1
  77. package/dist/components/VvSelect/index.d.ts +1 -1
  78. package/dist/components/VvTab/VvTab.es.js +109 -46
  79. package/dist/components/VvTab/VvTab.umd.js +1 -1
  80. package/dist/components/VvTextarea/VvTextarea.es.js +113 -74
  81. package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
  82. package/dist/components/VvTooltip/VvTooltip.es.js +33 -9
  83. package/dist/components/VvTooltip/VvTooltip.umd.js +1 -1
  84. package/dist/components/VvTooltip/VvTooltip.vue.d.ts +3 -3
  85. package/dist/components/VvTooltip/index.d.ts +1 -1
  86. package/dist/components/index.es.js +1369 -839
  87. package/dist/components/index.umd.js +1 -1
  88. package/dist/composables/useVolver.d.ts +1 -1
  89. package/dist/directives/index.d.ts +3 -5
  90. package/dist/directives/index.es.js +53 -23
  91. package/dist/directives/index.umd.js +1 -1
  92. package/dist/directives/v-tooltip.es.js +51 -18
  93. package/dist/directives/v-tooltip.umd.js +1 -1
  94. package/dist/icons.es.js +3 -3
  95. package/dist/icons.umd.js +1 -1
  96. package/dist/index.d.ts +3 -1
  97. package/dist/props/index.d.ts +9 -2
  98. package/dist/types/generic.d.ts +1 -1
  99. package/package.json +31 -31
  100. package/src/Volver.ts +0 -1
  101. package/src/assets/icons/detailed.json +1 -1
  102. package/src/assets/icons/normal.json +1 -1
  103. package/src/assets/icons/simple.json +1 -1
  104. package/src/components/VvAction/VvAction.vue +4 -2
  105. package/src/components/VvBreadcrumb/VvBreadcrumb.vue +20 -19
  106. package/src/components/VvBreadcrumb/index.ts +2 -8
  107. package/src/components/VvInputText/VvInputText.vue +2 -2
  108. package/src/directives/index.ts +1 -4
  109. package/src/directives/v-tooltip.ts +19 -10
  110. package/src/index.ts +3 -1
  111. package/src/props/index.ts +8 -0
  112. package/src/types/generic.ts +2 -1
@@ -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, useSlots, h, onMounted, withDirectives, vModelCheckbox, createVNode, createSlots, nextTick, Transition, toHandlers, 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, useSlots, h, onMounted, withDirectives, vModelCheckbox, createSlots, nextTick, Transition, toHandlers, normalizeStyle, vShow, vModelSelect, vModelText, vModelRadio } 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";
@@ -502,6 +502,13 @@ const ActionProps = {
502
502
  ariaLabel: {
503
503
  type: String,
504
504
  default: void 0
505
+ },
506
+ /**
507
+ * Default tag for the action
508
+ */
509
+ defaultTag: {
510
+ type: String,
511
+ default: ActionTag.button
505
512
  }
506
513
  };
507
514
  const NavProps = {
@@ -834,7 +841,11 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
834
841
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => unref(onClick)(), ["prevent"]))
835
842
  }, [
836
843
  renderSlot(_ctx.$slots, "summary", normalizeProps(guardReactiveProps({ open: unref(isOpen) })), () => [
837
- createTextVNode(toDisplayString(unref(title)), 1)
844
+ createTextVNode(
845
+ toDisplayString(unref(title)),
846
+ 1
847
+ /* TEXT */
848
+ )
838
849
  ])
839
850
  ], 8, _hoisted_2$d),
840
851
  createElementVNode("div", {
@@ -842,7 +853,11 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
842
853
  class: "vv-accordion__content"
843
854
  }, [
844
855
  renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ open: unref(isOpen) })), () => [
845
- createTextVNode(toDisplayString(unref(content)), 1)
856
+ createTextVNode(
857
+ toDisplayString(unref(content)),
858
+ 1
859
+ /* TEXT */
860
+ )
846
861
  ])
847
862
  ], 8, _hoisted_3$7)
848
863
  ], 10, _hoisted_1$i);
@@ -964,29 +979,48 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
964
979
  }))
965
980
  );
966
981
  return (_ctx, _cache) => {
967
- return openBlock(), createElementBlock("div", {
968
- class: normalizeClass(unref(bemCssClasses))
969
- }, [
970
- renderSlot(_ctx.$slots, "default", {}, () => [
971
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(items), (item) => {
972
- return openBlock(), createBlock(_sfc_main$r, mergeProps({
973
- key: item.title
974
- }, {
975
- name: item.name,
976
- title: item.title,
977
- content: item.content
978
- }), {
979
- header: withCtx((data) => [
980
- renderSlot(_ctx.$slots, `header::${item.name}`, normalizeProps(guardReactiveProps(data)))
981
- ]),
982
- details: withCtx((data) => [
983
- renderSlot(_ctx.$slots, `details::${item.name}`, normalizeProps(guardReactiveProps(data)))
984
- ]),
985
- _: 2
986
- }, 1040);
987
- }), 128))
988
- ])
989
- ], 2);
982
+ return openBlock(), createElementBlock(
983
+ "div",
984
+ {
985
+ class: normalizeClass(unref(bemCssClasses))
986
+ },
987
+ [
988
+ renderSlot(_ctx.$slots, "default", {}, () => [
989
+ (openBlock(true), createElementBlock(
990
+ Fragment,
991
+ null,
992
+ renderList(unref(items), (item) => {
993
+ return openBlock(), createBlock(
994
+ _sfc_main$r,
995
+ mergeProps({
996
+ key: item.title
997
+ }, {
998
+ name: item.name,
999
+ title: item.title,
1000
+ content: item.content
1001
+ }),
1002
+ {
1003
+ header: withCtx((data) => [
1004
+ renderSlot(_ctx.$slots, `header::${item.name}`, normalizeProps(guardReactiveProps(data)))
1005
+ ]),
1006
+ details: withCtx((data) => [
1007
+ renderSlot(_ctx.$slots, `details::${item.name}`, normalizeProps(guardReactiveProps(data)))
1008
+ ]),
1009
+ _: 2
1010
+ /* DYNAMIC */
1011
+ },
1012
+ 1040
1013
+ /* FULL_PROPS, DYNAMIC_SLOTS */
1014
+ );
1015
+ }),
1016
+ 128
1017
+ /* KEYED_FRAGMENT */
1018
+ ))
1019
+ ])
1020
+ ],
1021
+ 2
1022
+ /* CLASS */
1023
+ );
990
1024
  };
991
1025
  }
992
1026
  });
@@ -1043,7 +1077,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1043
1077
  case props.href !== void 0:
1044
1078
  return ActionTag.a;
1045
1079
  default:
1046
- return ActionTag.button;
1080
+ return props.defaultTag;
1047
1081
  }
1048
1082
  });
1049
1083
  const hasProps = computed(() => {
@@ -1068,12 +1102,14 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1068
1102
  to: props.to,
1069
1103
  target: props.target
1070
1104
  };
1071
- default:
1105
+ case ActionTag.button:
1072
1106
  return {
1073
1107
  ...toReturn,
1074
1108
  type: props.type,
1075
1109
  disabled: props.disabled
1076
1110
  };
1111
+ default:
1112
+ return toReturn;
1077
1113
  }
1078
1114
  });
1079
1115
  const onClick = (e) => {
@@ -1108,10 +1144,15 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1108
1144
  }), {
1109
1145
  default: withCtx(() => [
1110
1146
  renderSlot(_ctx.$slots, "default", {}, () => [
1111
- createTextVNode(toDisplayString(_ctx.label), 1)
1147
+ createTextVNode(
1148
+ toDisplayString(_ctx.label),
1149
+ 1
1150
+ /* TEXT */
1151
+ )
1112
1152
  ])
1113
1153
  ]),
1114
1154
  _: 3
1155
+ /* FORWARDED */
1115
1156
  }, 16, ["class"]);
1116
1157
  };
1117
1158
  }
@@ -1302,7 +1343,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1302
1343
  color: _ctx.color,
1303
1344
  onLoad: _ctx.onLoad,
1304
1345
  icon: unref(icon)
1305
- }), null, 16, ["class"])) : createCommentVNode("", true);
1346
+ }), null, 16, ["class"])) : createCommentVNode("v-if", true);
1306
1347
  };
1307
1348
  }
1308
1349
  });
@@ -1457,7 +1498,13 @@ const _hoisted_1$h = {
1457
1498
  };
1458
1499
  const _hoisted_2$c = ["id"];
1459
1500
  const _hoisted_3$6 = ["aria-label"];
1460
- const _hoisted_4$5 = /* @__PURE__ */ createElementVNode("div", { class: "vv-alert__close-mask" }, null, -1);
1501
+ const _hoisted_4$5 = /* @__PURE__ */ createElementVNode(
1502
+ "div",
1503
+ { class: "vv-alert__close-mask" },
1504
+ null,
1505
+ -1
1506
+ /* HOISTED */
1507
+ );
1461
1508
  const _hoisted_5$4 = [
1462
1509
  _hoisted_4$5
1463
1510
  ];
@@ -1481,47 +1528,71 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
1481
1528
  const { hasProps, hasTitleId, hasIcon, close } = useVvAlert(props, emit);
1482
1529
  __expose({ close });
1483
1530
  return (_ctx, _cache) => {
1484
- return openBlock(), createElementBlock("div", normalizeProps(guardReactiveProps(unref(hasProps))), [
1485
- _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$h, [
1486
- unref(hasIcon) ? (openBlock(), createBlock(_sfc_main$o, mergeProps({ key: 0 }, unref(hasIcon), { class: "vv-alert__icon" }), null, 16)) : createCommentVNode("", true),
1487
- renderSlot(_ctx.$slots, "header", {}, () => [
1488
- renderSlot(_ctx.$slots, "title::before"),
1489
- _ctx.$slots.title || _ctx.title ? (openBlock(), createElementBlock("strong", {
1490
- key: 0,
1491
- id: unref(hasTitleId),
1492
- class: "vv-alert__title"
1493
- }, [
1494
- renderSlot(_ctx.$slots, "title", {}, () => [
1495
- createTextVNode(toDisplayString(_ctx.title), 1)
1496
- ])
1497
- ], 8, _hoisted_2$c)) : createCommentVNode("", true),
1498
- renderSlot(_ctx.$slots, "title::after")
1499
- ]),
1500
- renderSlot(_ctx.$slots, "close", normalizeProps(guardReactiveProps({ close: unref(close) })), () => [
1501
- _ctx.dismissable || _ctx.autoClose ? (openBlock(), createElementBlock("button", {
1502
- key: 0,
1503
- class: "vv-alert__close",
1504
- type: "button",
1505
- "aria-label": _ctx.closeLabel,
1506
- onClick: _cache[0] || (_cache[0] = withModifiers(
1507
- //@ts-ignore
1508
- (...args) => unref(close) && unref(close)(...args),
1509
- ["stop"]
1510
- ))
1511
- }, _hoisted_5$4, 8, _hoisted_3$6)) : createCommentVNode("", true)
1512
- ])
1513
- ])) : createCommentVNode("", true),
1514
- _ctx.$slots.default || _ctx.content ? (openBlock(), createElementBlock("div", _hoisted_6$4, [
1515
- renderSlot(_ctx.$slots, "default", {}, () => [
1516
- createTextVNode(toDisplayString(_ctx.content), 1)
1517
- ])
1518
- ])) : createCommentVNode("", true),
1519
- _ctx.$slots.footer || _ctx.footer ? (openBlock(), createElementBlock("div", _hoisted_7$4, [
1520
- renderSlot(_ctx.$slots, "footer", {}, () => [
1521
- createTextVNode(toDisplayString(_ctx.footer), 1)
1522
- ])
1523
- ])) : createCommentVNode("", true)
1524
- ], 16);
1531
+ return openBlock(), createElementBlock(
1532
+ "div",
1533
+ normalizeProps(guardReactiveProps(unref(hasProps))),
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$h, [
1536
+ unref(hasIcon) ? (openBlock(), createBlock(
1537
+ _sfc_main$o,
1538
+ mergeProps({ key: 0 }, unref(hasIcon), { class: "vv-alert__icon" }),
1539
+ null,
1540
+ 16
1541
+ /* FULL_PROPS */
1542
+ )) : createCommentVNode("v-if", true),
1543
+ renderSlot(_ctx.$slots, "header", {}, () => [
1544
+ renderSlot(_ctx.$slots, "title::before"),
1545
+ _ctx.$slots.title || _ctx.title ? (openBlock(), createElementBlock("strong", {
1546
+ key: 0,
1547
+ id: unref(hasTitleId),
1548
+ class: "vv-alert__title"
1549
+ }, [
1550
+ renderSlot(_ctx.$slots, "title", {}, () => [
1551
+ createTextVNode(
1552
+ toDisplayString(_ctx.title),
1553
+ 1
1554
+ /* TEXT */
1555
+ )
1556
+ ])
1557
+ ], 8, _hoisted_2$c)) : createCommentVNode("v-if", true),
1558
+ renderSlot(_ctx.$slots, "title::after")
1559
+ ]),
1560
+ renderSlot(_ctx.$slots, "close", normalizeProps(guardReactiveProps({ close: unref(close) })), () => [
1561
+ _ctx.dismissable || _ctx.autoClose ? (openBlock(), createElementBlock("button", {
1562
+ key: 0,
1563
+ class: "vv-alert__close",
1564
+ type: "button",
1565
+ "aria-label": _ctx.closeLabel,
1566
+ onClick: _cache[0] || (_cache[0] = withModifiers(
1567
+ //@ts-ignore
1568
+ (...args) => unref(close) && unref(close)(...args),
1569
+ ["stop"]
1570
+ ))
1571
+ }, _hoisted_5$4, 8, _hoisted_3$6)) : createCommentVNode("v-if", true)
1572
+ ])
1573
+ ])) : createCommentVNode("v-if", true),
1574
+ _ctx.$slots.default || _ctx.content ? (openBlock(), createElementBlock("div", _hoisted_6$4, [
1575
+ renderSlot(_ctx.$slots, "default", {}, () => [
1576
+ createTextVNode(
1577
+ toDisplayString(_ctx.content),
1578
+ 1
1579
+ /* TEXT */
1580
+ )
1581
+ ])
1582
+ ])) : createCommentVNode("v-if", true),
1583
+ _ctx.$slots.footer || _ctx.footer ? (openBlock(), createElementBlock("div", _hoisted_7$4, [
1584
+ renderSlot(_ctx.$slots, "footer", {}, () => [
1585
+ createTextVNode(
1586
+ toDisplayString(_ctx.footer),
1587
+ 1
1588
+ /* TEXT */
1589
+ )
1590
+ ])
1591
+ ])) : createCommentVNode("v-if", true)
1592
+ ],
1593
+ 16
1594
+ /* FULL_PROPS */
1595
+ );
1525
1596
  };
1526
1597
  }
1527
1598
  });
@@ -1540,14 +1611,24 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
1540
1611
  const { modifiers } = toRefs(props);
1541
1612
  const bemCssClasses = useModifiers("vv-badge", modifiers);
1542
1613
  return (_ctx, _cache) => {
1543
- return openBlock(), createElementBlock("span", {
1544
- class: normalizeClass(unref(bemCssClasses)),
1545
- role: "status"
1546
- }, [
1547
- renderSlot(_ctx.$slots, "default", {}, () => [
1548
- createTextVNode(toDisplayString(_ctx.value), 1)
1549
- ])
1550
- ], 2);
1614
+ return openBlock(), createElementBlock(
1615
+ "span",
1616
+ {
1617
+ class: normalizeClass(unref(bemCssClasses)),
1618
+ role: "status"
1619
+ },
1620
+ [
1621
+ renderSlot(_ctx.$slots, "default", {}, () => [
1622
+ createTextVNode(
1623
+ toDisplayString(_ctx.value),
1624
+ 1
1625
+ /* TEXT */
1626
+ )
1627
+ ])
1628
+ ],
1629
+ 2
1630
+ /* CLASS */
1631
+ );
1551
1632
  };
1552
1633
  }
1553
1634
  });
@@ -1567,46 +1648,71 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
1567
1648
  const props = __props;
1568
1649
  const { modifiers } = toRefs(props);
1569
1650
  const bemCssClasses = useModifiers("vv-breadcrumb", modifiers);
1651
+ const length = computed(() => {
1652
+ var _a;
1653
+ return ((_a = props.routes) == null ? void 0 : _a.length) ?? 0;
1654
+ });
1655
+ const isLast = (index) => index === length.value - 1;
1570
1656
  return (_ctx, _cache) => {
1571
- return openBlock(), createElementBlock("nav", {
1572
- class: normalizeClass(unref(bemCssClasses)),
1573
- "aria-label": "breadcrumbs"
1574
- }, [
1575
- createElementVNode("ol", _hoisted_1$g, [
1576
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.routes, (route, index) => {
1577
- var _a, _b, _c, _d;
1578
- return openBlock(), createElementBlock("li", {
1579
- key: `${route.label}-${index}`,
1580
- class: normalizeClass({
1581
- "vv-breadcrumb__item": index < Number((_a = _ctx.routes) == null ? void 0 : _a.length) - 1,
1582
- "vv-breadcrumb__item-active": index === Number((_b = _ctx.routes) == null ? void 0 : _b.length) - 1
1657
+ return openBlock(), createElementBlock(
1658
+ "nav",
1659
+ {
1660
+ class: normalizeClass(unref(bemCssClasses)),
1661
+ "aria-label": "breadcrumbs"
1662
+ },
1663
+ [
1664
+ createElementVNode("ol", _hoisted_1$g, [
1665
+ (openBlock(true), createElementBlock(
1666
+ Fragment,
1667
+ null,
1668
+ renderList(_ctx.routes, ({ label, ...route }, index) => {
1669
+ return openBlock(), createElementBlock(
1670
+ "li",
1671
+ {
1672
+ key: `${label}-${index}`,
1673
+ class: normalizeClass(
1674
+ !isLast(index) ? "vv-breadcrumb__item" : "vv-breadcrumb__item-active"
1675
+ ),
1676
+ itemprop: "itemListElement",
1677
+ itemtype: "https://schema.org/ListItem",
1678
+ itemscope: ""
1679
+ },
1680
+ [
1681
+ createVNode(_sfc_main$p, mergeProps(route, {
1682
+ class: !isLast(index) ? "vv-breadcrumb__link" : "vv-breadcrumb__label",
1683
+ "aria-current": isLast(index) ? "page" : void 0,
1684
+ itemprop: "item",
1685
+ "default-tag": "span"
1686
+ }), {
1687
+ default: withCtx(() => [
1688
+ renderSlot(_ctx.$slots, "label", normalizeProps(guardReactiveProps({ route, index })), () => [
1689
+ createTextVNode(
1690
+ toDisplayString(label),
1691
+ 1
1692
+ /* TEXT */
1693
+ )
1694
+ ])
1695
+ ]),
1696
+ _: 2
1697
+ /* DYNAMIC */
1698
+ }, 1040, ["class", "aria-current"]),
1699
+ createElementVNode("meta", {
1700
+ itemprop: "position",
1701
+ content: `${index + 1}`
1702
+ }, null, 8, _hoisted_2$b)
1703
+ ],
1704
+ 2
1705
+ /* CLASS */
1706
+ );
1583
1707
  }),
1584
- itemprop: "itemListElement",
1585
- itemtype: "https://schema.org/ListItem",
1586
- itemscope: ""
1587
- }, [
1588
- (openBlock(), createBlock(resolveDynamicComponent(route.to ? "router-link" : route.href ? "a" : "span"), mergeProps(route, {
1589
- class: {
1590
- "vv-breadcrumb__link": index < Number((_c = _ctx.routes) == null ? void 0 : _c.length) - 1
1591
- },
1592
- "aria-current": index === Number((_d = _ctx.routes) == null ? void 0 : _d.length) - 1 ? "page" : void 0,
1593
- itemprop: "item"
1594
- }), {
1595
- default: withCtx(() => [
1596
- renderSlot(_ctx.$slots, "label", normalizeProps(guardReactiveProps({ route, index })), () => [
1597
- createTextVNode(toDisplayString(route.label), 1)
1598
- ])
1599
- ]),
1600
- _: 2
1601
- }, 1040, ["class", "aria-current"])),
1602
- createElementVNode("meta", {
1603
- itemprop: "position",
1604
- content: `${index + 1}`
1605
- }, null, 8, _hoisted_2$b)
1606
- ], 2);
1607
- }), 128))
1608
- ])
1609
- ], 2);
1708
+ 128
1709
+ /* KEYED_FRAGMENT */
1710
+ ))
1711
+ ])
1712
+ ],
1713
+ 2
1714
+ /* CLASS */
1715
+ );
1610
1716
  };
1611
1717
  }
1612
1718
  });
@@ -1828,24 +1934,47 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1828
1934
  key: 0,
1829
1935
  class: "vv-button__loading-icon",
1830
1936
  name: _ctx.loadingIcon
1831
- }, null, 8, ["name"])) : createCommentVNode("", true),
1832
- _ctx.loadingLabel ? (openBlock(), createElementBlock("span", _hoisted_1$f, toDisplayString(_ctx.loadingLabel), 1)) : createCommentVNode("", true)
1833
- ]) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
1834
- renderSlot(_ctx.$slots, "before"),
1835
- unref(icon) ? (openBlock(), createBlock(_sfc_main$o, mergeProps({
1836
- key: 0,
1837
- class: "vv-button__icon"
1838
- }, unref(hasIconProps)), null, 16)) : createCommentVNode("", true),
1839
- unref(label) ? (openBlock(), createElementBlock("span", _hoisted_2$a, [
1840
- renderSlot(_ctx.$slots, "label", {}, () => [
1841
- createTextVNode(toDisplayString(unref(label)), 1)
1842
- ])
1843
- ])) : createCommentVNode("", true),
1844
- renderSlot(_ctx.$slots, "after")
1845
- ], 64))
1937
+ }, null, 8, ["name"])) : createCommentVNode("v-if", true),
1938
+ _ctx.loadingLabel ? (openBlock(), createElementBlock(
1939
+ "span",
1940
+ _hoisted_1$f,
1941
+ toDisplayString(_ctx.loadingLabel),
1942
+ 1
1943
+ /* TEXT */
1944
+ )) : createCommentVNode("v-if", true)
1945
+ ]) : (openBlock(), createElementBlock(
1946
+ Fragment,
1947
+ { key: 1 },
1948
+ [
1949
+ renderSlot(_ctx.$slots, "before"),
1950
+ unref(icon) ? (openBlock(), createBlock(
1951
+ _sfc_main$o,
1952
+ mergeProps({
1953
+ key: 0,
1954
+ class: "vv-button__icon"
1955
+ }, unref(hasIconProps)),
1956
+ null,
1957
+ 16
1958
+ /* FULL_PROPS */
1959
+ )) : createCommentVNode("v-if", true),
1960
+ unref(label) ? (openBlock(), createElementBlock("span", _hoisted_2$a, [
1961
+ renderSlot(_ctx.$slots, "label", {}, () => [
1962
+ createTextVNode(
1963
+ toDisplayString(unref(label)),
1964
+ 1
1965
+ /* TEXT */
1966
+ )
1967
+ ])
1968
+ ])) : createCommentVNode("v-if", true),
1969
+ renderSlot(_ctx.$slots, "after")
1970
+ ],
1971
+ 64
1972
+ /* STABLE_FRAGMENT */
1973
+ ))
1846
1974
  ])
1847
1975
  ]),
1848
1976
  _: 3
1977
+ /* FORWARDED */
1849
1978
  }, 16, ["id", "class"]);
1850
1979
  };
1851
1980
  }
@@ -1918,12 +2047,18 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
1918
2047
  });
1919
2048
  const bemCssClasses = useModifiers("vv-button-group", modifiers);
1920
2049
  return (_ctx, _cache) => {
1921
- return openBlock(), createElementBlock("div", {
1922
- class: normalizeClass(unref(bemCssClasses)),
1923
- role: "group"
1924
- }, [
1925
- renderSlot(_ctx.$slots, "default")
1926
- ], 2);
2050
+ return openBlock(), createElementBlock(
2051
+ "div",
2052
+ {
2053
+ class: normalizeClass(unref(bemCssClasses)),
2054
+ role: "group"
2055
+ },
2056
+ [
2057
+ renderSlot(_ctx.$slots, "default")
2058
+ ],
2059
+ 2
2060
+ /* CLASS */
2061
+ );
1927
2062
  };
1928
2063
  }
1929
2064
  });
@@ -1954,22 +2089,32 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
1954
2089
  const { modifiers } = toRefs(props);
1955
2090
  const bemCssClasses = useModifiers("vv-card", modifiers);
1956
2091
  return (_ctx, _cache) => {
1957
- return openBlock(), createElementBlock("article", {
1958
- class: normalizeClass(unref(bemCssClasses))
1959
- }, [
1960
- _ctx.$slots.header || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$e, [
1961
- renderSlot(_ctx.$slots, "header", {}, () => [
1962
- createTextVNode(toDisplayString(_ctx.title), 1)
1963
- ])
1964
- ])) : createCommentVNode("", true),
1965
- renderSlot(_ctx.$slots, "default"),
1966
- _ctx.$slots.content ? (openBlock(), createElementBlock("div", _hoisted_2$9, [
1967
- renderSlot(_ctx.$slots, "content")
1968
- ])) : createCommentVNode("", true),
1969
- _ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_3$5, [
1970
- renderSlot(_ctx.$slots, "footer")
1971
- ])) : createCommentVNode("", true)
1972
- ], 2);
2092
+ return openBlock(), createElementBlock(
2093
+ "article",
2094
+ {
2095
+ class: normalizeClass(unref(bemCssClasses))
2096
+ },
2097
+ [
2098
+ _ctx.$slots.header || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$e, [
2099
+ renderSlot(_ctx.$slots, "header", {}, () => [
2100
+ createTextVNode(
2101
+ toDisplayString(_ctx.title),
2102
+ 1
2103
+ /* TEXT */
2104
+ )
2105
+ ])
2106
+ ])) : createCommentVNode("v-if", true),
2107
+ renderSlot(_ctx.$slots, "default"),
2108
+ _ctx.$slots.content ? (openBlock(), createElementBlock("div", _hoisted_2$9, [
2109
+ renderSlot(_ctx.$slots, "content")
2110
+ ])) : createCommentVNode("v-if", true),
2111
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_3$5, [
2112
+ renderSlot(_ctx.$slots, "footer")
2113
+ ])) : createCommentVNode("v-if", true)
2114
+ ],
2115
+ 2
2116
+ /* CLASS */
2117
+ );
1973
2118
  };
1974
2119
  }
1975
2120
  });
@@ -2347,12 +2492,19 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
2347
2492
  [vModelCheckbox, unref(localModelValue)]
2348
2493
  ]),
2349
2494
  renderSlot(_ctx.$slots, "default", { value: unref(modelValue) }, () => [
2350
- createTextVNode(toDisplayString(_ctx.label), 1)
2495
+ createTextVNode(
2496
+ toDisplayString(_ctx.label),
2497
+ 1
2498
+ /* TEXT */
2499
+ )
2351
2500
  ]),
2352
2501
  createVNode(unref(HintSlot), {
2353
2502
  id: unref(hasHintId),
2354
2503
  class: "vv-checkbox__hint"
2355
- }, createSlots({ _: 2 }, [
2504
+ }, createSlots({
2505
+ _: 2
2506
+ /* DYNAMIC */
2507
+ }, [
2356
2508
  _ctx.$slots.hint ? {
2357
2509
  name: "hint",
2358
2510
  fn: withCtx(() => [
@@ -2469,49 +2621,76 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
2469
2621
  };
2470
2622
  const { HintSlot, hintSlotScope } = HintSlotFactory(propsDefaults, slots);
2471
2623
  return (_ctx, _cache) => {
2472
- return openBlock(), createElementBlock("fieldset", {
2473
- class: normalizeClass(unref(bemCssClasses))
2474
- }, [
2475
- _ctx.label ? (openBlock(), createElementBlock("legend", {
2476
- key: 0,
2477
- textContent: toDisplayString(_ctx.label)
2478
- }, null, 8, _hoisted_1$c)) : createCommentVNode("", true),
2479
- createElementVNode("div", _hoisted_2$7, [
2480
- _ctx.options.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.options, (option, index) => {
2481
- return openBlock(), createBlock(_sfc_main$h, mergeProps({ key: index }, getOptionProps(option, index)), null, 16);
2482
- }), 128)) : renderSlot(_ctx.$slots, "default", { key: 1 })
2483
- ]),
2484
- createVNode(unref(HintSlot), { class: "vv-checkbox-group__hint" }, createSlots({ _: 2 }, [
2485
- _ctx.$slots.hint ? {
2486
- name: "hint",
2487
- fn: withCtx(() => [
2488
- renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
2489
- ]),
2490
- key: "0"
2491
- } : void 0,
2492
- _ctx.$slots.loading ? {
2493
- name: "loading",
2494
- fn: withCtx(() => [
2495
- renderSlot(_ctx.$slots, "loading", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
2496
- ]),
2497
- key: "1"
2498
- } : void 0,
2499
- _ctx.$slots.valid ? {
2500
- name: "valid",
2501
- fn: withCtx(() => [
2502
- renderSlot(_ctx.$slots, "valid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
2503
- ]),
2504
- key: "2"
2505
- } : void 0,
2506
- _ctx.$slots.invalid ? {
2507
- name: "invalid",
2508
- fn: withCtx(() => [
2509
- renderSlot(_ctx.$slots, "invalid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
2624
+ return openBlock(), createElementBlock(
2625
+ "fieldset",
2626
+ {
2627
+ class: normalizeClass(unref(bemCssClasses))
2628
+ },
2629
+ [
2630
+ _ctx.label ? (openBlock(), createElementBlock("legend", {
2631
+ key: 0,
2632
+ textContent: toDisplayString(_ctx.label)
2633
+ }, null, 8, _hoisted_1$c)) : createCommentVNode("v-if", true),
2634
+ createElementVNode("div", _hoisted_2$7, [
2635
+ _ctx.options.length > 0 ? (openBlock(true), createElementBlock(
2636
+ Fragment,
2637
+ { key: 0 },
2638
+ renderList(_ctx.options, (option, index) => {
2639
+ return openBlock(), createBlock(
2640
+ _sfc_main$h,
2641
+ mergeProps({ key: index }, getOptionProps(option, index)),
2642
+ null,
2643
+ 16
2644
+ /* FULL_PROPS */
2645
+ );
2646
+ }),
2647
+ 128
2648
+ /* KEYED_FRAGMENT */
2649
+ )) : renderSlot(_ctx.$slots, "default", { key: 1 })
2650
+ ]),
2651
+ createVNode(
2652
+ unref(HintSlot),
2653
+ { class: "vv-checkbox-group__hint" },
2654
+ createSlots({
2655
+ _: 2
2656
+ /* DYNAMIC */
2657
+ }, [
2658
+ _ctx.$slots.hint ? {
2659
+ name: "hint",
2660
+ fn: withCtx(() => [
2661
+ renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
2662
+ ]),
2663
+ key: "0"
2664
+ } : void 0,
2665
+ _ctx.$slots.loading ? {
2666
+ name: "loading",
2667
+ fn: withCtx(() => [
2668
+ renderSlot(_ctx.$slots, "loading", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
2669
+ ]),
2670
+ key: "1"
2671
+ } : void 0,
2672
+ _ctx.$slots.valid ? {
2673
+ name: "valid",
2674
+ fn: withCtx(() => [
2675
+ renderSlot(_ctx.$slots, "valid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
2676
+ ]),
2677
+ key: "2"
2678
+ } : void 0,
2679
+ _ctx.$slots.invalid ? {
2680
+ name: "invalid",
2681
+ fn: withCtx(() => [
2682
+ renderSlot(_ctx.$slots, "invalid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
2683
+ ]),
2684
+ key: "3"
2685
+ } : void 0
2510
2686
  ]),
2511
- key: "3"
2512
- } : void 0
2513
- ]), 1024)
2514
- ], 2);
2687
+ 1024
2688
+ /* DYNAMIC_SLOTS */
2689
+ )
2690
+ ],
2691
+ 2
2692
+ /* CLASS */
2693
+ );
2515
2694
  };
2516
2695
  }
2517
2696
  });
@@ -3104,50 +3283,70 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
3104
3283
  }
3105
3284
  };
3106
3285
  return (_ctx, _cache) => {
3107
- return openBlock(), createElementBlock(Fragment, null, [
3108
- createVNode(unref(VvDropdownTriggerProvider), null, {
3109
- default: withCtx(() => [
3110
- renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ init, show, hide, toggle, expanded: unref(expanded), aria: unref(referenceAria) })))
3111
- ]),
3112
- _: 3
3113
- }),
3114
- createVNode(Transition, mergeProps({ name: _ctx.transitionName }, toHandlers(dropdownTransitionHandlers)), {
3115
- default: withCtx(() => [
3116
- withDirectives(createElementVNode("div", {
3117
- ref_key: "floatingEl",
3118
- ref: floatingEl,
3119
- style: normalizeStyle(unref(dropdownPlacement)),
3120
- class: normalizeClass(unref(bemCssClasses))
3121
- }, [
3122
- props.arrow ? (openBlock(), createElementBlock("div", {
3123
- key: 0,
3124
- ref_key: "arrowEl",
3125
- ref: arrowEl,
3126
- style: normalizeStyle(unref(arrowPlacement)),
3127
- class: "vv-dropdown__arrow"
3128
- }, null, 4)) : createCommentVNode("", true),
3129
- renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps({ expanded: unref(expanded) }))),
3130
- createElementVNode("div", mergeProps(unref(attrs), {
3131
- id: unref(hasId),
3132
- ref_key: "listEl",
3133
- ref: listEl,
3134
- tabindex: !unref(expanded) ? -1 : void 0,
3135
- role: unref(role),
3136
- "aria-labelledby": unref(hasAriaLabelledby),
3137
- class: "vv-dropdown__list"
3138
- }), [
3139
- renderSlot(_ctx.$slots, "items", normalizeProps(guardReactiveProps({
3140
- role: unref(itemRole)
3141
- })))
3142
- ], 16, _hoisted_1$b),
3143
- renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps({ expanded: unref(expanded) })))
3144
- ], 6), [
3145
- [vShow, unref(expanded)]
3146
- ])
3147
- ]),
3148
- _: 3
3149
- }, 16, ["name"])
3150
- ], 64);
3286
+ return openBlock(), createElementBlock(
3287
+ Fragment,
3288
+ null,
3289
+ [
3290
+ createVNode(unref(VvDropdownTriggerProvider), null, {
3291
+ default: withCtx(() => [
3292
+ renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ init, show, hide, toggle, expanded: unref(expanded), aria: unref(referenceAria) })))
3293
+ ]),
3294
+ _: 3
3295
+ /* FORWARDED */
3296
+ }),
3297
+ createVNode(Transition, mergeProps({ name: _ctx.transitionName }, toHandlers(dropdownTransitionHandlers), { persisted: "" }), {
3298
+ default: withCtx(() => [
3299
+ withDirectives(createElementVNode(
3300
+ "div",
3301
+ {
3302
+ ref_key: "floatingEl",
3303
+ ref: floatingEl,
3304
+ style: normalizeStyle(unref(dropdownPlacement)),
3305
+ class: normalizeClass(unref(bemCssClasses))
3306
+ },
3307
+ [
3308
+ props.arrow ? (openBlock(), createElementBlock(
3309
+ "div",
3310
+ {
3311
+ key: 0,
3312
+ ref_key: "arrowEl",
3313
+ ref: arrowEl,
3314
+ style: normalizeStyle(unref(arrowPlacement)),
3315
+ class: "vv-dropdown__arrow"
3316
+ },
3317
+ null,
3318
+ 4
3319
+ /* STYLE */
3320
+ )) : createCommentVNode("v-if", true),
3321
+ renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps({ expanded: unref(expanded) }))),
3322
+ createElementVNode("div", mergeProps(unref(attrs), {
3323
+ id: unref(hasId),
3324
+ ref_key: "listEl",
3325
+ ref: listEl,
3326
+ tabindex: !unref(expanded) ? -1 : void 0,
3327
+ role: unref(role),
3328
+ "aria-labelledby": unref(hasAriaLabelledby),
3329
+ class: "vv-dropdown__list"
3330
+ }), [
3331
+ renderSlot(_ctx.$slots, "items", normalizeProps(guardReactiveProps({
3332
+ role: unref(itemRole)
3333
+ })))
3334
+ ], 16, _hoisted_1$b),
3335
+ renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps({ expanded: unref(expanded) })))
3336
+ ],
3337
+ 6
3338
+ /* CLASS, STYLE */
3339
+ ), [
3340
+ [vShow, unref(expanded)]
3341
+ ])
3342
+ ]),
3343
+ _: 3
3344
+ /* FORWARDED */
3345
+ }, 16, ["name"])
3346
+ ],
3347
+ 64
3348
+ /* STABLE_FRAGMENT */
3349
+ );
3151
3350
  };
3152
3351
  }
3153
3352
  });
@@ -3169,13 +3368,19 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
3169
3368
  }
3170
3369
  });
3171
3370
  return (_ctx, _cache) => {
3172
- return openBlock(), createElementBlock("div", mergeProps({ role: unref(role) }, {
3173
- ref_key: "element",
3174
- ref: element,
3175
- class: ["vv-dropdown__item", { "focus-visible": unref(focused) || unref(focusedWithin) }]
3176
- }), [
3177
- renderSlot(_ctx.$slots, "default")
3178
- ], 16);
3371
+ return openBlock(), createElementBlock(
3372
+ "div",
3373
+ mergeProps({ role: unref(role) }, {
3374
+ ref_key: "element",
3375
+ ref: element,
3376
+ class: ["vv-dropdown__item", { "focus-visible": unref(focused) || unref(focusedWithin) }]
3377
+ }),
3378
+ [
3379
+ renderSlot(_ctx.$slots, "default")
3380
+ ],
3381
+ 16
3382
+ /* FULL_PROPS */
3383
+ );
3179
3384
  };
3180
3385
  }
3181
3386
  });
@@ -3234,11 +3439,16 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
3234
3439
  title: unref(hintLabel)
3235
3440
  }, [
3236
3441
  renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps({ disabled: _ctx.disabled, selected: _ctx.selected, unselectable: _ctx.unselectable })), () => [
3237
- createTextVNode(toDisplayString(unref(hintLabel)), 1)
3442
+ createTextVNode(
3443
+ toDisplayString(unref(hintLabel)),
3444
+ 1
3445
+ /* TEXT */
3446
+ )
3238
3447
  ])
3239
3448
  ], 8, _hoisted_1$a)
3240
3449
  ]),
3241
3450
  _: 3
3451
+ /* FORWARDED */
3242
3452
  }, 8, ["class", "tabindex", "aria-selected", "aria-disabled"]);
3243
3453
  };
3244
3454
  }
@@ -3259,7 +3469,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
3259
3469
  setup(__props) {
3260
3470
  const props = __props;
3261
3471
  return (_ctx, _cache) => {
3262
- return openBlock(), createElementBlock("li", _hoisted_1$9, toDisplayString(props.label), 1);
3472
+ return openBlock(), createElementBlock(
3473
+ "li",
3474
+ _hoisted_1$9,
3475
+ toDisplayString(props.label),
3476
+ 1
3477
+ /* TEXT */
3478
+ );
3263
3479
  };
3264
3480
  }
3265
3481
  });
@@ -3493,101 +3709,140 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
3493
3709
  return option && option.options && option.options.length > 0;
3494
3710
  };
3495
3711
  return (_ctx, _cache) => {
3496
- return openBlock(), createElementBlock("div", {
3497
- class: normalizeClass(unref(bemCssClasses))
3498
- }, [
3499
- _ctx.label ? (openBlock(), createElementBlock("label", {
3500
- key: 0,
3501
- for: unref(hasId)
3502
- }, toDisplayString(_ctx.label), 9, _hoisted_1$8)) : createCommentVNode("", true),
3503
- createElementVNode("div", _hoisted_2$6, [
3504
- _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
3505
- renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
3506
- ])) : createCommentVNode("", true),
3507
- createElementVNode("div", _hoisted_4$4, [
3508
- unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$o, mergeProps({
3509
- key: 0,
3510
- class: "vv-select__icon"
3511
- }, unref(hasIcon)), null, 16)) : createCommentVNode("", true),
3512
- withDirectives(createElementVNode("select", mergeProps({
3513
- id: unref(hasId),
3514
- ref_key: "select",
3515
- ref: select,
3516
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(localModelValue) ? localModelValue.value = $event : null)
3517
- }, unref(hasAttrs)), [
3518
- _ctx.placeholder ? (openBlock(), createElementBlock("option", {
3519
- key: 0,
3520
- value: void 0,
3521
- disabled: !_ctx.unselectable,
3522
- hidden: !_ctx.unselectable
3523
- }, toDisplayString(_ctx.placeholder), 9, _hoisted_6$3)) : createCommentVNode("", true),
3524
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option, index) => {
3525
- return openBlock(), createElementBlock(Fragment, null, [
3526
- !isGroup(option) ? (openBlock(), createElementBlock("option", {
3527
- key: index,
3528
- disabled: unref(isOptionDisabled)(option),
3529
- value: unref(getOptionValue)(option)
3530
- }, toDisplayString(unref(getOptionLabel)(option)), 9, _hoisted_7$3)) : (openBlock(), createElementBlock("optgroup", {
3531
- key: `group-${index}`,
3532
- disabled: unref(isOptionDisabled)(option),
3533
- label: unref(getOptionLabel)(option)
3534
- }, [
3535
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(getOptionGrouped)(option), (item, i) => {
3536
- return openBlock(), createElementBlock("option", {
3537
- key: `group-${index}-item-${i}`,
3538
- disabled: unref(isOptionDisabled)(item),
3539
- value: unref(getOptionValue)(item)
3540
- }, toDisplayString(unref(getOptionLabel)(item)), 9, _hoisted_9$1);
3541
- }), 128))
3542
- ], 8, _hoisted_8$2))
3543
- ], 64);
3544
- }), 256))
3545
- ], 16, _hoisted_5$3), [
3546
- [vModelSelect, unref(localModelValue)]
3712
+ return openBlock(), createElementBlock(
3713
+ "div",
3714
+ {
3715
+ class: normalizeClass(unref(bemCssClasses))
3716
+ },
3717
+ [
3718
+ _ctx.label ? (openBlock(), createElementBlock("label", {
3719
+ key: 0,
3720
+ for: unref(hasId)
3721
+ }, toDisplayString(_ctx.label), 9, _hoisted_1$8)) : createCommentVNode("v-if", true),
3722
+ createElementVNode("div", _hoisted_2$6, [
3723
+ _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
3724
+ renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
3725
+ ])) : createCommentVNode("v-if", true),
3726
+ createElementVNode("div", _hoisted_4$4, [
3727
+ unref(hasIconBefore) ? (openBlock(), createBlock(
3728
+ _sfc_main$o,
3729
+ mergeProps({
3730
+ key: 0,
3731
+ class: "vv-select__icon"
3732
+ }, unref(hasIcon)),
3733
+ null,
3734
+ 16
3735
+ /* FULL_PROPS */
3736
+ )) : createCommentVNode("v-if", true),
3737
+ withDirectives(createElementVNode("select", mergeProps({
3738
+ id: unref(hasId),
3739
+ ref_key: "select",
3740
+ ref: select,
3741
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(localModelValue) ? localModelValue.value = $event : null)
3742
+ }, unref(hasAttrs)), [
3743
+ _ctx.placeholder ? (openBlock(), createElementBlock("option", {
3744
+ key: 0,
3745
+ value: void 0,
3746
+ disabled: !_ctx.unselectable,
3747
+ hidden: !_ctx.unselectable
3748
+ }, toDisplayString(_ctx.placeholder), 9, _hoisted_6$3)) : createCommentVNode("v-if", true),
3749
+ (openBlock(true), createElementBlock(
3750
+ Fragment,
3751
+ null,
3752
+ renderList(_ctx.options, (option, index) => {
3753
+ return openBlock(), createElementBlock(
3754
+ Fragment,
3755
+ null,
3756
+ [
3757
+ !isGroup(option) ? (openBlock(), createElementBlock("option", {
3758
+ key: index,
3759
+ disabled: unref(isOptionDisabled)(option),
3760
+ value: unref(getOptionValue)(option)
3761
+ }, toDisplayString(unref(getOptionLabel)(option)), 9, _hoisted_7$3)) : (openBlock(), createElementBlock("optgroup", {
3762
+ key: `group-${index}`,
3763
+ disabled: unref(isOptionDisabled)(option),
3764
+ label: unref(getOptionLabel)(option)
3765
+ }, [
3766
+ (openBlock(true), createElementBlock(
3767
+ Fragment,
3768
+ null,
3769
+ renderList(unref(getOptionGrouped)(option), (item, i) => {
3770
+ return openBlock(), createElementBlock("option", {
3771
+ key: `group-${index}-item-${i}`,
3772
+ disabled: unref(isOptionDisabled)(item),
3773
+ value: unref(getOptionValue)(item)
3774
+ }, toDisplayString(unref(getOptionLabel)(item)), 9, _hoisted_9$1);
3775
+ }),
3776
+ 128
3777
+ /* KEYED_FRAGMENT */
3778
+ ))
3779
+ ], 8, _hoisted_8$2))
3780
+ ],
3781
+ 64
3782
+ /* STABLE_FRAGMENT */
3783
+ );
3784
+ }),
3785
+ 256
3786
+ /* UNKEYED_FRAGMENT */
3787
+ ))
3788
+ ], 16, _hoisted_5$3), [
3789
+ [vModelSelect, unref(localModelValue)]
3790
+ ]),
3791
+ unref(hasIconAfter) ? (openBlock(), createBlock(
3792
+ _sfc_main$o,
3793
+ mergeProps({
3794
+ key: 1,
3795
+ class: "vv-select__icon vv-select__icon-after"
3796
+ }, unref(hasIcon)),
3797
+ null,
3798
+ 16
3799
+ /* FULL_PROPS */
3800
+ )) : createCommentVNode("v-if", true)
3547
3801
  ]),
3548
- unref(hasIconAfter) ? (openBlock(), createBlock(_sfc_main$o, mergeProps({
3549
- key: 1,
3550
- class: "vv-select__icon vv-select__icon-after"
3551
- }, unref(hasIcon)), null, 16)) : createCommentVNode("", true)
3802
+ _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_10, [
3803
+ renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps(unref(slotProps))))
3804
+ ])) : createCommentVNode("v-if", true)
3552
3805
  ]),
3553
- _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_10, [
3554
- renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps(unref(slotProps))))
3555
- ])) : createCommentVNode("", true)
3556
- ]),
3557
- createVNode(unref(HintSlot), {
3558
- id: unref(hasHintId),
3559
- class: "vv-select__hint"
3560
- }, createSlots({ _: 2 }, [
3561
- _ctx.$slots.hint ? {
3562
- name: "hint",
3563
- fn: withCtx(() => [
3564
- renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
3565
- ]),
3566
- key: "0"
3567
- } : void 0,
3568
- _ctx.$slots.loading ? {
3569
- name: "loading",
3570
- fn: withCtx(() => [
3571
- renderSlot(_ctx.$slots, "loading", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
3572
- ]),
3573
- key: "1"
3574
- } : void 0,
3575
- _ctx.$slots.valid ? {
3576
- name: "valid",
3577
- fn: withCtx(() => [
3578
- renderSlot(_ctx.$slots, "valid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
3579
- ]),
3580
- key: "2"
3581
- } : void 0,
3582
- _ctx.$slots.invalid ? {
3583
- name: "invalid",
3584
- fn: withCtx(() => [
3585
- renderSlot(_ctx.$slots, "invalid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
3586
- ]),
3587
- key: "3"
3588
- } : void 0
3589
- ]), 1032, ["id"])
3590
- ], 2);
3806
+ createVNode(unref(HintSlot), {
3807
+ id: unref(hasHintId),
3808
+ class: "vv-select__hint"
3809
+ }, createSlots({
3810
+ _: 2
3811
+ /* DYNAMIC */
3812
+ }, [
3813
+ _ctx.$slots.hint ? {
3814
+ name: "hint",
3815
+ fn: withCtx(() => [
3816
+ renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
3817
+ ]),
3818
+ key: "0"
3819
+ } : void 0,
3820
+ _ctx.$slots.loading ? {
3821
+ name: "loading",
3822
+ fn: withCtx(() => [
3823
+ renderSlot(_ctx.$slots, "loading", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
3824
+ ]),
3825
+ key: "1"
3826
+ } : void 0,
3827
+ _ctx.$slots.valid ? {
3828
+ name: "valid",
3829
+ fn: withCtx(() => [
3830
+ renderSlot(_ctx.$slots, "valid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
3831
+ ]),
3832
+ key: "2"
3833
+ } : void 0,
3834
+ _ctx.$slots.invalid ? {
3835
+ name: "invalid",
3836
+ fn: withCtx(() => [
3837
+ renderSlot(_ctx.$slots, "invalid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
3838
+ ]),
3839
+ key: "3"
3840
+ } : void 0
3841
+ ]), 1032, ["id"])
3842
+ ],
3843
+ 2
3844
+ /* CLASS */
3845
+ );
3591
3846
  };
3592
3847
  }
3593
3848
  });
@@ -3902,208 +4157,307 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
3902
4157
  key: 0,
3903
4158
  id: unref(hasLabelId),
3904
4159
  for: unref(propsDefaults).searchable ? unref(hasSearchId) : void 0
3905
- }, toDisplayString(_ctx.label), 9, _hoisted_2$5)) : createCommentVNode("", true),
3906
- createElementVNode("div", {
3907
- ref_key: "wrapperEl",
3908
- ref: wrapperEl,
3909
- class: "vv-select__wrapper"
3910
- }, [
3911
- createVNode(_sfc_main$f, mergeProps({
3912
- ref_key: "dropdownEl",
3913
- ref: dropdownEl,
3914
- modelValue: unref(expanded),
3915
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(expanded) ? expanded.value = $event : null)
3916
- }, unref(dropdownProps), {
3917
- role: unref(DropdownRole).listbox,
3918
- onAfterExpand,
3919
- onAfterCollapse
3920
- }), createSlots({
3921
- default: withCtx(({ aria }) => [
3922
- _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_4$3, [
3923
- renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
3924
- ])) : createCommentVNode("", true),
3925
- createElementVNode("div", _hoisted_5$2, [
3926
- unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$o, mergeProps({
3927
- key: 0,
3928
- class: "vv-select__icon"
3929
- }, unref(hasIcon)), null, 16)) : createCommentVNode("", true),
3930
- createElementVNode("div", mergeProps({
3931
- ref_key: "inputEl",
3932
- ref: inputEl
3933
- }, aria, {
3934
- class: "vv-select__input",
3935
- role: "combobox",
3936
- "aria-expanded": unref(expanded),
3937
- "aria-labelledby": unref(hasLabelId),
3938
- "aria-describedby": unref(hasHintLabelOrSlot) ? unref(hasHintId) : void 0,
3939
- "aria-errormessage": unref(hasInvalidLabelOrSlot) ? unref(hasHintId) : void 0,
3940
- tabindex: unref(hasTabindex),
3941
- onClickPassive: onClickInput
3942
- }), [
3943
- renderSlot(_ctx.$slots, "value", normalizeProps(guardReactiveProps({ selectedOptions: unref(selectedOptions), onInput })), () => [
3944
- unref(hasValue) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
3945
- !_ctx.badges ? (openBlock(), createElementBlock("div", _hoisted_7$2, toDisplayString(unref(hasValue)), 1)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(selectedOptions), (option, index) => {
3946
- return openBlock(), createBlock(_sfc_main$m, {
3947
- key: index,
3948
- modifiers: _ctx.badgeModifiers,
3949
- class: "vv-select__badge"
3950
- }, {
3951
- default: withCtx(() => [
3952
- createTextVNode(toDisplayString(unref(getOptionLabel)(option)) + " ", 1),
3953
- _ctx.unselectable && !unref(readonly) && !unref(disabled) ? (openBlock(), createElementBlock("button", {
3954
- key: 0,
3955
- "aria-label": unref(propsDefaults).deselectActionLabel,
3956
- type: "button",
3957
- onClick: withModifiers(($event) => onInput(option), ["stop"])
3958
- }, [
3959
- createVNode(_sfc_main$o, { name: "close" })
3960
- ], 8, _hoisted_8$1)) : createCommentVNode("", true)
3961
- ]),
3962
- _: 2
3963
- }, 1032, ["modifiers"]);
3964
- }), 128))
3965
- ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
3966
- createTextVNode(toDisplayString(_ctx.placeholder), 1)
3967
- ], 64))
3968
- ])
3969
- ], 16, _hoisted_6$2),
3970
- unref(hasIconAfter) ? (openBlock(), createBlock(_sfc_main$o, mergeProps({
3971
- key: 1,
3972
- class: "vv-select__icon vv-select__icon-after"
3973
- }, unref(hasIcon)), null, 16)) : createCommentVNode("", true)
3974
- ]),
3975
- _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_9, [
3976
- renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps(unref(slotProps))))
3977
- ])) : createCommentVNode("", true)
3978
- ]),
3979
- items: withCtx(() => {
3980
- var _a;
3981
- return [
3982
- !unref(disabled) && ((_a = unref(filteredOptions)) == null ? void 0 : _a.length) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(filteredOptions), (option, index) => {
3983
- return openBlock(), createElementBlock(Fragment, { key: index }, [
3984
- isGroup(option) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
3985
- createVNode(_sfc_main$c, {
3986
- label: unref(getOptionLabel)(option)
3987
- }, null, 8, ["label"]),
3988
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(getOptionGrouped)(
3989
- option
3990
- ), (item, i) => {
3991
- return openBlock(), createBlock(_sfc_main$d, mergeProps({
3992
- selected: isOptionSelected(item),
3993
- disabled: unref(isOptionDisabled)(item),
3994
- unselectable: _ctx.unselectable,
3995
- deselectHintLabel: unref(propsDefaults).deselectHintLabel,
3996
- selectHintLabel: unref(propsDefaults).selectHintLabel,
3997
- selectedHintLabel: unref(propsDefaults).selectedHintLabel
3998
- }, {
3999
- key: i,
4000
- class: "vv-dropdown-option",
4001
- onClickPassive: ($event) => onInput(item)
4002
- }), {
4003
- default: withCtx(() => [
4004
- renderSlot(_ctx.$slots, "option", normalizeProps(guardReactiveProps({
4005
- option,
4006
- selectedOptions: unref(selectedOptions),
4007
- selected: isOptionSelected(item),
4008
- disabled: unref(isOptionDisabled)(item)
4009
- })), () => [
4010
- createTextVNode(toDisplayString(unref(getOptionLabel)(item)), 1)
4011
- ])
4012
- ]),
4013
- _: 2
4014
- }, 1040, ["onClickPassive"]);
4015
- }), 128))
4016
- ], 64)) : (openBlock(), createBlock(_sfc_main$d, mergeProps({ key: 1 }, {
4017
- selected: isOptionSelected(option),
4018
- disabled: unref(isOptionDisabled)(option),
4019
- unselectable: _ctx.unselectable,
4020
- deselectHintLabel: unref(propsDefaults).deselectHintLabel,
4021
- selectHintLabel: unref(propsDefaults).selectHintLabel,
4022
- selectedHintLabel: unref(propsDefaults).selectedHintLabel
4023
- }, {
4024
- class: "vv-dropdown-option",
4025
- onClickPassive: ($event) => onInput(option)
4026
- }), {
4027
- default: withCtx(() => [
4028
- renderSlot(_ctx.$slots, "option", normalizeProps(guardReactiveProps({
4029
- option,
4030
- selectedOptions: unref(selectedOptions),
4031
- selected: isOptionSelected(option),
4032
- disabled: unref(isOptionDisabled)(option)
4033
- })), () => [
4034
- createTextVNode(toDisplayString(unref(getOptionLabel)(option)), 1)
4035
- ])
4036
- ]),
4037
- _: 2
4038
- }, 1040, ["onClickPassive"]))
4039
- ], 64);
4040
- }), 128)) : !_ctx.options.length ? (openBlock(), createBlock(_sfc_main$d, {
4041
- key: 1,
4042
- modifiers: "inert"
4043
- }, {
4044
- default: withCtx(() => [
4045
- renderSlot(_ctx.$slots, "no-options", {}, () => [
4046
- createTextVNode(toDisplayString(unref(propsDefaults).noOptionsLabel), 1)
4047
- ])
4048
- ]),
4049
- _: 3
4050
- })) : !unref(disabled) ? (openBlock(), createBlock(_sfc_main$d, {
4051
- key: 2,
4052
- modifiers: "inert"
4053
- }, {
4054
- default: withCtx(() => [
4055
- renderSlot(_ctx.$slots, "no-results", {}, () => [
4056
- createTextVNode(toDisplayString(unref(propsDefaults).noResultsLabel), 1)
4160
+ }, toDisplayString(_ctx.label), 9, _hoisted_2$5)) : createCommentVNode("v-if", true),
4161
+ createElementVNode(
4162
+ "div",
4163
+ {
4164
+ ref_key: "wrapperEl",
4165
+ ref: wrapperEl,
4166
+ class: "vv-select__wrapper"
4167
+ },
4168
+ [
4169
+ createVNode(_sfc_main$f, mergeProps({
4170
+ ref_key: "dropdownEl",
4171
+ ref: dropdownEl,
4172
+ modelValue: unref(expanded),
4173
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(expanded) ? expanded.value = $event : null)
4174
+ }, unref(dropdownProps), {
4175
+ role: unref(DropdownRole).listbox,
4176
+ onAfterExpand,
4177
+ onAfterCollapse
4178
+ }), createSlots({
4179
+ default: withCtx(({ aria }) => [
4180
+ _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_4$3, [
4181
+ renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
4182
+ ])) : createCommentVNode("v-if", true),
4183
+ createElementVNode("div", _hoisted_5$2, [
4184
+ unref(hasIconBefore) ? (openBlock(), createBlock(
4185
+ _sfc_main$o,
4186
+ mergeProps({
4187
+ key: 0,
4188
+ class: "vv-select__icon"
4189
+ }, unref(hasIcon)),
4190
+ null,
4191
+ 16
4192
+ /* FULL_PROPS */
4193
+ )) : createCommentVNode("v-if", true),
4194
+ createElementVNode("div", mergeProps({
4195
+ ref_key: "inputEl",
4196
+ ref: inputEl
4197
+ }, aria, {
4198
+ class: "vv-select__input",
4199
+ role: "combobox",
4200
+ "aria-expanded": unref(expanded),
4201
+ "aria-labelledby": unref(hasLabelId),
4202
+ "aria-describedby": unref(hasHintLabelOrSlot) ? unref(hasHintId) : void 0,
4203
+ "aria-errormessage": unref(hasInvalidLabelOrSlot) ? unref(hasHintId) : void 0,
4204
+ tabindex: unref(hasTabindex),
4205
+ onClickPassive: onClickInput
4206
+ }), [
4207
+ renderSlot(_ctx.$slots, "value", normalizeProps(guardReactiveProps({ selectedOptions: unref(selectedOptions), onInput })), () => [
4208
+ unref(hasValue) ? (openBlock(), createElementBlock(
4209
+ Fragment,
4210
+ { key: 0 },
4211
+ [
4212
+ !_ctx.badges ? (openBlock(), createElementBlock(
4213
+ "div",
4214
+ _hoisted_7$2,
4215
+ toDisplayString(unref(hasValue)),
4216
+ 1
4217
+ /* TEXT */
4218
+ )) : (openBlock(true), createElementBlock(
4219
+ Fragment,
4220
+ { key: 1 },
4221
+ renderList(unref(selectedOptions), (option, index) => {
4222
+ return openBlock(), createBlock(_sfc_main$m, {
4223
+ key: index,
4224
+ modifiers: _ctx.badgeModifiers,
4225
+ class: "vv-select__badge"
4226
+ }, {
4227
+ default: withCtx(() => [
4228
+ createTextVNode(
4229
+ toDisplayString(unref(getOptionLabel)(option)) + " ",
4230
+ 1
4231
+ /* TEXT */
4232
+ ),
4233
+ _ctx.unselectable && !unref(readonly) && !unref(disabled) ? (openBlock(), createElementBlock("button", {
4234
+ key: 0,
4235
+ "aria-label": unref(propsDefaults).deselectActionLabel,
4236
+ type: "button",
4237
+ onClick: withModifiers(($event) => onInput(option), ["stop"])
4238
+ }, [
4239
+ createVNode(_sfc_main$o, { name: "close" })
4240
+ ], 8, _hoisted_8$1)) : createCommentVNode("v-if", true)
4241
+ ]),
4242
+ _: 2
4243
+ /* DYNAMIC */
4244
+ }, 1032, ["modifiers"]);
4245
+ }),
4246
+ 128
4247
+ /* KEYED_FRAGMENT */
4248
+ ))
4249
+ ],
4250
+ 64
4251
+ /* STABLE_FRAGMENT */
4252
+ )) : (openBlock(), createElementBlock(
4253
+ Fragment,
4254
+ { key: 1 },
4255
+ [
4256
+ createTextVNode(
4257
+ toDisplayString(_ctx.placeholder),
4258
+ 1
4259
+ /* TEXT */
4260
+ )
4261
+ ],
4262
+ 64
4263
+ /* STABLE_FRAGMENT */
4264
+ ))
4057
4265
  ])
4058
- ]),
4059
- _: 3
4060
- })) : createCommentVNode("", true)
4061
- ];
4062
- }),
4063
- after: withCtx(() => [
4064
- renderSlot(_ctx.$slots, "dropdown::after", {}, () => {
4266
+ ], 16, _hoisted_6$2),
4267
+ unref(hasIconAfter) ? (openBlock(), createBlock(
4268
+ _sfc_main$o,
4269
+ mergeProps({
4270
+ key: 1,
4271
+ class: "vv-select__icon vv-select__icon-after"
4272
+ }, unref(hasIcon)),
4273
+ null,
4274
+ 16
4275
+ /* FULL_PROPS */
4276
+ )) : createCommentVNode("v-if", true)
4277
+ ]),
4278
+ _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_9, [
4279
+ renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps(unref(slotProps))))
4280
+ ])) : createCommentVNode("v-if", true)
4281
+ ]),
4282
+ items: withCtx(() => {
4065
4283
  var _a;
4066
4284
  return [
4067
- ((_a = unref(dropdownEl)) == null ? void 0 : _a.customPosition) ? (openBlock(), createBlock(_sfc_main$k, {
4068
- key: 0,
4069
- label: unref(propsDefaults).closeLabel,
4070
- modifiers: "secondary",
4071
- onClick: _cache[1] || (_cache[1] = ($event) => unref(dropdownEl).hide())
4072
- }, null, 8, ["label"])) : createCommentVNode("", true)
4285
+ !unref(disabled) && ((_a = unref(filteredOptions)) == null ? void 0 : _a.length) ? (openBlock(true), createElementBlock(
4286
+ Fragment,
4287
+ { key: 0 },
4288
+ renderList(unref(filteredOptions), (option, index) => {
4289
+ return openBlock(), createElementBlock(
4290
+ Fragment,
4291
+ { key: index },
4292
+ [
4293
+ isGroup(option) ? (openBlock(), createElementBlock(
4294
+ Fragment,
4295
+ { key: 0 },
4296
+ [
4297
+ createVNode(_sfc_main$c, {
4298
+ label: unref(getOptionLabel)(option)
4299
+ }, null, 8, ["label"]),
4300
+ (openBlock(true), createElementBlock(
4301
+ Fragment,
4302
+ null,
4303
+ renderList(unref(getOptionGrouped)(
4304
+ option
4305
+ ), (item, i) => {
4306
+ return openBlock(), createBlock(_sfc_main$d, mergeProps({
4307
+ selected: isOptionSelected(item),
4308
+ disabled: unref(isOptionDisabled)(item),
4309
+ unselectable: _ctx.unselectable,
4310
+ deselectHintLabel: unref(propsDefaults).deselectHintLabel,
4311
+ selectHintLabel: unref(propsDefaults).selectHintLabel,
4312
+ selectedHintLabel: unref(propsDefaults).selectedHintLabel
4313
+ }, {
4314
+ key: i,
4315
+ class: "vv-dropdown-option",
4316
+ onClickPassive: ($event) => onInput(item)
4317
+ }), {
4318
+ default: withCtx(() => [
4319
+ renderSlot(_ctx.$slots, "option", normalizeProps(guardReactiveProps({
4320
+ option,
4321
+ selectedOptions: unref(selectedOptions),
4322
+ selected: isOptionSelected(item),
4323
+ disabled: unref(isOptionDisabled)(item)
4324
+ })), () => [
4325
+ createTextVNode(
4326
+ toDisplayString(unref(getOptionLabel)(item)),
4327
+ 1
4328
+ /* TEXT */
4329
+ )
4330
+ ])
4331
+ ]),
4332
+ _: 2
4333
+ /* DYNAMIC */
4334
+ }, 1040, ["onClickPassive"]);
4335
+ }),
4336
+ 128
4337
+ /* KEYED_FRAGMENT */
4338
+ ))
4339
+ ],
4340
+ 64
4341
+ /* STABLE_FRAGMENT */
4342
+ )) : (openBlock(), createBlock(_sfc_main$d, mergeProps({ key: 1 }, {
4343
+ selected: isOptionSelected(option),
4344
+ disabled: unref(isOptionDisabled)(option),
4345
+ unselectable: _ctx.unselectable,
4346
+ deselectHintLabel: unref(propsDefaults).deselectHintLabel,
4347
+ selectHintLabel: unref(propsDefaults).selectHintLabel,
4348
+ selectedHintLabel: unref(propsDefaults).selectedHintLabel
4349
+ }, {
4350
+ class: "vv-dropdown-option",
4351
+ onClickPassive: ($event) => onInput(option)
4352
+ }), {
4353
+ default: withCtx(() => [
4354
+ renderSlot(_ctx.$slots, "option", normalizeProps(guardReactiveProps({
4355
+ option,
4356
+ selectedOptions: unref(selectedOptions),
4357
+ selected: isOptionSelected(option),
4358
+ disabled: unref(isOptionDisabled)(option)
4359
+ })), () => [
4360
+ createTextVNode(
4361
+ toDisplayString(unref(getOptionLabel)(option)),
4362
+ 1
4363
+ /* TEXT */
4364
+ )
4365
+ ])
4366
+ ]),
4367
+ _: 2
4368
+ /* DYNAMIC */
4369
+ }, 1040, ["onClickPassive"]))
4370
+ ],
4371
+ 64
4372
+ /* STABLE_FRAGMENT */
4373
+ );
4374
+ }),
4375
+ 128
4376
+ /* KEYED_FRAGMENT */
4377
+ )) : !_ctx.options.length ? (openBlock(), createBlock(_sfc_main$d, {
4378
+ key: 1,
4379
+ modifiers: "inert"
4380
+ }, {
4381
+ default: withCtx(() => [
4382
+ renderSlot(_ctx.$slots, "no-options", {}, () => [
4383
+ createTextVNode(
4384
+ toDisplayString(unref(propsDefaults).noOptionsLabel),
4385
+ 1
4386
+ /* TEXT */
4387
+ )
4388
+ ])
4389
+ ]),
4390
+ _: 3
4391
+ /* FORWARDED */
4392
+ })) : !unref(disabled) ? (openBlock(), createBlock(_sfc_main$d, {
4393
+ key: 2,
4394
+ modifiers: "inert"
4395
+ }, {
4396
+ default: withCtx(() => [
4397
+ renderSlot(_ctx.$slots, "no-results", {}, () => [
4398
+ createTextVNode(
4399
+ toDisplayString(unref(propsDefaults).noResultsLabel),
4400
+ 1
4401
+ /* TEXT */
4402
+ )
4403
+ ])
4404
+ ]),
4405
+ _: 3
4406
+ /* FORWARDED */
4407
+ })) : createCommentVNode("v-if", true)
4073
4408
  ];
4074
- })
4075
- ]),
4076
- _: 2
4077
- }, [
4078
- unref(propsDefaults).searchable || _ctx.$slots["dropdown::before"] ? {
4079
- name: "before",
4080
- fn: withCtx(() => [
4081
- renderSlot(_ctx.$slots, "dropdown::before"),
4082
- unref(propsDefaults).searchable && !unref(disabled) ? withDirectives((openBlock(), createElementBlock("input", {
4083
- key: 0,
4084
- id: unref(hasSearchId),
4085
- ref_key: "inputSearchEl",
4086
- ref: inputSearchEl,
4087
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(searchText) ? searchText.value = $event : null),
4088
- "aria-autocomplete": "list",
4089
- "aria-controls": unref(hasDropdownId),
4090
- autocomplete: "off",
4091
- spellcheck: "false",
4092
- type: "search",
4093
- class: "vv-dropdown__search",
4094
- placeholder: unref(propsDefaults).searchPlaceholder
4095
- }, null, 8, _hoisted_3$3)), [
4096
- [vModelText, unref(searchText)]
4097
- ]) : createCommentVNode("", true)
4409
+ }),
4410
+ after: withCtx(() => [
4411
+ renderSlot(_ctx.$slots, "dropdown::after", {}, () => {
4412
+ var _a;
4413
+ return [
4414
+ ((_a = unref(dropdownEl)) == null ? void 0 : _a.customPosition) ? (openBlock(), createBlock(_sfc_main$k, {
4415
+ key: 0,
4416
+ label: unref(propsDefaults).closeLabel,
4417
+ modifiers: "secondary",
4418
+ onClick: _cache[1] || (_cache[1] = ($event) => unref(dropdownEl).hide())
4419
+ }, null, 8, ["label"])) : createCommentVNode("v-if", true)
4420
+ ];
4421
+ })
4098
4422
  ]),
4099
- key: "0"
4100
- } : void 0
4101
- ]), 1040, ["modelValue", "role"])
4102
- ], 512),
4423
+ _: 2
4424
+ /* DYNAMIC */
4425
+ }, [
4426
+ unref(propsDefaults).searchable || _ctx.$slots["dropdown::before"] ? {
4427
+ name: "before",
4428
+ fn: withCtx(() => [
4429
+ renderSlot(_ctx.$slots, "dropdown::before"),
4430
+ unref(propsDefaults).searchable && !unref(disabled) ? withDirectives((openBlock(), createElementBlock("input", {
4431
+ key: 0,
4432
+ id: unref(hasSearchId),
4433
+ ref_key: "inputSearchEl",
4434
+ ref: inputSearchEl,
4435
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(searchText) ? searchText.value = $event : null),
4436
+ "aria-autocomplete": "list",
4437
+ "aria-controls": unref(hasDropdownId),
4438
+ autocomplete: "off",
4439
+ spellcheck: "false",
4440
+ type: "search",
4441
+ class: "vv-dropdown__search",
4442
+ placeholder: unref(propsDefaults).searchPlaceholder
4443
+ }, null, 8, _hoisted_3$3)), [
4444
+ [vModelText, unref(searchText)]
4445
+ ]) : createCommentVNode("v-if", true)
4446
+ ]),
4447
+ key: "0"
4448
+ } : void 0
4449
+ ]), 1040, ["modelValue", "role"])
4450
+ ],
4451
+ 512
4452
+ /* NEED_PATCH */
4453
+ ),
4103
4454
  createVNode(unref(HintSlot), {
4104
4455
  id: unref(hasHintId),
4105
4456
  class: "vv-select__hint"
4106
- }, createSlots({ _: 2 }, [
4457
+ }, createSlots({
4458
+ _: 2
4459
+ /* DYNAMIC */
4460
+ }, [
4107
4461
  _ctx.$slots.hint ? {
4108
4462
  name: "hint",
4109
4463
  fn: withCtx(() => [
@@ -4133,9 +4487,15 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
4133
4487
  key: "3"
4134
4488
  } : void 0
4135
4489
  ]), 1032, ["id"])
4136
- ], 10, _hoisted_1$7)) : (openBlock(), createBlock(_sfc_main$b, mergeProps({ key: 1 }, unref(selectProps), {
4137
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => emit("update:modelValue", $event))
4138
- }), null, 16));
4490
+ ], 10, _hoisted_1$7)) : (openBlock(), createBlock(
4491
+ _sfc_main$b,
4492
+ mergeProps({ key: 1 }, unref(selectProps), {
4493
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => emit("update:modelValue", $event))
4494
+ }),
4495
+ null,
4496
+ 16
4497
+ /* FULL_PROPS */
4498
+ ));
4139
4499
  };
4140
4500
  }
4141
4501
  });
@@ -4278,7 +4638,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
4278
4638
  }
4279
4639
  };
4280
4640
  return (_ctx, _cache) => {
4281
- return openBlock(), createBlock(Transition, mergeProps({ name: unref(transitioName) }, toHandlers(dialogTransitionHandlers)), {
4641
+ return openBlock(), createBlock(Transition, mergeProps({ name: unref(transitioName) }, toHandlers(dialogTransitionHandlers), { persisted: "" }), {
4282
4642
  default: withCtx(() => [
4283
4643
  withDirectives(createElementVNode("dialog", mergeProps(unref(dialogAttrs), {
4284
4644
  ref_key: "dialogEl",
@@ -4286,36 +4646,53 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
4286
4646
  class: unref(dialogClass),
4287
4647
  onCancel: withModifiers(onCancel, ["stop", "prevent"])
4288
4648
  }), [
4289
- createElementVNode("article", {
4290
- ref_key: "modalWrapper",
4291
- ref: modalWrapper,
4292
- class: "vv-dialog__wrapper"
4293
- }, [
4294
- _ctx.$slots.header || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_2$4, [
4295
- renderSlot(_ctx.$slots, "header", {}, () => [
4296
- createTextVNode(toDisplayString(_ctx.title) + " ", 1),
4297
- createElementVNode("button", {
4298
- type: "button",
4299
- "aria-label": "Close",
4300
- class: "vv-dialog__close",
4301
- onClickPassive: close
4302
- }, [
4303
- createVNode(_sfc_main$o, { name: "close" })
4304
- ], 32)
4305
- ])
4306
- ])) : createCommentVNode("", true),
4307
- createElementVNode("div", _hoisted_3$2, [
4308
- renderSlot(_ctx.$slots, "default")
4309
- ]),
4310
- _ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_4$2, [
4311
- renderSlot(_ctx.$slots, "footer")
4312
- ])) : createCommentVNode("", true)
4313
- ], 512)
4649
+ createElementVNode(
4650
+ "article",
4651
+ {
4652
+ ref_key: "modalWrapper",
4653
+ ref: modalWrapper,
4654
+ class: "vv-dialog__wrapper"
4655
+ },
4656
+ [
4657
+ _ctx.$slots.header || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_2$4, [
4658
+ renderSlot(_ctx.$slots, "header", {}, () => [
4659
+ createTextVNode(
4660
+ toDisplayString(_ctx.title) + " ",
4661
+ 1
4662
+ /* TEXT */
4663
+ ),
4664
+ createElementVNode(
4665
+ "button",
4666
+ {
4667
+ type: "button",
4668
+ "aria-label": "Close",
4669
+ class: "vv-dialog__close",
4670
+ onClickPassive: close
4671
+ },
4672
+ [
4673
+ createVNode(_sfc_main$o, { name: "close" })
4674
+ ],
4675
+ 32
4676
+ /* HYDRATE_EVENTS */
4677
+ )
4678
+ ])
4679
+ ])) : createCommentVNode("v-if", true),
4680
+ createElementVNode("div", _hoisted_3$2, [
4681
+ renderSlot(_ctx.$slots, "default")
4682
+ ]),
4683
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_4$2, [
4684
+ renderSlot(_ctx.$slots, "footer")
4685
+ ])) : createCommentVNode("v-if", true)
4686
+ ],
4687
+ 512
4688
+ /* NEED_PATCH */
4689
+ )
4314
4690
  ], 16, _hoisted_1$6), [
4315
4691
  [vShow, unref(isOpened)]
4316
4692
  ])
4317
4693
  ]),
4318
4694
  _: 3
4695
+ /* FORWARDED */
4319
4696
  }, 16, ["name"]);
4320
4697
  };
4321
4698
  }
@@ -4986,7 +5363,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
4986
5363
  return;
4987
5364
  }
4988
5365
  inputEl.value.stepUp();
4989
- localModelValue.value = unref(inputEl).value;
5366
+ localModelValue.value = Number(unref(inputEl).value);
4990
5367
  }
4991
5368
  };
4992
5369
  const onStepDown = () => {
@@ -4996,7 +5373,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
4996
5373
  return;
4997
5374
  }
4998
5375
  inputEl.value.stepDown();
4999
- localModelValue.value = unref(inputEl).value;
5376
+ localModelValue.value = Number(unref(inputEl).value);
5000
5377
  }
5001
5378
  };
5002
5379
  const isSearch = computed(() => props.type === INPUT_TYPES.SEARCH);
@@ -5160,101 +5537,130 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
5160
5537
  emit("keydown", event);
5161
5538
  };
5162
5539
  return (_ctx, _cache) => {
5163
- return openBlock(), createElementBlock("div", {
5164
- class: normalizeClass(unref(bemCssClasses))
5165
- }, [
5166
- unref(label) ? (openBlock(), createElementBlock("label", {
5167
- key: 0,
5168
- for: unref(hasId),
5169
- class: "vv-input-text__label"
5170
- }, toDisplayString(unref(label)), 9, _hoisted_1$5)) : createCommentVNode("", true),
5171
- createElementVNode("div", _hoisted_2$3, [
5172
- _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_3$1, [
5173
- renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
5174
- ])) : createCommentVNode("", true),
5175
- createElementVNode("div", {
5176
- ref_key: "innerEl",
5177
- ref: innerEl,
5178
- class: "vv-input-text__inner",
5179
- onClick: withModifiers(onClickInner, ["stop"])
5180
- }, [
5181
- unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$o, mergeProps({
5182
- key: 0,
5183
- class: "vv-input-text__icon"
5184
- }, unref(hasIcon)), null, 16)) : createCommentVNode("", true),
5185
- createElementVNode("input", mergeProps({
5186
- id: unref(hasId),
5187
- ref_key: "inputEl",
5188
- ref: inputEl
5189
- }, unref(hasAttrs), {
5190
- style: unref(hasStyle),
5191
- onKeyup: _cache[0] || (_cache[0] = ($event) => emit("keyup", $event)),
5192
- onKeydown: onKeyDown,
5193
- onKeypress: _cache[1] || (_cache[1] = ($event) => emit("keypress", $event))
5194
- }), null, 16, _hoisted_5$1),
5195
- (_ctx.unit || _ctx.$slots.unit) && unref(isDirty) ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
5196
- renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(unref(slotProps))), () => [
5197
- createTextVNode(toDisplayString(_ctx.unit), 1)
5540
+ return openBlock(), createElementBlock(
5541
+ "div",
5542
+ {
5543
+ class: normalizeClass(unref(bemCssClasses))
5544
+ },
5545
+ [
5546
+ unref(label) ? (openBlock(), createElementBlock("label", {
5547
+ key: 0,
5548
+ for: unref(hasId),
5549
+ class: "vv-input-text__label"
5550
+ }, toDisplayString(unref(label)), 9, _hoisted_1$5)) : createCommentVNode("v-if", true),
5551
+ createElementVNode("div", _hoisted_2$3, [
5552
+ _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_3$1, [
5553
+ renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
5554
+ ])) : createCommentVNode("v-if", true),
5555
+ createElementVNode("div", {
5556
+ ref_key: "innerEl",
5557
+ ref: innerEl,
5558
+ class: "vv-input-text__inner",
5559
+ onClick: withModifiers(onClickInner, ["stop"])
5560
+ }, [
5561
+ unref(hasIconBefore) ? (openBlock(), createBlock(
5562
+ _sfc_main$o,
5563
+ mergeProps({
5564
+ key: 0,
5565
+ class: "vv-input-text__icon"
5566
+ }, unref(hasIcon)),
5567
+ null,
5568
+ 16
5569
+ /* FULL_PROPS */
5570
+ )) : createCommentVNode("v-if", true),
5571
+ createElementVNode("input", mergeProps({
5572
+ id: unref(hasId),
5573
+ ref_key: "inputEl",
5574
+ ref: inputEl
5575
+ }, unref(hasAttrs), {
5576
+ style: unref(hasStyle),
5577
+ onKeyup: _cache[0] || (_cache[0] = ($event) => emit("keyup", $event)),
5578
+ onKeydown: onKeyDown,
5579
+ onKeypress: _cache[1] || (_cache[1] = ($event) => emit("keypress", $event))
5580
+ }), null, 16, _hoisted_5$1),
5581
+ (_ctx.unit || _ctx.$slots.unit) && unref(isDirty) ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
5582
+ renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(unref(slotProps))), () => [
5583
+ createTextVNode(
5584
+ toDisplayString(_ctx.unit),
5585
+ 1
5586
+ /* TEXT */
5587
+ )
5588
+ ])
5589
+ ])) : createCommentVNode("v-if", true)
5590
+ ], 8, _hoisted_4$1),
5591
+ unref(hasIconAfter) || unref(defaultAfterIcon) ? (openBlock(), createBlock(
5592
+ _sfc_main$o,
5593
+ mergeProps({
5594
+ key: 1,
5595
+ class: "vv-input-text__icon vv-input-text__icon-after"
5596
+ }, unref(hasIconAfter) ? unref(hasIcon) : unref(defaultAfterIcon)),
5597
+ null,
5598
+ 16
5599
+ /* FULL_PROPS */
5600
+ )) : unref(isPassword) && !_ctx.hideActions && unref(isClickable) ? (openBlock(), createBlock(unref(PasswordInputActions), {
5601
+ key: 2,
5602
+ onTogglePassword
5603
+ })) : unref(isNumber) && !_ctx.hideActions && unref(isClickable) ? (openBlock(), createBlock(unref(NumberInputActions), {
5604
+ key: 3,
5605
+ onStepUp,
5606
+ onStepDown
5607
+ })) : unref(isSearch) && !_ctx.hideActions && unref(isClickable) ? (openBlock(), createBlock(unref(SearchInputActions), {
5608
+ key: 4,
5609
+ onClear
5610
+ })) : createCommentVNode("v-if", true),
5611
+ _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_7$1, [
5612
+ renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps(unref(slotProps))))
5613
+ ])) : createCommentVNode("v-if", true),
5614
+ unref(count) ? (openBlock(), createElementBlock("span", _hoisted_8, [
5615
+ renderSlot(_ctx.$slots, "count", normalizeProps(guardReactiveProps(unref(slotProps))), () => [
5616
+ createTextVNode(
5617
+ toDisplayString(unref(countFormatted)),
5618
+ 1
5619
+ /* TEXT */
5620
+ )
5198
5621
  ])
5199
- ])) : createCommentVNode("", true)
5200
- ], 8, _hoisted_4$1),
5201
- unref(hasIconAfter) || unref(defaultAfterIcon) ? (openBlock(), createBlock(_sfc_main$o, mergeProps({
5202
- key: 1,
5203
- class: "vv-input-text__icon vv-input-text__icon-after"
5204
- }, unref(hasIconAfter) ? unref(hasIcon) : unref(defaultAfterIcon)), null, 16)) : unref(isPassword) && !_ctx.hideActions && unref(isClickable) ? (openBlock(), createBlock(unref(PasswordInputActions), {
5205
- key: 2,
5206
- onTogglePassword
5207
- })) : unref(isNumber) && !_ctx.hideActions && unref(isClickable) ? (openBlock(), createBlock(unref(NumberInputActions), {
5208
- key: 3,
5209
- onStepUp,
5210
- onStepDown
5211
- })) : unref(isSearch) && !_ctx.hideActions && unref(isClickable) ? (openBlock(), createBlock(unref(SearchInputActions), {
5212
- key: 4,
5213
- onClear
5214
- })) : createCommentVNode("", true),
5215
- _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_7$1, [
5216
- renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps(unref(slotProps))))
5217
- ])) : createCommentVNode("", true),
5218
- unref(count) ? (openBlock(), createElementBlock("span", _hoisted_8, [
5219
- renderSlot(_ctx.$slots, "count", normalizeProps(guardReactiveProps(unref(slotProps))), () => [
5220
- createTextVNode(toDisplayString(unref(countFormatted)), 1)
5221
- ])
5222
- ])) : createCommentVNode("", true)
5223
- ]),
5224
- createVNode(unref(HintSlot), {
5225
- id: unref(hasHintId),
5226
- class: "vv-input-text__hint"
5227
- }, createSlots({ _: 2 }, [
5228
- _ctx.$slots.hint ? {
5229
- name: "hint",
5230
- fn: withCtx(() => [
5231
- renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5232
- ]),
5233
- key: "0"
5234
- } : void 0,
5235
- _ctx.$slots.loading ? {
5236
- name: "loading",
5237
- fn: withCtx(() => [
5238
- renderSlot(_ctx.$slots, "loading", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5239
- ]),
5240
- key: "1"
5241
- } : void 0,
5242
- _ctx.$slots.valid ? {
5243
- name: "valid",
5244
- fn: withCtx(() => [
5245
- renderSlot(_ctx.$slots, "valid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5246
- ]),
5247
- key: "2"
5248
- } : void 0,
5249
- _ctx.$slots.invalid ? {
5250
- name: "invalid",
5251
- fn: withCtx(() => [
5252
- renderSlot(_ctx.$slots, "invalid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5253
- ]),
5254
- key: "3"
5255
- } : void 0
5256
- ]), 1032, ["id"])
5257
- ], 2);
5622
+ ])) : createCommentVNode("v-if", true)
5623
+ ]),
5624
+ createVNode(unref(HintSlot), {
5625
+ id: unref(hasHintId),
5626
+ class: "vv-input-text__hint"
5627
+ }, createSlots({
5628
+ _: 2
5629
+ /* DYNAMIC */
5630
+ }, [
5631
+ _ctx.$slots.hint ? {
5632
+ name: "hint",
5633
+ fn: withCtx(() => [
5634
+ renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5635
+ ]),
5636
+ key: "0"
5637
+ } : void 0,
5638
+ _ctx.$slots.loading ? {
5639
+ name: "loading",
5640
+ fn: withCtx(() => [
5641
+ renderSlot(_ctx.$slots, "loading", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5642
+ ]),
5643
+ key: "1"
5644
+ } : void 0,
5645
+ _ctx.$slots.valid ? {
5646
+ name: "valid",
5647
+ fn: withCtx(() => [
5648
+ renderSlot(_ctx.$slots, "valid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5649
+ ]),
5650
+ key: "2"
5651
+ } : void 0,
5652
+ _ctx.$slots.invalid ? {
5653
+ name: "invalid",
5654
+ fn: withCtx(() => [
5655
+ renderSlot(_ctx.$slots, "invalid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5656
+ ]),
5657
+ key: "3"
5658
+ } : void 0
5659
+ ]), 1032, ["id"])
5660
+ ],
5661
+ 2
5662
+ /* CLASS */
5663
+ );
5258
5664
  };
5259
5665
  }
5260
5666
  });
@@ -5276,12 +5682,19 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
5276
5682
  setup(__props) {
5277
5683
  return (_ctx, _cache) => {
5278
5684
  return openBlock(), createElementBlock("li", _hoisted_1$4, [
5279
- createVNode(_sfc_main$p, mergeProps(_ctx.$attrs, { class: "vv-nav__item-label" }), {
5280
- default: withCtx(() => [
5281
- renderSlot(_ctx.$slots, "default")
5282
- ]),
5283
- _: 3
5284
- }, 16)
5685
+ createVNode(
5686
+ _sfc_main$p,
5687
+ mergeProps(_ctx.$attrs, { class: "vv-nav__item-label" }),
5688
+ {
5689
+ default: withCtx(() => [
5690
+ renderSlot(_ctx.$slots, "default")
5691
+ ]),
5692
+ _: 3
5693
+ /* FORWARDED */
5694
+ },
5695
+ 16
5696
+ /* FULL_PROPS */
5697
+ )
5285
5698
  ]);
5286
5699
  };
5287
5700
  }
@@ -5308,25 +5721,37 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
5308
5721
  };
5309
5722
  const bemCssClasses = useModifiers("vv-nav", modifiers);
5310
5723
  return (_ctx, _cache) => {
5311
- return openBlock(), createElementBlock("nav", {
5312
- class: normalizeClass(unref(bemCssClasses))
5313
- }, [
5314
- createElementVNode("ul", {
5315
- class: "vv-nav__menu",
5316
- role: "menu",
5317
- "aria-busy": "true",
5318
- onClick: withModifiers(onClick, ["stop"])
5319
- }, [
5320
- renderSlot(_ctx.$slots, "default", {}, () => [
5321
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, ({ on = {}, ...item }, index) => {
5322
- return openBlock(), createBlock(_sfc_main$7, mergeProps({
5323
- key: index,
5324
- "data-index": index
5325
- }, item, toHandlers(on)), null, 16, ["data-index"]);
5326
- }), 128))
5327
- ])
5328
- ], 8, _hoisted_1$3)
5329
- ], 2);
5724
+ return openBlock(), createElementBlock(
5725
+ "nav",
5726
+ {
5727
+ class: normalizeClass(unref(bemCssClasses))
5728
+ },
5729
+ [
5730
+ createElementVNode("ul", {
5731
+ class: "vv-nav__menu",
5732
+ role: "menu",
5733
+ "aria-busy": "true",
5734
+ onClick: withModifiers(onClick, ["stop"])
5735
+ }, [
5736
+ renderSlot(_ctx.$slots, "default", {}, () => [
5737
+ (openBlock(true), createElementBlock(
5738
+ Fragment,
5739
+ null,
5740
+ renderList(_ctx.items, ({ on = {}, ...item }, index) => {
5741
+ return openBlock(), createBlock(_sfc_main$7, mergeProps({
5742
+ key: index,
5743
+ "data-index": index
5744
+ }, item, toHandlers(on)), null, 16, ["data-index"]);
5745
+ }),
5746
+ 128
5747
+ /* KEYED_FRAGMENT */
5748
+ ))
5749
+ ])
5750
+ ], 8, _hoisted_1$3)
5751
+ ],
5752
+ 2
5753
+ /* CLASS */
5754
+ );
5330
5755
  };
5331
5756
  }
5332
5757
  });
@@ -5377,12 +5802,18 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
5377
5802
  computed(() => ({ indeterminate: indeterminate.value }))
5378
5803
  );
5379
5804
  return (_ctx, _cache) => {
5380
- return openBlock(), createElementBlock("progress", mergeProps({ role: "progressbar" }, {
5381
- class: unref(bemCssClasses),
5382
- ariaLabel: unref(ariaLabel),
5383
- max: unref(max),
5384
- value: unref(value)
5385
- }), null, 16);
5805
+ return openBlock(), createElementBlock(
5806
+ "progress",
5807
+ mergeProps({ role: "progressbar" }, {
5808
+ class: unref(bemCssClasses),
5809
+ ariaLabel: unref(ariaLabel),
5810
+ max: unref(max),
5811
+ value: unref(value)
5812
+ }),
5813
+ null,
5814
+ 16
5815
+ /* FULL_PROPS */
5816
+ );
5386
5817
  };
5387
5818
  }
5388
5819
  });
@@ -5510,12 +5941,19 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
5510
5941
  [vModelRadio, unref(localModelValue)]
5511
5942
  ]),
5512
5943
  renderSlot(_ctx.$slots, "default", { value: unref(modelValue) }, () => [
5513
- createTextVNode(toDisplayString(_ctx.label), 1)
5944
+ createTextVNode(
5945
+ toDisplayString(_ctx.label),
5946
+ 1
5947
+ /* TEXT */
5948
+ )
5514
5949
  ]),
5515
5950
  createVNode(unref(HintSlot), {
5516
5951
  id: unref(hasHintId),
5517
5952
  class: "vv-radio__hint"
5518
- }, createSlots({ _: 2 }, [
5953
+ }, createSlots({
5954
+ _: 2
5955
+ /* DYNAMIC */
5956
+ }, [
5519
5957
  _ctx.$slots.hint ? {
5520
5958
  name: "hint",
5521
5959
  fn: withCtx(() => [
@@ -5600,49 +6038,76 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
5600
6038
  };
5601
6039
  const { HintSlot, hintSlotScope } = HintSlotFactory(propsDefaults, slots);
5602
6040
  return (_ctx, _cache) => {
5603
- return openBlock(), createElementBlock("fieldset", {
5604
- class: normalizeClass(unref(bemCssClasses))
5605
- }, [
5606
- _ctx.label ? (openBlock(), createElementBlock("legend", {
5607
- key: 0,
5608
- textContent: toDisplayString(_ctx.label)
5609
- }, null, 8, _hoisted_1$1)) : createCommentVNode("", true),
5610
- createElementVNode("div", _hoisted_2$1, [
5611
- _ctx.options.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.options, (option, index) => {
5612
- return openBlock(), createBlock(_sfc_main$4, mergeProps({ key: index }, getOptionProps(option, index)), null, 16);
5613
- }), 128)) : renderSlot(_ctx.$slots, "default", { key: 1 })
5614
- ]),
5615
- createVNode(unref(HintSlot), { class: "vv-radio-group__hint" }, createSlots({ _: 2 }, [
5616
- _ctx.$slots.hint ? {
5617
- name: "hint",
5618
- fn: withCtx(() => [
5619
- renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5620
- ]),
5621
- key: "0"
5622
- } : void 0,
5623
- _ctx.$slots.loading ? {
5624
- name: "loading",
5625
- fn: withCtx(() => [
5626
- renderSlot(_ctx.$slots, "loading", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5627
- ]),
5628
- key: "1"
5629
- } : void 0,
5630
- _ctx.$slots.valid ? {
5631
- name: "valid",
5632
- fn: withCtx(() => [
5633
- renderSlot(_ctx.$slots, "valid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5634
- ]),
5635
- key: "2"
5636
- } : void 0,
5637
- _ctx.$slots.invalid ? {
5638
- name: "invalid",
5639
- fn: withCtx(() => [
5640
- renderSlot(_ctx.$slots, "invalid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
6041
+ return openBlock(), createElementBlock(
6042
+ "fieldset",
6043
+ {
6044
+ class: normalizeClass(unref(bemCssClasses))
6045
+ },
6046
+ [
6047
+ _ctx.label ? (openBlock(), createElementBlock("legend", {
6048
+ key: 0,
6049
+ textContent: toDisplayString(_ctx.label)
6050
+ }, null, 8, _hoisted_1$1)) : createCommentVNode("v-if", true),
6051
+ createElementVNode("div", _hoisted_2$1, [
6052
+ _ctx.options.length > 0 ? (openBlock(true), createElementBlock(
6053
+ Fragment,
6054
+ { key: 0 },
6055
+ renderList(_ctx.options, (option, index) => {
6056
+ return openBlock(), createBlock(
6057
+ _sfc_main$4,
6058
+ mergeProps({ key: index }, getOptionProps(option, index)),
6059
+ null,
6060
+ 16
6061
+ /* FULL_PROPS */
6062
+ );
6063
+ }),
6064
+ 128
6065
+ /* KEYED_FRAGMENT */
6066
+ )) : renderSlot(_ctx.$slots, "default", { key: 1 })
6067
+ ]),
6068
+ createVNode(
6069
+ unref(HintSlot),
6070
+ { class: "vv-radio-group__hint" },
6071
+ createSlots({
6072
+ _: 2
6073
+ /* DYNAMIC */
6074
+ }, [
6075
+ _ctx.$slots.hint ? {
6076
+ name: "hint",
6077
+ fn: withCtx(() => [
6078
+ renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
6079
+ ]),
6080
+ key: "0"
6081
+ } : void 0,
6082
+ _ctx.$slots.loading ? {
6083
+ name: "loading",
6084
+ fn: withCtx(() => [
6085
+ renderSlot(_ctx.$slots, "loading", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
6086
+ ]),
6087
+ key: "1"
6088
+ } : void 0,
6089
+ _ctx.$slots.valid ? {
6090
+ name: "valid",
6091
+ fn: withCtx(() => [
6092
+ renderSlot(_ctx.$slots, "valid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
6093
+ ]),
6094
+ key: "2"
6095
+ } : void 0,
6096
+ _ctx.$slots.invalid ? {
6097
+ name: "invalid",
6098
+ fn: withCtx(() => [
6099
+ renderSlot(_ctx.$slots, "invalid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
6100
+ ]),
6101
+ key: "3"
6102
+ } : void 0
5641
6103
  ]),
5642
- key: "3"
5643
- } : void 0
5644
- ]), 1024)
5645
- ], 2);
6104
+ 1024
6105
+ /* DYNAMIC_SLOTS */
6106
+ )
6107
+ ],
6108
+ 2
6109
+ /* CLASS */
6110
+ );
5646
6111
  };
5647
6112
  }
5648
6113
  });
@@ -5707,24 +6172,54 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
5707
6172
  );
5708
6173
  const bemCssClasses = useModifiers("vv-tab", modifiers);
5709
6174
  return (_ctx, _cache) => {
5710
- return openBlock(), createElementBlock("div", {
5711
- class: normalizeClass(unref(bemCssClasses))
5712
- }, [
5713
- createVNode(_sfc_main$6, mergeProps({
5714
- items: unref(navItems),
5715
- modifiers: unref(hasNavModifiers)
5716
- }, { onClick: onNavClick }), null, 16),
5717
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(items), (item, index) => {
5718
- return openBlock(), createElementBlock(Fragment, { key: index }, [
5719
- item.tab ? (openBlock(), createElementBlock("article", {
5720
- key: 0,
5721
- class: normalizeClass([{ target: unref(activeTabKey) === item.tab }, "vv-tab__panel"])
5722
- }, [
5723
- renderSlot(_ctx.$slots, `panel::${item.tab}`)
5724
- ], 2)) : createCommentVNode("", true)
5725
- ], 64);
5726
- }), 128))
5727
- ], 2);
6175
+ return openBlock(), createElementBlock(
6176
+ "div",
6177
+ {
6178
+ class: normalizeClass(unref(bemCssClasses))
6179
+ },
6180
+ [
6181
+ createVNode(
6182
+ _sfc_main$6,
6183
+ mergeProps({
6184
+ items: unref(navItems),
6185
+ modifiers: unref(hasNavModifiers)
6186
+ }, { onClick: onNavClick }),
6187
+ null,
6188
+ 16
6189
+ /* FULL_PROPS */
6190
+ ),
6191
+ (openBlock(true), createElementBlock(
6192
+ Fragment,
6193
+ null,
6194
+ renderList(unref(items), (item, index) => {
6195
+ return openBlock(), createElementBlock(
6196
+ Fragment,
6197
+ { key: index },
6198
+ [
6199
+ item.tab ? (openBlock(), createElementBlock(
6200
+ "article",
6201
+ {
6202
+ key: 0,
6203
+ class: normalizeClass([{ target: unref(activeTabKey) === item.tab }, "vv-tab__panel"])
6204
+ },
6205
+ [
6206
+ renderSlot(_ctx.$slots, `panel::${item.tab}`)
6207
+ ],
6208
+ 2
6209
+ /* CLASS */
6210
+ )) : createCommentVNode("v-if", true)
6211
+ ],
6212
+ 64
6213
+ /* STABLE_FRAGMENT */
6214
+ );
6215
+ }),
6216
+ 128
6217
+ /* KEYED_FRAGMENT */
6218
+ ))
6219
+ ],
6220
+ 2
6221
+ /* CLASS */
6222
+ );
5728
6223
  };
5729
6224
  }
5730
6225
  });
@@ -5909,81 +6404,106 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
5909
6404
  localModelValue.value = void 0;
5910
6405
  };
5911
6406
  return (_ctx, _cache) => {
5912
- return openBlock(), createElementBlock("div", {
5913
- class: normalizeClass(unref(bemCssClasses))
5914
- }, [
5915
- unref(label) ? (openBlock(), createElementBlock("label", {
5916
- key: 0,
5917
- for: unref(hasId),
5918
- class: "vv-textarea__label"
5919
- }, toDisplayString(unref(label)), 9, _hoisted_1)) : createCommentVNode("", true),
5920
- createElementVNode("div", _hoisted_2, [
5921
- _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_3, [
5922
- renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
5923
- ])) : createCommentVNode("", true),
5924
- createElementVNode("div", _hoisted_4, [
5925
- unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$o, mergeProps({
5926
- key: 0,
5927
- class: "vv-textarea__icon"
5928
- }, unref(hasIcon)), null, 16)) : createCommentVNode("", true),
5929
- withDirectives(createElementVNode("textarea", mergeProps({
5930
- id: unref(hasId),
5931
- ref_key: "textarea",
5932
- ref: textarea,
5933
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(localModelValue) ? localModelValue.value = $event : null)
5934
- }, unref(hasAttrs), {
5935
- onKeyup: _cache[1] || (_cache[1] = ($event) => emit("keyup", $event))
5936
- }), null, 16, _hoisted_5), [
5937
- [vModelText, unref(localModelValue)]
6407
+ return openBlock(), createElementBlock(
6408
+ "div",
6409
+ {
6410
+ class: normalizeClass(unref(bemCssClasses))
6411
+ },
6412
+ [
6413
+ unref(label) ? (openBlock(), createElementBlock("label", {
6414
+ key: 0,
6415
+ for: unref(hasId),
6416
+ class: "vv-textarea__label"
6417
+ }, toDisplayString(unref(label)), 9, _hoisted_1)) : createCommentVNode("v-if", true),
6418
+ createElementVNode("div", _hoisted_2, [
6419
+ _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_3, [
6420
+ renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
6421
+ ])) : createCommentVNode("v-if", true),
6422
+ createElementVNode("div", _hoisted_4, [
6423
+ unref(hasIconBefore) ? (openBlock(), createBlock(
6424
+ _sfc_main$o,
6425
+ mergeProps({
6426
+ key: 0,
6427
+ class: "vv-textarea__icon"
6428
+ }, unref(hasIcon)),
6429
+ null,
6430
+ 16
6431
+ /* FULL_PROPS */
6432
+ )) : createCommentVNode("v-if", true),
6433
+ withDirectives(createElementVNode("textarea", mergeProps({
6434
+ id: unref(hasId),
6435
+ ref_key: "textarea",
6436
+ ref: textarea,
6437
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(localModelValue) ? localModelValue.value = $event : null)
6438
+ }, unref(hasAttrs), {
6439
+ onKeyup: _cache[1] || (_cache[1] = ($event) => emit("keyup", $event))
6440
+ }), null, 16, _hoisted_5), [
6441
+ [vModelText, unref(localModelValue)]
6442
+ ]),
6443
+ unref(hasIconAfter) ? (openBlock(), createBlock(
6444
+ _sfc_main$o,
6445
+ mergeProps({
6446
+ key: 1,
6447
+ class: "vv-textarea__icon vv-textarea__icon-after"
6448
+ }, unref(hasIcon)),
6449
+ null,
6450
+ 16
6451
+ /* FULL_PROPS */
6452
+ )) : createCommentVNode("v-if", true)
5938
6453
  ]),
5939
- unref(hasIconAfter) ? (openBlock(), createBlock(_sfc_main$o, mergeProps({
5940
- key: 1,
5941
- class: "vv-textarea__icon vv-textarea__icon-after"
5942
- }, unref(hasIcon)), null, 16)) : createCommentVNode("", true)
6454
+ _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_6, [
6455
+ renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps(unref(slotProps))))
6456
+ ])) : createCommentVNode("v-if", true),
6457
+ unref(count) ? (openBlock(), createElementBlock("span", _hoisted_7, [
6458
+ renderSlot(_ctx.$slots, "count", normalizeProps(guardReactiveProps(unref(slotProps))), () => [
6459
+ createTextVNode(
6460
+ toDisplayString(unref(countFormatted)),
6461
+ 1
6462
+ /* TEXT */
6463
+ )
6464
+ ])
6465
+ ])) : createCommentVNode("v-if", true)
5943
6466
  ]),
5944
- _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_6, [
5945
- renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps(unref(slotProps))))
5946
- ])) : createCommentVNode("", true),
5947
- unref(count) ? (openBlock(), createElementBlock("span", _hoisted_7, [
5948
- renderSlot(_ctx.$slots, "count", normalizeProps(guardReactiveProps(unref(slotProps))), () => [
5949
- createTextVNode(toDisplayString(unref(countFormatted)), 1)
5950
- ])
5951
- ])) : createCommentVNode("", true)
5952
- ]),
5953
- createVNode(unref(HintSlot), {
5954
- id: unref(hasHintId),
5955
- class: "vv-textarea__hint"
5956
- }, createSlots({ _: 2 }, [
5957
- _ctx.$slots.hint ? {
5958
- name: "hint",
5959
- fn: withCtx(() => [
5960
- renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5961
- ]),
5962
- key: "0"
5963
- } : void 0,
5964
- _ctx.$slots.loading ? {
5965
- name: "loading",
5966
- fn: withCtx(() => [
5967
- renderSlot(_ctx.$slots, "loading", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5968
- ]),
5969
- key: "1"
5970
- } : void 0,
5971
- _ctx.$slots.valid ? {
5972
- name: "valid",
5973
- fn: withCtx(() => [
5974
- renderSlot(_ctx.$slots, "valid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5975
- ]),
5976
- key: "2"
5977
- } : void 0,
5978
- _ctx.$slots.invalid ? {
5979
- name: "invalid",
5980
- fn: withCtx(() => [
5981
- renderSlot(_ctx.$slots, "invalid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5982
- ]),
5983
- key: "3"
5984
- } : void 0
5985
- ]), 1032, ["id"])
5986
- ], 2);
6467
+ createVNode(unref(HintSlot), {
6468
+ id: unref(hasHintId),
6469
+ class: "vv-textarea__hint"
6470
+ }, createSlots({
6471
+ _: 2
6472
+ /* DYNAMIC */
6473
+ }, [
6474
+ _ctx.$slots.hint ? {
6475
+ name: "hint",
6476
+ fn: withCtx(() => [
6477
+ renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
6478
+ ]),
6479
+ key: "0"
6480
+ } : void 0,
6481
+ _ctx.$slots.loading ? {
6482
+ name: "loading",
6483
+ fn: withCtx(() => [
6484
+ renderSlot(_ctx.$slots, "loading", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
6485
+ ]),
6486
+ key: "1"
6487
+ } : void 0,
6488
+ _ctx.$slots.valid ? {
6489
+ name: "valid",
6490
+ fn: withCtx(() => [
6491
+ renderSlot(_ctx.$slots, "valid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
6492
+ ]),
6493
+ key: "2"
6494
+ } : void 0,
6495
+ _ctx.$slots.invalid ? {
6496
+ name: "invalid",
6497
+ fn: withCtx(() => [
6498
+ renderSlot(_ctx.$slots, "invalid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
6499
+ ]),
6500
+ key: "3"
6501
+ } : void 0
6502
+ ]), 1032, ["id"])
6503
+ ],
6504
+ 2
6505
+ /* CLASS */
6506
+ );
5987
6507
  };
5988
6508
  }
5989
6509
  });
@@ -6015,15 +6535,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
6015
6535
  }))
6016
6536
  );
6017
6537
  return (_ctx, _cache) => {
6018
- return openBlock(), createElementBlock("span", {
6019
- class: normalizeClass(unref(bemCssClasses)),
6020
- role: "tooltip",
6021
- inert: ""
6022
- }, [
6023
- renderSlot(_ctx.$slots, "default", {}, () => [
6024
- createTextVNode(toDisplayString(_ctx.value), 1)
6025
- ])
6026
- ], 2);
6538
+ return openBlock(), createElementBlock(
6539
+ "span",
6540
+ {
6541
+ class: normalizeClass(unref(bemCssClasses)),
6542
+ role: "tooltip",
6543
+ inert: ""
6544
+ },
6545
+ [
6546
+ renderSlot(_ctx.$slots, "default", {}, () => [
6547
+ createTextVNode(
6548
+ toDisplayString(_ctx.value),
6549
+ 1
6550
+ /* TEXT */
6551
+ )
6552
+ ])
6553
+ ],
6554
+ 2
6555
+ /* CLASS */
6556
+ );
6027
6557
  };
6028
6558
  }
6029
6559
  });