@opencloud-eu/web-pkg 5.1.0 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (224) hide show
  1. package/dist/TextEditor-B0ZZfO_w.js +819 -0
  2. package/dist/assets/worker-BVTM6bn-.js +1 -0
  3. package/dist/assets/worker-C-Nrpmiq.js +24 -0
  4. package/dist/assets/worker-CzI1mBNb.js +24 -0
  5. package/dist/assets/worker-DDmV-och.js +24 -0
  6. package/dist/composables-TkULFBg4.js +20165 -0
  7. package/dist/src/apps/types.d.ts +9 -12
  8. package/dist/src/components/AppBar/AppBar.vue.d.ts +154 -96
  9. package/dist/src/components/AppBar/index.d.ts +0 -1
  10. package/dist/src/components/AppLoadingSpinner.vue.d.ts +2 -1
  11. package/dist/src/components/AppTemplates/AppWrapper.vue.d.ts +37 -33
  12. package/dist/src/components/AppTemplates/AppWrapperRoute.d.ts +1 -1
  13. package/dist/src/components/AppTemplates/PartialViews/ErrorScreen.vue.d.ts +5 -4
  14. package/dist/src/components/AppTemplates/PartialViews/LoadingScreen.vue.d.ts +2 -1
  15. package/dist/src/components/AppTopBar.vue.d.ts +13 -4
  16. package/dist/src/components/Avatars/AvatarUpload.vue.d.ts +3 -4
  17. package/dist/src/components/Avatars/UserAvatar.vue.d.ts +11 -1
  18. package/dist/src/components/BatchActions.vue.d.ts +16 -15
  19. package/dist/src/components/ContextActions/ActionMenuDropItem.vue.d.ts +11 -2
  20. package/dist/src/components/ContextActions/ActionMenuItem.vue.d.ts +9 -8
  21. package/dist/src/components/ContextActions/ContextActionMenu.vue.d.ts +41 -22
  22. package/dist/src/components/ContextActions/ContextMenuQuickAction.vue.d.ts +176 -23
  23. package/dist/src/components/CreateLinkModal.vue.d.ts +17 -7
  24. package/dist/src/components/CreateShortcutModal.vue.d.ts +233 -0
  25. package/dist/src/components/CustomComponentTarget.vue.d.ts +12 -13
  26. package/dist/src/components/FilesList/ContextActions.vue.d.ts +56 -37
  27. package/dist/src/components/FilesList/ResourceGhostElement.vue.d.ts +22 -11
  28. package/dist/src/components/FilesList/ResourceIcon.vue.d.ts +10 -1
  29. package/dist/src/components/FilesList/ResourceLink.vue.d.ts +7 -6
  30. package/dist/src/components/FilesList/ResourceListItem.vue.d.ts +13 -4
  31. package/dist/src/components/FilesList/ResourceName.vue.d.ts +10 -1
  32. package/dist/src/components/FilesList/ResourceSize.vue.d.ts +6 -5
  33. package/dist/src/components/FilesList/ResourceStatusIndicators.vue.d.ts +10 -1
  34. package/dist/src/components/FilesList/ResourceTable.vue.d.ts +51 -154
  35. package/dist/src/components/FilesList/ResourceTile.vue.d.ts +37 -153
  36. package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +34 -119
  37. package/dist/src/components/Filters/DateFilter.vue.d.ts +37 -0
  38. package/dist/src/components/Filters/ItemFilterInline.vue.d.ts +6 -5
  39. package/dist/src/components/Groupware/Accounts/AccountsSwitch.vue.d.ts +3 -0
  40. package/dist/src/components/Groupware/Accounts/index.d.ts +1 -0
  41. package/dist/src/components/Groupware/index.d.ts +1 -0
  42. package/dist/src/components/ItemFilter.vue.d.ts +19 -204
  43. package/dist/src/components/ItemFilterToggle.vue.d.ts +6 -5
  44. package/dist/src/components/LinkRoleDropdown.vue.d.ts +7 -6
  45. package/dist/src/components/LoadingIndicator.vue.d.ts +5 -4
  46. package/dist/src/components/Modals/DatePickerModal.vue.d.ts +8 -7
  47. package/dist/src/components/Modals/EmojiPickerModal.vue.d.ts +6 -5
  48. package/dist/src/components/Modals/FilePickerModal.vue.d.ts +8 -7
  49. package/dist/src/components/Modals/ResourceConflictModal.vue.d.ts +9 -8
  50. package/dist/src/components/Modals/SaveAsModal.vue.d.ts +8 -7
  51. package/dist/src/components/Modals/SpaceMoveInfoModal.vue.d.ts +5 -4
  52. package/dist/src/components/Modals/UnsavedChangesModal.vue.d.ts +5 -4
  53. package/dist/src/components/Navigation/MobileNav.vue.d.ts +3 -0
  54. package/dist/src/components/Navigation/index.d.ts +1 -0
  55. package/dist/src/components/NoContentMessage.vue.d.ts +19 -13
  56. package/dist/src/components/Pagination.vue.d.ts +5 -4
  57. package/dist/src/components/QuotaSelect.vue.d.ts +7 -6
  58. package/dist/src/components/Search/ResourcePreview.vue.d.ts +10 -41
  59. package/dist/src/components/SearchBarFilter.vue.d.ts +7 -6
  60. package/dist/src/components/SideBar/CompareSaveDialog.vue.d.ts +6 -5
  61. package/dist/src/components/SideBar/FileSideBar.vue.d.ts +10 -75
  62. package/dist/src/components/SideBar/Files/FileInfo.vue.d.ts +10 -1
  63. package/dist/src/components/SideBar/SideBar.vue.d.ts +20 -21
  64. package/dist/src/components/SideBar/SideBarPanels.vue.d.ts +21 -22
  65. package/dist/src/components/SideBar/Spaces/Details/SpaceDetails.vue.d.ts +10 -1
  66. package/dist/src/components/SideBar/Spaces/Details/SpaceDetailsMultiple.vue.d.ts +10 -1
  67. package/dist/src/components/SideBar/Spaces/SpaceInfo.vue.d.ts +2 -1
  68. package/dist/src/components/SideBar/Spaces/SpaceNoSelection.vue.d.ts +2 -1
  69. package/dist/src/components/SideBar/WebDavDetails.vue.d.ts +7 -6
  70. package/dist/src/components/SpaceQuota.vue.d.ts +10 -1
  71. package/dist/src/components/Spaces/QuotaModal.vue.d.ts +13 -4
  72. package/dist/src/components/Spaces/SpaceImageModal.vue.d.ts +12 -4
  73. package/dist/src/components/TextEditor/TextEditor.vue.d.ts +22 -161
  74. package/dist/src/components/TextEditor/index.d.ts +16 -138
  75. package/dist/src/components/VersionCheck.vue.d.ts +2 -1
  76. package/dist/src/components/ViewOptions.vue.d.ts +10 -1
  77. package/dist/src/components/index.d.ts +2 -1
  78. package/dist/src/composables/actions/files/useFileActionFallbackToDownload.d.ts +1 -1
  79. package/dist/src/composables/actions/files/useFileActions.d.ts +2 -2
  80. package/dist/src/composables/actions/files/useFileActionsCopy.d.ts +1 -1
  81. package/dist/src/composables/actions/files/useFileActionsCopyPermanentLink.d.ts +1 -1
  82. package/dist/src/composables/actions/files/useFileActionsCreateLink.d.ts +1 -1
  83. package/dist/src/composables/actions/files/useFileActionsCreateNewFile.d.ts +1 -1
  84. package/dist/src/composables/actions/files/useFileActionsCreateNewFolder.d.ts +1 -1
  85. package/dist/src/composables/actions/files/useFileActionsCreateNewShortcut.d.ts +1 -1
  86. package/dist/src/composables/actions/files/useFileActionsCreateSpaceFromResource.d.ts +1 -1
  87. package/dist/src/composables/actions/files/useFileActionsDelete.d.ts +1 -1
  88. package/dist/src/composables/actions/files/useFileActionsDisableSync.d.ts +1 -1
  89. package/dist/src/composables/actions/files/useFileActionsDownloadArchive.d.ts +1 -1
  90. package/dist/src/composables/actions/files/useFileActionsDownloadFile.d.ts +1 -1
  91. package/dist/src/composables/actions/files/useFileActionsEmptyTrashBin.d.ts +1 -1
  92. package/dist/src/composables/actions/files/useFileActionsEnableSync.d.ts +1 -1
  93. package/dist/src/composables/actions/files/useFileActionsFavorite.d.ts +1 -1
  94. package/dist/src/composables/actions/files/useFileActionsMove.d.ts +1 -1
  95. package/dist/src/composables/actions/files/useFileActionsNavigate.d.ts +1 -1
  96. package/dist/src/composables/actions/files/useFileActionsOpenShortcut.d.ts +1 -1
  97. package/dist/src/composables/actions/files/useFileActionsOpenWithApp.d.ts +1 -1
  98. package/dist/src/composables/actions/files/useFileActionsOpenWithDefault.d.ts +1 -1
  99. package/dist/src/composables/actions/files/useFileActionsPaste.d.ts +1 -1
  100. package/dist/src/composables/actions/files/useFileActionsRename.d.ts +2 -2
  101. package/dist/src/composables/actions/files/useFileActionsRestore.d.ts +2 -2
  102. package/dist/src/composables/actions/files/useFileActionsSaveAs.d.ts +1 -1
  103. package/dist/src/composables/actions/files/useFileActionsSetImage.d.ts +1 -1
  104. package/dist/src/composables/actions/files/useFileActionsShowActions.d.ts +1 -1
  105. package/dist/src/composables/actions/files/useFileActionsShowDetails.d.ts +1 -1
  106. package/dist/src/composables/actions/files/useFileActionsShowShares.d.ts +1 -1
  107. package/dist/src/composables/actions/files/useFileActionsToggleHideShare.d.ts +1 -1
  108. package/dist/src/composables/actions/files/useFileActionsUndoDelete.d.ts +2 -2
  109. package/dist/src/composables/actions/helpers/useIsAppActive.d.ts +1 -1
  110. package/dist/src/composables/actions/helpers/useIsFilesAppActive.d.ts +1 -1
  111. package/dist/src/composables/actions/helpers/useIsSearchActive.d.ts +1 -1
  112. package/dist/src/composables/actions/spaces/index.d.ts +1 -0
  113. package/dist/src/composables/actions/spaces/useSpaceActionsCreate.d.ts +7 -0
  114. package/dist/src/composables/actions/spaces/useSpaceActionsDelete.d.ts +1 -1
  115. package/dist/src/composables/actions/spaces/useSpaceActionsDeleteImage.d.ts +1 -1
  116. package/dist/src/composables/actions/spaces/useSpaceActionsDisable.d.ts +1 -1
  117. package/dist/src/composables/actions/spaces/useSpaceActionsDuplicate.d.ts +1 -1
  118. package/dist/src/composables/actions/spaces/useSpaceActionsEditDescription.d.ts +1 -1
  119. package/dist/src/composables/actions/spaces/useSpaceActionsEditQuota.d.ts +1 -1
  120. package/dist/src/composables/actions/spaces/useSpaceActionsEditReadmeContent.d.ts +1 -1
  121. package/dist/src/composables/actions/spaces/useSpaceActionsNavigateToTrash.d.ts +1 -1
  122. package/dist/src/composables/actions/spaces/useSpaceActionsRename.d.ts +1 -1
  123. package/dist/src/composables/actions/spaces/useSpaceActionsRestore.d.ts +1 -1
  124. package/dist/src/composables/actions/spaces/useSpaceActionsSetIcon.d.ts +1 -1
  125. package/dist/src/composables/actions/spaces/useSpaceActionsShowMembers.d.ts +1 -1
  126. package/dist/src/composables/actions/useActionsShowDetails.d.ts +1 -1
  127. package/dist/src/composables/appDefaults/useAppConfig.d.ts +1 -1
  128. package/dist/src/composables/appDefaults/useAppDocumentTitle.d.ts +2 -1
  129. package/dist/src/composables/appDefaults/useAppFileHandling.d.ts +4 -2
  130. package/dist/src/composables/appDefaults/useAppMeta.d.ts +1 -1
  131. package/dist/src/composables/authContext/useAuthService.d.ts +3 -1
  132. package/dist/src/composables/authContext/useRequest.d.ts +2 -2
  133. package/dist/src/composables/driveResolver/useSpacesLoading.d.ts +1 -1
  134. package/dist/src/composables/embedMode/useEmbedMode.d.ts +8 -8
  135. package/dist/src/composables/eventBus/useEventBus.d.ts +1 -1
  136. package/dist/src/composables/filesList/useResourceRouteResolver.d.ts +1 -1
  137. package/dist/src/composables/folderLink/useFolderLink.d.ts +2 -2
  138. package/dist/src/composables/index.d.ts +1 -1
  139. package/dist/src/composables/isTopBarSticky/useIsTopBarSticky.d.ts +1 -1
  140. package/dist/src/composables/keyboardActions/useInterceptModifierClick.d.ts +1 -1
  141. package/dist/src/composables/links/useLinkTypes.d.ts +1 -1
  142. package/dist/src/composables/localStorage/useLocalStorage.d.ts +1 -1
  143. package/dist/src/composables/navItems/index.d.ts +1 -0
  144. package/dist/src/composables/navItems/useNavItems.d.ts +13 -0
  145. package/dist/src/composables/piniaStores/apps.d.ts +31 -31
  146. package/dist/src/composables/piniaStores/auth.d.ts +30 -24
  147. package/dist/src/composables/piniaStores/avatars.d.ts +9 -9
  148. package/dist/src/composables/piniaStores/capabilities.d.ts +160 -160
  149. package/dist/src/composables/piniaStores/clipboard.d.ts +49 -49
  150. package/dist/src/composables/piniaStores/config/config.d.ts +135 -141
  151. package/dist/src/composables/piniaStores/config/types.d.ts +6 -20
  152. package/dist/src/composables/piniaStores/extensionRegistry/extensionPreferences.d.ts +4 -4
  153. package/dist/src/composables/piniaStores/extensionRegistry/extensionRegistry.d.ts +1 -1
  154. package/dist/src/composables/piniaStores/extensionRegistry/types.d.ts +14 -1
  155. package/dist/src/composables/piniaStores/groupware/accounts.d.ts +511 -0
  156. package/dist/src/composables/piniaStores/{groupwareConfig/groupwareConfig.d.ts → groupware/config.d.ts} +107 -80
  157. package/dist/src/composables/piniaStores/groupware/index.d.ts +3 -0
  158. package/dist/src/composables/piniaStores/{groupwareConfig → groupware}/types.d.ts +30 -18
  159. package/dist/src/composables/piniaStores/index.d.ts +1 -1
  160. package/dist/src/composables/piniaStores/messages.d.ts +70 -70
  161. package/dist/src/composables/piniaStores/modals.d.ts +197 -209
  162. package/dist/src/composables/piniaStores/resources.d.ts +11 -11
  163. package/dist/src/composables/piniaStores/shares/shares.d.ts +1 -1
  164. package/dist/src/composables/piniaStores/shares/types.d.ts +2 -1
  165. package/dist/src/composables/piniaStores/sideBar.d.ts +8 -22
  166. package/dist/src/composables/piniaStores/spaces.d.ts +189 -188
  167. package/dist/src/composables/piniaStores/theme.d.ts +10 -10
  168. package/dist/src/composables/piniaStores/updates.d.ts +10 -10
  169. package/dist/src/composables/piniaStores/user.d.ts +5 -5
  170. package/dist/src/composables/piniaStores/webWorkers.d.ts +1 -1
  171. package/dist/src/composables/requestHeaders/useRequestHeaders.d.ts +1 -1
  172. package/dist/src/composables/resources/useGetResourceContext.d.ts +26 -26
  173. package/dist/src/composables/resources/useLoadPreview.d.ts +1 -1
  174. package/dist/src/composables/resources/useResourceContents.d.ts +1 -1
  175. package/dist/src/composables/resources/useResourceIndicators.d.ts +12 -1
  176. package/dist/src/composables/resources/useResourceViewContextMenu.d.ts +4 -3
  177. package/dist/src/composables/resources/useResourceViewDrag.d.ts +23 -13
  178. package/dist/src/composables/resources/useResourceViewHelpers.d.ts +30 -20
  179. package/dist/src/composables/resources/useResourceViewSelection.d.ts +2 -2
  180. package/dist/src/composables/selection/useSelectedResources.d.ts +2 -1
  181. package/dist/src/composables/spaces/useCreateSpace.d.ts +2 -1
  182. package/dist/src/composables/spaces/useSpaceHelpers.d.ts +1 -1
  183. package/dist/src/composables/webWorkers/deleteWorker/useDeleteWorker.d.ts +1 -1
  184. package/dist/src/composables/webWorkers/pasteWorker/usePasteWorker.d.ts +2 -2
  185. package/dist/src/composables/webWorkers/restoreWorker/useRestoreWorker.d.ts +1 -1
  186. package/dist/src/composables/webWorkers/tokenTimerWorker/useTokenTimerWorker.d.ts +3 -1
  187. package/dist/src/constants.d.ts +0 -6
  188. package/dist/src/extensionPoints.d.ts +3 -0
  189. package/dist/src/helpers/filesize.d.ts +0 -7
  190. package/dist/src/helpers/index.d.ts +1 -2
  191. package/dist/src/helpers/resource/conflictHandling/conflictDialog.d.ts +1 -1
  192. package/dist/src/helpers/resource/conflictHandling/transfer.d.ts +4 -4
  193. package/dist/src/helpers/resource/conflictHandling/types.d.ts +1 -1
  194. package/dist/src/helpers/share/driveItem.d.ts +1 -1
  195. package/dist/src/helpers/versions.d.ts +5 -0
  196. package/dist/src/index.d.ts +1 -0
  197. package/dist/src/router/common.d.ts +1 -1
  198. package/dist/src/router/index.d.ts +2 -1
  199. package/dist/src/router/public.d.ts +1 -1
  200. package/dist/src/router/shares.d.ts +1 -1
  201. package/dist/src/router/spaces.d.ts +1 -1
  202. package/dist/src/router/trash.d.ts +1 -1
  203. package/dist/src/services/passwordPolicy/rules.d.ts +3 -9
  204. package/dist/src/services/preview/types.d.ts +1 -1
  205. package/dist/src/services/uppy/DropTarget/plugin.d.ts +2 -1
  206. package/dist/src/services/uppy/uppyService.d.ts +3 -3
  207. package/dist/web-pkg.js +4251 -354
  208. package/package.json +36 -38
  209. package/src/index.ts +1 -0
  210. package/dist/TextEditor-CXSedGM4.js +0 -867
  211. package/dist/assets/worker-22sDKzz_.js +0 -21
  212. package/dist/assets/worker-BBQqm_-D.js +0 -1
  213. package/dist/assets/worker-BSCY2vwA.js +0 -21
  214. package/dist/assets/worker-DH8D29Kr.js +0 -21
  215. package/dist/index-CEJcEmbf.js +0 -25419
  216. package/dist/src/components/AppBar/CreateSpace.vue.d.ts +0 -18
  217. package/dist/src/components/PortalTarget.vue.d.ts +0 -2
  218. package/dist/src/composables/piniaStores/groupwareConfig/index.d.ts +0 -2
  219. package/dist/src/composables/portalTarget/eventTopics.d.ts +0 -3
  220. package/dist/src/composables/portalTarget/index.d.ts +0 -2
  221. package/dist/src/composables/portalTarget/usePortalTarget.d.ts +0 -4
  222. package/dist/src/helpers/contextMenuDropdown.d.ts +0 -7
  223. package/dist/src/helpers/statusIndicators.d.ts +0 -12
  224. package/dist/web-pkg.umd.cjs +0 -36
@@ -1,165 +1,26 @@
1
- import { PropType } from 'vue';
2
1
  import { Resource } from '@opencloud-eu/web-client';
2
+ import 'md-editor-v3/lib/style.css';
3
3
  import { AppConfigObject } from '../../apps';
4
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
- applicationConfig: {
6
- type: PropType<AppConfigObject>;
7
- required: false;
8
- };
9
- currentContent: {
10
- type: StringConstructor;
11
- required: true;
12
- };
13
- markdownMode: {
14
- type: BooleanConstructor;
15
- required: false;
16
- default: boolean;
17
- };
18
- isReadOnly: {
19
- type: BooleanConstructor;
20
- required: false;
21
- default: boolean;
22
- };
23
- resource: {
24
- type: PropType<Resource>;
25
- required: false;
26
- };
27
- }>, {
28
- isMarkdown: import('vue').ComputedRef<boolean>;
29
- theme: import('vue').ComputedRef<"light" | "dark">;
30
- toolbars: import('vue').ComputedRef<(string | number)[]>;
31
- language: {
32
- available: import('vue3-gettext').GetTextOptions["availableLanguages"];
33
- muted: import('vue3-gettext').GetTextOptions["mutedLanguages"];
34
- silent: import('vue3-gettext').GetTextOptions["silent"];
35
- translations: import('vue3-gettext').Translations;
36
- current: string;
37
- $gettext: (msgid: string, parameters?: {
38
- [key: string]: string;
39
- }, disableHtmlEscaping?: boolean) => string;
40
- $pgettext: (context: string, msgid: string, parameters?: {
41
- [key: string]: string;
42
- }, disableHtmlEscaping?: boolean) => string;
43
- $ngettext: (msgid: string, plural: string, n: number, parameters?: {
44
- [key: string]: string;
45
- }, disableHtmlEscaping?: boolean) => string;
46
- $npgettext: (context: string, msgid: string, plural: string, n: number, parameters?: {
47
- [key: string]: string;
48
- }, disableHtmlEscaping?: boolean) => string;
49
- interpolate: (msgid: string, context: object, disableHtmlEscaping?: boolean) => string;
50
- install: (app: import('vue').App) => void;
51
- directive: {
52
- created?: import('vue').DirectiveHook<HTMLElement, null, any, string, any>;
53
- beforeMount?: import('vue').DirectiveHook<HTMLElement, null, any, string, any>;
54
- mounted?: import('vue').DirectiveHook<HTMLElement, null, any, string, any>;
55
- beforeUpdate?: import('vue').DirectiveHook<HTMLElement, import('vue').VNode<any, HTMLElement, {
56
- [key: string]: any;
57
- }>, any, string, any>;
58
- updated?: import('vue').DirectiveHook<HTMLElement, import('vue').VNode<any, HTMLElement, {
59
- [key: string]: any;
60
- }>, any, string, any>;
61
- beforeUnmount?: import('vue').DirectiveHook<HTMLElement, null, any, string, any>;
62
- unmounted?: import('vue').DirectiveHook<HTMLElement, null, any, string, any>;
63
- getSSRProps?: (binding: import('vue').DirectiveBinding<any, string, any>, vnode: import('vue').VNode) => {
64
- [x: string]: unknown;
65
- } | undefined;
66
- deep?: boolean;
67
- };
68
- component: import('vue').DefineComponent<{
69
- tag: {
70
- type: StringConstructor;
71
- default: string;
72
- };
73
- translateN: {
74
- type: NumberConstructor;
75
- default: null;
76
- };
77
- translatePlural: {
78
- type: StringConstructor;
79
- default: null;
80
- };
81
- translateContext: {
82
- type: StringConstructor;
83
- default: null;
84
- };
85
- translateParams: {
86
- type: ObjectConstructor;
87
- default: null;
88
- };
89
- translateComment: {
90
- type: StringConstructor;
91
- default: null;
92
- };
93
- }, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
94
- [key: string]: any;
95
- }>, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, Record<string, any>, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
96
- tag: {
97
- type: StringConstructor;
98
- default: string;
99
- };
100
- translateN: {
101
- type: NumberConstructor;
102
- default: null;
103
- };
104
- translatePlural: {
105
- type: StringConstructor;
106
- default: null;
107
- };
108
- translateContext: {
109
- type: StringConstructor;
110
- default: null;
111
- };
112
- translateParams: {
113
- type: ObjectConstructor;
114
- default: null;
115
- };
116
- translateComment: {
117
- type: StringConstructor;
118
- default: null;
119
- };
120
- }>>, {
121
- tag: string;
122
- translateN: number;
123
- translatePlural: string;
124
- translateContext: string;
125
- translateParams: Record<string, any>;
126
- translateComment: string;
127
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
128
- };
129
- languages: Record<string, string>;
130
- onUploadImg: (files: File[]) => Promise<void>;
131
- showLineNumbers: import('vue').Ref<boolean, boolean>;
132
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:currentContent"[], "update:currentContent", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
133
- applicationConfig: {
134
- type: PropType<AppConfigObject>;
135
- required: false;
136
- };
137
- currentContent: {
138
- type: StringConstructor;
4
+ import 'cropperjs/dist/cropper.css';
5
+ type __VLS_Props = {
6
+ applicationConfig?: AppConfigObject;
7
+ currentContent: string;
8
+ markdownMode?: boolean;
9
+ isReadOnly?: boolean;
10
+ resource?: Resource;
11
+ };
12
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ "update:currentContent": (value: string) => void;
14
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>> & Readonly<{
15
+ "onUpdate:currentContent"?: (value: string) => any;
16
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
19
+ type __VLS_TypePropsToOption<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<Required<T>[K]>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
139
24
  required: true;
140
25
  };
141
- markdownMode: {
142
- type: BooleanConstructor;
143
- required: false;
144
- default: boolean;
145
- };
146
- isReadOnly: {
147
- type: BooleanConstructor;
148
- required: false;
149
- default: boolean;
150
- };
151
- resource: {
152
- type: PropType<Resource>;
153
- required: false;
154
- };
155
- }>> & Readonly<{
156
- "onUpdate:currentContent"?: (...args: any[]) => any;
157
- }>, {
158
- isReadOnly: boolean;
159
- markdownMode: boolean;
160
- }, {}, {
161
- MdEditor: any;
162
- MdPreview: any;
163
- NormalToolbar: any;
164
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
165
- export default _default;
26
+ };
@@ -1,161 +1,39 @@
1
- export declare const TextEditor: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
1
+ export declare const TextEditor: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  applicationConfig: {
3
- type: import('vue').PropType<import('../..').AppConfigObject>;
4
- required: false;
3
+ type: import("vue").PropType<import("../../index.js").AppConfigObject>;
5
4
  };
6
5
  currentContent: {
7
- type: StringConstructor;
6
+ type: import("vue").PropType<string>;
8
7
  required: true;
9
8
  };
10
9
  markdownMode: {
11
- type: BooleanConstructor;
12
- required: false;
13
- default: boolean;
10
+ type: import("vue").PropType<boolean>;
14
11
  };
15
12
  isReadOnly: {
16
- type: BooleanConstructor;
17
- required: false;
18
- default: boolean;
13
+ type: import("vue").PropType<boolean>;
19
14
  };
20
15
  resource: {
21
- type: import('vue').PropType<import('@opencloud-eu/web-client').Resource>;
22
- required: false;
16
+ type: import("vue").PropType<import("@opencloud-eu/web-client").Resource>;
23
17
  };
24
- }>, {
25
- isMarkdown: import('vue').ComputedRef<boolean>;
26
- theme: import('vue').ComputedRef<"light" | "dark">;
27
- toolbars: import('vue').ComputedRef<(string | number)[]>;
28
- language: {
29
- available: import('vue3-gettext').GetTextOptions["availableLanguages"];
30
- muted: import('vue3-gettext').GetTextOptions["mutedLanguages"];
31
- silent: import('vue3-gettext').GetTextOptions["silent"];
32
- translations: import('vue3-gettext').Translations;
33
- current: string;
34
- $gettext: (msgid: string, parameters?: {
35
- [key: string]: string;
36
- }, disableHtmlEscaping?: boolean) => string;
37
- $pgettext: (context: string, msgid: string, parameters?: {
38
- [key: string]: string;
39
- }, disableHtmlEscaping?: boolean) => string;
40
- $ngettext: (msgid: string, plural: string, n: number, parameters?: {
41
- [key: string]: string;
42
- }, disableHtmlEscaping?: boolean) => string;
43
- $npgettext: (context: string, msgid: string, plural: string, n: number, parameters?: {
44
- [key: string]: string;
45
- }, disableHtmlEscaping?: boolean) => string;
46
- interpolate: (msgid: string, context: object, disableHtmlEscaping?: boolean) => string;
47
- install: (app: import('vue').App) => void;
48
- directive: {
49
- created?: import('vue').DirectiveHook<HTMLElement, null, any, string, any>;
50
- beforeMount?: import('vue').DirectiveHook<HTMLElement, null, any, string, any>;
51
- mounted?: import('vue').DirectiveHook<HTMLElement, null, any, string, any>;
52
- beforeUpdate?: import('vue').DirectiveHook<HTMLElement, import('vue').VNode<any, HTMLElement, {
53
- [key: string]: any;
54
- }>, any, string, any>;
55
- updated?: import('vue').DirectiveHook<HTMLElement, import('vue').VNode<any, HTMLElement, {
56
- [key: string]: any;
57
- }>, any, string, any>;
58
- beforeUnmount?: import('vue').DirectiveHook<HTMLElement, null, any, string, any>;
59
- unmounted?: import('vue').DirectiveHook<HTMLElement, null, any, string, any>;
60
- getSSRProps?: (binding: import('vue').DirectiveBinding<any, string, any>, vnode: import('vue').VNode) => {
61
- [x: string]: unknown;
62
- } | undefined;
63
- deep?: boolean;
64
- };
65
- component: import('vue').DefineComponent<{
66
- tag: {
67
- type: StringConstructor;
68
- default: string;
69
- };
70
- translateN: {
71
- type: NumberConstructor;
72
- default: null;
73
- };
74
- translatePlural: {
75
- type: StringConstructor;
76
- default: null;
77
- };
78
- translateContext: {
79
- type: StringConstructor;
80
- default: null;
81
- };
82
- translateParams: {
83
- type: ObjectConstructor;
84
- default: null;
85
- };
86
- translateComment: {
87
- type: StringConstructor;
88
- default: null;
89
- };
90
- }, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
91
- [key: string]: any;
92
- }>, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, Record<string, any>, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
93
- tag: {
94
- type: StringConstructor;
95
- default: string;
96
- };
97
- translateN: {
98
- type: NumberConstructor;
99
- default: null;
100
- };
101
- translatePlural: {
102
- type: StringConstructor;
103
- default: null;
104
- };
105
- translateContext: {
106
- type: StringConstructor;
107
- default: null;
108
- };
109
- translateParams: {
110
- type: ObjectConstructor;
111
- default: null;
112
- };
113
- translateComment: {
114
- type: StringConstructor;
115
- default: null;
116
- };
117
- }>>, {
118
- tag: string;
119
- translateN: number;
120
- translatePlural: string;
121
- translateContext: string;
122
- translateParams: Record<string, any>;
123
- translateComment: string;
124
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
125
- };
126
- languages: Record<string, string>;
127
- onUploadImg: (files: File[]) => Promise<void>;
128
- showLineNumbers: import('vue').Ref<boolean, boolean>;
129
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:currentContent"[], "update:currentContent", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
18
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ "update:currentContent": (value: string) => void;
20
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
130
21
  applicationConfig: {
131
- type: import('vue').PropType<import('../..').AppConfigObject>;
132
- required: false;
22
+ type: import("vue").PropType<import("../../index.js").AppConfigObject>;
133
23
  };
134
24
  currentContent: {
135
- type: StringConstructor;
25
+ type: import("vue").PropType<string>;
136
26
  required: true;
137
27
  };
138
28
  markdownMode: {
139
- type: BooleanConstructor;
140
- required: false;
141
- default: boolean;
29
+ type: import("vue").PropType<boolean>;
142
30
  };
143
31
  isReadOnly: {
144
- type: BooleanConstructor;
145
- required: false;
146
- default: boolean;
32
+ type: import("vue").PropType<boolean>;
147
33
  };
148
34
  resource: {
149
- type: import('vue').PropType<import('@opencloud-eu/web-client').Resource>;
150
- required: false;
35
+ type: import("vue").PropType<import("@opencloud-eu/web-client").Resource>;
151
36
  };
152
37
  }>> & Readonly<{
153
- "onUpdate:currentContent"?: (...args: any[]) => any;
154
- }>, {
155
- isReadOnly: boolean;
156
- markdownMode: boolean;
157
- }, {}, {
158
- MdEditor: any;
159
- MdPreview: any;
160
- NormalToolbar: any;
161
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
38
+ "onUpdate:currentContent"?: (value: string) => any;
39
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
2
3
  export default _default;
@@ -10,5 +10,14 @@ type __VLS_Props = {
10
10
  viewModeDefault?: string;
11
11
  viewModes?: FolderView[];
12
12
  };
13
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
+ declare const _default: typeof __VLS_export;
14
15
  export default _default;
16
+ type __VLS_TypePropsToOption<T> = {
17
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
18
+ type: import('vue').PropType<Required<T>[K]>;
19
+ } : {
20
+ type: import('vue').PropType<T[K]>;
21
+ required: true;
22
+ };
23
+ };
@@ -3,7 +3,9 @@ export * from './AppTemplates';
3
3
  export * from './ContextActions';
4
4
  export * from './FilesList';
5
5
  export * from './Filters';
6
+ export * from './Groupware';
6
7
  export * from './Modals';
8
+ export * from './Navigation';
7
9
  export * from './SideBar';
8
10
  export * from './Search';
9
11
  export * from './Spaces';
@@ -23,7 +25,6 @@ export { default as QuotaSelect } from './QuotaSelect.vue';
23
25
  export { default as SpaceQuota } from './SpaceQuota.vue';
24
26
  export { default as SearchBarFilter } from './SearchBarFilter.vue';
25
27
  export { default as ViewOptions } from './ViewOptions.vue';
26
- export { default as PortalTarget } from './PortalTarget.vue';
27
28
  export { default as CreateShortcutModal } from './CreateShortcutModal.vue';
28
29
  export { default as CreateLinkModal } from './CreateLinkModal.vue';
29
30
  export { default as VersionCheck } from './VersionCheck.vue';
@@ -1,4 +1,4 @@
1
1
  import { FileAction } from '../types';
2
2
  export declare const useFileActionFallbackToDownload: () => {
3
- actions: import('vue').ComputedRef<FileAction[]>;
3
+ actions: import("vue").ComputedRef<FileAction[]>;
4
4
  };
@@ -10,9 +10,9 @@ export interface FileActionOptionsWithEvent extends FileActionOptions<Resource>
10
10
  }
11
11
  export declare const useFileActions: () => {
12
12
  getDefaultAction: (options: GetFileActionsOptions) => Action | undefined;
13
- getAllOpenWithActions: (options: GetFileActionsOptions) => (Action<import('../types').ActionOptions> | FileAction)[];
13
+ getAllOpenWithActions: (options: GetFileActionsOptions) => (Action<import("../types").ActionOptions> | FileAction)[];
14
14
  getEditorRouteOpts: (routeName: RouteRecordName, space: SpaceResource, resource: Resource, remoteItemId: string, templateId?: string) => {
15
- name: import('vue-router').RouteRecordNameGeneric;
15
+ name: import("vue-router").RouteRecordNameGeneric;
16
16
  params: {
17
17
  driveAliasAndItem: string;
18
18
  };
@@ -1,4 +1,4 @@
1
1
  import { FileAction } from '../types';
2
2
  export declare const useFileActionsCopy: () => {
3
- actions: import('vue').ComputedRef<FileAction[]>;
3
+ actions: import("vue").ComputedRef<FileAction[]>;
4
4
  };
@@ -1,4 +1,4 @@
1
1
  import { FileAction } from '../types';
2
2
  export declare const useFileActionsCopyPermanentLink: () => {
3
- actions: import('vue').ComputedRef<FileAction[]>;
3
+ actions: import("vue").ComputedRef<FileAction[]>;
4
4
  };
@@ -2,5 +2,5 @@ import { FileAction } from '../../actions';
2
2
  export declare const useFileActionsCreateLink: ({ enforceModal }?: {
3
3
  enforceModal?: boolean;
4
4
  }) => {
5
- actions: import('vue').ComputedRef<FileAction[]>;
5
+ actions: import("vue").ComputedRef<FileAction[]>;
6
6
  };
@@ -5,6 +5,6 @@ import { ApplicationFileExtension } from '../../../apps';
5
5
  export declare const useFileActionsCreateNewFile: ({ space }?: {
6
6
  space?: Ref<SpaceResource>;
7
7
  }) => {
8
- actions: import('vue').ComputedRef<FileAction[]>;
8
+ actions: import("vue").ComputedRef<FileAction[]>;
9
9
  openFile: (resource: Resource, appFileExtension: ApplicationFileExtension) => void;
10
10
  };
@@ -4,6 +4,6 @@ import { FileAction } from '../types';
4
4
  export declare const useFileActionsCreateNewFolder: ({ space }?: {
5
5
  space?: Ref<SpaceResource>;
6
6
  }) => {
7
- actions: import('vue').ComputedRef<FileAction[]>;
7
+ actions: import("vue").ComputedRef<FileAction[]>;
8
8
  addNewFolder: (folderName: string) => Promise<void>;
9
9
  };
@@ -4,5 +4,5 @@ import { SpaceResource } from '@opencloud-eu/web-client';
4
4
  export declare const useFileActionsCreateNewShortcut: ({ space }: {
5
5
  space: Ref<SpaceResource>;
6
6
  }) => {
7
- actions: import('vue').ComputedRef<FileAction[]>;
7
+ actions: import("vue").ComputedRef<FileAction[]>;
8
8
  };
@@ -1,4 +1,4 @@
1
1
  import { FileAction } from '../../actions';
2
2
  export declare const useFileActionsCreateSpaceFromResource: () => {
3
- actions: import('vue').ComputedRef<FileAction[]>;
3
+ actions: import("vue").ComputedRef<FileAction[]>;
4
4
  };
@@ -1,4 +1,4 @@
1
1
  import { FileAction } from '../types';
2
2
  export declare const useFileActionsDelete: () => {
3
- actions: import('vue').ComputedRef<FileAction[]>;
3
+ actions: import("vue").ComputedRef<FileAction[]>;
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { IncomingShareResource } from '@opencloud-eu/web-client';
2
2
  import { FileAction } from '../types';
3
3
  export declare const useFileActionsDisableSync: () => {
4
- actions: import('vue').ComputedRef<FileAction<IncomingShareResource>[]>;
4
+ actions: import("vue").ComputedRef<FileAction<IncomingShareResource>[]>;
5
5
  };
@@ -1,4 +1,4 @@
1
1
  import { FileAction } from '../types';
2
2
  export declare const useFileActionsDownloadArchive: () => {
3
- actions: import('vue').ComputedRef<FileAction[]>;
3
+ actions: import("vue").ComputedRef<FileAction[]>;
4
4
  };
@@ -1,4 +1,4 @@
1
1
  import { FileAction } from '../types';
2
2
  export declare const useFileActionsDownloadFile: () => {
3
- actions: import('vue').ComputedRef<FileAction[]>;
3
+ actions: import("vue").ComputedRef<FileAction[]>;
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { SpaceResource } from '@opencloud-eu/web-client';
2
2
  import { SpaceAction } from '../types';
3
3
  export declare const useFileActionsEmptyTrashBin: () => {
4
- actions: import('vue').ComputedRef<SpaceAction[]>;
4
+ actions: import("vue").ComputedRef<SpaceAction[]>;
5
5
  emptyTrashBin: ({ space }: {
6
6
  space: SpaceResource;
7
7
  }) => Promise<void>;
@@ -1,5 +1,5 @@
1
1
  import { IncomingShareResource } from '@opencloud-eu/web-client';
2
2
  import { FileAction } from '../../actions';
3
3
  export declare const useFileActionsEnableSync: () => {
4
- actions: import('vue').ComputedRef<FileAction<IncomingShareResource>[]>;
4
+ actions: import("vue").ComputedRef<FileAction<IncomingShareResource>[]>;
5
5
  };
@@ -1,4 +1,4 @@
1
1
  import { FileAction } from '../../actions';
2
2
  export declare const useFileActionsFavorite: () => {
3
- actions: import('vue').ComputedRef<FileAction[]>;
3
+ actions: import("vue").ComputedRef<FileAction[]>;
4
4
  };
@@ -1,4 +1,4 @@
1
1
  import { FileAction } from '../types';
2
2
  export declare const useFileActionsMove: () => {
3
- actions: import('vue').ComputedRef<FileAction[]>;
3
+ actions: import("vue").ComputedRef<FileAction[]>;
4
4
  };
@@ -1,4 +1,4 @@
1
1
  import { FileAction } from '../types';
2
2
  export declare const useFileActionsNavigate: () => {
3
- actions: import('vue').ComputedRef<FileAction[]>;
3
+ actions: import("vue").ComputedRef<FileAction[]>;
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { FileAction } from '../types';
2
2
  export declare const useFileActionsOpenShortcut: () => {
3
- actions: import('vue').ComputedRef<FileAction[]>;
3
+ actions: import("vue").ComputedRef<FileAction[]>;
4
4
  extractUrl: (fileContents: string) => string;
5
5
  };
@@ -4,7 +4,7 @@ import { LocationQuery } from 'vue-router';
4
4
  export declare const useFileActionsOpenWithApp: ({ appId }: {
5
5
  appId: string;
6
6
  }) => {
7
- actions: import('vue').ComputedRef<FileAction[]>;
7
+ actions: import("vue").ComputedRef<FileAction[]>;
8
8
  onFilePicked: ({ resource, locationQuery }: {
9
9
  resource: Resource;
10
10
  locationQuery: LocationQuery;
@@ -1,4 +1,4 @@
1
1
  import { FileAction } from '../types';
2
2
  export declare const useFileActionsOpenWithDefault: () => {
3
- actions: import('vue').ComputedRef<FileAction[]>;
3
+ actions: import("vue").ComputedRef<FileAction[]>;
4
4
  };
@@ -1,4 +1,4 @@
1
1
  import { FileAction } from '../types';
2
2
  export declare const useFileActionsPaste: () => {
3
- actions: import('vue').ComputedRef<FileAction[]>;
3
+ actions: import("vue").ComputedRef<FileAction[]>;
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { Resource, SpaceResource } from '@opencloud-eu/web-client';
2
2
  import { FileAction } from '../types';
3
3
  export declare const useFileActionsRename: () => {
4
- actions: import('vue').ComputedRef<FileAction[]>;
5
- renameResource: (space: SpaceResource, resource: Resource, newName: string) => Promise<void | import('vue-router').NavigationFailure>;
4
+ actions: import("vue").ComputedRef<FileAction[]>;
5
+ renameResource: (space: SpaceResource, resource: Resource, newName: string) => Promise<void | import("vue-router").NavigationFailure>;
6
6
  };
@@ -1,10 +1,10 @@
1
1
  import { Resource, SpaceResource } from '@opencloud-eu/web-client';
2
- import { FileAction, FileActionOptions } from '../types';
2
+ import type { FileAction, FileActionOptions } from '../types';
3
3
  export declare const useFileActionsRestore: ({ showSuccessMessage, onRestoreComplete }?: {
4
4
  showSuccessMessage?: boolean;
5
5
  onRestoreComplete?: (result: FileActionOptions) => void;
6
6
  }) => {
7
- actions: import('vue').ComputedRef<FileAction[]>;
7
+ actions: import("vue").ComputedRef<FileAction[]>;
8
8
  restoreResources: (space: SpaceResource, resources: Resource[], missingFolderPaths: string[]) => void;
9
9
  collectConflicts: (space: SpaceResource, sortedResources: Resource[]) => Promise<{
10
10
  existingResourcesByPath: Record<string, Resource[]>;
@@ -3,5 +3,5 @@ import { Ref } from 'vue';
3
3
  export declare const useFileActionsSaveAs: ({ content }: {
4
4
  content: Ref<unknown>;
5
5
  }) => {
6
- actions: import('vue').ComputedRef<FileAction[]>;
6
+ actions: import("vue").ComputedRef<FileAction[]>;
7
7
  };
@@ -1,4 +1,4 @@
1
1
  import { FileAction } from '../types';
2
2
  export declare const useFileActionsSetImage: () => {
3
- actions: import('vue').ComputedRef<FileAction[]>;
3
+ actions: import("vue").ComputedRef<FileAction[]>;
4
4
  };
@@ -1,4 +1,4 @@
1
1
  import { FileAction } from '../types';
2
2
  export declare const useFileActionsShowActions: () => {
3
- actions: import('vue').ComputedRef<FileAction[]>;
3
+ actions: import("vue").ComputedRef<FileAction[]>;
4
4
  };