@opencloud-eu/web-pkg 6.0.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 (204) 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 -9
  8. package/dist/src/components/AppBar/AppBar.vue.d.ts +154 -97
  9. package/dist/src/components/AppLoadingSpinner.vue.d.ts +2 -1
  10. package/dist/src/components/AppTemplates/AppWrapper.vue.d.ts +37 -33
  11. package/dist/src/components/AppTemplates/AppWrapperRoute.d.ts +1 -1
  12. package/dist/src/components/AppTemplates/PartialViews/ErrorScreen.vue.d.ts +5 -4
  13. package/dist/src/components/AppTemplates/PartialViews/LoadingScreen.vue.d.ts +2 -1
  14. package/dist/src/components/AppTopBar.vue.d.ts +13 -4
  15. package/dist/src/components/Avatars/AvatarUpload.vue.d.ts +3 -4
  16. package/dist/src/components/Avatars/UserAvatar.vue.d.ts +11 -1
  17. package/dist/src/components/BatchActions.vue.d.ts +16 -15
  18. package/dist/src/components/ContextActions/ActionMenuDropItem.vue.d.ts +11 -2
  19. package/dist/src/components/ContextActions/ActionMenuItem.vue.d.ts +9 -8
  20. package/dist/src/components/ContextActions/ContextActionMenu.vue.d.ts +41 -22
  21. package/dist/src/components/ContextActions/ContextMenuQuickAction.vue.d.ts +143 -388
  22. package/dist/src/components/CreateLinkModal.vue.d.ts +17 -7
  23. package/dist/src/components/CreateShortcutModal.vue.d.ts +160 -149
  24. package/dist/src/components/CustomComponentTarget.vue.d.ts +10 -1
  25. package/dist/src/components/FilesList/ContextActions.vue.d.ts +56 -37
  26. package/dist/src/components/FilesList/ResourceGhostElement.vue.d.ts +22 -11
  27. package/dist/src/components/FilesList/ResourceIcon.vue.d.ts +10 -1
  28. package/dist/src/components/FilesList/ResourceLink.vue.d.ts +7 -6
  29. package/dist/src/components/FilesList/ResourceListItem.vue.d.ts +13 -4
  30. package/dist/src/components/FilesList/ResourceName.vue.d.ts +10 -1
  31. package/dist/src/components/FilesList/ResourceSize.vue.d.ts +6 -5
  32. package/dist/src/components/FilesList/ResourceStatusIndicators.vue.d.ts +10 -1
  33. package/dist/src/components/FilesList/ResourceTable.vue.d.ts +51 -154
  34. package/dist/src/components/FilesList/ResourceTile.vue.d.ts +37 -153
  35. package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +34 -119
  36. package/dist/src/components/Filters/DateFilter.vue.d.ts +32 -495
  37. package/dist/src/components/Filters/ItemFilterInline.vue.d.ts +6 -5
  38. package/dist/src/components/Groupware/Accounts/AccountsSwitch.vue.d.ts +3 -0
  39. package/dist/src/components/Groupware/Accounts/index.d.ts +1 -0
  40. package/dist/src/components/Groupware/index.d.ts +1 -0
  41. package/dist/src/components/ItemFilter.vue.d.ts +19 -204
  42. package/dist/src/components/ItemFilterToggle.vue.d.ts +6 -5
  43. package/dist/src/components/LinkRoleDropdown.vue.d.ts +7 -6
  44. package/dist/src/components/LoadingIndicator.vue.d.ts +5 -4
  45. package/dist/src/components/Modals/DatePickerModal.vue.d.ts +8 -7
  46. package/dist/src/components/Modals/EmojiPickerModal.vue.d.ts +6 -5
  47. package/dist/src/components/Modals/FilePickerModal.vue.d.ts +8 -7
  48. package/dist/src/components/Modals/ResourceConflictModal.vue.d.ts +9 -8
  49. package/dist/src/components/Modals/SaveAsModal.vue.d.ts +8 -7
  50. package/dist/src/components/Modals/SpaceMoveInfoModal.vue.d.ts +5 -4
  51. package/dist/src/components/Modals/UnsavedChangesModal.vue.d.ts +5 -4
  52. package/dist/src/components/Navigation/MobileNav.vue.d.ts +2 -1
  53. package/dist/src/components/NoContentMessage.vue.d.ts +17 -12
  54. package/dist/src/components/Pagination.vue.d.ts +5 -4
  55. package/dist/src/components/QuotaSelect.vue.d.ts +7 -6
  56. package/dist/src/components/Search/ResourcePreview.vue.d.ts +10 -41
  57. package/dist/src/components/SearchBarFilter.vue.d.ts +7 -6
  58. package/dist/src/components/SideBar/CompareSaveDialog.vue.d.ts +6 -5
  59. package/dist/src/components/SideBar/FileSideBar.vue.d.ts +10 -76
  60. package/dist/src/components/SideBar/Files/FileInfo.vue.d.ts +10 -1
  61. package/dist/src/components/SideBar/SideBar.vue.d.ts +20 -21
  62. package/dist/src/components/SideBar/SideBarPanels.vue.d.ts +21 -22
  63. package/dist/src/components/SideBar/Spaces/Details/SpaceDetails.vue.d.ts +10 -1
  64. package/dist/src/components/SideBar/Spaces/Details/SpaceDetailsMultiple.vue.d.ts +10 -1
  65. package/dist/src/components/SideBar/Spaces/SpaceInfo.vue.d.ts +2 -1
  66. package/dist/src/components/SideBar/Spaces/SpaceNoSelection.vue.d.ts +2 -1
  67. package/dist/src/components/SideBar/WebDavDetails.vue.d.ts +7 -6
  68. package/dist/src/components/SpaceQuota.vue.d.ts +10 -1
  69. package/dist/src/components/Spaces/QuotaModal.vue.d.ts +13 -4
  70. package/dist/src/components/Spaces/SpaceImageModal.vue.d.ts +12 -4
  71. package/dist/src/components/TextEditor/TextEditor.vue.d.ts +26 -0
  72. package/dist/src/components/TextEditor/index.d.ts +39 -0
  73. package/dist/src/components/VersionCheck.vue.d.ts +2 -1
  74. package/dist/src/components/ViewOptions.vue.d.ts +10 -1
  75. package/dist/src/components/index.d.ts +1 -0
  76. package/dist/src/composables/actions/files/useFileActionFallbackToDownload.d.ts +1 -1
  77. package/dist/src/composables/actions/files/useFileActions.d.ts +2 -2
  78. package/dist/src/composables/actions/files/useFileActionsCopy.d.ts +1 -1
  79. package/dist/src/composables/actions/files/useFileActionsCopyPermanentLink.d.ts +1 -1
  80. package/dist/src/composables/actions/files/useFileActionsCreateLink.d.ts +1 -1
  81. package/dist/src/composables/actions/files/useFileActionsCreateNewFile.d.ts +1 -1
  82. package/dist/src/composables/actions/files/useFileActionsCreateNewFolder.d.ts +1 -1
  83. package/dist/src/composables/actions/files/useFileActionsCreateNewShortcut.d.ts +1 -1
  84. package/dist/src/composables/actions/files/useFileActionsCreateSpaceFromResource.d.ts +1 -1
  85. package/dist/src/composables/actions/files/useFileActionsDelete.d.ts +1 -1
  86. package/dist/src/composables/actions/files/useFileActionsDisableSync.d.ts +1 -1
  87. package/dist/src/composables/actions/files/useFileActionsDownloadArchive.d.ts +1 -1
  88. package/dist/src/composables/actions/files/useFileActionsDownloadFile.d.ts +1 -1
  89. package/dist/src/composables/actions/files/useFileActionsEmptyTrashBin.d.ts +1 -1
  90. package/dist/src/composables/actions/files/useFileActionsEnableSync.d.ts +1 -1
  91. package/dist/src/composables/actions/files/useFileActionsFavorite.d.ts +1 -1
  92. package/dist/src/composables/actions/files/useFileActionsMove.d.ts +1 -1
  93. package/dist/src/composables/actions/files/useFileActionsNavigate.d.ts +1 -1
  94. package/dist/src/composables/actions/files/useFileActionsOpenShortcut.d.ts +1 -1
  95. package/dist/src/composables/actions/files/useFileActionsOpenWithApp.d.ts +1 -1
  96. package/dist/src/composables/actions/files/useFileActionsOpenWithDefault.d.ts +1 -1
  97. package/dist/src/composables/actions/files/useFileActionsPaste.d.ts +1 -1
  98. package/dist/src/composables/actions/files/useFileActionsRename.d.ts +2 -2
  99. package/dist/src/composables/actions/files/useFileActionsRestore.d.ts +2 -2
  100. package/dist/src/composables/actions/files/useFileActionsSaveAs.d.ts +1 -1
  101. package/dist/src/composables/actions/files/useFileActionsSetImage.d.ts +1 -1
  102. package/dist/src/composables/actions/files/useFileActionsShowActions.d.ts +1 -1
  103. package/dist/src/composables/actions/files/useFileActionsShowDetails.d.ts +1 -1
  104. package/dist/src/composables/actions/files/useFileActionsShowShares.d.ts +1 -1
  105. package/dist/src/composables/actions/files/useFileActionsToggleHideShare.d.ts +1 -1
  106. package/dist/src/composables/actions/files/useFileActionsUndoDelete.d.ts +2 -2
  107. package/dist/src/composables/actions/helpers/useIsAppActive.d.ts +1 -1
  108. package/dist/src/composables/actions/helpers/useIsFilesAppActive.d.ts +1 -1
  109. package/dist/src/composables/actions/helpers/useIsSearchActive.d.ts +1 -1
  110. package/dist/src/composables/actions/spaces/useSpaceActionsCreate.d.ts +1 -1
  111. package/dist/src/composables/actions/spaces/useSpaceActionsDelete.d.ts +1 -1
  112. package/dist/src/composables/actions/spaces/useSpaceActionsDeleteImage.d.ts +1 -1
  113. package/dist/src/composables/actions/spaces/useSpaceActionsDisable.d.ts +1 -1
  114. package/dist/src/composables/actions/spaces/useSpaceActionsDuplicate.d.ts +1 -1
  115. package/dist/src/composables/actions/spaces/useSpaceActionsEditDescription.d.ts +1 -1
  116. package/dist/src/composables/actions/spaces/useSpaceActionsEditQuota.d.ts +1 -1
  117. package/dist/src/composables/actions/spaces/useSpaceActionsEditReadmeContent.d.ts +1 -1
  118. package/dist/src/composables/actions/spaces/useSpaceActionsNavigateToTrash.d.ts +1 -1
  119. package/dist/src/composables/actions/spaces/useSpaceActionsRename.d.ts +1 -1
  120. package/dist/src/composables/actions/spaces/useSpaceActionsRestore.d.ts +1 -1
  121. package/dist/src/composables/actions/spaces/useSpaceActionsSetIcon.d.ts +1 -1
  122. package/dist/src/composables/actions/spaces/useSpaceActionsShowMembers.d.ts +1 -1
  123. package/dist/src/composables/actions/useActionsShowDetails.d.ts +1 -1
  124. package/dist/src/composables/appDefaults/useAppConfig.d.ts +1 -1
  125. package/dist/src/composables/appDefaults/useAppDocumentTitle.d.ts +2 -1
  126. package/dist/src/composables/appDefaults/useAppFileHandling.d.ts +4 -2
  127. package/dist/src/composables/appDefaults/useAppMeta.d.ts +1 -1
  128. package/dist/src/composables/authContext/useAuthService.d.ts +3 -1
  129. package/dist/src/composables/authContext/useRequest.d.ts +2 -2
  130. package/dist/src/composables/driveResolver/useSpacesLoading.d.ts +1 -1
  131. package/dist/src/composables/embedMode/useEmbedMode.d.ts +8 -8
  132. package/dist/src/composables/eventBus/useEventBus.d.ts +1 -1
  133. package/dist/src/composables/filesList/useResourceRouteResolver.d.ts +1 -1
  134. package/dist/src/composables/folderLink/useFolderLink.d.ts +2 -2
  135. package/dist/src/composables/isTopBarSticky/useIsTopBarSticky.d.ts +1 -1
  136. package/dist/src/composables/keyboardActions/useInterceptModifierClick.d.ts +1 -1
  137. package/dist/src/composables/links/useLinkTypes.d.ts +1 -1
  138. package/dist/src/composables/localStorage/useLocalStorage.d.ts +1 -1
  139. package/dist/src/composables/navItems/useNavItems.d.ts +1 -1
  140. package/dist/src/composables/piniaStores/apps.d.ts +31 -31
  141. package/dist/src/composables/piniaStores/auth.d.ts +25 -25
  142. package/dist/src/composables/piniaStores/avatars.d.ts +9 -9
  143. package/dist/src/composables/piniaStores/capabilities.d.ts +160 -160
  144. package/dist/src/composables/piniaStores/clipboard.d.ts +49 -49
  145. package/dist/src/composables/piniaStores/config/config.d.ts +135 -141
  146. package/dist/src/composables/piniaStores/config/types.d.ts +6 -20
  147. package/dist/src/composables/piniaStores/extensionRegistry/extensionPreferences.d.ts +4 -4
  148. package/dist/src/composables/piniaStores/extensionRegistry/extensionRegistry.d.ts +1 -1
  149. package/dist/src/composables/piniaStores/groupware/accounts.d.ts +511 -0
  150. package/dist/src/composables/piniaStores/{groupwareConfig/groupwareConfig.d.ts → groupware/config.d.ts} +107 -80
  151. package/dist/src/composables/piniaStores/groupware/index.d.ts +3 -0
  152. package/dist/src/composables/piniaStores/{groupwareConfig → groupware}/types.d.ts +30 -18
  153. package/dist/src/composables/piniaStores/index.d.ts +1 -1
  154. package/dist/src/composables/piniaStores/messages.d.ts +70 -70
  155. package/dist/src/composables/piniaStores/modals.d.ts +197 -209
  156. package/dist/src/composables/piniaStores/resources.d.ts +11 -11
  157. package/dist/src/composables/piniaStores/shares/shares.d.ts +1 -1
  158. package/dist/src/composables/piniaStores/shares/types.d.ts +2 -1
  159. package/dist/src/composables/piniaStores/sideBar.d.ts +7 -7
  160. package/dist/src/composables/piniaStores/spaces.d.ts +189 -188
  161. package/dist/src/composables/piniaStores/theme.d.ts +10 -10
  162. package/dist/src/composables/piniaStores/updates.d.ts +10 -10
  163. package/dist/src/composables/piniaStores/user.d.ts +5 -5
  164. package/dist/src/composables/piniaStores/webWorkers.d.ts +1 -1
  165. package/dist/src/composables/requestHeaders/useRequestHeaders.d.ts +1 -1
  166. package/dist/src/composables/resources/useGetResourceContext.d.ts +26 -26
  167. package/dist/src/composables/resources/useLoadPreview.d.ts +1 -1
  168. package/dist/src/composables/resources/useResourceContents.d.ts +1 -1
  169. package/dist/src/composables/resources/useResourceIndicators.d.ts +12 -1
  170. package/dist/src/composables/resources/useResourceViewDrag.d.ts +23 -13
  171. package/dist/src/composables/resources/useResourceViewHelpers.d.ts +30 -20
  172. package/dist/src/composables/resources/useResourceViewSelection.d.ts +2 -2
  173. package/dist/src/composables/selection/useSelectedResources.d.ts +2 -1
  174. package/dist/src/composables/spaces/useCreateSpace.d.ts +1 -1
  175. package/dist/src/composables/spaces/useSpaceHelpers.d.ts +1 -1
  176. package/dist/src/composables/webWorkers/deleteWorker/useDeleteWorker.d.ts +1 -1
  177. package/dist/src/composables/webWorkers/pasteWorker/usePasteWorker.d.ts +2 -2
  178. package/dist/src/composables/webWorkers/restoreWorker/useRestoreWorker.d.ts +1 -1
  179. package/dist/src/composables/webWorkers/tokenTimerWorker/useTokenTimerWorker.d.ts +3 -1
  180. package/dist/src/extensionPoints.d.ts +1 -1
  181. package/dist/src/helpers/resource/conflictHandling/conflictDialog.d.ts +1 -1
  182. package/dist/src/helpers/resource/conflictHandling/transfer.d.ts +4 -4
  183. package/dist/src/helpers/resource/conflictHandling/types.d.ts +1 -1
  184. package/dist/src/helpers/share/driveItem.d.ts +1 -1
  185. package/dist/src/router/common.d.ts +1 -1
  186. package/dist/src/router/index.d.ts +2 -1
  187. package/dist/src/router/public.d.ts +1 -1
  188. package/dist/src/router/shares.d.ts +1 -1
  189. package/dist/src/router/spaces.d.ts +1 -1
  190. package/dist/src/router/trash.d.ts +1 -1
  191. package/dist/src/services/passwordPolicy/rules.d.ts +63 -0
  192. package/dist/src/services/preview/types.d.ts +1 -1
  193. package/dist/src/services/uppy/DropTarget/plugin.d.ts +2 -1
  194. package/dist/src/services/uppy/uppyService.d.ts +3 -3
  195. package/dist/web-pkg.js +4251 -352
  196. package/package.json +36 -37
  197. package/dist/TextEditor-D-HQDUkm.js +0 -865
  198. package/dist/assets/worker-BBQqm_-D.js +0 -1
  199. package/dist/assets/worker-CVwKToFD.js +0 -21
  200. package/dist/assets/worker-DJbU-qfq.js +0 -21
  201. package/dist/assets/worker-DyU7W9CZ.js +0 -21
  202. package/dist/index-OU30YA6H.js +0 -25032
  203. package/dist/src/composables/piniaStores/groupwareConfig/index.d.ts +0 -2
  204. package/dist/web-pkg.umd.cjs +0 -16
@@ -3,6 +3,7 @@ declare const CustomTranslationSchema: z.ZodObject<{
3
3
  url: z.ZodString;
4
4
  }, z.core.$strip>;
5
5
  export type CustomTranslation = z.infer<typeof CustomTranslationSchema>;
6
+ /** @deprecated */
6
7
  declare const OAuth2ConfigSchema: z.ZodObject<{
7
8
  apiUrl: z.ZodOptional<z.ZodString>;
8
9
  authUrl: z.ZodOptional<z.ZodString>;
@@ -12,17 +13,9 @@ declare const OAuth2ConfigSchema: z.ZodObject<{
12
13
  metaDataUrl: z.ZodOptional<z.ZodString>;
13
14
  url: z.ZodOptional<z.ZodString>;
14
15
  }, z.core.$strip>;
16
+ /** @deprecated */
15
17
  export type OAuth2Config = z.infer<typeof OAuth2ConfigSchema>;
16
- declare const OpenIdConnectConfigSchema: z.ZodObject<{
17
- authority: z.ZodOptional<z.ZodString>;
18
- client_id: z.ZodOptional<z.ZodString>;
19
- client_secret: z.ZodOptional<z.ZodString>;
20
- dynamic: z.ZodOptional<z.ZodString>;
21
- metadata_url: z.ZodOptional<z.ZodString>;
22
- post_logout_redirect_uri: z.ZodOptional<z.ZodString>;
23
- response_type: z.ZodOptional<z.ZodString>;
24
- scope: z.ZodOptional<z.ZodString>;
25
- }, z.core.$loose>;
18
+ declare const OpenIdConnectConfigSchema: z.ZodObject<{}, z.core.$loose>;
26
19
  export type OpenIdConnectConfig = z.infer<typeof OpenIdConnectConfigSchema>;
27
20
  declare const SentryConfigSchema: z.ZodRecord<z.ZodAny, z.ZodAny>;
28
21
  export type SentryConfig = z.infer<typeof SentryConfigSchema>;
@@ -37,6 +30,7 @@ declare const ScriptConfigSchema: z.ZodObject<{
37
30
  export type ScriptConfig = z.infer<typeof ScriptConfigSchema>;
38
31
  declare const OptionsConfigSchema: z.ZodObject<{
39
32
  cernFeatures: z.ZodOptional<z.ZodBoolean>;
33
+ openFilesInNewTab: z.ZodOptional<z.ZodBoolean>;
40
34
  concurrentRequests: z.ZodOptional<z.ZodObject<{
41
35
  resourceBatchActions: z.ZodOptional<z.ZodNumber>;
42
36
  sse: z.ZodOptional<z.ZodNumber>;
@@ -98,6 +92,7 @@ export declare const RawConfigSchema: z.ZodObject<{
98
92
  theme: z.ZodString;
99
93
  options: z.ZodObject<{
100
94
  cernFeatures: z.ZodOptional<z.ZodBoolean>;
95
+ openFilesInNewTab: z.ZodOptional<z.ZodBoolean>;
101
96
  concurrentRequests: z.ZodOptional<z.ZodObject<{
102
97
  resourceBatchActions: z.ZodOptional<z.ZodNumber>;
103
98
  sse: z.ZodOptional<z.ZodNumber>;
@@ -171,16 +166,7 @@ export declare const RawConfigSchema: z.ZodObject<{
171
166
  metaDataUrl: z.ZodOptional<z.ZodString>;
172
167
  url: z.ZodOptional<z.ZodString>;
173
168
  }, z.core.$strip>>;
174
- openIdConnect: z.ZodOptional<z.ZodObject<{
175
- authority: z.ZodOptional<z.ZodString>;
176
- client_id: z.ZodOptional<z.ZodString>;
177
- client_secret: z.ZodOptional<z.ZodString>;
178
- dynamic: z.ZodOptional<z.ZodString>;
179
- metadata_url: z.ZodOptional<z.ZodString>;
180
- post_logout_redirect_uri: z.ZodOptional<z.ZodString>;
181
- response_type: z.ZodOptional<z.ZodString>;
182
- scope: z.ZodOptional<z.ZodString>;
183
- }, z.core.$loose>>;
169
+ openIdConnect: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
184
170
  sentry: z.ZodOptional<z.ZodRecord<z.ZodAny, z.ZodAny>>;
185
171
  scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
186
172
  async: z.ZodOptional<z.ZodBoolean>;
@@ -3,18 +3,18 @@ export interface ExtensionPreferenceItem {
3
3
  extensionPointId: string;
4
4
  selectedExtensionIds: string[];
5
5
  }
6
- export declare const useExtensionPreferencesStore: import('pinia').StoreDefinition<"extensionPreferences", Pick<{
7
- extensionPreferences: import('@vueuse/core').RemovableRef<Record<string, ExtensionPreferenceItem>>;
6
+ export declare const useExtensionPreferencesStore: import("pinia").StoreDefinition<"extensionPreferences", Pick<{
7
+ extensionPreferences: import("@vueuse/core").RemovableRef<Record<string, ExtensionPreferenceItem>>;
8
8
  extractDefaultExtensionIds: (extensionPoint: ExtensionPoint<Extension>, extensions: Extension[]) => string[];
9
9
  getExtensionPreference: (extensionPointId: string, defaultExtensionIds: string[]) => ExtensionPreferenceItem;
10
10
  setSelectedExtensionIds: (extensionPointId: string, extensionIds: string[]) => void;
11
11
  }, "extensionPreferences">, Pick<{
12
- extensionPreferences: import('@vueuse/core').RemovableRef<Record<string, ExtensionPreferenceItem>>;
12
+ extensionPreferences: import("@vueuse/core").RemovableRef<Record<string, ExtensionPreferenceItem>>;
13
13
  extractDefaultExtensionIds: (extensionPoint: ExtensionPoint<Extension>, extensions: Extension[]) => string[];
14
14
  getExtensionPreference: (extensionPointId: string, defaultExtensionIds: string[]) => ExtensionPreferenceItem;
15
15
  setSelectedExtensionIds: (extensionPointId: string, extensionIds: string[]) => void;
16
16
  }, never>, Pick<{
17
- extensionPreferences: import('@vueuse/core').RemovableRef<Record<string, ExtensionPreferenceItem>>;
17
+ extensionPreferences: import("@vueuse/core").RemovableRef<Record<string, ExtensionPreferenceItem>>;
18
18
  extractDefaultExtensionIds: (extensionPoint: ExtensionPoint<Extension>, extensions: Extension[]) => string[];
19
19
  getExtensionPreference: (extensionPointId: string, defaultExtensionIds: string[]) => ExtensionPreferenceItem;
20
20
  setSelectedExtensionIds: (extensionPointId: string, extensionIds: string[]) => void;
@@ -1,6 +1,6 @@
1
1
  import { Ref } from 'vue';
2
2
  import { Extension, ExtensionPoint, ExtensionType } from './types';
3
- export declare const useExtensionRegistry: import('pinia').StoreDefinition<"extensionRegistry", Pick<{
3
+ export declare const useExtensionRegistry: import("pinia").StoreDefinition<"extensionRegistry", Pick<{
4
4
  extensions: Ref<Ref<Extension[], Extension[]>[], Ref<Extension[], Extension[]>[]>;
5
5
  registerExtensions: (e: Ref<Extension[]>) => void;
6
6
  unregisterExtensions: (ids: string[]) => void;
@@ -0,0 +1,511 @@
1
+ import { GroupwareAccount } from './types';
2
+ import { HttpClient } from '../../../http';
3
+ export declare const useGroupwareAccountsStore: import("pinia").StoreDefinition<"accounts", Pick<{
4
+ accounts: import("vue").Ref<{
5
+ accountId: string;
6
+ name: string;
7
+ isPersonal: boolean;
8
+ isReadOnly: boolean;
9
+ identities: {
10
+ id: string;
11
+ textSignature: string;
12
+ htmlSignature: string;
13
+ name?: string;
14
+ email?: string;
15
+ mayDelete?: boolean;
16
+ }[];
17
+ capabilities?: {
18
+ mail?: {
19
+ maxMailboxDepth: number;
20
+ maxSizeMailboxName: number;
21
+ maxMailboxesPerEmail: number;
22
+ maxSizeAttachmentsPerEmail: number;
23
+ mayCreateTopLevelMailbox: boolean;
24
+ maxDelayedSend: number;
25
+ };
26
+ sieve?: {
27
+ maxSizeScriptName: number;
28
+ maxSizeScript: number;
29
+ maxNumberScripts: number;
30
+ maxNumberRedirects: number;
31
+ };
32
+ };
33
+ accountCapabilities?: Record<string, Record<string, never>>;
34
+ }[], {
35
+ accountId: string;
36
+ name: string;
37
+ isPersonal: boolean;
38
+ isReadOnly: boolean;
39
+ identities: {
40
+ id: string;
41
+ textSignature: string;
42
+ htmlSignature: string;
43
+ name?: string;
44
+ email?: string;
45
+ mayDelete?: boolean;
46
+ }[];
47
+ capabilities?: {
48
+ mail?: {
49
+ maxMailboxDepth: number;
50
+ maxSizeMailboxName: number;
51
+ maxMailboxesPerEmail: number;
52
+ maxSizeAttachmentsPerEmail: number;
53
+ mayCreateTopLevelMailbox: boolean;
54
+ maxDelayedSend: number;
55
+ };
56
+ sieve?: {
57
+ maxSizeScriptName: number;
58
+ maxSizeScript: number;
59
+ maxNumberScripts: number;
60
+ maxNumberRedirects: number;
61
+ };
62
+ };
63
+ accountCapabilities?: Record<string, Record<string, never>>;
64
+ }[] | {
65
+ accountId: string;
66
+ name: string;
67
+ isPersonal: boolean;
68
+ isReadOnly: boolean;
69
+ identities: {
70
+ id: string;
71
+ textSignature: string;
72
+ htmlSignature: string;
73
+ name?: string;
74
+ email?: string;
75
+ mayDelete?: boolean;
76
+ }[];
77
+ capabilities?: {
78
+ mail?: {
79
+ maxMailboxDepth: number;
80
+ maxSizeMailboxName: number;
81
+ maxMailboxesPerEmail: number;
82
+ maxSizeAttachmentsPerEmail: number;
83
+ mayCreateTopLevelMailbox: boolean;
84
+ maxDelayedSend: number;
85
+ };
86
+ sieve?: {
87
+ maxSizeScriptName: number;
88
+ maxSizeScript: number;
89
+ maxNumberScripts: number;
90
+ maxNumberRedirects: number;
91
+ };
92
+ };
93
+ accountCapabilities?: Record<string, Record<string, never>>;
94
+ }[]>;
95
+ currentAccount: import("vue").ComputedRef<{
96
+ accountId: string;
97
+ name: string;
98
+ isPersonal: boolean;
99
+ isReadOnly: boolean;
100
+ identities: {
101
+ id: string;
102
+ textSignature: string;
103
+ htmlSignature: string;
104
+ name?: string;
105
+ email?: string;
106
+ mayDelete?: boolean;
107
+ }[];
108
+ capabilities?: {
109
+ mail?: {
110
+ maxMailboxDepth: number;
111
+ maxSizeMailboxName: number;
112
+ maxMailboxesPerEmail: number;
113
+ maxSizeAttachmentsPerEmail: number;
114
+ mayCreateTopLevelMailbox: boolean;
115
+ maxDelayedSend: number;
116
+ };
117
+ sieve?: {
118
+ maxSizeScriptName: number;
119
+ maxSizeScript: number;
120
+ maxNumberScripts: number;
121
+ maxNumberRedirects: number;
122
+ };
123
+ };
124
+ accountCapabilities?: Record<string, Record<string, never>>;
125
+ }>;
126
+ updateAccountField: <T extends GroupwareAccount>({ id, field, value }: {
127
+ id: T["accountId"];
128
+ field: keyof T;
129
+ value: T[keyof T];
130
+ }) => void;
131
+ setAccounts: (data: GroupwareAccount[]) => void;
132
+ upsertAccount: (data: GroupwareAccount) => void;
133
+ removeAccounts: (values: GroupwareAccount[]) => void;
134
+ setCurrentAccount: (data: GroupwareAccount) => void;
135
+ reset: () => void;
136
+ loadAccounts: (client: HttpClient) => Promise<{
137
+ accountId: string;
138
+ name: string;
139
+ isPersonal: boolean;
140
+ isReadOnly: boolean;
141
+ identities: {
142
+ id: string;
143
+ textSignature: string;
144
+ htmlSignature: string;
145
+ name?: string;
146
+ email?: string;
147
+ mayDelete?: boolean;
148
+ }[];
149
+ capabilities?: {
150
+ mail?: {
151
+ maxMailboxDepth: number;
152
+ maxSizeMailboxName: number;
153
+ maxMailboxesPerEmail: number;
154
+ maxSizeAttachmentsPerEmail: number;
155
+ mayCreateTopLevelMailbox: boolean;
156
+ maxDelayedSend: number;
157
+ };
158
+ sieve?: {
159
+ maxSizeScriptName: number;
160
+ maxSizeScript: number;
161
+ maxNumberScripts: number;
162
+ maxNumberRedirects: number;
163
+ };
164
+ };
165
+ accountCapabilities?: Record<string, Record<string, never>>;
166
+ }[]>;
167
+ loadCurrentAccount: ({ client, query }: {
168
+ client: HttpClient;
169
+ query?: string;
170
+ }) => Promise<void>;
171
+ isLoading: import("vue").ComputedRef<boolean>;
172
+ }, "accounts">, Pick<{
173
+ accounts: import("vue").Ref<{
174
+ accountId: string;
175
+ name: string;
176
+ isPersonal: boolean;
177
+ isReadOnly: boolean;
178
+ identities: {
179
+ id: string;
180
+ textSignature: string;
181
+ htmlSignature: string;
182
+ name?: string;
183
+ email?: string;
184
+ mayDelete?: boolean;
185
+ }[];
186
+ capabilities?: {
187
+ mail?: {
188
+ maxMailboxDepth: number;
189
+ maxSizeMailboxName: number;
190
+ maxMailboxesPerEmail: number;
191
+ maxSizeAttachmentsPerEmail: number;
192
+ mayCreateTopLevelMailbox: boolean;
193
+ maxDelayedSend: number;
194
+ };
195
+ sieve?: {
196
+ maxSizeScriptName: number;
197
+ maxSizeScript: number;
198
+ maxNumberScripts: number;
199
+ maxNumberRedirects: number;
200
+ };
201
+ };
202
+ accountCapabilities?: Record<string, Record<string, never>>;
203
+ }[], {
204
+ accountId: string;
205
+ name: string;
206
+ isPersonal: boolean;
207
+ isReadOnly: boolean;
208
+ identities: {
209
+ id: string;
210
+ textSignature: string;
211
+ htmlSignature: string;
212
+ name?: string;
213
+ email?: string;
214
+ mayDelete?: boolean;
215
+ }[];
216
+ capabilities?: {
217
+ mail?: {
218
+ maxMailboxDepth: number;
219
+ maxSizeMailboxName: number;
220
+ maxMailboxesPerEmail: number;
221
+ maxSizeAttachmentsPerEmail: number;
222
+ mayCreateTopLevelMailbox: boolean;
223
+ maxDelayedSend: number;
224
+ };
225
+ sieve?: {
226
+ maxSizeScriptName: number;
227
+ maxSizeScript: number;
228
+ maxNumberScripts: number;
229
+ maxNumberRedirects: number;
230
+ };
231
+ };
232
+ accountCapabilities?: Record<string, Record<string, never>>;
233
+ }[] | {
234
+ accountId: string;
235
+ name: string;
236
+ isPersonal: boolean;
237
+ isReadOnly: boolean;
238
+ identities: {
239
+ id: string;
240
+ textSignature: string;
241
+ htmlSignature: string;
242
+ name?: string;
243
+ email?: string;
244
+ mayDelete?: boolean;
245
+ }[];
246
+ capabilities?: {
247
+ mail?: {
248
+ maxMailboxDepth: number;
249
+ maxSizeMailboxName: number;
250
+ maxMailboxesPerEmail: number;
251
+ maxSizeAttachmentsPerEmail: number;
252
+ mayCreateTopLevelMailbox: boolean;
253
+ maxDelayedSend: number;
254
+ };
255
+ sieve?: {
256
+ maxSizeScriptName: number;
257
+ maxSizeScript: number;
258
+ maxNumberScripts: number;
259
+ maxNumberRedirects: number;
260
+ };
261
+ };
262
+ accountCapabilities?: Record<string, Record<string, never>>;
263
+ }[]>;
264
+ currentAccount: import("vue").ComputedRef<{
265
+ accountId: string;
266
+ name: string;
267
+ isPersonal: boolean;
268
+ isReadOnly: boolean;
269
+ identities: {
270
+ id: string;
271
+ textSignature: string;
272
+ htmlSignature: string;
273
+ name?: string;
274
+ email?: string;
275
+ mayDelete?: boolean;
276
+ }[];
277
+ capabilities?: {
278
+ mail?: {
279
+ maxMailboxDepth: number;
280
+ maxSizeMailboxName: number;
281
+ maxMailboxesPerEmail: number;
282
+ maxSizeAttachmentsPerEmail: number;
283
+ mayCreateTopLevelMailbox: boolean;
284
+ maxDelayedSend: number;
285
+ };
286
+ sieve?: {
287
+ maxSizeScriptName: number;
288
+ maxSizeScript: number;
289
+ maxNumberScripts: number;
290
+ maxNumberRedirects: number;
291
+ };
292
+ };
293
+ accountCapabilities?: Record<string, Record<string, never>>;
294
+ }>;
295
+ updateAccountField: <T extends GroupwareAccount>({ id, field, value }: {
296
+ id: T["accountId"];
297
+ field: keyof T;
298
+ value: T[keyof T];
299
+ }) => void;
300
+ setAccounts: (data: GroupwareAccount[]) => void;
301
+ upsertAccount: (data: GroupwareAccount) => void;
302
+ removeAccounts: (values: GroupwareAccount[]) => void;
303
+ setCurrentAccount: (data: GroupwareAccount) => void;
304
+ reset: () => void;
305
+ loadAccounts: (client: HttpClient) => Promise<{
306
+ accountId: string;
307
+ name: string;
308
+ isPersonal: boolean;
309
+ isReadOnly: boolean;
310
+ identities: {
311
+ id: string;
312
+ textSignature: string;
313
+ htmlSignature: string;
314
+ name?: string;
315
+ email?: string;
316
+ mayDelete?: boolean;
317
+ }[];
318
+ capabilities?: {
319
+ mail?: {
320
+ maxMailboxDepth: number;
321
+ maxSizeMailboxName: number;
322
+ maxMailboxesPerEmail: number;
323
+ maxSizeAttachmentsPerEmail: number;
324
+ mayCreateTopLevelMailbox: boolean;
325
+ maxDelayedSend: number;
326
+ };
327
+ sieve?: {
328
+ maxSizeScriptName: number;
329
+ maxSizeScript: number;
330
+ maxNumberScripts: number;
331
+ maxNumberRedirects: number;
332
+ };
333
+ };
334
+ accountCapabilities?: Record<string, Record<string, never>>;
335
+ }[]>;
336
+ loadCurrentAccount: ({ client, query }: {
337
+ client: HttpClient;
338
+ query?: string;
339
+ }) => Promise<void>;
340
+ isLoading: import("vue").ComputedRef<boolean>;
341
+ }, "isLoading" | "currentAccount">, Pick<{
342
+ accounts: import("vue").Ref<{
343
+ accountId: string;
344
+ name: string;
345
+ isPersonal: boolean;
346
+ isReadOnly: boolean;
347
+ identities: {
348
+ id: string;
349
+ textSignature: string;
350
+ htmlSignature: string;
351
+ name?: string;
352
+ email?: string;
353
+ mayDelete?: boolean;
354
+ }[];
355
+ capabilities?: {
356
+ mail?: {
357
+ maxMailboxDepth: number;
358
+ maxSizeMailboxName: number;
359
+ maxMailboxesPerEmail: number;
360
+ maxSizeAttachmentsPerEmail: number;
361
+ mayCreateTopLevelMailbox: boolean;
362
+ maxDelayedSend: number;
363
+ };
364
+ sieve?: {
365
+ maxSizeScriptName: number;
366
+ maxSizeScript: number;
367
+ maxNumberScripts: number;
368
+ maxNumberRedirects: number;
369
+ };
370
+ };
371
+ accountCapabilities?: Record<string, Record<string, never>>;
372
+ }[], {
373
+ accountId: string;
374
+ name: string;
375
+ isPersonal: boolean;
376
+ isReadOnly: boolean;
377
+ identities: {
378
+ id: string;
379
+ textSignature: string;
380
+ htmlSignature: string;
381
+ name?: string;
382
+ email?: string;
383
+ mayDelete?: boolean;
384
+ }[];
385
+ capabilities?: {
386
+ mail?: {
387
+ maxMailboxDepth: number;
388
+ maxSizeMailboxName: number;
389
+ maxMailboxesPerEmail: number;
390
+ maxSizeAttachmentsPerEmail: number;
391
+ mayCreateTopLevelMailbox: boolean;
392
+ maxDelayedSend: number;
393
+ };
394
+ sieve?: {
395
+ maxSizeScriptName: number;
396
+ maxSizeScript: number;
397
+ maxNumberScripts: number;
398
+ maxNumberRedirects: number;
399
+ };
400
+ };
401
+ accountCapabilities?: Record<string, Record<string, never>>;
402
+ }[] | {
403
+ accountId: string;
404
+ name: string;
405
+ isPersonal: boolean;
406
+ isReadOnly: boolean;
407
+ identities: {
408
+ id: string;
409
+ textSignature: string;
410
+ htmlSignature: string;
411
+ name?: string;
412
+ email?: string;
413
+ mayDelete?: boolean;
414
+ }[];
415
+ capabilities?: {
416
+ mail?: {
417
+ maxMailboxDepth: number;
418
+ maxSizeMailboxName: number;
419
+ maxMailboxesPerEmail: number;
420
+ maxSizeAttachmentsPerEmail: number;
421
+ mayCreateTopLevelMailbox: boolean;
422
+ maxDelayedSend: number;
423
+ };
424
+ sieve?: {
425
+ maxSizeScriptName: number;
426
+ maxSizeScript: number;
427
+ maxNumberScripts: number;
428
+ maxNumberRedirects: number;
429
+ };
430
+ };
431
+ accountCapabilities?: Record<string, Record<string, never>>;
432
+ }[]>;
433
+ currentAccount: import("vue").ComputedRef<{
434
+ accountId: string;
435
+ name: string;
436
+ isPersonal: boolean;
437
+ isReadOnly: boolean;
438
+ identities: {
439
+ id: string;
440
+ textSignature: string;
441
+ htmlSignature: string;
442
+ name?: string;
443
+ email?: string;
444
+ mayDelete?: boolean;
445
+ }[];
446
+ capabilities?: {
447
+ mail?: {
448
+ maxMailboxDepth: number;
449
+ maxSizeMailboxName: number;
450
+ maxMailboxesPerEmail: number;
451
+ maxSizeAttachmentsPerEmail: number;
452
+ mayCreateTopLevelMailbox: boolean;
453
+ maxDelayedSend: number;
454
+ };
455
+ sieve?: {
456
+ maxSizeScriptName: number;
457
+ maxSizeScript: number;
458
+ maxNumberScripts: number;
459
+ maxNumberRedirects: number;
460
+ };
461
+ };
462
+ accountCapabilities?: Record<string, Record<string, never>>;
463
+ }>;
464
+ updateAccountField: <T extends GroupwareAccount>({ id, field, value }: {
465
+ id: T["accountId"];
466
+ field: keyof T;
467
+ value: T[keyof T];
468
+ }) => void;
469
+ setAccounts: (data: GroupwareAccount[]) => void;
470
+ upsertAccount: (data: GroupwareAccount) => void;
471
+ removeAccounts: (values: GroupwareAccount[]) => void;
472
+ setCurrentAccount: (data: GroupwareAccount) => void;
473
+ reset: () => void;
474
+ loadAccounts: (client: HttpClient) => Promise<{
475
+ accountId: string;
476
+ name: string;
477
+ isPersonal: boolean;
478
+ isReadOnly: boolean;
479
+ identities: {
480
+ id: string;
481
+ textSignature: string;
482
+ htmlSignature: string;
483
+ name?: string;
484
+ email?: string;
485
+ mayDelete?: boolean;
486
+ }[];
487
+ capabilities?: {
488
+ mail?: {
489
+ maxMailboxDepth: number;
490
+ maxSizeMailboxName: number;
491
+ maxMailboxesPerEmail: number;
492
+ maxSizeAttachmentsPerEmail: number;
493
+ mayCreateTopLevelMailbox: boolean;
494
+ maxDelayedSend: number;
495
+ };
496
+ sieve?: {
497
+ maxSizeScriptName: number;
498
+ maxSizeScript: number;
499
+ maxNumberScripts: number;
500
+ maxNumberRedirects: number;
501
+ };
502
+ };
503
+ accountCapabilities?: Record<string, Record<string, never>>;
504
+ }[]>;
505
+ loadCurrentAccount: ({ client, query }: {
506
+ client: HttpClient;
507
+ query?: string;
508
+ }) => Promise<void>;
509
+ isLoading: import("vue").ComputedRef<boolean>;
510
+ }, "reset" | "updateAccountField" | "setAccounts" | "upsertAccount" | "removeAccounts" | "setCurrentAccount" | "loadAccounts" | "loadCurrentAccount">>;
511
+ export type GroupwareAccountsStore = ReturnType<typeof useGroupwareAccountsStore>;