stable

Clone or download

Read-only

Vue2 phaseout: converte DropDown/Delete into composition api

part of request #18402 Convert document plugin into typescript Note: In order to prepare shutdown of vue2 by the end of year we should convert Vue Component class into composition API How to test: Delete a document => the modal should be displayed Confirm deleteion => a notification is dsiplayed Have several wiki document referencing the same page => a checkbox enables you to delete the corresponding wiki page Change-Id: I7e110116578e4ce5ae0ce102246c479cc940b45c

Modified Files

Name
M plugins/document/scripts/document/components/Folder/DropDown/Delete/DeleteAssociatedWikiPageCheckbox.vue +34 −34 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/Delete/DeleteItem.vue +10 −14 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/Delete/ModalConfirmDeletion.test.ts +33 −34 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/Delete/ModalConfirmDeletion.vue +122 −115 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/Delete/PostItemDeletionNotification.vue +27 −24 Go to diff View file
M plugins/document/scripts/document/po/fr_FR.po +5 −3 Go to diff View file
M plugins/document/scripts/document/po/pt_BR.po +3 −1 Go to diff View file
M plugins/document/scripts/document/store/actions-delete.ts +4 −0 Go to diff View file
M plugins/document/scripts/document/type.ts +1 −0 Go to diff View file