import * as _angular_core from '@angular/core'; import { TemplateRef } from '@angular/core'; import { BehaviorSubject, Observable } from 'rxjs'; import { CdkDragDrop } from '@angular/cdk/drag-drop'; interface IBoardFunctions { data: any; } interface IWorkflowAction { getTarget(): string; getProcessState(): string; } interface IStatusColor { color?: any; } interface IBoard extends IBoardFunctions, IStatusColor { selected: boolean; name: string; sections: Array; section$: BehaviorSubject; addSection(section: IBoardSection): IBoard; reload(): void; refreshSection(section: IBoardSection): IBoard; removeSection(section: IBoardSection): IBoard; updateSection(section: IBoardSection): IBoard; } declare class Board implements IBoard { private _sections; private _data; private _selected; private _color; private _name; private _section$; constructor(data?: any); get name(): string; set name(name: string); get color(): any; set color(data: any); addSection(section: IBoardSection): IBoard; get sections(): Array; set sections(sections: Array); get section$(): BehaviorSubject; reload(): IBoard; refreshSection(section: IBoardSection): IBoard; updateSection(section: IBoardSection): IBoard; removeSection(section: IBoardSection): IBoard; set data(data: any); get data(): any; protected clearSections(): void; protected setSection(index: number, section: IBoardSection): void; get selected(): boolean; set selected(state: boolean); } interface IBoardCard extends IBoardFunctions { data: T; selected: boolean; color: any; draggable: boolean; actionable: boolean; onCheckDraggable(element: any, sourceCtrl?: any): boolean; onCheckAccepts(sourceCtrl: IBoardPanel, target: IBoardPanel): boolean; onCheckDroppable(sourceCtrl: IBoardPanel, target: IBoardPanel): boolean; } declare class BoardCard implements IBoardCard { private _data; private _draggable; private _actionable; private _selected; private _color; constructor(data: T); get color(): any; set color(data: any); set data(data: T); get data(): T; set draggable(draggable: boolean); get draggable(): boolean; set actionable(actionable: boolean); get actionable(): boolean; onCheckDraggable(element: any, panelCtrl: any): boolean; onCheckDroppable(sourceCtrl: IBoardPanel, targetCtrl: IBoardPanel): boolean; onCheckAccepts(sourceCtrl: IBoardPanel, targetCtrl: IBoardPanel): boolean; get selected(): boolean; set selected(state: boolean); } interface IBoardPanel extends IBoardFunctions, IStatusColor { selected: boolean; name: string; id: string; swimlane: string; idKey: string; cards$: Observable; count$: Observable; refreshCard(card: IBoardCard): IBoardPanel; reload(): void; updateCard(card: IBoardCard): IBoardPanel; } declare class BoardPanel implements IBoardPanel { private _section; private _cards$; private _count$; private _data; private _selected; private _color; private _swimlane; private _idKey; constructor(section: IBoardSection | undefined, data?: any); get color(): any; set color(data: any); get name(): string; set name(name: string); get idKey(): string; set idKey(key: string); get swimlane(): string; set swimlane(name: string); protected clearCards(): void; _getProp(object: any, keys: any): any; _checkKey(object: any, keys: string, value: any): boolean; calculateCards(): Observable; get cards$(): Observable; get count$(): Observable; reload(): IBoardPanel; refreshCard(card: IBoardCard): IBoardPanel; updateCard(card: IBoardCard): IBoardPanel; set data(data: any); get data(): any; get selected(): boolean; set selected(state: boolean); get id(): string; } interface IWorkflow { workflow: WorkflowModel[]; workflow$: Observable; } type WorkflowModel = { id: string; name: string; color?: string; action?: string[]; }; declare class BoardWorkflow implements IWorkflow { private _localItems; private _localWorkflow$; constructor(flow?: WorkflowModel[]); set workflow(workflow: WorkflowModel[]); get workflow$(): Observable; } interface IBoardSection extends IBoardFunctions, IWorkflow, IStatusColor { selected: boolean; actionable: boolean; loading: boolean; info: boolean; swimlane: string; keyField: string; cards: Array; panels: Array; sections: Array; workflow: WorkflowModel[]; workflow$: Observable; hasSwimlane(): boolean; addPanel(panel: IBoardPanel): IBoardSection; getPanel(name: string): IBoardPanel; reload(): void; refreshPanel(panel: IBoardPanel): IBoardSection; removePanel(panel: IBoardPanel): IBoardSection; updatePanel(panel: IBoardPanel): IBoardSection; addSection(section: IBoardSection): IBoardSection; refreshSection(section: IBoardSection): IBoardSection; removeSection(section: IBoardSection): IBoardSection; updateSection(section: IBoardSection): IBoardSection; clearCards(): void; addCard(card: IBoardCard): IBoardSection; addCards(cards: Array): IBoardSection; removeCard(card: IBoardCard): IBoardSection; } declare class BoardSection implements IBoardSection { private _cards; private _panels; private _sections; private _data; private _actionable; private _actionType; private _loading; private _selected; private _workflow; private _color; private _info; private _swimlane; private _swimlane$; private _keyField; constructor(data: T); clearCards(): void; get cards(): Array; addCard(card: IBoardCard): IBoardSection; addCards(cards: Array): IBoardSection; removeCard(card: IBoardCard): IBoardSection; get color(): any; set color(data: any); get keyField(): string; set keyField(data: string); get swimlane(): string; set swimlane(name: string); get swimlane$(): Observable; get workflow$(): Observable; set workflow(workflow: WorkflowModel[]); addPanel(panel: IBoardPanel): IBoardSection; get panels(): Array; reload(): IBoardSection; refreshPanel(panel: IBoardPanel): IBoardSection; updatePanel(panel: IBoardPanel): IBoardSection; removePanel(panel: IBoardPanel): IBoardSection; set data(data: any); get data(): any; addSection(section: IBoardSection): IBoardSection; get sections(): Array; refreshSection(section: IBoardSection): IBoardSection; removeSection(section: IBoardSection): IBoardSection; getPanel(name: string): IBoardPanel; updateSection(section: IBoardSection): IBoardSection; protected clearSections(): void; protected clearPanels(): void; protected setSection(index: number, section: IBoardSection): void; get actionable(): boolean; set actionable(action: boolean); hasSwimlane(): boolean; set loading(loading: boolean); get loading(): boolean; get selected(): boolean; set selected(state: boolean); get info(): boolean; set info(state: boolean); } declare class AgileBoardComponent implements IAgileBoard { board: _angular_core.InputSignal; boardTemplate: _angular_core.InputSignal | undefined>; boardHeaderTemplate: _angular_core.InputSignal | undefined>; boardSectionHeaderTemplate: _angular_core.InputSignal | undefined>; boardSectionTemplate: _angular_core.InputSignal | undefined>; boardPanelHeaderTemplate: _angular_core.InputSignal | undefined>; boardPanelTemplate: _angular_core.InputSignal | undefined>; boardSwimlaneTemplate: _angular_core.InputSignal | undefined>; boardSwimlaneHeaderTemplate: _angular_core.InputSignal | undefined>; boardSectionInfoTemplate: _angular_core.InputSignal | undefined>; boardCardTemplate: _angular_core.InputSignal | undefined>; get sections(): Array; get section$(): BehaviorSubject; addSection(section: IBoardSection): void; removeSection(section: IBoardSection): void; refreshSection(section: IBoardSection): void; updateSection(section: IBoardSection): void; reload(): void; get data(): any; get selected(): boolean; toggle(): void; drop(event: CdkDragDrop): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } interface IAgileBoard { selected: boolean; data: any; sections: Array; section$: BehaviorSubject; addSection(section: IBoardSection): void; updateSection(section: IBoardSection): void; removeSection(section: IBoardSection): void; reload(): void; refreshSection(section: IBoardSection): void; toggle(): void; } declare class AgileBoardCardComponent { card: _angular_core.InputSignal | undefined>; boardCardTemplate: _angular_core.InputSignal | undefined>; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class AgileBoardInfoComponent { section: _angular_core.InputSignal | undefined>; boardSectionInfoTemplate: _angular_core.InputSignal | undefined>; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class AgileBoardPanelComponent implements IAgileBoardPanel { panel: _angular_core.ModelSignal; swimlane: _angular_core.InputSignal; idKey: _angular_core.InputSignal; section: _angular_core.InputSignal; boardPanelHeaderTemplate: _angular_core.InputSignal | undefined>; boardPanelTemplate: _angular_core.InputSignal | undefined>; boardCardTemplate: _angular_core.InputSignal | undefined>; card$: Observable | undefined; myPanel: any; constructor(); reload(): void; toggle(): void; drop(event: CdkDragDrop<{ section: IBoardSection; panel: IBoardPanel; }, any>): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } interface IAgileBoardPanel { toggle(): void; } declare class AgileBoardSectionComponent implements IAgileBoardSection { private router; section: _angular_core.InputSignal | undefined>; boardSectionHeaderTemplate: _angular_core.InputSignal | undefined>; boardSectionTemplate: _angular_core.InputSignal | undefined>; boardPanelHeaderTemplate: _angular_core.InputSignal | undefined>; boardPanelTemplate: _angular_core.InputSignal | undefined>; boardSectionInfoTemplate: _angular_core.InputSignal | undefined>; boardSwimlaneHeaderTemplate: _angular_core.InputSignal | undefined>; boardSwimlaneTemplate: _angular_core.InputSignal | undefined>; boardCardTemplate: _angular_core.InputSignal | undefined>; idKey: _angular_core.InputSignal; panel$: BehaviorSubject; swimlane$: BehaviorSubject; constructor(); drop(event: CdkDragDrop<{ section: IBoardSection; panel: IBoardPanel; }, any>): void; _getSwimlane(object: any, keys: any): any; prepareSwimlane(): void; addCard(card: IBoardCard): void; removeCard(card: IBoardCard): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } interface IAgileBoardSection { addCard(card: IBoardCard): void; removeCard(card: IBoardCard): void; } declare class AgileBoardSwimlaneComponent { private cref; panel$: BehaviorSubject; section: _angular_core.InputSignal | undefined>; key: _angular_core.InputSignal; idKey: _angular_core.InputSignal; boardPanelHeaderTemplate: _angular_core.InputSignal | undefined>; boardPanelTemplate: _angular_core.InputSignal | undefined>; boardCardTemplate: _angular_core.InputSignal | undefined>; boardSwimlaneTemplate: _angular_core.InputSignal | undefined>; boardSwimlaneHeaderTemplate: _angular_core.InputSignal | undefined>; private _panels; swimlane: any; get selected(): boolean; set selected(value: boolean); constructor(); drop(event: CdkDragDrop<{ section: IBoardSection; panel: IBoardPanel; key: string; }, any>): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } export { AgileBoardCardComponent, AgileBoardComponent, AgileBoardInfoComponent, AgileBoardPanelComponent, AgileBoardSectionComponent, AgileBoardSwimlaneComponent, Board, BoardCard, BoardPanel, BoardSection, BoardWorkflow }; export type { IAgileBoard, IAgileBoardPanel, IAgileBoardSection, IBoard, IBoardCard, IBoardFunctions, IBoardPanel, IBoardSection, IStatusColor, IWorkflow, IWorkflowAction, WorkflowModel };