@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/esm/loader.js
CHANGED
|
@@ -5,7 +5,7 @@ import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await globalScripts();
|
|
8
|
-
return bootstrapLazy(JSON.parse("[[\"bn-grid\",[[257,\"bn-grid\",{\"selectedStyle\":[513,\"selected-style\"],\"chartTitle\":[1,\"chart-title\"],\"rowHeaders\":[1,\"row-headers\"],\"columnHeaders\":[1,\"column-headers\"],\"showRowHeaders\":[4,\"show-row-headers\"],\"showColumnHeaders\":[4,\"show-column-headers\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"showBorders\":[4,\"show-borders\"],\"rowHeaderWidth\":[1,\"row-header-width\"],\"cellGap\":[1,\"cell-gap\"],\"cellHeight\":[1,\"cell-height\"],\"cellWidth\":[1,\"cell-width\"],\"cellVerticalAlign\":[1,\"cell-vertical-align\"],\"cellHorizontalAlign\":[1,\"cell-horizontal-align\"],\"cellCaptions\":[1,\"cell-captions\"],\"gridConfig\":[32],\"resolvedHeight\":[32],\"resolvedWidth\":[32],\"resolvedVertical\":[32],\"resolvedHorizontal\":[32],\"captions\":[32],\"offsets\":[32],\"getLayoutState\":[64]},null,{\"rowHeaders\":[{\"validateRowHeaders\":0}],\"columnHeaders\":[{\"validateColumnHeaders\":0}],\"cellHeight\":[{\"validateCellHeight\":0}],\"cellWidth\":[{\"validateCellWidth\":0}],\"cellVerticalAlign\":[{\"validateCellVerticalAlign\":0}],\"cellHorizontalAlign\":[{\"validateCellHorizontalAlign\":0}],\"cellCaptions\":[{\"validateCellCaptions\":0}]}]]],[\"bn-image\",[[1,\"bn-image\",{\"selectedStyle\":[513,\"selected-style\"],\"source\":[1]}]]],[\"bn-internationalization\",[[0,\"bn-internationalization\",{\"code\":[1],\"namespace\":[1]}]]],[\"bn-ruleset\",[[0,\"bn-ruleset\",{\"name\":[1]}]]],[\"bn-text\",[[1,\"bn-text\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"value\":[1],\"scale\":[1],\"data\":[32]},null,{\"value\":[{\"validateValue\":0}],\"scale\":[{\"validateScaling\":0}]}]]],[\"bn-annotation-layer_30\",[[257,\"bn-layout-page\",{\"styles\":[1],\"selectedStyle\":[1,\"selected-style\"],\"ruleset\":[1],\"messageText\":[1,\"message-text\"],\"messageImage\":[1,\"message-image\"],\"titleBusinessUnit\":[1,\"title-business-unit\"],\"titleScenarios\":[1,\"title-scenarios\"],\"titleVariances\":[1,\"title-variances\"],\"titleOrder\":[1,\"title-order\"],\"titleOrderDirection\":[1,\"title-order-direction\"],\"titleMeasures\":[1,\"title-measures\"],\"titleDateStart\":[1,\"title-date-start\"],\"titleDateEnd\":[1,\"title-date-end\"],\"titleDateFormat\":[1,\"title-date-format\"],\"titleDateLink\":[1,\"title-date-link\"],\"titleNamespace\":[1,\"title-namespace\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"pageFormat\":[1,\"page-format\"],\"pageOrientation\":[1,\"page-orientation\"],\"pageNumber\":[1,\"page-number\"],\"footerText\":[1,\"footer-text\"],\"footerDisplayPageNumber\":[4,\"footer-display-page-number\"],\"pageLayout\":[1,\"page-layout\"],\"pageCustomTemplate\":[1,\"page-custom-template\"],\"pageGridGap\":[1,\"page-grid-gap\"],\"pageFitToContent\":[4,\"page-fit-to-content\"]}],[257,\"bn-layout-card\",{\"styles\":[1],\"selectedStyle\":[1,\"selected-style\"],\"ruleset\":[1],\"titleImage\":[1,\"title-image\"],\"titleBusinessUnit\":[1,\"title-business-unit\"],\"titleScenarios\":[1,\"title-scenarios\"],\"titleVariances\":[1,\"title-variances\"],\"titleOrder\":[1,\"title-order\"],\"titleOrderDirection\":[1,\"title-order-direction\"],\"titleMeasures\":[1,\"title-measures\"],\"titleDateStart\":[1,\"title-date-start\"],\"titleDateEnd\":[1,\"title-date-end\"],\"titleDateFormat\":[1,\"title-date-format\"],\"titleDateLink\":[1,\"title-date-link\"],\"titleNamespace\":[1,\"title-namespace\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"footerText\":[1,\"footer-text\"],\"cardLayout\":[1,\"card-layout\"],\"cardCustomTemplate\":[1,\"card-custom-template\"],\"cardGridGap\":[1,\"card-grid-gap\"],\"cardFitToContent\":[4,\"card-fit-to-content\"],\"cardShowBorder\":[4,\"card-show-border\"]}],[1,\"bn-chart-bubble\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"x\":[1],\"y\":[1],\"size\":[1],\"share\":[1],\"compareWith\":[1,\"compare-with\"],\"level\":[1],\"seriesLevel\":[1,\"series-level\"],\"facet\":[1],\"labels\":[1],\"legend\":[1],\"aspect\":[1],\"limit\":[2],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"x\":[{\"validateX\":0}],\"y\":[{\"validateY\":0}],\"size\":[{\"validateSize\":0}],\"share\":[{\"validateShare\":0}],\"compareWith\":[{\"validateCompareWith\":0}],\"level\":[{\"validateLevel\":0}],\"seriesLevel\":[{\"validateSeriesLevel\":0}],\"facet\":[{\"validateFacet\":0}],\"labels\":[{\"validateLabels\":0}],\"legend\":[{\"validateLegend\":0}],\"aspect\":[{\"validateAspect\":0}],\"limit\":[{\"validateLimit\":0}],\"scale\":[{\"validateScale\":0}]}],[1,\"bn-chart-bullet\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"actual\":[1],\"target\":[1],\"ranges\":[1],\"normalizeMode\":[1,\"normalize\"],\"variances\":[1],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"limit\":[2],\"labels\":[1],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"actual\":[{\"validateActual\":0}],\"target\":[{\"validateTarget\":0}],\"ranges\":[{\"validateRanges\":0}],\"normalizeMode\":[{\"validateNormalize\":0}],\"variances\":[{\"validateVariances\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrder\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"limit\":[{\"validateLimit\":0}],\"labels\":[{\"validateLabels\":0}],\"scale\":[{\"validateScale\":0}]}],[1,\"bn-chart-scatter\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"x\":[1],\"y\":[1],\"iso\":[1],\"level\":[1],\"seriesLevel\":[1,\"series-level\"],\"facet\":[1],\"labels\":[1],\"legend\":[1],\"aspect\":[1],\"limit\":[2],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"x\":[{\"validateX\":0}],\"y\":[{\"validateY\":0}],\"iso\":[{\"validateIso\":0}],\"level\":[{\"validateLevel\":0}],\"seriesLevel\":[{\"validateSeriesLevel\":0}],\"facet\":[{\"validateFacet\":0}],\"labels\":[{\"validateLabels\":0}],\"legend\":[{\"validateLegend\":0}],\"aspect\":[{\"validateAspect\":0}],\"limit\":[{\"validateLimit\":0}],\"scale\":[{\"validateScale\":0}]}],[1,\"bn-chart-structure\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"chartTitle\":[1,\"chart-title\"],\"ruleset\":[513],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"limit\":[2],\"showCategories\":[4,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"stack\":[1],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"limit\":[{\"validateLimit\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}]}],[1,\"bn-chart-time\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"syncSpaceLeft\":[2,\"sync-space-left\"],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"dateInterval\":[1,\"date-interval\"],\"chartMode\":[1,\"chart-mode\"],\"maxBars\":[2,\"max-bars\"],\"stack\":[1],\"scale\":[1],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"axisLabelsMode\":[1,\"axis-labels-mode\"],\"lineFullWidth\":[4,\"line-full-width\"],\"showCategories\":[4,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"showOverlayAvg\":[4,\"show-overlay-avg\"],\"showOverlayMedian\":[4,\"show-overlay-median\"],\"measureUnit\":[1,\"measure-unit\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"syncSpaceLeft\":[{\"validateLeftSync\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"dateInterval\":[{\"validateDateInterval\":0}],\"chartMode\":[{\"validateChartMode\":0}],\"maxBars\":[{\"validateMaxBars\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}],\"axisLabelsMode\":[{\"validateAxisLabelsMode\":0}],\"measureScale\":[{\"validateMeasureScale\":0}]}],[1,\"bn-table\",{\"datasets\":[513],\"i18nNamespace\":[513,\"i18n-namespace\"],\"scale\":[1],\"ruleset\":[513],\"selectedStyle\":[513,\"selected-style\"],\"sumTitle\":[1,\"sum-title\"],\"filter\":[1],\"measureUnit\":[1,\"measure-unit\"],\"scenarios\":[1],\"variances\":[1],\"barColumns\":[1,\"bar-columns\"],\"barColumnWidth\":[1,\"bar-column-width\"],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"dataFormat\":[1,\"data-format\"],\"grouped\":[4],\"showMeasureScale\":[4,\"show-measure-scale\"],\"showGroupTitle\":[4,\"show-group-title\"],\"runningSum\":[4,\"running-sum\"],\"varianceWaterfall\":[4,\"variance-waterfall\"],\"type\":[1],\"limit\":[2],\"thereof\":[1],\"thereofPosition\":[1,\"thereof-position\"],\"partof\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"measureType\":[1,\"measure-type\"],\"measureScale\":[1,\"measure-scale\"],\"dataFormatDigitsDecimal\":[2,\"data-format-digits-decimal\"],\"dataFormatDigitsPercent\":[2,\"data-format-digits-percent\"],\"categoryWidth\":[1,\"category-width\"],\"columnthereof\":[1],\"interval\":[1],\"categoryIntervalPosition\":[2,\"category-interval-position\"],\"tableAttributes\":[1,\"attributes\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"hasBlankSetnames\":[32],\"hasSetnameIndexWithoutSetname\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"scale\":[{\"validateScaling\":0}],\"filter\":[{\"validateFilter\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"barColumns\":[{\"validateBarColumns\":0}],\"barColumnWidth\":[{\"validateBarColumnWidth\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"dataFormat\":[{\"validateDataFormat\":0}],\"type\":[{\"validateType\":0}],\"limit\":[{\"validateLimit\":0}],\"thereof\":[{\"validateThereOf\":0}],\"thereofPosition\":[{\"validateThereofPosition\":0}],\"partof\":[{\"validatePartOf\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"measureType\":[{\"validateMeasureType\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"dataFormatDigitsDecimal\":[{\"validateDataFormatDigitsDecimal\":0}],\"dataFormatDigitsPercent\":[{\"validateDateFormatDigitsPercent\":0}],\"categoryWidth\":[{\"validateCategoryWidth\":0}],\"columnthereof\":[{\"validateColumnThereOf\":0}],\"interval\":[{\"validateInterval\":0}],\"categoryIntervalPosition\":[{\"validateCategoryIntervalPosition\":0}],\"tableAttributes\":[{\"validateTableAttributes\":0}]}],[1,\"bn-annotation-layer\",{\"items\":[1],\"selectedStyle\":[513,\"selected-style\"],\"marks\":[32]},null,{\"items\":[{\"onItemsChange\":0}]}],[1,\"bn-annotation-list\",{\"items\":[1],\"selectedStyle\":[513,\"selected-style\"]}],[1,\"bn-asset\",{\"name\":[1]}],[0,\"bn-component-style\",{\"name\":[1]}],[257,\"bn-context\",{\"locale\":[1],\"i18nNamespace\":[513,\"i18n-namespace\"],\"renderOrientation\":[513,\"render-orientation\"],\"getLayoutState\":[64]},null,{\"locale\":[{\"setLocale\":0}]}],[0,\"bn-dataset\",{\"name\":[1],\"datasources\":[1],\"static\":[4],\"raw\":[4],\"refreshInterval\":[2,\"refresh-interval\"],\"src\":[1]},null,{\"name\":[{\"nameUpdated\":0}],\"refreshInterval\":[{\"onIntervalChange\":0}],\"src\":[{\"onSrcChange\":0}]}],[0,\"bn-datasource\",{\"name\":[1],\"raw\":[4],\"refreshInterval\":[2,\"refresh-interval\"],\"src\":[1]},null,{\"refreshInterval\":[{\"onIntervalChange\":0}],\"src\":[{\"onSrcChange\":0}],\"name\":[{\"nameUpdated\":0}]}],[0,\"bn-scaling-group\",{\"name\":[1],\"value\":[8]},null,{\"name\":[{\"onNameChange\":0}],\"value\":[{\"onValueChange\":0}]}],[257,\"bn-tree\",{\"selectedStyle\":[513,\"selected-style\"],\"edges\":[1],\"direction\":[1],\"levelSpacing\":[2,\"level-spacing\"],\"nodeSpacing\":[2,\"node-spacing\"],\"edgeStyle\":[1,\"edge-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"showOperators\":[4,\"show-operators\"],\"treeConfig\":[32],\"layout\":[32],\"nodeRects\":[32],\"svgWidth\":[32],\"svgHeight\":[32],\"getLayoutState\":[64]},null,{\"edges\":[{\"validateEdgesProp\":0}],\"direction\":[{\"validateDirection\":0}],\"levelSpacing\":[{\"validateLevelSpacing\":0}],\"nodeSpacing\":[{\"validateNodeSpacing\":0}],\"edgeStyle\":[{\"validateEdgeStyle\":0}]}],[257,\"bn-card\",{\"selectedStyle\":[513,\"selected-style\"]}],[1,\"bn-chart-bubble-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"x\":[16],\"y\":[16],\"size\":[16],\"share\":[16],\"compareFamily\":[1,\"compare-family\"],\"labels\":[16],\"legend\":[16],\"facet\":[16],\"pointLevel\":[1,\"point-level\"],\"seriesLevel\":[1,\"series-level\"],\"aspect\":[2],\"limit\":[2],\"filter\":[1],\"sizeAreaPerUnit\":[2,\"size-area-per-unit\"],\"styles\":[16],\"i18n\":[16],\"containerWidth\":[2,\"container-width\"],\"ruleSetConfig\":[16],\"errors\":[16],\"translator\":[16]}],[1,\"bn-chart-bullet-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"actual\":[16],\"target\":[16],\"ranges\":[16],\"normalizeMode\":[1,\"normalize-mode\"],\"showVariances\":[4,\"show-variances\"],\"level\":[1],\"order\":[16],\"limit\":[2],\"labels\":[16],\"filter\":[1],\"styles\":[16],\"i18n\":[16],\"containerWidth\":[2,\"container-width\"],\"ruleSetConfig\":[16],\"errors\":[16],\"translator\":[16]}],[1,\"bn-chart-scatter-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"x\":[16],\"y\":[16],\"iso\":[16],\"labels\":[16],\"legend\":[16],\"facet\":[16],\"pointLevel\":[1,\"point-level\"],\"seriesLevel\":[1,\"series-level\"],\"aspect\":[2],\"limit\":[2],\"filter\":[1],\"styles\":[16],\"i18n\":[16],\"containerWidth\":[2,\"container-width\"],\"ruleSetConfig\":[16],\"errors\":[16],\"translator\":[16]}],[1,\"bn-chart-structure-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideCategories\":[4,\"hide-categories\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"reportAutoScaling\":[16],\"errors\":[16],\"limit\":[2],\"styles\":[1040],\"i18n\":[1040],\"order\":[16],\"level\":[1],\"filter\":[1],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"dataFormatDigits\":[16],\"stackConfig\":[16],\"parentDimensions\":[16],\"ruleSetConfig\":[16]}],[1,\"bn-chart-time-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideAxisLabels\":[4,\"hide-axis-labels\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"reportAutoScaling\":[16],\"errors\":[16],\"leftSideOffsetForHorizontalSync\":[2,\"left-side-offset-for-horizontal-sync\"],\"styles\":[1040],\"i18n\":[1040],\"dateInterval\":[1,\"date-interval\"],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"axisLabelsMode\":[1,\"axis-labels-mode\"],\"filter\":[1],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"showOverlayMedian\":[4,\"show-overlay-median\"],\"showOverlayAvg\":[4,\"show-overlay-avg\"],\"chartMode\":[1,\"chart-mode\"],\"maxBars\":[2,\"max-bars\"],\"stackConfig\":[16],\"lineFullWidth\":[4,\"line-full-width\"],\"containerWidth\":[2,\"container-width\"],\"dataFormatDigits\":[16],\"parentDimensions\":[16],\"ruleSetConfig\":[16]}],[1,\"bn-message\",{\"selectedStyle\":[513,\"selected-style\"],\"text\":[1025],\"image\":[1]}],[257,\"bn-page\",{\"selectedStyle\":[513,\"selected-style\"],\"format\":[1],\"orientation\":[1]},null,{\"format\":[{\"validateFormat\":0}],\"orientation\":[{\"validateOrientation\":0}]}],[1,\"bn-table-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"selectedStyle\":[513,\"selected-style\"],\"sumTitle\":[1,\"sum-title\"],\"scenarios\":[16],\"scenariosDataFormat\":[1,\"scenarios-data-format\"],\"grouped\":[4],\"limit\":[2],\"showGroupTitle\":[4,\"show-group-title\"],\"runningSum\":[4,\"running-sum\"],\"varianceWaterfall\":[4,\"variance-waterfall\"],\"thereof\":[16],\"thereofPosition\":[1,\"thereof-position\"],\"partof\":[16],\"order\":[16],\"categorythereof\":[16],\"attributeColumns\":[16],\"type\":[1],\"categoryWidth\":[1,\"category-width\"],\"dataFormatDigits\":[16],\"ruleSetConfig\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"measureType\":[1,\"measure-type\"],\"filter\":[1],\"barColumns\":[16],\"interval\":[1],\"categoryIntervalPosition\":[2,\"category-interval-position\"],\"barColumnMaxWidth\":[2,\"bar-column-max-width\"],\"unitScaling\":[2,\"unit-scaling\"],\"percentageScaling\":[2,\"percentage-scaling\"],\"reportAutoScaling\":[16],\"errors\":[16],\"scaleFactor\":[2,\"scale-factor\"],\"getLayoutDetail\":[64]}],[1,\"bn-title\",{\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"businessUnit\":[1,\"business-unit\"],\"scenarios\":[1],\"variances\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"measures\":[1],\"dateStart\":[1,\"date-start\"],\"dateEnd\":[1,\"date-end\"],\"dateFormat\":[1,\"date-format\"],\"dateLink\":[1,\"date-link\"]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"order\":[{\"validateOrder\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"measures\":[{\"validateMeasures\":0}],\"dateStart\":[{\"validateDateStart\":0}],\"dateEnd\":[{\"validateDateEnd\":0}],\"dateFormat\":[{\"validateDateFormat\":0}],\"dateLink\":[{\"validateDateLink\":0}]}],[257,\"bn-body\",{\"selectedStyle\":[513,\"selected-style\"]}],[1,\"bn-footer\",{\"selectedStyle\":[513,\"selected-style\"],\"pageNumber\":[1025,\"page-number\"],\"text\":[1025],\"displayPageNumber\":[4,\"display-page-number\"]}],[1,\"bn-title-renderer\",{\"businessUnit\":[1537,\"business-unit\"],\"scenarios\":[16],\"measures\":[16],\"timeperiod\":[16],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"order\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"locale\":[1],\"ruleSetConfig\":[16]}]]]]"), options);
|
|
8
|
+
return bootstrapLazy(JSON.parse("[[\"bn-grid\",[[257,\"bn-grid\",{\"selectedStyle\":[513,\"selected-style\"],\"chartTitle\":[1,\"chart-title\"],\"rowHeaders\":[1,\"row-headers\"],\"columnHeaders\":[1,\"column-headers\"],\"showRowHeaders\":[4,\"show-row-headers\"],\"showColumnHeaders\":[4,\"show-column-headers\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"showBorders\":[4,\"show-borders\"],\"rowHeaderWidth\":[1,\"row-header-width\"],\"cellGap\":[1,\"cell-gap\"],\"cellHeight\":[1,\"cell-height\"],\"cellWidth\":[1,\"cell-width\"],\"cellVerticalAlign\":[1,\"cell-vertical-align\"],\"cellHorizontalAlign\":[1,\"cell-horizontal-align\"],\"cellCaptions\":[1,\"cell-captions\"],\"gridConfig\":[32],\"resolvedHeight\":[32],\"resolvedWidth\":[32],\"resolvedVertical\":[32],\"resolvedHorizontal\":[32],\"captions\":[32],\"offsets\":[32],\"cellAttributes\":[32],\"getLayoutState\":[64]},null,{\"rowHeaders\":[{\"validateRowHeaders\":0}],\"columnHeaders\":[{\"validateColumnHeaders\":0}],\"cellHeight\":[{\"validateCellHeight\":0}],\"cellWidth\":[{\"validateCellWidth\":0}],\"cellVerticalAlign\":[{\"validateCellVerticalAlign\":0}],\"cellHorizontalAlign\":[{\"validateCellHorizontalAlign\":0}],\"cellCaptions\":[{\"validateCellCaptions\":0}]}]]],[\"bn-image\",[[1,\"bn-image\",{\"selectedStyle\":[513,\"selected-style\"],\"source\":[1]}]]],[\"bn-internationalization\",[[0,\"bn-internationalization\",{\"code\":[1],\"namespace\":[1]}]]],[\"bn-ruleset\",[[0,\"bn-ruleset\",{\"name\":[1]}]]],[\"bn-text\",[[1,\"bn-text\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"value\":[1],\"scale\":[1],\"data\":[32]},null,{\"value\":[{\"validateValue\":0}],\"scale\":[{\"validateScaling\":0}]}]]],[\"bn-annotation-layer_30\",[[257,\"bn-layout-page\",{\"styles\":[1],\"selectedStyle\":[1,\"selected-style\"],\"ruleset\":[1],\"messageText\":[1,\"message-text\"],\"messageImage\":[1,\"message-image\"],\"titleId\":[1,\"title-id\"],\"titleBusinessUnit\":[1,\"title-business-unit\"],\"titleScenarios\":[1,\"title-scenarios\"],\"titleVariances\":[1,\"title-variances\"],\"titleOrder\":[1,\"title-order\"],\"titleOrderDirection\":[1,\"title-order-direction\"],\"titleMeasures\":[1,\"title-measures\"],\"titleDateStart\":[1,\"title-date-start\"],\"titleDateEnd\":[1,\"title-date-end\"],\"titleDateFormat\":[1,\"title-date-format\"],\"titleDateLink\":[1,\"title-date-link\"],\"titleNamespace\":[1,\"title-namespace\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"pageFormat\":[1,\"page-format\"],\"pageOrientation\":[1,\"page-orientation\"],\"pageNumber\":[1,\"page-number\"],\"footerText\":[1,\"footer-text\"],\"footerDisplayPageNumber\":[4,\"footer-display-page-number\"],\"pageLayout\":[1,\"page-layout\"],\"pageCustomTemplate\":[1,\"page-custom-template\"],\"pageGridGap\":[1,\"page-grid-gap\"],\"pageFitToContent\":[4,\"page-fit-to-content\"]}],[257,\"bn-layout-card\",{\"styles\":[1],\"selectedStyle\":[1,\"selected-style\"],\"ruleset\":[1],\"titleImage\":[1,\"title-image\"],\"titleBusinessUnit\":[1,\"title-business-unit\"],\"titleScenarios\":[1,\"title-scenarios\"],\"titleVariances\":[1,\"title-variances\"],\"titleOrder\":[1,\"title-order\"],\"titleOrderDirection\":[1,\"title-order-direction\"],\"titleMeasures\":[1,\"title-measures\"],\"titleDateStart\":[1,\"title-date-start\"],\"titleDateEnd\":[1,\"title-date-end\"],\"titleDateFormat\":[1,\"title-date-format\"],\"titleDateLink\":[1,\"title-date-link\"],\"titleNamespace\":[1,\"title-namespace\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"footerText\":[1,\"footer-text\"],\"cardLayout\":[1,\"card-layout\"],\"cardCustomTemplate\":[1,\"card-custom-template\"],\"cardGridGap\":[1,\"card-grid-gap\"],\"cardFitToContent\":[4,\"card-fit-to-content\"],\"cardShowBorder\":[4,\"card-show-border\"]}],[1,\"bn-chart-bubble\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"x\":[1],\"y\":[1],\"size\":[1],\"share\":[1],\"compareWith\":[1,\"compare-with\"],\"level\":[1],\"seriesLevel\":[1,\"series-level\"],\"facet\":[1],\"labels\":[1],\"legend\":[1],\"aspect\":[1],\"limit\":[2],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"x\":[{\"validateX\":0}],\"y\":[{\"validateY\":0}],\"size\":[{\"validateSize\":0}],\"share\":[{\"validateShare\":0}],\"compareWith\":[{\"validateCompareWith\":0}],\"level\":[{\"validateLevel\":0}],\"seriesLevel\":[{\"validateSeriesLevel\":0}],\"facet\":[{\"validateFacet\":0}],\"labels\":[{\"validateLabels\":0}],\"legend\":[{\"validateLegend\":0}],\"aspect\":[{\"validateAspect\":0}],\"limit\":[{\"validateLimit\":0}],\"scale\":[{\"validateScale\":0}]}],[1,\"bn-chart-bullet\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"actual\":[1],\"target\":[1],\"ranges\":[1],\"normalizeMode\":[1,\"normalize\"],\"variances\":[1],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"limit\":[2],\"labels\":[1],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"actual\":[{\"validateActual\":0}],\"target\":[{\"validateTarget\":0}],\"ranges\":[{\"validateRanges\":0}],\"normalizeMode\":[{\"validateNormalize\":0}],\"variances\":[{\"validateVariances\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrder\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"limit\":[{\"validateLimit\":0}],\"labels\":[{\"validateLabels\":0}],\"scale\":[{\"validateScale\":0}]}],[1,\"bn-chart-scatter\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"x\":[1],\"y\":[1],\"iso\":[1],\"level\":[1],\"seriesLevel\":[1,\"series-level\"],\"facet\":[1],\"labels\":[1],\"legend\":[1],\"aspect\":[1],\"limit\":[2],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"x\":[{\"validateX\":0}],\"y\":[{\"validateY\":0}],\"iso\":[{\"validateIso\":0}],\"level\":[{\"validateLevel\":0}],\"seriesLevel\":[{\"validateSeriesLevel\":0}],\"facet\":[{\"validateFacet\":0}],\"labels\":[{\"validateLabels\":0}],\"legend\":[{\"validateLegend\":0}],\"aspect\":[{\"validateAspect\":0}],\"limit\":[{\"validateLimit\":0}],\"scale\":[{\"validateScale\":0}]}],[1,\"bn-chart-structure\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"chartTitle\":[1,\"chart-title\"],\"ruleset\":[513],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"limit\":[2],\"showCategories\":[4,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"dataFormatDigitsDecimal\":[2,\"data-format-digits-decimal\"],\"dataFormatDigitsPercent\":[2,\"data-format-digits-percent\"],\"stack\":[1],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"limit\":[{\"validateLimit\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"dataFormatDigitsDecimal\":[{\"validateDataFormatDigitsDecimal\":0}],\"dataFormatDigitsPercent\":[{\"validateDataFormatDigitsPercent\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}]}],[1,\"bn-chart-time\",{\"datasets\":[513],\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"syncSpaceLeft\":[2,\"sync-space-left\"],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"dateInterval\":[1,\"date-interval\"],\"chartMode\":[1,\"chart-mode\"],\"maxBars\":[2,\"max-bars\"],\"stack\":[1],\"scale\":[1],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"axisLabelsMode\":[1,\"axis-labels-mode\"],\"lineFullWidth\":[4,\"line-full-width\"],\"showCategories\":[4,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"showOverlayAvg\":[4,\"show-overlay-avg\"],\"showOverlayMedian\":[4,\"show-overlay-median\"],\"measureUnit\":[1,\"measure-unit\"],\"dataFormatDigitsDecimal\":[2,\"data-format-digits-decimal\"],\"dataFormatDigitsPercent\":[2,\"data-format-digits-percent\"],\"axisLabelsStep\":[2,\"axis-labels-step\"],\"scenarioSwitch\":[4,\"scenario-switch\"],\"axisTitlePosition\":[1,\"axis-title-position\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"filter\":[{\"validateFilter\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"syncSpaceLeft\":[{\"validateLeftSync\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"dateInterval\":[{\"validateDateInterval\":0}],\"chartMode\":[{\"validateChartMode\":0}],\"maxBars\":[{\"validateMaxBars\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}],\"axisLabelsMode\":[{\"validateAxisLabelsMode\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"dataFormatDigitsDecimal\":[{\"validateDataFormatDigitsDecimal\":0}],\"dataFormatDigitsPercent\":[{\"validateDataFormatDigitsPercent\":0}],\"axisLabelsStep\":[{\"validateAxisLabelsStep\":0}],\"axisTitlePosition\":[{\"validateAxisTitlePosition\":0}]}],[1,\"bn-table\",{\"datasets\":[513],\"i18nNamespace\":[513,\"i18n-namespace\"],\"scale\":[1],\"ruleset\":[513],\"selectedStyle\":[513,\"selected-style\"],\"sumTitle\":[1,\"sum-title\"],\"filter\":[1],\"measureUnit\":[1,\"measure-unit\"],\"scenarios\":[1],\"variances\":[1],\"barColumns\":[1,\"bar-columns\"],\"barColumnWidth\":[1,\"bar-column-width\"],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"dataFormat\":[1,\"data-format\"],\"grouped\":[4],\"showMeasureScale\":[4,\"show-measure-scale\"],\"showGroupTitle\":[4,\"show-group-title\"],\"runningSum\":[4,\"running-sum\"],\"varianceWaterfall\":[4,\"variance-waterfall\"],\"type\":[1],\"limit\":[2],\"thereof\":[1],\"thereofPosition\":[1,\"thereof-position\"],\"partof\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"measureType\":[1,\"measure-type\"],\"measureScale\":[1,\"measure-scale\"],\"dataFormatDigitsDecimal\":[2,\"data-format-digits-decimal\"],\"dataFormatDigitsPercent\":[2,\"data-format-digits-percent\"],\"categoryWidth\":[1,\"category-width\"],\"columnthereof\":[1],\"interval\":[1],\"categoryIntervalPosition\":[2,\"category-interval-position\"],\"tableAttributes\":[1,\"attributes\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"hasBlankSetnames\":[32],\"hasSetnameIndexWithoutSetname\":[32],\"getBaseline\":[64],\"getLayoutState\":[64]},null,{\"scale\":[{\"validateScaling\":0}],\"filter\":[{\"validateFilter\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"barColumns\":[{\"validateBarColumns\":0}],\"barColumnWidth\":[{\"validateBarColumnWidth\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"dataFormat\":[{\"validateDataFormat\":0}],\"type\":[{\"validateType\":0}],\"limit\":[{\"validateLimit\":0}],\"thereof\":[{\"validateThereOf\":0}],\"thereofPosition\":[{\"validateThereofPosition\":0}],\"partof\":[{\"validatePartOf\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"measureType\":[{\"validateMeasureType\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"dataFormatDigitsDecimal\":[{\"validateDataFormatDigitsDecimal\":0}],\"dataFormatDigitsPercent\":[{\"validateDateFormatDigitsPercent\":0}],\"categoryWidth\":[{\"validateCategoryWidth\":0}],\"columnthereof\":[{\"validateColumnThereOf\":0}],\"interval\":[{\"validateInterval\":0}],\"categoryIntervalPosition\":[{\"validateCategoryIntervalPosition\":0}],\"tableAttributes\":[{\"validateTableAttributes\":0}]}],[1,\"bn-annotation-layer\",{\"items\":[1],\"selectedStyle\":[513,\"selected-style\"],\"marks\":[32]},null,{\"items\":[{\"onItemsChange\":0}]}],[1,\"bn-annotation-list\",{\"items\":[1],\"selectedStyle\":[513,\"selected-style\"]}],[1,\"bn-asset\",{\"name\":[1]}],[0,\"bn-component-style\",{\"name\":[1]}],[257,\"bn-context\",{\"locale\":[1],\"i18nNamespace\":[513,\"i18n-namespace\"],\"renderOrientation\":[513,\"render-orientation\"],\"getLayoutState\":[64]},null,{\"locale\":[{\"setLocale\":0}]}],[0,\"bn-dataset\",{\"name\":[1],\"datasources\":[1],\"static\":[4],\"raw\":[4],\"refreshInterval\":[2,\"refresh-interval\"],\"src\":[1]},null,{\"name\":[{\"nameUpdated\":0}],\"refreshInterval\":[{\"onIntervalChange\":0}],\"src\":[{\"onSrcChange\":0}]}],[0,\"bn-datasource\",{\"name\":[1],\"raw\":[4],\"refreshInterval\":[2,\"refresh-interval\"],\"src\":[1]},null,{\"refreshInterval\":[{\"onIntervalChange\":0}],\"src\":[{\"onSrcChange\":0}],\"name\":[{\"nameUpdated\":0}]}],[0,\"bn-scaling-group\",{\"name\":[1],\"value\":[8]},null,{\"name\":[{\"onNameChange\":0}],\"value\":[{\"onValueChange\":0}]}],[257,\"bn-tree\",{\"selectedStyle\":[513,\"selected-style\"],\"edges\":[1],\"direction\":[1],\"levelSpacing\":[2,\"level-spacing\"],\"nodeSpacing\":[2,\"node-spacing\"],\"edgeStyle\":[1,\"edge-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"showOperators\":[4,\"show-operators\"],\"treeConfig\":[32],\"layout\":[32],\"nodeRects\":[32],\"svgWidth\":[32],\"svgHeight\":[32],\"getLayoutState\":[64]},null,{\"edges\":[{\"validateEdgesProp\":0}],\"direction\":[{\"validateDirection\":0}],\"levelSpacing\":[{\"validateLevelSpacing\":0}],\"nodeSpacing\":[{\"validateNodeSpacing\":0}],\"edgeStyle\":[{\"validateEdgeStyle\":0}]}],[257,\"bn-card\",{\"selectedStyle\":[513,\"selected-style\"]}],[1,\"bn-chart-bubble-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"x\":[16],\"y\":[16],\"size\":[16],\"share\":[16],\"compareFamily\":[1,\"compare-family\"],\"labels\":[16],\"legend\":[16],\"facet\":[16],\"pointLevel\":[1,\"point-level\"],\"seriesLevel\":[1,\"series-level\"],\"aspect\":[2],\"limit\":[2],\"filter\":[1],\"sizeAreaPerUnit\":[2,\"size-area-per-unit\"],\"styles\":[16],\"i18n\":[16],\"containerWidth\":[2,\"container-width\"],\"ruleSetConfig\":[16],\"errors\":[16],\"translator\":[16]}],[1,\"bn-chart-bullet-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"actual\":[16],\"target\":[16],\"ranges\":[16],\"normalizeMode\":[1,\"normalize-mode\"],\"showVariances\":[4,\"show-variances\"],\"level\":[1],\"order\":[16],\"limit\":[2],\"labels\":[16],\"filter\":[1],\"styles\":[16],\"i18n\":[16],\"containerWidth\":[2,\"container-width\"],\"ruleSetConfig\":[16],\"errors\":[16],\"translator\":[16]}],[1,\"bn-chart-scatter-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"x\":[16],\"y\":[16],\"iso\":[16],\"labels\":[16],\"legend\":[16],\"facet\":[16],\"pointLevel\":[1,\"point-level\"],\"seriesLevel\":[1,\"series-level\"],\"aspect\":[2],\"limit\":[2],\"filter\":[1],\"styles\":[16],\"i18n\":[16],\"containerWidth\":[2,\"container-width\"],\"ruleSetConfig\":[16],\"errors\":[16],\"translator\":[16]}],[1,\"bn-chart-structure-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideCategories\":[4,\"hide-categories\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"reportAutoScaling\":[16],\"errors\":[16],\"limit\":[2],\"styles\":[1040],\"i18n\":[1040],\"order\":[16],\"level\":[1],\"filter\":[1],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"dataFormatDigits\":[16],\"stackConfig\":[16],\"parentDimensions\":[16],\"ruleSetConfig\":[16]}],[1,\"bn-chart-time-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideAxisLabels\":[4,\"hide-axis-labels\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"reportAutoScaling\":[16],\"errors\":[16],\"leftSideOffsetForHorizontalSync\":[2,\"left-side-offset-for-horizontal-sync\"],\"styles\":[1040],\"i18n\":[1040],\"dateInterval\":[1,\"date-interval\"],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"axisLabelsMode\":[1,\"axis-labels-mode\"],\"filter\":[1],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"showOverlayMedian\":[4,\"show-overlay-median\"],\"showOverlayAvg\":[4,\"show-overlay-avg\"],\"chartMode\":[1,\"chart-mode\"],\"maxBars\":[2,\"max-bars\"],\"stackConfig\":[16],\"lineFullWidth\":[4,\"line-full-width\"],\"containerWidth\":[2,\"container-width\"],\"dataFormatDigits\":[16],\"axisLabelsStep\":[2,\"axis-labels-step\"],\"scenarioSwitch\":[4,\"scenario-switch\"],\"axisTitlePosition\":[1,\"axis-title-position\"],\"parentDimensions\":[16],\"ruleSetConfig\":[16]}],[1,\"bn-message\",{\"selectedStyle\":[513,\"selected-style\"],\"text\":[1025],\"image\":[1]}],[257,\"bn-page\",{\"selectedStyle\":[513,\"selected-style\"],\"format\":[1],\"orientation\":[1]},null,{\"format\":[{\"validateFormat\":0}],\"orientation\":[{\"validateOrientation\":0}]}],[1,\"bn-table-renderer\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"selectedStyle\":[513,\"selected-style\"],\"sumTitle\":[1,\"sum-title\"],\"scenarios\":[16],\"scenariosDataFormat\":[1,\"scenarios-data-format\"],\"grouped\":[4],\"limit\":[2],\"showGroupTitle\":[4,\"show-group-title\"],\"runningSum\":[4,\"running-sum\"],\"varianceWaterfall\":[4,\"variance-waterfall\"],\"thereof\":[16],\"thereofPosition\":[1,\"thereof-position\"],\"partof\":[16],\"order\":[16],\"categorythereof\":[16],\"attributeColumns\":[16],\"type\":[1],\"categoryWidth\":[1,\"category-width\"],\"dataFormatDigits\":[16],\"ruleSetConfig\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"measureType\":[1,\"measure-type\"],\"filter\":[1],\"barColumns\":[16],\"interval\":[1],\"categoryIntervalPosition\":[2,\"category-interval-position\"],\"barColumnMaxWidth\":[2,\"bar-column-max-width\"],\"unitScaling\":[2,\"unit-scaling\"],\"percentageScaling\":[2,\"percentage-scaling\"],\"reportAutoScaling\":[16],\"errors\":[16],\"scaleFactor\":[2,\"scale-factor\"],\"getLayoutDetail\":[64]}],[1,\"bn-title\",{\"selectedStyle\":[513,\"selected-style\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"ruleset\":[513],\"titleFontSize\":[2,\"title-font-size\"],\"titleId\":[1,\"title-id\"],\"businessUnit\":[1,\"business-unit\"],\"scenarios\":[1],\"variances\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"measures\":[1],\"dateStart\":[1,\"date-start\"],\"dateEnd\":[1,\"date-end\"],\"dateFormat\":[1,\"date-format\"],\"dateLink\":[1,\"date-link\"]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"order\":[{\"validateOrder\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"measures\":[{\"validateMeasures\":0}],\"dateStart\":[{\"validateDateStart\":0}],\"dateEnd\":[{\"validateDateEnd\":0}],\"dateFormat\":[{\"validateDateFormat\":0}],\"dateLink\":[{\"validateDateLink\":0}]}],[257,\"bn-body\",{\"selectedStyle\":[513,\"selected-style\"]}],[1,\"bn-footer\",{\"selectedStyle\":[513,\"selected-style\"],\"pageNumber\":[1025,\"page-number\"],\"text\":[1025],\"displayPageNumber\":[4,\"display-page-number\"]}],[1,\"bn-title-renderer\",{\"businessUnit\":[1537,\"business-unit\"],\"scenarios\":[16],\"measures\":[16],\"timeperiod\":[16],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"order\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"locale\":[1],\"ruleSetConfig\":[16],\"titleId\":[1,\"title-id\"]}]]]]"), options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { defineCustomElements };
|
|
@@ -528,18 +528,23 @@ const SYSTEM_STYLE_DEFAULTS = {
|
|
|
528
528
|
borderColor: "#A6A6A6",
|
|
529
529
|
borderWidth: 1,
|
|
530
530
|
cellPadding: 4,
|
|
531
|
+
cellBackground: "transparent",
|
|
531
532
|
captionFontSize: 12,
|
|
532
533
|
captionFontWeight: "bold",
|
|
533
534
|
captionColor: "#000000",
|
|
534
535
|
captionGap: 2,
|
|
535
536
|
},
|
|
537
|
+
"bn-layout-card": {},
|
|
536
538
|
"bn-annotation": {
|
|
537
539
|
color: "#0070c0",
|
|
538
540
|
colors: { negative: "#ff0000", positive: "#008f96" },
|
|
539
541
|
},
|
|
540
542
|
};
|
|
541
|
-
/**
|
|
542
|
-
const
|
|
543
|
+
/** Keys that are optional, so the defaults do not list them. */
|
|
544
|
+
const OPTIONAL_KEYS = {
|
|
545
|
+
"bn-text": ["fontFamily", "fontSizePx", "fontColor", "fontBackgroundColor", "leading"],
|
|
546
|
+
"bn-layout-card": ["titleFontSize"],
|
|
547
|
+
};
|
|
543
548
|
// The keys of these groups are checked too. The style groups (`axisStyles.ac`, ...) are not: their keys differ per scenario.
|
|
544
549
|
const CHECKED_GROUPS = ["scaleFactors", "padding"];
|
|
545
550
|
const isPlainObject = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
|
|
@@ -549,6 +554,7 @@ const isPlainObject = (value) => value !== null && typeof value === "object" &&
|
|
|
549
554
|
* when the style is applied, so a typo would otherwise go unnoticed.
|
|
550
555
|
*/
|
|
551
556
|
function unknownStyleKeys(style) {
|
|
557
|
+
var _a;
|
|
552
558
|
const unknown = [];
|
|
553
559
|
if (!isPlainObject(style)) {
|
|
554
560
|
return unknown;
|
|
@@ -562,7 +568,7 @@ function unknownStyleKeys(style) {
|
|
|
562
568
|
if (!isPlainObject(value)) {
|
|
563
569
|
continue;
|
|
564
570
|
}
|
|
565
|
-
const sectionKeys = section
|
|
571
|
+
const sectionKeys = [...Object.keys(defaults[section]), ...((_a = OPTIONAL_KEYS[section]) !== null && _a !== void 0 ? _a : [])];
|
|
566
572
|
for (const [key, group] of Object.entries(value)) {
|
|
567
573
|
if (!sectionKeys.includes(key)) {
|
|
568
574
|
unknown.push(`${section}.${key}`);
|
|
@@ -717,7 +723,7 @@ const de = flattenObject({
|
|
|
717
723
|
CONNECTOR_WS: " und ",
|
|
718
724
|
in: "in",
|
|
719
725
|
},
|
|
720
|
-
"bn-chart-time": { "no-data": "Keine Daten" },
|
|
726
|
+
"bn-chart-time": { "no-data": "Keine Daten", "date-format-short-year": "yy" },
|
|
721
727
|
"bn-chart-structure": { "no-data": "Keine Daten", REST: "REST" },
|
|
722
728
|
"bn-chart-scatter": Object.assign(Object.assign({}, xyChartKeysDe), { "xy-iso-domain": "Iso-Linien benötigen einen strikt positiven Wertebereich auf beiden Achsen; übersprungen." }),
|
|
723
729
|
"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." }),
|
|
@@ -777,7 +783,7 @@ const en = flattenObject({
|
|
|
777
783
|
CONNECTOR_WS: " and ",
|
|
778
784
|
in: "in",
|
|
779
785
|
},
|
|
780
|
-
"bn-chart-time": { "no-data": "No Data" },
|
|
786
|
+
"bn-chart-time": { "no-data": "No Data", "date-format-short-year": "yy" },
|
|
781
787
|
"bn-chart-structure": { "no-data": "No Data", REST: "REST" },
|
|
782
788
|
"bn-chart-scatter": Object.assign(Object.assign({}, xyChartKeysEn), { "xy-iso-domain": "Iso-lines need a strictly positive domain on both axes; skipped." }),
|
|
783
789
|
"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,5 +1,5 @@
|
|
|
1
1
|
import { g as getElement, f as forceUpdate } from './index-CCZcKl0Q.js';
|
|
2
|
-
import { g as getStores, r as runIfExisits, c as clearStoresCache, D as DateTime } from './withHasError-
|
|
2
|
+
import { g as getStores, r as runIfExisits, c as clearStoresCache, D as DateTime } from './withHasError-UGtkLrYT.js';
|
|
3
3
|
|
|
4
4
|
const isObject = (obj) => {
|
|
5
5
|
if (typeof obj === 'object' && obj !== null) {
|
|
@@ -524,6 +524,10 @@ class DateStringFactory {
|
|
|
524
524
|
this.dateFormatShort = dateFormatShort;
|
|
525
525
|
this.dateFormatShortPinned = true;
|
|
526
526
|
}
|
|
527
|
+
/** Replaces single short patterns and keeps the rest. Call it after `setLocale`. */
|
|
528
|
+
patchDateFormatShort(patterns) {
|
|
529
|
+
this.dateFormatShort = Object.assign(Object.assign({}, this.dateFormatShort), patterns);
|
|
530
|
+
}
|
|
527
531
|
/**
|
|
528
532
|
* Selects the locale used for Luxon's localized tokens and swaps in the
|
|
529
533
|
* locale's pattern overrides. An explicit `setDateFormat` /
|
|
@@ -810,6 +814,21 @@ class DateStringFactory {
|
|
|
810
814
|
}
|
|
811
815
|
return date.setLocale(this.locale).toFormat(format);
|
|
812
816
|
}
|
|
817
|
+
/** True when the smart label of this period also names the month or the year that starts with it. */
|
|
818
|
+
isSmartBoundary(date, type) {
|
|
819
|
+
switch (type) {
|
|
820
|
+
case DateDistance.DAY:
|
|
821
|
+
return this.isFirstInMonth(date);
|
|
822
|
+
case DateDistance.WEEK:
|
|
823
|
+
return this.isFirstWeek(date);
|
|
824
|
+
case DateDistance.MONTH:
|
|
825
|
+
return this.isJanuary(date);
|
|
826
|
+
case DateDistance.QUARTER:
|
|
827
|
+
return this.isFirstQuarter(date);
|
|
828
|
+
default:
|
|
829
|
+
return false;
|
|
830
|
+
}
|
|
831
|
+
}
|
|
813
832
|
isFirstInMonth(date) {
|
|
814
833
|
return date.day === 1;
|
|
815
834
|
}
|
|
@@ -1208,6 +1227,10 @@ function isBlankInput(value) {
|
|
|
1208
1227
|
* the Scenarios enum; remaining invalid entries are passed to `validateVariancesList`
|
|
1209
1228
|
* for variance format checking (e.g. `d_ac1_pl1_pos`).
|
|
1210
1229
|
*/
|
|
1230
|
+
/** `none` as the scenario list of a chart: draw no scenario, only the variances. */
|
|
1231
|
+
function isNoScenarios(value) {
|
|
1232
|
+
return typeof value === "string" && value.trim().toLowerCase() === "none";
|
|
1233
|
+
}
|
|
1211
1234
|
function validateScenarioList(value) {
|
|
1212
1235
|
if (isBlankInput(value)) {
|
|
1213
1236
|
return [];
|
|
@@ -1741,4 +1764,4 @@ const withStyled = (component) => {
|
|
|
1741
1764
|
};
|
|
1742
1765
|
};
|
|
1743
1766
|
|
|
1744
|
-
export {
|
|
1767
|
+
export { ThereofPosition as $, AggregationLevel as A, isValidNumber as B, CompareUtil as C, isValidDateFormat as D, isValidAxisLabelsMode as E, DateDistance as F, AxisLabelsMode as G, ChartMode as H, DateStringFactory as I, murmur2 as J, validateBarColumnsList as K, isTableBarColumnWidth as L, isValidDataFormat as M, NOT_AVAILABLE as N, OrderDirection as O, isValidTableType as P, validateThereOfJsonStr as Q, RELATIVE_STACK_UNITS as R, StackBy as S, isValidThereofPosition as T, validatePartOfJsonStr as U, validateTableOrderList as V, isValidMeasureType as W, isTableCategoryWidth as X, validateColumnThereOfJsonStr as Y, validateAttributesJsonStr as Z, DataFormat as _, withComponentStyle as a, TableType as a0, normalizeOrderToken as a1, I18nMode as a2, TableCategoryWidth as a3, MeasureType as a4, parseTableAttributeExpression as a5, BAR_COLUMN_WIDTH_EM as a6, TableBarColumnWidth as a7, TableRowType as a8, FIELD_IDENTIFIER_REGEX as a9, parseOrderToken as aa, Scenarios as ab, OrderDirection$1 as ac, FactoryState as ad, validateMeasureList as ae, isValidDate as af, isValidDateLink as ag, DateLink as ah, isValidInteger as b, isValidMeasureToken as c, scenarioSlotNumber as d, axisInValueUnits as e, isRelativeMeasure as f, isValidDirection as g, Order as h, isBlankInput as i, OrderColumn as j, isNoScenarios as k, validateScenarioList as l, merge as m, validateVariancesList as n, isValidLevel as o, isValidMeasureScale as p, validateStackConfig as q, resolveMeasure as r, scenarioFamily as s, StackOrder as t, StackMode as u, validateOrderList as v, withStyled as w, AdapterUtils as x, OrderAdapter as y, relativeVariance as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as getStores, r as runIfExisits, c as clearStoresCache, R as RENAMED_I18N_KEYS } from './withHasError-
|
|
1
|
+
import { g as getStores, r as runIfExisits, c as clearStoresCache, R as RENAMED_I18N_KEYS } from './withHasError-UGtkLrYT.js';
|
|
2
2
|
import { g as getElement, f as forceUpdate } from './index-CCZcKl0Q.js';
|
|
3
|
-
import { i as isBlankInput } from './withStyled-
|
|
3
|
+
import { i as isBlankInput } from './withStyled-BlMqEIfr.js';
|
|
4
4
|
|
|
5
5
|
const ALLOWED_TAGS = new Set([
|
|
6
6
|
"br",
|
|
@@ -168,14 +168,17 @@ function getVisualParent(element) {
|
|
|
168
168
|
* height as a last resort.
|
|
169
169
|
*
|
|
170
170
|
* Ancestors inside a fit-content layout region (marked with
|
|
171
|
-
* `data-bn-fit-content` by bn-layout-page / bn-layout-card
|
|
171
|
+
* `data-bn-fit-content` by bn-layout-page / bn-layout-card, and by every
|
|
172
|
+
* cell of bn-grid and node of bn-tree) are skipped
|
|
172
173
|
* even when they clip overflow: their height is derived from their own
|
|
173
174
|
* content - including the measuring component itself - so using it for
|
|
174
175
|
* auto-scaling creates a feedback loop where the chart inflates the cell
|
|
175
176
|
* and then reads the inflated cell back as "available height". The marker
|
|
176
177
|
* value carries the grid's row count; the constraint found above the
|
|
177
178
|
* fit-content region is divided by it, approximating the equal-share cell
|
|
178
|
-
* height the same layout would produce with fit-to-content disabled.
|
|
179
|
+
* height the same layout would produce with fit-to-content disabled. A grid
|
|
180
|
+
* cell and a tree node carry no row count: their content gets the same
|
|
181
|
+
* height with and without a card around it.
|
|
179
182
|
*/
|
|
180
183
|
function findConstrainedHeight(element, debug = false) {
|
|
181
184
|
let current = findLayoutParent(element);
|
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
"bn-grid": {
|
|
34
34
|
"$ref": "#/definitions/GridStyle"
|
|
35
35
|
},
|
|
36
|
+
"bn-layout-card": {
|
|
37
|
+
"$ref": "#/definitions/LayoutCardStyle"
|
|
38
|
+
},
|
|
36
39
|
"bn-annotation": {
|
|
37
40
|
"$ref": "#/definitions/AnnotationStyle"
|
|
38
41
|
}
|
|
@@ -578,6 +581,10 @@
|
|
|
578
581
|
"cellPadding": {
|
|
579
582
|
"type": "number"
|
|
580
583
|
},
|
|
584
|
+
"cellBackground": {
|
|
585
|
+
"type": "string",
|
|
586
|
+
"description": "Background colour of every data cell. `cell-background` on the child of a cell wins."
|
|
587
|
+
},
|
|
581
588
|
"captionFontSize": {
|
|
582
589
|
"type": "number",
|
|
583
590
|
"description": "Cell caption (`cell-captions`): font size in px."
|
|
@@ -596,6 +603,17 @@
|
|
|
596
603
|
"additionalProperties": false,
|
|
597
604
|
"description": "Visual properties for `bn-grid` headers, borders, and cell spacing."
|
|
598
605
|
},
|
|
606
|
+
"LayoutCardStyle": {
|
|
607
|
+
"type": "object",
|
|
608
|
+
"properties": {
|
|
609
|
+
"titleFontSize": {
|
|
610
|
+
"type": "number",
|
|
611
|
+
"description": "Font size of the card title in px. Without it the title has the font size of `global.fontSizePx`."
|
|
612
|
+
}
|
|
613
|
+
},
|
|
614
|
+
"additionalProperties": false,
|
|
615
|
+
"description": "Optional overrides for `bn-layout-card`."
|
|
616
|
+
},
|
|
599
617
|
"AnnotationStyle": {
|
|
600
618
|
"type": "object",
|
|
601
619
|
"properties": {
|
|
@@ -11,6 +11,10 @@
|
|
|
11
11
|
* Place it in the `annotations` slot of `bn-layout-page`. The numbers are given,
|
|
12
12
|
* the layer never counts.
|
|
13
13
|
*
|
|
14
|
+
* A target can sit anywhere in the page, also on the child of one `bn-grid`
|
|
15
|
+
* cell or of a card in it. The mark then points at the first component in
|
|
16
|
+
* that element.
|
|
17
|
+
*
|
|
14
18
|
* @example
|
|
15
19
|
* <bn-layout-page>
|
|
16
20
|
* <div slot="slot-0" data-bino-annotation-target="t1"><bn-chart-time ...></bn-chart-time></div>
|
|
@@ -48,6 +52,7 @@ export declare class AnnotationLayer {
|
|
|
48
52
|
private resizeObserver?;
|
|
49
53
|
private mutationObserver?;
|
|
50
54
|
private observed;
|
|
55
|
+
private observedAround;
|
|
51
56
|
private reported;
|
|
52
57
|
constructor();
|
|
53
58
|
connectedCallback(): void;
|
|
@@ -74,6 +79,12 @@ export declare class AnnotationLayer {
|
|
|
74
79
|
private storeUnplaced;
|
|
75
80
|
/** A chart redraws inside its shadow roots, where the host and a mutation observer on it see nothing. */
|
|
76
81
|
private observe;
|
|
82
|
+
/**
|
|
83
|
+
* A component around a target can move it without resizing anything: a
|
|
84
|
+
* grid pads a cell down to line up a baseline, and writes that into its own
|
|
85
|
+
* shadow root, or into the style of a card in the cell.
|
|
86
|
+
*/
|
|
87
|
+
private observeAround;
|
|
77
88
|
private observeSize;
|
|
78
89
|
private renderBadge;
|
|
79
90
|
private renderMark;
|
|
@@ -76,6 +76,7 @@ export declare class Chart {
|
|
|
76
76
|
* | `"ac1,fc1"` | Show the listed scenarios |
|
|
77
77
|
* | `"auto"` | Auto-detect from dataset metadata (no warning) |
|
|
78
78
|
* | not set / `""` | Auto-detect from dataset metadata (emits `AUTO_scenarios` warning) |
|
|
79
|
+
* | `"none"` | Draw no scenario: the chart shows only its variances, the first one carries the categories |
|
|
79
80
|
*
|
|
80
81
|
* @example scenarios="ac1,pp1,pl1"
|
|
81
82
|
*/
|
|
@@ -236,6 +237,17 @@ export declare class Chart {
|
|
|
236
237
|
* @example measure-unit="EUR"
|
|
237
238
|
*/
|
|
238
239
|
measureUnit: string;
|
|
240
|
+
/**
|
|
241
|
+
* Number of decimal digits of the value labels
|
|
242
|
+
*/
|
|
243
|
+
dataFormatDigitsDecimal: number;
|
|
244
|
+
validateDataFormatDigitsDecimal(newValue: number): void;
|
|
245
|
+
/**
|
|
246
|
+
* Number of decimal digits of the percent labels (relative variances, shares of a 100 % stack)
|
|
247
|
+
*/
|
|
248
|
+
dataFormatDigitsPercent: number;
|
|
249
|
+
validateDataFormatDigitsPercent(newValue: number): void;
|
|
250
|
+
private validateDigits;
|
|
239
251
|
/**
|
|
240
252
|
* Stacking configuration as a JSON string. When set, bars are drawn as
|
|
241
253
|
* stacked segments instead of side-by-side.
|
|
@@ -302,6 +314,10 @@ export declare class Chart {
|
|
|
302
314
|
prepareDimension(): ParentDimensions;
|
|
303
315
|
private prepareScenarios;
|
|
304
316
|
private prepareVariances;
|
|
317
|
+
/** `scenarios="none"`: the chart draws its variances only. */
|
|
318
|
+
private hidesScenarios;
|
|
319
|
+
/** The segments side by side: `""` is the base chart, else one variance. */
|
|
320
|
+
private prepareSegments;
|
|
305
321
|
private prepareHideCategories;
|
|
306
322
|
private prepareI18n;
|
|
307
323
|
private autoUnitWarningActive;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { StructureChartStyle, DataPoint } from "../model";
|
|
2
2
|
import { G } from "@svgdotjs/svg.js";
|
|
3
3
|
import { ElementPositions } from "../helper";
|
|
4
|
+
import { DataFormatDigits } from "../../../../utils/model/DataFormatDigits";
|
|
4
5
|
/**
|
|
5
6
|
* Renders a horizontal relative variance pin (needle) in an IBCS structure chart.
|
|
6
7
|
*
|
|
@@ -29,7 +30,7 @@ export declare class Needle {
|
|
|
29
30
|
private hasData;
|
|
30
31
|
constructor(position: ElementPositions, styles: StructureChartStyle, dataPoint: DataPoint, index: number, scenarioGroup: G);
|
|
31
32
|
updateLabelGroup(newGroup: G | undefined): Needle;
|
|
32
|
-
draw(): this;
|
|
33
|
+
draw(dataFormatDigits?: DataFormatDigits): this;
|
|
33
34
|
private createDimensions;
|
|
34
35
|
private drawNeedleHead;
|
|
35
36
|
private isEmpty;
|
package/dist/types/components/bn-chart-time/bn-chart-time-renderer/bn-chart-time-renderer.d.ts
CHANGED
|
@@ -82,6 +82,12 @@ export declare class BnChartTimeRenderer {
|
|
|
82
82
|
/** @internal */
|
|
83
83
|
dataFormatDigits: DataFormatDigits;
|
|
84
84
|
/** @internal */
|
|
85
|
+
axisLabelsStep: number;
|
|
86
|
+
/** @internal */
|
|
87
|
+
scenarioSwitch: boolean;
|
|
88
|
+
/** @internal */
|
|
89
|
+
axisTitlePosition: string;
|
|
90
|
+
/** @internal */
|
|
85
91
|
parentDimensions: ParentDimensions;
|
|
86
92
|
/** @internal */
|
|
87
93
|
ruleSetConfig?: RuleSetConfig;
|
|
@@ -92,6 +98,8 @@ export declare class BnChartTimeRenderer {
|
|
|
92
98
|
private stores;
|
|
93
99
|
private measureScaleError;
|
|
94
100
|
private queryError;
|
|
101
|
+
private overlapErrId;
|
|
102
|
+
disconnectedCallback(): void;
|
|
95
103
|
constructor();
|
|
96
104
|
private getDb;
|
|
97
105
|
render(): any;
|
|
@@ -70,6 +70,8 @@ export declare class Chart {
|
|
|
70
70
|
*<br /> <br />
|
|
71
71
|
* When set to ```auto```, scenarios are detected from the dataset silently.
|
|
72
72
|
* When left blank, scenarios are detected from the dataset with a warning.
|
|
73
|
+
* When set to ```none```, no scenario is drawn: the chart shows only its variances,
|
|
74
|
+
* and the lowest variance carries the category labels.
|
|
73
75
|
*
|
|
74
76
|
*/
|
|
75
77
|
scenarios: string;
|
|
@@ -291,6 +293,40 @@ export declare class Chart {
|
|
|
291
293
|
* measureUnit displayed in table.
|
|
292
294
|
*/
|
|
293
295
|
measureUnit: string;
|
|
296
|
+
/**
|
|
297
|
+
* Number of decimal digits of the value labels
|
|
298
|
+
*/
|
|
299
|
+
dataFormatDigitsDecimal: number;
|
|
300
|
+
validateDataFormatDigitsDecimal(newValue: number): void;
|
|
301
|
+
/**
|
|
302
|
+
* Number of decimal digits of the percent labels (relative variances)
|
|
303
|
+
*/
|
|
304
|
+
dataFormatDigitsPercent: number;
|
|
305
|
+
validateDataFormatDigitsPercent(newValue: number): void;
|
|
306
|
+
private validateDigits;
|
|
307
|
+
/**
|
|
308
|
+
* Prints only every n-th category label, starting with the first period.
|
|
309
|
+
* 2 labels every second period. Bar mode only.
|
|
310
|
+
*/
|
|
311
|
+
axisLabelsStep: number;
|
|
312
|
+
validateAxisLabelsStep(newValue: number): void;
|
|
313
|
+
/**
|
|
314
|
+
* For a series that changes its scenario along the time axis, for example
|
|
315
|
+
* AC up to this year and PL after it. In a period where the first scenario
|
|
316
|
+
* has no value, the next scenario with a value is drawn in its place with
|
|
317
|
+
* its value label. A vertical line marks the change, and the scenario names
|
|
318
|
+
* stand under the axis. Variances with the same reference and type share
|
|
319
|
+
* one row. Bar mode without stack only.
|
|
320
|
+
*/
|
|
321
|
+
scenarioSwitch: boolean;
|
|
322
|
+
/**
|
|
323
|
+
* Where the axis title stands (the chart title, or the name of a variance).
|
|
324
|
+
* <br /><br />
|
|
325
|
+
* values:<br />
|
|
326
|
+
* ```left // right // none```
|
|
327
|
+
*/
|
|
328
|
+
axisTitlePosition: string;
|
|
329
|
+
validateAxisTitlePosition(newValue: string): void;
|
|
294
330
|
private canvasWidthSegmented;
|
|
295
331
|
private pixelPerUnitGroupMap;
|
|
296
332
|
constructor();
|
|
@@ -332,6 +368,15 @@ export declare class Chart {
|
|
|
332
368
|
private _lastAppliedHeight;
|
|
333
369
|
prepareDimension(): ParentDimensions;
|
|
334
370
|
private prepareScenarios;
|
|
371
|
+
/** `scenarios="none"`: the chart draws its variances only. */
|
|
372
|
+
private hidesScenarios;
|
|
373
|
+
/**
|
|
374
|
+
* The stacked segments, bottom to top: `[]` is the base chart, else the
|
|
375
|
+
* variances of one row. With `scenarioSwitch`, variances of one type over
|
|
376
|
+
* the same reference share a row.
|
|
377
|
+
*/
|
|
378
|
+
private prepareSegments;
|
|
379
|
+
private prepareAxisTitlePosition;
|
|
335
380
|
private prepareAvg;
|
|
336
381
|
private prepareMedian;
|
|
337
382
|
private prepareVariances;
|
|
@@ -371,7 +416,7 @@ export declare class Chart {
|
|
|
371
416
|
private prepareLineFullWidth;
|
|
372
417
|
private prepareChartMode;
|
|
373
418
|
private prepareMaxBars;
|
|
374
|
-
chartTemplate(
|
|
419
|
+
chartTemplate(segmentVariances: string[], idx: number): any;
|
|
375
420
|
/**
|
|
376
421
|
* The line this chart wants to be aligned on, in CSS px from the host's
|
|
377
422
|
* top-left corner. A horizontal axis line gives `y` and its left end `x`. The category axis of the base segment sits at zero, so negative bars hang below it. Empty before the chart has drawn.
|
|
@@ -91,6 +91,11 @@ export declare class TimeChart {
|
|
|
91
91
|
private availableWidth;
|
|
92
92
|
private overflowConfig;
|
|
93
93
|
private lastScenarios;
|
|
94
|
+
private axisLabelsStep;
|
|
95
|
+
private scenarioSwitch;
|
|
96
|
+
private axisTitlePosition;
|
|
97
|
+
/** Periods in which more than one variance of a shared row has a value. */
|
|
98
|
+
private varianceOverlaps;
|
|
94
99
|
constructor(ruleSet: VisualisationRuleSet, db: AlaSQLDatabase, tableName: string, config: TimeChartComponentConfig, styles: TimeChartStyle, availableWidth?: number);
|
|
95
100
|
updatePosition(scenarios: string[]): void;
|
|
96
101
|
setStyles(newStyle: TimeChartStyle): void;
|
|
@@ -128,6 +133,27 @@ export declare class TimeChart {
|
|
|
128
133
|
private failQuery;
|
|
129
134
|
getAllocatedCanvasWidth(): number;
|
|
130
135
|
getAllocatedCanvasHeight(): number;
|
|
136
|
+
/** Room for the scenario names under the category labels of a series that changes its scenario. */
|
|
137
|
+
private switchNamesHeight;
|
|
138
|
+
/** True for a scenario slot that has a value in this period. */
|
|
139
|
+
private static hasValue;
|
|
140
|
+
/**
|
|
141
|
+
* The slots that continue the first scenario: they have values, and only in
|
|
142
|
+
* periods where the first scenario has none. Empty without `scenarioSwitch`.
|
|
143
|
+
*/
|
|
144
|
+
private followerSlots;
|
|
145
|
+
/** The slot drawn as the column of a period: the first scenario, else the first follower with a value. */
|
|
146
|
+
private visibleSlot;
|
|
147
|
+
/** Runs of periods with the same visible scenario. A period without a value belongs to the run before it. */
|
|
148
|
+
private switchRuns;
|
|
149
|
+
/** Number of periods where variances of one row overlap. The component warns about it. */
|
|
150
|
+
getVarianceOverlaps(): number;
|
|
151
|
+
/**
|
|
152
|
+
* Lifts the 145 % cut of relative variances when the uncut pins fit into
|
|
153
|
+
* `availableHeight`. Only for a fixed percentage scale: the author chose it,
|
|
154
|
+
* so a long pin is cut for lack of room only.
|
|
155
|
+
*/
|
|
156
|
+
fitRelativeVariances(availableHeight: number): void;
|
|
131
157
|
/**
|
|
132
158
|
* Total column extent (data units) proportional to pixelPerUnit, covering
|
|
133
159
|
* both sides of the axis (negative columns extend below it). Mirrors the
|
|
@@ -194,6 +220,11 @@ export declare class TimeChart {
|
|
|
194
220
|
private findSmallestDataPointValue;
|
|
195
221
|
private findHighestDataPointValue;
|
|
196
222
|
private populateVarianceModel;
|
|
223
|
+
/**
|
|
224
|
+
* One row for several variances over the same reference: each period shows
|
|
225
|
+
* the first variance that has a value there, in the notation of its scenario.
|
|
226
|
+
*/
|
|
227
|
+
private populateSharedVarianceRow;
|
|
197
228
|
private calculateVariance;
|
|
198
229
|
private mapScenarios;
|
|
199
230
|
private cleanSVGforRedraw;
|
|
@@ -205,6 +236,12 @@ export declare class TimeChart {
|
|
|
205
236
|
*/
|
|
206
237
|
private dateLabelPlace;
|
|
207
238
|
private drawAxisAndLabels;
|
|
239
|
+
/**
|
|
240
|
+
* A vertical line where the visible scenario of the series changes, and the
|
|
241
|
+
* scenario names under the category labels. Drawn after the axis is
|
|
242
|
+
* measured, so it does not change the allocated size by itself.
|
|
243
|
+
*/
|
|
244
|
+
private drawScenarioSwitch;
|
|
208
245
|
private drawScenarios;
|
|
209
246
|
private drawLineScenarios;
|
|
210
247
|
private drawAxisAndLabelsForLineChart;
|
|
@@ -17,10 +17,12 @@ export declare class Axis {
|
|
|
17
17
|
private readonly ID_AXIS;
|
|
18
18
|
private readonly CSS_AXIS_TITLE;
|
|
19
19
|
private readonly isRelative;
|
|
20
|
+
private readonly titlePosition;
|
|
20
21
|
constructor(axis: {
|
|
21
22
|
scenarioType: Scenario;
|
|
22
23
|
labelText?: string;
|
|
23
24
|
isRelative?: boolean;
|
|
25
|
+
titlePosition?: string;
|
|
24
26
|
}, position: ElementPositions, svgParentGroup: G | Svg);
|
|
25
27
|
private drawAxisTitle;
|
|
26
28
|
draw(): Axis;
|
|
@@ -2,6 +2,7 @@ import { DataPoint } from "../model";
|
|
|
2
2
|
import { G } from "@svgdotjs/svg.js";
|
|
3
3
|
import { ElementPositions } from "../helper";
|
|
4
4
|
import { TimeChartStyle } from "../model/styles/TimeChartStyle";
|
|
5
|
+
import { DataFormatDigits } from "../../../../utils/model/DataFormatDigits";
|
|
5
6
|
/**
|
|
6
7
|
* Renders a relative variance pin (needle) in an IBCS time chart.
|
|
7
8
|
*
|
|
@@ -31,7 +32,7 @@ export declare class Needle {
|
|
|
31
32
|
private hasData;
|
|
32
33
|
constructor(position: ElementPositions, styles: TimeChartStyle, dataPoint: DataPoint, index: number, scenarioGroup: G);
|
|
33
34
|
updateLabelGroup(newGroup: G): Needle;
|
|
34
|
-
draw(): this;
|
|
35
|
+
draw(dataFormatDigits?: DataFormatDigits): this;
|
|
35
36
|
private createDimensions;
|
|
36
37
|
private convertToSVGStyle;
|
|
37
38
|
private createClippedNeedleHead;
|