@opencloud-eu/web-pkg 4.2.1 → 4.3.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-BEOcGAsh.js → TextEditor-Cn7QTWpj.js} +42 -40
- package/dist/assets/{worker-DkMHRpBn.js → worker-B8_1fnv6.js} +20 -30
- package/dist/assets/{worker-CQqhh0uK.js → worker-CexULVXL.js} +19 -29
- package/dist/assets/{worker-C2IPj8GP.js → worker-DW5HxaGD.js} +20 -30
- package/dist/{index-C-VmIu2P.js → index-BAXp6cDe.js} +16984 -17334
- 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/CreateLinkModal.vue.d.ts +17 -141
- package/dist/src/components/FilesList/ContextActions.vue.d.ts +1 -0
- package/dist/src/components/FilesList/ResourceTable.vue.d.ts +457 -1475
- package/dist/src/components/FilesList/ResourceTile.vue.d.ts +4 -2
- package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +5 -3
- package/dist/src/components/ItemFilter.vue.d.ts +4 -0
- package/dist/src/components/SideBar/FileSideBar.vue.d.ts +60 -85
- package/dist/src/composables/actions/types.d.ts +1 -1
- package/dist/src/composables/filesList/useResourceRouteResolver.d.ts +3 -1
- 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 +6 -6
- package/dist/src/composables/resources/index.d.ts +2 -0
- package/dist/src/composables/resources/useResourceViewDrag.d.ts +58 -0
- package/dist/src/composables/resources/useResourceViewHelpers.d.ts +77 -0
- package/dist/src/composables/selection/index.d.ts +0 -1
- package/dist/src/helpers/index.d.ts +1 -0
- package/dist/src/helpers/promise.d.ts +2 -0
- package/dist/src/index.d.ts +0 -1
- package/dist/web-pkg.js +348 -336
- package/dist/web-pkg.umd.cjs +44 -64
- package/package.json +4 -4
- package/src/index.ts +0 -3
- 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
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ComponentPublicInstance, Ref } from 'vue';
|
|
2
|
+
import { Resource } from '@opencloud-eu/web-client';
|
|
3
|
+
export declare const useResourceViewDrag: ({ selectedIds, selectedResources, emit }: {
|
|
4
|
+
selectedIds: Ref<string[]>;
|
|
5
|
+
selectedResources: Ref<Resource[]>;
|
|
6
|
+
emit: (...args: any[]) => void;
|
|
7
|
+
}) => {
|
|
8
|
+
ghostElement: Readonly<import('vue').ShallowRef<ComponentPublicInstance<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
9
|
+
previewItems: {
|
|
10
|
+
type: import('vue').PropType<Resource[]>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}>, {}, {}, {
|
|
14
|
+
layerCount(): number;
|
|
15
|
+
showSecondLayer(): boolean;
|
|
16
|
+
showThirdLayer(): boolean;
|
|
17
|
+
itemCount(): number;
|
|
18
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
+
previewItems: {
|
|
20
|
+
type: import('vue').PropType<Resource[]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
24
|
+
ResourceIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
25
|
+
resource: {
|
|
26
|
+
type: import('vue').PropType<Resource | import('@opencloud-eu/web-client').SpaceResource>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
size: {
|
|
30
|
+
type: import('vue').PropType<import('@opencloud-eu/design-system/helpers').SizeType>;
|
|
31
|
+
default: string;
|
|
32
|
+
validator: (value: string) => boolean;
|
|
33
|
+
};
|
|
34
|
+
}>, {
|
|
35
|
+
icon: import('vue').ComputedRef<import('../..').IconType>;
|
|
36
|
+
isSpace: import('vue').ComputedRef<boolean>;
|
|
37
|
+
isFolder: import('vue').ComputedRef<boolean>;
|
|
38
|
+
isDisabledSpace: import('vue').ComputedRef<boolean>;
|
|
39
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
40
|
+
resource: {
|
|
41
|
+
type: import('vue').PropType<Resource | import('@opencloud-eu/web-client').SpaceResource>;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
size: {
|
|
45
|
+
type: import('vue').PropType<import('@opencloud-eu/design-system/helpers').SizeType>;
|
|
46
|
+
default: string;
|
|
47
|
+
validator: (value: string) => boolean;
|
|
48
|
+
};
|
|
49
|
+
}>> & Readonly<{}>, {
|
|
50
|
+
size: import('@opencloud-eu/design-system/helpers').SizeType;
|
|
51
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
52
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>>>>;
|
|
53
|
+
dragItem: Ref<Resource, Resource>;
|
|
54
|
+
dragSelection: import('vue').ComputedRef<Resource[]>;
|
|
55
|
+
dragStart: (resource: Resource, event: DragEvent) => Promise<void>;
|
|
56
|
+
fileDropped: (resource: Resource, event: DragEvent) => void;
|
|
57
|
+
setDropStyling: (resource: Resource, leaving: boolean, event: DragEvent) => void;
|
|
58
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { Resource } from '@opencloud-eu/web-client';
|
|
3
|
+
/**
|
|
4
|
+
* Shared helpers for resource view components (like ResourceTable and ResourceTiles).
|
|
5
|
+
*/
|
|
6
|
+
export declare const useResourceViewHelpers: ({ resources, selectedIds, emit }: {
|
|
7
|
+
resources: Ref<Resource[]>;
|
|
8
|
+
selectedIds: Ref<string[]>;
|
|
9
|
+
emit: (...args: any[]) => void;
|
|
10
|
+
}) => {
|
|
11
|
+
ghostElement: Readonly<import('vue').ShallowRef<import('vue').ComponentPublicInstance<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
12
|
+
previewItems: {
|
|
13
|
+
type: import('vue').PropType<Resource[]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
}>, {}, {}, {
|
|
17
|
+
layerCount(): number;
|
|
18
|
+
showSecondLayer(): boolean;
|
|
19
|
+
showThirdLayer(): boolean;
|
|
20
|
+
itemCount(): number;
|
|
21
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
22
|
+
previewItems: {
|
|
23
|
+
type: import('vue').PropType<Resource[]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
27
|
+
ResourceIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
28
|
+
resource: {
|
|
29
|
+
type: import('vue').PropType<Resource | import('@opencloud-eu/web-client').SpaceResource>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
size: {
|
|
33
|
+
type: import('vue').PropType<import('@opencloud-eu/design-system/helpers').SizeType>;
|
|
34
|
+
default: string;
|
|
35
|
+
validator: (value: string) => boolean;
|
|
36
|
+
};
|
|
37
|
+
}>, {
|
|
38
|
+
icon: import('vue').ComputedRef<import('../..').IconType>;
|
|
39
|
+
isSpace: import('vue').ComputedRef<boolean>;
|
|
40
|
+
isFolder: import('vue').ComputedRef<boolean>;
|
|
41
|
+
isDisabledSpace: import('vue').ComputedRef<boolean>;
|
|
42
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
43
|
+
resource: {
|
|
44
|
+
type: import('vue').PropType<Resource | import('@opencloud-eu/web-client').SpaceResource>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
size: {
|
|
48
|
+
type: import('vue').PropType<import('@opencloud-eu/design-system/helpers').SizeType>;
|
|
49
|
+
default: string;
|
|
50
|
+
validator: (value: string) => boolean;
|
|
51
|
+
};
|
|
52
|
+
}>> & Readonly<{}>, {
|
|
53
|
+
size: import('@opencloud-eu/design-system/helpers').SizeType;
|
|
54
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
55
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>>>>;
|
|
56
|
+
dragItem: Ref<Resource, Resource>;
|
|
57
|
+
dragSelection: import('vue').ComputedRef<Resource[]>;
|
|
58
|
+
dragStart: (resource: Resource, event: DragEvent) => Promise<void>;
|
|
59
|
+
fileDropped: (resource: Resource, event: DragEvent) => void;
|
|
60
|
+
setDropStyling: (resource: Resource, leaving: boolean, event: DragEvent) => void;
|
|
61
|
+
selectedResources: import('vue').ComputedRef<Resource[]>;
|
|
62
|
+
isResourceSelected: (item: Resource) => boolean;
|
|
63
|
+
isResourceInDeleteQueue: (id: string) => boolean;
|
|
64
|
+
isResourceDisabled: (resource: Resource) => boolean;
|
|
65
|
+
fileContainerClicked: ({ resource, event }: {
|
|
66
|
+
resource: Resource;
|
|
67
|
+
event: MouseEvent;
|
|
68
|
+
}) => void;
|
|
69
|
+
fileNameClicked: ({ resource, event }: {
|
|
70
|
+
resource: Resource;
|
|
71
|
+
event: MouseEvent;
|
|
72
|
+
}) => void;
|
|
73
|
+
fileCheckboxClicked: ({ resource, event }: {
|
|
74
|
+
resource: Resource;
|
|
75
|
+
event: MouseEvent;
|
|
76
|
+
}) => void;
|
|
77
|
+
};
|
package/dist/src/index.d.ts
CHANGED