@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
|
@@ -20,7 +20,7 @@ export interface StoreInstance<T extends object> {
|
|
|
20
20
|
get: (key: keyof T) => T[keyof T];
|
|
21
21
|
set: (key: keyof T, value: T[keyof T]) => void;
|
|
22
22
|
}
|
|
23
|
-
/** Typed bag of all
|
|
23
|
+
/** Typed bag of all 8 store instances owned by a single `<bn-context>`. */
|
|
24
24
|
export interface ScopedStores {
|
|
25
25
|
datasources: StoreInstance<Record<string, unknown>>;
|
|
26
26
|
datasets: StoreInstance<Record<string, unknown>>;
|
|
@@ -29,6 +29,7 @@ export interface ScopedStores {
|
|
|
29
29
|
internationalization: StoreInstance<Record<string, unknown>>;
|
|
30
30
|
assets: StoreInstance<Record<string, string>>;
|
|
31
31
|
context: StoreInstance<ContextStore>;
|
|
32
|
+
scalingGroups: StoreInstance<Record<string, number>>;
|
|
32
33
|
}
|
|
33
34
|
/**
|
|
34
35
|
* Returns the stores for a `<bn-context>` element, creating them if needed.
|
|
@@ -59,6 +59,7 @@ export interface TimeChartStyle {
|
|
|
59
59
|
axisStyles: SVGStyleGroup;
|
|
60
60
|
barStyles: SVGStyleGroup;
|
|
61
61
|
varianceStyles: SVGVariancesStyleGroup;
|
|
62
|
+
stackColors: string[];
|
|
62
63
|
padding: {
|
|
63
64
|
top: number;
|
|
64
65
|
left: number;
|
|
@@ -72,6 +73,7 @@ export interface StructureChartStyle {
|
|
|
72
73
|
axisStyles: SVGStyleGroup;
|
|
73
74
|
barStyles: SVGStyleGroup;
|
|
74
75
|
varianceStyles: SVGVariancesStyleGroup;
|
|
76
|
+
stackColors: string[];
|
|
75
77
|
padding: {
|
|
76
78
|
top: number;
|
|
77
79
|
left: number;
|
|
@@ -9,4 +9,5 @@ export declare function createScopedStores(): {
|
|
|
9
9
|
internationalization: import("@stencil/store").ObservableMap<Record<string, unknown>>;
|
|
10
10
|
assets: import("@stencil/store").ObservableMap<Record<string, string>>;
|
|
11
11
|
context: import("@stencil/store").ObservableMap<ContextStore>;
|
|
12
|
+
scalingGroups: import("@stencil/store").ObservableMap<Record<string, number>>;
|
|
12
13
|
};
|
|
@@ -75,6 +75,21 @@ export declare enum TableCategoryWidth {
|
|
|
75
75
|
W10 = "w10",
|
|
76
76
|
W5 = "w5"
|
|
77
77
|
}
|
|
78
|
+
/** Width preset for inline bar/pin chart columns. Value = max bar width in em. */
|
|
79
|
+
export declare enum TableBarColumnWidth {
|
|
80
|
+
W5 = "w5",
|
|
81
|
+
W10 = "w10",
|
|
82
|
+
W15 = "w15",
|
|
83
|
+
W20 = "w20",
|
|
84
|
+
W25 = "w25",
|
|
85
|
+
W30 = "w30",
|
|
86
|
+
W40 = "w40",
|
|
87
|
+
W60 = "w60",
|
|
88
|
+
W80 = "w80",
|
|
89
|
+
W100 = "w100"
|
|
90
|
+
}
|
|
91
|
+
/** Maps TableBarColumnWidth presets to max bar width in em. */
|
|
92
|
+
export declare const BAR_COLUMN_WIDTH_EM: Record<TableBarColumnWidth, number>;
|
|
78
93
|
/**
|
|
79
94
|
* Three-level row hierarchy for grouping and drill-down: rowGroup > category > subCategory.
|
|
80
95
|
* Index variants (e.g. ROWGROUPINDEX) provide stable numeric sort keys that preserve
|
|
@@ -116,12 +131,15 @@ export declare enum ChartMode {
|
|
|
116
131
|
LINE = "line",
|
|
117
132
|
AUTO = "auto"
|
|
118
133
|
}
|
|
119
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* Stacking dimension for multi-segment bar charts.
|
|
136
|
+
* - SCENARIOS: stack the scenarios from the `scenarios` prop end-to-end
|
|
137
|
+
* - DIMENSIONS: stack by the next-lower hierarchy level derived from the `level` prop
|
|
138
|
+
* (rowGroup → category, category → subCategory)
|
|
139
|
+
*/
|
|
120
140
|
export declare enum StackBy {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
SUBCATEGORY = "subcategory",
|
|
124
|
-
ROWGROUP = "rowgroup"
|
|
141
|
+
SCENARIOS = "scenarios",
|
|
142
|
+
DIMENSIONS = "dimensions"
|
|
125
143
|
}
|
|
126
144
|
/**
|
|
127
145
|
* How stacked values are presented.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Compute a short deterministic hash of a string.
|
|
3
|
+
*/
|
|
4
|
+
export declare function computeContentHash(text: string): string;
|
|
5
|
+
/**
|
|
6
|
+
* Decode a compressed payload in the format `<hash>:<base64_gzip>`.
|
|
7
|
+
* Returns the embedded hash and the decompressed JSON string.
|
|
8
|
+
*/
|
|
9
|
+
export declare function decodeCompressedContent(text: string): {
|
|
10
|
+
hash: string;
|
|
11
|
+
json: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared ResizeObserver utility for visualization components.
|
|
3
|
+
*
|
|
4
|
+
* Wraps ResizeObserver with debouncing and a size-stability check so
|
|
5
|
+
* auto-scaling logic reacts to genuine container size changes (window
|
|
6
|
+
* resizes, card relayouts, async sibling loads) without creating
|
|
7
|
+
* feedback loops when the component's own scaling changes its content
|
|
8
|
+
* dimensions.
|
|
9
|
+
*/
|
|
10
|
+
export interface LayoutObserverHandle {
|
|
11
|
+
/** Stop observing and clean up. Call in disconnectedCallback. */
|
|
12
|
+
disconnect(): void;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Observes the parent container of `element` for size changes.
|
|
16
|
+
*
|
|
17
|
+
* The callback only fires when the observed target's dimensions change
|
|
18
|
+
* by more than {@link SIZE_THRESHOLD_PX} pixels compared to the last
|
|
19
|
+
* time the callback was invoked. This prevents feedback loops where
|
|
20
|
+
* auto-scaling → font-size change → content reflow → ResizeObserver
|
|
21
|
+
* fires again → auto-scaling …
|
|
22
|
+
*
|
|
23
|
+
* @param element The component's host element
|
|
24
|
+
* @param callback Called when the observed parent genuinely resizes
|
|
25
|
+
* @param debounceMs Debounce interval (default 80ms)
|
|
26
|
+
*/
|
|
27
|
+
export declare function observeParentResize(element: HTMLElement, callback: () => void, debounceMs?: number): LayoutObserverHandle;
|
|
@@ -5,9 +5,14 @@ export interface ParentDimensions {
|
|
|
5
5
|
/**
|
|
6
6
|
* Returns the available dimensions for a component.
|
|
7
7
|
*
|
|
8
|
-
* Width: parent content-box width (excluding padding).
|
|
8
|
+
* Width: visual parent's content-box width (excluding padding).
|
|
9
9
|
* Height: walks up the DOM to find the nearest ancestor with a constrained
|
|
10
10
|
* height (overflow !== 'visible' or explicit max-height). Falls back to
|
|
11
11
|
* the viewport height when every ancestor auto-grows with its content.
|
|
12
|
+
*
|
|
13
|
+
* When the component is slotted into a shadow DOM (e.g. inside
|
|
14
|
+
* bn-layout-page or bn-layout-card), the light DOM parentElement is NOT the
|
|
15
|
+
* visual container. We cross the light→shadow boundary via assignedSlot to
|
|
16
|
+
* find the actual slot wrapper that determines layout.
|
|
12
17
|
*/
|
|
13
|
-
export declare function getParentDimensions(element: HTMLElement): ParentDimensions;
|
|
18
|
+
export declare function getParentDimensions(element: HTMLElement, debug?: boolean): ParentDimensions;
|
|
@@ -46,6 +46,7 @@ export declare function isValidMeasureScale(value: string): boolean;
|
|
|
46
46
|
export declare function validateI18nString(value: string): string[];
|
|
47
47
|
export declare function validateStylesString(value: string): string[];
|
|
48
48
|
export declare function isTableCategoryWidth(value: string): boolean;
|
|
49
|
+
export declare function isTableBarColumnWidth(value: string): boolean;
|
|
49
50
|
export declare function validateColumnThereOfJsonStr(value: string): string[];
|
|
50
51
|
export declare function validateStackConfig(value: string): string[];
|
|
51
52
|
export declare function isValidFontSize(_value: string): boolean;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reserved prop values that activate inheritance from ancestor layout
|
|
3
|
+
* components (`bn-layout-card` or `bn-layout-page`).
|
|
4
|
+
*/
|
|
5
|
+
export declare const INHERITED_CLOSEST = "inherited-closest";
|
|
6
|
+
export declare const INHERITED_PAGE = "inherited-page";
|
|
7
|
+
/** Maps a descendant prop name to the HTML attribute on the ancestor. */
|
|
8
|
+
export interface PropMapping {
|
|
9
|
+
propName: string;
|
|
10
|
+
ancestorAttr: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Resolver function returned by the mixin.
|
|
14
|
+
* Returns the resolved ancestor value, or `undefined` when the prop is not
|
|
15
|
+
* an inheritance keyword (meaning the caller should use its normal logic).
|
|
16
|
+
*/
|
|
17
|
+
export type InheritedResolver = (propName: string, currentValue: string) => string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Returns `true` when `value` is one of the recognised inheritance keywords.
|
|
20
|
+
*/
|
|
21
|
+
export declare function isInheritedValue(value: string): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Mixin that enables property inheritance from ancestor layout components.
|
|
24
|
+
*
|
|
25
|
+
* When a component sets a prop to `"inherited-closest"` or `"inherited-page"`,
|
|
26
|
+
* this mixin resolves the actual value by walking up the DOM to find the
|
|
27
|
+
* nearest `bn-layout-card` / `bn-layout-page` and reading the corresponding
|
|
28
|
+
* HTML attribute. A `MutationObserver` watches the ancestor for attribute
|
|
29
|
+
* changes, triggering a re-render when inherited values update.
|
|
30
|
+
*
|
|
31
|
+
* Follows the same decorator-style pattern as `withComponentStyle`.
|
|
32
|
+
*
|
|
33
|
+
* @param component The Stencil component instance
|
|
34
|
+
* @param mappings Array of prop-to-attribute mappings
|
|
35
|
+
* @returns A resolver function used inside `prepare*()` methods
|
|
36
|
+
*/
|
|
37
|
+
declare const withInheritedProps: (component: any, mappings: PropMapping[]) => InheritedResolver;
|
|
38
|
+
export default withInheritedProps;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mixin that syncs the scoped `scalingGroups` store into a component's
|
|
3
|
+
* `pixelPerUnitGroupMap` and triggers re-renders on changes.
|
|
4
|
+
*
|
|
5
|
+
* When a scaling group value is added or updated in the store (by a
|
|
6
|
+
* `<bn-scaling-group>` element), this mixin updates the local map,
|
|
7
|
+
* re-runs the component's scaling validators to clear/set error states,
|
|
8
|
+
* and forces a re-render so `preparePixelPerUnit` / `preparePixelPerPercentage`
|
|
9
|
+
* pick up the new value.
|
|
10
|
+
*
|
|
11
|
+
* @param component - Stencil component instance that has a `pixelPerUnitGroupMap` field
|
|
12
|
+
*/
|
|
13
|
+
declare const withScalingGroup: (component: any) => void;
|
|
14
|
+
export default withScalingGroup;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bino-bi/bn-template-engine",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.11",
|
|
4
4
|
"description": "IBCS-compliant web components for business intelligence tables and charts",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"dist/",
|
|
15
15
|
"loader/"
|
|
16
16
|
],
|
|
17
|
+
"homepage": "https://github.com/bino-bi/bn-template-engine#readme",
|
|
17
18
|
"repository": {
|
|
18
19
|
"type": "git",
|
|
19
20
|
"url": "git@github.com:bino-bi/bn-template-engine.git"
|
|
@@ -53,15 +54,14 @@
|
|
|
53
54
|
"typescript": "^5.9.3",
|
|
54
55
|
"typescript-eslint": "^8.56.1"
|
|
55
56
|
},
|
|
56
|
-
"license": "
|
|
57
|
+
"license": "Apache-2.0",
|
|
57
58
|
"dependencies": {
|
|
58
59
|
"@corex/deepmerge": "^4.0.43",
|
|
59
60
|
"@emotion/hash": "^0.9.2",
|
|
60
61
|
"@svgdotjs/svg.js": "^3.2.5",
|
|
61
62
|
"alasql": "^4.17.0",
|
|
62
63
|
"calculate-size": "^1.1.1",
|
|
63
|
-
"
|
|
64
|
-
"leaflet-gpx": "^2.2.0",
|
|
64
|
+
"fflate": "^0.8.2",
|
|
65
65
|
"luxon": "^3.7.2",
|
|
66
66
|
"nanoid": "^5.1.6"
|
|
67
67
|
}
|
package/readme.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
IBCS-compliant web components for business intelligence visualizations.
|
|
4
4
|
|
|
5
|
-
[](LICENSE)
|
|
6
6
|
[](https://www.npmjs.com/package/@bino-bi/bn-template-engine)
|
|
7
7
|
|
|
8
8
|
**bn-template-engine** is a [Stencil.js](https://stenciljs.com/) web component library that renders tables and charts following [IBCS (International Business Communication Standards)](https://www.ibcs.com/). It supports multi-scenario comparisons (actual, forecast, plan, previous period), variance calculations, hierarchical data grouping, and more — all as standard Web Components that work in any HTML page or framework.
|
|
@@ -134,7 +134,6 @@ All components must be wrapped in a **`<bn-context>`** element, which provides s
|
|
|
134
134
|
|
|
135
135
|
| Component | Description |
|
|
136
136
|
|-----------|-------------|
|
|
137
|
-
| [`<bn-map>`](src/components/bn-map/readme.md) | Interactive Leaflet map with markers and GPX tracks |
|
|
138
137
|
| [`<bn-tree>`](src/components/bn-tree/readme.md) | Hierarchical tree diagram with SVG edges |
|
|
139
138
|
|
|
140
139
|
### Configuration
|
|
@@ -161,4 +160,4 @@ bn-template-engine uses standard [Web Components](https://developer.mozilla.org/
|
|
|
161
160
|
|
|
162
161
|
## License
|
|
163
162
|
|
|
164
|
-
[
|
|
163
|
+
[Apache 2.0](LICENSE)
|