@bino-bi/bn-template-engine 1.0.0-next.21 → 1.0.0-next.23
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-28d5c266.entry.js → p-0a49cf00.entry.js} +1 -1
- package/dist/bn-template-engine/{p-b9e94127.entry.js → p-22b8d044.entry.js} +1 -1
- package/dist/bn-template-engine/{p-6c7f0076.entry.js → p-251bb53d.entry.js} +1 -1
- package/dist/bn-template-engine/p-2aed639e.entry.js +1 -0
- package/dist/bn-template-engine/{p-7e9dbc93.entry.js → p-4616b879.entry.js} +1 -1
- package/dist/bn-template-engine/{p-99477a27.entry.js → p-629edcca.entry.js} +1 -1
- package/dist/bn-template-engine/p-686d8e44.entry.js +1 -0
- package/dist/bn-template-engine/{p-a4ea9a79.entry.js → p-68aa61cc.entry.js} +1 -1
- package/dist/bn-template-engine/{p-DwYUTvvI.js → p-B5x8M8OC.js} +1 -1
- package/dist/bn-template-engine/{p-fFtEvsY-.js → p-BGrnfif3.js} +1 -1
- package/dist/bn-template-engine/{p-6lOdN-fB.js → p-BVfLus3u.js} +1 -1
- package/dist/bn-template-engine/{p-CJThzFZm.js → p-BcZ5GQZ8.js} +1 -1
- package/dist/bn-template-engine/{p-CYE0I1Mx.js → p-Bca5V28_.js} +1 -1
- package/dist/bn-template-engine/p-C5UYpZUU.js +2 -0
- package/dist/bn-template-engine/{p-BgIpdpfH.js → p-C7T4DAAW.js} +1 -1
- package/dist/bn-template-engine/p-CDo04UEU.js +1 -0
- package/dist/bn-template-engine/p-CTrNbSXN.js +1 -0
- package/dist/bn-template-engine/{p-C5uvAEKI.js → p-CbciPY-M.js} +1 -1
- package/dist/bn-template-engine/{p-BpWWgN6k.js → p-CuR4S456.js} +1 -1
- package/dist/bn-template-engine/p-DWtTjg0f.js +1 -0
- package/dist/bn-template-engine/{p-eEfqksk-.js → p-DdqXNsKP.js} +1 -1
- package/dist/bn-template-engine/{p-B4JfKvVT.js → p-DtLI_CzV.js} +1 -1
- package/dist/bn-template-engine/p-UtNHLX1j.js +1 -0
- package/dist/bn-template-engine/{p-ba912130.entry.js → p-aecb5de3.entry.js} +1 -1
- package/dist/bn-template-engine/{p-687032d5.entry.js → p-ba43d46e.entry.js} +1 -1
- package/dist/bn-template-engine/{p-6077155f.entry.js → p-c476e7bb.entry.js} +1 -1
- package/dist/bn-template-engine/{p-2d3ea756.entry.js → p-d7c670ec.entry.js} +1 -1
- package/dist/bn-template-engine/{p-a1380d7c.entry.js → p-e4a584a8.entry.js} +1 -1
- package/dist/bn-template-engine/{p-de29986f.entry.js → p-f12fb09b.entry.js} +1 -1
- package/dist/bn-template-engine/p-f9a721bb.entry.js +1 -0
- package/dist/cjs/{AxisConfig-D7CAyPLO.js → AxisConfig-DmP4U3JM.js} +1 -1
- package/dist/cjs/{LabelCollisionManager-DkdQ9Xdg.js → LabelCollisionManager-Cet3WPm0.js} +2 -2
- package/dist/cjs/{Order-IPfAP0q8.js → Order-DlKLywO_.js} +1 -1
- package/dist/cjs/{SVGStyle-BD8jApd4.js → SVGStyle-D78RaNnj.js} +2 -2
- package/dist/cjs/{SVGVariancesStyleGroup-BaWzR951.js → SVGVariancesStyleGroup-XvNAnYYA.js} +1 -1
- package/dist/cjs/{VarianceMeasure-BBWTgv2e.js → VarianceMeasure-BfZLlICl.js} +4 -4
- package/dist/cjs/{XYChartDataRow-BoR0CTfl.js → XYChartDataRow-B0NNOqxB.js} +4 -4
- package/dist/cjs/bn-asset_21.cjs.entry.js +1052 -314
- package/dist/cjs/bn-chart-bubble.cjs.entry.js +25 -15
- package/dist/cjs/bn-chart-bullet.cjs.entry.js +9 -9
- package/dist/cjs/bn-chart-scatter.cjs.entry.js +9 -9
- package/dist/cjs/bn-grid.cjs.entry.js +6 -6
- package/dist/cjs/bn-image.cjs.entry.js +6 -6
- package/dist/cjs/bn-internationalization.cjs.entry.js +4 -4
- package/dist/cjs/bn-ruleset.cjs.entry.js +4 -4
- package/dist/cjs/bn-template-engine.cjs.js +3 -3
- package/dist/cjs/bn-template.cjs.entry.js +2 -2
- package/dist/cjs/bn-text.cjs.entry.js +7 -7
- package/dist/cjs/bn-tree.cjs.entry.js +6 -6
- package/dist/cjs/{context-protocol-BBhT9B52.js → context-protocol-DeLmu5s2.js} +1 -1
- package/dist/cjs/editor-companion.cjs.entry.js +2 -2
- package/dist/cjs/ibcs-chart-bubble.cjs.entry.js +6 -6
- package/dist/cjs/ibcs-chart-bullet.cjs.entry.js +6 -6
- package/dist/cjs/ibcs-chart-scatter.cjs.entry.js +6 -6
- package/dist/cjs/{index-CDKG4xmO.js → index-C1Z9vO7z.js} +61 -19
- package/dist/cjs/{layoutObserver-DUYYkDMQ.js → layoutObserver-CrzQQGpv.js} +5 -5
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{scaling-BIJQ2NV1.js → scaling-JAU6IJnR.js} +85 -3
- package/dist/cjs/{withBodyObserver-BKUE_ypL.js → withBodyObserver-DJO98AJ-.js} +2 -2
- package/dist/cjs/{withHasError-Cl2gTQzA.js → withHasError-BdDmiOXM.js} +1 -1
- package/dist/cjs/{withScalingGroup-D5clRvRe.js → withScalingGroup-Bu5gatHT.js} +3 -3
- package/dist/cjs/{withStyled-Cm9dWQhu.js → withStyled-50UepUwV.js} +8 -8
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/bn-chart-bubble/bn-chart-bubble.js +15 -5
- package/dist/collection/components/bn-chart-structure/bn-chart-structure.css +6 -0
- package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +149 -57
- package/dist/collection/components/bn-chart-structure/ibcs-chart-structure.js +135 -28
- package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +30 -19
- package/dist/collection/components/bn-chart-time/bn-chart-time.js +186 -49
- package/dist/collection/components/bn-chart-time/ibcs-chart-time.css +9 -3
- package/dist/collection/components/bn-chart-time/ibcs-chart-time.js +141 -22
- package/dist/collection/components/bn-chart-time/utils/TimeChart.js +36 -0
- package/dist/collection/components/bn-scaling-group/bn-scaling-group.js +76 -19
- package/dist/collection/components/bn-table/bn-table.js +121 -49
- package/dist/collection/components/bn-table/ibcs-table.js +83 -42
- package/dist/collection/components/bn-table/utils/elements/CellBarChart.js +20 -34
- package/dist/collection/components/bn-table/utils/elements/WaterfallBar.js +4 -5
- package/dist/collection/components/bn-table/utils/helper/barColumnGeometry.js +89 -0
- package/dist/collection/utils/autoFit.js +63 -0
- package/dist/collection/utils/constants.js +3 -3
- package/dist/collection/utils/dataAnalyzer.js +17 -8
- package/dist/collection/utils/scaling.js +79 -0
- package/dist/collection/utils/validate.js +3 -3
- package/dist/components/DataFormatDigits.js +1 -1
- package/dist/components/autoFit.js +1 -0
- package/dist/components/bn-chart-bubble.js +1 -1
- package/dist/components/bn-chart-bullet.js +1 -1
- package/dist/components/bn-chart-scatter.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-grid.js +1 -1
- package/dist/components/bn-scaling-group.js +1 -1
- package/dist/components/bn-table.js +1 -1
- package/dist/components/bn-text.js +1 -1
- package/dist/components/bn-tree.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/scaling.js +1 -0
- package/dist/components/validate.js +1 -1
- package/dist/components/withDataset.js +1 -1
- package/dist/components/withStyled.js +1 -1
- package/dist/esm/{AxisConfig-ByIP5J-9.js → AxisConfig-Cjy_RANi.js} +1 -1
- package/dist/esm/{LabelCollisionManager-DaNiDiM9.js → LabelCollisionManager-B_NUM9yq.js} +2 -2
- package/dist/esm/{Order-BQeJE_yi.js → Order-B-aF6Rwn.js} +1 -1
- package/dist/esm/{SVGStyle-BwBlY3Km.js → SVGStyle-8FfAtUF-.js} +2 -2
- package/dist/esm/{SVGVariancesStyleGroup-BpGW4CvN.js → SVGVariancesStyleGroup-DD4mIOjT.js} +1 -1
- package/dist/esm/{VarianceMeasure-CE3N8Bea.js → VarianceMeasure-DLOuIIJ7.js} +4 -4
- package/dist/esm/{XYChartDataRow-DeMI1JKU.js → XYChartDataRow-CKfILBFG.js} +4 -4
- package/dist/esm/bn-asset_21.entry.js +1052 -314
- package/dist/esm/bn-chart-bubble.entry.js +25 -15
- package/dist/esm/bn-chart-bullet.entry.js +9 -9
- package/dist/esm/bn-chart-scatter.entry.js +9 -9
- package/dist/esm/bn-grid.entry.js +6 -6
- package/dist/esm/bn-image.entry.js +6 -6
- package/dist/esm/bn-internationalization.entry.js +4 -4
- package/dist/esm/bn-ruleset.entry.js +4 -4
- package/dist/esm/bn-template-engine.js +4 -4
- package/dist/esm/bn-template.entry.js +2 -2
- package/dist/esm/bn-text.entry.js +7 -7
- package/dist/esm/bn-tree.entry.js +6 -6
- package/dist/esm/{context-protocol-d8MHrEo8.js → context-protocol-BoEL0caI.js} +1 -1
- package/dist/esm/editor-companion.entry.js +2 -2
- package/dist/esm/ibcs-chart-bubble.entry.js +6 -6
- package/dist/esm/ibcs-chart-bullet.entry.js +6 -6
- package/dist/esm/ibcs-chart-scatter.entry.js +6 -6
- package/dist/esm/{index-B_d-jp99.js → index-C5UYpZUU.js} +61 -19
- package/dist/esm/{layoutObserver-BJBEyhNf.js → layoutObserver-cgIXg2sg.js} +5 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{scaling-BGnpSN1j.js → scaling-CxyNpMQM.js} +83 -4
- package/dist/esm/{withBodyObserver-IokS6fHD.js → withBodyObserver-Cb9ZC5_J.js} +2 -2
- package/dist/esm/{withHasError-DW_vMDUp.js → withHasError-Bh1Viz52.js} +1 -1
- package/dist/esm/{withScalingGroup-CC3UcvC5.js → withScalingGroup-Yv9nGGe1.js} +3 -3
- package/dist/esm/{withStyled-2l5Tx3cf.js → withStyled-By9Jd-Oy.js} +8 -8
- package/dist/types/components/bn-chart-bubble/bn-chart-bubble.d.ts +5 -2
- package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +47 -19
- package/dist/types/components/bn-chart-structure/ibcs-chart-structure.d.ts +17 -3
- package/dist/types/components/bn-chart-structure/utils/StructureChart.d.ts +11 -3
- package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +52 -18
- package/dist/types/components/bn-chart-time/ibcs-chart-time.d.ts +18 -3
- package/dist/types/components/bn-chart-time/utils/TimeChart.d.ts +12 -0
- package/dist/types/components/bn-scaling-group/bn-scaling-group.d.ts +28 -8
- package/dist/types/components/bn-table/bn-table.d.ts +45 -19
- package/dist/types/components/bn-table/ibcs-table.d.ts +23 -6
- package/dist/types/components/bn-table/utils/elements/CellBarChart.d.ts +9 -1
- package/dist/types/components/bn-table/utils/helper/barColumnGeometry.d.ts +51 -0
- package/dist/types/components.d.ts +91 -55
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/dist/types/utils/autoFit.d.ts +79 -0
- package/dist/types/utils/constants.d.ts +3 -3
- package/dist/types/utils/dataAnalyzer.d.ts +5 -1
- package/dist/types/utils/scaling.d.ts +63 -0
- package/dist/types/utils/validate.d.ts +2 -2
- package/package.json +1 -1
- package/readme.md +2 -0
- package/dist/bn-template-engine/p-2fba7c99.entry.js +0 -1
- package/dist/bn-template-engine/p-A8xyE4b1.js +0 -1
- package/dist/bn-template-engine/p-B_d-jp99.js +0 -2
- package/dist/bn-template-engine/p-BjBz5cSL.js +0 -1
- package/dist/bn-template-engine/p-C8Q0lsaU.js +0 -1
- package/dist/bn-template-engine/p-C9i1Xsib.js +0 -1
- package/dist/bn-template-engine/p-a8291de2.entry.js +0 -1
- package/dist/bn-template-engine/p-b5274369.entry.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { f as forceUpdate, g as getElement } from './index-
|
|
2
|
-
import { g as getStores, c as clearStoresCache } from './context-protocol-
|
|
3
|
-
import { r as runIfExisits } from './withHasError-
|
|
4
|
-
import { i as isInheritedValue, f as findAncestor } from './scaling-
|
|
5
|
-
import { m as merge } from './VarianceMeasure-
|
|
1
|
+
import { f as forceUpdate, g as getElement } from './index-C5UYpZUU.js';
|
|
2
|
+
import { g as getStores, c as clearStoresCache } from './context-protocol-BoEL0caI.js';
|
|
3
|
+
import { r as runIfExisits } from './withHasError-Bh1Viz52.js';
|
|
4
|
+
import { i as isInheritedValue, f as findAncestor } from './scaling-CxyNpMQM.js';
|
|
5
|
+
import { m as merge } from './VarianceMeasure-DLOuIIJ7.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Mixin that provides the IBCS rule-set configuration to a Stencil component
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-C5UYpZUU.js';
|
|
2
|
+
export { s as setNonce } from './index-C5UYpZUU.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
4
4
|
|
|
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-chart-bubble\",[[1,\"bn-chart-bubble\",{\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"x\":[1],\"y\":[1],\"size\":[1],\"share\":[1],\"compareWith\":[1,\"compare-with\"],\"level\":[1],\"seriesLevel\":[1,\"series-level\"],\"facet\":[1],\"labels\":[1],\"legend\":[1],\"aspect\":[1],\"limit\":[2],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"x\":[{\"validateX\":0}],\"y\":[{\"validateY\":0}],\"size\":[{\"validateSize\":0}],\"share\":[{\"validateShare\":0}],\"compareWith\":[{\"validateCompareWith\":0}],\"level\":[{\"validateLevel\":0}],\"seriesLevel\":[{\"validateSeriesLevel\":0}],\"facet\":[{\"validateFacet\":0}],\"labels\":[{\"validateLabels\":0}],\"legend\":[{\"validateLegend\":0}],\"aspect\":[{\"validateAspect\":0}],\"limit\":[{\"validateLimit\":0}],\"scale\":[{\"validateScale\":0}]}]]],[\"bn-chart-bullet\",[[1,\"bn-chart-bullet\",{\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"actual\":[1],\"target\":[1],\"ranges\":[1],\"normalize\":[1],\"variances\":[1],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"limit\":[2],\"labels\":[1],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"actual\":[{\"validateActual\":0}],\"target\":[{\"validateTarget\":0}],\"ranges\":[{\"validateRanges\":0}],\"normalize\":[{\"validateNormalize\":0}],\"variances\":[{\"validateVariances\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrder\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"limit\":[{\"validateLimit\":0}],\"labels\":[{\"validateLabels\":0}],\"scale\":[{\"validateScale\":0}]}]]],[\"bn-chart-scatter\",[[1,\"bn-chart-scatter\",{\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"x\":[1],\"y\":[1],\"iso\":[1],\"level\":[1],\"seriesLevel\":[1,\"series-level\"],\"facet\":[1],\"labels\":[1],\"legend\":[1],\"aspect\":[1],\"limit\":[2],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"x\":[{\"validateX\":0}],\"y\":[{\"validateY\":0}],\"iso\":[{\"validateIso\":0}],\"level\":[{\"validateLevel\":0}],\"seriesLevel\":[{\"validateSeriesLevel\":0}],\"facet\":[{\"validateFacet\":0}],\"labels\":[{\"validateLabels\":0}],\"legend\":[{\"validateLegend\":0}],\"aspect\":[{\"validateAspect\":0}],\"limit\":[{\"validateLimit\":0}],\"scale\":[{\"validateScale\":0}]}]]],[\"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\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"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-ruleset\",[[0,\"bn-ruleset\",{\"name\":[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\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"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]}]]],[\"ibcs-chart-bubble\",[[1,\"ibcs-chart-bubble\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"x\":[16],\"y\":[16],\"size\":[16],\"share\":[16],\"compareFamily\":[1,\"compare-family\"],\"labels\":[16],\"legend\":[16],\"facet\":[16],\"pointLevel\":[1,\"point-level\"],\"seriesLevel\":[1,\"series-level\"],\"aspect\":[2],\"limit\":[2],\"filter\":[1],\"sizeAreaPerUnit\":[2,\"size-area-per-unit\"],\"styles\":[16],\"i18n\":[16],\"containerWidth\":[2,\"container-width\"],\"ruleSetConfig\":[16],\"errors\":[16],\"translate\":[16]}]]],[\"ibcs-chart-bullet\",[[1,\"ibcs-chart-bullet\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"actual\":[16],\"target\":[16],\"ranges\":[16],\"normalize\":[1],\"showVariances\":[4,\"show-variances\"],\"level\":[1],\"order\":[16],\"limit\":[2],\"labels\":[16],\"filter\":[1],\"styles\":[16],\"i18n\":[16],\"containerWidth\":[2,\"container-width\"],\"ruleSetConfig\":[16],\"errors\":[16],\"translate\":[16]}]]],[\"ibcs-chart-scatter\",[[1,\"ibcs-chart-scatter\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"x\":[16],\"y\":[16],\"iso\":[16],\"labels\":[16],\"legend\":[16],\"facet\":[16],\"pointLevel\":[1,\"point-level\"],\"seriesLevel\":[1,\"series-level\"],\"aspect\":[2],\"limit\":[2],\"filter\":[1],\"styles\":[16],\"i18n\":[16],\"containerWidth\":[2,\"container-width\"],\"ruleSetConfig\":[16],\"errors\":[16],\"translate\":[16]}]]],[\"bn-asset_21\",[[257,\"bn-layout-page\",{\"styles\":[1],\"selectedStyle\":[1,\"selected-style\"],\"ruleset\":[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\"],\"i18nNamespace\":[513,\"i18n-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],\"selectedStyle\":[1,\"selected-style\"],\"ruleset\":[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\"],\"i18nNamespace\":[513,\"i18n-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\"],\"ruleset\":[513],\"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\",{\"ruleset\":[513],\"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],\"ruleset\":[513],\"selectedStyle\":[1,\"selected-style\"],\"sumTitle\":[1,\"sum-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],\"interval\":[1],\"tableAttributes\":[1,\"attributes\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"hasBlankSetnames\":[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}],\"interval\":[{\"validateInterval\":0}],\"tableAttributes\":[{\"validateTableAttributes\":0}]}],[1,\"bn-asset\",{\"name\":[1]}],[0,\"bn-component-style\",{\"name\":[1]}],[257,\"bn-context\",{\"locale\":[1],\"i18nNamespace\":[513,\"i18n-namespace\"]},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],\"ruleSetConfig\":[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],\"ruleSetConfig\":[16]}],[1,\"ibcs-table\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"selectedStyle\":[513,\"selected-style\"],\"sumTitle\":[1,\"sum-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],\"ruleSetConfig\":[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],\"interval\":[1],\"barColumnMaxWidth\":[2,\"bar-column-max-width\"],\"unitScaling\":[2,\"unit-scaling\"],\"percentageScaling\":[2,\"percentage-scaling\"],\"scaleFactor\":[2,\"scale-factor\"]}],[1,\"bn-title\",{\"ruleset\":[513],\"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\"],\"locale\":[1],\"ruleSetConfig\":[16],\"setBusinessUnit\":[64],\"setProps\":[64]}]]]]"), options);
|
|
8
|
+
return bootstrapLazy(JSON.parse("[[\"bn-chart-bubble\",[[1,\"bn-chart-bubble\",{\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"x\":[1],\"y\":[1],\"size\":[1],\"share\":[1],\"compareWith\":[1,\"compare-with\"],\"level\":[1],\"seriesLevel\":[1,\"series-level\"],\"facet\":[1],\"labels\":[1],\"legend\":[1],\"aspect\":[1],\"limit\":[2],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"x\":[{\"validateX\":0}],\"y\":[{\"validateY\":0}],\"size\":[{\"validateSize\":0}],\"share\":[{\"validateShare\":0}],\"compareWith\":[{\"validateCompareWith\":0}],\"level\":[{\"validateLevel\":0}],\"seriesLevel\":[{\"validateSeriesLevel\":0}],\"facet\":[{\"validateFacet\":0}],\"labels\":[{\"validateLabels\":0}],\"legend\":[{\"validateLegend\":0}],\"aspect\":[{\"validateAspect\":0}],\"limit\":[{\"validateLimit\":0}],\"scale\":[{\"validateScale\":0}]}]]],[\"bn-chart-bullet\",[[1,\"bn-chart-bullet\",{\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"actual\":[1],\"target\":[1],\"ranges\":[1],\"normalize\":[1],\"variances\":[1],\"level\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"limit\":[2],\"labels\":[1],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"actual\":[{\"validateActual\":0}],\"target\":[{\"validateTarget\":0}],\"ranges\":[{\"validateRanges\":0}],\"normalize\":[{\"validateNormalize\":0}],\"variances\":[{\"validateVariances\":0}],\"level\":[{\"validateLevel\":0}],\"order\":[{\"validateOrder\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"limit\":[{\"validateLimit\":0}],\"labels\":[{\"validateLabels\":0}],\"scale\":[{\"validateScale\":0}]}]]],[\"bn-chart-scatter\",[[1,\"bn-chart-scatter\",{\"ruleset\":[513],\"chartTitle\":[1,\"chart-title\"],\"filter\":[1],\"x\":[1],\"y\":[1],\"iso\":[1],\"level\":[1],\"seriesLevel\":[1,\"series-level\"],\"facet\":[1],\"labels\":[1],\"legend\":[1],\"aspect\":[1],\"limit\":[2],\"scale\":[1],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32]},null,{\"x\":[{\"validateX\":0}],\"y\":[{\"validateY\":0}],\"iso\":[{\"validateIso\":0}],\"level\":[{\"validateLevel\":0}],\"seriesLevel\":[{\"validateSeriesLevel\":0}],\"facet\":[{\"validateFacet\":0}],\"labels\":[{\"validateLabels\":0}],\"legend\":[{\"validateLegend\":0}],\"aspect\":[{\"validateAspect\":0}],\"limit\":[{\"validateLimit\":0}],\"scale\":[{\"validateScale\":0}]}]]],[\"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\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"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-ruleset\",[[0,\"bn-ruleset\",{\"name\":[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\"],\"i18nNamespace\":[513,\"i18n-namespace\"],\"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]}]]],[\"ibcs-chart-bubble\",[[1,\"ibcs-chart-bubble\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"x\":[16],\"y\":[16],\"size\":[16],\"share\":[16],\"compareFamily\":[1,\"compare-family\"],\"labels\":[16],\"legend\":[16],\"facet\":[16],\"pointLevel\":[1,\"point-level\"],\"seriesLevel\":[1,\"series-level\"],\"aspect\":[2],\"limit\":[2],\"filter\":[1],\"sizeAreaPerUnit\":[2,\"size-area-per-unit\"],\"styles\":[16],\"i18n\":[16],\"containerWidth\":[2,\"container-width\"],\"ruleSetConfig\":[16],\"errors\":[16],\"translate\":[16]}]]],[\"ibcs-chart-bullet\",[[1,\"ibcs-chart-bullet\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"actual\":[16],\"target\":[16],\"ranges\":[16],\"normalize\":[1],\"showVariances\":[4,\"show-variances\"],\"level\":[1],\"order\":[16],\"limit\":[2],\"labels\":[16],\"filter\":[1],\"styles\":[16],\"i18n\":[16],\"containerWidth\":[2,\"container-width\"],\"ruleSetConfig\":[16],\"errors\":[16],\"translate\":[16]}]]],[\"ibcs-chart-scatter\",[[1,\"ibcs-chart-scatter\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"chartTitle\":[1,\"chart-title\"],\"x\":[16],\"y\":[16],\"iso\":[16],\"labels\":[16],\"legend\":[16],\"facet\":[16],\"pointLevel\":[1,\"point-level\"],\"seriesLevel\":[1,\"series-level\"],\"aspect\":[2],\"limit\":[2],\"filter\":[1],\"styles\":[16],\"i18n\":[16],\"containerWidth\":[2,\"container-width\"],\"ruleSetConfig\":[16],\"errors\":[16],\"translate\":[16]}]]],[\"bn-asset_21\",[[257,\"bn-layout-page\",{\"styles\":[1],\"selectedStyle\":[1,\"selected-style\"],\"ruleset\":[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\"],\"i18nNamespace\":[513,\"i18n-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],\"selectedStyle\":[1,\"selected-style\"],\"ruleset\":[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\"],\"i18nNamespace\":[513,\"i18n-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\"],\"ruleset\":[513],\"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\",{\"ruleset\":[513],\"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],\"ruleset\":[513],\"selectedStyle\":[1,\"selected-style\"],\"sumTitle\":[1,\"sum-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],\"interval\":[1],\"tableAttributes\":[1,\"attributes\"],\"datasetName\":[32],\"dataVersion\":[32],\"datasetMeta\":[32],\"appliedScaleFactor\":[32],\"hasBlankSetnames\":[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}],\"interval\":[{\"validateInterval\":0}],\"tableAttributes\":[{\"validateTableAttributes\":0}]}],[1,\"bn-asset\",{\"name\":[1]}],[0,\"bn-component-style\",{\"name\":[1]}],[257,\"bn-context\",{\"locale\":[1],\"i18nNamespace\":[513,\"i18n-namespace\"]},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\":[8]},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\"],\"reportAutoScaling\":[16],\"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],\"ruleSetConfig\":[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\"],\"reportAutoScaling\":[16],\"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],\"ruleSetConfig\":[16]}],[1,\"ibcs-table\",{\"tableName\":[1,\"table-name\"],\"dataVersion\":[2,\"data-version\"],\"selectedStyle\":[513,\"selected-style\"],\"sumTitle\":[1,\"sum-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],\"ruleSetConfig\":[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],\"interval\":[1],\"barColumnMaxWidth\":[2,\"bar-column-max-width\"],\"unitScaling\":[2,\"unit-scaling\"],\"percentageScaling\":[2,\"percentage-scaling\"],\"reportAutoScaling\":[16],\"scaleFactor\":[2,\"scale-factor\"]}],[1,\"bn-title\",{\"ruleset\":[513],\"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\"],\"locale\":[1],\"ruleSetConfig\":[16],\"setBusinessUnit\":[64],\"setProps\":[64]}]]]]"), options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { defineCustomElements };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as getStores, c as clearStoresCache } from './context-protocol-
|
|
2
|
-
import { r as runIfExisits } from './withHasError-
|
|
3
|
-
import { g as getElement, f as forceUpdate } from './index-
|
|
1
|
+
import { g as getStores, c as clearStoresCache } from './context-protocol-BoEL0caI.js';
|
|
2
|
+
import { r as runIfExisits } from './withHasError-Bh1Viz52.js';
|
|
3
|
+
import { g as getElement, f as forceUpdate } from './index-C5UYpZUU.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Splits an array into two groups based on a predicate.
|
|
@@ -577,5 +577,84 @@ function parseScaling(scale) {
|
|
|
577
577
|
return { mode: "factor", factor: num };
|
|
578
578
|
return { mode: "empty" };
|
|
579
579
|
}
|
|
580
|
+
/**
|
|
581
|
+
* SI suffixes accepted by the shared scaling-value grammar.
|
|
582
|
+
* Case-sensitive except `k`/`K`; lowercase `m` (SI milli) is deliberately
|
|
583
|
+
* rejected to avoid ambiguity with `M` (mega).
|
|
584
|
+
*/
|
|
585
|
+
const SCALING_SI_SUFFIX = { k: 1e3, K: 1e3, M: 1e6, G: 1e9, T: 1e12 };
|
|
586
|
+
/**
|
|
587
|
+
* Positive decimal with optional whitespace and optional single SI suffix.
|
|
588
|
+
* No sign, no exponent notation — keeps the grammar unambiguous against
|
|
589
|
+
* scaling-group names.
|
|
590
|
+
*/
|
|
591
|
+
const SCALING_NUMBER_RE = /^(\d+(?:\.\d+)?|\.\d+)\s*([kKMGT])?$/;
|
|
592
|
+
/**
|
|
593
|
+
* Parses a raw scaling value with the shared grammar used by
|
|
594
|
+
* `unit-scaling` / `percentage-scaling` and `<bn-scaling-group>`:
|
|
595
|
+
*
|
|
596
|
+
* - `"auto"` (trimmed, case-insensitive) -> `{ kind: "auto" }`
|
|
597
|
+
* - a positive number with optional SI suffix (`"250000"`, `"2.5M"`, `"1 k"`;
|
|
598
|
+
* suffixes `k`/`K` = 1e3, `M` = 1e6, `G` = 1e9, `T` = 1e12) -> `{ kind: "number" }`
|
|
599
|
+
* - anything else (blank, signs, exponent notation, lowercase `m`/`g`/`t`,
|
|
600
|
+
* zero, negatives, non-finite) -> `{ kind: "invalid" }`
|
|
601
|
+
*/
|
|
602
|
+
function parseScalingValue(raw) {
|
|
603
|
+
var _a;
|
|
604
|
+
if (typeof raw === "number") {
|
|
605
|
+
return Number.isFinite(raw) && raw > 0 ? { kind: "number", value: raw } : { kind: "invalid", raw: String(raw) };
|
|
606
|
+
}
|
|
607
|
+
const s = (_a = raw === null || raw === void 0 ? void 0 : raw.toString().trim()) !== null && _a !== void 0 ? _a : "";
|
|
608
|
+
if (s.toLowerCase() === "auto")
|
|
609
|
+
return { kind: "auto" };
|
|
610
|
+
const match = SCALING_NUMBER_RE.exec(s);
|
|
611
|
+
if (match) {
|
|
612
|
+
const value = Number(match[1]) * (match[2] ? SCALING_SI_SUFFIX[match[2]] : 1);
|
|
613
|
+
if (Number.isFinite(value) && value > 0)
|
|
614
|
+
return { kind: "number", value };
|
|
615
|
+
}
|
|
616
|
+
return { kind: "invalid", raw: s };
|
|
617
|
+
}
|
|
618
|
+
/**
|
|
619
|
+
* Resolves a raw `unit-scaling` / `percentage-scaling` value.
|
|
620
|
+
* Resolution order: `auto` -> scaling-group lookup (trimmed name) ->
|
|
621
|
+
* number/SI parse -> invalid. `auto` wins over a group of the same name
|
|
622
|
+
* because the name is reserved.
|
|
623
|
+
*/
|
|
624
|
+
function resolveScalingValue(raw, groups) {
|
|
625
|
+
const parsed = parseScalingValue(raw);
|
|
626
|
+
if (parsed.kind === "auto")
|
|
627
|
+
return { kind: "auto" };
|
|
628
|
+
if (typeof raw === "string") {
|
|
629
|
+
const name = raw.trim();
|
|
630
|
+
if (groups.has(name))
|
|
631
|
+
return { kind: "value", value: groups.get(name) };
|
|
632
|
+
}
|
|
633
|
+
if (parsed.kind === "number")
|
|
634
|
+
return { kind: "value", value: parsed.value };
|
|
635
|
+
return { kind: "invalid", raw: parsed.raw };
|
|
636
|
+
}
|
|
637
|
+
const SCALING_FORMAT_STEPS = [
|
|
638
|
+
[1e12, "T"],
|
|
639
|
+
[1e9, "G"],
|
|
640
|
+
[1e6, "M"],
|
|
641
|
+
[1e3, "k"],
|
|
642
|
+
];
|
|
643
|
+
/**
|
|
644
|
+
* Formats a positive value with the same SI suffixes the parser accepts,
|
|
645
|
+
* rounded to 3 significant digits (`250000` -> `"250k"`). Values just below
|
|
646
|
+
* a suffix boundary may round up across it (`999999` -> `"1000k"`) — fine
|
|
647
|
+
* for warning messages, which is all this is used for.
|
|
648
|
+
*/
|
|
649
|
+
function formatScalingValue(value) {
|
|
650
|
+
if (!Number.isFinite(value) || value <= 0)
|
|
651
|
+
return String(value);
|
|
652
|
+
const sig = (n) => String(Number(n.toPrecision(3)));
|
|
653
|
+
for (const [mult, suffix] of SCALING_FORMAT_STEPS) {
|
|
654
|
+
if (value >= mult)
|
|
655
|
+
return `${sig(value / mult)}${suffix}`;
|
|
656
|
+
}
|
|
657
|
+
return sig(value);
|
|
658
|
+
}
|
|
580
659
|
|
|
581
|
-
export { withTranslation as a,
|
|
660
|
+
export { withTranslation as a, formatScalingValue as b, withInheritedProps as c, parseScalingValue as d, findAncestor as f, getParentDimensions as g, isInheritedValue as i, parseScaling as p, resolveScalingValue as r, withDataset as w };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as getElement } from './index-
|
|
2
|
-
import { r as runIfExisits } from './withHasError-
|
|
1
|
+
import { g as getElement } from './index-C5UYpZUU.js';
|
|
2
|
+
import { r as runIfExisits } from './withHasError-Bh1Viz52.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Mixin that observes changes to a component's text content.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as getElement, f as forceUpdate } from './index-
|
|
2
|
-
import { g as getStores, c as clearStoresCache } from './context-protocol-
|
|
3
|
-
import { r as runIfExisits } from './withHasError-
|
|
1
|
+
import { g as getElement, f as forceUpdate } from './index-C5UYpZUU.js';
|
|
2
|
+
import { g as getStores, c as clearStoresCache } from './context-protocol-BoEL0caI.js';
|
|
3
|
+
import { r as runIfExisits } from './withHasError-Bh1Viz52.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Mixin that syncs the scoped `scalingGroups` store into a component's
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as getElement, f as forceUpdate } from './index-
|
|
2
|
-
import { g as getStores, c as clearStoresCache, D as DateTime } from './context-protocol-
|
|
3
|
-
import { r as runIfExisits } from './withHasError-
|
|
4
|
-
import { m as merge, S as Scenarios, b as Sentiments, A as AggregationLevel, c as AxisLabelsMode, T as TableBarColumnWidth, D as DataFormat, d as TableType, M as MeasureType, e as TableCategoryWidth, r as resolveMeasure } from './VarianceMeasure-
|
|
5
|
-
import { b as OrderColumn, O as OrderDirection } from './Order-
|
|
1
|
+
import { g as getElement, f as forceUpdate } from './index-C5UYpZUU.js';
|
|
2
|
+
import { g as getStores, c as clearStoresCache, D as DateTime } from './context-protocol-BoEL0caI.js';
|
|
3
|
+
import { r as runIfExisits } from './withHasError-Bh1Viz52.js';
|
|
4
|
+
import { m as merge, S as Scenarios, b as Sentiments, A as AggregationLevel, c as AxisLabelsMode, T as TableBarColumnWidth, D as DataFormat, d as TableType, M as MeasureType, e as TableCategoryWidth, r as resolveMeasure } from './VarianceMeasure-DLOuIIJ7.js';
|
|
5
|
+
import { b as OrderColumn, O as OrderDirection } from './Order-B-aF6Rwn.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Mixin that provides themed styling to a Stencil component using a
|
|
@@ -805,11 +805,11 @@ function isValidMeasureType(value) {
|
|
|
805
805
|
}
|
|
806
806
|
/**
|
|
807
807
|
* Validates a measure-scale attribute value.
|
|
808
|
-
* Accepted values: `"_"` (no scaling), SI prefix letters (k, M, G, T, P, E, Z, Y, m, etc
|
|
809
|
-
* or auto-detection modes `"GREATEST"` / `"LEAST"`.
|
|
808
|
+
* Accepted values: `"_"` (no scaling), SI prefix letters (k, M, G, T, P, E, Z, Y, m, etc.;
|
|
809
|
+
* micro as `"my"` or `"μ"`), or auto-detection modes `"GREATEST"` / `"LEAST"`.
|
|
810
810
|
*/
|
|
811
811
|
function isValidMeasureScale(value) {
|
|
812
|
-
return (["_", "k", "M", "G", "T", "P", "E", "Z", "Y", "m", "
|
|
812
|
+
return (["_", "k", "M", "G", "T", "P", "E", "Z", "Y", "m", "my", "μ", "n", "p", "f", "a", "z", "y"].includes(value === null || value === void 0 ? void 0 : value.trim()) || ["GREATEST", "LEAST"].includes(value === null || value === void 0 ? void 0 : value.trim().toUpperCase()));
|
|
813
813
|
}
|
|
814
814
|
function isTableCategoryWidth(value) {
|
|
815
815
|
return (value === null || value === void 0 ? void 0 : value.toUpperCase().trim()) in TableCategoryWidth;
|
|
@@ -171,14 +171,17 @@ export declare class ChartBubble {
|
|
|
171
171
|
private prepareAspect;
|
|
172
172
|
private prepareLimit;
|
|
173
173
|
/**
|
|
174
|
-
* Scaling-group mode: the group value is
|
|
175
|
-
*
|
|
174
|
+
* Scaling-group mode: the group value is data units per em² of bubble
|
|
175
|
+
* area; the inner chart expects area px² per unit, so the effective font
|
|
176
|
+
* size applies squared.
|
|
176
177
|
*/
|
|
177
178
|
private prepareSizeAreaPerUnit;
|
|
178
179
|
private i18nLocalKeys;
|
|
179
180
|
private prepareI18n;
|
|
180
181
|
private prepareStyle;
|
|
181
182
|
private getEffectiveScaleFactor;
|
|
183
|
+
/** Effective font size in px: base font from the style store × effective scale factor. */
|
|
184
|
+
private getEffectiveFontPx;
|
|
182
185
|
private getFontStyles;
|
|
183
186
|
/** Facade-bound translator handed to the inner element for warning messages. */
|
|
184
187
|
private readonly translateForInner;
|
|
@@ -79,35 +79,37 @@ export declare class Chart {
|
|
|
79
79
|
variances: string;
|
|
80
80
|
validateVariances(newValue: string): void;
|
|
81
81
|
/**
|
|
82
|
-
*
|
|
82
|
+
* Data units displayed per 1 em of bar length (horizontal bars) — map-scale
|
|
83
|
+
* semantics: a larger value means smaller bars.
|
|
83
84
|
*
|
|
84
|
-
* | Value
|
|
85
|
-
*
|
|
86
|
-
* | `"auto"`
|
|
87
|
-
* | not set /
|
|
88
|
-
* | `"
|
|
89
|
-
* | group name
|
|
85
|
+
* | Value | Behavior |
|
|
86
|
+
* |--------------------|-------------------------------------------------------------|
|
|
87
|
+
* | `"auto"` | Auto-fit bars to fill the available container width |
|
|
88
|
+
* | not set / invalid | Same as auto, but emits `AUTO_unitScaling` warning |
|
|
89
|
+
* | `"250000"`, `"1M"` | Units per em; optional SI suffix `k`/`K`/`M`/`G`/`T` |
|
|
90
|
+
* | group name | References a `<bn-scaling-group>` for synchronized scaling |
|
|
90
91
|
*
|
|
91
92
|
* When using a custom value that causes the chart to exceed its container,
|
|
92
93
|
* a `WARN_overflow` error is emitted.
|
|
93
94
|
*
|
|
94
95
|
* @example unit-scaling="auto"
|
|
95
|
-
* @example unit-scaling="
|
|
96
|
+
* @example unit-scaling="1M"
|
|
96
97
|
* @example unit-scaling="revenue-scale"
|
|
97
98
|
*/
|
|
98
99
|
unitScaling: string | number;
|
|
99
100
|
validateUnitScaling(newValue: string | number): void;
|
|
100
101
|
/**
|
|
101
|
-
*
|
|
102
|
+
* Percentage points displayed per 1 em of bar length for relative
|
|
103
|
+
* variances — a larger value means shorter bars.
|
|
102
104
|
*
|
|
103
|
-
* | Value
|
|
104
|
-
*
|
|
105
|
-
* | `"auto"`
|
|
106
|
-
* | not set /
|
|
107
|
-
* | `"
|
|
108
|
-
* | group name
|
|
105
|
+
* | Value | Behavior |
|
|
106
|
+
* |-------------------|---------------------------------------------------------------|
|
|
107
|
+
* | `"auto"` | Auto-fit to available width |
|
|
108
|
+
* | not set / invalid | Same as auto with `AUTO_percentageScaling` warning |
|
|
109
|
+
* | `"10"`, `"2.5"` | Percentage points per em; optional SI suffix `k`/`K`/`M`/`G`/`T` |
|
|
110
|
+
* | group name | References a `<bn-scaling-group>` for synchronized scaling |
|
|
109
111
|
*
|
|
110
|
-
* @example percentage-scaling="
|
|
112
|
+
* @example percentage-scaling="10"
|
|
111
113
|
* @example percentage-scaling="pct-scale"
|
|
112
114
|
*/
|
|
113
115
|
percentageScaling: string | number;
|
|
@@ -267,17 +269,41 @@ export declare class Chart {
|
|
|
267
269
|
componentDidLoad(): void;
|
|
268
270
|
disconnectedCallback(): void;
|
|
269
271
|
/**
|
|
270
|
-
*
|
|
271
|
-
*
|
|
272
|
+
* Content width from the rendered SVG width attributes (segments render
|
|
273
|
+
* side by side) — immune to the inner hosts' overflow:hidden clipping:
|
|
274
|
+
* flex items with hidden overflow shrink below their content size, so the
|
|
275
|
+
* host's scrollWidth cannot see the overflow. Falls back to scrollWidth
|
|
276
|
+
* before the inner charts have rendered.
|
|
272
277
|
*/
|
|
273
|
-
private
|
|
278
|
+
private measureContentWidth;
|
|
279
|
+
/**
|
|
280
|
+
* Reports a WARN_overflow item when the rendered chart exceeds its
|
|
281
|
+
* container. Overflow attributable to a fixed scaling attribute is an
|
|
282
|
+
* error (width: unit-scaling / percentage-scaling, height: scale);
|
|
283
|
+
* overflow in fully-auto mode is a warning — auto-fit prevents it by
|
|
284
|
+
* construction, so it only fires when the content cannot fit at any scale.
|
|
285
|
+
*/
|
|
286
|
+
private checkOverflow;
|
|
274
287
|
prepareDimension(): ParentDimensions;
|
|
275
288
|
private prepareScenarios;
|
|
276
289
|
private prepareVariances;
|
|
277
290
|
private prepareHideCategories;
|
|
278
291
|
private prepareI18n;
|
|
292
|
+
private autoUnitWarningActive;
|
|
293
|
+
private autoPctWarningActive;
|
|
294
|
+
private lastReportedUnitsPerEm?;
|
|
295
|
+
private lastReportedPpPerEm?;
|
|
296
|
+
/** "not set" for blank input, `invalid value "x"` otherwise — for AUTO_* messages. */
|
|
297
|
+
private static describeScalingInput;
|
|
279
298
|
private preparePixelPerUnit;
|
|
280
299
|
private preparePixelPerPercentage;
|
|
300
|
+
/**
|
|
301
|
+
* Receives the auto-fitted values from the inner ibcs-chart-structure (px
|
|
302
|
+
* per unit / px per 1.0 fraction) and surfaces them in the AUTO_* warnings,
|
|
303
|
+
* converted back to the attribute's units-per-em form so users can copy
|
|
304
|
+
* them into a bn-scaling-group.
|
|
305
|
+
*/
|
|
306
|
+
private handleAutoScalingReport;
|
|
281
307
|
private prepareLevel;
|
|
282
308
|
private prepareOrder;
|
|
283
309
|
private prepareStyle;
|
|
@@ -291,6 +317,8 @@ export declare class Chart {
|
|
|
291
317
|
prepareMeasureUnit(): string;
|
|
292
318
|
chartTemplate(localScenarioString: string, idx: number): any;
|
|
293
319
|
private getEffectiveScaleFactor;
|
|
320
|
+
/** Effective font size in px: base font from the style store × effective scale factor. */
|
|
321
|
+
private getEffectiveFontPx;
|
|
294
322
|
private getFontStyles;
|
|
295
323
|
render(): any;
|
|
296
324
|
}
|
|
@@ -3,6 +3,7 @@ import { StructureChartStyle } from "./utils/model/styles/StructureChartStyle";
|
|
|
3
3
|
import { Order } from "../../utils/model/Order";
|
|
4
4
|
import { AggregationLevel } from "../../utils/constants";
|
|
5
5
|
import { ParentDimensions } from "../../utils/parentDimensions";
|
|
6
|
+
import { AutoScalingReport } from "../../utils/scaling";
|
|
6
7
|
import { DataFormatDigits } from "../../utils/model/DataFormatDigits";
|
|
7
8
|
import { RuleSetConfig } from "../../stores/ruleSets";
|
|
8
9
|
export declare class IbcsChartStructure {
|
|
@@ -17,6 +18,13 @@ export declare class IbcsChartStructure {
|
|
|
17
18
|
hideCategories: boolean;
|
|
18
19
|
pixelPerUnit: number;
|
|
19
20
|
pixelPerPercentage: number;
|
|
21
|
+
/**
|
|
22
|
+
* Internal wrapper channel: called with the auto-fitted values (px for one
|
|
23
|
+
* data unit / px per 1.0 fraction) whenever one of them was auto-resolved, so
|
|
24
|
+
* the outer `bn-chart-structure` can surface them in its AUTO_* warnings.
|
|
25
|
+
* Not for end users.
|
|
26
|
+
*/
|
|
27
|
+
reportAutoScaling?: (report: AutoScalingReport) => void;
|
|
20
28
|
limit: number;
|
|
21
29
|
styles: StructureChartStyle | undefined;
|
|
22
30
|
i18n: Map<string, string>;
|
|
@@ -39,10 +47,16 @@ export declare class IbcsChartStructure {
|
|
|
39
47
|
componentWillLoad(): Promise<void>;
|
|
40
48
|
componentWillUpdate(): Promise<void>;
|
|
41
49
|
/**
|
|
42
|
-
*
|
|
43
|
-
* When either is 0 (auto mode), renders a measurement pass at 1,
|
|
44
|
-
* computes the ratio to fit the available width, and rebuilds.
|
|
50
|
+
* Auto-fit for pixelPerUnit and/or pixelPerPercentage (0 = auto mode).
|
|
45
51
|
* Structure charts grow horizontally, so we fit to width.
|
|
52
|
+
*
|
|
53
|
+
* The chart width is affine in the pixel scales (width = fixed labels +
|
|
54
|
+
* bar extent × scale), but label clamps flip between passes, so a single
|
|
55
|
+
* analytic solve is not enough: measure at 1, solve, then verify against
|
|
56
|
+
* fresh measurements and re-solve until the chart fits. The loop never
|
|
57
|
+
* ends on an overshoot — the last fitting values are restored, or when
|
|
58
|
+
* even the minimum scale cannot fit (labels alone exceed the container)
|
|
59
|
+
* the values are floored and the wrapper reports the overflow.
|
|
46
60
|
* Explicit (> 0) values are never overridden.
|
|
47
61
|
*/
|
|
48
62
|
private autoFitScaling;
|
|
@@ -91,10 +91,18 @@ export declare class StructureChart {
|
|
|
91
91
|
*/
|
|
92
92
|
setSource(filter: string): void;
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
95
|
-
*
|
|
94
|
+
* Total bar extent (data units) proportional to pixelPerUnit, covering
|
|
95
|
+
* BOTH sides of the axis (left side scales with negative values, right
|
|
96
|
+
* side with positive ones). Used by autoFitScaling to separate fixed
|
|
97
|
+
* from variable width components.
|
|
96
98
|
*/
|
|
97
|
-
|
|
99
|
+
getUnitBarExtent(): number;
|
|
100
|
+
/**
|
|
101
|
+
* Total bar extent (fraction units) proportional to pixelPerPercentage.
|
|
102
|
+
* Only relative variances scale with it; each side clamps at +/-145%
|
|
103
|
+
* because clipped needles render as fixed-size arrows.
|
|
104
|
+
*/
|
|
105
|
+
getPercentBarExtent(): number;
|
|
98
106
|
getAllocatedCanvasWidth(): number;
|
|
99
107
|
getAllocatedCanvasHeight(): number;
|
|
100
108
|
patternToString(): string;
|
|
@@ -90,32 +90,34 @@ export declare class Chart {
|
|
|
90
90
|
limit: number;
|
|
91
91
|
validateLimit(newValue: number): void;
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* Data units displayed per 1 em of bar length (vertical bars) — map-scale
|
|
94
|
+
* semantics: a larger value means smaller bars.
|
|
94
95
|
*
|
|
95
|
-
* | Value
|
|
96
|
-
*
|
|
97
|
-
* | `"auto"`
|
|
98
|
-
* | not set /
|
|
99
|
-
* | `"
|
|
100
|
-
* | group name
|
|
96
|
+
* | Value | Behavior |
|
|
97
|
+
* |--------------------|-------------------------------------------------------------|
|
|
98
|
+
* | `"auto"` | Auto-fit bars to fill the available container height |
|
|
99
|
+
* | not set / invalid | Same as auto, but emits `AUTO_unitScaling` warning |
|
|
100
|
+
* | `"250000"`, `"1M"` | Units per em; optional SI suffix `k`/`K`/`M`/`G`/`T` |
|
|
101
|
+
* | group name | References a `<bn-scaling-group>` for synchronized scaling |
|
|
101
102
|
*
|
|
102
103
|
* @example unit-scaling="auto"
|
|
103
|
-
* @example unit-scaling="
|
|
104
|
+
* @example unit-scaling="1M"
|
|
104
105
|
* @example unit-scaling="revenue-scale"
|
|
105
106
|
*/
|
|
106
107
|
unitScaling: string | number;
|
|
107
108
|
validateUnitScaling(newValue: string | number): void;
|
|
108
109
|
/**
|
|
109
|
-
*
|
|
110
|
+
* Percentage points displayed per 1 em of pin/bar length for relative
|
|
111
|
+
* variances — a larger value means shorter pins.
|
|
110
112
|
*
|
|
111
|
-
* | Value
|
|
112
|
-
*
|
|
113
|
-
* | `"auto"`
|
|
114
|
-
* | not set /
|
|
115
|
-
* | `"
|
|
116
|
-
* | group name
|
|
113
|
+
* | Value | Behavior |
|
|
114
|
+
* |-------------------|---------------------------------------------------------------|
|
|
115
|
+
* | `"auto"` | Auto-fit to available height (same two-pass as unit-scaling) |
|
|
116
|
+
* | not set / invalid | Same as auto with `AUTO_percentageScaling` warning |
|
|
117
|
+
* | `"10"`, `"2.5"` | Percentage points per em; optional SI suffix `k`/`K`/`M`/`G`/`T` |
|
|
118
|
+
* | group name | References a `<bn-scaling-group>` for synchronized scaling |
|
|
117
119
|
*
|
|
118
|
-
* @example percentage-scaling="
|
|
120
|
+
* @example percentage-scaling="10"
|
|
119
121
|
* @example percentage-scaling="pct-scale"
|
|
120
122
|
*/
|
|
121
123
|
percentageScaling: string | number;
|
|
@@ -263,7 +265,7 @@ export declare class Chart {
|
|
|
263
265
|
* original value.
|
|
264
266
|
* <br /><br />
|
|
265
267
|
* values: <br />
|
|
266
|
-
* ```_ // k // M // G // T // P // E // Z // Y // m // μ // n // p //
|
|
268
|
+
* ```_ // k // M // G // T // P // E // Z // Y // m // my (μ) // n // p // f // a // z // y // GREATEST // LEAST```
|
|
267
269
|
* <br /><br />
|
|
268
270
|
* SiPrefix overview:
|
|
269
271
|
* ``` "Y": 1E+24,```<br />
|
|
@@ -276,7 +278,7 @@ export declare class Chart {
|
|
|
276
278
|
* ``` "k": 1000,```<br />
|
|
277
279
|
* <br />
|
|
278
280
|
* ``` "m": 0.001,```<br />
|
|
279
|
-
* ``` "μ
|
|
281
|
+
* ``` "my" (μ): 0.000001,```<br />
|
|
280
282
|
* ``` "n": 0.000000001,```<br />
|
|
281
283
|
* ``` "p": 0.000000000001,```<br />
|
|
282
284
|
* ``` "f": 0.000000000000001,```<br />
|
|
@@ -316,6 +318,23 @@ export declare class Chart {
|
|
|
316
318
|
componentWillLoad(): void;
|
|
317
319
|
private _autoScaleGuard;
|
|
318
320
|
private _lastObservedWidth;
|
|
321
|
+
/**
|
|
322
|
+
* Content width from the rendered SVG width attributes (segments stack
|
|
323
|
+
* vertically, so the widest one counts) — immune to overflow:hidden
|
|
324
|
+
* clipping along the ancestor chain. Falls back to scrollWidth before the
|
|
325
|
+
* inner charts have rendered.
|
|
326
|
+
*/
|
|
327
|
+
private measureContentWidth;
|
|
328
|
+
/** Content height as the sum of the vertically stacked segment SVGs. */
|
|
329
|
+
private measureContentHeight;
|
|
330
|
+
/**
|
|
331
|
+
* Reports a WARN_overflow item when the rendered chart exceeds its
|
|
332
|
+
* container. Overflow attributable to a fixed scaling attribute is an
|
|
333
|
+
* error (height: unit-scaling / percentage-scaling, width: scale);
|
|
334
|
+
* overflow in fully-auto mode is a warning — auto-fit prevents it by
|
|
335
|
+
* construction, so it only fires when the content cannot fit at any scale.
|
|
336
|
+
*/
|
|
337
|
+
private checkOverflow;
|
|
319
338
|
componentDidRender(): void;
|
|
320
339
|
componentDidLoad(): void;
|
|
321
340
|
private _settleTimer;
|
|
@@ -339,8 +358,21 @@ export declare class Chart {
|
|
|
339
358
|
private prepareVariances;
|
|
340
359
|
private prepareHideAxisLabels;
|
|
341
360
|
private prepareI18n;
|
|
361
|
+
private autoUnitWarningActive;
|
|
362
|
+
private autoPctWarningActive;
|
|
363
|
+
private lastReportedUnitsPerEm?;
|
|
364
|
+
private lastReportedPpPerEm?;
|
|
365
|
+
/** "not set" for blank input, `invalid value "x"` otherwise — for AUTO_* messages. */
|
|
366
|
+
private static describeScalingInput;
|
|
342
367
|
private preparePixelPerUnit;
|
|
343
368
|
private preparePixelPerPercentage;
|
|
369
|
+
/**
|
|
370
|
+
* Receives the auto-fitted values from the inner ibcs-chart-time (px per
|
|
371
|
+
* unit / px per 1.0 fraction) and surfaces them in the AUTO_* warnings,
|
|
372
|
+
* converted back to the attribute's units-per-em form so users can copy
|
|
373
|
+
* them into a bn-scaling-group.
|
|
374
|
+
*/
|
|
375
|
+
private handleAutoScalingReport;
|
|
344
376
|
private prepareLevel;
|
|
345
377
|
private prepareOrder;
|
|
346
378
|
private prepareStyle;
|
|
@@ -361,6 +393,8 @@ export declare class Chart {
|
|
|
361
393
|
private prepareMaxBars;
|
|
362
394
|
chartTemplate(localScenarioString: string, idx: number): any;
|
|
363
395
|
private getEffectiveScaleFactor;
|
|
396
|
+
/** Effective font size in px: base font from the style store × effective scale factor. */
|
|
397
|
+
private getEffectiveFontPx;
|
|
364
398
|
private getFontStyles;
|
|
365
399
|
render(): any;
|
|
366
400
|
}
|