stable

Clone or download

Read-only

Document, convert `Delete` buttons into typescript

part of request #18402 Convert document plugin into typescript This patch convert the button components into typescript and replace the EventBus[0] calls by vuex store [0] https://v3.vuejs.org/guide/migration/events-api.html#overview Change-Id: I1eeb03b6c65350175380f78c0695856df6bdc45a

Modified Files

Name
D plugins/document/scripts/document/components/Folder/ActionsQuickLookButton/QuickLookDeleteButton.test.js +0 −78 Go to diff View file
A plugins/document/scripts/document/components/Folder/ActionsQuickLookButton/QuickLookDeleteButton.test.ts +71 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/ActionsQuickLookButton/QuickLookDeleteButton.vue +18 −19 Go to diff View file
D plugins/document/scripts/document/components/Folder/DropDown/DeleteItem.test.js +0 −71 Go to diff View file
A plugins/document/scripts/document/components/Folder/DropDown/DeleteItem.test.ts +70 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DeleteItem.vue +18 −19 Go to diff View file
M plugins/document/scripts/document/components/Folder/FolderHeader.test.js +3 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/FolderHeader.vue +3 −11 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemDisplay/DisplayEmbeddedContent.test.js +5 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemDisplay/DisplayEmbeddedContent.vue +3 −12 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalDeleteItem/ModalConfirmDeletion.vue +2 −1 Go to diff View file
M plugins/document/scripts/document/store/index.js +2 −0 Go to diff View file
A plugins/document/scripts/document/store/modals/index.ts +33 −0 Go to diff View file
A plugins/document/scripts/document/store/modals/mutations.ts +30 −0 Go to diff View file