@bino-bi/bn-template-engine 1.0.0-alpha.0 → 1.0.0-alpha.3
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/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
- package/dist/bn-template-engine/p-05a82a77.entry.js +1 -0
- package/dist/bn-template-engine/p-0f1504f3.entry.js +1 -0
- package/dist/bn-template-engine/p-1970906d.entry.js +1 -0
- package/dist/bn-template-engine/p-1dbd339c.entry.js +1 -0
- package/dist/bn-template-engine/p-2e68cf09.entry.js +1 -0
- package/dist/bn-template-engine/p-31cc6a2d.entry.js +1 -0
- package/dist/bn-template-engine/p-37881d05.entry.js +1 -0
- package/dist/bn-template-engine/{p-65f8962a.entry.js → p-3b894997.entry.js} +1 -1
- package/dist/bn-template-engine/p-50e49732.entry.js +1 -0
- package/dist/bn-template-engine/{p-ad94cf63.entry.js → p-6c7c0455.entry.js} +1 -1
- package/dist/bn-template-engine/p-6da93eae.entry.js +1 -0
- package/dist/bn-template-engine/p-701e1578.entry.js +1 -0
- package/dist/bn-template-engine/{p-_LBTIfNN.js → p-8tsCnxIz.js} +1 -1
- package/dist/bn-template-engine/p-997b2fe4.entry.js +1 -0
- package/dist/bn-template-engine/p-B4ySv9KQ.js +1 -0
- package/dist/bn-template-engine/p-BL8gyUwE.js +1 -0
- package/dist/bn-template-engine/p-BSfqOkN_.js +1 -0
- package/dist/bn-template-engine/{p-Cp4MVxCu.js → p-C0yAPzJz.js} +1 -1
- package/dist/bn-template-engine/{p--TeDldm8.js → p-CRLgp9-v.js} +1 -1
- package/dist/bn-template-engine/p-CYjZRKdI.js +1 -0
- package/dist/bn-template-engine/p-DG-1MR_T.js +1 -0
- package/dist/bn-template-engine/{p-CnI71OA9.js → p-DRikHQE-.js} +1 -1
- package/dist/bn-template-engine/p-DVMu6dEy.js +1 -0
- package/dist/bn-template-engine/p-DtdQCMzj.js +1 -0
- package/dist/bn-template-engine/p-JNHhIe7t.js +2 -0
- package/dist/bn-template-engine/p-a90f1cbe.entry.js +1 -0
- package/dist/bn-template-engine/p-b7bec050.entry.js +1 -0
- package/dist/bn-template-engine/p-d7f0cbaf.entry.js +1 -0
- package/dist/bn-template-engine/p-dfb61aa5.entry.js +1 -0
- package/dist/bn-template-engine/p-ece17f84.entry.js +1 -0
- package/dist/bn-template-engine/p-f27995c9.entry.js +1 -0
- package/dist/bn-template-engine/p-fd427179.entry.js +1 -0
- package/dist/bn-template-engine/p-sqjrku2z.js +1 -0
- package/dist/bn-template-engine/{p-CY1RzLjU.js → p-tzFCK9qn.js} +1 -1
- package/dist/cjs/{DataFormatDigits-DmTbhF8q.js → DataFormatDigits-DAmZzqbD.js} +1 -1
- package/dist/cjs/{DateStringFactory-Dn0aRj2Y.js → DateStringFactory-CcluhpGI.js} +4 -5
- package/dist/cjs/{luxon-8hyy5YD7.js → Order-BKoDS21t.js} +310 -0
- package/dist/cjs/{SVGVariancesStyleGroup-Czizhngt.js → SVGVariancesStyleGroup-DYYAU-81.js} +1 -1
- package/dist/cjs/{StringAdapter-0EbYMkR0.js → StringAdapter-Bneo8T4k.js} +1 -1
- package/dist/cjs/bn-asset.cjs.entry.js +5 -6
- package/dist/cjs/{bn-body_3.cjs.entry.js → bn-body_4.cjs.entry.js} +360 -27
- package/dist/cjs/bn-card.cjs.entry.js +5 -6
- package/dist/cjs/bn-chart-structure.cjs.entry.js +17 -22
- package/dist/cjs/bn-chart-time.cjs.entry.js +38 -51
- package/dist/cjs/bn-component-style.cjs.entry.js +5 -6
- package/dist/cjs/bn-context_5.cjs.entry.js +145 -78
- package/dist/cjs/bn-dataset.cjs.entry.js +5 -6
- package/dist/cjs/bn-grid.cjs.entry.js +8 -11
- package/dist/cjs/bn-image.cjs.entry.js +8 -11
- package/dist/cjs/bn-internationalization.cjs.entry.js +5 -6
- package/dist/cjs/bn-layout-card.cjs.entry.js +3 -3
- package/dist/cjs/bn-layout-page.cjs.entry.js +2 -2
- package/dist/cjs/bn-message.cjs.entry.js +6 -7
- package/dist/cjs/bn-template-engine.cjs.js +2 -2
- package/dist/cjs/bn-template.cjs.entry.js +4 -5
- package/dist/cjs/bn-text.cjs.entry.js +12 -16
- package/dist/cjs/bn-tree.cjs.entry.js +8 -11
- package/dist/cjs/{context-protocol-BkYHFkXE.js → context-protocol-CRPmux5D.js} +1 -1
- package/dist/cjs/editor-companion.cjs.entry.js +3 -3
- package/dist/cjs/ibcs-chart-structure.cjs.entry.js +31 -33
- package/dist/cjs/ibcs-chart-time.cjs.entry.js +42 -44
- package/dist/cjs/{index-CScBFiS1.js → index-Cjw0q6gP.js} +1 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{withDataset-ZdN-RRTx.js → scaling-D8sIIKft.js} +68 -3
- package/dist/cjs/{withBodyObserver-B0_W1VOf.js → withBodyObserver-C6gLgq_e.js} +2 -2
- package/dist/cjs/{componentRegister-C17UFNPh.js → withComponentStatus-_x4LQZ0N.js} +43 -6
- package/dist/cjs/{withComponentStyle-C6KHnZHt.js → withComponentStyle-DMtic_9Y.js} +3 -3
- package/dist/cjs/{withHasError-Dspb3lIV.js → withHasError-B8gHkfV2.js} +1 -1
- package/dist/cjs/{withStyled-Bf-stJTR.js → withStyled-CW30Bh6c.js} +18 -63
- package/dist/cjs/{withTranslation-Cz0M5maV.js → withTranslation-CWPAIRjh.js} +3 -3
- package/dist/collection/collection-manifest.json +1 -10
- package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +2 -3
- package/dist/collection/components/bn-chart-time/bn-chart-time.js +21 -30
- 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-table/bn-table.js +63 -12
- package/dist/collection/components/bn-table/ibcs-table.css +7 -5
- package/dist/collection/components/bn-table/ibcs-table.js +22 -1
- package/dist/collection/components/bn-table/utils/elements/CellBarChart.js +56 -25
- 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 -1
- package/dist/collection/components/editor-companion/editor-companion.js +1 -1
- package/dist/collection/utils/DateStringFactory.js +0 -1
- package/dist/collection/utils/constants.js +27 -0
- package/dist/collection/utils/validate.js +4 -1
- 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-chart-structure.js +1 -1
- package/dist/components/bn-chart-time.js +1 -1
- package/dist/components/bn-message2.js +1 -1
- package/dist/components/bn-page2.js +1 -1
- 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/editor-companion.js +1 -1
- 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/scaling.js +1 -1
- package/dist/components/validate.js +1 -1
- package/dist/components/withHasError.js +1 -1
- package/dist/esm/{DataFormatDigits-Dt6gpIiZ.js → DataFormatDigits--qIbKvXa.js} +1 -1
- package/dist/esm/{DateStringFactory-_Qiv0IvF.js → DateStringFactory-XWdUjsn8.js} +1 -2
- package/dist/esm/{luxon-DbyXf6dF.js → Order-sqjrku2z.js} +307 -1
- package/dist/esm/{SVGVariancesStyleGroup-DlWgvpzs.js → SVGVariancesStyleGroup-ibg3sLjM.js} +1 -1
- package/dist/esm/{StringAdapter-BLvo1Krl.js → StringAdapter-BCLJpQQ8.js} +1 -1
- package/dist/esm/bn-asset.entry.js +5 -6
- package/dist/esm/{bn-body_3.entry.js → bn-body_4.entry.js} +356 -24
- package/dist/esm/bn-card.entry.js +5 -6
- package/dist/esm/bn-chart-structure.entry.js +12 -17
- package/dist/esm/bn-chart-time.entry.js +31 -44
- package/dist/esm/bn-component-style.entry.js +5 -6
- package/dist/esm/bn-context_5.entry.js +124 -57
- package/dist/esm/bn-dataset.entry.js +5 -6
- package/dist/esm/bn-grid.entry.js +8 -11
- package/dist/esm/bn-image.entry.js +8 -11
- package/dist/esm/bn-internationalization.entry.js +5 -6
- package/dist/esm/bn-layout-card.entry.js +3 -3
- package/dist/esm/bn-layout-page.entry.js +2 -2
- package/dist/esm/bn-message.entry.js +6 -7
- package/dist/esm/bn-template-engine.js +3 -3
- package/dist/esm/bn-template.entry.js +4 -5
- package/dist/esm/bn-text.entry.js +11 -15
- package/dist/esm/bn-tree.entry.js +8 -11
- package/dist/esm/{context-protocol-DzeqZxg6.js → context-protocol-Bz5klD-F.js} +1 -1
- package/dist/esm/editor-companion.entry.js +3 -3
- package/dist/esm/ibcs-chart-structure.entry.js +5 -7
- package/dist/esm/ibcs-chart-time.entry.js +6 -8
- package/dist/esm/{index-B27Ax6P_.js → index-JNHhIe7t.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{withDataset-BT2VQCsG.js → scaling-C6K8FYSF.js} +67 -4
- package/dist/esm/{withBodyObserver-gZpZiEIK.js → withBodyObserver-DczL5ia8.js} +2 -2
- package/dist/esm/{componentRegister-BtVfu16B.js → withComponentStatus-DodoSXe-.js} +36 -1
- package/dist/esm/{withComponentStyle-NaxfakAG.js → withComponentStyle-BerJY64r.js} +3 -3
- package/dist/esm/{withHasError-C48fTE2k.js → withHasError-B3QX2emi.js} +1 -1
- package/dist/esm/{withStyled-CpUTv74m.js → withStyled-D1fAWJ3g.js} +8 -51
- package/dist/esm/{withTranslation-Do4GhleK.js → withTranslation-mimbJdER.js} +3 -3
- package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +1 -2
- package/dist/types/components/bn-table/bn-table.d.ts +11 -7
- package/dist/types/components/bn-table/ibcs-table.d.ts +1 -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 +3 -0
- package/dist/types/components/bn-title/bn-title.d.ts +0 -1
- package/dist/types/components.d.ts +22 -403
- package/dist/types/utils/constants.d.ts +15 -0
- package/dist/types/utils/validate.d.ts +1 -0
- package/package.json +2 -3
- package/readme.md +0 -1
- 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-0e7dc113.entry.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-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-BFatTBqh.js +0 -1
- package/dist/bn-template-engine/p-BQp6ZPYW.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-CfWnag33.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-a342cd3c.entry.js +0 -1
- package/dist/bn-template-engine/p-bc37d750.entry.js +0 -1
- package/dist/bn-template-engine/p-c9f050bf.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/Order-B4NIqQWe.js +0 -129
- package/dist/cjs/bn-map.cjs.entry.js +0 -425
- package/dist/cjs/constants-DHqQXSSd.js +0 -158
- 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/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.d.ts +0 -11
- 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/Order-B4fpLe_f.js +0 -125
- package/dist/esm/bn-map.entry.js +0 -423
- package/dist/esm/constants-kMyLevYy.js +0 -158
- 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/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,350 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-B27Ax6P_.js';
|
|
2
|
-
import { I as I18nMode } from './constants-kMyLevYy.js';
|
|
3
|
-
import { b as DateStringFactory, D as DateDistance, a as DateLink } from './DateStringFactory-_Qiv0IvF.js';
|
|
4
|
-
import { F as Formatter } from './formatter-DTMEZ6d8.js';
|
|
5
|
-
import { C as CompareUtil, A as AdapterUtils, O as OrderDirection, b as OrderAdapter } from './Order-B4fpLe_f.js';
|
|
6
|
-
import { I as IBCSRuleSet, S as StringAdapter } from './StringAdapter-BLvo1Krl.js';
|
|
7
|
-
import { D as DateTime } from './luxon-DbyXf6dF.js';
|
|
8
|
-
import './_commonjsHelpers-BFTU3MAI.js';
|
|
9
|
-
|
|
10
|
-
class TitleDataSetFactory {
|
|
11
|
-
constructor() { }
|
|
12
|
-
/**
|
|
13
|
-
* Creates measures, adds i18n to each element
|
|
14
|
-
* @param measures
|
|
15
|
-
* @param i18n
|
|
16
|
-
* @param i18nMode
|
|
17
|
-
*/
|
|
18
|
-
createMeasures(measures, i18n, i18nMode) {
|
|
19
|
-
if (this.allMeasuresUseSameUnit(measures)) {
|
|
20
|
-
const amountOfMeasures = measures.length;
|
|
21
|
-
let measureName = "";
|
|
22
|
-
let unit = "";
|
|
23
|
-
for (let i = 0; i < amountOfMeasures; i++) {
|
|
24
|
-
let separator = "";
|
|
25
|
-
if (i > 0) {
|
|
26
|
-
separator = i18n.get("SEPERATOR_WS");
|
|
27
|
-
}
|
|
28
|
-
if (amountOfMeasures > 1 && i === amountOfMeasures - 1) {
|
|
29
|
-
separator = i18n.get("CONNECTOR_WS");
|
|
30
|
-
}
|
|
31
|
-
if (i18nMode === I18nMode.ALL) {
|
|
32
|
-
measureName =
|
|
33
|
-
(i18n.get(measureName) || measureName) + separator + (i18n.get(measures[i].name) || measures[i].name);
|
|
34
|
-
unit = i18n.get(measures[i].unit) || measures[i].unit;
|
|
35
|
-
}
|
|
36
|
-
else {
|
|
37
|
-
measureName = measureName + separator + measures[i].name;
|
|
38
|
-
unit = measures[i].unit;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
return [
|
|
42
|
-
{
|
|
43
|
-
name: measureName,
|
|
44
|
-
unit: unit,
|
|
45
|
-
},
|
|
46
|
-
];
|
|
47
|
-
}
|
|
48
|
-
else {
|
|
49
|
-
return measures;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Creates Dimension String,
|
|
54
|
-
* concat of translated scenarios, time and order
|
|
55
|
-
*
|
|
56
|
-
* @param scenarios
|
|
57
|
-
* @param time
|
|
58
|
-
* @param order
|
|
59
|
-
* @param i18n
|
|
60
|
-
*/
|
|
61
|
-
createDimension(scenarios, time, order, i18n, spanLimit) {
|
|
62
|
-
let formatedTime = "";
|
|
63
|
-
if (time !== undefined) {
|
|
64
|
-
formatedTime = new DateStringFactory().getDateLinkString(time.start, time.end, time.link, time.format, spanLimit);
|
|
65
|
-
}
|
|
66
|
-
const formatedScenarios = scenarios
|
|
67
|
-
.map((scenario) => {
|
|
68
|
-
let orderString = "";
|
|
69
|
-
if (order != null && order.hierarchy != null) {
|
|
70
|
-
if (order.hierarchy.find((x) => x === scenario)) {
|
|
71
|
-
if (order.direction === "asc") {
|
|
72
|
-
orderString = i18n.get("ORDER_asc");
|
|
73
|
-
}
|
|
74
|
-
else {
|
|
75
|
-
orderString = i18n.get("ORDER_desc");
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
return "".concat(" ", Formatter.translateScenarioLabel(scenario, i18n), orderString);
|
|
80
|
-
})
|
|
81
|
-
.toString();
|
|
82
|
-
return formatedTime + formatedScenarios;
|
|
83
|
-
}
|
|
84
|
-
allMeasuresUseSameUnit(measures) {
|
|
85
|
-
const units = new Map();
|
|
86
|
-
measures.forEach(function (entry) {
|
|
87
|
-
units.set(entry.unit, true);
|
|
88
|
-
});
|
|
89
|
-
const hasOneUnit = units.size === 1;
|
|
90
|
-
return hasOneUnit;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
class TitleConfig {
|
|
95
|
-
constructor() {
|
|
96
|
-
this.businessunit = "";
|
|
97
|
-
this.measures = [];
|
|
98
|
-
this.scenarios = [];
|
|
99
|
-
this.i18nMode = I18nMode.ALL;
|
|
100
|
-
this.intervalSpanLimit = 32;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
class TitleConifgAdapter {
|
|
104
|
-
constructor(measureEntryAdapter, timePeriodAdapter, orderAdapter, stringAdapter) {
|
|
105
|
-
this.measureEntryAdapter = measureEntryAdapter;
|
|
106
|
-
this.timePeriodAdapter = timePeriodAdapter;
|
|
107
|
-
this.orderAdapter = orderAdapter;
|
|
108
|
-
this.stringAdapter = stringAdapter;
|
|
109
|
-
}
|
|
110
|
-
adapt(data) {
|
|
111
|
-
const config = new TitleConfig();
|
|
112
|
-
if (CompareUtil.isString(data.businessunit)) {
|
|
113
|
-
config.businessunit = data.businessunit;
|
|
114
|
-
}
|
|
115
|
-
if (CompareUtil.isArray(data.measures)) {
|
|
116
|
-
config.measures = AdapterUtils.adaptArray(data.measures, this.measureEntryAdapter);
|
|
117
|
-
}
|
|
118
|
-
if (CompareUtil.isArray(data.scenarios)) {
|
|
119
|
-
config.scenarios = AdapterUtils.adaptArray(data.scenarios, this.stringAdapter);
|
|
120
|
-
}
|
|
121
|
-
if (CompareUtil.isExisting(data.timeperiod)) {
|
|
122
|
-
config.timeperiod = this.timePeriodAdapter.adapt(data.timeperiod);
|
|
123
|
-
}
|
|
124
|
-
if (CompareUtil.isNumber(data.intervalSpanLimit)) {
|
|
125
|
-
config.intervalSpanLimit = data.intervalSpanLimit;
|
|
126
|
-
}
|
|
127
|
-
if (CompareUtil.isExisting(data.i18nMode)) {
|
|
128
|
-
config.i18nMode = data.i18nMode;
|
|
129
|
-
}
|
|
130
|
-
if (CompareUtil.isExisting(data.order)) {
|
|
131
|
-
config.order = this.orderAdapter.adapt(data.order);
|
|
132
|
-
}
|
|
133
|
-
return config;
|
|
134
|
-
}
|
|
135
|
-
default() {
|
|
136
|
-
return new TitleConfig();
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
var FactoryState;
|
|
141
|
-
(function (FactoryState) {
|
|
142
|
-
FactoryState[FactoryState["UP_TO_DATE"] = 0] = "UP_TO_DATE";
|
|
143
|
-
FactoryState[FactoryState["DIRTY"] = 1] = "DIRTY";
|
|
144
|
-
})(FactoryState || (FactoryState = {}));
|
|
145
|
-
class Title {
|
|
146
|
-
constructor(ruleSet) {
|
|
147
|
-
this.i18n = new Map();
|
|
148
|
-
this.unit = "";
|
|
149
|
-
this.measures = [];
|
|
150
|
-
this.dimension = "";
|
|
151
|
-
this.config = new TitleConfig();
|
|
152
|
-
this.state = FactoryState.DIRTY;
|
|
153
|
-
this.ruleSet = ruleSet || new IBCSRuleSet();
|
|
154
|
-
this.dataSetFactory = new TitleDataSetFactory();
|
|
155
|
-
this.state = FactoryState.DIRTY;
|
|
156
|
-
this.setI18n(new Map());
|
|
157
|
-
}
|
|
158
|
-
/**
|
|
159
|
-
* Set Localisation Map
|
|
160
|
-
* @param i18n
|
|
161
|
-
*/
|
|
162
|
-
setI18n(i18n) {
|
|
163
|
-
this.state = FactoryState.DIRTY; // mark dataSet for update
|
|
164
|
-
const defaultI18n = new Map([
|
|
165
|
-
["SEPERATOR_WS", ", "],
|
|
166
|
-
["in", "in"],
|
|
167
|
-
["ORDER_asc", "↑"],
|
|
168
|
-
["ORDER_desc", "↓"],
|
|
169
|
-
["ac1", "AC"],
|
|
170
|
-
["pp1", "PY"],
|
|
171
|
-
["fc1", "FC"],
|
|
172
|
-
["pl1", "PL"],
|
|
173
|
-
["ac2", "AC2"],
|
|
174
|
-
["pp2", "PY2"],
|
|
175
|
-
["fc2", "FC2"],
|
|
176
|
-
["pl2", "PL2"],
|
|
177
|
-
["ac3", "AC3"],
|
|
178
|
-
["pp3", "PY3"],
|
|
179
|
-
["fc3", "FC3"],
|
|
180
|
-
["pp3", "PL3"],
|
|
181
|
-
["ac4", "AC4"],
|
|
182
|
-
["py4", "PY4"],
|
|
183
|
-
["fc4", "FC4"],
|
|
184
|
-
["pp4", "PL4"],
|
|
185
|
-
["category", " "],
|
|
186
|
-
["operation", " "],
|
|
187
|
-
["there_of", "davon"],
|
|
188
|
-
["part_of", "in % von"],
|
|
189
|
-
["ibcssymbol_delta_ac", "Δ{%}"],
|
|
190
|
-
["ibcssymbol_delta_generic", "Δ({%})"],
|
|
191
|
-
["ibcssymbol_delta_ac_relative", "Δ{%}%"],
|
|
192
|
-
["ibcssymbol_delta_generic_relative", "Δ({%})%"],
|
|
193
|
-
["SUM_TOTAL", "❖"],
|
|
194
|
-
["CONNECTOR_WS", " und "],
|
|
195
|
-
]);
|
|
196
|
-
this.i18n = new Map([...defaultI18n, ...(i18n || new Map())]);
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
* Generates and Returns the DataSet based,
|
|
200
|
-
* data and config.
|
|
201
|
-
* if data or config have not been changed since last run
|
|
202
|
-
* the dataSet will not be regenerated.
|
|
203
|
-
*/
|
|
204
|
-
update() {
|
|
205
|
-
if (FactoryState.DIRTY === this.state) {
|
|
206
|
-
this.unit = this.config.businessunit;
|
|
207
|
-
this.measures = this.dataSetFactory.createMeasures(this.config.measures, this.i18n, this.config.i18nMode);
|
|
208
|
-
this.dimension = this.dataSetFactory.createDimension(this.config.scenarios, this.config.timeperiod, this.config.order, this.i18n, this.config.intervalSpanLimit);
|
|
209
|
-
this.state = FactoryState.UP_TO_DATE;
|
|
210
|
-
}
|
|
211
|
-
return this;
|
|
212
|
-
}
|
|
213
|
-
setConfig(config) {
|
|
214
|
-
this.config = this.initConfig(config);
|
|
215
|
-
}
|
|
216
|
-
initConfig(config) {
|
|
217
|
-
this.state = FactoryState.DIRTY;
|
|
218
|
-
const tmpConfig = config;
|
|
219
|
-
// this.checkConfigIfValidElseSetDefaultOrder(config.order);
|
|
220
|
-
// sorting scenario order based on Ruleset
|
|
221
|
-
const self = this;
|
|
222
|
-
config.scenarios.sort((n1, n2) => {
|
|
223
|
-
return self.ruleSet.getScenarioSorIndex(n1) - self.ruleSet.getScenarioSorIndex(n2);
|
|
224
|
-
});
|
|
225
|
-
return tmpConfig;
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
//import { IAdapter } from "../../../../utils/helper/IAdapter";
|
|
230
|
-
// import { CompareUtil } from "../../../../utils/helper/CompareUtil";
|
|
231
|
-
class MeasureEntry {
|
|
232
|
-
constructor(name = "", unit = "") {
|
|
233
|
-
this.name = name;
|
|
234
|
-
this.unit = unit;
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
class MeasureEntryAdapter {
|
|
238
|
-
construnctor() { }
|
|
239
|
-
adapt(data) {
|
|
240
|
-
const entry = new MeasureEntry();
|
|
241
|
-
if (CompareUtil.isString(data.name)) {
|
|
242
|
-
entry.name = data.name;
|
|
243
|
-
}
|
|
244
|
-
if (CompareUtil.isString(data.unit)) {
|
|
245
|
-
entry.unit = data.unit;
|
|
246
|
-
}
|
|
247
|
-
return entry;
|
|
248
|
-
}
|
|
249
|
-
default() {
|
|
250
|
-
return new MeasureEntry("", "");
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
class TimePeriod {
|
|
255
|
-
constructor(start = DateTime.now(), end = DateTime.now(), format = DateDistance.AUTO, link = DateLink.AUTO) {
|
|
256
|
-
this.start = start;
|
|
257
|
-
this.end = end;
|
|
258
|
-
this.format = format;
|
|
259
|
-
this.link = link;
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
class TimePeriodAdapter {
|
|
263
|
-
construnctor() { }
|
|
264
|
-
adapt(data) {
|
|
265
|
-
const entry = new TimePeriod();
|
|
266
|
-
if (CompareUtil.isDate(data.start)) {
|
|
267
|
-
entry.start = data.start;
|
|
268
|
-
}
|
|
269
|
-
if (CompareUtil.isDate(data.end)) {
|
|
270
|
-
entry.end = data.end;
|
|
271
|
-
}
|
|
272
|
-
if (CompareUtil.isExisting(data.format)) {
|
|
273
|
-
entry.format = data.format;
|
|
274
|
-
}
|
|
275
|
-
if (CompareUtil.isExisting(data.link)) {
|
|
276
|
-
entry.link = data.link;
|
|
277
|
-
}
|
|
278
|
-
return entry;
|
|
279
|
-
}
|
|
280
|
-
default() {
|
|
281
|
-
return new TimePeriod();
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
const ibcsTitleCss = () => `:host{display:block;font-family:var(--bn-font-family, "Noto Sans", sans-serif);font-size:var(--bn-font-size, 13.3333px);color:var(--bn-font-color, #000000)}.measure{font-weight:bold}div{background-color:var(--bn-font-background, white);color:var(--bn-font-color, black)}`;
|
|
286
|
-
|
|
287
|
-
const IbcsTitle = class {
|
|
288
|
-
constructor(hostRef) {
|
|
289
|
-
registerInstance(this, hostRef);
|
|
290
|
-
// sample fuer die chrome dev console:
|
|
291
|
-
// document.querySelector("ibcs-title").setBusinessUnit("Sven")
|
|
292
|
-
// document.querySelector("ibcs-title").setProps({businessUnit: "Lalal"})
|
|
293
|
-
this.businessUnit = "";
|
|
294
|
-
this.scenarios = [];
|
|
295
|
-
this.measures = [];
|
|
296
|
-
this.intervalSpanLimit = 28;
|
|
297
|
-
this.order = {
|
|
298
|
-
hierarchy: [],
|
|
299
|
-
direction: OrderDirection.ASC,
|
|
300
|
-
};
|
|
301
|
-
this.i18n = new Map(); // I18nMode;
|
|
302
|
-
this.i18nMode = I18nMode.ALL;
|
|
303
|
-
this.title = new Title(new IBCSRuleSet());
|
|
304
|
-
}
|
|
305
|
-
// so
|
|
306
|
-
async setBusinessUnit(businessUnit) {
|
|
307
|
-
this.businessUnit = businessUnit;
|
|
308
|
-
}
|
|
309
|
-
// oder so
|
|
310
|
-
async setProps(data) {
|
|
311
|
-
Object.keys(data).forEach((key) => {
|
|
312
|
-
//@ts-ignore
|
|
313
|
-
this[key] = data[key];
|
|
314
|
-
});
|
|
315
|
-
}
|
|
316
|
-
render() {
|
|
317
|
-
return (h("div", { key: '5c9f0c8cdfba5e01f46ee0e5ab820bb88811f365' }, h("div", { key: '2dce919eb35df3d35c696c95ad04d5e41a40c374' }, this.title.unit), h("div", { key: 'f5979715f3203637c7b2256b31230b3794902849' }, this.title.measures.map((measure, index) => (h("span", null, this.isFirstElement(index) ? this.title.i18n.get("SEPERATOR_WS") : "", h("span", { class: "measure" }, measure.name), " ", measure.unit ? this.title.i18n.get("in") : "", " ", measure.unit)))), h("div", { key: '6dbe3c259c571ec902afa2815e82997b37dd8f8c' }, this.title.dimension)));
|
|
318
|
-
}
|
|
319
|
-
componentWillLoad() {
|
|
320
|
-
const config = this.prepareConfig();
|
|
321
|
-
this.title = new Title(new IBCSRuleSet());
|
|
322
|
-
this.title.setI18n(this.i18n);
|
|
323
|
-
this.title.setConfig(config);
|
|
324
|
-
}
|
|
325
|
-
componentWillUpdate() {
|
|
326
|
-
const config = this.prepareConfig();
|
|
327
|
-
this.title.setI18n(this.i18n);
|
|
328
|
-
this.title.setConfig(config);
|
|
329
|
-
}
|
|
330
|
-
componentWillRender() {
|
|
331
|
-
this.title.update();
|
|
332
|
-
}
|
|
333
|
-
isFirstElement(index) {
|
|
334
|
-
return index !== 0;
|
|
335
|
-
}
|
|
336
|
-
prepareConfig() {
|
|
337
|
-
return new TitleConifgAdapter(new MeasureEntryAdapter(), new TimePeriodAdapter(), new OrderAdapter(new StringAdapter()), new StringAdapter()).adapt({
|
|
338
|
-
businessunit: this.businessUnit,
|
|
339
|
-
measures: this.measures,
|
|
340
|
-
scenarios: this.scenarios,
|
|
341
|
-
timeperiod: this.timeperiod,
|
|
342
|
-
intervalSpanLimit: this.intervalSpanLimit,
|
|
343
|
-
i18nMode: this.i18nMode,
|
|
344
|
-
order: this.order,
|
|
345
|
-
});
|
|
346
|
-
}
|
|
347
|
-
};
|
|
348
|
-
IbcsTitle.style = ibcsTitleCss();
|
|
349
|
-
|
|
350
|
-
export { IbcsTitle as ibcs_title };
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Returns the available dimensions for a component.
|
|
3
|
-
*
|
|
4
|
-
* Width: parent content-box width (excluding padding).
|
|
5
|
-
* Height: walks up the DOM to find the nearest ancestor with a constrained
|
|
6
|
-
* height (overflow !== 'visible' or explicit max-height). Falls back to
|
|
7
|
-
* the viewport height when every ancestor auto-grows with its content.
|
|
8
|
-
*/
|
|
9
|
-
function getParentDimensions(element) {
|
|
10
|
-
const parent = element.parentElement;
|
|
11
|
-
if (!parent) {
|
|
12
|
-
return { width: 0, height: 0 };
|
|
13
|
-
}
|
|
14
|
-
const parentStyle = getComputedStyle(parent);
|
|
15
|
-
const width = parent.clientWidth - parseFloat(parentStyle.paddingLeft) - parseFloat(parentStyle.paddingRight);
|
|
16
|
-
const height = findConstrainedHeight(element);
|
|
17
|
-
return { width: Math.max(0, width), height: Math.max(0, height) };
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Walks up the ancestor chain to find a height that is actually constrained
|
|
21
|
-
* (not just "whatever my content needs"). Returns viewport height as a
|
|
22
|
-
* last resort.
|
|
23
|
-
*/
|
|
24
|
-
function findConstrainedHeight(element) {
|
|
25
|
-
let current = element.parentElement;
|
|
26
|
-
while (current) {
|
|
27
|
-
const style = getComputedStyle(current);
|
|
28
|
-
const overflow = style.overflowY;
|
|
29
|
-
// An ancestor that clips / scrolls its content has a meaningful height
|
|
30
|
-
if (overflow === "hidden" || overflow === "scroll" || overflow === "auto") {
|
|
31
|
-
return current.clientHeight - parseFloat(style.paddingTop) - parseFloat(style.paddingBottom);
|
|
32
|
-
}
|
|
33
|
-
// An explicit max-height constrains the available space
|
|
34
|
-
if (style.maxHeight !== "none") {
|
|
35
|
-
const mh = parseFloat(style.maxHeight);
|
|
36
|
-
if (!isNaN(mh) && mh > 0) {
|
|
37
|
-
return Math.min(mh, current.clientHeight - parseFloat(style.paddingTop) - parseFloat(style.paddingBottom));
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
current = current.parentElement;
|
|
41
|
-
}
|
|
42
|
-
// No constrained ancestor found — use viewport
|
|
43
|
-
return typeof window !== "undefined" ? window.innerHeight : 0;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Parses the raw `scale` attribute string into a typed {@link ScalingConfig}.
|
|
48
|
-
* Handles null/empty (-> empty), literal `"none"` / `"auto"`, or a positive
|
|
49
|
-
* numeric string (-> factor mode). Invalid non-numeric strings fall back to empty.
|
|
50
|
-
*/
|
|
51
|
-
function parseScaling(scale) {
|
|
52
|
-
if (scale == null || scale === "")
|
|
53
|
-
return { mode: "empty" };
|
|
54
|
-
if (scale === "none")
|
|
55
|
-
return { mode: "none" };
|
|
56
|
-
if (scale === "auto")
|
|
57
|
-
return { mode: "auto" };
|
|
58
|
-
const num = Number(scale);
|
|
59
|
-
if (!isNaN(num) && num > 0)
|
|
60
|
-
return { mode: "factor", factor: num };
|
|
61
|
-
return { mode: "empty" };
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export { getParentDimensions as g, parseScaling as p };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-B27Ax6P_.js';
|
|
2
|
-
import { A as AggregationLevel, I as I18nMode, T as TableType } from './constants-kMyLevYy.js';
|
|
3
|
-
import { O as OrderDirection, a as OrderColumn } from './Order-B4fpLe_f.js';
|
|
4
|
-
import './luxon-DbyXf6dF.js';
|
|
5
|
-
|
|
6
|
-
const TestRunnerTitle = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
}
|
|
10
|
-
render() {
|
|
11
|
-
return (h("div", { key: 'e21f394ec62bf5444da864b00860270551a18879' }, h("ibcs-card", { key: 'db1d071ffd4c72dd0c5b173b739bc33a7f6826d9', title: "Eintracht Frankfurt", image: "debug/concordia.png", showBorder: false }, h("ibcs-title", { key: 'bb49cdd2edc75f889d0e99b7bd010a692770ef8a', businessUnit: "Test Cars", measures: [
|
|
12
|
-
{ name: "Bruttoumsatz", unit: "mEUR" },
|
|
13
|
-
{ name: "Bruttoumsatz2", unit: "mDollar" },
|
|
14
|
-
], scenarios: ["ac", "py", "dpy_ac_pos"] })), h("ibcs-card", { key: '4a643bbd44b7e0cb90ed304939c423c602462957', title: "Nintendo", image: "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b3/Nintendo_red_logo.svg/1280px-Nintendo_red_logo.svg.png", showBorder: true }, h("ibcs-table", { key: 'd83c0e84abc29d3305a8cdac0e6c84c6cca31099', "table-title": "\uD83D\uDE0ESven ist der Papa von Phineas und Max", scenarios: ["ac", "py"], "scenarios-unit-type": "decimal", grouped: true, type: TableType.OPT, "i18n-mode": I18nMode.META, showGroupTitle: true, data: [], "there-of": [
|
|
15
|
-
{
|
|
16
|
-
rowGroup: "Umsatz",
|
|
17
|
-
category: "Applications",
|
|
18
|
-
subCategory: "",
|
|
19
|
-
partOf: "category",
|
|
20
|
-
},
|
|
21
|
-
] })), h("ibcs-card", { key: 'a3049a945b3cad596adc062c2ad1ef22521efc39', title: "Eintracht Frankfurt", image: "debug/concordia.png", showBorder: true }, h("ibcs-chart-structure", { key: '98298c085685f28a704cbcaa372e1b320c50283d', data: [], scenarios: ["ac", "fc", "py", "pl"], variances: ["dac_fc_pos"], hideCategories: false, pixelPerUnit: 15, chartTitle: undefined, styles: undefined, i18n: undefined, level: AggregationLevel.CATEGORY, order: { hierarchy: [OrderColumn.CATEGORY], direction: OrderDirection.DESC } }))));
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export { TestRunnerTitle as test_runner_card };
|
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-B27Ax6P_.js';
|
|
2
|
-
import { D as DateDistance } from './DateStringFactory-_Qiv0IvF.js';
|
|
3
|
-
import './luxon-DbyXf6dF.js';
|
|
4
|
-
|
|
5
|
-
const TestRunnerChart = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
}
|
|
9
|
-
render() {
|
|
10
|
-
const style = {
|
|
11
|
-
scaleFactors: {
|
|
12
|
-
scenarioOffset: 0.3,
|
|
13
|
-
scenarioLabelToColumn: 0.3,
|
|
14
|
-
labelToColum: 0.3,
|
|
15
|
-
labelToAxis: 0.3,
|
|
16
|
-
needleWidth: 0.3,
|
|
17
|
-
needleHeadWidth: 0.6,
|
|
18
|
-
columnWidth: 2.0,
|
|
19
|
-
varianceAxisLineWidth: 0.3,
|
|
20
|
-
axisLineWidth: 0.1,
|
|
21
|
-
auxiliaryLineWidth: 0.1,
|
|
22
|
-
scenarioLineWidth: 0.2,
|
|
23
|
-
markerWidth: 0.7,
|
|
24
|
-
markerOffset: 0.0,
|
|
25
|
-
categoryWidth: 3.0,
|
|
26
|
-
axisTickLength: 0.3,
|
|
27
|
-
},
|
|
28
|
-
fontStyles: {
|
|
29
|
-
font: `27.3333px Sans-Serif`,
|
|
30
|
-
size: 27.3333,
|
|
31
|
-
color: "#000000",
|
|
32
|
-
background: "#ffffff",
|
|
33
|
-
leading: 1.8,
|
|
34
|
-
},
|
|
35
|
-
axisStyles: {
|
|
36
|
-
ac: { stroke: "#121212", fill: "#121212", width: 0.1 },
|
|
37
|
-
fc: { stroke: "#121212", fill: "#ffffff", width: 0.1, dasharray: "10 5 5 5" },
|
|
38
|
-
pp: { stroke: "#606060", fill: "#606060", width: 0.1 },
|
|
39
|
-
pl: { stroke: "#121212", fill: "#ffffff", width: 0.1 },
|
|
40
|
-
},
|
|
41
|
-
barStyles: {
|
|
42
|
-
ac: { stroke: "#404040", fill: "#404040", width: 0.1 },
|
|
43
|
-
fc: { stroke: "#404040", fill: "#ffffff", width: 0.5, fillpattern: "fc" },
|
|
44
|
-
pp: { stroke: "#A6A6A6", fill: "#A6A6A6", width: 0.1 },
|
|
45
|
-
pl: { stroke: "#404040", fill: "#ffffff", width: 0.1 },
|
|
46
|
-
},
|
|
47
|
-
varianceStyles: {
|
|
48
|
-
pos: { stroke: "#008f96", fill: "#008f96", width: 0.1 },
|
|
49
|
-
neg: { stroke: "#ff0000", fill: "#ff0000", width: 0.1 },
|
|
50
|
-
neu: { stroke: "#808080", fill: "#808080", width: 0.1 },
|
|
51
|
-
},
|
|
52
|
-
padding: {
|
|
53
|
-
top: 10,
|
|
54
|
-
left: 10,
|
|
55
|
-
right: 10,
|
|
56
|
-
bottom: 10,
|
|
57
|
-
},
|
|
58
|
-
pattern: new Map(),
|
|
59
|
-
};
|
|
60
|
-
const dataSet = [
|
|
61
|
-
{
|
|
62
|
-
setName: "de",
|
|
63
|
-
date: "2022-03-01T01:05:00Z",
|
|
64
|
-
operation: "+",
|
|
65
|
-
rowGroup: "Afrika",
|
|
66
|
-
rowGroupIndex: 1,
|
|
67
|
-
category: "I",
|
|
68
|
-
categoryIndex: 1,
|
|
69
|
-
subCategory: "Question Mark",
|
|
70
|
-
subCategoryIndex: 1,
|
|
71
|
-
columnGroup: null,
|
|
72
|
-
columnGroupIndex: null,
|
|
73
|
-
columnSubGroup: null,
|
|
74
|
-
columnSubGroupIndex: null,
|
|
75
|
-
pp1: 100,
|
|
76
|
-
ac1: 100,
|
|
77
|
-
pl1: 100,
|
|
78
|
-
fc1: 100,
|
|
79
|
-
ac2: 0.001,
|
|
80
|
-
pp2: 7,
|
|
81
|
-
fc2: 7,
|
|
82
|
-
pl2: 4,
|
|
83
|
-
ac3: 1,
|
|
84
|
-
pp3: 7,
|
|
85
|
-
fc3: 7,
|
|
86
|
-
pl3: 4,
|
|
87
|
-
ac4: 1,
|
|
88
|
-
pp4: 7,
|
|
89
|
-
fc4: 7,
|
|
90
|
-
pl4: 4,
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
setName: "de",
|
|
94
|
-
date: "2022-03-01T01:00:00Z",
|
|
95
|
-
operation: "+",
|
|
96
|
-
rowGroup: "Amerika",
|
|
97
|
-
rowGroupIndex: 1,
|
|
98
|
-
category: "II",
|
|
99
|
-
categoryIndex: 2,
|
|
100
|
-
subCategory: "Stars",
|
|
101
|
-
subCategoryIndex: 2,
|
|
102
|
-
columnGroup: null,
|
|
103
|
-
columnGroupIndex: null,
|
|
104
|
-
columnSubGroup: null,
|
|
105
|
-
columnSubGroupIndex: null,
|
|
106
|
-
pp1: 1201,
|
|
107
|
-
ac1: 300,
|
|
108
|
-
pl1: 1209,
|
|
109
|
-
fc1: 100,
|
|
110
|
-
ac2: 0.001,
|
|
111
|
-
pp2: 7,
|
|
112
|
-
fc2: 7,
|
|
113
|
-
pl2: 4,
|
|
114
|
-
ac3: 1,
|
|
115
|
-
pp3: 7,
|
|
116
|
-
fc3: 7,
|
|
117
|
-
pl3: 4,
|
|
118
|
-
ac4: 1,
|
|
119
|
-
pp4: 7,
|
|
120
|
-
fc4: 7,
|
|
121
|
-
pl4: 4,
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
setName: "de",
|
|
125
|
-
date: "2022-03-01T01:06:00Z",
|
|
126
|
-
operation: "+",
|
|
127
|
-
rowGroup: "Asien",
|
|
128
|
-
rowGroupIndex: 1,
|
|
129
|
-
category: "III",
|
|
130
|
-
categoryIndex: 3,
|
|
131
|
-
subCategory: "Cash Cows",
|
|
132
|
-
subCategoryIndex: 3,
|
|
133
|
-
columnGroup: null,
|
|
134
|
-
columnGroupIndex: null,
|
|
135
|
-
columnSubGroup: null,
|
|
136
|
-
columnSubGroupIndex: null,
|
|
137
|
-
pp1: 835,
|
|
138
|
-
ac1: 200,
|
|
139
|
-
pl1: 955,
|
|
140
|
-
fc1: 100,
|
|
141
|
-
ac2: 0.001,
|
|
142
|
-
pp2: 7,
|
|
143
|
-
fc2: 7,
|
|
144
|
-
pl2: 4,
|
|
145
|
-
ac3: 1,
|
|
146
|
-
pp3: 7,
|
|
147
|
-
fc3: 7,
|
|
148
|
-
pl3: 4,
|
|
149
|
-
ac4: 1,
|
|
150
|
-
pp4: 7,
|
|
151
|
-
fc4: 7,
|
|
152
|
-
pl4: 4,
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
setName: "de",
|
|
156
|
-
date: "2022-03-01T00:59:00Z",
|
|
157
|
-
operation: "+",
|
|
158
|
-
rowGroup: "Europa",
|
|
159
|
-
rowGroupIndex: 1,
|
|
160
|
-
category: "Produktgrupppe IV",
|
|
161
|
-
categoryIndex: 4,
|
|
162
|
-
subCategory: "Poor Dogs",
|
|
163
|
-
subCategoryIndex: 4,
|
|
164
|
-
columnGroup: null,
|
|
165
|
-
columnGroupIndex: null,
|
|
166
|
-
columnSubGroup: null,
|
|
167
|
-
columnSubGroupIndex: null,
|
|
168
|
-
pp1: 423,
|
|
169
|
-
ac1: 741,
|
|
170
|
-
pl1: 641,
|
|
171
|
-
fc1: 400,
|
|
172
|
-
ac2: 0.001,
|
|
173
|
-
pp2: 7,
|
|
174
|
-
fc2: 7,
|
|
175
|
-
pl2: 4,
|
|
176
|
-
ac3: 1,
|
|
177
|
-
pp3: 7,
|
|
178
|
-
fc3: 7,
|
|
179
|
-
pl3: 4,
|
|
180
|
-
ac4: 1,
|
|
181
|
-
pp4: 7,
|
|
182
|
-
fc4: 7,
|
|
183
|
-
pl4: 4,
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
setName: "de",
|
|
187
|
-
date: "2022-03-01T00:59:01Z",
|
|
188
|
-
operation: "+",
|
|
189
|
-
rowGroup: "Rest",
|
|
190
|
-
rowGroupIndex: 1,
|
|
191
|
-
category: "Rest",
|
|
192
|
-
categoryIndex: 5,
|
|
193
|
-
subCategory: "Rest",
|
|
194
|
-
subCategoryIndex: 5,
|
|
195
|
-
columnGroup: null,
|
|
196
|
-
columnGroupIndex: null,
|
|
197
|
-
columnSubGroup: null,
|
|
198
|
-
columnSubGroupIndex: null,
|
|
199
|
-
pp1: 1,
|
|
200
|
-
ac1: 400,
|
|
201
|
-
pl1: 1,
|
|
202
|
-
fc1: 100,
|
|
203
|
-
ac2: 0.001,
|
|
204
|
-
pp2: 7,
|
|
205
|
-
fc2: 7,
|
|
206
|
-
pl2: 4,
|
|
207
|
-
ac3: 1,
|
|
208
|
-
pp3: 7,
|
|
209
|
-
fc3: 7,
|
|
210
|
-
pl3: 4,
|
|
211
|
-
ac4: 1,
|
|
212
|
-
pp4: 7,
|
|
213
|
-
fc4: 7,
|
|
214
|
-
pl4: 4,
|
|
215
|
-
},
|
|
216
|
-
];
|
|
217
|
-
const trans = new Map();
|
|
218
|
-
trans.set("pp1", "PY");
|
|
219
|
-
trans.set("ac1", "AC");
|
|
220
|
-
trans.set("pl1", "PL");
|
|
221
|
-
trans.set("fc1", "FC");
|
|
222
|
-
//let scenarios = ["ac1", "pp1","pl1","fc1","dpl1_ac1_pos",""]
|
|
223
|
-
//let leftSideOffset = Formatter.getMaxWidthOfArrayItems(scenarios, trans, style);
|
|
224
|
-
return (h("div", { key: '79749e85befc60318e77e304ab58b6dffcb113dd' }, h("div", { key: 'cc40a80a42894d4eca30a389bbc9d94526c99915', style: { fontFamily: style.fontStyles.font, fontSize: style.fontStyles.size + "px" } }, h("div", { key: 'db1a42dd4695f00e2220b1ea25911fe13536fea5' }, "T-2 1 Series MONTH"), h("ibcs-chart-time", { key: '5ed470df7180fd31c45049ad56b3c02a2f1f7cad', data: dataSet, scenarios: ["ac2"], variances: [], pixelPerUnit: 10, styles: style, "date-interval": DateDistance.YEAR, "interval-span-Limit": 10, measureScale: "p", measureUnit: "EUR", showMeasureScale: true, dataFormatDigits: { percent: 2, decimal: 2 } }))));
|
|
225
|
-
}
|
|
226
|
-
};
|
|
227
|
-
|
|
228
|
-
export { TestRunnerChart as test_runner_chart_time };
|