鍒濆鎻愪氦锛氱墰鍙暟鎹鐞嗙郴缁?- 鍖呭惈鍚庣Spring Boot鍜屽墠绔疺ue3椤圭洰
This commit is contained in:
24
admin-system/node_modules/element-plus/lib/components/tabs/src/constants.d.ts
generated
vendored
Normal file
24
admin-system/node_modules/element-plus/lib/components/tabs/src/constants.d.ts
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
import type { ComputedRef, InjectionKey, Ref, Slots, UnwrapRef, VNode } from 'vue';
|
||||
import type { TabsProps } from './tabs';
|
||||
import type { TabPaneProps } from './tab-pane';
|
||||
import type { TabNavInstance } from './tab-nav';
|
||||
export type TabPaneName = string | number;
|
||||
export type TabsPaneContext = UnwrapRef<{
|
||||
uid: number;
|
||||
getVnode: () => VNode;
|
||||
slots: Slots;
|
||||
props: TabPaneProps;
|
||||
paneName: ComputedRef<TabPaneName | undefined>;
|
||||
active: ComputedRef<boolean>;
|
||||
index: Ref<string | undefined>;
|
||||
isClosable: ComputedRef<boolean>;
|
||||
isFocusInsidePane: () => boolean | undefined;
|
||||
}>;
|
||||
export interface TabsRootContext {
|
||||
props: TabsProps;
|
||||
currentName: Ref<TabPaneName>;
|
||||
registerPane: (pane: TabsPaneContext) => void;
|
||||
unregisterPane: (pane: TabsPaneContext) => void;
|
||||
nav$: Ref<TabNavInstance | undefined>;
|
||||
}
|
||||
export declare const tabsRootContextKey: InjectionKey<TabsRootContext>;
|
||||
Reference in New Issue
Block a user