Comparing version 4.6.5 to 4.6.6
import type { DropdownItemProps } from './DropdownItem'; | ||
import type { VNode, ComponentPublicInstance } from 'vue'; | ||
import type { Numeric } from '../utils'; | ||
export type DropdownItemOptionValue = Numeric | boolean; | ||
export type DropdownItemOption = { | ||
text: string; | ||
icon?: string; | ||
value: Numeric; | ||
value: DropdownItemOptionValue; | ||
}; | ||
@@ -9,0 +10,0 @@ export type DropdownItemExpose = { |
@@ -108,2 +108,2 @@ export * from "./action-bar"; | ||
export function install(app: any): void; | ||
export const version: "4.6.5"; | ||
export const version: "4.6.6"; |
@@ -22,3 +22,4 @@ import 'vue'; | ||
onTouchstartPassive?: EventHandler; | ||
onClickCapture?: EventHandler; | ||
} | ||
} |
@@ -125,3 +125,3 @@ var __defProp = Object.defineProperty; | ||
"role": "menuitem", | ||
"key": option.value, | ||
"key": String(option.value), | ||
"icon": option.icon, | ||
@@ -128,0 +128,0 @@ "title": option.text, |
import type { DropdownItemProps } from './DropdownItem'; | ||
import type { VNode, ComponentPublicInstance } from 'vue'; | ||
import type { Numeric } from '../utils'; | ||
export type DropdownItemOptionValue = Numeric | boolean; | ||
export type DropdownItemOption = { | ||
text: string; | ||
icon?: string; | ||
value: Numeric; | ||
value: DropdownItemOptionValue; | ||
}; | ||
@@ -9,0 +10,0 @@ export type DropdownItemExpose = { |
@@ -94,2 +94,4 @@ var __create = Object.create; | ||
const updateState = () => { | ||
if (!show.value) | ||
return; | ||
const { | ||
@@ -170,2 +172,4 @@ width, | ||
emit("click", e); | ||
else | ||
e.stopPropagation(); | ||
}; | ||
@@ -195,3 +199,3 @@ (0, import_vue2.onMounted)(() => { | ||
"onTouchcancel": onTouchEnd, | ||
"onClick": onClick, | ||
"onClickCapture": onClick, | ||
"style": rootStyle.value | ||
@@ -198,0 +202,0 @@ }, attrs), [slots.default ? slots.default() : (0, import_vue.createVNode)(import_icon.default, { |
@@ -108,2 +108,2 @@ export * from "./action-bar"; | ||
export function install(app: any): void; | ||
export const version: "4.6.5"; | ||
export const version: "4.6.6"; |
@@ -227,3 +227,3 @@ var __defProp = Object.defineProperty; | ||
__reExport(stdin_exports, require("./watermark"), module.exports); | ||
const version = "4.6.5"; | ||
const version = "4.6.6"; | ||
function install(app) { | ||
@@ -230,0 +230,0 @@ const components = [ |
@@ -22,3 +22,4 @@ import 'vue'; | ||
onTouchstartPassive?: EventHandler; | ||
onClickCapture?: EventHandler; | ||
} | ||
} |
{ | ||
"name": "vant", | ||
"version": "4.6.5", | ||
"version": "4.6.6", | ||
"description": "Mobile UI Components built on Vue", | ||
@@ -5,0 +5,0 @@ "main": "lib/vant.cjs.js", |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5727026
149047