@opencloud-eu/web-pkg 4.3.0 → 5.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/{TextEditor-Cn7QTWpj.js → TextEditor-uEaAtt7z.js} +5 -5
  2. package/dist/assets/worker-Br2EoHIh.js +40 -0
  3. package/dist/assets/{worker-B8_1fnv6.js → worker-CL8AMTxB.js} +3 -3
  4. package/dist/assets/{worker-CexULVXL.js → worker-SrzUf4Ns.js} +23 -23
  5. package/dist/{index-BAXp6cDe.js → index-BwyOzVbn.js} +16422 -16327
  6. package/dist/src/apps/types.d.ts +1 -0
  7. package/dist/src/components/ContextActions/ContextMenuQuickAction.vue.d.ts +2 -2
  8. package/dist/src/components/FilesList/ResourceGhostElement.vue.d.ts +7 -28
  9. package/dist/src/components/FilesList/ResourceIcon.vue.d.ts +5 -44
  10. package/dist/src/components/FilesList/ResourceTable.vue.d.ts +16 -357
  11. package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +14 -64
  12. package/dist/src/components/ItemFilter.vue.d.ts +8 -9
  13. package/dist/src/composables/actions/files/index.d.ts +12 -11
  14. package/dist/src/composables/actions/files/useFileActions.d.ts +2 -7
  15. package/dist/src/composables/actions/files/useFileActionsOpenWithDefault.d.ts +4 -0
  16. package/dist/src/composables/actions/types.d.ts +1 -1
  17. package/dist/src/composables/filesList/useResourceRouteResolver.d.ts +5 -3
  18. package/dist/src/composables/folderLink/useFolderLink.d.ts +2 -2
  19. package/dist/src/composables/keyboardActions/useInterceptModifierClick.d.ts +1 -1
  20. package/dist/src/composables/piniaStores/apps.d.ts +6 -0
  21. package/dist/src/composables/piniaStores/messages.d.ts +6 -6
  22. package/dist/src/composables/resources/index.d.ts +2 -0
  23. package/dist/src/composables/resources/useResourceViewContextMenu.d.ts +11 -0
  24. package/dist/src/composables/resources/useResourceViewDrag.d.ts +8 -29
  25. package/dist/src/composables/resources/useResourceViewHelpers.d.ts +24 -34
  26. package/dist/src/composables/resources/useResourceViewSelection.d.ts +13 -0
  27. package/dist/src/composables/sort/useSort.d.ts +2 -0
  28. package/dist/src/constants.d.ts +3 -0
  29. package/dist/src/helpers/contextMenuDropdown.d.ts +1 -1
  30. package/dist/src/helpers/index.d.ts +0 -1
  31. package/dist/web-pkg.js +321 -320
  32. package/dist/web-pkg.umd.cjs +46 -45
  33. package/package.json +3 -3
  34. package/dist/assets/worker-DW5HxaGD.js +0 -40
  35. package/dist/src/helpers/folderLink/index.d.ts +0 -1
  36. package/dist/src/helpers/folderLink/types.d.ts +0 -6
@@ -47,6 +47,7 @@ export type AppConfigObject = Record<string, any>;
47
47
  export interface ApplicationFileExtension {
48
48
  app?: string;
49
49
  extension?: string;
50
+ type?: 'file' | 'folder';
50
51
  createFileHandler?: (arg: {
51
52
  fileName: string;
52
53
  space: SpaceResource;
@@ -18,12 +18,12 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
18
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
19
19
  quickActionClicked: (payload: {
20
20
  event: MouseEvent;
21
- dropdown: unknown;
21
+ dropdown: any;
22
22
  }) => any;
23
23
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
24
24
  onQuickActionClicked?: (payload: {
25
25
  event: MouseEvent;
26
- dropdown: unknown;
26
+ dropdown: any;
27
27
  }) => any;
28
28
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
29
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -19,33 +19,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
19
19
  required: true;
20
20
  };
21
21
  }>> & Readonly<{}>, {}, {}, {
22
- ResourceIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
23
- resource: {
24
- type: PropType<Resource | import('@opencloud-eu/web-client').SpaceResource>;
25
- required: true;
26
- };
27
- size: {
28
- type: PropType<import('@opencloud-eu/design-system/helpers').SizeType>;
29
- default: string;
30
- validator: (value: string) => boolean;
31
- };
32
- }>, {
33
- icon: import('vue').ComputedRef<import('../..').IconType>;
34
- isSpace: import('vue').ComputedRef<boolean>;
35
- isFolder: import('vue').ComputedRef<boolean>;
36
- isDisabledSpace: import('vue').ComputedRef<boolean>;
37
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
38
- resource: {
39
- type: PropType<Resource | import('@opencloud-eu/web-client').SpaceResource>;
40
- required: true;
41
- };
42
- size: {
43
- type: PropType<import('@opencloud-eu/design-system/helpers').SizeType>;
44
- default: string;
45
- validator: (value: string) => boolean;
46
- };
47
- }>> & Readonly<{}>, {
48
- size: import('@opencloud-eu/design-system/helpers').SizeType;
49
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
22
+ ResourceIcon: import('vue').DefineComponent<{
23
+ resource: Resource | import('@opencloud-eu/web-client').SpaceResource;
24
+ size?: import('@opencloud-eu/design-system/helpers').SizeType;
25
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
26
+ resource: Resource | import('@opencloud-eu/web-client').SpaceResource;
27
+ size?: import('@opencloud-eu/design-system/helpers').SizeType;
28
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
50
29
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
51
30
  export default _default;
@@ -1,47 +1,8 @@
1
- import { PropType } from 'vue';
2
1
  import { Resource, SpaceResource } from '@opencloud-eu/web-client';
3
2
  import { SizeType } from '@opencloud-eu/design-system/helpers';
4
- import { IconType } from '../../helpers/resource/icon';
5
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
- /**
7
- * The resource to be displayed
8
- */
9
- resource: {
10
- type: PropType<Resource | SpaceResource>;
11
- required: true;
12
- };
13
- /**
14
- * The size of the icon. Defaults to large.
15
- * `xsmall, small, medium, large, xlarge, xxlarge`
16
- */
17
- size: {
18
- type: PropType<SizeType>;
19
- default: string;
20
- validator: (value: string) => boolean;
21
- };
22
- }>, {
23
- icon: import('vue').ComputedRef<IconType>;
24
- isSpace: import('vue').ComputedRef<boolean>;
25
- isFolder: import('vue').ComputedRef<boolean>;
26
- isDisabledSpace: import('vue').ComputedRef<boolean>;
27
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
28
- /**
29
- * The resource to be displayed
30
- */
31
- resource: {
32
- type: PropType<Resource | SpaceResource>;
33
- required: true;
34
- };
35
- /**
36
- * The size of the icon. Defaults to large.
37
- * `xsmall, small, medium, large, xlarge, xxlarge`
38
- */
39
- size: {
40
- type: PropType<SizeType>;
41
- default: string;
42
- validator: (value: string) => boolean;
43
- };
44
- }>> & Readonly<{}>, {
45
- size: SizeType;
46
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
3
+ type __VLS_Props = {
4
+ resource: Resource | SpaceResource;
5
+ size?: SizeType;
6
+ };
7
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
47
8
  export default _default;
@@ -1,9 +1,7 @@
1
- import { ComponentPublicInstance } from 'vue';
2
1
  import { Resource, SpaceResource } from '@opencloud-eu/web-client';
3
- import { FolderViewModeConstants, SortDir } from '../../composables';
4
- import { ImageDimension } from '../../constants';
5
- import { CreateTargetRouteOptions } from '../../helpers';
2
+ import { FolderViewModeConstants } from '../../composables';
6
3
  import { FileActionOptions } from '../../composables/actions';
4
+ import { SortDir } from '@opencloud-eu/design-system/helpers';
7
5
  type __VLS_Props = {
8
6
  resources: Resource[];
9
7
  resourceDomSelector?: (resource: Resource) => string;
@@ -11,7 +9,6 @@ type __VLS_Props = {
11
9
  selectedIds?: string[];
12
10
  hasActions?: boolean;
13
11
  showRenameQuickAction?: boolean;
14
- targetRouteCallback?: (arg: CreateTargetRouteOptions) => unknown;
15
12
  areResourcesClickable?: boolean;
16
13
  headerPosition?: number;
17
14
  isSelectable?: boolean;
@@ -94,85 +91,6 @@ declare function __VLS_template(): {
94
91
  footer?: () => unknown;
95
92
  };
96
93
  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;
111
- };
112
- $refs: {
113
- [x: string]: unknown;
114
- };
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)[];
156
- };
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;
163
- title?: string;
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;
174
- };
175
- };
176
94
  ghostElement: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
177
95
  previewItems: {
178
96
  type: import('vue').PropType<Resource[]>;
@@ -184,34 +102,13 @@ declare function __VLS_template(): {
184
102
  showThirdLayer(): boolean;
185
103
  itemCount(): number;
186
104
  }, {}, 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;
191
- };
192
- size: {
193
- type: import('vue').PropType<import('@opencloud-eu/design-system/helpers').SizeType>;
194
- default: string;
195
- validator: (value: string) => boolean;
196
- };
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>;
105
+ ResourceIcon: import('vue').DefineComponent<{
106
+ resource: Resource | SpaceResource;
107
+ size?: import('@opencloud-eu/design-system/helpers').SizeType;
108
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
109
+ resource: Resource | SpaceResource;
110
+ size?: import('@opencloud-eu/design-system/helpers').SizeType;
111
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
215
112
  } & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
216
113
  P: {};
217
114
  B: {};
@@ -239,75 +136,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
239
136
  sortBy: string;
240
137
  sortDir: SortDir;
241
138
  }) => 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<{
244
- onClick?: (...args: any[]) => any;
245
- onContextmenu?: (...args: any[]) => any;
246
- onDragenter?: (...args: any[]) => any;
247
- onDragleave?: (...args: any[]) => any;
248
- onDragover?: (...args: any[]) => any;
249
- onDragstart?: (...args: any[]) => any;
250
- onDrop?: (...args: any[]) => any;
251
- onMouseleave?: (...args: any[]) => any;
252
- onItemVisible?: (...args: any[]) => any;
253
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
254
- click: (...args: any[]) => void;
255
- contextmenu: (...args: any[]) => void;
256
- dragenter: (...args: any[]) => void;
257
- dragleave: (...args: any[]) => void;
258
- dragover: (...args: any[]) => void;
259
- dragstart: (...args: any[]) => void;
260
- drop: (...args: any[]) => void;
261
- mouseleave: (...args: any[]) => void;
262
- itemVisible: (...args: any[]) => void;
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
139
  fileDropped: (id: string) => any;
312
140
  "update:modelValue": (value: Resource[]) => any;
313
141
  fileClick: (options: FileActionOptions) => any;
@@ -317,159 +145,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
317
145
  sortBy: string;
318
146
  sortDir: SortDir;
319
147
  }) => 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<{
322
- onClick?: (...args: any[]) => any;
323
- onContextmenu?: (...args: any[]) => any;
324
- onDragenter?: (...args: any[]) => any;
325
- onDragleave?: (...args: any[]) => any;
326
- onDragover?: (...args: any[]) => any;
327
- onDragstart?: (...args: any[]) => any;
328
- onDrop?: (...args: any[]) => any;
329
- onMouseleave?: (...args: any[]) => any;
330
- onItemVisible?: (...args: any[]) => any;
331
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
332
- click: (...args: any[]) => void;
333
- contextmenu: (...args: any[]) => void;
334
- dragenter: (...args: any[]) => void;
335
- dragleave: (...args: any[]) => void;
336
- dragover: (...args: any[]) => void;
337
- dragstart: (...args: any[]) => void;
338
- drop: (...args: any[]) => void;
339
- mouseleave: (...args: any[]) => void;
340
- itemVisible: (...args: any[]) => void;
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;
384
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
385
- $slots: {
386
- default?(_: {}): any;
387
- };
388
- })>, dimension: ImageDimension) => any;
389
148
  onFileDropped?: (id: string) => any;
390
149
  "onUpdate:modelValue"?: (value: Resource[]) => any;
391
150
  onFileClick?: (options: FileActionOptions) => any;
392
151
  "onUpdate:selectedIds"?: (selectedIds: string[]) => any;
393
152
  }>, {}, {}, {}, {}, 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
153
  ghostElement: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
474
154
  previewItems: {
475
155
  type: import('vue').PropType<Resource[]>;
@@ -481,34 +161,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
481
161
  showThirdLayer(): boolean;
482
162
  itemCount(): number;
483
163
  }, {}, 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>;
164
+ ResourceIcon: import('vue').DefineComponent<{
165
+ resource: Resource | SpaceResource;
166
+ size?: import('@opencloud-eu/design-system/helpers').SizeType;
167
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
168
+ resource: Resource | SpaceResource;
169
+ size?: import('@opencloud-eu/design-system/helpers').SizeType;
170
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
512
171
  } & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
513
172
  P: {};
514
173
  B: {};