tdesign-mobile-vue
Version:
tdesign-mobile-vue
65 lines (64 loc) • 1.96 kB
TypeScript
import { PropType } from 'vue';
declare const _default: {
colon: BooleanConstructor;
contentAlign: {
type: PropType<"left" | "right">;
default: "left" | "right";
validator(val: "left" | "right"): boolean;
};
data: {
type: PropType<import("@/components").Data>;
default: () => {};
};
disabled: {
type: BooleanConstructor;
default: any;
};
errorMessage: {
type: PropType<import("@/components").FormErrorMessage>;
};
labelAlign: {
type: PropType<"left" | "right" | "top">;
default: "left" | "right" | "top";
validator(val: "left" | "right" | "top"): boolean;
};
labelWidth: {
type: PropType<string | number>;
default: string;
};
preventSubmitDefault: {
type: BooleanConstructor;
default: boolean;
};
requiredMark: {
type: BooleanConstructor;
default: any;
};
requiredMarkPosition: {
type: PropType<"left" | "right">;
validator(val: "left" | "right"): boolean;
};
resetType: {
type: PropType<"empty" | "initial">;
default: "empty" | "initial";
validator(val: "empty" | "initial"): boolean;
};
rules: {
type: PropType<import("@/components").FormRules<import("@/components").Data>>;
};
scrollToFirstError: {
type: PropType<"" | "auto" | "smooth">;
validator(val: "" | "auto" | "smooth"): boolean;
};
showErrorMessage: {
type: BooleanConstructor;
default: boolean;
};
submitWithWarningMessage: BooleanConstructor;
onReset: PropType<(context: {
e?: Event;
}) => void>;
onSubmit: PropType<(context: import("@/components").SubmitContext<import("@/components").Data>) => void>;
onValidate: PropType<(result: import("@/components").ValidateResultContext<import("@/components").Data>) => void>;
};
export default _default;