UNPKG

devexpress-reporting

Version:

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

23 lines (22 loc) 946 B
/** * DevExpress HTML/JS Reporting (designer\actions\reportElementActions.js) * 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 { BandViewModel } from '../bands/xrBand'; import { ReportViewModel } from '../controls/xrReport'; import { XRReportElementViewModel } from '../controls/xrReportelement'; import { ElementActions } from './elementActions'; export class ReportElementActions extends ElementActions { constructor(surfaceContext, selection) { super(surfaceContext, selection); } getActions(context) { if (context && !(context instanceof ReportViewModel || context instanceof BandViewModel) && (context instanceof XRReportElementViewModel || context.controlType === 'multiselect')) { return super.getActions(context); } return []; } }