@volverjs/ui-vue 0.0.10-beta.6 → 0.0.10-beta.8

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 (110) 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 +10 -2
  5. package/dist/components/VvAccordion/VvAccordion.vue.d.ts +4 -4
  6. package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +52 -25
  7. package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +4 -4
  8. package/dist/components/VvAction/VvAction.es.js +6 -1
  9. package/dist/components/VvAction/VvAction.vue.d.ts +4 -4
  10. package/dist/components/VvAlert/VvAlert.es.js +73 -43
  11. package/dist/components/VvAlert/VvAlert.umd.js +1 -1
  12. package/dist/components/VvAlert/VvAlert.vue.d.ts +4 -4
  13. package/dist/components/VvAlertGroup/VvAlertGroup.es.js +113 -64
  14. package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
  15. package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +4 -4
  16. package/dist/components/VvAvatar/VvAvatar.es.js +1 -1
  17. package/dist/components/VvAvatar/VvAvatar.umd.js +1 -1
  18. package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +56 -26
  19. package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
  20. package/dist/components/VvBadge/VvBadge.es.js +18 -8
  21. package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +61 -38
  22. package/dist/components/VvButton/VvButton.es.js +45 -17
  23. package/dist/components/VvButton/VvButton.umd.js +1 -1
  24. package/dist/components/VvButton/VvButton.vue.d.ts +15 -9
  25. package/dist/components/VvButton/index.d.ts +2 -2
  26. package/dist/components/VvButtonGroup/VvButtonGroup.es.js +12 -6
  27. package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +4 -4
  28. package/dist/components/VvCard/VvCard.es.js +26 -16
  29. package/dist/components/VvCard/VvCard.umd.js +1 -1
  30. package/dist/components/VvCheckbox/VvCheckbox.es.js +9 -2
  31. package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +4 -4
  32. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +78 -44
  33. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
  34. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +4 -4
  35. package/dist/components/VvCheckboxGroup/index.d.ts +1 -1
  36. package/dist/components/VvCombobox/VvCombobox.es.js +595 -372
  37. package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
  38. package/dist/components/VvCombobox/VvCombobox.vue.d.ts +7 -7
  39. package/dist/components/VvCombobox/index.d.ts +11 -6
  40. package/dist/components/VvDialog/VvDialog.es.js +44 -27
  41. package/dist/components/VvDialog/VvDialog.umd.js +1 -1
  42. package/dist/components/VvDialog/VvDialog.vue.d.ts +4 -4
  43. package/dist/components/VvDropdown/VvDropdown.es.js +64 -44
  44. package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
  45. package/dist/components/VvDropdown/VvDropdown.vue.d.ts +18 -4
  46. package/dist/components/VvDropdown/index.d.ts +1 -1
  47. package/dist/components/VvDropdownAction/VvDropdownAction.es.js +26 -9
  48. package/dist/components/VvDropdownItem/VvDropdownItem.es.js +13 -7
  49. package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +7 -1
  50. package/dist/components/VvDropdownOption/VvDropdownOption.es.js +19 -8
  51. package/dist/components/VvIcon/VvIcon.es.js +1 -1
  52. package/dist/components/VvIcon/VvIcon.umd.js +1 -1
  53. package/dist/components/VvInputText/VvInputText.es.js +126 -97
  54. package/dist/components/VvInputText/VvInputText.umd.js +1 -1
  55. package/dist/components/VvInputText/VvInputText.vue.d.ts +4 -4
  56. package/dist/components/VvNav/VvNav.es.js +50 -26
  57. package/dist/components/VvNav/VvNav.vue.d.ts +7 -7
  58. package/dist/components/VvNav/index.d.ts +1 -1
  59. package/dist/components/VvNavItem/VvNavItem.es.js +19 -7
  60. package/dist/components/VvProgress/VvProgress.es.js +12 -6
  61. package/dist/components/VvRadio/VvRadio.es.js +9 -2
  62. package/dist/components/VvRadio/VvRadio.vue.d.ts +4 -4
  63. package/dist/components/VvRadioGroup/VvRadioGroup.es.js +78 -44
  64. package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
  65. package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +4 -4
  66. package/dist/components/VvRadioGroup/index.d.ts +1 -1
  67. package/dist/components/VvSelect/VvSelect.es.js +133 -94
  68. package/dist/components/VvSelect/VvSelect.umd.js +1 -1
  69. package/dist/components/VvSelect/VvSelect.vue.d.ts +4 -4
  70. package/dist/components/VvSelect/index.d.ts +1 -1
  71. package/dist/components/VvTab/VvTab.es.js +98 -44
  72. package/dist/components/VvTab/VvTab.umd.js +1 -1
  73. package/dist/components/VvTab/VvTab.vue.d.ts +4 -4
  74. package/dist/components/VvTextarea/VvTextarea.es.js +99 -74
  75. package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
  76. package/dist/components/VvTextarea/VvTextarea.vue.d.ts +4 -4
  77. package/dist/components/VvTooltip/VvTooltip.es.js +19 -9
  78. package/dist/components/VvTooltip/VvTooltip.vue.d.ts +3 -3
  79. package/dist/components/VvTooltip/index.d.ts +1 -1
  80. package/dist/components/index.es.js +1363 -840
  81. package/dist/components/index.umd.js +1 -1
  82. package/dist/composables/useVolver.d.ts +1 -1
  83. package/dist/directives/index.d.ts +3 -5
  84. package/dist/directives/index.es.js +39 -23
  85. package/dist/directives/index.umd.js +1 -1
  86. package/dist/directives/v-tooltip.es.js +37 -18
  87. package/dist/directives/v-tooltip.umd.js +1 -1
  88. package/dist/icons.es.js +3 -3
  89. package/dist/icons.umd.js +1 -1
  90. package/dist/index.d.ts +3 -1
  91. package/dist/props/index.d.ts +1 -1
  92. package/dist/stories/AccordionGroup/AccordionGroup.stories.d.ts +46 -11
  93. package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +308 -59
  94. package/dist/stories/Combobox/Combobox.settings.d.ts +8 -0
  95. package/dist/stories/Tab/Tab.settings.d.ts +2 -15
  96. package/dist/types/generic.d.ts +1 -1
  97. package/package.json +35 -35
  98. package/src/Volver.ts +0 -1
  99. package/src/assets/icons/detailed.json +1 -1
  100. package/src/assets/icons/normal.json +1 -1
  101. package/src/assets/icons/simple.json +1 -1
  102. package/src/components/VvCombobox/VvCombobox.vue +7 -3
  103. package/src/components/VvCombobox/index.ts +4 -0
  104. package/src/components/VvInputText/VvInputText.vue +2 -2
  105. package/src/directives/index.ts +1 -4
  106. package/src/directives/v-tooltip.ts +19 -10
  107. package/src/index.ts +3 -1
  108. package/src/stories/Combobox/Combobox.settings.ts +8 -0
  109. package/src/stories/Tab/Tab.settings.ts +2 -2
  110. package/src/types/generic.ts +2 -1
@@ -834,7 +834,11 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
834
834
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => unref(onClick)(), ["prevent"]))
835
835
  }, [
836
836
  renderSlot(_ctx.$slots, "summary", normalizeProps(guardReactiveProps({ open: unref(isOpen) })), () => [
837
- createTextVNode(toDisplayString(unref(title)), 1)
837
+ createTextVNode(
838
+ toDisplayString(unref(title)),
839
+ 1
840
+ /* TEXT */
841
+ )
838
842
  ])
839
843
  ], 8, _hoisted_2$d),
840
844
  createElementVNode("div", {
@@ -842,7 +846,11 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
842
846
  class: "vv-accordion__content"
843
847
  }, [
844
848
  renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ open: unref(isOpen) })), () => [
845
- createTextVNode(toDisplayString(unref(content)), 1)
849
+ createTextVNode(
850
+ toDisplayString(unref(content)),
851
+ 1
852
+ /* TEXT */
853
+ )
846
854
  ])
847
855
  ], 8, _hoisted_3$7)
848
856
  ], 10, _hoisted_1$i);
@@ -964,29 +972,48 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
964
972
  }))
965
973
  );
966
974
  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);
975
+ return openBlock(), createElementBlock(
976
+ "div",
977
+ {
978
+ class: normalizeClass(unref(bemCssClasses))
979
+ },
980
+ [
981
+ renderSlot(_ctx.$slots, "default", {}, () => [
982
+ (openBlock(true), createElementBlock(
983
+ Fragment,
984
+ null,
985
+ renderList(unref(items), (item) => {
986
+ return openBlock(), createBlock(
987
+ _sfc_main$r,
988
+ mergeProps({
989
+ key: item.title
990
+ }, {
991
+ name: item.name,
992
+ title: item.title,
993
+ content: item.content
994
+ }),
995
+ {
996
+ header: withCtx((data) => [
997
+ renderSlot(_ctx.$slots, `header::${item.name}`, normalizeProps(guardReactiveProps(data)))
998
+ ]),
999
+ details: withCtx((data) => [
1000
+ renderSlot(_ctx.$slots, `details::${item.name}`, normalizeProps(guardReactiveProps(data)))
1001
+ ]),
1002
+ _: 2
1003
+ /* DYNAMIC */
1004
+ },
1005
+ 1040
1006
+ /* FULL_PROPS, DYNAMIC_SLOTS */
1007
+ );
1008
+ }),
1009
+ 128
1010
+ /* KEYED_FRAGMENT */
1011
+ ))
1012
+ ])
1013
+ ],
1014
+ 2
1015
+ /* CLASS */
1016
+ );
990
1017
  };
991
1018
  }
992
1019
  });
@@ -1108,10 +1135,15 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1108
1135
  }), {
1109
1136
  default: withCtx(() => [
1110
1137
  renderSlot(_ctx.$slots, "default", {}, () => [
1111
- createTextVNode(toDisplayString(_ctx.label), 1)
1138
+ createTextVNode(
1139
+ toDisplayString(_ctx.label),
1140
+ 1
1141
+ /* TEXT */
1142
+ )
1112
1143
  ])
1113
1144
  ]),
1114
1145
  _: 3
1146
+ /* FORWARDED */
1115
1147
  }, 16, ["class"]);
1116
1148
  };
1117
1149
  }
@@ -1302,7 +1334,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1302
1334
  color: _ctx.color,
1303
1335
  onLoad: _ctx.onLoad,
1304
1336
  icon: unref(icon)
1305
- }), null, 16, ["class"])) : createCommentVNode("", true);
1337
+ }), null, 16, ["class"])) : createCommentVNode("v-if", true);
1306
1338
  };
1307
1339
  }
1308
1340
  });
@@ -1457,7 +1489,13 @@ const _hoisted_1$h = {
1457
1489
  };
1458
1490
  const _hoisted_2$c = ["id"];
1459
1491
  const _hoisted_3$6 = ["aria-label"];
1460
- const _hoisted_4$5 = /* @__PURE__ */ createElementVNode("div", { class: "vv-alert__close-mask" }, null, -1);
1492
+ const _hoisted_4$5 = /* @__PURE__ */ createElementVNode(
1493
+ "div",
1494
+ { class: "vv-alert__close-mask" },
1495
+ null,
1496
+ -1
1497
+ /* HOISTED */
1498
+ );
1461
1499
  const _hoisted_5$4 = [
1462
1500
  _hoisted_4$5
1463
1501
  ];
@@ -1481,47 +1519,71 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
1481
1519
  const { hasProps, hasTitleId, hasIcon, close } = useVvAlert(props, emit);
1482
1520
  __expose({ close });
1483
1521
  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);
1522
+ return openBlock(), createElementBlock(
1523
+ "div",
1524
+ normalizeProps(guardReactiveProps(unref(hasProps))),
1525
+ [
1526
+ _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, [
1527
+ unref(hasIcon) ? (openBlock(), createBlock(
1528
+ _sfc_main$o,
1529
+ mergeProps({ key: 0 }, unref(hasIcon), { class: "vv-alert__icon" }),
1530
+ null,
1531
+ 16
1532
+ /* FULL_PROPS */
1533
+ )) : createCommentVNode("v-if", true),
1534
+ renderSlot(_ctx.$slots, "header", {}, () => [
1535
+ renderSlot(_ctx.$slots, "title::before"),
1536
+ _ctx.$slots.title || _ctx.title ? (openBlock(), createElementBlock("strong", {
1537
+ key: 0,
1538
+ id: unref(hasTitleId),
1539
+ class: "vv-alert__title"
1540
+ }, [
1541
+ renderSlot(_ctx.$slots, "title", {}, () => [
1542
+ createTextVNode(
1543
+ toDisplayString(_ctx.title),
1544
+ 1
1545
+ /* TEXT */
1546
+ )
1547
+ ])
1548
+ ], 8, _hoisted_2$c)) : createCommentVNode("v-if", true),
1549
+ renderSlot(_ctx.$slots, "title::after")
1550
+ ]),
1551
+ renderSlot(_ctx.$slots, "close", normalizeProps(guardReactiveProps({ close: unref(close) })), () => [
1552
+ _ctx.dismissable || _ctx.autoClose ? (openBlock(), createElementBlock("button", {
1553
+ key: 0,
1554
+ class: "vv-alert__close",
1555
+ type: "button",
1556
+ "aria-label": _ctx.closeLabel,
1557
+ onClick: _cache[0] || (_cache[0] = withModifiers(
1558
+ //@ts-ignore
1559
+ (...args) => unref(close) && unref(close)(...args),
1560
+ ["stop"]
1561
+ ))
1562
+ }, _hoisted_5$4, 8, _hoisted_3$6)) : createCommentVNode("v-if", true)
1563
+ ])
1564
+ ])) : createCommentVNode("v-if", true),
1565
+ _ctx.$slots.default || _ctx.content ? (openBlock(), createElementBlock("div", _hoisted_6$4, [
1566
+ renderSlot(_ctx.$slots, "default", {}, () => [
1567
+ createTextVNode(
1568
+ toDisplayString(_ctx.content),
1569
+ 1
1570
+ /* TEXT */
1571
+ )
1572
+ ])
1573
+ ])) : createCommentVNode("v-if", true),
1574
+ _ctx.$slots.footer || _ctx.footer ? (openBlock(), createElementBlock("div", _hoisted_7$4, [
1575
+ renderSlot(_ctx.$slots, "footer", {}, () => [
1576
+ createTextVNode(
1577
+ toDisplayString(_ctx.footer),
1578
+ 1
1579
+ /* TEXT */
1580
+ )
1581
+ ])
1582
+ ])) : createCommentVNode("v-if", true)
1583
+ ],
1584
+ 16
1585
+ /* FULL_PROPS */
1586
+ );
1525
1587
  };
1526
1588
  }
1527
1589
  });
@@ -1540,14 +1602,24 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
1540
1602
  const { modifiers } = toRefs(props);
1541
1603
  const bemCssClasses = useModifiers("vv-badge", modifiers);
1542
1604
  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);
1605
+ return openBlock(), createElementBlock(
1606
+ "span",
1607
+ {
1608
+ class: normalizeClass(unref(bemCssClasses)),
1609
+ role: "status"
1610
+ },
1611
+ [
1612
+ renderSlot(_ctx.$slots, "default", {}, () => [
1613
+ createTextVNode(
1614
+ toDisplayString(_ctx.value),
1615
+ 1
1616
+ /* TEXT */
1617
+ )
1618
+ ])
1619
+ ],
1620
+ 2
1621
+ /* CLASS */
1622
+ );
1551
1623
  };
1552
1624
  }
1553
1625
  });
@@ -1568,45 +1640,68 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
1568
1640
  const { modifiers } = toRefs(props);
1569
1641
  const bemCssClasses = useModifiers("vv-breadcrumb", modifiers);
1570
1642
  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
1643
+ return openBlock(), createElementBlock(
1644
+ "nav",
1645
+ {
1646
+ class: normalizeClass(unref(bemCssClasses)),
1647
+ "aria-label": "breadcrumbs"
1648
+ },
1649
+ [
1650
+ createElementVNode("ol", _hoisted_1$g, [
1651
+ (openBlock(true), createElementBlock(
1652
+ Fragment,
1653
+ null,
1654
+ renderList(_ctx.routes, (route, index) => {
1655
+ var _a, _b, _c, _d;
1656
+ return openBlock(), createElementBlock(
1657
+ "li",
1658
+ {
1659
+ key: `${route.label}-${index}`,
1660
+ class: normalizeClass({
1661
+ "vv-breadcrumb__item": index < Number((_a = _ctx.routes) == null ? void 0 : _a.length) - 1,
1662
+ "vv-breadcrumb__item-active": index === Number((_b = _ctx.routes) == null ? void 0 : _b.length) - 1
1663
+ }),
1664
+ itemprop: "itemListElement",
1665
+ itemtype: "https://schema.org/ListItem",
1666
+ itemscope: ""
1667
+ },
1668
+ [
1669
+ (openBlock(), createBlock(resolveDynamicComponent(route.to ? "router-link" : route.href ? "a" : "span"), mergeProps(route, {
1670
+ class: {
1671
+ "vv-breadcrumb__link": index < Number((_c = _ctx.routes) == null ? void 0 : _c.length) - 1
1672
+ },
1673
+ "aria-current": index === Number((_d = _ctx.routes) == null ? void 0 : _d.length) - 1 ? "page" : void 0,
1674
+ itemprop: "item"
1675
+ }), {
1676
+ default: withCtx(() => [
1677
+ renderSlot(_ctx.$slots, "label", normalizeProps(guardReactiveProps({ route, index })), () => [
1678
+ createTextVNode(
1679
+ toDisplayString(route.label),
1680
+ 1
1681
+ /* TEXT */
1682
+ )
1683
+ ])
1684
+ ]),
1685
+ _: 2
1686
+ /* DYNAMIC */
1687
+ }, 1040, ["class", "aria-current"])),
1688
+ createElementVNode("meta", {
1689
+ itemprop: "position",
1690
+ content: `${index + 1}`
1691
+ }, null, 8, _hoisted_2$b)
1692
+ ],
1693
+ 2
1694
+ /* CLASS */
1695
+ );
1583
1696
  }),
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);
1697
+ 128
1698
+ /* KEYED_FRAGMENT */
1699
+ ))
1700
+ ])
1701
+ ],
1702
+ 2
1703
+ /* CLASS */
1704
+ );
1610
1705
  };
1611
1706
  }
1612
1707
  });
@@ -1828,24 +1923,47 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1828
1923
  key: 0,
1829
1924
  class: "vv-button__loading-icon",
1830
1925
  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))
1926
+ }, null, 8, ["name"])) : createCommentVNode("v-if", true),
1927
+ _ctx.loadingLabel ? (openBlock(), createElementBlock(
1928
+ "span",
1929
+ _hoisted_1$f,
1930
+ toDisplayString(_ctx.loadingLabel),
1931
+ 1
1932
+ /* TEXT */
1933
+ )) : createCommentVNode("v-if", true)
1934
+ ]) : (openBlock(), createElementBlock(
1935
+ Fragment,
1936
+ { key: 1 },
1937
+ [
1938
+ renderSlot(_ctx.$slots, "before"),
1939
+ unref(icon) ? (openBlock(), createBlock(
1940
+ _sfc_main$o,
1941
+ mergeProps({
1942
+ key: 0,
1943
+ class: "vv-button__icon"
1944
+ }, unref(hasIconProps)),
1945
+ null,
1946
+ 16
1947
+ /* FULL_PROPS */
1948
+ )) : createCommentVNode("v-if", true),
1949
+ unref(label) ? (openBlock(), createElementBlock("span", _hoisted_2$a, [
1950
+ renderSlot(_ctx.$slots, "label", {}, () => [
1951
+ createTextVNode(
1952
+ toDisplayString(unref(label)),
1953
+ 1
1954
+ /* TEXT */
1955
+ )
1956
+ ])
1957
+ ])) : createCommentVNode("v-if", true),
1958
+ renderSlot(_ctx.$slots, "after")
1959
+ ],
1960
+ 64
1961
+ /* STABLE_FRAGMENT */
1962
+ ))
1846
1963
  ])
1847
1964
  ]),
1848
1965
  _: 3
1966
+ /* FORWARDED */
1849
1967
  }, 16, ["id", "class"]);
1850
1968
  };
1851
1969
  }
@@ -1918,12 +2036,18 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
1918
2036
  });
1919
2037
  const bemCssClasses = useModifiers("vv-button-group", modifiers);
1920
2038
  return (_ctx, _cache) => {
1921
- return openBlock(), createElementBlock("div", {
1922
- class: normalizeClass(unref(bemCssClasses)),
1923
- role: "group"
1924
- }, [
1925
- renderSlot(_ctx.$slots, "default")
1926
- ], 2);
2039
+ return openBlock(), createElementBlock(
2040
+ "div",
2041
+ {
2042
+ class: normalizeClass(unref(bemCssClasses)),
2043
+ role: "group"
2044
+ },
2045
+ [
2046
+ renderSlot(_ctx.$slots, "default")
2047
+ ],
2048
+ 2
2049
+ /* CLASS */
2050
+ );
1927
2051
  };
1928
2052
  }
1929
2053
  });
@@ -1954,22 +2078,32 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
1954
2078
  const { modifiers } = toRefs(props);
1955
2079
  const bemCssClasses = useModifiers("vv-card", modifiers);
1956
2080
  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);
2081
+ return openBlock(), createElementBlock(
2082
+ "article",
2083
+ {
2084
+ class: normalizeClass(unref(bemCssClasses))
2085
+ },
2086
+ [
2087
+ _ctx.$slots.header || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$e, [
2088
+ renderSlot(_ctx.$slots, "header", {}, () => [
2089
+ createTextVNode(
2090
+ toDisplayString(_ctx.title),
2091
+ 1
2092
+ /* TEXT */
2093
+ )
2094
+ ])
2095
+ ])) : createCommentVNode("v-if", true),
2096
+ renderSlot(_ctx.$slots, "default"),
2097
+ _ctx.$slots.content ? (openBlock(), createElementBlock("div", _hoisted_2$9, [
2098
+ renderSlot(_ctx.$slots, "content")
2099
+ ])) : createCommentVNode("v-if", true),
2100
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_3$5, [
2101
+ renderSlot(_ctx.$slots, "footer")
2102
+ ])) : createCommentVNode("v-if", true)
2103
+ ],
2104
+ 2
2105
+ /* CLASS */
2106
+ );
1973
2107
  };
1974
2108
  }
1975
2109
  });
@@ -2347,12 +2481,19 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
2347
2481
  [vModelCheckbox, unref(localModelValue)]
2348
2482
  ]),
2349
2483
  renderSlot(_ctx.$slots, "default", { value: unref(modelValue) }, () => [
2350
- createTextVNode(toDisplayString(_ctx.label), 1)
2484
+ createTextVNode(
2485
+ toDisplayString(_ctx.label),
2486
+ 1
2487
+ /* TEXT */
2488
+ )
2351
2489
  ]),
2352
2490
  createVNode(unref(HintSlot), {
2353
2491
  id: unref(hasHintId),
2354
2492
  class: "vv-checkbox__hint"
2355
- }, createSlots({ _: 2 }, [
2493
+ }, createSlots({
2494
+ _: 2
2495
+ /* DYNAMIC */
2496
+ }, [
2356
2497
  _ctx.$slots.hint ? {
2357
2498
  name: "hint",
2358
2499
  fn: withCtx(() => [
@@ -2469,54 +2610,85 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
2469
2610
  };
2470
2611
  const { HintSlot, hintSlotScope } = HintSlotFactory(propsDefaults, slots);
2471
2612
  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))))
2613
+ return openBlock(), createElementBlock(
2614
+ "fieldset",
2615
+ {
2616
+ class: normalizeClass(unref(bemCssClasses))
2617
+ },
2618
+ [
2619
+ _ctx.label ? (openBlock(), createElementBlock("legend", {
2620
+ key: 0,
2621
+ textContent: toDisplayString(_ctx.label)
2622
+ }, null, 8, _hoisted_1$c)) : createCommentVNode("v-if", true),
2623
+ createElementVNode("div", _hoisted_2$7, [
2624
+ _ctx.options.length > 0 ? (openBlock(true), createElementBlock(
2625
+ Fragment,
2626
+ { key: 0 },
2627
+ renderList(_ctx.options, (option, index) => {
2628
+ return openBlock(), createBlock(
2629
+ _sfc_main$h,
2630
+ mergeProps({ key: index }, getOptionProps(option, index)),
2631
+ null,
2632
+ 16
2633
+ /* FULL_PROPS */
2634
+ );
2635
+ }),
2636
+ 128
2637
+ /* KEYED_FRAGMENT */
2638
+ )) : renderSlot(_ctx.$slots, "default", { key: 1 })
2639
+ ]),
2640
+ createVNode(
2641
+ unref(HintSlot),
2642
+ { class: "vv-checkbox-group__hint" },
2643
+ createSlots({
2644
+ _: 2
2645
+ /* DYNAMIC */
2646
+ }, [
2647
+ _ctx.$slots.hint ? {
2648
+ name: "hint",
2649
+ fn: withCtx(() => [
2650
+ renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
2651
+ ]),
2652
+ key: "0"
2653
+ } : void 0,
2654
+ _ctx.$slots.loading ? {
2655
+ name: "loading",
2656
+ fn: withCtx(() => [
2657
+ renderSlot(_ctx.$slots, "loading", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
2658
+ ]),
2659
+ key: "1"
2660
+ } : void 0,
2661
+ _ctx.$slots.valid ? {
2662
+ name: "valid",
2663
+ fn: withCtx(() => [
2664
+ renderSlot(_ctx.$slots, "valid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
2665
+ ]),
2666
+ key: "2"
2667
+ } : void 0,
2668
+ _ctx.$slots.invalid ? {
2669
+ name: "invalid",
2670
+ fn: withCtx(() => [
2671
+ renderSlot(_ctx.$slots, "invalid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
2672
+ ]),
2673
+ key: "3"
2674
+ } : void 0
2510
2675
  ]),
2511
- key: "3"
2512
- } : void 0
2513
- ]), 1024)
2514
- ], 2);
2676
+ 1024
2677
+ /* DYNAMIC_SLOTS */
2678
+ )
2679
+ ],
2680
+ 2
2681
+ /* CLASS */
2682
+ );
2515
2683
  };
2516
2684
  }
2517
2685
  });
2518
2686
  const VvComboboxEvents = [
2519
2687
  "update:modelValue",
2688
+ "update:search",
2689
+ /**
2690
+ * @deprecated change:search should not be used, use update:search instead
2691
+ */
2520
2692
  "change:search",
2521
2693
  "focus",
2522
2694
  "blur"
@@ -3100,50 +3272,70 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
3100
3272
  }
3101
3273
  };
3102
3274
  return (_ctx, _cache) => {
3103
- return openBlock(), createElementBlock(Fragment, null, [
3104
- createVNode(unref(VvDropdownTriggerProvider), null, {
3105
- default: withCtx(() => [
3106
- renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ init, show, hide, toggle, expanded: unref(expanded), aria: unref(referenceAria) })))
3107
- ]),
3108
- _: 3
3109
- }),
3110
- createVNode(Transition, mergeProps({ name: _ctx.transitionName }, toHandlers(dropdownTransitionHandlers)), {
3111
- default: withCtx(() => [
3112
- withDirectives(createElementVNode("div", {
3113
- ref_key: "floatingEl",
3114
- ref: floatingEl,
3115
- style: normalizeStyle(unref(dropdownPlacement)),
3116
- class: normalizeClass(unref(bemCssClasses))
3117
- }, [
3118
- props.arrow ? (openBlock(), createElementBlock("div", {
3119
- key: 0,
3120
- ref_key: "arrowEl",
3121
- ref: arrowEl,
3122
- style: normalizeStyle(unref(arrowPlacement)),
3123
- class: "vv-dropdown__arrow"
3124
- }, null, 4)) : createCommentVNode("", true),
3125
- renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps({ expanded: unref(expanded) }))),
3126
- createElementVNode("div", mergeProps(unref(attrs), {
3127
- id: unref(hasId),
3128
- ref_key: "listEl",
3129
- ref: listEl,
3130
- tabindex: !unref(expanded) ? -1 : void 0,
3131
- role: unref(role),
3132
- "aria-labelledby": unref(hasAriaLabelledby),
3133
- class: "vv-dropdown__list"
3134
- }), [
3135
- renderSlot(_ctx.$slots, "items", normalizeProps(guardReactiveProps({
3136
- role: unref(itemRole)
3137
- })))
3138
- ], 16, _hoisted_1$b),
3139
- renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps({ expanded: unref(expanded) })))
3140
- ], 6), [
3141
- [vShow, unref(expanded)]
3142
- ])
3143
- ]),
3144
- _: 3
3145
- }, 16, ["name"])
3146
- ], 64);
3275
+ return openBlock(), createElementBlock(
3276
+ Fragment,
3277
+ null,
3278
+ [
3279
+ createVNode(unref(VvDropdownTriggerProvider), null, {
3280
+ default: withCtx(() => [
3281
+ renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ init, show, hide, toggle, expanded: unref(expanded), aria: unref(referenceAria) })))
3282
+ ]),
3283
+ _: 3
3284
+ /* FORWARDED */
3285
+ }),
3286
+ createVNode(Transition, mergeProps({ name: _ctx.transitionName }, toHandlers(dropdownTransitionHandlers), { persisted: "" }), {
3287
+ default: withCtx(() => [
3288
+ withDirectives(createElementVNode(
3289
+ "div",
3290
+ {
3291
+ ref_key: "floatingEl",
3292
+ ref: floatingEl,
3293
+ style: normalizeStyle(unref(dropdownPlacement)),
3294
+ class: normalizeClass(unref(bemCssClasses))
3295
+ },
3296
+ [
3297
+ props.arrow ? (openBlock(), createElementBlock(
3298
+ "div",
3299
+ {
3300
+ key: 0,
3301
+ ref_key: "arrowEl",
3302
+ ref: arrowEl,
3303
+ style: normalizeStyle(unref(arrowPlacement)),
3304
+ class: "vv-dropdown__arrow"
3305
+ },
3306
+ null,
3307
+ 4
3308
+ /* STYLE */
3309
+ )) : createCommentVNode("v-if", true),
3310
+ renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps({ expanded: unref(expanded) }))),
3311
+ createElementVNode("div", mergeProps(unref(attrs), {
3312
+ id: unref(hasId),
3313
+ ref_key: "listEl",
3314
+ ref: listEl,
3315
+ tabindex: !unref(expanded) ? -1 : void 0,
3316
+ role: unref(role),
3317
+ "aria-labelledby": unref(hasAriaLabelledby),
3318
+ class: "vv-dropdown__list"
3319
+ }), [
3320
+ renderSlot(_ctx.$slots, "items", normalizeProps(guardReactiveProps({
3321
+ role: unref(itemRole)
3322
+ })))
3323
+ ], 16, _hoisted_1$b),
3324
+ renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps({ expanded: unref(expanded) })))
3325
+ ],
3326
+ 6
3327
+ /* CLASS, STYLE */
3328
+ ), [
3329
+ [vShow, unref(expanded)]
3330
+ ])
3331
+ ]),
3332
+ _: 3
3333
+ /* FORWARDED */
3334
+ }, 16, ["name"])
3335
+ ],
3336
+ 64
3337
+ /* STABLE_FRAGMENT */
3338
+ );
3147
3339
  };
3148
3340
  }
3149
3341
  });
@@ -3165,13 +3357,19 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
3165
3357
  }
3166
3358
  });
3167
3359
  return (_ctx, _cache) => {
3168
- return openBlock(), createElementBlock("div", mergeProps({ role: unref(role) }, {
3169
- ref_key: "element",
3170
- ref: element,
3171
- class: ["vv-dropdown__item", { "focus-visible": unref(focused) || unref(focusedWithin) }]
3172
- }), [
3173
- renderSlot(_ctx.$slots, "default")
3174
- ], 16);
3360
+ return openBlock(), createElementBlock(
3361
+ "div",
3362
+ mergeProps({ role: unref(role) }, {
3363
+ ref_key: "element",
3364
+ ref: element,
3365
+ class: ["vv-dropdown__item", { "focus-visible": unref(focused) || unref(focusedWithin) }]
3366
+ }),
3367
+ [
3368
+ renderSlot(_ctx.$slots, "default")
3369
+ ],
3370
+ 16
3371
+ /* FULL_PROPS */
3372
+ );
3175
3373
  };
3176
3374
  }
3177
3375
  });
@@ -3230,11 +3428,16 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
3230
3428
  title: unref(hintLabel)
3231
3429
  }, [
3232
3430
  renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps({ disabled: _ctx.disabled, selected: _ctx.selected, unselectable: _ctx.unselectable })), () => [
3233
- createTextVNode(toDisplayString(unref(hintLabel)), 1)
3431
+ createTextVNode(
3432
+ toDisplayString(unref(hintLabel)),
3433
+ 1
3434
+ /* TEXT */
3435
+ )
3234
3436
  ])
3235
3437
  ], 8, _hoisted_1$a)
3236
3438
  ]),
3237
3439
  _: 3
3440
+ /* FORWARDED */
3238
3441
  }, 8, ["class", "tabindex", "aria-selected", "aria-disabled"]);
3239
3442
  };
3240
3443
  }
@@ -3255,7 +3458,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
3255
3458
  setup(__props) {
3256
3459
  const props = __props;
3257
3460
  return (_ctx, _cache) => {
3258
- return openBlock(), createElementBlock("li", _hoisted_1$9, toDisplayString(props.label), 1);
3461
+ return openBlock(), createElementBlock(
3462
+ "li",
3463
+ _hoisted_1$9,
3464
+ toDisplayString(props.label),
3465
+ 1
3466
+ /* TEXT */
3467
+ );
3259
3468
  };
3260
3469
  }
3261
3470
  });
@@ -3489,101 +3698,140 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
3489
3698
  return option && option.options && option.options.length > 0;
3490
3699
  };
3491
3700
  return (_ctx, _cache) => {
3492
- return openBlock(), createElementBlock("div", {
3493
- class: normalizeClass(unref(bemCssClasses))
3494
- }, [
3495
- _ctx.label ? (openBlock(), createElementBlock("label", {
3496
- key: 0,
3497
- for: unref(hasId)
3498
- }, toDisplayString(_ctx.label), 9, _hoisted_1$8)) : createCommentVNode("", true),
3499
- createElementVNode("div", _hoisted_2$6, [
3500
- _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
3501
- renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
3502
- ])) : createCommentVNode("", true),
3503
- createElementVNode("div", _hoisted_4$4, [
3504
- unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$o, mergeProps({
3505
- key: 0,
3506
- class: "vv-select__icon"
3507
- }, unref(hasIcon)), null, 16)) : createCommentVNode("", true),
3508
- withDirectives(createElementVNode("select", mergeProps({
3509
- id: unref(hasId),
3510
- ref_key: "select",
3511
- ref: select,
3512
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(localModelValue) ? localModelValue.value = $event : null)
3513
- }, unref(hasAttrs)), [
3514
- _ctx.placeholder ? (openBlock(), createElementBlock("option", {
3515
- key: 0,
3516
- value: void 0,
3517
- disabled: !_ctx.unselectable,
3518
- hidden: !_ctx.unselectable
3519
- }, toDisplayString(_ctx.placeholder), 9, _hoisted_6$3)) : createCommentVNode("", true),
3520
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option, index) => {
3521
- return openBlock(), createElementBlock(Fragment, null, [
3522
- !isGroup(option) ? (openBlock(), createElementBlock("option", {
3523
- key: index,
3524
- disabled: unref(isOptionDisabled)(option),
3525
- value: unref(getOptionValue)(option)
3526
- }, toDisplayString(unref(getOptionLabel)(option)), 9, _hoisted_7$3)) : (openBlock(), createElementBlock("optgroup", {
3527
- key: `group-${index}`,
3528
- disabled: unref(isOptionDisabled)(option),
3529
- label: unref(getOptionLabel)(option)
3530
- }, [
3531
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(getOptionGrouped)(option), (item, i) => {
3532
- return openBlock(), createElementBlock("option", {
3533
- key: `group-${index}-item-${i}`,
3534
- disabled: unref(isOptionDisabled)(item),
3535
- value: unref(getOptionValue)(item)
3536
- }, toDisplayString(unref(getOptionLabel)(item)), 9, _hoisted_9$1);
3537
- }), 128))
3538
- ], 8, _hoisted_8$2))
3539
- ], 64);
3540
- }), 256))
3541
- ], 16, _hoisted_5$3), [
3542
- [vModelSelect, unref(localModelValue)]
3701
+ return openBlock(), createElementBlock(
3702
+ "div",
3703
+ {
3704
+ class: normalizeClass(unref(bemCssClasses))
3705
+ },
3706
+ [
3707
+ _ctx.label ? (openBlock(), createElementBlock("label", {
3708
+ key: 0,
3709
+ for: unref(hasId)
3710
+ }, toDisplayString(_ctx.label), 9, _hoisted_1$8)) : createCommentVNode("v-if", true),
3711
+ createElementVNode("div", _hoisted_2$6, [
3712
+ _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
3713
+ renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
3714
+ ])) : createCommentVNode("v-if", true),
3715
+ createElementVNode("div", _hoisted_4$4, [
3716
+ unref(hasIconBefore) ? (openBlock(), createBlock(
3717
+ _sfc_main$o,
3718
+ mergeProps({
3719
+ key: 0,
3720
+ class: "vv-select__icon"
3721
+ }, unref(hasIcon)),
3722
+ null,
3723
+ 16
3724
+ /* FULL_PROPS */
3725
+ )) : createCommentVNode("v-if", true),
3726
+ withDirectives(createElementVNode("select", mergeProps({
3727
+ id: unref(hasId),
3728
+ ref_key: "select",
3729
+ ref: select,
3730
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(localModelValue) ? localModelValue.value = $event : null)
3731
+ }, unref(hasAttrs)), [
3732
+ _ctx.placeholder ? (openBlock(), createElementBlock("option", {
3733
+ key: 0,
3734
+ value: void 0,
3735
+ disabled: !_ctx.unselectable,
3736
+ hidden: !_ctx.unselectable
3737
+ }, toDisplayString(_ctx.placeholder), 9, _hoisted_6$3)) : createCommentVNode("v-if", true),
3738
+ (openBlock(true), createElementBlock(
3739
+ Fragment,
3740
+ null,
3741
+ renderList(_ctx.options, (option, index) => {
3742
+ return openBlock(), createElementBlock(
3743
+ Fragment,
3744
+ null,
3745
+ [
3746
+ !isGroup(option) ? (openBlock(), createElementBlock("option", {
3747
+ key: index,
3748
+ disabled: unref(isOptionDisabled)(option),
3749
+ value: unref(getOptionValue)(option)
3750
+ }, toDisplayString(unref(getOptionLabel)(option)), 9, _hoisted_7$3)) : (openBlock(), createElementBlock("optgroup", {
3751
+ key: `group-${index}`,
3752
+ disabled: unref(isOptionDisabled)(option),
3753
+ label: unref(getOptionLabel)(option)
3754
+ }, [
3755
+ (openBlock(true), createElementBlock(
3756
+ Fragment,
3757
+ null,
3758
+ renderList(unref(getOptionGrouped)(option), (item, i) => {
3759
+ return openBlock(), createElementBlock("option", {
3760
+ key: `group-${index}-item-${i}`,
3761
+ disabled: unref(isOptionDisabled)(item),
3762
+ value: unref(getOptionValue)(item)
3763
+ }, toDisplayString(unref(getOptionLabel)(item)), 9, _hoisted_9$1);
3764
+ }),
3765
+ 128
3766
+ /* KEYED_FRAGMENT */
3767
+ ))
3768
+ ], 8, _hoisted_8$2))
3769
+ ],
3770
+ 64
3771
+ /* STABLE_FRAGMENT */
3772
+ );
3773
+ }),
3774
+ 256
3775
+ /* UNKEYED_FRAGMENT */
3776
+ ))
3777
+ ], 16, _hoisted_5$3), [
3778
+ [vModelSelect, unref(localModelValue)]
3779
+ ]),
3780
+ unref(hasIconAfter) ? (openBlock(), createBlock(
3781
+ _sfc_main$o,
3782
+ mergeProps({
3783
+ key: 1,
3784
+ class: "vv-select__icon vv-select__icon-after"
3785
+ }, unref(hasIcon)),
3786
+ null,
3787
+ 16
3788
+ /* FULL_PROPS */
3789
+ )) : createCommentVNode("v-if", true)
3543
3790
  ]),
3544
- unref(hasIconAfter) ? (openBlock(), createBlock(_sfc_main$o, mergeProps({
3545
- key: 1,
3546
- class: "vv-select__icon vv-select__icon-after"
3547
- }, unref(hasIcon)), null, 16)) : createCommentVNode("", true)
3791
+ _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_10, [
3792
+ renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps(unref(slotProps))))
3793
+ ])) : createCommentVNode("v-if", true)
3548
3794
  ]),
3549
- _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_10, [
3550
- renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps(unref(slotProps))))
3551
- ])) : createCommentVNode("", true)
3552
- ]),
3553
- createVNode(unref(HintSlot), {
3554
- id: unref(hasHintId),
3555
- class: "vv-select__hint"
3556
- }, createSlots({ _: 2 }, [
3557
- _ctx.$slots.hint ? {
3558
- name: "hint",
3559
- fn: withCtx(() => [
3560
- renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
3561
- ]),
3562
- key: "0"
3563
- } : void 0,
3564
- _ctx.$slots.loading ? {
3565
- name: "loading",
3566
- fn: withCtx(() => [
3567
- renderSlot(_ctx.$slots, "loading", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
3568
- ]),
3569
- key: "1"
3570
- } : void 0,
3571
- _ctx.$slots.valid ? {
3572
- name: "valid",
3573
- fn: withCtx(() => [
3574
- renderSlot(_ctx.$slots, "valid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
3575
- ]),
3576
- key: "2"
3577
- } : void 0,
3578
- _ctx.$slots.invalid ? {
3579
- name: "invalid",
3580
- fn: withCtx(() => [
3581
- renderSlot(_ctx.$slots, "invalid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
3582
- ]),
3583
- key: "3"
3584
- } : void 0
3585
- ]), 1032, ["id"])
3586
- ], 2);
3795
+ createVNode(unref(HintSlot), {
3796
+ id: unref(hasHintId),
3797
+ class: "vv-select__hint"
3798
+ }, createSlots({
3799
+ _: 2
3800
+ /* DYNAMIC */
3801
+ }, [
3802
+ _ctx.$slots.hint ? {
3803
+ name: "hint",
3804
+ fn: withCtx(() => [
3805
+ renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
3806
+ ]),
3807
+ key: "0"
3808
+ } : void 0,
3809
+ _ctx.$slots.loading ? {
3810
+ name: "loading",
3811
+ fn: withCtx(() => [
3812
+ renderSlot(_ctx.$slots, "loading", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
3813
+ ]),
3814
+ key: "1"
3815
+ } : void 0,
3816
+ _ctx.$slots.valid ? {
3817
+ name: "valid",
3818
+ fn: withCtx(() => [
3819
+ renderSlot(_ctx.$slots, "valid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
3820
+ ]),
3821
+ key: "2"
3822
+ } : void 0,
3823
+ _ctx.$slots.invalid ? {
3824
+ name: "invalid",
3825
+ fn: withCtx(() => [
3826
+ renderSlot(_ctx.$slots, "invalid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
3827
+ ]),
3828
+ key: "3"
3829
+ } : void 0
3830
+ ]), 1032, ["id"])
3831
+ ],
3832
+ 2
3833
+ /* CLASS */
3834
+ );
3587
3835
  };
3588
3836
  }
3589
3837
  });
@@ -3665,10 +3913,10 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
3665
3913
  searchText,
3666
3914
  computed(() => Number(props.debounceSearch))
3667
3915
  );
3668
- watch(
3669
- debouncedSearchText,
3670
- () => emit("change:search", debouncedSearchText.value)
3671
- );
3916
+ watch(debouncedSearchText, () => {
3917
+ emit("update:search", debouncedSearchText.value);
3918
+ emit("change:search", debouncedSearchText.value);
3919
+ });
3672
3920
  const expanded = ref(false);
3673
3921
  const toggleExpanded = () => {
3674
3922
  if (props.disabled || props.readonly)
@@ -3898,208 +4146,307 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
3898
4146
  key: 0,
3899
4147
  id: unref(hasLabelId),
3900
4148
  for: unref(propsDefaults).searchable ? unref(hasSearchId) : void 0
3901
- }, toDisplayString(_ctx.label), 9, _hoisted_2$5)) : createCommentVNode("", true),
3902
- createElementVNode("div", {
3903
- ref_key: "wrapperEl",
3904
- ref: wrapperEl,
3905
- class: "vv-select__wrapper"
3906
- }, [
3907
- createVNode(_sfc_main$f, mergeProps({
3908
- ref_key: "dropdownEl",
3909
- ref: dropdownEl,
3910
- modelValue: unref(expanded),
3911
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(expanded) ? expanded.value = $event : null)
3912
- }, unref(dropdownProps), {
3913
- role: unref(DropdownRole).listbox,
3914
- onAfterExpand,
3915
- onAfterCollapse
3916
- }), createSlots({
3917
- default: withCtx(({ aria }) => [
3918
- _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_4$3, [
3919
- renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
3920
- ])) : createCommentVNode("", true),
3921
- createElementVNode("div", _hoisted_5$2, [
3922
- unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$o, mergeProps({
3923
- key: 0,
3924
- class: "vv-select__icon"
3925
- }, unref(hasIcon)), null, 16)) : createCommentVNode("", true),
3926
- createElementVNode("div", mergeProps({
3927
- ref_key: "inputEl",
3928
- ref: inputEl
3929
- }, aria, {
3930
- class: "vv-select__input",
3931
- role: "combobox",
3932
- "aria-expanded": unref(expanded),
3933
- "aria-labelledby": unref(hasLabelId),
3934
- "aria-describedby": unref(hasHintLabelOrSlot) ? unref(hasHintId) : void 0,
3935
- "aria-errormessage": unref(hasInvalidLabelOrSlot) ? unref(hasHintId) : void 0,
3936
- tabindex: unref(hasTabindex),
3937
- onClickPassive: onClickInput
3938
- }), [
3939
- renderSlot(_ctx.$slots, "value", normalizeProps(guardReactiveProps({ selectedOptions: unref(selectedOptions), onInput })), () => [
3940
- unref(hasValue) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
3941
- !_ctx.badges ? (openBlock(), createElementBlock("div", _hoisted_7$2, toDisplayString(unref(hasValue)), 1)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(selectedOptions), (option, index) => {
3942
- return openBlock(), createBlock(_sfc_main$m, {
3943
- key: index,
3944
- modifiers: _ctx.badgeModifiers,
3945
- class: "vv-select__badge"
3946
- }, {
3947
- default: withCtx(() => [
3948
- createTextVNode(toDisplayString(unref(getOptionLabel)(option)) + " ", 1),
3949
- _ctx.unselectable && !unref(readonly) && !unref(disabled) ? (openBlock(), createElementBlock("button", {
3950
- key: 0,
3951
- "aria-label": unref(propsDefaults).deselectActionLabel,
3952
- type: "button",
3953
- onClick: withModifiers(($event) => onInput(option), ["stop"])
3954
- }, [
3955
- createVNode(_sfc_main$o, { name: "close" })
3956
- ], 8, _hoisted_8$1)) : createCommentVNode("", true)
3957
- ]),
3958
- _: 2
3959
- }, 1032, ["modifiers"]);
3960
- }), 128))
3961
- ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
3962
- createTextVNode(toDisplayString(_ctx.placeholder), 1)
3963
- ], 64))
3964
- ])
3965
- ], 16, _hoisted_6$2),
3966
- unref(hasIconAfter) ? (openBlock(), createBlock(_sfc_main$o, mergeProps({
3967
- key: 1,
3968
- class: "vv-select__icon vv-select__icon-after"
3969
- }, unref(hasIcon)), null, 16)) : createCommentVNode("", true)
3970
- ]),
3971
- _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_9, [
3972
- renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps(unref(slotProps))))
3973
- ])) : createCommentVNode("", true)
3974
- ]),
3975
- items: withCtx(() => {
3976
- var _a;
3977
- return [
3978
- !unref(disabled) && ((_a = unref(filteredOptions)) == null ? void 0 : _a.length) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(filteredOptions), (option, index) => {
3979
- return openBlock(), createElementBlock(Fragment, { key: index }, [
3980
- isGroup(option) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
3981
- createVNode(_sfc_main$c, {
3982
- label: unref(getOptionLabel)(option)
3983
- }, null, 8, ["label"]),
3984
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(getOptionGrouped)(
3985
- option
3986
- ), (item, i) => {
3987
- return openBlock(), createBlock(_sfc_main$d, mergeProps({
3988
- selected: isOptionSelected(item),
3989
- disabled: unref(isOptionDisabled)(item),
3990
- unselectable: _ctx.unselectable,
3991
- deselectHintLabel: unref(propsDefaults).deselectHintLabel,
3992
- selectHintLabel: unref(propsDefaults).selectHintLabel,
3993
- selectedHintLabel: unref(propsDefaults).selectedHintLabel
3994
- }, {
3995
- key: i,
3996
- class: "vv-dropdown-option",
3997
- onClickPassive: ($event) => onInput(item)
3998
- }), {
3999
- default: withCtx(() => [
4000
- renderSlot(_ctx.$slots, "option", normalizeProps(guardReactiveProps({
4001
- option,
4002
- selectedOptions: unref(selectedOptions),
4003
- selected: isOptionSelected(item),
4004
- disabled: unref(isOptionDisabled)(item)
4005
- })), () => [
4006
- createTextVNode(toDisplayString(unref(getOptionLabel)(item)), 1)
4007
- ])
4008
- ]),
4009
- _: 2
4010
- }, 1040, ["onClickPassive"]);
4011
- }), 128))
4012
- ], 64)) : (openBlock(), createBlock(_sfc_main$d, mergeProps({ key: 1 }, {
4013
- selected: isOptionSelected(option),
4014
- disabled: unref(isOptionDisabled)(option),
4015
- unselectable: _ctx.unselectable,
4016
- deselectHintLabel: unref(propsDefaults).deselectHintLabel,
4017
- selectHintLabel: unref(propsDefaults).selectHintLabel,
4018
- selectedHintLabel: unref(propsDefaults).selectedHintLabel
4019
- }, {
4020
- class: "vv-dropdown-option",
4021
- onClickPassive: ($event) => onInput(option)
4022
- }), {
4023
- default: withCtx(() => [
4024
- renderSlot(_ctx.$slots, "option", normalizeProps(guardReactiveProps({
4025
- option,
4026
- selectedOptions: unref(selectedOptions),
4027
- selected: isOptionSelected(option),
4028
- disabled: unref(isOptionDisabled)(option)
4029
- })), () => [
4030
- createTextVNode(toDisplayString(unref(getOptionLabel)(option)), 1)
4031
- ])
4032
- ]),
4033
- _: 2
4034
- }, 1040, ["onClickPassive"]))
4035
- ], 64);
4036
- }), 128)) : !_ctx.options.length ? (openBlock(), createBlock(_sfc_main$d, {
4037
- key: 1,
4038
- modifiers: "inert"
4039
- }, {
4040
- default: withCtx(() => [
4041
- renderSlot(_ctx.$slots, "no-options", {}, () => [
4042
- createTextVNode(toDisplayString(unref(propsDefaults).noOptionsLabel), 1)
4043
- ])
4044
- ]),
4045
- _: 3
4046
- })) : !unref(disabled) ? (openBlock(), createBlock(_sfc_main$d, {
4047
- key: 2,
4048
- modifiers: "inert"
4049
- }, {
4050
- default: withCtx(() => [
4051
- renderSlot(_ctx.$slots, "no-results", {}, () => [
4052
- createTextVNode(toDisplayString(unref(propsDefaults).noResultsLabel), 1)
4149
+ }, toDisplayString(_ctx.label), 9, _hoisted_2$5)) : createCommentVNode("v-if", true),
4150
+ createElementVNode(
4151
+ "div",
4152
+ {
4153
+ ref_key: "wrapperEl",
4154
+ ref: wrapperEl,
4155
+ class: "vv-select__wrapper"
4156
+ },
4157
+ [
4158
+ createVNode(_sfc_main$f, mergeProps({
4159
+ ref_key: "dropdownEl",
4160
+ ref: dropdownEl,
4161
+ modelValue: unref(expanded),
4162
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(expanded) ? expanded.value = $event : null)
4163
+ }, unref(dropdownProps), {
4164
+ role: unref(DropdownRole).listbox,
4165
+ onAfterExpand,
4166
+ onAfterCollapse
4167
+ }), createSlots({
4168
+ default: withCtx(({ aria }) => [
4169
+ _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_4$3, [
4170
+ renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
4171
+ ])) : createCommentVNode("v-if", true),
4172
+ createElementVNode("div", _hoisted_5$2, [
4173
+ unref(hasIconBefore) ? (openBlock(), createBlock(
4174
+ _sfc_main$o,
4175
+ mergeProps({
4176
+ key: 0,
4177
+ class: "vv-select__icon"
4178
+ }, unref(hasIcon)),
4179
+ null,
4180
+ 16
4181
+ /* FULL_PROPS */
4182
+ )) : createCommentVNode("v-if", true),
4183
+ createElementVNode("div", mergeProps({
4184
+ ref_key: "inputEl",
4185
+ ref: inputEl
4186
+ }, aria, {
4187
+ class: "vv-select__input",
4188
+ role: "combobox",
4189
+ "aria-expanded": unref(expanded),
4190
+ "aria-labelledby": unref(hasLabelId),
4191
+ "aria-describedby": unref(hasHintLabelOrSlot) ? unref(hasHintId) : void 0,
4192
+ "aria-errormessage": unref(hasInvalidLabelOrSlot) ? unref(hasHintId) : void 0,
4193
+ tabindex: unref(hasTabindex),
4194
+ onClickPassive: onClickInput
4195
+ }), [
4196
+ renderSlot(_ctx.$slots, "value", normalizeProps(guardReactiveProps({ selectedOptions: unref(selectedOptions), onInput })), () => [
4197
+ unref(hasValue) ? (openBlock(), createElementBlock(
4198
+ Fragment,
4199
+ { key: 0 },
4200
+ [
4201
+ !_ctx.badges ? (openBlock(), createElementBlock(
4202
+ "div",
4203
+ _hoisted_7$2,
4204
+ toDisplayString(unref(hasValue)),
4205
+ 1
4206
+ /* TEXT */
4207
+ )) : (openBlock(true), createElementBlock(
4208
+ Fragment,
4209
+ { key: 1 },
4210
+ renderList(unref(selectedOptions), (option, index) => {
4211
+ return openBlock(), createBlock(_sfc_main$m, {
4212
+ key: index,
4213
+ modifiers: _ctx.badgeModifiers,
4214
+ class: "vv-select__badge"
4215
+ }, {
4216
+ default: withCtx(() => [
4217
+ createTextVNode(
4218
+ toDisplayString(unref(getOptionLabel)(option)) + " ",
4219
+ 1
4220
+ /* TEXT */
4221
+ ),
4222
+ _ctx.unselectable && !unref(readonly) && !unref(disabled) ? (openBlock(), createElementBlock("button", {
4223
+ key: 0,
4224
+ "aria-label": unref(propsDefaults).deselectActionLabel,
4225
+ type: "button",
4226
+ onClick: withModifiers(($event) => onInput(option), ["stop"])
4227
+ }, [
4228
+ createVNode(_sfc_main$o, { name: "close" })
4229
+ ], 8, _hoisted_8$1)) : createCommentVNode("v-if", true)
4230
+ ]),
4231
+ _: 2
4232
+ /* DYNAMIC */
4233
+ }, 1032, ["modifiers"]);
4234
+ }),
4235
+ 128
4236
+ /* KEYED_FRAGMENT */
4237
+ ))
4238
+ ],
4239
+ 64
4240
+ /* STABLE_FRAGMENT */
4241
+ )) : (openBlock(), createElementBlock(
4242
+ Fragment,
4243
+ { key: 1 },
4244
+ [
4245
+ createTextVNode(
4246
+ toDisplayString(_ctx.placeholder),
4247
+ 1
4248
+ /* TEXT */
4249
+ )
4250
+ ],
4251
+ 64
4252
+ /* STABLE_FRAGMENT */
4253
+ ))
4053
4254
  ])
4054
- ]),
4055
- _: 3
4056
- })) : createCommentVNode("", true)
4057
- ];
4058
- }),
4059
- after: withCtx(() => [
4060
- renderSlot(_ctx.$slots, "dropdown::after", {}, () => {
4255
+ ], 16, _hoisted_6$2),
4256
+ unref(hasIconAfter) ? (openBlock(), createBlock(
4257
+ _sfc_main$o,
4258
+ mergeProps({
4259
+ key: 1,
4260
+ class: "vv-select__icon vv-select__icon-after"
4261
+ }, unref(hasIcon)),
4262
+ null,
4263
+ 16
4264
+ /* FULL_PROPS */
4265
+ )) : createCommentVNode("v-if", true)
4266
+ ]),
4267
+ _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_9, [
4268
+ renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps(unref(slotProps))))
4269
+ ])) : createCommentVNode("v-if", true)
4270
+ ]),
4271
+ items: withCtx(() => {
4061
4272
  var _a;
4062
4273
  return [
4063
- ((_a = unref(dropdownEl)) == null ? void 0 : _a.customPosition) ? (openBlock(), createBlock(_sfc_main$k, {
4064
- key: 0,
4065
- label: unref(propsDefaults).closeLabel,
4066
- modifiers: "secondary",
4067
- onClick: _cache[1] || (_cache[1] = ($event) => unref(dropdownEl).hide())
4068
- }, null, 8, ["label"])) : createCommentVNode("", true)
4274
+ !unref(disabled) && ((_a = unref(filteredOptions)) == null ? void 0 : _a.length) ? (openBlock(true), createElementBlock(
4275
+ Fragment,
4276
+ { key: 0 },
4277
+ renderList(unref(filteredOptions), (option, index) => {
4278
+ return openBlock(), createElementBlock(
4279
+ Fragment,
4280
+ { key: index },
4281
+ [
4282
+ isGroup(option) ? (openBlock(), createElementBlock(
4283
+ Fragment,
4284
+ { key: 0 },
4285
+ [
4286
+ createVNode(_sfc_main$c, {
4287
+ label: unref(getOptionLabel)(option)
4288
+ }, null, 8, ["label"]),
4289
+ (openBlock(true), createElementBlock(
4290
+ Fragment,
4291
+ null,
4292
+ renderList(unref(getOptionGrouped)(
4293
+ option
4294
+ ), (item, i) => {
4295
+ return openBlock(), createBlock(_sfc_main$d, mergeProps({
4296
+ selected: isOptionSelected(item),
4297
+ disabled: unref(isOptionDisabled)(item),
4298
+ unselectable: _ctx.unselectable,
4299
+ deselectHintLabel: unref(propsDefaults).deselectHintLabel,
4300
+ selectHintLabel: unref(propsDefaults).selectHintLabel,
4301
+ selectedHintLabel: unref(propsDefaults).selectedHintLabel
4302
+ }, {
4303
+ key: i,
4304
+ class: "vv-dropdown-option",
4305
+ onClickPassive: ($event) => onInput(item)
4306
+ }), {
4307
+ default: withCtx(() => [
4308
+ renderSlot(_ctx.$slots, "option", normalizeProps(guardReactiveProps({
4309
+ option,
4310
+ selectedOptions: unref(selectedOptions),
4311
+ selected: isOptionSelected(item),
4312
+ disabled: unref(isOptionDisabled)(item)
4313
+ })), () => [
4314
+ createTextVNode(
4315
+ toDisplayString(unref(getOptionLabel)(item)),
4316
+ 1
4317
+ /* TEXT */
4318
+ )
4319
+ ])
4320
+ ]),
4321
+ _: 2
4322
+ /* DYNAMIC */
4323
+ }, 1040, ["onClickPassive"]);
4324
+ }),
4325
+ 128
4326
+ /* KEYED_FRAGMENT */
4327
+ ))
4328
+ ],
4329
+ 64
4330
+ /* STABLE_FRAGMENT */
4331
+ )) : (openBlock(), createBlock(_sfc_main$d, mergeProps({ key: 1 }, {
4332
+ selected: isOptionSelected(option),
4333
+ disabled: unref(isOptionDisabled)(option),
4334
+ unselectable: _ctx.unselectable,
4335
+ deselectHintLabel: unref(propsDefaults).deselectHintLabel,
4336
+ selectHintLabel: unref(propsDefaults).selectHintLabel,
4337
+ selectedHintLabel: unref(propsDefaults).selectedHintLabel
4338
+ }, {
4339
+ class: "vv-dropdown-option",
4340
+ onClickPassive: ($event) => onInput(option)
4341
+ }), {
4342
+ default: withCtx(() => [
4343
+ renderSlot(_ctx.$slots, "option", normalizeProps(guardReactiveProps({
4344
+ option,
4345
+ selectedOptions: unref(selectedOptions),
4346
+ selected: isOptionSelected(option),
4347
+ disabled: unref(isOptionDisabled)(option)
4348
+ })), () => [
4349
+ createTextVNode(
4350
+ toDisplayString(unref(getOptionLabel)(option)),
4351
+ 1
4352
+ /* TEXT */
4353
+ )
4354
+ ])
4355
+ ]),
4356
+ _: 2
4357
+ /* DYNAMIC */
4358
+ }, 1040, ["onClickPassive"]))
4359
+ ],
4360
+ 64
4361
+ /* STABLE_FRAGMENT */
4362
+ );
4363
+ }),
4364
+ 128
4365
+ /* KEYED_FRAGMENT */
4366
+ )) : !_ctx.options.length ? (openBlock(), createBlock(_sfc_main$d, {
4367
+ key: 1,
4368
+ modifiers: "inert"
4369
+ }, {
4370
+ default: withCtx(() => [
4371
+ renderSlot(_ctx.$slots, "no-options", {}, () => [
4372
+ createTextVNode(
4373
+ toDisplayString(unref(propsDefaults).noOptionsLabel),
4374
+ 1
4375
+ /* TEXT */
4376
+ )
4377
+ ])
4378
+ ]),
4379
+ _: 3
4380
+ /* FORWARDED */
4381
+ })) : !unref(disabled) ? (openBlock(), createBlock(_sfc_main$d, {
4382
+ key: 2,
4383
+ modifiers: "inert"
4384
+ }, {
4385
+ default: withCtx(() => [
4386
+ renderSlot(_ctx.$slots, "no-results", {}, () => [
4387
+ createTextVNode(
4388
+ toDisplayString(unref(propsDefaults).noResultsLabel),
4389
+ 1
4390
+ /* TEXT */
4391
+ )
4392
+ ])
4393
+ ]),
4394
+ _: 3
4395
+ /* FORWARDED */
4396
+ })) : createCommentVNode("v-if", true)
4069
4397
  ];
4070
- })
4071
- ]),
4072
- _: 2
4073
- }, [
4074
- unref(propsDefaults).searchable || _ctx.$slots["dropdown::before"] ? {
4075
- name: "before",
4076
- fn: withCtx(() => [
4077
- renderSlot(_ctx.$slots, "dropdown::before"),
4078
- unref(propsDefaults).searchable && !unref(disabled) ? withDirectives((openBlock(), createElementBlock("input", {
4079
- key: 0,
4080
- id: unref(hasSearchId),
4081
- ref_key: "inputSearchEl",
4082
- ref: inputSearchEl,
4083
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(searchText) ? searchText.value = $event : null),
4084
- "aria-autocomplete": "list",
4085
- "aria-controls": unref(hasDropdownId),
4086
- autocomplete: "off",
4087
- spellcheck: "false",
4088
- type: "search",
4089
- class: "vv-dropdown__search",
4090
- placeholder: unref(propsDefaults).searchPlaceholder
4091
- }, null, 8, _hoisted_3$3)), [
4092
- [vModelText, unref(searchText)]
4093
- ]) : createCommentVNode("", true)
4398
+ }),
4399
+ after: withCtx(() => [
4400
+ renderSlot(_ctx.$slots, "dropdown::after", {}, () => {
4401
+ var _a;
4402
+ return [
4403
+ ((_a = unref(dropdownEl)) == null ? void 0 : _a.customPosition) ? (openBlock(), createBlock(_sfc_main$k, {
4404
+ key: 0,
4405
+ label: unref(propsDefaults).closeLabel,
4406
+ modifiers: "secondary",
4407
+ onClick: _cache[1] || (_cache[1] = ($event) => unref(dropdownEl).hide())
4408
+ }, null, 8, ["label"])) : createCommentVNode("v-if", true)
4409
+ ];
4410
+ })
4094
4411
  ]),
4095
- key: "0"
4096
- } : void 0
4097
- ]), 1040, ["modelValue", "role"])
4098
- ], 512),
4412
+ _: 2
4413
+ /* DYNAMIC */
4414
+ }, [
4415
+ unref(propsDefaults).searchable || _ctx.$slots["dropdown::before"] ? {
4416
+ name: "before",
4417
+ fn: withCtx(() => [
4418
+ renderSlot(_ctx.$slots, "dropdown::before"),
4419
+ unref(propsDefaults).searchable && !unref(disabled) ? withDirectives((openBlock(), createElementBlock("input", {
4420
+ key: 0,
4421
+ id: unref(hasSearchId),
4422
+ ref_key: "inputSearchEl",
4423
+ ref: inputSearchEl,
4424
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(searchText) ? searchText.value = $event : null),
4425
+ "aria-autocomplete": "list",
4426
+ "aria-controls": unref(hasDropdownId),
4427
+ autocomplete: "off",
4428
+ spellcheck: "false",
4429
+ type: "search",
4430
+ class: "vv-dropdown__search",
4431
+ placeholder: unref(propsDefaults).searchPlaceholder
4432
+ }, null, 8, _hoisted_3$3)), [
4433
+ [vModelText, unref(searchText)]
4434
+ ]) : createCommentVNode("v-if", true)
4435
+ ]),
4436
+ key: "0"
4437
+ } : void 0
4438
+ ]), 1040, ["modelValue", "role"])
4439
+ ],
4440
+ 512
4441
+ /* NEED_PATCH */
4442
+ ),
4099
4443
  createVNode(unref(HintSlot), {
4100
4444
  id: unref(hasHintId),
4101
4445
  class: "vv-select__hint"
4102
- }, createSlots({ _: 2 }, [
4446
+ }, createSlots({
4447
+ _: 2
4448
+ /* DYNAMIC */
4449
+ }, [
4103
4450
  _ctx.$slots.hint ? {
4104
4451
  name: "hint",
4105
4452
  fn: withCtx(() => [
@@ -4129,9 +4476,15 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
4129
4476
  key: "3"
4130
4477
  } : void 0
4131
4478
  ]), 1032, ["id"])
4132
- ], 10, _hoisted_1$7)) : (openBlock(), createBlock(_sfc_main$b, mergeProps({ key: 1 }, unref(selectProps), {
4133
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => emit("update:modelValue", $event))
4134
- }), null, 16));
4479
+ ], 10, _hoisted_1$7)) : (openBlock(), createBlock(
4480
+ _sfc_main$b,
4481
+ mergeProps({ key: 1 }, unref(selectProps), {
4482
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => emit("update:modelValue", $event))
4483
+ }),
4484
+ null,
4485
+ 16
4486
+ /* FULL_PROPS */
4487
+ ));
4135
4488
  };
4136
4489
  }
4137
4490
  });
@@ -4274,7 +4627,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
4274
4627
  }
4275
4628
  };
4276
4629
  return (_ctx, _cache) => {
4277
- return openBlock(), createBlock(Transition, mergeProps({ name: unref(transitioName) }, toHandlers(dialogTransitionHandlers)), {
4630
+ return openBlock(), createBlock(Transition, mergeProps({ name: unref(transitioName) }, toHandlers(dialogTransitionHandlers), { persisted: "" }), {
4278
4631
  default: withCtx(() => [
4279
4632
  withDirectives(createElementVNode("dialog", mergeProps(unref(dialogAttrs), {
4280
4633
  ref_key: "dialogEl",
@@ -4282,36 +4635,53 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
4282
4635
  class: unref(dialogClass),
4283
4636
  onCancel: withModifiers(onCancel, ["stop", "prevent"])
4284
4637
  }), [
4285
- createElementVNode("article", {
4286
- ref_key: "modalWrapper",
4287
- ref: modalWrapper,
4288
- class: "vv-dialog__wrapper"
4289
- }, [
4290
- _ctx.$slots.header || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_2$4, [
4291
- renderSlot(_ctx.$slots, "header", {}, () => [
4292
- createTextVNode(toDisplayString(_ctx.title) + " ", 1),
4293
- createElementVNode("button", {
4294
- type: "button",
4295
- "aria-label": "Close",
4296
- class: "vv-dialog__close",
4297
- onClickPassive: close
4298
- }, [
4299
- createVNode(_sfc_main$o, { name: "close" })
4300
- ], 32)
4301
- ])
4302
- ])) : createCommentVNode("", true),
4303
- createElementVNode("div", _hoisted_3$2, [
4304
- renderSlot(_ctx.$slots, "default")
4305
- ]),
4306
- _ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_4$2, [
4307
- renderSlot(_ctx.$slots, "footer")
4308
- ])) : createCommentVNode("", true)
4309
- ], 512)
4638
+ createElementVNode(
4639
+ "article",
4640
+ {
4641
+ ref_key: "modalWrapper",
4642
+ ref: modalWrapper,
4643
+ class: "vv-dialog__wrapper"
4644
+ },
4645
+ [
4646
+ _ctx.$slots.header || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_2$4, [
4647
+ renderSlot(_ctx.$slots, "header", {}, () => [
4648
+ createTextVNode(
4649
+ toDisplayString(_ctx.title) + " ",
4650
+ 1
4651
+ /* TEXT */
4652
+ ),
4653
+ createElementVNode(
4654
+ "button",
4655
+ {
4656
+ type: "button",
4657
+ "aria-label": "Close",
4658
+ class: "vv-dialog__close",
4659
+ onClickPassive: close
4660
+ },
4661
+ [
4662
+ createVNode(_sfc_main$o, { name: "close" })
4663
+ ],
4664
+ 32
4665
+ /* HYDRATE_EVENTS */
4666
+ )
4667
+ ])
4668
+ ])) : createCommentVNode("v-if", true),
4669
+ createElementVNode("div", _hoisted_3$2, [
4670
+ renderSlot(_ctx.$slots, "default")
4671
+ ]),
4672
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_4$2, [
4673
+ renderSlot(_ctx.$slots, "footer")
4674
+ ])) : createCommentVNode("v-if", true)
4675
+ ],
4676
+ 512
4677
+ /* NEED_PATCH */
4678
+ )
4310
4679
  ], 16, _hoisted_1$6), [
4311
4680
  [vShow, unref(isOpened)]
4312
4681
  ])
4313
4682
  ]),
4314
4683
  _: 3
4684
+ /* FORWARDED */
4315
4685
  }, 16, ["name"]);
4316
4686
  };
4317
4687
  }
@@ -4982,7 +5352,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
4982
5352
  return;
4983
5353
  }
4984
5354
  inputEl.value.stepUp();
4985
- localModelValue.value = unref(inputEl).value;
5355
+ localModelValue.value = Number(unref(inputEl).value);
4986
5356
  }
4987
5357
  };
4988
5358
  const onStepDown = () => {
@@ -4992,7 +5362,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
4992
5362
  return;
4993
5363
  }
4994
5364
  inputEl.value.stepDown();
4995
- localModelValue.value = unref(inputEl).value;
5365
+ localModelValue.value = Number(unref(inputEl).value);
4996
5366
  }
4997
5367
  };
4998
5368
  const isSearch = computed(() => props.type === INPUT_TYPES.SEARCH);
@@ -5156,101 +5526,130 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
5156
5526
  emit("keydown", event);
5157
5527
  };
5158
5528
  return (_ctx, _cache) => {
5159
- return openBlock(), createElementBlock("div", {
5160
- class: normalizeClass(unref(bemCssClasses))
5161
- }, [
5162
- unref(label) ? (openBlock(), createElementBlock("label", {
5163
- key: 0,
5164
- for: unref(hasId),
5165
- class: "vv-input-text__label"
5166
- }, toDisplayString(unref(label)), 9, _hoisted_1$5)) : createCommentVNode("", true),
5167
- createElementVNode("div", _hoisted_2$3, [
5168
- _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_3$1, [
5169
- renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
5170
- ])) : createCommentVNode("", true),
5171
- createElementVNode("div", {
5172
- ref_key: "innerEl",
5173
- ref: innerEl,
5174
- class: "vv-input-text__inner",
5175
- onClick: withModifiers(onClickInner, ["stop"])
5176
- }, [
5177
- unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$o, mergeProps({
5178
- key: 0,
5179
- class: "vv-input-text__icon"
5180
- }, unref(hasIcon)), null, 16)) : createCommentVNode("", true),
5181
- createElementVNode("input", mergeProps({
5182
- id: unref(hasId),
5183
- ref_key: "inputEl",
5184
- ref: inputEl
5185
- }, unref(hasAttrs), {
5186
- style: unref(hasStyle),
5187
- onKeyup: _cache[0] || (_cache[0] = ($event) => emit("keyup", $event)),
5188
- onKeydown: onKeyDown,
5189
- onKeypress: _cache[1] || (_cache[1] = ($event) => emit("keypress", $event))
5190
- }), null, 16, _hoisted_5$1),
5191
- (_ctx.unit || _ctx.$slots.unit) && unref(isDirty) ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
5192
- renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(unref(slotProps))), () => [
5193
- createTextVNode(toDisplayString(_ctx.unit), 1)
5529
+ return openBlock(), createElementBlock(
5530
+ "div",
5531
+ {
5532
+ class: normalizeClass(unref(bemCssClasses))
5533
+ },
5534
+ [
5535
+ unref(label) ? (openBlock(), createElementBlock("label", {
5536
+ key: 0,
5537
+ for: unref(hasId),
5538
+ class: "vv-input-text__label"
5539
+ }, toDisplayString(unref(label)), 9, _hoisted_1$5)) : createCommentVNode("v-if", true),
5540
+ createElementVNode("div", _hoisted_2$3, [
5541
+ _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_3$1, [
5542
+ renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
5543
+ ])) : createCommentVNode("v-if", true),
5544
+ createElementVNode("div", {
5545
+ ref_key: "innerEl",
5546
+ ref: innerEl,
5547
+ class: "vv-input-text__inner",
5548
+ onClick: withModifiers(onClickInner, ["stop"])
5549
+ }, [
5550
+ unref(hasIconBefore) ? (openBlock(), createBlock(
5551
+ _sfc_main$o,
5552
+ mergeProps({
5553
+ key: 0,
5554
+ class: "vv-input-text__icon"
5555
+ }, unref(hasIcon)),
5556
+ null,
5557
+ 16
5558
+ /* FULL_PROPS */
5559
+ )) : createCommentVNode("v-if", true),
5560
+ createElementVNode("input", mergeProps({
5561
+ id: unref(hasId),
5562
+ ref_key: "inputEl",
5563
+ ref: inputEl
5564
+ }, unref(hasAttrs), {
5565
+ style: unref(hasStyle),
5566
+ onKeyup: _cache[0] || (_cache[0] = ($event) => emit("keyup", $event)),
5567
+ onKeydown: onKeyDown,
5568
+ onKeypress: _cache[1] || (_cache[1] = ($event) => emit("keypress", $event))
5569
+ }), null, 16, _hoisted_5$1),
5570
+ (_ctx.unit || _ctx.$slots.unit) && unref(isDirty) ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
5571
+ renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(unref(slotProps))), () => [
5572
+ createTextVNode(
5573
+ toDisplayString(_ctx.unit),
5574
+ 1
5575
+ /* TEXT */
5576
+ )
5577
+ ])
5578
+ ])) : createCommentVNode("v-if", true)
5579
+ ], 8, _hoisted_4$1),
5580
+ unref(hasIconAfter) || unref(defaultAfterIcon) ? (openBlock(), createBlock(
5581
+ _sfc_main$o,
5582
+ mergeProps({
5583
+ key: 1,
5584
+ class: "vv-input-text__icon vv-input-text__icon-after"
5585
+ }, unref(hasIconAfter) ? unref(hasIcon) : unref(defaultAfterIcon)),
5586
+ null,
5587
+ 16
5588
+ /* FULL_PROPS */
5589
+ )) : unref(isPassword) && !_ctx.hideActions && unref(isClickable) ? (openBlock(), createBlock(unref(PasswordInputActions), {
5590
+ key: 2,
5591
+ onTogglePassword
5592
+ })) : unref(isNumber) && !_ctx.hideActions && unref(isClickable) ? (openBlock(), createBlock(unref(NumberInputActions), {
5593
+ key: 3,
5594
+ onStepUp,
5595
+ onStepDown
5596
+ })) : unref(isSearch) && !_ctx.hideActions && unref(isClickable) ? (openBlock(), createBlock(unref(SearchInputActions), {
5597
+ key: 4,
5598
+ onClear
5599
+ })) : createCommentVNode("v-if", true),
5600
+ _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_7$1, [
5601
+ renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps(unref(slotProps))))
5602
+ ])) : createCommentVNode("v-if", true),
5603
+ unref(count) ? (openBlock(), createElementBlock("span", _hoisted_8, [
5604
+ renderSlot(_ctx.$slots, "count", normalizeProps(guardReactiveProps(unref(slotProps))), () => [
5605
+ createTextVNode(
5606
+ toDisplayString(unref(countFormatted)),
5607
+ 1
5608
+ /* TEXT */
5609
+ )
5194
5610
  ])
5195
- ])) : createCommentVNode("", true)
5196
- ], 8, _hoisted_4$1),
5197
- unref(hasIconAfter) || unref(defaultAfterIcon) ? (openBlock(), createBlock(_sfc_main$o, mergeProps({
5198
- key: 1,
5199
- class: "vv-input-text__icon vv-input-text__icon-after"
5200
- }, unref(hasIconAfter) ? unref(hasIcon) : unref(defaultAfterIcon)), null, 16)) : unref(isPassword) && !_ctx.hideActions && unref(isClickable) ? (openBlock(), createBlock(unref(PasswordInputActions), {
5201
- key: 2,
5202
- onTogglePassword
5203
- })) : unref(isNumber) && !_ctx.hideActions && unref(isClickable) ? (openBlock(), createBlock(unref(NumberInputActions), {
5204
- key: 3,
5205
- onStepUp,
5206
- onStepDown
5207
- })) : unref(isSearch) && !_ctx.hideActions && unref(isClickable) ? (openBlock(), createBlock(unref(SearchInputActions), {
5208
- key: 4,
5209
- onClear
5210
- })) : createCommentVNode("", true),
5211
- _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_7$1, [
5212
- renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps(unref(slotProps))))
5213
- ])) : createCommentVNode("", true),
5214
- unref(count) ? (openBlock(), createElementBlock("span", _hoisted_8, [
5215
- renderSlot(_ctx.$slots, "count", normalizeProps(guardReactiveProps(unref(slotProps))), () => [
5216
- createTextVNode(toDisplayString(unref(countFormatted)), 1)
5217
- ])
5218
- ])) : createCommentVNode("", true)
5219
- ]),
5220
- createVNode(unref(HintSlot), {
5221
- id: unref(hasHintId),
5222
- class: "vv-input-text__hint"
5223
- }, createSlots({ _: 2 }, [
5224
- _ctx.$slots.hint ? {
5225
- name: "hint",
5226
- fn: withCtx(() => [
5227
- renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5228
- ]),
5229
- key: "0"
5230
- } : void 0,
5231
- _ctx.$slots.loading ? {
5232
- name: "loading",
5233
- fn: withCtx(() => [
5234
- renderSlot(_ctx.$slots, "loading", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5235
- ]),
5236
- key: "1"
5237
- } : void 0,
5238
- _ctx.$slots.valid ? {
5239
- name: "valid",
5240
- fn: withCtx(() => [
5241
- renderSlot(_ctx.$slots, "valid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5242
- ]),
5243
- key: "2"
5244
- } : void 0,
5245
- _ctx.$slots.invalid ? {
5246
- name: "invalid",
5247
- fn: withCtx(() => [
5248
- renderSlot(_ctx.$slots, "invalid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5249
- ]),
5250
- key: "3"
5251
- } : void 0
5252
- ]), 1032, ["id"])
5253
- ], 2);
5611
+ ])) : createCommentVNode("v-if", true)
5612
+ ]),
5613
+ createVNode(unref(HintSlot), {
5614
+ id: unref(hasHintId),
5615
+ class: "vv-input-text__hint"
5616
+ }, createSlots({
5617
+ _: 2
5618
+ /* DYNAMIC */
5619
+ }, [
5620
+ _ctx.$slots.hint ? {
5621
+ name: "hint",
5622
+ fn: withCtx(() => [
5623
+ renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5624
+ ]),
5625
+ key: "0"
5626
+ } : void 0,
5627
+ _ctx.$slots.loading ? {
5628
+ name: "loading",
5629
+ fn: withCtx(() => [
5630
+ renderSlot(_ctx.$slots, "loading", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5631
+ ]),
5632
+ key: "1"
5633
+ } : void 0,
5634
+ _ctx.$slots.valid ? {
5635
+ name: "valid",
5636
+ fn: withCtx(() => [
5637
+ renderSlot(_ctx.$slots, "valid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5638
+ ]),
5639
+ key: "2"
5640
+ } : void 0,
5641
+ _ctx.$slots.invalid ? {
5642
+ name: "invalid",
5643
+ fn: withCtx(() => [
5644
+ renderSlot(_ctx.$slots, "invalid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5645
+ ]),
5646
+ key: "3"
5647
+ } : void 0
5648
+ ]), 1032, ["id"])
5649
+ ],
5650
+ 2
5651
+ /* CLASS */
5652
+ );
5254
5653
  };
5255
5654
  }
5256
5655
  });
@@ -5272,12 +5671,19 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
5272
5671
  setup(__props) {
5273
5672
  return (_ctx, _cache) => {
5274
5673
  return openBlock(), createElementBlock("li", _hoisted_1$4, [
5275
- createVNode(_sfc_main$p, mergeProps(_ctx.$attrs, { class: "vv-nav__item-label" }), {
5276
- default: withCtx(() => [
5277
- renderSlot(_ctx.$slots, "default")
5278
- ]),
5279
- _: 3
5280
- }, 16)
5674
+ createVNode(
5675
+ _sfc_main$p,
5676
+ mergeProps(_ctx.$attrs, { class: "vv-nav__item-label" }),
5677
+ {
5678
+ default: withCtx(() => [
5679
+ renderSlot(_ctx.$slots, "default")
5680
+ ]),
5681
+ _: 3
5682
+ /* FORWARDED */
5683
+ },
5684
+ 16
5685
+ /* FULL_PROPS */
5686
+ )
5281
5687
  ]);
5282
5688
  };
5283
5689
  }
@@ -5304,25 +5710,37 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
5304
5710
  };
5305
5711
  const bemCssClasses = useModifiers("vv-nav", modifiers);
5306
5712
  return (_ctx, _cache) => {
5307
- return openBlock(), createElementBlock("nav", {
5308
- class: normalizeClass(unref(bemCssClasses))
5309
- }, [
5310
- createElementVNode("ul", {
5311
- class: "vv-nav__menu",
5312
- role: "menu",
5313
- "aria-busy": "true",
5314
- onClick: withModifiers(onClick, ["stop"])
5315
- }, [
5316
- renderSlot(_ctx.$slots, "default", {}, () => [
5317
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, ({ on = {}, ...item }, index) => {
5318
- return openBlock(), createBlock(_sfc_main$7, mergeProps({
5319
- key: index,
5320
- "data-index": index
5321
- }, item, toHandlers(on)), null, 16, ["data-index"]);
5322
- }), 128))
5323
- ])
5324
- ], 8, _hoisted_1$3)
5325
- ], 2);
5713
+ return openBlock(), createElementBlock(
5714
+ "nav",
5715
+ {
5716
+ class: normalizeClass(unref(bemCssClasses))
5717
+ },
5718
+ [
5719
+ createElementVNode("ul", {
5720
+ class: "vv-nav__menu",
5721
+ role: "menu",
5722
+ "aria-busy": "true",
5723
+ onClick: withModifiers(onClick, ["stop"])
5724
+ }, [
5725
+ renderSlot(_ctx.$slots, "default", {}, () => [
5726
+ (openBlock(true), createElementBlock(
5727
+ Fragment,
5728
+ null,
5729
+ renderList(_ctx.items, ({ on = {}, ...item }, index) => {
5730
+ return openBlock(), createBlock(_sfc_main$7, mergeProps({
5731
+ key: index,
5732
+ "data-index": index
5733
+ }, item, toHandlers(on)), null, 16, ["data-index"]);
5734
+ }),
5735
+ 128
5736
+ /* KEYED_FRAGMENT */
5737
+ ))
5738
+ ])
5739
+ ], 8, _hoisted_1$3)
5740
+ ],
5741
+ 2
5742
+ /* CLASS */
5743
+ );
5326
5744
  };
5327
5745
  }
5328
5746
  });
@@ -5373,12 +5791,18 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
5373
5791
  computed(() => ({ indeterminate: indeterminate.value }))
5374
5792
  );
5375
5793
  return (_ctx, _cache) => {
5376
- return openBlock(), createElementBlock("progress", mergeProps({ role: "progressbar" }, {
5377
- class: unref(bemCssClasses),
5378
- ariaLabel: unref(ariaLabel),
5379
- max: unref(max),
5380
- value: unref(value)
5381
- }), null, 16);
5794
+ return openBlock(), createElementBlock(
5795
+ "progress",
5796
+ mergeProps({ role: "progressbar" }, {
5797
+ class: unref(bemCssClasses),
5798
+ ariaLabel: unref(ariaLabel),
5799
+ max: unref(max),
5800
+ value: unref(value)
5801
+ }),
5802
+ null,
5803
+ 16
5804
+ /* FULL_PROPS */
5805
+ );
5382
5806
  };
5383
5807
  }
5384
5808
  });
@@ -5506,12 +5930,19 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
5506
5930
  [vModelRadio, unref(localModelValue)]
5507
5931
  ]),
5508
5932
  renderSlot(_ctx.$slots, "default", { value: unref(modelValue) }, () => [
5509
- createTextVNode(toDisplayString(_ctx.label), 1)
5933
+ createTextVNode(
5934
+ toDisplayString(_ctx.label),
5935
+ 1
5936
+ /* TEXT */
5937
+ )
5510
5938
  ]),
5511
5939
  createVNode(unref(HintSlot), {
5512
5940
  id: unref(hasHintId),
5513
5941
  class: "vv-radio__hint"
5514
- }, createSlots({ _: 2 }, [
5942
+ }, createSlots({
5943
+ _: 2
5944
+ /* DYNAMIC */
5945
+ }, [
5515
5946
  _ctx.$slots.hint ? {
5516
5947
  name: "hint",
5517
5948
  fn: withCtx(() => [
@@ -5596,49 +6027,76 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
5596
6027
  };
5597
6028
  const { HintSlot, hintSlotScope } = HintSlotFactory(propsDefaults, slots);
5598
6029
  return (_ctx, _cache) => {
5599
- return openBlock(), createElementBlock("fieldset", {
5600
- class: normalizeClass(unref(bemCssClasses))
5601
- }, [
5602
- _ctx.label ? (openBlock(), createElementBlock("legend", {
5603
- key: 0,
5604
- textContent: toDisplayString(_ctx.label)
5605
- }, null, 8, _hoisted_1$1)) : createCommentVNode("", true),
5606
- createElementVNode("div", _hoisted_2$1, [
5607
- _ctx.options.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.options, (option, index) => {
5608
- return openBlock(), createBlock(_sfc_main$4, mergeProps({ key: index }, getOptionProps(option, index)), null, 16);
5609
- }), 128)) : renderSlot(_ctx.$slots, "default", { key: 1 })
5610
- ]),
5611
- createVNode(unref(HintSlot), { class: "vv-radio-group__hint" }, createSlots({ _: 2 }, [
5612
- _ctx.$slots.hint ? {
5613
- name: "hint",
5614
- fn: withCtx(() => [
5615
- renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5616
- ]),
5617
- key: "0"
5618
- } : void 0,
5619
- _ctx.$slots.loading ? {
5620
- name: "loading",
5621
- fn: withCtx(() => [
5622
- renderSlot(_ctx.$slots, "loading", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5623
- ]),
5624
- key: "1"
5625
- } : void 0,
5626
- _ctx.$slots.valid ? {
5627
- name: "valid",
5628
- fn: withCtx(() => [
5629
- renderSlot(_ctx.$slots, "valid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5630
- ]),
5631
- key: "2"
5632
- } : void 0,
5633
- _ctx.$slots.invalid ? {
5634
- name: "invalid",
5635
- fn: withCtx(() => [
5636
- renderSlot(_ctx.$slots, "invalid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
6030
+ return openBlock(), createElementBlock(
6031
+ "fieldset",
6032
+ {
6033
+ class: normalizeClass(unref(bemCssClasses))
6034
+ },
6035
+ [
6036
+ _ctx.label ? (openBlock(), createElementBlock("legend", {
6037
+ key: 0,
6038
+ textContent: toDisplayString(_ctx.label)
6039
+ }, null, 8, _hoisted_1$1)) : createCommentVNode("v-if", true),
6040
+ createElementVNode("div", _hoisted_2$1, [
6041
+ _ctx.options.length > 0 ? (openBlock(true), createElementBlock(
6042
+ Fragment,
6043
+ { key: 0 },
6044
+ renderList(_ctx.options, (option, index) => {
6045
+ return openBlock(), createBlock(
6046
+ _sfc_main$4,
6047
+ mergeProps({ key: index }, getOptionProps(option, index)),
6048
+ null,
6049
+ 16
6050
+ /* FULL_PROPS */
6051
+ );
6052
+ }),
6053
+ 128
6054
+ /* KEYED_FRAGMENT */
6055
+ )) : renderSlot(_ctx.$slots, "default", { key: 1 })
6056
+ ]),
6057
+ createVNode(
6058
+ unref(HintSlot),
6059
+ { class: "vv-radio-group__hint" },
6060
+ createSlots({
6061
+ _: 2
6062
+ /* DYNAMIC */
6063
+ }, [
6064
+ _ctx.$slots.hint ? {
6065
+ name: "hint",
6066
+ fn: withCtx(() => [
6067
+ renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
6068
+ ]),
6069
+ key: "0"
6070
+ } : void 0,
6071
+ _ctx.$slots.loading ? {
6072
+ name: "loading",
6073
+ fn: withCtx(() => [
6074
+ renderSlot(_ctx.$slots, "loading", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
6075
+ ]),
6076
+ key: "1"
6077
+ } : void 0,
6078
+ _ctx.$slots.valid ? {
6079
+ name: "valid",
6080
+ fn: withCtx(() => [
6081
+ renderSlot(_ctx.$slots, "valid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
6082
+ ]),
6083
+ key: "2"
6084
+ } : void 0,
6085
+ _ctx.$slots.invalid ? {
6086
+ name: "invalid",
6087
+ fn: withCtx(() => [
6088
+ renderSlot(_ctx.$slots, "invalid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
6089
+ ]),
6090
+ key: "3"
6091
+ } : void 0
5637
6092
  ]),
5638
- key: "3"
5639
- } : void 0
5640
- ]), 1024)
5641
- ], 2);
6093
+ 1024
6094
+ /* DYNAMIC_SLOTS */
6095
+ )
6096
+ ],
6097
+ 2
6098
+ /* CLASS */
6099
+ );
5642
6100
  };
5643
6101
  }
5644
6102
  });
@@ -5703,24 +6161,54 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
5703
6161
  );
5704
6162
  const bemCssClasses = useModifiers("vv-tab", modifiers);
5705
6163
  return (_ctx, _cache) => {
5706
- return openBlock(), createElementBlock("div", {
5707
- class: normalizeClass(unref(bemCssClasses))
5708
- }, [
5709
- createVNode(_sfc_main$6, mergeProps({
5710
- items: unref(navItems),
5711
- modifiers: unref(hasNavModifiers)
5712
- }, { onClick: onNavClick }), null, 16),
5713
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(items), (item, index) => {
5714
- return openBlock(), createElementBlock(Fragment, { key: index }, [
5715
- item.tab ? (openBlock(), createElementBlock("article", {
5716
- key: 0,
5717
- class: normalizeClass([{ target: unref(activeTabKey) === item.tab }, "vv-tab__panel"])
5718
- }, [
5719
- renderSlot(_ctx.$slots, `panel::${item.tab}`)
5720
- ], 2)) : createCommentVNode("", true)
5721
- ], 64);
5722
- }), 128))
5723
- ], 2);
6164
+ return openBlock(), createElementBlock(
6165
+ "div",
6166
+ {
6167
+ class: normalizeClass(unref(bemCssClasses))
6168
+ },
6169
+ [
6170
+ createVNode(
6171
+ _sfc_main$6,
6172
+ mergeProps({
6173
+ items: unref(navItems),
6174
+ modifiers: unref(hasNavModifiers)
6175
+ }, { onClick: onNavClick }),
6176
+ null,
6177
+ 16
6178
+ /* FULL_PROPS */
6179
+ ),
6180
+ (openBlock(true), createElementBlock(
6181
+ Fragment,
6182
+ null,
6183
+ renderList(unref(items), (item, index) => {
6184
+ return openBlock(), createElementBlock(
6185
+ Fragment,
6186
+ { key: index },
6187
+ [
6188
+ item.tab ? (openBlock(), createElementBlock(
6189
+ "article",
6190
+ {
6191
+ key: 0,
6192
+ class: normalizeClass([{ target: unref(activeTabKey) === item.tab }, "vv-tab__panel"])
6193
+ },
6194
+ [
6195
+ renderSlot(_ctx.$slots, `panel::${item.tab}`)
6196
+ ],
6197
+ 2
6198
+ /* CLASS */
6199
+ )) : createCommentVNode("v-if", true)
6200
+ ],
6201
+ 64
6202
+ /* STABLE_FRAGMENT */
6203
+ );
6204
+ }),
6205
+ 128
6206
+ /* KEYED_FRAGMENT */
6207
+ ))
6208
+ ],
6209
+ 2
6210
+ /* CLASS */
6211
+ );
5724
6212
  };
5725
6213
  }
5726
6214
  });
@@ -5905,81 +6393,106 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
5905
6393
  localModelValue.value = void 0;
5906
6394
  };
5907
6395
  return (_ctx, _cache) => {
5908
- return openBlock(), createElementBlock("div", {
5909
- class: normalizeClass(unref(bemCssClasses))
5910
- }, [
5911
- unref(label) ? (openBlock(), createElementBlock("label", {
5912
- key: 0,
5913
- for: unref(hasId),
5914
- class: "vv-textarea__label"
5915
- }, toDisplayString(unref(label)), 9, _hoisted_1)) : createCommentVNode("", true),
5916
- createElementVNode("div", _hoisted_2, [
5917
- _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_3, [
5918
- renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
5919
- ])) : createCommentVNode("", true),
5920
- createElementVNode("div", _hoisted_4, [
5921
- unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$o, mergeProps({
5922
- key: 0,
5923
- class: "vv-textarea__icon"
5924
- }, unref(hasIcon)), null, 16)) : createCommentVNode("", true),
5925
- withDirectives(createElementVNode("textarea", mergeProps({
5926
- id: unref(hasId),
5927
- ref_key: "textarea",
5928
- ref: textarea,
5929
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(localModelValue) ? localModelValue.value = $event : null)
5930
- }, unref(hasAttrs), {
5931
- onKeyup: _cache[1] || (_cache[1] = ($event) => emit("keyup", $event))
5932
- }), null, 16, _hoisted_5), [
5933
- [vModelText, unref(localModelValue)]
6396
+ return openBlock(), createElementBlock(
6397
+ "div",
6398
+ {
6399
+ class: normalizeClass(unref(bemCssClasses))
6400
+ },
6401
+ [
6402
+ unref(label) ? (openBlock(), createElementBlock("label", {
6403
+ key: 0,
6404
+ for: unref(hasId),
6405
+ class: "vv-textarea__label"
6406
+ }, toDisplayString(unref(label)), 9, _hoisted_1)) : createCommentVNode("v-if", true),
6407
+ createElementVNode("div", _hoisted_2, [
6408
+ _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_3, [
6409
+ renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
6410
+ ])) : createCommentVNode("v-if", true),
6411
+ createElementVNode("div", _hoisted_4, [
6412
+ unref(hasIconBefore) ? (openBlock(), createBlock(
6413
+ _sfc_main$o,
6414
+ mergeProps({
6415
+ key: 0,
6416
+ class: "vv-textarea__icon"
6417
+ }, unref(hasIcon)),
6418
+ null,
6419
+ 16
6420
+ /* FULL_PROPS */
6421
+ )) : createCommentVNode("v-if", true),
6422
+ withDirectives(createElementVNode("textarea", mergeProps({
6423
+ id: unref(hasId),
6424
+ ref_key: "textarea",
6425
+ ref: textarea,
6426
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(localModelValue) ? localModelValue.value = $event : null)
6427
+ }, unref(hasAttrs), {
6428
+ onKeyup: _cache[1] || (_cache[1] = ($event) => emit("keyup", $event))
6429
+ }), null, 16, _hoisted_5), [
6430
+ [vModelText, unref(localModelValue)]
6431
+ ]),
6432
+ unref(hasIconAfter) ? (openBlock(), createBlock(
6433
+ _sfc_main$o,
6434
+ mergeProps({
6435
+ key: 1,
6436
+ class: "vv-textarea__icon vv-textarea__icon-after"
6437
+ }, unref(hasIcon)),
6438
+ null,
6439
+ 16
6440
+ /* FULL_PROPS */
6441
+ )) : createCommentVNode("v-if", true)
5934
6442
  ]),
5935
- unref(hasIconAfter) ? (openBlock(), createBlock(_sfc_main$o, mergeProps({
5936
- key: 1,
5937
- class: "vv-textarea__icon vv-textarea__icon-after"
5938
- }, unref(hasIcon)), null, 16)) : createCommentVNode("", true)
6443
+ _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_6, [
6444
+ renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps(unref(slotProps))))
6445
+ ])) : createCommentVNode("v-if", true),
6446
+ unref(count) ? (openBlock(), createElementBlock("span", _hoisted_7, [
6447
+ renderSlot(_ctx.$slots, "count", normalizeProps(guardReactiveProps(unref(slotProps))), () => [
6448
+ createTextVNode(
6449
+ toDisplayString(unref(countFormatted)),
6450
+ 1
6451
+ /* TEXT */
6452
+ )
6453
+ ])
6454
+ ])) : createCommentVNode("v-if", true)
5939
6455
  ]),
5940
- _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_6, [
5941
- renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps(unref(slotProps))))
5942
- ])) : createCommentVNode("", true),
5943
- unref(count) ? (openBlock(), createElementBlock("span", _hoisted_7, [
5944
- renderSlot(_ctx.$slots, "count", normalizeProps(guardReactiveProps(unref(slotProps))), () => [
5945
- createTextVNode(toDisplayString(unref(countFormatted)), 1)
5946
- ])
5947
- ])) : createCommentVNode("", true)
5948
- ]),
5949
- createVNode(unref(HintSlot), {
5950
- id: unref(hasHintId),
5951
- class: "vv-textarea__hint"
5952
- }, createSlots({ _: 2 }, [
5953
- _ctx.$slots.hint ? {
5954
- name: "hint",
5955
- fn: withCtx(() => [
5956
- renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5957
- ]),
5958
- key: "0"
5959
- } : void 0,
5960
- _ctx.$slots.loading ? {
5961
- name: "loading",
5962
- fn: withCtx(() => [
5963
- renderSlot(_ctx.$slots, "loading", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5964
- ]),
5965
- key: "1"
5966
- } : void 0,
5967
- _ctx.$slots.valid ? {
5968
- name: "valid",
5969
- fn: withCtx(() => [
5970
- renderSlot(_ctx.$slots, "valid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5971
- ]),
5972
- key: "2"
5973
- } : void 0,
5974
- _ctx.$slots.invalid ? {
5975
- name: "invalid",
5976
- fn: withCtx(() => [
5977
- renderSlot(_ctx.$slots, "invalid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
5978
- ]),
5979
- key: "3"
5980
- } : void 0
5981
- ]), 1032, ["id"])
5982
- ], 2);
6456
+ createVNode(unref(HintSlot), {
6457
+ id: unref(hasHintId),
6458
+ class: "vv-textarea__hint"
6459
+ }, createSlots({
6460
+ _: 2
6461
+ /* DYNAMIC */
6462
+ }, [
6463
+ _ctx.$slots.hint ? {
6464
+ name: "hint",
6465
+ fn: withCtx(() => [
6466
+ renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
6467
+ ]),
6468
+ key: "0"
6469
+ } : void 0,
6470
+ _ctx.$slots.loading ? {
6471
+ name: "loading",
6472
+ fn: withCtx(() => [
6473
+ renderSlot(_ctx.$slots, "loading", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
6474
+ ]),
6475
+ key: "1"
6476
+ } : void 0,
6477
+ _ctx.$slots.valid ? {
6478
+ name: "valid",
6479
+ fn: withCtx(() => [
6480
+ renderSlot(_ctx.$slots, "valid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
6481
+ ]),
6482
+ key: "2"
6483
+ } : void 0,
6484
+ _ctx.$slots.invalid ? {
6485
+ name: "invalid",
6486
+ fn: withCtx(() => [
6487
+ renderSlot(_ctx.$slots, "invalid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
6488
+ ]),
6489
+ key: "3"
6490
+ } : void 0
6491
+ ]), 1032, ["id"])
6492
+ ],
6493
+ 2
6494
+ /* CLASS */
6495
+ );
5983
6496
  };
5984
6497
  }
5985
6498
  });
@@ -6011,15 +6524,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
6011
6524
  }))
6012
6525
  );
6013
6526
  return (_ctx, _cache) => {
6014
- return openBlock(), createElementBlock("span", {
6015
- class: normalizeClass(unref(bemCssClasses)),
6016
- role: "tooltip",
6017
- inert: ""
6018
- }, [
6019
- renderSlot(_ctx.$slots, "default", {}, () => [
6020
- createTextVNode(toDisplayString(_ctx.value), 1)
6021
- ])
6022
- ], 2);
6527
+ return openBlock(), createElementBlock(
6528
+ "span",
6529
+ {
6530
+ class: normalizeClass(unref(bemCssClasses)),
6531
+ role: "tooltip",
6532
+ inert: ""
6533
+ },
6534
+ [
6535
+ renderSlot(_ctx.$slots, "default", {}, () => [
6536
+ createTextVNode(
6537
+ toDisplayString(_ctx.value),
6538
+ 1
6539
+ /* TEXT */
6540
+ )
6541
+ ])
6542
+ ],
6543
+ 2
6544
+ /* CLASS */
6545
+ );
6023
6546
  };
6024
6547
  }
6025
6548
  });