@bino-bi/bn-template-engine 1.0.0-alpha.0 → 1.0.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
- package/dist/bn-template-engine/p-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-9b1288df.entry.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 +23906 -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 +46 -3
- 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 -55
- 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 -1
- 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 +23884 -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 +8 -0
- 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 -16
- 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 +389 -443
- 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 +3 -3
- package/readme.md +0 -1
- 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
|
@@ -1,30 +1,176 @@
|
|
|
1
1
|
export declare class LayoutCard {
|
|
2
2
|
private element;
|
|
3
3
|
private readonly errors;
|
|
4
|
+
private readonly resolveInherited;
|
|
4
5
|
private stores;
|
|
5
6
|
constructor();
|
|
6
7
|
connectedCallback(): void;
|
|
8
|
+
/**
|
|
9
|
+
* JSON string of component-style overrides passed through to the inner
|
|
10
|
+
* `<bn-card>` element. Typically set via a `ComponentStyle` manifest
|
|
11
|
+
* rather than directly on the component.
|
|
12
|
+
*/
|
|
7
13
|
styles?: string;
|
|
14
|
+
/**
|
|
15
|
+
* URL or asset name of the image displayed next to the card title.
|
|
16
|
+
* The value is resolved via the scoped assets store: if it matches a
|
|
17
|
+
* registered asset name, the stored URL is used; otherwise the raw value
|
|
18
|
+
* is treated as a URL. The deprecated `asset:` prefix is still supported
|
|
19
|
+
* for backward compatibility.
|
|
20
|
+
* <br /><br />
|
|
21
|
+
* If empty, the title image is omitted.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* <bn-layout-card title-image="company_logo"></bn-layout-card>
|
|
25
|
+
*/
|
|
8
26
|
titleImage: string;
|
|
27
|
+
/**
|
|
28
|
+
* Name of the business unit displayed in the title header row.
|
|
29
|
+
* If empty, the business unit row is omitted.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* <bn-layout-card title-business-unit="Sales"></bn-layout-card>
|
|
33
|
+
*/
|
|
9
34
|
titleBusinessUnit: string;
|
|
35
|
+
/**
|
|
36
|
+
* List of scenarios displayed in the title header.
|
|
37
|
+
* <br /><br />
|
|
38
|
+
* Comma-separated string or omitted. If empty, the scenarios row is omitted.
|
|
39
|
+
* <br /><br />
|
|
40
|
+
* values:<br />
|
|
41
|
+
* ```ac // fc // py // pl```
|
|
42
|
+
*/
|
|
10
43
|
titleScenarios?: string;
|
|
44
|
+
/**
|
|
45
|
+
* List of variances calculated from the given scenarios.
|
|
46
|
+
* The scenarios used in the variances must also be defined in
|
|
47
|
+
* the `titleScenarios` property. The variance is defined as
|
|
48
|
+
* (ScenarioA − ScenarioB). The pos/neg/neu postfix defines
|
|
49
|
+
* which direction is considered "good".
|
|
50
|
+
* <br /><br />
|
|
51
|
+
* If empty, variance indicators are hidden.
|
|
52
|
+
* <br /><br />
|
|
53
|
+
* pattern:<br />
|
|
54
|
+
* ```d<scenarioB>_<scenarioA>_[pos/neg/neu]```
|
|
55
|
+
*/
|
|
11
56
|
titleVariances?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Primary column on which the order direction is applied.
|
|
59
|
+
* <br /><br />
|
|
60
|
+
* values:<br />
|
|
61
|
+
* ```category // categoryindex // rowgroup // rowgroupindex // ac // fc // py // pl```
|
|
62
|
+
*/
|
|
12
63
|
titleOrder: string;
|
|
64
|
+
/**
|
|
65
|
+
* Sorting order direction for the column specified by `titleOrder`.
|
|
66
|
+
* <br /><br />
|
|
67
|
+
* values:<br />
|
|
68
|
+
* ```asc // desc```
|
|
69
|
+
*/
|
|
13
70
|
titleOrderDirection: string;
|
|
71
|
+
/**
|
|
72
|
+
* Array of measure objects with `name` and `unit` displayed in the title.
|
|
73
|
+
* Passed as a JSON string. If all units are the same, redundant units are
|
|
74
|
+
* reduced and names concatenated. If empty, the measure row is omitted.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* <bn-layout-card title-measures='[{"name":"Revenue","unit":"mEUR"}]'></bn-layout-card>
|
|
78
|
+
*/
|
|
14
79
|
titleMeasures?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Start date displayed in the title date row.
|
|
82
|
+
* Accepts `yyyy-MM-dd` (e.g. `2024-01-01`) or ISO 8601 datetime
|
|
83
|
+
* (e.g. `2024-01-01T14:30:00Z`).
|
|
84
|
+
*/
|
|
15
85
|
titleDateStart?: string;
|
|
86
|
+
/**
|
|
87
|
+
* End date displayed in the title date row.
|
|
88
|
+
* Accepts `yyyy-MM-dd` (e.g. `2024-12-31`) or ISO 8601 datetime
|
|
89
|
+
* (e.g. `2024-12-31T23:59:59Z`).
|
|
90
|
+
*/
|
|
16
91
|
titleDateEnd?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Date display format used in the title row.
|
|
94
|
+
* <br /><br />
|
|
95
|
+
* values:<br />
|
|
96
|
+
* ```year // quarter // month // week // day // time // auto // none```
|
|
97
|
+
* <br /><br />
|
|
98
|
+
* `year`: YYYY, `quarter`: Q[Q] YYYY, `month`: MMM YYYY,
|
|
99
|
+
* `week`: [KW]WW YYYY, `day`: DD.MM.YYYY, `time`: DD.MM.YYYY HH:mm:ss,
|
|
100
|
+
* `auto`: automatic detection, `none`: DD.MM.YYYY.
|
|
101
|
+
*/
|
|
17
102
|
titleDateFormat: string;
|
|
103
|
+
/**
|
|
104
|
+
* Format in which the start and end dates are linked in the title.
|
|
105
|
+
* If set to `none` a plain date is shown.
|
|
106
|
+
* <br /><br />
|
|
107
|
+
* values:<br />
|
|
108
|
+
* ```avg // interval // cum // start // end // ytd // ytg // mat // none```
|
|
109
|
+
* <br /><br />
|
|
110
|
+
* `avg`: Ø[DATE], `interval`: [DATE]..[DATE2], `start`: .[DATE],
|
|
111
|
+
* `end`: [DATE]., `ytd`: _[DATE], `ytg`: [DATE]_, `cum`: [DATE]_[DATE2],
|
|
112
|
+
* `mat`: ~[DATE], `none`: [DATE].
|
|
113
|
+
*/
|
|
18
114
|
titleDateLink: string;
|
|
115
|
+
/**
|
|
116
|
+
* Namespace used for title translations via the internationalization store.
|
|
117
|
+
*/
|
|
19
118
|
titleNamespace: string;
|
|
119
|
+
/**
|
|
120
|
+
* Text displayed in the card footer. If empty, the footer text is omitted.
|
|
121
|
+
*/
|
|
20
122
|
footerText?: string;
|
|
123
|
+
/**
|
|
124
|
+
* Layout mode that controls how child components are arranged inside
|
|
125
|
+
* the card body using CSS Grid.
|
|
126
|
+
* <br /><br />
|
|
127
|
+
* values:<br />
|
|
128
|
+
* ```full // split-vertical // split-horizontal // 2x2 // 3x3 // 4x4 // 1-over-2 // 1-over-3 // 2-over-1 // 3-over-1 // custom-template```
|
|
129
|
+
* <br /><br />
|
|
130
|
+
* `full`: single slot. `split-vertical`: two side-by-side slots.
|
|
131
|
+
* `split-horizontal`: two stacked slots. `NxN`: equal grid.
|
|
132
|
+
* `1-over-2`: one full-width slot on top, two below. `custom-template`:
|
|
133
|
+
* uses the `cardCustomTemplate` CSS grid-template-areas string.
|
|
134
|
+
*
|
|
135
|
+
* @example
|
|
136
|
+
* <bn-layout-card card-layout="split-horizontal"></bn-layout-card>
|
|
137
|
+
*/
|
|
21
138
|
cardLayout: "full" | "split-vertical" | "split-horizontal" | "2x2" | "3x3" | "4x4" | "1-over-2" | "1-over-3" | "2-over-1" | "3-over-1" | "custom-template";
|
|
139
|
+
/**
|
|
140
|
+
* CSS `grid-template-areas` string used when `cardLayout` is set to
|
|
141
|
+
* `custom-template`. Each quoted row defines a grid row; letters map to
|
|
142
|
+
* slot indices in order of first appearance.
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* <bn-layout-card card-layout="custom-template"
|
|
146
|
+
* card-custom-template='"a a" "b c"'></bn-layout-card>
|
|
147
|
+
*/
|
|
22
148
|
cardCustomTemplate: string;
|
|
149
|
+
/**
|
|
150
|
+
* Gap between grid cells in pixels.
|
|
151
|
+
*/
|
|
23
152
|
cardGridGap: string;
|
|
153
|
+
/**
|
|
154
|
+
* When `true`, the card body height shrinks to fit its content
|
|
155
|
+
* (`fit-content`). When `false` (default), the card stretches to
|
|
156
|
+
* fill its parent (`100%`). Width is always `100%` regardless
|
|
157
|
+
* of this setting.
|
|
158
|
+
* <br /><br />
|
|
159
|
+
* Use `false` (default) when the card contains components with
|
|
160
|
+
* auto-scaling (e.g. `unit-scaling="auto"` or `scale="auto"`),
|
|
161
|
+
* because auto-scaling needs a fixed parent height to calculate
|
|
162
|
+
* dimensions.
|
|
163
|
+
*/
|
|
24
164
|
cardFitToContent: boolean;
|
|
165
|
+
/**
|
|
166
|
+
* Whether to display a visible border around the card.
|
|
167
|
+
*/
|
|
25
168
|
cardShowBorder: boolean;
|
|
26
169
|
private templateMap;
|
|
27
170
|
private getCommonStyles;
|
|
171
|
+
private calculateFractions;
|
|
172
|
+
private getGridTemplateColumns;
|
|
173
|
+
private getGridTemplateRows;
|
|
28
174
|
private getLayoutStyle;
|
|
29
175
|
private createDivAreaStyles;
|
|
30
176
|
private getSlots;
|
|
@@ -33,6 +179,13 @@ export declare class LayoutCard {
|
|
|
33
179
|
getNumberOfSlot(name: string): Promise<number>;
|
|
34
180
|
componentDidUpdate(): void;
|
|
35
181
|
setCardClass(): string;
|
|
182
|
+
/**
|
|
183
|
+
* When the card itself inherits a title prop from a page, write the
|
|
184
|
+
* resolved value back to the host element's attribute so that child
|
|
185
|
+
* vis components (bn-table, bn-chart-*) performing their own DOM walk
|
|
186
|
+
* read the actual value instead of the literal "inherited-page" keyword.
|
|
187
|
+
*/
|
|
188
|
+
private reflectInheritedAttrs;
|
|
36
189
|
prepareTitleImage(value: string): string;
|
|
37
190
|
render(): any;
|
|
38
191
|
}
|
|
@@ -2,37 +2,196 @@ export declare class LayoutPage {
|
|
|
2
2
|
private element;
|
|
3
3
|
private readonly errors;
|
|
4
4
|
constructor();
|
|
5
|
+
/**
|
|
6
|
+
* JSON string of component-style overrides passed through to the inner
|
|
7
|
+
* `<bn-page>` element. Typically set via a `ComponentStyle` manifest
|
|
8
|
+
* rather than directly on the component.
|
|
9
|
+
*/
|
|
5
10
|
styles?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Message text displayed in the message row above the title.
|
|
13
|
+
* If empty, the message row is omitted.
|
|
14
|
+
*/
|
|
6
15
|
messageText: string;
|
|
16
|
+
/**
|
|
17
|
+
* URL or asset name of the image displayed in the message row.
|
|
18
|
+
* If the value is not an HTTP URL it is looked up in the asset store.
|
|
19
|
+
* If empty, the image is omitted.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* <bn-layout-page message-image="debug/concordia.png"></bn-layout-page>
|
|
23
|
+
*/
|
|
7
24
|
messageImage: string;
|
|
25
|
+
/**
|
|
26
|
+
* Name of the business unit displayed in the title header row.
|
|
27
|
+
* If empty, the business unit row is omitted.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* <bn-layout-page title-business-unit="Group Controlling"></bn-layout-page>
|
|
31
|
+
*/
|
|
8
32
|
titleBusinessUnit: string;
|
|
33
|
+
/**
|
|
34
|
+
* List of scenarios displayed in the title header.
|
|
35
|
+
* <br /><br />
|
|
36
|
+
* Comma-separated string or omitted. If empty, the scenarios row is omitted.
|
|
37
|
+
* <br /><br />
|
|
38
|
+
* values:<br />
|
|
39
|
+
* ```ac // fc // py // pl```
|
|
40
|
+
*/
|
|
9
41
|
titleScenarios?: string;
|
|
42
|
+
/**
|
|
43
|
+
* List of variances calculated from the given scenarios.
|
|
44
|
+
* The scenarios used in the variances must also be defined in
|
|
45
|
+
* the `titleScenarios` property. The variance is defined as
|
|
46
|
+
* (ScenarioA − ScenarioB). The pos/neg/neu postfix defines
|
|
47
|
+
* which direction is considered "good".
|
|
48
|
+
* <br /><br />
|
|
49
|
+
* If empty, variance indicators are hidden.
|
|
50
|
+
* <br /><br />
|
|
51
|
+
* pattern:<br />
|
|
52
|
+
* ```d<scenarioB>_<scenarioA>_[pos/neg/neu]```
|
|
53
|
+
*/
|
|
10
54
|
titleVariances?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Primary column on which the order direction is applied.
|
|
57
|
+
* <br /><br />
|
|
58
|
+
* values:<br />
|
|
59
|
+
* ```category // categoryindex // rowgroup // rowgroupindex // ac // fc // py // pl```
|
|
60
|
+
*/
|
|
11
61
|
titleOrder: string;
|
|
62
|
+
/**
|
|
63
|
+
* Sorting order direction for the column specified by `titleOrder`.
|
|
64
|
+
* <br /><br />
|
|
65
|
+
* values:<br />
|
|
66
|
+
* ```asc // desc```
|
|
67
|
+
*/
|
|
12
68
|
titleOrderDirection: string;
|
|
69
|
+
/**
|
|
70
|
+
* Array of measure objects with `name` and `unit` displayed in the title.
|
|
71
|
+
* Passed as a JSON string. If all units are the same, redundant units are
|
|
72
|
+
* reduced and names concatenated. If empty, the measure row is omitted.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* <bn-layout-page title-measures='[{"name":"Revenue","unit":"mEUR"}]'></bn-layout-page>
|
|
76
|
+
*/
|
|
13
77
|
titleMeasures?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Start date displayed in the title date row.
|
|
80
|
+
* Accepts `yyyy-MM-dd` (e.g. `2024-01-01`) or ISO 8601 datetime
|
|
81
|
+
* (e.g. `2024-01-01T14:30:00Z`).
|
|
82
|
+
*/
|
|
14
83
|
titleDateStart?: string;
|
|
84
|
+
/**
|
|
85
|
+
* End date displayed in the title date row.
|
|
86
|
+
* Accepts `yyyy-MM-dd` (e.g. `2024-12-31`) or ISO 8601 datetime
|
|
87
|
+
* (e.g. `2024-12-31T23:59:59Z`).
|
|
88
|
+
*/
|
|
15
89
|
titleDateEnd?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Date display format used in the title row.
|
|
92
|
+
* <br /><br />
|
|
93
|
+
* values:<br />
|
|
94
|
+
* ```year // quarter // month // week // day // time // auto // none```
|
|
95
|
+
* <br /><br />
|
|
96
|
+
* `year`: YYYY, `quarter`: Q[Q] YYYY, `month`: MMM YYYY,
|
|
97
|
+
* `week`: [KW]WW YYYY, `day`: DD.MM.YYYY, `time`: DD.MM.YYYY HH:mm:ss,
|
|
98
|
+
* `auto`: automatic detection, `none`: DD.MM.YYYY.
|
|
99
|
+
*/
|
|
16
100
|
titleDateFormat: string;
|
|
101
|
+
/**
|
|
102
|
+
* Format in which the start and end dates are linked in the title.
|
|
103
|
+
* If set to `none` a plain date is shown.
|
|
104
|
+
* <br /><br />
|
|
105
|
+
* values:<br />
|
|
106
|
+
* ```avg // interval // cum // start // end // ytd // ytg // mat // none```
|
|
107
|
+
* <br /><br />
|
|
108
|
+
* `avg`: Ø[DATE], `interval`: [DATE]..[DATE2], `start`: .[DATE],
|
|
109
|
+
* `end`: [DATE]., `ytd`: _[DATE], `ytg`: [DATE]_, `cum`: [DATE]_[DATE2],
|
|
110
|
+
* `mat`: ~[DATE], `none`: [DATE].
|
|
111
|
+
*/
|
|
17
112
|
titleDateLink: string;
|
|
113
|
+
/**
|
|
114
|
+
* Namespace used for title translations via the internationalization store.
|
|
115
|
+
*/
|
|
18
116
|
titleNamespace: string;
|
|
117
|
+
/**
|
|
118
|
+
* Page size format. Determines the pixel dimensions of the rendered page.
|
|
119
|
+
* <br /><br />
|
|
120
|
+
* values:<br />
|
|
121
|
+
* ```xga // hd // full-hd // 4k // 4k2k // a4 // a3 // a2 // a1 // a0 // letter // legal```
|
|
122
|
+
*/
|
|
19
123
|
pageFormat?: string;
|
|
124
|
+
/**
|
|
125
|
+
* Page orientation. Default depends on the chosen format.
|
|
126
|
+
* <br /><br />
|
|
127
|
+
* values:<br />
|
|
128
|
+
* ```landscape // portrait```
|
|
129
|
+
*/
|
|
20
130
|
pageOrientation?: string;
|
|
131
|
+
/**
|
|
132
|
+
* Page number displayed in the footer. If empty, no page number is shown
|
|
133
|
+
* (unless `footerDisplayPageNumber` is also set).
|
|
134
|
+
*/
|
|
21
135
|
pageNumber?: string;
|
|
136
|
+
/**
|
|
137
|
+
* Text displayed in the page footer. If empty, the footer text is omitted.
|
|
138
|
+
*/
|
|
22
139
|
footerText?: string;
|
|
140
|
+
/**
|
|
141
|
+
* Whether to display the page number in the footer.
|
|
142
|
+
*/
|
|
23
143
|
footerDisplayPageNumber?: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* Layout mode that controls how child components are arranged in the
|
|
146
|
+
* page body using CSS Grid.
|
|
147
|
+
* <br /><br />
|
|
148
|
+
* values:<br />
|
|
149
|
+
* ```full // split-vertical // split-horizontal // 2x2 // 3x3 // 4x4 // 1-over-2 // 1-over-3 // 2-over-1 // 3-over-1 // custom-template```
|
|
150
|
+
* <br /><br />
|
|
151
|
+
* `full`: single slot. `split-vertical`: two side-by-side slots.
|
|
152
|
+
* `split-horizontal`: two stacked slots. `NxN`: equal grid.
|
|
153
|
+
* `1-over-2`: one full-width slot on top, two below. `custom-template`:
|
|
154
|
+
* uses the `pageCustomTemplate` CSS grid-template-areas string.
|
|
155
|
+
*
|
|
156
|
+
* @example
|
|
157
|
+
* <bn-layout-page page-layout="2x2"></bn-layout-page>
|
|
158
|
+
*/
|
|
24
159
|
pageLayout: "full" | "split-vertical" | "split-horizontal" | "2x2" | "3x3" | "4x4" | "1-over-2" | "1-over-3" | "2-over-1" | "3-over-1" | "custom-template";
|
|
160
|
+
/**
|
|
161
|
+
* CSS `grid-template-areas` string used when `pageLayout` is set to
|
|
162
|
+
* `custom-template`. Each quoted row defines a grid row; letters map to
|
|
163
|
+
* slot indices in order of first appearance.
|
|
164
|
+
*
|
|
165
|
+
* @example
|
|
166
|
+
* <bn-layout-page page-layout="custom-template"
|
|
167
|
+
* page-custom-template='"a a" "b c"'></bn-layout-page>
|
|
168
|
+
*/
|
|
25
169
|
pageCustomTemplate: string;
|
|
170
|
+
/**
|
|
171
|
+
* Gap between grid cells in pixels.
|
|
172
|
+
*/
|
|
26
173
|
pageGridGap: string;
|
|
174
|
+
/**
|
|
175
|
+
* When `true`, the page body height shrinks to fit its content
|
|
176
|
+
* (`fit-content`). When `false` (default), the body stretches to
|
|
177
|
+
* fill the full page height (`100%`). Width is always `100%`
|
|
178
|
+
* regardless of this setting.
|
|
179
|
+
* <br /><br />
|
|
180
|
+
* Use `false` (default) when the page contains components with
|
|
181
|
+
* auto-scaling (e.g. `unit-scaling="auto"` or `scale="auto"`),
|
|
182
|
+
* because auto-scaling needs a fixed parent height to calculate
|
|
183
|
+
* dimensions.
|
|
184
|
+
*/
|
|
27
185
|
pageFitToContent: boolean;
|
|
28
186
|
private templateMap;
|
|
29
187
|
private getCommonStyles;
|
|
188
|
+
private getGridTemplateRows;
|
|
30
189
|
private getLayoutStyle;
|
|
31
190
|
private createDivAreaStyles;
|
|
32
191
|
private getSlots;
|
|
33
192
|
private extractSlotNames;
|
|
34
193
|
private getTemplateAreas;
|
|
35
|
-
private
|
|
194
|
+
private calculateFractions;
|
|
36
195
|
private getGridTemplateColumns;
|
|
37
196
|
getNumberOfSlot(name: string): Promise<number>;
|
|
38
197
|
componentDidUpdate(): void;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines a named scaling value that chart and table components can reference
|
|
3
|
+
* via their `unit-scaling` or `percentage-scaling` attributes.
|
|
4
|
+
*
|
|
5
|
+
* Multiple components sharing the same group name will use the same scaling
|
|
6
|
+
* value, allowing synchronized scaling across an entire page or section.
|
|
7
|
+
*
|
|
8
|
+
* The reserved name `"auto"` is not allowed and will be ignored with a warning.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* <bn-scaling-group name="revenue" value="0.05"></bn-scaling-group>
|
|
12
|
+
* <bn-chart-structure unit-scaling="revenue" ...></bn-chart-structure>
|
|
13
|
+
* <bn-table unit-scaling="revenue" ...></bn-table>
|
|
14
|
+
*/
|
|
15
|
+
export declare class ScalingGroup {
|
|
16
|
+
private element;
|
|
17
|
+
/**
|
|
18
|
+
* Unique name identifying this scaling group.
|
|
19
|
+
* Components reference this name in their `unit-scaling` or `percentage-scaling` attributes.
|
|
20
|
+
*
|
|
21
|
+
* The name `"auto"` is reserved and cannot be used.
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* The scaling value (pixels per data unit or pixels per percentage point,
|
|
26
|
+
* depending on which attribute references this group).
|
|
27
|
+
*/
|
|
28
|
+
value: number;
|
|
29
|
+
private readonly errors;
|
|
30
|
+
private stores;
|
|
31
|
+
constructor();
|
|
32
|
+
connectedCallback(): void;
|
|
33
|
+
onNameChange(newName: string, oldName: string): void;
|
|
34
|
+
onValueChange(): void;
|
|
35
|
+
private pushToStore;
|
|
36
|
+
render(): any;
|
|
37
|
+
}
|
|
@@ -13,6 +13,10 @@ export declare class Table {
|
|
|
13
13
|
private readonly t;
|
|
14
14
|
private readonly errors;
|
|
15
15
|
private readonly componentStyle;
|
|
16
|
+
private readonly resolveInherited;
|
|
17
|
+
private layoutObserver;
|
|
18
|
+
/** Last parent width seen, used to suppress ResizeObserver noise. */
|
|
19
|
+
private _lastScaledParentWidth;
|
|
16
20
|
data: TableDataRow[];
|
|
17
21
|
private datasetMeta;
|
|
18
22
|
private appliedScaleFactor;
|
|
@@ -38,11 +42,13 @@ export declare class Table {
|
|
|
38
42
|
* | `"0.5"`, `"1.2"`, … | Fixed factor — apply `baseFontSize × factor` |
|
|
39
43
|
*
|
|
40
44
|
* **Auto-scale algorithm** (modes `""` and `"auto"`):
|
|
41
|
-
* 1. After each render, the
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
45
|
+
* 1. After each render, the current `scrollWidth` of the host element is
|
|
46
|
+
* divided by the current `appliedScaleFactor` to derive the unscaled
|
|
47
|
+
* content width. This avoids resetting `--bn-font-size` to base (which
|
|
48
|
+
* would only affect em-based widths but not SVG pixel attributes).
|
|
49
|
+
* 2. This unscaled width is compared against the parent's content-box
|
|
50
|
+
* width (via `getParentDimensions`).
|
|
51
|
+
* 3. If the table overflows, `factor = parentWidth / unscaledWidth`
|
|
46
52
|
* is computed and applied to both the CSS variable and the
|
|
47
53
|
* `appliedScaleFactor` state (which re-renders the SVG charts).
|
|
48
54
|
* 4. A guard flag (`_autoScaleGuard`) prevents the subsequent
|
|
@@ -124,30 +130,38 @@ export declare class Table {
|
|
|
124
130
|
readonly barColumns: string;
|
|
125
131
|
validateBarColumns(newValue: string): void;
|
|
126
132
|
/**
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
|
|
132
|
-
|
|
133
|
+
* Set width of bar chart columns. Controls the max bar/pin width in pixels.
|
|
134
|
+
* <br /><br />
|
|
135
|
+
* values:<br />
|
|
136
|
+
* ``` w5 // w10 // w15 // w20 // w25 // w30 // w40 // w60 // w80 // w100 ```
|
|
137
|
+
*/
|
|
138
|
+
barColumnWidth: string;
|
|
139
|
+
validateBarColumnWidth(newValue: string): void;
|
|
140
|
+
/**
|
|
141
|
+
* Pixels per unit for absolute variance bar charts (ΔPY).
|
|
142
|
+
* Controls bar width: barWidth = value × unitScaling.
|
|
143
|
+
* Bars exceeding barColumnWidth are shown with an arrow indicator.
|
|
133
144
|
* <br /><br />
|
|
134
|
-
*
|
|
145
|
+
* Accepts a number, `"auto"`, or a `<bn-scaling-group>` name for synchronized scaling.
|
|
135
146
|
* <br /><br />
|
|
136
147
|
* Default: 0.01
|
|
148
|
+
*
|
|
149
|
+
* @example unit-scaling="0.01"
|
|
150
|
+
* @example unit-scaling="revenue-scale"
|
|
137
151
|
*/
|
|
138
152
|
unitScaling: string | number;
|
|
139
153
|
validateUnitScaling(newValue: string | number): void;
|
|
140
154
|
/**
|
|
141
155
|
* Scaling for relative variance pin charts (ΔPY%).
|
|
142
156
|
* <br /><br />
|
|
143
|
-
*
|
|
144
|
-
* Scaling groups are maintained globally.
|
|
145
|
-
* <br /><br />
|
|
146
|
-
* Alternatively a number which represents pixels per percentage point.
|
|
157
|
+
* Accepts a number, `"auto"`, or a `<bn-scaling-group>` name for synchronized scaling.
|
|
147
158
|
* <br /><br />
|
|
148
159
|
* Example: 0.5 means 100% = 50 pixels width.
|
|
149
160
|
* <br /><br />
|
|
150
161
|
* Default: 0.5
|
|
162
|
+
*
|
|
163
|
+
* @example percentage-scaling="0.5"
|
|
164
|
+
* @example percentage-scaling="pct-scale"
|
|
151
165
|
*/
|
|
152
166
|
percentageScaling: string | number;
|
|
153
167
|
validatePercentageScaling(newValue: string | number): void;
|
|
@@ -340,6 +354,7 @@ export declare class Table {
|
|
|
340
354
|
validateColumnThereOf(newValue: string | null): void;
|
|
341
355
|
unsubscribe: () => void;
|
|
342
356
|
componentWillLoad(): void;
|
|
357
|
+
componentDidLoad(): void;
|
|
343
358
|
disconnectedCallback(): void;
|
|
344
359
|
private _autoScaleGuard;
|
|
345
360
|
componentDidRender(): void;
|
|
@@ -363,6 +378,7 @@ export declare class Table {
|
|
|
363
378
|
prepareShowMeasureScale(): boolean;
|
|
364
379
|
prepareMeasureUnit(): string;
|
|
365
380
|
private prepareFilter;
|
|
381
|
+
private prepareBarColumnWidth;
|
|
366
382
|
private prepareBarColumns;
|
|
367
383
|
private prepareUnitScaling;
|
|
368
384
|
private preparePercentageScaling;
|
|
@@ -38,6 +38,7 @@ export declare class IbcsTable {
|
|
|
38
38
|
measureType: MeasureType;
|
|
39
39
|
filter: string;
|
|
40
40
|
barColumns: string[];
|
|
41
|
+
barColumnMaxWidth: number;
|
|
41
42
|
unitScaling: number;
|
|
42
43
|
percentageScaling: number;
|
|
43
44
|
scaleFactor: number;
|
|
@@ -56,4 +57,23 @@ export declare class IbcsTable {
|
|
|
56
57
|
* Scenario styles (ac, pp, fc, pl) use barStyles for IBCS-compliant grayscale coloring.
|
|
57
58
|
*/
|
|
58
59
|
private prepareBarChartStyles;
|
|
60
|
+
/**
|
|
61
|
+
* Auto-calculate unitScaling so the largest absolute variance bar
|
|
62
|
+
* fills ~80% of the bar column width.
|
|
63
|
+
*/
|
|
64
|
+
private autoUnitScaling;
|
|
65
|
+
/**
|
|
66
|
+
* Auto-calculate percentageScaling so the largest relative variance pin
|
|
67
|
+
* fills ~80% of the pin area.
|
|
68
|
+
*/
|
|
69
|
+
private autoPercentageScaling;
|
|
70
|
+
/**
|
|
71
|
+
* Find the maximum absolute value across all absolute variance columns (d_*) in the table body.
|
|
72
|
+
*/
|
|
73
|
+
private getMaxAbsValue;
|
|
74
|
+
/**
|
|
75
|
+
* Find the maximum percentage value across all relative variance columns (dr_*) in the table body.
|
|
76
|
+
* Values are stored as decimals (e.g. 0.2 = 20%), returned as percentage (20).
|
|
77
|
+
*/
|
|
78
|
+
private getMaxRelativeValue;
|
|
59
79
|
}
|
|
@@ -115,7 +115,6 @@ export declare class Title {
|
|
|
115
115
|
readonly dateLink: string;
|
|
116
116
|
validateDateLink(newValue: string): void;
|
|
117
117
|
componentWillLoad(): void;
|
|
118
|
-
scopedEval: (scope: any, script: any) => any;
|
|
119
118
|
private prepareI18n;
|
|
120
119
|
private prepareI18nMode;
|
|
121
120
|
private prepareTitleOrder;
|