UNPKG

devexpress-reporting

Version:

DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.

56 lines (55 loc) 2.75 kB
/** * DevExpress HTML/JS Reporting (designer\tools\navigation\navigateByReports.d.ts) * Version: 24.2.6 * Build date: Mar 18, 2025 * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * License: https://www.devexpress.com/Support/EULAs/universal.xml */ import { SurfaceSelection } from '@devexpress/analytics-core/analytics-internal'; import { Disposable } from '@devexpress/analytics-core/analytics-utils'; import * as ko from 'knockout'; import { ReportViewModel } from '../../controls/xrReport'; import { XRSubreportSurface } from '../../controls/xrSubreport'; import { IReportDesignerCustomizationHandler } from '../../utils/inititalizer'; import { IDesignerContextOptionsInitOptions } from '../generator/reportDesignerContext'; import { NavigateTab } from './navigateTab'; export interface INavigationOptions { report?: ReportViewModel; reportUrl?: ko.Observable<string> | ko.Computed<string>; callbacks?: IReportDesignerCustomizationHandler; allowMDI?: boolean; selection: SurfaceSelection; initOptions: IDesignerContextOptionsInitOptions; knownEnums?: any; } export declare class NavigateByReports extends Disposable { private _designerReportModel; private _isReportLoading; private _removeTab; dispose(): void; private _closeTab; private _closeAll; private _getTabByControl; private _addTab; changeContext(report: ReportViewModel, reportUrl?: ko.Observable<string> | ko.Computed<string>): void; constructor(options: INavigationOptions); init(isLoading: ko.Observable<boolean>): void; removeTab(tab: any, force?: boolean): import("@devexpress/analytics-core/analytics-internal").DxPromise<any>; closeAll(): import("@devexpress/analytics-core/analytics-internal").DxPromise<any>; save: (tab: NavigateTab) => any; switch(tab: NavigateTab): void; _createNewTab(report: ReportViewModel, url?: ko.Observable<string> | ko.Computed<string>, newReportName?: string): void; goToSubreport(subreportSurface: XRSubreportSurface): void; addTab(report: ReportViewModel, url?: ko.Observable<string> | ko.Computed<string>, onCancel?: () => any, newReportName?: string): import("@devexpress/analytics-core/analytics-internal").DxPromise<any>; checkHeight(): void; currentTab: ko.Observable<NavigateTab> | ko.Computed<NavigateTab>; height: ko.Observable<number> | ko.Computed<number>; tabs: ko.ObservableArray<NavigateTab>; allowMDI: boolean; knownEnums: any; _callbacks: IReportDesignerCustomizationHandler; _selection: SurfaceSelection; _initializeOptions: IDesignerContextOptionsInitOptions; _selectedIndex: ko.Observable<number> | ko.Computed<number>; selectedIndex: ko.Computed<number>; }