@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,128 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Composes an IBCS-compliant report title block.
|
|
3
|
+
*
|
|
4
|
+
* Renders business unit, scenario labels, measure names with units, a
|
|
5
|
+
* formatted date/time period, and sort-order indicators as a structured
|
|
6
|
+
* header. Delegates the actual layout to the inner `ibcs-title` element.
|
|
7
|
+
*/
|
|
8
|
+
export declare class Title {
|
|
9
|
+
private element;
|
|
10
|
+
private readonly t;
|
|
11
|
+
private readonly errors;
|
|
12
|
+
private readonly componentStyle;
|
|
13
|
+
constructor();
|
|
14
|
+
/** Name of the business unit displayed in card header. If empty string (`''` or `null`) the business unit row is omitted */
|
|
15
|
+
readonly businessUnit: string;
|
|
16
|
+
/** List of scenarios displayed in card header.
|
|
17
|
+
* <br /><br />
|
|
18
|
+
* If scenarios is empty string (`''` or `null`) the scenarios are omitted
|
|
19
|
+
* <br /><br />
|
|
20
|
+
* values:<br /> ```ac // fc // py // pl // null```
|
|
21
|
+
*/
|
|
22
|
+
readonly scenarios: string;
|
|
23
|
+
validateScenario(newValue: string): void;
|
|
24
|
+
/** <br /> <br />
|
|
25
|
+
List of Variances
|
|
26
|
+
The additonal variances which
|
|
27
|
+
are calculated form the given scenarios.
|
|
28
|
+
the scenarios used in the variances have also
|
|
29
|
+
be defined in the *scenarios* property.
|
|
30
|
+
<br /> <br />
|
|
31
|
+
the variance is defiend as (Scenario A - ScenarioB)
|
|
32
|
+
neu. neg and pos post fix defines which value is *good*
|
|
33
|
+
a negative or a positive value.
|
|
34
|
+
<br /> <br />
|
|
35
|
+
if empty variance charts are hidden
|
|
36
|
+
<br /> <br />
|
|
37
|
+
each variance creates a chart
|
|
38
|
+
<br /> <br />
|
|
39
|
+
pattern:<br /> ```d<scenarioB>_<scenarioA>_[pos/neg/neu]```
|
|
40
|
+
*/
|
|
41
|
+
readonly variances: string;
|
|
42
|
+
validateVariances(newValue: string): void;
|
|
43
|
+
/** List of the primary scenarios on which the order direction are applied.
|
|
44
|
+
* <br /><br />
|
|
45
|
+
* If order is set to a scenario it has also exists in scenariolist.<br />
|
|
46
|
+
* If order is empty string (`''` or `null`) the order arrow is omitted
|
|
47
|
+
* <br /><br />
|
|
48
|
+
* values:<br /> ``` category // categoryindex // rowgroup // rowgroup // rowgroupindex // ac // fc // py // pl // null ```
|
|
49
|
+
*/
|
|
50
|
+
readonly order: string;
|
|
51
|
+
validateOrder(newValue: string): void;
|
|
52
|
+
/** Sets sorting order directon
|
|
53
|
+
* <br /><br />
|
|
54
|
+
* values:<br /> ``` asc // desc ```
|
|
55
|
+
*/
|
|
56
|
+
readonly orderDirection: string;
|
|
57
|
+
validateOrderDirection(newValue: string): void;
|
|
58
|
+
/** Stringified Array of measure objects {name: string, unit: string}
|
|
59
|
+
* <br /><br />
|
|
60
|
+
* If all units are the same the redundant units will be reduced and names concatenated.<br />
|
|
61
|
+
* If unit is empty string (`''` or `null`) the row is omitted
|
|
62
|
+
* <br /><br />
|
|
63
|
+
* example:<br /> ``` [{"name": "Bruttoumsatz", "unit": "mEUR"}] ```
|
|
64
|
+
*/
|
|
65
|
+
readonly measures: string;
|
|
66
|
+
validateMeasures(newValue: string): void;
|
|
67
|
+
/** String of start date
|
|
68
|
+
* <br /><br />
|
|
69
|
+
* format:<br /> ``` yyyy-MM-dd ```
|
|
70
|
+
*/
|
|
71
|
+
readonly dateStart: string;
|
|
72
|
+
validateDateStart(newValue: string): void;
|
|
73
|
+
/** String of end date
|
|
74
|
+
* <br /><br />
|
|
75
|
+
* format:<br /> ``` yyyy-MM-dd ```
|
|
76
|
+
*/
|
|
77
|
+
readonly dateEnd: string;
|
|
78
|
+
validateDateEnd(newValue: string): void;
|
|
79
|
+
/** Date format
|
|
80
|
+
* <br /><br />
|
|
81
|
+
* values:<br /> ``` year // quarter // month // week // day // hour // auto // none ```
|
|
82
|
+
* <br /><br />
|
|
83
|
+
*
|
|
84
|
+
* detail:<br />
|
|
85
|
+
* ```year: "YYYY"```<br />
|
|
86
|
+
* ```quarter: "Q[Q] YYYY"```<br />
|
|
87
|
+
* ```month: "MMM YYYY"```<br />
|
|
88
|
+
* ```week: "[KW]WW YYYY"```<br />
|
|
89
|
+
* ```day: "DD.MM.YYYY"```<br />
|
|
90
|
+
* ```time: "DD.MM.YYYY HH:mm:ss"```<br />
|
|
91
|
+
* ```none: "DD.MM.YYYY"```<br />
|
|
92
|
+
*
|
|
93
|
+
*/
|
|
94
|
+
readonly dateFormat: string;
|
|
95
|
+
validateDateFormat(newValue: string): void;
|
|
96
|
+
/** Format in which the start and end date are linked.
|
|
97
|
+
* <br /><br />
|
|
98
|
+
* If empty string (`''` or `null`) the date row is omitted
|
|
99
|
+
* <br /><br />
|
|
100
|
+
* values:<br /> ``` avg // interval // cum // start // end // ytd // ytg // cum // mat // none // null```
|
|
101
|
+
* <br /><br />
|
|
102
|
+
*
|
|
103
|
+
* detail:<br />
|
|
104
|
+
* ```avg: "Ø[DATE]"```<br />
|
|
105
|
+
* ```interval: "[DATE]..[DATE2]"```<br />
|
|
106
|
+
* ```start: ".[DATE]"```<br />
|
|
107
|
+
* ```end: "[DATE]."```<br />
|
|
108
|
+
* ```ytd: "_[DATE]"```<br />
|
|
109
|
+
* ```ytg: "[DATE]_"```<br />
|
|
110
|
+
* ```cum: "[DATE]_[DATE2]"```<br />
|
|
111
|
+
* ```mat: "~[DATE]"```<br />
|
|
112
|
+
* ```none: "[DATE]"```<br />
|
|
113
|
+
*
|
|
114
|
+
*/
|
|
115
|
+
readonly dateLink: string;
|
|
116
|
+
validateDateLink(newValue: string): void;
|
|
117
|
+
componentWillLoad(): void;
|
|
118
|
+
scopedEval: (scope: any, script: any) => any;
|
|
119
|
+
private prepareI18n;
|
|
120
|
+
private prepareI18nMode;
|
|
121
|
+
private prepareTitleOrder;
|
|
122
|
+
private prepareTitleTimePeriod;
|
|
123
|
+
private prepareMeasures;
|
|
124
|
+
private prepareScenarios;
|
|
125
|
+
private prepareBusinessUnit;
|
|
126
|
+
private getFontStyles;
|
|
127
|
+
render(): any;
|
|
128
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { MeasureEntry } from "./utils/model/MeasureEntriy";
|
|
2
|
+
import { TimePeriod } from "./utils/model/TimePeriod";
|
|
3
|
+
import { Order } from "../../../utils/model/Order";
|
|
4
|
+
import { I18nMode } from "../../../utils/constants";
|
|
5
|
+
export declare class IbcsTitle {
|
|
6
|
+
businessUnit: string;
|
|
7
|
+
setBusinessUnit(businessUnit: string): Promise<void>;
|
|
8
|
+
setProps(data: Partial<IbcsTitle>): Promise<void>;
|
|
9
|
+
scenarios: string[];
|
|
10
|
+
measures: MeasureEntry[];
|
|
11
|
+
timeperiod?: TimePeriod;
|
|
12
|
+
intervalSpanLimit: number;
|
|
13
|
+
order: Order;
|
|
14
|
+
i18n: Map<string, string>;
|
|
15
|
+
i18nMode: I18nMode;
|
|
16
|
+
private title;
|
|
17
|
+
render(): any;
|
|
18
|
+
componentWillLoad(): void;
|
|
19
|
+
componentWillUpdate(): void;
|
|
20
|
+
componentWillRender(): void;
|
|
21
|
+
private isFirstElement;
|
|
22
|
+
private prepareConfig;
|
|
23
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { TitleConfig } from "./model/TitleConfig";
|
|
2
|
+
import { MeasureEntry } from "./model/MeasureEntriy";
|
|
3
|
+
import { IBCSRuleSet } from "../../../../utils/ibcsRuleSet";
|
|
4
|
+
export declare class Title {
|
|
5
|
+
i18n: Map<string, string>;
|
|
6
|
+
private ruleSet;
|
|
7
|
+
unit: string;
|
|
8
|
+
measures: MeasureEntry[];
|
|
9
|
+
dimension: string;
|
|
10
|
+
private dataSetFactory;
|
|
11
|
+
private config;
|
|
12
|
+
private state;
|
|
13
|
+
constructor(ruleSet: IBCSRuleSet);
|
|
14
|
+
/**
|
|
15
|
+
* Set Localisation Map
|
|
16
|
+
* @param i18n
|
|
17
|
+
*/
|
|
18
|
+
setI18n(i18n: Map<string, string>): void;
|
|
19
|
+
/**
|
|
20
|
+
* Generates and Returns the DataSet based,
|
|
21
|
+
* data and config.
|
|
22
|
+
* if data or config have not been changed since last run
|
|
23
|
+
* the dataSet will not be regenerated.
|
|
24
|
+
*/
|
|
25
|
+
update(): Title;
|
|
26
|
+
setConfig(config: TitleConfig): void;
|
|
27
|
+
private initConfig;
|
|
28
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { I18nMode } from "../../../../../utils/constants";
|
|
2
|
+
import { Formatter } from "../../../../../utils/formatter";
|
|
3
|
+
import { Order } from "../../../../../utils/model/Order";
|
|
4
|
+
import { MeasureEntry } from "../model/MeasureEntriy";
|
|
5
|
+
import { TimePeriod } from "../model/TimePeriod";
|
|
6
|
+
export declare class TitleDataSetFactory implements Formatter {
|
|
7
|
+
constructor();
|
|
8
|
+
/**
|
|
9
|
+
* Creates measures, adds i18n to each element
|
|
10
|
+
* @param measures
|
|
11
|
+
* @param i18n
|
|
12
|
+
* @param i18nMode
|
|
13
|
+
*/
|
|
14
|
+
createMeasures(measures: MeasureEntry[], i18n: Map<string, string>, i18nMode: I18nMode): MeasureEntry[];
|
|
15
|
+
/**
|
|
16
|
+
* Creates Dimension String,
|
|
17
|
+
* concat of translated scenarios, time and order
|
|
18
|
+
*
|
|
19
|
+
* @param scenarios
|
|
20
|
+
* @param time
|
|
21
|
+
* @param order
|
|
22
|
+
* @param i18n
|
|
23
|
+
*/
|
|
24
|
+
createDimension(scenarios: string[], time: TimePeriod | undefined, order: Order | null | undefined, i18n: Map<string, string>, spanLimit: number): string;
|
|
25
|
+
private allMeasuresUseSameUnit;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./TitleDataSetFactory";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IAdapter } from "../../../../../utils/helper/IAdapter";
|
|
2
|
+
export declare class MeasureEntry {
|
|
3
|
+
name: string;
|
|
4
|
+
unit: string;
|
|
5
|
+
constructor(name?: string, unit?: string);
|
|
6
|
+
}
|
|
7
|
+
export declare class MeasureEntryAdapter implements IAdapter<MeasureEntry> {
|
|
8
|
+
construnctor(): void;
|
|
9
|
+
adapt(data: Record<string, unknown>): MeasureEntry;
|
|
10
|
+
default(): MeasureEntry;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DateTime } from "luxon";
|
|
2
|
+
import { DateDistance, DateLink } from "../../../../../utils/DateStringFactory";
|
|
3
|
+
import { IAdapter } from "../../../../../utils/helper/IAdapter";
|
|
4
|
+
export declare class TimePeriod {
|
|
5
|
+
start: DateTime;
|
|
6
|
+
end: DateTime;
|
|
7
|
+
format: DateDistance;
|
|
8
|
+
link: DateLink;
|
|
9
|
+
constructor(start?: DateTime, end?: DateTime, format?: DateDistance, link?: DateLink);
|
|
10
|
+
}
|
|
11
|
+
export declare class TimePeriodAdapter implements IAdapter<TimePeriod> {
|
|
12
|
+
construnctor(): void;
|
|
13
|
+
adapt(data: Record<string, unknown>): TimePeriod;
|
|
14
|
+
default(): TimePeriod;
|
|
15
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { I18nMode } from "../../../../../utils/constants";
|
|
2
|
+
import { IAdapter } from "../../../../../utils/helper/IAdapter";
|
|
3
|
+
import { StringAdapter } from "../../../../../utils/helper/StringAdapter";
|
|
4
|
+
import { Order, OrderAdapter } from "../../../../../utils/model/Order";
|
|
5
|
+
import { MeasureEntry, MeasureEntryAdapter } from "./MeasureEntriy";
|
|
6
|
+
import { TimePeriod, TimePeriodAdapter } from "./TimePeriod";
|
|
7
|
+
export declare class TitleConfig {
|
|
8
|
+
businessunit: string;
|
|
9
|
+
measures: MeasureEntry[];
|
|
10
|
+
scenarios: string[];
|
|
11
|
+
timeperiod: TimePeriod | undefined;
|
|
12
|
+
i18nMode: I18nMode;
|
|
13
|
+
order?: Order | undefined;
|
|
14
|
+
intervalSpanLimit: number;
|
|
15
|
+
constructor();
|
|
16
|
+
}
|
|
17
|
+
export declare class TitleConifgAdapter implements IAdapter<TitleConfig> {
|
|
18
|
+
private measureEntryAdapter;
|
|
19
|
+
private timePeriodAdapter;
|
|
20
|
+
private orderAdapter;
|
|
21
|
+
private stringAdapter;
|
|
22
|
+
constructor(measureEntryAdapter: MeasureEntryAdapter, timePeriodAdapter: TimePeriodAdapter, orderAdapter: OrderAdapter, stringAdapter: StringAdapter);
|
|
23
|
+
adapt(data: Record<string, unknown>): TitleConfig;
|
|
24
|
+
default(): TitleConfig;
|
|
25
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export interface Cell {
|
|
2
|
+
value?: number | string;
|
|
3
|
+
cssStyle?: string;
|
|
4
|
+
mark?: string;
|
|
5
|
+
colSpan?: number;
|
|
6
|
+
}
|
|
7
|
+
export interface Element {
|
|
8
|
+
key: string;
|
|
9
|
+
index: number;
|
|
10
|
+
parent?: string;
|
|
11
|
+
parentIndex?: number;
|
|
12
|
+
colSpan?: number;
|
|
13
|
+
origin: Cell;
|
|
14
|
+
ofit?: Cell;
|
|
15
|
+
share?: Cell;
|
|
16
|
+
}
|
|
17
|
+
export interface Row {
|
|
18
|
+
index: number;
|
|
19
|
+
groupindex: number;
|
|
20
|
+
type: string;
|
|
21
|
+
cssStyle?: string;
|
|
22
|
+
elements: Element[];
|
|
23
|
+
}
|
|
24
|
+
export declare enum TableType {
|
|
25
|
+
LIST = "LIST",
|
|
26
|
+
SUM = "SUM",
|
|
27
|
+
OPT = "OPT"
|
|
28
|
+
}
|
|
29
|
+
export interface Scenario {
|
|
30
|
+
name: string;
|
|
31
|
+
group: string;
|
|
32
|
+
colorIndex: number;
|
|
33
|
+
sortIndex: number;
|
|
34
|
+
}
|
|
35
|
+
export type { DateFormat, DateLinkFormat } from "../../../../../utils/model/DateFormat";
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { LayoutDirection } from "./utils/TreeLayout";
|
|
2
|
+
import { EdgeStyleType } from "./utils/EdgeRenderer";
|
|
3
|
+
/**
|
|
4
|
+
* Renders a hierarchical tree diagram with SVG edge connections.
|
|
5
|
+
*
|
|
6
|
+
* Nodes are provided as named slots; the `edges` prop defines parent-child
|
|
7
|
+
* relationships and optional arithmetic operators displayed between siblings.
|
|
8
|
+
* Layout is computed via CSS Grid with an SVG overlay for edge paths.
|
|
9
|
+
*/
|
|
10
|
+
export declare class ChartTree {
|
|
11
|
+
private element;
|
|
12
|
+
private treeConfig;
|
|
13
|
+
private layout;
|
|
14
|
+
private nodeRects;
|
|
15
|
+
private svgWidth;
|
|
16
|
+
private svgHeight;
|
|
17
|
+
private readonly errors;
|
|
18
|
+
private readonly componentStyle;
|
|
19
|
+
private resizeObserver;
|
|
20
|
+
private gridContainer;
|
|
21
|
+
/**
|
|
22
|
+
* JSON string defining connections between nodes.
|
|
23
|
+
* Each edge specifies a source (from) and target (to) node ID,
|
|
24
|
+
* with optional operator and styling.
|
|
25
|
+
*
|
|
26
|
+
* Example:
|
|
27
|
+
* ```json
|
|
28
|
+
* [
|
|
29
|
+
* {"from":"roi","to":"ros","operator":"x"},
|
|
30
|
+
* {"from":"roi","to":"capital-turnover"}
|
|
31
|
+
* ]
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
edges: string;
|
|
35
|
+
validateEdgesProp(newValue: string): void;
|
|
36
|
+
/**
|
|
37
|
+
* Layout direction of the tree.
|
|
38
|
+
* - 'ltr': left to right (root on left)
|
|
39
|
+
* - 'rtl': right to left (root on right)
|
|
40
|
+
* - 'ttb': top to bottom (root on top)
|
|
41
|
+
* - 'btt': bottom to top (root on bottom)
|
|
42
|
+
*/
|
|
43
|
+
direction: LayoutDirection;
|
|
44
|
+
validateDirection(newValue: string): void;
|
|
45
|
+
/**
|
|
46
|
+
* Spacing between hierarchy levels in pixels.
|
|
47
|
+
*/
|
|
48
|
+
levelSpacing: number;
|
|
49
|
+
validateLevelSpacing(newValue: number): void;
|
|
50
|
+
/**
|
|
51
|
+
* Spacing between sibling nodes in pixels.
|
|
52
|
+
*/
|
|
53
|
+
nodeSpacing: number;
|
|
54
|
+
validateNodeSpacing(newValue: number): void;
|
|
55
|
+
/**
|
|
56
|
+
* Edge line style.
|
|
57
|
+
* - 'straight': direct line between nodes
|
|
58
|
+
* - 'orthogonal': right-angle lines (default)
|
|
59
|
+
* - 'curved': smooth bezier curves
|
|
60
|
+
*/
|
|
61
|
+
edgeStyle: EdgeStyleType;
|
|
62
|
+
validateEdgeStyle(newValue: string): void;
|
|
63
|
+
/**
|
|
64
|
+
* Show operator labels between sibling nodes.
|
|
65
|
+
*/
|
|
66
|
+
showOperators: string;
|
|
67
|
+
validateShowOperators(newValue: string): void;
|
|
68
|
+
constructor();
|
|
69
|
+
/**
|
|
70
|
+
* Get tree chart styles from component style store
|
|
71
|
+
*/
|
|
72
|
+
private getTreeStyle;
|
|
73
|
+
componentWillLoad(): void;
|
|
74
|
+
componentDidLoad(): void;
|
|
75
|
+
disconnectedCallback(): void;
|
|
76
|
+
private setupResizeObserver;
|
|
77
|
+
private recalculateLayout;
|
|
78
|
+
private updateNodeRects;
|
|
79
|
+
private getSlotStyle;
|
|
80
|
+
private renderEdges;
|
|
81
|
+
private renderSlots;
|
|
82
|
+
private getFontStyles;
|
|
83
|
+
render(): any;
|
|
84
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Edge Renderer utility for bn-tree component
|
|
3
|
+
* Handles SVG path generation for connecting tree nodes
|
|
4
|
+
*/
|
|
5
|
+
import { LayoutDirection } from "./TreeLayout";
|
|
6
|
+
import { EdgeStyle } from "./TreeParser";
|
|
7
|
+
export type EdgeStyleType = "straight" | "orthogonal" | "curved";
|
|
8
|
+
export interface Point {
|
|
9
|
+
x: number;
|
|
10
|
+
y: number;
|
|
11
|
+
}
|
|
12
|
+
export interface NodeRect {
|
|
13
|
+
left: number;
|
|
14
|
+
top: number;
|
|
15
|
+
width: number;
|
|
16
|
+
height: number;
|
|
17
|
+
centerX: number;
|
|
18
|
+
centerY: number;
|
|
19
|
+
}
|
|
20
|
+
export interface EdgePath {
|
|
21
|
+
path: string;
|
|
22
|
+
midpoint: Point;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Calculate the bounding rectangle of a node element
|
|
26
|
+
*/
|
|
27
|
+
export declare function getNodeRect(element: HTMLElement, containerRect: DOMRect): NodeRect;
|
|
28
|
+
/**
|
|
29
|
+
* Get the connection point on a node based on layout direction
|
|
30
|
+
*/
|
|
31
|
+
export declare function getConnectionPoint(rect: NodeRect, isSource: boolean, direction: LayoutDirection): Point;
|
|
32
|
+
/**
|
|
33
|
+
* Get the connection point on a node for multi-parent scenarios.
|
|
34
|
+
* When a node has multiple parents, each parent connects at a different
|
|
35
|
+
* vertical position on the target node's edge, spread around the center.
|
|
36
|
+
* @param parentIndex - Index of this parent (0-based)
|
|
37
|
+
* @param totalParents - Total number of parents for this node
|
|
38
|
+
* @param spacing - Spacing between connection points in pixels
|
|
39
|
+
*/
|
|
40
|
+
export declare function getMultiParentConnectionPoint(rect: NodeRect, direction: LayoutDirection, parentIndex: number, totalParents: number, spacing?: number): Point;
|
|
41
|
+
/**
|
|
42
|
+
* Generate an SVG path connecting two points with the specified style
|
|
43
|
+
*/
|
|
44
|
+
export declare function generateEdgePath(start: Point, end: Point, style: EdgeStyleType, direction: LayoutDirection): EdgePath;
|
|
45
|
+
/**
|
|
46
|
+
* Calculate the position for an operator label between sibling nodes.
|
|
47
|
+
* The operator is placed at the T-junction where the parent's line meets the vertical/horizontal split.
|
|
48
|
+
*/
|
|
49
|
+
export declare function calculateOperatorPosition(parentRect: NodeRect, sibling1Rect: NodeRect, sibling2Rect: NodeRect, direction: LayoutDirection): Point;
|
|
50
|
+
/**
|
|
51
|
+
* Get SVG style attributes for an edge
|
|
52
|
+
*/
|
|
53
|
+
export declare function getEdgeSvgStyle(defaultColor: string, defaultWidth: number, edgeStyle?: EdgeStyle): {
|
|
54
|
+
stroke: string;
|
|
55
|
+
strokeWidth: number;
|
|
56
|
+
strokeDasharray?: string;
|
|
57
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tree Layout utility for bn-tree component
|
|
3
|
+
* Handles level assignment and grid positioning for tree nodes
|
|
4
|
+
*/
|
|
5
|
+
import { TreeConfig } from "./TreeParser";
|
|
6
|
+
export type LayoutDirection = "ltr" | "rtl" | "ttb" | "btt";
|
|
7
|
+
export interface NodePosition {
|
|
8
|
+
nodeId: string;
|
|
9
|
+
level: number;
|
|
10
|
+
index: number;
|
|
11
|
+
gridColumn: number;
|
|
12
|
+
gridRow: number;
|
|
13
|
+
gridRowSpan: number;
|
|
14
|
+
}
|
|
15
|
+
export interface LayoutResult {
|
|
16
|
+
positions: Map<string, NodePosition>;
|
|
17
|
+
gridTemplateColumns: string;
|
|
18
|
+
gridTemplateRows: string;
|
|
19
|
+
maxLevel: number;
|
|
20
|
+
maxIndex: number;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Calculate the layout positions for all nodes in the tree
|
|
24
|
+
*/
|
|
25
|
+
export declare function calculateLayout(config: TreeConfig, direction: LayoutDirection, levelSpacing: number, nodeSpacing: number): LayoutResult;
|
|
26
|
+
/**
|
|
27
|
+
* Get the actual grid column accounting for spacer columns
|
|
28
|
+
*/
|
|
29
|
+
export declare function getActualGridColumn(baseColumn: number): number;
|
|
30
|
+
/**
|
|
31
|
+
* Get the actual grid row accounting for spacer rows
|
|
32
|
+
*/
|
|
33
|
+
export declare function getActualGridRow(baseRow: number): number;
|
|
34
|
+
/**
|
|
35
|
+
* Get the actual grid row span accounting for spacer rows
|
|
36
|
+
*/
|
|
37
|
+
export declare function getActualGridRowSpan(baseRowSpan: number): number;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tree Parser utility for bn-tree component
|
|
3
|
+
* Handles JSON parsing and validation for tree edge configurations
|
|
4
|
+
*/
|
|
5
|
+
export interface EdgeStyle {
|
|
6
|
+
color?: string;
|
|
7
|
+
width?: number;
|
|
8
|
+
dasharray?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface TreeEdge {
|
|
11
|
+
from: string;
|
|
12
|
+
to: string;
|
|
13
|
+
operator?: "*" | "/" | "+" | "-" | "x" | "÷" | "none";
|
|
14
|
+
label?: string;
|
|
15
|
+
style?: EdgeStyle;
|
|
16
|
+
}
|
|
17
|
+
export interface TreeConfig {
|
|
18
|
+
edges: TreeEdge[];
|
|
19
|
+
adjacencyList: Map<string, string[]>;
|
|
20
|
+
rootNode: string | null;
|
|
21
|
+
allNodes: Set<string>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Parse the JSON edges configuration string into a TreeConfig object
|
|
25
|
+
* @param json - JSON string containing array of TreeEdge objects
|
|
26
|
+
* @returns TreeConfig object or null if parsing fails
|
|
27
|
+
*/
|
|
28
|
+
export declare function parseTreeConfig(json: string): TreeConfig | null;
|
|
29
|
+
/**
|
|
30
|
+
* Validate the edges JSON configuration and return validation errors
|
|
31
|
+
* @param json - JSON string to validate
|
|
32
|
+
* @returns Array of error messages (empty if valid)
|
|
33
|
+
*/
|
|
34
|
+
export declare function validateEdges(json: string): string[];
|
|
35
|
+
/**
|
|
36
|
+
* Get the operator symbol to display between sibling nodes
|
|
37
|
+
*/
|
|
38
|
+
export declare function getOperatorSymbol(operator: string | undefined): string;
|
|
39
|
+
/**
|
|
40
|
+
* Get the edge connecting a parent to a specific child
|
|
41
|
+
*/
|
|
42
|
+
export declare function getEdgeForChild(edges: TreeEdge[], parent: string, child: string): TreeEdge | undefined;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Headless helper component for editor integration.
|
|
3
|
+
*
|
|
4
|
+
* Exposes public `@Method()` APIs so an external editor can query
|
|
5
|
+
* i18n keys and distinct data values from datasources/datasets at
|
|
6
|
+
* design time (e.g. for autocompletion or property pickers).
|
|
7
|
+
*/
|
|
8
|
+
export declare class EditorCompanion {
|
|
9
|
+
private element;
|
|
10
|
+
private stores;
|
|
11
|
+
private distinctCache;
|
|
12
|
+
connectedCallback(): void;
|
|
13
|
+
internationalizationKeys(): Promise<string[]>;
|
|
14
|
+
getDistinctFromDataSource(dataSourceName: string, key: string): Promise<unknown[]>;
|
|
15
|
+
getDistinctFromDataset(datasetName: string, key: string): Promise<unknown[]>;
|
|
16
|
+
render(): any;
|
|
17
|
+
private distinct;
|
|
18
|
+
}
|