@opencloud-eu/web-pkg 6.0.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.
- package/dist/TextEditor-B0ZZfO_w.js +819 -0
- package/dist/assets/worker-BVTM6bn-.js +1 -0
- package/dist/assets/worker-C-Nrpmiq.js +24 -0
- package/dist/assets/worker-CzI1mBNb.js +24 -0
- package/dist/assets/worker-DDmV-och.js +24 -0
- package/dist/composables-TkULFBg4.js +20165 -0
- package/dist/src/apps/types.d.ts +9 -9
- package/dist/src/components/AppBar/AppBar.vue.d.ts +154 -97
- package/dist/src/components/AppLoadingSpinner.vue.d.ts +2 -1
- package/dist/src/components/AppTemplates/AppWrapper.vue.d.ts +37 -33
- package/dist/src/components/AppTemplates/AppWrapperRoute.d.ts +1 -1
- package/dist/src/components/AppTemplates/PartialViews/ErrorScreen.vue.d.ts +5 -4
- package/dist/src/components/AppTemplates/PartialViews/LoadingScreen.vue.d.ts +2 -1
- package/dist/src/components/AppTopBar.vue.d.ts +13 -4
- package/dist/src/components/Avatars/AvatarUpload.vue.d.ts +3 -4
- package/dist/src/components/Avatars/UserAvatar.vue.d.ts +11 -1
- package/dist/src/components/BatchActions.vue.d.ts +16 -15
- package/dist/src/components/ContextActions/ActionMenuDropItem.vue.d.ts +11 -2
- package/dist/src/components/ContextActions/ActionMenuItem.vue.d.ts +9 -8
- package/dist/src/components/ContextActions/ContextActionMenu.vue.d.ts +41 -22
- package/dist/src/components/ContextActions/ContextMenuQuickAction.vue.d.ts +143 -388
- package/dist/src/components/CreateLinkModal.vue.d.ts +17 -7
- package/dist/src/components/CreateShortcutModal.vue.d.ts +160 -149
- package/dist/src/components/CustomComponentTarget.vue.d.ts +10 -1
- package/dist/src/components/FilesList/ContextActions.vue.d.ts +56 -37
- package/dist/src/components/FilesList/ResourceGhostElement.vue.d.ts +22 -11
- package/dist/src/components/FilesList/ResourceIcon.vue.d.ts +10 -1
- package/dist/src/components/FilesList/ResourceLink.vue.d.ts +7 -6
- package/dist/src/components/FilesList/ResourceListItem.vue.d.ts +13 -4
- package/dist/src/components/FilesList/ResourceName.vue.d.ts +10 -1
- package/dist/src/components/FilesList/ResourceSize.vue.d.ts +6 -5
- package/dist/src/components/FilesList/ResourceStatusIndicators.vue.d.ts +10 -1
- package/dist/src/components/FilesList/ResourceTable.vue.d.ts +51 -154
- package/dist/src/components/FilesList/ResourceTile.vue.d.ts +37 -153
- package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +34 -119
- package/dist/src/components/Filters/DateFilter.vue.d.ts +32 -495
- package/dist/src/components/Filters/ItemFilterInline.vue.d.ts +6 -5
- package/dist/src/components/Groupware/Accounts/AccountsSwitch.vue.d.ts +3 -0
- package/dist/src/components/Groupware/Accounts/index.d.ts +1 -0
- package/dist/src/components/Groupware/index.d.ts +1 -0
- package/dist/src/components/ItemFilter.vue.d.ts +19 -204
- package/dist/src/components/ItemFilterToggle.vue.d.ts +6 -5
- package/dist/src/components/LinkRoleDropdown.vue.d.ts +7 -6
- package/dist/src/components/LoadingIndicator.vue.d.ts +5 -4
- package/dist/src/components/Modals/DatePickerModal.vue.d.ts +8 -7
- package/dist/src/components/Modals/EmojiPickerModal.vue.d.ts +6 -5
- package/dist/src/components/Modals/FilePickerModal.vue.d.ts +8 -7
- package/dist/src/components/Modals/ResourceConflictModal.vue.d.ts +9 -8
- package/dist/src/components/Modals/SaveAsModal.vue.d.ts +8 -7
- package/dist/src/components/Modals/SpaceMoveInfoModal.vue.d.ts +5 -4
- package/dist/src/components/Modals/UnsavedChangesModal.vue.d.ts +5 -4
- package/dist/src/components/Navigation/MobileNav.vue.d.ts +2 -1
- package/dist/src/components/NoContentMessage.vue.d.ts +17 -12
- package/dist/src/components/Pagination.vue.d.ts +5 -4
- package/dist/src/components/QuotaSelect.vue.d.ts +7 -6
- package/dist/src/components/Search/ResourcePreview.vue.d.ts +10 -41
- package/dist/src/components/SearchBarFilter.vue.d.ts +7 -6
- package/dist/src/components/SideBar/CompareSaveDialog.vue.d.ts +6 -5
- package/dist/src/components/SideBar/FileSideBar.vue.d.ts +10 -76
- package/dist/src/components/SideBar/Files/FileInfo.vue.d.ts +10 -1
- package/dist/src/components/SideBar/SideBar.vue.d.ts +20 -21
- package/dist/src/components/SideBar/SideBarPanels.vue.d.ts +21 -22
- package/dist/src/components/SideBar/Spaces/Details/SpaceDetails.vue.d.ts +10 -1
- package/dist/src/components/SideBar/Spaces/Details/SpaceDetailsMultiple.vue.d.ts +10 -1
- package/dist/src/components/SideBar/Spaces/SpaceInfo.vue.d.ts +2 -1
- package/dist/src/components/SideBar/Spaces/SpaceNoSelection.vue.d.ts +2 -1
- package/dist/src/components/SideBar/WebDavDetails.vue.d.ts +7 -6
- package/dist/src/components/SpaceQuota.vue.d.ts +10 -1
- package/dist/src/components/Spaces/QuotaModal.vue.d.ts +13 -4
- package/dist/src/components/Spaces/SpaceImageModal.vue.d.ts +12 -4
- package/dist/src/components/TextEditor/TextEditor.vue.d.ts +26 -0
- package/dist/src/components/TextEditor/index.d.ts +39 -0
- package/dist/src/components/VersionCheck.vue.d.ts +2 -1
- package/dist/src/components/ViewOptions.vue.d.ts +10 -1
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/composables/actions/files/useFileActionFallbackToDownload.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActions.d.ts +2 -2
- package/dist/src/composables/actions/files/useFileActionsCopy.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCopyPermanentLink.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateLink.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateNewFile.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateNewFolder.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateNewShortcut.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateSpaceFromResource.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsDelete.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsDisableSync.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsDownloadArchive.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsDownloadFile.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsEmptyTrashBin.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsEnableSync.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsFavorite.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsMove.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsNavigate.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsOpenShortcut.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsOpenWithApp.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsOpenWithDefault.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsPaste.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsRename.d.ts +2 -2
- package/dist/src/composables/actions/files/useFileActionsRestore.d.ts +2 -2
- package/dist/src/composables/actions/files/useFileActionsSaveAs.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsSetImage.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsShowActions.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsShowDetails.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsShowShares.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsToggleHideShare.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsUndoDelete.d.ts +2 -2
- package/dist/src/composables/actions/helpers/useIsAppActive.d.ts +1 -1
- package/dist/src/composables/actions/helpers/useIsFilesAppActive.d.ts +1 -1
- package/dist/src/composables/actions/helpers/useIsSearchActive.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsCreate.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsDelete.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsDeleteImage.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsDisable.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsDuplicate.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsEditDescription.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsEditQuota.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsEditReadmeContent.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsNavigateToTrash.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsRename.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsRestore.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsSetIcon.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsShowMembers.d.ts +1 -1
- package/dist/src/composables/actions/useActionsShowDetails.d.ts +1 -1
- package/dist/src/composables/appDefaults/useAppConfig.d.ts +1 -1
- package/dist/src/composables/appDefaults/useAppDocumentTitle.d.ts +2 -1
- package/dist/src/composables/appDefaults/useAppFileHandling.d.ts +4 -2
- package/dist/src/composables/appDefaults/useAppMeta.d.ts +1 -1
- package/dist/src/composables/authContext/useAuthService.d.ts +3 -1
- package/dist/src/composables/authContext/useRequest.d.ts +2 -2
- package/dist/src/composables/driveResolver/useSpacesLoading.d.ts +1 -1
- package/dist/src/composables/embedMode/useEmbedMode.d.ts +8 -8
- package/dist/src/composables/eventBus/useEventBus.d.ts +1 -1
- package/dist/src/composables/filesList/useResourceRouteResolver.d.ts +1 -1
- package/dist/src/composables/folderLink/useFolderLink.d.ts +2 -2
- package/dist/src/composables/isTopBarSticky/useIsTopBarSticky.d.ts +1 -1
- package/dist/src/composables/keyboardActions/useInterceptModifierClick.d.ts +1 -1
- package/dist/src/composables/links/useLinkTypes.d.ts +1 -1
- package/dist/src/composables/localStorage/useLocalStorage.d.ts +1 -1
- package/dist/src/composables/navItems/useNavItems.d.ts +1 -1
- package/dist/src/composables/piniaStores/apps.d.ts +31 -31
- package/dist/src/composables/piniaStores/auth.d.ts +25 -25
- package/dist/src/composables/piniaStores/avatars.d.ts +9 -9
- package/dist/src/composables/piniaStores/capabilities.d.ts +160 -160
- package/dist/src/composables/piniaStores/clipboard.d.ts +49 -49
- package/dist/src/composables/piniaStores/config/config.d.ts +135 -141
- package/dist/src/composables/piniaStores/config/types.d.ts +6 -20
- package/dist/src/composables/piniaStores/extensionRegistry/extensionPreferences.d.ts +4 -4
- package/dist/src/composables/piniaStores/extensionRegistry/extensionRegistry.d.ts +1 -1
- package/dist/src/composables/piniaStores/groupware/accounts.d.ts +511 -0
- package/dist/src/composables/piniaStores/{groupwareConfig/groupwareConfig.d.ts → groupware/config.d.ts} +107 -80
- package/dist/src/composables/piniaStores/groupware/index.d.ts +3 -0
- package/dist/src/composables/piniaStores/{groupwareConfig → groupware}/types.d.ts +30 -18
- package/dist/src/composables/piniaStores/index.d.ts +1 -1
- package/dist/src/composables/piniaStores/messages.d.ts +70 -70
- package/dist/src/composables/piniaStores/modals.d.ts +197 -209
- package/dist/src/composables/piniaStores/resources.d.ts +11 -11
- package/dist/src/composables/piniaStores/shares/shares.d.ts +1 -1
- package/dist/src/composables/piniaStores/shares/types.d.ts +2 -1
- package/dist/src/composables/piniaStores/sideBar.d.ts +7 -7
- package/dist/src/composables/piniaStores/spaces.d.ts +189 -188
- package/dist/src/composables/piniaStores/theme.d.ts +10 -10
- package/dist/src/composables/piniaStores/updates.d.ts +10 -10
- package/dist/src/composables/piniaStores/user.d.ts +5 -5
- package/dist/src/composables/piniaStores/webWorkers.d.ts +1 -1
- package/dist/src/composables/requestHeaders/useRequestHeaders.d.ts +1 -1
- package/dist/src/composables/resources/useGetResourceContext.d.ts +26 -26
- package/dist/src/composables/resources/useLoadPreview.d.ts +1 -1
- package/dist/src/composables/resources/useResourceContents.d.ts +1 -1
- package/dist/src/composables/resources/useResourceIndicators.d.ts +12 -1
- package/dist/src/composables/resources/useResourceViewDrag.d.ts +23 -13
- package/dist/src/composables/resources/useResourceViewHelpers.d.ts +30 -20
- package/dist/src/composables/resources/useResourceViewSelection.d.ts +2 -2
- package/dist/src/composables/selection/useSelectedResources.d.ts +2 -1
- package/dist/src/composables/spaces/useCreateSpace.d.ts +1 -1
- package/dist/src/composables/spaces/useSpaceHelpers.d.ts +1 -1
- package/dist/src/composables/webWorkers/deleteWorker/useDeleteWorker.d.ts +1 -1
- package/dist/src/composables/webWorkers/pasteWorker/usePasteWorker.d.ts +2 -2
- package/dist/src/composables/webWorkers/restoreWorker/useRestoreWorker.d.ts +1 -1
- package/dist/src/composables/webWorkers/tokenTimerWorker/useTokenTimerWorker.d.ts +3 -1
- package/dist/src/extensionPoints.d.ts +1 -1
- package/dist/src/helpers/resource/conflictHandling/conflictDialog.d.ts +1 -1
- package/dist/src/helpers/resource/conflictHandling/transfer.d.ts +4 -4
- package/dist/src/helpers/resource/conflictHandling/types.d.ts +1 -1
- package/dist/src/helpers/share/driveItem.d.ts +1 -1
- package/dist/src/router/common.d.ts +1 -1
- package/dist/src/router/index.d.ts +2 -1
- package/dist/src/router/public.d.ts +1 -1
- package/dist/src/router/shares.d.ts +1 -1
- package/dist/src/router/spaces.d.ts +1 -1
- package/dist/src/router/trash.d.ts +1 -1
- package/dist/src/services/passwordPolicy/rules.d.ts +63 -0
- package/dist/src/services/preview/types.d.ts +1 -1
- package/dist/src/services/uppy/DropTarget/plugin.d.ts +2 -1
- package/dist/src/services/uppy/uppyService.d.ts +3 -3
- package/dist/web-pkg.js +4251 -352
- package/package.json +36 -37
- package/dist/TextEditor-D-HQDUkm.js +0 -865
- package/dist/assets/worker-BBQqm_-D.js +0 -1
- package/dist/assets/worker-CVwKToFD.js +0 -21
- package/dist/assets/worker-DJbU-qfq.js +0 -21
- package/dist/assets/worker-DyU7W9CZ.js +0 -21
- package/dist/index-OU30YA6H.js +0 -25032
- package/dist/src/composables/piniaStores/groupwareConfig/index.d.ts +0 -2
- package/dist/web-pkg.umd.cjs +0 -16
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { ComponentPublicInstance,
|
|
1
|
+
import { ComponentPublicInstance, PropType, Ref } from 'vue';
|
|
2
2
|
import { SpaceResource } from '@opencloud-eu/web-client';
|
|
3
3
|
import { Modal } from '../composables';
|
|
4
4
|
import { SearchResult, SearchResultValue } from './Search';
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
8
|
modal: {
|
|
7
9
|
type: PropType<Modal>;
|
|
8
10
|
required: true;
|
|
@@ -14,134 +16,171 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
14
16
|
}>, {
|
|
15
17
|
inputUrl: Ref<string, string>;
|
|
16
18
|
inputFilename: Ref<string, string>;
|
|
17
|
-
dropRef: Readonly<import(
|
|
18
|
-
new (...args: any[]): import(
|
|
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<{
|
|
19
55
|
onHideDrop?: () => any;
|
|
20
56
|
onShowDrop?: () => any;
|
|
21
57
|
}>, {
|
|
22
|
-
show: ({ event, useMouseAnchor }?: {
|
|
58
|
+
show: ({ event, useMouseAnchor, noFocus }?: {
|
|
23
59
|
event?: Event;
|
|
24
60
|
useMouseAnchor?: boolean;
|
|
25
|
-
|
|
61
|
+
noFocus?: boolean;
|
|
62
|
+
}) => Promise<void>;
|
|
26
63
|
hide: () => void;
|
|
27
|
-
}, {}, {}, {}, import(
|
|
28
|
-
hideDrop: () =>
|
|
29
|
-
showDrop: () =>
|
|
30
|
-
}, import(
|
|
31
|
-
bottomDrawerRef: {
|
|
32
|
-
$: import('vue').ComponentInternalInstance;
|
|
33
|
-
$data: {};
|
|
34
|
-
$props: {
|
|
35
|
-
readonly drawerId: string;
|
|
36
|
-
readonly toggle: string;
|
|
37
|
-
readonly closeOnClick?: boolean;
|
|
38
|
-
readonly title?: string;
|
|
39
|
-
readonly registerClickHandler?: boolean;
|
|
40
|
-
readonly onShow?: () => any;
|
|
41
|
-
readonly onHide?: () => any;
|
|
42
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
43
|
-
$attrs: {
|
|
44
|
-
[x: string]: unknown;
|
|
45
|
-
};
|
|
46
|
-
$refs: {
|
|
47
|
-
[x: string]: unknown;
|
|
48
|
-
} & {
|
|
49
|
-
bottomDrawerCardBodyRef: HTMLDivElement;
|
|
50
|
-
};
|
|
51
|
-
$slots: Readonly<{
|
|
52
|
-
[name: string]: import('vue').Slot<any>;
|
|
53
|
-
}>;
|
|
54
|
-
$root: ComponentPublicInstance | null;
|
|
55
|
-
$parent: ComponentPublicInstance | null;
|
|
56
|
-
$host: Element | null;
|
|
57
|
-
$emit: ((event: "show") => void) & ((event: "hide") => void);
|
|
58
|
-
$el: any;
|
|
59
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcDrop/OcMobileDrop.vue').Props> & Readonly<{
|
|
60
|
-
onShow?: () => any;
|
|
61
|
-
onHide?: () => any;
|
|
62
|
-
}>, {
|
|
63
|
-
show: () => Promise<void>;
|
|
64
|
-
hide: () => void;
|
|
65
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
66
|
-
show: () => any;
|
|
67
|
-
hide: () => any;
|
|
68
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
69
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
70
|
-
created?: (() => void) | (() => void)[];
|
|
71
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
72
|
-
mounted?: (() => void) | (() => void)[];
|
|
73
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
74
|
-
updated?: (() => void) | (() => void)[];
|
|
75
|
-
activated?: (() => void) | (() => void)[];
|
|
76
|
-
deactivated?: (() => void) | (() => void)[];
|
|
77
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
78
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
79
|
-
destroyed?: (() => void) | (() => void)[];
|
|
80
|
-
unmounted?: (() => void) | (() => void)[];
|
|
81
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
82
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
83
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
84
|
-
};
|
|
85
|
-
$forceUpdate: () => void;
|
|
86
|
-
$nextTick: typeof nextTick;
|
|
87
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
88
|
-
} & Readonly<{}> & Omit<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcDrop/OcMobileDrop.vue').Props> & Readonly<{
|
|
89
|
-
onShow?: () => any;
|
|
90
|
-
onHide?: () => any;
|
|
91
|
-
}>, "show" | "hide"> & import('vue').ShallowUnwrapRef<{
|
|
92
|
-
show: () => Promise<void>;
|
|
93
|
-
hide: () => void;
|
|
94
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
95
|
-
$slots: Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcDrop/OcMobileDrop.vue').Slots> & import('node_modules/@opencloud-eu/design-system/src/components/OcDrop/OcMobileDrop.vue').Slots;
|
|
96
|
-
};
|
|
97
|
-
drop: HTMLDivElement;
|
|
98
|
-
}, any, import('vue').ComponentProvideOptions, {
|
|
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, {
|
|
99
68
|
P: {};
|
|
100
69
|
B: {};
|
|
101
70
|
D: {};
|
|
102
71
|
C: {};
|
|
103
72
|
M: {};
|
|
104
73
|
Defaults: {};
|
|
105
|
-
}, Readonly<import(
|
|
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<{
|
|
106
109
|
onHideDrop?: () => any;
|
|
107
110
|
onShowDrop?: () => any;
|
|
108
111
|
}>, {
|
|
109
|
-
show: ({ event, useMouseAnchor }?: {
|
|
112
|
+
show: ({ event, useMouseAnchor, noFocus }?: {
|
|
110
113
|
event?: Event;
|
|
111
114
|
useMouseAnchor?: boolean;
|
|
112
|
-
|
|
115
|
+
noFocus?: boolean;
|
|
116
|
+
}) => Promise<void>;
|
|
113
117
|
hide: () => void;
|
|
114
118
|
}, {}, {}, {}, {}>;
|
|
115
119
|
__isFragment?: never;
|
|
116
120
|
__isTeleport?: never;
|
|
117
121
|
__isSuspense?: never;
|
|
118
|
-
} & import(
|
|
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<{
|
|
119
157
|
onHideDrop?: () => any;
|
|
120
158
|
onShowDrop?: () => any;
|
|
121
159
|
}>, {
|
|
122
|
-
show: ({ event, useMouseAnchor }?: {
|
|
160
|
+
show: ({ event, useMouseAnchor, noFocus }?: {
|
|
123
161
|
event?: Event;
|
|
124
162
|
useMouseAnchor?: boolean;
|
|
125
|
-
|
|
163
|
+
noFocus?: boolean;
|
|
164
|
+
}) => Promise<void>;
|
|
126
165
|
hide: () => void;
|
|
127
|
-
}, {}, {}, {}, import(
|
|
128
|
-
hideDrop: () =>
|
|
129
|
-
showDrop: () =>
|
|
130
|
-
}, string, {}, {}, string, {}, import(
|
|
131
|
-
$slots:
|
|
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;
|
|
132
171
|
})>>>;
|
|
133
|
-
dropItemUrl: import(
|
|
172
|
+
dropItemUrl: import("vue").ComputedRef<string>;
|
|
134
173
|
searchResult: Ref<SearchResult, SearchResult>;
|
|
135
|
-
confirmButtonDisabled: import(
|
|
136
|
-
inputFileNameErrorMessage: import(
|
|
137
|
-
searchTask: import(
|
|
174
|
+
confirmButtonDisabled: import("vue").ComputedRef<boolean>;
|
|
175
|
+
inputFileNameErrorMessage: import("vue").ComputedRef<string>;
|
|
176
|
+
searchTask: import("vue-concurrency").Task<void, [searchTerm: string]>;
|
|
138
177
|
dropItemUrlClicked: () => void;
|
|
139
178
|
dropItemResourceClicked: (item: SearchResultValue) => void;
|
|
140
|
-
getPathPrefix: (resource: import(
|
|
141
|
-
getFolderLink: (resource: import(
|
|
142
|
-
getParentFolderLink: (resource: import(
|
|
143
|
-
getParentFolderName: (resource: import(
|
|
144
|
-
getParentFolderLinkIconAdditionalAttributes: (resource: import(
|
|
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) => {
|
|
145
184
|
name: string;
|
|
146
185
|
'fill-type': string;
|
|
147
186
|
} | {
|
|
@@ -158,7 +197,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
158
197
|
onClickUrlInput: () => void;
|
|
159
198
|
isDropItemActive: (index: number) => boolean;
|
|
160
199
|
onConfirm: () => Promise<void>;
|
|
161
|
-
}, {}, {}, {}, import(
|
|
200
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:confirmDisabled"[], "update:confirmDisabled", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
162
201
|
modal: {
|
|
163
202
|
type: PropType<Modal>;
|
|
164
203
|
required: true;
|
|
@@ -170,53 +209,25 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
170
209
|
}>> & Readonly<{
|
|
171
210
|
"onUpdate:confirmDisabled"?: (...args: any[]) => any;
|
|
172
211
|
}>, {}, {}, {
|
|
173
|
-
ResourcePreview: import(
|
|
174
|
-
searchResult
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
term
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
onClick?: (event: MouseEvent) => any;
|
|
196
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
197
|
-
click: (event: MouseEvent) => any;
|
|
198
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
199
|
-
P: {};
|
|
200
|
-
B: {};
|
|
201
|
-
D: {};
|
|
202
|
-
C: {};
|
|
203
|
-
M: {};
|
|
204
|
-
Defaults: {};
|
|
205
|
-
}, Readonly<{
|
|
206
|
-
resource: import('@opencloud-eu/web-client').Resource;
|
|
207
|
-
pathPrefix?: string;
|
|
208
|
-
link?: import('vue-router').RouteLocationRaw;
|
|
209
|
-
isPathDisplayed?: boolean;
|
|
210
|
-
parentFolderLink?: import('vue-router').RouteLocationRaw;
|
|
211
|
-
parentFolderName?: string;
|
|
212
|
-
parentFolderLinkIconAdditionalAttributes?: Record<string, unknown>;
|
|
213
|
-
isExtensionDisplayed?: boolean;
|
|
214
|
-
isThumbnailDisplayed?: boolean;
|
|
215
|
-
isIconDisplayed?: boolean;
|
|
216
|
-
isResourceClickable?: boolean;
|
|
217
|
-
}> & Readonly<{
|
|
218
|
-
onClick?: (event: MouseEvent) => any;
|
|
219
|
-
}>, {}, {}, {}, {}, {}>;
|
|
220
|
-
}, HTMLDivElement>;
|
|
221
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
222
|
-
export default _default;
|
|
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>;
|
|
@@ -2,5 +2,14 @@ import { CustomComponentExtension, ExtensionPoint } from '../composables';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
extensionPoint: ExtensionPoint<CustomComponentExtension>;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
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;
|
|
6
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
|
+
required: true;
|
|
14
|
+
};
|
|
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:
|
|
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(
|
|
11
|
-
}, {}, {}, {}, import(
|
|
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(
|
|
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(
|
|
25
|
+
type: PropType<import("@opencloud-eu/design-system/helpers").AppearanceType>;
|
|
24
26
|
default: string;
|
|
25
27
|
};
|
|
26
28
|
actionOptions: {
|
|
27
|
-
type: PropType<import(
|
|
29
|
+
type: PropType<import("../../composables").ActionOptions>;
|
|
28
30
|
required: true;
|
|
29
31
|
};
|
|
30
32
|
}>, {}, {}, {}, {
|
|
31
33
|
getSectionClasses(index: number): string[];
|
|
32
|
-
}, import(
|
|
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(
|
|
40
|
+
type: PropType<import("@opencloud-eu/design-system/helpers").AppearanceType>;
|
|
39
41
|
default: string;
|
|
40
42
|
};
|
|
41
43
|
actionOptions: {
|
|
42
|
-
type: PropType<import(
|
|
44
|
+
type: PropType<import("../../composables").ActionOptions>;
|
|
43
45
|
required: true;
|
|
44
46
|
};
|
|
45
47
|
}>> & Readonly<{}>, {
|
|
46
|
-
appearance: import(
|
|
48
|
+
appearance: import("@opencloud-eu/design-system/helpers").AppearanceType;
|
|
47
49
|
}, {}, {
|
|
48
|
-
ActionMenuDropItem: import(
|
|
49
|
-
menuSectionDrop:
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
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(
|
|
79
|
+
type: PropType<import("../../composables").Action>;
|
|
60
80
|
required: true;
|
|
61
81
|
};
|
|
62
82
|
actionOptions: {
|
|
63
|
-
type: PropType<import(
|
|
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(
|
|
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(
|
|
91
|
-
componentProps: import(
|
|
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(
|
|
114
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
95
115
|
id: string;
|
|
96
116
|
disabled: boolean;
|
|
97
|
-
appearance: import(
|
|
117
|
+
appearance: import("@opencloud-eu/design-system/helpers").AppearanceType;
|
|
98
118
|
}>;
|
|
99
|
-
actionIcon: import(
|
|
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(
|
|
127
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
108
128
|
action: {
|
|
109
|
-
type: PropType<import(
|
|
129
|
+
type: PropType<import("../../composables").Action>;
|
|
110
130
|
required: true;
|
|
111
131
|
};
|
|
112
132
|
actionOptions: {
|
|
113
|
-
type: PropType<import(
|
|
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(
|
|
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(
|
|
161
|
+
appearance: import("@opencloud-eu/design-system/helpers").AppearanceType;
|
|
142
162
|
shortcutHint: boolean;
|
|
143
163
|
showTooltip: boolean;
|
|
144
164
|
buttonClasses: string[];
|
|
145
|
-
}, {}, {}, {}, string, import(
|
|
146
|
-
}, {}, string, import(
|
|
147
|
-
}, {}, string, import(
|
|
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:
|
|
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(
|
|
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(
|
|
23
|
-
resource:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
size
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
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
|
|
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
|
+
};
|