@opencloud-eu/web-pkg 4.2.1 → 5.0.0-alpha.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-BEOcGAsh.js → TextEditor-uEaAtt7z.js} +44 -42
- package/dist/assets/worker-Br2EoHIh.js +40 -0
- package/dist/assets/{worker-DkMHRpBn.js → worker-CL8AMTxB.js} +20 -30
- package/dist/assets/worker-SrzUf4Ns.js +40 -0
- package/dist/{index-C-VmIu2P.js → index-BwyOzVbn.js} +18618 -18873
- package/dist/src/apps/types.d.ts +1 -0
- package/dist/src/components/AppBar/AppBar.vue.d.ts +2 -0
- package/dist/src/components/BatchActions.vue.d.ts +1 -0
- package/dist/src/components/ContextActions/ActionMenuItem.vue.d.ts +1 -0
- package/dist/src/components/ContextActions/ContextActionMenu.vue.d.ts +1 -0
- package/dist/src/components/ContextActions/ContextMenuQuickAction.vue.d.ts +2 -2
- package/dist/src/components/CreateLinkModal.vue.d.ts +17 -141
- package/dist/src/components/FilesList/ContextActions.vue.d.ts +1 -0
- package/dist/src/components/FilesList/ResourceGhostElement.vue.d.ts +7 -28
- package/dist/src/components/FilesList/ResourceIcon.vue.d.ts +5 -44
- package/dist/src/components/FilesList/ResourceTable.vue.d.ts +174 -1533
- package/dist/src/components/FilesList/ResourceTile.vue.d.ts +4 -2
- package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +19 -67
- package/dist/src/components/ItemFilter.vue.d.ts +12 -9
- package/dist/src/components/SideBar/FileSideBar.vue.d.ts +60 -85
- package/dist/src/composables/actions/files/index.d.ts +12 -11
- package/dist/src/composables/actions/files/useFileActions.d.ts +2 -7
- package/dist/src/composables/actions/files/useFileActionsOpenWithDefault.d.ts +4 -0
- package/dist/src/composables/actions/types.d.ts +2 -2
- package/dist/src/composables/filesList/useResourceRouteResolver.d.ts +8 -4
- package/dist/src/composables/folderLink/useFolderLink.d.ts +2 -2
- package/dist/src/composables/keyboardActions/useInterceptModifierClick.d.ts +1 -1
- package/dist/src/composables/piniaStores/apps.d.ts +6 -0
- package/dist/src/composables/piniaStores/capabilities.d.ts +27 -0
- package/dist/src/composables/piniaStores/config/config.d.ts +4 -1
- package/dist/src/composables/piniaStores/groupwareConfig/groupwareConfig.d.ts +297 -0
- package/dist/src/composables/piniaStores/groupwareConfig/index.d.ts +2 -0
- package/dist/src/composables/piniaStores/groupwareConfig/types.d.ts +140 -0
- package/dist/src/composables/piniaStores/index.d.ts +1 -0
- package/dist/src/composables/piniaStores/messages.d.ts +12 -12
- package/dist/src/composables/resources/index.d.ts +4 -0
- package/dist/src/composables/resources/useResourceViewContextMenu.d.ts +11 -0
- package/dist/src/composables/resources/useResourceViewDrag.d.ts +37 -0
- package/dist/src/composables/resources/useResourceViewHelpers.d.ts +67 -0
- package/dist/src/composables/resources/useResourceViewSelection.d.ts +13 -0
- package/dist/src/composables/selection/index.d.ts +0 -1
- package/dist/src/composables/sort/useSort.d.ts +2 -0
- package/dist/src/constants.d.ts +3 -0
- package/dist/src/helpers/contextMenuDropdown.d.ts +1 -1
- package/dist/src/helpers/index.d.ts +1 -1
- package/dist/src/helpers/promise.d.ts +2 -0
- package/dist/src/index.d.ts +0 -1
- package/dist/web-pkg.js +345 -332
- package/dist/web-pkg.umd.cjs +47 -66
- package/package.json +4 -4
- package/src/index.ts +0 -3
- package/dist/assets/worker-C2IPj8GP.js +0 -50
- package/dist/assets/worker-CQqhh0uK.js +0 -50
- package/dist/src/cern/composables/index.d.ts +0 -1
- package/dist/src/cern/composables/useGroupingSettings.d.ts +0 -34
- package/dist/src/cern/index.d.ts +0 -1
- package/dist/src/composables/selection/useToggleTile.d.ts +0 -4
- package/dist/src/helpers/folderLink/index.d.ts +0 -1
- package/dist/src/helpers/folderLink/types.d.ts +0 -6
|
@@ -178,6 +178,9 @@ export declare const useCapabilityStore: import('pinia').StoreDefinition<"capabi
|
|
|
178
178
|
edit_login_allowed_disabled?: boolean;
|
|
179
179
|
};
|
|
180
180
|
};
|
|
181
|
+
groupware?: {
|
|
182
|
+
enabled?: boolean;
|
|
183
|
+
};
|
|
181
184
|
}, {
|
|
182
185
|
checksums?: {
|
|
183
186
|
preferredUploadType?: string;
|
|
@@ -304,6 +307,9 @@ export declare const useCapabilityStore: import('pinia').StoreDefinition<"capabi
|
|
|
304
307
|
edit_login_allowed_disabled?: boolean;
|
|
305
308
|
};
|
|
306
309
|
};
|
|
310
|
+
groupware?: {
|
|
311
|
+
enabled?: boolean;
|
|
312
|
+
};
|
|
307
313
|
} | {
|
|
308
314
|
checksums?: {
|
|
309
315
|
preferredUploadType?: string;
|
|
@@ -481,6 +487,9 @@ export declare const useCapabilityStore: import('pinia').StoreDefinition<"capabi
|
|
|
481
487
|
edit_login_allowed_disabled?: boolean;
|
|
482
488
|
};
|
|
483
489
|
};
|
|
490
|
+
groupware?: {
|
|
491
|
+
enabled?: boolean;
|
|
492
|
+
};
|
|
484
493
|
}>;
|
|
485
494
|
setCapabilities: (data: Capabilities) => void;
|
|
486
495
|
status: import('vue').ComputedRef<{
|
|
@@ -755,6 +764,9 @@ export declare const useCapabilityStore: import('pinia').StoreDefinition<"capabi
|
|
|
755
764
|
edit_login_allowed_disabled?: boolean;
|
|
756
765
|
};
|
|
757
766
|
};
|
|
767
|
+
groupware?: {
|
|
768
|
+
enabled?: boolean;
|
|
769
|
+
};
|
|
758
770
|
}, {
|
|
759
771
|
checksums?: {
|
|
760
772
|
preferredUploadType?: string;
|
|
@@ -881,6 +893,9 @@ export declare const useCapabilityStore: import('pinia').StoreDefinition<"capabi
|
|
|
881
893
|
edit_login_allowed_disabled?: boolean;
|
|
882
894
|
};
|
|
883
895
|
};
|
|
896
|
+
groupware?: {
|
|
897
|
+
enabled?: boolean;
|
|
898
|
+
};
|
|
884
899
|
} | {
|
|
885
900
|
checksums?: {
|
|
886
901
|
preferredUploadType?: string;
|
|
@@ -1058,6 +1073,9 @@ export declare const useCapabilityStore: import('pinia').StoreDefinition<"capabi
|
|
|
1058
1073
|
edit_login_allowed_disabled?: boolean;
|
|
1059
1074
|
};
|
|
1060
1075
|
};
|
|
1076
|
+
groupware?: {
|
|
1077
|
+
enabled?: boolean;
|
|
1078
|
+
};
|
|
1061
1079
|
}>;
|
|
1062
1080
|
setCapabilities: (data: Capabilities) => void;
|
|
1063
1081
|
status: import('vue').ComputedRef<{
|
|
@@ -1332,6 +1350,9 @@ export declare const useCapabilityStore: import('pinia').StoreDefinition<"capabi
|
|
|
1332
1350
|
edit_login_allowed_disabled?: boolean;
|
|
1333
1351
|
};
|
|
1334
1352
|
};
|
|
1353
|
+
groupware?: {
|
|
1354
|
+
enabled?: boolean;
|
|
1355
|
+
};
|
|
1335
1356
|
}, {
|
|
1336
1357
|
checksums?: {
|
|
1337
1358
|
preferredUploadType?: string;
|
|
@@ -1458,6 +1479,9 @@ export declare const useCapabilityStore: import('pinia').StoreDefinition<"capabi
|
|
|
1458
1479
|
edit_login_allowed_disabled?: boolean;
|
|
1459
1480
|
};
|
|
1460
1481
|
};
|
|
1482
|
+
groupware?: {
|
|
1483
|
+
enabled?: boolean;
|
|
1484
|
+
};
|
|
1461
1485
|
} | {
|
|
1462
1486
|
checksums?: {
|
|
1463
1487
|
preferredUploadType?: string;
|
|
@@ -1635,6 +1659,9 @@ export declare const useCapabilityStore: import('pinia').StoreDefinition<"capabi
|
|
|
1635
1659
|
edit_login_allowed_disabled?: boolean;
|
|
1636
1660
|
};
|
|
1637
1661
|
};
|
|
1662
|
+
groupware?: {
|
|
1663
|
+
enabled?: boolean;
|
|
1664
|
+
};
|
|
1638
1665
|
}>;
|
|
1639
1666
|
setCapabilities: (data: Capabilities) => void;
|
|
1640
1667
|
status: import('vue').ComputedRef<{
|
|
@@ -250,6 +250,7 @@ export declare const useConfigStore: import('pinia').StoreDefinition<"config", P
|
|
|
250
250
|
href?: string;
|
|
251
251
|
}[]>;
|
|
252
252
|
serverUrl: import('vue').ComputedRef<string>;
|
|
253
|
+
groupwareUrl: import('vue').ComputedRef<string>;
|
|
253
254
|
loadConfig: (data: RawConfig) => void;
|
|
254
255
|
}, "apps" | "options" | "theme" | "customTranslations" | "openIdConnect" | "sentry" | "scripts" | "styles" | "oAuth2" | "externalApps">, Pick<{
|
|
255
256
|
options: import('vue').Ref<{
|
|
@@ -502,8 +503,9 @@ export declare const useConfigStore: import('pinia').StoreDefinition<"config", P
|
|
|
502
503
|
href?: string;
|
|
503
504
|
}[]>;
|
|
504
505
|
serverUrl: import('vue').ComputedRef<string>;
|
|
506
|
+
groupwareUrl: import('vue').ComputedRef<string>;
|
|
505
507
|
loadConfig: (data: RawConfig) => void;
|
|
506
|
-
}, "serverUrl" | "isOAuth2" | "isOIDC">, Pick<{
|
|
508
|
+
}, "serverUrl" | "isOAuth2" | "isOIDC" | "groupwareUrl">, Pick<{
|
|
507
509
|
options: import('vue').Ref<{
|
|
508
510
|
cernFeatures?: boolean;
|
|
509
511
|
concurrentRequests?: {
|
|
@@ -754,6 +756,7 @@ export declare const useConfigStore: import('pinia').StoreDefinition<"config", P
|
|
|
754
756
|
href?: string;
|
|
755
757
|
}[]>;
|
|
756
758
|
serverUrl: import('vue').ComputedRef<string>;
|
|
759
|
+
groupwareUrl: import('vue').ComputedRef<string>;
|
|
757
760
|
loadConfig: (data: RawConfig) => void;
|
|
758
761
|
}, "loadConfig">>;
|
|
759
762
|
export type ConfigStore = ReturnType<typeof useConfigStore>;
|
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import { RawGroupwareConfig } from './types';
|
|
2
|
+
export declare const useGroupwareConfigStore: import('pinia').StoreDefinition<"groupwareConfig", Pick<{
|
|
3
|
+
version: import('vue').Ref<string, string>;
|
|
4
|
+
capabilities: import('vue').Ref<string[], string[]>;
|
|
5
|
+
limits: import('vue').Ref<{
|
|
6
|
+
maxSizeUpload: number;
|
|
7
|
+
maxConcurrentUpload: number;
|
|
8
|
+
maxSizeRequest: number;
|
|
9
|
+
maxConcurrentRequests: number;
|
|
10
|
+
}, {
|
|
11
|
+
maxSizeUpload: number;
|
|
12
|
+
maxConcurrentUpload: number;
|
|
13
|
+
maxSizeRequest: number;
|
|
14
|
+
maxConcurrentRequests: number;
|
|
15
|
+
}>;
|
|
16
|
+
accounts: import('vue').Ref<{
|
|
17
|
+
accountId: string;
|
|
18
|
+
name: string;
|
|
19
|
+
isPersonal: boolean;
|
|
20
|
+
isReadOnly: boolean;
|
|
21
|
+
capabilities: {
|
|
22
|
+
mail?: {
|
|
23
|
+
maxMailboxDepth: number;
|
|
24
|
+
maxSizeMailboxName: number;
|
|
25
|
+
maxMailboxesPerEmail: number;
|
|
26
|
+
maxSizeAttachmentsPerEmail: number;
|
|
27
|
+
mayCreateTopLevelMailbox: boolean;
|
|
28
|
+
maxDelayedSend: number;
|
|
29
|
+
};
|
|
30
|
+
sieve?: {
|
|
31
|
+
maxSizeScriptName: number;
|
|
32
|
+
maxSizeScript: number;
|
|
33
|
+
maxNumberScripts: number;
|
|
34
|
+
maxNumberRedirects: number;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
identities: {
|
|
38
|
+
id: string;
|
|
39
|
+
name: string;
|
|
40
|
+
email: string;
|
|
41
|
+
mayDelete: boolean;
|
|
42
|
+
}[];
|
|
43
|
+
}[], {
|
|
44
|
+
accountId: string;
|
|
45
|
+
name: string;
|
|
46
|
+
isPersonal: boolean;
|
|
47
|
+
isReadOnly: boolean;
|
|
48
|
+
capabilities: {
|
|
49
|
+
mail?: {
|
|
50
|
+
maxMailboxDepth: number;
|
|
51
|
+
maxSizeMailboxName: number;
|
|
52
|
+
maxMailboxesPerEmail: number;
|
|
53
|
+
maxSizeAttachmentsPerEmail: number;
|
|
54
|
+
mayCreateTopLevelMailbox: boolean;
|
|
55
|
+
maxDelayedSend: number;
|
|
56
|
+
};
|
|
57
|
+
sieve?: {
|
|
58
|
+
maxSizeScriptName: number;
|
|
59
|
+
maxSizeScript: number;
|
|
60
|
+
maxNumberScripts: number;
|
|
61
|
+
maxNumberRedirects: number;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
identities: {
|
|
65
|
+
id: string;
|
|
66
|
+
name: string;
|
|
67
|
+
email: string;
|
|
68
|
+
mayDelete: boolean;
|
|
69
|
+
}[];
|
|
70
|
+
}[] | {
|
|
71
|
+
accountId: string;
|
|
72
|
+
name: string;
|
|
73
|
+
isPersonal: boolean;
|
|
74
|
+
isReadOnly: boolean;
|
|
75
|
+
capabilities: {
|
|
76
|
+
mail?: {
|
|
77
|
+
maxMailboxDepth: number;
|
|
78
|
+
maxSizeMailboxName: number;
|
|
79
|
+
maxMailboxesPerEmail: number;
|
|
80
|
+
maxSizeAttachmentsPerEmail: number;
|
|
81
|
+
mayCreateTopLevelMailbox: boolean;
|
|
82
|
+
maxDelayedSend: number;
|
|
83
|
+
};
|
|
84
|
+
sieve?: {
|
|
85
|
+
maxSizeScriptName: number;
|
|
86
|
+
maxSizeScript: number;
|
|
87
|
+
maxNumberScripts: number;
|
|
88
|
+
maxNumberRedirects: number;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
identities: {
|
|
92
|
+
id: string;
|
|
93
|
+
name: string;
|
|
94
|
+
email: string;
|
|
95
|
+
mayDelete: boolean;
|
|
96
|
+
}[];
|
|
97
|
+
}[]>;
|
|
98
|
+
primaryAccounts: import('vue').Ref<Record<string, string>, Record<string, string>>;
|
|
99
|
+
loadGroupwareConfig: (data: RawGroupwareConfig) => void;
|
|
100
|
+
}, "capabilities" | "version" | "limits" | "accounts" | "primaryAccounts">, Pick<{
|
|
101
|
+
version: import('vue').Ref<string, string>;
|
|
102
|
+
capabilities: import('vue').Ref<string[], string[]>;
|
|
103
|
+
limits: import('vue').Ref<{
|
|
104
|
+
maxSizeUpload: number;
|
|
105
|
+
maxConcurrentUpload: number;
|
|
106
|
+
maxSizeRequest: number;
|
|
107
|
+
maxConcurrentRequests: number;
|
|
108
|
+
}, {
|
|
109
|
+
maxSizeUpload: number;
|
|
110
|
+
maxConcurrentUpload: number;
|
|
111
|
+
maxSizeRequest: number;
|
|
112
|
+
maxConcurrentRequests: number;
|
|
113
|
+
}>;
|
|
114
|
+
accounts: import('vue').Ref<{
|
|
115
|
+
accountId: string;
|
|
116
|
+
name: string;
|
|
117
|
+
isPersonal: boolean;
|
|
118
|
+
isReadOnly: boolean;
|
|
119
|
+
capabilities: {
|
|
120
|
+
mail?: {
|
|
121
|
+
maxMailboxDepth: number;
|
|
122
|
+
maxSizeMailboxName: number;
|
|
123
|
+
maxMailboxesPerEmail: number;
|
|
124
|
+
maxSizeAttachmentsPerEmail: number;
|
|
125
|
+
mayCreateTopLevelMailbox: boolean;
|
|
126
|
+
maxDelayedSend: number;
|
|
127
|
+
};
|
|
128
|
+
sieve?: {
|
|
129
|
+
maxSizeScriptName: number;
|
|
130
|
+
maxSizeScript: number;
|
|
131
|
+
maxNumberScripts: number;
|
|
132
|
+
maxNumberRedirects: number;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
identities: {
|
|
136
|
+
id: string;
|
|
137
|
+
name: string;
|
|
138
|
+
email: string;
|
|
139
|
+
mayDelete: boolean;
|
|
140
|
+
}[];
|
|
141
|
+
}[], {
|
|
142
|
+
accountId: string;
|
|
143
|
+
name: string;
|
|
144
|
+
isPersonal: boolean;
|
|
145
|
+
isReadOnly: boolean;
|
|
146
|
+
capabilities: {
|
|
147
|
+
mail?: {
|
|
148
|
+
maxMailboxDepth: number;
|
|
149
|
+
maxSizeMailboxName: number;
|
|
150
|
+
maxMailboxesPerEmail: number;
|
|
151
|
+
maxSizeAttachmentsPerEmail: number;
|
|
152
|
+
mayCreateTopLevelMailbox: boolean;
|
|
153
|
+
maxDelayedSend: number;
|
|
154
|
+
};
|
|
155
|
+
sieve?: {
|
|
156
|
+
maxSizeScriptName: number;
|
|
157
|
+
maxSizeScript: number;
|
|
158
|
+
maxNumberScripts: number;
|
|
159
|
+
maxNumberRedirects: number;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
identities: {
|
|
163
|
+
id: string;
|
|
164
|
+
name: string;
|
|
165
|
+
email: string;
|
|
166
|
+
mayDelete: boolean;
|
|
167
|
+
}[];
|
|
168
|
+
}[] | {
|
|
169
|
+
accountId: string;
|
|
170
|
+
name: string;
|
|
171
|
+
isPersonal: boolean;
|
|
172
|
+
isReadOnly: boolean;
|
|
173
|
+
capabilities: {
|
|
174
|
+
mail?: {
|
|
175
|
+
maxMailboxDepth: number;
|
|
176
|
+
maxSizeMailboxName: number;
|
|
177
|
+
maxMailboxesPerEmail: number;
|
|
178
|
+
maxSizeAttachmentsPerEmail: number;
|
|
179
|
+
mayCreateTopLevelMailbox: boolean;
|
|
180
|
+
maxDelayedSend: number;
|
|
181
|
+
};
|
|
182
|
+
sieve?: {
|
|
183
|
+
maxSizeScriptName: number;
|
|
184
|
+
maxSizeScript: number;
|
|
185
|
+
maxNumberScripts: number;
|
|
186
|
+
maxNumberRedirects: number;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
identities: {
|
|
190
|
+
id: string;
|
|
191
|
+
name: string;
|
|
192
|
+
email: string;
|
|
193
|
+
mayDelete: boolean;
|
|
194
|
+
}[];
|
|
195
|
+
}[]>;
|
|
196
|
+
primaryAccounts: import('vue').Ref<Record<string, string>, Record<string, string>>;
|
|
197
|
+
loadGroupwareConfig: (data: RawGroupwareConfig) => void;
|
|
198
|
+
}, never>, Pick<{
|
|
199
|
+
version: import('vue').Ref<string, string>;
|
|
200
|
+
capabilities: import('vue').Ref<string[], string[]>;
|
|
201
|
+
limits: import('vue').Ref<{
|
|
202
|
+
maxSizeUpload: number;
|
|
203
|
+
maxConcurrentUpload: number;
|
|
204
|
+
maxSizeRequest: number;
|
|
205
|
+
maxConcurrentRequests: number;
|
|
206
|
+
}, {
|
|
207
|
+
maxSizeUpload: number;
|
|
208
|
+
maxConcurrentUpload: number;
|
|
209
|
+
maxSizeRequest: number;
|
|
210
|
+
maxConcurrentRequests: number;
|
|
211
|
+
}>;
|
|
212
|
+
accounts: import('vue').Ref<{
|
|
213
|
+
accountId: string;
|
|
214
|
+
name: string;
|
|
215
|
+
isPersonal: boolean;
|
|
216
|
+
isReadOnly: boolean;
|
|
217
|
+
capabilities: {
|
|
218
|
+
mail?: {
|
|
219
|
+
maxMailboxDepth: number;
|
|
220
|
+
maxSizeMailboxName: number;
|
|
221
|
+
maxMailboxesPerEmail: number;
|
|
222
|
+
maxSizeAttachmentsPerEmail: number;
|
|
223
|
+
mayCreateTopLevelMailbox: boolean;
|
|
224
|
+
maxDelayedSend: number;
|
|
225
|
+
};
|
|
226
|
+
sieve?: {
|
|
227
|
+
maxSizeScriptName: number;
|
|
228
|
+
maxSizeScript: number;
|
|
229
|
+
maxNumberScripts: number;
|
|
230
|
+
maxNumberRedirects: number;
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
identities: {
|
|
234
|
+
id: string;
|
|
235
|
+
name: string;
|
|
236
|
+
email: string;
|
|
237
|
+
mayDelete: boolean;
|
|
238
|
+
}[];
|
|
239
|
+
}[], {
|
|
240
|
+
accountId: string;
|
|
241
|
+
name: string;
|
|
242
|
+
isPersonal: boolean;
|
|
243
|
+
isReadOnly: boolean;
|
|
244
|
+
capabilities: {
|
|
245
|
+
mail?: {
|
|
246
|
+
maxMailboxDepth: number;
|
|
247
|
+
maxSizeMailboxName: number;
|
|
248
|
+
maxMailboxesPerEmail: number;
|
|
249
|
+
maxSizeAttachmentsPerEmail: number;
|
|
250
|
+
mayCreateTopLevelMailbox: boolean;
|
|
251
|
+
maxDelayedSend: number;
|
|
252
|
+
};
|
|
253
|
+
sieve?: {
|
|
254
|
+
maxSizeScriptName: number;
|
|
255
|
+
maxSizeScript: number;
|
|
256
|
+
maxNumberScripts: number;
|
|
257
|
+
maxNumberRedirects: number;
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
identities: {
|
|
261
|
+
id: string;
|
|
262
|
+
name: string;
|
|
263
|
+
email: string;
|
|
264
|
+
mayDelete: boolean;
|
|
265
|
+
}[];
|
|
266
|
+
}[] | {
|
|
267
|
+
accountId: string;
|
|
268
|
+
name: string;
|
|
269
|
+
isPersonal: boolean;
|
|
270
|
+
isReadOnly: boolean;
|
|
271
|
+
capabilities: {
|
|
272
|
+
mail?: {
|
|
273
|
+
maxMailboxDepth: number;
|
|
274
|
+
maxSizeMailboxName: number;
|
|
275
|
+
maxMailboxesPerEmail: number;
|
|
276
|
+
maxSizeAttachmentsPerEmail: number;
|
|
277
|
+
mayCreateTopLevelMailbox: boolean;
|
|
278
|
+
maxDelayedSend: number;
|
|
279
|
+
};
|
|
280
|
+
sieve?: {
|
|
281
|
+
maxSizeScriptName: number;
|
|
282
|
+
maxSizeScript: number;
|
|
283
|
+
maxNumberScripts: number;
|
|
284
|
+
maxNumberRedirects: number;
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
identities: {
|
|
288
|
+
id: string;
|
|
289
|
+
name: string;
|
|
290
|
+
email: string;
|
|
291
|
+
mayDelete: boolean;
|
|
292
|
+
}[];
|
|
293
|
+
}[]>;
|
|
294
|
+
primaryAccounts: import('vue').Ref<Record<string, string>, Record<string, string>>;
|
|
295
|
+
loadGroupwareConfig: (data: RawGroupwareConfig) => void;
|
|
296
|
+
}, "loadGroupwareConfig">>;
|
|
297
|
+
export type GroupwareConfigStore = ReturnType<typeof useGroupwareConfigStore>;
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const MailCapabilitiesSchema: z.ZodObject<{
|
|
3
|
+
maxMailboxDepth: z.ZodNumber;
|
|
4
|
+
maxSizeMailboxName: z.ZodNumber;
|
|
5
|
+
maxMailboxesPerEmail: z.ZodNumber;
|
|
6
|
+
maxSizeAttachmentsPerEmail: z.ZodNumber;
|
|
7
|
+
mayCreateTopLevelMailbox: z.ZodBoolean;
|
|
8
|
+
maxDelayedSend: z.ZodNumber;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
export declare const SieveCapabilitiesSchema: z.ZodObject<{
|
|
11
|
+
maxSizeScriptName: z.ZodNumber;
|
|
12
|
+
maxSizeScript: z.ZodNumber;
|
|
13
|
+
maxNumberScripts: z.ZodNumber;
|
|
14
|
+
maxNumberRedirects: z.ZodNumber;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
export declare const AccountCapabilitiesSchema: z.ZodObject<{
|
|
17
|
+
mail: z.ZodOptional<z.ZodObject<{
|
|
18
|
+
maxMailboxDepth: z.ZodNumber;
|
|
19
|
+
maxSizeMailboxName: z.ZodNumber;
|
|
20
|
+
maxMailboxesPerEmail: z.ZodNumber;
|
|
21
|
+
maxSizeAttachmentsPerEmail: z.ZodNumber;
|
|
22
|
+
mayCreateTopLevelMailbox: z.ZodBoolean;
|
|
23
|
+
maxDelayedSend: z.ZodNumber;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
sieve: z.ZodOptional<z.ZodObject<{
|
|
26
|
+
maxSizeScriptName: z.ZodNumber;
|
|
27
|
+
maxSizeScript: z.ZodNumber;
|
|
28
|
+
maxNumberScripts: z.ZodNumber;
|
|
29
|
+
maxNumberRedirects: z.ZodNumber;
|
|
30
|
+
}, z.core.$strip>>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
export declare const IdentitySchema: z.ZodObject<{
|
|
33
|
+
id: z.ZodString;
|
|
34
|
+
name: z.ZodString;
|
|
35
|
+
email: z.ZodString;
|
|
36
|
+
mayDelete: z.ZodBoolean;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
export declare const AccountSchema: z.ZodObject<{
|
|
39
|
+
accountId: z.ZodString;
|
|
40
|
+
name: z.ZodString;
|
|
41
|
+
isPersonal: z.ZodBoolean;
|
|
42
|
+
isReadOnly: z.ZodBoolean;
|
|
43
|
+
capabilities: z.ZodObject<{
|
|
44
|
+
mail: z.ZodOptional<z.ZodObject<{
|
|
45
|
+
maxMailboxDepth: z.ZodNumber;
|
|
46
|
+
maxSizeMailboxName: z.ZodNumber;
|
|
47
|
+
maxMailboxesPerEmail: z.ZodNumber;
|
|
48
|
+
maxSizeAttachmentsPerEmail: z.ZodNumber;
|
|
49
|
+
mayCreateTopLevelMailbox: z.ZodBoolean;
|
|
50
|
+
maxDelayedSend: z.ZodNumber;
|
|
51
|
+
}, z.core.$strip>>;
|
|
52
|
+
sieve: z.ZodOptional<z.ZodObject<{
|
|
53
|
+
maxSizeScriptName: z.ZodNumber;
|
|
54
|
+
maxSizeScript: z.ZodNumber;
|
|
55
|
+
maxNumberScripts: z.ZodNumber;
|
|
56
|
+
maxNumberRedirects: z.ZodNumber;
|
|
57
|
+
}, z.core.$strip>>;
|
|
58
|
+
}, z.core.$strip>;
|
|
59
|
+
identities: z.ZodArray<z.ZodObject<{
|
|
60
|
+
id: z.ZodString;
|
|
61
|
+
name: z.ZodString;
|
|
62
|
+
email: z.ZodString;
|
|
63
|
+
mayDelete: z.ZodBoolean;
|
|
64
|
+
}, z.core.$strip>>;
|
|
65
|
+
}, z.core.$strip>;
|
|
66
|
+
export declare const LimitsSchema: z.ZodObject<{
|
|
67
|
+
maxSizeUpload: z.ZodNumber;
|
|
68
|
+
maxConcurrentUpload: z.ZodNumber;
|
|
69
|
+
maxSizeRequest: z.ZodNumber;
|
|
70
|
+
maxConcurrentRequests: z.ZodNumber;
|
|
71
|
+
}, z.core.$strip>;
|
|
72
|
+
export declare const AccountsSchema: z.ZodArray<z.ZodObject<{
|
|
73
|
+
accountId: z.ZodString;
|
|
74
|
+
name: z.ZodString;
|
|
75
|
+
isPersonal: z.ZodBoolean;
|
|
76
|
+
isReadOnly: z.ZodBoolean;
|
|
77
|
+
capabilities: z.ZodObject<{
|
|
78
|
+
mail: z.ZodOptional<z.ZodObject<{
|
|
79
|
+
maxMailboxDepth: z.ZodNumber;
|
|
80
|
+
maxSizeMailboxName: z.ZodNumber;
|
|
81
|
+
maxMailboxesPerEmail: z.ZodNumber;
|
|
82
|
+
maxSizeAttachmentsPerEmail: z.ZodNumber;
|
|
83
|
+
mayCreateTopLevelMailbox: z.ZodBoolean;
|
|
84
|
+
maxDelayedSend: z.ZodNumber;
|
|
85
|
+
}, z.core.$strip>>;
|
|
86
|
+
sieve: z.ZodOptional<z.ZodObject<{
|
|
87
|
+
maxSizeScriptName: z.ZodNumber;
|
|
88
|
+
maxSizeScript: z.ZodNumber;
|
|
89
|
+
maxNumberScripts: z.ZodNumber;
|
|
90
|
+
maxNumberRedirects: z.ZodNumber;
|
|
91
|
+
}, z.core.$strip>>;
|
|
92
|
+
}, z.core.$strip>;
|
|
93
|
+
identities: z.ZodArray<z.ZodObject<{
|
|
94
|
+
id: z.ZodString;
|
|
95
|
+
name: z.ZodString;
|
|
96
|
+
email: z.ZodString;
|
|
97
|
+
mayDelete: z.ZodBoolean;
|
|
98
|
+
}, z.core.$strip>>;
|
|
99
|
+
}, z.core.$strip>>;
|
|
100
|
+
export declare const PrimaryAccountsSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
101
|
+
export declare const RawGroupwareConfigSchema: z.ZodObject<{
|
|
102
|
+
version: z.ZodString;
|
|
103
|
+
capabilities: z.ZodArray<z.ZodString>;
|
|
104
|
+
limits: z.ZodObject<{
|
|
105
|
+
maxSizeUpload: z.ZodNumber;
|
|
106
|
+
maxConcurrentUpload: z.ZodNumber;
|
|
107
|
+
maxSizeRequest: z.ZodNumber;
|
|
108
|
+
maxConcurrentRequests: z.ZodNumber;
|
|
109
|
+
}, z.core.$strip>;
|
|
110
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
111
|
+
accountId: z.ZodString;
|
|
112
|
+
name: z.ZodString;
|
|
113
|
+
isPersonal: z.ZodBoolean;
|
|
114
|
+
isReadOnly: z.ZodBoolean;
|
|
115
|
+
capabilities: z.ZodObject<{
|
|
116
|
+
mail: z.ZodOptional<z.ZodObject<{
|
|
117
|
+
maxMailboxDepth: z.ZodNumber;
|
|
118
|
+
maxSizeMailboxName: z.ZodNumber;
|
|
119
|
+
maxMailboxesPerEmail: z.ZodNumber;
|
|
120
|
+
maxSizeAttachmentsPerEmail: z.ZodNumber;
|
|
121
|
+
mayCreateTopLevelMailbox: z.ZodBoolean;
|
|
122
|
+
maxDelayedSend: z.ZodNumber;
|
|
123
|
+
}, z.core.$strip>>;
|
|
124
|
+
sieve: z.ZodOptional<z.ZodObject<{
|
|
125
|
+
maxSizeScriptName: z.ZodNumber;
|
|
126
|
+
maxSizeScript: z.ZodNumber;
|
|
127
|
+
maxNumberScripts: z.ZodNumber;
|
|
128
|
+
maxNumberRedirects: z.ZodNumber;
|
|
129
|
+
}, z.core.$strip>>;
|
|
130
|
+
}, z.core.$strip>;
|
|
131
|
+
identities: z.ZodArray<z.ZodObject<{
|
|
132
|
+
id: z.ZodString;
|
|
133
|
+
name: z.ZodString;
|
|
134
|
+
email: z.ZodString;
|
|
135
|
+
mayDelete: z.ZodBoolean;
|
|
136
|
+
}, z.core.$strip>>;
|
|
137
|
+
}, z.core.$strip>>;
|
|
138
|
+
primaryAccounts: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
139
|
+
}, z.core.$strip>;
|
|
140
|
+
export type RawGroupwareConfig = z.infer<typeof RawGroupwareConfigSchema>;
|
|
@@ -121,7 +121,7 @@ export declare const useMessages: import('pinia').StoreDefinition<"messages", Pi
|
|
|
121
121
|
isWellFormed: () => boolean;
|
|
122
122
|
toWellFormed: () => string;
|
|
123
123
|
};
|
|
124
|
-
icon: string;
|
|
124
|
+
icon: string | ((options?: ActionOptions) => string);
|
|
125
125
|
iconFillType?: import('../..').IconFillType;
|
|
126
126
|
appearance?: import('@opencloud-eu/design-system/helpers').AppearanceType;
|
|
127
127
|
id?: string;
|
|
@@ -136,7 +136,7 @@ export declare const useMessages: import('pinia').StoreDefinition<"messages", Pi
|
|
|
136
136
|
label: (options?: ActionOptions) => string;
|
|
137
137
|
isVisible: (options?: ActionOptions) => boolean;
|
|
138
138
|
handler?: (options?: ActionOptions) => Promise<void> | void;
|
|
139
|
-
route?: (options?: ActionOptions) => import('vue-router').RouteLocationRaw;
|
|
139
|
+
route?: (options?: ActionOptions) => import('vue-router').RouteLocationRaw | undefined;
|
|
140
140
|
href?: (options?: ActionOptions) => string;
|
|
141
141
|
isDisabled?: (options?: ActionOptions) => boolean;
|
|
142
142
|
disabledTooltip?: (options?: ActionOptions) => string;
|
|
@@ -250,7 +250,7 @@ export declare const useMessages: import('pinia').StoreDefinition<"messages", Pi
|
|
|
250
250
|
isWellFormed: () => boolean;
|
|
251
251
|
toWellFormed: () => string;
|
|
252
252
|
};
|
|
253
|
-
icon: string;
|
|
253
|
+
icon: string | ((options?: ActionOptions) => string);
|
|
254
254
|
iconFillType?: import('../..').IconFillType;
|
|
255
255
|
appearance?: import('@opencloud-eu/design-system/helpers').AppearanceType;
|
|
256
256
|
id?: string;
|
|
@@ -265,7 +265,7 @@ export declare const useMessages: import('pinia').StoreDefinition<"messages", Pi
|
|
|
265
265
|
label: (options?: ActionOptions) => string;
|
|
266
266
|
isVisible: (options?: ActionOptions) => boolean;
|
|
267
267
|
handler?: (options?: ActionOptions) => Promise<void> | void;
|
|
268
|
-
route?: (options?: ActionOptions) => import('vue-router').RouteLocationRaw;
|
|
268
|
+
route?: (options?: ActionOptions) => import('vue-router').RouteLocationRaw | undefined;
|
|
269
269
|
href?: (options?: ActionOptions) => string;
|
|
270
270
|
isDisabled?: (options?: ActionOptions) => boolean;
|
|
271
271
|
disabledTooltip?: (options?: ActionOptions) => string;
|
|
@@ -404,7 +404,7 @@ export declare const useMessages: import('pinia').StoreDefinition<"messages", Pi
|
|
|
404
404
|
isWellFormed: () => boolean;
|
|
405
405
|
toWellFormed: () => string;
|
|
406
406
|
};
|
|
407
|
-
icon: string;
|
|
407
|
+
icon: string | ((options?: ActionOptions) => string);
|
|
408
408
|
iconFillType?: import('../..').IconFillType;
|
|
409
409
|
appearance?: import('@opencloud-eu/design-system/helpers').AppearanceType;
|
|
410
410
|
id?: string;
|
|
@@ -419,7 +419,7 @@ export declare const useMessages: import('pinia').StoreDefinition<"messages", Pi
|
|
|
419
419
|
label: (options?: ActionOptions) => string;
|
|
420
420
|
isVisible: (options?: ActionOptions) => boolean;
|
|
421
421
|
handler?: (options?: ActionOptions) => Promise<void> | void;
|
|
422
|
-
route?: (options?: ActionOptions) => import('vue-router').RouteLocationRaw;
|
|
422
|
+
route?: (options?: ActionOptions) => import('vue-router').RouteLocationRaw | undefined;
|
|
423
423
|
href?: (options?: ActionOptions) => string;
|
|
424
424
|
isDisabled?: (options?: ActionOptions) => boolean;
|
|
425
425
|
disabledTooltip?: (options?: ActionOptions) => string;
|
|
@@ -533,7 +533,7 @@ export declare const useMessages: import('pinia').StoreDefinition<"messages", Pi
|
|
|
533
533
|
isWellFormed: () => boolean;
|
|
534
534
|
toWellFormed: () => string;
|
|
535
535
|
};
|
|
536
|
-
icon: string;
|
|
536
|
+
icon: string | ((options?: ActionOptions) => string);
|
|
537
537
|
iconFillType?: import('../..').IconFillType;
|
|
538
538
|
appearance?: import('@opencloud-eu/design-system/helpers').AppearanceType;
|
|
539
539
|
id?: string;
|
|
@@ -548,7 +548,7 @@ export declare const useMessages: import('pinia').StoreDefinition<"messages", Pi
|
|
|
548
548
|
label: (options?: ActionOptions) => string;
|
|
549
549
|
isVisible: (options?: ActionOptions) => boolean;
|
|
550
550
|
handler?: (options?: ActionOptions) => Promise<void> | void;
|
|
551
|
-
route?: (options?: ActionOptions) => import('vue-router').RouteLocationRaw;
|
|
551
|
+
route?: (options?: ActionOptions) => import('vue-router').RouteLocationRaw | undefined;
|
|
552
552
|
href?: (options?: ActionOptions) => string;
|
|
553
553
|
isDisabled?: (options?: ActionOptions) => boolean;
|
|
554
554
|
disabledTooltip?: (options?: ActionOptions) => string;
|
|
@@ -687,7 +687,7 @@ export declare const useMessages: import('pinia').StoreDefinition<"messages", Pi
|
|
|
687
687
|
isWellFormed: () => boolean;
|
|
688
688
|
toWellFormed: () => string;
|
|
689
689
|
};
|
|
690
|
-
icon: string;
|
|
690
|
+
icon: string | ((options?: ActionOptions) => string);
|
|
691
691
|
iconFillType?: import('../..').IconFillType;
|
|
692
692
|
appearance?: import('@opencloud-eu/design-system/helpers').AppearanceType;
|
|
693
693
|
id?: string;
|
|
@@ -702,7 +702,7 @@ export declare const useMessages: import('pinia').StoreDefinition<"messages", Pi
|
|
|
702
702
|
label: (options?: ActionOptions) => string;
|
|
703
703
|
isVisible: (options?: ActionOptions) => boolean;
|
|
704
704
|
handler?: (options?: ActionOptions) => Promise<void> | void;
|
|
705
|
-
route?: (options?: ActionOptions) => import('vue-router').RouteLocationRaw;
|
|
705
|
+
route?: (options?: ActionOptions) => import('vue-router').RouteLocationRaw | undefined;
|
|
706
706
|
href?: (options?: ActionOptions) => string;
|
|
707
707
|
isDisabled?: (options?: ActionOptions) => boolean;
|
|
708
708
|
disabledTooltip?: (options?: ActionOptions) => string;
|
|
@@ -816,7 +816,7 @@ export declare const useMessages: import('pinia').StoreDefinition<"messages", Pi
|
|
|
816
816
|
isWellFormed: () => boolean;
|
|
817
817
|
toWellFormed: () => string;
|
|
818
818
|
};
|
|
819
|
-
icon: string;
|
|
819
|
+
icon: string | ((options?: ActionOptions) => string);
|
|
820
820
|
iconFillType?: import('../..').IconFillType;
|
|
821
821
|
appearance?: import('@opencloud-eu/design-system/helpers').AppearanceType;
|
|
822
822
|
id?: string;
|
|
@@ -831,7 +831,7 @@ export declare const useMessages: import('pinia').StoreDefinition<"messages", Pi
|
|
|
831
831
|
label: (options?: ActionOptions) => string;
|
|
832
832
|
isVisible: (options?: ActionOptions) => boolean;
|
|
833
833
|
handler?: (options?: ActionOptions) => Promise<void> | void;
|
|
834
|
-
route?: (options?: ActionOptions) => import('vue-router').RouteLocationRaw;
|
|
834
|
+
route?: (options?: ActionOptions) => import('vue-router').RouteLocationRaw | undefined;
|
|
835
835
|
href?: (options?: ActionOptions) => string;
|
|
836
836
|
isDisabled?: (options?: ActionOptions) => boolean;
|
|
837
837
|
disabledTooltip?: (options?: ActionOptions) => string;
|
|
@@ -3,3 +3,7 @@ export * from './useCanListVersions';
|
|
|
3
3
|
export * from './useGetResourceContext';
|
|
4
4
|
export * from './useLoadPreview';
|
|
5
5
|
export * from './useResourceContents';
|
|
6
|
+
export * from './useResourceViewContextMenu';
|
|
7
|
+
export * from './useResourceViewDrag';
|
|
8
|
+
export * from './useResourceViewHelpers';
|
|
9
|
+
export * from './useResourceViewSelection';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Resource } from '@opencloud-eu/web-client';
|
|
2
|
+
import { ContextMenuBtnClickEventData } from '../../helpers';
|
|
3
|
+
export declare const useResourceViewContextMenu: ({ isResourceSelected, isResourceDisabled, emit }: {
|
|
4
|
+
isResourceSelected: (resource: Resource) => boolean;
|
|
5
|
+
isResourceDisabled: (resource: Resource) => boolean;
|
|
6
|
+
emit: ReturnType<typeof defineEmits>;
|
|
7
|
+
}) => {
|
|
8
|
+
shouldShowContextDrop: (item: Resource) => boolean;
|
|
9
|
+
showContextMenuOnBtnClick: (data: ContextMenuBtnClickEventData, item: Resource) => boolean;
|
|
10
|
+
showContextMenuOnRightClick: (event: MouseEvent | KeyboardEvent, item: Resource) => boolean;
|
|
11
|
+
};
|