@bino-bi/bn-template-engine 1.0.0-next.45 → 1.0.0-next.46

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 (169) hide show
  1. package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
  2. package/dist/bn-template-engine/{p-8b28c9bd.entry.js → p-16623e0f.entry.js} +1 -1
  3. package/dist/bn-template-engine/p-17970e07.entry.js +1 -0
  4. package/dist/bn-template-engine/{p-48871742.entry.js → p-21930d0a.entry.js} +1 -1
  5. package/dist/bn-template-engine/{p-5a64f90f.entry.js → p-46c46067.entry.js} +1 -1
  6. package/dist/bn-template-engine/p-9caa7f46.entry.js +1 -0
  7. package/dist/bn-template-engine/p-B0MEAsAS.js +1 -0
  8. package/dist/bn-template-engine/{p-qpZjVnX5.js → p-BA-fydUt.js} +1 -1
  9. package/dist/bn-template-engine/p-BEGt_7Hr.js +1 -0
  10. package/dist/bn-template-engine/p-BRO1oW7m.js +1 -0
  11. package/dist/bn-template-engine/{p-DVE0-sOv.js → p-BnzIfgCq.js} +1 -1
  12. package/dist/bn-template-engine/{p-b0dfc113.entry.js → p-b0d528f2.entry.js} +1 -1
  13. package/dist/cjs/bn-annotation-layer_30.cjs.entry.js +608 -83
  14. package/dist/cjs/bn-grid.cjs.entry.js +161 -34
  15. package/dist/cjs/bn-image.cjs.entry.js +2 -2
  16. package/dist/cjs/bn-internationalization.cjs.entry.js +2 -2
  17. package/dist/cjs/bn-ruleset.cjs.entry.js +2 -2
  18. package/dist/cjs/bn-template-engine.cjs.js +1 -1
  19. package/dist/cjs/bn-text.cjs.entry.js +3 -3
  20. package/dist/cjs/loader.cjs.js +1 -1
  21. package/dist/cjs/{localFrame-U3Qs0psw.js → localFrame-C27GGom1.js} +1 -1
  22. package/dist/cjs/{withBodyObserver-S-FGHpAX.js → withBodyObserver-B78wzw3f.js} +1 -1
  23. package/dist/cjs/{withHasError-BkBrsCpI.js → withHasError-0hW3-4mr.js} +11 -5
  24. package/dist/cjs/{withStyled-BZb6snOx.js → withStyled-D0hrcfE_.js} +25 -1
  25. package/dist/cjs/{withTranslation-1qTs5Fi7.js → withTranslation-B4WipL_5.js} +2 -2
  26. package/dist/collection/components/bn-annotation-layer/bn-annotation-layer.js +33 -2
  27. package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +112 -16
  28. package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +1 -1
  29. package/dist/collection/components/bn-chart-structure/utils/elements/Needle.js +3 -3
  30. package/dist/collection/components/bn-chart-time/bn-chart-time-renderer/bn-chart-time-renderer.js +113 -3
  31. package/dist/collection/components/bn-chart-time/bn-chart-time.js +261 -22
  32. package/dist/collection/components/bn-chart-time/utils/TimeChart.js +221 -12
  33. package/dist/collection/components/bn-chart-time/utils/elements/Axis.js +9 -1
  34. package/dist/collection/components/bn-chart-time/utils/elements/Column.js +10 -4
  35. package/dist/collection/components/bn-chart-time/utils/elements/Needle.js +9 -3
  36. package/dist/collection/components/bn-chart-time/utils/factories/ScenarioFactory.js +2 -2
  37. package/dist/collection/components/bn-chart-time/utils/model/DataPoint.js +9 -6
  38. package/dist/collection/components/bn-chart-time/utils/model/TimeChartComponentConfig.js +15 -0
  39. package/dist/collection/components/bn-grid/bn-grid.js +118 -24
  40. package/dist/collection/components/bn-grid/utils/cellLayout.js +55 -9
  41. package/dist/collection/components/bn-layout-card/bn-layout-card.js +4 -2
  42. package/dist/collection/components/bn-layout-page/bn-layout-page.js +23 -1
  43. package/dist/collection/components/bn-title/bn-title-renderer/bn-title-renderer.css +10 -0
  44. package/dist/collection/components/bn-title/bn-title-renderer/bn-title-renderer.js +23 -1
  45. package/dist/collection/components/bn-title/bn-title.js +40 -2
  46. package/dist/collection/stores/componentStyles.js +9 -3
  47. package/dist/collection/stores/internationalization.js +2 -2
  48. package/dist/collection/utils/DateStringFactory.js +19 -0
  49. package/dist/collection/utils/model/DataFormatDigits.js +4 -2
  50. package/dist/collection/utils/model/VarianceScenario.js +13 -0
  51. package/dist/collection/utils/validate.js +4 -0
  52. package/dist/components/bn-annotation-layer.js +1 -1
  53. package/dist/components/bn-annotation-list.js +1 -1
  54. package/dist/components/bn-asset.js +1 -1
  55. package/dist/components/bn-body.js +1 -1
  56. package/dist/components/bn-card.js +1 -1
  57. package/dist/components/bn-chart-bubble-renderer.js +1 -1
  58. package/dist/components/bn-chart-bubble.js +1 -1
  59. package/dist/components/bn-chart-bullet-renderer.js +1 -1
  60. package/dist/components/bn-chart-bullet.js +1 -1
  61. package/dist/components/bn-chart-scatter-renderer.js +1 -1
  62. package/dist/components/bn-chart-scatter.js +1 -1
  63. package/dist/components/bn-chart-structure-renderer.js +1 -1
  64. package/dist/components/bn-chart-structure.js +1 -1
  65. package/dist/components/bn-chart-time-renderer.js +1 -1
  66. package/dist/components/bn-chart-time.js +1 -1
  67. package/dist/components/bn-component-style.js +1 -1
  68. package/dist/components/bn-context.js +1 -1
  69. package/dist/components/bn-dataset.js +1 -1
  70. package/dist/components/bn-datasource.js +1 -1
  71. package/dist/components/bn-footer.js +1 -1
  72. package/dist/components/bn-grid.js +1 -1
  73. package/dist/components/bn-image.js +1 -1
  74. package/dist/components/bn-internationalization.js +1 -1
  75. package/dist/components/bn-layout-card.js +1 -1
  76. package/dist/components/bn-layout-page.js +1 -1
  77. package/dist/components/bn-message.js +1 -1
  78. package/dist/components/bn-page.js +1 -1
  79. package/dist/components/bn-ruleset.js +1 -1
  80. package/dist/components/bn-scaling-group.js +1 -1
  81. package/dist/components/bn-table-renderer.js +1 -1
  82. package/dist/components/bn-table.js +1 -1
  83. package/dist/components/bn-text.js +1 -1
  84. package/dist/components/bn-title-renderer.js +1 -1
  85. package/dist/components/bn-title.js +1 -1
  86. package/dist/components/bn-tree.js +1 -1
  87. package/dist/components/p-9X5fVJqR.js +1 -0
  88. package/dist/components/p-B5GRtTLX.js +1 -0
  89. package/dist/components/{p-DJUffGeB.js → p-BKA15uoz.js} +1 -1
  90. package/dist/components/p-BKLq0Pbv.js +1 -0
  91. package/dist/components/p-BKTBdrEA.js +1 -0
  92. package/dist/components/p-Bd8cQiLx.js +1 -0
  93. package/dist/components/{p-CvEdUq8i.js → p-Be0Q3bvf.js} +1 -1
  94. package/dist/components/{p-xIWChKGS.js → p-Bj3RWsEx.js} +1 -1
  95. package/dist/components/{p-B4L069XF.js → p-BoBamuPt.js} +1 -1
  96. package/dist/components/{p-DaOm9YwQ.js → p-BrJZUp-K.js} +1 -1
  97. package/dist/components/{p-CyfGkLMh.js → p-BuWNCnvR.js} +1 -1
  98. package/dist/components/{p-M2k_I8lv.js → p-CFVoK5Rb.js} +1 -1
  99. package/dist/components/{p-fKJx8WtW.js → p-CgJB5mCu.js} +1 -1
  100. package/dist/components/p-Cxx0YNnl.js +1 -0
  101. package/dist/components/p-D9F5IBFT.js +1 -0
  102. package/dist/components/{p-BfUdaxZ9.js → p-DQFahsnV.js} +1 -1
  103. package/dist/components/p-DROj8gke.js +1 -0
  104. package/dist/components/p-D_Sbhd0L.js +1 -0
  105. package/dist/components/{p-Cel0a6ma.js → p-DbWh9W5D.js} +1 -1
  106. package/dist/components/{p-2eicD9rF.js → p-DkCeSWKR.js} +1 -1
  107. package/dist/components/{p-7ieJFBUk.js → p-DoOSXntC.js} +1 -1
  108. package/dist/components/p-Dxj_pf8s.js +1 -0
  109. package/dist/components/{p-DQl2K2Xl.js → p-DzYhS_9s.js} +1 -1
  110. package/dist/components/{p-B2bvM2Ig.js → p-EQNS13GN.js} +1 -1
  111. package/dist/components/{p-Y9bth2Y_.js → p-G56USTsQ.js} +1 -1
  112. package/dist/components/p-OgFFKehL.js +1 -0
  113. package/dist/components/{p-C2ycO60j.js → p-kvYRImZT.js} +1 -1
  114. package/dist/components/{p-Chuj-LpI.js → p-rEdNIgD8.js} +1 -1
  115. package/dist/components/{p-DwuXVo2h.js → p-uCpFBDF5.js} +1 -1
  116. package/dist/esm/bn-annotation-layer_30.entry.js +608 -83
  117. package/dist/esm/bn-grid.entry.js +161 -34
  118. package/dist/esm/bn-image.entry.js +2 -2
  119. package/dist/esm/bn-internationalization.entry.js +2 -2
  120. package/dist/esm/bn-ruleset.entry.js +2 -2
  121. package/dist/esm/bn-template-engine.js +1 -1
  122. package/dist/esm/bn-text.entry.js +3 -3
  123. package/dist/esm/loader.js +1 -1
  124. package/dist/esm/{localFrame-BNWPPaQa.js → localFrame-CEZ7-hBs.js} +1 -1
  125. package/dist/esm/{withBodyObserver-AHQAUV85.js → withBodyObserver-D9yIMxdr.js} +1 -1
  126. package/dist/esm/{withHasError-B6Lvj9Cq.js → withHasError-UGtkLrYT.js} +11 -5
  127. package/dist/esm/{withStyled-CzzXg64f.js → withStyled-BlMqEIfr.js} +25 -2
  128. package/dist/esm/{withTranslation-C1gL7wSU.js → withTranslation-Bc3bjHTb.js} +2 -2
  129. package/dist/schemas/theme.schema.json +18 -0
  130. package/dist/types/components/bn-annotation-layer/bn-annotation-layer.d.ts +11 -0
  131. package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +16 -0
  132. package/dist/types/components/bn-chart-structure/utils/elements/Needle.d.ts +2 -1
  133. package/dist/types/components/bn-chart-time/bn-chart-time-renderer/bn-chart-time-renderer.d.ts +8 -0
  134. package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +46 -1
  135. package/dist/types/components/bn-chart-time/utils/TimeChart.d.ts +37 -0
  136. package/dist/types/components/bn-chart-time/utils/elements/Axis.d.ts +2 -0
  137. package/dist/types/components/bn-chart-time/utils/elements/Needle.d.ts +2 -1
  138. package/dist/types/components/bn-chart-time/utils/factories/ScenarioFactory.d.ts +1 -1
  139. package/dist/types/components/bn-chart-time/utils/model/DataPoint.d.ts +6 -1
  140. package/dist/types/components/bn-chart-time/utils/model/TimeChartComponentConfig.d.ts +6 -0
  141. package/dist/types/components/bn-grid/bn-grid.d.ts +23 -0
  142. package/dist/types/components/bn-grid/utils/cellLayout.d.ts +39 -3
  143. package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +3 -1
  144. package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +9 -0
  145. package/dist/types/components/bn-title/bn-title-renderer/bn-title-renderer.d.ts +2 -0
  146. package/dist/types/components/bn-title/bn-title.d.ts +10 -0
  147. package/dist/types/components.d.ts +173 -6
  148. package/dist/types/stores/componentStyles.d.ts +8 -0
  149. package/dist/types/utils/DateStringFactory.d.ts +4 -0
  150. package/dist/types/utils/layoutState/types.d.ts +3 -0
  151. package/dist/types/utils/model/VarianceScenario.d.ts +2 -0
  152. package/dist/types/utils/validate.d.ts +2 -0
  153. package/package.json +1 -1
  154. package/dist/bn-template-engine/p-1b002bd5.entry.js +0 -1
  155. package/dist/bn-template-engine/p-750b2c82.entry.js +0 -1
  156. package/dist/bn-template-engine/p-D0tNATZq.js +0 -1
  157. package/dist/bn-template-engine/p-DF9sfwBN.js +0 -1
  158. package/dist/bn-template-engine/p-EcC0qLtU.js +0 -1
  159. package/dist/components/p-1B_s8oPY.js +0 -1
  160. package/dist/components/p-AwH1w8Mu.js +0 -1
  161. package/dist/components/p-BiSytXUy.js +0 -1
  162. package/dist/components/p-C3gYq-HU.js +0 -1
  163. package/dist/components/p-CEf5X8MZ.js +0 -1
  164. package/dist/components/p-CniN8ALm.js +0 -1
  165. package/dist/components/p-D40Am1Ap.js +0 -1
  166. package/dist/components/p-DDvWTgk1.js +0 -1
  167. package/dist/components/p-DjPWZfry.js +0 -1
  168. package/dist/components/p-DnDL1pPc.js +0 -1
  169. package/dist/components/p-sLbQ7yZ1.js +0 -1
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h, a as Host, g as getElement } from './index-CCZcKl0Q.js';
2
2
  import { LAYOUT_STATE_VERSION } from './index.js';
3
- import { l as localFrameOf, o as originsFor, r as readDiagnostics, m as measure, a as resolveStandaloneId } from './localFrame-BNWPPaQa.js';
4
- import { w as withComponentStatus, a as withHasError } from './withHasError-B6Lvj9Cq.js';
5
- import { w as withStyled, a as withComponentStyle } from './withStyled-CzzXg64f.js';
3
+ import { l as localFrameOf, o as originsFor, r as readDiagnostics, m as measure, a as resolveStandaloneId } from './localFrame-CEZ7-hBs.js';
4
+ import { w as withComponentStatus, a as withHasError } from './withHasError-UGtkLrYT.js';
5
+ import { w as withStyled, a as withComponentStyle } from './withStyled-BlMqEIfr.js';
6
6
 
7
7
  /**
8
8
  * Header configuration types and parsing utilities for bn-grid component.
@@ -120,8 +120,8 @@ function validateHeadersJson(json) {
120
120
  }
121
121
 
122
122
  /**
123
- * Cell size and alignment for bn-grid: the accepted values, their CSS, and
124
- * the offsets that line up the baselines of the components in a row or column.
123
+ * Cell size, span and alignment for bn-grid: the accepted values, their CSS,
124
+ * and the offsets that line up the baselines of the components in a row or column.
125
125
  */
126
126
  const CELL_SIZES = ["auto", "equal"];
127
127
  const VERTICAL_ALIGNS = ["top", "center", "bottom", "baseline"];
@@ -165,21 +165,67 @@ function parseCaptions(json) {
165
165
  }
166
166
  return captions;
167
167
  }
168
+ /** The value of `row-span` or `column-span`: a whole number from 1. `undefined` when invalid. */
169
+ function parseSpan(value) {
170
+ if (value === null || value.trim() === "")
171
+ return 1;
172
+ const span = Number(value);
173
+ return Number.isInteger(span) && span >= 1 ? span : undefined;
174
+ }
175
+ /**
176
+ * The data cells of a grid, row by row. A cell with a span also takes the
177
+ * positions right of it and below it, and those get no cell of their own. A
178
+ * span ends at the edge of the grid, and before a position that is taken.
179
+ */
180
+ function placeCells(rowCount, columnCount, spanOf) {
181
+ var _a, _b;
182
+ const owner = Array.from({ length: rowCount }, () => Array(columnCount));
183
+ const cells = [];
184
+ const covered = [];
185
+ for (let row = 0; row < rowCount; row++) {
186
+ for (let column = 0; column < columnCount; column++) {
187
+ const by = owner[row][column];
188
+ if (by) {
189
+ covered.push({ row, column, by });
190
+ continue;
191
+ }
192
+ const span = spanOf(row, column);
193
+ const rowSpan = Math.min((_a = span === null || span === void 0 ? void 0 : span.rowSpan) !== null && _a !== void 0 ? _a : 1, rowCount - row);
194
+ let columnSpan = 1;
195
+ const wanted = Math.min((_b = span === null || span === void 0 ? void 0 : span.columnSpan) !== null && _b !== void 0 ? _b : 1, columnCount - column);
196
+ // a taken position in this row is taken by a cell from above, so the rows below need no check
197
+ while (columnSpan < wanted && !owner[row][column + columnSpan])
198
+ columnSpan++;
199
+ const cell = { row, column, rowSpan, columnSpan };
200
+ for (let r = row; r < row + rowSpan; r++) {
201
+ for (let c = column; c < column + columnSpan; c++)
202
+ owner[r][c] = cell;
203
+ }
204
+ cells.push(cell);
205
+ }
206
+ }
207
+ return { cells, covered };
208
+ }
168
209
  const round2 = (value) => Math.round(value * 100) / 100;
169
210
  /**
170
211
  * Offsets that put every baseline of a row on the lowest one, and every
171
212
  * baseline of a column on the rightmost one. A cell without a baseline on an
172
- * axis goes to the bottom (vertical) or stays left (horizontal).
213
+ * axis goes to the bottom (vertical) or stays left (horizontal). A cell over
214
+ * several rows is left out of the rows and stays at the top; a cell over
215
+ * several columns is left out of the columns and stays left.
173
216
  */
174
217
  function baselineOffsets(cells, vertical, horizontal) {
175
218
  const offsets = {};
176
219
  for (const cell of cells)
177
220
  offsets[cell.slot] = {};
178
- const line = (key, value, applied, set) => {
179
- var _a;
221
+ const line = (key, span, value, applied, set) => {
222
+ var _a, _b;
180
223
  const groups = new Map();
181
- for (const cell of cells)
182
- groups.set(cell[key], [...((_a = groups.get(cell[key])) !== null && _a !== void 0 ? _a : []), cell]);
224
+ for (const cell of cells) {
225
+ if (((_a = cell[span]) !== null && _a !== void 0 ? _a : 1) > 1)
226
+ continue;
227
+ groups.set(cell[key], [...((_b = groups.get(cell[key])) !== null && _b !== void 0 ? _b : []), cell]);
228
+ }
183
229
  for (const group of groups.values()) {
184
230
  // where each baseline would be without an offset
185
231
  const natural = group.map((cell) => {
@@ -194,7 +240,7 @@ function baselineOffsets(cells, vertical, horizontal) {
194
240
  }
195
241
  };
196
242
  if (vertical) {
197
- line("row", (cell) => cell.y, (cell) => cell.top, (offset, pad) => {
243
+ line("row", "rowSpan", (cell) => cell.y, (cell) => cell.top, (offset, pad) => {
198
244
  if (pad === undefined)
199
245
  offset.bottom = true;
200
246
  else
@@ -202,7 +248,7 @@ function baselineOffsets(cells, vertical, horizontal) {
202
248
  });
203
249
  }
204
250
  if (horizontal) {
205
- line("column", (cell) => cell.x, (cell) => cell.left, (offset, pad, largest) => {
251
+ line("column", "columnSpan", (cell) => cell.x, (cell) => cell.left, (offset, pad, largest) => {
206
252
  if (pad !== undefined)
207
253
  offset.left = pad;
208
254
  const right = round2(largest - (pad !== null && pad !== void 0 ? pad : 0));
@@ -254,6 +300,8 @@ const FRAME_OFFSET_PROPERTIES = {
254
300
  left: "--bn-baseline-offset-left",
255
301
  right: "--bn-baseline-offset-right",
256
302
  };
303
+ /** Attributes of a slotted child that shape its cell. */
304
+ const CELL_ATTRIBUTES = ["row-span", "column-span", "cell-background"];
257
305
  /** A pass that keeps changing the offsets stops after this many: a component whose baseline follows its width could chase it. */
258
306
  const MAX_ADJUSTMENTS = 5;
259
307
  const Grid = class {
@@ -325,6 +373,10 @@ const Grid = class {
325
373
  this.captions = {};
326
374
  /** Per slot: how far the baseline pass moved the content. */
327
375
  this.offsets = {};
376
+ /** Per slot: span and background from the slotted child. Only cells that set one of them. */
377
+ this.cellAttributes = {};
378
+ /** The data cells of the last render, row by row. */
379
+ this.placed = [];
328
380
  /** Per slot: the frame around its component, from the last baseline pass. */
329
381
  this.frames = new Map();
330
382
  this.observed = new WeakSet();
@@ -433,15 +485,21 @@ const Grid = class {
433
485
  this.observed = new WeakSet();
434
486
  this.resizeObserver = new ResizeObserver(this.schedule);
435
487
  // a child can be added, moved to another slot or replaced, in a morphing preview for example
436
- this.mutationObserver = new MutationObserver(this.schedule);
488
+ this.mutationObserver = new MutationObserver(() => {
489
+ this.readCellAttributes();
490
+ this.checkCoveredSlots();
491
+ this.schedule();
492
+ });
437
493
  this.mutationObserver.observe(this.element, {
438
494
  childList: true,
439
495
  subtree: true,
440
496
  attributes: true,
441
- attributeFilter: ["slot"],
497
+ attributeFilter: ["slot", ...CELL_ATTRIBUTES],
442
498
  });
443
499
  // a caption in a late web font changes its height
444
500
  (_a = document.fonts) === null || _a === void 0 ? void 0 : _a.addEventListener("loadingdone", this.schedule);
501
+ // a change made while the grid was detached reached no observer
502
+ this.readCellAttributes();
445
503
  }
446
504
  disconnectedCallback() {
447
505
  var _a, _b, _c;
@@ -470,6 +528,68 @@ const Grid = class {
470
528
  });
471
529
  return fallback;
472
530
  }
531
+ /** Reads the span and the background of every cell from its slotted child. */
532
+ readCellAttributes() {
533
+ const next = {};
534
+ const invalid = [];
535
+ for (const child of Array.from(this.element.children)) {
536
+ const slot = child.getAttribute("slot");
537
+ if (slot === null)
538
+ continue;
539
+ const span = (attribute) => {
540
+ const value = parseSpan(child.getAttribute(attribute));
541
+ if (value === undefined)
542
+ invalid.push(`${attribute} of slot "${slot}"`);
543
+ return value !== null && value !== void 0 ? value : 1;
544
+ };
545
+ const cell = { rowSpan: span("row-span"), columnSpan: span("column-span") };
546
+ const background = child.getAttribute("cell-background");
547
+ if (background)
548
+ cell.background = background;
549
+ if (cell.rowSpan > 1 || cell.columnSpan > 1 || cell.background)
550
+ next[slot] = cell;
551
+ }
552
+ if (invalid.length > 0) {
553
+ this.errors.addOrReplace({
554
+ id: "ERR_cellSpan",
555
+ type: "error",
556
+ message: `${invalid.join(", ")}: not a whole number from 1.`,
557
+ });
558
+ }
559
+ else {
560
+ this.errors.remove("ERR_cellSpan");
561
+ }
562
+ if (JSON.stringify(next) !== JSON.stringify(this.cellAttributes))
563
+ this.cellAttributes = next;
564
+ }
565
+ /** Places the data cells. */
566
+ placeDataCells() {
567
+ const { rows, columns } = this.gridConfig;
568
+ const slotAt = (row, column) => getSlotName(rows[row], columns[column]);
569
+ const { cells } = placeCells(rows.length, columns.length, (row, column) => this.cellAttributes[slotAt(row, column)]);
570
+ this.placed = cells.map((cell) => (Object.assign(Object.assign({}, cell), { slot: slotAt(cell.row, cell.column) })));
571
+ this.checkCoveredSlots();
572
+ }
573
+ /** Warns about a child in a position that a span covers. A new child changes no state, so the observer calls this too. */
574
+ checkCoveredSlots() {
575
+ var _a;
576
+ const { rows, columns } = (_a = this.gridConfig) !== null && _a !== void 0 ? _a : { rows: [], columns: [] };
577
+ const slotAt = (row, column) => getSlotName(rows[row], columns[column]);
578
+ const { covered } = placeCells(rows.length, columns.length, (row, column) => this.cellAttributes[slotAt(row, column)]);
579
+ const slotted = new Set(Array.from(this.element.children).map((child) => child.getAttribute("slot")));
580
+ const hidden = covered.filter(({ row, column }) => slotted.has(slotAt(row, column)));
581
+ if (hidden.length > 0) {
582
+ const list = hidden.map(({ row, column, by }) => `"${slotAt(row, column)}" (covered by "${slotAt(by.row, by.column)}")`);
583
+ this.errors.addOrReplace({
584
+ id: "WARN_cellSpan",
585
+ type: "warning",
586
+ message: `a span covers the slot ${list.join(", ")}: its content is not shown.`,
587
+ });
588
+ }
589
+ else {
590
+ this.errors.remove("WARN_cellSpan");
591
+ }
592
+ }
473
593
  isBaselineMode() {
474
594
  return this.resolvedVertical === "baseline" || this.resolvedHorizontal === "baseline";
475
595
  }
@@ -503,8 +623,7 @@ const Grid = class {
503
623
  const run = ++this.run;
504
624
  if (!this.element.isConnected || !this.isBaselineMode())
505
625
  return;
506
- const { rows, columns } = this.gridConfig;
507
- const slots = rows.flatMap((row, rowIndex) => columns.map((column, columnIndex) => ({ slot: getSlotName(row, column), row: rowIndex, column: columnIndex })));
626
+ const slots = this.placed;
508
627
  const contents = slots.map(({ slot }) => this.contentIn(slot));
509
628
  const visuals = contents.map((content) => content.visual);
510
629
  await Promise.all(visuals.map((visual) => { var _a; return (_a = visual === null || visual === void 0 ? void 0 : visual.componentOnReady) === null || _a === void 0 ? void 0 : _a.call(visual); }));
@@ -523,16 +642,22 @@ const Grid = class {
523
642
  });
524
643
  this.frames = new Map();
525
644
  contents.forEach(({ frame }, index) => frame && this.frames.set(slots[index].slot, frame));
526
- const cells = slots.map(({ slot, row, column }, index) => {
645
+ const cells = slots.map(({ slot, row, column, rowSpan, columnSpan }, index) => {
527
646
  const visual = visuals[index];
528
647
  const baseline = baselines[index];
529
648
  // what is drawn now, not what is in the state: a render can still be pending
530
649
  const cardFrame = contents[index].frame;
531
650
  const holder = cardFrame !== null && cardFrame !== void 0 ? cardFrame : wrappers.get(slot);
532
651
  const applied = (property) => parseFloat((holder === null || holder === void 0 ? void 0 : holder.style.getPropertyValue(property)) || "0") || 0;
533
- const cell = cardFrame
534
- ? { slot, row, column, top: applied(FRAME_OFFSET_PROPERTIES.top), left: applied(FRAME_OFFSET_PROPERTIES.left) }
535
- : { slot, row, column, top: applied("padding-top"), left: applied("margin-left") };
652
+ const cell = {
653
+ slot,
654
+ row,
655
+ column,
656
+ rowSpan,
657
+ columnSpan,
658
+ top: applied(cardFrame ? FRAME_OFFSET_PROPERTIES.top : "padding-top"),
659
+ left: applied(cardFrame ? FRAME_OFFSET_PROPERTIES.left : "margin-left"),
660
+ };
536
661
  if (visual) {
537
662
  const box = frame.toLocal(visual.getBoundingClientRect());
538
663
  if (baseline.y !== undefined)
@@ -609,7 +734,7 @@ const Grid = class {
609
734
  title: this.chartTitle || undefined,
610
735
  rowCount: rows.length,
611
736
  columnCount: columns.length,
612
- cellCount: rows.length * columns.length,
737
+ cellCount: this.placed.length,
613
738
  },
614
739
  diagnostics: readDiagnostics(this.element),
615
740
  };
@@ -643,17 +768,11 @@ const Grid = class {
643
768
  rect: measure(header, origins),
644
769
  });
645
770
  });
646
- // Data cells render row-major (see renderDataCells), so index i maps to
647
- // row i / columns.length, column i % columns.length.
771
+ // Data cells render in the order of this.placed (see renderDataCells).
648
772
  container.querySelectorAll(".grid-cell").forEach((cell, index) => {
649
773
  var _a, _b, _c, _d;
650
- push({
651
- kind: "gridCell",
652
- rowId: columns.length > 0 ? (_a = rows[Math.floor(index / columns.length)]) === null || _a === void 0 ? void 0 : _a.id : undefined,
653
- columnId: columns.length > 0 ? (_b = columns[index % columns.length]) === null || _b === void 0 ? void 0 : _b.id : undefined,
654
- slot: (_d = (_c = cell.querySelector("slot")) === null || _c === void 0 ? void 0 : _c.getAttribute("name")) !== null && _d !== void 0 ? _d : undefined,
655
- rect: measure(cell, origins),
656
- });
774
+ const placed = this.placed[index];
775
+ push(Object.assign(Object.assign(Object.assign({ kind: "gridCell", rowId: placed ? (_a = rows[placed.row]) === null || _a === void 0 ? void 0 : _a.id : undefined, columnId: placed ? (_b = columns[placed.column]) === null || _b === void 0 ? void 0 : _b.id : undefined, slot: (_d = (_c = cell.querySelector("slot")) === null || _c === void 0 ? void 0 : _c.getAttribute("name")) !== null && _d !== void 0 ? _d : undefined }, ((placed === null || placed === void 0 ? void 0 : placed.rowSpan) > 1 ? { rowSpan: placed.rowSpan } : {})), ((placed === null || placed === void 0 ? void 0 : placed.columnSpan) > 1 ? { columnSpan: placed.columnSpan } : {})), { rect: measure(cell, origins) }));
657
776
  });
658
777
  container.querySelectorAll(".grid-caption").forEach((caption) => {
659
778
  var _a, _b, _c, _d;
@@ -681,6 +800,10 @@ const Grid = class {
681
800
  this.validateCellVerticalAlign(this.cellVerticalAlign);
682
801
  this.validateCellHorizontalAlign(this.cellHorizontalAlign);
683
802
  this.validateCellCaptions(this.cellCaptions);
803
+ this.readCellAttributes();
804
+ }
805
+ componentWillRender() {
806
+ this.placeDataCells();
684
807
  }
685
808
  updateGridConfig() {
686
809
  this.gridConfig = parseGridConfig(this.rowHeaders, this.columnHeaders);
@@ -759,6 +882,7 @@ const Grid = class {
759
882
  const startCol = this.shouldShowRowHeaders() ? 2 : 1;
760
883
  const startRow = (this.chartTitle ? 1 : 0) + (this.shouldShowColumnHeaders() ? 1 : 0) + 1;
761
884
  const cells = [];
885
+ const track = (start, span) => (span > 1 ? `${start} / span ${span}` : String(start));
762
886
  if (this.gridConfig.rows.length > 0 && this.gridConfig.columns.length > 0) {
763
887
  this.gridConfig.rows.forEach((row, rowIndex) => {
764
888
  // Render row header for this row
@@ -773,11 +897,14 @@ const Grid = class {
773
897
  } }, row.label));
774
898
  }
775
899
  // Render data cells for this row
776
- this.gridConfig.columns.forEach((col, colIndex) => {
777
- const slotName = getSlotName(row, col);
900
+ const placed = this.placed.filter((cell) => cell.row === rowIndex);
901
+ placed.forEach(({ slot: slotName, column: colIndex, rowSpan, columnSpan }) => {
902
+ var _a, _b;
778
903
  const isNotFirstCol = colIndex > 0;
779
904
  const isNotFirstRow = rowIndex > 0;
780
- cells.push(h("div", { key: `cell-${slotName}`, class: "grid-cell", "data-bn-fit-content": "", style: Object.assign({ "grid-column": String(startCol + colIndex), "grid-row": String(startRow + rowIndex), "border-left": isNotFirstCol ? borderStyle : "none", "border-top": isNotFirstRow ? borderStyle : "none", "padding-left": isNotFirstCol ? `${style.cellPadding + 4}px` : "0", "padding-top": isNotFirstRow ? `${style.cellPadding + 4}px` : "0" }, this.cellAlignStyle()) }, this.renderCellContent(slotName, style)));
905
+ // the cell of the child wins over the style
906
+ const background = (_b = (_a = this.cellAttributes[slotName]) === null || _a === void 0 ? void 0 : _a.background) !== null && _b !== void 0 ? _b : (style.cellBackground && style.cellBackground !== "transparent" ? style.cellBackground : undefined);
907
+ cells.push(h("div", { key: `cell-${slotName}`, class: "grid-cell", "data-bn-fit-content": "", style: Object.assign(Object.assign({ "grid-column": track(startCol + colIndex, columnSpan), "grid-row": track(startRow + rowIndex, rowSpan), "border-left": isNotFirstCol ? borderStyle : "none", "border-top": isNotFirstRow ? borderStyle : "none", "padding-left": isNotFirstCol ? `${style.cellPadding + 4}px` : "0", "padding-top": isNotFirstRow ? `${style.cellPadding + 4}px` : "0" }, this.cellAlignStyle()), (background ? { "background-color": background } : {})) }, this.renderCellContent(slotName, style)));
781
908
  });
782
909
  });
783
910
  }
@@ -859,7 +986,7 @@ const Grid = class {
859
986
  // would only be as wide as their content, and charts measure that width.
860
987
  const fill = this.resolvedWidth === "equal";
861
988
  const gridContainerStyle = Object.assign(Object.assign({ display: fill ? "grid" : "inline-grid" }, (fill ? { width: "100%" } : {})), { "grid-template-columns": this.getGridTemplateColumns(), "grid-template-rows": this.getGridTemplateRows(), gap: this.cellGap });
862
- return (h(Host, { key: 'df0d9a7bacea1a58c3280db1c8bff5d79c21fd9b', style: fill ? Object.assign(Object.assign({}, this.getFontStyles()), { display: "block" }) : this.getFontStyles() }, h("div", { key: '63007962f57a49273ad2670d17bcc0035532f303', class: "grid-container", style: gridContainerStyle }, this.renderTitle(), this.renderColumnHeaders(), this.renderDataCells()), h("slot", { key: '877653c214c2c888079753b6ab2a0e8a8daab59e' })));
989
+ return (h(Host, { key: '97d858fb6f5704dfd46638c8e5c6a74927e702e0', style: fill ? Object.assign(Object.assign({}, this.getFontStyles()), { display: "block" }) : this.getFontStyles() }, h("div", { key: '1e218eac5865574fcb4572d1aaea60f1d87d8948', class: "grid-container", style: gridContainerStyle }, this.renderTitle(), this.renderColumnHeaders(), this.renderDataCells()), h("slot", { key: 'aabefa01213c69c0303f1df06f5575973253677e' })));
863
990
  }
864
991
  get element() { return getElement(this); }
865
992
  static get watchers() { return {
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, a as Host, g as getElement } from './index-CCZcKl0Q.js';
2
- import { w as withStyled, a as withComponentStyle } from './withStyled-CzzXg64f.js';
3
- import { w as withComponentStatus, a as withHasError, g as getStores } from './withHasError-B6Lvj9Cq.js';
2
+ import { w as withStyled, a as withComponentStyle } from './withStyled-BlMqEIfr.js';
3
+ import { w as withComponentStatus, a as withHasError, g as getStores } from './withHasError-UGtkLrYT.js';
4
4
 
5
5
  const bnImageCss = () => `:host{display:inline-block;position:relative;overflow:hidden}img{max-width:100%;height:auto}`;
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, a as Host, g as getElement } from './index-CCZcKl0Q.js';
2
- import { w as withBodyObserver } from './withBodyObserver-AHQAUV85.js';
3
- import { w as withComponentStatus, a as withHasError, g as getStores, f as flattenObject, R as RENAMED_I18N_KEYS } from './withHasError-B6Lvj9Cq.js';
2
+ import { w as withBodyObserver } from './withBodyObserver-D9yIMxdr.js';
3
+ import { w as withComponentStatus, a as withHasError, g as getStores, f as flattenObject, R as RENAMED_I18N_KEYS } from './withHasError-UGtkLrYT.js';
4
4
  import { e as errorText } from './queryError-ClruFZD_.js';
5
5
 
6
6
  const bnInternationalizationCss = () => `bn-internationalization{display:none}`;
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, a as Host, g as getElement } from './index-CCZcKl0Q.js';
2
- import { w as withBodyObserver } from './withBodyObserver-AHQAUV85.js';
3
- import { w as withComponentStatus, a as withHasError, g as getStores } from './withHasError-B6Lvj9Cq.js';
2
+ import { w as withBodyObserver } from './withBodyObserver-D9yIMxdr.js';
3
+ import { w as withComponentStatus, a as withHasError, g as getStores } from './withHasError-UGtkLrYT.js';
4
4
 
5
5
  const bnRulesetCss = () => `bn-ruleset{display:none}`;
6
6
 
@@ -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\",{\"selectedStyle\":[513,\"selected-style\"],\"chartTitle\":[1,\"chart-title\"],\"rowHeaders\":[1,\"row-headers\"],\"columnHeaders\":[1,\"column-headers\"],\"showRowHeaders\":[4,\"show-row-headers\"],\"showColumnHeaders\":[4,\"show-column-headers\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"showBorders\":[4,\"show-borders\"],\"rowHeaderWidth\":[1,\"row-header-width\"],\"cellGap\":[1,\"cell-gap\"],\"cellHeight\":[1,\"cell-height\"],\"cellWidth\":[1,\"cell-width\"],\"cellVerticalAlign\":[1,\"cell-vertical-align\"],\"cellHorizontalAlign\":[1,\"cell-horizontal-align\"],\"cellCaptions\":[1,\"cell-captions\"],\"gridConfig\":[32],\"resolvedHeight\":[32],\"resolvedWidth\":[32],\"resolvedVertical\":[32],\"resolvedHorizontal\":[32],\"captions\":[32],\"offsets\":[32],\"getLayoutState\":[64]},null,{\"rowHeaders\":[{\"validateRowHeaders\":0}],\"columnHeaders\":[{\"validateColumnHeaders\":0}],\"cellHeight\":[{\"validateCellHeight\":0}],\"cellWidth\":[{\"validateCellWidth\":0}],\"cellVerticalAlign\":[{\"validateCellVerticalAlign\":0}],\"cellHorizontalAlign\":[{\"validateCellHorizontalAlign\":0}],\"cellCaptions\":[{\"validateCellCaptions\":0}]}]]],[\"bn-image\",[[1,\"bn-image\",{\"selectedStyle\":[513,\"selected-style\"],\"source\":[1]}]]],[\"bn-internationalization\",[[0,\"bn-internationalization\",{\"code\":[1],\"namespace\":[1]}]]],[\"bn-ruleset\",[[0,\"bn-ruleset\",{\"name\":[1]}]]],[\"bn-text\",[[1,\"bn-text\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"value\":[1],\"scale\":[1],\"data\":[32]},null,{\"value\":[{\"validateValue\":0}],\"scale\":[{\"validateScaling\":0}]}]]],[\"bn-annotation-layer_30\",[[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\"],\"i18nNamespace\":[513,\"i18n-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\"]}],[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\"],\"i18nNamespace\":[513,\"i18n-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\"]}],[1,\"bn-chart-bubble\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"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],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"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}]}],[1,\"bn-chart-bullet\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"actual\":[1],\"target\":[1],\"ranges\":[1],\"normalizeMode\":[1,\"normalize\"],\"variances\":[1],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"limit\":[2],\"labels\":[1],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"actual\":[{\"validateActual\":0}],\"target\":[{\"validateTarget\":0}],\"ranges\":[{\"validateRanges\":0}],\"normalizeMode\":[{\"validateNormalize\":0}],\"variances\":[{\"validateVariances\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrder\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"limit\":[{\"validateLimit\":0}],\"labels\":[{\"validateLabels\":0}],\"scale\":[{\"validateScale\":0}]}],[1,\"bn-chart-scatter\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"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],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"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}]}],[1,\"bn-chart-structure\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"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\":[4,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"stack\":[1],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"limit\":[{\"validateLimit\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}]}],[1,\"bn-chart-time\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"syncSpaceLeft\":[2,\"sync-space-left\"],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"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\":[4,\"line-full-width\"],\"showCategories\":[4,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"showOverlayAvg\":[4,\"show-overlay-avg\"],\"showOverlayMedian\":[4,\"show-overlay-median\"],\"measureUnit\":[1,\"measure-unit\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"syncSpaceLeft\":[{\"validateLeftSync\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"dateInterval\":[{\"validateDateInterval\":0}],\"chartMode\":[{\"validateChartMode\":0}],\"maxBars\":[{\"validateMaxBars\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}],\"axisLabelsMode\":[{\"validateAxisLabelsMode\":0}],\"measureScale\":[{\"validateMeasureScale\":0}]}],[1,\"bn-table\",{\"datasets\":[513],\"i18nNamespace\":[513,\"i18n-namespace\"],\"scale\":[1],\"ruleset\":[513],\"selectedStyle\":[513,\"selected-style\"],\"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\":[4],\"showMeasureScale\":[4,\"show-measure-scale\"],\"showGroupTitle\":[4,\"show-group-title\"],\"runningSum\":[4,\"running-sum\"],\"varianceWaterfall\":[4,\"variance-waterfall\"],\"type\":[1],\"limit\":[2],\"thereof\":[1],\"thereofPosition\":[1,\"thereof-position\"],\"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],\"categoryIntervalPosition\":[2,\"category-interval-position\"],\"tableAttributes\":[1,\"attributes\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"hasBlankSetnames\":[32],\"hasSetnameIndexWithoutSetname\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"scale\":[{\"validateScaling\":0}],\"filter\":[{\"validateFilter\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"barColumns\":[{\"validateBarColumns\":0}],\"barColumnWidth\":[{\"validateBarColumnWidth\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"dataFormat\":[{\"validateDataFormat\":0}],\"type\":[{\"validateType\":0}],\"limit\":[{\"validateLimit\":0}],\"thereof\":[{\"validateThereOf\":0}],\"thereofPosition\":[{\"validateThereofPosition\":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}],\"categoryIntervalPosition\":[{\"validateCategoryIntervalPosition\":0}],\"tableAttributes\":[{\"validateTableAttributes\":0}]}],[1,\"bn-annotation-layer\",{\"items\":[1],\"selectedStyle\":[513,\"selected-style\"],\"marks\":[32]},null,{\"items\":[{\"onItemsChange\":0}]}],[1,\"bn-annotation-list\",{\"items\":[1],\"selectedStyle\":[513,\"selected-style\"]}],[1,\"bn-asset\",{\"name\":[1]}],[0,\"bn-component-style\",{\"name\":[1]}],[257,\"bn-context\",{\"locale\":[1],\"i18nNamespace\":[513,\"i18n-namespace\"],\"renderOrientation\":[513,\"render-orientation\"],\"getLayoutState\":[64]},null,{\"locale\":[{\"setLocale\":0}]}],[0,\"bn-dataset\",{\"name\":[1],\"datasources\":[1],\"static\":[4],\"raw\":[4],\"refreshInterval\":[2,\"refresh-interval\"],\"src\":[1]},null,{\"name\":[{\"nameUpdated\":0}],\"refreshInterval\":[{\"onIntervalChange\":0}],\"src\":[{\"onSrcChange\":0}]}],[0,\"bn-datasource\",{\"name\":[1],\"raw\":[4],\"refreshInterval\":[2,\"refresh-interval\"],\"src\":[1]},null,{\"refreshInterval\":[{\"onIntervalChange\":0}],\"src\":[{\"onSrcChange\":0}],\"name\":[{\"nameUpdated\":0}]}],[0,\"bn-scaling-group\",{\"name\":[1],\"value\":[8]},null,{\"name\":[{\"onNameChange\":0}],\"value\":[{\"onValueChange\":0}]}],[257,\"bn-tree\",{\"selectedStyle\":[513,\"selected-style\"],\"edges\":[1],\"direction\":[1],\"levelSpacing\":[2,\"level-spacing\"],\"nodeSpacing\":[2,\"node-spacing\"],\"edgeStyle\":[1,\"edge-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"showOperators\":[4,\"show-operators\"],\"treeConfig\":[32],\"layout\":[32],\"nodeRects\":[32],\"svgWidth\":[32],\"svgHeight\":[32],\"getLayoutState\":[64]},null,{\"edges\":[{\"validateEdgesProp\":0}],\"direction\":[{\"validateDirection\":0}],\"levelSpacing\":[{\"validateLevelSpacing\":0}],\"nodeSpacing\":[{\"validateNodeSpacing\":0}],\"edgeStyle\":[{\"validateEdgeStyle\":0}]}],[257,\"bn-card\",{\"selectedStyle\":[513,\"selected-style\"]}],[1,\"bn-chart-bubble-renderer\",{\"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],\"translator\":[16]}],[1,\"bn-chart-bullet-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"actual\":[16],\"target\":[16],\"ranges\":[16],\"normalizeMode\":[1,\"normalize-mode\"],\"showVariances\":[4,\"show-variances\"],\"level\":[1],\"order\":[16],\"limit\":[2],\"labels\":[16],\"filter\":[1],\"styles\":[16],\"i18n\":[16],\"containerWidth\":[2,\"container-width\"],\"ruleSetConfig\":[16],\"errors\":[16],\"translator\":[16]}],[1,\"bn-chart-scatter-renderer\",{\"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],\"translator\":[16]}],[1,\"bn-chart-structure-renderer\",{\"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\"],\"reportAutoScaling\":[16],\"errors\":[16],\"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,\"bn-chart-time-renderer\",{\"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\"],\"reportAutoScaling\":[16],\"errors\":[16],\"leftSideOffsetForHorizontalSync\":[2,\"left-side-offset-for-horizontal-sync\"],\"styles\":[1040],\"i18n\":[1040],\"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,\"bn-message\",{\"selectedStyle\":[513,\"selected-style\"],\"text\":[1025],\"image\":[1]}],[257,\"bn-page\",{\"selectedStyle\":[513,\"selected-style\"],\"format\":[1],\"orientation\":[1]},null,{\"format\":[{\"validateFormat\":0}],\"orientation\":[{\"validateOrientation\":0}]}],[1,\"bn-table-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"selectedStyle\":[513,\"selected-style\"],\"sumTitle\":[1,\"sum-title\"],\"scenarios\":[16],\"scenariosDataFormat\":[1,\"scenarios-data-format\"],\"grouped\":[4],\"limit\":[2],\"showGroupTitle\":[4,\"show-group-title\"],\"runningSum\":[4,\"running-sum\"],\"varianceWaterfall\":[4,\"variance-waterfall\"],\"thereof\":[16],\"thereofPosition\":[1,\"thereof-position\"],\"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],\"categoryIntervalPosition\":[2,\"category-interval-position\"],\"barColumnMaxWidth\":[2,\"bar-column-max-width\"],\"unitScaling\":[2,\"unit-scaling\"],\"percentageScaling\":[2,\"percentage-scaling\"],\"reportAutoScaling\":[16],\"errors\":[16],\"scaleFactor\":[2,\"scale-factor\"],\"getLayoutDetail\":[64]}],[1,\"bn-title\",{\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"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\",{\"selectedStyle\":[513,\"selected-style\"]}],[1,\"bn-footer\",{\"selectedStyle\":[513,\"selected-style\"],\"pageNumber\":[1025,\"page-number\"],\"text\":[1025],\"displayPageNumber\":[4,\"display-page-number\"]}],[1,\"bn-title-renderer\",{\"businessUnit\":[1537,\"business-unit\"],\"scenarios\":[16],\"measures\":[16],\"timeperiod\":[16],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"order\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"locale\":[1],\"ruleSetConfig\":[16]}]]]]"), options);
47
+ return bootstrapLazy(JSON.parse("[[\"bn-grid\",[[257,\"bn-grid\",{\"selectedStyle\":[513,\"selected-style\"],\"chartTitle\":[1,\"chart-title\"],\"rowHeaders\":[1,\"row-headers\"],\"columnHeaders\":[1,\"column-headers\"],\"showRowHeaders\":[4,\"show-row-headers\"],\"showColumnHeaders\":[4,\"show-column-headers\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"showBorders\":[4,\"show-borders\"],\"rowHeaderWidth\":[1,\"row-header-width\"],\"cellGap\":[1,\"cell-gap\"],\"cellHeight\":[1,\"cell-height\"],\"cellWidth\":[1,\"cell-width\"],\"cellVerticalAlign\":[1,\"cell-vertical-align\"],\"cellHorizontalAlign\":[1,\"cell-horizontal-align\"],\"cellCaptions\":[1,\"cell-captions\"],\"gridConfig\":[32],\"resolvedHeight\":[32],\"resolvedWidth\":[32],\"resolvedVertical\":[32],\"resolvedHorizontal\":[32],\"captions\":[32],\"offsets\":[32],\"cellAttributes\":[32],\"getLayoutState\":[64]},null,{\"rowHeaders\":[{\"validateRowHeaders\":0}],\"columnHeaders\":[{\"validateColumnHeaders\":0}],\"cellHeight\":[{\"validateCellHeight\":0}],\"cellWidth\":[{\"validateCellWidth\":0}],\"cellVerticalAlign\":[{\"validateCellVerticalAlign\":0}],\"cellHorizontalAlign\":[{\"validateCellHorizontalAlign\":0}],\"cellCaptions\":[{\"validateCellCaptions\":0}]}]]],[\"bn-image\",[[1,\"bn-image\",{\"selectedStyle\":[513,\"selected-style\"],\"source\":[1]}]]],[\"bn-internationalization\",[[0,\"bn-internationalization\",{\"code\":[1],\"namespace\":[1]}]]],[\"bn-ruleset\",[[0,\"bn-ruleset\",{\"name\":[1]}]]],[\"bn-text\",[[1,\"bn-text\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"value\":[1],\"scale\":[1],\"data\":[32]},null,{\"value\":[{\"validateValue\":0}],\"scale\":[{\"validateScaling\":0}]}]]],[\"bn-annotation-layer_30\",[[257,\"bn-layout-page\",{\"styles\":[1],\"selectedStyle\":[1,\"selected-style\"],\"ruleset\":[1],\"messageText\":[1,\"message-text\"],\"messageImage\":[1,\"message-image\"],\"titleId\":[1,\"title-id\"],\"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\"],\"i18nNamespace\":[513,\"i18n-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\"]}],[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\"],\"i18nNamespace\":[513,\"i18n-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\"]}],[1,\"bn-chart-bubble\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"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],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"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}]}],[1,\"bn-chart-bullet\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"actual\":[1],\"target\":[1],\"ranges\":[1],\"normalizeMode\":[1,\"normalize\"],\"variances\":[1],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"limit\":[2],\"labels\":[1],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"actual\":[{\"validateActual\":0}],\"target\":[{\"validateTarget\":0}],\"ranges\":[{\"validateRanges\":0}],\"normalizeMode\":[{\"validateNormalize\":0}],\"variances\":[{\"validateVariances\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrder\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"limit\":[{\"validateLimit\":0}],\"labels\":[{\"validateLabels\":0}],\"scale\":[{\"validateScale\":0}]}],[1,\"bn-chart-scatter\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"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],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"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}]}],[1,\"bn-chart-structure\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"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\":[4,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"dataFormatDigitsDecimal\":[2,\"data-format-digits-decimal\"],\"dataFormatDigitsPercent\":[2,\"data-format-digits-percent\"],\"stack\":[1],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"limit\":[{\"validateLimit\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"dataFormatDigitsDecimal\":[{\"validateDataFormatDigitsDecimal\":0}],\"dataFormatDigitsPercent\":[{\"validateDataFormatDigitsPercent\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}]}],[1,\"bn-chart-time\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"syncSpaceLeft\":[2,\"sync-space-left\"],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"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\":[4,\"line-full-width\"],\"showCategories\":[4,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"showOverlayAvg\":[4,\"show-overlay-avg\"],\"showOverlayMedian\":[4,\"show-overlay-median\"],\"measureUnit\":[1,\"measure-unit\"],\"dataFormatDigitsDecimal\":[2,\"data-format-digits-decimal\"],\"dataFormatDigitsPercent\":[2,\"data-format-digits-percent\"],\"axisLabelsStep\":[2,\"axis-labels-step\"],\"scenarioSwitch\":[4,\"scenario-switch\"],\"axisTitlePosition\":[1,\"axis-title-position\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"syncSpaceLeft\":[{\"validateLeftSync\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"dateInterval\":[{\"validateDateInterval\":0}],\"chartMode\":[{\"validateChartMode\":0}],\"maxBars\":[{\"validateMaxBars\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}],\"axisLabelsMode\":[{\"validateAxisLabelsMode\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"dataFormatDigitsDecimal\":[{\"validateDataFormatDigitsDecimal\":0}],\"dataFormatDigitsPercent\":[{\"validateDataFormatDigitsPercent\":0}],\"axisLabelsStep\":[{\"validateAxisLabelsStep\":0}],\"axisTitlePosition\":[{\"validateAxisTitlePosition\":0}]}],[1,\"bn-table\",{\"datasets\":[513],\"i18nNamespace\":[513,\"i18n-namespace\"],\"scale\":[1],\"ruleset\":[513],\"selectedStyle\":[513,\"selected-style\"],\"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\":[4],\"showMeasureScale\":[4,\"show-measure-scale\"],\"showGroupTitle\":[4,\"show-group-title\"],\"runningSum\":[4,\"running-sum\"],\"varianceWaterfall\":[4,\"variance-waterfall\"],\"type\":[1],\"limit\":[2],\"thereof\":[1],\"thereofPosition\":[1,\"thereof-position\"],\"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],\"categoryIntervalPosition\":[2,\"category-interval-position\"],\"tableAttributes\":[1,\"attributes\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"hasBlankSetnames\":[32],\"hasSetnameIndexWithoutSetname\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"scale\":[{\"validateScaling\":0}],\"filter\":[{\"validateFilter\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"barColumns\":[{\"validateBarColumns\":0}],\"barColumnWidth\":[{\"validateBarColumnWidth\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"dataFormat\":[{\"validateDataFormat\":0}],\"type\":[{\"validateType\":0}],\"limit\":[{\"validateLimit\":0}],\"thereof\":[{\"validateThereOf\":0}],\"thereofPosition\":[{\"validateThereofPosition\":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}],\"categoryIntervalPosition\":[{\"validateCategoryIntervalPosition\":0}],\"tableAttributes\":[{\"validateTableAttributes\":0}]}],[1,\"bn-annotation-layer\",{\"items\":[1],\"selectedStyle\":[513,\"selected-style\"],\"marks\":[32]},null,{\"items\":[{\"onItemsChange\":0}]}],[1,\"bn-annotation-list\",{\"items\":[1],\"selectedStyle\":[513,\"selected-style\"]}],[1,\"bn-asset\",{\"name\":[1]}],[0,\"bn-component-style\",{\"name\":[1]}],[257,\"bn-context\",{\"locale\":[1],\"i18nNamespace\":[513,\"i18n-namespace\"],\"renderOrientation\":[513,\"render-orientation\"],\"getLayoutState\":[64]},null,{\"locale\":[{\"setLocale\":0}]}],[0,\"bn-dataset\",{\"name\":[1],\"datasources\":[1],\"static\":[4],\"raw\":[4],\"refreshInterval\":[2,\"refresh-interval\"],\"src\":[1]},null,{\"name\":[{\"nameUpdated\":0}],\"refreshInterval\":[{\"onIntervalChange\":0}],\"src\":[{\"onSrcChange\":0}]}],[0,\"bn-datasource\",{\"name\":[1],\"raw\":[4],\"refreshInterval\":[2,\"refresh-interval\"],\"src\":[1]},null,{\"refreshInterval\":[{\"onIntervalChange\":0}],\"src\":[{\"onSrcChange\":0}],\"name\":[{\"nameUpdated\":0}]}],[0,\"bn-scaling-group\",{\"name\":[1],\"value\":[8]},null,{\"name\":[{\"onNameChange\":0}],\"value\":[{\"onValueChange\":0}]}],[257,\"bn-tree\",{\"selectedStyle\":[513,\"selected-style\"],\"edges\":[1],\"direction\":[1],\"levelSpacing\":[2,\"level-spacing\"],\"nodeSpacing\":[2,\"node-spacing\"],\"edgeStyle\":[1,\"edge-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"showOperators\":[4,\"show-operators\"],\"treeConfig\":[32],\"layout\":[32],\"nodeRects\":[32],\"svgWidth\":[32],\"svgHeight\":[32],\"getLayoutState\":[64]},null,{\"edges\":[{\"validateEdgesProp\":0}],\"direction\":[{\"validateDirection\":0}],\"levelSpacing\":[{\"validateLevelSpacing\":0}],\"nodeSpacing\":[{\"validateNodeSpacing\":0}],\"edgeStyle\":[{\"validateEdgeStyle\":0}]}],[257,\"bn-card\",{\"selectedStyle\":[513,\"selected-style\"]}],[1,\"bn-chart-bubble-renderer\",{\"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],\"translator\":[16]}],[1,\"bn-chart-bullet-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"actual\":[16],\"target\":[16],\"ranges\":[16],\"normalizeMode\":[1,\"normalize-mode\"],\"showVariances\":[4,\"show-variances\"],\"level\":[1],\"order\":[16],\"limit\":[2],\"labels\":[16],\"filter\":[1],\"styles\":[16],\"i18n\":[16],\"containerWidth\":[2,\"container-width\"],\"ruleSetConfig\":[16],\"errors\":[16],\"translator\":[16]}],[1,\"bn-chart-scatter-renderer\",{\"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],\"translator\":[16]}],[1,\"bn-chart-structure-renderer\",{\"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\"],\"reportAutoScaling\":[16],\"errors\":[16],\"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,\"bn-chart-time-renderer\",{\"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\"],\"reportAutoScaling\":[16],\"errors\":[16],\"leftSideOffsetForHorizontalSync\":[2,\"left-side-offset-for-horizontal-sync\"],\"styles\":[1040],\"i18n\":[1040],\"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],\"axisLabelsStep\":[2,\"axis-labels-step\"],\"scenarioSwitch\":[4,\"scenario-switch\"],\"axisTitlePosition\":[1,\"axis-title-position\"],\"parentDimensions\":[16],\"ruleSetConfig\":[16]}],[1,\"bn-message\",{\"selectedStyle\":[513,\"selected-style\"],\"text\":[1025],\"image\":[1]}],[257,\"bn-page\",{\"selectedStyle\":[513,\"selected-style\"],\"format\":[1],\"orientation\":[1]},null,{\"format\":[{\"validateFormat\":0}],\"orientation\":[{\"validateOrientation\":0}]}],[1,\"bn-table-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"selectedStyle\":[513,\"selected-style\"],\"sumTitle\":[1,\"sum-title\"],\"scenarios\":[16],\"scenariosDataFormat\":[1,\"scenarios-data-format\"],\"grouped\":[4],\"limit\":[2],\"showGroupTitle\":[4,\"show-group-title\"],\"runningSum\":[4,\"running-sum\"],\"varianceWaterfall\":[4,\"variance-waterfall\"],\"thereof\":[16],\"thereofPosition\":[1,\"thereof-position\"],\"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],\"categoryIntervalPosition\":[2,\"category-interval-position\"],\"barColumnMaxWidth\":[2,\"bar-column-max-width\"],\"unitScaling\":[2,\"unit-scaling\"],\"percentageScaling\":[2,\"percentage-scaling\"],\"reportAutoScaling\":[16],\"errors\":[16],\"scaleFactor\":[2,\"scale-factor\"],\"getLayoutDetail\":[64]}],[1,\"bn-title\",{\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"titleFontSize\":[2,\"title-font-size\"],\"titleId\":[1,\"title-id\"],\"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\",{\"selectedStyle\":[513,\"selected-style\"]}],[1,\"bn-footer\",{\"selectedStyle\":[513,\"selected-style\"],\"pageNumber\":[1025,\"page-number\"],\"text\":[1025],\"displayPageNumber\":[4,\"display-page-number\"]}],[1,\"bn-title-renderer\",{\"businessUnit\":[1537,\"business-unit\"],\"scenarios\":[16],\"measures\":[16],\"timeperiod\":[16],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"order\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"locale\":[1],\"ruleSetConfig\":[16],\"titleId\":[1,\"title-id\"]}]]]]"), options);
48
48
  });
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, f as forceUpdate, h, a as Host, g as getElement } from './index-CCZcKl0Q.js';
2
- import { w as withTranslation, a as withDataset, g as getParentDimensions, p as parseScaling, s as sanitizeHtml } from './withTranslation-C1gL7wSU.js';
3
- import { w as withComponentStatus, a as withHasError } from './withHasError-B6Lvj9Cq.js';
4
- import { w as withStyled, a as withComponentStyle } from './withStyled-CzzXg64f.js';
2
+ import { w as withTranslation, a as withDataset, g as getParentDimensions, p as parseScaling, s as sanitizeHtml } from './withTranslation-Bc3bjHTb.js';
3
+ import { w as withComponentStatus, a as withHasError } from './withHasError-UGtkLrYT.js';
4
+ import { w as withStyled, a as withComponentStyle } from './withStyled-BlMqEIfr.js';
5
5
 
6
6
  const NAME = "[A-Za-z_$\\u00C0-\\uFFFF][\\w$\\u00C0-\\uFFFF]*";
7
7
  const STRING = `'[^'\\\\]*'|"[^"\\\\]*"`;