vant
Advanced tools
Comparing version 4.0.6 to 4.0.7
@@ -57,2 +57,3 @@ import { type PropType, type CSSProperties, type ExtractPropTypes } from 'vue'; | ||
}; | ||
teleport: PropType<string | import("vue").RendererElement | null | undefined>; | ||
}; | ||
@@ -113,2 +114,3 @@ export type ImagePreviewProps = ExtractPropTypes<typeof imagePreviewProps>; | ||
}; | ||
teleport: PropType<string | import("vue").RendererElement | null | undefined>; | ||
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close" | "closed" | "update:show" | "scale" | "longPress")[], "change" | "close" | "closed" | "update:show" | "scale" | "longPress", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
@@ -167,2 +169,3 @@ show: BooleanConstructor; | ||
}; | ||
teleport: PropType<string | import("vue").RendererElement | null | undefined>; | ||
}>> & { | ||
@@ -169,0 +172,0 @@ onChange?: ((...args: any[]) => any) | undefined; |
@@ -55,2 +55,3 @@ import type { ImagePreviewProps } from './ImagePreview'; | ||
}; | ||
teleport: import("vue").PropType<string | import("vue").RendererElement | null | undefined>; | ||
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close" | "closed" | "update:show" | "scale" | "longPress")[], "change" | "close" | "closed" | "update:show" | "scale" | "longPress", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
@@ -109,2 +110,3 @@ show: BooleanConstructor; | ||
}; | ||
teleport: import("vue").PropType<string | import("vue").RendererElement | null | undefined>; | ||
}>> & { | ||
@@ -111,0 +113,0 @@ onChange?: ((...args: any[]) => any) | undefined; |
@@ -97,2 +97,2 @@ export * from "./action-bar"; | ||
export function install(app: any): void; | ||
export const version: "4.0.6"; | ||
export const version: "4.0.7"; |
@@ -57,2 +57,3 @@ import { type PropType, type CSSProperties, type ExtractPropTypes } from 'vue'; | ||
}; | ||
teleport: PropType<string | import("vue").RendererElement | null | undefined>; | ||
}; | ||
@@ -113,2 +114,3 @@ export type ImagePreviewProps = ExtractPropTypes<typeof imagePreviewProps>; | ||
}; | ||
teleport: PropType<string | import("vue").RendererElement | null | undefined>; | ||
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close" | "closed" | "update:show" | "scale" | "longPress")[], "change" | "close" | "closed" | "update:show" | "scale" | "longPress", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
@@ -167,2 +169,3 @@ show: BooleanConstructor; | ||
}; | ||
teleport: PropType<string | import("vue").RendererElement | null | undefined>; | ||
}>> & { | ||
@@ -169,0 +172,0 @@ onChange?: ((...args: any[]) => any) | undefined; |
@@ -40,3 +40,3 @@ var __create = Object.create; | ||
const [name, bem] = (0, import_utils.createNamespace)("image-preview"); | ||
const popupProps = ["show", "transition", "overlayStyle", "closeOnPopstate"]; | ||
const popupProps = ["show", "transition", "overlayStyle", "closeOnPopstate", "teleport"]; | ||
const imagePreviewProps = { | ||
@@ -61,3 +61,4 @@ show: Boolean, | ||
closeOnPopstate: import_utils.truthProp, | ||
closeIconPosition: (0, import_utils.makeStringProp)("top-right") | ||
closeIconPosition: (0, import_utils.makeStringProp)("top-right"), | ||
teleport: [String, Object] | ||
}; | ||
@@ -64,0 +65,0 @@ var stdin_default = (0, import_vue2.defineComponent)({ |
@@ -55,2 +55,3 @@ import type { ImagePreviewProps } from './ImagePreview'; | ||
}; | ||
teleport: import("vue").PropType<string | import("vue").RendererElement | null | undefined>; | ||
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close" | "closed" | "update:show" | "scale" | "longPress")[], "change" | "close" | "closed" | "update:show" | "scale" | "longPress", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
@@ -109,2 +110,3 @@ show: BooleanConstructor; | ||
}; | ||
teleport: import("vue").PropType<string | import("vue").RendererElement | null | undefined>; | ||
}>> & { | ||
@@ -111,0 +113,0 @@ onChange?: ((...args: any[]) => any) | undefined; |
@@ -97,2 +97,2 @@ export * from "./action-bar"; | ||
export function install(app: any): void; | ||
export const version: "4.0.6"; | ||
export const version: "4.0.7"; |
@@ -205,3 +205,3 @@ var __defProp = Object.defineProperty; | ||
__reExport(stdin_exports, require("./uploader"), module.exports); | ||
const version = "4.0.6"; | ||
const version = "4.0.7"; | ||
function install(app) { | ||
@@ -208,0 +208,0 @@ const components = [ |
@@ -38,3 +38,3 @@ var __defProp = Object.defineProperty; | ||
start: "\u041D\u0430\u0447\u0430\u043B\u043E", | ||
title: "\u041A\u0430\u043B\u0435\u043D\u0430\u0440\u044C", | ||
title: "\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C", | ||
weekdays: ["\u0412\u0421", "\u041F\u041D", "\u0412\u0422", "\u0421\u0420", "\u0427\u0422", "\u041F\u0422", "\u0421\u0411"], | ||
@@ -41,0 +41,0 @@ monthTitle: (year, month) => `${year}/${month}`, |
@@ -215,2 +215,5 @@ var __defProp = Object.defineProperty; | ||
active = Math.min(count.value - 1, active); | ||
if (active === -1) { | ||
active = count.value - 1; | ||
} | ||
} | ||
@@ -217,0 +220,0 @@ state.active = active; |
{ | ||
"name": "vant", | ||
"version": "4.0.6", | ||
"version": "4.0.7", | ||
"description": "Mobile UI Components built on Vue", | ||
@@ -54,3 +54,3 @@ "main": "lib/vant.cjs.js", | ||
"devDependencies": { | ||
"@types/node": "^16.11.56", | ||
"@types/node": "^18.11.18", | ||
"@types/jest": "^29.1.1", | ||
@@ -57,0 +57,0 @@ "@vant/area-data": "workspace:*", |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
5202183
135480
90