├── .eslintignore ├── .eslintrc.js ├── .github ├── ISSUE_TEMPLATE.md └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── .gitmodules ├── .prettierrc ├── .vscode └── settings.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── README_EN.md ├── __tests__ └── components │ └── Contextmenu.spec.tsx ├── docs ├── images │ ├── bright.jpg │ ├── dark.jpg │ ├── default.jpg │ └── gallery.jpg ├── usage-en.md └── usage.md ├── examples ├── CustomShow.tsx ├── CustomTrigger.tsx ├── Dynamic.tsx ├── Group.tsx ├── Multiple.tsx ├── Simple.tsx ├── TriggerBox.tsx └── index.ts ├── index.html ├── jest.config.js ├── package.json ├── pnpm-lock.yaml ├── public └── favicon.ico ├── rollup.config.mjs ├── site ├── App.tsx ├── assets │ └── images │ │ └── cool-background.svg ├── components │ ├── Banner │ │ ├── index.module.less │ │ └── index.tsx │ ├── Example │ │ ├── index.module.less │ │ └── index.tsx │ ├── Footer │ │ ├── index.module.less │ │ └── index.tsx │ └── index.ts ├── main.ts ├── styles │ └── index.less └── typings.d.ts ├── src ├── components │ ├── Contextmenu.tsx │ ├── ContextmenuDivider.tsx │ ├── ContextmenuGroup.tsx │ ├── ContextmenuIcon.tsx │ ├── ContextmenuItem.tsx │ └── ContextmenuSubmenu.tsx ├── constants │ ├── classes.ts │ └── index.ts ├── directive.ts ├── index.ts ├── themes │ ├── bright │ │ ├── index.less │ │ └── variables.less │ ├── dark │ │ ├── index.less │ │ └── variables.less │ ├── default │ │ ├── animate.less │ │ ├── contextmenu.less │ │ ├── icon.less │ │ ├── index.less │ │ └── variables.less │ └── fonts │ │ ├── iconfont.eot │ │ ├── iconfont.svg │ │ ├── iconfont.ttf │ │ └── iconfont.woff └── types │ └── index.ts ├── tsconfig.build.json ├── tsconfig.json └── vite.config.ts /.eslintignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | es/ 3 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/.gitmodules -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/README.md -------------------------------------------------------------------------------- /README_EN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/README_EN.md -------------------------------------------------------------------------------- /__tests__/components/Contextmenu.spec.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/__tests__/components/Contextmenu.spec.tsx -------------------------------------------------------------------------------- /docs/images/bright.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/docs/images/bright.jpg -------------------------------------------------------------------------------- /docs/images/dark.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/docs/images/dark.jpg -------------------------------------------------------------------------------- /docs/images/default.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/docs/images/default.jpg -------------------------------------------------------------------------------- /docs/images/gallery.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/docs/images/gallery.jpg -------------------------------------------------------------------------------- /docs/usage-en.md: -------------------------------------------------------------------------------- 1 | # v-contextmenu 2 | -------------------------------------------------------------------------------- /docs/usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/docs/usage.md -------------------------------------------------------------------------------- /examples/CustomShow.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/examples/CustomShow.tsx -------------------------------------------------------------------------------- /examples/CustomTrigger.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/examples/CustomTrigger.tsx -------------------------------------------------------------------------------- /examples/Dynamic.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/examples/Dynamic.tsx -------------------------------------------------------------------------------- /examples/Group.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/examples/Group.tsx -------------------------------------------------------------------------------- /examples/Multiple.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/examples/Multiple.tsx -------------------------------------------------------------------------------- /examples/Simple.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/examples/Simple.tsx -------------------------------------------------------------------------------- /examples/TriggerBox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/examples/TriggerBox.tsx -------------------------------------------------------------------------------- /examples/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/examples/index.ts -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/index.html -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /rollup.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/rollup.config.mjs -------------------------------------------------------------------------------- /site/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/site/App.tsx -------------------------------------------------------------------------------- /site/assets/images/cool-background.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/site/assets/images/cool-background.svg -------------------------------------------------------------------------------- /site/components/Banner/index.module.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/site/components/Banner/index.module.less -------------------------------------------------------------------------------- /site/components/Banner/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/site/components/Banner/index.tsx -------------------------------------------------------------------------------- /site/components/Example/index.module.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/site/components/Example/index.module.less -------------------------------------------------------------------------------- /site/components/Example/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/site/components/Example/index.tsx -------------------------------------------------------------------------------- /site/components/Footer/index.module.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/site/components/Footer/index.module.less -------------------------------------------------------------------------------- /site/components/Footer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/site/components/Footer/index.tsx -------------------------------------------------------------------------------- /site/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/site/components/index.ts -------------------------------------------------------------------------------- /site/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/site/main.ts -------------------------------------------------------------------------------- /site/styles/index.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/site/styles/index.less -------------------------------------------------------------------------------- /site/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.less'; 2 | -------------------------------------------------------------------------------- /src/components/Contextmenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/src/components/Contextmenu.tsx -------------------------------------------------------------------------------- /src/components/ContextmenuDivider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/src/components/ContextmenuDivider.tsx -------------------------------------------------------------------------------- /src/components/ContextmenuGroup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/src/components/ContextmenuGroup.tsx -------------------------------------------------------------------------------- /src/components/ContextmenuIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/src/components/ContextmenuIcon.tsx -------------------------------------------------------------------------------- /src/components/ContextmenuItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/src/components/ContextmenuItem.tsx -------------------------------------------------------------------------------- /src/components/ContextmenuSubmenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/src/components/ContextmenuSubmenu.tsx -------------------------------------------------------------------------------- /src/constants/classes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/src/constants/classes.ts -------------------------------------------------------------------------------- /src/constants/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/src/constants/index.ts -------------------------------------------------------------------------------- /src/directive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/src/directive.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/themes/bright/index.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/src/themes/bright/index.less -------------------------------------------------------------------------------- /src/themes/bright/variables.less: -------------------------------------------------------------------------------- 1 | @import "../default/variables.less"; 2 | 3 | @vc-active-color: #ef5350; 4 | -------------------------------------------------------------------------------- /src/themes/dark/index.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/src/themes/dark/index.less -------------------------------------------------------------------------------- /src/themes/dark/variables.less: -------------------------------------------------------------------------------- 1 | @import "../default/variables.less"; 2 | 3 | @vc-active-color: #2d3035; 4 | -------------------------------------------------------------------------------- /src/themes/default/animate.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/src/themes/default/animate.less -------------------------------------------------------------------------------- /src/themes/default/contextmenu.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/src/themes/default/contextmenu.less -------------------------------------------------------------------------------- /src/themes/default/icon.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/src/themes/default/icon.less -------------------------------------------------------------------------------- /src/themes/default/index.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/src/themes/default/index.less -------------------------------------------------------------------------------- /src/themes/default/variables.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/src/themes/default/variables.less -------------------------------------------------------------------------------- /src/themes/fonts/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/src/themes/fonts/iconfont.eot -------------------------------------------------------------------------------- /src/themes/fonts/iconfont.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/src/themes/fonts/iconfont.svg -------------------------------------------------------------------------------- /src/themes/fonts/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/src/themes/fonts/iconfont.ttf -------------------------------------------------------------------------------- /src/themes/fonts/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/src/themes/fonts/iconfont.woff -------------------------------------------------------------------------------- /src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/src/types/index.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberNika/v-contextmenu/HEAD/vite.config.ts --------------------------------------------------------------------------------