diff --git a/.eslintrc.js b/.eslintrc.js
index 740eece..2a1d0bc 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -18,7 +18,8 @@ module.exports = {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"vue/script-setup-uses-vars": "warn",
- "vue/no-mutating-props": "off"
+ "vue/no-mutating-props": "off",
+ "vue/multi-word-component-names": "off"
},
globals: {
defineProps: "readonly",
diff --git a/package-lock.json b/package-lock.json
index 2e028fb..fc13bb5 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -14,10 +14,10 @@
"vue": "^3.2.26",
"vue-next-select": "^2.10.2",
"vue-panzoom": "^1.1.6",
- "vue-sortable": "github:Netbel/vue-sortable#master-fix",
"vue-textarea-autosize": "^1.1.1",
"vue-toastification": "^2.0.0-rc.1",
- "vue-transition-expand": "^0.1.0"
+ "vue-transition-expand": "^0.1.0",
+ "vuedraggable": "^4.1.0"
},
"devDependencies": {
"@ivanv/vue-collapse-transition": "^1.0.2",
@@ -11483,14 +11483,6 @@
"panzoom": "^9.4.1"
}
},
- "node_modules/vue-sortable": {
- "version": "0.1.3",
- "resolved": "git+ssh://git@github.com/Netbel/vue-sortable.git#f4d4870ace71ea59bd79252eb2ec1cf6bfb02fe7",
- "license": "MIT",
- "dependencies": {
- "sortablejs": "^1.4.2"
- }
- },
"node_modules/vue-style-loader": {
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.3.tgz",
@@ -11549,6 +11541,17 @@
"resolved": "https://registry.npmjs.org/vue/-/vue-2.6.14.tgz",
"integrity": "sha512-x2284lgYvjOMj3Za7kqzRcUSxBboHqtgRE2zlos1qWaOye5yUmHn42LB1250NJBLRwEcdrB0JRwyPTEPhfQjiQ=="
},
+ "node_modules/vuedraggable": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/vuedraggable/-/vuedraggable-4.1.0.tgz",
+ "integrity": "sha512-FU5HCWBmsf20GpP3eudURW3WdWTKIbEIQxh9/8GE806hydR9qZqRRxRE3RjqX7PkuLuMQG/A7n3cfj9rCEchww==",
+ "dependencies": {
+ "sortablejs": "1.14.0"
+ },
+ "peerDependencies": {
+ "vue": "^3.0.1"
+ }
+ },
"node_modules/watchpack": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.3.1.tgz",
@@ -20849,13 +20852,6 @@
"panzoom": "^9.4.1"
}
},
- "vue-sortable": {
- "version": "git+ssh://git@github.com/Netbel/vue-sortable.git#f4d4870ace71ea59bd79252eb2ec1cf6bfb02fe7",
- "from": "vue-sortable@github:Netbel/vue-sortable#master-fix",
- "requires": {
- "sortablejs": "^1.4.2"
- }
- },
"vue-style-loader": {
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.3.tgz",
@@ -20916,6 +20912,14 @@
}
}
},
+ "vuedraggable": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/vuedraggable/-/vuedraggable-4.1.0.tgz",
+ "integrity": "sha512-FU5HCWBmsf20GpP3eudURW3WdWTKIbEIQxh9/8GE806hydR9qZqRRxRE3RjqX7PkuLuMQG/A7n3cfj9rCEchww==",
+ "requires": {
+ "sortablejs": "1.14.0"
+ }
+ },
"watchpack": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.3.1.tgz",
diff --git a/package.json b/package.json
index 6ec5c64..ef8f886 100644
--- a/package.json
+++ b/package.json
@@ -14,10 +14,10 @@
"vue": "^3.2.26",
"vue-next-select": "^2.10.2",
"vue-panzoom": "^1.1.6",
- "vue-sortable": "github:Netbel/vue-sortable#master-fix",
"vue-textarea-autosize": "^1.1.1",
"vue-toastification": "^2.0.0-rc.1",
- "vue-transition-expand": "^0.1.0"
+ "vue-transition-expand": "^0.1.0",
+ "vuedraggable": "^4.1.0"
},
"devDependencies": {
"@ivanv/vue-collapse-transition": "^1.0.2",
diff --git a/src/components/features/Achievement.vue b/src/components/features/Achievement.vue
index ef2e378..3957430 100644
--- a/src/components/features/Achievement.vue
+++ b/src/components/features/Achievement.vue
@@ -21,20 +21,46 @@
-
diff --git a/src/components/features/Bar.vue b/src/components/features/Bar.vue
index 5b3908d..141729e 100644
--- a/src/components/features/Bar.vue
+++ b/src/components/features/Bar.vue
@@ -30,55 +30,102 @@
-
diff --git a/src/components/features/Challenge.vue b/src/components/features/Challenge.vue
index 96e9eba..03ed804 100644
--- a/src/components/features/Challenge.vue
+++ b/src/components/features/Challenge.vue
@@ -18,61 +18,113 @@
{{ buttonText }}
-
-
diff --git a/src/components/features/Clickable.vue b/src/components/features/Clickable.vue
index 89ebe4d..9cad225 100644
--- a/src/components/features/Clickable.vue
+++ b/src/components/features/Clickable.vue
@@ -13,7 +13,7 @@
:class="{
feature: true,
clickable: true,
- can: props.canClick,
+ can: canClick,
locked: !canClick,
small,
...classes
@@ -26,36 +26,73 @@
-