mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-31 18:10:50 +01:00
46 lines
1.4 KiB
Go
46 lines
1.4 KiB
Go
declare const useDatabaseDetail: () => {
|
|
navItems: import('vue').ComputedRef<NavItem<BaseModel>[]>;
|
|
activeId: import('vue').ComputedRef<string>;
|
|
navSidebar: import('vue').Ref<{
|
|
scroll: (id: string) => void;
|
|
} | null>;
|
|
navActions: import('vue').Ref<{
|
|
getHeight: () => string;
|
|
} | null>;
|
|
showActionsToggleTooltip: import('vue').Ref<boolean>;
|
|
tabs: import('vue').ComputedRef<
|
|
{
|
|
title: string;
|
|
disabled: boolean;
|
|
id: string;
|
|
subtitle?: string;
|
|
data?: any;
|
|
icon?: string[] | string;
|
|
tooltip?: string;
|
|
emphasis?: boolean;
|
|
style?: any;
|
|
badge?: string | number;
|
|
badgeType?: BasicType;
|
|
label?: string;
|
|
value?: any;
|
|
children?: NavItem<any>[] | undefined;
|
|
path?: string;
|
|
}[]
|
|
>;
|
|
activeTabName: import('vue').ComputedRef<string>;
|
|
sidebarCollapsed: import('vue').ComputedRef<boolean>;
|
|
actionsCollapsed: import('vue').ComputedRef<boolean>;
|
|
contentContainerStyle: import('vue').ComputedRef<{
|
|
height: string;
|
|
}>;
|
|
getForm: () => Promise<Promise<any>>;
|
|
onNavSidebarSelect: (item: NavItem) => Promise<void>;
|
|
onNavSidebarToggle: (value: boolean) => void;
|
|
onActionsToggle: () => void;
|
|
onNavTabsSelect: (tabName: string) => Promise<void>;
|
|
onNavTabsToggle: () => void;
|
|
onBack: () => Promise<void>;
|
|
onSave: () => Promise<void>;
|
|
};
|
|
export default useDatabaseDetail;
|