/** * @license * Copyright 厦门乾元盛世科技有限公司 All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file. */ import { ElementRef, Renderer } from '@angular/core'; import { NgForm } from '@angular/forms'; import { AbstractForm } from './abstract.form'; export declare class FormDirective extends AbstractForm { private _renderer; private _elementRef; /** 样式前缀 */ prefixCls: string; /** 表单布局,可选值为`horizontal`, `vertical`, `inline`,默认为`horizontal` */ layout: 'horizontal' | 'inline' | 'vertical'; /** 隐藏所有表单项的必选标记 */ hideRequiredMark: boolean; /** 用户CSS样式 */ class: string; constructor(_renderer: Renderer, _elementRef: ElementRef, form: NgForm); readonly classes: string; getFormClasses(): string; isVertical(): boolean; isHorizontal(): boolean; isInline(): boolean; }