UNPKG

gd-splitter

Version:

This set of libraries was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.2.4.

107 lines (106 loc) 3.27 kB
import { AfterViewInit } from '@angular/core'; import { OnInit } from '@angular/core'; import { ElementRef } from '@angular/core'; import { Subject } from 'rxjs'; import * as i0 from "@angular/core"; export declare class GDSplitterComponent implements OnInit, AfterViewInit { private el; private settings; get Settings(): ISplitter; set Settings(value: ISplitter); Width: number; Height: number; private drag; private delta; private resizeVert; private resizeHor; private isTopActive; private isLeftActive; private isBottomActive; private isRightActive; private resizeValue; top: SplitterPanel; left: SplitterPanel; right: SplitterPanel; bottom: SplitterPanel; center: SplitterPanel; topBorder: string; leftBorder: string; rightBorder: string; bottomBorder: string; centerBorder: string; isTopPanelVisible: boolean; isLeftPanelVisible: boolean; isRightPanelVisible: boolean; isBottomPanelVisible: boolean; isSplitterBorderVisible: boolean; actionNotifier$: Subject<any>; constructor(el: ElementRef); ngOnInit(): void; ngAfterViewInit(): void; onSeparatorTopMouseDown(event: any): void; onSeparatorBottomMouseDown(event: any): void; onSeparatorLeftMouseDown(event: any): void; onSeparatorRightMouseDown(event: any): void; buttonTopMouseDown(event: any): void; buttonLeftMouseDown(event: any): void; buttonRightMouseDown(event: any): void; buttonBottomMouseDown(event: any): void; onSplitterMouseMove(event: any): void; onSplitterMouseUp(event: any): void; private initPanels; static ɵfac: i0.ɵɵFactoryDeclaration<GDSplitterComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<GDSplitterComponent, "gd-splitter", never, { "Settings": { "alias": "Settings"; "required": false; }; }, { "actionNotifier$": "actionNotifier$"; }, never, ["[panel=top]", "[panel=left]", "[panel=center]", "[panel=bottom]", "[panel=right]"], false, never>; } export declare enum SplitterPanels { none = 0, top = 1, right = 2, bottom = 3, left = 4, center = 5 } export declare class SplitterPanel implements ISplitterPanel { index?: number; layout: SplitterPanels; display: string; cursor: string; left?: string; top?: string; width?: string; height?: string; size: number; buttonTop?: number; buttonLeft?: number; isButtonVisible: boolean; isSeperatorLocked: boolean; isOpened: boolean; seperatorThickness: number; seperatorBackground: string; seperatorBorderThickness: number; seperatorBorderColor: string; seperatorColor: string; constructor(); } export interface ISplitterPanel { index?: number; layout: SplitterPanels; left?: string; top?: string; width?: string; height?: string; size: number; seperatorThickness?: number; seperatorBackground?: string; buttonTop?: number; buttonLeft?: number; isButtonVisible?: boolean; isSeperatorVisible?: boolean; isSeperatorLocked?: boolean; isOpened?: boolean; panels?: Array<ISplitterPanel>; } export interface ISplitter { buttonSize?: number; panels: Array<ISplitterPanel>; }