@bino-bi/bn-template-engine 1.0.0-alpha.5 → 1.0.0-alpha.7
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-0fabe296.entry.js +1 -0
- package/dist/bn-template-engine/p-1164c0b0.entry.js +1 -0
- package/dist/bn-template-engine/p-355abdf0.entry.js +1 -0
- package/dist/bn-template-engine/p-79KuA4Ox.js +1 -0
- package/dist/bn-template-engine/p-859cc06d.entry.js +1 -0
- package/dist/bn-template-engine/p-8acec99e.entry.js +1 -0
- package/dist/bn-template-engine/p-8f490c45.entry.js +1 -0
- package/dist/bn-template-engine/p-9721a5bb.entry.js +1 -0
- package/dist/bn-template-engine/p-9a564f8f.entry.js +1 -0
- package/dist/bn-template-engine/p-9cee22fa.entry.js +1 -0
- package/dist/bn-template-engine/{p-CL1RYuNU.js → p-B0lsgVuN.js} +1 -1
- package/dist/bn-template-engine/p-B7p8beYH.js +1 -0
- package/dist/bn-template-engine/p-BDh7GfC5.js +1 -0
- package/dist/bn-template-engine/p-BoMtoHJB.js +1 -0
- package/dist/bn-template-engine/p-Bs8BqBsb.js +1 -0
- package/dist/bn-template-engine/p-CYjZRKdI.js +1 -0
- package/dist/bn-template-engine/{p-P7pGJBgc.js → p-DG-1MR_T.js} +1 -1
- package/dist/bn-template-engine/p-Dnkv5rt8.js +1 -0
- package/dist/bn-template-engine/p-bdd2b243.entry.js +1 -0
- package/dist/bn-template-engine/p-f27995c9.entry.js +1 -0
- package/dist/bn-template-engine/p-f6ecb265.entry.js +1 -0
- package/dist/bn-template-engine/{p-Bnhh02CF.js → p-sRO-lj7X.js} +1 -1
- package/dist/bn-template-engine/p-tzFCK9qn.js +1 -0
- package/dist/cjs/{Order-iG11HI4R.js → Order-BGx39pS5.js} +448 -0
- package/dist/cjs/{alasql.min-C_nHTuEQ.js → SVGVariancesStyleGroup-BqAdPYtL.js} +8228 -3
- package/dist/cjs/bn-asset_16.cjs.entry.js +9099 -0
- package/dist/cjs/bn-card.cjs.entry.js +3 -4
- package/dist/cjs/bn-chart-time.cjs.entry.js +55 -24
- package/dist/cjs/bn-grid.cjs.entry.js +5 -8
- package/dist/cjs/bn-image.cjs.entry.js +5 -8
- package/dist/cjs/bn-internationalization.cjs.entry.js +3 -4
- package/dist/cjs/bn-layout-card.cjs.entry.js +156 -6
- package/dist/cjs/bn-template-engine.cjs.js +1 -1
- package/dist/cjs/bn-template.cjs.entry.js +2 -3
- package/dist/cjs/bn-text.cjs.entry.js +7 -11
- package/dist/cjs/bn-tree.cjs.entry.js +5 -8
- package/dist/cjs/{formatter-DIJL_crx.js → formatter-4XCS0d2B.js} +8 -2
- package/dist/cjs/ibcs-chart-time.cjs.entry.js +37 -42
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{scaling-9Tz595RQ.js → scaling-BidPsO53.js} +115 -12
- package/dist/cjs/{withBodyObserver-CKpSD8UT.js → withBodyObserver-C6gLgq_e.js} +3 -3
- package/dist/cjs/{withComponentStatus-Bw70BhO0.js → withComponentStatus-_x4LQZ0N.js} +5 -5
- package/dist/cjs/{withComponentStyle-aIbTCtfj.js → withComponentStyle-ClSJfCku.js} +4 -4
- package/dist/cjs/{utils-CwHIVbbL.js → withHasError-B8gHkfV2.js} +69 -1
- package/dist/cjs/withInheritedProps-BH2KNER3.js +157 -0
- package/dist/cjs/{withStyled-CS1Yp4sv.js → withStyled-9tG024gQ.js} +62 -9
- package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +46 -10
- package/dist/collection/components/bn-chart-time/bn-chart-time.js +44 -8
- package/dist/collection/components/bn-layout-card/bn-layout-card.css +1 -0
- package/dist/collection/components/bn-layout-card/bn-layout-card.js +193 -27
- package/dist/collection/components/bn-layout-page/bn-layout-page.css +1 -0
- package/dist/collection/components/bn-layout-page/bn-layout-page.js +151 -33
- package/dist/collection/components/bn-table/bn-table.js +59 -13
- package/dist/collection/utils/parentDimensions.js +38 -6
- package/dist/collection/utils/withInheritedProps.js +152 -0
- package/dist/components/bn-chart-structure.js +1 -1
- package/dist/components/bn-chart-time.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/scaling.js +1 -1
- package/dist/components/withInheritedProps.js +1 -0
- package/dist/esm/{Order-Bnhh02CF.js → Order-sRO-lj7X.js} +448 -1
- package/dist/esm/{alasql.min-CWu4NkIt.js → SVGVariancesStyleGroup-DOIT-zvI.js} +8212 -2
- package/dist/esm/bn-asset_16.entry.js +9082 -0
- package/dist/esm/bn-card.entry.js +4 -5
- package/dist/esm/bn-chart-time.entry.js +52 -21
- package/dist/esm/bn-grid.entry.js +6 -9
- package/dist/esm/bn-image.entry.js +6 -9
- package/dist/esm/bn-internationalization.entry.js +4 -5
- package/dist/esm/bn-layout-card.entry.js +157 -7
- package/dist/esm/bn-template-engine.js +1 -1
- package/dist/esm/bn-template.entry.js +2 -3
- package/dist/esm/bn-text.entry.js +7 -11
- package/dist/esm/bn-tree.entry.js +6 -9
- package/dist/esm/{context-protocol-BHnQsVsr.js → context-protocol-2peaD4y8.js} +1 -1
- package/dist/esm/editor-companion.entry.js +1 -1
- package/dist/esm/{formatter-DTMEZ6d8.js → formatter-BDh7GfC5.js} +6 -2
- package/dist/esm/ibcs-chart-time.entry.js +3 -8
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{scaling-Cehc74IE.js → scaling-BOcjT8M0.js} +112 -10
- package/dist/esm/{withBodyObserver-FQ8NwCIz.js → withBodyObserver-DczL5ia8.js} +1 -1
- package/dist/esm/{withComponentStatus-DWjDYtZ7.js → withComponentStatus-DodoSXe-.js} +1 -1
- package/dist/esm/{withComponentStyle-9uP_hcDq.js → withComponentStyle-D3VWOsto.js} +2 -2
- package/dist/esm/{utils-DvvwfRQG.js → withHasError-B3QX2emi.js} +69 -1
- package/dist/esm/withInheritedProps-BlXDxhHK.js +154 -0
- package/dist/esm/{withStyled--qQWquTH.js → withStyled-CE3_3taP.js} +57 -5
- package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +1 -0
- package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +1 -0
- package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +147 -0
- package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +154 -0
- package/dist/types/components/bn-table/bn-table.d.ts +1 -0
- package/dist/types/components.d.ts +168 -0
- package/dist/types/utils/parentDimensions.d.ts +6 -1
- package/dist/types/utils/withInheritedProps.d.ts +38 -0
- package/package.json +1 -1
- package/dist/bn-template-engine/p-1265d8d3.entry.js +0 -1
- package/dist/bn-template-engine/p-15516dac.entry.js +0 -1
- package/dist/bn-template-engine/p-1c716641.entry.js +0 -1
- package/dist/bn-template-engine/p-1jFf17Vj.js +0 -1
- package/dist/bn-template-engine/p-27cc8dc0.entry.js +0 -1
- package/dist/bn-template-engine/p-3b4c7425.entry.js +0 -1
- package/dist/bn-template-engine/p-4426d484.entry.js +0 -1
- package/dist/bn-template-engine/p-51f8dc9e.entry.js +0 -1
- package/dist/bn-template-engine/p-53d4e690.entry.js +0 -1
- package/dist/bn-template-engine/p-5KQYRQLK.js +0 -1
- package/dist/bn-template-engine/p-7337e03d.entry.js +0 -1
- package/dist/bn-template-engine/p-75e97c87.entry.js +0 -1
- package/dist/bn-template-engine/p-7a560278.entry.js +0 -1
- package/dist/bn-template-engine/p-BFTU3MAI.js +0 -1
- package/dist/bn-template-engine/p-BYBpC0EO.js +0 -1
- package/dist/bn-template-engine/p-BYmPQYxx.js +0 -1
- package/dist/bn-template-engine/p-BfXY5dsy.js +0 -1
- package/dist/bn-template-engine/p-BgnHJQ9Q.js +0 -1
- package/dist/bn-template-engine/p-Bhd_WSML.js +0 -1
- package/dist/bn-template-engine/p-Bka-Z6jo.js +0 -1
- package/dist/bn-template-engine/p-C7dQL8CS.js +0 -1
- package/dist/bn-template-engine/p-CYwd_ZNM.js +0 -1
- package/dist/bn-template-engine/p-ChlK-T9I.js +0 -1
- package/dist/bn-template-engine/p-DHezf8pZ.js +0 -1
- package/dist/bn-template-engine/p-DlppAFq9.js +0 -1
- package/dist/bn-template-engine/p-DvDDgmcV.js +0 -1
- package/dist/bn-template-engine/p-DvvwfRQG.js +0 -1
- package/dist/bn-template-engine/p-abc0067c.entry.js +0 -1
- package/dist/bn-template-engine/p-b34eaf86.entry.js +0 -1
- package/dist/bn-template-engine/p-bdb8b44c.entry.js +0 -1
- package/dist/bn-template-engine/p-c44fcb8e.entry.js +0 -1
- package/dist/bn-template-engine/p-c7e1a49b.entry.js +0 -1
- package/dist/bn-template-engine/p-d9003041.entry.js +0 -1
- package/dist/bn-template-engine/p-daa7ffa3.entry.js +0 -1
- package/dist/bn-template-engine/p-e084f50a.entry.js +0 -1
- package/dist/bn-template-engine/p-eaba6658.entry.js +0 -1
- package/dist/bn-template-engine/p-u8igQLRZ.js +0 -1
- package/dist/cjs/DataFormatDigits-DKcOeLNK.js +0 -142
- package/dist/cjs/DateStringFactory-CSKvbS8K.js +0 -452
- package/dist/cjs/SVGVariancesStyleGroup-K-Tw6lOD.js +0 -7960
- package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +0 -10
- package/dist/cjs/bn-asset.cjs.entry.js +0 -42
- package/dist/cjs/bn-body_4.cjs.entry.js +0 -748
- package/dist/cjs/bn-chart-structure_5.cjs.entry.js +0 -3948
- package/dist/cjs/bn-component-style.cjs.entry.js +0 -44
- package/dist/cjs/bn-dataset.cjs.entry.js +0 -306
- package/dist/cjs/bn-layout-page.cjs.entry.js +0 -143
- package/dist/cjs/bn-message.cjs.entry.js +0 -52
- package/dist/cjs/bn-table.cjs.entry.js +0 -981
- package/dist/cjs/contentDecoder-JxOldq1e.js +0 -419
- package/dist/cjs/emotion-hash.esm-nbbEQ0Dn.js +0 -57
- package/dist/cjs/ibcs-table.cjs.entry.js +0 -2276
- package/dist/cjs/ibcsRuleSet-DgUoXOfd.js +0 -136
- package/dist/cjs/index-Dm85hG6t.js +0 -65
- package/dist/cjs/withHasError-D7ue5vAv.js +0 -72
- package/dist/cjs/withTranslation-rwgyITqe.js +0 -77
- package/dist/esm/DataFormatDigits-oSZ1hBKE.js +0 -137
- package/dist/esm/DateStringFactory-CSGz6TDk.js +0 -450
- package/dist/esm/SVGVariancesStyleGroup-CqTjrZYg.js +0 -7950
- package/dist/esm/_commonjsHelpers-BFTU3MAI.js +0 -7
- package/dist/esm/bn-asset.entry.js +0 -40
- package/dist/esm/bn-body_4.entry.js +0 -743
- package/dist/esm/bn-chart-structure_5.entry.js +0 -3942
- package/dist/esm/bn-component-style.entry.js +0 -42
- package/dist/esm/bn-dataset.entry.js +0 -304
- package/dist/esm/bn-layout-page.entry.js +0 -141
- package/dist/esm/bn-message.entry.js +0 -50
- package/dist/esm/bn-table.entry.js +0 -979
- package/dist/esm/contentDecoder-oMmxz6nJ.js +0 -416
- package/dist/esm/emotion-hash.esm-BYBpC0EO.js +0 -55
- package/dist/esm/ibcs-table.entry.js +0 -2274
- package/dist/esm/ibcsRuleSet-K4ytuA1f.js +0 -133
- package/dist/esm/index-DHezf8pZ.js +0 -65
- package/dist/esm/withHasError-FyY5mQ_3.js +0 -70
- package/dist/esm/withTranslation-BqD0Kp7b.js +0 -75
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
2
|
+
|
|
3
|
+
function getDefaultExportFromCjs (x) {
|
|
4
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
5
|
+
}
|
|
2
6
|
|
|
3
7
|
/**
|
|
4
8
|
* Parses an IBCS variance column name into its constituent parts.
|
|
@@ -208,4 +212,4 @@ Formatter.tsdDelimiter = ".";
|
|
|
208
212
|
/** Replacement character for the decimal separator (default de-DE uses comma). */
|
|
209
213
|
Formatter.postfixSeperator = ",";
|
|
210
214
|
|
|
211
|
-
export { CalculateSize as C, Formatter as F, QueryColumnNames as Q, VarianceScenario as V };
|
|
215
|
+
export { CalculateSize as C, Formatter as F, QueryColumnNames as Q, VarianceScenario as V, commonjsGlobal as c, getDefaultExportFromCjs as g };
|
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-JNHhIe7t.js';
|
|
2
|
-
import { S as Svg, g as getContrastTextColor,
|
|
3
|
-
import {
|
|
4
|
-
import { C as CalculateSize, F as Formatter, V as VarianceScenario } from './formatter-
|
|
5
|
-
import { S as SiPrefix, D as DataAnalyzer, b as DataFormatDigitsAdapter } from './DataFormatDigits-oSZ1hBKE.js';
|
|
6
|
-
import { a as alasql } from './alasql.min-CWu4NkIt.js';
|
|
7
|
-
import { D as DateDistance, b as DateStringFactory } from './DateStringFactory-CSGz6TDk.js';
|
|
8
|
-
import { I as IBCSRuleSet, S as StringAdapter } from './ibcsRuleSet-K4ytuA1f.js';
|
|
9
|
-
import './_commonjsHelpers-BFTU3MAI.js';
|
|
2
|
+
import { S as Svg, a as SiPrefix, g as getContrastTextColor, I as IBCSRuleSet, b as alasql, c as getScenarioPrefix, d as IBCS_LAYER_ORDER, D as DataAnalyzer, e as StringAdapter, f as DataFormatDigitsAdapter, F as FontStyleAdapter, h as SVGStyleGroupAdapter, i as SVGStyleAdapter, j as SVGVariancesStyleGroupAdapter, P as PaddingAdapter } from './SVGVariancesStyleGroup-DOIT-zvI.js';
|
|
3
|
+
import { k as CompareUtil, l as DateTime, c as StackMode, D as DateDistance, A as AxisLabelsMode, C as ChartMode, m as DateStringFactory, S as StackBy, n as AdapterUtils, o as OrderAdapter, f as AggregationLevel, O as OrderDirection } from './Order-sRO-lj7X.js';
|
|
4
|
+
import { C as CalculateSize, F as Formatter, V as VarianceScenario } from './formatter-BDh7GfC5.js';
|
|
10
5
|
|
|
11
6
|
// import { IAdapter } from "../../../../../utils/helper/IAdapter";
|
|
12
7
|
// import { CompareUtil } from "../../../../../utils/helper/CompareUtil";
|
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-layout-page\",[[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]}]]],[\"bn-layout-card\",[[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]}]]],[\"bn-chart-time\",[[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\"],\"data\":[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}]}]]],[\"bn-table\",[[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],\"data\":[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}]}]]],[\"bn-asset\",[[1,\"bn-asset\",{\"name\":[1]}]]],[\"bn-component-style\",[[0,\"bn-component-style\",{\"name\":[1]}]]],[\"bn-dataset\",[[0,\"bn-dataset\",{\"name\":[1],\"datasources\":[1],\"static\":[4],\"raw\":[4]},null,{\"name\":[{\"nameUpdated\":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\"],\"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-card\",[[257,\"bn-card\"]]],[\"bn-message\",[[1,\"bn-message\",{\"text\":[1025],\"image\":[1]}]]],[\"ibcs-chart-time\",[[1,\"ibcs-chart-time\",{\"data\":[16],\"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]}]]],[\"ibcs-table\",[[1,\"ibcs-table\",{\"data\":[16],\"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\"]}]]],[\"bn-chart-structure_5\",[[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],\"data\":[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}]}],[257,\"bn-context\",{\"locale\":[1]},null,{\"locale\":[{\"setLocale\":0}]}],[0,\"bn-datasource\",{\"name\":[1],\"raw\":[4]}],[257,\"bn-page\",{\"format\":[1],\"orientation\":[1]},null,{\"format\":[{\"validateFormat\":0}],\"orientation\":[{\"validateOrientation\":0}]}],[1,\"ibcs-chart-structure\",{\"data\":[16],\"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]}]]],[\"bn-body_4\",[[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-layout-card\",[[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]}]]],[\"bn-chart-time\",[[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\"],\"data\":[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}]}]]],[\"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-card\",[[257,\"bn-card\"]]],[\"ibcs-chart-time\",[[1,\"ibcs-chart-time\",{\"data\":[16],\"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]}]]],[\"bn-asset_16\",[[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]}],[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],\"data\":[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-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],\"data\":[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]},null,{\"name\":[{\"nameUpdated\":0}]}],[0,\"bn-datasource\",{\"name\":[1],\"raw\":[4]}],[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\",{\"data\":[16],\"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-table\",{\"data\":[16],\"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);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { defineCustomElements };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as runIfExisits } from './
|
|
3
|
-
import { g as getElement } from './index-JNHhIe7t.js';
|
|
1
|
+
import { a as getStores, c as clearStoresCache } from './context-protocol-2peaD4y8.js';
|
|
2
|
+
import { r as runIfExisits } from './withHasError-B3QX2emi.js';
|
|
3
|
+
import { g as getElement, f as forceUpdate } from './index-JNHhIe7t.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Splits an array into two groups based on a predicate.
|
|
@@ -141,16 +141,91 @@ component, onUpdate, onMetaUpdate) => {
|
|
|
141
141
|
};
|
|
142
142
|
};
|
|
143
143
|
|
|
144
|
+
/**
|
|
145
|
+
* Mixin that provides i18n translation support to a Stencil component.
|
|
146
|
+
*
|
|
147
|
+
* Returns an object with a `t(key, data?)` function for looking up translated strings.
|
|
148
|
+
*
|
|
149
|
+
* **Key resolution shortcuts:**
|
|
150
|
+
* - A key starting with `.` (e.g. `.label`) is expanded to `<component-tag>.label`,
|
|
151
|
+
* allowing components to reference their own translations concisely.
|
|
152
|
+
* - If the key is not found in the component's namespace, the `_system` namespace
|
|
153
|
+
* is used as a fallback.
|
|
154
|
+
*
|
|
155
|
+
* **Mustache-style interpolation:** `{{variable}}` placeholders in translation
|
|
156
|
+
* templates are replaced with values from the optional `data` object.
|
|
157
|
+
*
|
|
158
|
+
* The mixin observes the `namespace` attribute on the host element and re-renders
|
|
159
|
+
* the component when the locale store updates for the active namespace.
|
|
160
|
+
*
|
|
161
|
+
* @param component - The Stencil component instance
|
|
162
|
+
* @returns Object containing the `t` translation function
|
|
163
|
+
*/
|
|
164
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
165
|
+
const withTranslation = (component) => {
|
|
166
|
+
let subscription;
|
|
167
|
+
let namespace = undefined;
|
|
168
|
+
let stores;
|
|
169
|
+
const observer = new MutationObserver((mutations) => {
|
|
170
|
+
mutations.forEach((mutation) => {
|
|
171
|
+
if (mutation.attributeName === "namespace") {
|
|
172
|
+
namespace = getElement(component).getAttribute("namespace");
|
|
173
|
+
forceUpdate(component);
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
});
|
|
177
|
+
const connectedCallback = component["connectedCallback"];
|
|
178
|
+
component["connectedCallback"] = () => {
|
|
179
|
+
const element = getElement(component);
|
|
180
|
+
stores = getStores(element);
|
|
181
|
+
observer.observe(element, { attributes: true, attributeFilter: ["namespace"] });
|
|
182
|
+
namespace = getElement(component).getAttribute("namespace");
|
|
183
|
+
subscription = stores.internationalization.on("set", (key, _value) => {
|
|
184
|
+
if (key === namespace) {
|
|
185
|
+
forceUpdate(component);
|
|
186
|
+
}
|
|
187
|
+
});
|
|
188
|
+
runIfExisits(connectedCallback, component);
|
|
189
|
+
};
|
|
190
|
+
const disconnectedCallback = component["disconnectedCallback"];
|
|
191
|
+
component["disconnectedCallback"] = () => {
|
|
192
|
+
observer.disconnect();
|
|
193
|
+
runIfExisits(subscription);
|
|
194
|
+
clearStoresCache(getElement(component));
|
|
195
|
+
runIfExisits(disconnectedCallback, component);
|
|
196
|
+
};
|
|
197
|
+
const t = (key, data) => {
|
|
198
|
+
var _a, _b;
|
|
199
|
+
if (key.startsWith(".")) {
|
|
200
|
+
key = getElement(component).localName + key;
|
|
201
|
+
}
|
|
202
|
+
const locales = stores.internationalization.state;
|
|
203
|
+
const locale = stores.context.state.locale;
|
|
204
|
+
let currentNamespace = namespace;
|
|
205
|
+
if (((_b = (_a = locales[currentNamespace]) === null || _a === void 0 ? void 0 : _a[locale]) === null || _b === void 0 ? void 0 : _b[key]) == null) {
|
|
206
|
+
currentNamespace = "_system";
|
|
207
|
+
}
|
|
208
|
+
const tpl = locales[currentNamespace][locale][key];
|
|
209
|
+
return tpl.replace(/{{([\s\S]+?)}}/g, (_, k) => { var _a; return (_a = data === null || data === void 0 ? void 0 : data[k.trim()]) !== null && _a !== void 0 ? _a : ""; });
|
|
210
|
+
};
|
|
211
|
+
return { t };
|
|
212
|
+
};
|
|
213
|
+
|
|
144
214
|
/**
|
|
145
215
|
* Returns the available dimensions for a component.
|
|
146
216
|
*
|
|
147
|
-
* Width: parent content-box width (excluding padding).
|
|
217
|
+
* Width: visual parent's content-box width (excluding padding).
|
|
148
218
|
* Height: walks up the DOM to find the nearest ancestor with a constrained
|
|
149
219
|
* height (overflow !== 'visible' or explicit max-height). Falls back to
|
|
150
220
|
* the viewport height when every ancestor auto-grows with its content.
|
|
221
|
+
*
|
|
222
|
+
* When the component is slotted into a shadow DOM (e.g. inside
|
|
223
|
+
* bn-layout-page or bn-layout-card), the light DOM parentElement is NOT the
|
|
224
|
+
* visual container. We cross the light→shadow boundary via assignedSlot to
|
|
225
|
+
* find the actual slot wrapper that determines layout.
|
|
151
226
|
*/
|
|
152
227
|
function getParentDimensions(element) {
|
|
153
|
-
const parent = element
|
|
228
|
+
const parent = findLayoutParent(element);
|
|
154
229
|
if (!parent) {
|
|
155
230
|
return { width: 0, height: 0 };
|
|
156
231
|
}
|
|
@@ -159,13 +234,40 @@ function getParentDimensions(element) {
|
|
|
159
234
|
const height = findConstrainedHeight(element);
|
|
160
235
|
return { width: Math.max(0, width), height: Math.max(0, height) };
|
|
161
236
|
}
|
|
237
|
+
/**
|
|
238
|
+
* Returns the visual layout parent of an element, crossing the
|
|
239
|
+
* light→shadow DOM boundary when the element's parent is slotted.
|
|
240
|
+
*
|
|
241
|
+
* For a slotted element, the light DOM parentElement is NOT where
|
|
242
|
+
* the element renders visually. The actual container is the shadow
|
|
243
|
+
* DOM element that wraps the <slot>. We reach it via assignedSlot.
|
|
244
|
+
*/
|
|
245
|
+
function findLayoutParent(element) {
|
|
246
|
+
var _a;
|
|
247
|
+
const lightParent = element.parentElement;
|
|
248
|
+
if ((_a = lightParent === null || lightParent === void 0 ? void 0 : lightParent.assignedSlot) === null || _a === void 0 ? void 0 : _a.parentElement) {
|
|
249
|
+
return lightParent.assignedSlot.parentElement;
|
|
250
|
+
}
|
|
251
|
+
return lightParent;
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Returns the visual parent, crossing shadow DOM boundaries via assignedSlot.
|
|
255
|
+
*/
|
|
256
|
+
function getVisualParent(element) {
|
|
257
|
+
var _a;
|
|
258
|
+
if ((_a = element.assignedSlot) === null || _a === void 0 ? void 0 : _a.parentElement) {
|
|
259
|
+
return element.assignedSlot.parentElement;
|
|
260
|
+
}
|
|
261
|
+
return element.parentElement;
|
|
262
|
+
}
|
|
162
263
|
/**
|
|
163
264
|
* Walks up the ancestor chain to find a height that is actually constrained
|
|
164
|
-
* (not just "whatever my content needs").
|
|
165
|
-
*
|
|
265
|
+
* (not just "whatever my content needs"). Crosses shadow DOM boundaries
|
|
266
|
+
* via assignedSlot when encountering slotted elements. Returns viewport
|
|
267
|
+
* height as a last resort.
|
|
166
268
|
*/
|
|
167
269
|
function findConstrainedHeight(element) {
|
|
168
|
-
let current = element
|
|
270
|
+
let current = findLayoutParent(element);
|
|
169
271
|
while (current) {
|
|
170
272
|
const style = getComputedStyle(current);
|
|
171
273
|
const overflow = style.overflowY;
|
|
@@ -180,7 +282,7 @@ function findConstrainedHeight(element) {
|
|
|
180
282
|
return Math.min(mh, current.clientHeight - parseFloat(style.paddingTop) - parseFloat(style.paddingBottom));
|
|
181
283
|
}
|
|
182
284
|
}
|
|
183
|
-
current = current
|
|
285
|
+
current = getVisualParent(current);
|
|
184
286
|
}
|
|
185
287
|
// No constrained ancestor found — use viewport
|
|
186
288
|
return typeof window !== "undefined" ? window.innerHeight : 0;
|
|
@@ -204,4 +306,4 @@ function parseScaling(scale) {
|
|
|
204
306
|
return { mode: "empty" };
|
|
205
307
|
}
|
|
206
308
|
|
|
207
|
-
export { getParentDimensions as g, parseScaling as p, withDataset as w };
|
|
309
|
+
export { withTranslation as a, getParentDimensions as g, parseScaling as p, withDataset as w };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as getElement, f as forceUpdate } from './index-JNHhIe7t.js';
|
|
2
|
-
import {
|
|
3
|
-
import { r as runIfExisits } from './
|
|
2
|
+
import { a as getStores, c as clearStoresCache } from './context-protocol-2peaD4y8.js';
|
|
3
|
+
import { r as runIfExisits } from './withHasError-B3QX2emi.js';
|
|
4
4
|
|
|
5
5
|
const isObject = (obj) => {
|
|
6
6
|
if (typeof obj === 'object' && obj !== null) {
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { g as getElement } from './index-JNHhIe7t.js';
|
|
2
|
+
|
|
1
3
|
/** Concatenates name parts with spaces, skipping falsy segments. */
|
|
2
4
|
/**
|
|
3
5
|
* Safely invokes `fn` if it is a function; otherwise does nothing.
|
|
@@ -79,4 +81,70 @@ const ref = (value, onChange) => {
|
|
|
79
81
|
};
|
|
80
82
|
};
|
|
81
83
|
|
|
82
|
-
|
|
84
|
+
const urlAlphabet =
|
|
85
|
+
'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
|
|
86
|
+
|
|
87
|
+
/* @ts-self-types="./index.d.ts" */
|
|
88
|
+
let nanoid = (size = 21) => {
|
|
89
|
+
let id = '';
|
|
90
|
+
let bytes = crypto.getRandomValues(new Uint8Array((size |= 0)));
|
|
91
|
+
while (size--) {
|
|
92
|
+
id += urlAlphabet[bytes[size] & 63];
|
|
93
|
+
}
|
|
94
|
+
return id
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Mixin that provides an {@link ErrorDispatcher} for managing validation
|
|
99
|
+
* errors and warnings on a component.
|
|
100
|
+
*
|
|
101
|
+
* Errors are stored internally via a reactive {@link ref}. On every change,
|
|
102
|
+
* the host element's `has-error` attribute is updated with a JSON-serialized
|
|
103
|
+
* array of {@link ErrorItem}s (or removed when empty). This allows external
|
|
104
|
+
* CSS selectors and parent components to detect error states declaratively.
|
|
105
|
+
*
|
|
106
|
+
* @param component - The Stencil component instance
|
|
107
|
+
* @returns An {@link ErrorDispatcher} for adding, replacing, and removing errors
|
|
108
|
+
*/
|
|
109
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
110
|
+
const withHasError = (component) => {
|
|
111
|
+
const { set, modify } = ref([], (items) => {
|
|
112
|
+
const elm = getElement(component);
|
|
113
|
+
if (items.length === 0) {
|
|
114
|
+
elm.removeAttribute("has-error");
|
|
115
|
+
}
|
|
116
|
+
else {
|
|
117
|
+
elm.setAttribute("has-error", JSON.stringify(items));
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
return {
|
|
121
|
+
clear: () => {
|
|
122
|
+
set([]);
|
|
123
|
+
},
|
|
124
|
+
replace: (errors) => {
|
|
125
|
+
set(errors.map((item) => {
|
|
126
|
+
if (!item.id) {
|
|
127
|
+
item.id = nanoid();
|
|
128
|
+
}
|
|
129
|
+
return item;
|
|
130
|
+
}));
|
|
131
|
+
},
|
|
132
|
+
add: (error) => {
|
|
133
|
+
if (!error.id)
|
|
134
|
+
error.id = nanoid();
|
|
135
|
+
modify((current) => [...current, error]);
|
|
136
|
+
return error.id;
|
|
137
|
+
},
|
|
138
|
+
addOrReplace: (error) => {
|
|
139
|
+
if (error.id === undefined)
|
|
140
|
+
throw "missing";
|
|
141
|
+
modify((current) => [...current.filter((item) => item.id !== error.id), error]);
|
|
142
|
+
return error.id;
|
|
143
|
+
},
|
|
144
|
+
remove: (id) => {
|
|
145
|
+
modify((current) => current.filter((item) => item.id !== id));
|
|
146
|
+
},
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
export { generateUUID as g, runIfExisits as r, withHasError as w };
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { g as getElement, f as forceUpdate } from './index-JNHhIe7t.js';
|
|
2
|
+
import { r as runIfExisits } from './withHasError-B3QX2emi.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Reserved prop values that activate inheritance from ancestor layout
|
|
6
|
+
* components (`bn-layout-card` or `bn-layout-page`).
|
|
7
|
+
*/
|
|
8
|
+
const INHERITED_CLOSEST = "inherited-closest";
|
|
9
|
+
const INHERITED_PAGE = "inherited-page";
|
|
10
|
+
/** Tags that qualify as inheritance ancestors. */
|
|
11
|
+
const ANCESTOR_CARD = "bn-layout-card";
|
|
12
|
+
const ANCESTOR_PAGE = "bn-layout-page";
|
|
13
|
+
/**
|
|
14
|
+
* Returns `true` when `value` is one of the recognised inheritance keywords.
|
|
15
|
+
*/
|
|
16
|
+
function isInheritedValue(value) {
|
|
17
|
+
return value === INHERITED_CLOSEST || value === INHERITED_PAGE;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Walks up the DOM tree (crossing shadow boundaries) to find the nearest
|
|
21
|
+
* ancestor layout component.
|
|
22
|
+
*
|
|
23
|
+
* - `"inherited-closest"` matches the first `bn-layout-card` or `bn-layout-page`.
|
|
24
|
+
* - `"inherited-page"` skips cards and matches only `bn-layout-page`.
|
|
25
|
+
*
|
|
26
|
+
* Uses the same traversal pattern as `findContextElement` in
|
|
27
|
+
* `context-protocol.ts`.
|
|
28
|
+
*/
|
|
29
|
+
function findAncestor(element, mode) {
|
|
30
|
+
let current = element.parentNode;
|
|
31
|
+
while (current) {
|
|
32
|
+
if (current instanceof HTMLElement) {
|
|
33
|
+
const tag = current.nodeName.toLowerCase();
|
|
34
|
+
if (mode === INHERITED_PAGE) {
|
|
35
|
+
if (tag === ANCESTOR_PAGE)
|
|
36
|
+
return current;
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
if (tag === ANCESTOR_CARD || tag === ANCESTOR_PAGE)
|
|
40
|
+
return current;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
if (current.parentNode) {
|
|
44
|
+
current = current.parentNode;
|
|
45
|
+
}
|
|
46
|
+
else if (current instanceof ShadowRoot) {
|
|
47
|
+
current = current.host;
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return undefined;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Mixin that enables property inheritance from ancestor layout components.
|
|
57
|
+
*
|
|
58
|
+
* When a component sets a prop to `"inherited-closest"` or `"inherited-page"`,
|
|
59
|
+
* this mixin resolves the actual value by walking up the DOM to find the
|
|
60
|
+
* nearest `bn-layout-card` / `bn-layout-page` and reading the corresponding
|
|
61
|
+
* HTML attribute. A `MutationObserver` watches the ancestor for attribute
|
|
62
|
+
* changes, triggering a re-render when inherited values update.
|
|
63
|
+
*
|
|
64
|
+
* Follows the same decorator-style pattern as `withComponentStyle`.
|
|
65
|
+
*
|
|
66
|
+
* @param component The Stencil component instance
|
|
67
|
+
* @param mappings Array of prop-to-attribute mappings
|
|
68
|
+
* @returns A resolver function used inside `prepare*()` methods
|
|
69
|
+
*/
|
|
70
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
71
|
+
const withInheritedProps = (component, mappings) => {
|
|
72
|
+
/** Resolved values keyed by propName. */
|
|
73
|
+
const resolved = new Map();
|
|
74
|
+
/** Observer watching the ancestor element's attributes. */
|
|
75
|
+
let observer = null;
|
|
76
|
+
/** The ancestor element currently being observed. */
|
|
77
|
+
let ancestorEl;
|
|
78
|
+
/**
|
|
79
|
+
* For each mapping whose prop is an inheritance keyword, walk the DOM once
|
|
80
|
+
* and read the corresponding attribute from the ancestor.
|
|
81
|
+
*/
|
|
82
|
+
const resolveAll = () => {
|
|
83
|
+
const element = getElement(component);
|
|
84
|
+
resolved.clear();
|
|
85
|
+
// Determine which attrs to watch on which ancestor
|
|
86
|
+
const attrsToWatch = [];
|
|
87
|
+
for (const mapping of mappings) {
|
|
88
|
+
const value = component[mapping.propName];
|
|
89
|
+
if (typeof value !== "string" || !isInheritedValue(value))
|
|
90
|
+
continue;
|
|
91
|
+
// Find ancestor (re-use the first one found for the same mode)
|
|
92
|
+
if (!ancestorEl) {
|
|
93
|
+
ancestorEl = findAncestor(element, value);
|
|
94
|
+
}
|
|
95
|
+
if (!ancestorEl)
|
|
96
|
+
continue;
|
|
97
|
+
const attrValue = ancestorEl.getAttribute(mapping.ancestorAttr);
|
|
98
|
+
if (attrValue != null) {
|
|
99
|
+
resolved.set(mapping.propName, attrValue);
|
|
100
|
+
}
|
|
101
|
+
attrsToWatch.push(mapping.ancestorAttr);
|
|
102
|
+
}
|
|
103
|
+
// Set up MutationObserver on the ancestor
|
|
104
|
+
if (ancestorEl && attrsToWatch.length > 0) {
|
|
105
|
+
observer = new MutationObserver(() => {
|
|
106
|
+
// Re-read all inherited attributes from the ancestor
|
|
107
|
+
for (const mapping of mappings) {
|
|
108
|
+
if (!isInheritedValue(component[mapping.propName]))
|
|
109
|
+
continue;
|
|
110
|
+
const attrValue = ancestorEl.getAttribute(mapping.ancestorAttr);
|
|
111
|
+
if (attrValue != null) {
|
|
112
|
+
resolved.set(mapping.propName, attrValue);
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
resolved.delete(mapping.propName);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
forceUpdate(component);
|
|
119
|
+
});
|
|
120
|
+
observer.observe(ancestorEl, {
|
|
121
|
+
attributes: true,
|
|
122
|
+
attributeFilter: attrsToWatch,
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
const connectedCallback = component["connectedCallback"];
|
|
127
|
+
component["connectedCallback"] = () => {
|
|
128
|
+
resolveAll();
|
|
129
|
+
runIfExisits(connectedCallback, component);
|
|
130
|
+
};
|
|
131
|
+
const disconnectedCallback = component["disconnectedCallback"];
|
|
132
|
+
component["disconnectedCallback"] = () => {
|
|
133
|
+
if (observer) {
|
|
134
|
+
observer.disconnect();
|
|
135
|
+
observer = null;
|
|
136
|
+
}
|
|
137
|
+
ancestorEl = undefined;
|
|
138
|
+
resolved.clear();
|
|
139
|
+
runIfExisits(disconnectedCallback, component);
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* Resolver: returns the inherited value for the given prop, or `undefined`
|
|
143
|
+
* when the prop is not using inheritance (so the caller falls through to
|
|
144
|
+
* its normal logic).
|
|
145
|
+
*/
|
|
146
|
+
const resolve = (propName, currentValue) => {
|
|
147
|
+
if (!isInheritedValue(currentValue))
|
|
148
|
+
return undefined;
|
|
149
|
+
return resolved.get(propName);
|
|
150
|
+
};
|
|
151
|
+
return resolve;
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
export { isInheritedValue as i, withInheritedProps as w };
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { h as Scenarios, i as Sentiments, j as AggregationLevel, a as OrderColumn, O as OrderDirection, A as AxisLabelsMode, e as TableBarColumnWidth, d as DataFormat, k as TableType, M as MeasureType, T as TableCategoryWidth } from './Order-Bnhh02CF.js';
|
|
3
|
-
import { D as DateDistance, a as DateLink } from './DateStringFactory-CSGz6TDk.js';
|
|
1
|
+
import { d as Scenarios, e as Sentiments, f as AggregationLevel, a as OrderColumn, O as OrderDirection, T as TableBarColumnWidth, g as DataFormat, h as TableType, M as MeasureType, i as TableCategoryWidth, D as DateDistance, j as DateLink, A as AxisLabelsMode } from './Order-sRO-lj7X.js';
|
|
4
2
|
import { f as forceUpdate, g as getElement } from './index-JNHhIe7t.js';
|
|
5
|
-
import { r as runIfExisits } from './
|
|
3
|
+
import { r as runIfExisits } from './withHasError-B3QX2emi.js';
|
|
6
4
|
|
|
7
5
|
/**
|
|
8
6
|
* Prop validators for Stencil @Watch handlers.
|
|
@@ -263,6 +261,60 @@ class StyleSheet {
|
|
|
263
261
|
}
|
|
264
262
|
const styleSheet = new StyleSheet();
|
|
265
263
|
|
|
264
|
+
/* eslint-disable */
|
|
265
|
+
// Inspired by https://github.com/garycourt/murmurhash-js
|
|
266
|
+
// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86
|
|
267
|
+
function murmur2(str) {
|
|
268
|
+
// 'm' and 'r' are mixing constants generated offline.
|
|
269
|
+
// They're not really 'magic', they just happen to work well.
|
|
270
|
+
// const m = 0x5bd1e995;
|
|
271
|
+
// const r = 24;
|
|
272
|
+
// Initialize the hash
|
|
273
|
+
var h = 0; // Mix 4 bytes at a time into the hash
|
|
274
|
+
|
|
275
|
+
var k,
|
|
276
|
+
i = 0,
|
|
277
|
+
len = str.length;
|
|
278
|
+
|
|
279
|
+
for (; len >= 4; ++i, len -= 4) {
|
|
280
|
+
k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;
|
|
281
|
+
k =
|
|
282
|
+
/* Math.imul(k, m): */
|
|
283
|
+
(k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);
|
|
284
|
+
k ^=
|
|
285
|
+
/* k >>> r: */
|
|
286
|
+
k >>> 24;
|
|
287
|
+
h =
|
|
288
|
+
/* Math.imul(k, m): */
|
|
289
|
+
(k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^
|
|
290
|
+
/* Math.imul(h, m): */
|
|
291
|
+
(h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
|
|
292
|
+
} // Handle the last few bytes of the input array
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
switch (len) {
|
|
296
|
+
case 3:
|
|
297
|
+
h ^= (str.charCodeAt(i + 2) & 0xff) << 16;
|
|
298
|
+
|
|
299
|
+
case 2:
|
|
300
|
+
h ^= (str.charCodeAt(i + 1) & 0xff) << 8;
|
|
301
|
+
|
|
302
|
+
case 1:
|
|
303
|
+
h ^= str.charCodeAt(i) & 0xff;
|
|
304
|
+
h =
|
|
305
|
+
/* Math.imul(h, m): */
|
|
306
|
+
(h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
|
|
307
|
+
} // Do a few final mixes of the hash to ensure the last few
|
|
308
|
+
// bytes are well-incorporated.
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
h ^= h >>> 13;
|
|
312
|
+
h =
|
|
313
|
+
/* Math.imul(h, m): */
|
|
314
|
+
(h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
|
|
315
|
+
return ((h ^ h >>> 15) >>> 0).toString(36);
|
|
316
|
+
}
|
|
317
|
+
|
|
266
318
|
const transofrmToUnitString = (value) => {
|
|
267
319
|
if (isValidNumber(value)) {
|
|
268
320
|
return `${value}px`;
|
|
@@ -440,4 +492,4 @@ const withStyled = (component) => {
|
|
|
440
492
|
};
|
|
441
493
|
};
|
|
442
494
|
|
|
443
|
-
export { validateVariancesList as a, isValidInteger as b, isValidLevel as c, validateOrderList as d, isValidDirection as e, isValidDateFormat as f, validateStackConfig as g, isValidAxisLabelsMode as h, isValidNumber as i, isValidBoolean as j, isValidMeasureScale as k, isBlankInput as l,
|
|
495
|
+
export { validateVariancesList as a, isValidInteger as b, isValidLevel as c, validateOrderList as d, isValidDirection as e, isValidDateFormat as f, validateStackConfig as g, isValidAxisLabelsMode as h, isValidNumber as i, isValidBoolean as j, isValidMeasureScale as k, isBlankInput as l, murmur2 as m, isTableBarColumnWidth as n, isValidDataFormat as o, isValidTableType as p, validateThereOfJsonStr as q, validatePartOfJsonStr as r, isValidMeasureType as s, isTableCategoryWidth as t, validateColumnThereOfJsonStr as u, validateScenarioList as v, withStyled as w, validateMeasureList as x, isValidDate as y, isValidDateLink as z };
|
|
@@ -18,6 +18,7 @@ export declare class Chart {
|
|
|
18
18
|
private readonly t;
|
|
19
19
|
private readonly componentStyle;
|
|
20
20
|
private readonly errors;
|
|
21
|
+
private readonly resolveInherited;
|
|
21
22
|
/**
|
|
22
23
|
* Title displayed above the chart. When empty, the title is derived
|
|
23
24
|
* from the variance scenario labels (if variances are configured).
|