@bino-bi/bn-template-engine 1.0.0-alpha.13 → 1.0.0-alpha.15
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-637e3b8f.entry.js → p-19f49fbc.entry.js} +1 -1
- package/dist/bn-template-engine/p-209b3fd9.entry.js +1 -0
- package/dist/bn-template-engine/{p-67eae33e.entry.js → p-3465fcdc.entry.js} +1 -1
- package/dist/bn-template-engine/{p-82023539.entry.js → p-67746414.entry.js} +1 -1
- package/dist/bn-template-engine/p-BPDZcex5.js +1 -0
- package/dist/bn-template-engine/{p-DHheVOfP.js → p-Tx6omDWp.js} +1 -1
- package/dist/bn-template-engine/{p-52097456.entry.js → p-d724ab88.entry.js} +1 -1
- package/dist/bn-template-engine/p-efd3b67a.entry.js +1 -0
- package/dist/bn-template-engine/{p-46699464.entry.js → p-ff659485.entry.js} +1 -1
- package/dist/bn-template-engine/p-z9bPNFYF.js +1 -0
- package/dist/cjs/bn-asset_21.cjs.entry.js +348 -75
- package/dist/cjs/bn-grid.cjs.entry.js +2 -2
- package/dist/cjs/bn-image.cjs.entry.js +2 -2
- package/dist/cjs/bn-internationalization.cjs.entry.js +1 -1
- package/dist/cjs/bn-template-engine.cjs.js +1 -1
- package/dist/cjs/bn-text.cjs.entry.js +3 -3
- package/dist/cjs/bn-tree.cjs.entry.js +2 -2
- package/dist/cjs/{context-protocol-Op7uUwN3.js → context-protocol-Cn5PL928.js} +14 -0
- package/dist/cjs/editor-companion.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{scaling-57N4Cxb_.js → scaling-DM2UILdF.js} +58 -17
- package/dist/cjs/{withStyled-C2kmGAK3.js → withStyled-Dx3uRw9g.js} +72 -1
- package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +28 -10
- package/dist/collection/components/bn-chart-structure/utils/helper/ElementPositions.js +46 -4
- package/dist/collection/components/bn-chart-time/bn-chart-time.js +39 -1
- package/dist/collection/components/bn-chart-time/utils/TimeChart.js +40 -10
- package/dist/collection/components/bn-dataset/bn-dataset.js +25 -13
- package/dist/collection/components/bn-datasource/bn-datasource.js +23 -12
- package/dist/collection/components/bn-layout-card/bn-layout-card.css +5 -0
- package/dist/collection/components/bn-layout-card/bn-layout-card.js +6 -3
- package/dist/collection/components/bn-layout-page/bn-layout-page.css +5 -0
- package/dist/collection/components/bn-layout-page/bn-layout-page.js +6 -3
- package/dist/collection/components/bn-table/bn-table.js +75 -7
- package/dist/collection/components/bn-table/ibcs-table.js +27 -0
- package/dist/collection/components/bn-table/utils/Table.js +2 -2
- package/dist/collection/components/bn-table/utils/factories/tableDataSetFactory.js +28 -5
- package/dist/collection/components/bn-table/utils/helper/DataQuery.js +46 -6
- package/dist/collection/components/bn-table/utils/model/TableAttribute.js +46 -0
- package/dist/collection/components/bn-table/utils/model/TableComponentConfig.js +5 -0
- package/dist/collection/context/scopedDb.js +14 -0
- package/dist/collection/utils/parentDimensions.js +57 -16
- package/dist/collection/utils/validate.js +23 -0
- package/dist/components/DateStringFactory.js +1 -1
- package/dist/components/Order.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-table.js +1 -1
- package/dist/components/bn-title2.js +1 -1
- package/dist/components/context-protocol.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/scaling.js +1 -1
- package/dist/components/validate.js +1 -1
- package/dist/esm/bn-asset_21.entry.js +348 -75
- package/dist/esm/bn-grid.entry.js +2 -2
- package/dist/esm/bn-image.entry.js +2 -2
- package/dist/esm/bn-internationalization.entry.js +1 -1
- package/dist/esm/bn-template-engine.js +1 -1
- package/dist/esm/bn-text.entry.js +3 -3
- package/dist/esm/bn-tree.entry.js +2 -2
- package/dist/esm/{context-protocol-BDhzNbeD.js → context-protocol-BB-4Onmw.js} +14 -0
- package/dist/esm/editor-companion.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{scaling-La1Ow72h.js → scaling-h4KcBet3.js} +58 -17
- package/dist/esm/{withStyled-Bl9cSoRW.js → withStyled-BBvU2f-A.js} +71 -2
- package/dist/types/components/bn-chart-structure/utils/StructureChart.d.ts +4 -0
- package/dist/types/components/bn-chart-structure/utils/helper/ElementPositions.d.ts +16 -1
- package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +13 -0
- package/dist/types/components/bn-chart-time/utils/TimeChart.d.ts +4 -0
- package/dist/types/components/bn-dataset/bn-dataset.d.ts +15 -7
- package/dist/types/components/bn-datasource/bn-datasource.d.ts +13 -6
- package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +1 -0
- package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +1 -0
- package/dist/types/components/bn-table/bn-table.d.ts +13 -0
- package/dist/types/components/bn-table/ibcs-table.d.ts +2 -0
- package/dist/types/components/bn-table/utils/factories/tableDataSetFactory.d.ts +3 -1
- package/dist/types/components/bn-table/utils/helper/DataQuery.d.ts +11 -0
- package/dist/types/components/bn-table/utils/model/TableAttribute.d.ts +22 -0
- package/dist/types/components/bn-table/utils/model/TableComponentConfig.d.ts +3 -0
- package/dist/types/components.d.ts +45 -20
- package/dist/types/utils/validate.d.ts +6 -0
- package/package.json +1 -1
- package/dist/bn-template-engine/p-3c827826.entry.js +0 -1
- package/dist/bn-template-engine/p-BVFHvEXF.js +0 -1
- package/dist/bn-template-engine/p-CQnZV3JG.js +0 -1
- package/dist/bn-template-engine/p-ab3ea8cf.entry.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-B_d-jp99.js';
|
|
2
|
-
import { i as isValidBoolean, w as withStyled, a as withComponentStyle } from './withStyled-
|
|
2
|
+
import { i as isValidBoolean, w as withStyled, a as withComponentStyle } from './withStyled-BBvU2f-A.js';
|
|
3
3
|
import { w as withComponentStatus, a as withHasError } from './withHasError-DW_vMDUp.js';
|
|
4
|
-
import './context-protocol-
|
|
4
|
+
import './context-protocol-BB-4Onmw.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Header configuration types and parsing utilities for bn-grid component.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-B_d-jp99.js';
|
|
2
|
-
import { w as withStyled, a as withComponentStyle } from './withStyled-
|
|
2
|
+
import { w as withStyled, a as withComponentStyle } from './withStyled-BBvU2f-A.js';
|
|
3
3
|
import { w as withComponentStatus, a as withHasError } from './withHasError-DW_vMDUp.js';
|
|
4
|
-
import { g as getStores } from './context-protocol-
|
|
4
|
+
import { g as getStores } from './context-protocol-BB-4Onmw.js';
|
|
5
5
|
|
|
6
6
|
const bnImageCss = () => `:host{display:inline-block;position:relative;overflow:hidden}img{max-width:100%;height:auto}`;
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-B_d-jp99.js';
|
|
2
2
|
import { w as withBodyObserver } from './withBodyObserver-IokS6fHD.js';
|
|
3
|
-
import { g as getStores, f as flattenObject } from './context-protocol-
|
|
3
|
+
import { g as getStores, f as flattenObject } from './context-protocol-BB-4Onmw.js';
|
|
4
4
|
import { w as withComponentStatus, a as withHasError } from './withHasError-DW_vMDUp.js';
|
|
5
5
|
|
|
6
6
|
const bnInternationalizationCss = () => `bn-internationalization{display:none}`;
|
|
@@ -44,5 +44,5 @@ var patchCloneNodeFix = (HTMLElementPrototype) => {
|
|
|
44
44
|
|
|
45
45
|
patchBrowser().then(async (options) => {
|
|
46
46
|
await globalScripts();
|
|
47
|
-
return bootstrapLazy(JSON.parse("[[\"bn-grid\",[[257,\"bn-grid\",{\"chartTitle\":[1,\"chart-title\"],\"rowHeaders\":[1,\"row-headers\"],\"columnHeaders\":[1,\"column-headers\"],\"showRowHeaders\":[1,\"show-row-headers\"],\"showColumnHeaders\":[1,\"show-column-headers\"],\"showBorders\":[1,\"show-borders\"],\"rowHeaderWidth\":[1,\"row-header-width\"],\"cellGap\":[1,\"cell-gap\"],\"gridConfig\":[32]},null,{\"rowHeaders\":[{\"validateRowHeaders\":0}],\"columnHeaders\":[{\"validateColumnHeaders\":0}],\"showRowHeaders\":[{\"validateShowRowHeaders\":0}],\"showColumnHeaders\":[{\"validateShowColumnHeaders\":0}],\"showBorders\":[{\"validateShowBorders\":0}]}]]],[\"bn-image\",[[1,\"bn-image\",{\"source\":[1]}]]],[\"bn-internationalization\",[[0,\"bn-internationalization\",{\"code\":[1],\"namespace\":[1]}]]],[\"bn-template\",[[257,\"bn-template\",{\"templateId\":[1,\"template-id\"]}]]],[\"bn-text\",[[1,\"bn-text\",{\"value\":[1],\"scale\":[1],\"data\":[32]},null,{\"value\":[{\"validateValue\":0}],\"scale\":[{\"validateScaling\":0}]}]]],[\"bn-tree\",[[257,\"bn-tree\",{\"edges\":[1],\"direction\":[1],\"levelSpacing\":[2,\"level-spacing\"],\"nodeSpacing\":[2,\"node-spacing\"],\"edgeStyle\":[1,\"edge-style\"],\"showOperators\":[1,\"show-operators\"],\"treeConfig\":[32],\"layout\":[32],\"nodeRects\":[32],\"svgWidth\":[32],\"svgHeight\":[32]},null,{\"edges\":[{\"validateEdgesProp\":0}],\"direction\":[{\"validateDirection\":0}],\"levelSpacing\":[{\"validateLevelSpacing\":0}],\"nodeSpacing\":[{\"validateNodeSpacing\":0}],\"edgeStyle\":[{\"validateEdgeStyle\":0}],\"showOperators\":[{\"validateShowOperators\":0}]}]]],[\"editor-companion\",[[0,\"editor-companion\",{\"internationalizationKeys\":[64],\"getDistinctFromDataSource\":[64],\"getDistinctFromDataset\":[64]}]]],[\"bn-asset_21\",[[257,\"bn-layout-page\",{\"styles\":[1],\"messageText\":[1,\"message-text\"],\"messageImage\":[1,\"message-image\"],\"titleBusinessUnit\":[1,\"title-business-unit\"],\"titleScenarios\":[1,\"title-scenarios\"],\"titleVariances\":[1,\"title-variances\"],\"titleOrder\":[1,\"title-order\"],\"titleOrderDirection\":[1,\"title-order-direction\"],\"titleMeasures\":[1,\"title-measures\"],\"titleDateStart\":[1,\"title-date-start\"],\"titleDateEnd\":[1,\"title-date-end\"],\"titleDateFormat\":[1,\"title-date-format\"],\"titleDateLink\":[1,\"title-date-link\"],\"titleNamespace\":[1,\"title-namespace\"],\"pageFormat\":[1,\"page-format\"],\"pageOrientation\":[1,\"page-orientation\"],\"pageNumber\":[1,\"page-number\"],\"footerText\":[1,\"footer-text\"],\"footerDisplayPageNumber\":[4,\"footer-display-page-number\"],\"pageLayout\":[1,\"page-layout\"],\"pageCustomTemplate\":[1,\"page-custom-template\"],\"pageGridGap\":[1,\"page-grid-gap\"],\"pageFitToContent\":[4,\"page-fit-to-content\"],\"getNumberOfSlot\":[64]}],[257,\"bn-layout-card\",{\"styles\":[1],\"titleImage\":[1,\"title-image\"],\"titleBusinessUnit\":[1,\"title-business-unit\"],\"titleScenarios\":[1,\"title-scenarios\"],\"titleVariances\":[1,\"title-variances\"],\"titleOrder\":[1,\"title-order\"],\"titleOrderDirection\":[1,\"title-order-direction\"],\"titleMeasures\":[1,\"title-measures\"],\"titleDateStart\":[1,\"title-date-start\"],\"titleDateEnd\":[1,\"title-date-end\"],\"titleDateFormat\":[1,\"title-date-format\"],\"titleDateLink\":[1,\"title-date-link\"],\"titleNamespace\":[1,\"title-namespace\"],\"footerText\":[1,\"footer-text\"],\"cardLayout\":[1,\"card-layout\"],\"cardCustomTemplate\":[1,\"card-custom-template\"],\"cardGridGap\":[1,\"card-grid-gap\"],\"cardFitToContent\":[4,\"card-fit-to-content\"],\"cardShowBorder\":[4,\"card-show-border\"],\"getNumberOfSlot\":[64]}],[1,\"bn-chart-structure\",{\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"limit\":[2],\"showCategories\":[1,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[1,\"show-measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"stack\":[1],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"limit\":[{\"validateLimit\":0}],\"showCategories\":[{\"validateShowCategories\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}]}],[1,\"bn-chart-time\",{\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"syncSpaceLeft\":[2,\"sync-space-left\"],\"limit\":[2],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"dateInterval\":[1,\"date-interval\"],\"chartMode\":[1,\"chart-mode\"],\"maxBars\":[2,\"max-bars\"],\"stack\":[1],\"scale\":[1],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"axisLabelsMode\":[1,\"axis-labels-mode\"],\"lineFullWidth\":[1,\"line-full-width\"],\"showCategories\":[1,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[1,\"show-measure-scale\"],\"showOverlayAvg\":[1,\"show-overlay-avg\"],\"showOverlayMedian\":[1,\"show-overlay-median\"],\"measureUnit\":[1,\"measure-unit\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"syncSpaceLeft\":[{\"validateLeftSync\":0}],\"limit\":[{\"validateLimit\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"dateInterval\":[{\"validateDateInterval\":0}],\"chartMode\":[{\"validateChartMode\":0}],\"maxBars\":[{\"validateMaxBars\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}],\"axisLabelsMode\":[{\"validateAxisLabelsMode\":0}],\"lineFullWidth\":[{\"validateLineFullWidth\":0}],\"showCategories\":[{\"validateShowCategories\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"showOverlayAvg\":[{\"validateShowOverlayAvg\":0}],\"showOverlayMedian\":[{\"validateShowOverlayMedian\":0}]}],[1,\"bn-table\",{\"scale\":[1],\"tableTitle\":[1,\"table-title\"],\"filter\":[1],\"measureUnit\":[1,\"measure-unit\"],\"scenarios\":[1],\"variances\":[1],\"barColumns\":[1,\"bar-columns\"],\"barColumnWidth\":[1,\"bar-column-width\"],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"dataFormat\":[1,\"data-format\"],\"grouped\":[1],\"showMeasureScale\":[1,\"show-measure-scale\"],\"showGroupTitle\":[1,\"show-group-title\"],\"type\":[1],\"limit\":[2],\"thereof\":[1],\"partof\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"measureType\":[1,\"measure-type\"],\"measureScale\":[1,\"measure-scale\"],\"dataFormatDigitsDecimal\":[2,\"data-format-digits-decimal\"],\"dataFormatDigitsPercent\":[2,\"data-format-digits-percent\"],\"categoryWidth\":[1,\"category-width\"],\"columnthereof\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scale\":[{\"validateScaling\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"barColumns\":[{\"validateBarColumns\":0}],\"barColumnWidth\":[{\"validateBarColumnWidth\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"dataFormat\":[{\"validateDataFormat\":0}],\"grouped\":[{\"validateGrouped\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"showGroupTitle\":[{\"validateShowGroupTitle\":0}],\"type\":[{\"validateType\":0}],\"limit\":[{\"validateLimit\":0}],\"thereof\":[{\"validateThereOf\":0}],\"partof\":[{\"validatePartOf\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"measureType\":[{\"validateMeasureType\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"dataFormatDigitsDecimal\":[{\"validateDataFormatDigitsDecimal\":0}],\"dataFormatDigitsPercent\":[{\"validateDateFormatDigitsPercent\":0}],\"categoryWidth\":[{\"validateCategoryWidth\":0}],\"columnthereof\":[{\"validateColumnThereOf\":0}]}],[1,\"bn-asset\",{\"name\":[1]}],[0,\"bn-component-style\",{\"name\":[1]}],[257,\"bn-context\",{\"locale\":[1]},null,{\"locale\":[{\"setLocale\":0}]}],[0,\"bn-dataset\",{\"name\":[1],\"datasources\":[1],\"static\":[4],\"raw\":[4],\"interval\":[2]},null,{\"name\":[{\"nameUpdated\":0}],\"interval\":[{\"onIntervalChange\":0}]}],[0,\"bn-datasource\",{\"name\":[1],\"raw\":[4],\"interval\":[2]},null,{\"interval\":[{\"onIntervalChange\":0}]}],[0,\"bn-scaling-group\",{\"name\":[1],\"value\":[2]},null,{\"name\":[{\"onNameChange\":0}],\"value\":[{\"onValueChange\":0}]}],[257,\"bn-card\"],[1,\"bn-message\",{\"text\":[1025],\"image\":[1]}],[257,\"bn-page\",{\"format\":[1],\"orientation\":[1]},null,{\"format\":[{\"validateFormat\":0}],\"orientation\":[{\"validateOrientation\":0}]}],[1,\"ibcs-chart-structure\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideCategories\":[4,\"hide-categories\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"limit\":[2],\"styles\":[1040],\"i18n\":[1040],\"order\":[16],\"level\":[1],\"filter\":[1],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"dataFormatDigits\":[16],\"stackConfig\":[16],\"parentDimensions\":[16]}],[1,\"ibcs-chart-time\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideAxisLabels\":[4,\"hide-axis-labels\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"limit\":[2],\"leftSideOffsetForHorizontalSync\":[2,\"left-side-offset-for-horizontal-sync\"],\"styles\":[1040],\"i18n\":[1040],\"order\":[16],\"level\":[1],\"dateInterval\":[1,\"date-interval\"],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"axisLabelsMode\":[1,\"axis-labels-mode\"],\"filter\":[1],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"showOverlayMedian\":[4,\"show-overlay-median\"],\"showOverlayAvg\":[4,\"show-overlay-avg\"],\"chartMode\":[1,\"chart-mode\"],\"maxBars\":[2,\"max-bars\"],\"stackConfig\":[16],\"lineFullWidth\":[4,\"line-full-width\"],\"containerWidth\":[2,\"container-width\"],\"dataFormatDigits\":[16],\"parentDimensions\":[16]}],[1,\"ibcs-table\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"tableTitle\":[1,\"table-title\"],\"scenarios\":[16],\"scenariosDataFormat\":[1,\"scenarios-data-format\"],\"grouped\":[4],\"limit\":[2],\"showGroupTitle\":[4,\"show-group-title\"],\"thereof\":[16],\"partof\":[16],\"order\":[16],\"categorythereof\":[16],\"type\":[1],\"categoryWidth\":[1,\"category-width\"],\"dataFormatDigits\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"measureType\":[1,\"measure-type\"],\"filter\":[1],\"barColumns\":[16],\"barColumnMaxWidth\":[2,\"bar-column-max-width\"],\"unitScaling\":[2,\"unit-scaling\"],\"percentageScaling\":[2,\"percentage-scaling\"],\"scaleFactor\":[2,\"scale-factor\"]}],[1,\"bn-title\",{\"businessUnit\":[1,\"business-unit\"],\"scenarios\":[1],\"variances\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"measures\":[1],\"dateStart\":[1,\"date-start\"],\"dateEnd\":[1,\"date-end\"],\"dateFormat\":[1,\"date-format\"],\"dateLink\":[1,\"date-link\"]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"order\":[{\"validateOrder\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"measures\":[{\"validateMeasures\":0}],\"dateStart\":[{\"validateDateStart\":0}],\"dateEnd\":[{\"validateDateEnd\":0}],\"dateFormat\":[{\"validateDateFormat\":0}],\"dateLink\":[{\"validateDateLink\":0}]}],[257,\"bn-body\"],[1,\"bn-footer\",{\"pageNumber\":[1026,\"page-number\"],\"text\":[1025],\"code\":[1025],\"displayPageNumber\":[4,\"display-page-number\"]}],[1,\"ibcs-title\",{\"businessUnit\":[1537,\"business-unit\"],\"scenarios\":[16],\"measures\":[16],\"timeperiod\":[16],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"order\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"setBusinessUnit\":[64],\"setProps\":[64]}]]]]"), options);
|
|
47
|
+
return bootstrapLazy(JSON.parse("[[\"bn-grid\",[[257,\"bn-grid\",{\"chartTitle\":[1,\"chart-title\"],\"rowHeaders\":[1,\"row-headers\"],\"columnHeaders\":[1,\"column-headers\"],\"showRowHeaders\":[1,\"show-row-headers\"],\"showColumnHeaders\":[1,\"show-column-headers\"],\"showBorders\":[1,\"show-borders\"],\"rowHeaderWidth\":[1,\"row-header-width\"],\"cellGap\":[1,\"cell-gap\"],\"gridConfig\":[32]},null,{\"rowHeaders\":[{\"validateRowHeaders\":0}],\"columnHeaders\":[{\"validateColumnHeaders\":0}],\"showRowHeaders\":[{\"validateShowRowHeaders\":0}],\"showColumnHeaders\":[{\"validateShowColumnHeaders\":0}],\"showBorders\":[{\"validateShowBorders\":0}]}]]],[\"bn-image\",[[1,\"bn-image\",{\"source\":[1]}]]],[\"bn-internationalization\",[[0,\"bn-internationalization\",{\"code\":[1],\"namespace\":[1]}]]],[\"bn-template\",[[257,\"bn-template\",{\"templateId\":[1,\"template-id\"]}]]],[\"bn-text\",[[1,\"bn-text\",{\"value\":[1],\"scale\":[1],\"data\":[32]},null,{\"value\":[{\"validateValue\":0}],\"scale\":[{\"validateScaling\":0}]}]]],[\"bn-tree\",[[257,\"bn-tree\",{\"edges\":[1],\"direction\":[1],\"levelSpacing\":[2,\"level-spacing\"],\"nodeSpacing\":[2,\"node-spacing\"],\"edgeStyle\":[1,\"edge-style\"],\"showOperators\":[1,\"show-operators\"],\"treeConfig\":[32],\"layout\":[32],\"nodeRects\":[32],\"svgWidth\":[32],\"svgHeight\":[32]},null,{\"edges\":[{\"validateEdgesProp\":0}],\"direction\":[{\"validateDirection\":0}],\"levelSpacing\":[{\"validateLevelSpacing\":0}],\"nodeSpacing\":[{\"validateNodeSpacing\":0}],\"edgeStyle\":[{\"validateEdgeStyle\":0}],\"showOperators\":[{\"validateShowOperators\":0}]}]]],[\"editor-companion\",[[0,\"editor-companion\",{\"internationalizationKeys\":[64],\"getDistinctFromDataSource\":[64],\"getDistinctFromDataset\":[64]}]]],[\"bn-asset_21\",[[257,\"bn-layout-page\",{\"styles\":[1],\"messageText\":[1,\"message-text\"],\"messageImage\":[1,\"message-image\"],\"titleBusinessUnit\":[1,\"title-business-unit\"],\"titleScenarios\":[1,\"title-scenarios\"],\"titleVariances\":[1,\"title-variances\"],\"titleOrder\":[1,\"title-order\"],\"titleOrderDirection\":[1,\"title-order-direction\"],\"titleMeasures\":[1,\"title-measures\"],\"titleDateStart\":[1,\"title-date-start\"],\"titleDateEnd\":[1,\"title-date-end\"],\"titleDateFormat\":[1,\"title-date-format\"],\"titleDateLink\":[1,\"title-date-link\"],\"titleNamespace\":[1,\"title-namespace\"],\"pageFormat\":[1,\"page-format\"],\"pageOrientation\":[1,\"page-orientation\"],\"pageNumber\":[1,\"page-number\"],\"footerText\":[1,\"footer-text\"],\"footerDisplayPageNumber\":[4,\"footer-display-page-number\"],\"pageLayout\":[1,\"page-layout\"],\"pageCustomTemplate\":[1,\"page-custom-template\"],\"pageGridGap\":[1,\"page-grid-gap\"],\"pageFitToContent\":[4,\"page-fit-to-content\"],\"getNumberOfSlot\":[64]}],[257,\"bn-layout-card\",{\"styles\":[1],\"titleImage\":[1,\"title-image\"],\"titleBusinessUnit\":[1,\"title-business-unit\"],\"titleScenarios\":[1,\"title-scenarios\"],\"titleVariances\":[1,\"title-variances\"],\"titleOrder\":[1,\"title-order\"],\"titleOrderDirection\":[1,\"title-order-direction\"],\"titleMeasures\":[1,\"title-measures\"],\"titleDateStart\":[1,\"title-date-start\"],\"titleDateEnd\":[1,\"title-date-end\"],\"titleDateFormat\":[1,\"title-date-format\"],\"titleDateLink\":[1,\"title-date-link\"],\"titleNamespace\":[1,\"title-namespace\"],\"footerText\":[1,\"footer-text\"],\"cardLayout\":[1,\"card-layout\"],\"cardCustomTemplate\":[1,\"card-custom-template\"],\"cardGridGap\":[1,\"card-grid-gap\"],\"cardFitToContent\":[4,\"card-fit-to-content\"],\"cardShowBorder\":[4,\"card-show-border\"],\"getNumberOfSlot\":[64]}],[1,\"bn-chart-structure\",{\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"limit\":[2],\"showCategories\":[1,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[1,\"show-measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"stack\":[1],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"limit\":[{\"validateLimit\":0}],\"showCategories\":[{\"validateShowCategories\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}]}],[1,\"bn-chart-time\",{\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"syncSpaceLeft\":[2,\"sync-space-left\"],\"limit\":[2],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"dateInterval\":[1,\"date-interval\"],\"chartMode\":[1,\"chart-mode\"],\"maxBars\":[2,\"max-bars\"],\"stack\":[1],\"scale\":[1],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"axisLabelsMode\":[1,\"axis-labels-mode\"],\"lineFullWidth\":[1,\"line-full-width\"],\"showCategories\":[1,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[1,\"show-measure-scale\"],\"showOverlayAvg\":[1,\"show-overlay-avg\"],\"showOverlayMedian\":[1,\"show-overlay-median\"],\"measureUnit\":[1,\"measure-unit\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"syncSpaceLeft\":[{\"validateLeftSync\":0}],\"limit\":[{\"validateLimit\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"dateInterval\":[{\"validateDateInterval\":0}],\"chartMode\":[{\"validateChartMode\":0}],\"maxBars\":[{\"validateMaxBars\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}],\"axisLabelsMode\":[{\"validateAxisLabelsMode\":0}],\"lineFullWidth\":[{\"validateLineFullWidth\":0}],\"showCategories\":[{\"validateShowCategories\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"showOverlayAvg\":[{\"validateShowOverlayAvg\":0}],\"showOverlayMedian\":[{\"validateShowOverlayMedian\":0}]}],[1,\"bn-table\",{\"scale\":[1],\"tableTitle\":[1,\"table-title\"],\"filter\":[1],\"measureUnit\":[1,\"measure-unit\"],\"scenarios\":[1],\"variances\":[1],\"barColumns\":[1,\"bar-columns\"],\"barColumnWidth\":[1,\"bar-column-width\"],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"dataFormat\":[1,\"data-format\"],\"grouped\":[1],\"showMeasureScale\":[1,\"show-measure-scale\"],\"showGroupTitle\":[1,\"show-group-title\"],\"type\":[1],\"limit\":[2],\"thereof\":[1],\"partof\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"measureType\":[1,\"measure-type\"],\"measureScale\":[1,\"measure-scale\"],\"dataFormatDigitsDecimal\":[2,\"data-format-digits-decimal\"],\"dataFormatDigitsPercent\":[2,\"data-format-digits-percent\"],\"categoryWidth\":[1,\"category-width\"],\"columnthereof\":[1],\"tableAttributes\":[1,\"attributes\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scale\":[{\"validateScaling\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"barColumns\":[{\"validateBarColumns\":0}],\"barColumnWidth\":[{\"validateBarColumnWidth\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"dataFormat\":[{\"validateDataFormat\":0}],\"grouped\":[{\"validateGrouped\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"showGroupTitle\":[{\"validateShowGroupTitle\":0}],\"type\":[{\"validateType\":0}],\"limit\":[{\"validateLimit\":0}],\"thereof\":[{\"validateThereOf\":0}],\"partof\":[{\"validatePartOf\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"measureType\":[{\"validateMeasureType\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"dataFormatDigitsDecimal\":[{\"validateDataFormatDigitsDecimal\":0}],\"dataFormatDigitsPercent\":[{\"validateDateFormatDigitsPercent\":0}],\"categoryWidth\":[{\"validateCategoryWidth\":0}],\"columnthereof\":[{\"validateColumnThereOf\":0}],\"tableAttributes\":[{\"validateTableAttributes\":0}]}],[1,\"bn-asset\",{\"name\":[1]}],[0,\"bn-component-style\",{\"name\":[1]}],[257,\"bn-context\",{\"locale\":[1]},null,{\"locale\":[{\"setLocale\":0}]}],[0,\"bn-dataset\",{\"name\":[1],\"datasources\":[1],\"static\":[4],\"raw\":[4],\"interval\":[2]},null,{\"name\":[{\"nameUpdated\":0}],\"interval\":[{\"onIntervalChange\":0}]}],[0,\"bn-datasource\",{\"name\":[1],\"raw\":[4],\"interval\":[2]},null,{\"interval\":[{\"onIntervalChange\":0}]}],[0,\"bn-scaling-group\",{\"name\":[1],\"value\":[2]},null,{\"name\":[{\"onNameChange\":0}],\"value\":[{\"onValueChange\":0}]}],[257,\"bn-card\"],[1,\"bn-message\",{\"text\":[1025],\"image\":[1]}],[257,\"bn-page\",{\"format\":[1],\"orientation\":[1]},null,{\"format\":[{\"validateFormat\":0}],\"orientation\":[{\"validateOrientation\":0}]}],[1,\"ibcs-chart-structure\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideCategories\":[4,\"hide-categories\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"limit\":[2],\"styles\":[1040],\"i18n\":[1040],\"order\":[16],\"level\":[1],\"filter\":[1],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"dataFormatDigits\":[16],\"stackConfig\":[16],\"parentDimensions\":[16]}],[1,\"ibcs-chart-time\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideAxisLabels\":[4,\"hide-axis-labels\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"limit\":[2],\"leftSideOffsetForHorizontalSync\":[2,\"left-side-offset-for-horizontal-sync\"],\"styles\":[1040],\"i18n\":[1040],\"order\":[16],\"level\":[1],\"dateInterval\":[1,\"date-interval\"],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"axisLabelsMode\":[1,\"axis-labels-mode\"],\"filter\":[1],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"showOverlayMedian\":[4,\"show-overlay-median\"],\"showOverlayAvg\":[4,\"show-overlay-avg\"],\"chartMode\":[1,\"chart-mode\"],\"maxBars\":[2,\"max-bars\"],\"stackConfig\":[16],\"lineFullWidth\":[4,\"line-full-width\"],\"containerWidth\":[2,\"container-width\"],\"dataFormatDigits\":[16],\"parentDimensions\":[16]}],[1,\"ibcs-table\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"tableTitle\":[1,\"table-title\"],\"scenarios\":[16],\"scenariosDataFormat\":[1,\"scenarios-data-format\"],\"grouped\":[4],\"limit\":[2],\"showGroupTitle\":[4,\"show-group-title\"],\"thereof\":[16],\"partof\":[16],\"order\":[16],\"categorythereof\":[16],\"attributeColumns\":[16],\"type\":[1],\"categoryWidth\":[1,\"category-width\"],\"dataFormatDigits\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"measureType\":[1,\"measure-type\"],\"filter\":[1],\"barColumns\":[16],\"barColumnMaxWidth\":[2,\"bar-column-max-width\"],\"unitScaling\":[2,\"unit-scaling\"],\"percentageScaling\":[2,\"percentage-scaling\"],\"scaleFactor\":[2,\"scale-factor\"]}],[1,\"bn-title\",{\"businessUnit\":[1,\"business-unit\"],\"scenarios\":[1],\"variances\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"measures\":[1],\"dateStart\":[1,\"date-start\"],\"dateEnd\":[1,\"date-end\"],\"dateFormat\":[1,\"date-format\"],\"dateLink\":[1,\"date-link\"]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"order\":[{\"validateOrder\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"measures\":[{\"validateMeasures\":0}],\"dateStart\":[{\"validateDateStart\":0}],\"dateEnd\":[{\"validateDateEnd\":0}],\"dateFormat\":[{\"validateDateFormat\":0}],\"dateLink\":[{\"validateDateLink\":0}]}],[257,\"bn-body\"],[1,\"bn-footer\",{\"pageNumber\":[1026,\"page-number\"],\"text\":[1025],\"code\":[1025],\"displayPageNumber\":[4,\"display-page-number\"]}],[1,\"ibcs-title\",{\"businessUnit\":[1537,\"business-unit\"],\"scenarios\":[16],\"measures\":[16],\"timeperiod\":[16],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"order\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"setBusinessUnit\":[64],\"setProps\":[64]}]]]]"), options);
|
|
48
48
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-B_d-jp99.js';
|
|
2
|
-
import { w as withTranslation, a as withDataset, g as getParentDimensions, p as parseScaling } from './scaling-
|
|
2
|
+
import { w as withTranslation, a as withDataset, g as getParentDimensions, p as parseScaling } from './scaling-h4KcBet3.js';
|
|
3
3
|
import { w as withComponentStatus, a as withHasError } from './withHasError-DW_vMDUp.js';
|
|
4
|
-
import { w as withStyled, a as withComponentStyle } from './withStyled-
|
|
5
|
-
import './context-protocol-
|
|
4
|
+
import { w as withStyled, a as withComponentStyle } from './withStyled-BBvU2f-A.js';
|
|
5
|
+
import './context-protocol-BB-4Onmw.js';
|
|
6
6
|
|
|
7
7
|
const bnTextCss = () => `:host{padding:0.5em;display:inline-block;position:relative;overflow:hidden;font-family:var(--bn-font-family, "Noto Sans", sans-serif);font-size:var(--bn-font-size, 13.3333px);color:var(--bn-font-color, #000000);background-color:var(--bn-font-background, white)}span.container p{margin:0}`;
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-B_d-jp99.js';
|
|
2
|
-
import { b as isValidNumber, i as isValidBoolean, w as withStyled, a as withComponentStyle } from './withStyled-
|
|
2
|
+
import { b as isValidNumber, i as isValidBoolean, w as withStyled, a as withComponentStyle } from './withStyled-BBvU2f-A.js';
|
|
3
3
|
import { w as withComponentStatus, a as withHasError } from './withHasError-DW_vMDUp.js';
|
|
4
|
-
import './context-protocol-
|
|
4
|
+
import './context-protocol-BB-4Onmw.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Tree Parser utility for bn-tree component
|
|
@@ -9038,6 +9038,20 @@ function registerUdfs() {
|
|
|
9038
9038
|
return undefined;
|
|
9039
9039
|
return dt.startOf(normalizationLevel);
|
|
9040
9040
|
});
|
|
9041
|
+
// Custom aggregate collecting unique values per group, used by bn-table attribute
|
|
9042
|
+
// expressions like set(_leiter). alasql stages: 1 = init, 2 = accumulate, 3 = finalize.
|
|
9043
|
+
alasql.aggr.SETAGG = (value, accumulator, stage) => {
|
|
9044
|
+
if (stage === 1) {
|
|
9045
|
+
return value == null ? [] : [value];
|
|
9046
|
+
}
|
|
9047
|
+
const acc = accumulator;
|
|
9048
|
+
if (stage === 2) {
|
|
9049
|
+
if (value != null && !acc.includes(value))
|
|
9050
|
+
acc.push(value);
|
|
9051
|
+
return acc;
|
|
9052
|
+
}
|
|
9053
|
+
return acc.join(", ");
|
|
9054
|
+
};
|
|
9041
9055
|
}
|
|
9042
9056
|
/** Creates a fresh isolated database with its own subscriber map. */
|
|
9043
9057
|
function createScopedDb() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, F as Fragment, g as getElement } from './index-B_d-jp99.js';
|
|
2
|
-
import { g as getStores, B as BN_INTERNATIONALIZATION_KEYS } from './context-protocol-
|
|
2
|
+
import { g as getStores, B as BN_INTERNATIONALIZATION_KEYS } from './context-protocol-BB-4Onmw.js';
|
|
3
3
|
|
|
4
4
|
const editorCompanionCss = () => `editor-companion{display:none}`;
|
|
5
5
|
|
package/dist/esm/loader.js
CHANGED
|
@@ -5,7 +5,7 @@ import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await globalScripts();
|
|
8
|
-
return bootstrapLazy(JSON.parse("[[\"bn-grid\",[[257,\"bn-grid\",{\"chartTitle\":[1,\"chart-title\"],\"rowHeaders\":[1,\"row-headers\"],\"columnHeaders\":[1,\"column-headers\"],\"showRowHeaders\":[1,\"show-row-headers\"],\"showColumnHeaders\":[1,\"show-column-headers\"],\"showBorders\":[1,\"show-borders\"],\"rowHeaderWidth\":[1,\"row-header-width\"],\"cellGap\":[1,\"cell-gap\"],\"gridConfig\":[32]},null,{\"rowHeaders\":[{\"validateRowHeaders\":0}],\"columnHeaders\":[{\"validateColumnHeaders\":0}],\"showRowHeaders\":[{\"validateShowRowHeaders\":0}],\"showColumnHeaders\":[{\"validateShowColumnHeaders\":0}],\"showBorders\":[{\"validateShowBorders\":0}]}]]],[\"bn-image\",[[1,\"bn-image\",{\"source\":[1]}]]],[\"bn-internationalization\",[[0,\"bn-internationalization\",{\"code\":[1],\"namespace\":[1]}]]],[\"bn-template\",[[257,\"bn-template\",{\"templateId\":[1,\"template-id\"]}]]],[\"bn-text\",[[1,\"bn-text\",{\"value\":[1],\"scale\":[1],\"data\":[32]},null,{\"value\":[{\"validateValue\":0}],\"scale\":[{\"validateScaling\":0}]}]]],[\"bn-tree\",[[257,\"bn-tree\",{\"edges\":[1],\"direction\":[1],\"levelSpacing\":[2,\"level-spacing\"],\"nodeSpacing\":[2,\"node-spacing\"],\"edgeStyle\":[1,\"edge-style\"],\"showOperators\":[1,\"show-operators\"],\"treeConfig\":[32],\"layout\":[32],\"nodeRects\":[32],\"svgWidth\":[32],\"svgHeight\":[32]},null,{\"edges\":[{\"validateEdgesProp\":0}],\"direction\":[{\"validateDirection\":0}],\"levelSpacing\":[{\"validateLevelSpacing\":0}],\"nodeSpacing\":[{\"validateNodeSpacing\":0}],\"edgeStyle\":[{\"validateEdgeStyle\":0}],\"showOperators\":[{\"validateShowOperators\":0}]}]]],[\"editor-companion\",[[0,\"editor-companion\",{\"internationalizationKeys\":[64],\"getDistinctFromDataSource\":[64],\"getDistinctFromDataset\":[64]}]]],[\"bn-asset_21\",[[257,\"bn-layout-page\",{\"styles\":[1],\"messageText\":[1,\"message-text\"],\"messageImage\":[1,\"message-image\"],\"titleBusinessUnit\":[1,\"title-business-unit\"],\"titleScenarios\":[1,\"title-scenarios\"],\"titleVariances\":[1,\"title-variances\"],\"titleOrder\":[1,\"title-order\"],\"titleOrderDirection\":[1,\"title-order-direction\"],\"titleMeasures\":[1,\"title-measures\"],\"titleDateStart\":[1,\"title-date-start\"],\"titleDateEnd\":[1,\"title-date-end\"],\"titleDateFormat\":[1,\"title-date-format\"],\"titleDateLink\":[1,\"title-date-link\"],\"titleNamespace\":[1,\"title-namespace\"],\"pageFormat\":[1,\"page-format\"],\"pageOrientation\":[1,\"page-orientation\"],\"pageNumber\":[1,\"page-number\"],\"footerText\":[1,\"footer-text\"],\"footerDisplayPageNumber\":[4,\"footer-display-page-number\"],\"pageLayout\":[1,\"page-layout\"],\"pageCustomTemplate\":[1,\"page-custom-template\"],\"pageGridGap\":[1,\"page-grid-gap\"],\"pageFitToContent\":[4,\"page-fit-to-content\"],\"getNumberOfSlot\":[64]}],[257,\"bn-layout-card\",{\"styles\":[1],\"titleImage\":[1,\"title-image\"],\"titleBusinessUnit\":[1,\"title-business-unit\"],\"titleScenarios\":[1,\"title-scenarios\"],\"titleVariances\":[1,\"title-variances\"],\"titleOrder\":[1,\"title-order\"],\"titleOrderDirection\":[1,\"title-order-direction\"],\"titleMeasures\":[1,\"title-measures\"],\"titleDateStart\":[1,\"title-date-start\"],\"titleDateEnd\":[1,\"title-date-end\"],\"titleDateFormat\":[1,\"title-date-format\"],\"titleDateLink\":[1,\"title-date-link\"],\"titleNamespace\":[1,\"title-namespace\"],\"footerText\":[1,\"footer-text\"],\"cardLayout\":[1,\"card-layout\"],\"cardCustomTemplate\":[1,\"card-custom-template\"],\"cardGridGap\":[1,\"card-grid-gap\"],\"cardFitToContent\":[4,\"card-fit-to-content\"],\"cardShowBorder\":[4,\"card-show-border\"],\"getNumberOfSlot\":[64]}],[1,\"bn-chart-structure\",{\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"limit\":[2],\"showCategories\":[1,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[1,\"show-measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"stack\":[1],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"limit\":[{\"validateLimit\":0}],\"showCategories\":[{\"validateShowCategories\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}]}],[1,\"bn-chart-time\",{\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"syncSpaceLeft\":[2,\"sync-space-left\"],\"limit\":[2],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"dateInterval\":[1,\"date-interval\"],\"chartMode\":[1,\"chart-mode\"],\"maxBars\":[2,\"max-bars\"],\"stack\":[1],\"scale\":[1],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"axisLabelsMode\":[1,\"axis-labels-mode\"],\"lineFullWidth\":[1,\"line-full-width\"],\"showCategories\":[1,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[1,\"show-measure-scale\"],\"showOverlayAvg\":[1,\"show-overlay-avg\"],\"showOverlayMedian\":[1,\"show-overlay-median\"],\"measureUnit\":[1,\"measure-unit\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"syncSpaceLeft\":[{\"validateLeftSync\":0}],\"limit\":[{\"validateLimit\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"dateInterval\":[{\"validateDateInterval\":0}],\"chartMode\":[{\"validateChartMode\":0}],\"maxBars\":[{\"validateMaxBars\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}],\"axisLabelsMode\":[{\"validateAxisLabelsMode\":0}],\"lineFullWidth\":[{\"validateLineFullWidth\":0}],\"showCategories\":[{\"validateShowCategories\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"showOverlayAvg\":[{\"validateShowOverlayAvg\":0}],\"showOverlayMedian\":[{\"validateShowOverlayMedian\":0}]}],[1,\"bn-table\",{\"scale\":[1],\"tableTitle\":[1,\"table-title\"],\"filter\":[1],\"measureUnit\":[1,\"measure-unit\"],\"scenarios\":[1],\"variances\":[1],\"barColumns\":[1,\"bar-columns\"],\"barColumnWidth\":[1,\"bar-column-width\"],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"dataFormat\":[1,\"data-format\"],\"grouped\":[1],\"showMeasureScale\":[1,\"show-measure-scale\"],\"showGroupTitle\":[1,\"show-group-title\"],\"type\":[1],\"limit\":[2],\"thereof\":[1],\"partof\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"measureType\":[1,\"measure-type\"],\"measureScale\":[1,\"measure-scale\"],\"dataFormatDigitsDecimal\":[2,\"data-format-digits-decimal\"],\"dataFormatDigitsPercent\":[2,\"data-format-digits-percent\"],\"categoryWidth\":[1,\"category-width\"],\"columnthereof\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scale\":[{\"validateScaling\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"barColumns\":[{\"validateBarColumns\":0}],\"barColumnWidth\":[{\"validateBarColumnWidth\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"dataFormat\":[{\"validateDataFormat\":0}],\"grouped\":[{\"validateGrouped\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"showGroupTitle\":[{\"validateShowGroupTitle\":0}],\"type\":[{\"validateType\":0}],\"limit\":[{\"validateLimit\":0}],\"thereof\":[{\"validateThereOf\":0}],\"partof\":[{\"validatePartOf\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"measureType\":[{\"validateMeasureType\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"dataFormatDigitsDecimal\":[{\"validateDataFormatDigitsDecimal\":0}],\"dataFormatDigitsPercent\":[{\"validateDateFormatDigitsPercent\":0}],\"categoryWidth\":[{\"validateCategoryWidth\":0}],\"columnthereof\":[{\"validateColumnThereOf\":0}]}],[1,\"bn-asset\",{\"name\":[1]}],[0,\"bn-component-style\",{\"name\":[1]}],[257,\"bn-context\",{\"locale\":[1]},null,{\"locale\":[{\"setLocale\":0}]}],[0,\"bn-dataset\",{\"name\":[1],\"datasources\":[1],\"static\":[4],\"raw\":[4],\"interval\":[2]},null,{\"name\":[{\"nameUpdated\":0}],\"interval\":[{\"onIntervalChange\":0}]}],[0,\"bn-datasource\",{\"name\":[1],\"raw\":[4],\"interval\":[2]},null,{\"interval\":[{\"onIntervalChange\":0}]}],[0,\"bn-scaling-group\",{\"name\":[1],\"value\":[2]},null,{\"name\":[{\"onNameChange\":0}],\"value\":[{\"onValueChange\":0}]}],[257,\"bn-card\"],[1,\"bn-message\",{\"text\":[1025],\"image\":[1]}],[257,\"bn-page\",{\"format\":[1],\"orientation\":[1]},null,{\"format\":[{\"validateFormat\":0}],\"orientation\":[{\"validateOrientation\":0}]}],[1,\"ibcs-chart-structure\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideCategories\":[4,\"hide-categories\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"limit\":[2],\"styles\":[1040],\"i18n\":[1040],\"order\":[16],\"level\":[1],\"filter\":[1],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"dataFormatDigits\":[16],\"stackConfig\":[16],\"parentDimensions\":[16]}],[1,\"ibcs-chart-time\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideAxisLabels\":[4,\"hide-axis-labels\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"limit\":[2],\"leftSideOffsetForHorizontalSync\":[2,\"left-side-offset-for-horizontal-sync\"],\"styles\":[1040],\"i18n\":[1040],\"order\":[16],\"level\":[1],\"dateInterval\":[1,\"date-interval\"],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"axisLabelsMode\":[1,\"axis-labels-mode\"],\"filter\":[1],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"showOverlayMedian\":[4,\"show-overlay-median\"],\"showOverlayAvg\":[4,\"show-overlay-avg\"],\"chartMode\":[1,\"chart-mode\"],\"maxBars\":[2,\"max-bars\"],\"stackConfig\":[16],\"lineFullWidth\":[4,\"line-full-width\"],\"containerWidth\":[2,\"container-width\"],\"dataFormatDigits\":[16],\"parentDimensions\":[16]}],[1,\"ibcs-table\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"tableTitle\":[1,\"table-title\"],\"scenarios\":[16],\"scenariosDataFormat\":[1,\"scenarios-data-format\"],\"grouped\":[4],\"limit\":[2],\"showGroupTitle\":[4,\"show-group-title\"],\"thereof\":[16],\"partof\":[16],\"order\":[16],\"categorythereof\":[16],\"type\":[1],\"categoryWidth\":[1,\"category-width\"],\"dataFormatDigits\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"measureType\":[1,\"measure-type\"],\"filter\":[1],\"barColumns\":[16],\"barColumnMaxWidth\":[2,\"bar-column-max-width\"],\"unitScaling\":[2,\"unit-scaling\"],\"percentageScaling\":[2,\"percentage-scaling\"],\"scaleFactor\":[2,\"scale-factor\"]}],[1,\"bn-title\",{\"businessUnit\":[1,\"business-unit\"],\"scenarios\":[1],\"variances\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"measures\":[1],\"dateStart\":[1,\"date-start\"],\"dateEnd\":[1,\"date-end\"],\"dateFormat\":[1,\"date-format\"],\"dateLink\":[1,\"date-link\"]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"order\":[{\"validateOrder\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"measures\":[{\"validateMeasures\":0}],\"dateStart\":[{\"validateDateStart\":0}],\"dateEnd\":[{\"validateDateEnd\":0}],\"dateFormat\":[{\"validateDateFormat\":0}],\"dateLink\":[{\"validateDateLink\":0}]}],[257,\"bn-body\"],[1,\"bn-footer\",{\"pageNumber\":[1026,\"page-number\"],\"text\":[1025],\"code\":[1025],\"displayPageNumber\":[4,\"display-page-number\"]}],[1,\"ibcs-title\",{\"businessUnit\":[1537,\"business-unit\"],\"scenarios\":[16],\"measures\":[16],\"timeperiod\":[16],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"order\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"setBusinessUnit\":[64],\"setProps\":[64]}]]]]"), options);
|
|
8
|
+
return bootstrapLazy(JSON.parse("[[\"bn-grid\",[[257,\"bn-grid\",{\"chartTitle\":[1,\"chart-title\"],\"rowHeaders\":[1,\"row-headers\"],\"columnHeaders\":[1,\"column-headers\"],\"showRowHeaders\":[1,\"show-row-headers\"],\"showColumnHeaders\":[1,\"show-column-headers\"],\"showBorders\":[1,\"show-borders\"],\"rowHeaderWidth\":[1,\"row-header-width\"],\"cellGap\":[1,\"cell-gap\"],\"gridConfig\":[32]},null,{\"rowHeaders\":[{\"validateRowHeaders\":0}],\"columnHeaders\":[{\"validateColumnHeaders\":0}],\"showRowHeaders\":[{\"validateShowRowHeaders\":0}],\"showColumnHeaders\":[{\"validateShowColumnHeaders\":0}],\"showBorders\":[{\"validateShowBorders\":0}]}]]],[\"bn-image\",[[1,\"bn-image\",{\"source\":[1]}]]],[\"bn-internationalization\",[[0,\"bn-internationalization\",{\"code\":[1],\"namespace\":[1]}]]],[\"bn-template\",[[257,\"bn-template\",{\"templateId\":[1,\"template-id\"]}]]],[\"bn-text\",[[1,\"bn-text\",{\"value\":[1],\"scale\":[1],\"data\":[32]},null,{\"value\":[{\"validateValue\":0}],\"scale\":[{\"validateScaling\":0}]}]]],[\"bn-tree\",[[257,\"bn-tree\",{\"edges\":[1],\"direction\":[1],\"levelSpacing\":[2,\"level-spacing\"],\"nodeSpacing\":[2,\"node-spacing\"],\"edgeStyle\":[1,\"edge-style\"],\"showOperators\":[1,\"show-operators\"],\"treeConfig\":[32],\"layout\":[32],\"nodeRects\":[32],\"svgWidth\":[32],\"svgHeight\":[32]},null,{\"edges\":[{\"validateEdgesProp\":0}],\"direction\":[{\"validateDirection\":0}],\"levelSpacing\":[{\"validateLevelSpacing\":0}],\"nodeSpacing\":[{\"validateNodeSpacing\":0}],\"edgeStyle\":[{\"validateEdgeStyle\":0}],\"showOperators\":[{\"validateShowOperators\":0}]}]]],[\"editor-companion\",[[0,\"editor-companion\",{\"internationalizationKeys\":[64],\"getDistinctFromDataSource\":[64],\"getDistinctFromDataset\":[64]}]]],[\"bn-asset_21\",[[257,\"bn-layout-page\",{\"styles\":[1],\"messageText\":[1,\"message-text\"],\"messageImage\":[1,\"message-image\"],\"titleBusinessUnit\":[1,\"title-business-unit\"],\"titleScenarios\":[1,\"title-scenarios\"],\"titleVariances\":[1,\"title-variances\"],\"titleOrder\":[1,\"title-order\"],\"titleOrderDirection\":[1,\"title-order-direction\"],\"titleMeasures\":[1,\"title-measures\"],\"titleDateStart\":[1,\"title-date-start\"],\"titleDateEnd\":[1,\"title-date-end\"],\"titleDateFormat\":[1,\"title-date-format\"],\"titleDateLink\":[1,\"title-date-link\"],\"titleNamespace\":[1,\"title-namespace\"],\"pageFormat\":[1,\"page-format\"],\"pageOrientation\":[1,\"page-orientation\"],\"pageNumber\":[1,\"page-number\"],\"footerText\":[1,\"footer-text\"],\"footerDisplayPageNumber\":[4,\"footer-display-page-number\"],\"pageLayout\":[1,\"page-layout\"],\"pageCustomTemplate\":[1,\"page-custom-template\"],\"pageGridGap\":[1,\"page-grid-gap\"],\"pageFitToContent\":[4,\"page-fit-to-content\"],\"getNumberOfSlot\":[64]}],[257,\"bn-layout-card\",{\"styles\":[1],\"titleImage\":[1,\"title-image\"],\"titleBusinessUnit\":[1,\"title-business-unit\"],\"titleScenarios\":[1,\"title-scenarios\"],\"titleVariances\":[1,\"title-variances\"],\"titleOrder\":[1,\"title-order\"],\"titleOrderDirection\":[1,\"title-order-direction\"],\"titleMeasures\":[1,\"title-measures\"],\"titleDateStart\":[1,\"title-date-start\"],\"titleDateEnd\":[1,\"title-date-end\"],\"titleDateFormat\":[1,\"title-date-format\"],\"titleDateLink\":[1,\"title-date-link\"],\"titleNamespace\":[1,\"title-namespace\"],\"footerText\":[1,\"footer-text\"],\"cardLayout\":[1,\"card-layout\"],\"cardCustomTemplate\":[1,\"card-custom-template\"],\"cardGridGap\":[1,\"card-grid-gap\"],\"cardFitToContent\":[4,\"card-fit-to-content\"],\"cardShowBorder\":[4,\"card-show-border\"],\"getNumberOfSlot\":[64]}],[1,\"bn-chart-structure\",{\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"limit\":[2],\"showCategories\":[1,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[1,\"show-measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"stack\":[1],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"limit\":[{\"validateLimit\":0}],\"showCategories\":[{\"validateShowCategories\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}]}],[1,\"bn-chart-time\",{\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"scenarios\":[1],\"variances\":[1],\"syncSpaceLeft\":[2,\"sync-space-left\"],\"limit\":[2],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"dateInterval\":[1,\"date-interval\"],\"chartMode\":[1,\"chart-mode\"],\"maxBars\":[2,\"max-bars\"],\"stack\":[1],\"scale\":[1],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"axisLabelsMode\":[1,\"axis-labels-mode\"],\"lineFullWidth\":[1,\"line-full-width\"],\"showCategories\":[1,\"show-categories\"],\"measureScale\":[1,\"measure-scale\"],\"showMeasureScale\":[1,\"show-measure-scale\"],\"showOverlayAvg\":[1,\"show-overlay-avg\"],\"showOverlayMedian\":[1,\"show-overlay-median\"],\"measureUnit\":[1,\"measure-unit\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"syncSpaceLeft\":[{\"validateLeftSync\":0}],\"limit\":[{\"validateLimit\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"dateInterval\":[{\"validateDateInterval\":0}],\"chartMode\":[{\"validateChartMode\":0}],\"maxBars\":[{\"validateMaxBars\":0}],\"stack\":[{\"validateStack\":0}],\"scale\":[{\"validateScaling\":0}],\"axisLabelsMode\":[{\"validateAxisLabelsMode\":0}],\"lineFullWidth\":[{\"validateLineFullWidth\":0}],\"showCategories\":[{\"validateShowCategories\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"showOverlayAvg\":[{\"validateShowOverlayAvg\":0}],\"showOverlayMedian\":[{\"validateShowOverlayMedian\":0}]}],[1,\"bn-table\",{\"scale\":[1],\"tableTitle\":[1,\"table-title\"],\"filter\":[1],\"measureUnit\":[1,\"measure-unit\"],\"scenarios\":[1],\"variances\":[1],\"barColumns\":[1,\"bar-columns\"],\"barColumnWidth\":[1,\"bar-column-width\"],\"unitScaling\":[8,\"unit-scaling\"],\"percentageScaling\":[8,\"percentage-scaling\"],\"dataFormat\":[1,\"data-format\"],\"grouped\":[1],\"showMeasureScale\":[1,\"show-measure-scale\"],\"showGroupTitle\":[1,\"show-group-title\"],\"type\":[1],\"limit\":[2],\"thereof\":[1],\"partof\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"measureType\":[1,\"measure-type\"],\"measureScale\":[1,\"measure-scale\"],\"dataFormatDigitsDecimal\":[2,\"data-format-digits-decimal\"],\"dataFormatDigitsPercent\":[2,\"data-format-digits-percent\"],\"categoryWidth\":[1,\"category-width\"],\"columnthereof\":[1],\"tableAttributes\":[1,\"attributes\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"scale\":[{\"validateScaling\":0}],\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"barColumns\":[{\"validateBarColumns\":0}],\"barColumnWidth\":[{\"validateBarColumnWidth\":0}],\"unitScaling\":[{\"validateUnitScaling\":0}],\"percentageScaling\":[{\"validatePercentageScaling\":0}],\"dataFormat\":[{\"validateDataFormat\":0}],\"grouped\":[{\"validateGrouped\":0}],\"showMeasureScale\":[{\"validateShowMeasureScale\":0}],\"showGroupTitle\":[{\"validateShowGroupTitle\":0}],\"type\":[{\"validateType\":0}],\"limit\":[{\"validateLimit\":0}],\"thereof\":[{\"validateThereOf\":0}],\"partof\":[{\"validatePartOf\":0}],\"order\":[{\"validateOrderList\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"measureType\":[{\"validateMeasureType\":0}],\"measureScale\":[{\"validateMeasureScale\":0}],\"dataFormatDigitsDecimal\":[{\"validateDataFormatDigitsDecimal\":0}],\"dataFormatDigitsPercent\":[{\"validateDateFormatDigitsPercent\":0}],\"categoryWidth\":[{\"validateCategoryWidth\":0}],\"columnthereof\":[{\"validateColumnThereOf\":0}],\"tableAttributes\":[{\"validateTableAttributes\":0}]}],[1,\"bn-asset\",{\"name\":[1]}],[0,\"bn-component-style\",{\"name\":[1]}],[257,\"bn-context\",{\"locale\":[1]},null,{\"locale\":[{\"setLocale\":0}]}],[0,\"bn-dataset\",{\"name\":[1],\"datasources\":[1],\"static\":[4],\"raw\":[4],\"interval\":[2]},null,{\"name\":[{\"nameUpdated\":0}],\"interval\":[{\"onIntervalChange\":0}]}],[0,\"bn-datasource\",{\"name\":[1],\"raw\":[4],\"interval\":[2]},null,{\"interval\":[{\"onIntervalChange\":0}]}],[0,\"bn-scaling-group\",{\"name\":[1],\"value\":[2]},null,{\"name\":[{\"onNameChange\":0}],\"value\":[{\"onValueChange\":0}]}],[257,\"bn-card\"],[1,\"bn-message\",{\"text\":[1025],\"image\":[1]}],[257,\"bn-page\",{\"format\":[1],\"orientation\":[1]},null,{\"format\":[{\"validateFormat\":0}],\"orientation\":[{\"validateOrientation\":0}]}],[1,\"ibcs-chart-structure\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideCategories\":[4,\"hide-categories\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"limit\":[2],\"styles\":[1040],\"i18n\":[1040],\"order\":[16],\"level\":[1],\"filter\":[1],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"dataFormatDigits\":[16],\"stackConfig\":[16],\"parentDimensions\":[16]}],[1,\"ibcs-chart-time\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"scenarios\":[16],\"variances\":[16],\"hideAxisLabels\":[4,\"hide-axis-labels\"],\"pixelPerUnit\":[2,\"pixel-per-unit\"],\"pixelPerPercentage\":[2,\"pixel-per-percentage\"],\"limit\":[2],\"leftSideOffsetForHorizontalSync\":[2,\"left-side-offset-for-horizontal-sync\"],\"styles\":[1040],\"i18n\":[1040],\"order\":[16],\"level\":[1],\"dateInterval\":[1,\"date-interval\"],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"axisLabelsMode\":[1,\"axis-labels-mode\"],\"filter\":[1],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"showOverlayMedian\":[4,\"show-overlay-median\"],\"showOverlayAvg\":[4,\"show-overlay-avg\"],\"chartMode\":[1,\"chart-mode\"],\"maxBars\":[2,\"max-bars\"],\"stackConfig\":[16],\"lineFullWidth\":[4,\"line-full-width\"],\"containerWidth\":[2,\"container-width\"],\"dataFormatDigits\":[16],\"parentDimensions\":[16]}],[1,\"ibcs-table\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"tableTitle\":[1,\"table-title\"],\"scenarios\":[16],\"scenariosDataFormat\":[1,\"scenarios-data-format\"],\"grouped\":[4],\"limit\":[2],\"showGroupTitle\":[4,\"show-group-title\"],\"thereof\":[16],\"partof\":[16],\"order\":[16],\"categorythereof\":[16],\"attributeColumns\":[16],\"type\":[1],\"categoryWidth\":[1,\"category-width\"],\"dataFormatDigits\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"measureScale\":[1,\"measure-scale\"],\"measureUnit\":[1,\"measure-unit\"],\"showMeasureScale\":[4,\"show-measure-scale\"],\"measureType\":[1,\"measure-type\"],\"filter\":[1],\"barColumns\":[16],\"barColumnMaxWidth\":[2,\"bar-column-max-width\"],\"unitScaling\":[2,\"unit-scaling\"],\"percentageScaling\":[2,\"percentage-scaling\"],\"scaleFactor\":[2,\"scale-factor\"]}],[1,\"bn-title\",{\"businessUnit\":[1,\"business-unit\"],\"scenarios\":[1],\"variances\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"measures\":[1],\"dateStart\":[1,\"date-start\"],\"dateEnd\":[1,\"date-end\"],\"dateFormat\":[1,\"date-format\"],\"dateLink\":[1,\"date-link\"]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"order\":[{\"validateOrder\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"measures\":[{\"validateMeasures\":0}],\"dateStart\":[{\"validateDateStart\":0}],\"dateEnd\":[{\"validateDateEnd\":0}],\"dateFormat\":[{\"validateDateFormat\":0}],\"dateLink\":[{\"validateDateLink\":0}]}],[257,\"bn-body\"],[1,\"bn-footer\",{\"pageNumber\":[1026,\"page-number\"],\"text\":[1025],\"code\":[1025],\"displayPageNumber\":[4,\"display-page-number\"]}],[1,\"ibcs-title\",{\"businessUnit\":[1537,\"business-unit\"],\"scenarios\":[16],\"measures\":[16],\"timeperiod\":[16],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"order\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"setBusinessUnit\":[64],\"setProps\":[64]}]]]]"), options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { defineCustomElements };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getStores, c as clearStoresCache } from './context-protocol-
|
|
1
|
+
import { g as getStores, c as clearStoresCache } from './context-protocol-BB-4Onmw.js';
|
|
2
2
|
import { r as runIfExisits } from './withHasError-DW_vMDUp.js';
|
|
3
3
|
import { g as getElement, f as forceUpdate } from './index-B_d-jp99.js';
|
|
4
4
|
|
|
@@ -260,51 +260,92 @@ function findLayoutParent(element) {
|
|
|
260
260
|
return lightParent;
|
|
261
261
|
}
|
|
262
262
|
/**
|
|
263
|
-
* Returns the visual parent, crossing shadow DOM boundaries
|
|
263
|
+
* Returns the visual parent, crossing shadow DOM boundaries in both
|
|
264
|
+
* directions: via assignedSlot for slotted elements (light → shadow) and
|
|
265
|
+
* via the shadow host when the element is a top-level child of a shadow
|
|
266
|
+
* root (shadow → host). Without the host crossing, the ancestor walk dies
|
|
267
|
+
* at the top of a component's shadow tree (e.g. inside bn-layout-card)
|
|
268
|
+
* and never sees outer constraints.
|
|
264
269
|
*/
|
|
265
270
|
function getVisualParent(element) {
|
|
266
271
|
var _a;
|
|
267
272
|
if ((_a = element.assignedSlot) === null || _a === void 0 ? void 0 : _a.parentElement) {
|
|
268
273
|
return element.assignedSlot.parentElement;
|
|
269
274
|
}
|
|
270
|
-
|
|
275
|
+
if (element.parentElement) {
|
|
276
|
+
return element.parentElement;
|
|
277
|
+
}
|
|
278
|
+
const root = element.getRootNode();
|
|
279
|
+
return root instanceof ShadowRoot ? root.host : null;
|
|
271
280
|
}
|
|
272
281
|
/**
|
|
273
282
|
* Walks up the ancestor chain to find a height that is actually constrained
|
|
274
283
|
* (not just "whatever my content needs"). Crosses shadow DOM boundaries
|
|
275
284
|
* via assignedSlot when encountering slotted elements. Returns viewport
|
|
276
285
|
* height as a last resort.
|
|
286
|
+
*
|
|
287
|
+
* Ancestors inside a fit-content layout region (marked with
|
|
288
|
+
* `data-bn-fit-content` by bn-layout-page / bn-layout-card) are skipped
|
|
289
|
+
* even when they clip overflow: their height is derived from their own
|
|
290
|
+
* content — including the measuring component itself — so using it for
|
|
291
|
+
* auto-scaling creates a feedback loop where the chart inflates the cell
|
|
292
|
+
* and then reads the inflated cell back as "available height". The marker
|
|
293
|
+
* value carries the grid's row count; the constraint found above the
|
|
294
|
+
* fit-content region is divided by it, approximating the equal-share cell
|
|
295
|
+
* height the same layout would produce with fit-to-content disabled.
|
|
277
296
|
*/
|
|
278
297
|
function findConstrainedHeight(element, debug = false) {
|
|
279
298
|
let current = findLayoutParent(element);
|
|
280
299
|
let depth = 0;
|
|
300
|
+
let candidate = null;
|
|
301
|
+
let rowShareDivisor = 1;
|
|
281
302
|
while (current) {
|
|
303
|
+
// A fit-content region sizes itself from its content — every height
|
|
304
|
+
// measured below this point is circular. Discard inner candidates and
|
|
305
|
+
// keep walking for a content-independent constraint further up.
|
|
306
|
+
if (current.hasAttribute("data-bn-fit-content")) {
|
|
307
|
+
if (debug)
|
|
308
|
+
console.log(`[height:${depth}]`, current.tagName, "fit-content region → discarding inner candidate");
|
|
309
|
+
candidate = null;
|
|
310
|
+
const rows = parseInt(current.getAttribute("data-bn-fit-content"), 10);
|
|
311
|
+
if (!isNaN(rows) && rows > 1) {
|
|
312
|
+
rowShareDivisor *= rows;
|
|
313
|
+
}
|
|
314
|
+
current = getVisualParent(current);
|
|
315
|
+
depth++;
|
|
316
|
+
continue;
|
|
317
|
+
}
|
|
282
318
|
const style = getComputedStyle(current);
|
|
283
319
|
const overflow = style.overflowY;
|
|
284
320
|
if (debug) {
|
|
285
321
|
console.log(`[height:${depth}]`, current.tagName, current.className || "(no class)", `overflow=${overflow} clientH=${current.clientHeight} h=${style.height}`);
|
|
286
322
|
}
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
323
|
+
if (candidate === null) {
|
|
324
|
+
// An ancestor that clips / scrolls its content has a meaningful height
|
|
325
|
+
if (overflow === "hidden" || overflow === "scroll" || overflow === "auto") {
|
|
326
|
+
candidate = current.clientHeight - parseFloat(style.paddingTop) - parseFloat(style.paddingBottom);
|
|
327
|
+
if (debug)
|
|
328
|
+
console.log(`[height] candidate at depth ${depth}: ${Math.round(candidate)}px`);
|
|
329
|
+
}
|
|
330
|
+
else if (style.maxHeight !== "none") {
|
|
331
|
+
// An explicit max-height constrains the available space
|
|
332
|
+
const mh = parseFloat(style.maxHeight);
|
|
333
|
+
if (!isNaN(mh) && mh > 0) {
|
|
334
|
+
candidate = Math.min(mh, current.clientHeight - parseFloat(style.paddingTop) - parseFloat(style.paddingBottom));
|
|
335
|
+
}
|
|
299
336
|
}
|
|
300
337
|
}
|
|
301
338
|
current = getVisualParent(current);
|
|
302
339
|
depth++;
|
|
303
340
|
}
|
|
341
|
+
if (candidate !== null) {
|
|
342
|
+
return candidate / rowShareDivisor;
|
|
343
|
+
}
|
|
304
344
|
if (debug)
|
|
305
345
|
console.log("[height] NO constrained ancestor → viewport fallback");
|
|
306
|
-
// No constrained ancestor found — use viewport
|
|
307
|
-
|
|
346
|
+
// No constrained ancestor found — use viewport, applying the same
|
|
347
|
+
// equal-share division a marked fit-content region demands
|
|
348
|
+
return typeof window !== "undefined" ? window.innerHeight / rowShareDivisor : 0;
|
|
308
349
|
}
|
|
309
350
|
|
|
310
351
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as getElement, f as forceUpdate } from './index-B_d-jp99.js';
|
|
2
|
-
import { g as getStores, c as clearStoresCache, D as DateTime } from './context-protocol-
|
|
2
|
+
import { g as getStores, c as clearStoresCache, D as DateTime } from './context-protocol-BB-4Onmw.js';
|
|
3
3
|
import { r as runIfExisits } from './withHasError-DW_vMDUp.js';
|
|
4
4
|
|
|
5
5
|
const isObject = (obj) => {
|
|
@@ -310,6 +310,53 @@ var StackOrder;
|
|
|
310
310
|
StackOrder["DATASET"] = "dataset";
|
|
311
311
|
})(StackOrder || (StackOrder = {}));
|
|
312
312
|
|
|
313
|
+
const EXPRESSION_REGEX = /^\s*(set|first|last|min|max|avg|sum|lit)\(\s*(.*?)\s*\)\s*$/;
|
|
314
|
+
/** Field arguments must be plain identifiers — keeps user input out of SQL syntax. */
|
|
315
|
+
const FIELD_IDENTIFIER_REGEX = /^[A-Za-z_][A-Za-z0-9_]*$/;
|
|
316
|
+
const NUMERIC_FNS = ["min", "max", "avg", "sum"];
|
|
317
|
+
/**
|
|
318
|
+
* A custom table column computed from dataset fields via an aggregate expression,
|
|
319
|
+
* e.g. `set(_leiter)` or `sum(ac1)` (see the `attributes` prop on bn-table).
|
|
320
|
+
*
|
|
321
|
+
* The {@link label} is the user-facing header text and never enters SQL; queries
|
|
322
|
+
* use the positional {@link alias} (`attr_0`, `attr_1`, ...) instead.
|
|
323
|
+
*/
|
|
324
|
+
class TableAttribute {
|
|
325
|
+
constructor(label, alias, fn, arg) {
|
|
326
|
+
this.label = label;
|
|
327
|
+
this.alias = alias;
|
|
328
|
+
this.fn = fn;
|
|
329
|
+
this.arg = arg;
|
|
330
|
+
}
|
|
331
|
+
/** Numeric aggregates are formatted like scenario cells (measure scale + decimals). */
|
|
332
|
+
get isNumeric() {
|
|
333
|
+
return NUMERIC_FNS.includes(this.fn);
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
/** Checks a single attribute expression string like "set(_leiter)" or "lit(Fix)". */
|
|
337
|
+
function isValidAttributeExpression(expression) {
|
|
338
|
+
if (typeof expression !== "string") {
|
|
339
|
+
return false;
|
|
340
|
+
}
|
|
341
|
+
const match = EXPRESSION_REGEX.exec(expression);
|
|
342
|
+
if (!match) {
|
|
343
|
+
return false;
|
|
344
|
+
}
|
|
345
|
+
const [, fn, arg] = match;
|
|
346
|
+
if (fn === "lit") {
|
|
347
|
+
return arg.length > 0;
|
|
348
|
+
}
|
|
349
|
+
return FIELD_IDENTIFIER_REGEX.test(arg);
|
|
350
|
+
}
|
|
351
|
+
/** Parses an attribute expression into a {@link TableAttribute}; null when invalid. */
|
|
352
|
+
function parseTableAttributeExpression(label, alias, expression) {
|
|
353
|
+
if (!isValidAttributeExpression(expression)) {
|
|
354
|
+
return null;
|
|
355
|
+
}
|
|
356
|
+
const [, fn, arg] = EXPRESSION_REGEX.exec(expression);
|
|
357
|
+
return new TableAttribute(label, alias, fn, arg);
|
|
358
|
+
}
|
|
359
|
+
|
|
313
360
|
/** Granularity levels for date intervals, from YEAR down to MILLISECOND. AUTO triggers auto-detection. */
|
|
314
361
|
var DateDistance;
|
|
315
362
|
(function (DateDistance) {
|
|
@@ -1032,6 +1079,28 @@ function validateThereOfJsonStr(value) {
|
|
|
1032
1079
|
}
|
|
1033
1080
|
return ["Invalid JSON structure"];
|
|
1034
1081
|
}
|
|
1082
|
+
/**
|
|
1083
|
+
* Validates the bn-table `attributes` prop: a JSON object mapping column labels
|
|
1084
|
+
* to aggregate expressions like `set(_leiter)` or `sum(ac1)`.
|
|
1085
|
+
* Returns the offending `label: expression` entries; empty array means valid.
|
|
1086
|
+
*/
|
|
1087
|
+
function validateAttributesJsonStr(value) {
|
|
1088
|
+
if (isBlankInput(value)) {
|
|
1089
|
+
return [];
|
|
1090
|
+
}
|
|
1091
|
+
try {
|
|
1092
|
+
const jsonObject = JSON.parse(value);
|
|
1093
|
+
if (jsonObject !== null && typeof jsonObject === "object" && !(jsonObject instanceof Array)) {
|
|
1094
|
+
return Object.entries(jsonObject)
|
|
1095
|
+
.filter(([, expression]) => typeof expression !== "string" || !isValidAttributeExpression(expression))
|
|
1096
|
+
.map(([label, expression]) => `${label}: ${expression}`);
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
catch (err) {
|
|
1100
|
+
console.error("validateAttributesJsonStr: failed to parse JSON", err);
|
|
1101
|
+
}
|
|
1102
|
+
return ["Invalid JSON structure"];
|
|
1103
|
+
}
|
|
1035
1104
|
function validatePartOfJsonStr(value) {
|
|
1036
1105
|
if (isBlankInput(value)) {
|
|
1037
1106
|
return [];
|
|
@@ -1369,4 +1438,4 @@ const withStyled = (component) => {
|
|
|
1369
1438
|
};
|
|
1370
1439
|
};
|
|
1371
1440
|
|
|
1372
|
-
export { AggregationLevel as A, isTableCategoryWidth as B, ChartMode as C, DateDistance as D, validateColumnThereOfJsonStr as E,
|
|
1441
|
+
export { AggregationLevel as A, isTableCategoryWidth as B, ChartMode as C, DateDistance as D, validateColumnThereOfJsonStr as E, validateAttributesJsonStr as F, DataFormat as G, parseTableAttributeExpression as H, I18nMode as I, BAR_COLUMN_WIDTH_EM as J, TableBarColumnWidth as K, validateMeasureList as L, MeasureType as M, isValidDate as N, OrderDirection as O, isValidDateLink as P, DateLink as Q, AdapterUtils as R, StackBy as S, TableCategoryWidth as T, CompareUtil as U, OrderAdapter as V, DateStringFactory as W, withComponentStyle as a, isValidNumber as b, validateVariancesList as c, isValidLevel as d, validateOrderList as e, isValidDirection as f, isValidInteger as g, isValidMeasureScale as h, isValidBoolean as i, validateStackConfig as j, isBlankInput as k, OrderColumn as l, StackOrder as m, StackMode as n, isValidDateFormat as o, isValidAxisLabelsMode as p, AxisLabelsMode as q, murmur2 as r, isTableBarColumnWidth as s, isValidDataFormat as t, isValidTableType as u, validateScenarioList as v, withStyled as w, validateThereOfJsonStr as x, validatePartOfJsonStr as y, isValidMeasureType as z };
|
|
@@ -49,6 +49,7 @@ export declare class StructureChart {
|
|
|
49
49
|
private measureUnit;
|
|
50
50
|
private dataFormatDigits;
|
|
51
51
|
private stackConfig;
|
|
52
|
+
private scenarioPropOrder;
|
|
52
53
|
private overflowConfig;
|
|
53
54
|
private highestStackedTotal;
|
|
54
55
|
private db;
|
|
@@ -60,6 +61,7 @@ export declare class StructureChart {
|
|
|
60
61
|
private createElementPosition;
|
|
61
62
|
setStyles(newStyle: StructureChartStyle): void;
|
|
62
63
|
setConfig(config: StructureChartComponentConfig): void;
|
|
64
|
+
/** Returns a new array; the input keeps the `scenarios` prop order (the config is reused across rebuilds). */
|
|
63
65
|
private sortScenariosbyVisualisationRules;
|
|
64
66
|
/**
|
|
65
67
|
* Init load of translation dictionary map
|
|
@@ -116,6 +118,8 @@ export declare class StructureChart {
|
|
|
116
118
|
private drawAxisAndLabels;
|
|
117
119
|
private drawScenarios;
|
|
118
120
|
private drawVarianceScenario;
|
|
121
|
+
/** Restore the original `scenarios` prop order for stacked segments (IBCS sort reorders the slots). */
|
|
122
|
+
private sortSegmentsByPropOrder;
|
|
119
123
|
/**
|
|
120
124
|
* Draw stacked horizontal bars. Supports stacking by scenario or by data dimension.
|
|
121
125
|
* When stacking by scenario with multiple scenario types (e.g. ac+pl),
|
|
@@ -27,13 +27,15 @@ export declare class ElementPositions {
|
|
|
27
27
|
private leftSideLengthSync;
|
|
28
28
|
private leftSideLabelLength;
|
|
29
29
|
private topSideLabelHeight;
|
|
30
|
-
|
|
30
|
+
private hasStackedHeaders;
|
|
31
|
+
constructor(padding: Padding, scaleFactors: ScaleFactorsStructureChart, fontSize: number, numberOfColumns: number, leftSideLengthSync: number, titleLength: number, leftSideWidth: number, categoryWidth: number, hasStackedHeaders?: boolean);
|
|
31
32
|
getBarPositionX(): number;
|
|
32
33
|
getBarCenterPositionY(index: number): number;
|
|
33
34
|
getBarPositionY(index: number, isPrimaryMarker: boolean): number;
|
|
34
35
|
getCategoryPositionX(isPositive: boolean): number;
|
|
35
36
|
getAxisTitlePositionX(): number;
|
|
36
37
|
getAxisTitlePositionY(): number;
|
|
38
|
+
getStackedHeaderPositionY(): number;
|
|
37
39
|
getNeedleWidth(): number;
|
|
38
40
|
getAxisPositionX(): number;
|
|
39
41
|
getAxisPositionY(): number;
|
|
@@ -56,5 +58,18 @@ export declare class ElementPositions {
|
|
|
56
58
|
private calculateAxisPosition;
|
|
57
59
|
private recalculatePositions;
|
|
58
60
|
private getAxisTitleOffset;
|
|
61
|
+
private getTopLabelOverhang;
|
|
62
|
+
/**
|
|
63
|
+
* How far the stacked-segment header row (anchored just above the first bar)
|
|
64
|
+
* reaches above the axis start. The title is moved up by this amount so the
|
|
65
|
+
* header row sits between title and bars without overlapping either.
|
|
66
|
+
*/
|
|
67
|
+
private getStackedHeaderOverhang;
|
|
68
|
+
/**
|
|
69
|
+
* How far the scenario labels above the first bar (secondary bar label) or
|
|
70
|
+
* above the first marker (primary marker label) reach above the axis start.
|
|
71
|
+
* The title is moved up by this amount so it does not overlap them.
|
|
72
|
+
*/
|
|
73
|
+
private getTopScenarioLabelOverhang;
|
|
59
74
|
private calculateSideLabelLength;
|
|
60
75
|
}
|
|
@@ -309,7 +309,20 @@ export declare class Chart {
|
|
|
309
309
|
private _lastObservedWidth;
|
|
310
310
|
componentDidRender(): void;
|
|
311
311
|
componentDidLoad(): void;
|
|
312
|
+
private _settleTimer;
|
|
313
|
+
/**
|
|
314
|
+
* The initial renders can measure mid-hydration, before ancestor CSS
|
|
315
|
+
* (fixed page height, overflow) is applied, so the height used for
|
|
316
|
+
* auto-fit may be a transient value — and the resize observer above
|
|
317
|
+
* deliberately ignores height changes. Re-measure on a short backoff
|
|
318
|
+
* schedule and re-render when the measurement no longer matches the
|
|
319
|
+
* height the last render actually used (_lastAppliedHeight, recorded
|
|
320
|
+
* in prepareDimension). The schedule is finite, so this cannot feed a
|
|
321
|
+
* render loop.
|
|
322
|
+
*/
|
|
323
|
+
private settleParentHeight;
|
|
312
324
|
disconnectedCallback(): void;
|
|
325
|
+
private _lastAppliedHeight;
|
|
313
326
|
prepareDimension(): ParentDimensions;
|
|
314
327
|
private prepareScenarios;
|
|
315
328
|
private prepareAvg;
|
|
@@ -62,6 +62,7 @@ export declare class TimeChart {
|
|
|
62
62
|
private chartMode;
|
|
63
63
|
private maxBars;
|
|
64
64
|
private stackConfig;
|
|
65
|
+
private scenarioPropOrder;
|
|
65
66
|
private lineFullWidth;
|
|
66
67
|
private availableWidth;
|
|
67
68
|
private overflowConfig;
|
|
@@ -74,6 +75,7 @@ export declare class TimeChart {
|
|
|
74
75
|
private calculateOverflowConfig;
|
|
75
76
|
setConfig(config: TimeChartComponentConfig): void;
|
|
76
77
|
getFooter(): string;
|
|
78
|
+
/** Returns a new array; the input keeps the `scenarios` prop order (the config is reused across rebuilds). */
|
|
77
79
|
private sortScenariosbyVisualisationRules;
|
|
78
80
|
/**
|
|
79
81
|
* Init load of translation dictionary map
|
|
@@ -130,6 +132,8 @@ export declare class TimeChart {
|
|
|
130
132
|
private isYearChange;
|
|
131
133
|
private drawYearSeparatorLine;
|
|
132
134
|
private drawVarianceScenario;
|
|
135
|
+
/** Restore the original `scenarios` prop order for stacked segments (IBCS sort reorders the slots). */
|
|
136
|
+
private sortSegmentsByPropOrder;
|
|
133
137
|
/**
|
|
134
138
|
* Draw stacked bar columns. Supports stacking by scenario or by data dimension.
|
|
135
139
|
* When stacking by scenario with multiple scenario types (e.g. ac+pl),
|