Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

Commit 1569042

Browse files
committed
fix: replace vue.draggable.next with zhyswan-draggable
Reason: Author doesn't maintain vue port anymore. See: SortableJS/vue.draggable.next#140 (comment)
1 parent 53dc7d1 commit 1569042

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@
5151
"vue-flatpickr-component": "9.0.6",
5252
"vue-i18n": "9.2.0-beta.30",
5353
"vue-router": "4.0.15",
54-
"vuedraggable": "4.1.0",
5554
"vuex": "4.0.2",
56-
"workbox-precaching": "6.5.3"
55+
"workbox-precaching": "6.5.3",
56+
"zhyswan-vuedraggable": "4.1.3"
5757
},
5858
"devDependencies": {
5959
"@4tw/cypress-drag-drop": "2.1.0",

src/components/home/navigation.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
<script setup lang="ts">
160160
import {ref, computed, onMounted, onBeforeMount} from 'vue'
161161
import {useStore} from 'vuex'
162-
import draggable from 'vuedraggable'
162+
import draggable from 'zhyswan-vuedraggable'
163163
import {SortableEvent} from 'sortablejs'
164164
165165
import ListSettingsDropdown from '@/components/list/list-settings-dropdown.vue'

src/views/list/ListKanban.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@
228228

229229
<script lang="ts">
230230
import {defineComponent} from 'vue'
231-
import draggable from 'vuedraggable'
231+
import draggable from 'zhyswan-vuedraggable'
232232
import cloneDeep from 'lodash.clonedeep'
233233
234234
import BucketModel from '../../models/bucket'

src/views/list/ListList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ import Nothing from '@/components/misc/nothing.vue'
146146
import Pagination from '@/components/misc/pagination.vue'
147147
import {ALPHABETICAL_SORT} from '@/components/list/partials/filters.vue'
148148
149-
import draggable from 'vuedraggable'
149+
import draggable from 'zhyswan-vuedraggable'
150150
import {calculateItemPosition} from '../../helpers/calculateItemPosition'
151151
152152
function sortTasks(tasks) {

yarn.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12683,13 +12683,6 @@ [email protected]:
1268312683
"@vue/server-renderer" "3.2.34"
1268412684
"@vue/shared" "3.2.34"
1268512685

12686-
12687-
version "4.1.0"
12688-
resolved "https://registry.yarnpkg.com/vuedraggable/-/vuedraggable-4.1.0.tgz#edece68adb8a4d9e06accff9dfc9040e66852270"
12689-
integrity sha512-FU5HCWBmsf20GpP3eudURW3WdWTKIbEIQxh9/8GE806hydR9qZqRRxRE3RjqX7PkuLuMQG/A7n3cfj9rCEchww==
12690-
dependencies:
12691-
sortablejs "1.14.0"
12692-
1269312686
1269412687
version "4.0.2"
1269512688
resolved "https://registry.yarnpkg.com/vuex/-/vuex-4.0.2.tgz#f896dbd5bf2a0e963f00c67e9b610de749ccacc9"
@@ -13177,6 +13170,13 @@ yocto-queue@^1.0.0:
1317713170
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.0.0.tgz#7f816433fb2cbc511ec8bf7d263c3b58a1a3c251"
1317813171
integrity sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==
1317913172

13173+
13174+
version "4.1.3"
13175+
resolved "https://registry.yarnpkg.com/zhyswan-vuedraggable/-/zhyswan-vuedraggable-4.1.3.tgz#0304bbf5c676f355e6052919c531802976492993"
13176+
integrity sha512-q4Mp52tQIvTAWG0CKxLCVLyG/3RnIskDxoJvfjDZ2kM8yTcMkY80VTc8rd3q9KwqJ0UVtjEGLufb23sjDp0peQ==
13177+
dependencies:
13178+
sortablejs "1.14.0"
13179+
1318013180
zip-stream@^4.1.0:
1318113181
version "4.1.0"
1318213182
resolved "https://registry.yarnpkg.com/zip-stream/-/zip-stream-4.1.0.tgz#51dd326571544e36aa3f756430b313576dc8fc79"

0 commit comments

Comments
 (0)