@opencloud-eu/web-pkg 6.2.0 → 7.0.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 (97) hide show
  1. package/dist/assets/worker-BJYfkZQP.js +25 -0
  2. package/dist/assets/worker-CXvpBk--.js +25 -0
  3. package/dist/assets/worker-liEKqzWv.js +25 -0
  4. package/dist/{composables-CAlEpA5b.js → components-GUHsaO1-.js} +8084 -10608
  5. package/dist/src/components/Avatars/AvatarUpload.vue.d.ts +0 -1
  6. package/dist/src/components/ContextActions/ContextMenuQuickAction.vue.d.ts +15 -9
  7. package/dist/src/components/CreateShortcutModal.vue.d.ts +15 -9
  8. package/dist/src/components/ImageCropper.vue.d.ts +12 -0
  9. package/dist/src/components/Spaces/SpaceImageModal.vue.d.ts +0 -1
  10. package/dist/src/components/index.d.ts +0 -1
  11. package/dist/src/composables/actions/files/index.d.ts +0 -21
  12. package/dist/src/composables/actions/spaces/index.d.ts +0 -12
  13. package/dist/src/composables/actions/types.d.ts +8 -7
  14. package/dist/src/composables/breadcrumbs/useBreadcrumbsFromPath.d.ts +1 -3
  15. package/dist/src/composables/driveResolver/useDriveResolver.d.ts +0 -1
  16. package/dist/src/composables/keyboardActions/useCropperKeyboardActions.d.ts +2 -1
  17. package/dist/src/composables/piniaStores/auth.d.ts +24 -2
  18. package/dist/src/composables/piniaStores/capabilities.d.ts +1 -13
  19. package/dist/src/composables/piniaStores/config/config.d.ts +1 -91
  20. package/dist/src/composables/piniaStores/config/types.d.ts +0 -20
  21. package/dist/src/composables/piniaStores/extensionRegistry/extensionRegistry.d.ts +4 -1
  22. package/dist/src/composables/piniaStores/messages.d.ts +12 -12
  23. package/dist/src/composables/piniaStores/spaces.d.ts +1 -3
  24. package/dist/src/composables/piniaStores/theme.d.ts +1 -1
  25. package/dist/src/composables/router/useFileRouteReplace.d.ts +0 -2
  26. package/dist/src/composables/spaces/useGetMatchingSpace.d.ts +0 -4
  27. package/dist/src/editor/components/SlashCommandMenu.vue.d.ts +9 -0
  28. package/dist/src/editor/components/TextEditorContent.vue.d.ts +7 -0
  29. package/dist/src/editor/components/TextEditorProvider.vue.d.ts +17 -0
  30. package/dist/src/editor/components/TextEditorToolbar.vue.d.ts +3 -0
  31. package/dist/src/editor/composables/index.d.ts +3 -0
  32. package/dist/src/editor/composables/strategies/html.d.ts +3 -0
  33. package/dist/src/editor/composables/strategies/index.d.ts +5 -0
  34. package/dist/src/editor/composables/strategies/markdown.d.ts +3 -0
  35. package/dist/src/editor/composables/strategies/plainText.d.ts +3 -0
  36. package/dist/src/editor/composables/strategies/tiptapJson.d.ts +3 -0
  37. package/dist/src/editor/composables/strategies/types.d.ts +10 -0
  38. package/dist/src/editor/composables/useContentStrategy.d.ts +5 -0
  39. package/dist/src/editor/composables/useEditorActions.d.ts +75 -0
  40. package/dist/src/editor/composables/useTextEditor.d.ts +2 -0
  41. package/dist/src/editor/extensions/index.d.ts +1 -0
  42. package/dist/src/editor/extensions/slashCommands.d.ts +16 -0
  43. package/dist/src/editor/index.d.ts +5 -0
  44. package/dist/src/editor/types.d.ts +29 -0
  45. package/dist/src/helpers/groupwareResponse.d.ts +1 -0
  46. package/dist/src/helpers/index.d.ts +2 -0
  47. package/dist/src/helpers/router/routeOptions.d.ts +1 -7
  48. package/dist/src/helpers/virtualCursorElement.d.ts +1 -0
  49. package/dist/src/router/index.d.ts +2 -1
  50. package/dist/src/router/utils.d.ts +1 -6
  51. package/dist/src/types.d.ts +1 -0
  52. package/dist/src/utils/dummyGettext.d.ts +6 -0
  53. package/dist/src/utils/index.d.ts +1 -0
  54. package/dist/web-pkg/editor.js +1351 -0
  55. package/dist/web-pkg.css +3 -0
  56. package/dist/web-pkg.js +2860 -1481
  57. package/package.json +37 -10
  58. package/dist/TextEditor-CTRIgoeG.js +0 -819
  59. package/dist/assets/worker-Bv-mZ-VL.js +0 -25
  60. package/dist/assets/worker-Dx2ttEp-.js +0 -25
  61. package/dist/assets/worker-nUcRt7qV.js +0 -25
  62. package/dist/src/components/TextEditor/TextEditor.vue.d.ts +0 -18
  63. package/dist/src/components/TextEditor/index.d.ts +0 -17
  64. package/dist/src/components/TextEditor/l18n.d.ts +0 -3
  65. package/dist/src/composables/actions/files/useFileActionsCopy.d.ts +0 -4
  66. package/dist/src/composables/actions/files/useFileActionsCopyPermanentLink.d.ts +0 -4
  67. package/dist/src/composables/actions/files/useFileActionsCreateLink.d.ts +0 -6
  68. package/dist/src/composables/actions/files/useFileActionsCreateNewFile.d.ts +0 -10
  69. package/dist/src/composables/actions/files/useFileActionsCreateNewFolder.d.ts +0 -9
  70. package/dist/src/composables/actions/files/useFileActionsCreateNewShortcut.d.ts +0 -8
  71. package/dist/src/composables/actions/files/useFileActionsCreateSpaceFromResource.d.ts +0 -4
  72. package/dist/src/composables/actions/files/useFileActionsDisableSync.d.ts +0 -5
  73. package/dist/src/composables/actions/files/useFileActionsDownloadArchive.d.ts +0 -4
  74. package/dist/src/composables/actions/files/useFileActionsEmptyTrashBin.d.ts +0 -8
  75. package/dist/src/composables/actions/files/useFileActionsEnableSync.d.ts +0 -5
  76. package/dist/src/composables/actions/files/useFileActionsFavorite.d.ts +0 -4
  77. package/dist/src/composables/actions/files/useFileActionsMove.d.ts +0 -4
  78. package/dist/src/composables/actions/files/useFileActionsOpenShortcut.d.ts +0 -5
  79. package/dist/src/composables/actions/files/useFileActionsPaste.d.ts +0 -4
  80. package/dist/src/composables/actions/files/useFileActionsRename.d.ts +0 -6
  81. package/dist/src/composables/actions/files/useFileActionsSetImage.d.ts +0 -4
  82. package/dist/src/composables/actions/files/useFileActionsShowActions.d.ts +0 -4
  83. package/dist/src/composables/actions/files/useFileActionsShowDetails.d.ts +0 -4
  84. package/dist/src/composables/actions/files/useFileActionsShowShares.d.ts +0 -5
  85. package/dist/src/composables/actions/files/useFileActionsToggleHideShare.d.ts +0 -5
  86. package/dist/src/composables/actions/spaces/useSpaceActionsDelete.d.ts +0 -6
  87. package/dist/src/composables/actions/spaces/useSpaceActionsDeleteImage.d.ts +0 -8
  88. package/dist/src/composables/actions/spaces/useSpaceActionsDisable.d.ts +0 -6
  89. package/dist/src/composables/actions/spaces/useSpaceActionsDuplicate.d.ts +0 -6
  90. package/dist/src/composables/actions/spaces/useSpaceActionsEditDescription.d.ts +0 -6
  91. package/dist/src/composables/actions/spaces/useSpaceActionsEditQuota.d.ts +0 -4
  92. package/dist/src/composables/actions/spaces/useSpaceActionsEditReadmeContent.d.ts +0 -4
  93. package/dist/src/composables/actions/spaces/useSpaceActionsNavigateToTrash.d.ts +0 -4
  94. package/dist/src/composables/actions/spaces/useSpaceActionsRename.d.ts +0 -6
  95. package/dist/src/composables/actions/spaces/useSpaceActionsRestore.d.ts +0 -6
  96. package/dist/src/composables/actions/spaces/useSpaceActionsSetIcon.d.ts +0 -6
  97. package/dist/src/composables/actions/spaces/useSpaceActionsShowMembers.d.ts +0 -4
@@ -1,4 +1,3 @@
1
- import 'cropperjs/dist/cropper.css';
2
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>;
3
2
  declare const _default: typeof __VLS_export;
4
3
  export default _default;
@@ -17,12 +17,14 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
17
17
  onHideDrop?: () => any;
18
18
  onShowDrop?: () => any;
19
19
  }>, {
20
- show: ({ event, useMouseAnchor, noFocus }?: {
21
- event?: Event;
22
- useMouseAnchor?: boolean;
20
+ show: ({ anchorElement, noFocus }?: {
21
+ anchorElement?: HTMLElement | import("@floating-ui/dom").VirtualElement;
23
22
  noFocus?: boolean;
24
23
  }) => Promise<void>;
25
24
  hide: () => void;
25
+ update: ({ anchorElement }?: {
26
+ anchorElement?: HTMLElement | import("@floating-ui/dom").VirtualElement;
27
+ }) => Promise<void>;
26
28
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
27
29
  hideDrop: () => any;
28
30
  showDrop: () => any;
@@ -37,12 +39,14 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
37
39
  onHideDrop?: () => any;
38
40
  onShowDrop?: () => any;
39
41
  }>, {
40
- show: ({ event, useMouseAnchor, noFocus }?: {
41
- event?: Event;
42
- useMouseAnchor?: boolean;
42
+ show: ({ anchorElement, noFocus }?: {
43
+ anchorElement?: HTMLElement | import("@floating-ui/dom").VirtualElement;
43
44
  noFocus?: boolean;
44
45
  }) => Promise<void>;
45
46
  hide: () => void;
47
+ update: ({ anchorElement }?: {
48
+ anchorElement?: HTMLElement | import("@floating-ui/dom").VirtualElement;
49
+ }) => Promise<void>;
46
50
  }, {}, {}, {}, {}>;
47
51
  __isFragment?: never;
48
52
  __isTeleport?: never;
@@ -51,12 +55,14 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
51
55
  onHideDrop?: () => any;
52
56
  onShowDrop?: () => any;
53
57
  }>, {
54
- show: ({ event, useMouseAnchor, noFocus }?: {
55
- event?: Event;
56
- useMouseAnchor?: boolean;
58
+ show: ({ anchorElement, noFocus }?: {
59
+ anchorElement?: HTMLElement | import("@floating-ui/dom").VirtualElement;
57
60
  noFocus?: boolean;
58
61
  }) => Promise<void>;
59
62
  hide: () => void;
63
+ update: ({ anchorElement }?: {
64
+ anchorElement?: HTMLElement | import("@floating-ui/dom").VirtualElement;
65
+ }) => Promise<void>;
60
66
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
61
67
  hideDrop: () => any;
62
68
  showDrop: () => any;
@@ -21,12 +21,14 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
21
21
  onHideDrop?: () => any;
22
22
  onShowDrop?: () => any;
23
23
  }>, {
24
- show: ({ event, useMouseAnchor, noFocus }?: {
25
- event?: Event;
26
- useMouseAnchor?: boolean;
24
+ show: ({ anchorElement, noFocus }?: {
25
+ anchorElement?: HTMLElement | import("@floating-ui/dom").VirtualElement;
27
26
  noFocus?: boolean;
28
27
  }) => Promise<void>;
29
28
  hide: () => void;
29
+ update: ({ anchorElement }?: {
30
+ anchorElement?: HTMLElement | import("@floating-ui/dom").VirtualElement;
31
+ }) => Promise<void>;
30
32
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
31
33
  hideDrop: () => any;
32
34
  showDrop: () => any;
@@ -41,12 +43,14 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
41
43
  onHideDrop?: () => any;
42
44
  onShowDrop?: () => any;
43
45
  }>, {
44
- show: ({ event, useMouseAnchor, noFocus }?: {
45
- event?: Event;
46
- useMouseAnchor?: boolean;
46
+ show: ({ anchorElement, noFocus }?: {
47
+ anchorElement?: HTMLElement | import("@floating-ui/dom").VirtualElement;
47
48
  noFocus?: boolean;
48
49
  }) => Promise<void>;
49
50
  hide: () => void;
51
+ update: ({ anchorElement }?: {
52
+ anchorElement?: HTMLElement | import("@floating-ui/dom").VirtualElement;
53
+ }) => Promise<void>;
50
54
  }, {}, {}, {}, {}>;
51
55
  __isFragment?: never;
52
56
  __isTeleport?: never;
@@ -55,12 +59,14 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
55
59
  onHideDrop?: () => any;
56
60
  onShowDrop?: () => any;
57
61
  }>, {
58
- show: ({ event, useMouseAnchor, noFocus }?: {
59
- event?: Event;
60
- useMouseAnchor?: boolean;
62
+ show: ({ anchorElement, noFocus }?: {
63
+ anchorElement?: HTMLElement | import("@floating-ui/dom").VirtualElement;
61
64
  noFocus?: boolean;
62
65
  }) => Promise<void>;
63
66
  hide: () => void;
67
+ update: ({ anchorElement }?: {
68
+ anchorElement?: HTMLElement | import("@floating-ui/dom").VirtualElement;
69
+ }) => Promise<void>;
64
70
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
65
71
  hideDrop: () => any;
66
72
  showDrop: () => any;
@@ -0,0 +1,12 @@
1
+ import 'cropperjs';
2
+ type __VLS_Props = {
3
+ imageUrl: string;
4
+ aspectRatio?: number;
5
+ height?: string;
6
+ roundedSelection?: boolean;
7
+ };
8
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
9
+ getCroppedCanvas: (width?: number, height?: number) => Promise<HTMLCanvasElement>;
10
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
@@ -1,5 +1,4 @@
1
1
  import { Modal } from '../../composables';
2
- import 'cropperjs/dist/cropper.css';
3
2
  import { SpaceResource } from '@opencloud-eu/web-client';
4
3
  type __VLS_Props = {
5
4
  modal: Modal;
@@ -8,7 +8,6 @@ export * from './Modals';
8
8
  export * from './SideBar';
9
9
  export * from './Search';
10
10
  export * from './Spaces';
11
- export * from './TextEditor';
12
11
  export * from './Avatars';
13
12
  export { default as AppLoadingSpinner } from './AppLoadingSpinner.vue';
14
13
  export { default as AppTopBar } from './AppTopBar.vue';
@@ -1,31 +1,10 @@
1
1
  export * from './useFileActions';
2
- export * from './useFileActionsCopy';
3
- export * from './useFileActionsCopyPermanentLink';
4
- export * from './useFileActionsCreateLink';
5
- export * from './useFileActionsCreateNewFile';
6
- export * from './useFileActionsCreateNewFolder';
7
- export * from './useFileActionsCreateNewShortcut';
8
- export * from './useFileActionsCreateSpaceFromResource';
9
2
  export * from './useFileActionsDelete';
10
- export * from './useFileActionsDisableSync';
11
- export * from './useFileActionsDownloadArchive';
12
3
  export * from './useFileActionsDownloadFile';
13
- export * from './useFileActionsEmptyTrashBin';
14
- export * from './useFileActionsEnableSync';
15
- export * from './useFileActionsFavorite';
16
- export * from './useFileActionsMove';
17
4
  export * from './useFileActionsNavigate';
18
5
  export * from './useFileActionsOpenWithDefault';
19
- export * from './useFileActionsOpenShortcut';
20
6
  export * from './useFileActionsOpenWithApp';
21
- export * from './useFileActionsPaste';
22
- export * from './useFileActionsRename';
23
7
  export * from './useFileActionsRestore';
24
8
  export * from './useFileActionsSaveAs';
25
- export * from './useFileActionsSetImage';
26
- export * from './useFileActionsShowActions';
27
- export * from './useFileActionsShowDetails';
28
- export * from './useFileActionsShowShares';
29
- export * from './useFileActionsToggleHideShare';
30
9
  export * from './useFileActionsUndoDelete';
31
10
  export * from './useFileActionFallbackToDownload';
@@ -1,13 +1 @@
1
- export * from './useSpaceActionsDelete';
2
- export * from './useSpaceActionsDisable';
3
- export * from './useSpaceActionsDuplicate';
4
- export * from './useSpaceActionsEditDescription';
5
- export * from './useSpaceActionsEditQuota';
6
- export * from './useSpaceActionsEditReadmeContent';
7
- export * from './useSpaceActionsRename';
8
- export * from './useSpaceActionsRestore';
9
- export * from './useSpaceActionsShowMembers';
10
- export * from './useSpaceActionsNavigateToTrash';
11
- export * from './useSpaceActionsSetIcon';
12
- export * from './useSpaceActionsDeleteImage';
13
1
  export * from './useSpaceActionsCreate';
@@ -4,7 +4,7 @@ import { RouteLocationRaw } from 'vue-router';
4
4
  import { IconFillType } from '../../helpers';
5
5
  import { AppearanceType } from '@opencloud-eu/design-system/helpers';
6
6
  export type ActionOptions = Record<string, unknown | unknown[]>;
7
- type ActionCategory = 'actions' | 'context' | 'share' | 'sidebar';
7
+ type ActionCategory = 'primary' | 'secondary' | 'tertiary' | 'quaternary';
8
8
  /**
9
9
  * Generic action interface.
10
10
  * When implementing actions on your own, it's recommended to use the `ActionMenuItem`
@@ -17,14 +17,15 @@ export interface Action<T = ActionOptions> {
17
17
  name: string;
18
18
  /**
19
19
  * Determines where an action will be displayed in the resource context menu.
20
+ * Doesn't have an effect on actions that are not shown in the context menu.
20
21
  *
21
- * - actions: action will appear in the "actions" section of the resource context menu.
22
- * - context: action will appear in the "Open with..."-menu of the resource context menu.
23
- * It will also be the default when no other action is available for the given file type.
24
- * - share: action will appear in the "shares" section of the resource context menu.
25
- * - sidebar: action will appear in the "sidebar" section of the resource context menu.
22
+ * Categories:
23
+ * - primary: action will appear in primary action sections.
24
+ * - secondary: action will appear in secondary action sections.
25
+ * - tertiary: action will appear in tertiary action sections.
26
+ * - quaternary: action will appear in quaternary action sections.
26
27
  *
27
- * @default actions
28
+ * @default tertiary
28
29
  */
29
30
  category?: ActionCategory;
30
31
  /**
@@ -1,12 +1,10 @@
1
1
  import { RouteLocation } from 'vue-router';
2
2
  import { BreadcrumbItem } from '@opencloud-eu/design-system/helpers';
3
- import { SpaceResource } from '@opencloud-eu/web-client';
4
3
  import { Ref } from 'vue';
5
4
  import { AncestorMetaData } from '../../types';
6
5
  export declare const useBreadcrumbsFromPath: () => {
7
- breadcrumbsFromPath: ({ route, space, resourcePath, ancestorMetaData }: {
6
+ breadcrumbsFromPath: ({ route, resourcePath, ancestorMetaData }: {
8
7
  route: RouteLocation;
9
- space: Ref<SpaceResource>;
10
8
  resourcePath: string;
11
9
  ancestorMetaData?: Ref<AncestorMetaData>;
12
10
  }) => BreadcrumbItem[];
@@ -7,7 +7,6 @@ interface DriveResolverResult {
7
7
  space: Ref<SpaceResource>;
8
8
  item: Ref<string>;
9
9
  itemId: Ref<string>;
10
- loading: Ref<boolean>;
11
10
  }
12
11
  export declare const useDriveResolver: (options?: DriveResolverOptions) => DriveResolverResult;
13
12
  export {};
@@ -1,4 +1,5 @@
1
1
  import { Ref } from 'vue';
2
+ import type { CropperSelection, CropperImage } from 'cropperjs';
2
3
  export declare const useCropperKeyboardActions: () => {
3
- setCropperInstance: (cropper: Ref<Cropper>) => void;
4
+ setCropperInstance: (cropper: Ref<CropperSelection>, image?: Ref<CropperImage | null>) => void;
4
5
  };
@@ -1,4 +1,19 @@
1
1
  import { PublicLinkType } from '@opencloud-eu/web-client';
2
+ import { HttpClient } from '../../http';
3
+ import { z } from 'zod';
4
+ export declare const webFingerResponseSchema: z.ZodObject<{
5
+ subject: z.ZodString;
6
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
7
+ rel: z.ZodString;
8
+ href: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>>>;
10
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
11
+ }, z.core.$strip>;
12
+ interface WebfingerDiscoveryData {
13
+ authority: string;
14
+ client_id: string;
15
+ scope: string;
16
+ }
2
17
  export declare const useAuthStore: import("pinia").StoreDefinition<"auth", Pick<{
3
18
  accessToken: import("vue").Ref<string, string>;
4
19
  sessionId: import("vue").Ref<string, string>;
@@ -8,6 +23,7 @@ export declare const useAuthStore: import("pinia").StoreDefinition<"auth", Pick<
8
23
  publicLinkPassword: import("vue").Ref<string, string>;
9
24
  publicLinkType: import("vue").Ref<PublicLinkType, PublicLinkType>;
10
25
  publicLinkContextReady: import("vue").Ref<boolean, boolean>;
26
+ webfingerDiscoveryData: import("vue").Ref<WebfingerDiscoveryData, WebfingerDiscoveryData>;
11
27
  setAccessToken: (value: string) => void;
12
28
  setSessionId: (value: string) => void;
13
29
  setIdpContextReady: (value: boolean) => void;
@@ -20,7 +36,8 @@ export declare const useAuthStore: import("pinia").StoreDefinition<"auth", Pick<
20
36
  }) => void;
21
37
  clearUserContext: () => void;
22
38
  clearPublicLinkContext: () => void;
23
- }, "publicLinkPassword" | "publicLinkType" | "accessToken" | "sessionId" | "idpContextReady" | "userContextReady" | "publicLinkToken" | "publicLinkContextReady">, Pick<{
39
+ loadWebfingerDiscoveryData: (serverUrl: string, client: HttpClient) => Promise<void>;
40
+ }, "publicLinkPassword" | "publicLinkType" | "accessToken" | "sessionId" | "idpContextReady" | "userContextReady" | "publicLinkToken" | "publicLinkContextReady" | "webfingerDiscoveryData">, Pick<{
24
41
  accessToken: import("vue").Ref<string, string>;
25
42
  sessionId: import("vue").Ref<string, string>;
26
43
  idpContextReady: import("vue").Ref<boolean, boolean>;
@@ -29,6 +46,7 @@ export declare const useAuthStore: import("pinia").StoreDefinition<"auth", Pick<
29
46
  publicLinkPassword: import("vue").Ref<string, string>;
30
47
  publicLinkType: import("vue").Ref<PublicLinkType, PublicLinkType>;
31
48
  publicLinkContextReady: import("vue").Ref<boolean, boolean>;
49
+ webfingerDiscoveryData: import("vue").Ref<WebfingerDiscoveryData, WebfingerDiscoveryData>;
32
50
  setAccessToken: (value: string) => void;
33
51
  setSessionId: (value: string) => void;
34
52
  setIdpContextReady: (value: boolean) => void;
@@ -41,6 +59,7 @@ export declare const useAuthStore: import("pinia").StoreDefinition<"auth", Pick<
41
59
  }) => void;
42
60
  clearUserContext: () => void;
43
61
  clearPublicLinkContext: () => void;
62
+ loadWebfingerDiscoveryData: (serverUrl: string, client: HttpClient) => Promise<void>;
44
63
  }, never>, Pick<{
45
64
  accessToken: import("vue").Ref<string, string>;
46
65
  sessionId: import("vue").Ref<string, string>;
@@ -50,6 +69,7 @@ export declare const useAuthStore: import("pinia").StoreDefinition<"auth", Pick<
50
69
  publicLinkPassword: import("vue").Ref<string, string>;
51
70
  publicLinkType: import("vue").Ref<PublicLinkType, PublicLinkType>;
52
71
  publicLinkContextReady: import("vue").Ref<boolean, boolean>;
72
+ webfingerDiscoveryData: import("vue").Ref<WebfingerDiscoveryData, WebfingerDiscoveryData>;
53
73
  setAccessToken: (value: string) => void;
54
74
  setSessionId: (value: string) => void;
55
75
  setIdpContextReady: (value: boolean) => void;
@@ -62,5 +82,7 @@ export declare const useAuthStore: import("pinia").StoreDefinition<"auth", Pick<
62
82
  }) => void;
63
83
  clearUserContext: () => void;
64
84
  clearPublicLinkContext: () => void;
65
- }, "setAccessToken" | "setSessionId" | "setIdpContextReady" | "setUserContextReady" | "setPublicLinkContext" | "clearUserContext" | "clearPublicLinkContext">>;
85
+ loadWebfingerDiscoveryData: (serverUrl: string, client: HttpClient) => Promise<void>;
86
+ }, "setAccessToken" | "setSessionId" | "setIdpContextReady" | "setUserContextReady" | "setPublicLinkContext" | "clearUserContext" | "clearPublicLinkContext" | "loadWebfingerDiscoveryData">>;
66
87
  export type AuthStore = ReturnType<typeof useAuthStore>;
88
+ export {};
@@ -97,7 +97,6 @@ export declare const useCapabilityStore: import("pinia").StoreDefinition<"capabi
97
97
  max_num_files?: string;
98
98
  max_size?: string;
99
99
  }[];
100
- favorites?: boolean;
101
100
  full_text_search?: boolean;
102
101
  permanent_deletion?: boolean;
103
102
  privateLinks?: boolean;
@@ -230,7 +229,6 @@ export declare const useCapabilityStore: import("pinia").StoreDefinition<"capabi
230
229
  files: {
231
230
  app_providers?: AppProviderCapability[];
232
231
  archivers?: import("@opencloud-eu/web-client/ocs").ArchiverCapability[];
233
- favorites?: boolean;
234
232
  full_text_search?: boolean;
235
233
  permanent_deletion?: boolean;
236
234
  privateLinks?: boolean;
@@ -404,7 +402,6 @@ export declare const useCapabilityStore: import("pinia").StoreDefinition<"capabi
404
402
  max_num_files?: string;
405
403
  max_size?: string;
406
404
  }[];
407
- favorites?: boolean;
408
405
  full_text_search?: boolean;
409
406
  permanent_deletion?: boolean;
410
407
  privateLinks?: boolean;
@@ -529,7 +526,6 @@ export declare const useCapabilityStore: import("pinia").StoreDefinition<"capabi
529
526
  open_url?: string;
530
527
  version?: string;
531
528
  }[]>;
532
- filesFavorites: import("vue").ComputedRef<boolean>;
533
529
  filesArchivers: import("vue").ComputedRef<import("@opencloud-eu/web-client/ocs").ArchiverCapability[] | {
534
530
  enabled?: boolean;
535
531
  version?: string;
@@ -679,7 +675,6 @@ export declare const useCapabilityStore: import("pinia").StoreDefinition<"capabi
679
675
  max_num_files?: string;
680
676
  max_size?: string;
681
677
  }[];
682
- favorites?: boolean;
683
678
  full_text_search?: boolean;
684
679
  permanent_deletion?: boolean;
685
680
  privateLinks?: boolean;
@@ -812,7 +807,6 @@ export declare const useCapabilityStore: import("pinia").StoreDefinition<"capabi
812
807
  files: {
813
808
  app_providers?: AppProviderCapability[];
814
809
  archivers?: import("@opencloud-eu/web-client/ocs").ArchiverCapability[];
815
- favorites?: boolean;
816
810
  full_text_search?: boolean;
817
811
  permanent_deletion?: boolean;
818
812
  privateLinks?: boolean;
@@ -986,7 +980,6 @@ export declare const useCapabilityStore: import("pinia").StoreDefinition<"capabi
986
980
  max_num_files?: string;
987
981
  max_size?: string;
988
982
  }[];
989
- favorites?: boolean;
990
983
  full_text_search?: boolean;
991
984
  permanent_deletion?: boolean;
992
985
  privateLinks?: boolean;
@@ -1111,7 +1104,6 @@ export declare const useCapabilityStore: import("pinia").StoreDefinition<"capabi
1111
1104
  open_url?: string;
1112
1105
  version?: string;
1113
1106
  }[]>;
1114
- filesFavorites: import("vue").ComputedRef<boolean>;
1115
1107
  filesArchivers: import("vue").ComputedRef<import("@opencloud-eu/web-client/ocs").ArchiverCapability[] | {
1116
1108
  enabled?: boolean;
1117
1109
  version?: string;
@@ -1163,7 +1155,7 @@ export declare const useCapabilityStore: import("pinia").StoreDefinition<"capabi
1163
1155
  searchContent: import("vue").ComputedRef<import("@opencloud-eu/web-client/ocs").SearchPropertyCapability | {
1164
1156
  enabled?: boolean;
1165
1157
  }>;
1166
- }, "status" | "supportSSE" | "supportRadicale" | "personalDataExport" | "davReports" | "davTrashbin" | "spacesMaxQuota" | "spacesProjects" | "graphUsersCreateDisabled" | "graphUsersDeleteDisabled" | "graphUsersChangeSelfPasswordDisabled" | "graphUsersEditLoginAllowedDisabled" | "graphUsersReadOnlyAttributes" | "filesAppProviders" | "filesFavorites" | "filesArchivers" | "filesPrivateLinks" | "filesPermanentDeletion" | "filesTags" | "filesUndelete" | "sharingApiEnabled" | "sharingCanRename" | "sharingAllowCustom" | "sharingPublicEnabled" | "sharingPublicCanEdit" | "sharingPublicCanContribute" | "sharingPublicAlias" | "sharingPublicDefaultPermissions" | "sharingPublicPasswordEnforcedFor" | "sharingSearchMinLength" | "sharingUserProfilePicture" | "tusMaxChunkSize" | "tusExtension" | "tusHttpMethodOverride" | "notificationsOcsEndpoints" | "passwordPolicy" | "searchLastMofifiedDate" | "searchMediaType" | "searchContent">, Pick<{
1158
+ }, "status" | "supportSSE" | "supportRadicale" | "personalDataExport" | "davReports" | "davTrashbin" | "spacesMaxQuota" | "spacesProjects" | "graphUsersCreateDisabled" | "graphUsersDeleteDisabled" | "graphUsersChangeSelfPasswordDisabled" | "graphUsersEditLoginAllowedDisabled" | "graphUsersReadOnlyAttributes" | "filesAppProviders" | "filesArchivers" | "filesPrivateLinks" | "filesPermanentDeletion" | "filesTags" | "filesUndelete" | "sharingApiEnabled" | "sharingCanRename" | "sharingAllowCustom" | "sharingPublicEnabled" | "sharingPublicCanEdit" | "sharingPublicCanContribute" | "sharingPublicAlias" | "sharingPublicDefaultPermissions" | "sharingPublicPasswordEnforcedFor" | "sharingSearchMinLength" | "sharingUserProfilePicture" | "tusMaxChunkSize" | "tusExtension" | "tusHttpMethodOverride" | "notificationsOcsEndpoints" | "passwordPolicy" | "searchLastMofifiedDate" | "searchMediaType" | "searchContent">, Pick<{
1167
1159
  isInitialized: import("vue").Ref<boolean, boolean>;
1168
1160
  capabilities: import("vue").Ref<{
1169
1161
  checksums?: {
@@ -1261,7 +1253,6 @@ export declare const useCapabilityStore: import("pinia").StoreDefinition<"capabi
1261
1253
  max_num_files?: string;
1262
1254
  max_size?: string;
1263
1255
  }[];
1264
- favorites?: boolean;
1265
1256
  full_text_search?: boolean;
1266
1257
  permanent_deletion?: boolean;
1267
1258
  privateLinks?: boolean;
@@ -1394,7 +1385,6 @@ export declare const useCapabilityStore: import("pinia").StoreDefinition<"capabi
1394
1385
  files: {
1395
1386
  app_providers?: AppProviderCapability[];
1396
1387
  archivers?: import("@opencloud-eu/web-client/ocs").ArchiverCapability[];
1397
- favorites?: boolean;
1398
1388
  full_text_search?: boolean;
1399
1389
  permanent_deletion?: boolean;
1400
1390
  privateLinks?: boolean;
@@ -1568,7 +1558,6 @@ export declare const useCapabilityStore: import("pinia").StoreDefinition<"capabi
1568
1558
  max_num_files?: string;
1569
1559
  max_size?: string;
1570
1560
  }[];
1571
- favorites?: boolean;
1572
1561
  full_text_search?: boolean;
1573
1562
  permanent_deletion?: boolean;
1574
1563
  privateLinks?: boolean;
@@ -1693,7 +1682,6 @@ export declare const useCapabilityStore: import("pinia").StoreDefinition<"capabi
1693
1682
  open_url?: string;
1694
1683
  version?: string;
1695
1684
  }[]>;
1696
- filesFavorites: import("vue").ComputedRef<boolean>;
1697
1685
  filesArchivers: import("vue").ComputedRef<import("@opencloud-eu/web-client/ocs").ArchiverCapability[] | {
1698
1686
  enabled?: boolean;
1699
1687
  version?: string;
@@ -1,7 +1,6 @@
1
1
  import { RawConfig } from './types';
2
2
  export declare const useConfigStore: import("pinia").StoreDefinition<"config", Pick<{
3
3
  options: import("vue").Ref<{
4
- cernFeatures?: boolean;
5
4
  openFilesInNewTab?: boolean;
6
5
  concurrentRequests?: {
7
6
  resourceBatchActions?: number;
@@ -40,17 +39,8 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"config", P
40
39
  description?: string;
41
40
  href?: string;
42
41
  };
43
- isRunningOnEos?: boolean;
44
42
  loginUrl?: string;
45
43
  logoutUrl?: string;
46
- ocm?: {
47
- openRemotely?: boolean;
48
- };
49
- routing?: {
50
- fullShareOwnerPaths?: boolean;
51
- idBased?: boolean;
52
- };
53
- runningOnEos?: boolean;
54
44
  tokenStorageLocal?: boolean;
55
45
  upload?: {
56
46
  companionUrl?: string;
@@ -58,7 +48,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"config", P
58
48
  userListRequiresFilter?: boolean;
59
49
  hideLogo?: boolean;
60
50
  }, {
61
- cernFeatures?: boolean;
62
51
  openFilesInNewTab?: boolean;
63
52
  concurrentRequests?: {
64
53
  resourceBatchActions?: number;
@@ -97,17 +86,8 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"config", P
97
86
  description?: string;
98
87
  href?: string;
99
88
  };
100
- isRunningOnEos?: boolean;
101
89
  loginUrl?: string;
102
90
  logoutUrl?: string;
103
- ocm?: {
104
- openRemotely?: boolean;
105
- };
106
- routing?: {
107
- fullShareOwnerPaths?: boolean;
108
- idBased?: boolean;
109
- };
110
- runningOnEos?: boolean;
111
91
  tokenStorageLocal?: boolean;
112
92
  upload?: {
113
93
  companionUrl?: string;
@@ -115,7 +95,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"config", P
115
95
  userListRequiresFilter?: boolean;
116
96
  hideLogo?: boolean;
117
97
  } | {
118
- cernFeatures?: boolean;
119
98
  openFilesInNewTab?: boolean;
120
99
  concurrentRequests?: {
121
100
  resourceBatchActions?: number;
@@ -154,17 +133,8 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"config", P
154
133
  description?: string;
155
134
  href?: string;
156
135
  };
157
- isRunningOnEos?: boolean;
158
136
  loginUrl?: string;
159
137
  logoutUrl?: string;
160
- ocm?: {
161
- openRemotely?: boolean;
162
- };
163
- routing?: {
164
- fullShareOwnerPaths?: boolean;
165
- idBased?: boolean;
166
- };
167
- runningOnEos?: boolean;
168
138
  tokenStorageLocal?: boolean;
169
139
  upload?: {
170
140
  companionUrl?: string;
@@ -250,9 +220,8 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"config", P
250
220
  }>;
251
221
  /** @deprecated this is always false */
252
222
  isOAuth2: import("vue").ComputedRef<boolean>;
253
- }, "options" | "theme" | "apps" | "customTranslations" | "openIdConnect" | "sentry" | "scripts" | "styles" | "externalApps" | "oAuth2">, Pick<{
223
+ }, "options" | "apps" | "theme" | "customTranslations" | "openIdConnect" | "sentry" | "scripts" | "styles" | "externalApps" | "oAuth2">, Pick<{
254
224
  options: import("vue").Ref<{
255
- cernFeatures?: boolean;
256
225
  openFilesInNewTab?: boolean;
257
226
  concurrentRequests?: {
258
227
  resourceBatchActions?: number;
@@ -291,17 +260,8 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"config", P
291
260
  description?: string;
292
261
  href?: string;
293
262
  };
294
- isRunningOnEos?: boolean;
295
263
  loginUrl?: string;
296
264
  logoutUrl?: string;
297
- ocm?: {
298
- openRemotely?: boolean;
299
- };
300
- routing?: {
301
- fullShareOwnerPaths?: boolean;
302
- idBased?: boolean;
303
- };
304
- runningOnEos?: boolean;
305
265
  tokenStorageLocal?: boolean;
306
266
  upload?: {
307
267
  companionUrl?: string;
@@ -309,7 +269,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"config", P
309
269
  userListRequiresFilter?: boolean;
310
270
  hideLogo?: boolean;
311
271
  }, {
312
- cernFeatures?: boolean;
313
272
  openFilesInNewTab?: boolean;
314
273
  concurrentRequests?: {
315
274
  resourceBatchActions?: number;
@@ -348,17 +307,8 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"config", P
348
307
  description?: string;
349
308
  href?: string;
350
309
  };
351
- isRunningOnEos?: boolean;
352
310
  loginUrl?: string;
353
311
  logoutUrl?: string;
354
- ocm?: {
355
- openRemotely?: boolean;
356
- };
357
- routing?: {
358
- fullShareOwnerPaths?: boolean;
359
- idBased?: boolean;
360
- };
361
- runningOnEos?: boolean;
362
312
  tokenStorageLocal?: boolean;
363
313
  upload?: {
364
314
  companionUrl?: string;
@@ -366,7 +316,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"config", P
366
316
  userListRequiresFilter?: boolean;
367
317
  hideLogo?: boolean;
368
318
  } | {
369
- cernFeatures?: boolean;
370
319
  openFilesInNewTab?: boolean;
371
320
  concurrentRequests?: {
372
321
  resourceBatchActions?: number;
@@ -405,17 +354,8 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"config", P
405
354
  description?: string;
406
355
  href?: string;
407
356
  };
408
- isRunningOnEos?: boolean;
409
357
  loginUrl?: string;
410
358
  logoutUrl?: string;
411
- ocm?: {
412
- openRemotely?: boolean;
413
- };
414
- routing?: {
415
- fullShareOwnerPaths?: boolean;
416
- idBased?: boolean;
417
- };
418
- runningOnEos?: boolean;
419
359
  tokenStorageLocal?: boolean;
420
360
  upload?: {
421
361
  companionUrl?: string;
@@ -503,7 +443,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"config", P
503
443
  isOAuth2: import("vue").ComputedRef<boolean>;
504
444
  }, "serverUrl" | "groupwareUrl" | "isOIDC" | "isOAuth2">, Pick<{
505
445
  options: import("vue").Ref<{
506
- cernFeatures?: boolean;
507
446
  openFilesInNewTab?: boolean;
508
447
  concurrentRequests?: {
509
448
  resourceBatchActions?: number;
@@ -542,17 +481,8 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"config", P
542
481
  description?: string;
543
482
  href?: string;
544
483
  };
545
- isRunningOnEos?: boolean;
546
484
  loginUrl?: string;
547
485
  logoutUrl?: string;
548
- ocm?: {
549
- openRemotely?: boolean;
550
- };
551
- routing?: {
552
- fullShareOwnerPaths?: boolean;
553
- idBased?: boolean;
554
- };
555
- runningOnEos?: boolean;
556
486
  tokenStorageLocal?: boolean;
557
487
  upload?: {
558
488
  companionUrl?: string;
@@ -560,7 +490,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"config", P
560
490
  userListRequiresFilter?: boolean;
561
491
  hideLogo?: boolean;
562
492
  }, {
563
- cernFeatures?: boolean;
564
493
  openFilesInNewTab?: boolean;
565
494
  concurrentRequests?: {
566
495
  resourceBatchActions?: number;
@@ -599,17 +528,8 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"config", P
599
528
  description?: string;
600
529
  href?: string;
601
530
  };
602
- isRunningOnEos?: boolean;
603
531
  loginUrl?: string;
604
532
  logoutUrl?: string;
605
- ocm?: {
606
- openRemotely?: boolean;
607
- };
608
- routing?: {
609
- fullShareOwnerPaths?: boolean;
610
- idBased?: boolean;
611
- };
612
- runningOnEos?: boolean;
613
533
  tokenStorageLocal?: boolean;
614
534
  upload?: {
615
535
  companionUrl?: string;
@@ -617,7 +537,6 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"config", P
617
537
  userListRequiresFilter?: boolean;
618
538
  hideLogo?: boolean;
619
539
  } | {
620
- cernFeatures?: boolean;
621
540
  openFilesInNewTab?: boolean;
622
541
  concurrentRequests?: {
623
542
  resourceBatchActions?: number;
@@ -656,17 +575,8 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"config", P
656
575
  description?: string;
657
576
  href?: string;
658
577
  };
659
- isRunningOnEos?: boolean;
660
578
  loginUrl?: string;
661
579
  logoutUrl?: string;
662
- ocm?: {
663
- openRemotely?: boolean;
664
- };
665
- routing?: {
666
- fullShareOwnerPaths?: boolean;
667
- idBased?: boolean;
668
- };
669
- runningOnEos?: boolean;
670
580
  tokenStorageLocal?: boolean;
671
581
  upload?: {
672
582
  companionUrl?: string;