stable

Clone or download

Read-only

Vue2 phaseout: Convert buttons 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 No functional changes: - you can use quicklook - you can cut/copy/paste documents - you can create new version of document - you can update permissions Change-Id: Ib5bfc1a27dab9fedc257d010e14ece228de154d2

Modified Files

Name
M plugins/document/scripts/document/components/Folder/ActionsQuickLookButton/QuickLookButton.vue +4 −9 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/CopyItem.vue +13 −17 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/CutItem.vue +17 −20 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/NewItemVersionButton.vue +35 −42 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PasteItem.test.ts +0 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PasteItem.vue +51 −61 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/UpdatePermissions.vue +6 −11 Go to diff View file
M plugins/document/scripts/document/helpers/clipboard/clipboard-helpers.ts +2 −2 Go to diff View file
M plugins/document/scripts/document/store/actions-create.test.ts +151 −1 Go to diff View file
M plugins/document/scripts/document/store/actions-create.ts +35 −5 Go to diff View file
D plugins/document/scripts/document/store/actions-helpers/adjust-item-to-content-after-item-creation-in-folder.test.ts +0 −162 Go to diff View file
D plugins/document/scripts/document/store/actions-helpers/adjust-item-to-content-after-item-creation-in-folder.ts +0 −42 Go to diff View file
M plugins/document/scripts/document/store/clipboard/clipboard-actions.test.ts +3 −31 Go to diff View file
M plugins/document/scripts/document/store/clipboard/clipboard-actions.ts +16 −7 Go to diff View file