@bino-bi/bn-template-engine 1.0.0-alpha.8 → 1.0.0-next.19
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/LICENSE +203 -21
- package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
- package/dist/bn-template-engine/p-19bbac66.entry.js +1 -0
- package/dist/bn-template-engine/p-209351c9.entry.js +1 -0
- package/dist/bn-template-engine/p-22d0fb7a.entry.js +1 -0
- package/dist/bn-template-engine/p-2e6dc267.entry.js +1 -0
- package/dist/bn-template-engine/p-485d23d7.entry.js +1 -0
- package/dist/bn-template-engine/p-74c5a95d.entry.js +1 -0
- package/dist/bn-template-engine/p-7bdc0e28.entry.js +1 -0
- package/dist/bn-template-engine/p-83c71b16.entry.js +1 -0
- package/dist/bn-template-engine/p-90806e7a.entry.js +1 -0
- package/dist/bn-template-engine/p-9879c9b2.entry.js +1 -0
- package/dist/bn-template-engine/p-BA48JiHe.js +1 -0
- package/dist/bn-template-engine/p-BWKdb9ym.js +1 -0
- package/dist/bn-template-engine/p-BZV1b5VH.js +1 -0
- package/dist/bn-template-engine/p-Bdfxd_Ke.js +1 -0
- package/dist/bn-template-engine/p-BjBz5cSL.js +1 -0
- package/dist/bn-template-engine/p-BqhIhYr1.js +1 -0
- package/dist/bn-template-engine/p-C0Pwqx-O.js +1 -0
- package/dist/bn-template-engine/p-CiudZRQr.js +1 -0
- package/dist/bn-template-engine/p-DTuaq8Pj.js +1 -0
- package/dist/bn-template-engine/p-DY7YYmpa.js +1 -0
- package/dist/bn-template-engine/p-Dg9OcXAO.js +1 -0
- package/dist/bn-template-engine/p-DsTzlzxQ.js +1 -0
- package/dist/bn-template-engine/p-X6CxL6W-.js +1 -0
- package/dist/bn-template-engine/p-a8291de2.entry.js +1 -0
- package/dist/bn-template-engine/p-aakBGfzL.js +1 -0
- package/dist/bn-template-engine/p-b25455a7.entry.js +1 -0
- package/dist/bn-template-engine/p-e96da91f.entry.js +1 -0
- package/dist/bn-template-engine/p-eca8e2e2.entry.js +1 -0
- package/dist/bn-template-engine/p-f9dfd120.entry.js +1 -0
- package/dist/bn-template-engine/p-rdqTC0_5.js +1 -0
- package/dist/cjs/AxisConfig-VnVelfSV.js +233 -0
- package/dist/cjs/LabelCollisionManager-nfD5P__k.js +412 -0
- package/dist/cjs/NumericScale-BAyYXpKL.js +107 -0
- package/dist/cjs/Order-DobBozQC.js +87 -0
- package/dist/cjs/SVGStyle-BQOmGWLX.js +8209 -0
- package/dist/cjs/SVGVariancesStyleGroup-DCGfHrqh.js +50 -0
- package/dist/cjs/VarianceMeasure-NY9yhiNV.js +372 -0
- package/dist/cjs/XYChartDataRow-B7OKrAcC.js +829 -0
- package/dist/cjs/bn-asset_21.cjs.entry.js +16047 -0
- package/dist/cjs/bn-chart-bubble.cjs.entry.js +762 -0
- package/dist/cjs/bn-chart-bullet.cjs.entry.js +785 -0
- package/dist/cjs/bn-chart-scatter.cjs.entry.js +658 -0
- package/dist/cjs/bn-grid.cjs.entry.js +5 -3
- package/dist/cjs/bn-image.cjs.entry.js +5 -3
- package/dist/cjs/bn-internationalization.cjs.entry.js +10 -8
- package/dist/cjs/bn-ruleset.cjs.entry.js +41 -0
- package/dist/cjs/bn-template-engine.cjs.js +1 -1
- package/dist/cjs/bn-template.cjs.entry.js +1 -1
- package/dist/cjs/bn-text.cjs.entry.js +8 -79
- package/dist/cjs/bn-tree.cjs.entry.js +9 -3
- package/dist/cjs/context-protocol-BDrMkhc4.js +9499 -0
- package/dist/cjs/editor-companion.cjs.entry.js +13 -6
- package/dist/cjs/ibcs-chart-bubble.cjs.entry.js +624 -0
- package/dist/cjs/ibcs-chart-bullet.cjs.entry.js +673 -0
- package/dist/cjs/ibcs-chart-scatter.cjs.entry.js +667 -0
- package/dist/cjs/layoutObserver-o03YUfn_.js +199 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/sanitizeHtml-LuZr1IMd.js +85 -0
- package/dist/cjs/scaling-DKZyjWj5.js +587 -0
- package/dist/cjs/{withBodyObserver-D7BKWN2N.js → withBodyObserver-BKUE_ypL.js} +12 -7
- package/dist/cjs/withScalingGroup-BmcRlWBs.js +73 -0
- package/dist/cjs/withStyled-CRiC9fzc.js +1137 -0
- package/dist/collection/collection-manifest.json +9 -1
- package/dist/collection/components/bn-body/bn-body.css +1 -0
- package/dist/collection/components/bn-card/bn-card.css +2 -0
- package/dist/collection/components/bn-chart-bubble/bn-chart-bubble.css +10 -0
- package/dist/collection/components/bn-chart-bubble/bn-chart-bubble.js +1110 -0
- package/dist/collection/components/bn-chart-bubble/ibcs-chart-bubble.css +9 -0
- package/dist/collection/components/bn-chart-bubble/ibcs-chart-bubble.js +653 -0
- package/dist/collection/components/bn-chart-bubble/utils/BubbleChart.js +472 -0
- package/dist/collection/components/bn-chart-bullet/bn-chart-bullet.css +10 -0
- package/dist/collection/components/bn-chart-bullet/bn-chart-bullet.js +1014 -0
- package/dist/collection/components/bn-chart-bullet/ibcs-chart-bullet.css +9 -0
- package/dist/collection/components/bn-chart-bullet/ibcs-chart-bullet.js +538 -0
- package/dist/collection/components/bn-chart-bullet/utils/BulletChart.js +440 -0
- package/dist/collection/components/bn-chart-bullet/utils/model/BulletChartStyle.js +132 -0
- package/dist/collection/components/bn-chart-bullet/utils/model/BulletConfig.js +89 -0
- package/dist/collection/components/bn-chart-bullet/utils/model/index.js +2 -0
- package/dist/collection/components/bn-chart-scatter/bn-chart-scatter.css +10 -0
- package/dist/collection/components/bn-chart-scatter/bn-chart-scatter.js +965 -0
- package/dist/collection/components/bn-chart-scatter/ibcs-chart-scatter.css +9 -0
- package/dist/collection/components/bn-chart-scatter/ibcs-chart-scatter.js +580 -0
- package/dist/collection/components/bn-chart-scatter/utils/ScatterChart.js +409 -0
- package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +127 -41
- package/dist/collection/components/bn-chart-structure/ibcs-chart-structure.js +103 -36
- package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +82 -58
- package/dist/collection/components/bn-chart-structure/utils/helper/ElementPositions.js +46 -4
- package/dist/collection/components/bn-chart-structure/utils/model/StructureChartComponentConfig.js +5 -4
- package/dist/collection/components/bn-chart-time/bn-chart-time.css +1 -1
- package/dist/collection/components/bn-chart-time/bn-chart-time.js +162 -42
- package/dist/collection/components/bn-chart-time/ibcs-chart-time.js +94 -31
- package/dist/collection/components/bn-chart-time/utils/TimeChart.js +132 -74
- package/dist/collection/components/bn-chart-time/utils/elements/StackedColumn.js +3 -3
- package/dist/collection/components/bn-chart-time/utils/model/TimeChartComponentConfig.js +5 -4
- package/dist/collection/components/bn-chart-time/utils/model/TimeChartDataRow.js +2 -0
- package/dist/collection/components/bn-component-style/bn-component-style.js +1 -1
- package/dist/collection/components/bn-context/bn-context.js +1 -1
- package/dist/collection/components/bn-dataset/bn-dataset.js +226 -23
- package/dist/collection/components/bn-datasource/bn-datasource.js +163 -12
- package/dist/collection/components/bn-footer/bn-footer.js +1 -1
- package/dist/collection/components/bn-grid/bn-grid.js +1 -1
- package/dist/collection/components/bn-image/bn-image.js +1 -1
- package/dist/collection/components/bn-internationalization/bn-internationalization.js +10 -7
- package/dist/collection/components/bn-layout-card/bn-layout-card.css +8 -3
- package/dist/collection/components/bn-layout-card/bn-layout-card.js +98 -35
- package/dist/collection/components/bn-layout-page/bn-layout-page.css +5 -3
- package/dist/collection/components/bn-layout-page/bn-layout-page.js +98 -25
- package/dist/collection/components/bn-message/bn-message.css +6 -2
- package/dist/collection/components/bn-message/bn-message.js +3 -2
- package/dist/collection/components/bn-page/bn-page.js +1 -1
- package/dist/collection/components/bn-ruleset/bn-ruleset.css +3 -0
- package/dist/collection/components/bn-ruleset/bn-ruleset.js +68 -0
- package/dist/collection/components/bn-scaling-group/bn-scaling-group.css +3 -0
- package/dist/collection/components/bn-scaling-group/bn-scaling-group.js +136 -0
- package/dist/collection/components/bn-table/bn-table.js +317 -61
- package/dist/collection/components/bn-table/ibcs-table.css +8 -0
- package/dist/collection/components/bn-table/ibcs-table.js +161 -32
- package/dist/collection/components/bn-table/utils/Table.js +72 -28
- package/dist/collection/components/bn-table/utils/elements/CellBarChart.js +13 -8
- package/dist/collection/components/bn-table/utils/elements/TableRow.js +3 -2
- package/dist/collection/components/bn-table/utils/elements/WaterfallBar.js +47 -0
- package/dist/collection/components/bn-table/utils/elements/index.js +1 -0
- package/dist/collection/components/bn-table/utils/factories/tableDataSetFactory.js +117 -22
- package/dist/collection/components/bn-table/utils/helper/DataQuery.js +380 -50
- package/dist/collection/components/bn-table/utils/helper/IntervalColumns.js +140 -0
- package/dist/collection/components/bn-table/utils/helper/QueryGroup.js +4 -9
- package/dist/collection/components/bn-table/utils/helper/WaterfallCalculator.js +166 -0
- package/dist/collection/components/bn-table/utils/helper/index.js +2 -0
- package/dist/collection/components/bn-table/utils/model/TableAttribute.js +46 -0
- package/dist/collection/components/bn-table/utils/model/TableComponentConfig.js +20 -4
- package/dist/collection/components/bn-template/bn-template.js +1 -1
- package/dist/collection/components/bn-text/bn-text.js +2 -75
- package/dist/collection/components/bn-title/bn-title.js +27 -3
- package/dist/collection/components/bn-title/ibcs-title/ibcs-title.css +4 -0
- package/dist/collection/components/bn-title/ibcs-title/ibcs-title.js +29 -6
- package/dist/collection/components/bn-title/ibcs-title/utils/Title.js +3 -0
- package/dist/collection/components/bn-tree/bn-tree.js +5 -1
- package/dist/collection/components/editor-companion/editor-companion.js +12 -5
- package/dist/collection/context/scopedDb.js +127 -0
- package/dist/collection/stores/componentStyles.js +67 -0
- package/dist/collection/stores/createScopedStores.js +11 -5
- package/dist/collection/stores/internationalization.js +68 -0
- package/dist/collection/stores/ruleSets.js +46 -0
- package/dist/collection/utils/constants.js +5 -0
- package/dist/collection/utils/dataAnalyzer.js +14 -8
- package/dist/collection/utils/ibcsRuleSet.js +14 -26
- package/dist/collection/utils/layoutObserver.js +88 -0
- package/dist/collection/utils/parentDimensions.js +71 -15
- package/dist/collection/utils/sanitizeHtml.js +81 -0
- package/dist/collection/utils/validate.js +47 -0
- package/dist/collection/utils/withBodyObserver.js +12 -7
- package/dist/collection/utils/withComponentStyle.js +3 -5
- package/dist/collection/utils/withDataset.js +43 -39
- package/dist/collection/utils/withDatasource.js +28 -18
- package/dist/collection/utils/withInheritedProps.js +26 -1
- package/dist/collection/utils/withRuleSet.js +105 -0
- package/dist/collection/utils/withScalingGroup.js +69 -0
- package/dist/collection/utils/withTranslation.js +50 -14
- package/dist/collection/utils/xy/FacetGrid.js +36 -0
- package/dist/collection/utils/xy/IsoCurves.js +156 -0
- package/dist/collection/utils/xy/NumericScale.js +103 -0
- package/dist/collection/utils/xy/PointLabeler.js +96 -0
- package/dist/collection/utils/xy/RadiusScale.js +42 -0
- package/dist/collection/utils/xy/SeriesPalette.js +80 -0
- package/dist/collection/utils/xy/VarianceMeasure.js +76 -0
- package/dist/collection/utils/xy/XYFrame.js +120 -0
- package/dist/collection/utils/xy/XYLegend.js +107 -0
- package/dist/collection/utils/xy/model/AxisConfig.js +221 -0
- package/dist/collection/utils/xy/model/ScaleFactorsXYChart.js +69 -0
- package/dist/collection/utils/xy/model/XYChartDataRow.js +0 -0
- package/dist/collection/utils/xy/model/XYChartStyle.js +52 -0
- package/dist/components/AxisConfig.js +1 -0
- package/dist/components/CompareUtil.js +1 -0
- package/dist/components/DataFormatDigits.js +1 -1
- package/dist/components/DateStringFactory.js +1 -1
- package/dist/components/LabelCollisionManager.js +1 -0
- package/dist/components/NumericScale.js +1 -0
- package/dist/components/Order.js +1 -1
- package/dist/components/SVGVariancesStyleGroup.js +1 -1
- package/dist/components/SiPrefix.js +1 -0
- package/dist/components/StringAdapter.js +1 -0
- package/dist/components/VarianceMeasure.js +1 -0
- package/dist/components/XYChartDataRow.js +1 -0
- package/dist/components/bn-body2.js +1 -1
- package/dist/components/bn-card2.js +1 -1
- package/dist/components/bn-chart-bubble.d.ts +11 -0
- package/dist/components/bn-chart-bubble.js +1 -0
- package/dist/components/bn-chart-bullet.d.ts +11 -0
- package/dist/components/bn-chart-bullet.js +1 -0
- package/dist/components/bn-chart-scatter.d.ts +11 -0
- package/dist/components/bn-chart-scatter.js +1 -0
- package/dist/components/bn-chart-structure.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-footer2.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-message2.js +1 -1
- package/dist/components/bn-page2.js +1 -1
- package/dist/components/bn-ruleset.d.ts +11 -0
- package/dist/components/bn-ruleset.js +1 -0
- package/dist/components/bn-scaling-group.d.ts +11 -0
- package/dist/components/bn-scaling-group.js +1 -0
- package/dist/components/bn-table.js +1 -1
- package/dist/components/bn-template.js +1 -1
- package/dist/components/bn-text.js +1 -1
- package/dist/components/bn-title2.js +1 -1
- package/dist/components/bn-tree.js +1 -1
- package/dist/components/context-protocol.js +1 -1
- package/dist/components/editor-companion.js +1 -1
- package/dist/components/formatter.js +1 -0
- package/dist/components/ibcs-chart-bubble.d.ts +11 -0
- package/dist/components/ibcs-chart-bubble.js +1 -0
- package/dist/components/ibcs-chart-bubble2.js +1 -0
- package/dist/components/ibcs-chart-bullet.d.ts +11 -0
- package/dist/components/ibcs-chart-bullet.js +1 -0
- package/dist/components/ibcs-chart-bullet2.js +1 -0
- package/dist/components/ibcs-chart-scatter.d.ts +11 -0
- package/dist/components/ibcs-chart-scatter.js +1 -0
- package/dist/components/ibcs-chart-scatter2.js +1 -0
- package/dist/components/ibcs-chart-structure2.js +1 -1
- package/dist/components/ibcs-chart-time2.js +1 -1
- package/dist/components/ibcs-table2.js +1 -1
- package/dist/components/ibcs-title2.js +1 -1
- package/dist/components/layoutObserver.js +1 -0
- package/dist/components/luxon.js +1 -0
- package/dist/components/main.js +1 -0
- package/dist/components/merge.js +1 -0
- package/dist/components/sanitizeHtml.js +1 -0
- package/dist/components/stackColors.js +1 -0
- package/dist/components/validate.js +1 -1
- package/dist/components/withBodyObserver.js +1 -1
- package/dist/components/withComponentStyle.js +1 -1
- package/dist/components/withDataset.js +1 -0
- package/dist/components/withRuleSet.js +1 -0
- package/dist/components/withScalingGroup.js +1 -0
- package/dist/components/withStyled.js +1 -1
- package/dist/components/withTranslation.js +1 -1
- package/dist/esm/AxisConfig-C_zWCKlL.js +224 -0
- package/dist/esm/LabelCollisionManager-8swVQHKA.js +404 -0
- package/dist/esm/NumericScale-DsTzlzxQ.js +105 -0
- package/dist/esm/Order-BPeWfygb.js +83 -0
- package/dist/esm/SVGStyle-BxEDw9zh.js +8199 -0
- package/dist/esm/SVGVariancesStyleGroup-DRQYvSDD.js +48 -0
- package/dist/esm/VarianceMeasure-DnwNKspZ.js +364 -0
- package/dist/esm/XYChartDataRow-DeV4r-Wm.js +820 -0
- package/dist/esm/bn-asset_21.entry.js +16025 -0
- package/dist/esm/bn-chart-bubble.entry.js +760 -0
- package/dist/esm/bn-chart-bullet.entry.js +783 -0
- package/dist/esm/bn-chart-scatter.entry.js +656 -0
- package/dist/esm/bn-grid.entry.js +5 -3
- package/dist/esm/bn-image.entry.js +5 -3
- package/dist/esm/bn-internationalization.entry.js +10 -8
- package/dist/esm/bn-ruleset.entry.js +39 -0
- package/dist/esm/bn-template-engine.js +1 -1
- package/dist/esm/bn-template.entry.js +1 -1
- package/dist/esm/bn-text.entry.js +7 -78
- package/dist/esm/bn-tree.entry.js +9 -3
- package/dist/esm/context-protocol-1Yj1uKvh.js +9484 -0
- package/dist/esm/editor-companion.entry.js +13 -6
- package/dist/esm/ibcs-chart-bubble.entry.js +622 -0
- package/dist/esm/ibcs-chart-bullet.entry.js +671 -0
- package/dist/esm/ibcs-chart-scatter.entry.js +665 -0
- package/dist/esm/layoutObserver-BG5dOBYH.js +196 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/sanitizeHtml-BA48JiHe.js +83 -0
- package/dist/esm/scaling-CeSRcRl1.js +579 -0
- package/dist/esm/{withBodyObserver-AFk2wwHT.js → withBodyObserver-IokS6fHD.js} +12 -7
- package/dist/esm/withScalingGroup-Br70pAv9.js +71 -0
- package/dist/esm/withStyled-Br2DGTPs.js +1104 -0
- package/dist/types/components/bn-chart-bubble/bn-chart-bubble.d.ts +193 -0
- package/dist/types/components/bn-chart-bubble/ibcs-chart-bubble.d.ts +58 -0
- package/dist/types/components/bn-chart-bubble/utils/BubbleChart.d.ts +91 -0
- package/dist/types/components/bn-chart-bullet/bn-chart-bullet.d.ts +172 -0
- package/dist/types/components/bn-chart-bullet/ibcs-chart-bullet.d.ts +52 -0
- package/dist/types/components/bn-chart-bullet/utils/BulletChart.d.ts +91 -0
- package/dist/types/components/bn-chart-bullet/utils/model/BulletChartStyle.d.ts +70 -0
- package/dist/types/components/bn-chart-bullet/utils/model/BulletConfig.d.ts +43 -0
- package/dist/types/components/bn-chart-bullet/utils/model/index.d.ts +2 -0
- package/dist/types/components/bn-chart-scatter/bn-chart-scatter.d.ts +172 -0
- package/dist/types/components/bn-chart-scatter/ibcs-chart-scatter.d.ts +53 -0
- package/dist/types/components/bn-chart-scatter/utils/ScatterChart.d.ts +66 -0
- package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +19 -5
- package/dist/types/components/bn-chart-structure/ibcs-chart-structure.d.ts +13 -6
- package/dist/types/components/bn-chart-structure/utils/StructureChart.d.ts +16 -12
- package/dist/types/components/bn-chart-structure/utils/helper/ElementPositions.d.ts +16 -1
- package/dist/types/components/bn-chart-structure/utils/model/StructureChartComponentConfig.d.ts +5 -3
- package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +53 -13
- package/dist/types/components/bn-chart-time/ibcs-chart-time.d.ts +13 -6
- package/dist/types/components/bn-chart-time/utils/TimeChart.d.ts +16 -12
- package/dist/types/components/bn-chart-time/utils/model/TimeChartComponentConfig.d.ts +5 -3
- package/dist/types/components/bn-dataset/bn-dataset.d.ts +47 -5
- package/dist/types/components/bn-datasource/bn-datasource.d.ts +53 -6
- package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +35 -8
- package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +32 -1
- package/dist/types/components/bn-message/bn-message.d.ts +5 -2
- package/dist/types/components/bn-ruleset/bn-ruleset.d.ts +8 -0
- package/dist/types/components/bn-scaling-group/bn-scaling-group.d.ts +37 -0
- package/dist/types/components/bn-table/bn-table.d.ts +74 -12
- package/dist/types/components/bn-table/ibcs-table.d.ts +27 -4
- package/dist/types/components/bn-table/utils/Table.d.ts +16 -6
- package/dist/types/components/bn-table/utils/elements/Cell.d.ts +2 -0
- package/dist/types/components/bn-table/utils/elements/CellBarChart.d.ts +33 -0
- package/dist/types/components/bn-table/utils/elements/TableRow.d.ts +2 -1
- package/dist/types/components/bn-table/utils/elements/WaterfallBar.d.ts +21 -0
- package/dist/types/components/bn-table/utils/elements/index.d.ts +1 -0
- package/dist/types/components/bn-table/utils/factories/tableDataSetFactory.d.ts +17 -9
- package/dist/types/components/bn-table/utils/helper/DataQuery.d.ts +35 -3
- package/dist/types/components/bn-table/utils/helper/IntervalColumns.d.ts +37 -0
- package/dist/types/components/bn-table/utils/helper/QueryGroup.d.ts +4 -5
- package/dist/types/components/bn-table/utils/helper/WaterfallCalculator.d.ts +55 -0
- package/dist/types/components/bn-table/utils/helper/index.d.ts +2 -0
- package/dist/types/components/bn-table/utils/model/TableAttribute.d.ts +22 -0
- package/dist/types/components/bn-table/utils/model/TableComponentConfig.d.ts +12 -3
- package/dist/types/components/bn-table/utils/model/index.d.ts +21 -0
- package/dist/types/components/bn-title/bn-title.d.ts +11 -1
- package/dist/types/components/bn-title/ibcs-title/ibcs-title.d.ts +2 -0
- package/dist/types/components/bn-title/ibcs-title/utils/Title.d.ts +1 -0
- package/dist/types/components/editor-companion/editor-companion.d.ts +2 -0
- package/dist/types/components.d.ts +1691 -120
- package/dist/types/context/context-protocol.d.ts +7 -3
- package/dist/types/context/scopedDb.d.ts +37 -0
- package/dist/types/stores/componentStyles.d.ts +41 -0
- package/dist/types/stores/createScopedStores.d.ts +4 -2
- package/dist/types/stores/ruleSets.d.ts +40 -0
- package/dist/types/utils/DateStringFactory.d.ts +1 -1
- package/dist/types/utils/constants.d.ts +5 -0
- package/dist/types/utils/dataAnalyzer.d.ts +2 -1
- package/dist/types/utils/ibcsRuleSet.d.ts +6 -1
- package/dist/types/utils/layoutObserver.d.ts +27 -0
- package/dist/types/utils/model/ChartStyles.d.ts +2 -1
- package/dist/types/utils/parentDimensions.d.ts +1 -1
- package/dist/types/utils/sanitizeHtml.d.ts +6 -0
- package/dist/types/utils/validate.d.ts +18 -0
- package/dist/types/utils/withDataset.d.ts +6 -2
- package/dist/types/utils/withDatasource.d.ts +3 -3
- package/dist/types/utils/withInheritedProps.d.ts +19 -0
- package/dist/types/utils/withRuleSet.d.ts +24 -0
- package/dist/types/utils/withScalingGroup.d.ts +14 -0
- package/dist/types/utils/withTranslation.d.ts +12 -4
- package/dist/types/utils/xy/FacetGrid.d.ts +27 -0
- package/dist/types/utils/xy/IsoCurves.d.ts +46 -0
- package/dist/types/utils/xy/NumericScale.d.ts +41 -0
- package/dist/types/utils/xy/PointLabeler.d.ts +58 -0
- package/dist/types/utils/xy/RadiusScale.d.ts +26 -0
- package/dist/types/utils/xy/SeriesPalette.d.ts +59 -0
- package/dist/types/utils/xy/VarianceMeasure.d.ts +37 -0
- package/dist/types/utils/xy/XYFrame.d.ts +44 -0
- package/dist/types/utils/xy/XYLegend.d.ts +43 -0
- package/dist/types/utils/xy/model/AxisConfig.d.ts +96 -0
- package/dist/types/utils/xy/model/ScaleFactorsXYChart.d.ts +36 -0
- package/dist/types/utils/xy/model/XYChartDataRow.d.ts +157 -0
- package/dist/types/utils/xy/model/XYChartStyle.d.ts +31 -0
- package/package.json +5 -4
- package/readme.md +9 -5
- package/dist/bn-template-engine/p-0d41c5d8.entry.js +0 -1
- package/dist/bn-template-engine/p-67538176.entry.js +0 -1
- package/dist/bn-template-engine/p-825a07a8.entry.js +0 -1
- package/dist/bn-template-engine/p-916296a5.entry.js +0 -1
- package/dist/bn-template-engine/p-96006b06.entry.js +0 -1
- package/dist/bn-template-engine/p-Ck-NYtot.js +0 -1
- package/dist/bn-template-engine/p-CnDq0oVa.js +0 -1
- package/dist/bn-template-engine/p-DSXNgKLa.js +0 -1
- package/dist/bn-template-engine/p-bc711fb0.entry.js +0 -1
- package/dist/bn-template-engine/p-e6f646b1.entry.js +0 -1
- package/dist/bn-template-engine/p-f41d9242.entry.js +0 -1
- package/dist/bn-template-engine/p-gFbbuhtl.js +0 -1
- package/dist/cjs/bn-asset_20.cjs.entry.js +0 -23541
- package/dist/cjs/context-protocol-ohYzcb5F.js +0 -663
- package/dist/cjs/scaling-CIAClQR5.js +0 -314
- package/dist/cjs/withStyled-qd94SSb4.js +0 -9535
- package/dist/collection/stores/datasets.js +0 -14
- package/dist/collection/stores/datasources.js +0 -14
- package/dist/components/_commonjsHelpers.js +0 -1
- package/dist/components/alasql.min.js +0 -1
- package/dist/components/ibcsRuleSet.js +0 -1
- package/dist/components/scaling.js +0 -1
- package/dist/components/withInheritedProps.js +0 -1
- package/dist/esm/bn-asset_20.entry.js +0 -23520
- package/dist/esm/context-protocol-DdbSplvE.js +0 -656
- package/dist/esm/scaling-DGKKkuL9.js +0 -309
- package/dist/esm/withStyled-BIkqU2w4.js +0 -9501
- package/dist/types/stores/datasets.d.ts +0 -14
- package/dist/types/stores/datasources.d.ts +0 -14
|
@@ -7,37 +7,47 @@
|
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { LayoutDirection } from "./components/bn-tree/utils/TreeLayout";
|
|
9
9
|
import { EdgeStyleType } from "./components/bn-tree/utils/EdgeRenderer";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
10
|
+
import { AxisConfig, FacetConfig, IsoConfig, LabelConfig, LegendConfig, ShareConfig, SizeConfig } from "./utils/xy/model/AxisConfig";
|
|
11
|
+
import { GroupLevel, PointLevel } from "./utils/xy/model/XYChartDataRow";
|
|
12
|
+
import { XYChartStyle } from "./utils/xy/model/XYChartStyle";
|
|
13
|
+
import { RuleSetConfig } from "./stores/ruleSets";
|
|
14
|
+
import { ErrorDispatcher } from "./utils/withHasError";
|
|
15
|
+
import { BulletLabelConfig, BulletMeasureConfig } from "./components/bn-chart-bullet/utils/model/BulletConfig";
|
|
13
16
|
import { AggregationLevel, AxisLabelsMode, ChartMode, DataFormat, I18nMode, MeasureType, TableCategoryWidth } from "./utils/constants";
|
|
17
|
+
import { Order } from "./utils/model/Order";
|
|
18
|
+
import { BulletChartStyle } from "./components/bn-chart-bullet/utils/model/BulletChartStyle";
|
|
19
|
+
import { StructureChartStyle } from "./components/bn-chart-structure/utils/model/styles/StructureChartStyle";
|
|
14
20
|
import { DataFormatDigits } from "./utils/model/DataFormatDigits";
|
|
15
21
|
import { StackConfigParsed } from "./components/bn-chart-structure/utils/model/StructureChartComponentConfig";
|
|
16
22
|
import { ParentDimensions } from "./utils/parentDimensions";
|
|
17
|
-
import { TimeChartDataRow } from "./components/bn-chart-time/utils/model/TimeChartDataRow";
|
|
18
23
|
import { TimeChartStyle } from "./components/bn-chart-time/utils/model/styles/TimeChartStyle";
|
|
19
24
|
import { DateDistance } from "./utils/DateStringFactory";
|
|
20
25
|
import { StackConfigParsed as StackConfigParsed1 } from "./components/bn-chart-time/utils/model/TimeChartComponentConfig";
|
|
21
|
-
import { TableDataRow } from "./components/bn-table/utils/model/TableDataRow";
|
|
22
26
|
import { TableDrillGroup } from "./components/bn-table/utils/model/TableDrillGroup";
|
|
27
|
+
import { TableAttribute } from "./components/bn-table/utils/model/TableAttribute";
|
|
23
28
|
import { TableType } from "./components/bn-table/utils/model";
|
|
24
29
|
import { MeasureEntry } from "./components/bn-title/ibcs-title/utils/model/MeasureEntriy";
|
|
25
30
|
import { TimePeriod } from "./components/bn-title/ibcs-title/utils/model/TimePeriod";
|
|
26
31
|
export { LayoutDirection } from "./components/bn-tree/utils/TreeLayout";
|
|
27
32
|
export { EdgeStyleType } from "./components/bn-tree/utils/EdgeRenderer";
|
|
28
|
-
export {
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
33
|
+
export { AxisConfig, FacetConfig, IsoConfig, LabelConfig, LegendConfig, ShareConfig, SizeConfig } from "./utils/xy/model/AxisConfig";
|
|
34
|
+
export { GroupLevel, PointLevel } from "./utils/xy/model/XYChartDataRow";
|
|
35
|
+
export { XYChartStyle } from "./utils/xy/model/XYChartStyle";
|
|
36
|
+
export { RuleSetConfig } from "./stores/ruleSets";
|
|
37
|
+
export { ErrorDispatcher } from "./utils/withHasError";
|
|
38
|
+
export { BulletLabelConfig, BulletMeasureConfig } from "./components/bn-chart-bullet/utils/model/BulletConfig";
|
|
31
39
|
export { AggregationLevel, AxisLabelsMode, ChartMode, DataFormat, I18nMode, MeasureType, TableCategoryWidth } from "./utils/constants";
|
|
40
|
+
export { Order } from "./utils/model/Order";
|
|
41
|
+
export { BulletChartStyle } from "./components/bn-chart-bullet/utils/model/BulletChartStyle";
|
|
42
|
+
export { StructureChartStyle } from "./components/bn-chart-structure/utils/model/styles/StructureChartStyle";
|
|
32
43
|
export { DataFormatDigits } from "./utils/model/DataFormatDigits";
|
|
33
44
|
export { StackConfigParsed } from "./components/bn-chart-structure/utils/model/StructureChartComponentConfig";
|
|
34
45
|
export { ParentDimensions } from "./utils/parentDimensions";
|
|
35
|
-
export { TimeChartDataRow } from "./components/bn-chart-time/utils/model/TimeChartDataRow";
|
|
36
46
|
export { TimeChartStyle } from "./components/bn-chart-time/utils/model/styles/TimeChartStyle";
|
|
37
47
|
export { DateDistance } from "./utils/DateStringFactory";
|
|
38
48
|
export { StackConfigParsed as StackConfigParsed1 } from "./components/bn-chart-time/utils/model/TimeChartComponentConfig";
|
|
39
|
-
export { TableDataRow } from "./components/bn-table/utils/model/TableDataRow";
|
|
40
49
|
export { TableDrillGroup } from "./components/bn-table/utils/model/TableDrillGroup";
|
|
50
|
+
export { TableAttribute } from "./components/bn-table/utils/model/TableAttribute";
|
|
41
51
|
export { TableType } from "./components/bn-table/utils/model";
|
|
42
52
|
export { MeasureEntry } from "./components/bn-title/ibcs-title/utils/model/MeasureEntriy";
|
|
43
53
|
export { TimePeriod } from "./components/bn-title/ibcs-title/utils/model/TimePeriod";
|
|
@@ -52,6 +62,253 @@ export namespace Components {
|
|
|
52
62
|
}
|
|
53
63
|
interface BnCard {
|
|
54
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
* SVG bubble chart following IBCS template C10.
|
|
67
|
+
* Subscribes to a dataset (via `withDataset`) and renders an XY bubble
|
|
68
|
+
* portfolio: bubble **area** is proportional to the size measure, marks
|
|
69
|
+
* compose series hues with scenario treatments, an optional comparison
|
|
70
|
+
* family overlays behind the primary set (10D), and `share` draws pie
|
|
71
|
+
* sectors inside the bubbles (10E). The heavy SVG rendering is performed
|
|
72
|
+
* by the inner `ibcs-chart-bubble` element; this facade validates props,
|
|
73
|
+
* resolves auto-detected metadata, and computes styles.
|
|
74
|
+
*/
|
|
75
|
+
interface BnChartBubble {
|
|
76
|
+
/**
|
|
77
|
+
* Plot aspect ratio as `"w:h"` (default `"16:9"`). XY charts have no data-driven height; this is the explicit height control.
|
|
78
|
+
* @default "16:9"
|
|
79
|
+
*/
|
|
80
|
+
"aspect": string;
|
|
81
|
+
/**
|
|
82
|
+
* Custom chart title
|
|
83
|
+
* @default ""
|
|
84
|
+
*/
|
|
85
|
+
"chartTitle": string;
|
|
86
|
+
/**
|
|
87
|
+
* Comparison scenario family (`ac`/`pp`/`fc`/`pl`) overlaid behind the primary set from the same slot numbers (IBCS 10D). Must differ from the primary family; invalid with variance-token axes.
|
|
88
|
+
* @default ""
|
|
89
|
+
*/
|
|
90
|
+
"compareWith": string;
|
|
91
|
+
/**
|
|
92
|
+
* Small-multiple panels (IBCS 10E/10F/10G). JSON object: `{"level":"rowgroup"|"category","columns":6}`. The facet level must sit above the series level in the hierarchy.
|
|
93
|
+
* @default ""
|
|
94
|
+
*/
|
|
95
|
+
"facet": string;
|
|
96
|
+
/**
|
|
97
|
+
* AlaSQL WHERE clause fragment injected into the data query to filter rows before rendering (e.g. `"rowGroup = 'Revenue'"`).
|
|
98
|
+
* @default ""
|
|
99
|
+
*/
|
|
100
|
+
"filter": string;
|
|
101
|
+
/**
|
|
102
|
+
* Point labeling. JSON object: `{"points":"auto"|"none"|"all"|["VAB"], "values":true,"max":12}`. Bubble charts label every point by default; `values` renders the value inside the bubble.
|
|
103
|
+
* @default ""
|
|
104
|
+
*/
|
|
105
|
+
"labels": string;
|
|
106
|
+
/**
|
|
107
|
+
* Legend (series colors, bubble size caption, comparison scenarios). JSON object: `{"show":true,"position":"right"|"bottom"}`.
|
|
108
|
+
* @default ""
|
|
109
|
+
*/
|
|
110
|
+
"legend": string;
|
|
111
|
+
/**
|
|
112
|
+
* Point identity level: `auto` (deepest populated level from the dataset meta), `category`, or `subcategory`.
|
|
113
|
+
* @default "auto"
|
|
114
|
+
*/
|
|
115
|
+
"level": string;
|
|
116
|
+
/**
|
|
117
|
+
* Maximum number of bubbles per panel (0 = unlimited); keeps the top N by size.
|
|
118
|
+
* @default 0
|
|
119
|
+
*/
|
|
120
|
+
"limit": number;
|
|
121
|
+
/**
|
|
122
|
+
* Name of a registered IBCS rule set (see `bn-ruleset`) used for scenario treatments and display names. Supports `"inherited-closest"` / `"inherited-page"` to take over the value from an ancestor `bn-layout-card` / `bn-layout-page`.
|
|
123
|
+
*/
|
|
124
|
+
"ruleset"?: string;
|
|
125
|
+
/**
|
|
126
|
+
* Font-size auto-fit: `""`/`auto` shrink to the parent width (with/without a warning), `none` disables, a number applies a fixed factor.
|
|
127
|
+
*/
|
|
128
|
+
"scale"?: string;
|
|
129
|
+
/**
|
|
130
|
+
* Series (color) grouping level: `auto` (parent of the point level), `rowgroup`, `category`, or `none` (single series).
|
|
131
|
+
* @default "auto"
|
|
132
|
+
*/
|
|
133
|
+
"seriesLevel": string;
|
|
134
|
+
/**
|
|
135
|
+
* Pie-share slices inside the bubbles (IBCS 10E). JSON object or bare token; the measure holds a fraction 0..1 of the bubble.
|
|
136
|
+
* @default ""
|
|
137
|
+
*/
|
|
138
|
+
"share": string;
|
|
139
|
+
/**
|
|
140
|
+
* Bubble size mapping (required). Bubble **area** is proportional to the value; values must be >= 0. JSON object or bare token: `{"measure":"ac3","label":"Net sales","unit":"mEUR", "group":"netsales-area"}`. `group` references a `bn-scaling-group` for cross-chart value→area synchronization.
|
|
141
|
+
*/
|
|
142
|
+
"size": string;
|
|
143
|
+
/**
|
|
144
|
+
* X axis mapping. JSON object (`AxisSpec`) or a bare measure token as shorthand: `{"measure":"ac1","label":"Market attractiveness", "refLine":0.5}`.
|
|
145
|
+
*/
|
|
146
|
+
"x": string;
|
|
147
|
+
/**
|
|
148
|
+
* Y axis mapping — same shape as `x`.
|
|
149
|
+
*/
|
|
150
|
+
"y": string;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* IBCS bullet graph: one horizontal row per KPI with a solid actual bar and
|
|
154
|
+
* a target marker.
|
|
155
|
+
* Subscribes to a dataset (via `withDataset`) and renders in the IBCS
|
|
156
|
+
* default mode with **normalized targets** — every row is scaled to
|
|
157
|
+
* fractions of its target so one continuous target line spans all rows and
|
|
158
|
+
* KPIs become visually comparable — plus integrated variance bars in the
|
|
159
|
+
* IBCS variance colors. The classic Stephen Few look is opt-in via
|
|
160
|
+
* `normalize="none"` (per-row scales) and `ranges` (max two qualitative
|
|
161
|
+
* gray bands). Actual and target scenarios are auto-detected from the
|
|
162
|
+
* dataset meta when not set. The heavy SVG rendering is performed by the
|
|
163
|
+
* inner `ibcs-chart-bullet` element; this facade validates props, resolves
|
|
164
|
+
* auto-detected metadata, and computes styles.
|
|
165
|
+
*/
|
|
166
|
+
interface BnChartBullet {
|
|
167
|
+
/**
|
|
168
|
+
* Actual-value measure. JSON object or a bare scenario slot as shorthand: `{"measure":"ac1","label":"Revenue","unit":"EUR k"}`. Only plain scenario slots (`ac1`…`pl4`) are allowed — variance tokens are not. Empty or `"auto"` auto-detects (`ac1`, else the first available scenario).
|
|
169
|
+
* @default ""
|
|
170
|
+
*/
|
|
171
|
+
"actual": string;
|
|
172
|
+
/**
|
|
173
|
+
* Custom chart title
|
|
174
|
+
* @default ""
|
|
175
|
+
*/
|
|
176
|
+
"chartTitle": string;
|
|
177
|
+
/**
|
|
178
|
+
* AlaSQL WHERE clause fragment injected into the data query to filter rows before rendering (e.g. `"rowGroup = 'Revenue'"`).
|
|
179
|
+
* @default ""
|
|
180
|
+
*/
|
|
181
|
+
"filter": string;
|
|
182
|
+
/**
|
|
183
|
+
* Value labels. JSON object: `{"show":"auto"|"none","decimals":1}`.
|
|
184
|
+
* @default ""
|
|
185
|
+
*/
|
|
186
|
+
"labels": string;
|
|
187
|
+
/**
|
|
188
|
+
* KPI row level: `auto` (deepest populated level from the dataset meta), `rowgroup`, `category`, or `subcategory`.
|
|
189
|
+
* @default "auto"
|
|
190
|
+
*/
|
|
191
|
+
"level": string;
|
|
192
|
+
/**
|
|
193
|
+
* Maximum number of KPI rows (0 = unlimited). Truncates — there is no REST aggregate, summing heterogeneous KPIs would be meaningless.
|
|
194
|
+
* @default 0
|
|
195
|
+
*/
|
|
196
|
+
"limit": number;
|
|
197
|
+
/**
|
|
198
|
+
* Target normalization: `target` (default — rows share an aligned target position, the IBCS-comparable form) or `none` (classic per-row scales with tick strips).
|
|
199
|
+
* @default "target"
|
|
200
|
+
*/
|
|
201
|
+
"normalize": string;
|
|
202
|
+
/**
|
|
203
|
+
* Sort key(s) of the KPI rows: hierarchy columns or scenario slots (e.g. `"ac1"`), comma-separated for multi-level sorting. Empty or `"auto"` uses the dataset's suggested order.
|
|
204
|
+
* @default ""
|
|
205
|
+
*/
|
|
206
|
+
"order": string;
|
|
207
|
+
/**
|
|
208
|
+
* Sorting direction: `asc` or `desc`.
|
|
209
|
+
* @default ""
|
|
210
|
+
*/
|
|
211
|
+
"orderDirection": string;
|
|
212
|
+
/**
|
|
213
|
+
* Qualitative range bands as a JSON array of ascending fractions of the target, at most two — e.g. `[0.6, 0.9]` (IBCS rejects a third band of arbitrary length). Classic mode only; ignored while `normalize` is `"target"`.
|
|
214
|
+
* @default ""
|
|
215
|
+
*/
|
|
216
|
+
"ranges": string;
|
|
217
|
+
/**
|
|
218
|
+
* Name of a registered IBCS rule set (see `bn-ruleset`) used for scenario treatments and display names. Supports `"inherited-closest"` / `"inherited-page"` to take over the value from an ancestor `bn-layout-card` / `bn-layout-page`.
|
|
219
|
+
*/
|
|
220
|
+
"ruleset"?: string;
|
|
221
|
+
/**
|
|
222
|
+
* Font-size auto-fit: `""`/`auto` shrink to the parent height (with/without a warning), `none` disables, a number applies a fixed factor.
|
|
223
|
+
*/
|
|
224
|
+
"scale"?: string;
|
|
225
|
+
/**
|
|
226
|
+
* Target measure — same shape as `actual`. Empty or `"auto"` auto-detects (`pl1` > `pp1` > `fc1`); without any target scenario the chart renders actual bars only.
|
|
227
|
+
* @default ""
|
|
228
|
+
*/
|
|
229
|
+
"target": string;
|
|
230
|
+
/**
|
|
231
|
+
* Variance bars between actual and target: `auto` (default — drawn in normalized mode, favorable/unfavorable in the IBCS variance colors) or `none`.
|
|
232
|
+
* @default "auto"
|
|
233
|
+
*/
|
|
234
|
+
"variances": string;
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* SVG scattergram following IBCS template C09.
|
|
238
|
+
* Subscribes to a dataset (via `withDataset`) and renders an XY point cloud
|
|
239
|
+
* with series hues, selective labels, highlight bands, and hyperbolic
|
|
240
|
+
* iso-lines (`x·y = k`). The heavy SVG rendering is performed by the inner
|
|
241
|
+
* `ibcs-chart-scatter` element; this facade validates props, resolves
|
|
242
|
+
* auto-detected metadata, and computes styles.
|
|
243
|
+
*/
|
|
244
|
+
interface BnChartScatter {
|
|
245
|
+
/**
|
|
246
|
+
* Plot aspect ratio as `"w:h"` (default `"16:9"`). XY charts have no data-driven height; this is the explicit height control.
|
|
247
|
+
* @default "16:9"
|
|
248
|
+
*/
|
|
249
|
+
"aspect": string;
|
|
250
|
+
/**
|
|
251
|
+
* Custom chart title
|
|
252
|
+
* @default ""
|
|
253
|
+
*/
|
|
254
|
+
"chartTitle": string;
|
|
255
|
+
/**
|
|
256
|
+
* Small-multiple panels (IBCS 10E/10F/10G style). JSON object: `{"level":"rowgroup"|"category","columns":6}`. The facet level must sit above the series level in the hierarchy.
|
|
257
|
+
* @default ""
|
|
258
|
+
*/
|
|
259
|
+
"facet": string;
|
|
260
|
+
/**
|
|
261
|
+
* AlaSQL WHERE clause fragment injected into the data query to filter rows before rendering (e.g. `"rowGroup = 'Revenue'"`).
|
|
262
|
+
* @default ""
|
|
263
|
+
*/
|
|
264
|
+
"filter": string;
|
|
265
|
+
/**
|
|
266
|
+
* Hyperbolic iso-lines `x·y = k` (IBCS 09C/09D). JSON object: `{"values":"auto"|[1,2,3],"label":"Gross profit","unit":"mUSD", "highlight":{"from":3}}`. Requires a strictly positive plot domain.
|
|
267
|
+
* @default ""
|
|
268
|
+
*/
|
|
269
|
+
"iso": string;
|
|
270
|
+
/**
|
|
271
|
+
* Point labeling. JSON object: `{"points":"auto"|"none"|"all"|["VAB"], "max":12}` (IBCS requires selective, proximate labels).
|
|
272
|
+
* @default ""
|
|
273
|
+
*/
|
|
274
|
+
"labels": string;
|
|
275
|
+
/**
|
|
276
|
+
* Series-color legend. JSON object: `{"show":true,"position":"right"|"bottom"}`.
|
|
277
|
+
* @default ""
|
|
278
|
+
*/
|
|
279
|
+
"legend": string;
|
|
280
|
+
/**
|
|
281
|
+
* Point identity level: `auto` (deepest populated level from the dataset meta), `category`, or `subcategory`.
|
|
282
|
+
* @default "auto"
|
|
283
|
+
*/
|
|
284
|
+
"level": string;
|
|
285
|
+
/**
|
|
286
|
+
* Maximum number of points per panel (0 = unlimited). Scatter keeps the first N rows in dataset order.
|
|
287
|
+
* @default 0
|
|
288
|
+
*/
|
|
289
|
+
"limit": number;
|
|
290
|
+
/**
|
|
291
|
+
* Name of a registered IBCS rule set (see `bn-ruleset`) used for scenario treatments and display names. Supports `"inherited-closest"` / `"inherited-page"` to take over the value from an ancestor `bn-layout-card` / `bn-layout-page`.
|
|
292
|
+
*/
|
|
293
|
+
"ruleset"?: string;
|
|
294
|
+
/**
|
|
295
|
+
* Font-size auto-fit: `""`/`auto` shrink to the parent width (with/without a warning), `none` disables, a number applies a fixed factor.
|
|
296
|
+
*/
|
|
297
|
+
"scale"?: string;
|
|
298
|
+
/**
|
|
299
|
+
* Series (color) grouping level: `auto` (parent of the point level), `rowgroup`, `category`, or `none` (single series).
|
|
300
|
+
* @default "auto"
|
|
301
|
+
*/
|
|
302
|
+
"seriesLevel": string;
|
|
303
|
+
/**
|
|
304
|
+
* X axis mapping. JSON object (`AxisSpec`) or a bare measure token as shorthand: `{"measure":"ac1","label":"Margin","unit":"%","min":0, "max":40,"refLine":0.5,"highlight":{"from":30}}`. The measure is a scenario column (`ac1`…`pl4`) or a variance token (`d…`/`dr…`, sentiment suffix optional).
|
|
305
|
+
*/
|
|
306
|
+
"x": string;
|
|
307
|
+
/**
|
|
308
|
+
* Y axis mapping — same shape as `x`.
|
|
309
|
+
*/
|
|
310
|
+
"y": string;
|
|
311
|
+
}
|
|
55
312
|
/**
|
|
56
313
|
* SVG structure (categorical) bar chart following IBCS standards.
|
|
57
314
|
* Subscribes to a dataset (via `withDataset`) and renders horizontal bar
|
|
@@ -109,10 +366,15 @@ export namespace Components {
|
|
|
109
366
|
*/
|
|
110
367
|
"orderDirection": string;
|
|
111
368
|
/**
|
|
112
|
-
* Controls scaling of relative variance bars (pixels per percentage point). | Value | Behavior | |----------------|---------------------------------------------------------------| | `"auto"` | Auto-fit to available width | | not set / `""` | Same as auto with warning | | `"50"`, `1.5` | Explicit pixels-per-percentage-point value | | group name | References a
|
|
369
|
+
* Controls scaling of relative variance bars (pixels per percentage point). | Value | Behavior | |----------------|---------------------------------------------------------------| | `"auto"` | Auto-fit to available width | | not set / `""` | Same as auto with warning | | `"50"`, `1.5` | Explicit pixels-per-percentage-point value | | group name | References a `<bn-scaling-group>` for synchronized scaling |
|
|
113
370
|
* @example percentage-scaling="50"
|
|
371
|
+
* @example percentage-scaling="pct-scale"
|
|
114
372
|
*/
|
|
115
373
|
"percentageScaling": string | number;
|
|
374
|
+
/**
|
|
375
|
+
* Name of a registered IBCS rule set (see `bn-ruleset`) used for scenario ordering. Supports `"inherited-closest"` / `"inherited-page"` to take over the value from an ancestor `bn-layout-card` / `bn-layout-page`.
|
|
376
|
+
*/
|
|
377
|
+
"ruleset"?: string;
|
|
116
378
|
/**
|
|
117
379
|
* Controls proportional scaling of the chart to fit the available parent height. | Value | Behavior | |---------------------|-----------------------------------------------------------------------------------| | not set / `""` | Auto-scale to fit parent height; emit `AUTO_scale` warning with the applied factor | | `"none"` | No scaling (render at base font size regardless of available space) | | `"auto"` | Auto-scale to fit parent height silently (no warning) | | `"0.5"`, `"1.2"`, … | Fixed factor — apply `baseFontSize × factor` |
|
|
118
380
|
*/
|
|
@@ -142,9 +404,10 @@ export namespace Components {
|
|
|
142
404
|
*/
|
|
143
405
|
"stack": string;
|
|
144
406
|
/**
|
|
145
|
-
* Controls horizontal bar scaling (pixels per data unit). | Value | Behavior | |----------------|-----------------------------------------------------------------| | `"auto"` | Auto-fit bars to fill the available container width (no warning) | | not set / `""` | Same as auto, but emits `AUTO_unitScaling` warning | | `"0.03"`, `1` | Explicit pixels-per-unit value; bars scale proportionally | | group name | References a
|
|
407
|
+
* Controls horizontal bar scaling (pixels per data unit). | Value | Behavior | |----------------|-----------------------------------------------------------------| | `"auto"` | Auto-fit bars to fill the available container width (no warning) | | not set / `""` | Same as auto, but emits `AUTO_unitScaling` warning | | `"0.03"`, `1` | Explicit pixels-per-unit value; bars scale proportionally | | group name | References a `<bn-scaling-group>` for synchronized scaling | When using a custom value that causes the chart to exceed its container, a `WARN_overflow` error is emitted.
|
|
146
408
|
* @example unit-scaling="auto"
|
|
147
409
|
* @example unit-scaling="0.05"
|
|
410
|
+
* @example unit-scaling="revenue-scale"
|
|
148
411
|
*/
|
|
149
412
|
"unitScaling": string | number;
|
|
150
413
|
/**
|
|
@@ -230,9 +493,15 @@ export namespace Components {
|
|
|
230
493
|
*/
|
|
231
494
|
"orderDirection": string;
|
|
232
495
|
/**
|
|
233
|
-
*
|
|
496
|
+
* Pixels per percentage point for relative variance bars/pins. | Value | Behavior | |----------------|---------------------------------------------------------------| | `"auto"` | Auto-fit to available height (same two-pass as unit-scaling) | | not set / `""` | Same as auto with `AUTO_percentageScaling` warning | | `"50"`, `1.5` | Explicit pixels-per-percentage-point value | | group name | References a `<bn-scaling-group>` for synchronized scaling |
|
|
497
|
+
* @example percentage-scaling="50"
|
|
498
|
+
* @example percentage-scaling="pct-scale"
|
|
234
499
|
*/
|
|
235
500
|
"percentageScaling": string | number;
|
|
501
|
+
/**
|
|
502
|
+
* Name of a registered IBCS rule set (see `bn-ruleset`) used for scenario ordering. Supports `"inherited-closest"` / `"inherited-page"` to take over the value from an ancestor `bn-layout-card` / `bn-layout-page`.
|
|
503
|
+
*/
|
|
504
|
+
"ruleset"?: string;
|
|
236
505
|
/**
|
|
237
506
|
* Controls proportional scaling of the chart to fit the available parent width. | Value | Behavior | |---------------------|-----------------------------------------------------------------------------------| | not set / `""` | Auto-scale to fit parent width; emit `AUTO_scale` warning with the applied factor | | `"none"` | No scaling (render at base font size regardless of available space) | | `"auto"` | Auto-scale to fit parent width silently (no warning) | | `"0.5"`, `"1.2"`, … | Fixed factor — apply `baseFontSize × factor` |
|
|
238
507
|
*/
|
|
@@ -259,7 +528,7 @@ export namespace Components {
|
|
|
259
528
|
*/
|
|
260
529
|
"showOverlayMedian": string;
|
|
261
530
|
/**
|
|
262
|
-
* Stacking configuration for the chart as a JSON string. When set, bars/columns are drawn stacked (additive layers) instead of side-by-side. In line mode (`chart-mode="line"`), stacking produces a stacked area chart with filled regions between cumulative lines. **JSON schema:** ```json { "by": "scenario" | "category" | "subcategory" | "rowgroup", "mode": "absolute" | "relative" | "absolute-relative", "order": "asc" | "desc" | "dataset" } ``` - `by` (required): The dimension to stack. - `"scenario"` — stack the scenarios from the `scenarios` prop as layers. - `"category"` / `"subcategory"` / `"rowgroup"` — decompose a single scenario by this data dimension. Must be finer than `level`. - `mode` (optional, default `"absolute"`): - `"absolute"` — additive stacking, axis shows absolute units. - `"relative"` — 100% stacking, axis shows 0%–100%. - `"absolute-relative"` — bar height is absolute (real value), but segment labels inside show percentages. - `order` (optional, default `"dataset"`): Segment order within each stack. `"asc"` / `"desc"` sort segments by value; `"dataset"` preserves the original data/scenario order.
|
|
531
|
+
* Stacking configuration for the chart as a JSON string. When set, bars/columns are drawn stacked (additive layers) instead of side-by-side. In line mode (`chart-mode="line"`), stacking produces a stacked area chart with filled regions between cumulative lines. **JSON schema:** ```json { "by": "scenario" | "category" | "subcategory" | "rowgroup", "mode": "absolute" | "relative" | "absolute-relative", "order": "asc" | "desc" | "dataset" } ``` - `by` (required): The dimension to stack. - `"scenario"` — stack the scenarios from the `scenarios` prop as layers. - `"category"` / `"subcategory"` / `"rowgroup"` — decompose a single scenario by this data dimension. Must be finer than `level`. - `mode` (optional, default `"absolute"`): - `"absolute"` — additive stacking, axis shows absolute units. - `"relative"` — 100% stacking, axis shows 0%–100%. `unit-scaling` is interpreted as pixels per percentage point (e.g. `0.4` → 40px full stack); `"auto"` fits the stack to the available height as usual. - `"absolute-relative"` — bar height is absolute (real value), but segment labels inside show percentages. - `order` (optional, default `"dataset"`): Segment order within each stack. `"asc"` / `"desc"` sort segments by value; `"dataset"` preserves the original data/scenario order.
|
|
263
532
|
* @default '' (empty — no stacking)
|
|
264
533
|
* @example // Stack scenarios stack='{"by":"scenario"}'
|
|
265
534
|
* @example // Stack by category, relative mode stack='{"by":"category","mode":"relative"}'
|
|
@@ -270,7 +539,10 @@ export namespace Components {
|
|
|
270
539
|
*/
|
|
271
540
|
"syncSpaceLeft": number;
|
|
272
541
|
/**
|
|
273
|
-
*
|
|
542
|
+
* Controls vertical bar scaling (pixels per data unit). | Value | Behavior | |----------------|-----------------------------------------------------------------| | `"auto"` | Auto-fit bars to fill the available container height | | not set / `""` | Same as auto, but emits `AUTO_unitScaling` warning | | `"0.03"`, `1` | Explicit pixels-per-unit value; bars scale proportionally | | group name | References a `<bn-scaling-group>` for synchronized scaling |
|
|
543
|
+
* @example unit-scaling="auto"
|
|
544
|
+
* @example unit-scaling="0.05"
|
|
545
|
+
* @example unit-scaling="revenue-scale"
|
|
274
546
|
*/
|
|
275
547
|
"unitScaling": string | number;
|
|
276
548
|
/**
|
|
@@ -290,10 +562,14 @@ export namespace Components {
|
|
|
290
562
|
/**
|
|
291
563
|
* Queries data from one or more `bn-datasource` entries via AlaSQL and
|
|
292
564
|
* writes the result to the `datasets` store (+ computed `DatasetMeta`).
|
|
293
|
-
* The
|
|
294
|
-
*
|
|
295
|
-
*
|
|
296
|
-
*
|
|
565
|
+
* The body content is observed via `withBodyObserver` and may be:
|
|
566
|
+
* 1. **SQL** (default) — AlaSQL query against referenced `datasources`.
|
|
567
|
+
* 2. **Static JSON** — set `static="true"` to bypass SQL and write the
|
|
568
|
+
* parsed body directly to the `datasets` store.
|
|
569
|
+
* 3. **URL** — place an `http://`/`https://` URL or a same-origin path
|
|
570
|
+
* starting with `/` in the body to fetch JSON from an HTTP endpoint and
|
|
571
|
+
* write it to the `datasets` store. Set the `interval` prop (in seconds)
|
|
572
|
+
* to enable periodic re-fetching.
|
|
297
573
|
*/
|
|
298
574
|
interface BnDataset {
|
|
299
575
|
/**
|
|
@@ -301,6 +577,11 @@ export namespace Components {
|
|
|
301
577
|
* @default ""
|
|
302
578
|
*/
|
|
303
579
|
"datasources": string;
|
|
580
|
+
/**
|
|
581
|
+
* Polling interval in **seconds** for URL mode. When set and the body content is a URL, the component re-fetches data at this interval. Has no effect for SQL, inline JSON or compressed content. Set to `0` or leave unset to disable polling.
|
|
582
|
+
* @default 0
|
|
583
|
+
*/
|
|
584
|
+
"interval": number;
|
|
304
585
|
/**
|
|
305
586
|
* Unique (template scope) name of the datasource
|
|
306
587
|
*/
|
|
@@ -317,19 +598,29 @@ export namespace Components {
|
|
|
317
598
|
"static": boolean;
|
|
318
599
|
}
|
|
319
600
|
/**
|
|
320
|
-
* Ingests
|
|
321
|
-
* Data
|
|
322
|
-
*
|
|
323
|
-
*
|
|
324
|
-
*
|
|
601
|
+
* Ingests data and writes it to the scoped `datasources` store.
|
|
602
|
+
* Data can be provided in three ways:
|
|
603
|
+
* 1. **Inline JSON** — Place JSON text inside the element body (default).
|
|
604
|
+
* 2. **Compressed payload** — Set `raw="false"` and provide `<hash>:<base64_gzip>` format.
|
|
605
|
+
* 3. **URL** — Place an `http://`/`https://` URL or a same-origin path
|
|
606
|
+
* starting with `/` in the body to fetch JSON from an HTTP endpoint.
|
|
607
|
+
* In URL mode the component fetches JSON from the URL. Set the `interval`
|
|
608
|
+
* prop (in seconds) to enable periodic re-fetching (polling).
|
|
609
|
+
* Other components (e.g. `bn-dataset`) reference the stored data by the
|
|
610
|
+
* `name` prop to run queries against it.
|
|
325
611
|
*/
|
|
326
612
|
interface BnDatasource {
|
|
327
613
|
/**
|
|
328
|
-
*
|
|
614
|
+
* Polling interval in **seconds** for URL mode. When set and the body content is a URL, the component re-fetches data at this interval. Has no effect for inline JSON or compressed content. Set to `0` or leave unset to disable polling.
|
|
615
|
+
* @default 0
|
|
616
|
+
*/
|
|
617
|
+
"interval": number;
|
|
618
|
+
/**
|
|
619
|
+
* Unique (template scope) name of the datasource.
|
|
329
620
|
*/
|
|
330
621
|
"name": string;
|
|
331
622
|
/**
|
|
332
|
-
* When true (default), body content is plain JSON text. When false, body content is a compressed payload (`<hash>:<base64_gzip>`).
|
|
623
|
+
* When true (default), body content is plain JSON text. When false, body content is a compressed payload (`<hash>:<base64_gzip>`). Ignored in URL mode.
|
|
333
624
|
* @default true
|
|
334
625
|
*/
|
|
335
626
|
"raw": boolean;
|
|
@@ -409,6 +700,9 @@ export namespace Components {
|
|
|
409
700
|
}
|
|
410
701
|
interface BnInternationalization {
|
|
411
702
|
"code": string;
|
|
703
|
+
/**
|
|
704
|
+
* @default "_system"
|
|
705
|
+
*/
|
|
412
706
|
"namespace": string;
|
|
413
707
|
}
|
|
414
708
|
interface BnLayoutCard {
|
|
@@ -419,7 +713,7 @@ export namespace Components {
|
|
|
419
713
|
*/
|
|
420
714
|
"cardCustomTemplate": string;
|
|
421
715
|
/**
|
|
422
|
-
* When `true`, the card shrinks to fit its content (`fit-content`)
|
|
716
|
+
* When `true`, the card body height shrinks to fit its content (`fit-content`). When `false` (default), the card stretches to fill its parent (`100%`). Width is always `100%` regardless of this setting. <br /><br /> Use `false` (default) when the card contains components with auto-scaling (e.g. `unit-scaling="auto"` or `scale="auto"`), because auto-scaling needs a fixed parent height to calculate dimensions.
|
|
423
717
|
* @default false
|
|
424
718
|
*/
|
|
425
719
|
"cardFitToContent": boolean;
|
|
@@ -455,12 +749,24 @@ export namespace Components {
|
|
|
455
749
|
*/
|
|
456
750
|
"footerText"?: string;
|
|
457
751
|
"getNumberOfSlot": (name: string) => Promise<number>;
|
|
752
|
+
/**
|
|
753
|
+
* I18n namespace for this card's title and, via default inheritance, every descendant component (their own `i18n-namespace` wins). Reflected so descendants can resolve it from the `i18n-namespace` attribute. Takes precedence over the deprecated `titleNamespace`.
|
|
754
|
+
*/
|
|
755
|
+
"i18nNamespace": string;
|
|
756
|
+
/**
|
|
757
|
+
* Name of a registered IBCS rule set (see `bn-ruleset`) passed through to the inner `<bn-title>` element as its `ruleset` attribute. Supports `"inherited-page"` to take over the value from an ancestor `bn-layout-page`. Nested visualization components can reference it via `ruleset="inherited-closest"`.
|
|
758
|
+
*/
|
|
759
|
+
"ruleset"?: string;
|
|
760
|
+
/**
|
|
761
|
+
* Name of a registered component style (see `bn-component-style`) passed through to the inner `<bn-card>` element as its `selected-style` attribute.
|
|
762
|
+
*/
|
|
763
|
+
"selectedStyle"?: string;
|
|
458
764
|
/**
|
|
459
765
|
* JSON string of component-style overrides passed through to the inner `<bn-card>` element. Typically set via a `ComponentStyle` manifest rather than directly on the component.
|
|
460
766
|
*/
|
|
461
767
|
"styles"?: string;
|
|
462
768
|
/**
|
|
463
|
-
* Name of the business unit displayed in the title header row. If empty, the business unit row is omitted.
|
|
769
|
+
* Name of the business unit displayed in the title header row. If empty, the business unit row is omitted. Rendered as sanitized HTML, so inline markup is supported.
|
|
464
770
|
* @example <bn-layout-card title-business-unit="Sales"></bn-layout-card>
|
|
465
771
|
* @default ""
|
|
466
772
|
*/
|
|
@@ -495,8 +801,8 @@ export namespace Components {
|
|
|
495
801
|
*/
|
|
496
802
|
"titleMeasures"?: string;
|
|
497
803
|
/**
|
|
498
|
-
* Namespace used for title translations via the internationalization store.
|
|
499
|
-
* @
|
|
804
|
+
* Namespace used for title translations via the internationalization store. Applies to the title only.
|
|
805
|
+
* @deprecated Use `i18nNamespace` instead.
|
|
500
806
|
*/
|
|
501
807
|
"titleNamespace": string;
|
|
502
808
|
/**
|
|
@@ -529,6 +835,10 @@ export namespace Components {
|
|
|
529
835
|
*/
|
|
530
836
|
"footerText"?: string;
|
|
531
837
|
"getNumberOfSlot": (name: string) => Promise<number>;
|
|
838
|
+
/**
|
|
839
|
+
* I18n namespace for this page's title and, via default inheritance, every descendant component (their own `i18n-namespace` wins). Reflected so descendants can resolve it from the `i18n-namespace` attribute. Takes precedence over the deprecated `titleNamespace`.
|
|
840
|
+
*/
|
|
841
|
+
"i18nNamespace": string;
|
|
532
842
|
/**
|
|
533
843
|
* URL or asset name of the image displayed in the message row. If the value is not an HTTP URL it is looked up in the asset store. If empty, the image is omitted.
|
|
534
844
|
* @example <bn-layout-page message-image="debug/concordia.png"></bn-layout-page>
|
|
@@ -536,7 +846,8 @@ export namespace Components {
|
|
|
536
846
|
*/
|
|
537
847
|
"messageImage": string;
|
|
538
848
|
/**
|
|
539
|
-
* Message text displayed in the message row above the title. If empty, the message row is omitted.
|
|
849
|
+
* Message text displayed in the message row above the title. If empty, the message row is omitted. Rendered as sanitized HTML, so inline markup is supported.
|
|
850
|
+
* @example <bn-layout-page message-text="Revenue <b>above plan</b><br />Q3 2026"></bn-layout-page>
|
|
540
851
|
* @default ""
|
|
541
852
|
*/
|
|
542
853
|
"messageText": string;
|
|
@@ -584,12 +895,20 @@ export namespace Components {
|
|
|
584
895
|
* Page orientation. Default depends on the chosen format. <br /><br /> values:<br /> ```landscape // portrait```
|
|
585
896
|
*/
|
|
586
897
|
"pageOrientation"?: string;
|
|
898
|
+
/**
|
|
899
|
+
* Name of a registered IBCS rule set (see `bn-ruleset`) passed through to the inner `<bn-title>` element as its `ruleset` attribute. Nested visualization components can reference it via `ruleset="inherited-page"` / `ruleset="inherited-closest"`.
|
|
900
|
+
*/
|
|
901
|
+
"ruleset"?: string;
|
|
902
|
+
/**
|
|
903
|
+
* Name of a registered component style (see `bn-component-style`) passed through to the inner `<bn-page>` element as its `selected-style` attribute.
|
|
904
|
+
*/
|
|
905
|
+
"selectedStyle"?: string;
|
|
587
906
|
/**
|
|
588
907
|
* JSON string of component-style overrides passed through to the inner `<bn-page>` element. Typically set via a `ComponentStyle` manifest rather than directly on the component.
|
|
589
908
|
*/
|
|
590
909
|
"styles"?: string;
|
|
591
910
|
/**
|
|
592
|
-
* Name of the business unit displayed in the title header row. If empty, the business unit row is omitted.
|
|
911
|
+
* Name of the business unit displayed in the title header row. If empty, the business unit row is omitted. Rendered as sanitized HTML, so inline markup is supported.
|
|
593
912
|
* @example <bn-layout-page title-business-unit="Group Controlling"></bn-layout-page>
|
|
594
913
|
* @default ""
|
|
595
914
|
*/
|
|
@@ -618,8 +937,8 @@ export namespace Components {
|
|
|
618
937
|
*/
|
|
619
938
|
"titleMeasures"?: string;
|
|
620
939
|
/**
|
|
621
|
-
* Namespace used for title translations via the internationalization store.
|
|
622
|
-
* @
|
|
940
|
+
* Namespace used for title translations via the internationalization store. Applies to the title only.
|
|
941
|
+
* @deprecated Use `i18nNamespace` instead.
|
|
623
942
|
*/
|
|
624
943
|
"titleNamespace": string;
|
|
625
944
|
/**
|
|
@@ -647,7 +966,7 @@ export namespace Components {
|
|
|
647
966
|
*/
|
|
648
967
|
"image": string;
|
|
649
968
|
/**
|
|
650
|
-
* Message text. <br />If empty string (`''` or `null`) the
|
|
969
|
+
* Message text. Rendered as HTML, sanitized against XSS (only safe tags such as `br`, `b`, `i`, `strong`, `em`, `a` and their attributes are kept; event handlers and `javascript:` URLs are stripped). <br />Use `<br />` for an explicit line break. <br />If empty string (`''` or `null`) the message row is omitted
|
|
651
970
|
*/
|
|
652
971
|
"text": string;
|
|
653
972
|
}
|
|
@@ -661,6 +980,32 @@ export namespace Components {
|
|
|
661
980
|
*/
|
|
662
981
|
"orientation": string;
|
|
663
982
|
}
|
|
983
|
+
interface BnRuleset {
|
|
984
|
+
/**
|
|
985
|
+
* @default "_default"
|
|
986
|
+
*/
|
|
987
|
+
"name": string;
|
|
988
|
+
}
|
|
989
|
+
/**
|
|
990
|
+
* Defines a named scaling value that chart and table components can reference
|
|
991
|
+
* via their `unit-scaling` or `percentage-scaling` attributes.
|
|
992
|
+
* Multiple components sharing the same group name will use the same scaling
|
|
993
|
+
* value, allowing synchronized scaling across an entire page or section.
|
|
994
|
+
* The reserved name `"auto"` is not allowed and will be ignored with a warning.
|
|
995
|
+
* @example <bn-scaling-group name="revenue" value="0.05"></bn-scaling-group>
|
|
996
|
+
* <bn-chart-structure unit-scaling="revenue" ...></bn-chart-structure>
|
|
997
|
+
* <bn-table unit-scaling="revenue" ...></bn-table>
|
|
998
|
+
*/
|
|
999
|
+
interface BnScalingGroup {
|
|
1000
|
+
/**
|
|
1001
|
+
* Unique name identifying this scaling group. Components reference this name in their `unit-scaling` or `percentage-scaling` attributes. The name `"auto"` is reserved and cannot be used.
|
|
1002
|
+
*/
|
|
1003
|
+
"name": string;
|
|
1004
|
+
/**
|
|
1005
|
+
* The scaling value (pixels per data unit or pixels per percentage point, depending on which attribute references this group).
|
|
1006
|
+
*/
|
|
1007
|
+
"value": number;
|
|
1008
|
+
}
|
|
664
1009
|
/**
|
|
665
1010
|
* Public-facing wrapper for the IBCS table component.
|
|
666
1011
|
* Accepts user-facing string/number props, validates them, and converts
|
|
@@ -676,7 +1021,7 @@ export namespace Components {
|
|
|
676
1021
|
*/
|
|
677
1022
|
"barColumnWidth": string;
|
|
678
1023
|
/**
|
|
679
|
-
* List of
|
|
1024
|
+
* List of column names to render as bar charts instead of numbers. <br /><br /> Absolute variances (d_*) render as horizontal bar charts. Relative variances (dr_*) render as pin/dot charts. Scenario columns (ac1..pl4) render as horizontal bar charts; when the table contains grouping structure (sum rows, thereof, or partof) they automatically render as an IBCS waterfall — data rows cascade from the running total and sum rows anchor at zero. Waterfall columns auto-scale to fit the bar column width (unit-scaling does not apply) and are not supported in combination with `interval` or `columnthereof`. <br /><br /> example:<br /> ```dac1_pp1_pos,drac1_pp1_pos,ac1```
|
|
680
1025
|
*/
|
|
681
1026
|
"barColumns": string;
|
|
682
1027
|
/**
|
|
@@ -714,6 +1059,11 @@ export namespace Components {
|
|
|
714
1059
|
* @default "false"
|
|
715
1060
|
*/
|
|
716
1061
|
"grouped": string;
|
|
1062
|
+
/**
|
|
1063
|
+
* Repeats the entire scenario/variance column block once per interval group, rendered under a spanning header band (e.g. `2023 | 2024 | 2025`, each with the configured columns). <br /><br /> values:<br /> ```none // setname // year // quarter // month // week // day // hour // minute // second // millisecond // auto``` <br /><br /> ```none``` (default) deactivates the feature. ```setname``` groups by the dataset's `setname` column (non-date comparison); rows with a blank setname raise a warning and are grouped under `—`. Date values bucket rows by the `date` column; ```auto``` detects the granularity from the date span. Cannot be combined with `columnthereof`.
|
|
1064
|
+
* @default "none"
|
|
1065
|
+
*/
|
|
1066
|
+
"interval": string;
|
|
717
1067
|
/**
|
|
718
1068
|
* Set the maximum number of rows for each group. The value 0 means *no limit* <br /><br /> rows wich where cut by the limit are cumulated as REST
|
|
719
1069
|
* @default 0
|
|
@@ -750,10 +1100,16 @@ export namespace Components {
|
|
|
750
1100
|
*/
|
|
751
1101
|
"partof": string;
|
|
752
1102
|
/**
|
|
753
|
-
* Scaling for relative variance pin charts (ΔPY%). <br /><br />
|
|
1103
|
+
* Scaling for relative variance pin charts (ΔPY%). <br /><br /> Accepts a number, `"auto"`, or a `<bn-scaling-group>` name for synchronized scaling. <br /><br /> Example: 0.5 means 100% = 50 pixels width. <br /><br /> Default: 0.5
|
|
1104
|
+
* @example percentage-scaling="0.5"
|
|
1105
|
+
* @example percentage-scaling="pct-scale"
|
|
754
1106
|
* @default 0.5
|
|
755
1107
|
*/
|
|
756
1108
|
"percentageScaling": string | number;
|
|
1109
|
+
/**
|
|
1110
|
+
* Name of a registered IBCS rule set (see `bn-ruleset`) used for scenario ordering. Supports `"inherited-closest"` / `"inherited-page"` to take over the value from an ancestor `bn-layout-card` / `bn-layout-page`.
|
|
1111
|
+
*/
|
|
1112
|
+
"ruleset"?: string;
|
|
757
1113
|
/**
|
|
758
1114
|
* Controls proportional scaling of the entire table relative to the available parent width. All visual dimensions scale together: font size, em-based spacing/padding, SVG bar-chart widths, pin lengths, dot radii, pattern fills, axis strokes, and label offsets. Scaling is driven by a single factor applied to the base font size (`global.fontSizePx` from the component-style store, default 13.3333 px). Because the table's SCSS uses `em` units for padding, borders, and column widths, changing the font size cascades to all layout dimensions. SVG elements (bars, pins, patterns) receive the factor via the `scaleFactor` prop on `ibcs-table` and multiply every pixel constant by it, so they stay proportional to the surrounding text. | Value | Behavior | |---------------------|----------------------------------------------------------------------------------| | not set / `""` | Auto-scale to fit parent width; emit `AUTO_scale` warning with the applied factor | | `"none"` | No scaling (render at base font size regardless of available space) | | `"auto"` | Auto-scale to fit parent width silently (no warning) | | `"0.5"`, `"1.2"`, … | Fixed factor — apply `baseFontSize × factor` | **Auto-scale algorithm** (modes `""` and `"auto"`): 1. After each render, the current `scrollWidth` of the host element is divided by the current `appliedScaleFactor` to derive the unscaled content width. This avoids resetting `--bn-font-size` to base (which would only affect em-based widths but not SVG pixel attributes). 2. This unscaled width is compared against the parent's content-box width (via `getParentDimensions`). 3. If the table overflows, `factor = parentWidth / unscaledWidth` is computed and applied to both the CSS variable and the `appliedScaleFactor` state (which re-renders the SVG charts). 4. A guard flag (`_autoScaleGuard`) prevents the subsequent state-triggered re-render from re-measuring, avoiding an infinite measure → scale → fits → reset → overflow loop. Invalid values (negative numbers, non-numeric strings that are not `"none"` or `"auto"`) fall back to the default behaviour (auto + warning) and emit an `ERR_scale` warning.
|
|
759
1115
|
* @example // Auto-scale to parent (silent) <bn-table scale="auto" ...></bn-table> // Fixed 50 % reduction <bn-table scale="0.5" ...></bn-table> // Double size <bn-table scale="2" ...></bn-table> // No scaling — always render at base font size <bn-table scale="none" ...></bn-table>
|
|
@@ -763,6 +1119,10 @@ export namespace Components {
|
|
|
763
1119
|
* List of scenarios displayed in card header. <br /><br /> If scenarios is empty string (`''` or `null`) the scenarios are omitted <br /><br /> values:<br /> ```ac // fc // py // pl // null // auto``` <br /><br /> When set to ```auto```, scenarios are detected from the dataset silently. When left blank (and variances are also blank), scenarios are detected from the dataset with a warning.
|
|
764
1120
|
*/
|
|
765
1121
|
"scenarios": string;
|
|
1122
|
+
/**
|
|
1123
|
+
* Name of a registered component style (see `bn-component-style`). Forwarded to the inner `ibcs-table` so bar-chart colors and fonts follow the selected style as well.
|
|
1124
|
+
*/
|
|
1125
|
+
"selectedStyle"?: string;
|
|
766
1126
|
/**
|
|
767
1127
|
* Toggles a title header for each (row-)group the title header value is found set by 'rowgroup' <br /><br /> values: <br /> ```true // false```
|
|
768
1128
|
* @default "true"
|
|
@@ -774,10 +1134,15 @@ export namespace Components {
|
|
|
774
1134
|
*/
|
|
775
1135
|
"showMeasureScale": string;
|
|
776
1136
|
/**
|
|
777
|
-
*
|
|
1137
|
+
* Label of the grand-total row at the bottom of the table. Only rendered for `type="sum"` and `type="opt"`; the other table types have no total row. When empty, the IBCS total symbol (❖) is used.
|
|
1138
|
+
* @default ""
|
|
1139
|
+
*/
|
|
1140
|
+
"sumTitle": string;
|
|
1141
|
+
/**
|
|
1142
|
+
* Stringified JSON object defining custom columns computed from dataset fields.<br /> Keys are column labels, values are aggregate expressions over the rows that make up each table row.<br /><br /> Functions: ```set // first // last // min // max // avg // sum // lit```<br /> Fields can be standard dataset fields (e.g. ```ac1```) or custom fields prefixed with ```_``` (e.g. ```_leiter```); ```lit``` takes a constant value.<br /><br /> example:<br /> ```{"Verkaufsleiter": "set(_leiter)", "Umsatz gesamt": "sum(ac1)"}```
|
|
778
1143
|
* @default ""
|
|
779
1144
|
*/
|
|
780
|
-
"
|
|
1145
|
+
"tableAttributes": string;
|
|
781
1146
|
/**
|
|
782
1147
|
* Stringified Array of drilldown Objects { "rowGroup": string,<br /> "category": string,<br /> "subCategory": string,<br /> },<br /><br /> rowgroup, categroy defines the location of the drill subcategory is the displayed label of the data row <br /><br /> example:<br /> ```[{ "rowGroup":"Umsatz", "category": "Applications", "subCategory": "Applications-A", },]```
|
|
783
1148
|
* @default "[]"
|
|
@@ -789,7 +1154,9 @@ export namespace Components {
|
|
|
789
1154
|
*/
|
|
790
1155
|
"type": string;
|
|
791
1156
|
/**
|
|
792
|
-
* Pixels per unit for absolute variance bar charts (ΔPY). Controls bar width: barWidth = value × unitScaling. Bars exceeding barColumnWidth are shown with an arrow indicator. <br /><br /> Default: 0.01
|
|
1157
|
+
* Pixels per unit for absolute variance bar charts (ΔPY). Controls bar width: barWidth = value × unitScaling. Bars exceeding barColumnWidth are shown with an arrow indicator. <br /><br /> Accepts a number, `"auto"`, or a `<bn-scaling-group>` name for synchronized scaling. <br /><br /> Default: 0.01
|
|
1158
|
+
* @example unit-scaling="0.01"
|
|
1159
|
+
* @example unit-scaling="revenue-scale"
|
|
793
1160
|
* @default 0.01
|
|
794
1161
|
*/
|
|
795
1162
|
"unitScaling": string | number;
|
|
@@ -830,7 +1197,7 @@ export namespace Components {
|
|
|
830
1197
|
*/
|
|
831
1198
|
interface BnTitle {
|
|
832
1199
|
/**
|
|
833
|
-
* Name of the business unit displayed in card header. If empty string (`''` or `null`) the business unit row is omitted
|
|
1200
|
+
* Name of the business unit displayed in card header. If empty string (`''` or `null`) the business unit row is omitted <br /><br /> Rendered as sanitized HTML, so inline markup such as ```<b>```, ```<i>``` and ```<br />``` is supported.
|
|
834
1201
|
* @default ""
|
|
835
1202
|
*/
|
|
836
1203
|
"businessUnit": string;
|
|
@@ -866,6 +1233,10 @@ export namespace Components {
|
|
|
866
1233
|
* @default "asc"
|
|
867
1234
|
*/
|
|
868
1235
|
"orderDirection": string;
|
|
1236
|
+
/**
|
|
1237
|
+
* Name of a registered IBCS rule set (see `bn-ruleset`) used for scenario ordering. Supports `"inherited-closest"` / `"inherited-page"` to take over the value from an ancestor `bn-layout-card` / `bn-layout-page`.
|
|
1238
|
+
*/
|
|
1239
|
+
"ruleset"?: string;
|
|
869
1240
|
/**
|
|
870
1241
|
* List of scenarios displayed in card header. <br /><br /> If scenarios is empty string (`''` or `null`) the scenarios are omitted <br /><br /> values:<br /> ```ac // fc // py // pl // null```
|
|
871
1242
|
*/
|
|
@@ -923,19 +1294,245 @@ export namespace Components {
|
|
|
923
1294
|
"getDistinctFromDataset": (datasetName: string, key: string) => Promise<unknown[]>;
|
|
924
1295
|
"internationalizationKeys": () => Promise<string[]>;
|
|
925
1296
|
}
|
|
926
|
-
|
|
1297
|
+
/**
|
|
1298
|
+
* Inner presentational element of `bn-chart-bubble`: owns the
|
|
1299
|
+
* {@link BubbleChart} orchestrator and emits its SVG string. All props
|
|
1300
|
+
* arrive validated and parsed from the facade.
|
|
1301
|
+
*/
|
|
1302
|
+
interface IbcsChartBubble {
|
|
1303
|
+
/**
|
|
1304
|
+
* Plot aspect ratio, width/height.
|
|
1305
|
+
* @default 16 / 9
|
|
1306
|
+
*/
|
|
1307
|
+
"aspect": number;
|
|
1308
|
+
/**
|
|
1309
|
+
* @default ""
|
|
1310
|
+
*/
|
|
1311
|
+
"chartTitle": string;
|
|
1312
|
+
/**
|
|
1313
|
+
* Comparison scenario family, or `null` (10D overlay).
|
|
1314
|
+
* @default null
|
|
1315
|
+
*/
|
|
1316
|
+
"compareFamily": string | null;
|
|
1317
|
+
/**
|
|
1318
|
+
* @default 0
|
|
1319
|
+
*/
|
|
1320
|
+
"containerWidth": number;
|
|
1321
|
+
/**
|
|
1322
|
+
* Bumped by the facade when the dataset changes; triggers re-render.
|
|
1323
|
+
* @default 0
|
|
1324
|
+
*/
|
|
1325
|
+
"dataVersion": number;
|
|
1326
|
+
/**
|
|
1327
|
+
* The facade's error dispatcher — data warnings are synced through it (stable ids).
|
|
1328
|
+
*/
|
|
1329
|
+
"errors"?: ErrorDispatcher;
|
|
1330
|
+
/**
|
|
1331
|
+
* @default null
|
|
1332
|
+
*/
|
|
1333
|
+
"facet": FacetConfig | null;
|
|
1334
|
+
/**
|
|
1335
|
+
* @default ""
|
|
1336
|
+
*/
|
|
1337
|
+
"filter": string;
|
|
1338
|
+
/**
|
|
1339
|
+
* @default new Map()
|
|
1340
|
+
*/
|
|
1341
|
+
"i18n": Map<string, string>;
|
|
1342
|
+
"labels": LabelConfig;
|
|
1343
|
+
"legend": LegendConfig;
|
|
1344
|
+
/**
|
|
1345
|
+
* @default 0
|
|
1346
|
+
*/
|
|
1347
|
+
"limit": number;
|
|
1348
|
+
/**
|
|
1349
|
+
* @default "category"
|
|
1350
|
+
*/
|
|
1351
|
+
"pointLevel": PointLevel;
|
|
1352
|
+
"ruleSetConfig"?: RuleSetConfig;
|
|
1353
|
+
/**
|
|
1354
|
+
* @default null
|
|
1355
|
+
*/
|
|
1356
|
+
"seriesLevel": GroupLevel | null;
|
|
1357
|
+
/**
|
|
1358
|
+
* @default null
|
|
1359
|
+
*/
|
|
1360
|
+
"share": ShareConfig | null;
|
|
1361
|
+
"size": SizeConfig;
|
|
1362
|
+
/**
|
|
1363
|
+
* Scaling-group mode: area px² per data unit (0 = local sizing).
|
|
1364
|
+
* @default 0
|
|
1365
|
+
*/
|
|
1366
|
+
"sizeAreaPerUnit": number;
|
|
1367
|
+
"styles": XYChartStyle | undefined;
|
|
1368
|
+
/**
|
|
1369
|
+
* Name of the dataset (table or view in the scoped alasql database).
|
|
1370
|
+
* @default ""
|
|
1371
|
+
*/
|
|
1372
|
+
"tableName": string;
|
|
1373
|
+
/**
|
|
1374
|
+
* Facade-bound translator for warning messages (resolves `.key` in the facade's namespace).
|
|
1375
|
+
*/
|
|
1376
|
+
"translate"?: (key: string, data?: object) => string;
|
|
1377
|
+
"x": AxisConfig;
|
|
1378
|
+
"y": AxisConfig;
|
|
1379
|
+
}
|
|
1380
|
+
/**
|
|
1381
|
+
* Inner presentational element of `bn-chart-bullet`: owns the
|
|
1382
|
+
* {@link BulletChart} orchestrator and emits its SVG string. All props
|
|
1383
|
+
* arrive validated and parsed from the facade.
|
|
1384
|
+
*/
|
|
1385
|
+
interface IbcsChartBullet {
|
|
1386
|
+
"actual": BulletMeasureConfig;
|
|
927
1387
|
/**
|
|
928
1388
|
* @default ""
|
|
929
1389
|
*/
|
|
930
1390
|
"chartTitle": string;
|
|
1391
|
+
/**
|
|
1392
|
+
* @default 0
|
|
1393
|
+
*/
|
|
1394
|
+
"containerWidth": number;
|
|
1395
|
+
/**
|
|
1396
|
+
* Bumped by the facade when the dataset changes; triggers re-render.
|
|
1397
|
+
* @default 0
|
|
1398
|
+
*/
|
|
1399
|
+
"dataVersion": number;
|
|
1400
|
+
/**
|
|
1401
|
+
* The facade's error dispatcher — data warnings are synced through it (stable ids).
|
|
1402
|
+
*/
|
|
1403
|
+
"errors"?: ErrorDispatcher;
|
|
1404
|
+
/**
|
|
1405
|
+
* @default ""
|
|
1406
|
+
*/
|
|
1407
|
+
"filter": string;
|
|
1408
|
+
/**
|
|
1409
|
+
* @default new Map()
|
|
1410
|
+
*/
|
|
1411
|
+
"i18n": Map<string, string>;
|
|
1412
|
+
"labels": BulletLabelConfig;
|
|
1413
|
+
/**
|
|
1414
|
+
* @default AggregationLevel.CATEGORY
|
|
1415
|
+
*/
|
|
1416
|
+
"level": AggregationLevel;
|
|
1417
|
+
/**
|
|
1418
|
+
* @default 0
|
|
1419
|
+
*/
|
|
1420
|
+
"limit": number;
|
|
1421
|
+
/**
|
|
1422
|
+
* @default "target"
|
|
1423
|
+
*/
|
|
1424
|
+
"normalize": "target" | "none";
|
|
1425
|
+
"order": Order;
|
|
931
1426
|
/**
|
|
932
1427
|
* @default []
|
|
933
1428
|
*/
|
|
934
|
-
"
|
|
1429
|
+
"ranges": number[];
|
|
1430
|
+
"ruleSetConfig"?: RuleSetConfig;
|
|
1431
|
+
/**
|
|
1432
|
+
* @default true
|
|
1433
|
+
*/
|
|
1434
|
+
"showVariances": boolean;
|
|
1435
|
+
"styles": BulletChartStyle | undefined;
|
|
1436
|
+
/**
|
|
1437
|
+
* Name of the dataset (table or view in the scoped alasql database).
|
|
1438
|
+
* @default ""
|
|
1439
|
+
*/
|
|
1440
|
+
"tableName": string;
|
|
1441
|
+
/**
|
|
1442
|
+
* @default null
|
|
1443
|
+
*/
|
|
1444
|
+
"target": BulletMeasureConfig | null;
|
|
1445
|
+
/**
|
|
1446
|
+
* Facade-bound translator for warning messages (resolves `.key` in the facade's namespace).
|
|
1447
|
+
*/
|
|
1448
|
+
"translate"?: (key: string, data?: object) => string;
|
|
1449
|
+
}
|
|
1450
|
+
/**
|
|
1451
|
+
* Inner presentational element of `bn-chart-scatter`: owns the
|
|
1452
|
+
* {@link ScatterChart} orchestrator and emits its SVG string. All props
|
|
1453
|
+
* arrive validated and parsed from the facade.
|
|
1454
|
+
*/
|
|
1455
|
+
interface IbcsChartScatter {
|
|
1456
|
+
/**
|
|
1457
|
+
* Plot aspect ratio, width/height.
|
|
1458
|
+
* @default 16 / 9
|
|
1459
|
+
*/
|
|
1460
|
+
"aspect": number;
|
|
1461
|
+
/**
|
|
1462
|
+
* @default ""
|
|
1463
|
+
*/
|
|
1464
|
+
"chartTitle": string;
|
|
1465
|
+
/**
|
|
1466
|
+
* @default 0
|
|
1467
|
+
*/
|
|
1468
|
+
"containerWidth": number;
|
|
1469
|
+
/**
|
|
1470
|
+
* Bumped by the facade when the dataset changes; triggers re-render.
|
|
1471
|
+
* @default 0
|
|
1472
|
+
*/
|
|
1473
|
+
"dataVersion": number;
|
|
1474
|
+
/**
|
|
1475
|
+
* The facade's error dispatcher — data warnings are synced through it (stable ids).
|
|
1476
|
+
*/
|
|
1477
|
+
"errors"?: ErrorDispatcher;
|
|
1478
|
+
/**
|
|
1479
|
+
* @default null
|
|
1480
|
+
*/
|
|
1481
|
+
"facet": FacetConfig | null;
|
|
1482
|
+
/**
|
|
1483
|
+
* @default ""
|
|
1484
|
+
*/
|
|
1485
|
+
"filter": string;
|
|
1486
|
+
/**
|
|
1487
|
+
* @default new Map()
|
|
1488
|
+
*/
|
|
1489
|
+
"i18n": Map<string, string>;
|
|
1490
|
+
/**
|
|
1491
|
+
* @default null
|
|
1492
|
+
*/
|
|
1493
|
+
"iso": IsoConfig | null;
|
|
1494
|
+
"labels": LabelConfig;
|
|
1495
|
+
"legend": LegendConfig;
|
|
1496
|
+
/**
|
|
1497
|
+
* @default 0
|
|
1498
|
+
*/
|
|
1499
|
+
"limit": number;
|
|
1500
|
+
/**
|
|
1501
|
+
* @default "category"
|
|
1502
|
+
*/
|
|
1503
|
+
"pointLevel": PointLevel;
|
|
1504
|
+
"ruleSetConfig"?: RuleSetConfig;
|
|
1505
|
+
/**
|
|
1506
|
+
* @default null
|
|
1507
|
+
*/
|
|
1508
|
+
"seriesLevel": GroupLevel | null;
|
|
1509
|
+
"styles": XYChartStyle | undefined;
|
|
1510
|
+
/**
|
|
1511
|
+
* Name of the dataset (table or view in the scoped alasql database).
|
|
1512
|
+
* @default ""
|
|
1513
|
+
*/
|
|
1514
|
+
"tableName": string;
|
|
1515
|
+
/**
|
|
1516
|
+
* Facade-bound translator for warning messages (resolves `.key` in the facade's namespace).
|
|
1517
|
+
*/
|
|
1518
|
+
"translate"?: (key: string, data?: object) => string;
|
|
1519
|
+
"x": AxisConfig;
|
|
1520
|
+
"y": AxisConfig;
|
|
1521
|
+
}
|
|
1522
|
+
interface IbcsChartStructure {
|
|
1523
|
+
/**
|
|
1524
|
+
* @default ""
|
|
1525
|
+
*/
|
|
1526
|
+
"chartTitle": string;
|
|
935
1527
|
/**
|
|
936
1528
|
* @default { percent: 2, decimal: 1 }
|
|
937
1529
|
*/
|
|
938
|
-
"dataFormatDigits": DataFormatDigits;
|
|
1530
|
+
"dataFormatDigits": DataFormatDigits;
|
|
1531
|
+
/**
|
|
1532
|
+
* Bumped by `bn-chart-structure` when the dataset changes; triggers re-render.
|
|
1533
|
+
* @default 0
|
|
1534
|
+
*/
|
|
1535
|
+
"dataVersion": number;
|
|
939
1536
|
/**
|
|
940
1537
|
* @default ""
|
|
941
1538
|
*/
|
|
@@ -980,6 +1577,7 @@ export namespace Components {
|
|
|
980
1577
|
* @default 10
|
|
981
1578
|
*/
|
|
982
1579
|
"pixelPerUnit": number;
|
|
1580
|
+
"ruleSetConfig"?: RuleSetConfig;
|
|
983
1581
|
/**
|
|
984
1582
|
* @default []
|
|
985
1583
|
*/
|
|
@@ -993,6 +1591,11 @@ export namespace Components {
|
|
|
993
1591
|
*/
|
|
994
1592
|
"stackConfig": StackConfigParsed | null;
|
|
995
1593
|
"styles": StructureChartStyle | undefined;
|
|
1594
|
+
/**
|
|
1595
|
+
* Name of the dataset (table or view in the shared alasql database).
|
|
1596
|
+
* @default ""
|
|
1597
|
+
*/
|
|
1598
|
+
"tableName": string;
|
|
996
1599
|
/**
|
|
997
1600
|
* @default []
|
|
998
1601
|
*/
|
|
@@ -1012,14 +1615,15 @@ export namespace Components {
|
|
|
1012
1615
|
* @default 0
|
|
1013
1616
|
*/
|
|
1014
1617
|
"containerWidth": number;
|
|
1015
|
-
/**
|
|
1016
|
-
* @default []
|
|
1017
|
-
*/
|
|
1018
|
-
"data": TimeChartDataRow[];
|
|
1019
1618
|
/**
|
|
1020
1619
|
* @default { percent: 2, decimal: 1 }
|
|
1021
1620
|
*/
|
|
1022
1621
|
"dataFormatDigits": DataFormatDigits;
|
|
1622
|
+
/**
|
|
1623
|
+
* Bumped by `bn-chart-time` when the dataset changes; triggers re-render.
|
|
1624
|
+
* @default 0
|
|
1625
|
+
*/
|
|
1626
|
+
"dataVersion": number;
|
|
1023
1627
|
/**
|
|
1024
1628
|
* @default DateDistance.AUTO
|
|
1025
1629
|
*/
|
|
@@ -1084,6 +1688,7 @@ export namespace Components {
|
|
|
1084
1688
|
* @default 2
|
|
1085
1689
|
*/
|
|
1086
1690
|
"pixelPerUnit": number;
|
|
1691
|
+
"ruleSetConfig"?: RuleSetConfig;
|
|
1087
1692
|
/**
|
|
1088
1693
|
* @default []
|
|
1089
1694
|
*/
|
|
@@ -1105,6 +1710,11 @@ export namespace Components {
|
|
|
1105
1710
|
*/
|
|
1106
1711
|
"stackConfig": StackConfigParsed1 | null;
|
|
1107
1712
|
"styles": TimeChartStyle | undefined;
|
|
1713
|
+
/**
|
|
1714
|
+
* Name of the dataset (table or view in the shared alasql database).
|
|
1715
|
+
* @default ""
|
|
1716
|
+
*/
|
|
1717
|
+
"tableName": string;
|
|
1108
1718
|
/**
|
|
1109
1719
|
* @default []
|
|
1110
1720
|
*/
|
|
@@ -1119,6 +1729,10 @@ export namespace Components {
|
|
|
1119
1729
|
* not be used directly; use `bn-table` instead.
|
|
1120
1730
|
*/
|
|
1121
1731
|
interface IbcsTable {
|
|
1732
|
+
/**
|
|
1733
|
+
* @default []
|
|
1734
|
+
*/
|
|
1735
|
+
"attributeColumns": TableAttribute[];
|
|
1122
1736
|
/**
|
|
1123
1737
|
* @default 30
|
|
1124
1738
|
*/
|
|
@@ -1135,14 +1749,15 @@ export namespace Components {
|
|
|
1135
1749
|
* @default new Map()
|
|
1136
1750
|
*/
|
|
1137
1751
|
"categorythereof": Map<string, Record<string, unknown>[]>;
|
|
1138
|
-
/**
|
|
1139
|
-
* @default []
|
|
1140
|
-
*/
|
|
1141
|
-
"data": TableDataRow[];
|
|
1142
1752
|
/**
|
|
1143
1753
|
* @default { percent: 2, decimal: 1 }
|
|
1144
1754
|
*/
|
|
1145
1755
|
"dataFormatDigits": DataFormatDigits;
|
|
1756
|
+
/**
|
|
1757
|
+
* Bumped by the outer `bn-table` whenever the dataset's data changes. Triggers a re-render via Stencil's prop-change detection.
|
|
1758
|
+
* @default 0
|
|
1759
|
+
*/
|
|
1760
|
+
"dataVersion": number;
|
|
1146
1761
|
/**
|
|
1147
1762
|
* @default ""
|
|
1148
1763
|
*/
|
|
@@ -1159,6 +1774,10 @@ export namespace Components {
|
|
|
1159
1774
|
* @default I18nMode.ALL
|
|
1160
1775
|
*/
|
|
1161
1776
|
"i18nMode": I18nMode;
|
|
1777
|
+
/**
|
|
1778
|
+
* @default "none"
|
|
1779
|
+
*/
|
|
1780
|
+
"interval": string;
|
|
1162
1781
|
/**
|
|
1163
1782
|
* @default 0
|
|
1164
1783
|
*/
|
|
@@ -1187,6 +1806,7 @@ export namespace Components {
|
|
|
1187
1806
|
* @default 0.5
|
|
1188
1807
|
*/
|
|
1189
1808
|
"percentageScaling": number;
|
|
1809
|
+
"ruleSetConfig"?: RuleSetConfig;
|
|
1190
1810
|
/**
|
|
1191
1811
|
* @default 1
|
|
1192
1812
|
*/
|
|
@@ -1199,6 +1819,10 @@ export namespace Components {
|
|
|
1199
1819
|
* @default DataFormat.DECIMAL
|
|
1200
1820
|
*/
|
|
1201
1821
|
"scenariosDataFormat": DataFormat;
|
|
1822
|
+
/**
|
|
1823
|
+
* Name of a registered component style, forwarded by the outer `bn-table`. Reflected so the `withComponentStyle` mixin can read the `selected-style` attribute from the host element.
|
|
1824
|
+
*/
|
|
1825
|
+
"selectedStyle"?: string;
|
|
1202
1826
|
/**
|
|
1203
1827
|
* @default true
|
|
1204
1828
|
*/
|
|
@@ -1208,9 +1832,15 @@ export namespace Components {
|
|
|
1208
1832
|
*/
|
|
1209
1833
|
"showMeasureScale": boolean;
|
|
1210
1834
|
/**
|
|
1835
|
+
* Label of the grand-total row (`sum` / `opt` types only). The default `SUM_TOTAL` is an i18n key that resolves to the IBCS total symbol (❖).
|
|
1211
1836
|
* @default "SUM_TOTAL"
|
|
1212
1837
|
*/
|
|
1213
|
-
"
|
|
1838
|
+
"sumTitle": string;
|
|
1839
|
+
/**
|
|
1840
|
+
* Name of the dataset (a table or view in the shared alasql database). The inner `Table` helper queries it directly — no array copy.
|
|
1841
|
+
* @default ""
|
|
1842
|
+
*/
|
|
1843
|
+
"tableName": string;
|
|
1214
1844
|
/**
|
|
1215
1845
|
* @default []
|
|
1216
1846
|
*/
|
|
@@ -1249,6 +1879,7 @@ export namespace Components {
|
|
|
1249
1879
|
* @default { hierarchy: [], direction: OrderDirection.ASC, }
|
|
1250
1880
|
*/
|
|
1251
1881
|
"order": Order;
|
|
1882
|
+
"ruleSetConfig"?: RuleSetConfig;
|
|
1252
1883
|
/**
|
|
1253
1884
|
* @default []
|
|
1254
1885
|
*/
|
|
@@ -1277,6 +1908,56 @@ declare global {
|
|
|
1277
1908
|
prototype: HTMLBnCardElement;
|
|
1278
1909
|
new (): HTMLBnCardElement;
|
|
1279
1910
|
};
|
|
1911
|
+
/**
|
|
1912
|
+
* SVG bubble chart following IBCS template C10.
|
|
1913
|
+
* Subscribes to a dataset (via `withDataset`) and renders an XY bubble
|
|
1914
|
+
* portfolio: bubble **area** is proportional to the size measure, marks
|
|
1915
|
+
* compose series hues with scenario treatments, an optional comparison
|
|
1916
|
+
* family overlays behind the primary set (10D), and `share` draws pie
|
|
1917
|
+
* sectors inside the bubbles (10E). The heavy SVG rendering is performed
|
|
1918
|
+
* by the inner `ibcs-chart-bubble` element; this facade validates props,
|
|
1919
|
+
* resolves auto-detected metadata, and computes styles.
|
|
1920
|
+
*/
|
|
1921
|
+
interface HTMLBnChartBubbleElement extends Components.BnChartBubble, HTMLStencilElement {
|
|
1922
|
+
}
|
|
1923
|
+
var HTMLBnChartBubbleElement: {
|
|
1924
|
+
prototype: HTMLBnChartBubbleElement;
|
|
1925
|
+
new (): HTMLBnChartBubbleElement;
|
|
1926
|
+
};
|
|
1927
|
+
/**
|
|
1928
|
+
* IBCS bullet graph: one horizontal row per KPI with a solid actual bar and
|
|
1929
|
+
* a target marker.
|
|
1930
|
+
* Subscribes to a dataset (via `withDataset`) and renders in the IBCS
|
|
1931
|
+
* default mode with **normalized targets** — every row is scaled to
|
|
1932
|
+
* fractions of its target so one continuous target line spans all rows and
|
|
1933
|
+
* KPIs become visually comparable — plus integrated variance bars in the
|
|
1934
|
+
* IBCS variance colors. The classic Stephen Few look is opt-in via
|
|
1935
|
+
* `normalize="none"` (per-row scales) and `ranges` (max two qualitative
|
|
1936
|
+
* gray bands). Actual and target scenarios are auto-detected from the
|
|
1937
|
+
* dataset meta when not set. The heavy SVG rendering is performed by the
|
|
1938
|
+
* inner `ibcs-chart-bullet` element; this facade validates props, resolves
|
|
1939
|
+
* auto-detected metadata, and computes styles.
|
|
1940
|
+
*/
|
|
1941
|
+
interface HTMLBnChartBulletElement extends Components.BnChartBullet, HTMLStencilElement {
|
|
1942
|
+
}
|
|
1943
|
+
var HTMLBnChartBulletElement: {
|
|
1944
|
+
prototype: HTMLBnChartBulletElement;
|
|
1945
|
+
new (): HTMLBnChartBulletElement;
|
|
1946
|
+
};
|
|
1947
|
+
/**
|
|
1948
|
+
* SVG scattergram following IBCS template C09.
|
|
1949
|
+
* Subscribes to a dataset (via `withDataset`) and renders an XY point cloud
|
|
1950
|
+
* with series hues, selective labels, highlight bands, and hyperbolic
|
|
1951
|
+
* iso-lines (`x·y = k`). The heavy SVG rendering is performed by the inner
|
|
1952
|
+
* `ibcs-chart-scatter` element; this facade validates props, resolves
|
|
1953
|
+
* auto-detected metadata, and computes styles.
|
|
1954
|
+
*/
|
|
1955
|
+
interface HTMLBnChartScatterElement extends Components.BnChartScatter, HTMLStencilElement {
|
|
1956
|
+
}
|
|
1957
|
+
var HTMLBnChartScatterElement: {
|
|
1958
|
+
prototype: HTMLBnChartScatterElement;
|
|
1959
|
+
new (): HTMLBnChartScatterElement;
|
|
1960
|
+
};
|
|
1280
1961
|
/**
|
|
1281
1962
|
* SVG structure (categorical) bar chart following IBCS standards.
|
|
1282
1963
|
* Subscribes to a dataset (via `withDataset`) and renders horizontal bar
|
|
@@ -1322,10 +2003,14 @@ declare global {
|
|
|
1322
2003
|
/**
|
|
1323
2004
|
* Queries data from one or more `bn-datasource` entries via AlaSQL and
|
|
1324
2005
|
* writes the result to the `datasets` store (+ computed `DatasetMeta`).
|
|
1325
|
-
* The
|
|
1326
|
-
*
|
|
1327
|
-
*
|
|
1328
|
-
*
|
|
2006
|
+
* The body content is observed via `withBodyObserver` and may be:
|
|
2007
|
+
* 1. **SQL** (default) — AlaSQL query against referenced `datasources`.
|
|
2008
|
+
* 2. **Static JSON** — set `static="true"` to bypass SQL and write the
|
|
2009
|
+
* parsed body directly to the `datasets` store.
|
|
2010
|
+
* 3. **URL** — place an `http://`/`https://` URL or a same-origin path
|
|
2011
|
+
* starting with `/` in the body to fetch JSON from an HTTP endpoint and
|
|
2012
|
+
* write it to the `datasets` store. Set the `interval` prop (in seconds)
|
|
2013
|
+
* to enable periodic re-fetching.
|
|
1329
2014
|
*/
|
|
1330
2015
|
interface HTMLBnDatasetElement extends Components.BnDataset, HTMLStencilElement {
|
|
1331
2016
|
}
|
|
@@ -1334,11 +2019,16 @@ declare global {
|
|
|
1334
2019
|
new (): HTMLBnDatasetElement;
|
|
1335
2020
|
};
|
|
1336
2021
|
/**
|
|
1337
|
-
* Ingests
|
|
1338
|
-
* Data
|
|
1339
|
-
*
|
|
1340
|
-
*
|
|
1341
|
-
*
|
|
2022
|
+
* Ingests data and writes it to the scoped `datasources` store.
|
|
2023
|
+
* Data can be provided in three ways:
|
|
2024
|
+
* 1. **Inline JSON** — Place JSON text inside the element body (default).
|
|
2025
|
+
* 2. **Compressed payload** — Set `raw="false"` and provide `<hash>:<base64_gzip>` format.
|
|
2026
|
+
* 3. **URL** — Place an `http://`/`https://` URL or a same-origin path
|
|
2027
|
+
* starting with `/` in the body to fetch JSON from an HTTP endpoint.
|
|
2028
|
+
* In URL mode the component fetches JSON from the URL. Set the `interval`
|
|
2029
|
+
* prop (in seconds) to enable periodic re-fetching (polling).
|
|
2030
|
+
* Other components (e.g. `bn-dataset`) reference the stored data by the
|
|
2031
|
+
* `name` prop to run queries against it.
|
|
1342
2032
|
*/
|
|
1343
2033
|
interface HTMLBnDatasourceElement extends Components.BnDatasource, HTMLStencilElement {
|
|
1344
2034
|
}
|
|
@@ -1399,6 +2089,28 @@ declare global {
|
|
|
1399
2089
|
prototype: HTMLBnPageElement;
|
|
1400
2090
|
new (): HTMLBnPageElement;
|
|
1401
2091
|
};
|
|
2092
|
+
interface HTMLBnRulesetElement extends Components.BnRuleset, HTMLStencilElement {
|
|
2093
|
+
}
|
|
2094
|
+
var HTMLBnRulesetElement: {
|
|
2095
|
+
prototype: HTMLBnRulesetElement;
|
|
2096
|
+
new (): HTMLBnRulesetElement;
|
|
2097
|
+
};
|
|
2098
|
+
/**
|
|
2099
|
+
* Defines a named scaling value that chart and table components can reference
|
|
2100
|
+
* via their `unit-scaling` or `percentage-scaling` attributes.
|
|
2101
|
+
* Multiple components sharing the same group name will use the same scaling
|
|
2102
|
+
* value, allowing synchronized scaling across an entire page or section.
|
|
2103
|
+
* The reserved name `"auto"` is not allowed and will be ignored with a warning.
|
|
2104
|
+
* @example <bn-scaling-group name="revenue" value="0.05"></bn-scaling-group>
|
|
2105
|
+
* <bn-chart-structure unit-scaling="revenue" ...></bn-chart-structure>
|
|
2106
|
+
* <bn-table unit-scaling="revenue" ...></bn-table>
|
|
2107
|
+
*/
|
|
2108
|
+
interface HTMLBnScalingGroupElement extends Components.BnScalingGroup, HTMLStencilElement {
|
|
2109
|
+
}
|
|
2110
|
+
var HTMLBnScalingGroupElement: {
|
|
2111
|
+
prototype: HTMLBnScalingGroupElement;
|
|
2112
|
+
new (): HTMLBnScalingGroupElement;
|
|
2113
|
+
};
|
|
1402
2114
|
/**
|
|
1403
2115
|
* Public-facing wrapper for the IBCS table component.
|
|
1404
2116
|
* Accepts user-facing string/number props, validates them, and converts
|
|
@@ -1468,6 +2180,39 @@ declare global {
|
|
|
1468
2180
|
prototype: HTMLEditorCompanionElement;
|
|
1469
2181
|
new (): HTMLEditorCompanionElement;
|
|
1470
2182
|
};
|
|
2183
|
+
/**
|
|
2184
|
+
* Inner presentational element of `bn-chart-bubble`: owns the
|
|
2185
|
+
* {@link BubbleChart} orchestrator and emits its SVG string. All props
|
|
2186
|
+
* arrive validated and parsed from the facade.
|
|
2187
|
+
*/
|
|
2188
|
+
interface HTMLIbcsChartBubbleElement extends Components.IbcsChartBubble, HTMLStencilElement {
|
|
2189
|
+
}
|
|
2190
|
+
var HTMLIbcsChartBubbleElement: {
|
|
2191
|
+
prototype: HTMLIbcsChartBubbleElement;
|
|
2192
|
+
new (): HTMLIbcsChartBubbleElement;
|
|
2193
|
+
};
|
|
2194
|
+
/**
|
|
2195
|
+
* Inner presentational element of `bn-chart-bullet`: owns the
|
|
2196
|
+
* {@link BulletChart} orchestrator and emits its SVG string. All props
|
|
2197
|
+
* arrive validated and parsed from the facade.
|
|
2198
|
+
*/
|
|
2199
|
+
interface HTMLIbcsChartBulletElement extends Components.IbcsChartBullet, HTMLStencilElement {
|
|
2200
|
+
}
|
|
2201
|
+
var HTMLIbcsChartBulletElement: {
|
|
2202
|
+
prototype: HTMLIbcsChartBulletElement;
|
|
2203
|
+
new (): HTMLIbcsChartBulletElement;
|
|
2204
|
+
};
|
|
2205
|
+
/**
|
|
2206
|
+
* Inner presentational element of `bn-chart-scatter`: owns the
|
|
2207
|
+
* {@link ScatterChart} orchestrator and emits its SVG string. All props
|
|
2208
|
+
* arrive validated and parsed from the facade.
|
|
2209
|
+
*/
|
|
2210
|
+
interface HTMLIbcsChartScatterElement extends Components.IbcsChartScatter, HTMLStencilElement {
|
|
2211
|
+
}
|
|
2212
|
+
var HTMLIbcsChartScatterElement: {
|
|
2213
|
+
prototype: HTMLIbcsChartScatterElement;
|
|
2214
|
+
new (): HTMLIbcsChartScatterElement;
|
|
2215
|
+
};
|
|
1471
2216
|
interface HTMLIbcsChartStructureElement extends Components.IbcsChartStructure, HTMLStencilElement {
|
|
1472
2217
|
}
|
|
1473
2218
|
var HTMLIbcsChartStructureElement: {
|
|
@@ -1504,6 +2249,9 @@ declare global {
|
|
|
1504
2249
|
"bn-asset": HTMLBnAssetElement;
|
|
1505
2250
|
"bn-body": HTMLBnBodyElement;
|
|
1506
2251
|
"bn-card": HTMLBnCardElement;
|
|
2252
|
+
"bn-chart-bubble": HTMLBnChartBubbleElement;
|
|
2253
|
+
"bn-chart-bullet": HTMLBnChartBulletElement;
|
|
2254
|
+
"bn-chart-scatter": HTMLBnChartScatterElement;
|
|
1507
2255
|
"bn-chart-structure": HTMLBnChartStructureElement;
|
|
1508
2256
|
"bn-chart-time": HTMLBnChartTimeElement;
|
|
1509
2257
|
"bn-component-style": HTMLBnComponentStyleElement;
|
|
@@ -1518,12 +2266,17 @@ declare global {
|
|
|
1518
2266
|
"bn-layout-page": HTMLBnLayoutPageElement;
|
|
1519
2267
|
"bn-message": HTMLBnMessageElement;
|
|
1520
2268
|
"bn-page": HTMLBnPageElement;
|
|
2269
|
+
"bn-ruleset": HTMLBnRulesetElement;
|
|
2270
|
+
"bn-scaling-group": HTMLBnScalingGroupElement;
|
|
1521
2271
|
"bn-table": HTMLBnTableElement;
|
|
1522
2272
|
"bn-template": HTMLBnTemplateElement;
|
|
1523
2273
|
"bn-text": HTMLBnTextElement;
|
|
1524
2274
|
"bn-title": HTMLBnTitleElement;
|
|
1525
2275
|
"bn-tree": HTMLBnTreeElement;
|
|
1526
2276
|
"editor-companion": HTMLEditorCompanionElement;
|
|
2277
|
+
"ibcs-chart-bubble": HTMLIbcsChartBubbleElement;
|
|
2278
|
+
"ibcs-chart-bullet": HTMLIbcsChartBulletElement;
|
|
2279
|
+
"ibcs-chart-scatter": HTMLIbcsChartScatterElement;
|
|
1527
2280
|
"ibcs-chart-structure": HTMLIbcsChartStructureElement;
|
|
1528
2281
|
"ibcs-chart-time": HTMLIbcsChartTimeElement;
|
|
1529
2282
|
"ibcs-table": HTMLIbcsTableElement;
|
|
@@ -1543,6 +2296,253 @@ declare namespace LocalJSX {
|
|
|
1543
2296
|
}
|
|
1544
2297
|
interface BnCard {
|
|
1545
2298
|
}
|
|
2299
|
+
/**
|
|
2300
|
+
* SVG bubble chart following IBCS template C10.
|
|
2301
|
+
* Subscribes to a dataset (via `withDataset`) and renders an XY bubble
|
|
2302
|
+
* portfolio: bubble **area** is proportional to the size measure, marks
|
|
2303
|
+
* compose series hues with scenario treatments, an optional comparison
|
|
2304
|
+
* family overlays behind the primary set (10D), and `share` draws pie
|
|
2305
|
+
* sectors inside the bubbles (10E). The heavy SVG rendering is performed
|
|
2306
|
+
* by the inner `ibcs-chart-bubble` element; this facade validates props,
|
|
2307
|
+
* resolves auto-detected metadata, and computes styles.
|
|
2308
|
+
*/
|
|
2309
|
+
interface BnChartBubble {
|
|
2310
|
+
/**
|
|
2311
|
+
* Plot aspect ratio as `"w:h"` (default `"16:9"`). XY charts have no data-driven height; this is the explicit height control.
|
|
2312
|
+
* @default "16:9"
|
|
2313
|
+
*/
|
|
2314
|
+
"aspect"?: string;
|
|
2315
|
+
/**
|
|
2316
|
+
* Custom chart title
|
|
2317
|
+
* @default ""
|
|
2318
|
+
*/
|
|
2319
|
+
"chartTitle"?: string;
|
|
2320
|
+
/**
|
|
2321
|
+
* Comparison scenario family (`ac`/`pp`/`fc`/`pl`) overlaid behind the primary set from the same slot numbers (IBCS 10D). Must differ from the primary family; invalid with variance-token axes.
|
|
2322
|
+
* @default ""
|
|
2323
|
+
*/
|
|
2324
|
+
"compareWith"?: string;
|
|
2325
|
+
/**
|
|
2326
|
+
* Small-multiple panels (IBCS 10E/10F/10G). JSON object: `{"level":"rowgroup"|"category","columns":6}`. The facet level must sit above the series level in the hierarchy.
|
|
2327
|
+
* @default ""
|
|
2328
|
+
*/
|
|
2329
|
+
"facet"?: string;
|
|
2330
|
+
/**
|
|
2331
|
+
* AlaSQL WHERE clause fragment injected into the data query to filter rows before rendering (e.g. `"rowGroup = 'Revenue'"`).
|
|
2332
|
+
* @default ""
|
|
2333
|
+
*/
|
|
2334
|
+
"filter"?: string;
|
|
2335
|
+
/**
|
|
2336
|
+
* Point labeling. JSON object: `{"points":"auto"|"none"|"all"|["VAB"], "values":true,"max":12}`. Bubble charts label every point by default; `values` renders the value inside the bubble.
|
|
2337
|
+
* @default ""
|
|
2338
|
+
*/
|
|
2339
|
+
"labels"?: string;
|
|
2340
|
+
/**
|
|
2341
|
+
* Legend (series colors, bubble size caption, comparison scenarios). JSON object: `{"show":true,"position":"right"|"bottom"}`.
|
|
2342
|
+
* @default ""
|
|
2343
|
+
*/
|
|
2344
|
+
"legend"?: string;
|
|
2345
|
+
/**
|
|
2346
|
+
* Point identity level: `auto` (deepest populated level from the dataset meta), `category`, or `subcategory`.
|
|
2347
|
+
* @default "auto"
|
|
2348
|
+
*/
|
|
2349
|
+
"level"?: string;
|
|
2350
|
+
/**
|
|
2351
|
+
* Maximum number of bubbles per panel (0 = unlimited); keeps the top N by size.
|
|
2352
|
+
* @default 0
|
|
2353
|
+
*/
|
|
2354
|
+
"limit"?: number;
|
|
2355
|
+
/**
|
|
2356
|
+
* Name of a registered IBCS rule set (see `bn-ruleset`) used for scenario treatments and display names. Supports `"inherited-closest"` / `"inherited-page"` to take over the value from an ancestor `bn-layout-card` / `bn-layout-page`.
|
|
2357
|
+
*/
|
|
2358
|
+
"ruleset"?: string;
|
|
2359
|
+
/**
|
|
2360
|
+
* Font-size auto-fit: `""`/`auto` shrink to the parent width (with/without a warning), `none` disables, a number applies a fixed factor.
|
|
2361
|
+
*/
|
|
2362
|
+
"scale"?: string;
|
|
2363
|
+
/**
|
|
2364
|
+
* Series (color) grouping level: `auto` (parent of the point level), `rowgroup`, `category`, or `none` (single series).
|
|
2365
|
+
* @default "auto"
|
|
2366
|
+
*/
|
|
2367
|
+
"seriesLevel"?: string;
|
|
2368
|
+
/**
|
|
2369
|
+
* Pie-share slices inside the bubbles (IBCS 10E). JSON object or bare token; the measure holds a fraction 0..1 of the bubble.
|
|
2370
|
+
* @default ""
|
|
2371
|
+
*/
|
|
2372
|
+
"share"?: string;
|
|
2373
|
+
/**
|
|
2374
|
+
* Bubble size mapping (required). Bubble **area** is proportional to the value; values must be >= 0. JSON object or bare token: `{"measure":"ac3","label":"Net sales","unit":"mEUR", "group":"netsales-area"}`. `group` references a `bn-scaling-group` for cross-chart value→area synchronization.
|
|
2375
|
+
*/
|
|
2376
|
+
"size": string;
|
|
2377
|
+
/**
|
|
2378
|
+
* X axis mapping. JSON object (`AxisSpec`) or a bare measure token as shorthand: `{"measure":"ac1","label":"Market attractiveness", "refLine":0.5}`.
|
|
2379
|
+
*/
|
|
2380
|
+
"x": string;
|
|
2381
|
+
/**
|
|
2382
|
+
* Y axis mapping — same shape as `x`.
|
|
2383
|
+
*/
|
|
2384
|
+
"y": string;
|
|
2385
|
+
}
|
|
2386
|
+
/**
|
|
2387
|
+
* IBCS bullet graph: one horizontal row per KPI with a solid actual bar and
|
|
2388
|
+
* a target marker.
|
|
2389
|
+
* Subscribes to a dataset (via `withDataset`) and renders in the IBCS
|
|
2390
|
+
* default mode with **normalized targets** — every row is scaled to
|
|
2391
|
+
* fractions of its target so one continuous target line spans all rows and
|
|
2392
|
+
* KPIs become visually comparable — plus integrated variance bars in the
|
|
2393
|
+
* IBCS variance colors. The classic Stephen Few look is opt-in via
|
|
2394
|
+
* `normalize="none"` (per-row scales) and `ranges` (max two qualitative
|
|
2395
|
+
* gray bands). Actual and target scenarios are auto-detected from the
|
|
2396
|
+
* dataset meta when not set. The heavy SVG rendering is performed by the
|
|
2397
|
+
* inner `ibcs-chart-bullet` element; this facade validates props, resolves
|
|
2398
|
+
* auto-detected metadata, and computes styles.
|
|
2399
|
+
*/
|
|
2400
|
+
interface BnChartBullet {
|
|
2401
|
+
/**
|
|
2402
|
+
* Actual-value measure. JSON object or a bare scenario slot as shorthand: `{"measure":"ac1","label":"Revenue","unit":"EUR k"}`. Only plain scenario slots (`ac1`…`pl4`) are allowed — variance tokens are not. Empty or `"auto"` auto-detects (`ac1`, else the first available scenario).
|
|
2403
|
+
* @default ""
|
|
2404
|
+
*/
|
|
2405
|
+
"actual"?: string;
|
|
2406
|
+
/**
|
|
2407
|
+
* Custom chart title
|
|
2408
|
+
* @default ""
|
|
2409
|
+
*/
|
|
2410
|
+
"chartTitle"?: string;
|
|
2411
|
+
/**
|
|
2412
|
+
* AlaSQL WHERE clause fragment injected into the data query to filter rows before rendering (e.g. `"rowGroup = 'Revenue'"`).
|
|
2413
|
+
* @default ""
|
|
2414
|
+
*/
|
|
2415
|
+
"filter"?: string;
|
|
2416
|
+
/**
|
|
2417
|
+
* Value labels. JSON object: `{"show":"auto"|"none","decimals":1}`.
|
|
2418
|
+
* @default ""
|
|
2419
|
+
*/
|
|
2420
|
+
"labels"?: string;
|
|
2421
|
+
/**
|
|
2422
|
+
* KPI row level: `auto` (deepest populated level from the dataset meta), `rowgroup`, `category`, or `subcategory`.
|
|
2423
|
+
* @default "auto"
|
|
2424
|
+
*/
|
|
2425
|
+
"level"?: string;
|
|
2426
|
+
/**
|
|
2427
|
+
* Maximum number of KPI rows (0 = unlimited). Truncates — there is no REST aggregate, summing heterogeneous KPIs would be meaningless.
|
|
2428
|
+
* @default 0
|
|
2429
|
+
*/
|
|
2430
|
+
"limit"?: number;
|
|
2431
|
+
/**
|
|
2432
|
+
* Target normalization: `target` (default — rows share an aligned target position, the IBCS-comparable form) or `none` (classic per-row scales with tick strips).
|
|
2433
|
+
* @default "target"
|
|
2434
|
+
*/
|
|
2435
|
+
"normalize"?: string;
|
|
2436
|
+
/**
|
|
2437
|
+
* Sort key(s) of the KPI rows: hierarchy columns or scenario slots (e.g. `"ac1"`), comma-separated for multi-level sorting. Empty or `"auto"` uses the dataset's suggested order.
|
|
2438
|
+
* @default ""
|
|
2439
|
+
*/
|
|
2440
|
+
"order"?: string;
|
|
2441
|
+
/**
|
|
2442
|
+
* Sorting direction: `asc` or `desc`.
|
|
2443
|
+
* @default ""
|
|
2444
|
+
*/
|
|
2445
|
+
"orderDirection"?: string;
|
|
2446
|
+
/**
|
|
2447
|
+
* Qualitative range bands as a JSON array of ascending fractions of the target, at most two — e.g. `[0.6, 0.9]` (IBCS rejects a third band of arbitrary length). Classic mode only; ignored while `normalize` is `"target"`.
|
|
2448
|
+
* @default ""
|
|
2449
|
+
*/
|
|
2450
|
+
"ranges"?: string;
|
|
2451
|
+
/**
|
|
2452
|
+
* Name of a registered IBCS rule set (see `bn-ruleset`) used for scenario treatments and display names. Supports `"inherited-closest"` / `"inherited-page"` to take over the value from an ancestor `bn-layout-card` / `bn-layout-page`.
|
|
2453
|
+
*/
|
|
2454
|
+
"ruleset"?: string;
|
|
2455
|
+
/**
|
|
2456
|
+
* Font-size auto-fit: `""`/`auto` shrink to the parent height (with/without a warning), `none` disables, a number applies a fixed factor.
|
|
2457
|
+
*/
|
|
2458
|
+
"scale"?: string;
|
|
2459
|
+
/**
|
|
2460
|
+
* Target measure — same shape as `actual`. Empty or `"auto"` auto-detects (`pl1` > `pp1` > `fc1`); without any target scenario the chart renders actual bars only.
|
|
2461
|
+
* @default ""
|
|
2462
|
+
*/
|
|
2463
|
+
"target"?: string;
|
|
2464
|
+
/**
|
|
2465
|
+
* Variance bars between actual and target: `auto` (default — drawn in normalized mode, favorable/unfavorable in the IBCS variance colors) or `none`.
|
|
2466
|
+
* @default "auto"
|
|
2467
|
+
*/
|
|
2468
|
+
"variances"?: string;
|
|
2469
|
+
}
|
|
2470
|
+
/**
|
|
2471
|
+
* SVG scattergram following IBCS template C09.
|
|
2472
|
+
* Subscribes to a dataset (via `withDataset`) and renders an XY point cloud
|
|
2473
|
+
* with series hues, selective labels, highlight bands, and hyperbolic
|
|
2474
|
+
* iso-lines (`x·y = k`). The heavy SVG rendering is performed by the inner
|
|
2475
|
+
* `ibcs-chart-scatter` element; this facade validates props, resolves
|
|
2476
|
+
* auto-detected metadata, and computes styles.
|
|
2477
|
+
*/
|
|
2478
|
+
interface BnChartScatter {
|
|
2479
|
+
/**
|
|
2480
|
+
* Plot aspect ratio as `"w:h"` (default `"16:9"`). XY charts have no data-driven height; this is the explicit height control.
|
|
2481
|
+
* @default "16:9"
|
|
2482
|
+
*/
|
|
2483
|
+
"aspect"?: string;
|
|
2484
|
+
/**
|
|
2485
|
+
* Custom chart title
|
|
2486
|
+
* @default ""
|
|
2487
|
+
*/
|
|
2488
|
+
"chartTitle"?: string;
|
|
2489
|
+
/**
|
|
2490
|
+
* Small-multiple panels (IBCS 10E/10F/10G style). JSON object: `{"level":"rowgroup"|"category","columns":6}`. The facet level must sit above the series level in the hierarchy.
|
|
2491
|
+
* @default ""
|
|
2492
|
+
*/
|
|
2493
|
+
"facet"?: string;
|
|
2494
|
+
/**
|
|
2495
|
+
* AlaSQL WHERE clause fragment injected into the data query to filter rows before rendering (e.g. `"rowGroup = 'Revenue'"`).
|
|
2496
|
+
* @default ""
|
|
2497
|
+
*/
|
|
2498
|
+
"filter"?: string;
|
|
2499
|
+
/**
|
|
2500
|
+
* Hyperbolic iso-lines `x·y = k` (IBCS 09C/09D). JSON object: `{"values":"auto"|[1,2,3],"label":"Gross profit","unit":"mUSD", "highlight":{"from":3}}`. Requires a strictly positive plot domain.
|
|
2501
|
+
* @default ""
|
|
2502
|
+
*/
|
|
2503
|
+
"iso"?: string;
|
|
2504
|
+
/**
|
|
2505
|
+
* Point labeling. JSON object: `{"points":"auto"|"none"|"all"|["VAB"], "max":12}` (IBCS requires selective, proximate labels).
|
|
2506
|
+
* @default ""
|
|
2507
|
+
*/
|
|
2508
|
+
"labels"?: string;
|
|
2509
|
+
/**
|
|
2510
|
+
* Series-color legend. JSON object: `{"show":true,"position":"right"|"bottom"}`.
|
|
2511
|
+
* @default ""
|
|
2512
|
+
*/
|
|
2513
|
+
"legend"?: string;
|
|
2514
|
+
/**
|
|
2515
|
+
* Point identity level: `auto` (deepest populated level from the dataset meta), `category`, or `subcategory`.
|
|
2516
|
+
* @default "auto"
|
|
2517
|
+
*/
|
|
2518
|
+
"level"?: string;
|
|
2519
|
+
/**
|
|
2520
|
+
* Maximum number of points per panel (0 = unlimited). Scatter keeps the first N rows in dataset order.
|
|
2521
|
+
* @default 0
|
|
2522
|
+
*/
|
|
2523
|
+
"limit"?: number;
|
|
2524
|
+
/**
|
|
2525
|
+
* Name of a registered IBCS rule set (see `bn-ruleset`) used for scenario treatments and display names. Supports `"inherited-closest"` / `"inherited-page"` to take over the value from an ancestor `bn-layout-card` / `bn-layout-page`.
|
|
2526
|
+
*/
|
|
2527
|
+
"ruleset"?: string;
|
|
2528
|
+
/**
|
|
2529
|
+
* Font-size auto-fit: `""`/`auto` shrink to the parent width (with/without a warning), `none` disables, a number applies a fixed factor.
|
|
2530
|
+
*/
|
|
2531
|
+
"scale"?: string;
|
|
2532
|
+
/**
|
|
2533
|
+
* Series (color) grouping level: `auto` (parent of the point level), `rowgroup`, `category`, or `none` (single series).
|
|
2534
|
+
* @default "auto"
|
|
2535
|
+
*/
|
|
2536
|
+
"seriesLevel"?: string;
|
|
2537
|
+
/**
|
|
2538
|
+
* X axis mapping. JSON object (`AxisSpec`) or a bare measure token as shorthand: `{"measure":"ac1","label":"Margin","unit":"%","min":0, "max":40,"refLine":0.5,"highlight":{"from":30}}`. The measure is a scenario column (`ac1`…`pl4`) or a variance token (`d…`/`dr…`, sentiment suffix optional).
|
|
2539
|
+
*/
|
|
2540
|
+
"x": string;
|
|
2541
|
+
/**
|
|
2542
|
+
* Y axis mapping — same shape as `x`.
|
|
2543
|
+
*/
|
|
2544
|
+
"y": string;
|
|
2545
|
+
}
|
|
1546
2546
|
/**
|
|
1547
2547
|
* SVG structure (categorical) bar chart following IBCS standards.
|
|
1548
2548
|
* Subscribes to a dataset (via `withDataset`) and renders horizontal bar
|
|
@@ -1600,10 +2600,15 @@ declare namespace LocalJSX {
|
|
|
1600
2600
|
*/
|
|
1601
2601
|
"orderDirection": string;
|
|
1602
2602
|
/**
|
|
1603
|
-
* Controls scaling of relative variance bars (pixels per percentage point). | Value | Behavior | |----------------|---------------------------------------------------------------| | `"auto"` | Auto-fit to available width | | not set / `""` | Same as auto with warning | | `"50"`, `1.5` | Explicit pixels-per-percentage-point value | | group name | References a
|
|
2603
|
+
* Controls scaling of relative variance bars (pixels per percentage point). | Value | Behavior | |----------------|---------------------------------------------------------------| | `"auto"` | Auto-fit to available width | | not set / `""` | Same as auto with warning | | `"50"`, `1.5` | Explicit pixels-per-percentage-point value | | group name | References a `<bn-scaling-group>` for synchronized scaling |
|
|
1604
2604
|
* @example percentage-scaling="50"
|
|
2605
|
+
* @example percentage-scaling="pct-scale"
|
|
1605
2606
|
*/
|
|
1606
2607
|
"percentageScaling": string | number;
|
|
2608
|
+
/**
|
|
2609
|
+
* Name of a registered IBCS rule set (see `bn-ruleset`) used for scenario ordering. Supports `"inherited-closest"` / `"inherited-page"` to take over the value from an ancestor `bn-layout-card` / `bn-layout-page`.
|
|
2610
|
+
*/
|
|
2611
|
+
"ruleset"?: string;
|
|
1607
2612
|
/**
|
|
1608
2613
|
* Controls proportional scaling of the chart to fit the available parent height. | Value | Behavior | |---------------------|-----------------------------------------------------------------------------------| | not set / `""` | Auto-scale to fit parent height; emit `AUTO_scale` warning with the applied factor | | `"none"` | No scaling (render at base font size regardless of available space) | | `"auto"` | Auto-scale to fit parent height silently (no warning) | | `"0.5"`, `"1.2"`, … | Fixed factor — apply `baseFontSize × factor` |
|
|
1609
2614
|
*/
|
|
@@ -1633,9 +2638,10 @@ declare namespace LocalJSX {
|
|
|
1633
2638
|
*/
|
|
1634
2639
|
"stack"?: string;
|
|
1635
2640
|
/**
|
|
1636
|
-
* Controls horizontal bar scaling (pixels per data unit). | Value | Behavior | |----------------|-----------------------------------------------------------------| | `"auto"` | Auto-fit bars to fill the available container width (no warning) | | not set / `""` | Same as auto, but emits `AUTO_unitScaling` warning | | `"0.03"`, `1` | Explicit pixels-per-unit value; bars scale proportionally | | group name | References a
|
|
2641
|
+
* Controls horizontal bar scaling (pixels per data unit). | Value | Behavior | |----------------|-----------------------------------------------------------------| | `"auto"` | Auto-fit bars to fill the available container width (no warning) | | not set / `""` | Same as auto, but emits `AUTO_unitScaling` warning | | `"0.03"`, `1` | Explicit pixels-per-unit value; bars scale proportionally | | group name | References a `<bn-scaling-group>` for synchronized scaling | When using a custom value that causes the chart to exceed its container, a `WARN_overflow` error is emitted.
|
|
1637
2642
|
* @example unit-scaling="auto"
|
|
1638
2643
|
* @example unit-scaling="0.05"
|
|
2644
|
+
* @example unit-scaling="revenue-scale"
|
|
1639
2645
|
*/
|
|
1640
2646
|
"unitScaling": string | number;
|
|
1641
2647
|
/**
|
|
@@ -1721,9 +2727,15 @@ declare namespace LocalJSX {
|
|
|
1721
2727
|
*/
|
|
1722
2728
|
"orderDirection": string;
|
|
1723
2729
|
/**
|
|
1724
|
-
*
|
|
2730
|
+
* Pixels per percentage point for relative variance bars/pins. | Value | Behavior | |----------------|---------------------------------------------------------------| | `"auto"` | Auto-fit to available height (same two-pass as unit-scaling) | | not set / `""` | Same as auto with `AUTO_percentageScaling` warning | | `"50"`, `1.5` | Explicit pixels-per-percentage-point value | | group name | References a `<bn-scaling-group>` for synchronized scaling |
|
|
2731
|
+
* @example percentage-scaling="50"
|
|
2732
|
+
* @example percentage-scaling="pct-scale"
|
|
1725
2733
|
*/
|
|
1726
2734
|
"percentageScaling": string | number;
|
|
2735
|
+
/**
|
|
2736
|
+
* Name of a registered IBCS rule set (see `bn-ruleset`) used for scenario ordering. Supports `"inherited-closest"` / `"inherited-page"` to take over the value from an ancestor `bn-layout-card` / `bn-layout-page`.
|
|
2737
|
+
*/
|
|
2738
|
+
"ruleset"?: string;
|
|
1727
2739
|
/**
|
|
1728
2740
|
* Controls proportional scaling of the chart to fit the available parent width. | Value | Behavior | |---------------------|-----------------------------------------------------------------------------------| | not set / `""` | Auto-scale to fit parent width; emit `AUTO_scale` warning with the applied factor | | `"none"` | No scaling (render at base font size regardless of available space) | | `"auto"` | Auto-scale to fit parent width silently (no warning) | | `"0.5"`, `"1.2"`, … | Fixed factor — apply `baseFontSize × factor` |
|
|
1729
2741
|
*/
|
|
@@ -1750,7 +2762,7 @@ declare namespace LocalJSX {
|
|
|
1750
2762
|
*/
|
|
1751
2763
|
"showOverlayMedian"?: string;
|
|
1752
2764
|
/**
|
|
1753
|
-
* Stacking configuration for the chart as a JSON string. When set, bars/columns are drawn stacked (additive layers) instead of side-by-side. In line mode (`chart-mode="line"`), stacking produces a stacked area chart with filled regions between cumulative lines. **JSON schema:** ```json { "by": "scenario" | "category" | "subcategory" | "rowgroup", "mode": "absolute" | "relative" | "absolute-relative", "order": "asc" | "desc" | "dataset" } ``` - `by` (required): The dimension to stack. - `"scenario"` — stack the scenarios from the `scenarios` prop as layers. - `"category"` / `"subcategory"` / `"rowgroup"` — decompose a single scenario by this data dimension. Must be finer than `level`. - `mode` (optional, default `"absolute"`): - `"absolute"` — additive stacking, axis shows absolute units. - `"relative"` — 100% stacking, axis shows 0%–100%. - `"absolute-relative"` — bar height is absolute (real value), but segment labels inside show percentages. - `order` (optional, default `"dataset"`): Segment order within each stack. `"asc"` / `"desc"` sort segments by value; `"dataset"` preserves the original data/scenario order.
|
|
2765
|
+
* Stacking configuration for the chart as a JSON string. When set, bars/columns are drawn stacked (additive layers) instead of side-by-side. In line mode (`chart-mode="line"`), stacking produces a stacked area chart with filled regions between cumulative lines. **JSON schema:** ```json { "by": "scenario" | "category" | "subcategory" | "rowgroup", "mode": "absolute" | "relative" | "absolute-relative", "order": "asc" | "desc" | "dataset" } ``` - `by` (required): The dimension to stack. - `"scenario"` — stack the scenarios from the `scenarios` prop as layers. - `"category"` / `"subcategory"` / `"rowgroup"` — decompose a single scenario by this data dimension. Must be finer than `level`. - `mode` (optional, default `"absolute"`): - `"absolute"` — additive stacking, axis shows absolute units. - `"relative"` — 100% stacking, axis shows 0%–100%. `unit-scaling` is interpreted as pixels per percentage point (e.g. `0.4` → 40px full stack); `"auto"` fits the stack to the available height as usual. - `"absolute-relative"` — bar height is absolute (real value), but segment labels inside show percentages. - `order` (optional, default `"dataset"`): Segment order within each stack. `"asc"` / `"desc"` sort segments by value; `"dataset"` preserves the original data/scenario order.
|
|
1754
2766
|
* @default '' (empty — no stacking)
|
|
1755
2767
|
* @example // Stack scenarios stack='{"by":"scenario"}'
|
|
1756
2768
|
* @example // Stack by category, relative mode stack='{"by":"category","mode":"relative"}'
|
|
@@ -1761,7 +2773,10 @@ declare namespace LocalJSX {
|
|
|
1761
2773
|
*/
|
|
1762
2774
|
"syncSpaceLeft"?: number;
|
|
1763
2775
|
/**
|
|
1764
|
-
*
|
|
2776
|
+
* Controls vertical bar scaling (pixels per data unit). | Value | Behavior | |----------------|-----------------------------------------------------------------| | `"auto"` | Auto-fit bars to fill the available container height | | not set / `""` | Same as auto, but emits `AUTO_unitScaling` warning | | `"0.03"`, `1` | Explicit pixels-per-unit value; bars scale proportionally | | group name | References a `<bn-scaling-group>` for synchronized scaling |
|
|
2777
|
+
* @example unit-scaling="auto"
|
|
2778
|
+
* @example unit-scaling="0.05"
|
|
2779
|
+
* @example unit-scaling="revenue-scale"
|
|
1765
2780
|
*/
|
|
1766
2781
|
"unitScaling": string | number;
|
|
1767
2782
|
/**
|
|
@@ -1781,10 +2796,14 @@ declare namespace LocalJSX {
|
|
|
1781
2796
|
/**
|
|
1782
2797
|
* Queries data from one or more `bn-datasource` entries via AlaSQL and
|
|
1783
2798
|
* writes the result to the `datasets` store (+ computed `DatasetMeta`).
|
|
1784
|
-
* The
|
|
1785
|
-
*
|
|
1786
|
-
*
|
|
1787
|
-
*
|
|
2799
|
+
* The body content is observed via `withBodyObserver` and may be:
|
|
2800
|
+
* 1. **SQL** (default) — AlaSQL query against referenced `datasources`.
|
|
2801
|
+
* 2. **Static JSON** — set `static="true"` to bypass SQL and write the
|
|
2802
|
+
* parsed body directly to the `datasets` store.
|
|
2803
|
+
* 3. **URL** — place an `http://`/`https://` URL or a same-origin path
|
|
2804
|
+
* starting with `/` in the body to fetch JSON from an HTTP endpoint and
|
|
2805
|
+
* write it to the `datasets` store. Set the `interval` prop (in seconds)
|
|
2806
|
+
* to enable periodic re-fetching.
|
|
1788
2807
|
*/
|
|
1789
2808
|
interface BnDataset {
|
|
1790
2809
|
/**
|
|
@@ -1792,6 +2811,11 @@ declare namespace LocalJSX {
|
|
|
1792
2811
|
* @default ""
|
|
1793
2812
|
*/
|
|
1794
2813
|
"datasources"?: string;
|
|
2814
|
+
/**
|
|
2815
|
+
* Polling interval in **seconds** for URL mode. When set and the body content is a URL, the component re-fetches data at this interval. Has no effect for SQL, inline JSON or compressed content. Set to `0` or leave unset to disable polling.
|
|
2816
|
+
* @default 0
|
|
2817
|
+
*/
|
|
2818
|
+
"interval"?: number;
|
|
1795
2819
|
/**
|
|
1796
2820
|
* Unique (template scope) name of the datasource
|
|
1797
2821
|
*/
|
|
@@ -1808,19 +2832,29 @@ declare namespace LocalJSX {
|
|
|
1808
2832
|
"static"?: boolean;
|
|
1809
2833
|
}
|
|
1810
2834
|
/**
|
|
1811
|
-
* Ingests
|
|
1812
|
-
* Data
|
|
1813
|
-
*
|
|
1814
|
-
*
|
|
1815
|
-
*
|
|
2835
|
+
* Ingests data and writes it to the scoped `datasources` store.
|
|
2836
|
+
* Data can be provided in three ways:
|
|
2837
|
+
* 1. **Inline JSON** — Place JSON text inside the element body (default).
|
|
2838
|
+
* 2. **Compressed payload** — Set `raw="false"` and provide `<hash>:<base64_gzip>` format.
|
|
2839
|
+
* 3. **URL** — Place an `http://`/`https://` URL or a same-origin path
|
|
2840
|
+
* starting with `/` in the body to fetch JSON from an HTTP endpoint.
|
|
2841
|
+
* In URL mode the component fetches JSON from the URL. Set the `interval`
|
|
2842
|
+
* prop (in seconds) to enable periodic re-fetching (polling).
|
|
2843
|
+
* Other components (e.g. `bn-dataset`) reference the stored data by the
|
|
2844
|
+
* `name` prop to run queries against it.
|
|
1816
2845
|
*/
|
|
1817
2846
|
interface BnDatasource {
|
|
1818
2847
|
/**
|
|
1819
|
-
*
|
|
2848
|
+
* Polling interval in **seconds** for URL mode. When set and the body content is a URL, the component re-fetches data at this interval. Has no effect for inline JSON or compressed content. Set to `0` or leave unset to disable polling.
|
|
2849
|
+
* @default 0
|
|
2850
|
+
*/
|
|
2851
|
+
"interval"?: number;
|
|
2852
|
+
/**
|
|
2853
|
+
* Unique (template scope) name of the datasource.
|
|
1820
2854
|
*/
|
|
1821
2855
|
"name": string;
|
|
1822
2856
|
/**
|
|
1823
|
-
* When true (default), body content is plain JSON text. When false, body content is a compressed payload (`<hash>:<base64_gzip>`).
|
|
2857
|
+
* When true (default), body content is plain JSON text. When false, body content is a compressed payload (`<hash>:<base64_gzip>`). Ignored in URL mode.
|
|
1824
2858
|
* @default true
|
|
1825
2859
|
*/
|
|
1826
2860
|
"raw"?: boolean;
|
|
@@ -1900,6 +2934,9 @@ declare namespace LocalJSX {
|
|
|
1900
2934
|
}
|
|
1901
2935
|
interface BnInternationalization {
|
|
1902
2936
|
"code"?: string;
|
|
2937
|
+
/**
|
|
2938
|
+
* @default "_system"
|
|
2939
|
+
*/
|
|
1903
2940
|
"namespace"?: string;
|
|
1904
2941
|
}
|
|
1905
2942
|
interface BnLayoutCard {
|
|
@@ -1910,7 +2947,7 @@ declare namespace LocalJSX {
|
|
|
1910
2947
|
*/
|
|
1911
2948
|
"cardCustomTemplate"?: string;
|
|
1912
2949
|
/**
|
|
1913
|
-
* When `true`, the card shrinks to fit its content (`fit-content`)
|
|
2950
|
+
* When `true`, the card body height shrinks to fit its content (`fit-content`). When `false` (default), the card stretches to fill its parent (`100%`). Width is always `100%` regardless of this setting. <br /><br /> Use `false` (default) when the card contains components with auto-scaling (e.g. `unit-scaling="auto"` or `scale="auto"`), because auto-scaling needs a fixed parent height to calculate dimensions.
|
|
1914
2951
|
* @default false
|
|
1915
2952
|
*/
|
|
1916
2953
|
"cardFitToContent"?: boolean;
|
|
@@ -1945,12 +2982,24 @@ declare namespace LocalJSX {
|
|
|
1945
2982
|
* @default ""
|
|
1946
2983
|
*/
|
|
1947
2984
|
"footerText"?: string;
|
|
2985
|
+
/**
|
|
2986
|
+
* I18n namespace for this card's title and, via default inheritance, every descendant component (their own `i18n-namespace` wins). Reflected so descendants can resolve it from the `i18n-namespace` attribute. Takes precedence over the deprecated `titleNamespace`.
|
|
2987
|
+
*/
|
|
2988
|
+
"i18nNamespace"?: string;
|
|
2989
|
+
/**
|
|
2990
|
+
* Name of a registered IBCS rule set (see `bn-ruleset`) passed through to the inner `<bn-title>` element as its `ruleset` attribute. Supports `"inherited-page"` to take over the value from an ancestor `bn-layout-page`. Nested visualization components can reference it via `ruleset="inherited-closest"`.
|
|
2991
|
+
*/
|
|
2992
|
+
"ruleset"?: string;
|
|
2993
|
+
/**
|
|
2994
|
+
* Name of a registered component style (see `bn-component-style`) passed through to the inner `<bn-card>` element as its `selected-style` attribute.
|
|
2995
|
+
*/
|
|
2996
|
+
"selectedStyle"?: string;
|
|
1948
2997
|
/**
|
|
1949
2998
|
* JSON string of component-style overrides passed through to the inner `<bn-card>` element. Typically set via a `ComponentStyle` manifest rather than directly on the component.
|
|
1950
2999
|
*/
|
|
1951
3000
|
"styles"?: string;
|
|
1952
3001
|
/**
|
|
1953
|
-
* Name of the business unit displayed in the title header row. If empty, the business unit row is omitted.
|
|
3002
|
+
* Name of the business unit displayed in the title header row. If empty, the business unit row is omitted. Rendered as sanitized HTML, so inline markup is supported.
|
|
1954
3003
|
* @example <bn-layout-card title-business-unit="Sales"></bn-layout-card>
|
|
1955
3004
|
* @default ""
|
|
1956
3005
|
*/
|
|
@@ -1985,8 +3034,8 @@ declare namespace LocalJSX {
|
|
|
1985
3034
|
*/
|
|
1986
3035
|
"titleMeasures"?: string;
|
|
1987
3036
|
/**
|
|
1988
|
-
* Namespace used for title translations via the internationalization store.
|
|
1989
|
-
* @
|
|
3037
|
+
* Namespace used for title translations via the internationalization store. Applies to the title only.
|
|
3038
|
+
* @deprecated Use `i18nNamespace` instead.
|
|
1990
3039
|
*/
|
|
1991
3040
|
"titleNamespace"?: string;
|
|
1992
3041
|
/**
|
|
@@ -2018,6 +3067,10 @@ declare namespace LocalJSX {
|
|
|
2018
3067
|
* Text displayed in the page footer. If empty, the footer text is omitted.
|
|
2019
3068
|
*/
|
|
2020
3069
|
"footerText"?: string;
|
|
3070
|
+
/**
|
|
3071
|
+
* I18n namespace for this page's title and, via default inheritance, every descendant component (their own `i18n-namespace` wins). Reflected so descendants can resolve it from the `i18n-namespace` attribute. Takes precedence over the deprecated `titleNamespace`.
|
|
3072
|
+
*/
|
|
3073
|
+
"i18nNamespace"?: string;
|
|
2021
3074
|
/**
|
|
2022
3075
|
* URL or asset name of the image displayed in the message row. If the value is not an HTTP URL it is looked up in the asset store. If empty, the image is omitted.
|
|
2023
3076
|
* @example <bn-layout-page message-image="debug/concordia.png"></bn-layout-page>
|
|
@@ -2025,7 +3078,8 @@ declare namespace LocalJSX {
|
|
|
2025
3078
|
*/
|
|
2026
3079
|
"messageImage"?: string;
|
|
2027
3080
|
/**
|
|
2028
|
-
* Message text displayed in the message row above the title. If empty, the message row is omitted.
|
|
3081
|
+
* Message text displayed in the message row above the title. If empty, the message row is omitted. Rendered as sanitized HTML, so inline markup is supported.
|
|
3082
|
+
* @example <bn-layout-page message-text="Revenue <b>above plan</b><br />Q3 2026"></bn-layout-page>
|
|
2029
3083
|
* @default ""
|
|
2030
3084
|
*/
|
|
2031
3085
|
"messageText"?: string;
|
|
@@ -2073,12 +3127,20 @@ declare namespace LocalJSX {
|
|
|
2073
3127
|
* Page orientation. Default depends on the chosen format. <br /><br /> values:<br /> ```landscape // portrait```
|
|
2074
3128
|
*/
|
|
2075
3129
|
"pageOrientation"?: string;
|
|
3130
|
+
/**
|
|
3131
|
+
* Name of a registered IBCS rule set (see `bn-ruleset`) passed through to the inner `<bn-title>` element as its `ruleset` attribute. Nested visualization components can reference it via `ruleset="inherited-page"` / `ruleset="inherited-closest"`.
|
|
3132
|
+
*/
|
|
3133
|
+
"ruleset"?: string;
|
|
3134
|
+
/**
|
|
3135
|
+
* Name of a registered component style (see `bn-component-style`) passed through to the inner `<bn-page>` element as its `selected-style` attribute.
|
|
3136
|
+
*/
|
|
3137
|
+
"selectedStyle"?: string;
|
|
2076
3138
|
/**
|
|
2077
3139
|
* JSON string of component-style overrides passed through to the inner `<bn-page>` element. Typically set via a `ComponentStyle` manifest rather than directly on the component.
|
|
2078
3140
|
*/
|
|
2079
3141
|
"styles"?: string;
|
|
2080
3142
|
/**
|
|
2081
|
-
* Name of the business unit displayed in the title header row. If empty, the business unit row is omitted.
|
|
3143
|
+
* Name of the business unit displayed in the title header row. If empty, the business unit row is omitted. Rendered as sanitized HTML, so inline markup is supported.
|
|
2082
3144
|
* @example <bn-layout-page title-business-unit="Group Controlling"></bn-layout-page>
|
|
2083
3145
|
* @default ""
|
|
2084
3146
|
*/
|
|
@@ -2107,8 +3169,8 @@ declare namespace LocalJSX {
|
|
|
2107
3169
|
*/
|
|
2108
3170
|
"titleMeasures"?: string;
|
|
2109
3171
|
/**
|
|
2110
|
-
* Namespace used for title translations via the internationalization store.
|
|
2111
|
-
* @
|
|
3172
|
+
* Namespace used for title translations via the internationalization store. Applies to the title only.
|
|
3173
|
+
* @deprecated Use `i18nNamespace` instead.
|
|
2112
3174
|
*/
|
|
2113
3175
|
"titleNamespace"?: string;
|
|
2114
3176
|
/**
|
|
@@ -2136,19 +3198,45 @@ declare namespace LocalJSX {
|
|
|
2136
3198
|
*/
|
|
2137
3199
|
"image"?: string;
|
|
2138
3200
|
/**
|
|
2139
|
-
* Message text. <br />If empty string (`''` or `null`) the
|
|
3201
|
+
* Message text. Rendered as HTML, sanitized against XSS (only safe tags such as `br`, `b`, `i`, `strong`, `em`, `a` and their attributes are kept; event handlers and `javascript:` URLs are stripped). <br />Use `<br />` for an explicit line break. <br />If empty string (`''` or `null`) the message row is omitted
|
|
2140
3202
|
*/
|
|
2141
3203
|
"text"?: string;
|
|
2142
3204
|
}
|
|
2143
|
-
interface BnPage {
|
|
3205
|
+
interface BnPage {
|
|
3206
|
+
/**
|
|
3207
|
+
* Defines the size of the page <br /><br /> values: <br /> ``` xga // hd // full-hd // 4k // 4k2k // a4 // a3 // a2 // a1 // a0 // letter // legal ``` <br /><br /> default: <br /> ```xga```
|
|
3208
|
+
*/
|
|
3209
|
+
"format"?: string;
|
|
3210
|
+
/**
|
|
3211
|
+
* Defines page orientation <br /><br /> values: <br /> ``` landscape // portrait ``` <br /><br /> default: <br /> based on the given format
|
|
3212
|
+
*/
|
|
3213
|
+
"orientation"?: string;
|
|
3214
|
+
}
|
|
3215
|
+
interface BnRuleset {
|
|
3216
|
+
/**
|
|
3217
|
+
* @default "_default"
|
|
3218
|
+
*/
|
|
3219
|
+
"name"?: string;
|
|
3220
|
+
}
|
|
3221
|
+
/**
|
|
3222
|
+
* Defines a named scaling value that chart and table components can reference
|
|
3223
|
+
* via their `unit-scaling` or `percentage-scaling` attributes.
|
|
3224
|
+
* Multiple components sharing the same group name will use the same scaling
|
|
3225
|
+
* value, allowing synchronized scaling across an entire page or section.
|
|
3226
|
+
* The reserved name `"auto"` is not allowed and will be ignored with a warning.
|
|
3227
|
+
* @example <bn-scaling-group name="revenue" value="0.05"></bn-scaling-group>
|
|
3228
|
+
* <bn-chart-structure unit-scaling="revenue" ...></bn-chart-structure>
|
|
3229
|
+
* <bn-table unit-scaling="revenue" ...></bn-table>
|
|
3230
|
+
*/
|
|
3231
|
+
interface BnScalingGroup {
|
|
2144
3232
|
/**
|
|
2145
|
-
*
|
|
3233
|
+
* Unique name identifying this scaling group. Components reference this name in their `unit-scaling` or `percentage-scaling` attributes. The name `"auto"` is reserved and cannot be used.
|
|
2146
3234
|
*/
|
|
2147
|
-
"
|
|
3235
|
+
"name": string;
|
|
2148
3236
|
/**
|
|
2149
|
-
*
|
|
3237
|
+
* The scaling value (pixels per data unit or pixels per percentage point, depending on which attribute references this group).
|
|
2150
3238
|
*/
|
|
2151
|
-
"
|
|
3239
|
+
"value": number;
|
|
2152
3240
|
}
|
|
2153
3241
|
/**
|
|
2154
3242
|
* Public-facing wrapper for the IBCS table component.
|
|
@@ -2165,7 +3253,7 @@ declare namespace LocalJSX {
|
|
|
2165
3253
|
*/
|
|
2166
3254
|
"barColumnWidth"?: string;
|
|
2167
3255
|
/**
|
|
2168
|
-
* List of
|
|
3256
|
+
* List of column names to render as bar charts instead of numbers. <br /><br /> Absolute variances (d_*) render as horizontal bar charts. Relative variances (dr_*) render as pin/dot charts. Scenario columns (ac1..pl4) render as horizontal bar charts; when the table contains grouping structure (sum rows, thereof, or partof) they automatically render as an IBCS waterfall — data rows cascade from the running total and sum rows anchor at zero. Waterfall columns auto-scale to fit the bar column width (unit-scaling does not apply) and are not supported in combination with `interval` or `columnthereof`. <br /><br /> example:<br /> ```dac1_pp1_pos,drac1_pp1_pos,ac1```
|
|
2169
3257
|
*/
|
|
2170
3258
|
"barColumns"?: string;
|
|
2171
3259
|
/**
|
|
@@ -2203,6 +3291,11 @@ declare namespace LocalJSX {
|
|
|
2203
3291
|
* @default "false"
|
|
2204
3292
|
*/
|
|
2205
3293
|
"grouped"?: string;
|
|
3294
|
+
/**
|
|
3295
|
+
* Repeats the entire scenario/variance column block once per interval group, rendered under a spanning header band (e.g. `2023 | 2024 | 2025`, each with the configured columns). <br /><br /> values:<br /> ```none // setname // year // quarter // month // week // day // hour // minute // second // millisecond // auto``` <br /><br /> ```none``` (default) deactivates the feature. ```setname``` groups by the dataset's `setname` column (non-date comparison); rows with a blank setname raise a warning and are grouped under `—`. Date values bucket rows by the `date` column; ```auto``` detects the granularity from the date span. Cannot be combined with `columnthereof`.
|
|
3296
|
+
* @default "none"
|
|
3297
|
+
*/
|
|
3298
|
+
"interval"?: string;
|
|
2206
3299
|
/**
|
|
2207
3300
|
* Set the maximum number of rows for each group. The value 0 means *no limit* <br /><br /> rows wich where cut by the limit are cumulated as REST
|
|
2208
3301
|
* @default 0
|
|
@@ -2239,10 +3332,16 @@ declare namespace LocalJSX {
|
|
|
2239
3332
|
*/
|
|
2240
3333
|
"partof"?: string;
|
|
2241
3334
|
/**
|
|
2242
|
-
* Scaling for relative variance pin charts (ΔPY%). <br /><br />
|
|
3335
|
+
* Scaling for relative variance pin charts (ΔPY%). <br /><br /> Accepts a number, `"auto"`, or a `<bn-scaling-group>` name for synchronized scaling. <br /><br /> Example: 0.5 means 100% = 50 pixels width. <br /><br /> Default: 0.5
|
|
3336
|
+
* @example percentage-scaling="0.5"
|
|
3337
|
+
* @example percentage-scaling="pct-scale"
|
|
2243
3338
|
* @default 0.5
|
|
2244
3339
|
*/
|
|
2245
3340
|
"percentageScaling"?: string | number;
|
|
3341
|
+
/**
|
|
3342
|
+
* Name of a registered IBCS rule set (see `bn-ruleset`) used for scenario ordering. Supports `"inherited-closest"` / `"inherited-page"` to take over the value from an ancestor `bn-layout-card` / `bn-layout-page`.
|
|
3343
|
+
*/
|
|
3344
|
+
"ruleset"?: string;
|
|
2246
3345
|
/**
|
|
2247
3346
|
* Controls proportional scaling of the entire table relative to the available parent width. All visual dimensions scale together: font size, em-based spacing/padding, SVG bar-chart widths, pin lengths, dot radii, pattern fills, axis strokes, and label offsets. Scaling is driven by a single factor applied to the base font size (`global.fontSizePx` from the component-style store, default 13.3333 px). Because the table's SCSS uses `em` units for padding, borders, and column widths, changing the font size cascades to all layout dimensions. SVG elements (bars, pins, patterns) receive the factor via the `scaleFactor` prop on `ibcs-table` and multiply every pixel constant by it, so they stay proportional to the surrounding text. | Value | Behavior | |---------------------|----------------------------------------------------------------------------------| | not set / `""` | Auto-scale to fit parent width; emit `AUTO_scale` warning with the applied factor | | `"none"` | No scaling (render at base font size regardless of available space) | | `"auto"` | Auto-scale to fit parent width silently (no warning) | | `"0.5"`, `"1.2"`, … | Fixed factor — apply `baseFontSize × factor` | **Auto-scale algorithm** (modes `""` and `"auto"`): 1. After each render, the current `scrollWidth` of the host element is divided by the current `appliedScaleFactor` to derive the unscaled content width. This avoids resetting `--bn-font-size` to base (which would only affect em-based widths but not SVG pixel attributes). 2. This unscaled width is compared against the parent's content-box width (via `getParentDimensions`). 3. If the table overflows, `factor = parentWidth / unscaledWidth` is computed and applied to both the CSS variable and the `appliedScaleFactor` state (which re-renders the SVG charts). 4. A guard flag (`_autoScaleGuard`) prevents the subsequent state-triggered re-render from re-measuring, avoiding an infinite measure → scale → fits → reset → overflow loop. Invalid values (negative numbers, non-numeric strings that are not `"none"` or `"auto"`) fall back to the default behaviour (auto + warning) and emit an `ERR_scale` warning.
|
|
2248
3347
|
* @example // Auto-scale to parent (silent) <bn-table scale="auto" ...></bn-table> // Fixed 50 % reduction <bn-table scale="0.5" ...></bn-table> // Double size <bn-table scale="2" ...></bn-table> // No scaling — always render at base font size <bn-table scale="none" ...></bn-table>
|
|
@@ -2252,6 +3351,10 @@ declare namespace LocalJSX {
|
|
|
2252
3351
|
* List of scenarios displayed in card header. <br /><br /> If scenarios is empty string (`''` or `null`) the scenarios are omitted <br /><br /> values:<br /> ```ac // fc // py // pl // null // auto``` <br /><br /> When set to ```auto```, scenarios are detected from the dataset silently. When left blank (and variances are also blank), scenarios are detected from the dataset with a warning.
|
|
2253
3352
|
*/
|
|
2254
3353
|
"scenarios"?: string;
|
|
3354
|
+
/**
|
|
3355
|
+
* Name of a registered component style (see `bn-component-style`). Forwarded to the inner `ibcs-table` so bar-chart colors and fonts follow the selected style as well.
|
|
3356
|
+
*/
|
|
3357
|
+
"selectedStyle"?: string;
|
|
2255
3358
|
/**
|
|
2256
3359
|
* Toggles a title header for each (row-)group the title header value is found set by 'rowgroup' <br /><br /> values: <br /> ```true // false```
|
|
2257
3360
|
* @default "true"
|
|
@@ -2263,10 +3366,15 @@ declare namespace LocalJSX {
|
|
|
2263
3366
|
*/
|
|
2264
3367
|
"showMeasureScale"?: string;
|
|
2265
3368
|
/**
|
|
2266
|
-
*
|
|
3369
|
+
* Label of the grand-total row at the bottom of the table. Only rendered for `type="sum"` and `type="opt"`; the other table types have no total row. When empty, the IBCS total symbol (❖) is used.
|
|
3370
|
+
* @default ""
|
|
3371
|
+
*/
|
|
3372
|
+
"sumTitle"?: string;
|
|
3373
|
+
/**
|
|
3374
|
+
* Stringified JSON object defining custom columns computed from dataset fields.<br /> Keys are column labels, values are aggregate expressions over the rows that make up each table row.<br /><br /> Functions: ```set // first // last // min // max // avg // sum // lit```<br /> Fields can be standard dataset fields (e.g. ```ac1```) or custom fields prefixed with ```_``` (e.g. ```_leiter```); ```lit``` takes a constant value.<br /><br /> example:<br /> ```{"Verkaufsleiter": "set(_leiter)", "Umsatz gesamt": "sum(ac1)"}```
|
|
2267
3375
|
* @default ""
|
|
2268
3376
|
*/
|
|
2269
|
-
"
|
|
3377
|
+
"tableAttributes"?: string;
|
|
2270
3378
|
/**
|
|
2271
3379
|
* Stringified Array of drilldown Objects { "rowGroup": string,<br /> "category": string,<br /> "subCategory": string,<br /> },<br /><br /> rowgroup, categroy defines the location of the drill subcategory is the displayed label of the data row <br /><br /> example:<br /> ```[{ "rowGroup":"Umsatz", "category": "Applications", "subCategory": "Applications-A", },]```
|
|
2272
3380
|
* @default "[]"
|
|
@@ -2278,7 +3386,9 @@ declare namespace LocalJSX {
|
|
|
2278
3386
|
*/
|
|
2279
3387
|
"type"?: string;
|
|
2280
3388
|
/**
|
|
2281
|
-
* Pixels per unit for absolute variance bar charts (ΔPY). Controls bar width: barWidth = value × unitScaling. Bars exceeding barColumnWidth are shown with an arrow indicator. <br /><br /> Default: 0.01
|
|
3389
|
+
* Pixels per unit for absolute variance bar charts (ΔPY). Controls bar width: barWidth = value × unitScaling. Bars exceeding barColumnWidth are shown with an arrow indicator. <br /><br /> Accepts a number, `"auto"`, or a `<bn-scaling-group>` name for synchronized scaling. <br /><br /> Default: 0.01
|
|
3390
|
+
* @example unit-scaling="0.01"
|
|
3391
|
+
* @example unit-scaling="revenue-scale"
|
|
2282
3392
|
* @default 0.01
|
|
2283
3393
|
*/
|
|
2284
3394
|
"unitScaling"?: string | number;
|
|
@@ -2319,7 +3429,7 @@ declare namespace LocalJSX {
|
|
|
2319
3429
|
*/
|
|
2320
3430
|
interface BnTitle {
|
|
2321
3431
|
/**
|
|
2322
|
-
* Name of the business unit displayed in card header. If empty string (`''` or `null`) the business unit row is omitted
|
|
3432
|
+
* Name of the business unit displayed in card header. If empty string (`''` or `null`) the business unit row is omitted <br /><br /> Rendered as sanitized HTML, so inline markup such as ```<b>```, ```<i>``` and ```<br />``` is supported.
|
|
2323
3433
|
* @default ""
|
|
2324
3434
|
*/
|
|
2325
3435
|
"businessUnit"?: string;
|
|
@@ -2355,6 +3465,10 @@ declare namespace LocalJSX {
|
|
|
2355
3465
|
* @default "asc"
|
|
2356
3466
|
*/
|
|
2357
3467
|
"orderDirection"?: string;
|
|
3468
|
+
/**
|
|
3469
|
+
* Name of a registered IBCS rule set (see `bn-ruleset`) used for scenario ordering. Supports `"inherited-closest"` / `"inherited-page"` to take over the value from an ancestor `bn-layout-card` / `bn-layout-page`.
|
|
3470
|
+
*/
|
|
3471
|
+
"ruleset"?: string;
|
|
2358
3472
|
/**
|
|
2359
3473
|
* List of scenarios displayed in card header. <br /><br /> If scenarios is empty string (`''` or `null`) the scenarios are omitted <br /><br /> values:<br /> ```ac // fc // py // pl // null```
|
|
2360
3474
|
*/
|
|
@@ -2409,19 +3523,245 @@ declare namespace LocalJSX {
|
|
|
2409
3523
|
*/
|
|
2410
3524
|
interface EditorCompanion {
|
|
2411
3525
|
}
|
|
2412
|
-
|
|
3526
|
+
/**
|
|
3527
|
+
* Inner presentational element of `bn-chart-bubble`: owns the
|
|
3528
|
+
* {@link BubbleChart} orchestrator and emits its SVG string. All props
|
|
3529
|
+
* arrive validated and parsed from the facade.
|
|
3530
|
+
*/
|
|
3531
|
+
interface IbcsChartBubble {
|
|
3532
|
+
/**
|
|
3533
|
+
* Plot aspect ratio, width/height.
|
|
3534
|
+
* @default 16 / 9
|
|
3535
|
+
*/
|
|
3536
|
+
"aspect"?: number;
|
|
3537
|
+
/**
|
|
3538
|
+
* @default ""
|
|
3539
|
+
*/
|
|
3540
|
+
"chartTitle"?: string;
|
|
3541
|
+
/**
|
|
3542
|
+
* Comparison scenario family, or `null` (10D overlay).
|
|
3543
|
+
* @default null
|
|
3544
|
+
*/
|
|
3545
|
+
"compareFamily"?: string | null;
|
|
3546
|
+
/**
|
|
3547
|
+
* @default 0
|
|
3548
|
+
*/
|
|
3549
|
+
"containerWidth"?: number;
|
|
3550
|
+
/**
|
|
3551
|
+
* Bumped by the facade when the dataset changes; triggers re-render.
|
|
3552
|
+
* @default 0
|
|
3553
|
+
*/
|
|
3554
|
+
"dataVersion"?: number;
|
|
3555
|
+
/**
|
|
3556
|
+
* The facade's error dispatcher — data warnings are synced through it (stable ids).
|
|
3557
|
+
*/
|
|
3558
|
+
"errors"?: ErrorDispatcher;
|
|
3559
|
+
/**
|
|
3560
|
+
* @default null
|
|
3561
|
+
*/
|
|
3562
|
+
"facet"?: FacetConfig | null;
|
|
3563
|
+
/**
|
|
3564
|
+
* @default ""
|
|
3565
|
+
*/
|
|
3566
|
+
"filter"?: string;
|
|
3567
|
+
/**
|
|
3568
|
+
* @default new Map()
|
|
3569
|
+
*/
|
|
3570
|
+
"i18n"?: Map<string, string>;
|
|
3571
|
+
"labels": LabelConfig;
|
|
3572
|
+
"legend": LegendConfig;
|
|
3573
|
+
/**
|
|
3574
|
+
* @default 0
|
|
3575
|
+
*/
|
|
3576
|
+
"limit"?: number;
|
|
3577
|
+
/**
|
|
3578
|
+
* @default "category"
|
|
3579
|
+
*/
|
|
3580
|
+
"pointLevel"?: PointLevel;
|
|
3581
|
+
"ruleSetConfig"?: RuleSetConfig;
|
|
3582
|
+
/**
|
|
3583
|
+
* @default null
|
|
3584
|
+
*/
|
|
3585
|
+
"seriesLevel"?: GroupLevel | null;
|
|
3586
|
+
/**
|
|
3587
|
+
* @default null
|
|
3588
|
+
*/
|
|
3589
|
+
"share"?: ShareConfig | null;
|
|
3590
|
+
"size": SizeConfig;
|
|
3591
|
+
/**
|
|
3592
|
+
* Scaling-group mode: area px² per data unit (0 = local sizing).
|
|
3593
|
+
* @default 0
|
|
3594
|
+
*/
|
|
3595
|
+
"sizeAreaPerUnit"?: number;
|
|
3596
|
+
"styles"?: XYChartStyle | undefined;
|
|
3597
|
+
/**
|
|
3598
|
+
* Name of the dataset (table or view in the scoped alasql database).
|
|
3599
|
+
* @default ""
|
|
3600
|
+
*/
|
|
3601
|
+
"tableName"?: string;
|
|
3602
|
+
/**
|
|
3603
|
+
* Facade-bound translator for warning messages (resolves `.key` in the facade's namespace).
|
|
3604
|
+
*/
|
|
3605
|
+
"translate"?: (key: string, data?: object) => string;
|
|
3606
|
+
"x": AxisConfig;
|
|
3607
|
+
"y": AxisConfig;
|
|
3608
|
+
}
|
|
3609
|
+
/**
|
|
3610
|
+
* Inner presentational element of `bn-chart-bullet`: owns the
|
|
3611
|
+
* {@link BulletChart} orchestrator and emits its SVG string. All props
|
|
3612
|
+
* arrive validated and parsed from the facade.
|
|
3613
|
+
*/
|
|
3614
|
+
interface IbcsChartBullet {
|
|
3615
|
+
"actual": BulletMeasureConfig;
|
|
2413
3616
|
/**
|
|
2414
3617
|
* @default ""
|
|
2415
3618
|
*/
|
|
2416
3619
|
"chartTitle"?: string;
|
|
3620
|
+
/**
|
|
3621
|
+
* @default 0
|
|
3622
|
+
*/
|
|
3623
|
+
"containerWidth"?: number;
|
|
3624
|
+
/**
|
|
3625
|
+
* Bumped by the facade when the dataset changes; triggers re-render.
|
|
3626
|
+
* @default 0
|
|
3627
|
+
*/
|
|
3628
|
+
"dataVersion"?: number;
|
|
3629
|
+
/**
|
|
3630
|
+
* The facade's error dispatcher — data warnings are synced through it (stable ids).
|
|
3631
|
+
*/
|
|
3632
|
+
"errors"?: ErrorDispatcher;
|
|
3633
|
+
/**
|
|
3634
|
+
* @default ""
|
|
3635
|
+
*/
|
|
3636
|
+
"filter"?: string;
|
|
3637
|
+
/**
|
|
3638
|
+
* @default new Map()
|
|
3639
|
+
*/
|
|
3640
|
+
"i18n"?: Map<string, string>;
|
|
3641
|
+
"labels": BulletLabelConfig;
|
|
3642
|
+
/**
|
|
3643
|
+
* @default AggregationLevel.CATEGORY
|
|
3644
|
+
*/
|
|
3645
|
+
"level"?: AggregationLevel;
|
|
3646
|
+
/**
|
|
3647
|
+
* @default 0
|
|
3648
|
+
*/
|
|
3649
|
+
"limit"?: number;
|
|
3650
|
+
/**
|
|
3651
|
+
* @default "target"
|
|
3652
|
+
*/
|
|
3653
|
+
"normalize"?: "target" | "none";
|
|
3654
|
+
"order": Order;
|
|
2417
3655
|
/**
|
|
2418
3656
|
* @default []
|
|
2419
3657
|
*/
|
|
2420
|
-
"
|
|
3658
|
+
"ranges"?: number[];
|
|
3659
|
+
"ruleSetConfig"?: RuleSetConfig;
|
|
3660
|
+
/**
|
|
3661
|
+
* @default true
|
|
3662
|
+
*/
|
|
3663
|
+
"showVariances"?: boolean;
|
|
3664
|
+
"styles"?: BulletChartStyle | undefined;
|
|
3665
|
+
/**
|
|
3666
|
+
* Name of the dataset (table or view in the scoped alasql database).
|
|
3667
|
+
* @default ""
|
|
3668
|
+
*/
|
|
3669
|
+
"tableName"?: string;
|
|
3670
|
+
/**
|
|
3671
|
+
* @default null
|
|
3672
|
+
*/
|
|
3673
|
+
"target"?: BulletMeasureConfig | null;
|
|
3674
|
+
/**
|
|
3675
|
+
* Facade-bound translator for warning messages (resolves `.key` in the facade's namespace).
|
|
3676
|
+
*/
|
|
3677
|
+
"translate"?: (key: string, data?: object) => string;
|
|
3678
|
+
}
|
|
3679
|
+
/**
|
|
3680
|
+
* Inner presentational element of `bn-chart-scatter`: owns the
|
|
3681
|
+
* {@link ScatterChart} orchestrator and emits its SVG string. All props
|
|
3682
|
+
* arrive validated and parsed from the facade.
|
|
3683
|
+
*/
|
|
3684
|
+
interface IbcsChartScatter {
|
|
3685
|
+
/**
|
|
3686
|
+
* Plot aspect ratio, width/height.
|
|
3687
|
+
* @default 16 / 9
|
|
3688
|
+
*/
|
|
3689
|
+
"aspect"?: number;
|
|
3690
|
+
/**
|
|
3691
|
+
* @default ""
|
|
3692
|
+
*/
|
|
3693
|
+
"chartTitle"?: string;
|
|
3694
|
+
/**
|
|
3695
|
+
* @default 0
|
|
3696
|
+
*/
|
|
3697
|
+
"containerWidth"?: number;
|
|
3698
|
+
/**
|
|
3699
|
+
* Bumped by the facade when the dataset changes; triggers re-render.
|
|
3700
|
+
* @default 0
|
|
3701
|
+
*/
|
|
3702
|
+
"dataVersion"?: number;
|
|
3703
|
+
/**
|
|
3704
|
+
* The facade's error dispatcher — data warnings are synced through it (stable ids).
|
|
3705
|
+
*/
|
|
3706
|
+
"errors"?: ErrorDispatcher;
|
|
3707
|
+
/**
|
|
3708
|
+
* @default null
|
|
3709
|
+
*/
|
|
3710
|
+
"facet"?: FacetConfig | null;
|
|
3711
|
+
/**
|
|
3712
|
+
* @default ""
|
|
3713
|
+
*/
|
|
3714
|
+
"filter"?: string;
|
|
3715
|
+
/**
|
|
3716
|
+
* @default new Map()
|
|
3717
|
+
*/
|
|
3718
|
+
"i18n"?: Map<string, string>;
|
|
3719
|
+
/**
|
|
3720
|
+
* @default null
|
|
3721
|
+
*/
|
|
3722
|
+
"iso"?: IsoConfig | null;
|
|
3723
|
+
"labels": LabelConfig;
|
|
3724
|
+
"legend": LegendConfig;
|
|
3725
|
+
/**
|
|
3726
|
+
* @default 0
|
|
3727
|
+
*/
|
|
3728
|
+
"limit"?: number;
|
|
3729
|
+
/**
|
|
3730
|
+
* @default "category"
|
|
3731
|
+
*/
|
|
3732
|
+
"pointLevel"?: PointLevel;
|
|
3733
|
+
"ruleSetConfig"?: RuleSetConfig;
|
|
3734
|
+
/**
|
|
3735
|
+
* @default null
|
|
3736
|
+
*/
|
|
3737
|
+
"seriesLevel"?: GroupLevel | null;
|
|
3738
|
+
"styles"?: XYChartStyle | undefined;
|
|
3739
|
+
/**
|
|
3740
|
+
* Name of the dataset (table or view in the scoped alasql database).
|
|
3741
|
+
* @default ""
|
|
3742
|
+
*/
|
|
3743
|
+
"tableName"?: string;
|
|
3744
|
+
/**
|
|
3745
|
+
* Facade-bound translator for warning messages (resolves `.key` in the facade's namespace).
|
|
3746
|
+
*/
|
|
3747
|
+
"translate"?: (key: string, data?: object) => string;
|
|
3748
|
+
"x": AxisConfig;
|
|
3749
|
+
"y": AxisConfig;
|
|
3750
|
+
}
|
|
3751
|
+
interface IbcsChartStructure {
|
|
3752
|
+
/**
|
|
3753
|
+
* @default ""
|
|
3754
|
+
*/
|
|
3755
|
+
"chartTitle"?: string;
|
|
2421
3756
|
/**
|
|
2422
3757
|
* @default { percent: 2, decimal: 1 }
|
|
2423
3758
|
*/
|
|
2424
3759
|
"dataFormatDigits"?: DataFormatDigits;
|
|
3760
|
+
/**
|
|
3761
|
+
* Bumped by `bn-chart-structure` when the dataset changes; triggers re-render.
|
|
3762
|
+
* @default 0
|
|
3763
|
+
*/
|
|
3764
|
+
"dataVersion"?: number;
|
|
2425
3765
|
/**
|
|
2426
3766
|
* @default ""
|
|
2427
3767
|
*/
|
|
@@ -2466,6 +3806,7 @@ declare namespace LocalJSX {
|
|
|
2466
3806
|
* @default 10
|
|
2467
3807
|
*/
|
|
2468
3808
|
"pixelPerUnit"?: number;
|
|
3809
|
+
"ruleSetConfig"?: RuleSetConfig;
|
|
2469
3810
|
/**
|
|
2470
3811
|
* @default []
|
|
2471
3812
|
*/
|
|
@@ -2479,6 +3820,11 @@ declare namespace LocalJSX {
|
|
|
2479
3820
|
*/
|
|
2480
3821
|
"stackConfig"?: StackConfigParsed | null;
|
|
2481
3822
|
"styles"?: StructureChartStyle | undefined;
|
|
3823
|
+
/**
|
|
3824
|
+
* Name of the dataset (table or view in the shared alasql database).
|
|
3825
|
+
* @default ""
|
|
3826
|
+
*/
|
|
3827
|
+
"tableName"?: string;
|
|
2482
3828
|
/**
|
|
2483
3829
|
* @default []
|
|
2484
3830
|
*/
|
|
@@ -2498,14 +3844,15 @@ declare namespace LocalJSX {
|
|
|
2498
3844
|
* @default 0
|
|
2499
3845
|
*/
|
|
2500
3846
|
"containerWidth"?: number;
|
|
2501
|
-
/**
|
|
2502
|
-
* @default []
|
|
2503
|
-
*/
|
|
2504
|
-
"data"?: TimeChartDataRow[];
|
|
2505
3847
|
/**
|
|
2506
3848
|
* @default { percent: 2, decimal: 1 }
|
|
2507
3849
|
*/
|
|
2508
3850
|
"dataFormatDigits"?: DataFormatDigits;
|
|
3851
|
+
/**
|
|
3852
|
+
* Bumped by `bn-chart-time` when the dataset changes; triggers re-render.
|
|
3853
|
+
* @default 0
|
|
3854
|
+
*/
|
|
3855
|
+
"dataVersion"?: number;
|
|
2509
3856
|
/**
|
|
2510
3857
|
* @default DateDistance.AUTO
|
|
2511
3858
|
*/
|
|
@@ -2570,6 +3917,7 @@ declare namespace LocalJSX {
|
|
|
2570
3917
|
* @default 2
|
|
2571
3918
|
*/
|
|
2572
3919
|
"pixelPerUnit"?: number;
|
|
3920
|
+
"ruleSetConfig"?: RuleSetConfig;
|
|
2573
3921
|
/**
|
|
2574
3922
|
* @default []
|
|
2575
3923
|
*/
|
|
@@ -2591,6 +3939,11 @@ declare namespace LocalJSX {
|
|
|
2591
3939
|
*/
|
|
2592
3940
|
"stackConfig"?: StackConfigParsed1 | null;
|
|
2593
3941
|
"styles"?: TimeChartStyle | undefined;
|
|
3942
|
+
/**
|
|
3943
|
+
* Name of the dataset (table or view in the shared alasql database).
|
|
3944
|
+
* @default ""
|
|
3945
|
+
*/
|
|
3946
|
+
"tableName"?: string;
|
|
2594
3947
|
/**
|
|
2595
3948
|
* @default []
|
|
2596
3949
|
*/
|
|
@@ -2605,6 +3958,10 @@ declare namespace LocalJSX {
|
|
|
2605
3958
|
* not be used directly; use `bn-table` instead.
|
|
2606
3959
|
*/
|
|
2607
3960
|
interface IbcsTable {
|
|
3961
|
+
/**
|
|
3962
|
+
* @default []
|
|
3963
|
+
*/
|
|
3964
|
+
"attributeColumns"?: TableAttribute[];
|
|
2608
3965
|
/**
|
|
2609
3966
|
* @default 30
|
|
2610
3967
|
*/
|
|
@@ -2621,14 +3978,15 @@ declare namespace LocalJSX {
|
|
|
2621
3978
|
* @default new Map()
|
|
2622
3979
|
*/
|
|
2623
3980
|
"categorythereof"?: Map<string, Record<string, unknown>[]>;
|
|
2624
|
-
/**
|
|
2625
|
-
* @default []
|
|
2626
|
-
*/
|
|
2627
|
-
"data"?: TableDataRow[];
|
|
2628
3981
|
/**
|
|
2629
3982
|
* @default { percent: 2, decimal: 1 }
|
|
2630
3983
|
*/
|
|
2631
3984
|
"dataFormatDigits"?: DataFormatDigits;
|
|
3985
|
+
/**
|
|
3986
|
+
* Bumped by the outer `bn-table` whenever the dataset's data changes. Triggers a re-render via Stencil's prop-change detection.
|
|
3987
|
+
* @default 0
|
|
3988
|
+
*/
|
|
3989
|
+
"dataVersion"?: number;
|
|
2632
3990
|
/**
|
|
2633
3991
|
* @default ""
|
|
2634
3992
|
*/
|
|
@@ -2645,6 +4003,10 @@ declare namespace LocalJSX {
|
|
|
2645
4003
|
* @default I18nMode.ALL
|
|
2646
4004
|
*/
|
|
2647
4005
|
"i18nMode"?: I18nMode;
|
|
4006
|
+
/**
|
|
4007
|
+
* @default "none"
|
|
4008
|
+
*/
|
|
4009
|
+
"interval"?: string;
|
|
2648
4010
|
/**
|
|
2649
4011
|
* @default 0
|
|
2650
4012
|
*/
|
|
@@ -2673,6 +4035,7 @@ declare namespace LocalJSX {
|
|
|
2673
4035
|
* @default 0.5
|
|
2674
4036
|
*/
|
|
2675
4037
|
"percentageScaling"?: number;
|
|
4038
|
+
"ruleSetConfig"?: RuleSetConfig;
|
|
2676
4039
|
/**
|
|
2677
4040
|
* @default 1
|
|
2678
4041
|
*/
|
|
@@ -2685,6 +4048,10 @@ declare namespace LocalJSX {
|
|
|
2685
4048
|
* @default DataFormat.DECIMAL
|
|
2686
4049
|
*/
|
|
2687
4050
|
"scenariosDataFormat"?: DataFormat;
|
|
4051
|
+
/**
|
|
4052
|
+
* Name of a registered component style, forwarded by the outer `bn-table`. Reflected so the `withComponentStyle` mixin can read the `selected-style` attribute from the host element.
|
|
4053
|
+
*/
|
|
4054
|
+
"selectedStyle"?: string;
|
|
2688
4055
|
/**
|
|
2689
4056
|
* @default true
|
|
2690
4057
|
*/
|
|
@@ -2694,9 +4061,15 @@ declare namespace LocalJSX {
|
|
|
2694
4061
|
*/
|
|
2695
4062
|
"showMeasureScale"?: boolean;
|
|
2696
4063
|
/**
|
|
4064
|
+
* Label of the grand-total row (`sum` / `opt` types only). The default `SUM_TOTAL` is an i18n key that resolves to the IBCS total symbol (❖).
|
|
2697
4065
|
* @default "SUM_TOTAL"
|
|
2698
4066
|
*/
|
|
2699
|
-
"
|
|
4067
|
+
"sumTitle"?: string;
|
|
4068
|
+
/**
|
|
4069
|
+
* Name of the dataset (a table or view in the shared alasql database). The inner `Table` helper queries it directly — no array copy.
|
|
4070
|
+
* @default ""
|
|
4071
|
+
*/
|
|
4072
|
+
"tableName"?: string;
|
|
2700
4073
|
/**
|
|
2701
4074
|
* @default []
|
|
2702
4075
|
*/
|
|
@@ -2735,6 +4108,7 @@ declare namespace LocalJSX {
|
|
|
2735
4108
|
* @default { hierarchy: [], direction: OrderDirection.ASC, }
|
|
2736
4109
|
*/
|
|
2737
4110
|
"order"?: Order;
|
|
4111
|
+
"ruleSetConfig"?: RuleSetConfig;
|
|
2738
4112
|
/**
|
|
2739
4113
|
* @default []
|
|
2740
4114
|
*/
|
|
@@ -2745,8 +4119,59 @@ declare namespace LocalJSX {
|
|
|
2745
4119
|
interface BnAssetAttributes {
|
|
2746
4120
|
"name": string;
|
|
2747
4121
|
}
|
|
4122
|
+
interface BnChartBubbleAttributes {
|
|
4123
|
+
"ruleset": string;
|
|
4124
|
+
"chartTitle": string;
|
|
4125
|
+
"filter": string;
|
|
4126
|
+
"x": string;
|
|
4127
|
+
"y": string;
|
|
4128
|
+
"size": string;
|
|
4129
|
+
"share": string;
|
|
4130
|
+
"compareWith": string;
|
|
4131
|
+
"level": string;
|
|
4132
|
+
"seriesLevel": string;
|
|
4133
|
+
"facet": string;
|
|
4134
|
+
"labels": string;
|
|
4135
|
+
"legend": string;
|
|
4136
|
+
"aspect": string;
|
|
4137
|
+
"limit": number;
|
|
4138
|
+
"scale": string;
|
|
4139
|
+
}
|
|
4140
|
+
interface BnChartBulletAttributes {
|
|
4141
|
+
"ruleset": string;
|
|
4142
|
+
"chartTitle": string;
|
|
4143
|
+
"filter": string;
|
|
4144
|
+
"actual": string;
|
|
4145
|
+
"target": string;
|
|
4146
|
+
"ranges": string;
|
|
4147
|
+
"normalize": string;
|
|
4148
|
+
"variances": string;
|
|
4149
|
+
"level": string;
|
|
4150
|
+
"order": string;
|
|
4151
|
+
"orderDirection": string;
|
|
4152
|
+
"limit": number;
|
|
4153
|
+
"labels": string;
|
|
4154
|
+
"scale": string;
|
|
4155
|
+
}
|
|
4156
|
+
interface BnChartScatterAttributes {
|
|
4157
|
+
"ruleset": string;
|
|
4158
|
+
"chartTitle": string;
|
|
4159
|
+
"filter": string;
|
|
4160
|
+
"x": string;
|
|
4161
|
+
"y": string;
|
|
4162
|
+
"iso": string;
|
|
4163
|
+
"level": string;
|
|
4164
|
+
"seriesLevel": string;
|
|
4165
|
+
"facet": string;
|
|
4166
|
+
"labels": string;
|
|
4167
|
+
"legend": string;
|
|
4168
|
+
"aspect": string;
|
|
4169
|
+
"limit": number;
|
|
4170
|
+
"scale": string;
|
|
4171
|
+
}
|
|
2748
4172
|
interface BnChartStructureAttributes {
|
|
2749
4173
|
"chartTitle": string;
|
|
4174
|
+
"ruleset": string;
|
|
2750
4175
|
"filter": string;
|
|
2751
4176
|
"scenarios": string;
|
|
2752
4177
|
"variances": string;
|
|
@@ -2764,6 +4189,7 @@ declare namespace LocalJSX {
|
|
|
2764
4189
|
"scale": string;
|
|
2765
4190
|
}
|
|
2766
4191
|
interface BnChartTimeAttributes {
|
|
4192
|
+
"ruleset": string;
|
|
2767
4193
|
"chartTitle": string;
|
|
2768
4194
|
"filter": string;
|
|
2769
4195
|
"scenarios": string;
|
|
@@ -2801,10 +4227,12 @@ declare namespace LocalJSX {
|
|
|
2801
4227
|
"datasources": string;
|
|
2802
4228
|
"static": boolean;
|
|
2803
4229
|
"raw": boolean;
|
|
4230
|
+
"interval": number;
|
|
2804
4231
|
}
|
|
2805
4232
|
interface BnDatasourceAttributes {
|
|
2806
4233
|
"name": string;
|
|
2807
4234
|
"raw": boolean;
|
|
4235
|
+
"interval": number;
|
|
2808
4236
|
}
|
|
2809
4237
|
interface BnFooterAttributes {
|
|
2810
4238
|
"pageNumber": number | null;
|
|
@@ -2831,6 +4259,8 @@ declare namespace LocalJSX {
|
|
|
2831
4259
|
}
|
|
2832
4260
|
interface BnLayoutCardAttributes {
|
|
2833
4261
|
"styles": string;
|
|
4262
|
+
"selectedStyle": string;
|
|
4263
|
+
"ruleset": string;
|
|
2834
4264
|
"titleImage": string;
|
|
2835
4265
|
"titleBusinessUnit": string;
|
|
2836
4266
|
"titleScenarios": string;
|
|
@@ -2843,6 +4273,7 @@ declare namespace LocalJSX {
|
|
|
2843
4273
|
"titleDateFormat": string;
|
|
2844
4274
|
"titleDateLink": string;
|
|
2845
4275
|
"titleNamespace": string;
|
|
4276
|
+
"i18nNamespace": string;
|
|
2846
4277
|
"footerText": string;
|
|
2847
4278
|
"cardLayout": | "full"
|
|
2848
4279
|
| "split-vertical"
|
|
@@ -2862,6 +4293,8 @@ declare namespace LocalJSX {
|
|
|
2862
4293
|
}
|
|
2863
4294
|
interface BnLayoutPageAttributes {
|
|
2864
4295
|
"styles": string;
|
|
4296
|
+
"selectedStyle": string;
|
|
4297
|
+
"ruleset": string;
|
|
2865
4298
|
"messageText": string;
|
|
2866
4299
|
"messageImage": string;
|
|
2867
4300
|
"titleBusinessUnit": string;
|
|
@@ -2875,6 +4308,7 @@ declare namespace LocalJSX {
|
|
|
2875
4308
|
"titleDateFormat": string;
|
|
2876
4309
|
"titleDateLink": string;
|
|
2877
4310
|
"titleNamespace": string;
|
|
4311
|
+
"i18nNamespace": string;
|
|
2878
4312
|
"pageFormat": string;
|
|
2879
4313
|
"pageOrientation": string;
|
|
2880
4314
|
"pageNumber": string;
|
|
@@ -2903,9 +4337,18 @@ declare namespace LocalJSX {
|
|
|
2903
4337
|
"format": string;
|
|
2904
4338
|
"orientation": string;
|
|
2905
4339
|
}
|
|
4340
|
+
interface BnRulesetAttributes {
|
|
4341
|
+
"name": string;
|
|
4342
|
+
}
|
|
4343
|
+
interface BnScalingGroupAttributes {
|
|
4344
|
+
"name": string;
|
|
4345
|
+
"value": number;
|
|
4346
|
+
}
|
|
2906
4347
|
interface BnTableAttributes {
|
|
2907
4348
|
"scale": string;
|
|
2908
|
-
"
|
|
4349
|
+
"ruleset": string;
|
|
4350
|
+
"selectedStyle": string;
|
|
4351
|
+
"sumTitle": string;
|
|
2909
4352
|
"filter": string;
|
|
2910
4353
|
"measureUnit": string;
|
|
2911
4354
|
"scenarios": string;
|
|
@@ -2930,6 +4373,8 @@ declare namespace LocalJSX {
|
|
|
2930
4373
|
"dataFormatDigitsPercent": number;
|
|
2931
4374
|
"categoryWidth": string;
|
|
2932
4375
|
"columnthereof": string | null;
|
|
4376
|
+
"interval": string;
|
|
4377
|
+
"tableAttributes": string;
|
|
2933
4378
|
}
|
|
2934
4379
|
interface BnTemplateAttributes {
|
|
2935
4380
|
"templateId": string;
|
|
@@ -2939,6 +4384,7 @@ declare namespace LocalJSX {
|
|
|
2939
4384
|
"scale": string;
|
|
2940
4385
|
}
|
|
2941
4386
|
interface BnTitleAttributes {
|
|
4387
|
+
"ruleset": string;
|
|
2942
4388
|
"businessUnit": string;
|
|
2943
4389
|
"scenarios": string;
|
|
2944
4390
|
"variances": string;
|
|
@@ -2958,7 +4404,44 @@ declare namespace LocalJSX {
|
|
|
2958
4404
|
"edgeStyle": EdgeStyleType;
|
|
2959
4405
|
"showOperators": string;
|
|
2960
4406
|
}
|
|
4407
|
+
interface IbcsChartBubbleAttributes {
|
|
4408
|
+
"tableName": string;
|
|
4409
|
+
"dataVersion": number;
|
|
4410
|
+
"chartTitle": string;
|
|
4411
|
+
"compareFamily": string | null;
|
|
4412
|
+
"pointLevel": PointLevel;
|
|
4413
|
+
"seriesLevel": GroupLevel | null;
|
|
4414
|
+
"aspect": number;
|
|
4415
|
+
"limit": number;
|
|
4416
|
+
"filter": string;
|
|
4417
|
+
"sizeAreaPerUnit": number;
|
|
4418
|
+
"containerWidth": number;
|
|
4419
|
+
}
|
|
4420
|
+
interface IbcsChartBulletAttributes {
|
|
4421
|
+
"tableName": string;
|
|
4422
|
+
"dataVersion": number;
|
|
4423
|
+
"chartTitle": string;
|
|
4424
|
+
"normalize": "target" | "none";
|
|
4425
|
+
"showVariances": boolean;
|
|
4426
|
+
"level": AggregationLevel;
|
|
4427
|
+
"limit": number;
|
|
4428
|
+
"filter": string;
|
|
4429
|
+
"containerWidth": number;
|
|
4430
|
+
}
|
|
4431
|
+
interface IbcsChartScatterAttributes {
|
|
4432
|
+
"tableName": string;
|
|
4433
|
+
"dataVersion": number;
|
|
4434
|
+
"chartTitle": string;
|
|
4435
|
+
"pointLevel": PointLevel;
|
|
4436
|
+
"seriesLevel": GroupLevel | null;
|
|
4437
|
+
"aspect": number;
|
|
4438
|
+
"limit": number;
|
|
4439
|
+
"filter": string;
|
|
4440
|
+
"containerWidth": number;
|
|
4441
|
+
}
|
|
2961
4442
|
interface IbcsChartStructureAttributes {
|
|
4443
|
+
"tableName": string;
|
|
4444
|
+
"dataVersion": number;
|
|
2962
4445
|
"chartTitle": string;
|
|
2963
4446
|
"hideCategories": boolean;
|
|
2964
4447
|
"pixelPerUnit": number;
|
|
@@ -2971,6 +4454,8 @@ declare namespace LocalJSX {
|
|
|
2971
4454
|
"showMeasureScale": boolean;
|
|
2972
4455
|
}
|
|
2973
4456
|
interface IbcsChartTimeAttributes {
|
|
4457
|
+
"tableName": string;
|
|
4458
|
+
"dataVersion": number;
|
|
2974
4459
|
"chartTitle": string;
|
|
2975
4460
|
"hideAxisLabels": boolean;
|
|
2976
4461
|
"pixelPerUnit": number;
|
|
@@ -2993,7 +4478,10 @@ declare namespace LocalJSX {
|
|
|
2993
4478
|
"containerWidth": number;
|
|
2994
4479
|
}
|
|
2995
4480
|
interface IbcsTableAttributes {
|
|
2996
|
-
"
|
|
4481
|
+
"tableName": string;
|
|
4482
|
+
"dataVersion": number;
|
|
4483
|
+
"selectedStyle": string;
|
|
4484
|
+
"sumTitle": string;
|
|
2997
4485
|
"scenariosDataFormat": DataFormat;
|
|
2998
4486
|
"grouped": boolean;
|
|
2999
4487
|
"limit": number;
|
|
@@ -3006,6 +4494,7 @@ declare namespace LocalJSX {
|
|
|
3006
4494
|
"showMeasureScale": boolean;
|
|
3007
4495
|
"measureType": MeasureType;
|
|
3008
4496
|
"filter": string;
|
|
4497
|
+
"interval": string;
|
|
3009
4498
|
"barColumnMaxWidth": number;
|
|
3010
4499
|
"unitScaling": number;
|
|
3011
4500
|
"percentageScaling": number;
|
|
@@ -3021,6 +4510,9 @@ declare namespace LocalJSX {
|
|
|
3021
4510
|
"bn-asset": Omit<BnAsset, keyof BnAssetAttributes> & { [K in keyof BnAsset & keyof BnAssetAttributes]?: BnAsset[K] } & { [K in keyof BnAsset & keyof BnAssetAttributes as `attr:${K}`]?: BnAssetAttributes[K] } & { [K in keyof BnAsset & keyof BnAssetAttributes as `prop:${K}`]?: BnAsset[K] } & OneOf<"name", BnAsset["name"], BnAssetAttributes["name"]>;
|
|
3022
4511
|
"bn-body": BnBody;
|
|
3023
4512
|
"bn-card": BnCard;
|
|
4513
|
+
"bn-chart-bubble": Omit<BnChartBubble, keyof BnChartBubbleAttributes> & { [K in keyof BnChartBubble & keyof BnChartBubbleAttributes]?: BnChartBubble[K] } & { [K in keyof BnChartBubble & keyof BnChartBubbleAttributes as `attr:${K}`]?: BnChartBubbleAttributes[K] } & { [K in keyof BnChartBubble & keyof BnChartBubbleAttributes as `prop:${K}`]?: BnChartBubble[K] } & OneOf<"x", BnChartBubble["x"], BnChartBubbleAttributes["x"]> & OneOf<"y", BnChartBubble["y"], BnChartBubbleAttributes["y"]> & OneOf<"size", BnChartBubble["size"], BnChartBubbleAttributes["size"]>;
|
|
4514
|
+
"bn-chart-bullet": Omit<BnChartBullet, keyof BnChartBulletAttributes> & { [K in keyof BnChartBullet & keyof BnChartBulletAttributes]?: BnChartBullet[K] } & { [K in keyof BnChartBullet & keyof BnChartBulletAttributes as `attr:${K}`]?: BnChartBulletAttributes[K] } & { [K in keyof BnChartBullet & keyof BnChartBulletAttributes as `prop:${K}`]?: BnChartBullet[K] };
|
|
4515
|
+
"bn-chart-scatter": Omit<BnChartScatter, keyof BnChartScatterAttributes> & { [K in keyof BnChartScatter & keyof BnChartScatterAttributes]?: BnChartScatter[K] } & { [K in keyof BnChartScatter & keyof BnChartScatterAttributes as `attr:${K}`]?: BnChartScatterAttributes[K] } & { [K in keyof BnChartScatter & keyof BnChartScatterAttributes as `prop:${K}`]?: BnChartScatter[K] } & OneOf<"x", BnChartScatter["x"], BnChartScatterAttributes["x"]> & OneOf<"y", BnChartScatter["y"], BnChartScatterAttributes["y"]>;
|
|
3024
4516
|
"bn-chart-structure": Omit<BnChartStructure, keyof BnChartStructureAttributes> & { [K in keyof BnChartStructure & keyof BnChartStructureAttributes]?: BnChartStructure[K] } & { [K in keyof BnChartStructure & keyof BnChartStructureAttributes as `attr:${K}`]?: BnChartStructureAttributes[K] } & { [K in keyof BnChartStructure & keyof BnChartStructureAttributes as `prop:${K}`]?: BnChartStructure[K] } & OneOf<"scenarios", BnChartStructure["scenarios"], BnChartStructureAttributes["scenarios"]> & OneOf<"variances", BnChartStructure["variances"], BnChartStructureAttributes["variances"]> & OneOf<"unitScaling", BnChartStructure["unitScaling"], BnChartStructureAttributes["unitScaling"]> & OneOf<"percentageScaling", BnChartStructure["percentageScaling"], BnChartStructureAttributes["percentageScaling"]> & OneOf<"level", BnChartStructure["level"], BnChartStructureAttributes["level"]> & OneOf<"order", BnChartStructure["order"], BnChartStructureAttributes["order"]> & OneOf<"orderDirection", BnChartStructure["orderDirection"], BnChartStructureAttributes["orderDirection"]>;
|
|
3025
4517
|
"bn-chart-time": Omit<BnChartTime, keyof BnChartTimeAttributes> & { [K in keyof BnChartTime & keyof BnChartTimeAttributes]?: BnChartTime[K] } & { [K in keyof BnChartTime & keyof BnChartTimeAttributes as `attr:${K}`]?: BnChartTimeAttributes[K] } & { [K in keyof BnChartTime & keyof BnChartTimeAttributes as `prop:${K}`]?: BnChartTime[K] } & OneOf<"scenarios", BnChartTime["scenarios"], BnChartTimeAttributes["scenarios"]> & OneOf<"variances", BnChartTime["variances"], BnChartTimeAttributes["variances"]> & OneOf<"unitScaling", BnChartTime["unitScaling"], BnChartTimeAttributes["unitScaling"]> & OneOf<"percentageScaling", BnChartTime["percentageScaling"], BnChartTimeAttributes["percentageScaling"]> & OneOf<"level", BnChartTime["level"], BnChartTimeAttributes["level"]> & OneOf<"order", BnChartTime["order"], BnChartTimeAttributes["order"]> & OneOf<"orderDirection", BnChartTime["orderDirection"], BnChartTimeAttributes["orderDirection"]> & OneOf<"dateInterval", BnChartTime["dateInterval"], BnChartTimeAttributes["dateInterval"]> & OneOf<"axisLabelsMode", BnChartTime["axisLabelsMode"], BnChartTimeAttributes["axisLabelsMode"]>;
|
|
3026
4518
|
"bn-component-style": Omit<BnComponentStyle, keyof BnComponentStyleAttributes> & { [K in keyof BnComponentStyle & keyof BnComponentStyleAttributes]?: BnComponentStyle[K] } & { [K in keyof BnComponentStyle & keyof BnComponentStyleAttributes as `attr:${K}`]?: BnComponentStyleAttributes[K] } & { [K in keyof BnComponentStyle & keyof BnComponentStyleAttributes as `prop:${K}`]?: BnComponentStyle[K] };
|
|
@@ -3035,12 +4527,17 @@ declare namespace LocalJSX {
|
|
|
3035
4527
|
"bn-layout-page": Omit<BnLayoutPage, keyof BnLayoutPageAttributes> & { [K in keyof BnLayoutPage & keyof BnLayoutPageAttributes]?: BnLayoutPage[K] } & { [K in keyof BnLayoutPage & keyof BnLayoutPageAttributes as `attr:${K}`]?: BnLayoutPageAttributes[K] } & { [K in keyof BnLayoutPage & keyof BnLayoutPageAttributes as `prop:${K}`]?: BnLayoutPage[K] };
|
|
3036
4528
|
"bn-message": Omit<BnMessage, keyof BnMessageAttributes> & { [K in keyof BnMessage & keyof BnMessageAttributes]?: BnMessage[K] } & { [K in keyof BnMessage & keyof BnMessageAttributes as `attr:${K}`]?: BnMessageAttributes[K] } & { [K in keyof BnMessage & keyof BnMessageAttributes as `prop:${K}`]?: BnMessage[K] };
|
|
3037
4529
|
"bn-page": Omit<BnPage, keyof BnPageAttributes> & { [K in keyof BnPage & keyof BnPageAttributes]?: BnPage[K] } & { [K in keyof BnPage & keyof BnPageAttributes as `attr:${K}`]?: BnPageAttributes[K] } & { [K in keyof BnPage & keyof BnPageAttributes as `prop:${K}`]?: BnPage[K] };
|
|
4530
|
+
"bn-ruleset": Omit<BnRuleset, keyof BnRulesetAttributes> & { [K in keyof BnRuleset & keyof BnRulesetAttributes]?: BnRuleset[K] } & { [K in keyof BnRuleset & keyof BnRulesetAttributes as `attr:${K}`]?: BnRulesetAttributes[K] } & { [K in keyof BnRuleset & keyof BnRulesetAttributes as `prop:${K}`]?: BnRuleset[K] };
|
|
4531
|
+
"bn-scaling-group": Omit<BnScalingGroup, keyof BnScalingGroupAttributes> & { [K in keyof BnScalingGroup & keyof BnScalingGroupAttributes]?: BnScalingGroup[K] } & { [K in keyof BnScalingGroup & keyof BnScalingGroupAttributes as `attr:${K}`]?: BnScalingGroupAttributes[K] } & { [K in keyof BnScalingGroup & keyof BnScalingGroupAttributes as `prop:${K}`]?: BnScalingGroup[K] } & OneOf<"name", BnScalingGroup["name"], BnScalingGroupAttributes["name"]> & OneOf<"value", BnScalingGroup["value"], BnScalingGroupAttributes["value"]>;
|
|
3038
4532
|
"bn-table": Omit<BnTable, keyof BnTableAttributes> & { [K in keyof BnTable & keyof BnTableAttributes]?: BnTable[K] } & { [K in keyof BnTable & keyof BnTableAttributes as `attr:${K}`]?: BnTableAttributes[K] } & { [K in keyof BnTable & keyof BnTableAttributes as `prop:${K}`]?: BnTable[K] };
|
|
3039
4533
|
"bn-template": Omit<BnTemplate, keyof BnTemplateAttributes> & { [K in keyof BnTemplate & keyof BnTemplateAttributes]?: BnTemplate[K] } & { [K in keyof BnTemplate & keyof BnTemplateAttributes as `attr:${K}`]?: BnTemplateAttributes[K] } & { [K in keyof BnTemplate & keyof BnTemplateAttributes as `prop:${K}`]?: BnTemplate[K] };
|
|
3040
4534
|
"bn-text": Omit<BnText, keyof BnTextAttributes> & { [K in keyof BnText & keyof BnTextAttributes]?: BnText[K] } & { [K in keyof BnText & keyof BnTextAttributes as `attr:${K}`]?: BnTextAttributes[K] } & { [K in keyof BnText & keyof BnTextAttributes as `prop:${K}`]?: BnText[K] };
|
|
3041
4535
|
"bn-title": Omit<BnTitle, keyof BnTitleAttributes> & { [K in keyof BnTitle & keyof BnTitleAttributes]?: BnTitle[K] } & { [K in keyof BnTitle & keyof BnTitleAttributes as `attr:${K}`]?: BnTitleAttributes[K] } & { [K in keyof BnTitle & keyof BnTitleAttributes as `prop:${K}`]?: BnTitle[K] };
|
|
3042
4536
|
"bn-tree": Omit<BnTree, keyof BnTreeAttributes> & { [K in keyof BnTree & keyof BnTreeAttributes]?: BnTree[K] } & { [K in keyof BnTree & keyof BnTreeAttributes as `attr:${K}`]?: BnTreeAttributes[K] } & { [K in keyof BnTree & keyof BnTreeAttributes as `prop:${K}`]?: BnTree[K] } & OneOf<"edges", BnTree["edges"], BnTreeAttributes["edges"]>;
|
|
3043
4537
|
"editor-companion": EditorCompanion;
|
|
4538
|
+
"ibcs-chart-bubble": Omit<IbcsChartBubble, keyof IbcsChartBubbleAttributes> & { [K in keyof IbcsChartBubble & keyof IbcsChartBubbleAttributes]?: IbcsChartBubble[K] } & { [K in keyof IbcsChartBubble & keyof IbcsChartBubbleAttributes as `attr:${K}`]?: IbcsChartBubbleAttributes[K] } & { [K in keyof IbcsChartBubble & keyof IbcsChartBubbleAttributes as `prop:${K}`]?: IbcsChartBubble[K] };
|
|
4539
|
+
"ibcs-chart-bullet": Omit<IbcsChartBullet, keyof IbcsChartBulletAttributes> & { [K in keyof IbcsChartBullet & keyof IbcsChartBulletAttributes]?: IbcsChartBullet[K] } & { [K in keyof IbcsChartBullet & keyof IbcsChartBulletAttributes as `attr:${K}`]?: IbcsChartBulletAttributes[K] } & { [K in keyof IbcsChartBullet & keyof IbcsChartBulletAttributes as `prop:${K}`]?: IbcsChartBullet[K] };
|
|
4540
|
+
"ibcs-chart-scatter": Omit<IbcsChartScatter, keyof IbcsChartScatterAttributes> & { [K in keyof IbcsChartScatter & keyof IbcsChartScatterAttributes]?: IbcsChartScatter[K] } & { [K in keyof IbcsChartScatter & keyof IbcsChartScatterAttributes as `attr:${K}`]?: IbcsChartScatterAttributes[K] } & { [K in keyof IbcsChartScatter & keyof IbcsChartScatterAttributes as `prop:${K}`]?: IbcsChartScatter[K] };
|
|
3044
4541
|
"ibcs-chart-structure": Omit<IbcsChartStructure, keyof IbcsChartStructureAttributes> & { [K in keyof IbcsChartStructure & keyof IbcsChartStructureAttributes]?: IbcsChartStructure[K] } & { [K in keyof IbcsChartStructure & keyof IbcsChartStructureAttributes as `attr:${K}`]?: IbcsChartStructureAttributes[K] } & { [K in keyof IbcsChartStructure & keyof IbcsChartStructureAttributes as `prop:${K}`]?: IbcsChartStructure[K] };
|
|
3045
4542
|
"ibcs-chart-time": Omit<IbcsChartTime, keyof IbcsChartTimeAttributes> & { [K in keyof IbcsChartTime & keyof IbcsChartTimeAttributes]?: IbcsChartTime[K] } & { [K in keyof IbcsChartTime & keyof IbcsChartTimeAttributes as `attr:${K}`]?: IbcsChartTimeAttributes[K] } & { [K in keyof IbcsChartTime & keyof IbcsChartTimeAttributes as `prop:${K}`]?: IbcsChartTime[K] };
|
|
3046
4543
|
"ibcs-table": Omit<IbcsTable, keyof IbcsTableAttributes> & { [K in keyof IbcsTable & keyof IbcsTableAttributes]?: IbcsTable[K] } & { [K in keyof IbcsTable & keyof IbcsTableAttributes as `attr:${K}`]?: IbcsTableAttributes[K] } & { [K in keyof IbcsTable & keyof IbcsTableAttributes as `prop:${K}`]?: IbcsTable[K] };
|
|
@@ -3054,6 +4551,41 @@ declare module "@stencil/core" {
|
|
|
3054
4551
|
"bn-asset": LocalJSX.IntrinsicElements["bn-asset"] & JSXBase.HTMLAttributes<HTMLBnAssetElement>;
|
|
3055
4552
|
"bn-body": LocalJSX.IntrinsicElements["bn-body"] & JSXBase.HTMLAttributes<HTMLBnBodyElement>;
|
|
3056
4553
|
"bn-card": LocalJSX.IntrinsicElements["bn-card"] & JSXBase.HTMLAttributes<HTMLBnCardElement>;
|
|
4554
|
+
/**
|
|
4555
|
+
* SVG bubble chart following IBCS template C10.
|
|
4556
|
+
* Subscribes to a dataset (via `withDataset`) and renders an XY bubble
|
|
4557
|
+
* portfolio: bubble **area** is proportional to the size measure, marks
|
|
4558
|
+
* compose series hues with scenario treatments, an optional comparison
|
|
4559
|
+
* family overlays behind the primary set (10D), and `share` draws pie
|
|
4560
|
+
* sectors inside the bubbles (10E). The heavy SVG rendering is performed
|
|
4561
|
+
* by the inner `ibcs-chart-bubble` element; this facade validates props,
|
|
4562
|
+
* resolves auto-detected metadata, and computes styles.
|
|
4563
|
+
*/
|
|
4564
|
+
"bn-chart-bubble": LocalJSX.IntrinsicElements["bn-chart-bubble"] & JSXBase.HTMLAttributes<HTMLBnChartBubbleElement>;
|
|
4565
|
+
/**
|
|
4566
|
+
* IBCS bullet graph: one horizontal row per KPI with a solid actual bar and
|
|
4567
|
+
* a target marker.
|
|
4568
|
+
* Subscribes to a dataset (via `withDataset`) and renders in the IBCS
|
|
4569
|
+
* default mode with **normalized targets** — every row is scaled to
|
|
4570
|
+
* fractions of its target so one continuous target line spans all rows and
|
|
4571
|
+
* KPIs become visually comparable — plus integrated variance bars in the
|
|
4572
|
+
* IBCS variance colors. The classic Stephen Few look is opt-in via
|
|
4573
|
+
* `normalize="none"` (per-row scales) and `ranges` (max two qualitative
|
|
4574
|
+
* gray bands). Actual and target scenarios are auto-detected from the
|
|
4575
|
+
* dataset meta when not set. The heavy SVG rendering is performed by the
|
|
4576
|
+
* inner `ibcs-chart-bullet` element; this facade validates props, resolves
|
|
4577
|
+
* auto-detected metadata, and computes styles.
|
|
4578
|
+
*/
|
|
4579
|
+
"bn-chart-bullet": LocalJSX.IntrinsicElements["bn-chart-bullet"] & JSXBase.HTMLAttributes<HTMLBnChartBulletElement>;
|
|
4580
|
+
/**
|
|
4581
|
+
* SVG scattergram following IBCS template C09.
|
|
4582
|
+
* Subscribes to a dataset (via `withDataset`) and renders an XY point cloud
|
|
4583
|
+
* with series hues, selective labels, highlight bands, and hyperbolic
|
|
4584
|
+
* iso-lines (`x·y = k`). The heavy SVG rendering is performed by the inner
|
|
4585
|
+
* `ibcs-chart-scatter` element; this facade validates props, resolves
|
|
4586
|
+
* auto-detected metadata, and computes styles.
|
|
4587
|
+
*/
|
|
4588
|
+
"bn-chart-scatter": LocalJSX.IntrinsicElements["bn-chart-scatter"] & JSXBase.HTMLAttributes<HTMLBnChartScatterElement>;
|
|
3057
4589
|
/**
|
|
3058
4590
|
* SVG structure (categorical) bar chart following IBCS standards.
|
|
3059
4591
|
* Subscribes to a dataset (via `withDataset`) and renders horizontal bar
|
|
@@ -3079,18 +4611,27 @@ declare module "@stencil/core" {
|
|
|
3079
4611
|
/**
|
|
3080
4612
|
* Queries data from one or more `bn-datasource` entries via AlaSQL and
|
|
3081
4613
|
* writes the result to the `datasets` store (+ computed `DatasetMeta`).
|
|
3082
|
-
* The
|
|
3083
|
-
*
|
|
3084
|
-
*
|
|
3085
|
-
*
|
|
4614
|
+
* The body content is observed via `withBodyObserver` and may be:
|
|
4615
|
+
* 1. **SQL** (default) — AlaSQL query against referenced `datasources`.
|
|
4616
|
+
* 2. **Static JSON** — set `static="true"` to bypass SQL and write the
|
|
4617
|
+
* parsed body directly to the `datasets` store.
|
|
4618
|
+
* 3. **URL** — place an `http://`/`https://` URL or a same-origin path
|
|
4619
|
+
* starting with `/` in the body to fetch JSON from an HTTP endpoint and
|
|
4620
|
+
* write it to the `datasets` store. Set the `interval` prop (in seconds)
|
|
4621
|
+
* to enable periodic re-fetching.
|
|
3086
4622
|
*/
|
|
3087
4623
|
"bn-dataset": LocalJSX.IntrinsicElements["bn-dataset"] & JSXBase.HTMLAttributes<HTMLBnDatasetElement>;
|
|
3088
4624
|
/**
|
|
3089
|
-
* Ingests
|
|
3090
|
-
* Data
|
|
3091
|
-
*
|
|
3092
|
-
*
|
|
3093
|
-
*
|
|
4625
|
+
* Ingests data and writes it to the scoped `datasources` store.
|
|
4626
|
+
* Data can be provided in three ways:
|
|
4627
|
+
* 1. **Inline JSON** — Place JSON text inside the element body (default).
|
|
4628
|
+
* 2. **Compressed payload** — Set `raw="false"` and provide `<hash>:<base64_gzip>` format.
|
|
4629
|
+
* 3. **URL** — Place an `http://`/`https://` URL or a same-origin path
|
|
4630
|
+
* starting with `/` in the body to fetch JSON from an HTTP endpoint.
|
|
4631
|
+
* In URL mode the component fetches JSON from the URL. Set the `interval`
|
|
4632
|
+
* prop (in seconds) to enable periodic re-fetching (polling).
|
|
4633
|
+
* Other components (e.g. `bn-dataset`) reference the stored data by the
|
|
4634
|
+
* `name` prop to run queries against it.
|
|
3094
4635
|
*/
|
|
3095
4636
|
"bn-datasource": LocalJSX.IntrinsicElements["bn-datasource"] & JSXBase.HTMLAttributes<HTMLBnDatasourceElement>;
|
|
3096
4637
|
"bn-footer": LocalJSX.IntrinsicElements["bn-footer"] & JSXBase.HTMLAttributes<HTMLBnFooterElement>;
|
|
@@ -3106,6 +4647,18 @@ declare module "@stencil/core" {
|
|
|
3106
4647
|
"bn-layout-page": LocalJSX.IntrinsicElements["bn-layout-page"] & JSXBase.HTMLAttributes<HTMLBnLayoutPageElement>;
|
|
3107
4648
|
"bn-message": LocalJSX.IntrinsicElements["bn-message"] & JSXBase.HTMLAttributes<HTMLBnMessageElement>;
|
|
3108
4649
|
"bn-page": LocalJSX.IntrinsicElements["bn-page"] & JSXBase.HTMLAttributes<HTMLBnPageElement>;
|
|
4650
|
+
"bn-ruleset": LocalJSX.IntrinsicElements["bn-ruleset"] & JSXBase.HTMLAttributes<HTMLBnRulesetElement>;
|
|
4651
|
+
/**
|
|
4652
|
+
* Defines a named scaling value that chart and table components can reference
|
|
4653
|
+
* via their `unit-scaling` or `percentage-scaling` attributes.
|
|
4654
|
+
* Multiple components sharing the same group name will use the same scaling
|
|
4655
|
+
* value, allowing synchronized scaling across an entire page or section.
|
|
4656
|
+
* The reserved name `"auto"` is not allowed and will be ignored with a warning.
|
|
4657
|
+
* @example <bn-scaling-group name="revenue" value="0.05"></bn-scaling-group>
|
|
4658
|
+
* <bn-chart-structure unit-scaling="revenue" ...></bn-chart-structure>
|
|
4659
|
+
* <bn-table unit-scaling="revenue" ...></bn-table>
|
|
4660
|
+
*/
|
|
4661
|
+
"bn-scaling-group": LocalJSX.IntrinsicElements["bn-scaling-group"] & JSXBase.HTMLAttributes<HTMLBnScalingGroupElement>;
|
|
3109
4662
|
/**
|
|
3110
4663
|
* Public-facing wrapper for the IBCS table component.
|
|
3111
4664
|
* Accepts user-facing string/number props, validates them, and converts
|
|
@@ -3145,6 +4698,24 @@ declare module "@stencil/core" {
|
|
|
3145
4698
|
* design time (e.g. for autocompletion or property pickers).
|
|
3146
4699
|
*/
|
|
3147
4700
|
"editor-companion": LocalJSX.IntrinsicElements["editor-companion"] & JSXBase.HTMLAttributes<HTMLEditorCompanionElement>;
|
|
4701
|
+
/**
|
|
4702
|
+
* Inner presentational element of `bn-chart-bubble`: owns the
|
|
4703
|
+
* {@link BubbleChart} orchestrator and emits its SVG string. All props
|
|
4704
|
+
* arrive validated and parsed from the facade.
|
|
4705
|
+
*/
|
|
4706
|
+
"ibcs-chart-bubble": LocalJSX.IntrinsicElements["ibcs-chart-bubble"] & JSXBase.HTMLAttributes<HTMLIbcsChartBubbleElement>;
|
|
4707
|
+
/**
|
|
4708
|
+
* Inner presentational element of `bn-chart-bullet`: owns the
|
|
4709
|
+
* {@link BulletChart} orchestrator and emits its SVG string. All props
|
|
4710
|
+
* arrive validated and parsed from the facade.
|
|
4711
|
+
*/
|
|
4712
|
+
"ibcs-chart-bullet": LocalJSX.IntrinsicElements["ibcs-chart-bullet"] & JSXBase.HTMLAttributes<HTMLIbcsChartBulletElement>;
|
|
4713
|
+
/**
|
|
4714
|
+
* Inner presentational element of `bn-chart-scatter`: owns the
|
|
4715
|
+
* {@link ScatterChart} orchestrator and emits its SVG string. All props
|
|
4716
|
+
* arrive validated and parsed from the facade.
|
|
4717
|
+
*/
|
|
4718
|
+
"ibcs-chart-scatter": LocalJSX.IntrinsicElements["ibcs-chart-scatter"] & JSXBase.HTMLAttributes<HTMLIbcsChartScatterElement>;
|
|
3148
4719
|
"ibcs-chart-structure": LocalJSX.IntrinsicElements["ibcs-chart-structure"] & JSXBase.HTMLAttributes<HTMLIbcsChartStructureElement>;
|
|
3149
4720
|
"ibcs-chart-time": LocalJSX.IntrinsicElements["ibcs-chart-time"] & JSXBase.HTMLAttributes<HTMLIbcsChartTimeElement>;
|
|
3150
4721
|
/**
|