devexpress-reporting
Version:
DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.
33 lines (32 loc) • 2.15 kB
TypeScript
/**
* DevExpress HTML/JS Reporting (designer\bands\_bandUtils.d.ts)
* Version: 25.2.3
* Build date: Dec 15, 2025
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
* License: https://www.devexpress.com/Support/EULAs/universal.xml
*/
import { IArea } from '@devexpress/analytics-core/analytics-elements';
import { BandSurface, BandViewModel } from './xrBand';
import { VerticalBandSurface } from './xrVerticalBand';
import { IBandsHolder } from './_bandHolder';
import { GroupBandViewModel } from './xrGroupBand';
import { SortableBandViewModel } from './sortableBand';
export declare function sortBands(band1: any, band2: any): number;
export declare function setMarkerWidth(bandHolder: IBandsHolder, levelCount: any, currentLevel?: number): void;
export declare function getLevelCount(bandHolder: IBandsHolder): number;
export declare function insertBand(bands: ko.ObservableArray<BandViewModel>, newBand: BandViewModel): void;
export declare function _getUnitAbsoluteRect(bandSurface: BandSurface | VerticalBandSurface, getPositionInParent: Function): IArea;
export declare const NEW_GROUPBAND_DEFAULT_LEVEL: any;
export declare const NEW_DETAILBAND_DEFAULT_LEVEL: any;
export declare const REMOVED_DETAILBAND_LEVEL: number;
export declare function getFirstEmptyLevel(bands: GroupBandViewModel[]): number;
export declare function getMaxLevel<T extends {
level: () => number;
}>(parentBands: T[] | null): number;
export declare function isFirstInit(band: BandViewModel): boolean;
export declare function isBandInserting(band: BandViewModel): boolean;
export declare function levelSetup<T extends SortableBandViewModel>(band: T, newValue: number): void;
export declare function getExistedSameLevelBand<T extends SortableBandViewModel>(bands: T[], level: number): T;
export declare function coerceNewLevelValueOnReordering(value: number, minValue: number, maxValue: number): number;
export declare function coerceNewLevelValueOnInserting(value: number, minValue: number, maxValue: number): number;
export declare function changeLevels<T extends SortableBandViewModel>(bands: T[], startIndex: number, endIndex: number): void;