Michael Wang пре 3 година
родитељ
комит
06e95a5407
4 измењених фајлова са 169 додато и 143 уклоњено
  1. 6 7
      package.json
  2. 147 117
      pnpm-lock.yaml
  3. 15 18
      src/components/QmDialog.vue
  4. 1 1
      vite.config.ts

+ 6 - 7
package.json

@@ -27,7 +27,7 @@
     "tailwindcss": "^2.2.19",
     "ua-parser-js": "^1.0.2",
     "viewerjs": "^1.10.2",
-    "vue": "^3.2.24",
+    "vue": "^3.2.26",
     "vue-router": "4.0.10"
   },
   "devDependencies": {
@@ -36,17 +36,16 @@
     "@types/ua-parser-js": "^0.7.36",
     "@typescript-eslint/eslint-plugin": "^5.6.0",
     "@typescript-eslint/parser": "^5.6.0",
-    "@vitejs/plugin-vue": "^1.10.2",
-    "@vue/compiler-sfc": "^3.2.24",
-    "@vue/runtime-core": "^3.2.24",
+    "@vitejs/plugin-vue": "^2.0.0",
+    "@vue/runtime-core": "^3.2.26",
     "autoprefixer": "^10.4.0",
     "eslint": "^8.4.1",
     "eslint-config-prettier": "^8.3.0",
     "eslint-plugin-vue": "^8.2.0",
-    "postcss": "^8.4.4",
+    "postcss": "^8.4.5",
     "prettier": "^2.5.1",
-    "typescript": "^4.5.2",
-    "unplugin-vue-components": "^0.17.6",
+    "typescript": "^4.5.3",
+    "unplugin-vue-components": "^0.17.8",
     "vite": "^2.7.1",
     "vue-eslint-parser": "^8.0.1",
     "vue-tsc": "^0.29.8"

+ 147 - 117
pnpm-lock.yaml

@@ -7,9 +7,8 @@ specifiers:
   '@types/ua-parser-js': ^0.7.36
   '@typescript-eslint/eslint-plugin': ^5.6.0
   '@typescript-eslint/parser': ^5.6.0
-  '@vitejs/plugin-vue': ^1.10.2
-  '@vue/compiler-sfc': ^3.2.24
-  '@vue/runtime-core': ^3.2.24
+  '@vitejs/plugin-vue': ^2.0.0
+  '@vue/runtime-core': ^3.2.26
   ant-design-vue: 2.2.6
   autoprefixer: ^10.4.0
   axios: ^0.24.0
@@ -23,22 +22,22 @@ specifiers:
   mitt: ^3.0.0
   moment: ^2.29.1
   pinia: ^2.0.6
-  postcss: ^8.4.4
+  postcss: ^8.4.5
   prettier: ^2.5.1
   tailwindcss: ^2.2.19
-  typescript: ^4.5.2
+  typescript: ^4.5.3
   ua-parser-js: ^1.0.2
-  unplugin-vue-components: ^0.17.6
+  unplugin-vue-components: ^0.17.8
   viewerjs: ^1.10.2
   vite: ^2.7.1
-  vue: ^3.2.24
+  vue: ^3.2.26
   vue-eslint-parser: ^8.0.1
   vue-router: 4.0.10
   vue-tsc: ^0.29.8
 
 dependencies:
-  '@ant-design/icons-vue': 6.0.1_vue@3.2.24
-  ant-design-vue: 2.2.6_e9ad48123e44f1efa3c90c8e8375ea6d
+  '@ant-design/icons-vue': 6.0.1_vue@3.2.26
+  ant-design-vue: 2.2.6_vue@3.2.26
   axios: 0.24.0
   axios-progress-bar: 1.2.0_axios@0.24.0
   axios-retry: 3.2.4
@@ -46,33 +45,32 @@ dependencies:
   lodash-es: 4.17.21
   mitt: 3.0.0
   moment: 2.29.1
-  pinia: 2.0.6_typescript@4.5.2+vue@3.2.24
-  tailwindcss: 2.2.19_6b4e3d148bdcb715d5f821ed0a9c268b
+  pinia: 2.0.6_typescript@4.5.3+vue@3.2.26
+  tailwindcss: 2.2.19_16a290f6d0e3717bf6d2667234aebd30
   ua-parser-js: 1.0.2
   viewerjs: 1.10.2
-  vue: 3.2.24
-  vue-router: 4.0.10_vue@3.2.24
+  vue: 3.2.26
+  vue-router: 4.0.10_vue@3.2.26
 
 devDependencies:
   '@types/lodash-es': 4.17.5
   '@types/node': 16.11.12
   '@types/ua-parser-js': 0.7.36
-  '@typescript-eslint/eslint-plugin': 5.6.0_16d83f5c41c3abb1061a82b07c18e4f3
-  '@typescript-eslint/parser': 5.6.0_eslint@8.4.1+typescript@4.5.2
-  '@vitejs/plugin-vue': 1.10.2_vite@2.7.1
-  '@vue/compiler-sfc': 3.2.24
-  '@vue/runtime-core': 3.2.24
-  autoprefixer: 10.4.0_postcss@8.4.4
+  '@typescript-eslint/eslint-plugin': 5.6.0_0d0cecf582ba45923647a091322795b0
+  '@typescript-eslint/parser': 5.6.0_eslint@8.4.1+typescript@4.5.3
+  '@vitejs/plugin-vue': 2.0.0_vite@2.7.1+vue@3.2.26
+  '@vue/runtime-core': 3.2.26
+  autoprefixer: 10.4.0_postcss@8.4.5
   eslint: 8.4.1
   eslint-config-prettier: 8.3.0_eslint@8.4.1
   eslint-plugin-vue: 8.2.0_eslint@8.4.1
-  postcss: 8.4.4
+  postcss: 8.4.5
   prettier: 2.5.1
-  typescript: 4.5.2
-  unplugin-vue-components: 0.17.6_vite@2.7.1+vue@3.2.24
+  typescript: 4.5.3
+  unplugin-vue-components: 0.17.8_vite@2.7.1+vue@3.2.26
   vite: 2.7.1
   vue-eslint-parser: 8.0.1_eslint@8.4.1
-  vue-tsc: 0.29.8_typescript@4.5.2
+  vue-tsc: 0.29.8_typescript@4.5.3
 
 packages:
 
@@ -86,7 +84,7 @@ packages:
     resolution: {integrity: sha1-hjDajrRHGkqr2u19H/apfcss8Fo=, tarball: '@ant-design/icons-svg/download/@ant-design/icons-svg-4.2.1.tgz'}
     dev: false
 
-  /@ant-design/icons-vue/6.0.1_vue@3.2.24:
+  /@ant-design/icons-vue/6.0.1_vue@3.2.26:
     resolution: {integrity: sha1-nYBMPHTSz6+XyxjlgtO5QAk09f0=, tarball: '@ant-design/icons-vue/download/@ant-design/icons-vue-6.0.1.tgz'}
     peerDependencies:
       vue: '>=3.0.3'
@@ -95,7 +93,7 @@ packages:
       '@ant-design/icons-svg': 4.2.1
       '@types/lodash': 4.14.177
       lodash: 4.17.21
-      vue: 3.2.24
+      vue: 3.2.26
     dev: false
 
   /@antfu/utils/0.3.0:
@@ -259,7 +257,7 @@ packages:
     resolution: {integrity: sha1-m9C0fya1oxUb4hukzp9fpFfF8ZA=, tarball: '@types/ua-parser-js/download/@types/ua-parser-js-0.7.36.tgz'}
     dev: true
 
-  /@typescript-eslint/eslint-plugin/5.6.0_16d83f5c41c3abb1061a82b07c18e4f3:
+  /@typescript-eslint/eslint-plugin/5.6.0_0d0cecf582ba45923647a091322795b0:
     resolution: {integrity: sha512-MIbeMy5qfLqtgs1hWd088k1hOuRsN9JrHUPwVVKCD99EOUqScd7SrwoZl4Gso05EAP9w1kvLWUVGJOVpRPkDPA==, tarball: '@typescript-eslint/eslint-plugin/download/@typescript-eslint/eslint-plugin-5.6.0.tgz'}
     engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
     peerDependencies:
@@ -270,8 +268,8 @@ packages:
       typescript:
         optional: true
     dependencies:
-      '@typescript-eslint/experimental-utils': 5.6.0_eslint@8.4.1+typescript@4.5.2
-      '@typescript-eslint/parser': 5.6.0_eslint@8.4.1+typescript@4.5.2
+      '@typescript-eslint/experimental-utils': 5.6.0_eslint@8.4.1+typescript@4.5.3
+      '@typescript-eslint/parser': 5.6.0_eslint@8.4.1+typescript@4.5.3
       '@typescript-eslint/scope-manager': 5.6.0
       debug: 4.3.2
       eslint: 8.4.1
@@ -279,13 +277,13 @@ packages:
       ignore: 5.1.9
       regexpp: 3.2.0
       semver: 7.3.5
-      tsutils: 3.21.0_typescript@4.5.2
-      typescript: 4.5.2
+      tsutils: 3.21.0_typescript@4.5.3
+      typescript: 4.5.3
     transitivePeerDependencies:
       - supports-color
     dev: true
 
-  /@typescript-eslint/experimental-utils/5.6.0_eslint@8.4.1+typescript@4.5.2:
+  /@typescript-eslint/experimental-utils/5.6.0_eslint@8.4.1+typescript@4.5.3:
     resolution: {integrity: sha512-VDoRf3Qj7+W3sS/ZBXZh3LBzp0snDLEgvp6qj0vOAIiAPM07bd5ojQ3CTzF/QFl5AKh7Bh1ycgj6lFBJHUt/DA==, tarball: '@typescript-eslint/experimental-utils/download/@typescript-eslint/experimental-utils-5.6.0.tgz'}
     engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
     peerDependencies:
@@ -294,7 +292,7 @@ packages:
       '@types/json-schema': 7.0.9
       '@typescript-eslint/scope-manager': 5.6.0
       '@typescript-eslint/types': 5.6.0
-      '@typescript-eslint/typescript-estree': 5.6.0_typescript@4.5.2
+      '@typescript-eslint/typescript-estree': 5.6.0_typescript@4.5.3
       eslint: 8.4.1
       eslint-scope: 5.1.1
       eslint-utils: 3.0.0_eslint@8.4.1
@@ -303,7 +301,7 @@ packages:
       - typescript
     dev: true
 
-  /@typescript-eslint/parser/5.6.0_eslint@8.4.1+typescript@4.5.2:
+  /@typescript-eslint/parser/5.6.0_eslint@8.4.1+typescript@4.5.3:
     resolution: {integrity: sha512-YVK49NgdUPQ8SpCZaOpiq1kLkYRPMv9U5gcMrywzI8brtwZjr/tG3sZpuHyODt76W/A0SufNjYt9ZOgrC4tLIQ==, tarball: '@typescript-eslint/parser/download/@typescript-eslint/parser-5.6.0.tgz'}
     engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
     peerDependencies:
@@ -315,10 +313,10 @@ packages:
     dependencies:
       '@typescript-eslint/scope-manager': 5.6.0
       '@typescript-eslint/types': 5.6.0
-      '@typescript-eslint/typescript-estree': 5.6.0_typescript@4.5.2
+      '@typescript-eslint/typescript-estree': 5.6.0_typescript@4.5.3
       debug: 4.3.2
       eslint: 8.4.1
-      typescript: 4.5.2
+      typescript: 4.5.3
     transitivePeerDependencies:
       - supports-color
     dev: true
@@ -336,7 +334,7 @@ packages:
     engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
     dev: true
 
-  /@typescript-eslint/typescript-estree/5.6.0_typescript@4.5.2:
+  /@typescript-eslint/typescript-estree/5.6.0_typescript@4.5.3:
     resolution: {integrity: sha512-92vK5tQaE81rK7fOmuWMrSQtK1IMonESR+RJR2Tlc7w4o0MeEdjgidY/uO2Gobh7z4Q1hhS94Cr7r021fMVEeA==, tarball: '@typescript-eslint/typescript-estree/download/@typescript-eslint/typescript-estree-5.6.0.tgz'}
     engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
     peerDependencies:
@@ -351,8 +349,8 @@ packages:
       globby: 11.0.4
       is-glob: 4.0.3
       semver: 7.3.5
-      tsutils: 3.21.0_typescript@4.5.2
-      typescript: 4.5.2
+      tsutils: 3.21.0_typescript@4.5.3
+      typescript: 4.5.3
     transitivePeerDependencies:
       - supports-color
     dev: true
@@ -365,13 +363,15 @@ packages:
       eslint-visitor-keys: 3.1.0
     dev: true
 
-  /@vitejs/plugin-vue/1.10.2_vite@2.7.1:
-    resolution: {integrity: sha512-/QJ0Z9qfhAFtKRY+r57ziY4BSbGUTGsPRMpB/Ron3QPwBZM4OZAZHdTa4a8PafCwU5DTatXG8TMDoP8z+oDqJw==, tarball: '@vitejs/plugin-vue/download/@vitejs/plugin-vue-1.10.2.tgz'}
+  /@vitejs/plugin-vue/2.0.0_vite@2.7.1+vue@3.2.26:
+    resolution: {integrity: sha512-4Xn1h9OcaAf7KYrvz2oEi52fCCCLcCzyr3pDOrzYTWrs0DrzNOXt9fT5IiGb1f/uoNTdX3aAkXVGNXrGkzF/zw==, tarball: '@vitejs/plugin-vue/download/@vitejs/plugin-vue-2.0.0.tgz'}
     engines: {node: '>=12.0.0'}
     peerDependencies:
       vite: ^2.5.10
+      vue: ^3.2.25
     dependencies:
       vite: 2.7.1
+      vue: 3.2.26
     dev: true
 
   /@volar/code-gen/0.29.8:
@@ -441,77 +441,108 @@ packages:
       '@vue/shared': 3.2.24
       estree-walker: 2.0.2
       source-map: 0.6.1
+    dev: true
+
+  /@vue/compiler-core/3.2.26:
+    resolution: {integrity: sha512-N5XNBobZbaASdzY9Lga2D9Lul5vdCIOXvUMd6ThcN8zgqQhPKfCV+wfAJNNJKQkSHudnYRO2gEB+lp0iN3g2Tw==, tarball: '@vue/compiler-core/download/@vue/compiler-core-3.2.26.tgz'}
+    dependencies:
+      '@babel/parser': 7.16.4
+      '@vue/shared': 3.2.26
+      estree-walker: 2.0.2
+      source-map: 0.6.1
+    dev: false
 
   /@vue/compiler-dom/3.2.24:
     resolution: {integrity: sha512-KQEm8r0JFsrNNIfbD28pcwMvHpcJcwjVR1XWFcD0yyQ8eREd7IXhT7J6j7iNCSE/TIo78NOvkwbyX+lnIm836w==, tarball: '@vue/compiler-dom/download/@vue/compiler-dom-3.2.24.tgz'}
     dependencies:
       '@vue/compiler-core': 3.2.24
       '@vue/shared': 3.2.24
+    dev: true
 
-  /@vue/compiler-sfc/3.2.24:
-    resolution: {integrity: sha512-YGPcIvVJp2qTPkuT6kT43Eo1xjstyY4bmuiSV31my4bQMBFVR26ANmifUSt759Blok71gK0WzfIZHbcOKYOeKA==, tarball: '@vue/compiler-sfc/download/@vue/compiler-sfc-3.2.24.tgz'}
+  /@vue/compiler-dom/3.2.26:
+    resolution: {integrity: sha512-smBfaOW6mQDxcT3p9TKT6mE22vjxjJL50GFVJiI0chXYGU/xzC05QRGrW3HHVuJrmLTLx5zBhsZ2dIATERbarg==, tarball: '@vue/compiler-dom/download/@vue/compiler-dom-3.2.26.tgz'}
+    dependencies:
+      '@vue/compiler-core': 3.2.26
+      '@vue/shared': 3.2.26
+    dev: false
+
+  /@vue/compiler-sfc/3.2.26:
+    resolution: {integrity: sha512-ePpnfktV90UcLdsDQUh2JdiTuhV0Skv2iYXxfNMOK/F3Q+2BO0AulcVcfoksOpTJGmhhfosWfMyEaEf0UaWpIw==, tarball: '@vue/compiler-sfc/download/@vue/compiler-sfc-3.2.26.tgz'}
     dependencies:
       '@babel/parser': 7.16.4
-      '@vue/compiler-core': 3.2.24
-      '@vue/compiler-dom': 3.2.24
-      '@vue/compiler-ssr': 3.2.24
-      '@vue/ref-transform': 3.2.24
-      '@vue/shared': 3.2.24
+      '@vue/compiler-core': 3.2.26
+      '@vue/compiler-dom': 3.2.26
+      '@vue/compiler-ssr': 3.2.26
+      '@vue/reactivity-transform': 3.2.26
+      '@vue/shared': 3.2.26
       estree-walker: 2.0.2
       magic-string: 0.25.7
-      postcss: 8.4.4
+      postcss: 8.4.5
       source-map: 0.6.1
+    dev: false
 
-  /@vue/compiler-ssr/3.2.24:
-    resolution: {integrity: sha512-E1HHShNsGVWXxs68LDOUuI+Bzak9W/Ier/366aKDBFuwvfwgruwq6abhMfj6pSDZpwZ/PXnfliyl/m7qBSq6gw==, tarball: '@vue/compiler-ssr/download/@vue/compiler-ssr-3.2.24.tgz'}
+  /@vue/compiler-ssr/3.2.26:
+    resolution: {integrity: sha512-2mywLX0ODc4Zn8qBoA2PDCsLEZfpUGZcyoFRLSOjyGGK6wDy2/5kyDOWtf0S0UvtoyVq95OTSGIALjZ4k2q/ag==, tarball: '@vue/compiler-ssr/download/@vue/compiler-ssr-3.2.26.tgz'}
     dependencies:
-      '@vue/compiler-dom': 3.2.24
-      '@vue/shared': 3.2.24
+      '@vue/compiler-dom': 3.2.26
+      '@vue/shared': 3.2.26
+    dev: false
 
   /@vue/devtools-api/6.0.0-beta.20.1:
     resolution: {integrity: sha512-R2rfiRY+kZugzWh9ZyITaovx+jpU4vgivAEAiz80kvh3yviiTU3CBuGuyWpSwGz9/C7TkSWVM/FtQRGlZ16n8Q==, tarball: '@vue/devtools-api/download/@vue/devtools-api-6.0.0-beta.20.1.tgz'}
     dev: false
 
+  /@vue/reactivity-transform/3.2.26:
+    resolution: {integrity: sha512-XKMyuCmzNA7nvFlYhdKwD78rcnmPb7q46uoR00zkX6yZrUmcCQ5OikiwUEVbvNhL5hBJuvbSO95jB5zkUon+eQ==, tarball: '@vue/reactivity-transform/download/@vue/reactivity-transform-3.2.26.tgz'}
+    dependencies:
+      '@babel/parser': 7.16.4
+      '@vue/compiler-core': 3.2.26
+      '@vue/shared': 3.2.26
+      estree-walker: 2.0.2
+      magic-string: 0.25.7
+    dev: false
+
   /@vue/reactivity/3.2.24:
     resolution: {integrity: sha512-5eVsO9wfQ5erCMSRBjpqLkkI+LglJS7E0oLZJs2gsChpvOjH2Uwt3Hk1nVv0ywStnWg71Ykn3SyQwtnl7PknOQ==, tarball: '@vue/reactivity/download/@vue/reactivity-3.2.24.tgz'}
     dependencies:
       '@vue/shared': 3.2.24
+    dev: true
 
-  /@vue/ref-transform/3.2.24:
-    resolution: {integrity: sha512-j6oNbsGLvea2rF8GQB9w6q7UFL1So7J+t6ducaMeWPSyjYZ+slWpwPVK6mmyghg5oGqC41R+HC5BV036Y0KhXQ==, tarball: '@vue/ref-transform/download/@vue/ref-transform-3.2.24.tgz'}
+  /@vue/reactivity/3.2.26:
+    resolution: {integrity: sha512-h38bxCZLW6oFJVDlCcAiUKFnXI8xP8d+eO0pcDxx+7dQfSPje2AO6M9S9QO6MrxQB7fGP0DH0dYQ8ksf6hrXKQ==, tarball: '@vue/reactivity/download/@vue/reactivity-3.2.26.tgz'}
     dependencies:
-      '@babel/parser': 7.16.4
-      '@vue/compiler-core': 3.2.24
-      '@vue/shared': 3.2.24
-      estree-walker: 2.0.2
-      magic-string: 0.25.7
+      '@vue/shared': 3.2.26
 
-  /@vue/runtime-core/3.2.24:
-    resolution: {integrity: sha512-ReI06vGgYuW0G8FlOcAOzMklVDJSxKuRhYzT8j+a8BTfs1945kxo1Th28BPvasyYx8J+LMeZ0HqpPH9yGXvWvg==, tarball: '@vue/runtime-core/download/@vue/runtime-core-3.2.24.tgz'}
+  /@vue/runtime-core/3.2.26:
+    resolution: {integrity: sha512-BcYi7qZ9Nn+CJDJrHQ6Zsmxei2hDW0L6AB4vPvUQGBm2fZyC0GXd/4nVbyA2ubmuhctD5RbYY8L+5GUJszv9mQ==, tarball: '@vue/runtime-core/download/@vue/runtime-core-3.2.26.tgz'}
     dependencies:
-      '@vue/reactivity': 3.2.24
-      '@vue/shared': 3.2.24
+      '@vue/reactivity': 3.2.26
+      '@vue/shared': 3.2.26
 
-  /@vue/runtime-dom/3.2.24:
-    resolution: {integrity: sha512-piqsabtIEUKkMGSJlOyKUonZEDtdwOpR6teQ8EKbH8PX9sxfAt9snLnFJldUhhyYrLIyDtnjwajfJ7/XtpD4JA==, tarball: '@vue/runtime-dom/download/@vue/runtime-dom-3.2.24.tgz'}
+  /@vue/runtime-dom/3.2.26:
+    resolution: {integrity: sha512-dY56UIiZI+gjc4e8JQBwAifljyexfVCkIAu/WX8snh8vSOt/gMSEGwPRcl2UpYpBYeyExV8WCbgvwWRNt9cHhQ==, tarball: '@vue/runtime-dom/download/@vue/runtime-dom-3.2.26.tgz'}
     dependencies:
-      '@vue/runtime-core': 3.2.24
-      '@vue/shared': 3.2.24
+      '@vue/runtime-core': 3.2.26
+      '@vue/shared': 3.2.26
       csstype: 2.6.19
     dev: false
 
-  /@vue/server-renderer/3.2.24_vue@3.2.24:
-    resolution: {integrity: sha512-DqiCRDxTbv67Hw5ImiqnLIQbPGtIwWLLfEcVHoEnu1f21EMTB6LfoS69EQddd8VyfN5kfX3Fmz27/hrFPpRaMQ==, tarball: '@vue/server-renderer/download/@vue/server-renderer-3.2.24.tgz'}
+  /@vue/server-renderer/3.2.26_vue@3.2.26:
+    resolution: {integrity: sha512-Jp5SggDUvvUYSBIvYEhy76t4nr1vapY/FIFloWmQzn7UxqaHrrBpbxrqPcTrSgGrcaglj0VBp22BKJNre4aA1w==, tarball: '@vue/server-renderer/download/@vue/server-renderer-3.2.26.tgz'}
     peerDependencies:
-      vue: 3.2.24
+      vue: 3.2.26
     dependencies:
-      '@vue/compiler-ssr': 3.2.24
-      '@vue/shared': 3.2.24
-      vue: 3.2.24
+      '@vue/compiler-ssr': 3.2.26
+      '@vue/shared': 3.2.26
+      vue: 3.2.26
     dev: false
 
   /@vue/shared/3.2.24:
     resolution: {integrity: sha512-BUgRiZCkCrqDps5aQ9av05xcge3rn092ztKIh17tHkeEFgP4zfXMQWBA2zfdoCdCEdBL26xtOv+FZYiOp9RUDA==, tarball: '@vue/shared/download/@vue/shared-3.2.24.tgz'}
+    dev: true
+
+  /@vue/shared/3.2.26:
+    resolution: {integrity: sha512-vPV6Cq+NIWbH5pZu+V+2QHE9y1qfuTq49uNWw4f7FDEeZaDU2H2cx5jcUZOAKW7qTrUS4k6qZPbMy1x4N96nbA==, tarball: '@vue/shared/download/@vue/shared-3.2.26.tgz'}
 
   /acorn-jsx/5.3.2_acorn@8.6.0:
     resolution: {integrity: sha1-ftW7VZCLOy8bxVxq8WU7rafweTc=, tarball: acorn-jsx/download/acorn-jsx-5.3.2.tgz}
@@ -577,16 +608,15 @@ packages:
     dependencies:
       color-convert: 2.0.1
 
-  /ant-design-vue/2.2.6_e9ad48123e44f1efa3c90c8e8375ea6d:
+  /ant-design-vue/2.2.6_vue@3.2.26:
     resolution: {integrity: sha1-Ks9F6ouyu4oOSKg/qcaoJ/71I28=, tarball: ant-design-vue/download/ant-design-vue-2.2.6.tgz}
     peerDependencies:
       '@vue/compiler-sfc': '>=3.1.0'
       vue: '>=3.1.0'
     dependencies:
-      '@ant-design/icons-vue': 6.0.1_vue@3.2.24
+      '@ant-design/icons-vue': 6.0.1_vue@3.2.26
       '@babel/runtime': 7.16.3
       '@simonwep/pickr': 1.8.2
-      '@vue/compiler-sfc': 3.2.24
       array-tree-filter: 2.1.0
       async-validator: 3.5.2
       dom-align: 1.12.2
@@ -598,8 +628,8 @@ packages:
       resize-observer-polyfill: 1.5.1
       scroll-into-view-if-needed: 2.2.28
       shallow-equal: 1.2.1
-      vue: 3.2.24
-      vue-types: 3.0.2_vue@3.2.24
+      vue: 3.2.26
+      vue-types: 3.0.2_vue@3.2.26
       warning: 4.0.3
     dev: false
 
@@ -639,7 +669,7 @@ packages:
     resolution: {integrity: sha1-aOhmqWgk6LJpT/eoMcGiXETV5QA=, tarball: async-validator/download/async-validator-3.5.2.tgz?cache=0&sync_timestamp=1634529774878&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fasync-validator%2Fdownload%2Fasync-validator-3.5.2.tgz}
     dev: false
 
-  /autoprefixer/10.4.0_postcss@8.4.4:
+  /autoprefixer/10.4.0_postcss@8.4.5:
     resolution: {integrity: sha1-w1d+syoQeaRA7CU+QE6vHrITiMg=, tarball: autoprefixer/download/autoprefixer-10.4.0.tgz}
     engines: {node: ^10 || ^12 || >=14}
     hasBin: true
@@ -651,7 +681,7 @@ packages:
       fraction.js: 4.1.2
       normalize-range: 0.1.2
       picocolors: 1.0.0
-      postcss: 8.4.4
+      postcss: 8.4.5
       postcss-value-parser: 4.1.0
     dev: true
 
@@ -1925,7 +1955,7 @@ packages:
     resolution: {integrity: sha1-8fBh3o9qS/AiiS4tEoI0+5gwKXI=, tarball: picomatch/download/picomatch-2.3.0.tgz}
     engines: {node: '>=8.6'}
 
-  /pinia/2.0.6_typescript@4.5.2+vue@3.2.24:
+  /pinia/2.0.6_typescript@4.5.3+vue@3.2.26:
     resolution: {integrity: sha512-01mP4+KapIcTNSYLhQESy6GW0N8vY5wX3UqOwkC87e7DPjEusNJ8bENrKqdvZaRHbB2rDMOONeAbwMa3+n1/rw==, tarball: pinia/download/pinia-2.0.6.tgz}
     peerDependencies:
       '@vue/composition-api': ^1.4.0
@@ -1938,9 +1968,9 @@ packages:
         optional: true
     dependencies:
       '@vue/devtools-api': 6.0.0-beta.20.1
-      typescript: 4.5.2
-      vue: 3.2.24
-      vue-demi: 0.12.1_vue@3.2.24
+      typescript: 4.5.3
+      vue: 3.2.26
+      vue-demi: 0.12.1_vue@3.2.26
     dev: false
 
   /postcss-js/3.0.3:
@@ -1948,7 +1978,7 @@ packages:
     engines: {node: '>=10.0'}
     dependencies:
       camelcase-css: 2.0.1
-      postcss: 8.4.4
+      postcss: 8.4.5
     dev: false
 
   /postcss-load-config/3.1.0:
@@ -1965,13 +1995,13 @@ packages:
       yaml: 1.10.2
     dev: false
 
-  /postcss-nested/5.0.6_postcss@8.4.4:
+  /postcss-nested/5.0.6_postcss@8.4.5:
     resolution: {integrity: sha1-RmND9/yNPUavPn26P81H0FKpRbw=, tarball: postcss-nested/download/postcss-nested-5.0.6.tgz}
     engines: {node: '>=12.0'}
     peerDependencies:
       postcss: ^8.2.14
     dependencies:
-      postcss: 8.4.4
+      postcss: 8.4.5
       postcss-selector-parser: 6.0.6
     dev: false
 
@@ -1990,8 +2020,8 @@ packages:
   /postcss-value-parser/4.1.0:
     resolution: {integrity: sha1-RD9qIM7WSBor2k+oUypuVdeJoss=, tarball: postcss-value-parser/download/postcss-value-parser-4.1.0.tgz}
 
-  /postcss/8.4.4:
-    resolution: {integrity: sha512-joU6fBsN6EIer28Lj6GDFoC/5yOZzLCfn0zHAn/MYXI7aPt4m4hK5KC5ovEZXy+lnCjmYIbQWngvju2ddyEr8Q==, tarball: postcss/download/postcss-8.4.4.tgz}
+  /postcss/8.4.5:
+    resolution: {integrity: sha512-jBDboWM8qpaqwkMwItqTQTiFikhs/67OYVvblFFTM7MrZjt6yMKd6r2kgXizEbTTljacm4NldIlZnhbjr84QYg==, tarball: postcss/download/postcss-8.4.5.tgz}
     engines: {node: ^10 || ^12 || >=14}
     dependencies:
       nanoid: 3.1.30
@@ -2127,7 +2157,7 @@ packages:
     dependencies:
       commander: 6.2.1
       glob: 7.2.0
-      postcss: 8.4.4
+      postcss: 8.4.5
       postcss-selector-parser: 6.0.6
     dev: false
 
@@ -2292,7 +2322,7 @@ packages:
     dependencies:
       has-flag: 4.0.0
 
-  /tailwindcss/2.2.19_6b4e3d148bdcb715d5f821ed0a9c268b:
+  /tailwindcss/2.2.19_16a290f6d0e3717bf6d2667234aebd30:
     resolution: {integrity: sha1-VA5GSDLNRiu5ZJwUhLCjgxXCZTw=, tarball: tailwindcss/download/tailwindcss-2.2.19.tgz}
     engines: {node: '>=12.13.0'}
     hasBin: true
@@ -2301,7 +2331,7 @@ packages:
       postcss: ^8.0.9
     dependencies:
       arg: 5.0.1
-      autoprefixer: 10.4.0_postcss@8.4.4
+      autoprefixer: 10.4.0_postcss@8.4.5
       bytes: 3.1.1
       chalk: 4.1.2
       chokidar: 3.5.2
@@ -2322,10 +2352,10 @@ packages:
       node-emoji: 1.11.0
       normalize-path: 3.0.0
       object-hash: 2.2.0
-      postcss: 8.4.4
+      postcss: 8.4.5
       postcss-js: 3.0.3
       postcss-load-config: 3.1.0
-      postcss-nested: 5.0.6_postcss@8.4.4
+      postcss-nested: 5.0.6_postcss@8.4.5
       postcss-selector-parser: 6.0.6
       postcss-value-parser: 4.1.0
       pretty-hrtime: 1.0.3
@@ -2368,14 +2398,14 @@ packages:
     resolution: {integrity: sha1-zy04vcNKE0vK8QkcQfZhni9nLQA=, tarball: tslib/download/tslib-1.14.1.tgz}
     dev: true
 
-  /tsutils/3.21.0_typescript@4.5.2:
+  /tsutils/3.21.0_typescript@4.5.3:
     resolution: {integrity: sha1-tIcX05TOpsHglpg+7Vjp1hcVtiM=, tarball: tsutils/download/tsutils-3.21.0.tgz}
     engines: {node: '>= 6'}
     peerDependencies:
       typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta'
     dependencies:
       tslib: 1.14.1
-      typescript: 4.5.2
+      typescript: 4.5.3
     dev: true
 
   /type-check/0.4.0:
@@ -2390,8 +2420,8 @@ packages:
     engines: {node: '>=10'}
     dev: true
 
-  /typescript/4.5.2:
-    resolution: {integrity: sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==, tarball: typescript/download/typescript-4.5.2.tgz}
+  /typescript/4.5.3:
+    resolution: {integrity: sha512-eVYaEHALSt+s9LbvgEv4Ef+Tdq7hBiIZgii12xXJnukryt3pMgJf6aKhoCZ3FWQsu6sydEnkg11fYXLzhLBjeQ==, tarball: typescript/download/typescript-4.5.3.tgz}
     engines: {node: '>=4.2.0'}
     hasBin: true
     dev: true
@@ -2405,8 +2435,8 @@ packages:
     engines: {node: '>= 10.0.0'}
     dev: false
 
-  /unplugin-vue-components/0.17.6_vite@2.7.1+vue@3.2.24:
-    resolution: {integrity: sha512-Z2XvwKeY7/++MucRKzJihDsbdL8rFb71VfmuhtMtLE8zurjFu57XKFx0RNFUD5zD4g0HEyR9GGTwXu2YI0rang==, tarball: unplugin-vue-components/download/unplugin-vue-components-0.17.6.tgz}
+  /unplugin-vue-components/0.17.8_vite@2.7.1+vue@3.2.26:
+    resolution: {integrity: sha512-biyIE8TQwolK/ii3vu3xJ4w83+bliAgka3AuhU2cX5OOvJP+xuq39Skhf+BkNkZoY8xoeU65WHOgLFl//m3/YQ==, tarball: unplugin-vue-components/download/unplugin-vue-components-0.17.8.tgz}
     engines: {node: '>=14'}
     peerDependencies:
       '@babel/parser': ^7.15.8
@@ -2428,7 +2458,7 @@ packages:
       minimatch: 3.0.4
       resolve: 1.20.0
       unplugin: 0.2.21_vite@2.7.1
-      vue: 3.2.24
+      vue: 3.2.26
     transitivePeerDependencies:
       - rollup
       - supports-color
@@ -2494,7 +2524,7 @@ packages:
         optional: true
     dependencies:
       esbuild: 0.13.15
-      postcss: 8.4.4
+      postcss: 8.4.5
       resolve: 1.20.0
       rollup: 2.60.1
     optionalDependencies:
@@ -2622,7 +2652,7 @@ packages:
       vscode-typescript-languageservice: 0.29.8
     dev: true
 
-  /vue-demi/0.12.1_vue@3.2.24:
+  /vue-demi/0.12.1_vue@3.2.26:
     resolution: {integrity: sha1-9+GO++z/0RqwadFHLXoG4xm0F0w=, tarball: vue-demi/download/vue-demi-0.12.1.tgz}
     engines: {node: '>=12'}
     hasBin: true
@@ -2634,7 +2664,7 @@ packages:
       '@vue/composition-api':
         optional: true
     dependencies:
-      vue: 3.2.24
+      vue: 3.2.26
     dev: false
 
   /vue-eslint-parser/8.0.1_eslint@8.4.1:
@@ -2655,44 +2685,44 @@ packages:
       - supports-color
     dev: true
 
-  /vue-router/4.0.10_vue@3.2.24:
+  /vue-router/4.0.10_vue@3.2.26:
     resolution: {integrity: sha1-7I/aAylJsqMdMnMXD483bobrUqw=, tarball: vue-router/download/vue-router-4.0.10.tgz}
     peerDependencies:
       vue: ^3.0.0
     dependencies:
       '@vue/devtools-api': 6.0.0-beta.20.1
-      vue: 3.2.24
+      vue: 3.2.26
     dev: false
 
-  /vue-tsc/0.29.8_typescript@4.5.2:
+  /vue-tsc/0.29.8_typescript@4.5.3:
     resolution: {integrity: sha512-pT0wLRjvRuSmB+J4WJT6uuV9mO0KtSSXEAtaVXZQzyk5+DJdbLIQTbRce/TXSkfqt1l1WogO78RjtOJFiMCgfQ==, tarball: vue-tsc/download/vue-tsc-0.29.8.tgz}
     hasBin: true
     peerDependencies:
       typescript: '*'
     dependencies:
       '@volar/shared': 0.29.8
-      typescript: 4.5.2
+      typescript: 4.5.3
       vscode-vue-languageservice: 0.29.8
     dev: true
 
-  /vue-types/3.0.2_vue@3.2.24:
+  /vue-types/3.0.2_vue@3.2.26:
     resolution: {integrity: sha1-7BbgXUEsA4Ji/B76TOuWR+f7YB0=, tarball: vue-types/download/vue-types-3.0.2.tgz}
     engines: {node: '>=10.15.0'}
     peerDependencies:
       vue: ^3.0.0
     dependencies:
       is-plain-object: 3.0.1
-      vue: 3.2.24
+      vue: 3.2.26
     dev: false
 
-  /vue/3.2.24:
-    resolution: {integrity: sha512-PvCklXNfcUMyeP/a9nME27C32IipwUDoS45rDyKn5+RQrWyjL+0JAJtf98HL6y9bfqQRTlYjSowWEB1nXxvG5Q==, tarball: vue/download/vue-3.2.24.tgz}
+  /vue/3.2.26:
+    resolution: {integrity: sha512-KD4lULmskL5cCsEkfhERVRIOEDrfEL9CwAsLYpzptOGjaGFNWo3BQ9g8MAb7RaIO71rmVOziZ/uEN/rHwcUIhg==, tarball: vue/download/vue-3.2.26.tgz}
     dependencies:
-      '@vue/compiler-dom': 3.2.24
-      '@vue/compiler-sfc': 3.2.24
-      '@vue/runtime-dom': 3.2.24
-      '@vue/server-renderer': 3.2.24_vue@3.2.24
-      '@vue/shared': 3.2.24
+      '@vue/compiler-dom': 3.2.26
+      '@vue/compiler-sfc': 3.2.26
+      '@vue/runtime-dom': 3.2.26
+      '@vue/server-renderer': 3.2.26_vue@3.2.26
+      '@vue/shared': 3.2.26
     dev: false
 
   /warning/4.0.3:

+ 15 - 18
src/components/QmDialog.vue

@@ -45,24 +45,21 @@ import { store } from "@/store/store";
 
 // 因为要更改props取得的值,所以不需要reactivity
 // eslint-disable-next-line vue/no-setup-props-destructure
-const { top, width, height, title, zIndex, enableResize } = withDefaults(
-  defineProps<{
-    title: string;
-    top?: string;
-    width?: string;
-    height?: string;
-    zIndex?: number;
-    enableResize?: boolean;
-  }>(),
-  {
-    title: "无标题",
-    top: "10%",
-    width: "30%",
-    height: "30%",
-    zIndex: 1020,
-    enableResize: true,
-  }
-);
+const {
+  top = "10%",
+  width = "30%",
+  height = "30%",
+  title = "无标题",
+  zIndex = 1020,
+  enableResize = true,
+} = defineProps<{
+  title: string;
+  top?: string;
+  width?: string;
+  height?: string;
+  zIndex?: number;
+  enableResize?: boolean;
+}>();
 
 defineEmits(["close"]);
 const positionStyle = reactive({

+ 1 - 1
vite.config.ts

@@ -10,7 +10,7 @@ const path = require("path");
 export default defineConfig({
   plugins: [
     vue({
-      refTransform: true,
+      reactivityTransform: true,
     }),
     ViteComponents({
       resolvers: [AntDesignVueResolver()],