UNPKG

devexpress-reporting

Version:

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

38 lines (37 loc) 2.39 kB
/** * DevExpress HTML/JS Reporting (viewer\settings.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 { createGlobalModuleVariableFunc, NotifyAboutWarning, NotifyType, ShowMessage } from '@devexpress/analytics-core/analytics-internal-native'; export var PageRenderFormat; (function (PageRenderFormat) { PageRenderFormat[PageRenderFormat["Auto"] = 0] = "Auto"; PageRenderFormat[PageRenderFormat["Svg"] = 1] = "Svg"; PageRenderFormat[PageRenderFormat["Png"] = 2] = "Png"; })(PageRenderFormat || (PageRenderFormat = {})); export const EditablePreviewEnabled = createGlobalModuleVariableFunc(true); export const SearchAvailable = createGlobalModuleVariableFunc(true); export const ReportServerInvokeUri = '/RSWebDocumentViewerApi/Invoke'; export const ReportServerExportUri = '/RSWebDocumentViewerApi/Download'; export const AsyncExportApproach = createGlobalModuleVariableFunc(false); export const MessageHandler = createGlobalModuleVariableFunc({ processError: (message, showForUser, prefix = '', element) => { showForUser && ShowMessage(message.substr(prefix.length), undefined, undefined, undefined, undefined, element); NotifyAboutWarning(message, false); }, processMessage: (message, showForUser, element) => { showForUser && ShowMessage(message, NotifyType.success, 10000, undefined, undefined, element); }, processWarning: (message, showForUser, element) => { showForUser && ShowMessage(message, undefined, undefined, undefined, undefined, element); } }); export const HandlerUri = createGlobalModuleVariableFunc('DXXRDV.axd'); export const previewDefaultResolution = createGlobalModuleVariableFunc(96); export const ReportServerDownloadUri = createGlobalModuleVariableFunc(''); export const PollingDelay = createGlobalModuleVariableFunc(300); export const TimeOut = createGlobalModuleVariableFunc(105000); export const PreloadedPagesOffset = createGlobalModuleVariableFunc(15); export const MultipageScrollingThrottle = createGlobalModuleVariableFunc(150); export const PreviewRenderFormat = createGlobalModuleVariableFunc(PageRenderFormat.Png); export const ClipboardSeparator = createGlobalModuleVariableFunc(''); export const AIServicesEnabled = createGlobalModuleVariableFunc(false);