UNPKG

devexpress-reporting

Version:

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

18 lines (17 loc) 777 B
/** * DevExpress HTML/JS Reporting (designer\helpers\_reportDesignerControlsHelper.js) * Version: 25.1.3 * Build date: Jun 26, 2025 * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * License: https://www.devexpress.com/Support/EULAs/universal.xml */ import { Disposable } from '@devexpress/analytics-core/analytics-utils'; import * as ko from 'knockout'; export class ReportDesignerControlsHelper extends Disposable { constructor(helper) { super(); this.getControls = (context) => helper() && helper().getControls(context); this.getControlByName = (name) => helper() && helper().getControlByName(name); this._disposables.push(this.allControls = ko.computed(() => helper() && helper().allControls() || [])); } }