@nova-ui/bits
Version:
SolarWinds Nova Framework
53 lines (52 loc) • 2.59 kB
TypeScript
import { AfterViewInit, ComponentFactoryResolver, ComponentRef, ElementRef, OnDestroy, OnInit, QueryList, Renderer2, ViewContainerRef } from "@angular/core";
import { ResizeDirection, ResizeUnit } from "../../../common/directives/resizer/public-api";
import { ILayoutElementDirection, ISheetType } from "../public-api";
import { SheetComponent } from "../sheet/sheet.component";
import * as i0 from "@angular/core";
type Element = SheetComponent | SheetGroupComponent;
export declare class SheetGroupComponent implements OnInit, AfterViewInit, OnDestroy {
elRef: ElementRef;
private renderer;
private componentFactoryResolver;
/**
* Set whether the child elements can be resizable.
*/
isResizable: boolean;
/**
* Set resize unit of child elements(pixel, percent). By default pixels are used.
*/
resizeUnit: ResizeUnit;
/**
* Determines the way sheets links each other. Can be 'joined' or 'separate'.
*/
sheetsType: ISheetType;
/**
* Direction of layout elements. Can be 'row' or 'column'.
*/
direction: ILayoutElementDirection;
/**
* Value for flexBasis of SheetComponent or SheetGroupComponent.
* Can be in 'px' or '%'
*/
initialSizeValue: string;
applyJoinedSheetsClass: boolean;
applySeparateSheetsClass: boolean;
applyDirectionColumnClass: boolean;
applyDirectionRowClass: boolean;
resizerPlaceholder: ViewContainerRef;
sheetList: QueryList<SheetComponent>;
sheetGroupList: QueryList<SheetGroupComponent>;
resizersList: ComponentRef<any>[];
resizeDirection: ResizeDirection;
private filterGroups;
addResizers(resizableList: QueryList<any>): void;
appendResizer(factory: any, resizeEl: any): void;
calculateFlexBasis(resizableList: QueryList<Element>, numOfItems: number): void;
constructor(elRef: ElementRef, renderer: Renderer2, componentFactoryResolver: ComponentFactoryResolver);
ngOnInit(): void;
ngAfterViewInit(): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<SheetGroupComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SheetGroupComponent, "nui-sheet-group", never, { "isResizable": { "alias": "isResizable"; "required": false; }; "resizeUnit": { "alias": "resizeUnit"; "required": false; }; "sheetsType": { "alias": "sheetsType"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "initialSizeValue": { "alias": "initialSizeValue"; "required": false; }; }, {}, ["sheetList", "sheetGroupList"], ["*"], false, never>;
}
export {};