@opencloud-eu/web-pkg 4.1.0 → 4.2.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-QVYD64f0.js → TextEditor-DjjOAW4z.js} +123 -70
- package/dist/assets/{worker-DIwRVmuf.js → worker-CGWVcik_.js} +14 -14
- package/dist/assets/{worker-BJJcEMnx.js → worker-CvdOYtKy.js} +29 -29
- package/dist/assets/{worker-C9GzAwNf.js → worker-DLek5ZML.js} +26 -26
- package/dist/{index-zEQVUjcV.js → index-R7qeOPe_.js} +12842 -12867
- package/dist/src/apps/types.d.ts +0 -1
- package/dist/src/components/AppBar/AppBar.vue.d.ts +23 -167
- package/dist/src/components/AppTemplates/AppWrapper.vue.d.ts +48 -248
- package/dist/src/components/AppTopBar.vue.d.ts +1 -0
- package/dist/src/components/ContextActions/ActionMenuDropItem.vue.d.ts +1 -2
- package/dist/src/components/ContextActions/ContextActionMenu.vue.d.ts +1 -14
- package/dist/src/components/FilesList/ContextActions.vue.d.ts +1 -27
- package/dist/src/components/FilesList/ResourceTable.vue.d.ts +1 -1
- package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +0 -2
- package/dist/src/components/Modals/FilePickerModal.vue.d.ts +12 -5
- package/dist/src/components/TextEditor/TextEditor.vue.d.ts +3 -0
- package/dist/src/components/TextEditor/index.d.ts +3 -0
- package/dist/src/components/VersionCheck.vue.d.ts +2 -0
- package/dist/src/components/ViewOptions.vue.d.ts +12 -141
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/composables/actions/files/useFileActionsOpenWithApp.d.ts +6 -0
- package/dist/src/helpers/download.d.ts +1 -1
- package/dist/src/services/archiver.d.ts +0 -4
- package/dist/web-pkg.js +229 -228
- package/dist/web-pkg.umd.cjs +51 -51
- package/package.json +4 -3
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { FileActionOptions } from '../../composables';
|
|
3
3
|
import { MenuSection } from '../ContextActions';
|
|
4
|
-
import { NestedDrop } from '@opencloud-eu/design-system/helpers';
|
|
5
4
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
5
|
actionOptions: {
|
|
7
6
|
type: PropType<FileActionOptions>;
|
|
8
7
|
required: true;
|
|
9
8
|
};
|
|
10
|
-
dropRef: {
|
|
11
|
-
type: PropType<NestedDrop>;
|
|
12
|
-
required: false;
|
|
13
|
-
default: any;
|
|
14
|
-
};
|
|
15
9
|
}>, {
|
|
16
10
|
menuSections: import('vue').ComputedRef<MenuSection[]>;
|
|
17
11
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -19,14 +13,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
19
13
|
type: PropType<FileActionOptions>;
|
|
20
14
|
required: true;
|
|
21
15
|
};
|
|
22
|
-
|
|
23
|
-
type: PropType<NestedDrop>;
|
|
24
|
-
required: false;
|
|
25
|
-
default: any;
|
|
26
|
-
};
|
|
27
|
-
}>> & Readonly<{}>, {
|
|
28
|
-
dropRef: NestedDrop;
|
|
29
|
-
}, {}, {
|
|
16
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
30
17
|
ContextActionMenu: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
31
18
|
menuSections: {
|
|
32
19
|
type: PropType<MenuSection[]>;
|
|
@@ -40,11 +27,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
40
27
|
type: PropType<import('../..').ActionOptions>;
|
|
41
28
|
required: true;
|
|
42
29
|
};
|
|
43
|
-
dropRef: {
|
|
44
|
-
type: PropType<NestedDrop>;
|
|
45
|
-
required: false;
|
|
46
|
-
default: any;
|
|
47
|
-
};
|
|
48
30
|
}>, {}, {}, {}, {
|
|
49
31
|
getSectionClasses(index: number): string[];
|
|
50
32
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -60,25 +42,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
60
42
|
type: PropType<import('../..').ActionOptions>;
|
|
61
43
|
required: true;
|
|
62
44
|
};
|
|
63
|
-
dropRef: {
|
|
64
|
-
type: PropType<NestedDrop>;
|
|
65
|
-
required: false;
|
|
66
|
-
default: any;
|
|
67
|
-
};
|
|
68
45
|
}>> & Readonly<{}>, {
|
|
69
46
|
appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
|
|
70
|
-
dropRef: NestedDrop;
|
|
71
47
|
}, {}, {
|
|
72
48
|
ActionMenuDropItem: import('vue').DefineComponent<{
|
|
73
49
|
menuSectionDrop: import('..').MenuSectionDrop;
|
|
74
50
|
appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
|
|
75
51
|
actionOptions: import('../..').ActionOptions;
|
|
76
|
-
parentDropRef?: NestedDrop | null;
|
|
77
52
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
78
53
|
menuSectionDrop: import('..').MenuSectionDrop;
|
|
79
54
|
appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
|
|
80
55
|
actionOptions: import('../..').ActionOptions;
|
|
81
|
-
parentDropRef?: NestedDrop | null;
|
|
82
56
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
83
57
|
ActionMenuItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
84
58
|
action: {
|
|
@@ -958,8 +958,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
958
958
|
paddingX: string;
|
|
959
959
|
sortDir: SortDir;
|
|
960
960
|
resourceDomSelector: (resource: Resource) => string;
|
|
961
|
-
viewMode: "resource-table" | "resource-table-condensed";
|
|
962
961
|
isSideBarOpen: boolean;
|
|
962
|
+
viewMode: "resource-table" | "resource-table-condensed";
|
|
963
963
|
targetRouteCallback: (arg: CreateTargetRouteOptions) => unknown;
|
|
964
964
|
arePathsDisplayed: boolean;
|
|
965
965
|
areThumbnailsDisplayed: boolean;
|
|
@@ -33,7 +33,6 @@ declare function __VLS_template(): {
|
|
|
33
33
|
contextMenu?: (props: {
|
|
34
34
|
resource: Resource;
|
|
35
35
|
isOpen: boolean;
|
|
36
|
-
dropRef: HTMLElement | null;
|
|
37
36
|
}) => unknown;
|
|
38
37
|
footer?: () => unknown;
|
|
39
38
|
additionalResourceContent?: (props: {
|
|
@@ -49,7 +48,6 @@ declare function __VLS_template(): {
|
|
|
49
48
|
contextMenu?: (props: {
|
|
50
49
|
resource: Resource;
|
|
51
50
|
isOpen: boolean;
|
|
52
|
-
dropRef: HTMLElement | null;
|
|
53
51
|
}) => unknown;
|
|
54
52
|
footer?: () => unknown;
|
|
55
53
|
additionalResourceContent?: (props: {
|
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { Modal } from '../../composables';
|
|
3
|
-
import { ApplicationInformation } from '../../apps';
|
|
4
3
|
import { RouteLocationRaw } from 'vue-router';
|
|
5
4
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
5
|
modal: {
|
|
7
6
|
type: PropType<Modal>;
|
|
8
7
|
required: true;
|
|
9
8
|
};
|
|
10
|
-
|
|
11
|
-
type: PropType<
|
|
9
|
+
allowedFileTypes: {
|
|
10
|
+
type: PropType<string[]>;
|
|
12
11
|
required: true;
|
|
13
12
|
};
|
|
14
13
|
parentFolderLink: {
|
|
15
14
|
type: PropType<RouteLocationRaw>;
|
|
16
15
|
required: true;
|
|
17
16
|
};
|
|
17
|
+
callbackFn: {
|
|
18
|
+
type: PropType<(resource: any, locationQuery?: Record<string, string>) => void>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
18
21
|
}>, {
|
|
19
22
|
isLoading: import('vue').Ref<boolean, boolean>;
|
|
20
23
|
onLoad: () => void;
|
|
@@ -27,14 +30,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
27
30
|
type: PropType<Modal>;
|
|
28
31
|
required: true;
|
|
29
32
|
};
|
|
30
|
-
|
|
31
|
-
type: PropType<
|
|
33
|
+
allowedFileTypes: {
|
|
34
|
+
type: PropType<string[]>;
|
|
32
35
|
required: true;
|
|
33
36
|
};
|
|
34
37
|
parentFolderLink: {
|
|
35
38
|
type: PropType<RouteLocationRaw>;
|
|
36
39
|
required: true;
|
|
37
40
|
};
|
|
41
|
+
callbackFn: {
|
|
42
|
+
type: PropType<(resource: any, locationQuery?: Record<string, string>) => void>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
38
45
|
}>> & Readonly<{}>, {}, {}, {
|
|
39
46
|
AppLoadingSpinner: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
40
47
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -27,6 +27,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
27
27
|
}>, {
|
|
28
28
|
isMarkdown: import('vue').ComputedRef<boolean>;
|
|
29
29
|
theme: import('vue').ComputedRef<"light" | "dark">;
|
|
30
|
+
toolbars: import('vue').ComputedRef<(string | number)[]>;
|
|
30
31
|
language: {
|
|
31
32
|
available: import('vue3-gettext').GetTextOptions["availableLanguages"];
|
|
32
33
|
muted: import('vue3-gettext').GetTextOptions["mutedLanguages"];
|
|
@@ -127,6 +128,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
127
128
|
};
|
|
128
129
|
languages: Record<string, string>;
|
|
129
130
|
onUploadImg: (files: File[]) => Promise<void>;
|
|
131
|
+
showLineNumbers: import('vue').Ref<boolean, boolean>;
|
|
130
132
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:currentContent"[], "update:currentContent", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
131
133
|
applicationConfig: {
|
|
132
134
|
type: PropType<AppConfigObject>;
|
|
@@ -158,5 +160,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
158
160
|
}, {}, {
|
|
159
161
|
MdEditor: any;
|
|
160
162
|
MdPreview: any;
|
|
163
|
+
NormalToolbar: any;
|
|
161
164
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
162
165
|
export default _default;
|
|
@@ -24,6 +24,7 @@ export declare const TextEditor: import('vue').DefineComponent<import('vue').Ext
|
|
|
24
24
|
}>, {
|
|
25
25
|
isMarkdown: import('vue').ComputedRef<boolean>;
|
|
26
26
|
theme: import('vue').ComputedRef<"light" | "dark">;
|
|
27
|
+
toolbars: import('vue').ComputedRef<(string | number)[]>;
|
|
27
28
|
language: {
|
|
28
29
|
available: import('vue3-gettext').GetTextOptions["availableLanguages"];
|
|
29
30
|
muted: import('vue3-gettext').GetTextOptions["mutedLanguages"];
|
|
@@ -124,6 +125,7 @@ export declare const TextEditor: import('vue').DefineComponent<import('vue').Ext
|
|
|
124
125
|
};
|
|
125
126
|
languages: Record<string, string>;
|
|
126
127
|
onUploadImg: (files: File[]) => Promise<void>;
|
|
128
|
+
showLineNumbers: import('vue').Ref<boolean, boolean>;
|
|
127
129
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:currentContent"[], "update:currentContent", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
128
130
|
applicationConfig: {
|
|
129
131
|
type: import('vue').PropType<import('../..').AppConfigObject>;
|
|
@@ -155,4 +157,5 @@ export declare const TextEditor: import('vue').DefineComponent<import('vue').Ext
|
|
|
155
157
|
}, {}, {
|
|
156
158
|
MdEditor: any;
|
|
157
159
|
MdPreview: any;
|
|
160
|
+
NormalToolbar: any;
|
|
158
161
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,2 @@
|
|
|
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>;
|
|
2
|
+
export default _default;
|
|
@@ -1,143 +1,14 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
1
|
import { FolderView } from '../ui/types';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
16
|
-
paginationOptions: {
|
|
17
|
-
type: PropType<string[]>;
|
|
18
|
-
default: () => string[];
|
|
19
|
-
};
|
|
20
|
-
perPageQueryName: {
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
default: () => string;
|
|
23
|
-
};
|
|
24
|
-
perPageDefault: {
|
|
25
|
-
type: StringConstructor;
|
|
26
|
-
default: () => string;
|
|
27
|
-
};
|
|
28
|
-
perPageStoragePrefix: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
required: true;
|
|
31
|
-
};
|
|
32
|
-
viewModeDefault: {
|
|
33
|
-
type: StringConstructor;
|
|
34
|
-
required: false;
|
|
35
|
-
default: () => "resource-tiles";
|
|
36
|
-
};
|
|
37
|
-
viewModes: {
|
|
38
|
-
type: PropType<FolderView[]>;
|
|
39
|
-
default: () => FolderView[];
|
|
40
|
-
};
|
|
41
|
-
}>, {
|
|
42
|
-
FolderViewModeConstants: {
|
|
43
|
-
readonly name: {
|
|
44
|
-
readonly table: "resource-table";
|
|
45
|
-
readonly condensedTable: "resource-table-condensed";
|
|
46
|
-
readonly tiles: "resource-tiles";
|
|
47
|
-
};
|
|
48
|
-
readonly defaultModeName: "resource-tiles";
|
|
49
|
-
readonly queryName: "view-mode";
|
|
50
|
-
readonly tilesSizeDefault: 2;
|
|
51
|
-
readonly tilesSizeMax: 6;
|
|
52
|
-
readonly tilesSizeQueryName: "tiles-size";
|
|
53
|
-
};
|
|
54
|
-
viewModeCurrent: import('vue').Ref<import('..').QueryValue, import('..').QueryValue>;
|
|
55
|
-
viewSizeCurrent: import('vue').Ref<import('..').QueryValue, import('..').QueryValue>;
|
|
56
|
-
viewSizeMax: import('vue').Ref<number, number>;
|
|
57
|
-
itemsPerPageCurrent: import('vue').Ref<import('..').QueryValue, import('..').QueryValue>;
|
|
58
|
-
queryParamsLoading: import('vue').Ref<boolean, boolean>;
|
|
59
|
-
queryItemAsString: (queryItem: string | number | Exclude<string | number, null | undefined>[]) => string;
|
|
60
|
-
setItemsPerPage: (itemsPerPage: string) => Promise<void | import('vue-router').NavigationFailure>;
|
|
61
|
-
setViewMode: (mode: FolderView) => void;
|
|
62
|
-
areHiddenFilesShown: import('vue').Ref<boolean, boolean>;
|
|
63
|
-
areFileExtensionsShown: import('vue').Ref<boolean, boolean>;
|
|
64
|
-
areDisabledSpacesShown: import('vue').Ref<boolean, boolean>;
|
|
65
|
-
areEmptyTrashesShown: import('vue').Ref<boolean, boolean>;
|
|
66
|
-
setAreHiddenFilesShown: (value: boolean) => void;
|
|
67
|
-
setAreFileExtensionsShown: (value: boolean) => void;
|
|
68
|
-
setAreDisabledSpacesShown: (value: boolean) => void;
|
|
69
|
-
setAreEmptyTrashesShown: (value: boolean) => void;
|
|
70
|
-
viewOptionsButtonLabel: string;
|
|
71
|
-
isProjectsLocation: import('vue').Ref<boolean, boolean>;
|
|
72
|
-
isTrashOverViewLocation: import('vue').Ref<boolean, boolean>;
|
|
73
|
-
}, {}, {
|
|
74
|
-
hiddenFilesShownModel: {
|
|
75
|
-
get(): boolean;
|
|
76
|
-
set(value: boolean): void;
|
|
77
|
-
};
|
|
78
|
-
fileExtensionsShownModel: {
|
|
79
|
-
get(): boolean;
|
|
80
|
-
set(value: boolean): void;
|
|
81
|
-
};
|
|
82
|
-
disabledSpacesShownModel: {
|
|
83
|
-
get(): boolean;
|
|
84
|
-
set(value: boolean): void;
|
|
85
|
-
};
|
|
86
|
-
emptyTrashesShownModel: {
|
|
87
|
-
get(): boolean;
|
|
88
|
-
set(value: boolean): void;
|
|
89
|
-
};
|
|
90
|
-
}, {
|
|
91
|
-
updateHiddenFilesShownModel(event: boolean): void;
|
|
92
|
-
updateFileExtensionsShownModel(event: boolean): void;
|
|
93
|
-
updateDisabledSpacesShownModel(event: boolean): void;
|
|
94
|
-
updateEmptyTrashesShownModel(event: boolean): void;
|
|
95
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
96
|
-
hasHiddenFiles: {
|
|
97
|
-
type: BooleanConstructor;
|
|
98
|
-
default: boolean;
|
|
99
|
-
};
|
|
100
|
-
hasFileExtensions: {
|
|
101
|
-
type: BooleanConstructor;
|
|
102
|
-
default: boolean;
|
|
103
|
-
};
|
|
104
|
-
hasPagination: {
|
|
105
|
-
type: BooleanConstructor;
|
|
106
|
-
default: boolean;
|
|
107
|
-
};
|
|
108
|
-
paginationOptions: {
|
|
109
|
-
type: PropType<string[]>;
|
|
110
|
-
default: () => string[];
|
|
111
|
-
};
|
|
112
|
-
perPageQueryName: {
|
|
113
|
-
type: StringConstructor;
|
|
114
|
-
default: () => string;
|
|
115
|
-
};
|
|
116
|
-
perPageDefault: {
|
|
117
|
-
type: StringConstructor;
|
|
118
|
-
default: () => string;
|
|
119
|
-
};
|
|
120
|
-
perPageStoragePrefix: {
|
|
121
|
-
type: StringConstructor;
|
|
122
|
-
required: true;
|
|
123
|
-
};
|
|
124
|
-
viewModeDefault: {
|
|
125
|
-
type: StringConstructor;
|
|
126
|
-
required: false;
|
|
127
|
-
default: () => "resource-tiles";
|
|
128
|
-
};
|
|
129
|
-
viewModes: {
|
|
130
|
-
type: PropType<FolderView[]>;
|
|
131
|
-
default: () => FolderView[];
|
|
132
|
-
};
|
|
133
|
-
}>> & Readonly<{}>, {
|
|
134
|
-
hasHiddenFiles: boolean;
|
|
135
|
-
hasFileExtensions: boolean;
|
|
136
|
-
hasPagination: boolean;
|
|
137
|
-
paginationOptions: string[];
|
|
138
|
-
perPageQueryName: string;
|
|
139
|
-
perPageDefault: string;
|
|
140
|
-
viewModeDefault: string;
|
|
141
|
-
viewModes: FolderView[];
|
|
142
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
perPageStoragePrefix: string;
|
|
4
|
+
hasHiddenFiles?: boolean;
|
|
5
|
+
hasFileExtensions?: boolean;
|
|
6
|
+
hasPagination?: boolean;
|
|
7
|
+
paginationOptions?: string[];
|
|
8
|
+
perPageQueryName?: string;
|
|
9
|
+
perPageDefault?: string;
|
|
10
|
+
viewModeDefault?: string;
|
|
11
|
+
viewModes?: FolderView[];
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
143
14
|
export default _default;
|
|
@@ -26,3 +26,4 @@ export { default as ViewOptions } from './ViewOptions.vue';
|
|
|
26
26
|
export { default as PortalTarget } from './PortalTarget.vue';
|
|
27
27
|
export { default as CreateShortcutModal } from './CreateShortcutModal.vue';
|
|
28
28
|
export { default as CreateLinkModal } from './CreateLinkModal.vue';
|
|
29
|
+
export { default as VersionCheck } from './VersionCheck.vue';
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { FileAction } from '../types';
|
|
2
|
+
import { Resource } from '@opencloud-eu/web-client';
|
|
3
|
+
import { LocationQuery } from 'vue-router';
|
|
2
4
|
export declare const useFileActionsOpenWithApp: ({ appId }: {
|
|
3
5
|
appId: string;
|
|
4
6
|
}) => {
|
|
5
7
|
actions: import('vue').ComputedRef<FileAction[]>;
|
|
8
|
+
onFilePicked: ({ resource, locationQuery }: {
|
|
9
|
+
resource: Resource;
|
|
10
|
+
locationQuery: LocationQuery;
|
|
11
|
+
}) => void;
|
|
6
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const triggerDownloadWithFilename: (url: string, name
|
|
1
|
+
export declare const triggerDownloadWithFilename: (url: string, name?: string) => void;
|
|
@@ -3,12 +3,9 @@ import { Ref } from 'vue';
|
|
|
3
3
|
import { ArchiverCapability } from '@opencloud-eu/web-client/ocs';
|
|
4
4
|
import { UserStore } from '../composables';
|
|
5
5
|
interface TriggerDownloadOptions {
|
|
6
|
-
dir?: string;
|
|
7
6
|
files?: string[];
|
|
8
7
|
fileIds?: string[];
|
|
9
|
-
downloadSecret?: string;
|
|
10
8
|
publicToken?: string;
|
|
11
|
-
publicLinkPassword?: string;
|
|
12
9
|
}
|
|
13
10
|
export declare class ArchiverService {
|
|
14
11
|
clientService: ClientService;
|
|
@@ -20,6 +17,5 @@ export declare class ArchiverService {
|
|
|
20
17
|
triggerDownload(options: TriggerDownloadOptions): Promise<string>;
|
|
21
18
|
private buildDownloadUrl;
|
|
22
19
|
private get url();
|
|
23
|
-
private getFileNameFromResponseHeaders;
|
|
24
20
|
}
|
|
25
21
|
export {};
|