UNPKG

naive-ui

Version:

A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast

133 lines (132 loc) 5.63 kB
import type { ExtractPublicPropTypes } from '../../_utils'; import { type SlotsType, type VNode } from 'vue'; export declare const statisticProps: { tabularNums: BooleanConstructor; label: StringConstructor; value: (StringConstructor | NumberConstructor)[]; theme: import("vue").PropType<import("../../_mixins").Theme<"Statistic", { labelFontSize: string; labelFontWeight: string; valueFontWeight: string; valueFontSize: string; labelTextColor: string; valuePrefixTextColor: string; valueSuffixTextColor: string; valueTextColor: string; }, any>>; themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Statistic", { labelFontSize: string; labelFontWeight: string; valueFontWeight: string; valueFontSize: string; labelTextColor: string; valuePrefixTextColor: string; valueSuffixTextColor: string; valueTextColor: string; }, any>>>; builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Statistic", { labelFontSize: string; labelFontWeight: string; valueFontWeight: string; valueFontSize: string; labelTextColor: string; valuePrefixTextColor: string; valueSuffixTextColor: string; valueTextColor: string; }, any>>>; }; export type StatisticProps = ExtractPublicPropTypes<typeof statisticProps>; export interface StatisticSlots { default?: () => VNode[]; label?: () => VNode[]; prefix?: () => VNode[]; suffix?: () => VNode[]; } declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ tabularNums: BooleanConstructor; label: StringConstructor; value: (StringConstructor | NumberConstructor)[]; theme: import("vue").PropType<import("../../_mixins").Theme<"Statistic", { labelFontSize: string; labelFontWeight: string; valueFontWeight: string; valueFontSize: string; labelTextColor: string; valuePrefixTextColor: string; valueSuffixTextColor: string; valueTextColor: string; }, any>>; themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Statistic", { labelFontSize: string; labelFontWeight: string; valueFontWeight: string; valueFontSize: string; labelTextColor: string; valuePrefixTextColor: string; valueSuffixTextColor: string; valueTextColor: string; }, any>>>; builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Statistic", { labelFontSize: string; labelFontWeight: string; valueFontWeight: string; valueFontSize: string; labelTextColor: string; valuePrefixTextColor: string; valueSuffixTextColor: string; valueTextColor: string; }, any>>>; }>, { rtlEnabled: import("vue").Ref<import("../../config-provider/src/internal-interface").RtlItem | undefined, import("../../config-provider/src/internal-interface").RtlItem | undefined> | undefined; mergedClsPrefix: import("vue").Ref<string, string>; cssVars: import("vue").ComputedRef<{ '--n-bezier': string; '--n-label-font-size': string; '--n-label-font-weight': string; '--n-label-text-color': string; '--n-value-font-weight': string; '--n-value-font-size': string; '--n-value-prefix-text-color': string; '--n-value-suffix-text-color': string; '--n-value-text-color': string; }> | 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<{ tabularNums: BooleanConstructor; label: StringConstructor; value: (StringConstructor | NumberConstructor)[]; theme: import("vue").PropType<import("../../_mixins").Theme<"Statistic", { labelFontSize: string; labelFontWeight: string; valueFontWeight: string; valueFontSize: string; labelTextColor: string; valuePrefixTextColor: string; valueSuffixTextColor: string; valueTextColor: string; }, any>>; themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Statistic", { labelFontSize: string; labelFontWeight: string; valueFontWeight: string; valueFontSize: string; labelTextColor: string; valuePrefixTextColor: string; valueSuffixTextColor: string; valueTextColor: string; }, any>>>; builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Statistic", { labelFontSize: string; labelFontWeight: string; valueFontWeight: string; valueFontSize: string; labelTextColor: string; valuePrefixTextColor: string; valueSuffixTextColor: string; valueTextColor: string; }, any>>>; }>> & Readonly<{}>, { tabularNums: boolean; }, SlotsType<StatisticSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;