stable
Clone or download
Read-only
part of request #18402 Convert document plugin into typescript No functional changes How to test: have custom propreties on document (string, text, date and simple list) Update propeties of a folder and apply changes everywhere => changes are applies Update a document and set ne properties => changes are applies Create a new document/folder with properties => properties are applied Note: I took the opportunity to remove the mutating props, so data are now properly built for ts files I did't convert multiple list, because it's rely on EventBus and is listen by many modal, I'm assuming this won't be an easy change Change-Id: I50996f71a769a5b75a8512870d96c746c58bddf9
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadataComponentTypeRenderer.vue | +3 | −0 | Go to diff View file |
R | plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadataDate.test.js | Go to diff View file | ||
M | plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadataDate.vue | +12 | −28 | Go to diff View file |
R | plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadataListSingleValue.test.js | Go to diff View file | ||
M | plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadataListSingleValue.vue | +29 | −23 | Go to diff View file |
R | plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadataString.test.js | Go to diff View file | ||
M | plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadataString.vue | +13 | −9 | Go to diff View file |
R | plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadataText.test.js | Go to diff View file | ||
M | plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadataText.vue | +13 | −9 | Go to diff View file |
R | plugins/document/scripts/document/components/Folder/Metadata/DateFlatPicker.test.js | Go to diff View file | ||
M | plugins/document/scripts/document/components/Folder/Metadata/DateFlatPicker.vue | +50 | −50 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/Metadata/FolderMetadata/FolderDefaultPropertiesForUpdate.vue | +4 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/ModalNewItem/NewFolderModal.test.js | +1 | −0 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/ModalNewItem/NewItemModal.test.js | +1 | −0 | Go to diff View file |
M | plugins/document/scripts/document/helpers/metadata-helpers/creation-data-transformatter-helper.test.ts | +16 | −0 | Go to diff View file |
M | plugins/document/scripts/document/helpers/metadata-helpers/creation-data-transformatter-helper.ts | +1 | −0 | Go to diff View file |
M | plugins/document/scripts/document/store/metadata/module.ts | +1 | −0 | Go to diff View file |