@opencloud-eu/web-pkg 6.2.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{worker-Bv-mZ-VL.js → worker-B8V6K8WY.js} +5 -5
- package/dist/assets/{worker-nUcRt7qV.js → worker-BjLAp2qA.js} +5 -5
- package/dist/assets/{worker-Dx2ttEp-.js → worker-Cz7k4ET0.js} +5 -5
- package/dist/{composables-CAlEpA5b.js → components-DGm07xAo.js} +8056 -10595
- package/dist/src/components/Avatars/AvatarUpload.vue.d.ts +0 -1
- package/dist/src/components/ContextActions/ContextMenuQuickAction.vue.d.ts +15 -9
- package/dist/src/components/CreateShortcutModal.vue.d.ts +15 -9
- package/dist/src/components/ImageCropper.vue.d.ts +12 -0
- package/dist/src/components/Spaces/SpaceImageModal.vue.d.ts +0 -1
- package/dist/src/components/index.d.ts +0 -1
- package/dist/src/composables/actions/files/index.d.ts +0 -21
- package/dist/src/composables/actions/spaces/index.d.ts +0 -12
- package/dist/src/composables/actions/types.d.ts +8 -7
- package/dist/src/composables/breadcrumbs/useBreadcrumbsFromPath.d.ts +1 -3
- package/dist/src/composables/driveResolver/useDriveResolver.d.ts +0 -1
- package/dist/src/composables/keyboardActions/useCropperKeyboardActions.d.ts +2 -1
- package/dist/src/composables/piniaStores/auth.d.ts +24 -2
- package/dist/src/composables/piniaStores/config/config.d.ts +1 -91
- package/dist/src/composables/piniaStores/config/types.d.ts +0 -20
- package/dist/src/composables/piniaStores/extensionRegistry/extensionRegistry.d.ts +4 -1
- package/dist/src/composables/piniaStores/messages.d.ts +12 -12
- package/dist/src/composables/piniaStores/spaces.d.ts +1 -3
- package/dist/src/composables/piniaStores/theme.d.ts +1 -1
- package/dist/src/composables/router/useFileRouteReplace.d.ts +0 -2
- package/dist/src/composables/spaces/useGetMatchingSpace.d.ts +0 -4
- package/dist/src/editor/components/SlashCommandMenu.vue.d.ts +9 -0
- package/dist/src/editor/components/TextEditorContent.vue.d.ts +7 -0
- package/dist/src/editor/components/TextEditorProvider.vue.d.ts +17 -0
- package/dist/src/editor/components/TextEditorToolbar.vue.d.ts +3 -0
- package/dist/src/editor/composables/index.d.ts +3 -0
- package/dist/src/editor/composables/strategies/html.d.ts +3 -0
- package/dist/src/editor/composables/strategies/index.d.ts +5 -0
- package/dist/src/editor/composables/strategies/markdown.d.ts +3 -0
- package/dist/src/editor/composables/strategies/plainText.d.ts +3 -0
- package/dist/src/editor/composables/strategies/tiptapJson.d.ts +3 -0
- package/dist/src/editor/composables/strategies/types.d.ts +10 -0
- package/dist/src/editor/composables/useContentStrategy.d.ts +5 -0
- package/dist/src/editor/composables/useEditorActions.d.ts +75 -0
- package/dist/src/editor/composables/useTextEditor.d.ts +2 -0
- package/dist/src/editor/extensions/index.d.ts +1 -0
- package/dist/src/editor/extensions/slashCommands.d.ts +16 -0
- package/dist/src/editor/index.d.ts +5 -0
- package/dist/src/editor/types.d.ts +29 -0
- package/dist/src/helpers/groupwareResponse.d.ts +1 -0
- package/dist/src/helpers/index.d.ts +2 -0
- package/dist/src/helpers/router/routeOptions.d.ts +1 -7
- package/dist/src/helpers/virtualCursorElement.d.ts +1 -0
- package/dist/src/router/index.d.ts +2 -1
- package/dist/src/router/utils.d.ts +1 -6
- package/dist/src/types.d.ts +1 -0
- package/dist/src/utils/dummyGettext.d.ts +6 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/web-pkg/editor.js +1360 -0
- package/dist/web-pkg.js +2845 -1480
- package/package.json +25 -8
- package/dist/TextEditor-CTRIgoeG.js +0 -819
- package/dist/src/components/TextEditor/TextEditor.vue.d.ts +0 -18
- package/dist/src/components/TextEditor/index.d.ts +0 -17
- package/dist/src/components/TextEditor/l18n.d.ts +0 -3
- package/dist/src/composables/actions/files/useFileActionsCopy.d.ts +0 -4
- package/dist/src/composables/actions/files/useFileActionsCopyPermanentLink.d.ts +0 -4
- package/dist/src/composables/actions/files/useFileActionsCreateLink.d.ts +0 -6
- package/dist/src/composables/actions/files/useFileActionsCreateNewFile.d.ts +0 -10
- package/dist/src/composables/actions/files/useFileActionsCreateNewFolder.d.ts +0 -9
- package/dist/src/composables/actions/files/useFileActionsCreateNewShortcut.d.ts +0 -8
- package/dist/src/composables/actions/files/useFileActionsCreateSpaceFromResource.d.ts +0 -4
- package/dist/src/composables/actions/files/useFileActionsDisableSync.d.ts +0 -5
- package/dist/src/composables/actions/files/useFileActionsDownloadArchive.d.ts +0 -4
- package/dist/src/composables/actions/files/useFileActionsEmptyTrashBin.d.ts +0 -8
- package/dist/src/composables/actions/files/useFileActionsEnableSync.d.ts +0 -5
- package/dist/src/composables/actions/files/useFileActionsFavorite.d.ts +0 -4
- package/dist/src/composables/actions/files/useFileActionsMove.d.ts +0 -4
- package/dist/src/composables/actions/files/useFileActionsOpenShortcut.d.ts +0 -5
- package/dist/src/composables/actions/files/useFileActionsPaste.d.ts +0 -4
- package/dist/src/composables/actions/files/useFileActionsRename.d.ts +0 -6
- package/dist/src/composables/actions/files/useFileActionsSetImage.d.ts +0 -4
- package/dist/src/composables/actions/files/useFileActionsShowActions.d.ts +0 -4
- package/dist/src/composables/actions/files/useFileActionsShowDetails.d.ts +0 -4
- package/dist/src/composables/actions/files/useFileActionsShowShares.d.ts +0 -5
- package/dist/src/composables/actions/files/useFileActionsToggleHideShare.d.ts +0 -5
- package/dist/src/composables/actions/spaces/useSpaceActionsDelete.d.ts +0 -6
- package/dist/src/composables/actions/spaces/useSpaceActionsDeleteImage.d.ts +0 -8
- package/dist/src/composables/actions/spaces/useSpaceActionsDisable.d.ts +0 -6
- package/dist/src/composables/actions/spaces/useSpaceActionsDuplicate.d.ts +0 -6
- package/dist/src/composables/actions/spaces/useSpaceActionsEditDescription.d.ts +0 -6
- package/dist/src/composables/actions/spaces/useSpaceActionsEditQuota.d.ts +0 -4
- package/dist/src/composables/actions/spaces/useSpaceActionsEditReadmeContent.d.ts +0 -4
- package/dist/src/composables/actions/spaces/useSpaceActionsNavigateToTrash.d.ts +0 -4
- package/dist/src/composables/actions/spaces/useSpaceActionsRename.d.ts +0 -6
- package/dist/src/composables/actions/spaces/useSpaceActionsRestore.d.ts +0 -6
- package/dist/src/composables/actions/spaces/useSpaceActionsSetIcon.d.ts +0 -6
- 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: ({
|
|
21
|
-
|
|
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: ({
|
|
41
|
-
|
|
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: ({
|
|
55
|
-
|
|
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: ({
|
|
25
|
-
|
|
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: ({
|
|
45
|
-
|
|
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: ({
|
|
59
|
-
|
|
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;
|
|
@@ -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 = '
|
|
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
|
-
*
|
|
22
|
-
* -
|
|
23
|
-
*
|
|
24
|
-
* -
|
|
25
|
-
* -
|
|
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
|
|
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,
|
|
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[];
|
|
@@ -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<
|
|
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
|
-
|
|
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
|
-
|
|
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 {};
|
|
@@ -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" | "
|
|
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;
|
|
@@ -29,7 +29,6 @@ declare const ScriptConfigSchema: z.ZodObject<{
|
|
|
29
29
|
}, z.core.$strip>;
|
|
30
30
|
export type ScriptConfig = z.infer<typeof ScriptConfigSchema>;
|
|
31
31
|
declare const OptionsConfigSchema: z.ZodObject<{
|
|
32
|
-
cernFeatures: z.ZodOptional<z.ZodBoolean>;
|
|
33
32
|
openFilesInNewTab: z.ZodOptional<z.ZodBoolean>;
|
|
34
33
|
concurrentRequests: z.ZodOptional<z.ZodObject<{
|
|
35
34
|
resourceBatchActions: z.ZodOptional<z.ZodNumber>;
|
|
@@ -68,17 +67,8 @@ declare const OptionsConfigSchema: z.ZodObject<{
|
|
|
68
67
|
description: z.ZodOptional<z.ZodString>;
|
|
69
68
|
href: z.ZodOptional<z.ZodString>;
|
|
70
69
|
}, z.core.$strip>>;
|
|
71
|
-
isRunningOnEos: z.ZodOptional<z.ZodBoolean>;
|
|
72
70
|
loginUrl: z.ZodOptional<z.ZodString>;
|
|
73
71
|
logoutUrl: z.ZodOptional<z.ZodString>;
|
|
74
|
-
ocm: z.ZodOptional<z.ZodObject<{
|
|
75
|
-
openRemotely: z.ZodOptional<z.ZodBoolean>;
|
|
76
|
-
}, z.core.$strip>>;
|
|
77
|
-
routing: z.ZodOptional<z.ZodObject<{
|
|
78
|
-
fullShareOwnerPaths: z.ZodOptional<z.ZodBoolean>;
|
|
79
|
-
idBased: z.ZodOptional<z.ZodBoolean>;
|
|
80
|
-
}, z.core.$strip>>;
|
|
81
|
-
runningOnEos: z.ZodOptional<z.ZodBoolean>;
|
|
82
72
|
tokenStorageLocal: z.ZodOptional<z.ZodBoolean>;
|
|
83
73
|
upload: z.ZodOptional<z.ZodObject<{
|
|
84
74
|
companionUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -91,7 +81,6 @@ export declare const RawConfigSchema: z.ZodObject<{
|
|
|
91
81
|
server: z.ZodString;
|
|
92
82
|
theme: z.ZodString;
|
|
93
83
|
options: z.ZodObject<{
|
|
94
|
-
cernFeatures: z.ZodOptional<z.ZodBoolean>;
|
|
95
84
|
openFilesInNewTab: z.ZodOptional<z.ZodBoolean>;
|
|
96
85
|
concurrentRequests: z.ZodOptional<z.ZodObject<{
|
|
97
86
|
resourceBatchActions: z.ZodOptional<z.ZodNumber>;
|
|
@@ -130,17 +119,8 @@ export declare const RawConfigSchema: z.ZodObject<{
|
|
|
130
119
|
description: z.ZodOptional<z.ZodString>;
|
|
131
120
|
href: z.ZodOptional<z.ZodString>;
|
|
132
121
|
}, z.core.$strip>>;
|
|
133
|
-
isRunningOnEos: z.ZodOptional<z.ZodBoolean>;
|
|
134
122
|
loginUrl: z.ZodOptional<z.ZodString>;
|
|
135
123
|
logoutUrl: z.ZodOptional<z.ZodString>;
|
|
136
|
-
ocm: z.ZodOptional<z.ZodObject<{
|
|
137
|
-
openRemotely: z.ZodOptional<z.ZodBoolean>;
|
|
138
|
-
}, z.core.$strip>>;
|
|
139
|
-
routing: z.ZodOptional<z.ZodObject<{
|
|
140
|
-
fullShareOwnerPaths: z.ZodOptional<z.ZodBoolean>;
|
|
141
|
-
idBased: z.ZodOptional<z.ZodBoolean>;
|
|
142
|
-
}, z.core.$strip>>;
|
|
143
|
-
runningOnEos: z.ZodOptional<z.ZodBoolean>;
|
|
144
124
|
tokenStorageLocal: z.ZodOptional<z.ZodBoolean>;
|
|
145
125
|
upload: z.ZodOptional<z.ZodObject<{
|
|
146
126
|
companionUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -11,6 +11,7 @@ export declare const useExtensionRegistry: import("pinia").StoreDefinition<"exte
|
|
|
11
11
|
getExtensionPoints: <T extends ExtensionPoint<Extension>>(options?: {
|
|
12
12
|
extensionType?: ExtensionType;
|
|
13
13
|
}) => T[];
|
|
14
|
+
getExtensionById: <T extends Extension>(id: string) => T | undefined;
|
|
14
15
|
}, "extensions" | "extensionPoints">, Pick<{
|
|
15
16
|
extensions: Ref<Ref<Extension[], Extension[]>[], Ref<Extension[], Extension[]>[]>;
|
|
16
17
|
registerExtensions: (e: Ref<Extension[]>) => void;
|
|
@@ -22,6 +23,7 @@ export declare const useExtensionRegistry: import("pinia").StoreDefinition<"exte
|
|
|
22
23
|
getExtensionPoints: <T extends ExtensionPoint<Extension>>(options?: {
|
|
23
24
|
extensionType?: ExtensionType;
|
|
24
25
|
}) => T[];
|
|
26
|
+
getExtensionById: <T extends Extension>(id: string) => T | undefined;
|
|
25
27
|
}, never>, Pick<{
|
|
26
28
|
extensions: Ref<Ref<Extension[], Extension[]>[], Ref<Extension[], Extension[]>[]>;
|
|
27
29
|
registerExtensions: (e: Ref<Extension[]>) => void;
|
|
@@ -33,5 +35,6 @@ export declare const useExtensionRegistry: import("pinia").StoreDefinition<"exte
|
|
|
33
35
|
getExtensionPoints: <T extends ExtensionPoint<Extension>>(options?: {
|
|
34
36
|
extensionType?: ExtensionType;
|
|
35
37
|
}) => T[];
|
|
36
|
-
|
|
38
|
+
getExtensionById: <T extends Extension>(id: string) => T | undefined;
|
|
39
|
+
}, "registerExtensions" | "unregisterExtensions" | "requestExtensions" | "registerExtensionPoints" | "unregisterExtensionPoints" | "getExtensionPoints" | "getExtensionById">>;
|
|
37
40
|
export type ExtensionRegistry = ReturnType<typeof useExtensionRegistry>;
|