ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
59 lines • 2.15 kB
TypeScript
import * as i0 from "@angular/core";
/**
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
export type NzJustify = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly' | 'start' | 'end' | 'right' | 'left' | 'stretch' | 'normal';
export type NzAlign = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly' | 'start' | 'end' | 'right' | 'left' | 'stretch' | 'normal';
export type NzGap = 'small' | 'middle' | 'large' | NzCustomGap;
export type NzCustomGap = number | string;
export type NzWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
export type NzFlex = `${NzFlexShrink} ${NzFlexGrow} ${NzFlexBasis}` | 'unset';
export type NzFlexShrink = number;
export type NzFlexGrow = number;
export type NzFlexBasis = string;
declare namespace nz_flex_directive_d_exports {
export { NzFlexDirective };
}
export declare class NzFlexDirective {
nzVertical: boolean;
nzJustify: NzJustify;
nzAlign: NzAlign;
nzGap: NzGap;
nzWrap: NzWrap;
nzFlex: NzFlex;
protected get gap(): string;
static ɵfac: i0.ɵɵFactoryDeclaration<NzFlexDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzFlexDirective, "[nz-flex],nz-flex", ["nzFlex"], {
"nzVertical": {
"alias": "nzVertical";
"required": false;
};
"nzJustify": {
"alias": "nzJustify";
"required": false;
};
"nzAlign": {
"alias": "nzAlign";
"required": false;
};
"nzGap": {
"alias": "nzGap";
"required": false;
};
"nzWrap": {
"alias": "nzWrap";
"required": false;
};
"nzFlex": {
"alias": "nzFlex";
"required": false;
};
}, {}, never, never, true, never>;
static ngAcceptInputType_nzVertical: unknown;
}
export declare class NzFlexModule {
static ɵfac: i0.ɵɵFactoryDeclaration<NzFlexModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<NzFlexModule, never, [typeof NzFlexDirective], [typeof NzFlexDirective]>;
static ɵinj: i0.ɵɵInjectorDeclaration<NzFlexModule>;
}