@bino-bi/bn-template-engine 1.0.0-next.19 → 1.0.0-next.21

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 (144) hide show
  1. package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
  2. package/dist/bn-template-engine/{p-7bdc0e28.entry.js → p-28d5c266.entry.js} +1 -1
  3. package/dist/bn-template-engine/{p-2e6dc267.entry.js → p-2d3ea756.entry.js} +1 -1
  4. package/dist/bn-template-engine/{p-9879c9b2.entry.js → p-2fba7c99.entry.js} +1 -1
  5. package/dist/bn-template-engine/{p-eca8e2e2.entry.js → p-6077155f.entry.js} +1 -1
  6. package/dist/bn-template-engine/{p-74c5a95d.entry.js → p-687032d5.entry.js} +1 -1
  7. package/dist/bn-template-engine/{p-22d0fb7a.entry.js → p-6c7f0076.entry.js} +1 -1
  8. package/dist/bn-template-engine/{p-Dg9OcXAO.js → p-6lOdN-fB.js} +1 -1
  9. package/dist/bn-template-engine/{p-83c71b16.entry.js → p-7e9dbc93.entry.js} +1 -1
  10. package/dist/bn-template-engine/{p-b25455a7.entry.js → p-99477a27.entry.js} +1 -1
  11. package/dist/bn-template-engine/p-A8xyE4b1.js +1 -0
  12. package/dist/bn-template-engine/p-BgIpdpfH.js +1 -0
  13. package/dist/bn-template-engine/p-BpWWgN6k.js +1 -0
  14. package/dist/bn-template-engine/{p-Bdfxd_Ke.js → p-C5uvAEKI.js} +1 -1
  15. package/dist/bn-template-engine/p-C8Q0lsaU.js +1 -0
  16. package/dist/bn-template-engine/{p-DY7YYmpa.js → p-C9i1Xsib.js} +1 -1
  17. package/dist/bn-template-engine/{p-BWKdb9ym.js → p-CJThzFZm.js} +1 -1
  18. package/dist/bn-template-engine/{p-rdqTC0_5.js → p-CYE0I1Mx.js} +1 -1
  19. package/dist/bn-template-engine/{p-X6CxL6W-.js → p-DwYUTvvI.js} +1 -1
  20. package/dist/bn-template-engine/{p-19bbac66.entry.js → p-a1380d7c.entry.js} +1 -1
  21. package/dist/bn-template-engine/{p-485d23d7.entry.js → p-a4ea9a79.entry.js} +1 -1
  22. package/dist/bn-template-engine/p-b5274369.entry.js +1 -0
  23. package/dist/bn-template-engine/{p-e96da91f.entry.js → p-b9e94127.entry.js} +1 -1
  24. package/dist/bn-template-engine/p-ba912130.entry.js +1 -0
  25. package/dist/bn-template-engine/{p-f9dfd120.entry.js → p-de29986f.entry.js} +1 -1
  26. package/dist/bn-template-engine/{p-BZV1b5VH.js → p-eEfqksk-.js} +1 -1
  27. package/dist/bn-template-engine/{p-aakBGfzL.js → p-fFtEvsY-.js} +1 -1
  28. package/dist/cjs/{AxisConfig-VnVelfSV.js → AxisConfig-D7CAyPLO.js} +1 -1
  29. package/dist/cjs/{LabelCollisionManager-nfD5P__k.js → LabelCollisionManager-DkdQ9Xdg.js} +2 -2
  30. package/dist/cjs/{Order-DobBozQC.js → Order-IPfAP0q8.js} +1 -1
  31. package/dist/cjs/{SVGStyle-BQOmGWLX.js → SVGStyle-BD8jApd4.js} +2 -2
  32. package/dist/cjs/{SVGVariancesStyleGroup-DCGfHrqh.js → SVGVariancesStyleGroup-BaWzR951.js} +1 -1
  33. package/dist/cjs/{VarianceMeasure-NY9yhiNV.js → VarianceMeasure-BBWTgv2e.js} +1 -1
  34. package/dist/cjs/{XYChartDataRow-B7OKrAcC.js → XYChartDataRow-BoR0CTfl.js} +4 -4
  35. package/dist/cjs/bn-asset_21.cjs.entry.js +93 -35
  36. package/dist/cjs/bn-chart-bubble.cjs.entry.js +8 -8
  37. package/dist/cjs/bn-chart-bullet.cjs.entry.js +7 -7
  38. package/dist/cjs/bn-chart-scatter.cjs.entry.js +7 -7
  39. package/dist/cjs/bn-grid.cjs.entry.js +5 -5
  40. package/dist/cjs/bn-image.cjs.entry.js +4 -4
  41. package/dist/cjs/bn-internationalization.cjs.entry.js +1 -1
  42. package/dist/cjs/bn-ruleset.cjs.entry.js +1 -1
  43. package/dist/cjs/bn-template-engine.cjs.js +1 -1
  44. package/dist/cjs/bn-text.cjs.entry.js +5 -5
  45. package/dist/cjs/bn-tree.cjs.entry.js +4 -4
  46. package/dist/cjs/{context-protocol-BDrMkhc4.js → context-protocol-BBhT9B52.js} +9 -3
  47. package/dist/cjs/editor-companion.cjs.entry.js +1 -1
  48. package/dist/cjs/ibcs-chart-bubble.cjs.entry.js +5 -5
  49. package/dist/cjs/ibcs-chart-bullet.cjs.entry.js +5 -5
  50. package/dist/cjs/ibcs-chart-scatter.cjs.entry.js +5 -5
  51. package/dist/cjs/{layoutObserver-o03YUfn_.js → layoutObserver-DUYYkDMQ.js} +3 -3
  52. package/dist/cjs/loader.cjs.js +1 -1
  53. package/dist/cjs/{scaling-DKZyjWj5.js → scaling-BIJQ2NV1.js} +4 -2
  54. package/dist/cjs/{withScalingGroup-BmcRlWBs.js → withScalingGroup-D5clRvRe.js} +1 -1
  55. package/dist/cjs/{withStyled-CRiC9fzc.js → withStyled-Cm9dWQhu.js} +34 -3
  56. package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +2 -2
  57. package/dist/collection/components/bn-chart-structure/ibcs-chart-structure.js +1 -1
  58. package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +19 -2
  59. package/dist/collection/components/bn-chart-time/bn-chart-time.js +2 -2
  60. package/dist/collection/components/bn-chart-time/ibcs-chart-time.js +3 -1
  61. package/dist/collection/components/bn-chart-time/utils/TimeChart.js +19 -1
  62. package/dist/collection/components/bn-chart-time/utils/model/TimeChartComponentConfig.js +5 -0
  63. package/dist/collection/components/bn-context/bn-context.js +20 -1
  64. package/dist/collection/components/bn-grid/bn-grid.js +20 -1
  65. package/dist/collection/components/bn-layout-card/bn-layout-card.js +3 -3
  66. package/dist/collection/components/bn-layout-page/bn-layout-page.js +3 -3
  67. package/dist/collection/components/bn-table/bn-table.js +2 -2
  68. package/dist/collection/components/bn-table/ibcs-table.js +1 -1
  69. package/dist/collection/components/bn-table/utils/Table.js +0 -1
  70. package/dist/collection/components/bn-table/utils/factories/tableDataSetFactory.js +3 -1
  71. package/dist/collection/components/bn-title/bn-title.js +5 -1
  72. package/dist/collection/components/bn-title/ibcs-title/ibcs-title.js +25 -2
  73. package/dist/collection/components/bn-title/ibcs-title/utils/Title.js +4 -4
  74. package/dist/collection/components/bn-title/ibcs-title/utils/factories/TitleDataSetFactory.js +6 -2
  75. package/dist/collection/components/bn-title/ibcs-title/utils/model/TitleConfig.js +5 -0
  76. package/dist/collection/components/bn-tree/bn-tree.js +19 -0
  77. package/dist/collection/stores/internationalization.js +9 -3
  78. package/dist/collection/utils/DateStringFactory.js +31 -0
  79. package/dist/collection/utils/withTranslation.js +3 -1
  80. package/dist/components/DateStringFactory.js +1 -1
  81. package/dist/components/bn-chart-structure.js +1 -1
  82. package/dist/components/bn-chart-time.js +1 -1
  83. package/dist/components/bn-context.js +1 -1
  84. package/dist/components/bn-grid.js +1 -1
  85. package/dist/components/bn-layout-card.js +1 -1
  86. package/dist/components/bn-layout-page.js +1 -1
  87. package/dist/components/bn-table.js +1 -1
  88. package/dist/components/bn-title2.js +1 -1
  89. package/dist/components/bn-tree.js +1 -1
  90. package/dist/components/context-protocol.js +1 -1
  91. package/dist/components/ibcs-chart-structure2.js +1 -1
  92. package/dist/components/ibcs-chart-time2.js +1 -1
  93. package/dist/components/ibcs-table2.js +1 -1
  94. package/dist/components/ibcs-title2.js +1 -1
  95. package/dist/esm/{AxisConfig-C_zWCKlL.js → AxisConfig-ByIP5J-9.js} +1 -1
  96. package/dist/esm/{LabelCollisionManager-8swVQHKA.js → LabelCollisionManager-DaNiDiM9.js} +2 -2
  97. package/dist/esm/{Order-BPeWfygb.js → Order-BQeJE_yi.js} +1 -1
  98. package/dist/esm/{SVGStyle-BxEDw9zh.js → SVGStyle-BwBlY3Km.js} +2 -2
  99. package/dist/esm/{SVGVariancesStyleGroup-DRQYvSDD.js → SVGVariancesStyleGroup-BpGW4CvN.js} +1 -1
  100. package/dist/esm/{VarianceMeasure-DnwNKspZ.js → VarianceMeasure-CE3N8Bea.js} +1 -1
  101. package/dist/esm/{XYChartDataRow-DeV4r-Wm.js → XYChartDataRow-DeMI1JKU.js} +4 -4
  102. package/dist/esm/bn-asset_21.entry.js +93 -35
  103. package/dist/esm/bn-chart-bubble.entry.js +8 -8
  104. package/dist/esm/bn-chart-bullet.entry.js +7 -7
  105. package/dist/esm/bn-chart-scatter.entry.js +7 -7
  106. package/dist/esm/bn-grid.entry.js +5 -5
  107. package/dist/esm/bn-image.entry.js +4 -4
  108. package/dist/esm/bn-internationalization.entry.js +1 -1
  109. package/dist/esm/bn-ruleset.entry.js +1 -1
  110. package/dist/esm/bn-template-engine.js +1 -1
  111. package/dist/esm/bn-text.entry.js +5 -5
  112. package/dist/esm/bn-tree.entry.js +4 -4
  113. package/dist/esm/{context-protocol-1Yj1uKvh.js → context-protocol-d8MHrEo8.js} +9 -3
  114. package/dist/esm/editor-companion.entry.js +1 -1
  115. package/dist/esm/ibcs-chart-bubble.entry.js +5 -5
  116. package/dist/esm/ibcs-chart-bullet.entry.js +5 -5
  117. package/dist/esm/ibcs-chart-scatter.entry.js +5 -5
  118. package/dist/esm/{layoutObserver-BG5dOBYH.js → layoutObserver-BJBEyhNf.js} +3 -3
  119. package/dist/esm/loader.js +1 -1
  120. package/dist/esm/{scaling-CeSRcRl1.js → scaling-BGnpSN1j.js} +4 -2
  121. package/dist/esm/{withScalingGroup-Br70pAv9.js → withScalingGroup-CC3UcvC5.js} +1 -1
  122. package/dist/esm/{withStyled-Br2DGTPs.js → withStyled-2l5Tx3cf.js} +34 -3
  123. package/dist/types/components/bn-chart-structure/utils/StructureChart.d.ts +5 -0
  124. package/dist/types/components/bn-chart-time/utils/TimeChart.d.ts +5 -0
  125. package/dist/types/components/bn-chart-time/utils/model/TimeChartComponentConfig.d.ts +2 -0
  126. package/dist/types/components/bn-context/bn-context.d.ts +8 -0
  127. package/dist/types/components/bn-grid/bn-grid.d.ts +8 -0
  128. package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +4 -0
  129. package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +4 -0
  130. package/dist/types/components/bn-title/bn-title.d.ts +1 -0
  131. package/dist/types/components/bn-title/ibcs-title/ibcs-title.d.ts +2 -0
  132. package/dist/types/components/bn-title/ibcs-title/utils/factories/TitleDataSetFactory.d.ts +3 -1
  133. package/dist/types/components/bn-title/ibcs-title/utils/model/TitleConfig.d.ts +2 -0
  134. package/dist/types/components/bn-tree/bn-tree.d.ts +8 -0
  135. package/dist/types/components.d.ts +42 -4
  136. package/dist/types/utils/DateStringFactory.d.ts +19 -0
  137. package/dist/types/utils/withTranslation.d.ts +3 -1
  138. package/package.json +1 -1
  139. package/dist/bn-template-engine/p-209351c9.entry.js +0 -1
  140. package/dist/bn-template-engine/p-90806e7a.entry.js +0 -1
  141. package/dist/bn-template-engine/p-BqhIhYr1.js +0 -1
  142. package/dist/bn-template-engine/p-C0Pwqx-O.js +0 -1
  143. package/dist/bn-template-engine/p-CiudZRQr.js +0 -1
  144. package/dist/bn-template-engine/p-DTuaq8Pj.js +0 -1
@@ -1,17 +1,17 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement, d as writeTask, f as forceUpdate, e as getAssetPath, F as Fragment } from './index-B_d-jp99.js';
2
2
  import { w as withComponentStatus, a as withHasError, r as runIfExisits } from './withHasError-DW_vMDUp.js';
3
- import { g as getStores, a as globalLabelKeys, e as getOrCreateStores, c as clearStoresCache, D as DateTime, b as buildFromExpr } from './context-protocol-1Yj1uKvh.js';
3
+ import { g as getStores, a as globalLabelKeys, e as getOrCreateStores, c as clearStoresCache, D as DateTime, b as buildFromExpr } from './context-protocol-d8MHrEo8.js';
4
4
  import { w as withBodyObserver } from './withBodyObserver-IokS6fHD.js';
5
- import { b as withComponentStyle, g as validateScenarioList, h as validateVariancesList, f as isValidNumber, j as isValidLevel, v as validateOrderList, d as isValidDirection, a as isValidInteger, e as isValidBoolean, k as isValidMeasureScale, l as validateStackConfig, w as withStyled, i as isBlankInput, m as isValidDateFormat, n as isValidAxisLabelsMode, D as DateDistance, o as murmur2, p as DateStringFactory, q as validateBarColumnsList, r as isTableBarColumnWidth, s as isValidDataFormat, t as isValidTableType, u as validateThereOfJsonStr, x as validatePartOfJsonStr, y as isValidMeasureType, z as isTableCategoryWidth, A as validateColumnThereOfJsonStr, B as validateAttributesJsonStr, C as parseTableAttributeExpression, E as validateMeasureList, F as isValidDate, G as isValidDateLink, H as DateLink } from './withStyled-Br2DGTPs.js';
6
- import { i as isInheritedValue, w as withDataset, a as withTranslation, b as withInheritedProps, g as getParentDimensions, p as parseScaling } from './scaling-CeSRcRl1.js';
7
- import { w as withScalingGroup } from './withScalingGroup-Br70pAv9.js';
8
- import { w as withRuleSet, o as observeParentResize } from './layoutObserver-BG5dOBYH.js';
9
- import { A as AggregationLevel$1, f as StackBy, g as StackOrder, h as StackMode, c as AxisLabelsMode, i as ChartMode, D as DataFormat, I as I18nMode, e as TableCategoryWidth, M as MeasureType, B as BAR_COLUMN_WIDTH_EM, T as TableBarColumnWidth, C as CompareUtil, R as RELATIVE_STACK_UNITS, S as Scenarios } from './VarianceMeasure-DnwNKspZ.js';
10
- import { O as OrderDirection$1, b as OrderColumn, A as AdapterUtils, c as OrderAdapter } from './Order-BPeWfygb.js';
11
- import { F as Formatter, S as Svg, I as IBCSRuleSet, C as CalculateSize, V as VarianceScenario, a as FontStyleAdapter, b as SVGStyleGroupAdapter, c as SVGStyleAdapter, P as PaddingAdapter, Q as QueryColumnNames } from './SVGStyle-BxEDw9zh.js';
5
+ import { b as withComponentStyle, g as validateScenarioList, h as validateVariancesList, f as isValidNumber, j as isValidLevel, v as validateOrderList, d as isValidDirection, a as isValidInteger, e as isValidBoolean, k as isValidMeasureScale, l as validateStackConfig, w as withStyled, i as isBlankInput, m as isValidDateFormat, n as isValidAxisLabelsMode, D as DateDistance, o as murmur2, p as DateStringFactory, q as validateBarColumnsList, r as isTableBarColumnWidth, s as isValidDataFormat, t as isValidTableType, u as validateThereOfJsonStr, x as validatePartOfJsonStr, y as isValidMeasureType, z as isTableCategoryWidth, A as validateColumnThereOfJsonStr, B as validateAttributesJsonStr, C as parseTableAttributeExpression, E as validateMeasureList, F as isValidDate, G as isValidDateLink, H as DateLink } from './withStyled-2l5Tx3cf.js';
6
+ import { i as isInheritedValue, w as withDataset, a as withTranslation, b as withInheritedProps, g as getParentDimensions, p as parseScaling } from './scaling-BGnpSN1j.js';
7
+ import { w as withScalingGroup } from './withScalingGroup-CC3UcvC5.js';
8
+ import { w as withRuleSet, o as observeParentResize } from './layoutObserver-BJBEyhNf.js';
9
+ import { A as AggregationLevel$1, f as StackBy, g as StackOrder, h as StackMode, c as AxisLabelsMode, i as ChartMode, D as DataFormat, I as I18nMode, e as TableCategoryWidth, M as MeasureType, B as BAR_COLUMN_WIDTH_EM, T as TableBarColumnWidth, C as CompareUtil, R as RELATIVE_STACK_UNITS, S as Scenarios } from './VarianceMeasure-CE3N8Bea.js';
10
+ import { O as OrderDirection$1, b as OrderColumn, A as AdapterUtils, c as OrderAdapter } from './Order-BQeJE_yi.js';
11
+ import { F as Formatter, S as Svg, I as IBCSRuleSet, C as CalculateSize, V as VarianceScenario, a as FontStyleAdapter, b as SVGStyleGroupAdapter, c as SVGStyleAdapter, P as PaddingAdapter, Q as QueryColumnNames } from './SVGStyle-BwBlY3Km.js';
12
12
  import { s as sanitizeHtml } from './sanitizeHtml-BA48JiHe.js';
13
- import { S as SiPrefix, g as getContrastTextColor, a as getScenarioPrefix, I as IBCS_LAYER_ORDER, b as Label$1, H as HookLocation$1, c as LabelDirection, L as LabelCollisionManager, d as SCENARIO_PRIORITY } from './LabelCollisionManager-8swVQHKA.js';
14
- import { S as SVGVariancesStyleGroupAdapter } from './SVGVariancesStyleGroup-DRQYvSDD.js';
13
+ import { S as SiPrefix, g as getContrastTextColor, a as getScenarioPrefix, I as IBCS_LAYER_ORDER, b as Label$1, H as HookLocation$1, c as LabelDirection, L as LabelCollisionManager, d as SCENARIO_PRIORITY } from './LabelCollisionManager-DaNiDiM9.js';
14
+ import { S as SVGVariancesStyleGroupAdapter } from './SVGVariancesStyleGroup-BpGW4CvN.js';
15
15
 
16
16
  const bnAssetCss = () => `:host{display:none}`;
17
17
 
@@ -611,7 +611,7 @@ const Chart$1 = class Chart {
611
611
  return idx >= 1 || this.showCategories !== "true";
612
612
  }
613
613
  prepareI18n() {
614
- const i18nMetaLabelsLocal = [];
614
+ const i18nMetaLabelsLocal = ["no-data", "REST"];
615
615
  const i18nMetaLabelsGlobal = globalLabelKeys;
616
616
  const i18nMapLocal = new Map(i18nMetaLabelsLocal.map((key) => [key, this.t(".".concat(key))]));
617
617
  const i18nMapGlobal = new Map(i18nMetaLabelsGlobal.map((key) => [key, this.t("global.".concat(key))]));
@@ -904,7 +904,7 @@ const Chart$1 = class Chart {
904
904
  scenariosArray = [...scenariosArray, ...variancesArray];
905
905
  }
906
906
  const fontStyles = this.getFontStyles();
907
- return (h(Host, { key: 'dd704d2ab46ee7a34213eab0188671e3df4ca592', style: fontStyles }, h("div", { key: '71c53b1dbd77e68a46e63fdf252cd11efb6a79a6', class: "container" }, scenariosArray.map(this.chartTemplate))));
907
+ return (h(Host, { key: '472aabc33cfbf293c44cd93537e91c42cdc9e0d7', style: fontStyles }, h("div", { key: 'd48365a9ef3a48df6cd42807f7375414dd6714ef', class: "container" }, scenariosArray.map(this.chartTemplate))));
908
908
  }
909
909
  get element() { return getElement(this); }
910
910
  static get watchers() { return {
@@ -1642,7 +1642,7 @@ const Chart = class {
1642
1642
  return idx >= 1 || this.showCategories !== "true";
1643
1643
  }
1644
1644
  prepareI18n() {
1645
- const i18nMetaLabelsLocal = [];
1645
+ const i18nMetaLabelsLocal = ["no-data"];
1646
1646
  const i18nMetaLabelsGlobal = globalLabelKeys;
1647
1647
  const i18nMapLocal = new Map(i18nMetaLabelsLocal.map((key) => [key, this.t(".".concat(key))]));
1648
1648
  const i18nMapGlobal = new Map(i18nMetaLabelsGlobal.map((key) => [key, this.t("global.".concat(key))]));
@@ -1995,7 +1995,7 @@ const Chart = class {
1995
1995
  scenariosArray = [...scenariosArray, ...variancesArray];
1996
1996
  }
1997
1997
  const fontStyles = this.getFontStyles();
1998
- return (h(Host, { key: 'df8b91008f6f0d178bd3df91eb99a338f1734f27', style: fontStyles }, h("div", { key: '094f47f7f698b8cd87096066ae608b67c1258d71', class: "container" }, scenariosArray.map(this.chartTemplate))));
1998
+ return (h(Host, { key: '104f7786a091dd6826e780981c6f9304727294d7', style: fontStyles }, h("div", { key: 'b8730bc1ecfe26feb450881e97de7ef407163a21', class: "container" }, scenariosArray.map(this.chartTemplate))));
1999
1999
  }
2000
2000
  get element() { return getElement(this); }
2001
2001
  static get watchers() { return {
@@ -2150,7 +2150,7 @@ const Context = class {
2150
2150
  componentWillUpdate() { }
2151
2151
  componentDidUpdate() { }
2152
2152
  render() {
2153
- return (h(Host, { key: 'f4f3a64c06e0cd8fa4863007ba25cacc74194e45' }, h("slot", { key: 'ee5dd7d7065107f657f1d92cdf91eedbd94f8f81' })));
2153
+ return (h(Host, { key: '3c27b95cb769f4871f06453c73faa2a15dd04aa6' }, h("slot", { key: '4965ab0122454b1b84d463146e949e432adbd06c' })));
2154
2154
  }
2155
2155
  get element() { return getElement(this); }
2156
2156
  static get watchers() { return {
@@ -3557,7 +3557,7 @@ const LayoutCard = class {
3557
3557
  var _a, _b, _c, _d, _e, _f;
3558
3558
  const style = this.getLayoutStyle();
3559
3559
  const arrOfSlots = this.extractSlotNames(style["grid-template-areas"]);
3560
- return (h("bn-card", { key: '9148aa9fc6d2567543e1c0175cfb8af68ed6c1f9', styles: this.styles, "selected-style": this.selectedStyle, class: this.setCardClass() }, h("div", { key: '07c41c719d7cc76976e1f31e2ce4f53001453709', class: "cardtitle" }, h("bn-title", { key: '07e1781e077221ca20abbbce471a06044c2aac63', "i18n-namespace": (_a = this.i18nNamespace) !== null && _a !== void 0 ? _a : this.titleNamespace, ruleset: (_b = this.resolveInherited("ruleset", this.ruleset)) !== null && _b !== void 0 ? _b : this.ruleset, "business-unit": this.titleBusinessUnit, scenarios: (_c = this.resolveInherited("titleScenarios", this.titleScenarios)) !== null && _c !== void 0 ? _c : this.titleScenarios, variances: (_d = this.resolveInherited("titleVariances", this.titleVariances)) !== null && _d !== void 0 ? _d : this.titleVariances, order: (_e = this.resolveInherited("titleOrder", this.titleOrder)) !== null && _e !== void 0 ? _e : this.titleOrder, "order-direction": (_f = this.resolveInherited("titleOrderDirection", this.titleOrderDirection)) !== null && _f !== void 0 ? _f : this.titleOrderDirection, measures: this.titleMeasures, "date-start": this.titleDateStart, "date-end": this.titleDateEnd, "date-format": this.titleDateFormat, "date-link": this.titleDateLink }), this.titleImage != null && this.titleImage !== "" ? (h("img", { class: "image", src: this.prepareTitleImage(this.titleImage) })) : ("")), h("bn-body", { key: 'b862d9122c3f1afcdb1ab13a0a273a455cf5c340' }, h("div", { key: 'b91f90de3f73393c198decf8c59dc1a016bbc4d6', style: style, "data-bn-fit-content": this.cardFitToContent ? String(this.getRowCount(this.cardLayout)) : null }, this.getSlots(arrOfSlots))), h("bn-footer", { key: 'b79caec1a428d999b8edb58d938c754e3ccdd884', text: this.footerText, "page-number": 0, "display-page-number": "false" })));
3560
+ return (h("bn-card", { key: '2aa7bd3e3beb1a6b6b0dc0b06c7d7eda324299a0', styles: this.styles, "selected-style": this.selectedStyle, class: this.setCardClass() }, h("div", { key: '65fe54ff342691b7f2b7df747af88499ffdbebc0', class: "cardtitle" }, h("bn-title", { key: 'be70a8c4e5cef0be0fb264fe74dc3732c2a42939', "i18n-namespace": (_a = this.i18nNamespace) !== null && _a !== void 0 ? _a : this.titleNamespace, ruleset: (_b = this.resolveInherited("ruleset", this.ruleset)) !== null && _b !== void 0 ? _b : this.ruleset, "business-unit": this.titleBusinessUnit, scenarios: (_c = this.resolveInherited("titleScenarios", this.titleScenarios)) !== null && _c !== void 0 ? _c : this.titleScenarios, variances: (_d = this.resolveInherited("titleVariances", this.titleVariances)) !== null && _d !== void 0 ? _d : this.titleVariances, order: (_e = this.resolveInherited("titleOrder", this.titleOrder)) !== null && _e !== void 0 ? _e : this.titleOrder, "order-direction": (_f = this.resolveInherited("titleOrderDirection", this.titleOrderDirection)) !== null && _f !== void 0 ? _f : this.titleOrderDirection, measures: this.titleMeasures, "date-start": this.titleDateStart, "date-end": this.titleDateEnd, "date-format": this.titleDateFormat, "date-link": this.titleDateLink }), this.titleImage != null && this.titleImage !== "" ? (h("img", { class: "image", src: this.prepareTitleImage(this.titleImage) })) : ("")), h("bn-body", { key: '5875c3e62ca38095588f13907936974259816215' }, h("div", { key: 'c845d5f8c130f2dd0ae48fc4c2301a55842f001a', style: style, "data-bn-fit-content": this.cardFitToContent ? String(this.getRowCount(this.cardLayout)) : null }, this.getSlots(arrOfSlots))), h("bn-footer", { key: '388596894d04dc2f93d6d71b9f8a0348fb46195f', text: this.footerText, "page-number": 0, "display-page-number": "false" })));
3561
3561
  }
3562
3562
  get element() { return getElement(this); }
3563
3563
  };
@@ -3812,7 +3812,7 @@ const LayoutPage = class {
3812
3812
  var _a;
3813
3813
  const style = this.getLayoutStyle();
3814
3814
  const arrOfSlots = this.extractSlotNames(style["grid-template-areas"]);
3815
- return (h("bn-page", { key: 'bd2068a212a1253d1fc0881c3590aee35cfab518', styles: this.styles, "selected-style": this.selectedStyle, format: this.pageFormat, orientation: this.pageOrientation }, h("bn-message", { key: '94b0ff4609038bb1cc256ce2446563fb5f7fbaa4', text: this.messageText, image: this.messageImage }), h("bn-title", { key: '8d6613939479b23f911011c29b55d5260f174e33', "i18n-namespace": (_a = this.i18nNamespace) !== null && _a !== void 0 ? _a : this.titleNamespace, ruleset: this.ruleset, "business-unit": this.titleBusinessUnit, scenarios: this.titleScenarios, variances: this.titleVariances, order: this.titleOrder, "order-direction": this.titleOrderDirection, measures: this.titleMeasures, "date-start": this.titleDateStart, "date-end": this.titleDateEnd, "date-format": this.titleDateFormat, "date-link": this.titleDateLink }), h("bn-body", { key: '25ede6efeb2b72f70c7f697f7ff2b89c3d8677ba' }, h("div", { key: '09f247d484b22b32773ea0a1147a64f89f90eb0e', style: style, "data-bn-fit-content": this.pageFitToContent ? String(this.getRowCount(this.pageLayout)) : null }, this.getSlots(arrOfSlots))), h("bn-footer", { key: '36f6359d925e9fda92cd4dc2091ac0b7d6c294fb', text: this.footerText, "page-number": this.pageNumber, "display-page-number": this.footerDisplayPageNumber })));
3815
+ return (h("bn-page", { key: '6ce75e58dfb8ccab0686d8f34cc6f7830fd42db7', styles: this.styles, "selected-style": this.selectedStyle, format: this.pageFormat, orientation: this.pageOrientation }, h("bn-message", { key: '0b7f297afe281b0df05691485a93ba6c3d8abbae', text: this.messageText, image: this.messageImage }), h("bn-title", { key: 'b02de31fa8f7e03c38e12cd45ec7f02e2d986d70', "i18n-namespace": (_a = this.i18nNamespace) !== null && _a !== void 0 ? _a : this.titleNamespace, ruleset: this.ruleset, "business-unit": this.titleBusinessUnit, scenarios: this.titleScenarios, variances: this.titleVariances, order: this.titleOrder, "order-direction": this.titleOrderDirection, measures: this.titleMeasures, "date-start": this.titleDateStart, "date-end": this.titleDateEnd, "date-format": this.titleDateFormat, "date-link": this.titleDateLink }), h("bn-body", { key: '8d43429effcb755ee69665820120838c60b8b9d1' }, h("div", { key: 'f2d61818b1272551c73bf174f91f61904799a780', style: style, "data-bn-fit-content": this.pageFitToContent ? String(this.getRowCount(this.pageLayout)) : null }, this.getSlots(arrOfSlots))), h("bn-footer", { key: '8d6a6d76c7bef823ee7063586e87084654705771', text: this.footerText, "page-number": this.pageNumber, "display-page-number": this.footerDisplayPageNumber })));
3816
3816
  }
3817
3817
  get element() { return getElement(this); }
3818
3818
  };
@@ -4991,7 +4991,7 @@ const Table$1 = class Table {
4991
4991
  return I18nMode.META;
4992
4992
  }
4993
4993
  prepareI18n() {
4994
- const i18nMetaLabelsLocal = ["in", "category", "operation", "there_of", "part_of", "SUM_TOTAL"];
4994
+ const i18nMetaLabelsLocal = ["in", "category", "operation", "there_of", "part_of", "SUM_TOTAL", "no-data", "REST"];
4995
4995
  const i18nMetaLabelsGlobal = globalLabelKeys;
4996
4996
  // system
4997
4997
  const i18nMapLocal = new Map(i18nMetaLabelsLocal.map((key) => [key, this.t(".".concat(key))]));
@@ -5294,7 +5294,7 @@ const Table$1 = class Table {
5294
5294
  render() {
5295
5295
  const fontStyles = this.getFontStyles();
5296
5296
  const effectiveFactor = this.getEffectiveScaleFactor();
5297
- return (h(Host, { key: 'eafc5b48a4de327d63a8850d1b65790de2fbe354', style: fontStyles }, h("div", { key: 'c775731928bc3f359714b98b42aab2072491e309' }, h("ibcs-table", { key: 'e7ff2c8a89ca29d57ecc9f246ec90fad767e3131', 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(), scaleFactor: effectiveFactor, ruleSetConfig: this.ruleSetConfig(), selectedStyle: this.selectedStyle }))));
5297
+ return (h(Host, { key: '71fe0e81888c25970edcaab0803cbdbd3b73d1fd', style: fontStyles }, h("div", { key: '5afa87ac3a8b4d5864bb34acb8a4e84de12261ea' }, h("ibcs-table", { key: '8a276ca87e342f8c3b3aac76c9915681c4b2a005', 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(), scaleFactor: effectiveFactor, ruleSetConfig: this.ruleSetConfig(), selectedStyle: this.selectedStyle }))));
5298
5298
  }
5299
5299
  get element() { return getElement(this); }
5300
5300
  static get watchers() { return {
@@ -5589,6 +5589,9 @@ const Title$1 = class Title {
5589
5589
  prepareI18nMode() {
5590
5590
  return I18nMode.META;
5591
5591
  }
5592
+ prepareLocale() {
5593
+ return getStores(this.element).context.state.locale || "de";
5594
+ }
5592
5595
  prepareTitleOrder() {
5593
5596
  var _a;
5594
5597
  if (isBlankInput(this.order) || isBlankInput(this.orderDirection)) {
@@ -5653,7 +5656,7 @@ const Title$1 = class Title {
5653
5656
  }
5654
5657
  render() {
5655
5658
  const fontStyles = this.getFontStyles();
5656
- return (h(Host, { key: 'de097e2e8afe7fcf3268487b45b380e42448feab', style: fontStyles }, h("ibcs-title", { key: 'af0cb1c88c434e92d3fea1a71bf4d0687158353f', businessUnit: this.prepareBusinessUnit(), scenarios: this.prepareScenarios(), measures: this.prepareMeasures(), timeperiod: this.prepareTitleTimePeriod(), order: this.prepareTitleOrder(), i18n: this.prepareI18n(), "i18n-mode": this.prepareI18nMode(), ruleSetConfig: this.ruleSetConfig() })));
5659
+ return (h(Host, { key: '9b9c216010209bd5acaaeee39b6b5d8a8972710f', style: fontStyles }, h("ibcs-title", { key: '5ccf7ddc7a4fbf1308d1d09d80f5b8aa3cbf6cbd', businessUnit: this.prepareBusinessUnit(), scenarios: this.prepareScenarios(), measures: this.prepareMeasures(), timeperiod: this.prepareTitleTimePeriod(), order: this.prepareTitleOrder(), i18n: this.prepareI18n(), "i18n-mode": this.prepareI18nMode(), locale: this.prepareLocale(), ruleSetConfig: this.ruleSetConfig() })));
5657
5660
  }
5658
5661
  get element() { return getElement(this); }
5659
5662
  static get watchers() { return {
@@ -7676,6 +7679,9 @@ class StructureChart {
7676
7679
  this.dataModel = [];
7677
7680
  this.variancesDataModel = [];
7678
7681
  this.title = "";
7682
+ /** Raw config inputs the title derives from; kept so setI18n can recompute it. */
7683
+ this.configTitle = "";
7684
+ this.configVariances = [];
7679
7685
  this.smallestDataPointValue = new DataPoint$1(0, Scenario$1.AC1, 1, Scenario$1.NEU);
7680
7686
  this.highestDataPointValue = new DataPoint$1(0, Scenario$1.AC1, 1, Scenario$1.NEU);
7681
7687
  this.smallestVarianceDataPointValue = new DataPoint$1(0, Scenario$1.AC1, 1, Scenario$1.NEU);
@@ -7740,7 +7746,9 @@ class StructureChart {
7740
7746
  this.populateDimensionStackSegments(scenarios, config.stackConfig, config.level);
7741
7747
  }
7742
7748
  this.variancesDataModel = this.populateVarianceModel(config.variances, this.dataModel);
7743
- this.title = config.title || Formatter.translateScenarioLabel((_a = config === null || config === void 0 ? void 0 : config.variances) === null || _a === void 0 ? void 0 : _a.toString(), this.i18n);
7749
+ this.configTitle = config.title;
7750
+ this.configVariances = (_a = config === null || config === void 0 ? void 0 : config.variances) !== null && _a !== void 0 ? _a : [];
7751
+ this.updateTitle();
7744
7752
  this.smallestDataPointValue = this.findSmallestDataPointValue(this.dataModel);
7745
7753
  this.smallestVarianceDataPointValue = this.findSmallestDataPointValue(this.variancesDataModel);
7746
7754
  this.highestDataPointValue = this.findHighestDataPointValue(this.dataModel);
@@ -7777,6 +7785,15 @@ class StructureChart {
7777
7785
  */
7778
7786
  setI18n(i18n) {
7779
7787
  this.i18n = this.createI18n(i18n);
7788
+ // The variance title bakes translated scenario labels in, and setI18n
7789
+ // arrives after the constructor's setConfig — recompute it here so the
7790
+ // first render doesn't keep the built-in labels (e.g. ΔPY vs ΔVorjahr).
7791
+ this.updateTitle();
7792
+ }
7793
+ /** Derives the variance title from the stored config and the current i18n map. */
7794
+ updateTitle() {
7795
+ var _a;
7796
+ this.title = this.configTitle || Formatter.translateScenarioLabel((_a = this.configVariances) === null || _a === void 0 ? void 0 : _a.toString(), this.i18n);
7780
7797
  }
7781
7798
  createI18n(i18n) {
7782
7799
  this.state = FactoryState$2.DIRTY;
@@ -8262,7 +8279,10 @@ class StructureChart {
8262
8279
  textHook = HookLocation.Left;
8263
8280
  isPositive = false;
8264
8281
  }
8265
- new Label(axisLabelGroup, this.position.getCategoryPositionX(isPositive), this.position.getBarCenterPositionY(index), "", elements.category, this.styles, HookLocation.Center, textHook).draw();
8282
+ new Label(axisLabelGroup, this.position.getCategoryPositionX(isPositive), this.position.getBarCenterPositionY(index), "",
8283
+ // Category labels come from the data, but the synthetic "REST"
8284
+ // overflow bucket is engine-generated and translatable, as in bn-table.
8285
+ this.i18n.get(elements.category) || elements.category, this.styles, HookLocation.Center, textHook).draw();
8266
8286
  });
8267
8287
  }
8268
8288
  new Axis$1({
@@ -8786,7 +8806,7 @@ const IbcsChartStructure = class {
8786
8806
  return h(Host, null);
8787
8807
  }
8788
8808
  if (this.chart.hasNoData()) {
8789
- const errorMsg = this.i18n.get("NO_DATA") || "==No Data==";
8809
+ const errorMsg = this.i18n.get("no-data") || "==No Data==";
8790
8810
  return (h(Host, null, h("p", { class: "warning" }, errorMsg)));
8791
8811
  }
8792
8812
  return (h(Host, null, h("div", { innerHTML: (_a = this.pattern) === null || _a === void 0 ? void 0 : _a.toString(), class: "hidePatternContainer" }), h("div", { class: this.showMeasureScale ? "footer" : "footer-hide" }, (_b = this.chart) === null || _b === void 0 ? void 0 : _b.getFooter()), h("div", { innerHTML: (_c = this.chart) === null || _c === void 0 ? void 0 : _c.toString() })));
@@ -11045,6 +11065,9 @@ class TimeChart {
11045
11065
  this.dataModel = [];
11046
11066
  this.variancesDataModel = [];
11047
11067
  this.title = "";
11068
+ /** Raw config inputs the title derives from; kept so setI18n can recompute it. */
11069
+ this.configTitle = "";
11070
+ this.configVariances = [];
11048
11071
  this.smallestDataPointValue = new DataPoint(0, Scenario.AC1, 1, Scenario.NEU);
11049
11072
  this.highestDataPointValue = new DataPoint(0, Scenario.AC1, 1, Scenario.NEU);
11050
11073
  this.smallestVarianceDataPointValue = new DataPoint(0, Scenario.AC1, 1, Scenario.NEU);
@@ -11157,6 +11180,9 @@ class TimeChart {
11157
11180
  setConfig(config) {
11158
11181
  var _a;
11159
11182
  this.state = FactoryState$1.DIRTY;
11183
+ // Must precede setSource/populateModel: the locale is baked into the
11184
+ // normalizeDate() SQL as well as into the axis date labels.
11185
+ this.locale = config.locale;
11160
11186
  this.scenarioPropOrder = [...config.scenarios];
11161
11187
  const scenarios = this.sortScenariosbyVisualisationRules(config.scenarios);
11162
11188
  this.setSource(config.filter);
@@ -11168,7 +11194,9 @@ class TimeChart {
11168
11194
  this.dateInterval = this.findDateInterval(config.dateInterval);
11169
11195
  this.dataModel = this.populateModel(scenarios, this.dateInterval, config.level, config.sortOrder);
11170
11196
  this.variancesDataModel = this.populateVarianceModel(config.variances, this.dataModel);
11171
- this.title = config.title || Formatter.translateScenarioLabel((_a = config === null || config === void 0 ? void 0 : config.variances) === null || _a === void 0 ? void 0 : _a.toString(), this.i18n);
11197
+ this.configTitle = config.title;
11198
+ this.configVariances = (_a = config === null || config === void 0 ? void 0 : config.variances) !== null && _a !== void 0 ? _a : [];
11199
+ this.updateTitle();
11172
11200
  this.smallestDataPointValue = this.findSmallestDataPointValue(this.dataModel);
11173
11201
  this.smallestVarianceDataPointValue = this.findSmallestDataPointValue(this.variancesDataModel);
11174
11202
  this.highestDataPointValue = this.findHighestDataPointValue(this.dataModel);
@@ -11217,6 +11245,15 @@ class TimeChart {
11217
11245
  */
11218
11246
  setI18n(i18n) {
11219
11247
  this.i18n = this.createI18n(i18n);
11248
+ // The variance title bakes translated scenario labels in, and setI18n
11249
+ // arrives after the constructor's setConfig — recompute it here so the
11250
+ // first render doesn't keep the built-in labels (e.g. ΔPY vs ΔVorjahr).
11251
+ this.updateTitle();
11252
+ }
11253
+ /** Derives the variance title from the stored config and the current i18n map. */
11254
+ updateTitle() {
11255
+ var _a;
11256
+ this.title = this.configTitle || Formatter.translateScenarioLabel((_a = this.configVariances) === null || _a === void 0 ? void 0 : _a.toString(), this.i18n);
11220
11257
  }
11221
11258
  /**
11222
11259
  * Resolves the dataset (a table or view in the shared alasql database) and
@@ -11752,6 +11789,7 @@ class TimeChart {
11752
11789
  }
11753
11790
  createDateFactory() {
11754
11791
  const factory = new DateStringFactory();
11792
+ factory.setLocale(this.locale);
11755
11793
  return factory;
11756
11794
  }
11757
11795
  drawAxisAndLabels(dataModel, svgContainer) {
@@ -12483,6 +12521,8 @@ class TimeChartComponentConfig {
12483
12521
  this.stackConfig = null;
12484
12522
  /** When true, line charts extend to the full width of the chart area. */
12485
12523
  this.lineFullWidth = true;
12524
+ /** Locale used for date-axis labels and SQL date normalization; set from the bn-context locale. */
12525
+ this.locale = "de";
12486
12526
  }
12487
12527
  }
12488
12528
  /**
@@ -12572,6 +12612,9 @@ class TimeChartComponentConfigAdapter {
12572
12612
  if (CompareUtil.isBoolean(data.lineFullWidth)) {
12573
12613
  config.lineFullWidth = data.lineFullWidth;
12574
12614
  }
12615
+ if (CompareUtil.isString(data.locale)) {
12616
+ config.locale = data.locale;
12617
+ }
12575
12618
  return config;
12576
12619
  }
12577
12620
  default() {
@@ -12629,7 +12672,7 @@ const IbcsChartTime = class {
12629
12672
  return h(Host, null);
12630
12673
  }
12631
12674
  if (this.chart.hasNoData()) {
12632
- const errorMsg = this.i18n.get("NO_DATA") || "==No Data==";
12675
+ const errorMsg = this.i18n.get("no-data") || "==No Data==";
12633
12676
  return (h(Host, null, h("p", { class: "warning" }, errorMsg)));
12634
12677
  }
12635
12678
  return (h(Host, null, h("div", { innerHTML: (_a = this.pattern) === null || _a === void 0 ? void 0 : _a.toString(), class: "hidePatternContainer" }), h("div", { class: this.showMeasureScale ? "footer" : "footer-hide" }, (_b = this.chart) === null || _b === void 0 ? void 0 : _b.getFooter()), h("div", { innerHTML: (_c = this.chart) === null || _c === void 0 ? void 0 : _c.toString() })));
@@ -12730,6 +12773,7 @@ const IbcsChartTime = class {
12730
12773
  //}
12731
12774
  }
12732
12775
  prepareConfig() {
12776
+ var _a, _b, _c;
12733
12777
  const db = this.getDb();
12734
12778
  const fromExpr = this.tableName ? buildFromExpr(this.tableName, this.filter) : "";
12735
12779
  return new TimeChartComponentConfigAdapter(new TimeChartDataRowAdapter(), new OrderAdapter(new StringAdapter()), new StringAdapter(), new DataFormatDigitsAdapter(), db, fromExpr).adapt({
@@ -12757,6 +12801,7 @@ const IbcsChartTime = class {
12757
12801
  maxBars: this.maxBars,
12758
12802
  stackConfig: this.stackConfig,
12759
12803
  lineFullWidth: this.lineFullWidth,
12804
+ 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",
12760
12805
  });
12761
12806
  }
12762
12807
  prepareStyle() {
@@ -14899,7 +14944,9 @@ class TableDataSetFactory {
14899
14944
  return value;
14900
14945
  }
14901
14946
  if (this.isEntryCategory(type, scenario)) {
14902
- if (i18nMode === I18nMode.ALL) {
14947
+ // "REST" is always translated, like SUM_TOTAL below: it is not a data
14948
+ // value but the engine's own label for the limit-overflow row.
14949
+ if (i18nMode === I18nMode.ALL || value === "REST") {
14903
14950
  return `${i18n.get(value) || value}`;
14904
14951
  }
14905
14952
  return value;
@@ -15094,7 +15141,6 @@ class Table {
15094
15141
  ["pp4", "PY4"],
15095
15142
  ["fc4", "FC4"],
15096
15143
  ["pl4", "PL4"],
15097
- ["in", "in"],
15098
15144
  ["category", " "],
15099
15145
  ["operation", " "],
15100
15146
  ["there_of", "davon"],
@@ -15490,7 +15536,7 @@ const IbcsTable = class {
15490
15536
  return;
15491
15537
  }
15492
15538
  if (this.table.hasNoData()) {
15493
- const errorMsg = this.i18n.get("NO_DATA") || "==No Data==";
15539
+ const errorMsg = this.i18n.get("no-data") || "==No Data==";
15494
15540
  return h("p", { class: "warning" }, errorMsg);
15495
15541
  }
15496
15542
  return (h("table", null, h("thead", null, this.table.getHeader().map((row) => (h("tr", { class: row.cssStyle }, row.getCells().map((cell) => (h("th", { colSpan: cell.colSpan, class: cell.cssStyle }, cell.getAsHeaderList().map((line, i, arr) => (h("span", null, i === arr.length - 1 ? (h("span", { class: line === " " ? "table-footer" : "" }, line, cell.drawPrefix(), " ")) : (h("span", null, line, cell.drawPrefix(), h("br", null))))))))))))), h("tbody", null, this.table.getBody().map((row) => (h("tr", { class: row.cssStyle }, row === null || row === void 0 ? void 0 : row.getCells().map((cell) => (h("td", { colSpan: cell.colSpan, class: cell.type ? `${cell.cssStyle} ${cell.type}` : cell.cssStyle }, cell.prefix != null ? (h("span", { class: cell.cssStyle + " " + cell.prefixStyle }, cell.drawPrefix())) : (""), cell.isBarChart &&
@@ -15731,11 +15777,15 @@ class TitleDataSetFactory {
15731
15777
  * @param time
15732
15778
  * @param order
15733
15779
  * @param i18n
15780
+ * @param spanLimit
15781
+ * @param locale Locale used to format the date-link labels.
15734
15782
  */
15735
- createDimension(scenarios, time, order, i18n, spanLimit) {
15783
+ createDimension(scenarios, time, order, i18n, spanLimit, locale = "de") {
15736
15784
  let formatedTime = "";
15737
15785
  if (time !== undefined) {
15738
- formatedTime = new DateStringFactory().getDateLinkString(time.start, time.end, time.link, time.format, spanLimit);
15786
+ const dateStringFactory = new DateStringFactory();
15787
+ dateStringFactory.setLocale(locale);
15788
+ formatedTime = dateStringFactory.getDateLinkString(time.start, time.end, time.link, time.format, spanLimit);
15739
15789
  }
15740
15790
  const formatedScenarios = scenarios
15741
15791
  .map((scenario) => {
@@ -15772,6 +15822,8 @@ class TitleConfig {
15772
15822
  this.scenarios = [];
15773
15823
  this.i18nMode = I18nMode.ALL;
15774
15824
  this.intervalSpanLimit = 32;
15825
+ /** Locale used for the date-link labels; set from the bn-context locale. */
15826
+ this.locale = "de";
15775
15827
  }
15776
15828
  }
15777
15829
  class TitleConifgAdapter {
@@ -15804,6 +15856,9 @@ class TitleConifgAdapter {
15804
15856
  if (CompareUtil.isExisting(data.order)) {
15805
15857
  config.order = this.orderAdapter.adapt(data.order);
15806
15858
  }
15859
+ if (CompareUtil.isString(data.locale)) {
15860
+ config.locale = data.locale;
15861
+ }
15807
15862
  return config;
15808
15863
  }
15809
15864
  default() {
@@ -15854,11 +15909,11 @@ class Title {
15854
15909
  ["ac3", "AC3"],
15855
15910
  ["pp3", "PY3"],
15856
15911
  ["fc3", "FC3"],
15857
- ["pp3", "PL3"],
15912
+ ["pl3", "PL3"],
15858
15913
  ["ac4", "AC4"],
15859
- ["py4", "PY4"],
15914
+ ["pp4", "PY4"],
15860
15915
  ["fc4", "FC4"],
15861
- ["pp4", "PL4"],
15916
+ ["pl4", "PL4"],
15862
15917
  ["category", " "],
15863
15918
  ["operation", " "],
15864
15919
  ["there_of", "davon"],
@@ -15882,7 +15937,7 @@ class Title {
15882
15937
  if (FactoryState.DIRTY === this.state) {
15883
15938
  this.unit = this.config.businessunit;
15884
15939
  this.measures = this.dataSetFactory.createMeasures(this.config.measures, this.i18n, this.config.i18nMode);
15885
- this.dimension = this.dataSetFactory.createDimension(this.config.scenarios, this.config.timeperiod, this.config.order, this.i18n, this.config.intervalSpanLimit);
15940
+ this.dimension = this.dataSetFactory.createDimension(this.config.scenarios, this.config.timeperiod, this.config.order, this.i18n, this.config.intervalSpanLimit, this.config.locale);
15886
15941
  this.state = FactoryState.UP_TO_DATE;
15887
15942
  }
15888
15943
  return this;
@@ -15974,6 +16029,8 @@ const IbcsTitle = class {
15974
16029
  };
15975
16030
  this.i18n = new Map(); // I18nMode;
15976
16031
  this.i18nMode = I18nMode.ALL;
16032
+ /** Locale used to format the date-link labels (e.g. "en", "de"). */
16033
+ this.locale = "de";
15977
16034
  this.title = new Title(new IBCSRuleSet());
15978
16035
  }
15979
16036
  // so
@@ -15988,7 +16045,7 @@ const IbcsTitle = class {
15988
16045
  });
15989
16046
  }
15990
16047
  render() {
15991
- return (h("div", { key: '7a95748a4576c654c9066efb2bfd7531238d2ed0' }, h("div", { key: '6a34ba1043660dc75b57cd029f6438d1178c34e4', innerHTML: sanitizeHtml(this.title.unit) }), h("div", { key: '6ec241e7cd6ac8a2061aab1b822973e77e2fb7cd' }, this.title.measures.map((measure, index) => (h("span", null, this.isFirstElement(index) ? this.title.i18n.get("SEPERATOR_WS") : "", h("span", { class: "measure" }, measure.name), " ", measure.unit ? this.title.i18n.get("in") : "", " ", measure.unit)))), h("div", { key: 'd6bc97cd78ec8734d4d42b2537cf61dfcac28ae4' }, this.title.dimension)));
16048
+ return (h("div", { key: '4a675a92695130e13bd690587098cf70d81028c9' }, h("div", { key: '54c98ac466109f4ea1306aa57379f5cb25cf654f', innerHTML: sanitizeHtml(this.title.unit) }), h("div", { key: '35e8592454c45c06db9e3b6db5525165a3ee4a00' }, this.title.measures.map((measure, index) => (h("span", null, this.isFirstElement(index) ? this.title.i18n.get("SEPERATOR_WS") : "", h("span", { class: "measure" }, measure.name), " ", measure.unit ? this.title.i18n.get("in") : "", " ", measure.unit)))), h("div", { key: '29c93306567a592ac956d5c97501dc5e7acf90ec' }, this.title.dimension)));
15992
16049
  }
15993
16050
  componentWillLoad() {
15994
16051
  const config = this.prepareConfig();
@@ -16017,6 +16074,7 @@ const IbcsTitle = class {
16017
16074
  intervalSpanLimit: this.intervalSpanLimit,
16018
16075
  i18nMode: this.i18nMode,
16019
16076
  order: this.order,
16077
+ locale: this.locale,
16020
16078
  });
16021
16079
  }
16022
16080
  };
@@ -1,13 +1,13 @@
1
1
  import { r as registerInstance, d as writeTask, f as forceUpdate, h, H as Host, g as getElement } from './index-B_d-jp99.js';
2
- import { a as globalLabelKeys } from './context-protocol-1Yj1uKvh.js';
3
- import { w as withDataset, a as withTranslation, g as getParentDimensions, p as parseScaling } from './scaling-CeSRcRl1.js';
4
- import { w as withRuleSet, o as observeParentResize } from './layoutObserver-BG5dOBYH.js';
5
- import { i as isBlankInput, a as isValidInteger, w as withStyled, b as withComponentStyle, c as isValidMeasureToken } from './withStyled-Br2DGTPs.js';
2
+ import { a as globalLabelKeys } from './context-protocol-d8MHrEo8.js';
3
+ import { w as withDataset, a as withTranslation, g as getParentDimensions, p as parseScaling } from './scaling-BGnpSN1j.js';
4
+ import { w as withRuleSet, o as observeParentResize } from './layoutObserver-BJBEyhNf.js';
5
+ import { i as isBlankInput, a as isValidInteger, w as withStyled, b as withComponentStyle, c as isValidMeasureToken } from './withStyled-2l5Tx3cf.js';
6
6
  import { w as withComponentStatus, a as withHasError } from './withHasError-DW_vMDUp.js';
7
- import { w as withScalingGroup } from './withScalingGroup-Br70pAv9.js';
8
- import { r as resolveMeasure, s as scenarioFamily } from './VarianceMeasure-DnwNKspZ.js';
9
- import { t as toAxisConfig, a as toSizeConfig, b as toShareConfig, c as toFacetConfig, d as toLabelConfig, e as toLegendConfig, p as parseSpec } from './AxisConfig-C_zWCKlL.js';
10
- import './Order-BPeWfygb.js';
7
+ import { w as withScalingGroup } from './withScalingGroup-CC3UcvC5.js';
8
+ import { r as resolveMeasure, s as scenarioFamily } from './VarianceMeasure-CE3N8Bea.js';
9
+ import { t as toAxisConfig, a as toSizeConfig, b as toShareConfig, c as toFacetConfig, d as toLabelConfig, e as toLegendConfig, p as parseSpec } from './AxisConfig-ByIP5J-9.js';
10
+ import './Order-BQeJE_yi.js';
11
11
 
12
12
  const bnChartBubbleCss = () => `:host{display:inline-block;position:relative;overflow:hidden}.container{display:flex;flex-direction:column}`;
13
13
 
@@ -1,12 +1,12 @@
1
1
  import { r as registerInstance, d as writeTask, f as forceUpdate, h, H as Host, g as getElement } from './index-B_d-jp99.js';
2
- import { a as globalLabelKeys } from './context-protocol-1Yj1uKvh.js';
3
- import { C as CompareUtil, r as resolveMeasure, A as AggregationLevel } from './VarianceMeasure-DnwNKspZ.js';
4
- import { w as withRuleSet, o as observeParentResize } from './layoutObserver-BG5dOBYH.js';
5
- import { O as OrderDirection, a as Order, b as OrderColumn } from './Order-BPeWfygb.js';
6
- import { w as withDataset, a as withTranslation, g as getParentDimensions, p as parseScaling } from './scaling-CeSRcRl1.js';
7
- import { v as validateOrderList, i as isBlankInput, d as isValidDirection, a as isValidInteger, w as withStyled, b as withComponentStyle } from './withStyled-Br2DGTPs.js';
2
+ import { a as globalLabelKeys } from './context-protocol-d8MHrEo8.js';
3
+ import { C as CompareUtil, r as resolveMeasure, A as AggregationLevel } from './VarianceMeasure-CE3N8Bea.js';
4
+ import { w as withRuleSet, o as observeParentResize } from './layoutObserver-BJBEyhNf.js';
5
+ import { O as OrderDirection, a as Order, b as OrderColumn } from './Order-BQeJE_yi.js';
6
+ import { w as withDataset, a as withTranslation, g as getParentDimensions, p as parseScaling } from './scaling-BGnpSN1j.js';
7
+ import { v as validateOrderList, i as isBlankInput, d as isValidDirection, a as isValidInteger, w as withStyled, b as withComponentStyle } from './withStyled-2l5Tx3cf.js';
8
8
  import { w as withComponentStatus, a as withHasError } from './withHasError-DW_vMDUp.js';
9
- import { p as parseSpec } from './AxisConfig-C_zWCKlL.js';
9
+ import { p as parseSpec } from './AxisConfig-ByIP5J-9.js';
10
10
 
11
11
  const MEASURE_KEYS = ["measure", "label", "unit"];
12
12
  function toBulletMeasureConfig(data) {
@@ -1,12 +1,12 @@
1
1
  import { r as registerInstance, d as writeTask, f as forceUpdate, h, H as Host, g as getElement } from './index-B_d-jp99.js';
2
- import { a as globalLabelKeys } from './context-protocol-1Yj1uKvh.js';
3
- import { w as withDataset, a as withTranslation, g as getParentDimensions, p as parseScaling } from './scaling-CeSRcRl1.js';
4
- import { w as withRuleSet, o as observeParentResize } from './layoutObserver-BG5dOBYH.js';
5
- import { i as isBlankInput, a as isValidInteger, w as withStyled, b as withComponentStyle, c as isValidMeasureToken } from './withStyled-Br2DGTPs.js';
2
+ import { a as globalLabelKeys } from './context-protocol-d8MHrEo8.js';
3
+ import { w as withDataset, a as withTranslation, g as getParentDimensions, p as parseScaling } from './scaling-BGnpSN1j.js';
4
+ import { w as withRuleSet, o as observeParentResize } from './layoutObserver-BJBEyhNf.js';
5
+ import { i as isBlankInput, a as isValidInteger, w as withStyled, b as withComponentStyle, c as isValidMeasureToken } from './withStyled-2l5Tx3cf.js';
6
6
  import { w as withComponentStatus, a as withHasError } from './withHasError-DW_vMDUp.js';
7
- import { r as resolveMeasure, s as scenarioFamily } from './VarianceMeasure-DnwNKspZ.js';
8
- import { f as toIsoConfig, c as toFacetConfig, d as toLabelConfig, e as toLegendConfig, p as parseSpec, t as toAxisConfig } from './AxisConfig-C_zWCKlL.js';
9
- import './Order-BPeWfygb.js';
7
+ import { r as resolveMeasure, s as scenarioFamily } from './VarianceMeasure-CE3N8Bea.js';
8
+ import { f as toIsoConfig, c as toFacetConfig, d as toLabelConfig, e as toLegendConfig, p as parseSpec, t as toAxisConfig } from './AxisConfig-ByIP5J-9.js';
9
+ import './Order-BQeJE_yi.js';
10
10
 
11
11
  const bnChartScatterCss = () => `:host{display:inline-block;position:relative;overflow:hidden}.container{display:flex;flex-direction:column}`;
12
12
 
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-B_d-jp99.js';
2
- import { e as isValidBoolean, w as withStyled, b as withComponentStyle } from './withStyled-Br2DGTPs.js';
2
+ import { e as isValidBoolean, w as withStyled, b as withComponentStyle } from './withStyled-2l5Tx3cf.js';
3
3
  import { w as withComponentStatus, a as withHasError } from './withHasError-DW_vMDUp.js';
4
- import './context-protocol-1Yj1uKvh.js';
5
- import './VarianceMeasure-DnwNKspZ.js';
6
- import './Order-BPeWfygb.js';
4
+ import './context-protocol-d8MHrEo8.js';
5
+ import './VarianceMeasure-CE3N8Bea.js';
6
+ import './Order-BQeJE_yi.js';
7
7
 
8
8
  /**
9
9
  * Header configuration types and parsing utilities for bn-grid component.
@@ -374,7 +374,7 @@ const Grid = class {
374
374
  "grid-template-rows": this.getGridTemplateRows(),
375
375
  gap: this.cellGap,
376
376
  };
377
- return (h(Host, { key: '05d4b729414b87446a98ea2f98552e8c17e3f4e1', style: this.getFontStyles() }, h("div", { key: 'dd2325babb734553c8661e2e18c0ab12f59e0c9f', class: "grid-container", style: gridContainerStyle }, this.renderTitle(), this.renderColumnHeaders(), this.renderDataCells()), h("slot", { key: '30cab0c8effc88704e781ff48e9295aa3cc9c954' })));
377
+ return (h(Host, { key: '9522911b83a725994d62b657469bfcdbcae4a795', style: this.getFontStyles() }, h("div", { key: 'c3d4fe8e552c31b0e10ca930a784867e1f711d01', class: "grid-container", style: gridContainerStyle }, this.renderTitle(), this.renderColumnHeaders(), this.renderDataCells()), h("slot", { key: '9772d659471df1d3588a1372fedd09d6b3bb459d' })));
378
378
  }
379
379
  get element() { return getElement(this); }
380
380
  static get watchers() { return {
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-B_d-jp99.js';
2
- import { w as withStyled, b as withComponentStyle } from './withStyled-Br2DGTPs.js';
2
+ import { w as withStyled, b as withComponentStyle } from './withStyled-2l5Tx3cf.js';
3
3
  import { w as withComponentStatus, a as withHasError } from './withHasError-DW_vMDUp.js';
4
- import { g as getStores } from './context-protocol-1Yj1uKvh.js';
5
- import './VarianceMeasure-DnwNKspZ.js';
6
- import './Order-BPeWfygb.js';
4
+ import { g as getStores } from './context-protocol-d8MHrEo8.js';
5
+ import './VarianceMeasure-CE3N8Bea.js';
6
+ import './Order-BQeJE_yi.js';
7
7
 
8
8
  const bnImageCss = () => `:host{display:inline-block;position:relative;overflow:hidden}img{max-width:100%;height:auto}`;
9
9
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-B_d-jp99.js';
2
2
  import { w as withBodyObserver } from './withBodyObserver-IokS6fHD.js';
3
- import { g as getStores, f as flattenObject } from './context-protocol-1Yj1uKvh.js';
3
+ import { g as getStores, f as flattenObject } from './context-protocol-d8MHrEo8.js';
4
4
  import { w as withComponentStatus, a as withHasError } from './withHasError-DW_vMDUp.js';
5
5
 
6
6
  const bnInternationalizationCss = () => `bn-internationalization{display:none}`;
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-B_d-jp99.js';
2
2
  import { w as withBodyObserver } from './withBodyObserver-IokS6fHD.js';
3
- import { g as getStores } from './context-protocol-1Yj1uKvh.js';
3
+ import { g as getStores } from './context-protocol-d8MHrEo8.js';
4
4
  import { w as withComponentStatus, a as withHasError } from './withHasError-DW_vMDUp.js';
5
5
 
6
6
  const bnRulesetCss = () => `bn-ruleset{display:none}`;