@volverjs/ui-vue 0.0.10-beta.64 → 0.0.10-beta.66
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/README.md +1 -2
- package/dist/components/VvAccordion/VvAccordion.vue.d.ts +1 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +1 -1
- package/dist/components/VvAction/VvAction.vue.d.ts +1 -3
- package/dist/components/VvAlert/VvAlert.es.js +1 -1
- package/dist/components/VvAlert/VvAlert.umd.js +1 -1
- package/dist/components/VvAlert/VvAlert.vue.d.ts +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +1 -1
- package/dist/components/VvAvatar/VvAvatar.vue.d.ts +1 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.vue.d.ts +1 -1
- package/dist/components/VvBadge/VvBadge.vue.d.ts +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +1 -1
- package/dist/components/VvButton/VvButton.vue.d.ts +1 -180
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +1 -1
- package/dist/components/VvCard/VvCard.vue.d.ts +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.es.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +1 -3
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +1 -1
- package/dist/components/VvCombobox/VvCombobox.es.js +6 -5
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvDialog/VvDialog.vue.d.ts +1 -4
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +1 -5
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +3 -3
- package/dist/components/VvDropdown/VvDropdownItem.vue.d.ts +1 -3
- package/dist/components/VvDropdown/VvDropdownOptgroup.vue.d.ts +1 -1
- package/dist/components/VvDropdown/VvDropdownOption.vue.d.ts +1 -1
- package/dist/components/VvInputFile/VvInputFile.es.js +1 -1
- package/dist/components/VvInputFile/VvInputFile.umd.js +1 -1
- package/dist/components/VvInputFile/VvInputFile.vue.d.ts +1 -3
- package/dist/components/VvInputText/VvInputText.es.js +12 -12
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.vue.d.ts +1 -710
- package/dist/components/VvNav/VvNav.vue.d.ts +1 -1
- package/dist/components/VvProgress/VvProgress.vue.d.ts +1 -1
- package/dist/components/VvRadio/VvRadio.es.js +1 -1
- package/dist/components/VvRadio/VvRadio.umd.js +1 -1
- package/dist/components/VvRadio/VvRadio.vue.d.ts +1 -3
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +1 -1
- package/dist/components/VvSelect/VvSelect.es.js +2 -2
- package/dist/components/VvSelect/VvSelect.umd.js +1 -1
- package/dist/components/VvTab/VvTab.vue.d.ts +1 -1
- package/dist/components/VvTextarea/VvTextarea.es.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +1 -709
- package/dist/components/VvTooltip/VvTooltip.vue.d.ts +1 -1
- package/dist/components/index.es.js +18 -17
- package/dist/components/index.umd.js +1 -1
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/resolvers/unplugin.d.ts +1 -1
- package/dist/resolvers/unplugin.es.js +4 -4
- package/dist/resolvers/unplugin.umd.js +1 -1
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +28 -28
- package/dist/stories/CheckboxGroup/CheckboxGroup.settings.d.ts +1 -1
- package/dist/stories/Radio/Radio.settings.d.ts +1 -1
- package/dist/stories/RadioGroup/RadioGroup.settings.d.ts +1 -1
- package/dist/utils/ObjectUtilities.d.ts +1 -1
- package/package.json +238 -238
|
@@ -25,7 +25,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<globalThis
|
|
|
25
25
|
}>> & Readonly<{}>, {
|
|
26
26
|
modifiers: string | string[];
|
|
27
27
|
position: "top" | "right" | "bottom" | "left";
|
|
28
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
29
29
|
default?: ((props: {}) => any) | undefined;
|
|
30
30
|
}>;
|
|
31
31
|
export default _default;
|
|
@@ -1712,7 +1712,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
1712
1712
|
"div",
|
|
1713
1713
|
normalizeProps(guardReactiveProps(unref(hasProps))),
|
|
1714
1714
|
[
|
|
1715
|
-
_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$l, [
|
|
1715
|
+
_ctx.$slots.header || _ctx.$slots.title || _ctx.$slots.close || _ctx.$slots["title::before"] || _ctx.$slots["title::after"] || _ctx.title || unref(hasIcon) || _ctx.dismissable || _ctx.autoClose ? (openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
1716
1716
|
unref(hasIcon) ? (openBlock(), createBlock(
|
|
1717
1717
|
_sfc_main$u,
|
|
1718
1718
|
mergeProps({ key: 0 }, unref(hasIcon), { class: "vv-alert__icon" }),
|
|
@@ -2408,7 +2408,7 @@ function isEmpty(value) {
|
|
|
2408
2408
|
return ((value2) => value2 === null || value2 === void 0 || value2 === "" || Array.isArray(value2) && value2.length === 0 || !(value2 instanceof Date) && typeof value2 === "object" && Object.keys(value2).length === 0)(unref(value));
|
|
2409
2409
|
}
|
|
2410
2410
|
function isString(value) {
|
|
2411
|
-
return typeof value === "string"
|
|
2411
|
+
return typeof value === "string";
|
|
2412
2412
|
}
|
|
2413
2413
|
const _hoisted_1$h = {
|
|
2414
2414
|
key: 1,
|
|
@@ -4349,7 +4349,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
4349
4349
|
"icon-before": hasIconBefore.value !== void 0,
|
|
4350
4350
|
"icon-after": hasIconAfter.value !== void 0,
|
|
4351
4351
|
"dirty": isDirty.value,
|
|
4352
|
-
"focus": focused.value,
|
|
4352
|
+
"focus": focused.value && !isDisabledOrReadonly.value,
|
|
4353
4353
|
"floating": floating.value,
|
|
4354
4354
|
"multiple": multiple.value
|
|
4355
4355
|
}))
|
|
@@ -4716,7 +4716,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
4716
4716
|
"valid": valid.value,
|
|
4717
4717
|
"invalid": invalid.value,
|
|
4718
4718
|
"dirty": isDirty.value,
|
|
4719
|
-
"focus": focused.value || focusedWithin.value || expanded.value,
|
|
4719
|
+
"focus": (focused.value || focusedWithin.value || expanded.value) && !isDisabledOrReadonly.value,
|
|
4720
4720
|
"floating": floating.value,
|
|
4721
4721
|
"badges": props.badges
|
|
4722
4722
|
}))
|
|
@@ -4791,9 +4791,10 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
4791
4791
|
});
|
|
4792
4792
|
} else if (!isSelected && isSelectable.value) {
|
|
4793
4793
|
if (!props.multiple) {
|
|
4794
|
-
localModelValue.value = [];
|
|
4794
|
+
localModelValue.value = [optionValue];
|
|
4795
|
+
} else {
|
|
4796
|
+
localModelValue.value = [...localModelValue.value, optionValue];
|
|
4795
4797
|
}
|
|
4796
|
-
localModelValue.value = [...localModelValue.value, optionValue];
|
|
4797
4798
|
}
|
|
4798
4799
|
if (!props.multiple && !props.keepOpen) {
|
|
4799
4800
|
collapse();
|
|
@@ -6874,7 +6875,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
6874
6875
|
);
|
|
6875
6876
|
const isNumber = computed(() => props.type === INPUT_TYPES.NUMBER);
|
|
6876
6877
|
function onStepUp() {
|
|
6877
|
-
if (
|
|
6878
|
+
if (!isDisabledOrReadonly.value) {
|
|
6878
6879
|
if (props.iMask) {
|
|
6879
6880
|
typed.value = Number(typed.value) + Number((step == null ? void 0 : step.value) ?? 1);
|
|
6880
6881
|
return;
|
|
@@ -6884,7 +6885,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
6884
6885
|
}
|
|
6885
6886
|
}
|
|
6886
6887
|
function onStepDown() {
|
|
6887
|
-
if (
|
|
6888
|
+
if (!isDisabledOrReadonly.value) {
|
|
6888
6889
|
if (props.iMask) {
|
|
6889
6890
|
typed.value = Number(typed.value) - Number((step == null ? void 0 : step.value) ?? 1);
|
|
6890
6891
|
return;
|
|
@@ -6922,10 +6923,10 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
6922
6923
|
upperLimit: Number(maxlength == null ? void 0 : maxlength.value),
|
|
6923
6924
|
lowerLimit: Number(minlength == null ? void 0 : minlength.value)
|
|
6924
6925
|
});
|
|
6925
|
-
const
|
|
6926
|
-
const hasTabindex = computed(
|
|
6927
|
-
|
|
6928
|
-
);
|
|
6926
|
+
const isDisabledOrReadonly = computed(() => props.disabled || props.readonly);
|
|
6927
|
+
const hasTabindex = computed(() => {
|
|
6928
|
+
return isDisabledOrReadonly.value ? -1 : props.tabindex;
|
|
6929
|
+
});
|
|
6929
6930
|
const isDirty = computed(() => !isEmpty(modelValue));
|
|
6930
6931
|
const isInvalid = computed(() => {
|
|
6931
6932
|
if (invalid.value === true) {
|
|
@@ -6976,7 +6977,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
6976
6977
|
"icon-after": !!iconAfter.value,
|
|
6977
6978
|
"floating": props.floating && !isEmpty(props.label),
|
|
6978
6979
|
"dirty": isDirty.value,
|
|
6979
|
-
"focus": isFocused.value,
|
|
6980
|
+
"focus": isFocused.value && !isDisabledOrReadonly.value,
|
|
6980
6981
|
"auto-width": props.autoWidth
|
|
6981
6982
|
}))
|
|
6982
6983
|
);
|
|
@@ -7055,7 +7056,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
7055
7056
|
props
|
|
7056
7057
|
);
|
|
7057
7058
|
function onClickInner() {
|
|
7058
|
-
if (
|
|
7059
|
+
if (!isDisabledOrReadonly.value) {
|
|
7059
7060
|
focused.value = true;
|
|
7060
7061
|
}
|
|
7061
7062
|
}
|
|
@@ -7152,14 +7153,14 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
7152
7153
|
null,
|
|
7153
7154
|
16
|
|
7154
7155
|
/* FULL_PROPS */
|
|
7155
|
-
)) : unref(isPassword) && !_ctx.hideActions && unref(
|
|
7156
|
+
)) : unref(isPassword) && !_ctx.hideActions && !unref(isDisabledOrReadonly) ? (openBlock(), createBlock(unref(PasswordInputActions), {
|
|
7156
7157
|
key: 2,
|
|
7157
7158
|
onTogglePassword
|
|
7158
|
-
})) : unref(isNumber) && !_ctx.hideActions && unref(
|
|
7159
|
+
})) : unref(isNumber) && !_ctx.hideActions && !unref(isDisabledOrReadonly) ? (openBlock(), createBlock(unref(NumberInputActions), {
|
|
7159
7160
|
key: 3,
|
|
7160
7161
|
onStepUp,
|
|
7161
7162
|
onStepDown
|
|
7162
|
-
})) : unref(isSearch) && !_ctx.hideActions && unref(
|
|
7163
|
+
})) : unref(isSearch) && !_ctx.hideActions && !unref(isDisabledOrReadonly) ? (openBlock(), createBlock(unref(SearchInputActions), {
|
|
7163
7164
|
key: 4,
|
|
7164
7165
|
onClear
|
|
7165
7166
|
})) : createCommentVNode("v-if", true),
|