@bino-bi/bn-template-engine 1.0.0-alpha.16 → 1.0.0-alpha.17

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 (287) hide show
  1. package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
  2. package/dist/bn-template-engine/p-172499ac.entry.js +1 -0
  3. package/dist/bn-template-engine/p-19e65c04.entry.js +1 -0
  4. package/dist/bn-template-engine/{p-ff659485.entry.js → p-1a1fd8eb.entry.js} +1 -1
  5. package/dist/bn-template-engine/p-2849c367.entry.js +1 -0
  6. package/dist/bn-template-engine/p-44L8rZSd.js +1 -0
  7. package/dist/bn-template-engine/p-5dd11fcc.entry.js +1 -0
  8. package/dist/bn-template-engine/p-63f891d9.entry.js +1 -0
  9. package/dist/bn-template-engine/p-72f63181.entry.js +1 -0
  10. package/dist/bn-template-engine/p-836ad6f3.entry.js +1 -0
  11. package/dist/bn-template-engine/p-B2KOyHRY.js +1 -0
  12. package/dist/bn-template-engine/p-BA48JiHe.js +1 -0
  13. package/dist/bn-template-engine/p-BnOTt2YD.js +1 -0
  14. package/dist/bn-template-engine/p-CDPTCKVx.js +1 -0
  15. package/dist/bn-template-engine/p-CIXlJoMr.js +1 -0
  16. package/dist/bn-template-engine/{p-BPDZcex5.js → p-COXiPUfj.js} +1 -1
  17. package/dist/bn-template-engine/p-CPZIJpxn.js +1 -0
  18. package/dist/bn-template-engine/p-DHibUOw5.js +1 -0
  19. package/dist/bn-template-engine/p-a50da0f0.entry.js +1 -0
  20. package/dist/bn-template-engine/p-a9a34fb2.entry.js +1 -0
  21. package/dist/bn-template-engine/p-b0369558.entry.js +1 -0
  22. package/dist/bn-template-engine/p-d3fc17ee.entry.js +1 -0
  23. package/dist/bn-template-engine/p-f8c46905.entry.js +1 -0
  24. package/dist/bn-template-engine/p-lIy3SJs2.js +1 -0
  25. package/dist/cjs/AxisConfig-B_GMRfX_.js +233 -0
  26. package/dist/cjs/LabelCollisionManager-8HGn9W0V.js +8616 -0
  27. package/dist/cjs/VarianceMeasure-DEOzP-XZ.js +372 -0
  28. package/dist/cjs/XYChartDataRow-CDl1Ofnv.js +933 -0
  29. package/dist/cjs/bn-asset_21.cjs.entry.js +1586 -9600
  30. package/dist/cjs/bn-chart-bubble.cjs.entry.js +761 -0
  31. package/dist/cjs/bn-chart-scatter.cjs.entry.js +657 -0
  32. package/dist/cjs/bn-grid.cjs.entry.js +4 -3
  33. package/dist/cjs/bn-image.cjs.entry.js +4 -3
  34. package/dist/cjs/bn-internationalization.cjs.entry.js +2 -2
  35. package/dist/cjs/bn-ruleset.cjs.entry.js +41 -0
  36. package/dist/cjs/bn-template-engine.cjs.js +1 -1
  37. package/dist/cjs/bn-template.cjs.entry.js +1 -1
  38. package/dist/cjs/bn-text.cjs.entry.js +7 -79
  39. package/dist/cjs/bn-tree.cjs.entry.js +3 -2
  40. package/dist/cjs/{context-protocol-Cn5PL928.js → context-protocol-CIuyJKkK.js} +206 -1
  41. package/dist/cjs/editor-companion.cjs.entry.js +2 -2
  42. package/dist/cjs/ibcs-chart-bubble.cjs.entry.js +622 -0
  43. package/dist/cjs/ibcs-chart-scatter.cjs.entry.js +665 -0
  44. package/dist/cjs/layoutObserver-CJWRV_y6.js +350 -0
  45. package/dist/cjs/loader.cjs.js +1 -1
  46. package/dist/cjs/sanitizeHtml-LuZr1IMd.js +85 -0
  47. package/dist/cjs/{scaling-DM2UILdF.js → scaling-B4UPXivZ.js} +1 -1
  48. package/dist/cjs/withScalingGroup-D832DQKp.js +73 -0
  49. package/dist/cjs/{withStyled-Dx3uRw9g.js → withStyled-COxuhL-N.js} +43 -301
  50. package/dist/collection/collection-manifest.json +5 -0
  51. package/dist/collection/components/bn-chart-bubble/bn-chart-bubble.css +10 -0
  52. package/dist/collection/components/bn-chart-bubble/bn-chart-bubble.js +1110 -0
  53. package/dist/collection/components/bn-chart-bubble/ibcs-chart-bubble.css +9 -0
  54. package/dist/collection/components/bn-chart-bubble/ibcs-chart-bubble.js +653 -0
  55. package/dist/collection/components/bn-chart-bubble/utils/BubbleChart.js +472 -0
  56. package/dist/collection/components/bn-chart-scatter/bn-chart-scatter.css +10 -0
  57. package/dist/collection/components/bn-chart-scatter/bn-chart-scatter.js +965 -0
  58. package/dist/collection/components/bn-chart-scatter/ibcs-chart-scatter.css +9 -0
  59. package/dist/collection/components/bn-chart-scatter/ibcs-chart-scatter.js +580 -0
  60. package/dist/collection/components/bn-chart-scatter/utils/ScatterChart.js +409 -0
  61. package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +23 -2
  62. package/dist/collection/components/bn-chart-structure/ibcs-chart-structure.js +29 -4
  63. package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +3 -0
  64. package/dist/collection/components/bn-chart-time/bn-chart-time.js +27 -4
  65. package/dist/collection/components/bn-chart-time/ibcs-chart-time.js +29 -4
  66. package/dist/collection/components/bn-chart-time/utils/TimeChart.js +16 -4
  67. package/dist/collection/components/bn-chart-time/utils/elements/StackedColumn.js +3 -3
  68. package/dist/collection/components/bn-component-style/bn-component-style.js +1 -1
  69. package/dist/collection/components/bn-context/bn-context.js +1 -1
  70. package/dist/collection/components/bn-dataset/bn-dataset.js +1 -1
  71. package/dist/collection/components/bn-datasource/bn-datasource.js +1 -1
  72. package/dist/collection/components/bn-footer/bn-footer.js +1 -1
  73. package/dist/collection/components/bn-grid/bn-grid.js +1 -1
  74. package/dist/collection/components/bn-image/bn-image.js +1 -1
  75. package/dist/collection/components/bn-internationalization/bn-internationalization.js +1 -1
  76. package/dist/collection/components/bn-layout-card/bn-layout-card.js +26 -3
  77. package/dist/collection/components/bn-layout-page/bn-layout-page.js +33 -4
  78. package/dist/collection/components/bn-message/bn-message.css +6 -2
  79. package/dist/collection/components/bn-message/bn-message.js +3 -2
  80. package/dist/collection/components/bn-page/bn-page.js +1 -1
  81. package/dist/collection/components/bn-ruleset/bn-ruleset.css +3 -0
  82. package/dist/collection/components/bn-ruleset/bn-ruleset.js +68 -0
  83. package/dist/collection/components/bn-scaling-group/bn-scaling-group.js +1 -1
  84. package/dist/collection/components/bn-table/bn-table.js +146 -14
  85. package/dist/collection/components/bn-table/ibcs-table.css +8 -0
  86. package/dist/collection/components/bn-table/ibcs-table.js +64 -8
  87. package/dist/collection/components/bn-table/utils/Table.js +43 -5
  88. package/dist/collection/components/bn-table/utils/elements/CellBarChart.js +13 -8
  89. package/dist/collection/components/bn-table/utils/elements/TableRow.js +3 -2
  90. package/dist/collection/components/bn-table/utils/elements/WaterfallBar.js +47 -0
  91. package/dist/collection/components/bn-table/utils/elements/index.js +1 -0
  92. package/dist/collection/components/bn-table/utils/factories/tableDataSetFactory.js +87 -15
  93. package/dist/collection/components/bn-table/utils/helper/DataQuery.js +284 -3
  94. package/dist/collection/components/bn-table/utils/helper/IntervalColumns.js +140 -0
  95. package/dist/collection/components/bn-table/utils/helper/WaterfallCalculator.js +166 -0
  96. package/dist/collection/components/bn-table/utils/helper/index.js +2 -0
  97. package/dist/collection/components/bn-table/utils/model/TableComponentConfig.js +10 -0
  98. package/dist/collection/components/bn-template/bn-template.js +1 -1
  99. package/dist/collection/components/bn-text/bn-text.js +2 -75
  100. package/dist/collection/components/bn-title/bn-title.js +27 -3
  101. package/dist/collection/components/bn-title/ibcs-title/ibcs-title.css +4 -0
  102. package/dist/collection/components/bn-title/ibcs-title/ibcs-title.js +29 -3
  103. package/dist/collection/components/bn-title/ibcs-title/utils/Title.js +3 -0
  104. package/dist/collection/components/editor-companion/editor-companion.js +1 -1
  105. package/dist/collection/stores/componentStyles.js +29 -0
  106. package/dist/collection/stores/createScopedStores.js +6 -1
  107. package/dist/collection/stores/internationalization.js +40 -0
  108. package/dist/collection/stores/ruleSets.js +46 -0
  109. package/dist/collection/utils/constants.js +5 -0
  110. package/dist/collection/utils/ibcsRuleSet.js +14 -26
  111. package/dist/collection/utils/sanitizeHtml.js +81 -0
  112. package/dist/collection/utils/validate.js +24 -0
  113. package/dist/collection/utils/withComponentStyle.js +3 -5
  114. package/dist/collection/utils/withInheritedProps.js +1 -1
  115. package/dist/collection/utils/withRuleSet.js +105 -0
  116. package/dist/collection/utils/withScalingGroup.js +3 -0
  117. package/dist/collection/utils/xy/FacetGrid.js +36 -0
  118. package/dist/collection/utils/xy/IsoCurves.js +156 -0
  119. package/dist/collection/utils/xy/NumericScale.js +103 -0
  120. package/dist/collection/utils/xy/PointLabeler.js +96 -0
  121. package/dist/collection/utils/xy/RadiusScale.js +42 -0
  122. package/dist/collection/utils/xy/SeriesPalette.js +80 -0
  123. package/dist/collection/utils/xy/VarianceMeasure.js +76 -0
  124. package/dist/collection/utils/xy/XYFrame.js +120 -0
  125. package/dist/collection/utils/xy/XYLegend.js +107 -0
  126. package/dist/collection/utils/xy/model/AxisConfig.js +221 -0
  127. package/dist/collection/utils/xy/model/ScaleFactorsXYChart.js +69 -0
  128. package/dist/collection/utils/xy/model/XYChartDataRow.js +0 -0
  129. package/dist/collection/utils/xy/model/XYChartStyle.js +52 -0
  130. package/dist/components/AxisConfig.js +1 -0
  131. package/dist/components/CompareUtil.js +1 -0
  132. package/dist/components/DataFormatDigits.js +1 -1
  133. package/dist/components/LabelCollisionManager.js +1 -0
  134. package/dist/components/Order.js +1 -1
  135. package/dist/components/SVGVariancesStyleGroup.js +1 -1
  136. package/dist/components/SiPrefix.js +1 -0
  137. package/dist/components/StringAdapter.js +1 -0
  138. package/dist/components/VarianceMeasure.js +1 -0
  139. package/dist/components/XYChartDataRow.js +1 -0
  140. package/dist/components/bn-chart-bubble.d.ts +11 -0
  141. package/dist/components/bn-chart-bubble.js +1 -0
  142. package/dist/components/bn-chart-scatter.d.ts +11 -0
  143. package/dist/components/bn-chart-scatter.js +1 -0
  144. package/dist/components/bn-chart-structure.js +1 -1
  145. package/dist/components/bn-chart-time.js +1 -1
  146. package/dist/components/bn-component-style.js +1 -1
  147. package/dist/components/bn-context.js +1 -1
  148. package/dist/components/bn-dataset.js +1 -1
  149. package/dist/components/bn-datasource.js +1 -1
  150. package/dist/components/bn-footer2.js +1 -1
  151. package/dist/components/bn-grid.js +1 -1
  152. package/dist/components/bn-image.js +1 -1
  153. package/dist/components/bn-internationalization.js +1 -1
  154. package/dist/components/bn-layout-card.js +1 -1
  155. package/dist/components/bn-layout-page.js +1 -1
  156. package/dist/components/bn-message2.js +1 -1
  157. package/dist/components/bn-page2.js +1 -1
  158. package/dist/components/bn-ruleset.d.ts +11 -0
  159. package/dist/components/bn-ruleset.js +1 -0
  160. package/dist/components/bn-scaling-group.js +1 -1
  161. package/dist/components/bn-table.js +1 -1
  162. package/dist/components/bn-template.js +1 -1
  163. package/dist/components/bn-text.js +1 -1
  164. package/dist/components/bn-title2.js +1 -1
  165. package/dist/components/bn-tree.js +1 -1
  166. package/dist/components/context-protocol.js +1 -1
  167. package/dist/components/editor-companion.js +1 -1
  168. package/dist/components/formatter.js +1 -0
  169. package/dist/components/ibcs-chart-bubble.d.ts +11 -0
  170. package/dist/components/ibcs-chart-bubble.js +1 -0
  171. package/dist/components/ibcs-chart-bubble2.js +1 -0
  172. package/dist/components/ibcs-chart-scatter.d.ts +11 -0
  173. package/dist/components/ibcs-chart-scatter.js +1 -0
  174. package/dist/components/ibcs-chart-scatter2.js +1 -0
  175. package/dist/components/ibcs-chart-structure2.js +1 -1
  176. package/dist/components/ibcs-chart-time2.js +1 -1
  177. package/dist/components/ibcs-table2.js +1 -1
  178. package/dist/components/ibcs-title2.js +1 -1
  179. package/dist/components/layoutObserver.js +1 -1
  180. package/dist/components/luxon.js +1 -1
  181. package/dist/components/merge.js +1 -0
  182. package/dist/components/sanitizeHtml.js +1 -0
  183. package/dist/components/stackColors.js +1 -0
  184. package/dist/components/validate.js +1 -1
  185. package/dist/components/withComponentStyle.js +1 -1
  186. package/dist/components/withDataset.js +1 -0
  187. package/dist/components/withRuleSet.js +1 -0
  188. package/dist/components/withScalingGroup.js +1 -0
  189. package/dist/components/withStyled.js +1 -1
  190. package/dist/esm/AxisConfig-BwUQrme0.js +224 -0
  191. package/dist/esm/LabelCollisionManager-DZP5Vl8T.js +8599 -0
  192. package/dist/esm/VarianceMeasure-Cxshx01h.js +364 -0
  193. package/dist/esm/XYChartDataRow-FF_VxRnF.js +923 -0
  194. package/dist/esm/bn-asset_21.entry.js +1124 -9138
  195. package/dist/esm/bn-chart-bubble.entry.js +759 -0
  196. package/dist/esm/bn-chart-scatter.entry.js +655 -0
  197. package/dist/esm/bn-grid.entry.js +4 -3
  198. package/dist/esm/bn-image.entry.js +4 -3
  199. package/dist/esm/bn-internationalization.entry.js +2 -2
  200. package/dist/esm/bn-ruleset.entry.js +39 -0
  201. package/dist/esm/bn-template-engine.js +1 -1
  202. package/dist/esm/bn-template.entry.js +1 -1
  203. package/dist/esm/bn-text.entry.js +6 -78
  204. package/dist/esm/bn-tree.entry.js +3 -2
  205. package/dist/esm/{context-protocol-BB-4Onmw.js → context-protocol-BNHTlllP.js} +202 -2
  206. package/dist/esm/editor-companion.entry.js +2 -2
  207. package/dist/esm/ibcs-chart-bubble.entry.js +620 -0
  208. package/dist/esm/ibcs-chart-scatter.entry.js +663 -0
  209. package/dist/esm/layoutObserver-D5FY_lQa.js +345 -0
  210. package/dist/esm/loader.js +1 -1
  211. package/dist/esm/sanitizeHtml-BA48JiHe.js +83 -0
  212. package/dist/esm/{scaling-h4KcBet3.js → scaling-B7Pa0d_s.js} +2 -2
  213. package/dist/esm/withScalingGroup-DBheBsP4.js +71 -0
  214. package/dist/esm/{withStyled-BBvU2f-A.js → withStyled-DTvj2nar.js} +29 -287
  215. package/dist/types/components/bn-chart-bubble/bn-chart-bubble.d.ts +193 -0
  216. package/dist/types/components/bn-chart-bubble/ibcs-chart-bubble.d.ts +58 -0
  217. package/dist/types/components/bn-chart-bubble/utils/BubbleChart.d.ts +91 -0
  218. package/dist/types/components/bn-chart-scatter/bn-chart-scatter.d.ts +172 -0
  219. package/dist/types/components/bn-chart-scatter/ibcs-chart-scatter.d.ts +53 -0
  220. package/dist/types/components/bn-chart-scatter/utils/ScatterChart.d.ts +66 -0
  221. package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +7 -0
  222. package/dist/types/components/bn-chart-structure/ibcs-chart-structure.d.ts +2 -0
  223. package/dist/types/components/bn-chart-structure/utils/StructureChart.d.ts +1 -0
  224. package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +10 -1
  225. package/dist/types/components/bn-chart-time/ibcs-chart-time.d.ts +2 -0
  226. package/dist/types/components/bn-chart-time/utils/TimeChart.d.ts +1 -0
  227. package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +10 -0
  228. package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +14 -0
  229. package/dist/types/components/bn-message/bn-message.d.ts +5 -2
  230. package/dist/types/components/bn-ruleset/bn-ruleset.d.ts +8 -0
  231. package/dist/types/components/bn-table/bn-table.d.ts +38 -5
  232. package/dist/types/components/bn-table/ibcs-table.d.ts +8 -1
  233. package/dist/types/components/bn-table/utils/Table.d.ts +8 -0
  234. package/dist/types/components/bn-table/utils/elements/Cell.d.ts +2 -0
  235. package/dist/types/components/bn-table/utils/elements/CellBarChart.d.ts +33 -0
  236. package/dist/types/components/bn-table/utils/elements/TableRow.d.ts +2 -1
  237. package/dist/types/components/bn-table/utils/elements/WaterfallBar.d.ts +21 -0
  238. package/dist/types/components/bn-table/utils/elements/index.d.ts +1 -0
  239. package/dist/types/components/bn-table/utils/factories/tableDataSetFactory.d.ts +13 -7
  240. package/dist/types/components/bn-table/utils/helper/DataQuery.d.ts +17 -0
  241. package/dist/types/components/bn-table/utils/helper/IntervalColumns.d.ts +37 -0
  242. package/dist/types/components/bn-table/utils/helper/WaterfallCalculator.d.ts +55 -0
  243. package/dist/types/components/bn-table/utils/helper/index.d.ts +2 -0
  244. package/dist/types/components/bn-table/utils/model/TableComponentConfig.d.ts +4 -0
  245. package/dist/types/components/bn-table/utils/model/index.d.ts +21 -0
  246. package/dist/types/components/bn-title/bn-title.d.ts +11 -1
  247. package/dist/types/components/bn-title/ibcs-title/ibcs-title.d.ts +2 -0
  248. package/dist/types/components/bn-title/ibcs-title/utils/Title.d.ts +1 -0
  249. package/dist/types/components.d.ts +943 -37
  250. package/dist/types/context/context-protocol.d.ts +2 -0
  251. package/dist/types/stores/componentStyles.d.ts +21 -0
  252. package/dist/types/stores/createScopedStores.d.ts +2 -0
  253. package/dist/types/stores/ruleSets.d.ts +40 -0
  254. package/dist/types/utils/constants.d.ts +5 -0
  255. package/dist/types/utils/ibcsRuleSet.d.ts +6 -1
  256. package/dist/types/utils/model/ChartStyles.d.ts +2 -1
  257. package/dist/types/utils/sanitizeHtml.d.ts +6 -0
  258. package/dist/types/utils/validate.d.ts +12 -0
  259. package/dist/types/utils/withInheritedProps.d.ts +11 -0
  260. package/dist/types/utils/withRuleSet.d.ts +24 -0
  261. package/dist/types/utils/xy/FacetGrid.d.ts +27 -0
  262. package/dist/types/utils/xy/IsoCurves.d.ts +46 -0
  263. package/dist/types/utils/xy/NumericScale.d.ts +41 -0
  264. package/dist/types/utils/xy/PointLabeler.d.ts +58 -0
  265. package/dist/types/utils/xy/RadiusScale.d.ts +26 -0
  266. package/dist/types/utils/xy/SeriesPalette.d.ts +59 -0
  267. package/dist/types/utils/xy/VarianceMeasure.d.ts +37 -0
  268. package/dist/types/utils/xy/XYFrame.d.ts +44 -0
  269. package/dist/types/utils/xy/XYLegend.d.ts +43 -0
  270. package/dist/types/utils/xy/model/AxisConfig.d.ts +96 -0
  271. package/dist/types/utils/xy/model/ScaleFactorsXYChart.d.ts +36 -0
  272. package/dist/types/utils/xy/model/XYChartDataRow.d.ts +157 -0
  273. package/dist/types/utils/xy/model/XYChartStyle.d.ts +31 -0
  274. package/package.json +1 -1
  275. package/readme.md +7 -3
  276. package/dist/bn-template-engine/p-19f49fbc.entry.js +0 -1
  277. package/dist/bn-template-engine/p-3465fcdc.entry.js +0 -1
  278. package/dist/bn-template-engine/p-67746414.entry.js +0 -1
  279. package/dist/bn-template-engine/p-6b469808.entry.js +0 -1
  280. package/dist/bn-template-engine/p-86ca2d5e.entry.js +0 -1
  281. package/dist/bn-template-engine/p-Tx6omDWp.js +0 -1
  282. package/dist/bn-template-engine/p-d724ab88.entry.js +0 -1
  283. package/dist/bn-template-engine/p-efd3b67a.entry.js +0 -1
  284. package/dist/bn-template-engine/p-z9bPNFYF.js +0 -1
  285. package/dist/components/ibcsRuleSet.js +0 -1
  286. package/dist/components/scaling.js +0 -1
  287. package/dist/components/withInheritedProps.js +0 -1
@@ -1,7 +1,8 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-B_d-jp99.js';
2
- import { w as withStyled, a as withComponentStyle } from './withStyled-BBvU2f-A.js';
2
+ import { w as withStyled, b as withComponentStyle } from './withStyled-DTvj2nar.js';
3
3
  import { w as withComponentStatus, a as withHasError } from './withHasError-DW_vMDUp.js';
4
- import { g as getStores } from './context-protocol-BB-4Onmw.js';
4
+ import { g as getStores } from './context-protocol-BNHTlllP.js';
5
+ import './VarianceMeasure-Cxshx01h.js';
5
6
 
6
7
  const bnImageCss = () => `:host{display:inline-block;position:relative;overflow:hidden}img{max-width:100%;height:auto}`;
7
8
 
@@ -39,7 +40,7 @@ const Image = class {
39
40
  return assetsState[value] || value;
40
41
  }
41
42
  render() {
42
- return (h(Host, { key: '656f301d5fb1a7650f4c7d0cbb3fe1ef15b8ae92', style: this.getFontStyles() }, this.source != null && this.source !== "" ? h("img", { src: this.prepareAssetUrl(this.source) }) : ""));
43
+ return (h(Host, { key: '38fd8efa1dabbdf6c3b3140cf24810eea8f14ca2', style: this.getFontStyles() }, this.source != null && this.source !== "" ? h("img", { src: this.prepareAssetUrl(this.source) }) : ""));
43
44
  }
44
45
  get element() { return getElement(this); }
45
46
  };
@@ -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-BB-4Onmw.js';
3
+ import { g as getStores, f as flattenObject } from './context-protocol-BNHTlllP.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}`;
@@ -27,7 +27,7 @@ const Internationalization = class {
27
27
  });
28
28
  }
29
29
  render() {
30
- return h(Host, { key: 'dd384ecf77e4fd5d46ed04b04c4395fba8bac4e1' });
30
+ return h(Host, { key: 'ba9249b99f2d46c9bb5772022eddee4b0005468f' });
31
31
  }
32
32
  get element() { return getElement(this); }
33
33
  };
@@ -0,0 +1,39 @@
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-B_d-jp99.js';
2
+ import { w as withBodyObserver } from './withBodyObserver-IokS6fHD.js';
3
+ import { g as getStores } from './context-protocol-BNHTlllP.js';
4
+ import { w as withComponentStatus, a as withHasError } from './withHasError-DW_vMDUp.js';
5
+
6
+ const bnRulesetCss = () => `bn-ruleset{display:none}`;
7
+
8
+ const Ruleset = class {
9
+ constructor(hostRef) {
10
+ registerInstance(this, hostRef);
11
+ this.name = "_default";
12
+ withComponentStatus(this);
13
+ this.errors = withHasError(this);
14
+ withBodyObserver(this, (data) => {
15
+ if (!this.stores)
16
+ this.stores = getStores(this.element);
17
+ try {
18
+ const parsedData = JSON.parse(data);
19
+ this.stores.ruleSets.set(this.name, parsedData);
20
+ this.errors.remove("JSON_PARSE");
21
+ }
22
+ catch (e) {
23
+ this.errors.addOrReplace({
24
+ id: "JSON_PARSE",
25
+ type: "error",
26
+ message: `bn-ruleset: Failed to parse JSON body — ${e.message}`,
27
+ });
28
+ console.error(e);
29
+ }
30
+ });
31
+ }
32
+ render() {
33
+ return h(Host, { key: 'a914ac24571f43967ff34a6d0ea4d4d6a8436310' });
34
+ }
35
+ get element() { return getElement(this); }
36
+ };
37
+ Ruleset.style = bnRulesetCss();
38
+
39
+ export { Ruleset as bn_ruleset };
@@ -44,5 +44,5 @@ var patchCloneNodeFix = (HTMLElementPrototype) => {
44
44
 
45
45
  patchBrowser().then(async (options) => {
46
46
  await globalScripts();
47
- return bootstrapLazy(JSON.parse("[[\"bn-grid\",[[257,\"bn-grid\",{\"chartTitle\":[1,\"chart-title\"],\"rowHeaders\":[1,\"row-headers\"],\"columnHeaders\":[1,\"column-headers\"],\"showRowHeaders\":[1,\"show-row-headers\"],\"showColumnHeaders\":[1,\"show-column-headers\"],\"showBorders\":[1,\"show-borders\"],\"rowHeaderWidth\":[1,\"row-header-width\"],\"cellGap\":[1,\"cell-gap\"],\"gridConfig\":[32]},null,{\"rowHeaders\":[{\"validateRowHeaders\":0}],\"columnHeaders\":[{\"validateColumnHeaders\":0}],\"showRowHeaders\":[{\"validateShowRowHeaders\":0}],\"showColumnHeaders\":[{\"validateShowColumnHeaders\":0}],\"showBorders\":[{\"validateShowBorders\":0}]}]]],[\"bn-image\",[[1,\"bn-image\",{\"source\":[1]}]]],[\"bn-internationalization\",[[0,\"bn-internationalization\",{\"code\":[1],\"namespace\":[1]}]]],[\"bn-template\",[[257,\"bn-template\",{\"templateId\":[1,\"template-id\"]}]]],[\"bn-text\",[[1,\"bn-text\",{\"value\":[1],\"scale\":[1],\"data\":[32]},null,{\"value\":[{\"validateValue\":0}],\"scale\":[{\"validateScaling\":0}]}]]],[\"bn-tree\",[[257,\"bn-tree\",{\"edges\":[1],\"direction\":[1],\"levelSpacing\":[2,\"level-spacing\"],\"nodeSpacing\":[2,\"node-spacing\"],\"edgeStyle\":[1,\"edge-style\"],\"showOperators\":[1,\"show-operators\"],\"treeConfig\":[32],\"layout\":[32],\"nodeRects\":[32],\"svgWidth\":[32],\"svgHeight\":[32]},null,{\"edges\":[{\"validateEdgesProp\":0}],\"direction\":[{\"validateDirection\":0}],\"levelSpacing\":[{\"validateLevelSpacing\":0}],\"nodeSpacing\":[{\"validateNodeSpacing\":0}],\"edgeStyle\":[{\"validateEdgeStyle\":0}],\"showOperators\":[{\"validateShowOperators\":0}]}]]],[\"editor-companion\",[[0,\"editor-companion\",{\"internationalizationKeys\":[64],\"getDistinctFromDataSource\":[64],\"getDistinctFromDataset\":[64]}]]],[\"bn-asset_21\",[[257,\"bn-layout-page\",{\"styles\":[1],\"selectedStyle\":[1,\"selected-style\"],\"messageText\":[1,\"message-text\"],\"messageImage\":[1,\"message-image\"],\"titleBusinessUnit\":[1,\"title-business-unit\"],\"titleScenarios\":[1,\"title-scenarios\"],\"titleVariances\":[1,\"title-variances\"],\"titleOrder\":[1,\"title-order\"],\"titleOrderDirection\":[1,\"title-order-direction\"],\"titleMeasures\":[1,\"title-measures\"],\"titleDateStart\":[1,\"title-date-start\"],\"titleDateEnd\":[1,\"title-date-end\"],\"titleDateFormat\":[1,\"title-date-format\"],\"titleDateLink\":[1,\"title-date-link\"],\"titleNamespace\":[1,\"title-namespace\"],\"pageFormat\":[1,\"page-format\"],\"pageOrientation\":[1,\"page-orientation\"],\"pageNumber\":[1,\"page-number\"],\"footerText\":[1,\"footer-text\"],\"footerDisplayPageNumber\":[4,\"footer-display-page-number\"],\"pageLayout\":[1,\"page-layout\"],\"pageCustomTemplate\":[1,\"page-custom-template\"],\"pageGridGap\":[1,\"page-grid-gap\"],\"pageFitToContent\":[4,\"page-fit-to-content\"],\"getNumberOfSlot\":[64]}],[257,\"bn-layout-card\",{\"styles\":[1],\"selectedStyle\":[1,\"selected-style\"],\"titleImage\":[1,\"title-image\"],\"titleBusinessUnit\":[1,\"title-business-unit\"],\"titleScenarios\":[1,\"title-scenarios\"],\"titleVariances\":[1,\"title-variances\"],\"titleOrder\":[1,\"title-order\"],\"titleOrderDirection\":[1,\"title-order-direction\"],\"titleMeasures\":[1,\"title-measures\"],\"titleDateStart\":[1,\"title-date-start\"],\"titleDateEnd\":[1,\"title-date-end\"],\"titleDateFormat\":[1,\"title-date-format\"],\"titleDateLink\":[1,\"title-date-link\"],\"titleNamespace\":[1,\"title-namespace\"],\"footerText\":[1,\"footer-text\"],\"cardLayout\":[1,\"card-layout\"],\"cardCustomTemplate\":[1,\"card-custom-template\"],\"cardGridGap\":[1,\"card-grid-gap\"],\"cardFitToContent\":[4,\"card-fit-to-content\"],\"cardShowBorder\":[4,\"card-show-border\"],\"getNumberOfSlot\":[64]}],[1,\"bn-chart-structure\",{\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"limit\":[2],\"showCategories\":[1,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[1,\"show-measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"stack\":[1],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"limit\":[{\"validateLimit\":0}],\"showCategories\":[{\"validateShowCategories\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}]}],[1,\"bn-chart-time\",{\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"syncSpaceLeft\":[2,\"sync-space-left\"],\"limit\":[2],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"dateInterval\":[1,\"date-interval\"],\"chartMode\":[1,\"chart-mode\"],\"maxBars\":[2,\"max-bars\"],\"stack\":[1],\"scale\":[1],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"axisLabelsMode\":[1,\"axis-labels-mode\"],\"lineFullWidth\":[1,\"line-full-width\"],\"showCategories\":[1,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[1,\"show-measure-scale\"],\"showOverlayAvg\":[1,\"show-overlay-avg\"],\"showOverlayMedian\":[1,\"show-overlay-median\"],\"measureUnit\":[1,\"measure-unit\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"syncSpaceLeft\":[{\"validateLeftSync\":0}],\"limit\":[{\"validateLimit\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"dateInterval\":[{\"validateDateInterval\":0}],\"chartMode\":[{\"validateChartMode\":0}],\"maxBars\":[{\"validateMaxBars\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}],\"axisLabelsMode\":[{\"validateAxisLabelsMode\":0}],\"lineFullWidth\":[{\"validateLineFullWidth\":0}],\"showCategories\":[{\"validateShowCategories\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"showOverlayAvg\":[{\"validateShowOverlayAvg\":0}],\"showOverlayMedian\":[{\"validateShowOverlayMedian\":0}]}],[1,\"bn-table\",{\"scale\":[1],\"tableTitle\":[1,\"table-title\"],\"filter\":[1],\"measureUnit\":[1,\"measure-unit\"],\"scenarios\":[1],\"variances\":[1],\"barColumns\":[1,\"bar-columns\"],\"barColumnWidth\":[1,\"bar-column-width\"],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"dataFormat\":[1,\"data-format\"],\"grouped\":[1],\"showMeasureScale\":[1,\"show-measure-scale\"],\"showGroupTitle\":[1,\"show-group-title\"],\"type\":[1],\"limit\":[2],\"thereof\":[1],\"partof\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"measureType\":[1,\"measure-type\"],\"measureScale\":[1,\"measure-scale\"],\"dataFormatDigitsDecimal\":[2,\"data-format-digits-decimal\"],\"dataFormatDigitsPercent\":[2,\"data-format-digits-percent\"],\"categoryWidth\":[1,\"category-width\"],\"columnthereof\":[1],\"tableAttributes\":[1,\"attributes\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scale\":[{\"validateScaling\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"barColumns\":[{\"validateBarColumns\":0}],\"barColumnWidth\":[{\"validateBarColumnWidth\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"dataFormat\":[{\"validateDataFormat\":0}],\"grouped\":[{\"validateGrouped\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"showGroupTitle\":[{\"validateShowGroupTitle\":0}],\"type\":[{\"validateType\":0}],\"limit\":[{\"validateLimit\":0}],\"thereof\":[{\"validateThereOf\":0}],\"partof\":[{\"validatePartOf\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"measureType\":[{\"validateMeasureType\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"dataFormatDigitsDecimal\":[{\"validateDataFormatDigitsDecimal\":0}],\"dataFormatDigitsPercent\":[{\"validateDateFormatDigitsPercent\":0}],\"categoryWidth\":[{\"validateCategoryWidth\":0}],\"columnthereof\":[{\"validateColumnThereOf\":0}],\"tableAttributes\":[{\"validateTableAttributes\":0}]}],[1,\"bn-asset\",{\"name\":[1]}],[0,\"bn-component-style\",{\"name\":[1]}],[257,\"bn-context\",{\"locale\":[1]},null,{\"locale\":[{\"setLocale\":0}]}],[0,\"bn-dataset\",{\"name\":[1],\"datasources\":[1],\"static\":[4],\"raw\":[4],\"interval\":[2]},null,{\"name\":[{\"nameUpdated\":0}],\"interval\":[{\"onIntervalChange\":0}]}],[0,\"bn-datasource\",{\"name\":[1],\"raw\":[4],\"interval\":[2]},null,{\"interval\":[{\"onIntervalChange\":0}]}],[0,\"bn-scaling-group\",{\"name\":[1],\"value\":[2]},null,{\"name\":[{\"onNameChange\":0}],\"value\":[{\"onValueChange\":0}]}],[257,\"bn-card\"],[1,\"bn-message\",{\"text\":[1025],\"image\":[1]}],[257,\"bn-page\",{\"format\":[1],\"orientation\":[1]},null,{\"format\":[{\"validateFormat\":0}],\"orientation\":[{\"validateOrientation\":0}]}],[1,\"ibcs-chart-structure\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideCategories\":[4,\"hide-categories\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"limit\":[2],\"styles\":[1040],\"i18n\":[1040],\"order\":[16],\"level\":[1],\"filter\":[1],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"dataFormatDigits\":[16],\"stackConfig\":[16],\"parentDimensions\":[16]}],[1,\"ibcs-chart-time\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideAxisLabels\":[4,\"hide-axis-labels\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"limit\":[2],\"leftSideOffsetForHorizontalSync\":[2,\"left-side-offset-for-horizontal-sync\"],\"styles\":[1040],\"i18n\":[1040],\"order\":[16],\"level\":[1],\"dateInterval\":[1,\"date-interval\"],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"axisLabelsMode\":[1,\"axis-labels-mode\"],\"filter\":[1],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"showOverlayMedian\":[4,\"show-overlay-median\"],\"showOverlayAvg\":[4,\"show-overlay-avg\"],\"chartMode\":[1,\"chart-mode\"],\"maxBars\":[2,\"max-bars\"],\"stackConfig\":[16],\"lineFullWidth\":[4,\"line-full-width\"],\"containerWidth\":[2,\"container-width\"],\"dataFormatDigits\":[16],\"parentDimensions\":[16]}],[1,\"ibcs-table\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"tableTitle\":[1,\"table-title\"],\"scenarios\":[16],\"scenariosDataFormat\":[1,\"scenarios-data-format\"],\"grouped\":[4],\"limit\":[2],\"showGroupTitle\":[4,\"show-group-title\"],\"thereof\":[16],\"partof\":[16],\"order\":[16],\"categorythereof\":[16],\"attributeColumns\":[16],\"type\":[1],\"categoryWidth\":[1,\"category-width\"],\"dataFormatDigits\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"measureType\":[1,\"measure-type\"],\"filter\":[1],\"barColumns\":[16],\"barColumnMaxWidth\":[2,\"bar-column-max-width\"],\"unitScaling\":[2,\"unit-scaling\"],\"percentageScaling\":[2,\"percentage-scaling\"],\"scaleFactor\":[2,\"scale-factor\"]}],[1,\"bn-title\",{\"businessUnit\":[1,\"business-unit\"],\"scenarios\":[1],\"variances\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"measures\":[1],\"dateStart\":[1,\"date-start\"],\"dateEnd\":[1,\"date-end\"],\"dateFormat\":[1,\"date-format\"],\"dateLink\":[1,\"date-link\"]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"order\":[{\"validateOrder\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"measures\":[{\"validateMeasures\":0}],\"dateStart\":[{\"validateDateStart\":0}],\"dateEnd\":[{\"validateDateEnd\":0}],\"dateFormat\":[{\"validateDateFormat\":0}],\"dateLink\":[{\"validateDateLink\":0}]}],[257,\"bn-body\"],[1,\"bn-footer\",{\"pageNumber\":[1026,\"page-number\"],\"text\":[1025],\"code\":[1025],\"displayPageNumber\":[4,\"display-page-number\"]}],[1,\"ibcs-title\",{\"businessUnit\":[1537,\"business-unit\"],\"scenarios\":[16],\"measures\":[16],\"timeperiod\":[16],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"order\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"setBusinessUnit\":[64],\"setProps\":[64]}]]]]"), options);
47
+ return bootstrapLazy(JSON.parse("[[\"bn-chart-bubble\",[[1,\"bn-chart-bubble\",{\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"x\":[1],\"y\":[1],\"size\":[1],\"share\":[1],\"compareWith\":[1,\"compare-with\"],\"level\":[1],\"seriesLevel\":[1,\"series-level\"],\"facet\":[1],\"labels\":[1],\"legend\":[1],\"aspect\":[1],\"limit\":[2],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"x\":[{\"validateX\":0}],\"y\":[{\"validateY\":0}],\"size\":[{\"validateSize\":0}],\"share\":[{\"validateShare\":0}],\"compareWith\":[{\"validateCompareWith\":0}],\"level\":[{\"validateLevel\":0}],\"seriesLevel\":[{\"validateSeriesLevel\":0}],\"facet\":[{\"validateFacet\":0}],\"labels\":[{\"validateLabels\":0}],\"legend\":[{\"validateLegend\":0}],\"aspect\":[{\"validateAspect\":0}],\"limit\":[{\"validateLimit\":0}],\"scale\":[{\"validateScale\":0}]}]]],[\"bn-chart-scatter\",[[1,\"bn-chart-scatter\",{\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"x\":[1],\"y\":[1],\"iso\":[1],\"level\":[1],\"seriesLevel\":[1,\"series-level\"],\"facet\":[1],\"labels\":[1],\"legend\":[1],\"aspect\":[1],\"limit\":[2],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"x\":[{\"validateX\":0}],\"y\":[{\"validateY\":0}],\"iso\":[{\"validateIso\":0}],\"level\":[{\"validateLevel\":0}],\"seriesLevel\":[{\"validateSeriesLevel\":0}],\"facet\":[{\"validateFacet\":0}],\"labels\":[{\"validateLabels\":0}],\"legend\":[{\"validateLegend\":0}],\"aspect\":[{\"validateAspect\":0}],\"limit\":[{\"validateLimit\":0}],\"scale\":[{\"validateScale\":0}]}]]],[\"bn-grid\",[[257,\"bn-grid\",{\"chartTitle\":[1,\"chart-title\"],\"rowHeaders\":[1,\"row-headers\"],\"columnHeaders\":[1,\"column-headers\"],\"showRowHeaders\":[1,\"show-row-headers\"],\"showColumnHeaders\":[1,\"show-column-headers\"],\"showBorders\":[1,\"show-borders\"],\"rowHeaderWidth\":[1,\"row-header-width\"],\"cellGap\":[1,\"cell-gap\"],\"gridConfig\":[32]},null,{\"rowHeaders\":[{\"validateRowHeaders\":0}],\"columnHeaders\":[{\"validateColumnHeaders\":0}],\"showRowHeaders\":[{\"validateShowRowHeaders\":0}],\"showColumnHeaders\":[{\"validateShowColumnHeaders\":0}],\"showBorders\":[{\"validateShowBorders\":0}]}]]],[\"bn-image\",[[1,\"bn-image\",{\"source\":[1]}]]],[\"bn-internationalization\",[[0,\"bn-internationalization\",{\"code\":[1],\"namespace\":[1]}]]],[\"bn-ruleset\",[[0,\"bn-ruleset\",{\"name\":[1]}]]],[\"bn-template\",[[257,\"bn-template\",{\"templateId\":[1,\"template-id\"]}]]],[\"bn-text\",[[1,\"bn-text\",{\"value\":[1],\"scale\":[1],\"data\":[32]},null,{\"value\":[{\"validateValue\":0}],\"scale\":[{\"validateScaling\":0}]}]]],[\"bn-tree\",[[257,\"bn-tree\",{\"edges\":[1],\"direction\":[1],\"levelSpacing\":[2,\"level-spacing\"],\"nodeSpacing\":[2,\"node-spacing\"],\"edgeStyle\":[1,\"edge-style\"],\"showOperators\":[1,\"show-operators\"],\"treeConfig\":[32],\"layout\":[32],\"nodeRects\":[32],\"svgWidth\":[32],\"svgHeight\":[32]},null,{\"edges\":[{\"validateEdgesProp\":0}],\"direction\":[{\"validateDirection\":0}],\"levelSpacing\":[{\"validateLevelSpacing\":0}],\"nodeSpacing\":[{\"validateNodeSpacing\":0}],\"edgeStyle\":[{\"validateEdgeStyle\":0}],\"showOperators\":[{\"validateShowOperators\":0}]}]]],[\"editor-companion\",[[0,\"editor-companion\",{\"internationalizationKeys\":[64],\"getDistinctFromDataSource\":[64],\"getDistinctFromDataset\":[64]}]]],[\"ibcs-chart-bubble\",[[1,\"ibcs-chart-bubble\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"x\":[16],\"y\":[16],\"size\":[16],\"share\":[16],\"compareFamily\":[1,\"compare-family\"],\"labels\":[16],\"legend\":[16],\"facet\":[16],\"pointLevel\":[1,\"point-level\"],\"seriesLevel\":[1,\"series-level\"],\"aspect\":[2],\"limit\":[2],\"filter\":[1],\"sizeAreaPerUnit\":[2,\"size-area-per-unit\"],\"styles\":[16],\"i18n\":[16],\"containerWidth\":[2,\"container-width\"],\"ruleSetConfig\":[16],\"errors\":[16],\"translate\":[16]}]]],[\"ibcs-chart-scatter\",[[1,\"ibcs-chart-scatter\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"x\":[16],\"y\":[16],\"iso\":[16],\"labels\":[16],\"legend\":[16],\"facet\":[16],\"pointLevel\":[1,\"point-level\"],\"seriesLevel\":[1,\"series-level\"],\"aspect\":[2],\"limit\":[2],\"filter\":[1],\"styles\":[16],\"i18n\":[16],\"containerWidth\":[2,\"container-width\"],\"ruleSetConfig\":[16],\"errors\":[16],\"translate\":[16]}]]],[\"bn-asset_21\",[[257,\"bn-layout-page\",{\"styles\":[1],\"selectedStyle\":[1,\"selected-style\"],\"ruleset\":[1],\"messageText\":[1,\"message-text\"],\"messageImage\":[1,\"message-image\"],\"titleBusinessUnit\":[1,\"title-business-unit\"],\"titleScenarios\":[1,\"title-scenarios\"],\"titleVariances\":[1,\"title-variances\"],\"titleOrder\":[1,\"title-order\"],\"titleOrderDirection\":[1,\"title-order-direction\"],\"titleMeasures\":[1,\"title-measures\"],\"titleDateStart\":[1,\"title-date-start\"],\"titleDateEnd\":[1,\"title-date-end\"],\"titleDateFormat\":[1,\"title-date-format\"],\"titleDateLink\":[1,\"title-date-link\"],\"titleNamespace\":[1,\"title-namespace\"],\"pageFormat\":[1,\"page-format\"],\"pageOrientation\":[1,\"page-orientation\"],\"pageNumber\":[1,\"page-number\"],\"footerText\":[1,\"footer-text\"],\"footerDisplayPageNumber\":[4,\"footer-display-page-number\"],\"pageLayout\":[1,\"page-layout\"],\"pageCustomTemplate\":[1,\"page-custom-template\"],\"pageGridGap\":[1,\"page-grid-gap\"],\"pageFitToContent\":[4,\"page-fit-to-content\"],\"getNumberOfSlot\":[64]}],[257,\"bn-layout-card\",{\"styles\":[1],\"selectedStyle\":[1,\"selected-style\"],\"ruleset\":[1],\"titleImage\":[1,\"title-image\"],\"titleBusinessUnit\":[1,\"title-business-unit\"],\"titleScenarios\":[1,\"title-scenarios\"],\"titleVariances\":[1,\"title-variances\"],\"titleOrder\":[1,\"title-order\"],\"titleOrderDirection\":[1,\"title-order-direction\"],\"titleMeasures\":[1,\"title-measures\"],\"titleDateStart\":[1,\"title-date-start\"],\"titleDateEnd\":[1,\"title-date-end\"],\"titleDateFormat\":[1,\"title-date-format\"],\"titleDateLink\":[1,\"title-date-link\"],\"titleNamespace\":[1,\"title-namespace\"],\"footerText\":[1,\"footer-text\"],\"cardLayout\":[1,\"card-layout\"],\"cardCustomTemplate\":[1,\"card-custom-template\"],\"cardGridGap\":[1,\"card-grid-gap\"],\"cardFitToContent\":[4,\"card-fit-to-content\"],\"cardShowBorder\":[4,\"card-show-border\"],\"getNumberOfSlot\":[64]}],[1,\"bn-chart-structure\",{\"chartTitle\":[1,\"chart-title\"],\"ruleset\":[513],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"limit\":[2],\"showCategories\":[1,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[1,\"show-measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"stack\":[1],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"limit\":[{\"validateLimit\":0}],\"showCategories\":[{\"validateShowCategories\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}]}],[1,\"bn-chart-time\",{\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"syncSpaceLeft\":[2,\"sync-space-left\"],\"limit\":[2],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"dateInterval\":[1,\"date-interval\"],\"chartMode\":[1,\"chart-mode\"],\"maxBars\":[2,\"max-bars\"],\"stack\":[1],\"scale\":[1],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"axisLabelsMode\":[1,\"axis-labels-mode\"],\"lineFullWidth\":[1,\"line-full-width\"],\"showCategories\":[1,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[1,\"show-measure-scale\"],\"showOverlayAvg\":[1,\"show-overlay-avg\"],\"showOverlayMedian\":[1,\"show-overlay-median\"],\"measureUnit\":[1,\"measure-unit\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"syncSpaceLeft\":[{\"validateLeftSync\":0}],\"limit\":[{\"validateLimit\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"dateInterval\":[{\"validateDateInterval\":0}],\"chartMode\":[{\"validateChartMode\":0}],\"maxBars\":[{\"validateMaxBars\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}],\"axisLabelsMode\":[{\"validateAxisLabelsMode\":0}],\"lineFullWidth\":[{\"validateLineFullWidth\":0}],\"showCategories\":[{\"validateShowCategories\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"showOverlayAvg\":[{\"validateShowOverlayAvg\":0}],\"showOverlayMedian\":[{\"validateShowOverlayMedian\":0}]}],[1,\"bn-table\",{\"scale\":[1],\"ruleset\":[513],\"sumTitle\":[1,\"sum-title\"],\"filter\":[1],\"measureUnit\":[1,\"measure-unit\"],\"scenarios\":[1],\"variances\":[1],\"barColumns\":[1,\"bar-columns\"],\"barColumnWidth\":[1,\"bar-column-width\"],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"dataFormat\":[1,\"data-format\"],\"grouped\":[1],\"showMeasureScale\":[1,\"show-measure-scale\"],\"showGroupTitle\":[1,\"show-group-title\"],\"type\":[1],\"limit\":[2],\"thereof\":[1],\"partof\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"measureType\":[1,\"measure-type\"],\"measureScale\":[1,\"measure-scale\"],\"dataFormatDigitsDecimal\":[2,\"data-format-digits-decimal\"],\"dataFormatDigitsPercent\":[2,\"data-format-digits-percent\"],\"categoryWidth\":[1,\"category-width\"],\"columnthereof\":[1],\"interval\":[1],\"tableAttributes\":[1,\"attributes\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"hasBlankSetnames\":[32]},null,{\"scale\":[{\"validateScaling\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"barColumns\":[{\"validateBarColumns\":0}],\"barColumnWidth\":[{\"validateBarColumnWidth\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"dataFormat\":[{\"validateDataFormat\":0}],\"grouped\":[{\"validateGrouped\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"showGroupTitle\":[{\"validateShowGroupTitle\":0}],\"type\":[{\"validateType\":0}],\"limit\":[{\"validateLimit\":0}],\"thereof\":[{\"validateThereOf\":0}],\"partof\":[{\"validatePartOf\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"measureType\":[{\"validateMeasureType\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"dataFormatDigitsDecimal\":[{\"validateDataFormatDigitsDecimal\":0}],\"dataFormatDigitsPercent\":[{\"validateDateFormatDigitsPercent\":0}],\"categoryWidth\":[{\"validateCategoryWidth\":0}],\"columnthereof\":[{\"validateColumnThereOf\":0}],\"interval\":[{\"validateInterval\":0}],\"tableAttributes\":[{\"validateTableAttributes\":0}]}],[1,\"bn-asset\",{\"name\":[1]}],[0,\"bn-component-style\",{\"name\":[1]}],[257,\"bn-context\",{\"locale\":[1]},null,{\"locale\":[{\"setLocale\":0}]}],[0,\"bn-dataset\",{\"name\":[1],\"datasources\":[1],\"static\":[4],\"raw\":[4],\"interval\":[2]},null,{\"name\":[{\"nameUpdated\":0}],\"interval\":[{\"onIntervalChange\":0}]}],[0,\"bn-datasource\",{\"name\":[1],\"raw\":[4],\"interval\":[2]},null,{\"interval\":[{\"onIntervalChange\":0}]}],[0,\"bn-scaling-group\",{\"name\":[1],\"value\":[2]},null,{\"name\":[{\"onNameChange\":0}],\"value\":[{\"onValueChange\":0}]}],[257,\"bn-card\"],[1,\"bn-message\",{\"text\":[1025],\"image\":[1]}],[257,\"bn-page\",{\"format\":[1],\"orientation\":[1]},null,{\"format\":[{\"validateFormat\":0}],\"orientation\":[{\"validateOrientation\":0}]}],[1,\"ibcs-chart-structure\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideCategories\":[4,\"hide-categories\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"limit\":[2],\"styles\":[1040],\"i18n\":[1040],\"order\":[16],\"level\":[1],\"filter\":[1],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"dataFormatDigits\":[16],\"stackConfig\":[16],\"parentDimensions\":[16],\"ruleSetConfig\":[16]}],[1,\"ibcs-chart-time\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideAxisLabels\":[4,\"hide-axis-labels\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"limit\":[2],\"leftSideOffsetForHorizontalSync\":[2,\"left-side-offset-for-horizontal-sync\"],\"styles\":[1040],\"i18n\":[1040],\"order\":[16],\"level\":[1],\"dateInterval\":[1,\"date-interval\"],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"axisLabelsMode\":[1,\"axis-labels-mode\"],\"filter\":[1],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"showOverlayMedian\":[4,\"show-overlay-median\"],\"showOverlayAvg\":[4,\"show-overlay-avg\"],\"chartMode\":[1,\"chart-mode\"],\"maxBars\":[2,\"max-bars\"],\"stackConfig\":[16],\"lineFullWidth\":[4,\"line-full-width\"],\"containerWidth\":[2,\"container-width\"],\"dataFormatDigits\":[16],\"parentDimensions\":[16],\"ruleSetConfig\":[16]}],[1,\"ibcs-table\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"sumTitle\":[1,\"sum-title\"],\"scenarios\":[16],\"scenariosDataFormat\":[1,\"scenarios-data-format\"],\"grouped\":[4],\"limit\":[2],\"showGroupTitle\":[4,\"show-group-title\"],\"thereof\":[16],\"partof\":[16],\"order\":[16],\"categorythereof\":[16],\"attributeColumns\":[16],\"type\":[1],\"categoryWidth\":[1,\"category-width\"],\"dataFormatDigits\":[16],\"ruleSetConfig\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"measureType\":[1,\"measure-type\"],\"filter\":[1],\"barColumns\":[16],\"interval\":[1],\"barColumnMaxWidth\":[2,\"bar-column-max-width\"],\"unitScaling\":[2,\"unit-scaling\"],\"percentageScaling\":[2,\"percentage-scaling\"],\"scaleFactor\":[2,\"scale-factor\"]}],[1,\"bn-title\",{\"ruleset\":[513],\"businessUnit\":[1,\"business-unit\"],\"scenarios\":[1],\"variances\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"measures\":[1],\"dateStart\":[1,\"date-start\"],\"dateEnd\":[1,\"date-end\"],\"dateFormat\":[1,\"date-format\"],\"dateLink\":[1,\"date-link\"]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"order\":[{\"validateOrder\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"measures\":[{\"validateMeasures\":0}],\"dateStart\":[{\"validateDateStart\":0}],\"dateEnd\":[{\"validateDateEnd\":0}],\"dateFormat\":[{\"validateDateFormat\":0}],\"dateLink\":[{\"validateDateLink\":0}]}],[257,\"bn-body\"],[1,\"bn-footer\",{\"pageNumber\":[1026,\"page-number\"],\"text\":[1025],\"code\":[1025],\"displayPageNumber\":[4,\"display-page-number\"]}],[1,\"ibcs-title\",{\"businessUnit\":[1537,\"business-unit\"],\"scenarios\":[16],\"measures\":[16],\"timeperiod\":[16],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"order\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"ruleSetConfig\":[16],\"setBusinessUnit\":[64],\"setProps\":[64]}]]]]"), options);
48
48
  });
@@ -8,7 +8,7 @@ const Template = class {
8
8
  this.errors = withHasError(this);
9
9
  }
10
10
  render() {
11
- return (h(Host, { key: 'cd6a2945603feda3610bc9f2678e03b26f54d6dd' }, h("slot", { key: '0e2ba3942a4ef74ab334572656383e85be7e1654' })));
11
+ return (h(Host, { key: '297aed9fd195f26fa714ee9f616ea6db30c749ce' }, h("slot", { key: '3048b6ea5c3770ad7d9149e2be83dc82294107fb' })));
12
12
  }
13
13
  get element() { return getElement(this); }
14
14
  };
@@ -1,86 +1,14 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-B_d-jp99.js';
2
- import { w as withTranslation, a as withDataset, g as getParentDimensions, p as parseScaling } from './scaling-h4KcBet3.js';
2
+ import { a as withTranslation, w as withDataset, g as getParentDimensions, p as parseScaling } from './scaling-B7Pa0d_s.js';
3
3
  import { w as withComponentStatus, a as withHasError } from './withHasError-DW_vMDUp.js';
4
- import { w as withStyled, a as withComponentStyle } from './withStyled-BBvU2f-A.js';
5
- import './context-protocol-BB-4Onmw.js';
4
+ import { w as withStyled, b as withComponentStyle } from './withStyled-DTvj2nar.js';
5
+ import { s as sanitizeHtml } from './sanitizeHtml-BA48JiHe.js';
6
+ import './context-protocol-BNHTlllP.js';
7
+ import './VarianceMeasure-Cxshx01h.js';
6
8
 
7
9
  const bnTextCss = () => `:host{padding:0.5em;display:inline-block;position:relative;overflow:hidden;font-family:var(--bn-font-family, "Noto Sans", sans-serif);font-size:var(--bn-font-size, 13.3333px);color:var(--bn-font-color, #000000);background-color:var(--bn-font-background, white)}span.container p{margin:0}`;
8
10
 
9
- const ALLOWED_TAGS = new Set([
10
- "br",
11
- "b",
12
- "i",
13
- "strong",
14
- "em",
15
- "span",
16
- "p",
17
- "div",
18
- "table",
19
- "tr",
20
- "td",
21
- "th",
22
- "thead",
23
- "tbody",
24
- "tfoot",
25
- "ul",
26
- "ol",
27
- "li",
28
- "h1",
29
- "h2",
30
- "h3",
31
- "h4",
32
- "h5",
33
- "h6",
34
- "sub",
35
- "sup",
36
- "small",
37
- "hr",
38
- "a",
39
- "img",
40
- ]);
41
- const ALLOWED_ATTRS = new Set([
42
- "class",
43
- "style",
44
- "colspan",
45
- "rowspan",
46
- "href",
47
- "title",
48
- "src",
49
- "alt",
50
- "width",
51
- "height",
52
- ]);
53
11
  const DANGEROUS_PATTERN = /\b(__proto__|globalThis)\b|\.constructor\b/;
54
- function sanitizeHtml(html) {
55
- const container = document.createElement("div");
56
- container.innerHTML = html;
57
- sanitizeNode(container);
58
- return container.innerHTML;
59
- }
60
- function sanitizeNode(node) {
61
- for (const child of Array.from(node.childNodes)) {
62
- if (child.nodeType !== Node.ELEMENT_NODE)
63
- continue;
64
- const el = child;
65
- if (!ALLOWED_TAGS.has(el.tagName.toLowerCase())) {
66
- node.replaceChild(document.createTextNode(el.textContent || ""), el);
67
- continue;
68
- }
69
- for (const attr of Array.from(el.attributes)) {
70
- const name = attr.name.toLowerCase();
71
- if (name.startsWith("on") || !ALLOWED_ATTRS.has(name)) {
72
- el.removeAttribute(attr.name);
73
- }
74
- else if ((name === "href" || name === "src") && /^\s*javascript:/i.test(attr.value)) {
75
- el.removeAttribute(attr.name);
76
- }
77
- else if (name === "style" && /expression|javascript/i.test(attr.value)) {
78
- el.removeAttribute(attr.name);
79
- }
80
- }
81
- sanitizeNode(el);
82
- }
83
- }
84
12
  const Text = class {
85
13
  constructor(hostRef) {
86
14
  registerInstance(this, hostRef);
@@ -256,7 +184,7 @@ const Text = class {
256
184
  "--bn-font-color": fontStyles.color,
257
185
  "--bn-font-background": fontStyles.background,
258
186
  };
259
- return (h(Host, { key: '086c3caad1f7c502e26ebbd1bf7d9044782333ab', style: cssVars }, h("div", { key: '584938536bedd3de7a6390ce9d57fb568a69191b' }, h("span", { key: 'b545bd809b32d2d0cac2310bd1003dab39bebc8a', class: "container", ref: (el) => {
187
+ return (h(Host, { key: '07508edce15f5716e05ca9e4644b6f2c8d6efff1', style: cssVars }, h("div", { key: 'b86016ce2ca4cfa55b6eac62de9a61fa23b83b13' }, h("span", { key: '912e9755d52faf58053f9c8e02d44bf43cd5b355', class: "container", ref: (el) => {
260
188
  this.container = el;
261
189
  } }))));
262
190
  }
@@ -1,7 +1,8 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-B_d-jp99.js';
2
- import { b as isValidNumber, i as isValidBoolean, w as withStyled, a as withComponentStyle } from './withStyled-BBvU2f-A.js';
2
+ import { e as isValidNumber, d as isValidBoolean, w as withStyled, b as withComponentStyle } from './withStyled-DTvj2nar.js';
3
3
  import { w as withComponentStatus, a as withHasError } from './withHasError-DW_vMDUp.js';
4
- import './context-protocol-BB-4Onmw.js';
4
+ import './context-protocol-BNHTlllP.js';
5
+ import './VarianceMeasure-Cxshx01h.js';
5
6
 
6
7
  /**
7
8
  * Tree Parser utility for bn-tree component
@@ -275,6 +275,113 @@ const createStore = (defaultState, shouldUpdate) => {
275
275
  return map;
276
276
  };
277
277
 
278
+ /**
279
+ * Series color palette and IBCS mark treatments for the XY charts
280
+ * (bn-chart-scatter, bn-chart-bubble).
281
+ *
282
+ * XY charts compose two orthogonal encodings: the **series hue** (which
283
+ * product line / group a point belongs to) and the **scenario treatment**
284
+ * (solid / tinted / hatched / outlined, selected through the rule-set
285
+ * `colorIndex`). Tints and shades are computed colors, never opacity —
286
+ * opacity creates blend artifacts where marks overlap.
287
+ */
288
+ /**
289
+ * Default series palette, assigned by series `*Index` order. The first
290
+ * series uses the near-black IBCS base color.
291
+ */
292
+ const XY_SERIES_PALETTE = ["#404040", "#F2C14E", "#F07D00", "#4E8FE0", "#7FD6C2", "#D97C7C"];
293
+ /**
294
+ * Mixes two hex colors per channel in sRGB space.
295
+ *
296
+ * @param hexA - Base color, `#rrggbb`
297
+ * @param hexB - Mix-in color, `#rrggbb`
298
+ * @param ratioOfB - Portion of `hexB` in the result, 0..1
299
+ */
300
+ function mixHex(hexA, hexB, ratioOfB) {
301
+ const channel = (offset) => {
302
+ const a = parseInt(hexA.slice(offset, offset + 2), 16);
303
+ const b = parseInt(hexB.slice(offset, offset + 2), 16);
304
+ const mixed = Math.round(a + (b - a) * ratioOfB);
305
+ return mixed.toString(16).padStart(2, "0");
306
+ };
307
+ return `#${channel(1)}${channel(3)}${channel(5)}`;
308
+ }
309
+ /** Light variant of a series hue (60% white) — the PP/PY treatment. */
310
+ function tint(hex) {
311
+ return mixHex(hex, "#ffffff", 0.6);
312
+ }
313
+ /** Dark variant of a series hue (25% black) — used for pie-share slices. */
314
+ function shade(hex) {
315
+ return mixHex(hex, "#000000", 0.25);
316
+ }
317
+ /**
318
+ * Resolves the color for a series by its order index. Indices beyond the
319
+ * palette cycle through it with a tint step per cycle; `overflowed` signals
320
+ * that the chart should raise the `xy-series-overflow` warning.
321
+ */
322
+ function resolveSeriesColor(index, seriesColors) {
323
+ const colors = seriesColors.length > 0 ? seriesColors : XY_SERIES_PALETTE;
324
+ const cycle = Math.floor(index / colors.length);
325
+ let color = colors[index % colors.length];
326
+ for (let i = 0; i < cycle; i++) {
327
+ color = tint(color);
328
+ }
329
+ return { color, overflowed: cycle > 0 };
330
+ }
331
+ /**
332
+ * Maps a rule-set `colorIndex` and a series hue to the IBCS mark treatment.
333
+ *
334
+ * | colorIndex | IBCS meaning | Bubble | Dot |
335
+ * | ---------- | ------------------- | ------------------------------- | ---------------------------- |
336
+ * | 10 (ac) | solid dark | solid hue | solid hue |
337
+ * | 20 (pp/py) | light | tinted hue | tinted hue |
338
+ * | 30 (fc) | hatched | white + hue hatch + hue stroke | white + dashed hue ring |
339
+ * | 50 (pl/bu) | outlined | white + solid hue stroke | white + solid hue ring |
340
+ */
341
+ function markTreatment(colorIndex, hue, kind) {
342
+ const strokeWidth = kind === "dot" ? 0.75 : 1;
343
+ switch (colorIndex) {
344
+ case 20:
345
+ return { fill: tint(hue), stroke: "#ffffff", strokeWidth };
346
+ case 30:
347
+ if (kind === "bubble") {
348
+ return { fill: "#ffffff", stroke: hue, strokeWidth, hatch: true };
349
+ }
350
+ return { fill: "#ffffff", stroke: hue, strokeWidth, dasharray: "2,1.5" };
351
+ case 50:
352
+ return { fill: "#ffffff", stroke: hue, strokeWidth };
353
+ case 10:
354
+ default:
355
+ return { fill: hue, stroke: "#ffffff", strokeWidth };
356
+ }
357
+ }
358
+
359
+ const xyChartStyleDefaults = () => ({
360
+ scaleFactors: {
361
+ pointRadius: 0.4,
362
+ bubbleMaxRadius: 3.2,
363
+ bubbleMinRadius: 0.35,
364
+ axisTickLength: 0.35,
365
+ labelToMark: 0.3,
366
+ legendSwatch: 0.9,
367
+ panelGap: 1.6,
368
+ refLineWidth: 1,
369
+ gridLineWidth: 1,
370
+ },
371
+ axisStyles: {
372
+ ac: { stroke: "#A6A6A6", fill: "#A6A6A6", width: 1 },
373
+ fc: { stroke: "#808080", fill: "#808080", width: 1 },
374
+ pp: { stroke: "#D9D9D9", fill: "#D9D9D9", width: 1 },
375
+ pl: { stroke: "#EFEFEF", fill: "#EFEFEF", width: 1 },
376
+ },
377
+ seriesColors: [...XY_SERIES_PALETTE],
378
+ padding: {
379
+ top: 10,
380
+ left: 10,
381
+ right: 10,
382
+ bottom: 10,
383
+ },
384
+ });
278
385
  const SYSTEM_STYLE_DEFAULTS = {
279
386
  global: {
280
387
  fontFamily: "'Noto Sans', sans-serif",
@@ -369,6 +476,8 @@ const SYSTEM_STYLE_DEFAULTS = {
369
476
  bottom: 10,
370
477
  },
371
478
  },
479
+ "bn-chart-scatter": xyChartStyleDefaults(),
480
+ "bn-chart-bubble": xyChartStyleDefaults(),
372
481
  "bn-tree": {
373
482
  edgeColor: "#404040",
374
483
  edgeWidth: 1,
@@ -456,6 +565,42 @@ const globalLabelKeys = [
456
565
  "ibcssymbol_delta_ac_relative",
457
566
  "ibcssymbol_delta_generic_relative",
458
567
  ];
568
+ /**
569
+ * Message keys shared by both XY charts (`bn-chart-scatter`,
570
+ * `bn-chart-bubble`): axis captions, legend labels, the no-data text, and
571
+ * one message per warning/error code the charts can raise (`{{…}}`
572
+ * placeholders are interpolated by `withTranslation`).
573
+ */
574
+ const xyChartKeysDe = {
575
+ axis: { in: "in" },
576
+ legend: { title: "" },
577
+ "no-data": "==Keine Daten==",
578
+ "xy-prop-json": "{{prop}}: ungültiges JSON.",
579
+ "xy-measure-invalid": "{{prop}}: '{{measure}}' ist weder eine Szenario-Spalte noch ein Varianz-Token.",
580
+ "xy-family-mixed": "Alle Kennzahlen müssen zur selben Szenario-Familie gehören (gefunden: {{families}}).",
581
+ "xy-level-order": "Facet-, Serien- und Punktebene müssen in der Hierarchie streng absteigen ({{detail}}).",
582
+ "xy-duplicate-point": "{{count}} doppelte Punkt-Identität(en) verworfen (erste Zeile gewinnt): {{names}}. Im DataSet-SQL aggregieren.",
583
+ "xy-point-clipped": "{{count}} Punkt(e) außerhalb des expliziten min/max ausgeschlossen.",
584
+ "xy-variance-nodata": "{{count}} Zeile(n) ohne Varianzdaten ausgeschlossen.",
585
+ "xy-label-unknown": "Unbekannte Label-Namen: {{names}}.",
586
+ "xy-series-overflow": "Mehr Serien als Palettenfarben; Farben wiederholen sich aufgehellt.",
587
+ "xy-point-budget": "{{count}} Punkte überschreiten das Budget von 5000 Punkten; 'limit' erwägen.",
588
+ };
589
+ const xyChartKeysEn = {
590
+ axis: { in: "in" },
591
+ legend: { title: "" },
592
+ "no-data": "==No Data==",
593
+ "xy-prop-json": "{{prop}}: invalid JSON.",
594
+ "xy-measure-invalid": "{{prop}}: '{{measure}}' is neither a scenario column nor a variance token.",
595
+ "xy-family-mixed": "All measures must share one scenario family (found: {{families}}).",
596
+ "xy-level-order": "Facet, series, and point levels must strictly descend in the hierarchy ({{detail}}).",
597
+ "xy-duplicate-point": "{{count}} duplicate point identitie(s) dropped (first row wins): {{names}}. Aggregate in the DataSet SQL.",
598
+ "xy-point-clipped": "{{count}} point(s) outside the explicit min/max excluded.",
599
+ "xy-variance-nodata": "{{count}} row(s) without variance data excluded.",
600
+ "xy-label-unknown": "Unknown label name(s): {{names}}.",
601
+ "xy-series-overflow": "More series than palette colors; colors repeat with a tint step.",
602
+ "xy-point-budget": "{{count}} points exceed the 5000-point budget; consider 'limit'.",
603
+ };
459
604
  const de = flattenObject({
460
605
  global: {
461
606
  ac1: "AC",
@@ -487,6 +632,8 @@ const de = flattenObject({
487
632
  in: "in",
488
633
  },
489
634
  "bn-chart": {},
635
+ "bn-chart-scatter": Object.assign(Object.assign({}, xyChartKeysDe), { "xy-iso-domain": "Iso-Linien benötigen einen strikt positiven Wertebereich auf beiden Achsen; übersprungen." }),
636
+ "bn-chart-bubble": Object.assign(Object.assign({}, xyChartKeysDe), { legend: Object.assign(Object.assign({}, xyChartKeysDe.legend), { size: "Größe", compare: "Szenarien" }), "xy-compare-variance": "compareWith kann nicht mit Varianz-Kennzahlen auf den Achsen kombiniert werden.", "bubble-size-negative": "{{count}} Blase(n) mit negativem Größenwert ausgeschlossen.", "bubble-share-range": "{{count}} Anteilswert(e) außerhalb [0,1] wurden begrenzt.", "bubble-scale-group-unknown": "size.group '{{group}}' verweist auf keine bn-scaling-group im Kontext.", "bubble-scale-overflow": "{{count}} gruppenskalierte Blase(n) überschreiten das Panel; in Originalgröße gezeichnet." }),
490
637
  "bn-table": {
491
638
  in: "in",
492
639
  category: " ",
@@ -528,6 +675,8 @@ const en = flattenObject({
528
675
  in: "in",
529
676
  },
530
677
  "bn-chart": {},
678
+ "bn-chart-scatter": Object.assign(Object.assign({}, xyChartKeysEn), { "xy-iso-domain": "Iso-lines need a strictly positive domain on both axes; skipped." }),
679
+ "bn-chart-bubble": Object.assign(Object.assign({}, xyChartKeysEn), { legend: Object.assign(Object.assign({}, xyChartKeysEn.legend), { size: "Size", compare: "Scenarios" }), "xy-compare-variance": "compareWith cannot be combined with variance measures on the axes.", "bubble-size-negative": "{{count}} bubble(s) with a negative size value excluded.", "bubble-share-range": "{{count}} share value(s) outside [0,1] were clamped.", "bubble-scale-group-unknown": "size.group '{{group}}' names no bn-scaling-group in scope.", "bubble-scale-overflow": "{{count}} group-scaled bubble(s) exceed the panel; rendered true-size." }),
531
680
  "bn-table": {
532
681
  category: " ",
533
682
  operation: " ",
@@ -540,6 +689,53 @@ const en = flattenObject({
540
689
  const BN_INTERNATIONALIZATION_KEYS = Object.keys(de || {});
541
690
  const SYSTEM_I18N_DEFAULTS = { _system: { de, en } };
542
691
 
692
+ /**
693
+ * Reactive store for user-adjustable IBCS visualization rule sets.
694
+ *
695
+ * Rule sets are resolved through a three-layer merge:
696
+ * 1. `_system` -- built-in IBCS defaults (scenario names, color and sort indices)
697
+ * 2. `_default` -- optional user-level overrides applied globally
698
+ * 3. Named rule sets -- overrides referenced by the `ruleset` attribute
699
+ *
700
+ * The `withRuleSet` mixin merges these layers and the resulting config seeds
701
+ * `IBCSRuleSet`, which expands each scenario prefix to its 1-4 variants.
702
+ *
703
+ * @module stores/ruleSets
704
+ */
705
+ /**
706
+ * Built-in IBCS rule-set defaults per IBCS notation standard v1.2.
707
+ * Sort order: PP(100s) < PL(200s) < FC(300s) < AC(400s); variance prefixes
708
+ * add +1000 (absolute) or +2000 (relative).
709
+ */
710
+ const SYSTEM_RULESET_DEFAULTS = {
711
+ scenarios: {
712
+ ac: { name: "AC", colorIndex: 10, sortIndex: 400 },
713
+ fc: { name: "FC", colorIndex: 30, sortIndex: 300 },
714
+ pl: { name: "PL", colorIndex: 50, sortIndex: 200 },
715
+ bu: { name: "BU", colorIndex: 50, sortIndex: 200 },
716
+ pp: { name: "PP", colorIndex: 20, sortIndex: 100 },
717
+ py: { name: "PY", colorIndex: 20, sortIndex: 100 },
718
+ dac: { name: "dAC", colorIndex: 10, sortIndex: 1400 },
719
+ dfc: { name: "dFC", colorIndex: 30, sortIndex: 1300 },
720
+ dpl: { name: "dPL", colorIndex: 50, sortIndex: 1200 },
721
+ dbu: { name: "dBU", colorIndex: 50, sortIndex: 1200 },
722
+ dpp: { name: "dPP", colorIndex: 20, sortIndex: 1100 },
723
+ dpy: { name: "dPY", colorIndex: 20, sortIndex: 1100 },
724
+ drac: { name: "drAC", colorIndex: 10, sortIndex: 2400 },
725
+ drfc: { name: "drFC", colorIndex: 30, sortIndex: 2300 },
726
+ drpl: { name: "drPL", colorIndex: 50, sortIndex: 2200 },
727
+ drbu: { name: "drBU", colorIndex: 50, sortIndex: 2200 },
728
+ drpp: { name: "drPP", colorIndex: 20, sortIndex: 2100 },
729
+ drpy: { name: "drPY", colorIndex: 20, sortIndex: 2100 },
730
+ },
731
+ fallback: {
732
+ name: "Series",
733
+ group: "Series",
734
+ colorIndex: 10,
735
+ sortIndex: 120,
736
+ },
737
+ };
738
+
543
739
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
544
740
 
545
741
  function getDefaultExportFromCjs (x) {
@@ -9103,7 +9299,7 @@ function createScopedDb() {
9103
9299
  }
9104
9300
 
9105
9301
  /**
9106
- * Factory that creates a fresh set of all 8 `@stencil/store` instances.
9302
+ * Factory that creates a fresh set of all 9 `@stencil/store` instances.
9107
9303
  *
9108
9304
  * Called once per `<bn-context>` element so that each context owns isolated
9109
9305
  * reactive state. The returned object satisfies the {@link ScopedStores} interface.
@@ -9120,6 +9316,9 @@ function createScopedStores() {
9120
9316
  const assets = createStore({});
9121
9317
  const context = createStore({ locale: "en" });
9122
9318
  const scalingGroups = createStore({});
9319
+ const ruleSets = createStore({
9320
+ _system: SYSTEM_RULESET_DEFAULTS,
9321
+ });
9123
9322
  return {
9124
9323
  db,
9125
9324
  datasetsMeta,
@@ -9128,6 +9327,7 @@ function createScopedStores() {
9128
9327
  assets,
9129
9328
  context,
9130
9329
  scalingGroups,
9330
+ ruleSets,
9131
9331
  };
9132
9332
  }
9133
9333
 
@@ -9215,4 +9415,4 @@ function clearStoresCache(element) {
9215
9415
  storesCache.delete(element);
9216
9416
  }
9217
9417
 
9218
- export { BN_INTERNATIONALIZATION_KEYS as B, DateTime as D, globalLabelKeys as a, getDefaultExportFromCjs as b, clearStoresCache as c, getOrCreateStores as d, buildFromExpr as e, flattenObject as f, getStores as g };
9418
+ export { BN_INTERNATIONALIZATION_KEYS as B, DateTime as D, SYSTEM_RULESET_DEFAULTS as S, XY_SERIES_PALETTE as X, globalLabelKeys as a, buildFromExpr as b, clearStoresCache as c, getDefaultExportFromCjs as d, getOrCreateStores as e, flattenObject as f, getStores as g, markTreatment as m, resolveSeriesColor as r, shade as s };
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, F as Fragment, g as getElement } from './index-B_d-jp99.js';
2
- import { g as getStores, B as BN_INTERNATIONALIZATION_KEYS } from './context-protocol-BB-4Onmw.js';
2
+ import { g as getStores, B as BN_INTERNATIONALIZATION_KEYS } from './context-protocol-BNHTlllP.js';
3
3
 
4
4
  const editorCompanionCss = () => `editor-companion{display:none}`;
5
5
 
@@ -33,7 +33,7 @@ const EditorCompanion = class {
33
33
  return Promise.resolve(result);
34
34
  }
35
35
  render() {
36
- return h(Fragment, { key: 'd6eb8ea68a4d507142547f4014f1dd3db58dcfd4' });
36
+ return h(Fragment, { key: '554d5879a3005af0d56eb7bbd1c681d618004fde' });
37
37
  }
38
38
  /** Materialize a table or view from the shared db, returning [] when it doesn't exist yet. */
39
39
  queryRows(name) {