Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More β†’
Socket
Sign inDemoInstall
Socket

vant

Package Overview
Dependencies
Maintainers
7
Versions
566
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vant - npm Package Compare versions

Comparing version 4.6.6 to 4.6.7

2

es/action-sheet/ActionSheet.d.ts

@@ -181,5 +181,5 @@ import { type ExtractPropTypes } from 'vue';

round: boolean;
safeAreaInsetBottom: boolean;
overlay: boolean;
show: boolean;
safeAreaInsetBottom: boolean;
lockScroll: boolean;

@@ -186,0 +186,0 @@ lazyRender: boolean;

@@ -115,5 +115,5 @@ export declare const ActionSheet: import("../utils").WithInstall<import("vue").DefineComponent<{

round: boolean;
safeAreaInsetBottom: boolean;
overlay: boolean;
show: boolean;
safeAreaInsetBottom: boolean;
lockScroll: boolean;

@@ -120,0 +120,0 @@ lazyRender: boolean;

@@ -28,6 +28,6 @@ import { type PropType } from 'vue';

}, {
show: boolean;
focused: boolean;
show: boolean;
showSearchResult: boolean;
}, {}>;
export default _default;

@@ -55,3 +55,3 @@ import { type ExtractPropTypes } from 'vue';

};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:modelValue" | "add" | "edit" | "clickItem" | "editDisabled" | "selectDisabled")[], "select" | "update:modelValue" | "add" | "edit" | "clickItem" | "editDisabled" | "selectDisabled", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "add" | "update:modelValue" | "edit" | "clickItem" | "editDisabled" | "selectDisabled")[], "select" | "add" | "update:modelValue" | "edit" | "clickItem" | "editDisabled" | "selectDisabled", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
list: {

@@ -58,0 +58,0 @@ type: import("vue").PropType<AddressListAddress[]>;

@@ -26,3 +26,3 @@ export declare const AddressList: import("../utils").WithInstall<import("vue").DefineComponent<{

};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:modelValue" | "add" | "edit" | "clickItem" | "editDisabled" | "selectDisabled")[], "select" | "update:modelValue" | "add" | "edit" | "clickItem" | "editDisabled" | "selectDisabled", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "add" | "update:modelValue" | "edit" | "clickItem" | "editDisabled" | "selectDisabled")[], "select" | "add" | "update:modelValue" | "edit" | "clickItem" | "editDisabled" | "selectDisabled", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
list: {

@@ -29,0 +29,0 @@ type: import("vue").PropType<import("./AddressListItem").AddressListAddress[]>;

@@ -131,7 +131,7 @@ import { type PropType, type ExtractPropTypes } from 'vue';

disabled: boolean;
block: boolean;
size: ButtonSize;
square: boolean;
loading: boolean;
block: boolean;
plain: boolean;
square: boolean;
hairline: boolean;

@@ -138,0 +138,0 @@ nativeType: ButtonNativeType;

@@ -87,7 +87,7 @@ export declare const Button: import("../utils").WithInstall<import("vue").DefineComponent<{

disabled: boolean;
block: boolean;
size: import("./types").ButtonSize;
square: boolean;
loading: boolean;
block: boolean;
plain: boolean;
square: boolean;
hairline: boolean;

@@ -94,0 +94,0 @@ nativeType: import("./types").ButtonNativeType;

@@ -273,5 +273,5 @@ import { type PropType, type ExtractPropTypes } from 'vue';

round: boolean;
show: boolean;
readonly: boolean;
safeAreaInsetBottom: boolean;
show: boolean;
lazyRender: boolean;

@@ -278,0 +278,0 @@ closeOnClickOverlay: boolean;

@@ -183,5 +183,5 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").DefineComponent<{

round: boolean;
show: boolean;
readonly: boolean;
safeAreaInsetBottom: boolean;
show: boolean;
lazyRender: boolean;

@@ -188,0 +188,0 @@ closeOnClickOverlay: boolean;

@@ -26,5 +26,5 @@ import { type ExtractPropTypes } from 'vue';

}>>, {
inset: boolean;
border: boolean;
inset: boolean;
}, {}>;
export default _default;

@@ -16,4 +16,4 @@ export declare const CellGroup: import("../utils").WithInstall<import("vue").DefineComponent<{

}>>, {
inset: boolean;
border: boolean;
inset: boolean;
}, {}>>;

@@ -20,0 +20,0 @@ export default CellGroup;

@@ -131,4 +131,4 @@ import { type PropType, type CSSProperties, type ExtractPropTypes } from 'vue';

center: boolean;
border: boolean;
isLink: boolean;
border: boolean;
required: boolean;

@@ -135,0 +135,0 @@ clickable: boolean | null;

@@ -67,4 +67,4 @@ export declare const Cell: import("../utils").WithInstall<import("vue").DefineComponent<{

center: boolean;
border: boolean;
isLink: boolean;
border: boolean;
required: boolean;

@@ -71,0 +71,0 @@ clickable: boolean | null;

@@ -17,2 +17,6 @@ import { type PropType, type ExtractPropTypes } from 'vue';

};
indeterminate: {
type: PropType<boolean | null>;
default: null;
};
};

@@ -34,2 +38,6 @@ export type CheckboxProps = ExtractPropTypes<typeof checkboxProps>;

};
indeterminate: {
type: PropType<boolean | null>;
default: null;
};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{

@@ -49,2 +57,6 @@ name: PropType<unknown>;

};
indeterminate: {
type: PropType<boolean | null>;
default: null;
};
}>> & {

@@ -57,3 +69,4 @@ onChange?: ((...args: any[]) => any) | undefined;

bindGroup: boolean;
indeterminate: boolean | null;
}, {}>;
export default _default;

@@ -48,2 +48,6 @@ import { type PropType } from 'vue';

};
indeterminate: {
type: PropType<boolean | null>;
default: null;
};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "toggle")[], "click" | "toggle", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{

@@ -70,2 +74,6 @@ name: PropType<unknown>;

};
indeterminate: {
type: PropType<boolean | null>;
default: null;
};
}>> & {

@@ -79,3 +87,4 @@ onClick?: ((...args: any[]) => any) | undefined;

bindGroup: boolean;
indeterminate: boolean | null;
}, {}>;
export default _default;

@@ -15,2 +15,6 @@ export declare const Checkbox: import("../utils").WithInstall<import("vue").DefineComponent<{

};
indeterminate: {
type: import("vue").PropType<boolean | null>;
default: null;
};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{

@@ -30,2 +34,6 @@ name: import("vue").PropType<unknown>;

};
indeterminate: {
type: import("vue").PropType<boolean | null>;
default: null;
};
}>> & {

@@ -38,2 +46,3 @@ onChange?: ((...args: any[]) => any) | undefined;

bindGroup: boolean;
indeterminate: boolean | null;
}, {}>>;

@@ -40,0 +49,0 @@ export default Checkbox;

@@ -125,4 +125,4 @@ import { type ExtractPropTypes } from 'vue';

disabled: boolean;
border: boolean;
isLink: boolean;
border: boolean;
required: boolean;

@@ -129,0 +129,0 @@ clickable: boolean | null;

@@ -83,4 +83,4 @@ export declare const CollapseItem: import("../utils").WithInstall<import("vue").DefineComponent<{

disabled: boolean;
border: boolean;
isLink: boolean;
border: boolean;
required: boolean;

@@ -87,0 +87,0 @@ clickable: boolean | null;

import { type PropType, type InjectionKey, type ExtractPropTypes } from 'vue';
import { type Numeric } from '../utils';
export type ConfigProviderTheme = 'light' | 'dark';
export type ConfigProviderThemeVarsScope = 'local' | 'global';
export type ConfigProviderProvide = {

@@ -22,2 +23,6 @@ iconPrefix?: string;

themeVarsLight: ThemeVars;
themeVarsScope: {
type: PropType<ConfigProviderThemeVarsScope>;
default: ConfigProviderThemeVarsScope;
};
iconPrefix: StringConstructor;

@@ -39,2 +44,6 @@ };

themeVarsLight: ThemeVars;
themeVarsScope: {
type: PropType<ConfigProviderThemeVarsScope>;
default: ConfigProviderThemeVarsScope;
};
iconPrefix: StringConstructor;

@@ -54,2 +63,6 @@ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{

themeVarsLight: ThemeVars;
themeVarsScope: {
type: PropType<ConfigProviderThemeVarsScope>;
default: ConfigProviderThemeVarsScope;
};
iconPrefix: StringConstructor;

@@ -59,3 +72,4 @@ }>>, {

theme: ConfigProviderTheme;
themeVarsScope: ConfigProviderThemeVarsScope;
}, {}>;
export default _default;

@@ -14,2 +14,6 @@ export declare const ConfigProvider: import("../utils").WithInstall<import("vue").DefineComponent<{

themeVarsLight: import("./ConfigProvider").ThemeVars;
themeVarsScope: {
type: import("vue").PropType<import("./ConfigProvider").ConfigProviderThemeVarsScope>;
default: import("./ConfigProvider").ConfigProviderThemeVarsScope;
};
iconPrefix: StringConstructor;

@@ -29,2 +33,6 @@ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{

themeVarsLight: import("./ConfigProvider").ThemeVars;
themeVarsScope: {
type: import("vue").PropType<import("./ConfigProvider").ConfigProviderThemeVarsScope>;
default: import("./ConfigProvider").ConfigProviderThemeVarsScope;
};
iconPrefix: StringConstructor;

@@ -34,6 +42,7 @@ }>>, {

theme: import("./ConfigProvider").ConfigProviderTheme;
themeVarsScope: import("./ConfigProvider").ConfigProviderThemeVarsScope;
}, {}>>;
export default ConfigProvider;
export { configProviderProps } from './ConfigProvider';
export type { ConfigProviderProps, ConfigProviderTheme, } from './ConfigProvider';
export type { ConfigProviderProps, ConfigProviderTheme, ConfigProviderThemeVarsScope, } from './ConfigProvider';
export type { ConfigProviderThemeVars } from './types';

@@ -40,0 +49,0 @@ declare module 'vue' {

@@ -21,3 +21,3 @@ import { type PropType, type ExtractPropTypes } from 'vue';

defaultTagText: StringConstructor;
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:modelValue" | "add" | "edit")[], "select" | "update:modelValue" | "add" | "edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "add" | "update:modelValue" | "edit")[], "select" | "add" | "update:modelValue" | "edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
list: PropType<ContactListItem[]>;

@@ -24,0 +24,0 @@ addText: StringConstructor;

@@ -6,3 +6,3 @@ export declare const ContactList: import("../utils").WithInstall<import("vue").DefineComponent<{

defaultTagText: StringConstructor;
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:modelValue" | "add" | "edit")[], "select" | "update:modelValue" | "add" | "edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "add" | "update:modelValue" | "edit")[], "select" | "add" | "update:modelValue" | "edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
list: import("vue").PropType<import("./ContactList").ContactListItem[]>;

@@ -9,0 +9,0 @@ addText: StringConstructor;

@@ -39,7 +39,7 @@ import { type ExtractPropTypes } from 'vue';

}>>, {
dashed: boolean;
vertical: boolean;
hairline: boolean;
dashed: boolean;
contentPosition: DividerContentPosition;
}, {}>;
export default _default;

@@ -24,5 +24,5 @@ export declare const Divider: import("../utils").WithInstall<import("vue").DefineComponent<{

}>>, {
dashed: boolean;
vertical: boolean;
hairline: boolean;
dashed: boolean;
contentPosition: import("./Divider").DividerContentPosition;

@@ -29,0 +29,0 @@ }, {}>>;

@@ -347,4 +347,4 @@ import { type PropType, type ExtractPropTypes } from 'vue';

disabled: boolean;
border: boolean;
isLink: boolean;
border: boolean;
required: boolean;

@@ -351,0 +351,0 @@ clickable: boolean | null;

@@ -203,4 +203,4 @@ import { FieldProps } from './Field';

disabled: boolean;
border: boolean;
isLink: boolean;
border: boolean;
required: boolean;

@@ -207,0 +207,0 @@ clickable: boolean | null;

@@ -70,6 +70,6 @@ import { type PropType, type InjectionKey, type ExtractPropTypes } from 'vue';

border: boolean;
square: boolean;
clickable: boolean;
square: boolean;
columnNum: string | number;
}, {}>;
export default _default;

@@ -43,4 +43,4 @@ export declare const Grid: import("../utils").WithInstall<import("vue").DefineComponent<{

border: boolean;
square: boolean;
clickable: boolean;
square: boolean;
columnNum: string | number;

@@ -47,0 +47,0 @@ }, {}>>;

@@ -98,4 +98,4 @@ import { type PropType, type ExtractPropTypes } from 'vue';

round: boolean;
block: boolean;
showError: boolean;
block: boolean;
lazyLoad: boolean;

@@ -102,0 +102,0 @@ errorIcon: string;

@@ -64,4 +64,4 @@ export declare const Image: import("../utils").WithInstall<import("vue").DefineComponent<{

round: boolean;
block: boolean;
showError: boolean;
block: boolean;
lazyLoad: boolean;

@@ -68,0 +68,0 @@ errorIcon: string;

@@ -108,2 +108,2 @@ export * from "./action-bar";

export function install(app: any): void;
export const version: "4.6.6";
export const version: "4.6.7";

@@ -46,3 +46,3 @@ export declare const NumberKeyboard: import("../utils").WithInstall<import("vue").DefineComponent<{

};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur" | "update:modelValue" | "close" | "hide" | "show" | "delete")[], "input" | "blur" | "update:modelValue" | "close" | "hide" | "show" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "hide" | "show" | "blur" | "update:modelValue" | "close" | "delete")[], "input" | "hide" | "show" | "blur" | "update:modelValue" | "close" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
show: BooleanConstructor;

@@ -102,6 +102,6 @@ title: StringConstructor;

theme: import("./NumberKeyboard").NumberKeyboardTheme;
show: boolean;
maxlength: string | number;
modelValue: string;
safeAreaInsetBottom: boolean;
show: boolean;
transition: boolean;

@@ -108,0 +108,0 @@ blurOnClose: boolean;

@@ -95,3 +95,3 @@ import { type PropType, type ExtractPropTypes } from 'vue';

};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur" | "update:modelValue" | "close" | "hide" | "show" | "delete")[], "input" | "blur" | "update:modelValue" | "close" | "hide" | "show" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "hide" | "show" | "blur" | "update:modelValue" | "close" | "delete")[], "input" | "hide" | "show" | "blur" | "update:modelValue" | "close" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
show: BooleanConstructor;

@@ -151,6 +151,6 @@ title: StringConstructor;

theme: NumberKeyboardTheme;
show: boolean;
maxlength: string | number;
modelValue: string;
safeAreaInsetBottom: boolean;
show: boolean;
transition: boolean;

@@ -157,0 +157,0 @@ blurOnClose: boolean;

@@ -103,5 +103,5 @@ export declare const Popup: import("../utils").WithInstall<import("vue").DefineComponent<{

round: boolean;
safeAreaInsetBottom: boolean;
overlay: boolean;
show: boolean;
safeAreaInsetBottom: boolean;
lockScroll: boolean;

@@ -108,0 +108,0 @@ lazyRender: boolean;

@@ -152,5 +152,5 @@ import { type CSSProperties, type ExtractPropTypes } from 'vue';

round: boolean;
safeAreaInsetBottom: boolean;
overlay: boolean;
show: boolean;
safeAreaInsetBottom: boolean;
lockScroll: boolean;

@@ -157,0 +157,0 @@ lazyRender: boolean;

@@ -97,5 +97,5 @@ export declare const ShareSheet: import("../utils").WithInstall<import("vue").DefineComponent<{

round: boolean;
safeAreaInsetBottom: boolean;
overlay: boolean;
show: boolean;
safeAreaInsetBottom: boolean;
lockScroll: boolean;

@@ -102,0 +102,0 @@ lazyRender: boolean;

@@ -152,5 +152,5 @@ import { type ExtractPropTypes } from 'vue';

round: boolean;
safeAreaInsetBottom: boolean;
overlay: boolean;
show: boolean;
safeAreaInsetBottom: boolean;
lockScroll: boolean;

@@ -157,0 +157,0 @@ lazyRender: boolean;

@@ -21,3 +21,3 @@ export declare const Signature: import("../utils").WithInstall<import("vue").DefineComponent<{

confirmButtonText: StringConstructor;
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "start" | "clear" | "end" | "signing")[], "submit" | "start" | "clear" | "end" | "signing", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "start" | "end" | "clear" | "signing")[], "submit" | "start" | "end" | "clear" | "signing", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
tips: StringConstructor;

@@ -24,0 +24,0 @@ type: {

@@ -44,3 +44,3 @@ import { type ExtractPropTypes } from 'vue';

confirmButtonText: StringConstructor;
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "start" | "clear" | "end" | "signing")[], "submit" | "start" | "clear" | "end" | "signing", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "start" | "end" | "clear" | "signing")[], "submit" | "start" | "end" | "clear" | "signing", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
tips: StringConstructor;

@@ -47,0 +47,0 @@ type: {

@@ -59,4 +59,4 @@ export declare const Skeleton: import("../utils").WithInstall<import("vue").DefineComponent<{

round: boolean;
row: string | number;
loading: boolean;
row: string | number;
avatarShape: import("..").SkeletonAvatarShape;

@@ -63,0 +63,0 @@ rowWidth: import("../utils").Numeric | import("../utils").Numeric[];

@@ -90,4 +90,4 @@ import { type PropType, type ExtractPropTypes } from 'vue';

round: boolean;
row: string | number;
loading: boolean;
row: string | number;
avatarShape: SkeletonAvatarShape;

@@ -94,0 +94,0 @@ rowWidth: Numeric | Numeric[];

@@ -63,5 +63,5 @@ export declare const Slider: import("../utils").WithInstall<import("vue").DefineComponent<{

disabled: boolean;
vertical: boolean;
modelValue: number | [number, number];
readonly: boolean;
vertical: boolean;
min: string | number;

@@ -68,0 +68,0 @@ step: string | number;

@@ -94,5 +94,5 @@ import { type PropType, type ExtractPropTypes } from 'vue';

disabled: boolean;
vertical: boolean;
modelValue: SliderValue;
readonly: boolean;
vertical: boolean;
min: string | number;

@@ -99,0 +99,0 @@ step: string | number;

export declare const Space: import("../utils").WithInstall<import("vue").DefineComponent<{
align: import("vue").PropType<import("./Space").SpaceAlign>;
direction: {
type: import("vue").PropType<"vertical" | "horizontal">;
type: import("vue").PropType<"horizontal" | "vertical">;
default: string;

@@ -16,3 +16,3 @@ };

direction: {
type: import("vue").PropType<"vertical" | "horizontal">;
type: import("vue").PropType<"horizontal" | "vertical">;
default: string;

@@ -30,3 +30,3 @@ };

wrap: boolean;
direction: "vertical" | "horizontal";
direction: "horizontal" | "vertical";
}, {}>>;

@@ -33,0 +33,0 @@ export default Space;

@@ -7,3 +7,3 @@ import { ExtractPropTypes, PropType } from 'vue';

direction: {
type: PropType<"vertical" | "horizontal">;
type: PropType<"horizontal" | "vertical">;
default: string;

@@ -22,3 +22,3 @@ };

direction: {
type: PropType<"vertical" | "horizontal">;
type: PropType<"horizontal" | "vertical">;
default: string;

@@ -35,3 +35,3 @@ };

direction: {
type: PropType<"vertical" | "horizontal">;
type: PropType<"horizontal" | "vertical">;
default: string;

@@ -49,4 +49,4 @@ };

wrap: boolean;
direction: "vertical" | "horizontal";
direction: "horizontal" | "vertical";
}, {}>;
export default _default;

@@ -55,3 +55,3 @@ export declare const Stepper: import("../utils").WithInstall<import("vue").DefineComponent<{

decimalLength: (NumberConstructor | StringConstructor)[];
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update:modelValue" | "change" | "plus" | "minus" | "overlimit")[], "focus" | "blur" | "update:modelValue" | "change" | "plus" | "minus" | "overlimit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update:modelValue" | "change" | "minus" | "plus" | "overlimit")[], "focus" | "blur" | "update:modelValue" | "change" | "minus" | "plus" | "overlimit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
min: {

@@ -115,4 +115,4 @@ type: (NumberConstructor | StringConstructor)[];

"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onMinus?: ((...args: any[]) => any) | undefined;
onPlus?: ((...args: any[]) => any) | undefined;
onMinus?: ((...args: any[]) => any) | undefined;
onOverlimit?: ((...args: any[]) => any) | undefined;

@@ -119,0 +119,0 @@ }, {

@@ -114,3 +114,3 @@ import { type PropType, type ExtractPropTypes } from 'vue';

decimalLength: (NumberConstructor | StringConstructor)[];
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update:modelValue" | "change" | "plus" | "minus" | "overlimit")[], "focus" | "blur" | "update:modelValue" | "change" | "plus" | "minus" | "overlimit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update:modelValue" | "change" | "minus" | "plus" | "overlimit")[], "focus" | "blur" | "update:modelValue" | "change" | "minus" | "plus" | "overlimit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
min: {

@@ -174,4 +174,4 @@ type: (NumberConstructor | StringConstructor)[];

"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onMinus?: ((...args: any[]) => any) | undefined;
onPlus?: ((...args: any[]) => any) | undefined;
onMinus?: ((...args: any[]) => any) | undefined;
onOverlimit?: ((...args: any[]) => any) | undefined;

@@ -178,0 +178,0 @@ }, {

@@ -94,5 +94,5 @@ import { TabsProps } from './Tabs';

type: import("./types").TabsType;
border: boolean;
ellipsis: boolean;
sticky: boolean;
border: boolean;
active: string | number;

@@ -99,0 +99,0 @@ duration: string | number;

@@ -141,5 +141,5 @@ import { type PropType, type InjectionKey, type ExtractPropTypes } from 'vue';

type: TabsType;
border: boolean;
ellipsis: boolean;
sticky: boolean;
border: boolean;
active: string | number;

@@ -146,0 +146,0 @@ duration: string | number;

@@ -39,4 +39,4 @@ export declare const Tag: import("../utils").WithInstall<import("vue").DefineComponent<{

round: boolean;
show: boolean;
plain: boolean;
show: boolean;
closeable: boolean;

@@ -43,0 +43,0 @@ }, {}>>;

@@ -59,6 +59,6 @@ import { type PropType, type ExtractPropTypes } from 'vue';

round: boolean;
show: boolean;
plain: boolean;
show: boolean;
closeable: boolean;
}, {}>;
export default _default;

@@ -136,5 +136,5 @@ import { UploaderProps } from './Uploader';

disabled: boolean;
multiple: boolean;
modelValue: import("./types").UploaderFileListItem[];
readonly: boolean;
multiple: boolean;
lazyLoad: boolean;

@@ -141,0 +141,0 @@ maxCount: string | number;

@@ -203,5 +203,5 @@ import { type PropType, type ExtractPropTypes } from 'vue';

disabled: boolean;
multiple: boolean;
modelValue: UploaderFileListItem[];
readonly: boolean;
multiple: boolean;
lazyLoad: boolean;

@@ -208,0 +208,0 @@ maxCount: string | number;

@@ -181,5 +181,5 @@ import { type ExtractPropTypes } from 'vue';

round: boolean;
safeAreaInsetBottom: boolean;
overlay: boolean;
show: boolean;
safeAreaInsetBottom: boolean;
lockScroll: boolean;

@@ -186,0 +186,0 @@ lazyRender: boolean;

@@ -115,5 +115,5 @@ export declare const ActionSheet: import("../utils").WithInstall<import("vue").DefineComponent<{

round: boolean;
safeAreaInsetBottom: boolean;
overlay: boolean;
show: boolean;
safeAreaInsetBottom: boolean;
lockScroll: boolean;

@@ -120,0 +120,0 @@ lazyRender: boolean;

@@ -28,6 +28,6 @@ import { type PropType } from 'vue';

}, {
show: boolean;
focused: boolean;
show: boolean;
showSearchResult: boolean;
}, {}>;
export default _default;

@@ -55,3 +55,3 @@ import { type ExtractPropTypes } from 'vue';

};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:modelValue" | "add" | "edit" | "clickItem" | "editDisabled" | "selectDisabled")[], "select" | "update:modelValue" | "add" | "edit" | "clickItem" | "editDisabled" | "selectDisabled", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "add" | "update:modelValue" | "edit" | "clickItem" | "editDisabled" | "selectDisabled")[], "select" | "add" | "update:modelValue" | "edit" | "clickItem" | "editDisabled" | "selectDisabled", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
list: {

@@ -58,0 +58,0 @@ type: import("vue").PropType<AddressListAddress[]>;

@@ -26,3 +26,3 @@ export declare const AddressList: import("../utils").WithInstall<import("vue").DefineComponent<{

};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:modelValue" | "add" | "edit" | "clickItem" | "editDisabled" | "selectDisabled")[], "select" | "update:modelValue" | "add" | "edit" | "clickItem" | "editDisabled" | "selectDisabled", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "add" | "update:modelValue" | "edit" | "clickItem" | "editDisabled" | "selectDisabled")[], "select" | "add" | "update:modelValue" | "edit" | "clickItem" | "editDisabled" | "selectDisabled", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
list: {

@@ -29,0 +29,0 @@ type: import("vue").PropType<import("./AddressListItem").AddressListAddress[]>;

@@ -131,7 +131,7 @@ import { type PropType, type ExtractPropTypes } from 'vue';

disabled: boolean;
block: boolean;
size: ButtonSize;
square: boolean;
loading: boolean;
block: boolean;
plain: boolean;
square: boolean;
hairline: boolean;

@@ -138,0 +138,0 @@ nativeType: ButtonNativeType;

@@ -87,7 +87,7 @@ export declare const Button: import("../utils").WithInstall<import("vue").DefineComponent<{

disabled: boolean;
block: boolean;
size: import("./types").ButtonSize;
square: boolean;
loading: boolean;
block: boolean;
plain: boolean;
square: boolean;
hairline: boolean;

@@ -94,0 +94,0 @@ nativeType: import("./types").ButtonNativeType;

@@ -273,5 +273,5 @@ import { type PropType, type ExtractPropTypes } from 'vue';

round: boolean;
show: boolean;
readonly: boolean;
safeAreaInsetBottom: boolean;
show: boolean;
lazyRender: boolean;

@@ -278,0 +278,0 @@ closeOnClickOverlay: boolean;

@@ -183,5 +183,5 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").DefineComponent<{

round: boolean;
show: boolean;
readonly: boolean;
safeAreaInsetBottom: boolean;
show: boolean;
lazyRender: boolean;

@@ -188,0 +188,0 @@ closeOnClickOverlay: boolean;

@@ -26,5 +26,5 @@ import { type ExtractPropTypes } from 'vue';

}>>, {
inset: boolean;
border: boolean;
inset: boolean;
}, {}>;
export default _default;

@@ -16,4 +16,4 @@ export declare const CellGroup: import("../utils").WithInstall<import("vue").DefineComponent<{

}>>, {
inset: boolean;
border: boolean;
inset: boolean;
}, {}>>;

@@ -20,0 +20,0 @@ export default CellGroup;

@@ -131,4 +131,4 @@ import { type PropType, type CSSProperties, type ExtractPropTypes } from 'vue';

center: boolean;
border: boolean;
isLink: boolean;
border: boolean;
required: boolean;

@@ -135,0 +135,0 @@ clickable: boolean | null;

@@ -67,4 +67,4 @@ export declare const Cell: import("../utils").WithInstall<import("vue").DefineComponent<{

center: boolean;
border: boolean;
isLink: boolean;
border: boolean;
required: boolean;

@@ -71,0 +71,0 @@ clickable: boolean | null;

@@ -17,2 +17,6 @@ import { type PropType, type ExtractPropTypes } from 'vue';

};
indeterminate: {
type: PropType<boolean | null>;
default: null;
};
};

@@ -34,2 +38,6 @@ export type CheckboxProps = ExtractPropTypes<typeof checkboxProps>;

};
indeterminate: {
type: PropType<boolean | null>;
default: null;
};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{

@@ -49,2 +57,6 @@ name: PropType<unknown>;

};
indeterminate: {
type: PropType<boolean | null>;
default: null;
};
}>> & {

@@ -57,3 +69,4 @@ onChange?: ((...args: any[]) => any) | undefined;

bindGroup: boolean;
indeterminate: boolean | null;
}, {}>;
export default _default;

@@ -44,3 +44,7 @@ var __create = Object.create;

shape: String,
bindGroup: import_utils.truthProp
bindGroup: import_utils.truthProp,
indeterminate: {
type: Boolean,
default: null
}
});

@@ -97,4 +101,9 @@ var stdin_default = (0, import_vue2.defineComponent)({

}
if (props.indeterminate !== null)
emit("change", newValue);
};
(0, import_vue2.watch)(() => props.modelValue, (value) => emit("change", value));
(0, import_vue2.watch)(() => props.modelValue, (value) => {
if (props.indeterminate === null)
emit("change", value);
});
(0, import_use_expose.useExpose)({

@@ -101,0 +110,0 @@ toggle,

@@ -48,2 +48,6 @@ import { type PropType } from 'vue';

};
indeterminate: {
type: PropType<boolean | null>;
default: null;
};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "toggle")[], "click" | "toggle", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{

@@ -70,2 +74,6 @@ name: PropType<unknown>;

};
indeterminate: {
type: PropType<boolean | null>;
default: null;
};
}>> & {

@@ -79,3 +87,4 @@ onClick?: ((...args: any[]) => any) | undefined;

bindGroup: boolean;
indeterminate: boolean | null;
}, {}>;
export default _default;

@@ -44,3 +44,7 @@ var __defProp = Object.defineProperty;

checked: Boolean,
bindGroup: import_utils.truthProp
bindGroup: import_utils.truthProp,
indeterminate: {
type: Boolean,
default: null
}
}),

@@ -99,3 +103,4 @@ emits: ["click", "toggle"],

bem,
checked
checked,
indeterminate
} = props;

@@ -107,3 +112,4 @@ const iconSize = props.iconSize || getParentProp("iconSize");

disabled: disabled.value,
checked
checked,
indeterminate
}]),

@@ -121,3 +127,3 @@ "style": shape.value !== "dot" ? {

}) : shape.value !== "dot" ? (0, import_vue.createVNode)(import_icon.Icon, {
"name": "success",
"name": indeterminate ? "minus" : "success",
"style": iconStyle.value

@@ -124,0 +130,0 @@ }, null) : (0, import_vue.createVNode)("div", {

@@ -15,2 +15,6 @@ export declare const Checkbox: import("../utils").WithInstall<import("vue").DefineComponent<{

};
indeterminate: {
type: import("vue").PropType<boolean | null>;
default: null;
};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{

@@ -30,2 +34,6 @@ name: import("vue").PropType<unknown>;

};
indeterminate: {
type: import("vue").PropType<boolean | null>;
default: null;
};
}>> & {

@@ -38,2 +46,3 @@ onChange?: ((...args: any[]) => any) | undefined;

bindGroup: boolean;
indeterminate: boolean | null;
}, {}>>;

@@ -40,0 +49,0 @@ export default Checkbox;

@@ -125,4 +125,4 @@ import { type ExtractPropTypes } from 'vue';

disabled: boolean;
border: boolean;
isLink: boolean;
border: boolean;
required: boolean;

@@ -129,0 +129,0 @@ clickable: boolean | null;

@@ -83,4 +83,4 @@ export declare const CollapseItem: import("../utils").WithInstall<import("vue").DefineComponent<{

disabled: boolean;
border: boolean;
isLink: boolean;
border: boolean;
required: boolean;

@@ -87,0 +87,0 @@ clickable: boolean | null;

import { type PropType, type InjectionKey, type ExtractPropTypes } from 'vue';
import { type Numeric } from '../utils';
export type ConfigProviderTheme = 'light' | 'dark';
export type ConfigProviderThemeVarsScope = 'local' | 'global';
export type ConfigProviderProvide = {

@@ -22,2 +23,6 @@ iconPrefix?: string;

themeVarsLight: ThemeVars;
themeVarsScope: {
type: PropType<ConfigProviderThemeVarsScope>;
default: ConfigProviderThemeVarsScope;
};
iconPrefix: StringConstructor;

@@ -39,2 +44,6 @@ };

themeVarsLight: ThemeVars;
themeVarsScope: {
type: PropType<ConfigProviderThemeVarsScope>;
default: ConfigProviderThemeVarsScope;
};
iconPrefix: StringConstructor;

@@ -54,2 +63,6 @@ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{

themeVarsLight: ThemeVars;
themeVarsScope: {
type: PropType<ConfigProviderThemeVarsScope>;
default: ConfigProviderThemeVarsScope;
};
iconPrefix: StringConstructor;

@@ -59,3 +72,4 @@ }>>, {

theme: ConfigProviderTheme;
themeVarsScope: ConfigProviderThemeVarsScope;
}, {}>;
export default _default;

@@ -38,2 +38,3 @@ var __defProp = Object.defineProperty;

themeVarsLight: Object,
themeVarsScope: (0, import_utils.makeStringProp)("local"),
iconPrefix: String

@@ -48,2 +49,14 @@ };

}
function syncThemeVarsOnRoot(newStyle = {}, oldStyle = {}) {
Object.keys(newStyle).forEach((key) => {
if (newStyle[key] !== oldStyle[key]) {
document.documentElement.style.setProperty(key, newStyle[key]);
}
});
Object.keys(oldStyle).forEach((key) => {
if (!newStyle[key]) {
document.documentElement.style.removeProperty(key);
}
});
}
var stdin_default = (0, import_vue2.defineComponent)({

@@ -74,2 +87,18 @@ name,

(0, import_vue2.onBeforeUnmount)(removeTheme);
(0, import_vue2.watch)(style, (newStyle, oldStyle) => {
if (props.themeVarsScope === "global") {
syncThemeVarsOnRoot(newStyle, oldStyle);
}
});
(0, import_vue2.watch)(() => props.themeVarsScope, (newScope, oldScope) => {
if (oldScope === "global") {
syncThemeVarsOnRoot({}, style.value);
}
if (newScope === "global") {
syncThemeVarsOnRoot(style.value, {});
}
});
if (props.themeVarsScope === "global") {
syncThemeVarsOnRoot(style.value, {});
}
}

@@ -84,3 +113,3 @@ (0, import_vue2.provide)(CONFIG_PROVIDER_KEY, props);

"class": bem(),
"style": style.value
"style": props.themeVarsScope === "local" ? style.value : void 0
}, {

@@ -87,0 +116,0 @@ default: () => {

@@ -14,2 +14,6 @@ export declare const ConfigProvider: import("../utils").WithInstall<import("vue").DefineComponent<{

themeVarsLight: import("./ConfigProvider").ThemeVars;
themeVarsScope: {
type: import("vue").PropType<import("./ConfigProvider").ConfigProviderThemeVarsScope>;
default: import("./ConfigProvider").ConfigProviderThemeVarsScope;
};
iconPrefix: StringConstructor;

@@ -29,2 +33,6 @@ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{

themeVarsLight: import("./ConfigProvider").ThemeVars;
themeVarsScope: {
type: import("vue").PropType<import("./ConfigProvider").ConfigProviderThemeVarsScope>;
default: import("./ConfigProvider").ConfigProviderThemeVarsScope;
};
iconPrefix: StringConstructor;

@@ -34,6 +42,7 @@ }>>, {

theme: import("./ConfigProvider").ConfigProviderTheme;
themeVarsScope: import("./ConfigProvider").ConfigProviderThemeVarsScope;
}, {}>>;
export default ConfigProvider;
export { configProviderProps } from './ConfigProvider';
export type { ConfigProviderProps, ConfigProviderTheme, } from './ConfigProvider';
export type { ConfigProviderProps, ConfigProviderTheme, ConfigProviderThemeVarsScope, } from './ConfigProvider';
export type { ConfigProviderThemeVars } from './types';

@@ -40,0 +49,0 @@ declare module 'vue' {

@@ -21,3 +21,3 @@ import { type PropType, type ExtractPropTypes } from 'vue';

defaultTagText: StringConstructor;
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:modelValue" | "add" | "edit")[], "select" | "update:modelValue" | "add" | "edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "add" | "update:modelValue" | "edit")[], "select" | "add" | "update:modelValue" | "edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
list: PropType<ContactListItem[]>;

@@ -24,0 +24,0 @@ addText: StringConstructor;

@@ -6,3 +6,3 @@ export declare const ContactList: import("../utils").WithInstall<import("vue").DefineComponent<{

defaultTagText: StringConstructor;
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:modelValue" | "add" | "edit")[], "select" | "update:modelValue" | "add" | "edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "add" | "update:modelValue" | "edit")[], "select" | "add" | "update:modelValue" | "edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
list: import("vue").PropType<import("./ContactList").ContactListItem[]>;

@@ -9,0 +9,0 @@ addText: StringConstructor;

@@ -39,7 +39,7 @@ import { type ExtractPropTypes } from 'vue';

}>>, {
dashed: boolean;
vertical: boolean;
hairline: boolean;
dashed: boolean;
contentPosition: DividerContentPosition;
}, {}>;
export default _default;

@@ -24,5 +24,5 @@ export declare const Divider: import("../utils").WithInstall<import("vue").DefineComponent<{

}>>, {
dashed: boolean;
vertical: boolean;
hairline: boolean;
dashed: boolean;
contentPosition: import("./Divider").DividerContentPosition;

@@ -29,0 +29,0 @@ }, {}>>;

@@ -347,4 +347,4 @@ import { type PropType, type ExtractPropTypes } from 'vue';

disabled: boolean;
border: boolean;
isLink: boolean;
border: boolean;
required: boolean;

@@ -351,0 +351,0 @@ clickable: boolean | null;

@@ -203,4 +203,4 @@ import { FieldProps } from './Field';

disabled: boolean;
border: boolean;
isLink: boolean;
border: boolean;
required: boolean;

@@ -207,0 +207,0 @@ clickable: boolean | null;

@@ -70,6 +70,6 @@ import { type PropType, type InjectionKey, type ExtractPropTypes } from 'vue';

border: boolean;
square: boolean;
clickable: boolean;
square: boolean;
columnNum: string | number;
}, {}>;
export default _default;

@@ -43,4 +43,4 @@ export declare const Grid: import("../utils").WithInstall<import("vue").DefineComponent<{

border: boolean;
square: boolean;
clickable: boolean;
square: boolean;
columnNum: string | number;

@@ -47,0 +47,0 @@ }, {}>>;

@@ -98,4 +98,4 @@ import { type PropType, type ExtractPropTypes } from 'vue';

round: boolean;
block: boolean;
showError: boolean;
block: boolean;
lazyLoad: boolean;

@@ -102,0 +102,0 @@ errorIcon: string;

@@ -64,4 +64,4 @@ export declare const Image: import("../utils").WithInstall<import("vue").DefineComponent<{

round: boolean;
block: boolean;
showError: boolean;
block: boolean;
lazyLoad: boolean;

@@ -68,0 +68,0 @@ errorIcon: string;

@@ -108,2 +108,2 @@ export * from "./action-bar";

export function install(app: any): void;
export const version: "4.6.6";
export const version: "4.6.7";

@@ -227,3 +227,3 @@ var __defProp = Object.defineProperty;

__reExport(stdin_exports, require("./watermark"), module.exports);
const version = "4.6.6";
const version = "4.6.7";
function install(app) {

@@ -230,0 +230,0 @@ const components = [

@@ -46,3 +46,3 @@ export declare const NumberKeyboard: import("../utils").WithInstall<import("vue").DefineComponent<{

};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur" | "update:modelValue" | "close" | "hide" | "show" | "delete")[], "input" | "blur" | "update:modelValue" | "close" | "hide" | "show" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "hide" | "show" | "blur" | "update:modelValue" | "close" | "delete")[], "input" | "hide" | "show" | "blur" | "update:modelValue" | "close" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
show: BooleanConstructor;

@@ -102,6 +102,6 @@ title: StringConstructor;

theme: import("./NumberKeyboard").NumberKeyboardTheme;
show: boolean;
maxlength: string | number;
modelValue: string;
safeAreaInsetBottom: boolean;
show: boolean;
transition: boolean;

@@ -108,0 +108,0 @@ blurOnClose: boolean;

@@ -95,3 +95,3 @@ import { type PropType, type ExtractPropTypes } from 'vue';

};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur" | "update:modelValue" | "close" | "hide" | "show" | "delete")[], "input" | "blur" | "update:modelValue" | "close" | "hide" | "show" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "hide" | "show" | "blur" | "update:modelValue" | "close" | "delete")[], "input" | "hide" | "show" | "blur" | "update:modelValue" | "close" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
show: BooleanConstructor;

@@ -151,6 +151,6 @@ title: StringConstructor;

theme: NumberKeyboardTheme;
show: boolean;
maxlength: string | number;
modelValue: string;
safeAreaInsetBottom: boolean;
show: boolean;
transition: boolean;

@@ -157,0 +157,0 @@ blurOnClose: boolean;

@@ -103,5 +103,5 @@ export declare const Popup: import("../utils").WithInstall<import("vue").DefineComponent<{

round: boolean;
safeAreaInsetBottom: boolean;
overlay: boolean;
show: boolean;
safeAreaInsetBottom: boolean;
lockScroll: boolean;

@@ -108,0 +108,0 @@ lazyRender: boolean;

@@ -152,5 +152,5 @@ import { type CSSProperties, type ExtractPropTypes } from 'vue';

round: boolean;
safeAreaInsetBottom: boolean;
overlay: boolean;
show: boolean;
safeAreaInsetBottom: boolean;
lockScroll: boolean;

@@ -157,0 +157,0 @@ lazyRender: boolean;

@@ -97,5 +97,5 @@ export declare const ShareSheet: import("../utils").WithInstall<import("vue").DefineComponent<{

round: boolean;
safeAreaInsetBottom: boolean;
overlay: boolean;
show: boolean;
safeAreaInsetBottom: boolean;
lockScroll: boolean;

@@ -102,0 +102,0 @@ lazyRender: boolean;

@@ -152,5 +152,5 @@ import { type ExtractPropTypes } from 'vue';

round: boolean;
safeAreaInsetBottom: boolean;
overlay: boolean;
show: boolean;
safeAreaInsetBottom: boolean;
lockScroll: boolean;

@@ -157,0 +157,0 @@ lazyRender: boolean;

@@ -21,3 +21,3 @@ export declare const Signature: import("../utils").WithInstall<import("vue").DefineComponent<{

confirmButtonText: StringConstructor;
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "start" | "clear" | "end" | "signing")[], "submit" | "start" | "clear" | "end" | "signing", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "start" | "end" | "clear" | "signing")[], "submit" | "start" | "end" | "clear" | "signing", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
tips: StringConstructor;

@@ -24,0 +24,0 @@ type: {

@@ -44,3 +44,3 @@ import { type ExtractPropTypes } from 'vue';

confirmButtonText: StringConstructor;
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "start" | "clear" | "end" | "signing")[], "submit" | "start" | "clear" | "end" | "signing", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "start" | "end" | "clear" | "signing")[], "submit" | "start" | "end" | "clear" | "signing", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
tips: StringConstructor;

@@ -47,0 +47,0 @@ type: {

@@ -59,4 +59,4 @@ export declare const Skeleton: import("../utils").WithInstall<import("vue").DefineComponent<{

round: boolean;
row: string | number;
loading: boolean;
row: string | number;
avatarShape: import("..").SkeletonAvatarShape;

@@ -63,0 +63,0 @@ rowWidth: import("../utils").Numeric | import("../utils").Numeric[];

@@ -90,4 +90,4 @@ import { type PropType, type ExtractPropTypes } from 'vue';

round: boolean;
row: string | number;
loading: boolean;
row: string | number;
avatarShape: SkeletonAvatarShape;

@@ -94,0 +94,0 @@ rowWidth: Numeric | Numeric[];

@@ -63,5 +63,5 @@ export declare const Slider: import("../utils").WithInstall<import("vue").DefineComponent<{

disabled: boolean;
vertical: boolean;
modelValue: number | [number, number];
readonly: boolean;
vertical: boolean;
min: string | number;

@@ -68,0 +68,0 @@ step: string | number;

@@ -94,5 +94,5 @@ import { type PropType, type ExtractPropTypes } from 'vue';

disabled: boolean;
vertical: boolean;
modelValue: SliderValue;
readonly: boolean;
vertical: boolean;
min: string | number;

@@ -99,0 +99,0 @@ step: string | number;

export declare const Space: import("../utils").WithInstall<import("vue").DefineComponent<{
align: import("vue").PropType<import("./Space").SpaceAlign>;
direction: {
type: import("vue").PropType<"vertical" | "horizontal">;
type: import("vue").PropType<"horizontal" | "vertical">;
default: string;

@@ -16,3 +16,3 @@ };

direction: {
type: import("vue").PropType<"vertical" | "horizontal">;
type: import("vue").PropType<"horizontal" | "vertical">;
default: string;

@@ -30,3 +30,3 @@ };

wrap: boolean;
direction: "vertical" | "horizontal";
direction: "horizontal" | "vertical";
}, {}>>;

@@ -33,0 +33,0 @@ export default Space;

@@ -7,3 +7,3 @@ import { ExtractPropTypes, PropType } from 'vue';

direction: {
type: PropType<"vertical" | "horizontal">;
type: PropType<"horizontal" | "vertical">;
default: string;

@@ -22,3 +22,3 @@ };

direction: {
type: PropType<"vertical" | "horizontal">;
type: PropType<"horizontal" | "vertical">;
default: string;

@@ -35,3 +35,3 @@ };

direction: {
type: PropType<"vertical" | "horizontal">;
type: PropType<"horizontal" | "vertical">;
default: string;

@@ -49,4 +49,4 @@ };

wrap: boolean;
direction: "vertical" | "horizontal";
direction: "horizontal" | "vertical";
}, {}>;
export default _default;

@@ -55,3 +55,3 @@ export declare const Stepper: import("../utils").WithInstall<import("vue").DefineComponent<{

decimalLength: (NumberConstructor | StringConstructor)[];
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update:modelValue" | "change" | "plus" | "minus" | "overlimit")[], "focus" | "blur" | "update:modelValue" | "change" | "plus" | "minus" | "overlimit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update:modelValue" | "change" | "minus" | "plus" | "overlimit")[], "focus" | "blur" | "update:modelValue" | "change" | "minus" | "plus" | "overlimit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
min: {

@@ -115,4 +115,4 @@ type: (NumberConstructor | StringConstructor)[];

"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onMinus?: ((...args: any[]) => any) | undefined;
onPlus?: ((...args: any[]) => any) | undefined;
onMinus?: ((...args: any[]) => any) | undefined;
onOverlimit?: ((...args: any[]) => any) | undefined;

@@ -119,0 +119,0 @@ }, {

@@ -114,3 +114,3 @@ import { type PropType, type ExtractPropTypes } from 'vue';

decimalLength: (NumberConstructor | StringConstructor)[];
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update:modelValue" | "change" | "plus" | "minus" | "overlimit")[], "focus" | "blur" | "update:modelValue" | "change" | "plus" | "minus" | "overlimit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update:modelValue" | "change" | "minus" | "plus" | "overlimit")[], "focus" | "blur" | "update:modelValue" | "change" | "minus" | "plus" | "overlimit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
min: {

@@ -174,4 +174,4 @@ type: (NumberConstructor | StringConstructor)[];

"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onMinus?: ((...args: any[]) => any) | undefined;
onPlus?: ((...args: any[]) => any) | undefined;
onMinus?: ((...args: any[]) => any) | undefined;
onOverlimit?: ((...args: any[]) => any) | undefined;

@@ -178,0 +178,0 @@ }, {

@@ -94,5 +94,5 @@ import { TabsProps } from './Tabs';

type: import("./types").TabsType;
border: boolean;
ellipsis: boolean;
sticky: boolean;
border: boolean;
active: string | number;

@@ -99,0 +99,0 @@ duration: string | number;

@@ -141,5 +141,5 @@ import { type PropType, type InjectionKey, type ExtractPropTypes } from 'vue';

type: TabsType;
border: boolean;
ellipsis: boolean;
sticky: boolean;
border: boolean;
active: string | number;

@@ -146,0 +146,0 @@ duration: string | number;

@@ -39,4 +39,4 @@ export declare const Tag: import("../utils").WithInstall<import("vue").DefineComponent<{

round: boolean;
show: boolean;
plain: boolean;
show: boolean;
closeable: boolean;

@@ -43,0 +43,0 @@ }, {}>>;

@@ -59,6 +59,6 @@ import { type PropType, type ExtractPropTypes } from 'vue';

round: boolean;
show: boolean;
plain: boolean;
show: boolean;
closeable: boolean;
}, {}>;
export default _default;

@@ -136,5 +136,5 @@ import { UploaderProps } from './Uploader';

disabled: boolean;
multiple: boolean;
modelValue: import("./types").UploaderFileListItem[];
readonly: boolean;
multiple: boolean;
lazyLoad: boolean;

@@ -141,0 +141,0 @@ maxCount: string | number;

@@ -203,5 +203,5 @@ import { type PropType, type ExtractPropTypes } from 'vue';

disabled: boolean;
multiple: boolean;
modelValue: UploaderFileListItem[];
readonly: boolean;
multiple: boolean;
lazyLoad: boolean;

@@ -208,0 +208,0 @@ maxCount: string | number;

{
"name": "vant",
"version": "4.6.6",
"version": "4.6.7",
"description": "Mobile UI Components built on Vue",

@@ -36,5 +36,5 @@ "main": "lib/vant.cjs.js",

"dependencies": {
"@vue/shared": "^3.0.0",
"@vant/popperjs": "^1.3.0",
"@vant/use": "^1.5.1",
"@vue/shared": "^3.0.0"
"@vant/use": "^1.6.0"
},

@@ -45,12 +45,19 @@ "peerDependencies": {

"devDependencies": {
"@types/jest": "^29.5.1",
"@types/node": "^18.16.3",
"@vitejs/plugin-vue": "^4.0.0",
"@vitejs/plugin-vue-jsx": "^3.0.0",
"@vitest/coverage-istanbul": "0.34.1",
"@vue/runtime-core": "^3.3.4",
"@vue/test-utils": "^2.3.2",
"diffable-html": "^5.0.0",
"jsdom": "^22.1.0",
"typescript": "^5.0.4",
"vite": "^4.4.2",
"vitest": "0.34.2",
"vitest-canvas-mock": "^0.3.2",
"vue": "^3.3.4",
"vue-router": "^4.1.6",
"@vant/area-data": "1.5.0",
"@vant/cli": "6.2.0",
"@vant/eslint-config": "4.0.0",
"@vant/cli": "6.2.0",
"@vant/icons": "2.0.1"

@@ -67,3 +74,3 @@ },

"lint": "vant-cli lint",
"test": "vant-cli test",
"test": "vitest run",
"build": "vant-cli build",

@@ -73,6 +80,7 @@ "build:site": "vant-cli build-site",

"release:site": "pnpm build:site && npx gh-pages -d site-dist --add",
"test:update": "vant-cli test --updateSnapshot",
"test:watch": "vant-cli test --watch",
"test:coverage": "open test/coverage/index.html"
"test:update": "vitest run -u",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"open:coverage": "open test/coverage/lcov-report/index.html"
}
}

@@ -11,3 +11,3 @@ <p align="center">

<img src="https://img.shields.io/npm/v/vant?style=flat-square" alt="npm version" />
<img src="https://img.shields.io/codecov/c/github/vant-ui/vant/dev.svg?style=flat-square&color=#4fc08d" alt="Coverage Status" />
<img src="https://img.shields.io/codecov/c/github/youzan/vant/main.svg?style=flat-square&color=#4fc08d" alt="Coverage Status" />
<img src="https://img.shields.io/npm/dm/vant.svg?style=flat-square&color=#4fc08d" alt="downloads" />

@@ -14,0 +14,0 @@ <img src="https://img.badgesize.io/https://unpkg.com/vant/lib/vant.min.js?compression=gzip&style=flat-square&label=gzip%20size&color=#4fc08d" alt="Gzip Size" />

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc