UNPKG

devexpress-reporting

Version:

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

22 lines (21 loc) 1.05 kB
/** * DevExpress HTML/JS Reporting (designer\internal\_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 { ElementViewModel } from '@devexpress/analytics-core/analytics-elements'; import { createGlobalModuleVariableFunc } from '@devexpress/analytics-core/analytics-internal'; import dxSelectBox from 'devextreme/ui/select_box'; export const reportStorageWebIsRegister = createGlobalModuleVariableFunc(false); export const limitation = createGlobalModuleVariableFunc(false); const orig_optionValuesEqual = dxSelectBox.prototype['_optionValuesEqual']; dxSelectBox['redefine']({ _optionValuesEqual: function (optionName, oldValue, newValue) { if (optionName === 'value' && (oldValue instanceof ElementViewModel) && (newValue instanceof ElementViewModel)) { return oldValue === newValue; } return orig_optionValuesEqual.apply(this, arguments); } });