├── .npmignore
├── parcel-project
├── .gitignore
├── .hintrc
├── minimal-parcel-project.zip
├── index.html
├── index.js
├── package.json
└── App.vue
├── library
├── env.d.ts
├── shims-vue.d.ts
├── ContextMenuIconCheck.vue
├── tsconfig.json
├── ContextMenuIconRight.vue
├── MenuBar.ts
├── index.ts
├── ContextMenuMutex.ts
├── ContextMenuSeparator.vue
├── vite.config.ts
├── MenuBarIconMenu.vue
├── MenuBar.scss
├── ContextMenu.vue
├── ContextMenuInstance.ts
├── ContextMenuGroup.vue
├── ContextMenuUtils.ts
├── MenuBar.vue
└── ContextSubMenuWrapper.vue
├── examples
├── env.d.ts
├── css
│ ├── iconfont.ttf
│ ├── iconfont.woff
│ ├── iconfont.woff2
│ └── iconfont.css
├── shims-vue.d.ts
├── tsconfig.json
├── main.ts
├── tsconfig.app.json
├── tsconfig.node.json
├── vite.config.ts
├── index.html
├── router
│ └── index.ts
├── views
│ ├── MenuBar.vue
│ ├── Theme.vue
│ ├── ComponentCustomize.vue
│ ├── BasicCustomize.vue
│ ├── BasicComponent.vue
│ └── ChangeContainer.vue
├── App.vue
└── single-test.html
├── CHANGELOG.MD
├── .gitattributes
├── .npmrc
├── docs
├── demo-dark.png
├── demo-light.png
├── api
│ ├── ContextMenuSeparator.md
│ ├── MenuBar.md
│ ├── ContextMenuItem.md
│ ├── ContextMenu.md
│ ├── ContextMenuGroup.md
│ └── ContextMenuInstance.md
├── en
│ ├── api
│ │ ├── ContextMenuSeparator.md
│ │ ├── MenuBar.md
│ │ ├── ContextMenuItem.md
│ │ ├── ContextMenu.md
│ │ ├── ContextMenuGroup.md
│ │ └── ContextMenuInstance.md
│ ├── index.md
│ ├── index.vue
│ └── guide
│ │ ├── custom-container.md
│ │ ├── icon.md
│ │ ├── theme.md
│ │ ├── install.md
│ │ └── useage.md
├── index.md
├── .vitepress
│ ├── theme
│ │ ├── index.ts
│ │ └── MySandbox.vue
│ └── config.mts
├── guide
│ ├── start.md
│ ├── custom-container.md
│ ├── icon.md
│ ├── theme.md
│ ├── install.md
│ └── useage.md
├── index.vue
├── index.scss
└── change
│ └── index.md
├── screenshot
├── first.png
├── example-mac.jpg
├── example-flat.jpg
├── example-win10.jpg
├── example-default.jpg
├── example-mac-dark.jpg
├── example-flat-dark.jpg
├── example-win10-dark.jpg
└── example-default-dark.jpg
├── .gitignore
├── index.d.ts
├── LICENSE
├── package.json
├── README.CN.md
└── README.md
/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/parcel-project/.gitignore:
--------------------------------------------------------------------------------
1 | .cache/
2 | dist/
--------------------------------------------------------------------------------
/library/env.d.ts:
--------------------------------------------------------------------------------
1 | ///
简洁美观简单的右键菜单组件
6 | 7 |
14 |
15 | A simple, beautiful context menu component
6 | 7 |
14 |
15 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/examples/router/index.ts:
--------------------------------------------------------------------------------
1 | import { createRouter, createWebHashHistory, type RouteRecordRaw } from 'vue-router'
2 | import BasicComponent from '../views/BasicComponent.vue'
3 | import BasicCustomize from '../views/BasicCustomize.vue'
4 | import BasicUseage from '../views/BasicUseage.vue'
5 | import Theme from '../views/Theme.vue'
6 | import ComponentCustomize from '../views/ComponentCustomize.vue'
7 | import MenuBar from '../views/MenuBar.vue'
8 | import ChangeContainer from '../views/ChangeContainer.vue'
9 |
10 | const routes: Array