stable

Clone or download

Read-only

Convert creation metadata helpers in typescript

part of request #18402 Convert document plugin into typescript No functional changes Have metatada declared in docman (string/date/text/list single/multiple value) Create a folder => you can select metadata Create a document inside the folder => metadata are inherited from parent Change-Id: I71c90ae5b1b41ee84300329624d186182132e9e4

Modified Files

Name
M plugins/document/scripts/document/components/Folder/Metadata/DocumentMetadata/StatusMetadataWithCustomBindingForDocumentCreate.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/Metadata/FolderMetadata/StatusMetadataWithCustomBindingForFolderCreate.vue +1 −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/NewFolderModal.vue +2 −2 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/components/Folder/ModalNewItem/NewItemModal.vue +1 −1 Go to diff View file
A plugins/document/scripts/document/helpers/metadata-helpers/creation-data-transformatter-helper.test.ts +386 −0 Go to diff View file
A plugins/document/scripts/document/helpers/metadata-helpers/creation-data-transformatter-helper.ts +91 −0 Go to diff View file
M plugins/document/scripts/document/helpers/metadata-helpers/data-transformatter-helper.js +6 −89 Go to diff View file
M plugins/document/scripts/document/helpers/metadata-helpers/data-transformatter-helper.test.js +0 −310 Go to diff View file
A plugins/document/scripts/document/helpers/metadata-helpers/value-transformer/date-metadata-helper.test.ts +33 −0 Go to diff View file
A plugins/document/scripts/document/helpers/metadata-helpers/value-transformer/date-metadata-helper.ts +27 −0 Go to diff View file
A plugins/document/scripts/document/helpers/metadata-helpers/value-transformer/list-value-helper.test.ts +122 −0 Go to diff View file
A plugins/document/scripts/document/helpers/metadata-helpers/value-transformer/list-value-helper.ts +48 −0 Go to diff View file
A plugins/document/scripts/document/helpers/metadata-helpers/value-transformer/status-metadata-helper.test.ts +58 −0 Go to diff View file
A plugins/document/scripts/document/helpers/metadata-helpers/value-transformer/status-metadata-helper.ts +33 −0 Go to diff View file
M plugins/document/scripts/document/type.ts +17 −0 Go to diff View file