@bino-bi/bn-template-engine 1.0.0-alpha.0 → 1.0.0-alpha.10
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-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-9b1288df.entry.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 +23906 -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 +46 -3
- 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 -55
- 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 -1
- 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 +23884 -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 +8 -0
- 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 -16
- 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 +389 -443
- 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 +3 -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--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
|
@@ -3,34 +3,57 @@ import withBodyObserver from "../../utils/withBodyObserver";
|
|
|
3
3
|
import { getStores } from "../../context/context-protocol";
|
|
4
4
|
import withComponentStatus from "../../utils/withComponentStatus";
|
|
5
5
|
import withHasError from "../../utils/withHasError";
|
|
6
|
+
import { computeContentHash, decodeCompressedContent } from "../../utils/contentDecoder";
|
|
6
7
|
/**
|
|
7
8
|
* Ingests raw JSON data and writes it to the scoped `datasources` store.
|
|
8
9
|
*
|
|
9
10
|
* Data is provided as JSON text inside the element body (observed via
|
|
10
11
|
* `withBodyObserver`). Other components (e.g. `bn-dataset`) reference
|
|
11
12
|
* the stored data by the `name` prop to run queries against it.
|
|
13
|
+
*
|
|
14
|
+
* Set `raw="false"` to accept pre-compressed payloads in `<hash>:<base64_gzip>` format.
|
|
12
15
|
*/
|
|
13
16
|
export class Datasource {
|
|
14
17
|
constructor() {
|
|
18
|
+
/**
|
|
19
|
+
* When true (default), body content is plain JSON text.
|
|
20
|
+
* When false, body content is a compressed payload (`<hash>:<base64_gzip>`).
|
|
21
|
+
*/
|
|
22
|
+
this.raw = true;
|
|
23
|
+
this.lastHash = null;
|
|
15
24
|
withComponentStatus(this);
|
|
16
25
|
this.errors = withHasError(this);
|
|
17
26
|
withBodyObserver(this, (data) => {
|
|
18
27
|
if (!this.stores)
|
|
19
28
|
this.stores = getStores(this.element);
|
|
20
29
|
try {
|
|
21
|
-
|
|
30
|
+
let contentHash;
|
|
31
|
+
let jsonString;
|
|
32
|
+
if (this.raw) {
|
|
33
|
+
contentHash = computeContentHash(data);
|
|
34
|
+
jsonString = data;
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
const decoded = decodeCompressedContent(data);
|
|
38
|
+
contentHash = decoded.hash;
|
|
39
|
+
jsonString = decoded.json;
|
|
40
|
+
}
|
|
41
|
+
if (contentHash === this.lastHash)
|
|
42
|
+
return;
|
|
43
|
+
this.lastHash = contentHash;
|
|
44
|
+
const json = JSON.parse(jsonString);
|
|
22
45
|
// @ts-ignore
|
|
23
46
|
this.stores.datasources.set(this.name, json);
|
|
24
47
|
}
|
|
25
48
|
catch (e) {
|
|
26
|
-
console.error("Error parsing datasource", e, data);
|
|
49
|
+
console.error("Error parsing datasource", e, String(data).slice(0, 200));
|
|
27
50
|
// @ts-ignore
|
|
28
51
|
this.stores.datasources.set(this.name, []);
|
|
29
52
|
}
|
|
30
53
|
});
|
|
31
54
|
}
|
|
32
55
|
render() {
|
|
33
|
-
return h(Host, { key: '
|
|
56
|
+
return h(Host, { key: '43b691b07f63d12ad6c835dfb5d5bf6053b3bbf4' });
|
|
34
57
|
}
|
|
35
58
|
static get is() { return "bn-datasource"; }
|
|
36
59
|
static get originalStyleUrls() {
|
|
@@ -63,6 +86,26 @@ export class Datasource {
|
|
|
63
86
|
"setter": false,
|
|
64
87
|
"reflect": false,
|
|
65
88
|
"attribute": "name"
|
|
89
|
+
},
|
|
90
|
+
"raw": {
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"mutable": false,
|
|
93
|
+
"complexType": {
|
|
94
|
+
"original": "boolean",
|
|
95
|
+
"resolved": "boolean",
|
|
96
|
+
"references": {}
|
|
97
|
+
},
|
|
98
|
+
"required": false,
|
|
99
|
+
"optional": false,
|
|
100
|
+
"docs": {
|
|
101
|
+
"tags": [],
|
|
102
|
+
"text": "When true (default), body content is plain JSON text.\nWhen false, body content is a compressed payload (`<hash>:<base64_gzip>`)."
|
|
103
|
+
},
|
|
104
|
+
"getter": false,
|
|
105
|
+
"setter": false,
|
|
106
|
+
"reflect": false,
|
|
107
|
+
"attribute": "raw",
|
|
108
|
+
"defaultValue": "true"
|
|
66
109
|
}
|
|
67
110
|
};
|
|
68
111
|
}
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
color: var(--bn-font-color, black);
|
|
4
4
|
font-family: var(--bn-font-family, "Noto Sans", sans-serif);
|
|
5
5
|
font-size: var(--bn-font-size, 13.3333px);
|
|
6
|
+
display: flex;
|
|
6
7
|
flex-direction: column;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
7
10
|
overflow: hidden;
|
|
8
|
-
float: left;
|
|
9
|
-
clear: left;
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
.cardtitle {
|
|
@@ -1,20 +1,120 @@
|
|
|
1
1
|
import { h, Fragment } from "@stencil/core";
|
|
2
2
|
import { getStores } from "../../context/context-protocol";
|
|
3
3
|
import withHasError from "../../utils/withHasError";
|
|
4
|
+
import withInheritedProps from "../../utils/withInheritedProps";
|
|
4
5
|
export class LayoutCard {
|
|
5
6
|
constructor() {
|
|
7
|
+
/**
|
|
8
|
+
* URL or asset name of the image displayed next to the card title.
|
|
9
|
+
* The value is resolved via the scoped assets store: if it matches a
|
|
10
|
+
* registered asset name, the stored URL is used; otherwise the raw value
|
|
11
|
+
* is treated as a URL. The deprecated `asset:` prefix is still supported
|
|
12
|
+
* for backward compatibility.
|
|
13
|
+
* <br /><br />
|
|
14
|
+
* If empty, the title image is omitted.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* <bn-layout-card title-image="company_logo"></bn-layout-card>
|
|
18
|
+
*/
|
|
6
19
|
this.titleImage = "";
|
|
20
|
+
/**
|
|
21
|
+
* Name of the business unit displayed in the title header row.
|
|
22
|
+
* If empty, the business unit row is omitted.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* <bn-layout-card title-business-unit="Sales"></bn-layout-card>
|
|
26
|
+
*/
|
|
7
27
|
this.titleBusinessUnit = "";
|
|
28
|
+
/**
|
|
29
|
+
* Primary column on which the order direction is applied.
|
|
30
|
+
* <br /><br />
|
|
31
|
+
* values:<br />
|
|
32
|
+
* ```category // categoryindex // rowgroup // rowgroupindex // ac // fc // py // pl```
|
|
33
|
+
*/
|
|
8
34
|
this.titleOrder = "category";
|
|
35
|
+
/**
|
|
36
|
+
* Sorting order direction for the column specified by `titleOrder`.
|
|
37
|
+
* <br /><br />
|
|
38
|
+
* values:<br />
|
|
39
|
+
* ```asc // desc```
|
|
40
|
+
*/
|
|
9
41
|
this.titleOrderDirection = "asc";
|
|
42
|
+
/**
|
|
43
|
+
* Date display format used in the title row.
|
|
44
|
+
* <br /><br />
|
|
45
|
+
* values:<br />
|
|
46
|
+
* ```year // quarter // month // week // day // time // auto // none```
|
|
47
|
+
* <br /><br />
|
|
48
|
+
* `year`: YYYY, `quarter`: Q[Q] YYYY, `month`: MMM YYYY,
|
|
49
|
+
* `week`: [KW]WW YYYY, `day`: DD.MM.YYYY, `time`: DD.MM.YYYY HH:mm:ss,
|
|
50
|
+
* `auto`: automatic detection, `none`: DD.MM.YYYY.
|
|
51
|
+
*/
|
|
10
52
|
this.titleDateFormat = "none";
|
|
53
|
+
/**
|
|
54
|
+
* Format in which the start and end dates are linked in the title.
|
|
55
|
+
* If set to `none` a plain date is shown.
|
|
56
|
+
* <br /><br />
|
|
57
|
+
* values:<br />
|
|
58
|
+
* ```avg // interval // cum // start // end // ytd // ytg // mat // none```
|
|
59
|
+
* <br /><br />
|
|
60
|
+
* `avg`: Ø[DATE], `interval`: [DATE]..[DATE2], `start`: .[DATE],
|
|
61
|
+
* `end`: [DATE]., `ytd`: _[DATE], `ytg`: [DATE]_, `cum`: [DATE]_[DATE2],
|
|
62
|
+
* `mat`: ~[DATE], `none`: [DATE].
|
|
63
|
+
*/
|
|
11
64
|
this.titleDateLink = "none";
|
|
65
|
+
/**
|
|
66
|
+
* Namespace used for title translations via the internationalization store.
|
|
67
|
+
*/
|
|
12
68
|
this.titleNamespace = "_system";
|
|
69
|
+
/**
|
|
70
|
+
* Text displayed in the card footer. If empty, the footer text is omitted.
|
|
71
|
+
*/
|
|
13
72
|
this.footerText = "";
|
|
73
|
+
/**
|
|
74
|
+
* Layout mode that controls how child components are arranged inside
|
|
75
|
+
* the card body using CSS Grid.
|
|
76
|
+
* <br /><br />
|
|
77
|
+
* values:<br />
|
|
78
|
+
* ```full // split-vertical // split-horizontal // 2x2 // 3x3 // 4x4 // 1-over-2 // 1-over-3 // 2-over-1 // 3-over-1 // custom-template```
|
|
79
|
+
* <br /><br />
|
|
80
|
+
* `full`: single slot. `split-vertical`: two side-by-side slots.
|
|
81
|
+
* `split-horizontal`: two stacked slots. `NxN`: equal grid.
|
|
82
|
+
* `1-over-2`: one full-width slot on top, two below. `custom-template`:
|
|
83
|
+
* uses the `cardCustomTemplate` CSS grid-template-areas string.
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* <bn-layout-card card-layout="split-horizontal"></bn-layout-card>
|
|
87
|
+
*/
|
|
14
88
|
this.cardLayout = "full";
|
|
89
|
+
/**
|
|
90
|
+
* CSS `grid-template-areas` string used when `cardLayout` is set to
|
|
91
|
+
* `custom-template`. Each quoted row defines a grid row; letters map to
|
|
92
|
+
* slot indices in order of first appearance.
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* <bn-layout-card card-layout="custom-template"
|
|
96
|
+
* card-custom-template='"a a" "b c"'></bn-layout-card>
|
|
97
|
+
*/
|
|
15
98
|
this.cardCustomTemplate = '"a b" "c d"';
|
|
99
|
+
/**
|
|
100
|
+
* Gap between grid cells in pixels.
|
|
101
|
+
*/
|
|
16
102
|
this.cardGridGap = "0";
|
|
17
|
-
|
|
103
|
+
/**
|
|
104
|
+
* When `true`, the card body height shrinks to fit its content
|
|
105
|
+
* (`fit-content`). When `false` (default), the card stretches to
|
|
106
|
+
* fill its parent (`100%`). Width is always `100%` regardless
|
|
107
|
+
* of this setting.
|
|
108
|
+
* <br /><br />
|
|
109
|
+
* Use `false` (default) when the card contains components with
|
|
110
|
+
* auto-scaling (e.g. `unit-scaling="auto"` or `scale="auto"`),
|
|
111
|
+
* because auto-scaling needs a fixed parent height to calculate
|
|
112
|
+
* dimensions.
|
|
113
|
+
*/
|
|
114
|
+
this.cardFitToContent = false;
|
|
115
|
+
/**
|
|
116
|
+
* Whether to display a visible border around the card.
|
|
117
|
+
*/
|
|
18
118
|
this.cardShowBorder = true;
|
|
19
119
|
this.templateMap = new Map([
|
|
20
120
|
["split-vertical", '"a b"'],
|
|
@@ -31,29 +131,69 @@ export class LayoutCard {
|
|
|
31
131
|
["gold4", '"a b c c" "d d c c"'],
|
|
32
132
|
]);
|
|
33
133
|
this.errors = withHasError(this);
|
|
134
|
+
this.resolveInherited = withInheritedProps(this, [
|
|
135
|
+
{ propName: "titleScenarios", ancestorAttr: "title-scenarios" },
|
|
136
|
+
{ propName: "titleVariances", ancestorAttr: "title-variances" },
|
|
137
|
+
{ propName: "titleOrder", ancestorAttr: "title-order" },
|
|
138
|
+
{ propName: "titleOrderDirection", ancestorAttr: "title-order-direction" },
|
|
139
|
+
]);
|
|
34
140
|
}
|
|
35
141
|
connectedCallback() {
|
|
36
142
|
this.stores = getStores(this.element);
|
|
143
|
+
// Reflect resolved inherited values to host attributes so child vis
|
|
144
|
+
// components can read them during their own DOM traversal.
|
|
145
|
+
this.reflectInheritedAttrs();
|
|
37
146
|
}
|
|
38
147
|
getCommonStyles() {
|
|
39
148
|
let height = "100%";
|
|
40
|
-
let width = "100%";
|
|
41
149
|
if (this.cardFitToContent === true) {
|
|
42
|
-
width = "fit-content";
|
|
43
150
|
height = "fit-content";
|
|
44
151
|
}
|
|
152
|
+
// Width is always 100% — the card is bounded by its parent grid cell.
|
|
153
|
+
// Using fit-content for width creates a circular dependency where the
|
|
154
|
+
// card width depends on child content but children need the card width
|
|
155
|
+
// for auto-scaling.
|
|
45
156
|
return {
|
|
46
157
|
display: "grid",
|
|
47
158
|
height: height,
|
|
48
|
-
width:
|
|
159
|
+
width: "100%",
|
|
49
160
|
gap: this.cardGridGap + "px",
|
|
50
161
|
};
|
|
51
162
|
}
|
|
163
|
+
calculateFractions(input) {
|
|
164
|
+
const items = input.trim().split(/\s+/);
|
|
165
|
+
const count = items.length;
|
|
166
|
+
if (count === 0)
|
|
167
|
+
return "minmax(0, 1fr)";
|
|
168
|
+
return Array(count).fill("minmax(0, 1fr)").join(" ");
|
|
169
|
+
}
|
|
170
|
+
getGridTemplateColumns(name) {
|
|
171
|
+
const template = this.getTemplatePattern(name);
|
|
172
|
+
const pattern = /"[\w\d\s.]+"/g;
|
|
173
|
+
const matches = template.match(pattern);
|
|
174
|
+
if (!matches || matches.length === 0)
|
|
175
|
+
return "minmax(0, 1fr)";
|
|
176
|
+
return this.calculateFractions(matches[0]);
|
|
177
|
+
}
|
|
178
|
+
getGridTemplateRows(name) {
|
|
179
|
+
const template = this.getTemplatePattern(name);
|
|
180
|
+
const pattern = /"[\w\d\s.]+"/g;
|
|
181
|
+
const matches = template.match(pattern);
|
|
182
|
+
const rowCount = matches ? matches.length : 1;
|
|
183
|
+
if (this.cardFitToContent) {
|
|
184
|
+
return Array(rowCount).fill("auto").join(" ");
|
|
185
|
+
}
|
|
186
|
+
// minmax(0, 1fr) allows rows to shrink below content height.
|
|
187
|
+
// Plain 1fr = minmax(auto, 1fr) which grows rows to fit content,
|
|
188
|
+
// breaking overflow constraints on the slot wrappers.
|
|
189
|
+
return Array(rowCount).fill("minmax(0, 1fr)").join(" ");
|
|
190
|
+
}
|
|
52
191
|
getLayoutStyle() {
|
|
53
|
-
return Object.assign(Object.assign({}, this.getCommonStyles()), { "grid-template-areas": this.getTemplatePattern(this.cardLayout) });
|
|
192
|
+
return Object.assign(Object.assign({}, this.getCommonStyles()), { "grid-template-areas": this.getTemplatePattern(this.cardLayout), "grid-template-columns": this.getGridTemplateColumns(this.cardLayout), "grid-template-rows": this.getGridTemplateRows(this.cardLayout) });
|
|
54
193
|
}
|
|
55
194
|
createDivAreaStyles(elements) {
|
|
56
195
|
return elements.map((x) => ({
|
|
196
|
+
display: "flex",
|
|
57
197
|
overflow: "hidden",
|
|
58
198
|
"grid-area": x,
|
|
59
199
|
}));
|
|
@@ -75,7 +215,6 @@ export class LayoutCard {
|
|
|
75
215
|
return Array.from(new Set(words));
|
|
76
216
|
}
|
|
77
217
|
getTemplatePattern(name) {
|
|
78
|
-
console.warn("getTemplatePattern", { name: name });
|
|
79
218
|
if (this.templateMap.has(name) === false && name !== "custom-template") {
|
|
80
219
|
return '"a"';
|
|
81
220
|
}
|
|
@@ -97,6 +236,26 @@ export class LayoutCard {
|
|
|
97
236
|
}
|
|
98
237
|
return "card_box";
|
|
99
238
|
}
|
|
239
|
+
/**
|
|
240
|
+
* When the card itself inherits a title prop from a page, write the
|
|
241
|
+
* resolved value back to the host element's attribute so that child
|
|
242
|
+
* vis components (bn-table, bn-chart-*) performing their own DOM walk
|
|
243
|
+
* read the actual value instead of the literal "inherited-page" keyword.
|
|
244
|
+
*/
|
|
245
|
+
reflectInheritedAttrs() {
|
|
246
|
+
const mappings = [
|
|
247
|
+
{ prop: "titleScenarios", attr: "title-scenarios" },
|
|
248
|
+
{ prop: "titleVariances", attr: "title-variances" },
|
|
249
|
+
{ prop: "titleOrder", attr: "title-order" },
|
|
250
|
+
{ prop: "titleOrderDirection", attr: "title-order-direction" },
|
|
251
|
+
];
|
|
252
|
+
for (const { prop, attr } of mappings) {
|
|
253
|
+
const resolved = this.resolveInherited(prop, this[prop]);
|
|
254
|
+
if (resolved !== undefined) {
|
|
255
|
+
this.element.setAttribute(attr, resolved);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
100
259
|
prepareTitleImage(value) {
|
|
101
260
|
if (value == null || value === "") {
|
|
102
261
|
return "";
|
|
@@ -109,11 +268,12 @@ export class LayoutCard {
|
|
|
109
268
|
return assetsState[value] || value;
|
|
110
269
|
}
|
|
111
270
|
render() {
|
|
271
|
+
var _a, _b, _c, _d;
|
|
112
272
|
const style = this.getLayoutStyle();
|
|
113
273
|
const arrOfSlots = this.extractSlotNames(style["grid-template-areas"]);
|
|
114
274
|
return (
|
|
115
275
|
// @ts-ignore
|
|
116
|
-
h("bn-card", { key: '
|
|
276
|
+
h("bn-card", { key: 'c39b6a8cf843b7b8d9b380215a3553288acd3647', styles: this.styles, class: this.setCardClass() }, h("div", { key: '3206bff73cb01fad7223e3fd889e015992e535c6', class: "cardtitle" }, h("bn-title", { key: 'd410c817dd185a26bb7623dd3649c999516f706a', namespace: this.titleNamespace, "business-unit": this.titleBusinessUnit, scenarios: (_a = this.resolveInherited("titleScenarios", this.titleScenarios)) !== null && _a !== void 0 ? _a : this.titleScenarios, variances: (_b = this.resolveInherited("titleVariances", this.titleVariances)) !== null && _b !== void 0 ? _b : this.titleVariances, order: (_c = this.resolveInherited("titleOrder", this.titleOrder)) !== null && _c !== void 0 ? _c : this.titleOrder, "order-direction": (_d = this.resolveInherited("titleOrderDirection", this.titleOrderDirection)) !== null && _d !== void 0 ? _d : this.titleOrderDirection, measures: this.titleMeasures, "date-start": this.titleDateStart, "date-end": this.titleDateEnd, "date-format": this.titleDateFormat, "date-link": this.titleDateLink }), this.titleImage != null && this.titleImage !== "" ? (h("img", { class: "image", src: this.prepareTitleImage(this.titleImage) })) : ("")), h("bn-body", { key: 'f56b1b70127cd2173e425cf723dbea2b62037d88' }, h("div", { key: 'e5766b5b28dd1d14fdbaf721baf72668502fcbec', style: style }, this.getSlots(arrOfSlots))), h("bn-footer", { key: 'bafb89f89c89aaf0e31fa754f0e834330b031627', text: this.footerText, "page-number": 0, "display-page-number": "false" })));
|
|
117
277
|
}
|
|
118
278
|
static get is() { return "bn-layout-card"; }
|
|
119
279
|
static get encapsulation() { return "shadow"; }
|
|
@@ -141,7 +301,7 @@ export class LayoutCard {
|
|
|
141
301
|
"optional": true,
|
|
142
302
|
"docs": {
|
|
143
303
|
"tags": [],
|
|
144
|
-
"text": ""
|
|
304
|
+
"text": "JSON string of component-style overrides passed through to the inner\n`<bn-card>` element. Typically set via a `ComponentStyle` manifest\nrather than directly on the component."
|
|
145
305
|
},
|
|
146
306
|
"getter": false,
|
|
147
307
|
"setter": false,
|
|
@@ -159,8 +319,11 @@ export class LayoutCard {
|
|
|
159
319
|
"required": false,
|
|
160
320
|
"optional": false,
|
|
161
321
|
"docs": {
|
|
162
|
-
"tags": [
|
|
163
|
-
|
|
322
|
+
"tags": [{
|
|
323
|
+
"name": "example",
|
|
324
|
+
"text": "<bn-layout-card title-image=\"company_logo\"></bn-layout-card>"
|
|
325
|
+
}],
|
|
326
|
+
"text": "URL or asset name of the image displayed next to the card title.\nThe value is resolved via the scoped assets store: if it matches a\nregistered asset name, the stored URL is used; otherwise the raw value\nis treated as a URL. The deprecated `asset:` prefix is still supported\nfor backward compatibility.\n<br /><br />\nIf empty, the title image is omitted."
|
|
164
327
|
},
|
|
165
328
|
"getter": false,
|
|
166
329
|
"setter": false,
|
|
@@ -179,8 +342,11 @@ export class LayoutCard {
|
|
|
179
342
|
"required": false,
|
|
180
343
|
"optional": false,
|
|
181
344
|
"docs": {
|
|
182
|
-
"tags": [
|
|
183
|
-
|
|
345
|
+
"tags": [{
|
|
346
|
+
"name": "example",
|
|
347
|
+
"text": "<bn-layout-card title-business-unit=\"Sales\"></bn-layout-card>"
|
|
348
|
+
}],
|
|
349
|
+
"text": "Name of the business unit displayed in the title header row.\nIf empty, the business unit row is omitted."
|
|
184
350
|
},
|
|
185
351
|
"getter": false,
|
|
186
352
|
"setter": false,
|
|
@@ -200,7 +366,7 @@ export class LayoutCard {
|
|
|
200
366
|
"optional": true,
|
|
201
367
|
"docs": {
|
|
202
368
|
"tags": [],
|
|
203
|
-
"text": ""
|
|
369
|
+
"text": "List of scenarios displayed in the title header.\n<br /><br />\nComma-separated string or omitted. If empty, the scenarios row is omitted.\n<br /><br />\nvalues:<br />\n```ac // fc // py // pl```"
|
|
204
370
|
},
|
|
205
371
|
"getter": false,
|
|
206
372
|
"setter": false,
|
|
@@ -219,7 +385,7 @@ export class LayoutCard {
|
|
|
219
385
|
"optional": true,
|
|
220
386
|
"docs": {
|
|
221
387
|
"tags": [],
|
|
222
|
-
"text": ""
|
|
388
|
+
"text": "List of variances calculated from the given scenarios.\nThe scenarios used in the variances must also be defined in\nthe `titleScenarios` property. The variance is defined as\n(ScenarioA \u2212 ScenarioB). The pos/neg/neu postfix defines\nwhich direction is considered \"good\".\n<br /><br />\nIf empty, variance indicators are hidden.\n<br /><br />\npattern:<br />\n```d<scenarioB>_<scenarioA>_[pos/neg/neu]```"
|
|
223
389
|
},
|
|
224
390
|
"getter": false,
|
|
225
391
|
"setter": false,
|
|
@@ -238,7 +404,7 @@ export class LayoutCard {
|
|
|
238
404
|
"optional": false,
|
|
239
405
|
"docs": {
|
|
240
406
|
"tags": [],
|
|
241
|
-
"text": ""
|
|
407
|
+
"text": "Primary column on which the order direction is applied.\n<br /><br />\nvalues:<br />\n```category // categoryindex // rowgroup // rowgroupindex // ac // fc // py // pl```"
|
|
242
408
|
},
|
|
243
409
|
"getter": false,
|
|
244
410
|
"setter": false,
|
|
@@ -258,7 +424,7 @@ export class LayoutCard {
|
|
|
258
424
|
"optional": false,
|
|
259
425
|
"docs": {
|
|
260
426
|
"tags": [],
|
|
261
|
-
"text": ""
|
|
427
|
+
"text": "Sorting order direction for the column specified by `titleOrder`.\n<br /><br />\nvalues:<br />\n```asc // desc```"
|
|
262
428
|
},
|
|
263
429
|
"getter": false,
|
|
264
430
|
"setter": false,
|
|
@@ -277,8 +443,11 @@ export class LayoutCard {
|
|
|
277
443
|
"required": false,
|
|
278
444
|
"optional": true,
|
|
279
445
|
"docs": {
|
|
280
|
-
"tags": [
|
|
281
|
-
|
|
446
|
+
"tags": [{
|
|
447
|
+
"name": "example",
|
|
448
|
+
"text": "<bn-layout-card title-measures='[{\"name\":\"Revenue\",\"unit\":\"mEUR\"}]'></bn-layout-card>"
|
|
449
|
+
}],
|
|
450
|
+
"text": "Array of measure objects with `name` and `unit` displayed in the title.\nPassed as a JSON string. If all units are the same, redundant units are\nreduced and names concatenated. If empty, the measure row is omitted."
|
|
282
451
|
},
|
|
283
452
|
"getter": false,
|
|
284
453
|
"setter": false,
|
|
@@ -297,7 +466,7 @@ export class LayoutCard {
|
|
|
297
466
|
"optional": true,
|
|
298
467
|
"docs": {
|
|
299
468
|
"tags": [],
|
|
300
|
-
"text": ""
|
|
469
|
+
"text": "Start date displayed in the title date row.\nAccepts `yyyy-MM-dd` (e.g. `2024-01-01`) or ISO 8601 datetime\n(e.g. `2024-01-01T14:30:00Z`)."
|
|
301
470
|
},
|
|
302
471
|
"getter": false,
|
|
303
472
|
"setter": false,
|
|
@@ -316,7 +485,7 @@ export class LayoutCard {
|
|
|
316
485
|
"optional": true,
|
|
317
486
|
"docs": {
|
|
318
487
|
"tags": [],
|
|
319
|
-
"text": ""
|
|
488
|
+
"text": "End date displayed in the title date row.\nAccepts `yyyy-MM-dd` (e.g. `2024-12-31`) or ISO 8601 datetime\n(e.g. `2024-12-31T23:59:59Z`)."
|
|
320
489
|
},
|
|
321
490
|
"getter": false,
|
|
322
491
|
"setter": false,
|
|
@@ -335,7 +504,7 @@ export class LayoutCard {
|
|
|
335
504
|
"optional": false,
|
|
336
505
|
"docs": {
|
|
337
506
|
"tags": [],
|
|
338
|
-
"text": ""
|
|
507
|
+
"text": "Date display format used in the title row.\n<br /><br />\nvalues:<br />\n```year // quarter // month // week // day // time // auto // none```\n<br /><br />\n`year`: YYYY, `quarter`: Q[Q] YYYY, `month`: MMM YYYY,\n`week`: [KW]WW YYYY, `day`: DD.MM.YYYY, `time`: DD.MM.YYYY HH:mm:ss,\n`auto`: automatic detection, `none`: DD.MM.YYYY."
|
|
339
508
|
},
|
|
340
509
|
"getter": false,
|
|
341
510
|
"setter": false,
|
|
@@ -355,7 +524,7 @@ export class LayoutCard {
|
|
|
355
524
|
"optional": false,
|
|
356
525
|
"docs": {
|
|
357
526
|
"tags": [],
|
|
358
|
-
"text": ""
|
|
527
|
+
"text": "Format in which the start and end dates are linked in the title.\nIf set to `none` a plain date is shown.\n<br /><br />\nvalues:<br />\n```avg // interval // cum // start // end // ytd // ytg // mat // none```\n<br /><br />\n`avg`: \u00D8[DATE], `interval`: [DATE]..[DATE2], `start`: .[DATE],\n`end`: [DATE]., `ytd`: _[DATE], `ytg`: [DATE]_, `cum`: [DATE]_[DATE2],\n`mat`: ~[DATE], `none`: [DATE]."
|
|
359
528
|
},
|
|
360
529
|
"getter": false,
|
|
361
530
|
"setter": false,
|
|
@@ -375,7 +544,7 @@ export class LayoutCard {
|
|
|
375
544
|
"optional": false,
|
|
376
545
|
"docs": {
|
|
377
546
|
"tags": [],
|
|
378
|
-
"text": ""
|
|
547
|
+
"text": "Namespace used for title translations via the internationalization store."
|
|
379
548
|
},
|
|
380
549
|
"getter": false,
|
|
381
550
|
"setter": false,
|
|
@@ -395,7 +564,7 @@ export class LayoutCard {
|
|
|
395
564
|
"optional": true,
|
|
396
565
|
"docs": {
|
|
397
566
|
"tags": [],
|
|
398
|
-
"text": ""
|
|
567
|
+
"text": "Text displayed in the card footer. If empty, the footer text is omitted."
|
|
399
568
|
},
|
|
400
569
|
"getter": false,
|
|
401
570
|
"setter": false,
|
|
@@ -414,8 +583,11 @@ export class LayoutCard {
|
|
|
414
583
|
"required": false,
|
|
415
584
|
"optional": false,
|
|
416
585
|
"docs": {
|
|
417
|
-
"tags": [
|
|
418
|
-
|
|
586
|
+
"tags": [{
|
|
587
|
+
"name": "example",
|
|
588
|
+
"text": "<bn-layout-card card-layout=\"split-horizontal\"></bn-layout-card>"
|
|
589
|
+
}],
|
|
590
|
+
"text": "Layout mode that controls how child components are arranged inside\nthe card body using CSS Grid.\n<br /><br />\nvalues:<br />\n```full // split-vertical // split-horizontal // 2x2 // 3x3 // 4x4 // 1-over-2 // 1-over-3 // 2-over-1 // 3-over-1 // custom-template```\n<br /><br />\n`full`: single slot. `split-vertical`: two side-by-side slots.\n`split-horizontal`: two stacked slots. `NxN`: equal grid.\n`1-over-2`: one full-width slot on top, two below. `custom-template`:\nuses the `cardCustomTemplate` CSS grid-template-areas string."
|
|
419
591
|
},
|
|
420
592
|
"getter": false,
|
|
421
593
|
"setter": false,
|
|
@@ -434,8 +606,11 @@ export class LayoutCard {
|
|
|
434
606
|
"required": false,
|
|
435
607
|
"optional": false,
|
|
436
608
|
"docs": {
|
|
437
|
-
"tags": [
|
|
438
|
-
|
|
609
|
+
"tags": [{
|
|
610
|
+
"name": "example",
|
|
611
|
+
"text": "<bn-layout-card card-layout=\"custom-template\"\n card-custom-template='\"a a\" \"b c\"'></bn-layout-card>"
|
|
612
|
+
}],
|
|
613
|
+
"text": "CSS `grid-template-areas` string used when `cardLayout` is set to\n`custom-template`. Each quoted row defines a grid row; letters map to\nslot indices in order of first appearance."
|
|
439
614
|
},
|
|
440
615
|
"getter": false,
|
|
441
616
|
"setter": false,
|
|
@@ -455,7 +630,7 @@ export class LayoutCard {
|
|
|
455
630
|
"optional": false,
|
|
456
631
|
"docs": {
|
|
457
632
|
"tags": [],
|
|
458
|
-
"text": ""
|
|
633
|
+
"text": "Gap between grid cells in pixels."
|
|
459
634
|
},
|
|
460
635
|
"getter": false,
|
|
461
636
|
"setter": false,
|
|
@@ -475,13 +650,13 @@ export class LayoutCard {
|
|
|
475
650
|
"optional": false,
|
|
476
651
|
"docs": {
|
|
477
652
|
"tags": [],
|
|
478
|
-
"text": ""
|
|
653
|
+
"text": "When `true`, the card body height shrinks to fit its content\n(`fit-content`). When `false` (default), the card stretches to\nfill its parent (`100%`). Width is always `100%` regardless\nof this setting.\n<br /><br />\nUse `false` (default) when the card contains components with\nauto-scaling (e.g. `unit-scaling=\"auto\"` or `scale=\"auto\"`),\nbecause auto-scaling needs a fixed parent height to calculate\ndimensions."
|
|
479
654
|
},
|
|
480
655
|
"getter": false,
|
|
481
656
|
"setter": false,
|
|
482
657
|
"reflect": false,
|
|
483
658
|
"attribute": "card-fit-to-content",
|
|
484
|
-
"defaultValue": "
|
|
659
|
+
"defaultValue": "false"
|
|
485
660
|
},
|
|
486
661
|
"cardShowBorder": {
|
|
487
662
|
"type": "boolean",
|
|
@@ -495,7 +670,7 @@ export class LayoutCard {
|
|
|
495
670
|
"optional": false,
|
|
496
671
|
"docs": {
|
|
497
672
|
"tags": [],
|
|
498
|
-
"text": ""
|
|
673
|
+
"text": "Whether to display a visible border around the card."
|
|
499
674
|
},
|
|
500
675
|
"getter": false,
|
|
501
676
|
"setter": false,
|