sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
24 lines (23 loc) • 1.15 kB
TypeScript
import { type FormProps, type FormSlots, type FieldName } from './common';
declare function __VLS_template(): Readonly<FormSlots> & FormSlots;
declare const __VLS_component: import("vue").DefineComponent<FormProps, {
validate: (nameList?: FieldName[]) => Promise<void>;
reset: (nameList?: FieldName[]) => Promise<void>;
clearValidate: (nameList?: FieldName[]) => Promise<void>;
scrollToField: (name: FieldName) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FormProps> & Readonly<{}>, {
direction: "horizontal" | "vertical";
labelAlign: "start" | "center" | "end";
labelValign: "start" | "center" | "end";
starPosition: "left" | "right";
validateOnRuleChange: boolean;
showError: boolean;
scrollDuration: number;
}, {}, {}, {}, 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;
};
};