@bino-bi/bn-template-engine 1.0.0-next.44 → 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-ce764078.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-BjozxTTW.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 +612 -84
- 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-FxXGUB3H.js → withTranslation-B4WipL_5.js} +7 -4
- 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/components/bn-tree/bn-tree.js +4 -1
- 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/parentDimensions.js +5 -2
- 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-C50Ge-4H.js +1 -0
- 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 +612 -84
- 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-Daq2JXkv.js → withTranslation-Bc3bjHTb.js} +7 -4
- 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-3c4af59a.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/bn-template-engine/p-a4b76176.entry.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-D2Epww9R.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
- /package/dist/components/{p-DD1zlev_.js → p-Dsvjkuy3.js} +0 -0
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -6,7 +6,7 @@ var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
|
6
6
|
const defineCustomElements = async (win, options) => {
|
|
7
7
|
if (typeof window === 'undefined') return undefined;
|
|
8
8
|
await appGlobals.globalScripts();
|
|
9
|
-
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);
|
|
9
|
+
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);
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
exports.setNonce = index.setNonce;
|
|
@@ -530,18 +530,23 @@ const SYSTEM_STYLE_DEFAULTS = {
|
|
|
530
530
|
borderColor: "#A6A6A6",
|
|
531
531
|
borderWidth: 1,
|
|
532
532
|
cellPadding: 4,
|
|
533
|
+
cellBackground: "transparent",
|
|
533
534
|
captionFontSize: 12,
|
|
534
535
|
captionFontWeight: "bold",
|
|
535
536
|
captionColor: "#000000",
|
|
536
537
|
captionGap: 2,
|
|
537
538
|
},
|
|
539
|
+
"bn-layout-card": {},
|
|
538
540
|
"bn-annotation": {
|
|
539
541
|
color: "#0070c0",
|
|
540
542
|
colors: { negative: "#ff0000", positive: "#008f96" },
|
|
541
543
|
},
|
|
542
544
|
};
|
|
543
|
-
/**
|
|
544
|
-
const
|
|
545
|
+
/** Keys that are optional, so the defaults do not list them. */
|
|
546
|
+
const OPTIONAL_KEYS = {
|
|
547
|
+
"bn-text": ["fontFamily", "fontSizePx", "fontColor", "fontBackgroundColor", "leading"],
|
|
548
|
+
"bn-layout-card": ["titleFontSize"],
|
|
549
|
+
};
|
|
545
550
|
// The keys of these groups are checked too. The style groups (`axisStyles.ac`, ...) are not: their keys differ per scenario.
|
|
546
551
|
const CHECKED_GROUPS = ["scaleFactors", "padding"];
|
|
547
552
|
const isPlainObject = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
|
|
@@ -551,6 +556,7 @@ const isPlainObject = (value) => value !== null && typeof value === "object" &&
|
|
|
551
556
|
* when the style is applied, so a typo would otherwise go unnoticed.
|
|
552
557
|
*/
|
|
553
558
|
function unknownStyleKeys(style) {
|
|
559
|
+
var _a;
|
|
554
560
|
const unknown = [];
|
|
555
561
|
if (!isPlainObject(style)) {
|
|
556
562
|
return unknown;
|
|
@@ -564,7 +570,7 @@ function unknownStyleKeys(style) {
|
|
|
564
570
|
if (!isPlainObject(value)) {
|
|
565
571
|
continue;
|
|
566
572
|
}
|
|
567
|
-
const sectionKeys = section
|
|
573
|
+
const sectionKeys = [...Object.keys(defaults[section]), ...((_a = OPTIONAL_KEYS[section]) !== null && _a !== void 0 ? _a : [])];
|
|
568
574
|
for (const [key, group] of Object.entries(value)) {
|
|
569
575
|
if (!sectionKeys.includes(key)) {
|
|
570
576
|
unknown.push(`${section}.${key}`);
|
|
@@ -719,7 +725,7 @@ const de = flattenObject({
|
|
|
719
725
|
CONNECTOR_WS: " und ",
|
|
720
726
|
in: "in",
|
|
721
727
|
},
|
|
722
|
-
"bn-chart-time": { "no-data": "Keine Daten" },
|
|
728
|
+
"bn-chart-time": { "no-data": "Keine Daten", "date-format-short-year": "yy" },
|
|
723
729
|
"bn-chart-structure": { "no-data": "Keine Daten", REST: "REST" },
|
|
724
730
|
"bn-chart-scatter": Object.assign(Object.assign({}, xyChartKeysDe), { "xy-iso-domain": "Iso-Linien benötigen einen strikt positiven Wertebereich auf beiden Achsen; übersprungen." }),
|
|
725
731
|
"bn-chart-bubble": Object.assign(Object.assign({}, xyChartKeysDe), { legend: Object.assign(Object.assign({}, xyChartKeysDe.legend), { size: "Größe", compare: "Szenarien" }), "xy-compare-variance": "compareWith kann nicht mit Varianz-Kennzahlen auf den Achsen kombiniert werden.", "bubble-size-negative": "{{count}} Blase(n) mit negativem Größenwert ausgeschlossen.", "bubble-share-range": "{{count}} Anteilswert(e) außerhalb [0,1] wurden begrenzt.", "bubble-scale-group-unknown": "size.group '{{group}}' verweist auf keine bn-scaling-group im Kontext.", "bubble-scale-overflow": "{{count}} gruppenskalierte Blase(n) überschreiten das Panel; in Originalgröße gezeichnet." }),
|
|
@@ -779,7 +785,7 @@ const en = flattenObject({
|
|
|
779
785
|
CONNECTOR_WS: " and ",
|
|
780
786
|
in: "in",
|
|
781
787
|
},
|
|
782
|
-
"bn-chart-time": { "no-data": "No Data" },
|
|
788
|
+
"bn-chart-time": { "no-data": "No Data", "date-format-short-year": "yy" },
|
|
783
789
|
"bn-chart-structure": { "no-data": "No Data", REST: "REST" },
|
|
784
790
|
"bn-chart-scatter": Object.assign(Object.assign({}, xyChartKeysEn), { "xy-iso-domain": "Iso-lines need a strictly positive domain on both axes; skipped." }),
|
|
785
791
|
"bn-chart-bubble": Object.assign(Object.assign({}, xyChartKeysEn), { legend: Object.assign(Object.assign({}, xyChartKeysEn.legend), { size: "Size", compare: "Scenarios" }), "xy-compare-variance": "compareWith cannot be combined with variance measures on the axes.", "bubble-size-negative": "{{count}} bubble(s) with a negative size value excluded.", "bubble-share-range": "{{count}} share value(s) outside [0,1] were clamped.", "bubble-scale-group-unknown": "size.group '{{group}}' names no bn-scaling-group in scope.", "bubble-scale-overflow": "{{count}} group-scaled bubble(s) exceed the panel; rendered true-size." }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DGis1BzT.js');
|
|
4
|
-
var withHasError = require('./withHasError-
|
|
4
|
+
var withHasError = require('./withHasError-0hW3-4mr.js');
|
|
5
5
|
|
|
6
6
|
const isObject = (obj) => {
|
|
7
7
|
if (typeof obj === 'object' && obj !== null) {
|
|
@@ -526,6 +526,10 @@ class DateStringFactory {
|
|
|
526
526
|
this.dateFormatShort = dateFormatShort;
|
|
527
527
|
this.dateFormatShortPinned = true;
|
|
528
528
|
}
|
|
529
|
+
/** Replaces single short patterns and keeps the rest. Call it after `setLocale`. */
|
|
530
|
+
patchDateFormatShort(patterns) {
|
|
531
|
+
this.dateFormatShort = Object.assign(Object.assign({}, this.dateFormatShort), patterns);
|
|
532
|
+
}
|
|
529
533
|
/**
|
|
530
534
|
* Selects the locale used for Luxon's localized tokens and swaps in the
|
|
531
535
|
* locale's pattern overrides. An explicit `setDateFormat` /
|
|
@@ -812,6 +816,21 @@ class DateStringFactory {
|
|
|
812
816
|
}
|
|
813
817
|
return date.setLocale(this.locale).toFormat(format);
|
|
814
818
|
}
|
|
819
|
+
/** True when the smart label of this period also names the month or the year that starts with it. */
|
|
820
|
+
isSmartBoundary(date, type) {
|
|
821
|
+
switch (type) {
|
|
822
|
+
case exports.DateDistance.DAY:
|
|
823
|
+
return this.isFirstInMonth(date);
|
|
824
|
+
case exports.DateDistance.WEEK:
|
|
825
|
+
return this.isFirstWeek(date);
|
|
826
|
+
case exports.DateDistance.MONTH:
|
|
827
|
+
return this.isJanuary(date);
|
|
828
|
+
case exports.DateDistance.QUARTER:
|
|
829
|
+
return this.isFirstQuarter(date);
|
|
830
|
+
default:
|
|
831
|
+
return false;
|
|
832
|
+
}
|
|
833
|
+
}
|
|
815
834
|
isFirstInMonth(date) {
|
|
816
835
|
return date.day === 1;
|
|
817
836
|
}
|
|
@@ -1210,6 +1229,10 @@ function isBlankInput(value) {
|
|
|
1210
1229
|
* the Scenarios enum; remaining invalid entries are passed to `validateVariancesList`
|
|
1211
1230
|
* for variance format checking (e.g. `d_ac1_pl1_pos`).
|
|
1212
1231
|
*/
|
|
1232
|
+
/** `none` as the scenario list of a chart: draw no scenario, only the variances. */
|
|
1233
|
+
function isNoScenarios(value) {
|
|
1234
|
+
return typeof value === "string" && value.trim().toLowerCase() === "none";
|
|
1235
|
+
}
|
|
1213
1236
|
function validateScenarioList(value) {
|
|
1214
1237
|
if (isBlankInput(value)) {
|
|
1215
1238
|
return [];
|
|
@@ -1754,6 +1777,7 @@ exports.OrderAdapter = OrderAdapter;
|
|
|
1754
1777
|
exports.RELATIVE_STACK_UNITS = RELATIVE_STACK_UNITS;
|
|
1755
1778
|
exports.axisInValueUnits = axisInValueUnits;
|
|
1756
1779
|
exports.isBlankInput = isBlankInput;
|
|
1780
|
+
exports.isNoScenarios = isNoScenarios;
|
|
1757
1781
|
exports.isRelativeMeasure = isRelativeMeasure;
|
|
1758
1782
|
exports.isTableBarColumnWidth = isTableBarColumnWidth;
|
|
1759
1783
|
exports.isTableCategoryWidth = isTableCategoryWidth;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var withHasError = require('./withHasError-
|
|
3
|
+
var withHasError = require('./withHasError-0hW3-4mr.js');
|
|
4
4
|
var index = require('./index-DGis1BzT.js');
|
|
5
|
-
var withStyled = require('./withStyled-
|
|
5
|
+
var withStyled = require('./withStyled-D0hrcfE_.js');
|
|
6
6
|
|
|
7
7
|
const ALLOWED_TAGS = new Set([
|
|
8
8
|
"br",
|
|
@@ -170,14 +170,17 @@ function getVisualParent(element) {
|
|
|
170
170
|
* height as a last resort.
|
|
171
171
|
*
|
|
172
172
|
* Ancestors inside a fit-content layout region (marked with
|
|
173
|
-
* `data-bn-fit-content` by bn-layout-page / bn-layout-card
|
|
173
|
+
* `data-bn-fit-content` by bn-layout-page / bn-layout-card, and by every
|
|
174
|
+
* cell of bn-grid and node of bn-tree) are skipped
|
|
174
175
|
* even when they clip overflow: their height is derived from their own
|
|
175
176
|
* content - including the measuring component itself - so using it for
|
|
176
177
|
* auto-scaling creates a feedback loop where the chart inflates the cell
|
|
177
178
|
* and then reads the inflated cell back as "available height". The marker
|
|
178
179
|
* value carries the grid's row count; the constraint found above the
|
|
179
180
|
* fit-content region is divided by it, approximating the equal-share cell
|
|
180
|
-
* height the same layout would produce with fit-to-content disabled.
|
|
181
|
+
* height the same layout would produce with fit-to-content disabled. A grid
|
|
182
|
+
* cell and a tree node carry no row count: their content gets the same
|
|
183
|
+
* height with and without a card around it.
|
|
181
184
|
*/
|
|
182
185
|
function findConstrainedHeight(element, debug = false) {
|
|
183
186
|
let current = findLayoutParent(element);
|
|
@@ -67,6 +67,10 @@ function isCutOff(box, slot) {
|
|
|
67
67
|
* Place it in the `annotations` slot of `bn-layout-page`. The numbers are given,
|
|
68
68
|
* the layer never counts.
|
|
69
69
|
*
|
|
70
|
+
* A target can sit anywhere in the page, also on the child of one `bn-grid`
|
|
71
|
+
* cell or of a card in it. The mark then points at the first component in
|
|
72
|
+
* that element.
|
|
73
|
+
*
|
|
70
74
|
* @example
|
|
71
75
|
* <bn-layout-page>
|
|
72
76
|
* <div slot="slot-0" data-bino-annotation-target="t1"><bn-chart-time ...></bn-chart-time></div>
|
|
@@ -83,6 +87,7 @@ export class AnnotationLayer {
|
|
|
83
87
|
this.scheduled = false;
|
|
84
88
|
this.run = 0;
|
|
85
89
|
this.observed = new WeakSet();
|
|
90
|
+
this.observedAround = new WeakSet();
|
|
86
91
|
this.reported = new Set();
|
|
87
92
|
/**
|
|
88
93
|
* Places the marks after the next paint. The layer counts as working until
|
|
@@ -110,6 +115,7 @@ export class AnnotationLayer {
|
|
|
110
115
|
this.stores = getStores(this.element);
|
|
111
116
|
this.pageKey = annotationPageKey(this.element);
|
|
112
117
|
this.observed = new WeakSet();
|
|
118
|
+
this.observedAround = new WeakSet();
|
|
113
119
|
this.resizeObserver = new ResizeObserver(this.schedule);
|
|
114
120
|
this.mutationObserver = new MutationObserver(this.schedule);
|
|
115
121
|
this.observeSize(this.element);
|
|
@@ -176,7 +182,10 @@ export class AnnotationLayer {
|
|
|
176
182
|
await Promise.all(visuals.map((visual) => { var _a; return (_a = visual.componentOnReady) === null || _a === void 0 ? void 0 : _a.call(visual); }));
|
|
177
183
|
if (run !== this.run)
|
|
178
184
|
return;
|
|
179
|
-
visuals.forEach((visual) =>
|
|
185
|
+
visuals.forEach((visual) => {
|
|
186
|
+
this.observe(visual);
|
|
187
|
+
this.observeAround(visual, page);
|
|
188
|
+
});
|
|
180
189
|
const states = new Map();
|
|
181
190
|
await Promise.all(visuals.map(async (visual) => {
|
|
182
191
|
var _a;
|
|
@@ -335,6 +344,28 @@ export class AnnotationLayer {
|
|
|
335
344
|
};
|
|
336
345
|
walk(visual.shadowRoot);
|
|
337
346
|
}
|
|
347
|
+
/**
|
|
348
|
+
* A component around a target can move it without resizing anything: a
|
|
349
|
+
* grid pads a cell down to line up a baseline, and writes that into its own
|
|
350
|
+
* shadow root, or into the style of a card in the cell.
|
|
351
|
+
*/
|
|
352
|
+
observeAround(visual, page) {
|
|
353
|
+
var _a, _b;
|
|
354
|
+
for (let el = visual.parentElement; el && el !== page; el = el.parentElement) {
|
|
355
|
+
if (this.observedAround.has(el))
|
|
356
|
+
continue;
|
|
357
|
+
this.observedAround.add(el);
|
|
358
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(el, { attributes: true, attributeFilter: ["style"] });
|
|
359
|
+
if (el.shadowRoot) {
|
|
360
|
+
(_b = this.mutationObserver) === null || _b === void 0 ? void 0 : _b.observe(el.shadowRoot, {
|
|
361
|
+
childList: true,
|
|
362
|
+
subtree: true,
|
|
363
|
+
attributes: true,
|
|
364
|
+
attributeFilter: ["style", "class"],
|
|
365
|
+
});
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
}
|
|
338
369
|
observeSize(element) {
|
|
339
370
|
var _a;
|
|
340
371
|
if (!this.observed.has(element)) {
|
|
@@ -359,7 +390,7 @@ export class AnnotationLayer {
|
|
|
359
390
|
return (h("g", { class: "mark arrow", "data-label": (_b = mark.badge) === null || _b === void 0 ? void 0 : _b.label }, h("line", { x1: mark.x1, y1: mark.y1, x2: mark.x2, y2: mark.y2, style: { stroke: color, strokeWidth: "1.5" } }), h("polygon", { points: mark.head, style: { fill: color } }), this.renderBadge(mark.badge, color)));
|
|
360
391
|
}
|
|
361
392
|
render() {
|
|
362
|
-
return (h(Host, { key: '
|
|
393
|
+
return (h(Host, { key: 'd4d027728ae578a5ced829a3f86f0137530551fc' }, h("svg", { key: 'a3813930e420db9fdd618bc38c38941295cf4c22', ref: (el) => (this.svg = el) }, this.marks.map((mark) => this.renderMark(mark)))));
|
|
363
394
|
}
|
|
364
395
|
static get is() { return "bn-annotation-layer"; }
|
|
365
396
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { forceUpdate, h, Host, writeTask } from "@stencil/core";
|
|
2
2
|
import { hasInlineJs } from "../../context/scopedDb";
|
|
3
|
-
import { isBlankInput, isValidDirection, isValidInteger, isValidLevel, isValidMeasureScale, validateOrderList, validateScenarioList, validateStackConfig, validateVariancesList, } from "../../utils/validate";
|
|
3
|
+
import { isBlankInput, isNoScenarios, isValidDirection, isValidInteger, isValidLevel, isValidMeasureScale, validateOrderList, validateScenarioList, validateStackConfig, validateVariancesList, } from "../../utils/validate";
|
|
4
|
+
import { variancesScenarios } from "../../utils/model/VarianceScenario";
|
|
4
5
|
import withDataset from "../../utils/withDataset";
|
|
5
6
|
import withComponentStatus from "../../utils/withComponentStatus";
|
|
6
7
|
import withTranslation from "../../utils/withTranslation";
|
|
@@ -45,7 +46,7 @@ export class Chart {
|
|
|
45
46
|
}
|
|
46
47
|
validateScenario(newValue) {
|
|
47
48
|
const errId = "WARN_scenarios";
|
|
48
|
-
if (isInheritedValue(newValue)) {
|
|
49
|
+
if (isInheritedValue(newValue) || isNoScenarios(newValue)) {
|
|
49
50
|
this.errors.remove(errId);
|
|
50
51
|
return;
|
|
51
52
|
}
|
|
@@ -191,6 +192,25 @@ export class Chart {
|
|
|
191
192
|
this.errors.remove(errId);
|
|
192
193
|
}
|
|
193
194
|
}
|
|
195
|
+
validateDataFormatDigitsDecimal(newValue) {
|
|
196
|
+
this.validateDigits("dataFormatDigitsDecimal", newValue);
|
|
197
|
+
}
|
|
198
|
+
validateDataFormatDigitsPercent(newValue) {
|
|
199
|
+
this.validateDigits("dataFormatDigitsPercent", newValue);
|
|
200
|
+
}
|
|
201
|
+
validateDigits(name, value) {
|
|
202
|
+
const errId = `WARN_${name}`;
|
|
203
|
+
if (!isValidInteger(value) || Number(value) < 0 || Number(value) > 100) {
|
|
204
|
+
this.errors.addOrReplace({
|
|
205
|
+
id: errId,
|
|
206
|
+
type: "warning",
|
|
207
|
+
message: name + ": invalid value '" + value + "' is not supported.",
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
else {
|
|
211
|
+
this.errors.remove(errId);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
194
214
|
validateStack(newValue) {
|
|
195
215
|
const errId = "WARN_stack";
|
|
196
216
|
const errors = validateStackConfig(newValue);
|
|
@@ -295,6 +315,14 @@ export class Chart {
|
|
|
295
315
|
* @example measure-unit="EUR"
|
|
296
316
|
*/
|
|
297
317
|
this.measureUnit = "";
|
|
318
|
+
/**
|
|
319
|
+
* Number of decimal digits of the value labels
|
|
320
|
+
*/
|
|
321
|
+
this.dataFormatDigitsDecimal = 1;
|
|
322
|
+
/**
|
|
323
|
+
* Number of decimal digits of the percent labels (relative variances, shares of a 100 % stack)
|
|
324
|
+
*/
|
|
325
|
+
this.dataFormatDigitsPercent = 2;
|
|
298
326
|
/**
|
|
299
327
|
* Stacking configuration as a JSON string. When set, bars are drawn as
|
|
300
328
|
* stacked segments instead of side-by-side.
|
|
@@ -387,6 +415,8 @@ export class Chart {
|
|
|
387
415
|
componentWillLoad() {
|
|
388
416
|
this.validateFilter(this.filter);
|
|
389
417
|
this.validateScenario(this.scenarios);
|
|
418
|
+
this.validateDataFormatDigitsDecimal(this.dataFormatDigitsDecimal);
|
|
419
|
+
this.validateDataFormatDigitsPercent(this.dataFormatDigitsPercent);
|
|
390
420
|
this.validateVariances(this.variances);
|
|
391
421
|
this.validateUnitScaling(this.unitScaling);
|
|
392
422
|
//this.validateSelectedStyle(this.selectedStyle);
|
|
@@ -566,8 +596,7 @@ export class Chart {
|
|
|
566
596
|
}
|
|
567
597
|
prepareDimension() {
|
|
568
598
|
const parent = getParentDimensions(this.element);
|
|
569
|
-
const
|
|
570
|
-
const segmentCount = 1 + variancesList.length;
|
|
599
|
+
const segmentCount = Math.max(1, this.prepareSegments().length);
|
|
571
600
|
this.canvasWidthSegmented = parent.width / segmentCount;
|
|
572
601
|
return { width: this.canvasWidthSegmented, height: parent.height };
|
|
573
602
|
}
|
|
@@ -578,6 +607,10 @@ export class Chart {
|
|
|
578
607
|
this.errors.remove("AUTO_scenarios");
|
|
579
608
|
return scenarios.value.split(",").map((entry) => entry.trim());
|
|
580
609
|
}
|
|
610
|
+
if (isNoScenarios(scenarios.value)) {
|
|
611
|
+
this.errors.remove("AUTO_scenarios");
|
|
612
|
+
return [];
|
|
613
|
+
}
|
|
581
614
|
const isAuto = ((_a = scenarios.value) === null || _a === void 0 ? void 0 : _a.trim().toLowerCase()) === "auto";
|
|
582
615
|
if (isBlankInput(scenarios.value) || isAuto) {
|
|
583
616
|
if (((_c = (_b = this.datasetMeta) === null || _b === void 0 ? void 0 : _b.availableScenarios) === null || _c === void 0 ? void 0 : _c.length) > 0) {
|
|
@@ -606,6 +639,15 @@ export class Chart {
|
|
|
606
639
|
}
|
|
607
640
|
return variances === null || variances === void 0 ? void 0 : variances.split(",").map((entry) => entry.trim());
|
|
608
641
|
}
|
|
642
|
+
/** `scenarios="none"`: the chart draws its variances only. */
|
|
643
|
+
hidesScenarios() {
|
|
644
|
+
const scenarios = this.resolveInherited("scenarios", this.scenarios);
|
|
645
|
+
return !scenarios.inherited && isNoScenarios(scenarios.value);
|
|
646
|
+
}
|
|
647
|
+
/** The segments side by side: `""` is the base chart, else one variance. */
|
|
648
|
+
prepareSegments() {
|
|
649
|
+
return this.hidesScenarios() ? this.prepareVariances() : ["", ...this.prepareVariances()];
|
|
650
|
+
}
|
|
609
651
|
prepareHideCategories(idx) {
|
|
610
652
|
return idx >= 1 || !this.showCategories;
|
|
611
653
|
}
|
|
@@ -774,7 +816,8 @@ export class Chart {
|
|
|
774
816
|
});
|
|
775
817
|
}
|
|
776
818
|
prepareChartTitle(idx) {
|
|
777
|
-
|
|
819
|
+
// a variance keeps its own name as title
|
|
820
|
+
if (idx >= 1 || this.hidesScenarios()) {
|
|
778
821
|
return "";
|
|
779
822
|
}
|
|
780
823
|
return this.chartTitle;
|
|
@@ -884,10 +927,11 @@ export class Chart {
|
|
|
884
927
|
const ppu = this.preparePixelPerUnit();
|
|
885
928
|
const ppp = this.preparePixelPerPercentage();
|
|
886
929
|
const stackConfig = this.prepareStackConfig();
|
|
887
|
-
const
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
930
|
+
const isBase = localScenarioString === "";
|
|
931
|
+
const scenarios = this.hidesScenarios() ? variancesScenarios([localScenarioString]) : this.prepareScenarios();
|
|
932
|
+
// Dimension stacking uses only the first scenario. Only the base chart draws a stack, a variance needs both of its scenarios
|
|
933
|
+
const effectiveScenarios = isBase && (stackConfig === null || stackConfig === void 0 ? void 0 : stackConfig.by) === StackBy.DIMENSIONS ? scenarios.slice(0, 1) : scenarios;
|
|
934
|
+
return (h("bn-chart-structure-renderer", { tableName: this.datasetName, dataVersion: this.dataVersion, chartTitle: this.prepareChartTitle(idx), scenarios: effectiveScenarios, variances: [localScenarioString], hideCategories: this.prepareHideCategories(idx), pixelPerUnit: ppu, pixelPerPercentage: ppp, reportAutoScaling: this.handleAutoScalingReport, errors: this.errors, limit: this.prepareLimit(), styles: this.prepareStyle(), i18n: this.prepareI18n(), order: this.prepareOrder(), level: this.prepareLevel(), filter: this.prepareFilter(), "measure-scale": this.prepareMeasureScale(), "measure-unit": this.prepareMeasureUnit(), showMeasureScale: this.prepareShowMeasureScale(idx), stackConfig: stackConfig, dataFormatDigits: { percent: this.dataFormatDigitsPercent, decimal: this.dataFormatDigitsDecimal }, parentDimensions: this.prepareDimension(), ruleSetConfig: this.ruleSetConfig() }));
|
|
891
935
|
}
|
|
892
936
|
/**
|
|
893
937
|
* The line this chart wants to be aligned on, in CSS px from the host's
|
|
@@ -914,7 +958,7 @@ export class Chart {
|
|
|
914
958
|
const factor = Number.isFinite(rawFactor) && rawFactor > 0 ? rawFactor : 1;
|
|
915
959
|
const fontSizePx = this.componentStyle(($) => { var _a; return ((_a = $["global"]) === null || _a === void 0 ? void 0 : _a["fontSizePx"]) || 13.3333; }) * factor;
|
|
916
960
|
const variances = this.prepareVariances();
|
|
917
|
-
const layout = collectChartFacadeLayout(this.element, "bn-chart-structure-renderer",
|
|
961
|
+
const layout = collectChartFacadeLayout(this.element, "bn-chart-structure-renderer", this.prepareSegments().map((segment) => segment || "base"), origins, detail);
|
|
918
962
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
919
963
|
const firstInner = (_b = this.element.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector("bn-chart-structure-renderer");
|
|
920
964
|
const state = {
|
|
@@ -1005,13 +1049,19 @@ export class Chart {
|
|
|
1005
1049
|
});
|
|
1006
1050
|
}
|
|
1007
1051
|
render() {
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1052
|
+
const scenariosArray = this.prepareSegments();
|
|
1053
|
+
if (scenariosArray.length === 0) {
|
|
1054
|
+
this.errors.addOrReplace({
|
|
1055
|
+
id: "WARN_scenarios_none",
|
|
1056
|
+
type: "warning",
|
|
1057
|
+
message: "scenarios: none needs at least one variance, the chart is empty.",
|
|
1058
|
+
});
|
|
1059
|
+
}
|
|
1060
|
+
else {
|
|
1061
|
+
this.errors.remove("WARN_scenarios_none");
|
|
1012
1062
|
}
|
|
1013
1063
|
const fontStyles = this.getFontStyles();
|
|
1014
|
-
return (h(Host, { key: '
|
|
1064
|
+
return (h(Host, { key: 'a9b487fd43e785b1f14d0599ad0145a248b35f5d', style: fontStyles }, h("div", { key: '950ab383346b288ab17c2a1bbdfcfcd240e0f4d8', class: "container" }, scenariosArray.map(this.chartTemplate))));
|
|
1015
1065
|
}
|
|
1016
1066
|
static get is() { return "bn-chart-structure"; }
|
|
1017
1067
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1164,7 +1214,7 @@ export class Chart {
|
|
|
1164
1214
|
"name": "example",
|
|
1165
1215
|
"text": "scenarios=\"ac1,pp1,pl1\""
|
|
1166
1216
|
}],
|
|
1167
|
-
"text": "Comma-separated list of scenario columns to display as bars.\nUp to 4 scenarios are supported; additional values are ignored.\n\nValid scenario names: `ac1`-`ac4`, `fc1`-`fc4`, `pp1`-`pp4`, `pl1`-`pl4`.\n\n| Value | Behavior |\n|---------------|-------------------------------------------------------------|\n| `\"ac1,fc1\"` | Show the listed scenarios |\n| `\"auto\"` | Auto-detect from dataset metadata (no warning) |\n| not set / `\"\"` | Auto-detect from dataset metadata (emits `AUTO_scenarios` warning) |"
|
|
1217
|
+
"text": "Comma-separated list of scenario columns to display as bars.\nUp to 4 scenarios are supported; additional values are ignored.\n\nValid scenario names: `ac1`-`ac4`, `fc1`-`fc4`, `pp1`-`pp4`, `pl1`-`pl4`.\n\n| Value | Behavior |\n|---------------|-------------------------------------------------------------|\n| `\"ac1,fc1\"` | Show the listed scenarios |\n| `\"auto\"` | Auto-detect from dataset metadata (no warning) |\n| not set / `\"\"` | Auto-detect from dataset metadata (emits `AUTO_scenarios` warning) |\n| `\"none\"` | Draw no scenario: the chart shows only its variances, the first one carries the categories |"
|
|
1168
1218
|
},
|
|
1169
1219
|
"getter": false,
|
|
1170
1220
|
"setter": false,
|
|
@@ -1448,6 +1498,46 @@ export class Chart {
|
|
|
1448
1498
|
"attribute": "measure-unit",
|
|
1449
1499
|
"defaultValue": "\"\""
|
|
1450
1500
|
},
|
|
1501
|
+
"dataFormatDigitsDecimal": {
|
|
1502
|
+
"type": "number",
|
|
1503
|
+
"mutable": false,
|
|
1504
|
+
"complexType": {
|
|
1505
|
+
"original": "number",
|
|
1506
|
+
"resolved": "number",
|
|
1507
|
+
"references": {}
|
|
1508
|
+
},
|
|
1509
|
+
"required": false,
|
|
1510
|
+
"optional": false,
|
|
1511
|
+
"docs": {
|
|
1512
|
+
"tags": [],
|
|
1513
|
+
"text": "Number of decimal digits of the value labels"
|
|
1514
|
+
},
|
|
1515
|
+
"getter": false,
|
|
1516
|
+
"setter": false,
|
|
1517
|
+
"reflect": false,
|
|
1518
|
+
"attribute": "data-format-digits-decimal",
|
|
1519
|
+
"defaultValue": "1"
|
|
1520
|
+
},
|
|
1521
|
+
"dataFormatDigitsPercent": {
|
|
1522
|
+
"type": "number",
|
|
1523
|
+
"mutable": false,
|
|
1524
|
+
"complexType": {
|
|
1525
|
+
"original": "number",
|
|
1526
|
+
"resolved": "number",
|
|
1527
|
+
"references": {}
|
|
1528
|
+
},
|
|
1529
|
+
"required": false,
|
|
1530
|
+
"optional": false,
|
|
1531
|
+
"docs": {
|
|
1532
|
+
"tags": [],
|
|
1533
|
+
"text": "Number of decimal digits of the percent labels (relative variances, shares of a 100 % stack)"
|
|
1534
|
+
},
|
|
1535
|
+
"getter": false,
|
|
1536
|
+
"setter": false,
|
|
1537
|
+
"reflect": false,
|
|
1538
|
+
"attribute": "data-format-digits-percent",
|
|
1539
|
+
"defaultValue": "2"
|
|
1540
|
+
},
|
|
1451
1541
|
"stack": {
|
|
1452
1542
|
"type": "string",
|
|
1453
1543
|
"mutable": false,
|
|
@@ -1601,6 +1691,12 @@ export class Chart {
|
|
|
1601
1691
|
}, {
|
|
1602
1692
|
"propName": "measureScale",
|
|
1603
1693
|
"methodName": "validateMeasureScale"
|
|
1694
|
+
}, {
|
|
1695
|
+
"propName": "dataFormatDigitsDecimal",
|
|
1696
|
+
"methodName": "validateDataFormatDigitsDecimal"
|
|
1697
|
+
}, {
|
|
1698
|
+
"propName": "dataFormatDigitsPercent",
|
|
1699
|
+
"methodName": "validateDataFormatDigitsPercent"
|
|
1604
1700
|
}, {
|
|
1605
1701
|
"propName": "stack",
|
|
1606
1702
|
"methodName": "validateStack"
|