@opentiny/vue-dropdown-menu
Advanced tools
Comparing version 3.13.0 to 3.14.0
@@ -42,6 +42,3 @@ function _extends() { | ||
}, | ||
visibleArrow: { | ||
type: Boolean, | ||
default: false | ||
}, | ||
visibleArrow: Boolean, | ||
arrowOffset: { | ||
@@ -51,7 +48,4 @@ type: Number, | ||
}, | ||
placement: { | ||
type: String, | ||
default: "bottom-end" | ||
// aui的默认值为bottom-start | ||
}, | ||
placement: String, | ||
// 默认主题 'bottom-end' | ||
popperClass: String, | ||
@@ -112,3 +106,3 @@ popperAppendToBody: { | ||
}); | ||
var version = "3.13.0"; | ||
var version = "3.14.0"; | ||
DropdownMenu.install = function(Vue) { | ||
@@ -115,0 +109,0 @@ Vue.component(DropdownMenu.name, DropdownMenu); |
@@ -55,4 +55,14 @@ import { renderless, api } from "@opentiny/vue-renderless/dropdown-menu/vue"; | ||
}, | ||
emits: ["mouseenter", "mouseleave", "created"], | ||
props: [].concat(props, ["visibleArrow", "arrowOffset", "placement", "popperClass", "popperAppendToBody", "textField", "options"]), | ||
emits: ["mouseenter", "mouseleave", "click", "update:modelValue", "created"], | ||
props: [].concat(props, [ | ||
"visibleArrow", | ||
"arrowOffset", | ||
"placement", | ||
"popperClass", | ||
"popperAppendToBody", | ||
"checkedStatus", | ||
// tiny 新增 | ||
"textField", | ||
"options" | ||
]), | ||
setup: function setup(props2, context) { | ||
@@ -86,3 +96,5 @@ return _setup({ | ||
}, | ||
[renderSlot(_ctx.$slots, "default", {}, function() { | ||
[renderSlot(_ctx.$slots, "default", { | ||
selectedIndex: _ctx.state.selectedIndex | ||
}, function() { | ||
return [(openBlock(true), createElementBlock( | ||
@@ -89,0 +101,0 @@ Fragment, |
{ | ||
"name": "@opentiny/vue-dropdown-menu", | ||
"version": "3.13.0", | ||
"version": "3.14.0", | ||
"description": "", | ||
@@ -10,5 +10,9 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-renderless": "~3.13.0", | ||
"@opentiny/vue-common": "~3.13.0", | ||
"@opentiny/vue-icon": "~3.13.0" | ||
"@opentiny/vue-renderless": "~3.14.0", | ||
"@opentiny/vue-common": "~3.14.0", | ||
"@opentiny/vue-icon": "~3.14.0", | ||
"@opentiny/vue-tooltip": "~3.14.0", | ||
"@opentiny/vue-theme-mobile": "~3.14.0", | ||
"@opentiny/vue-dropdown-item": "~3.14.0", | ||
"@opentiny/vue-theme": "~3.14.0" | ||
}, | ||
@@ -15,0 +19,0 @@ "license": "MIT", |
@@ -21,6 +21,3 @@ /** | ||
}; | ||
visibleArrow: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
visibleArrow: BooleanConstructor; | ||
arrowOffset: { | ||
@@ -30,6 +27,3 @@ type: NumberConstructor; | ||
}; | ||
placement: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
placement: StringConstructor; | ||
popperClass: StringConstructor; | ||
@@ -90,6 +84,3 @@ popperAppendToBody: { | ||
}; | ||
visibleArrow: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
visibleArrow: BooleanConstructor; | ||
arrowOffset: { | ||
@@ -99,6 +90,3 @@ type: NumberConstructor; | ||
}; | ||
placement: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
placement: StringConstructor; | ||
popperClass: StringConstructor; | ||
@@ -160,6 +148,3 @@ popperAppendToBody: { | ||
}; | ||
visibleArrow: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
visibleArrow: BooleanConstructor; | ||
arrowOffset: { | ||
@@ -169,6 +154,3 @@ type: NumberConstructor; | ||
}; | ||
placement: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
placement: StringConstructor; | ||
popperClass: StringConstructor; | ||
@@ -225,3 +207,2 @@ popperAppendToBody: { | ||
arrowOffset: number; | ||
placement: string; | ||
popperAppendToBody: boolean; | ||
@@ -228,0 +209,0 @@ closeOnClickOutside: boolean; |
@@ -0,1 +1,2 @@ | ||
import type { IDropdownMenuApi } from '@opentiny/vue-renderless/types/dropdown-menu.type'; | ||
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
@@ -9,2 +10,3 @@ tiny_mode?: any; | ||
tiny_chart_theme?: any; | ||
checkedStatus?: any; | ||
visibleArrow?: any; | ||
@@ -17,11 +19,3 @@ arrowOffset?: any; | ||
textField?: any; | ||
}>, { | ||
t: (this: any, path: any, options?: any) => any; | ||
vm: any; | ||
f: (props: any, attrs?: {}) => {}; | ||
a: (attrs: any, filters: any, include: any) => {}; | ||
d: (props: any) => void; | ||
dp: (props: any) => void; | ||
gcls: (key: any) => any; | ||
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("mouseenter" | "mouseleave" | "created")[], "mouseenter" | "mouseleave" | "created", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
}>, IDropdownMenuApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "click" | "mouseenter" | "mouseleave" | "created")[], "update:modelValue" | "click" | "mouseenter" | "mouseleave" | "created", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
tiny_mode?: any; | ||
@@ -34,2 +28,3 @@ tiny_mode_root?: any; | ||
tiny_chart_theme?: any; | ||
checkedStatus?: any; | ||
visibleArrow?: any; | ||
@@ -43,4 +38,6 @@ arrowOffset?: any; | ||
}>>> & { | ||
onClick?: ((...args: any[]) => any) | undefined; | ||
onMouseenter?: ((...args: any[]) => any) | undefined; | ||
onMouseleave?: ((...args: any[]) => any) | undefined; | ||
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; | ||
onCreated?: ((...args: any[]) => any) | undefined; | ||
@@ -55,2 +52,3 @@ }, { | ||
readonly tiny_chart_theme?: any; | ||
readonly checkedStatus?: any; | ||
readonly visibleArrow?: any; | ||
@@ -57,0 +55,0 @@ readonly arrowOffset?: any; |
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
32387
7
906
+ Added@opentiny/vue-theme@~3.14.0
+ Added@opentiny/vue-button@3.14.0(transitive)
+ Added@opentiny/vue-common@3.14.0(transitive)
+ Added@opentiny/vue-dropdown-item@3.14.0(transitive)
+ Added@opentiny/vue-icon@3.14.0(transitive)
+ Added@opentiny/vue-locale@3.14.0(transitive)
+ Added@opentiny/vue-popup@3.14.0(transitive)
+ Added@opentiny/vue-renderless@3.14.1(transitive)
+ Added@opentiny/vue-theme@3.14.1(transitive)
+ Added@opentiny/vue-theme-mobile@3.14.2(transitive)
+ Added@opentiny/vue-tooltip@3.14.0(transitive)
- Removed@opentiny/vue-common@3.13.1(transitive)
- Removed@opentiny/vue-icon@3.13.0(transitive)
- Removed@opentiny/vue-locale@3.13.0(transitive)
- Removed@opentiny/vue-renderless@3.13.2(transitive)
- Removed@opentiny/vue-theme@3.13.3(transitive)
- Removed@opentiny/vue-theme-mobile@3.13.0(transitive)
Updated@opentiny/vue-common@~3.14.0
Updated@opentiny/vue-icon@~3.14.0