/** * DevExpress Dashboard (dashboard-layout-node.d.ts) * Version: 23.2.5 * Build date: Mar 12, 2024 * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED * License: https://www.devexpress.com/Support/EULAs/universal.xml */ import { ISerializationInfoArray, ModelSerializer } from '@devexpress/analytics-core/analytics-utils'; import * as ko from 'knockout'; import { ILayoutItemViewModel, ILayoutItemViewModelProvider, LayoutItemInsertionBehavior } from '../../common/docking-layout/core/_layout-item'; import { DashboardLayoutGroupOrientation } from '../enums'; import { IDashboardItemsProvider } from '../internal/_interfaces'; import { KnockoutEntry } from '../internal/_knockout-utils'; import { DashboardItem } from '../items/dashboard-item'; import { TypedSerializableModel } from '../serializable-model'; import { DashboardLayoutItemPlaceholder } from './_layout-item-placeholder'; import { DashboardItemJson } from './metadata/_dashboard-layout-node'; export declare type LayoutItemInsertPosition = 'left' | 'right' | 'top' | 'bottom'; export declare abstract class DashboardLayoutNode extends TypedSerializableModel implements ILayoutItemViewModelProvider { static _canAttach(parent: DashboardLayoutNode, dashboardLayoutNode: DashboardLayoutNode | DashboardItemJson): boolean; dashboardItem: ko.Observable; itemType: ko.Observable; weight: ko.Observable; parentNode: ko.Observable; _dashboard: ko.Observable; _item: ko.Observable; get item(): DashboardItem; set item(newItem: DashboardItem); constructor(dashboardLayoutItemJSON?: any, serializer?: ModelSerializer); dispose(): void; getInfo(): ISerializationInfoArray; findLayoutItem(dashboardItem: DashboardItem): DashboardLayoutNode; insert(itemToInsert: DashboardLayoutNode | DashboardItem, position: LayoutItemInsertPosition): void; moveTo(targetItem: DashboardLayoutNode, position: LayoutItemInsertPosition): void; _moveTo(targetItem: DashboardLayoutNode, position: LayoutItemInsertPosition, insertionBehavior?: LayoutItemInsertionBehavior): void; remove(): void; _relativeWidth: ko.Computed; _relativeHeight: ko.Computed; _relativeArea: ko.Computed; _create(modelItemJson?: any, position?: LayoutItemInsertPosition, insertionBehavior?: LayoutItemInsertionBehavior): DashboardLayoutNode; _validateParentNode(newParentNode: any): void; _canAttach(itemToAttach: DashboardLayoutNode | DashboardItemJson): boolean; _viewModel: ILayoutItemViewModel; _createViewModel(): ILayoutItemViewModel; protected get _template(): string; protected get _ignoreChildMaxHeight(): boolean; protected get _visibleItems(): ko.ObservableArray; protected get _childItems(): ko.ObservableArray; protected get _orientation(): ko.Observable; protected get _createPlaceholderFunc(): () => DashboardLayoutItemPlaceholder; protected get _dragOverInnerElementController(): any; protected _activeTabPage: KnockoutEntry; protected _activeTabIndex: KnockoutEntry; protected _delete(): void; protected _insertItemCore(layoutNodeToInsert: DashboardLayoutNode, position: LayoutItemInsertPosition, insertionBehavior?: LayoutItemInsertionBehavior): void; protected _setItemCore(newItem: DashboardItem): void; protected _createTabPage(): void; _ensureItemParentContainer(): void; _deleteDashbordItem(): void; }