@opencloud-eu/web-pkg 1.0.0 → 2.0.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 (410) hide show
  1. package/dist/{TextEditor-dPv5RFiT.js → TextEditor-CBpP9DFX.js} +68 -51
  2. package/dist/assets/{worker-DzSy5ndr.js → worker-BCEWb3C6.js} +27 -27
  3. package/dist/assets/{worker-BTxctNFM.js → worker-BpDXOTOV.js} +18 -18
  4. package/dist/assets/{worker-oQBkmUkg.js → worker-Ds2rbROB.js} +26 -26
  5. package/dist/{index-B8n8dCfU.js → index-CPsauqxc.js} +12683 -12675
  6. package/dist/src/components/AppBar/AppBar.vue.d.ts +28 -31
  7. package/dist/src/components/AppTemplates/AppWrapper.vue.d.ts +71 -94
  8. package/dist/src/components/AppTopBar.vue.d.ts +13 -24
  9. package/dist/src/components/BatchActions.vue.d.ts +10 -11
  10. package/dist/src/components/ContextActions/ActionMenuItem.vue.d.ts +10 -11
  11. package/dist/src/components/ContextActions/ContextActionMenu.vue.d.ts +10 -20
  12. package/dist/src/components/CreateShortcutModal.vue.d.ts +3 -3
  13. package/dist/src/components/FilesList/ContextActions.vue.d.ts +10 -20
  14. package/dist/src/components/FilesList/ResourceLink.vue.d.ts +2 -2
  15. package/dist/src/components/FilesList/ResourceListItem.vue.d.ts +3 -3
  16. package/dist/src/components/FilesList/ResourceTable.vue.d.ts +15 -55
  17. package/dist/src/components/FilesList/ResourceTile.vue.d.ts +6 -6
  18. package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +6 -6
  19. package/dist/src/components/Filters/DateFilter.vue.d.ts +196 -52
  20. package/dist/src/components/Search/ResourcePreview.vue.d.ts +3 -3
  21. package/dist/src/components/SideBar/FileSideBar.vue.d.ts +57 -69
  22. package/dist/src/components/SideBar/SideBar.vue.d.ts +39 -71
  23. package/dist/src/components/SideBar/Spaces/Details/SpaceDetails.vue.d.ts +1 -1
  24. package/dist/src/components/SpaceQuota.vue.d.ts +1 -1
  25. package/dist/src/components/Spaces/QuotaModal.vue.d.ts +1 -1
  26. package/dist/src/components/TextEditor/TextEditor.vue.d.ts +1 -0
  27. package/dist/src/components/TextEditor/index.d.ts +1 -0
  28. package/dist/src/components/ViewOptions.vue.d.ts +8 -0
  29. package/dist/src/composables/actions/files/useFileActions.d.ts +1 -1
  30. package/dist/src/composables/actions/types.d.ts +0 -1
  31. package/dist/src/composables/piniaStores/auth.d.ts +8 -7
  32. package/dist/src/composables/piniaStores/modals.d.ts +18 -20
  33. package/dist/src/composables/piniaStores/resources.d.ts +8 -2
  34. package/dist/src/composables/piniaStores/spaces.d.ts +8 -2
  35. package/dist/src/composables/piniaStores/theme.d.ts +56 -0
  36. package/dist/src/helpers/resource/icon.d.ts +2 -1
  37. package/dist/src/router/deprecated.d.ts +1 -1
  38. package/dist/src/router/utils.d.ts +2 -2
  39. package/dist/web-pkg.js +2 -2
  40. package/dist/web-pkg.umd.cjs +47 -43
  41. package/package.json +5 -5
  42. package/dist/package/src/apps/index.d.ts +0 -1
  43. package/dist/package/src/apps/types.d.ts +0 -118
  44. package/dist/package/src/cern/composables/index.d.ts +0 -1
  45. package/dist/package/src/cern/composables/useGroupingSettings.d.ts +0 -32
  46. package/dist/package/src/cern/index.d.ts +0 -1
  47. package/dist/package/src/components/AppBar/AppBar.vue.d.ts +0 -536
  48. package/dist/package/src/components/AppBar/CreateSpace.vue.d.ts +0 -18
  49. package/dist/package/src/components/AppBar/index.d.ts +0 -2
  50. package/dist/package/src/components/AppLoadingSpinner.vue.d.ts +0 -2
  51. package/dist/package/src/components/AppTemplates/AppWrapper.vue.d.ts +0 -889
  52. package/dist/package/src/components/AppTemplates/AppWrapperRoute.d.ts +0 -10
  53. package/dist/package/src/components/AppTemplates/PartialViews/ErrorScreen.vue.d.ts +0 -22
  54. package/dist/package/src/components/AppTemplates/PartialViews/LoadingScreen.vue.d.ts +0 -2
  55. package/dist/package/src/components/AppTemplates/index.d.ts +0 -3
  56. package/dist/package/src/components/AppTemplates/types.d.ts +0 -11
  57. package/dist/package/src/components/AppTopBar.vue.d.ts +0 -526
  58. package/dist/package/src/components/BatchActions.vue.d.ts +0 -125
  59. package/dist/package/src/components/ContextActions/ActionMenuItem.vue.d.ts +0 -93
  60. package/dist/package/src/components/ContextActions/ContextActionMenu.vue.d.ts +0 -138
  61. package/dist/package/src/components/ContextActions/ContextMenuQuickAction.vue.d.ts +0 -29
  62. package/dist/package/src/components/ContextActions/index.d.ts +0 -3
  63. package/dist/package/src/components/CreateLinkModal.vue.d.ts +0 -126
  64. package/dist/package/src/components/CreateShortcutModal.vue.d.ts +0 -603
  65. package/dist/package/src/components/CustomComponentTarget.vue.d.ts +0 -16
  66. package/dist/package/src/components/FilesList/ContextActions.vue.d.ts +0 -148
  67. package/dist/package/src/components/FilesList/ResourceGhostElement.vue.d.ts +0 -49
  68. package/dist/package/src/components/FilesList/ResourceIcon.vue.d.ts +0 -44
  69. package/dist/package/src/components/FilesList/ResourceLink.vue.d.ts +0 -78
  70. package/dist/package/src/components/FilesList/ResourceListItem.vue.d.ts +0 -384
  71. package/dist/package/src/components/FilesList/ResourceName.vue.d.ts +0 -140
  72. package/dist/package/src/components/FilesList/ResourceSize.vue.d.ts +0 -25
  73. package/dist/package/src/components/FilesList/ResourceTable.vue.d.ts +0 -1411
  74. package/dist/package/src/components/FilesList/ResourceTile.vue.d.ts +0 -507
  75. package/dist/package/src/components/FilesList/ResourceTiles.vue.d.ts +0 -740
  76. package/dist/package/src/components/FilesList/index.d.ts +0 -10
  77. package/dist/package/src/components/Filters/DateFilter.vue.d.ts +0 -171
  78. package/dist/package/src/components/Filters/ItemFilterInline.vue.d.ts +0 -28
  79. package/dist/package/src/components/Filters/index.d.ts +0 -3
  80. package/dist/package/src/components/Filters/types.d.ts +0 -4
  81. package/dist/package/src/components/ItemFilter.vue.d.ts +0 -122
  82. package/dist/package/src/components/ItemFilterToggle.vue.d.ts +0 -26
  83. package/dist/package/src/components/LinkRoleDropdown.vue.d.ts +0 -40
  84. package/dist/package/src/components/LoadingIndicator.vue.d.ts +0 -5
  85. package/dist/package/src/components/Modals/DatePickerModal.vue.d.ts +0 -57
  86. package/dist/package/src/components/Modals/EmojiPickerModal.vue.d.ts +0 -19
  87. package/dist/package/src/components/Modals/FilePickerModal.vue.d.ts +0 -41
  88. package/dist/package/src/components/Modals/ResourceConflictModal.vue.d.ts +0 -76
  89. package/dist/package/src/components/Modals/SaveAsModal.vue.d.ts +0 -49
  90. package/dist/package/src/components/Modals/SpaceMoveInfoModal.vue.d.ts +0 -14
  91. package/dist/package/src/components/Modals/UnsavedChangesModal.vue.d.ts +0 -27
  92. package/dist/package/src/components/Modals/index.d.ts +0 -7
  93. package/dist/package/src/components/NoContentMessage.vue.d.ts +0 -22
  94. package/dist/package/src/components/Pagination.vue.d.ts +0 -20
  95. package/dist/package/src/components/PortalTarget.vue.d.ts +0 -41
  96. package/dist/package/src/components/QuotaSelect.vue.d.ts +0 -74
  97. package/dist/package/src/components/Search/ResourcePreview.vue.d.ts +0 -548
  98. package/dist/package/src/components/Search/index.d.ts +0 -2
  99. package/dist/package/src/components/Search/types.d.ts +0 -29
  100. package/dist/package/src/components/SearchBarFilter.vue.d.ts +0 -27
  101. package/dist/package/src/components/SideBar/CompareSaveDialog.vue.d.ts +0 -38
  102. package/dist/package/src/components/SideBar/FileSideBar.vue.d.ts +0 -256
  103. package/dist/package/src/components/SideBar/Files/FileInfo.vue.d.ts +0 -136
  104. package/dist/package/src/components/SideBar/Files/index.d.ts +0 -1
  105. package/dist/package/src/components/SideBar/SideBar.vue.d.ts +0 -73
  106. package/dist/package/src/components/SideBar/Spaces/Details/SpaceDetails.vue.d.ts +0 -96
  107. package/dist/package/src/components/SideBar/Spaces/Details/SpaceDetailsMultiple.vue.d.ts +0 -24
  108. package/dist/package/src/components/SideBar/Spaces/Details/index.d.ts +0 -2
  109. package/dist/package/src/components/SideBar/Spaces/SpaceInfo.vue.d.ts +0 -5
  110. package/dist/package/src/components/SideBar/Spaces/SpaceNoSelection.vue.d.ts +0 -2
  111. package/dist/package/src/components/SideBar/Spaces/index.d.ts +0 -3
  112. package/dist/package/src/components/SideBar/WebDavDetails.vue.d.ts +0 -21
  113. package/dist/package/src/components/SideBar/index.d.ts +0 -7
  114. package/dist/package/src/components/SideBar/types.d.ts +0 -22
  115. package/dist/package/src/components/SpaceQuota.vue.d.ts +0 -26
  116. package/dist/package/src/components/Spaces/QuotaModal.vue.d.ts +0 -155
  117. package/dist/package/src/components/Spaces/index.d.ts +0 -1
  118. package/dist/package/src/components/TextEditor/TextEditor.vue.d.ts +0 -172
  119. package/dist/package/src/components/TextEditor/index.d.ts +0 -168
  120. package/dist/package/src/components/TextEditor/l18n.d.ts +0 -22
  121. package/dist/package/src/components/ViewOptions.vue.d.ts +0 -127
  122. package/dist/package/src/components/index.d.ts +0 -27
  123. package/dist/package/src/composables/ability/index.d.ts +0 -1
  124. package/dist/package/src/composables/ability/useAbility.d.ts +0 -2
  125. package/dist/package/src/composables/actions/files/index.d.ts +0 -28
  126. package/dist/package/src/composables/actions/files/useFileActions.d.ts +0 -28
  127. package/dist/package/src/composables/actions/files/useFileActionsCopy.d.ts +0 -4
  128. package/dist/package/src/composables/actions/files/useFileActionsCopyPermanentLink.d.ts +0 -4
  129. package/dist/package/src/composables/actions/files/useFileActionsCreateLink.d.ts +0 -6
  130. package/dist/package/src/composables/actions/files/useFileActionsCreateNewFile.d.ts +0 -11
  131. package/dist/package/src/composables/actions/files/useFileActionsCreateNewFolder.d.ts +0 -10
  132. package/dist/package/src/composables/actions/files/useFileActionsCreateNewShortcut.d.ts +0 -8
  133. package/dist/package/src/composables/actions/files/useFileActionsCreateSpaceFromResource.d.ts +0 -4
  134. package/dist/package/src/composables/actions/files/useFileActionsDelete.d.ts +0 -4
  135. package/dist/package/src/composables/actions/files/useFileActionsDisableSync.d.ts +0 -5
  136. package/dist/package/src/composables/actions/files/useFileActionsDownloadArchive.d.ts +0 -4
  137. package/dist/package/src/composables/actions/files/useFileActionsDownloadFile.d.ts +0 -4
  138. package/dist/package/src/composables/actions/files/useFileActionsEmptyTrashBin.d.ts +0 -8
  139. package/dist/package/src/composables/actions/files/useFileActionsEnableSync.d.ts +0 -5
  140. package/dist/package/src/composables/actions/files/useFileActionsFavorite.d.ts +0 -4
  141. package/dist/package/src/composables/actions/files/useFileActionsMove.d.ts +0 -4
  142. package/dist/package/src/composables/actions/files/useFileActionsNavigate.d.ts +0 -4
  143. package/dist/package/src/composables/actions/files/useFileActionsOpenShortcut.d.ts +0 -5
  144. package/dist/package/src/composables/actions/files/useFileActionsOpenWithApp.d.ts +0 -6
  145. package/dist/package/src/composables/actions/files/useFileActionsPaste.d.ts +0 -4
  146. package/dist/package/src/composables/actions/files/useFileActionsRename.d.ts +0 -7
  147. package/dist/package/src/composables/actions/files/useFileActionsRestore.d.ts +0 -12
  148. package/dist/package/src/composables/actions/files/useFileActionsSaveAs.d.ts +0 -7
  149. package/dist/package/src/composables/actions/files/useFileActionsSetImage.d.ts +0 -4
  150. package/dist/package/src/composables/actions/files/useFileActionsShowActions.d.ts +0 -4
  151. package/dist/package/src/composables/actions/files/useFileActionsShowDetails.d.ts +0 -4
  152. package/dist/package/src/composables/actions/files/useFileActionsShowShares.d.ts +0 -5
  153. package/dist/package/src/composables/actions/files/useFileActionsToggleHideShare.d.ts +0 -5
  154. package/dist/package/src/composables/actions/helpers/index.d.ts +0 -3
  155. package/dist/package/src/composables/actions/helpers/useFileActionsDeleteResources.d.ts +0 -5
  156. package/dist/package/src/composables/actions/helpers/useIsFilesAppActive.d.ts +0 -1
  157. package/dist/package/src/composables/actions/helpers/useIsSearchActive.d.ts +0 -1
  158. package/dist/package/src/composables/actions/index.d.ts +0 -8
  159. package/dist/package/src/composables/actions/spaces/index.d.ts +0 -11
  160. package/dist/package/src/composables/actions/spaces/useSpaceActionsDelete.d.ts +0 -6
  161. package/dist/package/src/composables/actions/spaces/useSpaceActionsDisable.d.ts +0 -6
  162. package/dist/package/src/composables/actions/spaces/useSpaceActionsDuplicate.d.ts +0 -6
  163. package/dist/package/src/composables/actions/spaces/useSpaceActionsEditDescription.d.ts +0 -6
  164. package/dist/package/src/composables/actions/spaces/useSpaceActionsEditQuota.d.ts +0 -4
  165. package/dist/package/src/composables/actions/spaces/useSpaceActionsEditReadmeContent.d.ts +0 -4
  166. package/dist/package/src/composables/actions/spaces/useSpaceActionsNavigateToTrash.d.ts +0 -4
  167. package/dist/package/src/composables/actions/spaces/useSpaceActionsRename.d.ts +0 -6
  168. package/dist/package/src/composables/actions/spaces/useSpaceActionsRestore.d.ts +0 -6
  169. package/dist/package/src/composables/actions/spaces/useSpaceActionsSetIcon.d.ts +0 -6
  170. package/dist/package/src/composables/actions/spaces/useSpaceActionsShowMembers.d.ts +0 -4
  171. package/dist/package/src/composables/actions/types.d.ts +0 -48
  172. package/dist/package/src/composables/actions/useActionsShowDetails.d.ts +0 -4
  173. package/dist/package/src/composables/actions/useOpenEmptyEditor.d.ts +0 -3
  174. package/dist/package/src/composables/actions/useOpenWithDefaultApp.d.ts +0 -7
  175. package/dist/package/src/composables/actions/useWindowOpen.d.ts +0 -3
  176. package/dist/package/src/composables/appDefaults/index.d.ts +0 -8
  177. package/dist/package/src/composables/appDefaults/types.d.ts +0 -15
  178. package/dist/package/src/composables/appDefaults/useAppConfig.d.ts +0 -11
  179. package/dist/package/src/composables/appDefaults/useAppDefaults.d.ts +0 -20
  180. package/dist/package/src/composables/appDefaults/useAppDocumentTitle.d.ts +0 -13
  181. package/dist/package/src/composables/appDefaults/useAppFileHandling.d.ts +0 -24
  182. package/dist/package/src/composables/appDefaults/useAppFolderHandling.d.ts +0 -16
  183. package/dist/package/src/composables/appDefaults/useAppMeta.d.ts +0 -9
  184. package/dist/package/src/composables/appDefaults/useAppNavigation.d.ts +0 -27
  185. package/dist/package/src/composables/appDefaults/useDocumentTitle.d.ts +0 -8
  186. package/dist/package/src/composables/appProviderService/index.d.ts +0 -1
  187. package/dist/package/src/composables/appProviderService/useAppProviderService.d.ts +0 -2
  188. package/dist/package/src/composables/archiverService/index.d.ts +0 -1
  189. package/dist/package/src/composables/archiverService/useArchiverService.d.ts +0 -2
  190. package/dist/package/src/composables/authContext/index.d.ts +0 -2
  191. package/dist/package/src/composables/authContext/useAuthService.d.ts +0 -10
  192. package/dist/package/src/composables/authContext/useRequest.d.ts +0 -15
  193. package/dist/package/src/composables/breadcrumbs/index.d.ts +0 -1
  194. package/dist/package/src/composables/breadcrumbs/useBreadcrumbsFromPath.d.ts +0 -14
  195. package/dist/package/src/composables/clientService/index.d.ts +0 -1
  196. package/dist/package/src/composables/clientService/useClientService.d.ts +0 -2
  197. package/dist/package/src/composables/clipboard/index.d.ts +0 -1
  198. package/dist/package/src/composables/clipboard/useClipboard.d.ts +0 -3
  199. package/dist/package/src/composables/download/index.d.ts +0 -1
  200. package/dist/package/src/composables/download/useDownloadFile.d.ts +0 -8
  201. package/dist/package/src/composables/driveResolver/index.d.ts +0 -2
  202. package/dist/package/src/composables/driveResolver/useDriveResolver.d.ts +0 -13
  203. package/dist/package/src/composables/driveResolver/useSpacesLoading.d.ts +0 -3
  204. package/dist/package/src/composables/embedMode/index.d.ts +0 -1
  205. package/dist/package/src/composables/embedMode/useEmbedMode.d.ts +0 -23
  206. package/dist/package/src/composables/eventBus/index.d.ts +0 -1
  207. package/dist/package/src/composables/eventBus/useEventBus.d.ts +0 -1
  208. package/dist/package/src/composables/fileListHeaderPosition/index.d.ts +0 -1
  209. package/dist/package/src/composables/fileListHeaderPosition/useFileListHeaderPosition.d.ts +0 -5
  210. package/dist/package/src/composables/filesList/index.d.ts +0 -1
  211. package/dist/package/src/composables/filesList/useResourceRouteResolver.d.ts +0 -13
  212. package/dist/package/src/composables/folderLink/index.d.ts +0 -1
  213. package/dist/package/src/composables/folderLink/useFolderLink.d.ts +0 -15
  214. package/dist/package/src/composables/index.d.ts +0 -40
  215. package/dist/package/src/composables/isTopBarSticky/index.d.ts +0 -1
  216. package/dist/package/src/composables/isTopBarSticky/useIsTopBarSticky.d.ts +0 -8
  217. package/dist/package/src/composables/keyboardActions/index.d.ts +0 -1
  218. package/dist/package/src/composables/keyboardActions/useKeyboardActions.d.ts +0 -39
  219. package/dist/package/src/composables/links/index.d.ts +0 -1
  220. package/dist/package/src/composables/links/useLinkTypes.d.ts +0 -36
  221. package/dist/package/src/composables/loadingService/index.d.ts +0 -1
  222. package/dist/package/src/composables/loadingService/useLoadingService.d.ts +0 -2
  223. package/dist/package/src/composables/localStorage/index.d.ts +0 -1
  224. package/dist/package/src/composables/localStorage/useLocalStorage.d.ts +0 -2
  225. package/dist/package/src/composables/pagination/constants.d.ts +0 -5
  226. package/dist/package/src/composables/pagination/index.d.ts +0 -2
  227. package/dist/package/src/composables/pagination/usePagination.d.ts +0 -17
  228. package/dist/package/src/composables/passwordPolicyService/index.d.ts +0 -1
  229. package/dist/package/src/composables/passwordPolicyService/usePasswordPolicyService.d.ts +0 -2
  230. package/dist/package/src/composables/piniaStores/apps.d.ts +0 -157
  231. package/dist/package/src/composables/piniaStores/auth.d.ts +0 -59
  232. package/dist/package/src/composables/piniaStores/capabilities.d.ts +0 -1731
  233. package/dist/package/src/composables/piniaStores/clipboard.d.ts +0 -658
  234. package/dist/package/src/composables/piniaStores/config/config.d.ts +0 -756
  235. package/dist/package/src/composables/piniaStores/config/index.d.ts +0 -2
  236. package/dist/package/src/composables/piniaStores/config/types.d.ts +0 -854
  237. package/dist/package/src/composables/piniaStores/extensionRegistry/extensionPreferences.d.ts +0 -22
  238. package/dist/package/src/composables/piniaStores/extensionRegistry/extensionRegistry.d.ts +0 -37
  239. package/dist/package/src/composables/piniaStores/extensionRegistry/index.d.ts +0 -3
  240. package/dist/package/src/composables/piniaStores/extensionRegistry/types.d.ts +0 -60
  241. package/dist/package/src/composables/piniaStores/index.d.ts +0 -14
  242. package/dist/package/src/composables/piniaStores/messages.d.ts +0 -125
  243. package/dist/package/src/composables/piniaStores/modals.d.ts +0 -1365
  244. package/dist/package/src/composables/piniaStores/resources.d.ts +0 -189
  245. package/dist/package/src/composables/piniaStores/shares/index.d.ts +0 -2
  246. package/dist/package/src/composables/piniaStores/shares/shares.d.ts +0 -57
  247. package/dist/package/src/composables/piniaStores/shares/types.d.ts +0 -43
  248. package/dist/package/src/composables/piniaStores/spaces.d.ts +0 -9061
  249. package/dist/package/src/composables/piniaStores/theme.d.ts +0 -1368
  250. package/dist/package/src/composables/piniaStores/user.d.ts +0 -15
  251. package/dist/package/src/composables/piniaStores/webWorkers.d.ts +0 -29
  252. package/dist/package/src/composables/portalTarget/eventTopics.d.ts +0 -3
  253. package/dist/package/src/composables/portalTarget/index.d.ts +0 -2
  254. package/dist/package/src/composables/portalTarget/usePortalTarget.d.ts +0 -4
  255. package/dist/package/src/composables/previewService/index.d.ts +0 -1
  256. package/dist/package/src/composables/previewService/usePreviewService.d.ts +0 -2
  257. package/dist/package/src/composables/requestHeaders/index.d.ts +0 -1
  258. package/dist/package/src/composables/requestHeaders/useRequestHeaders.d.ts +0 -3
  259. package/dist/package/src/composables/resources/index.d.ts +0 -5
  260. package/dist/package/src/composables/resources/useCanBeOpenedWithSecureView.d.ts +0 -4
  261. package/dist/package/src/composables/resources/useCanListVersions.d.ts +0 -7
  262. package/dist/package/src/composables/resources/useGetResourceContext.d.ts +0 -1495
  263. package/dist/package/src/composables/resources/useLoadPreview.d.ts +0 -26
  264. package/dist/package/src/composables/resources/useResourceContents.d.ts +0 -5
  265. package/dist/package/src/composables/router/index.d.ts +0 -11
  266. package/dist/package/src/composables/router/types.d.ts +0 -16
  267. package/dist/package/src/composables/router/useActiveApp.d.ts +0 -4
  268. package/dist/package/src/composables/router/useActiveLocation.d.ts +0 -10
  269. package/dist/package/src/composables/router/useFileRouteReplace.d.ts +0 -15
  270. package/dist/package/src/composables/router/useRoute.d.ts +0 -3
  271. package/dist/package/src/composables/router/useRouteMeta.d.ts +0 -2
  272. package/dist/package/src/composables/router/useRouteName.d.ts +0 -2
  273. package/dist/package/src/composables/router/useRouteParam.d.ts +0 -3
  274. package/dist/package/src/composables/router/useRouteQuery.d.ts +0 -3
  275. package/dist/package/src/composables/router/useRouteQueryPersisted.d.ts +0 -8
  276. package/dist/package/src/composables/router/useRouter.d.ts +0 -2
  277. package/dist/package/src/composables/scrollTo/index.d.ts +0 -1
  278. package/dist/package/src/composables/scrollTo/useScrollTo.d.ts +0 -9
  279. package/dist/package/src/composables/search/constants.d.ts +0 -4
  280. package/dist/package/src/composables/search/index.d.ts +0 -2
  281. package/dist/package/src/composables/search/useSearch.d.ts +0 -14
  282. package/dist/package/src/composables/selection/index.d.ts +0 -1
  283. package/dist/package/src/composables/selection/useSelectedResources.d.ts +0 -9
  284. package/dist/package/src/composables/service/index.d.ts +0 -1
  285. package/dist/package/src/composables/service/useService.d.ts +0 -1
  286. package/dist/package/src/composables/shares/index.d.ts +0 -2
  287. package/dist/package/src/composables/shares/useCanListShares.d.ts +0 -7
  288. package/dist/package/src/composables/shares/useCanShare.d.ts +0 -7
  289. package/dist/package/src/composables/sideBar/eventTopics.d.ts +0 -7
  290. package/dist/package/src/composables/sideBar/index.d.ts +0 -2
  291. package/dist/package/src/composables/sideBar/useSideBar.d.ts +0 -12
  292. package/dist/package/src/composables/sort/constants.d.ts +0 -4
  293. package/dist/package/src/composables/sort/index.d.ts +0 -2
  294. package/dist/package/src/composables/sort/useSort.d.ts +0 -36
  295. package/dist/package/src/composables/spaces/index.d.ts +0 -3
  296. package/dist/package/src/composables/spaces/useCreateSpace.d.ts +0 -5
  297. package/dist/package/src/composables/spaces/useGetMatchingSpace.d.ts +0 -15
  298. package/dist/package/src/composables/spaces/useSpaceHelpers.d.ts +0 -5
  299. package/dist/package/src/composables/upload/index.d.ts +0 -1
  300. package/dist/package/src/composables/upload/useUpload.d.ts +0 -6
  301. package/dist/package/src/composables/viewMode/constants.d.ts +0 -12
  302. package/dist/package/src/composables/viewMode/index.d.ts +0 -3
  303. package/dist/package/src/composables/viewMode/useTileSize.d.ts +0 -4
  304. package/dist/package/src/composables/viewMode/useViewMode.d.ts +0 -4
  305. package/dist/package/src/composables/webWorkers/deleteWorker/index.d.ts +0 -1
  306. package/dist/package/src/composables/webWorkers/deleteWorker/useDeleteWorker.d.ts +0 -28
  307. package/dist/package/src/composables/webWorkers/deleteWorker/worker.d.ts +0 -1
  308. package/dist/package/src/composables/webWorkers/index.d.ts +0 -4
  309. package/dist/package/src/composables/webWorkers/pasteWorker/index.d.ts +0 -1
  310. package/dist/package/src/composables/webWorkers/pasteWorker/usePasteWorker.d.ts +0 -25
  311. package/dist/package/src/composables/webWorkers/pasteWorker/worker.d.ts +0 -1
  312. package/dist/package/src/composables/webWorkers/restoreWorker/index.d.ts +0 -1
  313. package/dist/package/src/composables/webWorkers/restoreWorker/useRestoreWorker.d.ts +0 -28
  314. package/dist/package/src/composables/webWorkers/restoreWorker/worker.d.ts +0 -1
  315. package/dist/package/src/composables/webWorkers/tokenTimerWorker/index.d.ts +0 -1
  316. package/dist/package/src/composables/webWorkers/tokenTimerWorker/useTokenTimerWorker.d.ts +0 -12
  317. package/dist/package/src/composables/webWorkers/tokenTimerWorker/worker.d.ts +0 -1
  318. package/dist/package/src/constants.d.ts +0 -14
  319. package/dist/package/src/errors/index.d.ts +0 -1
  320. package/dist/package/src/errors/types.d.ts +0 -13
  321. package/dist/package/src/helpers/binary.d.ts +0 -2
  322. package/dist/package/src/helpers/breadcrumbs.d.ts +0 -4
  323. package/dist/package/src/helpers/cache/cache.d.ts +0 -20
  324. package/dist/package/src/helpers/cache/index.d.ts +0 -1
  325. package/dist/package/src/helpers/clipboardActions.d.ts +0 -4
  326. package/dist/package/src/helpers/contextMenuDropdown.d.ts +0 -7
  327. package/dist/package/src/helpers/datetime.d.ts +0 -11
  328. package/dist/package/src/helpers/download.d.ts +0 -1
  329. package/dist/package/src/helpers/filesize.d.ts +0 -8
  330. package/dist/package/src/helpers/folderLink/index.d.ts +0 -1
  331. package/dist/package/src/helpers/folderLink/types.d.ts +0 -6
  332. package/dist/package/src/helpers/fuse.d.ts +0 -5
  333. package/dist/package/src/helpers/index.d.ts +0 -18
  334. package/dist/package/src/helpers/locale.d.ts +0 -1
  335. package/dist/package/src/helpers/path.d.ts +0 -13
  336. package/dist/package/src/helpers/permissions.d.ts +0 -8
  337. package/dist/package/src/helpers/resource/conflictHandling/conflictDialog.d.ts +0 -15
  338. package/dist/package/src/helpers/resource/conflictHandling/conflictUtils.d.ts +0 -3
  339. package/dist/package/src/helpers/resource/conflictHandling/index.d.ts +0 -4
  340. package/dist/package/src/helpers/resource/conflictHandling/transfer.d.ts +0 -27
  341. package/dist/package/src/helpers/resource/conflictHandling/types.d.ts +0 -24
  342. package/dist/package/src/helpers/resource/filter.d.ts +0 -2
  343. package/dist/package/src/helpers/resource/icon.d.ts +0 -9
  344. package/dist/package/src/helpers/resource/index.d.ts +0 -5
  345. package/dist/package/src/helpers/resource/renameResource.d.ts +0 -2
  346. package/dist/package/src/helpers/resource/sameResource.d.ts +0 -2
  347. package/dist/package/src/helpers/router/buildUrl.d.ts +0 -2
  348. package/dist/package/src/helpers/router/index.d.ts +0 -2
  349. package/dist/package/src/helpers/router/routeOptions.d.ts +0 -24
  350. package/dist/package/src/helpers/share/driveItem.d.ts +0 -12
  351. package/dist/package/src/helpers/share/index.d.ts +0 -2
  352. package/dist/package/src/helpers/share/sharedAncestorRoute.d.ts +0 -7
  353. package/dist/package/src/helpers/statusIndicators.d.ts +0 -9
  354. package/dist/package/src/helpers/store.d.ts +0 -8
  355. package/dist/package/src/helpers/ui/index.d.ts +0 -3
  356. package/dist/package/src/helpers/ui/resourceCheckbox.d.ts +0 -1
  357. package/dist/package/src/helpers/ui/resourceTable.d.ts +0 -3
  358. package/dist/package/src/helpers/ui/resourceTiles.d.ts +0 -6
  359. package/dist/package/src/http/client.d.ts +0 -23
  360. package/dist/package/src/http/index.d.ts +0 -1
  361. package/dist/package/src/index.d.ts +0 -14
  362. package/dist/package/src/observer/index.d.ts +0 -1
  363. package/dist/package/src/observer/visibility.d.ts +0 -26
  364. package/dist/package/src/router/common.d.ts +0 -9
  365. package/dist/package/src/router/deprecated.d.ts +0 -12
  366. package/dist/package/src/router/index.d.ts +0 -12
  367. package/dist/package/src/router/public.d.ts +0 -9
  368. package/dist/package/src/router/router.d.ts +0 -27
  369. package/dist/package/src/router/shares.d.ts +0 -10
  370. package/dist/package/src/router/spaces.d.ts +0 -9
  371. package/dist/package/src/router/trash.d.ts +0 -9
  372. package/dist/package/src/router/utils.d.ts +0 -32
  373. package/dist/package/src/services/appProvider/index.d.ts +0 -2
  374. package/dist/package/src/services/appProvider/schemas.d.ts +0 -152
  375. package/dist/package/src/services/appProvider/service.d.ts +0 -27
  376. package/dist/package/src/services/archiver.d.ts +0 -26
  377. package/dist/package/src/services/cache.d.ts +0 -14
  378. package/dist/package/src/services/client/auth.d.ts +0 -12
  379. package/dist/package/src/services/client/client.d.ts +0 -43
  380. package/dist/package/src/services/client/index.d.ts +0 -2
  381. package/dist/package/src/services/eventBus.d.ts +0 -8
  382. package/dist/package/src/services/folder/folderService.d.ts +0 -26
  383. package/dist/package/src/services/folder/index.d.ts +0 -2
  384. package/dist/package/src/services/folder/loaders/index.d.ts +0 -7
  385. package/dist/package/src/services/folder/loaders/loaderFavorites.d.ts +0 -7
  386. package/dist/package/src/services/folder/loaders/loaderSharedViaLink.d.ts +0 -7
  387. package/dist/package/src/services/folder/loaders/loaderSharedWithMe.d.ts +0 -7
  388. package/dist/package/src/services/folder/loaders/loaderSharedWithOthers.d.ts +0 -7
  389. package/dist/package/src/services/folder/loaders/loaderSpace.d.ts +0 -12
  390. package/dist/package/src/services/folder/loaders/loaderTrashbin.d.ts +0 -7
  391. package/dist/package/src/services/folder/loaders/types.d.ts +0 -3
  392. package/dist/package/src/services/index.d.ts +0 -10
  393. package/dist/package/src/services/loadingService.d.ts +0 -33
  394. package/dist/package/src/services/passwordPolicy/index.d.ts +0 -1
  395. package/dist/package/src/services/passwordPolicy/passwordPolicy.d.ts +0 -20
  396. package/dist/package/src/services/passwordPolicy/rules.d.ts +0 -63
  397. package/dist/package/src/services/preview/index.d.ts +0 -2
  398. package/dist/package/src/services/preview/previewService.d.ts +0 -28
  399. package/dist/package/src/services/preview/types.d.ts +0 -18
  400. package/dist/package/src/services/uppy/index.d.ts +0 -1
  401. package/dist/package/src/services/uppy/uppyService.d.ts +0 -90
  402. package/dist/package/src/types.d.ts +0 -17
  403. package/dist/package/src/ui/index.d.ts +0 -1
  404. package/dist/package/src/ui/types.d.ts +0 -13
  405. package/dist/package/src/utils/dirname.d.ts +0 -1
  406. package/dist/package/src/utils/encodePath.d.ts +0 -1
  407. package/dist/package/src/utils/index.d.ts +0 -4
  408. package/dist/package/src/utils/objectKeys.d.ts +0 -1
  409. package/dist/package/src/utils/types.d.ts +0 -5
  410. package/dist/package/vite.config.d.ts +0 -2
@@ -1,5 +0,0 @@
1
- export declare const defaultFuseOptions: {
2
- ignoreLocation: boolean;
3
- threshold: number;
4
- useExtendedSearch: boolean;
5
- };
@@ -1,18 +0,0 @@
1
- export * from './cache';
2
- export * from './folderLink';
3
- export * from './resource';
4
- export * from './router';
5
- export * from './share';
6
- export * from './ui';
7
- export * from './breadcrumbs';
8
- export * from './clipboardActions';
9
- export * from './contextMenuDropdown';
10
- export * from './datetime';
11
- export * from './download';
12
- export * from './filesize';
13
- export * from './fuse';
14
- export * from './locale';
15
- export * from './path';
16
- export * from './statusIndicators';
17
- export * from './store';
18
- export * from './binary';
@@ -1 +0,0 @@
1
- export declare const getLocaleFromLanguage: (currentLanguage: string) => string;
@@ -1,13 +0,0 @@
1
- /**
2
- * Return all absolute parent paths.
3
- *
4
- * For example if passing in "a/b/c" it will return
5
- * ["/a/b", "/a", ""]
6
-
7
- * If an empty string or "/" is passed in, an empty array is returned.
8
- *
9
- * @param {String} path path to process
10
- * @param {Boolean} includeCurrent whether to include the current path (with leading slash)
11
- * @return {Array.<String>} parent paths
12
- */
13
- export declare function getParentPaths(path?: string, includeCurrent?: boolean): string[];
@@ -1,8 +0,0 @@
1
- import { Resource } from '@opencloud-eu/web-client';
2
- /**
3
- * Asserts whether given resource can be moved
4
- * @param {String} resource Resource which is to be moved
5
- * @param {Object} parentPath Path of the parent folder of the resource
6
- * @return {Boolean} can be moved
7
- */
8
- export declare function canBeMoved(resource: Resource, parentPath: string): boolean;
@@ -1,15 +0,0 @@
1
- import { Resource } from '@opencloud-eu/web-client';
2
- import { ResolveConflict, ResolveStrategy } from './types';
3
- import { Language } from 'vue3-gettext';
4
- export interface FileConflict {
5
- resource: Resource;
6
- strategy?: ResolveStrategy;
7
- }
8
- export declare class ConflictDialog {
9
- protected $gettext: Language['$gettext'];
10
- protected $ngettext: Language['$ngettext'];
11
- constructor($gettext: Language['$gettext'], $ngettext: Language['$ngettext']);
12
- resolveAllConflicts(resourcesToMove: Resource[], targetFolder: Resource, targetFolderResources: Resource[]): Promise<FileConflict[]>;
13
- resolveFileExists(resource: Resource, conflictCount: number, suggestMerge?: boolean, separateSkipHandling?: boolean): Promise<ResolveConflict>;
14
- resolveDoCopyInsteadOfMoveForSpaces(): Promise<boolean>;
15
- }
@@ -1,3 +0,0 @@
1
- import { Resource, SpaceResource } from '@opencloud-eu/web-client';
2
- export declare const resolveFileNameDuplicate: (name: string, extension: string, existingResources: Resource[], iteration?: number) => string;
3
- export declare const isResourceBeeingMovedToSameLocation: (sourceSpace: SpaceResource, resource: Resource, targetSpace: SpaceResource, targetFolder: Resource) => boolean;
@@ -1,4 +0,0 @@
1
- export * from './conflictDialog';
2
- export * from './conflictUtils';
3
- export * from './transfer';
4
- export * from './types';
@@ -1,27 +0,0 @@
1
- import { Resource, SpaceResource } from '@opencloud-eu/web-client';
2
- import { TransferType, TransferData } from './types';
3
- import { ConflictDialog } from './conflictDialog';
4
- import { ClientService } from '../../../services';
5
- import { Ref } from 'vue';
6
- import { Language } from 'vue3-gettext';
7
- export declare class ResourceTransfer extends ConflictDialog {
8
- private sourceSpace;
9
- private resourcesToMove;
10
- private targetSpace;
11
- private targetFolder;
12
- private currentFolder;
13
- private clientService;
14
- constructor(sourceSpace: SpaceResource, resourcesToMove: Resource[], targetSpace: SpaceResource, targetFolder: Resource, currentFolder: Ref<Resource>, clientService: ClientService, $gettext: Language['$gettext'], $ngettext: Language['$ngettext']);
15
- hasRecursion(): boolean;
16
- showRecursionErrorMessage(): void;
17
- showResultMessage(errors: {
18
- resourceName: string;
19
- error: Error;
20
- }[], movedResources: Array<Resource>, transferType: TransferType): void;
21
- /**
22
- * Gathers transfer data after resolving all potential conflicts.
23
- * This data can then be used to feed the web worker for pasting resources.
24
- */
25
- getTransferData(transferType: TransferType): Promise<TransferData[]>;
26
- isOverwritingParentFolder(resource: Resource, targetFolder: Resource, targetFolderResources: Resource[]): boolean;
27
- }
@@ -1,24 +0,0 @@
1
- import { Resource, SpaceResource } from '@opencloud-eu/web-client';
2
- export declare enum ResolveStrategy {
3
- SKIP = 0,
4
- REPLACE = 1,
5
- KEEP_BOTH = 2,
6
- MERGE = 3
7
- }
8
- export interface ResolveConflict {
9
- strategy: ResolveStrategy;
10
- doForAllConflicts: boolean;
11
- }
12
- export declare enum TransferType {
13
- COPY = 0,
14
- MOVE = 1
15
- }
16
- export type TransferData = {
17
- resource: Resource;
18
- sourceSpace: SpaceResource;
19
- targetSpace: SpaceResource;
20
- targetFolder: Resource;
21
- path: string;
22
- overwrite: boolean;
23
- transferType: TransferType;
24
- };
@@ -1,2 +0,0 @@
1
- import { Resource } from '@opencloud-eu/web-client';
2
- export declare const filterResources: <T extends Resource>(resources: T[], term: string, limit?: number) => T[];
@@ -1,9 +0,0 @@
1
- export type IconFillType = 'fill' | 'line' | 'none';
2
- export type IconType = {
3
- name: string;
4
- color?: string;
5
- fillType?: IconFillType;
6
- };
7
- export type ResourceIconMapping = Record<'mimeType' | 'extension', Record<string, IconType>>;
8
- export declare const resourceIconMappingInjectionKey = "oc-resource-icon-mapping";
9
- export declare function createDefaultFileIconMapping(): Record<string, IconType>;
@@ -1,5 +0,0 @@
1
- export * from './sameResource';
2
- export * from './conflictHandling';
3
- export * from './filter';
4
- export * from './icon';
5
- export * from './renameResource';
@@ -1,2 +0,0 @@
1
- import { Resource, SpaceResource } from '@opencloud-eu/web-client';
2
- export declare function renameResource(space: SpaceResource, resource: Resource, newPath: string): Resource;
@@ -1,2 +0,0 @@
1
- import { Resource } from '@opencloud-eu/web-client';
2
- export declare const isSameResource: (r1: Resource, r2: Resource) => boolean;
@@ -1,2 +0,0 @@
1
- import { Router } from 'vue-router';
2
- export declare const buildUrl: (router: Router, pathname: string) => string;
@@ -1,2 +0,0 @@
1
- export * from './routeOptions';
2
- export * from './buildUrl';
@@ -1,24 +0,0 @@
1
- import { SpaceResource } from '@opencloud-eu/web-client';
2
- import { ConfigStore, LocationQuery } from '../../composables';
3
- import { RouteParams } from 'vue-router';
4
- /**
5
- * Creates route options for routing into a file location:
6
- * - params.driveAliasAndItem
7
- * - query.shareId
8
- * - query.fileId
9
- *
10
- * Both query options are optional.
11
- *
12
- * @param space {SpaceResource}
13
- * @param target {path: string, fileId: string | number}
14
- * @param options {configStore: ConfigStore}
15
- */
16
- export declare const createFileRouteOptions: (space: SpaceResource, target?: {
17
- path?: string;
18
- fileId?: string | number;
19
- }, options?: {
20
- configStore: ConfigStore;
21
- }) => {
22
- params: RouteParams;
23
- query: LocationQuery;
24
- };
@@ -1,12 +0,0 @@
1
- import { SpaceResource } from '@opencloud-eu/web-client';
2
- import { Graph } from '@opencloud-eu/web-client/graph';
3
- import { SpacesStore } from '../../composables';
4
- /**
5
- * Gets the drive item for a given shared space.
6
- */
7
- export declare const getSharedDriveItem: ({ graphClient, spacesStore, space, signal }: {
8
- graphClient: Graph;
9
- spacesStore: SpacesStore;
10
- space: SpaceResource;
11
- signal?: AbortSignal;
12
- }) => Promise<import('@opencloud-eu/web-client/graph/generated').DriveItem>;
@@ -1,2 +0,0 @@
1
- export * from './driveItem';
2
- export * from './sharedAncestorRoute';
@@ -1,7 +0,0 @@
1
- import { SpaceResource } from '@opencloud-eu/web-client';
2
- import { RouteLocationNamedRaw } from 'vue-router';
3
- import { AncestorMetaDataValue } from '../../types';
4
- export declare const getSharedAncestorRoute: ({ sharedAncestor, matchingSpace }: {
5
- sharedAncestor: AncestorMetaDataValue;
6
- matchingSpace: SpaceResource;
7
- }) => RouteLocationNamedRaw;
@@ -1,9 +0,0 @@
1
- import { Resource, ResourceIndicator, SpaceResource } from '@opencloud-eu/web-client';
2
- import { AncestorMetaData } from '../types';
3
- import { User } from '@opencloud-eu/web-client/graph/generated';
4
- export declare const getIndicators: ({ space, resource, ancestorMetaData, user }: {
5
- space: SpaceResource;
6
- resource: Resource;
7
- ancestorMetaData: AncestorMetaData;
8
- user: User;
9
- }) => ResourceIndicator[];
@@ -1,8 +0,0 @@
1
- /**
2
- * Takes an object from state and creates a copy of it with only the values (no watchers, etc.)
3
- * Editing the copied object does not result in errors due to modifying the state.
4
- * The copied object is still reactive.
5
- * @param {Object} state Object in the state to be copied
6
- * @return {Object} Copied object
7
- */
8
- export declare function cloneStateObject<T>(state: T): T;
@@ -1,3 +0,0 @@
1
- export * from './resourceCheckbox';
2
- export * from './resourceTable';
3
- export * from './resourceTiles';
@@ -1 +0,0 @@
1
- export declare const focusCheckbox: (id: string) => void;
@@ -1,3 +0,0 @@
1
- import { Resource } from '@opencloud-eu/web-client';
2
- import { SortField } from '../../composables/sort';
3
- export declare const determineResourceTableSortFields: (firstResource: Resource) => SortField[];
@@ -1,6 +0,0 @@
1
- import { Resource } from '@opencloud-eu/web-client';
2
- import { SortField } from '../../composables/sort';
3
- import { Language } from 'vue3-gettext';
4
- export declare const sortFields: SortField[];
5
- export declare const determineResourceTilesSortFields: (firstResource: Resource) => SortField[];
6
- export declare const translateSortFields: (fields: SortField[], { $gettext }: Language) => SortField[];
@@ -1,23 +0,0 @@
1
- import { AxiosRequestConfig, AxiosResponse, InternalAxiosRequestConfig } from 'axios';
2
- import { z } from 'zod';
3
- export type RequestConfig<D, S> = AxiosRequestConfig<D> & {
4
- schema?: S extends z.Schema ? S : never;
5
- };
6
- export declare class HttpClient {
7
- private readonly instance;
8
- private readonly cancelToken;
9
- constructor(config?: AxiosRequestConfig, interceptor?: (value: InternalAxiosRequestConfig<any>) => InternalAxiosRequestConfig<any> | Promise<InternalAxiosRequestConfig<any>>);
10
- cancel(msg?: string): void;
11
- delete<T = any, D = any, S extends z.Schema | T = T>(url: string, data?: D, config?: RequestConfig<D, S>): Promise<AxiosResponse<S extends z.ZodType<any, z.ZodTypeDef, any> ? z.TypeOf<S> : S, any>>;
12
- get<T = unknown, D = any, S extends z.Schema | T = T>(url: string, config?: RequestConfig<D, S>): Promise<AxiosResponse<S extends z.ZodType<any, z.ZodTypeDef, any> ? z.TypeOf<S> : S, any>>;
13
- head<T = any, D = any, S extends z.Schema | T = T>(url: string, config?: RequestConfig<D, S>): Promise<AxiosResponse<S extends z.ZodType<any, z.ZodTypeDef, any> ? z.TypeOf<S> : S, any>>;
14
- options<T = any, D = any, S extends z.Schema | T = T>(url: string, config?: RequestConfig<D, S>): Promise<AxiosResponse<S extends z.ZodType<any, z.ZodTypeDef, any> ? z.TypeOf<S> : S, any>>;
15
- patch<T = any, D = any, S extends z.Schema | T = T>(url: string, data?: D, config?: RequestConfig<D, S>): Promise<AxiosResponse<S extends z.ZodType<any, z.ZodTypeDef, any> ? z.TypeOf<S> : S, any>>;
16
- post<T = any, D = any, S extends z.Schema | T = T>(url: string, data?: D, config?: RequestConfig<D, S>): Promise<AxiosResponse<S extends z.ZodType<any, z.ZodTypeDef, any> ? z.TypeOf<S> : S, any>>;
17
- put<T = any, D = any, S extends z.Schema | T = T>(url: string, data?: D, config?: RequestConfig<D, S>): Promise<AxiosResponse<S extends z.ZodType<any, z.ZodTypeDef, any> ? z.TypeOf<S> : S, any>>;
18
- request<T = any, D = any, S extends z.Schema | T = T>(config: RequestConfig<D, S>): Promise<AxiosResponse<S extends z.ZodType<any, z.ZodTypeDef, any> ? z.TypeOf<S> : S, any>>;
19
- private obtainConfig;
20
- private processResponse;
21
- private internalRequest;
22
- private internalRequestWithData;
23
- }
@@ -1 +0,0 @@
1
- export * from './client';
@@ -1,14 +0,0 @@
1
- export * from './apps';
2
- export * from './components';
3
- export * from './composables';
4
- export * from './constants';
5
- export * from './errors';
6
- export * from './helpers';
7
- export * from './http';
8
- export * from './observer';
9
- export * from './router';
10
- export * from './services';
11
- export * from './types';
12
- export * from './ui';
13
- export * from './utils';
14
- export * from './cern';
@@ -1 +0,0 @@
1
- export * from './visibility';
@@ -1,26 +0,0 @@
1
- interface CbackOptions {
2
- element: Element;
3
- callCount: number;
4
- unobserve: () => void;
5
- }
6
- type cback = (options: CbackOptions) => void;
7
- interface Cbacks {
8
- onEnter?: cback;
9
- onExit?: cback;
10
- }
11
- interface VisibilityObserverOptions {
12
- root?: Element | Document | null;
13
- rootMargin?: string;
14
- threshold?: number;
15
- }
16
- export declare class VisibilityObserver {
17
- private targets;
18
- private readonly intersectionObserver;
19
- private readonly options;
20
- constructor(options?: VisibilityObserverOptions);
21
- observe(element: Element, cbacks?: Cbacks, threshold?: number): void;
22
- unobserve(element: Element): void;
23
- disconnect(): void;
24
- private trigger;
25
- }
26
- export {};
@@ -1,9 +0,0 @@
1
- import { RouteComponents } from './router';
2
- import { RouteLocationNamedRaw, RouteRecordRaw } from 'vue-router';
3
- type commonTypes = 'files-common-favorites' | 'files-common-search';
4
- export declare const createLocationCommon: (name: commonTypes, location?: {}) => RouteLocationNamedRaw;
5
- export declare const locationFavorites: RouteLocationNamedRaw;
6
- export declare const locationSearch: RouteLocationNamedRaw;
7
- export declare const isLocationCommonActive: import('./utils').ActiveRouteDirectorFunc<commonTypes>;
8
- export declare const buildRoutes: (components: RouteComponents) => RouteRecordRaw[];
9
- export {};
@@ -1,12 +0,0 @@
1
- import { RouteRecordRaw, RouteLocationNamedRaw, Router } from 'vue-router';
2
- /**
3
- * listed routes only exist to keep backwards compatibility intact,
4
- * all routes written in a flat syntax to keep them readable.
5
- */
6
- export declare const buildRoutes: () => RouteRecordRaw[];
7
- /**
8
- * same as utils.isLocationActive with the difference that it remaps old route names to new ones and warns
9
- * @param router
10
- * @param comparatives
11
- */
12
- export declare const isLocationActive: (router: Router, comparatives_0: RouteLocationNamedRaw, ...comparatives: RouteLocationNamedRaw[]) => boolean;
@@ -1,12 +0,0 @@
1
- import { RouteRecordRaw } from 'vue-router';
2
- import { isLocationCommonActive, createLocationCommon } from './common';
3
- import { isLocationActive } from './deprecated';
4
- import { createLocationPublic, isLocationPublicActive, locationPublicLink, locationPublicUpload } from './public';
5
- import { RouteComponents } from './router';
6
- import { isLocationSharesActive, createLocationShares, locationSharesViaLink, locationSharesWithMe, locationSharesWithOthers, RouteShareTypes } from './shares';
7
- import { isLocationSpacesActive, createLocationSpaces, locationSpacesGeneric } from './spaces';
8
- import { isLocationTrashActive, createLocationTrash } from './trash';
9
- import { ActiveRouteDirectorFunc } from './utils';
10
- declare const buildRoutes: (components: RouteComponents) => RouteRecordRaw[];
11
- export { createLocationCommon, createLocationShares, createLocationSpaces, createLocationPublic, isLocationCommonActive, isLocationSharesActive, isLocationSpacesActive, isLocationPublicActive, isLocationActive, isLocationTrashActive, createLocationTrash, locationPublicLink, locationPublicUpload, locationSpacesGeneric, locationSharesViaLink, locationSharesWithMe, locationSharesWithOthers, buildRoutes, ActiveRouteDirectorFunc };
12
- export type { RouteShareTypes };
@@ -1,9 +0,0 @@
1
- import { RouteComponents } from './router';
2
- import { RouteLocationNamedRaw, RouteRecordRaw } from 'vue-router';
3
- type shareTypes = 'files-public-link' | 'files-public-upload';
4
- export declare const createLocationPublic: (name: shareTypes, location?: {}) => RouteLocationNamedRaw;
5
- export declare const locationPublicLink: RouteLocationNamedRaw;
6
- export declare const locationPublicUpload: RouteLocationNamedRaw;
7
- export declare const isLocationPublicActive: import('./utils').ActiveRouteDirectorFunc<shareTypes>;
8
- export declare const buildRoutes: (components: RouteComponents) => RouteRecordRaw[];
9
- export {};
@@ -1,27 +0,0 @@
1
- import { defineComponent } from 'vue';
2
- /**
3
- * we need to inject the vue files into the route builders,
4
- * this is because we also import the provided helpers from other js|ts files
5
- * like mixins, rollup seems to have a problem to import files which contain vue file imports
6
- * into js files which then again get imported by other vue files...
7
- */
8
- type Component = ReturnType<typeof defineComponent>;
9
- export interface RouteComponents {
10
- App: Component;
11
- Favorites: Component;
12
- FilesDrop: Component;
13
- SearchResults: Component;
14
- Shares: {
15
- SharedWithMe: Component;
16
- SharedWithOthers: Component;
17
- SharedViaLink: Component;
18
- };
19
- Spaces: {
20
- DriveResolver: Component;
21
- Projects: Component;
22
- };
23
- Trash: {
24
- Overview: Component;
25
- };
26
- }
27
- export {};
@@ -1,10 +0,0 @@
1
- import { RouteComponents } from './router';
2
- import { RouteLocationNamedRaw, RouteRecordRaw } from 'vue-router';
3
- export type RouteShareTypes = 'files-shares' | 'files-shares-with-me' | 'files-shares-with-others' | 'files-shares-via-link';
4
- export declare const createLocationShares: (name: RouteShareTypes, location?: {}) => RouteLocationNamedRaw;
5
- export declare const locationShares: RouteLocationNamedRaw;
6
- export declare const locationSharesWithMe: RouteLocationNamedRaw;
7
- export declare const locationSharesWithOthers: RouteLocationNamedRaw;
8
- export declare const locationSharesViaLink: RouteLocationNamedRaw;
9
- export declare const isLocationSharesActive: import('./utils').ActiveRouteDirectorFunc<RouteShareTypes>;
10
- export declare const buildRoutes: (components: RouteComponents) => RouteRecordRaw[];
@@ -1,9 +0,0 @@
1
- import { RouteLocationNamedRaw, RouteRecordRaw } from 'vue-router';
2
- import { RouteComponents } from './router';
3
- type spaceTypes = 'files-spaces-projects' | 'files-spaces-generic';
4
- export declare const createLocationSpaces: (name: spaceTypes, location?: {}) => RouteLocationNamedRaw;
5
- export declare const locationSpacesProjects: RouteLocationNamedRaw;
6
- export declare const locationSpacesGeneric: RouteLocationNamedRaw;
7
- export declare const isLocationSpacesActive: import('./utils').ActiveRouteDirectorFunc<spaceTypes>;
8
- export declare const buildRoutes: (components: RouteComponents) => RouteRecordRaw[];
9
- export {};
@@ -1,9 +0,0 @@
1
- import { RouteComponents } from './router';
2
- import { RouteLocationNamedRaw, RouteRecordRaw } from 'vue-router';
3
- type trashTypes = 'files-trash-generic' | 'files-trash-overview';
4
- export declare const createLocationTrash: (name: trashTypes, location?: {}) => RouteLocationNamedRaw;
5
- export declare const locationTrashGeneric: RouteLocationNamedRaw;
6
- export declare const locationTrashOverview: RouteLocationNamedRaw;
7
- export declare const isLocationTrashActive: import('./utils').ActiveRouteDirectorFunc<trashTypes>;
8
- export declare const buildRoutes: (components: RouteComponents) => RouteRecordRaw[];
9
- export {};
@@ -1,32 +0,0 @@
1
- import { Router, RouteLocationNamedRaw } from 'vue-router';
2
- export interface ActiveRouteDirectorFunc<T extends string> {
3
- (router: Router, ...comparatives: T[]): boolean;
4
- }
5
- /**
6
- * helper function to find out if comparative route location is active or not.
7
- * it uses vue router resolve to do so.
8
- *
9
- * @param router
10
- * @param comparatives
11
- */
12
- export declare const isLocationActive: (router: Router, comparatives_0: RouteLocationNamedRaw, ...comparatives: RouteLocationNamedRaw[]) => boolean;
13
- /**
14
- * wraps isLocationActive to be used as a closure,
15
- * the resulting closure then can be used to check a location against the defined set of director locations
16
- *
17
- * @param defaultComparatives
18
- */
19
- export declare const isLocationActiveDirector: <T extends string>(defaultComparatives_0: RouteLocationNamedRaw, ...defaultComparatives: RouteLocationNamedRaw[]) => ActiveRouteDirectorFunc<T>;
20
- /**
21
- * just a dummy function to trick gettext tools
22
- *
23
- * @param msg
24
- */
25
- export declare function $gettext(msg: string): string;
26
- /**
27
- * create a location with attached default values
28
- *
29
- * @param name
30
- * @param locations
31
- */
32
- export declare const createLocation: (name: string, ...locations: RouteLocationNamedRaw[]) => RouteLocationNamedRaw;
@@ -1,2 +0,0 @@
1
- export * from './schemas';
2
- export * from './service';
@@ -1,152 +0,0 @@
1
- import { z } from 'zod';
2
- declare const ExternalAppSchema: z.ZodObject<{
3
- icon: z.ZodString;
4
- name: z.ZodString;
5
- secure_view: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6
- target_ext: z.ZodOptional<z.ZodString>;
7
- }, "strip", z.ZodTypeAny, {
8
- name?: string;
9
- icon?: string;
10
- secure_view?: boolean;
11
- target_ext?: string;
12
- }, {
13
- name?: string;
14
- icon?: string;
15
- secure_view?: boolean;
16
- target_ext?: string;
17
- }>;
18
- export type ExternalApp = z.infer<typeof ExternalAppSchema>;
19
- declare const MimeTypeSchema: z.ZodObject<{
20
- allow_creation: z.ZodOptional<z.ZodBoolean>;
21
- app_providers: z.ZodArray<z.ZodObject<{
22
- icon: z.ZodString;
23
- name: z.ZodString;
24
- secure_view: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
25
- target_ext: z.ZodOptional<z.ZodString>;
26
- }, "strip", z.ZodTypeAny, {
27
- name?: string;
28
- icon?: string;
29
- secure_view?: boolean;
30
- target_ext?: string;
31
- }, {
32
- name?: string;
33
- icon?: string;
34
- secure_view?: boolean;
35
- target_ext?: string;
36
- }>, "many">;
37
- default_application: z.ZodOptional<z.ZodString>;
38
- description: z.ZodOptional<z.ZodString>;
39
- ext: z.ZodOptional<z.ZodString>;
40
- mime_type: z.ZodString;
41
- name: z.ZodOptional<z.ZodString>;
42
- }, "strip", z.ZodTypeAny, {
43
- name?: string;
44
- description?: string;
45
- app_providers?: {
46
- name?: string;
47
- icon?: string;
48
- secure_view?: boolean;
49
- target_ext?: string;
50
- }[];
51
- allow_creation?: boolean;
52
- default_application?: string;
53
- ext?: string;
54
- mime_type?: string;
55
- }, {
56
- name?: string;
57
- description?: string;
58
- app_providers?: {
59
- name?: string;
60
- icon?: string;
61
- secure_view?: boolean;
62
- target_ext?: string;
63
- }[];
64
- allow_creation?: boolean;
65
- default_application?: string;
66
- ext?: string;
67
- mime_type?: string;
68
- }>;
69
- export type MimeType = z.infer<typeof MimeTypeSchema>;
70
- export declare const MimeTypesToAppsSchema: z.ZodObject<{
71
- 'mime-types': z.ZodArray<z.ZodObject<{
72
- allow_creation: z.ZodOptional<z.ZodBoolean>;
73
- app_providers: z.ZodArray<z.ZodObject<{
74
- icon: z.ZodString;
75
- name: z.ZodString;
76
- secure_view: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
77
- target_ext: z.ZodOptional<z.ZodString>;
78
- }, "strip", z.ZodTypeAny, {
79
- name?: string;
80
- icon?: string;
81
- secure_view?: boolean;
82
- target_ext?: string;
83
- }, {
84
- name?: string;
85
- icon?: string;
86
- secure_view?: boolean;
87
- target_ext?: string;
88
- }>, "many">;
89
- default_application: z.ZodOptional<z.ZodString>;
90
- description: z.ZodOptional<z.ZodString>;
91
- ext: z.ZodOptional<z.ZodString>;
92
- mime_type: z.ZodString;
93
- name: z.ZodOptional<z.ZodString>;
94
- }, "strip", z.ZodTypeAny, {
95
- name?: string;
96
- description?: string;
97
- app_providers?: {
98
- name?: string;
99
- icon?: string;
100
- secure_view?: boolean;
101
- target_ext?: string;
102
- }[];
103
- allow_creation?: boolean;
104
- default_application?: string;
105
- ext?: string;
106
- mime_type?: string;
107
- }, {
108
- name?: string;
109
- description?: string;
110
- app_providers?: {
111
- name?: string;
112
- icon?: string;
113
- secure_view?: boolean;
114
- target_ext?: string;
115
- }[];
116
- allow_creation?: boolean;
117
- default_application?: string;
118
- ext?: string;
119
- mime_type?: string;
120
- }>, "many">;
121
- }, "strip", z.ZodTypeAny, {
122
- 'mime-types'?: {
123
- name?: string;
124
- description?: string;
125
- app_providers?: {
126
- name?: string;
127
- icon?: string;
128
- secure_view?: boolean;
129
- target_ext?: string;
130
- }[];
131
- allow_creation?: boolean;
132
- default_application?: string;
133
- ext?: string;
134
- mime_type?: string;
135
- }[];
136
- }, {
137
- 'mime-types'?: {
138
- name?: string;
139
- description?: string;
140
- app_providers?: {
141
- name?: string;
142
- icon?: string;
143
- secure_view?: boolean;
144
- target_ext?: string;
145
- }[];
146
- allow_creation?: boolean;
147
- default_application?: string;
148
- ext?: string;
149
- mime_type?: string;
150
- }[];
151
- }>;
152
- export {};