@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
|
@@ -44,5 +44,5 @@ var patchCloneNodeFix = (HTMLElementPrototype) => {
|
|
|
44
44
|
|
|
45
45
|
patchBrowser().then(async (options) => {
|
|
46
46
|
await globalScripts();
|
|
47
|
-
return bootstrapLazy(JSON.parse("[[\"bn-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-structure\",[[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\",[[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\",[[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]},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-structure\",[[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\",[[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\",[[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\",[[1,\"bn-title\",{\"businessUnit\":[1,\"business-unit\"],\"scenarios\":[1],\"variances\":[1],\"order\":[1],\"orderDirection\":[1,\"order-direction\"],\"measures\":[1],\"dateStart\":[1,\"date-start\"],\"dateEnd\":[1,\"date-end\"],\"dateFormat\":[1,\"date-format\"],\"dateLink\":[1,\"date-link\"]},null,{\"scenarios\":[{\"validateScenario\":0}],\"variances\":[{\"validateVariances\":0}],\"order\":[{\"validateOrder\":0}],\"orderDirection\":[{\"validateOrderDirection\":0}],\"measures\":[{\"validateMeasures\":0}],\"dateStart\":[{\"validateDateStart\":0}],\"dateEnd\":[{\"validateDateEnd\":0}],\"dateFormat\":[{\"validateDateFormat\":0}],\"dateLink\":[{\"validateDateLink\":0}]}],[257,\"bn-body\"],[1,\"bn-footer\",{\"pageNumber\":[1026,\"page-number\"],\"text\":[1025],\"code\":[1025],\"displayPageNumber\":[4,\"display-page-number\"]}],[1,\"ibcs-title\",{\"businessUnit\":[1537,\"business-unit\"],\"scenarios\":[16],\"measures\":[16],\"timeperiod\":[16],\"intervalSpanLimit\":[2,\"interval-span-limit\"],\"order\":[16],\"i18n\":[1040],\"i18nMode\":[1,\"i18n-mode\"],\"setBusinessUnit\":[64],\"setProps\":[64]}]]]]"), options);
|
|
47
|
+
return bootstrapLazy(JSON.parse("[[\"bn-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);
|
|
48
48
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-JNHhIe7t.js';
|
|
2
|
-
import { w as withComponentStatus } from './withComponentStatus-
|
|
3
|
-
import { w as withHasError } from './withHasError-
|
|
2
|
+
import { w as withComponentStatus } from './withComponentStatus-DWjDYtZ7.js';
|
|
3
|
+
import { w as withHasError } from './withHasError-FyY5mQ_3.js';
|
|
4
|
+
import './utils-DvvwfRQG.js';
|
|
4
5
|
|
|
5
6
|
const Template = class {
|
|
6
7
|
constructor(hostRef) {
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-JNHhIe7t.js';
|
|
2
|
-
import { w as withDataset, g as getParentDimensions, p as parseScaling } from './scaling-
|
|
3
|
-
import { w as withTranslation } from './withTranslation-
|
|
4
|
-
import { w as withComponentStatus } from './withComponentStatus-
|
|
5
|
-
import { w as withStyled } from './withStyled
|
|
6
|
-
import { w as withComponentStyle } from './withComponentStyle-
|
|
7
|
-
import { w as withHasError } from './withHasError-
|
|
8
|
-
import './context-protocol-
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
2
|
+
import { w as withDataset, g as getParentDimensions, p as parseScaling } from './scaling-Cehc74IE.js';
|
|
3
|
+
import { w as withTranslation } from './withTranslation-BqD0Kp7b.js';
|
|
4
|
+
import { w as withComponentStatus } from './withComponentStatus-DWjDYtZ7.js';
|
|
5
|
+
import { w as withStyled } from './withStyled--qQWquTH.js';
|
|
6
|
+
import { w as withComponentStyle } from './withComponentStyle-9uP_hcDq.js';
|
|
7
|
+
import { w as withHasError } from './withHasError-FyY5mQ_3.js';
|
|
8
|
+
import './context-protocol-BHnQsVsr.js';
|
|
9
|
+
import './utils-DvvwfRQG.js';
|
|
10
|
+
import './emotion-hash.esm-BYBpC0EO.js';
|
|
11
|
+
import './Order-Bnhh02CF.js';
|
|
12
|
+
import './DateStringFactory-CSGz6TDk.js';
|
|
11
13
|
|
|
12
14
|
const bnTextCss = () => `:host{padding:0.5em;display:inline-block;position:relative;overflow:hidden;font-family:var(--bn-font-family, "Noto Sans", sans-serif);font-size:var(--bn-font-size, 13.3333px);color:var(--bn-font-color, #000000);background-color:var(--bn-font-background, white)}span.container p{margin:0}`;
|
|
13
15
|
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-JNHhIe7t.js';
|
|
2
|
-
import { i as isValidNumber,
|
|
3
|
-
import { w as withComponentStatus } from './withComponentStatus-
|
|
4
|
-
import { w as withComponentStyle } from './withComponentStyle-
|
|
5
|
-
import { w as withHasError } from './withHasError-
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
2
|
+
import { i as isValidNumber, j as isValidBoolean, w as withStyled } from './withStyled--qQWquTH.js';
|
|
3
|
+
import { w as withComponentStatus } from './withComponentStatus-DWjDYtZ7.js';
|
|
4
|
+
import { w as withComponentStyle } from './withComponentStyle-9uP_hcDq.js';
|
|
5
|
+
import { w as withHasError } from './withHasError-FyY5mQ_3.js';
|
|
6
|
+
import './emotion-hash.esm-BYBpC0EO.js';
|
|
7
|
+
import './Order-Bnhh02CF.js';
|
|
8
|
+
import './DateStringFactory-CSGz6TDk.js';
|
|
9
|
+
import './utils-DvvwfRQG.js';
|
|
10
|
+
import './context-protocol-BHnQsVsr.js';
|
|
9
11
|
|
|
10
12
|
/**
|
|
11
13
|
* Tree Parser utility for bn-tree component
|
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
import { m as murmur2 } from './emotion-hash.esm-BYBpC0EO.js';
|
|
2
|
+
|
|
3
|
+
// DEFLATE is a complex format; to read this code, you should probably check the RFC first:
|
|
4
|
+
// https://tools.ietf.org/html/rfc1951
|
|
5
|
+
// You may also wish to take a look at the guide I made about this program:
|
|
6
|
+
// https://gist.github.com/101arrowz/253f31eb5abc3d9275ab943003ffecad
|
|
7
|
+
// Some of the following code is similar to that of UZIP.js:
|
|
8
|
+
// https://github.com/photopea/UZIP.js
|
|
9
|
+
// However, the vast majority of the codebase has diverged from UZIP.js to increase performance and reduce bundle size.
|
|
10
|
+
// Sometimes 0 will appear where -1 would be more appropriate. This is because using a uint
|
|
11
|
+
// is better for memory in most engines (I *think*).
|
|
12
|
+
|
|
13
|
+
// aliases for shorter compressed code (most minifers don't do this)
|
|
14
|
+
var u8 = Uint8Array, u16 = Uint16Array, i32 = Int32Array;
|
|
15
|
+
// fixed length extra bits
|
|
16
|
+
var fleb = new u8([0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, /* unused */ 0, 0, /* impossible */ 0]);
|
|
17
|
+
// fixed distance extra bits
|
|
18
|
+
var fdeb = new u8([0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, /* unused */ 0, 0]);
|
|
19
|
+
// code length index map
|
|
20
|
+
var clim = new u8([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]);
|
|
21
|
+
// get base, reverse index map from extra bits
|
|
22
|
+
var freb = function (eb, start) {
|
|
23
|
+
var b = new u16(31);
|
|
24
|
+
for (var i = 0; i < 31; ++i) {
|
|
25
|
+
b[i] = start += 1 << eb[i - 1];
|
|
26
|
+
}
|
|
27
|
+
// numbers here are at max 18 bits
|
|
28
|
+
var r = new i32(b[30]);
|
|
29
|
+
for (var i = 1; i < 30; ++i) {
|
|
30
|
+
for (var j = b[i]; j < b[i + 1]; ++j) {
|
|
31
|
+
r[j] = ((j - b[i]) << 5) | i;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return { b: b, r: r };
|
|
35
|
+
};
|
|
36
|
+
var _a = freb(fleb, 2), fl = _a.b, revfl = _a.r;
|
|
37
|
+
// we can ignore the fact that the other numbers are wrong; they never happen anyway
|
|
38
|
+
fl[28] = 258, revfl[258] = 28;
|
|
39
|
+
var _b = freb(fdeb, 0), fd = _b.b;
|
|
40
|
+
// map of value to reverse (assuming 16 bits)
|
|
41
|
+
var rev = new u16(32768);
|
|
42
|
+
for (var i = 0; i < 32768; ++i) {
|
|
43
|
+
// reverse table algorithm from SO
|
|
44
|
+
var x = ((i & 0xAAAA) >> 1) | ((i & 0x5555) << 1);
|
|
45
|
+
x = ((x & 0xCCCC) >> 2) | ((x & 0x3333) << 2);
|
|
46
|
+
x = ((x & 0xF0F0) >> 4) | ((x & 0x0F0F) << 4);
|
|
47
|
+
rev[i] = (((x & 0xFF00) >> 8) | ((x & 0x00FF) << 8)) >> 1;
|
|
48
|
+
}
|
|
49
|
+
// create huffman tree from u8 "map": index -> code length for code index
|
|
50
|
+
// mb (max bits) must be at most 15
|
|
51
|
+
// TODO: optimize/split up?
|
|
52
|
+
var hMap = (function (cd, mb, r) {
|
|
53
|
+
var s = cd.length;
|
|
54
|
+
// index
|
|
55
|
+
var i = 0;
|
|
56
|
+
// u16 "map": index -> # of codes with bit length = index
|
|
57
|
+
var l = new u16(mb);
|
|
58
|
+
// length of cd must be 288 (total # of codes)
|
|
59
|
+
for (; i < s; ++i) {
|
|
60
|
+
if (cd[i])
|
|
61
|
+
++l[cd[i] - 1];
|
|
62
|
+
}
|
|
63
|
+
// u16 "map": index -> minimum code for bit length = index
|
|
64
|
+
var le = new u16(mb);
|
|
65
|
+
for (i = 1; i < mb; ++i) {
|
|
66
|
+
le[i] = (le[i - 1] + l[i - 1]) << 1;
|
|
67
|
+
}
|
|
68
|
+
var co;
|
|
69
|
+
if (r) {
|
|
70
|
+
// u16 "map": index -> number of actual bits, symbol for code
|
|
71
|
+
co = new u16(1 << mb);
|
|
72
|
+
// bits to remove for reverser
|
|
73
|
+
var rvb = 15 - mb;
|
|
74
|
+
for (i = 0; i < s; ++i) {
|
|
75
|
+
// ignore 0 lengths
|
|
76
|
+
if (cd[i]) {
|
|
77
|
+
// num encoding both symbol and bits read
|
|
78
|
+
var sv = (i << 4) | cd[i];
|
|
79
|
+
// free bits
|
|
80
|
+
var r_1 = mb - cd[i];
|
|
81
|
+
// start value
|
|
82
|
+
var v = le[cd[i] - 1]++ << r_1;
|
|
83
|
+
// m is end value
|
|
84
|
+
for (var m = v | ((1 << r_1) - 1); v <= m; ++v) {
|
|
85
|
+
// every 16 bit value starting with the code yields the same result
|
|
86
|
+
co[rev[v] >> rvb] = sv;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
co = new u16(s);
|
|
93
|
+
for (i = 0; i < s; ++i) {
|
|
94
|
+
if (cd[i]) {
|
|
95
|
+
co[i] = rev[le[cd[i] - 1]++] >> (15 - cd[i]);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
return co;
|
|
100
|
+
});
|
|
101
|
+
// fixed length tree
|
|
102
|
+
var flt = new u8(288);
|
|
103
|
+
for (var i = 0; i < 144; ++i)
|
|
104
|
+
flt[i] = 8;
|
|
105
|
+
for (var i = 144; i < 256; ++i)
|
|
106
|
+
flt[i] = 9;
|
|
107
|
+
for (var i = 256; i < 280; ++i)
|
|
108
|
+
flt[i] = 7;
|
|
109
|
+
for (var i = 280; i < 288; ++i)
|
|
110
|
+
flt[i] = 8;
|
|
111
|
+
// fixed distance tree
|
|
112
|
+
var fdt = new u8(32);
|
|
113
|
+
for (var i = 0; i < 32; ++i)
|
|
114
|
+
fdt[i] = 5;
|
|
115
|
+
// fixed length map
|
|
116
|
+
var flrm = /*#__PURE__*/ hMap(flt, 9, 1);
|
|
117
|
+
// fixed distance map
|
|
118
|
+
var fdrm = /*#__PURE__*/ hMap(fdt, 5, 1);
|
|
119
|
+
// find max of array
|
|
120
|
+
var max = function (a) {
|
|
121
|
+
var m = a[0];
|
|
122
|
+
for (var i = 1; i < a.length; ++i) {
|
|
123
|
+
if (a[i] > m)
|
|
124
|
+
m = a[i];
|
|
125
|
+
}
|
|
126
|
+
return m;
|
|
127
|
+
};
|
|
128
|
+
// read d, starting at bit p and mask with m
|
|
129
|
+
var bits = function (d, p, m) {
|
|
130
|
+
var o = (p / 8) | 0;
|
|
131
|
+
return ((d[o] | (d[o + 1] << 8)) >> (p & 7)) & m;
|
|
132
|
+
};
|
|
133
|
+
// read d, starting at bit p continuing for at least 16 bits
|
|
134
|
+
var bits16 = function (d, p) {
|
|
135
|
+
var o = (p / 8) | 0;
|
|
136
|
+
return ((d[o] | (d[o + 1] << 8) | (d[o + 2] << 16)) >> (p & 7));
|
|
137
|
+
};
|
|
138
|
+
// get end of byte
|
|
139
|
+
var shft = function (p) { return ((p + 7) / 8) | 0; };
|
|
140
|
+
// typed array slice - allows garbage collector to free original reference,
|
|
141
|
+
// while being more compatible than .slice
|
|
142
|
+
var slc = function (v, s, e) {
|
|
143
|
+
if (e == null || e > v.length)
|
|
144
|
+
e = v.length;
|
|
145
|
+
// can't use .constructor in case user-supplied
|
|
146
|
+
return new u8(v.subarray(s, e));
|
|
147
|
+
};
|
|
148
|
+
// error codes
|
|
149
|
+
var ec = [
|
|
150
|
+
'unexpected EOF',
|
|
151
|
+
'invalid block type',
|
|
152
|
+
'invalid length/literal',
|
|
153
|
+
'invalid distance',
|
|
154
|
+
'stream finished',
|
|
155
|
+
'no stream handler',
|
|
156
|
+
,
|
|
157
|
+
'no callback',
|
|
158
|
+
'invalid UTF-8 data',
|
|
159
|
+
'extra field too long',
|
|
160
|
+
'date not in range 1980-2099',
|
|
161
|
+
'filename too long',
|
|
162
|
+
'stream finishing',
|
|
163
|
+
'invalid zip data'
|
|
164
|
+
// determined by unknown compression method
|
|
165
|
+
];
|
|
166
|
+
var err = function (ind, msg, nt) {
|
|
167
|
+
var e = new Error(msg || ec[ind]);
|
|
168
|
+
e.code = ind;
|
|
169
|
+
if (Error.captureStackTrace)
|
|
170
|
+
Error.captureStackTrace(e, err);
|
|
171
|
+
if (!nt)
|
|
172
|
+
throw e;
|
|
173
|
+
return e;
|
|
174
|
+
};
|
|
175
|
+
// expands raw DEFLATE data
|
|
176
|
+
var inflt = function (dat, st, buf, dict) {
|
|
177
|
+
// source length dict length
|
|
178
|
+
var sl = dat.length, dl = 0;
|
|
179
|
+
if (!sl || st.f && !st.l)
|
|
180
|
+
return buf || new u8(0);
|
|
181
|
+
var noBuf = !buf;
|
|
182
|
+
// have to estimate size
|
|
183
|
+
var resize = noBuf || st.i != 2;
|
|
184
|
+
// Assumes roughly 33% compression ratio average
|
|
185
|
+
if (noBuf)
|
|
186
|
+
buf = new u8(sl * 3);
|
|
187
|
+
// ensure buffer can fit at least l elements
|
|
188
|
+
var cbuf = function (l) {
|
|
189
|
+
var bl = buf.length;
|
|
190
|
+
// need to increase size to fit
|
|
191
|
+
if (l > bl) {
|
|
192
|
+
// Double or set to necessary, whichever is greater
|
|
193
|
+
var nbuf = new u8(Math.max(bl * 2, l));
|
|
194
|
+
nbuf.set(buf);
|
|
195
|
+
buf = nbuf;
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
// last chunk bitpos bytes
|
|
199
|
+
var final = st.f || 0, pos = st.p || 0, bt = st.b || 0, lm = st.l, dm = st.d, lbt = st.m, dbt = st.n;
|
|
200
|
+
// total bits
|
|
201
|
+
var tbts = sl * 8;
|
|
202
|
+
do {
|
|
203
|
+
if (!lm) {
|
|
204
|
+
// BFINAL - this is only 1 when last chunk is next
|
|
205
|
+
final = bits(dat, pos, 1);
|
|
206
|
+
// type: 0 = no compression, 1 = fixed huffman, 2 = dynamic huffman
|
|
207
|
+
var type = bits(dat, pos + 1, 3);
|
|
208
|
+
pos += 3;
|
|
209
|
+
if (!type) {
|
|
210
|
+
// go to end of byte boundary
|
|
211
|
+
var s = shft(pos) + 4, l = dat[s - 4] | (dat[s - 3] << 8), t = s + l;
|
|
212
|
+
if (t > sl) {
|
|
213
|
+
err(0);
|
|
214
|
+
break;
|
|
215
|
+
}
|
|
216
|
+
// ensure size
|
|
217
|
+
if (resize)
|
|
218
|
+
cbuf(bt + l);
|
|
219
|
+
// Copy over uncompressed data
|
|
220
|
+
buf.set(dat.subarray(s, t), bt);
|
|
221
|
+
// Get new bitpos, update byte count
|
|
222
|
+
st.b = bt += l, st.p = pos = t * 8, st.f = final;
|
|
223
|
+
continue;
|
|
224
|
+
}
|
|
225
|
+
else if (type == 1)
|
|
226
|
+
lm = flrm, dm = fdrm, lbt = 9, dbt = 5;
|
|
227
|
+
else if (type == 2) {
|
|
228
|
+
// literal lengths
|
|
229
|
+
var hLit = bits(dat, pos, 31) + 257, hcLen = bits(dat, pos + 10, 15) + 4;
|
|
230
|
+
var tl = hLit + bits(dat, pos + 5, 31) + 1;
|
|
231
|
+
pos += 14;
|
|
232
|
+
// length+distance tree
|
|
233
|
+
var ldt = new u8(tl);
|
|
234
|
+
// code length tree
|
|
235
|
+
var clt = new u8(19);
|
|
236
|
+
for (var i = 0; i < hcLen; ++i) {
|
|
237
|
+
// use index map to get real code
|
|
238
|
+
clt[clim[i]] = bits(dat, pos + i * 3, 7);
|
|
239
|
+
}
|
|
240
|
+
pos += hcLen * 3;
|
|
241
|
+
// code lengths bits
|
|
242
|
+
var clb = max(clt), clbmsk = (1 << clb) - 1;
|
|
243
|
+
// code lengths map
|
|
244
|
+
var clm = hMap(clt, clb, 1);
|
|
245
|
+
for (var i = 0; i < tl;) {
|
|
246
|
+
var r = clm[bits(dat, pos, clbmsk)];
|
|
247
|
+
// bits read
|
|
248
|
+
pos += r & 15;
|
|
249
|
+
// symbol
|
|
250
|
+
var s = r >> 4;
|
|
251
|
+
// code length to copy
|
|
252
|
+
if (s < 16) {
|
|
253
|
+
ldt[i++] = s;
|
|
254
|
+
}
|
|
255
|
+
else {
|
|
256
|
+
// copy count
|
|
257
|
+
var c = 0, n = 0;
|
|
258
|
+
if (s == 16)
|
|
259
|
+
n = 3 + bits(dat, pos, 3), pos += 2, c = ldt[i - 1];
|
|
260
|
+
else if (s == 17)
|
|
261
|
+
n = 3 + bits(dat, pos, 7), pos += 3;
|
|
262
|
+
else if (s == 18)
|
|
263
|
+
n = 11 + bits(dat, pos, 127), pos += 7;
|
|
264
|
+
while (n--)
|
|
265
|
+
ldt[i++] = c;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
// length tree distance tree
|
|
269
|
+
var lt = ldt.subarray(0, hLit), dt = ldt.subarray(hLit);
|
|
270
|
+
// max length bits
|
|
271
|
+
lbt = max(lt);
|
|
272
|
+
// max dist bits
|
|
273
|
+
dbt = max(dt);
|
|
274
|
+
lm = hMap(lt, lbt, 1);
|
|
275
|
+
dm = hMap(dt, dbt, 1);
|
|
276
|
+
}
|
|
277
|
+
else
|
|
278
|
+
err(1);
|
|
279
|
+
if (pos > tbts) {
|
|
280
|
+
err(0);
|
|
281
|
+
break;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
// Make sure the buffer can hold this + the largest possible addition
|
|
285
|
+
// Maximum chunk size (practically, theoretically infinite) is 2^17
|
|
286
|
+
if (resize)
|
|
287
|
+
cbuf(bt + 131072);
|
|
288
|
+
var lms = (1 << lbt) - 1, dms = (1 << dbt) - 1;
|
|
289
|
+
var lpos = pos;
|
|
290
|
+
for (;; lpos = pos) {
|
|
291
|
+
// bits read, code
|
|
292
|
+
var c = lm[bits16(dat, pos) & lms], sym = c >> 4;
|
|
293
|
+
pos += c & 15;
|
|
294
|
+
if (pos > tbts) {
|
|
295
|
+
err(0);
|
|
296
|
+
break;
|
|
297
|
+
}
|
|
298
|
+
if (!c)
|
|
299
|
+
err(2);
|
|
300
|
+
if (sym < 256)
|
|
301
|
+
buf[bt++] = sym;
|
|
302
|
+
else if (sym == 256) {
|
|
303
|
+
lpos = pos, lm = null;
|
|
304
|
+
break;
|
|
305
|
+
}
|
|
306
|
+
else {
|
|
307
|
+
var add = sym - 254;
|
|
308
|
+
// no extra bits needed if less
|
|
309
|
+
if (sym > 264) {
|
|
310
|
+
// index
|
|
311
|
+
var i = sym - 257, b = fleb[i];
|
|
312
|
+
add = bits(dat, pos, (1 << b) - 1) + fl[i];
|
|
313
|
+
pos += b;
|
|
314
|
+
}
|
|
315
|
+
// dist
|
|
316
|
+
var d = dm[bits16(dat, pos) & dms], dsym = d >> 4;
|
|
317
|
+
if (!d)
|
|
318
|
+
err(3);
|
|
319
|
+
pos += d & 15;
|
|
320
|
+
var dt = fd[dsym];
|
|
321
|
+
if (dsym > 3) {
|
|
322
|
+
var b = fdeb[dsym];
|
|
323
|
+
dt += bits16(dat, pos) & (1 << b) - 1, pos += b;
|
|
324
|
+
}
|
|
325
|
+
if (pos > tbts) {
|
|
326
|
+
err(0);
|
|
327
|
+
break;
|
|
328
|
+
}
|
|
329
|
+
if (resize)
|
|
330
|
+
cbuf(bt + 131072);
|
|
331
|
+
var end = bt + add;
|
|
332
|
+
if (bt < dt) {
|
|
333
|
+
var shift = dl - dt, dend = Math.min(dt, end);
|
|
334
|
+
if (shift + bt < 0)
|
|
335
|
+
err(3);
|
|
336
|
+
for (; bt < dend; ++bt)
|
|
337
|
+
buf[bt] = dict[shift + bt];
|
|
338
|
+
}
|
|
339
|
+
for (; bt < end; ++bt)
|
|
340
|
+
buf[bt] = buf[bt - dt];
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
st.l = lm, st.p = lpos, st.b = bt, st.f = final;
|
|
344
|
+
if (lm)
|
|
345
|
+
final = 1, st.m = lbt, st.d = dm, st.n = dbt;
|
|
346
|
+
} while (!final);
|
|
347
|
+
// don't reallocate for streams or user buffers
|
|
348
|
+
return bt != buf.length && noBuf ? slc(buf, 0, bt) : buf.subarray(0, bt);
|
|
349
|
+
};
|
|
350
|
+
// empty
|
|
351
|
+
var et = /*#__PURE__*/ new u8(0);
|
|
352
|
+
// gzip footer: -8 to -4 = CRC, -4 to -0 is length
|
|
353
|
+
// gzip start
|
|
354
|
+
var gzs = function (d) {
|
|
355
|
+
if (d[0] != 31 || d[1] != 139 || d[2] != 8)
|
|
356
|
+
err(6, 'invalid gzip data');
|
|
357
|
+
var flg = d[3];
|
|
358
|
+
var st = 10;
|
|
359
|
+
if (flg & 4)
|
|
360
|
+
st += (d[10] | d[11] << 8) + 2;
|
|
361
|
+
for (var zs = (flg >> 3 & 1) + (flg >> 4 & 1); zs > 0; zs -= !d[st++])
|
|
362
|
+
;
|
|
363
|
+
return st + (flg & 2);
|
|
364
|
+
};
|
|
365
|
+
// gzip length
|
|
366
|
+
var gzl = function (d) {
|
|
367
|
+
var l = d.length;
|
|
368
|
+
return (d[l - 4] | d[l - 3] << 8 | d[l - 2] << 16 | d[l - 1] << 24) >>> 0;
|
|
369
|
+
};
|
|
370
|
+
/**
|
|
371
|
+
* Expands GZIP data
|
|
372
|
+
* @param data The data to decompress
|
|
373
|
+
* @param opts The decompression options
|
|
374
|
+
* @returns The decompressed version of the data
|
|
375
|
+
*/
|
|
376
|
+
function gunzipSync(data, opts) {
|
|
377
|
+
var st = gzs(data);
|
|
378
|
+
if (st + 8 > data.length)
|
|
379
|
+
err(6, 'invalid gzip data');
|
|
380
|
+
return inflt(data.subarray(st, -8), { i: 2 }, new u8(gzl(data)), opts);
|
|
381
|
+
}
|
|
382
|
+
// text decoder
|
|
383
|
+
var td = typeof TextDecoder != 'undefined' && /*#__PURE__*/ new TextDecoder();
|
|
384
|
+
try {
|
|
385
|
+
td.decode(et, { stream: true });
|
|
386
|
+
}
|
|
387
|
+
catch (e) { }
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* Compute a short deterministic hash of a string.
|
|
391
|
+
*/
|
|
392
|
+
function computeContentHash(text) {
|
|
393
|
+
return murmur2(text);
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* Decode a compressed payload in the format `<hash>:<base64_gzip>`.
|
|
397
|
+
* Returns the embedded hash and the decompressed JSON string.
|
|
398
|
+
*/
|
|
399
|
+
function decodeCompressedContent(text) {
|
|
400
|
+
const colonIndex = text.indexOf(":");
|
|
401
|
+
if (colonIndex === -1) {
|
|
402
|
+
throw new Error("Invalid compressed format: missing ':' separator");
|
|
403
|
+
}
|
|
404
|
+
const embeddedHash = text.slice(0, colonIndex);
|
|
405
|
+
const base64Data = text.slice(colonIndex + 1);
|
|
406
|
+
const binaryString = atob(base64Data);
|
|
407
|
+
const bytes = new Uint8Array(binaryString.length);
|
|
408
|
+
for (let i = 0; i < binaryString.length; i++) {
|
|
409
|
+
bytes[i] = binaryString.charCodeAt(i);
|
|
410
|
+
}
|
|
411
|
+
const decompressed = gunzipSync(bytes);
|
|
412
|
+
const json = new TextDecoder().decode(decompressed);
|
|
413
|
+
return { hash: embeddedHash, json };
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
export { computeContentHash as c, decodeCompressedContent as d };
|
|
@@ -318,6 +318,7 @@ const SYSTEM_STYLE_DEFAULTS = {
|
|
|
318
318
|
neg: { stroke: "#ff0000", fill: "#ff0000", width: 0.1 },
|
|
319
319
|
neu: { stroke: "#808080", fill: "#808080", width: 0.1 },
|
|
320
320
|
},
|
|
321
|
+
stackColors: ["#000000", "#c0c0c0", "#808080"],
|
|
321
322
|
padding: {
|
|
322
323
|
top: 10,
|
|
323
324
|
left: 10,
|
|
@@ -360,6 +361,7 @@ const SYSTEM_STYLE_DEFAULTS = {
|
|
|
360
361
|
neg: { stroke: "#ff0000", fill: "#ff0000", width: 0.1 },
|
|
361
362
|
neu: { stroke: "#808080", fill: "#808080", width: 0.1 },
|
|
362
363
|
},
|
|
364
|
+
stackColors: ["#000000", "#c0c0c0", "#808080"],
|
|
363
365
|
padding: {
|
|
364
366
|
top: 10,
|
|
365
367
|
left: 10,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, F as Fragment, g as getElement } from './index-JNHhIe7t.js';
|
|
2
|
-
import { g as getStores, B as BN_INTERNATIONALIZATION_KEYS } from './context-protocol-
|
|
2
|
+
import { g as getStores, B as BN_INTERNATIONALIZATION_KEYS } from './context-protocol-BHnQsVsr.js';
|
|
3
3
|
|
|
4
4
|
const editorCompanionCss = () => `editor-companion{display:none}`;
|
|
5
5
|
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// Inspired by https://github.com/garycourt/murmurhash-js
|
|
3
|
+
// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86
|
|
4
|
+
function murmur2(str) {
|
|
5
|
+
// 'm' and 'r' are mixing constants generated offline.
|
|
6
|
+
// They're not really 'magic', they just happen to work well.
|
|
7
|
+
// const m = 0x5bd1e995;
|
|
8
|
+
// const r = 24;
|
|
9
|
+
// Initialize the hash
|
|
10
|
+
var h = 0; // Mix 4 bytes at a time into the hash
|
|
11
|
+
|
|
12
|
+
var k,
|
|
13
|
+
i = 0,
|
|
14
|
+
len = str.length;
|
|
15
|
+
|
|
16
|
+
for (; len >= 4; ++i, len -= 4) {
|
|
17
|
+
k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;
|
|
18
|
+
k =
|
|
19
|
+
/* Math.imul(k, m): */
|
|
20
|
+
(k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);
|
|
21
|
+
k ^=
|
|
22
|
+
/* k >>> r: */
|
|
23
|
+
k >>> 24;
|
|
24
|
+
h =
|
|
25
|
+
/* Math.imul(k, m): */
|
|
26
|
+
(k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^
|
|
27
|
+
/* Math.imul(h, m): */
|
|
28
|
+
(h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
|
|
29
|
+
} // Handle the last few bytes of the input array
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
switch (len) {
|
|
33
|
+
case 3:
|
|
34
|
+
h ^= (str.charCodeAt(i + 2) & 0xff) << 16;
|
|
35
|
+
|
|
36
|
+
case 2:
|
|
37
|
+
h ^= (str.charCodeAt(i + 1) & 0xff) << 8;
|
|
38
|
+
|
|
39
|
+
case 1:
|
|
40
|
+
h ^= str.charCodeAt(i) & 0xff;
|
|
41
|
+
h =
|
|
42
|
+
/* Math.imul(h, m): */
|
|
43
|
+
(h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
|
|
44
|
+
} // Do a few final mixes of the hash to ensure the last few
|
|
45
|
+
// bytes are well-incorporated.
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
h ^= h >>> 13;
|
|
49
|
+
h =
|
|
50
|
+
/* Math.imul(h, m): */
|
|
51
|
+
(h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
|
|
52
|
+
return ((h ^ h >>> 15) >>> 0).toString(36);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export { murmur2 as m };
|