@wetspace/pro-components
Version:
::: tip 基本介绍
159 lines (157 loc) • 12.4 kB
TypeScript
import { WetFormOption } from '../../types';
import { PropType } from 'vue';
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
formInputProps: {
type: PropType<Partial<{
readonly disabled: boolean;
readonly fill: string;
readonly validateEvent: import('element-plus/es/utils').EpPropMergeType<BooleanConstructor, unknown, unknown>;
readonly textColor: string;
} & {
readonly size?: import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>;
readonly name?: string;
readonly id?: string;
readonly ariaLabel?: string;
readonly modelValue?: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, NumberConstructor, BooleanConstructor], unknown, unknown>;
} & {
type: 'radio' | 'button';
options: WetFormOption[];
}>>;
};
rules: import('element-plus/es/utils').EpPropFinalized<PropType<import('element-plus').FormItemRule[]>, unknown, unknown, () => any[], boolean>;
span: {
readonly type: PropType<number>;
readonly required: false;
readonly validator: (val: unknown) => boolean;
__epPropKey: true;
};
title: StringConstructor;
noStyle: BooleanConstructor;
description: StringConstructor;
labelColor: StringConstructor;
fixedWidth: BooleanConstructor;
isAction: BooleanConstructor;
dependency: ObjectConstructor;
label: StringConstructor;
labelWidth: import('element-plus/es/utils').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
labelPosition: import('element-plus/es/utils').EpPropFinalized<StringConstructor, "" | "top" | "right" | "left", unknown, "", boolean>;
prop: {
readonly type: PropType<import('element-plus/es/utils').EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import('element-plus').FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import('element-plus').FormItemProp))[], unknown, unknown>>;
readonly required: false;
readonly validator: (val: unknown) => boolean;
__epPropKey: true;
};
required: import('element-plus/es/utils').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
error: StringConstructor;
validateStatus: {
readonly type: PropType<import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
readonly required: false;
readonly validator: (val: unknown) => boolean;
__epPropKey: true;
};
for: StringConstructor;
inlineMessage: import('element-plus/es/utils').EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
showMessage: import('element-plus/es/utils').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
size: {
readonly type: PropType<import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
readonly required: false;
readonly validator: (val: unknown) => boolean;
__epPropKey: true;
};
tag: import('element-plus/es/utils').EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
offset: import('element-plus/es/utils').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
pull: import('element-plus/es/utils').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
push: import('element-plus/es/utils').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
xs: import('element-plus/es/utils').EpPropFinalized<(new (...args: any[]) => number | import('element-plus').ColSizeObject) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => number | import('element-plus').ColSizeObject) | (() => import('element-plus').ColSize))[], unknown, unknown, () => import('element-plus/es/utils').Mutable<{}>, boolean>;
sm: import('element-plus/es/utils').EpPropFinalized<(new (...args: any[]) => number | import('element-plus').ColSizeObject) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => number | import('element-plus').ColSizeObject) | (() => import('element-plus').ColSize))[], unknown, unknown, () => import('element-plus/es/utils').Mutable<{}>, boolean>;
md: import('element-plus/es/utils').EpPropFinalized<(new (...args: any[]) => number | import('element-plus').ColSizeObject) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => number | import('element-plus').ColSizeObject) | (() => import('element-plus').ColSize))[], unknown, unknown, () => import('element-plus/es/utils').Mutable<{}>, boolean>;
lg: import('element-plus/es/utils').EpPropFinalized<(new (...args: any[]) => number | import('element-plus').ColSizeObject) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => number | import('element-plus').ColSizeObject) | (() => import('element-plus').ColSize))[], unknown, unknown, () => import('element-plus/es/utils').Mutable<{}>, boolean>;
xl: import('element-plus/es/utils').EpPropFinalized<(new (...args: any[]) => number | import('element-plus').ColSizeObject) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => number | import('element-plus').ColSizeObject) | (() => import('element-plus').ColSize))[], unknown, unknown, () => import('element-plus/es/utils').Mutable<{}>, boolean>;
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
formInputProps: {
type: PropType<Partial<{
readonly disabled: boolean;
readonly fill: string;
readonly validateEvent: import('element-plus/es/utils').EpPropMergeType<BooleanConstructor, unknown, unknown>;
readonly textColor: string;
} & {
readonly size?: import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>;
readonly name?: string;
readonly id?: string;
readonly ariaLabel?: string;
readonly modelValue?: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, NumberConstructor, BooleanConstructor], unknown, unknown>;
} & {
type: 'radio' | 'button';
options: WetFormOption[];
}>>;
};
rules: import('element-plus/es/utils').EpPropFinalized<PropType<import('element-plus').FormItemRule[]>, unknown, unknown, () => any[], boolean>;
span: {
readonly type: PropType<number>;
readonly required: false;
readonly validator: (val: unknown) => boolean;
__epPropKey: true;
};
title: StringConstructor;
noStyle: BooleanConstructor;
description: StringConstructor;
labelColor: StringConstructor;
fixedWidth: BooleanConstructor;
isAction: BooleanConstructor;
dependency: ObjectConstructor;
label: StringConstructor;
labelWidth: import('element-plus/es/utils').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
labelPosition: import('element-plus/es/utils').EpPropFinalized<StringConstructor, "" | "top" | "right" | "left", unknown, "", boolean>;
prop: {
readonly type: PropType<import('element-plus/es/utils').EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import('element-plus').FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import('element-plus').FormItemProp))[], unknown, unknown>>;
readonly required: false;
readonly validator: (val: unknown) => boolean;
__epPropKey: true;
};
required: import('element-plus/es/utils').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
error: StringConstructor;
validateStatus: {
readonly type: PropType<import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
readonly required: false;
readonly validator: (val: unknown) => boolean;
__epPropKey: true;
};
for: StringConstructor;
inlineMessage: import('element-plus/es/utils').EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
showMessage: import('element-plus/es/utils').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
size: {
readonly type: PropType<import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
readonly required: false;
readonly validator: (val: unknown) => boolean;
__epPropKey: true;
};
tag: import('element-plus/es/utils').EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
offset: import('element-plus/es/utils').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
pull: import('element-plus/es/utils').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
push: import('element-plus/es/utils').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
xs: import('element-plus/es/utils').EpPropFinalized<(new (...args: any[]) => number | import('element-plus').ColSizeObject) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => number | import('element-plus').ColSizeObject) | (() => import('element-plus').ColSize))[], unknown, unknown, () => import('element-plus/es/utils').Mutable<{}>, boolean>;
sm: import('element-plus/es/utils').EpPropFinalized<(new (...args: any[]) => number | import('element-plus').ColSizeObject) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => number | import('element-plus').ColSizeObject) | (() => import('element-plus').ColSize))[], unknown, unknown, () => import('element-plus/es/utils').Mutable<{}>, boolean>;
md: import('element-plus/es/utils').EpPropFinalized<(new (...args: any[]) => number | import('element-plus').ColSizeObject) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => number | import('element-plus').ColSizeObject) | (() => import('element-plus').ColSize))[], unknown, unknown, () => import('element-plus/es/utils').Mutable<{}>, boolean>;
lg: import('element-plus/es/utils').EpPropFinalized<(new (...args: any[]) => number | import('element-plus').ColSizeObject) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => number | import('element-plus').ColSizeObject) | (() => import('element-plus').ColSize))[], unknown, unknown, () => import('element-plus/es/utils').Mutable<{}>, boolean>;
xl: import('element-plus/es/utils').EpPropFinalized<(new (...args: any[]) => number | import('element-plus').ColSizeObject) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => number | import('element-plus').ColSizeObject) | (() => import('element-plus').ColSize))[], unknown, unknown, () => import('element-plus/es/utils').Mutable<{}>, boolean>;
}>> & Readonly<{}>, {
required: import('element-plus/es/utils').EpPropMergeType<BooleanConstructor, unknown, unknown>;
tag: string;
push: number;
offset: number;
pull: number;
xs: import('element-plus/es/utils').Mutable<{}>;
sm: import('element-plus/es/utils').Mutable<{}>;
md: import('element-plus/es/utils').Mutable<{}>;
lg: import('element-plus/es/utils').Mutable<{}>;
xl: import('element-plus/es/utils').Mutable<{}>;
labelWidth: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
labelPosition: import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
rules: import('element-plus').FormItemRule[];
noStyle: boolean;
fixedWidth: boolean;
isAction: boolean;
inlineMessage: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
showMessage: import('element-plus/es/utils').EpPropMergeType<BooleanConstructor, unknown, unknown>;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
export default _default;