@volverjs/ui-vue 0.0.5-beta.2 → 0.0.5-beta.3
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/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +7 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.es.js +157 -61
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +0 -8
- package/dist/components/VvDropdown/VvDropdownOptgroup.vue.d.ts +6 -0
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +237 -0
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.umd.js +1 -0
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +7 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvSelect/VvSelect.es.js +42 -10
- package/dist/components/VvSelect/VvSelect.umd.js +1 -1
- package/dist/components/VvSelect/VvSelect.vue.d.ts +4 -3
- package/dist/components/index.es.js +227 -131
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/useOptions.d.ts +1 -0
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/resolvers/unplugin.es.js +2 -1
- package/dist/resolvers/unplugin.umd.js +1 -1
- package/package.json +9 -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/VvCombobox/VvCombobox.vue +80 -25
- package/src/components/VvDropdown/VvDropdownOptgroup.vue +18 -0
- package/src/components/VvSelect/VvSelect.vue +38 -10
- package/src/composables/useOptions.ts +6 -0
- package/src/resolvers/unplugin.ts +2 -1
- package/src/types/generic.d.ts +2 -1
|
@@ -295,14 +295,14 @@ function useModifiers(prefix, modifiers, others) {
|
|
|
295
295
|
return toReturn;
|
|
296
296
|
});
|
|
297
297
|
}
|
|
298
|
-
const _hoisted_1$
|
|
298
|
+
const _hoisted_1$f = ["id", "open"];
|
|
299
299
|
const _hoisted_2$c = ["aria-controls", "aria-expanded"];
|
|
300
300
|
const _hoisted_3$6 = ["aria-hidden"];
|
|
301
|
-
const __default__$
|
|
301
|
+
const __default__$m = {
|
|
302
302
|
name: "VvAccordion"
|
|
303
303
|
};
|
|
304
|
-
const _sfc_main$
|
|
305
|
-
...__default__$
|
|
304
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
305
|
+
...__default__$m,
|
|
306
306
|
props: VvAccordionProps,
|
|
307
307
|
emits: VvAccordionEvents,
|
|
308
308
|
setup(__props, { emit }) {
|
|
@@ -393,7 +393,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
393
393
|
createTextVNode(toDisplayString(unref(content)), 1)
|
|
394
394
|
])
|
|
395
395
|
], 8, _hoisted_3$6)
|
|
396
|
-
], 10, _hoisted_1$
|
|
396
|
+
], 10, _hoisted_1$f);
|
|
397
397
|
};
|
|
398
398
|
}
|
|
399
399
|
});
|
|
@@ -446,11 +446,11 @@ function useProvideGroupState(groupState) {
|
|
|
446
446
|
computed(() => groupState)
|
|
447
447
|
);
|
|
448
448
|
}
|
|
449
|
-
const __default__$
|
|
449
|
+
const __default__$l = {
|
|
450
450
|
name: "VvAccordionGroup"
|
|
451
451
|
};
|
|
452
|
-
const _sfc_main$
|
|
453
|
-
...__default__$
|
|
452
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
453
|
+
...__default__$l,
|
|
454
454
|
props: VvAccordionGroupProps,
|
|
455
455
|
emits: VvAccordionGroupEvents,
|
|
456
456
|
setup(__props, { emit }) {
|
|
@@ -517,7 +517,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
517
517
|
}, [
|
|
518
518
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
519
519
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(items), (item) => {
|
|
520
|
-
return openBlock(), createBlock(_sfc_main$
|
|
520
|
+
return openBlock(), createBlock(_sfc_main$m, mergeProps({
|
|
521
521
|
key: item.title
|
|
522
522
|
}, {
|
|
523
523
|
name: item.name,
|
|
@@ -947,11 +947,11 @@ const VvBadgeProps = {
|
|
|
947
947
|
...ModifiersProps,
|
|
948
948
|
value: [String, Number]
|
|
949
949
|
};
|
|
950
|
-
const __default__$
|
|
950
|
+
const __default__$k = {
|
|
951
951
|
name: "VvBadge"
|
|
952
952
|
};
|
|
953
|
-
const _sfc_main$
|
|
954
|
-
...__default__$
|
|
953
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
954
|
+
...__default__$k,
|
|
955
955
|
props: VvBadgeProps,
|
|
956
956
|
setup(__props) {
|
|
957
957
|
const props = __props;
|
|
@@ -973,13 +973,13 @@ const VvBreadcrumbProps = {
|
|
|
973
973
|
...ModifiersProps,
|
|
974
974
|
routes: Array
|
|
975
975
|
};
|
|
976
|
-
const _hoisted_1$
|
|
976
|
+
const _hoisted_1$e = { class: "vv-breadcrumb__list" };
|
|
977
977
|
const _hoisted_2$b = ["content"];
|
|
978
|
-
const __default__$
|
|
978
|
+
const __default__$j = {
|
|
979
979
|
name: "VvBreadcrumb"
|
|
980
980
|
};
|
|
981
|
-
const _sfc_main$
|
|
982
|
-
...__default__$
|
|
981
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
982
|
+
...__default__$j,
|
|
983
983
|
props: VvBreadcrumbProps,
|
|
984
984
|
setup(__props) {
|
|
985
985
|
const props = __props;
|
|
@@ -990,7 +990,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
990
990
|
class: normalizeClass(unref(bemCssClasses)),
|
|
991
991
|
"aria-label": "breadcrumbs"
|
|
992
992
|
}, [
|
|
993
|
-
createElementVNode("ol", _hoisted_1$
|
|
993
|
+
createElementVNode("ol", _hoisted_1$e, [
|
|
994
994
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.routes, (route, index) => {
|
|
995
995
|
var _a, _b, _c, _d;
|
|
996
996
|
return openBlock(), createElementBlock("li", {
|
|
@@ -1125,11 +1125,11 @@ const VvIconProps = {
|
|
|
1125
1125
|
function useVolver() {
|
|
1126
1126
|
return inject(INJECTION_KEY_VOLVER);
|
|
1127
1127
|
}
|
|
1128
|
-
const __default__$
|
|
1128
|
+
const __default__$i = {
|
|
1129
1129
|
name: "VvIcon"
|
|
1130
1130
|
};
|
|
1131
|
-
const _sfc_main$
|
|
1132
|
-
...__default__$
|
|
1131
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
1132
|
+
...__default__$i,
|
|
1133
1133
|
props: VvIconProps,
|
|
1134
1134
|
setup(__props) {
|
|
1135
1135
|
const props = __props;
|
|
@@ -1226,11 +1226,11 @@ function useInjectedDropdownItem() {
|
|
|
1226
1226
|
function useInjectedDropdownAction() {
|
|
1227
1227
|
return inject(INJECTION_KEY_DROPDOWN_ACTION, {});
|
|
1228
1228
|
}
|
|
1229
|
-
const __default__$
|
|
1229
|
+
const __default__$h = {
|
|
1230
1230
|
name: "VvAction"
|
|
1231
1231
|
};
|
|
1232
|
-
const _sfc_main$
|
|
1233
|
-
...__default__$
|
|
1232
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
1233
|
+
...__default__$h,
|
|
1234
1234
|
props: VvActionProps,
|
|
1235
1235
|
emits: VvActionEvents,
|
|
1236
1236
|
setup(__props, { expose, emit }) {
|
|
@@ -1413,7 +1413,7 @@ function useGroupProps$2(props, emit) {
|
|
|
1413
1413
|
};
|
|
1414
1414
|
}
|
|
1415
1415
|
const useUniqueId = (id) => computed(() => String((id == null ? void 0 : id.value) || nanoid()));
|
|
1416
|
-
const _hoisted_1$
|
|
1416
|
+
const _hoisted_1$d = {
|
|
1417
1417
|
key: 1,
|
|
1418
1418
|
class: "vv-button__label"
|
|
1419
1419
|
};
|
|
@@ -1421,11 +1421,11 @@ const _hoisted_2$a = {
|
|
|
1421
1421
|
key: 1,
|
|
1422
1422
|
class: "vv-button__label"
|
|
1423
1423
|
};
|
|
1424
|
-
const __default__$
|
|
1424
|
+
const __default__$g = {
|
|
1425
1425
|
name: "VvButton"
|
|
1426
1426
|
};
|
|
1427
|
-
const _sfc_main$
|
|
1428
|
-
...__default__$
|
|
1427
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
1428
|
+
...__default__$g,
|
|
1429
1429
|
props: VvButtonProps,
|
|
1430
1430
|
emits: VvButtonEvents,
|
|
1431
1431
|
setup(__props, { expose, emit }) {
|
|
@@ -1500,7 +1500,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
1500
1500
|
}
|
|
1501
1501
|
};
|
|
1502
1502
|
return (_ctx, _cache) => {
|
|
1503
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1503
|
+
return openBlock(), createBlock(_sfc_main$h, mergeProps({
|
|
1504
1504
|
disabled: unref(disabled),
|
|
1505
1505
|
pressed: unref(pressed),
|
|
1506
1506
|
active: _ctx.active,
|
|
@@ -1519,15 +1519,15 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
1519
1519
|
default: withCtx(() => [
|
|
1520
1520
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
1521
1521
|
_ctx.loading ? renderSlot(_ctx.$slots, "loading", { key: 0 }, () => [
|
|
1522
|
-
_ctx.loadingIcon ? (openBlock(), createBlock(_sfc_main$
|
|
1522
|
+
_ctx.loadingIcon ? (openBlock(), createBlock(_sfc_main$i, {
|
|
1523
1523
|
key: 0,
|
|
1524
1524
|
class: "vv-button__loading-icon",
|
|
1525
1525
|
name: _ctx.loadingIcon
|
|
1526
1526
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
1527
|
-
_ctx.loadingLabel ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
1527
|
+
_ctx.loadingLabel ? (openBlock(), createElementBlock("span", _hoisted_1$d, toDisplayString(_ctx.loadingLabel), 1)) : createCommentVNode("", true)
|
|
1528
1528
|
]) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
1529
1529
|
renderSlot(_ctx.$slots, "before"),
|
|
1530
|
-
unref(icon) ? (openBlock(), createBlock(_sfc_main$
|
|
1530
|
+
unref(icon) ? (openBlock(), createBlock(_sfc_main$i, mergeProps({
|
|
1531
1531
|
key: 0,
|
|
1532
1532
|
class: "vv-button__icon"
|
|
1533
1533
|
}, unref(hasIconProps)), null, 16)) : createCommentVNode("", true),
|
|
@@ -1558,11 +1558,11 @@ const VvButtonGroupProps = {
|
|
|
1558
1558
|
modelValue: { type: [String, Array], default: void 0 }
|
|
1559
1559
|
};
|
|
1560
1560
|
const VvButtonGroupEvents = ["update:modelValue"];
|
|
1561
|
-
const __default__$
|
|
1561
|
+
const __default__$f = {
|
|
1562
1562
|
name: "VvButtonGroup"
|
|
1563
1563
|
};
|
|
1564
|
-
const _sfc_main$
|
|
1565
|
-
...__default__$
|
|
1564
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
1565
|
+
...__default__$f,
|
|
1566
1566
|
props: VvButtonGroupProps,
|
|
1567
1567
|
emits: VvButtonGroupEvents,
|
|
1568
1568
|
setup(__props, { emit }) {
|
|
@@ -1620,7 +1620,7 @@ const VvCardProps = {
|
|
|
1620
1620
|
title: String,
|
|
1621
1621
|
modifiers: [String, Array]
|
|
1622
1622
|
};
|
|
1623
|
-
const _hoisted_1$
|
|
1623
|
+
const _hoisted_1$c = {
|
|
1624
1624
|
key: 0,
|
|
1625
1625
|
class: "vv-card__header"
|
|
1626
1626
|
};
|
|
@@ -1632,11 +1632,11 @@ const _hoisted_3$5 = {
|
|
|
1632
1632
|
key: 2,
|
|
1633
1633
|
class: "vv-card__footer"
|
|
1634
1634
|
};
|
|
1635
|
-
const __default__$
|
|
1635
|
+
const __default__$e = {
|
|
1636
1636
|
name: "VvCard"
|
|
1637
1637
|
};
|
|
1638
|
-
const _sfc_main$
|
|
1639
|
-
...__default__$
|
|
1638
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
1639
|
+
...__default__$e,
|
|
1640
1640
|
props: VvCardProps,
|
|
1641
1641
|
setup(__props) {
|
|
1642
1642
|
const props = __props;
|
|
@@ -1646,7 +1646,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
1646
1646
|
return openBlock(), createElementBlock("article", {
|
|
1647
1647
|
class: normalizeClass(unref(bemCssClasses))
|
|
1648
1648
|
}, [
|
|
1649
|
-
_ctx.$slots.header || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$
|
|
1649
|
+
_ctx.$slots.header || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$c, [
|
|
1650
1650
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
1651
1651
|
createTextVNode(toDisplayString(_ctx.title), 1)
|
|
1652
1652
|
])
|
|
@@ -1819,13 +1819,13 @@ function HintSlotFactory(parentProps, parentSlots) {
|
|
|
1819
1819
|
}
|
|
1820
1820
|
};
|
|
1821
1821
|
}
|
|
1822
|
-
const _hoisted_1$
|
|
1822
|
+
const _hoisted_1$b = ["for"];
|
|
1823
1823
|
const _hoisted_2$8 = ["id", "name", "disabled", "value", "tabindex", "aria-invalid"];
|
|
1824
|
-
const __default__$
|
|
1824
|
+
const __default__$d = {
|
|
1825
1825
|
name: "VvCheckbox"
|
|
1826
1826
|
};
|
|
1827
|
-
const _sfc_main$
|
|
1828
|
-
...__default__$
|
|
1827
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
1828
|
+
...__default__$d,
|
|
1829
1829
|
props: VvCheckboxProps,
|
|
1830
1830
|
emits: VvCheckboxEvents,
|
|
1831
1831
|
setup(__props, { emit }) {
|
|
@@ -1965,7 +1965,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
1965
1965
|
class: "vv-checkbox__hint",
|
|
1966
1966
|
params: { value: unref(modelValue) }
|
|
1967
1967
|
}, null, 8, ["params"])
|
|
1968
|
-
], 10, _hoisted_1$
|
|
1968
|
+
], 10, _hoisted_1$b);
|
|
1969
1969
|
};
|
|
1970
1970
|
}
|
|
1971
1971
|
});
|
|
@@ -1988,20 +1988,26 @@ function useOptions(props) {
|
|
|
1988
1988
|
return false;
|
|
1989
1989
|
return typeof disabledKey.value === "function" ? disabledKey.value(option) : option[disabledKey.value];
|
|
1990
1990
|
};
|
|
1991
|
+
const getOptionGrouped = (option) => {
|
|
1992
|
+
if (typeof option !== "object" && option !== null)
|
|
1993
|
+
return [];
|
|
1994
|
+
return option.options;
|
|
1995
|
+
};
|
|
1991
1996
|
return {
|
|
1992
1997
|
options,
|
|
1993
1998
|
getOptionLabel,
|
|
1994
1999
|
getOptionValue,
|
|
1995
|
-
getOptionDisabled
|
|
2000
|
+
getOptionDisabled,
|
|
2001
|
+
getOptionGrouped
|
|
1996
2002
|
};
|
|
1997
2003
|
}
|
|
1998
|
-
const _hoisted_1$
|
|
2004
|
+
const _hoisted_1$a = ["textContent"];
|
|
1999
2005
|
const _hoisted_2$7 = { class: "vv-checkbox-group__wrapper" };
|
|
2000
|
-
const __default__$
|
|
2006
|
+
const __default__$c = {
|
|
2001
2007
|
name: "VvCheckboxGroup"
|
|
2002
2008
|
};
|
|
2003
|
-
const _sfc_main$
|
|
2004
|
-
...__default__$
|
|
2009
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
2010
|
+
...__default__$c,
|
|
2005
2011
|
props: VvCheckboxGroupProps,
|
|
2006
2012
|
emits: VvCheckboxGroupEvents,
|
|
2007
2013
|
setup(__props, { emit }) {
|
|
@@ -2045,10 +2051,10 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2045
2051
|
_ctx.label ? (openBlock(), createElementBlock("legend", {
|
|
2046
2052
|
key: 0,
|
|
2047
2053
|
textContent: toDisplayString(_ctx.label)
|
|
2048
|
-
}, null, 8, _hoisted_1$
|
|
2054
|
+
}, null, 8, _hoisted_1$a)) : createCommentVNode("", true),
|
|
2049
2055
|
createElementVNode("div", _hoisted_2$7, [
|
|
2050
2056
|
_ctx.options.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.options, (option, index) => {
|
|
2051
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2057
|
+
return openBlock(), createBlock(_sfc_main$d, mergeProps({ key: index }, getOptionProps(option, index)), null, 16);
|
|
2052
2058
|
}), 128)) : renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
2053
2059
|
]),
|
|
2054
2060
|
createVNode(unref(HintSlot), { class: "vv-checkbox-group__hint" })
|
|
@@ -2261,13 +2267,13 @@ function useProvideDropdownAction({
|
|
|
2261
2267
|
expanded
|
|
2262
2268
|
});
|
|
2263
2269
|
}
|
|
2264
|
-
const _hoisted_1$
|
|
2265
|
-
const __default__$
|
|
2270
|
+
const _hoisted_1$9 = ["id", "tabindex", "role", "aria-labelledby"];
|
|
2271
|
+
const __default__$b = {
|
|
2266
2272
|
name: "VvDropdown",
|
|
2267
2273
|
inheritAttrs: false
|
|
2268
2274
|
};
|
|
2269
|
-
const _sfc_main$
|
|
2270
|
-
...__default__$
|
|
2275
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
2276
|
+
...__default__$b,
|
|
2271
2277
|
props: VvDropdownProps,
|
|
2272
2278
|
emits: ["update:modelValue"],
|
|
2273
2279
|
setup(__props, { expose, emit }) {
|
|
@@ -2576,7 +2582,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2576
2582
|
renderSlot(_ctx.$slots, "items", normalizeProps(guardReactiveProps({
|
|
2577
2583
|
role: unref(itemRole)
|
|
2578
2584
|
})))
|
|
2579
|
-
], 16, _hoisted_1$
|
|
2585
|
+
], 16, _hoisted_1$9),
|
|
2580
2586
|
renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps({ expanded: unref(expanded) })))
|
|
2581
2587
|
], 6), [
|
|
2582
2588
|
[vShow, unref(expanded)]
|
|
@@ -2588,11 +2594,11 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2588
2594
|
};
|
|
2589
2595
|
}
|
|
2590
2596
|
});
|
|
2591
|
-
const __default__$
|
|
2597
|
+
const __default__$a = {
|
|
2592
2598
|
name: "VvDropdownItem"
|
|
2593
2599
|
};
|
|
2594
|
-
const _sfc_main$
|
|
2595
|
-
...__default__$
|
|
2600
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
2601
|
+
...__default__$a,
|
|
2596
2602
|
setup(__props) {
|
|
2597
2603
|
const { role, expanded } = useInjectedDropdownItem();
|
|
2598
2604
|
const element = ref(null);
|
|
@@ -2616,12 +2622,12 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2616
2622
|
};
|
|
2617
2623
|
}
|
|
2618
2624
|
});
|
|
2619
|
-
const _hoisted_1$
|
|
2620
|
-
const __default__$
|
|
2625
|
+
const _hoisted_1$8 = ["title"];
|
|
2626
|
+
const __default__$9 = {
|
|
2621
2627
|
name: "VvDropdownOption"
|
|
2622
2628
|
};
|
|
2623
|
-
const _sfc_main$
|
|
2624
|
-
...__default__$
|
|
2629
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
2630
|
+
...__default__$9,
|
|
2625
2631
|
props: {
|
|
2626
2632
|
...DisabledProps,
|
|
2627
2633
|
...SelectedProps,
|
|
@@ -2658,7 +2664,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2658
2664
|
}
|
|
2659
2665
|
});
|
|
2660
2666
|
return (_ctx, _cache) => {
|
|
2661
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2667
|
+
return openBlock(), createBlock(_sfc_main$a, {
|
|
2662
2668
|
class: normalizeClass(unref(bemCssClasses)),
|
|
2663
2669
|
tabindex: _ctx.disabled ? -1 : 0,
|
|
2664
2670
|
"aria-selected": _ctx.selected,
|
|
@@ -2673,13 +2679,33 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2673
2679
|
renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps({ disabled: _ctx.disabled, selected: _ctx.selected, unselectable: _ctx.unselectable })), () => [
|
|
2674
2680
|
createTextVNode(toDisplayString(unref(hintLabel)), 1)
|
|
2675
2681
|
])
|
|
2676
|
-
], 8, _hoisted_1$
|
|
2682
|
+
], 8, _hoisted_1$8)
|
|
2677
2683
|
]),
|
|
2678
2684
|
_: 3
|
|
2679
2685
|
}, 8, ["class", "tabindex", "aria-selected", "aria-disabled"]);
|
|
2680
2686
|
};
|
|
2681
2687
|
}
|
|
2682
2688
|
});
|
|
2689
|
+
const _hoisted_1$7 = {
|
|
2690
|
+
class: "vv-dropdown-optgroup",
|
|
2691
|
+
role: "presentation",
|
|
2692
|
+
tabindex: "-1"
|
|
2693
|
+
};
|
|
2694
|
+
const __default__$8 = {
|
|
2695
|
+
name: "VvDropdownOptgroup"
|
|
2696
|
+
};
|
|
2697
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
2698
|
+
...__default__$8,
|
|
2699
|
+
props: {
|
|
2700
|
+
...LabelProps
|
|
2701
|
+
},
|
|
2702
|
+
setup(__props) {
|
|
2703
|
+
const props = __props;
|
|
2704
|
+
return (_ctx, _cache) => {
|
|
2705
|
+
return openBlock(), createElementBlock("li", _hoisted_1$7, toDisplayString(props.label), 1);
|
|
2706
|
+
};
|
|
2707
|
+
}
|
|
2708
|
+
});
|
|
2683
2709
|
const VvSelectProps = {
|
|
2684
2710
|
...IdNameProps,
|
|
2685
2711
|
...AutofocusProps,
|
|
@@ -2783,7 +2809,9 @@ const _hoisted_4$3 = { class: "vv-select__inner" };
|
|
|
2783
2809
|
const _hoisted_5$3 = ["id"];
|
|
2784
2810
|
const _hoisted_6$3 = ["disabled", "hidden"];
|
|
2785
2811
|
const _hoisted_7$3 = ["disabled", "value"];
|
|
2786
|
-
const _hoisted_8$2 =
|
|
2812
|
+
const _hoisted_8$2 = ["disabled", "label"];
|
|
2813
|
+
const _hoisted_9 = ["disabled", "value"];
|
|
2814
|
+
const _hoisted_10 = {
|
|
2787
2815
|
key: 1,
|
|
2788
2816
|
class: "vv-select__input-after"
|
|
2789
2817
|
};
|
|
@@ -2875,7 +2903,12 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2875
2903
|
invalid: props.invalid,
|
|
2876
2904
|
modelValue: props.modelValue
|
|
2877
2905
|
}));
|
|
2878
|
-
const {
|
|
2906
|
+
const {
|
|
2907
|
+
getOptionLabel,
|
|
2908
|
+
getOptionValue,
|
|
2909
|
+
getOptionDisabled,
|
|
2910
|
+
getOptionGrouped
|
|
2911
|
+
} = useOptions(props);
|
|
2879
2912
|
const localModelValue = computed({
|
|
2880
2913
|
get: () => {
|
|
2881
2914
|
return props.modelValue;
|
|
@@ -2887,6 +2920,11 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2887
2920
|
emit("update:modelValue", newValue);
|
|
2888
2921
|
}
|
|
2889
2922
|
});
|
|
2923
|
+
const isGroup = (option) => {
|
|
2924
|
+
if (typeof option === "string")
|
|
2925
|
+
return false;
|
|
2926
|
+
return option && option.options && option.options.length > 0;
|
|
2927
|
+
};
|
|
2890
2928
|
return (_ctx, _cache) => {
|
|
2891
2929
|
return openBlock(), createElementBlock("div", {
|
|
2892
2930
|
class: normalizeClass(unref(bemCssClasses))
|
|
@@ -2900,7 +2938,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2900
2938
|
renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
|
|
2901
2939
|
])) : createCommentVNode("", true),
|
|
2902
2940
|
createElementVNode("div", _hoisted_4$3, [
|
|
2903
|
-
unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$
|
|
2941
|
+
unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$i, mergeProps({
|
|
2904
2942
|
key: 0,
|
|
2905
2943
|
class: "vv-select__icon"
|
|
2906
2944
|
}, unref(hasIcon)), null, 16)) : createCommentVNode("", true),
|
|
@@ -2917,21 +2955,35 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2917
2955
|
hidden: !_ctx.unselectable
|
|
2918
2956
|
}, toDisplayString(_ctx.placeholder), 9, _hoisted_6$3)) : createCommentVNode("", true),
|
|
2919
2957
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option, index) => {
|
|
2920
|
-
return openBlock(), createElementBlock(
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2958
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
2959
|
+
!isGroup(option) ? (openBlock(), createElementBlock("option", {
|
|
2960
|
+
key: index,
|
|
2961
|
+
disabled: unref(getOptionDisabled)(option),
|
|
2962
|
+
value: unref(getOptionValue)(option)
|
|
2963
|
+
}, toDisplayString(unref(getOptionLabel)(option)), 9, _hoisted_7$3)) : (openBlock(), createElementBlock("optgroup", {
|
|
2964
|
+
key: `group-${index}`,
|
|
2965
|
+
disabled: unref(getOptionDisabled)(option),
|
|
2966
|
+
label: unref(getOptionLabel)(option)
|
|
2967
|
+
}, [
|
|
2968
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(getOptionGrouped)(option), (item, i) => {
|
|
2969
|
+
return openBlock(), createElementBlock("option", {
|
|
2970
|
+
key: `group-${index}-item-${i}`,
|
|
2971
|
+
disabled: unref(getOptionDisabled)(item),
|
|
2972
|
+
value: unref(getOptionValue)(item)
|
|
2973
|
+
}, toDisplayString(unref(getOptionLabel)(item)), 9, _hoisted_9);
|
|
2974
|
+
}), 128))
|
|
2975
|
+
], 8, _hoisted_8$2))
|
|
2976
|
+
], 64);
|
|
2977
|
+
}), 256))
|
|
2926
2978
|
], 16, _hoisted_5$3), [
|
|
2927
2979
|
[vModelSelect, unref(localModelValue)]
|
|
2928
2980
|
]),
|
|
2929
|
-
unref(hasIconAfter) ? (openBlock(), createBlock(_sfc_main$
|
|
2981
|
+
unref(hasIconAfter) ? (openBlock(), createBlock(_sfc_main$i, mergeProps({
|
|
2930
2982
|
key: 1,
|
|
2931
2983
|
class: "vv-select__icon vv-select__icon-after"
|
|
2932
2984
|
}, unref(hasIcon)), null, 16)) : createCommentVNode("", true)
|
|
2933
2985
|
]),
|
|
2934
|
-
_ctx.$slots.after ? (openBlock(), createElementBlock("div",
|
|
2986
|
+
_ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
2935
2987
|
renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps(unref(slotProps))))
|
|
2936
2988
|
])) : createCommentVNode("", true)
|
|
2937
2989
|
]),
|
|
@@ -3012,7 +3064,7 @@ const _hoisted_8$1 = {
|
|
|
3012
3064
|
};
|
|
3013
3065
|
const __default__$6 = {
|
|
3014
3066
|
name: "VvCombobox",
|
|
3015
|
-
components: { VvDropdown: _sfc_main$
|
|
3067
|
+
components: { VvDropdown: _sfc_main$b, VvDropdownOption: _sfc_main$9, VvDropdownOptgroup: _sfc_main$8 }
|
|
3016
3068
|
};
|
|
3017
3069
|
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
3018
3070
|
...__default__$6,
|
|
@@ -3132,7 +3184,12 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3132
3184
|
const hasOptions = computed(
|
|
3133
3185
|
() => props.searchable ? filteredOptions.value : props.options
|
|
3134
3186
|
);
|
|
3135
|
-
const {
|
|
3187
|
+
const {
|
|
3188
|
+
getOptionLabel,
|
|
3189
|
+
getOptionValue,
|
|
3190
|
+
getOptionDisabled,
|
|
3191
|
+
getOptionGrouped
|
|
3192
|
+
} = useOptions(props);
|
|
3136
3193
|
const filteredOptions = computed(() => {
|
|
3137
3194
|
var _a;
|
|
3138
3195
|
return (_a = props.options) == null ? void 0 : _a.filter((option) => {
|
|
@@ -3253,6 +3310,12 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3253
3310
|
toggleExpanded();
|
|
3254
3311
|
}
|
|
3255
3312
|
});
|
|
3313
|
+
const isGroup = (option) => {
|
|
3314
|
+
if (typeof option === "string") {
|
|
3315
|
+
return false;
|
|
3316
|
+
}
|
|
3317
|
+
return option.options && option.options.length > 0;
|
|
3318
|
+
};
|
|
3256
3319
|
return (_ctx, _cache) => {
|
|
3257
3320
|
return !_ctx.native ? (openBlock(), createElementBlock("div", {
|
|
3258
3321
|
key: 0,
|
|
@@ -3269,7 +3332,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3269
3332
|
ref: wrapperEl,
|
|
3270
3333
|
class: "vv-select__wrapper"
|
|
3271
3334
|
}, [
|
|
3272
|
-
createVNode(_sfc_main$
|
|
3335
|
+
createVNode(_sfc_main$b, mergeProps({
|
|
3273
3336
|
modelValue: unref(expanded),
|
|
3274
3337
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(expanded) ? expanded.value = $event : null)
|
|
3275
3338
|
}, unref(dropdownProps), {
|
|
@@ -3280,7 +3343,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3280
3343
|
renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
|
|
3281
3344
|
])) : createCommentVNode("", true),
|
|
3282
3345
|
createElementVNode("div", _hoisted_5$2, [
|
|
3283
|
-
unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$
|
|
3346
|
+
unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$i, mergeProps({
|
|
3284
3347
|
key: 0,
|
|
3285
3348
|
class: "vv-select__icon"
|
|
3286
3349
|
}, unref(hasIcon)), null, 16)) : createCommentVNode("", true),
|
|
@@ -3299,7 +3362,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3299
3362
|
!_ctx.badges ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
3300
3363
|
createTextVNode(toDisplayString(unref(hasValue)), 1)
|
|
3301
3364
|
], 64)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(selectedOptions), (option, index) => {
|
|
3302
|
-
return openBlock(), createBlock(_sfc_main$
|
|
3365
|
+
return openBlock(), createBlock(_sfc_main$k, {
|
|
3303
3366
|
key: index,
|
|
3304
3367
|
modifiers: _ctx.badgeModifiers,
|
|
3305
3368
|
class: "vv-select__badge"
|
|
@@ -3311,7 +3374,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3311
3374
|
"aria-label": unref(propsDefaults).deselectActionLabel,
|
|
3312
3375
|
onClick: withModifiers(($event) => onInput(option), ["stop"])
|
|
3313
3376
|
}, [
|
|
3314
|
-
createVNode(_sfc_main$
|
|
3377
|
+
createVNode(_sfc_main$i, { name: "close" })
|
|
3315
3378
|
], 8, _hoisted_7$2)) : createCommentVNode("", true)
|
|
3316
3379
|
]),
|
|
3317
3380
|
_: 2
|
|
@@ -3322,7 +3385,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3322
3385
|
], 64))
|
|
3323
3386
|
])
|
|
3324
3387
|
], 16, _hoisted_6$2),
|
|
3325
|
-
unref(hasIconAfter) ? (openBlock(), createBlock(_sfc_main$
|
|
3388
|
+
unref(hasIconAfter) ? (openBlock(), createBlock(_sfc_main$i, mergeProps({
|
|
3326
3389
|
key: 1,
|
|
3327
3390
|
class: "vv-select__icon vv-select__icon-after"
|
|
3328
3391
|
}, unref(hasIcon)), null, 16)) : createCommentVNode("", true)
|
|
@@ -3333,31 +3396,64 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3333
3396
|
]),
|
|
3334
3397
|
items: withCtx(() => [
|
|
3335
3398
|
unref(filteredOptions).length ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(filteredOptions), (option, index) => {
|
|
3336
|
-
return openBlock(),
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3399
|
+
return openBlock(), createElementBlock(Fragment, { key: index }, [
|
|
3400
|
+
isGroup(option) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
3401
|
+
createVNode(_sfc_main$8, {
|
|
3402
|
+
label: unref(getOptionLabel)(option)
|
|
3403
|
+
}, null, 8, ["label"]),
|
|
3404
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(getOptionGrouped)(
|
|
3405
|
+
option
|
|
3406
|
+
), (item, i) => {
|
|
3407
|
+
return openBlock(), createBlock(_sfc_main$9, mergeProps({
|
|
3408
|
+
disabled: unref(getOptionDisabled)(item),
|
|
3409
|
+
selected: getOptionSelected(item),
|
|
3410
|
+
unselectable: _ctx.unselectable,
|
|
3411
|
+
deselectHintLabel: unref(propsDefaults).deselectHintLabel,
|
|
3412
|
+
selectHintLabel: unref(propsDefaults).selectHintLabel,
|
|
3413
|
+
selectedHintLabel: unref(propsDefaults).selectedHintLabel
|
|
3414
|
+
}, {
|
|
3415
|
+
key: i,
|
|
3416
|
+
class: "vv-dropdown-option",
|
|
3417
|
+
onClickPassive: ($event) => onInput(item)
|
|
3418
|
+
}), {
|
|
3419
|
+
default: withCtx(() => [
|
|
3420
|
+
renderSlot(_ctx.$slots, "option", normalizeProps(guardReactiveProps({
|
|
3421
|
+
option,
|
|
3422
|
+
selectedOptions: unref(selectedOptions),
|
|
3423
|
+
selected: getOptionSelected(item),
|
|
3424
|
+
disabled: unref(getOptionDisabled)(item)
|
|
3425
|
+
})), () => [
|
|
3426
|
+
createTextVNode(toDisplayString(unref(getOptionLabel)(item)), 1)
|
|
3427
|
+
])
|
|
3428
|
+
]),
|
|
3429
|
+
_: 2
|
|
3430
|
+
}, 1040, ["onClickPassive"]);
|
|
3431
|
+
}), 128))
|
|
3432
|
+
], 64)) : (openBlock(), createBlock(_sfc_main$9, mergeProps({ key: 1 }, {
|
|
3433
|
+
disabled: unref(getOptionDisabled)(option),
|
|
3434
|
+
selected: getOptionSelected(option),
|
|
3435
|
+
unselectable: _ctx.unselectable,
|
|
3436
|
+
deselectHintLabel: unref(propsDefaults).deselectHintLabel,
|
|
3437
|
+
selectHintLabel: unref(propsDefaults).selectHintLabel,
|
|
3438
|
+
selectedHintLabel: unref(propsDefaults).selectedHintLabel
|
|
3439
|
+
}, {
|
|
3440
|
+
class: "vv-dropdown-option",
|
|
3441
|
+
onClickPassive: ($event) => onInput(option)
|
|
3442
|
+
}), {
|
|
3443
|
+
default: withCtx(() => [
|
|
3444
|
+
renderSlot(_ctx.$slots, "option", normalizeProps(guardReactiveProps({
|
|
3445
|
+
option,
|
|
3446
|
+
selectedOptions: unref(selectedOptions),
|
|
3447
|
+
selected: getOptionSelected(option),
|
|
3448
|
+
disabled: unref(getOptionDisabled)(option)
|
|
3449
|
+
})), () => [
|
|
3450
|
+
createTextVNode(toDisplayString(unref(getOptionLabel)(option)), 1)
|
|
3451
|
+
])
|
|
3452
|
+
]),
|
|
3453
|
+
_: 2
|
|
3454
|
+
}, 1040, ["onClickPassive"]))
|
|
3455
|
+
], 64);
|
|
3456
|
+
}), 128)) : !_ctx.options.length ? (openBlock(), createBlock(_sfc_main$9, {
|
|
3361
3457
|
key: 1,
|
|
3362
3458
|
modifiers: "inert"
|
|
3363
3459
|
}, {
|
|
@@ -3367,7 +3463,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3367
3463
|
])
|
|
3368
3464
|
]),
|
|
3369
3465
|
_: 3
|
|
3370
|
-
})) : (openBlock(), createBlock(_sfc_main$
|
|
3466
|
+
})) : (openBlock(), createBlock(_sfc_main$9, {
|
|
3371
3467
|
key: 2,
|
|
3372
3468
|
modifiers: "inert"
|
|
3373
3469
|
}, {
|
|
@@ -3545,7 +3641,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3545
3641
|
class: "vv-dialog__close",
|
|
3546
3642
|
onClickPassive: close
|
|
3547
3643
|
}, [
|
|
3548
|
-
createVNode(_sfc_main$
|
|
3644
|
+
createVNode(_sfc_main$i, { name: "close" })
|
|
3549
3645
|
], 32)
|
|
3550
3646
|
])
|
|
3551
3647
|
])) : createCommentVNode("", true),
|
|
@@ -3757,7 +3853,7 @@ const VvInputTextProps = {
|
|
|
3757
3853
|
};
|
|
3758
3854
|
const VvInputPasswordAction = defineComponent({
|
|
3759
3855
|
components: {
|
|
3760
|
-
VvIcon: _sfc_main$
|
|
3856
|
+
VvIcon: _sfc_main$i
|
|
3761
3857
|
},
|
|
3762
3858
|
props: {
|
|
3763
3859
|
disabled: {
|
|
@@ -3801,7 +3897,7 @@ const VvInputPasswordAction = defineComponent({
|
|
|
3801
3897
|
};
|
|
3802
3898
|
},
|
|
3803
3899
|
render() {
|
|
3804
|
-
const icon = h(_sfc_main$
|
|
3900
|
+
const icon = h(_sfc_main$i, {
|
|
3805
3901
|
name: this.activeIcon,
|
|
3806
3902
|
class: "vv-input-text__icon"
|
|
3807
3903
|
});
|
|
@@ -3820,7 +3916,7 @@ const VvInputPasswordAction = defineComponent({
|
|
|
3820
3916
|
});
|
|
3821
3917
|
const VvInputStepAction = defineComponent({
|
|
3822
3918
|
components: {
|
|
3823
|
-
VvIcon: _sfc_main$
|
|
3919
|
+
VvIcon: _sfc_main$i
|
|
3824
3920
|
},
|
|
3825
3921
|
props: {
|
|
3826
3922
|
disabled: {
|
|
@@ -3865,7 +3961,7 @@ const VvInputStepAction = defineComponent({
|
|
|
3865
3961
|
});
|
|
3866
3962
|
const VvInputClearAction = defineComponent({
|
|
3867
3963
|
components: {
|
|
3868
|
-
VvIcon: _sfc_main$
|
|
3964
|
+
VvIcon: _sfc_main$i
|
|
3869
3965
|
},
|
|
3870
3966
|
props: {
|
|
3871
3967
|
disabled: {
|
|
@@ -3894,7 +3990,7 @@ const VvInputClearAction = defineComponent({
|
|
|
3894
3990
|
};
|
|
3895
3991
|
},
|
|
3896
3992
|
render() {
|
|
3897
|
-
const icon = h(_sfc_main$
|
|
3993
|
+
const icon = h(_sfc_main$i, {
|
|
3898
3994
|
name: this.icon,
|
|
3899
3995
|
class: "vv-input-text__icon"
|
|
3900
3996
|
});
|
|
@@ -3915,7 +4011,7 @@ function VvInputTextActionsFactory(type, parentProps) {
|
|
|
3915
4011
|
return {
|
|
3916
4012
|
name: "VvInputTextActions",
|
|
3917
4013
|
components: {
|
|
3918
|
-
VvIcon: _sfc_main$
|
|
4014
|
+
VvIcon: _sfc_main$i,
|
|
3919
4015
|
VvInputPasswordAction,
|
|
3920
4016
|
VvInputStepAction,
|
|
3921
4017
|
VvInputClearAction
|
|
@@ -4323,7 +4419,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4323
4419
|
class: "vv-input-text__inner",
|
|
4324
4420
|
onClick: withModifiers(onClickInner, ["stop"])
|
|
4325
4421
|
}, [
|
|
4326
|
-
unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$
|
|
4422
|
+
unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$i, mergeProps({
|
|
4327
4423
|
key: 0,
|
|
4328
4424
|
class: "vv-input-text__icon"
|
|
4329
4425
|
}, unref(hasIcon)), null, 16)) : createCommentVNode("", true),
|
|
@@ -4344,7 +4440,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4344
4440
|
])
|
|
4345
4441
|
])) : createCommentVNode("", true)
|
|
4346
4442
|
], 8, _hoisted_4$1),
|
|
4347
|
-
unref(hasIconAfter) || unref(defaultAfterIcon) ? (openBlock(), createBlock(_sfc_main$
|
|
4443
|
+
unref(hasIconAfter) || unref(defaultAfterIcon) ? (openBlock(), createBlock(_sfc_main$i, mergeProps({
|
|
4348
4444
|
key: 1,
|
|
4349
4445
|
class: "vv-input-text__icon vv-input-text__icon-after"
|
|
4350
4446
|
}, unref(hasIconAfter) ? unref(hasIcon) : unref(defaultAfterIcon)), null, 16)) : unref(isPassword) && !_ctx.hideActions && unref(isClickable) ? (openBlock(), createBlock(unref(PasswordInputActions), {
|
|
@@ -4796,7 +4892,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4796
4892
|
renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
|
|
4797
4893
|
])) : createCommentVNode("", true),
|
|
4798
4894
|
createElementVNode("div", _hoisted_4, [
|
|
4799
|
-
unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$
|
|
4895
|
+
unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$i, mergeProps({
|
|
4800
4896
|
key: 0,
|
|
4801
4897
|
class: "vv-textarea__icon"
|
|
4802
4898
|
}, unref(hasIcon)), null, 16)) : createCommentVNode("", true),
|
|
@@ -4810,7 +4906,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4810
4906
|
}), null, 16, _hoisted_5), [
|
|
4811
4907
|
[vModelText, unref(localModelValue)]
|
|
4812
4908
|
]),
|
|
4813
|
-
unref(hasIconAfter) ? (openBlock(), createBlock(_sfc_main$
|
|
4909
|
+
unref(hasIconAfter) ? (openBlock(), createBlock(_sfc_main$i, mergeProps({
|
|
4814
4910
|
key: 1,
|
|
4815
4911
|
class: "vv-textarea__icon vv-textarea__icon-after"
|
|
4816
4912
|
}, unref(hasIcon)), null, 16)) : createCommentVNode("", true)
|
|
@@ -4833,19 +4929,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4833
4929
|
}
|
|
4834
4930
|
});
|
|
4835
4931
|
export {
|
|
4836
|
-
_sfc_main$
|
|
4837
|
-
_sfc_main$
|
|
4838
|
-
_sfc_main$
|
|
4839
|
-
_sfc_main$
|
|
4840
|
-
_sfc_main$
|
|
4841
|
-
_sfc_main$
|
|
4842
|
-
_sfc_main$
|
|
4843
|
-
_sfc_main$
|
|
4844
|
-
_sfc_main$
|
|
4932
|
+
_sfc_main$m as VvAccordion,
|
|
4933
|
+
_sfc_main$l as VvAccordionGroup,
|
|
4934
|
+
_sfc_main$k as VvBadge,
|
|
4935
|
+
_sfc_main$j as VvBreadcrumb,
|
|
4936
|
+
_sfc_main$g as VvButton,
|
|
4937
|
+
_sfc_main$f as VvButtonGroup,
|
|
4938
|
+
_sfc_main$e as VvCard,
|
|
4939
|
+
_sfc_main$d as VvCheckbox,
|
|
4940
|
+
_sfc_main$c as VvCheckboxGroup,
|
|
4845
4941
|
_sfc_main$6 as VvCombobox,
|
|
4846
4942
|
_sfc_main$5 as VvDialog,
|
|
4847
|
-
_sfc_main$
|
|
4848
|
-
_sfc_main$
|
|
4943
|
+
_sfc_main$b as VvDropdown,
|
|
4944
|
+
_sfc_main$i as VvIcon,
|
|
4849
4945
|
_sfc_main$4 as VvInputText,
|
|
4850
4946
|
_sfc_main$3 as VvProgress,
|
|
4851
4947
|
_sfc_main$2 as VvRadio,
|