@opencloud-eu/web-pkg 4.1.0 → 4.2.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.
- package/dist/{TextEditor-QVYD64f0.js → TextEditor-BEOcGAsh.js} +124 -70
- package/dist/assets/{worker-BJJcEMnx.js → worker-C2IPj8GP.js} +29 -29
- package/dist/assets/{worker-C9GzAwNf.js → worker-CQqhh0uK.js} +26 -26
- package/dist/assets/{worker-DIwRVmuf.js → worker-DkMHRpBn.js} +16 -16
- package/dist/{index-zEQVUjcV.js → index-C-VmIu2P.js} +11999 -11993
- 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/ContextActions/ContextMenuQuickAction.vue.d.ts +32 -38
- package/dist/src/components/CreateLinkModal.vue.d.ts +2 -18
- package/dist/src/components/FilesList/ContextActions.vue.d.ts +1 -27
- package/dist/src/components/FilesList/ResourceTable.vue.d.ts +56 -39
- package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +0 -4
- 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/composables/clipboard/useClipboard.d.ts +3 -0
- package/dist/src/composables/links/index.d.ts +1 -0
- package/dist/src/composables/links/useCopyLink.d.ts +14 -0
- package/dist/src/composables/piniaStores/capabilities.d.ts +13 -1
- package/dist/src/composables/resources/useGetResourceContext.d.ts +1 -1
- package/dist/src/helpers/download.d.ts +1 -1
- package/dist/src/helpers/resource/index.d.ts +1 -0
- package/dist/src/helpers/resource/isItemInCurrentFolder.d.ts +5 -0
- package/dist/src/services/archiver.d.ts +0 -3
- package/dist/src/services/cache.d.ts +1 -0
- package/dist/web-pkg.js +240 -237
- package/dist/web-pkg.umd.cjs +49 -49
- package/package.json +4 -3
|
@@ -1,41 +1,35 @@
|
|
|
1
1
|
import { Resource } from '@opencloud-eu/web-client';
|
|
2
|
-
|
|
3
|
-
item:
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
item: Resource;
|
|
4
|
+
resourceDomSelector?: (resource: Resource) => string;
|
|
5
|
+
title?: string;
|
|
6
|
+
};
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
contextMenu?(_: {
|
|
11
|
+
item: Resource;
|
|
12
|
+
}): any;
|
|
6
13
|
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
resourceDomSelector: {
|
|
26
|
-
type: FunctionConstructor;
|
|
27
|
-
required: false;
|
|
28
|
-
default: (resource: Resource) => string;
|
|
29
|
-
};
|
|
30
|
-
title: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
required: false;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
}>> & Readonly<{
|
|
36
|
-
onQuickActionClicked?: (...args: any[]) => any;
|
|
37
|
-
}>, {
|
|
38
|
-
title: string;
|
|
39
|
-
resourceDomSelector: Function;
|
|
40
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: any;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
19
|
+
quickActionClicked: (payload: {
|
|
20
|
+
event: MouseEvent;
|
|
21
|
+
dropdown: unknown;
|
|
22
|
+
}) => any;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
+
onQuickActionClicked?: (payload: {
|
|
25
|
+
event: MouseEvent;
|
|
26
|
+
dropdown: unknown;
|
|
27
|
+
}) => any;
|
|
28
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
30
|
export default _default;
|
|
31
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
import { DateTime } from 'luxon';
|
|
2
2
|
import { ComponentPublicInstance, PropType } from 'vue';
|
|
3
3
|
import { Modal } from '../composables';
|
|
4
|
-
import {
|
|
4
|
+
import { SpaceResource, Resource } from '@opencloud-eu/web-client';
|
|
5
5
|
import { OcButton } from '@opencloud-eu/design-system/components';
|
|
6
6
|
import { SharingLinkType } from '@opencloud-eu/web-client/graph/generated';
|
|
7
7
|
type RoleRef = ComponentPublicInstance<typeof OcButton>;
|
|
8
|
-
interface CallbackArgs {
|
|
9
|
-
result: PromiseSettledResult<LinkShare>[];
|
|
10
|
-
password: string;
|
|
11
|
-
options?: {
|
|
12
|
-
copyPassword?: boolean;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
8
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
16
9
|
modal: {
|
|
17
10
|
type: PropType<Modal>;
|
|
@@ -25,10 +18,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
25
18
|
type: PropType<SpaceResource>;
|
|
26
19
|
default: any;
|
|
27
20
|
};
|
|
28
|
-
callbackFn: {
|
|
29
|
-
type: PropType<(args: CallbackArgs) => Promise<void> | void>;
|
|
30
|
-
default: any;
|
|
31
|
-
};
|
|
32
21
|
}>, {
|
|
33
22
|
roleRefs: import('vue').Ref<Record<string, RoleRef>, Record<string, RoleRef>>;
|
|
34
23
|
password: {
|
|
@@ -107,7 +96,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
107
96
|
}>;
|
|
108
97
|
onConfirm: (options?: {
|
|
109
98
|
copyPassword?: boolean;
|
|
110
|
-
}) => Promise<
|
|
99
|
+
}) => Promise<void>;
|
|
111
100
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("cancel" | "confirm")[], "cancel" | "confirm", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
112
101
|
modal: {
|
|
113
102
|
type: PropType<Modal>;
|
|
@@ -121,16 +110,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
121
110
|
type: PropType<SpaceResource>;
|
|
122
111
|
default: any;
|
|
123
112
|
};
|
|
124
|
-
callbackFn: {
|
|
125
|
-
type: PropType<(args: CallbackArgs) => Promise<void> | void>;
|
|
126
|
-
default: any;
|
|
127
|
-
};
|
|
128
113
|
}>> & Readonly<{
|
|
129
114
|
onCancel?: (...args: any[]) => any;
|
|
130
115
|
onConfirm?: (...args: any[]) => any;
|
|
131
116
|
}>, {
|
|
132
117
|
space: SpaceResource;
|
|
133
|
-
callbackFn: (args: CallbackArgs) => Promise<void> | void;
|
|
134
118
|
}, {}, {
|
|
135
119
|
LinkRoleDropdown: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
136
120
|
modelValue: {
|
|
@@ -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;
|
|
@@ -978,45 +978,62 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
978
978
|
userId: string;
|
|
979
979
|
userName: string;
|
|
980
980
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
981
|
-
ContextMenuQuickAction:
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
981
|
+
ContextMenuQuickAction: {
|
|
982
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
983
|
+
item: Resource;
|
|
984
|
+
resourceDomSelector?: (resource: Resource) => string;
|
|
985
|
+
title?: string;
|
|
986
|
+
}> & Readonly<{
|
|
987
|
+
onQuickActionClicked?: (payload: {
|
|
988
|
+
event: MouseEvent;
|
|
989
|
+
dropdown: unknown;
|
|
990
|
+
}) => any;
|
|
991
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
992
|
+
quickActionClicked: (payload: {
|
|
993
|
+
event: MouseEvent;
|
|
994
|
+
dropdown: unknown;
|
|
995
|
+
}) => any;
|
|
996
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
997
|
+
P: {};
|
|
998
|
+
B: {};
|
|
999
|
+
D: {};
|
|
1000
|
+
C: {};
|
|
1001
|
+
M: {};
|
|
1002
|
+
Defaults: {};
|
|
1003
|
+
}, Readonly<{
|
|
1004
|
+
item: Resource;
|
|
1005
|
+
resourceDomSelector?: (resource: Resource) => string;
|
|
1006
|
+
title?: string;
|
|
1007
|
+
}> & Readonly<{
|
|
1008
|
+
onQuickActionClicked?: (payload: {
|
|
1009
|
+
event: MouseEvent;
|
|
1010
|
+
dropdown: unknown;
|
|
1011
|
+
}) => any;
|
|
1012
|
+
}>, {}, {}, {}, {}, {}>;
|
|
1013
|
+
__isFragment?: never;
|
|
1014
|
+
__isTeleport?: never;
|
|
1015
|
+
__isSuspense?: never;
|
|
1016
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
1017
|
+
item: Resource;
|
|
1018
|
+
resourceDomSelector?: (resource: Resource) => string;
|
|
1019
|
+
title?: string;
|
|
1020
|
+
}> & Readonly<{
|
|
1021
|
+
onQuickActionClicked?: (payload: {
|
|
1022
|
+
event: MouseEvent;
|
|
1023
|
+
dropdown: unknown;
|
|
1024
|
+
}) => any;
|
|
1025
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
1026
|
+
quickActionClicked: (payload: {
|
|
1027
|
+
event: MouseEvent;
|
|
1028
|
+
dropdown: unknown;
|
|
1029
|
+
}) => any;
|
|
1030
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
1031
|
+
$slots: {
|
|
1032
|
+
contextMenu?(_: {
|
|
1033
|
+
item: Resource;
|
|
1034
|
+
}): any;
|
|
1013
1035
|
};
|
|
1014
|
-
}
|
|
1015
|
-
onQuickActionClicked?: (...args: any[]) => any;
|
|
1016
|
-
}>, {
|
|
1017
|
-
title: string;
|
|
1018
|
-
resourceDomSelector: Function;
|
|
1019
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1036
|
+
});
|
|
1020
1037
|
ResourceGhostElement: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1021
1038
|
previewItems: {
|
|
1022
1039
|
type: PropType<Resource[]>;
|
|
@@ -32,8 +32,6 @@ declare function __VLS_template(): {
|
|
|
32
32
|
}) => unknown;
|
|
33
33
|
contextMenu?: (props: {
|
|
34
34
|
resource: Resource;
|
|
35
|
-
isOpen: boolean;
|
|
36
|
-
dropRef: HTMLElement | null;
|
|
37
35
|
}) => unknown;
|
|
38
36
|
footer?: () => unknown;
|
|
39
37
|
additionalResourceContent?: (props: {
|
|
@@ -48,8 +46,6 @@ declare function __VLS_template(): {
|
|
|
48
46
|
}) => unknown;
|
|
49
47
|
contextMenu?: (props: {
|
|
50
48
|
resource: Resource;
|
|
51
|
-
isOpen: boolean;
|
|
52
|
-
dropRef: HTMLElement | null;
|
|
53
49
|
}) => unknown;
|
|
54
50
|
footer?: () => unknown;
|
|
55
51
|
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
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LinkShare } from '@opencloud-eu/web-client';
|
|
2
|
+
/**
|
|
3
|
+
* Dedicated composable for copying created links to clipboard because it requires
|
|
4
|
+
* special handling for Safari. For this to work you need to pass the link create method
|
|
5
|
+
* to copyLink so that the link is created within the same user interaction as the clipboard write.
|
|
6
|
+
*
|
|
7
|
+
* This composable also takes care of showing success and error messages.
|
|
8
|
+
*/
|
|
9
|
+
export declare const useCopyLink: () => {
|
|
10
|
+
copyLink: ({ createLinkHandler, password }: {
|
|
11
|
+
createLinkHandler: () => Promise<PromiseSettledResult<LinkShare>[]>;
|
|
12
|
+
password?: string;
|
|
13
|
+
}) => Promise<void>;
|
|
14
|
+
};
|