Skip to content

Commit 79be8b7

Browse files
committed
refactor(forms): Migrate Forms.vue to Vue 3 Composition API
- Converted component to use Vue 3's Composition API with setup() - Removed duplicate function declarations and fixed syntax issues - Updated lifecycle hooks to use onMounted/onUnmounted - Fixed reactivity using ref and computed - Cleaned up event handling and component structure - Ensured compatibility with Vue 3 and Nextcloud ecosystem
1 parent 8fedc43 commit 79be8b7

File tree

9 files changed

+1993
-5164
lines changed

9 files changed

+1993
-5164
lines changed

package-lock.json

Lines changed: 1765 additions & 4883 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,29 +26,32 @@
2626
"stylelint:fix": "stylelint css/*.css css/*.scss src/**/*.vue --fix"
2727
},
2828
"browserslist": [
29-
"extends @nextcloud/browserslist-config"
29+
"last 2 versions",
30+
"> 1%",
31+
"not dead",
32+
"firefox esr"
3033
],
3134
"dependencies": {
3235
"@nextcloud/auth": "^2.5.3",
3336
"@nextcloud/axios": "^2.5.2",
34-
"@nextcloud/dialogs": "^6.4.1",
37+
"@nextcloud/dialogs": "^7.1.0",
3538
"@nextcloud/event-bus": "^3.3.3",
3639
"@nextcloud/files": "^3.12.0",
3740
"@nextcloud/initial-state": "^3.0.0",
3841
"@nextcloud/l10n": "^3.4.1",
3942
"@nextcloud/logger": "^3.0.2",
4043
"@nextcloud/moment": "^1.3.5",
4144
"@nextcloud/router": "^3.1.0",
42-
"@nextcloud/vue": "^8.34.0",
45+
"@nextcloud/vue": "^9.3.0",
4346
"debounce": "^3.0.0",
4447
"markdown-it": "^14.1.0",
4548
"p-queue": "^9.0.0",
4649
"qrcode": "^1.5.4",
4750
"v-click-outside": "^3.2.0",
48-
"vue": "^2.7.16",
51+
"vue": "^3.5.13",
4952
"vue-material-design-icons": "^5.3.1",
50-
"vue-router": "^3.6.5",
51-
"vuedraggable": "^2.24.3"
53+
"vue-router": "^4.5.0",
54+
"vuedraggable": "^4.1.0"
5255
},
5356
"devDependencies": {
5457
"@mdi/js": "^7.4.47",
@@ -58,7 +61,7 @@
5861
"@nextcloud/eslint-config": "^9.0.0-rc.5",
5962
"@nextcloud/prettier-config": "^1.2.0",
6063
"@nextcloud/stylelint-config": "^3.1.1",
61-
"@nextcloud/vite-config": "^1.7.2",
64+
"@nextcloud/vite-config": "^2.5.2",
6265
"@playwright/test": "^1.56.1",
6366
"@vue/tsconfig": "^0.5.1",
6467
"eslint-plugin-prettier": "^5.5.4",

0 commit comments

Comments
 (0)