@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,3 +1,187 @@
|
|
|
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
|
+
/** Width preset for inline bar/pin chart columns. Value = max bar width in em. */
|
|
86
|
+
var TableBarColumnWidth;
|
|
87
|
+
(function (TableBarColumnWidth) {
|
|
88
|
+
TableBarColumnWidth["W5"] = "w5";
|
|
89
|
+
TableBarColumnWidth["W10"] = "w10";
|
|
90
|
+
TableBarColumnWidth["W15"] = "w15";
|
|
91
|
+
TableBarColumnWidth["W20"] = "w20";
|
|
92
|
+
TableBarColumnWidth["W25"] = "w25";
|
|
93
|
+
TableBarColumnWidth["W30"] = "w30";
|
|
94
|
+
TableBarColumnWidth["W40"] = "w40";
|
|
95
|
+
TableBarColumnWidth["W60"] = "w60";
|
|
96
|
+
TableBarColumnWidth["W80"] = "w80";
|
|
97
|
+
TableBarColumnWidth["W100"] = "w100";
|
|
98
|
+
})(TableBarColumnWidth || (TableBarColumnWidth = {}));
|
|
99
|
+
/** Maps TableBarColumnWidth presets to max bar width in em. */
|
|
100
|
+
const BAR_COLUMN_WIDTH_EM = {
|
|
101
|
+
[TableBarColumnWidth.W5]: 5,
|
|
102
|
+
[TableBarColumnWidth.W10]: 10,
|
|
103
|
+
[TableBarColumnWidth.W15]: 15,
|
|
104
|
+
[TableBarColumnWidth.W20]: 20,
|
|
105
|
+
[TableBarColumnWidth.W25]: 25,
|
|
106
|
+
[TableBarColumnWidth.W30]: 30,
|
|
107
|
+
[TableBarColumnWidth.W40]: 40,
|
|
108
|
+
[TableBarColumnWidth.W60]: 60,
|
|
109
|
+
[TableBarColumnWidth.W80]: 80,
|
|
110
|
+
[TableBarColumnWidth.W100]: 100,
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Three-level row hierarchy for grouping and drill-down: rowGroup > category > subCategory.
|
|
114
|
+
* Index variants (e.g. ROWGROUPINDEX) provide stable numeric sort keys that preserve
|
|
115
|
+
* the original dataset order when alphabetical sorting is undesirable.
|
|
116
|
+
*/
|
|
117
|
+
var AggregationLevel;
|
|
118
|
+
(function (AggregationLevel) {
|
|
119
|
+
AggregationLevel["ROWGROUP"] = "rowGroup";
|
|
120
|
+
AggregationLevel["ROWGROUPINDEX"] = "rowGroupIndex";
|
|
121
|
+
AggregationLevel["CATEGORY"] = "category";
|
|
122
|
+
AggregationLevel["CATEGORYINDEX"] = "categoryIndex";
|
|
123
|
+
AggregationLevel["SUBCATEGORY"] = "subCategory";
|
|
124
|
+
AggregationLevel["SUBCATEGORYINDEX"] = "subCategoryIndex";
|
|
125
|
+
})(AggregationLevel || (AggregationLevel = {}));
|
|
126
|
+
/**
|
|
127
|
+
* Date axis label display strategy.
|
|
128
|
+
* - SMART: abbreviated labels with parent period shown at boundary crossings (e.g. "Jan" normally, "Jan 2024" at year boundary)
|
|
129
|
+
* - LONG: full date format for every label
|
|
130
|
+
* - SHORT: abbreviated format for every label
|
|
131
|
+
*/
|
|
132
|
+
var AxisLabelsMode;
|
|
133
|
+
(function (AxisLabelsMode) {
|
|
134
|
+
AxisLabelsMode["SMART"] = "smart";
|
|
135
|
+
AxisLabelsMode["LONG"] = "long";
|
|
136
|
+
AxisLabelsMode["SHORT"] = "short";
|
|
137
|
+
})(AxisLabelsMode || (AxisLabelsMode = {}));
|
|
138
|
+
/**
|
|
139
|
+
* Visual representation type for chart series.
|
|
140
|
+
* - COLUMN: vertical bars (time chart) or horizontal bars (structure chart)
|
|
141
|
+
* - LINE: connected data points
|
|
142
|
+
* - WATERFALL: cumulative flow where each bar starts where the previous one ended
|
|
143
|
+
*/
|
|
144
|
+
var ChartType;
|
|
145
|
+
(function (ChartType) {
|
|
146
|
+
ChartType["COLUMN"] = "column";
|
|
147
|
+
ChartType["LINE"] = "line";
|
|
148
|
+
ChartType["WATERFALL"] = "waterfall";
|
|
149
|
+
})(ChartType || (ChartType = {}));
|
|
150
|
+
/** Chart rendering mode. AUTO selects BAR or LINE based on scenario type. */
|
|
151
|
+
var ChartMode;
|
|
152
|
+
(function (ChartMode) {
|
|
153
|
+
ChartMode["BAR"] = "bar";
|
|
154
|
+
ChartMode["LINE"] = "line";
|
|
155
|
+
ChartMode["AUTO"] = "auto";
|
|
156
|
+
})(ChartMode || (ChartMode = {}));
|
|
157
|
+
/** Dimension used to split bars into stacked segments within a single data point. */
|
|
158
|
+
var StackBy;
|
|
159
|
+
(function (StackBy) {
|
|
160
|
+
StackBy["SCENARIO"] = "scenario";
|
|
161
|
+
StackBy["CATEGORY"] = "category";
|
|
162
|
+
StackBy["SUBCATEGORY"] = "subcategory";
|
|
163
|
+
StackBy["ROWGROUP"] = "rowgroup";
|
|
164
|
+
})(StackBy || (StackBy = {}));
|
|
165
|
+
/**
|
|
166
|
+
* How stacked values are presented.
|
|
167
|
+
* - ABSOLUTE: raw values stacked
|
|
168
|
+
* - RELATIVE: normalized to 100% per data point
|
|
169
|
+
* - ABSOLUTE_RELATIVE: absolute bars with a relative (%) total label
|
|
170
|
+
*/
|
|
171
|
+
var StackMode;
|
|
172
|
+
(function (StackMode) {
|
|
173
|
+
StackMode["ABSOLUTE"] = "absolute";
|
|
174
|
+
StackMode["RELATIVE"] = "relative";
|
|
175
|
+
StackMode["ABSOLUTE_RELATIVE"] = "absolute-relative";
|
|
176
|
+
})(StackMode || (StackMode = {}));
|
|
177
|
+
/** Sort order of segments within a stacked bar. DATASET preserves the original data order. */
|
|
178
|
+
var StackOrder;
|
|
179
|
+
(function (StackOrder) {
|
|
180
|
+
StackOrder["ASC"] = "asc";
|
|
181
|
+
StackOrder["DESC"] = "desc";
|
|
182
|
+
StackOrder["DATASET"] = "dataset";
|
|
183
|
+
})(StackOrder || (StackOrder = {}));
|
|
184
|
+
|
|
1
185
|
// these aren't really private, but nor are they really useful to document
|
|
2
186
|
|
|
3
187
|
/**
|
|
@@ -8127,4 +8311,126 @@ function friendlyDateTime(dateTimeish) {
|
|
|
8127
8311
|
}
|
|
8128
8312
|
}
|
|
8129
8313
|
|
|
8130
|
-
|
|
8314
|
+
/**
|
|
8315
|
+
* Type-checking utility used throughout the adapter layer for safe JSON-to-domain conversion.
|
|
8316
|
+
*
|
|
8317
|
+
* All methods are static guards that validate a single `unknown` value before it is
|
|
8318
|
+
* assigned to a typed domain property. Methods that serve as TypeScript type guards
|
|
8319
|
+
* use `data is T` return types to enable downstream type narrowing.
|
|
8320
|
+
*/
|
|
8321
|
+
class CompareUtil {
|
|
8322
|
+
static isExisting(data) {
|
|
8323
|
+
return data !== null && data !== undefined;
|
|
8324
|
+
}
|
|
8325
|
+
static isString(data) {
|
|
8326
|
+
return typeof data === "string";
|
|
8327
|
+
}
|
|
8328
|
+
static isNumber(data) {
|
|
8329
|
+
return typeof data === "number" && !Number.isNaN(data);
|
|
8330
|
+
}
|
|
8331
|
+
static isBoolean(data) {
|
|
8332
|
+
return typeof data === "boolean";
|
|
8333
|
+
}
|
|
8334
|
+
static isArray(data) {
|
|
8335
|
+
return Array.isArray(data);
|
|
8336
|
+
}
|
|
8337
|
+
static isObject(data) {
|
|
8338
|
+
return typeof data === "object" && data !== null;
|
|
8339
|
+
}
|
|
8340
|
+
/**
|
|
8341
|
+
* Checks if the value is a valid IBCS aggregation operator.
|
|
8342
|
+
* Only `"+"` and `"-"` are valid; any other value is rejected.
|
|
8343
|
+
*/
|
|
8344
|
+
static isOperator(data) {
|
|
8345
|
+
return data === "+" || data === "-";
|
|
8346
|
+
}
|
|
8347
|
+
/**
|
|
8348
|
+
* Checks if the value is a valid Luxon DateTime instance.
|
|
8349
|
+
* Returns false for invalid DateTime objects (e.g. parsed from malformed strings).
|
|
8350
|
+
*/
|
|
8351
|
+
static isDate(data) {
|
|
8352
|
+
return data instanceof DateTime && data.isValid;
|
|
8353
|
+
}
|
|
8354
|
+
}
|
|
8355
|
+
|
|
8356
|
+
/** Shared utilities for the adapter layer, used by all component config adapters. */
|
|
8357
|
+
class AdapterUtils {
|
|
8358
|
+
/** Returns the trimmed string value, or an empty string if the input is not a string. */
|
|
8359
|
+
static adaptDefaultString(data) {
|
|
8360
|
+
if (CompareUtil.isString(data)) {
|
|
8361
|
+
return data.trim();
|
|
8362
|
+
}
|
|
8363
|
+
return "";
|
|
8364
|
+
}
|
|
8365
|
+
/**
|
|
8366
|
+
* Safely adapts an array of untyped records through a typed adapter.
|
|
8367
|
+
* If `data` is not an array, returns an empty array instead of throwing.
|
|
8368
|
+
*/
|
|
8369
|
+
static adaptArray(data, adapter) {
|
|
8370
|
+
const targetArray = [];
|
|
8371
|
+
if (CompareUtil.isArray(data)) {
|
|
8372
|
+
data.forEach((b) => {
|
|
8373
|
+
targetArray.push(adapter.adapt(b));
|
|
8374
|
+
});
|
|
8375
|
+
}
|
|
8376
|
+
return targetArray;
|
|
8377
|
+
}
|
|
8378
|
+
}
|
|
8379
|
+
|
|
8380
|
+
var OrderDirection;
|
|
8381
|
+
(function (OrderDirection) {
|
|
8382
|
+
OrderDirection["ASC"] = "asc";
|
|
8383
|
+
OrderDirection["DESC"] = "desc";
|
|
8384
|
+
})(OrderDirection || (OrderDirection = {}));
|
|
8385
|
+
/** Valid columns for ORDER BY in AlaSQL queries — includes hierarchy dimensions and all 16 scenario slots. */
|
|
8386
|
+
var OrderColumn;
|
|
8387
|
+
(function (OrderColumn) {
|
|
8388
|
+
OrderColumn["ROWGROUP"] = "rowGroup";
|
|
8389
|
+
OrderColumn["ROWGROUPINDEX"] = "rowGroupIndex";
|
|
8390
|
+
OrderColumn["CATEGORY"] = "category";
|
|
8391
|
+
OrderColumn["CATEGORYINDEX"] = "categoryIndex";
|
|
8392
|
+
OrderColumn["SUBCATEGORY"] = "subCategory";
|
|
8393
|
+
OrderColumn["SUBCATEGORYINDEX"] = "subCategoryIndex";
|
|
8394
|
+
OrderColumn["AC1"] = "ac1";
|
|
8395
|
+
OrderColumn["AC2"] = "ac2";
|
|
8396
|
+
OrderColumn["AC3"] = "ac3";
|
|
8397
|
+
OrderColumn["AC4"] = "ac4";
|
|
8398
|
+
OrderColumn["PP1"] = "pp1";
|
|
8399
|
+
OrderColumn["PP2"] = "pp2";
|
|
8400
|
+
OrderColumn["PP3"] = "pp3";
|
|
8401
|
+
OrderColumn["PP4"] = "pp4";
|
|
8402
|
+
OrderColumn["FC1"] = "fc1";
|
|
8403
|
+
OrderColumn["FC2"] = "fc2";
|
|
8404
|
+
OrderColumn["FC3"] = "fc3";
|
|
8405
|
+
OrderColumn["FC4"] = "fc4";
|
|
8406
|
+
OrderColumn["PL1"] = "pl1";
|
|
8407
|
+
OrderColumn["PL2"] = "pl2";
|
|
8408
|
+
OrderColumn["PL3"] = "pl3";
|
|
8409
|
+
OrderColumn["PL4"] = "pl4";
|
|
8410
|
+
})(OrderColumn || (OrderColumn = {}));
|
|
8411
|
+
class Order {
|
|
8412
|
+
/**
|
|
8413
|
+
* @param hierarchy Columns for multi-level sorting, applied left-to-right (e.g. `["rowGroup", "category"]`).
|
|
8414
|
+
* @param direction Sort direction applied to all hierarchy levels.
|
|
8415
|
+
*/
|
|
8416
|
+
constructor(hierarchy = ["category"], direction = OrderDirection.ASC) {
|
|
8417
|
+
this.hierarchy = hierarchy;
|
|
8418
|
+
this.direction = direction;
|
|
8419
|
+
}
|
|
8420
|
+
}
|
|
8421
|
+
class OrderAdapter {
|
|
8422
|
+
constructor(stringAdapter) {
|
|
8423
|
+
this.stringAdapter = stringAdapter;
|
|
8424
|
+
}
|
|
8425
|
+
adapt(data) {
|
|
8426
|
+
var _a;
|
|
8427
|
+
const hierarchy = AdapterUtils.adaptArray(data.hierarchy, this.stringAdapter);
|
|
8428
|
+
const order = OrderDirection[(_a = data.direction) === null || _a === void 0 ? void 0 : _a.toUpperCase()] || OrderDirection.ASC;
|
|
8429
|
+
return new Order(hierarchy.map((str) => OrderColumn[str.toUpperCase()] || OrderColumn.CATEGORY), order);
|
|
8430
|
+
}
|
|
8431
|
+
default() {
|
|
8432
|
+
return new Order(["category"], OrderDirection.ASC);
|
|
8433
|
+
}
|
|
8434
|
+
}
|
|
8435
|
+
|
|
8436
|
+
export { AggregationLevel as A, BAR_COLUMN_WIDTH_EM as B, ChartMode as C, DateTime as D, I18nMode as I, MeasureType as M, OrderDirection as O, StackOrder as S, TableBarColumnWidth as T, OrderColumn as a, StackMode as b, AxisLabelsMode as c, AdapterUtils as d, CompareUtil as e, Scenarios as f, Sentiments as g, DataFormat as h, TableType as i, TableCategoryWidth as j, OrderAdapter as k, StackBy as l };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { V as VarianceScenario } from './formatter-DTMEZ6d8.js';
|
|
2
|
-
import {
|
|
2
|
+
import { d as AdapterUtils } from './Order-sqjrku2z.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* IBCS rule set defining scenario→style mappings per IBCS notation standard v1.2.
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { w as withComponentStatus } from './withComponentStatus-
|
|
3
|
-
import { g as getStores } from './context-protocol-
|
|
4
|
-
import { w as withBodyObserver } from './withBodyObserver-
|
|
5
|
-
import { w as withHasError } from './withHasError-
|
|
6
|
-
import './componentRegister-BtVfu16B.js';
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-JNHhIe7t.js';
|
|
2
|
+
import { w as withComponentStatus } from './withComponentStatus-DodoSXe-.js';
|
|
3
|
+
import { g as getStores } from './context-protocol-Bz5klD-F.js';
|
|
4
|
+
import { w as withBodyObserver } from './withBodyObserver-DczL5ia8.js';
|
|
5
|
+
import { w as withHasError } from './withHasError-B3QX2emi.js';
|
|
7
6
|
|
|
8
7
|
const bnAssetCss = () => `:host{display:none}`;
|
|
9
8
|
|