@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,175 +18,222 @@ export declare class Chart {
|
|
|
18
18
|
private readonly t;
|
|
19
19
|
private readonly componentStyle;
|
|
20
20
|
private readonly errors;
|
|
21
|
+
private readonly resolveInherited;
|
|
22
|
+
private layoutObserver;
|
|
23
|
+
/** Last parent height seen, used to suppress ResizeObserver noise. */
|
|
24
|
+
private _lastScaledParentHeight;
|
|
21
25
|
/**
|
|
22
|
-
*
|
|
26
|
+
* Title displayed above the chart. When empty, the title is derived
|
|
27
|
+
* from the variance scenario labels (if variances are configured).
|
|
28
|
+
*
|
|
29
|
+
* @example chart-title="Revenue by Category"
|
|
23
30
|
*/
|
|
24
31
|
chartTitle: string;
|
|
25
32
|
/**
|
|
26
33
|
* AlaSQL WHERE clause fragment injected into the data query to filter
|
|
27
|
-
* rows before rendering
|
|
34
|
+
* rows before rendering.
|
|
35
|
+
*
|
|
36
|
+
* @example filter="rowGroup = 'Revenue'"
|
|
28
37
|
*/
|
|
29
38
|
filter: string;
|
|
30
39
|
/**
|
|
31
|
-
*
|
|
32
|
-
|
|
33
|
-
*
|
|
34
|
-
*
|
|
40
|
+
* Comma-separated list of scenario columns to display as bars.
|
|
41
|
+
* Up to 4 scenarios are supported; additional values are ignored.
|
|
42
|
+
*
|
|
43
|
+
* Valid scenario names: `ac1`–`ac4`, `fc1`–`fc4`, `pp1`–`pp4`, `pl1`–`pl4`.
|
|
35
44
|
*
|
|
36
|
-
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
|
|
40
|
-
*
|
|
41
|
-
* When left blank, scenarios are detected from the dataset with a warning.
|
|
45
|
+
* | Value | Behavior |
|
|
46
|
+
* |---------------|-------------------------------------------------------------|
|
|
47
|
+
* | `"ac1,fc1"` | Show the listed scenarios |
|
|
48
|
+
* | `"auto"` | Auto-detect from dataset metadata (no warning) |
|
|
49
|
+
* | not set / `""` | Auto-detect from dataset metadata (emits `AUTO_scenarios` warning) |
|
|
42
50
|
*
|
|
51
|
+
* @example scenarios="ac1,pp1,pl1"
|
|
43
52
|
*/
|
|
44
53
|
scenarios: string;
|
|
45
54
|
validateScenario(newValue: string): void;
|
|
46
55
|
/**
|
|
47
|
-
*
|
|
48
|
-
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
|
|
60
|
-
* if empty variance charts are hidden
|
|
61
|
-
*<br /> <br />
|
|
62
|
-
* each variance creates a chart
|
|
63
|
-
*<br /> <br />
|
|
64
|
-
* pattern:<br /> ```d<scenarioB>_<scenarioA>_[pos/neg/neu]```
|
|
65
|
-
*
|
|
66
|
-
* example: <br />```'dpp1_ac1_neg,dfc1_ac1_neg'```
|
|
56
|
+
* Comma-separated list of variance definitions. Each variance adds
|
|
57
|
+
* a separate sub-chart next to the main bar chart.
|
|
58
|
+
*
|
|
59
|
+
* **Pattern:** `d<base>_<comparison>_<sentiment>` (absolute)
|
|
60
|
+
* or `dr<base>_<comparison>_<sentiment>` (relative / percentage).
|
|
61
|
+
*
|
|
62
|
+
* - `base` / `comparison`: scenario names that must also appear in `scenarios`.
|
|
63
|
+
* - `sentiment`: `pos` (positive is good), `neg` (negative is good), `neu` (neutral).
|
|
64
|
+
*
|
|
65
|
+
* When empty, no variance charts are shown.
|
|
66
|
+
*
|
|
67
|
+
* @example variances="dpp1_ac1_neg,dfc1_ac1_neg"
|
|
68
|
+
* @example variances="drac1_pl1_pos"
|
|
67
69
|
*/
|
|
68
70
|
variances: string;
|
|
69
71
|
validateVariances(newValue: string): void;
|
|
70
72
|
/**
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
73
|
+
* Controls horizontal bar scaling (pixels per data unit).
|
|
74
|
+
*
|
|
75
|
+
* | Value | Behavior |
|
|
76
|
+
* |----------------|-----------------------------------------------------------------|
|
|
77
|
+
* | `"auto"` | Auto-fit bars to fill the available container width (no warning) |
|
|
78
|
+
* | not set / `""` | Same as auto, but emits `AUTO_unitScaling` warning |
|
|
79
|
+
* | `"0.03"`, `1` | Explicit pixels-per-unit value; bars scale proportionally |
|
|
80
|
+
* | group name | References a `<bn-scaling-group>` for synchronized scaling |
|
|
81
|
+
*
|
|
82
|
+
* When using a custom value that causes the chart to exceed its container,
|
|
83
|
+
* a `WARN_overflow` error is emitted.
|
|
84
|
+
*
|
|
85
|
+
* @example unit-scaling="auto"
|
|
86
|
+
* @example unit-scaling="0.05"
|
|
87
|
+
* @example unit-scaling="revenue-scale"
|
|
76
88
|
*/
|
|
77
89
|
unitScaling: string | number;
|
|
78
90
|
validateUnitScaling(newValue: string | number): void;
|
|
79
91
|
/**
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
92
|
+
* Controls scaling of relative variance bars (pixels per percentage point).
|
|
93
|
+
*
|
|
94
|
+
* | Value | Behavior |
|
|
95
|
+
* |----------------|---------------------------------------------------------------|
|
|
96
|
+
* | `"auto"` | Auto-fit to available width |
|
|
97
|
+
* | not set / `""` | Same as auto with warning |
|
|
98
|
+
* | `"50"`, `1.5` | Explicit pixels-per-percentage-point value |
|
|
99
|
+
* | group name | References a `<bn-scaling-group>` for synchronized scaling |
|
|
100
|
+
*
|
|
101
|
+
* @example percentage-scaling="50"
|
|
102
|
+
* @example percentage-scaling="pct-scale"
|
|
85
103
|
*/
|
|
86
104
|
percentageScaling: string | number;
|
|
87
105
|
validatePercentageScaling(newValue: string | number): void;
|
|
88
106
|
/**
|
|
89
|
-
*
|
|
90
|
-
* <br /> <br />
|
|
107
|
+
* Aggregation level that determines which hierarchy dimension each bar represents.
|
|
91
108
|
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
109
|
+
* | Value | Bars represent |
|
|
110
|
+
* |--------------------|---------------------------|
|
|
111
|
+
* | `"rowGroup"` | Row groups |
|
|
112
|
+
* | `"rowGroupIndex"` | Row groups (dataset order)|
|
|
113
|
+
* | `"category"` | Categories |
|
|
114
|
+
* | `"categoryIndex"` | Categories (dataset order)|
|
|
115
|
+
* | `"subCategory"` | Sub-categories |
|
|
116
|
+
* | `"subCategoryIndex"` | Sub-categories (dataset order)|
|
|
117
|
+
* | `"auto"` | Auto-detect from dataset metadata (no warning) |
|
|
118
|
+
* | not set / `""` | Auto-detect with `AUTO_level` warning |
|
|
97
119
|
*
|
|
120
|
+
* Index variants preserve the original dataset order instead of sorting alphabetically.
|
|
121
|
+
* When `stack.by` is `"dimensions"`, the chart automatically stacks by the next-lower
|
|
122
|
+
* level (e.g. level `"rowGroup"` stacks by category).
|
|
123
|
+
*
|
|
124
|
+
* @example level="category"
|
|
98
125
|
*/
|
|
99
126
|
level: string;
|
|
100
127
|
validateLevel(newValue: string): void;
|
|
101
|
-
/**
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
128
|
+
/**
|
|
129
|
+
* Comma-separated list of columns that define the sort order of bars.
|
|
130
|
+
* When ordering by a scenario column, that scenario must also be listed in `scenarios`.
|
|
131
|
+
*
|
|
132
|
+
* Valid values: `category`, `categoryIndex`, `rowGroup`, `rowGroupIndex`,
|
|
133
|
+
* `subCategory`, `subCategoryIndex`, `ac1`–`ac4`, `fc1`–`fc4`, `pp1`–`pp4`, `pl1`–`pl4`.
|
|
134
|
+
*
|
|
135
|
+
* | Value | Behavior |
|
|
136
|
+
* |----------------|-----------------------------------------------------|
|
|
137
|
+
* | `"ac1"` | Sort bars by the ac1 scenario values |
|
|
138
|
+
* | `"category"` | Sort bars alphabetically by category name |
|
|
139
|
+
* | `"auto"` | Auto-detect from dataset metadata (no warning) |
|
|
140
|
+
* | not set / `""` | Auto-detect with `AUTO_order` warning |
|
|
141
|
+
*
|
|
142
|
+
* @example order="ac1"
|
|
109
143
|
*/
|
|
110
144
|
order: string;
|
|
111
145
|
validateOrderList(newValue: string): void;
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
146
|
+
/**
|
|
147
|
+
* Sort direction applied to the columns specified in `order`.
|
|
148
|
+
*
|
|
149
|
+
* Values: `"asc"` (ascending) | `"desc"` (descending).
|
|
150
|
+
*
|
|
151
|
+
* @default "asc"
|
|
152
|
+
* @example order-direction="desc"
|
|
116
153
|
*/
|
|
117
154
|
orderDirection: string;
|
|
118
155
|
validateOrderDirection(newValue: string): void;
|
|
119
|
-
/** set translaton mode.
|
|
120
|
-
* <br /><br />
|
|
121
|
-
* values:<br />
|
|
122
|
-
* ``` all // none // meta ```
|
|
123
|
-
*/
|
|
124
156
|
/**
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
* <br /><br />
|
|
128
|
-
* rows wich where cut by the limit are cumulated as REST
|
|
157
|
+
* Maximum number of bars to display. Excess rows are aggregated into
|
|
158
|
+
* a "REST" summary bar. `0` means no limit (all rows are shown).
|
|
129
159
|
*
|
|
160
|
+
* @default 0
|
|
161
|
+
* @example limit="5"
|
|
130
162
|
*/
|
|
131
163
|
limit: number;
|
|
132
164
|
validateLimit(newValue: number): void;
|
|
165
|
+
/**
|
|
166
|
+
* Whether to display category labels on the left side of the chart.
|
|
167
|
+
*
|
|
168
|
+
* Values: `"true"` | `"false"`.
|
|
169
|
+
*
|
|
170
|
+
* @default "true"
|
|
171
|
+
* @example show-categories="false"
|
|
172
|
+
*/
|
|
133
173
|
showCategories: string;
|
|
134
174
|
validateShowCategories(newValue: string): void;
|
|
135
175
|
/**
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
* ``` "P": 1E+15,```<br />
|
|
147
|
-
* ``` "T": 1E+12,```<br />
|
|
148
|
-
* ``` "G": 1000000000,```<br />
|
|
149
|
-
* ``` "M": 1000000,```<br />
|
|
150
|
-
* ``` "k": 1000,```<br />
|
|
151
|
-
* <br />
|
|
152
|
-
* ``` "m": 0.001,```<br />
|
|
153
|
-
* ``` "μ": 0.000001,```<br />
|
|
154
|
-
* ``` "n": 0.000000001,```<br />
|
|
155
|
-
* ``` "p": 0.000000000001,```<br />
|
|
156
|
-
* ``` "f": 0.000000000000001,```<br />
|
|
157
|
-
* ``` "a": 0.000000000000000001,```<br />
|
|
158
|
-
* ``` "z": 0.000000000000000000001,```<br />
|
|
159
|
-
* ``` "y": 0.000000000000000000000001,```<br />
|
|
160
|
-
* <br /><br />
|
|
161
|
-
* Special modes:
|
|
162
|
-
* ```GREATEST``` seaches for the bigest (farest to zero) Value in the dataset and sets this value to SiPrefix<br />
|
|
163
|
-
* ```LEAST``` searches for smallest (closest to zero) Value in the dataset and sets this value to SiPrefix<br />
|
|
164
|
-
*<br /><br />
|
|
165
|
-
* ```_``` is the value for no SiPrefix the value is displayed as in the dataset stored.
|
|
176
|
+
* SI prefix applied to data values, dividing them for display
|
|
177
|
+
* (e.g. `"k"` divides by 1 000, showing 14 000 as "14").
|
|
178
|
+
*
|
|
179
|
+
* Common prefixes: `"k"` (×10³), `"M"` (×10⁶), `"G"` (×10⁹), `"T"` (×10¹²).
|
|
180
|
+
* Use `"_"` for no prefix (raw values).
|
|
181
|
+
*
|
|
182
|
+
* | Special value | Behavior |
|
|
183
|
+
* |---------------|--------------------------------------------------------------|
|
|
184
|
+
* | `"GREATEST"` | Auto-select prefix based on the largest value in the dataset |
|
|
185
|
+
* | `"LEAST"` | Auto-select prefix based on the smallest value |
|
|
166
186
|
*
|
|
187
|
+
* The selected prefix is shown in the chart footer when `show-measure-scale` is enabled.
|
|
167
188
|
*
|
|
189
|
+
* @default "greatest"
|
|
190
|
+
* @example measure-scale="k"
|
|
168
191
|
*/
|
|
169
192
|
measureScale: string;
|
|
170
193
|
validateMeasureScale(newValue: string): void;
|
|
171
194
|
/**
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
195
|
+
* Toggles display of the SI prefix and unit label in the chart footer
|
|
196
|
+
* (e.g. "k EUR").
|
|
197
|
+
*
|
|
198
|
+
* Values: `"true"` | `"false"`.
|
|
199
|
+
*
|
|
200
|
+
* @default "false"
|
|
201
|
+
* @example show-measure-scale="true"
|
|
176
202
|
*/
|
|
177
203
|
showMeasureScale: string;
|
|
178
204
|
validateShowMeasureScale(newValue: string): void;
|
|
179
205
|
/**
|
|
180
|
-
*
|
|
206
|
+
* Unit label displayed alongside the SI prefix in the chart footer
|
|
207
|
+
* (e.g. "EUR", "USD", "pcs"). Only visible when `show-measure-scale` is `"true"`.
|
|
208
|
+
*
|
|
209
|
+
* @default ""
|
|
210
|
+
* @example measure-unit="EUR"
|
|
181
211
|
*/
|
|
182
212
|
measureUnit: string;
|
|
183
213
|
/**
|
|
184
|
-
* Stacking configuration
|
|
214
|
+
* Stacking configuration as a JSON string. When set, bars are drawn as
|
|
215
|
+
* stacked segments instead of side-by-side.
|
|
216
|
+
*
|
|
217
|
+
* **Properties:**
|
|
185
218
|
*
|
|
186
|
-
*
|
|
219
|
+
* | Key | Values | Description |
|
|
220
|
+
* |---------|-----------------------------------------------|----------------------------------------------------|
|
|
221
|
+
* | `by` | `"scenarios"` \| `"dimensions"` | **Required.** What to stack. |
|
|
222
|
+
* | `mode` | `"absolute"` \| `"relative"` \| `"absolute-relative"` | Stacking mode. Default: `"absolute"`. |
|
|
223
|
+
* | `order` | `"asc"` \| `"desc"` \| `"dataset"` | Segment sort order. Default: `"dataset"`. |
|
|
187
224
|
*
|
|
188
|
-
*
|
|
189
|
-
*
|
|
225
|
+
* - `by: "scenarios"` — stacks the scenarios listed in the `scenarios` prop end-to-end.
|
|
226
|
+
* - `by: "dimensions"` — stacks by the next-lower hierarchy level derived from `level`
|
|
227
|
+
* (e.g. level `"rowGroup"` stacks by category). Only the first scenario is used;
|
|
228
|
+
* extra scenarios trigger a `WARN_stack_dimensions_scenarios` warning.
|
|
229
|
+
* - `mode: "relative"` — normalizes each bar to 100%, showing proportions.
|
|
230
|
+
* - `mode: "absolute-relative"` — absolute bars with percentage labels.
|
|
231
|
+
*
|
|
232
|
+
* Segment colors are configurable via the `stackColors` array in component styles.
|
|
233
|
+
*
|
|
234
|
+
* @default "" (no stacking)
|
|
235
|
+
* @example stack='{"by":"scenarios","mode":"absolute"}'
|
|
236
|
+
* @example stack='{"by":"dimensions","mode":"relative"}'
|
|
190
237
|
*/
|
|
191
238
|
stack: string;
|
|
192
239
|
validateStack(newValue: string): void;
|
|
@@ -202,13 +249,19 @@ export declare class Chart {
|
|
|
202
249
|
*/
|
|
203
250
|
scale?: string;
|
|
204
251
|
validateScaling(newValue: string): void;
|
|
205
|
-
private scenariosArray;
|
|
206
252
|
private canvasWidthSegmented;
|
|
207
253
|
private pixelPerUnitGroupMap;
|
|
208
254
|
constructor();
|
|
209
255
|
componentWillLoad(): void;
|
|
210
256
|
private _autoScaleGuard;
|
|
211
257
|
componentDidRender(): void;
|
|
258
|
+
componentDidLoad(): void;
|
|
259
|
+
disconnectedCallback(): void;
|
|
260
|
+
/**
|
|
261
|
+
* Emits an error when a custom unit-scaling value causes the chart to exceed its container width.
|
|
262
|
+
* Skipped for auto/unset unit-scaling since auto-fit handles width.
|
|
263
|
+
*/
|
|
264
|
+
private checkWidthOverflow;
|
|
212
265
|
prepareDimension(): ParentDimensions;
|
|
213
266
|
private prepareScenarios;
|
|
214
267
|
private prepareVariances;
|
|
@@ -33,10 +33,11 @@ export declare class IbcsChartStructure {
|
|
|
33
33
|
componentWillLoad(): Promise<void>;
|
|
34
34
|
componentWillUpdate(): Promise<void>;
|
|
35
35
|
/**
|
|
36
|
-
* Two-pass auto-fit
|
|
37
|
-
*
|
|
38
|
-
*
|
|
36
|
+
* Two-pass auto-fit for pixelPerUnit and/or pixelPerPercentage.
|
|
37
|
+
* When either is 0 (auto mode), renders a measurement pass at 1,
|
|
38
|
+
* computes the ratio to fit the available width, and rebuilds.
|
|
39
39
|
* Structure charts grow horizontally, so we fit to width.
|
|
40
|
+
* Explicit (> 0) values are never overridden.
|
|
40
41
|
*/
|
|
41
42
|
private autoFitScaling;
|
|
42
43
|
componentWillRender(): Promise<void>;
|
|
@@ -50,6 +50,7 @@ export declare class StructureChart {
|
|
|
50
50
|
private dataFormatDigits;
|
|
51
51
|
private stackConfig;
|
|
52
52
|
private overflowConfig;
|
|
53
|
+
private highestStackedTotal;
|
|
53
54
|
constructor(ruleSet: VisualisationRuleSet, config: StructureChartComponentConfig, styles: StructureChartStyle);
|
|
54
55
|
private updatePosition;
|
|
55
56
|
private createElementPosition;
|
|
@@ -82,6 +83,11 @@ export declare class StructureChart {
|
|
|
82
83
|
* @param customColumnNameMap Custon ColumnNameMap can be used if data uses non standard columnames
|
|
83
84
|
*/
|
|
84
85
|
setData(data: StructureChartDataRow[], filter: string): void;
|
|
86
|
+
/**
|
|
87
|
+
* Returns the data value whose bar extent is proportional to pixelPerUnit.
|
|
88
|
+
* Used by autoFitScaling to separate fixed vs variable width components.
|
|
89
|
+
*/
|
|
90
|
+
getMaxBarValue(): number;
|
|
85
91
|
getAllocatedCanvasWidth(): number;
|
|
86
92
|
getAllocatedCanvasHeight(): number;
|
|
87
93
|
patternToString(): string;
|
|
@@ -101,6 +107,7 @@ export declare class StructureChart {
|
|
|
101
107
|
private calculateCategoryWidth;
|
|
102
108
|
private findSmallestDataPointValue;
|
|
103
109
|
private findHighestDataPointValue;
|
|
110
|
+
private findHighestStackedRowTotal;
|
|
104
111
|
private populateVarianceModel;
|
|
105
112
|
private calculateVariance;
|
|
106
113
|
private mapScenarios;
|
|
@@ -30,6 +30,7 @@ export declare class Label {
|
|
|
30
30
|
private styles;
|
|
31
31
|
private isVarianceLabel;
|
|
32
32
|
private segmentFillColor;
|
|
33
|
+
private maxWidth;
|
|
33
34
|
readonly ID_SCENARIOLABEL: string;
|
|
34
35
|
readonly CSS_CATEGORIES: string;
|
|
35
36
|
private isRelativeLabel;
|
|
@@ -39,6 +40,7 @@ export declare class Label {
|
|
|
39
40
|
setToVarianceLabel(): Label;
|
|
40
41
|
setToRelativeVarianceLabel(): Label;
|
|
41
42
|
setSegmentFill(color: string): Label;
|
|
43
|
+
setMaxWidth(width: number): Label;
|
|
42
44
|
updateGroup(newGroup: G): Label;
|
|
43
45
|
private createElementID;
|
|
44
46
|
draw(dataFormatDigits?: DataFormatDigits, measureScale?: SiPrefix): Label;
|
package/dist/types/components/bn-chart-structure/utils/model/styles/StructureChartStyle.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export declare class StructureChartStyle {
|
|
|
14
14
|
varianceStyles: SVGVariancesStyleGroup;
|
|
15
15
|
padding: Padding;
|
|
16
16
|
pattern: Map<string, SVGPolgonPattern>;
|
|
17
|
+
stackColors: string[];
|
|
17
18
|
constructor(scaleFactors: ScaleFactorsStructureChart, fontStyles: FontStyle, axisStyles: SVGStyleGroup, barStyles: SVGStyleGroup, varianceStyles: SVGVariancesStyleGroup, padding: Padding);
|
|
18
19
|
}
|
|
19
20
|
/** Adapts raw componentStyle JSON into a StructureChartStyle, falling back to defaults for missing properties. */
|
|
@@ -18,6 +18,8 @@ export declare class Chart {
|
|
|
18
18
|
private readonly t;
|
|
19
19
|
private readonly componentStyle;
|
|
20
20
|
private readonly errors;
|
|
21
|
+
private readonly resolveInherited;
|
|
22
|
+
private layoutObserver;
|
|
21
23
|
/**
|
|
22
24
|
* Custom chart title
|
|
23
25
|
*/
|
|
@@ -79,20 +81,33 @@ export declare class Chart {
|
|
|
79
81
|
limit: number;
|
|
80
82
|
validateLimit(newValue: number): void;
|
|
81
83
|
/**
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
84
|
+
* Controls vertical bar scaling (pixels per data unit).
|
|
85
|
+
*
|
|
86
|
+
* | Value | Behavior |
|
|
87
|
+
* |----------------|-----------------------------------------------------------------|
|
|
88
|
+
* | `"auto"` | Auto-fit bars to fill the available container height |
|
|
89
|
+
* | not set / `""` | Same as auto, but emits `AUTO_unitScaling` warning |
|
|
90
|
+
* | `"0.03"`, `1` | Explicit pixels-per-unit value; bars scale proportionally |
|
|
91
|
+
* | group name | References a `<bn-scaling-group>` for synchronized scaling |
|
|
92
|
+
*
|
|
93
|
+
* @example unit-scaling="auto"
|
|
94
|
+
* @example unit-scaling="0.05"
|
|
95
|
+
* @example unit-scaling="revenue-scale"
|
|
87
96
|
*/
|
|
88
97
|
unitScaling: string | number;
|
|
89
98
|
validateUnitScaling(newValue: string | number): void;
|
|
90
99
|
/**
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
100
|
+
* Pixels per percentage point for relative variance bars/pins.
|
|
101
|
+
*
|
|
102
|
+
* | Value | Behavior |
|
|
103
|
+
* |----------------|---------------------------------------------------------------|
|
|
104
|
+
* | `"auto"` | Auto-fit to available height (same two-pass as unit-scaling) |
|
|
105
|
+
* | not set / `""` | Same as auto with `AUTO_percentageScaling` warning |
|
|
106
|
+
* | `"50"`, `1.5` | Explicit pixels-per-percentage-point value |
|
|
107
|
+
* | group name | References a `<bn-scaling-group>` for synchronized scaling |
|
|
108
|
+
*
|
|
109
|
+
* @example percentage-scaling="50"
|
|
110
|
+
* @example percentage-scaling="pct-scale"
|
|
96
111
|
*/
|
|
97
112
|
percentageScaling: string | number;
|
|
98
113
|
validatePercentageScaling(newValue: string | number): void;
|
|
@@ -288,9 +303,11 @@ export declare class Chart {
|
|
|
288
303
|
private pixelPerUnitGroupMap;
|
|
289
304
|
constructor();
|
|
290
305
|
componentWillLoad(): void;
|
|
291
|
-
private
|
|
292
|
-
private
|
|
306
|
+
private _autoScaleGuard;
|
|
307
|
+
private _lastObservedWidth;
|
|
293
308
|
componentDidRender(): void;
|
|
309
|
+
componentDidLoad(): void;
|
|
310
|
+
disconnectedCallback(): void;
|
|
294
311
|
prepareDimension(): ParentDimensions;
|
|
295
312
|
private prepareScenarios;
|
|
296
313
|
private prepareAvg;
|
|
@@ -46,9 +46,10 @@ export declare class IbcsChartTime {
|
|
|
46
46
|
componentWillLoad(): Promise<void>;
|
|
47
47
|
componentWillUpdate(): Promise<void>;
|
|
48
48
|
/**
|
|
49
|
-
* Two-pass auto-fit
|
|
50
|
-
*
|
|
51
|
-
*
|
|
49
|
+
* Two-pass auto-fit for pixelPerUnit and/or pixelPerPercentage.
|
|
50
|
+
* When either is 0 (auto mode), renders a measurement pass at 1,
|
|
51
|
+
* computes the ratio to fit ~90% of the available height, and rebuilds.
|
|
52
|
+
* Explicit (> 0) values are never overridden.
|
|
52
53
|
*/
|
|
53
54
|
private autoFitScaling;
|
|
54
55
|
componentWillRender(): Promise<void>;
|
|
@@ -14,6 +14,7 @@ export declare class TimeChartStyle {
|
|
|
14
14
|
varianceStyles: SVGVariancesStyleGroup;
|
|
15
15
|
padding: Padding;
|
|
16
16
|
pattern: Map<string, SVGPolgonPattern>;
|
|
17
|
+
stackColors: string[];
|
|
17
18
|
constructor(scaleFactors: ScaleFactorsTimeChart, fontStyles: FontStyle, axisStyles: SVGStyleGroup, barStyles: SVGStyleGroup, varianceStyles: SVGVariancesStyleGroup, padding: Padding);
|
|
18
19
|
}
|
|
19
20
|
/** Adapts raw componentStyle JSON into a TimeChartStyle, falling back to defaults for missing properties. */
|
|
@@ -29,7 +29,13 @@ export declare class Dataset {
|
|
|
29
29
|
* content as raw JSON, writing it directly to the datasets store.
|
|
30
30
|
*/
|
|
31
31
|
static: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* When true (default), body content is plain text (SQL or JSON).
|
|
34
|
+
* When false, body content is a compressed payload (`<hash>:<base64_gzip>`).
|
|
35
|
+
*/
|
|
36
|
+
raw: boolean;
|
|
32
37
|
private query;
|
|
38
|
+
private lastBodyHash;
|
|
33
39
|
private database;
|
|
34
40
|
private latestResult;
|
|
35
41
|
executeQuery(): void;
|
|
@@ -1,18 +1,61 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Ingests
|
|
2
|
+
* Ingests data and writes it to the scoped `datasources` store.
|
|
3
3
|
*
|
|
4
|
-
* Data
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* Data can be provided in three ways:
|
|
5
|
+
* 1. **Inline JSON** — Place JSON text inside the element body (default).
|
|
6
|
+
* 2. **Compressed payload** — Set `raw="false"` and provide `<hash>:<base64_gzip>` format.
|
|
7
|
+
* 3. **URL** — Place an `http://` or `https://` URL in the body to fetch JSON
|
|
8
|
+
* from a remote endpoint.
|
|
9
|
+
*
|
|
10
|
+
* In URL mode the component fetches JSON from the URL. Set the `interval`
|
|
11
|
+
* prop (in seconds) to enable periodic re-fetching (polling).
|
|
12
|
+
*
|
|
13
|
+
* Other components (e.g. `bn-dataset`) reference the stored data by the
|
|
14
|
+
* `name` prop to run queries against it.
|
|
7
15
|
*/
|
|
8
16
|
export declare class Datasource {
|
|
9
17
|
private element;
|
|
10
18
|
/**
|
|
11
|
-
* Unique (template scope) name of the datasource
|
|
19
|
+
* Unique (template scope) name of the datasource.
|
|
12
20
|
*/
|
|
13
21
|
name: string;
|
|
22
|
+
/**
|
|
23
|
+
* When true (default), body content is plain JSON text.
|
|
24
|
+
* When false, body content is a compressed payload (`<hash>:<base64_gzip>`).
|
|
25
|
+
* Ignored in URL mode.
|
|
26
|
+
*/
|
|
27
|
+
raw: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Polling interval in **seconds** for URL mode.
|
|
30
|
+
* When set and the body content is a URL, the component re-fetches
|
|
31
|
+
* data at this interval. Has no effect for inline JSON or compressed content.
|
|
32
|
+
* Set to `0` or leave unset to disable polling.
|
|
33
|
+
*/
|
|
34
|
+
interval: number;
|
|
14
35
|
private readonly errors;
|
|
15
36
|
private stores;
|
|
37
|
+
private lastHash;
|
|
38
|
+
/** The currently active URL (`null` when in inline-JSON mode). */
|
|
39
|
+
private currentUrl;
|
|
40
|
+
/** Timer ID for the polling interval. */
|
|
41
|
+
private pollTimerId;
|
|
42
|
+
/** AbortController for cancelling in-flight fetch requests. */
|
|
43
|
+
private abortController;
|
|
16
44
|
constructor();
|
|
45
|
+
onIntervalChange(): void;
|
|
46
|
+
disconnectedCallback(): void;
|
|
47
|
+
/**
|
|
48
|
+
* Returns `true` if the text starts with `http://` or `https://`.
|
|
49
|
+
*/
|
|
50
|
+
private isUrl;
|
|
51
|
+
/**
|
|
52
|
+
* Fetches JSON from the given URL and stores the result.
|
|
53
|
+
* Cancels any in-flight request before starting a new one.
|
|
54
|
+
*/
|
|
55
|
+
private fetchAndStore;
|
|
56
|
+
/** Stops the polling timer and cancels any in-flight fetch. */
|
|
57
|
+
private clearPolling;
|
|
58
|
+
/** Starts (or restarts) the polling timer if in URL mode with a positive interval. */
|
|
59
|
+
private startPolling;
|
|
17
60
|
render(): any;
|
|
18
61
|
}
|