@opencloud-eu/web-pkg 5.0.0-alpha.1 → 5.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.
- package/dist/{TextEditor-uEaAtt7z.js → TextEditor-CXSedGM4.js} +1 -1
- package/dist/assets/worker-22sDKzz_.js +21 -0
- package/dist/assets/worker-BSCY2vwA.js +21 -0
- package/dist/assets/worker-DH8D29Kr.js +21 -0
- package/dist/index-CEJcEmbf.js +25419 -0
- package/dist/src/components/AppBar/AppBar.vue.d.ts +1 -9
- package/dist/src/components/AppTemplates/AppWrapper.vue.d.ts +1 -1
- package/dist/src/components/FilesList/ResourceName.vue.d.ts +11 -139
- package/dist/src/components/FilesList/ResourceStatusIndicators.vue.d.ts +1 -1
- package/dist/src/components/FilesList/ResourceTable.vue.d.ts +0 -1
- package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +2 -2
- package/dist/src/components/PortalTarget.vue.d.ts +1 -40
- package/dist/src/components/SideBar/FileSideBar.vue.d.ts +2 -12
- package/dist/src/components/SideBar/SideBar.vue.d.ts +3 -9
- package/dist/src/components/SideBar/SideBarPanels.vue.d.ts +38 -0
- package/dist/src/components/SideBar/Spaces/SpaceInfo.vue.d.ts +1 -4
- package/dist/src/components/SideBar/index.d.ts +1 -0
- package/dist/src/composables/actions/files/index.d.ts +1 -0
- package/dist/src/composables/actions/files/useFileActionFallbackToDownload.d.ts +4 -0
- package/dist/src/composables/filesList/useResourceRouteResolver.d.ts +1 -4
- package/dist/src/composables/folderLink/useFolderLink.d.ts +1 -1
- package/dist/src/composables/index.d.ts +0 -2
- package/dist/src/composables/piniaStores/avatars.d.ts +1 -1
- package/dist/src/composables/piniaStores/capabilities.d.ts +1 -13
- package/dist/src/composables/piniaStores/index.d.ts +4 -3
- package/dist/src/composables/piniaStores/sideBar.d.ts +46 -0
- package/dist/src/composables/piniaStores/user.d.ts +1 -1
- package/dist/src/composables/resources/index.d.ts +1 -0
- package/dist/src/composables/resources/useResourceIndicators.d.ts +19 -0
- package/dist/src/composables/resources/useResourceViewHelpers.d.ts +1 -0
- package/dist/src/composables/sort/useSort.d.ts +1 -5
- package/dist/src/helpers/statusIndicators.d.ts +3 -14
- package/dist/src/services/cache.d.ts +0 -5
- package/dist/src/services/client/client.d.ts +0 -4
- package/dist/src/ui/types.d.ts +0 -2
- package/dist/web-pkg.js +79 -78
- package/dist/web-pkg.umd.cjs +19 -51
- package/package.json +4 -5
- package/dist/assets/worker-Br2EoHIh.js +0 -40
- package/dist/assets/worker-CL8AMTxB.js +0 -40
- package/dist/assets/worker-SrzUf4Ns.js +0 -40
- package/dist/index-BwyOzVbn.js +0 -33881
- package/dist/src/composables/clipboard/index.d.ts +0 -1
- package/dist/src/composables/clipboard/useClipboard.d.ts +0 -6
- package/dist/src/composables/sideBar/eventTopics.d.ts +0 -7
- package/dist/src/composables/sideBar/index.d.ts +0 -2
- package/dist/src/composables/sideBar/useSideBar.d.ts +0 -12
|
@@ -46,10 +46,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
46
46
|
type: BooleanConstructor;
|
|
47
47
|
default: boolean;
|
|
48
48
|
};
|
|
49
|
-
isSideBarOpen: {
|
|
50
|
-
type: BooleanConstructor;
|
|
51
|
-
default: boolean;
|
|
52
|
-
};
|
|
53
49
|
batchActionsLoading: {
|
|
54
50
|
type: BooleanConstructor;
|
|
55
51
|
default: boolean;
|
|
@@ -71,6 +67,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
71
67
|
pageTitle: import('vue').ComputedRef<string>;
|
|
72
68
|
selectedResources: import('vue').ComputedRef<Resource[]>;
|
|
73
69
|
isSticky: Ref<boolean, boolean>;
|
|
70
|
+
isSideBarOpen: import('vue').WritableComputedRef<boolean, boolean>;
|
|
74
71
|
}, {
|
|
75
72
|
resizeObserver: ResizeObserver;
|
|
76
73
|
limitedScreenSpace: boolean;
|
|
@@ -122,10 +119,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
122
119
|
type: BooleanConstructor;
|
|
123
120
|
default: boolean;
|
|
124
121
|
};
|
|
125
|
-
isSideBarOpen: {
|
|
126
|
-
type: BooleanConstructor;
|
|
127
|
-
default: boolean;
|
|
128
|
-
};
|
|
129
122
|
batchActionsLoading: {
|
|
130
123
|
type: BooleanConstructor;
|
|
131
124
|
default: boolean;
|
|
@@ -142,7 +135,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
142
135
|
hasPagination: boolean;
|
|
143
136
|
viewModeDefault: string;
|
|
144
137
|
viewModes: FolderView[];
|
|
145
|
-
isSideBarOpen: boolean;
|
|
146
138
|
breadcrumbs: BreadcrumbItem[];
|
|
147
139
|
breadcrumbsContextActionsItems: Resource[];
|
|
148
140
|
hasBulkActions: boolean;
|
|
@@ -33,7 +33,7 @@ declare function __VLS_template(): {
|
|
|
33
33
|
revokeUrl: (url: string) => void;
|
|
34
34
|
getUrlForResource: (space: SpaceResource, resource: Resource, options?: UrlForResourceOptions) => Promise<string>;
|
|
35
35
|
class: {
|
|
36
|
-
'w-[calc(100%-440px)]
|
|
36
|
+
'w-[calc(100%-440px)]': boolean;
|
|
37
37
|
};
|
|
38
38
|
}): any;
|
|
39
39
|
};
|
|
@@ -1,140 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
pathPrefix: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
required: false;
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* The extension of the resource, if there is one
|
|
19
|
-
*/
|
|
20
|
-
extension: {
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
required: false;
|
|
23
|
-
default: string;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* The type of the resource
|
|
27
|
-
*/
|
|
28
|
-
type: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
required: true;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* A full path of the resource
|
|
34
|
-
*/
|
|
35
|
-
fullPath: {
|
|
36
|
-
type: StringConstructor;
|
|
37
|
-
required: true;
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* Asserts whether the resource path should be displayed
|
|
41
|
-
*/
|
|
42
|
-
isPathDisplayed: {
|
|
43
|
-
type: BooleanConstructor;
|
|
44
|
-
required: false;
|
|
45
|
-
default: boolean;
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* Asserts whether the resource extension should be displayed
|
|
49
|
-
*/
|
|
50
|
-
isExtensionDisplayed: {
|
|
51
|
-
type: BooleanConstructor;
|
|
52
|
-
required: false;
|
|
53
|
-
default: boolean;
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* Asserts whether the resource name should be truncated if it's too long
|
|
57
|
-
*/
|
|
58
|
-
truncateName: {
|
|
59
|
-
type: BooleanConstructor;
|
|
60
|
-
required: false;
|
|
61
|
-
default: boolean;
|
|
62
|
-
};
|
|
63
|
-
}>, {}, {}, {
|
|
64
|
-
tooltip(): any;
|
|
65
|
-
fullName(): string;
|
|
66
|
-
displayName(): string;
|
|
67
|
-
displayExtension(): string;
|
|
68
|
-
displayPath(): string;
|
|
69
|
-
pathTooltip(): any;
|
|
70
|
-
htmlTitle(): string;
|
|
71
|
-
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
72
|
-
/**
|
|
73
|
-
* The name of the resource
|
|
74
|
-
*/
|
|
75
|
-
name: {
|
|
76
|
-
type: StringConstructor;
|
|
77
|
-
required: true;
|
|
78
|
-
};
|
|
79
|
-
/**
|
|
80
|
-
* The prefix that will be shown in the path
|
|
81
|
-
*/
|
|
82
|
-
pathPrefix: {
|
|
83
|
-
type: StringConstructor;
|
|
84
|
-
required: false;
|
|
85
|
-
default: string;
|
|
86
|
-
};
|
|
87
|
-
/**
|
|
88
|
-
* The extension of the resource, if there is one
|
|
89
|
-
*/
|
|
90
|
-
extension: {
|
|
91
|
-
type: StringConstructor;
|
|
92
|
-
required: false;
|
|
93
|
-
default: string;
|
|
94
|
-
};
|
|
95
|
-
/**
|
|
96
|
-
* The type of the resource
|
|
97
|
-
*/
|
|
98
|
-
type: {
|
|
99
|
-
type: StringConstructor;
|
|
100
|
-
required: true;
|
|
101
|
-
};
|
|
102
|
-
/**
|
|
103
|
-
* A full path of the resource
|
|
104
|
-
*/
|
|
105
|
-
fullPath: {
|
|
106
|
-
type: StringConstructor;
|
|
107
|
-
required: true;
|
|
108
|
-
};
|
|
109
|
-
/**
|
|
110
|
-
* Asserts whether the resource path should be displayed
|
|
111
|
-
*/
|
|
112
|
-
isPathDisplayed: {
|
|
113
|
-
type: BooleanConstructor;
|
|
114
|
-
required: false;
|
|
115
|
-
default: boolean;
|
|
116
|
-
};
|
|
117
|
-
/**
|
|
118
|
-
* Asserts whether the resource extension should be displayed
|
|
119
|
-
*/
|
|
120
|
-
isExtensionDisplayed: {
|
|
121
|
-
type: BooleanConstructor;
|
|
122
|
-
required: false;
|
|
123
|
-
default: boolean;
|
|
124
|
-
};
|
|
125
|
-
/**
|
|
126
|
-
* Asserts whether the resource name should be truncated if it's too long
|
|
127
|
-
*/
|
|
128
|
-
truncateName: {
|
|
129
|
-
type: BooleanConstructor;
|
|
130
|
-
required: false;
|
|
131
|
-
default: boolean;
|
|
132
|
-
};
|
|
133
|
-
}>> & Readonly<{}>, {
|
|
134
|
-
extension: string;
|
|
135
|
-
pathPrefix: string;
|
|
136
|
-
isPathDisplayed: boolean;
|
|
137
|
-
isExtensionDisplayed: boolean;
|
|
138
|
-
truncateName: boolean;
|
|
139
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
name: string;
|
|
3
|
+
type: string;
|
|
4
|
+
fullPath: string;
|
|
5
|
+
pathPrefix?: string;
|
|
6
|
+
extension?: string;
|
|
7
|
+
isPathDisplayed?: boolean;
|
|
8
|
+
isExtensionDisplayed?: boolean;
|
|
9
|
+
truncateName?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
140
12
|
export default _default;
|
|
@@ -12,7 +12,6 @@ type __VLS_Props = {
|
|
|
12
12
|
areResourcesClickable?: boolean;
|
|
13
13
|
headerPosition?: number;
|
|
14
14
|
isSelectable?: boolean;
|
|
15
|
-
isSideBarOpen?: boolean;
|
|
16
15
|
dragDrop?: boolean;
|
|
17
16
|
viewMode?: typeof FolderViewModeConstants.name.condensedTable | typeof FolderViewModeConstants.name.table;
|
|
18
17
|
hover?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Resource, SpaceResource } from '@opencloud-eu/web-client';
|
|
2
|
-
import {
|
|
3
|
-
import { SizeType } from '@opencloud-eu/design-system/helpers';
|
|
2
|
+
import { SortField, FileActionOptions } from '../../composables';
|
|
3
|
+
import { SizeType, SortDir } from '@opencloud-eu/design-system/helpers';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
resources?: Resource[];
|
|
6
6
|
selectedIds?: string[];
|
|
@@ -1,41 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
-
properties: import('vue').ComputedRef<any>;
|
|
3
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
}, {}, {
|
|
6
|
-
PortalTargetVue: import('vue').DefineComponent<{
|
|
7
|
-
multiple: {
|
|
8
|
-
type: BooleanConstructor;
|
|
9
|
-
default: boolean;
|
|
10
|
-
};
|
|
11
|
-
name: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
slotProps: {
|
|
16
|
-
type: ObjectConstructor;
|
|
17
|
-
default: () => {};
|
|
18
|
-
};
|
|
19
|
-
}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
}>[] | undefined, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "change"[], "change", import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
22
|
-
multiple: {
|
|
23
|
-
type: BooleanConstructor;
|
|
24
|
-
default: boolean;
|
|
25
|
-
};
|
|
26
|
-
name: {
|
|
27
|
-
type: StringConstructor;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
slotProps: {
|
|
31
|
-
type: ObjectConstructor;
|
|
32
|
-
default: () => {};
|
|
33
|
-
};
|
|
34
|
-
}>> & {
|
|
35
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
36
|
-
}, {
|
|
37
|
-
slotProps: Record<string, any>;
|
|
38
|
-
multiple: boolean;
|
|
39
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
40
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
41
2
|
export default _default;
|
|
@@ -1,20 +1,16 @@
|
|
|
1
1
|
import { SideBarPanelContext } from '../SideBar/types';
|
|
2
2
|
import { SpaceResource } from '@opencloud-eu/web-client';
|
|
3
3
|
type __VLS_Props = {
|
|
4
|
-
isOpen: boolean;
|
|
5
|
-
activePanel?: string;
|
|
6
4
|
space?: SpaceResource;
|
|
7
5
|
};
|
|
8
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
9
7
|
sidebar: {
|
|
10
8
|
$: import('vue').ComponentInternalInstance;
|
|
11
9
|
$data: {};
|
|
12
10
|
$props: {
|
|
13
|
-
readonly isOpen: boolean;
|
|
14
11
|
readonly loading: boolean;
|
|
15
12
|
readonly availablePanels: import('.').SideBarPanel<unknown, unknown, unknown>[];
|
|
16
13
|
readonly panelContext: SideBarPanelContext<unknown, unknown, unknown>;
|
|
17
|
-
readonly activePanel?: string;
|
|
18
14
|
readonly onClose?: () => any;
|
|
19
15
|
readonly onSelectPanel?: (panel: string) => any;
|
|
20
16
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
@@ -23,8 +19,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
23
19
|
};
|
|
24
20
|
$refs: {
|
|
25
21
|
[x: string]: unknown;
|
|
26
|
-
} & {
|
|
27
|
-
appSideBar: HTMLDivElement;
|
|
28
22
|
};
|
|
29
23
|
$slots: Readonly<{
|
|
30
24
|
[name: string]: import('vue').Slot<any>;
|
|
@@ -33,13 +27,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
33
27
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
34
28
|
$host: Element | null;
|
|
35
29
|
$emit: ((event: "close") => void) & ((event: "selectPanel", panel: string) => void);
|
|
36
|
-
$el:
|
|
30
|
+
$el: any;
|
|
37
31
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
38
|
-
isOpen: boolean;
|
|
39
32
|
loading: boolean;
|
|
40
33
|
availablePanels: import('.').SideBarPanel<unknown, unknown, unknown>[];
|
|
41
34
|
panelContext: SideBarPanelContext<unknown, unknown, unknown>;
|
|
42
|
-
activePanel?: string;
|
|
43
35
|
}> & Readonly<{
|
|
44
36
|
onClose?: () => any;
|
|
45
37
|
onSelectPanel?: (panel: string) => any;
|
|
@@ -67,11 +59,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
67
59
|
$nextTick: typeof import('vue').nextTick;
|
|
68
60
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
69
61
|
} & Readonly<{}> & Omit<Readonly<{
|
|
70
|
-
isOpen: boolean;
|
|
71
62
|
loading: boolean;
|
|
72
63
|
availablePanels: import('.').SideBarPanel<unknown, unknown, unknown>[];
|
|
73
64
|
panelContext: SideBarPanelContext<unknown, unknown, unknown>;
|
|
74
|
-
activePanel?: string;
|
|
75
65
|
}> & Readonly<{
|
|
76
66
|
onClose?: () => any;
|
|
77
67
|
onSelectPanel?: (panel: string) => any;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { SideBarPanel, SideBarPanelContext } from './types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
isOpen: boolean;
|
|
4
3
|
loading: boolean;
|
|
5
4
|
availablePanels: SideBarPanel<unknown, unknown, unknown>[];
|
|
6
5
|
panelContext: SideBarPanelContext<unknown, unknown, unknown>;
|
|
7
|
-
activePanel?: string;
|
|
8
6
|
};
|
|
9
7
|
declare function __VLS_template(): {
|
|
10
8
|
attrs: Partial<{}>;
|
|
@@ -17,10 +15,8 @@ declare function __VLS_template(): {
|
|
|
17
15
|
rootHeader: () => unknown;
|
|
18
16
|
subHeader: () => unknown;
|
|
19
17
|
};
|
|
20
|
-
refs: {
|
|
21
|
-
|
|
22
|
-
};
|
|
23
|
-
rootEl: HTMLDivElement;
|
|
18
|
+
refs: {};
|
|
19
|
+
rootEl: any;
|
|
24
20
|
};
|
|
25
21
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
22
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -29,9 +25,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
29
25
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
26
|
onClose?: () => any;
|
|
31
27
|
onSelectPanel?: (panel: string) => any;
|
|
32
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
33
|
-
appSideBar: HTMLDivElement;
|
|
34
|
-
}, HTMLDivElement>;
|
|
28
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
35
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
36
30
|
export default _default;
|
|
37
31
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { SideBarPanel, SideBarPanelContext } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
loading: boolean;
|
|
4
|
+
availablePanels: SideBarPanel<unknown, unknown, unknown>[];
|
|
5
|
+
panelContext: SideBarPanelContext<unknown, unknown, unknown>;
|
|
6
|
+
activePanel?: string;
|
|
7
|
+
};
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: Readonly<{
|
|
11
|
+
body: () => unknown;
|
|
12
|
+
rootHeader: () => unknown;
|
|
13
|
+
subHeader: () => unknown;
|
|
14
|
+
}> & {
|
|
15
|
+
body: () => unknown;
|
|
16
|
+
rootHeader: () => unknown;
|
|
17
|
+
subHeader: () => unknown;
|
|
18
|
+
};
|
|
19
|
+
refs: {};
|
|
20
|
+
rootEl: any;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
24
|
+
close: () => any;
|
|
25
|
+
selectPanel: (panel: string) => any;
|
|
26
|
+
closePanel: () => any;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
28
|
+
onClose?: () => any;
|
|
29
|
+
onSelectPanel?: (panel: string) => any;
|
|
30
|
+
onClosePanel?: () => any;
|
|
31
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default: import('vue').DefineComponent<{}, {
|
|
3
|
-
resource: SpaceResource;
|
|
4
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
5
2
|
export default _default;
|
|
@@ -4,4 +4,5 @@ export * from './types';
|
|
|
4
4
|
export { default as CompareSaveDialog } from './CompareSaveDialog.vue';
|
|
5
5
|
export { default as SideBar } from './SideBar.vue';
|
|
6
6
|
export { default as FileSideBar } from './FileSideBar.vue';
|
|
7
|
+
export { default as SideBarPanels } from './SideBarPanels.vue';
|
|
7
8
|
export { default as WebDavDetails } from './WebDavDetails.vue';
|
|
@@ -5,10 +5,7 @@ export type ResourceRouteResolverOptions = {
|
|
|
5
5
|
configStore?: ConfigStore;
|
|
6
6
|
space?: Ref<SpaceResource>;
|
|
7
7
|
};
|
|
8
|
-
export declare const useResourceRouteResolver: (options?: ResourceRouteResolverOptions
|
|
9
|
-
/** @deprecated */
|
|
10
|
-
context?: any) => {
|
|
11
|
-
createFileAction: (resource: Resource) => void;
|
|
8
|
+
export declare const useResourceRouteResolver: (options?: ResourceRouteResolverOptions) => {
|
|
12
9
|
createFolderLink: (createTargetRouteOptions: {
|
|
13
10
|
path: string;
|
|
14
11
|
resource: Resource | SpaceResource;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Resource } from '@opencloud-eu/web-client';
|
|
2
2
|
import { ResourceRouteResolverOptions } from '../filesList';
|
|
3
3
|
export declare const useFolderLink: (options?: ResourceRouteResolverOptions) => {
|
|
4
|
-
getPathPrefix: (resource: Resource) =>
|
|
4
|
+
getPathPrefix: (resource: Resource) => string;
|
|
5
5
|
getFolderLink: (resource: Resource) => import('vue-router').RouteLocationNamedRaw;
|
|
6
6
|
getParentFolderLink: (resource: Resource) => import('vue-router').RouteLocationNamedRaw;
|
|
7
7
|
getParentFolderName: (resource: Resource) => string;
|
|
@@ -6,7 +6,6 @@ export * from './archiverService';
|
|
|
6
6
|
export * from './authContext';
|
|
7
7
|
export * from './breadcrumbs';
|
|
8
8
|
export * from './clientService';
|
|
9
|
-
export * from './clipboard';
|
|
10
9
|
export * from './download';
|
|
11
10
|
export * from './driveResolver';
|
|
12
11
|
export * from './embedMode';
|
|
@@ -32,7 +31,6 @@ export * from './search';
|
|
|
32
31
|
export * from './selection';
|
|
33
32
|
export * from './service';
|
|
34
33
|
export * from './shares';
|
|
35
|
-
export * from './sideBar';
|
|
36
34
|
export * from './sort';
|
|
37
35
|
export * from './spaces';
|
|
38
36
|
export * from './upload';
|
|
@@ -23,5 +23,5 @@ export declare const useAvatarsStore: import('pinia').StoreDefinition<"avatars",
|
|
|
23
23
|
reset: () => void;
|
|
24
24
|
avatarsQueue: import('vue').Raw<PQueue<import('node_modules/p-queue/dist/priority-queue').default, import('p-queue').QueueAddOptions>>;
|
|
25
25
|
pendingAvatarsRequests: Map<string, Promise<any>>;
|
|
26
|
-
}, "
|
|
26
|
+
}, "getAvatar" | "addAvatar" | "removeAvatar" | "reset">>;
|
|
27
27
|
export type AvatarsStore = ReturnType<typeof useAvatarsStore>;
|
|
@@ -73,7 +73,6 @@ export declare const useCapabilityStore: import('pinia').StoreDefinition<"capabi
|
|
|
73
73
|
'check-for-updates'?: boolean;
|
|
74
74
|
'support-sse'?: boolean;
|
|
75
75
|
'support-radicale'?: boolean;
|
|
76
|
-
'support-url-signing'?: boolean;
|
|
77
76
|
'webdav-root'?: string;
|
|
78
77
|
};
|
|
79
78
|
dav: {
|
|
@@ -220,7 +219,6 @@ export declare const useCapabilityStore: import('pinia').StoreDefinition<"capabi
|
|
|
220
219
|
"check-for-updates"?: boolean;
|
|
221
220
|
"support-sse"?: boolean;
|
|
222
221
|
"support-radicale"?: boolean;
|
|
223
|
-
"support-url-signing"?: boolean;
|
|
224
222
|
"webdav-root"?: string;
|
|
225
223
|
};
|
|
226
224
|
dav: {
|
|
@@ -382,7 +380,6 @@ export declare const useCapabilityStore: import('pinia').StoreDefinition<"capabi
|
|
|
382
380
|
'check-for-updates'?: boolean;
|
|
383
381
|
'support-sse'?: boolean;
|
|
384
382
|
'support-radicale'?: boolean;
|
|
385
|
-
'support-url-signing'?: boolean;
|
|
386
383
|
'webdav-root'?: string;
|
|
387
384
|
};
|
|
388
385
|
dav: {
|
|
@@ -513,7 +510,6 @@ export declare const useCapabilityStore: import('pinia').StoreDefinition<"capabi
|
|
|
513
510
|
version?: string;
|
|
514
511
|
versionstring?: string;
|
|
515
512
|
}>;
|
|
516
|
-
supportUrlSigning: import('vue').ComputedRef<boolean>;
|
|
517
513
|
supportSSE: import('vue').ComputedRef<boolean>;
|
|
518
514
|
supportRadicale: import('vue').ComputedRef<boolean>;
|
|
519
515
|
personalDataExport: import('vue').ComputedRef<boolean>;
|
|
@@ -659,7 +655,6 @@ export declare const useCapabilityStore: import('pinia').StoreDefinition<"capabi
|
|
|
659
655
|
'check-for-updates'?: boolean;
|
|
660
656
|
'support-sse'?: boolean;
|
|
661
657
|
'support-radicale'?: boolean;
|
|
662
|
-
'support-url-signing'?: boolean;
|
|
663
658
|
'webdav-root'?: string;
|
|
664
659
|
};
|
|
665
660
|
dav: {
|
|
@@ -806,7 +801,6 @@ export declare const useCapabilityStore: import('pinia').StoreDefinition<"capabi
|
|
|
806
801
|
"check-for-updates"?: boolean;
|
|
807
802
|
"support-sse"?: boolean;
|
|
808
803
|
"support-radicale"?: boolean;
|
|
809
|
-
"support-url-signing"?: boolean;
|
|
810
804
|
"webdav-root"?: string;
|
|
811
805
|
};
|
|
812
806
|
dav: {
|
|
@@ -968,7 +962,6 @@ export declare const useCapabilityStore: import('pinia').StoreDefinition<"capabi
|
|
|
968
962
|
'check-for-updates'?: boolean;
|
|
969
963
|
'support-sse'?: boolean;
|
|
970
964
|
'support-radicale'?: boolean;
|
|
971
|
-
'support-url-signing'?: boolean;
|
|
972
965
|
'webdav-root'?: string;
|
|
973
966
|
};
|
|
974
967
|
dav: {
|
|
@@ -1099,7 +1092,6 @@ export declare const useCapabilityStore: import('pinia').StoreDefinition<"capabi
|
|
|
1099
1092
|
version?: string;
|
|
1100
1093
|
versionstring?: string;
|
|
1101
1094
|
}>;
|
|
1102
|
-
supportUrlSigning: import('vue').ComputedRef<boolean>;
|
|
1103
1095
|
supportSSE: import('vue').ComputedRef<boolean>;
|
|
1104
1096
|
supportRadicale: import('vue').ComputedRef<boolean>;
|
|
1105
1097
|
personalDataExport: import('vue').ComputedRef<boolean>;
|
|
@@ -1171,7 +1163,7 @@ export declare const useCapabilityStore: import('pinia').StoreDefinition<"capabi
|
|
|
1171
1163
|
searchContent: import('vue').ComputedRef<import('@opencloud-eu/web-client/ocs').SearchPropertyCapability | {
|
|
1172
1164
|
enabled?: boolean;
|
|
1173
1165
|
}>;
|
|
1174
|
-
}, "status" | "
|
|
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<{
|
|
1175
1167
|
isInitialized: import('vue').Ref<boolean, boolean>;
|
|
1176
1168
|
capabilities: import('vue').Ref<{
|
|
1177
1169
|
checksums?: {
|
|
@@ -1245,7 +1237,6 @@ export declare const useCapabilityStore: import('pinia').StoreDefinition<"capabi
|
|
|
1245
1237
|
'check-for-updates'?: boolean;
|
|
1246
1238
|
'support-sse'?: boolean;
|
|
1247
1239
|
'support-radicale'?: boolean;
|
|
1248
|
-
'support-url-signing'?: boolean;
|
|
1249
1240
|
'webdav-root'?: string;
|
|
1250
1241
|
};
|
|
1251
1242
|
dav: {
|
|
@@ -1392,7 +1383,6 @@ export declare const useCapabilityStore: import('pinia').StoreDefinition<"capabi
|
|
|
1392
1383
|
"check-for-updates"?: boolean;
|
|
1393
1384
|
"support-sse"?: boolean;
|
|
1394
1385
|
"support-radicale"?: boolean;
|
|
1395
|
-
"support-url-signing"?: boolean;
|
|
1396
1386
|
"webdav-root"?: string;
|
|
1397
1387
|
};
|
|
1398
1388
|
dav: {
|
|
@@ -1554,7 +1544,6 @@ export declare const useCapabilityStore: import('pinia').StoreDefinition<"capabi
|
|
|
1554
1544
|
'check-for-updates'?: boolean;
|
|
1555
1545
|
'support-sse'?: boolean;
|
|
1556
1546
|
'support-radicale'?: boolean;
|
|
1557
|
-
'support-url-signing'?: boolean;
|
|
1558
1547
|
'webdav-root'?: string;
|
|
1559
1548
|
};
|
|
1560
1549
|
dav: {
|
|
@@ -1685,7 +1674,6 @@ export declare const useCapabilityStore: import('pinia').StoreDefinition<"capabi
|
|
|
1685
1674
|
version?: string;
|
|
1686
1675
|
versionstring?: string;
|
|
1687
1676
|
}>;
|
|
1688
|
-
supportUrlSigning: import('vue').ComputedRef<boolean>;
|
|
1689
1677
|
supportSSE: import('vue').ComputedRef<boolean>;
|
|
1690
1678
|
supportRadicale: import('vue').ComputedRef<boolean>;
|
|
1691
1679
|
personalDataExport: import('vue').ComputedRef<boolean>;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
export * from './apps';
|
|
2
2
|
export * from './auth';
|
|
3
|
+
export * from './avatars';
|
|
3
4
|
export * from './capabilities';
|
|
4
5
|
export * from './clipboard';
|
|
5
6
|
export * from './config';
|
|
6
7
|
export * from './extensionRegistry';
|
|
8
|
+
export * from './groupwareConfig';
|
|
7
9
|
export * from './messages';
|
|
8
10
|
export * from './modals';
|
|
9
11
|
export * from './resources';
|
|
10
12
|
export * from './shares';
|
|
13
|
+
export * from './sideBar';
|
|
11
14
|
export * from './spaces';
|
|
12
15
|
export * from './theme';
|
|
16
|
+
export * from './updates';
|
|
13
17
|
export * from './user';
|
|
14
18
|
export * from './webWorkers';
|
|
15
|
-
export * from './avatars';
|
|
16
|
-
export * from './updates';
|
|
17
|
-
export * from './groupwareConfig';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/** @deprecated use exposed methods from useSideBar instead */
|
|
2
|
+
export declare enum SideBarEventTopics {
|
|
3
|
+
open = "sidebar.open",
|
|
4
|
+
close = "sidebar.close",
|
|
5
|
+
toggle = "sidebar.toggle",
|
|
6
|
+
openWithPanel = "sidebar.openWithPanel",
|
|
7
|
+
setActivePanel = "sidebar.setActivePanel"
|
|
8
|
+
}
|
|
9
|
+
export declare const useSideBar: import('pinia').StoreDefinition<"sideBar", Pick<{
|
|
10
|
+
isSideBarOpen: import('vue').WritableComputedRef<boolean, boolean>;
|
|
11
|
+
sideBarActivePanel: import('vue').Ref<string, string>;
|
|
12
|
+
focusSidebar: () => Promise<void>;
|
|
13
|
+
onInitialLoad: () => void;
|
|
14
|
+
toggleSideBar: () => void;
|
|
15
|
+
closeSideBar: () => void;
|
|
16
|
+
openSideBar: () => void;
|
|
17
|
+
openSideBarPanel: (panelName: string) => void;
|
|
18
|
+
setActiveSideBarPanel: (panelName: string) => void;
|
|
19
|
+
/** @deprecated */
|
|
20
|
+
onPanelActive: (name: string, callback: (string: string) => void) => void;
|
|
21
|
+
}, "sideBarActivePanel">, Pick<{
|
|
22
|
+
isSideBarOpen: import('vue').WritableComputedRef<boolean, boolean>;
|
|
23
|
+
sideBarActivePanel: import('vue').Ref<string, string>;
|
|
24
|
+
focusSidebar: () => Promise<void>;
|
|
25
|
+
onInitialLoad: () => void;
|
|
26
|
+
toggleSideBar: () => void;
|
|
27
|
+
closeSideBar: () => void;
|
|
28
|
+
openSideBar: () => void;
|
|
29
|
+
openSideBarPanel: (panelName: string) => void;
|
|
30
|
+
setActiveSideBarPanel: (panelName: string) => void;
|
|
31
|
+
/** @deprecated */
|
|
32
|
+
onPanelActive: (name: string, callback: (string: string) => void) => void;
|
|
33
|
+
}, "isSideBarOpen">, Pick<{
|
|
34
|
+
isSideBarOpen: import('vue').WritableComputedRef<boolean, boolean>;
|
|
35
|
+
sideBarActivePanel: import('vue').Ref<string, string>;
|
|
36
|
+
focusSidebar: () => Promise<void>;
|
|
37
|
+
onInitialLoad: () => void;
|
|
38
|
+
toggleSideBar: () => void;
|
|
39
|
+
closeSideBar: () => void;
|
|
40
|
+
openSideBar: () => void;
|
|
41
|
+
openSideBarPanel: (panelName: string) => void;
|
|
42
|
+
setActiveSideBarPanel: (panelName: string) => void;
|
|
43
|
+
/** @deprecated */
|
|
44
|
+
onPanelActive: (name: string, callback: (string: string) => void) => void;
|
|
45
|
+
}, "focusSidebar" | "onInitialLoad" | "toggleSideBar" | "closeSideBar" | "openSideBar" | "openSideBarPanel" | "setActiveSideBarPanel" | "onPanelActive">>;
|
|
46
|
+
export type SideBarStore = ReturnType<typeof useSideBar>;
|