diff --git a/package.json b/package.json index fa0380329..7a682f9f4 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "qs": "~6.11.2", "sortablejs": "~1.15.2", "tinymce": "^6.8.3", - "vue": "~3.4.15", + "vue": "~3.4.19", "vue-echarts": "^6.6.8", "vue-i18n": "9.9.1", "vue-router": "~4.2.5", @@ -68,8 +68,8 @@ "@iconify/json": "^2.2.180", "@types/lodash-es": "~4.17.12", "@types/node": "~20.11.16", - "@typescript-eslint/eslint-plugin": "~6.21.0", - "@typescript-eslint/parser": "~6.21.0", + "@typescript-eslint/eslint-plugin": "~7.0.1", + "@typescript-eslint/parser": "~7.0.1", "@umijs/openapi": "^1.10.1", "@vitejs/plugin-legacy": "~5.3.0", "@vitejs/plugin-vue": "~5.0.4", @@ -89,7 +89,7 @@ "lightningcss": "^1.23.0", "lint-staged": "~15.2.2", "mockjs": "~1.1.0", - "msw": "^2.1.7", + "msw": "^2.2.0", "postcss": "~8.4.34", "postcss-html": "~1.6.0", "postcss-less": "~6.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b8c2790d9..ed316d89c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,22 +10,22 @@ importers: dependencies: '@admin-pkg/vite-plugin-msw': specifier: workspace:* - version: file:packages/vite-plugin-msw(msw@2.1.7) + version: file:packages/vite-plugin-msw(msw@2.2.0) '@ant-design/icons-vue': specifier: ~7.0.1 - version: 7.0.1(vue@3.4.15) + version: 7.0.1(vue@3.4.19) '@iconify/vue': specifier: ^4.1.1 - version: 4.1.1(vue@3.4.15) + version: 4.1.1(vue@3.4.19) '@tinymce/tinymce-vue': specifier: ^5.1.1 - version: 5.1.1(vue@3.4.15) + version: 5.1.1(vue@3.4.19) '@vueuse/core': specifier: ~10.7.2 - version: 10.7.2(vue@3.4.15) + version: 10.7.2(vue@3.4.19) ant-design-vue: specifier: ~4.1.2 - version: 4.1.2(vue@3.4.15) + version: 4.1.2(vue@3.4.19) axios: specifier: ~1.6.7 version: 1.6.7(debug@4.3.4) @@ -49,7 +49,7 @@ importers: version: 1.0.0-1 pinia: specifier: ~2.1.7 - version: 2.1.7(typescript@5.2.2)(vue@3.4.15) + version: 2.1.7(typescript@5.2.2)(vue@3.4.19) qiniu-js: specifier: ^3.4.2 version: 3.4.2 @@ -63,23 +63,23 @@ importers: specifier: ^6.8.3 version: 6.8.3 vue: - specifier: ~3.4.15 - version: 3.4.15(typescript@5.2.2) + specifier: ~3.4.19 + version: 3.4.19(typescript@5.2.2) vue-echarts: specifier: ^6.6.8 - version: 6.6.8(echarts@5.4.3)(vue@3.4.15) + version: 6.6.8(echarts@5.4.3)(vue@3.4.19) vue-i18n: specifier: 9.9.1 - version: 9.9.1(vue@3.4.15) + version: 9.9.1(vue@3.4.19) vue-router: specifier: ~4.2.5 - version: 4.2.5(vue@3.4.15) + version: 4.2.5(vue@3.4.19) vue-types: specifier: ~5.1.1 - version: 5.1.1(vue@3.4.15) + version: 5.1.1(vue@3.4.19) vue-virtual-scroller: specifier: 2.0.0-beta.8 - version: 2.0.0-beta.8(vue@3.4.15) + version: 2.0.0-beta.8(vue@3.4.19) xlsx: specifier: ~0.18.5 version: 0.18.5 @@ -109,11 +109,11 @@ importers: specifier: ~20.11.16 version: 20.11.16 '@typescript-eslint/eslint-plugin': - specifier: ~6.21.0 - version: 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.2.2) + specifier: ~7.0.1 + version: 7.0.1(@typescript-eslint/parser@7.0.1)(eslint@8.56.0)(typescript@5.2.2) '@typescript-eslint/parser': - specifier: ~6.21.0 - version: 6.21.0(eslint@8.56.0)(typescript@5.2.2) + specifier: ~7.0.1 + version: 7.0.1(eslint@8.56.0)(typescript@5.2.2) '@umijs/openapi': specifier: ^1.10.1 version: 1.10.1 @@ -122,10 +122,10 @@ importers: version: 5.3.0(esbuild@0.19.11)(terser@5.27.0)(vite@5.0.12) '@vitejs/plugin-vue': specifier: ~5.0.4 - version: 5.0.4(vite@5.0.12)(vue@3.4.15) + version: 5.0.4(vite@5.0.12)(vue@3.4.19) '@vitejs/plugin-vue-jsx': specifier: ~3.1.0 - version: 3.1.0(vite@5.0.12)(vue@3.4.15) + version: 3.1.0(vite@5.0.12)(vue@3.4.19) '@vue/tsconfig': specifier: ^0.5.1 version: 0.5.1 @@ -149,7 +149,7 @@ importers: version: 2.1.0 eslint-plugin-import: specifier: ~2.29.1 - version: 2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.56.0) + version: 2.29.1(@typescript-eslint/parser@7.0.1)(eslint@8.56.0) eslint-plugin-prettier: specifier: ~5.1.3 version: 5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.2.5) @@ -172,8 +172,8 @@ importers: specifier: ~1.1.0 version: 1.1.0 msw: - specifier: ^2.1.7 - version: 2.1.7(typescript@5.2.2) + specifier: ^2.2.0 + version: 2.2.0(typescript@5.2.2) postcss: specifier: ~8.4.34 version: 8.4.34 @@ -227,7 +227,7 @@ importers: version: 0.58.5(postcss@8.4.34)(vite@5.0.12) unplugin-vue-components: specifier: ~0.26.0 - version: 0.26.0(vue@3.4.15) + version: 0.26.0(vue@3.4.19) vite: specifier: ~5.0.12 version: 5.0.12(@types/node@20.11.16)(less@4.2.0)(lightningcss@1.23.0)(terser@5.27.0) @@ -294,14 +294,14 @@ packages: resolution: {integrity: sha512-4QBZg8ccyC6LPIRii7A0bZUk3+lEDCLnhB+FVsflGdcWPPmV+j3fire4AwwoqHV/BibgvBmR9ZIo4s867smv+g==} dev: false - /@ant-design/icons-vue@7.0.1(vue@3.4.15): + /@ant-design/icons-vue@7.0.1(vue@3.4.19): resolution: {integrity: sha512-eCqY2unfZK6Fe02AwFlDHLfoyEFreP6rBwAZMIJ1LugmfMiVgwWDYlp1YsRugaPtICYOabV1iWxXdP12u9U43Q==} peerDependencies: vue: '>=3.0.3' dependencies: '@ant-design/colors': 6.0.0 '@ant-design/icons-svg': 4.3.1 - vue: 3.4.15(typescript@5.2.2) + vue: 3.4.19(typescript@5.2.2) dev: false /@antfu/install-pkg@0.1.1: @@ -682,6 +682,7 @@ packages: hasBin: true dependencies: '@babel/types': 7.23.6 + dev: true /@babel/parser@7.23.9: resolution: {integrity: sha512-9tcKgqKbs3xGJ+NtKF2ndOBBLVwPjl1SHxPQkd36r3Dlirw3xWUeGaTbqr7uGZcTaxkVNwc+03SVP7aCdWrTlA==} @@ -689,7 +690,6 @@ packages: hasBin: true dependencies: '@babel/types': 7.23.9 - dev: true /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-iRkKcCqb7iGnq9+3G6rZ+Ciz5VywC4XNRHe57lKM+jOeYAoR0lVqdeeDRfh0tQcTfw/+vBhHn926FmQhLtlFLQ==} @@ -1815,6 +1815,7 @@ packages: '@babel/helper-string-parser': 7.23.4 '@babel/helper-validator-identifier': 7.22.20 to-fast-properties: 2.0.0 + dev: true /@babel/types@7.23.9: resolution: {integrity: sha512-dQjSq/7HaSjRM43FFGnv5keM2HsxpmyV1PfaSVm0nzzjwwTmjOe6J4bC8e3+pTEIgHaHj+1ZlLThRJ2auc/w1Q==} @@ -1823,7 +1824,6 @@ packages: '@babel/helper-string-parser': 7.23.4 '@babel/helper-validator-identifier': 7.22.20 to-fast-properties: 2.0.0 - dev: true /@bundled-es-modules/cookie@2.0.0: resolution: {integrity: sha512-Or6YHg/kamKHpxULAdSqhGqnWFneIXu1NKvvfBBzKGwpVsYuFIQ5aBPHDnnoR3ghW1nvSkALd+EF9iMtY7Vjxw==} @@ -2412,15 +2412,45 @@ packages: - supports-color dev: true - /@iconify/vue@4.1.1(vue@3.4.15): + /@iconify/vue@4.1.1(vue@3.4.19): resolution: {integrity: sha512-RL85Bm/DAe8y6rT6pux7D2FJSiUEM/TPfyK7GrbAOfTSwrhvwJW+S5yijdGcmtXouA8MtuH9C7l4hiSE4mLMjg==} peerDependencies: vue: '>=3' dependencies: '@iconify/types': 2.0.0 - vue: 3.4.15(typescript@5.2.2) + vue: 3.4.19(typescript@5.2.2) dev: false + /@inquirer/confirm@3.0.0: + resolution: {integrity: sha512-LHeuYP1D8NmQra1eR4UqvZMXwxEdDXyElJmmZfU44xdNLL6+GcQBS0uE16vyfZVjH8c22p9e+DStROfE/hyHrg==} + engines: {node: '>=18'} + dependencies: + '@inquirer/core': 7.0.0 + '@inquirer/type': 1.2.0 + + /@inquirer/core@7.0.0: + resolution: {integrity: sha512-g13W5yEt9r1sEVVriffJqQ8GWy94OnfxLCreNSOTw0HPVcszmc/If1KIf7YBmlwtX4klmvwpZHnQpl3N7VX2xA==} + engines: {node: '>=18'} + dependencies: + '@inquirer/type': 1.2.0 + '@types/mute-stream': 0.0.4 + '@types/node': 20.11.16 + '@types/wrap-ansi': 3.0.0 + ansi-escapes: 4.3.2 + chalk: 4.1.2 + cli-spinners: 2.9.2 + cli-width: 4.1.0 + figures: 3.2.0 + mute-stream: 1.0.0 + run-async: 3.0.0 + signal-exit: 4.1.0 + strip-ansi: 6.0.1 + wrap-ansi: 6.2.0 + + /@inquirer/type@1.2.0: + resolution: {integrity: sha512-/vvkUkYhrjbm+RolU7V1aUFDydZVKNKqKHR5TsE+j5DXgXFwrsOPcoGUJ02K0O7q7O53CU2DOTMYCHeGZ25WHA==} + engines: {node: '>=18'} + /@intlify/core-base@9.9.1: resolution: {integrity: sha512-qsV15dg7jNX2faBRyKMgZS8UcFJViWEUPLdzZ9UR0kQZpFVeIpc0AG7ZOfeP7pX2T9SQ5jSiorq/tii9nkkafA==} engines: {node: '>= 16'} @@ -2841,13 +2871,13 @@ packages: - supports-color dev: true - /@tinymce/tinymce-vue@5.1.1(vue@3.4.15): + /@tinymce/tinymce-vue@5.1.1(vue@3.4.19): resolution: {integrity: sha512-iO57HOWesFOhsaqjA5Ea6sDvQBmJJH3/dq00Uvg7metlct2kLF+ctRgoDsetLt6gmeZ7COPftr814/XzqnJ/dg==} peerDependencies: vue: ^3.0.0 dependencies: tinymce: 6.8.3 - vue: 3.4.15(typescript@5.2.2) + vue: 3.4.19(typescript@5.2.2) dev: false /@trysound/sax@0.2.0: @@ -2924,11 +2954,15 @@ packages: resolution: {integrity: sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==} dev: true + /@types/mute-stream@0.0.4: + resolution: {integrity: sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==} + dependencies: + '@types/node': 20.11.16 + /@types/node@20.11.16: resolution: {integrity: sha512-gKb0enTmRCzXSSUJDq6/sPcqrfCv2mkkG6Jt/clpn5eiCbKTY+SgZUxo+p8ZKMof5dCp9vHQUAB7wOUTod22wQ==} dependencies: undici-types: 5.26.5 - dev: true /@types/normalize-package-data@2.4.4: resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -2959,6 +2993,9 @@ packages: resolution: {integrity: sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==} dev: false + /@types/wrap-ansi@3.0.0: + resolution: {integrity: sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==} + /@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0)(eslint@7.32.0)(typescript@4.9.5): resolution: {integrity: sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -2987,23 +3024,23 @@ packages: - supports-color dev: true - /@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.2.2): - resolution: {integrity: sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==} + /@typescript-eslint/eslint-plugin@7.0.1(@typescript-eslint/parser@7.0.1)(eslint@8.56.0)(typescript@5.2.2): + resolution: {integrity: sha512-OLvgeBv3vXlnnJGIAgCLYKjgMEU+wBGj07MQ/nxAaON+3mLzX7mJbhRYrVGiVvFiXtwFlkcBa/TtmglHy0UbzQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: - '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha - eslint: ^7.0.0 || ^8.0.0 + '@typescript-eslint/parser': ^7.0.0 + eslint: ^8.56.0 typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.2.2) - '@typescript-eslint/scope-manager': 6.21.0 - '@typescript-eslint/type-utils': 6.21.0(eslint@8.56.0)(typescript@5.2.2) - '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.2.2) - '@typescript-eslint/visitor-keys': 6.21.0 + '@typescript-eslint/parser': 7.0.1(eslint@8.56.0)(typescript@5.2.2) + '@typescript-eslint/scope-manager': 7.0.1 + '@typescript-eslint/type-utils': 7.0.1(eslint@8.56.0)(typescript@5.2.2) + '@typescript-eslint/utils': 7.0.1(eslint@8.56.0)(typescript@5.2.2) + '@typescript-eslint/visitor-keys': 7.0.1 debug: 4.3.4 eslint: 8.56.0 graphemer: 1.4.0 @@ -3054,20 +3091,20 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@6.21.0(eslint@8.56.0)(typescript@5.2.2): - resolution: {integrity: sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==} + /@typescript-eslint/parser@7.0.1(eslint@8.56.0)(typescript@5.2.2): + resolution: {integrity: sha512-8GcRRZNzaHxKzBPU3tKtFNing571/GwPBeCvmAUw0yBtfE2XVd0zFKJIMSWkHJcPQi0ekxjIts6L/rrZq5cxGQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + eslint: ^8.56.0 typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 6.21.0 - '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.2.2) - '@typescript-eslint/visitor-keys': 6.21.0 + '@typescript-eslint/scope-manager': 7.0.1 + '@typescript-eslint/types': 7.0.1 + '@typescript-eslint/typescript-estree': 7.0.1(typescript@5.2.2) + '@typescript-eslint/visitor-keys': 7.0.1 debug: 4.3.4 eslint: 8.56.0 typescript: 5.2.2 @@ -3091,12 +3128,12 @@ packages: '@typescript-eslint/visitor-keys': 5.62.0 dev: true - /@typescript-eslint/scope-manager@6.21.0: - resolution: {integrity: sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==} + /@typescript-eslint/scope-manager@7.0.1: + resolution: {integrity: sha512-v7/T7As10g3bcWOOPAcbnMDuvctHzCFYCG/8R4bK4iYzdFqsZTbXGln0cZNVcwQcwewsYU2BJLay8j0/4zOk4w==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/visitor-keys': 6.21.0 + '@typescript-eslint/types': 7.0.1 + '@typescript-eslint/visitor-keys': 7.0.1 dev: true /@typescript-eslint/type-utils@5.62.0(eslint@7.32.0)(typescript@4.9.5): @@ -3119,18 +3156,18 @@ packages: - supports-color dev: true - /@typescript-eslint/type-utils@6.21.0(eslint@8.56.0)(typescript@5.2.2): - resolution: {integrity: sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag==} + /@typescript-eslint/type-utils@7.0.1(eslint@8.56.0)(typescript@5.2.2): + resolution: {integrity: sha512-YtT9UcstTG5Yqy4xtLiClm1ZpM/pWVGFnkAa90UfdkkZsR1eP2mR/1jbHeYp8Ay1l1JHPyGvoUYR6o3On5Nhmw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + eslint: ^8.56.0 typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.2.2) - '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.2.2) + '@typescript-eslint/typescript-estree': 7.0.1(typescript@5.2.2) + '@typescript-eslint/utils': 7.0.1(eslint@8.56.0)(typescript@5.2.2) debug: 4.3.4 eslint: 8.56.0 ts-api-utils: 1.0.3(typescript@5.2.2) @@ -3149,8 +3186,8 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/types@6.21.0: - resolution: {integrity: sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==} + /@typescript-eslint/types@7.0.1: + resolution: {integrity: sha512-uJDfmirz4FHib6ENju/7cz9SdMSkeVvJDK3VcMFvf/hAShg8C74FW+06MaQPODHfDJp/z/zHfgawIJRjlu0RLg==} engines: {node: ^16.0.0 || >=18.0.0} dev: true @@ -3196,8 +3233,8 @@ packages: - supports-color dev: true - /@typescript-eslint/typescript-estree@6.21.0(typescript@5.2.2): - resolution: {integrity: sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==} + /@typescript-eslint/typescript-estree@7.0.1(typescript@5.2.2): + resolution: {integrity: sha512-SO9wHb6ph0/FN5OJxH4MiPscGah5wjOd0RRpaLvuBv9g8565Fgu0uMySFEPqwPHiQU90yzJ2FjRYKGrAhS1xig==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: typescript: '*' @@ -3205,8 +3242,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/visitor-keys': 6.21.0 + '@typescript-eslint/types': 7.0.1 + '@typescript-eslint/visitor-keys': 7.0.1 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 @@ -3238,18 +3275,18 @@ packages: - typescript dev: true - /@typescript-eslint/utils@6.21.0(eslint@8.56.0)(typescript@5.2.2): - resolution: {integrity: sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==} + /@typescript-eslint/utils@7.0.1(eslint@8.56.0)(typescript@5.2.2): + resolution: {integrity: sha512-oe4his30JgPbnv+9Vef1h48jm0S6ft4mNwi9wj7bX10joGn07QRfqIqFHoMiajrtoU88cIhXf8ahwgrcbNLgPA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + eslint: ^8.56.0 dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) '@types/json-schema': 7.0.15 '@types/semver': 7.5.6 - '@typescript-eslint/scope-manager': 6.21.0 - '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.2.2) + '@typescript-eslint/scope-manager': 7.0.1 + '@typescript-eslint/types': 7.0.1 + '@typescript-eslint/typescript-estree': 7.0.1(typescript@5.2.2) eslint: 8.56.0 semver: 7.5.4 transitivePeerDependencies: @@ -3273,11 +3310,11 @@ packages: eslint-visitor-keys: 3.4.3 dev: true - /@typescript-eslint/visitor-keys@6.21.0: - resolution: {integrity: sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==} + /@typescript-eslint/visitor-keys@7.0.1: + resolution: {integrity: sha512-hwAgrOyk++RTXrP4KzCg7zB2U0xt7RUU0ZdMSCsqF3eKUwkdXUMyTb0qdCuji7VIbcpG62kKTU9M1J1c9UpFBw==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.21.0 + '@typescript-eslint/types': 7.0.1 eslint-visitor-keys: 3.4.3 dev: true @@ -3588,7 +3625,7 @@ packages: - supports-color dev: true - /@vitejs/plugin-vue-jsx@3.1.0(vite@5.0.12)(vue@3.4.15): + /@vitejs/plugin-vue-jsx@3.1.0(vite@5.0.12)(vue@3.4.19): resolution: {integrity: sha512-w9M6F3LSEU5kszVb9An2/MmXNxocAnUb3WhRr8bHlimhDrXNt6n6D2nJQR3UXpGlZHh/EsgouOHCsM8V3Ln+WA==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -3599,12 +3636,12 @@ packages: '@babel/plugin-transform-typescript': 7.23.6(@babel/core@7.23.7) '@vue/babel-plugin-jsx': 1.2.0(@babel/core@7.23.7) vite: 5.0.12(@types/node@20.11.16)(less@4.2.0)(lightningcss@1.23.0)(terser@5.27.0) - vue: 3.4.15(typescript@5.2.2) + vue: 3.4.19(typescript@5.2.2) transitivePeerDependencies: - supports-color dev: true - /@vitejs/plugin-vue@5.0.4(vite@5.0.12)(vue@3.4.15): + /@vitejs/plugin-vue@5.0.4(vite@5.0.12)(vue@3.4.19): resolution: {integrity: sha512-WS3hevEszI6CEVEx28F8RjTX97k3KsrcY6kvTg7+Whm5y3oYvcqzVeGCU3hxSAn4uY2CLCkeokkGKpoctccilQ==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: @@ -3612,7 +3649,7 @@ packages: vue: ^3.2.25 dependencies: vite: 5.0.12(@types/node@20.11.16)(less@4.2.0)(lightningcss@1.23.0)(terser@5.27.0) - vue: 3.4.15(typescript@5.2.2) + vue: 3.4.19(typescript@5.2.2) dev: true /@volar/language-core@1.11.1: @@ -3683,12 +3720,29 @@ packages: entities: 4.5.0 estree-walker: 2.0.2 source-map-js: 1.0.2 + dev: true + + /@vue/compiler-core@3.4.19: + resolution: {integrity: sha512-gj81785z0JNzRcU0Mq98E56e4ltO1yf8k5PQ+tV/7YHnbZkrM0fyFyuttnN8ngJZjbpofWE/m4qjKBiLl8Ju4w==} + dependencies: + '@babel/parser': 7.23.9 + '@vue/shared': 3.4.19 + entities: 4.5.0 + estree-walker: 2.0.2 + source-map-js: 1.0.2 /@vue/compiler-dom@3.4.15: resolution: {integrity: sha512-wox0aasVV74zoXyblarOM3AZQz/Z+OunYcIHe1OsGclCHt8RsRm04DObjefaI82u6XDzv+qGWZ24tIsRAIi5MQ==} dependencies: '@vue/compiler-core': 3.4.15 '@vue/shared': 3.4.15 + dev: true + + /@vue/compiler-dom@3.4.19: + resolution: {integrity: sha512-vm6+cogWrshjqEHTzIDCp72DKtea8Ry/QVpQRYoyTIg9k7QZDX6D8+HGURjtmatfgM8xgCFtJJaOlCaRYRK3QA==} + dependencies: + '@vue/compiler-core': 3.4.19 + '@vue/shared': 3.4.19 /@vue/compiler-sfc@3.4.15: resolution: {integrity: sha512-LCn5M6QpkpFsh3GQvs2mJUOAlBQcCco8D60Bcqmf3O3w5a+KWS5GvYbrrJBkgvL1BDnTp+e8q0lXCLgHhKguBA==} @@ -3702,12 +3756,33 @@ packages: magic-string: 0.30.5 postcss: 8.4.34 source-map-js: 1.0.2 + dev: true + + /@vue/compiler-sfc@3.4.19: + resolution: {integrity: sha512-LQ3U4SN0DlvV0xhr1lUsgLCYlwQfUfetyPxkKYu7dkfvx7g3ojrGAkw0AERLOKYXuAGnqFsEuytkdcComei3Yg==} + dependencies: + '@babel/parser': 7.23.9 + '@vue/compiler-core': 3.4.19 + '@vue/compiler-dom': 3.4.19 + '@vue/compiler-ssr': 3.4.19 + '@vue/shared': 3.4.19 + estree-walker: 2.0.2 + magic-string: 0.30.7 + postcss: 8.4.34 + source-map-js: 1.0.2 /@vue/compiler-ssr@3.4.15: resolution: {integrity: sha512-1jdeQyiGznr8gjFDadVmOJqZiLNSsMa5ZgqavkPZ8O2wjHv0tVuAEsw5hTdUoUW4232vpBbL/wJhzVW/JwY1Uw==} dependencies: '@vue/compiler-dom': 3.4.15 '@vue/shared': 3.4.15 + dev: true + + /@vue/compiler-ssr@3.4.19: + resolution: {integrity: sha512-P0PLKC4+u4OMJ8sinba/5Z/iDT84uMRRlrWzadgLA69opCpI1gG4N55qDSC+dedwq2fJtzmGald05LWR5TFfLw==} + dependencies: + '@vue/compiler-dom': 3.4.19 + '@vue/shared': 3.4.19 /@vue/devtools-api@6.5.1: resolution: {integrity: sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA==} @@ -3733,47 +3808,51 @@ packages: vue-template-compiler: 2.7.16 dev: true - /@vue/reactivity@3.4.15: - resolution: {integrity: sha512-55yJh2bsff20K5O84MxSvXKPHHt17I2EomHznvFiJCAZpJTNW8IuLj1xZWMLELRhBK3kkFV/1ErZGHJfah7i7w==} + /@vue/reactivity@3.4.19: + resolution: {integrity: sha512-+VcwrQvLZgEclGZRHx4O2XhyEEcKaBi50WbxdVItEezUf4fqRh838Ix6amWTdX0CNb/b6t3Gkz3eOebfcSt+UA==} dependencies: - '@vue/shared': 3.4.15 + '@vue/shared': 3.4.19 - /@vue/runtime-core@3.4.15: - resolution: {integrity: sha512-6E3by5m6v1AkW0McCeAyhHTw+3y17YCOKG0U0HDKDscV4Hs0kgNT5G+GCHak16jKgcCDHpI9xe5NKb8sdLCLdw==} + /@vue/runtime-core@3.4.19: + resolution: {integrity: sha512-/Z3tFwOrerJB/oyutmJGoYbuoadphDcJAd5jOuJE86THNZji9pYjZroQ2NFsZkTxOq0GJbb+s2kxTYToDiyZzw==} dependencies: - '@vue/reactivity': 3.4.15 - '@vue/shared': 3.4.15 + '@vue/reactivity': 3.4.19 + '@vue/shared': 3.4.19 - /@vue/runtime-dom@3.4.15: - resolution: {integrity: sha512-EVW8D6vfFVq3V/yDKNPBFkZKGMFSvZrUQmx196o/v2tHKdwWdiZjYUBS+0Ez3+ohRyF8Njwy/6FH5gYJ75liUw==} + /@vue/runtime-dom@3.4.19: + resolution: {integrity: sha512-IyZzIDqfNCF0OyZOauL+F4yzjMPN2rPd8nhqPP2N1lBn3kYqJpPHHru+83Rkvo2lHz5mW+rEeIMEF9qY3PB94g==} dependencies: - '@vue/runtime-core': 3.4.15 - '@vue/shared': 3.4.15 + '@vue/runtime-core': 3.4.19 + '@vue/shared': 3.4.19 csstype: 3.1.3 - /@vue/server-renderer@3.4.15(vue@3.4.15): - resolution: {integrity: sha512-3HYzaidu9cHjrT+qGUuDhFYvF/j643bHC6uUN9BgM11DVy+pM6ATsG6uPBLnkwOgs7BpJABReLmpL3ZPAsUaqw==} + /@vue/server-renderer@3.4.19(vue@3.4.19): + resolution: {integrity: sha512-eAj2p0c429RZyyhtMRnttjcSToch+kTWxFPHlzGMkR28ZbF1PDlTcmGmlDxccBuqNd9iOQ7xPRPAGgPVj+YpQw==} peerDependencies: - vue: 3.4.15 + vue: 3.4.19 dependencies: - '@vue/compiler-ssr': 3.4.15 - '@vue/shared': 3.4.15 - vue: 3.4.15(typescript@5.2.2) + '@vue/compiler-ssr': 3.4.19 + '@vue/shared': 3.4.19 + vue: 3.4.19(typescript@5.2.2) /@vue/shared@3.4.15: resolution: {integrity: sha512-KzfPTxVaWfB+eGcGdbSf4CWdaXcGDqckoeXUh7SB3fZdEtzPCK2Vq9B/lRRL3yutax/LWITz+SwvgyOxz5V75g==} + dev: true + + /@vue/shared@3.4.19: + resolution: {integrity: sha512-/KliRRHMF6LoiThEy+4c1Z4KB/gbPrGjWwJR+crg2otgrf/egKzRaCPvJ51S5oetgsgXLfc4Rm5ZgrKHZrtMSw==} /@vue/tsconfig@0.5.1: resolution: {integrity: sha512-VcZK7MvpjuTPx2w6blwnwZAu5/LgBUtejFOi3pPGQFXQN5Ela03FUtd2Qtg4yWGGissVL0dr6Ro1LfOFh+PCuQ==} dev: true - /@vueuse/core@10.7.2(vue@3.4.15): + /@vueuse/core@10.7.2(vue@3.4.19): resolution: {integrity: sha512-AOyAL2rK0By62Hm+iqQn6Rbu8bfmbgaIMXcE3TSr7BdQ42wnSFlwIdPjInO62onYsEMK/yDMU8C6oGfDAtZ2qQ==} dependencies: '@types/web-bluetooth': 0.0.20 '@vueuse/metadata': 10.7.2 - '@vueuse/shared': 10.7.2(vue@3.4.15) - vue-demi: 0.14.6(vue@3.4.15) + '@vueuse/shared': 10.7.2(vue@3.4.19) + vue-demi: 0.14.6(vue@3.4.19) transitivePeerDependencies: - '@vue/composition-api' - vue @@ -3783,10 +3862,10 @@ packages: resolution: {integrity: sha512-kCWPb4J2KGrwLtn1eJwaJD742u1k5h6v/St5wFe8Quih90+k2a0JP8BS4Zp34XUuJqS2AxFYMb1wjUL8HfhWsQ==} dev: false - /@vueuse/shared@10.7.2(vue@3.4.15): + /@vueuse/shared@10.7.2(vue@3.4.19): resolution: {integrity: sha512-qFbXoxS44pi2FkgFjPvF4h7c9oMDutpyBdcJdMYIMg9XyXli2meFMuaKn+UMgsClo//Th6+beeCgqweT/79BVA==} dependencies: - vue-demi: 0.14.6(vue@3.4.15) + vue-demi: 0.14.6(vue@3.4.19) transitivePeerDependencies: - '@vue/composition-api' - vue @@ -3919,14 +3998,14 @@ packages: engines: {node: '>=12'} dev: true - /ant-design-vue@4.1.2(vue@3.4.15): + /ant-design-vue@4.1.2(vue@3.4.19): resolution: {integrity: sha512-ynFkDJLlHgumeK6Hr1UZ7PvQNZ1uBcri/pmejBdS3kRqHeA5VRsxneYDwa8YxA+uYB5YfT2jpYsSHsiMiCjRGg==} engines: {node: '>=12.22.0'} peerDependencies: vue: '>=3.2.0' dependencies: '@ant-design/colors': 6.0.0 - '@ant-design/icons-vue': 7.0.1(vue@3.4.15) + '@ant-design/icons-vue': 7.0.1(vue@3.4.19) '@babel/runtime': 7.23.8 '@ctrl/tinycolor': 3.6.1 '@emotion/hash': 0.9.1 @@ -3945,8 +4024,8 @@ packages: shallow-equal: 1.2.1 stylis: 4.3.1 throttle-debounce: 5.0.0 - vue: 3.4.15(typescript@5.2.2) - vue-types: 3.0.2(vue@3.4.15) + vue: 3.4.19(typescript@5.2.2) + vue-types: 3.0.2(vue@3.4.19) warning: 4.0.3 dev: false @@ -4492,6 +4571,10 @@ packages: resolution: {integrity: sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==} engines: {node: '>= 10'} + /cli-width@4.1.0: + resolution: {integrity: sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==} + engines: {node: '>= 12'} + /cliui@8.0.1: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} engines: {node: '>=12'} @@ -5578,7 +5661,7 @@ packages: - supports-color dev: true - /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0): + /eslint-module-utils@2.8.0(@typescript-eslint/parser@7.0.1)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0): resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} peerDependencies: @@ -5599,7 +5682,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.2.2) + '@typescript-eslint/parser': 7.0.1(eslint@8.56.0)(typescript@5.2.2) debug: 3.2.7 eslint: 8.56.0 eslint-import-resolver-node: 0.3.9 @@ -5617,7 +5700,7 @@ packages: eslint-rule-composer: 0.3.0 dev: true - /eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.56.0): + /eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.0.1)(eslint@8.56.0): resolution: {integrity: sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==} engines: {node: '>=4'} peerDependencies: @@ -5627,7 +5710,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.2.2) + '@typescript-eslint/parser': 7.0.1(eslint@8.56.0)(typescript@5.2.2) array-includes: 3.1.7 array.prototype.findlastindex: 1.2.3 array.prototype.flat: 1.3.2 @@ -5636,7 +5719,7 @@ packages: doctrine: 2.1.0 eslint: 8.56.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@7.0.1)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0) hasown: 2.0.0 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -6949,6 +7032,7 @@ packages: strip-ansi: 6.0.1 through: 2.3.8 wrap-ansi: 6.2.0 + dev: false /internal-slot@1.0.6: resolution: {integrity: sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==} @@ -7873,13 +7957,13 @@ packages: engines: {node: '>=12'} dependencies: '@jridgewell/sourcemap-codec': 1.4.15 + dev: true /magic-string@0.30.7: resolution: {integrity: sha512-8vBuFF/I/+OSLRmdf2wwFCJCz+nSn0m6DPvGH1fS/KiQoSaR+sETbov0eIk9KhEKy8CYqIkIAnbohxT/4H0kuA==} engines: {node: '>=12'} dependencies: '@jridgewell/sourcemap-codec': 1.4.15 - dev: true /make-dir@2.1.0: resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} @@ -8244,8 +8328,8 @@ packages: yargs: 17.7.2 dev: false - /msw@2.1.7(typescript@5.2.2): - resolution: {integrity: sha512-yTIYqEMqDSrdbVMrfmqP6rTKQsnIbglTvVmAHDWwNegyXPXRcV+RjsaFEqubRS266gwWCDLm9YdOkWSKLdDvJQ==} + /msw@2.2.0(typescript@5.2.2): + resolution: {integrity: sha512-98cUGcIphhdf3KDbmSxji7XFqLxeSFAmPUNV00N/U76GOkuUKEwp6MHqM6KW70rlpgeJP8qIWueppdnVThzG1g==} engines: {node: '>=18'} hasBin: true requiresBuild: true @@ -8257,16 +8341,15 @@ packages: dependencies: '@bundled-es-modules/cookie': 2.0.0 '@bundled-es-modules/statuses': 1.0.1 + '@inquirer/confirm': 3.0.0 '@mswjs/cookies': 1.1.0 '@mswjs/interceptors': 0.25.16 '@open-draft/until': 2.1.0 '@types/cookie': 0.6.0 '@types/statuses': 2.0.4 chalk: 4.1.2 - chokidar: 3.5.3 graphql: 16.8.1 headers-polyfill: 4.0.2 - inquirer: 8.2.6 is-node-process: 1.2.0 outvariant: 1.4.2 path-to-regexp: 6.2.1 @@ -8286,6 +8369,10 @@ packages: /mute-stream@0.0.8: resolution: {integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==} + /mute-stream@1.0.0: + resolution: {integrity: sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + /mz@2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} dependencies: @@ -8874,7 +8961,7 @@ packages: dev: true optional: true - /pinia@2.1.7(typescript@5.2.2)(vue@3.4.15): + /pinia@2.1.7(typescript@5.2.2)(vue@3.4.19): resolution: {integrity: sha512-+C2AHFtcFqjPih0zpYuvof37SFxMQ7OEG2zV9jRI12i9BOy3YQVAHwdKtyyc8pDcDyIc33WCIsZaCFWU7WWxGQ==} peerDependencies: '@vue/composition-api': ^1.4.0 @@ -8888,8 +8975,8 @@ packages: dependencies: '@vue/devtools-api': 6.5.1 typescript: 5.2.2 - vue: 3.4.15(typescript@5.2.2) - vue-demi: 0.14.6(vue@3.4.15) + vue: 3.4.19(typescript@5.2.2) + vue-demi: 0.14.6(vue@3.4.19) dev: false /pirates@4.0.6: @@ -9611,6 +9698,10 @@ packages: resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==} engines: {node: '>=0.12.0'} + /run-async@3.0.0: + resolution: {integrity: sha512-540WwVDOMxA6dN6We19EcT9sc3hkXPw5mzRNGM3FkdN/vtE9NFvj5lFAPNwUDmJjXidm3v7TC1cTE7t17Ulm1Q==} + engines: {node: '>=0.12.0'} + /run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} dependencies: @@ -9785,7 +9876,6 @@ packages: /signal-exit@4.1.0: resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} engines: {node: '>=14'} - dev: true /sirv@2.0.4: resolution: {integrity: sha512-94Bdh3cC2PKrbgSOUqTiGPWVZeSiXfKOVZNJniWoqrWrRkB1CJzBU3NEbiTsPcYy1lDsANA/THzS+9WBiy5nfQ==} @@ -10918,7 +11008,6 @@ packages: /undici-types@5.26.5: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} - dev: true /unicode-canonical-property-names-ecmascript@2.0.0: resolution: {integrity: sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==} @@ -11029,7 +11118,7 @@ packages: - supports-color dev: true - /unplugin-vue-components@0.26.0(vue@3.4.15): + /unplugin-vue-components@0.26.0(vue@3.4.19): resolution: {integrity: sha512-s7IdPDlnOvPamjunVxw8kNgKNK8A5KM1YpK5j/p97jEKTjlPNrA0nZBiSfAKKlK1gWZuyWXlKL5dk3EDw874LQ==} engines: {node: '>=14'} peerDependencies: @@ -11052,7 +11141,7 @@ packages: minimatch: 9.0.3 resolve: 1.22.8 unplugin: 1.6.0 - vue: 3.4.15(typescript@5.2.2) + vue: 3.4.19(typescript@5.2.2) transitivePeerDependencies: - rollup - supports-color @@ -11306,7 +11395,7 @@ packages: resolution: {integrity: sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==} dev: true - /vue-demi@0.13.11(vue@3.4.15): + /vue-demi@0.13.11(vue@3.4.19): resolution: {integrity: sha512-IR8HoEEGM65YY3ZJYAjMlKygDQn25D5ajNFNoKh9RSDMQtlzCxtfQjdQgv9jjK+m3377SsJXY8ysq8kLCZL25A==} engines: {node: '>=12'} hasBin: true @@ -11318,10 +11407,10 @@ packages: '@vue/composition-api': optional: true dependencies: - vue: 3.4.15(typescript@5.2.2) + vue: 3.4.19(typescript@5.2.2) dev: false - /vue-demi@0.14.6(vue@3.4.15): + /vue-demi@0.14.6(vue@3.4.19): resolution: {integrity: sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==} engines: {node: '>=12'} hasBin: true @@ -11333,10 +11422,10 @@ packages: '@vue/composition-api': optional: true dependencies: - vue: 3.4.15(typescript@5.2.2) + vue: 3.4.19(typescript@5.2.2) dev: false - /vue-echarts@6.6.8(echarts@5.4.3)(vue@3.4.15): + /vue-echarts@6.6.8(echarts@5.4.3)(vue@3.4.19): resolution: {integrity: sha512-3EGrxKGCGjHnkhudRQQ4fkK5iJxxXNQ1fXvSWA/7mzR/oV7BBSHYvC3gDbG/WIW0A/Fcx2H8k5H3NDyWgjyi8g==} requiresBuild: true peerDependencies: @@ -11352,8 +11441,8 @@ packages: dependencies: echarts: 5.4.3 resize-detector: 0.3.0 - vue: 3.4.15(typescript@5.2.2) - vue-demi: 0.13.11(vue@3.4.15) + vue: 3.4.19(typescript@5.2.2) + vue-demi: 0.13.11(vue@3.4.19) dev: false /vue-eslint-parser@9.4.2(eslint@8.56.0): @@ -11374,7 +11463,7 @@ packages: - supports-color dev: true - /vue-i18n@9.9.1(vue@3.4.15): + /vue-i18n@9.9.1(vue@3.4.19): resolution: {integrity: sha512-xyQ4VspLdNSPTKBFBPWa1tvtj+9HuockZwgFeD2OhxxXuC2CWeNvV4seu2o9+vbQOyQbhAM5Ez56oxUrrnTWdw==} engines: {node: '>= 16'} peerDependencies: @@ -11383,32 +11472,32 @@ packages: '@intlify/core-base': 9.9.1 '@intlify/shared': 9.9.1 '@vue/devtools-api': 6.5.1 - vue: 3.4.15(typescript@5.2.2) + vue: 3.4.19(typescript@5.2.2) dev: false - /vue-observe-visibility@2.0.0-alpha.1(vue@3.4.15): + /vue-observe-visibility@2.0.0-alpha.1(vue@3.4.19): resolution: {integrity: sha512-flFbp/gs9pZniXR6fans8smv1kDScJ8RS7rEpMjhVabiKeq7Qz3D9+eGsypncjfIyyU84saU88XZ0zjbD6Gq/g==} peerDependencies: vue: ^3.0.0 dependencies: - vue: 3.4.15(typescript@5.2.2) + vue: 3.4.19(typescript@5.2.2) dev: false - /vue-resize@2.0.0-alpha.1(vue@3.4.15): + /vue-resize@2.0.0-alpha.1(vue@3.4.19): resolution: {integrity: sha512-7+iqOueLU7uc9NrMfrzbG8hwMqchfVfSzpVlCMeJQe4pyibqyoifDNbKTZvwxZKDvGkB+PdFeKvnGZMoEb8esg==} peerDependencies: vue: ^3.0.0 dependencies: - vue: 3.4.15(typescript@5.2.2) + vue: 3.4.19(typescript@5.2.2) dev: false - /vue-router@4.2.5(vue@3.4.15): + /vue-router@4.2.5(vue@3.4.19): resolution: {integrity: sha512-DIUpKcyg4+PTQKfFPX88UWhlagBEBEfJ5A8XDXRJLUnZOvcpMF8o/dnL90vpVkGaPbjvXazV/rC1qBKrZlFugw==} peerDependencies: vue: ^3.2.0 dependencies: '@vue/devtools-api': 6.5.1 - vue: 3.4.15(typescript@5.2.2) + vue: 3.4.19(typescript@5.2.2) dev: false /vue-template-compiler@2.7.16: @@ -11430,17 +11519,17 @@ packages: typescript: 5.2.2 dev: true - /vue-types@3.0.2(vue@3.4.15): + /vue-types@3.0.2(vue@3.4.19): resolution: {integrity: sha512-IwUC0Aq2zwaXqy74h4WCvFCUtoV0iSWr0snWnE9TnU18S66GAQyqQbRf2qfJtUuiFsBf6qp0MEwdonlwznlcrw==} engines: {node: '>=10.15.0'} peerDependencies: vue: ^3.0.0 dependencies: is-plain-object: 3.0.1 - vue: 3.4.15(typescript@5.2.2) + vue: 3.4.19(typescript@5.2.2) dev: false - /vue-types@5.1.1(vue@3.4.15): + /vue-types@5.1.1(vue@3.4.19): resolution: {integrity: sha512-FMY/JCLWePXgGIcMDqYdJsQm1G0CDxEjq6W0+tZMJZlX37q/61eSGSIa/XFRwa9T7kkKXuxxl94/2kgxyWQqKw==} engines: {node: '>=14.0.0'} peerDependencies: @@ -11450,33 +11539,33 @@ packages: optional: true dependencies: is-plain-object: 5.0.0 - vue: 3.4.15(typescript@5.2.2) + vue: 3.4.19(typescript@5.2.2) dev: false - /vue-virtual-scroller@2.0.0-beta.8(vue@3.4.15): + /vue-virtual-scroller@2.0.0-beta.8(vue@3.4.19): resolution: {integrity: sha512-b8/f5NQ5nIEBRTNi6GcPItE4s7kxNHw2AIHLtDp+2QvqdTjVN0FgONwX9cr53jWRgnu+HRLPaWDOR2JPI5MTfQ==} peerDependencies: vue: ^3.2.0 dependencies: mitt: 2.1.0 - vue: 3.4.15(typescript@5.2.2) - vue-observe-visibility: 2.0.0-alpha.1(vue@3.4.15) - vue-resize: 2.0.0-alpha.1(vue@3.4.15) + vue: 3.4.19(typescript@5.2.2) + vue-observe-visibility: 2.0.0-alpha.1(vue@3.4.19) + vue-resize: 2.0.0-alpha.1(vue@3.4.19) dev: false - /vue@3.4.15(typescript@5.2.2): - resolution: {integrity: sha512-jC0GH4KkWLWJOEQjOpkqU1bQsBwf4R1rsFtw5GQJbjHVKWDzO6P0nWWBTmjp1xSemAioDFj1jdaK1qa3DnMQoQ==} + /vue@3.4.19(typescript@5.2.2): + resolution: {integrity: sha512-W/7Fc9KUkajFU8dBeDluM4sRGc/aa4YJnOYck8dkjgZoXtVsn3OeTGni66FV1l3+nvPA7VBFYtPioaGKUmEADw==} peerDependencies: typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@vue/compiler-dom': 3.4.15 - '@vue/compiler-sfc': 3.4.15 - '@vue/runtime-dom': 3.4.15 - '@vue/server-renderer': 3.4.15(vue@3.4.15) - '@vue/shared': 3.4.15 + '@vue/compiler-dom': 3.4.19 + '@vue/compiler-sfc': 3.4.19 + '@vue/runtime-dom': 3.4.19 + '@vue/server-renderer': 3.4.19(vue@3.4.19) + '@vue/shared': 3.4.19 typescript: 5.2.2 /warning@4.0.3: @@ -11750,7 +11839,7 @@ packages: resolution: {integrity: sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==} dev: true - file:packages/vite-plugin-msw(msw@2.1.7): + file:packages/vite-plugin-msw(msw@2.2.0): resolution: {directory: packages/vite-plugin-msw, type: directory} id: file:packages/vite-plugin-msw name: '@admin-pkg/vite-plugin-msw' @@ -11759,6 +11848,6 @@ packages: dependencies: '@mswjs/interceptors': 0.25.15 headers-polyfill: 4.0.2 - msw: 2.1.7(typescript@5.2.2) + msw: 2.2.0(typescript@5.2.2) strict-event-emitter: 0.5.1 dev: false diff --git a/src/components/core/dynamic-table/src/hooks/useColumns.ts b/src/components/core/dynamic-table/src/hooks/useColumns.ts index 6479eaad5..530ca2401 100644 --- a/src/components/core/dynamic-table/src/hooks/useColumns.ts +++ b/src/components/core/dynamic-table/src/hooks/useColumns.ts @@ -1,5 +1,6 @@ import { ref, watchEffect, unref, useSlots, h } from 'vue'; import { cloneDeep, isFunction, mergeWith } from 'lodash-es'; +import { Input } from 'ant-design-vue'; import { EditableCell } from '../components'; import { ColumnKeyFlag, type CustomRenderParams } from '../types/column'; import tableConfig from '../dynamic-table.config'; @@ -136,7 +137,7 @@ export const useColumns = ({ state, methods, props, tableAction }: UseTableColum return { field: `${record[props.rowKey as string]}.${item.searchField ?? key}`, - component: 'Input', + component: () => Input, defaultValue: record[key], colProps: { span: unref(getProps).editableType === 'cell' ? 20 : 24, diff --git a/src/components/core/dynamic-table/src/hooks/useTableForm.ts b/src/components/core/dynamic-table/src/hooks/useTableForm.ts index 7ce4c0960..a9629200e 100644 --- a/src/components/core/dynamic-table/src/hooks/useTableForm.ts +++ b/src/components/core/dynamic-table/src/hooks/useTableForm.ts @@ -47,7 +47,7 @@ export function useTableForm({ tableState, slots, tableMethods }: UseTableFormCo span: 8, }, ...n.formItemProps, - }; + } as FormSchema; }) .sort((a, b) => Number(a?.order) - Number(b?.order)) as FormSchema[]; }); diff --git a/src/components/core/schema-form/src/componentMap.ts b/src/components/core/schema-form/src/componentMap.ts index 749365105..7c5c2f272 100644 --- a/src/components/core/schema-form/src/componentMap.ts +++ b/src/components/core/schema-form/src/componentMap.ts @@ -53,12 +53,12 @@ type ExtractPropTypes = T extends new (...args: any) => any ? Writable['$props'], keyof VNodeProps>> : never; -export type D = ExtractPropTypes; +type ComponentMapType = typeof componentMap; -export type ComponentType = keyof typeof componentMap; +export type ComponentType = keyof ComponentMapType; export type ComponentMapProps = { - [K in ComponentType]: ExtractPropTypes<(typeof componentMap)[K]>; + [K in ComponentType]: ExtractPropTypes; }; export type AllComponentProps = ComponentMapProps[ComponentType]; diff --git a/src/components/core/schema-form/src/types/form.ts b/src/components/core/schema-form/src/types/form.ts index 1295f5766..8daf9eccf 100644 --- a/src/components/core/schema-form/src/types/form.ts +++ b/src/components/core/schema-form/src/types/form.ts @@ -20,9 +20,12 @@ export type Rule = RuleObject & { /** 获取所有字段名 */ export type GetFieldKeys = Exclude; -export interface RenderCallbackParams { - schema: Omit, 'componentProps'> & { - componentProps: ComponentProps; +export interface RenderCallbackParams< + T extends object = Recordable, + P extends ComponentProps = ComponentProps, +> { + schema: FormSchema & { + componentProps: P; }; /** 响应式的表单数据对象 */ formModel: Objectable; @@ -51,8 +54,32 @@ export type RegisterFn = (formInstance: SchemaFormInstance) => void; export type UnwrapFormSchema = UnwrapRef>; +type ComponentSchema = + | { + [K in ComponentType]: { + /** 表单项对应的组件,eg: Input */ + component: K; + /** 表单组件属性 */ + componentProps?: + | ComponentProps + | { + (opt: RenderCallbackParams>): ComponentProps; + requestResult: ComponentProps['requestResult']; + }; + }; + }[ComponentType] + | { + component: CustomRenderFn | ((opt: RenderCallbackParams) => Component); + componentProps?: + | ComponentProps + | { + (opt: RenderCallbackParams): ComponentProps; + requestResult: ComponentProps['requestResult']; + }; + }; + /** 表单项 */ -export type FormSchema = { +export type FormSchema = ComponentSchema & { /** 字段名 */ field: GetFieldKeys; // Event name triggered by internal value change, default change @@ -74,15 +101,7 @@ export type FormSchema = { labelWidth?: string | number; // Disable the adjustment of labelWidth with global settings of formModel, and manually set labelCol and wrapperCol by yourself disabledLabelWidth?: boolean; - /** 表单项对应的组件,eg: Input */ - component?: ComponentType | CustomRenderFn | ((opt: RenderCallbackParams) => Component); - /** 表单组件属性 */ - componentProps?: - | ComponentProps - | { - (opt: RenderCallbackParams): ComponentProps; - requestResult: ComponentProps['requestResult']; - }; + /** 表单组件slots,例如 a-input 的 suffix slot 可以写成:{ suffix: () => VNode } */ componentSlots?: | ((renderCallbackParams: RenderCallbackParams) => Recordable>) diff --git a/src/views/system/dept/columns.tsx b/src/views/system/dept/columns.tsx index 902eec786..3ba7cbf1b 100644 --- a/src/views/system/dept/columns.tsx +++ b/src/views/system/dept/columns.tsx @@ -14,14 +14,12 @@ export const baseColumns: TableColumnItem[] = [ title: '排序', dataIndex: 'orderNo', width: 50, - hideInSearch: true, }, { title: '创建时间', dataIndex: 'createdAt', width: 200, - hideInSearch: true, customRender: ({ record }) => formatToDateTime(record.createdAt), }, diff --git a/src/views/system/dept/formSchemas.ts b/src/views/system/dept/formSchemas.ts index 056f3c137..66d95e186 100644 --- a/src/views/system/dept/formSchemas.ts +++ b/src/views/system/dept/formSchemas.ts @@ -16,7 +16,6 @@ export const roleSchemas: FormSchema[] = [ componentProps: { fieldNames: { label: 'name', - key: 'id', value: 'id', }, getPopupContainer: () => document.body, diff --git a/src/views/system/dict-item/columns.tsx b/src/views/system/dict-item/columns.tsx index ccea51079..3a04ea4ea 100644 --- a/src/views/system/dict-item/columns.tsx +++ b/src/views/system/dict-item/columns.tsx @@ -51,7 +51,10 @@ export const baseColumns: TableColumnItem[] = [ }, ]; -export const getSearchFormSchemas = (dictTypeList: any[], onChange: Function): FormSchema[] => [ +export const getSearchFormSchemas = ( + dictTypeList: any[], + onChange: (value) => any, +): FormSchema[] => [ { field: 'typeId', label: '字典类型', diff --git a/src/views/system/menu/formSchemas.tsx b/src/views/system/menu/formSchemas.tsx index 979b16d13..170be927f 100644 --- a/src/views/system/menu/formSchemas.tsx +++ b/src/views/system/menu/formSchemas.tsx @@ -47,7 +47,6 @@ export const useMenuSchemas = (): FormSchema[] => [ componentProps: { fieldNames: { label: 'name', - key: 'id', value: 'id', }, request: async ({ schema, formModel }) => { diff --git a/src/views/system/user/formSchemas.tsx b/src/views/system/user/formSchemas.tsx index 43dedbbde..7fd9f5431 100644 --- a/src/views/system/user/formSchemas.tsx +++ b/src/views/system/user/formSchemas.tsx @@ -15,7 +15,6 @@ export const userSchemas: FormSchema[] = [ componentProps: { fieldNames: { label: 'name', - key: 'id', value: 'id', }, getPopupContainer: () => document.body,