stable

Clone or download

Read-only

chore: Convert UploadProgressBar to typescript

Take the opportunity to use composition api instead of vue class component. No functional changes. There is still a progress bar and you can cancel the ongoing upload. Part of request #18402: Convert document plugin into typescript Change-Id: I62d05c45f0609149ad81104f65942c723a7b88c5

Modified Files

Name
M plugins/document/jest.config.js +10 −0 Go to diff View file
M plugins/document/package.json +3 −0 Go to diff View file
M plugins/document/pnpm-lock.yaml +18 −0 Go to diff View file
D plugins/document/scripts/document/components/Folder/ProgressBar/UploadProgressBar.test.js +0 −91 Go to diff View file
A plugins/document/scripts/document/components/Folder/ProgressBar/UploadProgressBar.test.ts +106 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/ProgressBar/UploadProgressBar.vue +39 −32 Go to diff View file
M plugins/document/scripts/document/helpers/local-vue.ts +2 −0 Go to diff View file
M plugins/document/scripts/document/index.js +2 −0 Go to diff View file
M plugins/document/tsconfig.json +6 −1 Go to diff View file
M plugins/document/webpack.common.js +9 −0 Go to diff View file