stable

Clone or download

Read-only

Chore: Convert document to Vue3 in compat mode

part of request #30736 Convert document app in vue3 Notes: - component render have changes, vue renders stub during test - it impacts our slot usage, they must be declare outside subcomponent (visible in dropdown) - when we need to test compnent rendered inside a component, most of time we want to ensure that our computed is correct => the only way I found to keep those tests was to expose the computed with `defineExpose` Change-Id: If404e9d17a27fc9355790e75a02806e67e92f895

Modified Files

Name
M .eslintrc.js +1 −0 Go to diff View file
A lib/frontend/vue3-breadcrumb-privacy/.gitignore +1 −0 Go to diff View file
A lib/frontend/vue3-breadcrumb-privacy/package.json +37 −0 Go to diff View file
A lib/frontend/vue3-breadcrumb-privacy/pnpm-lock.yaml +620 −0 Go to diff View file
A lib/frontend/vue3-breadcrumb-privacy/src/BreadcrumbPrivacy.test.ts +77 −0 Go to diff View file
A lib/frontend/vue3-breadcrumb-privacy/src/BreadcrumbPrivacy.vue +145 −0 Go to diff View file
A lib/frontend/vue3-breadcrumb-privacy/src/global-options-for-test.ts +27 −0 Go to diff View file
R plugins/document/scripts/document/helpers/local-vue.ts Go to diff View file
A lib/frontend/vue3-breadcrumb-privacy/src/shims.d.ts +23 −0 Go to diff View file
A lib/frontend/vue3-breadcrumb-privacy/tsconfig.json +10 −0 Go to diff View file
A lib/frontend/vue3-breadcrumb-privacy/vite.config.ts +48 −0 Go to diff View file
M plugins/document/build-manifest.json +1 −1 Go to diff View file
M plugins/document/jest.config.js +3 −8 Go to diff View file
M plugins/document/package.json +14 −11 Go to diff View file
M plugins/document/pnpm-lock.yaml +541 −145 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/Criteria/CriterionDate.test.ts +11 −12 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/Criteria/CriterionGlobalText.test.ts +8 −11 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/Criteria/CriterionGlobalText.vue +5 −2 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/Criteria/CriterionList.test.ts +17 −14 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/Criteria/CriterionNumber.test.ts +5 −7 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/Criteria/CriterionOwner.test.ts +21 −11 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/Criteria/CriterionOwner.vue +10 −2 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/Criteria/CriterionText.test.ts +6 −5 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/Criteria/CriterionText.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/Criteria/SearchInformationPopover.test.ts +3 −3 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/Criteria/SearchInformationPopover.vue +3 −3 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/Criteria/__snapshots__/CriterionDate.test.ts.snap +10 −26 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/Criteria/__snapshots__/CriterionGlobalText.test.ts.snap +0 −4 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/Criteria/__snapshots__/CriterionList.test.ts.snap +5 −11 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/Criteria/__snapshots__/CriterionNumber.test.ts.snap +0 −1 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/Criteria/__snapshots__/CriterionOwner.test.ts.snap +4 −10 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/Criteria/__snapshots__/CriterionText.test.ts.snap +0 −2 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/Criteria/__snapshots__/SearchInformationPopover.test.ts.snap +44 −12 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/OngoingUploadModal.test.ts +7 −7 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/OngoingUploadModal.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchContainer.test.ts +79 −229 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchContainer.vue +6 −3 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchCriteriaBreadcrumb.test.ts +23 −51 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchCriteriaBreadcrumb.vue +10 −7 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchCriteriaPanel.test.ts +48 −52 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchCriteriaPanel.vue +5 −2 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchHeader.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchItemModals.test.ts +23 −8 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchItemModals.vue +14 −8 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/CellCustomProperty.test.ts +9 −14 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/CellCustomProperty.vue +5 −1 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/CellDate.test.ts +0 −2 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/CellDescription.test.ts +8 −3 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/CellDescription.vue +11 −2 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/CellFilename.test.ts +0 −3 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/CellId.test.ts +0 −2 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/CellLocation.test.ts +13 −12 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/CellLocation.vue +6 −10 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/CellObsolescenceDate.test.ts +0 −3 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/CellOwner.test.ts +1 −3 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/CellStatus.test.ts +3 −4 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/CellStatus.vue +5 −1 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/CellString.test.ts +1 −5 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/CellTitle.test.ts +60 −30 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/CellTitle.vue +2 −0 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/SearchItemDropdown.test.ts +28 −22 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/SearchItemDropdown.vue +3 −1 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/__snapshots__/CellLocation.test.ts.snap +16 −16 Go to diff View file
A plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/__snapshots__/CellString.test.ts.snap +9 −0 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/__snapshots__/SearchItemDropdown.test.ts.snap +22 −18 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/SearchResultError.test.ts +15 −14 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/SearchResultPagination.test.ts +49 −40 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/SearchResultPagination.vue +15 −8 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/SearchResultTable.test.ts +114 −81 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/SearchResultTable.vue +4 −5 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/TableBodyResultRow.test.ts +0 −2 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/TableBodySkeleton.vue +2 −5 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/__snapshots__/TableBodySkeleton.test.ts.snap +20 −30 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/__snapshots__/SearchCriteriaBreadcrumb.test.ts.snap +12 −18 Go to diff View file
M plugins/document/scripts/document/components/App.test.js +65 −127 Go to diff View file
M plugins/document/scripts/document/components/App.vue +7 −1 Go to diff View file
M plugins/document/scripts/document/components/Breadcrumb/DocumentBreadcrumb.test.ts +31 −47 Go to diff View file
M plugins/document/scripts/document/components/Breadcrumb/DocumentBreadcrumb.vue +1 −2 Go to diff View file
M plugins/document/scripts/document/components/Date/DocumentRelativeDate.test.ts +27 −24 Go to diff View file
M plugins/document/scripts/document/components/Date/__snapshots__/DocumentRelativeDate.test.ts.snap +2 −10 Go to diff View file
M plugins/document/scripts/document/components/EmbeddedDisplay/ActionsHeader.test.ts +2 −4 Go to diff View file
M plugins/document/scripts/document/components/EmbeddedDisplay/DisplayEmbedded.test.ts +119 −135 Go to diff View file
M plugins/document/scripts/document/components/EmbeddedDisplay/DisplayEmbeddedContent.test.ts +22 −34 Go to diff View file
M plugins/document/scripts/document/components/EmbeddedDisplay/DisplayEmbeddedContent.vue +2 −6 Go to diff View file
M plugins/document/scripts/document/components/EmbeddedDisplay/EmbeddedFileEditionSwitcher.test.ts +26 −17 Go to diff View file
M plugins/document/scripts/document/components/EmbeddedDisplay/EmbeddedFileEditionSwitcher.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ActionsQuickLookButton/QuickLookButton.test.ts +4 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/ApprovalTables/ApprovalBadge.test.ts +6 −8 Go to diff View file
M plugins/document/scripts/document/components/Folder/ApprovalTables/ApprovalBadge.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ChildFolder.test.js +46 −90 Go to diff View file
M plugins/document/scripts/document/components/Folder/ChildFolder.vue +5 −15 Go to diff View file
M plugins/document/scripts/document/components/Folder/Clipboard/ClipboardContentInformation.test.ts +57 −48 Go to diff View file
M plugins/document/scripts/document/components/Folder/Clipboard/ClipboardContentInformation.vue +12 −8 Go to diff View file
M plugins/document/scripts/document/components/Folder/DragNDrop/CreationErrorDragndropErrorModal.vue +12 −7 Go to diff View file
M plugins/document/scripts/document/components/Folder/DragNDrop/CurrentFolderDropZone.test.ts +23 −27 Go to diff View file
M plugins/document/scripts/document/components/Folder/DragNDrop/CurrentFolderDropZone.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DragNDrop/DragNDropHandler.test.js +133 −149 Go to diff View file
M plugins/document/scripts/document/components/Folder/DragNDrop/DragNDropHandler.vue +4 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DragNDrop/DroppedItemIsAFolderErrorModal.vue +12 −8 Go to diff View file
M plugins/document/scripts/document/components/Folder/DragNDrop/FilenamePatternSetErrorModal.vue +8 −5 Go to diff View file
M plugins/document/scripts/document/components/Folder/DragNDrop/MaxFilesDragndropErrorModal.vue +14 −9 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/CopyItem.test.ts +33 −28 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/CopyItem.vue +4 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/CutItem.test.ts +31 −19 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/CutItem.vue +4 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/Delete/DeleteAssociatedWikiPageCheckbox.test.ts +23 −19 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/Delete/DeleteAssociatedWikiPageCheckbox.vue +7 −6 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/Delete/DeleteItem.test.ts +14 −14 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/Delete/ModalConfirmDeletion.test.ts +72 −64 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/Delete/ModalConfirmDeletion.vue +14 −9 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DownloadFile.test.ts +5 −5 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DownloadFolderAsZip/DownloadFolderAsZip.test.ts +71 −83 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DownloadFolderAsZip/ModalArchiveSizeWarning.test.ts +16 −12 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DownloadFolderAsZip/ModalArchiveSizeWarning.vue +40 −25 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DownloadFolderAsZip/ModalMaxArchiveSizeThresholdExceeded.test.ts +13 −12 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DownloadFolderAsZip/ModalMaxArchiveSizeThresholdExceeded.vue +32 −15 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DropDownButton.test.ts +5 −5 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DropDownCurrentFolder.test.ts +16 −14 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DropDownCurrentFolder.vue +3 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DropDownDisplayedEmbedded.test.ts +16 −13 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DropDownDisplayedEmbedded.vue +5 −3 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DropDownMenu.test.ts +45 −65 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DropDownMenu.vue +7 −5 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DropDownMenuTreeView.test.ts +16 −13 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DropDownMenuTreeView.vue +25 −25 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DropDownQuickLook.test.ts +16 −25 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DropDownQuickLook.vue +53 −46 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/Lock/LockItem.test.ts +18 −10 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/Lock/LockProperty.test.ts +4 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/Lock/LockProperty.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/Lock/UnlockItem.test.ts +18 −10 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/CreationModalPermissionsSection.test.js +2 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/CreationModalPermissionsSection.vue +1 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/FileCreationModal.test.ts +59 −50 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/NewFolderModal.test.js +77 −65 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/NewFolderModal.vue +1 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/NewItemDropdown.test.ts +2 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/NewItemDropdown.vue +4 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/NewItemMenuOptions.test.ts +17 −11 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/NewItemMenuOptions.vue +4 −6 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/NewItemModal.test.js +85 −67 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/NewItemModal.vue +7 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/PropertiesForCreate/DocumentGlobalPropertyForCreate.test.ts +2 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/PropertiesForCreate/FolderDefaultPropertiesForCreate.test.ts +18 −10 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/PropertiesForCreate/ObsolescenceDatePropertyForCreate.test.ts +27 −32 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/PropertiesForCreate/ObsolescenceDatePropertyForCreate.vue +16 −10 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/PropertiesForCreate/OtherInformationPropertiesForCreate.test.ts +32 −17 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/PropertiesForCreate/StatusPropertyWithCustomBindingForDocumentCreate.test.ts +17 −11 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/PropertiesForCreate/StatusPropertyWithCustomBindingForFolderCreate.test.ts +16 −10 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/PropertiesForCreate/__snapshots__/DocumentGlobalPropertyForCreate.test.ts.snap +3 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/CreateNewVersionEmbeddedFileModal.test.js +33 −26 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/CreateNewVersionEmptyModal.test.js +42 −14 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/CreateNewVersionEmptyModal.vue +1 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/CreateNewVersionFileModal.test.js +7 −6 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/CreateNewVersionLinkModal.test.js +7 −6 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/FileVersionChangelogModal.test.js +30 −15 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/History/FileVersionHistory.test.ts +55 −42 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/History/FileVersionHistory.vue +25 −6 Go to diff View file
D plugins/document/scripts/document/components/Folder/DropDown/NewVersion/History/__snapshots__/FileVersionHistory.test.ts.snap +0 −121 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/NewItemVersionButton.test.ts +15 −10 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/NewItemVersionButton.vue +2 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/NewVersionEmptyDropdown.test.ts +2 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/NewVersionEmptyMenuOptions.test.ts +28 −31 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/NewVersionEmptyMenuOptions.vue +5 −7 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/PreviewFilenameNewVersion.test.ts +32 −29 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/PreviewFilenameNewVersion.vue +4 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/PropertiesForUpdate/ApprovalUpdateProperties.test.ts +4 −6 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/PropertiesForUpdate/ItemUpdateProperties.test.ts +5 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PasteItem.test.ts +44 −42 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PasteItem.vue +8 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/AlwaysThereProperties/DescriptionProperty.test.ts +7 −8 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/AlwaysThereProperties/TitleProperty.test.ts +18 −17 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/AlwaysThereProperties/TitleProperty.vue +2 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/ChangelogProperty.test.ts +4 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/CustomProperties/CustomPropertyComponentTypeRenderer.test.ts +4 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/CustomProperties/CustomPropertyDate.test.ts +4 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/CustomProperties/CustomPropertyDate.vue +1 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/CustomProperties/CustomPropertyListMultipleValue.test.ts +31 −27 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/CustomProperties/CustomPropertyListSingleValue.test.ts +34 −58 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/CustomProperties/CustomPropertyString.test.ts +4 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/CustomProperties/CustomPropertyText.test.ts +4 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/DateFlatPicker.test.ts +2 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/StatusProperty.test.ts +4 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/VersionTitleProperty.test.ts +4 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/UpdatePermissions.test.ts +5 −5 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/UpdateProperties/FolderDefaultPropertiesForUpdate.test.ts +36 −77 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/UpdateProperties/ObsolescenceDatePropertyForUpdate.test.ts +19 −14 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/UpdateProperties/OtherInformationPropertyForUpdate.test.ts +37 −20 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/UpdateProperties/StatusPropertyWithCustomBindingForDocumentUpdate.test.ts +12 −9 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/UpdateProperties/StatusPropertyWithCustomBindingForFolderUpdate.test.ts +12 −9 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/UpdateProperties/UpdateFolderPropertiesModal.test.js +58 −50 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/UpdateProperties/UpdateProperties.test.ts +4 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/UpdateProperties/UpdatePropertiesModal.test.js +45 −44 Go to diff View file
M plugins/document/scripts/document/components/Folder/Error/GlobalErrorModal.test.ts +26 −12 Go to diff View file
M plugins/document/scripts/document/components/Folder/Error/GoBackToRootButton.test.ts +21 −31 Go to diff View file
M plugins/document/scripts/document/components/Folder/Error/GoBackToRootButton.vue +8 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/Error/ItemPermissionError.test.ts +14 −12 Go to diff View file
M plugins/document/scripts/document/components/Folder/Error/ItemPermissionError.vue +16 −11 Go to diff View file
M plugins/document/scripts/document/components/Folder/Error/ShowErrorDetails.test.ts +69 −81 Go to diff View file
M plugins/document/scripts/document/components/Folder/Error/ShowErrorDetails.vue +4 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/Error/__snapshots__/ItemPermissionError.test.ts.snap +6 −37 Go to diff View file
M plugins/document/scripts/document/components/Folder/FolderContent.test.js +67 −64 Go to diff View file
M plugins/document/scripts/document/components/Folder/FolderContentRow.test.js +25 −42 Go to diff View file
M plugins/document/scripts/document/components/Folder/FolderHeader.test.js +50 −93 Go to diff View file
M plugins/document/scripts/document/components/Folder/FolderHeader.vue +3 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/FolderHeaderAction.test.ts +2 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/FolderLoadingScreen.test.ts +1 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemTitle/EmbeddedCellTitle.test.ts +14 −21 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemTitle/EmbeddedCellTitle.vue +2 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemTitle/FakeCaret.test.ts +8 −8 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemTitle/FileCellTitle.test.ts +5 −22 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemTitle/FileCellTitle.vue +5 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemTitle/FolderCellTitle.test.ts +99 −102 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemTitle/FolderCellTitle.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemTitle/LinkCellTitle.test.ts +14 −24 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemTitle/__snapshots__/LinkCellTitle.test.ts.snap +1 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/LockInfo/DocumentTitleLockInfo.test.js +2 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/LockInfo/DocumentTitleLockInfo.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalCommon/ModalFeedback.test.ts +16 −15 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalCommon/ModalFooter.test.ts +4 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalCommon/ModalFooter.vue +12 −9 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalCommon/PreviewFilename.test.ts +12 −19 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalCommon/PreviewFilename.vue +2 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalCommon/PreviewFilenameProperty.test.ts +12 −11 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalCommon/PreviewFilenameProperty.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/Permissions/PermissionsForGroupsSelector.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/Permissions/PermissionsSelector.test.js +5 −13 Go to diff View file
M plugins/document/scripts/document/components/Folder/Permissions/PermissionsUpdateFolderSubItems.test.js +3 −3 Go to diff View file
M plugins/document/scripts/document/components/Folder/Permissions/PermissionsUpdateModal.test.js +72 −64 Go to diff View file
M plugins/document/scripts/document/components/Folder/Permissions/PermissionsUpdateModal.vue +2 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ProgressBar/UploadProgressBar.test.ts +25 −9 Go to diff View file
M plugins/document/scripts/document/components/Folder/ProgressBar/UploadProgressBar.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/RootFolder.test.ts +25 −15 Go to diff View file
M plugins/document/scripts/document/components/Folder/SwitchToOldUI.test.js +25 −59 Go to diff View file
M plugins/document/scripts/document/components/Folder/SwitchToOldUI.vue +4 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/__snapshots__/FolderLoadingScreen.test.ts.snap +1 −23 Go to diff View file
M plugins/document/scripts/document/components/History/DisplayHistory.test.ts +64 −98 Go to diff View file
M plugins/document/scripts/document/components/History/DisplayHistory.vue +9 −3 Go to diff View file
M plugins/document/scripts/document/components/History/HistoryLogs.test.ts +12 −8 Go to diff View file
M plugins/document/scripts/document/components/History/HistoryLogsContent.test.ts +6 −6 Go to diff View file
M plugins/document/scripts/document/components/History/__snapshots__/HistoryLogsContent.test.ts.snap +25 −48 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/DownloadButton.test.ts +5 −5 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookDocumentAdditionalProperties.test.ts +12 −6 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookDocumentAdditionalProperties.vue +12 −8 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookDocumentPreview.test.ts +15 −16 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookDocumentProperties.test.ts +6 −4 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookEmbedded.test.ts +2 −2 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookEmpty.test.ts +0 −3 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookFile.test.ts +3 −3 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookFolder.test.ts +0 −2 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookGlobal.test.ts +10 −10 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookGlobal.vue +11 −4 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookItemIsLockedMessage.test.ts +5 −10 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookLink.test.ts +11 −10 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookPropertyDate.test.ts +17 −14 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookWiki.test.ts +11 −10 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/__snapshots__/QuickLookEmbedded.test.ts.snap +1 −13 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/__snapshots__/QuickLookEmpty.test.ts.snap +0 −1 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/__snapshots__/QuickLookFile.test.ts.snap +0 −1 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/__snapshots__/QuickLookItemIsLockedMessage.test.ts.snap +1 −3 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/__snapshots__/QuickLookLink.test.ts.snap +1 −4 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/__snapshots__/QuickLookWiki.test.ts.snap +1 −4 Go to diff View file
M plugins/document/scripts/document/components/User/UserBadge.test.ts +2 −3 Go to diff View file
M plugins/document/scripts/document/components/User/UserName.test.ts +0 −3 Go to diff View file
M plugins/document/scripts/document/components/Versions/DisplayVersions.test.ts +47 −59 Go to diff View file
M plugins/document/scripts/document/components/Versions/DisplayVersions.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Versions/HistoryVersions.test.ts +19 −12 Go to diff View file
M plugins/document/scripts/document/components/Versions/HistoryVersionsContentRow.test.ts +20 −26 Go to diff View file
M plugins/document/scripts/document/components/Versions/HistoryVersionsContentRow.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Versions/HistoryVersionsContentRowForEmbeddedFile.test.ts +8 −6 Go to diff View file
M plugins/document/scripts/document/components/Versions/HistoryVersionsContentRowForEmbeddedFile.vue +1 −1 Go to diff View file
A plugins/document/scripts/document/helpers/global-options-for-test.ts +39 −0 Go to diff View file
M plugins/document/scripts/document/index.js +26 −33 Go to diff View file
M plugins/document/scripts/document/keyboard-navigation/get-target-row.ts +2 −2 Go to diff View file
M plugins/document/scripts/document/po/fr_FR.po +14 −24 Go to diff View file
M plugins/document/scripts/document/po/pt_BR.po +14 −22 Go to diff View file
M plugins/document/scripts/document/router/get-search-props-from-route.test.ts +47 −23 Go to diff View file
D plugins/document/scripts/document/router/index.js +0 −104 Go to diff View file
A plugins/document/scripts/document/router/router.ts +111 −0 Go to diff View file
M plugins/document/scripts/document/store/actions-helpers/upload-new-version.ts +3 −4 Go to diff View file
M plugins/document/scripts/document/store/actions-update.ts +9 −10 Go to diff View file
M plugins/document/scripts/document/store/configuration/index.ts +1 −1 Go to diff View file
M plugins/document/scripts/document/store/index.js +3 −8 Go to diff View file
M plugins/document/scripts/document/store/permissions/permissions-actions.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/store/properties/properties-actions.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/stores/clipboard.test.ts +16 −15 Go to diff View file
M plugins/document/scripts/document/stores/clipboard.ts +3 −2 Go to diff View file
M plugins/document/scripts/document/type.ts +6 −0 Go to diff View file
M plugins/document/scripts/document/vue.shims.d.ts +13 −2 Go to diff View file
M plugins/document/themes/_dropdown-button.scss +5 −0 Go to diff View file
R plugins/document/webpack.common.js Go to diff View file
R plugins/document/webpack.dev.js Go to diff View file
R plugins/document/webpack.prod.js Go to diff View file