@opencloud-eu/web-pkg 4.2.0 → 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.
Files changed (51) hide show
  1. package/dist/{TextEditor-DjjOAW4z.js → TextEditor-Cn7QTWpj.js} +43 -40
  2. package/dist/assets/worker-B8_1fnv6.js +40 -0
  3. package/dist/assets/worker-CexULVXL.js +40 -0
  4. package/dist/assets/{worker-CvdOYtKy.js → worker-DW5HxaGD.js} +20 -30
  5. package/dist/{index-R7qeOPe_.js → index-BAXp6cDe.js} +17735 -18054
  6. package/dist/src/components/AppBar/AppBar.vue.d.ts +2 -0
  7. package/dist/src/components/BatchActions.vue.d.ts +1 -0
  8. package/dist/src/components/ContextActions/ActionMenuItem.vue.d.ts +1 -0
  9. package/dist/src/components/ContextActions/ContextActionMenu.vue.d.ts +1 -0
  10. package/dist/src/components/ContextActions/ContextMenuQuickAction.vue.d.ts +32 -38
  11. package/dist/src/components/CreateLinkModal.vue.d.ts +19 -159
  12. package/dist/src/components/FilesList/ContextActions.vue.d.ts +1 -0
  13. package/dist/src/components/FilesList/ResourceTable.vue.d.ts +480 -1481
  14. package/dist/src/components/FilesList/ResourceTile.vue.d.ts +4 -2
  15. package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +5 -5
  16. package/dist/src/components/ItemFilter.vue.d.ts +4 -0
  17. package/dist/src/components/SideBar/FileSideBar.vue.d.ts +60 -85
  18. package/dist/src/composables/actions/types.d.ts +1 -1
  19. package/dist/src/composables/clipboard/useClipboard.d.ts +3 -0
  20. package/dist/src/composables/filesList/useResourceRouteResolver.d.ts +3 -1
  21. package/dist/src/composables/links/index.d.ts +1 -0
  22. package/dist/src/composables/links/useCopyLink.d.ts +14 -0
  23. package/dist/src/composables/piniaStores/capabilities.d.ts +40 -1
  24. package/dist/src/composables/piniaStores/config/config.d.ts +4 -1
  25. package/dist/src/composables/piniaStores/groupwareConfig/groupwareConfig.d.ts +297 -0
  26. package/dist/src/composables/piniaStores/groupwareConfig/index.d.ts +2 -0
  27. package/dist/src/composables/piniaStores/groupwareConfig/types.d.ts +140 -0
  28. package/dist/src/composables/piniaStores/index.d.ts +1 -0
  29. package/dist/src/composables/piniaStores/messages.d.ts +6 -6
  30. package/dist/src/composables/resources/index.d.ts +2 -0
  31. package/dist/src/composables/resources/useGetResourceContext.d.ts +1 -1
  32. package/dist/src/composables/resources/useResourceViewDrag.d.ts +58 -0
  33. package/dist/src/composables/resources/useResourceViewHelpers.d.ts +77 -0
  34. package/dist/src/composables/selection/index.d.ts +0 -1
  35. package/dist/src/helpers/index.d.ts +1 -0
  36. package/dist/src/helpers/promise.d.ts +2 -0
  37. package/dist/src/helpers/resource/index.d.ts +1 -0
  38. package/dist/src/helpers/resource/isItemInCurrentFolder.d.ts +5 -0
  39. package/dist/src/index.d.ts +0 -1
  40. package/dist/src/services/archiver.d.ts +1 -0
  41. package/dist/src/services/cache.d.ts +1 -0
  42. package/dist/web-pkg.js +348 -334
  43. package/dist/web-pkg.umd.cjs +46 -66
  44. package/package.json +4 -4
  45. package/src/index.ts +0 -3
  46. package/dist/assets/worker-CGWVcik_.js +0 -50
  47. package/dist/assets/worker-DLek5ZML.js +0 -50
  48. package/dist/src/cern/composables/index.d.ts +0 -1
  49. package/dist/src/cern/composables/useGroupingSettings.d.ts +0 -34
  50. package/dist/src/cern/index.d.ts +0 -1
  51. package/dist/src/composables/selection/useToggleTile.d.ts +0 -4
@@ -1,1425 +1,246 @@
1
- import { ComponentPublicInstance, ComputedRef, PropType } from 'vue';
2
- import { Resource, ShareTypes, SpaceResource } from '@opencloud-eu/web-client';
1
+ import { ComponentPublicInstance } from 'vue';
2
+ import { Resource, SpaceResource } from '@opencloud-eu/web-client';
3
3
  import { FolderViewModeConstants, SortDir } from '../../composables';
4
4
  import { ImageDimension } from '../../constants';
5
- import { ContextMenuBtnClickEventData, CreateTargetRouteOptions } from '../../helpers';
6
- import { ClipboardActions } from '../../helpers/clipboardActions';
7
- import { OcTableTr } from '@opencloud-eu/design-system/components';
8
- import { FieldType } from '@opencloud-eu/design-system/helpers';
9
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
10
- /**
11
- * Resources to be displayed in the table.
12
- * Required fields:
13
- * - name: The name of the resource containing the file extension in case of a file
14
- * - path: The full path of the resource
15
- * - type: The type of the resource. Can be `file` or `folder`
16
- * Optional fields:
17
- * - thumbnail
18
- * - size: The size of the resource
19
- * - modificationDate: The date of the last modification of the resource
20
- * - shareDate: The date when the share was created
21
- * - deletionDate: The date when the resource has been deleted
22
- * - syncEnabled: The sync status of the share
23
- */
24
- resources: {
25
- type: PropType<Resource[]>;
26
- required: true;
27
- };
28
- /**
29
- * Closure function to mutate the resource id into a valid DOM selector.
30
- */
31
- resourceDomSelector: {
32
- type: PropType<(resource: Resource) => string>;
33
- required: false;
34
- default: (resource: Resource) => string;
35
- };
36
- /**
37
- * Asserts whether resources path should be shown in the resource name
38
- */
39
- arePathsDisplayed: {
40
- type: BooleanConstructor;
41
- required: false;
42
- default: boolean;
43
- };
44
- /**
45
- * Asserts whether icons should be replaced with thumbnails for resources which provide them
46
- */
47
- areThumbnailsDisplayed: {
48
- type: BooleanConstructor;
49
- required: false;
50
- default: boolean;
51
- };
52
- /**
53
- * V-model for the selection
54
- */
55
- selectedIds: {
56
- type: PropType<string[]>;
57
- default: () => string[];
58
- };
59
- /**
60
- * Asserts whether actions are available
61
- */
62
- hasActions: {
63
- type: BooleanConstructor;
64
- required: false;
65
- default: boolean;
66
- };
67
- /**
68
- * Asserts whether rename quick action is available
69
- */
70
- showRenameQuickAction: {
71
- type: BooleanConstructor;
72
- required: false;
73
- default: boolean;
74
- };
75
- /**
76
- * Accepts a `path` and a `resource` param and returns a corresponding route object.
77
- */
78
- targetRouteCallback: {
79
- type: PropType<(arg: CreateTargetRouteOptions) => unknown>;
80
- required: false;
81
- default: any;
82
- };
83
- /**
84
- * Asserts whether clicking on the resource name triggers any action
85
- */
86
- areResourcesClickable: {
87
- type: BooleanConstructor;
88
- required: false;
89
- default: boolean;
90
- };
91
- /**
92
- * Top position of header used when the header is sticky in pixels
93
- */
94
- headerPosition: {
95
- type: NumberConstructor;
96
- required: false;
97
- default: number;
98
- };
99
- /**
100
- * Asserts whether resources in the table can be selected
101
- */
102
- isSelectable: {
103
- type: BooleanConstructor;
104
- required: false;
105
- default: boolean;
106
- };
107
- /**
108
- * Sets specific css classes for when the side bar is (not) open
109
- */
110
- isSideBarOpen: {
111
- type: BooleanConstructor;
112
- required: false;
113
- default: boolean;
114
- };
115
- /**
116
- * Sets the padding size for x axis
117
- * @values xsmall, small, medium, large, xlarge
118
- */
119
- paddingX: {
120
- type: StringConstructor;
121
- required: false;
122
- default: string;
123
- validator: (size: string) => boolean;
124
- };
125
- /**
126
- * Enable Drag & Drop events
127
- */
128
- dragDrop: {
129
- type: BooleanConstructor;
130
- required: false;
131
- default: boolean;
132
- };
133
- /**
134
- * The active view mode.
135
- */
136
- viewMode: {
137
- type: PropType<typeof FolderViewModeConstants.name.condensedTable | typeof FolderViewModeConstants.name.table>;
138
- default: () => "resource-tiles";
139
- validator: (value: typeof FolderViewModeConstants.name.condensedTable | typeof FolderViewModeConstants.name.table) => boolean;
140
- };
141
- /**
142
- * Enable hover effect
143
- */
144
- hover: {
145
- type: BooleanConstructor;
146
- required: false;
147
- default: boolean;
148
- };
149
- /**
150
- * Show that the table is sorted by this column (no actual sorting takes place)
151
- */
152
- sortBy: {
153
- type: StringConstructor;
154
- required: false;
155
- default: any;
156
- };
157
- /**
158
- * Define what fields should be displayed in the table
159
- * If null, all fields are displayed
160
- */
161
- fieldsDisplayed: {
162
- type: ArrayConstructor;
163
- required: false;
164
- default: any;
165
- };
166
- /**
167
- * Show that the table is sorted ascendingly/descendingly (no actual sorting takes place)
168
- */
169
- sortDir: {
170
- type: PropType<SortDir>;
171
- required: false;
172
- default: any;
173
- validator: (value: string) => boolean;
174
- };
175
- /**
176
- * Space resource the provided resources originate from. Not required on meta pages like favorites, search, ...
177
- */
178
- space: {
179
- type: PropType<SpaceResource>;
180
- required: false;
181
- default: any;
182
- };
183
- resourceType: {
184
- type: PropType<"file" | "space">;
185
- default: string;
186
- };
187
- /**
188
- * Determines if the table content should be loaded lazily.
189
- */
190
- lazy: {
191
- type: BooleanConstructor;
192
- default: boolean;
193
- };
194
- /**
195
- * This is only relevant for CERN and can be ignored in any other cases.
196
- */
197
- groupingSettings: {
198
- type: ObjectConstructor;
199
- required: false;
200
- default: any;
201
- };
202
- }>, {
203
- postMessage: <Payload>(name: string, data?: Payload) => void;
204
- isFilePicker: ComputedRef<boolean>;
205
- isLocationPicker: ComputedRef<boolean>;
206
- isEmbedModeEnabled: ComputedRef<boolean>;
207
- emitSelect: (selectedIds: string[]) => void;
208
- toggleSelection: (resourceId: string) => void;
209
- eventBus: import('../..').EventBus;
210
- interceptModifierClick: (event: MouseEvent | undefined, resource: Resource) => boolean;
211
- areFileExtensionsShown: import('vue').Ref<boolean, boolean>;
212
- latestSelectedId: import('vue').Ref<string, string>;
213
- isResourceClickable: (resource: Resource) => boolean;
214
- getResourceLink: (resource: Resource) => unknown;
215
- isSticky: import('vue').Ref<boolean, boolean>;
216
- isResourceInDeleteQueue: (id: string) => boolean;
217
- ShareTypes: typeof ShareTypes;
218
- showContextDrop: (item: Resource | SpaceResource) => boolean;
219
- isMobile: ComputedRef<boolean>;
220
- getPathPrefix: (resource: Resource) => any;
221
- getFolderLink: (resource: Resource) => unknown;
222
- getParentFolderLink: (resource: Resource) => unknown;
223
- getParentFolderName: (resource: Resource) => string;
224
- getParentFolderLinkIconAdditionalAttributes: (resource: Resource) => {
225
- name: string;
226
- 'fill-type': string;
227
- } | {
228
- name?: undefined;
229
- 'fill-type'?: undefined;
230
- };
231
- createFileAction: (resource: Resource) => void;
232
- createFolderLink: (createTargetRouteOptions: CreateTargetRouteOptions) => unknown;
233
- router: import('vue-router').Router;
234
- configOptions: import('vue').Ref<{
235
- cernFeatures?: boolean;
236
- concurrentRequests?: {
237
- resourceBatchActions?: number;
238
- sse?: number;
239
- shares?: {
240
- create?: number;
241
- list?: number;
242
- };
243
- avatars?: number;
244
- };
245
- contextHelpers?: boolean;
246
- contextHelpersReadMore?: boolean;
247
- defaultAppId?: string;
248
- disabledExtensions?: string[];
249
- disableFeedbackLink?: boolean;
250
- accountEditLink?: {
251
- href?: string;
252
- };
253
- editor?: {
254
- autosaveEnabled?: boolean;
255
- autosaveInterval?: number;
256
- openAsPreview?: boolean | string[];
257
- };
258
- embed?: {
259
- enabled?: boolean;
260
- target?: string;
261
- messagesOrigin?: string;
262
- delegateAuthentication?: boolean;
263
- delegateAuthenticationOrigin?: string;
264
- fileTypes?: string[];
265
- chooseFileName?: boolean;
266
- chooseFileNameSuggestion?: string;
267
- };
268
- feedbackLink?: {
269
- ariaLabel?: string;
270
- description?: string;
271
- href?: string;
272
- };
273
- isRunningOnEos?: boolean;
274
- loginUrl?: string;
275
- logoutUrl?: string;
276
- ocm?: {
277
- openRemotely?: boolean;
278
- };
279
- routing?: {
280
- fullShareOwnerPaths?: boolean;
281
- idBased?: boolean;
282
- };
283
- runningOnEos?: boolean;
284
- tokenStorageLocal?: boolean;
285
- upload?: {
286
- companionUrl?: string;
287
- };
288
- userListRequiresFilter?: boolean;
289
- hideLogo?: boolean;
290
- }, {
291
- cernFeatures?: boolean;
292
- concurrentRequests?: {
293
- resourceBatchActions?: number;
294
- sse?: number;
295
- shares?: {
296
- create?: number;
297
- list?: number;
5
+ import { CreateTargetRouteOptions } from '../../helpers';
6
+ import { FileActionOptions } from '../../composables/actions';
7
+ type __VLS_Props = {
8
+ resources: Resource[];
9
+ resourceDomSelector?: (resource: Resource) => string;
10
+ arePathsDisplayed?: boolean;
11
+ selectedIds?: string[];
12
+ hasActions?: boolean;
13
+ showRenameQuickAction?: boolean;
14
+ targetRouteCallback?: (arg: CreateTargetRouteOptions) => unknown;
15
+ areResourcesClickable?: boolean;
16
+ headerPosition?: number;
17
+ isSelectable?: boolean;
18
+ isSideBarOpen?: boolean;
19
+ dragDrop?: boolean;
20
+ viewMode?: typeof FolderViewModeConstants.name.condensedTable | typeof FolderViewModeConstants.name.table;
21
+ hover?: boolean;
22
+ sortBy?: string;
23
+ fieldsDisplayed?: string[];
24
+ sortDir?: SortDir;
25
+ space?: SpaceResource;
26
+ resourceType?: 'file' | 'space';
27
+ lazy?: boolean;
28
+ };
29
+ declare function __VLS_template(): {
30
+ attrs: Partial<{}>;
31
+ slots: Readonly<{
32
+ image?: (props: {
33
+ resource: Resource;
34
+ }) => unknown;
35
+ additionalResourceContent?: (props: {
36
+ resource: Resource;
37
+ }) => unknown;
38
+ syncEnabled?: (props: {
39
+ resource: Resource;
40
+ }) => unknown;
41
+ manager?: (props: {
42
+ resource: Resource;
43
+ }) => unknown;
44
+ members?: (props: {
45
+ resource: Resource;
46
+ }) => unknown;
47
+ totalQuota?: (props: {
48
+ resource: Resource;
49
+ }) => unknown;
50
+ usedQuota?: (props: {
51
+ resource: Resource;
52
+ }) => unknown;
53
+ remainingQuota?: (props: {
54
+ resource: Resource;
55
+ }) => unknown;
56
+ quickActions?: (props: {
57
+ resource: Resource;
58
+ }) => unknown;
59
+ contextMenu?: (props: {
60
+ resource: Resource;
61
+ }) => unknown;
62
+ footer?: () => unknown;
63
+ }> & {
64
+ image?: (props: {
65
+ resource: Resource;
66
+ }) => unknown;
67
+ additionalResourceContent?: (props: {
68
+ resource: Resource;
69
+ }) => unknown;
70
+ syncEnabled?: (props: {
71
+ resource: Resource;
72
+ }) => unknown;
73
+ manager?: (props: {
74
+ resource: Resource;
75
+ }) => unknown;
76
+ members?: (props: {
77
+ resource: Resource;
78
+ }) => unknown;
79
+ totalQuota?: (props: {
80
+ resource: Resource;
81
+ }) => unknown;
82
+ usedQuota?: (props: {
83
+ resource: Resource;
84
+ }) => unknown;
85
+ remainingQuota?: (props: {
86
+ resource: Resource;
87
+ }) => unknown;
88
+ quickActions?: (props: {
89
+ resource: Resource;
90
+ }) => unknown;
91
+ contextMenu?: (props: {
92
+ resource: Resource;
93
+ }) => unknown;
94
+ footer?: () => unknown;
95
+ };
96
+ refs: {
97
+ contextMenuButton: {
98
+ $: import('vue').ComponentInternalInstance;
99
+ $data: {};
100
+ $props: {
101
+ readonly item: Resource;
102
+ readonly resourceDomSelector?: (resource: Resource) => string;
103
+ readonly title?: string;
104
+ readonly onQuickActionClicked?: (payload: {
105
+ event: MouseEvent;
106
+ dropdown: unknown;
107
+ }) => any;
108
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
109
+ $attrs: {
110
+ [x: string]: unknown;
298
111
  };
299
- avatars?: number;
300
- };
301
- contextHelpers?: boolean;
302
- contextHelpersReadMore?: boolean;
303
- defaultAppId?: string;
304
- disabledExtensions?: string[];
305
- disableFeedbackLink?: boolean;
306
- accountEditLink?: {
307
- href?: string;
308
- };
309
- editor?: {
310
- autosaveEnabled?: boolean;
311
- autosaveInterval?: number;
312
- openAsPreview?: boolean | string[];
313
- };
314
- embed?: {
315
- enabled?: boolean;
316
- target?: string;
317
- messagesOrigin?: string;
318
- delegateAuthentication?: boolean;
319
- delegateAuthenticationOrigin?: string;
320
- fileTypes?: string[];
321
- chooseFileName?: boolean;
322
- chooseFileNameSuggestion?: string;
323
- };
324
- feedbackLink?: {
325
- ariaLabel?: string;
326
- description?: string;
327
- href?: string;
328
- };
329
- isRunningOnEos?: boolean;
330
- loginUrl?: string;
331
- logoutUrl?: string;
332
- ocm?: {
333
- openRemotely?: boolean;
334
- };
335
- routing?: {
336
- fullShareOwnerPaths?: boolean;
337
- idBased?: boolean;
338
- };
339
- runningOnEos?: boolean;
340
- tokenStorageLocal?: boolean;
341
- upload?: {
342
- companionUrl?: string;
343
- };
344
- userListRequiresFilter?: boolean;
345
- hideLogo?: boolean;
346
- } | {
347
- cernFeatures?: boolean;
348
- concurrentRequests?: {
349
- resourceBatchActions?: number;
350
- sse?: number;
351
- shares?: {
352
- create?: number;
353
- list?: number;
354
- };
355
- avatars?: number;
356
- };
357
- contextHelpers?: boolean;
358
- contextHelpersReadMore?: boolean;
359
- defaultAppId?: string;
360
- disabledExtensions?: string[];
361
- disableFeedbackLink?: boolean;
362
- accountEditLink?: {
363
- href?: string;
364
- };
365
- editor?: {
366
- autosaveEnabled?: boolean;
367
- autosaveInterval?: number;
368
- openAsPreview?: boolean | string[];
369
- };
370
- embed?: {
371
- enabled?: boolean;
372
- target?: string;
373
- messagesOrigin?: string;
374
- delegateAuthentication?: boolean;
375
- delegateAuthenticationOrigin?: string;
376
- fileTypes?: string[];
377
- chooseFileName?: boolean;
378
- chooseFileNameSuggestion?: string;
379
- };
380
- feedbackLink?: {
381
- ariaLabel?: string;
382
- description?: string;
383
- href?: string;
384
- };
385
- isRunningOnEos?: boolean;
386
- loginUrl?: string;
387
- logoutUrl?: string;
388
- ocm?: {
389
- openRemotely?: boolean;
390
- };
391
- routing?: {
392
- fullShareOwnerPaths?: boolean;
393
- idBased?: boolean;
394
- };
395
- runningOnEos?: boolean;
396
- tokenStorageLocal?: boolean;
397
- upload?: {
398
- companionUrl?: string;
399
- };
400
- userListRequiresFilter?: boolean;
401
- hideLogo?: boolean;
402
- }>;
403
- dragItem: import('vue').Ref<Resource, Resource>;
404
- ghostElement: Readonly<import('vue').ShallowRef<ComponentPublicInstance<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
405
- previewItems: {
406
- type: PropType<Resource[]>;
407
- required: true;
408
- };
409
- }>, {}, {}, {
410
- layerCount(): number;
411
- showSecondLayer(): boolean;
412
- showThirdLayer(): boolean;
413
- itemCount(): number;
414
- }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
415
- previewItems: {
416
- type: PropType<Resource[]>;
417
- required: true;
418
- };
419
- }>> & Readonly<{}>, {}, {}, {
420
- ResourceIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
421
- resource: {
422
- type: PropType<Resource | SpaceResource>;
423
- required: true;
424
- };
425
- size: {
426
- type: PropType<import('@opencloud-eu/design-system/helpers').SizeType>;
427
- default: string;
428
- validator: (value: string) => boolean;
429
- };
430
- }>, {
431
- icon: ComputedRef<import('../..').IconType>;
432
- isSpace: ComputedRef<boolean>;
433
- isFolder: ComputedRef<boolean>;
434
- isDisabledSpace: ComputedRef<boolean>;
435
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
436
- resource: {
437
- type: PropType<Resource | SpaceResource>;
438
- required: true;
112
+ $refs: {
113
+ [x: string]: unknown;
439
114
  };
440
- size: {
441
- type: PropType<import('@opencloud-eu/design-system/helpers').SizeType>;
442
- default: string;
443
- validator: (value: string) => boolean;
115
+ $slots: Readonly<{
116
+ [name: string]: import('vue').Slot<any>;
117
+ }>;
118
+ $root: ComponentPublicInstance | null;
119
+ $parent: ComponentPublicInstance | null;
120
+ $host: Element | null;
121
+ $emit: (event: "quickActionClicked", payload: {
122
+ event: MouseEvent;
123
+ dropdown: unknown;
124
+ }) => void;
125
+ $el: any;
126
+ $options: import('vue').ComponentOptionsBase<Readonly<{
127
+ item: Resource;
128
+ resourceDomSelector?: (resource: Resource) => string;
129
+ title?: string;
130
+ }> & Readonly<{
131
+ onQuickActionClicked?: (payload: {
132
+ event: MouseEvent;
133
+ dropdown: unknown;
134
+ }) => any;
135
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
136
+ quickActionClicked: (payload: {
137
+ event: MouseEvent;
138
+ dropdown: unknown;
139
+ }) => any;
140
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
141
+ beforeCreate?: (() => void) | (() => void)[];
142
+ created?: (() => void) | (() => void)[];
143
+ beforeMount?: (() => void) | (() => void)[];
144
+ mounted?: (() => void) | (() => void)[];
145
+ beforeUpdate?: (() => void) | (() => void)[];
146
+ updated?: (() => void) | (() => void)[];
147
+ activated?: (() => void) | (() => void)[];
148
+ deactivated?: (() => void) | (() => void)[];
149
+ beforeDestroy?: (() => void) | (() => void)[];
150
+ beforeUnmount?: (() => void) | (() => void)[];
151
+ destroyed?: (() => void) | (() => void)[];
152
+ unmounted?: (() => void) | (() => void)[];
153
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
154
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
155
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
444
156
  };
445
- }>> & Readonly<{}>, {
446
- size: import('@opencloud-eu/design-system/helpers').SizeType;
447
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
448
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>>>>;
449
- contextMenuButton: Readonly<import('vue').ShallowRef<ComponentPublicInstance<{
450
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcButton/OcButton.vue').Props> & Readonly<{
451
- onClick?: (event: MouseEvent) => any;
452
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
453
- click: (event: MouseEvent) => any;
454
- }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
455
- P: {};
456
- B: {};
457
- D: {};
458
- C: {};
459
- M: {};
460
- Defaults: {};
461
- }, Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcButton/OcButton.vue').Props> & Readonly<{
462
- onClick?: (event: MouseEvent) => any;
463
- }>, {}, {}, {}, {}, {}>;
464
- __isFragment?: never;
465
- __isTeleport?: never;
466
- __isSuspense?: never;
467
- } & import('vue').ComponentOptionsBase<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcButton/OcButton.vue').Props> & Readonly<{
468
- onClick?: (event: MouseEvent) => any;
469
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
470
- click: (event: MouseEvent) => any;
471
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
472
- $slots: Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcButton/OcButton.vue').Slots> & import('node_modules/@opencloud-eu/design-system/src/components/OcButton/OcButton.vue').Slots;
473
- })>>>;
474
- getTagToolTip: (tag: string) => string;
475
- renameActions: ComputedRef<import('../..').FileAction[]>;
476
- renameActionsSpace: ComputedRef<import('../..').SpaceAction[]>;
477
- renameHandler: ComputedRef<(options?: import('../..').FileActionOptions<Resource>) => Promise<void> | void>;
478
- renameHandlerSpace: ComputedRef<(options?: import('../..').SpaceActionOptions) => Promise<void> | void>;
479
- FolderViewModeConstants: {
480
- readonly name: {
481
- readonly table: "resource-table";
482
- readonly condensedTable: "resource-table-condensed";
483
- readonly tiles: "resource-tiles";
484
- };
485
- readonly defaultModeName: "resource-tiles";
486
- readonly queryName: "view-mode";
487
- readonly tilesSizeDefault: 2;
488
- readonly tilesSizeMax: 6;
489
- readonly tilesSizeQueryName: "tiles-size";
490
- };
491
- hasTags: ComputedRef<boolean>;
492
- disabledResources: ComputedRef<string[]>;
493
- isResourceDisabled: (resource: Resource) => boolean;
494
- userContextReady: import('vue').Ref<boolean, boolean>;
495
- getMatchingSpace: (resource: Resource) => SpaceResource;
496
- clipboardResources: import('vue').Ref<{
497
- id: string;
498
- fileId?: string;
499
- parentFolderId?: string;
500
- storageId?: string;
501
- readonly nodeId?: string;
502
- name?: string;
503
- tags?: string[];
504
- audio?: {
505
- album?: string;
506
- albumArtist?: string;
507
- artist?: string;
508
- bitrate?: number;
509
- composers?: string;
510
- copyright?: string;
511
- disc?: number;
512
- discCount?: number;
513
- duration?: number;
514
- genre?: string;
515
- hasDrm?: boolean;
516
- isVariableBitrate?: boolean;
517
- title?: string;
518
- track?: number;
519
- trackCount?: number;
520
- year?: number;
521
- };
522
- location?: {
523
- altitude?: number;
524
- latitude?: number;
525
- longitude?: number;
526
- };
527
- image?: {
528
- height?: number;
529
- width?: number;
530
- };
531
- photo?: {
532
- cameraMake?: string;
533
- cameraModel?: string;
534
- exposureDenominator?: number;
535
- exposureNumerator?: number;
536
- fNumber?: number;
537
- focalLength?: number;
538
- iso?: number;
539
- orientation?: number;
540
- takenDateTime?: string;
541
- };
542
- path: string;
543
- webDavPath?: string;
544
- downloadURL?: string;
545
- type?: string;
546
- thumbnail?: string;
547
- processing?: boolean;
548
- locked?: boolean;
549
- lockOwner?: string;
550
- lockTime?: string;
551
- mimeType?: string;
552
- isFolder?: boolean;
553
- mdate?: string;
554
- size?: number | string;
555
- permissions?: string;
556
- starred?: boolean;
557
- etag?: string;
558
- shareTypes?: number[];
559
- privateLink?: string;
560
- owner?: {
561
- displayName: string;
562
- id?: string;
563
- '@libre.graph.userType'?: string;
564
- };
565
- extension?: string;
566
- extraProps?: Record<string, unknown>;
567
- remoteItemId?: string;
568
- remoteItemPath?: string;
569
- hasPreview?: () => boolean;
570
- canCreate?: () => boolean;
571
- canUpload?: ({ user }: {
572
- user?: import('@opencloud-eu/web-client/graph/generated').User;
573
- }) => boolean;
574
- canDownload?: () => boolean;
575
- canShare?: (args?: {
576
- user?: import('@opencloud-eu/web-client/graph/generated').User;
577
- ability?: import('@opencloud-eu/web-client').Ability;
578
- }) => boolean;
579
- canRename?: (args?: {
580
- user?: import('@opencloud-eu/web-client/graph/generated').User;
581
- ability?: import('@opencloud-eu/web-client').Ability;
582
- }) => boolean;
583
- canBeDeleted?: (args?: {
584
- user?: import('@opencloud-eu/web-client/graph/generated').User;
585
- ability?: import('@opencloud-eu/web-client').Ability;
586
- }) => boolean;
587
- canEditTags?: () => boolean;
588
- getDomSelector?: () => string;
589
- isReceivedShare?: () => boolean;
590
- isShareRoot?: () => boolean;
591
- isMounted?: () => boolean;
592
- }[], Resource[] | {
593
- id: string;
594
- fileId?: string;
595
- parentFolderId?: string;
596
- storageId?: string;
597
- readonly nodeId?: string;
598
- name?: string;
599
- tags?: string[];
600
- audio?: {
601
- album?: string;
602
- albumArtist?: string;
603
- artist?: string;
604
- bitrate?: number;
605
- composers?: string;
606
- copyright?: string;
607
- disc?: number;
608
- discCount?: number;
609
- duration?: number;
610
- genre?: string;
611
- hasDrm?: boolean;
612
- isVariableBitrate?: boolean;
157
+ $forceUpdate: () => void;
158
+ $nextTick: typeof import('vue').nextTick;
159
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
160
+ } & Readonly<{}> & Omit<Readonly<{
161
+ item: Resource;
162
+ resourceDomSelector?: (resource: Resource) => string;
613
163
  title?: string;
614
- track?: number;
615
- trackCount?: number;
616
- year?: number;
617
- };
618
- location?: {
619
- altitude?: number;
620
- latitude?: number;
621
- longitude?: number;
622
- };
623
- image?: {
624
- height?: number;
625
- width?: number;
626
- };
627
- photo?: {
628
- cameraMake?: string;
629
- cameraModel?: string;
630
- exposureDenominator?: number;
631
- exposureNumerator?: number;
632
- fNumber?: number;
633
- focalLength?: number;
634
- iso?: number;
635
- orientation?: number;
636
- takenDateTime?: string;
637
- };
638
- path: string;
639
- webDavPath?: string;
640
- downloadURL?: string;
641
- type?: string;
642
- thumbnail?: string;
643
- processing?: boolean;
644
- locked?: boolean;
645
- lockOwner?: string;
646
- lockTime?: string;
647
- mimeType?: string;
648
- isFolder?: boolean;
649
- mdate?: string;
650
- size?: number | string;
651
- permissions?: string;
652
- starred?: boolean;
653
- etag?: string;
654
- shareTypes?: number[];
655
- privateLink?: string;
656
- owner?: {
657
- displayName: string;
658
- id?: string;
659
- '@libre.graph.userType'?: string;
660
- };
661
- extension?: string;
662
- extraProps?: Record<string, unknown>;
663
- remoteItemId?: string;
664
- remoteItemPath?: string;
665
- hasPreview?: () => boolean;
666
- canCreate?: () => boolean;
667
- canUpload?: ({ user }: {
668
- user?: import('@opencloud-eu/web-client/graph/generated').User;
669
- }) => boolean;
670
- canDownload?: () => boolean;
671
- canShare?: (args?: {
672
- user?: import('@opencloud-eu/web-client/graph/generated').User;
673
- ability?: import('@opencloud-eu/web-client').Ability;
674
- }) => boolean;
675
- canRename?: (args?: {
676
- user?: import('@opencloud-eu/web-client/graph/generated').User;
677
- ability?: import('@opencloud-eu/web-client').Ability;
678
- }) => boolean;
679
- canBeDeleted?: (args?: {
680
- user?: import('@opencloud-eu/web-client/graph/generated').User;
681
- ability?: import('@opencloud-eu/web-client').Ability;
682
- }) => boolean;
683
- canEditTags?: () => boolean;
684
- getDomSelector?: () => string;
685
- isReceivedShare?: () => boolean;
686
- isShareRoot?: () => boolean;
687
- isMounted?: () => boolean;
688
- }[]>;
689
- clipboardAction: import('vue').Ref<ClipboardActions, ClipboardActions>;
690
- }, {
691
- constants: {
692
- ImageDimension: typeof ImageDimension;
693
- EVENT_TROW_MOUNTED: string;
694
- };
695
- }, {
696
- fields(): FieldType[];
697
- areAllResourcesSelected(): boolean;
698
- selectAllCheckboxLabel(): string;
699
- selectedResources(): Resource[];
700
- contextMenuLabel(): string;
701
- dragSelection(): Resource[];
702
- }, {
703
- isResourceSelected(item: Resource): boolean;
704
- isResourceCut(resource: Resource): boolean;
705
- getTagLink(tag: string): import('vue-router').RouteLocationNamedRaw;
706
- getTagComponentAttrs(tag: string): {
707
- to?: undefined;
708
- } | {
709
- to: import('vue-router').RouteLocationNamedRaw;
710
- };
711
- isLatestSelectedItem(item: Resource): boolean;
712
- hasRenameAction(item: Resource): number | false;
713
- openRenameDialog(item: Resource): void | Promise<void>;
714
- openTagsSidebar(): void;
715
- handleFileClick(e: MouseEvent, resource: Resource): void;
716
- fileDragged(file: Resource, event: DragEvent): Promise<void>;
717
- fileDropped(selector: string, event: DragEvent): void;
718
- setDragItem(item: Resource, event: DragEvent): Promise<void>;
719
- dropRowStyling(selector: string, leaving: boolean, event: DragEvent): void;
720
- sort(opts: {
721
- sortBy: string;
722
- sortDir: SortDir;
723
- }): void;
724
- addSelectedResource(file: Resource): void;
725
- showContextMenuOnBtnClick(data: ContextMenuBtnClickEventData, item: Resource): false;
726
- showContextMenu(row: ComponentPublicInstance<unknown>, event: MouseEvent, item: Resource): false;
727
- rowMounted(resource: Resource, component: typeof OcTableTr): void;
728
- fileClicked(data: [Resource, MouseEvent]): void;
729
- formatDate(date: string): string;
730
- formatDateRelative(date: string): string;
731
- toggleSelectionAll(): void;
732
- emitFileClick(resource: Resource, event?: MouseEvent): void;
733
- getResourceCheckboxLabel(resource: Resource): string;
734
- getSharedWithAvatarDescription(resource: Resource): string;
735
- getSharedByAvatarDescription(resource: Resource): string;
736
- getSharedByAvatarItems(resource: Resource): {
737
- displayName: string;
738
- name: string;
739
- avatarType: string;
740
- username: string;
741
- userId: string;
742
- }[];
743
- getSharedWithAvatarItems(resource: Resource): {
744
- displayName: string;
745
- name: string;
746
- avatarType: string;
747
- username: string;
748
- userId: string;
749
- }[];
750
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("sort" | "rowMounted" | "fileDropped" | "update:modelValue" | "fileClick" | "update:selectedIds")[], "sort" | "rowMounted" | "fileDropped" | "update:modelValue" | "fileClick" | "update:selectedIds", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
751
- /**
752
- * Resources to be displayed in the table.
753
- * Required fields:
754
- * - name: The name of the resource containing the file extension in case of a file
755
- * - path: The full path of the resource
756
- * - type: The type of the resource. Can be `file` or `folder`
757
- * Optional fields:
758
- * - thumbnail
759
- * - size: The size of the resource
760
- * - modificationDate: The date of the last modification of the resource
761
- * - shareDate: The date when the share was created
762
- * - deletionDate: The date when the resource has been deleted
763
- * - syncEnabled: The sync status of the share
764
- */
765
- resources: {
766
- type: PropType<Resource[]>;
767
- required: true;
768
- };
769
- /**
770
- * Closure function to mutate the resource id into a valid DOM selector.
771
- */
772
- resourceDomSelector: {
773
- type: PropType<(resource: Resource) => string>;
774
- required: false;
775
- default: (resource: Resource) => string;
776
- };
777
- /**
778
- * Asserts whether resources path should be shown in the resource name
779
- */
780
- arePathsDisplayed: {
781
- type: BooleanConstructor;
782
- required: false;
783
- default: boolean;
784
- };
785
- /**
786
- * Asserts whether icons should be replaced with thumbnails for resources which provide them
787
- */
788
- areThumbnailsDisplayed: {
789
- type: BooleanConstructor;
790
- required: false;
791
- default: boolean;
792
- };
793
- /**
794
- * V-model for the selection
795
- */
796
- selectedIds: {
797
- type: PropType<string[]>;
798
- default: () => string[];
799
- };
800
- /**
801
- * Asserts whether actions are available
802
- */
803
- hasActions: {
804
- type: BooleanConstructor;
805
- required: false;
806
- default: boolean;
807
- };
808
- /**
809
- * Asserts whether rename quick action is available
810
- */
811
- showRenameQuickAction: {
812
- type: BooleanConstructor;
813
- required: false;
814
- default: boolean;
815
- };
816
- /**
817
- * Accepts a `path` and a `resource` param and returns a corresponding route object.
818
- */
819
- targetRouteCallback: {
820
- type: PropType<(arg: CreateTargetRouteOptions) => unknown>;
821
- required: false;
822
- default: any;
823
- };
824
- /**
825
- * Asserts whether clicking on the resource name triggers any action
826
- */
827
- areResourcesClickable: {
828
- type: BooleanConstructor;
829
- required: false;
830
- default: boolean;
831
- };
832
- /**
833
- * Top position of header used when the header is sticky in pixels
834
- */
835
- headerPosition: {
836
- type: NumberConstructor;
837
- required: false;
838
- default: number;
839
- };
840
- /**
841
- * Asserts whether resources in the table can be selected
842
- */
843
- isSelectable: {
844
- type: BooleanConstructor;
845
- required: false;
846
- default: boolean;
847
- };
848
- /**
849
- * Sets specific css classes for when the side bar is (not) open
850
- */
851
- isSideBarOpen: {
852
- type: BooleanConstructor;
853
- required: false;
854
- default: boolean;
855
- };
856
- /**
857
- * Sets the padding size for x axis
858
- * @values xsmall, small, medium, large, xlarge
859
- */
860
- paddingX: {
861
- type: StringConstructor;
862
- required: false;
863
- default: string;
864
- validator: (size: string) => boolean;
865
- };
866
- /**
867
- * Enable Drag & Drop events
868
- */
869
- dragDrop: {
870
- type: BooleanConstructor;
871
- required: false;
872
- default: boolean;
873
- };
874
- /**
875
- * The active view mode.
876
- */
877
- viewMode: {
878
- type: PropType<typeof FolderViewModeConstants.name.condensedTable | typeof FolderViewModeConstants.name.table>;
879
- default: () => "resource-tiles";
880
- validator: (value: typeof FolderViewModeConstants.name.condensedTable | typeof FolderViewModeConstants.name.table) => boolean;
881
- };
882
- /**
883
- * Enable hover effect
884
- */
885
- hover: {
886
- type: BooleanConstructor;
887
- required: false;
888
- default: boolean;
889
- };
890
- /**
891
- * Show that the table is sorted by this column (no actual sorting takes place)
892
- */
893
- sortBy: {
894
- type: StringConstructor;
895
- required: false;
896
- default: any;
897
- };
898
- /**
899
- * Define what fields should be displayed in the table
900
- * If null, all fields are displayed
901
- */
902
- fieldsDisplayed: {
903
- type: ArrayConstructor;
904
- required: false;
905
- default: any;
906
- };
907
- /**
908
- * Show that the table is sorted ascendingly/descendingly (no actual sorting takes place)
909
- */
910
- sortDir: {
911
- type: PropType<SortDir>;
912
- required: false;
913
- default: any;
914
- validator: (value: string) => boolean;
915
- };
916
- /**
917
- * Space resource the provided resources originate from. Not required on meta pages like favorites, search, ...
918
- */
919
- space: {
920
- type: PropType<SpaceResource>;
921
- required: false;
922
- default: any;
923
- };
924
- resourceType: {
925
- type: PropType<"file" | "space">;
926
- default: string;
927
- };
928
- /**
929
- * Determines if the table content should be loaded lazily.
930
- */
931
- lazy: {
932
- type: BooleanConstructor;
933
- default: boolean;
934
- };
935
- /**
936
- * This is only relevant for CERN and can be ignored in any other cases.
937
- */
938
- groupingSettings: {
939
- type: ObjectConstructor;
940
- required: false;
941
- default: any;
942
- };
943
- }>> & Readonly<{
944
- "onUpdate:modelValue"?: (...args: any[]) => any;
945
- onSort?: (...args: any[]) => any;
946
- onRowMounted?: (...args: any[]) => any;
947
- onFileDropped?: (...args: any[]) => any;
948
- onFileClick?: (...args: any[]) => any;
949
- "onUpdate:selectedIds"?: (...args: any[]) => any;
950
- }>, {
951
- space: SpaceResource;
952
- lazy: boolean;
953
- selectedIds: string[];
954
- sortBy: string;
955
- hover: boolean;
956
- dragDrop: boolean;
957
- headerPosition: number;
958
- paddingX: string;
959
- sortDir: SortDir;
960
- resourceDomSelector: (resource: Resource) => string;
961
- isSideBarOpen: boolean;
962
- viewMode: "resource-table" | "resource-table-condensed";
963
- targetRouteCallback: (arg: CreateTargetRouteOptions) => unknown;
964
- arePathsDisplayed: boolean;
965
- areThumbnailsDisplayed: boolean;
966
- hasActions: boolean;
967
- showRenameQuickAction: boolean;
968
- areResourcesClickable: boolean;
969
- isSelectable: boolean;
970
- fieldsDisplayed: unknown[];
971
- resourceType: "file" | "space";
972
- groupingSettings: Record<string, any>;
973
- }, {}, {
974
- UserAvatar: import('vue').DefineComponent<{
975
- userId: string;
976
- userName: string;
977
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
978
- userId: string;
979
- userName: string;
980
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
981
- ContextMenuQuickAction: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
982
- item: {
983
- type: ObjectConstructor;
984
- required: true;
985
- };
986
- resourceDomSelector: {
987
- type: FunctionConstructor;
988
- required: false;
989
- default: (resource: Resource) => string;
990
- };
991
- title: {
992
- type: StringConstructor;
993
- required: false;
994
- default: string;
995
- };
996
- }>, {
997
- contextMenuLabel: ComputedRef<string>;
998
- isOpen: import('vue').Ref<boolean, boolean>;
999
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "quickActionClicked"[], "quickActionClicked", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
1000
- item: {
1001
- type: ObjectConstructor;
1002
- required: true;
1003
- };
1004
- resourceDomSelector: {
1005
- type: FunctionConstructor;
1006
- required: false;
1007
- default: (resource: Resource) => string;
1008
- };
1009
- title: {
1010
- type: StringConstructor;
1011
- required: false;
1012
- default: string;
1013
- };
1014
- }>> & Readonly<{
1015
- onQuickActionClicked?: (...args: any[]) => any;
1016
- }>, {
1017
- title: string;
1018
- resourceDomSelector: Function;
1019
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1020
- ResourceGhostElement: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
1021
- previewItems: {
1022
- type: PropType<Resource[]>;
1023
- required: true;
1024
- };
1025
- }>, {}, {}, {
1026
- layerCount(): number;
1027
- showSecondLayer(): boolean;
1028
- showThirdLayer(): boolean;
1029
- itemCount(): number;
1030
- }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
1031
- previewItems: {
1032
- type: PropType<Resource[]>;
1033
- required: true;
1034
- };
1035
- }>> & Readonly<{}>, {}, {}, {
1036
- ResourceIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
1037
- resource: {
1038
- type: PropType<Resource | SpaceResource>;
1039
- required: true;
1040
- };
1041
- size: {
1042
- type: PropType<import('@opencloud-eu/design-system/helpers').SizeType>;
1043
- default: string;
1044
- validator: (value: string) => boolean;
164
+ }> & Readonly<{
165
+ onQuickActionClicked?: (payload: {
166
+ event: MouseEvent;
167
+ dropdown: unknown;
168
+ }) => any;
169
+ }>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
170
+ $slots: {
171
+ contextMenu?(_: {
172
+ item: Resource;
173
+ }): any;
1045
174
  };
1046
- }>, {
1047
- icon: ComputedRef<import('../..').IconType>;
1048
- isSpace: ComputedRef<boolean>;
1049
- isFolder: ComputedRef<boolean>;
1050
- isDisabledSpace: ComputedRef<boolean>;
1051
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
1052
- resource: {
1053
- type: PropType<Resource | SpaceResource>;
175
+ };
176
+ ghostElement: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
177
+ previewItems: {
178
+ type: import('vue').PropType<Resource[]>;
1054
179
  required: true;
1055
180
  };
1056
- size: {
1057
- type: PropType<import('@opencloud-eu/design-system/helpers').SizeType>;
1058
- default: string;
1059
- validator: (value: string) => boolean;
1060
- };
1061
- }>> & Readonly<{}>, {
1062
- size: import('@opencloud-eu/design-system/helpers').SizeType;
1063
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1064
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1065
- ResourceListItem: import('vue').DefineComponent<{
1066
- resource: Resource;
1067
- pathPrefix?: string;
1068
- link?: import('vue-router').RouteLocationRaw;
1069
- isPathDisplayed?: boolean;
1070
- parentFolderLink?: import('vue-router').RouteLocationRaw;
1071
- parentFolderName?: string;
1072
- parentFolderLinkIconAdditionalAttributes?: Record<string, unknown>;
1073
- isExtensionDisplayed?: boolean;
1074
- isThumbnailDisplayed?: boolean;
1075
- isIconDisplayed?: boolean;
1076
- isResourceClickable?: boolean;
1077
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
1078
- click: (event: MouseEvent) => any;
1079
- }, string, import('vue').PublicProps, Readonly<{
1080
- resource: Resource;
1081
- pathPrefix?: string;
1082
- link?: import('vue-router').RouteLocationRaw;
1083
- isPathDisplayed?: boolean;
1084
- parentFolderLink?: import('vue-router').RouteLocationRaw;
1085
- parentFolderName?: string;
1086
- parentFolderLinkIconAdditionalAttributes?: Record<string, unknown>;
1087
- isExtensionDisplayed?: boolean;
1088
- isThumbnailDisplayed?: boolean;
1089
- isIconDisplayed?: boolean;
1090
- isResourceClickable?: boolean;
1091
- }> & Readonly<{
1092
- onClick?: (event: MouseEvent) => any;
1093
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
1094
- ResourceSize: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
1095
- size: {
1096
- type: (StringConstructor | NumberConstructor)[];
1097
- required: true;
1098
- };
1099
- }>, {
1100
- formattedSize: ComputedRef<string>;
1101
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
1102
- size: {
1103
- type: (StringConstructor | NumberConstructor)[];
1104
- required: true;
1105
- };
1106
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1107
- ResourceStatusIndicators: import('vue').DefineComponent<{
1108
- resource: Resource;
1109
- space?: SpaceResource;
1110
- filter?: (indicator: import('../..').ResourceIndicator) => boolean;
1111
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
1112
- resource: Resource;
1113
- space?: SpaceResource;
1114
- filter?: (indicator: import('../..').ResourceIndicator) => boolean;
1115
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
1116
- OcSpinner: import('vue').DefineComponent<import('node_modules/@opencloud-eu/design-system/src/components/OcSpinner/OcSpinner.vue').Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcSpinner/OcSpinner.vue').Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLSpanElement>;
1117
- OcTable: {
1118
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTable/OcTable.vue').Props> & Readonly<{
1119
- onSort?: (sort: {
1120
- sortBy: string;
1121
- sortDir: "asc" | "desc";
1122
- }) => any;
1123
- onHighlight?: (args: [any, MouseEvent]) => any;
1124
- onRowMounted?: (item: any, element: {
1125
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTableTr/OcTableTr.vue').Props> & Readonly<{
1126
- onClick?: (...args: any[]) => any;
1127
- onContextmenu?: (...args: any[]) => any;
1128
- onDragenter?: (...args: any[]) => any;
1129
- onDragleave?: (...args: any[]) => any;
1130
- onDragover?: (...args: any[]) => any;
1131
- onDragstart?: (...args: any[]) => any;
1132
- onDrop?: (...args: any[]) => any;
1133
- onMouseleave?: (...args: any[]) => any;
1134
- onItemVisible?: (...args: any[]) => any;
1135
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1136
- click: (...args: any[]) => void;
1137
- contextmenu: (...args: any[]) => void;
1138
- dragenter: (...args: any[]) => void;
1139
- dragleave: (...args: any[]) => void;
1140
- dragover: (...args: any[]) => void;
1141
- dragstart: (...args: any[]) => void;
1142
- drop: (...args: any[]) => void;
1143
- mouseleave: (...args: any[]) => void;
1144
- itemVisible: (...args: any[]) => void;
1145
- }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
1146
- observerTarget: HTMLTableRowElement;
1147
- }, HTMLTableRowElement, import('vue').ComponentProvideOptions, {
1148
- P: {};
1149
- B: {};
1150
- D: {};
1151
- C: {};
1152
- M: {};
1153
- Defaults: {};
1154
- }, Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTableTr/OcTableTr.vue').Props> & Readonly<{
1155
- onClick?: (...args: any[]) => any;
1156
- onContextmenu?: (...args: any[]) => any;
1157
- onDragenter?: (...args: any[]) => any;
1158
- onDragleave?: (...args: any[]) => any;
1159
- onDragover?: (...args: any[]) => any;
1160
- onDragstart?: (...args: any[]) => any;
1161
- onDrop?: (...args: any[]) => any;
1162
- onMouseleave?: (...args: any[]) => any;
1163
- onItemVisible?: (...args: any[]) => any;
1164
- }>, {}, {}, {}, {}, {}>;
1165
- __isFragment?: never;
1166
- __isTeleport?: never;
1167
- __isSuspense?: never;
1168
- } & import('vue').ComponentOptionsBase<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTableTr/OcTableTr.vue').Props> & Readonly<{
1169
- onClick?: (...args: any[]) => any;
1170
- onContextmenu?: (...args: any[]) => any;
1171
- onDragenter?: (...args: any[]) => any;
1172
- onDragleave?: (...args: any[]) => any;
1173
- onDragover?: (...args: any[]) => any;
1174
- onDragstart?: (...args: any[]) => any;
1175
- onDrop?: (...args: any[]) => any;
1176
- onMouseleave?: (...args: any[]) => any;
1177
- onItemVisible?: (...args: any[]) => any;
1178
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1179
- click: (...args: any[]) => void;
1180
- contextmenu: (...args: any[]) => void;
1181
- dragenter: (...args: any[]) => void;
1182
- dragleave: (...args: any[]) => void;
1183
- dragover: (...args: any[]) => void;
1184
- dragstart: (...args: any[]) => void;
1185
- drop: (...args: any[]) => void;
1186
- mouseleave: (...args: any[]) => void;
1187
- itemVisible: (...args: any[]) => void;
1188
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
1189
- $slots: {
1190
- default?(_: {}): any;
181
+ }>> & Readonly<{}>, {}, {}, {
182
+ layerCount(): number;
183
+ showSecondLayer(): boolean;
184
+ showThirdLayer(): boolean;
185
+ itemCount(): number;
186
+ }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, {
187
+ ResourceIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
188
+ resource: {
189
+ type: import('vue').PropType<Resource | SpaceResource>;
190
+ required: true;
1191
191
  };
1192
- })) => any;
1193
- onContextmenuClicked?: (element: ComponentPublicInstance<unknown>, event: MouseEvent, item: any) => any;
1194
- onItemDropped?: (selector: string, event: DragEvent) => any;
1195
- onItemDragged?: (item: any, event: DragEvent) => any;
1196
- onItemVisible?: (item: any) => any;
1197
- onTheadClicked?: (event: MouseEvent) => any;
1198
- onDropRowStyling?: (selector: string, leaving: boolean, event: DragEvent) => any;
1199
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
1200
- sort: (sort: {
1201
- sortBy: string;
1202
- sortDir: "asc" | "desc";
1203
- }) => any;
1204
- highlight: (args: [any, MouseEvent]) => any;
1205
- rowMounted: (item: any, element: {
1206
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTableTr/OcTableTr.vue').Props> & Readonly<{
1207
- onClick?: (...args: any[]) => any;
1208
- onContextmenu?: (...args: any[]) => any;
1209
- onDragenter?: (...args: any[]) => any;
1210
- onDragleave?: (...args: any[]) => any;
1211
- onDragover?: (...args: any[]) => any;
1212
- onDragstart?: (...args: any[]) => any;
1213
- onDrop?: (...args: any[]) => any;
1214
- onMouseleave?: (...args: any[]) => any;
1215
- onItemVisible?: (...args: any[]) => any;
1216
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1217
- click: (...args: any[]) => void;
1218
- contextmenu: (...args: any[]) => void;
1219
- dragenter: (...args: any[]) => void;
1220
- dragleave: (...args: any[]) => void;
1221
- dragover: (...args: any[]) => void;
1222
- dragstart: (...args: any[]) => void;
1223
- drop: (...args: any[]) => void;
1224
- mouseleave: (...args: any[]) => void;
1225
- itemVisible: (...args: any[]) => void;
1226
- }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
1227
- observerTarget: HTMLTableRowElement;
1228
- }, HTMLTableRowElement, import('vue').ComponentProvideOptions, {
1229
- P: {};
1230
- B: {};
1231
- D: {};
1232
- C: {};
1233
- M: {};
1234
- Defaults: {};
1235
- }, Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTableTr/OcTableTr.vue').Props> & Readonly<{
1236
- onClick?: (...args: any[]) => any;
1237
- onContextmenu?: (...args: any[]) => any;
1238
- onDragenter?: (...args: any[]) => any;
1239
- onDragleave?: (...args: any[]) => any;
1240
- onDragover?: (...args: any[]) => any;
1241
- onDragstart?: (...args: any[]) => any;
1242
- onDrop?: (...args: any[]) => any;
1243
- onMouseleave?: (...args: any[]) => any;
1244
- onItemVisible?: (...args: any[]) => any;
1245
- }>, {}, {}, {}, {}, {}>;
1246
- __isFragment?: never;
1247
- __isTeleport?: never;
1248
- __isSuspense?: never;
1249
- } & import('vue').ComponentOptionsBase<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTableTr/OcTableTr.vue').Props> & Readonly<{
1250
- onClick?: (...args: any[]) => any;
1251
- onContextmenu?: (...args: any[]) => any;
1252
- onDragenter?: (...args: any[]) => any;
1253
- onDragleave?: (...args: any[]) => any;
1254
- onDragover?: (...args: any[]) => any;
1255
- onDragstart?: (...args: any[]) => any;
1256
- onDrop?: (...args: any[]) => any;
1257
- onMouseleave?: (...args: any[]) => any;
1258
- onItemVisible?: (...args: any[]) => any;
1259
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1260
- click: (...args: any[]) => void;
1261
- contextmenu: (...args: any[]) => void;
1262
- dragenter: (...args: any[]) => void;
1263
- dragleave: (...args: any[]) => void;
1264
- dragover: (...args: any[]) => void;
1265
- dragstart: (...args: any[]) => void;
1266
- drop: (...args: any[]) => void;
1267
- mouseleave: (...args: any[]) => void;
1268
- itemVisible: (...args: any[]) => void;
1269
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
1270
- $slots: {
1271
- default?(_: {}): any;
192
+ size: {
193
+ type: import('vue').PropType<import('@opencloud-eu/design-system/helpers').SizeType>;
194
+ default: string;
195
+ validator: (value: string) => boolean;
1272
196
  };
1273
- })) => any;
1274
- contextmenuClicked: (element: ComponentPublicInstance<unknown>, event: MouseEvent, item: any) => any;
1275
- itemDropped: (selector: string, event: DragEvent) => any;
1276
- itemDragged: (item: any, event: DragEvent) => any;
1277
- itemVisible: (item: any) => any;
1278
- theadClicked: (event: MouseEvent) => any;
1279
- dropRowStyling: (selector: string, leaving: boolean, event: DragEvent) => any;
1280
- }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLTableElement, import('vue').ComponentProvideOptions, {
197
+ }>, {
198
+ icon: import('vue').ComputedRef<import('../..').IconType>;
199
+ isSpace: import('vue').ComputedRef<boolean>;
200
+ isFolder: import('vue').ComputedRef<boolean>;
201
+ isDisabledSpace: import('vue').ComputedRef<boolean>;
202
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
203
+ resource: {
204
+ type: import('vue').PropType<Resource | SpaceResource>;
205
+ required: true;
206
+ };
207
+ size: {
208
+ type: import('vue').PropType<import('@opencloud-eu/design-system/helpers').SizeType>;
209
+ default: string;
210
+ validator: (value: string) => boolean;
211
+ };
212
+ }>> & Readonly<{}>, {
213
+ size: import('@opencloud-eu/design-system/helpers').SizeType;
214
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
215
+ } & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
1281
216
  P: {};
1282
217
  B: {};
1283
218
  D: {};
1284
219
  C: {};
1285
220
  M: {};
1286
221
  Defaults: {};
1287
- }, Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTable/OcTable.vue').Props> & Readonly<{
1288
- onSort?: (sort: {
1289
- sortBy: string;
1290
- sortDir: "asc" | "desc";
1291
- }) => any;
1292
- onHighlight?: (args: [any, MouseEvent]) => any;
1293
- onRowMounted?: (item: any, element: {
1294
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTableTr/OcTableTr.vue').Props> & Readonly<{
1295
- onClick?: (...args: any[]) => any;
1296
- onContextmenu?: (...args: any[]) => any;
1297
- onDragenter?: (...args: any[]) => any;
1298
- onDragleave?: (...args: any[]) => any;
1299
- onDragover?: (...args: any[]) => any;
1300
- onDragstart?: (...args: any[]) => any;
1301
- onDrop?: (...args: any[]) => any;
1302
- onMouseleave?: (...args: any[]) => any;
1303
- onItemVisible?: (...args: any[]) => any;
1304
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1305
- click: (...args: any[]) => void;
1306
- contextmenu: (...args: any[]) => void;
1307
- dragenter: (...args: any[]) => void;
1308
- dragleave: (...args: any[]) => void;
1309
- dragover: (...args: any[]) => void;
1310
- dragstart: (...args: any[]) => void;
1311
- drop: (...args: any[]) => void;
1312
- mouseleave: (...args: any[]) => void;
1313
- itemVisible: (...args: any[]) => void;
1314
- }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
1315
- observerTarget: HTMLTableRowElement;
1316
- }, HTMLTableRowElement, import('vue').ComponentProvideOptions, {
1317
- P: {};
1318
- B: {};
1319
- D: {};
1320
- C: {};
1321
- M: {};
1322
- Defaults: {};
1323
- }, Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTableTr/OcTableTr.vue').Props> & Readonly<{
1324
- onClick?: (...args: any[]) => any;
1325
- onContextmenu?: (...args: any[]) => any;
1326
- onDragenter?: (...args: any[]) => any;
1327
- onDragleave?: (...args: any[]) => any;
1328
- onDragover?: (...args: any[]) => any;
1329
- onDragstart?: (...args: any[]) => any;
1330
- onDrop?: (...args: any[]) => any;
1331
- onMouseleave?: (...args: any[]) => any;
1332
- onItemVisible?: (...args: any[]) => any;
1333
- }>, {}, {}, {}, {}, {}>;
1334
- __isFragment?: never;
1335
- __isTeleport?: never;
1336
- __isSuspense?: never;
1337
- } & import('vue').ComponentOptionsBase<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTableTr/OcTableTr.vue').Props> & Readonly<{
1338
- onClick?: (...args: any[]) => any;
1339
- onContextmenu?: (...args: any[]) => any;
1340
- onDragenter?: (...args: any[]) => any;
1341
- onDragleave?: (...args: any[]) => any;
1342
- onDragover?: (...args: any[]) => any;
1343
- onDragstart?: (...args: any[]) => any;
1344
- onDrop?: (...args: any[]) => any;
1345
- onMouseleave?: (...args: any[]) => any;
1346
- onItemVisible?: (...args: any[]) => any;
1347
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1348
- click: (...args: any[]) => void;
1349
- contextmenu: (...args: any[]) => void;
1350
- dragenter: (...args: any[]) => void;
1351
- dragleave: (...args: any[]) => void;
1352
- dragover: (...args: any[]) => void;
1353
- dragstart: (...args: any[]) => void;
1354
- drop: (...args: any[]) => void;
1355
- mouseleave: (...args: any[]) => void;
1356
- itemVisible: (...args: any[]) => void;
1357
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
1358
- $slots: {
1359
- default?(_: {}): any;
1360
- };
1361
- })) => any;
1362
- onContextmenuClicked?: (element: ComponentPublicInstance<unknown>, event: MouseEvent, item: any) => any;
1363
- onItemDropped?: (selector: string, event: DragEvent) => any;
1364
- onItemDragged?: (item: any, event: DragEvent) => any;
1365
- onItemVisible?: (item: any) => any;
1366
- onTheadClicked?: (event: MouseEvent) => any;
1367
- onDropRowStyling?: (selector: string, leaving: boolean, event: DragEvent) => any;
1368
- }>, {}, {}, {}, {}, {}>;
1369
- __isFragment?: never;
1370
- __isTeleport?: never;
1371
- __isSuspense?: never;
1372
- } & import('vue').ComponentOptionsBase<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTable/OcTable.vue').Props> & Readonly<{
1373
- onSort?: (sort: {
1374
- sortBy: string;
1375
- sortDir: "asc" | "desc";
1376
- }) => any;
1377
- onHighlight?: (args: [any, MouseEvent]) => any;
1378
- onRowMounted?: (item: any, element: {
1379
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTableTr/OcTableTr.vue').Props> & Readonly<{
1380
- onClick?: (...args: any[]) => any;
1381
- onContextmenu?: (...args: any[]) => any;
1382
- onDragenter?: (...args: any[]) => any;
1383
- onDragleave?: (...args: any[]) => any;
1384
- onDragover?: (...args: any[]) => any;
1385
- onDragstart?: (...args: any[]) => any;
1386
- onDrop?: (...args: any[]) => any;
1387
- onMouseleave?: (...args: any[]) => any;
1388
- onItemVisible?: (...args: any[]) => any;
1389
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1390
- click: (...args: any[]) => void;
1391
- contextmenu: (...args: any[]) => void;
1392
- dragenter: (...args: any[]) => void;
1393
- dragleave: (...args: any[]) => void;
1394
- dragover: (...args: any[]) => void;
1395
- dragstart: (...args: any[]) => void;
1396
- drop: (...args: any[]) => void;
1397
- mouseleave: (...args: any[]) => void;
1398
- itemVisible: (...args: any[]) => void;
1399
- }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
1400
- observerTarget: HTMLTableRowElement;
1401
- }, HTMLTableRowElement, import('vue').ComponentProvideOptions, {
1402
- P: {};
1403
- B: {};
1404
- D: {};
1405
- C: {};
1406
- M: {};
1407
- Defaults: {};
1408
- }, Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTableTr/OcTableTr.vue').Props> & Readonly<{
1409
- onClick?: (...args: any[]) => any;
1410
- onContextmenu?: (...args: any[]) => any;
1411
- onDragenter?: (...args: any[]) => any;
1412
- onDragleave?: (...args: any[]) => any;
1413
- onDragover?: (...args: any[]) => any;
1414
- onDragstart?: (...args: any[]) => any;
1415
- onDrop?: (...args: any[]) => any;
1416
- onMouseleave?: (...args: any[]) => any;
1417
- onItemVisible?: (...args: any[]) => any;
1418
- }>, {}, {}, {}, {}, {}>;
1419
- __isFragment?: never;
1420
- __isTeleport?: never;
1421
- __isSuspense?: never;
1422
- } & import('vue').ComponentOptionsBase<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTableTr/OcTableTr.vue').Props> & Readonly<{
222
+ }, Readonly<import('vue').ExtractPropTypes<{
223
+ previewItems: {
224
+ type: import('vue').PropType<Resource[]>;
225
+ required: true;
226
+ };
227
+ }>> & Readonly<{}>, {}, {}, {
228
+ layerCount(): number;
229
+ showSecondLayer(): boolean;
230
+ showThirdLayer(): boolean;
231
+ itemCount(): number;
232
+ }, {}, {}>;
233
+ };
234
+ rootEl: any;
235
+ };
236
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
237
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
238
+ sort: (options: {
239
+ sortBy: string;
240
+ sortDir: SortDir;
241
+ }) => any;
242
+ rowMounted: (item: Resource, rowElement: ComponentPublicInstance<{
243
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTableTr/OcTableTr.vue').Props> & Readonly<{
1423
244
  onClick?: (...args: any[]) => any;
1424
245
  onContextmenu?: (...args: any[]) => any;
1425
246
  onDragenter?: (...args: any[]) => any;
@@ -1439,68 +260,65 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1439
260
  drop: (...args: any[]) => void;
1440
261
  mouseleave: (...args: any[]) => void;
1441
262
  itemVisible: (...args: any[]) => void;
1442
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
1443
- $slots: {
1444
- default?(_: {}): any;
1445
- };
1446
- })) => any;
1447
- onContextmenuClicked?: (element: ComponentPublicInstance<unknown>, event: MouseEvent, item: any) => any;
1448
- onItemDropped?: (selector: string, event: DragEvent) => any;
1449
- onItemDragged?: (item: any, event: DragEvent) => any;
1450
- onItemVisible?: (item: any) => any;
1451
- onTheadClicked?: (event: MouseEvent) => any;
1452
- onDropRowStyling?: (selector: string, leaving: boolean, event: DragEvent) => any;
1453
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
1454
- sort: (sort: {
1455
- sortBy: string;
1456
- sortDir: "asc" | "desc";
1457
- }) => any;
1458
- highlight: (args: [any, MouseEvent]) => any;
1459
- rowMounted: (item: any, element: {
1460
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTableTr/OcTableTr.vue').Props> & Readonly<{
1461
- onClick?: (...args: any[]) => any;
1462
- onContextmenu?: (...args: any[]) => any;
1463
- onDragenter?: (...args: any[]) => any;
1464
- onDragleave?: (...args: any[]) => any;
1465
- onDragover?: (...args: any[]) => any;
1466
- onDragstart?: (...args: any[]) => any;
1467
- onDrop?: (...args: any[]) => any;
1468
- onMouseleave?: (...args: any[]) => any;
1469
- onItemVisible?: (...args: any[]) => any;
1470
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1471
- click: (...args: any[]) => void;
1472
- contextmenu: (...args: any[]) => void;
1473
- dragenter: (...args: any[]) => void;
1474
- dragleave: (...args: any[]) => void;
1475
- dragover: (...args: any[]) => void;
1476
- dragstart: (...args: any[]) => void;
1477
- drop: (...args: any[]) => void;
1478
- mouseleave: (...args: any[]) => void;
1479
- itemVisible: (...args: any[]) => void;
1480
- }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
1481
- observerTarget: HTMLTableRowElement;
1482
- }, HTMLTableRowElement, import('vue').ComponentProvideOptions, {
1483
- P: {};
1484
- B: {};
1485
- D: {};
1486
- C: {};
1487
- M: {};
1488
- Defaults: {};
1489
- }, Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTableTr/OcTableTr.vue').Props> & Readonly<{
1490
- onClick?: (...args: any[]) => any;
1491
- onContextmenu?: (...args: any[]) => any;
1492
- onDragenter?: (...args: any[]) => any;
1493
- onDragleave?: (...args: any[]) => any;
1494
- onDragover?: (...args: any[]) => any;
1495
- onDragstart?: (...args: any[]) => any;
1496
- onDrop?: (...args: any[]) => any;
1497
- onMouseleave?: (...args: any[]) => any;
1498
- onItemVisible?: (...args: any[]) => any;
1499
- }>, {}, {}, {}, {}, {}>;
1500
- __isFragment?: never;
1501
- __isTeleport?: never;
1502
- __isSuspense?: never;
1503
- } & import('vue').ComponentOptionsBase<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTableTr/OcTableTr.vue').Props> & Readonly<{
263
+ }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
264
+ observerTarget: HTMLTableRowElement;
265
+ }, HTMLTableRowElement, import('vue').ComponentProvideOptions, {
266
+ P: {};
267
+ B: {};
268
+ D: {};
269
+ C: {};
270
+ M: {};
271
+ Defaults: {};
272
+ }, Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTableTr/OcTableTr.vue').Props> & Readonly<{
273
+ onClick?: (...args: any[]) => any;
274
+ onContextmenu?: (...args: any[]) => any;
275
+ onDragenter?: (...args: any[]) => any;
276
+ onDragleave?: (...args: any[]) => any;
277
+ onDragover?: (...args: any[]) => any;
278
+ onDragstart?: (...args: any[]) => any;
279
+ onDrop?: (...args: any[]) => any;
280
+ onMouseleave?: (...args: any[]) => any;
281
+ onItemVisible?: (...args: any[]) => any;
282
+ }>, {}, {}, {}, {}, {}>;
283
+ __isFragment?: never;
284
+ __isTeleport?: never;
285
+ __isSuspense?: never;
286
+ } & import('vue').ComponentOptionsBase<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTableTr/OcTableTr.vue').Props> & Readonly<{
287
+ onClick?: (...args: any[]) => any;
288
+ onContextmenu?: (...args: any[]) => any;
289
+ onDragenter?: (...args: any[]) => any;
290
+ onDragleave?: (...args: any[]) => any;
291
+ onDragover?: (...args: any[]) => any;
292
+ onDragstart?: (...args: any[]) => any;
293
+ onDrop?: (...args: any[]) => any;
294
+ onMouseleave?: (...args: any[]) => any;
295
+ onItemVisible?: (...args: any[]) => any;
296
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
297
+ click: (...args: any[]) => void;
298
+ contextmenu: (...args: any[]) => void;
299
+ dragenter: (...args: any[]) => void;
300
+ dragleave: (...args: any[]) => void;
301
+ dragover: (...args: any[]) => void;
302
+ dragstart: (...args: any[]) => void;
303
+ drop: (...args: any[]) => void;
304
+ mouseleave: (...args: any[]) => void;
305
+ itemVisible: (...args: any[]) => void;
306
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
307
+ $slots: {
308
+ default?(_: {}): any;
309
+ };
310
+ })>, dimension: ImageDimension) => any;
311
+ fileDropped: (id: string) => any;
312
+ "update:modelValue": (value: Resource[]) => any;
313
+ fileClick: (options: FileActionOptions) => any;
314
+ "update:selectedIds": (selectedIds: string[]) => any;
315
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
316
+ onSort?: (options: {
317
+ sortBy: string;
318
+ sortDir: SortDir;
319
+ }) => any;
320
+ onRowMounted?: (item: Resource, rowElement: ComponentPublicInstance<{
321
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTableTr/OcTableTr.vue').Props> & Readonly<{
1504
322
  onClick?: (...args: any[]) => any;
1505
323
  onContextmenu?: (...args: any[]) => any;
1506
324
  onDragenter?: (...args: any[]) => any;
@@ -1520,19 +338,200 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1520
338
  drop: (...args: any[]) => void;
1521
339
  mouseleave: (...args: any[]) => void;
1522
340
  itemVisible: (...args: any[]) => void;
1523
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
1524
- $slots: {
1525
- default?(_: {}): any;
1526
- };
1527
- })) => any;
1528
- contextmenuClicked: (element: ComponentPublicInstance<unknown>, event: MouseEvent, item: any) => any;
1529
- itemDropped: (selector: string, event: DragEvent) => any;
1530
- itemDragged: (item: any, event: DragEvent) => any;
1531
- itemVisible: (item: any) => any;
1532
- theadClicked: (event: MouseEvent) => any;
1533
- dropRowStyling: (selector: string, leaving: boolean, event: DragEvent) => any;
341
+ }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
342
+ observerTarget: HTMLTableRowElement;
343
+ }, HTMLTableRowElement, import('vue').ComponentProvideOptions, {
344
+ P: {};
345
+ B: {};
346
+ D: {};
347
+ C: {};
348
+ M: {};
349
+ Defaults: {};
350
+ }, Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTableTr/OcTableTr.vue').Props> & Readonly<{
351
+ onClick?: (...args: any[]) => any;
352
+ onContextmenu?: (...args: any[]) => any;
353
+ onDragenter?: (...args: any[]) => any;
354
+ onDragleave?: (...args: any[]) => any;
355
+ onDragover?: (...args: any[]) => any;
356
+ onDragstart?: (...args: any[]) => any;
357
+ onDrop?: (...args: any[]) => any;
358
+ onMouseleave?: (...args: any[]) => any;
359
+ onItemVisible?: (...args: any[]) => any;
360
+ }>, {}, {}, {}, {}, {}>;
361
+ __isFragment?: never;
362
+ __isTeleport?: never;
363
+ __isSuspense?: never;
364
+ } & import('vue').ComponentOptionsBase<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTableTr/OcTableTr.vue').Props> & Readonly<{
365
+ onClick?: (...args: any[]) => any;
366
+ onContextmenu?: (...args: any[]) => any;
367
+ onDragenter?: (...args: any[]) => any;
368
+ onDragleave?: (...args: any[]) => any;
369
+ onDragover?: (...args: any[]) => any;
370
+ onDragstart?: (...args: any[]) => any;
371
+ onDrop?: (...args: any[]) => any;
372
+ onMouseleave?: (...args: any[]) => any;
373
+ onItemVisible?: (...args: any[]) => any;
374
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
375
+ click: (...args: any[]) => void;
376
+ contextmenu: (...args: any[]) => void;
377
+ dragenter: (...args: any[]) => void;
378
+ dragleave: (...args: any[]) => void;
379
+ dragover: (...args: any[]) => void;
380
+ dragstart: (...args: any[]) => void;
381
+ drop: (...args: any[]) => void;
382
+ mouseleave: (...args: any[]) => void;
383
+ itemVisible: (...args: any[]) => void;
1534
384
  }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
1535
- $slots: Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcTable/OcTable.vue').Slots> & import('node_modules/@opencloud-eu/design-system/src/components/OcTable/OcTable.vue').Slots;
1536
- });
1537
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
385
+ $slots: {
386
+ default?(_: {}): any;
387
+ };
388
+ })>, dimension: ImageDimension) => any;
389
+ onFileDropped?: (id: string) => any;
390
+ "onUpdate:modelValue"?: (value: Resource[]) => any;
391
+ onFileClick?: (options: FileActionOptions) => any;
392
+ "onUpdate:selectedIds"?: (selectedIds: string[]) => any;
393
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
394
+ contextMenuButton: {
395
+ $: import('vue').ComponentInternalInstance;
396
+ $data: {};
397
+ $props: {
398
+ readonly item: Resource;
399
+ readonly resourceDomSelector?: (resource: Resource) => string;
400
+ readonly title?: string;
401
+ readonly onQuickActionClicked?: (payload: {
402
+ event: MouseEvent;
403
+ dropdown: unknown;
404
+ }) => any;
405
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
406
+ $attrs: {
407
+ [x: string]: unknown;
408
+ };
409
+ $refs: {
410
+ [x: string]: unknown;
411
+ };
412
+ $slots: Readonly<{
413
+ [name: string]: import('vue').Slot<any>;
414
+ }>;
415
+ $root: ComponentPublicInstance | null;
416
+ $parent: ComponentPublicInstance | null;
417
+ $host: Element | null;
418
+ $emit: (event: "quickActionClicked", payload: {
419
+ event: MouseEvent;
420
+ dropdown: unknown;
421
+ }) => void;
422
+ $el: any;
423
+ $options: import('vue').ComponentOptionsBase<Readonly<{
424
+ item: Resource;
425
+ resourceDomSelector?: (resource: Resource) => string;
426
+ title?: string;
427
+ }> & Readonly<{
428
+ onQuickActionClicked?: (payload: {
429
+ event: MouseEvent;
430
+ dropdown: unknown;
431
+ }) => any;
432
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
433
+ quickActionClicked: (payload: {
434
+ event: MouseEvent;
435
+ dropdown: unknown;
436
+ }) => any;
437
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
438
+ beforeCreate?: (() => void) | (() => void)[];
439
+ created?: (() => void) | (() => void)[];
440
+ beforeMount?: (() => void) | (() => void)[];
441
+ mounted?: (() => void) | (() => void)[];
442
+ beforeUpdate?: (() => void) | (() => void)[];
443
+ updated?: (() => void) | (() => void)[];
444
+ activated?: (() => void) | (() => void)[];
445
+ deactivated?: (() => void) | (() => void)[];
446
+ beforeDestroy?: (() => void) | (() => void)[];
447
+ beforeUnmount?: (() => void) | (() => void)[];
448
+ destroyed?: (() => void) | (() => void)[];
449
+ unmounted?: (() => void) | (() => void)[];
450
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
451
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
452
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
453
+ };
454
+ $forceUpdate: () => void;
455
+ $nextTick: typeof import('vue').nextTick;
456
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
457
+ } & Readonly<{}> & Omit<Readonly<{
458
+ item: Resource;
459
+ resourceDomSelector?: (resource: Resource) => string;
460
+ title?: string;
461
+ }> & Readonly<{
462
+ onQuickActionClicked?: (payload: {
463
+ event: MouseEvent;
464
+ dropdown: unknown;
465
+ }) => any;
466
+ }>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
467
+ $slots: {
468
+ contextMenu?(_: {
469
+ item: Resource;
470
+ }): any;
471
+ };
472
+ };
473
+ ghostElement: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
474
+ previewItems: {
475
+ type: import('vue').PropType<Resource[]>;
476
+ required: true;
477
+ };
478
+ }>> & Readonly<{}>, {}, {}, {
479
+ layerCount(): number;
480
+ showSecondLayer(): boolean;
481
+ showThirdLayer(): boolean;
482
+ itemCount(): number;
483
+ }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, {
484
+ ResourceIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
485
+ resource: {
486
+ type: import('vue').PropType<Resource | SpaceResource>;
487
+ required: true;
488
+ };
489
+ size: {
490
+ type: import('vue').PropType<import('@opencloud-eu/design-system/helpers').SizeType>;
491
+ default: string;
492
+ validator: (value: string) => boolean;
493
+ };
494
+ }>, {
495
+ icon: import('vue').ComputedRef<import('../..').IconType>;
496
+ isSpace: import('vue').ComputedRef<boolean>;
497
+ isFolder: import('vue').ComputedRef<boolean>;
498
+ isDisabledSpace: import('vue').ComputedRef<boolean>;
499
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
500
+ resource: {
501
+ type: import('vue').PropType<Resource | SpaceResource>;
502
+ required: true;
503
+ };
504
+ size: {
505
+ type: import('vue').PropType<import('@opencloud-eu/design-system/helpers').SizeType>;
506
+ default: string;
507
+ validator: (value: string) => boolean;
508
+ };
509
+ }>> & Readonly<{}>, {
510
+ size: import('@opencloud-eu/design-system/helpers').SizeType;
511
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
512
+ } & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
513
+ P: {};
514
+ B: {};
515
+ D: {};
516
+ C: {};
517
+ M: {};
518
+ Defaults: {};
519
+ }, Readonly<import('vue').ExtractPropTypes<{
520
+ previewItems: {
521
+ type: import('vue').PropType<Resource[]>;
522
+ required: true;
523
+ };
524
+ }>> & Readonly<{}>, {}, {}, {
525
+ layerCount(): number;
526
+ showSecondLayer(): boolean;
527
+ showThirdLayer(): boolean;
528
+ itemCount(): number;
529
+ }, {}, {}>;
530
+ }, any>;
531
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
1538
532
  export default _default;
533
+ type __VLS_WithTemplateSlots<T, S> = T & {
534
+ new (): {
535
+ $slots: S;
536
+ };
537
+ };