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

@opentiny/vue-dropdown-menu

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-dropdown-menu - npm Package Compare versions

Comparing version 3.13.0 to 3.14.0

14

lib/index.js

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

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