@bino-bi/bn-template-engine 1.0.0-alpha.3 → 1.0.0-alpha.4
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-1265d8d3.entry.js +1 -0
- package/dist/bn-template-engine/p-15516dac.entry.js +1 -0
- package/dist/bn-template-engine/p-1c716641.entry.js +1 -0
- package/dist/bn-template-engine/p-27cc8dc0.entry.js +1 -0
- package/dist/bn-template-engine/p-4426d484.entry.js +1 -0
- package/dist/bn-template-engine/p-51f8dc9e.entry.js +1 -0
- package/dist/bn-template-engine/p-53d4e690.entry.js +1 -0
- package/dist/bn-template-engine/p-5KQYRQLK.js +1 -0
- package/dist/bn-template-engine/p-745f4596.entry.js +1 -0
- package/dist/bn-template-engine/{p-0f1504f3.entry.js → p-75e97c87.entry.js} +1 -1
- package/dist/bn-template-engine/p-7a560278.entry.js +1 -0
- package/dist/bn-template-engine/p-7ea7c325.entry.js +1 -0
- package/dist/bn-template-engine/p-945cc95d.entry.js +1 -0
- package/dist/bn-template-engine/p-BYBpC0EO.js +1 -0
- package/dist/bn-template-engine/p-BfXY5dsy.js +1 -0
- package/dist/bn-template-engine/p-BgnHJQ9Q.js +1 -0
- package/dist/bn-template-engine/{p-B4ySv9KQ.js → p-Bhd_WSML.js} +1 -1
- package/dist/bn-template-engine/p-Bka-Z6jo.js +1 -0
- package/dist/bn-template-engine/p-Bnhh02CF.js +1 -0
- package/dist/bn-template-engine/p-C7dQL8CS.js +1 -0
- package/dist/bn-template-engine/p-CL1RYuNU.js +1 -0
- package/dist/bn-template-engine/p-CYwd_ZNM.js +1 -0
- package/dist/bn-template-engine/p-ChlK-T9I.js +1 -0
- package/dist/bn-template-engine/p-DHezf8pZ.js +1 -0
- package/dist/bn-template-engine/{p-DVMu6dEy.js → p-DlppAFq9.js} +1 -1
- package/dist/bn-template-engine/p-DvDDgmcV.js +1 -0
- package/dist/bn-template-engine/p-DvvwfRQG.js +1 -0
- package/dist/bn-template-engine/{p-DG-1MR_T.js → p-P7pGJBgc.js} +1 -1
- package/dist/bn-template-engine/p-b34eaf86.entry.js +1 -0
- package/dist/bn-template-engine/p-bdb8b44c.entry.js +1 -0
- package/dist/bn-template-engine/p-c44fcb8e.entry.js +1 -0
- package/dist/bn-template-engine/p-c7e1a49b.entry.js +1 -0
- package/dist/bn-template-engine/p-d9003041.entry.js +1 -0
- package/dist/bn-template-engine/p-daa7ffa3.entry.js +1 -0
- package/dist/bn-template-engine/p-e084f50a.entry.js +1 -0
- package/dist/bn-template-engine/p-eaba6658.entry.js +1 -0
- package/dist/bn-template-engine/{p-C0yAPzJz.js → p-u8igQLRZ.js} +1 -1
- package/dist/cjs/{DataFormatDigits-DAmZzqbD.js → DataFormatDigits-DKcOeLNK.js} +1 -1
- package/dist/cjs/{DateStringFactory-CcluhpGI.js → DateStringFactory-CSKvbS8K.js} +1 -1
- package/dist/cjs/{Order-BKoDS21t.js → Order-iG11HI4R.js} +8 -5
- package/dist/cjs/{SVGVariancesStyleGroup-DYYAU-81.js → SVGVariancesStyleGroup-K-Tw6lOD.js} +1 -14
- package/dist/cjs/bn-asset.cjs.entry.js +5 -4
- package/dist/cjs/bn-body_4.cjs.entry.js +15 -13
- package/dist/cjs/bn-card.cjs.entry.js +5 -4
- package/dist/cjs/{ibcs-chart-structure.cjs.entry.js → bn-chart-structure_5.cjs.entry.js} +1058 -28
- package/dist/cjs/bn-chart-time.cjs.entry.js +38 -12
- package/dist/cjs/bn-component-style.cjs.entry.js +5 -4
- package/dist/cjs/bn-dataset.cjs.entry.js +38 -9
- package/dist/cjs/bn-grid.cjs.entry.js +9 -7
- package/dist/cjs/bn-image.cjs.entry.js +9 -7
- package/dist/cjs/bn-internationalization.cjs.entry.js +5 -4
- package/dist/cjs/bn-layout-card.cjs.entry.js +3 -2
- package/dist/cjs/bn-layout-page.cjs.entry.js +2 -1
- package/dist/cjs/bn-message.cjs.entry.js +5 -4
- package/dist/cjs/bn-table.cjs.entry.js +979 -0
- package/dist/cjs/bn-template-engine.cjs.js +1 -1
- package/dist/cjs/bn-template.cjs.entry.js +3 -2
- package/dist/cjs/bn-text.cjs.entry.js +11 -9
- package/dist/cjs/bn-tree.cjs.entry.js +9 -7
- package/dist/cjs/contentDecoder-JxOldq1e.js +419 -0
- package/dist/cjs/{context-protocol-CRPmux5D.js → context-protocol-DRQWrwsA.js} +2 -0
- package/dist/cjs/editor-companion.cjs.entry.js +1 -1
- package/dist/cjs/emotion-hash.esm-nbbEQ0Dn.js +57 -0
- package/dist/cjs/ibcs-chart-time.cjs.entry.js +22 -18
- package/dist/cjs/{bn-context_5.cjs.entry.js → ibcs-table.cjs.entry.js} +122 -1293
- package/dist/cjs/{StringAdapter-Bneo8T4k.js → ibcsRuleSet-DgUoXOfd.js} +10 -10
- package/dist/cjs/index-Dm85hG6t.js +65 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{scaling-D8sIIKft.js → scaling-9Tz595RQ.js} +7 -7
- package/dist/cjs/{withHasError-B8gHkfV2.js → utils-CwHIVbbL.js} +1 -69
- package/dist/cjs/{withBodyObserver-C6gLgq_e.js → withBodyObserver-CKpSD8UT.js} +3 -3
- package/dist/cjs/{withComponentStatus-_x4LQZ0N.js → withComponentStatus-Bw70BhO0.js} +5 -5
- package/dist/cjs/{withComponentStyle-DMtic_9Y.js → withComponentStyle-aIbTCtfj.js} +5 -5
- package/dist/cjs/withHasError-D7ue5vAv.js +72 -0
- package/dist/cjs/{withStyled-CW30Bh6c.js → withStyled-CS1Yp4sv.js} +8 -61
- package/dist/cjs/{withTranslation-CWPAIRjh.js → withTranslation-rwgyITqe.js} +5 -5
- package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +226 -99
- package/dist/collection/components/bn-chart-structure/ibcs-chart-structure.js +13 -3
- package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +94 -11
- package/dist/collection/components/bn-chart-structure/utils/elements/StackedBar.js +3 -4
- package/dist/collection/components/bn-chart-structure/utils/model/styles/StructureChartStyle.js +4 -0
- package/dist/collection/components/bn-chart-time/bn-chart-time.js +28 -4
- package/dist/collection/components/bn-chart-time/utils/TimeChart.js +3 -3
- package/dist/collection/components/bn-chart-time/utils/elements/StackedColumn.js +3 -4
- package/dist/collection/components/bn-chart-time/utils/model/styles/TimeChartStyle.js +4 -0
- package/dist/collection/components/bn-dataset/bn-dataset.js +49 -2
- package/dist/collection/components/bn-datasource/bn-datasource.js +46 -3
- package/dist/collection/components/bn-table/bn-table.js +9 -12
- package/dist/collection/components/bn-table/utils/elements/CellBarChart.js +58 -41
- package/dist/collection/stores/componentStyles.js +2 -0
- package/dist/collection/utils/constants.js +8 -5
- package/dist/collection/utils/contentDecoder.js +28 -0
- package/dist/collection/utils/stackColors.js +2 -2
- package/dist/collection/utils/validate.js +1 -1
- package/dist/components/DataFormatDigits.js +1 -1
- package/dist/components/Order.js +1 -1
- package/dist/components/SVGVariancesStyleGroup.js +1 -1
- package/dist/components/bn-chart-structure.js +1 -1
- package/dist/components/bn-chart-time.js +1 -1
- package/dist/components/bn-dataset.js +1 -1
- package/dist/components/bn-datasource.js +1 -1
- package/dist/components/bn-table.js +1 -1
- package/dist/components/contentDecoder.js +1 -0
- package/dist/components/context-protocol.js +1 -1
- package/dist/components/emotion-hash.esm.js +1 -0
- package/dist/components/ibcs-chart-structure2.js +1 -1
- package/dist/components/ibcs-chart-time2.js +1 -1
- package/dist/components/ibcs-table2.js +1 -1
- package/dist/components/ibcs-title2.js +1 -1
- package/dist/components/ibcsRuleSet.js +1 -1
- package/dist/components/validate.js +1 -1
- package/dist/components/withStyled.js +1 -1
- package/dist/esm/{DataFormatDigits--qIbKvXa.js → DataFormatDigits-oSZ1hBKE.js} +1 -1
- package/dist/esm/{DateStringFactory-XWdUjsn8.js → DateStringFactory-CSGz6TDk.js} +1 -1
- package/dist/esm/{Order-sqjrku2z.js → Order-Bnhh02CF.js} +9 -6
- package/dist/esm/{SVGVariancesStyleGroup-ibg3sLjM.js → SVGVariancesStyleGroup-CqTjrZYg.js} +2 -13
- package/dist/esm/bn-asset.entry.js +5 -4
- package/dist/esm/bn-body_4.entry.js +11 -9
- package/dist/esm/bn-card.entry.js +5 -4
- package/dist/esm/{ibcs-chart-structure.entry.js → bn-chart-structure_5.entry.js} +1048 -22
- package/dist/esm/bn-chart-time.entry.js +38 -12
- package/dist/esm/bn-component-style.entry.js +5 -4
- package/dist/esm/bn-dataset.entry.js +35 -6
- package/dist/esm/bn-grid.entry.js +9 -7
- package/dist/esm/bn-image.entry.js +9 -7
- package/dist/esm/bn-internationalization.entry.js +5 -4
- package/dist/esm/bn-layout-card.entry.js +3 -2
- package/dist/esm/bn-layout-page.entry.js +2 -1
- package/dist/esm/bn-message.entry.js +5 -4
- package/dist/esm/bn-table.entry.js +977 -0
- package/dist/esm/bn-template-engine.js +1 -1
- package/dist/esm/bn-template.entry.js +3 -2
- package/dist/esm/bn-text.entry.js +11 -9
- package/dist/esm/bn-tree.entry.js +9 -7
- package/dist/esm/contentDecoder-oMmxz6nJ.js +416 -0
- package/dist/esm/{context-protocol-Bz5klD-F.js → context-protocol-BHnQsVsr.js} +2 -0
- package/dist/esm/editor-companion.entry.js +1 -1
- package/dist/esm/emotion-hash.esm-BYBpC0EO.js +55 -0
- package/dist/esm/ibcs-chart-time.entry.js +15 -11
- package/dist/esm/{bn-context_5.entry.js → ibcs-table.entry.js} +68 -1235
- package/dist/esm/{StringAdapter-BCLJpQQ8.js → ibcsRuleSet-K4ytuA1f.js} +10 -10
- package/dist/esm/index-DHezf8pZ.js +65 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{scaling-C6K8FYSF.js → scaling-Cehc74IE.js} +2 -2
- package/dist/esm/{withHasError-B3QX2emi.js → utils-DvvwfRQG.js} +1 -69
- package/dist/esm/{withBodyObserver-DczL5ia8.js → withBodyObserver-FQ8NwCIz.js} +1 -1
- package/dist/esm/{withComponentStatus-DodoSXe-.js → withComponentStatus-DWjDYtZ7.js} +1 -1
- package/dist/esm/{withComponentStyle-BerJY64r.js → withComponentStyle-9uP_hcDq.js} +2 -2
- package/dist/esm/withHasError-FyY5mQ_3.js +70 -0
- package/dist/esm/{withStyled-D1fAWJ3g.js → withStyled--qQWquTH.js} +6 -59
- package/dist/esm/{withTranslation-mimbJdER.js → withTranslation-BqD0Kp7b.js} +2 -2
- package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +155 -109
- package/dist/types/components/bn-chart-structure/utils/StructureChart.d.ts +7 -0
- package/dist/types/components/bn-chart-structure/utils/model/styles/StructureChartStyle.d.ts +1 -0
- package/dist/types/components/bn-chart-time/utils/model/styles/TimeChartStyle.d.ts +1 -0
- package/dist/types/components/bn-dataset/bn-dataset.d.ts +6 -0
- package/dist/types/components/bn-datasource/bn-datasource.d.ts +8 -0
- package/dist/types/components/bn-table/bn-table.d.ts +3 -3
- package/dist/types/components/bn-table/utils/elements/CellBarChart.d.ts +0 -2
- package/dist/types/components.d.ts +100 -36
- package/dist/types/stores/componentStyles.d.ts +2 -0
- package/dist/types/utils/constants.d.ts +8 -5
- package/dist/types/utils/contentDecoder.d.ts +12 -0
- package/package.json +2 -1
- package/dist/bn-template-engine/p-05a82a77.entry.js +0 -1
- package/dist/bn-template-engine/p-1970906d.entry.js +0 -1
- package/dist/bn-template-engine/p-1dbd339c.entry.js +0 -1
- package/dist/bn-template-engine/p-2e68cf09.entry.js +0 -1
- package/dist/bn-template-engine/p-31cc6a2d.entry.js +0 -1
- package/dist/bn-template-engine/p-37881d05.entry.js +0 -1
- package/dist/bn-template-engine/p-3b894997.entry.js +0 -1
- package/dist/bn-template-engine/p-50e49732.entry.js +0 -1
- package/dist/bn-template-engine/p-6c7c0455.entry.js +0 -1
- package/dist/bn-template-engine/p-6da93eae.entry.js +0 -1
- package/dist/bn-template-engine/p-701e1578.entry.js +0 -1
- package/dist/bn-template-engine/p-8tsCnxIz.js +0 -1
- package/dist/bn-template-engine/p-997b2fe4.entry.js +0 -1
- package/dist/bn-template-engine/p-BL8gyUwE.js +0 -1
- package/dist/bn-template-engine/p-BSfqOkN_.js +0 -1
- package/dist/bn-template-engine/p-CRLgp9-v.js +0 -1
- package/dist/bn-template-engine/p-CYjZRKdI.js +0 -1
- package/dist/bn-template-engine/p-DRikHQE-.js +0 -1
- package/dist/bn-template-engine/p-DtdQCMzj.js +0 -1
- package/dist/bn-template-engine/p-a90f1cbe.entry.js +0 -1
- package/dist/bn-template-engine/p-b7bec050.entry.js +0 -1
- package/dist/bn-template-engine/p-d7f0cbaf.entry.js +0 -1
- package/dist/bn-template-engine/p-dfb61aa5.entry.js +0 -1
- package/dist/bn-template-engine/p-ece17f84.entry.js +0 -1
- package/dist/bn-template-engine/p-f27995c9.entry.js +0 -1
- package/dist/bn-template-engine/p-fd427179.entry.js +0 -1
- package/dist/bn-template-engine/p-sqjrku2z.js +0 -1
- package/dist/bn-template-engine/p-tzFCK9qn.js +0 -1
- package/dist/cjs/bn-chart-structure.cjs.entry.js +0 -700
- package/dist/esm/bn-chart-structure.entry.js +0 -698
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var Order = require('./Order-iG11HI4R.js');
|
|
3
4
|
var formatter = require('./formatter-DIJL_crx.js');
|
|
4
|
-
|
|
5
|
+
|
|
6
|
+
class StringAdapter {
|
|
7
|
+
adapt(data) {
|
|
8
|
+
return Order.AdapterUtils.adaptDefaultString(data);
|
|
9
|
+
}
|
|
10
|
+
default() {
|
|
11
|
+
return "";
|
|
12
|
+
}
|
|
13
|
+
}
|
|
5
14
|
|
|
6
15
|
/**
|
|
7
16
|
* IBCS rule set defining scenario→style mappings per IBCS notation standard v1.2.
|
|
@@ -123,14 +132,5 @@ class IBCSRuleSet {
|
|
|
123
132
|
}
|
|
124
133
|
}
|
|
125
134
|
|
|
126
|
-
class StringAdapter {
|
|
127
|
-
adapt(data) {
|
|
128
|
-
return Order.AdapterUtils.adaptDefaultString(data);
|
|
129
|
-
}
|
|
130
|
-
default() {
|
|
131
|
-
return "";
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
135
|
exports.IBCSRuleSet = IBCSRuleSet;
|
|
136
136
|
exports.StringAdapter = StringAdapter;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/** Sentinel value indicating all groups should be included. */
|
|
4
|
+
var GroupSelection;
|
|
5
|
+
(function (GroupSelection) {
|
|
6
|
+
GroupSelection[GroupSelection["ALL"] = -1] = "ALL";
|
|
7
|
+
})(GroupSelection || (GroupSelection = {}));
|
|
8
|
+
/**
|
|
9
|
+
* Tracks whether a factory's output is current or needs recalculation.
|
|
10
|
+
* Used to avoid redundant re-rendering when underlying data has not changed.
|
|
11
|
+
*/
|
|
12
|
+
exports.FactoryState = void 0;
|
|
13
|
+
(function (FactoryState) {
|
|
14
|
+
/** Output matches the current input data. */
|
|
15
|
+
FactoryState[FactoryState["UP_TO_DATE"] = 0] = "UP_TO_DATE";
|
|
16
|
+
/** Input data has changed; output needs to be regenerated. */
|
|
17
|
+
FactoryState[FactoryState["DIRTY"] = 1] = "DIRTY";
|
|
18
|
+
})(exports.FactoryState || (exports.FactoryState = {}));
|
|
19
|
+
/**
|
|
20
|
+
* Table aggregation modes controlling how rows are grouped and totalled.
|
|
21
|
+
*
|
|
22
|
+
* - `LIST` -- Flat list with no aggregation.
|
|
23
|
+
* - `SUM` -- Grouped rows with sum totals per group and a grand total.
|
|
24
|
+
* - `SUMNOTOTAL` -- Grouped rows with group sums but no grand total row.
|
|
25
|
+
* - `OPT` -- Operation-aware aggregation (respects the +/- operation field).
|
|
26
|
+
* - `OPTNOTOTAL` -- Operation-aware aggregation without a grand total row.
|
|
27
|
+
*/
|
|
28
|
+
exports.TableType = void 0;
|
|
29
|
+
(function (TableType) {
|
|
30
|
+
TableType["LIST"] = "list";
|
|
31
|
+
TableType["SUM"] = "sum";
|
|
32
|
+
TableType["SUMNOTOTAL"] = "sumnototal";
|
|
33
|
+
TableType["OPT"] = "opt";
|
|
34
|
+
TableType["OPTNOTOTAL"] = "optnototal";
|
|
35
|
+
})(exports.TableType || (exports.TableType = {}));
|
|
36
|
+
exports.OrderDirection = void 0;
|
|
37
|
+
(function (OrderDirection) {
|
|
38
|
+
OrderDirection["ASC"] = "asc";
|
|
39
|
+
OrderDirection["DESC"] = "desc";
|
|
40
|
+
})(exports.OrderDirection || (exports.OrderDirection = {}));
|
|
41
|
+
/**
|
|
42
|
+
* Discriminator for rendered table rows, controlling visual styling and behavior.
|
|
43
|
+
*
|
|
44
|
+
* - `HEADER` -- Column header row.
|
|
45
|
+
* - `GROUPHEAD` -- Group title row (rendered when `grouped` is true).
|
|
46
|
+
* - `SEPERATORLINE` -- Visual divider between groups.
|
|
47
|
+
* - `SUM` -- Grand total row.
|
|
48
|
+
* - `GROUPSUM` -- Sub-total row for a single group.
|
|
49
|
+
* - `DRILLELEMENT` -- "Thereof" drill-down sub-row.
|
|
50
|
+
* - `STANDARD` -- Normal data row.
|
|
51
|
+
* - `PARTELEMENT` -- "Part of" percentage row.
|
|
52
|
+
* - `ENTRY` -- Generic entry row.
|
|
53
|
+
*/
|
|
54
|
+
exports.TableRowType = void 0;
|
|
55
|
+
(function (TableRowType) {
|
|
56
|
+
TableRowType["HEADER"] = "HEADER";
|
|
57
|
+
TableRowType["GROUPHEAD"] = "GROUPHEAD";
|
|
58
|
+
TableRowType["SEPERATORLINE"] = "SEPERATORLINE";
|
|
59
|
+
TableRowType["SUM"] = "SUM";
|
|
60
|
+
TableRowType["GROUPSUM"] = "GROUP_SUM";
|
|
61
|
+
TableRowType["DRILLELEMENT"] = "DRILLELEMENT";
|
|
62
|
+
TableRowType["STANDARD"] = "STANDARD";
|
|
63
|
+
TableRowType["PARTELEMENT"] = "PARTELEMENT";
|
|
64
|
+
TableRowType["ENTRY"] = "ENTRY";
|
|
65
|
+
})(exports.TableRowType || (exports.TableRowType = {}));
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -6,7 +6,7 @@ var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
|
6
6
|
const defineCustomElements = async (win, options) => {
|
|
7
7
|
if (typeof window === 'undefined') return undefined;
|
|
8
8
|
await appGlobals.globalScripts();
|
|
9
|
-
return index.bootstrapLazy(JSON.parse("[[\"bn-layout-page.cjs\",[[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.cjs\",[[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-structure.cjs\",[[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}]}]]],[\"bn-chart-time.cjs\",[[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-asset.cjs\",[[1,\"bn-asset\",{\"name\":[1]}]]],[\"bn-component-style.cjs\",[[0,\"bn-component-style\",{\"name\":[1]}]]],[\"bn-dataset.cjs\",[[0,\"bn-dataset\",{\"name\":[1],\"datasources\":[1],\"static\":[4]},null,{\"name\":[{\"nameUpdated\":0}]}]]],[\"bn-grid.cjs\",[[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.cjs\",[[1,\"bn-image\",{\"source\":[1]}]]],[\"bn-internationalization.cjs\",[[0,\"bn-internationalization\",{\"code\":[1],\"namespace\":[1]}]]],[\"bn-template.cjs\",[[257,\"bn-template\",{\"templateId\":[1,\"template-id\"]}]]],[\"bn-text.cjs\",[[1,\"bn-text\",{\"value\":[1],\"scale\":[1],\"data\":[32]},null,{\"value\":[{\"validateValue\":0}],\"scale\":[{\"validateScaling\":0}]}]]],[\"bn-tree.cjs\",[[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.cjs\",[[0,\"editor-companion\",{\"internationalizationKeys\":[64],\"getDistinctFromDataSource\":[64],\"getDistinctFromDataset\":[64]}]]],[\"bn-card.cjs\",[[257,\"bn-card\"]]],[\"bn-message.cjs\",[[1,\"bn-message\",{\"text\":[1025],\"image\":[1]}]]],[\"ibcs-chart-structure.cjs\",[[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]}]]],[\"ibcs-chart-time.cjs\",[[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-context_5.cjs\",[[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}]}],[257,\"bn-context\",{\"locale\":[1]},null,{\"locale\":[{\"setLocale\":0}]}],[0,\"bn-datasource\",{\"name\":[1]}],[257,\"bn-page\",{\"format\":[1],\"orientation\":[1]},null,{\"format\":[{\"validateFormat\":0}],\"orientation\":[{\"validateOrientation\":0}]}],[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-body_4.cjs\",[[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
|
+
return index.bootstrapLazy(JSON.parse("[[\"bn-layout-page.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[1,\"bn-asset\",{\"name\":[1]}]]],[\"bn-component-style.cjs\",[[0,\"bn-component-style\",{\"name\":[1]}]]],[\"bn-dataset.cjs\",[[0,\"bn-dataset\",{\"name\":[1],\"datasources\":[1],\"static\":[4],\"raw\":[4]},null,{\"name\":[{\"nameUpdated\":0}]}]]],[\"bn-grid.cjs\",[[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.cjs\",[[1,\"bn-image\",{\"source\":[1]}]]],[\"bn-internationalization.cjs\",[[0,\"bn-internationalization\",{\"code\":[1],\"namespace\":[1]}]]],[\"bn-template.cjs\",[[257,\"bn-template\",{\"templateId\":[1,\"template-id\"]}]]],[\"bn-text.cjs\",[[1,\"bn-text\",{\"value\":[1],\"scale\":[1],\"data\":[32]},null,{\"value\":[{\"validateValue\":0}],\"scale\":[{\"validateScaling\":0}]}]]],[\"bn-tree.cjs\",[[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.cjs\",[[0,\"editor-companion\",{\"internationalizationKeys\":[64],\"getDistinctFromDataSource\":[64],\"getDistinctFromDataset\":[64]}]]],[\"bn-card.cjs\",[[257,\"bn-card\"]]],[\"bn-message.cjs\",[[1,\"bn-message\",{\"text\":[1025],\"image\":[1]}]]],[\"ibcs-chart-time.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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);
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
exports.setNonce = index.setNonce;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var contextProtocol = require('./context-protocol-
|
|
4
|
-
var
|
|
3
|
+
var contextProtocol = require('./context-protocol-DRQWrwsA.js');
|
|
4
|
+
var utils = require('./utils-CwHIVbbL.js');
|
|
5
5
|
var index = require('./index-Cjw0q6gP.js');
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -122,16 +122,16 @@ component, onUpdate, onMetaUpdate) => {
|
|
|
122
122
|
}
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
|
-
|
|
125
|
+
utils.runIfExisits(connectedCallback, component);
|
|
126
126
|
};
|
|
127
127
|
const disconnectedCallback = component["disconnectedCallback"];
|
|
128
128
|
component["disconnectedCallback"] = () => {
|
|
129
129
|
observer.disconnect();
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
130
|
+
utils.runIfExisits(subscriptionSet);
|
|
131
|
+
utils.runIfExisits(subscriptionSource);
|
|
132
|
+
utils.runIfExisits(subscriptionMeta);
|
|
133
133
|
contextProtocol.clearStoresCache(index.getElement(component));
|
|
134
|
-
|
|
134
|
+
utils.runIfExisits(disconnectedCallback, component);
|
|
135
135
|
};
|
|
136
136
|
return (names) => {
|
|
137
137
|
datasets = names;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-Cjw0q6gP.js');
|
|
4
|
-
|
|
5
3
|
/** Concatenates name parts with spaces, skipping falsy segments. */
|
|
6
4
|
/**
|
|
7
5
|
* Safely invokes `fn` if it is a function; otherwise does nothing.
|
|
@@ -83,72 +81,6 @@ const ref = (value, onChange) => {
|
|
|
83
81
|
};
|
|
84
82
|
};
|
|
85
83
|
|
|
86
|
-
const urlAlphabet =
|
|
87
|
-
'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
|
|
88
|
-
|
|
89
|
-
/* @ts-self-types="./index.d.ts" */
|
|
90
|
-
let nanoid = (size = 21) => {
|
|
91
|
-
let id = '';
|
|
92
|
-
let bytes = crypto.getRandomValues(new Uint8Array((size |= 0)));
|
|
93
|
-
while (size--) {
|
|
94
|
-
id += urlAlphabet[bytes[size] & 63];
|
|
95
|
-
}
|
|
96
|
-
return id
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* Mixin that provides an {@link ErrorDispatcher} for managing validation
|
|
101
|
-
* errors and warnings on a component.
|
|
102
|
-
*
|
|
103
|
-
* Errors are stored internally via a reactive {@link ref}. On every change,
|
|
104
|
-
* the host element's `has-error` attribute is updated with a JSON-serialized
|
|
105
|
-
* array of {@link ErrorItem}s (or removed when empty). This allows external
|
|
106
|
-
* CSS selectors and parent components to detect error states declaratively.
|
|
107
|
-
*
|
|
108
|
-
* @param component - The Stencil component instance
|
|
109
|
-
* @returns An {@link ErrorDispatcher} for adding, replacing, and removing errors
|
|
110
|
-
*/
|
|
111
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
112
|
-
const withHasError = (component) => {
|
|
113
|
-
const { set, modify } = ref([], (items) => {
|
|
114
|
-
const elm = index.getElement(component);
|
|
115
|
-
if (items.length === 0) {
|
|
116
|
-
elm.removeAttribute("has-error");
|
|
117
|
-
}
|
|
118
|
-
else {
|
|
119
|
-
elm.setAttribute("has-error", JSON.stringify(items));
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
return {
|
|
123
|
-
clear: () => {
|
|
124
|
-
set([]);
|
|
125
|
-
},
|
|
126
|
-
replace: (errors) => {
|
|
127
|
-
set(errors.map((item) => {
|
|
128
|
-
if (!item.id) {
|
|
129
|
-
item.id = nanoid();
|
|
130
|
-
}
|
|
131
|
-
return item;
|
|
132
|
-
}));
|
|
133
|
-
},
|
|
134
|
-
add: (error) => {
|
|
135
|
-
if (!error.id)
|
|
136
|
-
error.id = nanoid();
|
|
137
|
-
modify((current) => [...current, error]);
|
|
138
|
-
return error.id;
|
|
139
|
-
},
|
|
140
|
-
addOrReplace: (error) => {
|
|
141
|
-
if (error.id === undefined)
|
|
142
|
-
throw "missing";
|
|
143
|
-
modify((current) => [...current.filter((item) => item.id !== error.id), error]);
|
|
144
|
-
return error.id;
|
|
145
|
-
},
|
|
146
|
-
remove: (id) => {
|
|
147
|
-
modify((current) => current.filter((item) => item.id !== id));
|
|
148
|
-
},
|
|
149
|
-
};
|
|
150
|
-
};
|
|
151
|
-
|
|
152
84
|
exports.generateUUID = generateUUID;
|
|
85
|
+
exports.ref = ref;
|
|
153
86
|
exports.runIfExisits = runIfExisits;
|
|
154
|
-
exports.withHasError = withHasError;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-Cjw0q6gP.js');
|
|
4
|
-
var
|
|
4
|
+
var utils = require('./utils-CwHIVbbL.js');
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Mixin that observes changes to a component's text content.
|
|
@@ -27,12 +27,12 @@ const withBodyObserver = (component, onUpdate) => {
|
|
|
27
27
|
const element = index.getElement(component);
|
|
28
28
|
observer.observe(element, { childList: true, subtree: true, characterData: true });
|
|
29
29
|
onUpdate(element.textContent);
|
|
30
|
-
|
|
30
|
+
utils.runIfExisits(connectedCallback, component);
|
|
31
31
|
};
|
|
32
32
|
const disconnectedCallback = component["disconnectedCallback"];
|
|
33
33
|
component["disconnectedCallback"] = () => {
|
|
34
34
|
observer.disconnect();
|
|
35
|
-
|
|
35
|
+
utils.runIfExisits(disconnectedCallback, component);
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var utils = require('./utils-CwHIVbbL.js');
|
|
4
4
|
|
|
5
5
|
/** Lifecycle state of a tracked component instance. */
|
|
6
6
|
var ComponentStatus;
|
|
@@ -88,21 +88,21 @@ var ComponentRegister;
|
|
|
88
88
|
*/
|
|
89
89
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
90
90
|
const withComponentStatus = (component) => {
|
|
91
|
-
const uuid =
|
|
91
|
+
const uuid = utils.generateUUID();
|
|
92
92
|
const connectedCallback = component["connectedCallback"];
|
|
93
93
|
component["connectedCallback"] = () => {
|
|
94
94
|
ComponentRegister.updateStatus(uuid, ComponentStatus.RUNNING);
|
|
95
|
-
|
|
95
|
+
utils.runIfExisits(connectedCallback, component);
|
|
96
96
|
};
|
|
97
97
|
const componentWillRender = component["componentWillRender"];
|
|
98
98
|
component["componentWillRender"] = () => {
|
|
99
99
|
ComponentRegister.updateStatus(uuid, ComponentStatus.RUNNING);
|
|
100
|
-
|
|
100
|
+
utils.runIfExisits(componentWillRender, component);
|
|
101
101
|
};
|
|
102
102
|
const componentDidRender = component["componentDidRender"];
|
|
103
103
|
component["componentDidRender"] = () => {
|
|
104
104
|
ComponentRegister.updateStatus(uuid, ComponentStatus.SUCCESSFUL);
|
|
105
|
-
|
|
105
|
+
utils.runIfExisits(componentDidRender, component);
|
|
106
106
|
};
|
|
107
107
|
};
|
|
108
108
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-Cjw0q6gP.js');
|
|
4
|
-
var contextProtocol = require('./context-protocol-
|
|
5
|
-
var
|
|
4
|
+
var contextProtocol = require('./context-protocol-DRQWrwsA.js');
|
|
5
|
+
var utils = require('./utils-CwHIVbbL.js');
|
|
6
6
|
|
|
7
7
|
const isObject = (obj) => {
|
|
8
8
|
if (typeof obj === 'object' && obj !== null) {
|
|
@@ -110,14 +110,14 @@ const withComponentStyle = (component) => {
|
|
|
110
110
|
index.forceUpdate(index.getElement(component));
|
|
111
111
|
}
|
|
112
112
|
});
|
|
113
|
-
|
|
113
|
+
utils.runIfExisits(connectedCallback, component);
|
|
114
114
|
};
|
|
115
115
|
const disconnectedCallback = component["disconnectedCallback"];
|
|
116
116
|
component["disconnectedCallback"] = () => {
|
|
117
117
|
observer.disconnect();
|
|
118
|
-
|
|
118
|
+
utils.runIfExisits(subscription);
|
|
119
119
|
contextProtocol.clearStoresCache(index.getElement(component));
|
|
120
|
-
|
|
120
|
+
utils.runIfExisits(disconnectedCallback, component);
|
|
121
121
|
};
|
|
122
122
|
const componentStyle = (q) => {
|
|
123
123
|
return q(style);
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-Cjw0q6gP.js');
|
|
4
|
+
var utils = require('./utils-CwHIVbbL.js');
|
|
5
|
+
|
|
6
|
+
const urlAlphabet =
|
|
7
|
+
'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
|
|
8
|
+
|
|
9
|
+
/* @ts-self-types="./index.d.ts" */
|
|
10
|
+
let nanoid = (size = 21) => {
|
|
11
|
+
let id = '';
|
|
12
|
+
let bytes = crypto.getRandomValues(new Uint8Array((size |= 0)));
|
|
13
|
+
while (size--) {
|
|
14
|
+
id += urlAlphabet[bytes[size] & 63];
|
|
15
|
+
}
|
|
16
|
+
return id
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Mixin that provides an {@link ErrorDispatcher} for managing validation
|
|
21
|
+
* errors and warnings on a component.
|
|
22
|
+
*
|
|
23
|
+
* Errors are stored internally via a reactive {@link ref}. On every change,
|
|
24
|
+
* the host element's `has-error` attribute is updated with a JSON-serialized
|
|
25
|
+
* array of {@link ErrorItem}s (or removed when empty). This allows external
|
|
26
|
+
* CSS selectors and parent components to detect error states declaratively.
|
|
27
|
+
*
|
|
28
|
+
* @param component - The Stencil component instance
|
|
29
|
+
* @returns An {@link ErrorDispatcher} for adding, replacing, and removing errors
|
|
30
|
+
*/
|
|
31
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
32
|
+
const withHasError = (component) => {
|
|
33
|
+
const { set, modify } = utils.ref([], (items) => {
|
|
34
|
+
const elm = index.getElement(component);
|
|
35
|
+
if (items.length === 0) {
|
|
36
|
+
elm.removeAttribute("has-error");
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
elm.setAttribute("has-error", JSON.stringify(items));
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
return {
|
|
43
|
+
clear: () => {
|
|
44
|
+
set([]);
|
|
45
|
+
},
|
|
46
|
+
replace: (errors) => {
|
|
47
|
+
set(errors.map((item) => {
|
|
48
|
+
if (!item.id) {
|
|
49
|
+
item.id = nanoid();
|
|
50
|
+
}
|
|
51
|
+
return item;
|
|
52
|
+
}));
|
|
53
|
+
},
|
|
54
|
+
add: (error) => {
|
|
55
|
+
if (!error.id)
|
|
56
|
+
error.id = nanoid();
|
|
57
|
+
modify((current) => [...current, error]);
|
|
58
|
+
return error.id;
|
|
59
|
+
},
|
|
60
|
+
addOrReplace: (error) => {
|
|
61
|
+
if (error.id === undefined)
|
|
62
|
+
throw "missing";
|
|
63
|
+
modify((current) => [...current.filter((item) => item.id !== error.id), error]);
|
|
64
|
+
return error.id;
|
|
65
|
+
},
|
|
66
|
+
remove: (id) => {
|
|
67
|
+
modify((current) => current.filter((item) => item.id !== id));
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
exports.withHasError = withHasError;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var emotionHash_esm = require('./emotion-hash.esm-nbbEQ0Dn.js');
|
|
4
|
+
var Order = require('./Order-iG11HI4R.js');
|
|
5
|
+
var DateStringFactory = require('./DateStringFactory-CSKvbS8K.js');
|
|
5
6
|
var index = require('./index-Cjw0q6gP.js');
|
|
6
|
-
var
|
|
7
|
+
var utils = require('./utils-CwHIVbbL.js');
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* Prop validators for Stencil @Watch handlers.
|
|
@@ -218,7 +219,7 @@ function validateStackConfig(value) {
|
|
|
218
219
|
errors.push("stack: 'by' is required");
|
|
219
220
|
}
|
|
220
221
|
else {
|
|
221
|
-
const validBy = ["
|
|
222
|
+
const validBy = ["scenarios", "dimensions"];
|
|
222
223
|
if (!validBy.includes(config.by)) {
|
|
223
224
|
errors.push(`stack: 'by' must be one of: ${validBy.join(", ")}`);
|
|
224
225
|
}
|
|
@@ -264,60 +265,6 @@ class StyleSheet {
|
|
|
264
265
|
}
|
|
265
266
|
const styleSheet = new StyleSheet();
|
|
266
267
|
|
|
267
|
-
/* eslint-disable */
|
|
268
|
-
// Inspired by https://github.com/garycourt/murmurhash-js
|
|
269
|
-
// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86
|
|
270
|
-
function murmur2(str) {
|
|
271
|
-
// 'm' and 'r' are mixing constants generated offline.
|
|
272
|
-
// They're not really 'magic', they just happen to work well.
|
|
273
|
-
// const m = 0x5bd1e995;
|
|
274
|
-
// const r = 24;
|
|
275
|
-
// Initialize the hash
|
|
276
|
-
var h = 0; // Mix 4 bytes at a time into the hash
|
|
277
|
-
|
|
278
|
-
var k,
|
|
279
|
-
i = 0,
|
|
280
|
-
len = str.length;
|
|
281
|
-
|
|
282
|
-
for (; len >= 4; ++i, len -= 4) {
|
|
283
|
-
k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;
|
|
284
|
-
k =
|
|
285
|
-
/* Math.imul(k, m): */
|
|
286
|
-
(k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);
|
|
287
|
-
k ^=
|
|
288
|
-
/* k >>> r: */
|
|
289
|
-
k >>> 24;
|
|
290
|
-
h =
|
|
291
|
-
/* Math.imul(k, m): */
|
|
292
|
-
(k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^
|
|
293
|
-
/* Math.imul(h, m): */
|
|
294
|
-
(h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
|
|
295
|
-
} // Handle the last few bytes of the input array
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
switch (len) {
|
|
299
|
-
case 3:
|
|
300
|
-
h ^= (str.charCodeAt(i + 2) & 0xff) << 16;
|
|
301
|
-
|
|
302
|
-
case 2:
|
|
303
|
-
h ^= (str.charCodeAt(i + 1) & 0xff) << 8;
|
|
304
|
-
|
|
305
|
-
case 1:
|
|
306
|
-
h ^= str.charCodeAt(i) & 0xff;
|
|
307
|
-
h =
|
|
308
|
-
/* Math.imul(h, m): */
|
|
309
|
-
(h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
|
|
310
|
-
} // Do a few final mixes of the hash to ensure the last few
|
|
311
|
-
// bytes are well-incorporated.
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
h ^= h >>> 13;
|
|
315
|
-
h =
|
|
316
|
-
/* Math.imul(h, m): */
|
|
317
|
-
(h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
|
|
318
|
-
return ((h ^ h >>> 15) >>> 0).toString(36);
|
|
319
|
-
}
|
|
320
|
-
|
|
321
268
|
const transofrmToUnitString = (value) => {
|
|
322
269
|
if (isValidNumber(value)) {
|
|
323
270
|
return `${value}px`;
|
|
@@ -397,7 +344,7 @@ const attributes = {
|
|
|
397
344
|
};
|
|
398
345
|
const attributesNames = Object.keys(attributes);
|
|
399
346
|
function getClassName(attr, value) {
|
|
400
|
-
const valueKey = murmur2(value);
|
|
347
|
+
const valueKey = emotionHash_esm.murmur2(value);
|
|
401
348
|
return `bn-c-${attr.className}_${valueKey}`;
|
|
402
349
|
}
|
|
403
350
|
function getStyle(attr, className, value) {
|
|
@@ -486,12 +433,12 @@ const withStyled = (component) => {
|
|
|
486
433
|
else {
|
|
487
434
|
throw new Error(`Can't find element field in component ${undefined}`);
|
|
488
435
|
}
|
|
489
|
-
|
|
436
|
+
utils.runIfExisits(cstrConnectedCallback, component);
|
|
490
437
|
};
|
|
491
438
|
component["disconnectedCallback"] = () => {
|
|
492
439
|
// MutationObserver has no per-element unobserve — the shared observer
|
|
493
440
|
// automatically stops firing for elements removed from the DOM.
|
|
494
|
-
|
|
441
|
+
utils.runIfExisits(cstrDisconnectedCallback, component);
|
|
495
442
|
};
|
|
496
443
|
};
|
|
497
444
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var contextProtocol = require('./context-protocol-
|
|
3
|
+
var contextProtocol = require('./context-protocol-DRQWrwsA.js');
|
|
4
4
|
var index = require('./index-Cjw0q6gP.js');
|
|
5
|
-
var
|
|
5
|
+
var utils = require('./utils-CwHIVbbL.js');
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Mixin that provides i18n translation support to a Stencil component.
|
|
@@ -48,14 +48,14 @@ const withTranslation = (component) => {
|
|
|
48
48
|
index.forceUpdate(component);
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
|
-
|
|
51
|
+
utils.runIfExisits(connectedCallback, component);
|
|
52
52
|
};
|
|
53
53
|
const disconnectedCallback = component["disconnectedCallback"];
|
|
54
54
|
component["disconnectedCallback"] = () => {
|
|
55
55
|
observer.disconnect();
|
|
56
|
-
|
|
56
|
+
utils.runIfExisits(subscription);
|
|
57
57
|
contextProtocol.clearStoresCache(index.getElement(component));
|
|
58
|
-
|
|
58
|
+
utils.runIfExisits(disconnectedCallback, component);
|
|
59
59
|
};
|
|
60
60
|
const t = (key, data) => {
|
|
61
61
|
var _a, _b;
|