devexpress-reporting
Version:
DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.
18 lines (17 loc) • 769 B
JavaScript
/**
* DevExpress HTML/JS Reporting (designer\wizard\pages\_selectLabelTypePage.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 { createDeferred } from '@devexpress/analytics-core/analytics-internal-native';
import { ReportWizardService } from '../../services/_reportWizardService';
export let labelReportWizardPromise = null;
export function initializeLabelReportWizardPromise() {
if (!labelReportWizardPromise) {
const $def = createDeferred();
ReportWizardService.getLabelReportWizardData().done(data => $def.resolve(JSON.parse(data)));
labelReportWizardPromise = $def.promise();
}
}