@bino-bi/bn-template-engine 1.0.0-alpha.0 → 1.0.0-alpha.11
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-095f74d7.entry.js +1 -0
- package/dist/bn-template-engine/p-14318b0d.entry.js +1 -0
- package/dist/bn-template-engine/{p-c9f050bf.entry.js → p-2133e02b.entry.js} +1 -1
- package/dist/bn-template-engine/p-6b469808.entry.js +1 -0
- package/dist/bn-template-engine/p-7HSTE79g.js +1 -0
- package/dist/bn-template-engine/p-B4JfKvVT.js +1 -0
- package/dist/bn-template-engine/p-B_d-jp99.js +2 -0
- package/dist/bn-template-engine/p-Bi2wx-el.js +1 -0
- package/dist/bn-template-engine/p-CWiZks2h.js +1 -0
- package/dist/bn-template-engine/{p-BQp6ZPYW.js → p-DSXNgKLa.js} +1 -1
- package/dist/bn-template-engine/p-c2cbb8ea.entry.js +1 -0
- package/dist/bn-template-engine/p-e783733e.entry.js +1 -0
- package/dist/bn-template-engine/p-e94b4e31.entry.js +1 -0
- package/dist/bn-template-engine/p-fdb3e99a.entry.js +1 -0
- package/dist/cjs/bn-asset_21.cjs.entry.js +23995 -0
- package/dist/cjs/bn-grid.cjs.entry.js +6 -13
- package/dist/cjs/bn-image.cjs.entry.js +6 -13
- package/dist/cjs/bn-internationalization.cjs.entry.js +5 -7
- package/dist/cjs/bn-template-engine.cjs.js +2 -2
- package/dist/cjs/bn-template.cjs.entry.js +4 -6
- package/dist/cjs/bn-text.cjs.entry.js +10 -19
- package/dist/cjs/bn-tree.cjs.entry.js +11 -14
- package/dist/cjs/{context-protocol-BkYHFkXE.js → context-protocol-B_jipZpJ.js} +6 -2
- package/dist/cjs/editor-companion.cjs.entry.js +3 -3
- package/dist/cjs/{index-CScBFiS1.js → index-CDKG4xmO.js} +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/scaling-eyzCrFB8.js +329 -0
- package/dist/cjs/{withBodyObserver-B0_W1VOf.js → withBodyObserver-D7BKWN2N.js} +2 -2
- package/dist/cjs/{withHasError-Dspb3lIV.js → withHasError-Cl2gTQzA.js} +106 -2
- package/dist/{esm/luxon-DbyXf6dF.js → cjs/withStyled-V7xz_x1c.js} +1406 -1
- package/dist/collection/collection-manifest.json +2 -10
- 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-structure/bn-chart-structure.js +368 -130
- package/dist/collection/components/bn-chart-structure/ibcs-chart-structure.js +34 -10
- package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +94 -11
- package/dist/collection/components/bn-chart-structure/utils/elements/Label.js +11 -0
- package/dist/collection/components/bn-chart-structure/utils/elements/StackedBar.js +8 -6
- package/dist/collection/components/bn-chart-structure/utils/model/styles/StructureChartStyle.js +4 -0
- package/dist/collection/components/bn-chart-time/bn-chart-time.css +1 -1
- package/dist/collection/components/bn-chart-time/bn-chart-time.js +172 -51
- package/dist/collection/components/bn-chart-time/ibcs-chart-time.js +22 -9
- package/dist/collection/components/bn-chart-time/utils/TimeChart.js +3 -3
- package/dist/collection/components/bn-chart-time/utils/elements/StackedColumn.js +3 -4
- package/dist/collection/components/bn-chart-time/utils/model/styles/TimeChartStyle.js +4 -0
- package/dist/collection/components/bn-dataset/bn-dataset.js +49 -2
- package/dist/collection/components/bn-datasource/bn-datasource.js +173 -8
- package/dist/collection/components/bn-layout-card/bn-layout-card.css +3 -2
- package/dist/collection/components/bn-layout-card/bn-layout-card.js +207 -32
- package/dist/collection/components/bn-layout-page/bn-layout-page.css +1 -3
- package/dist/collection/components/bn-layout-page/bn-layout-page.js +172 -43
- package/dist/collection/components/bn-message/bn-message.js +1 -1
- package/dist/collection/components/bn-page/bn-page.js +1 -1
- 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 +201 -58
- package/dist/collection/components/bn-table/ibcs-table.css +7 -5
- package/dist/collection/components/bn-table/ibcs-table.js +91 -5
- package/dist/collection/components/bn-table/utils/elements/CellBarChart.js +79 -31
- package/dist/collection/components/bn-table/utils/elements/TableRow.js +3 -1
- package/dist/collection/components/bn-table/utils/factories/tableDataSetFactory.js +12 -3
- package/dist/collection/components/bn-table/utils/helper/ColumnStatistics.js +9 -1
- package/dist/collection/components/bn-template/bn-template.js +1 -1
- package/dist/collection/components/bn-text/bn-text.js +1 -1
- package/dist/collection/components/bn-title/bn-title.js +1 -9
- package/dist/collection/components/bn-title/ibcs-title/ibcs-title.js +1 -4
- package/dist/collection/components/bn-tree/bn-tree.js +5 -1
- package/dist/collection/components/editor-companion/editor-companion.js +1 -1
- package/dist/collection/stores/componentStyles.js +2 -0
- package/dist/collection/stores/createScopedStores.js +3 -1
- package/dist/collection/utils/DateStringFactory.js +0 -1
- package/dist/collection/utils/constants.js +35 -5
- package/dist/collection/utils/contentDecoder.js +28 -0
- package/dist/collection/utils/layoutObserver.js +88 -0
- package/dist/collection/utils/parentDimensions.js +57 -10
- package/dist/collection/utils/stackColors.js +2 -2
- package/dist/collection/utils/validate.js +5 -2
- package/dist/collection/utils/withInheritedProps.js +152 -0
- package/dist/collection/utils/withScalingGroup.js +66 -0
- package/dist/components/DataFormatDigits.js +1 -1
- package/dist/components/DateStringFactory.js +1 -1
- package/dist/components/Order.js +1 -1
- package/dist/components/SVGVariancesStyleGroup.js +1 -1
- package/dist/components/bn-body2.js +1 -1
- package/dist/components/bn-card2.js +1 -1
- package/dist/components/bn-chart-structure.js +1 -1
- package/dist/components/bn-chart-time.js +1 -1
- package/dist/components/bn-dataset.js +1 -1
- package/dist/components/bn-datasource.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/{test-runner-time.d.ts → bn-scaling-group.d.ts} +4 -4
- 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/contentDecoder.js +1 -0
- package/dist/components/context-protocol.js +1 -1
- package/dist/components/editor-companion.js +1 -1
- package/dist/components/emotion-hash.esm.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/ibcsRuleSet.js +1 -1
- package/dist/components/layoutObserver.js +1 -0
- package/dist/components/scaling.js +1 -1
- package/dist/components/validate.js +1 -1
- package/dist/components/withHasError.js +1 -1
- package/dist/components/withInheritedProps.js +1 -0
- package/dist/components/withStyled.js +1 -1
- package/dist/esm/bn-asset_21.entry.js +23973 -0
- package/dist/esm/bn-grid.entry.js +4 -11
- package/dist/esm/bn-image.entry.js +4 -11
- package/dist/esm/bn-internationalization.entry.js +4 -6
- package/dist/esm/bn-template-engine.js +3 -3
- package/dist/esm/bn-template.entry.js +3 -5
- package/dist/esm/bn-text.entry.js +6 -15
- package/dist/esm/bn-tree.entry.js +9 -12
- package/dist/esm/{context-protocol-DzeqZxg6.js → context-protocol-D-o_UZ33.js} +6 -2
- package/dist/esm/editor-companion.entry.js +3 -3
- package/dist/esm/{index-B27Ax6P_.js → index-B_d-jp99.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/scaling-BzbiBnuN.js +324 -0
- package/dist/esm/{withBodyObserver-gZpZiEIK.js → withBodyObserver-AFk2wwHT.js} +2 -2
- package/dist/esm/{withHasError-C48fTE2k.js → withHasError-DW_vMDUp.js} +106 -2
- package/dist/{cjs/luxon-8hyy5YD7.js → esm/withStyled-5RqF8WBL.js} +1371 -2
- package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +163 -110
- package/dist/types/components/bn-chart-structure/ibcs-chart-structure.d.ts +4 -3
- package/dist/types/components/bn-chart-structure/utils/StructureChart.d.ts +7 -0
- package/dist/types/components/bn-chart-structure/utils/elements/Label.d.ts +2 -0
- package/dist/types/components/bn-chart-structure/utils/model/styles/StructureChartStyle.d.ts +1 -0
- package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +29 -12
- package/dist/types/components/bn-chart-time/ibcs-chart-time.d.ts +4 -3
- package/dist/types/components/bn-chart-time/utils/model/styles/TimeChartStyle.d.ts +1 -0
- package/dist/types/components/bn-dataset/bn-dataset.d.ts +6 -0
- package/dist/types/components/bn-datasource/bn-datasource.d.ts +48 -5
- package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +153 -0
- package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +160 -1
- package/dist/types/components/bn-scaling-group/bn-scaling-group.d.ts +37 -0
- package/dist/types/components/bn-table/bn-table.d.ts +32 -17
- package/dist/types/components/bn-table/ibcs-table.d.ts +20 -0
- package/dist/types/components/bn-table/utils/elements/Cell.d.ts +1 -0
- package/dist/types/components/bn-table/utils/elements/CellBarChart.d.ts +1 -0
- package/dist/types/components/bn-title/bn-title.d.ts +0 -1
- package/dist/types/components.d.ts +438 -461
- package/dist/types/context/context-protocol.d.ts +2 -1
- package/dist/types/stores/componentStyles.d.ts +2 -0
- package/dist/types/stores/createScopedStores.d.ts +1 -0
- package/dist/types/utils/constants.d.ts +23 -5
- package/dist/types/utils/contentDecoder.d.ts +12 -0
- package/dist/types/utils/layoutObserver.d.ts +27 -0
- package/dist/types/utils/parentDimensions.d.ts +7 -2
- package/dist/types/utils/validate.d.ts +1 -0
- package/dist/types/utils/withInheritedProps.d.ts +38 -0
- package/dist/types/utils/withScalingGroup.d.ts +14 -0
- package/package.json +4 -4
- package/readme.md +2 -3
- package/dist/bn-template-engine/assets/gpx/Chasing_Legends.gpx +0 -195076
- package/dist/bn-template-engine/assets/gpx/Fahrt_am_Nachmittag.gpx +0 -142007
- package/dist/bn-template-engine/assets/icons/gpx-finish.png +0 -0
- package/dist/bn-template-engine/assets/icons/gpx-shadow.png +0 -0
- package/dist/bn-template-engine/assets/icons/gpx-start.png +0 -0
- package/dist/bn-template-engine/assets/icons/marker-example.png +0 -0
- package/dist/bn-template-engine/assets/icons/pin-icon-end.png +0 -0
- package/dist/bn-template-engine/assets/icons/pin-icon-start.png +0 -0
- package/dist/bn-template-engine/assets/icons/pin-icon-wpt.png +0 -0
- package/dist/bn-template-engine/assets/icons/pin-shadow.png +0 -0
- package/dist/bn-template-engine/assets/icons/pin.png +0 -0
- package/dist/bn-template-engine/p--TeDldm8.js +0 -1
- package/dist/bn-template-engine/p-0e7dc113.entry.js +0 -1
- package/dist/bn-template-engine/p-1jFf17Vj.js +0 -1
- package/dist/bn-template-engine/p-264c6bad.entry.js +0 -1
- package/dist/bn-template-engine/p-326a0902.entry.js +0 -1
- package/dist/bn-template-engine/p-38a8bde3.entry.js +0 -1
- package/dist/bn-template-engine/p-577eafcd.entry.js +0 -1
- package/dist/bn-template-engine/p-5905cc43.entry.js +0 -1
- package/dist/bn-template-engine/p-5d155a72.entry.js +0 -1
- package/dist/bn-template-engine/p-65f8962a.entry.js +0 -1
- package/dist/bn-template-engine/p-6b8d1ebf.entry.js +0 -1
- package/dist/bn-template-engine/p-7995acb2.entry.js +0 -1
- package/dist/bn-template-engine/p-7afe431e.entry.js +0 -1
- package/dist/bn-template-engine/p-8014b1ac.entry.js +0 -1
- package/dist/bn-template-engine/p-80423fc8.entry.js +0 -1
- package/dist/bn-template-engine/p-91e74d42.entry.js +0 -1
- package/dist/bn-template-engine/p-930a9e29.entry.js +0 -1
- package/dist/bn-template-engine/p-93C9jL8R.js +0 -1
- package/dist/bn-template-engine/p-93ff8584.entry.js +0 -1
- package/dist/bn-template-engine/p-B0m0U4wJ.js +0 -1
- package/dist/bn-template-engine/p-B27Ax6P_.js +0 -2
- package/dist/bn-template-engine/p-B79VcHiT.js +0 -1
- package/dist/bn-template-engine/p-BBd0ZVLL.js +0 -1
- package/dist/bn-template-engine/p-BFTU3MAI.js +0 -1
- package/dist/bn-template-engine/p-BFatTBqh.js +0 -1
- package/dist/bn-template-engine/p-BYmPQYxx.js +0 -1
- package/dist/bn-template-engine/p-BhEQy-2D.js +0 -1
- package/dist/bn-template-engine/p-BtVfu16B.js +0 -1
- package/dist/bn-template-engine/p-CY1RzLjU.js +0 -1
- package/dist/bn-template-engine/p-CfWnag33.js +0 -1
- package/dist/bn-template-engine/p-CnI71OA9.js +0 -1
- package/dist/bn-template-engine/p-Cp4MVxCu.js +0 -1
- package/dist/bn-template-engine/p-DbyXf6dF.js +0 -1
- package/dist/bn-template-engine/p-TdL-LRR9.js +0 -1
- package/dist/bn-template-engine/p-_LBTIfNN.js +0 -1
- package/dist/bn-template-engine/p-a342cd3c.entry.js +0 -1
- package/dist/bn-template-engine/p-ad94cf63.entry.js +0 -1
- package/dist/bn-template-engine/p-bc37d750.entry.js +0 -1
- package/dist/bn-template-engine/p-d07a0ca3.entry.js +0 -1
- package/dist/bn-template-engine/p-e5f372af.entry.js +0 -1
- package/dist/bn-template-engine/p-e620028c.entry.js +0 -1
- package/dist/bn-template-engine/p-e81e116a.entry.js +0 -1
- package/dist/bn-template-engine/p-eca98070.entry.js +0 -1
- package/dist/bn-template-engine/p-ee6de950.entry.js +0 -1
- package/dist/bn-template-engine/p-efe0ef1e.entry.js +0 -1
- package/dist/bn-template-engine/p-f034f1b8.entry.js +0 -1
- package/dist/bn-template-engine/p-f1c1a8a3.entry.js +0 -1
- package/dist/bn-template-engine/p-fe573a1a.entry.js +0 -1
- package/dist/bn-template-engine/p-kMyLevYy.js +0 -1
- package/dist/cjs/DataFormatDigits-DmTbhF8q.js +0 -142
- package/dist/cjs/DateStringFactory-Dn0aRj2Y.js +0 -453
- package/dist/cjs/Order-B4NIqQWe.js +0 -129
- package/dist/cjs/SVGVariancesStyleGroup-Czizhngt.js +0 -7973
- package/dist/cjs/StringAdapter-0EbYMkR0.js +0 -136
- package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +0 -10
- package/dist/cjs/alasql.min-C_nHTuEQ.js +0 -306
- package/dist/cjs/bn-asset.cjs.entry.js +0 -42
- package/dist/cjs/bn-body_3.cjs.entry.js +0 -413
- package/dist/cjs/bn-card.cjs.entry.js +0 -37
- package/dist/cjs/bn-chart-structure.cjs.entry.js +0 -705
- package/dist/cjs/bn-chart-time.cjs.entry.js +0 -987
- package/dist/cjs/bn-component-style.cjs.entry.js +0 -44
- package/dist/cjs/bn-context_5.cjs.entry.js +0 -3380
- package/dist/cjs/bn-dataset.cjs.entry.js +0 -278
- package/dist/cjs/bn-layout-card.cjs.entry.js +0 -128
- package/dist/cjs/bn-layout-page.cjs.entry.js +0 -142
- package/dist/cjs/bn-map.cjs.entry.js +0 -425
- package/dist/cjs/bn-message.cjs.entry.js +0 -52
- package/dist/cjs/componentRegister-C17UFNPh.js +0 -72
- package/dist/cjs/constants-DHqQXSSd.js +0 -158
- package/dist/cjs/formatter-DIJL_crx.js +0 -215
- package/dist/cjs/ibcs-chart-structure.cjs.entry.js +0 -2906
- package/dist/cjs/ibcs-chart-time.cjs.entry.js +0 -4140
- package/dist/cjs/ibcs-map.cjs.entry.js +0 -1075
- package/dist/cjs/ibcs-title.cjs.entry.js +0 -352
- package/dist/cjs/scaling-B23eOtsC.js +0 -67
- package/dist/cjs/test-runner-card.cjs.entry.js +0 -27
- package/dist/cjs/test-runner-chart-time.cjs.entry.js +0 -230
- package/dist/cjs/test-runner-chart.cjs.entry.js +0 -326
- package/dist/cjs/test-runner-map.cjs.entry.js +0 -1862
- package/dist/cjs/test-runner-table.cjs.entry.js +0 -477
- package/dist/cjs/test-runner-time.cjs.entry.js +0 -381
- package/dist/cjs/test-runner-title.cjs.entry.js +0 -115
- package/dist/cjs/withComponentStatus-BrxL7usr.js +0 -39
- package/dist/cjs/withComponentStyle-C6KHnZHt.js +0 -128
- package/dist/cjs/withDataset-ZdN-RRTx.js +0 -146
- package/dist/cjs/withStyled-Bf-stJTR.js +0 -567
- package/dist/cjs/withTranslation-Cz0M5maV.js +0 -77
- package/dist/collection/components/bn-map/bn-map.css +0 -4
- package/dist/collection/components/bn-map/bn-map.js +0 -725
- package/dist/collection/components/bn-map/ibcs-map/assets/gpx/Chasing_Legends.gpx +0 -195076
- package/dist/collection/components/bn-map/ibcs-map/assets/gpx/Fahrt_am_Nachmittag.gpx +0 -142007
- package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-finish.png +0 -0
- package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-shadow.png +0 -0
- package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-start.png +0 -0
- package/dist/collection/components/bn-map/ibcs-map/assets/icons/marker-example.png +0 -0
- package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-end.png +0 -0
- package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-start.png +0 -0
- package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-wpt.png +0 -0
- package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-shadow.png +0 -0
- package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin.png +0 -0
- package/dist/collection/components/bn-map/ibcs-map/ibcs-map.css +0 -674
- package/dist/collection/components/bn-map/ibcs-map/ibcs-map.js +0 -744
- package/dist/collection/components/bn-map/ibcs-map/utils/model/GeoJsonLayer.js +0 -9
- package/dist/collection/components/bn-map/ibcs-map/utils/model/GpxLayer.js +0 -13
- package/dist/collection/components/bn-map/ibcs-map/utils/model/Marker.js +0 -11
- package/dist/collection/components/bn-map/ibcs-map/utils/model/index.js +0 -2
- package/dist/collection/test-runner/test-runner-card.js +0 -36
- package/dist/collection/test-runner/test-runner-chart-time.js +0 -234
- package/dist/collection/test-runner/test-runner-chart.js +0 -364
- package/dist/collection/test-runner/test-runner-map.js +0 -1901
- package/dist/collection/test-runner/test-runner-table.js +0 -469
- package/dist/collection/test-runner/test-runner-time.js +0 -399
- package/dist/collection/test-runner/test-runner-title.js +0 -108
- package/dist/components/bn-map.d.ts +0 -11
- package/dist/components/bn-map.js +0 -1
- package/dist/components/componentRegister.js +0 -1
- package/dist/components/ibcs-map.d.ts +0 -11
- package/dist/components/ibcs-map.js +0 -1
- package/dist/components/ibcs-map2.js +0 -1
- package/dist/components/test-runner-card.d.ts +0 -11
- package/dist/components/test-runner-card.js +0 -1
- package/dist/components/test-runner-chart-time.d.ts +0 -11
- package/dist/components/test-runner-chart-time.js +0 -1
- package/dist/components/test-runner-chart.d.ts +0 -11
- package/dist/components/test-runner-chart.js +0 -1
- package/dist/components/test-runner-map.d.ts +0 -11
- package/dist/components/test-runner-map.js +0 -1
- package/dist/components/test-runner-table.d.ts +0 -11
- package/dist/components/test-runner-table.js +0 -1
- package/dist/components/test-runner-time.js +0 -1
- package/dist/components/test-runner-title.d.ts +0 -11
- package/dist/components/test-runner-title.js +0 -1
- package/dist/components/withDataset.js +0 -1
- package/dist/esm/DataFormatDigits-Dt6gpIiZ.js +0 -137
- package/dist/esm/DateStringFactory-_Qiv0IvF.js +0 -451
- package/dist/esm/Order-B4fpLe_f.js +0 -125
- package/dist/esm/SVGVariancesStyleGroup-DlWgvpzs.js +0 -7961
- package/dist/esm/StringAdapter-BLvo1Krl.js +0 -133
- package/dist/esm/_commonjsHelpers-BFTU3MAI.js +0 -7
- package/dist/esm/alasql.min-CWu4NkIt.js +0 -304
- package/dist/esm/bn-asset.entry.js +0 -40
- package/dist/esm/bn-body_3.entry.js +0 -409
- package/dist/esm/bn-card.entry.js +0 -35
- package/dist/esm/bn-chart-structure.entry.js +0 -703
- package/dist/esm/bn-chart-time.entry.js +0 -985
- package/dist/esm/bn-component-style.entry.js +0 -42
- package/dist/esm/bn-context_5.entry.js +0 -3374
- package/dist/esm/bn-dataset.entry.js +0 -276
- package/dist/esm/bn-layout-card.entry.js +0 -126
- package/dist/esm/bn-layout-page.entry.js +0 -140
- package/dist/esm/bn-map.entry.js +0 -423
- package/dist/esm/bn-message.entry.js +0 -50
- package/dist/esm/componentRegister-BtVfu16B.js +0 -72
- package/dist/esm/constants-kMyLevYy.js +0 -158
- package/dist/esm/formatter-DTMEZ6d8.js +0 -211
- package/dist/esm/ibcs-chart-structure.entry.js +0 -2904
- package/dist/esm/ibcs-chart-time.entry.js +0 -4138
- package/dist/esm/ibcs-map.entry.js +0 -1073
- package/dist/esm/ibcs-title.entry.js +0 -350
- package/dist/esm/scaling-BBd0ZVLL.js +0 -64
- package/dist/esm/test-runner-card.entry.js +0 -25
- package/dist/esm/test-runner-chart-time.entry.js +0 -228
- package/dist/esm/test-runner-chart.entry.js +0 -324
- package/dist/esm/test-runner-map.entry.js +0 -1860
- package/dist/esm/test-runner-table.entry.js +0 -475
- package/dist/esm/test-runner-time.entry.js +0 -379
- package/dist/esm/test-runner-title.entry.js +0 -113
- package/dist/esm/withComponentStatus-elELReKt.js +0 -37
- package/dist/esm/withComponentStyle-NaxfakAG.js +0 -126
- package/dist/esm/withDataset-BT2VQCsG.js +0 -144
- package/dist/esm/withStyled-CpUTv74m.js +0 -539
- package/dist/esm/withTranslation-Do4GhleK.js +0 -75
- package/dist/types/components/bn-map/bn-map.d.ts +0 -122
- package/dist/types/components/bn-map/ibcs-map/ibcs-map.d.ts +0 -73
- package/dist/types/components/bn-map/ibcs-map/utils/model/GeoJsonLayer.d.ts +0 -8
- package/dist/types/components/bn-map/ibcs-map/utils/model/GpxLayer.d.ts +0 -11
- package/dist/types/components/bn-map/ibcs-map/utils/model/Marker.d.ts +0 -9
- package/dist/types/components/bn-map/ibcs-map/utils/model/index.d.ts +0 -2
- package/dist/types/test-runner/test-runner-card.d.ts +0 -3
- package/dist/types/test-runner/test-runner-chart-time.d.ts +0 -3
- package/dist/types/test-runner/test-runner-chart.d.ts +0 -3
- package/dist/types/test-runner/test-runner-map.d.ts +0 -3
- package/dist/types/test-runner/test-runner-table.d.ts +0 -3
- package/dist/types/test-runner/test-runner-time.d.ts +0 -3
- package/dist/types/test-runner/test-runner-title.d.ts +0 -3
|
@@ -18,9 +18,6 @@ import { TimeChartDataRow } from "./components/bn-chart-time/utils/model/TimeCha
|
|
|
18
18
|
import { TimeChartStyle } from "./components/bn-chart-time/utils/model/styles/TimeChartStyle";
|
|
19
19
|
import { DateDistance } from "./utils/DateStringFactory";
|
|
20
20
|
import { StackConfigParsed as StackConfigParsed1 } from "./components/bn-chart-time/utils/model/TimeChartComponentConfig";
|
|
21
|
-
import { GpxLayer } from "./components/bn-map/ibcs-map/utils/model/GpxLayer";
|
|
22
|
-
import { Marker } from "./components/bn-map/ibcs-map/utils/model/Marker";
|
|
23
|
-
import { GeoJsonLayer } from "./components/bn-map/ibcs-map/utils/model/GeoJsonLayer";
|
|
24
21
|
import { TableDataRow } from "./components/bn-table/utils/model/TableDataRow";
|
|
25
22
|
import { TableDrillGroup } from "./components/bn-table/utils/model/TableDrillGroup";
|
|
26
23
|
import { TableType } from "./components/bn-table/utils/model";
|
|
@@ -39,9 +36,6 @@ export { TimeChartDataRow } from "./components/bn-chart-time/utils/model/TimeCha
|
|
|
39
36
|
export { TimeChartStyle } from "./components/bn-chart-time/utils/model/styles/TimeChartStyle";
|
|
40
37
|
export { DateDistance } from "./utils/DateStringFactory";
|
|
41
38
|
export { StackConfigParsed as StackConfigParsed1 } from "./components/bn-chart-time/utils/model/TimeChartComponentConfig";
|
|
42
|
-
export { GpxLayer } from "./components/bn-map/ibcs-map/utils/model/GpxLayer";
|
|
43
|
-
export { Marker } from "./components/bn-map/ibcs-map/utils/model/Marker";
|
|
44
|
-
export { GeoJsonLayer } from "./components/bn-map/ibcs-map/utils/model/GeoJsonLayer";
|
|
45
39
|
export { TableDataRow } from "./components/bn-table/utils/model/TableDataRow";
|
|
46
40
|
export { TableDrillGroup } from "./components/bn-table/utils/model/TableDrillGroup";
|
|
47
41
|
export { TableType } from "./components/bn-table/utils/model";
|
|
@@ -69,44 +63,55 @@ export namespace Components {
|
|
|
69
63
|
*/
|
|
70
64
|
interface BnChartStructure {
|
|
71
65
|
/**
|
|
72
|
-
*
|
|
66
|
+
* Title displayed above the chart. When empty, the title is derived from the variance scenario labels (if variances are configured).
|
|
67
|
+
* @example chart-title="Revenue by Category"
|
|
73
68
|
* @default ""
|
|
74
69
|
*/
|
|
75
70
|
"chartTitle": string;
|
|
76
71
|
/**
|
|
77
|
-
* AlaSQL WHERE clause fragment injected into the data query to filter rows before rendering
|
|
72
|
+
* AlaSQL WHERE clause fragment injected into the data query to filter rows before rendering.
|
|
73
|
+
* @example filter="rowGroup = 'Revenue'"
|
|
78
74
|
* @default ""
|
|
79
75
|
*/
|
|
80
76
|
"filter": string;
|
|
81
77
|
/**
|
|
82
|
-
*
|
|
78
|
+
* Aggregation level that determines which hierarchy dimension each bar represents. | Value | Bars represent | |--------------------|---------------------------| | `"rowGroup"` | Row groups | | `"rowGroupIndex"` | Row groups (dataset order)| | `"category"` | Categories | | `"categoryIndex"` | Categories (dataset order)| | `"subCategory"` | Sub-categories | | `"subCategoryIndex"` | Sub-categories (dataset order)| | `"auto"` | Auto-detect from dataset metadata (no warning) | | not set / `""` | Auto-detect with `AUTO_level` warning | Index variants preserve the original dataset order instead of sorting alphabetically. When `stack.by` is `"dimensions"`, the chart automatically stacks by the next-lower level (e.g. level `"rowGroup"` stacks by category).
|
|
79
|
+
* @example level="category"
|
|
83
80
|
*/
|
|
84
81
|
"level": string;
|
|
85
82
|
/**
|
|
86
|
-
*
|
|
83
|
+
* Maximum number of bars to display. Excess rows are aggregated into a "REST" summary bar. `0` means no limit (all rows are shown).
|
|
87
84
|
* @default 0
|
|
85
|
+
* @example limit="5"
|
|
88
86
|
*/
|
|
89
87
|
"limit": number;
|
|
90
88
|
/**
|
|
91
|
-
*
|
|
89
|
+
* SI prefix applied to data values, dividing them for display (e.g. `"k"` divides by 1 000, showing 14 000 as "14"). Common prefixes: `"k"` (×10³), `"M"` (×10⁶), `"G"` (×10⁹), `"T"` (×10¹²). Use `"_"` for no prefix (raw values). | Special value | Behavior | |---------------|--------------------------------------------------------------| | `"GREATEST"` | Auto-select prefix based on the largest value in the dataset | | `"LEAST"` | Auto-select prefix based on the smallest value | The selected prefix is shown in the chart footer when `show-measure-scale` is enabled.
|
|
92
90
|
* @default "greatest"
|
|
91
|
+
* @example measure-scale="k"
|
|
93
92
|
*/
|
|
94
93
|
"measureScale": string;
|
|
95
94
|
/**
|
|
96
|
-
*
|
|
95
|
+
* Unit label displayed alongside the SI prefix in the chart footer (e.g. "EUR", "USD", "pcs"). Only visible when `show-measure-scale` is `"true"`.
|
|
97
96
|
* @default ""
|
|
97
|
+
* @example measure-unit="EUR"
|
|
98
98
|
*/
|
|
99
99
|
"measureUnit": string;
|
|
100
100
|
/**
|
|
101
|
-
*
|
|
101
|
+
* Comma-separated list of columns that define the sort order of bars. When ordering by a scenario column, that scenario must also be listed in `scenarios`. Valid values: `category`, `categoryIndex`, `rowGroup`, `rowGroupIndex`, `subCategory`, `subCategoryIndex`, `ac1`–`ac4`, `fc1`–`fc4`, `pp1`–`pp4`, `pl1`–`pl4`. | Value | Behavior | |----------------|-----------------------------------------------------| | `"ac1"` | Sort bars by the ac1 scenario values | | `"category"` | Sort bars alphabetically by category name | | `"auto"` | Auto-detect from dataset metadata (no warning) | | not set / `""` | Auto-detect with `AUTO_order` warning |
|
|
102
|
+
* @example order="ac1"
|
|
102
103
|
*/
|
|
103
104
|
"order": string;
|
|
104
105
|
/**
|
|
105
|
-
*
|
|
106
|
+
* Sort direction applied to the columns specified in `order`. Values: `"asc"` (ascending) | `"desc"` (descending).
|
|
107
|
+
* @default "asc"
|
|
108
|
+
* @example order-direction="desc"
|
|
106
109
|
*/
|
|
107
110
|
"orderDirection": string;
|
|
108
111
|
/**
|
|
109
|
-
*
|
|
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 `<bn-scaling-group>` for synchronized scaling |
|
|
113
|
+
* @example percentage-scaling="50"
|
|
114
|
+
* @example percentage-scaling="pct-scale"
|
|
110
115
|
*/
|
|
111
116
|
"percentageScaling": string | number;
|
|
112
117
|
/**
|
|
@@ -114,30 +119,40 @@ export namespace Components {
|
|
|
114
119
|
*/
|
|
115
120
|
"scale"?: string;
|
|
116
121
|
/**
|
|
117
|
-
*
|
|
122
|
+
* Comma-separated list of scenario columns to display as bars. Up to 4 scenarios are supported; additional values are ignored. Valid scenario names: `ac1`–`ac4`, `fc1`–`fc4`, `pp1`–`pp4`, `pl1`–`pl4`. | Value | Behavior | |---------------|-------------------------------------------------------------| | `"ac1,fc1"` | Show the listed scenarios | | `"auto"` | Auto-detect from dataset metadata (no warning) | | not set / `""` | Auto-detect from dataset metadata (emits `AUTO_scenarios` warning) |
|
|
123
|
+
* @example scenarios="ac1,pp1,pl1"
|
|
118
124
|
*/
|
|
119
125
|
"scenarios": string;
|
|
120
126
|
/**
|
|
127
|
+
* Whether to display category labels on the left side of the chart. Values: `"true"` | `"false"`.
|
|
121
128
|
* @default "true"
|
|
129
|
+
* @example show-categories="false"
|
|
122
130
|
*/
|
|
123
131
|
"showCategories": string;
|
|
124
132
|
/**
|
|
125
|
-
* Toggles display of
|
|
133
|
+
* Toggles display of the SI prefix and unit label in the chart footer (e.g. "k EUR"). Values: `"true"` | `"false"`.
|
|
126
134
|
* @default "false"
|
|
135
|
+
* @example show-measure-scale="true"
|
|
127
136
|
*/
|
|
128
137
|
"showMeasureScale": string;
|
|
129
138
|
/**
|
|
130
|
-
* Stacking configuration
|
|
131
|
-
* @default
|
|
132
|
-
* @example stack='{"by":"
|
|
139
|
+
* Stacking configuration as a JSON string. When set, bars are drawn as stacked segments instead of side-by-side. **Properties:** | Key | Values | Description | |---------|-----------------------------------------------|----------------------------------------------------| | `by` | `"scenarios"` \| `"dimensions"` | **Required.** What to stack. | | `mode` | `"absolute"` \| `"relative"` \| `"absolute-relative"` | Stacking mode. Default: `"absolute"`. | | `order` | `"asc"` \| `"desc"` \| `"dataset"` | Segment sort order. Default: `"dataset"`. | - `by: "scenarios"` — stacks the scenarios listed in the `scenarios` prop end-to-end. - `by: "dimensions"` — stacks by the next-lower hierarchy level derived from `level` (e.g. level `"rowGroup"` stacks by category). Only the first scenario is used; extra scenarios trigger a `WARN_stack_dimensions_scenarios` warning. - `mode: "relative"` — normalizes each bar to 100%, showing proportions. - `mode: "absolute-relative"` — absolute bars with percentage labels. Segment colors are configurable via the `stackColors` array in component styles.
|
|
140
|
+
* @default "" (no stacking)
|
|
141
|
+
* @example stack='{"by":"scenarios","mode":"absolute"}'
|
|
142
|
+
* @example stack='{"by":"dimensions","mode":"relative"}'
|
|
133
143
|
*/
|
|
134
144
|
"stack": string;
|
|
135
145
|
/**
|
|
136
|
-
*
|
|
146
|
+
* 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.
|
|
147
|
+
* @example unit-scaling="auto"
|
|
148
|
+
* @example unit-scaling="0.05"
|
|
149
|
+
* @example unit-scaling="revenue-scale"
|
|
137
150
|
*/
|
|
138
151
|
"unitScaling": string | number;
|
|
139
152
|
/**
|
|
140
|
-
*
|
|
153
|
+
* Comma-separated list of variance definitions. Each variance adds a separate sub-chart next to the main bar chart. **Pattern:** `d<base>_<comparison>_<sentiment>` (absolute) or `dr<base>_<comparison>_<sentiment>` (relative / percentage). - `base` / `comparison`: scenario names that must also appear in `scenarios`. - `sentiment`: `pos` (positive is good), `neg` (negative is good), `neu` (neutral). When empty, no variance charts are shown.
|
|
154
|
+
* @example variances="dpp1_ac1_neg,dfc1_ac1_neg"
|
|
155
|
+
* @example variances="drac1_pl1_pos"
|
|
141
156
|
*/
|
|
142
157
|
"variances": string;
|
|
143
158
|
}
|
|
@@ -217,7 +232,9 @@ export namespace Components {
|
|
|
217
232
|
*/
|
|
218
233
|
"orderDirection": string;
|
|
219
234
|
/**
|
|
220
|
-
*
|
|
235
|
+
* 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 |
|
|
236
|
+
* @example percentage-scaling="50"
|
|
237
|
+
* @example percentage-scaling="pct-scale"
|
|
221
238
|
*/
|
|
222
239
|
"percentageScaling": string | number;
|
|
223
240
|
/**
|
|
@@ -257,7 +274,10 @@ export namespace Components {
|
|
|
257
274
|
*/
|
|
258
275
|
"syncSpaceLeft": number;
|
|
259
276
|
/**
|
|
260
|
-
*
|
|
277
|
+
* 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 |
|
|
278
|
+
* @example unit-scaling="auto"
|
|
279
|
+
* @example unit-scaling="0.05"
|
|
280
|
+
* @example unit-scaling="revenue-scale"
|
|
261
281
|
*/
|
|
262
282
|
"unitScaling": string | number;
|
|
263
283
|
/**
|
|
@@ -292,6 +312,11 @@ export namespace Components {
|
|
|
292
312
|
* Unique (template scope) name of the datasource
|
|
293
313
|
*/
|
|
294
314
|
"name": string;
|
|
315
|
+
/**
|
|
316
|
+
* When true (default), body content is plain text (SQL or JSON). When false, body content is a compressed payload (`<hash>:<base64_gzip>`).
|
|
317
|
+
* @default true
|
|
318
|
+
*/
|
|
319
|
+
"raw": boolean;
|
|
295
320
|
/**
|
|
296
321
|
* When true, bypasses the AlaSQL query engine and parses the body content as raw JSON, writing it directly to the datasets store.
|
|
297
322
|
* @default false
|
|
@@ -299,16 +324,32 @@ export namespace Components {
|
|
|
299
324
|
"static": boolean;
|
|
300
325
|
}
|
|
301
326
|
/**
|
|
302
|
-
* Ingests
|
|
303
|
-
* Data
|
|
304
|
-
*
|
|
305
|
-
*
|
|
327
|
+
* Ingests data and writes it to the scoped `datasources` store.
|
|
328
|
+
* Data can be provided in three ways:
|
|
329
|
+
* 1. **Inline JSON** — Place JSON text inside the element body (default).
|
|
330
|
+
* 2. **Compressed payload** — Set `raw="false"` and provide `<hash>:<base64_gzip>` format.
|
|
331
|
+
* 3. **URL** — Place an `http://` or `https://` URL in the body to fetch JSON
|
|
332
|
+
* from a remote endpoint.
|
|
333
|
+
* In URL mode the component fetches JSON from the URL. Set the `interval`
|
|
334
|
+
* prop (in seconds) to enable periodic re-fetching (polling).
|
|
335
|
+
* Other components (e.g. `bn-dataset`) reference the stored data by the
|
|
336
|
+
* `name` prop to run queries against it.
|
|
306
337
|
*/
|
|
307
338
|
interface BnDatasource {
|
|
308
339
|
/**
|
|
309
|
-
*
|
|
340
|
+
* 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.
|
|
341
|
+
* @default 0
|
|
342
|
+
*/
|
|
343
|
+
"interval": number;
|
|
344
|
+
/**
|
|
345
|
+
* Unique (template scope) name of the datasource.
|
|
310
346
|
*/
|
|
311
347
|
"name": string;
|
|
348
|
+
/**
|
|
349
|
+
* When true (default), body content is plain JSON text. When false, body content is a compressed payload (`<hash>:<base64_gzip>`). Ignored in URL mode.
|
|
350
|
+
* @default true
|
|
351
|
+
*/
|
|
352
|
+
"raw": boolean;
|
|
312
353
|
}
|
|
313
354
|
interface BnFooter {
|
|
314
355
|
/**
|
|
@@ -389,18 +430,24 @@ export namespace Components {
|
|
|
389
430
|
}
|
|
390
431
|
interface BnLayoutCard {
|
|
391
432
|
/**
|
|
433
|
+
* CSS `grid-template-areas` string used when `cardLayout` is set to `custom-template`. Each quoted row defines a grid row; letters map to slot indices in order of first appearance.
|
|
434
|
+
* @example <bn-layout-card card-layout="custom-template" card-custom-template='"a a" "b c"'></bn-layout-card>
|
|
392
435
|
* @default '"a b" "c d"'
|
|
393
436
|
*/
|
|
394
437
|
"cardCustomTemplate": string;
|
|
395
438
|
/**
|
|
396
|
-
*
|
|
439
|
+
* 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.
|
|
440
|
+
* @default false
|
|
397
441
|
*/
|
|
398
442
|
"cardFitToContent": boolean;
|
|
399
443
|
/**
|
|
444
|
+
* Gap between grid cells in pixels.
|
|
400
445
|
* @default "0"
|
|
401
446
|
*/
|
|
402
447
|
"cardGridGap": string;
|
|
403
448
|
/**
|
|
449
|
+
* Layout mode that controls how child components are arranged inside the card body using CSS Grid. <br /><br /> values:<br /> ```full // split-vertical // split-horizontal // 2x2 // 3x3 // 4x4 // 1-over-2 // 1-over-3 // 2-over-1 // 3-over-1 // custom-template``` <br /><br /> `full`: single slot. `split-vertical`: two side-by-side slots. `split-horizontal`: two stacked slots. `NxN`: equal grid. `1-over-2`: one full-width slot on top, two below. `custom-template`: uses the `cardCustomTemplate` CSS grid-template-areas string.
|
|
450
|
+
* @example <bn-layout-card card-layout="split-horizontal"></bn-layout-card>
|
|
404
451
|
* @default "full"
|
|
405
452
|
*/
|
|
406
453
|
"cardLayout": | "full"
|
|
@@ -415,78 +462,124 @@ export namespace Components {
|
|
|
415
462
|
| "3-over-1"
|
|
416
463
|
| "custom-template";
|
|
417
464
|
/**
|
|
465
|
+
* Whether to display a visible border around the card.
|
|
418
466
|
* @default true
|
|
419
467
|
*/
|
|
420
468
|
"cardShowBorder": boolean;
|
|
421
469
|
/**
|
|
470
|
+
* Text displayed in the card footer. If empty, the footer text is omitted.
|
|
422
471
|
* @default ""
|
|
423
472
|
*/
|
|
424
473
|
"footerText"?: string;
|
|
425
474
|
"getNumberOfSlot": (name: string) => Promise<number>;
|
|
475
|
+
/**
|
|
476
|
+
* 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.
|
|
477
|
+
*/
|
|
426
478
|
"styles"?: string;
|
|
427
479
|
/**
|
|
480
|
+
* Name of the business unit displayed in the title header row. If empty, the business unit row is omitted.
|
|
481
|
+
* @example <bn-layout-card title-business-unit="Sales"></bn-layout-card>
|
|
428
482
|
* @default ""
|
|
429
483
|
*/
|
|
430
484
|
"titleBusinessUnit": string;
|
|
485
|
+
/**
|
|
486
|
+
* End date displayed in the title date row. Accepts `yyyy-MM-dd` (e.g. `2024-12-31`) or ISO 8601 datetime (e.g. `2024-12-31T23:59:59Z`).
|
|
487
|
+
*/
|
|
431
488
|
"titleDateEnd"?: string;
|
|
432
489
|
/**
|
|
490
|
+
* Date display format used in the title row. <br /><br /> values:<br /> ```year // quarter // month // week // day // time // auto // none``` <br /><br /> `year`: YYYY, `quarter`: Q[Q] YYYY, `month`: MMM YYYY, `week`: [KW]WW YYYY, `day`: DD.MM.YYYY, `time`: DD.MM.YYYY HH:mm:ss, `auto`: automatic detection, `none`: DD.MM.YYYY.
|
|
433
491
|
* @default "none"
|
|
434
492
|
*/
|
|
435
493
|
"titleDateFormat": string;
|
|
436
494
|
/**
|
|
495
|
+
* Format in which the start and end dates are linked in the title. If set to `none` a plain date is shown. <br /><br /> values:<br /> ```avg // interval // cum // start // end // ytd // ytg // mat // none``` <br /><br /> `avg`: Ø[DATE], `interval`: [DATE]..[DATE2], `start`: .[DATE], `end`: [DATE]., `ytd`: _[DATE], `ytg`: [DATE]_, `cum`: [DATE]_[DATE2], `mat`: ~[DATE], `none`: [DATE].
|
|
437
496
|
* @default "none"
|
|
438
497
|
*/
|
|
439
498
|
"titleDateLink": string;
|
|
499
|
+
/**
|
|
500
|
+
* Start date displayed in the title date row. Accepts `yyyy-MM-dd` (e.g. `2024-01-01`) or ISO 8601 datetime (e.g. `2024-01-01T14:30:00Z`).
|
|
501
|
+
*/
|
|
440
502
|
"titleDateStart"?: string;
|
|
441
503
|
/**
|
|
504
|
+
* URL or asset name of the image displayed next to the card title. The value is resolved via the scoped assets store: if it matches a registered asset name, the stored URL is used; otherwise the raw value is treated as a URL. The deprecated `asset:` prefix is still supported for backward compatibility. <br /><br /> If empty, the title image is omitted.
|
|
505
|
+
* @example <bn-layout-card title-image="company_logo"></bn-layout-card>
|
|
442
506
|
* @default ""
|
|
443
507
|
*/
|
|
444
508
|
"titleImage": string;
|
|
509
|
+
/**
|
|
510
|
+
* Array of measure objects with `name` and `unit` displayed in the title. Passed as a JSON string. If all units are the same, redundant units are reduced and names concatenated. If empty, the measure row is omitted.
|
|
511
|
+
* @example <bn-layout-card title-measures='[{"name":"Revenue","unit":"mEUR"}]'></bn-layout-card>
|
|
512
|
+
*/
|
|
445
513
|
"titleMeasures"?: string;
|
|
446
514
|
/**
|
|
515
|
+
* Namespace used for title translations via the internationalization store.
|
|
447
516
|
* @default "_system"
|
|
448
517
|
*/
|
|
449
518
|
"titleNamespace": string;
|
|
450
519
|
/**
|
|
520
|
+
* Primary column on which the order direction is applied. <br /><br /> values:<br /> ```category // categoryindex // rowgroup // rowgroupindex // ac // fc // py // pl```
|
|
451
521
|
* @default "category"
|
|
452
522
|
*/
|
|
453
523
|
"titleOrder": string;
|
|
454
524
|
/**
|
|
525
|
+
* Sorting order direction for the column specified by `titleOrder`. <br /><br /> values:<br /> ```asc // desc```
|
|
455
526
|
* @default "asc"
|
|
456
527
|
*/
|
|
457
528
|
"titleOrderDirection": string;
|
|
529
|
+
/**
|
|
530
|
+
* List of scenarios displayed in the title header. <br /><br /> Comma-separated string or omitted. If empty, the scenarios row is omitted. <br /><br /> values:<br /> ```ac // fc // py // pl```
|
|
531
|
+
*/
|
|
458
532
|
"titleScenarios"?: string;
|
|
533
|
+
/**
|
|
534
|
+
* List of variances calculated from the given scenarios. The scenarios used in the variances must also be defined in the `titleScenarios` property. The variance is defined as (ScenarioA − ScenarioB). The pos/neg/neu postfix defines which direction is considered "good". <br /><br /> If empty, variance indicators are hidden. <br /><br /> pattern:<br /> ```d<scenarioB>_<scenarioA>_[pos/neg/neu]```
|
|
535
|
+
*/
|
|
459
536
|
"titleVariances"?: string;
|
|
460
537
|
}
|
|
461
538
|
interface BnLayoutPage {
|
|
462
539
|
/**
|
|
540
|
+
* Whether to display the page number in the footer.
|
|
463
541
|
* @default true
|
|
464
542
|
*/
|
|
465
543
|
"footerDisplayPageNumber"?: boolean;
|
|
544
|
+
/**
|
|
545
|
+
* Text displayed in the page footer. If empty, the footer text is omitted.
|
|
546
|
+
*/
|
|
466
547
|
"footerText"?: string;
|
|
467
548
|
"getNumberOfSlot": (name: string) => Promise<number>;
|
|
468
549
|
/**
|
|
550
|
+
* 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.
|
|
551
|
+
* @example <bn-layout-page message-image="debug/concordia.png"></bn-layout-page>
|
|
469
552
|
* @default ""
|
|
470
553
|
*/
|
|
471
554
|
"messageImage": string;
|
|
472
555
|
/**
|
|
556
|
+
* Message text displayed in the message row above the title. If empty, the message row is omitted.
|
|
473
557
|
* @default ""
|
|
474
558
|
*/
|
|
475
559
|
"messageText": string;
|
|
476
560
|
/**
|
|
561
|
+
* CSS `grid-template-areas` string used when `pageLayout` is set to `custom-template`. Each quoted row defines a grid row; letters map to slot indices in order of first appearance.
|
|
562
|
+
* @example <bn-layout-page page-layout="custom-template" page-custom-template='"a a" "b c"'></bn-layout-page>
|
|
477
563
|
* @default '"a b" "c d"'
|
|
478
564
|
*/
|
|
479
565
|
"pageCustomTemplate": string;
|
|
480
566
|
/**
|
|
481
|
-
*
|
|
567
|
+
* When `true`, the page body height shrinks to fit its content (`fit-content`). When `false` (default), the body stretches to fill the full page height (`100%`). Width is always `100%` regardless of this setting. <br /><br /> Use `false` (default) when the page contains components with auto-scaling (e.g. `unit-scaling="auto"` or `scale="auto"`), because auto-scaling needs a fixed parent height to calculate dimensions.
|
|
568
|
+
* @default false
|
|
482
569
|
*/
|
|
483
570
|
"pageFitToContent": boolean;
|
|
571
|
+
/**
|
|
572
|
+
* Page size format. Determines the pixel dimensions of the rendered page. <br /><br /> values:<br /> ```xga // hd // full-hd // 4k // 4k2k // a4 // a3 // a2 // a1 // a0 // letter // legal```
|
|
573
|
+
*/
|
|
484
574
|
"pageFormat"?: string;
|
|
485
575
|
/**
|
|
576
|
+
* Gap between grid cells in pixels.
|
|
486
577
|
* @default "0"
|
|
487
578
|
*/
|
|
488
579
|
"pageGridGap": string;
|
|
489
580
|
/**
|
|
581
|
+
* Layout mode that controls how child components are arranged in the page body using CSS Grid. <br /><br /> values:<br /> ```full // split-vertical // split-horizontal // 2x2 // 3x3 // 4x4 // 1-over-2 // 1-over-3 // 2-over-1 // 3-over-1 // custom-template``` <br /><br /> `full`: single slot. `split-vertical`: two side-by-side slots. `split-horizontal`: two stacked slots. `NxN`: equal grid. `1-over-2`: one full-width slot on top, two below. `custom-template`: uses the `pageCustomTemplate` CSS grid-template-areas string.
|
|
582
|
+
* @example <bn-layout-page page-layout="2x2"></bn-layout-page>
|
|
490
583
|
* @default "full"
|
|
491
584
|
*/
|
|
492
585
|
"pageLayout": | "full"
|
|
@@ -500,98 +593,70 @@ export namespace Components {
|
|
|
500
593
|
| "2-over-1"
|
|
501
594
|
| "3-over-1"
|
|
502
595
|
| "custom-template";
|
|
596
|
+
/**
|
|
597
|
+
* Page number displayed in the footer. If empty, no page number is shown (unless `footerDisplayPageNumber` is also set).
|
|
598
|
+
*/
|
|
503
599
|
"pageNumber"?: string;
|
|
600
|
+
/**
|
|
601
|
+
* Page orientation. Default depends on the chosen format. <br /><br /> values:<br /> ```landscape // portrait```
|
|
602
|
+
*/
|
|
504
603
|
"pageOrientation"?: string;
|
|
604
|
+
/**
|
|
605
|
+
* 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.
|
|
606
|
+
*/
|
|
505
607
|
"styles"?: string;
|
|
506
608
|
/**
|
|
609
|
+
* Name of the business unit displayed in the title header row. If empty, the business unit row is omitted.
|
|
610
|
+
* @example <bn-layout-page title-business-unit="Group Controlling"></bn-layout-page>
|
|
507
611
|
* @default ""
|
|
508
612
|
*/
|
|
509
613
|
"titleBusinessUnit": string;
|
|
614
|
+
/**
|
|
615
|
+
* End date displayed in the title date row. Accepts `yyyy-MM-dd` (e.g. `2024-12-31`) or ISO 8601 datetime (e.g. `2024-12-31T23:59:59Z`).
|
|
616
|
+
*/
|
|
510
617
|
"titleDateEnd"?: string;
|
|
511
618
|
/**
|
|
619
|
+
* Date display format used in the title row. <br /><br /> values:<br /> ```year // quarter // month // week // day // time // auto // none``` <br /><br /> `year`: YYYY, `quarter`: Q[Q] YYYY, `month`: MMM YYYY, `week`: [KW]WW YYYY, `day`: DD.MM.YYYY, `time`: DD.MM.YYYY HH:mm:ss, `auto`: automatic detection, `none`: DD.MM.YYYY.
|
|
512
620
|
* @default "none"
|
|
513
621
|
*/
|
|
514
622
|
"titleDateFormat": string;
|
|
515
623
|
/**
|
|
624
|
+
* Format in which the start and end dates are linked in the title. If set to `none` a plain date is shown. <br /><br /> values:<br /> ```avg // interval // cum // start // end // ytd // ytg // mat // none``` <br /><br /> `avg`: Ø[DATE], `interval`: [DATE]..[DATE2], `start`: .[DATE], `end`: [DATE]., `ytd`: _[DATE], `ytg`: [DATE]_, `cum`: [DATE]_[DATE2], `mat`: ~[DATE], `none`: [DATE].
|
|
516
625
|
* @default "none"
|
|
517
626
|
*/
|
|
518
627
|
"titleDateLink": string;
|
|
628
|
+
/**
|
|
629
|
+
* Start date displayed in the title date row. Accepts `yyyy-MM-dd` (e.g. `2024-01-01`) or ISO 8601 datetime (e.g. `2024-01-01T14:30:00Z`).
|
|
630
|
+
*/
|
|
519
631
|
"titleDateStart"?: string;
|
|
632
|
+
/**
|
|
633
|
+
* Array of measure objects with `name` and `unit` displayed in the title. Passed as a JSON string. If all units are the same, redundant units are reduced and names concatenated. If empty, the measure row is omitted.
|
|
634
|
+
* @example <bn-layout-page title-measures='[{"name":"Revenue","unit":"mEUR"}]'></bn-layout-page>
|
|
635
|
+
*/
|
|
520
636
|
"titleMeasures"?: string;
|
|
521
637
|
/**
|
|
638
|
+
* Namespace used for title translations via the internationalization store.
|
|
522
639
|
* @default "_system"
|
|
523
640
|
*/
|
|
524
641
|
"titleNamespace": string;
|
|
525
642
|
/**
|
|
643
|
+
* Primary column on which the order direction is applied. <br /><br /> values:<br /> ```category // categoryindex // rowgroup // rowgroupindex // ac // fc // py // pl```
|
|
526
644
|
* @default "category"
|
|
527
645
|
*/
|
|
528
646
|
"titleOrder": string;
|
|
529
647
|
/**
|
|
648
|
+
* Sorting order direction for the column specified by `titleOrder`. <br /><br /> values:<br /> ```asc // desc```
|
|
530
649
|
* @default "asc"
|
|
531
650
|
*/
|
|
532
651
|
"titleOrderDirection": string;
|
|
533
|
-
"titleScenarios"?: string;
|
|
534
|
-
"titleVariances"?: string;
|
|
535
|
-
}
|
|
536
|
-
interface BnMap {
|
|
537
|
-
/**
|
|
538
|
-
* Set Footer label
|
|
539
|
-
* @default ""
|
|
540
|
-
*/
|
|
541
|
-
"attribution": string;
|
|
542
|
-
/**
|
|
543
|
-
* @default null
|
|
544
|
-
*/
|
|
545
|
-
"geojsons": string | null;
|
|
546
652
|
/**
|
|
547
|
-
*
|
|
548
|
-
* @default null
|
|
549
|
-
*/
|
|
550
|
-
"gpxs": string | null;
|
|
551
|
-
/**
|
|
552
|
-
* Name of the gpxs Dataset used in map default: $gpxs
|
|
553
|
-
* @default "$gpxs"
|
|
554
|
-
*/
|
|
555
|
-
"gpxsDatasetName": string;
|
|
556
|
-
/**
|
|
557
|
-
* Latitude of the maps viewport center, the selected value will be ignored if gpx files are selected
|
|
558
|
-
* @default 50.137634
|
|
653
|
+
* List of scenarios displayed in the title header. <br /><br /> Comma-separated string or omitted. If empty, the scenarios row is omitted. <br /><br /> values:<br /> ```ac // fc // py // pl```
|
|
559
654
|
*/
|
|
560
|
-
"
|
|
561
|
-
/**
|
|
562
|
-
* Latitude of the maps viewport center, the selected value will be ignored if gpx files are selected
|
|
563
|
-
* @default 8.679129
|
|
564
|
-
*/
|
|
565
|
-
"longitude": number;
|
|
566
|
-
/**
|
|
567
|
-
* @default true
|
|
568
|
-
*/
|
|
569
|
-
"manualPosOverride": boolean;
|
|
570
|
-
/**
|
|
571
|
-
* Marker Parameter example [{"latitude": 50.137634, "longitude": 8.679129, "iconUrl": "http://localhost:3333/build/assets/icons/marker-example.png", "iconWidth": 64, "iconHeight":64}]
|
|
572
|
-
* @default null
|
|
573
|
-
*/
|
|
574
|
-
"markers": string | null;
|
|
575
|
-
/**
|
|
576
|
-
* Name of the makers Dataset used in map default: $markers
|
|
577
|
-
* @default "$markers"
|
|
578
|
-
*/
|
|
579
|
-
"markersDatasetName": string;
|
|
580
|
-
/**
|
|
581
|
-
* scale / zoom factor of the maps viewport. Decrease the value to zoom out. Increase the value to zoom in. the selected value will be ignored if gpx files are selected
|
|
582
|
-
* @default 11
|
|
583
|
-
*/
|
|
584
|
-
"scale": number;
|
|
585
|
-
/**
|
|
586
|
-
* Activates/ Deactivates Map Scale
|
|
587
|
-
* @default false
|
|
588
|
-
*/
|
|
589
|
-
"showScale": boolean;
|
|
655
|
+
"titleScenarios"?: string;
|
|
590
656
|
/**
|
|
591
|
-
*
|
|
592
|
-
* @default "https://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}{r}.png"
|
|
657
|
+
* List of variances calculated from the given scenarios. The scenarios used in the variances must also be defined in the `titleScenarios` property. The variance is defined as (ScenarioA − ScenarioB). The pos/neg/neu postfix defines which direction is considered "good". <br /><br /> If empty, variance indicators are hidden. <br /><br /> pattern:<br /> ```d<scenarioB>_<scenarioA>_[pos/neg/neu]```
|
|
593
658
|
*/
|
|
594
|
-
"
|
|
659
|
+
"titleVariances"?: string;
|
|
595
660
|
}
|
|
596
661
|
interface BnMessage {
|
|
597
662
|
/**
|
|
@@ -613,6 +678,26 @@ export namespace Components {
|
|
|
613
678
|
*/
|
|
614
679
|
"orientation": string;
|
|
615
680
|
}
|
|
681
|
+
/**
|
|
682
|
+
* Defines a named scaling value that chart and table components can reference
|
|
683
|
+
* via their `unit-scaling` or `percentage-scaling` attributes.
|
|
684
|
+
* Multiple components sharing the same group name will use the same scaling
|
|
685
|
+
* value, allowing synchronized scaling across an entire page or section.
|
|
686
|
+
* The reserved name `"auto"` is not allowed and will be ignored with a warning.
|
|
687
|
+
* @example <bn-scaling-group name="revenue" value="0.05"></bn-scaling-group>
|
|
688
|
+
* <bn-chart-structure unit-scaling="revenue" ...></bn-chart-structure>
|
|
689
|
+
* <bn-table unit-scaling="revenue" ...></bn-table>
|
|
690
|
+
*/
|
|
691
|
+
interface BnScalingGroup {
|
|
692
|
+
/**
|
|
693
|
+
* 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.
|
|
694
|
+
*/
|
|
695
|
+
"name": string;
|
|
696
|
+
/**
|
|
697
|
+
* The scaling value (pixels per data unit or pixels per percentage point, depending on which attribute references this group).
|
|
698
|
+
*/
|
|
699
|
+
"value": number;
|
|
700
|
+
}
|
|
616
701
|
/**
|
|
617
702
|
* Public-facing wrapper for the IBCS table component.
|
|
618
703
|
* Accepts user-facing string/number props, validates them, and converts
|
|
@@ -622,6 +707,11 @@ export namespace Components {
|
|
|
622
707
|
* to the inner `ibcs-table` element.
|
|
623
708
|
*/
|
|
624
709
|
interface BnTable {
|
|
710
|
+
/**
|
|
711
|
+
* Set width of bar chart columns. Controls the max bar/pin width in pixels. <br /><br /> values:<br /> ``` w5 // w10 // w15 // w20 // w25 // w30 // w40 // w60 // w80 // w100 ```
|
|
712
|
+
* @default "w10"
|
|
713
|
+
*/
|
|
714
|
+
"barColumnWidth": string;
|
|
625
715
|
/**
|
|
626
716
|
* List of variance 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. <br /><br /> example:<br /> ```dac1_pp1_pos,drac1_pp1_pos```
|
|
627
717
|
*/
|
|
@@ -697,12 +787,14 @@ export namespace Components {
|
|
|
697
787
|
*/
|
|
698
788
|
"partof": string;
|
|
699
789
|
/**
|
|
700
|
-
* Scaling for relative variance pin charts (ΔPY%). <br /><br />
|
|
790
|
+
* 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
|
|
791
|
+
* @example percentage-scaling="0.5"
|
|
792
|
+
* @example percentage-scaling="pct-scale"
|
|
701
793
|
* @default 0.5
|
|
702
794
|
*/
|
|
703
795
|
"percentageScaling": string | number;
|
|
704
796
|
/**
|
|
705
|
-
* 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
|
|
797
|
+
* 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.
|
|
706
798
|
* @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>
|
|
707
799
|
*/
|
|
708
800
|
"scale"?: string;
|
|
@@ -736,7 +828,9 @@ export namespace Components {
|
|
|
736
828
|
*/
|
|
737
829
|
"type": string;
|
|
738
830
|
/**
|
|
739
|
-
*
|
|
831
|
+
* 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
|
|
832
|
+
* @example unit-scaling="0.01"
|
|
833
|
+
* @example unit-scaling="revenue-scale"
|
|
740
834
|
* @default 0.01
|
|
741
835
|
*/
|
|
742
836
|
"unitScaling": string | number;
|
|
@@ -1057,58 +1151,6 @@ export namespace Components {
|
|
|
1057
1151
|
*/
|
|
1058
1152
|
"variances": string[];
|
|
1059
1153
|
}
|
|
1060
|
-
interface IbcsMap {
|
|
1061
|
-
/**
|
|
1062
|
-
* @default this._attribution
|
|
1063
|
-
*/
|
|
1064
|
-
"attribution": string;
|
|
1065
|
-
/**
|
|
1066
|
-
* @default this._customView
|
|
1067
|
-
*/
|
|
1068
|
-
"customView": boolean;
|
|
1069
|
-
/**
|
|
1070
|
-
* @default this._geojsons
|
|
1071
|
-
*/
|
|
1072
|
-
"geojsons": GeoJsonLayer[] | string;
|
|
1073
|
-
/**
|
|
1074
|
-
* @default this._gpxs
|
|
1075
|
-
*/
|
|
1076
|
-
"gpxs": GpxLayer[] | string;
|
|
1077
|
-
/**
|
|
1078
|
-
* @default this._latitude
|
|
1079
|
-
*/
|
|
1080
|
-
"latitude": number;
|
|
1081
|
-
/**
|
|
1082
|
-
* @default this._longitude
|
|
1083
|
-
*/
|
|
1084
|
-
"longitude": number;
|
|
1085
|
-
/**
|
|
1086
|
-
* @default this._manualPosOverride
|
|
1087
|
-
*/
|
|
1088
|
-
"manualPosOverride": boolean;
|
|
1089
|
-
/**
|
|
1090
|
-
* @default this._markers
|
|
1091
|
-
*/
|
|
1092
|
-
"markers": Marker[] | string;
|
|
1093
|
-
/**
|
|
1094
|
-
* @default this._scale
|
|
1095
|
-
*/
|
|
1096
|
-
"scale": number;
|
|
1097
|
-
"setProps": (data: Partial<IbcsMap>) => Promise<void>;
|
|
1098
|
-
/**
|
|
1099
|
-
* @default this._showScale
|
|
1100
|
-
*/
|
|
1101
|
-
"showScale": boolean;
|
|
1102
|
-
/**
|
|
1103
|
-
* @default this._showZoom
|
|
1104
|
-
*/
|
|
1105
|
-
"showZoom": boolean;
|
|
1106
|
-
/**
|
|
1107
|
-
* @default this._tileLayer
|
|
1108
|
-
*/
|
|
1109
|
-
"tileLayer": string;
|
|
1110
|
-
"unSetProps": (data: Partial<IbcsMap>) => Promise<void>;
|
|
1111
|
-
}
|
|
1112
1154
|
/**
|
|
1113
1155
|
* Internal rendering engine for `bn-table`.
|
|
1114
1156
|
* Receives pre-validated, typed props from the outer `bn-table` wrapper and
|
|
@@ -1118,6 +1160,10 @@ export namespace Components {
|
|
|
1118
1160
|
* not be used directly; use `bn-table` instead.
|
|
1119
1161
|
*/
|
|
1120
1162
|
interface IbcsTable {
|
|
1163
|
+
/**
|
|
1164
|
+
* @default 30
|
|
1165
|
+
*/
|
|
1166
|
+
"barColumnMaxWidth": number;
|
|
1121
1167
|
/**
|
|
1122
1168
|
* @default []
|
|
1123
1169
|
*/
|
|
@@ -1252,28 +1298,6 @@ export namespace Components {
|
|
|
1252
1298
|
"setProps": (data: Partial<IbcsTitle>) => Promise<void>;
|
|
1253
1299
|
"timeperiod"?: TimePeriod;
|
|
1254
1300
|
}
|
|
1255
|
-
interface TestRunnerCard {
|
|
1256
|
-
}
|
|
1257
|
-
interface TestRunnerChart {
|
|
1258
|
-
}
|
|
1259
|
-
interface TestRunnerChartTime {
|
|
1260
|
-
}
|
|
1261
|
-
interface TestRunnerMap {
|
|
1262
|
-
}
|
|
1263
|
-
interface TestRunnerTable {
|
|
1264
|
-
}
|
|
1265
|
-
interface TestRunnerTime {
|
|
1266
|
-
}
|
|
1267
|
-
interface TestRunnerTitle {
|
|
1268
|
-
}
|
|
1269
|
-
}
|
|
1270
|
-
export interface BnMapCustomEvent<T> extends CustomEvent<T> {
|
|
1271
|
-
detail: T;
|
|
1272
|
-
target: HTMLBnMapElement;
|
|
1273
|
-
}
|
|
1274
|
-
export interface IbcsMapCustomEvent<T> extends CustomEvent<T> {
|
|
1275
|
-
detail: T;
|
|
1276
|
-
target: HTMLIbcsMapElement;
|
|
1277
1301
|
}
|
|
1278
1302
|
declare global {
|
|
1279
1303
|
interface HTMLBnAssetElement extends Components.BnAsset, HTMLStencilElement {
|
|
@@ -1351,10 +1375,16 @@ declare global {
|
|
|
1351
1375
|
new (): HTMLBnDatasetElement;
|
|
1352
1376
|
};
|
|
1353
1377
|
/**
|
|
1354
|
-
* Ingests
|
|
1355
|
-
* Data
|
|
1356
|
-
*
|
|
1357
|
-
*
|
|
1378
|
+
* Ingests data and writes it to the scoped `datasources` store.
|
|
1379
|
+
* Data can be provided in three ways:
|
|
1380
|
+
* 1. **Inline JSON** — Place JSON text inside the element body (default).
|
|
1381
|
+
* 2. **Compressed payload** — Set `raw="false"` and provide `<hash>:<base64_gzip>` format.
|
|
1382
|
+
* 3. **URL** — Place an `http://` or `https://` URL in the body to fetch JSON
|
|
1383
|
+
* from a remote endpoint.
|
|
1384
|
+
* In URL mode the component fetches JSON from the URL. Set the `interval`
|
|
1385
|
+
* prop (in seconds) to enable periodic re-fetching (polling).
|
|
1386
|
+
* Other components (e.g. `bn-dataset`) reference the stored data by the
|
|
1387
|
+
* `name` prop to run queries against it.
|
|
1358
1388
|
*/
|
|
1359
1389
|
interface HTMLBnDatasourceElement extends Components.BnDatasource, HTMLStencilElement {
|
|
1360
1390
|
}
|
|
@@ -1403,24 +1433,6 @@ declare global {
|
|
|
1403
1433
|
prototype: HTMLBnLayoutPageElement;
|
|
1404
1434
|
new (): HTMLBnLayoutPageElement;
|
|
1405
1435
|
};
|
|
1406
|
-
interface HTMLBnMapElementEventMap {
|
|
1407
|
-
"bnStateUpdated": any;
|
|
1408
|
-
"bnDragZoomEnded": any;
|
|
1409
|
-
}
|
|
1410
|
-
interface HTMLBnMapElement extends Components.BnMap, HTMLStencilElement {
|
|
1411
|
-
addEventListener<K extends keyof HTMLBnMapElementEventMap>(type: K, listener: (this: HTMLBnMapElement, ev: BnMapCustomEvent<HTMLBnMapElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1412
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1413
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1414
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1415
|
-
removeEventListener<K extends keyof HTMLBnMapElementEventMap>(type: K, listener: (this: HTMLBnMapElement, ev: BnMapCustomEvent<HTMLBnMapElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1416
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1417
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1418
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1419
|
-
}
|
|
1420
|
-
var HTMLBnMapElement: {
|
|
1421
|
-
prototype: HTMLBnMapElement;
|
|
1422
|
-
new (): HTMLBnMapElement;
|
|
1423
|
-
};
|
|
1424
1436
|
interface HTMLBnMessageElement extends Components.BnMessage, HTMLStencilElement {
|
|
1425
1437
|
}
|
|
1426
1438
|
var HTMLBnMessageElement: {
|
|
@@ -1433,6 +1445,22 @@ declare global {
|
|
|
1433
1445
|
prototype: HTMLBnPageElement;
|
|
1434
1446
|
new (): HTMLBnPageElement;
|
|
1435
1447
|
};
|
|
1448
|
+
/**
|
|
1449
|
+
* Defines a named scaling value that chart and table components can reference
|
|
1450
|
+
* via their `unit-scaling` or `percentage-scaling` attributes.
|
|
1451
|
+
* Multiple components sharing the same group name will use the same scaling
|
|
1452
|
+
* value, allowing synchronized scaling across an entire page or section.
|
|
1453
|
+
* The reserved name `"auto"` is not allowed and will be ignored with a warning.
|
|
1454
|
+
* @example <bn-scaling-group name="revenue" value="0.05"></bn-scaling-group>
|
|
1455
|
+
* <bn-chart-structure unit-scaling="revenue" ...></bn-chart-structure>
|
|
1456
|
+
* <bn-table unit-scaling="revenue" ...></bn-table>
|
|
1457
|
+
*/
|
|
1458
|
+
interface HTMLBnScalingGroupElement extends Components.BnScalingGroup, HTMLStencilElement {
|
|
1459
|
+
}
|
|
1460
|
+
var HTMLBnScalingGroupElement: {
|
|
1461
|
+
prototype: HTMLBnScalingGroupElement;
|
|
1462
|
+
new (): HTMLBnScalingGroupElement;
|
|
1463
|
+
};
|
|
1436
1464
|
/**
|
|
1437
1465
|
* Public-facing wrapper for the IBCS table component.
|
|
1438
1466
|
* Accepts user-facing string/number props, validates them, and converts
|
|
@@ -1514,24 +1542,6 @@ declare global {
|
|
|
1514
1542
|
prototype: HTMLIbcsChartTimeElement;
|
|
1515
1543
|
new (): HTMLIbcsChartTimeElement;
|
|
1516
1544
|
};
|
|
1517
|
-
interface HTMLIbcsMapElementEventMap {
|
|
1518
|
-
"stateUpdated": any;
|
|
1519
|
-
"dragZoomEnded": any;
|
|
1520
|
-
}
|
|
1521
|
-
interface HTMLIbcsMapElement extends Components.IbcsMap, HTMLStencilElement {
|
|
1522
|
-
addEventListener<K extends keyof HTMLIbcsMapElementEventMap>(type: K, listener: (this: HTMLIbcsMapElement, ev: IbcsMapCustomEvent<HTMLIbcsMapElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1523
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1524
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1525
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1526
|
-
removeEventListener<K extends keyof HTMLIbcsMapElementEventMap>(type: K, listener: (this: HTMLIbcsMapElement, ev: IbcsMapCustomEvent<HTMLIbcsMapElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1527
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1528
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1529
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1530
|
-
}
|
|
1531
|
-
var HTMLIbcsMapElement: {
|
|
1532
|
-
prototype: HTMLIbcsMapElement;
|
|
1533
|
-
new (): HTMLIbcsMapElement;
|
|
1534
|
-
};
|
|
1535
1545
|
/**
|
|
1536
1546
|
* Internal rendering engine for `bn-table`.
|
|
1537
1547
|
* Receives pre-validated, typed props from the outer `bn-table` wrapper and
|
|
@@ -1552,48 +1562,6 @@ declare global {
|
|
|
1552
1562
|
prototype: HTMLIbcsTitleElement;
|
|
1553
1563
|
new (): HTMLIbcsTitleElement;
|
|
1554
1564
|
};
|
|
1555
|
-
interface HTMLTestRunnerCardElement extends Components.TestRunnerCard, HTMLStencilElement {
|
|
1556
|
-
}
|
|
1557
|
-
var HTMLTestRunnerCardElement: {
|
|
1558
|
-
prototype: HTMLTestRunnerCardElement;
|
|
1559
|
-
new (): HTMLTestRunnerCardElement;
|
|
1560
|
-
};
|
|
1561
|
-
interface HTMLTestRunnerChartElement extends Components.TestRunnerChart, HTMLStencilElement {
|
|
1562
|
-
}
|
|
1563
|
-
var HTMLTestRunnerChartElement: {
|
|
1564
|
-
prototype: HTMLTestRunnerChartElement;
|
|
1565
|
-
new (): HTMLTestRunnerChartElement;
|
|
1566
|
-
};
|
|
1567
|
-
interface HTMLTestRunnerChartTimeElement extends Components.TestRunnerChartTime, HTMLStencilElement {
|
|
1568
|
-
}
|
|
1569
|
-
var HTMLTestRunnerChartTimeElement: {
|
|
1570
|
-
prototype: HTMLTestRunnerChartTimeElement;
|
|
1571
|
-
new (): HTMLTestRunnerChartTimeElement;
|
|
1572
|
-
};
|
|
1573
|
-
interface HTMLTestRunnerMapElement extends Components.TestRunnerMap, HTMLStencilElement {
|
|
1574
|
-
}
|
|
1575
|
-
var HTMLTestRunnerMapElement: {
|
|
1576
|
-
prototype: HTMLTestRunnerMapElement;
|
|
1577
|
-
new (): HTMLTestRunnerMapElement;
|
|
1578
|
-
};
|
|
1579
|
-
interface HTMLTestRunnerTableElement extends Components.TestRunnerTable, HTMLStencilElement {
|
|
1580
|
-
}
|
|
1581
|
-
var HTMLTestRunnerTableElement: {
|
|
1582
|
-
prototype: HTMLTestRunnerTableElement;
|
|
1583
|
-
new (): HTMLTestRunnerTableElement;
|
|
1584
|
-
};
|
|
1585
|
-
interface HTMLTestRunnerTimeElement extends Components.TestRunnerTime, HTMLStencilElement {
|
|
1586
|
-
}
|
|
1587
|
-
var HTMLTestRunnerTimeElement: {
|
|
1588
|
-
prototype: HTMLTestRunnerTimeElement;
|
|
1589
|
-
new (): HTMLTestRunnerTimeElement;
|
|
1590
|
-
};
|
|
1591
|
-
interface HTMLTestRunnerTitleElement extends Components.TestRunnerTitle, HTMLStencilElement {
|
|
1592
|
-
}
|
|
1593
|
-
var HTMLTestRunnerTitleElement: {
|
|
1594
|
-
prototype: HTMLTestRunnerTitleElement;
|
|
1595
|
-
new (): HTMLTestRunnerTitleElement;
|
|
1596
|
-
};
|
|
1597
1565
|
interface HTMLElementTagNameMap {
|
|
1598
1566
|
"bn-asset": HTMLBnAssetElement;
|
|
1599
1567
|
"bn-body": HTMLBnBodyElement;
|
|
@@ -1610,9 +1578,9 @@ declare global {
|
|
|
1610
1578
|
"bn-internationalization": HTMLBnInternationalizationElement;
|
|
1611
1579
|
"bn-layout-card": HTMLBnLayoutCardElement;
|
|
1612
1580
|
"bn-layout-page": HTMLBnLayoutPageElement;
|
|
1613
|
-
"bn-map": HTMLBnMapElement;
|
|
1614
1581
|
"bn-message": HTMLBnMessageElement;
|
|
1615
1582
|
"bn-page": HTMLBnPageElement;
|
|
1583
|
+
"bn-scaling-group": HTMLBnScalingGroupElement;
|
|
1616
1584
|
"bn-table": HTMLBnTableElement;
|
|
1617
1585
|
"bn-template": HTMLBnTemplateElement;
|
|
1618
1586
|
"bn-text": HTMLBnTextElement;
|
|
@@ -1621,16 +1589,8 @@ declare global {
|
|
|
1621
1589
|
"editor-companion": HTMLEditorCompanionElement;
|
|
1622
1590
|
"ibcs-chart-structure": HTMLIbcsChartStructureElement;
|
|
1623
1591
|
"ibcs-chart-time": HTMLIbcsChartTimeElement;
|
|
1624
|
-
"ibcs-map": HTMLIbcsMapElement;
|
|
1625
1592
|
"ibcs-table": HTMLIbcsTableElement;
|
|
1626
1593
|
"ibcs-title": HTMLIbcsTitleElement;
|
|
1627
|
-
"test-runner-card": HTMLTestRunnerCardElement;
|
|
1628
|
-
"test-runner-chart": HTMLTestRunnerChartElement;
|
|
1629
|
-
"test-runner-chart-time": HTMLTestRunnerChartTimeElement;
|
|
1630
|
-
"test-runner-map": HTMLTestRunnerMapElement;
|
|
1631
|
-
"test-runner-table": HTMLTestRunnerTableElement;
|
|
1632
|
-
"test-runner-time": HTMLTestRunnerTimeElement;
|
|
1633
|
-
"test-runner-title": HTMLTestRunnerTitleElement;
|
|
1634
1594
|
}
|
|
1635
1595
|
}
|
|
1636
1596
|
declare namespace LocalJSX {
|
|
@@ -1657,44 +1617,55 @@ declare namespace LocalJSX {
|
|
|
1657
1617
|
*/
|
|
1658
1618
|
interface BnChartStructure {
|
|
1659
1619
|
/**
|
|
1660
|
-
*
|
|
1620
|
+
* Title displayed above the chart. When empty, the title is derived from the variance scenario labels (if variances are configured).
|
|
1621
|
+
* @example chart-title="Revenue by Category"
|
|
1661
1622
|
* @default ""
|
|
1662
1623
|
*/
|
|
1663
1624
|
"chartTitle"?: string;
|
|
1664
1625
|
/**
|
|
1665
|
-
* AlaSQL WHERE clause fragment injected into the data query to filter rows before rendering
|
|
1626
|
+
* AlaSQL WHERE clause fragment injected into the data query to filter rows before rendering.
|
|
1627
|
+
* @example filter="rowGroup = 'Revenue'"
|
|
1666
1628
|
* @default ""
|
|
1667
1629
|
*/
|
|
1668
1630
|
"filter"?: string;
|
|
1669
1631
|
/**
|
|
1670
|
-
*
|
|
1632
|
+
* Aggregation level that determines which hierarchy dimension each bar represents. | Value | Bars represent | |--------------------|---------------------------| | `"rowGroup"` | Row groups | | `"rowGroupIndex"` | Row groups (dataset order)| | `"category"` | Categories | | `"categoryIndex"` | Categories (dataset order)| | `"subCategory"` | Sub-categories | | `"subCategoryIndex"` | Sub-categories (dataset order)| | `"auto"` | Auto-detect from dataset metadata (no warning) | | not set / `""` | Auto-detect with `AUTO_level` warning | Index variants preserve the original dataset order instead of sorting alphabetically. When `stack.by` is `"dimensions"`, the chart automatically stacks by the next-lower level (e.g. level `"rowGroup"` stacks by category).
|
|
1633
|
+
* @example level="category"
|
|
1671
1634
|
*/
|
|
1672
1635
|
"level": string;
|
|
1673
1636
|
/**
|
|
1674
|
-
*
|
|
1637
|
+
* Maximum number of bars to display. Excess rows are aggregated into a "REST" summary bar. `0` means no limit (all rows are shown).
|
|
1675
1638
|
* @default 0
|
|
1639
|
+
* @example limit="5"
|
|
1676
1640
|
*/
|
|
1677
1641
|
"limit"?: number;
|
|
1678
1642
|
/**
|
|
1679
|
-
*
|
|
1643
|
+
* SI prefix applied to data values, dividing them for display (e.g. `"k"` divides by 1 000, showing 14 000 as "14"). Common prefixes: `"k"` (×10³), `"M"` (×10⁶), `"G"` (×10⁹), `"T"` (×10¹²). Use `"_"` for no prefix (raw values). | Special value | Behavior | |---------------|--------------------------------------------------------------| | `"GREATEST"` | Auto-select prefix based on the largest value in the dataset | | `"LEAST"` | Auto-select prefix based on the smallest value | The selected prefix is shown in the chart footer when `show-measure-scale` is enabled.
|
|
1680
1644
|
* @default "greatest"
|
|
1645
|
+
* @example measure-scale="k"
|
|
1681
1646
|
*/
|
|
1682
1647
|
"measureScale"?: string;
|
|
1683
1648
|
/**
|
|
1684
|
-
*
|
|
1649
|
+
* Unit label displayed alongside the SI prefix in the chart footer (e.g. "EUR", "USD", "pcs"). Only visible when `show-measure-scale` is `"true"`.
|
|
1685
1650
|
* @default ""
|
|
1651
|
+
* @example measure-unit="EUR"
|
|
1686
1652
|
*/
|
|
1687
1653
|
"measureUnit"?: string;
|
|
1688
1654
|
/**
|
|
1689
|
-
*
|
|
1655
|
+
* Comma-separated list of columns that define the sort order of bars. When ordering by a scenario column, that scenario must also be listed in `scenarios`. Valid values: `category`, `categoryIndex`, `rowGroup`, `rowGroupIndex`, `subCategory`, `subCategoryIndex`, `ac1`–`ac4`, `fc1`–`fc4`, `pp1`–`pp4`, `pl1`–`pl4`. | Value | Behavior | |----------------|-----------------------------------------------------| | `"ac1"` | Sort bars by the ac1 scenario values | | `"category"` | Sort bars alphabetically by category name | | `"auto"` | Auto-detect from dataset metadata (no warning) | | not set / `""` | Auto-detect with `AUTO_order` warning |
|
|
1656
|
+
* @example order="ac1"
|
|
1690
1657
|
*/
|
|
1691
1658
|
"order": string;
|
|
1692
1659
|
/**
|
|
1693
|
-
*
|
|
1660
|
+
* Sort direction applied to the columns specified in `order`. Values: `"asc"` (ascending) | `"desc"` (descending).
|
|
1661
|
+
* @default "asc"
|
|
1662
|
+
* @example order-direction="desc"
|
|
1694
1663
|
*/
|
|
1695
1664
|
"orderDirection": string;
|
|
1696
1665
|
/**
|
|
1697
|
-
*
|
|
1666
|
+
* 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 |
|
|
1667
|
+
* @example percentage-scaling="50"
|
|
1668
|
+
* @example percentage-scaling="pct-scale"
|
|
1698
1669
|
*/
|
|
1699
1670
|
"percentageScaling": string | number;
|
|
1700
1671
|
/**
|
|
@@ -1702,30 +1673,40 @@ declare namespace LocalJSX {
|
|
|
1702
1673
|
*/
|
|
1703
1674
|
"scale"?: string;
|
|
1704
1675
|
/**
|
|
1705
|
-
*
|
|
1676
|
+
* Comma-separated list of scenario columns to display as bars. Up to 4 scenarios are supported; additional values are ignored. Valid scenario names: `ac1`–`ac4`, `fc1`–`fc4`, `pp1`–`pp4`, `pl1`–`pl4`. | Value | Behavior | |---------------|-------------------------------------------------------------| | `"ac1,fc1"` | Show the listed scenarios | | `"auto"` | Auto-detect from dataset metadata (no warning) | | not set / `""` | Auto-detect from dataset metadata (emits `AUTO_scenarios` warning) |
|
|
1677
|
+
* @example scenarios="ac1,pp1,pl1"
|
|
1706
1678
|
*/
|
|
1707
1679
|
"scenarios": string;
|
|
1708
1680
|
/**
|
|
1681
|
+
* Whether to display category labels on the left side of the chart. Values: `"true"` | `"false"`.
|
|
1709
1682
|
* @default "true"
|
|
1683
|
+
* @example show-categories="false"
|
|
1710
1684
|
*/
|
|
1711
1685
|
"showCategories"?: string;
|
|
1712
1686
|
/**
|
|
1713
|
-
* Toggles display of
|
|
1687
|
+
* Toggles display of the SI prefix and unit label in the chart footer (e.g. "k EUR"). Values: `"true"` | `"false"`.
|
|
1714
1688
|
* @default "false"
|
|
1689
|
+
* @example show-measure-scale="true"
|
|
1715
1690
|
*/
|
|
1716
1691
|
"showMeasureScale"?: string;
|
|
1717
1692
|
/**
|
|
1718
|
-
* Stacking configuration
|
|
1719
|
-
* @default
|
|
1720
|
-
* @example stack='{"by":"
|
|
1693
|
+
* Stacking configuration as a JSON string. When set, bars are drawn as stacked segments instead of side-by-side. **Properties:** | Key | Values | Description | |---------|-----------------------------------------------|----------------------------------------------------| | `by` | `"scenarios"` \| `"dimensions"` | **Required.** What to stack. | | `mode` | `"absolute"` \| `"relative"` \| `"absolute-relative"` | Stacking mode. Default: `"absolute"`. | | `order` | `"asc"` \| `"desc"` \| `"dataset"` | Segment sort order. Default: `"dataset"`. | - `by: "scenarios"` — stacks the scenarios listed in the `scenarios` prop end-to-end. - `by: "dimensions"` — stacks by the next-lower hierarchy level derived from `level` (e.g. level `"rowGroup"` stacks by category). Only the first scenario is used; extra scenarios trigger a `WARN_stack_dimensions_scenarios` warning. - `mode: "relative"` — normalizes each bar to 100%, showing proportions. - `mode: "absolute-relative"` — absolute bars with percentage labels. Segment colors are configurable via the `stackColors` array in component styles.
|
|
1694
|
+
* @default "" (no stacking)
|
|
1695
|
+
* @example stack='{"by":"scenarios","mode":"absolute"}'
|
|
1696
|
+
* @example stack='{"by":"dimensions","mode":"relative"}'
|
|
1721
1697
|
*/
|
|
1722
1698
|
"stack"?: string;
|
|
1723
1699
|
/**
|
|
1724
|
-
*
|
|
1700
|
+
* 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.
|
|
1701
|
+
* @example unit-scaling="auto"
|
|
1702
|
+
* @example unit-scaling="0.05"
|
|
1703
|
+
* @example unit-scaling="revenue-scale"
|
|
1725
1704
|
*/
|
|
1726
1705
|
"unitScaling": string | number;
|
|
1727
1706
|
/**
|
|
1728
|
-
*
|
|
1707
|
+
* Comma-separated list of variance definitions. Each variance adds a separate sub-chart next to the main bar chart. **Pattern:** `d<base>_<comparison>_<sentiment>` (absolute) or `dr<base>_<comparison>_<sentiment>` (relative / percentage). - `base` / `comparison`: scenario names that must also appear in `scenarios`. - `sentiment`: `pos` (positive is good), `neg` (negative is good), `neu` (neutral). When empty, no variance charts are shown.
|
|
1708
|
+
* @example variances="dpp1_ac1_neg,dfc1_ac1_neg"
|
|
1709
|
+
* @example variances="drac1_pl1_pos"
|
|
1729
1710
|
*/
|
|
1730
1711
|
"variances": string;
|
|
1731
1712
|
}
|
|
@@ -1805,7 +1786,9 @@ declare namespace LocalJSX {
|
|
|
1805
1786
|
*/
|
|
1806
1787
|
"orderDirection": string;
|
|
1807
1788
|
/**
|
|
1808
|
-
*
|
|
1789
|
+
* 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 |
|
|
1790
|
+
* @example percentage-scaling="50"
|
|
1791
|
+
* @example percentage-scaling="pct-scale"
|
|
1809
1792
|
*/
|
|
1810
1793
|
"percentageScaling": string | number;
|
|
1811
1794
|
/**
|
|
@@ -1845,7 +1828,10 @@ declare namespace LocalJSX {
|
|
|
1845
1828
|
*/
|
|
1846
1829
|
"syncSpaceLeft"?: number;
|
|
1847
1830
|
/**
|
|
1848
|
-
*
|
|
1831
|
+
* 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 |
|
|
1832
|
+
* @example unit-scaling="auto"
|
|
1833
|
+
* @example unit-scaling="0.05"
|
|
1834
|
+
* @example unit-scaling="revenue-scale"
|
|
1849
1835
|
*/
|
|
1850
1836
|
"unitScaling": string | number;
|
|
1851
1837
|
/**
|
|
@@ -1880,6 +1866,11 @@ declare namespace LocalJSX {
|
|
|
1880
1866
|
* Unique (template scope) name of the datasource
|
|
1881
1867
|
*/
|
|
1882
1868
|
"name": string;
|
|
1869
|
+
/**
|
|
1870
|
+
* When true (default), body content is plain text (SQL or JSON). When false, body content is a compressed payload (`<hash>:<base64_gzip>`).
|
|
1871
|
+
* @default true
|
|
1872
|
+
*/
|
|
1873
|
+
"raw"?: boolean;
|
|
1883
1874
|
/**
|
|
1884
1875
|
* When true, bypasses the AlaSQL query engine and parses the body content as raw JSON, writing it directly to the datasets store.
|
|
1885
1876
|
* @default false
|
|
@@ -1887,16 +1878,32 @@ declare namespace LocalJSX {
|
|
|
1887
1878
|
"static"?: boolean;
|
|
1888
1879
|
}
|
|
1889
1880
|
/**
|
|
1890
|
-
* Ingests
|
|
1891
|
-
* Data
|
|
1892
|
-
*
|
|
1893
|
-
*
|
|
1881
|
+
* Ingests data and writes it to the scoped `datasources` store.
|
|
1882
|
+
* Data can be provided in three ways:
|
|
1883
|
+
* 1. **Inline JSON** — Place JSON text inside the element body (default).
|
|
1884
|
+
* 2. **Compressed payload** — Set `raw="false"` and provide `<hash>:<base64_gzip>` format.
|
|
1885
|
+
* 3. **URL** — Place an `http://` or `https://` URL in the body to fetch JSON
|
|
1886
|
+
* from a remote endpoint.
|
|
1887
|
+
* In URL mode the component fetches JSON from the URL. Set the `interval`
|
|
1888
|
+
* prop (in seconds) to enable periodic re-fetching (polling).
|
|
1889
|
+
* Other components (e.g. `bn-dataset`) reference the stored data by the
|
|
1890
|
+
* `name` prop to run queries against it.
|
|
1894
1891
|
*/
|
|
1895
1892
|
interface BnDatasource {
|
|
1896
1893
|
/**
|
|
1897
|
-
*
|
|
1894
|
+
* 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.
|
|
1895
|
+
* @default 0
|
|
1896
|
+
*/
|
|
1897
|
+
"interval"?: number;
|
|
1898
|
+
/**
|
|
1899
|
+
* Unique (template scope) name of the datasource.
|
|
1898
1900
|
*/
|
|
1899
1901
|
"name": string;
|
|
1902
|
+
/**
|
|
1903
|
+
* When true (default), body content is plain JSON text. When false, body content is a compressed payload (`<hash>:<base64_gzip>`). Ignored in URL mode.
|
|
1904
|
+
* @default true
|
|
1905
|
+
*/
|
|
1906
|
+
"raw"?: boolean;
|
|
1900
1907
|
}
|
|
1901
1908
|
interface BnFooter {
|
|
1902
1909
|
/**
|
|
@@ -1977,18 +1984,24 @@ declare namespace LocalJSX {
|
|
|
1977
1984
|
}
|
|
1978
1985
|
interface BnLayoutCard {
|
|
1979
1986
|
/**
|
|
1987
|
+
* CSS `grid-template-areas` string used when `cardLayout` is set to `custom-template`. Each quoted row defines a grid row; letters map to slot indices in order of first appearance.
|
|
1988
|
+
* @example <bn-layout-card card-layout="custom-template" card-custom-template='"a a" "b c"'></bn-layout-card>
|
|
1980
1989
|
* @default '"a b" "c d"'
|
|
1981
1990
|
*/
|
|
1982
1991
|
"cardCustomTemplate"?: string;
|
|
1983
1992
|
/**
|
|
1984
|
-
*
|
|
1993
|
+
* 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.
|
|
1994
|
+
* @default false
|
|
1985
1995
|
*/
|
|
1986
1996
|
"cardFitToContent"?: boolean;
|
|
1987
1997
|
/**
|
|
1998
|
+
* Gap between grid cells in pixels.
|
|
1988
1999
|
* @default "0"
|
|
1989
2000
|
*/
|
|
1990
2001
|
"cardGridGap"?: string;
|
|
1991
2002
|
/**
|
|
2003
|
+
* Layout mode that controls how child components are arranged inside the card body using CSS Grid. <br /><br /> values:<br /> ```full // split-vertical // split-horizontal // 2x2 // 3x3 // 4x4 // 1-over-2 // 1-over-3 // 2-over-1 // 3-over-1 // custom-template``` <br /><br /> `full`: single slot. `split-vertical`: two side-by-side slots. `split-horizontal`: two stacked slots. `NxN`: equal grid. `1-over-2`: one full-width slot on top, two below. `custom-template`: uses the `cardCustomTemplate` CSS grid-template-areas string.
|
|
2004
|
+
* @example <bn-layout-card card-layout="split-horizontal"></bn-layout-card>
|
|
1992
2005
|
* @default "full"
|
|
1993
2006
|
*/
|
|
1994
2007
|
"cardLayout"?: | "full"
|
|
@@ -2003,76 +2016,122 @@ declare namespace LocalJSX {
|
|
|
2003
2016
|
| "3-over-1"
|
|
2004
2017
|
| "custom-template";
|
|
2005
2018
|
/**
|
|
2019
|
+
* Whether to display a visible border around the card.
|
|
2006
2020
|
* @default true
|
|
2007
2021
|
*/
|
|
2008
2022
|
"cardShowBorder"?: boolean;
|
|
2009
2023
|
/**
|
|
2024
|
+
* Text displayed in the card footer. If empty, the footer text is omitted.
|
|
2010
2025
|
* @default ""
|
|
2011
2026
|
*/
|
|
2012
2027
|
"footerText"?: string;
|
|
2028
|
+
/**
|
|
2029
|
+
* 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.
|
|
2030
|
+
*/
|
|
2013
2031
|
"styles"?: string;
|
|
2014
2032
|
/**
|
|
2033
|
+
* Name of the business unit displayed in the title header row. If empty, the business unit row is omitted.
|
|
2034
|
+
* @example <bn-layout-card title-business-unit="Sales"></bn-layout-card>
|
|
2015
2035
|
* @default ""
|
|
2016
2036
|
*/
|
|
2017
2037
|
"titleBusinessUnit"?: string;
|
|
2038
|
+
/**
|
|
2039
|
+
* End date displayed in the title date row. Accepts `yyyy-MM-dd` (e.g. `2024-12-31`) or ISO 8601 datetime (e.g. `2024-12-31T23:59:59Z`).
|
|
2040
|
+
*/
|
|
2018
2041
|
"titleDateEnd"?: string;
|
|
2019
2042
|
/**
|
|
2043
|
+
* Date display format used in the title row. <br /><br /> values:<br /> ```year // quarter // month // week // day // time // auto // none``` <br /><br /> `year`: YYYY, `quarter`: Q[Q] YYYY, `month`: MMM YYYY, `week`: [KW]WW YYYY, `day`: DD.MM.YYYY, `time`: DD.MM.YYYY HH:mm:ss, `auto`: automatic detection, `none`: DD.MM.YYYY.
|
|
2020
2044
|
* @default "none"
|
|
2021
2045
|
*/
|
|
2022
2046
|
"titleDateFormat"?: string;
|
|
2023
2047
|
/**
|
|
2048
|
+
* Format in which the start and end dates are linked in the title. If set to `none` a plain date is shown. <br /><br /> values:<br /> ```avg // interval // cum // start // end // ytd // ytg // mat // none``` <br /><br /> `avg`: Ø[DATE], `interval`: [DATE]..[DATE2], `start`: .[DATE], `end`: [DATE]., `ytd`: _[DATE], `ytg`: [DATE]_, `cum`: [DATE]_[DATE2], `mat`: ~[DATE], `none`: [DATE].
|
|
2024
2049
|
* @default "none"
|
|
2025
2050
|
*/
|
|
2026
2051
|
"titleDateLink"?: string;
|
|
2052
|
+
/**
|
|
2053
|
+
* Start date displayed in the title date row. Accepts `yyyy-MM-dd` (e.g. `2024-01-01`) or ISO 8601 datetime (e.g. `2024-01-01T14:30:00Z`).
|
|
2054
|
+
*/
|
|
2027
2055
|
"titleDateStart"?: string;
|
|
2028
2056
|
/**
|
|
2057
|
+
* URL or asset name of the image displayed next to the card title. The value is resolved via the scoped assets store: if it matches a registered asset name, the stored URL is used; otherwise the raw value is treated as a URL. The deprecated `asset:` prefix is still supported for backward compatibility. <br /><br /> If empty, the title image is omitted.
|
|
2058
|
+
* @example <bn-layout-card title-image="company_logo"></bn-layout-card>
|
|
2029
2059
|
* @default ""
|
|
2030
2060
|
*/
|
|
2031
2061
|
"titleImage"?: string;
|
|
2062
|
+
/**
|
|
2063
|
+
* Array of measure objects with `name` and `unit` displayed in the title. Passed as a JSON string. If all units are the same, redundant units are reduced and names concatenated. If empty, the measure row is omitted.
|
|
2064
|
+
* @example <bn-layout-card title-measures='[{"name":"Revenue","unit":"mEUR"}]'></bn-layout-card>
|
|
2065
|
+
*/
|
|
2032
2066
|
"titleMeasures"?: string;
|
|
2033
2067
|
/**
|
|
2068
|
+
* Namespace used for title translations via the internationalization store.
|
|
2034
2069
|
* @default "_system"
|
|
2035
2070
|
*/
|
|
2036
2071
|
"titleNamespace"?: string;
|
|
2037
2072
|
/**
|
|
2073
|
+
* Primary column on which the order direction is applied. <br /><br /> values:<br /> ```category // categoryindex // rowgroup // rowgroupindex // ac // fc // py // pl```
|
|
2038
2074
|
* @default "category"
|
|
2039
2075
|
*/
|
|
2040
2076
|
"titleOrder"?: string;
|
|
2041
2077
|
/**
|
|
2078
|
+
* Sorting order direction for the column specified by `titleOrder`. <br /><br /> values:<br /> ```asc // desc```
|
|
2042
2079
|
* @default "asc"
|
|
2043
2080
|
*/
|
|
2044
2081
|
"titleOrderDirection"?: string;
|
|
2082
|
+
/**
|
|
2083
|
+
* List of scenarios displayed in the title header. <br /><br /> Comma-separated string or omitted. If empty, the scenarios row is omitted. <br /><br /> values:<br /> ```ac // fc // py // pl```
|
|
2084
|
+
*/
|
|
2045
2085
|
"titleScenarios"?: string;
|
|
2086
|
+
/**
|
|
2087
|
+
* List of variances calculated from the given scenarios. The scenarios used in the variances must also be defined in the `titleScenarios` property. The variance is defined as (ScenarioA − ScenarioB). The pos/neg/neu postfix defines which direction is considered "good". <br /><br /> If empty, variance indicators are hidden. <br /><br /> pattern:<br /> ```d<scenarioB>_<scenarioA>_[pos/neg/neu]```
|
|
2088
|
+
*/
|
|
2046
2089
|
"titleVariances"?: string;
|
|
2047
2090
|
}
|
|
2048
2091
|
interface BnLayoutPage {
|
|
2049
2092
|
/**
|
|
2093
|
+
* Whether to display the page number in the footer.
|
|
2050
2094
|
* @default true
|
|
2051
2095
|
*/
|
|
2052
2096
|
"footerDisplayPageNumber"?: boolean;
|
|
2097
|
+
/**
|
|
2098
|
+
* Text displayed in the page footer. If empty, the footer text is omitted.
|
|
2099
|
+
*/
|
|
2053
2100
|
"footerText"?: string;
|
|
2054
2101
|
/**
|
|
2102
|
+
* 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.
|
|
2103
|
+
* @example <bn-layout-page message-image="debug/concordia.png"></bn-layout-page>
|
|
2055
2104
|
* @default ""
|
|
2056
2105
|
*/
|
|
2057
2106
|
"messageImage"?: string;
|
|
2058
2107
|
/**
|
|
2108
|
+
* Message text displayed in the message row above the title. If empty, the message row is omitted.
|
|
2059
2109
|
* @default ""
|
|
2060
2110
|
*/
|
|
2061
2111
|
"messageText"?: string;
|
|
2062
2112
|
/**
|
|
2113
|
+
* CSS `grid-template-areas` string used when `pageLayout` is set to `custom-template`. Each quoted row defines a grid row; letters map to slot indices in order of first appearance.
|
|
2114
|
+
* @example <bn-layout-page page-layout="custom-template" page-custom-template='"a a" "b c"'></bn-layout-page>
|
|
2063
2115
|
* @default '"a b" "c d"'
|
|
2064
2116
|
*/
|
|
2065
2117
|
"pageCustomTemplate"?: string;
|
|
2066
2118
|
/**
|
|
2067
|
-
*
|
|
2119
|
+
* When `true`, the page body height shrinks to fit its content (`fit-content`). When `false` (default), the body stretches to fill the full page height (`100%`). Width is always `100%` regardless of this setting. <br /><br /> Use `false` (default) when the page contains components with auto-scaling (e.g. `unit-scaling="auto"` or `scale="auto"`), because auto-scaling needs a fixed parent height to calculate dimensions.
|
|
2120
|
+
* @default false
|
|
2068
2121
|
*/
|
|
2069
2122
|
"pageFitToContent"?: boolean;
|
|
2123
|
+
/**
|
|
2124
|
+
* Page size format. Determines the pixel dimensions of the rendered page. <br /><br /> values:<br /> ```xga // hd // full-hd // 4k // 4k2k // a4 // a3 // a2 // a1 // a0 // letter // legal```
|
|
2125
|
+
*/
|
|
2070
2126
|
"pageFormat"?: string;
|
|
2071
2127
|
/**
|
|
2128
|
+
* Gap between grid cells in pixels.
|
|
2072
2129
|
* @default "0"
|
|
2073
2130
|
*/
|
|
2074
2131
|
"pageGridGap"?: string;
|
|
2075
2132
|
/**
|
|
2133
|
+
* Layout mode that controls how child components are arranged in the page body using CSS Grid. <br /><br /> values:<br /> ```full // split-vertical // split-horizontal // 2x2 // 3x3 // 4x4 // 1-over-2 // 1-over-3 // 2-over-1 // 3-over-1 // custom-template``` <br /><br /> `full`: single slot. `split-vertical`: two side-by-side slots. `split-horizontal`: two stacked slots. `NxN`: equal grid. `1-over-2`: one full-width slot on top, two below. `custom-template`: uses the `pageCustomTemplate` CSS grid-template-areas string.
|
|
2134
|
+
* @example <bn-layout-page page-layout="2x2"></bn-layout-page>
|
|
2076
2135
|
* @default "full"
|
|
2077
2136
|
*/
|
|
2078
2137
|
"pageLayout"?: | "full"
|
|
@@ -2086,100 +2145,70 @@ declare namespace LocalJSX {
|
|
|
2086
2145
|
| "2-over-1"
|
|
2087
2146
|
| "3-over-1"
|
|
2088
2147
|
| "custom-template";
|
|
2148
|
+
/**
|
|
2149
|
+
* Page number displayed in the footer. If empty, no page number is shown (unless `footerDisplayPageNumber` is also set).
|
|
2150
|
+
*/
|
|
2089
2151
|
"pageNumber"?: string;
|
|
2152
|
+
/**
|
|
2153
|
+
* Page orientation. Default depends on the chosen format. <br /><br /> values:<br /> ```landscape // portrait```
|
|
2154
|
+
*/
|
|
2090
2155
|
"pageOrientation"?: string;
|
|
2156
|
+
/**
|
|
2157
|
+
* 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.
|
|
2158
|
+
*/
|
|
2091
2159
|
"styles"?: string;
|
|
2092
2160
|
/**
|
|
2161
|
+
* Name of the business unit displayed in the title header row. If empty, the business unit row is omitted.
|
|
2162
|
+
* @example <bn-layout-page title-business-unit="Group Controlling"></bn-layout-page>
|
|
2093
2163
|
* @default ""
|
|
2094
2164
|
*/
|
|
2095
2165
|
"titleBusinessUnit"?: string;
|
|
2166
|
+
/**
|
|
2167
|
+
* End date displayed in the title date row. Accepts `yyyy-MM-dd` (e.g. `2024-12-31`) or ISO 8601 datetime (e.g. `2024-12-31T23:59:59Z`).
|
|
2168
|
+
*/
|
|
2096
2169
|
"titleDateEnd"?: string;
|
|
2097
2170
|
/**
|
|
2171
|
+
* Date display format used in the title row. <br /><br /> values:<br /> ```year // quarter // month // week // day // time // auto // none``` <br /><br /> `year`: YYYY, `quarter`: Q[Q] YYYY, `month`: MMM YYYY, `week`: [KW]WW YYYY, `day`: DD.MM.YYYY, `time`: DD.MM.YYYY HH:mm:ss, `auto`: automatic detection, `none`: DD.MM.YYYY.
|
|
2098
2172
|
* @default "none"
|
|
2099
2173
|
*/
|
|
2100
2174
|
"titleDateFormat"?: string;
|
|
2101
2175
|
/**
|
|
2176
|
+
* Format in which the start and end dates are linked in the title. If set to `none` a plain date is shown. <br /><br /> values:<br /> ```avg // interval // cum // start // end // ytd // ytg // mat // none``` <br /><br /> `avg`: Ø[DATE], `interval`: [DATE]..[DATE2], `start`: .[DATE], `end`: [DATE]., `ytd`: _[DATE], `ytg`: [DATE]_, `cum`: [DATE]_[DATE2], `mat`: ~[DATE], `none`: [DATE].
|
|
2102
2177
|
* @default "none"
|
|
2103
2178
|
*/
|
|
2104
2179
|
"titleDateLink"?: string;
|
|
2180
|
+
/**
|
|
2181
|
+
* Start date displayed in the title date row. Accepts `yyyy-MM-dd` (e.g. `2024-01-01`) or ISO 8601 datetime (e.g. `2024-01-01T14:30:00Z`).
|
|
2182
|
+
*/
|
|
2105
2183
|
"titleDateStart"?: string;
|
|
2184
|
+
/**
|
|
2185
|
+
* Array of measure objects with `name` and `unit` displayed in the title. Passed as a JSON string. If all units are the same, redundant units are reduced and names concatenated. If empty, the measure row is omitted.
|
|
2186
|
+
* @example <bn-layout-page title-measures='[{"name":"Revenue","unit":"mEUR"}]'></bn-layout-page>
|
|
2187
|
+
*/
|
|
2106
2188
|
"titleMeasures"?: string;
|
|
2107
2189
|
/**
|
|
2190
|
+
* Namespace used for title translations via the internationalization store.
|
|
2108
2191
|
* @default "_system"
|
|
2109
2192
|
*/
|
|
2110
2193
|
"titleNamespace"?: string;
|
|
2111
2194
|
/**
|
|
2195
|
+
* Primary column on which the order direction is applied. <br /><br /> values:<br /> ```category // categoryindex // rowgroup // rowgroupindex // ac // fc // py // pl```
|
|
2112
2196
|
* @default "category"
|
|
2113
2197
|
*/
|
|
2114
2198
|
"titleOrder"?: string;
|
|
2115
2199
|
/**
|
|
2200
|
+
* Sorting order direction for the column specified by `titleOrder`. <br /><br /> values:<br /> ```asc // desc```
|
|
2116
2201
|
* @default "asc"
|
|
2117
2202
|
*/
|
|
2118
2203
|
"titleOrderDirection"?: string;
|
|
2119
|
-
"titleScenarios"?: string;
|
|
2120
|
-
"titleVariances"?: string;
|
|
2121
|
-
}
|
|
2122
|
-
interface BnMap {
|
|
2123
|
-
/**
|
|
2124
|
-
* Set Footer label
|
|
2125
|
-
* @default ""
|
|
2126
|
-
*/
|
|
2127
|
-
"attribution"?: string;
|
|
2128
2204
|
/**
|
|
2129
|
-
*
|
|
2130
|
-
*/
|
|
2131
|
-
"geojsons"?: string | null;
|
|
2132
|
-
/**
|
|
2133
|
-
* GPX Parameter example ["file": "http://URL_TO_GPX.gpx", "color": "#FC5200", "opacity": 0.75, "weight": 3, "lineCap": "round"}]
|
|
2134
|
-
* @default null
|
|
2205
|
+
* List of scenarios displayed in the title header. <br /><br /> Comma-separated string or omitted. If empty, the scenarios row is omitted. <br /><br /> values:<br /> ```ac // fc // py // pl```
|
|
2135
2206
|
*/
|
|
2136
|
-
"
|
|
2137
|
-
/**
|
|
2138
|
-
* Name of the gpxs Dataset used in map default: $gpxs
|
|
2139
|
-
* @default "$gpxs"
|
|
2140
|
-
*/
|
|
2141
|
-
"gpxsDatasetName"?: string;
|
|
2142
|
-
/**
|
|
2143
|
-
* Latitude of the maps viewport center, the selected value will be ignored if gpx files are selected
|
|
2144
|
-
* @default 50.137634
|
|
2145
|
-
*/
|
|
2146
|
-
"latitude"?: number;
|
|
2147
|
-
/**
|
|
2148
|
-
* Latitude of the maps viewport center, the selected value will be ignored if gpx files are selected
|
|
2149
|
-
* @default 8.679129
|
|
2150
|
-
*/
|
|
2151
|
-
"longitude"?: number;
|
|
2152
|
-
/**
|
|
2153
|
-
* @default true
|
|
2154
|
-
*/
|
|
2155
|
-
"manualPosOverride"?: boolean;
|
|
2156
|
-
/**
|
|
2157
|
-
* Marker Parameter example [{"latitude": 50.137634, "longitude": 8.679129, "iconUrl": "http://localhost:3333/build/assets/icons/marker-example.png", "iconWidth": 64, "iconHeight":64}]
|
|
2158
|
-
* @default null
|
|
2159
|
-
*/
|
|
2160
|
-
"markers"?: string | null;
|
|
2161
|
-
/**
|
|
2162
|
-
* Name of the makers Dataset used in map default: $markers
|
|
2163
|
-
* @default "$markers"
|
|
2164
|
-
*/
|
|
2165
|
-
"markersDatasetName"?: string;
|
|
2166
|
-
"onBnDragZoomEnded"?: (event: BnMapCustomEvent<any>) => void;
|
|
2167
|
-
"onBnStateUpdated"?: (event: BnMapCustomEvent<any>) => void;
|
|
2168
|
-
/**
|
|
2169
|
-
* scale / zoom factor of the maps viewport. Decrease the value to zoom out. Increase the value to zoom in. the selected value will be ignored if gpx files are selected
|
|
2170
|
-
* @default 11
|
|
2171
|
-
*/
|
|
2172
|
-
"scale"?: number;
|
|
2173
|
-
/**
|
|
2174
|
-
* Activates/ Deactivates Map Scale
|
|
2175
|
-
* @default false
|
|
2176
|
-
*/
|
|
2177
|
-
"showScale"?: boolean;
|
|
2207
|
+
"titleScenarios"?: string;
|
|
2178
2208
|
/**
|
|
2179
|
-
*
|
|
2180
|
-
* @default "https://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}{r}.png"
|
|
2209
|
+
* List of variances calculated from the given scenarios. The scenarios used in the variances must also be defined in the `titleScenarios` property. The variance is defined as (ScenarioA − ScenarioB). The pos/neg/neu postfix defines which direction is considered "good". <br /><br /> If empty, variance indicators are hidden. <br /><br /> pattern:<br /> ```d<scenarioB>_<scenarioA>_[pos/neg/neu]```
|
|
2181
2210
|
*/
|
|
2182
|
-
"
|
|
2211
|
+
"titleVariances"?: string;
|
|
2183
2212
|
}
|
|
2184
2213
|
interface BnMessage {
|
|
2185
2214
|
/**
|
|
@@ -2201,6 +2230,26 @@ declare namespace LocalJSX {
|
|
|
2201
2230
|
*/
|
|
2202
2231
|
"orientation"?: string;
|
|
2203
2232
|
}
|
|
2233
|
+
/**
|
|
2234
|
+
* Defines a named scaling value that chart and table components can reference
|
|
2235
|
+
* via their `unit-scaling` or `percentage-scaling` attributes.
|
|
2236
|
+
* Multiple components sharing the same group name will use the same scaling
|
|
2237
|
+
* value, allowing synchronized scaling across an entire page or section.
|
|
2238
|
+
* The reserved name `"auto"` is not allowed and will be ignored with a warning.
|
|
2239
|
+
* @example <bn-scaling-group name="revenue" value="0.05"></bn-scaling-group>
|
|
2240
|
+
* <bn-chart-structure unit-scaling="revenue" ...></bn-chart-structure>
|
|
2241
|
+
* <bn-table unit-scaling="revenue" ...></bn-table>
|
|
2242
|
+
*/
|
|
2243
|
+
interface BnScalingGroup {
|
|
2244
|
+
/**
|
|
2245
|
+
* 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.
|
|
2246
|
+
*/
|
|
2247
|
+
"name": string;
|
|
2248
|
+
/**
|
|
2249
|
+
* The scaling value (pixels per data unit or pixels per percentage point, depending on which attribute references this group).
|
|
2250
|
+
*/
|
|
2251
|
+
"value": number;
|
|
2252
|
+
}
|
|
2204
2253
|
/**
|
|
2205
2254
|
* Public-facing wrapper for the IBCS table component.
|
|
2206
2255
|
* Accepts user-facing string/number props, validates them, and converts
|
|
@@ -2210,6 +2259,11 @@ declare namespace LocalJSX {
|
|
|
2210
2259
|
* to the inner `ibcs-table` element.
|
|
2211
2260
|
*/
|
|
2212
2261
|
interface BnTable {
|
|
2262
|
+
/**
|
|
2263
|
+
* Set width of bar chart columns. Controls the max bar/pin width in pixels. <br /><br /> values:<br /> ``` w5 // w10 // w15 // w20 // w25 // w30 // w40 // w60 // w80 // w100 ```
|
|
2264
|
+
* @default "w10"
|
|
2265
|
+
*/
|
|
2266
|
+
"barColumnWidth"?: string;
|
|
2213
2267
|
/**
|
|
2214
2268
|
* List of variance 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. <br /><br /> example:<br /> ```dac1_pp1_pos,drac1_pp1_pos```
|
|
2215
2269
|
*/
|
|
@@ -2285,12 +2339,14 @@ declare namespace LocalJSX {
|
|
|
2285
2339
|
*/
|
|
2286
2340
|
"partof"?: string;
|
|
2287
2341
|
/**
|
|
2288
|
-
* Scaling for relative variance pin charts (ΔPY%). <br /><br />
|
|
2342
|
+
* 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
|
|
2343
|
+
* @example percentage-scaling="0.5"
|
|
2344
|
+
* @example percentage-scaling="pct-scale"
|
|
2289
2345
|
* @default 0.5
|
|
2290
2346
|
*/
|
|
2291
2347
|
"percentageScaling"?: string | number;
|
|
2292
2348
|
/**
|
|
2293
|
-
* 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
|
|
2349
|
+
* 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.
|
|
2294
2350
|
* @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>
|
|
2295
2351
|
*/
|
|
2296
2352
|
"scale"?: string;
|
|
@@ -2324,7 +2380,9 @@ declare namespace LocalJSX {
|
|
|
2324
2380
|
*/
|
|
2325
2381
|
"type"?: string;
|
|
2326
2382
|
/**
|
|
2327
|
-
*
|
|
2383
|
+
* 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
|
|
2384
|
+
* @example unit-scaling="0.01"
|
|
2385
|
+
* @example unit-scaling="revenue-scale"
|
|
2328
2386
|
* @default 0.01
|
|
2329
2387
|
*/
|
|
2330
2388
|
"unitScaling"?: string | number;
|
|
@@ -2642,58 +2700,6 @@ declare namespace LocalJSX {
|
|
|
2642
2700
|
*/
|
|
2643
2701
|
"variances"?: string[];
|
|
2644
2702
|
}
|
|
2645
|
-
interface IbcsMap {
|
|
2646
|
-
/**
|
|
2647
|
-
* @default this._attribution
|
|
2648
|
-
*/
|
|
2649
|
-
"attribution"?: string;
|
|
2650
|
-
/**
|
|
2651
|
-
* @default this._customView
|
|
2652
|
-
*/
|
|
2653
|
-
"customView"?: boolean;
|
|
2654
|
-
/**
|
|
2655
|
-
* @default this._geojsons
|
|
2656
|
-
*/
|
|
2657
|
-
"geojsons"?: GeoJsonLayer[] | string;
|
|
2658
|
-
/**
|
|
2659
|
-
* @default this._gpxs
|
|
2660
|
-
*/
|
|
2661
|
-
"gpxs"?: GpxLayer[] | string;
|
|
2662
|
-
/**
|
|
2663
|
-
* @default this._latitude
|
|
2664
|
-
*/
|
|
2665
|
-
"latitude"?: number;
|
|
2666
|
-
/**
|
|
2667
|
-
* @default this._longitude
|
|
2668
|
-
*/
|
|
2669
|
-
"longitude"?: number;
|
|
2670
|
-
/**
|
|
2671
|
-
* @default this._manualPosOverride
|
|
2672
|
-
*/
|
|
2673
|
-
"manualPosOverride"?: boolean;
|
|
2674
|
-
/**
|
|
2675
|
-
* @default this._markers
|
|
2676
|
-
*/
|
|
2677
|
-
"markers"?: Marker[] | string;
|
|
2678
|
-
"onDragZoomEnded"?: (event: IbcsMapCustomEvent<any>) => void;
|
|
2679
|
-
"onStateUpdated"?: (event: IbcsMapCustomEvent<any>) => void;
|
|
2680
|
-
/**
|
|
2681
|
-
* @default this._scale
|
|
2682
|
-
*/
|
|
2683
|
-
"scale"?: number;
|
|
2684
|
-
/**
|
|
2685
|
-
* @default this._showScale
|
|
2686
|
-
*/
|
|
2687
|
-
"showScale"?: boolean;
|
|
2688
|
-
/**
|
|
2689
|
-
* @default this._showZoom
|
|
2690
|
-
*/
|
|
2691
|
-
"showZoom"?: boolean;
|
|
2692
|
-
/**
|
|
2693
|
-
* @default this._tileLayer
|
|
2694
|
-
*/
|
|
2695
|
-
"tileLayer"?: string;
|
|
2696
|
-
}
|
|
2697
2703
|
/**
|
|
2698
2704
|
* Internal rendering engine for `bn-table`.
|
|
2699
2705
|
* Receives pre-validated, typed props from the outer `bn-table` wrapper and
|
|
@@ -2703,6 +2709,10 @@ declare namespace LocalJSX {
|
|
|
2703
2709
|
* not be used directly; use `bn-table` instead.
|
|
2704
2710
|
*/
|
|
2705
2711
|
interface IbcsTable {
|
|
2712
|
+
/**
|
|
2713
|
+
* @default 30
|
|
2714
|
+
*/
|
|
2715
|
+
"barColumnMaxWidth"?: number;
|
|
2706
2716
|
/**
|
|
2707
2717
|
* @default []
|
|
2708
2718
|
*/
|
|
@@ -2835,20 +2845,6 @@ declare namespace LocalJSX {
|
|
|
2835
2845
|
"scenarios"?: string[];
|
|
2836
2846
|
"timeperiod"?: TimePeriod;
|
|
2837
2847
|
}
|
|
2838
|
-
interface TestRunnerCard {
|
|
2839
|
-
}
|
|
2840
|
-
interface TestRunnerChart {
|
|
2841
|
-
}
|
|
2842
|
-
interface TestRunnerChartTime {
|
|
2843
|
-
}
|
|
2844
|
-
interface TestRunnerMap {
|
|
2845
|
-
}
|
|
2846
|
-
interface TestRunnerTable {
|
|
2847
|
-
}
|
|
2848
|
-
interface TestRunnerTime {
|
|
2849
|
-
}
|
|
2850
|
-
interface TestRunnerTitle {
|
|
2851
|
-
}
|
|
2852
2848
|
|
|
2853
2849
|
interface BnAssetAttributes {
|
|
2854
2850
|
"name": string;
|
|
@@ -2908,9 +2904,12 @@ declare namespace LocalJSX {
|
|
|
2908
2904
|
"name": string;
|
|
2909
2905
|
"datasources": string;
|
|
2910
2906
|
"static": boolean;
|
|
2907
|
+
"raw": boolean;
|
|
2911
2908
|
}
|
|
2912
2909
|
interface BnDatasourceAttributes {
|
|
2913
2910
|
"name": string;
|
|
2911
|
+
"raw": boolean;
|
|
2912
|
+
"interval": number;
|
|
2914
2913
|
}
|
|
2915
2914
|
interface BnFooterAttributes {
|
|
2916
2915
|
"pageNumber": number | null;
|
|
@@ -3001,20 +3000,6 @@ declare namespace LocalJSX {
|
|
|
3001
3000
|
"pageGridGap": string;
|
|
3002
3001
|
"pageFitToContent": boolean;
|
|
3003
3002
|
}
|
|
3004
|
-
interface BnMapAttributes {
|
|
3005
|
-
"markersDatasetName": string;
|
|
3006
|
-
"gpxsDatasetName": string;
|
|
3007
|
-
"latitude": number;
|
|
3008
|
-
"longitude": number;
|
|
3009
|
-
"scale": number;
|
|
3010
|
-
"manualPosOverride": boolean;
|
|
3011
|
-
"showScale": boolean;
|
|
3012
|
-
"attribution": string;
|
|
3013
|
-
"tileLayer": string;
|
|
3014
|
-
"markers": string | null;
|
|
3015
|
-
"gpxs": string | null;
|
|
3016
|
-
"geojsons": string | null;
|
|
3017
|
-
}
|
|
3018
3003
|
interface BnMessageAttributes {
|
|
3019
3004
|
"text": string;
|
|
3020
3005
|
"image": string;
|
|
@@ -3023,6 +3008,10 @@ declare namespace LocalJSX {
|
|
|
3023
3008
|
"format": string;
|
|
3024
3009
|
"orientation": string;
|
|
3025
3010
|
}
|
|
3011
|
+
interface BnScalingGroupAttributes {
|
|
3012
|
+
"name": string;
|
|
3013
|
+
"value": number;
|
|
3014
|
+
}
|
|
3026
3015
|
interface BnTableAttributes {
|
|
3027
3016
|
"scale": string;
|
|
3028
3017
|
"tableTitle": string;
|
|
@@ -3031,6 +3020,7 @@ declare namespace LocalJSX {
|
|
|
3031
3020
|
"scenarios": string;
|
|
3032
3021
|
"variances": string;
|
|
3033
3022
|
"barColumns": string;
|
|
3023
|
+
"barColumnWidth": string;
|
|
3034
3024
|
"unitScaling": string;
|
|
3035
3025
|
"percentageScaling": string;
|
|
3036
3026
|
"dataFormat": string;
|
|
@@ -3111,20 +3101,6 @@ declare namespace LocalJSX {
|
|
|
3111
3101
|
"lineFullWidth": boolean;
|
|
3112
3102
|
"containerWidth": number;
|
|
3113
3103
|
}
|
|
3114
|
-
interface IbcsMapAttributes {
|
|
3115
|
-
"tileLayer": string;
|
|
3116
|
-
"manualPosOverride": boolean;
|
|
3117
|
-
"latitude": number;
|
|
3118
|
-
"longitude": number;
|
|
3119
|
-
"scale": number;
|
|
3120
|
-
"customView": boolean;
|
|
3121
|
-
"showScale": boolean;
|
|
3122
|
-
"showZoom": boolean;
|
|
3123
|
-
"attribution": string;
|
|
3124
|
-
"gpxs": GpxLayer[] | string;
|
|
3125
|
-
"markers": Marker[] | string;
|
|
3126
|
-
"geojsons": GeoJsonLayer[] | string;
|
|
3127
|
-
}
|
|
3128
3104
|
interface IbcsTableAttributes {
|
|
3129
3105
|
"tableTitle": string;
|
|
3130
3106
|
"scenariosDataFormat": DataFormat;
|
|
@@ -3139,6 +3115,7 @@ declare namespace LocalJSX {
|
|
|
3139
3115
|
"showMeasureScale": boolean;
|
|
3140
3116
|
"measureType": MeasureType;
|
|
3141
3117
|
"filter": string;
|
|
3118
|
+
"barColumnMaxWidth": number;
|
|
3142
3119
|
"unitScaling": number;
|
|
3143
3120
|
"percentageScaling": number;
|
|
3144
3121
|
"scaleFactor": number;
|
|
@@ -3165,9 +3142,9 @@ declare namespace LocalJSX {
|
|
|
3165
3142
|
"bn-internationalization": Omit<BnInternationalization, keyof BnInternationalizationAttributes> & { [K in keyof BnInternationalization & keyof BnInternationalizationAttributes]?: BnInternationalization[K] } & { [K in keyof BnInternationalization & keyof BnInternationalizationAttributes as `attr:${K}`]?: BnInternationalizationAttributes[K] } & { [K in keyof BnInternationalization & keyof BnInternationalizationAttributes as `prop:${K}`]?: BnInternationalization[K] };
|
|
3166
3143
|
"bn-layout-card": Omit<BnLayoutCard, keyof BnLayoutCardAttributes> & { [K in keyof BnLayoutCard & keyof BnLayoutCardAttributes]?: BnLayoutCard[K] } & { [K in keyof BnLayoutCard & keyof BnLayoutCardAttributes as `attr:${K}`]?: BnLayoutCardAttributes[K] } & { [K in keyof BnLayoutCard & keyof BnLayoutCardAttributes as `prop:${K}`]?: BnLayoutCard[K] };
|
|
3167
3144
|
"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] };
|
|
3168
|
-
"bn-map": Omit<BnMap, keyof BnMapAttributes> & { [K in keyof BnMap & keyof BnMapAttributes]?: BnMap[K] } & { [K in keyof BnMap & keyof BnMapAttributes as `attr:${K}`]?: BnMapAttributes[K] } & { [K in keyof BnMap & keyof BnMapAttributes as `prop:${K}`]?: BnMap[K] };
|
|
3169
3145
|
"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] };
|
|
3170
3146
|
"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] };
|
|
3147
|
+
"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"]>;
|
|
3171
3148
|
"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] };
|
|
3172
3149
|
"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] };
|
|
3173
3150
|
"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] };
|
|
@@ -3176,16 +3153,8 @@ declare namespace LocalJSX {
|
|
|
3176
3153
|
"editor-companion": EditorCompanion;
|
|
3177
3154
|
"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] };
|
|
3178
3155
|
"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] };
|
|
3179
|
-
"ibcs-map": Omit<IbcsMap, keyof IbcsMapAttributes> & { [K in keyof IbcsMap & keyof IbcsMapAttributes]?: IbcsMap[K] } & { [K in keyof IbcsMap & keyof IbcsMapAttributes as `attr:${K}`]?: IbcsMapAttributes[K] } & { [K in keyof IbcsMap & keyof IbcsMapAttributes as `prop:${K}`]?: IbcsMap[K] };
|
|
3180
3156
|
"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] };
|
|
3181
3157
|
"ibcs-title": Omit<IbcsTitle, keyof IbcsTitleAttributes> & { [K in keyof IbcsTitle & keyof IbcsTitleAttributes]?: IbcsTitle[K] } & { [K in keyof IbcsTitle & keyof IbcsTitleAttributes as `attr:${K}`]?: IbcsTitleAttributes[K] } & { [K in keyof IbcsTitle & keyof IbcsTitleAttributes as `prop:${K}`]?: IbcsTitle[K] };
|
|
3182
|
-
"test-runner-card": TestRunnerCard;
|
|
3183
|
-
"test-runner-chart": TestRunnerChart;
|
|
3184
|
-
"test-runner-chart-time": TestRunnerChartTime;
|
|
3185
|
-
"test-runner-map": TestRunnerMap;
|
|
3186
|
-
"test-runner-table": TestRunnerTable;
|
|
3187
|
-
"test-runner-time": TestRunnerTime;
|
|
3188
|
-
"test-runner-title": TestRunnerTitle;
|
|
3189
3158
|
}
|
|
3190
3159
|
}
|
|
3191
3160
|
export { LocalJSX as JSX };
|
|
@@ -3227,10 +3196,16 @@ declare module "@stencil/core" {
|
|
|
3227
3196
|
*/
|
|
3228
3197
|
"bn-dataset": LocalJSX.IntrinsicElements["bn-dataset"] & JSXBase.HTMLAttributes<HTMLBnDatasetElement>;
|
|
3229
3198
|
/**
|
|
3230
|
-
* Ingests
|
|
3231
|
-
* Data
|
|
3232
|
-
*
|
|
3233
|
-
*
|
|
3199
|
+
* Ingests data and writes it to the scoped `datasources` store.
|
|
3200
|
+
* Data can be provided in three ways:
|
|
3201
|
+
* 1. **Inline JSON** — Place JSON text inside the element body (default).
|
|
3202
|
+
* 2. **Compressed payload** — Set `raw="false"` and provide `<hash>:<base64_gzip>` format.
|
|
3203
|
+
* 3. **URL** — Place an `http://` or `https://` URL in the body to fetch JSON
|
|
3204
|
+
* from a remote endpoint.
|
|
3205
|
+
* In URL mode the component fetches JSON from the URL. Set the `interval`
|
|
3206
|
+
* prop (in seconds) to enable periodic re-fetching (polling).
|
|
3207
|
+
* Other components (e.g. `bn-dataset`) reference the stored data by the
|
|
3208
|
+
* `name` prop to run queries against it.
|
|
3234
3209
|
*/
|
|
3235
3210
|
"bn-datasource": LocalJSX.IntrinsicElements["bn-datasource"] & JSXBase.HTMLAttributes<HTMLBnDatasourceElement>;
|
|
3236
3211
|
"bn-footer": LocalJSX.IntrinsicElements["bn-footer"] & JSXBase.HTMLAttributes<HTMLBnFooterElement>;
|
|
@@ -3244,9 +3219,19 @@ declare module "@stencil/core" {
|
|
|
3244
3219
|
"bn-internationalization": LocalJSX.IntrinsicElements["bn-internationalization"] & JSXBase.HTMLAttributes<HTMLBnInternationalizationElement>;
|
|
3245
3220
|
"bn-layout-card": LocalJSX.IntrinsicElements["bn-layout-card"] & JSXBase.HTMLAttributes<HTMLBnLayoutCardElement>;
|
|
3246
3221
|
"bn-layout-page": LocalJSX.IntrinsicElements["bn-layout-page"] & JSXBase.HTMLAttributes<HTMLBnLayoutPageElement>;
|
|
3247
|
-
"bn-map": LocalJSX.IntrinsicElements["bn-map"] & JSXBase.HTMLAttributes<HTMLBnMapElement>;
|
|
3248
3222
|
"bn-message": LocalJSX.IntrinsicElements["bn-message"] & JSXBase.HTMLAttributes<HTMLBnMessageElement>;
|
|
3249
3223
|
"bn-page": LocalJSX.IntrinsicElements["bn-page"] & JSXBase.HTMLAttributes<HTMLBnPageElement>;
|
|
3224
|
+
/**
|
|
3225
|
+
* Defines a named scaling value that chart and table components can reference
|
|
3226
|
+
* via their `unit-scaling` or `percentage-scaling` attributes.
|
|
3227
|
+
* Multiple components sharing the same group name will use the same scaling
|
|
3228
|
+
* value, allowing synchronized scaling across an entire page or section.
|
|
3229
|
+
* The reserved name `"auto"` is not allowed and will be ignored with a warning.
|
|
3230
|
+
* @example <bn-scaling-group name="revenue" value="0.05"></bn-scaling-group>
|
|
3231
|
+
* <bn-chart-structure unit-scaling="revenue" ...></bn-chart-structure>
|
|
3232
|
+
* <bn-table unit-scaling="revenue" ...></bn-table>
|
|
3233
|
+
*/
|
|
3234
|
+
"bn-scaling-group": LocalJSX.IntrinsicElements["bn-scaling-group"] & JSXBase.HTMLAttributes<HTMLBnScalingGroupElement>;
|
|
3250
3235
|
/**
|
|
3251
3236
|
* Public-facing wrapper for the IBCS table component.
|
|
3252
3237
|
* Accepts user-facing string/number props, validates them, and converts
|
|
@@ -3288,7 +3273,6 @@ declare module "@stencil/core" {
|
|
|
3288
3273
|
"editor-companion": LocalJSX.IntrinsicElements["editor-companion"] & JSXBase.HTMLAttributes<HTMLEditorCompanionElement>;
|
|
3289
3274
|
"ibcs-chart-structure": LocalJSX.IntrinsicElements["ibcs-chart-structure"] & JSXBase.HTMLAttributes<HTMLIbcsChartStructureElement>;
|
|
3290
3275
|
"ibcs-chart-time": LocalJSX.IntrinsicElements["ibcs-chart-time"] & JSXBase.HTMLAttributes<HTMLIbcsChartTimeElement>;
|
|
3291
|
-
"ibcs-map": LocalJSX.IntrinsicElements["ibcs-map"] & JSXBase.HTMLAttributes<HTMLIbcsMapElement>;
|
|
3292
3276
|
/**
|
|
3293
3277
|
* Internal rendering engine for `bn-table`.
|
|
3294
3278
|
* Receives pre-validated, typed props from the outer `bn-table` wrapper and
|
|
@@ -3299,13 +3283,6 @@ declare module "@stencil/core" {
|
|
|
3299
3283
|
*/
|
|
3300
3284
|
"ibcs-table": LocalJSX.IntrinsicElements["ibcs-table"] & JSXBase.HTMLAttributes<HTMLIbcsTableElement>;
|
|
3301
3285
|
"ibcs-title": LocalJSX.IntrinsicElements["ibcs-title"] & JSXBase.HTMLAttributes<HTMLIbcsTitleElement>;
|
|
3302
|
-
"test-runner-card": LocalJSX.IntrinsicElements["test-runner-card"] & JSXBase.HTMLAttributes<HTMLTestRunnerCardElement>;
|
|
3303
|
-
"test-runner-chart": LocalJSX.IntrinsicElements["test-runner-chart"] & JSXBase.HTMLAttributes<HTMLTestRunnerChartElement>;
|
|
3304
|
-
"test-runner-chart-time": LocalJSX.IntrinsicElements["test-runner-chart-time"] & JSXBase.HTMLAttributes<HTMLTestRunnerChartTimeElement>;
|
|
3305
|
-
"test-runner-map": LocalJSX.IntrinsicElements["test-runner-map"] & JSXBase.HTMLAttributes<HTMLTestRunnerMapElement>;
|
|
3306
|
-
"test-runner-table": LocalJSX.IntrinsicElements["test-runner-table"] & JSXBase.HTMLAttributes<HTMLTestRunnerTableElement>;
|
|
3307
|
-
"test-runner-time": LocalJSX.IntrinsicElements["test-runner-time"] & JSXBase.HTMLAttributes<HTMLTestRunnerTimeElement>;
|
|
3308
|
-
"test-runner-title": LocalJSX.IntrinsicElements["test-runner-title"] & JSXBase.HTMLAttributes<HTMLTestRunnerTitleElement>;
|
|
3309
3286
|
}
|
|
3310
3287
|
}
|
|
3311
3288
|
}
|