@bino-bi/bn-template-engine 1.0.0-alpha.0
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 +21 -0
- package/dist/bn-template-engine/assets/bar.png +0 -0
- package/dist/bn-template-engine/assets/gpx/Chasing_Legends.gpx +195076 -0
- package/dist/bn-template-engine/assets/gpx/Fahrt_am_Nachmittag.gpx +142007 -0
- 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/assets/matrix.png +0 -0
- package/dist/bn-template-engine/bn-template-engine.esm.js +1 -0
- package/dist/bn-template-engine/index.esm.js +0 -0
- package/dist/bn-template-engine/p--TeDldm8.js +1 -0
- package/dist/bn-template-engine/p-0e7dc113.entry.js +1 -0
- package/dist/bn-template-engine/p-1jFf17Vj.js +1 -0
- package/dist/bn-template-engine/p-264c6bad.entry.js +1 -0
- package/dist/bn-template-engine/p-326a0902.entry.js +1 -0
- package/dist/bn-template-engine/p-38a8bde3.entry.js +1 -0
- package/dist/bn-template-engine/p-577eafcd.entry.js +1 -0
- package/dist/bn-template-engine/p-5905cc43.entry.js +1 -0
- package/dist/bn-template-engine/p-5d155a72.entry.js +1 -0
- package/dist/bn-template-engine/p-65f8962a.entry.js +1 -0
- package/dist/bn-template-engine/p-6b8d1ebf.entry.js +1 -0
- package/dist/bn-template-engine/p-7995acb2.entry.js +1 -0
- package/dist/bn-template-engine/p-7afe431e.entry.js +1 -0
- package/dist/bn-template-engine/p-8014b1ac.entry.js +1 -0
- package/dist/bn-template-engine/p-80423fc8.entry.js +1 -0
- package/dist/bn-template-engine/p-91e74d42.entry.js +1 -0
- package/dist/bn-template-engine/p-930a9e29.entry.js +1 -0
- package/dist/bn-template-engine/p-93C9jL8R.js +1 -0
- package/dist/bn-template-engine/p-93ff8584.entry.js +1 -0
- package/dist/bn-template-engine/p-B0m0U4wJ.js +1 -0
- package/dist/bn-template-engine/p-B27Ax6P_.js +2 -0
- package/dist/bn-template-engine/p-B79VcHiT.js +1 -0
- package/dist/bn-template-engine/p-BBd0ZVLL.js +1 -0
- package/dist/bn-template-engine/p-BFTU3MAI.js +1 -0
- package/dist/bn-template-engine/p-BFatTBqh.js +1 -0
- package/dist/bn-template-engine/p-BQp6ZPYW.js +1 -0
- package/dist/bn-template-engine/p-BYmPQYxx.js +1 -0
- package/dist/bn-template-engine/p-BhEQy-2D.js +1 -0
- package/dist/bn-template-engine/p-BtVfu16B.js +1 -0
- package/dist/bn-template-engine/p-CY1RzLjU.js +1 -0
- package/dist/bn-template-engine/p-CfWnag33.js +1 -0
- package/dist/bn-template-engine/p-CnI71OA9.js +1 -0
- package/dist/bn-template-engine/p-Cp4MVxCu.js +1 -0
- package/dist/bn-template-engine/p-DQuL1Twl.js +1 -0
- package/dist/bn-template-engine/p-DbyXf6dF.js +1 -0
- package/dist/bn-template-engine/p-TdL-LRR9.js +1 -0
- package/dist/bn-template-engine/p-_LBTIfNN.js +1 -0
- package/dist/bn-template-engine/p-a342cd3c.entry.js +1 -0
- package/dist/bn-template-engine/p-ad94cf63.entry.js +1 -0
- package/dist/bn-template-engine/p-bc37d750.entry.js +1 -0
- package/dist/bn-template-engine/p-c9f050bf.entry.js +1 -0
- package/dist/bn-template-engine/p-d07a0ca3.entry.js +1 -0
- package/dist/bn-template-engine/p-e5f372af.entry.js +1 -0
- package/dist/bn-template-engine/p-e620028c.entry.js +1 -0
- package/dist/bn-template-engine/p-e81e116a.entry.js +1 -0
- package/dist/bn-template-engine/p-eca98070.entry.js +1 -0
- package/dist/bn-template-engine/p-ee6de950.entry.js +1 -0
- package/dist/bn-template-engine/p-efe0ef1e.entry.js +1 -0
- package/dist/bn-template-engine/p-f034f1b8.entry.js +1 -0
- package/dist/bn-template-engine/p-f1c1a8a3.entry.js +1 -0
- package/dist/bn-template-engine/p-fe573a1a.entry.js +1 -0
- package/dist/bn-template-engine/p-kMyLevYy.js +1 -0
- package/dist/cjs/DataFormatDigits-DmTbhF8q.js +142 -0
- package/dist/cjs/DateStringFactory-Dn0aRj2Y.js +453 -0
- package/dist/cjs/Order-B4NIqQWe.js +129 -0
- package/dist/cjs/SVGVariancesStyleGroup-Czizhngt.js +7973 -0
- package/dist/cjs/StringAdapter-0EbYMkR0.js +136 -0
- package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +10 -0
- package/dist/cjs/alasql.min-C_nHTuEQ.js +306 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
- package/dist/cjs/bn-asset.cjs.entry.js +42 -0
- package/dist/cjs/bn-body_3.cjs.entry.js +413 -0
- package/dist/cjs/bn-card.cjs.entry.js +37 -0
- package/dist/cjs/bn-chart-structure.cjs.entry.js +705 -0
- package/dist/cjs/bn-chart-time.cjs.entry.js +987 -0
- package/dist/cjs/bn-component-style.cjs.entry.js +44 -0
- package/dist/cjs/bn-context_5.cjs.entry.js +3380 -0
- package/dist/cjs/bn-dataset.cjs.entry.js +278 -0
- package/dist/cjs/bn-grid.cjs.entry.js +407 -0
- package/dist/cjs/bn-image.cjs.entry.js +57 -0
- package/dist/cjs/bn-internationalization.cjs.entry.js +40 -0
- package/dist/cjs/bn-layout-card.cjs.entry.js +128 -0
- package/dist/cjs/bn-layout-page.cjs.entry.js +142 -0
- package/dist/cjs/bn-map.cjs.entry.js +425 -0
- package/dist/cjs/bn-message.cjs.entry.js +52 -0
- package/dist/cjs/bn-template-engine.cjs.js +52 -0
- package/dist/cjs/bn-template.cjs.entry.js +20 -0
- package/dist/cjs/bn-text.cjs.entry.js +286 -0
- package/dist/cjs/bn-tree.cjs.entry.js +969 -0
- package/dist/cjs/componentRegister-C17UFNPh.js +72 -0
- package/dist/cjs/constants-DHqQXSSd.js +158 -0
- package/dist/cjs/context-protocol-BkYHFkXE.js +661 -0
- package/dist/cjs/editor-companion.cjs.entry.js +49 -0
- package/dist/cjs/formatter-DIJL_crx.js +215 -0
- package/dist/cjs/ibcs-chart-structure.cjs.entry.js +2906 -0
- package/dist/cjs/ibcs-chart-time.cjs.entry.js +4140 -0
- package/dist/cjs/ibcs-map.cjs.entry.js +1075 -0
- package/dist/cjs/ibcs-title.cjs.entry.js +352 -0
- package/dist/cjs/index-CScBFiS1.js +4653 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +13 -0
- package/dist/cjs/luxon-8hyy5YD7.js +8132 -0
- package/dist/cjs/scaling-B23eOtsC.js +67 -0
- package/dist/cjs/test-runner-card.cjs.entry.js +27 -0
- package/dist/cjs/test-runner-chart-time.cjs.entry.js +230 -0
- package/dist/cjs/test-runner-chart.cjs.entry.js +326 -0
- package/dist/cjs/test-runner-map.cjs.entry.js +1862 -0
- package/dist/cjs/test-runner-table.cjs.entry.js +477 -0
- package/dist/cjs/test-runner-time.cjs.entry.js +381 -0
- package/dist/cjs/test-runner-title.cjs.entry.js +115 -0
- package/dist/cjs/withBodyObserver-B0_W1VOf.js +39 -0
- package/dist/cjs/withComponentStatus-BrxL7usr.js +39 -0
- package/dist/cjs/withComponentStyle-C6KHnZHt.js +128 -0
- package/dist/cjs/withDataset-ZdN-RRTx.js +146 -0
- package/dist/cjs/withHasError-Dspb3lIV.js +154 -0
- package/dist/cjs/withStyled-Bf-stJTR.js +567 -0
- package/dist/cjs/withTranslation-Cz0M5maV.js +77 -0
- package/dist/collection/collection-manifest.json +48 -0
- package/dist/collection/components/bn-asset/bn-asset.css +3 -0
- package/dist/collection/components/bn-asset/bn-asset.js +67 -0
- package/dist/collection/components/bn-body/bn-body.css +9 -0
- package/dist/collection/components/bn-body/bn-body.js +38 -0
- package/dist/collection/components/bn-card/bn-card.css +21 -0
- package/dist/collection/components/bn-card/bn-card.js +38 -0
- package/dist/collection/components/bn-chart-structure/bn-chart-structure.css +105 -0
- package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +1047 -0
- package/dist/collection/components/bn-chart-structure/ibcs-chart-structure.js +594 -0
- package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +979 -0
- package/dist/collection/components/bn-chart-structure/utils/elements/Axis.js +39 -0
- package/dist/collection/components/bn-chart-structure/utils/elements/Bar.js +293 -0
- package/dist/collection/components/bn-chart-structure/utils/elements/Label.js +136 -0
- package/dist/collection/components/bn-chart-structure/utils/elements/Marker.js +118 -0
- package/dist/collection/components/bn-chart-structure/utils/elements/Needle.js +151 -0
- package/dist/collection/components/bn-chart-structure/utils/elements/StackedBar.js +83 -0
- package/dist/collection/components/bn-chart-structure/utils/elements/index.js +6 -0
- package/dist/collection/components/bn-chart-structure/utils/factories/ScenarioFactory.js +119 -0
- package/dist/collection/components/bn-chart-structure/utils/factories/index.js +1 -0
- package/dist/collection/components/bn-chart-structure/utils/helper/CustomPattern.js +45 -0
- package/dist/collection/components/bn-chart-structure/utils/helper/ElementPositions.js +210 -0
- package/dist/collection/components/bn-chart-structure/utils/helper/MarkerPattern.js +46 -0
- package/dist/collection/components/bn-chart-structure/utils/helper/Padding.js +13 -0
- package/dist/collection/components/bn-chart-structure/utils/helper/index.js +15 -0
- package/dist/collection/components/bn-chart-structure/utils/model/DataPoint.js +101 -0
- package/dist/collection/components/bn-chart-structure/utils/model/OverflowConfig.js +1 -0
- package/dist/collection/components/bn-chart-structure/utils/model/StructureChartComponentConfig.js +106 -0
- package/dist/collection/components/bn-chart-structure/utils/model/StructureChartDataRow.js +127 -0
- package/dist/collection/components/bn-chart-structure/utils/model/index.js +45 -0
- package/dist/collection/components/bn-chart-structure/utils/model/styles/ScaleFactorsStructureChart.js +99 -0
- package/dist/collection/components/bn-chart-structure/utils/model/styles/StructureChartStyle.js +58 -0
- package/dist/collection/components/bn-chart-time/bn-chart-time.css +17 -0
- package/dist/collection/components/bn-chart-time/bn-chart-time.js +1510 -0
- package/dist/collection/components/bn-chart-time/ibcs-chart-time.css +96 -0
- package/dist/collection/components/bn-chart-time/ibcs-chart-time.js +829 -0
- package/dist/collection/components/bn-chart-time/utils/TimeChart.js +1388 -0
- package/dist/collection/components/bn-chart-time/utils/elements/AreaFill.js +83 -0
- package/dist/collection/components/bn-chart-time/utils/elements/Axis.js +42 -0
- package/dist/collection/components/bn-chart-time/utils/elements/Column.js +266 -0
- package/dist/collection/components/bn-chart-time/utils/elements/Label.js +174 -0
- package/dist/collection/components/bn-chart-time/utils/elements/Line.js +150 -0
- package/dist/collection/components/bn-chart-time/utils/elements/LineSeries.js +267 -0
- package/dist/collection/components/bn-chart-time/utils/elements/Marker.js +121 -0
- package/dist/collection/components/bn-chart-time/utils/elements/Needle.js +148 -0
- package/dist/collection/components/bn-chart-time/utils/elements/StackedColumn.js +107 -0
- package/dist/collection/components/bn-chart-time/utils/elements/index.js +8 -0
- package/dist/collection/components/bn-chart-time/utils/factories/ScenarioFactory.js +146 -0
- package/dist/collection/components/bn-chart-time/utils/factories/index.js +1 -0
- package/dist/collection/components/bn-chart-time/utils/helper/CustomPattern.js +46 -0
- package/dist/collection/components/bn-chart-time/utils/helper/ElementPositions.js +178 -0
- package/dist/collection/components/bn-chart-time/utils/helper/LabelCollisionManager.js +199 -0
- package/dist/collection/components/bn-chart-time/utils/helper/MarkerPattern.js +84 -0
- package/dist/collection/components/bn-chart-time/utils/helper/Padding.js +13 -0
- package/dist/collection/components/bn-chart-time/utils/helper/index.js +5 -0
- package/dist/collection/components/bn-chart-time/utils/model/DataPoint.js +93 -0
- package/dist/collection/components/bn-chart-time/utils/model/OverflowConfig.js +1 -0
- package/dist/collection/components/bn-chart-time/utils/model/TimeChartComponentConfig.js +150 -0
- package/dist/collection/components/bn-chart-time/utils/model/TimeChartDataRow.js +146 -0
- package/dist/collection/components/bn-chart-time/utils/model/index.js +45 -0
- package/dist/collection/components/bn-chart-time/utils/model/styles/ScaleFactorsTimeChart.js +99 -0
- package/dist/collection/components/bn-chart-time/utils/model/styles/TimeChartStyle.js +54 -0
- package/dist/collection/components/bn-component-style/bn-component-style.css +3 -0
- package/dist/collection/components/bn-component-style/bn-component-style.js +69 -0
- package/dist/collection/components/bn-context/bn-context.css +3 -0
- package/dist/collection/components/bn-context/bn-context.js +96 -0
- package/dist/collection/components/bn-dataset/bn-dataset.css +3 -0
- package/dist/collection/components/bn-dataset/bn-dataset.js +159 -0
- package/dist/collection/components/bn-datasource/bn-datasource.css +3 -0
- package/dist/collection/components/bn-datasource/bn-datasource.js +70 -0
- package/dist/collection/components/bn-footer/assets/bar.png +0 -0
- package/dist/collection/components/bn-footer/assets/matrix.png +0 -0
- package/dist/collection/components/bn-footer/bn-footer.css +40 -0
- package/dist/collection/components/bn-footer/bn-footer.js +146 -0
- package/dist/collection/components/bn-grid/bn-grid.css +37 -0
- package/dist/collection/components/bn-grid/bn-grid.js +467 -0
- package/dist/collection/components/bn-grid/utils/GridConfig.js +114 -0
- package/dist/collection/components/bn-image/bn-image.css +10 -0
- package/dist/collection/components/bn-image/bn-image.js +78 -0
- package/dist/collection/components/bn-internationalization/bn-internationalization.css +3 -0
- package/dist/collection/components/bn-internationalization/bn-internationalization.js +84 -0
- package/dist/collection/components/bn-layout-card/bn-layout-card.css +25 -0
- package/dist/collection/components/bn-layout-card/bn-layout-card.js +534 -0
- package/dist/collection/components/bn-layout-page/bn-layout-page.css +10 -0
- package/dist/collection/components/bn-layout-page/bn-layout-page.js +624 -0
- package/dist/collection/components/bn-map/bn-map.css +4 -0
- package/dist/collection/components/bn-map/bn-map.js +725 -0
- package/dist/collection/components/bn-map/ibcs-map/assets/gpx/Chasing_Legends.gpx +195076 -0
- package/dist/collection/components/bn-map/ibcs-map/assets/gpx/Fahrt_am_Nachmittag.gpx +142007 -0
- 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 +674 -0
- package/dist/collection/components/bn-map/ibcs-map/ibcs-map.js +744 -0
- package/dist/collection/components/bn-map/ibcs-map/utils/model/GeoJsonLayer.js +9 -0
- package/dist/collection/components/bn-map/ibcs-map/utils/model/GpxLayer.js +13 -0
- package/dist/collection/components/bn-map/ibcs-map/utils/model/Marker.js +11 -0
- package/dist/collection/components/bn-map/ibcs-map/utils/model/index.js +2 -0
- package/dist/collection/components/bn-message/assets/bar.png +0 -0
- package/dist/collection/components/bn-message/assets/matrix.png +0 -0
- package/dist/collection/components/bn-message/bn-message.css +31 -0
- package/dist/collection/components/bn-message/bn-message.js +96 -0
- package/dist/collection/components/bn-page/bn-page.css +252 -0
- package/dist/collection/components/bn-page/bn-page.js +118 -0
- package/dist/collection/components/bn-table/bn-table.css +5 -0
- package/dist/collection/components/bn-table/bn-table.js +1475 -0
- package/dist/collection/components/bn-table/ibcs-table.css +322 -0
- package/dist/collection/components/bn-table/ibcs-table.js +757 -0
- package/dist/collection/components/bn-table/utils/Table.js +182 -0
- package/dist/collection/components/bn-table/utils/elements/Cell.js +66 -0
- package/dist/collection/components/bn-table/utils/elements/CellBarChart.js +251 -0
- package/dist/collection/components/bn-table/utils/elements/TableRow.js +88 -0
- package/dist/collection/components/bn-table/utils/elements/index.js +3 -0
- package/dist/collection/components/bn-table/utils/factories/tableDataSetFactory.js +380 -0
- package/dist/collection/components/bn-table/utils/helper/ColumnStatistics.js +62 -0
- package/dist/collection/components/bn-table/utils/helper/DataQuery.js +750 -0
- package/dist/collection/components/bn-table/utils/helper/QueryGroup.js +38 -0
- package/dist/collection/components/bn-table/utils/helper/index.js +1 -0
- package/dist/collection/components/bn-table/utils/model/TableComponentConfig.js +136 -0
- package/dist/collection/components/bn-table/utils/model/TableDataRow.js +134 -0
- package/dist/collection/components/bn-table/utils/model/TableDrillGroup.js +42 -0
- package/dist/collection/components/bn-table/utils/model/index.js +63 -0
- package/dist/collection/components/bn-template/bn-template.js +38 -0
- package/dist/collection/components/bn-text/bn-text.css +14 -0
- package/dist/collection/components/bn-text/bn-text.js +343 -0
- package/dist/collection/components/bn-title/bn-title.css +11 -0
- package/dist/collection/components/bn-title/bn-title.js +541 -0
- package/dist/collection/components/bn-title/ibcs-title/ibcs-title.css +15 -0
- package/dist/collection/components/bn-title/ibcs-title/ibcs-title.js +321 -0
- package/dist/collection/components/bn-title/ibcs-title/utils/Title.js +91 -0
- package/dist/collection/components/bn-title/ibcs-title/utils/factories/TitleDataSetFactory.js +86 -0
- package/dist/collection/components/bn-title/ibcs-title/utils/factories/index.js +1 -0
- package/dist/collection/components/bn-title/ibcs-title/utils/model/MeasureEntriy.js +25 -0
- package/dist/collection/components/bn-title/ibcs-title/utils/model/TimePeriod.js +33 -0
- package/dist/collection/components/bn-title/ibcs-title/utils/model/TitleConfig.js +48 -0
- package/dist/collection/components/bn-title/ibcs-title/utils/model/index.js +6 -0
- package/dist/collection/components/bn-tree/bn-tree.css +40 -0
- package/dist/collection/components/bn-tree/bn-tree.js +520 -0
- package/dist/collection/components/bn-tree/utils/EdgeRenderer.js +196 -0
- package/dist/collection/components/bn-tree/utils/TreeLayout.js +225 -0
- package/dist/collection/components/bn-tree/utils/TreeParser.js +180 -0
- package/dist/collection/components/editor-companion/editor-companion.css +3 -0
- package/dist/collection/components/editor-companion/editor-companion.js +130 -0
- package/dist/collection/context/context-protocol.js +84 -0
- package/dist/collection/declarations.js +1 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/stores/assets.js +12 -0
- package/dist/collection/stores/componentStyles.js +106 -0
- package/dist/collection/stores/context.js +1 -0
- package/dist/collection/stores/createScopedStores.js +31 -0
- package/dist/collection/stores/datasets.js +14 -0
- package/dist/collection/stores/datasetsMeta.js +14 -0
- package/dist/collection/stores/datasources.js +14 -0
- package/dist/collection/stores/internationalization.js +128 -0
- package/dist/collection/test-runner/test-runner-card.js +36 -0
- package/dist/collection/test-runner/test-runner-chart-time.js +234 -0
- package/dist/collection/test-runner/test-runner-chart.js +364 -0
- package/dist/collection/test-runner/test-runner-map.js +1901 -0
- package/dist/collection/test-runner/test-runner-table.js +469 -0
- package/dist/collection/test-runner/test-runner-time.js +399 -0
- package/dist/collection/test-runner/test-runner-title.js +108 -0
- package/dist/collection/utils/DataUriUtil.js +19 -0
- package/dist/collection/utils/DateStringFactory.js +448 -0
- package/dist/collection/utils/componentRegister.js +70 -0
- package/dist/collection/utils/constants.js +156 -0
- package/dist/collection/utils/dataAnalyzer.js +103 -0
- package/dist/collection/utils/datasetMetaCalculator.js +137 -0
- package/dist/collection/utils/flattenObject.js +28 -0
- package/dist/collection/utils/formatter.js +86 -0
- package/dist/collection/utils/helper/AdapterUtils.js +24 -0
- package/dist/collection/utils/helper/CompareUtil.js +42 -0
- package/dist/collection/utils/helper/IAdapter.js +1 -0
- package/dist/collection/utils/helper/StringAdapter.js +9 -0
- package/dist/collection/utils/ibcsRuleSet.js +120 -0
- package/dist/collection/utils/index.js +2 -0
- package/dist/collection/utils/model/ChartStyles.js +1 -0
- package/dist/collection/utils/model/DataFormatDigits.js +23 -0
- package/dist/collection/utils/model/DataQueryResultRow.js +1 -0
- package/dist/collection/utils/model/DatasetMeta.js +1 -0
- package/dist/collection/utils/model/DateFormat.js +1 -0
- package/dist/collection/utils/model/Order.js +56 -0
- package/dist/collection/utils/model/SiPrefix.js +23 -0
- package/dist/collection/utils/model/TextStyles.js +1 -0
- package/dist/collection/utils/model/VarianceScenario.js +33 -0
- package/dist/collection/utils/model/index.js +38 -0
- package/dist/collection/utils/model/styles/FontStyle.js +34 -0
- package/dist/collection/utils/model/styles/Padding.js +30 -0
- package/dist/collection/utils/model/styles/SVGStyle.js +47 -0
- package/dist/collection/utils/model/styles/SVGStyleGroup.js +48 -0
- package/dist/collection/utils/model/styles/SVGVariancesStyleGroup.js +45 -0
- package/dist/collection/utils/parentDimensions.js +44 -0
- package/dist/collection/utils/scaling.js +17 -0
- package/dist/collection/utils/stackColors.js +31 -0
- package/dist/collection/utils/styled/attributes.js +110 -0
- package/dist/collection/utils/styled/style-sheet.js +21 -0
- package/dist/collection/utils/styled/withStyled.js +71 -0
- package/dist/collection/utils/templateId.js +12 -0
- package/dist/collection/utils/utils.js +83 -0
- package/dist/collection/utils/validate.js +372 -0
- package/dist/collection/utils/withBodyObserver.js +35 -0
- package/dist/collection/utils/withComponentStatus.js +35 -0
- package/dist/collection/utils/withComponentStyle.js +74 -0
- package/dist/collection/utils/withDataset.js +142 -0
- package/dist/collection/utils/withDatasource.js +59 -0
- package/dist/collection/utils/withHasError.js +56 -0
- package/dist/collection/utils/withTranslation.js +73 -0
- package/dist/components/DataFormatDigits.js +1 -0
- package/dist/components/DateStringFactory.js +1 -0
- package/dist/components/Order.js +1 -0
- package/dist/components/SVGVariancesStyleGroup.js +1 -0
- package/dist/components/_commonjsHelpers.js +1 -0
- package/dist/components/alasql.min.js +1 -0
- package/dist/components/bn-asset.d.ts +11 -0
- package/dist/components/bn-asset.js +1 -0
- package/dist/components/bn-body.d.ts +11 -0
- package/dist/components/bn-body.js +1 -0
- package/dist/components/bn-body2.js +1 -0
- package/dist/components/bn-card.d.ts +11 -0
- package/dist/components/bn-card.js +1 -0
- package/dist/components/bn-card2.js +1 -0
- package/dist/components/bn-chart-structure.d.ts +11 -0
- package/dist/components/bn-chart-structure.js +1 -0
- package/dist/components/bn-chart-time.d.ts +11 -0
- package/dist/components/bn-chart-time.js +1 -0
- package/dist/components/bn-component-style.d.ts +11 -0
- package/dist/components/bn-component-style.js +1 -0
- package/dist/components/bn-context.d.ts +11 -0
- package/dist/components/bn-context.js +1 -0
- package/dist/components/bn-dataset.d.ts +11 -0
- package/dist/components/bn-dataset.js +1 -0
- package/dist/components/bn-datasource.d.ts +11 -0
- package/dist/components/bn-datasource.js +1 -0
- package/dist/components/bn-footer.d.ts +11 -0
- package/dist/components/bn-footer.js +1 -0
- package/dist/components/bn-footer2.js +1 -0
- package/dist/components/bn-grid.d.ts +11 -0
- package/dist/components/bn-grid.js +1 -0
- package/dist/components/bn-image.d.ts +11 -0
- package/dist/components/bn-image.js +1 -0
- package/dist/components/bn-internationalization.d.ts +11 -0
- package/dist/components/bn-internationalization.js +1 -0
- package/dist/components/bn-layout-card.d.ts +11 -0
- package/dist/components/bn-layout-card.js +1 -0
- package/dist/components/bn-layout-page.d.ts +11 -0
- package/dist/components/bn-layout-page.js +1 -0
- package/dist/components/bn-map.d.ts +11 -0
- package/dist/components/bn-map.js +1 -0
- package/dist/components/bn-message.d.ts +11 -0
- package/dist/components/bn-message.js +1 -0
- package/dist/components/bn-message2.js +1 -0
- package/dist/components/bn-page.d.ts +11 -0
- package/dist/components/bn-page.js +1 -0
- package/dist/components/bn-page2.js +1 -0
- package/dist/components/bn-table.d.ts +11 -0
- package/dist/components/bn-table.js +1 -0
- package/dist/components/bn-template.d.ts +11 -0
- package/dist/components/bn-template.js +1 -0
- package/dist/components/bn-text.d.ts +11 -0
- package/dist/components/bn-text.js +1 -0
- package/dist/components/bn-title.d.ts +11 -0
- package/dist/components/bn-title.js +1 -0
- package/dist/components/bn-title2.js +1 -0
- package/dist/components/bn-tree.d.ts +11 -0
- package/dist/components/bn-tree.js +1 -0
- package/dist/components/componentRegister.js +1 -0
- package/dist/components/context-protocol.js +1 -0
- package/dist/components/editor-companion.d.ts +11 -0
- package/dist/components/editor-companion.js +1 -0
- package/dist/components/ibcs-chart-structure.d.ts +11 -0
- package/dist/components/ibcs-chart-structure.js +1 -0
- package/dist/components/ibcs-chart-structure2.js +1 -0
- package/dist/components/ibcs-chart-time.d.ts +11 -0
- package/dist/components/ibcs-chart-time.js +1 -0
- package/dist/components/ibcs-chart-time2.js +1 -0
- package/dist/components/ibcs-map.d.ts +11 -0
- package/dist/components/ibcs-map.js +1 -0
- package/dist/components/ibcs-map2.js +1 -0
- package/dist/components/ibcs-table.d.ts +11 -0
- package/dist/components/ibcs-table.js +1 -0
- package/dist/components/ibcs-table2.js +1 -0
- package/dist/components/ibcs-title.d.ts +11 -0
- package/dist/components/ibcs-title.js +1 -0
- package/dist/components/ibcs-title2.js +1 -0
- package/dist/components/ibcsRuleSet.js +1 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +1 -0
- package/dist/components/scaling.js +1 -0
- package/dist/components/test-runner-card.d.ts +11 -0
- package/dist/components/test-runner-card.js +1 -0
- package/dist/components/test-runner-chart-time.d.ts +11 -0
- package/dist/components/test-runner-chart-time.js +1 -0
- package/dist/components/test-runner-chart.d.ts +11 -0
- package/dist/components/test-runner-chart.js +1 -0
- package/dist/components/test-runner-map.d.ts +11 -0
- package/dist/components/test-runner-map.js +1 -0
- package/dist/components/test-runner-table.d.ts +11 -0
- package/dist/components/test-runner-table.js +1 -0
- package/dist/components/test-runner-time.d.ts +11 -0
- package/dist/components/test-runner-time.js +1 -0
- package/dist/components/test-runner-title.d.ts +11 -0
- package/dist/components/test-runner-title.js +1 -0
- package/dist/components/utils.js +1 -0
- package/dist/components/validate.js +1 -0
- package/dist/components/withBodyObserver.js +1 -0
- package/dist/components/withComponentStyle.js +1 -0
- package/dist/components/withDataset.js +1 -0
- package/dist/components/withHasError.js +1 -0
- package/dist/components/withStyled.js +1 -0
- package/dist/components/withTranslation.js +1 -0
- package/dist/esm/DataFormatDigits-Dt6gpIiZ.js +137 -0
- package/dist/esm/DateStringFactory-_Qiv0IvF.js +451 -0
- package/dist/esm/Order-B4fpLe_f.js +125 -0
- package/dist/esm/SVGVariancesStyleGroup-DlWgvpzs.js +7961 -0
- package/dist/esm/StringAdapter-BLvo1Krl.js +133 -0
- package/dist/esm/_commonjsHelpers-BFTU3MAI.js +7 -0
- package/dist/esm/alasql.min-CWu4NkIt.js +304 -0
- package/dist/esm/app-globals-DQuL1Twl.js +3 -0
- package/dist/esm/bn-asset.entry.js +40 -0
- package/dist/esm/bn-body_3.entry.js +409 -0
- package/dist/esm/bn-card.entry.js +35 -0
- package/dist/esm/bn-chart-structure.entry.js +703 -0
- package/dist/esm/bn-chart-time.entry.js +985 -0
- package/dist/esm/bn-component-style.entry.js +42 -0
- package/dist/esm/bn-context_5.entry.js +3374 -0
- package/dist/esm/bn-dataset.entry.js +276 -0
- package/dist/esm/bn-grid.entry.js +405 -0
- package/dist/esm/bn-image.entry.js +55 -0
- package/dist/esm/bn-internationalization.entry.js +38 -0
- package/dist/esm/bn-layout-card.entry.js +126 -0
- package/dist/esm/bn-layout-page.entry.js +140 -0
- package/dist/esm/bn-map.entry.js +423 -0
- package/dist/esm/bn-message.entry.js +50 -0
- package/dist/esm/bn-template-engine.js +48 -0
- package/dist/esm/bn-template.entry.js +18 -0
- package/dist/esm/bn-text.entry.js +284 -0
- package/dist/esm/bn-tree.entry.js +967 -0
- package/dist/esm/componentRegister-BtVfu16B.js +72 -0
- package/dist/esm/constants-kMyLevYy.js +158 -0
- package/dist/esm/context-protocol-DzeqZxg6.js +654 -0
- package/dist/esm/editor-companion.entry.js +47 -0
- package/dist/esm/formatter-DTMEZ6d8.js +211 -0
- package/dist/esm/ibcs-chart-structure.entry.js +2904 -0
- package/dist/esm/ibcs-chart-time.entry.js +4138 -0
- package/dist/esm/ibcs-map.entry.js +1073 -0
- package/dist/esm/ibcs-title.entry.js +350 -0
- package/dist/esm/index-B27Ax6P_.js +4635 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/luxon-DbyXf6dF.js +8130 -0
- package/dist/esm/scaling-BBd0ZVLL.js +64 -0
- package/dist/esm/test-runner-card.entry.js +25 -0
- package/dist/esm/test-runner-chart-time.entry.js +228 -0
- package/dist/esm/test-runner-chart.entry.js +324 -0
- package/dist/esm/test-runner-map.entry.js +1860 -0
- package/dist/esm/test-runner-table.entry.js +475 -0
- package/dist/esm/test-runner-time.entry.js +379 -0
- package/dist/esm/test-runner-title.entry.js +113 -0
- package/dist/esm/withBodyObserver-gZpZiEIK.js +37 -0
- package/dist/esm/withComponentStatus-elELReKt.js +37 -0
- package/dist/esm/withComponentStyle-NaxfakAG.js +126 -0
- package/dist/esm/withDataset-BT2VQCsG.js +144 -0
- package/dist/esm/withHasError-C48fTE2k.js +150 -0
- package/dist/esm/withStyled-CpUTv74m.js +539 -0
- package/dist/esm/withTranslation-Do4GhleK.js +75 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/bn-asset/bn-asset.d.ts +11 -0
- package/dist/types/components/bn-body/bn-body.d.ts +8 -0
- package/dist/types/components/bn-card/bn-card.d.ts +8 -0
- package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +234 -0
- package/dist/types/components/bn-chart-structure/ibcs-chart-structure.d.ts +47 -0
- package/dist/types/components/bn-chart-structure/utils/StructureChart.d.ts +137 -0
- package/dist/types/components/bn-chart-structure/utils/elements/Axis.d.ts +29 -0
- package/dist/types/components/bn-chart-structure/utils/elements/Bar.d.ts +58 -0
- package/dist/types/components/bn-chart-structure/utils/elements/Label.d.ts +47 -0
- package/dist/types/components/bn-chart-structure/utils/elements/Marker.d.ts +33 -0
- package/dist/types/components/bn-chart-structure/utils/elements/Needle.d.ts +37 -0
- package/dist/types/components/bn-chart-structure/utils/elements/StackedBar.d.ts +25 -0
- package/dist/types/components/bn-chart-structure/utils/elements/index.d.ts +6 -0
- package/dist/types/components/bn-chart-structure/utils/factories/ScenarioFactory.d.ts +46 -0
- package/dist/types/components/bn-chart-structure/utils/factories/index.d.ts +1 -0
- package/dist/types/components/bn-chart-structure/utils/helper/CustomPattern.d.ts +20 -0
- package/dist/types/components/bn-chart-structure/utils/helper/ElementPositions.d.ts +60 -0
- package/dist/types/components/bn-chart-structure/utils/helper/MarkerPattern.d.ts +28 -0
- package/dist/types/components/bn-chart-structure/utils/helper/Padding.d.ts +14 -0
- package/dist/types/components/bn-chart-structure/utils/helper/index.d.ts +13 -0
- package/dist/types/components/bn-chart-structure/utils/model/DataPoint.d.ts +44 -0
- package/dist/types/components/bn-chart-structure/utils/model/OverflowConfig.d.ts +7 -0
- package/dist/types/components/bn-chart-structure/utils/model/StructureChartComponentConfig.d.ts +60 -0
- package/dist/types/components/bn-chart-structure/utils/model/StructureChartDataRow.d.ts +61 -0
- package/dist/types/components/bn-chart-structure/utils/model/index.d.ts +108 -0
- package/dist/types/components/bn-chart-structure/utils/model/styles/ScaleFactorsStructureChart.d.ts +46 -0
- package/dist/types/components/bn-chart-structure/utils/model/styles/StructureChartStyle.d.ts +29 -0
- package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +325 -0
- package/dist/types/components/bn-chart-time/ibcs-chart-time.d.ts +59 -0
- package/dist/types/components/bn-chart-time/utils/TimeChart.d.ts +154 -0
- package/dist/types/components/bn-chart-time/utils/elements/AreaFill.d.ts +23 -0
- package/dist/types/components/bn-chart-time/utils/elements/Axis.d.ts +28 -0
- package/dist/types/components/bn-chart-time/utils/elements/Column.d.ts +68 -0
- package/dist/types/components/bn-chart-time/utils/elements/Label.d.ts +55 -0
- package/dist/types/components/bn-chart-time/utils/elements/Line.d.ts +48 -0
- package/dist/types/components/bn-chart-time/utils/elements/LineSeries.d.ts +74 -0
- package/dist/types/components/bn-chart-time/utils/elements/Marker.d.ts +37 -0
- package/dist/types/components/bn-chart-time/utils/elements/Needle.d.ts +41 -0
- package/dist/types/components/bn-chart-time/utils/elements/StackedColumn.d.ts +40 -0
- package/dist/types/components/bn-chart-time/utils/elements/index.d.ts +8 -0
- package/dist/types/components/bn-chart-time/utils/factories/ScenarioFactory.d.ts +65 -0
- package/dist/types/components/bn-chart-time/utils/factories/index.d.ts +1 -0
- package/dist/types/components/bn-chart-time/utils/helper/CustomPattern.d.ts +22 -0
- package/dist/types/components/bn-chart-time/utils/helper/ElementPositions.d.ts +60 -0
- package/dist/types/components/bn-chart-time/utils/helper/LabelCollisionManager.d.ts +101 -0
- package/dist/types/components/bn-chart-time/utils/helper/MarkerPattern.d.ts +42 -0
- package/dist/types/components/bn-chart-time/utils/helper/Padding.d.ts +14 -0
- package/dist/types/components/bn-chart-time/utils/helper/index.d.ts +5 -0
- package/dist/types/components/bn-chart-time/utils/model/DataPoint.d.ts +44 -0
- package/dist/types/components/bn-chart-time/utils/model/OverflowConfig.d.ts +7 -0
- package/dist/types/components/bn-chart-time/utils/model/TimeChartComponentConfig.d.ts +73 -0
- package/dist/types/components/bn-chart-time/utils/model/TimeChartDataRow.d.ts +62 -0
- package/dist/types/components/bn-chart-time/utils/model/index.d.ts +109 -0
- package/dist/types/components/bn-chart-time/utils/model/styles/ScaleFactorsTimeChart.d.ts +46 -0
- package/dist/types/components/bn-chart-time/utils/model/styles/TimeChartStyle.d.ts +29 -0
- package/dist/types/components/bn-component-style/bn-component-style.d.ts +8 -0
- package/dist/types/components/bn-context/bn-context.d.ts +19 -0
- package/dist/types/components/bn-dataset/bn-dataset.d.ts +38 -0
- package/dist/types/components/bn-datasource/bn-datasource.d.ts +18 -0
- package/dist/types/components/bn-footer/bn-footer.d.ts +29 -0
- package/dist/types/components/bn-grid/bn-grid.d.ts +70 -0
- package/dist/types/components/bn-grid/utils/GridConfig.d.ts +47 -0
- package/dist/types/components/bn-image/bn-image.d.ts +22 -0
- package/dist/types/components/bn-internationalization/bn-internationalization.d.ts +9 -0
- package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +38 -0
- package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +40 -0
- package/dist/types/components/bn-map/bn-map.d.ts +122 -0
- package/dist/types/components/bn-map/ibcs-map/ibcs-map.d.ts +73 -0
- package/dist/types/components/bn-map/ibcs-map/utils/model/GeoJsonLayer.d.ts +8 -0
- package/dist/types/components/bn-map/ibcs-map/utils/model/GpxLayer.d.ts +11 -0
- package/dist/types/components/bn-map/ibcs-map/utils/model/Marker.d.ts +9 -0
- package/dist/types/components/bn-map/ibcs-map/utils/model/index.d.ts +2 -0
- package/dist/types/components/bn-message/bn-message.d.ts +27 -0
- package/dist/types/components/bn-page/bn-page.d.ts +29 -0
- package/dist/types/components/bn-table/bn-table.d.ts +373 -0
- package/dist/types/components/bn-table/ibcs-table.d.ts +59 -0
- package/dist/types/components/bn-table/utils/Table.d.ts +61 -0
- package/dist/types/components/bn-table/utils/elements/Cell.d.ts +36 -0
- package/dist/types/components/bn-table/utils/elements/CellBarChart.d.ts +45 -0
- package/dist/types/components/bn-table/utils/elements/TableRow.d.ts +30 -0
- package/dist/types/components/bn-table/utils/elements/index.d.ts +3 -0
- package/dist/types/components/bn-table/utils/factories/tableDataSetFactory.d.ts +114 -0
- package/dist/types/components/bn-table/utils/helper/ColumnStatistics.d.ts +21 -0
- package/dist/types/components/bn-table/utils/helper/DataQuery.d.ts +139 -0
- package/dist/types/components/bn-table/utils/helper/QueryGroup.d.ts +19 -0
- package/dist/types/components/bn-table/utils/helper/index.d.ts +1 -0
- package/dist/types/components/bn-table/utils/model/TableComponentConfig.d.ts +72 -0
- package/dist/types/components/bn-table/utils/model/TableDataRow.d.ts +70 -0
- package/dist/types/components/bn-table/utils/model/TableDrillGroup.d.ts +22 -0
- package/dist/types/components/bn-table/utils/model/index.d.ts +130 -0
- package/dist/types/components/bn-template/bn-template.d.ts +10 -0
- package/dist/types/components/bn-text/bn-text.d.ts +63 -0
- package/dist/types/components/bn-title/bn-title.d.ts +128 -0
- package/dist/types/components/bn-title/ibcs-title/ibcs-title.d.ts +23 -0
- package/dist/types/components/bn-title/ibcs-title/utils/Title.d.ts +28 -0
- package/dist/types/components/bn-title/ibcs-title/utils/factories/TitleDataSetFactory.d.ts +26 -0
- package/dist/types/components/bn-title/ibcs-title/utils/factories/index.d.ts +1 -0
- package/dist/types/components/bn-title/ibcs-title/utils/model/MeasureEntriy.d.ts +11 -0
- package/dist/types/components/bn-title/ibcs-title/utils/model/TimePeriod.d.ts +15 -0
- package/dist/types/components/bn-title/ibcs-title/utils/model/TitleConfig.d.ts +25 -0
- package/dist/types/components/bn-title/ibcs-title/utils/model/index.d.ts +35 -0
- package/dist/types/components/bn-tree/bn-tree.d.ts +84 -0
- package/dist/types/components/bn-tree/utils/EdgeRenderer.d.ts +57 -0
- package/dist/types/components/bn-tree/utils/TreeLayout.d.ts +37 -0
- package/dist/types/components/bn-tree/utils/TreeParser.d.ts +42 -0
- package/dist/types/components/editor-companion/editor-companion.d.ts +18 -0
- package/dist/types/components.d.ts +3311 -0
- package/dist/types/context/context-protocol.d.ts +53 -0
- package/dist/types/declarations.d.ts +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +1860 -0
- package/dist/types/stores/assets.d.ts +12 -0
- package/dist/types/stores/componentStyles.d.ts +82 -0
- package/dist/types/stores/context.d.ts +12 -0
- package/dist/types/stores/createScopedStores.d.ts +12 -0
- package/dist/types/stores/datasets.d.ts +14 -0
- package/dist/types/stores/datasetsMeta.d.ts +14 -0
- package/dist/types/stores/datasources.d.ts +14 -0
- package/dist/types/stores/internationalization.d.ts +9 -0
- package/dist/types/test-runner/test-runner-card.d.ts +3 -0
- package/dist/types/test-runner/test-runner-chart-time.d.ts +3 -0
- package/dist/types/test-runner/test-runner-chart.d.ts +3 -0
- package/dist/types/test-runner/test-runner-map.d.ts +3 -0
- package/dist/types/test-runner/test-runner-table.d.ts +3 -0
- package/dist/types/test-runner/test-runner-time.d.ts +3 -0
- package/dist/types/test-runner/test-runner-title.d.ts +3 -0
- package/dist/types/utils/DataUriUtil.d.ts +5 -0
- package/dist/types/utils/DateStringFactory.d.ts +123 -0
- package/dist/types/utils/componentRegister.d.ts +38 -0
- package/dist/types/utils/constants.d.ts +142 -0
- package/dist/types/utils/dataAnalyzer.d.ts +56 -0
- package/dist/types/utils/datasetMetaCalculator.d.ts +16 -0
- package/dist/types/utils/flattenObject.d.ts +13 -0
- package/dist/types/utils/formatter.d.ts +34 -0
- package/dist/types/utils/helper/AdapterUtils.d.ts +11 -0
- package/dist/types/utils/helper/CompareUtil.d.ts +26 -0
- package/dist/types/utils/helper/IAdapter.d.ts +16 -0
- package/dist/types/utils/helper/StringAdapter.d.ts +5 -0
- package/dist/types/utils/ibcsRuleSet.d.ts +47 -0
- package/dist/types/utils/index.d.ts +2 -0
- package/dist/types/utils/model/ChartStyles.d.ts +58 -0
- package/dist/types/utils/model/DataFormatDigits.d.ts +11 -0
- package/dist/types/utils/model/DataQueryResultRow.d.ts +29 -0
- package/dist/types/utils/model/DatasetMeta.d.ts +43 -0
- package/dist/types/utils/model/DateFormat.d.ts +38 -0
- package/dist/types/utils/model/Order.d.ts +46 -0
- package/dist/types/utils/model/SiPrefix.d.ts +11 -0
- package/dist/types/utils/model/TextStyles.d.ts +10 -0
- package/dist/types/utils/model/VarianceScenario.d.ts +20 -0
- package/dist/types/utils/model/index.d.ts +37 -0
- package/dist/types/utils/model/styles/FontStyle.d.ts +13 -0
- package/dist/types/utils/model/styles/Padding.d.ts +11 -0
- package/dist/types/utils/model/styles/SVGStyle.d.ts +20 -0
- package/dist/types/utils/model/styles/SVGStyleGroup.d.ts +16 -0
- package/dist/types/utils/model/styles/SVGVariancesStyleGroup.d.ts +16 -0
- package/dist/types/utils/parentDimensions.d.ts +13 -0
- package/dist/types/utils/scaling.d.ts +22 -0
- package/dist/types/utils/stackColors.d.ts +20 -0
- package/dist/types/utils/styled/attributes.d.ts +6 -0
- package/dist/types/utils/styled/style-sheet.d.ts +10 -0
- package/dist/types/utils/styled/withStyled.d.ts +12 -0
- package/dist/types/utils/templateId.d.ts +9 -0
- package/dist/types/utils/utils.d.ts +36 -0
- package/dist/types/utils/validate.d.ts +55 -0
- package/dist/types/utils/withBodyObserver.d.ts +14 -0
- package/dist/types/utils/withComponentStatus.d.ts +15 -0
- package/dist/types/utils/withComponentStyle.d.ts +20 -0
- package/dist/types/utils/withDataset.d.ts +18 -0
- package/dist/types/utils/withDatasource.d.ts +16 -0
- package/dist/types/utils/withHasError.d.ts +35 -0
- package/dist/types/utils/withTranslation.d.ts +24 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +68 -0
- package/readme.md +164 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checks whether a value is blank, null, undefined, or the string `"null"`.
|
|
3
|
+
* The string `"null"` check handles serialized null values from HTML attributes,
|
|
4
|
+
* which arrive as the literal string "null" rather than a JS null.
|
|
5
|
+
*/
|
|
6
|
+
export declare function isBlankInput(value: unknown): boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Validates a comma-separated list of scenario identifiers.
|
|
9
|
+
* The special value `"auto"` is always valid. Base scenarios are validated against
|
|
10
|
+
* the Scenarios enum; remaining invalid entries are passed to `validateVariancesList`
|
|
11
|
+
* for variance format checking (e.g. `d_ac1_pl1_pos`).
|
|
12
|
+
*/
|
|
13
|
+
export declare function validateScenarioList(value: string): string[];
|
|
14
|
+
/**
|
|
15
|
+
* Validates variance identifiers in the format `d_<base>_<delta>_<sentiment>` or
|
|
16
|
+
* `dr_<base>_<delta>_<sentiment>`. Each component is checked against the Scenarios
|
|
17
|
+
* and Sentiments enums. Returns items that fail validation.
|
|
18
|
+
*/
|
|
19
|
+
export declare function validateVariancesList(value: string): string[];
|
|
20
|
+
export declare function validateOrderList(value: string): string[];
|
|
21
|
+
export declare function isValidInteger(value: number | string): boolean;
|
|
22
|
+
export declare function isValidNumber(value: number | string): boolean;
|
|
23
|
+
export declare function isValidDirection(value: string): boolean;
|
|
24
|
+
export declare function isValidLevel(value: string): boolean;
|
|
25
|
+
export declare function validateMeasureList(value: string): string[];
|
|
26
|
+
export declare function validateMarkerType(value: string): string[];
|
|
27
|
+
export declare function validateGpxType(value: string): string[];
|
|
28
|
+
export declare function validateGeojsonType(value: string): string[];
|
|
29
|
+
export declare function isValidDate(value: string): boolean;
|
|
30
|
+
export declare function isValidDateLink(value: string): boolean;
|
|
31
|
+
export declare function isValidDateFormat(value: string): boolean;
|
|
32
|
+
export declare function isValidAxisLabelsMode(value: string): boolean;
|
|
33
|
+
export declare function isValidDataFormat(value: string): boolean;
|
|
34
|
+
export declare function isValidBoolean(value: unknown): boolean;
|
|
35
|
+
export declare function isValidTableType(value: string): boolean;
|
|
36
|
+
export declare function validateThereOfJsonStr(value: string): string[];
|
|
37
|
+
export declare function validatePartOfJsonStr(value: string): string[];
|
|
38
|
+
export declare function isValidi18nMode(value: string): boolean;
|
|
39
|
+
export declare function isValidMeasureType(value: string): boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Validates a measure-scale attribute value.
|
|
42
|
+
* Accepted values: `"_"` (no scaling), SI prefix letters (k, M, G, T, P, E, Z, Y, m, etc.),
|
|
43
|
+
* or auto-detection modes `"GREATEST"` / `"LEAST"`.
|
|
44
|
+
*/
|
|
45
|
+
export declare function isValidMeasureScale(value: string): boolean;
|
|
46
|
+
export declare function validateI18nString(value: string): string[];
|
|
47
|
+
export declare function validateStylesString(value: string): string[];
|
|
48
|
+
export declare function isTableCategoryWidth(value: string): boolean;
|
|
49
|
+
export declare function validateColumnThereOfJsonStr(value: string): string[];
|
|
50
|
+
export declare function validateStackConfig(value: string): string[];
|
|
51
|
+
export declare function isValidFontSize(_value: string): boolean;
|
|
52
|
+
export declare function isValidFontFamily(_value: string): boolean;
|
|
53
|
+
export declare function isValidTreeDirection(value: string): boolean;
|
|
54
|
+
export declare function isValidEdgeStyle(value: string): boolean;
|
|
55
|
+
export declare function validateTreeEdgesJson(value: string): string[];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mixin that observes changes to a component's text content.
|
|
3
|
+
*
|
|
4
|
+
* Installs a MutationObserver watching `childList`, `subtree`, and `characterData`
|
|
5
|
+
* on the host element. Whenever the text content changes (e.g. slotted text updates),
|
|
6
|
+
* the `onUpdate` callback is invoked with the element's current `textContent`.
|
|
7
|
+
*
|
|
8
|
+
* The callback is also fired once during `connectedCallback` with the initial content.
|
|
9
|
+
*
|
|
10
|
+
* @param component - The Stencil component instance
|
|
11
|
+
* @param onUpdate - Callback receiving the element's `textContent` on every mutation
|
|
12
|
+
*/
|
|
13
|
+
declare const withBodyObserver: (component: any, onUpdate: (data: string) => void) => void;
|
|
14
|
+
export default withBodyObserver;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mixin that tracks a component's render lifecycle in the global {@link ComponentRegister}.
|
|
3
|
+
*
|
|
4
|
+
* Assigns a stable UUID to the component instance and reports status transitions:
|
|
5
|
+
* - `RUNNING` on `connectedCallback` and `componentWillRender`
|
|
6
|
+
* - `SUCCESSFUL` on `componentDidRender`
|
|
7
|
+
*
|
|
8
|
+
* External tools (e.g. screenshot/PDF renderers) poll
|
|
9
|
+
* `window.componentRegisterIsRenderedResult` to determine when all components
|
|
10
|
+
* have finished rendering.
|
|
11
|
+
*
|
|
12
|
+
* @param component - The Stencil component instance
|
|
13
|
+
*/
|
|
14
|
+
declare const withComponentStatus: (component: any) => void;
|
|
15
|
+
export default withComponentStatus;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Style } from "../stores/componentStyles";
|
|
2
|
+
/**
|
|
3
|
+
* Mixin that provides themed styling to a Stencil component using a
|
|
4
|
+
* three-layer merge strategy.
|
|
5
|
+
*
|
|
6
|
+
* The effective style is computed by deep-merging three layers in order:
|
|
7
|
+
* 1. `_system` -- built-in defaults (lowest priority)
|
|
8
|
+
* 2. `_default` -- user-defined global overrides
|
|
9
|
+
* 3. The value of the host element's `selected-style` attribute (highest priority)
|
|
10
|
+
*
|
|
11
|
+
* A MutationObserver watches `selected-style` and the store subscription
|
|
12
|
+
* reacts to updates in the componentStyles store, triggering a re-merge
|
|
13
|
+
* and forced re-render on changes.
|
|
14
|
+
*
|
|
15
|
+
* @param component - The Stencil component instance
|
|
16
|
+
* @returns A query function `componentStyle(<selector>)` that provides type-safe
|
|
17
|
+
* access to the merged style object, e.g. `componentStyle(s => s.table.headerBg)`
|
|
18
|
+
*/
|
|
19
|
+
declare const withComponentStyle: (component: any) => <T>(q: ($style: Style) => T) => T;
|
|
20
|
+
export default withComponentStyle;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DatasetMeta } from "./model/DatasetMeta";
|
|
2
|
+
/**
|
|
3
|
+
* Mixin that subscribes a Stencil component to one or more datasets/datasources.
|
|
4
|
+
*
|
|
5
|
+
* **Naming convention:** The `datasets` HTML attribute accepts a comma-separated list of names.
|
|
6
|
+
* Names prefixed with `$` (e.g. `$revenue`) read directly from the raw datasources store;
|
|
7
|
+
* unprefixed names read from the processed datasets store (populated by bn-dataset).
|
|
8
|
+
*
|
|
9
|
+
* The mixin installs a MutationObserver on the host element's `datasets` attribute so
|
|
10
|
+
* bindings update automatically when the attribute is changed at runtime.
|
|
11
|
+
*
|
|
12
|
+
* @param component - The Stencil component instance (must expose a host element via `@Element()`)
|
|
13
|
+
* @param onUpdate - Callback invoked with `(name, data)` whenever a subscribed dataset or datasource changes
|
|
14
|
+
* @param onMetaUpdate - Optional callback invoked with `(name, meta)` when DatasetMeta changes for a subscribed dataset
|
|
15
|
+
* @returns A function to programmatically replace the list of subscribed dataset names
|
|
16
|
+
*/
|
|
17
|
+
declare const withDataset: (component: any, onUpdate: (name: string, data: unknown) => void, onMetaUpdate?: (name: string, meta: DatasetMeta) => void) => (names: string[]) => void;
|
|
18
|
+
export default withDataset;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mixin that subscribes a Stencil component to raw datasources.
|
|
3
|
+
*
|
|
4
|
+
* This is the simpler counterpart of {@link withDataset} -- it reads directly from
|
|
5
|
+
* the datasources store without going through bn-dataset query processing.
|
|
6
|
+
* Primarily used by bn-dataset itself, which needs access to raw data before
|
|
7
|
+
* producing a processed dataset.
|
|
8
|
+
*
|
|
9
|
+
* Watches the host element's `datasources` attribute via MutationObserver for
|
|
10
|
+
* dynamic rebinding at runtime.
|
|
11
|
+
*
|
|
12
|
+
* @param component - The Stencil component instance
|
|
13
|
+
* @param onUpdate - Callback invoked with `(name, data)` whenever a subscribed datasource changes
|
|
14
|
+
*/
|
|
15
|
+
declare const withDatasource: (component: any, onUpdate: (name: string, data: unknown) => void) => void;
|
|
16
|
+
export default withDatasource;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A single error or warning produced by component-level prop validation.
|
|
3
|
+
* Items with an explicit `id` can be replaced or removed individually.
|
|
4
|
+
*/
|
|
5
|
+
export interface ErrorItem {
|
|
6
|
+
id?: string;
|
|
7
|
+
type: "error" | "warning";
|
|
8
|
+
message: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* API returned by {@link withHasError} for managing a component's error/warning list.
|
|
13
|
+
* Mutations automatically sync to the host element's `has-error` attribute as JSON.
|
|
14
|
+
*/
|
|
15
|
+
export interface ErrorDispatcher {
|
|
16
|
+
clear: () => void;
|
|
17
|
+
replace: (errors: ErrorItem[]) => void;
|
|
18
|
+
add: (error: ErrorItem) => string;
|
|
19
|
+
addOrReplace: (error: ErrorItem) => string;
|
|
20
|
+
remove: (id: string) => void;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Mixin that provides an {@link ErrorDispatcher} for managing validation
|
|
24
|
+
* errors and warnings on a component.
|
|
25
|
+
*
|
|
26
|
+
* Errors are stored internally via a reactive {@link ref}. On every change,
|
|
27
|
+
* the host element's `has-error` attribute is updated with a JSON-serialized
|
|
28
|
+
* array of {@link ErrorItem}s (or removed when empty). This allows external
|
|
29
|
+
* CSS selectors and parent components to detect error states declaratively.
|
|
30
|
+
*
|
|
31
|
+
* @param component - The Stencil component instance
|
|
32
|
+
* @returns An {@link ErrorDispatcher} for adding, replacing, and removing errors
|
|
33
|
+
*/
|
|
34
|
+
declare const withHasError: (component: any) => ErrorDispatcher;
|
|
35
|
+
export default withHasError;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mixin that provides i18n translation support to a Stencil component.
|
|
3
|
+
*
|
|
4
|
+
* Returns an object with a `t(key, data?)` function for looking up translated strings.
|
|
5
|
+
*
|
|
6
|
+
* **Key resolution shortcuts:**
|
|
7
|
+
* - A key starting with `.` (e.g. `.label`) is expanded to `<component-tag>.label`,
|
|
8
|
+
* allowing components to reference their own translations concisely.
|
|
9
|
+
* - If the key is not found in the component's namespace, the `_system` namespace
|
|
10
|
+
* is used as a fallback.
|
|
11
|
+
*
|
|
12
|
+
* **Mustache-style interpolation:** `{{variable}}` placeholders in translation
|
|
13
|
+
* templates are replaced with values from the optional `data` object.
|
|
14
|
+
*
|
|
15
|
+
* The mixin observes the `namespace` attribute on the host element and re-renders
|
|
16
|
+
* the component when the locale store updates for the active namespace.
|
|
17
|
+
*
|
|
18
|
+
* @param component - The Stencil component instance
|
|
19
|
+
* @returns Object containing the `t` translation function
|
|
20
|
+
*/
|
|
21
|
+
declare const withTranslation: (component: any) => {
|
|
22
|
+
t: (key: string, data?: object) => any;
|
|
23
|
+
};
|
|
24
|
+
export default withTranslation;
|
package/loader/cdn.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../dist/cjs/loader.cjs.js');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../dist/cjs/loader.cjs.js');
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export * from '../dist/types/components';
|
|
2
|
+
export interface CustomElementsDefineOptions {
|
|
3
|
+
exclude?: string[];
|
|
4
|
+
resourcesUrl?: string;
|
|
5
|
+
syncQueue?: boolean;
|
|
6
|
+
jmp?: (c: Function) => any;
|
|
7
|
+
raf?: (c: FrameRequestCallback) => number;
|
|
8
|
+
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
9
|
+
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): void;
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated
|
|
14
|
+
*/
|
|
15
|
+
export declare function applyPolyfills(): Promise<void>;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Used to specify a nonce value that corresponds with an application's CSP.
|
|
19
|
+
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
|
20
|
+
* Alternatively, the nonce value can be set on a meta tag in the DOM head
|
|
21
|
+
* (<meta name="csp-nonce" content="{ nonce value here }" />) which
|
|
22
|
+
* will result in the same behavior.
|
|
23
|
+
*/
|
|
24
|
+
export declare function setNonce(nonce: string): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/esm/loader.js';
|
package/loader/index.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
|
|
2
|
+
export * from '../dist/esm/loader.js';
|
package/package.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@bino-bi/bn-template-engine",
|
|
3
|
+
"version": "1.0.0-alpha.0",
|
|
4
|
+
"description": "IBCS-compliant web components for business intelligence tables and charts",
|
|
5
|
+
"main": "dist/index.cjs.js",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"es2015": "dist/esm/index.mjs",
|
|
8
|
+
"es2017": "dist/esm/index.mjs",
|
|
9
|
+
"types": "dist/types/components.d.ts",
|
|
10
|
+
"collection": "dist/collection/collection-manifest.json",
|
|
11
|
+
"collection:main": "dist/collection/index.js",
|
|
12
|
+
"unpkg": "dist/bn-template-engine/bn-template-engine.esm.js",
|
|
13
|
+
"files": [
|
|
14
|
+
"dist/",
|
|
15
|
+
"loader/"
|
|
16
|
+
],
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git@github.com:bino-bi/bn-template-engine.git"
|
|
20
|
+
},
|
|
21
|
+
"scripts": {
|
|
22
|
+
"build": "stencil build --docs",
|
|
23
|
+
"start": "stencil build --dev --watch --serve",
|
|
24
|
+
"test": "stencil test --spec --e2e",
|
|
25
|
+
"test.watch": "stencil test --spec --e2e --watchAll",
|
|
26
|
+
"dependencies.update": "npx npm-upgrade check",
|
|
27
|
+
"exportdoc": "node scripts/docExporter.js ../www/docs/product/components/",
|
|
28
|
+
"lint": "eslint src/",
|
|
29
|
+
"lint:fix": "eslint src/ --fix",
|
|
30
|
+
"format": "prettier --write \"src/**/*.{ts,tsx,scss,css,json}\"",
|
|
31
|
+
"format:check": "prettier --check \"src/**/*.{ts,tsx,scss,css,json}\"",
|
|
32
|
+
"release": "standard-version",
|
|
33
|
+
"release:alpha": "standard-version --prerelease alpha",
|
|
34
|
+
"release:beta": "standard-version --prerelease beta",
|
|
35
|
+
"release:rc": "standard-version --prerelease rc",
|
|
36
|
+
"prepare": "husky"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@eslint/js": "^10.0.1",
|
|
40
|
+
"@stencil/core": "^4.43.2",
|
|
41
|
+
"@stencil/sass": "^3.2.3",
|
|
42
|
+
"@stencil/store": "^2.2.2",
|
|
43
|
+
"@types/jest": "^29.5.14",
|
|
44
|
+
"eslint": "^10.0.2",
|
|
45
|
+
"eslint-config-prettier": "^10.1.8",
|
|
46
|
+
"husky": "^9.1.7",
|
|
47
|
+
"jest": "^29.7.0",
|
|
48
|
+
"jest-cli": "^29.7.0",
|
|
49
|
+
"lint-staged": "^16.3.1",
|
|
50
|
+
"prettier": "^3.8.1",
|
|
51
|
+
"puppeteer": "24.37.5",
|
|
52
|
+
"standard-version": "^9.5.0",
|
|
53
|
+
"typescript": "^5.9.3",
|
|
54
|
+
"typescript-eslint": "^8.56.1"
|
|
55
|
+
},
|
|
56
|
+
"license": "MIT",
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"@corex/deepmerge": "^4.0.43",
|
|
59
|
+
"@emotion/hash": "^0.9.2",
|
|
60
|
+
"@svgdotjs/svg.js": "^3.2.5",
|
|
61
|
+
"alasql": "^4.17.0",
|
|
62
|
+
"calculate-size": "^1.1.1",
|
|
63
|
+
"leaflet": "^1.9.4",
|
|
64
|
+
"leaflet-gpx": "^2.2.0",
|
|
65
|
+
"luxon": "^3.7.2",
|
|
66
|
+
"nanoid": "^5.1.6"
|
|
67
|
+
}
|
|
68
|
+
}
|
package/readme.md
ADDED
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
# bn-template-engine
|
|
2
|
+
|
|
3
|
+
IBCS-compliant web components for business intelligence visualizations.
|
|
4
|
+
|
|
5
|
+
[](LICENSE)
|
|
6
|
+
[](https://www.npmjs.com/package/@bino-bi/bn-template-engine)
|
|
7
|
+
|
|
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.
|
|
9
|
+
|
|
10
|
+
## Installation
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npm install @bino-bi/bn-template-engine
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
See the [Installation Guide](doc/installation.md) for framework integration, ES Module import maps, and CDN script tag options.
|
|
17
|
+
|
|
18
|
+
## Quick Start
|
|
19
|
+
|
|
20
|
+
```html
|
|
21
|
+
<!DOCTYPE html>
|
|
22
|
+
<html>
|
|
23
|
+
<head>
|
|
24
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@bino-bi/bn-template-engine/dist/bn-template-engine/bn-template-engine.esm.js"></script>
|
|
25
|
+
</head>
|
|
26
|
+
<body>
|
|
27
|
+
|
|
28
|
+
<bn-context locale="en">
|
|
29
|
+
|
|
30
|
+
<bn-datasource name="revenue">
|
|
31
|
+
[
|
|
32
|
+
{ "category": "Software", "ac1": 150, "pl1": 140 },
|
|
33
|
+
{ "category": "Services", "ac1": 90, "pl1": 100 },
|
|
34
|
+
{ "category": "Hardware", "ac1": 60, "pl1": 55 }
|
|
35
|
+
]
|
|
36
|
+
</bn-datasource>
|
|
37
|
+
|
|
38
|
+
<bn-dataset name="revenue" datasources="revenue">
|
|
39
|
+
SELECT category, SUM(ac1) as ac1, SUM(pl1) as pl1 FROM revenue GROUP BY category
|
|
40
|
+
</bn-dataset>
|
|
41
|
+
|
|
42
|
+
<bn-page format="hd" orientation="landscape">
|
|
43
|
+
<bn-title
|
|
44
|
+
business-unit="ACME Corp"
|
|
45
|
+
scenarios="ac1,pl1"
|
|
46
|
+
measures='[{"name":"Revenue","unit":"mEUR"}]'>
|
|
47
|
+
</bn-title>
|
|
48
|
+
<bn-body>
|
|
49
|
+
<bn-table scenarios="ac1,pl1" variances="dac1_pl1_pos"></bn-table>
|
|
50
|
+
</bn-body>
|
|
51
|
+
</bn-page>
|
|
52
|
+
|
|
53
|
+
</bn-context>
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
This renders an IBCS-compliant table comparing actual vs. plan revenue with an absolute variance column.
|
|
57
|
+
|
|
58
|
+
## Architecture
|
|
59
|
+
|
|
60
|
+
Data flows through three layers:
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
bn-datasource → bn-dataset → Visualization (bn-table, bn-chart-time, bn-chart-structure)
|
|
64
|
+
(raw JSON) (SQL query) (renders IBCS output)
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
1. **`<bn-datasource>`** — Receives raw JSON data and stores it by name
|
|
68
|
+
2. **`<bn-dataset>`** — Queries datasources using [AlaSQL](https://alasql.org/) and stores results
|
|
69
|
+
3. **Visualization components** — Subscribe to datasets and render tables or charts
|
|
70
|
+
|
|
71
|
+
All components must be wrapped in a **`<bn-context>`** element, which provides scoped state management and locale configuration.
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
<bn-context locale="en">
|
|
75
|
+
├── <bn-datasource> Raw data input
|
|
76
|
+
├── <bn-dataset> SQL query layer
|
|
77
|
+
├── <bn-component-style> Theming (optional)
|
|
78
|
+
├── <bn-internationalization> i18n (optional)
|
|
79
|
+
├── <bn-asset> Images/resources (optional)
|
|
80
|
+
│
|
|
81
|
+
├── <bn-page> Page container
|
|
82
|
+
│ ├── <bn-title> IBCS title block
|
|
83
|
+
│ ├── <bn-body> Content area
|
|
84
|
+
│ │ ├── <bn-table> Data table
|
|
85
|
+
│ │ ├── <bn-chart-time> Time series chart
|
|
86
|
+
│ │ └── <bn-chart-structure> Structure chart
|
|
87
|
+
│ └── <bn-footer> Footer
|
|
88
|
+
│
|
|
89
|
+
└── <bn-template> Multi-page wrapper (optional)
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## Components
|
|
93
|
+
|
|
94
|
+
### Core Data Flow
|
|
95
|
+
|
|
96
|
+
| Component | Description |
|
|
97
|
+
|-----------|-------------|
|
|
98
|
+
| [`<bn-context>`](src/components/bn-context/readme.md) | Root wrapper providing scoped stores and locale |
|
|
99
|
+
| [`<bn-datasource>`](src/components/bn-datasource/readme.md) | Ingests raw JSON data |
|
|
100
|
+
| [`<bn-dataset>`](src/components/bn-dataset/readme.md) | Queries datasources with AlaSQL |
|
|
101
|
+
|
|
102
|
+
### Visualization
|
|
103
|
+
|
|
104
|
+
| Component | Description |
|
|
105
|
+
|-----------|-------------|
|
|
106
|
+
| [`<bn-table>`](src/components/bn-table/readme.md) | IBCS data table with grouping, drill-down, and variances |
|
|
107
|
+
| [`<bn-chart-time>`](src/components/bn-chart-time/readme.md) | Time series bar/line chart |
|
|
108
|
+
| [`<bn-chart-structure>`](src/components/bn-chart-structure/readme.md) | Categorical/structural bar chart |
|
|
109
|
+
|
|
110
|
+
### Layout
|
|
111
|
+
|
|
112
|
+
| Component | Description |
|
|
113
|
+
|-----------|-------------|
|
|
114
|
+
| [`<bn-page>`](src/components/bn-page/readme.md) | Page container with format and orientation |
|
|
115
|
+
| [`<bn-body>`](src/components/bn-body/readme.md) | Content area within a page |
|
|
116
|
+
| [`<bn-card>`](src/components/bn-card/readme.md) | Card container |
|
|
117
|
+
| [`<bn-grid>`](src/components/bn-grid/readme.md) | CSS Grid layout with headers and borders |
|
|
118
|
+
| [`<bn-layout-page>`](src/components/bn-layout-page/readme.md) | High-level page layout with card arrangements |
|
|
119
|
+
| [`<bn-layout-card>`](src/components/bn-layout-card/readme.md) | Card layout with grid patterns |
|
|
120
|
+
| [`<bn-template>`](src/components/bn-template/readme.md) | Multi-page template container |
|
|
121
|
+
|
|
122
|
+
### Content
|
|
123
|
+
|
|
124
|
+
| Component | Description |
|
|
125
|
+
|-----------|-------------|
|
|
126
|
+
| [`<bn-title>`](src/components/bn-title/readme.md) | IBCS title block (business unit, scenarios, measures, dates) |
|
|
127
|
+
| [`<bn-text>`](src/components/bn-text/readme.md) | Template text with dataset interpolation |
|
|
128
|
+
| [`<bn-footer>`](src/components/bn-footer/readme.md) | Page footer with text and page numbers |
|
|
129
|
+
| [`<bn-image>`](src/components/bn-image/readme.md) | Image display |
|
|
130
|
+
| [`<bn-message>`](src/components/bn-message/readme.md) | Message display |
|
|
131
|
+
| [`<bn-asset>`](src/components/bn-asset/readme.md) | Asset/resource registration |
|
|
132
|
+
|
|
133
|
+
### Specialized
|
|
134
|
+
|
|
135
|
+
| Component | Description |
|
|
136
|
+
|-----------|-------------|
|
|
137
|
+
| [`<bn-map>`](src/components/bn-map/readme.md) | Interactive Leaflet map with markers and GPX tracks |
|
|
138
|
+
| [`<bn-tree>`](src/components/bn-tree/readme.md) | Hierarchical tree diagram with SVG edges |
|
|
139
|
+
|
|
140
|
+
### Configuration
|
|
141
|
+
|
|
142
|
+
| Component | Description |
|
|
143
|
+
|-----------|-------------|
|
|
144
|
+
| [`<bn-component-style>`](src/components/bn-component-style/readme.md) | Theme/style configuration |
|
|
145
|
+
| [`<bn-internationalization>`](src/components/bn-internationalization/readme.md) | Translation/locale configuration |
|
|
146
|
+
|
|
147
|
+
## Concept Guides
|
|
148
|
+
|
|
149
|
+
- [Data Model](doc/data-model.md) — Scenarios, variances, grouping fields, operations
|
|
150
|
+
- [Theming](doc/theming.md) — Colors, fonts, chart styles, style layers
|
|
151
|
+
- [Internationalization](doc/internationalization.md) — Locale setup, translations, scenario labels
|
|
152
|
+
- [Installation](doc/installation.md) — npm, CDN, framework integration
|
|
153
|
+
|
|
154
|
+
## Browser Support
|
|
155
|
+
|
|
156
|
+
bn-template-engine uses standard [Web Components](https://developer.mozilla.org/en-US/docs/Web/API/Web_components) (Custom Elements v1). Supported in all modern browsers:
|
|
157
|
+
|
|
158
|
+
- Chrome / Edge 79+
|
|
159
|
+
- Firefox 63+
|
|
160
|
+
- Safari 10.1+
|
|
161
|
+
|
|
162
|
+
## License
|
|
163
|
+
|
|
164
|
+
[MIT](LICENSE)
|