@opencloud-eu/web-pkg 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{TextEditor-CBpP9DFX.js → TextEditor-BUqEYieD.js} +1 -1
- package/dist/assets/{worker-BpDXOTOV.js → worker-C-4Lcir3.js} +2 -2
- package/dist/assets/{worker-Ds2rbROB.js → worker-CHXv5Q0i.js} +2 -2
- package/dist/assets/{worker-BCEWb3C6.js → worker-CjeEygd_.js} +2 -2
- package/dist/index-DZecEYvt.js +30230 -0
- package/dist/src/components/AppTemplates/AppWrapper.vue.d.ts +1 -0
- package/dist/src/components/CreateShortcutModal.vue.d.ts +106 -294
- package/dist/src/components/FilesList/ResourceTile.vue.d.ts +70 -504
- package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +120 -685
- package/dist/src/components/Search/ResourcePreview.vue.d.ts +109 -301
- package/dist/src/components/SideBar/FileSideBar.vue.d.ts +1 -0
- package/dist/src/components/SideBar/Files/FileInfo.vue.d.ts +1 -0
- package/dist/src/components/SideBar/Spaces/Details/SpaceDetails.vue.d.ts +4 -95
- package/dist/src/components/SideBar/Spaces/Details/SpaceDetailsMultiple.vue.d.ts +4 -22
- package/dist/src/components/SpaceQuota.vue.d.ts +3 -23
- package/dist/src/composables/piniaStores/spaces.d.ts +26 -2
- package/dist/src/helpers/index.d.ts +1 -0
- package/dist/src/helpers/spaces/index.d.ts +1 -0
- package/dist/src/helpers/spaces/permissions.d.ts +14 -0
- package/dist/src/services/folder/loaders/loaderSpace.d.ts +0 -5
- package/dist/web-pkg.js +148 -147
- package/dist/web-pkg.umd.cjs +47 -52
- package/package.json +3 -3
- package/dist/index-CPsauqxc.js +0 -31448
|
@@ -1,507 +1,73 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
1
|
import { Resource } from '@opencloud-eu/web-client';
|
|
3
2
|
import { RouteLocationRaw } from 'vue-router';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
type: PropType<RouteLocationRaw>;
|
|
70
|
-
required: false;
|
|
71
|
-
default: any;
|
|
72
|
-
};
|
|
73
|
-
isResourceSelected: {
|
|
74
|
-
type: BooleanConstructor;
|
|
75
|
-
required: false;
|
|
76
|
-
default: boolean;
|
|
77
|
-
};
|
|
78
|
-
isResourceClickable: {
|
|
79
|
-
type: BooleanConstructor;
|
|
80
|
-
required: false;
|
|
81
|
-
default: boolean;
|
|
82
|
-
};
|
|
83
|
-
isResourceDisabled: {
|
|
84
|
-
type: BooleanConstructor;
|
|
85
|
-
required: false;
|
|
86
|
-
default: boolean;
|
|
87
|
-
};
|
|
88
|
-
isExtensionDisplayed: {
|
|
89
|
-
type: BooleanConstructor;
|
|
90
|
-
default: boolean;
|
|
91
|
-
};
|
|
92
|
-
resourceIconSize: {
|
|
93
|
-
type: StringConstructor;
|
|
94
|
-
default: string;
|
|
95
|
-
validator: (value: string) => boolean;
|
|
96
|
-
};
|
|
97
|
-
lazy: {
|
|
98
|
-
type: BooleanConstructor;
|
|
99
|
-
default: boolean;
|
|
100
|
-
};
|
|
101
|
-
}>> & Readonly<{
|
|
102
|
-
onClick?: (...args: any[]) => any;
|
|
103
|
-
onContextmenu?: (...args: any[]) => any;
|
|
104
|
-
onItemVisible?: (...args: any[]) => any;
|
|
105
|
-
}>, {
|
|
106
|
-
resource: Resource;
|
|
107
|
-
isResourceClickable: boolean;
|
|
108
|
-
isExtensionDisplayed: boolean;
|
|
109
|
-
lazy: boolean;
|
|
110
|
-
isResourceDisabled: boolean;
|
|
111
|
-
isResourceSelected: boolean;
|
|
112
|
-
resourceRoute: string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric;
|
|
113
|
-
resourceIconSize: string;
|
|
114
|
-
}, {}, {
|
|
115
|
-
ResourceListItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
116
|
-
resource: {
|
|
117
|
-
type: PropType<Resource>;
|
|
118
|
-
required: true;
|
|
119
|
-
};
|
|
120
|
-
pathPrefix: {
|
|
121
|
-
type: StringConstructor;
|
|
122
|
-
required: false;
|
|
123
|
-
default: string;
|
|
124
|
-
};
|
|
125
|
-
link: {
|
|
126
|
-
type: PropType<RouteLocationRaw>;
|
|
127
|
-
required: false;
|
|
128
|
-
default: any;
|
|
129
|
-
};
|
|
130
|
-
isPathDisplayed: {
|
|
131
|
-
type: BooleanConstructor;
|
|
132
|
-
required: false;
|
|
133
|
-
default: boolean;
|
|
134
|
-
};
|
|
135
|
-
parentFolderLink: {
|
|
136
|
-
type: ObjectConstructor;
|
|
137
|
-
required: false;
|
|
138
|
-
default: any;
|
|
139
|
-
};
|
|
140
|
-
parentFolderName: {
|
|
141
|
-
type: StringConstructor;
|
|
142
|
-
required: false;
|
|
143
|
-
default: string;
|
|
144
|
-
};
|
|
145
|
-
parentFolderLinkIconAdditionalAttributes: {
|
|
146
|
-
type: ObjectConstructor;
|
|
147
|
-
required: false;
|
|
148
|
-
default: () => {};
|
|
149
|
-
};
|
|
150
|
-
isExtensionDisplayed: {
|
|
151
|
-
type: BooleanConstructor;
|
|
152
|
-
required: false;
|
|
153
|
-
default: boolean;
|
|
154
|
-
};
|
|
155
|
-
isThumbnailDisplayed: {
|
|
156
|
-
type: BooleanConstructor;
|
|
157
|
-
required: false;
|
|
158
|
-
default: boolean;
|
|
159
|
-
};
|
|
160
|
-
isIconDisplayed: {
|
|
161
|
-
type: BooleanConstructor;
|
|
162
|
-
required: false;
|
|
163
|
-
default: boolean;
|
|
164
|
-
};
|
|
165
|
-
isResourceClickable: {
|
|
166
|
-
type: BooleanConstructor;
|
|
167
|
-
required: false;
|
|
168
|
-
default: boolean;
|
|
169
|
-
};
|
|
170
|
-
}>, {}, {}, {
|
|
171
|
-
parentFolderComponentType(): "router-link" | "span";
|
|
172
|
-
parentFolderStyle(): {
|
|
173
|
-
cursor: string;
|
|
174
|
-
};
|
|
175
|
-
parentFolderLinkIconAttrs(): {
|
|
176
|
-
'fill-type': string;
|
|
177
|
-
name: string;
|
|
178
|
-
size: string;
|
|
179
|
-
};
|
|
180
|
-
hasThumbnail(): any;
|
|
181
|
-
thumbnail(): string;
|
|
182
|
-
tooltipLabelIcon(): string;
|
|
183
|
-
}, {
|
|
184
|
-
emitClick(): void;
|
|
185
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
186
|
-
resource: {
|
|
187
|
-
type: PropType<Resource>;
|
|
188
|
-
required: true;
|
|
189
|
-
};
|
|
190
|
-
pathPrefix: {
|
|
191
|
-
type: StringConstructor;
|
|
192
|
-
required: false;
|
|
193
|
-
default: string;
|
|
194
|
-
};
|
|
195
|
-
link: {
|
|
196
|
-
type: PropType<RouteLocationRaw>;
|
|
197
|
-
required: false;
|
|
198
|
-
default: any;
|
|
199
|
-
};
|
|
200
|
-
isPathDisplayed: {
|
|
201
|
-
type: BooleanConstructor;
|
|
202
|
-
required: false;
|
|
203
|
-
default: boolean;
|
|
204
|
-
};
|
|
205
|
-
parentFolderLink: {
|
|
206
|
-
type: ObjectConstructor;
|
|
207
|
-
required: false;
|
|
208
|
-
default: any;
|
|
209
|
-
};
|
|
210
|
-
parentFolderName: {
|
|
211
|
-
type: StringConstructor;
|
|
212
|
-
required: false;
|
|
213
|
-
default: string;
|
|
214
|
-
};
|
|
215
|
-
parentFolderLinkIconAdditionalAttributes: {
|
|
216
|
-
type: ObjectConstructor;
|
|
217
|
-
required: false;
|
|
218
|
-
default: () => {};
|
|
219
|
-
};
|
|
220
|
-
isExtensionDisplayed: {
|
|
221
|
-
type: BooleanConstructor;
|
|
222
|
-
required: false;
|
|
223
|
-
default: boolean;
|
|
224
|
-
};
|
|
225
|
-
isThumbnailDisplayed: {
|
|
226
|
-
type: BooleanConstructor;
|
|
227
|
-
required: false;
|
|
228
|
-
default: boolean;
|
|
229
|
-
};
|
|
230
|
-
isIconDisplayed: {
|
|
231
|
-
type: BooleanConstructor;
|
|
232
|
-
required: false;
|
|
233
|
-
default: boolean;
|
|
234
|
-
};
|
|
235
|
-
isResourceClickable: {
|
|
236
|
-
type: BooleanConstructor;
|
|
237
|
-
required: false;
|
|
238
|
-
default: boolean;
|
|
239
|
-
};
|
|
240
|
-
}>> & Readonly<{
|
|
241
|
-
onClick?: (...args: any[]) => any;
|
|
242
|
-
}>, {
|
|
243
|
-
link: string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric;
|
|
244
|
-
isResourceClickable: boolean;
|
|
245
|
-
pathPrefix: string;
|
|
246
|
-
isPathDisplayed: boolean;
|
|
247
|
-
isExtensionDisplayed: boolean;
|
|
248
|
-
parentFolderLink: Record<string, any>;
|
|
249
|
-
parentFolderName: string;
|
|
250
|
-
parentFolderLinkIconAdditionalAttributes: Record<string, any>;
|
|
251
|
-
isThumbnailDisplayed: boolean;
|
|
252
|
-
isIconDisplayed: boolean;
|
|
253
|
-
}, {}, {
|
|
254
|
-
ResourceIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
255
|
-
resource: {
|
|
256
|
-
type: PropType<Resource>;
|
|
257
|
-
required: true;
|
|
258
|
-
};
|
|
259
|
-
size: {
|
|
260
|
-
type: StringConstructor;
|
|
261
|
-
default: string;
|
|
262
|
-
validator: (value: string) => boolean;
|
|
263
|
-
};
|
|
264
|
-
}>, {
|
|
265
|
-
icon: import('vue').ComputedRef<import('../..').IconType>;
|
|
266
|
-
iconTypeClass: import('vue').ComputedRef<"oc-resource-icon-space" | "oc-resource-icon-folder" | "oc-resource-icon-file">;
|
|
267
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
268
|
-
resource: {
|
|
269
|
-
type: PropType<Resource>;
|
|
270
|
-
required: true;
|
|
271
|
-
};
|
|
272
|
-
size: {
|
|
273
|
-
type: StringConstructor;
|
|
274
|
-
default: string;
|
|
275
|
-
validator: (value: string) => boolean;
|
|
276
|
-
};
|
|
277
|
-
}>> & Readonly<{}>, {
|
|
278
|
-
size: string;
|
|
279
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
280
|
-
ResourceLink: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
281
|
-
link: {
|
|
282
|
-
type: PropType<RouteLocationRaw>;
|
|
283
|
-
required: false;
|
|
284
|
-
default: any;
|
|
285
|
-
};
|
|
286
|
-
resource: {
|
|
287
|
-
type: ObjectConstructor;
|
|
288
|
-
required: true;
|
|
289
|
-
};
|
|
290
|
-
isResourceClickable: {
|
|
291
|
-
type: BooleanConstructor;
|
|
292
|
-
required: false;
|
|
293
|
-
default: boolean;
|
|
294
|
-
};
|
|
295
|
-
}>, {
|
|
296
|
-
linkTarget: import('vue').ComputedRef<"_blank" | "_self">;
|
|
297
|
-
}, {}, {
|
|
298
|
-
isNavigatable(): boolean;
|
|
299
|
-
componentType(): "router-link" | "oc-button";
|
|
300
|
-
componentProps(): {
|
|
301
|
-
appearance: string;
|
|
302
|
-
gapSize: string;
|
|
303
|
-
justifyContent: string;
|
|
304
|
-
to?: undefined;
|
|
305
|
-
} | {
|
|
306
|
-
to: string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric;
|
|
307
|
-
appearance?: undefined;
|
|
308
|
-
gapSize?: undefined;
|
|
309
|
-
justifyContent?: undefined;
|
|
310
|
-
};
|
|
311
|
-
}, {
|
|
312
|
-
emitClick(): void;
|
|
313
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
314
|
-
link: {
|
|
315
|
-
type: PropType<RouteLocationRaw>;
|
|
316
|
-
required: false;
|
|
317
|
-
default: any;
|
|
318
|
-
};
|
|
319
|
-
resource: {
|
|
320
|
-
type: ObjectConstructor;
|
|
321
|
-
required: true;
|
|
322
|
-
};
|
|
323
|
-
isResourceClickable: {
|
|
324
|
-
type: BooleanConstructor;
|
|
325
|
-
required: false;
|
|
326
|
-
default: boolean;
|
|
327
|
-
};
|
|
328
|
-
}>> & Readonly<{
|
|
329
|
-
onClick?: (...args: any[]) => any;
|
|
330
|
-
}>, {
|
|
331
|
-
link: string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric;
|
|
332
|
-
isResourceClickable: boolean;
|
|
333
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
334
|
-
ResourceName: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
335
|
-
name: {
|
|
336
|
-
type: StringConstructor;
|
|
337
|
-
required: true;
|
|
338
|
-
};
|
|
339
|
-
pathPrefix: {
|
|
340
|
-
type: StringConstructor;
|
|
341
|
-
required: false;
|
|
342
|
-
default: string;
|
|
343
|
-
};
|
|
344
|
-
extension: {
|
|
345
|
-
type: StringConstructor;
|
|
346
|
-
required: false;
|
|
347
|
-
default: string;
|
|
348
|
-
};
|
|
349
|
-
type: {
|
|
350
|
-
type: StringConstructor;
|
|
351
|
-
required: true;
|
|
352
|
-
};
|
|
353
|
-
fullPath: {
|
|
354
|
-
type: StringConstructor;
|
|
355
|
-
required: true;
|
|
356
|
-
};
|
|
357
|
-
isPathDisplayed: {
|
|
358
|
-
type: BooleanConstructor;
|
|
359
|
-
required: false;
|
|
360
|
-
default: boolean;
|
|
361
|
-
};
|
|
362
|
-
isExtensionDisplayed: {
|
|
363
|
-
type: BooleanConstructor;
|
|
364
|
-
required: false;
|
|
365
|
-
default: boolean;
|
|
366
|
-
};
|
|
367
|
-
truncateName: {
|
|
368
|
-
type: BooleanConstructor;
|
|
369
|
-
required: false;
|
|
370
|
-
default: boolean;
|
|
371
|
-
};
|
|
372
|
-
}>, {}, {}, {
|
|
373
|
-
tooltip(): string;
|
|
374
|
-
fullName(): string;
|
|
375
|
-
displayName(): string;
|
|
376
|
-
displayExtension(): string;
|
|
377
|
-
displayPath(): string;
|
|
378
|
-
pathTooltip(): string;
|
|
379
|
-
htmlTitle(): string;
|
|
380
|
-
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
381
|
-
name: {
|
|
382
|
-
type: StringConstructor;
|
|
383
|
-
required: true;
|
|
384
|
-
};
|
|
385
|
-
pathPrefix: {
|
|
386
|
-
type: StringConstructor;
|
|
387
|
-
required: false;
|
|
388
|
-
default: string;
|
|
389
|
-
};
|
|
390
|
-
extension: {
|
|
391
|
-
type: StringConstructor;
|
|
392
|
-
required: false;
|
|
393
|
-
default: string;
|
|
394
|
-
};
|
|
395
|
-
type: {
|
|
396
|
-
type: StringConstructor;
|
|
397
|
-
required: true;
|
|
398
|
-
};
|
|
399
|
-
fullPath: {
|
|
400
|
-
type: StringConstructor;
|
|
401
|
-
required: true;
|
|
402
|
-
};
|
|
403
|
-
isPathDisplayed: {
|
|
404
|
-
type: BooleanConstructor;
|
|
405
|
-
required: false;
|
|
406
|
-
default: boolean;
|
|
407
|
-
};
|
|
408
|
-
isExtensionDisplayed: {
|
|
409
|
-
type: BooleanConstructor;
|
|
410
|
-
required: false;
|
|
411
|
-
default: boolean;
|
|
412
|
-
};
|
|
413
|
-
truncateName: {
|
|
414
|
-
type: BooleanConstructor;
|
|
415
|
-
required: false;
|
|
416
|
-
default: boolean;
|
|
417
|
-
};
|
|
418
|
-
}>> & Readonly<{}>, {
|
|
419
|
-
extension: string;
|
|
420
|
-
pathPrefix: string;
|
|
421
|
-
isPathDisplayed: boolean;
|
|
422
|
-
isExtensionDisplayed: boolean;
|
|
423
|
-
truncateName: boolean;
|
|
424
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
425
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
426
|
-
ResourceIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
427
|
-
resource: {
|
|
428
|
-
type: PropType<Resource>;
|
|
429
|
-
required: true;
|
|
430
|
-
};
|
|
431
|
-
size: {
|
|
432
|
-
type: StringConstructor;
|
|
433
|
-
default: string;
|
|
434
|
-
validator: (value: string) => boolean;
|
|
435
|
-
};
|
|
436
|
-
}>, {
|
|
437
|
-
icon: import('vue').ComputedRef<import('../..').IconType>;
|
|
438
|
-
iconTypeClass: import('vue').ComputedRef<"oc-resource-icon-space" | "oc-resource-icon-folder" | "oc-resource-icon-file">;
|
|
439
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
440
|
-
resource: {
|
|
441
|
-
type: PropType<Resource>;
|
|
442
|
-
required: true;
|
|
443
|
-
};
|
|
444
|
-
size: {
|
|
445
|
-
type: StringConstructor;
|
|
446
|
-
default: string;
|
|
447
|
-
validator: (value: string) => boolean;
|
|
448
|
-
};
|
|
449
|
-
}>> & Readonly<{}>, {
|
|
450
|
-
size: string;
|
|
451
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
452
|
-
ResourceLink: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
453
|
-
link: {
|
|
454
|
-
type: PropType<RouteLocationRaw>;
|
|
455
|
-
required: false;
|
|
456
|
-
default: any;
|
|
457
|
-
};
|
|
458
|
-
resource: {
|
|
459
|
-
type: ObjectConstructor;
|
|
460
|
-
required: true;
|
|
461
|
-
};
|
|
462
|
-
isResourceClickable: {
|
|
463
|
-
type: BooleanConstructor;
|
|
464
|
-
required: false;
|
|
465
|
-
default: boolean;
|
|
466
|
-
};
|
|
467
|
-
}>, {
|
|
468
|
-
linkTarget: import('vue').ComputedRef<"_blank" | "_self">;
|
|
469
|
-
}, {}, {
|
|
470
|
-
isNavigatable(): boolean;
|
|
471
|
-
componentType(): "router-link" | "oc-button";
|
|
472
|
-
componentProps(): {
|
|
473
|
-
appearance: string;
|
|
474
|
-
gapSize: string;
|
|
475
|
-
justifyContent: string;
|
|
476
|
-
to?: undefined;
|
|
477
|
-
} | {
|
|
478
|
-
to: string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric;
|
|
479
|
-
appearance?: undefined;
|
|
480
|
-
gapSize?: undefined;
|
|
481
|
-
justifyContent?: undefined;
|
|
482
|
-
};
|
|
483
|
-
}, {
|
|
484
|
-
emitClick(): void;
|
|
485
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
486
|
-
link: {
|
|
487
|
-
type: PropType<RouteLocationRaw>;
|
|
488
|
-
required: false;
|
|
489
|
-
default: any;
|
|
490
|
-
};
|
|
491
|
-
resource: {
|
|
492
|
-
type: ObjectConstructor;
|
|
493
|
-
required: true;
|
|
494
|
-
};
|
|
495
|
-
isResourceClickable: {
|
|
496
|
-
type: BooleanConstructor;
|
|
497
|
-
required: false;
|
|
498
|
-
default: boolean;
|
|
499
|
-
};
|
|
500
|
-
}>> & Readonly<{
|
|
501
|
-
onClick?: (...args: any[]) => any;
|
|
502
|
-
}>, {
|
|
503
|
-
link: string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric;
|
|
504
|
-
isResourceClickable: boolean;
|
|
505
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
506
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
3
|
+
import { SizeType } from '@opencloud-eu/design-system/helpers';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
resource?: Resource;
|
|
6
|
+
resourceRoute?: RouteLocationRaw;
|
|
7
|
+
isResourceSelected?: boolean;
|
|
8
|
+
isResourceClickable?: boolean;
|
|
9
|
+
isResourceDisabled?: boolean;
|
|
10
|
+
isExtensionDisplayed?: boolean;
|
|
11
|
+
resourceIconSize?: SizeType;
|
|
12
|
+
lazy?: boolean;
|
|
13
|
+
isLoading?: boolean;
|
|
14
|
+
};
|
|
15
|
+
declare function __VLS_template(): {
|
|
16
|
+
attrs: Partial<{}>;
|
|
17
|
+
slots: Readonly<{
|
|
18
|
+
actions?: (props: {
|
|
19
|
+
item: Resource;
|
|
20
|
+
}) => unknown;
|
|
21
|
+
contextMenu?: (props: {
|
|
22
|
+
item: Resource;
|
|
23
|
+
}) => unknown;
|
|
24
|
+
imageField?: (props: {
|
|
25
|
+
item: Resource;
|
|
26
|
+
}) => unknown;
|
|
27
|
+
indicators?: (props: {
|
|
28
|
+
item: Resource;
|
|
29
|
+
}) => unknown;
|
|
30
|
+
selection?: (props: {
|
|
31
|
+
item: Resource;
|
|
32
|
+
}) => unknown;
|
|
33
|
+
}> & {
|
|
34
|
+
actions?: (props: {
|
|
35
|
+
item: Resource;
|
|
36
|
+
}) => unknown;
|
|
37
|
+
contextMenu?: (props: {
|
|
38
|
+
item: Resource;
|
|
39
|
+
}) => unknown;
|
|
40
|
+
imageField?: (props: {
|
|
41
|
+
item: Resource;
|
|
42
|
+
}) => unknown;
|
|
43
|
+
indicators?: (props: {
|
|
44
|
+
item: Resource;
|
|
45
|
+
}) => unknown;
|
|
46
|
+
selection?: (props: {
|
|
47
|
+
item: Resource;
|
|
48
|
+
}) => unknown;
|
|
49
|
+
};
|
|
50
|
+
refs: {
|
|
51
|
+
observerTarget: HTMLDivElement;
|
|
52
|
+
};
|
|
53
|
+
rootEl: HTMLDivElement;
|
|
54
|
+
};
|
|
55
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
56
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
57
|
+
click: () => any;
|
|
58
|
+
contextmenu: (event: Event) => any;
|
|
59
|
+
itemVisible: () => any;
|
|
60
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
61
|
+
onClick?: () => any;
|
|
62
|
+
onContextmenu?: (event: Event) => any;
|
|
63
|
+
onItemVisible?: () => any;
|
|
64
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
65
|
+
observerTarget: HTMLDivElement;
|
|
66
|
+
}, HTMLDivElement>;
|
|
67
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
507
68
|
export default _default;
|
|
69
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
70
|
+
new (): {
|
|
71
|
+
$slots: S;
|
|
72
|
+
};
|
|
73
|
+
};
|