sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
37 lines (36 loc) • 1.78 kB
TypeScript
import { type FormPlainProps, type FormPlainSlots } from './common';
declare function __VLS_template(): Readonly<FormPlainSlots> & FormPlainSlots;
declare const __VLS_component: import("vue").DefineComponent<FormPlainProps, {
validate: (nameList?: import("../form/common").FieldName[]) => Promise<void>;
reset: (nameList?: import("../form/common").FieldName[]) => Promise<void>;
clearValidate: (nameList?: import("../form/common").FieldName[]) => Promise<void>;
scrollToField: (name: import("../form/common").FieldName) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FormPlainProps> & Readonly<{}>, {
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
rootClass: string;
disabled: boolean;
model: Record<string, any>;
rules: import("../form/common").FormRules;
validateTrigger: import("../form/common").TriggerType;
direction: "horizontal" | "vertical";
labelWidth: string;
labelAlign: "start" | "center" | "end";
labelValign: "start" | "center" | "end";
starPosition: "left" | "right";
contentPosition: "left" | "right";
hideStar: boolean;
showError: boolean;
scrollIntoViewOptions: import("../..").ScrollIntoViewOptions;
readonly: boolean;
validateOnRuleChange: boolean;
scrollToFirstError: boolean;
scrollDuration: number;
card: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};