ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
38 lines (33 loc) • 2.06 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
*/
type NzJustify = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly' | 'start' | 'end' | 'right' | 'left' | 'stretch' | 'normal';
type NzAlign = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly' | 'start' | 'end' | 'right' | 'left' | 'stretch' | 'normal';
type NzGap = 'small' | 'middle' | 'large' | NzCustomGap;
type NzCustomGap = number | string;
type NzWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
type NzFlex = `${NzFlexShrink} ${NzFlexGrow} ${NzFlexBasis}` | 'unset';
type NzFlexShrink = number;
type NzFlexGrow = number;
type NzFlexBasis = string;
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;
}
declare class NzFlexModule {
static ɵfac: i0.ɵɵFactoryDeclaration<NzFlexModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<NzFlexModule, never, [typeof NzFlexDirective], [typeof NzFlexDirective]>;
static ɵinj: i0.ɵɵInjectorDeclaration<NzFlexModule>;
}
export { NzFlexDirective, NzFlexModule };
export type { NzAlign, NzCustomGap, NzFlex, NzFlexBasis, NzFlexGrow, NzFlexShrink, NzGap, NzJustify, NzWrap };