@bino-bi/bn-template-engine 1.0.0-alpha.0 → 1.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +203 -21
- package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
- package/dist/bn-template-engine/p-095f74d7.entry.js +1 -0
- package/dist/bn-template-engine/p-14318b0d.entry.js +1 -0
- package/dist/bn-template-engine/{p-c9f050bf.entry.js → p-2133e02b.entry.js} +1 -1
- package/dist/bn-template-engine/p-6b469808.entry.js +1 -0
- package/dist/bn-template-engine/p-7HSTE79g.js +1 -0
- package/dist/bn-template-engine/p-B4JfKvVT.js +1 -0
- package/dist/bn-template-engine/p-B_d-jp99.js +2 -0
- package/dist/bn-template-engine/p-Bi2wx-el.js +1 -0
- package/dist/bn-template-engine/p-CWiZks2h.js +1 -0
- package/dist/bn-template-engine/{p-BQp6ZPYW.js → p-DSXNgKLa.js} +1 -1
- package/dist/bn-template-engine/p-c2cbb8ea.entry.js +1 -0
- package/dist/bn-template-engine/p-e783733e.entry.js +1 -0
- package/dist/bn-template-engine/p-e94b4e31.entry.js +1 -0
- package/dist/bn-template-engine/p-fdb3e99a.entry.js +1 -0
- package/dist/cjs/bn-asset_21.cjs.entry.js +23995 -0
- package/dist/cjs/bn-grid.cjs.entry.js +6 -13
- package/dist/cjs/bn-image.cjs.entry.js +6 -13
- package/dist/cjs/bn-internationalization.cjs.entry.js +5 -7
- package/dist/cjs/bn-template-engine.cjs.js +2 -2
- package/dist/cjs/bn-template.cjs.entry.js +4 -6
- package/dist/cjs/bn-text.cjs.entry.js +10 -19
- package/dist/cjs/bn-tree.cjs.entry.js +11 -14
- package/dist/cjs/{context-protocol-BkYHFkXE.js → context-protocol-B_jipZpJ.js} +6 -2
- package/dist/cjs/editor-companion.cjs.entry.js +3 -3
- package/dist/cjs/{index-CScBFiS1.js → index-CDKG4xmO.js} +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/scaling-eyzCrFB8.js +329 -0
- package/dist/cjs/{withBodyObserver-B0_W1VOf.js → withBodyObserver-D7BKWN2N.js} +2 -2
- package/dist/cjs/{withHasError-Dspb3lIV.js → withHasError-Cl2gTQzA.js} +106 -2
- package/dist/{esm/luxon-DbyXf6dF.js → cjs/withStyled-V7xz_x1c.js} +1406 -1
- package/dist/collection/collection-manifest.json +2 -10
- package/dist/collection/components/bn-body/bn-body.css +1 -0
- package/dist/collection/components/bn-card/bn-card.css +2 -0
- package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +368 -130
- package/dist/collection/components/bn-chart-structure/ibcs-chart-structure.js +34 -10
- package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +94 -11
- package/dist/collection/components/bn-chart-structure/utils/elements/Label.js +11 -0
- package/dist/collection/components/bn-chart-structure/utils/elements/StackedBar.js +8 -6
- package/dist/collection/components/bn-chart-structure/utils/model/styles/StructureChartStyle.js +4 -0
- package/dist/collection/components/bn-chart-time/bn-chart-time.css +1 -1
- package/dist/collection/components/bn-chart-time/bn-chart-time.js +172 -51
- package/dist/collection/components/bn-chart-time/ibcs-chart-time.js +22 -9
- package/dist/collection/components/bn-chart-time/utils/TimeChart.js +3 -3
- package/dist/collection/components/bn-chart-time/utils/elements/StackedColumn.js +3 -4
- package/dist/collection/components/bn-chart-time/utils/model/styles/TimeChartStyle.js +4 -0
- package/dist/collection/components/bn-dataset/bn-dataset.js +49 -2
- package/dist/collection/components/bn-datasource/bn-datasource.js +173 -8
- package/dist/collection/components/bn-layout-card/bn-layout-card.css +3 -2
- package/dist/collection/components/bn-layout-card/bn-layout-card.js +207 -32
- package/dist/collection/components/bn-layout-page/bn-layout-page.css +1 -3
- package/dist/collection/components/bn-layout-page/bn-layout-page.js +172 -43
- package/dist/collection/components/bn-message/bn-message.js +1 -1
- package/dist/collection/components/bn-page/bn-page.js +1 -1
- package/dist/collection/components/bn-scaling-group/bn-scaling-group.css +3 -0
- package/dist/collection/components/bn-scaling-group/bn-scaling-group.js +136 -0
- package/dist/collection/components/bn-table/bn-table.js +201 -58
- package/dist/collection/components/bn-table/ibcs-table.css +7 -5
- package/dist/collection/components/bn-table/ibcs-table.js +91 -5
- package/dist/collection/components/bn-table/utils/elements/CellBarChart.js +79 -31
- package/dist/collection/components/bn-table/utils/elements/TableRow.js +3 -1
- package/dist/collection/components/bn-table/utils/factories/tableDataSetFactory.js +12 -3
- package/dist/collection/components/bn-table/utils/helper/ColumnStatistics.js +9 -1
- package/dist/collection/components/bn-template/bn-template.js +1 -1
- package/dist/collection/components/bn-text/bn-text.js +1 -1
- package/dist/collection/components/bn-title/bn-title.js +1 -9
- package/dist/collection/components/bn-title/ibcs-title/ibcs-title.js +1 -4
- package/dist/collection/components/bn-tree/bn-tree.js +5 -1
- package/dist/collection/components/editor-companion/editor-companion.js +1 -1
- package/dist/collection/stores/componentStyles.js +2 -0
- package/dist/collection/stores/createScopedStores.js +3 -1
- package/dist/collection/utils/DateStringFactory.js +0 -1
- package/dist/collection/utils/constants.js +35 -5
- package/dist/collection/utils/contentDecoder.js +28 -0
- package/dist/collection/utils/layoutObserver.js +88 -0
- package/dist/collection/utils/parentDimensions.js +57 -10
- package/dist/collection/utils/stackColors.js +2 -2
- package/dist/collection/utils/validate.js +5 -2
- package/dist/collection/utils/withInheritedProps.js +152 -0
- package/dist/collection/utils/withScalingGroup.js +66 -0
- package/dist/components/DataFormatDigits.js +1 -1
- package/dist/components/DateStringFactory.js +1 -1
- package/dist/components/Order.js +1 -1
- package/dist/components/SVGVariancesStyleGroup.js +1 -1
- package/dist/components/bn-body2.js +1 -1
- package/dist/components/bn-card2.js +1 -1
- package/dist/components/bn-chart-structure.js +1 -1
- package/dist/components/bn-chart-time.js +1 -1
- package/dist/components/bn-dataset.js +1 -1
- package/dist/components/bn-datasource.js +1 -1
- package/dist/components/bn-layout-card.js +1 -1
- package/dist/components/bn-layout-page.js +1 -1
- package/dist/components/bn-message2.js +1 -1
- package/dist/components/bn-page2.js +1 -1
- package/dist/components/{test-runner-time.d.ts → bn-scaling-group.d.ts} +4 -4
- package/dist/components/bn-scaling-group.js +1 -0
- package/dist/components/bn-table.js +1 -1
- package/dist/components/bn-template.js +1 -1
- package/dist/components/bn-text.js +1 -1
- package/dist/components/bn-title2.js +1 -1
- package/dist/components/bn-tree.js +1 -1
- package/dist/components/contentDecoder.js +1 -0
- package/dist/components/context-protocol.js +1 -1
- package/dist/components/editor-companion.js +1 -1
- package/dist/components/emotion-hash.esm.js +1 -0
- package/dist/components/ibcs-chart-structure2.js +1 -1
- package/dist/components/ibcs-chart-time2.js +1 -1
- package/dist/components/ibcs-table2.js +1 -1
- package/dist/components/ibcs-title2.js +1 -1
- package/dist/components/ibcsRuleSet.js +1 -1
- package/dist/components/layoutObserver.js +1 -0
- package/dist/components/scaling.js +1 -1
- package/dist/components/validate.js +1 -1
- package/dist/components/withHasError.js +1 -1
- package/dist/components/withInheritedProps.js +1 -0
- package/dist/components/withStyled.js +1 -1
- package/dist/esm/bn-asset_21.entry.js +23973 -0
- package/dist/esm/bn-grid.entry.js +4 -11
- package/dist/esm/bn-image.entry.js +4 -11
- package/dist/esm/bn-internationalization.entry.js +4 -6
- package/dist/esm/bn-template-engine.js +3 -3
- package/dist/esm/bn-template.entry.js +3 -5
- package/dist/esm/bn-text.entry.js +6 -15
- package/dist/esm/bn-tree.entry.js +9 -12
- package/dist/esm/{context-protocol-DzeqZxg6.js → context-protocol-D-o_UZ33.js} +6 -2
- package/dist/esm/editor-companion.entry.js +3 -3
- package/dist/esm/{index-B27Ax6P_.js → index-B_d-jp99.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/scaling-BzbiBnuN.js +324 -0
- package/dist/esm/{withBodyObserver-gZpZiEIK.js → withBodyObserver-AFk2wwHT.js} +2 -2
- package/dist/esm/{withHasError-C48fTE2k.js → withHasError-DW_vMDUp.js} +106 -2
- package/dist/{cjs/luxon-8hyy5YD7.js → esm/withStyled-5RqF8WBL.js} +1371 -2
- package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +163 -110
- package/dist/types/components/bn-chart-structure/ibcs-chart-structure.d.ts +4 -3
- package/dist/types/components/bn-chart-structure/utils/StructureChart.d.ts +7 -0
- package/dist/types/components/bn-chart-structure/utils/elements/Label.d.ts +2 -0
- package/dist/types/components/bn-chart-structure/utils/model/styles/StructureChartStyle.d.ts +1 -0
- package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +29 -12
- package/dist/types/components/bn-chart-time/ibcs-chart-time.d.ts +4 -3
- package/dist/types/components/bn-chart-time/utils/model/styles/TimeChartStyle.d.ts +1 -0
- package/dist/types/components/bn-dataset/bn-dataset.d.ts +6 -0
- package/dist/types/components/bn-datasource/bn-datasource.d.ts +48 -5
- package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +153 -0
- package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +160 -1
- package/dist/types/components/bn-scaling-group/bn-scaling-group.d.ts +37 -0
- package/dist/types/components/bn-table/bn-table.d.ts +32 -17
- package/dist/types/components/bn-table/ibcs-table.d.ts +20 -0
- package/dist/types/components/bn-table/utils/elements/Cell.d.ts +1 -0
- package/dist/types/components/bn-table/utils/elements/CellBarChart.d.ts +1 -0
- package/dist/types/components/bn-title/bn-title.d.ts +0 -1
- package/dist/types/components.d.ts +438 -461
- package/dist/types/context/context-protocol.d.ts +2 -1
- package/dist/types/stores/componentStyles.d.ts +2 -0
- package/dist/types/stores/createScopedStores.d.ts +1 -0
- package/dist/types/utils/constants.d.ts +23 -5
- package/dist/types/utils/contentDecoder.d.ts +12 -0
- package/dist/types/utils/layoutObserver.d.ts +27 -0
- package/dist/types/utils/parentDimensions.d.ts +7 -2
- package/dist/types/utils/validate.d.ts +1 -0
- package/dist/types/utils/withInheritedProps.d.ts +38 -0
- package/dist/types/utils/withScalingGroup.d.ts +14 -0
- package/package.json +4 -4
- package/readme.md +2 -3
- package/dist/bn-template-engine/assets/gpx/Chasing_Legends.gpx +0 -195076
- package/dist/bn-template-engine/assets/gpx/Fahrt_am_Nachmittag.gpx +0 -142007
- package/dist/bn-template-engine/assets/icons/gpx-finish.png +0 -0
- package/dist/bn-template-engine/assets/icons/gpx-shadow.png +0 -0
- package/dist/bn-template-engine/assets/icons/gpx-start.png +0 -0
- package/dist/bn-template-engine/assets/icons/marker-example.png +0 -0
- package/dist/bn-template-engine/assets/icons/pin-icon-end.png +0 -0
- package/dist/bn-template-engine/assets/icons/pin-icon-start.png +0 -0
- package/dist/bn-template-engine/assets/icons/pin-icon-wpt.png +0 -0
- package/dist/bn-template-engine/assets/icons/pin-shadow.png +0 -0
- package/dist/bn-template-engine/assets/icons/pin.png +0 -0
- package/dist/bn-template-engine/p--TeDldm8.js +0 -1
- package/dist/bn-template-engine/p-0e7dc113.entry.js +0 -1
- package/dist/bn-template-engine/p-1jFf17Vj.js +0 -1
- package/dist/bn-template-engine/p-264c6bad.entry.js +0 -1
- package/dist/bn-template-engine/p-326a0902.entry.js +0 -1
- package/dist/bn-template-engine/p-38a8bde3.entry.js +0 -1
- package/dist/bn-template-engine/p-577eafcd.entry.js +0 -1
- package/dist/bn-template-engine/p-5905cc43.entry.js +0 -1
- package/dist/bn-template-engine/p-5d155a72.entry.js +0 -1
- package/dist/bn-template-engine/p-65f8962a.entry.js +0 -1
- package/dist/bn-template-engine/p-6b8d1ebf.entry.js +0 -1
- package/dist/bn-template-engine/p-7995acb2.entry.js +0 -1
- package/dist/bn-template-engine/p-7afe431e.entry.js +0 -1
- package/dist/bn-template-engine/p-8014b1ac.entry.js +0 -1
- package/dist/bn-template-engine/p-80423fc8.entry.js +0 -1
- package/dist/bn-template-engine/p-91e74d42.entry.js +0 -1
- package/dist/bn-template-engine/p-930a9e29.entry.js +0 -1
- package/dist/bn-template-engine/p-93C9jL8R.js +0 -1
- package/dist/bn-template-engine/p-93ff8584.entry.js +0 -1
- package/dist/bn-template-engine/p-B0m0U4wJ.js +0 -1
- package/dist/bn-template-engine/p-B27Ax6P_.js +0 -2
- package/dist/bn-template-engine/p-B79VcHiT.js +0 -1
- package/dist/bn-template-engine/p-BBd0ZVLL.js +0 -1
- package/dist/bn-template-engine/p-BFTU3MAI.js +0 -1
- package/dist/bn-template-engine/p-BFatTBqh.js +0 -1
- package/dist/bn-template-engine/p-BYmPQYxx.js +0 -1
- package/dist/bn-template-engine/p-BhEQy-2D.js +0 -1
- package/dist/bn-template-engine/p-BtVfu16B.js +0 -1
- package/dist/bn-template-engine/p-CY1RzLjU.js +0 -1
- package/dist/bn-template-engine/p-CfWnag33.js +0 -1
- package/dist/bn-template-engine/p-CnI71OA9.js +0 -1
- package/dist/bn-template-engine/p-Cp4MVxCu.js +0 -1
- package/dist/bn-template-engine/p-DbyXf6dF.js +0 -1
- package/dist/bn-template-engine/p-TdL-LRR9.js +0 -1
- package/dist/bn-template-engine/p-_LBTIfNN.js +0 -1
- package/dist/bn-template-engine/p-a342cd3c.entry.js +0 -1
- package/dist/bn-template-engine/p-ad94cf63.entry.js +0 -1
- package/dist/bn-template-engine/p-bc37d750.entry.js +0 -1
- package/dist/bn-template-engine/p-d07a0ca3.entry.js +0 -1
- package/dist/bn-template-engine/p-e5f372af.entry.js +0 -1
- package/dist/bn-template-engine/p-e620028c.entry.js +0 -1
- package/dist/bn-template-engine/p-e81e116a.entry.js +0 -1
- package/dist/bn-template-engine/p-eca98070.entry.js +0 -1
- package/dist/bn-template-engine/p-ee6de950.entry.js +0 -1
- package/dist/bn-template-engine/p-efe0ef1e.entry.js +0 -1
- package/dist/bn-template-engine/p-f034f1b8.entry.js +0 -1
- package/dist/bn-template-engine/p-f1c1a8a3.entry.js +0 -1
- package/dist/bn-template-engine/p-fe573a1a.entry.js +0 -1
- package/dist/bn-template-engine/p-kMyLevYy.js +0 -1
- package/dist/cjs/DataFormatDigits-DmTbhF8q.js +0 -142
- package/dist/cjs/DateStringFactory-Dn0aRj2Y.js +0 -453
- package/dist/cjs/Order-B4NIqQWe.js +0 -129
- package/dist/cjs/SVGVariancesStyleGroup-Czizhngt.js +0 -7973
- package/dist/cjs/StringAdapter-0EbYMkR0.js +0 -136
- package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +0 -10
- package/dist/cjs/alasql.min-C_nHTuEQ.js +0 -306
- package/dist/cjs/bn-asset.cjs.entry.js +0 -42
- package/dist/cjs/bn-body_3.cjs.entry.js +0 -413
- package/dist/cjs/bn-card.cjs.entry.js +0 -37
- package/dist/cjs/bn-chart-structure.cjs.entry.js +0 -705
- package/dist/cjs/bn-chart-time.cjs.entry.js +0 -987
- package/dist/cjs/bn-component-style.cjs.entry.js +0 -44
- package/dist/cjs/bn-context_5.cjs.entry.js +0 -3380
- package/dist/cjs/bn-dataset.cjs.entry.js +0 -278
- package/dist/cjs/bn-layout-card.cjs.entry.js +0 -128
- package/dist/cjs/bn-layout-page.cjs.entry.js +0 -142
- package/dist/cjs/bn-map.cjs.entry.js +0 -425
- package/dist/cjs/bn-message.cjs.entry.js +0 -52
- package/dist/cjs/componentRegister-C17UFNPh.js +0 -72
- package/dist/cjs/constants-DHqQXSSd.js +0 -158
- package/dist/cjs/formatter-DIJL_crx.js +0 -215
- package/dist/cjs/ibcs-chart-structure.cjs.entry.js +0 -2906
- package/dist/cjs/ibcs-chart-time.cjs.entry.js +0 -4140
- package/dist/cjs/ibcs-map.cjs.entry.js +0 -1075
- package/dist/cjs/ibcs-title.cjs.entry.js +0 -352
- package/dist/cjs/scaling-B23eOtsC.js +0 -67
- package/dist/cjs/test-runner-card.cjs.entry.js +0 -27
- package/dist/cjs/test-runner-chart-time.cjs.entry.js +0 -230
- package/dist/cjs/test-runner-chart.cjs.entry.js +0 -326
- package/dist/cjs/test-runner-map.cjs.entry.js +0 -1862
- package/dist/cjs/test-runner-table.cjs.entry.js +0 -477
- package/dist/cjs/test-runner-time.cjs.entry.js +0 -381
- package/dist/cjs/test-runner-title.cjs.entry.js +0 -115
- package/dist/cjs/withComponentStatus-BrxL7usr.js +0 -39
- package/dist/cjs/withComponentStyle-C6KHnZHt.js +0 -128
- package/dist/cjs/withDataset-ZdN-RRTx.js +0 -146
- package/dist/cjs/withStyled-Bf-stJTR.js +0 -567
- package/dist/cjs/withTranslation-Cz0M5maV.js +0 -77
- package/dist/collection/components/bn-map/bn-map.css +0 -4
- package/dist/collection/components/bn-map/bn-map.js +0 -725
- package/dist/collection/components/bn-map/ibcs-map/assets/gpx/Chasing_Legends.gpx +0 -195076
- package/dist/collection/components/bn-map/ibcs-map/assets/gpx/Fahrt_am_Nachmittag.gpx +0 -142007
- package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-finish.png +0 -0
- package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-shadow.png +0 -0
- package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-start.png +0 -0
- package/dist/collection/components/bn-map/ibcs-map/assets/icons/marker-example.png +0 -0
- package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-end.png +0 -0
- package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-start.png +0 -0
- package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-wpt.png +0 -0
- package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-shadow.png +0 -0
- package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin.png +0 -0
- package/dist/collection/components/bn-map/ibcs-map/ibcs-map.css +0 -674
- package/dist/collection/components/bn-map/ibcs-map/ibcs-map.js +0 -744
- package/dist/collection/components/bn-map/ibcs-map/utils/model/GeoJsonLayer.js +0 -9
- package/dist/collection/components/bn-map/ibcs-map/utils/model/GpxLayer.js +0 -13
- package/dist/collection/components/bn-map/ibcs-map/utils/model/Marker.js +0 -11
- package/dist/collection/components/bn-map/ibcs-map/utils/model/index.js +0 -2
- package/dist/collection/test-runner/test-runner-card.js +0 -36
- package/dist/collection/test-runner/test-runner-chart-time.js +0 -234
- package/dist/collection/test-runner/test-runner-chart.js +0 -364
- package/dist/collection/test-runner/test-runner-map.js +0 -1901
- package/dist/collection/test-runner/test-runner-table.js +0 -469
- package/dist/collection/test-runner/test-runner-time.js +0 -399
- package/dist/collection/test-runner/test-runner-title.js +0 -108
- package/dist/components/bn-map.d.ts +0 -11
- package/dist/components/bn-map.js +0 -1
- package/dist/components/componentRegister.js +0 -1
- package/dist/components/ibcs-map.d.ts +0 -11
- package/dist/components/ibcs-map.js +0 -1
- package/dist/components/ibcs-map2.js +0 -1
- package/dist/components/test-runner-card.d.ts +0 -11
- package/dist/components/test-runner-card.js +0 -1
- package/dist/components/test-runner-chart-time.d.ts +0 -11
- package/dist/components/test-runner-chart-time.js +0 -1
- package/dist/components/test-runner-chart.d.ts +0 -11
- package/dist/components/test-runner-chart.js +0 -1
- package/dist/components/test-runner-map.d.ts +0 -11
- package/dist/components/test-runner-map.js +0 -1
- package/dist/components/test-runner-table.d.ts +0 -11
- package/dist/components/test-runner-table.js +0 -1
- package/dist/components/test-runner-time.js +0 -1
- package/dist/components/test-runner-title.d.ts +0 -11
- package/dist/components/test-runner-title.js +0 -1
- package/dist/components/withDataset.js +0 -1
- package/dist/esm/DataFormatDigits-Dt6gpIiZ.js +0 -137
- package/dist/esm/DateStringFactory-_Qiv0IvF.js +0 -451
- package/dist/esm/Order-B4fpLe_f.js +0 -125
- package/dist/esm/SVGVariancesStyleGroup-DlWgvpzs.js +0 -7961
- package/dist/esm/StringAdapter-BLvo1Krl.js +0 -133
- package/dist/esm/_commonjsHelpers-BFTU3MAI.js +0 -7
- package/dist/esm/alasql.min-CWu4NkIt.js +0 -304
- package/dist/esm/bn-asset.entry.js +0 -40
- package/dist/esm/bn-body_3.entry.js +0 -409
- package/dist/esm/bn-card.entry.js +0 -35
- package/dist/esm/bn-chart-structure.entry.js +0 -703
- package/dist/esm/bn-chart-time.entry.js +0 -985
- package/dist/esm/bn-component-style.entry.js +0 -42
- package/dist/esm/bn-context_5.entry.js +0 -3374
- package/dist/esm/bn-dataset.entry.js +0 -276
- package/dist/esm/bn-layout-card.entry.js +0 -126
- package/dist/esm/bn-layout-page.entry.js +0 -140
- package/dist/esm/bn-map.entry.js +0 -423
- package/dist/esm/bn-message.entry.js +0 -50
- package/dist/esm/componentRegister-BtVfu16B.js +0 -72
- package/dist/esm/constants-kMyLevYy.js +0 -158
- package/dist/esm/formatter-DTMEZ6d8.js +0 -211
- package/dist/esm/ibcs-chart-structure.entry.js +0 -2904
- package/dist/esm/ibcs-chart-time.entry.js +0 -4138
- package/dist/esm/ibcs-map.entry.js +0 -1073
- package/dist/esm/ibcs-title.entry.js +0 -350
- package/dist/esm/scaling-BBd0ZVLL.js +0 -64
- package/dist/esm/test-runner-card.entry.js +0 -25
- package/dist/esm/test-runner-chart-time.entry.js +0 -228
- package/dist/esm/test-runner-chart.entry.js +0 -324
- package/dist/esm/test-runner-map.entry.js +0 -1860
- package/dist/esm/test-runner-table.entry.js +0 -475
- package/dist/esm/test-runner-time.entry.js +0 -379
- package/dist/esm/test-runner-title.entry.js +0 -113
- package/dist/esm/withComponentStatus-elELReKt.js +0 -37
- package/dist/esm/withComponentStyle-NaxfakAG.js +0 -126
- package/dist/esm/withDataset-BT2VQCsG.js +0 -144
- package/dist/esm/withStyled-CpUTv74m.js +0 -539
- package/dist/esm/withTranslation-Do4GhleK.js +0 -75
- package/dist/types/components/bn-map/bn-map.d.ts +0 -122
- package/dist/types/components/bn-map/ibcs-map/ibcs-map.d.ts +0 -73
- package/dist/types/components/bn-map/ibcs-map/utils/model/GeoJsonLayer.d.ts +0 -8
- package/dist/types/components/bn-map/ibcs-map/utils/model/GpxLayer.d.ts +0 -11
- package/dist/types/components/bn-map/ibcs-map/utils/model/Marker.d.ts +0 -9
- package/dist/types/components/bn-map/ibcs-map/utils/model/index.d.ts +0 -2
- package/dist/types/test-runner/test-runner-card.d.ts +0 -3
- package/dist/types/test-runner/test-runner-chart-time.d.ts +0 -3
- package/dist/types/test-runner/test-runner-chart.d.ts +0 -3
- package/dist/types/test-runner/test-runner-map.d.ts +0 -3
- package/dist/types/test-runner/test-runner-table.d.ts +0 -3
- package/dist/types/test-runner/test-runner-time.d.ts +0 -3
- package/dist/types/test-runner/test-runner-title.d.ts +0 -3
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
/** Controls which parts of a component are translated: ALL=labels+data, META=labels only. */
|
|
2
|
-
var I18nMode;
|
|
3
|
-
(function (I18nMode) {
|
|
4
|
-
I18nMode["ALL"] = "all";
|
|
5
|
-
I18nMode["META"] = "meta";
|
|
6
|
-
})(I18nMode || (I18nMode = {}));
|
|
7
|
-
/** Unit type of the measured values — affects default formatting and SI prefix behavior. */
|
|
8
|
-
var MeasureType;
|
|
9
|
-
(function (MeasureType) {
|
|
10
|
-
MeasureType["CURRENCY"] = "currency";
|
|
11
|
-
MeasureType["VOLUME"] = "volume";
|
|
12
|
-
})(MeasureType || (MeasureType = {}));
|
|
13
|
-
/**
|
|
14
|
-
* IBCS four-scenario model with up to 4 variants per type.
|
|
15
|
-
* - AC (actual): reported/measured values
|
|
16
|
-
* - PP (previous period): prior year or period for comparison
|
|
17
|
-
* - FC (forecast): projected future values
|
|
18
|
-
* - PL (plan): budgeted/target values
|
|
19
|
-
*/
|
|
20
|
-
var Scenarios;
|
|
21
|
-
(function (Scenarios) {
|
|
22
|
-
Scenarios["AC1"] = "ac1";
|
|
23
|
-
Scenarios["AC2"] = "ac2";
|
|
24
|
-
Scenarios["AC3"] = "ac3";
|
|
25
|
-
Scenarios["AC4"] = "ac4";
|
|
26
|
-
Scenarios["PP1"] = "pp1";
|
|
27
|
-
Scenarios["PP2"] = "pp2";
|
|
28
|
-
Scenarios["PP3"] = "pp3";
|
|
29
|
-
Scenarios["PP4"] = "pp4";
|
|
30
|
-
Scenarios["FC1"] = "fc1";
|
|
31
|
-
Scenarios["FC2"] = "fc2";
|
|
32
|
-
Scenarios["FC3"] = "fc3";
|
|
33
|
-
Scenarios["FC4"] = "fc4";
|
|
34
|
-
Scenarios["PL1"] = "pl1";
|
|
35
|
-
Scenarios["PL2"] = "pl2";
|
|
36
|
-
Scenarios["PL3"] = "pl3";
|
|
37
|
-
Scenarios["PL4"] = "pl4";
|
|
38
|
-
})(Scenarios || (Scenarios = {}));
|
|
39
|
-
/**
|
|
40
|
-
* Variance direction for IBCS traffic-light coloring.
|
|
41
|
-
* - POS: favorable variance (green in IBCS)
|
|
42
|
-
* - NEG: unfavorable variance (red in IBCS)
|
|
43
|
-
* - NEU: neutral / no directional meaning
|
|
44
|
-
*/
|
|
45
|
-
var Sentiments;
|
|
46
|
-
(function (Sentiments) {
|
|
47
|
-
Sentiments["POS"] = "pos";
|
|
48
|
-
Sentiments["NEG"] = "neg";
|
|
49
|
-
Sentiments["NEU"] = "neu";
|
|
50
|
-
})(Sentiments || (Sentiments = {}));
|
|
51
|
-
/** Number display format: DECIMAL for absolute values, PERCENT for ratio columns. */
|
|
52
|
-
var DataFormat;
|
|
53
|
-
(function (DataFormat) {
|
|
54
|
-
DataFormat["DECIMAL"] = "decimal";
|
|
55
|
-
DataFormat["PERCENT"] = "percent";
|
|
56
|
-
})(DataFormat || (DataFormat = {}));
|
|
57
|
-
/**
|
|
58
|
-
* Table aggregation mode.
|
|
59
|
-
* - LIST: no aggregation, rows displayed as-is
|
|
60
|
-
* - SUM: simple sum per group with a grand total row
|
|
61
|
-
* - SUMNOTOTAL: sum per group without a grand total
|
|
62
|
-
* - OPT: operation-aware aggregation — rows with operation="-" subtract from the group sum
|
|
63
|
-
* - OPTNOTOTAL: operation-aware aggregation without a grand total
|
|
64
|
-
*/
|
|
65
|
-
var TableType;
|
|
66
|
-
(function (TableType) {
|
|
67
|
-
TableType["LIST"] = "list";
|
|
68
|
-
TableType["SUM"] = "sum";
|
|
69
|
-
TableType["SUMNOTOTAL"] = "sumnototal";
|
|
70
|
-
TableType["OPT"] = "opt";
|
|
71
|
-
TableType["OPTNOTOTAL"] = "optnototal";
|
|
72
|
-
})(TableType || (TableType = {}));
|
|
73
|
-
/** Width of the category label column as a percentage of the table width. INF = auto/infinite. */
|
|
74
|
-
var TableCategoryWidth;
|
|
75
|
-
(function (TableCategoryWidth) {
|
|
76
|
-
TableCategoryWidth["INF"] = "inf";
|
|
77
|
-
TableCategoryWidth["W100"] = "w100";
|
|
78
|
-
TableCategoryWidth["W50"] = "w50";
|
|
79
|
-
TableCategoryWidth["W25"] = "w25";
|
|
80
|
-
TableCategoryWidth["W20"] = "w20";
|
|
81
|
-
TableCategoryWidth["W15"] = "w15";
|
|
82
|
-
TableCategoryWidth["W10"] = "w10";
|
|
83
|
-
TableCategoryWidth["W5"] = "w5";
|
|
84
|
-
})(TableCategoryWidth || (TableCategoryWidth = {}));
|
|
85
|
-
/**
|
|
86
|
-
* Three-level row hierarchy for grouping and drill-down: rowGroup > category > subCategory.
|
|
87
|
-
* Index variants (e.g. ROWGROUPINDEX) provide stable numeric sort keys that preserve
|
|
88
|
-
* the original dataset order when alphabetical sorting is undesirable.
|
|
89
|
-
*/
|
|
90
|
-
var AggregationLevel;
|
|
91
|
-
(function (AggregationLevel) {
|
|
92
|
-
AggregationLevel["ROWGROUP"] = "rowGroup";
|
|
93
|
-
AggregationLevel["ROWGROUPINDEX"] = "rowGroupIndex";
|
|
94
|
-
AggregationLevel["CATEGORY"] = "category";
|
|
95
|
-
AggregationLevel["CATEGORYINDEX"] = "categoryIndex";
|
|
96
|
-
AggregationLevel["SUBCATEGORY"] = "subCategory";
|
|
97
|
-
AggregationLevel["SUBCATEGORYINDEX"] = "subCategoryIndex";
|
|
98
|
-
})(AggregationLevel || (AggregationLevel = {}));
|
|
99
|
-
/**
|
|
100
|
-
* Date axis label display strategy.
|
|
101
|
-
* - SMART: abbreviated labels with parent period shown at boundary crossings (e.g. "Jan" normally, "Jan 2024" at year boundary)
|
|
102
|
-
* - LONG: full date format for every label
|
|
103
|
-
* - SHORT: abbreviated format for every label
|
|
104
|
-
*/
|
|
105
|
-
var AxisLabelsMode;
|
|
106
|
-
(function (AxisLabelsMode) {
|
|
107
|
-
AxisLabelsMode["SMART"] = "smart";
|
|
108
|
-
AxisLabelsMode["LONG"] = "long";
|
|
109
|
-
AxisLabelsMode["SHORT"] = "short";
|
|
110
|
-
})(AxisLabelsMode || (AxisLabelsMode = {}));
|
|
111
|
-
/**
|
|
112
|
-
* Visual representation type for chart series.
|
|
113
|
-
* - COLUMN: vertical bars (time chart) or horizontal bars (structure chart)
|
|
114
|
-
* - LINE: connected data points
|
|
115
|
-
* - WATERFALL: cumulative flow where each bar starts where the previous one ended
|
|
116
|
-
*/
|
|
117
|
-
var ChartType;
|
|
118
|
-
(function (ChartType) {
|
|
119
|
-
ChartType["COLUMN"] = "column";
|
|
120
|
-
ChartType["LINE"] = "line";
|
|
121
|
-
ChartType["WATERFALL"] = "waterfall";
|
|
122
|
-
})(ChartType || (ChartType = {}));
|
|
123
|
-
/** Chart rendering mode. AUTO selects BAR or LINE based on scenario type. */
|
|
124
|
-
var ChartMode;
|
|
125
|
-
(function (ChartMode) {
|
|
126
|
-
ChartMode["BAR"] = "bar";
|
|
127
|
-
ChartMode["LINE"] = "line";
|
|
128
|
-
ChartMode["AUTO"] = "auto";
|
|
129
|
-
})(ChartMode || (ChartMode = {}));
|
|
130
|
-
/** Dimension used to split bars into stacked segments within a single data point. */
|
|
131
|
-
var StackBy;
|
|
132
|
-
(function (StackBy) {
|
|
133
|
-
StackBy["SCENARIO"] = "scenario";
|
|
134
|
-
StackBy["CATEGORY"] = "category";
|
|
135
|
-
StackBy["SUBCATEGORY"] = "subcategory";
|
|
136
|
-
StackBy["ROWGROUP"] = "rowgroup";
|
|
137
|
-
})(StackBy || (StackBy = {}));
|
|
138
|
-
/**
|
|
139
|
-
* How stacked values are presented.
|
|
140
|
-
* - ABSOLUTE: raw values stacked
|
|
141
|
-
* - RELATIVE: normalized to 100% per data point
|
|
142
|
-
* - ABSOLUTE_RELATIVE: absolute bars with a relative (%) total label
|
|
143
|
-
*/
|
|
144
|
-
var StackMode;
|
|
145
|
-
(function (StackMode) {
|
|
146
|
-
StackMode["ABSOLUTE"] = "absolute";
|
|
147
|
-
StackMode["RELATIVE"] = "relative";
|
|
148
|
-
StackMode["ABSOLUTE_RELATIVE"] = "absolute-relative";
|
|
149
|
-
})(StackMode || (StackMode = {}));
|
|
150
|
-
/** Sort order of segments within a stacked bar. DATASET preserves the original data order. */
|
|
151
|
-
var StackOrder;
|
|
152
|
-
(function (StackOrder) {
|
|
153
|
-
StackOrder["ASC"] = "asc";
|
|
154
|
-
StackOrder["DESC"] = "desc";
|
|
155
|
-
StackOrder["DATASET"] = "dataset";
|
|
156
|
-
})(StackOrder || (StackOrder = {}));
|
|
157
|
-
|
|
158
|
-
export { AggregationLevel as A, ChartMode as C, DataFormat as D, I18nMode as I, MeasureType as M, StackOrder as S, TableType as T, TableCategoryWidth as a, StackMode as b, AxisLabelsMode as c, Scenarios as d, Sentiments as e, StackBy as f };
|
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-BFTU3MAI.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Parses an IBCS variance column name into its constituent parts.
|
|
5
|
-
*
|
|
6
|
-
* Naming convention: `d{base}_{delta}_{sentiment}` for absolute variance,
|
|
7
|
-
* `dr{base}_{delta}_{sentiment}` for relative (%) variance.
|
|
8
|
-
*
|
|
9
|
-
* Example: `"dac1_pl1_pos"` → type="d", base="ac1" (minuend), delta="pl1" (subtrahend), direction="pos"
|
|
10
|
-
*/
|
|
11
|
-
class VarianceScenario {
|
|
12
|
-
constructor(scenario) {
|
|
13
|
-
/** `"d"` for absolute variance, `"dr"` for relative (percentage) variance */
|
|
14
|
-
this.type = "";
|
|
15
|
-
/** Minuend scenario (the value subtracted from), e.g. `"ac1"` */
|
|
16
|
-
this.base = "";
|
|
17
|
-
/** Subtrahend scenario (the value subtracted), e.g. `"pl1"` */
|
|
18
|
-
this.delta = "";
|
|
19
|
-
/** Sentiment direction: `"pos"` (favorable), `"neg"` (unfavorable), `"neu"` (neutral) */
|
|
20
|
-
this.direction = "";
|
|
21
|
-
this.isValid = false;
|
|
22
|
-
/** Capture groups: [1]=type (d|dr), [2]=base scenario, [3]=delta scenario, [4]=sentiment */
|
|
23
|
-
const scenarioTestRegex = /(d|dr)(pl\d|ac\d|fc\d|pp\d)_(pl\d|ac\d|fc\d|pp\d)_(pos|neg|neu)/;
|
|
24
|
-
if (scenarioTestRegex.test(scenario)) {
|
|
25
|
-
const tokens = scenarioTestRegex.exec(scenario);
|
|
26
|
-
if (tokens != null) {
|
|
27
|
-
this.type = String(tokens[1]);
|
|
28
|
-
this.base = String(tokens[2]);
|
|
29
|
-
this.delta = String(tokens[3]);
|
|
30
|
-
this.direction = String(tokens[4]);
|
|
31
|
-
this.isValid = true;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
var QueryColumnNames;
|
|
38
|
-
(function (QueryColumnNames) {
|
|
39
|
-
QueryColumnNames["OPERATION"] = "operation";
|
|
40
|
-
QueryColumnNames["ROWGROUP"] = "rowGroup";
|
|
41
|
-
QueryColumnNames["ROWGROUPINDEX"] = "rowGroupIndex";
|
|
42
|
-
QueryColumnNames["CURRENTROW"] = "currentRow";
|
|
43
|
-
QueryColumnNames["CATEGORY"] = "category";
|
|
44
|
-
QueryColumnNames["CATEGORYINDEX"] = "categoryIndex";
|
|
45
|
-
QueryColumnNames["SUBCATEGORY"] = "subCategory";
|
|
46
|
-
QueryColumnNames["SUBCATEGORYINDEX"] = "subCategoryIndex";
|
|
47
|
-
QueryColumnNames["COLUMNGROUP"] = "columnGroup";
|
|
48
|
-
QueryColumnNames["COLUMNGROUPINDEX"] = "columnIndex";
|
|
49
|
-
QueryColumnNames["COLUMNSUBGROUP"] = "columnSubGroup";
|
|
50
|
-
QueryColumnNames["COLUMNSUBGROUPINDEX"] = "columnSubGroupIndex";
|
|
51
|
-
QueryColumnNames["AC1"] = "ac1";
|
|
52
|
-
QueryColumnNames["AC2"] = "ac2";
|
|
53
|
-
QueryColumnNames["AC3"] = "ac3";
|
|
54
|
-
QueryColumnNames["AC4"] = "ac4";
|
|
55
|
-
QueryColumnNames["PP1"] = "pp1";
|
|
56
|
-
QueryColumnNames["PP2"] = "pp2";
|
|
57
|
-
QueryColumnNames["PP3"] = "pp3";
|
|
58
|
-
QueryColumnNames["PP4"] = "pp4";
|
|
59
|
-
QueryColumnNames["FC1"] = "fc1";
|
|
60
|
-
QueryColumnNames["FC2"] = "fc2";
|
|
61
|
-
QueryColumnNames["FC3"] = "fc3";
|
|
62
|
-
QueryColumnNames["FC4"] = "fc4";
|
|
63
|
-
QueryColumnNames["PL1"] = "pl1";
|
|
64
|
-
QueryColumnNames["PL2"] = "pl2";
|
|
65
|
-
QueryColumnNames["PL3"] = "pl3";
|
|
66
|
-
QueryColumnNames["PL4"] = "pl4";
|
|
67
|
-
QueryColumnNames["TOTALROWCOUNT"] = "totalRowCnt";
|
|
68
|
-
QueryColumnNames["ROWNR"] = "rowNr";
|
|
69
|
-
QueryColumnNames["TYPE"] = "type";
|
|
70
|
-
})(QueryColumnNames || (QueryColumnNames = {}));
|
|
71
|
-
|
|
72
|
-
var lib = {};
|
|
73
|
-
|
|
74
|
-
var hasRequiredLib;
|
|
75
|
-
|
|
76
|
-
function requireLib () {
|
|
77
|
-
if (hasRequiredLib) return lib;
|
|
78
|
-
hasRequiredLib = 1;
|
|
79
|
-
function createDummyElement(text, options) {
|
|
80
|
-
var element = document.createElement('div');
|
|
81
|
-
var textNode = document.createTextNode(text);
|
|
82
|
-
element.appendChild(textNode);
|
|
83
|
-
element.style.fontFamily = options.font;
|
|
84
|
-
element.style.fontSize = options.fontSize;
|
|
85
|
-
element.style.fontWeight = options.fontWeight;
|
|
86
|
-
element.style.position = 'absolute';
|
|
87
|
-
element.style.visibility = 'hidden';
|
|
88
|
-
element.style.left = '-999px';
|
|
89
|
-
element.style.top = '-999px';
|
|
90
|
-
element.style.width = options.width;
|
|
91
|
-
element.style.height = 'auto';
|
|
92
|
-
document.body.appendChild(element);
|
|
93
|
-
return element;
|
|
94
|
-
}
|
|
95
|
-
function destroyElement(element) {
|
|
96
|
-
element.parentNode.removeChild(element);
|
|
97
|
-
}
|
|
98
|
-
var cache = {};
|
|
99
|
-
Object.defineProperty(lib, "__esModule", { value: true });
|
|
100
|
-
lib.default = function (text, options) {
|
|
101
|
-
if (options === void 0) { options = {}; }
|
|
102
|
-
var cacheKey = JSON.stringify({ text: text, options: options });
|
|
103
|
-
if (cache[cacheKey]) {
|
|
104
|
-
return cache[cacheKey];
|
|
105
|
-
}
|
|
106
|
-
options.font = options.font || 'Times';
|
|
107
|
-
options.fontSize = options.fontSize || '16px';
|
|
108
|
-
options.fontWeight = options.fontWeight || 'normal';
|
|
109
|
-
options.width = options.width || 'auto';
|
|
110
|
-
var element = createDummyElement(text, options);
|
|
111
|
-
var size = {
|
|
112
|
-
width: element.offsetWidth,
|
|
113
|
-
height: element.offsetHeight,
|
|
114
|
-
};
|
|
115
|
-
destroyElement(element);
|
|
116
|
-
cache[cacheKey] = size;
|
|
117
|
-
return size;
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
return lib;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
var libExports = requireLib();
|
|
124
|
-
var CalculateSize = /*@__PURE__*/getDefaultExportFromCjs(libExports);
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* Number and label formatting utilities following ISO 80000-1 conventions.
|
|
128
|
-
*/
|
|
129
|
-
class Formatter {
|
|
130
|
-
/**
|
|
131
|
-
* Formats a number for display following ISO 80000-1 conventions.
|
|
132
|
-
*
|
|
133
|
-
* Pipeline: divide by scale factor -> format via de-DE locale -> strip whitespace
|
|
134
|
-
* before `%` -> replace group separator with `postfixSeperator` -> replace decimal
|
|
135
|
-
* separator with `tsdDelimiter`.
|
|
136
|
-
*
|
|
137
|
-
* @param scale Divisor applied before formatting (e.g. 1000 for "k" SI prefix).
|
|
138
|
-
*/
|
|
139
|
-
static number(value, type = "decimal", digits = 1, digitsMin = 0, scale = 1) {
|
|
140
|
-
const scaledValue = value / scale;
|
|
141
|
-
return scaledValue
|
|
142
|
-
.toLocaleString("de-DE", {
|
|
143
|
-
style: type,
|
|
144
|
-
useGrouping: true,
|
|
145
|
-
maximumFractionDigits: digits,
|
|
146
|
-
minimumFractionDigits: digitsMin,
|
|
147
|
-
})
|
|
148
|
-
.replace(/\s+(%)/g, "$1")
|
|
149
|
-
.replace(/\s/g, this.postfixSeperator)
|
|
150
|
-
.replace(/\./g, this.tsdDelimiter);
|
|
151
|
-
}
|
|
152
|
-
/**
|
|
153
|
-
* Translates a technical scenario identifier into a human-readable IBCS label.
|
|
154
|
-
*
|
|
155
|
-
* Uses IBCS symbol conventions from the i18n map:
|
|
156
|
-
* - AC-base absolute variance: `ibcssymbol_delta_ac` -- renders as e.g. `Delta{scenarioName}`
|
|
157
|
-
* - AC-base relative variance: `ibcssymbol_delta_ac_relative` -- renders as e.g. `Delta(scenarioName)`
|
|
158
|
-
* - Non-AC absolute variance: `ibcssymbol_delta_generic`
|
|
159
|
-
* - Non-AC relative variance: `ibcssymbol_delta_generic_relative`
|
|
160
|
-
*
|
|
161
|
-
* The `{%}` placeholder in the i18n token is replaced with the translated scenario name(s).
|
|
162
|
-
* Non-variance scenarios are looked up directly in the i18n map.
|
|
163
|
-
*/
|
|
164
|
-
static translateScenarioLabel(scenario, i18n) {
|
|
165
|
-
if (scenario === null || scenario === undefined) {
|
|
166
|
-
return "";
|
|
167
|
-
}
|
|
168
|
-
const scenarios = new VarianceScenario(scenario);
|
|
169
|
-
if (!scenarios.isValid) {
|
|
170
|
-
return `${i18n.get(scenario) || scenario}`;
|
|
171
|
-
}
|
|
172
|
-
let token;
|
|
173
|
-
let scenarioLabel;
|
|
174
|
-
if (QueryColumnNames.AC1 === scenarios.base) {
|
|
175
|
-
if (scenarios.type === "dr") {
|
|
176
|
-
token = i18n.get("ibcssymbol_delta_ac" + "_relative");
|
|
177
|
-
}
|
|
178
|
-
else {
|
|
179
|
-
token = i18n.get("ibcssymbol_delta_ac" + "");
|
|
180
|
-
}
|
|
181
|
-
scenarioLabel = i18n.get(scenarios.delta) || scenarios.delta;
|
|
182
|
-
}
|
|
183
|
-
else {
|
|
184
|
-
if (scenarios.type === "dr") {
|
|
185
|
-
token = i18n.get("ibcssymbol_delta_generic" + "_relative");
|
|
186
|
-
}
|
|
187
|
-
else {
|
|
188
|
-
token = i18n.get("ibcssymbol_delta_generic" + "");
|
|
189
|
-
}
|
|
190
|
-
scenarioLabel = `${i18n.get(scenarios.base) || scenarios.base} - ${i18n.get(scenarios.delta) || scenarios.delta}`;
|
|
191
|
-
}
|
|
192
|
-
if (token === undefined) {
|
|
193
|
-
token = "{%}";
|
|
194
|
-
}
|
|
195
|
-
return `${token.replace("{%}", scenarioLabel)}`;
|
|
196
|
-
}
|
|
197
|
-
static getMaxWidthOfArrayItems(scenarios, i18n, style) {
|
|
198
|
-
return CalculateSize(scenarios
|
|
199
|
-
.map((scenario) => Formatter.translateScenarioLabel(scenario, i18n))
|
|
200
|
-
.reduce((a, b) => (a.length < b.length ? b : a), ""), {
|
|
201
|
-
font: style.fontStyles.font,
|
|
202
|
-
fontSize: style.fontStyles.size + "px",
|
|
203
|
-
}).width;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
/** Replacement character for the thousands group separator (default de-DE uses period). */
|
|
207
|
-
Formatter.tsdDelimiter = ".";
|
|
208
|
-
/** Replacement character for the decimal separator (default de-DE uses comma). */
|
|
209
|
-
Formatter.postfixSeperator = ",";
|
|
210
|
-
|
|
211
|
-
export { CalculateSize as C, Formatter as F, QueryColumnNames as Q, VarianceScenario as V };
|