@volverjs/ui-vue 0.0.9-beta.2 → 0.0.9-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/VvAccordion/VvAccordion.es.js +7 -0
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +7 -0
- package/dist/components/VvAction/VvAction.es.js +9 -1
- package/dist/components/VvAction/VvAction.umd.js +1 -1
- package/dist/components/VvAction/VvAction.vue.d.ts +9 -0
- package/dist/components/VvAction/index.d.ts +4 -0
- package/dist/components/VvAlert/VvAlert.es.js +7 -0
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +7 -0
- package/dist/components/VvAvatar/VvAvatar.es.js +7 -0
- package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +7 -0
- package/dist/components/VvBadge/VvBadge.es.js +7 -0
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +7 -0
- package/dist/components/VvButton/VvButton.es.js +11 -2
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButton/VvButton.vue.d.ts +9 -0
- package/dist/components/VvButton/index.d.ts +4 -0
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +7 -0
- package/dist/components/VvCard/VvCard.es.js +7 -0
- package/dist/components/VvCheckbox/VvCheckbox.es.js +7 -0
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +7 -0
- package/dist/components/VvCombobox/VvCombobox.es.js +16 -3
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvDialog/VvDialog.es.js +7 -0
- package/dist/components/VvDropdown/VvDropdown.es.js +12 -1
- package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +9 -0
- package/dist/components/VvDropdownAction/VvDropdownAction.es.js +9 -1
- package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +7 -0
- package/dist/components/VvDropdownOption/VvDropdownOption.es.js +7 -0
- package/dist/components/VvInputText/VvInputText.es.js +7 -0
- package/dist/components/VvNav/VvNav.es.js +10 -2
- package/dist/components/VvNav/VvNav.umd.js +1 -1
- package/dist/components/VvNav/index.d.ts +1 -1
- package/dist/components/VvProgress/VvProgress.es.js +7 -0
- package/dist/components/VvRadio/VvRadio.es.js +7 -0
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +7 -0
- package/dist/components/VvSelect/VvSelect.es.js +7 -0
- package/dist/components/VvTab/VvTab.es.js +10 -2
- package/dist/components/VvTab/VvTab.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.es.js +7 -0
- package/dist/components/VvTooltip/VvTooltip.es.js +7 -0
- package/dist/components/index.d.ts +5 -0
- package/dist/components/index.es.js +713 -307
- package/dist/components/index.umd.js +1 -1
- package/dist/directives/index.es.js +7 -0
- package/dist/directives/v-tooltip.es.js +7 -0
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/props/index.d.ts +7 -0
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +43 -258
- package/dist/stories/Alert/Alert.settings.d.ts +3 -7
- package/dist/stories/Button/Button.settings.d.ts +3 -13
- package/dist/stories/Combobox/Combobox.settings.d.ts +3 -7
- package/dist/stories/Nav/Nav.settings.d.ts +3 -21
- package/package.json +28 -28
- 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/VvAction/VvAction.vue +2 -1
- package/src/components/VvButton/VvButton.vue +1 -0
- package/src/components/VvDropdown/VvDropdown.vue +5 -1
- package/src/components/VvNav/VvNav.vue +1 -1
- package/src/components/VvNav/index.ts +1 -1
- package/src/components/index.ts +5 -0
- package/src/props/index.ts +7 -0
- package/src/stories/Alert/Alert.settings.ts +3 -1
- package/src/stories/Button/Button.settings.ts +5 -3
- package/src/stories/Combobox/Combobox.settings.ts +4 -1
- package/src/stories/Nav/Nav.settings.ts +3 -1
- package/src/stories/Tab/Tab.stories.ts +3 -3
- package/src/stories/Textarea/TextareaLength.stories.ts +1 -1
- /package/dist/components/{VvNavItemTitle → VvNav}/VvNavItemTitle.vue.d.ts +0 -0
- /package/dist/components/{VvNavSeparator → VvNav}/VvNavSeparator.d.ts +0 -0
- /package/src/components/{VvNavItemTitle → VvNav}/VvNavItemTitle.vue +0 -0
- /package/src/components/{VvNavSeparator → VvNav}/VvNavSeparator.ts +0 -0
|
@@ -79,6 +79,9 @@ const INJECTION_KEY_DROPDOWN_ITEM = Symbol.for(
|
|
|
79
79
|
const INJECTION_KEY_DROPDOWN_ACTION = Symbol.for(
|
|
80
80
|
"dropdownAction"
|
|
81
81
|
);
|
|
82
|
+
const INJECTION_KEY_ALERT_GROUP = Symbol.for(
|
|
83
|
+
"alertGroup"
|
|
84
|
+
);
|
|
82
85
|
const LinkProps = {
|
|
83
86
|
/**
|
|
84
87
|
* The router-link/nuxt-link property, if it is defined the button is rendered as a ruouter-link or nuxt-link.
|
|
@@ -484,6 +487,13 @@ const ActionProps = {
|
|
|
484
487
|
type: String,
|
|
485
488
|
default: ButtonType.button,
|
|
486
489
|
validator: (value) => Object.values(ButtonType).includes(value)
|
|
490
|
+
},
|
|
491
|
+
/**
|
|
492
|
+
* Button aria-label
|
|
493
|
+
*/
|
|
494
|
+
ariaLabel: {
|
|
495
|
+
type: String,
|
|
496
|
+
default: void 0
|
|
487
497
|
}
|
|
488
498
|
};
|
|
489
499
|
function equals(obj1, obj2, field) {
|
|
@@ -723,14 +733,14 @@ function useModifiers(prefix, modifiers, others) {
|
|
|
723
733
|
return toReturn;
|
|
724
734
|
});
|
|
725
735
|
}
|
|
726
|
-
const _hoisted_1$
|
|
727
|
-
const _hoisted_2$
|
|
728
|
-
const _hoisted_3$
|
|
729
|
-
const __default__$
|
|
736
|
+
const _hoisted_1$i = ["id", "open"];
|
|
737
|
+
const _hoisted_2$d = ["aria-controls", "aria-expanded"];
|
|
738
|
+
const _hoisted_3$7 = ["aria-hidden"];
|
|
739
|
+
const __default__$n = {
|
|
730
740
|
name: "VvAccordion"
|
|
731
741
|
};
|
|
732
|
-
const _sfc_main$
|
|
733
|
-
...__default__$
|
|
742
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
743
|
+
...__default__$n,
|
|
734
744
|
props: VvAccordionProps,
|
|
735
745
|
emits: VvAccordionEvents,
|
|
736
746
|
setup(__props, { emit }) {
|
|
@@ -812,7 +822,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
812
822
|
renderSlot(_ctx.$slots, "summary", normalizeProps(guardReactiveProps({ open: unref(isOpen) })), () => [
|
|
813
823
|
createTextVNode(toDisplayString(unref(title)), 1)
|
|
814
824
|
])
|
|
815
|
-
], 8, _hoisted_2$
|
|
825
|
+
], 8, _hoisted_2$d),
|
|
816
826
|
createElementVNode("div", {
|
|
817
827
|
"aria-hidden": !unref(isOpen),
|
|
818
828
|
class: "vv-accordion__content"
|
|
@@ -820,8 +830,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
820
830
|
renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ open: unref(isOpen) })), () => [
|
|
821
831
|
createTextVNode(toDisplayString(unref(content)), 1)
|
|
822
832
|
])
|
|
823
|
-
], 8, _hoisted_3$
|
|
824
|
-
], 10, _hoisted_1$
|
|
833
|
+
], 8, _hoisted_3$7)
|
|
834
|
+
], 10, _hoisted_1$i);
|
|
825
835
|
};
|
|
826
836
|
}
|
|
827
837
|
});
|
|
@@ -874,11 +884,11 @@ function useProvideGroupState(groupState) {
|
|
|
874
884
|
computed(() => groupState)
|
|
875
885
|
);
|
|
876
886
|
}
|
|
877
|
-
const __default__$
|
|
887
|
+
const __default__$m = {
|
|
878
888
|
name: "VvAccordionGroup"
|
|
879
889
|
};
|
|
880
|
-
const _sfc_main$
|
|
881
|
-
...__default__$
|
|
890
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
891
|
+
...__default__$m,
|
|
882
892
|
props: VvAccordionGroupProps,
|
|
883
893
|
emits: VvAccordionGroupEvents,
|
|
884
894
|
setup(__props, { emit }) {
|
|
@@ -945,7 +955,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
945
955
|
}, [
|
|
946
956
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
947
957
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(items), (item) => {
|
|
948
|
-
return openBlock(), createBlock(_sfc_main$
|
|
958
|
+
return openBlock(), createBlock(_sfc_main$q, mergeProps({
|
|
949
959
|
key: item.title
|
|
950
960
|
}, {
|
|
951
961
|
name: item.name,
|
|
@@ -966,88 +976,128 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
966
976
|
};
|
|
967
977
|
}
|
|
968
978
|
});
|
|
969
|
-
const
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
979
|
+
const VvActionEvents = ["click", "mouseover", "mouseleave"];
|
|
980
|
+
const VvActionProps = ActionProps;
|
|
981
|
+
function useVolver() {
|
|
982
|
+
return inject(INJECTION_KEY_VOLVER);
|
|
983
|
+
}
|
|
984
|
+
function useInjectedDropdownTrigger() {
|
|
985
|
+
return inject(INJECTION_KEY_DROPDOWN_TRIGGER, {});
|
|
986
|
+
}
|
|
987
|
+
function useInjectedDropdownItem() {
|
|
988
|
+
return inject(INJECTION_KEY_DROPDOWN_ITEM, {});
|
|
989
|
+
}
|
|
990
|
+
function useInjectedDropdownAction() {
|
|
991
|
+
return inject(INJECTION_KEY_DROPDOWN_ACTION, {});
|
|
992
|
+
}
|
|
993
|
+
const __default__$l = {
|
|
994
|
+
name: "VvAction"
|
|
975
995
|
};
|
|
976
|
-
const _sfc_main$
|
|
977
|
-
...__default__$
|
|
978
|
-
props:
|
|
979
|
-
|
|
996
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
997
|
+
...__default__$l,
|
|
998
|
+
props: VvActionProps,
|
|
999
|
+
emits: VvActionEvents,
|
|
1000
|
+
setup(__props, { expose: __expose, emit }) {
|
|
980
1001
|
const props = __props;
|
|
981
|
-
const
|
|
982
|
-
const
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
1002
|
+
const volver = useVolver();
|
|
1003
|
+
const element = ref(null);
|
|
1004
|
+
__expose({ $el: element });
|
|
1005
|
+
const {
|
|
1006
|
+
reference: dropdownTriggerReference,
|
|
1007
|
+
bus: dropdownEventBus,
|
|
1008
|
+
aria: dropdownAria,
|
|
1009
|
+
expanded: dropdownExpanded
|
|
1010
|
+
} = useInjectedDropdownTrigger();
|
|
1011
|
+
watch(
|
|
1012
|
+
() => element.value,
|
|
1013
|
+
(newValue) => {
|
|
1014
|
+
if (dropdownTriggerReference) {
|
|
1015
|
+
dropdownTriggerReference.value = newValue;
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
);
|
|
1019
|
+
const pressed = computed(() => {
|
|
1020
|
+
return props.pressed || (dropdownExpanded == null ? void 0 : dropdownExpanded.value);
|
|
1021
|
+
});
|
|
1022
|
+
const { role } = useInjectedDropdownAction();
|
|
1023
|
+
const hasTag = computed(() => {
|
|
1024
|
+
switch (true) {
|
|
1025
|
+
case props.disabled:
|
|
1026
|
+
return ActionTag.button;
|
|
1027
|
+
case props.to !== void 0:
|
|
1028
|
+
return (volver == null ? void 0 : volver.nuxt) ? ActionTag.nuxtLink : ActionTag.routerLink;
|
|
1029
|
+
case props.href !== void 0:
|
|
1030
|
+
return ActionTag.a;
|
|
1031
|
+
default:
|
|
1032
|
+
return ActionTag.button;
|
|
1033
|
+
}
|
|
1034
|
+
});
|
|
1035
|
+
const hasProps = computed(() => {
|
|
1036
|
+
const toReturn = {
|
|
1037
|
+
...dropdownAria == null ? void 0 : dropdownAria.value,
|
|
1038
|
+
ariaPressed: pressed.value ? true : void 0,
|
|
1039
|
+
ariaLabel: props.ariaLabel,
|
|
1040
|
+
role: role == null ? void 0 : role.value
|
|
1041
|
+
};
|
|
1042
|
+
switch (hasTag.value) {
|
|
1043
|
+
case ActionTag.a:
|
|
1044
|
+
return {
|
|
1045
|
+
...toReturn,
|
|
1046
|
+
href: props.href,
|
|
1047
|
+
target: props.target,
|
|
1048
|
+
rel: props.rel
|
|
1049
|
+
};
|
|
1050
|
+
case ActionTag.routerLink:
|
|
1051
|
+
case ActionTag.nuxtLink:
|
|
1052
|
+
return {
|
|
1053
|
+
...toReturn,
|
|
1054
|
+
to: props.to,
|
|
1055
|
+
target: props.target
|
|
1056
|
+
};
|
|
1057
|
+
default:
|
|
1058
|
+
return {
|
|
1059
|
+
...toReturn,
|
|
1060
|
+
type: props.type,
|
|
1061
|
+
disabled: props.disabled
|
|
1062
|
+
};
|
|
1063
|
+
}
|
|
1064
|
+
});
|
|
1065
|
+
const onClick = (e) => {
|
|
1066
|
+
if (props.disabled) {
|
|
1067
|
+
e.preventDefault();
|
|
1068
|
+
return;
|
|
1069
|
+
}
|
|
1070
|
+
dropdownEventBus == null ? void 0 : dropdownEventBus.emit("click", e);
|
|
1071
|
+
emit("click", e);
|
|
1072
|
+
};
|
|
1073
|
+
const onMouseover = (e) => {
|
|
1074
|
+
dropdownEventBus == null ? void 0 : dropdownEventBus.emit("mouseover", e);
|
|
1075
|
+
emit("mouseover", e);
|
|
1076
|
+
};
|
|
1077
|
+
const onMouseleave = (e) => {
|
|
1078
|
+
dropdownEventBus == null ? void 0 : dropdownEventBus.emit("mouseleave", e);
|
|
1079
|
+
emit("mouseleave", e);
|
|
992
1080
|
};
|
|
993
|
-
}
|
|
994
|
-
});
|
|
995
|
-
const VvBreadcrumbProps = {
|
|
996
|
-
...ModifiersProps,
|
|
997
|
-
routes: Array
|
|
998
|
-
};
|
|
999
|
-
const _hoisted_1$e = { class: "vv-breadcrumb__list" };
|
|
1000
|
-
const _hoisted_2$b = ["content"];
|
|
1001
|
-
const __default__$j = {
|
|
1002
|
-
name: "VvBreadcrumb"
|
|
1003
|
-
};
|
|
1004
|
-
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
1005
|
-
...__default__$j,
|
|
1006
|
-
props: VvBreadcrumbProps,
|
|
1007
|
-
setup(__props) {
|
|
1008
|
-
const props = __props;
|
|
1009
|
-
const { modifiers } = toRefs(props);
|
|
1010
|
-
const bemCssClasses = useModifiers("vv-breadcrumb", modifiers);
|
|
1011
1081
|
return (_ctx, _cache) => {
|
|
1012
|
-
return openBlock(),
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
(
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
"vv-breadcrumb__link": index < Number((_c = _ctx.routes) == null ? void 0 : _c.length) - 1
|
|
1032
|
-
},
|
|
1033
|
-
"aria-current": index === Number((_d = _ctx.routes) == null ? void 0 : _d.length) - 1 ? "page" : void 0,
|
|
1034
|
-
itemprop: "item"
|
|
1035
|
-
}), {
|
|
1036
|
-
default: withCtx(() => [
|
|
1037
|
-
renderSlot(_ctx.$slots, "label", normalizeProps(guardReactiveProps({ route, index })), () => [
|
|
1038
|
-
createTextVNode(toDisplayString(route.label), 1)
|
|
1039
|
-
])
|
|
1040
|
-
]),
|
|
1041
|
-
_: 2
|
|
1042
|
-
}, 1040, ["class", "aria-current"])),
|
|
1043
|
-
createElementVNode("meta", {
|
|
1044
|
-
itemprop: "position",
|
|
1045
|
-
content: `${index + 1}`
|
|
1046
|
-
}, null, 8, _hoisted_2$b)
|
|
1047
|
-
], 2);
|
|
1048
|
-
}), 128))
|
|
1049
|
-
])
|
|
1050
|
-
], 2);
|
|
1082
|
+
return openBlock(), createBlock(resolveDynamicComponent(unref(hasTag)), mergeProps(unref(hasProps), {
|
|
1083
|
+
ref_key: "element",
|
|
1084
|
+
ref: element,
|
|
1085
|
+
class: {
|
|
1086
|
+
active: _ctx.active,
|
|
1087
|
+
pressed: unref(pressed),
|
|
1088
|
+
disabled: _ctx.disabled
|
|
1089
|
+
},
|
|
1090
|
+
onClickPassive: onClick,
|
|
1091
|
+
onMouseoverPassive: onMouseover,
|
|
1092
|
+
onMouseleavePassive: onMouseleave
|
|
1093
|
+
}), {
|
|
1094
|
+
default: withCtx(() => [
|
|
1095
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
1096
|
+
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
1097
|
+
])
|
|
1098
|
+
]),
|
|
1099
|
+
_: 3
|
|
1100
|
+
}, 16, ["class"]);
|
|
1051
1101
|
};
|
|
1052
1102
|
}
|
|
1053
1103
|
});
|
|
@@ -1145,14 +1195,11 @@ const VvIconProps = {
|
|
|
1145
1195
|
type: [String, Array]
|
|
1146
1196
|
}
|
|
1147
1197
|
};
|
|
1148
|
-
|
|
1149
|
-
return inject(INJECTION_KEY_VOLVER);
|
|
1150
|
-
}
|
|
1151
|
-
const __default__$i = {
|
|
1198
|
+
const __default__$k = {
|
|
1152
1199
|
name: "VvIcon"
|
|
1153
1200
|
};
|
|
1154
|
-
const _sfc_main$
|
|
1155
|
-
...__default__$
|
|
1201
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
1202
|
+
...__default__$k,
|
|
1156
1203
|
props: VvIconProps,
|
|
1157
1204
|
setup(__props) {
|
|
1158
1205
|
const props = __props;
|
|
@@ -1244,124 +1291,306 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
1244
1291
|
};
|
|
1245
1292
|
}
|
|
1246
1293
|
});
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
function useInjectedDropdownTrigger() {
|
|
1250
|
-
return inject(INJECTION_KEY_DROPDOWN_TRIGGER, {});
|
|
1294
|
+
function useInjectedAlertGroup() {
|
|
1295
|
+
return inject(INJECTION_KEY_ALERT_GROUP, {});
|
|
1251
1296
|
}
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1297
|
+
const useUniqueId = (id) => computed(() => String((id == null ? void 0 : id.value) || nanoid()));
|
|
1298
|
+
const VvAlertProps = {
|
|
1299
|
+
...IdProps,
|
|
1300
|
+
...ModifiersProps,
|
|
1301
|
+
...IconProps,
|
|
1302
|
+
/**
|
|
1303
|
+
* The alert is dismissable
|
|
1304
|
+
* @default false
|
|
1305
|
+
* @type boolean
|
|
1306
|
+
*/
|
|
1307
|
+
dismissable: {
|
|
1308
|
+
type: Boolean,
|
|
1309
|
+
default: false
|
|
1310
|
+
},
|
|
1311
|
+
/**
|
|
1312
|
+
* The alert auto close after the specified time in milliseconds
|
|
1313
|
+
* @default 0
|
|
1314
|
+
* @type number
|
|
1315
|
+
*/
|
|
1316
|
+
autoClose: {
|
|
1317
|
+
type: Number,
|
|
1318
|
+
default: 0
|
|
1319
|
+
},
|
|
1320
|
+
/**
|
|
1321
|
+
* The alert close label
|
|
1322
|
+
* @default 'Close'
|
|
1323
|
+
* @type string
|
|
1324
|
+
*/
|
|
1325
|
+
closeLabel: {
|
|
1326
|
+
type: String,
|
|
1327
|
+
default: "Close"
|
|
1328
|
+
},
|
|
1329
|
+
/**
|
|
1330
|
+
* The alert title
|
|
1331
|
+
* @default ''
|
|
1332
|
+
* @type string
|
|
1333
|
+
*/
|
|
1334
|
+
title: {
|
|
1335
|
+
type: String,
|
|
1336
|
+
default: ""
|
|
1337
|
+
},
|
|
1338
|
+
/**
|
|
1339
|
+
* The alert content
|
|
1340
|
+
* @default ''
|
|
1341
|
+
* @type string
|
|
1342
|
+
*/
|
|
1343
|
+
content: {
|
|
1344
|
+
type: String,
|
|
1345
|
+
default: ""
|
|
1346
|
+
},
|
|
1347
|
+
/**
|
|
1348
|
+
* The alert footer
|
|
1349
|
+
* @default ''
|
|
1350
|
+
* @type string
|
|
1351
|
+
*/
|
|
1352
|
+
footer: {
|
|
1353
|
+
type: String,
|
|
1354
|
+
default: ""
|
|
1355
|
+
},
|
|
1356
|
+
/**
|
|
1357
|
+
* The alert role
|
|
1358
|
+
* @default 'alert'
|
|
1359
|
+
* @type string
|
|
1360
|
+
* @values 'alert', 'alertdialog'
|
|
1361
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Alert_Role
|
|
1362
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Alertdialog_role
|
|
1363
|
+
*/
|
|
1364
|
+
role: {
|
|
1365
|
+
type: String,
|
|
1366
|
+
default: "alert"
|
|
1367
|
+
}
|
|
1260
1368
|
};
|
|
1261
|
-
const
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
case props.href !== void 0:
|
|
1295
|
-
return ActionTag.a;
|
|
1296
|
-
default:
|
|
1297
|
-
return ActionTag.button;
|
|
1298
|
-
}
|
|
1299
|
-
});
|
|
1300
|
-
const hasProps = computed(() => {
|
|
1301
|
-
const toReturn = {
|
|
1302
|
-
...dropdownAria == null ? void 0 : dropdownAria.value,
|
|
1303
|
-
"aria-pressed": pressed.value ? true : void 0,
|
|
1304
|
-
role: role == null ? void 0 : role.value
|
|
1305
|
-
};
|
|
1306
|
-
switch (hasTag.value) {
|
|
1307
|
-
case ActionTag.a:
|
|
1308
|
-
return {
|
|
1309
|
-
...toReturn,
|
|
1310
|
-
href: props.href,
|
|
1311
|
-
target: props.target,
|
|
1312
|
-
rel: props.rel
|
|
1313
|
-
};
|
|
1314
|
-
case ActionTag.routerLink:
|
|
1315
|
-
case ActionTag.nuxtLink:
|
|
1316
|
-
return {
|
|
1317
|
-
...toReturn,
|
|
1318
|
-
to: props.to,
|
|
1319
|
-
target: props.target
|
|
1320
|
-
};
|
|
1321
|
-
default:
|
|
1322
|
-
return {
|
|
1323
|
-
...toReturn,
|
|
1324
|
-
type: props.type,
|
|
1325
|
-
disabled: props.disabled
|
|
1326
|
-
};
|
|
1327
|
-
}
|
|
1328
|
-
});
|
|
1329
|
-
const onClick = (e) => {
|
|
1330
|
-
if (props.disabled) {
|
|
1331
|
-
e.preventDefault();
|
|
1369
|
+
const VvAlertEvents = ["close"];
|
|
1370
|
+
const useVvAlert = (props, emit) => {
|
|
1371
|
+
const { bus } = useInjectedAlertGroup();
|
|
1372
|
+
const hasId = useUniqueId(computed(() => props.id));
|
|
1373
|
+
const hasTitleId = computed(() => `${hasId.value}-title`);
|
|
1374
|
+
const hasIcon = computed(
|
|
1375
|
+
() => typeof props.icon === "string" ? { name: props.icon } : props.icon
|
|
1376
|
+
);
|
|
1377
|
+
const hasClass = useModifiers(
|
|
1378
|
+
"vv-alert",
|
|
1379
|
+
computed(() => props.modifiers),
|
|
1380
|
+
computed(() => ({
|
|
1381
|
+
dismissable: props.autoClose > 0 || props.dismissable,
|
|
1382
|
+
"auto-close": props.autoClose > 0,
|
|
1383
|
+
hover: isMouseover.value
|
|
1384
|
+
}))
|
|
1385
|
+
);
|
|
1386
|
+
const hasStyle = computed(() => ({
|
|
1387
|
+
"--alert-duration": `${props.autoClose}ms`
|
|
1388
|
+
}));
|
|
1389
|
+
const close = () => {
|
|
1390
|
+
if (timeout) {
|
|
1391
|
+
clearTimeout(timeout);
|
|
1392
|
+
}
|
|
1393
|
+
emit("close", hasId.value);
|
|
1394
|
+
bus == null ? void 0 : bus.emit("close", hasId.value);
|
|
1395
|
+
};
|
|
1396
|
+
let timeout;
|
|
1397
|
+
watch(
|
|
1398
|
+
() => props.autoClose,
|
|
1399
|
+
(value) => {
|
|
1400
|
+
if (value > 0) {
|
|
1401
|
+
timeout = setTimeout(close, value);
|
|
1332
1402
|
return;
|
|
1333
1403
|
}
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
}
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1404
|
+
if (timeout) {
|
|
1405
|
+
clearTimeout(timeout);
|
|
1406
|
+
}
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
immediate: true
|
|
1410
|
+
}
|
|
1411
|
+
);
|
|
1412
|
+
const isMouseover = ref(false);
|
|
1413
|
+
const onMouseover = withModifiers(() => {
|
|
1414
|
+
isMouseover.value = true;
|
|
1415
|
+
if (timeout) {
|
|
1416
|
+
clearTimeout(timeout);
|
|
1417
|
+
}
|
|
1418
|
+
}, ["passive"]);
|
|
1419
|
+
const onMouseleave = withModifiers(() => {
|
|
1420
|
+
isMouseover.value = false;
|
|
1421
|
+
if (props.autoClose > 0) {
|
|
1422
|
+
timeout = setTimeout(close, props.autoClose);
|
|
1423
|
+
}
|
|
1424
|
+
}, ["passive"]);
|
|
1425
|
+
return {
|
|
1426
|
+
close,
|
|
1427
|
+
hasIcon,
|
|
1428
|
+
hasTitleId,
|
|
1429
|
+
hasProps: computed(() => ({
|
|
1430
|
+
onMouseover,
|
|
1431
|
+
onMouseleave,
|
|
1432
|
+
class: hasClass.value,
|
|
1433
|
+
style: hasStyle.value,
|
|
1434
|
+
role: props.role,
|
|
1435
|
+
"aria-labelledby": hasTitleId.value
|
|
1436
|
+
}))
|
|
1437
|
+
};
|
|
1438
|
+
};
|
|
1439
|
+
const _hoisted_1$h = {
|
|
1440
|
+
key: 0,
|
|
1441
|
+
class: "vv-alert__header"
|
|
1442
|
+
};
|
|
1443
|
+
const _hoisted_2$c = ["id"];
|
|
1444
|
+
const _hoisted_3$6 = ["aria-label"];
|
|
1445
|
+
const _hoisted_4$4 = /* @__PURE__ */ createElementVNode("div", { class: "vv-alert__close-mask" }, null, -1);
|
|
1446
|
+
const _hoisted_5$4 = [
|
|
1447
|
+
_hoisted_4$4
|
|
1448
|
+
];
|
|
1449
|
+
const _hoisted_6$4 = {
|
|
1450
|
+
key: 1,
|
|
1451
|
+
class: "vv-alert__content"
|
|
1452
|
+
};
|
|
1453
|
+
const _hoisted_7$4 = {
|
|
1454
|
+
key: 2,
|
|
1455
|
+
class: "vv-alert__footer"
|
|
1456
|
+
};
|
|
1457
|
+
const __default__$j = {
|
|
1458
|
+
name: "VvAlert"
|
|
1459
|
+
};
|
|
1460
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
1461
|
+
...__default__$j,
|
|
1462
|
+
props: VvAlertProps,
|
|
1463
|
+
emits: VvAlertEvents,
|
|
1464
|
+
setup(__props, { expose: __expose, emit }) {
|
|
1465
|
+
const props = __props;
|
|
1466
|
+
const { hasProps, hasTitleId, hasIcon, close } = useVvAlert(props, emit);
|
|
1467
|
+
__expose({ close });
|
|
1345
1468
|
return (_ctx, _cache) => {
|
|
1346
|
-
return openBlock(),
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1469
|
+
return openBlock(), createElementBlock("div", normalizeProps(guardReactiveProps(unref(hasProps))), [
|
|
1470
|
+
_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, [
|
|
1471
|
+
unref(hasIcon) ? (openBlock(), createBlock(_sfc_main$n, mergeProps({ key: 0 }, unref(hasIcon), { class: "vv-alert__icon" }), null, 16)) : createCommentVNode("", true),
|
|
1472
|
+
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
1473
|
+
renderSlot(_ctx.$slots, "title::before"),
|
|
1474
|
+
createElementVNode("strong", {
|
|
1475
|
+
id: unref(hasTitleId),
|
|
1476
|
+
class: "vv-alert__title"
|
|
1477
|
+
}, [
|
|
1478
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
1479
|
+
createTextVNode(toDisplayString(_ctx.title), 1)
|
|
1480
|
+
])
|
|
1481
|
+
], 8, _hoisted_2$c),
|
|
1482
|
+
renderSlot(_ctx.$slots, "title::after")
|
|
1483
|
+
]),
|
|
1484
|
+
renderSlot(_ctx.$slots, "close", normalizeProps(guardReactiveProps({ close: unref(close) })), () => [
|
|
1485
|
+
_ctx.dismissable || _ctx.autoClose ? (openBlock(), createElementBlock("button", {
|
|
1486
|
+
key: 0,
|
|
1487
|
+
class: "vv-alert__close",
|
|
1488
|
+
type: "button",
|
|
1489
|
+
"aria-label": _ctx.closeLabel,
|
|
1490
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(
|
|
1491
|
+
//@ts-ignore
|
|
1492
|
+
(...args) => unref(close) && unref(close)(...args),
|
|
1493
|
+
["stop"]
|
|
1494
|
+
))
|
|
1495
|
+
}, _hoisted_5$4, 8, _hoisted_3$6)) : createCommentVNode("", true)
|
|
1496
|
+
])
|
|
1497
|
+
])) : createCommentVNode("", true),
|
|
1498
|
+
_ctx.$slots.default || _ctx.content ? (openBlock(), createElementBlock("div", _hoisted_6$4, [
|
|
1359
1499
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
1360
|
-
createTextVNode(toDisplayString(_ctx.
|
|
1500
|
+
createTextVNode(toDisplayString(_ctx.content), 1)
|
|
1361
1501
|
])
|
|
1362
|
-
]),
|
|
1363
|
-
|
|
1364
|
-
|
|
1502
|
+
])) : createCommentVNode("", true),
|
|
1503
|
+
_ctx.$slots.footer || _ctx.footer ? (openBlock(), createElementBlock("div", _hoisted_7$4, [
|
|
1504
|
+
renderSlot(_ctx.$slots, "footer", {}, () => [
|
|
1505
|
+
createTextVNode(toDisplayString(_ctx.footer), 1)
|
|
1506
|
+
])
|
|
1507
|
+
])) : createCommentVNode("", true)
|
|
1508
|
+
], 16);
|
|
1509
|
+
};
|
|
1510
|
+
}
|
|
1511
|
+
});
|
|
1512
|
+
const VvBadgeProps = {
|
|
1513
|
+
...ModifiersProps,
|
|
1514
|
+
value: [String, Number]
|
|
1515
|
+
};
|
|
1516
|
+
const __default__$i = {
|
|
1517
|
+
name: "VvBadge"
|
|
1518
|
+
};
|
|
1519
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
1520
|
+
...__default__$i,
|
|
1521
|
+
props: VvBadgeProps,
|
|
1522
|
+
setup(__props) {
|
|
1523
|
+
const props = __props;
|
|
1524
|
+
const { modifiers } = toRefs(props);
|
|
1525
|
+
const bemCssClasses = useModifiers("vv-badge", modifiers);
|
|
1526
|
+
return (_ctx, _cache) => {
|
|
1527
|
+
return openBlock(), createElementBlock("span", {
|
|
1528
|
+
class: normalizeClass(unref(bemCssClasses)),
|
|
1529
|
+
role: "status"
|
|
1530
|
+
}, [
|
|
1531
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
1532
|
+
createTextVNode(toDisplayString(_ctx.value), 1)
|
|
1533
|
+
])
|
|
1534
|
+
], 2);
|
|
1535
|
+
};
|
|
1536
|
+
}
|
|
1537
|
+
});
|
|
1538
|
+
const VvBreadcrumbProps = {
|
|
1539
|
+
...ModifiersProps,
|
|
1540
|
+
routes: Array
|
|
1541
|
+
};
|
|
1542
|
+
const _hoisted_1$g = { class: "vv-breadcrumb__list" };
|
|
1543
|
+
const _hoisted_2$b = ["content"];
|
|
1544
|
+
const __default__$h = {
|
|
1545
|
+
name: "VvBreadcrumb"
|
|
1546
|
+
};
|
|
1547
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
1548
|
+
...__default__$h,
|
|
1549
|
+
props: VvBreadcrumbProps,
|
|
1550
|
+
setup(__props) {
|
|
1551
|
+
const props = __props;
|
|
1552
|
+
const { modifiers } = toRefs(props);
|
|
1553
|
+
const bemCssClasses = useModifiers("vv-breadcrumb", modifiers);
|
|
1554
|
+
return (_ctx, _cache) => {
|
|
1555
|
+
return openBlock(), createElementBlock("nav", {
|
|
1556
|
+
class: normalizeClass(unref(bemCssClasses)),
|
|
1557
|
+
"aria-label": "breadcrumbs"
|
|
1558
|
+
}, [
|
|
1559
|
+
createElementVNode("ol", _hoisted_1$g, [
|
|
1560
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.routes, (route, index) => {
|
|
1561
|
+
var _a, _b, _c, _d;
|
|
1562
|
+
return openBlock(), createElementBlock("li", {
|
|
1563
|
+
key: `${route.label}-${index}`,
|
|
1564
|
+
class: normalizeClass({
|
|
1565
|
+
"vv-breadcrumb__item": index < Number((_a = _ctx.routes) == null ? void 0 : _a.length) - 1,
|
|
1566
|
+
"vv-breadcrumb__item-active": index === Number((_b = _ctx.routes) == null ? void 0 : _b.length) - 1
|
|
1567
|
+
}),
|
|
1568
|
+
itemprop: "itemListElement",
|
|
1569
|
+
itemtype: "https://schema.org/ListItem",
|
|
1570
|
+
itemscope: ""
|
|
1571
|
+
}, [
|
|
1572
|
+
(openBlock(), createBlock(resolveDynamicComponent(route.to ? "router-link" : route.href ? "a" : "span"), mergeProps(route, {
|
|
1573
|
+
class: {
|
|
1574
|
+
"vv-breadcrumb__link": index < Number((_c = _ctx.routes) == null ? void 0 : _c.length) - 1
|
|
1575
|
+
},
|
|
1576
|
+
"aria-current": index === Number((_d = _ctx.routes) == null ? void 0 : _d.length) - 1 ? "page" : void 0,
|
|
1577
|
+
itemprop: "item"
|
|
1578
|
+
}), {
|
|
1579
|
+
default: withCtx(() => [
|
|
1580
|
+
renderSlot(_ctx.$slots, "label", normalizeProps(guardReactiveProps({ route, index })), () => [
|
|
1581
|
+
createTextVNode(toDisplayString(route.label), 1)
|
|
1582
|
+
])
|
|
1583
|
+
]),
|
|
1584
|
+
_: 2
|
|
1585
|
+
}, 1040, ["class", "aria-current"])),
|
|
1586
|
+
createElementVNode("meta", {
|
|
1587
|
+
itemprop: "position",
|
|
1588
|
+
content: `${index + 1}`
|
|
1589
|
+
}, null, 8, _hoisted_2$b)
|
|
1590
|
+
], 2);
|
|
1591
|
+
}), 128))
|
|
1592
|
+
])
|
|
1593
|
+
], 2);
|
|
1365
1594
|
};
|
|
1366
1595
|
}
|
|
1367
1596
|
});
|
|
@@ -1469,8 +1698,7 @@ function useGroupProps$2(props, emit) {
|
|
|
1469
1698
|
label
|
|
1470
1699
|
};
|
|
1471
1700
|
}
|
|
1472
|
-
const
|
|
1473
|
-
const _hoisted_1$d = {
|
|
1701
|
+
const _hoisted_1$f = {
|
|
1474
1702
|
key: 1,
|
|
1475
1703
|
class: "vv-button__label"
|
|
1476
1704
|
};
|
|
@@ -1481,7 +1709,7 @@ const _hoisted_2$a = {
|
|
|
1481
1709
|
const __default__$g = {
|
|
1482
1710
|
name: "VvButton"
|
|
1483
1711
|
};
|
|
1484
|
-
const _sfc_main$
|
|
1712
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
1485
1713
|
...__default__$g,
|
|
1486
1714
|
props: VvButtonProps,
|
|
1487
1715
|
emits: VvButtonEvents,
|
|
@@ -1560,7 +1788,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
1560
1788
|
}
|
|
1561
1789
|
};
|
|
1562
1790
|
return (_ctx, _cache) => {
|
|
1563
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1791
|
+
return openBlock(), createBlock(_sfc_main$o, mergeProps({
|
|
1564
1792
|
disabled: unref(disabled),
|
|
1565
1793
|
pressed: unref(pressed),
|
|
1566
1794
|
active: _ctx.active,
|
|
@@ -1568,7 +1796,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
1568
1796
|
to: _ctx.to,
|
|
1569
1797
|
href: _ctx.href,
|
|
1570
1798
|
target: _ctx.target,
|
|
1571
|
-
rel: _ctx.rel
|
|
1799
|
+
rel: _ctx.rel,
|
|
1800
|
+
ariaLabel: _ctx.ariaLabel
|
|
1572
1801
|
}, {
|
|
1573
1802
|
id: unref(hasId),
|
|
1574
1803
|
ref_key: "element",
|
|
@@ -1579,15 +1808,15 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
1579
1808
|
default: withCtx(() => [
|
|
1580
1809
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
1581
1810
|
_ctx.loading ? renderSlot(_ctx.$slots, "loading", { key: 0 }, () => [
|
|
1582
|
-
_ctx.loadingIcon ? (openBlock(), createBlock(_sfc_main$
|
|
1811
|
+
_ctx.loadingIcon ? (openBlock(), createBlock(_sfc_main$n, {
|
|
1583
1812
|
key: 0,
|
|
1584
1813
|
class: "vv-button__loading-icon",
|
|
1585
1814
|
name: _ctx.loadingIcon
|
|
1586
1815
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
1587
|
-
_ctx.loadingLabel ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
1816
|
+
_ctx.loadingLabel ? (openBlock(), createElementBlock("span", _hoisted_1$f, toDisplayString(_ctx.loadingLabel), 1)) : createCommentVNode("", true)
|
|
1588
1817
|
]) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
1589
1818
|
renderSlot(_ctx.$slots, "before"),
|
|
1590
|
-
unref(icon) ? (openBlock(), createBlock(_sfc_main$
|
|
1819
|
+
unref(icon) ? (openBlock(), createBlock(_sfc_main$n, mergeProps({
|
|
1591
1820
|
key: 0,
|
|
1592
1821
|
class: "vv-button__icon"
|
|
1593
1822
|
}, unref(hasIconProps)), null, 16)) : createCommentVNode("", true),
|
|
@@ -1627,7 +1856,7 @@ const VvButtonGroupEvents = ["update:modelValue"];
|
|
|
1627
1856
|
const __default__$f = {
|
|
1628
1857
|
name: "VvButtonGroup"
|
|
1629
1858
|
};
|
|
1630
|
-
const _sfc_main$
|
|
1859
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
1631
1860
|
...__default__$f,
|
|
1632
1861
|
props: VvButtonGroupProps,
|
|
1633
1862
|
emits: VvButtonGroupEvents,
|
|
@@ -1686,7 +1915,7 @@ const VvCardProps = {
|
|
|
1686
1915
|
...ModifiersProps,
|
|
1687
1916
|
title: String
|
|
1688
1917
|
};
|
|
1689
|
-
const _hoisted_1$
|
|
1918
|
+
const _hoisted_1$e = {
|
|
1690
1919
|
key: 0,
|
|
1691
1920
|
class: "vv-card__header"
|
|
1692
1921
|
};
|
|
@@ -1701,7 +1930,7 @@ const _hoisted_3$5 = {
|
|
|
1701
1930
|
const __default__$e = {
|
|
1702
1931
|
name: "VvCard"
|
|
1703
1932
|
};
|
|
1704
|
-
const _sfc_main$
|
|
1933
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
1705
1934
|
...__default__$e,
|
|
1706
1935
|
props: VvCardProps,
|
|
1707
1936
|
setup(__props) {
|
|
@@ -1712,7 +1941,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
1712
1941
|
return openBlock(), createElementBlock("article", {
|
|
1713
1942
|
class: normalizeClass(unref(bemCssClasses))
|
|
1714
1943
|
}, [
|
|
1715
|
-
_ctx.$slots.header || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$
|
|
1944
|
+
_ctx.$slots.header || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$e, [
|
|
1716
1945
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
1717
1946
|
createTextVNode(toDisplayString(_ctx.title), 1)
|
|
1718
1947
|
])
|
|
@@ -1888,12 +2117,12 @@ function HintSlotFactory(props, slots) {
|
|
|
1888
2117
|
HintSlot
|
|
1889
2118
|
};
|
|
1890
2119
|
}
|
|
1891
|
-
const _hoisted_1$
|
|
2120
|
+
const _hoisted_1$d = ["for"];
|
|
1892
2121
|
const _hoisted_2$8 = ["id", "name", "disabled", "value", "tabindex", "aria-invalid", "aria-describedby", "aria-errormessage"];
|
|
1893
2122
|
const __default__$d = {
|
|
1894
2123
|
name: "VvCheckbox"
|
|
1895
2124
|
};
|
|
1896
|
-
const _sfc_main$
|
|
2125
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
1897
2126
|
...__default__$d,
|
|
1898
2127
|
props: VvCheckboxProps,
|
|
1899
2128
|
emits: VvCheckboxEvents,
|
|
@@ -2071,7 +2300,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
2071
2300
|
key: "3"
|
|
2072
2301
|
} : void 0
|
|
2073
2302
|
]), 1032, ["id"])
|
|
2074
|
-
], 10, _hoisted_1$
|
|
2303
|
+
], 10, _hoisted_1$d);
|
|
2075
2304
|
};
|
|
2076
2305
|
}
|
|
2077
2306
|
});
|
|
@@ -2109,12 +2338,12 @@ function useOptions(props) {
|
|
|
2109
2338
|
getOptionGrouped
|
|
2110
2339
|
};
|
|
2111
2340
|
}
|
|
2112
|
-
const _hoisted_1$
|
|
2341
|
+
const _hoisted_1$c = ["textContent"];
|
|
2113
2342
|
const _hoisted_2$7 = { class: "vv-checkbox-group__wrapper" };
|
|
2114
2343
|
const __default__$c = {
|
|
2115
2344
|
name: "VvCheckboxGroup"
|
|
2116
2345
|
};
|
|
2117
|
-
const _sfc_main$
|
|
2346
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
2118
2347
|
...__default__$c,
|
|
2119
2348
|
props: VvCheckboxGroupProps,
|
|
2120
2349
|
emits: VvCheckboxGroupEvents,
|
|
@@ -2159,10 +2388,10 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2159
2388
|
_ctx.label ? (openBlock(), createElementBlock("legend", {
|
|
2160
2389
|
key: 0,
|
|
2161
2390
|
textContent: toDisplayString(_ctx.label)
|
|
2162
|
-
}, null, 8, _hoisted_1$
|
|
2391
|
+
}, null, 8, _hoisted_1$c)) : createCommentVNode("", true),
|
|
2163
2392
|
createElementVNode("div", _hoisted_2$7, [
|
|
2164
2393
|
_ctx.options.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.options, (option, index) => {
|
|
2165
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2394
|
+
return openBlock(), createBlock(_sfc_main$g, mergeProps({ key: index }, getOptionProps(option, index)), null, 16);
|
|
2166
2395
|
}), 128)) : renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
2167
2396
|
]),
|
|
2168
2397
|
createVNode(unref(HintSlot), { class: "vv-checkbox-group__hint" }, createSlots({ _: 2 }, [
|
|
@@ -2406,12 +2635,12 @@ function useProvideDropdownAction({
|
|
|
2406
2635
|
expanded
|
|
2407
2636
|
});
|
|
2408
2637
|
}
|
|
2409
|
-
const _hoisted_1$
|
|
2638
|
+
const _hoisted_1$b = ["id", "tabindex", "role", "aria-labelledby"];
|
|
2410
2639
|
const __default__$b = {
|
|
2411
2640
|
name: "VvDropdown",
|
|
2412
2641
|
inheritAttrs: false
|
|
2413
2642
|
};
|
|
2414
|
-
const _sfc_main$
|
|
2643
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
2415
2644
|
...__default__$b,
|
|
2416
2645
|
props: VvDropdownProps,
|
|
2417
2646
|
emits: [
|
|
@@ -2528,7 +2757,11 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2528
2757
|
referenceEl,
|
|
2529
2758
|
floatingEl,
|
|
2530
2759
|
{
|
|
2531
|
-
whileElementsMounted:
|
|
2760
|
+
whileElementsMounted: (...args) => {
|
|
2761
|
+
return autoUpdate(...args, {
|
|
2762
|
+
animationFrame: props.strategy === "fixed"
|
|
2763
|
+
});
|
|
2764
|
+
},
|
|
2532
2765
|
placement: computed(() => props.placement),
|
|
2533
2766
|
strategy: computed(() => props.strategy),
|
|
2534
2767
|
middleware
|
|
@@ -2795,7 +3028,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2795
3028
|
renderSlot(_ctx.$slots, "items", normalizeProps(guardReactiveProps({
|
|
2796
3029
|
role: unref(itemRole)
|
|
2797
3030
|
})))
|
|
2798
|
-
], 16, _hoisted_1$
|
|
3031
|
+
], 16, _hoisted_1$b),
|
|
2799
3032
|
renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps({ expanded: unref(expanded) })))
|
|
2800
3033
|
], 6), [
|
|
2801
3034
|
[vShow, unref(expanded)]
|
|
@@ -2810,7 +3043,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2810
3043
|
const __default__$a = {
|
|
2811
3044
|
name: "VvDropdownItem"
|
|
2812
3045
|
};
|
|
2813
|
-
const _sfc_main$
|
|
3046
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
2814
3047
|
...__default__$a,
|
|
2815
3048
|
setup(__props) {
|
|
2816
3049
|
const { role, expanded } = useInjectedDropdownItem();
|
|
@@ -2835,11 +3068,11 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2835
3068
|
};
|
|
2836
3069
|
}
|
|
2837
3070
|
});
|
|
2838
|
-
const _hoisted_1$
|
|
3071
|
+
const _hoisted_1$a = ["title"];
|
|
2839
3072
|
const __default__$9 = {
|
|
2840
3073
|
name: "VvDropdownOption"
|
|
2841
3074
|
};
|
|
2842
|
-
const _sfc_main$
|
|
3075
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
2843
3076
|
...__default__$9,
|
|
2844
3077
|
props: {
|
|
2845
3078
|
...DisabledProps,
|
|
@@ -2877,7 +3110,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2877
3110
|
}
|
|
2878
3111
|
});
|
|
2879
3112
|
return (_ctx, _cache) => {
|
|
2880
|
-
return openBlock(), createBlock(_sfc_main$
|
|
3113
|
+
return openBlock(), createBlock(_sfc_main$d, {
|
|
2881
3114
|
class: normalizeClass(unref(bemCssClasses)),
|
|
2882
3115
|
tabindex: _ctx.disabled ? -1 : 0,
|
|
2883
3116
|
"aria-selected": _ctx.selected,
|
|
@@ -2892,14 +3125,14 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2892
3125
|
renderSlot(_ctx.$slots, "hint", normalizeProps(guardReactiveProps({ disabled: _ctx.disabled, selected: _ctx.selected, unselectable: _ctx.unselectable })), () => [
|
|
2893
3126
|
createTextVNode(toDisplayString(unref(hintLabel)), 1)
|
|
2894
3127
|
])
|
|
2895
|
-
], 8, _hoisted_1$
|
|
3128
|
+
], 8, _hoisted_1$a)
|
|
2896
3129
|
]),
|
|
2897
3130
|
_: 3
|
|
2898
3131
|
}, 8, ["class", "tabindex", "aria-selected", "aria-disabled"]);
|
|
2899
3132
|
};
|
|
2900
3133
|
}
|
|
2901
3134
|
});
|
|
2902
|
-
const _hoisted_1$
|
|
3135
|
+
const _hoisted_1$9 = {
|
|
2903
3136
|
class: "vv-dropdown-optgroup",
|
|
2904
3137
|
role: "presentation",
|
|
2905
3138
|
tabindex: "-1"
|
|
@@ -2907,7 +3140,7 @@ const _hoisted_1$7 = {
|
|
|
2907
3140
|
const __default__$8 = {
|
|
2908
3141
|
name: "VvDropdownOptgroup"
|
|
2909
3142
|
};
|
|
2910
|
-
const _sfc_main$
|
|
3143
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
2911
3144
|
...__default__$8,
|
|
2912
3145
|
props: {
|
|
2913
3146
|
...LabelProps
|
|
@@ -2915,7 +3148,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2915
3148
|
setup(__props) {
|
|
2916
3149
|
const props = __props;
|
|
2917
3150
|
return (_ctx, _cache) => {
|
|
2918
|
-
return openBlock(), createElementBlock("li", _hoisted_1$
|
|
3151
|
+
return openBlock(), createElementBlock("li", _hoisted_1$9, toDisplayString(props.label), 1);
|
|
2919
3152
|
};
|
|
2920
3153
|
}
|
|
2921
3154
|
});
|
|
@@ -3012,7 +3245,7 @@ function useComponentIcon(icon, iconPosition) {
|
|
|
3012
3245
|
hasIconAfter
|
|
3013
3246
|
};
|
|
3014
3247
|
}
|
|
3015
|
-
const _hoisted_1$
|
|
3248
|
+
const _hoisted_1$8 = ["for"];
|
|
3016
3249
|
const _hoisted_2$6 = { class: "vv-select__wrapper" };
|
|
3017
3250
|
const _hoisted_3$4 = {
|
|
3018
3251
|
key: 0,
|
|
@@ -3031,7 +3264,7 @@ const _hoisted_10 = {
|
|
|
3031
3264
|
const __default__$7 = {
|
|
3032
3265
|
name: "VvSelect"
|
|
3033
3266
|
};
|
|
3034
|
-
const _sfc_main$
|
|
3267
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
3035
3268
|
...__default__$7,
|
|
3036
3269
|
props: VvSelectProps,
|
|
3037
3270
|
emits: VvSelectEmits,
|
|
@@ -3150,13 +3383,13 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3150
3383
|
_ctx.label ? (openBlock(), createElementBlock("label", {
|
|
3151
3384
|
key: 0,
|
|
3152
3385
|
for: unref(hasId)
|
|
3153
|
-
}, toDisplayString(_ctx.label), 9, _hoisted_1$
|
|
3386
|
+
}, toDisplayString(_ctx.label), 9, _hoisted_1$8)) : createCommentVNode("", true),
|
|
3154
3387
|
createElementVNode("div", _hoisted_2$6, [
|
|
3155
3388
|
_ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
|
|
3156
3389
|
renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
|
|
3157
3390
|
])) : createCommentVNode("", true),
|
|
3158
3391
|
createElementVNode("div", _hoisted_4$3, [
|
|
3159
|
-
unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$
|
|
3392
|
+
unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$n, mergeProps({
|
|
3160
3393
|
key: 0,
|
|
3161
3394
|
class: "vv-select__icon"
|
|
3162
3395
|
}, unref(hasIcon)), null, 16)) : createCommentVNode("", true),
|
|
@@ -3196,7 +3429,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3196
3429
|
], 16, _hoisted_5$3), [
|
|
3197
3430
|
[vModelSelect, unref(localModelValue)]
|
|
3198
3431
|
]),
|
|
3199
|
-
unref(hasIconAfter) ? (openBlock(), createBlock(_sfc_main$
|
|
3432
|
+
unref(hasIconAfter) ? (openBlock(), createBlock(_sfc_main$n, mergeProps({
|
|
3200
3433
|
key: 1,
|
|
3201
3434
|
class: "vv-select__icon vv-select__icon-after"
|
|
3202
3435
|
}, unref(hasIcon)), null, 16)) : createCommentVNode("", true)
|
|
@@ -3295,7 +3528,7 @@ function useDefaults(componentName, propsDefinition, props) {
|
|
|
3295
3528
|
}, {});
|
|
3296
3529
|
});
|
|
3297
3530
|
}
|
|
3298
|
-
const _hoisted_1$
|
|
3531
|
+
const _hoisted_1$7 = ["id"];
|
|
3299
3532
|
const _hoisted_2$5 = ["id", "for"];
|
|
3300
3533
|
const _hoisted_3$3 = ["id", "aria-controls", "placeholder"];
|
|
3301
3534
|
const _hoisted_4$2 = {
|
|
@@ -3316,13 +3549,13 @@ const _hoisted_9 = {
|
|
|
3316
3549
|
const __default__$6 = {
|
|
3317
3550
|
name: "VvCombobox",
|
|
3318
3551
|
components: {
|
|
3319
|
-
VvDropdown: _sfc_main$
|
|
3320
|
-
VvDropdownOption: _sfc_main$
|
|
3321
|
-
VvDropdownOptgroup: _sfc_main$
|
|
3322
|
-
VvButton: _sfc_main$
|
|
3552
|
+
VvDropdown: _sfc_main$e,
|
|
3553
|
+
VvDropdownOption: _sfc_main$c,
|
|
3554
|
+
VvDropdownOptgroup: _sfc_main$b,
|
|
3555
|
+
VvButton: _sfc_main$j
|
|
3323
3556
|
}
|
|
3324
3557
|
};
|
|
3325
|
-
const _sfc_main$
|
|
3558
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
3326
3559
|
...__default__$6,
|
|
3327
3560
|
props: VvComboboxProps,
|
|
3328
3561
|
emits: VvComboboxEvents,
|
|
@@ -3602,7 +3835,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3602
3835
|
ref: wrapperEl,
|
|
3603
3836
|
class: "vv-select__wrapper"
|
|
3604
3837
|
}, [
|
|
3605
|
-
createVNode(_sfc_main$
|
|
3838
|
+
createVNode(_sfc_main$e, mergeProps({
|
|
3606
3839
|
ref_key: "dropdownEl",
|
|
3607
3840
|
ref: dropdownEl,
|
|
3608
3841
|
modelValue: unref(expanded),
|
|
@@ -3617,7 +3850,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3617
3850
|
renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
|
|
3618
3851
|
])) : createCommentVNode("", true),
|
|
3619
3852
|
createElementVNode("div", _hoisted_5$2, [
|
|
3620
|
-
unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$
|
|
3853
|
+
unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$n, mergeProps({
|
|
3621
3854
|
key: 0,
|
|
3622
3855
|
class: "vv-select__icon"
|
|
3623
3856
|
}, unref(hasIcon)), null, 16)) : createCommentVNode("", true),
|
|
@@ -3637,7 +3870,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3637
3870
|
renderSlot(_ctx.$slots, "value", normalizeProps(guardReactiveProps({ selectedOptions: unref(selectedOptions), onInput })), () => [
|
|
3638
3871
|
unref(hasValue) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
3639
3872
|
!_ctx.badges ? (openBlock(), createElementBlock("div", _hoisted_7$2, toDisplayString(unref(hasValue)), 1)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(selectedOptions), (option, index) => {
|
|
3640
|
-
return openBlock(), createBlock(_sfc_main$
|
|
3873
|
+
return openBlock(), createBlock(_sfc_main$l, {
|
|
3641
3874
|
key: index,
|
|
3642
3875
|
modifiers: _ctx.badgeModifiers,
|
|
3643
3876
|
class: "vv-select__badge"
|
|
@@ -3649,7 +3882,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3649
3882
|
"aria-label": unref(propsDefaults).deselectActionLabel,
|
|
3650
3883
|
onClick: withModifiers(($event) => onInput(option), ["stop"])
|
|
3651
3884
|
}, [
|
|
3652
|
-
createVNode(_sfc_main$
|
|
3885
|
+
createVNode(_sfc_main$n, { name: "close" })
|
|
3653
3886
|
], 8, _hoisted_8$1)) : createCommentVNode("", true)
|
|
3654
3887
|
]),
|
|
3655
3888
|
_: 2
|
|
@@ -3660,7 +3893,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3660
3893
|
], 64))
|
|
3661
3894
|
])
|
|
3662
3895
|
], 16, _hoisted_6$2),
|
|
3663
|
-
unref(hasIconAfter) ? (openBlock(), createBlock(_sfc_main$
|
|
3896
|
+
unref(hasIconAfter) ? (openBlock(), createBlock(_sfc_main$n, mergeProps({
|
|
3664
3897
|
key: 1,
|
|
3665
3898
|
class: "vv-select__icon vv-select__icon-after"
|
|
3666
3899
|
}, unref(hasIcon)), null, 16)) : createCommentVNode("", true)
|
|
@@ -3673,13 +3906,13 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3673
3906
|
unref(filteredOptions).length ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(filteredOptions), (option, index) => {
|
|
3674
3907
|
return openBlock(), createElementBlock(Fragment, { key: index }, [
|
|
3675
3908
|
isGroup(option) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
3676
|
-
createVNode(_sfc_main$
|
|
3909
|
+
createVNode(_sfc_main$b, {
|
|
3677
3910
|
label: unref(getOptionLabel)(option)
|
|
3678
3911
|
}, null, 8, ["label"]),
|
|
3679
3912
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(getOptionGrouped)(
|
|
3680
3913
|
option
|
|
3681
3914
|
), (item, i) => {
|
|
3682
|
-
return openBlock(), createBlock(_sfc_main$
|
|
3915
|
+
return openBlock(), createBlock(_sfc_main$c, mergeProps({
|
|
3683
3916
|
disabled: unref(getOptionDisabled)(item),
|
|
3684
3917
|
selected: getOptionSelected(item),
|
|
3685
3918
|
unselectable: _ctx.unselectable,
|
|
@@ -3704,7 +3937,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3704
3937
|
_: 2
|
|
3705
3938
|
}, 1040, ["onClickPassive"]);
|
|
3706
3939
|
}), 128))
|
|
3707
|
-
], 64)) : (openBlock(), createBlock(_sfc_main$
|
|
3940
|
+
], 64)) : (openBlock(), createBlock(_sfc_main$c, mergeProps({ key: 1 }, {
|
|
3708
3941
|
disabled: unref(getOptionDisabled)(option),
|
|
3709
3942
|
selected: getOptionSelected(option),
|
|
3710
3943
|
unselectable: _ctx.unselectable,
|
|
@@ -3728,7 +3961,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3728
3961
|
_: 2
|
|
3729
3962
|
}, 1040, ["onClickPassive"]))
|
|
3730
3963
|
], 64);
|
|
3731
|
-
}), 128)) : !_ctx.options.length ? (openBlock(), createBlock(_sfc_main$
|
|
3964
|
+
}), 128)) : !_ctx.options.length ? (openBlock(), createBlock(_sfc_main$c, {
|
|
3732
3965
|
key: 1,
|
|
3733
3966
|
modifiers: "inert"
|
|
3734
3967
|
}, {
|
|
@@ -3738,7 +3971,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3738
3971
|
])
|
|
3739
3972
|
]),
|
|
3740
3973
|
_: 3
|
|
3741
|
-
})) : (openBlock(), createBlock(_sfc_main$
|
|
3974
|
+
})) : (openBlock(), createBlock(_sfc_main$c, {
|
|
3742
3975
|
key: 2,
|
|
3743
3976
|
modifiers: "inert"
|
|
3744
3977
|
}, {
|
|
@@ -3754,7 +3987,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3754
3987
|
renderSlot(_ctx.$slots, "dropdown::after", {}, () => {
|
|
3755
3988
|
var _a;
|
|
3756
3989
|
return [
|
|
3757
|
-
((_a = unref(dropdownEl)) == null ? void 0 : _a.customPosition) ? (openBlock(), createBlock(_sfc_main$
|
|
3990
|
+
((_a = unref(dropdownEl)) == null ? void 0 : _a.customPosition) ? (openBlock(), createBlock(_sfc_main$j, {
|
|
3758
3991
|
key: 0,
|
|
3759
3992
|
label: "Close",
|
|
3760
3993
|
modifiers: "secondary",
|
|
@@ -3824,7 +4057,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3824
4057
|
key: "3"
|
|
3825
4058
|
} : void 0
|
|
3826
4059
|
]), 1032, ["id"])
|
|
3827
|
-
], 10, _hoisted_1$
|
|
4060
|
+
], 10, _hoisted_1$7)) : (openBlock(), createBlock(_sfc_main$a, mergeProps({ key: 1 }, unref(selectProps), {
|
|
3828
4061
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => emit("update:modelValue", $event))
|
|
3829
4062
|
}), null, 16));
|
|
3830
4063
|
};
|
|
@@ -3869,7 +4102,7 @@ const VvDialogProps = {
|
|
|
3869
4102
|
*/
|
|
3870
4103
|
keepOpen: { type: Boolean, default: false }
|
|
3871
4104
|
};
|
|
3872
|
-
const _hoisted_1$
|
|
4105
|
+
const _hoisted_1$6 = {
|
|
3873
4106
|
key: 0,
|
|
3874
4107
|
class: "vv-dialog__header"
|
|
3875
4108
|
};
|
|
@@ -3881,7 +4114,7 @@ const _hoisted_3$2 = {
|
|
|
3881
4114
|
const __default__$5 = {
|
|
3882
4115
|
name: "VvDialog"
|
|
3883
4116
|
};
|
|
3884
|
-
const _sfc_main$
|
|
4117
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
3885
4118
|
...__default__$5,
|
|
3886
4119
|
props: VvDialogProps,
|
|
3887
4120
|
emits: VvDialogEvents,
|
|
@@ -3977,7 +4210,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3977
4210
|
ref: modalWrapper,
|
|
3978
4211
|
class: "vv-dialog__wrapper"
|
|
3979
4212
|
}, [
|
|
3980
|
-
_ctx.$slots.header || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$
|
|
4213
|
+
_ctx.$slots.header || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$6, [
|
|
3981
4214
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
3982
4215
|
createTextVNode(toDisplayString(_ctx.title) + " ", 1),
|
|
3983
4216
|
createElementVNode("button", {
|
|
@@ -3986,7 +4219,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3986
4219
|
class: "vv-dialog__close",
|
|
3987
4220
|
onClickPassive: close
|
|
3988
4221
|
}, [
|
|
3989
|
-
createVNode(_sfc_main$
|
|
4222
|
+
createVNode(_sfc_main$n, { name: "close" })
|
|
3990
4223
|
], 32)
|
|
3991
4224
|
])
|
|
3992
4225
|
])) : createCommentVNode("", true),
|
|
@@ -4198,7 +4431,7 @@ const VvInputTextProps = {
|
|
|
4198
4431
|
};
|
|
4199
4432
|
const VvInputPasswordAction = defineComponent({
|
|
4200
4433
|
components: {
|
|
4201
|
-
VvIcon: _sfc_main$
|
|
4434
|
+
VvIcon: _sfc_main$n
|
|
4202
4435
|
},
|
|
4203
4436
|
props: {
|
|
4204
4437
|
disabled: {
|
|
@@ -4242,7 +4475,7 @@ const VvInputPasswordAction = defineComponent({
|
|
|
4242
4475
|
};
|
|
4243
4476
|
},
|
|
4244
4477
|
render() {
|
|
4245
|
-
const icon = h(_sfc_main$
|
|
4478
|
+
const icon = h(_sfc_main$n, {
|
|
4246
4479
|
name: this.activeIcon,
|
|
4247
4480
|
class: "vv-input-text__icon"
|
|
4248
4481
|
});
|
|
@@ -4261,7 +4494,7 @@ const VvInputPasswordAction = defineComponent({
|
|
|
4261
4494
|
});
|
|
4262
4495
|
const VvInputStepAction = defineComponent({
|
|
4263
4496
|
components: {
|
|
4264
|
-
VvIcon: _sfc_main$
|
|
4497
|
+
VvIcon: _sfc_main$n
|
|
4265
4498
|
},
|
|
4266
4499
|
props: {
|
|
4267
4500
|
disabled: {
|
|
@@ -4306,7 +4539,7 @@ const VvInputStepAction = defineComponent({
|
|
|
4306
4539
|
});
|
|
4307
4540
|
const VvInputClearAction = defineComponent({
|
|
4308
4541
|
components: {
|
|
4309
|
-
VvIcon: _sfc_main$
|
|
4542
|
+
VvIcon: _sfc_main$n
|
|
4310
4543
|
},
|
|
4311
4544
|
props: {
|
|
4312
4545
|
disabled: {
|
|
@@ -4335,7 +4568,7 @@ const VvInputClearAction = defineComponent({
|
|
|
4335
4568
|
};
|
|
4336
4569
|
},
|
|
4337
4570
|
render() {
|
|
4338
|
-
const icon = h(_sfc_main$
|
|
4571
|
+
const icon = h(_sfc_main$n, {
|
|
4339
4572
|
name: this.icon,
|
|
4340
4573
|
class: "vv-input-text__icon"
|
|
4341
4574
|
});
|
|
@@ -4356,7 +4589,7 @@ function VvInputTextActionsFactory(type, parentProps) {
|
|
|
4356
4589
|
return {
|
|
4357
4590
|
name: "VvInputTextActions",
|
|
4358
4591
|
components: {
|
|
4359
|
-
VvIcon: _sfc_main$
|
|
4592
|
+
VvIcon: _sfc_main$n,
|
|
4360
4593
|
VvInputPasswordAction,
|
|
4361
4594
|
VvInputStepAction,
|
|
4362
4595
|
VvInputClearAction
|
|
@@ -4483,7 +4716,7 @@ function useTextCount(text, options) {
|
|
|
4483
4716
|
formatted
|
|
4484
4717
|
};
|
|
4485
4718
|
}
|
|
4486
|
-
const _hoisted_1$
|
|
4719
|
+
const _hoisted_1$5 = ["for"];
|
|
4487
4720
|
const _hoisted_2$3 = { class: "vv-input-text__wrapper" };
|
|
4488
4721
|
const _hoisted_3$1 = {
|
|
4489
4722
|
key: 0,
|
|
@@ -4506,7 +4739,7 @@ const _hoisted_8 = {
|
|
|
4506
4739
|
const __default__$4 = {
|
|
4507
4740
|
name: "VvInputText"
|
|
4508
4741
|
};
|
|
4509
|
-
const _sfc_main$
|
|
4742
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
4510
4743
|
...__default__$4,
|
|
4511
4744
|
props: VvInputTextProps,
|
|
4512
4745
|
emits: VvInputTextEvents,
|
|
@@ -4758,7 +4991,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4758
4991
|
key: 0,
|
|
4759
4992
|
for: unref(hasId),
|
|
4760
4993
|
class: "vv-input-text__label"
|
|
4761
|
-
}, toDisplayString(unref(label)), 9, _hoisted_1$
|
|
4994
|
+
}, toDisplayString(unref(label)), 9, _hoisted_1$5)) : createCommentVNode("", true),
|
|
4762
4995
|
createElementVNode("div", _hoisted_2$3, [
|
|
4763
4996
|
_ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_3$1, [
|
|
4764
4997
|
renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
|
|
@@ -4769,7 +5002,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4769
5002
|
class: "vv-input-text__inner",
|
|
4770
5003
|
onClick: withModifiers(onClickInner, ["stop"])
|
|
4771
5004
|
}, [
|
|
4772
|
-
unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$
|
|
5005
|
+
unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$n, mergeProps({
|
|
4773
5006
|
key: 0,
|
|
4774
5007
|
class: "vv-input-text__icon"
|
|
4775
5008
|
}, unref(hasIcon)), null, 16)) : createCommentVNode("", true),
|
|
@@ -4790,7 +5023,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4790
5023
|
])
|
|
4791
5024
|
])) : createCommentVNode("", true)
|
|
4792
5025
|
], 8, _hoisted_4$1),
|
|
4793
|
-
unref(hasIconAfter) || unref(defaultAfterIcon) ? (openBlock(), createBlock(_sfc_main$
|
|
5026
|
+
unref(hasIconAfter) || unref(defaultAfterIcon) ? (openBlock(), createBlock(_sfc_main$n, mergeProps({
|
|
4794
5027
|
key: 1,
|
|
4795
5028
|
class: "vv-input-text__icon vv-input-text__icon-after"
|
|
4796
5029
|
}, unref(hasIconAfter) ? unref(hasIcon) : unref(defaultAfterIcon)), null, 16)) : unref(isPassword) && !_ctx.hideActions && unref(isClickable) ? (openBlock(), createBlock(unref(PasswordInputActions), {
|
|
@@ -4850,6 +5083,79 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4850
5083
|
};
|
|
4851
5084
|
}
|
|
4852
5085
|
});
|
|
5086
|
+
const VvNavProps = {
|
|
5087
|
+
...ModifiersProps,
|
|
5088
|
+
items: {
|
|
5089
|
+
type: Array,
|
|
5090
|
+
required: true,
|
|
5091
|
+
default: () => []
|
|
5092
|
+
}
|
|
5093
|
+
};
|
|
5094
|
+
const VvNavEvents = ["click"];
|
|
5095
|
+
const _hoisted_1$4 = {
|
|
5096
|
+
class: "vv-nav__menu",
|
|
5097
|
+
role: "menu",
|
|
5098
|
+
"aria-busy": "true"
|
|
5099
|
+
};
|
|
5100
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
5101
|
+
__name: "VvNav",
|
|
5102
|
+
props: VvNavProps,
|
|
5103
|
+
emits: VvNavEvents,
|
|
5104
|
+
setup(__props, { emit }) {
|
|
5105
|
+
const props = __props;
|
|
5106
|
+
const { modifiers, items } = toRefs(props);
|
|
5107
|
+
const activeItem = ref(null);
|
|
5108
|
+
const bemCssClasses = useModifiers("vv-nav", modifiers);
|
|
5109
|
+
const localItems = computed(() => {
|
|
5110
|
+
return items.value.map((item, index) => {
|
|
5111
|
+
return {
|
|
5112
|
+
...item,
|
|
5113
|
+
id: item.id || `nav-item_${index}`
|
|
5114
|
+
};
|
|
5115
|
+
});
|
|
5116
|
+
});
|
|
5117
|
+
function onClick(item) {
|
|
5118
|
+
if (!item.disabled) {
|
|
5119
|
+
emit("click", item);
|
|
5120
|
+
activeItem.value = item.id;
|
|
5121
|
+
}
|
|
5122
|
+
}
|
|
5123
|
+
return (_ctx, _cache) => {
|
|
5124
|
+
return openBlock(), createElementBlock("nav", {
|
|
5125
|
+
class: normalizeClass(unref(bemCssClasses))
|
|
5126
|
+
}, [
|
|
5127
|
+
createElementVNode("ul", _hoisted_1$4, [
|
|
5128
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(localItems), (navItem) => {
|
|
5129
|
+
return openBlock(), createElementBlock("li", {
|
|
5130
|
+
key: navItem.id,
|
|
5131
|
+
class: "vv-nav__item",
|
|
5132
|
+
role: "presentation"
|
|
5133
|
+
}, [
|
|
5134
|
+
createVNode(_sfc_main$o, mergeProps({
|
|
5135
|
+
disabled: navItem.disabled,
|
|
5136
|
+
to: navItem.to,
|
|
5137
|
+
href: navItem.href,
|
|
5138
|
+
tabindex: 0
|
|
5139
|
+
}, {
|
|
5140
|
+
class: [{
|
|
5141
|
+
current: unref(activeItem) == navItem.id,
|
|
5142
|
+
disabled: navItem.disabled
|
|
5143
|
+
}, "vv-nav__item-label"]
|
|
5144
|
+
}, toHandlers(navItem.on), {
|
|
5145
|
+
onClick: ($event) => onClick(navItem)
|
|
5146
|
+
}), {
|
|
5147
|
+
default: withCtx(() => [
|
|
5148
|
+
createTextVNode(toDisplayString(navItem.title), 1)
|
|
5149
|
+
]),
|
|
5150
|
+
_: 2
|
|
5151
|
+
}, 1040, ["class", "onClick"])
|
|
5152
|
+
]);
|
|
5153
|
+
}), 128))
|
|
5154
|
+
])
|
|
5155
|
+
], 2);
|
|
5156
|
+
};
|
|
5157
|
+
}
|
|
5158
|
+
});
|
|
4853
5159
|
const VvProgressProps = {
|
|
4854
5160
|
...ModifiersProps,
|
|
4855
5161
|
/**
|
|
@@ -4883,7 +5189,7 @@ const VvProgressProps = {
|
|
|
4883
5189
|
const __default__$3 = {
|
|
4884
5190
|
name: "VvProgress"
|
|
4885
5191
|
};
|
|
4886
|
-
const _sfc_main$
|
|
5192
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
4887
5193
|
...__default__$3,
|
|
4888
5194
|
props: VvProgressProps,
|
|
4889
5195
|
setup(__props) {
|
|
@@ -4939,12 +5245,12 @@ function useGroupProps(props, emit) {
|
|
|
4939
5245
|
disabled
|
|
4940
5246
|
};
|
|
4941
5247
|
}
|
|
4942
|
-
const _hoisted_1$
|
|
5248
|
+
const _hoisted_1$3 = ["for"];
|
|
4943
5249
|
const _hoisted_2$2 = ["id", "name", "disabled", "value", "tabindex", "aria-invalid", "aria-describedby", "aria-errormessage"];
|
|
4944
5250
|
const __default__$2 = {
|
|
4945
5251
|
name: "VvRadio"
|
|
4946
5252
|
};
|
|
4947
|
-
const _sfc_main$
|
|
5253
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
4948
5254
|
...__default__$2,
|
|
4949
5255
|
props: VvRadioProps,
|
|
4950
5256
|
emits: VvRadioEvents,
|
|
@@ -5060,18 +5366,18 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
5060
5366
|
key: "3"
|
|
5061
5367
|
} : void 0
|
|
5062
5368
|
]), 1032, ["id"])
|
|
5063
|
-
], 10, _hoisted_1$
|
|
5369
|
+
], 10, _hoisted_1$3);
|
|
5064
5370
|
};
|
|
5065
5371
|
}
|
|
5066
5372
|
});
|
|
5067
5373
|
const VvRadioGroupProps = CheckboxRadioGroupProps;
|
|
5068
5374
|
const VvRadioGroupEvents = ["update:modelValue", "change"];
|
|
5069
|
-
const _hoisted_1$
|
|
5375
|
+
const _hoisted_1$2 = ["textContent"];
|
|
5070
5376
|
const _hoisted_2$1 = { class: "vv-radio-group__wrapper" };
|
|
5071
5377
|
const __default__$1 = {
|
|
5072
5378
|
name: "VvRadioGroup"
|
|
5073
5379
|
};
|
|
5074
|
-
const _sfc_main$
|
|
5380
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
5075
5381
|
...__default__$1,
|
|
5076
5382
|
props: VvRadioGroupProps,
|
|
5077
5383
|
emits: VvRadioGroupEvents,
|
|
@@ -5116,10 +5422,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
5116
5422
|
_ctx.label ? (openBlock(), createElementBlock("legend", {
|
|
5117
5423
|
key: 0,
|
|
5118
5424
|
textContent: toDisplayString(_ctx.label)
|
|
5119
|
-
}, null, 8, _hoisted_1$
|
|
5425
|
+
}, null, 8, _hoisted_1$2)) : createCommentVNode("", true),
|
|
5120
5426
|
createElementVNode("div", _hoisted_2$1, [
|
|
5121
5427
|
_ctx.options.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.options, (option, index) => {
|
|
5122
|
-
return openBlock(), createBlock(_sfc_main$
|
|
5428
|
+
return openBlock(), createBlock(_sfc_main$4, mergeProps({ key: index }, getOptionProps(option, index)), null, 16);
|
|
5123
5429
|
}), 128)) : renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
5124
5430
|
]),
|
|
5125
5431
|
createVNode(unref(HintSlot), { class: "vv-radio-group__hint" }, createSlots({ _: 2 }, [
|
|
@@ -5156,6 +5462,61 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
5156
5462
|
};
|
|
5157
5463
|
}
|
|
5158
5464
|
});
|
|
5465
|
+
const VvTabProps = {
|
|
5466
|
+
...ModifiersProps,
|
|
5467
|
+
items: {
|
|
5468
|
+
type: Array,
|
|
5469
|
+
required: true,
|
|
5470
|
+
default: () => []
|
|
5471
|
+
}
|
|
5472
|
+
};
|
|
5473
|
+
const VvTabEvents = ["click"];
|
|
5474
|
+
const _hoisted_1$1 = ["id"];
|
|
5475
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
5476
|
+
__name: "VvTab",
|
|
5477
|
+
props: VvTabProps,
|
|
5478
|
+
emits: VvTabEvents,
|
|
5479
|
+
setup(__props, { emit }) {
|
|
5480
|
+
const props = __props;
|
|
5481
|
+
const { modifiers, items } = toRefs(props);
|
|
5482
|
+
const activeTab = ref(null);
|
|
5483
|
+
const bemCssClasses = useModifiers("vv-tab", modifiers);
|
|
5484
|
+
const localItems = computed(() => {
|
|
5485
|
+
return items.value.map((item, index) => {
|
|
5486
|
+
return {
|
|
5487
|
+
...item,
|
|
5488
|
+
id: item.id || `tab-item_${index}`
|
|
5489
|
+
};
|
|
5490
|
+
});
|
|
5491
|
+
});
|
|
5492
|
+
function onClick(item) {
|
|
5493
|
+
if (!item.disabled) {
|
|
5494
|
+
emit("click", item);
|
|
5495
|
+
activeTab.value = item.id;
|
|
5496
|
+
}
|
|
5497
|
+
}
|
|
5498
|
+
return (_ctx, _cache) => {
|
|
5499
|
+
return openBlock(), createElementBlock("div", {
|
|
5500
|
+
class: normalizeClass(unref(bemCssClasses))
|
|
5501
|
+
}, [
|
|
5502
|
+
createVNode(_sfc_main$6, {
|
|
5503
|
+
items: unref(localItems),
|
|
5504
|
+
modifiers: "tabs full",
|
|
5505
|
+
onClick
|
|
5506
|
+
}, null, 8, ["items"]),
|
|
5507
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(localItems), (item) => {
|
|
5508
|
+
return openBlock(), createElementBlock("article", {
|
|
5509
|
+
id: item.id,
|
|
5510
|
+
key: item.id,
|
|
5511
|
+
class: normalizeClass([{ target: unref(activeTab) === item.id }, "vv-tab__panel"])
|
|
5512
|
+
}, [
|
|
5513
|
+
renderSlot(_ctx.$slots, `${item.id}`)
|
|
5514
|
+
], 10, _hoisted_1$1);
|
|
5515
|
+
}), 128))
|
|
5516
|
+
], 2);
|
|
5517
|
+
};
|
|
5518
|
+
}
|
|
5519
|
+
});
|
|
5159
5520
|
const WRAP = {
|
|
5160
5521
|
hard: "hard",
|
|
5161
5522
|
soft: "soft"
|
|
@@ -5217,7 +5578,7 @@ const _hoisted_7 = {
|
|
|
5217
5578
|
const __default__ = {
|
|
5218
5579
|
name: "VvTextarea"
|
|
5219
5580
|
};
|
|
5220
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5581
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
5221
5582
|
...__default__,
|
|
5222
5583
|
props: VvTextareaProps,
|
|
5223
5584
|
emits: VvTextareaEvents,
|
|
@@ -5342,7 +5703,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
5342
5703
|
renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
|
|
5343
5704
|
])) : createCommentVNode("", true),
|
|
5344
5705
|
createElementVNode("div", _hoisted_4, [
|
|
5345
|
-
unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$
|
|
5706
|
+
unref(hasIconBefore) ? (openBlock(), createBlock(_sfc_main$n, mergeProps({
|
|
5346
5707
|
key: 0,
|
|
5347
5708
|
class: "vv-textarea__icon"
|
|
5348
5709
|
}, unref(hasIcon)), null, 16)) : createCommentVNode("", true),
|
|
@@ -5356,7 +5717,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
5356
5717
|
}), null, 16, _hoisted_5), [
|
|
5357
5718
|
[vModelText, unref(localModelValue)]
|
|
5358
5719
|
]),
|
|
5359
|
-
unref(hasIconAfter) ? (openBlock(), createBlock(_sfc_main$
|
|
5720
|
+
unref(hasIconAfter) ? (openBlock(), createBlock(_sfc_main$n, mergeProps({
|
|
5360
5721
|
key: 1,
|
|
5361
5722
|
class: "vv-textarea__icon vv-textarea__icon-after"
|
|
5362
5723
|
}, unref(hasIcon)), null, 16)) : createCommentVNode("", true)
|
|
@@ -5407,24 +5768,69 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
5407
5768
|
};
|
|
5408
5769
|
}
|
|
5409
5770
|
});
|
|
5771
|
+
const VvTooltipProps = {
|
|
5772
|
+
...ModifiersProps,
|
|
5773
|
+
/**
|
|
5774
|
+
* Define the tooltip position
|
|
5775
|
+
* @default Side.bottom
|
|
5776
|
+
*/
|
|
5777
|
+
position: {
|
|
5778
|
+
type: String,
|
|
5779
|
+
default: Side.bottom
|
|
5780
|
+
},
|
|
5781
|
+
value: {
|
|
5782
|
+
type: String
|
|
5783
|
+
}
|
|
5784
|
+
};
|
|
5785
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5786
|
+
__name: "VvTooltip",
|
|
5787
|
+
props: VvTooltipProps,
|
|
5788
|
+
setup(__props) {
|
|
5789
|
+
const props = __props;
|
|
5790
|
+
const { modifiers } = toRefs(props);
|
|
5791
|
+
const bemCssClasses = useModifiers(
|
|
5792
|
+
"vv-tooltip",
|
|
5793
|
+
modifiers,
|
|
5794
|
+
computed(() => ({
|
|
5795
|
+
[props.position]: true
|
|
5796
|
+
}))
|
|
5797
|
+
);
|
|
5798
|
+
return (_ctx, _cache) => {
|
|
5799
|
+
return openBlock(), createElementBlock("span", {
|
|
5800
|
+
class: normalizeClass(unref(bemCssClasses)),
|
|
5801
|
+
role: "tooltip",
|
|
5802
|
+
inert: ""
|
|
5803
|
+
}, [
|
|
5804
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
5805
|
+
createTextVNode(toDisplayString(_ctx.value), 1)
|
|
5806
|
+
])
|
|
5807
|
+
], 2);
|
|
5808
|
+
};
|
|
5809
|
+
}
|
|
5810
|
+
});
|
|
5410
5811
|
export {
|
|
5411
|
-
_sfc_main$
|
|
5412
|
-
_sfc_main$
|
|
5413
|
-
_sfc_main$
|
|
5414
|
-
_sfc_main$
|
|
5415
|
-
_sfc_main$
|
|
5416
|
-
_sfc_main$
|
|
5417
|
-
_sfc_main$
|
|
5418
|
-
_sfc_main$
|
|
5419
|
-
_sfc_main$
|
|
5420
|
-
_sfc_main$
|
|
5421
|
-
_sfc_main$
|
|
5422
|
-
_sfc_main$
|
|
5423
|
-
_sfc_main$
|
|
5424
|
-
_sfc_main$
|
|
5425
|
-
_sfc_main$
|
|
5426
|
-
_sfc_main$
|
|
5427
|
-
_sfc_main$
|
|
5428
|
-
_sfc_main$
|
|
5429
|
-
_sfc_main as
|
|
5812
|
+
_sfc_main$q as VvAccordion,
|
|
5813
|
+
_sfc_main$p as VvAccordionGroup,
|
|
5814
|
+
_sfc_main$o as VvAction,
|
|
5815
|
+
_sfc_main$m as VvAlert,
|
|
5816
|
+
_sfc_main$l as VvBadge,
|
|
5817
|
+
_sfc_main$k as VvBreadcrumb,
|
|
5818
|
+
_sfc_main$j as VvButton,
|
|
5819
|
+
_sfc_main$i as VvButtonGroup,
|
|
5820
|
+
_sfc_main$h as VvCard,
|
|
5821
|
+
_sfc_main$g as VvCheckbox,
|
|
5822
|
+
_sfc_main$f as VvCheckboxGroup,
|
|
5823
|
+
_sfc_main$9 as VvCombobox,
|
|
5824
|
+
_sfc_main$8 as VvDialog,
|
|
5825
|
+
_sfc_main$e as VvDropdown,
|
|
5826
|
+
_sfc_main$n as VvIcon,
|
|
5827
|
+
_sfc_main$7 as VvInputText,
|
|
5828
|
+
_sfc_main$6 as VvNav,
|
|
5829
|
+
_sfc_main$5 as VvProgress,
|
|
5830
|
+
_sfc_main$4 as VvRadio,
|
|
5831
|
+
_sfc_main$3 as VvRadioGroup,
|
|
5832
|
+
_sfc_main$a as VvSelect,
|
|
5833
|
+
_sfc_main$2 as VvTab,
|
|
5834
|
+
_sfc_main$1 as VvTextarea,
|
|
5835
|
+
_sfc_main as VvTooltip
|
|
5430
5836
|
};
|