@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,373 @@
|
|
|
1
|
+
import { TableDataRow } from "./utils/model/TableDataRow";
|
|
2
|
+
/**
|
|
3
|
+
* Public-facing wrapper for the IBCS table component.
|
|
4
|
+
*
|
|
5
|
+
* Accepts user-facing string/number props, validates them, and converts
|
|
6
|
+
* them into the typed internal format expected by `ibcs-table`. Handles
|
|
7
|
+
* auto-scaling, dataset subscription (via `withDataset`), and i18n setup.
|
|
8
|
+
* The actual table rendering (header, body, drill-down rows) is delegated
|
|
9
|
+
* to the inner `ibcs-table` element.
|
|
10
|
+
*/
|
|
11
|
+
export declare class Table {
|
|
12
|
+
private element;
|
|
13
|
+
private readonly t;
|
|
14
|
+
private readonly errors;
|
|
15
|
+
private readonly componentStyle;
|
|
16
|
+
data: TableDataRow[];
|
|
17
|
+
private datasetMeta;
|
|
18
|
+
private appliedScaleFactor;
|
|
19
|
+
/**
|
|
20
|
+
* Controls proportional scaling of the entire table relative to the
|
|
21
|
+
* available parent width. All visual dimensions scale together: font size,
|
|
22
|
+
* em-based spacing/padding, SVG bar-chart widths, pin lengths, dot radii,
|
|
23
|
+
* pattern fills, axis strokes, and label offsets.
|
|
24
|
+
*
|
|
25
|
+
* Scaling is driven by a single factor applied to the base font size
|
|
26
|
+
* (`global.fontSizePx` from the component-style store, default 13.3333 px).
|
|
27
|
+
* Because the table's SCSS uses `em` units for padding, borders, and
|
|
28
|
+
* column widths, changing the font size cascades to all layout dimensions.
|
|
29
|
+
* SVG elements (bars, pins, patterns) receive the factor via the
|
|
30
|
+
* `scaleFactor` prop on `ibcs-table` and multiply every pixel constant
|
|
31
|
+
* by it, so they stay proportional to the surrounding text.
|
|
32
|
+
*
|
|
33
|
+
* | Value | Behavior |
|
|
34
|
+
* |---------------------|----------------------------------------------------------------------------------|
|
|
35
|
+
* | not set / `""` | Auto-scale to fit parent width; emit `AUTO_scale` warning with the applied factor |
|
|
36
|
+
* | `"none"` | No scaling (render at base font size regardless of available space) |
|
|
37
|
+
* | `"auto"` | Auto-scale to fit parent width silently (no warning) |
|
|
38
|
+
* | `"0.5"`, `"1.2"`, … | Fixed factor — apply `baseFontSize × factor` |
|
|
39
|
+
*
|
|
40
|
+
* **Auto-scale algorithm** (modes `""` and `"auto"`):
|
|
41
|
+
* 1. After each render, the CSS variable `--bn-font-size` is temporarily
|
|
42
|
+
* reset to the unscaled base size and a synchronous reflow is forced.
|
|
43
|
+
* 2. The unscaled `scrollWidth` of the table container is compared against
|
|
44
|
+
* the parent's content-box width (via `getParentDimensions`).
|
|
45
|
+
* 3. If the table overflows, `factor = parentWidth / unscaledScrollWidth`
|
|
46
|
+
* is computed and applied to both the CSS variable and the
|
|
47
|
+
* `appliedScaleFactor` state (which re-renders the SVG charts).
|
|
48
|
+
* 4. A guard flag (`_autoScaleGuard`) prevents the subsequent
|
|
49
|
+
* state-triggered re-render from re-measuring, avoiding an infinite
|
|
50
|
+
* measure → scale → fits → reset → overflow loop.
|
|
51
|
+
*
|
|
52
|
+
* Invalid values (negative numbers, non-numeric strings that are not
|
|
53
|
+
* `"none"` or `"auto"`) fall back to the default behaviour (auto + warning)
|
|
54
|
+
* and emit an `ERR_scale` warning.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* // Auto-scale to parent (silent)
|
|
58
|
+
* <bn-table scale="auto" ...></bn-table>
|
|
59
|
+
*
|
|
60
|
+
* // Fixed 50 % reduction
|
|
61
|
+
* <bn-table scale="0.5" ...></bn-table>
|
|
62
|
+
*
|
|
63
|
+
* // Double size
|
|
64
|
+
* <bn-table scale="2" ...></bn-table>
|
|
65
|
+
*
|
|
66
|
+
* // No scaling — always render at base font size
|
|
67
|
+
* <bn-table scale="none" ...></bn-table>
|
|
68
|
+
*/
|
|
69
|
+
scale?: string;
|
|
70
|
+
validateScaling(newValue: string): void;
|
|
71
|
+
constructor();
|
|
72
|
+
/**
|
|
73
|
+
* A not mundane tile which should describes the shown data.
|
|
74
|
+
*/
|
|
75
|
+
tableTitle: string;
|
|
76
|
+
/**
|
|
77
|
+
* AlaSQL WHERE clause fragment injected into the data query to filter
|
|
78
|
+
* rows before rendering (e.g. `"category = 'Sales'"`).
|
|
79
|
+
*/
|
|
80
|
+
filter: string;
|
|
81
|
+
/**
|
|
82
|
+
* measureUnit displayed in table.
|
|
83
|
+
*/
|
|
84
|
+
measureUnit: string;
|
|
85
|
+
/** List of scenarios displayed in card header.
|
|
86
|
+
* <br /><br />
|
|
87
|
+
* If scenarios is empty string (`''` or `null`) the scenarios are omitted
|
|
88
|
+
* <br /><br />
|
|
89
|
+
* values:<br /> ```ac // fc // py // pl // null // auto```
|
|
90
|
+
* <br /><br />
|
|
91
|
+
* When set to ```auto```, scenarios are detected from the dataset silently.
|
|
92
|
+
* When left blank (and variances are also blank), scenarios are detected from the dataset with a warning.
|
|
93
|
+
*/
|
|
94
|
+
readonly scenarios: string;
|
|
95
|
+
validateScenario(newValue: string): void;
|
|
96
|
+
/** <br /> <br />
|
|
97
|
+
List of Variances
|
|
98
|
+
The additonal variances which
|
|
99
|
+
are calculated form the given scenarios.
|
|
100
|
+
the scenarios used in the variances have also
|
|
101
|
+
be defined in the *scenarios* property.
|
|
102
|
+
<br /> <br />
|
|
103
|
+
the variance is defiend as (Scenario A - ScenarioB)
|
|
104
|
+
neu. neg and pos post fix defines which value is *good*
|
|
105
|
+
a negative or a positive value.
|
|
106
|
+
<br /> <br />
|
|
107
|
+
if empty variance charts are hidden
|
|
108
|
+
<br /> <br />
|
|
109
|
+
each variance creates a chart
|
|
110
|
+
<br /> <br />
|
|
111
|
+
pattern:<br /> ```d<scenarioB>_<scenarioA>_[pos/neg/neu]```
|
|
112
|
+
*/
|
|
113
|
+
readonly variances: string;
|
|
114
|
+
validateVariances(newValue: string): void;
|
|
115
|
+
/**
|
|
116
|
+
* List of variance column names to render as bar charts instead of numbers.
|
|
117
|
+
* <br /><br />
|
|
118
|
+
* Absolute variances (d_*) render as horizontal bar charts.
|
|
119
|
+
* Relative variances (dr_*) render as pin/dot charts.
|
|
120
|
+
* <br /><br />
|
|
121
|
+
* example:<br />
|
|
122
|
+
* ```dac1_pp1_pos,drac1_pp1_pos```
|
|
123
|
+
*/
|
|
124
|
+
readonly barColumns: string;
|
|
125
|
+
validateBarColumns(newValue: string): void;
|
|
126
|
+
/**
|
|
127
|
+
* Scaling for absolute variance bar charts (ΔPY).
|
|
128
|
+
* <br /><br />
|
|
129
|
+
* Name of the 'scaling-group' which the table uses.
|
|
130
|
+
* Scaling groups are maintained globally.
|
|
131
|
+
* <br /><br />
|
|
132
|
+
* Alternatively a number which represents pixels per unit of measure.
|
|
133
|
+
* <br /><br />
|
|
134
|
+
* Example: 0.01 means 1000 units = 10 pixels width.
|
|
135
|
+
* <br /><br />
|
|
136
|
+
* Default: 0.01
|
|
137
|
+
*/
|
|
138
|
+
unitScaling: string | number;
|
|
139
|
+
validateUnitScaling(newValue: string | number): void;
|
|
140
|
+
/**
|
|
141
|
+
* Scaling for relative variance pin charts (ΔPY%).
|
|
142
|
+
* <br /><br />
|
|
143
|
+
* Name of the 'scaling-group' which the table uses.
|
|
144
|
+
* Scaling groups are maintained globally.
|
|
145
|
+
* <br /><br />
|
|
146
|
+
* Alternatively a number which represents pixels per percentage point.
|
|
147
|
+
* <br /><br />
|
|
148
|
+
* Example: 0.5 means 100% = 50 pixels width.
|
|
149
|
+
* <br /><br />
|
|
150
|
+
* Default: 0.5
|
|
151
|
+
*/
|
|
152
|
+
percentageScaling: string | number;
|
|
153
|
+
validatePercentageScaling(newValue: string | number): void;
|
|
154
|
+
private pixelPerUnitGroupMap;
|
|
155
|
+
/**
|
|
156
|
+
* Defines the data unit type of the tables data.
|
|
157
|
+
* <br /><br />
|
|
158
|
+
* If percent is chosen all data values are converted into percent
|
|
159
|
+
* (0.02 -> 2%)
|
|
160
|
+
* <br /><br />
|
|
161
|
+
* values: <br />
|
|
162
|
+
* ```percent // decimal```
|
|
163
|
+
*/
|
|
164
|
+
dataFormat: string;
|
|
165
|
+
validateDataFormat(newValue: string): void;
|
|
166
|
+
/**
|
|
167
|
+
* Toggles of data should be grouped by
|
|
168
|
+
* 'rowgroup'.
|
|
169
|
+
* <br /><br />
|
|
170
|
+
* values: <br />
|
|
171
|
+
* ```true // false```
|
|
172
|
+
*/
|
|
173
|
+
grouped: string;
|
|
174
|
+
validateGrouped(newValue: string): void;
|
|
175
|
+
/**
|
|
176
|
+
* Toggles display of measure units in table header
|
|
177
|
+
* <br /><br />
|
|
178
|
+
* values: <br />
|
|
179
|
+
* ```true // false```
|
|
180
|
+
*/
|
|
181
|
+
showMeasureScale: string;
|
|
182
|
+
validateShowMeasureScale(newValue: string): void;
|
|
183
|
+
/**
|
|
184
|
+
* Toggles a title header for each (row-)group
|
|
185
|
+
* the title header value is found set by 'rowgroup'
|
|
186
|
+
* <br /><br />
|
|
187
|
+
* values: <br />
|
|
188
|
+
* ```true // false```
|
|
189
|
+
*
|
|
190
|
+
*/
|
|
191
|
+
showGroupTitle: string;
|
|
192
|
+
validateShowGroupTitle(newValue: string): void;
|
|
193
|
+
/**
|
|
194
|
+
* Set the table type
|
|
195
|
+
* <br /><br />
|
|
196
|
+
* values: <br />
|
|
197
|
+
* ```list // sum // opt // sumnototal // optnototal```
|
|
198
|
+
*
|
|
199
|
+
*/
|
|
200
|
+
type: string;
|
|
201
|
+
validateType(newValue: string | boolean): void;
|
|
202
|
+
/**
|
|
203
|
+
* Set the maximum number of rows for each
|
|
204
|
+
* group. The value 0 means *no limit*
|
|
205
|
+
* <br /><br />
|
|
206
|
+
* rows wich where cut by the limit are cumulated as REST
|
|
207
|
+
*
|
|
208
|
+
*/
|
|
209
|
+
limit: number;
|
|
210
|
+
validateLimit(newValue: number): void;
|
|
211
|
+
/**
|
|
212
|
+
* Stringified Array of drilldown Objects {
|
|
213
|
+
"rowGroup": string,<br />
|
|
214
|
+
"category": string,<br />
|
|
215
|
+
"subCategory": string,<br />
|
|
216
|
+
},<br /><br />
|
|
217
|
+
* rowgroup, categroy defines the location of the drill
|
|
218
|
+
* subcategory is the displayed label of the data row
|
|
219
|
+
*<br /><br />
|
|
220
|
+
* example:<br />
|
|
221
|
+
* ```[{
|
|
222
|
+
"rowGroup":"Umsatz",
|
|
223
|
+
"category": "Applications",
|
|
224
|
+
"subCategory": "Applications-A",
|
|
225
|
+
},]```
|
|
226
|
+
*/
|
|
227
|
+
thereof: string;
|
|
228
|
+
validateThereOf(newValue: string): void;
|
|
229
|
+
/**
|
|
230
|
+
* Stringified Array of Partof Objects <br />{<br />
|
|
231
|
+
"rowGroup": string,<br />
|
|
232
|
+
"category": string<br />
|
|
233
|
+
},<br /><br />
|
|
234
|
+
* rowgroup, categroy defines the location of the drill
|
|
235
|
+
* percentage of category in rowgorup
|
|
236
|
+
*<br /><br />
|
|
237
|
+
* example:<br />
|
|
238
|
+
* ```[{
|
|
239
|
+
"rowGroups":"Umsatz",
|
|
240
|
+
"category": "Applications",
|
|
241
|
+
},]```
|
|
242
|
+
*/
|
|
243
|
+
partof: string;
|
|
244
|
+
validatePartOf(newValue: string): void;
|
|
245
|
+
/** List of the primary scenarios on which the order direction are applied valid scenarios are
|
|
246
|
+
* If order is set to a scenario it has also exists in scenariolist
|
|
247
|
+
* <br /><br />
|
|
248
|
+
* values: <br />
|
|
249
|
+
* ```category // categoryindex // rowgroup // rowgroup // rowgroupindex // ac[1-4] // fc[1-4] // pp[1-4] // pl[1-4] // auto```
|
|
250
|
+
* <br /><br />
|
|
251
|
+
* When set to ```auto```, order is detected from the dataset silently.
|
|
252
|
+
*/
|
|
253
|
+
order: string;
|
|
254
|
+
validateOrderList(newValue: string): void;
|
|
255
|
+
/** Set sorting order direction
|
|
256
|
+
* <br /><br />
|
|
257
|
+
* values: <br />
|
|
258
|
+
* ```asc // desc```
|
|
259
|
+
*/
|
|
260
|
+
orderDirection: string;
|
|
261
|
+
validateOrderDirection(newValue: string): void;
|
|
262
|
+
/** Sets the Measure Type of the Table
|
|
263
|
+
* volume is different displayed and interpreted as currency
|
|
264
|
+
* names of siprefix are adapted.
|
|
265
|
+
* <br /><br />
|
|
266
|
+
* values: <br />
|
|
267
|
+
* ```volume // currency```
|
|
268
|
+
|
|
269
|
+
*/
|
|
270
|
+
measureType: string;
|
|
271
|
+
validateMeasureType(newValue: string): void;
|
|
272
|
+
/**
|
|
273
|
+
* Sets the SiPrefix of the Mesaurements and converts the
|
|
274
|
+
* original value.
|
|
275
|
+
* <br /><br />
|
|
276
|
+
* values: <br />
|
|
277
|
+
* ```_ // k // M // G // T // P // E // Z // Y // m // μ // n // p // P // f // a // z // y // GREATEST // LEAST```
|
|
278
|
+
* <br /><br />
|
|
279
|
+
* SiPrefix overview:
|
|
280
|
+
* ``` "Y": 1E+24,```<br />
|
|
281
|
+
* ``` "Z": 1E+21,```<br />
|
|
282
|
+
* ``` "E": 1E+18,```<br />
|
|
283
|
+
* ``` "P": 1E+15,```<br />
|
|
284
|
+
* ``` "T": 1E+12,```<br />
|
|
285
|
+
* ``` "G": 1000000000,```<br />
|
|
286
|
+
* ``` "M": 1000000,```<br />
|
|
287
|
+
* ``` "k": 1000,```<br />
|
|
288
|
+
* <br />
|
|
289
|
+
* ``` "m": 0.001,```<br />
|
|
290
|
+
* ``` "μ": 0.000001,```<br />
|
|
291
|
+
* ``` "n": 0.000000001,```<br />
|
|
292
|
+
* ``` "p": 0.000000000001,```<br />
|
|
293
|
+
* ``` "f": 0.000000000000001,```<br />
|
|
294
|
+
* ``` "a": 0.000000000000000001,```<br />
|
|
295
|
+
* ``` "z": 0.000000000000000000001,```<br />
|
|
296
|
+
* ``` "y": 0.000000000000000000000001,```<br />
|
|
297
|
+
* <br /><br />
|
|
298
|
+
* Special modes:
|
|
299
|
+
* ```GREATEST``` seaches for the bigest (farest to zero) Value in the dataset and sets this value to SiPrefix<br />
|
|
300
|
+
* ```LEAST``` searches for smallest (closest to zero) Value in the dataset and sets this value to SiPrefix<br />
|
|
301
|
+
*<br /><br />
|
|
302
|
+
* ```_``` is the value for no SiPrefix the value is displayed as in the dataset stored.
|
|
303
|
+
*
|
|
304
|
+
*
|
|
305
|
+
*/
|
|
306
|
+
measureScale: string;
|
|
307
|
+
validateMeasureScale(newValue: string): void;
|
|
308
|
+
/**
|
|
309
|
+
* Number of decimal digits in a table cell
|
|
310
|
+
*/
|
|
311
|
+
dataFormatDigitsDecimal: number;
|
|
312
|
+
validateDataFormatDigitsDecimal(newValue: number): void;
|
|
313
|
+
/**
|
|
314
|
+
* Number of percent digits in a table cell
|
|
315
|
+
*/
|
|
316
|
+
dataFormatDigitsPercent: number;
|
|
317
|
+
validateDateFormatDigitsPercent(newValue: number): void;
|
|
318
|
+
/**
|
|
319
|
+
* Set width of category column. <br />
|
|
320
|
+
* If INF is selected the columns scaling to the min space they need
|
|
321
|
+
* seperatly.
|
|
322
|
+
* <br /><br />
|
|
323
|
+
* values:<br />
|
|
324
|
+
* ``` w5 // w10 // w15 // w20 // w25 // w50 // inf ```
|
|
325
|
+
*/
|
|
326
|
+
categoryWidth: string;
|
|
327
|
+
validateCategoryWidth(newValue: string): void;
|
|
328
|
+
/**
|
|
329
|
+
* Defines which drill-column is displayed. <br />
|
|
330
|
+
* <br /><br />
|
|
331
|
+
* ```scenario``` the scenaro to drill <br/>
|
|
332
|
+
* ```group``` is a list of child columns of the parent <br/><br/>
|
|
333
|
+
* ```subGroups``` is a list of child columns of the parent <br/><br/>
|
|
334
|
+
* example:<br />
|
|
335
|
+
* ```[{"scenario": "ac1", "name": "DE", "subGroups": ["Berlin"]},
|
|
336
|
+
* {"scenario": "ac2", "name": "UK", "subGroups": []}],
|
|
337
|
+
* ```
|
|
338
|
+
*/
|
|
339
|
+
columnthereof: string | null;
|
|
340
|
+
validateColumnThereOf(newValue: string | null): void;
|
|
341
|
+
unsubscribe: () => void;
|
|
342
|
+
componentWillLoad(): void;
|
|
343
|
+
disconnectedCallback(): void;
|
|
344
|
+
private _autoScaleGuard;
|
|
345
|
+
componentDidRender(): void;
|
|
346
|
+
private prepareDataFormat;
|
|
347
|
+
private prepareGrouped;
|
|
348
|
+
private prepareShowGroupTitle;
|
|
349
|
+
private prepareTableType;
|
|
350
|
+
private prepareLimit;
|
|
351
|
+
private prepareThereOf;
|
|
352
|
+
private preparePartOf;
|
|
353
|
+
private prepareOrder;
|
|
354
|
+
private prepareI18nMode;
|
|
355
|
+
private prepareI18n;
|
|
356
|
+
private prepareDataFormatDigits;
|
|
357
|
+
private prepareScenarios;
|
|
358
|
+
private prepareCategoryWidth;
|
|
359
|
+
private prepareMeasureScale;
|
|
360
|
+
private prepareMeasureType;
|
|
361
|
+
private prepareColumnThereOf;
|
|
362
|
+
private prepareTableTitle;
|
|
363
|
+
prepareShowMeasureScale(): boolean;
|
|
364
|
+
prepareMeasureUnit(): string;
|
|
365
|
+
private prepareFilter;
|
|
366
|
+
private prepareBarColumns;
|
|
367
|
+
private prepareUnitScaling;
|
|
368
|
+
private preparePercentageScaling;
|
|
369
|
+
getDataStructure(): any;
|
|
370
|
+
private getEffectiveScaleFactor;
|
|
371
|
+
private getFontStyles;
|
|
372
|
+
render(): any;
|
|
373
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { TableType } from "./utils/model";
|
|
2
|
+
import { TableDrillGroup } from "./utils/model/TableDrillGroup";
|
|
3
|
+
import { TableDataRow } from "./utils/model/TableDataRow";
|
|
4
|
+
import { DataFormat, I18nMode, MeasureType, TableCategoryWidth } from "../../utils/constants";
|
|
5
|
+
import { DataFormatDigits } from "../../utils/model/DataFormatDigits";
|
|
6
|
+
import { Order } from "../../utils/model/Order";
|
|
7
|
+
/**
|
|
8
|
+
* Internal rendering engine for `bn-table`.
|
|
9
|
+
*
|
|
10
|
+
* Receives pre-validated, typed props from the outer `bn-table` wrapper and
|
|
11
|
+
* builds the IBCS-compliant HTML table — including header rows, scenario
|
|
12
|
+
* columns, variance columns (with optional inline bar/pin charts), thereof/
|
|
13
|
+
* partof drill-down rows, and grouped row sections. This component should
|
|
14
|
+
* not be used directly; use `bn-table` instead.
|
|
15
|
+
*/
|
|
16
|
+
export declare class IbcsTable {
|
|
17
|
+
private element;
|
|
18
|
+
private readonly componentStyle;
|
|
19
|
+
data: TableDataRow[];
|
|
20
|
+
tableTitle: string;
|
|
21
|
+
scenarios: string[];
|
|
22
|
+
scenariosDataFormat: DataFormat;
|
|
23
|
+
grouped?: boolean;
|
|
24
|
+
limit: number;
|
|
25
|
+
showGroupTitle: boolean;
|
|
26
|
+
thereof: TableDrillGroup[];
|
|
27
|
+
partof: TableDrillGroup[];
|
|
28
|
+
order: Order;
|
|
29
|
+
categorythereof: Map<string, Record<string, unknown>[]>;
|
|
30
|
+
type: TableType;
|
|
31
|
+
categoryWidth: TableCategoryWidth;
|
|
32
|
+
dataFormatDigits: DataFormatDigits;
|
|
33
|
+
i18n: Map<string, string>;
|
|
34
|
+
i18nMode: I18nMode;
|
|
35
|
+
measureScale: string;
|
|
36
|
+
measureUnit: string;
|
|
37
|
+
showMeasureScale: boolean;
|
|
38
|
+
measureType: MeasureType;
|
|
39
|
+
filter: string;
|
|
40
|
+
barColumns: string[];
|
|
41
|
+
unitScaling: number;
|
|
42
|
+
percentageScaling: number;
|
|
43
|
+
scaleFactor: number;
|
|
44
|
+
private table;
|
|
45
|
+
private componentDataFormatDigits;
|
|
46
|
+
private barChartStyles;
|
|
47
|
+
constructor();
|
|
48
|
+
render(): any;
|
|
49
|
+
componentWillRender(): void;
|
|
50
|
+
private prepareConfig;
|
|
51
|
+
private prepareData;
|
|
52
|
+
/**
|
|
53
|
+
* Prepares bar chart styles from componentStyle store.
|
|
54
|
+
* Uses the same variance styles as bn-chart-time for consistency.
|
|
55
|
+
* Supports fillpattern for different visual treatments (solid, hatched, outlined).
|
|
56
|
+
* Scenario styles (ac, pp, fc, pl) use barStyles for IBCS-compliant grayscale coloring.
|
|
57
|
+
*/
|
|
58
|
+
private prepareBarChartStyles;
|
|
59
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { VisualisationRuleSet } from "./model";
|
|
2
|
+
import { TableRow } from "./elements";
|
|
3
|
+
import { TableComponentConfig } from "./model/TableComponentConfig";
|
|
4
|
+
import { TableDataRow } from "./model/TableDataRow";
|
|
5
|
+
/**
|
|
6
|
+
* High-level controller for IBCS table generation.
|
|
7
|
+
*
|
|
8
|
+
* Coordinates the data pipeline: raw data is filtered via AlaSQL, scenarios are
|
|
9
|
+
* sorted by the visualization rule set, and TableDataSetFactory produces the
|
|
10
|
+
* header rows (with i18n-translated labels) and body rows (with grouped/drilled data).
|
|
11
|
+
*
|
|
12
|
+
* Uses a dirty-flag pattern (FactoryState) to lazily regenerate header/body rows
|
|
13
|
+
* only when configuration, data, or i18n changes. getHeader() and getBody() trigger
|
|
14
|
+
* regeneration if the state is dirty.
|
|
15
|
+
*/
|
|
16
|
+
export declare class Table {
|
|
17
|
+
private ruleSet;
|
|
18
|
+
private config;
|
|
19
|
+
private dataSetFactory;
|
|
20
|
+
private i18n;
|
|
21
|
+
private state;
|
|
22
|
+
private data;
|
|
23
|
+
private headerRows;
|
|
24
|
+
private bodyRows;
|
|
25
|
+
/**
|
|
26
|
+
* Initialises all Variables for the DataSet, created by the factory
|
|
27
|
+
* @param ruleSet
|
|
28
|
+
*/
|
|
29
|
+
constructor(ruleSet: VisualisationRuleSet, data: TableDataRow[], config: TableComponentConfig);
|
|
30
|
+
/**
|
|
31
|
+
* Init load of translation dictionary map
|
|
32
|
+
* map is used to translate lables in the table
|
|
33
|
+
*
|
|
34
|
+
* example:
|
|
35
|
+
* ```
|
|
36
|
+
* let i18n: Map<string, string> = new Map();
|
|
37
|
+
* [{key: 'ac',value: 'AC'}].forEach(function(entry){
|
|
38
|
+
* i18n.set(entry.key, entry.value);
|
|
39
|
+
* })
|
|
40
|
+
* ```
|
|
41
|
+
* @param i18n
|
|
42
|
+
*/
|
|
43
|
+
setI18n(i18n: Map<string, string>): void;
|
|
44
|
+
private initI18n;
|
|
45
|
+
private initConfig;
|
|
46
|
+
/**
|
|
47
|
+
* loads and varifies configuration which describes
|
|
48
|
+
* the filte for the to be generated dataset
|
|
49
|
+
*
|
|
50
|
+
* missing but necessary attributes are replaced by default values
|
|
51
|
+
*
|
|
52
|
+
* @param config
|
|
53
|
+
*/
|
|
54
|
+
setConfig(config: TableComponentConfig): void;
|
|
55
|
+
setData(data: TableDataRow[], filter: string): void;
|
|
56
|
+
update(): void;
|
|
57
|
+
getHeader(): TableRow[];
|
|
58
|
+
getBody(): TableRow[];
|
|
59
|
+
private normalizeScenarios;
|
|
60
|
+
hasNoData(): boolean;
|
|
61
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { DataFormatDigits } from "../../../../components";
|
|
2
|
+
/** Min/max statistics for a single data column, used to scale inline bar charts. */
|
|
3
|
+
export interface ColumnStats {
|
|
4
|
+
min: number;
|
|
5
|
+
max: number;
|
|
6
|
+
absMax: number;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Represents a single table cell with formatting and rendering capabilities.
|
|
10
|
+
*
|
|
11
|
+
* The draw() method implements a formatting pipeline:
|
|
12
|
+
* 1. Checks for undefined/null/NaN values -- returns empty string for missing data
|
|
13
|
+
* 2. Non-numeric values (category labels) are returned as-is
|
|
14
|
+
* 3. Numeric values are routed through Formatter.number() with the cell's type
|
|
15
|
+
* (decimal or percent) and configured digit precision
|
|
16
|
+
* 4. For decimal type, the raw value is divided by measureScale before formatting,
|
|
17
|
+
* enabling SI prefix display (e.g. "in Mio EUR")
|
|
18
|
+
*/
|
|
19
|
+
export declare class Cell {
|
|
20
|
+
key: string;
|
|
21
|
+
index: number;
|
|
22
|
+
prefix: string;
|
|
23
|
+
value: number | string | null;
|
|
24
|
+
cssStyle: string;
|
|
25
|
+
prefixStyle: string;
|
|
26
|
+
type: string | null;
|
|
27
|
+
mark: string | undefined;
|
|
28
|
+
colSpan: number;
|
|
29
|
+
isBarChart: boolean;
|
|
30
|
+
columnStats?: ColumnStats;
|
|
31
|
+
measureScale: number;
|
|
32
|
+
constructor(scenario: string, index: number, value: number | string | null, cssStyle: string | null, type: string | null, prefix: string | null, prefixStyle: string | null, colSpan: number | null, measureScale: number | null | undefined);
|
|
33
|
+
getAsHeaderList(): Array<string | number>;
|
|
34
|
+
draw(dataFormatDigits: DataFormatDigits): string | number;
|
|
35
|
+
drawPrefix(): string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { FunctionalComponent } from "../../../../stencil-public-runtime";
|
|
2
|
+
import { ColumnStats } from "./Cell";
|
|
3
|
+
export interface VarianceStyle {
|
|
4
|
+
stroke: string;
|
|
5
|
+
fill: string;
|
|
6
|
+
fillpattern?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ScenarioStyles {
|
|
9
|
+
ac: VarianceStyle;
|
|
10
|
+
pp: VarianceStyle;
|
|
11
|
+
fc: VarianceStyle;
|
|
12
|
+
pl: VarianceStyle;
|
|
13
|
+
}
|
|
14
|
+
export interface CellBarChartStyles {
|
|
15
|
+
positive: VarianceStyle;
|
|
16
|
+
negative: VarianceStyle;
|
|
17
|
+
neutral: VarianceStyle;
|
|
18
|
+
scenarios: ScenarioStyles;
|
|
19
|
+
fontColor: string;
|
|
20
|
+
fontSize: number;
|
|
21
|
+
fontFamily: string;
|
|
22
|
+
unitScaling: number;
|
|
23
|
+
percentageScaling: number;
|
|
24
|
+
scaleFactor: number;
|
|
25
|
+
}
|
|
26
|
+
export interface CellBarChartProps {
|
|
27
|
+
value: number;
|
|
28
|
+
scenario: string;
|
|
29
|
+
columnStats: ColumnStats;
|
|
30
|
+
height: number;
|
|
31
|
+
isRelative: boolean;
|
|
32
|
+
isPositiveGood: boolean;
|
|
33
|
+
formattedValue?: string;
|
|
34
|
+
measureScale?: number;
|
|
35
|
+
styles?: CellBarChartStyles;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* CellBarChart - Renders IBCS-compliant variance bar charts.
|
|
39
|
+
*
|
|
40
|
+
* Absolute variance (d_ prefix): Horizontal bars with centered axis
|
|
41
|
+
* Relative variance (dr_ prefix): Pin/dot charts with value indication
|
|
42
|
+
*
|
|
43
|
+
* Uses componentStyle patterns from chart components for consistent styling.
|
|
44
|
+
*/
|
|
45
|
+
export declare const CellBarChart: FunctionalComponent<CellBarChartProps>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { TableCategoryWidth } from "../../../../utils/constants";
|
|
2
|
+
import { TableRowType } from "../model";
|
|
3
|
+
import { Cell, ColumnStats } from "./Cell";
|
|
4
|
+
/**
|
|
5
|
+
* Represents a single row in an IBCS table, containing an ordered list of Cells.
|
|
6
|
+
*
|
|
7
|
+
* The CSS class is determined by the TableRowType:
|
|
8
|
+
* - HEADER -> "groupheader"
|
|
9
|
+
* - SEPERATORLINE -> "" (styled via cell-level scenario classes)
|
|
10
|
+
* - DRILLELEMENT -> "ofit" (thereof rows)
|
|
11
|
+
* - PARTELEMENT -> "partof" (percentage-of-parent rows)
|
|
12
|
+
* - SUM -> "sum"
|
|
13
|
+
* - STANDARD -> ""
|
|
14
|
+
*
|
|
15
|
+
* createElement() applies type-specific overrides:
|
|
16
|
+
* - HEADER rows force "headerlabel" CSS on all cells
|
|
17
|
+
* - SEPERATORLINE rows use the scenario name as CSS class for border styling
|
|
18
|
+
* - PARTELEMENT rows show "-" for percent cells and force percent type on data cells
|
|
19
|
+
*/
|
|
20
|
+
export declare class TableRow {
|
|
21
|
+
index: number;
|
|
22
|
+
groupindex: number;
|
|
23
|
+
type: TableRowType;
|
|
24
|
+
cssStyle: string;
|
|
25
|
+
elements: Cell[];
|
|
26
|
+
constructor(index: number, groupIndex: number, type: TableRowType);
|
|
27
|
+
private initCssStyle;
|
|
28
|
+
getCells(): Cell[];
|
|
29
|
+
createElement(value: string | number | null, scenario: string, columnType: string | null, cellType: string | null, prefix: string | null, cellStyle: string | null, isSecondaryElement: boolean | null, categoryWidth: TableCategoryWidth | null | undefined, measureScale: number | null | undefined, isBarChart?: boolean, columnStats?: ColumnStats): void;
|
|
30
|
+
}
|