stable
Clone or download
Read-only
part of request #30736 Convert document app in vue3 Convert clipboard store into pinia Why: the dependency `vuex-shared-mutations` does not support Vue3, so we need pinia for the clipboard before using vue-compat-mode on the plugin How to test: When you cut/copy/paste doccument the state is shared between your browser tabs: you can cut in one tab, swith to an other one, you'll be able to paste your document in the second tab Change-Id: Ib22c873b8f1664b0851c4dcd5bc48ef74eb527fd
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/document/package.json | +4 | −2 | Go to diff View file |
M | plugins/document/pnpm-lock.yaml | +115 | −18 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/Clipboard/ClipboardContentInformation.test.ts | +22 | −11 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/Clipboard/ClipboardContentInformation.vue | +19 | −20 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/DropDown/CopyItem.test.ts | +16 | −11 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/DropDown/CopyItem.vue | +6 | −10 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/DropDown/CutItem.test.ts | +15 | −11 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/DropDown/CutItem.vue | +6 | −11 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/DropDown/PasteItem.test.ts | +26 | −14 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/DropDown/PasteItem.vue | +21 | −25 | Go to diff View file |
M | plugins/document/scripts/document/helpers/local-vue.ts | +3 | −0 | Go to diff View file |
M | plugins/document/scripts/document/index.js | +8 | −0 | Go to diff View file |
R | plugins/document/scripts/document/store/clipboard/clipboard-default-state.ts | Go to diff View file | ||
D | plugins/document/scripts/document/store/clipboard/clipboard-actions.ts | +0 | −156 | Go to diff View file |
D | plugins/document/scripts/document/store/clipboard/clipboard-mutations.test.ts | +0 | −133 | Go to diff View file |
D | plugins/document/scripts/document/store/clipboard/clipboard-mutations.ts | +0 | −63 | Go to diff View file |
A | plugins/document/scripts/document/store/index.d.ts | +30 | −0 | Go to diff View file |
M | plugins/document/scripts/document/store/index.js | +5 | −27 | Go to diff View file |
R | plugins/document/scripts/document/store/clipboard/clipboard-actions.test.ts | Go to diff View file | ||
A | plugins/document/scripts/document/stores/clipboard.ts | +197 | −0 | Go to diff View file |
R | plugins/document/scripts/document/store/clipboard/module.ts | Go to diff View file |