@opencloud-eu/web-pkg 5.1.0 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (224) hide show
  1. package/dist/TextEditor-B0ZZfO_w.js +819 -0
  2. package/dist/assets/worker-BVTM6bn-.js +1 -0
  3. package/dist/assets/worker-C-Nrpmiq.js +24 -0
  4. package/dist/assets/worker-CzI1mBNb.js +24 -0
  5. package/dist/assets/worker-DDmV-och.js +24 -0
  6. package/dist/composables-TkULFBg4.js +20165 -0
  7. package/dist/src/apps/types.d.ts +9 -12
  8. package/dist/src/components/AppBar/AppBar.vue.d.ts +154 -96
  9. package/dist/src/components/AppBar/index.d.ts +0 -1
  10. package/dist/src/components/AppLoadingSpinner.vue.d.ts +2 -1
  11. package/dist/src/components/AppTemplates/AppWrapper.vue.d.ts +37 -33
  12. package/dist/src/components/AppTemplates/AppWrapperRoute.d.ts +1 -1
  13. package/dist/src/components/AppTemplates/PartialViews/ErrorScreen.vue.d.ts +5 -4
  14. package/dist/src/components/AppTemplates/PartialViews/LoadingScreen.vue.d.ts +2 -1
  15. package/dist/src/components/AppTopBar.vue.d.ts +13 -4
  16. package/dist/src/components/Avatars/AvatarUpload.vue.d.ts +3 -4
  17. package/dist/src/components/Avatars/UserAvatar.vue.d.ts +11 -1
  18. package/dist/src/components/BatchActions.vue.d.ts +16 -15
  19. package/dist/src/components/ContextActions/ActionMenuDropItem.vue.d.ts +11 -2
  20. package/dist/src/components/ContextActions/ActionMenuItem.vue.d.ts +9 -8
  21. package/dist/src/components/ContextActions/ContextActionMenu.vue.d.ts +41 -22
  22. package/dist/src/components/ContextActions/ContextMenuQuickAction.vue.d.ts +176 -23
  23. package/dist/src/components/CreateLinkModal.vue.d.ts +17 -7
  24. package/dist/src/components/CreateShortcutModal.vue.d.ts +233 -0
  25. package/dist/src/components/CustomComponentTarget.vue.d.ts +12 -13
  26. package/dist/src/components/FilesList/ContextActions.vue.d.ts +56 -37
  27. package/dist/src/components/FilesList/ResourceGhostElement.vue.d.ts +22 -11
  28. package/dist/src/components/FilesList/ResourceIcon.vue.d.ts +10 -1
  29. package/dist/src/components/FilesList/ResourceLink.vue.d.ts +7 -6
  30. package/dist/src/components/FilesList/ResourceListItem.vue.d.ts +13 -4
  31. package/dist/src/components/FilesList/ResourceName.vue.d.ts +10 -1
  32. package/dist/src/components/FilesList/ResourceSize.vue.d.ts +6 -5
  33. package/dist/src/components/FilesList/ResourceStatusIndicators.vue.d.ts +10 -1
  34. package/dist/src/components/FilesList/ResourceTable.vue.d.ts +51 -154
  35. package/dist/src/components/FilesList/ResourceTile.vue.d.ts +37 -153
  36. package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +34 -119
  37. package/dist/src/components/Filters/DateFilter.vue.d.ts +37 -0
  38. package/dist/src/components/Filters/ItemFilterInline.vue.d.ts +6 -5
  39. package/dist/src/components/Groupware/Accounts/AccountsSwitch.vue.d.ts +3 -0
  40. package/dist/src/components/Groupware/Accounts/index.d.ts +1 -0
  41. package/dist/src/components/Groupware/index.d.ts +1 -0
  42. package/dist/src/components/ItemFilter.vue.d.ts +19 -204
  43. package/dist/src/components/ItemFilterToggle.vue.d.ts +6 -5
  44. package/dist/src/components/LinkRoleDropdown.vue.d.ts +7 -6
  45. package/dist/src/components/LoadingIndicator.vue.d.ts +5 -4
  46. package/dist/src/components/Modals/DatePickerModal.vue.d.ts +8 -7
  47. package/dist/src/components/Modals/EmojiPickerModal.vue.d.ts +6 -5
  48. package/dist/src/components/Modals/FilePickerModal.vue.d.ts +8 -7
  49. package/dist/src/components/Modals/ResourceConflictModal.vue.d.ts +9 -8
  50. package/dist/src/components/Modals/SaveAsModal.vue.d.ts +8 -7
  51. package/dist/src/components/Modals/SpaceMoveInfoModal.vue.d.ts +5 -4
  52. package/dist/src/components/Modals/UnsavedChangesModal.vue.d.ts +5 -4
  53. package/dist/src/components/Navigation/MobileNav.vue.d.ts +3 -0
  54. package/dist/src/components/Navigation/index.d.ts +1 -0
  55. package/dist/src/components/NoContentMessage.vue.d.ts +19 -13
  56. package/dist/src/components/Pagination.vue.d.ts +5 -4
  57. package/dist/src/components/QuotaSelect.vue.d.ts +7 -6
  58. package/dist/src/components/Search/ResourcePreview.vue.d.ts +10 -41
  59. package/dist/src/components/SearchBarFilter.vue.d.ts +7 -6
  60. package/dist/src/components/SideBar/CompareSaveDialog.vue.d.ts +6 -5
  61. package/dist/src/components/SideBar/FileSideBar.vue.d.ts +10 -75
  62. package/dist/src/components/SideBar/Files/FileInfo.vue.d.ts +10 -1
  63. package/dist/src/components/SideBar/SideBar.vue.d.ts +20 -21
  64. package/dist/src/components/SideBar/SideBarPanels.vue.d.ts +21 -22
  65. package/dist/src/components/SideBar/Spaces/Details/SpaceDetails.vue.d.ts +10 -1
  66. package/dist/src/components/SideBar/Spaces/Details/SpaceDetailsMultiple.vue.d.ts +10 -1
  67. package/dist/src/components/SideBar/Spaces/SpaceInfo.vue.d.ts +2 -1
  68. package/dist/src/components/SideBar/Spaces/SpaceNoSelection.vue.d.ts +2 -1
  69. package/dist/src/components/SideBar/WebDavDetails.vue.d.ts +7 -6
  70. package/dist/src/components/SpaceQuota.vue.d.ts +10 -1
  71. package/dist/src/components/Spaces/QuotaModal.vue.d.ts +13 -4
  72. package/dist/src/components/Spaces/SpaceImageModal.vue.d.ts +12 -4
  73. package/dist/src/components/TextEditor/TextEditor.vue.d.ts +22 -161
  74. package/dist/src/components/TextEditor/index.d.ts +16 -138
  75. package/dist/src/components/VersionCheck.vue.d.ts +2 -1
  76. package/dist/src/components/ViewOptions.vue.d.ts +10 -1
  77. package/dist/src/components/index.d.ts +2 -1
  78. package/dist/src/composables/actions/files/useFileActionFallbackToDownload.d.ts +1 -1
  79. package/dist/src/composables/actions/files/useFileActions.d.ts +2 -2
  80. package/dist/src/composables/actions/files/useFileActionsCopy.d.ts +1 -1
  81. package/dist/src/composables/actions/files/useFileActionsCopyPermanentLink.d.ts +1 -1
  82. package/dist/src/composables/actions/files/useFileActionsCreateLink.d.ts +1 -1
  83. package/dist/src/composables/actions/files/useFileActionsCreateNewFile.d.ts +1 -1
  84. package/dist/src/composables/actions/files/useFileActionsCreateNewFolder.d.ts +1 -1
  85. package/dist/src/composables/actions/files/useFileActionsCreateNewShortcut.d.ts +1 -1
  86. package/dist/src/composables/actions/files/useFileActionsCreateSpaceFromResource.d.ts +1 -1
  87. package/dist/src/composables/actions/files/useFileActionsDelete.d.ts +1 -1
  88. package/dist/src/composables/actions/files/useFileActionsDisableSync.d.ts +1 -1
  89. package/dist/src/composables/actions/files/useFileActionsDownloadArchive.d.ts +1 -1
  90. package/dist/src/composables/actions/files/useFileActionsDownloadFile.d.ts +1 -1
  91. package/dist/src/composables/actions/files/useFileActionsEmptyTrashBin.d.ts +1 -1
  92. package/dist/src/composables/actions/files/useFileActionsEnableSync.d.ts +1 -1
  93. package/dist/src/composables/actions/files/useFileActionsFavorite.d.ts +1 -1
  94. package/dist/src/composables/actions/files/useFileActionsMove.d.ts +1 -1
  95. package/dist/src/composables/actions/files/useFileActionsNavigate.d.ts +1 -1
  96. package/dist/src/composables/actions/files/useFileActionsOpenShortcut.d.ts +1 -1
  97. package/dist/src/composables/actions/files/useFileActionsOpenWithApp.d.ts +1 -1
  98. package/dist/src/composables/actions/files/useFileActionsOpenWithDefault.d.ts +1 -1
  99. package/dist/src/composables/actions/files/useFileActionsPaste.d.ts +1 -1
  100. package/dist/src/composables/actions/files/useFileActionsRename.d.ts +2 -2
  101. package/dist/src/composables/actions/files/useFileActionsRestore.d.ts +2 -2
  102. package/dist/src/composables/actions/files/useFileActionsSaveAs.d.ts +1 -1
  103. package/dist/src/composables/actions/files/useFileActionsSetImage.d.ts +1 -1
  104. package/dist/src/composables/actions/files/useFileActionsShowActions.d.ts +1 -1
  105. package/dist/src/composables/actions/files/useFileActionsShowDetails.d.ts +1 -1
  106. package/dist/src/composables/actions/files/useFileActionsShowShares.d.ts +1 -1
  107. package/dist/src/composables/actions/files/useFileActionsToggleHideShare.d.ts +1 -1
  108. package/dist/src/composables/actions/files/useFileActionsUndoDelete.d.ts +2 -2
  109. package/dist/src/composables/actions/helpers/useIsAppActive.d.ts +1 -1
  110. package/dist/src/composables/actions/helpers/useIsFilesAppActive.d.ts +1 -1
  111. package/dist/src/composables/actions/helpers/useIsSearchActive.d.ts +1 -1
  112. package/dist/src/composables/actions/spaces/index.d.ts +1 -0
  113. package/dist/src/composables/actions/spaces/useSpaceActionsCreate.d.ts +7 -0
  114. package/dist/src/composables/actions/spaces/useSpaceActionsDelete.d.ts +1 -1
  115. package/dist/src/composables/actions/spaces/useSpaceActionsDeleteImage.d.ts +1 -1
  116. package/dist/src/composables/actions/spaces/useSpaceActionsDisable.d.ts +1 -1
  117. package/dist/src/composables/actions/spaces/useSpaceActionsDuplicate.d.ts +1 -1
  118. package/dist/src/composables/actions/spaces/useSpaceActionsEditDescription.d.ts +1 -1
  119. package/dist/src/composables/actions/spaces/useSpaceActionsEditQuota.d.ts +1 -1
  120. package/dist/src/composables/actions/spaces/useSpaceActionsEditReadmeContent.d.ts +1 -1
  121. package/dist/src/composables/actions/spaces/useSpaceActionsNavigateToTrash.d.ts +1 -1
  122. package/dist/src/composables/actions/spaces/useSpaceActionsRename.d.ts +1 -1
  123. package/dist/src/composables/actions/spaces/useSpaceActionsRestore.d.ts +1 -1
  124. package/dist/src/composables/actions/spaces/useSpaceActionsSetIcon.d.ts +1 -1
  125. package/dist/src/composables/actions/spaces/useSpaceActionsShowMembers.d.ts +1 -1
  126. package/dist/src/composables/actions/useActionsShowDetails.d.ts +1 -1
  127. package/dist/src/composables/appDefaults/useAppConfig.d.ts +1 -1
  128. package/dist/src/composables/appDefaults/useAppDocumentTitle.d.ts +2 -1
  129. package/dist/src/composables/appDefaults/useAppFileHandling.d.ts +4 -2
  130. package/dist/src/composables/appDefaults/useAppMeta.d.ts +1 -1
  131. package/dist/src/composables/authContext/useAuthService.d.ts +3 -1
  132. package/dist/src/composables/authContext/useRequest.d.ts +2 -2
  133. package/dist/src/composables/driveResolver/useSpacesLoading.d.ts +1 -1
  134. package/dist/src/composables/embedMode/useEmbedMode.d.ts +8 -8
  135. package/dist/src/composables/eventBus/useEventBus.d.ts +1 -1
  136. package/dist/src/composables/filesList/useResourceRouteResolver.d.ts +1 -1
  137. package/dist/src/composables/folderLink/useFolderLink.d.ts +2 -2
  138. package/dist/src/composables/index.d.ts +1 -1
  139. package/dist/src/composables/isTopBarSticky/useIsTopBarSticky.d.ts +1 -1
  140. package/dist/src/composables/keyboardActions/useInterceptModifierClick.d.ts +1 -1
  141. package/dist/src/composables/links/useLinkTypes.d.ts +1 -1
  142. package/dist/src/composables/localStorage/useLocalStorage.d.ts +1 -1
  143. package/dist/src/composables/navItems/index.d.ts +1 -0
  144. package/dist/src/composables/navItems/useNavItems.d.ts +13 -0
  145. package/dist/src/composables/piniaStores/apps.d.ts +31 -31
  146. package/dist/src/composables/piniaStores/auth.d.ts +30 -24
  147. package/dist/src/composables/piniaStores/avatars.d.ts +9 -9
  148. package/dist/src/composables/piniaStores/capabilities.d.ts +160 -160
  149. package/dist/src/composables/piniaStores/clipboard.d.ts +49 -49
  150. package/dist/src/composables/piniaStores/config/config.d.ts +135 -141
  151. package/dist/src/composables/piniaStores/config/types.d.ts +6 -20
  152. package/dist/src/composables/piniaStores/extensionRegistry/extensionPreferences.d.ts +4 -4
  153. package/dist/src/composables/piniaStores/extensionRegistry/extensionRegistry.d.ts +1 -1
  154. package/dist/src/composables/piniaStores/extensionRegistry/types.d.ts +14 -1
  155. package/dist/src/composables/piniaStores/groupware/accounts.d.ts +511 -0
  156. package/dist/src/composables/piniaStores/{groupwareConfig/groupwareConfig.d.ts → groupware/config.d.ts} +107 -80
  157. package/dist/src/composables/piniaStores/groupware/index.d.ts +3 -0
  158. package/dist/src/composables/piniaStores/{groupwareConfig → groupware}/types.d.ts +30 -18
  159. package/dist/src/composables/piniaStores/index.d.ts +1 -1
  160. package/dist/src/composables/piniaStores/messages.d.ts +70 -70
  161. package/dist/src/composables/piniaStores/modals.d.ts +197 -209
  162. package/dist/src/composables/piniaStores/resources.d.ts +11 -11
  163. package/dist/src/composables/piniaStores/shares/shares.d.ts +1 -1
  164. package/dist/src/composables/piniaStores/shares/types.d.ts +2 -1
  165. package/dist/src/composables/piniaStores/sideBar.d.ts +8 -22
  166. package/dist/src/composables/piniaStores/spaces.d.ts +189 -188
  167. package/dist/src/composables/piniaStores/theme.d.ts +10 -10
  168. package/dist/src/composables/piniaStores/updates.d.ts +10 -10
  169. package/dist/src/composables/piniaStores/user.d.ts +5 -5
  170. package/dist/src/composables/piniaStores/webWorkers.d.ts +1 -1
  171. package/dist/src/composables/requestHeaders/useRequestHeaders.d.ts +1 -1
  172. package/dist/src/composables/resources/useGetResourceContext.d.ts +26 -26
  173. package/dist/src/composables/resources/useLoadPreview.d.ts +1 -1
  174. package/dist/src/composables/resources/useResourceContents.d.ts +1 -1
  175. package/dist/src/composables/resources/useResourceIndicators.d.ts +12 -1
  176. package/dist/src/composables/resources/useResourceViewContextMenu.d.ts +4 -3
  177. package/dist/src/composables/resources/useResourceViewDrag.d.ts +23 -13
  178. package/dist/src/composables/resources/useResourceViewHelpers.d.ts +30 -20
  179. package/dist/src/composables/resources/useResourceViewSelection.d.ts +2 -2
  180. package/dist/src/composables/selection/useSelectedResources.d.ts +2 -1
  181. package/dist/src/composables/spaces/useCreateSpace.d.ts +2 -1
  182. package/dist/src/composables/spaces/useSpaceHelpers.d.ts +1 -1
  183. package/dist/src/composables/webWorkers/deleteWorker/useDeleteWorker.d.ts +1 -1
  184. package/dist/src/composables/webWorkers/pasteWorker/usePasteWorker.d.ts +2 -2
  185. package/dist/src/composables/webWorkers/restoreWorker/useRestoreWorker.d.ts +1 -1
  186. package/dist/src/composables/webWorkers/tokenTimerWorker/useTokenTimerWorker.d.ts +3 -1
  187. package/dist/src/constants.d.ts +0 -6
  188. package/dist/src/extensionPoints.d.ts +3 -0
  189. package/dist/src/helpers/filesize.d.ts +0 -7
  190. package/dist/src/helpers/index.d.ts +1 -2
  191. package/dist/src/helpers/resource/conflictHandling/conflictDialog.d.ts +1 -1
  192. package/dist/src/helpers/resource/conflictHandling/transfer.d.ts +4 -4
  193. package/dist/src/helpers/resource/conflictHandling/types.d.ts +1 -1
  194. package/dist/src/helpers/share/driveItem.d.ts +1 -1
  195. package/dist/src/helpers/versions.d.ts +5 -0
  196. package/dist/src/index.d.ts +1 -0
  197. package/dist/src/router/common.d.ts +1 -1
  198. package/dist/src/router/index.d.ts +2 -1
  199. package/dist/src/router/public.d.ts +1 -1
  200. package/dist/src/router/shares.d.ts +1 -1
  201. package/dist/src/router/spaces.d.ts +1 -1
  202. package/dist/src/router/trash.d.ts +1 -1
  203. package/dist/src/services/passwordPolicy/rules.d.ts +3 -9
  204. package/dist/src/services/preview/types.d.ts +1 -1
  205. package/dist/src/services/uppy/DropTarget/plugin.d.ts +2 -1
  206. package/dist/src/services/uppy/uppyService.d.ts +3 -3
  207. package/dist/web-pkg.js +4251 -354
  208. package/package.json +36 -38
  209. package/src/index.ts +1 -0
  210. package/dist/TextEditor-CXSedGM4.js +0 -867
  211. package/dist/assets/worker-22sDKzz_.js +0 -21
  212. package/dist/assets/worker-BBQqm_-D.js +0 -1
  213. package/dist/assets/worker-BSCY2vwA.js +0 -21
  214. package/dist/assets/worker-DH8D29Kr.js +0 -21
  215. package/dist/index-CEJcEmbf.js +0 -25419
  216. package/dist/src/components/AppBar/CreateSpace.vue.d.ts +0 -18
  217. package/dist/src/components/PortalTarget.vue.d.ts +0 -2
  218. package/dist/src/composables/piniaStores/groupwareConfig/index.d.ts +0 -2
  219. package/dist/src/composables/portalTarget/eventTopics.d.ts +0 -3
  220. package/dist/src/composables/portalTarget/index.d.ts +0 -2
  221. package/dist/src/composables/portalTarget/usePortalTarget.d.ts +0 -4
  222. package/dist/src/helpers/contextMenuDropdown.d.ts +0 -7
  223. package/dist/src/helpers/statusIndicators.d.ts +0 -12
  224. package/dist/web-pkg.umd.cjs +0 -36
@@ -0,0 +1,233 @@
1
+ import { ComponentPublicInstance, PropType, Ref } from 'vue';
2
+ import { SpaceResource } from '@opencloud-eu/web-client';
3
+ import { Modal } from '../composables';
4
+ import { SearchResult, SearchResultValue } from './Search';
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
7
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
+ modal: {
9
+ type: PropType<Modal>;
10
+ required: true;
11
+ };
12
+ space: {
13
+ type: PropType<SpaceResource>;
14
+ required: true;
15
+ };
16
+ }>, {
17
+ inputUrl: Ref<string, string>;
18
+ inputFilename: Ref<string, string>;
19
+ dropRef: Readonly<import("vue").ShallowRef<ComponentPublicInstance<{
20
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
21
+ title: {
22
+ type: PropType<string>;
23
+ };
24
+ closeOnClick: {
25
+ type: PropType<boolean>;
26
+ };
27
+ dropId: {
28
+ type: PropType<string>;
29
+ };
30
+ mode: {
31
+ type: PropType<"manual" | "click" | "hover">;
32
+ };
33
+ offset: {
34
+ type: PropType<number>;
35
+ };
36
+ paddingSize: {
37
+ type: PropType<import("@opencloud-eu/design-system/helpers").SizeType | "remove">;
38
+ };
39
+ position: {
40
+ type: PropType<import("@floating-ui/dom").Placement>;
41
+ };
42
+ toggle: {
43
+ type: PropType<string>;
44
+ };
45
+ enforceDropOnMobile: {
46
+ type: PropType<boolean>;
47
+ };
48
+ teleport: {
49
+ type: PropType<string>;
50
+ };
51
+ isMenu: {
52
+ type: PropType<boolean>;
53
+ };
54
+ }>> & Readonly<{
55
+ onHideDrop?: () => any;
56
+ onShowDrop?: () => any;
57
+ }>, {
58
+ show: ({ event, useMouseAnchor, noFocus }?: {
59
+ event?: Event;
60
+ useMouseAnchor?: boolean;
61
+ noFocus?: boolean;
62
+ }) => Promise<void>;
63
+ hide: () => void;
64
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
65
+ hideDrop: () => void;
66
+ showDrop: () => void;
67
+ }, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
68
+ P: {};
69
+ B: {};
70
+ D: {};
71
+ C: {};
72
+ M: {};
73
+ Defaults: {};
74
+ }, Readonly<import("vue").ExtractPropTypes<{
75
+ title: {
76
+ type: PropType<string>;
77
+ };
78
+ closeOnClick: {
79
+ type: PropType<boolean>;
80
+ };
81
+ dropId: {
82
+ type: PropType<string>;
83
+ };
84
+ mode: {
85
+ type: PropType<"manual" | "click" | "hover">;
86
+ };
87
+ offset: {
88
+ type: PropType<number>;
89
+ };
90
+ paddingSize: {
91
+ type: PropType<import("@opencloud-eu/design-system/helpers").SizeType | "remove">;
92
+ };
93
+ position: {
94
+ type: PropType<import("@floating-ui/dom").Placement>;
95
+ };
96
+ toggle: {
97
+ type: PropType<string>;
98
+ };
99
+ enforceDropOnMobile: {
100
+ type: PropType<boolean>;
101
+ };
102
+ teleport: {
103
+ type: PropType<string>;
104
+ };
105
+ isMenu: {
106
+ type: PropType<boolean>;
107
+ };
108
+ }>> & Readonly<{
109
+ onHideDrop?: () => any;
110
+ onShowDrop?: () => any;
111
+ }>, {
112
+ show: ({ event, useMouseAnchor, noFocus }?: {
113
+ event?: Event;
114
+ useMouseAnchor?: boolean;
115
+ noFocus?: boolean;
116
+ }) => Promise<void>;
117
+ hide: () => void;
118
+ }, {}, {}, {}, {}>;
119
+ __isFragment?: never;
120
+ __isTeleport?: never;
121
+ __isSuspense?: never;
122
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
123
+ title: {
124
+ type: PropType<string>;
125
+ };
126
+ closeOnClick: {
127
+ type: PropType<boolean>;
128
+ };
129
+ dropId: {
130
+ type: PropType<string>;
131
+ };
132
+ mode: {
133
+ type: PropType<"manual" | "click" | "hover">;
134
+ };
135
+ offset: {
136
+ type: PropType<number>;
137
+ };
138
+ paddingSize: {
139
+ type: PropType<import("@opencloud-eu/design-system/helpers").SizeType | "remove">;
140
+ };
141
+ position: {
142
+ type: PropType<import("@floating-ui/dom").Placement>;
143
+ };
144
+ toggle: {
145
+ type: PropType<string>;
146
+ };
147
+ enforceDropOnMobile: {
148
+ type: PropType<boolean>;
149
+ };
150
+ teleport: {
151
+ type: PropType<string>;
152
+ };
153
+ isMenu: {
154
+ type: PropType<boolean>;
155
+ };
156
+ }>> & Readonly<{
157
+ onHideDrop?: () => any;
158
+ onShowDrop?: () => any;
159
+ }>, {
160
+ show: ({ event, useMouseAnchor, noFocus }?: {
161
+ event?: Event;
162
+ useMouseAnchor?: boolean;
163
+ noFocus?: boolean;
164
+ }) => Promise<void>;
165
+ hide: () => void;
166
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
167
+ hideDrop: () => void;
168
+ showDrop: () => void;
169
+ }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
170
+ $slots: import("node_modules/@opencloud-eu/design-system/src/components/OcDrop/OcDrop.vue").Slots;
171
+ })>>>;
172
+ dropItemUrl: import("vue").ComputedRef<string>;
173
+ searchResult: Ref<SearchResult, SearchResult>;
174
+ confirmButtonDisabled: import("vue").ComputedRef<boolean>;
175
+ inputFileNameErrorMessage: import("vue").ComputedRef<string>;
176
+ searchTask: import("vue-concurrency").Task<void, [searchTerm: string]>;
177
+ dropItemUrlClicked: () => void;
178
+ dropItemResourceClicked: (item: SearchResultValue) => void;
179
+ getPathPrefix: (resource: import("@opencloud-eu/web-client").Resource) => string;
180
+ getFolderLink: (resource: import("@opencloud-eu/web-client").Resource) => import("vue-router").RouteLocationNamedRaw;
181
+ getParentFolderLink: (resource: import("@opencloud-eu/web-client").Resource) => import("vue-router").RouteLocationNamedRaw;
182
+ getParentFolderName: (resource: import("@opencloud-eu/web-client").Resource) => string;
183
+ getParentFolderLinkIconAdditionalAttributes: (resource: import("@opencloud-eu/web-client").Resource) => {
184
+ name: string;
185
+ 'fill-type': string;
186
+ } | {
187
+ name?: undefined;
188
+ 'fill-type'?: undefined;
189
+ };
190
+ onKeyEnterDrop: (e: Event) => void;
191
+ onKeyDownDrop: () => void;
192
+ onKeyUpDrop: () => void;
193
+ onKeyEscDrop: (e: Event) => void;
194
+ onHideDrop: () => void;
195
+ onShowDrop: () => void;
196
+ onInputUrlInput: () => Promise<void>;
197
+ onClickUrlInput: () => void;
198
+ isDropItemActive: (index: number) => boolean;
199
+ onConfirm: () => Promise<void>;
200
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:confirmDisabled"[], "update:confirmDisabled", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
201
+ modal: {
202
+ type: PropType<Modal>;
203
+ required: true;
204
+ };
205
+ space: {
206
+ type: PropType<SpaceResource>;
207
+ required: true;
208
+ };
209
+ }>> & Readonly<{
210
+ "onUpdate:confirmDisabled"?: (...args: any[]) => any;
211
+ }>, {}, {}, {
212
+ ResourcePreview: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
213
+ searchResult: {
214
+ type: PropType<SearchResultValue>;
215
+ };
216
+ isClickable: {
217
+ type: PropType<boolean>;
218
+ };
219
+ term: {
220
+ type: PropType<string>;
221
+ };
222
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
223
+ searchResult: {
224
+ type: PropType<SearchResultValue>;
225
+ };
226
+ isClickable: {
227
+ type: PropType<boolean>;
228
+ };
229
+ term: {
230
+ type: PropType<string>;
231
+ };
232
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
233
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,16 +1,15 @@
1
- import { PropType } from 'vue';
2
1
  import { CustomComponentExtension, ExtensionPoint } from '../composables';
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
- extensionPoint: {
5
- type: PropType<ExtensionPoint<CustomComponentExtension>>;
6
- required: true;
7
- };
8
- }>, {
9
- extensions: import('vue').ComputedRef<CustomComponentExtension[]>;
10
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
11
- extensionPoint: {
12
- type: PropType<ExtensionPoint<CustomComponentExtension>>;
2
+ type __VLS_Props = {
3
+ extensionPoint: ExtensionPoint<CustomComponentExtension>;
4
+ };
5
+ 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 _default: typeof __VLS_export;
7
+ export default _default;
8
+ type __VLS_TypePropsToOption<T> = {
9
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
10
+ type: import('vue').PropType<Required<T>[K]>;
11
+ } : {
12
+ type: import('vue').PropType<T[K]>;
13
13
  required: true;
14
14
  };
15
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
16
- export default _default;
15
+ };
@@ -1,66 +1,86 @@
1
1
  import { PropType } from 'vue';
2
2
  import { FileActionOptions } from '../../composables';
3
3
  import { MenuSection } from '../ContextActions';
4
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ declare const _default: typeof __VLS_export;
5
+ export default _default;
6
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
7
  actionOptions: {
6
8
  type: PropType<FileActionOptions>;
7
9
  required: true;
8
10
  };
9
11
  }>, {
10
- menuSections: import('vue').ComputedRef<MenuSection[]>;
11
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
12
+ menuSections: import("vue").ComputedRef<MenuSection[]>;
13
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
12
14
  actionOptions: {
13
15
  type: PropType<FileActionOptions>;
14
16
  required: true;
15
17
  };
16
18
  }>> & Readonly<{}>, {}, {}, {
17
- ContextActionMenu: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
19
+ ContextActionMenu: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
18
20
  menuSections: {
19
21
  type: PropType<MenuSection[]>;
20
22
  required: true;
21
23
  };
22
24
  appearance: {
23
- type: PropType<import('@opencloud-eu/design-system/helpers').AppearanceType>;
25
+ type: PropType<import("@opencloud-eu/design-system/helpers").AppearanceType>;
24
26
  default: string;
25
27
  };
26
28
  actionOptions: {
27
- type: PropType<import('../..').ActionOptions>;
29
+ type: PropType<import("../../composables").ActionOptions>;
28
30
  required: true;
29
31
  };
30
32
  }>, {}, {}, {}, {
31
33
  getSectionClasses(index: number): string[];
32
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
34
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33
35
  menuSections: {
34
36
  type: PropType<MenuSection[]>;
35
37
  required: true;
36
38
  };
37
39
  appearance: {
38
- type: PropType<import('@opencloud-eu/design-system/helpers').AppearanceType>;
40
+ type: PropType<import("@opencloud-eu/design-system/helpers").AppearanceType>;
39
41
  default: string;
40
42
  };
41
43
  actionOptions: {
42
- type: PropType<import('../..').ActionOptions>;
44
+ type: PropType<import("../../composables").ActionOptions>;
43
45
  required: true;
44
46
  };
45
47
  }>> & Readonly<{}>, {
46
- appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
48
+ appearance: import("@opencloud-eu/design-system/helpers").AppearanceType;
47
49
  }, {}, {
48
- ActionMenuDropItem: import('vue').DefineComponent<{
49
- menuSectionDrop: import('..').MenuSectionDrop;
50
- appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
51
- actionOptions: import('../..').ActionOptions;
52
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
53
- menuSectionDrop: import('..').MenuSectionDrop;
54
- appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
55
- actionOptions: import('../..').ActionOptions;
56
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
57
- ActionMenuItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
50
+ ActionMenuDropItem: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
51
+ menuSectionDrop: {
52
+ type: PropType<import("../ContextActions").MenuSectionDrop>;
53
+ required: true;
54
+ };
55
+ appearance: {
56
+ type: PropType<import("@opencloud-eu/design-system/helpers").AppearanceType>;
57
+ required: true;
58
+ };
59
+ actionOptions: {
60
+ type: PropType<import("../../composables").ActionOptions>;
61
+ required: true;
62
+ };
63
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
64
+ menuSectionDrop: {
65
+ type: PropType<import("../ContextActions").MenuSectionDrop>;
66
+ required: true;
67
+ };
68
+ appearance: {
69
+ type: PropType<import("@opencloud-eu/design-system/helpers").AppearanceType>;
70
+ required: true;
71
+ };
72
+ actionOptions: {
73
+ type: PropType<import("../../composables").ActionOptions>;
74
+ required: true;
75
+ };
76
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
77
+ ActionMenuItem: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
58
78
  action: {
59
- type: PropType<import('../..').Action>;
79
+ type: PropType<import("../../composables").Action>;
60
80
  required: true;
61
81
  };
62
82
  actionOptions: {
63
- type: PropType<import('../..').ActionOptions>;
83
+ type: PropType<import("../../composables").ActionOptions>;
64
84
  required: true;
65
85
  };
66
86
  size: {
@@ -69,7 +89,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
69
89
  default: string;
70
90
  };
71
91
  appearance: {
72
- type: PropType<import('@opencloud-eu/design-system/helpers').AppearanceType>;
92
+ type: PropType<import("@opencloud-eu/design-system/helpers").AppearanceType>;
73
93
  default: string;
74
94
  };
75
95
  shortcutHint: {
@@ -87,16 +107,16 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
87
107
  default: () => string[];
88
108
  };
89
109
  }>, {
90
- componentType: import('vue').ComputedRef<"a" | "button" | "router-link">;
91
- componentProps: import('vue').ComputedRef<{
110
+ componentType: import("vue").ComputedRef<"a" | "button" | "router-link">;
111
+ componentProps: import("vue").ComputedRef<{
92
112
  target: "_blank" | "_self";
93
113
  href: string;
94
- to: string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric;
114
+ to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
95
115
  id: string;
96
116
  disabled: boolean;
97
- appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
117
+ appearance: import("@opencloud-eu/design-system/helpers").AppearanceType;
98
118
  }>;
99
- actionIcon: import('vue').ComputedRef<string>;
119
+ actionIcon: import("vue").ComputedRef<string>;
100
120
  }, {}, {
101
121
  hasExternalImageIcon(): boolean;
102
122
  componentListeners(): {
@@ -104,13 +124,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
104
124
  } | {
105
125
  click: (event: Event) => void;
106
126
  };
107
- }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
127
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
108
128
  action: {
109
- type: PropType<import('../..').Action>;
129
+ type: PropType<import("../../composables").Action>;
110
130
  required: true;
111
131
  };
112
132
  actionOptions: {
113
- type: PropType<import('../..').ActionOptions>;
133
+ type: PropType<import("../../composables").ActionOptions>;
114
134
  required: true;
115
135
  };
116
136
  size: {
@@ -119,7 +139,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
119
139
  default: string;
120
140
  };
121
141
  appearance: {
122
- type: PropType<import('@opencloud-eu/design-system/helpers').AppearanceType>;
142
+ type: PropType<import("@opencloud-eu/design-system/helpers").AppearanceType>;
123
143
  default: string;
124
144
  };
125
145
  shortcutHint: {
@@ -138,11 +158,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
138
158
  };
139
159
  }>> & Readonly<{}>, {
140
160
  size: "small" | "large" | "medium";
141
- appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
161
+ appearance: import("@opencloud-eu/design-system/helpers").AppearanceType;
142
162
  shortcutHint: boolean;
143
163
  showTooltip: boolean;
144
164
  buttonClasses: string[];
145
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
146
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
147
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
148
- export default _default;
165
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
166
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
167
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -3,7 +3,9 @@ import { Resource } from '@opencloud-eu/web-client';
3
3
  /**
4
4
  * Please head to the OpenCloud web ResourceTable component (https://github.com/opencloud-eu/web/blob/main/packages/web-app-files/src/components/FilesList/ResourceTable.vue) for a demo of the Ghost Element.
5
5
  */
6
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
8
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
7
9
  previewItems: {
8
10
  type: PropType<Resource[]>;
9
11
  required: true;
@@ -13,18 +15,27 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
13
15
  showSecondLayer(): boolean;
14
16
  showThirdLayer(): boolean;
15
17
  itemCount(): number;
16
- }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
18
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
19
  previewItems: {
18
20
  type: PropType<Resource[]>;
19
21
  required: true;
20
22
  };
21
23
  }>> & Readonly<{}>, {}, {}, {
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>;
29
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
30
- export default _default;
24
+ ResourceIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
25
+ resource: {
26
+ type: PropType<Resource | import("@opencloud-eu/web-client").SpaceResource>;
27
+ required: true;
28
+ };
29
+ size: {
30
+ type: PropType<import("@opencloud-eu/design-system/helpers").SizeType>;
31
+ };
32
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33
+ resource: {
34
+ type: PropType<Resource | import("@opencloud-eu/web-client").SpaceResource>;
35
+ required: true;
36
+ };
37
+ size: {
38
+ type: PropType<import("@opencloud-eu/design-system/helpers").SizeType>;
39
+ };
40
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
41
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -4,5 +4,14 @@ type __VLS_Props = {
4
4
  resource: Resource | SpaceResource;
5
5
  size?: SizeType;
6
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>;
7
+ 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>;
8
+ declare const _default: typeof __VLS_export;
8
9
  export default _default;
10
+ type __VLS_TypePropsToOption<T> = {
11
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
12
+ type: import('vue').PropType<Required<T>[K]>;
13
+ } : {
14
+ type: import('vue').PropType<T[K]>;
15
+ required: true;
16
+ };
17
+ };
@@ -3,7 +3,9 @@ import { RouteLocationRaw } from 'vue-router';
3
3
  /**
4
4
  * Wraps content in a resource link
5
5
  */
6
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
8
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
7
9
  /**
8
10
  * The resource folder link
9
11
  */
@@ -28,13 +30,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
28
30
  default: boolean;
29
31
  };
30
32
  }>, {
31
- linkTarget: import('vue').ComputedRef<"_blank" | "_self">;
33
+ linkTarget: import("vue").ComputedRef<"_blank" | "_self">;
32
34
  }, {}, {
33
35
  isNavigatable(): boolean;
34
36
  isClickable(): boolean;
35
37
  }, {
36
38
  emitClick(e: MouseEvent): void;
37
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
39
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
38
40
  /**
39
41
  * The resource folder link
40
42
  */
@@ -61,7 +63,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
61
63
  }>> & Readonly<{
62
64
  onClick?: (...args: any[]) => any;
63
65
  }>, {
64
- link: string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric;
66
+ link: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
65
67
  isResourceClickable: boolean;
66
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
67
- export default _default;
68
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -13,9 +13,18 @@ type __VLS_Props = {
13
13
  isIconDisplayed?: boolean;
14
14
  isResourceClickable?: boolean;
15
15
  };
16
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
17
- click: (event: MouseEvent) => any;
18
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
16
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ click: (event: MouseEvent) => void;
18
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>> & Readonly<{
19
19
  onClick?: (event: MouseEvent) => any;
20
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
20
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
21
+ declare const _default: typeof __VLS_export;
21
22
  export default _default;
23
+ type __VLS_TypePropsToOption<T> = {
24
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
25
+ type: import('vue').PropType<Required<T>[K]>;
26
+ } : {
27
+ type: import('vue').PropType<T[K]>;
28
+ required: true;
29
+ };
30
+ };
@@ -8,5 +8,14 @@ type __VLS_Props = {
8
8
  isExtensionDisplayed?: boolean;
9
9
  truncateName?: boolean;
10
10
  };
11
- 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, {}, HTMLSpanElement>;
11
+ 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>;
12
+ declare const _default: typeof __VLS_export;
12
13
  export default _default;
14
+ type __VLS_TypePropsToOption<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<Required<T>[K]>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
@@ -1,7 +1,9 @@
1
1
  /**
2
2
  * Displays a formatted resource size
3
3
  */
4
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ declare const _default: typeof __VLS_export;
5
+ export default _default;
6
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
7
  /**
6
8
  * Number of bytes to display as a reasonable resource size string.
7
9
  * Value can be a non-formatted string or a number.
@@ -11,8 +13,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
11
13
  required: true;
12
14
  };
13
15
  }>, {
14
- formattedSize: import('vue').ComputedRef<string>;
15
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
16
+ formattedSize: import("vue").ComputedRef<string>;
17
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
18
  /**
17
19
  * Number of bytes to display as a reasonable resource size string.
18
20
  * Value can be a non-formatted string or a number.
@@ -21,5 +23,4 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
21
23
  type: (StringConstructor | NumberConstructor)[];
22
24
  required: true;
23
25
  };
24
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
25
- export default _default;
26
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -5,5 +5,14 @@ type __VLS_Props = {
5
5
  space?: SpaceResource;
6
6
  filter?: (indicator: ResourceIndicator) => boolean;
7
7
  };
8
- 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>;
8
+ 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 _default: typeof __VLS_export;
9
10
  export default _default;
11
+ type __VLS_TypePropsToOption<T> = {
12
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
13
+ type: import('vue').PropType<Required<T>[K]>;
14
+ } : {
15
+ type: import('vue').PropType<T[K]>;
16
+ required: true;
17
+ };
18
+ };