@opencloud-eu/web-pkg 6.1.0 → 6.2.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 (56) hide show
  1. package/dist/{TextEditor-B0ZZfO_w.js → TextEditor-CTRIgoeG.js} +1 -1
  2. package/dist/assets/worker-Bv-mZ-VL.js +25 -0
  3. package/dist/assets/worker-Dx2ttEp-.js +25 -0
  4. package/dist/assets/worker-nUcRt7qV.js +25 -0
  5. package/dist/{composables-TkULFBg4.js → composables-CAlEpA5b.js} +2457 -2450
  6. package/dist/src/components/AppBar/AppBar.vue.d.ts +34 -91
  7. package/dist/src/components/AppTemplates/AppWrapper.vue.d.ts +1 -9
  8. package/dist/src/components/AppTopBar.vue.d.ts +3 -11
  9. package/dist/src/components/Avatars/UserAvatar.vue.d.ts +1 -9
  10. package/dist/src/components/ContextActions/ActionMenuDropItem.vue.d.ts +1 -9
  11. package/dist/src/components/ContextActions/ContextActionMenu.vue.d.ts +9 -27
  12. package/dist/src/components/ContextActions/ContextMenuQuickAction.vue.d.ts +15 -125
  13. package/dist/src/components/CreateLinkModal.vue.d.ts +6 -14
  14. package/dist/src/components/CreateShortcutModal.vue.d.ts +19 -133
  15. package/dist/src/components/CustomComponentTarget.vue.d.ts +1 -9
  16. package/dist/src/components/FilesList/ContextActions.vue.d.ts +9 -27
  17. package/dist/src/components/FilesList/ResourceGhostElement.vue.d.ts +7 -17
  18. package/dist/src/components/FilesList/ResourceIcon.vue.d.ts +1 -9
  19. package/dist/src/components/FilesList/ResourceListItem.vue.d.ts +5 -12
  20. package/dist/src/components/FilesList/ResourceName.vue.d.ts +3 -9
  21. package/dist/src/components/FilesList/ResourceStatusIndicators.vue.d.ts +1 -9
  22. package/dist/src/components/FilesList/ResourceTable.vue.d.ts +8 -16
  23. package/dist/src/components/FilesList/ResourceTile.vue.d.ts +6 -14
  24. package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +7 -15
  25. package/dist/src/components/Filters/DateFilter.vue.d.ts +5 -13
  26. package/dist/src/components/ItemFilter.vue.d.ts +5 -13
  27. package/dist/src/components/NoContentMessage.vue.d.ts +1 -9
  28. package/dist/src/components/Search/ResourcePreview.vue.d.ts +1 -9
  29. package/dist/src/components/SideBar/CompareSaveDialog.vue.d.ts +1 -1
  30. package/dist/src/components/SideBar/FileSideBar.vue.d.ts +1 -9
  31. package/dist/src/components/SideBar/Files/FileInfo.vue.d.ts +1 -9
  32. package/dist/src/components/SideBar/SideBar.vue.d.ts +5 -13
  33. package/dist/src/components/SideBar/SideBarPanels.vue.d.ts +6 -14
  34. package/dist/src/components/SideBar/Spaces/Details/SpaceDetails.vue.d.ts +1 -9
  35. package/dist/src/components/SideBar/Spaces/Details/SpaceDetailsMultiple.vue.d.ts +1 -9
  36. package/dist/src/components/SideBar/Spaces/SpaceInfo.vue.d.ts +5 -1
  37. package/dist/src/components/SpaceQuota.vue.d.ts +1 -9
  38. package/dist/src/components/Spaces/QuotaModal.vue.d.ts +3 -11
  39. package/dist/src/components/Spaces/SpaceImageModal.vue.d.ts +2 -10
  40. package/dist/src/components/TextEditor/TextEditor.vue.d.ts +4 -12
  41. package/dist/src/components/TextEditor/index.d.ts +16 -38
  42. package/dist/src/components/ViewOptions.vue.d.ts +1 -9
  43. package/dist/src/components/index.d.ts +0 -1
  44. package/dist/src/composables/actions/types.d.ts +92 -2
  45. package/dist/src/composables/keyboardActions/useKeyboardActions.d.ts +1 -0
  46. package/dist/src/composables/piniaStores/avatars.d.ts +3 -3
  47. package/dist/src/composables/piniaStores/messages.d.ts +6 -588
  48. package/dist/src/composables/resources/useResourceViewDrag.d.ts +7 -17
  49. package/dist/src/composables/resources/useResourceViewHelpers.d.ts +7 -17
  50. package/dist/web-pkg.js +1225 -1295
  51. package/package.json +4 -4
  52. package/dist/assets/worker-C-Nrpmiq.js +0 -24
  53. package/dist/assets/worker-CzI1mBNb.js +0 -24
  54. package/dist/assets/worker-DDmV-och.js +0 -24
  55. package/dist/src/components/Navigation/MobileNav.vue.d.ts +0 -3
  56. package/dist/src/components/Navigation/index.d.ts +0 -1
@@ -1,4 +1,4 @@
1
- import { PropType, Ref } from 'vue';
1
+ import { PropType } from 'vue';
2
2
  import { Resource, SpaceResource } from '@opencloud-eu/web-client';
3
3
  import { FolderView } from '../../ui/types';
4
4
  import { FileAction } from '../../composables';
@@ -61,14 +61,14 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
61
61
  router: import("vue-router").Router;
62
62
  hasSharesNavigation: import("vue").ComputedRef<boolean>;
63
63
  batchActions: import("vue").ComputedRef<FileAction[]>;
64
- showBreadcrumb: import("vue").ComputedRef<boolean>;
64
+ showBreadcrumb: import("vue").ComputedRef<number | false>;
65
65
  showMobileNav: import("vue").ComputedRef<boolean>;
66
- breadcrumbMaxWidth: Ref<number, number>;
66
+ breadcrumbMaxWidth: import("vue").Ref<number, number>;
67
67
  breadcrumbTruncationOffset: import("vue").ComputedRef<2 | 3>;
68
68
  fileDroppedBreadcrumb: (data: RouteLocationRaw) => void;
69
69
  pageTitle: import("vue").ComputedRef<string>;
70
70
  selectedResources: import("vue").ComputedRef<Resource[]>;
71
- isSticky: Ref<boolean, boolean>;
71
+ isSticky: import("vue").Ref<boolean, boolean>;
72
72
  isSideBarOpen: import("vue").WritableComputedRef<boolean, boolean>;
73
73
  }, {
74
74
  resizeObserver: ResizeObserver;
@@ -309,33 +309,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
309
309
  }>> & Readonly<{}>, {
310
310
  appearance: import("@opencloud-eu/design-system/helpers").AppearanceType;
311
311
  }, {}, {
312
- ActionMenuDropItem: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
313
- menuSectionDrop: {
314
- type: PropType<import("../index.js").MenuSectionDrop>;
315
- required: true;
316
- };
317
- appearance: {
318
- type: PropType<import("@opencloud-eu/design-system/helpers").AppearanceType>;
319
- required: true;
320
- };
321
- actionOptions: {
322
- type: PropType<import("../../composables").ActionOptions>;
323
- required: true;
324
- };
325
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
326
- menuSectionDrop: {
327
- type: PropType<import("../index.js").MenuSectionDrop>;
328
- required: true;
329
- };
330
- appearance: {
331
- type: PropType<import("@opencloud-eu/design-system/helpers").AppearanceType>;
332
- required: true;
333
- };
334
- actionOptions: {
335
- type: PropType<import("../../composables").ActionOptions>;
336
- required: true;
337
- };
338
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
312
+ ActionMenuDropItem: import("vue").DefineComponent<{
313
+ menuSectionDrop: import("../index.js").MenuSectionDrop;
314
+ appearance: import("@opencloud-eu/design-system/helpers").AppearanceType;
315
+ actionOptions: import("../../composables").ActionOptions;
316
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
317
+ menuSectionDrop: import("../index.js").MenuSectionDrop;
318
+ appearance: import("@opencloud-eu/design-system/helpers").AppearanceType;
319
+ actionOptions: import("../../composables").ActionOptions;
320
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
339
321
  ActionMenuItem: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
340
322
  action: {
341
323
  type: PropType<import("../../composables").Action>;
@@ -427,64 +409,25 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
427
409
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
428
410
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
429
411
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
430
- ViewOptions: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
431
- perPageStoragePrefix: {
432
- type: PropType<string>;
433
- required: true;
434
- };
435
- hasHiddenFiles: {
436
- type: PropType<boolean>;
437
- };
438
- hasFileExtensions: {
439
- type: PropType<boolean>;
440
- };
441
- hasPagination: {
442
- type: PropType<boolean>;
443
- };
444
- paginationOptions: {
445
- type: PropType<string[]>;
446
- };
447
- perPageQueryName: {
448
- type: PropType<string>;
449
- };
450
- perPageDefault: {
451
- type: PropType<string>;
452
- };
453
- viewModeDefault: {
454
- type: PropType<string>;
455
- };
456
- viewModes: {
457
- type: PropType<FolderView[]>;
458
- };
459
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
460
- perPageStoragePrefix: {
461
- type: PropType<string>;
462
- required: true;
463
- };
464
- hasHiddenFiles: {
465
- type: PropType<boolean>;
466
- };
467
- hasFileExtensions: {
468
- type: PropType<boolean>;
469
- };
470
- hasPagination: {
471
- type: PropType<boolean>;
472
- };
473
- paginationOptions: {
474
- type: PropType<string[]>;
475
- };
476
- perPageQueryName: {
477
- type: PropType<string>;
478
- };
479
- perPageDefault: {
480
- type: PropType<string>;
481
- };
482
- viewModeDefault: {
483
- type: PropType<string>;
484
- };
485
- viewModes: {
486
- type: PropType<FolderView[]>;
487
- };
488
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
489
- MobileNav: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
412
+ ViewOptions: import("vue").DefineComponent<{
413
+ perPageStoragePrefix: string;
414
+ hasHiddenFiles?: boolean;
415
+ hasFileExtensions?: boolean;
416
+ hasPagination?: boolean;
417
+ paginationOptions?: string[];
418
+ perPageQueryName?: string;
419
+ perPageDefault?: string;
420
+ viewModeDefault?: string;
421
+ viewModes?: FolderView[];
422
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
423
+ perPageStoragePrefix: string;
424
+ hasHiddenFiles?: boolean;
425
+ hasFileExtensions?: boolean;
426
+ hasPagination?: boolean;
427
+ paginationOptions?: string[];
428
+ perPageQueryName?: string;
429
+ perPageDefault?: string;
430
+ viewModeDefault?: string;
431
+ viewModes?: FolderView[];
432
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
490
433
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -36,18 +36,10 @@ declare var __VLS_11: {
36
36
  type __VLS_Slots = {} & {
37
37
  default?: (props: typeof __VLS_11) => any;
38
38
  };
39
- declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
39
+ declare const __VLS_base: 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>;
40
40
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
41
41
  declare const _default: typeof __VLS_export;
42
42
  export default _default;
43
- type __VLS_TypePropsToOption<T> = {
44
- [K in keyof T]-?: {} extends Pick<T, K> ? {
45
- type: import('vue').PropType<Required<T>[K]>;
46
- } : {
47
- type: import('vue').PropType<T[K]>;
48
- required: true;
49
- };
50
- };
51
43
  type __VLS_WithSlots<T, S> = T & {
52
44
  new (): {
53
45
  $slots: S;
@@ -10,18 +10,10 @@ type __VLS_Props = {
10
10
  resource?: Resource;
11
11
  isReadOnly?: boolean;
12
12
  };
13
- declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
- close: () => void;
15
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>> & Readonly<{
13
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
14
+ close: () => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
16
16
  onClose?: () => any;
17
17
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
18
  declare const _default: typeof __VLS_export;
19
19
  export default _default;
20
- type __VLS_TypePropsToOption<T> = {
21
- [K in keyof T]-?: {} extends Pick<T, K> ? {
22
- type: import('vue').PropType<Required<T>[K]>;
23
- } : {
24
- type: import('vue').PropType<T[K]>;
25
- required: true;
26
- };
27
- };
@@ -3,14 +3,6 @@ type __VLS_Props = {
3
3
  userName: string;
4
4
  width?: number;
5
5
  };
6
- declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: 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>;
7
7
  declare const _default: typeof __VLS_export;
8
8
  export default _default;
9
- type __VLS_TypePropsToOption<T> = {
10
- [K in keyof T]-?: {} extends Pick<T, K> ? {
11
- type: import('vue').PropType<Required<T>[K]>;
12
- } : {
13
- type: import('vue').PropType<T[K]>;
14
- required: true;
15
- };
16
- };
@@ -6,14 +6,6 @@ type __VLS_Props = {
6
6
  appearance: AppearanceType;
7
7
  actionOptions: ActionOptions;
8
8
  };
9
- declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
+ declare const __VLS_export: 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>;
10
10
  declare const _default: typeof __VLS_export;
11
11
  export default _default;
12
- type __VLS_TypePropsToOption<T> = {
13
- [K in keyof T]-?: {} extends Pick<T, K> ? {
14
- type: import('vue').PropType<Required<T>[K]>;
15
- } : {
16
- type: import('vue').PropType<T[K]>;
17
- required: true;
18
- };
19
- };
@@ -35,33 +35,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
35
35
  }>> & Readonly<{}>, {
36
36
  appearance: AppearanceType;
37
37
  }, {}, {
38
- ActionMenuDropItem: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
39
- menuSectionDrop: {
40
- type: PropType<import("./types").MenuSectionDrop>;
41
- required: true;
42
- };
43
- appearance: {
44
- type: PropType<AppearanceType>;
45
- required: true;
46
- };
47
- actionOptions: {
48
- type: PropType<ActionOptions>;
49
- required: true;
50
- };
51
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
52
- menuSectionDrop: {
53
- type: PropType<import("./types").MenuSectionDrop>;
54
- required: true;
55
- };
56
- appearance: {
57
- type: PropType<AppearanceType>;
58
- required: true;
59
- };
60
- actionOptions: {
61
- type: PropType<ActionOptions>;
62
- required: true;
63
- };
64
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
38
+ ActionMenuDropItem: import("vue").DefineComponent<{
39
+ menuSectionDrop: import("./types").MenuSectionDrop;
40
+ appearance: AppearanceType;
41
+ actionOptions: ActionOptions;
42
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
43
+ menuSectionDrop: import("./types").MenuSectionDrop;
44
+ appearance: AppearanceType;
45
+ actionOptions: ActionOptions;
46
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
65
47
  ActionMenuItem: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
66
48
  action: {
67
49
  type: PropType<import("../../composables").Action>;
@@ -11,43 +11,9 @@ declare var __VLS_22: {
11
11
  type __VLS_Slots = {} & {
12
12
  contextMenu?: (props: typeof __VLS_22) => any;
13
13
  };
14
- declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>, {
14
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
15
15
  drop: Readonly<import("vue").ShallowRef<ComponentPublicInstance<{
16
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
17
- title: {
18
- type: import("vue").PropType<string>;
19
- };
20
- closeOnClick: {
21
- type: import("vue").PropType<boolean>;
22
- };
23
- dropId: {
24
- type: import("vue").PropType<string>;
25
- };
26
- mode: {
27
- type: import("vue").PropType<"manual" | "click" | "hover">;
28
- };
29
- offset: {
30
- type: import("vue").PropType<number>;
31
- };
32
- paddingSize: {
33
- type: import("vue").PropType<import("@opencloud-eu/design-system/helpers").SizeType | "remove">;
34
- };
35
- position: {
36
- type: import("vue").PropType<import("@floating-ui/dom").Placement>;
37
- };
38
- toggle: {
39
- type: import("vue").PropType<string>;
40
- };
41
- enforceDropOnMobile: {
42
- type: import("vue").PropType<boolean>;
43
- };
44
- teleport: {
45
- type: import("vue").PropType<string>;
46
- };
47
- isMenu: {
48
- type: import("vue").PropType<boolean>;
49
- };
50
- }>> & Readonly<{
16
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("@opencloud-eu/design-system/components").OcDropProps> & Readonly<{
51
17
  onHideDrop?: () => any;
52
18
  onShowDrop?: () => any;
53
19
  }>, {
@@ -57,9 +23,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
57
23
  noFocus?: boolean;
58
24
  }) => Promise<void>;
59
25
  hide: () => void;
60
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
61
- hideDrop: () => void;
62
- showDrop: () => void;
26
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
27
+ hideDrop: () => any;
28
+ showDrop: () => any;
63
29
  }, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
64
30
  P: {};
65
31
  B: {};
@@ -67,41 +33,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
67
33
  C: {};
68
34
  M: {};
69
35
  Defaults: {};
70
- }, Readonly<import("vue").ExtractPropTypes<{
71
- title: {
72
- type: import("vue").PropType<string>;
73
- };
74
- closeOnClick: {
75
- type: import("vue").PropType<boolean>;
76
- };
77
- dropId: {
78
- type: import("vue").PropType<string>;
79
- };
80
- mode: {
81
- type: import("vue").PropType<"manual" | "click" | "hover">;
82
- };
83
- offset: {
84
- type: import("vue").PropType<number>;
85
- };
86
- paddingSize: {
87
- type: import("vue").PropType<import("@opencloud-eu/design-system/helpers").SizeType | "remove">;
88
- };
89
- position: {
90
- type: import("vue").PropType<import("@floating-ui/dom").Placement>;
91
- };
92
- toggle: {
93
- type: import("vue").PropType<string>;
94
- };
95
- enforceDropOnMobile: {
96
- type: import("vue").PropType<boolean>;
97
- };
98
- teleport: {
99
- type: import("vue").PropType<string>;
100
- };
101
- isMenu: {
102
- type: import("vue").PropType<boolean>;
103
- };
104
- }>> & Readonly<{
36
+ }, Readonly<import("@opencloud-eu/design-system/components").OcDropProps> & Readonly<{
105
37
  onHideDrop?: () => any;
106
38
  onShowDrop?: () => any;
107
39
  }>, {
@@ -115,41 +47,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
115
47
  __isFragment?: never;
116
48
  __isTeleport?: never;
117
49
  __isSuspense?: never;
118
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
119
- title: {
120
- type: import("vue").PropType<string>;
121
- };
122
- closeOnClick: {
123
- type: import("vue").PropType<boolean>;
124
- };
125
- dropId: {
126
- type: import("vue").PropType<string>;
127
- };
128
- mode: {
129
- type: import("vue").PropType<"manual" | "click" | "hover">;
130
- };
131
- offset: {
132
- type: import("vue").PropType<number>;
133
- };
134
- paddingSize: {
135
- type: import("vue").PropType<import("@opencloud-eu/design-system/helpers").SizeType | "remove">;
136
- };
137
- position: {
138
- type: import("vue").PropType<import("@floating-ui/dom").Placement>;
139
- };
140
- toggle: {
141
- type: import("vue").PropType<string>;
142
- };
143
- enforceDropOnMobile: {
144
- type: import("vue").PropType<boolean>;
145
- };
146
- teleport: {
147
- type: import("vue").PropType<string>;
148
- };
149
- isMenu: {
150
- type: import("vue").PropType<boolean>;
151
- };
152
- }>> & Readonly<{
50
+ } & import("vue").ComponentOptionsBase<Readonly<import("@opencloud-eu/design-system/components").OcDropProps> & Readonly<{
153
51
  onHideDrop?: () => any;
154
52
  onShowDrop?: () => any;
155
53
  }>, {
@@ -159,28 +57,20 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
159
57
  noFocus?: boolean;
160
58
  }) => Promise<void>;
161
59
  hide: () => void;
162
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
163
- hideDrop: () => void;
164
- showDrop: () => void;
60
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
61
+ hideDrop: () => any;
62
+ showDrop: () => any;
165
63
  }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
166
- $slots: import("node_modules/@opencloud-eu/design-system/src/components/OcDrop/OcDrop.vue").Slots;
64
+ $slots: import("@opencloud-eu/design-system/components").OcDropSlots;
167
65
  })>>>;
168
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
169
- quickActionClicked: (event: MouseEvent | KeyboardEvent) => void;
170
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>> & Readonly<{
66
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
67
+ quickActionClicked: (event: MouseEvent | KeyboardEvent) => any;
68
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
171
69
  onQuickActionClicked?: (event: MouseEvent | KeyboardEvent) => any;
172
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
70
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
173
71
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
174
72
  declare const _default: typeof __VLS_export;
175
73
  export default _default;
176
- type __VLS_TypePropsToOption<T> = {
177
- [K in keyof T]-?: {} extends Pick<T, K> ? {
178
- type: import('vue').PropType<Required<T>[K]>;
179
- } : {
180
- type: import('vue').PropType<T[K]>;
181
- required: true;
182
- };
183
- };
184
74
  type __VLS_WithSlots<T, S> = T & {
185
75
  new (): {
186
76
  $slots: S;
@@ -6,28 +6,20 @@ type __VLS_Props = {
6
6
  resources: Resource[];
7
7
  space?: SpaceResource;
8
8
  };
9
- declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>, {
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
10
10
  onConfirm: (options?: {
11
11
  copyPassword?: boolean;
12
12
  }) => Promise<void>;
13
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
- cancel: () => void;
13
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
14
+ cancel: () => any;
15
15
  confirm: (options?: {
16
16
  copyPassword?: boolean;
17
- }) => void;
18
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>> & Readonly<{
17
+ }) => any;
18
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
19
19
  onCancel?: () => any;
20
20
  onConfirm?: (options?: {
21
21
  copyPassword?: boolean;
22
22
  }) => any;
23
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
23
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
24
  declare const _default: typeof __VLS_export;
25
25
  export default _default;
26
- type __VLS_TypePropsToOption<T> = {
27
- [K in keyof T]-?: {} extends Pick<T, K> ? {
28
- type: import('vue').PropType<Required<T>[K]>;
29
- } : {
30
- type: import('vue').PropType<T[K]>;
31
- required: true;
32
- };
33
- };