@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,130 @@
|
|
|
1
|
+
import { Fragment, h } from "@stencil/core";
|
|
2
|
+
import { BN_INTERNATIONALIZATION_KEYS } from "../../stores/internationalization";
|
|
3
|
+
import { getStores } from "../../context/context-protocol";
|
|
4
|
+
/**
|
|
5
|
+
* Headless helper component for editor integration.
|
|
6
|
+
*
|
|
7
|
+
* Exposes public `@Method()` APIs so an external editor can query
|
|
8
|
+
* i18n keys and distinct data values from datasources/datasets at
|
|
9
|
+
* design time (e.g. for autocompletion or property pickers).
|
|
10
|
+
*/
|
|
11
|
+
export class EditorCompanion {
|
|
12
|
+
constructor() {
|
|
13
|
+
this.distinctCache = new Map();
|
|
14
|
+
}
|
|
15
|
+
connectedCallback() {
|
|
16
|
+
this.stores = getStores(this.element);
|
|
17
|
+
}
|
|
18
|
+
internationalizationKeys() {
|
|
19
|
+
return Promise.resolve(BN_INTERNATIONALIZATION_KEYS);
|
|
20
|
+
}
|
|
21
|
+
getDistinctFromDataSource(dataSourceName, key) {
|
|
22
|
+
const cacheKey = `datasource:${dataSourceName}:${key}`;
|
|
23
|
+
if (this.distinctCache.has(cacheKey)) {
|
|
24
|
+
return Promise.resolve(this.distinctCache.get(cacheKey));
|
|
25
|
+
}
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
const result = this.distinct(this.stores.datasources.get(dataSourceName) || [], key);
|
|
28
|
+
this.distinctCache.set(cacheKey, result);
|
|
29
|
+
return Promise.resolve(result);
|
|
30
|
+
}
|
|
31
|
+
getDistinctFromDataset(datasetName, key) {
|
|
32
|
+
const cacheKey = `dataset:${datasetName}:${key}`;
|
|
33
|
+
if (this.distinctCache.has(cacheKey)) {
|
|
34
|
+
return Promise.resolve(this.distinctCache.get(cacheKey));
|
|
35
|
+
}
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
const result = this.distinct(this.stores.datasets.get(datasetName) || [], key);
|
|
38
|
+
this.distinctCache.set(cacheKey, result);
|
|
39
|
+
return Promise.resolve(result);
|
|
40
|
+
}
|
|
41
|
+
render() {
|
|
42
|
+
return h(Fragment, { key: '1380161960ef3791df5ddf8314818ae135d01de9' });
|
|
43
|
+
}
|
|
44
|
+
distinct(data, key) {
|
|
45
|
+
return [...new Set(data.map((d) => d[key]))].filter((v) => v !== null && v !== undefined);
|
|
46
|
+
}
|
|
47
|
+
static get is() { return "editor-companion"; }
|
|
48
|
+
static get originalStyleUrls() {
|
|
49
|
+
return {
|
|
50
|
+
"$": ["editor-companion.scss"]
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
static get styleUrls() {
|
|
54
|
+
return {
|
|
55
|
+
"$": ["editor-companion.css"]
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
static get methods() {
|
|
59
|
+
return {
|
|
60
|
+
"internationalizationKeys": {
|
|
61
|
+
"complexType": {
|
|
62
|
+
"signature": "() => Promise<string[]>",
|
|
63
|
+
"parameters": [],
|
|
64
|
+
"references": {
|
|
65
|
+
"Promise": {
|
|
66
|
+
"location": "global",
|
|
67
|
+
"id": "global::Promise"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"return": "Promise<string[]>"
|
|
71
|
+
},
|
|
72
|
+
"docs": {
|
|
73
|
+
"text": "",
|
|
74
|
+
"tags": []
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"getDistinctFromDataSource": {
|
|
78
|
+
"complexType": {
|
|
79
|
+
"signature": "(dataSourceName: string, key: string) => Promise<unknown[]>",
|
|
80
|
+
"parameters": [{
|
|
81
|
+
"name": "dataSourceName",
|
|
82
|
+
"type": "string",
|
|
83
|
+
"docs": ""
|
|
84
|
+
}, {
|
|
85
|
+
"name": "key",
|
|
86
|
+
"type": "string",
|
|
87
|
+
"docs": ""
|
|
88
|
+
}],
|
|
89
|
+
"references": {
|
|
90
|
+
"Promise": {
|
|
91
|
+
"location": "global",
|
|
92
|
+
"id": "global::Promise"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"return": "Promise<unknown[]>"
|
|
96
|
+
},
|
|
97
|
+
"docs": {
|
|
98
|
+
"text": "",
|
|
99
|
+
"tags": []
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"getDistinctFromDataset": {
|
|
103
|
+
"complexType": {
|
|
104
|
+
"signature": "(datasetName: string, key: string) => Promise<unknown[]>",
|
|
105
|
+
"parameters": [{
|
|
106
|
+
"name": "datasetName",
|
|
107
|
+
"type": "string",
|
|
108
|
+
"docs": ""
|
|
109
|
+
}, {
|
|
110
|
+
"name": "key",
|
|
111
|
+
"type": "string",
|
|
112
|
+
"docs": ""
|
|
113
|
+
}],
|
|
114
|
+
"references": {
|
|
115
|
+
"Promise": {
|
|
116
|
+
"location": "global",
|
|
117
|
+
"id": "global::Promise"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"return": "Promise<unknown[]>"
|
|
121
|
+
},
|
|
122
|
+
"docs": {
|
|
123
|
+
"text": "",
|
|
124
|
+
"tags": []
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
static get elementRef() { return "element"; }
|
|
130
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Scoped store resolution for `<bn-context>`.
|
|
3
|
+
*
|
|
4
|
+
* Each `<bn-context>` element owns its own set of `@stencil/store` instances.
|
|
5
|
+
* Because Stencil does NOT guarantee parent-before-child initialization order,
|
|
6
|
+
* stores are created lazily: the first component that calls `getStores()` walks
|
|
7
|
+
* the DOM to find the nearest `<bn-context>` element and creates (or retrieves)
|
|
8
|
+
* the stores for it. When `<bn-context>` itself initializes, it picks up the
|
|
9
|
+
* already-created stores from the registry.
|
|
10
|
+
*
|
|
11
|
+
* @module context/context-protocol
|
|
12
|
+
*/
|
|
13
|
+
import { createScopedStores } from "../stores/createScopedStores";
|
|
14
|
+
/**
|
|
15
|
+
* Module-level registry mapping `<bn-context>` DOM elements to their stores.
|
|
16
|
+
* Stores are created lazily by `getOrCreateStores()` — whichever component
|
|
17
|
+
* initializes first triggers creation for its ancestor `<bn-context>`.
|
|
18
|
+
*/
|
|
19
|
+
const contextRegistry = new WeakMap();
|
|
20
|
+
/**
|
|
21
|
+
* Returns the stores for a `<bn-context>` element, creating them if needed.
|
|
22
|
+
* Called both by descendant components (via `getStores()`) and by the
|
|
23
|
+
* `<bn-context>` component itself during its initialization.
|
|
24
|
+
*/
|
|
25
|
+
export function getOrCreateStores(contextElement) {
|
|
26
|
+
let stores = contextRegistry.get(contextElement);
|
|
27
|
+
if (!stores) {
|
|
28
|
+
stores = createScopedStores();
|
|
29
|
+
contextRegistry.set(contextElement, stores);
|
|
30
|
+
}
|
|
31
|
+
return stores;
|
|
32
|
+
}
|
|
33
|
+
const storesCache = new WeakMap();
|
|
34
|
+
/**
|
|
35
|
+
* Walks up the DOM tree (crossing shadow boundaries) to find the nearest
|
|
36
|
+
* `<bn-context>` ancestor element.
|
|
37
|
+
*/
|
|
38
|
+
function findContextElement(element) {
|
|
39
|
+
var _a;
|
|
40
|
+
let current = element.parentNode;
|
|
41
|
+
while (current) {
|
|
42
|
+
if (current instanceof HTMLElement && ((_a = current.nodeName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === "bn-context") {
|
|
43
|
+
return current;
|
|
44
|
+
}
|
|
45
|
+
if (current.parentNode) {
|
|
46
|
+
current = current.parentNode;
|
|
47
|
+
}
|
|
48
|
+
else if (current instanceof ShadowRoot) {
|
|
49
|
+
current = current.host;
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Resolves scoped stores from the nearest `<bn-context>` ancestor.
|
|
59
|
+
*
|
|
60
|
+
* Walks the DOM tree to find the nearest `<bn-context>` element, then
|
|
61
|
+
* returns (or lazily creates) the stores for it. This works regardless
|
|
62
|
+
* of Stencil component initialization order because it only depends on
|
|
63
|
+
* the native DOM tree being in place.
|
|
64
|
+
*
|
|
65
|
+
* Results are cached per element in a WeakMap.
|
|
66
|
+
*
|
|
67
|
+
* @throws Error if no `<bn-context>` ancestor is found in the DOM
|
|
68
|
+
*/
|
|
69
|
+
export function getStores(element) {
|
|
70
|
+
const cached = storesCache.get(element);
|
|
71
|
+
if (cached)
|
|
72
|
+
return cached;
|
|
73
|
+
const contextEl = findContextElement(element);
|
|
74
|
+
if (!contextEl) {
|
|
75
|
+
throw new Error(`[bn] <${element.localName}> must be inside a <bn-context>. No ancestor <bn-context> found.`);
|
|
76
|
+
}
|
|
77
|
+
const stores = getOrCreateStores(contextEl);
|
|
78
|
+
storesCache.set(element, stores);
|
|
79
|
+
return stores;
|
|
80
|
+
}
|
|
81
|
+
/** Removes the cached stores entry for an element (call in `disconnectedCallback`). */
|
|
82
|
+
export function clearStoresCache(element) {
|
|
83
|
+
storesCache.delete(element);
|
|
84
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type documentation for the assets store.
|
|
3
|
+
*
|
|
4
|
+
* Stores reusable binary assets, keyed by asset name. Values are data-URI
|
|
5
|
+
* strings (e.g. `data:image/png;base64,...`) that components can reference
|
|
6
|
+
* for inline images, icons, or other embedded resources without additional
|
|
7
|
+
* network requests.
|
|
8
|
+
*
|
|
9
|
+
* Store instances are created per `<bn-context>` via `createScopedStores()`.
|
|
10
|
+
*
|
|
11
|
+
* @module stores/assets
|
|
12
|
+
*/
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
export const SYSTEM_STYLE_DEFAULTS = {
|
|
2
|
+
global: {
|
|
3
|
+
fontFamily: "'Noto Sans', sans-serif",
|
|
4
|
+
fontSizePx: 13.3333,
|
|
5
|
+
fontColor: "#000000",
|
|
6
|
+
fontBackgroundColor: "#ffffff",
|
|
7
|
+
},
|
|
8
|
+
"bn-text": {},
|
|
9
|
+
"bn-chart-time": {
|
|
10
|
+
scaleFactors: {
|
|
11
|
+
scenarioOffset: 0.3,
|
|
12
|
+
scenarioLabelToColumn: 0.3,
|
|
13
|
+
labelToColumn: 0.3,
|
|
14
|
+
labelToAxis: 0.3,
|
|
15
|
+
needleWidth: 0.3,
|
|
16
|
+
needleHeadWidth: 0.6,
|
|
17
|
+
columnWidth: 2.0,
|
|
18
|
+
varianceAxisLineWidth: 0.3,
|
|
19
|
+
axisLineWidth: 0.1,
|
|
20
|
+
auxiliaryLineWidth: 0.1,
|
|
21
|
+
scenarioLineWidth: 0.2,
|
|
22
|
+
markerWidth: 0.7,
|
|
23
|
+
markerOffset: 0.0,
|
|
24
|
+
categoryWidth: 3.0,
|
|
25
|
+
axisTickLength: 0.3,
|
|
26
|
+
},
|
|
27
|
+
axisStyles: {
|
|
28
|
+
ac: { stroke: "#121212", fill: "#121212", width: 0.1 },
|
|
29
|
+
fc: { stroke: "#121212", fill: "#ffffff", width: 0.1, dasharray: "10 5 5 5" },
|
|
30
|
+
pp: { stroke: "#606060", fill: "#606060", width: 0.1 },
|
|
31
|
+
pl: { stroke: "#121212", fill: "#ffffff", width: 0.1 },
|
|
32
|
+
},
|
|
33
|
+
barStyles: {
|
|
34
|
+
ac: { stroke: "#404040", fill: "#404040", width: 0.1 },
|
|
35
|
+
fc: { stroke: "#404040", fill: "#ffffff", width: 0.5, fillpattern: "fc" },
|
|
36
|
+
pp: { stroke: "#A6A6A6", fill: "#A6A6A6", width: 0.1 },
|
|
37
|
+
pl: { stroke: "#404040", fill: "#ffffff", width: 0.1 },
|
|
38
|
+
},
|
|
39
|
+
varianceStyles: {
|
|
40
|
+
pos: { stroke: "#008f96", fill: "#008f96", width: 0.1 },
|
|
41
|
+
neg: { stroke: "#ff0000", fill: "#ff0000", width: 0.1 },
|
|
42
|
+
neu: { stroke: "#808080", fill: "#808080", width: 0.1 },
|
|
43
|
+
},
|
|
44
|
+
padding: {
|
|
45
|
+
top: 10,
|
|
46
|
+
left: 10,
|
|
47
|
+
right: 10,
|
|
48
|
+
bottom: 10,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
"bn-chart-structure": {
|
|
52
|
+
scaleFactors: {
|
|
53
|
+
scenarioOffset: 0.3,
|
|
54
|
+
scenarioLabelToBar: 0.1,
|
|
55
|
+
labelToBar: 0.3,
|
|
56
|
+
labelToAxis: 0.3,
|
|
57
|
+
needleWidth: 0.3,
|
|
58
|
+
needleHeadWidth: 0.6,
|
|
59
|
+
barWidth: 1.2,
|
|
60
|
+
varianceAxisLineWidth: 0.3,
|
|
61
|
+
axisLineWidth: 0.1,
|
|
62
|
+
auxiliaryLineWidth: 0.1,
|
|
63
|
+
scenarioLineWidth: 0.2,
|
|
64
|
+
markerWidth: 0.7,
|
|
65
|
+
markerOffset: 0.0,
|
|
66
|
+
categoryWidth: 1.9,
|
|
67
|
+
axisTickLength: 0.3,
|
|
68
|
+
},
|
|
69
|
+
axisStyles: {
|
|
70
|
+
ac: { stroke: "#121212", fill: "#121212", width: 0.1 },
|
|
71
|
+
fc: { stroke: "#121212", fill: "#ffffff", width: 0.1, dasharray: "10 5 5 5" },
|
|
72
|
+
pp: { stroke: "#606060", fill: "#606060", width: 0.1 },
|
|
73
|
+
pl: { stroke: "#121212", fill: "#ffffff", width: 0.1 },
|
|
74
|
+
},
|
|
75
|
+
barStyles: {
|
|
76
|
+
ac: { stroke: "#404040", fill: "#404040", width: 0.1 },
|
|
77
|
+
fc: { stroke: "#404040", fill: "#ffffff", width: 0.5, fillpattern: "fc" },
|
|
78
|
+
pp: { stroke: "#A6A6A6", fill: "#A6A6A6", width: 0.1 },
|
|
79
|
+
pl: { stroke: "#404040", fill: "#ffffff", width: 0.1 },
|
|
80
|
+
},
|
|
81
|
+
varianceStyles: {
|
|
82
|
+
pos: { stroke: "#008f96", fill: "#008f96", width: 0.1 },
|
|
83
|
+
neg: { stroke: "#ff0000", fill: "#ff0000", width: 0.1 },
|
|
84
|
+
neu: { stroke: "#808080", fill: "#808080", width: 0.1 },
|
|
85
|
+
},
|
|
86
|
+
padding: {
|
|
87
|
+
top: 10,
|
|
88
|
+
left: 10,
|
|
89
|
+
right: 10,
|
|
90
|
+
bottom: 10,
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
"bn-tree": {
|
|
94
|
+
edgeColor: "#404040",
|
|
95
|
+
edgeWidth: 1,
|
|
96
|
+
operatorCircleRadius: 10,
|
|
97
|
+
operatorFontSizeScale: 0.9,
|
|
98
|
+
operatorColor: "#404040",
|
|
99
|
+
},
|
|
100
|
+
"bn-grid": {
|
|
101
|
+
headerBackground: "transparent",
|
|
102
|
+
borderColor: "#A6A6A6",
|
|
103
|
+
borderWidth: 1,
|
|
104
|
+
cellPadding: 4,
|
|
105
|
+
},
|
|
106
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Factory that creates a fresh set of all 7 `@stencil/store` instances.
|
|
3
|
+
*
|
|
4
|
+
* Called once per `<bn-context>` element so that each context owns isolated
|
|
5
|
+
* reactive state. The returned object satisfies the {@link ScopedStores} interface.
|
|
6
|
+
*
|
|
7
|
+
* @module stores/createScopedStores
|
|
8
|
+
*/
|
|
9
|
+
import { createStore } from "@stencil/store";
|
|
10
|
+
import { SYSTEM_STYLE_DEFAULTS } from "./componentStyles";
|
|
11
|
+
import { SYSTEM_I18N_DEFAULTS } from "./internationalization";
|
|
12
|
+
export function createScopedStores() {
|
|
13
|
+
const datasources = createStore({});
|
|
14
|
+
const datasets = createStore({});
|
|
15
|
+
const datasetsMeta = createStore({});
|
|
16
|
+
const componentStyles = createStore({
|
|
17
|
+
_system: SYSTEM_STYLE_DEFAULTS,
|
|
18
|
+
});
|
|
19
|
+
const internationalization = createStore(Object.assign({}, SYSTEM_I18N_DEFAULTS));
|
|
20
|
+
const assets = createStore({});
|
|
21
|
+
const context = createStore({ locale: "en" });
|
|
22
|
+
return {
|
|
23
|
+
datasources,
|
|
24
|
+
datasets,
|
|
25
|
+
datasetsMeta,
|
|
26
|
+
componentStyles,
|
|
27
|
+
internationalization,
|
|
28
|
+
assets,
|
|
29
|
+
context,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type documentation for the datasets store.
|
|
3
|
+
*
|
|
4
|
+
* Stores processed query results, keyed by dataset name.
|
|
5
|
+
* Written by `bn-dataset` after executing AlaSQL queries against datasources.
|
|
6
|
+
* Read by visualization components (bn-table, bn-chart-time, bn-chart-structure)
|
|
7
|
+
* via the `withDataset` mixin, which subscribes to changes on a specific key.
|
|
8
|
+
*
|
|
9
|
+
* Each value is an array of row objects representing the query output.
|
|
10
|
+
*
|
|
11
|
+
* Store instances are created per `<bn-context>` via `createScopedStores()`.
|
|
12
|
+
*
|
|
13
|
+
* @module stores/datasets
|
|
14
|
+
*/
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type documentation for the datasetsMeta store.
|
|
3
|
+
*
|
|
4
|
+
* Stores dataset metadata, keyed by dataset name. Each value is a
|
|
5
|
+
* {@link DatasetMeta} object computed by `calculateDatasetMeta()` in a single
|
|
6
|
+
* O(n) pass whenever `bn-dataset` updates its query results. Consumer
|
|
7
|
+
* components (bn-table, bn-chart-time, bn-chart-structure) use this metadata
|
|
8
|
+
* to auto-configure properties such as scenarios, aggregation level, sort
|
|
9
|
+
* order, and date interval when the user has not set them explicitly.
|
|
10
|
+
*
|
|
11
|
+
* Store instances are created per `<bn-context>` via `createScopedStores()`.
|
|
12
|
+
*
|
|
13
|
+
* @module stores/datasetsMeta
|
|
14
|
+
*/
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type documentation for the datasources store.
|
|
3
|
+
*
|
|
4
|
+
* Stores raw input data, keyed by datasource name.
|
|
5
|
+
* Written by `bn-datasource` components which receive JSON arrays from the host
|
|
6
|
+
* application. Consumed by `bn-dataset` components that query these datasources
|
|
7
|
+
* using AlaSQL to produce processed datasets.
|
|
8
|
+
*
|
|
9
|
+
* Each value is the raw JSON array as provided by the host application.
|
|
10
|
+
*
|
|
11
|
+
* Store instances are created per `<bn-context>` via `createScopedStores()`.
|
|
12
|
+
*
|
|
13
|
+
* @module stores/datasources
|
|
14
|
+
*/
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reactive store for internationalized labels and symbols.
|
|
3
|
+
*
|
|
4
|
+
* Organized by namespace (`_system` ships built-in `de`/`en` bundles). Each
|
|
5
|
+
* bundle is a flat key-value map produced by `flattenObject()` from a nested
|
|
6
|
+
* `{ namespace: { key: label } }` structure, yielding keys like `"bn-table.SUM_TOTAL"`.
|
|
7
|
+
*
|
|
8
|
+
* **Token pattern**: Variance symbols use `{%}` as a placeholder for the
|
|
9
|
+
* scenario abbreviation. For example, `"Δ{%}"` becomes `"ΔPY"` when the
|
|
10
|
+
* comparison scenario is "PY". The `{%}` replacement is performed at render
|
|
11
|
+
* time by the `withTranslation` mixin.
|
|
12
|
+
*
|
|
13
|
+
* @module stores/internationalization
|
|
14
|
+
*/
|
|
15
|
+
import flattenObject from "../utils/flattenObject";
|
|
16
|
+
/**
|
|
17
|
+
* Keys that are treated as global (not namespace-scoped) across all components.
|
|
18
|
+
* Includes scenario abbreviations (ac1..pl4), sort-order arrows, and IBCS
|
|
19
|
+
* variance symbols with the `{%}` token for scenario substitution.
|
|
20
|
+
*/
|
|
21
|
+
const globalLabelKeys = [
|
|
22
|
+
"ORDER_asc",
|
|
23
|
+
"ORDER_desc",
|
|
24
|
+
"ac1",
|
|
25
|
+
"pp1",
|
|
26
|
+
"fc1",
|
|
27
|
+
"pl1",
|
|
28
|
+
"ac2",
|
|
29
|
+
"pp2",
|
|
30
|
+
"fc2",
|
|
31
|
+
"pl2",
|
|
32
|
+
"ac3",
|
|
33
|
+
"pp3",
|
|
34
|
+
"fc3",
|
|
35
|
+
"pl3",
|
|
36
|
+
"ac4",
|
|
37
|
+
"pp4",
|
|
38
|
+
"fc4",
|
|
39
|
+
"pl4",
|
|
40
|
+
"ibcssymbol_delta_ac",
|
|
41
|
+
"ibcssymbol_delta_generic",
|
|
42
|
+
"ibcssymbol_delta_ac_relative",
|
|
43
|
+
"ibcssymbol_delta_generic_relative",
|
|
44
|
+
];
|
|
45
|
+
const de = flattenObject({
|
|
46
|
+
global: {
|
|
47
|
+
ac1: "AC",
|
|
48
|
+
pp1: "PY",
|
|
49
|
+
fc1: "FC",
|
|
50
|
+
pl1: "PL",
|
|
51
|
+
ac2: "AC2",
|
|
52
|
+
pp2: "PY2",
|
|
53
|
+
fc2: "FC2",
|
|
54
|
+
pl2: "PL2",
|
|
55
|
+
ac3: "AC3",
|
|
56
|
+
pp3: "PY3",
|
|
57
|
+
fc3: "FC3",
|
|
58
|
+
pl3: "PL3",
|
|
59
|
+
ac4: "AC4",
|
|
60
|
+
pp4: "PY4",
|
|
61
|
+
fc4: "FC4",
|
|
62
|
+
pl4: "PL4",
|
|
63
|
+
ORDER_asc: "↑",
|
|
64
|
+
ORDER_desc: "↓",
|
|
65
|
+
ibcssymbol_delta_ac: "Δ{%}",
|
|
66
|
+
ibcssymbol_delta_generic: "Δ({%})",
|
|
67
|
+
ibcssymbol_delta_ac_relative: "Δ{%}%",
|
|
68
|
+
ibcssymbol_delta_generic_relative: "Δ({%})%",
|
|
69
|
+
},
|
|
70
|
+
"bn-title": {
|
|
71
|
+
SEPERATOR_WS: ", ",
|
|
72
|
+
CONNECTOR_WS: " und ",
|
|
73
|
+
in: "in",
|
|
74
|
+
},
|
|
75
|
+
"bn-chart": {},
|
|
76
|
+
"bn-table": {
|
|
77
|
+
in: "in",
|
|
78
|
+
category: " ",
|
|
79
|
+
operation: " ",
|
|
80
|
+
there_of: "davon",
|
|
81
|
+
part_of: "in % von",
|
|
82
|
+
SUM_TOTAL: "❖",
|
|
83
|
+
REST: "REST",
|
|
84
|
+
},
|
|
85
|
+
});
|
|
86
|
+
const en = flattenObject({
|
|
87
|
+
global: {
|
|
88
|
+
ac1: "AC",
|
|
89
|
+
pp1: "PY",
|
|
90
|
+
fc1: "FC",
|
|
91
|
+
pl1: "PL",
|
|
92
|
+
ac2: "AC2",
|
|
93
|
+
pp2: "PY2",
|
|
94
|
+
fc2: "FC2",
|
|
95
|
+
pl2: "PL2",
|
|
96
|
+
ac3: "AC3",
|
|
97
|
+
pp3: "PY3",
|
|
98
|
+
fc3: "FC3",
|
|
99
|
+
pl3: "PL3",
|
|
100
|
+
ac4: "AC4",
|
|
101
|
+
pp4: "PY4",
|
|
102
|
+
fc4: "FC4",
|
|
103
|
+
pl4: "PL4",
|
|
104
|
+
ORDER_asc: "↑",
|
|
105
|
+
ORDER_desc: "↓",
|
|
106
|
+
ibcssymbol_delta_ac: "Δ{%}",
|
|
107
|
+
ibcssymbol_delta_generic: "Δ({%})",
|
|
108
|
+
ibcssymbol_delta_ac_relative: "Δ{%}%",
|
|
109
|
+
ibcssymbol_delta_generic_relative: "Δ({%})%",
|
|
110
|
+
},
|
|
111
|
+
"bn-title": {
|
|
112
|
+
SEPERATOR_WS: ", ",
|
|
113
|
+
CONNECTOR_WS: " and ",
|
|
114
|
+
in: "in",
|
|
115
|
+
},
|
|
116
|
+
"bn-chart": {},
|
|
117
|
+
"bn-table": {
|
|
118
|
+
category: " ",
|
|
119
|
+
operation: " ",
|
|
120
|
+
there_of: "there of",
|
|
121
|
+
part_of: "in % of",
|
|
122
|
+
SUM_TOTAL: "❖",
|
|
123
|
+
REST: "REST",
|
|
124
|
+
},
|
|
125
|
+
});
|
|
126
|
+
const BN_INTERNATIONALIZATION_KEYS = Object.keys(de || {});
|
|
127
|
+
export const SYSTEM_I18N_DEFAULTS = { _system: { de, en } };
|
|
128
|
+
export { globalLabelKeys, BN_INTERNATIONALIZATION_KEYS };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { I18nMode, AggregationLevel, TableType } from "../utils/constants";
|
|
3
|
+
import { OrderColumn, OrderDirection } from "../utils/model/Order";
|
|
4
|
+
export class TestRunnerTitle {
|
|
5
|
+
render() {
|
|
6
|
+
return (h("div", { key: 'e21f394ec62bf5444da864b00860270551a18879' }, h("ibcs-card", { key: 'db1d071ffd4c72dd0c5b173b739bc33a7f6826d9', title: "Eintracht Frankfurt", image: "debug/concordia.png", showBorder: false }, h("ibcs-title", { key: 'bb49cdd2edc75f889d0e99b7bd010a692770ef8a', businessUnit: "Test Cars", measures: [
|
|
7
|
+
{ name: "Bruttoumsatz", unit: "mEUR" },
|
|
8
|
+
{ name: "Bruttoumsatz2", unit: "mDollar" },
|
|
9
|
+
], scenarios: ["ac", "py", "dpy_ac_pos"] })), h("ibcs-card", { key: '4a643bbd44b7e0cb90ed304939c423c602462957', title: "Nintendo", image: "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b3/Nintendo_red_logo.svg/1280px-Nintendo_red_logo.svg.png", showBorder: true }, h("ibcs-table", { key: 'd83c0e84abc29d3305a8cdac0e6c84c6cca31099', "table-title": "\uD83D\uDE0ESven ist der Papa von Phineas und Max", scenarios: ["ac", "py"], "scenarios-unit-type": "decimal", grouped: true, type: TableType.OPT, "i18n-mode": I18nMode.META, showGroupTitle: true, data: [], "there-of": [
|
|
10
|
+
{
|
|
11
|
+
rowGroup: "Umsatz",
|
|
12
|
+
category: "Applications",
|
|
13
|
+
subCategory: "",
|
|
14
|
+
partOf: "category",
|
|
15
|
+
},
|
|
16
|
+
] })), h("ibcs-card", { key: 'a3049a945b3cad596adc062c2ad1ef22521efc39', title: "Eintracht Frankfurt", image: "debug/concordia.png", showBorder: true }, h("ibcs-chart-structure", { key: '98298c085685f28a704cbcaa372e1b320c50283d', data: [], scenarios: ["ac", "fc", "py", "pl"], variances: ["dac_fc_pos"], hideCategories: false, pixelPerUnit: 15, chartTitle: undefined, styles: undefined, i18n: undefined, level: AggregationLevel.CATEGORY, order: { hierarchy: [OrderColumn.CATEGORY], direction: OrderDirection.DESC } }))));
|
|
17
|
+
}
|
|
18
|
+
static get is() { return "test-runner-card"; }
|
|
19
|
+
}
|
|
20
|
+
/*
|
|
21
|
+
<ibcs-chart-structure
|
|
22
|
+
data= {null}
|
|
23
|
+
scenarios={["ac", "fc", "py", "pl" ]}
|
|
24
|
+
variances = {["dac_fc_pos"]}
|
|
25
|
+
hideCategories = {false}
|
|
26
|
+
pixelPerUnit = {15}
|
|
27
|
+
chartTitle = {null}
|
|
28
|
+
styles = {null}
|
|
29
|
+
i18n = {null}
|
|
30
|
+
level = {AggregationLevel.CATEGORY}
|
|
31
|
+
order = { { hierarchy: [OrderColumn.CATEGORY],
|
|
32
|
+
direction: OrderDirection.DESC
|
|
33
|
+
} as Order
|
|
34
|
+
}
|
|
35
|
+
></ibcs-chart-structure>
|
|
36
|
+
*/
|