UNPKG

naive-ui

Version:

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

462 lines (461 loc) 20.2 kB
import type { ExtractPublicPropTypes } from '../../_utils'; import type { FormItemInst } from './interface'; export declare const formItemColProps: { readonly label: StringConstructor; readonly labelWidth: import("vue").PropType<string | number>; readonly labelStyle: import("vue").PropType<import("vue").CSSProperties | string>; readonly labelAlign: import("vue").PropType<import("./interface").LabelAlign>; readonly labelPlacement: import("vue").PropType<import("./interface").LabelPlacement>; readonly path: StringConstructor; readonly first: BooleanConstructor; readonly rulePath: StringConstructor; readonly required: BooleanConstructor; readonly showRequireMark: { readonly type: import("vue").PropType<boolean | undefined>; readonly default: undefined; }; readonly requireMarkPlacement: import("vue").PropType<"left" | "right" | "right-hanging">; readonly showFeedback: { readonly type: import("vue").PropType<boolean | undefined>; readonly default: undefined; }; readonly rule: import("vue").PropType<import("./interface").FormItemRule | import("./interface").FormItemRule[]>; readonly size: import("vue").PropType<"small" | "medium" | "large">; readonly ignorePathChange: BooleanConstructor; readonly validationStatus: import("vue").PropType<"error" | "warning" | "success">; readonly feedback: StringConstructor; readonly feedbackClass: StringConstructor; readonly feedbackStyle: import("vue").PropType<string | import("vue").CSSProperties>; readonly showLabel: { readonly type: import("vue").PropType<boolean | undefined>; readonly default: undefined; }; readonly labelProps: import("vue").PropType<import("vue").LabelHTMLAttributes>; readonly theme: import("vue").PropType<import("../../_mixins").Theme<"Form", { blankHeightSmall: string; blankHeightMedium: string; blankHeightLarge: string; lineHeight: string; labelTextColor: string; asteriskColor: string; feedbackTextColorError: string; feedbackTextColorWarning: string; feedbackTextColor: string; feedbackPadding: string; feedbackHeightSmall: string; feedbackHeightMedium: string; feedbackHeightLarge: string; feedbackFontSizeSmall: string; feedbackFontSizeMedium: string; feedbackFontSizeLarge: string; labelFontSizeLeftSmall: string; labelFontSizeLeftMedium: string; labelFontSizeLeftLarge: string; labelFontSizeTopSmall: string; labelFontSizeTopMedium: string; labelFontSizeTopLarge: string; labelHeightSmall: string; labelHeightMedium: string; labelHeightLarge: string; labelPaddingVertical: string; labelPaddingHorizontal: string; labelTextAlignVertical: string; labelTextAlignHorizontal: string; labelFontWeight: string; }, any>>; readonly themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Form", { blankHeightSmall: string; blankHeightMedium: string; blankHeightLarge: string; lineHeight: string; labelTextColor: string; asteriskColor: string; feedbackTextColorError: string; feedbackTextColorWarning: string; feedbackTextColor: string; feedbackPadding: string; feedbackHeightSmall: string; feedbackHeightMedium: string; feedbackHeightLarge: string; feedbackFontSizeSmall: string; feedbackFontSizeMedium: string; feedbackFontSizeLarge: string; labelFontSizeLeftSmall: string; labelFontSizeLeftMedium: string; labelFontSizeLeftLarge: string; labelFontSizeTopSmall: string; labelFontSizeTopMedium: string; labelFontSizeTopLarge: string; labelHeightSmall: string; labelHeightMedium: string; labelHeightLarge: string; labelPaddingVertical: string; labelPaddingHorizontal: string; labelTextAlignVertical: string; labelTextAlignHorizontal: string; labelFontWeight: string; }, any>>>; readonly builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Form", { blankHeightSmall: string; blankHeightMedium: string; blankHeightLarge: string; lineHeight: string; labelTextColor: string; asteriskColor: string; feedbackTextColorError: string; feedbackTextColorWarning: string; feedbackTextColor: string; feedbackPadding: string; feedbackHeightSmall: string; feedbackHeightMedium: string; feedbackHeightLarge: string; feedbackFontSizeSmall: string; feedbackFontSizeMedium: string; feedbackFontSizeLarge: string; labelFontSizeLeftSmall: string; labelFontSizeLeftMedium: string; labelFontSizeLeftLarge: string; labelFontSizeTopSmall: string; labelFontSizeTopMedium: string; labelFontSizeTopLarge: string; labelHeightSmall: string; labelHeightMedium: string; labelHeightLarge: string; labelPaddingVertical: string; labelPaddingHorizontal: string; labelTextAlignVertical: string; labelTextAlignHorizontal: string; labelFontWeight: string; }, any>>>; readonly span: { readonly type: import("vue").PropType<import("../../legacy-grid/src/interface").Span>; readonly default: 1; }; readonly push: { readonly type: import("vue").PropType<import("../../legacy-grid/src/interface").Span>; readonly default: 0; }; readonly pull: { readonly type: import("vue").PropType<import("../../legacy-grid/src/interface").Span>; readonly default: 0; }; readonly offset: { readonly type: import("vue").PropType<import("../../legacy-grid/src/interface").Span>; readonly default: 0; }; }; export declare const formItemColPropKeys: ("label" | "size" | "push" | "span" | "first" | "offset" | "required" | "path" | "theme" | "themeOverrides" | "builtinThemeOverrides" | "labelPlacement" | "labelAlign" | "labelStyle" | "labelWidth" | "showRequireMark" | "requireMarkPlacement" | "showFeedback" | "showLabel" | "rulePath" | "rule" | "ignorePathChange" | "validationStatus" | "feedback" | "feedbackClass" | "feedbackStyle" | "labelProps" | "pull")[]; export type FormItemColProps = ExtractPublicPropTypes<typeof formItemColProps>; declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ readonly label: StringConstructor; readonly labelWidth: import("vue").PropType<string | number>; readonly labelStyle: import("vue").PropType<import("vue").CSSProperties | string>; readonly labelAlign: import("vue").PropType<import("./interface").LabelAlign>; readonly labelPlacement: import("vue").PropType<import("./interface").LabelPlacement>; readonly path: StringConstructor; readonly first: BooleanConstructor; readonly rulePath: StringConstructor; readonly required: BooleanConstructor; readonly showRequireMark: { readonly type: import("vue").PropType<boolean | undefined>; readonly default: undefined; }; readonly requireMarkPlacement: import("vue").PropType<"left" | "right" | "right-hanging">; readonly showFeedback: { readonly type: import("vue").PropType<boolean | undefined>; readonly default: undefined; }; readonly rule: import("vue").PropType<import("./interface").FormItemRule | import("./interface").FormItemRule[]>; readonly size: import("vue").PropType<"small" | "medium" | "large">; readonly ignorePathChange: BooleanConstructor; readonly validationStatus: import("vue").PropType<"error" | "warning" | "success">; readonly feedback: StringConstructor; readonly feedbackClass: StringConstructor; readonly feedbackStyle: import("vue").PropType<string | import("vue").CSSProperties>; readonly showLabel: { readonly type: import("vue").PropType<boolean | undefined>; readonly default: undefined; }; readonly labelProps: import("vue").PropType<import("vue").LabelHTMLAttributes>; readonly theme: import("vue").PropType<import("../../_mixins").Theme<"Form", { blankHeightSmall: string; blankHeightMedium: string; blankHeightLarge: string; lineHeight: string; labelTextColor: string; asteriskColor: string; feedbackTextColorError: string; feedbackTextColorWarning: string; feedbackTextColor: string; feedbackPadding: string; feedbackHeightSmall: string; feedbackHeightMedium: string; feedbackHeightLarge: string; feedbackFontSizeSmall: string; feedbackFontSizeMedium: string; feedbackFontSizeLarge: string; labelFontSizeLeftSmall: string; labelFontSizeLeftMedium: string; labelFontSizeLeftLarge: string; labelFontSizeTopSmall: string; labelFontSizeTopMedium: string; labelFontSizeTopLarge: string; labelHeightSmall: string; labelHeightMedium: string; labelHeightLarge: string; labelPaddingVertical: string; labelPaddingHorizontal: string; labelTextAlignVertical: string; labelTextAlignHorizontal: string; labelFontWeight: string; }, any>>; readonly themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Form", { blankHeightSmall: string; blankHeightMedium: string; blankHeightLarge: string; lineHeight: string; labelTextColor: string; asteriskColor: string; feedbackTextColorError: string; feedbackTextColorWarning: string; feedbackTextColor: string; feedbackPadding: string; feedbackHeightSmall: string; feedbackHeightMedium: string; feedbackHeightLarge: string; feedbackFontSizeSmall: string; feedbackFontSizeMedium: string; feedbackFontSizeLarge: string; labelFontSizeLeftSmall: string; labelFontSizeLeftMedium: string; labelFontSizeLeftLarge: string; labelFontSizeTopSmall: string; labelFontSizeTopMedium: string; labelFontSizeTopLarge: string; labelHeightSmall: string; labelHeightMedium: string; labelHeightLarge: string; labelPaddingVertical: string; labelPaddingHorizontal: string; labelTextAlignVertical: string; labelTextAlignHorizontal: string; labelFontWeight: string; }, any>>>; readonly builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Form", { blankHeightSmall: string; blankHeightMedium: string; blankHeightLarge: string; lineHeight: string; labelTextColor: string; asteriskColor: string; feedbackTextColorError: string; feedbackTextColorWarning: string; feedbackTextColor: string; feedbackPadding: string; feedbackHeightSmall: string; feedbackHeightMedium: string; feedbackHeightLarge: string; feedbackFontSizeSmall: string; feedbackFontSizeMedium: string; feedbackFontSizeLarge: string; labelFontSizeLeftSmall: string; labelFontSizeLeftMedium: string; labelFontSizeLeftLarge: string; labelFontSizeTopSmall: string; labelFontSizeTopMedium: string; labelFontSizeTopLarge: string; labelHeightSmall: string; labelHeightMedium: string; labelHeightLarge: string; labelPaddingVertical: string; labelPaddingHorizontal: string; labelTextAlignVertical: string; labelTextAlignHorizontal: string; labelFontWeight: string; }, any>>>; readonly span: { readonly type: import("vue").PropType<import("../../legacy-grid/src/interface").Span>; readonly default: 1; }; readonly push: { readonly type: import("vue").PropType<import("../../legacy-grid/src/interface").Span>; readonly default: 0; }; readonly pull: { readonly type: import("vue").PropType<import("../../legacy-grid/src/interface").Span>; readonly default: 0; }; readonly offset: { readonly type: import("vue").PropType<import("../../legacy-grid/src/interface").Span>; readonly default: 0; }; }>, { formItemInstRef: import("vue").Ref<{ validate: import("./interface").FormItemValidate; restoreValidation: () => void; path?: string | undefined; internalValidate: import("./interface").FormItemInternalValidate; } | null, FormItemInst | { validate: import("./interface").FormItemValidate; restoreValidation: () => void; path?: string | undefined; internalValidate: import("./interface").FormItemInternalValidate; } | null>; validate: import("./interface").FormItemValidate; restoreValidation: () => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ readonly label: StringConstructor; readonly labelWidth: import("vue").PropType<string | number>; readonly labelStyle: import("vue").PropType<import("vue").CSSProperties | string>; readonly labelAlign: import("vue").PropType<import("./interface").LabelAlign>; readonly labelPlacement: import("vue").PropType<import("./interface").LabelPlacement>; readonly path: StringConstructor; readonly first: BooleanConstructor; readonly rulePath: StringConstructor; readonly required: BooleanConstructor; readonly showRequireMark: { readonly type: import("vue").PropType<boolean | undefined>; readonly default: undefined; }; readonly requireMarkPlacement: import("vue").PropType<"left" | "right" | "right-hanging">; readonly showFeedback: { readonly type: import("vue").PropType<boolean | undefined>; readonly default: undefined; }; readonly rule: import("vue").PropType<import("./interface").FormItemRule | import("./interface").FormItemRule[]>; readonly size: import("vue").PropType<"small" | "medium" | "large">; readonly ignorePathChange: BooleanConstructor; readonly validationStatus: import("vue").PropType<"error" | "warning" | "success">; readonly feedback: StringConstructor; readonly feedbackClass: StringConstructor; readonly feedbackStyle: import("vue").PropType<string | import("vue").CSSProperties>; readonly showLabel: { readonly type: import("vue").PropType<boolean | undefined>; readonly default: undefined; }; readonly labelProps: import("vue").PropType<import("vue").LabelHTMLAttributes>; readonly theme: import("vue").PropType<import("../../_mixins").Theme<"Form", { blankHeightSmall: string; blankHeightMedium: string; blankHeightLarge: string; lineHeight: string; labelTextColor: string; asteriskColor: string; feedbackTextColorError: string; feedbackTextColorWarning: string; feedbackTextColor: string; feedbackPadding: string; feedbackHeightSmall: string; feedbackHeightMedium: string; feedbackHeightLarge: string; feedbackFontSizeSmall: string; feedbackFontSizeMedium: string; feedbackFontSizeLarge: string; labelFontSizeLeftSmall: string; labelFontSizeLeftMedium: string; labelFontSizeLeftLarge: string; labelFontSizeTopSmall: string; labelFontSizeTopMedium: string; labelFontSizeTopLarge: string; labelHeightSmall: string; labelHeightMedium: string; labelHeightLarge: string; labelPaddingVertical: string; labelPaddingHorizontal: string; labelTextAlignVertical: string; labelTextAlignHorizontal: string; labelFontWeight: string; }, any>>; readonly themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Form", { blankHeightSmall: string; blankHeightMedium: string; blankHeightLarge: string; lineHeight: string; labelTextColor: string; asteriskColor: string; feedbackTextColorError: string; feedbackTextColorWarning: string; feedbackTextColor: string; feedbackPadding: string; feedbackHeightSmall: string; feedbackHeightMedium: string; feedbackHeightLarge: string; feedbackFontSizeSmall: string; feedbackFontSizeMedium: string; feedbackFontSizeLarge: string; labelFontSizeLeftSmall: string; labelFontSizeLeftMedium: string; labelFontSizeLeftLarge: string; labelFontSizeTopSmall: string; labelFontSizeTopMedium: string; labelFontSizeTopLarge: string; labelHeightSmall: string; labelHeightMedium: string; labelHeightLarge: string; labelPaddingVertical: string; labelPaddingHorizontal: string; labelTextAlignVertical: string; labelTextAlignHorizontal: string; labelFontWeight: string; }, any>>>; readonly builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Form", { blankHeightSmall: string; blankHeightMedium: string; blankHeightLarge: string; lineHeight: string; labelTextColor: string; asteriskColor: string; feedbackTextColorError: string; feedbackTextColorWarning: string; feedbackTextColor: string; feedbackPadding: string; feedbackHeightSmall: string; feedbackHeightMedium: string; feedbackHeightLarge: string; feedbackFontSizeSmall: string; feedbackFontSizeMedium: string; feedbackFontSizeLarge: string; labelFontSizeLeftSmall: string; labelFontSizeLeftMedium: string; labelFontSizeLeftLarge: string; labelFontSizeTopSmall: string; labelFontSizeTopMedium: string; labelFontSizeTopLarge: string; labelHeightSmall: string; labelHeightMedium: string; labelHeightLarge: string; labelPaddingVertical: string; labelPaddingHorizontal: string; labelTextAlignVertical: string; labelTextAlignHorizontal: string; labelFontWeight: string; }, any>>>; readonly span: { readonly type: import("vue").PropType<import("../../legacy-grid/src/interface").Span>; readonly default: 1; }; readonly push: { readonly type: import("vue").PropType<import("../../legacy-grid/src/interface").Span>; readonly default: 0; }; readonly pull: { readonly type: import("vue").PropType<import("../../legacy-grid/src/interface").Span>; readonly default: 0; }; readonly offset: { readonly type: import("vue").PropType<import("../../legacy-grid/src/interface").Span>; readonly default: 0; }; }>> & Readonly<{}>, { readonly push: import("../../legacy-grid/src/interface").Span; readonly span: import("../../legacy-grid/src/interface").Span; readonly first: boolean; readonly offset: import("../../legacy-grid/src/interface").Span; readonly required: boolean; readonly showRequireMark: boolean | undefined; readonly showFeedback: boolean | undefined; readonly showLabel: boolean | undefined; readonly ignorePathChange: boolean; readonly pull: import("../../legacy-grid/src/interface").Span; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;