mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
chore: update vue-tsc to v2
This commit is contained in:
parent
cd0c79cfdf
commit
226827f21e
4 changed files with 49 additions and 41 deletions
|
@ -73,7 +73,7 @@
|
||||||
"unplugin-vue-define-options": "^1.4.6",
|
"unplugin-vue-define-options": "^1.4.6",
|
||||||
"vite": "^5.3.5",
|
"vite": "^5.3.5",
|
||||||
"vite-svg-loader": "^5.1.0",
|
"vite-svg-loader": "^5.1.0",
|
||||||
"vue-tsc": "^1.8.27"
|
"vue-tsc": "^2.0.29"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@9.6.0"
|
"packageManager": "pnpm@9.6.0"
|
||||||
}
|
}
|
||||||
|
|
81
app/pnpm-lock.yaml
generated
81
app/pnpm-lock.yaml
generated
|
@ -190,8 +190,8 @@ importers:
|
||||||
specifier: ^5.1.0
|
specifier: ^5.1.0
|
||||||
version: 5.1.0(vue@3.4.34(typescript@5.3.3))
|
version: 5.1.0(vue@3.4.34(typescript@5.3.3))
|
||||||
vue-tsc:
|
vue-tsc:
|
||||||
specifier: ^1.8.27
|
specifier: ^2.0.29
|
||||||
version: 1.8.27(typescript@5.3.3)
|
version: 2.0.29(typescript@5.3.3)
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
|
|
||||||
|
@ -847,14 +847,14 @@ packages:
|
||||||
vite: ^5.0.0
|
vite: ^5.0.0
|
||||||
vue: ^3.2.25
|
vue: ^3.2.25
|
||||||
|
|
||||||
'@volar/language-core@1.11.1':
|
'@volar/language-core@2.4.0-alpha.18':
|
||||||
resolution: {integrity: sha512-dOcNn3i9GgZAcJt43wuaEykSluAuOkQgzni1cuxLxTV0nJKanQztp7FxyswdRILaKH+P2XZMPRp2S4MV/pElCw==}
|
resolution: {integrity: sha512-JAYeJvYQQROmVRtSBIczaPjP3DX4QW1fOqW1Ebs0d3Y3EwSNRglz03dSv0Dm61dzd0Yx3WgTW3hndDnTQqgmyg==}
|
||||||
|
|
||||||
'@volar/source-map@1.11.1':
|
'@volar/source-map@2.4.0-alpha.18':
|
||||||
resolution: {integrity: sha512-hJnOnwZ4+WT5iupLRnuzbULZ42L7BWWPMmruzwtLhJfpDVoZLjNBxHDi2sY2bgZXCKlpU5XcsMFoYrsQmPhfZg==}
|
resolution: {integrity: sha512-MTeCV9MUwwsH0sNFiZwKtFrrVZUK6p8ioZs3xFzHc2cvDXHWlYN3bChdQtwKX+FY2HG6H3CfAu1pKijolzIQ8g==}
|
||||||
|
|
||||||
'@volar/typescript@1.11.1':
|
'@volar/typescript@2.4.0-alpha.18':
|
||||||
resolution: {integrity: sha512-iU+t2mas/4lYierSnoFOeRFQUhAEMgsFuQxoxvwn5EdQopw43j+J27a4lt9LMInx1gLJBC6qL14WYGlgymaSMQ==}
|
resolution: {integrity: sha512-sXh5Y8sqGUkgxpMWUGvRXggxYHAVxg0Pa1C42lQZuPDrW6vHJPR0VCK8Sr7WJsAW530HuNQT/ZIskmXtxjybMQ==}
|
||||||
|
|
||||||
'@vue-macros/common@1.11.0':
|
'@vue-macros/common@1.11.0':
|
||||||
resolution: {integrity: sha512-PpAh4UZ5hJWWUUnV9290xnvZBBlzmfAX0Qyndplts3RoPzrLSbqTfXucdz9NYdYuGJ7dy+H6OJS+QtknVBlZiA==}
|
resolution: {integrity: sha512-PpAh4UZ5hJWWUUnV9290xnvZBBlzmfAX0Qyndplts3RoPzrLSbqTfXucdz9NYdYuGJ7dy+H6OJS+QtknVBlZiA==}
|
||||||
|
@ -893,11 +893,14 @@ packages:
|
||||||
'@vue/compiler-ssr@3.4.34':
|
'@vue/compiler-ssr@3.4.34':
|
||||||
resolution: {integrity: sha512-8TDBcLaTrFm5rnF+Qm4BlliaopJgqJ28Nsrc80qazynm5aJO+Emu7y0RWw34L8dNnTRdcVBpWzJxhGYzsoVu4g==}
|
resolution: {integrity: sha512-8TDBcLaTrFm5rnF+Qm4BlliaopJgqJ28Nsrc80qazynm5aJO+Emu7y0RWw34L8dNnTRdcVBpWzJxhGYzsoVu4g==}
|
||||||
|
|
||||||
|
'@vue/compiler-vue2@2.7.16':
|
||||||
|
resolution: {integrity: sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==}
|
||||||
|
|
||||||
'@vue/devtools-api@6.6.3':
|
'@vue/devtools-api@6.6.3':
|
||||||
resolution: {integrity: sha512-0MiMsFma/HqA6g3KLKn+AGpL1kgKhFWszC9U29NfpWK5LE7bjeXxySWJrOJ77hBz+TBrBQ7o4QJqbPbqbs8rJw==}
|
resolution: {integrity: sha512-0MiMsFma/HqA6g3KLKn+AGpL1kgKhFWszC9U29NfpWK5LE7bjeXxySWJrOJ77hBz+TBrBQ7o4QJqbPbqbs8rJw==}
|
||||||
|
|
||||||
'@vue/language-core@1.8.27':
|
'@vue/language-core@2.0.29':
|
||||||
resolution: {integrity: sha512-L8Kc27VdQserNaCUNiSFdDl9LWT24ly8Hpwf1ECy3aFb9m6bDhBGQYOujDm21N7EW3moKIOKEanQwe1q5BK+mA==}
|
resolution: {integrity: sha512-o2qz9JPjhdoVj8D2+9bDXbaI4q2uZTHQA/dbyZT4Bj1FR9viZxDJnLcKVHfxdn6wsOzRgpqIzJEEmSSvgMvDTQ==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
typescript: '*'
|
typescript: '*'
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
|
@ -2263,8 +2266,8 @@ packages:
|
||||||
ms@2.1.3:
|
ms@2.1.3:
|
||||||
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
|
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
|
||||||
|
|
||||||
muggle-string@0.3.1:
|
muggle-string@0.4.1:
|
||||||
resolution: {integrity: sha512-ckmWDJjphvd/FvZawgygcUeQCxzvohjFO5RxTjj4eq8kw359gFF3E1brjfI+viLMxss5JrHTDRHZvu2/tuy0Qg==}
|
resolution: {integrity: sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==}
|
||||||
|
|
||||||
mz@2.7.0:
|
mz@2.7.0:
|
||||||
resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==}
|
resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==}
|
||||||
|
@ -3023,6 +3026,9 @@ packages:
|
||||||
terser:
|
terser:
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
vscode-uri@3.0.8:
|
||||||
|
resolution: {integrity: sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==}
|
||||||
|
|
||||||
vue-demi@0.14.10:
|
vue-demi@0.14.10:
|
||||||
resolution: {integrity: sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==}
|
resolution: {integrity: sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
|
@ -3045,14 +3051,11 @@ packages:
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vue: ^3.2.0
|
vue: ^3.2.0
|
||||||
|
|
||||||
vue-template-compiler@2.7.16:
|
vue-tsc@2.0.29:
|
||||||
resolution: {integrity: sha512-AYbUWAJHLGGQM7+cNTELw+KsOG9nl2CnSv467WobS5Cv9uk3wFcnr1Etsz2sEIHEZvw1U+o9mRlEO6QbZvUPGQ==}
|
resolution: {integrity: sha512-MHhsfyxO3mYShZCGYNziSbc63x7cQ5g9kvijV7dRe1TTXBRLxXyL0FnXWpUF1xII2mJ86mwYpYsUmMwkmerq7Q==}
|
||||||
|
|
||||||
vue-tsc@1.8.27:
|
|
||||||
resolution: {integrity: sha512-WesKCAZCRAbmmhuGl3+VrdWItEvfoFIPXOvUJkjULi+x+6G/Dy69yO3TBRJDr9eUlmsNAwVmxsNZxvHKzbkKdg==}
|
|
||||||
hasBin: true
|
hasBin: true
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
typescript: '*'
|
typescript: '>=5.0.0'
|
||||||
|
|
||||||
vue-types@3.0.2:
|
vue-types@3.0.2:
|
||||||
resolution: {integrity: sha512-IwUC0Aq2zwaXqy74h4WCvFCUtoV0iSWr0snWnE9TnU18S66GAQyqQbRf2qfJtUuiFsBf6qp0MEwdonlwznlcrw==}
|
resolution: {integrity: sha512-IwUC0Aq2zwaXqy74h4WCvFCUtoV0iSWr0snWnE9TnU18S66GAQyqQbRf2qfJtUuiFsBf6qp0MEwdonlwznlcrw==}
|
||||||
|
@ -3857,18 +3860,17 @@ snapshots:
|
||||||
vite: 5.3.5(@types/node@22.0.0)(less@4.2.0)
|
vite: 5.3.5(@types/node@22.0.0)(less@4.2.0)
|
||||||
vue: 3.4.34(typescript@5.3.3)
|
vue: 3.4.34(typescript@5.3.3)
|
||||||
|
|
||||||
'@volar/language-core@1.11.1':
|
'@volar/language-core@2.4.0-alpha.18':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@volar/source-map': 1.11.1
|
'@volar/source-map': 2.4.0-alpha.18
|
||||||
|
|
||||||
'@volar/source-map@1.11.1':
|
'@volar/source-map@2.4.0-alpha.18': {}
|
||||||
dependencies:
|
|
||||||
muggle-string: 0.3.1
|
|
||||||
|
|
||||||
'@volar/typescript@1.11.1':
|
'@volar/typescript@2.4.0-alpha.18':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@volar/language-core': 1.11.1
|
'@volar/language-core': 2.4.0-alpha.18
|
||||||
path-browserify: 1.0.1
|
path-browserify: 1.0.1
|
||||||
|
vscode-uri: 3.0.8
|
||||||
|
|
||||||
'@vue-macros/common@1.11.0(rollup@4.19.1)(vue@3.4.34(typescript@5.3.3))':
|
'@vue-macros/common@1.11.0(rollup@4.19.1)(vue@3.4.34(typescript@5.3.3))':
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -3942,19 +3944,23 @@ snapshots:
|
||||||
'@vue/compiler-dom': 3.4.34
|
'@vue/compiler-dom': 3.4.34
|
||||||
'@vue/shared': 3.4.34
|
'@vue/shared': 3.4.34
|
||||||
|
|
||||||
|
'@vue/compiler-vue2@2.7.16':
|
||||||
|
dependencies:
|
||||||
|
de-indent: 1.0.2
|
||||||
|
he: 1.2.0
|
||||||
|
|
||||||
'@vue/devtools-api@6.6.3': {}
|
'@vue/devtools-api@6.6.3': {}
|
||||||
|
|
||||||
'@vue/language-core@1.8.27(typescript@5.3.3)':
|
'@vue/language-core@2.0.29(typescript@5.3.3)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@volar/language-core': 1.11.1
|
'@volar/language-core': 2.4.0-alpha.18
|
||||||
'@volar/source-map': 1.11.1
|
|
||||||
'@vue/compiler-dom': 3.4.34
|
'@vue/compiler-dom': 3.4.34
|
||||||
|
'@vue/compiler-vue2': 2.7.16
|
||||||
'@vue/shared': 3.4.34
|
'@vue/shared': 3.4.34
|
||||||
computeds: 0.0.1
|
computeds: 0.0.1
|
||||||
minimatch: 9.0.5
|
minimatch: 9.0.5
|
||||||
muggle-string: 0.3.1
|
muggle-string: 0.4.1
|
||||||
path-browserify: 1.0.1
|
path-browserify: 1.0.1
|
||||||
vue-template-compiler: 2.7.16
|
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
typescript: 5.3.3
|
typescript: 5.3.3
|
||||||
|
|
||||||
|
@ -5488,7 +5494,7 @@ snapshots:
|
||||||
|
|
||||||
ms@2.1.3: {}
|
ms@2.1.3: {}
|
||||||
|
|
||||||
muggle-string@0.3.1: {}
|
muggle-string@0.4.1: {}
|
||||||
|
|
||||||
mz@2.7.0:
|
mz@2.7.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -6296,6 +6302,8 @@ snapshots:
|
||||||
fsevents: 2.3.3
|
fsevents: 2.3.3
|
||||||
less: 4.2.0
|
less: 4.2.0
|
||||||
|
|
||||||
|
vscode-uri@3.0.8: {}
|
||||||
|
|
||||||
vue-demi@0.14.10(vue@3.4.34(typescript@5.3.3)):
|
vue-demi@0.14.10(vue@3.4.34(typescript@5.3.3)):
|
||||||
dependencies:
|
dependencies:
|
||||||
vue: 3.4.34(typescript@5.3.3)
|
vue: 3.4.34(typescript@5.3.3)
|
||||||
|
@ -6318,15 +6326,10 @@ snapshots:
|
||||||
'@vue/devtools-api': 6.6.3
|
'@vue/devtools-api': 6.6.3
|
||||||
vue: 3.4.34(typescript@5.3.3)
|
vue: 3.4.34(typescript@5.3.3)
|
||||||
|
|
||||||
vue-template-compiler@2.7.16:
|
vue-tsc@2.0.29(typescript@5.3.3):
|
||||||
dependencies:
|
dependencies:
|
||||||
de-indent: 1.0.2
|
'@volar/typescript': 2.4.0-alpha.18
|
||||||
he: 1.2.0
|
'@vue/language-core': 2.0.29(typescript@5.3.3)
|
||||||
|
|
||||||
vue-tsc@1.8.27(typescript@5.3.3):
|
|
||||||
dependencies:
|
|
||||||
'@volar/typescript': 1.11.1
|
|
||||||
'@vue/language-core': 1.8.27(typescript@5.3.3)
|
|
||||||
semver: 7.6.3
|
semver: 7.6.3
|
||||||
typescript: 5.3.3
|
typescript: 5.3.3
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@ import StdTable from './StdTable.vue'
|
||||||
import StdDataEntry from '@/components/StdDesign/StdDataEntry'
|
import StdDataEntry from '@/components/StdDesign/StdDataEntry'
|
||||||
import type { Column } from '@/components/StdDesign/types'
|
import type { Column } from '@/components/StdDesign/types'
|
||||||
import StdCurdDetail from '@/components/StdDesign/StdDataDisplay/StdCurdDetail.vue'
|
import StdCurdDetail from '@/components/StdDesign/StdDataDisplay/StdCurdDetail.vue'
|
||||||
|
import type { StdTableSlots } from '@/components/StdDesign/StdDataDisplay/types'
|
||||||
|
|
||||||
export interface StdCurdProps<T> extends StdTableProps<T> {
|
export interface StdCurdProps<T> extends StdTableProps<T> {
|
||||||
cardTitleKey?: string
|
cardTitleKey?: string
|
||||||
|
@ -232,7 +233,7 @@ const localOverwriteParams = reactive(props.overwriteParams ?? {})
|
||||||
@selected="onSelect"
|
@selected="onSelect"
|
||||||
>
|
>
|
||||||
<template
|
<template
|
||||||
v-for="(_, key) in $slots"
|
v-for="(_, key) in ($slots as unknown as StdTableSlots)"
|
||||||
:key="key"
|
:key="key"
|
||||||
#[key]="slotProps"
|
#[key]="slotProps"
|
||||||
>
|
>
|
||||||
|
|
4
app/src/components/StdDesign/StdDataDisplay/types.d.ts
vendored
Normal file
4
app/src/components/StdDesign/StdDataDisplay/types.d.ts
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
export interface StdTableSlots {
|
||||||
|
'append-search': ({}) => any
|
||||||
|
actions: ({}: Record<string, any>) => any
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue