diff --git a/frontend/package.json b/frontend/package.json index c6f07a13..be354489 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -40,6 +40,7 @@ "hls.js": "1.3.1", "jassub": "1.5.1", "lodash-es": "4.17.21", + "sortablejs": "1.15.0", "swiper": "9.0.3", "uuid": "9.0.0", "vue": "3.2.39", @@ -52,6 +53,7 @@ "@intlify/unplugin-vue-i18n": "0.8.1", "@types/dompurify": "2.3.3", "@types/lodash-es": "4.17.6", + "@types/sortablejs": "1.15.1", "@types/uuid": "9.0.0", "@typescript-eslint/eslint-plugin": "5.42.0", "@typescript-eslint/parser": "5.42.0", diff --git a/frontend/src/components/Buttons/QueueButton.vue b/frontend/src/components/Buttons/QueueButton.vue index 156bf861..8b8b58a5 100644 --- a/frontend/src/components/Buttons/QueueButton.vue +++ b/frontend/src/components/Buttons/QueueButton.vue @@ -4,6 +4,7 @@ :close-on-content-click="false" :persistent="!closeOnClick" :transition="'slide-y-transition'" + :width="listWidth" location="top"> - - - - - - + + @@ -70,37 +59,34 @@ - diff --git a/package-lock.json b/package-lock.json index ebd43b23..23d54e24 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,6 +35,7 @@ "hls.js": "1.3.1", "jassub": "1.5.1", "lodash-es": "4.17.21", + "sortablejs": "1.15.0", "swiper": "9.0.3", "uuid": "9.0.0", "vue": "3.2.39", @@ -47,6 +48,7 @@ "@intlify/unplugin-vue-i18n": "0.8.1", "@types/dompurify": "2.3.3", "@types/lodash-es": "4.17.6", + "@types/sortablejs": "1.15.1", "@types/uuid": "9.0.0", "@typescript-eslint/eslint-plugin": "5.42.0", "@typescript-eslint/parser": "5.42.0", @@ -3569,6 +3571,12 @@ "integrity": "sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==", "dev": true }, + "node_modules/@types/sortablejs": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/@types/sortablejs/-/sortablejs-1.15.1.tgz", + "integrity": "sha512-g/JwBNToh6oCTAwNS8UGVmjO7NLDKsejVhvE4x1eWiPTC3uCuNsa/TD4ssvX3du+MLiM+SHPNDuijp8y76JzLQ==", + "dev": true + }, "node_modules/@types/trusted-types": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.2.tgz", @@ -13809,6 +13817,11 @@ "node": ">=0.10.0" } }, + "node_modules/sortablejs": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.15.0.tgz", + "integrity": "sha512-bv9qgVMjUMf89wAvM6AxVvS/4MX3sPeN0+agqShejLU5z5GX4C75ow1O2e5k4L6XItUyAK3gH6AxSbXrOM5e8w==" + }, "node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",