@opencloud-eu/web-pkg 1.0.0 → 2.1.0-alpha.1

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 (413) hide show
  1. package/dist/{TextEditor-dPv5RFiT.js → TextEditor-XOBRrH6u.js} +68 -51
  2. package/dist/assets/{worker-BTxctNFM.js → worker-C-4Lcir3.js} +18 -18
  3. package/dist/assets/{worker-oQBkmUkg.js → worker-CHXv5Q0i.js} +26 -26
  4. package/dist/assets/{worker-DzSy5ndr.js → worker-CjeEygd_.js} +27 -27
  5. package/dist/index-BCVoSs4U.js +30224 -0
  6. package/dist/src/components/AppBar/AppBar.vue.d.ts +28 -31
  7. package/dist/src/components/AppTemplates/AppWrapper.vue.d.ts +72 -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 +109 -297
  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 +70 -504
  18. package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +120 -685
  19. package/dist/src/components/Filters/DateFilter.vue.d.ts +196 -52
  20. package/dist/src/components/Search/ResourcePreview.vue.d.ts +112 -304
  21. package/dist/src/components/SideBar/FileSideBar.vue.d.ts +58 -69
  22. package/dist/src/components/SideBar/Files/FileInfo.vue.d.ts +1 -0
  23. package/dist/src/components/SideBar/SideBar.vue.d.ts +39 -71
  24. package/dist/src/components/SideBar/Spaces/Details/SpaceDetails.vue.d.ts +4 -95
  25. package/dist/src/components/SideBar/Spaces/Details/SpaceDetailsMultiple.vue.d.ts +4 -22
  26. package/dist/src/components/SpaceQuota.vue.d.ts +3 -23
  27. package/dist/src/components/Spaces/QuotaModal.vue.d.ts +1 -1
  28. package/dist/src/components/TextEditor/TextEditor.vue.d.ts +1 -0
  29. package/dist/src/components/TextEditor/index.d.ts +1 -0
  30. package/dist/src/components/ViewOptions.vue.d.ts +8 -0
  31. package/dist/src/composables/actions/files/useFileActions.d.ts +1 -1
  32. package/dist/src/composables/actions/types.d.ts +0 -1
  33. package/dist/src/composables/piniaStores/auth.d.ts +8 -7
  34. package/dist/src/composables/piniaStores/modals.d.ts +18 -20
  35. package/dist/src/composables/piniaStores/resources.d.ts +8 -2
  36. package/dist/src/composables/piniaStores/spaces.d.ts +20 -2
  37. package/dist/src/composables/piniaStores/theme.d.ts +56 -0
  38. package/dist/src/helpers/resource/icon.d.ts +2 -1
  39. package/dist/src/router/deprecated.d.ts +1 -1
  40. package/dist/src/router/utils.d.ts +2 -2
  41. package/dist/web-pkg.js +2 -2
  42. package/dist/web-pkg.umd.cjs +49 -50
  43. package/package.json +5 -5
  44. package/dist/index-B8n8dCfU.js +0 -31440
  45. package/dist/package/src/apps/index.d.ts +0 -1
  46. package/dist/package/src/apps/types.d.ts +0 -118
  47. package/dist/package/src/cern/composables/index.d.ts +0 -1
  48. package/dist/package/src/cern/composables/useGroupingSettings.d.ts +0 -32
  49. package/dist/package/src/cern/index.d.ts +0 -1
  50. package/dist/package/src/components/AppBar/AppBar.vue.d.ts +0 -536
  51. package/dist/package/src/components/AppBar/CreateSpace.vue.d.ts +0 -18
  52. package/dist/package/src/components/AppBar/index.d.ts +0 -2
  53. package/dist/package/src/components/AppLoadingSpinner.vue.d.ts +0 -2
  54. package/dist/package/src/components/AppTemplates/AppWrapper.vue.d.ts +0 -889
  55. package/dist/package/src/components/AppTemplates/AppWrapperRoute.d.ts +0 -10
  56. package/dist/package/src/components/AppTemplates/PartialViews/ErrorScreen.vue.d.ts +0 -22
  57. package/dist/package/src/components/AppTemplates/PartialViews/LoadingScreen.vue.d.ts +0 -2
  58. package/dist/package/src/components/AppTemplates/index.d.ts +0 -3
  59. package/dist/package/src/components/AppTemplates/types.d.ts +0 -11
  60. package/dist/package/src/components/AppTopBar.vue.d.ts +0 -526
  61. package/dist/package/src/components/BatchActions.vue.d.ts +0 -125
  62. package/dist/package/src/components/ContextActions/ActionMenuItem.vue.d.ts +0 -93
  63. package/dist/package/src/components/ContextActions/ContextActionMenu.vue.d.ts +0 -138
  64. package/dist/package/src/components/ContextActions/ContextMenuQuickAction.vue.d.ts +0 -29
  65. package/dist/package/src/components/ContextActions/index.d.ts +0 -3
  66. package/dist/package/src/components/CreateLinkModal.vue.d.ts +0 -126
  67. package/dist/package/src/components/CreateShortcutModal.vue.d.ts +0 -603
  68. package/dist/package/src/components/CustomComponentTarget.vue.d.ts +0 -16
  69. package/dist/package/src/components/FilesList/ContextActions.vue.d.ts +0 -148
  70. package/dist/package/src/components/FilesList/ResourceGhostElement.vue.d.ts +0 -49
  71. package/dist/package/src/components/FilesList/ResourceIcon.vue.d.ts +0 -44
  72. package/dist/package/src/components/FilesList/ResourceLink.vue.d.ts +0 -78
  73. package/dist/package/src/components/FilesList/ResourceListItem.vue.d.ts +0 -384
  74. package/dist/package/src/components/FilesList/ResourceName.vue.d.ts +0 -140
  75. package/dist/package/src/components/FilesList/ResourceSize.vue.d.ts +0 -25
  76. package/dist/package/src/components/FilesList/ResourceTable.vue.d.ts +0 -1411
  77. package/dist/package/src/components/FilesList/ResourceTile.vue.d.ts +0 -507
  78. package/dist/package/src/components/FilesList/ResourceTiles.vue.d.ts +0 -740
  79. package/dist/package/src/components/FilesList/index.d.ts +0 -10
  80. package/dist/package/src/components/Filters/DateFilter.vue.d.ts +0 -171
  81. package/dist/package/src/components/Filters/ItemFilterInline.vue.d.ts +0 -28
  82. package/dist/package/src/components/Filters/index.d.ts +0 -3
  83. package/dist/package/src/components/Filters/types.d.ts +0 -4
  84. package/dist/package/src/components/ItemFilter.vue.d.ts +0 -122
  85. package/dist/package/src/components/ItemFilterToggle.vue.d.ts +0 -26
  86. package/dist/package/src/components/LinkRoleDropdown.vue.d.ts +0 -40
  87. package/dist/package/src/components/LoadingIndicator.vue.d.ts +0 -5
  88. package/dist/package/src/components/Modals/DatePickerModal.vue.d.ts +0 -57
  89. package/dist/package/src/components/Modals/EmojiPickerModal.vue.d.ts +0 -19
  90. package/dist/package/src/components/Modals/FilePickerModal.vue.d.ts +0 -41
  91. package/dist/package/src/components/Modals/ResourceConflictModal.vue.d.ts +0 -76
  92. package/dist/package/src/components/Modals/SaveAsModal.vue.d.ts +0 -49
  93. package/dist/package/src/components/Modals/SpaceMoveInfoModal.vue.d.ts +0 -14
  94. package/dist/package/src/components/Modals/UnsavedChangesModal.vue.d.ts +0 -27
  95. package/dist/package/src/components/Modals/index.d.ts +0 -7
  96. package/dist/package/src/components/NoContentMessage.vue.d.ts +0 -22
  97. package/dist/package/src/components/Pagination.vue.d.ts +0 -20
  98. package/dist/package/src/components/PortalTarget.vue.d.ts +0 -41
  99. package/dist/package/src/components/QuotaSelect.vue.d.ts +0 -74
  100. package/dist/package/src/components/Search/ResourcePreview.vue.d.ts +0 -548
  101. package/dist/package/src/components/Search/index.d.ts +0 -2
  102. package/dist/package/src/components/Search/types.d.ts +0 -29
  103. package/dist/package/src/components/SearchBarFilter.vue.d.ts +0 -27
  104. package/dist/package/src/components/SideBar/CompareSaveDialog.vue.d.ts +0 -38
  105. package/dist/package/src/components/SideBar/FileSideBar.vue.d.ts +0 -256
  106. package/dist/package/src/components/SideBar/Files/FileInfo.vue.d.ts +0 -136
  107. package/dist/package/src/components/SideBar/Files/index.d.ts +0 -1
  108. package/dist/package/src/components/SideBar/SideBar.vue.d.ts +0 -73
  109. package/dist/package/src/components/SideBar/Spaces/Details/SpaceDetails.vue.d.ts +0 -96
  110. package/dist/package/src/components/SideBar/Spaces/Details/SpaceDetailsMultiple.vue.d.ts +0 -24
  111. package/dist/package/src/components/SideBar/Spaces/Details/index.d.ts +0 -2
  112. package/dist/package/src/components/SideBar/Spaces/SpaceInfo.vue.d.ts +0 -5
  113. package/dist/package/src/components/SideBar/Spaces/SpaceNoSelection.vue.d.ts +0 -2
  114. package/dist/package/src/components/SideBar/Spaces/index.d.ts +0 -3
  115. package/dist/package/src/components/SideBar/WebDavDetails.vue.d.ts +0 -21
  116. package/dist/package/src/components/SideBar/index.d.ts +0 -7
  117. package/dist/package/src/components/SideBar/types.d.ts +0 -22
  118. package/dist/package/src/components/SpaceQuota.vue.d.ts +0 -26
  119. package/dist/package/src/components/Spaces/QuotaModal.vue.d.ts +0 -155
  120. package/dist/package/src/components/Spaces/index.d.ts +0 -1
  121. package/dist/package/src/components/TextEditor/TextEditor.vue.d.ts +0 -172
  122. package/dist/package/src/components/TextEditor/index.d.ts +0 -168
  123. package/dist/package/src/components/TextEditor/l18n.d.ts +0 -22
  124. package/dist/package/src/components/ViewOptions.vue.d.ts +0 -127
  125. package/dist/package/src/components/index.d.ts +0 -27
  126. package/dist/package/src/composables/ability/index.d.ts +0 -1
  127. package/dist/package/src/composables/ability/useAbility.d.ts +0 -2
  128. package/dist/package/src/composables/actions/files/index.d.ts +0 -28
  129. package/dist/package/src/composables/actions/files/useFileActions.d.ts +0 -28
  130. package/dist/package/src/composables/actions/files/useFileActionsCopy.d.ts +0 -4
  131. package/dist/package/src/composables/actions/files/useFileActionsCopyPermanentLink.d.ts +0 -4
  132. package/dist/package/src/composables/actions/files/useFileActionsCreateLink.d.ts +0 -6
  133. package/dist/package/src/composables/actions/files/useFileActionsCreateNewFile.d.ts +0 -11
  134. package/dist/package/src/composables/actions/files/useFileActionsCreateNewFolder.d.ts +0 -10
  135. package/dist/package/src/composables/actions/files/useFileActionsCreateNewShortcut.d.ts +0 -8
  136. package/dist/package/src/composables/actions/files/useFileActionsCreateSpaceFromResource.d.ts +0 -4
  137. package/dist/package/src/composables/actions/files/useFileActionsDelete.d.ts +0 -4
  138. package/dist/package/src/composables/actions/files/useFileActionsDisableSync.d.ts +0 -5
  139. package/dist/package/src/composables/actions/files/useFileActionsDownloadArchive.d.ts +0 -4
  140. package/dist/package/src/composables/actions/files/useFileActionsDownloadFile.d.ts +0 -4
  141. package/dist/package/src/composables/actions/files/useFileActionsEmptyTrashBin.d.ts +0 -8
  142. package/dist/package/src/composables/actions/files/useFileActionsEnableSync.d.ts +0 -5
  143. package/dist/package/src/composables/actions/files/useFileActionsFavorite.d.ts +0 -4
  144. package/dist/package/src/composables/actions/files/useFileActionsMove.d.ts +0 -4
  145. package/dist/package/src/composables/actions/files/useFileActionsNavigate.d.ts +0 -4
  146. package/dist/package/src/composables/actions/files/useFileActionsOpenShortcut.d.ts +0 -5
  147. package/dist/package/src/composables/actions/files/useFileActionsOpenWithApp.d.ts +0 -6
  148. package/dist/package/src/composables/actions/files/useFileActionsPaste.d.ts +0 -4
  149. package/dist/package/src/composables/actions/files/useFileActionsRename.d.ts +0 -7
  150. package/dist/package/src/composables/actions/files/useFileActionsRestore.d.ts +0 -12
  151. package/dist/package/src/composables/actions/files/useFileActionsSaveAs.d.ts +0 -7
  152. package/dist/package/src/composables/actions/files/useFileActionsSetImage.d.ts +0 -4
  153. package/dist/package/src/composables/actions/files/useFileActionsShowActions.d.ts +0 -4
  154. package/dist/package/src/composables/actions/files/useFileActionsShowDetails.d.ts +0 -4
  155. package/dist/package/src/composables/actions/files/useFileActionsShowShares.d.ts +0 -5
  156. package/dist/package/src/composables/actions/files/useFileActionsToggleHideShare.d.ts +0 -5
  157. package/dist/package/src/composables/actions/helpers/index.d.ts +0 -3
  158. package/dist/package/src/composables/actions/helpers/useFileActionsDeleteResources.d.ts +0 -5
  159. package/dist/package/src/composables/actions/helpers/useIsFilesAppActive.d.ts +0 -1
  160. package/dist/package/src/composables/actions/helpers/useIsSearchActive.d.ts +0 -1
  161. package/dist/package/src/composables/actions/index.d.ts +0 -8
  162. package/dist/package/src/composables/actions/spaces/index.d.ts +0 -11
  163. package/dist/package/src/composables/actions/spaces/useSpaceActionsDelete.d.ts +0 -6
  164. package/dist/package/src/composables/actions/spaces/useSpaceActionsDisable.d.ts +0 -6
  165. package/dist/package/src/composables/actions/spaces/useSpaceActionsDuplicate.d.ts +0 -6
  166. package/dist/package/src/composables/actions/spaces/useSpaceActionsEditDescription.d.ts +0 -6
  167. package/dist/package/src/composables/actions/spaces/useSpaceActionsEditQuota.d.ts +0 -4
  168. package/dist/package/src/composables/actions/spaces/useSpaceActionsEditReadmeContent.d.ts +0 -4
  169. package/dist/package/src/composables/actions/spaces/useSpaceActionsNavigateToTrash.d.ts +0 -4
  170. package/dist/package/src/composables/actions/spaces/useSpaceActionsRename.d.ts +0 -6
  171. package/dist/package/src/composables/actions/spaces/useSpaceActionsRestore.d.ts +0 -6
  172. package/dist/package/src/composables/actions/spaces/useSpaceActionsSetIcon.d.ts +0 -6
  173. package/dist/package/src/composables/actions/spaces/useSpaceActionsShowMembers.d.ts +0 -4
  174. package/dist/package/src/composables/actions/types.d.ts +0 -48
  175. package/dist/package/src/composables/actions/useActionsShowDetails.d.ts +0 -4
  176. package/dist/package/src/composables/actions/useOpenEmptyEditor.d.ts +0 -3
  177. package/dist/package/src/composables/actions/useOpenWithDefaultApp.d.ts +0 -7
  178. package/dist/package/src/composables/actions/useWindowOpen.d.ts +0 -3
  179. package/dist/package/src/composables/appDefaults/index.d.ts +0 -8
  180. package/dist/package/src/composables/appDefaults/types.d.ts +0 -15
  181. package/dist/package/src/composables/appDefaults/useAppConfig.d.ts +0 -11
  182. package/dist/package/src/composables/appDefaults/useAppDefaults.d.ts +0 -20
  183. package/dist/package/src/composables/appDefaults/useAppDocumentTitle.d.ts +0 -13
  184. package/dist/package/src/composables/appDefaults/useAppFileHandling.d.ts +0 -24
  185. package/dist/package/src/composables/appDefaults/useAppFolderHandling.d.ts +0 -16
  186. package/dist/package/src/composables/appDefaults/useAppMeta.d.ts +0 -9
  187. package/dist/package/src/composables/appDefaults/useAppNavigation.d.ts +0 -27
  188. package/dist/package/src/composables/appDefaults/useDocumentTitle.d.ts +0 -8
  189. package/dist/package/src/composables/appProviderService/index.d.ts +0 -1
  190. package/dist/package/src/composables/appProviderService/useAppProviderService.d.ts +0 -2
  191. package/dist/package/src/composables/archiverService/index.d.ts +0 -1
  192. package/dist/package/src/composables/archiverService/useArchiverService.d.ts +0 -2
  193. package/dist/package/src/composables/authContext/index.d.ts +0 -2
  194. package/dist/package/src/composables/authContext/useAuthService.d.ts +0 -10
  195. package/dist/package/src/composables/authContext/useRequest.d.ts +0 -15
  196. package/dist/package/src/composables/breadcrumbs/index.d.ts +0 -1
  197. package/dist/package/src/composables/breadcrumbs/useBreadcrumbsFromPath.d.ts +0 -14
  198. package/dist/package/src/composables/clientService/index.d.ts +0 -1
  199. package/dist/package/src/composables/clientService/useClientService.d.ts +0 -2
  200. package/dist/package/src/composables/clipboard/index.d.ts +0 -1
  201. package/dist/package/src/composables/clipboard/useClipboard.d.ts +0 -3
  202. package/dist/package/src/composables/download/index.d.ts +0 -1
  203. package/dist/package/src/composables/download/useDownloadFile.d.ts +0 -8
  204. package/dist/package/src/composables/driveResolver/index.d.ts +0 -2
  205. package/dist/package/src/composables/driveResolver/useDriveResolver.d.ts +0 -13
  206. package/dist/package/src/composables/driveResolver/useSpacesLoading.d.ts +0 -3
  207. package/dist/package/src/composables/embedMode/index.d.ts +0 -1
  208. package/dist/package/src/composables/embedMode/useEmbedMode.d.ts +0 -23
  209. package/dist/package/src/composables/eventBus/index.d.ts +0 -1
  210. package/dist/package/src/composables/eventBus/useEventBus.d.ts +0 -1
  211. package/dist/package/src/composables/fileListHeaderPosition/index.d.ts +0 -1
  212. package/dist/package/src/composables/fileListHeaderPosition/useFileListHeaderPosition.d.ts +0 -5
  213. package/dist/package/src/composables/filesList/index.d.ts +0 -1
  214. package/dist/package/src/composables/filesList/useResourceRouteResolver.d.ts +0 -13
  215. package/dist/package/src/composables/folderLink/index.d.ts +0 -1
  216. package/dist/package/src/composables/folderLink/useFolderLink.d.ts +0 -15
  217. package/dist/package/src/composables/index.d.ts +0 -40
  218. package/dist/package/src/composables/isTopBarSticky/index.d.ts +0 -1
  219. package/dist/package/src/composables/isTopBarSticky/useIsTopBarSticky.d.ts +0 -8
  220. package/dist/package/src/composables/keyboardActions/index.d.ts +0 -1
  221. package/dist/package/src/composables/keyboardActions/useKeyboardActions.d.ts +0 -39
  222. package/dist/package/src/composables/links/index.d.ts +0 -1
  223. package/dist/package/src/composables/links/useLinkTypes.d.ts +0 -36
  224. package/dist/package/src/composables/loadingService/index.d.ts +0 -1
  225. package/dist/package/src/composables/loadingService/useLoadingService.d.ts +0 -2
  226. package/dist/package/src/composables/localStorage/index.d.ts +0 -1
  227. package/dist/package/src/composables/localStorage/useLocalStorage.d.ts +0 -2
  228. package/dist/package/src/composables/pagination/constants.d.ts +0 -5
  229. package/dist/package/src/composables/pagination/index.d.ts +0 -2
  230. package/dist/package/src/composables/pagination/usePagination.d.ts +0 -17
  231. package/dist/package/src/composables/passwordPolicyService/index.d.ts +0 -1
  232. package/dist/package/src/composables/passwordPolicyService/usePasswordPolicyService.d.ts +0 -2
  233. package/dist/package/src/composables/piniaStores/apps.d.ts +0 -157
  234. package/dist/package/src/composables/piniaStores/auth.d.ts +0 -59
  235. package/dist/package/src/composables/piniaStores/capabilities.d.ts +0 -1731
  236. package/dist/package/src/composables/piniaStores/clipboard.d.ts +0 -658
  237. package/dist/package/src/composables/piniaStores/config/config.d.ts +0 -756
  238. package/dist/package/src/composables/piniaStores/config/index.d.ts +0 -2
  239. package/dist/package/src/composables/piniaStores/config/types.d.ts +0 -854
  240. package/dist/package/src/composables/piniaStores/extensionRegistry/extensionPreferences.d.ts +0 -22
  241. package/dist/package/src/composables/piniaStores/extensionRegistry/extensionRegistry.d.ts +0 -37
  242. package/dist/package/src/composables/piniaStores/extensionRegistry/index.d.ts +0 -3
  243. package/dist/package/src/composables/piniaStores/extensionRegistry/types.d.ts +0 -60
  244. package/dist/package/src/composables/piniaStores/index.d.ts +0 -14
  245. package/dist/package/src/composables/piniaStores/messages.d.ts +0 -125
  246. package/dist/package/src/composables/piniaStores/modals.d.ts +0 -1365
  247. package/dist/package/src/composables/piniaStores/resources.d.ts +0 -189
  248. package/dist/package/src/composables/piniaStores/shares/index.d.ts +0 -2
  249. package/dist/package/src/composables/piniaStores/shares/shares.d.ts +0 -57
  250. package/dist/package/src/composables/piniaStores/shares/types.d.ts +0 -43
  251. package/dist/package/src/composables/piniaStores/spaces.d.ts +0 -9061
  252. package/dist/package/src/composables/piniaStores/theme.d.ts +0 -1368
  253. package/dist/package/src/composables/piniaStores/user.d.ts +0 -15
  254. package/dist/package/src/composables/piniaStores/webWorkers.d.ts +0 -29
  255. package/dist/package/src/composables/portalTarget/eventTopics.d.ts +0 -3
  256. package/dist/package/src/composables/portalTarget/index.d.ts +0 -2
  257. package/dist/package/src/composables/portalTarget/usePortalTarget.d.ts +0 -4
  258. package/dist/package/src/composables/previewService/index.d.ts +0 -1
  259. package/dist/package/src/composables/previewService/usePreviewService.d.ts +0 -2
  260. package/dist/package/src/composables/requestHeaders/index.d.ts +0 -1
  261. package/dist/package/src/composables/requestHeaders/useRequestHeaders.d.ts +0 -3
  262. package/dist/package/src/composables/resources/index.d.ts +0 -5
  263. package/dist/package/src/composables/resources/useCanBeOpenedWithSecureView.d.ts +0 -4
  264. package/dist/package/src/composables/resources/useCanListVersions.d.ts +0 -7
  265. package/dist/package/src/composables/resources/useGetResourceContext.d.ts +0 -1495
  266. package/dist/package/src/composables/resources/useLoadPreview.d.ts +0 -26
  267. package/dist/package/src/composables/resources/useResourceContents.d.ts +0 -5
  268. package/dist/package/src/composables/router/index.d.ts +0 -11
  269. package/dist/package/src/composables/router/types.d.ts +0 -16
  270. package/dist/package/src/composables/router/useActiveApp.d.ts +0 -4
  271. package/dist/package/src/composables/router/useActiveLocation.d.ts +0 -10
  272. package/dist/package/src/composables/router/useFileRouteReplace.d.ts +0 -15
  273. package/dist/package/src/composables/router/useRoute.d.ts +0 -3
  274. package/dist/package/src/composables/router/useRouteMeta.d.ts +0 -2
  275. package/dist/package/src/composables/router/useRouteName.d.ts +0 -2
  276. package/dist/package/src/composables/router/useRouteParam.d.ts +0 -3
  277. package/dist/package/src/composables/router/useRouteQuery.d.ts +0 -3
  278. package/dist/package/src/composables/router/useRouteQueryPersisted.d.ts +0 -8
  279. package/dist/package/src/composables/router/useRouter.d.ts +0 -2
  280. package/dist/package/src/composables/scrollTo/index.d.ts +0 -1
  281. package/dist/package/src/composables/scrollTo/useScrollTo.d.ts +0 -9
  282. package/dist/package/src/composables/search/constants.d.ts +0 -4
  283. package/dist/package/src/composables/search/index.d.ts +0 -2
  284. package/dist/package/src/composables/search/useSearch.d.ts +0 -14
  285. package/dist/package/src/composables/selection/index.d.ts +0 -1
  286. package/dist/package/src/composables/selection/useSelectedResources.d.ts +0 -9
  287. package/dist/package/src/composables/service/index.d.ts +0 -1
  288. package/dist/package/src/composables/service/useService.d.ts +0 -1
  289. package/dist/package/src/composables/shares/index.d.ts +0 -2
  290. package/dist/package/src/composables/shares/useCanListShares.d.ts +0 -7
  291. package/dist/package/src/composables/shares/useCanShare.d.ts +0 -7
  292. package/dist/package/src/composables/sideBar/eventTopics.d.ts +0 -7
  293. package/dist/package/src/composables/sideBar/index.d.ts +0 -2
  294. package/dist/package/src/composables/sideBar/useSideBar.d.ts +0 -12
  295. package/dist/package/src/composables/sort/constants.d.ts +0 -4
  296. package/dist/package/src/composables/sort/index.d.ts +0 -2
  297. package/dist/package/src/composables/sort/useSort.d.ts +0 -36
  298. package/dist/package/src/composables/spaces/index.d.ts +0 -3
  299. package/dist/package/src/composables/spaces/useCreateSpace.d.ts +0 -5
  300. package/dist/package/src/composables/spaces/useGetMatchingSpace.d.ts +0 -15
  301. package/dist/package/src/composables/spaces/useSpaceHelpers.d.ts +0 -5
  302. package/dist/package/src/composables/upload/index.d.ts +0 -1
  303. package/dist/package/src/composables/upload/useUpload.d.ts +0 -6
  304. package/dist/package/src/composables/viewMode/constants.d.ts +0 -12
  305. package/dist/package/src/composables/viewMode/index.d.ts +0 -3
  306. package/dist/package/src/composables/viewMode/useTileSize.d.ts +0 -4
  307. package/dist/package/src/composables/viewMode/useViewMode.d.ts +0 -4
  308. package/dist/package/src/composables/webWorkers/deleteWorker/index.d.ts +0 -1
  309. package/dist/package/src/composables/webWorkers/deleteWorker/useDeleteWorker.d.ts +0 -28
  310. package/dist/package/src/composables/webWorkers/deleteWorker/worker.d.ts +0 -1
  311. package/dist/package/src/composables/webWorkers/index.d.ts +0 -4
  312. package/dist/package/src/composables/webWorkers/pasteWorker/index.d.ts +0 -1
  313. package/dist/package/src/composables/webWorkers/pasteWorker/usePasteWorker.d.ts +0 -25
  314. package/dist/package/src/composables/webWorkers/pasteWorker/worker.d.ts +0 -1
  315. package/dist/package/src/composables/webWorkers/restoreWorker/index.d.ts +0 -1
  316. package/dist/package/src/composables/webWorkers/restoreWorker/useRestoreWorker.d.ts +0 -28
  317. package/dist/package/src/composables/webWorkers/restoreWorker/worker.d.ts +0 -1
  318. package/dist/package/src/composables/webWorkers/tokenTimerWorker/index.d.ts +0 -1
  319. package/dist/package/src/composables/webWorkers/tokenTimerWorker/useTokenTimerWorker.d.ts +0 -12
  320. package/dist/package/src/composables/webWorkers/tokenTimerWorker/worker.d.ts +0 -1
  321. package/dist/package/src/constants.d.ts +0 -14
  322. package/dist/package/src/errors/index.d.ts +0 -1
  323. package/dist/package/src/errors/types.d.ts +0 -13
  324. package/dist/package/src/helpers/binary.d.ts +0 -2
  325. package/dist/package/src/helpers/breadcrumbs.d.ts +0 -4
  326. package/dist/package/src/helpers/cache/cache.d.ts +0 -20
  327. package/dist/package/src/helpers/cache/index.d.ts +0 -1
  328. package/dist/package/src/helpers/clipboardActions.d.ts +0 -4
  329. package/dist/package/src/helpers/contextMenuDropdown.d.ts +0 -7
  330. package/dist/package/src/helpers/datetime.d.ts +0 -11
  331. package/dist/package/src/helpers/download.d.ts +0 -1
  332. package/dist/package/src/helpers/filesize.d.ts +0 -8
  333. package/dist/package/src/helpers/folderLink/index.d.ts +0 -1
  334. package/dist/package/src/helpers/folderLink/types.d.ts +0 -6
  335. package/dist/package/src/helpers/fuse.d.ts +0 -5
  336. package/dist/package/src/helpers/index.d.ts +0 -18
  337. package/dist/package/src/helpers/locale.d.ts +0 -1
  338. package/dist/package/src/helpers/path.d.ts +0 -13
  339. package/dist/package/src/helpers/permissions.d.ts +0 -8
  340. package/dist/package/src/helpers/resource/conflictHandling/conflictDialog.d.ts +0 -15
  341. package/dist/package/src/helpers/resource/conflictHandling/conflictUtils.d.ts +0 -3
  342. package/dist/package/src/helpers/resource/conflictHandling/index.d.ts +0 -4
  343. package/dist/package/src/helpers/resource/conflictHandling/transfer.d.ts +0 -27
  344. package/dist/package/src/helpers/resource/conflictHandling/types.d.ts +0 -24
  345. package/dist/package/src/helpers/resource/filter.d.ts +0 -2
  346. package/dist/package/src/helpers/resource/icon.d.ts +0 -9
  347. package/dist/package/src/helpers/resource/index.d.ts +0 -5
  348. package/dist/package/src/helpers/resource/renameResource.d.ts +0 -2
  349. package/dist/package/src/helpers/resource/sameResource.d.ts +0 -2
  350. package/dist/package/src/helpers/router/buildUrl.d.ts +0 -2
  351. package/dist/package/src/helpers/router/index.d.ts +0 -2
  352. package/dist/package/src/helpers/router/routeOptions.d.ts +0 -24
  353. package/dist/package/src/helpers/share/driveItem.d.ts +0 -12
  354. package/dist/package/src/helpers/share/index.d.ts +0 -2
  355. package/dist/package/src/helpers/share/sharedAncestorRoute.d.ts +0 -7
  356. package/dist/package/src/helpers/statusIndicators.d.ts +0 -9
  357. package/dist/package/src/helpers/store.d.ts +0 -8
  358. package/dist/package/src/helpers/ui/index.d.ts +0 -3
  359. package/dist/package/src/helpers/ui/resourceCheckbox.d.ts +0 -1
  360. package/dist/package/src/helpers/ui/resourceTable.d.ts +0 -3
  361. package/dist/package/src/helpers/ui/resourceTiles.d.ts +0 -6
  362. package/dist/package/src/http/client.d.ts +0 -23
  363. package/dist/package/src/http/index.d.ts +0 -1
  364. package/dist/package/src/index.d.ts +0 -14
  365. package/dist/package/src/observer/index.d.ts +0 -1
  366. package/dist/package/src/observer/visibility.d.ts +0 -26
  367. package/dist/package/src/router/common.d.ts +0 -9
  368. package/dist/package/src/router/deprecated.d.ts +0 -12
  369. package/dist/package/src/router/index.d.ts +0 -12
  370. package/dist/package/src/router/public.d.ts +0 -9
  371. package/dist/package/src/router/router.d.ts +0 -27
  372. package/dist/package/src/router/shares.d.ts +0 -10
  373. package/dist/package/src/router/spaces.d.ts +0 -9
  374. package/dist/package/src/router/trash.d.ts +0 -9
  375. package/dist/package/src/router/utils.d.ts +0 -32
  376. package/dist/package/src/services/appProvider/index.d.ts +0 -2
  377. package/dist/package/src/services/appProvider/schemas.d.ts +0 -152
  378. package/dist/package/src/services/appProvider/service.d.ts +0 -27
  379. package/dist/package/src/services/archiver.d.ts +0 -26
  380. package/dist/package/src/services/cache.d.ts +0 -14
  381. package/dist/package/src/services/client/auth.d.ts +0 -12
  382. package/dist/package/src/services/client/client.d.ts +0 -43
  383. package/dist/package/src/services/client/index.d.ts +0 -2
  384. package/dist/package/src/services/eventBus.d.ts +0 -8
  385. package/dist/package/src/services/folder/folderService.d.ts +0 -26
  386. package/dist/package/src/services/folder/index.d.ts +0 -2
  387. package/dist/package/src/services/folder/loaders/index.d.ts +0 -7
  388. package/dist/package/src/services/folder/loaders/loaderFavorites.d.ts +0 -7
  389. package/dist/package/src/services/folder/loaders/loaderSharedViaLink.d.ts +0 -7
  390. package/dist/package/src/services/folder/loaders/loaderSharedWithMe.d.ts +0 -7
  391. package/dist/package/src/services/folder/loaders/loaderSharedWithOthers.d.ts +0 -7
  392. package/dist/package/src/services/folder/loaders/loaderSpace.d.ts +0 -12
  393. package/dist/package/src/services/folder/loaders/loaderTrashbin.d.ts +0 -7
  394. package/dist/package/src/services/folder/loaders/types.d.ts +0 -3
  395. package/dist/package/src/services/index.d.ts +0 -10
  396. package/dist/package/src/services/loadingService.d.ts +0 -33
  397. package/dist/package/src/services/passwordPolicy/index.d.ts +0 -1
  398. package/dist/package/src/services/passwordPolicy/passwordPolicy.d.ts +0 -20
  399. package/dist/package/src/services/passwordPolicy/rules.d.ts +0 -63
  400. package/dist/package/src/services/preview/index.d.ts +0 -2
  401. package/dist/package/src/services/preview/previewService.d.ts +0 -28
  402. package/dist/package/src/services/preview/types.d.ts +0 -18
  403. package/dist/package/src/services/uppy/index.d.ts +0 -1
  404. package/dist/package/src/services/uppy/uppyService.d.ts +0 -90
  405. package/dist/package/src/types.d.ts +0 -17
  406. package/dist/package/src/ui/index.d.ts +0 -1
  407. package/dist/package/src/ui/types.d.ts +0 -13
  408. package/dist/package/src/utils/dirname.d.ts +0 -1
  409. package/dist/package/src/utils/encodePath.d.ts +0 -1
  410. package/dist/package/src/utils/index.d.ts +0 -4
  411. package/dist/package/src/utils/objectKeys.d.ts +0 -1
  412. package/dist/package/src/utils/types.d.ts +0 -5
  413. 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 {};