@volverjs/ui-vue 0.0.10-beta.7 → 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.
- package/bin/icons.cjs +1 -1
- package/bin/icons.js +22 -15
- package/dist/Volver.d.ts +0 -1
- package/dist/components/VvAccordion/VvAccordion.es.js +10 -2
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +52 -25
- package/dist/components/VvAction/VvAction.es.js +6 -1
- package/dist/components/VvAlert/VvAlert.es.js +73 -43
- package/dist/components/VvAlert/VvAlert.umd.js +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +113 -64
- package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
- package/dist/components/VvAvatar/VvAvatar.es.js +1 -1
- package/dist/components/VvAvatar/VvAvatar.umd.js +1 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +56 -26
- package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
- package/dist/components/VvBadge/VvBadge.es.js +18 -8
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +61 -38
- package/dist/components/VvButton/VvButton.es.js +45 -17
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButton/VvButton.vue.d.ts +3 -3
- package/dist/components/VvButton/index.d.ts +2 -2
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +12 -6
- package/dist/components/VvCard/VvCard.es.js +26 -16
- package/dist/components/VvCard/VvCard.umd.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.es.js +9 -2
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +78 -44
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCheckboxGroup/index.d.ts +1 -1
- package/dist/components/VvCombobox/VvCombobox.es.js +587 -368
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +3 -3
- package/dist/components/VvCombobox/index.d.ts +1 -1
- package/dist/components/VvDialog/VvDialog.es.js +44 -27
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.es.js +64 -44
- package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +3 -3
- package/dist/components/VvDropdown/index.d.ts +1 -1
- package/dist/components/VvDropdownAction/VvDropdownAction.es.js +26 -9
- package/dist/components/VvDropdownItem/VvDropdownItem.es.js +13 -7
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +7 -1
- package/dist/components/VvDropdownOption/VvDropdownOption.es.js +19 -8
- package/dist/components/VvIcon/VvIcon.es.js +1 -1
- package/dist/components/VvIcon/VvIcon.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.es.js +126 -97
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvNav/VvNav.es.js +50 -26
- package/dist/components/VvNav/VvNav.vue.d.ts +3 -3
- package/dist/components/VvNav/index.d.ts +1 -1
- package/dist/components/VvNavItem/VvNavItem.es.js +19 -7
- package/dist/components/VvProgress/VvProgress.es.js +12 -6
- package/dist/components/VvRadio/VvRadio.es.js +9 -2
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +78 -44
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvRadioGroup/index.d.ts +1 -1
- package/dist/components/VvSelect/VvSelect.es.js +133 -94
- package/dist/components/VvSelect/VvSelect.umd.js +1 -1
- package/dist/components/VvSelect/index.d.ts +1 -1
- package/dist/components/VvTab/VvTab.es.js +98 -44
- package/dist/components/VvTab/VvTab.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.es.js +99 -74
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTooltip/VvTooltip.es.js +19 -9
- package/dist/components/VvTooltip/VvTooltip.vue.d.ts +3 -3
- package/dist/components/VvTooltip/index.d.ts +1 -1
- package/dist/components/index.es.js +1355 -836
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/useVolver.d.ts +1 -1
- package/dist/directives/index.d.ts +3 -5
- package/dist/directives/index.es.js +39 -23
- package/dist/directives/index.umd.js +1 -1
- package/dist/directives/v-tooltip.es.js +37 -18
- package/dist/directives/v-tooltip.umd.js +1 -1
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/props/index.d.ts +1 -1
- package/dist/types/generic.d.ts +1 -1
- package/package.json +31 -31
- package/src/Volver.ts +0 -1
- package/src/assets/icons/detailed.json +1 -1
- package/src/assets/icons/normal.json +1 -1
- package/src/assets/icons/simple.json +1 -1
- package/src/components/VvInputText/VvInputText.vue +2 -2
- package/src/directives/index.ts +1 -4
- package/src/directives/v-tooltip.ts +19 -10
- package/src/index.ts +3 -1
- 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(
|
|
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(
|
|
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(
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
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(
|
|
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(
|
|
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(
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
))
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
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(
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
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(
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
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
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
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(
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
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(
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
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(
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
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(
|
|
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({
|
|
2493
|
+
}, createSlots({
|
|
2494
|
+
_: 2
|
|
2495
|
+
/* DYNAMIC */
|
|
2496
|
+
}, [
|
|
2356
2497
|
_ctx.$slots.hint ? {
|
|
2357
2498
|
name: "hint",
|
|
2358
2499
|
fn: withCtx(() => [
|
|
@@ -2469,49 +2610,76 @@ 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(
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
key:
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
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
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2676
|
+
1024
|
|
2677
|
+
/* DYNAMIC_SLOTS */
|
|
2678
|
+
)
|
|
2679
|
+
],
|
|
2680
|
+
2
|
|
2681
|
+
/* CLASS */
|
|
2682
|
+
);
|
|
2515
2683
|
};
|
|
2516
2684
|
}
|
|
2517
2685
|
});
|
|
@@ -3104,50 +3272,70 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
3104
3272
|
}
|
|
3105
3273
|
};
|
|
3106
3274
|
return (_ctx, _cache) => {
|
|
3107
|
-
return openBlock(), createElementBlock(
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
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
|
+
);
|
|
3151
3339
|
};
|
|
3152
3340
|
}
|
|
3153
3341
|
});
|
|
@@ -3169,13 +3357,19 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
3169
3357
|
}
|
|
3170
3358
|
});
|
|
3171
3359
|
return (_ctx, _cache) => {
|
|
3172
|
-
return openBlock(), createElementBlock(
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
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
|
+
);
|
|
3179
3373
|
};
|
|
3180
3374
|
}
|
|
3181
3375
|
});
|
|
@@ -3234,11 +3428,16 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
3234
3428
|
title: unref(hintLabel)
|
|
3235
3429
|
}, [
|
|
3236
3430
|
renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps({ disabled: _ctx.disabled, selected: _ctx.selected, unselectable: _ctx.unselectable })), () => [
|
|
3237
|
-
createTextVNode(
|
|
3431
|
+
createTextVNode(
|
|
3432
|
+
toDisplayString(unref(hintLabel)),
|
|
3433
|
+
1
|
|
3434
|
+
/* TEXT */
|
|
3435
|
+
)
|
|
3238
3436
|
])
|
|
3239
3437
|
], 8, _hoisted_1$a)
|
|
3240
3438
|
]),
|
|
3241
3439
|
_: 3
|
|
3440
|
+
/* FORWARDED */
|
|
3242
3441
|
}, 8, ["class", "tabindex", "aria-selected", "aria-disabled"]);
|
|
3243
3442
|
};
|
|
3244
3443
|
}
|
|
@@ -3259,7 +3458,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
3259
3458
|
setup(__props) {
|
|
3260
3459
|
const props = __props;
|
|
3261
3460
|
return (_ctx, _cache) => {
|
|
3262
|
-
return openBlock(), createElementBlock(
|
|
3461
|
+
return openBlock(), createElementBlock(
|
|
3462
|
+
"li",
|
|
3463
|
+
_hoisted_1$9,
|
|
3464
|
+
toDisplayString(props.label),
|
|
3465
|
+
1
|
|
3466
|
+
/* TEXT */
|
|
3467
|
+
);
|
|
3263
3468
|
};
|
|
3264
3469
|
}
|
|
3265
3470
|
});
|
|
@@ -3493,101 +3698,140 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
3493
3698
|
return option && option.options && option.options.length > 0;
|
|
3494
3699
|
};
|
|
3495
3700
|
return (_ctx, _cache) => {
|
|
3496
|
-
return openBlock(), createElementBlock(
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
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)
|
|
3547
3790
|
]),
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
}, 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)
|
|
3552
3794
|
]),
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
]
|
|
3590
|
-
|
|
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
|
+
);
|
|
3591
3835
|
};
|
|
3592
3836
|
}
|
|
3593
3837
|
});
|
|
@@ -3902,208 +4146,307 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
3902
4146
|
key: 0,
|
|
3903
4147
|
id: unref(hasLabelId),
|
|
3904
4148
|
for: unref(propsDefaults).searchable ? unref(hasSearchId) : void 0
|
|
3905
|
-
}, toDisplayString(_ctx.label), 9, _hoisted_2$5)) : createCommentVNode("", true),
|
|
3906
|
-
createElementVNode(
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
"
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
createTextVNode(toDisplayString(unref(getOptionLabel)(item)), 1)
|
|
4011
|
-
])
|
|
4012
|
-
]),
|
|
4013
|
-
_: 2
|
|
4014
|
-
}, 1040, ["onClickPassive"]);
|
|
4015
|
-
}), 128))
|
|
4016
|
-
], 64)) : (openBlock(), createBlock(_sfc_main$d, mergeProps({ key: 1 }, {
|
|
4017
|
-
selected: isOptionSelected(option),
|
|
4018
|
-
disabled: unref(isOptionDisabled)(option),
|
|
4019
|
-
unselectable: _ctx.unselectable,
|
|
4020
|
-
deselectHintLabel: unref(propsDefaults).deselectHintLabel,
|
|
4021
|
-
selectHintLabel: unref(propsDefaults).selectHintLabel,
|
|
4022
|
-
selectedHintLabel: unref(propsDefaults).selectedHintLabel
|
|
4023
|
-
}, {
|
|
4024
|
-
class: "vv-dropdown-option",
|
|
4025
|
-
onClickPassive: ($event) => onInput(option)
|
|
4026
|
-
}), {
|
|
4027
|
-
default: withCtx(() => [
|
|
4028
|
-
renderSlot(_ctx.$slots, "option", normalizeProps(guardReactiveProps({
|
|
4029
|
-
option,
|
|
4030
|
-
selectedOptions: unref(selectedOptions),
|
|
4031
|
-
selected: isOptionSelected(option),
|
|
4032
|
-
disabled: unref(isOptionDisabled)(option)
|
|
4033
|
-
})), () => [
|
|
4034
|
-
createTextVNode(toDisplayString(unref(getOptionLabel)(option)), 1)
|
|
4035
|
-
])
|
|
4036
|
-
]),
|
|
4037
|
-
_: 2
|
|
4038
|
-
}, 1040, ["onClickPassive"]))
|
|
4039
|
-
], 64);
|
|
4040
|
-
}), 128)) : !_ctx.options.length ? (openBlock(), createBlock(_sfc_main$d, {
|
|
4041
|
-
key: 1,
|
|
4042
|
-
modifiers: "inert"
|
|
4043
|
-
}, {
|
|
4044
|
-
default: withCtx(() => [
|
|
4045
|
-
renderSlot(_ctx.$slots, "no-options", {}, () => [
|
|
4046
|
-
createTextVNode(toDisplayString(unref(propsDefaults).noOptionsLabel), 1)
|
|
4047
|
-
])
|
|
4048
|
-
]),
|
|
4049
|
-
_: 3
|
|
4050
|
-
})) : !unref(disabled) ? (openBlock(), createBlock(_sfc_main$d, {
|
|
4051
|
-
key: 2,
|
|
4052
|
-
modifiers: "inert"
|
|
4053
|
-
}, {
|
|
4054
|
-
default: withCtx(() => [
|
|
4055
|
-
renderSlot(_ctx.$slots, "no-results", {}, () => [
|
|
4056
|
-
createTextVNode(toDisplayString(unref(propsDefaults).noResultsLabel), 1)
|
|
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
|
+
))
|
|
4057
4254
|
])
|
|
4058
|
-
]),
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
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(() => {
|
|
4065
4272
|
var _a;
|
|
4066
4273
|
return [
|
|
4067
|
-
((_a = unref(
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
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)
|
|
4073
4397
|
];
|
|
4074
|
-
})
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(searchText) ? searchText.value = $event : null),
|
|
4088
|
-
"aria-autocomplete": "list",
|
|
4089
|
-
"aria-controls": unref(hasDropdownId),
|
|
4090
|
-
autocomplete: "off",
|
|
4091
|
-
spellcheck: "false",
|
|
4092
|
-
type: "search",
|
|
4093
|
-
class: "vv-dropdown__search",
|
|
4094
|
-
placeholder: unref(propsDefaults).searchPlaceholder
|
|
4095
|
-
}, null, 8, _hoisted_3$3)), [
|
|
4096
|
-
[vModelText, unref(searchText)]
|
|
4097
|
-
]) : createCommentVNode("", true)
|
|
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
|
+
})
|
|
4098
4411
|
]),
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
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
|
+
),
|
|
4103
4443
|
createVNode(unref(HintSlot), {
|
|
4104
4444
|
id: unref(hasHintId),
|
|
4105
4445
|
class: "vv-select__hint"
|
|
4106
|
-
}, createSlots({
|
|
4446
|
+
}, createSlots({
|
|
4447
|
+
_: 2
|
|
4448
|
+
/* DYNAMIC */
|
|
4449
|
+
}, [
|
|
4107
4450
|
_ctx.$slots.hint ? {
|
|
4108
4451
|
name: "hint",
|
|
4109
4452
|
fn: withCtx(() => [
|
|
@@ -4133,9 +4476,15 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
4133
4476
|
key: "3"
|
|
4134
4477
|
} : void 0
|
|
4135
4478
|
]), 1032, ["id"])
|
|
4136
|
-
], 10, _hoisted_1$7)) : (openBlock(), createBlock(
|
|
4137
|
-
|
|
4138
|
-
|
|
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
|
+
));
|
|
4139
4488
|
};
|
|
4140
4489
|
}
|
|
4141
4490
|
});
|
|
@@ -4278,7 +4627,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
4278
4627
|
}
|
|
4279
4628
|
};
|
|
4280
4629
|
return (_ctx, _cache) => {
|
|
4281
|
-
return openBlock(), createBlock(Transition, mergeProps({ name: unref(transitioName) }, toHandlers(dialogTransitionHandlers)), {
|
|
4630
|
+
return openBlock(), createBlock(Transition, mergeProps({ name: unref(transitioName) }, toHandlers(dialogTransitionHandlers), { persisted: "" }), {
|
|
4282
4631
|
default: withCtx(() => [
|
|
4283
4632
|
withDirectives(createElementVNode("dialog", mergeProps(unref(dialogAttrs), {
|
|
4284
4633
|
ref_key: "dialogEl",
|
|
@@ -4286,36 +4635,53 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
4286
4635
|
class: unref(dialogClass),
|
|
4287
4636
|
onCancel: withModifiers(onCancel, ["stop", "prevent"])
|
|
4288
4637
|
}), [
|
|
4289
|
-
createElementVNode(
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
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
|
+
)
|
|
4314
4679
|
], 16, _hoisted_1$6), [
|
|
4315
4680
|
[vShow, unref(isOpened)]
|
|
4316
4681
|
])
|
|
4317
4682
|
]),
|
|
4318
4683
|
_: 3
|
|
4684
|
+
/* FORWARDED */
|
|
4319
4685
|
}, 16, ["name"]);
|
|
4320
4686
|
};
|
|
4321
4687
|
}
|
|
@@ -4986,7 +5352,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
4986
5352
|
return;
|
|
4987
5353
|
}
|
|
4988
5354
|
inputEl.value.stepUp();
|
|
4989
|
-
localModelValue.value = unref(inputEl).value;
|
|
5355
|
+
localModelValue.value = Number(unref(inputEl).value);
|
|
4990
5356
|
}
|
|
4991
5357
|
};
|
|
4992
5358
|
const onStepDown = () => {
|
|
@@ -4996,7 +5362,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
4996
5362
|
return;
|
|
4997
5363
|
}
|
|
4998
5364
|
inputEl.value.stepDown();
|
|
4999
|
-
localModelValue.value = unref(inputEl).value;
|
|
5365
|
+
localModelValue.value = Number(unref(inputEl).value);
|
|
5000
5366
|
}
|
|
5001
5367
|
};
|
|
5002
5368
|
const isSearch = computed(() => props.type === INPUT_TYPES.SEARCH);
|
|
@@ -5160,101 +5526,130 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
5160
5526
|
emit("keydown", event);
|
|
5161
5527
|
};
|
|
5162
5528
|
return (_ctx, _cache) => {
|
|
5163
|
-
return openBlock(), createElementBlock(
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
|
|
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
|
+
)
|
|
5198
5610
|
])
|
|
5199
|
-
])) : createCommentVNode("", true)
|
|
5200
|
-
]
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
class: "vv-input-
|
|
5204
|
-
},
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
}
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
} : void 0,
|
|
5242
|
-
_ctx.$slots.valid ? {
|
|
5243
|
-
name: "valid",
|
|
5244
|
-
fn: withCtx(() => [
|
|
5245
|
-
renderSlot(_ctx.$slots, "valid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
|
|
5246
|
-
]),
|
|
5247
|
-
key: "2"
|
|
5248
|
-
} : void 0,
|
|
5249
|
-
_ctx.$slots.invalid ? {
|
|
5250
|
-
name: "invalid",
|
|
5251
|
-
fn: withCtx(() => [
|
|
5252
|
-
renderSlot(_ctx.$slots, "invalid", normalizeProps(guardReactiveProps(unref(hintSlotScope))))
|
|
5253
|
-
]),
|
|
5254
|
-
key: "3"
|
|
5255
|
-
} : void 0
|
|
5256
|
-
]), 1032, ["id"])
|
|
5257
|
-
], 2);
|
|
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
|
+
);
|
|
5258
5653
|
};
|
|
5259
5654
|
}
|
|
5260
5655
|
});
|
|
@@ -5276,12 +5671,19 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
5276
5671
|
setup(__props) {
|
|
5277
5672
|
return (_ctx, _cache) => {
|
|
5278
5673
|
return openBlock(), createElementBlock("li", _hoisted_1$4, [
|
|
5279
|
-
createVNode(
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
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
|
+
)
|
|
5285
5687
|
]);
|
|
5286
5688
|
};
|
|
5287
5689
|
}
|
|
@@ -5308,25 +5710,37 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
5308
5710
|
};
|
|
5309
5711
|
const bemCssClasses = useModifiers("vv-nav", modifiers);
|
|
5310
5712
|
return (_ctx, _cache) => {
|
|
5311
|
-
return openBlock(), createElementBlock(
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
"
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
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
|
+
);
|
|
5330
5744
|
};
|
|
5331
5745
|
}
|
|
5332
5746
|
});
|
|
@@ -5377,12 +5791,18 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
5377
5791
|
computed(() => ({ indeterminate: indeterminate.value }))
|
|
5378
5792
|
);
|
|
5379
5793
|
return (_ctx, _cache) => {
|
|
5380
|
-
return openBlock(), createElementBlock(
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
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
|
+
);
|
|
5386
5806
|
};
|
|
5387
5807
|
}
|
|
5388
5808
|
});
|
|
@@ -5510,12 +5930,19 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
5510
5930
|
[vModelRadio, unref(localModelValue)]
|
|
5511
5931
|
]),
|
|
5512
5932
|
renderSlot(_ctx.$slots, "default", { value: unref(modelValue) }, () => [
|
|
5513
|
-
createTextVNode(
|
|
5933
|
+
createTextVNode(
|
|
5934
|
+
toDisplayString(_ctx.label),
|
|
5935
|
+
1
|
|
5936
|
+
/* TEXT */
|
|
5937
|
+
)
|
|
5514
5938
|
]),
|
|
5515
5939
|
createVNode(unref(HintSlot), {
|
|
5516
5940
|
id: unref(hasHintId),
|
|
5517
5941
|
class: "vv-radio__hint"
|
|
5518
|
-
}, createSlots({
|
|
5942
|
+
}, createSlots({
|
|
5943
|
+
_: 2
|
|
5944
|
+
/* DYNAMIC */
|
|
5945
|
+
}, [
|
|
5519
5946
|
_ctx.$slots.hint ? {
|
|
5520
5947
|
name: "hint",
|
|
5521
5948
|
fn: withCtx(() => [
|
|
@@ -5600,49 +6027,76 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
5600
6027
|
};
|
|
5601
6028
|
const { HintSlot, hintSlotScope } = HintSlotFactory(propsDefaults, slots);
|
|
5602
6029
|
return (_ctx, _cache) => {
|
|
5603
|
-
return openBlock(), createElementBlock(
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5628
|
-
key:
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
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
|
|
5641
6092
|
]),
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
6093
|
+
1024
|
|
6094
|
+
/* DYNAMIC_SLOTS */
|
|
6095
|
+
)
|
|
6096
|
+
],
|
|
6097
|
+
2
|
|
6098
|
+
/* CLASS */
|
|
6099
|
+
);
|
|
5646
6100
|
};
|
|
5647
6101
|
}
|
|
5648
6102
|
});
|
|
@@ -5707,24 +6161,54 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
5707
6161
|
);
|
|
5708
6162
|
const bemCssClasses = useModifiers("vv-tab", modifiers);
|
|
5709
6163
|
return (_ctx, _cache) => {
|
|
5710
|
-
return openBlock(), createElementBlock(
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
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
|
+
);
|
|
5728
6212
|
};
|
|
5729
6213
|
}
|
|
5730
6214
|
});
|
|
@@ -5909,81 +6393,106 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
5909
6393
|
localModelValue.value = void 0;
|
|
5910
6394
|
};
|
|
5911
6395
|
return (_ctx, _cache) => {
|
|
5912
|
-
return openBlock(), createElementBlock(
|
|
5913
|
-
|
|
5914
|
-
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
|
|
5921
|
-
|
|
5922
|
-
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
|
|
5934
|
-
|
|
5935
|
-
|
|
5936
|
-
|
|
5937
|
-
|
|
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)
|
|
5938
6442
|
]),
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
|
|
5942
|
-
|
|
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)
|
|
5943
6455
|
]),
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
|
-
|
|
5972
|
-
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
|
|
5976
|
-
|
|
5977
|
-
|
|
5978
|
-
|
|
5979
|
-
|
|
5980
|
-
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
} : void 0
|
|
5985
|
-
]), 1032, ["id"])
|
|
5986
|
-
], 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
|
+
);
|
|
5987
6496
|
};
|
|
5988
6497
|
}
|
|
5989
6498
|
});
|
|
@@ -6015,15 +6524,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
6015
6524
|
}))
|
|
6016
6525
|
);
|
|
6017
6526
|
return (_ctx, _cache) => {
|
|
6018
|
-
return openBlock(), createElementBlock(
|
|
6019
|
-
|
|
6020
|
-
|
|
6021
|
-
|
|
6022
|
-
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
|
|
6026
|
-
|
|
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
|
+
);
|
|
6027
6546
|
};
|
|
6028
6547
|
}
|
|
6029
6548
|
});
|