@opencloud-eu/web-pkg 6.1.0 → 7.0.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 (132) hide show
  1. package/dist/assets/worker-B8V6K8WY.js +25 -0
  2. package/dist/assets/worker-BjLAp2qA.js +25 -0
  3. package/dist/assets/worker-Cz7k4ET0.js +25 -0
  4. package/dist/{composables-TkULFBg4.js → components-DGm07xAo.js} +8229 -10761
  5. package/dist/src/components/AppBar/AppBar.vue.d.ts +34 -91
  6. package/dist/src/components/AppTemplates/AppWrapper.vue.d.ts +1 -9
  7. package/dist/src/components/AppTopBar.vue.d.ts +3 -11
  8. package/dist/src/components/Avatars/AvatarUpload.vue.d.ts +0 -1
  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 +30 -134
  13. package/dist/src/components/CreateLinkModal.vue.d.ts +6 -14
  14. package/dist/src/components/CreateShortcutModal.vue.d.ts +34 -142
  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/ImageCropper.vue.d.ts +12 -0
  27. package/dist/src/components/ItemFilter.vue.d.ts +5 -13
  28. package/dist/src/components/NoContentMessage.vue.d.ts +1 -9
  29. package/dist/src/components/Search/ResourcePreview.vue.d.ts +1 -9
  30. package/dist/src/components/SideBar/CompareSaveDialog.vue.d.ts +1 -1
  31. package/dist/src/components/SideBar/FileSideBar.vue.d.ts +1 -9
  32. package/dist/src/components/SideBar/Files/FileInfo.vue.d.ts +1 -9
  33. package/dist/src/components/SideBar/SideBar.vue.d.ts +5 -13
  34. package/dist/src/components/SideBar/SideBarPanels.vue.d.ts +6 -14
  35. package/dist/src/components/SideBar/Spaces/Details/SpaceDetails.vue.d.ts +1 -9
  36. package/dist/src/components/SideBar/Spaces/Details/SpaceDetailsMultiple.vue.d.ts +1 -9
  37. package/dist/src/components/SideBar/Spaces/SpaceInfo.vue.d.ts +5 -1
  38. package/dist/src/components/SpaceQuota.vue.d.ts +1 -9
  39. package/dist/src/components/Spaces/QuotaModal.vue.d.ts +3 -11
  40. package/dist/src/components/Spaces/SpaceImageModal.vue.d.ts +2 -11
  41. package/dist/src/components/ViewOptions.vue.d.ts +1 -9
  42. package/dist/src/components/index.d.ts +0 -2
  43. package/dist/src/composables/actions/files/index.d.ts +0 -21
  44. package/dist/src/composables/actions/spaces/index.d.ts +0 -12
  45. package/dist/src/composables/actions/types.d.ts +93 -2
  46. package/dist/src/composables/breadcrumbs/useBreadcrumbsFromPath.d.ts +1 -3
  47. package/dist/src/composables/driveResolver/useDriveResolver.d.ts +0 -1
  48. package/dist/src/composables/keyboardActions/useCropperKeyboardActions.d.ts +2 -1
  49. package/dist/src/composables/keyboardActions/useKeyboardActions.d.ts +1 -0
  50. package/dist/src/composables/piniaStores/auth.d.ts +24 -2
  51. package/dist/src/composables/piniaStores/avatars.d.ts +3 -3
  52. package/dist/src/composables/piniaStores/config/config.d.ts +1 -91
  53. package/dist/src/composables/piniaStores/config/types.d.ts +0 -20
  54. package/dist/src/composables/piniaStores/extensionRegistry/extensionRegistry.d.ts +4 -1
  55. package/dist/src/composables/piniaStores/messages.d.ts +12 -594
  56. package/dist/src/composables/piniaStores/spaces.d.ts +1 -3
  57. package/dist/src/composables/piniaStores/theme.d.ts +1 -1
  58. package/dist/src/composables/resources/useResourceViewDrag.d.ts +7 -17
  59. package/dist/src/composables/resources/useResourceViewHelpers.d.ts +7 -17
  60. package/dist/src/composables/router/useFileRouteReplace.d.ts +0 -2
  61. package/dist/src/composables/spaces/useGetMatchingSpace.d.ts +0 -4
  62. package/dist/src/editor/components/SlashCommandMenu.vue.d.ts +9 -0
  63. package/dist/src/editor/components/TextEditorContent.vue.d.ts +7 -0
  64. package/dist/src/editor/components/TextEditorProvider.vue.d.ts +17 -0
  65. package/dist/src/editor/composables/index.d.ts +3 -0
  66. package/dist/src/editor/composables/strategies/html.d.ts +3 -0
  67. package/dist/src/editor/composables/strategies/index.d.ts +5 -0
  68. package/dist/src/editor/composables/strategies/markdown.d.ts +3 -0
  69. package/dist/src/editor/composables/strategies/plainText.d.ts +3 -0
  70. package/dist/src/editor/composables/strategies/tiptapJson.d.ts +3 -0
  71. package/dist/src/editor/composables/strategies/types.d.ts +10 -0
  72. package/dist/src/editor/composables/useContentStrategy.d.ts +5 -0
  73. package/dist/src/editor/composables/useEditorActions.d.ts +75 -0
  74. package/dist/src/editor/composables/useTextEditor.d.ts +2 -0
  75. package/dist/src/editor/extensions/index.d.ts +1 -0
  76. package/dist/src/editor/extensions/slashCommands.d.ts +16 -0
  77. package/dist/src/editor/index.d.ts +5 -0
  78. package/dist/src/editor/types.d.ts +29 -0
  79. package/dist/src/helpers/groupwareResponse.d.ts +1 -0
  80. package/dist/src/helpers/index.d.ts +2 -0
  81. package/dist/src/helpers/router/routeOptions.d.ts +1 -7
  82. package/dist/src/helpers/virtualCursorElement.d.ts +1 -0
  83. package/dist/src/router/index.d.ts +2 -1
  84. package/dist/src/router/utils.d.ts +1 -6
  85. package/dist/src/types.d.ts +1 -0
  86. package/dist/src/utils/dummyGettext.d.ts +6 -0
  87. package/dist/src/utils/index.d.ts +1 -0
  88. package/dist/web-pkg/editor.js +1360 -0
  89. package/dist/web-pkg.js +2956 -1661
  90. package/package.json +26 -9
  91. package/dist/TextEditor-B0ZZfO_w.js +0 -819
  92. package/dist/assets/worker-C-Nrpmiq.js +0 -24
  93. package/dist/assets/worker-CzI1mBNb.js +0 -24
  94. package/dist/assets/worker-DDmV-och.js +0 -24
  95. package/dist/src/components/Navigation/index.d.ts +0 -1
  96. package/dist/src/components/TextEditor/TextEditor.vue.d.ts +0 -26
  97. package/dist/src/components/TextEditor/index.d.ts +0 -39
  98. package/dist/src/components/TextEditor/l18n.d.ts +0 -3
  99. package/dist/src/composables/actions/files/useFileActionsCopy.d.ts +0 -4
  100. package/dist/src/composables/actions/files/useFileActionsCopyPermanentLink.d.ts +0 -4
  101. package/dist/src/composables/actions/files/useFileActionsCreateLink.d.ts +0 -6
  102. package/dist/src/composables/actions/files/useFileActionsCreateNewFile.d.ts +0 -10
  103. package/dist/src/composables/actions/files/useFileActionsCreateNewFolder.d.ts +0 -9
  104. package/dist/src/composables/actions/files/useFileActionsCreateNewShortcut.d.ts +0 -8
  105. package/dist/src/composables/actions/files/useFileActionsCreateSpaceFromResource.d.ts +0 -4
  106. package/dist/src/composables/actions/files/useFileActionsDisableSync.d.ts +0 -5
  107. package/dist/src/composables/actions/files/useFileActionsDownloadArchive.d.ts +0 -4
  108. package/dist/src/composables/actions/files/useFileActionsEmptyTrashBin.d.ts +0 -8
  109. package/dist/src/composables/actions/files/useFileActionsEnableSync.d.ts +0 -5
  110. package/dist/src/composables/actions/files/useFileActionsFavorite.d.ts +0 -4
  111. package/dist/src/composables/actions/files/useFileActionsMove.d.ts +0 -4
  112. package/dist/src/composables/actions/files/useFileActionsOpenShortcut.d.ts +0 -5
  113. package/dist/src/composables/actions/files/useFileActionsPaste.d.ts +0 -4
  114. package/dist/src/composables/actions/files/useFileActionsRename.d.ts +0 -6
  115. package/dist/src/composables/actions/files/useFileActionsSetImage.d.ts +0 -4
  116. package/dist/src/composables/actions/files/useFileActionsShowActions.d.ts +0 -4
  117. package/dist/src/composables/actions/files/useFileActionsShowDetails.d.ts +0 -4
  118. package/dist/src/composables/actions/files/useFileActionsShowShares.d.ts +0 -5
  119. package/dist/src/composables/actions/files/useFileActionsToggleHideShare.d.ts +0 -5
  120. package/dist/src/composables/actions/spaces/useSpaceActionsDelete.d.ts +0 -6
  121. package/dist/src/composables/actions/spaces/useSpaceActionsDeleteImage.d.ts +0 -8
  122. package/dist/src/composables/actions/spaces/useSpaceActionsDisable.d.ts +0 -6
  123. package/dist/src/composables/actions/spaces/useSpaceActionsDuplicate.d.ts +0 -6
  124. package/dist/src/composables/actions/spaces/useSpaceActionsEditDescription.d.ts +0 -6
  125. package/dist/src/composables/actions/spaces/useSpaceActionsEditQuota.d.ts +0 -4
  126. package/dist/src/composables/actions/spaces/useSpaceActionsEditReadmeContent.d.ts +0 -4
  127. package/dist/src/composables/actions/spaces/useSpaceActionsNavigateToTrash.d.ts +0 -4
  128. package/dist/src/composables/actions/spaces/useSpaceActionsRename.d.ts +0 -6
  129. package/dist/src/composables/actions/spaces/useSpaceActionsRestore.d.ts +0 -6
  130. package/dist/src/composables/actions/spaces/useSpaceActionsSetIcon.d.ts +0 -6
  131. package/dist/src/composables/actions/spaces/useSpaceActionsShowMembers.d.ts +0 -4
  132. /package/dist/src/{components/Navigation/MobileNav.vue.d.ts → editor/components/TextEditorToolbar.vue.d.ts} +0 -0
@@ -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
- };
@@ -1,4 +1,3 @@
1
- import 'cropperjs/dist/cropper.css';
2
1
  declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
3
2
  declare const _default: typeof __VLS_export;
4
3
  export default _default;
@@ -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,55 +11,23 @@ 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
  }>, {
54
- show: ({ event, useMouseAnchor, noFocus }?: {
55
- event?: Event;
56
- useMouseAnchor?: boolean;
20
+ show: ({ anchorElement, noFocus }?: {
21
+ anchorElement?: HTMLElement | import("@floating-ui/dom").VirtualElement;
57
22
  noFocus?: boolean;
58
23
  }) => Promise<void>;
59
24
  hide: () => void;
60
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
61
- hideDrop: () => void;
62
- showDrop: () => void;
25
+ update: ({ anchorElement }?: {
26
+ anchorElement?: HTMLElement | import("@floating-ui/dom").VirtualElement;
27
+ }) => Promise<void>;
28
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
29
+ hideDrop: () => any;
30
+ showDrop: () => any;
63
31
  }, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
64
32
  P: {};
65
33
  B: {};
@@ -67,120 +35,48 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
67
35
  C: {};
68
36
  M: {};
69
37
  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<{
38
+ }, Readonly<import("@opencloud-eu/design-system/components").OcDropProps> & Readonly<{
105
39
  onHideDrop?: () => any;
106
40
  onShowDrop?: () => any;
107
41
  }>, {
108
- show: ({ event, useMouseAnchor, noFocus }?: {
109
- event?: Event;
110
- useMouseAnchor?: boolean;
42
+ show: ({ anchorElement, noFocus }?: {
43
+ anchorElement?: HTMLElement | import("@floating-ui/dom").VirtualElement;
111
44
  noFocus?: boolean;
112
45
  }) => Promise<void>;
113
46
  hide: () => void;
47
+ update: ({ anchorElement }?: {
48
+ anchorElement?: HTMLElement | import("@floating-ui/dom").VirtualElement;
49
+ }) => Promise<void>;
114
50
  }, {}, {}, {}, {}>;
115
51
  __isFragment?: never;
116
52
  __isTeleport?: never;
117
53
  __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<{
54
+ } & import("vue").ComponentOptionsBase<Readonly<import("@opencloud-eu/design-system/components").OcDropProps> & Readonly<{
153
55
  onHideDrop?: () => any;
154
56
  onShowDrop?: () => any;
155
57
  }>, {
156
- show: ({ event, useMouseAnchor, noFocus }?: {
157
- event?: Event;
158
- useMouseAnchor?: boolean;
58
+ show: ({ anchorElement, noFocus }?: {
59
+ anchorElement?: HTMLElement | import("@floating-ui/dom").VirtualElement;
159
60
  noFocus?: boolean;
160
61
  }) => Promise<void>;
161
62
  hide: () => void;
162
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
163
- hideDrop: () => void;
164
- showDrop: () => void;
63
+ update: ({ anchorElement }?: {
64
+ anchorElement?: HTMLElement | import("@floating-ui/dom").VirtualElement;
65
+ }) => Promise<void>;
66
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
67
+ hideDrop: () => any;
68
+ showDrop: () => any;
165
69
  }, 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;
70
+ $slots: import("@opencloud-eu/design-system/components").OcDropSlots;
167
71
  })>>>;
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<{
72
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
73
+ quickActionClicked: (event: MouseEvent | KeyboardEvent) => any;
74
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
171
75
  onQuickActionClicked?: (event: MouseEvent | KeyboardEvent) => any;
172
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
76
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
173
77
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
174
78
  declare const _default: typeof __VLS_export;
175
79
  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
80
  type __VLS_WithSlots<T, S> = T & {
185
81
  new (): {
186
82
  $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
- };