├── .changeset ├── README.md └── config.json ├── .editorconfig ├── .eslintignore ├── .eslintrc ├── .github ├── actions │ ├── deploy-docs │ │ └── action.yml │ └── pnpm │ │ └── action.yml └── workflows │ ├── changesets-release.yml │ ├── ci.yml │ └── deploy-web.yml ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .npmrc ├── .prettierignore ├── .prettierrc.js ├── .stylelintignore ├── .stylelintrc ├── CNAME ├── LICENSE ├── README.md ├── commitlint.config.js ├── package.json ├── packages ├── docs │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ └── src │ │ ├── .vitepress │ │ ├── components │ │ │ └── Demo.vue │ │ ├── composables │ │ │ ├── lang.ts │ │ │ └── useIsMobile.ts │ │ ├── config.ts │ │ ├── examples │ │ │ ├── 01-dustbin │ │ │ │ ├── copy-or-move │ │ │ │ │ ├── Box.vue │ │ │ │ │ ├── Container.vue │ │ │ │ │ ├── Dustbin.vue │ │ │ │ │ ├── ItemTypes.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── multiple-targets │ │ │ │ │ ├── Box.vue │ │ │ │ │ ├── Container.vue │ │ │ │ │ ├── Dustbin.vue │ │ │ │ │ ├── ItemTypes.ts │ │ │ │ │ ├── __tests__ │ │ │ │ │ │ └── multiple-target-integration.spec.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── single-target-in-iframe │ │ │ │ │ ├── Box.vue │ │ │ │ │ ├── Container.vue │ │ │ │ │ ├── Dustbin.vue │ │ │ │ │ ├── Frame.vue │ │ │ │ │ ├── ItemTypes.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── single-target │ │ │ │ │ ├── Box.vue │ │ │ │ │ ├── Container.vue │ │ │ │ │ ├── Dustbin.vue │ │ │ │ │ ├── ItemTypes.ts │ │ │ │ │ ├── __tests__ │ │ │ │ │ │ ├── Box.spec.ts │ │ │ │ │ │ └── single-target-integration.spec.ts │ │ │ │ │ └── index.ts │ │ │ │ └── stress-test │ │ │ │ │ ├── Box.vue │ │ │ │ │ ├── Container.vue │ │ │ │ │ ├── Dustbin.vue │ │ │ │ │ ├── ItemTypes.ts │ │ │ │ │ └── index.ts │ │ │ ├── 02-drag-around │ │ │ │ ├── custom-drag-layer │ │ │ │ │ ├── Box.vue │ │ │ │ │ ├── BoxDragPreview.vue │ │ │ │ │ ├── Container.vue │ │ │ │ │ ├── CustomDragLayer.vue │ │ │ │ │ ├── DraggableBox.vue │ │ │ │ │ ├── Example.vue │ │ │ │ │ ├── ItemTypes.ts │ │ │ │ │ ├── __tests__ │ │ │ │ │ │ └── custom-drag-layer-integration.spec.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── interfaces.ts │ │ │ │ │ └── snapToGrid.ts │ │ │ │ └── naive │ │ │ │ │ ├── Box.vue │ │ │ │ │ ├── Container.vue │ │ │ │ │ ├── Example.vue │ │ │ │ │ ├── ItemTypes.ts │ │ │ │ │ ├── __tests__ │ │ │ │ │ └── drag-around-naive-integration.spec.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── interfaces.ts │ │ │ ├── 03-nesting │ │ │ │ ├── drag-sources │ │ │ │ │ ├── Colors.ts │ │ │ │ │ ├── Container.vue │ │ │ │ │ ├── SourceBox.vue │ │ │ │ │ ├── StatefulTargetBox.vue │ │ │ │ │ ├── TargetBox.vue │ │ │ │ │ ├── __tests__ │ │ │ │ │ │ └── dragSources.spec.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── interfaces.ts │ │ │ │ └── drop-targets │ │ │ │ │ ├── Box.vue │ │ │ │ │ ├── Container.vue │ │ │ │ │ ├── Dustbin.vue │ │ │ │ │ ├── ItemTypes.ts │ │ │ │ │ └── index.ts │ │ │ ├── 04-sortable │ │ │ │ ├── cancel-on-drop-outside │ │ │ │ │ ├── Card.vue │ │ │ │ │ ├── Container.vue │ │ │ │ │ ├── ItemTypes.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── indicator │ │ │ │ │ ├── Card.vue │ │ │ │ │ ├── Container.vue │ │ │ │ │ ├── ItemTypes.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── simple │ │ │ │ │ ├── Card.vue │ │ │ │ │ ├── Container.vue │ │ │ │ │ ├── ItemTypes.ts │ │ │ │ │ └── index.ts │ │ │ │ └── stress-test │ │ │ │ │ ├── Card.vue │ │ │ │ │ ├── Container.vue │ │ │ │ │ ├── ItemTypes.ts │ │ │ │ │ ├── SortableStressTest.vue │ │ │ │ │ └── index.ts │ │ │ ├── 05-customize │ │ │ │ ├── drop-effects │ │ │ │ │ ├── Container.vue │ │ │ │ │ ├── ItemTypes.ts │ │ │ │ │ ├── SourceBox.vue │ │ │ │ │ ├── TargetBox.vue │ │ │ │ │ └── index.ts │ │ │ │ └── handles-and-previews │ │ │ │ │ ├── BoxWithHandle.vue │ │ │ │ │ ├── BoxWithImage.vue │ │ │ │ │ ├── Container.vue │ │ │ │ │ ├── ItemTypes.ts │ │ │ │ │ ├── boxImage.ts │ │ │ │ │ └── index.ts │ │ │ └── 06-other │ │ │ │ ├── native-files │ │ │ │ ├── Container.vue │ │ │ │ ├── FileList.vue │ │ │ │ ├── TargetBox.vue │ │ │ │ └── index.ts │ │ │ │ └── native-html │ │ │ │ ├── Container.vue │ │ │ │ ├── HTMLContent.vue │ │ │ │ ├── TargetBox.vue │ │ │ │ └── index.ts │ │ ├── plugins │ │ │ ├── markdown-it │ │ │ │ └── transform-demo.ts │ │ │ └── vite │ │ │ │ └── md-transform.ts │ │ ├── theme │ │ │ ├── Layout.vue │ │ │ ├── index.ts │ │ │ └── override.css │ │ └── utils │ │ │ └── highlight.ts │ │ ├── components.d.ts │ │ ├── en │ │ ├── example │ │ │ ├── customize │ │ │ │ ├── drop-effects.md │ │ │ │ └── handles-and-previews.md │ │ │ ├── drag-around │ │ │ │ ├── custom-drag-layer.md │ │ │ │ └── naive.md │ │ │ ├── dustbin │ │ │ │ ├── copy-or-move.md │ │ │ │ ├── iframe.md │ │ │ │ ├── multiple-targets.md │ │ │ │ ├── single-target.md │ │ │ │ └── stress-test.md │ │ │ ├── index.md │ │ │ ├── nesting │ │ │ │ ├── drag-sources.md │ │ │ │ └── drop-targets.md │ │ │ ├── other │ │ │ │ ├── native-files.md │ │ │ │ └── native-html.md │ │ │ └── sortable │ │ │ │ ├── cancel-on-drop-outside.md │ │ │ │ ├── indicator.md │ │ │ │ ├── simple.md │ │ │ │ └── stress-test.md │ │ ├── guide │ │ │ ├── backend │ │ │ │ ├── html5.md │ │ │ │ ├── test.md │ │ │ │ └── touch.md │ │ │ ├── components │ │ │ │ ├── dnd-provider.md │ │ │ │ └── drag-preview-image.md │ │ │ ├── composition │ │ │ │ ├── index.md │ │ │ │ ├── use-drag-layer.md │ │ │ │ ├── use-drag.md │ │ │ │ └── use-drop.md │ │ │ ├── faq.md │ │ │ ├── index.md │ │ │ ├── monitors │ │ │ │ ├── drag-layer-monitor.md │ │ │ │ ├── drag-source-monitor.md │ │ │ │ └── drop-target-monitor.md │ │ │ ├── overview.md │ │ │ ├── v1-to-v2.md │ │ │ └── vue2.md │ │ └── index.md │ │ ├── example │ │ ├── customize │ │ │ ├── drop-effects.md │ │ │ └── handles-and-previews.md │ │ ├── drag-around │ │ │ ├── custom-drag-layer.md │ │ │ └── naive.md │ │ ├── dustbin │ │ │ ├── copy-or-move.md │ │ │ ├── iframe.md │ │ │ ├── multiple-targets.md │ │ │ ├── single-target.md │ │ │ └── stress-test.md │ │ ├── index.md │ │ ├── nesting │ │ │ ├── drag-sources.md │ │ │ └── drop-targets.md │ │ ├── other │ │ │ ├── native-files.md │ │ │ └── native-html.md │ │ └── sortable │ │ │ ├── cancel-on-drop-outside.md │ │ │ ├── indicator.md │ │ │ ├── simple.md │ │ │ └── stress-test.md │ │ ├── guide │ │ ├── backend │ │ │ ├── html5.md │ │ │ ├── test.md │ │ │ └── touch.md │ │ ├── components │ │ │ ├── dnd-provider.md │ │ │ └── drag-preview-image.md │ │ ├── composition │ │ │ ├── index.md │ │ │ ├── use-drag-layer.md │ │ │ ├── use-drag.md │ │ │ └── use-drop.md │ │ ├── faq.md │ │ ├── index.md │ │ ├── monitors │ │ │ ├── drag-layer-monitor.md │ │ │ ├── drag-source-monitor.md │ │ │ └── drop-target-monitor.md │ │ ├── overview.md │ │ ├── v1-to-v2.md │ │ └── vue2.md │ │ ├── index.md │ │ └── public │ │ ├── vercel.json │ │ └── vue3-dnd.svg ├── test-utils │ ├── CHANGELOG.md │ ├── package.json │ ├── src │ │ ├── index.ts │ │ ├── renderer.ts │ │ ├── testingLibraryEvents.ts │ │ ├── utils.ts │ │ └── wrappers.ts │ └── tsconfig.json ├── test-vue2 │ ├── .gitignore │ ├── CHANGELOG.md │ ├── README.md │ ├── favicon.svg │ ├── index.html │ ├── package.json │ ├── src │ │ ├── App.vue │ │ ├── components │ │ │ └── single-target │ │ │ │ ├── Box.vue │ │ │ │ ├── Container.vue │ │ │ │ ├── Dustbin.vue │ │ │ │ ├── ItemTypes.ts │ │ │ │ └── index.ts │ │ ├── main.ts │ │ ├── shims-vue.d.ts │ │ ├── style.css │ │ └── vite-env.d.ts │ ├── tsconfig.json │ └── vite.config.ts └── vue3-dnd │ ├── CHANGELOG.md │ ├── README.md │ ├── README_ZH.md │ ├── package.json │ ├── scripts │ └── switch-vue-version.ts │ ├── src │ ├── core │ │ ├── DndContext.ts │ │ ├── DndProvider.ts │ │ ├── DragPreviewImage.ts │ │ ├── __tests__ │ │ │ ├── DndProvider.spec.ts │ │ │ └── DragPreviewImage.spec.ts │ │ └── index.ts │ ├── hooks │ │ ├── __tests__ │ │ │ ├── useDrag.spec.ts │ │ │ ├── useDragLayer.spec.ts │ │ │ └── useDrop.spec.ts │ │ ├── index.ts │ │ ├── types.ts │ │ ├── useCollectedProps.ts │ │ ├── useCollector.ts │ │ ├── useConnector.ts │ │ ├── useDrag │ │ │ ├── DragSourceImpl.ts │ │ │ ├── __tests__ │ │ │ │ └── DragSourceImpl.spec.ts │ │ │ ├── connectors.ts │ │ │ ├── index.ts │ │ │ ├── useDrag.ts │ │ │ ├── useDragSource.ts │ │ │ ├── useDragSourceConnector.ts │ │ │ ├── useDragSourceMonitor.ts │ │ │ ├── useDragType.ts │ │ │ └── useRegisteredDragSource.ts │ │ ├── useDragDropManager.ts │ │ ├── useDragLayer.ts │ │ ├── useDrop │ │ │ ├── DropTargetImpl.ts │ │ │ ├── __tests__ │ │ │ │ └── DropTargetImpl.spec.ts │ │ │ ├── connectors.ts │ │ │ ├── index.ts │ │ │ ├── useAccept.ts │ │ │ ├── useDrop.ts │ │ │ ├── useDropTarget.ts │ │ │ ├── useDropTargetConnector.ts │ │ │ ├── useDropTargetMonitor.ts │ │ │ └── useRegisteredDropTarget.ts │ │ ├── useMonitorOutput.ts │ │ └── useOptionalFactory.ts │ ├── index.ts │ ├── internals │ │ ├── DragSourceMonitorImpl.ts │ │ ├── DropTargetMonitorImpl.ts │ │ ├── SourceConnector.ts │ │ ├── TargetConnector.ts │ │ ├── __tests__ │ │ │ ├── DragSourceMonitorImpl.spec.ts │ │ │ ├── DropTargetMonitorImpl.spec.ts │ │ │ ├── SourceConnector.spec.ts │ │ │ └── TargetConnector.spec.ts │ │ ├── index.ts │ │ ├── registration.ts │ │ ├── utils.ts │ │ └── wrapConnectorHooks.ts │ └── types │ │ ├── connectors.ts │ │ ├── index.ts │ │ ├── monitors.ts │ │ ├── options.ts │ │ └── utils.ts │ └── tsconfig.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── scripts └── release.ts ├── tsconfig.json ├── tsconfig.node.json ├── vitest.config.ts └── vitest └── setup.ts /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/actions/deploy-docs/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/.github/actions/deploy-docs/action.yml -------------------------------------------------------------------------------- /.github/actions/pnpm/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/.github/actions/pnpm/action.yml -------------------------------------------------------------------------------- /.github/workflows/changesets-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/.github/workflows/changesets-release.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/deploy-web.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/.github/workflows/deploy-web.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | pnpm run commitlint 5 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npm run lint-staged 5 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/.npmrc -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /.stylelintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/.stylelintignore -------------------------------------------------------------------------------- /.stylelintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/.stylelintrc -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- 1 | www.vue3-dnd.com 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/README.md -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ['@commitlint/config-conventional'], 3 | } 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/package.json -------------------------------------------------------------------------------- /packages/docs/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/CHANGELOG.md -------------------------------------------------------------------------------- /packages/docs/README.md: -------------------------------------------------------------------------------- 1 | # Vue3 DnD Docs 2 | -------------------------------------------------------------------------------- /packages/docs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/package.json -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/components/Demo.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/components/Demo.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/composables/lang.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/composables/lang.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/composables/useIsMobile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/composables/useIsMobile.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/config.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/copy-or-move/Box.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/copy-or-move/Box.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/copy-or-move/Container.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/copy-or-move/Container.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/copy-or-move/Dustbin.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/copy-or-move/Dustbin.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/copy-or-move/ItemTypes.ts: -------------------------------------------------------------------------------- 1 | export const ItemTypes = { 2 | BOX: 'box', 3 | } 4 | -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/copy-or-move/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/copy-or-move/index.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/multiple-targets/Box.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/multiple-targets/Box.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/multiple-targets/Container.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/multiple-targets/Container.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/multiple-targets/Dustbin.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/multiple-targets/Dustbin.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/multiple-targets/ItemTypes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/multiple-targets/ItemTypes.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/multiple-targets/__tests__/multiple-target-integration.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/multiple-targets/__tests__/multiple-target-integration.spec.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/multiple-targets/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/multiple-targets/index.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/single-target-in-iframe/Box.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/single-target-in-iframe/Box.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/single-target-in-iframe/Container.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/single-target-in-iframe/Container.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/single-target-in-iframe/Dustbin.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/single-target-in-iframe/Dustbin.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/single-target-in-iframe/Frame.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/single-target-in-iframe/Frame.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/single-target-in-iframe/ItemTypes.ts: -------------------------------------------------------------------------------- 1 | export const ItemTypes = { 2 | BOX: 'box', 3 | } 4 | -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/single-target-in-iframe/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/single-target-in-iframe/index.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/single-target/Box.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/single-target/Box.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/single-target/Container.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/single-target/Container.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/single-target/Dustbin.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/single-target/Dustbin.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/single-target/ItemTypes.ts: -------------------------------------------------------------------------------- 1 | export const ItemTypes = { 2 | BOX: 'box', 3 | } 4 | -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/single-target/__tests__/Box.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/single-target/__tests__/Box.spec.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/single-target/__tests__/single-target-integration.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/single-target/__tests__/single-target-integration.spec.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/single-target/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/single-target/index.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/stress-test/Box.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/stress-test/Box.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/stress-test/Container.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/stress-test/Container.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/stress-test/Dustbin.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/stress-test/Dustbin.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/stress-test/ItemTypes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/stress-test/ItemTypes.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/01-dustbin/stress-test/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/01-dustbin/stress-test/index.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/02-drag-around/custom-drag-layer/Box.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/02-drag-around/custom-drag-layer/Box.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/02-drag-around/custom-drag-layer/BoxDragPreview.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/02-drag-around/custom-drag-layer/BoxDragPreview.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/02-drag-around/custom-drag-layer/Container.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/02-drag-around/custom-drag-layer/Container.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/02-drag-around/custom-drag-layer/CustomDragLayer.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/02-drag-around/custom-drag-layer/CustomDragLayer.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/02-drag-around/custom-drag-layer/DraggableBox.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/02-drag-around/custom-drag-layer/DraggableBox.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/02-drag-around/custom-drag-layer/Example.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/02-drag-around/custom-drag-layer/Example.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/02-drag-around/custom-drag-layer/ItemTypes.ts: -------------------------------------------------------------------------------- 1 | export const ItemTypes = { 2 | BOX: 'box', 3 | } 4 | -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/02-drag-around/custom-drag-layer/__tests__/custom-drag-layer-integration.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/02-drag-around/custom-drag-layer/__tests__/custom-drag-layer-integration.spec.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/02-drag-around/custom-drag-layer/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/02-drag-around/custom-drag-layer/index.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/02-drag-around/custom-drag-layer/interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/02-drag-around/custom-drag-layer/interfaces.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/02-drag-around/custom-drag-layer/snapToGrid.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/02-drag-around/custom-drag-layer/snapToGrid.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/02-drag-around/naive/Box.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/02-drag-around/naive/Box.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/02-drag-around/naive/Container.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/02-drag-around/naive/Container.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/02-drag-around/naive/Example.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/02-drag-around/naive/Example.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/02-drag-around/naive/ItemTypes.ts: -------------------------------------------------------------------------------- 1 | export const ItemTypes = { 2 | BOX: 'box', 3 | } 4 | -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/02-drag-around/naive/__tests__/drag-around-naive-integration.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/02-drag-around/naive/__tests__/drag-around-naive-integration.spec.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/02-drag-around/naive/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/02-drag-around/naive/index.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/02-drag-around/naive/interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/02-drag-around/naive/interfaces.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/03-nesting/drag-sources/Colors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/03-nesting/drag-sources/Colors.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/03-nesting/drag-sources/Container.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/03-nesting/drag-sources/Container.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/03-nesting/drag-sources/SourceBox.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/03-nesting/drag-sources/SourceBox.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/03-nesting/drag-sources/StatefulTargetBox.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/03-nesting/drag-sources/StatefulTargetBox.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/03-nesting/drag-sources/TargetBox.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/03-nesting/drag-sources/TargetBox.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/03-nesting/drag-sources/__tests__/dragSources.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/03-nesting/drag-sources/__tests__/dragSources.spec.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/03-nesting/drag-sources/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/03-nesting/drag-sources/index.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/03-nesting/drag-sources/interfaces.ts: -------------------------------------------------------------------------------- 1 | export interface DragItem { 2 | type: string 3 | } 4 | -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/03-nesting/drop-targets/Box.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/03-nesting/drop-targets/Box.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/03-nesting/drop-targets/Container.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/03-nesting/drop-targets/Container.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/03-nesting/drop-targets/Dustbin.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/03-nesting/drop-targets/Dustbin.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/03-nesting/drop-targets/ItemTypes.ts: -------------------------------------------------------------------------------- 1 | export const ItemTypes = { 2 | BOX: 'box', 3 | } 4 | -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/03-nesting/drop-targets/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/03-nesting/drop-targets/index.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/04-sortable/cancel-on-drop-outside/Card.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/04-sortable/cancel-on-drop-outside/Card.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/04-sortable/cancel-on-drop-outside/Container.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/04-sortable/cancel-on-drop-outside/Container.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/04-sortable/cancel-on-drop-outside/ItemTypes.ts: -------------------------------------------------------------------------------- 1 | export const ItemTypes = { 2 | CARD: 'card', 3 | } 4 | -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/04-sortable/cancel-on-drop-outside/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/04-sortable/cancel-on-drop-outside/index.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/04-sortable/indicator/Card.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/04-sortable/indicator/Card.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/04-sortable/indicator/Container.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/04-sortable/indicator/Container.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/04-sortable/indicator/ItemTypes.ts: -------------------------------------------------------------------------------- 1 | export const ItemTypes = { 2 | CARD: 'card', 3 | } 4 | -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/04-sortable/indicator/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/04-sortable/indicator/index.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/04-sortable/simple/Card.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/04-sortable/simple/Card.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/04-sortable/simple/Container.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/04-sortable/simple/Container.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/04-sortable/simple/ItemTypes.ts: -------------------------------------------------------------------------------- 1 | export const ItemTypes = { 2 | CARD: 'card', 3 | } 4 | -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/04-sortable/simple/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/04-sortable/simple/index.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/04-sortable/stress-test/Card.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/04-sortable/stress-test/Card.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/04-sortable/stress-test/Container.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/04-sortable/stress-test/Container.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/04-sortable/stress-test/ItemTypes.ts: -------------------------------------------------------------------------------- 1 | export const ItemTypes = { 2 | CARD: 'card', 3 | } 4 | -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/04-sortable/stress-test/SortableStressTest.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/04-sortable/stress-test/SortableStressTest.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/04-sortable/stress-test/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/04-sortable/stress-test/index.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/05-customize/drop-effects/Container.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/05-customize/drop-effects/Container.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/05-customize/drop-effects/ItemTypes.ts: -------------------------------------------------------------------------------- 1 | export const ItemTypes = { 2 | BOX: 'box', 3 | } 4 | -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/05-customize/drop-effects/SourceBox.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/05-customize/drop-effects/SourceBox.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/05-customize/drop-effects/TargetBox.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/05-customize/drop-effects/TargetBox.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/05-customize/drop-effects/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/05-customize/drop-effects/index.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/05-customize/handles-and-previews/BoxWithHandle.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/05-customize/handles-and-previews/BoxWithHandle.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/05-customize/handles-and-previews/BoxWithImage.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/05-customize/handles-and-previews/BoxWithImage.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/05-customize/handles-and-previews/Container.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/05-customize/handles-and-previews/Container.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/05-customize/handles-and-previews/ItemTypes.ts: -------------------------------------------------------------------------------- 1 | export const ItemTypes = { 2 | BOX: 'box', 3 | } 4 | -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/05-customize/handles-and-previews/boxImage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/05-customize/handles-and-previews/boxImage.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/05-customize/handles-and-previews/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/05-customize/handles-and-previews/index.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/06-other/native-files/Container.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/06-other/native-files/Container.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/06-other/native-files/FileList.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/06-other/native-files/FileList.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/06-other/native-files/TargetBox.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/06-other/native-files/TargetBox.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/06-other/native-files/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/06-other/native-files/index.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/06-other/native-html/Container.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/06-other/native-html/Container.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/06-other/native-html/HTMLContent.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/06-other/native-html/HTMLContent.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/06-other/native-html/TargetBox.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/06-other/native-html/TargetBox.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/examples/06-other/native-html/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/examples/06-other/native-html/index.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/plugins/markdown-it/transform-demo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/plugins/markdown-it/transform-demo.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/plugins/vite/md-transform.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/plugins/vite/md-transform.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/theme/Layout.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/theme/Layout.vue -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/theme/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/theme/index.ts -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/theme/override.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/theme/override.css -------------------------------------------------------------------------------- /packages/docs/src/.vitepress/utils/highlight.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/.vitepress/utils/highlight.ts -------------------------------------------------------------------------------- /packages/docs/src/components.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/components.d.ts -------------------------------------------------------------------------------- /packages/docs/src/en/example/customize/drop-effects.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/example/customize/drop-effects.md -------------------------------------------------------------------------------- /packages/docs/src/en/example/customize/handles-and-previews.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/example/customize/handles-and-previews.md -------------------------------------------------------------------------------- /packages/docs/src/en/example/drag-around/custom-drag-layer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/example/drag-around/custom-drag-layer.md -------------------------------------------------------------------------------- /packages/docs/src/en/example/drag-around/naive.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/example/drag-around/naive.md -------------------------------------------------------------------------------- /packages/docs/src/en/example/dustbin/copy-or-move.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/example/dustbin/copy-or-move.md -------------------------------------------------------------------------------- /packages/docs/src/en/example/dustbin/iframe.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/example/dustbin/iframe.md -------------------------------------------------------------------------------- /packages/docs/src/en/example/dustbin/multiple-targets.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/example/dustbin/multiple-targets.md -------------------------------------------------------------------------------- /packages/docs/src/en/example/dustbin/single-target.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/example/dustbin/single-target.md -------------------------------------------------------------------------------- /packages/docs/src/en/example/dustbin/stress-test.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/example/dustbin/stress-test.md -------------------------------------------------------------------------------- /packages/docs/src/en/example/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/example/index.md -------------------------------------------------------------------------------- /packages/docs/src/en/example/nesting/drag-sources.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/example/nesting/drag-sources.md -------------------------------------------------------------------------------- /packages/docs/src/en/example/nesting/drop-targets.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/example/nesting/drop-targets.md -------------------------------------------------------------------------------- /packages/docs/src/en/example/other/native-files.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/example/other/native-files.md -------------------------------------------------------------------------------- /packages/docs/src/en/example/other/native-html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/example/other/native-html.md -------------------------------------------------------------------------------- /packages/docs/src/en/example/sortable/cancel-on-drop-outside.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/example/sortable/cancel-on-drop-outside.md -------------------------------------------------------------------------------- /packages/docs/src/en/example/sortable/indicator.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/example/sortable/indicator.md -------------------------------------------------------------------------------- /packages/docs/src/en/example/sortable/simple.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/example/sortable/simple.md -------------------------------------------------------------------------------- /packages/docs/src/en/example/sortable/stress-test.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/example/sortable/stress-test.md -------------------------------------------------------------------------------- /packages/docs/src/en/guide/backend/html5.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/guide/backend/html5.md -------------------------------------------------------------------------------- /packages/docs/src/en/guide/backend/test.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/guide/backend/test.md -------------------------------------------------------------------------------- /packages/docs/src/en/guide/backend/touch.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/guide/backend/touch.md -------------------------------------------------------------------------------- /packages/docs/src/en/guide/components/dnd-provider.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/guide/components/dnd-provider.md -------------------------------------------------------------------------------- /packages/docs/src/en/guide/components/drag-preview-image.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/guide/components/drag-preview-image.md -------------------------------------------------------------------------------- /packages/docs/src/en/guide/composition/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/guide/composition/index.md -------------------------------------------------------------------------------- /packages/docs/src/en/guide/composition/use-drag-layer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/guide/composition/use-drag-layer.md -------------------------------------------------------------------------------- /packages/docs/src/en/guide/composition/use-drag.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/guide/composition/use-drag.md -------------------------------------------------------------------------------- /packages/docs/src/en/guide/composition/use-drop.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/guide/composition/use-drop.md -------------------------------------------------------------------------------- /packages/docs/src/en/guide/faq.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/guide/faq.md -------------------------------------------------------------------------------- /packages/docs/src/en/guide/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/guide/index.md -------------------------------------------------------------------------------- /packages/docs/src/en/guide/monitors/drag-layer-monitor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/guide/monitors/drag-layer-monitor.md -------------------------------------------------------------------------------- /packages/docs/src/en/guide/monitors/drag-source-monitor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/guide/monitors/drag-source-monitor.md -------------------------------------------------------------------------------- /packages/docs/src/en/guide/monitors/drop-target-monitor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/guide/monitors/drop-target-monitor.md -------------------------------------------------------------------------------- /packages/docs/src/en/guide/overview.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/guide/overview.md -------------------------------------------------------------------------------- /packages/docs/src/en/guide/v1-to-v2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/guide/v1-to-v2.md -------------------------------------------------------------------------------- /packages/docs/src/en/guide/vue2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/guide/vue2.md -------------------------------------------------------------------------------- /packages/docs/src/en/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/en/index.md -------------------------------------------------------------------------------- /packages/docs/src/example/customize/drop-effects.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/example/customize/drop-effects.md -------------------------------------------------------------------------------- /packages/docs/src/example/customize/handles-and-previews.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/example/customize/handles-and-previews.md -------------------------------------------------------------------------------- /packages/docs/src/example/drag-around/custom-drag-layer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/example/drag-around/custom-drag-layer.md -------------------------------------------------------------------------------- /packages/docs/src/example/drag-around/naive.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/example/drag-around/naive.md -------------------------------------------------------------------------------- /packages/docs/src/example/dustbin/copy-or-move.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/example/dustbin/copy-or-move.md -------------------------------------------------------------------------------- /packages/docs/src/example/dustbin/iframe.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/example/dustbin/iframe.md -------------------------------------------------------------------------------- /packages/docs/src/example/dustbin/multiple-targets.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/example/dustbin/multiple-targets.md -------------------------------------------------------------------------------- /packages/docs/src/example/dustbin/single-target.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/example/dustbin/single-target.md -------------------------------------------------------------------------------- /packages/docs/src/example/dustbin/stress-test.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/example/dustbin/stress-test.md -------------------------------------------------------------------------------- /packages/docs/src/example/index.md: -------------------------------------------------------------------------------- 1 | # 示例 2 | 这里存放了一些简单的示例。 3 | 4 | [查看源码](https://github.com/hcg1023/vue3-dnd/tree/main/packages/docs/src/.vitepress/examples) 5 | -------------------------------------------------------------------------------- /packages/docs/src/example/nesting/drag-sources.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/example/nesting/drag-sources.md -------------------------------------------------------------------------------- /packages/docs/src/example/nesting/drop-targets.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/example/nesting/drop-targets.md -------------------------------------------------------------------------------- /packages/docs/src/example/other/native-files.md: -------------------------------------------------------------------------------- 1 | 演示本机文件拖放的示例。 2 | 3 | --- 4 | 5 | +++ @/.vitepress/examples/06-other/native-files 6 | -------------------------------------------------------------------------------- /packages/docs/src/example/other/native-html.md: -------------------------------------------------------------------------------- 1 | 演示本机 html 拖放的示例。非常适合从另一个选项卡或 iframe 拖动图像。 2 | 3 | --- 4 | 5 | +++ @/.vitepress/examples/06-other/native-html 6 | -------------------------------------------------------------------------------- /packages/docs/src/example/sortable/cancel-on-drop-outside.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/example/sortable/cancel-on-drop-outside.md -------------------------------------------------------------------------------- /packages/docs/src/example/sortable/indicator.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/example/sortable/indicator.md -------------------------------------------------------------------------------- /packages/docs/src/example/sortable/simple.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/example/sortable/simple.md -------------------------------------------------------------------------------- /packages/docs/src/example/sortable/stress-test.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/example/sortable/stress-test.md -------------------------------------------------------------------------------- /packages/docs/src/guide/backend/html5.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/guide/backend/html5.md -------------------------------------------------------------------------------- /packages/docs/src/guide/backend/test.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/guide/backend/test.md -------------------------------------------------------------------------------- /packages/docs/src/guide/backend/touch.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/guide/backend/touch.md -------------------------------------------------------------------------------- /packages/docs/src/guide/components/dnd-provider.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/guide/components/dnd-provider.md -------------------------------------------------------------------------------- /packages/docs/src/guide/components/drag-preview-image.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/guide/components/drag-preview-image.md -------------------------------------------------------------------------------- /packages/docs/src/guide/composition/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/guide/composition/index.md -------------------------------------------------------------------------------- /packages/docs/src/guide/composition/use-drag-layer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/guide/composition/use-drag-layer.md -------------------------------------------------------------------------------- /packages/docs/src/guide/composition/use-drag.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/guide/composition/use-drag.md -------------------------------------------------------------------------------- /packages/docs/src/guide/composition/use-drop.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/guide/composition/use-drop.md -------------------------------------------------------------------------------- /packages/docs/src/guide/faq.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/guide/faq.md -------------------------------------------------------------------------------- /packages/docs/src/guide/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/guide/index.md -------------------------------------------------------------------------------- /packages/docs/src/guide/monitors/drag-layer-monitor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/guide/monitors/drag-layer-monitor.md -------------------------------------------------------------------------------- /packages/docs/src/guide/monitors/drag-source-monitor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/guide/monitors/drag-source-monitor.md -------------------------------------------------------------------------------- /packages/docs/src/guide/monitors/drop-target-monitor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/guide/monitors/drop-target-monitor.md -------------------------------------------------------------------------------- /packages/docs/src/guide/overview.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/guide/overview.md -------------------------------------------------------------------------------- /packages/docs/src/guide/v1-to-v2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/guide/v1-to-v2.md -------------------------------------------------------------------------------- /packages/docs/src/guide/vue2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/guide/vue2.md -------------------------------------------------------------------------------- /packages/docs/src/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/index.md -------------------------------------------------------------------------------- /packages/docs/src/public/vercel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/public/vercel.json -------------------------------------------------------------------------------- /packages/docs/src/public/vue3-dnd.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/docs/src/public/vue3-dnd.svg -------------------------------------------------------------------------------- /packages/test-utils/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-utils/CHANGELOG.md -------------------------------------------------------------------------------- /packages/test-utils/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-utils/package.json -------------------------------------------------------------------------------- /packages/test-utils/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-utils/src/index.ts -------------------------------------------------------------------------------- /packages/test-utils/src/renderer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-utils/src/renderer.ts -------------------------------------------------------------------------------- /packages/test-utils/src/testingLibraryEvents.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-utils/src/testingLibraryEvents.ts -------------------------------------------------------------------------------- /packages/test-utils/src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-utils/src/utils.ts -------------------------------------------------------------------------------- /packages/test-utils/src/wrappers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-utils/src/wrappers.ts -------------------------------------------------------------------------------- /packages/test-utils/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-utils/tsconfig.json -------------------------------------------------------------------------------- /packages/test-vue2/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-vue2/.gitignore -------------------------------------------------------------------------------- /packages/test-vue2/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-vue2/CHANGELOG.md -------------------------------------------------------------------------------- /packages/test-vue2/README.md: -------------------------------------------------------------------------------- 1 | # Test Vue2 2 | 3 | 1. 需要 4 | -------------------------------------------------------------------------------- /packages/test-vue2/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-vue2/favicon.svg -------------------------------------------------------------------------------- /packages/test-vue2/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-vue2/index.html -------------------------------------------------------------------------------- /packages/test-vue2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-vue2/package.json -------------------------------------------------------------------------------- /packages/test-vue2/src/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-vue2/src/App.vue -------------------------------------------------------------------------------- /packages/test-vue2/src/components/single-target/Box.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-vue2/src/components/single-target/Box.vue -------------------------------------------------------------------------------- /packages/test-vue2/src/components/single-target/Container.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-vue2/src/components/single-target/Container.vue -------------------------------------------------------------------------------- /packages/test-vue2/src/components/single-target/Dustbin.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-vue2/src/components/single-target/Dustbin.vue -------------------------------------------------------------------------------- /packages/test-vue2/src/components/single-target/ItemTypes.ts: -------------------------------------------------------------------------------- 1 | export const ItemTypes = { 2 | BOX: 'box', 3 | } 4 | -------------------------------------------------------------------------------- /packages/test-vue2/src/components/single-target/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-vue2/src/components/single-target/index.ts -------------------------------------------------------------------------------- /packages/test-vue2/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-vue2/src/main.ts -------------------------------------------------------------------------------- /packages/test-vue2/src/shims-vue.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-vue2/src/shims-vue.d.ts -------------------------------------------------------------------------------- /packages/test-vue2/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-vue2/src/style.css -------------------------------------------------------------------------------- /packages/test-vue2/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /packages/test-vue2/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-vue2/tsconfig.json -------------------------------------------------------------------------------- /packages/test-vue2/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/test-vue2/vite.config.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/CHANGELOG.md -------------------------------------------------------------------------------- /packages/vue3-dnd/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/README.md -------------------------------------------------------------------------------- /packages/vue3-dnd/README_ZH.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/README_ZH.md -------------------------------------------------------------------------------- /packages/vue3-dnd/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/package.json -------------------------------------------------------------------------------- /packages/vue3-dnd/scripts/switch-vue-version.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/scripts/switch-vue-version.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/core/DndContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/core/DndContext.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/core/DndProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/core/DndProvider.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/core/DragPreviewImage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/core/DragPreviewImage.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/core/__tests__/DndProvider.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/core/__tests__/DndProvider.spec.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/core/__tests__/DragPreviewImage.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/core/__tests__/DragPreviewImage.spec.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/core/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/core/index.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/__tests__/useDrag.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/__tests__/useDrag.spec.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/__tests__/useDragLayer.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/__tests__/useDragLayer.spec.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/__tests__/useDrop.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/__tests__/useDrop.spec.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/index.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/types.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useCollectedProps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useCollectedProps.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useCollector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useCollector.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useConnector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useConnector.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useDrag/DragSourceImpl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useDrag/DragSourceImpl.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useDrag/__tests__/DragSourceImpl.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useDrag/__tests__/DragSourceImpl.spec.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useDrag/connectors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useDrag/connectors.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useDrag/index.ts: -------------------------------------------------------------------------------- 1 | export * from './useDrag.js' 2 | -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useDrag/useDrag.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useDrag/useDrag.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useDrag/useDragSource.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useDrag/useDragSource.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useDrag/useDragSourceConnector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useDrag/useDragSourceConnector.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useDrag/useDragSourceMonitor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useDrag/useDragSourceMonitor.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useDrag/useDragType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useDrag/useDragType.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useDrag/useRegisteredDragSource.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useDrag/useRegisteredDragSource.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useDragDropManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useDragDropManager.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useDragLayer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useDragLayer.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useDrop/DropTargetImpl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useDrop/DropTargetImpl.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useDrop/__tests__/DropTargetImpl.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useDrop/__tests__/DropTargetImpl.spec.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useDrop/connectors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useDrop/connectors.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useDrop/index.ts: -------------------------------------------------------------------------------- 1 | export * from './useDrop.js' 2 | -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useDrop/useAccept.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useDrop/useAccept.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useDrop/useDrop.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useDrop/useDrop.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useDrop/useDropTarget.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useDrop/useDropTarget.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useDrop/useDropTargetConnector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useDrop/useDropTargetConnector.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useDrop/useDropTargetMonitor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useDrop/useDropTargetMonitor.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useDrop/useRegisteredDropTarget.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useDrop/useRegisteredDropTarget.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useMonitorOutput.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useMonitorOutput.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/hooks/useOptionalFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/hooks/useOptionalFactory.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/index.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/internals/DragSourceMonitorImpl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/internals/DragSourceMonitorImpl.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/internals/DropTargetMonitorImpl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/internals/DropTargetMonitorImpl.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/internals/SourceConnector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/internals/SourceConnector.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/internals/TargetConnector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/internals/TargetConnector.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/internals/__tests__/DragSourceMonitorImpl.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/internals/__tests__/DragSourceMonitorImpl.spec.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/internals/__tests__/DropTargetMonitorImpl.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/internals/__tests__/DropTargetMonitorImpl.spec.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/internals/__tests__/SourceConnector.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/internals/__tests__/SourceConnector.spec.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/internals/__tests__/TargetConnector.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/internals/__tests__/TargetConnector.spec.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/internals/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/internals/index.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/internals/registration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/internals/registration.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/internals/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/internals/utils.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/internals/wrapConnectorHooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/internals/wrapConnectorHooks.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/types/connectors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/types/connectors.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/types/index.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/types/monitors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/types/monitors.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/types/options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/types/options.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/src/types/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/src/types/utils.ts -------------------------------------------------------------------------------- /packages/vue3-dnd/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/packages/vue3-dnd/tsconfig.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /scripts/release.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/scripts/release.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/tsconfig.node.json -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcg1023/vue3-dnd/HEAD/vitest.config.ts -------------------------------------------------------------------------------- /vitest/setup.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom' 2 | --------------------------------------------------------------------------------