@bino-bi/bn-template-engine 1.0.0-next.38 → 1.0.0-next.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
  2. package/dist/bn-template-engine/{p-e15ccc4a.entry.js → p-8c84d57e.entry.js} +1 -1
  3. package/dist/cjs/bn-annotation-layer_30.cjs.entry.js +167 -22
  4. package/dist/cjs/bn-template-engine.cjs.js +1 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/collection/components/bn-table/bn-table-renderer/bn-table-renderer.js +36 -1
  7. package/dist/collection/components/bn-table/bn-table.js +89 -4
  8. package/dist/collection/components/bn-table/utils/Table.js +33 -2
  9. package/dist/collection/components/bn-table/utils/factories/tableDataSetFactory.js +15 -7
  10. package/dist/collection/components/bn-table/utils/helper/IntervalColumns.js +30 -6
  11. package/dist/collection/components/bn-table/utils/model/TableComponentConfig.js +5 -0
  12. package/dist/collection/utils/layoutState/baseline.js +6 -5
  13. package/dist/components/bn-chart-bubble-renderer.js +1 -1
  14. package/dist/components/bn-chart-bubble.js +1 -1
  15. package/dist/components/bn-chart-bullet-renderer.js +1 -1
  16. package/dist/components/bn-chart-bullet.js +1 -1
  17. package/dist/components/bn-chart-scatter-renderer.js +1 -1
  18. package/dist/components/bn-chart-scatter.js +1 -1
  19. package/dist/components/bn-chart-structure.js +1 -1
  20. package/dist/components/bn-chart-time.js +1 -1
  21. package/dist/components/bn-table-renderer.js +1 -1
  22. package/dist/components/bn-table.js +1 -1
  23. package/dist/components/{p-CQVAHG6w.js → p-B4Cf0cVi.js} +1 -1
  24. package/dist/components/{p-C-KX1_tw.js → p-BsJOvfIg.js} +1 -1
  25. package/dist/components/p-ChaSU4fh.js +1 -0
  26. package/dist/components/{p-BhEdmPjm.js → p-Cyf5ZEXs.js} +1 -1
  27. package/dist/components/{p-t4xPltK2.js → p-XFZYX7DZ.js} +1 -1
  28. package/dist/components/{p-C_6KHDYv.js → p-chnyMHJT.js} +1 -1
  29. package/dist/components/p-dRPJiQB6.js +1 -0
  30. package/dist/esm/bn-annotation-layer_30.entry.js +167 -22
  31. package/dist/esm/bn-template-engine.js +1 -1
  32. package/dist/esm/loader.js +1 -1
  33. package/dist/types/components/bn-table/bn-table-renderer/bn-table-renderer.d.ts +2 -0
  34. package/dist/types/components/bn-table/bn-table.d.ts +23 -0
  35. package/dist/types/components/bn-table/utils/Table.d.ts +11 -1
  36. package/dist/types/components/bn-table/utils/factories/tableDataSetFactory.d.ts +7 -4
  37. package/dist/types/components/bn-table/utils/helper/IntervalColumns.d.ts +7 -0
  38. package/dist/types/components/bn-table/utils/model/TableComponentConfig.d.ts +2 -0
  39. package/dist/types/components.d.ts +17 -2
  40. package/dist/types/utils/layoutState/baseline.d.ts +4 -2
  41. package/package.json +1 -1
  42. package/dist/components/p--HIZm_2v.js +0 -1
  43. package/dist/components/p-sar8m7th.js +0 -1
@@ -6,7 +6,7 @@ var appGlobals = require('./app-globals-V2Kpy_OQ.js');
6
6
  const defineCustomElements = async (win, options) => {
7
7
  if (typeof window === 'undefined') return undefined;
8
8
  await appGlobals.globalScripts();
9
- return index.bootstrapLazy(JSON.parse("[[\"bn-grid.cjs\",[[257,\"bn-grid\",{\"selectedStyle\":[513,\"selected-style\"],\"chartTitle\":[1,\"chart-title\"],\"rowHeaders\":[1,\"row-headers\"],\"columnHeaders\":[1,\"column-headers\"],\"showRowHeaders\":[4,\"show-row-headers\"],\"showColumnHeaders\":[4,\"show-column-headers\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"showBorders\":[4,\"show-borders\"],\"rowHeaderWidth\":[1,\"row-header-width\"],\"cellGap\":[1,\"cell-gap\"],\"cellHeight\":[1,\"cell-height\"],\"cellWidth\":[1,\"cell-width\"],\"cellVerticalAlign\":[1,\"cell-vertical-align\"],\"cellHorizontalAlign\":[1,\"cell-horizontal-align\"],\"cellCaptions\":[1,\"cell-captions\"],\"gridConfig\":[32],\"resolvedHeight\":[32],\"resolvedWidth\":[32],\"resolvedVertical\":[32],\"resolvedHorizontal\":[32],\"captions\":[32],\"offsets\":[32],\"getLayoutState\":[64]},null,{\"rowHeaders\":[{\"validateRowHeaders\":0}],\"columnHeaders\":[{\"validateColumnHeaders\":0}],\"cellHeight\":[{\"validateCellHeight\":0}],\"cellWidth\":[{\"validateCellWidth\":0}],\"cellVerticalAlign\":[{\"validateCellVerticalAlign\":0}],\"cellHorizontalAlign\":[{\"validateCellHorizontalAlign\":0}],\"cellCaptions\":[{\"validateCellCaptions\":0}]}]]],[\"bn-image.cjs\",[[1,\"bn-image\",{\"selectedStyle\":[513,\"selected-style\"],\"source\":[1]}]]],[\"bn-internationalization.cjs\",[[0,\"bn-internationalization\",{\"code\":[1],\"namespace\":[1]}]]],[\"bn-ruleset.cjs\",[[0,\"bn-ruleset\",{\"name\":[1]}]]],[\"bn-text.cjs\",[[1,\"bn-text\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"value\":[1],\"scale\":[1],\"data\":[32]},null,{\"value\":[{\"validateValue\":0}],\"scale\":[{\"validateScaling\":0}]}]]],[\"bn-annotation-layer_30.cjs\",[[257,\"bn-layout-page\",{\"styles\":[1],\"selectedStyle\":[1,\"selected-style\"],\"ruleset\":[1],\"messageText\":[1,\"message-text\"],\"messageImage\":[1,\"message-image\"],\"titleBusinessUnit\":[1,\"title-business-unit\"],\"titleScenarios\":[1,\"title-scenarios\"],\"titleVariances\":[1,\"title-variances\"],\"titleOrder\":[1,\"title-order\"],\"titleOrderDirection\":[1,\"title-order-direction\"],\"titleMeasures\":[1,\"title-measures\"],\"titleDateStart\":[1,\"title-date-start\"],\"titleDateEnd\":[1,\"title-date-end\"],\"titleDateFormat\":[1,\"title-date-format\"],\"titleDateLink\":[1,\"title-date-link\"],\"titleNamespace\":[1,\"title-namespace\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"pageFormat\":[1,\"page-format\"],\"pageOrientation\":[1,\"page-orientation\"],\"pageNumber\":[1,\"page-number\"],\"footerText\":[1,\"footer-text\"],\"footerDisplayPageNumber\":[4,\"footer-display-page-number\"],\"pageLayout\":[1,\"page-layout\"],\"pageCustomTemplate\":[1,\"page-custom-template\"],\"pageGridGap\":[1,\"page-grid-gap\"],\"pageFitToContent\":[4,\"page-fit-to-content\"]}],[257,\"bn-layout-card\",{\"styles\":[1],\"selectedStyle\":[1,\"selected-style\"],\"ruleset\":[1],\"titleImage\":[1,\"title-image\"],\"titleBusinessUnit\":[1,\"title-business-unit\"],\"titleScenarios\":[1,\"title-scenarios\"],\"titleVariances\":[1,\"title-variances\"],\"titleOrder\":[1,\"title-order\"],\"titleOrderDirection\":[1,\"title-order-direction\"],\"titleMeasures\":[1,\"title-measures\"],\"titleDateStart\":[1,\"title-date-start\"],\"titleDateEnd\":[1,\"title-date-end\"],\"titleDateFormat\":[1,\"title-date-format\"],\"titleDateLink\":[1,\"title-date-link\"],\"titleNamespace\":[1,\"title-namespace\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"footerText\":[1,\"footer-text\"],\"cardLayout\":[1,\"card-layout\"],\"cardCustomTemplate\":[1,\"card-custom-template\"],\"cardGridGap\":[1,\"card-grid-gap\"],\"cardFitToContent\":[4,\"card-fit-to-content\"],\"cardShowBorder\":[4,\"card-show-border\"]}],[1,\"bn-chart-bubble\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"x\":[1],\"y\":[1],\"size\":[1],\"share\":[1],\"compareWith\":[1,\"compare-with\"],\"level\":[1],\"seriesLevel\":[1,\"series-level\"],\"facet\":[1],\"labels\":[1],\"legend\":[1],\"aspect\":[1],\"limit\":[2],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"x\":[{\"validateX\":0}],\"y\":[{\"validateY\":0}],\"size\":[{\"validateSize\":0}],\"share\":[{\"validateShare\":0}],\"compareWith\":[{\"validateCompareWith\":0}],\"level\":[{\"validateLevel\":0}],\"seriesLevel\":[{\"validateSeriesLevel\":0}],\"facet\":[{\"validateFacet\":0}],\"labels\":[{\"validateLabels\":0}],\"legend\":[{\"validateLegend\":0}],\"aspect\":[{\"validateAspect\":0}],\"limit\":[{\"validateLimit\":0}],\"scale\":[{\"validateScale\":0}]}],[1,\"bn-chart-bullet\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"actual\":[1],\"target\":[1],\"ranges\":[1],\"normalizeMode\":[1,\"normalize\"],\"variances\":[1],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"limit\":[2],\"labels\":[1],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"actual\":[{\"validateActual\":0}],\"target\":[{\"validateTarget\":0}],\"ranges\":[{\"validateRanges\":0}],\"normalizeMode\":[{\"validateNormalize\":0}],\"variances\":[{\"validateVariances\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrder\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"limit\":[{\"validateLimit\":0}],\"labels\":[{\"validateLabels\":0}],\"scale\":[{\"validateScale\":0}]}],[1,\"bn-chart-scatter\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"x\":[1],\"y\":[1],\"iso\":[1],\"level\":[1],\"seriesLevel\":[1,\"series-level\"],\"facet\":[1],\"labels\":[1],\"legend\":[1],\"aspect\":[1],\"limit\":[2],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"x\":[{\"validateX\":0}],\"y\":[{\"validateY\":0}],\"iso\":[{\"validateIso\":0}],\"level\":[{\"validateLevel\":0}],\"seriesLevel\":[{\"validateSeriesLevel\":0}],\"facet\":[{\"validateFacet\":0}],\"labels\":[{\"validateLabels\":0}],\"legend\":[{\"validateLegend\":0}],\"aspect\":[{\"validateAspect\":0}],\"limit\":[{\"validateLimit\":0}],\"scale\":[{\"validateScale\":0}]}],[1,\"bn-chart-structure\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"chartTitle\":[1,\"chart-title\"],\"ruleset\":[513],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"limit\":[2],\"showCategories\":[4,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"stack\":[1],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"limit\":[{\"validateLimit\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}]}],[1,\"bn-chart-time\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"syncSpaceLeft\":[2,\"sync-space-left\"],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"dateInterval\":[1,\"date-interval\"],\"chartMode\":[1,\"chart-mode\"],\"maxBars\":[2,\"max-bars\"],\"stack\":[1],\"scale\":[1],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"axisLabelsMode\":[1,\"axis-labels-mode\"],\"lineFullWidth\":[4,\"line-full-width\"],\"showCategories\":[4,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"showOverlayAvg\":[4,\"show-overlay-avg\"],\"showOverlayMedian\":[4,\"show-overlay-median\"],\"measureUnit\":[1,\"measure-unit\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"syncSpaceLeft\":[{\"validateLeftSync\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"dateInterval\":[{\"validateDateInterval\":0}],\"chartMode\":[{\"validateChartMode\":0}],\"maxBars\":[{\"validateMaxBars\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}],\"axisLabelsMode\":[{\"validateAxisLabelsMode\":0}],\"measureScale\":[{\"validateMeasureScale\":0}]}],[1,\"bn-table\",{\"datasets\":[513],\"i18nNamespace\":[513,\"i18n-namespace\"],\"scale\":[1],\"ruleset\":[513],\"selectedStyle\":[513,\"selected-style\"],\"sumTitle\":[1,\"sum-title\"],\"filter\":[1],\"measureUnit\":[1,\"measure-unit\"],\"scenarios\":[1],\"variances\":[1],\"barColumns\":[1,\"bar-columns\"],\"barColumnWidth\":[1,\"bar-column-width\"],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"dataFormat\":[1,\"data-format\"],\"grouped\":[4],\"showMeasureScale\":[4,\"show-measure-scale\"],\"showGroupTitle\":[4,\"show-group-title\"],\"type\":[1],\"limit\":[2],\"thereof\":[1],\"partof\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"measureType\":[1,\"measure-type\"],\"measureScale\":[1,\"measure-scale\"],\"dataFormatDigitsDecimal\":[2,\"data-format-digits-decimal\"],\"dataFormatDigitsPercent\":[2,\"data-format-digits-percent\"],\"categoryWidth\":[1,\"category-width\"],\"columnthereof\":[1],\"interval\":[1],\"tableAttributes\":[1,\"attributes\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"hasBlankSetnames\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"scale\":[{\"validateScaling\":0}],\"filter\":[{\"validateFilter\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"barColumns\":[{\"validateBarColumns\":0}],\"barColumnWidth\":[{\"validateBarColumnWidth\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"dataFormat\":[{\"validateDataFormat\":0}],\"type\":[{\"validateType\":0}],\"limit\":[{\"validateLimit\":0}],\"thereof\":[{\"validateThereOf\":0}],\"partof\":[{\"validatePartOf\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"measureType\":[{\"validateMeasureType\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"dataFormatDigitsDecimal\":[{\"validateDataFormatDigitsDecimal\":0}],\"dataFormatDigitsPercent\":[{\"validateDateFormatDigitsPercent\":0}],\"categoryWidth\":[{\"validateCategoryWidth\":0}],\"columnthereof\":[{\"validateColumnThereOf\":0}],\"interval\":[{\"validateInterval\":0}],\"tableAttributes\":[{\"validateTableAttributes\":0}]}],[1,\"bn-annotation-layer\",{\"items\":[1],\"selectedStyle\":[513,\"selected-style\"],\"marks\":[32]},null,{\"items\":[{\"onItemsChange\":0}]}],[1,\"bn-annotation-list\",{\"items\":[1],\"selectedStyle\":[513,\"selected-style\"]}],[1,\"bn-asset\",{\"name\":[1]}],[0,\"bn-component-style\",{\"name\":[1]}],[257,\"bn-context\",{\"locale\":[1],\"i18nNamespace\":[513,\"i18n-namespace\"],\"renderOrientation\":[513,\"render-orientation\"],\"getLayoutState\":[64]},null,{\"locale\":[{\"setLocale\":0}]}],[0,\"bn-dataset\",{\"name\":[1],\"datasources\":[1],\"static\":[4],\"raw\":[4],\"refreshInterval\":[2,\"refresh-interval\"],\"src\":[1]},null,{\"name\":[{\"nameUpdated\":0}],\"refreshInterval\":[{\"onIntervalChange\":0}],\"src\":[{\"onSrcChange\":0}]}],[0,\"bn-datasource\",{\"name\":[1],\"raw\":[4],\"refreshInterval\":[2,\"refresh-interval\"],\"src\":[1]},null,{\"refreshInterval\":[{\"onIntervalChange\":0}],\"src\":[{\"onSrcChange\":0}],\"name\":[{\"nameUpdated\":0}]}],[0,\"bn-scaling-group\",{\"name\":[1],\"value\":[8]},null,{\"name\":[{\"onNameChange\":0}],\"value\":[{\"onValueChange\":0}]}],[257,\"bn-tree\",{\"selectedStyle\":[513,\"selected-style\"],\"edges\":[1],\"direction\":[1],\"levelSpacing\":[2,\"level-spacing\"],\"nodeSpacing\":[2,\"node-spacing\"],\"edgeStyle\":[1,\"edge-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"showOperators\":[4,\"show-operators\"],\"treeConfig\":[32],\"layout\":[32],\"nodeRects\":[32],\"svgWidth\":[32],\"svgHeight\":[32],\"getLayoutState\":[64]},null,{\"edges\":[{\"validateEdgesProp\":0}],\"direction\":[{\"validateDirection\":0}],\"levelSpacing\":[{\"validateLevelSpacing\":0}],\"nodeSpacing\":[{\"validateNodeSpacing\":0}],\"edgeStyle\":[{\"validateEdgeStyle\":0}]}],[257,\"bn-card\",{\"selectedStyle\":[513,\"selected-style\"]}],[1,\"bn-chart-bubble-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"x\":[16],\"y\":[16],\"size\":[16],\"share\":[16],\"compareFamily\":[1,\"compare-family\"],\"labels\":[16],\"legend\":[16],\"facet\":[16],\"pointLevel\":[1,\"point-level\"],\"seriesLevel\":[1,\"series-level\"],\"aspect\":[2],\"limit\":[2],\"filter\":[1],\"sizeAreaPerUnit\":[2,\"size-area-per-unit\"],\"styles\":[16],\"i18n\":[16],\"containerWidth\":[2,\"container-width\"],\"ruleSetConfig\":[16],\"errors\":[16],\"translator\":[16]}],[1,\"bn-chart-bullet-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"actual\":[16],\"target\":[16],\"ranges\":[16],\"normalizeMode\":[1,\"normalize-mode\"],\"showVariances\":[4,\"show-variances\"],\"level\":[1],\"order\":[16],\"limit\":[2],\"labels\":[16],\"filter\":[1],\"styles\":[16],\"i18n\":[16],\"containerWidth\":[2,\"container-width\"],\"ruleSetConfig\":[16],\"errors\":[16],\"translator\":[16]}],[1,\"bn-chart-scatter-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"x\":[16],\"y\":[16],\"iso\":[16],\"labels\":[16],\"legend\":[16],\"facet\":[16],\"pointLevel\":[1,\"point-level\"],\"seriesLevel\":[1,\"series-level\"],\"aspect\":[2],\"limit\":[2],\"filter\":[1],\"styles\":[16],\"i18n\":[16],\"containerWidth\":[2,\"container-width\"],\"ruleSetConfig\":[16],\"errors\":[16],\"translator\":[16]}],[1,\"bn-chart-structure-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideCategories\":[4,\"hide-categories\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"reportAutoScaling\":[16],\"errors\":[16],\"limit\":[2],\"styles\":[1040],\"i18n\":[1040],\"order\":[16],\"level\":[1],\"filter\":[1],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"dataFormatDigits\":[16],\"stackConfig\":[16],\"parentDimensions\":[16],\"ruleSetConfig\":[16]}],[1,\"bn-chart-time-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideAxisLabels\":[4,\"hide-axis-labels\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"reportAutoScaling\":[16],\"errors\":[16],\"leftSideOffsetForHorizontalSync\":[2,\"left-side-offset-for-horizontal-sync\"],\"styles\":[1040],\"i18n\":[1040],\"dateInterval\":[1,\"date-interval\"],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"axisLabelsMode\":[1,\"axis-labels-mode\"],\"filter\":[1],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"showOverlayMedian\":[4,\"show-overlay-median\"],\"showOverlayAvg\":[4,\"show-overlay-avg\"],\"chartMode\":[1,\"chart-mode\"],\"maxBars\":[2,\"max-bars\"],\"stackConfig\":[16],\"lineFullWidth\":[4,\"line-full-width\"],\"containerWidth\":[2,\"container-width\"],\"dataFormatDigits\":[16],\"parentDimensions\":[16],\"ruleSetConfig\":[16]}],[1,\"bn-message\",{\"selectedStyle\":[513,\"selected-style\"],\"text\":[1025],\"image\":[1]}],[257,\"bn-page\",{\"selectedStyle\":[513,\"selected-style\"],\"format\":[1],\"orientation\":[1]},null,{\"format\":[{\"validateFormat\":0}],\"orientation\":[{\"validateOrientation\":0}]}],[1,\"bn-table-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"selectedStyle\":[513,\"selected-style\"],\"sumTitle\":[1,\"sum-title\"],\"scenarios\":[16],\"scenariosDataFormat\":[1,\"scenarios-data-format\"],\"grouped\":[4],\"limit\":[2],\"showGroupTitle\":[4,\"show-group-title\"],\"thereof\":[16],\"partof\":[16],\"order\":[16],\"categorythereof\":[16],\"attributeColumns\":[16],\"type\":[1],\"categoryWidth\":[1,\"category-width\"],\"dataFormatDigits\":[16],\"ruleSetConfig\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"measureType\":[1,\"measure-type\"],\"filter\":[1],\"barColumns\":[16],\"interval\":[1],\"barColumnMaxWidth\":[2,\"bar-column-max-width\"],\"unitScaling\":[2,\"unit-scaling\"],\"percentageScaling\":[2,\"percentage-scaling\"],\"reportAutoScaling\":[16],\"errors\":[16],\"scaleFactor\":[2,\"scale-factor\"],\"getLayoutDetail\":[64]}],[1,\"bn-title\",{\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"businessUnit\":[1,\"business-unit\"],\"scenarios\":[1],\"variances\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"measures\":[1],\"dateStart\":[1,\"date-start\"],\"dateEnd\":[1,\"date-end\"],\"dateFormat\":[1,\"date-format\"],\"dateLink\":[1,\"date-link\"]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"order\":[{\"validateOrder\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"measures\":[{\"validateMeasures\":0}],\"dateStart\":[{\"validateDateStart\":0}],\"dateEnd\":[{\"validateDateEnd\":0}],\"dateFormat\":[{\"validateDateFormat\":0}],\"dateLink\":[{\"validateDateLink\":0}]}],[257,\"bn-body\",{\"selectedStyle\":[513,\"selected-style\"]}],[1,\"bn-footer\",{\"selectedStyle\":[513,\"selected-style\"],\"pageNumber\":[1025,\"page-number\"],\"text\":[1025],\"displayPageNumber\":[4,\"display-page-number\"]}],[1,\"bn-title-renderer\",{\"businessUnit\":[1537,\"business-unit\"],\"scenarios\":[16],\"measures\":[16],\"timeperiod\":[16],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"order\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"locale\":[1],\"ruleSetConfig\":[16]}]]]]"), options);
9
+ return index.bootstrapLazy(JSON.parse("[[\"bn-grid.cjs\",[[257,\"bn-grid\",{\"selectedStyle\":[513,\"selected-style\"],\"chartTitle\":[1,\"chart-title\"],\"rowHeaders\":[1,\"row-headers\"],\"columnHeaders\":[1,\"column-headers\"],\"showRowHeaders\":[4,\"show-row-headers\"],\"showColumnHeaders\":[4,\"show-column-headers\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"showBorders\":[4,\"show-borders\"],\"rowHeaderWidth\":[1,\"row-header-width\"],\"cellGap\":[1,\"cell-gap\"],\"cellHeight\":[1,\"cell-height\"],\"cellWidth\":[1,\"cell-width\"],\"cellVerticalAlign\":[1,\"cell-vertical-align\"],\"cellHorizontalAlign\":[1,\"cell-horizontal-align\"],\"cellCaptions\":[1,\"cell-captions\"],\"gridConfig\":[32],\"resolvedHeight\":[32],\"resolvedWidth\":[32],\"resolvedVertical\":[32],\"resolvedHorizontal\":[32],\"captions\":[32],\"offsets\":[32],\"getLayoutState\":[64]},null,{\"rowHeaders\":[{\"validateRowHeaders\":0}],\"columnHeaders\":[{\"validateColumnHeaders\":0}],\"cellHeight\":[{\"validateCellHeight\":0}],\"cellWidth\":[{\"validateCellWidth\":0}],\"cellVerticalAlign\":[{\"validateCellVerticalAlign\":0}],\"cellHorizontalAlign\":[{\"validateCellHorizontalAlign\":0}],\"cellCaptions\":[{\"validateCellCaptions\":0}]}]]],[\"bn-image.cjs\",[[1,\"bn-image\",{\"selectedStyle\":[513,\"selected-style\"],\"source\":[1]}]]],[\"bn-internationalization.cjs\",[[0,\"bn-internationalization\",{\"code\":[1],\"namespace\":[1]}]]],[\"bn-ruleset.cjs\",[[0,\"bn-ruleset\",{\"name\":[1]}]]],[\"bn-text.cjs\",[[1,\"bn-text\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"value\":[1],\"scale\":[1],\"data\":[32]},null,{\"value\":[{\"validateValue\":0}],\"scale\":[{\"validateScaling\":0}]}]]],[\"bn-annotation-layer_30.cjs\",[[257,\"bn-layout-page\",{\"styles\":[1],\"selectedStyle\":[1,\"selected-style\"],\"ruleset\":[1],\"messageText\":[1,\"message-text\"],\"messageImage\":[1,\"message-image\"],\"titleBusinessUnit\":[1,\"title-business-unit\"],\"titleScenarios\":[1,\"title-scenarios\"],\"titleVariances\":[1,\"title-variances\"],\"titleOrder\":[1,\"title-order\"],\"titleOrderDirection\":[1,\"title-order-direction\"],\"titleMeasures\":[1,\"title-measures\"],\"titleDateStart\":[1,\"title-date-start\"],\"titleDateEnd\":[1,\"title-date-end\"],\"titleDateFormat\":[1,\"title-date-format\"],\"titleDateLink\":[1,\"title-date-link\"],\"titleNamespace\":[1,\"title-namespace\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"pageFormat\":[1,\"page-format\"],\"pageOrientation\":[1,\"page-orientation\"],\"pageNumber\":[1,\"page-number\"],\"footerText\":[1,\"footer-text\"],\"footerDisplayPageNumber\":[4,\"footer-display-page-number\"],\"pageLayout\":[1,\"page-layout\"],\"pageCustomTemplate\":[1,\"page-custom-template\"],\"pageGridGap\":[1,\"page-grid-gap\"],\"pageFitToContent\":[4,\"page-fit-to-content\"]}],[257,\"bn-layout-card\",{\"styles\":[1],\"selectedStyle\":[1,\"selected-style\"],\"ruleset\":[1],\"titleImage\":[1,\"title-image\"],\"titleBusinessUnit\":[1,\"title-business-unit\"],\"titleScenarios\":[1,\"title-scenarios\"],\"titleVariances\":[1,\"title-variances\"],\"titleOrder\":[1,\"title-order\"],\"titleOrderDirection\":[1,\"title-order-direction\"],\"titleMeasures\":[1,\"title-measures\"],\"titleDateStart\":[1,\"title-date-start\"],\"titleDateEnd\":[1,\"title-date-end\"],\"titleDateFormat\":[1,\"title-date-format\"],\"titleDateLink\":[1,\"title-date-link\"],\"titleNamespace\":[1,\"title-namespace\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"footerText\":[1,\"footer-text\"],\"cardLayout\":[1,\"card-layout\"],\"cardCustomTemplate\":[1,\"card-custom-template\"],\"cardGridGap\":[1,\"card-grid-gap\"],\"cardFitToContent\":[4,\"card-fit-to-content\"],\"cardShowBorder\":[4,\"card-show-border\"]}],[1,\"bn-chart-bubble\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"x\":[1],\"y\":[1],\"size\":[1],\"share\":[1],\"compareWith\":[1,\"compare-with\"],\"level\":[1],\"seriesLevel\":[1,\"series-level\"],\"facet\":[1],\"labels\":[1],\"legend\":[1],\"aspect\":[1],\"limit\":[2],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"x\":[{\"validateX\":0}],\"y\":[{\"validateY\":0}],\"size\":[{\"validateSize\":0}],\"share\":[{\"validateShare\":0}],\"compareWith\":[{\"validateCompareWith\":0}],\"level\":[{\"validateLevel\":0}],\"seriesLevel\":[{\"validateSeriesLevel\":0}],\"facet\":[{\"validateFacet\":0}],\"labels\":[{\"validateLabels\":0}],\"legend\":[{\"validateLegend\":0}],\"aspect\":[{\"validateAspect\":0}],\"limit\":[{\"validateLimit\":0}],\"scale\":[{\"validateScale\":0}]}],[1,\"bn-chart-bullet\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"actual\":[1],\"target\":[1],\"ranges\":[1],\"normalizeMode\":[1,\"normalize\"],\"variances\":[1],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"limit\":[2],\"labels\":[1],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"actual\":[{\"validateActual\":0}],\"target\":[{\"validateTarget\":0}],\"ranges\":[{\"validateRanges\":0}],\"normalizeMode\":[{\"validateNormalize\":0}],\"variances\":[{\"validateVariances\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrder\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"limit\":[{\"validateLimit\":0}],\"labels\":[{\"validateLabels\":0}],\"scale\":[{\"validateScale\":0}]}],[1,\"bn-chart-scatter\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"x\":[1],\"y\":[1],\"iso\":[1],\"level\":[1],\"seriesLevel\":[1,\"series-level\"],\"facet\":[1],\"labels\":[1],\"legend\":[1],\"aspect\":[1],\"limit\":[2],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"x\":[{\"validateX\":0}],\"y\":[{\"validateY\":0}],\"iso\":[{\"validateIso\":0}],\"level\":[{\"validateLevel\":0}],\"seriesLevel\":[{\"validateSeriesLevel\":0}],\"facet\":[{\"validateFacet\":0}],\"labels\":[{\"validateLabels\":0}],\"legend\":[{\"validateLegend\":0}],\"aspect\":[{\"validateAspect\":0}],\"limit\":[{\"validateLimit\":0}],\"scale\":[{\"validateScale\":0}]}],[1,\"bn-chart-structure\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"chartTitle\":[1,\"chart-title\"],\"ruleset\":[513],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"limit\":[2],\"showCategories\":[4,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"stack\":[1],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"limit\":[{\"validateLimit\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}]}],[1,\"bn-chart-time\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"syncSpaceLeft\":[2,\"sync-space-left\"],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"dateInterval\":[1,\"date-interval\"],\"chartMode\":[1,\"chart-mode\"],\"maxBars\":[2,\"max-bars\"],\"stack\":[1],\"scale\":[1],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"axisLabelsMode\":[1,\"axis-labels-mode\"],\"lineFullWidth\":[4,\"line-full-width\"],\"showCategories\":[4,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"showOverlayAvg\":[4,\"show-overlay-avg\"],\"showOverlayMedian\":[4,\"show-overlay-median\"],\"measureUnit\":[1,\"measure-unit\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"syncSpaceLeft\":[{\"validateLeftSync\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"dateInterval\":[{\"validateDateInterval\":0}],\"chartMode\":[{\"validateChartMode\":0}],\"maxBars\":[{\"validateMaxBars\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}],\"axisLabelsMode\":[{\"validateAxisLabelsMode\":0}],\"measureScale\":[{\"validateMeasureScale\":0}]}],[1,\"bn-table\",{\"datasets\":[513],\"i18nNamespace\":[513,\"i18n-namespace\"],\"scale\":[1],\"ruleset\":[513],\"selectedStyle\":[513,\"selected-style\"],\"sumTitle\":[1,\"sum-title\"],\"filter\":[1],\"measureUnit\":[1,\"measure-unit\"],\"scenarios\":[1],\"variances\":[1],\"barColumns\":[1,\"bar-columns\"],\"barColumnWidth\":[1,\"bar-column-width\"],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"dataFormat\":[1,\"data-format\"],\"grouped\":[4],\"showMeasureScale\":[4,\"show-measure-scale\"],\"showGroupTitle\":[4,\"show-group-title\"],\"type\":[1],\"limit\":[2],\"thereof\":[1],\"partof\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"measureType\":[1,\"measure-type\"],\"measureScale\":[1,\"measure-scale\"],\"dataFormatDigitsDecimal\":[2,\"data-format-digits-decimal\"],\"dataFormatDigitsPercent\":[2,\"data-format-digits-percent\"],\"categoryWidth\":[1,\"category-width\"],\"columnthereof\":[1],\"interval\":[1],\"categoryIntervalPosition\":[2,\"category-interval-position\"],\"tableAttributes\":[1,\"attributes\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"hasBlankSetnames\":[32],\"hasSetnameIndexWithoutSetname\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"scale\":[{\"validateScaling\":0}],\"filter\":[{\"validateFilter\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"barColumns\":[{\"validateBarColumns\":0}],\"barColumnWidth\":[{\"validateBarColumnWidth\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"dataFormat\":[{\"validateDataFormat\":0}],\"type\":[{\"validateType\":0}],\"limit\":[{\"validateLimit\":0}],\"thereof\":[{\"validateThereOf\":0}],\"partof\":[{\"validatePartOf\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"measureType\":[{\"validateMeasureType\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"dataFormatDigitsDecimal\":[{\"validateDataFormatDigitsDecimal\":0}],\"dataFormatDigitsPercent\":[{\"validateDateFormatDigitsPercent\":0}],\"categoryWidth\":[{\"validateCategoryWidth\":0}],\"columnthereof\":[{\"validateColumnThereOf\":0}],\"interval\":[{\"validateInterval\":0}],\"categoryIntervalPosition\":[{\"validateCategoryIntervalPosition\":0}],\"tableAttributes\":[{\"validateTableAttributes\":0}]}],[1,\"bn-annotation-layer\",{\"items\":[1],\"selectedStyle\":[513,\"selected-style\"],\"marks\":[32]},null,{\"items\":[{\"onItemsChange\":0}]}],[1,\"bn-annotation-list\",{\"items\":[1],\"selectedStyle\":[513,\"selected-style\"]}],[1,\"bn-asset\",{\"name\":[1]}],[0,\"bn-component-style\",{\"name\":[1]}],[257,\"bn-context\",{\"locale\":[1],\"i18nNamespace\":[513,\"i18n-namespace\"],\"renderOrientation\":[513,\"render-orientation\"],\"getLayoutState\":[64]},null,{\"locale\":[{\"setLocale\":0}]}],[0,\"bn-dataset\",{\"name\":[1],\"datasources\":[1],\"static\":[4],\"raw\":[4],\"refreshInterval\":[2,\"refresh-interval\"],\"src\":[1]},null,{\"name\":[{\"nameUpdated\":0}],\"refreshInterval\":[{\"onIntervalChange\":0}],\"src\":[{\"onSrcChange\":0}]}],[0,\"bn-datasource\",{\"name\":[1],\"raw\":[4],\"refreshInterval\":[2,\"refresh-interval\"],\"src\":[1]},null,{\"refreshInterval\":[{\"onIntervalChange\":0}],\"src\":[{\"onSrcChange\":0}],\"name\":[{\"nameUpdated\":0}]}],[0,\"bn-scaling-group\",{\"name\":[1],\"value\":[8]},null,{\"name\":[{\"onNameChange\":0}],\"value\":[{\"onValueChange\":0}]}],[257,\"bn-tree\",{\"selectedStyle\":[513,\"selected-style\"],\"edges\":[1],\"direction\":[1],\"levelSpacing\":[2,\"level-spacing\"],\"nodeSpacing\":[2,\"node-spacing\"],\"edgeStyle\":[1,\"edge-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"showOperators\":[4,\"show-operators\"],\"treeConfig\":[32],\"layout\":[32],\"nodeRects\":[32],\"svgWidth\":[32],\"svgHeight\":[32],\"getLayoutState\":[64]},null,{\"edges\":[{\"validateEdgesProp\":0}],\"direction\":[{\"validateDirection\":0}],\"levelSpacing\":[{\"validateLevelSpacing\":0}],\"nodeSpacing\":[{\"validateNodeSpacing\":0}],\"edgeStyle\":[{\"validateEdgeStyle\":0}]}],[257,\"bn-card\",{\"selectedStyle\":[513,\"selected-style\"]}],[1,\"bn-chart-bubble-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"x\":[16],\"y\":[16],\"size\":[16],\"share\":[16],\"compareFamily\":[1,\"compare-family\"],\"labels\":[16],\"legend\":[16],\"facet\":[16],\"pointLevel\":[1,\"point-level\"],\"seriesLevel\":[1,\"series-level\"],\"aspect\":[2],\"limit\":[2],\"filter\":[1],\"sizeAreaPerUnit\":[2,\"size-area-per-unit\"],\"styles\":[16],\"i18n\":[16],\"containerWidth\":[2,\"container-width\"],\"ruleSetConfig\":[16],\"errors\":[16],\"translator\":[16]}],[1,\"bn-chart-bullet-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"actual\":[16],\"target\":[16],\"ranges\":[16],\"normalizeMode\":[1,\"normalize-mode\"],\"showVariances\":[4,\"show-variances\"],\"level\":[1],\"order\":[16],\"limit\":[2],\"labels\":[16],\"filter\":[1],\"styles\":[16],\"i18n\":[16],\"containerWidth\":[2,\"container-width\"],\"ruleSetConfig\":[16],\"errors\":[16],\"translator\":[16]}],[1,\"bn-chart-scatter-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"x\":[16],\"y\":[16],\"iso\":[16],\"labels\":[16],\"legend\":[16],\"facet\":[16],\"pointLevel\":[1,\"point-level\"],\"seriesLevel\":[1,\"series-level\"],\"aspect\":[2],\"limit\":[2],\"filter\":[1],\"styles\":[16],\"i18n\":[16],\"containerWidth\":[2,\"container-width\"],\"ruleSetConfig\":[16],\"errors\":[16],\"translator\":[16]}],[1,\"bn-chart-structure-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideCategories\":[4,\"hide-categories\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"reportAutoScaling\":[16],\"errors\":[16],\"limit\":[2],\"styles\":[1040],\"i18n\":[1040],\"order\":[16],\"level\":[1],\"filter\":[1],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"dataFormatDigits\":[16],\"stackConfig\":[16],\"parentDimensions\":[16],\"ruleSetConfig\":[16]}],[1,\"bn-chart-time-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideAxisLabels\":[4,\"hide-axis-labels\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"reportAutoScaling\":[16],\"errors\":[16],\"leftSideOffsetForHorizontalSync\":[2,\"left-side-offset-for-horizontal-sync\"],\"styles\":[1040],\"i18n\":[1040],\"dateInterval\":[1,\"date-interval\"],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"axisLabelsMode\":[1,\"axis-labels-mode\"],\"filter\":[1],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"showOverlayMedian\":[4,\"show-overlay-median\"],\"showOverlayAvg\":[4,\"show-overlay-avg\"],\"chartMode\":[1,\"chart-mode\"],\"maxBars\":[2,\"max-bars\"],\"stackConfig\":[16],\"lineFullWidth\":[4,\"line-full-width\"],\"containerWidth\":[2,\"container-width\"],\"dataFormatDigits\":[16],\"parentDimensions\":[16],\"ruleSetConfig\":[16]}],[1,\"bn-message\",{\"selectedStyle\":[513,\"selected-style\"],\"text\":[1025],\"image\":[1]}],[257,\"bn-page\",{\"selectedStyle\":[513,\"selected-style\"],\"format\":[1],\"orientation\":[1]},null,{\"format\":[{\"validateFormat\":0}],\"orientation\":[{\"validateOrientation\":0}]}],[1,\"bn-table-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"selectedStyle\":[513,\"selected-style\"],\"sumTitle\":[1,\"sum-title\"],\"scenarios\":[16],\"scenariosDataFormat\":[1,\"scenarios-data-format\"],\"grouped\":[4],\"limit\":[2],\"showGroupTitle\":[4,\"show-group-title\"],\"thereof\":[16],\"partof\":[16],\"order\":[16],\"categorythereof\":[16],\"attributeColumns\":[16],\"type\":[1],\"categoryWidth\":[1,\"category-width\"],\"dataFormatDigits\":[16],\"ruleSetConfig\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"measureType\":[1,\"measure-type\"],\"filter\":[1],\"barColumns\":[16],\"interval\":[1],\"categoryIntervalPosition\":[2,\"category-interval-position\"],\"barColumnMaxWidth\":[2,\"bar-column-max-width\"],\"unitScaling\":[2,\"unit-scaling\"],\"percentageScaling\":[2,\"percentage-scaling\"],\"reportAutoScaling\":[16],\"errors\":[16],\"scaleFactor\":[2,\"scale-factor\"],\"getLayoutDetail\":[64]}],[1,\"bn-title\",{\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"businessUnit\":[1,\"business-unit\"],\"scenarios\":[1],\"variances\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"measures\":[1],\"dateStart\":[1,\"date-start\"],\"dateEnd\":[1,\"date-end\"],\"dateFormat\":[1,\"date-format\"],\"dateLink\":[1,\"date-link\"]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"order\":[{\"validateOrder\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"measures\":[{\"validateMeasures\":0}],\"dateStart\":[{\"validateDateStart\":0}],\"dateEnd\":[{\"validateDateEnd\":0}],\"dateFormat\":[{\"validateDateFormat\":0}],\"dateLink\":[{\"validateDateLink\":0}]}],[257,\"bn-body\",{\"selectedStyle\":[513,\"selected-style\"]}],[1,\"bn-footer\",{\"selectedStyle\":[513,\"selected-style\"],\"pageNumber\":[1025,\"page-number\"],\"text\":[1025],\"displayPageNumber\":[4,\"display-page-number\"]}],[1,\"bn-title-renderer\",{\"businessUnit\":[1537,\"business-unit\"],\"scenarios\":[16],\"measures\":[16],\"timeperiod\":[16],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"order\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"locale\":[1],\"ruleSetConfig\":[16]}]]]]"), options);
10
10
  };
11
11
 
12
12
  exports.setNonce = index.setNonce;
@@ -95,6 +95,8 @@ export class BnTableRenderer {
95
95
  this.barColumns = [];
96
96
  /** @internal */
97
97
  this.interval = "none";
98
+ /** @internal */
99
+ this.categoryIntervalPosition = 0;
98
100
  /**
99
101
  * Total width of a bar chart column, in em of the table font - the same unit
100
102
  * `categoryWidth` uses, so the two render at the same width for the same value.
@@ -257,7 +259,7 @@ export class BnTableRenderer {
257
259
  return h(Host, { class: { "no-data": ((_a = this.table) === null || _a === void 0 ? void 0 : _a.hasNoData()) === true } }, helper());
258
260
  }
259
261
  componentWillRender() {
260
- var _a, _b, _c, _d, _e, _f, _g, _h;
262
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
261
263
  if (!this.stores)
262
264
  this.stores = getStores(this.element);
263
265
  const db = this.stores.db.db;
@@ -297,6 +299,15 @@ export class BnTableRenderer {
297
299
  else {
298
300
  (_h = this.errors) === null || _h === void 0 ? void 0 : _h.remove("WARN_orderBucket");
299
301
  }
302
+ const positionWarning = (_j = this.table) === null || _j === void 0 ? void 0 : _j.categoryIntervalPositionWarning();
303
+ for (const id of ["WARN_categoryIntervalPositionNoInterval", "WARN_categoryIntervalPositionRange"]) {
304
+ if ((positionWarning === null || positionWarning === void 0 ? void 0 : positionWarning.id) === id) {
305
+ (_k = this.errors) === null || _k === void 0 ? void 0 : _k.addOrReplace({ id, type: "warning", message: positionWarning.message });
306
+ }
307
+ else {
308
+ (_l = this.errors) === null || _l === void 0 ? void 0 : _l.remove(id);
309
+ }
310
+ }
300
311
  this.barColumnLayouts = this.collectBarColumnLayouts();
301
312
  this.barChartStyles = this.prepareBarChartStyles();
302
313
  }
@@ -329,6 +340,7 @@ export class BnTableRenderer {
329
340
  filter: this.filter,
330
341
  barColumns: this.barColumns,
331
342
  interval: this.interval,
343
+ categoryIntervalPosition: this.categoryIntervalPosition,
332
344
  locale: ((_c = (_b = (_a = this.stores) === null || _a === void 0 ? void 0 : _a.context) === null || _b === void 0 ? void 0 : _b.state) === null || _c === void 0 ? void 0 : _c.locale) || "de",
333
345
  });
334
346
  return config;
@@ -1237,6 +1249,29 @@ export class BnTableRenderer {
1237
1249
  "attribute": "interval",
1238
1250
  "defaultValue": "\"none\""
1239
1251
  },
1252
+ "categoryIntervalPosition": {
1253
+ "type": "number",
1254
+ "mutable": false,
1255
+ "complexType": {
1256
+ "original": "number",
1257
+ "resolved": "number",
1258
+ "references": {}
1259
+ },
1260
+ "required": false,
1261
+ "optional": false,
1262
+ "docs": {
1263
+ "tags": [{
1264
+ "name": "internal",
1265
+ "text": undefined
1266
+ }],
1267
+ "text": ""
1268
+ },
1269
+ "getter": false,
1270
+ "setter": false,
1271
+ "reflect": false,
1272
+ "attribute": "category-interval-position",
1273
+ "defaultValue": "0"
1274
+ },
1240
1275
  "barColumnMaxWidth": {
1241
1276
  "type": "number",
1242
1277
  "mutable": false,
@@ -17,7 +17,7 @@ import { formatScalingValue, parseScaling, resolveScalingValue } from "../../uti
17
17
  import { observeParentResize } from "../../utils/layoutObserver";
18
18
  import { BAR_COLUMN_WIDTH_EM, DataFormat, I18nMode, MeasureType, TableBarColumnWidth, TableCategoryWidth, } from "../../utils/constants";
19
19
  import { TableType } from "./utils/model";
20
- import { INTERVAL_NONE, INTERVAL_SETNAME } from "./utils/helper/IntervalColumns";
20
+ import { coerceSetnameIndex, INTERVAL_NONE, INTERVAL_SETNAME } from "./utils/helper/IntervalColumns";
21
21
  import { parseTableAttributeExpression } from "./utils/model/TableAttribute";
22
22
  import { normalizeOrderToken, OrderDirection } from "../../utils/model/Order";
23
23
  import { LAYOUT_STATE_VERSION, measure, originsFor, readDiagnostics, readTableBaseline, resolveStandaloneId, } from "../../utils/layoutState";
@@ -61,6 +61,8 @@ export class Table {
61
61
  this.appliedScaleFactor = 1;
62
62
  /** True when the active dataset contains rows with a blank `setname` (relevant for `interval='setname'`). */
63
63
  this.hasBlankSetnames = false;
64
+ /** True when the active dataset contains rows with a `setnameIndex` but a blank `setname`. */
65
+ this.hasSetnameIndexWithoutSetname = false;
64
66
  /**
65
67
  * Label of the grand-total row at the bottom of the table. Only rendered for
66
68
  * `type="sum"` and `type="opt"`; the other table types have no total row.
@@ -309,8 +311,27 @@ export class Table {
309
311
  * raise a warning and are grouped under `-`. Date values bucket rows by the
310
312
  * `date` column; ```auto``` detects the granularity from the date span.
311
313
  * Cannot be combined with `columnthereof`.
314
+ * <br /><br />
315
+ * Date groups are shown in chronological order. Setname groups are shown in
316
+ * order of first appearance in the dataset. When the rows carry the optional
317
+ * numeric column `setnameIndex`, the setname groups are sorted ascending by
318
+ * it: the smallest index of a setname counts, groups without an index come
319
+ * last.
312
320
  */
313
321
  this.interval = "none";
322
+ /**
323
+ * Number of interval groups that stand left of the category column. Needs
324
+ * an active `interval`.
325
+ * <br /><br />
326
+ * ```0``` (default) keeps the category column first. ```1``` puts one
327
+ * interval group left of it and the rest right. The number of interval
328
+ * groups puts the category column last. A greater value raises a warning
329
+ * and is used as the number of groups.
330
+ * <br /><br />
331
+ * The operation column and the `attributes` columns move with the category
332
+ * column.
333
+ */
334
+ this.categoryIntervalPosition = 0;
314
335
  /**
315
336
  * Stringified JSON object defining custom columns computed from dataset fields.<br />
316
337
  * Keys are column labels, values are aggregate expressions over the rows that
@@ -376,6 +397,13 @@ export class Table {
376
397
  this.dataVersion = this.dataVersion + 1;
377
398
  this.hasBlankSetnames =
378
399
  Array.isArray(data) && data.some((row) => { var _a; return isBlankInput(((_a = row === null || row === void 0 ? void 0 : row.setname) !== null && _a !== void 0 ? _a : row === null || row === void 0 ? void 0 : row.setName)); });
400
+ this.hasSetnameIndexWithoutSetname =
401
+ Array.isArray(data) &&
402
+ data.some((row) => {
403
+ var _a, _b;
404
+ return coerceSetnameIndex((_a = row === null || row === void 0 ? void 0 : row.setnameIndex) !== null && _a !== void 0 ? _a : row === null || row === void 0 ? void 0 : row.setNameIndex) !== undefined &&
405
+ isBlankInput(((_b = row === null || row === void 0 ? void 0 : row.setname) !== null && _b !== void 0 ? _b : row === null || row === void 0 ? void 0 : row.setName));
406
+ });
379
407
  }, (_name, meta) => {
380
408
  this.datasetMeta = meta;
381
409
  });
@@ -688,6 +716,19 @@ export class Table {
688
716
  });
689
717
  }
690
718
  }
719
+ validateCategoryIntervalPosition(newValue) {
720
+ const errId = "WARN_categoryIntervalPosition";
721
+ if (isBlankInput(newValue) || (isValidInteger(newValue) && Number(newValue) >= 0)) {
722
+ this.errors.remove(errId);
723
+ }
724
+ else {
725
+ this.errors.addOrReplace({
726
+ id: errId,
727
+ type: "warning",
728
+ message: "categoryIntervalPosition: invalid value '" + newValue + "' is not supported.",
729
+ });
730
+ }
731
+ }
691
732
  validateTableAttributes(newValue) {
692
733
  const errId = "WARN_attributes";
693
734
  const invalidElements = validateAttributesJsonStr(newValue);
@@ -720,6 +761,7 @@ export class Table {
720
761
  this.validateMeasureScale(this.measureScale);
721
762
  this.validateColumnThereOf(this.columnthereof);
722
763
  this.validateInterval(this.interval);
764
+ this.validateCategoryIntervalPosition(this.categoryIntervalPosition);
723
765
  this.validateTableAttributes(this.tableAttributes);
724
766
  this.validateBarColumns(this.barColumns);
725
767
  this.validateBarColumnWidth(this.barColumnWidth);
@@ -1036,6 +1078,7 @@ export class Table {
1036
1078
  const conflictErrId = "WARN_intervalConflict";
1037
1079
  const noDateErrId = "WARN_intervalNoDate";
1038
1080
  const setnameErrId = "WARN_intervalSetname";
1081
+ const setnameIndexErrId = "WARN_intervalSetnameIndex";
1039
1082
  const interval = isBlankInput(this.interval) ? INTERVAL_NONE : this.interval.trim().toLowerCase();
1040
1083
  const isValid = interval === INTERVAL_NONE || interval === INTERVAL_SETNAME || isValidDateFormat(interval);
1041
1084
  // invalid values are already reported by validateInterval
@@ -1043,6 +1086,7 @@ export class Table {
1043
1086
  this.errors.remove(conflictErrId);
1044
1087
  this.errors.remove(noDateErrId);
1045
1088
  this.errors.remove(setnameErrId);
1089
+ this.errors.remove(setnameIndexErrId);
1046
1090
  return INTERVAL_NONE;
1047
1091
  }
1048
1092
  if (this.columnthereof != null && this.columnthereof.trim() !== "") {
@@ -1053,6 +1097,7 @@ export class Table {
1053
1097
  });
1054
1098
  this.errors.remove(noDateErrId);
1055
1099
  this.errors.remove(setnameErrId);
1100
+ this.errors.remove(setnameIndexErrId);
1056
1101
  return INTERVAL_NONE;
1057
1102
  }
1058
1103
  this.errors.remove(conflictErrId);
@@ -1067,10 +1112,21 @@ export class Table {
1067
1112
  else {
1068
1113
  this.errors.remove(setnameErrId);
1069
1114
  }
1115
+ if (this.hasSetnameIndexWithoutSetname) {
1116
+ this.errors.addOrReplace({
1117
+ id: setnameIndexErrId,
1118
+ type: "warning",
1119
+ message: "interval: rows with setnameIndex but blank setname found, setnameIndex needs setname.",
1120
+ });
1121
+ }
1122
+ else {
1123
+ this.errors.remove(setnameIndexErrId);
1124
+ }
1070
1125
  this.errors.remove(noDateErrId);
1071
1126
  return INTERVAL_SETNAME;
1072
1127
  }
1073
1128
  this.errors.remove(setnameErrId);
1129
+ this.errors.remove(setnameIndexErrId);
1074
1130
  if (this.datasetMeta && !((_a = this.datasetMeta.dateRange) === null || _a === void 0 ? void 0 : _a.hasData)) {
1075
1131
  this.errors.addOrReplace({
1076
1132
  id: noDateErrId,
@@ -1082,6 +1138,10 @@ export class Table {
1082
1138
  this.errors.remove(noDateErrId);
1083
1139
  return interval;
1084
1140
  }
1141
+ prepareCategoryIntervalPosition() {
1142
+ const position = Number(this.categoryIntervalPosition);
1143
+ return Number.isInteger(position) && position > 0 ? position : 0;
1144
+ }
1085
1145
  prepareAttributes() {
1086
1146
  if (this.tableAttributes == null || this.tableAttributes.trim() === "") {
1087
1147
  return [];
@@ -1187,6 +1247,7 @@ export class Table {
1187
1247
  const dataSetStructure = {
1188
1248
  ITableDataRow: {
1189
1249
  setName: { type: "string", isOptional: false, description: "" },
1250
+ setNameIndex: { type: "number", isOptional: true, description: "" },
1190
1251
  date: { type: "string", isOptional: false, description: "" },
1191
1252
  operation: { type: "string", isOptional: false, description: "" },
1192
1253
  rowGroup: { type: "string", isOptional: false, description: "" },
@@ -1342,7 +1403,7 @@ export class Table {
1342
1403
  render() {
1343
1404
  const fontStyles = this.getFontStyles();
1344
1405
  const effectiveFactor = this.getEffectiveScaleFactor();
1345
- return (h(Host, { key: '42974a4931f678c35e5c740bf6d630966368fb4b', style: fontStyles }, h("div", { key: '2c8f99a8bd155e2c93e55e9542090d04afe22a31' }, h("bn-table-renderer", { key: 'cae9e83bf297e730f12a8a390cbf279413c40b54', tableName: this.datasetName, dataVersion: this.dataVersion, sumTitle: this.prepareSumTitle(), scenarios: this.prepareScenarios(), scenariosDataFormat: this.prepareDataFormat(), grouped: this.prepareGrouped(), limit: this.prepareLimit(), showGroupTitle: this.prepareShowGroupTitle(), thereof: this.prepareThereOf(), partof: this.preparePartOf(), order: this.prepareOrder(), categorythereof: this.prepareColumnThereOf(), attributeColumns: this.prepareAttributes(), type: this.prepareTableType(), categoryWidth: this.prepareCategoryWidth(), dataFormatDigits: this.prepareDataFormatDigits(), i18n: this.prepareI18n(), i18nMode: this.prepareI18nMode(), measureScale: this.prepareMeasureScale(), measureType: this.prepareMeasureType(), measureUnit: this.prepareMeasureUnit(), showMeasureScale: this.prepareShowMeasureScale(), filter: this.prepareFilter(), barColumns: this.prepareBarColumns(), interval: this.prepareInterval(), barColumnMaxWidth: this.prepareBarColumnWidth(), unitScaling: this.prepareUnitScaling(), percentageScaling: this.preparePercentageScaling(), reportAutoScaling: this.handleAutoScalingReport, errors: this.errors, scaleFactor: effectiveFactor, ruleSetConfig: this.ruleSetConfig(), selectedStyle: this.selectedStyle }))));
1406
+ return (h(Host, { key: '9c4b7d3df45c425ab5d6f1443a3a067220d3a451', style: fontStyles }, h("div", { key: 'b0332096da43ca9d5c139da7f18abdcb89356c37' }, h("bn-table-renderer", { key: 'f9ae1288c299bf3e5a5d1da5161fd9c663472e76', tableName: this.datasetName, dataVersion: this.dataVersion, sumTitle: this.prepareSumTitle(), scenarios: this.prepareScenarios(), scenariosDataFormat: this.prepareDataFormat(), grouped: this.prepareGrouped(), limit: this.prepareLimit(), showGroupTitle: this.prepareShowGroupTitle(), thereof: this.prepareThereOf(), partof: this.preparePartOf(), order: this.prepareOrder(), categorythereof: this.prepareColumnThereOf(), attributeColumns: this.prepareAttributes(), type: this.prepareTableType(), categoryWidth: this.prepareCategoryWidth(), dataFormatDigits: this.prepareDataFormatDigits(), i18n: this.prepareI18n(), i18nMode: this.prepareI18nMode(), measureScale: this.prepareMeasureScale(), measureType: this.prepareMeasureType(), measureUnit: this.prepareMeasureUnit(), showMeasureScale: this.prepareShowMeasureScale(), filter: this.prepareFilter(), barColumns: this.prepareBarColumns(), interval: this.prepareInterval(), categoryIntervalPosition: this.prepareCategoryIntervalPosition(), barColumnMaxWidth: this.prepareBarColumnWidth(), unitScaling: this.prepareUnitScaling(), percentageScaling: this.preparePercentageScaling(), reportAutoScaling: this.handleAutoScalingReport, errors: this.errors, scaleFactor: effectiveFactor, ruleSetConfig: this.ruleSetConfig(), selectedStyle: this.selectedStyle }))));
1346
1407
  }
1347
1408
  static get is() { return "bn-table"; }
1348
1409
  static get encapsulation() { return "shadow"; }
@@ -1977,7 +2038,7 @@ export class Table {
1977
2038
  "optional": false,
1978
2039
  "docs": {
1979
2040
  "tags": [],
1980
- "text": "Repeats the entire scenario/variance column block once per interval group,\nrendered under a spanning header band (e.g. `2023 | 2024 | 2025`, each with\nthe configured columns).\n<br /><br />\nvalues:<br /> ```none // setname // year // quarter // month // week // day // hour // minute // second // millisecond // auto```\n<br /><br />\n```none``` (default) deactivates the feature. ```setname``` groups by the\ndataset's `setname` column (non-date comparison); rows with a blank setname\nraise a warning and are grouped under `-`. Date values bucket rows by the\n`date` column; ```auto``` detects the granularity from the date span.\nCannot be combined with `columnthereof`."
2041
+ "text": "Repeats the entire scenario/variance column block once per interval group,\nrendered under a spanning header band (e.g. `2023 | 2024 | 2025`, each with\nthe configured columns).\n<br /><br />\nvalues:<br /> ```none // setname // year // quarter // month // week // day // hour // minute // second // millisecond // auto```\n<br /><br />\n```none``` (default) deactivates the feature. ```setname``` groups by the\ndataset's `setname` column (non-date comparison); rows with a blank setname\nraise a warning and are grouped under `-`. Date values bucket rows by the\n`date` column; ```auto``` detects the granularity from the date span.\nCannot be combined with `columnthereof`.\n<br /><br />\nDate groups are shown in chronological order. Setname groups are shown in\norder of first appearance in the dataset. When the rows carry the optional\nnumeric column `setnameIndex`, the setname groups are sorted ascending by\nit: the smallest index of a setname counts, groups without an index come\nlast."
1981
2042
  },
1982
2043
  "getter": false,
1983
2044
  "setter": false,
@@ -1985,6 +2046,26 @@ export class Table {
1985
2046
  "attribute": "interval",
1986
2047
  "defaultValue": "\"none\""
1987
2048
  },
2049
+ "categoryIntervalPosition": {
2050
+ "type": "number",
2051
+ "mutable": false,
2052
+ "complexType": {
2053
+ "original": "number",
2054
+ "resolved": "number",
2055
+ "references": {}
2056
+ },
2057
+ "required": false,
2058
+ "optional": false,
2059
+ "docs": {
2060
+ "tags": [],
2061
+ "text": "Number of interval groups that stand left of the category column. Needs\nan active `interval`.\n<br /><br />\n```0``` (default) keeps the category column first. ```1``` puts one\ninterval group left of it and the rest right. The number of interval\ngroups puts the category column last. A greater value raises a warning\nand is used as the number of groups.\n<br /><br />\nThe operation column and the `attributes` columns move with the category\ncolumn."
2062
+ },
2063
+ "getter": false,
2064
+ "setter": false,
2065
+ "reflect": false,
2066
+ "attribute": "category-interval-position",
2067
+ "defaultValue": "0"
2068
+ },
1988
2069
  "tableAttributes": {
1989
2070
  "type": "string",
1990
2071
  "mutable": false,
@@ -2013,7 +2094,8 @@ export class Table {
2013
2094
  "dataVersion": {},
2014
2095
  "datasetMeta": {},
2015
2096
  "appliedScaleFactor": {},
2016
- "hasBlankSetnames": {}
2097
+ "hasBlankSetnames": {},
2098
+ "hasSetnameIndexWithoutSetname": {}
2017
2099
  };
2018
2100
  }
2019
2101
  static get methods() {
@@ -2153,6 +2235,9 @@ export class Table {
2153
2235
  }, {
2154
2236
  "propName": "interval",
2155
2237
  "methodName": "validateInterval"
2238
+ }, {
2239
+ "propName": "categoryIntervalPosition",
2240
+ "methodName": "validateCategoryIntervalPosition"
2156
2241
  }, {
2157
2242
  "propName": "tableAttributes",
2158
2243
  "methodName": "validateTableAttributes"
@@ -137,7 +137,9 @@ export class Table {
137
137
  update() {
138
138
  this.prepareIntervalBuckets();
139
139
  const normalizedScenarios = this.normalizeScenarios(this.config.scenarios, this.config.categoryThereOf, this.config.sortOrder, this.intervalBuckets);
140
- this.headerRows = this.dataSetFactory.createHeader(this.config.type, normalizedScenarios, this.i18n, this.config.measureScale, this.config.measureUnit, this.config.showMeasureScale, this.config.attributes);
140
+ this.headerRows = this.dataSetFactory.createHeader(this.config.type, normalizedScenarios, this.i18n, this.config.measureScale, this.config.measureUnit, this.config.showMeasureScale, this.config.attributes,
141
+ // every interval group has one column per scenario
142
+ Math.min(this.categoryIntervalPosition(), this.intervalBuckets.length) * this.config.scenarios.length);
141
143
  this.bodyRows =
142
144
  this.rowCount === 0 || !this.fromExpr
143
145
  ? []
@@ -156,7 +158,10 @@ export class Table {
156
158
  }
157
159
  return this.bodyRows;
158
160
  }
159
- /** Effective column definitions: category/operation + attributes + scenarios × interval buckets. */
161
+ /**
162
+ * Effective column definitions in render order: category/operation + attributes + scenarios × interval buckets.
163
+ * With `categoryIntervalPosition` the first interval buckets come before the category/operation column.
164
+ */
160
165
  getColumns() {
161
166
  if (this.state === FactoryState.DIRTY) {
162
167
  this.update();
@@ -257,6 +262,32 @@ export class Table {
257
262
  const unknown = buckets.find((bucket) => !this.intervalBuckets.some((b) => b.key === bucket));
258
263
  return unknown === undefined ? undefined : `order: setname '${unknown}' not found, the rows are not sorted by it.`;
259
264
  }
265
+ /** The configured `categoryIntervalPosition`; anything but a positive integer counts as 0. */
266
+ categoryIntervalPosition() {
267
+ const position = this.config.categoryIntervalPosition;
268
+ return Number.isInteger(position) && position > 0 ? position : 0;
269
+ }
270
+ /** Warning for a `categoryIntervalPosition` that cannot apply, once the body was built; undefined when it applies. */
271
+ categoryIntervalPositionWarning() {
272
+ const position = this.categoryIntervalPosition();
273
+ if (position <= 0 || this.hasNoData() || this.state !== FactoryState.UP_TO_DATE) {
274
+ return undefined;
275
+ }
276
+ const groups = this.intervalBuckets.length;
277
+ if (groups === 0) {
278
+ return {
279
+ id: "WARN_categoryIntervalPositionNoInterval",
280
+ message: "categoryIntervalPosition: needs an active interval, the value is ignored.",
281
+ };
282
+ }
283
+ if (position > groups) {
284
+ return {
285
+ id: "WARN_categoryIntervalPositionRange",
286
+ message: `categoryIntervalPosition: '${position}' is greater than the number of interval groups, ${groups} is used.`,
287
+ };
288
+ }
289
+ return undefined;
290
+ }
260
291
  /** True once the body was built and the grouped table has rows with a blank rowGroup. */
261
292
  hasBlankRowGroup() {
262
293
  return this.dataSetFactory.hasBlankRowGroup;
@@ -11,7 +11,7 @@ import { pointDate } from "../../../../utils/layoutState/dataPoint";
11
11
  /**
12
12
  * Transforms raw query results into structured TableRow collections for header and body.
13
13
  *
14
- * Header normalization: prepends fixed columns (operation, category) to the configured
14
+ * Header normalization: adds the fixed columns (operation, category) to the configured
15
15
  * scenarios, then translates labels via i18n and adds separator rows for IBCS-style borders.
16
16
  *
17
17
  * Body row creation: iterates DataQuery results grouped by rowGroup, creates detail rows
@@ -38,7 +38,7 @@ export class TableDataSetFactory {
38
38
  }
39
39
  return styleSlot(this.ruleSet.getScenarioColorIndex(type)) + type.slice(2);
40
40
  }
41
- /** Effective column list (category/operation + attributes + scenarios × buckets), set by createHeader(). */
41
+ /** Effective column list (category/operation + attributes + scenarios × buckets) in render order, set by createHeader(). */
42
42
  getNormalizedHeader() {
43
43
  return this.normalizedHeader;
44
44
  }
@@ -50,10 +50,10 @@ export class TableDataSetFactory {
50
50
  * visualise grouping.
51
51
  * finally a seperator header row is created for the header underlining (border)
52
52
  */
53
- createHeader(type, scenarios, i18n, measureScale, measureUnit, showMeasureScale, attributes = []) {
53
+ createHeader(type, scenarios, i18n, measureScale, measureUnit, showMeasureScale, attributes = [], leadingScenarioColumns = 0) {
54
54
  const header = [];
55
55
  this.attributesByAlias = new Map(attributes.map((attribute) => [attribute.alias, attribute]));
56
- this.normalizedHeader = this.normalizeHeader(type, scenarios, attributes);
56
+ this.normalizedHeader = this.normalizeHeader(type, scenarios, attributes, leadingScenarioColumns);
57
57
  const hasIntervalColumns = this.normalizedHeader.some((column) => column.bucket !== undefined);
58
58
  if (hasIntervalColumns) {
59
59
  header.push(this.createIntervalBandRow());
@@ -73,7 +73,7 @@ export class TableDataSetFactory {
73
73
  }
74
74
  /**
75
75
  * Creates the spanning interval band row (e.g. `2023 | 2024 | 2025`) rendered
76
- * above the scenario label row. Leading non-interval columns (category,
76
+ * above the scenario label row. Non-interval columns (category,
77
77
  * operation, attributes) receive borderless filler cells; each run of
78
78
  * consecutive columns of the same bucket is spanned by one label cell.
79
79
  */
@@ -114,8 +114,11 @@ export class TableDataSetFactory {
114
114
  * configured scenarios.
115
115
  * depending of table type operation column is used (OPT) or not (SUM | LIST)
116
116
  * in addition the headers are sorted based on the ruleset and duplicates are removed
117
+ *
118
+ * operation, category and the attribute columns are the row header block. It moves
119
+ * as one unit: `leadingScenarioColumns` scenario columns stand left of it.
117
120
  */
118
- normalizeHeader(type, scenarios, attributes) {
121
+ normalizeHeader(type, scenarios, attributes, leadingScenarioColumns = 0) {
119
122
  let header = [
120
123
  {
121
124
  name: QueryColumnNames.CATEGORY,
@@ -148,7 +151,12 @@ export class TableDataSetFactory {
148
151
  order: undefined,
149
152
  }));
150
153
  // NOTE: scenarios are already sorted in setConfig
151
- return [...header, ...attributeColumns, ...scenarios];
154
+ return [
155
+ ...scenarios.slice(0, leadingScenarioColumns),
156
+ ...header,
157
+ ...attributeColumns,
158
+ ...scenarios.slice(leadingScenarioColumns),
159
+ ];
152
160
  }
153
161
  /**
154
162
  * Creates table data colelction,
@@ -22,6 +22,16 @@ export function intervalBucketSQL(interval) {
22
22
  }
23
23
  return `normalizeDate([date], '${interval}')`;
24
24
  }
25
+ /** SQL expression reading the optional `setnameIndex` column, tolerant like `setname`. */
26
+ export const SETNAME_INDEX_SQL = "COALESCE([setnameIndex],[setNameIndex])";
27
+ /** A raw `setnameIndex` value as a number; undefined when it is blank or not numeric. */
28
+ export function coerceSetnameIndex(value) {
29
+ if (typeof value === "string" ? value.trim() === "" : typeof value !== "number") {
30
+ return undefined;
31
+ }
32
+ const index = Number(value);
33
+ return Number.isFinite(index) ? index : undefined;
34
+ }
25
35
  /** Coerces a raw bucket value (luxon DateTime, string, millis) to a stable string key. */
26
36
  export function coerceBucketKey(value) {
27
37
  if (value == null) {
@@ -68,22 +78,36 @@ export function resolveIntervalGranularity(db, fromExpr, interval) {
68
78
  * Date buckets are sorted chronologically ascending and labeled locale-aware;
69
79
  * setname buckets keep their order of first appearance in the data, blank
70
80
  * setnames are collected in a trailing-position "-" bucket where they occur.
81
+ * When rows carry a numeric `setnameIndex`, the setname buckets are sorted
82
+ * ascending by the smallest index of each setname. Buckets without an index
83
+ * follow, and ties keep the order of first appearance.
71
84
  */
72
85
  export function queryIntervalBuckets(db, fromExpr, interval, locale) {
73
- const rows = db.exec(`SELECT ${intervalBucketSQL(interval)} as __interval FROM ${fromExpr}`);
74
86
  if (interval === INTERVAL_SETNAME) {
87
+ const setRows = db.exec(`SELECT ${intervalBucketSQL(interval)} as __interval, ${SETNAME_INDEX_SQL} as __index FROM ${fromExpr}`);
75
88
  const seen = new Set();
89
+ const indexes = new Map();
76
90
  const buckets = [];
77
- for (const row of rows) {
91
+ for (const row of setRows) {
78
92
  const key = coerceBucketKey(row.__interval);
79
- if (seen.has(key)) {
80
- continue;
93
+ if (!seen.has(key)) {
94
+ seen.add(key);
95
+ buckets.push({ key, label: key.length === 0 ? BLANK_BUCKET_LABEL : key });
81
96
  }
82
- seen.add(key);
83
- buckets.push({ key, label: key.length === 0 ? BLANK_BUCKET_LABEL : key });
97
+ const index = coerceSetnameIndex(row.__index);
98
+ const known = indexes.get(key);
99
+ if (index !== undefined && (known === undefined || index < known)) {
100
+ indexes.set(key, index);
101
+ }
102
+ }
103
+ // without any index the order of first appearance stays as it is
104
+ if (indexes.size > 0) {
105
+ const rank = (bucket) => { var _a; return (_a = indexes.get(bucket.key)) !== null && _a !== void 0 ? _a : Number.POSITIVE_INFINITY; };
106
+ buckets.sort((a, b) => (rank(a) === rank(b) ? 0 : rank(a) < rank(b) ? -1 : 1));
84
107
  }
85
108
  return buckets;
86
109
  }
110
+ const rows = db.exec(`SELECT ${intervalBucketSQL(interval)} as __interval FROM ${fromExpr}`);
87
111
  const seen = new Set();
88
112
  const dates = [];
89
113
  for (const row of rows) {
@@ -59,6 +59,8 @@ export class TableComponentConfig {
59
59
  this.barColumns = [];
60
60
  /** Interval column grouping: "none", "setname" or a DateDistance value (see bn-table `interval` prop). */
61
61
  this.interval = "none";
62
+ /** Number of interval groups left of the row header block (see bn-table `categoryIntervalPosition` prop). */
63
+ this.categoryIntervalPosition = 0;
62
64
  /** Locale used for interval bucket labels. */
63
65
  this.locale = "de";
64
66
  }
@@ -142,6 +144,9 @@ export class TableComponentConfigAdapter {
142
144
  if (CompareUtil.isString(data.interval)) {
143
145
  config.interval = data.interval;
144
146
  }
147
+ if (CompareUtil.isNumber(data.categoryIntervalPosition)) {
148
+ config.categoryIntervalPosition = data.categoryIntervalPosition;
149
+ }
145
150
  if (CompareUtil.isString(data.locale)) {
146
151
  config.locale = data.locale;
147
152
  }