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

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 +1 @@
1
- import{r as t,h as s,H as i,g as o}from"./p-B_d-jp99.js";import{w as r,b as e}from"./p-C0Pwqx-O.js";import{w as n,a}from"./p-B4JfKvVT.js";import{g as l}from"./p-BqhIhYr1.js";import"./p-BZV1b5VH.js";import"./p-Bdfxd_Ke.js";const f=class{constructor(s){t(this,s),r(this),n(this),this.errors=a(this),this.componentStyle=e(this)}connectedCallback(){this.stores=l(this.element)}getFontStyles(){return this.componentStyle((t=>{var s,i,o,r;return{"--bn-font-family":(null===(s=t.global)||void 0===s?void 0:s.fontFamily)||"'Noto Sans', sans-serif","--bn-font-size":`${(null===(i=t.global)||void 0===i?void 0:i.fontSizePx)||13.3333}px`,"--bn-font-color":(null===(o=t.global)||void 0===o?void 0:o.fontColor)||"#000000","--bn-font-background":(null===(r=t.global)||void 0===r?void 0:r.fontBackgroundColor)||"#ffffff"}}))}prepareAssetUrl(t){if(null==t||""===t)return"";const s=this.stores.assets.state;return t.startsWith("asset:")?s[t.substring(6)]:s[t]||t}render(){return s(i,{key:"cfa7e1b2978773f449f6596174edf51e4a61d4d7",style:this.getFontStyles()},null!=this.source&&""!==this.source?s("img",{src:this.prepareAssetUrl(this.source)}):"")}get element(){return o(this)}};f.style=":host{display:inline-block;position:relative;overflow:hidden}img{max-width:100%;height:auto}";export{f as bn_image}
1
+ import{r as t,h as s,H as i,g as o}from"./p-B_d-jp99.js";import{w as r,b as e}from"./p-BpWWgN6k.js";import{w as n,a}from"./p-B4JfKvVT.js";import{g as l}from"./p-BgIpdpfH.js";import"./p-eEfqksk-.js";import"./p-C5uvAEKI.js";const f=class{constructor(s){t(this,s),r(this),n(this),this.errors=a(this),this.componentStyle=e(this)}connectedCallback(){this.stores=l(this.element)}getFontStyles(){return this.componentStyle((t=>{var s,i,o,r;return{"--bn-font-family":(null===(s=t.global)||void 0===s?void 0:s.fontFamily)||"'Noto Sans', sans-serif","--bn-font-size":`${(null===(i=t.global)||void 0===i?void 0:i.fontSizePx)||13.3333}px`,"--bn-font-color":(null===(o=t.global)||void 0===o?void 0:o.fontColor)||"#000000","--bn-font-background":(null===(r=t.global)||void 0===r?void 0:r.fontBackgroundColor)||"#ffffff"}}))}prepareAssetUrl(t){if(null==t||""===t)return"";const s=this.stores.assets.state;return t.startsWith("asset:")?s[t.substring(6)]:s[t]||t}render(){return s(i,{key:"cfa7e1b2978773f449f6596174edf51e4a61d4d7",style:this.getFontStyles()},null!=this.source&&""!==this.source?s("img",{src:this.prepareAssetUrl(this.source)}):"")}get element(){return o(this)}};f.style=":host{display:inline-block;position:relative;overflow:hidden}img{max-width:100%;height:auto}";export{f as bn_image}
@@ -0,0 +1 @@
1
+ import{r as t,h as e,H as s,g as r}from"./p-B_d-jp99.js";import{e as i,w as o,b as n}from"./p-BpWWgN6k.js";import{w as d,a}from"./p-B4JfKvVT.js";import"./p-BgIpdpfH.js";import"./p-eEfqksk-.js";import"./p-C5uvAEKI.js";function l(t){if(!t||""===t.trim()||"[]"===t)return[];try{const e=JSON.parse(t);return Array.isArray(e)?e.map(((t,e)=>{var s,r,i;return"string"==typeof t?{label:t,id:String(e)}:"object"==typeof t&&null!==t?{label:null!==(r=null!==(s=t.label)&&void 0!==s?s:t.name)&&void 0!==r?r:String(e),id:null!==(i=t.id)&&void 0!==i?i:String(e)}:{label:String(t),id:String(e)}})):[]}catch(t){return console.error("parseHeaders: failed to parse JSON",t),[]}}function h(t){if(!t||""===t.trim()||"[]"===t)return[];try{const e=JSON.parse(t);if(!Array.isArray(e))return["Headers must be an array"];const s=[],r=new Set;return e.forEach(((t,e)=>{"object"==typeof t&&null!==t&&void 0!==t.id&&("string"!=typeof t.id?s.push(`Header[${e}]: 'id' must be a string`):r.has(t.id)?s.push(`Header[${e}]: duplicate id '${t.id}'`):r.add(t.id),void 0!==t.label&&"string"!=typeof t.label&&s.push(`Header[${e}]: 'label' must be a string`))})),s}catch(t){return console.error("validateHeadersJson: failed to parse JSON",t),["Invalid JSON structure"]}}const u=class{validateRowHeaders(t){const e="ERR_rowHeaders",s=h(t);s.length>0?this.errors.addOrReplace({id:e,type:"error",message:`row-headers: ${s.join("; ")}`}):this.errors.remove(e),this.updateGridConfig()}validateColumnHeaders(t){const e="ERR_columnHeaders",s=h(t);s.length>0?this.errors.addOrReplace({id:e,type:"error",message:`column-headers: ${s.join("; ")}`}):this.errors.remove(e),this.updateGridConfig()}validateShowRowHeaders(t){const e="ERR_showRowHeaders";i(t)?this.errors.remove(e):this.errors.addOrReplace({id:e,type:"warning",message:`show-row-headers: invalid value '${t}', must be 'true' or 'false'`})}validateShowColumnHeaders(t){const e="ERR_showColumnHeaders";i(t)?this.errors.remove(e):this.errors.addOrReplace({id:e,type:"warning",message:`show-column-headers: invalid value '${t}', must be 'true' or 'false'`})}validateShowBorders(t){const e="ERR_showBorders";i(t)?this.errors.remove(e):this.errors.addOrReplace({id:e,type:"warning",message:`show-borders: invalid value '${t}', must be 'true' or 'false'`})}constructor(e){t(this,e),this.gridConfig={rows:[],columns:[]},this.chartTitle="",this.rowHeaders="[]",this.columnHeaders="[]",this.showRowHeaders="true",this.showColumnHeaders="true",this.showBorders="true",this.rowHeaderWidth="auto",this.cellGap="0px",o(this),d(this),this.errors=a(this),this.componentStyle=n(this)}getGridStyle(){return this.componentStyle((t=>t["bn-grid"]))}componentWillLoad(){this.validateRowHeaders(this.rowHeaders),this.validateColumnHeaders(this.columnHeaders),this.validateShowRowHeaders(this.showRowHeaders),this.validateShowColumnHeaders(this.showColumnHeaders),this.validateShowBorders(this.showBorders)}updateGridConfig(){var t;this.gridConfig=(t=this.columnHeaders,{rows:l(this.rowHeaders),columns:l(t)})}shouldShowRowHeaders(){return"true"===this.showRowHeaders&&this.gridConfig.rows.length>0}shouldShowColumnHeaders(){return"true"===this.showColumnHeaders&&this.gridConfig.columns.length>0}shouldShowBorders(){return"true"===this.showBorders}getGridTemplateColumns(){const t=[];this.shouldShowRowHeaders()&&t.push(this.rowHeaderWidth);const e=this.gridConfig.columns.length||1;for(let s=0;s<e;s++)t.push("auto");return t.join(" ")}getGridTemplateRows(){const t=[];this.chartTitle&&t.push("auto"),this.shouldShowColumnHeaders()&&t.push("auto");const e=this.gridConfig.rows.length||1;for(let s=0;s<e;s++)t.push("auto");return t.join(" ")}renderTitle(){if(!this.chartTitle)return null;const t=(this.shouldShowRowHeaders()?1:0)+this.gridConfig.columns.length;return e("div",{class:"grid-title",style:{"grid-column":`1 / span ${t}`,"grid-row":"1"}},this.chartTitle)}renderColumnHeaders(){if(!this.shouldShowColumnHeaders())return null;const t=this.getGridStyle(),s=this.shouldShowBorders()?`${t.borderWidth}px solid ${t.borderColor}`:"none",r=this.shouldShowRowHeaders()?2:1,i=this.chartTitle?2:1;return this.gridConfig.columns.map(((o,n)=>{const d=n>0;return e("div",{key:`col-header-${o.id}`,class:"grid-header grid-header-col",style:{"grid-column":String(r+n),"grid-row":String(i),"border-left":d?s:"none",padding:`${t.cellPadding}px`,"padding-left":d?`${t.cellPadding+4}px`:`${t.cellPadding}px`}},o.label)}))}renderDataCells(){const t=this.getGridStyle(),s=this.shouldShowBorders()?`${t.borderWidth}px solid ${t.borderColor}`:"none",r=this.shouldShowRowHeaders()?2:1,i=(this.chartTitle?1:0)+(this.shouldShowColumnHeaders()?1:0)+1,o=[];return this.gridConfig.rows.length>0&&this.gridConfig.columns.length>0&&this.gridConfig.rows.forEach(((n,d)=>{if(this.shouldShowRowHeaders()){const r=d>0;o.push(e("div",{key:`row-header-${n.id}`,class:"grid-header grid-header-row",style:{"grid-column":"1","grid-row":String(i+d),"border-top":r?s:"none",padding:`${t.cellPadding}px`,"padding-top":r?`${t.cellPadding+4}px`:`${t.cellPadding}px`}},n.label))}this.gridConfig.columns.forEach(((a,l)=>{const h=function(t,e){return`${t.id}-${e.id}`}(n,a),u=l>0,c=d>0;o.push(e("div",{key:`cell-${h}`,class:"grid-cell",style:{"grid-column":String(r+l),"grid-row":String(i+d),"border-left":u?s:"none","border-top":c?s:"none","padding-left":u?`${t.cellPadding+4}px`:"0","padding-top":c?`${t.cellPadding+4}px`:"0"}},e("slot",{name:h})))}))})),o}getFontStyles(){return this.componentStyle((t=>{var e,s,r,i;return{"--bn-font-family":(null===(e=t.global)||void 0===e?void 0:e.fontFamily)||"'Noto Sans', sans-serif","--bn-font-size":`${(null===(s=t.global)||void 0===s?void 0:s.fontSizePx)||13.3333}px`,"--bn-font-color":(null===(r=t.global)||void 0===r?void 0:r.fontColor)||"#000000","--bn-font-background":(null===(i=t.global)||void 0===i?void 0:i.fontBackgroundColor)||"#ffffff"}}))}render(){const t={display:"inline-grid","grid-template-columns":this.getGridTemplateColumns(),"grid-template-rows":this.getGridTemplateRows(),gap:this.cellGap};return e(s,{key:"9522911b83a725994d62b657469bfcdbcae4a795",style:this.getFontStyles()},e("div",{key:"c3d4fe8e552c31b0e10ca930a784867e1f711d01",class:"grid-container",style:t},this.renderTitle(),this.renderColumnHeaders(),this.renderDataCells()),e("slot",{key:"9772d659471df1d3588a1372fedd09d6b3bb459d"}))}get element(){return r(this)}static get watchers(){return{rowHeaders:[{validateRowHeaders:0}],columnHeaders:[{validateColumnHeaders:0}],showRowHeaders:[{validateShowRowHeaders:0}],showColumnHeaders:[{validateShowColumnHeaders:0}],showBorders:[{validateShowBorders:0}]}}};u.style=':host{display:inline-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)}.grid-container{display:inline-grid;box-sizing:border-box}.grid-title{font-weight:normal;padding-bottom:8px}.grid-header{display:flex;align-items:flex-end;box-sizing:border-box}.grid-header-row{justify-content:flex-end;padding-right:8px}.grid-header-col{white-space:nowrap;justify-content:flex-start}.grid-cell{position:relative;box-sizing:border-box}';export{u as bn_grid}
@@ -1 +1 @@
1
- import{r as s,h as t,H as e,g as r}from"./p-B_d-jp99.js";import{w as a}from"./p-BjBz5cSL.js";import{g as i}from"./p-BqhIhYr1.js";import{w as o,a as h}from"./p-B4JfKvVT.js";const n=class{constructor(t){s(this,t),this.name="_default",o(this),this.errors=h(this),a(this,(s=>{this.stores||(this.stores=i(this.element));try{const t=JSON.parse(s);this.stores.ruleSets.set(this.name,t),this.errors.remove("JSON_PARSE")}catch(s){this.errors.addOrReplace({id:"JSON_PARSE",type:"error",message:`bn-ruleset: Failed to parse JSON body — ${s.message}`}),console.error(s)}}))}render(){return t(e,{key:"9fa99c590cee15a870554baa592395a50ee0d311"})}get element(){return r(this)}};n.style="bn-ruleset{display:none}";export{n as bn_ruleset}
1
+ import{r as s,h as t,H as e,g as r}from"./p-B_d-jp99.js";import{w as a}from"./p-BjBz5cSL.js";import{g as i}from"./p-BgIpdpfH.js";import{w as o,a as h}from"./p-B4JfKvVT.js";const p=class{constructor(t){s(this,t),this.name="_default",o(this),this.errors=h(this),a(this,(s=>{this.stores||(this.stores=i(this.element));try{const t=JSON.parse(s);this.stores.ruleSets.set(this.name,t),this.errors.remove("JSON_PARSE")}catch(s){this.errors.addOrReplace({id:"JSON_PARSE",type:"error",message:`bn-ruleset: Failed to parse JSON body — ${s.message}`}),console.error(s)}}))}render(){return t(e,{key:"9fa99c590cee15a870554baa592395a50ee0d311"})}get element(){return r(this)}};p.style="bn-ruleset{display:none}";export{p as bn_ruleset}
@@ -1 +1 @@
1
- import{D as t}from"./p-BqhIhYr1.js";const n=t=>{if("object"==typeof t&&null!==t){if("function"==typeof Object.getPrototypeOf){const n=Object.getPrototypeOf(t);return n===Object.prototype||null===n}return"[object Object]"===Object.prototype.toString.call(t)}return!1},r=(t,n)=>n,e=(t,n)=>[...new Set([...t,...n])],a=(t,s)=>{const c=(t=>{return{arrayMergeType:"combine",arrayMerge:(n=t?t.arrayMergeType:"combine","overwrite"===n?r:e),...t};var n})(s);return t.reduce(((t,r)=>(Object.keys(r).forEach((e=>{Array.isArray(t[e])&&Array.isArray(r[e])?c&&c.arrayMerge&&(t[e]=c.arrayMerge(t[e],r[e])):t[e]=n(t[e])&&n(r[e])?a([t[e],r[e]],c):r[e]})),t)),{})};var s,c,o,u,i,l,f,p;!function(t){t.ALL="all",t.META="meta"}(s||(s={})),function(t){t.CURRENCY="currency",t.VOLUME="volume"}(c||(c={})),function(t){t.AC1="ac1",t.AC2="ac2",t.AC3="ac3",t.AC4="ac4",t.PP1="pp1",t.PP2="pp2",t.PP3="pp3",t.PP4="pp4",t.FC1="fc1",t.FC2="fc2",t.FC3="fc3",t.FC4="fc4",t.PL1="pl1",t.PL2="pl2",t.PL3="pl3",t.PL4="pl4"}(o||(o={})),function(t){t.POS="pos",t.NEG="neg",t.NEU="neu"}(u||(u={})),function(t){t.DECIMAL="decimal",t.PERCENT="percent"}(i||(i={})),function(t){t.LIST="list",t.SUM="sum",t.SUMNOTOTAL="sumnototal",t.OPT="opt",t.OPTNOTOTAL="optnototal"}(l||(l={})),function(t){t.INF="inf",t.W100="w100",t.W50="w50",t.W25="w25",t.W20="w20",t.W15="w15",t.W10="w10",t.W5="w5"}(f||(f={})),function(t){t.W5="w5",t.W10="w10",t.W15="w15",t.W20="w20",t.W25="w25",t.W30="w30",t.W40="w40",t.W60="w60",t.W80="w80",t.W100="w100"}(p||(p={}));const b={[p.W5]:5,[p.W10]:10,[p.W15]:15,[p.W20]:20,[p.W25]:25,[p.W30]:30,[p.W40]:40,[p.W60]:60,[p.W80]:80,[p.W100]:100};var w,m,y,d,g,j;!function(t){t.ROWGROUP="rowGroup",t.ROWGROUPINDEX="rowGroupIndex",t.CATEGORY="category",t.CATEGORYINDEX="categoryIndex",t.SUBCATEGORY="subCategory",t.SUBCATEGORYINDEX="subCategoryIndex"}(w||(w={})),function(t){t.SMART="smart",t.LONG="long",t.SHORT="short"}(m||(m={})),function(t){t.COLUMN="column",t.LINE="line",t.WATERFALL="waterfall"}(y||(y={})),function(t){t.BAR="bar",t.LINE="line",t.AUTO="auto"}(d||(d={})),function(t){t.SCENARIOS="scenarios",t.DIMENSIONS="dimensions"}(g||(g={})),function(t){t.ABSOLUTE="absolute",t.RELATIVE="relative",t.ABSOLUTE_RELATIVE="absolute-relative"}(j||(j={}));const v=100;var O;!function(t){t.ASC="asc",t.DESC="desc",t.DATASET="dataset"}(O||(O={}));class h{static isExisting(t){return null!=t}static isString(t){return"string"==typeof t}static isNumber(t){return"number"==typeof t&&!Number.isNaN(t)}static isBoolean(t){return"boolean"==typeof t}static isArray(t){return Array.isArray(t)}static isObject(t){return"object"==typeof t&&null!==t}static isOperator(t){return"+"===t||"-"===t}static isDate(n){return n instanceof t&&n.isValid}}const x=/^(dr|d)((?:ac|pp|fc|pl)[1-4])_((?:ac|pp|fc|pl)[1-4])(?:_(pos|neg|neu))?$/;class A{constructor(t,n,r){this.type=t,this.base=n,this.delta=r}static parse(t){const n=x.exec(t);return null===n?null:new A(n[1],n[2],n[3])}compute(t,n){return null==t||null==n?null:"dr"===this.type?0===n?null:(t-n)/n:t-n}}function I(t){const n=t.trim();if(Object.values(o).includes(n))return{kind:"scenario",slot:n};const r=A.parse(n);return null!==r?{kind:"variance",measure:r}:null}function B(t){return t.replace(/\d+$/,"")}function C(t){return t.replace(/^[a-z]+/,"")}export{w as A,b as B,h as C,i as D,s as I,c as M,v as R,o as S,p as T,C as a,u as b,m as c,l as d,f as e,g as f,O as g,j as h,d as i,a as m,I as r,B as s}
1
+ import{D as t}from"./p-BgIpdpfH.js";const n=t=>{if("object"==typeof t&&null!==t){if("function"==typeof Object.getPrototypeOf){const n=Object.getPrototypeOf(t);return n===Object.prototype||null===n}return"[object Object]"===Object.prototype.toString.call(t)}return!1},r=(t,n)=>n,e=(t,n)=>[...new Set([...t,...n])],a=(t,s)=>{const c=(t=>{return{arrayMergeType:"combine",arrayMerge:(n=t?t.arrayMergeType:"combine","overwrite"===n?r:e),...t};var n})(s);return t.reduce(((t,r)=>(Object.keys(r).forEach((e=>{Array.isArray(t[e])&&Array.isArray(r[e])?c&&c.arrayMerge&&(t[e]=c.arrayMerge(t[e],r[e])):t[e]=n(t[e])&&n(r[e])?a([t[e],r[e]],c):r[e]})),t)),{})};var s,c,o,u,i,l,f,p;!function(t){t.ALL="all",t.META="meta"}(s||(s={})),function(t){t.CURRENCY="currency",t.VOLUME="volume"}(c||(c={})),function(t){t.AC1="ac1",t.AC2="ac2",t.AC3="ac3",t.AC4="ac4",t.PP1="pp1",t.PP2="pp2",t.PP3="pp3",t.PP4="pp4",t.FC1="fc1",t.FC2="fc2",t.FC3="fc3",t.FC4="fc4",t.PL1="pl1",t.PL2="pl2",t.PL3="pl3",t.PL4="pl4"}(o||(o={})),function(t){t.POS="pos",t.NEG="neg",t.NEU="neu"}(u||(u={})),function(t){t.DECIMAL="decimal",t.PERCENT="percent"}(i||(i={})),function(t){t.LIST="list",t.SUM="sum",t.SUMNOTOTAL="sumnototal",t.OPT="opt",t.OPTNOTOTAL="optnototal"}(l||(l={})),function(t){t.INF="inf",t.W100="w100",t.W50="w50",t.W25="w25",t.W20="w20",t.W15="w15",t.W10="w10",t.W5="w5"}(f||(f={})),function(t){t.W5="w5",t.W10="w10",t.W15="w15",t.W20="w20",t.W25="w25",t.W30="w30",t.W40="w40",t.W60="w60",t.W80="w80",t.W100="w100"}(p||(p={}));const b={[p.W5]:5,[p.W10]:10,[p.W15]:15,[p.W20]:20,[p.W25]:25,[p.W30]:30,[p.W40]:40,[p.W60]:60,[p.W80]:80,[p.W100]:100};var w,m,y,d,g,j;!function(t){t.ROWGROUP="rowGroup",t.ROWGROUPINDEX="rowGroupIndex",t.CATEGORY="category",t.CATEGORYINDEX="categoryIndex",t.SUBCATEGORY="subCategory",t.SUBCATEGORYINDEX="subCategoryIndex"}(w||(w={})),function(t){t.SMART="smart",t.LONG="long",t.SHORT="short"}(m||(m={})),function(t){t.COLUMN="column",t.LINE="line",t.WATERFALL="waterfall"}(y||(y={})),function(t){t.BAR="bar",t.LINE="line",t.AUTO="auto"}(d||(d={})),function(t){t.SCENARIOS="scenarios",t.DIMENSIONS="dimensions"}(g||(g={})),function(t){t.ABSOLUTE="absolute",t.RELATIVE="relative",t.ABSOLUTE_RELATIVE="absolute-relative"}(j||(j={}));const v=100;var O;!function(t){t.ASC="asc",t.DESC="desc",t.DATASET="dataset"}(O||(O={}));class h{static isExisting(t){return null!=t}static isString(t){return"string"==typeof t}static isNumber(t){return"number"==typeof t&&!Number.isNaN(t)}static isBoolean(t){return"boolean"==typeof t}static isArray(t){return Array.isArray(t)}static isObject(t){return"object"==typeof t&&null!==t}static isOperator(t){return"+"===t||"-"===t}static isDate(n){return n instanceof t&&n.isValid}}const x=/^(dr|d)((?:ac|pp|fc|pl)[1-4])_((?:ac|pp|fc|pl)[1-4])(?:_(pos|neg|neu))?$/;class A{constructor(t,n,r){this.type=t,this.base=n,this.delta=r}static parse(t){const n=x.exec(t);return null===n?null:new A(n[1],n[2],n[3])}compute(t,n){return null==t||null==n?null:"dr"===this.type?0===n?null:(t-n)/n:t-n}}function I(t){const n=t.trim();if(Object.values(o).includes(n))return{kind:"scenario",slot:n};const r=A.parse(n);return null!==r?{kind:"variance",measure:r}:null}function B(t){return t.replace(/\d+$/,"")}function C(t){return t.replace(/^[a-z]+/,"")}export{w as A,b as B,h as C,i as D,s as I,c as M,v as R,o as S,p as T,C as a,u as b,m as c,l as d,f as e,g as f,O as g,j as h,d as i,a as m,I as r,B as s}
@@ -1 +1 @@
1
- import{C as t}from"./p-BZV1b5VH.js";class s{constructor(t,s,i){this.pos=t,this.neg=s,this.neu=i,this.needleHeadColour="#000000"}getSVGStyle(t){return"pos"===t?this.pos:"neg"===t?this.neg:this.neu}}class i{constructor(t){this.svgStyleAdapter=t}adapt(i){const h=new s(this.svgStyleAdapter.defaultPos(),this.svgStyleAdapter.defaultNeg(),this.svgStyleAdapter.defaultNeu());return t.isExisting(i.pos)&&(h.pos=this.svgStyleAdapter.adapt(i.pos)),t.isExisting(i.neg)&&(h.neg=this.svgStyleAdapter.adapt(i.neg)),t.isExisting(i.pp)&&(h.neu=this.svgStyleAdapter.adapt(i.neu)),t.isString(i.needleHeadColour)&&(h.needleHeadColour=i.needleHeadColour),h}default(){return new s(this.svgStyleAdapter.defaultPos(),this.svgStyleAdapter.defaultNeg(),this.svgStyleAdapter.defaultNeu())}}export{i as S}
1
+ import{C as t}from"./p-eEfqksk-.js";class s{constructor(t,s,i){this.pos=t,this.neg=s,this.neu=i,this.needleHeadColour="#000000"}getSVGStyle(t){return"pos"===t?this.pos:"neg"===t?this.neg:this.neu}}class i{constructor(t){this.svgStyleAdapter=t}adapt(i){const h=new s(this.svgStyleAdapter.defaultPos(),this.svgStyleAdapter.defaultNeg(),this.svgStyleAdapter.defaultNeu());return t.isExisting(i.pos)&&(h.pos=this.svgStyleAdapter.adapt(i.pos)),t.isExisting(i.neg)&&(h.neg=this.svgStyleAdapter.adapt(i.neg)),t.isExisting(i.pp)&&(h.neu=this.svgStyleAdapter.adapt(i.neu)),t.isString(i.needleHeadColour)&&(h.needleHeadColour=i.needleHeadColour),h}default(){return new s(this.svgStyleAdapter.defaultPos(),this.svgStyleAdapter.defaultNeg(),this.svgStyleAdapter.defaultNeu())}}export{i as S}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var VarianceMeasure = require('./VarianceMeasure-NY9yhiNV.js');
3
+ var VarianceMeasure = require('./VarianceMeasure-BBWTgv2e.js');
4
4
 
5
5
  /**
6
6
  * Parses a raw object-prop attribute value. A blank value yields `data: null`
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var SVGStyle = require('./SVGStyle-BQOmGWLX.js');
4
- require('./VarianceMeasure-NY9yhiNV.js');
3
+ var SVGStyle = require('./SVGStyle-BD8jApd4.js');
4
+ require('./VarianceMeasure-BBWTgv2e.js');
5
5
 
6
6
  /** SI metric prefix for number scaling (e.g. prefix="M", value=1000000 divides displayed values by one million). */
7
7
  class SiPrefix {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var VarianceMeasure = require('./VarianceMeasure-NY9yhiNV.js');
3
+ var VarianceMeasure = require('./VarianceMeasure-BBWTgv2e.js');
4
4
 
5
5
  /** Shared utilities for the adapter layer, used by all component config adapters. */
6
6
  class AdapterUtils {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var contextProtocol = require('./context-protocol-BDrMkhc4.js');
4
- var VarianceMeasure = require('./VarianceMeasure-NY9yhiNV.js');
3
+ var contextProtocol = require('./context-protocol-BBhT9B52.js');
4
+ var VarianceMeasure = require('./VarianceMeasure-BBWTgv2e.js');
5
5
 
6
6
  /**
7
7
  * Parses an IBCS variance column name into its constituent parts.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var VarianceMeasure = require('./VarianceMeasure-NY9yhiNV.js');
3
+ var VarianceMeasure = require('./VarianceMeasure-BBWTgv2e.js');
4
4
 
5
5
  class SVGVariancesStyleGroup {
6
6
  constructor(pos, neg, neu) {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var contextProtocol = require('./context-protocol-BDrMkhc4.js');
3
+ var contextProtocol = require('./context-protocol-BBhT9B52.js');
4
4
 
5
5
  const isObject = (obj) => {
6
6
  if (typeof obj === 'object' && obj !== null) {
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var VarianceMeasure = require('./VarianceMeasure-NY9yhiNV.js');
4
- var contextProtocol = require('./context-protocol-BDrMkhc4.js');
5
- var LabelCollisionManager = require('./LabelCollisionManager-nfD5P__k.js');
6
- var SVGStyle = require('./SVGStyle-BQOmGWLX.js');
3
+ var VarianceMeasure = require('./VarianceMeasure-BBWTgv2e.js');
4
+ var contextProtocol = require('./context-protocol-BBhT9B52.js');
5
+ var LabelCollisionManager = require('./LabelCollisionManager-DkdQ9Xdg.js');
6
+ var SVGStyle = require('./SVGStyle-BD8jApd4.js');
7
7
 
8
8
  /**
9
9
  * Aggregates all style configuration for an XY chart (scatter/bubble):
@@ -2,18 +2,18 @@
2
2
 
3
3
  var index = require('./index-CDKG4xmO.js');
4
4
  var withHasError = require('./withHasError-Cl2gTQzA.js');
5
- var contextProtocol = require('./context-protocol-BDrMkhc4.js');
5
+ var contextProtocol = require('./context-protocol-BBhT9B52.js');
6
6
  var withBodyObserver = require('./withBodyObserver-BKUE_ypL.js');
7
- var withStyled = require('./withStyled-CRiC9fzc.js');
8
- var scaling = require('./scaling-DKZyjWj5.js');
9
- var withScalingGroup = require('./withScalingGroup-BmcRlWBs.js');
10
- var layoutObserver = require('./layoutObserver-o03YUfn_.js');
11
- var VarianceMeasure = require('./VarianceMeasure-NY9yhiNV.js');
12
- var Order = require('./Order-DobBozQC.js');
13
- var SVGStyle = require('./SVGStyle-BQOmGWLX.js');
7
+ var withStyled = require('./withStyled-Cm9dWQhu.js');
8
+ var scaling = require('./scaling-BIJQ2NV1.js');
9
+ var withScalingGroup = require('./withScalingGroup-D5clRvRe.js');
10
+ var layoutObserver = require('./layoutObserver-DUYYkDMQ.js');
11
+ var VarianceMeasure = require('./VarianceMeasure-BBWTgv2e.js');
12
+ var Order = require('./Order-IPfAP0q8.js');
13
+ var SVGStyle = require('./SVGStyle-BD8jApd4.js');
14
14
  var sanitizeHtml = require('./sanitizeHtml-LuZr1IMd.js');
15
- var LabelCollisionManager = require('./LabelCollisionManager-nfD5P__k.js');
16
- var SVGVariancesStyleGroup = require('./SVGVariancesStyleGroup-DCGfHrqh.js');
15
+ var LabelCollisionManager = require('./LabelCollisionManager-DkdQ9Xdg.js');
16
+ var SVGVariancesStyleGroup = require('./SVGVariancesStyleGroup-BaWzR951.js');
17
17
 
18
18
  const bnAssetCss = () => `:host{display:none}`;
19
19
 
@@ -613,7 +613,7 @@ const Chart$1 = class Chart {
613
613
  return idx >= 1 || this.showCategories !== "true";
614
614
  }
615
615
  prepareI18n() {
616
- const i18nMetaLabelsLocal = [];
616
+ const i18nMetaLabelsLocal = ["no-data", "REST"];
617
617
  const i18nMetaLabelsGlobal = contextProtocol.globalLabelKeys;
618
618
  const i18nMapLocal = new Map(i18nMetaLabelsLocal.map((key) => [key, this.t(".".concat(key))]));
619
619
  const i18nMapGlobal = new Map(i18nMetaLabelsGlobal.map((key) => [key, this.t("global.".concat(key))]));
@@ -906,7 +906,7 @@ const Chart$1 = class Chart {
906
906
  scenariosArray = [...scenariosArray, ...variancesArray];
907
907
  }
908
908
  const fontStyles = this.getFontStyles();
909
- return (index.h(index.Host, { key: 'dd704d2ab46ee7a34213eab0188671e3df4ca592', style: fontStyles }, index.h("div", { key: '71c53b1dbd77e68a46e63fdf252cd11efb6a79a6', class: "container" }, scenariosArray.map(this.chartTemplate))));
909
+ return (index.h(index.Host, { key: '472aabc33cfbf293c44cd93537e91c42cdc9e0d7', style: fontStyles }, index.h("div", { key: 'd48365a9ef3a48df6cd42807f7375414dd6714ef', class: "container" }, scenariosArray.map(this.chartTemplate))));
910
910
  }
911
911
  get element() { return index.getElement(this); }
912
912
  static get watchers() { return {
@@ -1644,7 +1644,7 @@ const Chart = class {
1644
1644
  return idx >= 1 || this.showCategories !== "true";
1645
1645
  }
1646
1646
  prepareI18n() {
1647
- const i18nMetaLabelsLocal = [];
1647
+ const i18nMetaLabelsLocal = ["no-data"];
1648
1648
  const i18nMetaLabelsGlobal = contextProtocol.globalLabelKeys;
1649
1649
  const i18nMapLocal = new Map(i18nMetaLabelsLocal.map((key) => [key, this.t(".".concat(key))]));
1650
1650
  const i18nMapGlobal = new Map(i18nMetaLabelsGlobal.map((key) => [key, this.t("global.".concat(key))]));
@@ -1997,7 +1997,7 @@ const Chart = class {
1997
1997
  scenariosArray = [...scenariosArray, ...variancesArray];
1998
1998
  }
1999
1999
  const fontStyles = this.getFontStyles();
2000
- return (index.h(index.Host, { key: 'df8b91008f6f0d178bd3df91eb99a338f1734f27', style: fontStyles }, index.h("div", { key: '094f47f7f698b8cd87096066ae608b67c1258d71', class: "container" }, scenariosArray.map(this.chartTemplate))));
2000
+ return (index.h(index.Host, { key: '104f7786a091dd6826e780981c6f9304727294d7', style: fontStyles }, index.h("div", { key: 'b8730bc1ecfe26feb450881e97de7ef407163a21', class: "container" }, scenariosArray.map(this.chartTemplate))));
2001
2001
  }
2002
2002
  get element() { return index.getElement(this); }
2003
2003
  static get watchers() { return {
@@ -2152,7 +2152,7 @@ const Context = class {
2152
2152
  componentWillUpdate() { }
2153
2153
  componentDidUpdate() { }
2154
2154
  render() {
2155
- return (index.h(index.Host, { key: 'f4f3a64c06e0cd8fa4863007ba25cacc74194e45' }, index.h("slot", { key: 'ee5dd7d7065107f657f1d92cdf91eedbd94f8f81' })));
2155
+ return (index.h(index.Host, { key: '3c27b95cb769f4871f06453c73faa2a15dd04aa6' }, index.h("slot", { key: '4965ab0122454b1b84d463146e949e432adbd06c' })));
2156
2156
  }
2157
2157
  get element() { return index.getElement(this); }
2158
2158
  static get watchers() { return {
@@ -3559,7 +3559,7 @@ const LayoutCard = class {
3559
3559
  var _a, _b, _c, _d, _e, _f;
3560
3560
  const style = this.getLayoutStyle();
3561
3561
  const arrOfSlots = this.extractSlotNames(style["grid-template-areas"]);
3562
- return (index.h("bn-card", { key: '9148aa9fc6d2567543e1c0175cfb8af68ed6c1f9', styles: this.styles, "selected-style": this.selectedStyle, class: this.setCardClass() }, index.h("div", { key: '07c41c719d7cc76976e1f31e2ce4f53001453709', class: "cardtitle" }, index.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 !== "" ? (index.h("img", { class: "image", src: this.prepareTitleImage(this.titleImage) })) : ("")), index.h("bn-body", { key: 'b862d9122c3f1afcdb1ab13a0a273a455cf5c340' }, index.h("div", { key: 'b91f90de3f73393c198decf8c59dc1a016bbc4d6', style: style, "data-bn-fit-content": this.cardFitToContent ? String(this.getRowCount(this.cardLayout)) : null }, this.getSlots(arrOfSlots))), index.h("bn-footer", { key: 'b79caec1a428d999b8edb58d938c754e3ccdd884', text: this.footerText, "page-number": 0, "display-page-number": "false" })));
3562
+ return (index.h("bn-card", { key: '2aa7bd3e3beb1a6b6b0dc0b06c7d7eda324299a0', styles: this.styles, "selected-style": this.selectedStyle, class: this.setCardClass() }, index.h("div", { key: '65fe54ff342691b7f2b7df747af88499ffdbebc0', class: "cardtitle" }, index.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 !== "" ? (index.h("img", { class: "image", src: this.prepareTitleImage(this.titleImage) })) : ("")), index.h("bn-body", { key: '5875c3e62ca38095588f13907936974259816215' }, index.h("div", { key: 'c845d5f8c130f2dd0ae48fc4c2301a55842f001a', style: style, "data-bn-fit-content": this.cardFitToContent ? String(this.getRowCount(this.cardLayout)) : null }, this.getSlots(arrOfSlots))), index.h("bn-footer", { key: '388596894d04dc2f93d6d71b9f8a0348fb46195f', text: this.footerText, "page-number": 0, "display-page-number": "false" })));
3563
3563
  }
3564
3564
  get element() { return index.getElement(this); }
3565
3565
  };
@@ -3814,7 +3814,7 @@ const LayoutPage = class {
3814
3814
  var _a;
3815
3815
  const style = this.getLayoutStyle();
3816
3816
  const arrOfSlots = this.extractSlotNames(style["grid-template-areas"]);
3817
- return (index.h("bn-page", { key: 'bd2068a212a1253d1fc0881c3590aee35cfab518', styles: this.styles, "selected-style": this.selectedStyle, format: this.pageFormat, orientation: this.pageOrientation }, index.h("bn-message", { key: '94b0ff4609038bb1cc256ce2446563fb5f7fbaa4', text: this.messageText, image: this.messageImage }), index.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 }), index.h("bn-body", { key: '25ede6efeb2b72f70c7f697f7ff2b89c3d8677ba' }, index.h("div", { key: '09f247d484b22b32773ea0a1147a64f89f90eb0e', style: style, "data-bn-fit-content": this.pageFitToContent ? String(this.getRowCount(this.pageLayout)) : null }, this.getSlots(arrOfSlots))), index.h("bn-footer", { key: '36f6359d925e9fda92cd4dc2091ac0b7d6c294fb', text: this.footerText, "page-number": this.pageNumber, "display-page-number": this.footerDisplayPageNumber })));
3817
+ return (index.h("bn-page", { key: '6ce75e58dfb8ccab0686d8f34cc6f7830fd42db7', styles: this.styles, "selected-style": this.selectedStyle, format: this.pageFormat, orientation: this.pageOrientation }, index.h("bn-message", { key: '0b7f297afe281b0df05691485a93ba6c3d8abbae', text: this.messageText, image: this.messageImage }), index.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 }), index.h("bn-body", { key: '8d43429effcb755ee69665820120838c60b8b9d1' }, index.h("div", { key: 'f2d61818b1272551c73bf174f91f61904799a780', style: style, "data-bn-fit-content": this.pageFitToContent ? String(this.getRowCount(this.pageLayout)) : null }, this.getSlots(arrOfSlots))), index.h("bn-footer", { key: '8d6a6d76c7bef823ee7063586e87084654705771', text: this.footerText, "page-number": this.pageNumber, "display-page-number": this.footerDisplayPageNumber })));
3818
3818
  }
3819
3819
  get element() { return index.getElement(this); }
3820
3820
  };
@@ -4993,7 +4993,7 @@ const Table$1 = class Table {
4993
4993
  return VarianceMeasure.I18nMode.META;
4994
4994
  }
4995
4995
  prepareI18n() {
4996
- const i18nMetaLabelsLocal = ["in", "category", "operation", "there_of", "part_of", "SUM_TOTAL"];
4996
+ const i18nMetaLabelsLocal = ["in", "category", "operation", "there_of", "part_of", "SUM_TOTAL", "no-data", "REST"];
4997
4997
  const i18nMetaLabelsGlobal = contextProtocol.globalLabelKeys;
4998
4998
  // system
4999
4999
  const i18nMapLocal = new Map(i18nMetaLabelsLocal.map((key) => [key, this.t(".".concat(key))]));
@@ -5296,7 +5296,7 @@ const Table$1 = class Table {
5296
5296
  render() {
5297
5297
  const fontStyles = this.getFontStyles();
5298
5298
  const effectiveFactor = this.getEffectiveScaleFactor();
5299
- return (index.h(index.Host, { key: 'eafc5b48a4de327d63a8850d1b65790de2fbe354', style: fontStyles }, index.h("div", { key: 'c775731928bc3f359714b98b42aab2072491e309' }, index.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 }))));
5299
+ return (index.h(index.Host, { key: '71fe0e81888c25970edcaab0803cbdbd3b73d1fd', style: fontStyles }, index.h("div", { key: '5afa87ac3a8b4d5864bb34acb8a4e84de12261ea' }, index.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 }))));
5300
5300
  }
5301
5301
  get element() { return index.getElement(this); }
5302
5302
  static get watchers() { return {
@@ -5591,6 +5591,9 @@ const Title$1 = class Title {
5591
5591
  prepareI18nMode() {
5592
5592
  return VarianceMeasure.I18nMode.META;
5593
5593
  }
5594
+ prepareLocale() {
5595
+ return contextProtocol.getStores(this.element).context.state.locale || "de";
5596
+ }
5594
5597
  prepareTitleOrder() {
5595
5598
  var _a;
5596
5599
  if (withStyled.isBlankInput(this.order) || withStyled.isBlankInput(this.orderDirection)) {
@@ -5655,7 +5658,7 @@ const Title$1 = class Title {
5655
5658
  }
5656
5659
  render() {
5657
5660
  const fontStyles = this.getFontStyles();
5658
- return (index.h(index.Host, { key: 'de097e2e8afe7fcf3268487b45b380e42448feab', style: fontStyles }, index.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() })));
5661
+ return (index.h(index.Host, { key: '9b9c216010209bd5acaaeee39b6b5d8a8972710f', style: fontStyles }, index.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() })));
5659
5662
  }
5660
5663
  get element() { return index.getElement(this); }
5661
5664
  static get watchers() { return {
@@ -7678,6 +7681,9 @@ class StructureChart {
7678
7681
  this.dataModel = [];
7679
7682
  this.variancesDataModel = [];
7680
7683
  this.title = "";
7684
+ /** Raw config inputs the title derives from; kept so setI18n can recompute it. */
7685
+ this.configTitle = "";
7686
+ this.configVariances = [];
7681
7687
  this.smallestDataPointValue = new DataPoint$1(0, Scenario$1.AC1, 1, Scenario$1.NEU);
7682
7688
  this.highestDataPointValue = new DataPoint$1(0, Scenario$1.AC1, 1, Scenario$1.NEU);
7683
7689
  this.smallestVarianceDataPointValue = new DataPoint$1(0, Scenario$1.AC1, 1, Scenario$1.NEU);
@@ -7742,7 +7748,9 @@ class StructureChart {
7742
7748
  this.populateDimensionStackSegments(scenarios, config.stackConfig, config.level);
7743
7749
  }
7744
7750
  this.variancesDataModel = this.populateVarianceModel(config.variances, this.dataModel);
7745
- this.title = config.title || SVGStyle.Formatter.translateScenarioLabel((_a = config === null || config === void 0 ? void 0 : config.variances) === null || _a === void 0 ? void 0 : _a.toString(), this.i18n);
7751
+ this.configTitle = config.title;
7752
+ this.configVariances = (_a = config === null || config === void 0 ? void 0 : config.variances) !== null && _a !== void 0 ? _a : [];
7753
+ this.updateTitle();
7746
7754
  this.smallestDataPointValue = this.findSmallestDataPointValue(this.dataModel);
7747
7755
  this.smallestVarianceDataPointValue = this.findSmallestDataPointValue(this.variancesDataModel);
7748
7756
  this.highestDataPointValue = this.findHighestDataPointValue(this.dataModel);
@@ -7779,6 +7787,15 @@ class StructureChart {
7779
7787
  */
7780
7788
  setI18n(i18n) {
7781
7789
  this.i18n = this.createI18n(i18n);
7790
+ // The variance title bakes translated scenario labels in, and setI18n
7791
+ // arrives after the constructor's setConfig — recompute it here so the
7792
+ // first render doesn't keep the built-in labels (e.g. ΔPY vs ΔVorjahr).
7793
+ this.updateTitle();
7794
+ }
7795
+ /** Derives the variance title from the stored config and the current i18n map. */
7796
+ updateTitle() {
7797
+ var _a;
7798
+ this.title = this.configTitle || SVGStyle.Formatter.translateScenarioLabel((_a = this.configVariances) === null || _a === void 0 ? void 0 : _a.toString(), this.i18n);
7782
7799
  }
7783
7800
  createI18n(i18n) {
7784
7801
  this.state = FactoryState$2.DIRTY;
@@ -8264,7 +8281,10 @@ class StructureChart {
8264
8281
  textHook = HookLocation.Left;
8265
8282
  isPositive = false;
8266
8283
  }
8267
- new Label(axisLabelGroup, this.position.getCategoryPositionX(isPositive), this.position.getBarCenterPositionY(index), "", elements.category, this.styles, HookLocation.Center, textHook).draw();
8284
+ new Label(axisLabelGroup, this.position.getCategoryPositionX(isPositive), this.position.getBarCenterPositionY(index), "",
8285
+ // Category labels come from the data, but the synthetic "REST"
8286
+ // overflow bucket is engine-generated and translatable, as in bn-table.
8287
+ this.i18n.get(elements.category) || elements.category, this.styles, HookLocation.Center, textHook).draw();
8268
8288
  });
8269
8289
  }
8270
8290
  new Axis$1({
@@ -8788,7 +8808,7 @@ const IbcsChartStructure = class {
8788
8808
  return index.h(index.Host, null);
8789
8809
  }
8790
8810
  if (this.chart.hasNoData()) {
8791
- const errorMsg = this.i18n.get("NO_DATA") || "==No Data==";
8811
+ const errorMsg = this.i18n.get("no-data") || "==No Data==";
8792
8812
  return (index.h(index.Host, null, index.h("p", { class: "warning" }, errorMsg)));
8793
8813
  }
8794
8814
  return (index.h(index.Host, null, index.h("div", { innerHTML: (_a = this.pattern) === null || _a === void 0 ? void 0 : _a.toString(), class: "hidePatternContainer" }), index.h("div", { class: this.showMeasureScale ? "footer" : "footer-hide" }, (_b = this.chart) === null || _b === void 0 ? void 0 : _b.getFooter()), index.h("div", { innerHTML: (_c = this.chart) === null || _c === void 0 ? void 0 : _c.toString() })));
@@ -11047,6 +11067,9 @@ class TimeChart {
11047
11067
  this.dataModel = [];
11048
11068
  this.variancesDataModel = [];
11049
11069
  this.title = "";
11070
+ /** Raw config inputs the title derives from; kept so setI18n can recompute it. */
11071
+ this.configTitle = "";
11072
+ this.configVariances = [];
11050
11073
  this.smallestDataPointValue = new DataPoint(0, Scenario.AC1, 1, Scenario.NEU);
11051
11074
  this.highestDataPointValue = new DataPoint(0, Scenario.AC1, 1, Scenario.NEU);
11052
11075
  this.smallestVarianceDataPointValue = new DataPoint(0, Scenario.AC1, 1, Scenario.NEU);
@@ -11159,6 +11182,9 @@ class TimeChart {
11159
11182
  setConfig(config) {
11160
11183
  var _a;
11161
11184
  this.state = FactoryState$1.DIRTY;
11185
+ // Must precede setSource/populateModel: the locale is baked into the
11186
+ // normalizeDate() SQL as well as into the axis date labels.
11187
+ this.locale = config.locale;
11162
11188
  this.scenarioPropOrder = [...config.scenarios];
11163
11189
  const scenarios = this.sortScenariosbyVisualisationRules(config.scenarios);
11164
11190
  this.setSource(config.filter);
@@ -11170,7 +11196,9 @@ class TimeChart {
11170
11196
  this.dateInterval = this.findDateInterval(config.dateInterval);
11171
11197
  this.dataModel = this.populateModel(scenarios, this.dateInterval, config.level, config.sortOrder);
11172
11198
  this.variancesDataModel = this.populateVarianceModel(config.variances, this.dataModel);
11173
- this.title = config.title || SVGStyle.Formatter.translateScenarioLabel((_a = config === null || config === void 0 ? void 0 : config.variances) === null || _a === void 0 ? void 0 : _a.toString(), this.i18n);
11199
+ this.configTitle = config.title;
11200
+ this.configVariances = (_a = config === null || config === void 0 ? void 0 : config.variances) !== null && _a !== void 0 ? _a : [];
11201
+ this.updateTitle();
11174
11202
  this.smallestDataPointValue = this.findSmallestDataPointValue(this.dataModel);
11175
11203
  this.smallestVarianceDataPointValue = this.findSmallestDataPointValue(this.variancesDataModel);
11176
11204
  this.highestDataPointValue = this.findHighestDataPointValue(this.dataModel);
@@ -11219,6 +11247,15 @@ class TimeChart {
11219
11247
  */
11220
11248
  setI18n(i18n) {
11221
11249
  this.i18n = this.createI18n(i18n);
11250
+ // The variance title bakes translated scenario labels in, and setI18n
11251
+ // arrives after the constructor's setConfig — recompute it here so the
11252
+ // first render doesn't keep the built-in labels (e.g. ΔPY vs ΔVorjahr).
11253
+ this.updateTitle();
11254
+ }
11255
+ /** Derives the variance title from the stored config and the current i18n map. */
11256
+ updateTitle() {
11257
+ var _a;
11258
+ this.title = this.configTitle || SVGStyle.Formatter.translateScenarioLabel((_a = this.configVariances) === null || _a === void 0 ? void 0 : _a.toString(), this.i18n);
11222
11259
  }
11223
11260
  /**
11224
11261
  * Resolves the dataset (a table or view in the shared alasql database) and
@@ -11754,6 +11791,7 @@ class TimeChart {
11754
11791
  }
11755
11792
  createDateFactory() {
11756
11793
  const factory = new withStyled.DateStringFactory();
11794
+ factory.setLocale(this.locale);
11757
11795
  return factory;
11758
11796
  }
11759
11797
  drawAxisAndLabels(dataModel, svgContainer) {
@@ -12485,6 +12523,8 @@ class TimeChartComponentConfig {
12485
12523
  this.stackConfig = null;
12486
12524
  /** When true, line charts extend to the full width of the chart area. */
12487
12525
  this.lineFullWidth = true;
12526
+ /** Locale used for date-axis labels and SQL date normalization; set from the bn-context locale. */
12527
+ this.locale = "de";
12488
12528
  }
12489
12529
  }
12490
12530
  /**
@@ -12574,6 +12614,9 @@ class TimeChartComponentConfigAdapter {
12574
12614
  if (VarianceMeasure.CompareUtil.isBoolean(data.lineFullWidth)) {
12575
12615
  config.lineFullWidth = data.lineFullWidth;
12576
12616
  }
12617
+ if (VarianceMeasure.CompareUtil.isString(data.locale)) {
12618
+ config.locale = data.locale;
12619
+ }
12577
12620
  return config;
12578
12621
  }
12579
12622
  default() {
@@ -12631,7 +12674,7 @@ const IbcsChartTime = class {
12631
12674
  return index.h(index.Host, null);
12632
12675
  }
12633
12676
  if (this.chart.hasNoData()) {
12634
- const errorMsg = this.i18n.get("NO_DATA") || "==No Data==";
12677
+ const errorMsg = this.i18n.get("no-data") || "==No Data==";
12635
12678
  return (index.h(index.Host, null, index.h("p", { class: "warning" }, errorMsg)));
12636
12679
  }
12637
12680
  return (index.h(index.Host, null, index.h("div", { innerHTML: (_a = this.pattern) === null || _a === void 0 ? void 0 : _a.toString(), class: "hidePatternContainer" }), index.h("div", { class: this.showMeasureScale ? "footer" : "footer-hide" }, (_b = this.chart) === null || _b === void 0 ? void 0 : _b.getFooter()), index.h("div", { innerHTML: (_c = this.chart) === null || _c === void 0 ? void 0 : _c.toString() })));
@@ -12732,6 +12775,7 @@ const IbcsChartTime = class {
12732
12775
  //}
12733
12776
  }
12734
12777
  prepareConfig() {
12778
+ var _a, _b, _c;
12735
12779
  const db = this.getDb();
12736
12780
  const fromExpr = this.tableName ? contextProtocol.buildFromExpr(this.tableName, this.filter) : "";
12737
12781
  return new TimeChartComponentConfigAdapter(new TimeChartDataRowAdapter(), new Order.OrderAdapter(new StringAdapter()), new StringAdapter(), new DataFormatDigitsAdapter(), db, fromExpr).adapt({
@@ -12759,6 +12803,7 @@ const IbcsChartTime = class {
12759
12803
  maxBars: this.maxBars,
12760
12804
  stackConfig: this.stackConfig,
12761
12805
  lineFullWidth: this.lineFullWidth,
12806
+ 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",
12762
12807
  });
12763
12808
  }
12764
12809
  prepareStyle() {
@@ -14901,7 +14946,9 @@ class TableDataSetFactory {
14901
14946
  return value;
14902
14947
  }
14903
14948
  if (this.isEntryCategory(type, scenario)) {
14904
- if (i18nMode === VarianceMeasure.I18nMode.ALL) {
14949
+ // "REST" is always translated, like SUM_TOTAL below: it is not a data
14950
+ // value but the engine's own label for the limit-overflow row.
14951
+ if (i18nMode === VarianceMeasure.I18nMode.ALL || value === "REST") {
14905
14952
  return `${i18n.get(value) || value}`;
14906
14953
  }
14907
14954
  return value;
@@ -15096,7 +15143,6 @@ class Table {
15096
15143
  ["pp4", "PY4"],
15097
15144
  ["fc4", "FC4"],
15098
15145
  ["pl4", "PL4"],
15099
- ["in", "in"],
15100
15146
  ["category", " "],
15101
15147
  ["operation", " "],
15102
15148
  ["there_of", "davon"],
@@ -15492,7 +15538,7 @@ const IbcsTable = class {
15492
15538
  return;
15493
15539
  }
15494
15540
  if (this.table.hasNoData()) {
15495
- const errorMsg = this.i18n.get("NO_DATA") || "==No Data==";
15541
+ const errorMsg = this.i18n.get("no-data") || "==No Data==";
15496
15542
  return index.h("p", { class: "warning" }, errorMsg);
15497
15543
  }
15498
15544
  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 &&
@@ -15733,11 +15779,15 @@ class TitleDataSetFactory {
15733
15779
  * @param time
15734
15780
  * @param order
15735
15781
  * @param i18n
15782
+ * @param spanLimit
15783
+ * @param locale Locale used to format the date-link labels.
15736
15784
  */
15737
- createDimension(scenarios, time, order, i18n, spanLimit) {
15785
+ createDimension(scenarios, time, order, i18n, spanLimit, locale = "de") {
15738
15786
  let formatedTime = "";
15739
15787
  if (time !== undefined) {
15740
- formatedTime = new withStyled.DateStringFactory().getDateLinkString(time.start, time.end, time.link, time.format, spanLimit);
15788
+ const dateStringFactory = new withStyled.DateStringFactory();
15789
+ dateStringFactory.setLocale(locale);
15790
+ formatedTime = dateStringFactory.getDateLinkString(time.start, time.end, time.link, time.format, spanLimit);
15741
15791
  }
15742
15792
  const formatedScenarios = scenarios
15743
15793
  .map((scenario) => {
@@ -15774,6 +15824,8 @@ class TitleConfig {
15774
15824
  this.scenarios = [];
15775
15825
  this.i18nMode = VarianceMeasure.I18nMode.ALL;
15776
15826
  this.intervalSpanLimit = 32;
15827
+ /** Locale used for the date-link labels; set from the bn-context locale. */
15828
+ this.locale = "de";
15777
15829
  }
15778
15830
  }
15779
15831
  class TitleConifgAdapter {
@@ -15806,6 +15858,9 @@ class TitleConifgAdapter {
15806
15858
  if (VarianceMeasure.CompareUtil.isExisting(data.order)) {
15807
15859
  config.order = this.orderAdapter.adapt(data.order);
15808
15860
  }
15861
+ if (VarianceMeasure.CompareUtil.isString(data.locale)) {
15862
+ config.locale = data.locale;
15863
+ }
15809
15864
  return config;
15810
15865
  }
15811
15866
  default() {
@@ -15856,11 +15911,11 @@ class Title {
15856
15911
  ["ac3", "AC3"],
15857
15912
  ["pp3", "PY3"],
15858
15913
  ["fc3", "FC3"],
15859
- ["pp3", "PL3"],
15914
+ ["pl3", "PL3"],
15860
15915
  ["ac4", "AC4"],
15861
- ["py4", "PY4"],
15916
+ ["pp4", "PY4"],
15862
15917
  ["fc4", "FC4"],
15863
- ["pp4", "PL4"],
15918
+ ["pl4", "PL4"],
15864
15919
  ["category", " "],
15865
15920
  ["operation", " "],
15866
15921
  ["there_of", "davon"],
@@ -15884,7 +15939,7 @@ class Title {
15884
15939
  if (FactoryState.DIRTY === this.state) {
15885
15940
  this.unit = this.config.businessunit;
15886
15941
  this.measures = this.dataSetFactory.createMeasures(this.config.measures, this.i18n, this.config.i18nMode);
15887
- this.dimension = this.dataSetFactory.createDimension(this.config.scenarios, this.config.timeperiod, this.config.order, this.i18n, this.config.intervalSpanLimit);
15942
+ this.dimension = this.dataSetFactory.createDimension(this.config.scenarios, this.config.timeperiod, this.config.order, this.i18n, this.config.intervalSpanLimit, this.config.locale);
15888
15943
  this.state = FactoryState.UP_TO_DATE;
15889
15944
  }
15890
15945
  return this;
@@ -15976,6 +16031,8 @@ const IbcsTitle = class {
15976
16031
  };
15977
16032
  this.i18n = new Map(); // I18nMode;
15978
16033
  this.i18nMode = VarianceMeasure.I18nMode.ALL;
16034
+ /** Locale used to format the date-link labels (e.g. "en", "de"). */
16035
+ this.locale = "de";
15979
16036
  this.title = new Title(new SVGStyle.IBCSRuleSet());
15980
16037
  }
15981
16038
  // so
@@ -15990,7 +16047,7 @@ const IbcsTitle = class {
15990
16047
  });
15991
16048
  }
15992
16049
  render() {
15993
- return (index.h("div", { key: '7a95748a4576c654c9066efb2bfd7531238d2ed0' }, index.h("div", { key: '6a34ba1043660dc75b57cd029f6438d1178c34e4', innerHTML: sanitizeHtml.sanitizeHtml(this.title.unit) }), index.h("div", { key: '6ec241e7cd6ac8a2061aab1b822973e77e2fb7cd' }, this.title.measures.map((measure, index$1) => (index.h("span", null, this.isFirstElement(index$1) ? this.title.i18n.get("SEPERATOR_WS") : "", index.h("span", { class: "measure" }, measure.name), " ", measure.unit ? this.title.i18n.get("in") : "", " ", measure.unit)))), index.h("div", { key: 'd6bc97cd78ec8734d4d42b2537cf61dfcac28ae4' }, this.title.dimension)));
16050
+ return (index.h("div", { key: '4a675a92695130e13bd690587098cf70d81028c9' }, index.h("div", { key: '54c98ac466109f4ea1306aa57379f5cb25cf654f', innerHTML: sanitizeHtml.sanitizeHtml(this.title.unit) }), index.h("div", { key: '35e8592454c45c06db9e3b6db5525165a3ee4a00' }, this.title.measures.map((measure, index$1) => (index.h("span", null, this.isFirstElement(index$1) ? this.title.i18n.get("SEPERATOR_WS") : "", index.h("span", { class: "measure" }, measure.name), " ", measure.unit ? this.title.i18n.get("in") : "", " ", measure.unit)))), index.h("div", { key: '29c93306567a592ac956d5c97501dc5e7acf90ec' }, this.title.dimension)));
15994
16051
  }
15995
16052
  componentWillLoad() {
15996
16053
  const config = this.prepareConfig();
@@ -16019,6 +16076,7 @@ const IbcsTitle = class {
16019
16076
  intervalSpanLimit: this.intervalSpanLimit,
16020
16077
  i18nMode: this.i18nMode,
16021
16078
  order: this.order,
16079
+ locale: this.locale,
16022
16080
  });
16023
16081
  }
16024
16082
  };
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-CDKG4xmO.js');
4
- var contextProtocol = require('./context-protocol-BDrMkhc4.js');
5
- var scaling = require('./scaling-DKZyjWj5.js');
6
- var layoutObserver = require('./layoutObserver-o03YUfn_.js');
7
- var withStyled = require('./withStyled-CRiC9fzc.js');
4
+ var contextProtocol = require('./context-protocol-BBhT9B52.js');
5
+ var scaling = require('./scaling-BIJQ2NV1.js');
6
+ var layoutObserver = require('./layoutObserver-DUYYkDMQ.js');
7
+ var withStyled = require('./withStyled-Cm9dWQhu.js');
8
8
  var withHasError = require('./withHasError-Cl2gTQzA.js');
9
- var withScalingGroup = require('./withScalingGroup-BmcRlWBs.js');
10
- var VarianceMeasure = require('./VarianceMeasure-NY9yhiNV.js');
11
- var AxisConfig = require('./AxisConfig-VnVelfSV.js');
12
- require('./Order-DobBozQC.js');
9
+ var withScalingGroup = require('./withScalingGroup-D5clRvRe.js');
10
+ var VarianceMeasure = require('./VarianceMeasure-BBWTgv2e.js');
11
+ var AxisConfig = require('./AxisConfig-D7CAyPLO.js');
12
+ require('./Order-IPfAP0q8.js');
13
13
 
14
14
  const bnChartBubbleCss = () => `:host{display:inline-block;position:relative;overflow:hidden}.container{display:flex;flex-direction:column}`;
15
15
 
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-CDKG4xmO.js');
4
- var contextProtocol = require('./context-protocol-BDrMkhc4.js');
5
- var VarianceMeasure = require('./VarianceMeasure-NY9yhiNV.js');
6
- var layoutObserver = require('./layoutObserver-o03YUfn_.js');
7
- var Order = require('./Order-DobBozQC.js');
8
- var scaling = require('./scaling-DKZyjWj5.js');
9
- var withStyled = require('./withStyled-CRiC9fzc.js');
4
+ var contextProtocol = require('./context-protocol-BBhT9B52.js');
5
+ var VarianceMeasure = require('./VarianceMeasure-BBWTgv2e.js');
6
+ var layoutObserver = require('./layoutObserver-DUYYkDMQ.js');
7
+ var Order = require('./Order-IPfAP0q8.js');
8
+ var scaling = require('./scaling-BIJQ2NV1.js');
9
+ var withStyled = require('./withStyled-Cm9dWQhu.js');
10
10
  var withHasError = require('./withHasError-Cl2gTQzA.js');
11
- var AxisConfig = require('./AxisConfig-VnVelfSV.js');
11
+ var AxisConfig = require('./AxisConfig-D7CAyPLO.js');
12
12
 
13
13
  const MEASURE_KEYS = ["measure", "label", "unit"];
14
14
  function toBulletMeasureConfig(data) {