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

vue3-menus

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue3-menus - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

dist/vue3-menus.js

51

index.d.ts

@@ -1,3 +0,52 @@

import { menusType } from './types';
type elementIconType = import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin, import('vue').EmitsOptions, string,
import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
type antdvIconType = import('vue').FunctionalComponent;
type menusItemType<I = string | elementIconType | antdvIconType> = {
label: string;
icon?: I | {
node: I,
option?: {
[key: string]: unknown
}
};
disabled?: boolean;
divided?: boolean;
click?: (...arg: unknown[]) => unknown;
children?: Array<menusItemType>;
tip?: string;
hidden?: boolean;
style?: {
[key: string]: string | number
}
}
type baseType<I = string | elementIconType | antdvIconType> = {
menus: Array<menusItemType<I>>;
menusStyle?: {
[key: string]: unknown
};
menusItemClass?: string;
minWidth?: number | string;
maxWidth?: number | string;
zIndex?: number | string;
}
type menusType<I = string | elementIconType | antdvIconType> = {
event: MouseEvent;
} & baseType<I> | {
position: {
x: number,
y: number
};
} & baseType<I> | {
event?: MouseEvent;
position?: {
x: number,
y: number
};
} & baseType<I>
declare module 'vue3-menus' {

@@ -4,0 +53,0 @@ export const Vue3Menus: import('vue').DefineComponent<menusType & {

35

package.json
{
"name": "vue3-menus",
"version": "1.0.12",
"version": "1.0.13",
"author": "xufangyi",

@@ -15,5 +15,4 @@ "private": false,

],
"main": "./dist/cjs/vue3-menus.cjs.js",
"browser": "./dist/umd/vue3-menus.umd.js",
"module": "./dist/esm/vue3-menus.esm.js",
"main": "dist/vue3-menus.js",
"module": "dist/vue3-menus.es.js",
"types": "./index.d.ts",

@@ -26,4 +25,4 @@ "files": [

"dist",
"index.d.ts",
"types"
"src",
"index.d.ts"
],

@@ -36,28 +35,20 @@ "license": "MIT",

"scripts": {
"build": "rimraf ./dist && rollup --config ./build/rollup.config.js && rollup --config ./build/rollup.config.min.js"
"build": "rollup -c"
},
"peerDependencies": {
"vue": "^3.0.0"
},
"dependencies": {},
"devDependencies": {
"@rollup/plugin-node-resolve": "^13.0.5",
"@typescript-eslint/eslint-plugin": "4.6.1",
"@typescript-eslint/parser": "4.6.1",
"@babel/core": "^7.15.5",
"@vue/compiler-sfc": "3.0.0",
"eslint": "7.12.1",
"eslint-config-airbnb": "18.2.1",
"eslint-config-airbnb-base": "14.2.1",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-vue": "7.1.0",
"rollup": "^2.57.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-clear": "^2.0.7",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-css-porter": "^1.0.2",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "3.1.8",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"rollup-plugin-uglify": "^6.0.4",
"rollup-plugin-vue": "6.0.0",
"typescript": "4.0.5",
"rollup-plugin-vue": "^6.0.0",
"vue": "3.0.0"
}
}
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