@volverjs/ui-vue 0.0.10-beta.41 → 0.0.10-beta.43
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/VvAccordionGroup/VvAccordionGroup.vue.d.ts +12 -12
- package/dist/components/VvAccordionGroup/index.d.ts +4 -4
- package/dist/components/VvAction/VvAction.vue.d.ts +2 -2
- package/dist/components/VvAction/index.d.ts +1 -1
- package/dist/components/VvAlert/VvAlert.vue.d.ts +6 -6
- package/dist/components/VvAlert/index.d.ts +4 -3
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +9 -9
- package/dist/components/VvAlertGroup/index.d.ts +4 -4
- package/dist/components/VvAvatarGroup/VvAvatarGroup.vue.d.ts +4 -4
- package/dist/components/VvAvatarGroup/index.d.ts +2 -2
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +13 -13
- package/dist/components/VvBreadcrumb/index.d.ts +1 -1
- package/dist/components/VvButton/VvButton.vue.d.ts +4 -4
- package/dist/components/VvButton/index.d.ts +2 -2
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +4 -4
- package/dist/components/VvButtonGroup/index.d.ts +2 -2
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +3 -3
- package/dist/components/VvCheckboxGroup/index.d.ts +1 -1
- package/dist/components/VvCombobox/VvCombobox.es.js +4 -1
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +438 -559
- package/dist/components/VvCombobox/index.d.ts +21 -241
- package/dist/components/VvDialog/VvDialog.es.js +41 -165
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDialog/VvDialog.vue.d.ts +9 -0
- package/dist/components/VvDialog/index.d.ts +7 -0
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +33 -268
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +8 -6
- package/dist/components/VvDropdown/index.d.ts +9 -117
- package/dist/components/VvIcon/VvIcon.vue.d.ts +1 -1
- package/dist/components/VvInputFile/VvInputFile.vue.d.ts +22 -105
- package/dist/components/VvInputFile/index.d.ts +7 -28
- package/dist/components/VvInputText/VvInputClearAction.d.ts +2 -2
- package/dist/components/VvInputText/VvInputPasswordAction.d.ts +4 -4
- package/dist/components/VvInputText/VvInputText.vue.d.ts +4 -4
- package/dist/components/VvInputText/index.d.ts +4 -9
- package/dist/components/VvNav/VvNav.vue.d.ts +9 -9
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +3 -3
- package/dist/components/VvRadioGroup/index.d.ts +1 -1
- package/dist/components/VvSelect/VvSelect.vue.d.ts +174 -184
- package/dist/components/VvSelect/index.d.ts +4 -4
- package/dist/components/VvTab/VvTab.vue.d.ts +13 -13
- package/dist/components/VvTab/index.d.ts +2 -2
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +2 -2
- package/dist/components/VvTextarea/index.d.ts +1 -1
- package/dist/components/VvTooltip/VvTooltip.vue.d.ts +2 -2
- package/dist/components/VvTooltip/index.d.ts +1 -1
- package/dist/components/index.es.js +27 -26
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/alert/useAlert.d.ts +47 -77
- package/dist/composables/index.es.js +1 -2
- package/dist/composables/useBlurhash.d.ts +1 -1
- package/dist/composables/useOptions.d.ts +3 -3
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/index.es.js +1 -4
- package/dist/index.umd.js +1 -1
- package/dist/props/index.d.ts +14 -121
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +283 -347
- package/dist/test/expect.d.ts +0 -1
- package/dist/types/input-file.d.ts +2 -9
- package/dist/utils/ObjectUtilities.d.ts +1 -1
- package/package.json +29 -30
- package/src/Volver.ts +6 -6
- 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/VvButtonGroup/index.ts +1 -1
- package/src/components/VvCombobox/VvCombobox.vue +4 -1
- package/src/components/VvCombobox/index.ts +6 -6
- package/src/components/VvDialog/VvDialog.vue +3 -5
- package/src/components/VvDialog/index.ts +4 -0
- package/src/components/VvInputText/VvInputText.vue +18 -18
- package/src/components/common/HintSlot.ts +2 -2
- package/src/composables/group/useInjectedGroupState.ts +3 -3
- package/src/composables/group/useProvideGroupState.ts +3 -3
- package/src/composables/useDefaults.ts +4 -4
- package/src/props/index.ts +1 -1
- package/src/types/group.ts +1 -1
- package/src/types/input-file.ts +10 -18
|
@@ -1679,7 +1679,7 @@ const _hoisted_1$l = {
|
|
|
1679
1679
|
};
|
|
1680
1680
|
const _hoisted_2$e = ["id"];
|
|
1681
1681
|
const _hoisted_3$7 = ["aria-label"];
|
|
1682
|
-
const _hoisted_4$
|
|
1682
|
+
const _hoisted_4$6 = /* @__PURE__ */ createElementVNode(
|
|
1683
1683
|
"div",
|
|
1684
1684
|
{ class: "vv-alert__close-mask" },
|
|
1685
1685
|
null,
|
|
@@ -1687,7 +1687,7 @@ const _hoisted_4$5 = /* @__PURE__ */ createElementVNode(
|
|
|
1687
1687
|
/* HOISTED */
|
|
1688
1688
|
);
|
|
1689
1689
|
const _hoisted_5$5 = [
|
|
1690
|
-
_hoisted_4$
|
|
1690
|
+
_hoisted_4$6
|
|
1691
1691
|
];
|
|
1692
1692
|
const _hoisted_6$5 = {
|
|
1693
1693
|
key: 1,
|
|
@@ -4071,7 +4071,7 @@ const _hoisted_3$5 = {
|
|
|
4071
4071
|
key: 0,
|
|
4072
4072
|
class: "vv-select__input-before"
|
|
4073
4073
|
};
|
|
4074
|
-
const _hoisted_4$
|
|
4074
|
+
const _hoisted_4$5 = { class: "vv-select__inner" };
|
|
4075
4075
|
const _hoisted_5$4 = ["id"];
|
|
4076
4076
|
const _hoisted_6$4 = ["disabled", "hidden"];
|
|
4077
4077
|
const _hoisted_7$4 = ["disabled", "value"];
|
|
@@ -4236,7 +4236,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
4236
4236
|
_ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_3$5, [
|
|
4237
4237
|
renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
|
|
4238
4238
|
])) : createCommentVNode("v-if", true),
|
|
4239
|
-
createElementVNode("div", _hoisted_4$
|
|
4239
|
+
createElementVNode("div", _hoisted_4$5, [
|
|
4240
4240
|
unref(hasIconBefore) ? (openBlock(), createBlock(
|
|
4241
4241
|
_sfc_main$u,
|
|
4242
4242
|
mergeProps({ key: 0 }, unref(hasIconBefore), { class: "vv-select__icon" }),
|
|
@@ -4531,7 +4531,7 @@ function useVvComboboxProps() {
|
|
|
4531
4531
|
const _hoisted_1$8 = ["id"];
|
|
4532
4532
|
const _hoisted_2$6 = ["id", "for"];
|
|
4533
4533
|
const _hoisted_3$4 = ["id", "aria-controls", "placeholder"];
|
|
4534
|
-
const _hoisted_4$
|
|
4534
|
+
const _hoisted_4$4 = {
|
|
4535
4535
|
key: 0,
|
|
4536
4536
|
class: "vv-select__input-before"
|
|
4537
4537
|
};
|
|
@@ -4673,7 +4673,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
4673
4673
|
return props.modelValue !== void 0 && props.modelValue !== null ? /* @__PURE__ */ new Set([props.modelValue]) : /* @__PURE__ */ new Set();
|
|
4674
4674
|
},
|
|
4675
4675
|
set: (value) => {
|
|
4676
|
-
emit("update:modelValue", props.multiple ? [...value] : [...value].pop());
|
|
4676
|
+
emit("update:modelValue", props.multiple || Array.isArray(props.modelValue) ? [...value] : [...value].pop());
|
|
4677
4677
|
}
|
|
4678
4678
|
});
|
|
4679
4679
|
const sizeOfModelValue = computed(() => localModelValue.value.size);
|
|
@@ -4779,6 +4779,9 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
4779
4779
|
if (isSelected && isUnselectable.value) {
|
|
4780
4780
|
localModelValue.value.delete(getOptionValue(option));
|
|
4781
4781
|
} else if (!isSelected && isSelectable.value) {
|
|
4782
|
+
if (!props.multiple) {
|
|
4783
|
+
localModelValue.value.clear();
|
|
4784
|
+
}
|
|
4782
4785
|
localModelValue.value.add(getOptionValue(option));
|
|
4783
4786
|
}
|
|
4784
4787
|
localModelValue.value = new Set(localModelValue.value);
|
|
@@ -4886,7 +4889,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
4886
4889
|
onAfterCollapse
|
|
4887
4890
|
}), createSlots({
|
|
4888
4891
|
default: withCtx(({ aria }) => [
|
|
4889
|
-
_ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
4892
|
+
_ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
|
|
4890
4893
|
renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
|
|
4891
4894
|
])) : createCommentVNode("v-if", true),
|
|
4892
4895
|
createElementVNode("div", _hoisted_5$3, [
|
|
@@ -5247,14 +5250,19 @@ const VvDialogProps = {
|
|
|
5247
5250
|
/**
|
|
5248
5251
|
* Keep open dialog on click outside
|
|
5249
5252
|
*/
|
|
5250
|
-
keepOpen: { type: Boolean, default: false }
|
|
5253
|
+
keepOpen: { type: Boolean, default: false },
|
|
5254
|
+
/**
|
|
5255
|
+
* Close button label
|
|
5256
|
+
*/
|
|
5257
|
+
labelClose: { type: String, default: "Close" }
|
|
5251
5258
|
};
|
|
5252
5259
|
const _hoisted_1$7 = {
|
|
5253
5260
|
key: 0,
|
|
5254
5261
|
class: "vv-dialog__header"
|
|
5255
5262
|
};
|
|
5256
|
-
const _hoisted_2$5 =
|
|
5257
|
-
const _hoisted_3$3 = {
|
|
5263
|
+
const _hoisted_2$5 = ["aria-label", "title"];
|
|
5264
|
+
const _hoisted_3$3 = { class: "vv-dialog__content" };
|
|
5265
|
+
const _hoisted_4$3 = {
|
|
5258
5266
|
key: 1,
|
|
5259
5267
|
class: "vv-dialog__footer"
|
|
5260
5268
|
};
|
|
@@ -5381,26 +5389,19 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
5381
5389
|
1
|
|
5382
5390
|
/* TEXT */
|
|
5383
5391
|
),
|
|
5384
|
-
createElementVNode(
|
|
5385
|
-
"button",
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
},
|
|
5392
|
-
[
|
|
5393
|
-
createVNode(_sfc_main$u, { name: "close" })
|
|
5394
|
-
],
|
|
5395
|
-
32
|
|
5396
|
-
/* NEED_HYDRATION */
|
|
5397
|
-
)
|
|
5392
|
+
createElementVNode("button", {
|
|
5393
|
+
type: "button",
|
|
5394
|
+
"aria-label": _ctx.labelClose,
|
|
5395
|
+
title: _ctx.labelClose,
|
|
5396
|
+
class: "vv-dialog__close",
|
|
5397
|
+
onClickPassive: close
|
|
5398
|
+
}, null, 40, _hoisted_2$5)
|
|
5398
5399
|
])
|
|
5399
5400
|
])) : createCommentVNode("v-if", true),
|
|
5400
|
-
createElementVNode("div",
|
|
5401
|
+
createElementVNode("div", _hoisted_3$3, [
|
|
5401
5402
|
renderSlot(_ctx.$slots, "default")
|
|
5402
5403
|
]),
|
|
5403
|
-
_ctx.$slots.footer ? (openBlock(), createElementBlock("footer",
|
|
5404
|
+
_ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_4$3, [
|
|
5404
5405
|
renderSlot(_ctx.$slots, "footer")
|
|
5405
5406
|
])) : createCommentVNode("v-if", true)
|
|
5406
5407
|
],
|