UNPKG

@qvant/qui-max

Version:

A Vue 3 Design system for Web.

83 lines (82 loc) 2.87 kB
import type { QFormItemPropFor, QFormItemPropProp, QFormItemPropLabel, QFormItemPropSublabel, QFormItemPropError, QFormItemPropRules, QFormItemPropShowErrorMessage, QFormItemPropLabelSize, QFormItemInstance } from './src/types'; import type { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue'; import type { SFCWithInstall } from '../../../types/helpers'; export declare const QFormItem: SFCWithInstall<DefineComponent<{ for: { type: PropType<QFormItemPropFor>; default: null; }; prop: { type: PropType<QFormItemPropProp>; default: null; }; label: { type: PropType<QFormItemPropLabel>; default: null; }; sublabel: { type: PropType<QFormItemPropSublabel>; default: null; }; error: { type: PropType<QFormItemPropError>; default: null; }; rules: { type: PropType<QFormItemPropRules>; default: null; }; showErrorMessage: { type: PropType<QFormItemPropShowErrorMessage>; default: boolean; }; labelSize: { type: PropType<QFormItemPropLabelSize>; default: string; validator: (value: QFormItemPropLabelSize) => boolean; }; }, QFormItemInstance, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ for: { type: PropType<QFormItemPropFor>; default: null; }; prop: { type: PropType<QFormItemPropProp>; default: null; }; label: { type: PropType<QFormItemPropLabel>; default: null; }; sublabel: { type: PropType<QFormItemPropSublabel>; default: null; }; error: { type: PropType<QFormItemPropError>; default: null; }; rules: { type: PropType<QFormItemPropRules>; default: null; }; showErrorMessage: { type: PropType<QFormItemPropShowErrorMessage>; default: boolean; }; labelSize: { type: PropType<QFormItemPropLabelSize>; default: string; validator: (value: QFormItemPropLabelSize) => boolean; }; }>>, { label: QFormItemPropLabel; labelSize: QFormItemPropLabelSize; rules: QFormItemPropRules; showErrorMessage: QFormItemPropShowErrorMessage; for: QFormItemPropFor; prop: QFormItemPropProp; sublabel: QFormItemPropSublabel; error: QFormItemPropError; }>>; export type { QFormItemProps, QFormItemPropFor, QFormItemPropProp, QFormItemPropLabel, QFormItemPropSublabel, QFormItemPropError, QFormItemPropRules, QFormItemPropShowErrorMessage, QFormItemPropLabelSize, QFormItemContext, QFormItemProvider, QFormItemInstance } from './src/types';