UNPKG

devexpress-reporting

Version:

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

27 lines (26 loc) 1.77 kB
/** * DevExpress HTML/JS Reporting (designer\bands\metadata\xrBandMetaData.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 { parseBool } from '@devexpress/analytics-core/analytics-utils'; import { keepTogetherDefaultValueFalse, textAlignment } from '../../controls/metadata/properties/metadata'; import { commonBandProperties, fontGroup } from '../../controls/metadata/properties/metadataGroups'; import { commonBandScripts } from '../../controls/metadata/properties/scriptMetadata'; import { styleName, stylePriority, stylesObj } from '../../controls/metadata/properties/style'; import { height, pageBreak, printAcrossBands, printAtBottom } from './bandsMetadata'; export const expanded = { propertyName: 'expanded', modelName: '@Expanded', from: parseBool, defaultVal: true }; export const commonBandSerializationInfo = [ textAlignment, expanded, { propertyName: 'controls', modelName: 'Controls', array: true }, { propertyName: 'bands', modelName: 'SubBands', array: true }, ].concat(commonBandProperties, fontGroup); export const bandSerializationInfo = [ styleName, stylesObj, stylePriority, height, printAcrossBands ].concat(commonBandSerializationInfo); export const reportHeaderBandSerializationInfo = [keepTogetherDefaultValueFalse, pageBreak, commonBandScripts].concat(bandSerializationInfo); export const reportFooterBandSerializationInfo = [printAtBottom].concat(reportHeaderBandSerializationInfo); export const popularPropertiesReportHeader = [pageBreak.propertyName, 'keepTogether']; export const popularPropertiesReportFooter = [pageBreak.propertyName, 'keepTogether', 'printAtBottom'];