@bino-bi/bn-template-engine 1.0.0-alpha.2 → 1.0.0-alpha.3

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 (88) hide show
  1. package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
  2. package/dist/bn-template-engine/{p-a95ccc16.entry.js → p-1970906d.entry.js} +1 -1
  3. package/dist/bn-template-engine/{p-0ca8dc17.entry.js → p-1dbd339c.entry.js} +1 -1
  4. package/dist/bn-template-engine/p-2e68cf09.entry.js +1 -0
  5. package/dist/bn-template-engine/{p-bc59ea5c.entry.js → p-31cc6a2d.entry.js} +1 -1
  6. package/dist/bn-template-engine/{p--PSoPbDM.js → p-8tsCnxIz.js} +1 -1
  7. package/dist/bn-template-engine/{p-dd9dd407.entry.js → p-997b2fe4.entry.js} +1 -1
  8. package/dist/bn-template-engine/{p-DgfL-ffj.js → p-B4ySv9KQ.js} +1 -1
  9. package/dist/bn-template-engine/{p-DVo6aZUE.js → p-BL8gyUwE.js} +1 -1
  10. package/dist/bn-template-engine/{p-CvXqez4D.js → p-C0yAPzJz.js} +1 -1
  11. package/dist/bn-template-engine/p-DtdQCMzj.js +1 -0
  12. package/dist/bn-template-engine/{p-e102a490.entry.js → p-a90f1cbe.entry.js} +1 -1
  13. package/dist/bn-template-engine/{p-35638ad0.entry.js → p-d7f0cbaf.entry.js} +1 -1
  14. package/dist/bn-template-engine/{p-1d9a3be9.entry.js → p-dfb61aa5.entry.js} +1 -1
  15. package/dist/bn-template-engine/{p-f89e55c6.entry.js → p-ece17f84.entry.js} +1 -1
  16. package/dist/bn-template-engine/p-fd427179.entry.js +1 -0
  17. package/dist/bn-template-engine/p-sqjrku2z.js +1 -0
  18. package/dist/cjs/{DataFormatDigits-CbIVfGEH.js → DataFormatDigits-DAmZzqbD.js} +1 -1
  19. package/dist/cjs/{DateStringFactory-CfkXYAMN.js → DateStringFactory-CcluhpGI.js} +1 -1
  20. package/dist/cjs/{Order-DtpbD8mQ.js → Order-BKoDS21t.js} +28 -0
  21. package/dist/cjs/{SVGVariancesStyleGroup-D-rTWlDo.js → SVGVariancesStyleGroup-DYYAU-81.js} +1 -1
  22. package/dist/cjs/{StringAdapter-ByCHdlDO.js → StringAdapter-Bneo8T4k.js} +1 -1
  23. package/dist/cjs/bn-body_4.cjs.entry.js +4 -4
  24. package/dist/cjs/bn-chart-structure.cjs.entry.js +3 -3
  25. package/dist/cjs/bn-chart-time.cjs.entry.js +3 -3
  26. package/dist/cjs/bn-context_5.cjs.entry.js +115 -44
  27. package/dist/cjs/bn-grid.cjs.entry.js +3 -3
  28. package/dist/cjs/bn-image.cjs.entry.js +3 -3
  29. package/dist/cjs/bn-template-engine.cjs.js +1 -1
  30. package/dist/cjs/bn-text.cjs.entry.js +3 -3
  31. package/dist/cjs/bn-tree.cjs.entry.js +3 -3
  32. package/dist/cjs/ibcs-chart-structure.cjs.entry.js +4 -4
  33. package/dist/cjs/ibcs-chart-time.cjs.entry.js +5 -5
  34. package/dist/cjs/loader.cjs.js +1 -1
  35. package/dist/cjs/{withStyled-BBtMesx3.js → withStyled-CW30Bh6c.js} +6 -2
  36. package/dist/collection/components/bn-table/bn-table.js +63 -12
  37. package/dist/collection/components/bn-table/ibcs-table.css +7 -5
  38. package/dist/collection/components/bn-table/ibcs-table.js +22 -1
  39. package/dist/collection/components/bn-table/utils/elements/CellBarChart.js +56 -25
  40. package/dist/collection/components/bn-table/utils/elements/TableRow.js +3 -1
  41. package/dist/collection/components/bn-table/utils/factories/tableDataSetFactory.js +12 -3
  42. package/dist/collection/components/bn-table/utils/helper/ColumnStatistics.js +9 -1
  43. package/dist/collection/utils/constants.js +27 -0
  44. package/dist/collection/utils/validate.js +4 -1
  45. package/dist/components/DataFormatDigits.js +1 -1
  46. package/dist/components/DateStringFactory.js +1 -1
  47. package/dist/components/Order.js +1 -1
  48. package/dist/components/SVGVariancesStyleGroup.js +1 -1
  49. package/dist/components/bn-chart-structure.js +1 -1
  50. package/dist/components/bn-chart-time.js +1 -1
  51. package/dist/components/bn-table.js +1 -1
  52. package/dist/components/bn-title2.js +1 -1
  53. package/dist/components/ibcs-chart-structure2.js +1 -1
  54. package/dist/components/ibcs-chart-time2.js +1 -1
  55. package/dist/components/ibcs-table2.js +1 -1
  56. package/dist/components/ibcs-title2.js +1 -1
  57. package/dist/components/ibcsRuleSet.js +1 -1
  58. package/dist/components/validate.js +1 -1
  59. package/dist/esm/{DataFormatDigits-DYdbRX-1.js → DataFormatDigits--qIbKvXa.js} +1 -1
  60. package/dist/esm/{DateStringFactory-DRcbojUT.js → DateStringFactory-XWdUjsn8.js} +1 -1
  61. package/dist/esm/{Order-DdexOqTs.js → Order-sqjrku2z.js} +28 -1
  62. package/dist/esm/{SVGVariancesStyleGroup-D0Cwprv1.js → SVGVariancesStyleGroup-ibg3sLjM.js} +1 -1
  63. package/dist/esm/{StringAdapter-CTL-Dvzp.js → StringAdapter-BCLJpQQ8.js} +1 -1
  64. package/dist/esm/bn-body_4.entry.js +4 -4
  65. package/dist/esm/bn-chart-structure.entry.js +3 -3
  66. package/dist/esm/bn-chart-time.entry.js +3 -3
  67. package/dist/esm/bn-context_5.entry.js +115 -44
  68. package/dist/esm/bn-grid.entry.js +3 -3
  69. package/dist/esm/bn-image.entry.js +3 -3
  70. package/dist/esm/bn-template-engine.js +1 -1
  71. package/dist/esm/bn-text.entry.js +3 -3
  72. package/dist/esm/bn-tree.entry.js +3 -3
  73. package/dist/esm/ibcs-chart-structure.entry.js +4 -4
  74. package/dist/esm/ibcs-chart-time.entry.js +5 -5
  75. package/dist/esm/loader.js +1 -1
  76. package/dist/esm/{withStyled-DCipbf2O.js → withStyled-D1fAWJ3g.js} +6 -3
  77. package/dist/types/components/bn-table/bn-table.d.ts +11 -7
  78. package/dist/types/components/bn-table/ibcs-table.d.ts +1 -0
  79. package/dist/types/components/bn-table/utils/elements/Cell.d.ts +1 -0
  80. package/dist/types/components/bn-table/utils/elements/CellBarChart.d.ts +3 -0
  81. package/dist/types/components.d.ts +22 -2
  82. package/dist/types/utils/constants.d.ts +15 -0
  83. package/dist/types/utils/validate.d.ts +1 -0
  84. package/package.json +1 -1
  85. package/dist/bn-template-engine/p-60a7fc59.entry.js +0 -1
  86. package/dist/bn-template-engine/p-DdexOqTs.js +0 -1
  87. package/dist/bn-template-engine/p-DyRaC0MB.js +0 -1
  88. package/dist/bn-template-engine/p-d279b578.entry.js +0 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Order = require('./Order-DtpbD8mQ.js');
3
+ var Order = require('./Order-BKoDS21t.js');
4
4
 
5
5
  const methods$1 = {};
6
6
  const names = [];
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var formatter = require('./formatter-DIJL_crx.js');
4
- var Order = require('./Order-DtpbD8mQ.js');
4
+ var Order = require('./Order-BKoDS21t.js');
5
5
 
6
6
  /**
7
7
  * IBCS rule set defining scenario→style mappings per IBCS notation standard v1.2.
@@ -4,13 +4,13 @@ var index = require('./index-Cjw0q6gP.js');
4
4
  var withComponentStatus = require('./withComponentStatus-_x4LQZ0N.js');
5
5
  var withComponentStyle = require('./withComponentStyle-DMtic_9Y.js');
6
6
  var withHasError = require('./withHasError-B8gHkfV2.js');
7
- var withStyled = require('./withStyled-BBtMesx3.js');
8
- var Order = require('./Order-DtpbD8mQ.js');
7
+ var withStyled = require('./withStyled-CW30Bh6c.js');
8
+ var Order = require('./Order-BKoDS21t.js');
9
9
  var withTranslation = require('./withTranslation-CWPAIRjh.js');
10
10
  var contextProtocol = require('./context-protocol-CRPmux5D.js');
11
- var DateStringFactory = require('./DateStringFactory-CfkXYAMN.js');
11
+ var DateStringFactory = require('./DateStringFactory-CcluhpGI.js');
12
12
  var formatter = require('./formatter-DIJL_crx.js');
13
- var StringAdapter = require('./StringAdapter-ByCHdlDO.js');
13
+ var StringAdapter = require('./StringAdapter-Bneo8T4k.js');
14
14
  require('./_commonjsHelpers-BJu3ubxk.js');
15
15
 
16
16
  const bnBodyCss = () => `:host{flex:1;position:relative;overflow:hidden;display:block;font-family:var(--bn-font-family, "Noto Sans", sans-serif);font-size:var(--bn-font-size, 13.3333px);color:var(--bn-font-color, #000000)}`;
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-Cjw0q6gP.js');
4
- var withStyled = require('./withStyled-BBtMesx3.js');
4
+ var withStyled = require('./withStyled-CW30Bh6c.js');
5
5
  var scaling = require('./scaling-D8sIIKft.js');
6
6
  var withComponentStatus = require('./withComponentStatus-_x4LQZ0N.js');
7
7
  var withTranslation = require('./withTranslation-CWPAIRjh.js');
8
8
  var contextProtocol = require('./context-protocol-CRPmux5D.js');
9
9
  var withComponentStyle = require('./withComponentStyle-DMtic_9Y.js');
10
10
  var withHasError = require('./withHasError-B8gHkfV2.js');
11
- var Order = require('./Order-DtpbD8mQ.js');
12
- require('./DateStringFactory-CfkXYAMN.js');
11
+ var Order = require('./Order-BKoDS21t.js');
12
+ require('./DateStringFactory-CcluhpGI.js');
13
13
 
14
14
  const bnChartStructureCss = () => `:host{display:inline-block;position:relative;overflow:hidden}.container{display:flex;flex-direction:row}.background-image{display:flex;flex-wrap:wrap;justify-content:flex-end}.categories{text-align:right;font-size:var(--bn-font-size, 1em);font-family:var(--bn-font-family, "Noto Sans", "Helvetica Neue", Helvetica, sans-serif);color:var(--bn-font-color, black)}.label-bg{fill:var(--bn-font-background, white);opacity:0.7}.label-text{text-align:right;font-size:var(--bn-font-size, 1em);font-family:var(--bn-font-family, "Noto Sans", "Helvetica Neue", Helvetica, sans-serif);color:var(--bn-font-color, black)}.axis-title{text-align:center;font-family:var(--bn-font-family, "Noto Sans", "Helvetica Neue", Helvetica, sans-serif);color:var(--bn-font-color, black)}.axis-ac{stroke:black;stroke-width:0.1em}.axis-pp{stroke:grey;stroke-width:0.1em}.axis-fc{stroke:black;stroke-dasharray:2;stroke-width:0.1em}.axis-pl{stroke:white;stroke-width:0.1em;outline-offset:0em;outline:0.1em solid black}canvas{image-rendering:-moz-crisp-edges;image-rendering:-webkit-crisp-edges;image-rendering:pixelated;image-rendering:crisp-edges}.measure{font-weight:bold}span{display:inline-block}.hidePatternContainer{height:0;width:0}div{float:left}.warning{font-size:0.8em;font-style:italic}.footer{margin:0.2em;font-size:0.6em}.footer-hide{margin:0.2em;font-size:0.6em;opacity:0}`;
15
15
 
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-Cjw0q6gP.js');
4
- var withStyled = require('./withStyled-BBtMesx3.js');
4
+ var withStyled = require('./withStyled-CW30Bh6c.js');
5
5
  var scaling = require('./scaling-D8sIIKft.js');
6
6
  var withComponentStatus = require('./withComponentStatus-_x4LQZ0N.js');
7
7
  var withTranslation = require('./withTranslation-CWPAIRjh.js');
8
8
  var contextProtocol = require('./context-protocol-CRPmux5D.js');
9
9
  var withComponentStyle = require('./withComponentStyle-DMtic_9Y.js');
10
10
  var withHasError = require('./withHasError-B8gHkfV2.js');
11
- var Order = require('./Order-DtpbD8mQ.js');
11
+ var Order = require('./Order-BKoDS21t.js');
12
12
  var formatter = require('./formatter-DIJL_crx.js');
13
- var DateStringFactory = require('./DateStringFactory-CfkXYAMN.js');
13
+ var DateStringFactory = require('./DateStringFactory-CcluhpGI.js');
14
14
  require('./_commonjsHelpers-BJu3ubxk.js');
15
15
 
16
16
  const bnChartTimeCss = () => `:host{display:inline-block;position:relative;overflow:visible;}.container{display:flex;flex-direction:column-reverse}.background-image{display:flex;flex-wrap:wrap;justify-content:flex-end}`;
@@ -5,16 +5,16 @@ var contextProtocol = require('./context-protocol-CRPmux5D.js');
5
5
  var withComponentStatus = require('./withComponentStatus-_x4LQZ0N.js');
6
6
  var withHasError = require('./withHasError-B8gHkfV2.js');
7
7
  var withBodyObserver = require('./withBodyObserver-C6gLgq_e.js');
8
- var withStyled = require('./withStyled-BBtMesx3.js');
8
+ var withStyled = require('./withStyled-CW30Bh6c.js');
9
9
  var withComponentStyle = require('./withComponentStyle-DMtic_9Y.js');
10
10
  var scaling = require('./scaling-D8sIIKft.js');
11
11
  var withTranslation = require('./withTranslation-CWPAIRjh.js');
12
- var Order = require('./Order-DtpbD8mQ.js');
12
+ var Order = require('./Order-BKoDS21t.js');
13
13
  var formatter = require('./formatter-DIJL_crx.js');
14
14
  var alasql_min = require('./alasql.min-C_nHTuEQ.js');
15
- var StringAdapter = require('./StringAdapter-ByCHdlDO.js');
16
- var DataFormatDigits = require('./DataFormatDigits-CbIVfGEH.js');
17
- require('./DateStringFactory-CfkXYAMN.js');
15
+ var StringAdapter = require('./StringAdapter-Bneo8T4k.js');
16
+ var DataFormatDigits = require('./DataFormatDigits-DAmZzqbD.js');
17
+ require('./DateStringFactory-CcluhpGI.js');
18
18
  require('./_commonjsHelpers-BJu3ubxk.js');
19
19
 
20
20
  const bnContextCss = () => `:host{display:block}`;
@@ -273,14 +273,16 @@ const Table$1 = class Table {
273
273
  */
274
274
  this.measureUnit = "";
275
275
  /**
276
- * Scaling for absolute variance bar charts (ΔPY).
277
- * <br /><br />
278
- * Name of the 'scaling-group' which the table uses.
279
- * Scaling groups are maintained globally.
280
- * <br /><br />
281
- * Alternatively a number which represents pixels per unit of measure.
276
+ * Set width of bar chart columns. Controls the max bar/pin width in pixels.
277
+ * <br /><br />
278
+ * values:<br />
279
+ * ``` w5 // w10 // w15 // w20 // w25 // w30 // w40 // w60 // w80 // w100 ```
280
+ */
281
+ this.barColumnWidth = "w30";
282
+ /**
283
+ * @deprecated Bars now scale proportionally via column statistics. Kept for backward compatibility.
282
284
  * <br /><br />
283
- * Example: 0.01 means 1000 units = 10 pixels width.
285
+ * Scaling for absolute variance bar charts (ΔPY).
284
286
  * <br /><br />
285
287
  * Default: 0.01
286
288
  */
@@ -528,6 +530,19 @@ const Table$1 = class Table {
528
530
  this.errors.remove(errId);
529
531
  }
530
532
  }
533
+ validateBarColumnWidth(newValue) {
534
+ const errId = "ERR_barColumnWidth";
535
+ if (!withStyled.isTableBarColumnWidth(newValue)) {
536
+ this.errors.addOrReplace({
537
+ id: errId,
538
+ type: "warning",
539
+ message: "barColumnWidth: invalid value '" + newValue + "' is not supported.",
540
+ });
541
+ }
542
+ else {
543
+ this.errors.remove(errId);
544
+ }
545
+ }
531
546
  validateUnitScaling(newValue) {
532
547
  const errId = "ERR_unitScaling";
533
548
  if (!withStyled.isValidNumber(newValue) && !this.pixelPerUnitGroupMap.has(newValue)) {
@@ -788,6 +803,7 @@ const Table$1 = class Table {
788
803
  this.validateColumnThereOf(this.columnthereof);
789
804
  this.validateShowMeasureScale(this.showMeasureScale);
790
805
  this.validateBarColumns(this.barColumns);
806
+ this.validateBarColumnWidth(this.barColumnWidth);
791
807
  this.validateUnitScaling(this.unitScaling);
792
808
  this.validatePercentageScaling(this.percentageScaling);
793
809
  this.validateScaling(this.scale);
@@ -1015,6 +1031,15 @@ const Table$1 = class Table {
1015
1031
  }
1016
1032
  return this.filter;
1017
1033
  }
1034
+ prepareBarColumnWidth() {
1035
+ var _a;
1036
+ const key = (_a = this.barColumnWidth) === null || _a === void 0 ? void 0 : _a.toUpperCase();
1037
+ const preset = Order.TableBarColumnWidth[key];
1038
+ if (preset) {
1039
+ return Order.BAR_COLUMN_WIDTH_EM[preset];
1040
+ }
1041
+ return Order.BAR_COLUMN_WIDTH_EM[Order.TableBarColumnWidth.W30];
1042
+ }
1018
1043
  prepareBarColumns() {
1019
1044
  if (withStyled.isBlankInput(this.barColumns)) {
1020
1045
  return [];
@@ -1094,7 +1119,7 @@ const Table$1 = class Table {
1094
1119
  render() {
1095
1120
  const fontStyles = this.getFontStyles();
1096
1121
  const effectiveFactor = this.getEffectiveScaleFactor();
1097
- return (index.h(index.Host, { key: '5434656c0626dc8aceea109e4f6ab795443a7c7b', style: fontStyles }, index.h("div", { key: 'a3d90ae3bce33b025bac95cc486aba1778907762' }, index.h("ibcs-table", { key: 'fbff577c7d0bf23f63f6d06edafd75e32a183b49', data: this.data, "table-title": this.prepareTableTitle(), scenarios: this.prepareScenarios(), "scenarios-data-format": this.prepareDataFormat(), grouped: this.prepareGrouped(), limit: this.prepareLimit(), showGroupTitle: this.prepareShowGroupTitle(), thereof: this.prepareThereOf(), partof: this.preparePartOf(), order: this.prepareOrder(), categorythereof: this.prepareColumnThereOf(), type: this.prepareTableType(), "category-width": this.prepareCategoryWidth(), dataFormatDigits: this.prepareDataFormatDigits(), i18n: this.prepareI18n(), "i18n-mode": this.prepareI18nMode(), "measure-scale": this.prepareMeasureScale(), "measure-type": this.prepareMeasureType(), "measure-unit": this.prepareMeasureUnit(), showMeasureScale: this.prepareShowMeasureScale(), filter: this.prepareFilter(), barColumns: this.prepareBarColumns(), unitScaling: this.prepareUnitScaling(), percentageScaling: this.preparePercentageScaling(), scaleFactor: effectiveFactor }))));
1122
+ return (index.h(index.Host, { key: 'b379c18d4d92805e91404917ffb096e582b9bec2', style: fontStyles }, index.h("div", { key: 'a45679a84d85b856f0e01615952c0ccfe05108f9' }, index.h("ibcs-table", { key: '0b375fca9ab9422bc61a4d0ba75eaf30eedfa77d', data: this.data, "table-title": this.prepareTableTitle(), scenarios: this.prepareScenarios(), "scenarios-data-format": this.prepareDataFormat(), grouped: this.prepareGrouped(), limit: this.prepareLimit(), showGroupTitle: this.prepareShowGroupTitle(), thereof: this.prepareThereOf(), partof: this.preparePartOf(), order: this.prepareOrder(), categorythereof: this.prepareColumnThereOf(), type: this.prepareTableType(), "category-width": this.prepareCategoryWidth(), dataFormatDigits: this.prepareDataFormatDigits(), i18n: this.prepareI18n(), "i18n-mode": this.prepareI18nMode(), "measure-scale": this.prepareMeasureScale(), "measure-type": this.prepareMeasureType(), "measure-unit": this.prepareMeasureUnit(), showMeasureScale: this.prepareShowMeasureScale(), filter: this.prepareFilter(), barColumns: this.prepareBarColumns(), barColumnMaxWidth: this.prepareBarColumnWidth(), unitScaling: this.prepareUnitScaling(), percentageScaling: this.preparePercentageScaling(), scaleFactor: effectiveFactor }))));
1098
1123
  }
1099
1124
  get element() { return index.getElement(this); }
1100
1125
  static get watchers() { return {
@@ -1110,6 +1135,9 @@ const Table$1 = class Table {
1110
1135
  "barColumns": [{
1111
1136
  "validateBarColumns": 0
1112
1137
  }],
1138
+ "barColumnWidth": [{
1139
+ "validateBarColumnWidth": 0
1140
+ }],
1113
1141
  "unitScaling": [{
1114
1142
  "validateUnitScaling": 0
1115
1143
  }],
@@ -1313,7 +1341,9 @@ class TableRow {
1313
1341
  if (isSecondaryElement) {
1314
1342
  prefixStyle = "prefix-second";
1315
1343
  }
1316
- cssStyle = `${cssStyle} ${columnType}`;
1344
+ if (columnType) {
1345
+ cssStyle = `${cssStyle} ${columnType}`;
1346
+ }
1317
1347
  const cell = new Cell(scenario, this.elements.length, value, cssStyle, cellType, prefix, prefixStyle, 1, measureScale);
1318
1348
  cell.isBarChart = isBarChart;
1319
1349
  cell.columnStats = columnStats;
@@ -1472,28 +1502,52 @@ function getBarStroke(varianceStyle) {
1472
1502
  // Solid and hatched bars don't need visible stroke
1473
1503
  return { stroke: "none", strokeWidth: 0 };
1474
1504
  }
1505
+ /**
1506
+ * Computes an effective max for proportional scaling that keeps most bars readable.
1507
+ * If a few outliers (extreme values) dominate, the effective max is capped so the
1508
+ * majority of bars remain at a useful size. Values exceeding the effective max are
1509
+ * flagged as "extreme" and rendered with an arrow indicator.
1510
+ *
1511
+ * Algorithm: effectiveMax = median * EXTREME_THRESHOLD (default 3×).
1512
+ * If this would be less than absMax, some values are extreme.
1513
+ * If the median is 0 (e.g. single value), falls back to absMax.
1514
+ */
1515
+ const EXTREME_THRESHOLD = 3;
1516
+ function computeEffectiveMax(columnStats) {
1517
+ if (columnStats.median <= 0) {
1518
+ return columnStats.absMax;
1519
+ }
1520
+ const cap = columnStats.median * EXTREME_THRESHOLD;
1521
+ return Math.min(cap, columnStats.absMax);
1522
+ }
1475
1523
  /**
1476
1524
  * Renders an absolute variance bar chart (d_ prefix).
1477
1525
  * Horizontal bar with centered axis, green for positive, red for negative.
1478
1526
  * Value label shown next to the bar (black text per IBCS).
1479
1527
  *
1480
1528
  * Layout: [left label area][bar area with axis][right label area]
1481
- * Uses unitScaling to determine bar width (pixels per unit of measure).
1482
1529
  */
1483
1530
  const AbsoluteVarianceBar = (props) => {
1484
- const { value, scenario, height, isPositiveGood, formattedValue, measureScale, styles = DEFAULT_STYLES } = props;
1531
+ const { value, scenario, columnStats, height, isPositiveGood, formattedValue, measureScale, maxBarWidth: maxBarWidthEm = 3, styles = DEFAULT_STYLES, } = props;
1485
1532
  const s = styles.scaleFactor;
1486
- const labelAreaWidth = 50 * s;
1487
- const maxBarWidth = 40 * s;
1488
- const barAreaWidth = maxBarWidth * 2;
1489
- const totalWidth = labelAreaWidth + barAreaWidth + labelAreaWidth;
1533
+ const labelAreaWidth = 38 * s;
1534
+ const maxBarWidth = maxBarWidthEm * styles.fontSize * s;
1535
+ // Adaptive axis placement based on data range
1536
+ const hasNeg = columnStats.min < 0;
1537
+ const hasPos = columnStats.max > 0;
1538
+ const negBarWidth = hasNeg ? maxBarWidth : 0;
1539
+ const posBarWidth = hasPos ? maxBarWidth : 0;
1540
+ const barAreaWidth = negBarWidth + posBarWidth;
1541
+ const totalWidth = (hasNeg ? labelAreaWidth : 0) + barAreaWidth + (hasPos ? labelAreaWidth : 0);
1490
1542
  const padding = 2 * s;
1491
1543
  const barHeight = height - padding * 2;
1492
- const axisX = labelAreaWidth + maxBarWidth; // Axis in center of bar area
1493
- // Calculate bar width using unitScaling (pixels per unit)
1494
- // Clamp to maxBarWidth to prevent overflow
1495
- const scaledWidth = Math.abs(value) * styles.unitScaling * s;
1496
- const barWidth = Math.min(scaledWidth, maxBarWidth);
1544
+ const axisX = (hasNeg ? labelAreaWidth : 0) + negBarWidth;
1545
+ // Proportional scaling with outlier detection
1546
+ const effectiveMax = computeEffectiveMax(columnStats);
1547
+ const absValue = Math.abs(value);
1548
+ const proportion = effectiveMax > 0 ? absValue / effectiveMax : 0;
1549
+ const isExtreme = absValue > effectiveMax;
1550
+ const barWidth = Math.min(proportion, 1) * maxBarWidth;
1497
1551
  const isPositive = value >= 0;
1498
1552
  const barX = isPositive ? axisX : axisX - barWidth;
1499
1553
  const barY = padding;
@@ -1517,7 +1571,8 @@ const AbsoluteVarianceBar = (props) => {
1517
1571
  // Negative values: label in left area, right-aligned
1518
1572
  const labelX = isPositive ? axisX + barWidth + 4 * s : axisX - barWidth - 4 * s;
1519
1573
  const labelAnchor = isPositive ? "start" : "end";
1520
- return (index.h("svg", { width: totalWidth, height: height, class: "cell-bar-chart absolute-variance", style: { overflow: "visible" } }, index.h(PatternDefs, { styles: styles }), index.h("line", { x1: axisX, y1: 0, x2: axisX, y2: height, stroke: AXIS_COLOR, "stroke-width": 1 * s }), barWidth > 0 && (index.h("rect", { x: barX, y: barY, width: barWidth, height: barHeight, fill: fillValue, stroke: barStroke, "stroke-width": barStrokeWidth * s })), index.h("text", { x: labelX, y: height / 2, dy: "0.35em", "text-anchor": labelAnchor, fill: styles.fontColor, "font-size": styles.fontSize, "font-family": styles.fontFamily }, displayValue)));
1574
+ const centerY = height / 2;
1575
+ return (index.h("svg", { width: totalWidth, height: height, class: "cell-bar-chart absolute-variance", style: { overflow: "visible" } }, index.h(PatternDefs, { styles: styles }), index.h("line", { x1: axisX, y1: 0, x2: axisX, y2: height, stroke: AXIS_COLOR, "stroke-width": 1 * s }), barWidth > 0 && (index.h("rect", { x: barX, y: barY, width: barWidth, height: barHeight, fill: fillValue, stroke: barStroke, "stroke-width": barStrokeWidth * s })), isExtreme && isPositive && (index.h("polygon", { points: `${axisX + maxBarWidth},${centerY} ${axisX + maxBarWidth - 6 * s},${centerY - 3 * s} ${axisX + maxBarWidth - 6 * s},${centerY + 3 * s}`, fill: barStyle.fill === "transparent" ? barStyle.stroke : barStyle.fill })), isExtreme && !isPositive && (index.h("polygon", { points: `${axisX - maxBarWidth},${centerY} ${axisX - maxBarWidth + 6 * s},${centerY - 3 * s} ${axisX - maxBarWidth + 6 * s},${centerY + 3 * s}`, fill: barStyle.fill === "transparent" ? barStyle.stroke : barStyle.fill })), index.h("text", { x: labelX, y: height / 2, dy: "0.35em", "text-anchor": labelAnchor, fill: styles.fontColor, "font-size": styles.fontSize, "font-family": styles.fontFamily }, displayValue)));
1521
1576
  };
1522
1577
  /**
1523
1578
  * Renders a relative variance pin chart (dr_ prefix).
@@ -1527,30 +1582,36 @@ const AbsoluteVarianceBar = (props) => {
1527
1582
  * Uses percentageScaling to determine pin length (pixels per percentage point).
1528
1583
  */
1529
1584
  const RelativeVariancePin = (props) => {
1530
- const { value, scenario, height, isPositiveGood, formattedValue, measureScale, styles = DEFAULT_STYLES } = props;
1585
+ const { value, scenario, columnStats, height, isPositiveGood, formattedValue, measureScale, maxBarWidth: maxBarWidthEm = 3, styles = DEFAULT_STYLES, } = props;
1531
1586
  const s = styles.scaleFactor;
1532
- const maxPinLength = 25 * s;
1533
- const pinAreaWidth = maxPinLength * 2 + 10 * s;
1534
- const labelAreaWidth = 70 * s;
1587
+ // Pin length is ~2/3 of bar width for visual balance
1588
+ const maxPinLength = Math.round(maxBarWidthEm * 0.67 * styles.fontSize) * s;
1589
+ const pinPadding = 5 * s;
1590
+ // Adaptive axis placement based on data range
1591
+ const hasNeg = columnStats.min < 0;
1592
+ const hasPos = columnStats.max > 0;
1593
+ const negPinWidth = hasNeg ? maxPinLength + pinPadding : 0;
1594
+ const posPinWidth = hasPos ? maxPinLength + pinPadding : 0;
1595
+ const pinAreaWidth = negPinWidth + posPinWidth;
1596
+ const labelAreaWidth = 45 * s;
1535
1597
  const totalWidth = pinAreaWidth + labelAreaWidth;
1536
- const axisX = pinAreaWidth / 2;
1598
+ const axisX = negPinWidth;
1537
1599
  const centerY = height / 2;
1538
- // Calculate pin length using percentageScaling (pixels per percentage point)
1539
- // Value is in decimal form (e.g., 0.5 = 50%), multiply by 100 to get percentage
1540
- const percentValue = Math.abs(value) * 100;
1541
- const scaledLength = percentValue * styles.percentageScaling * s;
1542
- const pinLength = Math.min(scaledLength, maxPinLength);
1600
+ // Proportional scaling with outlier detection
1601
+ const effectiveMax = computeEffectiveMax(columnStats);
1602
+ const absValue = Math.abs(value);
1603
+ const proportion = effectiveMax > 0 ? absValue / effectiveMax : 0;
1604
+ const isExtreme = absValue > effectiveMax;
1605
+ const pinLength = Math.min(proportion, 1) * maxPinLength;
1543
1606
  const isPositive = value >= 0;
1544
1607
  const pinEndX = isPositive ? axisX + pinLength : axisX - pinLength;
1545
1608
  // Get style based on column type (scenario vs variance)
1546
1609
  const barStyle = getBarStyle(scenario, value, isPositiveGood, styles);
1547
1610
  const dotRadius = 3 * s;
1548
- // Show arrow for extreme values (when pin would exceed max length)
1549
- const isExtreme = scaledLength > maxPinLength;
1550
1611
  const displayValue = formattedValue || formatValue(value, true, measureScale);
1551
1612
  // Label always on the right side after the pin area
1552
1613
  const labelX = pinAreaWidth + 4 * s;
1553
- return (index.h("svg", { width: totalWidth, height: height, class: "cell-bar-chart relative-variance", style: { overflow: "visible" } }, index.h("line", { x1: axisX, y1: 0, x2: axisX, y2: height, stroke: AXIS_COLOR, "stroke-width": 1 * s }), !isExtreme && index.h("circle", { cx: pinEndX, cy: centerY, r: dotRadius, fill: styles.fontColor }), index.h("line", { x1: axisX, y1: centerY, x2: pinEndX, y2: centerY, stroke: barStyle.fill, "stroke-width": 2 * s }), isExtreme && isPositive && (index.h("polygon", { points: `${pinAreaWidth - 2 * s},${centerY} ${pinAreaWidth - 8 * s},${centerY - 3 * s} ${pinAreaWidth - 8 * s},${centerY + 3 * s}`, fill: barStyle.fill })), isExtreme && !isPositive && (index.h("polygon", { points: `${2 * s},${centerY} ${8 * s},${centerY - 3 * s} ${8 * s},${centerY + 3 * s}`, fill: barStyle.fill })), index.h("text", { x: labelX, y: height / 2, dy: "0.35em", "text-anchor": "start", fill: styles.fontColor, "font-size": styles.fontSize, "font-style": "italic", "font-family": styles.fontFamily }, displayValue)));
1614
+ return (index.h("svg", { width: totalWidth, height: height, class: "cell-bar-chart relative-variance", style: { overflow: "visible" } }, index.h("line", { x1: axisX, y1: 0, x2: axisX, y2: height, stroke: AXIS_COLOR, "stroke-width": 1 * s }), !isExtreme && index.h("circle", { cx: pinEndX, cy: centerY, r: dotRadius, fill: styles.fontColor }), index.h("line", { x1: axisX, y1: centerY, x2: pinEndX, y2: centerY, stroke: barStyle.fill, "stroke-width": 2 * s }), isExtreme && isPositive && (index.h("polygon", { points: `${axisX + maxPinLength},${centerY} ${axisX + maxPinLength - 6 * s},${centerY - 3 * s} ${axisX + maxPinLength - 6 * s},${centerY + 3 * s}`, fill: barStyle.fill })), isExtreme && !isPositive && (index.h("polygon", { points: `${axisX - maxPinLength},${centerY} ${axisX - maxPinLength + 6 * s},${centerY - 3 * s} ${axisX - maxPinLength + 6 * s},${centerY + 3 * s}`, fill: barStyle.fill })), index.h("text", { x: labelX, y: height / 2, dy: "0.35em", "text-anchor": "start", fill: styles.fontColor, "font-size": styles.fontSize, "font-style": "italic", "font-family": styles.fontFamily }, displayValue)));
1554
1615
  };
1555
1616
  /**
1556
1617
  * CellBarChart - Renders IBCS-compliant variance bar charts.
@@ -2464,9 +2525,11 @@ class TableDataSetFactory {
2464
2525
  if (!barColumns || barColumns.length === 0) {
2465
2526
  return statsMap;
2466
2527
  }
2467
- // Initialize stats for each bar column
2528
+ // Collect all values per column for median calculation
2529
+ const valuesMap = new Map();
2468
2530
  for (const column of barColumns) {
2469
- statsMap.set(column, { min: Infinity, max: -Infinity, absMax: 0 });
2531
+ statsMap.set(column, { min: Infinity, max: -Infinity, absMax: 0, median: 0 });
2532
+ valuesMap.set(column, []);
2470
2533
  }
2471
2534
  // Iterate through all groups and rows
2472
2535
  for (const groupData of queryData) {
@@ -2477,17 +2540,24 @@ class TableDataSetFactory {
2477
2540
  const stats = statsMap.get(column);
2478
2541
  stats.min = Math.min(stats.min, value);
2479
2542
  stats.max = Math.max(stats.max, value);
2543
+ valuesMap.get(column).push(Math.abs(value));
2480
2544
  }
2481
2545
  }
2482
2546
  }
2483
2547
  }
2484
- // Finalize absMax values
2548
+ // Finalize absMax and median values
2485
2549
  for (const [column, stats] of statsMap) {
2486
2550
  if (stats.min === Infinity || stats.max === -Infinity) {
2487
2551
  stats.min = 0;
2488
2552
  stats.max = 0;
2489
2553
  }
2490
2554
  stats.absMax = Math.max(Math.abs(stats.min), Math.abs(stats.max));
2555
+ const absValues = valuesMap.get(column);
2556
+ if (absValues.length > 0) {
2557
+ absValues.sort((a, b) => a - b);
2558
+ const mid = Math.floor(absValues.length / 2);
2559
+ stats.median = absValues.length % 2 === 0 ? (absValues[mid - 1] + absValues[mid]) / 2 : absValues[mid];
2560
+ }
2491
2561
  statsMap.set(column, stats);
2492
2562
  }
2493
2563
  return statsMap;
@@ -3212,7 +3282,7 @@ class TableDataRowAdapter {
3212
3282
  }
3213
3283
  }
3214
3284
 
3215
- const ibcsTableCss = () => `:host{position:relative;display:inline-block}table{background-color:var(--bn-font-background, white);font-size:var(--bn-font-size, 1em);color:var(--bn-font-color, black);font-family:var(--bn-font-family, "Noto Sans", "Helvetica Neue", Helvetica, sans-serif);border-spacing:0.3em 0}thead{border-style:none}tr:first-child td{border-top:none;padding-top:0.5em}td.ac1,td.ac2,td.ac3,td.ac4,td.pp1,td.pp2,td.pp3,td.pp4,td.pl1,td.pl2,td.pl3,td.pl4,td.fc1,td.fc2,td.fc3,td.fc4,td.share,td.variance,td.pos_pos,td.pos_neg,td.neg_pos,td.neg_neg,td.pos_neutral,td.neg_neutral{text-align:right}.category-inf{max-width:1000em}.category-w100{max-width:100em}.category-w50{max-width:50em}.category-w25{max-width:25em}.category-w20{max-width:20em}.category-w15{max-width:15em}.category-w10{max-width:10em}.category-w5{max-width:5em}.prefix-second{color:transparent;font-style:normal}.prefix-first{font-style:normal}th{border-bottom:0.1em solid black;text-align:right;font-weight:normal;vertical-align:text-top}td.columnGroup,th.columnGroup{font-size:0.6em}td.columnSubGroup,th.columnSubGroup{font-size:0.6em;border-spacing:0em 0;font-style:italic}td.base,th.base{font-style:normal}th.ofit,td.ofit,tr.ofit,th.partof,td.partof,tr.partof{font-size:0.6em;font-style:italic}td.ofit,td.partof{font-size:0.6em;font-style:italic}th.ofit td,tr.ofit td,th.partof td,tr.partof td{border-top:0em solid black;padding-left:1em}th.ofit share,th.partof share,tr.share td{border-top:0em solid black}th.share,tr.share,td.share{font-size:0.6em;font-style:italic}th.filler{border-bottom:0em solid black;text-align:right}td.filler{border-top:0em none !important;border-bottom:0em none;text-align:right}th.group{text-align:center;border-spacing:1em 0}th.headerlabel{border-bottom:0em none black;padding-bottom:0em}td.variance:after{content:"%"}td.relative_variance{font-style:italic}td.percent{font-style:italic;text-align:right}td.decimal{text-align:right}td.pos_pos{color:#008f96}td.neg_pos{color:#ff0000}td.pos_neg{color:#ff0000}td.neg_neg{color:#008f96}td.pos_pos:before{content:"+"}td.pos_neg:before{content:"+"}td.pos_neu:before{content:"+"}th.ac1,th.ac2,th.ac3,th.ac4{padding-top:0em;border-bottom:0.3em solid black}th.pp1,th.pp2,th.pp3,th.pp4{padding-top:0em;border-bottom:0.3em solid grey}th.pl1,th.pl2,th.pl3,th.pl4{padding-top:0em;border-bottom:0.3em double black}th.fc1,th.fc2,th.fc3,th.fc4{border-bottom:0.3em solid;border-image:repeating-linear-gradient(-45deg, white, white, black, white, white 0.3em) 2}td.colsum{font-weight:bold}th.colsum{padding-top:0em;font-weight:bold}tr.sum td{border-top:0.1em solid black;font-weight:bold;padding-bottom:0.5em}tr.groupheader td{border-top:0em dotted #ddd;padding-top:0.5em;font-weight:bold;font-style:italic}tr.begingroup td{border-top:0em dotted #ddd;padding-top:0.5em}th.begin-group{padding-left:0.75em}th.end-group{padding-left:0.75em}td{box-sizing:border-box;-webkit-box-sizing:border-box;border-top:0.1em dashed #ddd;padding-left:0.5em;max-width:15em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-footer{font-size:0.6em}.cell-bar-chart{display:inline-block;vertical-align:middle}.bar-chart-empty{color:#999}td:has(.cell-bar-chart){padding:0 0.25em;vertical-align:middle}td:has(.cell-bar-chart).pos_pos:before,td:has(.cell-bar-chart).pos_neg:before,td:has(.cell-bar-chart).pos_neu:before{content:none}td:has(.cell-bar-chart).variance:after{content:none}`;
3285
+ const ibcsTableCss = () => `:host{position:relative;display:inline-block}table{background-color:var(--bn-font-background, white);font-size:var(--bn-font-size, 1em);color:var(--bn-font-color, black);font-family:var(--bn-font-family, "Noto Sans", "Helvetica Neue", Helvetica, sans-serif);border-spacing:0.3em 0}thead{border-style:none}tr:first-child td{border-top:none;padding-top:0.5em}td.ac1,td.ac2,td.ac3,td.ac4,td.pp1,td.pp2,td.pp3,td.pp4,td.pl1,td.pl2,td.pl3,td.pl4,td.fc1,td.fc2,td.fc3,td.fc4,td.share,td.variance,td.pos_pos,td.pos_neg,td.neg_pos,td.neg_neg,td.pos_neutral,td.neg_neutral{text-align:right}.category-w100{min-width:100em;max-width:100em}.category-w50{min-width:50em;max-width:50em}.category-w25{min-width:25em;max-width:25em}.category-w20{min-width:20em;max-width:20em}.category-w15{min-width:15em;max-width:15em}.category-w10{min-width:10em;max-width:10em}.category-w5{min-width:5em;max-width:5em}.prefix-second{color:transparent;font-style:normal}.prefix-first{font-style:normal}th{border-bottom:0.1em solid black;text-align:right;font-weight:normal;vertical-align:text-top}td.columnGroup,th.columnGroup{font-size:0.6em}td.columnSubGroup,th.columnSubGroup{font-size:0.6em;border-spacing:0em 0;font-style:italic}td.base,th.base{font-style:normal}th.ofit,td.ofit,tr.ofit,th.partof,td.partof,tr.partof{font-size:0.6em;font-style:italic}td.ofit,td.partof{font-size:0.6em;font-style:italic}th.ofit td,tr.ofit td,th.partof td,tr.partof td{border-top:0em solid black;padding-left:1em}th.ofit share,th.partof share,tr.share td{border-top:0em solid black}th.share,tr.share,td.share{font-size:0.6em;font-style:italic}th.filler{border-bottom:0em solid black;text-align:right}td.filler{border-top:0em none !important;border-bottom:0em none;text-align:right}th.group{text-align:center;border-spacing:1em 0}th.headerlabel{border-bottom:0em none black;padding-bottom:0em}td.variance:after{content:"%"}td.relative_variance{font-style:italic}td.percent{font-style:italic;text-align:right}td.decimal{text-align:right}td.pos_pos{color:#008f96}td.neg_pos{color:#ff0000}td.pos_neg{color:#ff0000}td.neg_neg{color:#008f96}td.pos_pos:before{content:"+"}td.pos_neg:before{content:"+"}td.pos_neu:before{content:"+"}th.ac1,th.ac2,th.ac3,th.ac4{padding-top:0em;border-bottom:0.3em solid black}th.pp1,th.pp2,th.pp3,th.pp4{padding-top:0em;border-bottom:0.3em solid grey}th.pl1,th.pl2,th.pl3,th.pl4{padding-top:0em;border-bottom:0.3em double black}th.fc1,th.fc2,th.fc3,th.fc4{border-bottom:0.3em solid;border-image:repeating-linear-gradient(-45deg, white, white, black, white, white 0.3em) 2}td.colsum{font-weight:bold}th.colsum{padding-top:0em;font-weight:bold}tr.sum td{border-top:0.1em solid black;font-weight:bold;padding-bottom:0.5em}tr.groupheader td{border-top:0em dotted #ddd;padding-top:0.5em;font-weight:bold;font-style:italic}tr.begingroup td{border-top:0em dotted #ddd;padding-top:0.5em}th.begin-group{padding-left:0.75em}th.end-group{padding-left:0.75em}td{box-sizing:border-box;-webkit-box-sizing:border-box;border-top:0.1em dashed #ddd;padding-left:0.5em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-footer{font-size:0.6em}.cell-bar-chart{display:inline-block;vertical-align:middle}.bar-chart-empty{color:#999}td:has(.cell-bar-chart){padding:0 0.25em;vertical-align:middle}td:has(.cell-bar-chart).pos_pos:before,td:has(.cell-bar-chart).pos_neg:before,td:has(.cell-bar-chart).pos_neu:before{content:none}td:has(.cell-bar-chart).variance:after{content:none}`;
3216
3286
 
3217
3287
  const IbcsTable = class {
3218
3288
  constructor(hostRef) {
@@ -3242,6 +3312,7 @@ const IbcsTable = class {
3242
3312
  this.measureType = Order.MeasureType.VOLUME;
3243
3313
  this.filter = "";
3244
3314
  this.barColumns = [];
3315
+ this.barColumnMaxWidth = 30;
3245
3316
  this.unitScaling = 0.01;
3246
3317
  this.percentageScaling = 0.5;
3247
3318
  this.scaleFactor = 1;
@@ -3257,7 +3328,7 @@ const IbcsTable = class {
3257
3328
  const errorMsg = this.i18n.get("NO_DATA") || "==No Data==";
3258
3329
  return index.h("p", { class: "warning" }, errorMsg);
3259
3330
  }
3260
- return (index.h("table", null, index.h("thead", null, this.table.getHeader().map((row) => (index.h("tr", { class: row.cssStyle }, row.getCells().map((cell) => (index.h("th", { colSpan: cell.colSpan, class: cell.cssStyle }, cell.getAsHeaderList().map((line, i, arr) => (index.h("span", null, i === arr.length - 1 ? (index.h("span", { class: line === " " ? "table-footer" : "" }, line, cell.drawPrefix(), " ")) : (index.h("span", null, line, cell.drawPrefix(), index.h("br", null))))))))))))), index.h("tbody", null, this.table.getBody().map((row) => (index.h("tr", { class: row.cssStyle }, row === null || row === void 0 ? void 0 : row.getCells().map((cell) => (index.h("td", { colSpan: cell.colSpan, class: cell.cssStyle + " " + cell.type }, cell.prefix != null ? (index.h("span", { class: cell.cssStyle + " " + cell.prefixStyle }, cell.drawPrefix())) : (""), cell.isBarChart && cell.columnStats ? (index.h(CellBarChart, { value: cell.value, scenario: cell.key, columnStats: cell.columnStats, height: 18 * this.scaleFactor, isRelative: cell.key.startsWith("dr"), isPositiveGood: cell.key.endsWith("_pos"), measureScale: cell.measureScale, styles: this.barChartStyles })) : (cell.draw(this.componentDataFormatDigits)))))))))));
3331
+ return (index.h("table", null, index.h("thead", null, this.table.getHeader().map((row) => (index.h("tr", { class: row.cssStyle }, row.getCells().map((cell) => (index.h("th", { colSpan: cell.colSpan, class: cell.cssStyle }, cell.getAsHeaderList().map((line, i, arr) => (index.h("span", null, i === arr.length - 1 ? (index.h("span", { class: line === " " ? "table-footer" : "" }, line, cell.drawPrefix(), " ")) : (index.h("span", null, line, cell.drawPrefix(), index.h("br", null))))))))))))), index.h("tbody", null, this.table.getBody().map((row) => (index.h("tr", { class: row.cssStyle }, row === null || row === void 0 ? void 0 : row.getCells().map((cell) => (index.h("td", { colSpan: cell.colSpan, class: cell.type ? `${cell.cssStyle} ${cell.type}` : cell.cssStyle }, cell.prefix != null ? (index.h("span", { class: cell.cssStyle + " " + cell.prefixStyle }, cell.drawPrefix())) : (""), cell.isBarChart && cell.columnStats ? (index.h(CellBarChart, { value: cell.value, scenario: cell.key, columnStats: cell.columnStats, height: 18 * this.scaleFactor, isRelative: cell.key.startsWith("dr"), isPositiveGood: cell.key.endsWith("_pos"), measureScale: cell.measureScale, maxBarWidth: this.barColumnMaxWidth, styles: this.barChartStyles })) : (cell.draw(this.componentDataFormatDigits)))))))))));
3261
3332
  };
3262
3333
  return index.h(index.Host, null, helper());
3263
3334
  }
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-Cjw0q6gP.js');
4
- var withStyled = require('./withStyled-BBtMesx3.js');
4
+ var withStyled = require('./withStyled-CW30Bh6c.js');
5
5
  var withComponentStatus = require('./withComponentStatus-_x4LQZ0N.js');
6
6
  var withComponentStyle = require('./withComponentStyle-DMtic_9Y.js');
7
7
  var withHasError = require('./withHasError-B8gHkfV2.js');
8
- require('./Order-DtpbD8mQ.js');
9
- require('./DateStringFactory-CfkXYAMN.js');
8
+ require('./Order-BKoDS21t.js');
9
+ require('./DateStringFactory-CcluhpGI.js');
10
10
  require('./context-protocol-CRPmux5D.js');
11
11
 
12
12
  /**
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-Cjw0q6gP.js');
4
- var withStyled = require('./withStyled-BBtMesx3.js');
4
+ var withStyled = require('./withStyled-CW30Bh6c.js');
5
5
  var withComponentStatus = require('./withComponentStatus-_x4LQZ0N.js');
6
6
  var withComponentStyle = require('./withComponentStyle-DMtic_9Y.js');
7
7
  var contextProtocol = require('./context-protocol-CRPmux5D.js');
8
8
  var withHasError = require('./withHasError-B8gHkfV2.js');
9
- require('./Order-DtpbD8mQ.js');
10
- require('./DateStringFactory-CfkXYAMN.js');
9
+ require('./Order-BKoDS21t.js');
10
+ require('./DateStringFactory-CcluhpGI.js');
11
11
 
12
12
  const bnImageCss = () => `:host{display:inline-block;position:relative;overflow:hidden}img{max-width:100%;height:auto}`;
13
13
 
@@ -46,7 +46,7 @@ var patchCloneNodeFix = (HTMLElementPrototype) => {
46
46
 
47
47
  patchBrowser().then(async (options) => {
48
48
  await appGlobals.globalScripts();
49
- return index.bootstrapLazy(JSON.parse("[[\"bn-layout-page.cjs\",[[257,\"bn-layout-page\",{\"styles\":[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\"],\"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\"],\"getNumberOfSlot\":[64]}]]],[\"bn-layout-card.cjs\",[[257,\"bn-layout-card\",{\"styles\":[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\"],\"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\"],\"getNumberOfSlot\":[64]}]]],[\"bn-chart-structure.cjs\",[[1,\"bn-chart-structure\",{\"chartTitle\":[1,\"chart-title\"],\"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\":[1,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[1,\"show-measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"stack\":[1],\"scale\":[1],\"data\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"limit\":[{\"validateLimit\":0}],\"showCategories\":[{\"validateShowCategories\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}]}]]],[\"bn-chart-time.cjs\",[[1,\"bn-chart-time\",{\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"syncSpaceLeft\":[2,\"sync-space-left\"],\"limit\":[2],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"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\":[1,\"line-full-width\"],\"showCategories\":[1,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[1,\"show-measure-scale\"],\"showOverlayAvg\":[1,\"show-overlay-avg\"],\"showOverlayMedian\":[1,\"show-overlay-median\"],\"measureUnit\":[1,\"measure-unit\"],\"data\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"syncSpaceLeft\":[{\"validateLeftSync\":0}],\"limit\":[{\"validateLimit\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"dateInterval\":[{\"validateDateInterval\":0}],\"chartMode\":[{\"validateChartMode\":0}],\"maxBars\":[{\"validateMaxBars\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}],\"axisLabelsMode\":[{\"validateAxisLabelsMode\":0}],\"lineFullWidth\":[{\"validateLineFullWidth\":0}],\"showCategories\":[{\"validateShowCategories\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"showOverlayAvg\":[{\"validateShowOverlayAvg\":0}],\"showOverlayMedian\":[{\"validateShowOverlayMedian\":0}]}]]],[\"bn-asset.cjs\",[[1,\"bn-asset\",{\"name\":[1]}]]],[\"bn-component-style.cjs\",[[0,\"bn-component-style\",{\"name\":[1]}]]],[\"bn-dataset.cjs\",[[0,\"bn-dataset\",{\"name\":[1],\"datasources\":[1],\"static\":[4]},null,{\"name\":[{\"nameUpdated\":0}]}]]],[\"bn-grid.cjs\",[[257,\"bn-grid\",{\"chartTitle\":[1,\"chart-title\"],\"rowHeaders\":[1,\"row-headers\"],\"columnHeaders\":[1,\"column-headers\"],\"showRowHeaders\":[1,\"show-row-headers\"],\"showColumnHeaders\":[1,\"show-column-headers\"],\"showBorders\":[1,\"show-borders\"],\"rowHeaderWidth\":[1,\"row-header-width\"],\"cellGap\":[1,\"cell-gap\"],\"gridConfig\":[32]},null,{\"rowHeaders\":[{\"validateRowHeaders\":0}],\"columnHeaders\":[{\"validateColumnHeaders\":0}],\"showRowHeaders\":[{\"validateShowRowHeaders\":0}],\"showColumnHeaders\":[{\"validateShowColumnHeaders\":0}],\"showBorders\":[{\"validateShowBorders\":0}]}]]],[\"bn-image.cjs\",[[1,\"bn-image\",{\"source\":[1]}]]],[\"bn-internationalization.cjs\",[[0,\"bn-internationalization\",{\"code\":[1],\"namespace\":[1]}]]],[\"bn-template.cjs\",[[257,\"bn-template\",{\"templateId\":[1,\"template-id\"]}]]],[\"bn-text.cjs\",[[1,\"bn-text\",{\"value\":[1],\"scale\":[1],\"data\":[32]},null,{\"value\":[{\"validateValue\":0}],\"scale\":[{\"validateScaling\":0}]}]]],[\"bn-tree.cjs\",[[257,\"bn-tree\",{\"edges\":[1],\"direction\":[1],\"levelSpacing\":[2,\"level-spacing\"],\"nodeSpacing\":[2,\"node-spacing\"],\"edgeStyle\":[1,\"edge-style\"],\"showOperators\":[1,\"show-operators\"],\"treeConfig\":[32],\"layout\":[32],\"nodeRects\":[32],\"svgWidth\":[32],\"svgHeight\":[32]},null,{\"edges\":[{\"validateEdgesProp\":0}],\"direction\":[{\"validateDirection\":0}],\"levelSpacing\":[{\"validateLevelSpacing\":0}],\"nodeSpacing\":[{\"validateNodeSpacing\":0}],\"edgeStyle\":[{\"validateEdgeStyle\":0}],\"showOperators\":[{\"validateShowOperators\":0}]}]]],[\"editor-companion.cjs\",[[0,\"editor-companion\",{\"internationalizationKeys\":[64],\"getDistinctFromDataSource\":[64],\"getDistinctFromDataset\":[64]}]]],[\"bn-card.cjs\",[[257,\"bn-card\"]]],[\"bn-message.cjs\",[[1,\"bn-message\",{\"text\":[1025],\"image\":[1]}]]],[\"ibcs-chart-structure.cjs\",[[1,\"ibcs-chart-structure\",{\"data\":[16],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideCategories\":[4,\"hide-categories\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"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]}]]],[\"ibcs-chart-time.cjs\",[[1,\"ibcs-chart-time\",{\"data\":[16],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideAxisLabels\":[4,\"hide-axis-labels\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"limit\":[2],\"leftSideOffsetForHorizontalSync\":[2,\"left-side-offset-for-horizontal-sync\"],\"styles\":[1040],\"i18n\":[1040],\"order\":[16],\"level\":[1],\"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]}]]],[\"bn-context_5.cjs\",[[1,\"bn-table\",{\"scale\":[1],\"tableTitle\":[1,\"table-title\"],\"filter\":[1],\"measureUnit\":[1,\"measure-unit\"],\"scenarios\":[1],\"variances\":[1],\"barColumns\":[1,\"bar-columns\"],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"dataFormat\":[1,\"data-format\"],\"grouped\":[1],\"showMeasureScale\":[1,\"show-measure-scale\"],\"showGroupTitle\":[1,\"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],\"data\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scale\":[{\"validateScaling\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"barColumns\":[{\"validateBarColumns\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"dataFormat\":[{\"validateDataFormat\":0}],\"grouped\":[{\"validateGrouped\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"showGroupTitle\":[{\"validateShowGroupTitle\":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}]}],[257,\"bn-context\",{\"locale\":[1]},null,{\"locale\":[{\"setLocale\":0}]}],[0,\"bn-datasource\",{\"name\":[1]}],[257,\"bn-page\",{\"format\":[1],\"orientation\":[1]},null,{\"format\":[{\"validateFormat\":0}],\"orientation\":[{\"validateOrientation\":0}]}],[1,\"ibcs-table\",{\"data\":[16],\"tableTitle\":[1,\"table-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],\"type\":[1],\"categoryWidth\":[1,\"category-width\"],\"dataFormatDigits\":[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],\"unitScaling\":[2,\"unit-scaling\"],\"percentageScaling\":[2,\"percentage-scaling\"],\"scaleFactor\":[2,\"scale-factor\"]}]]],[\"bn-body_4.cjs\",[[1,\"bn-title\",{\"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\"],[1,\"bn-footer\",{\"pageNumber\":[1026,\"page-number\"],\"text\":[1025],\"code\":[1025],\"displayPageNumber\":[4,\"display-page-number\"]}],[1,\"ibcs-title\",{\"businessUnit\":[1537,\"business-unit\"],\"scenarios\":[16],\"measures\":[16],\"timeperiod\":[16],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"order\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"setBusinessUnit\":[64],\"setProps\":[64]}]]]]"), options);
49
+ return index.bootstrapLazy(JSON.parse("[[\"bn-layout-page.cjs\",[[257,\"bn-layout-page\",{\"styles\":[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\"],\"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\"],\"getNumberOfSlot\":[64]}]]],[\"bn-layout-card.cjs\",[[257,\"bn-layout-card\",{\"styles\":[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\"],\"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\"],\"getNumberOfSlot\":[64]}]]],[\"bn-chart-structure.cjs\",[[1,\"bn-chart-structure\",{\"chartTitle\":[1,\"chart-title\"],\"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\":[1,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[1,\"show-measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"stack\":[1],\"scale\":[1],\"data\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"limit\":[{\"validateLimit\":0}],\"showCategories\":[{\"validateShowCategories\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}]}]]],[\"bn-chart-time.cjs\",[[1,\"bn-chart-time\",{\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"syncSpaceLeft\":[2,\"sync-space-left\"],\"limit\":[2],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"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\":[1,\"line-full-width\"],\"showCategories\":[1,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[1,\"show-measure-scale\"],\"showOverlayAvg\":[1,\"show-overlay-avg\"],\"showOverlayMedian\":[1,\"show-overlay-median\"],\"measureUnit\":[1,\"measure-unit\"],\"data\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"syncSpaceLeft\":[{\"validateLeftSync\":0}],\"limit\":[{\"validateLimit\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"dateInterval\":[{\"validateDateInterval\":0}],\"chartMode\":[{\"validateChartMode\":0}],\"maxBars\":[{\"validateMaxBars\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}],\"axisLabelsMode\":[{\"validateAxisLabelsMode\":0}],\"lineFullWidth\":[{\"validateLineFullWidth\":0}],\"showCategories\":[{\"validateShowCategories\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"showOverlayAvg\":[{\"validateShowOverlayAvg\":0}],\"showOverlayMedian\":[{\"validateShowOverlayMedian\":0}]}]]],[\"bn-asset.cjs\",[[1,\"bn-asset\",{\"name\":[1]}]]],[\"bn-component-style.cjs\",[[0,\"bn-component-style\",{\"name\":[1]}]]],[\"bn-dataset.cjs\",[[0,\"bn-dataset\",{\"name\":[1],\"datasources\":[1],\"static\":[4]},null,{\"name\":[{\"nameUpdated\":0}]}]]],[\"bn-grid.cjs\",[[257,\"bn-grid\",{\"chartTitle\":[1,\"chart-title\"],\"rowHeaders\":[1,\"row-headers\"],\"columnHeaders\":[1,\"column-headers\"],\"showRowHeaders\":[1,\"show-row-headers\"],\"showColumnHeaders\":[1,\"show-column-headers\"],\"showBorders\":[1,\"show-borders\"],\"rowHeaderWidth\":[1,\"row-header-width\"],\"cellGap\":[1,\"cell-gap\"],\"gridConfig\":[32]},null,{\"rowHeaders\":[{\"validateRowHeaders\":0}],\"columnHeaders\":[{\"validateColumnHeaders\":0}],\"showRowHeaders\":[{\"validateShowRowHeaders\":0}],\"showColumnHeaders\":[{\"validateShowColumnHeaders\":0}],\"showBorders\":[{\"validateShowBorders\":0}]}]]],[\"bn-image.cjs\",[[1,\"bn-image\",{\"source\":[1]}]]],[\"bn-internationalization.cjs\",[[0,\"bn-internationalization\",{\"code\":[1],\"namespace\":[1]}]]],[\"bn-template.cjs\",[[257,\"bn-template\",{\"templateId\":[1,\"template-id\"]}]]],[\"bn-text.cjs\",[[1,\"bn-text\",{\"value\":[1],\"scale\":[1],\"data\":[32]},null,{\"value\":[{\"validateValue\":0}],\"scale\":[{\"validateScaling\":0}]}]]],[\"bn-tree.cjs\",[[257,\"bn-tree\",{\"edges\":[1],\"direction\":[1],\"levelSpacing\":[2,\"level-spacing\"],\"nodeSpacing\":[2,\"node-spacing\"],\"edgeStyle\":[1,\"edge-style\"],\"showOperators\":[1,\"show-operators\"],\"treeConfig\":[32],\"layout\":[32],\"nodeRects\":[32],\"svgWidth\":[32],\"svgHeight\":[32]},null,{\"edges\":[{\"validateEdgesProp\":0}],\"direction\":[{\"validateDirection\":0}],\"levelSpacing\":[{\"validateLevelSpacing\":0}],\"nodeSpacing\":[{\"validateNodeSpacing\":0}],\"edgeStyle\":[{\"validateEdgeStyle\":0}],\"showOperators\":[{\"validateShowOperators\":0}]}]]],[\"editor-companion.cjs\",[[0,\"editor-companion\",{\"internationalizationKeys\":[64],\"getDistinctFromDataSource\":[64],\"getDistinctFromDataset\":[64]}]]],[\"bn-card.cjs\",[[257,\"bn-card\"]]],[\"bn-message.cjs\",[[1,\"bn-message\",{\"text\":[1025],\"image\":[1]}]]],[\"ibcs-chart-structure.cjs\",[[1,\"ibcs-chart-structure\",{\"data\":[16],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideCategories\":[4,\"hide-categories\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"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]}]]],[\"ibcs-chart-time.cjs\",[[1,\"ibcs-chart-time\",{\"data\":[16],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideAxisLabels\":[4,\"hide-axis-labels\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"limit\":[2],\"leftSideOffsetForHorizontalSync\":[2,\"left-side-offset-for-horizontal-sync\"],\"styles\":[1040],\"i18n\":[1040],\"order\":[16],\"level\":[1],\"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]}]]],[\"bn-context_5.cjs\",[[1,\"bn-table\",{\"scale\":[1],\"tableTitle\":[1,\"table-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\":[1],\"showMeasureScale\":[1,\"show-measure-scale\"],\"showGroupTitle\":[1,\"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],\"data\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scale\":[{\"validateScaling\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"barColumns\":[{\"validateBarColumns\":0}],\"barColumnWidth\":[{\"validateBarColumnWidth\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"dataFormat\":[{\"validateDataFormat\":0}],\"grouped\":[{\"validateGrouped\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"showGroupTitle\":[{\"validateShowGroupTitle\":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}]}],[257,\"bn-context\",{\"locale\":[1]},null,{\"locale\":[{\"setLocale\":0}]}],[0,\"bn-datasource\",{\"name\":[1]}],[257,\"bn-page\",{\"format\":[1],\"orientation\":[1]},null,{\"format\":[{\"validateFormat\":0}],\"orientation\":[{\"validateOrientation\":0}]}],[1,\"ibcs-table\",{\"data\":[16],\"tableTitle\":[1,\"table-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],\"type\":[1],\"categoryWidth\":[1,\"category-width\"],\"dataFormatDigits\":[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],\"barColumnMaxWidth\":[2,\"bar-column-max-width\"],\"unitScaling\":[2,\"unit-scaling\"],\"percentageScaling\":[2,\"percentage-scaling\"],\"scaleFactor\":[2,\"scale-factor\"]}]]],[\"bn-body_4.cjs\",[[1,\"bn-title\",{\"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\"],[1,\"bn-footer\",{\"pageNumber\":[1026,\"page-number\"],\"text\":[1025],\"code\":[1025],\"displayPageNumber\":[4,\"display-page-number\"]}],[1,\"ibcs-title\",{\"businessUnit\":[1537,\"business-unit\"],\"scenarios\":[16],\"measures\":[16],\"timeperiod\":[16],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"order\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"setBusinessUnit\":[64],\"setProps\":[64]}]]]]"), options);
50
50
  });
51
51
 
52
52
  exports.setNonce = index.setNonce;
@@ -4,12 +4,12 @@ var index = require('./index-Cjw0q6gP.js');
4
4
  var scaling = require('./scaling-D8sIIKft.js');
5
5
  var withTranslation = require('./withTranslation-CWPAIRjh.js');
6
6
  var withComponentStatus = require('./withComponentStatus-_x4LQZ0N.js');
7
- var withStyled = require('./withStyled-BBtMesx3.js');
7
+ var withStyled = require('./withStyled-CW30Bh6c.js');
8
8
  var withComponentStyle = require('./withComponentStyle-DMtic_9Y.js');
9
9
  var withHasError = require('./withHasError-B8gHkfV2.js');
10
10
  require('./context-protocol-CRPmux5D.js');
11
- require('./Order-DtpbD8mQ.js');
12
- require('./DateStringFactory-CfkXYAMN.js');
11
+ require('./Order-BKoDS21t.js');
12
+ require('./DateStringFactory-CcluhpGI.js');
13
13
 
14
14
  const bnTextCss = () => `:host{padding:0.5em;display:inline-block;position:relative;overflow:hidden;font-family:var(--bn-font-family, "Noto Sans", sans-serif);font-size:var(--bn-font-size, 13.3333px);color:var(--bn-font-color, #000000);background-color:var(--bn-font-background, white)}span.container p{margin:0}`;
15
15
 
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-Cjw0q6gP.js');
4
- var withStyled = require('./withStyled-BBtMesx3.js');
4
+ var withStyled = require('./withStyled-CW30Bh6c.js');
5
5
  var withComponentStatus = require('./withComponentStatus-_x4LQZ0N.js');
6
6
  var withComponentStyle = require('./withComponentStyle-DMtic_9Y.js');
7
7
  var withHasError = require('./withHasError-B8gHkfV2.js');
8
- require('./Order-DtpbD8mQ.js');
9
- require('./DateStringFactory-CfkXYAMN.js');
8
+ require('./Order-BKoDS21t.js');
9
+ require('./DateStringFactory-CcluhpGI.js');
10
10
  require('./context-protocol-CRPmux5D.js');
11
11
 
12
12
  /**
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-Cjw0q6gP.js');
4
- var SVGVariancesStyleGroup = require('./SVGVariancesStyleGroup-D-rTWlDo.js');
5
- var Order = require('./Order-DtpbD8mQ.js');
6
- var DataFormatDigits = require('./DataFormatDigits-CbIVfGEH.js');
4
+ var SVGVariancesStyleGroup = require('./SVGVariancesStyleGroup-DYYAU-81.js');
5
+ var Order = require('./Order-BKoDS21t.js');
6
+ var DataFormatDigits = require('./DataFormatDigits-DAmZzqbD.js');
7
7
  var formatter = require('./formatter-DIJL_crx.js');
8
8
  var alasql_min = require('./alasql.min-C_nHTuEQ.js');
9
- var StringAdapter = require('./StringAdapter-ByCHdlDO.js');
9
+ var StringAdapter = require('./StringAdapter-Bneo8T4k.js');
10
10
  require('./_commonjsHelpers-BJu3ubxk.js');
11
11
 
12
12
  /**
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-Cjw0q6gP.js');
4
- var SVGVariancesStyleGroup = require('./SVGVariancesStyleGroup-D-rTWlDo.js');
5
- var Order = require('./Order-DtpbD8mQ.js');
4
+ var SVGVariancesStyleGroup = require('./SVGVariancesStyleGroup-DYYAU-81.js');
5
+ var Order = require('./Order-BKoDS21t.js');
6
6
  var formatter = require('./formatter-DIJL_crx.js');
7
- var DataFormatDigits = require('./DataFormatDigits-CbIVfGEH.js');
7
+ var DataFormatDigits = require('./DataFormatDigits-DAmZzqbD.js');
8
8
  var alasql_min = require('./alasql.min-C_nHTuEQ.js');
9
- var DateStringFactory = require('./DateStringFactory-CfkXYAMN.js');
10
- var StringAdapter = require('./StringAdapter-ByCHdlDO.js');
9
+ var DateStringFactory = require('./DateStringFactory-CcluhpGI.js');
10
+ var StringAdapter = require('./StringAdapter-Bneo8T4k.js');
11
11
  require('./_commonjsHelpers-BJu3ubxk.js');
12
12
 
13
13
  // import { IAdapter } from "../../../../../utils/helper/IAdapter";