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.8 to 4.7.0

3

es/address-edit/AddressEdit.d.ts

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

};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "selectSearch" | "save" | "delete" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault")[], "focus" | "selectSearch" | "save" | "delete" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "change" | "selectSearch" | "save" | "delete" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault")[], "focus" | "change" | "selectSearch" | "save" | "delete" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
areaList: PropType<AreaList>;

@@ -136,2 +136,3 @@ isSaving: BooleanConstructor;

onFocus?: ((...args: any[]) => any) | undefined;
onChange?: ((...args: any[]) => any) | undefined;
onSelectSearch?: ((...args: any[]) => any) | undefined;

@@ -138,0 +139,0 @@ onSave?: ((...args: any[]) => any) | undefined;

@@ -44,3 +44,3 @@ import { AddressEditProps } from './AddressEdit';

};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "selectSearch" | "save" | "delete" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault")[], "focus" | "selectSearch" | "save" | "delete" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "change" | "selectSearch" | "save" | "delete" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault")[], "focus" | "change" | "selectSearch" | "save" | "delete" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
areaList: import("vue").PropType<import("..").AreaList>;

@@ -89,2 +89,3 @@ isSaving: BooleanConstructor;

onFocus?: ((...args: any[]) => any) | undefined;
onChange?: ((...args: any[]) => any) | undefined;
onSelectSearch?: ((...args: any[]) => any) | undefined;

@@ -91,0 +92,0 @@ onSave?: ((...args: any[]) => any) | undefined;

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

};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "confirm" | "clickSubtitle" | "unselect" | "monthShow" | "overRange")[], "select" | "update:show" | "confirm" | "clickSubtitle" | "unselect" | "monthShow" | "overRange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "unselect" | "monthShow" | "overRange")[], "select" | "update:show" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "unselect" | "monthShow" | "overRange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
show: BooleanConstructor;

@@ -266,2 +266,3 @@ type: {

onConfirm?: ((...args: any[]) => any) | undefined;
onClickDisabledDate?: ((...args: any[]) => any) | undefined;
onClickSubtitle?: ((...args: any[]) => any) | undefined;

@@ -268,0 +269,0 @@ onUnselect?: ((...args: any[]) => any) | undefined;

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

rowHeight: StringConstructor;
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "clickDisabledDate")[], "click" | "clickDisabledDate", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
item: {

@@ -30,2 +30,3 @@ type: PropType<CalendarDayItem>;

onClick?: ((...args: any[]) => any) | undefined;
onClickDisabledDate?: ((...args: any[]) => any) | undefined;
}, {

@@ -32,0 +33,0 @@ offset: number;

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

firstDayOfWeek: NumberConstructor;
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "clickDisabledDate")[], "click" | "clickDisabledDate", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
date: {

@@ -80,2 +80,3 @@ type: DateConstructor;

onClick?: ((...args: any[]) => any) | undefined;
onClickDisabledDate?: ((...args: any[]) => any) | undefined;
}, {

@@ -82,0 +83,0 @@ lazyRender: boolean;

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

};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "confirm" | "clickSubtitle" | "unselect" | "monthShow" | "overRange")[], "select" | "update:show" | "confirm" | "clickSubtitle" | "unselect" | "monthShow" | "overRange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "unselect" | "monthShow" | "overRange")[], "select" | "update:show" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "unselect" | "monthShow" | "overRange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
show: BooleanConstructor;

@@ -176,2 +176,3 @@ type: {

onConfirm?: ((...args: any[]) => any) | undefined;
onClickDisabledDate?: ((...args: any[]) => any) | undefined;
onClickSubtitle?: ((...args: any[]) => any) | undefined;

@@ -178,0 +179,0 @@ onUnselect?: ((...args: any[]) => any) | undefined;

@@ -1,6 +0,6 @@

import type { DialogOptions } from './types';
export declare function showDialog(options: DialogOptions): Promise<unknown>;
import type { DialogAction, DialogOptions } from './types';
export declare function showDialog(options: DialogOptions): Promise<DialogAction | undefined>;
export declare const setDialogDefaultOptions: (options: DialogOptions) => void;
export declare const resetDialogDefaultOptions: () => void;
export declare const showConfirmDialog: (options: DialogOptions) => Promise<unknown>;
export declare const showConfirmDialog: (options: DialogOptions) => Promise<DialogAction | undefined>;
export declare const closeDialog: () => void;

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

export function install(app: any): void;
export const version: "4.6.8";
export const version: "4.7.0";
export type Interceptor = (...args: any[]) => Promise<boolean> | boolean | undefined | void;
export declare function callInterceptor(interceptor: Interceptor | undefined, { args, done, canceled, }: {
export declare function callInterceptor(interceptor: Interceptor | undefined, { args, done, canceled, error, }: {
args?: unknown[];
done: () => void;
canceled?: () => void;
error?: () => void;
}): void;

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

};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "selectSearch" | "save" | "delete" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault")[], "focus" | "selectSearch" | "save" | "delete" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "change" | "selectSearch" | "save" | "delete" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault")[], "focus" | "change" | "selectSearch" | "save" | "delete" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
areaList: PropType<AreaList>;

@@ -136,2 +136,3 @@ isSaving: BooleanConstructor;

onFocus?: ((...args: any[]) => any) | undefined;
onChange?: ((...args: any[]) => any) | undefined;
onSelectSearch?: ((...args: any[]) => any) | undefined;

@@ -138,0 +139,0 @@ onSave?: ((...args: any[]) => any) | undefined;

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

props: addressEditProps,
emits: ["save", "focus", "delete", "clickArea", "changeArea", "changeDetail", "selectSearch", "changeDefault"],
emits: ["save", "focus", "change", "delete", "clickArea", "changeArea", "changeDetail", "selectSearch", "changeDefault"],
setup(props, {

@@ -126,2 +126,8 @@ emit,

};
const onChange = (key, value) => {
emit("change", {
key,
value
});
};
const rules = (0, import_vue2.computed)(() => {

@@ -238,3 +244,3 @@ const {

"modelValue": data.name,
"onUpdate:modelValue": ($event) => data.name = $event,
"onUpdate:modelValue": [($event) => data.name = $event, (val) => onChange("name", val)],
"clearable": true,

@@ -247,3 +253,3 @@ "label": t("name"),

"modelValue": data.tel,
"onUpdate:modelValue": ($event) => data.tel = $event,
"onUpdate:modelValue": [($event) => data.tel = $event, (val) => onChange("tel", val)],
"clearable": true,

@@ -250,0 +256,0 @@ "type": "tel",

@@ -44,3 +44,3 @@ import { AddressEditProps } from './AddressEdit';

};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "selectSearch" | "save" | "delete" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault")[], "focus" | "selectSearch" | "save" | "delete" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "change" | "selectSearch" | "save" | "delete" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault")[], "focus" | "change" | "selectSearch" | "save" | "delete" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
areaList: import("vue").PropType<import("..").AreaList>;

@@ -89,2 +89,3 @@ isSaving: BooleanConstructor;

onFocus?: ((...args: any[]) => any) | undefined;
onChange?: ((...args: any[]) => any) | undefined;
onSelectSearch?: ((...args: any[]) => any) | undefined;

@@ -91,0 +92,0 @@ onSave?: ((...args: any[]) => any) | undefined;

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

};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "confirm" | "clickSubtitle" | "unselect" | "monthShow" | "overRange")[], "select" | "update:show" | "confirm" | "clickSubtitle" | "unselect" | "monthShow" | "overRange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "unselect" | "monthShow" | "overRange")[], "select" | "update:show" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "unselect" | "monthShow" | "overRange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
show: BooleanConstructor;

@@ -266,2 +266,3 @@ type: {

onConfirm?: ((...args: any[]) => any) | undefined;
onClickDisabledDate?: ((...args: any[]) => any) | undefined;
onClickSubtitle?: ((...args: any[]) => any) | undefined;

@@ -268,0 +269,0 @@ onUnselect?: ((...args: any[]) => any) | undefined;

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

props: calendarProps,
emits: ["select", "confirm", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle"],
emits: ["select", "confirm", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle", "clickDisabledDate"],
setup(props, {

@@ -365,3 +365,4 @@ emit,

}, (0, import_utils.pick)(props, ["type", "color", "minDate", "maxDate", "showMark", "formatter", "rowHeight", "lazyRender", "showSubtitle", "allowSameDay"]), {
"onClick": onClickDay
"onClick": onClickDay,
"onClickDisabledDate": (item) => emit("clickDisabledDate", item)
}), (0, import_utils.pick)(slots, ["top-info", "bottom-info", "month-title"]));

@@ -368,0 +369,0 @@ };

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

rowHeight: StringConstructor;
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "clickDisabledDate")[], "click" | "clickDisabledDate", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
item: {

@@ -30,2 +30,3 @@ type: PropType<CalendarDayItem>;

onClick?: ((...args: any[]) => any) | undefined;
onClickDisabledDate?: ((...args: any[]) => any) | undefined;
}, {

@@ -32,0 +33,0 @@ offset: number;

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

},
emits: ["click"],
emits: ["click", "clickDisabledDate"],
setup(props, {

@@ -84,2 +84,4 @@ emit,

emit("click", props.item);
} else {
emit("clickDisabledDate", props.item);
}

@@ -86,0 +88,0 @@ };

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

firstDayOfWeek: NumberConstructor;
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "clickDisabledDate")[], "click" | "clickDisabledDate", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
date: {

@@ -80,2 +80,3 @@ type: DateConstructor;

onClick?: ((...args: any[]) => any) | undefined;
onClickDisabledDate?: ((...args: any[]) => any) | undefined;
}, {

@@ -82,0 +83,0 @@ lazyRender: boolean;

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

props: calendarMonthProps,
emits: ["click"],
emits: ["click", "clickDisabledDate"],
setup(props, {

@@ -222,3 +222,4 @@ emit,

"rowHeight": rowHeight.value,
"onClick": (item2) => emit("click", item2)
"onClick": (item2) => emit("click", item2),
"onClickDisabledDate": (item2) => emit("clickDisabledDate", item2)
}, (0, import_utils.pick)(slots, ["top-info", "bottom-info"]));

@@ -225,0 +226,0 @@ const renderDays = () => (0, import_vue.createVNode)("div", {

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

};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "confirm" | "clickSubtitle" | "unselect" | "monthShow" | "overRange")[], "select" | "update:show" | "confirm" | "clickSubtitle" | "unselect" | "monthShow" | "overRange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "unselect" | "monthShow" | "overRange")[], "select" | "update:show" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "unselect" | "monthShow" | "overRange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
show: BooleanConstructor;

@@ -176,2 +176,3 @@ type: {

onConfirm?: ((...args: any[]) => any) | undefined;
onClickDisabledDate?: ((...args: any[]) => any) | undefined;
onClickSubtitle?: ((...args: any[]) => any) | undefined;

@@ -178,0 +179,0 @@ onUnselect?: ((...args: any[]) => any) | undefined;

@@ -1,6 +0,6 @@

import type { DialogOptions } from './types';
export declare function showDialog(options: DialogOptions): Promise<unknown>;
import type { DialogAction, DialogOptions } from './types';
export declare function showDialog(options: DialogOptions): Promise<DialogAction | undefined>;
export declare const setDialogDefaultOptions: (options: DialogOptions) => void;
export declare const resetDialogDefaultOptions: () => void;
export declare const showConfirmDialog: (options: DialogOptions) => Promise<unknown>;
export declare const showConfirmDialog: (options: DialogOptions) => Promise<DialogAction | undefined>;
export declare const closeDialog: () => void;

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

if (!import_utils.inBrowser) {
return Promise.resolve();
return Promise.resolve(void 0);
}

@@ -91,0 +91,0 @@ return new Promise((resolve, reject) => {

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

});
(0, import_use_lock_scroll.useLockScroll)(rootRef, () => props.lockScroll);
(0, import_use_lock_scroll.useLockScroll)(rootRef, () => props.lockScroll || dragging.value);
(0, import_use.useEventListener)("touchmove", onTouchmove, {

@@ -127,0 +127,0 @@ target: rootRef

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

export function install(app: any): void;
export const version: "4.6.8";
export const version: "4.7.0";

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

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

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

@@ -94,8 +94,12 @@ var __defProp = Object.defineProperty;

empty.height = canvas.height;
if (props.backgroundColor) {
const emptyCtx = empty.getContext("2d");
setCanvasBgColor(emptyCtx);
}
return canvas.toDataURL() === empty.toDataURL();
};
const setCanvasBgColor = () => {
if (state.ctx && props.backgroundColor) {
state.ctx.fillStyle = props.backgroundColor;
state.ctx.fillRect(0, 0, state.width, state.height);
const setCanvasBgColor = (ctx) => {
if (ctx && props.backgroundColor) {
ctx.fillStyle = props.backgroundColor;
ctx.fillRect(0, 0, state.width, state.height);
}

@@ -123,3 +127,3 @@ };

state.ctx.closePath();
setCanvasBgColor();
setCanvasBgColor(state.ctx);
}

@@ -135,3 +139,3 @@ emit("clear");

(0, import_vue2.nextTick)(() => {
setCanvasBgColor();
setCanvasBgColor(state.ctx);
});

@@ -138,0 +142,0 @@ }

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

let startOffset;
let isInBeforeClosing;
const root = (0, import_vue2.ref)();

@@ -127,4 +128,7 @@ const leftRef = (0, import_vue2.ref)();

const onClick = (position = "outside") => {
if (isInBeforeClosing)
return;
emit("click", position);
if (opened && !lockClick) {
isInBeforeClosing = true;
(0, import_utils.callInterceptor)(props.beforeClose, {

@@ -135,3 +139,8 @@ args: [{

}],
done: () => close(position)
done: () => {
isInBeforeClosing = false;
close(position);
},
canceled: () => isInBeforeClosing = false,
error: () => isInBeforeClosing = false
});

@@ -138,0 +147,0 @@ }

export type Interceptor = (...args: any[]) => Promise<boolean> | boolean | undefined | void;
export declare function callInterceptor(interceptor: Interceptor | undefined, { args, done, canceled, }: {
export declare function callInterceptor(interceptor: Interceptor | undefined, { args, done, canceled, error, }: {
args?: unknown[];
done: () => void;
canceled?: () => void;
error?: () => void;
}): void;

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

done,
canceled
canceled,
error
}) {

@@ -39,3 +40,3 @@ if (interceptor) {

}
}).catch(import_basic.noop);
}).catch(error || import_basic.noop);
} else if (returnVal) {

@@ -42,0 +43,0 @@ done();

{
"name": "vant",
"version": "4.6.8",
"version": "4.7.0",
"description": "Mobile UI Components built on Vue",

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

"@vant/area-data": "1.5.0",
"@vant/icons": "2.0.1",
"@vant/cli": "6.2.0",
"@vant/eslint-config": "4.0.0"
"@vant/eslint-config": "4.0.0",
"@vant/icons": "3.0.0"
},

@@ -64,0 +64,0 @@ "sideEffects": [

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 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 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