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

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 (198) hide show
  1. package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
  2. package/dist/bn-template-engine/p-1265d8d3.entry.js +1 -0
  3. package/dist/bn-template-engine/p-15516dac.entry.js +1 -0
  4. package/dist/bn-template-engine/p-1c716641.entry.js +1 -0
  5. package/dist/bn-template-engine/p-27cc8dc0.entry.js +1 -0
  6. package/dist/bn-template-engine/p-3b4c7425.entry.js +1 -0
  7. package/dist/bn-template-engine/p-4426d484.entry.js +1 -0
  8. package/dist/bn-template-engine/p-51f8dc9e.entry.js +1 -0
  9. package/dist/bn-template-engine/p-53d4e690.entry.js +1 -0
  10. package/dist/bn-template-engine/p-5KQYRQLK.js +1 -0
  11. package/dist/bn-template-engine/p-7337e03d.entry.js +1 -0
  12. package/dist/bn-template-engine/{p-0f1504f3.entry.js → p-75e97c87.entry.js} +1 -1
  13. package/dist/bn-template-engine/p-7a560278.entry.js +1 -0
  14. package/dist/bn-template-engine/p-BYBpC0EO.js +1 -0
  15. package/dist/bn-template-engine/p-BfXY5dsy.js +1 -0
  16. package/dist/bn-template-engine/p-BgnHJQ9Q.js +1 -0
  17. package/dist/bn-template-engine/{p-B4ySv9KQ.js → p-Bhd_WSML.js} +1 -1
  18. package/dist/bn-template-engine/p-Bka-Z6jo.js +1 -0
  19. package/dist/bn-template-engine/p-Bnhh02CF.js +1 -0
  20. package/dist/bn-template-engine/p-C7dQL8CS.js +1 -0
  21. package/dist/bn-template-engine/p-CL1RYuNU.js +1 -0
  22. package/dist/bn-template-engine/p-CYwd_ZNM.js +1 -0
  23. package/dist/bn-template-engine/p-ChlK-T9I.js +1 -0
  24. package/dist/bn-template-engine/p-DHezf8pZ.js +1 -0
  25. package/dist/bn-template-engine/{p-DVMu6dEy.js → p-DlppAFq9.js} +1 -1
  26. package/dist/bn-template-engine/p-DvDDgmcV.js +1 -0
  27. package/dist/bn-template-engine/p-DvvwfRQG.js +1 -0
  28. package/dist/bn-template-engine/{p-DG-1MR_T.js → p-P7pGJBgc.js} +1 -1
  29. package/dist/bn-template-engine/p-abc0067c.entry.js +1 -0
  30. package/dist/bn-template-engine/p-b34eaf86.entry.js +1 -0
  31. package/dist/bn-template-engine/p-bdb8b44c.entry.js +1 -0
  32. package/dist/bn-template-engine/p-c44fcb8e.entry.js +1 -0
  33. package/dist/bn-template-engine/p-c7e1a49b.entry.js +1 -0
  34. package/dist/bn-template-engine/p-d9003041.entry.js +1 -0
  35. package/dist/bn-template-engine/p-daa7ffa3.entry.js +1 -0
  36. package/dist/bn-template-engine/p-e084f50a.entry.js +1 -0
  37. package/dist/bn-template-engine/p-eaba6658.entry.js +1 -0
  38. package/dist/bn-template-engine/{p-C0yAPzJz.js → p-u8igQLRZ.js} +1 -1
  39. package/dist/cjs/{DataFormatDigits-DAmZzqbD.js → DataFormatDigits-DKcOeLNK.js} +1 -1
  40. package/dist/cjs/{DateStringFactory-CcluhpGI.js → DateStringFactory-CSKvbS8K.js} +1 -1
  41. package/dist/cjs/{Order-BKoDS21t.js → Order-iG11HI4R.js} +8 -5
  42. package/dist/cjs/{SVGVariancesStyleGroup-DYYAU-81.js → SVGVariancesStyleGroup-K-Tw6lOD.js} +1 -14
  43. package/dist/cjs/bn-asset.cjs.entry.js +5 -4
  44. package/dist/cjs/bn-body_4.cjs.entry.js +15 -13
  45. package/dist/cjs/bn-card.cjs.entry.js +5 -4
  46. package/dist/cjs/{ibcs-chart-structure.cjs.entry.js → bn-chart-structure_5.cjs.entry.js} +1074 -30
  47. package/dist/cjs/bn-chart-time.cjs.entry.js +38 -12
  48. package/dist/cjs/bn-component-style.cjs.entry.js +5 -4
  49. package/dist/cjs/bn-dataset.cjs.entry.js +38 -9
  50. package/dist/cjs/bn-grid.cjs.entry.js +9 -7
  51. package/dist/cjs/bn-image.cjs.entry.js +9 -7
  52. package/dist/cjs/bn-internationalization.cjs.entry.js +5 -4
  53. package/dist/cjs/bn-layout-card.cjs.entry.js +3 -2
  54. package/dist/cjs/bn-layout-page.cjs.entry.js +2 -1
  55. package/dist/cjs/bn-message.cjs.entry.js +5 -4
  56. package/dist/cjs/bn-table.cjs.entry.js +981 -0
  57. package/dist/cjs/bn-template-engine.cjs.js +1 -1
  58. package/dist/cjs/bn-template.cjs.entry.js +3 -2
  59. package/dist/cjs/bn-text.cjs.entry.js +11 -9
  60. package/dist/cjs/bn-tree.cjs.entry.js +9 -7
  61. package/dist/cjs/contentDecoder-JxOldq1e.js +419 -0
  62. package/dist/cjs/{context-protocol-CRPmux5D.js → context-protocol-DRQWrwsA.js} +2 -0
  63. package/dist/cjs/editor-companion.cjs.entry.js +1 -1
  64. package/dist/cjs/emotion-hash.esm-nbbEQ0Dn.js +57 -0
  65. package/dist/cjs/ibcs-chart-time.cjs.entry.js +22 -18
  66. package/dist/cjs/{bn-context_5.cjs.entry.js → ibcs-table.cjs.entry.js} +122 -1293
  67. package/dist/cjs/{StringAdapter-Bneo8T4k.js → ibcsRuleSet-DgUoXOfd.js} +10 -10
  68. package/dist/cjs/index-Dm85hG6t.js +65 -0
  69. package/dist/cjs/loader.cjs.js +1 -1
  70. package/dist/cjs/{scaling-D8sIIKft.js → scaling-9Tz595RQ.js} +7 -7
  71. package/dist/cjs/{withHasError-B8gHkfV2.js → utils-CwHIVbbL.js} +1 -69
  72. package/dist/cjs/{withBodyObserver-C6gLgq_e.js → withBodyObserver-CKpSD8UT.js} +3 -3
  73. package/dist/cjs/{withComponentStatus-_x4LQZ0N.js → withComponentStatus-Bw70BhO0.js} +5 -5
  74. package/dist/cjs/{withComponentStyle-DMtic_9Y.js → withComponentStyle-aIbTCtfj.js} +5 -5
  75. package/dist/cjs/withHasError-D7ue5vAv.js +72 -0
  76. package/dist/cjs/{withStyled-CW30Bh6c.js → withStyled-CS1Yp4sv.js} +8 -61
  77. package/dist/cjs/{withTranslation-CWPAIRjh.js → withTranslation-rwgyITqe.js} +5 -5
  78. package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +226 -99
  79. package/dist/collection/components/bn-chart-structure/ibcs-chart-structure.js +13 -3
  80. package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +94 -11
  81. package/dist/collection/components/bn-chart-structure/utils/elements/Label.js +11 -0
  82. package/dist/collection/components/bn-chart-structure/utils/elements/StackedBar.js +8 -6
  83. package/dist/collection/components/bn-chart-structure/utils/model/styles/StructureChartStyle.js +4 -0
  84. package/dist/collection/components/bn-chart-time/bn-chart-time.js +28 -4
  85. package/dist/collection/components/bn-chart-time/utils/TimeChart.js +3 -3
  86. package/dist/collection/components/bn-chart-time/utils/elements/StackedColumn.js +3 -4
  87. package/dist/collection/components/bn-chart-time/utils/model/styles/TimeChartStyle.js +4 -0
  88. package/dist/collection/components/bn-dataset/bn-dataset.js +49 -2
  89. package/dist/collection/components/bn-datasource/bn-datasource.js +46 -3
  90. package/dist/collection/components/bn-table/bn-table.js +20 -21
  91. package/dist/collection/components/bn-table/ibcs-table.js +2 -2
  92. package/dist/collection/components/bn-table/utils/elements/CellBarChart.js +58 -41
  93. package/dist/collection/stores/componentStyles.js +2 -0
  94. package/dist/collection/utils/constants.js +8 -5
  95. package/dist/collection/utils/contentDecoder.js +28 -0
  96. package/dist/collection/utils/stackColors.js +2 -2
  97. package/dist/collection/utils/validate.js +1 -1
  98. package/dist/components/DataFormatDigits.js +1 -1
  99. package/dist/components/Order.js +1 -1
  100. package/dist/components/SVGVariancesStyleGroup.js +1 -1
  101. package/dist/components/bn-chart-structure.js +1 -1
  102. package/dist/components/bn-chart-time.js +1 -1
  103. package/dist/components/bn-dataset.js +1 -1
  104. package/dist/components/bn-datasource.js +1 -1
  105. package/dist/components/bn-table.js +1 -1
  106. package/dist/components/contentDecoder.js +1 -0
  107. package/dist/components/context-protocol.js +1 -1
  108. package/dist/components/emotion-hash.esm.js +1 -0
  109. package/dist/components/ibcs-chart-structure2.js +1 -1
  110. package/dist/components/ibcs-chart-time2.js +1 -1
  111. package/dist/components/ibcs-table2.js +1 -1
  112. package/dist/components/ibcs-title2.js +1 -1
  113. package/dist/components/ibcsRuleSet.js +1 -1
  114. package/dist/components/validate.js +1 -1
  115. package/dist/components/withStyled.js +1 -1
  116. package/dist/esm/{DataFormatDigits--qIbKvXa.js → DataFormatDigits-oSZ1hBKE.js} +1 -1
  117. package/dist/esm/{DateStringFactory-XWdUjsn8.js → DateStringFactory-CSGz6TDk.js} +1 -1
  118. package/dist/esm/{Order-sqjrku2z.js → Order-Bnhh02CF.js} +9 -6
  119. package/dist/esm/{SVGVariancesStyleGroup-ibg3sLjM.js → SVGVariancesStyleGroup-CqTjrZYg.js} +2 -13
  120. package/dist/esm/bn-asset.entry.js +5 -4
  121. package/dist/esm/bn-body_4.entry.js +11 -9
  122. package/dist/esm/bn-card.entry.js +5 -4
  123. package/dist/esm/{ibcs-chart-structure.entry.js → bn-chart-structure_5.entry.js} +1064 -24
  124. package/dist/esm/bn-chart-time.entry.js +38 -12
  125. package/dist/esm/bn-component-style.entry.js +5 -4
  126. package/dist/esm/bn-dataset.entry.js +35 -6
  127. package/dist/esm/bn-grid.entry.js +9 -7
  128. package/dist/esm/bn-image.entry.js +9 -7
  129. package/dist/esm/bn-internationalization.entry.js +5 -4
  130. package/dist/esm/bn-layout-card.entry.js +3 -2
  131. package/dist/esm/bn-layout-page.entry.js +2 -1
  132. package/dist/esm/bn-message.entry.js +5 -4
  133. package/dist/esm/bn-table.entry.js +979 -0
  134. package/dist/esm/bn-template-engine.js +1 -1
  135. package/dist/esm/bn-template.entry.js +3 -2
  136. package/dist/esm/bn-text.entry.js +11 -9
  137. package/dist/esm/bn-tree.entry.js +9 -7
  138. package/dist/esm/contentDecoder-oMmxz6nJ.js +416 -0
  139. package/dist/esm/{context-protocol-Bz5klD-F.js → context-protocol-BHnQsVsr.js} +2 -0
  140. package/dist/esm/editor-companion.entry.js +1 -1
  141. package/dist/esm/emotion-hash.esm-BYBpC0EO.js +55 -0
  142. package/dist/esm/ibcs-chart-time.entry.js +15 -11
  143. package/dist/esm/{bn-context_5.entry.js → ibcs-table.entry.js} +69 -1236
  144. package/dist/esm/{StringAdapter-BCLJpQQ8.js → ibcsRuleSet-K4ytuA1f.js} +10 -10
  145. package/dist/esm/index-DHezf8pZ.js +65 -0
  146. package/dist/esm/loader.js +1 -1
  147. package/dist/esm/{scaling-C6K8FYSF.js → scaling-Cehc74IE.js} +2 -2
  148. package/dist/esm/{withHasError-B3QX2emi.js → utils-DvvwfRQG.js} +1 -69
  149. package/dist/esm/{withBodyObserver-DczL5ia8.js → withBodyObserver-FQ8NwCIz.js} +1 -1
  150. package/dist/esm/{withComponentStatus-DodoSXe-.js → withComponentStatus-DWjDYtZ7.js} +1 -1
  151. package/dist/esm/{withComponentStyle-BerJY64r.js → withComponentStyle-9uP_hcDq.js} +2 -2
  152. package/dist/esm/withHasError-FyY5mQ_3.js +70 -0
  153. package/dist/esm/{withStyled-D1fAWJ3g.js → withStyled--qQWquTH.js} +6 -59
  154. package/dist/esm/{withTranslation-mimbJdER.js → withTranslation-BqD0Kp7b.js} +2 -2
  155. package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +155 -109
  156. package/dist/types/components/bn-chart-structure/utils/StructureChart.d.ts +7 -0
  157. package/dist/types/components/bn-chart-structure/utils/elements/Label.d.ts +2 -0
  158. package/dist/types/components/bn-chart-structure/utils/model/styles/StructureChartStyle.d.ts +1 -0
  159. package/dist/types/components/bn-chart-time/utils/model/styles/TimeChartStyle.d.ts +1 -0
  160. package/dist/types/components/bn-dataset/bn-dataset.d.ts +6 -0
  161. package/dist/types/components/bn-datasource/bn-datasource.d.ts +8 -0
  162. package/dist/types/components/bn-table/bn-table.d.ts +10 -8
  163. package/dist/types/components/bn-table/utils/elements/CellBarChart.d.ts +0 -2
  164. package/dist/types/components.d.ts +102 -38
  165. package/dist/types/stores/componentStyles.d.ts +2 -0
  166. package/dist/types/utils/constants.d.ts +8 -5
  167. package/dist/types/utils/contentDecoder.d.ts +12 -0
  168. package/package.json +2 -1
  169. package/dist/bn-template-engine/p-05a82a77.entry.js +0 -1
  170. package/dist/bn-template-engine/p-1970906d.entry.js +0 -1
  171. package/dist/bn-template-engine/p-1dbd339c.entry.js +0 -1
  172. package/dist/bn-template-engine/p-2e68cf09.entry.js +0 -1
  173. package/dist/bn-template-engine/p-31cc6a2d.entry.js +0 -1
  174. package/dist/bn-template-engine/p-37881d05.entry.js +0 -1
  175. package/dist/bn-template-engine/p-3b894997.entry.js +0 -1
  176. package/dist/bn-template-engine/p-50e49732.entry.js +0 -1
  177. package/dist/bn-template-engine/p-6c7c0455.entry.js +0 -1
  178. package/dist/bn-template-engine/p-6da93eae.entry.js +0 -1
  179. package/dist/bn-template-engine/p-701e1578.entry.js +0 -1
  180. package/dist/bn-template-engine/p-8tsCnxIz.js +0 -1
  181. package/dist/bn-template-engine/p-997b2fe4.entry.js +0 -1
  182. package/dist/bn-template-engine/p-BL8gyUwE.js +0 -1
  183. package/dist/bn-template-engine/p-BSfqOkN_.js +0 -1
  184. package/dist/bn-template-engine/p-CRLgp9-v.js +0 -1
  185. package/dist/bn-template-engine/p-CYjZRKdI.js +0 -1
  186. package/dist/bn-template-engine/p-DRikHQE-.js +0 -1
  187. package/dist/bn-template-engine/p-DtdQCMzj.js +0 -1
  188. package/dist/bn-template-engine/p-a90f1cbe.entry.js +0 -1
  189. package/dist/bn-template-engine/p-b7bec050.entry.js +0 -1
  190. package/dist/bn-template-engine/p-d7f0cbaf.entry.js +0 -1
  191. package/dist/bn-template-engine/p-dfb61aa5.entry.js +0 -1
  192. package/dist/bn-template-engine/p-ece17f84.entry.js +0 -1
  193. package/dist/bn-template-engine/p-f27995c9.entry.js +0 -1
  194. package/dist/bn-template-engine/p-fd427179.entry.js +0 -1
  195. package/dist/bn-template-engine/p-sqjrku2z.js +0 -1
  196. package/dist/bn-template-engine/p-tzFCK9qn.js +0 -1
  197. package/dist/cjs/bn-chart-structure.cjs.entry.js +0 -700
  198. package/dist/esm/bn-chart-structure.entry.js +0 -698
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-Cjw0q6gP.js');
4
- var SVGVariancesStyleGroup = require('./SVGVariancesStyleGroup-DYYAU-81.js');
5
- var Order = require('./Order-BKoDS21t.js');
4
+ var SVGVariancesStyleGroup = require('./SVGVariancesStyleGroup-K-Tw6lOD.js');
5
+ var Order = require('./Order-iG11HI4R.js');
6
6
  var formatter = require('./formatter-DIJL_crx.js');
7
- var DataFormatDigits = require('./DataFormatDigits-DAmZzqbD.js');
7
+ var DataFormatDigits = require('./DataFormatDigits-DKcOeLNK.js');
8
8
  var alasql_min = require('./alasql.min-C_nHTuEQ.js');
9
- var DateStringFactory = require('./DateStringFactory-CcluhpGI.js');
10
- var StringAdapter = require('./StringAdapter-Bneo8T4k.js');
9
+ var DateStringFactory = require('./DateStringFactory-CSKvbS8K.js');
10
+ var ibcsRuleSet = require('./ibcsRuleSet-DgUoXOfd.js');
11
11
  require('./_commonjsHelpers-BJu3ubxk.js');
12
12
 
13
13
  // import { IAdapter } from "../../../../../utils/helper/IAdapter";
@@ -1052,6 +1052,7 @@ class TimeChartStyle {
1052
1052
  this.varianceStyles = varianceStyles;
1053
1053
  this.padding = padding;
1054
1054
  this.pattern = new Map();
1055
+ this.stackColors = ["#000000", "#c0c0c0", "#808080"];
1055
1056
  }
1056
1057
  }
1057
1058
  /** Adapts raw componentStyle JSON into a TimeChartStyle, falling back to defaults for missing properties. */
@@ -1084,6 +1085,9 @@ class TimeChartStylesAdapter {
1084
1085
  if (Order.CompareUtil.isExisting(data.padding)) {
1085
1086
  styles.padding = this.paddingadapter.adapt(data.padding);
1086
1087
  }
1088
+ if (Array.isArray(data.stackColors) && data.stackColors.length > 0) {
1089
+ styles.stackColors = data.stackColors;
1090
+ }
1087
1091
  styles.pattern = new MarkerPattern(styles.fontStyles.size).createPatternMapForStructureBar();
1088
1092
  }
1089
1093
  return styles;
@@ -2032,10 +2036,10 @@ class StackedColumn {
2032
2036
  }
2033
2037
  const xPos = this.position.getColumnCenterPositionX(this.index);
2034
2038
  const columnWidth = this.position.getColumnWidth();
2035
- // Unified IBCS 3-color palette for all stacking modes
2036
- const fillColor = SVGVariancesStyleGroup.getStackFill(this.segmentIndex);
2039
+ const colors = this.styles.stackColors;
2040
+ const fillColor = colors[this.segmentIndex % colors.length];
2037
2041
  const fillStyle = { color: fillColor };
2038
- const strokeStyle = { color: SVGVariancesStyleGroup.getStackStroke(this.segmentIndex), width: 0.5 };
2042
+ const strokeStyle = { color: fillColor, width: 0.5 };
2039
2043
  // Draw rectangle
2040
2044
  this.columnGroup
2041
2045
  .rect(columnWidth, Math.max(segmentHeight, 0.5))
@@ -2526,7 +2530,7 @@ class TimeChart {
2526
2530
  this.overflowConfig = null;
2527
2531
  this.lastScenarios = [];
2528
2532
  this.initSQLFunctions();
2529
- this.ruleSet = ruleSet || new StringAdapter.IBCSRuleSet();
2533
+ this.ruleSet = ruleSet || new ibcsRuleSet.IBCSRuleSet();
2530
2534
  this.i18n = this.createI18n(new Map());
2531
2535
  this.styles = styles;
2532
2536
  this.availableWidth = availableWidth;
@@ -3440,7 +3444,7 @@ class TimeChart {
3440
3444
  if (!this.stackConfig)
3441
3445
  return;
3442
3446
  const stackGroup = svgContainer.group().id("StackedScenarios");
3443
- const isScenarioStack = this.stackConfig.by === Order.StackBy.SCENARIO;
3447
+ const isScenarioStack = this.stackConfig.by === Order.StackBy.SCENARIOS;
3444
3448
  dataModel.forEach((elements, index) => {
3445
3449
  const scenarioKeys = ["scenario1", "scenario2", "scenario3", "scenario4"];
3446
3450
  const segments = [];
@@ -3535,7 +3539,7 @@ class TimeChart {
3535
3539
  drawStackedHeaders(dataModel, svgContainer) {
3536
3540
  if (!this.stackConfig || dataModel.length === 0)
3537
3541
  return;
3538
- const isScenarioStack = this.stackConfig.by === Order.StackBy.SCENARIO;
3542
+ const isScenarioStack = this.stackConfig.by === Order.StackBy.SCENARIOS;
3539
3543
  if (!isScenarioStack)
3540
3544
  return;
3541
3545
  const headerGroup = svgContainer.group().id("StackedHeaders");
@@ -3615,7 +3619,7 @@ class TimeChart {
3615
3619
  if (!this.stackConfig)
3616
3620
  return;
3617
3621
  const areaGroup = svgContainer.group().id("StackedAreaScenarios");
3618
- const isScenarioStack = this.stackConfig.by === Order.StackBy.SCENARIO;
3622
+ const isScenarioStack = this.stackConfig.by === Order.StackBy.SCENARIOS;
3619
3623
  const stackMode = this.stackConfig.mode;
3620
3624
  const scenarioKeys = ["scenario1", "scenario2", "scenario3", "scenario4"];
3621
3625
  // Determine how many layers we have
@@ -3852,7 +3856,7 @@ class TimeChartComponentConfig {
3852
3856
  this.pixelPerPercentage = 50;
3853
3857
  /** Maximum data points to display; 0 means unlimited. */
3854
3858
  this.limit = 0;
3855
- this.sortOrder = new Order.OrderAdapter(new StringAdapter.StringAdapter()).default();
3859
+ this.sortOrder = new Order.OrderAdapter(new ibcsRuleSet.StringAdapter()).default();
3856
3860
  this.level = Order.AggregationLevel.CATEGORY;
3857
3861
  /** Pixel offset from left edge for horizontal alignment across multiple charts. -1 disables sync. */
3858
3862
  this.leftSideOffsetForHorizontalSync = -1;
@@ -4023,7 +4027,7 @@ const IbcsChartTime = class {
4023
4027
  const config = this.prepareConfig();
4024
4028
  const styles = this.prepareStyle();
4025
4029
  const availableWidth = this.containerWidth || 0;
4026
- this.chart = new TimeChart(new StringAdapter.IBCSRuleSet(), config, styles, availableWidth);
4030
+ this.chart = new TimeChart(new ibcsRuleSet.IBCSRuleSet(), config, styles, availableWidth);
4027
4031
  this.chart.setI18n(this.i18n);
4028
4032
  this.autoFitScaling(config, styles);
4029
4033
  this.chart.setAvailableHeight(((_a = this.parentDimensions) === null || _a === void 0 ? void 0 : _a.height) || 0);
@@ -4060,13 +4064,13 @@ const IbcsChartTime = class {
4060
4064
  const availableWidth = this.containerWidth || 0;
4061
4065
  if (!targetHeight || targetHeight <= 0) {
4062
4066
  config.pixelPerUnit = 1; // No parent info — use fallback
4063
- this.chart = new TimeChart(new StringAdapter.IBCSRuleSet(), config, styles, availableWidth);
4067
+ this.chart = new TimeChart(new ibcsRuleSet.IBCSRuleSet(), config, styles, availableWidth);
4064
4068
  this.chart.setI18n(this.i18n);
4065
4069
  return;
4066
4070
  }
4067
4071
  // First pass with pixelPerUnit=1 to measure the real SVG height
4068
4072
  config.pixelPerUnit = 1;
4069
- this.chart = new TimeChart(new StringAdapter.IBCSRuleSet(), config, styles, availableWidth);
4073
+ this.chart = new TimeChart(new ibcsRuleSet.IBCSRuleSet(), config, styles, availableWidth);
4070
4074
  this.chart.setI18n(this.i18n);
4071
4075
  this.chart.toString();
4072
4076
  const svgHeight = this.chart.getAllocatedCanvasHeight();
@@ -4076,7 +4080,7 @@ const IbcsChartTime = class {
4076
4080
  // Scale so the chart fits in ~90% of the available height
4077
4081
  config.pixelPerUnit = (targetHeight * 0.9) / svgHeight;
4078
4082
  // Second pass with the corrected scaling
4079
- this.chart = new TimeChart(new StringAdapter.IBCSRuleSet(), config, styles, availableWidth);
4083
+ this.chart = new TimeChart(new ibcsRuleSet.IBCSRuleSet(), config, styles, availableWidth);
4080
4084
  this.chart.setI18n(this.i18n);
4081
4085
  }
4082
4086
  async componentWillRender() {
@@ -4100,7 +4104,7 @@ const IbcsChartTime = class {
4100
4104
  //}
4101
4105
  }
4102
4106
  prepareConfig() {
4103
- return new TimeChartComponentConfigAdapter(new TimeChartDataRowAdapter(), new Order.OrderAdapter(new StringAdapter.StringAdapter()), new StringAdapter.StringAdapter(), new DataFormatDigits.DataFormatDigitsAdapter(), this.data).adapt({
4107
+ return new TimeChartComponentConfigAdapter(new TimeChartDataRowAdapter(), new Order.OrderAdapter(new ibcsRuleSet.StringAdapter()), new ibcsRuleSet.StringAdapter(), new DataFormatDigits.DataFormatDigitsAdapter(), this.data).adapt({
4104
4108
  data: this.data,
4105
4109
  scenarios: this.scenarios,
4106
4110
  variances: this.variances,