import * as i0 from '@angular/core'; import { TemplateRef, AfterViewInit, OnDestroy, EventEmitter, QueryList, ElementRef, ChangeDetectorRef, OnInit, OnChanges, SimpleChanges } from '@angular/core'; import * as i2 from '@angular/common'; import * as i2$1 from '@bloomreach/brie/icon'; import { BrieIconSize as BrieIconSize$1, BrieIconType as BrieIconType$1, BrieIcon as BrieIcon$1 } from '@bloomreach/brie/icon'; import * as i6 from '@angular/material/button'; import * as i4 from '@angular/material/divider'; import * as i5 from '@angular/material/menu'; import { MatMenuTrigger } from '@angular/material/menu'; import * as i6$1 from '@angular/material/tooltip'; import { BrieFormValidationOptions as BrieFormValidationOptions$1, BrieFormValidationService as BrieFormValidationService$1 } from '@bloomreach/brie/form'; import * as i4$2 from '@angular/forms'; import { AbstractControl, ValidatorFn, UntypedFormGroup, FormGroup, AbstractControlOptions, UntypedFormArray, ControlValueAccessor, FormGroupDirective } from '@angular/forms'; import * as i5$1 from '@angular/material/dialog'; import { MatDialogConfig, MatDialogRef, MatDialog } from '@angular/material/dialog'; import { ComponentType } from '@angular/cdk/portal'; import * as i4$1 from '@angular/material/icon'; import * as i3 from '@angular/material/expansion'; import * as i1 from '@bloomreach/brie/expansion-panel'; import { BrieExpansionPanelIcon as BrieExpansionPanelIcon$1 } from '@bloomreach/brie/expansion-panel'; import * as i3$1 from '@angular/cdk/drag-drop'; import { CdkDragDrop, CdkDragMove, CdkDragStart } from '@angular/cdk/drag-drop'; import * as i5$2 from '@angular/material/autocomplete'; import * as i7 from '@angular/material/checkbox'; import * as i8 from '@angular/material/slide-toggle'; import * as i9 from '@angular/material/form-field'; import * as i11 from '@angular/material/input'; import * as i12 from '@angular/material/select'; import * as i13 from '@angular/material/datepicker'; import * as i14 from '@angular/material/radio'; import { Observable } from 'rxjs'; import { ErrorStateMatcher } from '@angular/material/core'; import * as i2$2 from '@bloomreach/brie/button-group'; import { BrieButtonGroupActions as BrieButtonGroupActions$1, BrieButtonType as BrieButtonType$1, BrieThemeColor as BrieThemeColor$1 } from '@bloomreach/brie/button-group'; import { DomSanitizer, SafeUrl } from '@angular/platform-browser'; import * as i7$1 from '@angular/material/list'; import * as i5$3 from '@angular/material/snack-bar'; import { MatSnackBarHorizontalPosition, MatSnackBarVerticalPosition, MatSnackBarRef, MatSnackBar } from '@angular/material/snack-bar'; import { FlatTreeControl } from '@angular/cdk/tree'; import * as i8$1 from '@angular/material/tree'; import { MatTreeFlattener, MatTreeFlatDataSource } from '@angular/material/tree'; import { SelectionModel } from '@angular/cdk/collections'; import * as i4$3 from '@angular/material/card'; type BrieButtonGroupActions = BrieButton[][]; interface BrieButton { id: string; type: BrieButtonType; text?: string; action?: (event: MouseEvent) => void; icon?: { name: string; fontSet?: string; }; color?: BrieThemeColor; isDisabled?: () => boolean; tooltip?: string; menu?: { id: string; text: string; action: () => void; }[]; /** Form to validate. Static control or getter for lazy resolution. */ validateForm?: AbstractControl | (() => AbstractControl | undefined); /** Options passed to BrieFormValidationService.showValidationErrors. */ validateFormOptions?: BrieFormValidationOptions$1; /** * When true, run showValidationErrors before action. * action is called only if form.valid after validation. * Default: false (no validation — current behavior). */ validateBeforeAction?: boolean; } declare enum BrieButtonType { Basic = "basic", Stroked = "stroked", Flat = "flat", Icon = "icon" } declare enum BrieThemeColor { Primary = "primary", Accent = "accent", Warn = "warn" } declare class BrieButtonGroupComponent { private readonly validationService; actions: BrieButtonGroupActions; constructor(validationService: BrieFormValidationService$1); get BrieIconSize(): typeof BrieIconSize$1; onButtonClick(button: BrieButton, event: MouseEvent, menuTrigger?: MatMenuTrigger): void; private resolveValidateForm; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieButtonGroupModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class BrieDialogTitleComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieDialogContentComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieDialogActionsComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieDialogComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare enum BrieConfirmDialogAction { EXTRA = "EXTRA", PRIMARY = "PRIMARY", SECONDARY = "SECONDARY" } interface BrieConfirmDialogButtons { id: string; caption: string; } interface BrieConfirmDialogData { title: string; message: string; buttons: { primary: BrieConfirmDialogButtons; secondary?: BrieConfirmDialogButtons; extra?: BrieConfirmDialogButtons; }; } type BrieDialogTemplate = ComponentType | TemplateRef; type BrieDialogConfig = MatDialogConfig; type BrieDialogRef = MatDialogRef; type BrieConfirmDialogConfig = BrieDialogConfig; declare class BrieConfirmDialogComponent { data: BrieConfirmDialogData; dialogRef: MatDialogRef; constructor(data: BrieConfirmDialogData, dialogRef: MatDialogRef); clickOnPrimary(): void; clickOnSecondary(): void; clickOnExtra(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } type BrieConfirmDialogRef = BrieDialogRef; declare class BrieDialogModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare const defaultDialogConfig: MatDialogConfig; declare class BrieDialogService { private readonly dialog; constructor(dialog: MatDialog); open(template: BrieDialogTemplate, config?: BrieDialogConfig): BrieDialogRef; confirm(data: BrieConfirmDialogData, config?: BrieConfirmDialogConfig): BrieConfirmDialogRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface BrieExpansionPanelIcon { fontSet?: string; name: string; type: BrieIconType$1; } declare class BrieExpansionPanelComponent { icon?: BrieExpansionPanelIcon; title: string; iconSize: BrieIconSize$1; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieExpansionPanelModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } type BrieFormField = BrieFormInputField | BrieFormCheckboxField | BrieFormToggleField | BrieFormSelectField | BrieFormTextField | BrieFormDateField | BrieFormDateTimeField | BrieFormLinkpickerField | BrieFormRadioField | BrieFormHiddenField; type BrieFormDataSource = Array; interface BrieFormFieldsGroup { id: string; name?: string; type: BrieFormFieldType.FIELDS_GROUP; label: string; collapsable?: boolean; hidden?: boolean; fields: Array; panel?: { title: string; content: string; }; } interface BrieFormGroupRepeaterField { id: string; name: string; type: BrieFormFieldType.GROUP_REPEATER; hidden?: boolean; fields: BrieFormField[]; values?: BrieFormGroupRepeaterValues; draggable?: boolean; readOnly?: boolean; } type BrieFormGroupRepeaterValues = Record[]; interface BrieFormFieldBase { id: string; name: string; label?: string; tooltip?: string; validators?: ValidatorFn[]; errors?: BrieFormFieldError[]; disabled?: boolean; width?: string; hint?: string; } declare enum BrieFormInputIconPosition { SUFFIX = "suffix", PREFIX = "prefix", TRAILING_OUTSIDE = "trailing-outside", LEADING_OUTSIDE = "leading-outside" } interface BrieFormInputIcon { icon: BrieIcon$1; position: BrieFormInputIconPosition; onClick?: (control: AbstractControl, field: BrieFormInputField) => void; visible?: (control: AbstractControl | null) => boolean; } interface BrieFormInputField extends BrieFormFieldBase { type: BrieFormFieldType.INPUT; inputType?: string; placeholder?: string; value?: string | number; readOnly?: boolean; options?: string[]; icons?: BrieFormInputIcon[]; } interface BrieFormHiddenField extends BrieFormFieldBase { type: BrieFormFieldType.HIDDEN; value?: string | number; } interface BrieFormLinkpickerField extends BrieFormFieldBase { type: BrieFormFieldType.LINK_PICKER; placeholder?: string; value?: string; openPicker: (value: string, field: BrieFormLinkpickerField) => void; icons?: BrieFormInputIcon[]; } interface BrieFormDateField extends BrieFormFieldBase { type: BrieFormFieldType.DATE; inputType?: string; placeholder?: string; value?: string | Date; readOnly?: boolean; options?: string[]; icons?: BrieFormInputIcon[]; } interface BrieFormDateTimeField extends BrieFormFieldBase { type: BrieFormFieldType.DATE_TIME; inputType?: string; placeholder?: string; value?: string | Date; readOnly?: boolean; options?: string[]; icons?: BrieFormInputIcon[]; } interface BrieFormCheckboxField extends BrieFormFieldBase { type: BrieFormFieldType.CHECKBOX; value?: boolean; labelTemplate?: TemplateRef; } interface BrieFormToggleField extends BrieFormFieldBase { type: BrieFormFieldType.TOGGLE; value?: boolean; } interface BrieFormSelectField extends BrieFormFieldBase { type: BrieFormFieldType.SELECT; placeholder?: string; value?: BrieFormSelectOption['value'] | BrieFormSelectOption['value'][]; readOnly?: boolean; multiple?: boolean; options?: BrieFormSelectOption[]; } interface BrieFormSelectOption { disabled?: boolean; value: string | number; label: string; } interface BrieFormTextField extends BrieFormFieldBase { maxLength?: number; maxRows?: number; minLength?: number; minRows?: number; placeholder?: string; readOnly?: boolean; resizable?: boolean; type: BrieFormFieldType.TEXT; value?: string | number; } interface BrieFormFieldError { message: string; validate(control: AbstractControl | null): boolean; } declare enum BrieFormFieldType { INPUT = "input", CHECKBOX = "checkbox", TOGGLE = "toggle", RADIO = "radio", SELECT = "select", GROUP_REPEATER = "group-repeater", TEXT = "text", FIELDS_GROUP = "fields-group", DATE = "date", DATE_TIME = "date-time", LINK_PICKER = "link-picker", HIDDEN = "hidden" } interface BrieFormControls { [controlId: string]: AbstractControl; } interface BrieFormRadioField extends BrieFormFieldBase { buttons: BrieFormRadioButton[]; required?: boolean; type: BrieFormFieldType.RADIO; value?: string | number; } interface BrieFormRadioButton { id?: string; disabled?: boolean; value: string | number; label: string; icon?: BrieIcon$1; } declare class BrieFormComponent implements AfterViewInit, OnDestroy { private readonly detectorRef; group: UntypedFormGroup; dataSource: BrieFormDataSource; autofocus: boolean; focusChanged: EventEmitter; formControl: QueryList>; repeaterControl: QueryList>; private subscriptions; constructor(detectorRef: ChangeDetectorRef); ngAfterViewInit(): void; ngOnDestroy(): void; get FieldTypes(): typeof BrieFormFieldType; trackByFn(_index: number, field: BrieFormField | BrieFormGroupRepeaterField | BrieFormFieldsGroup): string; private focusForm; private focusFormControl; private focusRepeaterControl; private isFieldDisabled; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieFormInputComponent implements OnInit { group: UntypedFormGroup; field: BrieFormInputField; hasLabel?: boolean; filteredOptions?: Observable; iconPositions: typeof BrieFormInputIconPosition; iconSizes: typeof BrieIconSize$1; get fieldId(): string; get inputId(): string; get control(): AbstractControl; ngOnInit(): void; isFieldDisabled(): boolean; isIconEnabled(inputIcon: BrieFormInputIcon): boolean; private filterOptions; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieFormLinkpickerComponent { group: FormGroup; field: BrieFormLinkpickerField; hasLabel?: boolean; iconPositions: typeof BrieFormInputIconPosition; iconSizes: typeof BrieIconSize$1; icons: BrieFormInputIcon[]; get fieldId(): string; get inputId(): string; get control(): AbstractControl; getIcons(): BrieFormInputIcon[]; isFieldRequired(): boolean; isFieldDisabled(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieFormControlComponent { group: UntypedFormGroup; field: BrieFormField; index: number; get FieldTypes(): typeof BrieFormFieldType; get hasLabel(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieFormSelectComponent { group: UntypedFormGroup; field: BrieFormSelectField; hasLabel?: boolean; iconSizes: typeof BrieIconSize$1; get fieldId(): string; get selectId(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieFormCheckboxComponent { group: UntypedFormGroup; field: BrieFormCheckboxField; iconSizes: typeof BrieIconSize$1; labelTemplate: TemplateRef; get fieldId(): string; get checkboxId(): string; get effectiveLabelTemplate(): TemplateRef | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieFormToggleComponent { group: FormGroup; field: BrieFormToggleField; get fieldId(): string; get toggleId(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieFormService { createFormGroup(fields: BrieFormDataSource, options?: AbstractControlOptions | null): UntypedFormGroup; createGroupRepeaterFormArray(field: BrieFormGroupRepeaterField, values?: BrieFormGroupRepeaterValues): UntypedFormArray; private buildBrieFormControls; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class BrieFormGroupRepeaterComponent { private readonly formService; group: UntypedFormGroup; field: BrieFormGroupRepeaterField; formGroupControl: QueryList>; constructor(formService: BrieFormService); get fieldsFormArray(): UntypedFormArray; get fields(): BrieFormField[]; getFormGroup(id: number): UntypedFormGroup; add(event: Event): void; remove(event: Event, i: number): void; drop(event: CdkDragDrop): void; isDragDisabled(): boolean; isReadOnly(): boolean; private focusFormControl; private isFieldDisabled; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieFormTextComponent { group: UntypedFormGroup; field: BrieFormTextField; hasLabel?: boolean; iconSizes: typeof BrieIconSize$1; get fieldId(): string; get textId(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieFormFieldsGroupComponent { group: UntypedFormGroup; field: BrieFormFieldsGroup; isCollapsed: boolean; get groupId(): string; get FieldTypes(): typeof BrieFormFieldType; get fields(): BrieFormFieldsGroup['fields']; get panelIcon(): BrieExpansionPanelIcon$1; toggleCollapse(): void; trackByFn(_index: number, field: BrieFormFieldsGroup['fields'][0]): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieFormRadioComponent { group: UntypedFormGroup; field: BrieFormRadioField; get fieldId(): string; getFieldId(): string; getButtonId(button: BrieFormRadioButton, index: number): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DatetimeFieldComponent implements ControlValueAccessor, OnInit { field: BrieFormDateField | BrieFormDateTimeField; isDateAndTime: boolean; hasLabel?: boolean; group: UntypedFormGroup; dateField: ElementRef; iconSizes: typeof BrieIconSize$1; date: Date | null; formGroup: FormGroup; isDisabled: boolean; errorStateMatcher: ErrorStateMatcher; private _onChange; private _onTouched; setDisabledState(isDisabled: boolean): void; ngOnInit(): void; writeValue(value: Date | null): void; registerOnChange(fn: (value: Date | null) => void): void; registerOnTouched(fn: () => void): void; onDateEvent(value: Date): void; onTimeChange(): void; setDateToNow(): void; updateFormFields(): void; isFieldRequired(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieFormDateTimeComponent { group: UntypedFormGroup; field: BrieFormDateField | BrieFormDateTimeField; hasLabel?: boolean; type?: BrieFormFieldType.DATE_TIME | BrieFormFieldType.DATE; get fieldId(): string; get textId(): string; get isDateAndTime(): boolean; isFieldRequired(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } interface BrieFormValidationOptions { /** Re-run updateValueAndValidity on the form tree. Default: true */ updateValueAndValidity?: boolean; /** Focus the first invalid control after marking touched. Default: false */ focusFirstError?: boolean; /** DOM scope for focus; directive passes the form element */ focusRoot?: HTMLElement; } interface BrieFormValidationResult { valid: boolean; firstInvalidControl?: AbstractControl; } declare class BrieFormValidationService { showValidationErrors(form: AbstractControl, options?: BrieFormValidationOptions): BrieFormValidationResult; private findFirstInvalidControl; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class BrieShowErrorsOnSubmitDirective { private readonly host; private readonly validationService; private readonly formGroupDirective?; brieShowErrorsOnSubmit: boolean | ''; brieFocusFirstError: boolean | ''; constructor(host: ElementRef, validationService: BrieFormValidationService, formGroupDirective?: FormGroupDirective | undefined); onSubmit(): void; private isEnabled; private shouldFocusFirstError; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class BrieFormHiddenComponent { group: FormGroup; field: BrieFormHiddenField; get fieldId(): string; get inputId(): string; get control(): AbstractControl; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieFormModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } type BrieHeadingActions = BrieButtonGroupActions$1; declare enum BrieHeadingSize { H1 = "h1", H2 = "h2", H3 = "h3" } declare class BrieHeadingComponent { actions: BrieHeadingActions; title: string; description?: string; size?: string; get headingSize(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieHeadingModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare enum BrieIconType { MATERIAL = "material", BASE64 = "base64" } declare enum BrieIconSize { XS = "xs", SM = "sm", MD = "md", LG = "lg", XL = "xl", XXL = "xxl" } interface BrieIcon { name: string; fontSet?: string; size?: BrieIconSize; type?: BrieIconType; tooltip?: string; style?: string; } declare class BrieIconComponent { private domSanitizer; private elementRef; fontSet?: string | undefined; name: string; size?: BrieIconSize | undefined; type?: BrieIconType | undefined; tooltip?: string | undefined; style?: string | undefined; private hostClasses; get hostCssClasses(): string; get BrieIconType(): typeof BrieIconType; constructor(domSanitizer: DomSanitizer, elementRef: ElementRef); getSafeIconValue(imageData: string | undefined): SafeUrl; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieIconModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } interface BrieListElement extends BrieListDefault { id: T; title: string; subtitle?: string; children?: BrieListElement[]; } interface BrieListDefault { icon?: { name: string; fontSet?: string; type?: BrieIconType$1; size?: BrieIconSize$1; }; draggable?: boolean; multiline?: boolean; actions?: BrieListAction[]; } interface BrieListAction { id: string; type?: BrieButtonType$1; text?: string; color?: BrieThemeColor$1; tooltip?: string; icon?: { name: string; fontSet?: string; }; } interface BrieListConfig { default: BrieListDefault; } interface BrieListClickEvent { event: MouseEvent; listElement: BrieListElement; listAction?: BrieListAction; } declare class BrieListComponent implements OnChanges { dataSource: BrieListElement[]; config: BrieListConfig; selectedElement?: BrieListElement | null; clickedAction: EventEmitter; selectedElementChange: EventEmitter>; dropListDropped: EventEmitter[]>; actions: BrieButtonGroupActions$1[]; ngOnChanges(changes: SimpleChanges): void; onElementClick(event: MouseEvent, listElement: BrieListElement): void; drop($event: CdkDragDrop>): void; isMultiline(listElement: BrieListElement): boolean; isSelected(listElement: BrieListElement): boolean; isDragDisabled(listElement: BrieListElement): boolean; getIconSize(listElement: BrieListElement): BrieIconSize$1 | undefined; getActions(listElement: BrieListElement): BrieButtonGroupActions$1; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieListModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } interface BrieSnackBar { dismiss?: boolean; message: string; warning?: boolean; } interface BrieSnackBarConfig { duration?: number; warning?: boolean; dismiss?: boolean; horizontalPosition?: MatSnackBarHorizontalPosition; verticalPosition?: MatSnackBarVerticalPosition; } declare class BrieSnackBarComponent { snackBarRef: MatSnackBarRef; data: BrieSnackBar; warningClass: boolean; constructor(snackBarRef: MatSnackBarRef, data: BrieSnackBar); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieSnackBarModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class BrieSnackBarService { private readonly snackBar; constructor(snackBar: MatSnackBar); open(message: string, config?: BrieSnackBarConfig): void; warning(message: string, config?: BrieSnackBarConfig): void; dismiss(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface BrieTreeSubMenuItem { id: string; title: string; } interface BrieTreeDefaultConfig { draggable?: boolean; subMenu?: BrieTreeSubMenuItem[]; actions?: BrieTreeAction[]; expandAll?: boolean; dragAboveRoot?: boolean; } interface BrieTreeConfig { defaults: BrieTreeDefaultConfig; } interface BrieTreeNode extends BrieTreeDefaultConfig { id?: string; title: string; subTitle?: string; children?: BrieTreeNode[]; data?: T; } interface BrieTreeAction { id: string; icon: { name: string; fontSet?: string; }; tooltip?: string; } interface BrieTreeNodeClick { event: MouseEvent; treeNode: BrieTreeNode; } interface BrieTreeSubMenuClick extends BrieTreeNodeClick { subMenuItem: BrieTreeSubMenuItem; } interface BrieTreeActionClick extends BrieTreeNodeClick { actionItem: BrieTreeAction; } interface BrieTreeFlatNode { expandable: boolean; title: string; subTitle: string; level: number; subMenu: BrieTreeSubMenuItem[]; id: string; draggable: boolean; actions: BrieTreeAction[]; } interface BrieTreeUpdated { event: BrieTreeNodeEvent; nodes: BrieTreeNode[]; } declare enum BrieTreeNodeEvent { MOVED = "MOVED", ADDED = "ADDED", EDITED = "EDITED", DELETED = "DELETED", PASTED = "PASTED" } declare class BrieTreeComponent implements OnChanges, OnInit, OnDestroy { private document; dataSource: BrieTreeNode[]; config: BrieTreeConfig; selectedNode: BrieTreeNode | null; clickedSubMenu: EventEmitter; clickedAction: EventEmitter; clickedNode: EventEmitter; treeUpdated: EventEmitter; treeElRef: ElementRef; dropActionTodo: { targetId: string | null; action?: string; } | null; dragOverNode: BrieTreeFlatNode; dragOverArea: string; rootId: string | undefined; flatNodeMap: Map>; brieTreeNodeMap: Map; draggedNodeExpanded: boolean; processDragging: boolean; treeControl: FlatTreeControl; treeFlattener: MatTreeFlattener; flatDataSource: MatTreeFlatDataSource; expansionModel: SelectionModel; private subject; private readonly unsubscribe; constructor(document: Document); generateId(node: BrieTreeNode): void; ngOnInit(): void; ngOnDestroy(): void; onDragMove(event: CdkDragMove): void; ngOnChanges(): void; isDraggable(overrideValue: boolean | undefined): boolean; private _transformer; onDragIconClick(event: MouseEvent): void; onMenuIconClick(event: MouseEvent): void; addNewNode(parent: BrieTreeNode, node: BrieTreeNode): void; editNode(node: BrieTreeNode): void; deleteNode(node: BrieTreeNode): void; pasteNode(parent: BrieTreeNode, node: BrieTreeNode): void; hasChild(_: number, node: BrieTreeFlatNode): boolean; onNodeClick(event: MouseEvent, node: BrieTreeFlatNode): void; onMenuItemClick(event: MouseEvent, node: BrieTreeFlatNode, subMenuItem: BrieTreeSubMenuItem): void; onActionItemClick(event: MouseEvent, node: BrieTreeFlatNode, actionItem: BrieTreeAction): void; dragMoved(event: CdkDragMove): void; dragStarted(event: CdkDragStart): void; processDrop(draggedNodeId: string): void; getParentNodeId(id: string, nodes: BrieTreeNode[], parentId: string): string; clearDragInfo(dropped?: boolean): void; showDragInfo(event: CdkDragMove, draggedNode: BrieTreeFlatNode): void; drop(event: CdkDragDrop): void; rebuildTreeForData(data: BrieTreeNode[]): void; getUniqueId(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieTreeModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare enum BrieCardType { DEFAULT = "default", INFO = "info", WARNING = "warning", ERROR = "error" } declare class BrieCardHeaderDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class BrieCardComponent { title: i0.InputSignal; subtitle: i0.InputSignal; content: i0.InputSignal; actions: i0.InputSignal; image: i0.InputSignal; imageAlt: i0.InputSignal; disabled: i0.InputSignal; clickable: i0.InputSignal; type: i0.InputSignal; cardClick: i0.OutputEmitterRef; customHeader: i0.Signal; get hasCustomHeader(): boolean; readonly BrieCardType: typeof BrieCardType; onCardClick(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrieCardModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { BrieButtonGroupComponent, BrieButtonGroupModule, BrieButtonType, BrieCardComponent, BrieCardHeaderDirective, BrieCardModule, BrieCardType, BrieConfirmDialogAction, BrieConfirmDialogComponent, BrieDialogActionsComponent, BrieDialogComponent, BrieDialogContentComponent, BrieDialogModule, BrieDialogService, BrieDialogTitleComponent, BrieExpansionPanelComponent, BrieExpansionPanelModule, BrieFormCheckboxComponent, BrieFormComponent, BrieFormControlComponent, BrieFormFieldType, BrieFormGroupRepeaterComponent, BrieFormHiddenComponent, BrieFormInputComponent, BrieFormInputIconPosition, BrieFormModule, BrieFormRadioComponent, BrieFormSelectComponent, BrieFormService, BrieFormToggleComponent, BrieFormValidationService, BrieHeadingComponent, BrieHeadingModule, BrieHeadingSize, BrieIconComponent, BrieIconModule, BrieIconSize, BrieIconType, BrieListComponent, BrieListModule, BrieShowErrorsOnSubmitDirective, BrieSnackBarComponent, BrieSnackBarModule, BrieSnackBarService, BrieThemeColor, BrieTreeComponent, BrieTreeModule, BrieTreeNodeEvent, defaultDialogConfig }; export type { BrieButton, BrieButtonGroupActions, BrieConfirmDialogButtons, BrieConfirmDialogConfig, BrieConfirmDialogData, BrieConfirmDialogRef, BrieDialogConfig, BrieDialogRef, BrieDialogTemplate, BrieExpansionPanelIcon, BrieFormCheckboxField, BrieFormControls, BrieFormDataSource, BrieFormDateField, BrieFormDateTimeField, BrieFormField, BrieFormFieldBase, BrieFormFieldError, BrieFormFieldsGroup, BrieFormGroupRepeaterField, BrieFormGroupRepeaterValues, BrieFormHiddenField, BrieFormInputField, BrieFormInputIcon, BrieFormLinkpickerField, BrieFormRadioButton, BrieFormRadioField, BrieFormSelectField, BrieFormSelectOption, BrieFormTextField, BrieFormToggleField, BrieFormValidationOptions, BrieFormValidationResult, BrieHeadingActions, BrieIcon, BrieListAction, BrieListClickEvent, BrieListConfig, BrieListDefault, BrieListElement, BrieSnackBar, BrieSnackBarConfig, BrieTreeAction, BrieTreeActionClick, BrieTreeConfig, BrieTreeDefaultConfig, BrieTreeFlatNode, BrieTreeNode, BrieTreeNodeClick, BrieTreeSubMenuClick, BrieTreeSubMenuItem, BrieTreeUpdated };