@opencloud-eu/web-pkg 4.0.0 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (402) hide show
  1. package/dist/{TextEditor-CqzAOOm0.js → TextEditor-QVYD64f0.js} +2 -1
  2. package/dist/assets/{worker-Cgdggo8k.js → worker-BJJcEMnx.js} +30 -30
  3. package/dist/assets/{worker-HJ1GIjJK.js → worker-C9GzAwNf.js} +30 -30
  4. package/dist/assets/{worker-bk9PAyWf.js → worker-DIwRVmuf.js} +28 -28
  5. package/dist/index-zEQVUjcV.js +34130 -0
  6. package/dist/src/apps/index.d.ts +1 -0
  7. package/dist/src/apps/types.d.ts +114 -0
  8. package/dist/src/cern/composables/index.d.ts +1 -0
  9. package/dist/src/cern/composables/useGroupingSettings.d.ts +34 -0
  10. package/dist/src/cern/index.d.ts +1 -0
  11. package/dist/src/components/AppBar/AppBar.vue.d.ts +582 -0
  12. package/dist/src/components/AppBar/CreateSpace.vue.d.ts +18 -0
  13. package/dist/src/components/AppBar/index.d.ts +2 -0
  14. package/dist/src/components/AppLoadingSpinner.vue.d.ts +2 -0
  15. package/dist/src/components/AppTemplates/AppWrapper.vue.d.ts +251 -0
  16. package/dist/src/components/AppTemplates/AppWrapperRoute.d.ts +10 -0
  17. package/dist/src/components/AppTemplates/PartialViews/ErrorScreen.vue.d.ts +22 -0
  18. package/dist/src/components/AppTemplates/PartialViews/LoadingScreen.vue.d.ts +2 -0
  19. package/dist/src/components/AppTemplates/index.d.ts +3 -0
  20. package/dist/src/components/AppTemplates/types.d.ts +11 -0
  21. package/dist/src/components/AppTopBar.vue.d.ts +17 -0
  22. package/dist/src/components/Avatars/AvatarUpload.vue.d.ts +5 -0
  23. package/dist/src/components/Avatars/UserAvatar.vue.d.ts +6 -0
  24. package/dist/src/components/Avatars/index.d.ts +2 -0
  25. package/dist/src/components/BatchActions.vue.d.ts +123 -0
  26. package/dist/src/components/ContextActions/ActionMenuDropItem.vue.d.ts +11 -0
  27. package/dist/src/components/ContextActions/ActionMenuItem.vue.d.ts +92 -0
  28. package/dist/src/components/ContextActions/ContextActionMenu.vue.d.ts +147 -0
  29. package/dist/src/components/ContextActions/ContextMenuQuickAction.vue.d.ts +41 -0
  30. package/dist/src/components/ContextActions/index.d.ts +5 -0
  31. package/dist/src/components/ContextActions/types.d.ts +13 -0
  32. package/dist/src/components/CreateLinkModal.vue.d.ts +163 -0
  33. package/dist/src/components/CustomComponentTarget.vue.d.ts +16 -0
  34. package/dist/src/components/FilesList/ContextActions.vue.d.ts +173 -0
  35. package/dist/src/components/FilesList/ResourceGhostElement.vue.d.ts +51 -0
  36. package/dist/src/components/FilesList/ResourceIcon.vue.d.ts +47 -0
  37. package/dist/src/components/FilesList/ResourceLink.vue.d.ts +67 -0
  38. package/dist/src/components/FilesList/ResourceListItem.vue.d.ts +21 -0
  39. package/dist/src/components/FilesList/ResourceName.vue.d.ts +140 -0
  40. package/dist/src/components/FilesList/ResourceSize.vue.d.ts +25 -0
  41. package/dist/src/components/FilesList/ResourceStatusIndicators.vue.d.ts +9 -0
  42. package/dist/src/components/FilesList/ResourceTable.vue.d.ts +1538 -0
  43. package/dist/src/components/FilesList/ResourceTile.vue.d.ts +177 -0
  44. package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +204 -0
  45. package/dist/src/components/FilesList/index.d.ts +10 -0
  46. package/dist/src/components/Filters/ItemFilterInline.vue.d.ts +28 -0
  47. package/dist/src/components/Filters/index.d.ts +3 -0
  48. package/dist/src/components/Filters/types.d.ts +4 -0
  49. package/dist/src/components/ItemFilter.vue.d.ts +223 -0
  50. package/dist/src/components/ItemFilterToggle.vue.d.ts +26 -0
  51. package/dist/src/components/LinkRoleDropdown.vue.d.ts +30 -0
  52. package/dist/src/components/LoadingIndicator.vue.d.ts +5 -0
  53. package/dist/src/components/Modals/DatePickerModal.vue.d.ts +104 -0
  54. package/dist/src/components/Modals/EmojiPickerModal.vue.d.ts +19 -0
  55. package/dist/src/components/Modals/FilePickerModal.vue.d.ts +41 -0
  56. package/dist/src/components/Modals/ResourceConflictModal.vue.d.ts +76 -0
  57. package/dist/src/components/Modals/SaveAsModal.vue.d.ts +49 -0
  58. package/dist/src/components/Modals/SpaceMoveInfoModal.vue.d.ts +14 -0
  59. package/dist/src/components/Modals/UnsavedChangesModal.vue.d.ts +27 -0
  60. package/dist/src/components/Modals/index.d.ts +7 -0
  61. package/dist/src/components/NoContentMessage.vue.d.ts +23 -0
  62. package/dist/src/components/Pagination.vue.d.ts +20 -0
  63. package/dist/src/components/PortalTarget.vue.d.ts +41 -0
  64. package/dist/src/components/QuotaSelect.vue.d.ts +74 -0
  65. package/dist/src/components/Search/ResourcePreview.vue.d.ts +48 -0
  66. package/dist/src/components/Search/index.d.ts +2 -0
  67. package/dist/src/components/Search/types.d.ts +29 -0
  68. package/dist/src/components/SearchBarFilter.vue.d.ts +27 -0
  69. package/dist/src/components/SideBar/CompareSaveDialog.vue.d.ts +38 -0
  70. package/dist/src/components/SideBar/FileSideBar.vue.d.ts +115 -0
  71. package/dist/src/components/SideBar/Files/FileInfo.vue.d.ts +5 -0
  72. package/dist/src/components/SideBar/Files/index.d.ts +1 -0
  73. package/dist/src/components/SideBar/SideBar.vue.d.ts +41 -0
  74. package/dist/src/components/SideBar/Spaces/Details/SpaceDetails.vue.d.ts +5 -0
  75. package/dist/src/components/SideBar/Spaces/Details/SpaceDetailsMultiple.vue.d.ts +6 -0
  76. package/dist/src/components/SideBar/Spaces/Details/index.d.ts +2 -0
  77. package/dist/src/components/SideBar/Spaces/SpaceInfo.vue.d.ts +5 -0
  78. package/dist/src/components/SideBar/Spaces/SpaceNoSelection.vue.d.ts +2 -0
  79. package/dist/src/components/SideBar/Spaces/index.d.ts +3 -0
  80. package/dist/src/components/SideBar/WebDavDetails.vue.d.ts +21 -0
  81. package/dist/src/components/SideBar/index.d.ts +7 -0
  82. package/dist/src/components/SideBar/types.d.ts +22 -0
  83. package/dist/src/components/SpaceQuota.vue.d.ts +6 -0
  84. package/dist/src/components/Spaces/QuotaModal.vue.d.ts +18 -0
  85. package/dist/src/components/Spaces/SpaceImageModal.vue.d.ts +13 -0
  86. package/dist/src/components/Spaces/index.d.ts +2 -0
  87. package/dist/src/components/TextEditor/TextEditor.vue.d.ts +162 -0
  88. package/dist/src/components/TextEditor/index.d.ts +158 -0
  89. package/dist/src/components/TextEditor/l18n.d.ts +3 -0
  90. package/dist/src/components/ViewOptions.vue.d.ts +143 -0
  91. package/dist/src/components/index.d.ts +28 -0
  92. package/dist/src/composables/ability/index.d.ts +1 -0
  93. package/dist/src/composables/ability/useAbility.d.ts +2 -0
  94. package/dist/src/composables/actions/files/index.d.ts +29 -0
  95. package/dist/src/composables/actions/files/useFileActions.d.ts +32 -0
  96. package/dist/src/composables/actions/files/useFileActionsCopy.d.ts +4 -0
  97. package/dist/src/composables/actions/files/useFileActionsCopyPermanentLink.d.ts +4 -0
  98. package/dist/src/composables/actions/files/useFileActionsCreateLink.d.ts +6 -0
  99. package/dist/src/composables/actions/files/useFileActionsCreateNewFile.d.ts +10 -0
  100. package/dist/src/composables/actions/files/useFileActionsCreateNewFolder.d.ts +9 -0
  101. package/dist/src/composables/actions/files/useFileActionsCreateNewShortcut.d.ts +8 -0
  102. package/dist/src/composables/actions/files/useFileActionsCreateSpaceFromResource.d.ts +4 -0
  103. package/dist/src/composables/actions/files/useFileActionsDelete.d.ts +4 -0
  104. package/dist/src/composables/actions/files/useFileActionsDisableSync.d.ts +5 -0
  105. package/dist/src/composables/actions/files/useFileActionsDownloadArchive.d.ts +4 -0
  106. package/dist/src/composables/actions/files/useFileActionsDownloadFile.d.ts +4 -0
  107. package/dist/src/composables/actions/files/useFileActionsEmptyTrashBin.d.ts +8 -0
  108. package/dist/src/composables/actions/files/useFileActionsEnableSync.d.ts +5 -0
  109. package/dist/src/composables/actions/files/useFileActionsFavorite.d.ts +4 -0
  110. package/dist/src/composables/actions/files/useFileActionsMove.d.ts +4 -0
  111. package/dist/src/composables/actions/files/useFileActionsNavigate.d.ts +4 -0
  112. package/dist/src/composables/actions/files/useFileActionsOpenShortcut.d.ts +5 -0
  113. package/dist/src/composables/actions/files/useFileActionsOpenWithApp.d.ts +6 -0
  114. package/dist/src/composables/actions/files/useFileActionsPaste.d.ts +4 -0
  115. package/dist/src/composables/actions/files/useFileActionsRename.d.ts +6 -0
  116. package/dist/src/composables/actions/files/useFileActionsRestore.d.ts +15 -0
  117. package/dist/src/composables/actions/files/useFileActionsSaveAs.d.ts +7 -0
  118. package/dist/src/composables/actions/files/useFileActionsSetImage.d.ts +4 -0
  119. package/dist/src/composables/actions/files/useFileActionsShowActions.d.ts +4 -0
  120. package/dist/src/composables/actions/files/useFileActionsShowDetails.d.ts +4 -0
  121. package/dist/src/composables/actions/files/useFileActionsShowShares.d.ts +5 -0
  122. package/dist/src/composables/actions/files/useFileActionsToggleHideShare.d.ts +5 -0
  123. package/dist/src/composables/actions/files/useFileActionsUndoDelete.d.ts +8 -0
  124. package/dist/src/composables/actions/helpers/index.d.ts +5 -0
  125. package/dist/src/composables/actions/helpers/useFileActionsDeleteResources.d.ts +5 -0
  126. package/dist/src/composables/actions/helpers/useIsAppActive.d.ts +1 -0
  127. package/dist/src/composables/actions/helpers/useIsFilesAppActive.d.ts +1 -0
  128. package/dist/src/composables/actions/helpers/useIsResourceNameValid.d.ts +11 -0
  129. package/dist/src/composables/actions/helpers/useIsSearchActive.d.ts +1 -0
  130. package/dist/src/composables/actions/index.d.ts +8 -0
  131. package/dist/src/composables/actions/spaces/index.d.ts +12 -0
  132. package/dist/src/composables/actions/spaces/useSpaceActionsDelete.d.ts +6 -0
  133. package/dist/src/composables/actions/spaces/useSpaceActionsDeleteImage.d.ts +8 -0
  134. package/dist/src/composables/actions/spaces/useSpaceActionsDisable.d.ts +6 -0
  135. package/dist/src/composables/actions/spaces/useSpaceActionsDuplicate.d.ts +6 -0
  136. package/dist/src/composables/actions/spaces/useSpaceActionsEditDescription.d.ts +6 -0
  137. package/dist/src/composables/actions/spaces/useSpaceActionsEditQuota.d.ts +4 -0
  138. package/dist/src/composables/actions/spaces/useSpaceActionsEditReadmeContent.d.ts +4 -0
  139. package/dist/src/composables/actions/spaces/useSpaceActionsNavigateToTrash.d.ts +4 -0
  140. package/dist/src/composables/actions/spaces/useSpaceActionsRename.d.ts +6 -0
  141. package/dist/src/composables/actions/spaces/useSpaceActionsRestore.d.ts +6 -0
  142. package/dist/src/composables/actions/spaces/useSpaceActionsSetIcon.d.ts +6 -0
  143. package/dist/src/composables/actions/spaces/useSpaceActionsShowMembers.d.ts +4 -0
  144. package/dist/src/composables/actions/types.d.ts +47 -0
  145. package/dist/src/composables/actions/useActionsShowDetails.d.ts +4 -0
  146. package/dist/src/composables/actions/useOpenEmptyEditor.d.ts +3 -0
  147. package/dist/src/composables/actions/useOpenWithDefaultApp.d.ts +7 -0
  148. package/dist/src/composables/actions/useWindowOpen.d.ts +3 -0
  149. package/dist/src/composables/appDefaults/index.d.ts +8 -0
  150. package/dist/src/composables/appDefaults/types.d.ts +15 -0
  151. package/dist/src/composables/appDefaults/useAppConfig.d.ts +11 -0
  152. package/dist/src/composables/appDefaults/useAppDefaults.d.ts +20 -0
  153. package/dist/src/composables/appDefaults/useAppDocumentTitle.d.ts +13 -0
  154. package/dist/src/composables/appDefaults/useAppFileHandling.d.ts +24 -0
  155. package/dist/src/composables/appDefaults/useAppFolderHandling.d.ts +16 -0
  156. package/dist/src/composables/appDefaults/useAppMeta.d.ts +9 -0
  157. package/dist/src/composables/appDefaults/useAppNavigation.d.ts +27 -0
  158. package/dist/src/composables/appDefaults/useDocumentTitle.d.ts +8 -0
  159. package/dist/src/composables/appProviderService/index.d.ts +1 -0
  160. package/dist/src/composables/appProviderService/useAppProviderService.d.ts +2 -0
  161. package/dist/src/composables/archiverService/index.d.ts +1 -0
  162. package/dist/src/composables/archiverService/useArchiverService.d.ts +2 -0
  163. package/dist/src/composables/authContext/index.d.ts +2 -0
  164. package/dist/src/composables/authContext/useAuthService.d.ts +10 -0
  165. package/dist/src/composables/authContext/useRequest.d.ts +15 -0
  166. package/dist/src/composables/avatars/index.d.ts +1 -0
  167. package/dist/src/composables/avatars/useLoadAvatars.d.ts +3 -0
  168. package/dist/src/composables/breadcrumbs/index.d.ts +1 -0
  169. package/dist/src/composables/breadcrumbs/useBreadcrumbsFromPath.d.ts +14 -0
  170. package/dist/src/composables/clientService/index.d.ts +1 -0
  171. package/dist/src/composables/clientService/useClientService.d.ts +2 -0
  172. package/dist/src/composables/clipboard/index.d.ts +1 -0
  173. package/dist/src/composables/clipboard/useClipboard.d.ts +3 -0
  174. package/dist/src/composables/download/index.d.ts +1 -0
  175. package/dist/src/composables/download/useDownloadFile.d.ts +8 -0
  176. package/dist/src/composables/driveResolver/index.d.ts +2 -0
  177. package/dist/src/composables/driveResolver/useDriveResolver.d.ts +13 -0
  178. package/dist/src/composables/driveResolver/useSpacesLoading.d.ts +3 -0
  179. package/dist/src/composables/embedMode/index.d.ts +1 -0
  180. package/dist/src/composables/embedMode/useEmbedMode.d.ts +23 -0
  181. package/dist/src/composables/eventBus/index.d.ts +1 -0
  182. package/dist/src/composables/eventBus/useEventBus.d.ts +1 -0
  183. package/dist/src/composables/fileListHeaderPosition/index.d.ts +1 -0
  184. package/dist/src/composables/fileListHeaderPosition/useFileListHeaderPosition.d.ts +5 -0
  185. package/dist/src/composables/filesList/index.d.ts +1 -0
  186. package/dist/src/composables/filesList/useResourceRouteResolver.d.ts +13 -0
  187. package/dist/src/composables/folderLink/index.d.ts +1 -0
  188. package/dist/src/composables/folderLink/useFolderLink.d.ts +15 -0
  189. package/dist/src/composables/index.d.ts +41 -0
  190. package/dist/src/composables/isTopBarSticky/index.d.ts +1 -0
  191. package/dist/src/composables/isTopBarSticky/useIsTopBarSticky.d.ts +8 -0
  192. package/dist/src/composables/keyboardActions/index.d.ts +3 -0
  193. package/dist/src/composables/keyboardActions/useCropperKeyboardActions.d.ts +4 -0
  194. package/dist/src/composables/keyboardActions/useInterceptModifierClick.d.ts +4 -0
  195. package/dist/src/composables/keyboardActions/useKeyboardActions.d.ts +47 -0
  196. package/dist/src/composables/links/index.d.ts +1 -0
  197. package/dist/src/composables/links/useLinkTypes.d.ts +31 -0
  198. package/dist/src/composables/loadingService/index.d.ts +1 -0
  199. package/dist/src/composables/loadingService/useLoadingService.d.ts +2 -0
  200. package/dist/src/composables/localStorage/index.d.ts +1 -0
  201. package/dist/src/composables/localStorage/useLocalStorage.d.ts +2 -0
  202. package/dist/src/composables/pagination/constants.d.ts +5 -0
  203. package/dist/src/composables/pagination/index.d.ts +2 -0
  204. package/dist/src/composables/pagination/usePagination.d.ts +17 -0
  205. package/dist/src/composables/passwordPolicyService/index.d.ts +1 -0
  206. package/dist/src/composables/passwordPolicyService/usePasswordPolicyService.d.ts +2 -0
  207. package/dist/src/composables/piniaStores/apps.d.ts +157 -0
  208. package/dist/src/composables/piniaStores/auth.d.ts +60 -0
  209. package/dist/src/composables/piniaStores/avatars.d.ts +27 -0
  210. package/dist/src/composables/piniaStores/capabilities.d.ts +1722 -0
  211. package/dist/src/composables/piniaStores/clipboard.d.ts +598 -0
  212. package/dist/src/composables/piniaStores/config/config.d.ts +759 -0
  213. package/dist/src/composables/piniaStores/config/index.d.ts +2 -0
  214. package/dist/src/composables/piniaStores/config/types.d.ts +194 -0
  215. package/dist/src/composables/piniaStores/extensionRegistry/extensionPreferences.d.ts +22 -0
  216. package/dist/src/composables/piniaStores/extensionRegistry/extensionRegistry.d.ts +37 -0
  217. package/dist/src/composables/piniaStores/extensionRegistry/index.d.ts +3 -0
  218. package/dist/src/composables/piniaStores/extensionRegistry/types.d.ts +66 -0
  219. package/dist/src/composables/piniaStores/index.d.ts +16 -0
  220. package/dist/src/composables/piniaStores/messages.d.ts +866 -0
  221. package/dist/src/composables/piniaStores/modals.d.ts +1373 -0
  222. package/dist/src/composables/piniaStores/resources.d.ts +198 -0
  223. package/dist/src/composables/piniaStores/shares/index.d.ts +2 -0
  224. package/dist/src/composables/piniaStores/shares/shares.d.ts +57 -0
  225. package/dist/src/composables/piniaStores/shares/types.d.ts +41 -0
  226. package/dist/src/composables/piniaStores/spaces.d.ts +9045 -0
  227. package/dist/src/composables/piniaStores/theme.d.ts +514 -0
  228. package/dist/src/composables/piniaStores/updates.d.ts +24 -0
  229. package/dist/src/composables/piniaStores/user.d.ts +15 -0
  230. package/dist/src/composables/piniaStores/webWorkers.d.ts +29 -0
  231. package/dist/src/composables/portalTarget/eventTopics.d.ts +3 -0
  232. package/dist/src/composables/portalTarget/index.d.ts +2 -0
  233. package/dist/src/composables/portalTarget/usePortalTarget.d.ts +4 -0
  234. package/dist/src/composables/previewService/index.d.ts +1 -0
  235. package/dist/src/composables/previewService/usePreviewService.d.ts +2 -0
  236. package/dist/src/composables/requestHeaders/index.d.ts +1 -0
  237. package/dist/src/composables/requestHeaders/useRequestHeaders.d.ts +3 -0
  238. package/dist/src/composables/resources/index.d.ts +5 -0
  239. package/dist/src/composables/resources/useCanBeOpenedWithSecureView.d.ts +4 -0
  240. package/dist/src/composables/resources/useCanListVersions.d.ts +7 -0
  241. package/dist/src/composables/resources/useGetResourceContext.d.ts +1485 -0
  242. package/dist/src/composables/resources/useLoadPreview.d.ts +26 -0
  243. package/dist/src/composables/resources/useResourceContents.d.ts +5 -0
  244. package/dist/src/composables/router/index.d.ts +11 -0
  245. package/dist/src/composables/router/types.d.ts +16 -0
  246. package/dist/src/composables/router/useActiveApp.d.ts +4 -0
  247. package/dist/src/composables/router/useActiveLocation.d.ts +10 -0
  248. package/dist/src/composables/router/useFileRouteReplace.d.ts +15 -0
  249. package/dist/src/composables/router/useRoute.d.ts +3 -0
  250. package/dist/src/composables/router/useRouteMeta.d.ts +2 -0
  251. package/dist/src/composables/router/useRouteName.d.ts +2 -0
  252. package/dist/src/composables/router/useRouteParam.d.ts +3 -0
  253. package/dist/src/composables/router/useRouteQuery.d.ts +3 -0
  254. package/dist/src/composables/router/useRouteQueryPersisted.d.ts +8 -0
  255. package/dist/src/composables/router/useRouter.d.ts +2 -0
  256. package/dist/src/composables/scrollTo/index.d.ts +1 -0
  257. package/dist/src/composables/scrollTo/useScrollTo.d.ts +9 -0
  258. package/dist/src/composables/search/constants.d.ts +4 -0
  259. package/dist/src/composables/search/index.d.ts +2 -0
  260. package/dist/src/composables/search/useSearch.d.ts +14 -0
  261. package/dist/src/composables/selection/index.d.ts +2 -0
  262. package/dist/src/composables/selection/useSelectedResources.d.ts +9 -0
  263. package/dist/src/composables/selection/useToggleTile.d.ts +4 -0
  264. package/dist/src/composables/service/index.d.ts +1 -0
  265. package/dist/src/composables/service/useService.d.ts +1 -0
  266. package/dist/src/composables/shares/index.d.ts +2 -0
  267. package/dist/src/composables/shares/useCanListShares.d.ts +7 -0
  268. package/dist/src/composables/shares/useCanShare.d.ts +7 -0
  269. package/dist/src/composables/sideBar/eventTopics.d.ts +7 -0
  270. package/dist/src/composables/sideBar/index.d.ts +2 -0
  271. package/dist/src/composables/sideBar/useSideBar.d.ts +12 -0
  272. package/dist/src/composables/sort/constants.d.ts +4 -0
  273. package/dist/src/composables/sort/index.d.ts +2 -0
  274. package/dist/src/composables/sort/useSort.d.ts +36 -0
  275. package/dist/src/composables/spaces/index.d.ts +3 -0
  276. package/dist/src/composables/spaces/useCreateSpace.d.ts +5 -0
  277. package/dist/src/composables/spaces/useGetMatchingSpace.d.ts +15 -0
  278. package/dist/src/composables/spaces/useSpaceHelpers.d.ts +4 -0
  279. package/dist/src/composables/upload/index.d.ts +1 -0
  280. package/dist/src/composables/upload/useUpload.d.ts +6 -0
  281. package/dist/src/composables/viewMode/constants.d.ts +12 -0
  282. package/dist/src/composables/viewMode/index.d.ts +3 -0
  283. package/dist/src/composables/viewMode/useTileSize.d.ts +4 -0
  284. package/dist/src/composables/viewMode/useViewMode.d.ts +4 -0
  285. package/dist/src/composables/webWorkers/deleteWorker/index.d.ts +1 -0
  286. package/dist/src/composables/webWorkers/deleteWorker/useDeleteWorker.d.ts +28 -0
  287. package/dist/src/composables/webWorkers/deleteWorker/worker.d.ts +1 -0
  288. package/dist/src/composables/webWorkers/index.d.ts +4 -0
  289. package/dist/src/composables/webWorkers/pasteWorker/index.d.ts +1 -0
  290. package/dist/src/composables/webWorkers/pasteWorker/usePasteWorker.d.ts +25 -0
  291. package/dist/src/composables/webWorkers/pasteWorker/worker.d.ts +1 -0
  292. package/dist/src/composables/webWorkers/restoreWorker/index.d.ts +1 -0
  293. package/dist/src/composables/webWorkers/restoreWorker/useRestoreWorker.d.ts +28 -0
  294. package/dist/src/composables/webWorkers/restoreWorker/worker.d.ts +1 -0
  295. package/dist/src/composables/webWorkers/tokenTimerWorker/index.d.ts +1 -0
  296. package/dist/src/composables/webWorkers/tokenTimerWorker/useTokenTimerWorker.d.ts +12 -0
  297. package/dist/src/composables/webWorkers/tokenTimerWorker/worker.d.ts +1 -0
  298. package/dist/src/constants.d.ts +17 -0
  299. package/dist/src/errors/index.d.ts +1 -0
  300. package/dist/src/errors/types.d.ts +13 -0
  301. package/dist/src/helpers/binary.d.ts +2 -0
  302. package/dist/src/helpers/breadcrumbs.d.ts +4 -0
  303. package/dist/src/helpers/cache/cache.d.ts +20 -0
  304. package/dist/src/helpers/cache/index.d.ts +1 -0
  305. package/dist/src/helpers/clipboardActions.d.ts +4 -0
  306. package/dist/src/helpers/contextMenuDropdown.d.ts +7 -0
  307. package/dist/src/helpers/datetime.d.ts +11 -0
  308. package/dist/src/helpers/download.d.ts +1 -0
  309. package/dist/src/helpers/filesize.d.ts +8 -0
  310. package/dist/src/helpers/folderLink/index.d.ts +1 -0
  311. package/dist/src/helpers/folderLink/types.d.ts +6 -0
  312. package/dist/src/helpers/fuse.d.ts +5 -0
  313. package/dist/src/helpers/index.d.ts +21 -0
  314. package/dist/src/helpers/locale.d.ts +1 -0
  315. package/dist/src/helpers/path.d.ts +13 -0
  316. package/dist/src/helpers/permissions.d.ts +8 -0
  317. package/dist/src/helpers/platform.d.ts +1 -0
  318. package/dist/src/helpers/resource/conflictHandling/conflictDialog.d.ts +15 -0
  319. package/dist/src/helpers/resource/conflictHandling/conflictUtils.d.ts +3 -0
  320. package/dist/src/helpers/resource/conflictHandling/index.d.ts +4 -0
  321. package/dist/src/helpers/resource/conflictHandling/transfer.d.ts +27 -0
  322. package/dist/src/helpers/resource/conflictHandling/types.d.ts +24 -0
  323. package/dist/src/helpers/resource/filter.d.ts +2 -0
  324. package/dist/src/helpers/resource/icon.d.ts +10 -0
  325. package/dist/src/helpers/resource/index.d.ts +5 -0
  326. package/dist/src/helpers/resource/renameResource.d.ts +2 -0
  327. package/dist/src/helpers/resource/sameResource.d.ts +2 -0
  328. package/dist/src/helpers/router/buildUrl.d.ts +2 -0
  329. package/dist/src/helpers/router/index.d.ts +2 -0
  330. package/dist/src/helpers/router/routeOptions.d.ts +24 -0
  331. package/dist/src/helpers/share/driveItem.d.ts +12 -0
  332. package/dist/src/helpers/share/index.d.ts +2 -0
  333. package/dist/src/helpers/share/sharedAncestorRoute.d.ts +7 -0
  334. package/dist/src/helpers/spaces/index.d.ts +1 -0
  335. package/dist/src/helpers/spaces/permissions.d.ts +13 -0
  336. package/dist/src/helpers/statusIndicators.d.ts +23 -0
  337. package/dist/src/helpers/store.d.ts +8 -0
  338. package/dist/src/helpers/textByteSize.d.ts +1 -0
  339. package/dist/src/helpers/ui/index.d.ts +3 -0
  340. package/dist/src/helpers/ui/resourceCheckbox.d.ts +1 -0
  341. package/dist/src/helpers/ui/resourceTable.d.ts +3 -0
  342. package/dist/src/helpers/ui/resourceTiles.d.ts +6 -0
  343. package/dist/src/http/client.d.ts +23 -0
  344. package/dist/src/http/index.d.ts +1 -0
  345. package/dist/src/index.d.ts +14 -0
  346. package/dist/src/observer/index.d.ts +1 -0
  347. package/dist/src/observer/visibility.d.ts +26 -0
  348. package/dist/src/router/common.d.ts +9 -0
  349. package/dist/src/router/deprecated.d.ts +12 -0
  350. package/dist/src/router/index.d.ts +12 -0
  351. package/dist/src/router/public.d.ts +9 -0
  352. package/dist/src/router/router.d.ts +27 -0
  353. package/dist/src/router/shares.d.ts +10 -0
  354. package/dist/src/router/spaces.d.ts +9 -0
  355. package/dist/src/router/trash.d.ts +9 -0
  356. package/dist/src/router/utils.d.ts +32 -0
  357. package/dist/src/services/appProvider/index.d.ts +2 -0
  358. package/dist/src/services/appProvider/schemas.d.ts +40 -0
  359. package/dist/src/services/appProvider/service.d.ts +27 -0
  360. package/dist/src/services/archiver.d.ts +25 -0
  361. package/dist/src/services/cache.d.ts +14 -0
  362. package/dist/src/services/client/auth.d.ts +12 -0
  363. package/dist/src/services/client/client.d.ts +48 -0
  364. package/dist/src/services/client/index.d.ts +2 -0
  365. package/dist/src/services/eventBus.d.ts +8 -0
  366. package/dist/src/services/folder/folderService.d.ts +27 -0
  367. package/dist/src/services/folder/index.d.ts +2 -0
  368. package/dist/src/services/folder/loaders/index.d.ts +7 -0
  369. package/dist/src/services/folder/loaders/loaderFavorites.d.ts +7 -0
  370. package/dist/src/services/folder/loaders/loaderSharedViaLink.d.ts +7 -0
  371. package/dist/src/services/folder/loaders/loaderSharedWithMe.d.ts +7 -0
  372. package/dist/src/services/folder/loaders/loaderSharedWithOthers.d.ts +7 -0
  373. package/dist/src/services/folder/loaders/loaderSpace.d.ts +7 -0
  374. package/dist/src/services/folder/loaders/loaderTrashbin.d.ts +7 -0
  375. package/dist/src/services/folder/loaders/types.d.ts +3 -0
  376. package/dist/src/services/index.d.ts +10 -0
  377. package/dist/src/services/loadingService.d.ts +33 -0
  378. package/dist/src/services/passwordPolicy/index.d.ts +1 -0
  379. package/dist/src/services/passwordPolicy/passwordPolicy.d.ts +20 -0
  380. package/dist/src/services/passwordPolicy/rules.d.ts +69 -0
  381. package/dist/src/services/preview/index.d.ts +2 -0
  382. package/dist/src/services/preview/previewService.d.ts +21 -0
  383. package/dist/src/services/preview/types.d.ts +23 -0
  384. package/dist/src/services/uppy/DropTarget/getDroppedFiles.d.ts +1 -0
  385. package/dist/src/services/uppy/DropTarget/plugin.d.ts +21 -0
  386. package/dist/src/services/uppy/DropTarget/types.d.ts +9 -0
  387. package/dist/src/services/uppy/index.d.ts +2 -0
  388. package/dist/src/services/uppy/uppyService.d.ts +91 -0
  389. package/dist/src/services/uppy/utils.d.ts +11 -0
  390. package/dist/src/types.d.ts +24 -0
  391. package/dist/src/ui/index.d.ts +1 -0
  392. package/dist/src/ui/types.d.ts +14 -0
  393. package/dist/src/utils/dirname.d.ts +1 -0
  394. package/dist/src/utils/encodePath.d.ts +1 -0
  395. package/dist/src/utils/index.d.ts +5 -0
  396. package/dist/src/utils/objectKeys.d.ts +1 -0
  397. package/dist/src/utils/semver.d.ts +14 -0
  398. package/dist/src/utils/types.d.ts +5 -0
  399. package/dist/web-pkg.js +226 -220
  400. package/dist/web-pkg.umd.cjs +49 -49
  401. package/package.json +5 -7
  402. package/dist/index-Ctidv9Qe.js +0 -34023
@@ -0,0 +1,11 @@
1
+ import { Resource } from '@opencloud-eu/web-client';
2
+ export declare const useIsResourceNameValid: () => {
3
+ isSpaceNameValid: (newName: string) => {
4
+ isValid: boolean;
5
+ error?: string;
6
+ };
7
+ isFileNameValid: (resource: Resource, newName: string, parentResources?: Resource[]) => {
8
+ isValid: boolean;
9
+ error?: string;
10
+ };
11
+ };
@@ -0,0 +1 @@
1
+ export declare const useIsSearchActive: () => import('vue').ComputedRef<boolean>;
@@ -0,0 +1,8 @@
1
+ export * from './helpers';
2
+ export * from './files';
3
+ export * from './spaces';
4
+ export * from './types';
5
+ export * from './useActionsShowDetails';
6
+ export * from './useOpenEmptyEditor';
7
+ export * from './useOpenWithDefaultApp';
8
+ export * from './useWindowOpen';
@@ -0,0 +1,12 @@
1
+ export * from './useSpaceActionsDelete';
2
+ export * from './useSpaceActionsDisable';
3
+ export * from './useSpaceActionsDuplicate';
4
+ export * from './useSpaceActionsEditDescription';
5
+ export * from './useSpaceActionsEditQuota';
6
+ export * from './useSpaceActionsEditReadmeContent';
7
+ export * from './useSpaceActionsRename';
8
+ export * from './useSpaceActionsRestore';
9
+ export * from './useSpaceActionsShowMembers';
10
+ export * from './useSpaceActionsNavigateToTrash';
11
+ export * from './useSpaceActionsSetIcon';
12
+ export * from './useSpaceActionsDeleteImage';
@@ -0,0 +1,6 @@
1
+ import { SpaceResource } from '@opencloud-eu/web-client';
2
+ import { SpaceAction } from '../types';
3
+ export declare const useSpaceActionsDelete: () => {
4
+ actions: import('vue').ComputedRef<SpaceAction[]>;
5
+ deleteSpaces: (spaces: SpaceResource[]) => Promise<void>;
6
+ };
@@ -0,0 +1,8 @@
1
+ import { SpaceResource } from '@opencloud-eu/web-client';
2
+ import { SpaceAction } from '../types';
3
+ export declare const useSpaceActionsDeleteImage: () => {
4
+ actions: import('vue').ComputedRef<SpaceAction[]>;
5
+ deleteSpaceImage: ({ space }: {
6
+ space: SpaceResource;
7
+ }) => Promise<void>;
8
+ };
@@ -0,0 +1,6 @@
1
+ import { SpaceResource } from '@opencloud-eu/web-client';
2
+ import { SpaceAction } from '../types';
3
+ export declare const useSpaceActionsDisable: () => {
4
+ actions: import('vue').ComputedRef<SpaceAction[]>;
5
+ disableSpaces: (spaces: SpaceResource[]) => Promise<void>;
6
+ };
@@ -0,0 +1,6 @@
1
+ import { SpaceResource } from '@opencloud-eu/web-client';
2
+ import { SpaceAction } from '../types';
3
+ export declare const useSpaceActionsDuplicate: () => {
4
+ actions: import('vue').ComputedRef<SpaceAction[]>;
5
+ duplicateSpace: (existingSpace: SpaceResource) => Promise<void>;
6
+ };
@@ -0,0 +1,6 @@
1
+ import { SpaceAction } from '../types';
2
+ import { SpaceResource } from '@opencloud-eu/web-client';
3
+ export declare const useSpaceActionsEditDescription: () => {
4
+ actions: import('vue').ComputedRef<SpaceAction[]>;
5
+ editDescriptionSpace: (space: SpaceResource, description: string) => Promise<void>;
6
+ };
@@ -0,0 +1,4 @@
1
+ import { SpaceAction } from '../types';
2
+ export declare const useSpaceActionsEditQuota: () => {
3
+ actions: import('vue').ComputedRef<SpaceAction[]>;
4
+ };
@@ -0,0 +1,4 @@
1
+ import { SpaceAction } from '../types';
2
+ export declare const useSpaceActionsEditReadmeContent: () => {
3
+ actions: import('vue').ComputedRef<SpaceAction[]>;
4
+ };
@@ -0,0 +1,4 @@
1
+ import { SpaceAction } from '../types';
2
+ export declare const useSpaceActionsNavigateToTrash: () => {
3
+ actions: import('vue').ComputedRef<SpaceAction[]>;
4
+ };
@@ -0,0 +1,6 @@
1
+ import { SpaceAction } from '../types';
2
+ import { SpaceResource } from '@opencloud-eu/web-client';
3
+ export declare const useSpaceActionsRename: () => {
4
+ actions: import('vue').ComputedRef<SpaceAction[]>;
5
+ renameSpace: (space: SpaceResource, name: string) => Promise<void>;
6
+ };
@@ -0,0 +1,6 @@
1
+ import { SpaceResource } from '@opencloud-eu/web-client';
2
+ import { SpaceAction } from '../types';
3
+ export declare const useSpaceActionsRestore: () => {
4
+ actions: import('vue').ComputedRef<SpaceAction[]>;
5
+ restoreSpaces: (spaces: SpaceResource[]) => Promise<void>;
6
+ };
@@ -0,0 +1,6 @@
1
+ import { SpaceResource } from '@opencloud-eu/web-client';
2
+ import { SpaceAction } from '../types';
3
+ export declare const useSpaceActionsSetIcon: () => {
4
+ actions: import('vue').ComputedRef<SpaceAction[]>;
5
+ setIconSpace: (space: SpaceResource, emoji: string) => Promise<void>;
6
+ };
@@ -0,0 +1,4 @@
1
+ import { SpaceAction } from '../types';
2
+ export declare const useSpaceActionsShowMembers: () => {
3
+ actions: import('vue').ComputedRef<SpaceAction[]>;
4
+ };
@@ -0,0 +1,47 @@
1
+ import { Resource, SpaceResource } from '@opencloud-eu/web-client';
2
+ import { Group, User } from '@opencloud-eu/web-client/graph/generated';
3
+ import { RouteLocationRaw } from 'vue-router';
4
+ import { IconFillType } from '../../helpers';
5
+ import { StringUnionOrAnyString } from '../../utils';
6
+ import { AppearanceType } from '@opencloud-eu/design-system/helpers';
7
+ export type ActionOptions = Record<string, unknown | unknown[]>;
8
+ export interface Action<T = ActionOptions> {
9
+ name: string;
10
+ category?: StringUnionOrAnyString<'context' | 'share' | 'actions' | 'sidebar'>;
11
+ icon: string;
12
+ iconFillType?: IconFillType;
13
+ appearance?: AppearanceType;
14
+ id?: string;
15
+ img?: string;
16
+ class?: string;
17
+ hasPriority?: boolean;
18
+ hideLabel?: boolean;
19
+ shortcut?: string;
20
+ keepOpen?: boolean;
21
+ isExternal?: boolean;
22
+ ext?: string;
23
+ label(options?: T): string;
24
+ isVisible(options?: T): boolean;
25
+ handler?(options?: T): Promise<void> | void;
26
+ route?(options?: T): RouteLocationRaw;
27
+ href?(options?: T): string;
28
+ isDisabled?(options?: T): boolean;
29
+ disabledTooltip?(options?: T): string;
30
+ }
31
+ export type FileActionOptions<T extends Resource = Resource> = {
32
+ space: SpaceResource;
33
+ resources?: T[];
34
+ };
35
+ export type FileAction<T extends Resource = Resource> = Action<FileActionOptions<T>>;
36
+ export type GroupActionOptions = {
37
+ resources: Group[];
38
+ };
39
+ export type GroupAction = Action<GroupActionOptions>;
40
+ export type SpaceActionOptions = {
41
+ resources?: SpaceResource[];
42
+ };
43
+ export type SpaceAction = Action<SpaceActionOptions>;
44
+ export type UserActionOptions = {
45
+ resources: User[];
46
+ };
47
+ export type UserAction = Action<UserActionOptions>;
@@ -0,0 +1,4 @@
1
+ import { Action } from './types';
2
+ export declare const useActionsShowDetails: () => {
3
+ actions: import('vue').ComputedRef<Action<import('./types').ActionOptions>[]>;
4
+ };
@@ -0,0 +1,3 @@
1
+ export declare const useOpenEmptyEditor: () => {
2
+ openEmptyEditor: (appId: string, extension: string) => Promise<void>;
3
+ };
@@ -0,0 +1,7 @@
1
+ import { Resource, SpaceResource } from '@opencloud-eu/web-client';
2
+ export declare function useOpenWithDefaultApp(): {
3
+ openWithDefaultApp: ({ space, resource }: {
4
+ space: SpaceResource;
5
+ resource: Resource;
6
+ }) => void;
7
+ };
@@ -0,0 +1,3 @@
1
+ export declare const useWindowOpen: () => {
2
+ openUrl: (url: string, target?: string, shouldFocus?: boolean) => void;
3
+ };
@@ -0,0 +1,8 @@
1
+ export * from './types';
2
+ export * from './useAppConfig';
3
+ export * from './useAppDefaults';
4
+ export * from './useAppFileHandling';
5
+ export * from './useAppFolderHandling';
6
+ export * from './useAppMeta';
7
+ export * from './useAppNavigation';
8
+ export * from './useDocumentTitle';
@@ -0,0 +1,15 @@
1
+ import { MaybeRef } from '../../utils';
2
+ import { LocationQuery } from '../router';
3
+ import { SpaceResource } from '@opencloud-eu/web-client';
4
+ import { RouteParams } from 'vue-router';
5
+ export interface FileContext {
6
+ path: MaybeRef<string>;
7
+ driveAliasAndItem: MaybeRef<string>;
8
+ space: MaybeRef<SpaceResource>;
9
+ item: MaybeRef<string>;
10
+ itemId: MaybeRef<string>;
11
+ fileName: MaybeRef<string>;
12
+ routeName: MaybeRef<string>;
13
+ routeParams: MaybeRef<RouteParams>;
14
+ routeQuery: MaybeRef<LocationQuery>;
15
+ }
@@ -0,0 +1,11 @@
1
+ import { Ref } from 'vue';
2
+ import { AppConfigObject } from '../../apps';
3
+ import { AppsStore } from '../piniaStores';
4
+ export interface AppConfigOptions {
5
+ appsStore: AppsStore;
6
+ applicationId: string;
7
+ }
8
+ export interface AppConfigResult {
9
+ applicationConfig: Ref<AppConfigObject>;
10
+ }
11
+ export declare function useAppConfig(options: AppConfigOptions): AppConfigResult;
@@ -0,0 +1,20 @@
1
+ import { Ref } from 'vue';
2
+ import { ClientService } from '../../services';
3
+ import { FileContext } from './types';
4
+ import { AppNavigationResult } from './useAppNavigation';
5
+ import { AppConfigResult } from './useAppConfig';
6
+ import { AppFileHandlingResult } from './useAppFileHandling';
7
+ import { AppFolderHandlingResult } from './useAppFolderHandling';
8
+ import { RequestResult } from '../authContext';
9
+ import { MaybeRef } from '../../utils';
10
+ interface AppDefaultsOptions {
11
+ applicationId: string;
12
+ applicationName?: MaybeRef<string>;
13
+ clientService?: ClientService;
14
+ }
15
+ export type AppDefaultsResult = AppConfigResult & AppNavigationResult & AppFileHandlingResult & RequestResult & AppFolderHandlingResult & {
16
+ isPublicLinkContext: Ref<boolean>;
17
+ currentFileContext: Ref<FileContext>;
18
+ };
19
+ export declare function useAppDefaults(options: AppDefaultsOptions): AppDefaultsResult;
20
+ export {};
@@ -0,0 +1,13 @@
1
+ import { Ref, MaybeRef } from 'vue';
2
+ import { FileContext } from './types';
3
+ import { RouteLocationNormalizedLoaded } from 'vue-router';
4
+ import { AppsStore } from '../piniaStores';
5
+ interface AppDocumentTitleOptions {
6
+ appsStore: AppsStore;
7
+ applicationId: string;
8
+ applicationName?: MaybeRef<string>;
9
+ currentFileContext: Ref<FileContext>;
10
+ currentRoute?: Ref<RouteLocationNormalizedLoaded>;
11
+ }
12
+ export declare function useAppDocumentTitle({ appsStore, applicationId, applicationName, currentFileContext, currentRoute }: AppDocumentTitleOptions): void;
13
+ export {};
@@ -0,0 +1,24 @@
1
+ import { Resource, FileResource, SpaceResource } from '@opencloud-eu/web-client';
2
+ import { MaybeRef } from '../../utils';
3
+ import { ClientService } from '../../services';
4
+ import { FileContext } from './types';
5
+ import { ListFilesOptions, WebDAV } from '@opencloud-eu/web-client/webdav';
6
+ interface AppFileHandlingOptions {
7
+ clientService: ClientService;
8
+ }
9
+ export type FileContentOptions = {
10
+ responseType?: 'arraybuffer' | 'blob' | 'text';
11
+ signal?: AbortSignal;
12
+ } & Record<string, any>;
13
+ export type UrlForResourceOptions = Omit<Parameters<WebDAV['getFileUrl']>[2], 'isUrlSigningEnabled'>;
14
+ export interface AppFileHandlingResult {
15
+ getUrlForResource(space: SpaceResource, resource: Resource, options?: UrlForResourceOptions): Promise<string>;
16
+ revokeUrl(url: string): void;
17
+ getFileInfo(fileContext: MaybeRef<FileContext>, options?: ListFilesOptions): Promise<Resource>;
18
+ getFileContents(fileContext: MaybeRef<FileContext>, options?: FileContentOptions): Promise<any>;
19
+ putFileContents(fileContext: MaybeRef<FileContext>, putFileOptions: {
20
+ content?: string;
21
+ } & Record<string, any>): Promise<FileResource>;
22
+ }
23
+ export declare function useAppFileHandling({ clientService }: AppFileHandlingOptions): AppFileHandlingResult;
24
+ export {};
@@ -0,0 +1,16 @@
1
+ import { Ref, MaybeRef } from 'vue';
2
+ import { ClientService } from '../../services';
3
+ import { Resource } from '@opencloud-eu/web-client';
4
+ import { FileContext } from './types';
5
+ import { RouteLocationNormalizedLoaded } from 'vue-router';
6
+ interface AppFolderHandlingOptions {
7
+ currentRoute: Ref<RouteLocationNormalizedLoaded>;
8
+ clientService?: ClientService;
9
+ }
10
+ export interface AppFolderHandlingResult {
11
+ isFolderLoading: Ref<boolean>;
12
+ activeFiles: Ref<Array<Resource>>;
13
+ loadFolderForFileContext(context: MaybeRef<FileContext>): Promise<void>;
14
+ }
15
+ export declare function useAppFolderHandling({ currentRoute, clientService }: AppFolderHandlingOptions): AppFolderHandlingResult;
16
+ export {};
@@ -0,0 +1,9 @@
1
+ import { AppsStore } from '../piniaStores';
2
+ interface AppMetaOptions {
3
+ appsStore: AppsStore;
4
+ applicationId: string;
5
+ }
6
+ export declare function useAppMeta({ appsStore, applicationId }: AppMetaOptions): {
7
+ applicationMeta: import('vue').ComputedRef<import('../..').ApplicationInformation>;
8
+ };
9
+ export {};
@@ -0,0 +1,27 @@
1
+ import { Ref } from 'vue';
2
+ import { RouteLocation, Router, RouteParams } from 'vue-router';
3
+ import { MaybeRef } from '../../utils';
4
+ import { FileContext } from './types';
5
+ import { LocationQuery } from '../router';
6
+ import { Resource } from '@opencloud-eu/web-client';
7
+ interface AppNavigationOptions {
8
+ router: Router;
9
+ currentFileContext: MaybeRef<FileContext>;
10
+ }
11
+ export interface AppNavigationResult {
12
+ closeApp(): void;
13
+ replaceInvalidFileRoute(context: MaybeRef<FileContext>, resource: Resource): boolean;
14
+ closed: Ref<boolean>;
15
+ }
16
+ export declare const contextRouteNameKey = "contextRouteName";
17
+ export declare const contextRouteParamsKey = "contextRouteParams";
18
+ export declare const contextRouteQueryKey = "contextRouteQuery";
19
+ export declare const routeToContextQuery: (location: RouteLocation) => LocationQuery;
20
+ export declare const contextQueryToFileContextProps: (query: LocationQuery) => {
21
+ routeName: string;
22
+ routeParams: RouteParams;
23
+ routeQuery: LocationQuery;
24
+ };
25
+ export declare const queryItemAsString: (queryItem: string | number | Exclude<string | number, null | undefined>[]) => string;
26
+ export declare function useAppNavigation({ router, currentFileContext }: AppNavigationOptions): AppNavigationResult;
27
+ export {};
@@ -0,0 +1,8 @@
1
+ import { Ref } from 'vue';
2
+ import { EventBus } from '../../services';
3
+ interface DocumentTitleOptions {
4
+ titleSegments: Ref<string[]>;
5
+ eventBus?: EventBus;
6
+ }
7
+ export declare function useDocumentTitle({ titleSegments, eventBus }: DocumentTitleOptions): void;
8
+ export {};
@@ -0,0 +1 @@
1
+ export * from './useAppProviderService';
@@ -0,0 +1,2 @@
1
+ import { AppProviderService } from '../../services';
2
+ export declare const useAppProviderService: () => AppProviderService;
@@ -0,0 +1 @@
1
+ export * from './useArchiverService';
@@ -0,0 +1,2 @@
1
+ import { ArchiverService } from '../../services';
2
+ export declare const useArchiverService: () => ArchiverService;
@@ -0,0 +1,2 @@
1
+ export * from './useAuthService';
2
+ export * from './useRequest';
@@ -0,0 +1,10 @@
1
+ import { NavigationFailure } from 'vue-router';
2
+ export interface AuthServiceInterface {
3
+ handleAuthError(route: any, options?: {
4
+ forceLogout?: boolean;
5
+ }): any;
6
+ signinSilent(): Promise<unknown>;
7
+ logoutUser(): Promise<void | NavigationFailure>;
8
+ getRefreshToken(): Promise<string>;
9
+ }
10
+ export declare const useAuthService: () => AuthServiceInterface;
@@ -0,0 +1,15 @@
1
+ import { Router, RouteLocationNormalizedLoaded } from 'vue-router';
2
+ import { Method, AxiosRequestConfig, AxiosResponse } from 'axios';
3
+ import { ClientService } from '../../services';
4
+ import { AuthStore } from '../piniaStores';
5
+ interface RequestOptions {
6
+ router?: Router;
7
+ authStore?: AuthStore;
8
+ clientService?: ClientService;
9
+ currentRoute?: RouteLocationNormalizedLoaded;
10
+ }
11
+ export interface RequestResult {
12
+ makeRequest(method: Method, url: string, config?: AxiosRequestConfig): Promise<AxiosResponse>;
13
+ }
14
+ export declare function useRequest(options?: RequestOptions): RequestResult;
15
+ export {};
@@ -0,0 +1 @@
1
+ export * from './useLoadAvatars';
@@ -0,0 +1,3 @@
1
+ export declare const useLoadAvatars: () => {
2
+ enqueueAvatar: (userId: string) => void;
3
+ };
@@ -0,0 +1 @@
1
+ export * from './useBreadcrumbsFromPath';
@@ -0,0 +1,14 @@
1
+ import { RouteLocation } from 'vue-router';
2
+ import { BreadcrumbItem } from '@opencloud-eu/design-system/helpers';
3
+ import { SpaceResource } from '@opencloud-eu/web-client';
4
+ import { Ref } from 'vue';
5
+ import { AncestorMetaData } from '../../types';
6
+ export declare const useBreadcrumbsFromPath: () => {
7
+ breadcrumbsFromPath: ({ route, space, resourcePath, ancestorMetaData }: {
8
+ route: RouteLocation;
9
+ space: Ref<SpaceResource>;
10
+ resourcePath: string;
11
+ ancestorMetaData?: Ref<AncestorMetaData>;
12
+ }) => BreadcrumbItem[];
13
+ concatBreadcrumbs: (...items: BreadcrumbItem[]) => BreadcrumbItem[];
14
+ };
@@ -0,0 +1 @@
1
+ export * from './useClientService';
@@ -0,0 +1,2 @@
1
+ import { ClientService } from '../../services';
2
+ export declare const useClientService: () => ClientService;
@@ -0,0 +1 @@
1
+ export * from './useClipboard';
@@ -0,0 +1,3 @@
1
+ export declare const useClipboard: () => {
2
+ copyToClipboard: (quickLinkUrl: string) => Promise<void>;
3
+ };
@@ -0,0 +1 @@
1
+ export * from './useDownloadFile';
@@ -0,0 +1,8 @@
1
+ import { ClientService } from '../../services';
2
+ import { Resource, SpaceResource } from '@opencloud-eu/web-client';
3
+ export interface DownloadFileOptions {
4
+ clientService?: ClientService;
5
+ }
6
+ export declare const useDownloadFile: (options?: DownloadFileOptions) => {
7
+ downloadFile: (space: SpaceResource, file: Resource, version?: string) => Promise<void>;
8
+ };
@@ -0,0 +1,2 @@
1
+ export * from './useDriveResolver';
2
+ export * from './useSpacesLoading';
@@ -0,0 +1,13 @@
1
+ import { Ref } from 'vue';
2
+ import { SpaceResource } from '@opencloud-eu/web-client';
3
+ interface DriveResolverOptions {
4
+ driveAliasAndItem?: Ref<string>;
5
+ }
6
+ interface DriveResolverResult {
7
+ space: Ref<SpaceResource>;
8
+ item: Ref<string>;
9
+ itemId: Ref<string>;
10
+ loading: Ref<boolean>;
11
+ }
12
+ export declare const useDriveResolver: (options?: DriveResolverOptions) => DriveResolverResult;
13
+ export {};
@@ -0,0 +1,3 @@
1
+ export declare const useSpacesLoading: () => {
2
+ areSpacesLoading: import('vue').ComputedRef<boolean>;
3
+ };
@@ -0,0 +1 @@
1
+ export * from './useEmbedMode';
@@ -0,0 +1,23 @@
1
+ import { Resource } from '@opencloud-eu/web-client';
2
+ import { LocationQuery } from '../router';
3
+ export interface embedModeFilePickMessageData {
4
+ resource: Resource;
5
+ locationQuery: LocationQuery;
6
+ }
7
+ export interface embedModeLocationPickMessageData {
8
+ resources: Resource[];
9
+ fileName?: string;
10
+ locationQuery?: LocationQuery;
11
+ }
12
+ export declare const useEmbedMode: () => {
13
+ isEnabled: import('vue').ComputedRef<boolean>;
14
+ isLocationPicker: import('vue').ComputedRef<boolean>;
15
+ chooseFileName: import('vue').ComputedRef<boolean>;
16
+ chooseFileNameSuggestion: import('vue').ComputedRef<string>;
17
+ isFilePicker: import('vue').ComputedRef<boolean>;
18
+ messagesTargetOrigin: import('vue').ComputedRef<string>;
19
+ isDelegatingAuthentication: import('vue').ComputedRef<boolean>;
20
+ fileTypes: import('vue').ComputedRef<string[]>;
21
+ postMessage: <Payload>(name: string, data?: Payload) => void;
22
+ verifyDelegatedAuthenticationOrigin: (eventOrigin: string) => boolean;
23
+ };
@@ -0,0 +1 @@
1
+ export * from './useEventBus';
@@ -0,0 +1 @@
1
+ export declare const useEventBus: () => import('../..').EventBus;
@@ -0,0 +1 @@
1
+ export * from './useFileListHeaderPosition';
@@ -0,0 +1,5 @@
1
+ import { Ref } from 'vue';
2
+ export declare const useFileListHeaderPosition: (selector?: string) => {
3
+ y: Ref;
4
+ refresh: () => void;
5
+ };
@@ -0,0 +1 @@
1
+ export * from './useResourceRouteResolver';
@@ -0,0 +1,13 @@
1
+ import { Ref } from 'vue';
2
+ import { CreateTargetRouteOptions } from '../../helpers/folderLink/types';
3
+ import { Resource, SpaceResource } from '@opencloud-eu/web-client';
4
+ import { ConfigStore } from '../piniaStores';
5
+ export type ResourceRouteResolverOptions = {
6
+ configStore?: ConfigStore;
7
+ targetRouteCallback?: Ref<(arg: CreateTargetRouteOptions) => unknown>;
8
+ space?: Ref<SpaceResource>;
9
+ };
10
+ export declare const useResourceRouteResolver: (options?: ResourceRouteResolverOptions, context?: any) => {
11
+ createFileAction: (resource: Resource) => void;
12
+ createFolderLink: (createTargetRouteOptions: CreateTargetRouteOptions) => unknown;
13
+ };
@@ -0,0 +1 @@
1
+ export * from './useFolderLink';
@@ -0,0 +1,15 @@
1
+ import { Resource } from '@opencloud-eu/web-client';
2
+ import { ResourceRouteResolverOptions } from '../filesList';
3
+ export declare const useFolderLink: (options?: ResourceRouteResolverOptions) => {
4
+ getPathPrefix: (resource: Resource) => any;
5
+ getFolderLink: (resource: Resource) => unknown;
6
+ getParentFolderLink: (resource: Resource) => unknown;
7
+ getParentFolderName: (resource: Resource) => string;
8
+ getParentFolderLinkIconAdditionalAttributes: (resource: Resource) => {
9
+ name: string;
10
+ 'fill-type': string;
11
+ } | {
12
+ name?: undefined;
13
+ 'fill-type'?: undefined;
14
+ };
15
+ };
@@ -0,0 +1,41 @@
1
+ export * from './ability';
2
+ export * from './actions';
3
+ export * from './appDefaults';
4
+ export * from './appProviderService';
5
+ export * from './archiverService';
6
+ export * from './authContext';
7
+ export * from './breadcrumbs';
8
+ export * from './clientService';
9
+ export * from './clipboard';
10
+ export * from './download';
11
+ export * from './driveResolver';
12
+ export * from './embedMode';
13
+ export * from './eventBus';
14
+ export * from './fileListHeaderPosition';
15
+ export * from './filesList';
16
+ export * from './folderLink';
17
+ export * from './isTopBarSticky';
18
+ export * from './keyboardActions';
19
+ export * from './links';
20
+ export * from './loadingService';
21
+ export * from './localStorage';
22
+ export * from './pagination';
23
+ export * from './passwordPolicyService';
24
+ export * from './piniaStores';
25
+ export * from './portalTarget';
26
+ export * from './previewService';
27
+ export * from './requestHeaders';
28
+ export * from './resources';
29
+ export * from './router';
30
+ export * from './scrollTo';
31
+ export * from './search';
32
+ export * from './selection';
33
+ export * from './service';
34
+ export * from './shares';
35
+ export * from './sideBar';
36
+ export * from './sort';
37
+ export * from './spaces';
38
+ export * from './upload';
39
+ export * from './viewMode';
40
+ export * from './webWorkers';
41
+ export * from './avatars';
@@ -0,0 +1 @@
1
+ export * from './useIsTopBarSticky';