@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.
- package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
- package/dist/bn-template-engine/{p-8b28c9bd.entry.js → p-16623e0f.entry.js} +1 -1
- package/dist/bn-template-engine/p-17970e07.entry.js +1 -0
- package/dist/bn-template-engine/{p-48871742.entry.js → p-21930d0a.entry.js} +1 -1
- package/dist/bn-template-engine/{p-5a64f90f.entry.js → p-46c46067.entry.js} +1 -1
- package/dist/bn-template-engine/p-9caa7f46.entry.js +1 -0
- package/dist/bn-template-engine/p-B0MEAsAS.js +1 -0
- package/dist/bn-template-engine/{p-qpZjVnX5.js → p-BA-fydUt.js} +1 -1
- package/dist/bn-template-engine/p-BEGt_7Hr.js +1 -0
- package/dist/bn-template-engine/p-BRO1oW7m.js +1 -0
- package/dist/bn-template-engine/{p-DVE0-sOv.js → p-BnzIfgCq.js} +1 -1
- package/dist/bn-template-engine/{p-b0dfc113.entry.js → p-b0d528f2.entry.js} +1 -1
- package/dist/cjs/bn-annotation-layer_30.cjs.entry.js +608 -83
- package/dist/cjs/bn-grid.cjs.entry.js +161 -34
- package/dist/cjs/bn-image.cjs.entry.js +2 -2
- package/dist/cjs/bn-internationalization.cjs.entry.js +2 -2
- package/dist/cjs/bn-ruleset.cjs.entry.js +2 -2
- package/dist/cjs/bn-template-engine.cjs.js +1 -1
- package/dist/cjs/bn-text.cjs.entry.js +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{localFrame-U3Qs0psw.js → localFrame-C27GGom1.js} +1 -1
- package/dist/cjs/{withBodyObserver-S-FGHpAX.js → withBodyObserver-B78wzw3f.js} +1 -1
- package/dist/cjs/{withHasError-BkBrsCpI.js → withHasError-0hW3-4mr.js} +11 -5
- package/dist/cjs/{withStyled-BZb6snOx.js → withStyled-D0hrcfE_.js} +25 -1
- package/dist/cjs/{withTranslation-1qTs5Fi7.js → withTranslation-B4WipL_5.js} +2 -2
- package/dist/collection/components/bn-annotation-layer/bn-annotation-layer.js +33 -2
- package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +112 -16
- package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +1 -1
- package/dist/collection/components/bn-chart-structure/utils/elements/Needle.js +3 -3
- package/dist/collection/components/bn-chart-time/bn-chart-time-renderer/bn-chart-time-renderer.js +113 -3
- package/dist/collection/components/bn-chart-time/bn-chart-time.js +261 -22
- package/dist/collection/components/bn-chart-time/utils/TimeChart.js +221 -12
- package/dist/collection/components/bn-chart-time/utils/elements/Axis.js +9 -1
- package/dist/collection/components/bn-chart-time/utils/elements/Column.js +10 -4
- package/dist/collection/components/bn-chart-time/utils/elements/Needle.js +9 -3
- package/dist/collection/components/bn-chart-time/utils/factories/ScenarioFactory.js +2 -2
- package/dist/collection/components/bn-chart-time/utils/model/DataPoint.js +9 -6
- package/dist/collection/components/bn-chart-time/utils/model/TimeChartComponentConfig.js +15 -0
- package/dist/collection/components/bn-grid/bn-grid.js +118 -24
- package/dist/collection/components/bn-grid/utils/cellLayout.js +55 -9
- package/dist/collection/components/bn-layout-card/bn-layout-card.js +4 -2
- package/dist/collection/components/bn-layout-page/bn-layout-page.js +23 -1
- package/dist/collection/components/bn-title/bn-title-renderer/bn-title-renderer.css +10 -0
- package/dist/collection/components/bn-title/bn-title-renderer/bn-title-renderer.js +23 -1
- package/dist/collection/components/bn-title/bn-title.js +40 -2
- package/dist/collection/stores/componentStyles.js +9 -3
- package/dist/collection/stores/internationalization.js +2 -2
- package/dist/collection/utils/DateStringFactory.js +19 -0
- package/dist/collection/utils/model/DataFormatDigits.js +4 -2
- package/dist/collection/utils/model/VarianceScenario.js +13 -0
- package/dist/collection/utils/validate.js +4 -0
- package/dist/components/bn-annotation-layer.js +1 -1
- package/dist/components/bn-annotation-list.js +1 -1
- package/dist/components/bn-asset.js +1 -1
- package/dist/components/bn-body.js +1 -1
- package/dist/components/bn-card.js +1 -1
- package/dist/components/bn-chart-bubble-renderer.js +1 -1
- package/dist/components/bn-chart-bubble.js +1 -1
- package/dist/components/bn-chart-bullet-renderer.js +1 -1
- package/dist/components/bn-chart-bullet.js +1 -1
- package/dist/components/bn-chart-scatter-renderer.js +1 -1
- package/dist/components/bn-chart-scatter.js +1 -1
- package/dist/components/bn-chart-structure-renderer.js +1 -1
- package/dist/components/bn-chart-structure.js +1 -1
- package/dist/components/bn-chart-time-renderer.js +1 -1
- package/dist/components/bn-chart-time.js +1 -1
- package/dist/components/bn-component-style.js +1 -1
- package/dist/components/bn-context.js +1 -1
- package/dist/components/bn-dataset.js +1 -1
- package/dist/components/bn-datasource.js +1 -1
- package/dist/components/bn-footer.js +1 -1
- package/dist/components/bn-grid.js +1 -1
- package/dist/components/bn-image.js +1 -1
- package/dist/components/bn-internationalization.js +1 -1
- package/dist/components/bn-layout-card.js +1 -1
- package/dist/components/bn-layout-page.js +1 -1
- package/dist/components/bn-message.js +1 -1
- package/dist/components/bn-page.js +1 -1
- package/dist/components/bn-ruleset.js +1 -1
- package/dist/components/bn-scaling-group.js +1 -1
- package/dist/components/bn-table-renderer.js +1 -1
- package/dist/components/bn-table.js +1 -1
- package/dist/components/bn-text.js +1 -1
- package/dist/components/bn-title-renderer.js +1 -1
- package/dist/components/bn-title.js +1 -1
- package/dist/components/bn-tree.js +1 -1
- package/dist/components/p-9X5fVJqR.js +1 -0
- package/dist/components/p-B5GRtTLX.js +1 -0
- package/dist/components/{p-DJUffGeB.js → p-BKA15uoz.js} +1 -1
- package/dist/components/p-BKLq0Pbv.js +1 -0
- package/dist/components/p-BKTBdrEA.js +1 -0
- package/dist/components/p-Bd8cQiLx.js +1 -0
- package/dist/components/{p-CvEdUq8i.js → p-Be0Q3bvf.js} +1 -1
- package/dist/components/{p-xIWChKGS.js → p-Bj3RWsEx.js} +1 -1
- package/dist/components/{p-B4L069XF.js → p-BoBamuPt.js} +1 -1
- package/dist/components/{p-DaOm9YwQ.js → p-BrJZUp-K.js} +1 -1
- package/dist/components/{p-CyfGkLMh.js → p-BuWNCnvR.js} +1 -1
- package/dist/components/{p-M2k_I8lv.js → p-CFVoK5Rb.js} +1 -1
- package/dist/components/{p-fKJx8WtW.js → p-CgJB5mCu.js} +1 -1
- package/dist/components/p-Cxx0YNnl.js +1 -0
- package/dist/components/p-D9F5IBFT.js +1 -0
- package/dist/components/{p-BfUdaxZ9.js → p-DQFahsnV.js} +1 -1
- package/dist/components/p-DROj8gke.js +1 -0
- package/dist/components/p-D_Sbhd0L.js +1 -0
- package/dist/components/{p-Cel0a6ma.js → p-DbWh9W5D.js} +1 -1
- package/dist/components/{p-2eicD9rF.js → p-DkCeSWKR.js} +1 -1
- package/dist/components/{p-7ieJFBUk.js → p-DoOSXntC.js} +1 -1
- package/dist/components/p-Dxj_pf8s.js +1 -0
- package/dist/components/{p-DQl2K2Xl.js → p-DzYhS_9s.js} +1 -1
- package/dist/components/{p-B2bvM2Ig.js → p-EQNS13GN.js} +1 -1
- package/dist/components/{p-Y9bth2Y_.js → p-G56USTsQ.js} +1 -1
- package/dist/components/p-OgFFKehL.js +1 -0
- package/dist/components/{p-C2ycO60j.js → p-kvYRImZT.js} +1 -1
- package/dist/components/{p-Chuj-LpI.js → p-rEdNIgD8.js} +1 -1
- package/dist/components/{p-DwuXVo2h.js → p-uCpFBDF5.js} +1 -1
- package/dist/esm/bn-annotation-layer_30.entry.js +608 -83
- package/dist/esm/bn-grid.entry.js +161 -34
- package/dist/esm/bn-image.entry.js +2 -2
- package/dist/esm/bn-internationalization.entry.js +2 -2
- package/dist/esm/bn-ruleset.entry.js +2 -2
- package/dist/esm/bn-template-engine.js +1 -1
- package/dist/esm/bn-text.entry.js +3 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{localFrame-BNWPPaQa.js → localFrame-CEZ7-hBs.js} +1 -1
- package/dist/esm/{withBodyObserver-AHQAUV85.js → withBodyObserver-D9yIMxdr.js} +1 -1
- package/dist/esm/{withHasError-B6Lvj9Cq.js → withHasError-UGtkLrYT.js} +11 -5
- package/dist/esm/{withStyled-CzzXg64f.js → withStyled-BlMqEIfr.js} +25 -2
- package/dist/esm/{withTranslation-C1gL7wSU.js → withTranslation-Bc3bjHTb.js} +2 -2
- package/dist/schemas/theme.schema.json +18 -0
- package/dist/types/components/bn-annotation-layer/bn-annotation-layer.d.ts +11 -0
- package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +16 -0
- package/dist/types/components/bn-chart-structure/utils/elements/Needle.d.ts +2 -1
- package/dist/types/components/bn-chart-time/bn-chart-time-renderer/bn-chart-time-renderer.d.ts +8 -0
- package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +46 -1
- package/dist/types/components/bn-chart-time/utils/TimeChart.d.ts +37 -0
- package/dist/types/components/bn-chart-time/utils/elements/Axis.d.ts +2 -0
- package/dist/types/components/bn-chart-time/utils/elements/Needle.d.ts +2 -1
- package/dist/types/components/bn-chart-time/utils/factories/ScenarioFactory.d.ts +1 -1
- package/dist/types/components/bn-chart-time/utils/model/DataPoint.d.ts +6 -1
- package/dist/types/components/bn-chart-time/utils/model/TimeChartComponentConfig.d.ts +6 -0
- package/dist/types/components/bn-grid/bn-grid.d.ts +23 -0
- package/dist/types/components/bn-grid/utils/cellLayout.d.ts +39 -3
- package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +3 -1
- package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +9 -0
- package/dist/types/components/bn-title/bn-title-renderer/bn-title-renderer.d.ts +2 -0
- package/dist/types/components/bn-title/bn-title.d.ts +10 -0
- package/dist/types/components.d.ts +173 -6
- package/dist/types/stores/componentStyles.d.ts +8 -0
- package/dist/types/utils/DateStringFactory.d.ts +4 -0
- package/dist/types/utils/layoutState/types.d.ts +3 -0
- package/dist/types/utils/model/VarianceScenario.d.ts +2 -0
- package/dist/types/utils/validate.d.ts +2 -0
- package/package.json +1 -1
- package/dist/bn-template-engine/p-1b002bd5.entry.js +0 -1
- package/dist/bn-template-engine/p-750b2c82.entry.js +0 -1
- package/dist/bn-template-engine/p-D0tNATZq.js +0 -1
- package/dist/bn-template-engine/p-DF9sfwBN.js +0 -1
- package/dist/bn-template-engine/p-EcC0qLtU.js +0 -1
- package/dist/components/p-1B_s8oPY.js +0 -1
- package/dist/components/p-AwH1w8Mu.js +0 -1
- package/dist/components/p-BiSytXUy.js +0 -1
- package/dist/components/p-C3gYq-HU.js +0 -1
- package/dist/components/p-CEf5X8MZ.js +0 -1
- package/dist/components/p-CniN8ALm.js +0 -1
- package/dist/components/p-D40Am1Ap.js +0 -1
- package/dist/components/p-DDvWTgk1.js +0 -1
- package/dist/components/p-DjPWZfry.js +0 -1
- package/dist/components/p-DnDL1pPc.js +0 -1
- package/dist/components/p-sLbQ7yZ1.js +0 -1
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DGis1BzT.js');
|
|
4
4
|
var index$1 = require('./index.cjs.js');
|
|
5
|
-
var localFrame = require('./localFrame-
|
|
6
|
-
var withHasError = require('./withHasError-
|
|
7
|
-
var withStyled = require('./withStyled-
|
|
5
|
+
var localFrame = require('./localFrame-C27GGom1.js');
|
|
6
|
+
var withHasError = require('./withHasError-0hW3-4mr.js');
|
|
7
|
+
var withStyled = require('./withStyled-D0hrcfE_.js');
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Header configuration types and parsing utilities for bn-grid component.
|
|
@@ -122,8 +122,8 @@ function validateHeadersJson(json) {
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
|
-
* Cell size and alignment for bn-grid: the accepted values, their CSS,
|
|
126
|
-
* the offsets that line up the baselines of the components in a row or column.
|
|
125
|
+
* Cell size, span and alignment for bn-grid: the accepted values, their CSS,
|
|
126
|
+
* and the offsets that line up the baselines of the components in a row or column.
|
|
127
127
|
*/
|
|
128
128
|
const CELL_SIZES = ["auto", "equal"];
|
|
129
129
|
const VERTICAL_ALIGNS = ["top", "center", "bottom", "baseline"];
|
|
@@ -167,21 +167,67 @@ function parseCaptions(json) {
|
|
|
167
167
|
}
|
|
168
168
|
return captions;
|
|
169
169
|
}
|
|
170
|
+
/** The value of `row-span` or `column-span`: a whole number from 1. `undefined` when invalid. */
|
|
171
|
+
function parseSpan(value) {
|
|
172
|
+
if (value === null || value.trim() === "")
|
|
173
|
+
return 1;
|
|
174
|
+
const span = Number(value);
|
|
175
|
+
return Number.isInteger(span) && span >= 1 ? span : undefined;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* The data cells of a grid, row by row. A cell with a span also takes the
|
|
179
|
+
* positions right of it and below it, and those get no cell of their own. A
|
|
180
|
+
* span ends at the edge of the grid, and before a position that is taken.
|
|
181
|
+
*/
|
|
182
|
+
function placeCells(rowCount, columnCount, spanOf) {
|
|
183
|
+
var _a, _b;
|
|
184
|
+
const owner = Array.from({ length: rowCount }, () => Array(columnCount));
|
|
185
|
+
const cells = [];
|
|
186
|
+
const covered = [];
|
|
187
|
+
for (let row = 0; row < rowCount; row++) {
|
|
188
|
+
for (let column = 0; column < columnCount; column++) {
|
|
189
|
+
const by = owner[row][column];
|
|
190
|
+
if (by) {
|
|
191
|
+
covered.push({ row, column, by });
|
|
192
|
+
continue;
|
|
193
|
+
}
|
|
194
|
+
const span = spanOf(row, column);
|
|
195
|
+
const rowSpan = Math.min((_a = span === null || span === void 0 ? void 0 : span.rowSpan) !== null && _a !== void 0 ? _a : 1, rowCount - row);
|
|
196
|
+
let columnSpan = 1;
|
|
197
|
+
const wanted = Math.min((_b = span === null || span === void 0 ? void 0 : span.columnSpan) !== null && _b !== void 0 ? _b : 1, columnCount - column);
|
|
198
|
+
// a taken position in this row is taken by a cell from above, so the rows below need no check
|
|
199
|
+
while (columnSpan < wanted && !owner[row][column + columnSpan])
|
|
200
|
+
columnSpan++;
|
|
201
|
+
const cell = { row, column, rowSpan, columnSpan };
|
|
202
|
+
for (let r = row; r < row + rowSpan; r++) {
|
|
203
|
+
for (let c = column; c < column + columnSpan; c++)
|
|
204
|
+
owner[r][c] = cell;
|
|
205
|
+
}
|
|
206
|
+
cells.push(cell);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
return { cells, covered };
|
|
210
|
+
}
|
|
170
211
|
const round2 = (value) => Math.round(value * 100) / 100;
|
|
171
212
|
/**
|
|
172
213
|
* Offsets that put every baseline of a row on the lowest one, and every
|
|
173
214
|
* baseline of a column on the rightmost one. A cell without a baseline on an
|
|
174
|
-
* axis goes to the bottom (vertical) or stays left (horizontal).
|
|
215
|
+
* axis goes to the bottom (vertical) or stays left (horizontal). A cell over
|
|
216
|
+
* several rows is left out of the rows and stays at the top; a cell over
|
|
217
|
+
* several columns is left out of the columns and stays left.
|
|
175
218
|
*/
|
|
176
219
|
function baselineOffsets(cells, vertical, horizontal) {
|
|
177
220
|
const offsets = {};
|
|
178
221
|
for (const cell of cells)
|
|
179
222
|
offsets[cell.slot] = {};
|
|
180
|
-
const line = (key, value, applied, set) => {
|
|
181
|
-
var _a;
|
|
223
|
+
const line = (key, span, value, applied, set) => {
|
|
224
|
+
var _a, _b;
|
|
182
225
|
const groups = new Map();
|
|
183
|
-
for (const cell of cells)
|
|
184
|
-
|
|
226
|
+
for (const cell of cells) {
|
|
227
|
+
if (((_a = cell[span]) !== null && _a !== void 0 ? _a : 1) > 1)
|
|
228
|
+
continue;
|
|
229
|
+
groups.set(cell[key], [...((_b = groups.get(cell[key])) !== null && _b !== void 0 ? _b : []), cell]);
|
|
230
|
+
}
|
|
185
231
|
for (const group of groups.values()) {
|
|
186
232
|
// where each baseline would be without an offset
|
|
187
233
|
const natural = group.map((cell) => {
|
|
@@ -196,7 +242,7 @@ function baselineOffsets(cells, vertical, horizontal) {
|
|
|
196
242
|
}
|
|
197
243
|
};
|
|
198
244
|
if (vertical) {
|
|
199
|
-
line("row", (cell) => cell.y, (cell) => cell.top, (offset, pad) => {
|
|
245
|
+
line("row", "rowSpan", (cell) => cell.y, (cell) => cell.top, (offset, pad) => {
|
|
200
246
|
if (pad === undefined)
|
|
201
247
|
offset.bottom = true;
|
|
202
248
|
else
|
|
@@ -204,7 +250,7 @@ function baselineOffsets(cells, vertical, horizontal) {
|
|
|
204
250
|
});
|
|
205
251
|
}
|
|
206
252
|
if (horizontal) {
|
|
207
|
-
line("column", (cell) => cell.x, (cell) => cell.left, (offset, pad, largest) => {
|
|
253
|
+
line("column", "columnSpan", (cell) => cell.x, (cell) => cell.left, (offset, pad, largest) => {
|
|
208
254
|
if (pad !== undefined)
|
|
209
255
|
offset.left = pad;
|
|
210
256
|
const right = round2(largest - (pad !== null && pad !== void 0 ? pad : 0));
|
|
@@ -256,6 +302,8 @@ const FRAME_OFFSET_PROPERTIES = {
|
|
|
256
302
|
left: "--bn-baseline-offset-left",
|
|
257
303
|
right: "--bn-baseline-offset-right",
|
|
258
304
|
};
|
|
305
|
+
/** Attributes of a slotted child that shape its cell. */
|
|
306
|
+
const CELL_ATTRIBUTES = ["row-span", "column-span", "cell-background"];
|
|
259
307
|
/** A pass that keeps changing the offsets stops after this many: a component whose baseline follows its width could chase it. */
|
|
260
308
|
const MAX_ADJUSTMENTS = 5;
|
|
261
309
|
const Grid = class {
|
|
@@ -327,6 +375,10 @@ const Grid = class {
|
|
|
327
375
|
this.captions = {};
|
|
328
376
|
/** Per slot: how far the baseline pass moved the content. */
|
|
329
377
|
this.offsets = {};
|
|
378
|
+
/** Per slot: span and background from the slotted child. Only cells that set one of them. */
|
|
379
|
+
this.cellAttributes = {};
|
|
380
|
+
/** The data cells of the last render, row by row. */
|
|
381
|
+
this.placed = [];
|
|
330
382
|
/** Per slot: the frame around its component, from the last baseline pass. */
|
|
331
383
|
this.frames = new Map();
|
|
332
384
|
this.observed = new WeakSet();
|
|
@@ -435,15 +487,21 @@ const Grid = class {
|
|
|
435
487
|
this.observed = new WeakSet();
|
|
436
488
|
this.resizeObserver = new ResizeObserver(this.schedule);
|
|
437
489
|
// a child can be added, moved to another slot or replaced, in a morphing preview for example
|
|
438
|
-
this.mutationObserver = new MutationObserver(
|
|
490
|
+
this.mutationObserver = new MutationObserver(() => {
|
|
491
|
+
this.readCellAttributes();
|
|
492
|
+
this.checkCoveredSlots();
|
|
493
|
+
this.schedule();
|
|
494
|
+
});
|
|
439
495
|
this.mutationObserver.observe(this.element, {
|
|
440
496
|
childList: true,
|
|
441
497
|
subtree: true,
|
|
442
498
|
attributes: true,
|
|
443
|
-
attributeFilter: ["slot"],
|
|
499
|
+
attributeFilter: ["slot", ...CELL_ATTRIBUTES],
|
|
444
500
|
});
|
|
445
501
|
// a caption in a late web font changes its height
|
|
446
502
|
(_a = document.fonts) === null || _a === void 0 ? void 0 : _a.addEventListener("loadingdone", this.schedule);
|
|
503
|
+
// a change made while the grid was detached reached no observer
|
|
504
|
+
this.readCellAttributes();
|
|
447
505
|
}
|
|
448
506
|
disconnectedCallback() {
|
|
449
507
|
var _a, _b, _c;
|
|
@@ -472,6 +530,68 @@ const Grid = class {
|
|
|
472
530
|
});
|
|
473
531
|
return fallback;
|
|
474
532
|
}
|
|
533
|
+
/** Reads the span and the background of every cell from its slotted child. */
|
|
534
|
+
readCellAttributes() {
|
|
535
|
+
const next = {};
|
|
536
|
+
const invalid = [];
|
|
537
|
+
for (const child of Array.from(this.element.children)) {
|
|
538
|
+
const slot = child.getAttribute("slot");
|
|
539
|
+
if (slot === null)
|
|
540
|
+
continue;
|
|
541
|
+
const span = (attribute) => {
|
|
542
|
+
const value = parseSpan(child.getAttribute(attribute));
|
|
543
|
+
if (value === undefined)
|
|
544
|
+
invalid.push(`${attribute} of slot "${slot}"`);
|
|
545
|
+
return value !== null && value !== void 0 ? value : 1;
|
|
546
|
+
};
|
|
547
|
+
const cell = { rowSpan: span("row-span"), columnSpan: span("column-span") };
|
|
548
|
+
const background = child.getAttribute("cell-background");
|
|
549
|
+
if (background)
|
|
550
|
+
cell.background = background;
|
|
551
|
+
if (cell.rowSpan > 1 || cell.columnSpan > 1 || cell.background)
|
|
552
|
+
next[slot] = cell;
|
|
553
|
+
}
|
|
554
|
+
if (invalid.length > 0) {
|
|
555
|
+
this.errors.addOrReplace({
|
|
556
|
+
id: "ERR_cellSpan",
|
|
557
|
+
type: "error",
|
|
558
|
+
message: `${invalid.join(", ")}: not a whole number from 1.`,
|
|
559
|
+
});
|
|
560
|
+
}
|
|
561
|
+
else {
|
|
562
|
+
this.errors.remove("ERR_cellSpan");
|
|
563
|
+
}
|
|
564
|
+
if (JSON.stringify(next) !== JSON.stringify(this.cellAttributes))
|
|
565
|
+
this.cellAttributes = next;
|
|
566
|
+
}
|
|
567
|
+
/** Places the data cells. */
|
|
568
|
+
placeDataCells() {
|
|
569
|
+
const { rows, columns } = this.gridConfig;
|
|
570
|
+
const slotAt = (row, column) => getSlotName(rows[row], columns[column]);
|
|
571
|
+
const { cells } = placeCells(rows.length, columns.length, (row, column) => this.cellAttributes[slotAt(row, column)]);
|
|
572
|
+
this.placed = cells.map((cell) => (Object.assign(Object.assign({}, cell), { slot: slotAt(cell.row, cell.column) })));
|
|
573
|
+
this.checkCoveredSlots();
|
|
574
|
+
}
|
|
575
|
+
/** Warns about a child in a position that a span covers. A new child changes no state, so the observer calls this too. */
|
|
576
|
+
checkCoveredSlots() {
|
|
577
|
+
var _a;
|
|
578
|
+
const { rows, columns } = (_a = this.gridConfig) !== null && _a !== void 0 ? _a : { rows: [], columns: [] };
|
|
579
|
+
const slotAt = (row, column) => getSlotName(rows[row], columns[column]);
|
|
580
|
+
const { covered } = placeCells(rows.length, columns.length, (row, column) => this.cellAttributes[slotAt(row, column)]);
|
|
581
|
+
const slotted = new Set(Array.from(this.element.children).map((child) => child.getAttribute("slot")));
|
|
582
|
+
const hidden = covered.filter(({ row, column }) => slotted.has(slotAt(row, column)));
|
|
583
|
+
if (hidden.length > 0) {
|
|
584
|
+
const list = hidden.map(({ row, column, by }) => `"${slotAt(row, column)}" (covered by "${slotAt(by.row, by.column)}")`);
|
|
585
|
+
this.errors.addOrReplace({
|
|
586
|
+
id: "WARN_cellSpan",
|
|
587
|
+
type: "warning",
|
|
588
|
+
message: `a span covers the slot ${list.join(", ")}: its content is not shown.`,
|
|
589
|
+
});
|
|
590
|
+
}
|
|
591
|
+
else {
|
|
592
|
+
this.errors.remove("WARN_cellSpan");
|
|
593
|
+
}
|
|
594
|
+
}
|
|
475
595
|
isBaselineMode() {
|
|
476
596
|
return this.resolvedVertical === "baseline" || this.resolvedHorizontal === "baseline";
|
|
477
597
|
}
|
|
@@ -505,8 +625,7 @@ const Grid = class {
|
|
|
505
625
|
const run = ++this.run;
|
|
506
626
|
if (!this.element.isConnected || !this.isBaselineMode())
|
|
507
627
|
return;
|
|
508
|
-
const
|
|
509
|
-
const slots = rows.flatMap((row, rowIndex) => columns.map((column, columnIndex) => ({ slot: getSlotName(row, column), row: rowIndex, column: columnIndex })));
|
|
628
|
+
const slots = this.placed;
|
|
510
629
|
const contents = slots.map(({ slot }) => this.contentIn(slot));
|
|
511
630
|
const visuals = contents.map((content) => content.visual);
|
|
512
631
|
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); }));
|
|
@@ -525,16 +644,22 @@ const Grid = class {
|
|
|
525
644
|
});
|
|
526
645
|
this.frames = new Map();
|
|
527
646
|
contents.forEach(({ frame }, index) => frame && this.frames.set(slots[index].slot, frame));
|
|
528
|
-
const cells = slots.map(({ slot, row, column }, index) => {
|
|
647
|
+
const cells = slots.map(({ slot, row, column, rowSpan, columnSpan }, index) => {
|
|
529
648
|
const visual = visuals[index];
|
|
530
649
|
const baseline = baselines[index];
|
|
531
650
|
// what is drawn now, not what is in the state: a render can still be pending
|
|
532
651
|
const cardFrame = contents[index].frame;
|
|
533
652
|
const holder = cardFrame !== null && cardFrame !== void 0 ? cardFrame : wrappers.get(slot);
|
|
534
653
|
const applied = (property) => parseFloat((holder === null || holder === void 0 ? void 0 : holder.style.getPropertyValue(property)) || "0") || 0;
|
|
535
|
-
const cell =
|
|
536
|
-
|
|
537
|
-
|
|
654
|
+
const cell = {
|
|
655
|
+
slot,
|
|
656
|
+
row,
|
|
657
|
+
column,
|
|
658
|
+
rowSpan,
|
|
659
|
+
columnSpan,
|
|
660
|
+
top: applied(cardFrame ? FRAME_OFFSET_PROPERTIES.top : "padding-top"),
|
|
661
|
+
left: applied(cardFrame ? FRAME_OFFSET_PROPERTIES.left : "margin-left"),
|
|
662
|
+
};
|
|
538
663
|
if (visual) {
|
|
539
664
|
const box = frame.toLocal(visual.getBoundingClientRect());
|
|
540
665
|
if (baseline.y !== undefined)
|
|
@@ -611,7 +736,7 @@ const Grid = class {
|
|
|
611
736
|
title: this.chartTitle || undefined,
|
|
612
737
|
rowCount: rows.length,
|
|
613
738
|
columnCount: columns.length,
|
|
614
|
-
cellCount:
|
|
739
|
+
cellCount: this.placed.length,
|
|
615
740
|
},
|
|
616
741
|
diagnostics: localFrame.readDiagnostics(this.element),
|
|
617
742
|
};
|
|
@@ -645,17 +770,11 @@ const Grid = class {
|
|
|
645
770
|
rect: localFrame.measure(header, origins),
|
|
646
771
|
});
|
|
647
772
|
});
|
|
648
|
-
// Data cells render
|
|
649
|
-
// row i / columns.length, column i % columns.length.
|
|
773
|
+
// Data cells render in the order of this.placed (see renderDataCells).
|
|
650
774
|
container.querySelectorAll(".grid-cell").forEach((cell, index) => {
|
|
651
775
|
var _a, _b, _c, _d;
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
rowId: columns.length > 0 ? (_a = rows[Math.floor(index / columns.length)]) === null || _a === void 0 ? void 0 : _a.id : undefined,
|
|
655
|
-
columnId: columns.length > 0 ? (_b = columns[index % columns.length]) === null || _b === void 0 ? void 0 : _b.id : undefined,
|
|
656
|
-
slot: (_d = (_c = cell.querySelector("slot")) === null || _c === void 0 ? void 0 : _c.getAttribute("name")) !== null && _d !== void 0 ? _d : undefined,
|
|
657
|
-
rect: localFrame.measure(cell, origins),
|
|
658
|
-
});
|
|
776
|
+
const placed = this.placed[index];
|
|
777
|
+
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: localFrame.measure(cell, origins) }));
|
|
659
778
|
});
|
|
660
779
|
container.querySelectorAll(".grid-caption").forEach((caption) => {
|
|
661
780
|
var _a, _b, _c, _d;
|
|
@@ -683,6 +802,10 @@ const Grid = class {
|
|
|
683
802
|
this.validateCellVerticalAlign(this.cellVerticalAlign);
|
|
684
803
|
this.validateCellHorizontalAlign(this.cellHorizontalAlign);
|
|
685
804
|
this.validateCellCaptions(this.cellCaptions);
|
|
805
|
+
this.readCellAttributes();
|
|
806
|
+
}
|
|
807
|
+
componentWillRender() {
|
|
808
|
+
this.placeDataCells();
|
|
686
809
|
}
|
|
687
810
|
updateGridConfig() {
|
|
688
811
|
this.gridConfig = parseGridConfig(this.rowHeaders, this.columnHeaders);
|
|
@@ -761,6 +884,7 @@ const Grid = class {
|
|
|
761
884
|
const startCol = this.shouldShowRowHeaders() ? 2 : 1;
|
|
762
885
|
const startRow = (this.chartTitle ? 1 : 0) + (this.shouldShowColumnHeaders() ? 1 : 0) + 1;
|
|
763
886
|
const cells = [];
|
|
887
|
+
const track = (start, span) => (span > 1 ? `${start} / span ${span}` : String(start));
|
|
764
888
|
if (this.gridConfig.rows.length > 0 && this.gridConfig.columns.length > 0) {
|
|
765
889
|
this.gridConfig.rows.forEach((row, rowIndex) => {
|
|
766
890
|
// Render row header for this row
|
|
@@ -775,11 +899,14 @@ const Grid = class {
|
|
|
775
899
|
} }, row.label));
|
|
776
900
|
}
|
|
777
901
|
// Render data cells for this row
|
|
778
|
-
this.
|
|
779
|
-
|
|
902
|
+
const placed = this.placed.filter((cell) => cell.row === rowIndex);
|
|
903
|
+
placed.forEach(({ slot: slotName, column: colIndex, rowSpan, columnSpan }) => {
|
|
904
|
+
var _a, _b;
|
|
780
905
|
const isNotFirstCol = colIndex > 0;
|
|
781
906
|
const isNotFirstRow = rowIndex > 0;
|
|
782
|
-
|
|
907
|
+
// the cell of the child wins over the style
|
|
908
|
+
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);
|
|
909
|
+
cells.push(index.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)));
|
|
783
910
|
});
|
|
784
911
|
});
|
|
785
912
|
}
|
|
@@ -861,7 +988,7 @@ const Grid = class {
|
|
|
861
988
|
// would only be as wide as their content, and charts measure that width.
|
|
862
989
|
const fill = this.resolvedWidth === "equal";
|
|
863
990
|
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 });
|
|
864
|
-
return (index.h(index.Host, { key: '
|
|
991
|
+
return (index.h(index.Host, { key: '97d858fb6f5704dfd46638c8e5c6a74927e702e0', style: fill ? Object.assign(Object.assign({}, this.getFontStyles()), { display: "block" }) : this.getFontStyles() }, index.h("div", { key: '1e218eac5865574fcb4572d1aaea60f1d87d8948', class: "grid-container", style: gridContainerStyle }, this.renderTitle(), this.renderColumnHeaders(), this.renderDataCells()), index.h("slot", { key: 'aabefa01213c69c0303f1df06f5575973253677e' })));
|
|
865
992
|
}
|
|
866
993
|
get element() { return index.getElement(this); }
|
|
867
994
|
static get watchers() { return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DGis1BzT.js');
|
|
4
|
-
var withStyled = require('./withStyled-
|
|
5
|
-
var withHasError = require('./withHasError-
|
|
4
|
+
var withStyled = require('./withStyled-D0hrcfE_.js');
|
|
5
|
+
var withHasError = require('./withHasError-0hW3-4mr.js');
|
|
6
6
|
|
|
7
7
|
const bnImageCss = () => `:host{display:inline-block;position:relative;overflow:hidden}img{max-width:100%;height:auto}`;
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DGis1BzT.js');
|
|
4
|
-
var withBodyObserver = require('./withBodyObserver-
|
|
5
|
-
var withHasError = require('./withHasError-
|
|
4
|
+
var withBodyObserver = require('./withBodyObserver-B78wzw3f.js');
|
|
5
|
+
var withHasError = require('./withHasError-0hW3-4mr.js');
|
|
6
6
|
var queryError = require('./queryError-BZjnIW_w.js');
|
|
7
7
|
|
|
8
8
|
const bnInternationalizationCss = () => `bn-internationalization{display:none}`;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DGis1BzT.js');
|
|
4
|
-
var withBodyObserver = require('./withBodyObserver-
|
|
5
|
-
var withHasError = require('./withHasError-
|
|
4
|
+
var withBodyObserver = require('./withBodyObserver-B78wzw3f.js');
|
|
5
|
+
var withHasError = require('./withHasError-0hW3-4mr.js');
|
|
6
6
|
|
|
7
7
|
const bnRulesetCss = () => `bn-ruleset{display:none}`;
|
|
8
8
|
|
|
@@ -46,7 +46,7 @@ var patchCloneNodeFix = (HTMLElementPrototype) => {
|
|
|
46
46
|
|
|
47
47
|
patchBrowser().then(async (options) => {
|
|
48
48
|
await appGlobals.globalScripts();
|
|
49
|
-
return index.bootstrapLazy(JSON.parse("[[\"bn-grid.cjs\",[[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.cjs\",[[1,\"bn-image\",{\"selectedStyle\":[513,\"selected-style\"],\"source\":[1]}]]],[\"bn-internationalization.cjs\",[[0,\"bn-internationalization\",{\"code\":[1],\"namespace\":[1]}]]],[\"bn-ruleset.cjs\",[[0,\"bn-ruleset\",{\"name\":[1]}]]],[\"bn-text.cjs\",[[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.cjs\",[[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);
|
|
49
|
+
return index.bootstrapLazy(JSON.parse("[[\"bn-grid.cjs\",[[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.cjs\",[[1,\"bn-image\",{\"selectedStyle\":[513,\"selected-style\"],\"source\":[1]}]]],[\"bn-internationalization.cjs\",[[0,\"bn-internationalization\",{\"code\":[1],\"namespace\":[1]}]]],[\"bn-ruleset.cjs\",[[0,\"bn-ruleset\",{\"name\":[1]}]]],[\"bn-text.cjs\",[[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.cjs\",[[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);
|
|
50
50
|
});
|
|
51
51
|
|
|
52
52
|
exports.setNonce = index.setNonce;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DGis1BzT.js');
|
|
4
|
-
var withTranslation = require('./withTranslation-
|
|
5
|
-
var withHasError = require('./withHasError-
|
|
6
|
-
var withStyled = require('./withStyled-
|
|
4
|
+
var withTranslation = require('./withTranslation-B4WipL_5.js');
|
|
5
|
+
var withHasError = require('./withHasError-0hW3-4mr.js');
|
|
6
|
+
var withStyled = require('./withStyled-D0hrcfE_.js');
|
|
7
7
|
|
|
8
8
|
const NAME = "[A-Za-z_$\\u00C0-\\uFFFF][\\w$\\u00C0-\\uFFFF]*";
|
|
9
9
|
const STRING = `'[^'\\\\]*'|"[^"\\\\]*"`;
|