naive-ui
Version:
A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast
273 lines (272 loc) • 10.2 kB
TypeScript
import type { ExtractPublicPropTypes } from '../../_utils';
export declare const headerProps: {
readonly position: {
readonly type: import("vue").PropType<"static" | "absolute">;
readonly default: "static";
};
readonly inverted: BooleanConstructor;
readonly bordered: {
readonly type: BooleanConstructor;
readonly default: false;
};
};
export type LayoutHeaderProps = ExtractPublicPropTypes<typeof headerProps>;
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
position: {
readonly type: import("vue").PropType<"static" | "absolute">;
readonly default: "static";
};
inverted: BooleanConstructor;
bordered: {
readonly type: BooleanConstructor;
readonly default: false;
};
theme: import("vue").PropType<import("../../_mixins").Theme<"Layout", {
textColor: string;
textColorInverted: string;
color: string;
colorEmbedded: string;
headerColor: string;
headerColorInverted: string;
footerColor: string;
footerColorInverted: string;
headerBorderColor: string;
headerBorderColorInverted: string;
footerBorderColor: string;
footerBorderColorInverted: string;
siderBorderColor: string;
siderBorderColorInverted: string;
siderColor: string;
siderColorInverted: string;
siderToggleButtonBorder: string;
siderToggleButtonColor: string;
siderToggleButtonIconColor: string;
siderToggleButtonIconColorInverted: string;
siderToggleBarColor: string;
siderToggleBarColorHover: string;
__invertScrollbar: string;
}, {
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
height: string;
width: string;
borderRadius: string;
color: string;
colorHover: string;
railInsetHorizontalBottom: string;
railInsetHorizontalTop: string;
railInsetVerticalRight: string;
railInsetVerticalLeft: string;
railColor: string;
}, any>;
}>>;
themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Layout", {
textColor: string;
textColorInverted: string;
color: string;
colorEmbedded: string;
headerColor: string;
headerColorInverted: string;
footerColor: string;
footerColorInverted: string;
headerBorderColor: string;
headerBorderColorInverted: string;
footerBorderColor: string;
footerBorderColorInverted: string;
siderBorderColor: string;
siderBorderColorInverted: string;
siderColor: string;
siderColorInverted: string;
siderToggleButtonBorder: string;
siderToggleButtonColor: string;
siderToggleButtonIconColor: string;
siderToggleButtonIconColorInverted: string;
siderToggleBarColor: string;
siderToggleBarColorHover: string;
__invertScrollbar: string;
}, {
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
height: string;
width: string;
borderRadius: string;
color: string;
colorHover: string;
railInsetHorizontalBottom: string;
railInsetHorizontalTop: string;
railInsetVerticalRight: string;
railInsetVerticalLeft: string;
railColor: string;
}, any>;
}>>>;
builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Layout", {
textColor: string;
textColorInverted: string;
color: string;
colorEmbedded: string;
headerColor: string;
headerColorInverted: string;
footerColor: string;
footerColorInverted: string;
headerBorderColor: string;
headerBorderColorInverted: string;
footerBorderColor: string;
footerBorderColorInverted: string;
siderBorderColor: string;
siderBorderColorInverted: string;
siderColor: string;
siderColorInverted: string;
siderToggleButtonBorder: string;
siderToggleButtonColor: string;
siderToggleButtonIconColor: string;
siderToggleButtonIconColorInverted: string;
siderToggleBarColor: string;
siderToggleBarColorHover: string;
__invertScrollbar: string;
}, {
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
height: string;
width: string;
borderRadius: string;
color: string;
colorHover: string;
railInsetHorizontalBottom: string;
railInsetHorizontalTop: string;
railInsetVerticalRight: string;
railInsetVerticalLeft: string;
railColor: string;
}, any>;
}>>>;
}>, {
mergedClsPrefix: import("vue").Ref<string, string>;
cssVars: import("vue").ComputedRef<any> | undefined;
themeClass: import("vue").Ref<string, string> | undefined;
onRender: (() => void) | undefined;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
position: {
readonly type: import("vue").PropType<"static" | "absolute">;
readonly default: "static";
};
inverted: BooleanConstructor;
bordered: {
readonly type: BooleanConstructor;
readonly default: false;
};
theme: import("vue").PropType<import("../../_mixins").Theme<"Layout", {
textColor: string;
textColorInverted: string;
color: string;
colorEmbedded: string;
headerColor: string;
headerColorInverted: string;
footerColor: string;
footerColorInverted: string;
headerBorderColor: string;
headerBorderColorInverted: string;
footerBorderColor: string;
footerBorderColorInverted: string;
siderBorderColor: string;
siderBorderColorInverted: string;
siderColor: string;
siderColorInverted: string;
siderToggleButtonBorder: string;
siderToggleButtonColor: string;
siderToggleButtonIconColor: string;
siderToggleButtonIconColorInverted: string;
siderToggleBarColor: string;
siderToggleBarColorHover: string;
__invertScrollbar: string;
}, {
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
height: string;
width: string;
borderRadius: string;
color: string;
colorHover: string;
railInsetHorizontalBottom: string;
railInsetHorizontalTop: string;
railInsetVerticalRight: string;
railInsetVerticalLeft: string;
railColor: string;
}, any>;
}>>;
themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Layout", {
textColor: string;
textColorInverted: string;
color: string;
colorEmbedded: string;
headerColor: string;
headerColorInverted: string;
footerColor: string;
footerColorInverted: string;
headerBorderColor: string;
headerBorderColorInverted: string;
footerBorderColor: string;
footerBorderColorInverted: string;
siderBorderColor: string;
siderBorderColorInverted: string;
siderColor: string;
siderColorInverted: string;
siderToggleButtonBorder: string;
siderToggleButtonColor: string;
siderToggleButtonIconColor: string;
siderToggleButtonIconColorInverted: string;
siderToggleBarColor: string;
siderToggleBarColorHover: string;
__invertScrollbar: string;
}, {
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
height: string;
width: string;
borderRadius: string;
color: string;
colorHover: string;
railInsetHorizontalBottom: string;
railInsetHorizontalTop: string;
railInsetVerticalRight: string;
railInsetVerticalLeft: string;
railColor: string;
}, any>;
}>>>;
builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Layout", {
textColor: string;
textColorInverted: string;
color: string;
colorEmbedded: string;
headerColor: string;
headerColorInverted: string;
footerColor: string;
footerColorInverted: string;
headerBorderColor: string;
headerBorderColorInverted: string;
footerBorderColor: string;
footerBorderColorInverted: string;
siderBorderColor: string;
siderBorderColorInverted: string;
siderColor: string;
siderColorInverted: string;
siderToggleButtonBorder: string;
siderToggleButtonColor: string;
siderToggleButtonIconColor: string;
siderToggleButtonIconColorInverted: string;
siderToggleBarColor: string;
siderToggleBarColorHover: string;
__invertScrollbar: string;
}, {
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
height: string;
width: string;
borderRadius: string;
color: string;
colorHover: string;
railInsetHorizontalBottom: string;
railInsetHorizontalTop: string;
railInsetVerticalRight: string;
railInsetVerticalLeft: string;
railColor: string;
}, any>;
}>>>;
}>> & Readonly<{}>, {
position: "static" | "absolute";
bordered: boolean;
inverted: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;