@bino-bi/bn-template-engine 1.0.0-next.33 → 1.0.0-next.34
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-66ed6259.entry.js +1 -0
- package/dist/bn-template-engine/p-789bfd06.entry.js +1 -0
- package/dist/bn-template-engine/{p-BTbeDWM9.js → p-CAvWZ3a5.js} +1 -1
- package/dist/bn-template-engine/p-_SKPuKfK.js +1 -0
- package/dist/bn-template-engine/p-dc12ff1b.entry.js +1 -0
- package/dist/bn-template-engine/{p-b4efbcb5.entry.js → p-dec6837c.entry.js} +1 -1
- package/dist/cjs/bn-annotation-layer_30.cjs.entry.js +75 -27
- package/dist/cjs/bn-grid.cjs.entry.js +1 -1
- package/dist/cjs/bn-image.cjs.entry.js +1 -1
- package/dist/cjs/bn-text.cjs.entry.js +2 -2
- package/dist/cjs/{withStyled-Ds3e64Nz.js → withStyled-eHD8Yt2K.js} +6 -1
- package/dist/cjs/{withTranslation-Cjvvs3gL.js → withTranslation-yJ-j0lsu.js} +1 -1
- package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +2 -2
- package/dist/collection/components/bn-chart-structure/utils/model/DataPoint.js +5 -2
- package/dist/collection/components/bn-chart-time/bn-chart-time.js +2 -2
- package/dist/collection/components/bn-chart-time/utils/model/DataPoint.js +5 -2
- package/dist/collection/components/bn-layout-card/bn-layout-card.js +2 -2
- package/dist/collection/components/bn-layout-page/bn-layout-page.js +2 -2
- package/dist/collection/components/bn-table/bn-table-renderer/bn-table-renderer.js +1 -1
- package/dist/collection/components/bn-table/bn-table.js +2 -2
- package/dist/collection/components/bn-table/utils/factories/tableDataSetFactory.js +23 -6
- package/dist/collection/components/bn-table/utils/helper/DataQuery.js +15 -6
- package/dist/collection/components/bn-title/bn-title.js +2 -2
- package/dist/collection/utils/constants.js +5 -0
- package/dist/collection/utils/model/VarianceScenario.js +21 -2
- package/dist/collection/utils/xy/VarianceMeasure.js +1 -1
- package/dist/components/bn-chart-bubble-renderer.js +1 -1
- package/dist/components/bn-chart-bubble.js +1 -1
- package/dist/components/bn-chart-bullet-renderer.js +1 -1
- package/dist/components/bn-chart-bullet.js +1 -1
- package/dist/components/bn-chart-scatter-renderer.js +1 -1
- package/dist/components/bn-chart-scatter.js +1 -1
- package/dist/components/bn-chart-structure-renderer.js +1 -1
- package/dist/components/bn-chart-structure.js +1 -1
- package/dist/components/bn-chart-time-renderer.js +1 -1
- package/dist/components/bn-chart-time.js +1 -1
- package/dist/components/bn-grid.js +1 -1
- package/dist/components/bn-image.js +1 -1
- package/dist/components/bn-layout-card.js +1 -1
- package/dist/components/bn-layout-page.js +1 -1
- package/dist/components/bn-page.js +1 -1
- package/dist/components/bn-table-renderer.js +1 -1
- package/dist/components/bn-table.js +1 -1
- package/dist/components/bn-text.js +1 -1
- package/dist/components/bn-title-renderer.js +1 -1
- package/dist/components/bn-title.js +1 -1
- package/dist/components/bn-tree.js +1 -1
- package/dist/components/{p-0gehv1XG.js → p-4BanAktr.js} +1 -1
- package/dist/components/{p-BoUkFdpu.js → p-B3F_c9GB.js} +1 -1
- package/dist/components/{p-CtBM3KFY.js → p-B4pmO5QQ.js} +1 -1
- package/dist/components/{p-DyO09Jk6.js → p-B7UDMyar.js} +1 -1
- package/dist/components/{p-CxPSvrcF.js → p-BNWZoAip.js} +1 -1
- package/dist/components/p-BT2WH_CP.js +1 -0
- package/dist/components/{p-BPJsmv3o.js → p-BVnYDfb8.js} +1 -1
- package/dist/components/p-BWRE5w0i.js +1 -0
- package/dist/components/{p-DPLcGhVt.js → p-BXt0ers2.js} +1 -1
- package/dist/components/{p-BpCL2bfw.js → p-BldMZbAf.js} +1 -1
- package/dist/components/p-BtH2oezK.js +1 -0
- package/dist/components/{p-CMM8vtHW.js → p-C-oNdJj9.js} +1 -1
- package/dist/components/{p-D5-dYgK_.js → p-CJtE8Pyr.js} +1 -1
- package/dist/components/p-CLkpoHdg.js +1 -0
- package/dist/components/{p-z56_ZQ42.js → p-CPC9Vkmg.js} +1 -1
- package/dist/components/p-CYqHwYgQ.js +1 -0
- package/dist/components/{p-DYG9FH_u.js → p-CYv_8LrR.js} +1 -1
- package/dist/components/p-Ckl1aEvn.js +1 -0
- package/dist/components/p-D5LDmR4u.js +1 -0
- package/dist/components/{p-COqIkH1M.js → p-DHAoxu6M.js} +1 -1
- package/dist/components/{p-DdGnuNtc.js → p-DLLljAll.js} +1 -1
- package/dist/components/p-DdG2Ylar.js +1 -0
- package/dist/components/{p-LZ9lAY8T.js → p-Dn3DJxQQ.js} +1 -1
- package/dist/components/{p-BohXdw3-.js → p-GrpYAVHb.js} +1 -1
- package/dist/components/p-M6hn0BuZ.js +1 -0
- package/dist/components/{p-Dlb4ncGF.js → p-VIw66ez1.js} +1 -1
- package/dist/components/p-nHZ8466v.js +1 -0
- package/dist/esm/bn-annotation-layer_30.entry.js +75 -27
- package/dist/esm/bn-grid.entry.js +1 -1
- package/dist/esm/bn-image.entry.js +1 -1
- package/dist/esm/bn-text.entry.js +2 -2
- package/dist/esm/{withStyled-B-cbWCe2.js → withStyled-Cxua0iTP.js} +6 -1
- package/dist/esm/{withTranslation-_8q-7Y9C.js → withTranslation-BeAbw2--.js} +1 -1
- package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +1 -0
- package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +4 -1
- package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +4 -3
- package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +4 -3
- package/dist/types/components/bn-table/bn-table.d.ts +4 -1
- package/dist/types/components/bn-table/utils/elements/Cell.d.ts +2 -0
- package/dist/types/components/bn-table/utils/factories/tableDataSetFactory.d.ts +4 -0
- package/dist/types/components/bn-table/utils/helper/DataQuery.d.ts +3 -3
- package/dist/types/components/bn-title/bn-title.d.ts +1 -1
- package/dist/types/components.d.ts +12 -12
- package/dist/types/utils/constants.d.ts +6 -1
- package/dist/types/utils/model/VarianceScenario.d.ts +13 -1
- package/package.json +1 -1
- package/dist/bn-template-engine/p-58b10778.entry.js +0 -1
- package/dist/bn-template-engine/p-9f3cbc5f.entry.js +0 -1
- package/dist/bn-template-engine/p-BjR3nkhl.js +0 -1
- package/dist/bn-template-engine/p-fcc42077.entry.js +0 -1
- package/dist/components/p-B2jqpOF9.js +0 -1
- package/dist/components/p-BQMKgvEC.js +0 -1
- package/dist/components/p-BpsXOtoW.js +0 -1
- package/dist/components/p-CDoSPw-I.js +0 -1
- package/dist/components/p-CujsXn-l.js +0 -1
- package/dist/components/p-D4FY_yoG.js +0 -1
- package/dist/components/p-oJjMz8JF.js +0 -1
- package/dist/components/p-xpguaboj.js +0 -1
- package/dist/components/p-yH-XxIy9.js +0 -1
- package/dist/components/p-zf8cTH63.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,B as a,c as t,w as l,N as i,H as r,b as n}from"./p-CCZcKl0Q.js";export{s as setNonce}from"./p-CCZcKl0Q.js";import{g as c}from"./p-DQuL1Twl.js";var d=e=>{const a=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return a.call(this,e);const t=a.call(this,!1),l=this.childNodes;if(e)for(let e=0;e<l.length;e++)2!==l[e].nodeType&&t.appendChild(l[e].cloneNode(!0));return t}};(()=>{a.isDev&&!a.isTesting&&t("Running in development mode."),a.cloneNodeFix&&d(r.prototype);const s=a.scriptDataOpts?l.document&&Array.from(l.document.querySelectorAll("script")).find((e=>new RegExp(`/${i}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===i)):null,n=import.meta.url,c=a.scriptDataOpts&&(s||{})["data-opts"]||{};return""!==n&&(c.resourcesUrl=new URL(".",n).href),e(c)})().then((async e=>(await c(),n(JSON.parse('[["p-b4efbcb5",[[257,"bn-grid",{"selectedStyle":[513,"selected-style"],"chartTitle":[1,"chart-title"],"rowHeaders":[1,"row-headers"],"columnHeaders":[1,"column-headers"],"showRowHeaders":[4,"show-row-headers"],"showColumnHeaders":[4,"show-column-headers"],"i18nNamespace":[513,"i18n-namespace"],"showBorders":[4,"show-borders"],"rowHeaderWidth":[1,"row-header-width"],"cellGap":[1,"cell-gap"],"cellHeight":[1,"cell-height"],"cellWidth":[1,"cell-width"],"cellVerticalAlign":[1,"cell-vertical-align"],"cellHorizontalAlign":[1,"cell-horizontal-align"],"cellCaptions":[1,"cell-captions"],"gridConfig":[32],"resolvedHeight":[32],"resolvedWidth":[32],"resolvedVertical":[32],"resolvedHorizontal":[32],"captions":[32],"offsets":[32],"getLayoutState":[64]},null,{"rowHeaders":[{"validateRowHeaders":0}],"columnHeaders":[{"validateColumnHeaders":0}],"cellHeight":[{"validateCellHeight":0}],"cellWidth":[{"validateCellWidth":0}],"cellVerticalAlign":[{"validateCellVerticalAlign":0}],"cellHorizontalAlign":[{"validateCellHorizontalAlign":0}],"cellCaptions":[{"validateCellCaptions":0}]}]]],["p-9f3cbc5f",[[1,"bn-image",{"selectedStyle":[513,"selected-style"],"source":[1]}]]],["p-7d475277",[[0,"bn-internationalization",{"code":[1],"namespace":[1]}]]],["p-14d021be",[[0,"bn-ruleset",{"name":[1]}]]],["p-58b10778",[[1,"bn-text",{"datasets":[513],"selectedStyle":[513,"selected-style"],"i18nNamespace":[513,"i18n-namespace"],"value":[1],"scale":[1],"data":[32]},null,{"value":[{"validateValue":0}],"scale":[{"validateScaling":0}]}]]],["p-fcc42077",[[257,"bn-layout-page",{"styles":[1],"selectedStyle":[1,"selected-style"],"ruleset":[1],"messageText":[1,"message-text"],"messageImage":[1,"message-image"],"titleBusinessUnit":[1,"title-business-unit"],"titleScenarios":[1,"title-scenarios"],"titleVariances":[1,"title-variances"],"titleOrder":[1,"title-order"],"titleOrderDirection":[1,"title-order-direction"],"titleMeasures":[1,"title-measures"],"titleDateStart":[1,"title-date-start"],"titleDateEnd":[1,"title-date-end"],"titleDateFormat":[1,"title-date-format"],"titleDateLink":[1,"title-date-link"],"titleNamespace":[1,"title-namespace"],"i18nNamespace":[513,"i18n-namespace"],"pageFormat":[1,"page-format"],"pageOrientation":[1,"page-orientation"],"pageNumber":[1,"page-number"],"footerText":[1,"footer-text"],"footerDisplayPageNumber":[4,"footer-display-page-number"],"pageLayout":[1,"page-layout"],"pageCustomTemplate":[1,"page-custom-template"],"pageGridGap":[1,"page-grid-gap"],"pageFitToContent":[4,"page-fit-to-content"]}],[257,"bn-layout-card",{"styles":[1],"selectedStyle":[1,"selected-style"],"ruleset":[1],"titleImage":[1,"title-image"],"titleBusinessUnit":[1,"title-business-unit"],"titleScenarios":[1,"title-scenarios"],"titleVariances":[1,"title-variances"],"titleOrder":[1,"title-order"],"titleOrderDirection":[1,"title-order-direction"],"titleMeasures":[1,"title-measures"],"titleDateStart":[1,"title-date-start"],"titleDateEnd":[1,"title-date-end"],"titleDateFormat":[1,"title-date-format"],"titleDateLink":[1,"title-date-link"],"titleNamespace":[1,"title-namespace"],"i18nNamespace":[513,"i18n-namespace"],"footerText":[1,"footer-text"],"cardLayout":[1,"card-layout"],"cardCustomTemplate":[1,"card-custom-template"],"cardGridGap":[1,"card-grid-gap"],"cardFitToContent":[4,"card-fit-to-content"],"cardShowBorder":[4,"card-show-border"]}],[1,"bn-chart-bubble",{"datasets":[513],"selectedStyle":[513,"selected-style"],"i18nNamespace":[513,"i18n-namespace"],"ruleset":[513],"chartTitle":[1,"chart-title"],"filter":[1],"x":[1],"y":[1],"size":[1],"share":[1],"compareWith":[1,"compare-with"],"level":[1],"seriesLevel":[1,"series-level"],"facet":[1],"labels":[1],"legend":[1],"aspect":[1],"limit":[2],"scale":[1],"datasetName":[32],"dataVersion":[32],"datasetMeta":[32],"appliedScaleFactor":[32],"getBaseline":[64],"getLayoutState":[64]},null,{"filter":[{"validateFilter":0}],"x":[{"validateX":0}],"y":[{"validateY":0}],"size":[{"validateSize":0}],"share":[{"validateShare":0}],"compareWith":[{"validateCompareWith":0}],"level":[{"validateLevel":0}],"seriesLevel":[{"validateSeriesLevel":0}],"facet":[{"validateFacet":0}],"labels":[{"validateLabels":0}],"legend":[{"validateLegend":0}],"aspect":[{"validateAspect":0}],"limit":[{"validateLimit":0}],"scale":[{"validateScale":0}]}],[1,"bn-chart-bullet",{"datasets":[513],"selectedStyle":[513,"selected-style"],"i18nNamespace":[513,"i18n-namespace"],"ruleset":[513],"chartTitle":[1,"chart-title"],"filter":[1],"actual":[1],"target":[1],"ranges":[1],"normalizeMode":[1,"normalize"],"variances":[1],"level":[1],"order":[1],"orderDirection":[1,"order-direction"],"limit":[2],"labels":[1],"scale":[1],"datasetName":[32],"dataVersion":[32],"datasetMeta":[32],"appliedScaleFactor":[32],"getBaseline":[64],"getLayoutState":[64]},null,{"filter":[{"validateFilter":0}],"actual":[{"validateActual":0}],"target":[{"validateTarget":0}],"ranges":[{"validateRanges":0}],"normalizeMode":[{"validateNormalize":0}],"variances":[{"validateVariances":0}],"level":[{"validateLevel":0}],"order":[{"validateOrder":0}],"orderDirection":[{"validateOrderDirection":0}],"limit":[{"validateLimit":0}],"labels":[{"validateLabels":0}],"scale":[{"validateScale":0}]}],[1,"bn-chart-scatter",{"datasets":[513],"selectedStyle":[513,"selected-style"],"i18nNamespace":[513,"i18n-namespace"],"ruleset":[513],"chartTitle":[1,"chart-title"],"filter":[1],"x":[1],"y":[1],"iso":[1],"level":[1],"seriesLevel":[1,"series-level"],"facet":[1],"labels":[1],"legend":[1],"aspect":[1],"limit":[2],"scale":[1],"datasetName":[32],"dataVersion":[32],"datasetMeta":[32],"appliedScaleFactor":[32],"getBaseline":[64],"getLayoutState":[64]},null,{"filter":[{"validateFilter":0}],"x":[{"validateX":0}],"y":[{"validateY":0}],"iso":[{"validateIso":0}],"level":[{"validateLevel":0}],"seriesLevel":[{"validateSeriesLevel":0}],"facet":[{"validateFacet":0}],"labels":[{"validateLabels":0}],"legend":[{"validateLegend":0}],"aspect":[{"validateAspect":0}],"limit":[{"validateLimit":0}],"scale":[{"validateScale":0}]}],[1,"bn-chart-structure",{"datasets":[513],"selectedStyle":[513,"selected-style"],"i18nNamespace":[513,"i18n-namespace"],"chartTitle":[1,"chart-title"],"ruleset":[513],"filter":[1],"scenarios":[1],"variances":[1],"unitScaling":[8,"unit-scaling"],"percentageScaling":[8,"percentage-scaling"],"level":[1],"order":[1],"orderDirection":[1,"order-direction"],"limit":[2],"showCategories":[4,"show-categories"],"measureScale":[1,"measure-scale"],"showMeasureScale":[4,"show-measure-scale"],"measureUnit":[1,"measure-unit"],"stack":[1],"scale":[1],"datasetName":[32],"dataVersion":[32],"datasetMeta":[32],"appliedScaleFactor":[32],"getBaseline":[64],"getLayoutState":[64]},null,{"filter":[{"validateFilter":0}],"scenarios":[{"validateScenario":0}],"variances":[{"validateVariances":0}],"unitScaling":[{"validateUnitScaling":0}],"percentageScaling":[{"validatePercentageScaling":0}],"level":[{"validateLevel":0}],"order":[{"validateOrderList":0}],"orderDirection":[{"validateOrderDirection":0}],"limit":[{"validateLimit":0}],"measureScale":[{"validateMeasureScale":0}],"stack":[{"validateStack":0}],"scale":[{"validateScaling":0}]}],[1,"bn-chart-time",{"datasets":[513],"selectedStyle":[513,"selected-style"],"i18nNamespace":[513,"i18n-namespace"],"ruleset":[513],"chartTitle":[1,"chart-title"],"filter":[1],"scenarios":[1],"variances":[1],"syncSpaceLeft":[2,"sync-space-left"],"unitScaling":[8,"unit-scaling"],"percentageScaling":[8,"percentage-scaling"],"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":[4,"line-full-width"],"showCategories":[4,"show-categories"],"measureScale":[1,"measure-scale"],"showMeasureScale":[4,"show-measure-scale"],"showOverlayAvg":[4,"show-overlay-avg"],"showOverlayMedian":[4,"show-overlay-median"],"measureUnit":[1,"measure-unit"],"datasetName":[32],"dataVersion":[32],"datasetMeta":[32],"appliedScaleFactor":[32],"getBaseline":[64],"getLayoutState":[64]},null,{"filter":[{"validateFilter":0}],"scenarios":[{"validateScenario":0}],"variances":[{"validateVariances":0}],"syncSpaceLeft":[{"validateLeftSync":0}],"unitScaling":[{"validateUnitScaling":0}],"percentageScaling":[{"validatePercentageScaling":0}],"dateInterval":[{"validateDateInterval":0}],"chartMode":[{"validateChartMode":0}],"maxBars":[{"validateMaxBars":0}],"stack":[{"validateStack":0}],"scale":[{"validateScaling":0}],"axisLabelsMode":[{"validateAxisLabelsMode":0}],"measureScale":[{"validateMeasureScale":0}]}],[1,"bn-table",{"datasets":[513],"i18nNamespace":[513,"i18n-namespace"],"scale":[1],"ruleset":[513],"selectedStyle":[513,"selected-style"],"sumTitle":[1,"sum-title"],"filter":[1],"measureUnit":[1,"measure-unit"],"scenarios":[1],"variances":[1],"barColumns":[1,"bar-columns"],"barColumnWidth":[1,"bar-column-width"],"unitScaling":[8,"unit-scaling"],"percentageScaling":[8,"percentage-scaling"],"dataFormat":[1,"data-format"],"grouped":[4],"showMeasureScale":[4,"show-measure-scale"],"showGroupTitle":[4,"show-group-title"],"type":[1],"limit":[2],"thereof":[1],"partof":[1],"order":[1],"orderDirection":[1,"order-direction"],"measureType":[1,"measure-type"],"measureScale":[1,"measure-scale"],"dataFormatDigitsDecimal":[2,"data-format-digits-decimal"],"dataFormatDigitsPercent":[2,"data-format-digits-percent"],"categoryWidth":[1,"category-width"],"columnthereof":[1],"interval":[1],"tableAttributes":[1,"attributes"],"datasetName":[32],"dataVersion":[32],"datasetMeta":[32],"appliedScaleFactor":[32],"hasBlankSetnames":[32],"getBaseline":[64],"getLayoutState":[64]},null,{"scale":[{"validateScaling":0}],"filter":[{"validateFilter":0}],"scenarios":[{"validateScenario":0}],"variances":[{"validateVariances":0}],"barColumns":[{"validateBarColumns":0}],"barColumnWidth":[{"validateBarColumnWidth":0}],"unitScaling":[{"validateUnitScaling":0}],"percentageScaling":[{"validatePercentageScaling":0}],"dataFormat":[{"validateDataFormat":0}],"type":[{"validateType":0}],"limit":[{"validateLimit":0}],"thereof":[{"validateThereOf":0}],"partof":[{"validatePartOf":0}],"order":[{"validateOrderList":0}],"orderDirection":[{"validateOrderDirection":0}],"measureType":[{"validateMeasureType":0}],"measureScale":[{"validateMeasureScale":0}],"dataFormatDigitsDecimal":[{"validateDataFormatDigitsDecimal":0}],"dataFormatDigitsPercent":[{"validateDateFormatDigitsPercent":0}],"categoryWidth":[{"validateCategoryWidth":0}],"columnthereof":[{"validateColumnThereOf":0}],"interval":[{"validateInterval":0}],"tableAttributes":[{"validateTableAttributes":0}]}],[1,"bn-annotation-layer",{"items":[1],"selectedStyle":[513,"selected-style"],"marks":[32]},null,{"items":[{"onItemsChange":0}]}],[1,"bn-annotation-list",{"items":[1],"selectedStyle":[513,"selected-style"]}],[1,"bn-asset",{"name":[1]}],[0,"bn-component-style",{"name":[1]}],[257,"bn-context",{"locale":[1],"i18nNamespace":[513,"i18n-namespace"],"renderOrientation":[513,"render-orientation"],"getLayoutState":[64]},null,{"locale":[{"setLocale":0}]}],[0,"bn-dataset",{"name":[1],"datasources":[1],"static":[4],"raw":[4],"refreshInterval":[2,"refresh-interval"],"src":[1]},null,{"name":[{"nameUpdated":0}],"refreshInterval":[{"onIntervalChange":0}],"src":[{"onSrcChange":0}]}],[0,"bn-datasource",{"name":[1],"raw":[4],"refreshInterval":[2,"refresh-interval"],"src":[1]},null,{"refreshInterval":[{"onIntervalChange":0}],"src":[{"onSrcChange":0}],"name":[{"nameUpdated":0}]}],[0,"bn-scaling-group",{"name":[1],"value":[8]},null,{"name":[{"onNameChange":0}],"value":[{"onValueChange":0}]}],[257,"bn-tree",{"selectedStyle":[513,"selected-style"],"edges":[1],"direction":[1],"levelSpacing":[2,"level-spacing"],"nodeSpacing":[2,"node-spacing"],"edgeStyle":[1,"edge-style"],"i18nNamespace":[513,"i18n-namespace"],"showOperators":[4,"show-operators"],"treeConfig":[32],"layout":[32],"nodeRects":[32],"svgWidth":[32],"svgHeight":[32],"getLayoutState":[64]},null,{"edges":[{"validateEdgesProp":0}],"direction":[{"validateDirection":0}],"levelSpacing":[{"validateLevelSpacing":0}],"nodeSpacing":[{"validateNodeSpacing":0}],"edgeStyle":[{"validateEdgeStyle":0}]}],[257,"bn-card",{"selectedStyle":[513,"selected-style"]}],[1,"bn-chart-bubble-renderer",{"tableName":[1,"table-name"],"dataVersion":[2,"data-version"],"chartTitle":[1,"chart-title"],"x":[16],"y":[16],"size":[16],"share":[16],"compareFamily":[1,"compare-family"],"labels":[16],"legend":[16],"facet":[16],"pointLevel":[1,"point-level"],"seriesLevel":[1,"series-level"],"aspect":[2],"limit":[2],"filter":[1],"sizeAreaPerUnit":[2,"size-area-per-unit"],"styles":[16],"i18n":[16],"containerWidth":[2,"container-width"],"ruleSetConfig":[16],"errors":[16],"translator":[16]}],[1,"bn-chart-bullet-renderer",{"tableName":[1,"table-name"],"dataVersion":[2,"data-version"],"chartTitle":[1,"chart-title"],"actual":[16],"target":[16],"ranges":[16],"normalizeMode":[1,"normalize-mode"],"showVariances":[4,"show-variances"],"level":[1],"order":[16],"limit":[2],"labels":[16],"filter":[1],"styles":[16],"i18n":[16],"containerWidth":[2,"container-width"],"ruleSetConfig":[16],"errors":[16],"translator":[16]}],[1,"bn-chart-scatter-renderer",{"tableName":[1,"table-name"],"dataVersion":[2,"data-version"],"chartTitle":[1,"chart-title"],"x":[16],"y":[16],"iso":[16],"labels":[16],"legend":[16],"facet":[16],"pointLevel":[1,"point-level"],"seriesLevel":[1,"series-level"],"aspect":[2],"limit":[2],"filter":[1],"styles":[16],"i18n":[16],"containerWidth":[2,"container-width"],"ruleSetConfig":[16],"errors":[16],"translator":[16]}],[1,"bn-chart-structure-renderer",{"tableName":[1,"table-name"],"dataVersion":[2,"data-version"],"chartTitle":[1,"chart-title"],"scenarios":[16],"variances":[16],"hideCategories":[4,"hide-categories"],"pixelPerUnit":[2,"pixel-per-unit"],"pixelPerPercentage":[2,"pixel-per-percentage"],"reportAutoScaling":[16],"errors":[16],"limit":[2],"styles":[1040],"i18n":[1040],"order":[16],"level":[1],"filter":[1],"measureScale":[1,"measure-scale"],"measureUnit":[1,"measure-unit"],"showMeasureScale":[4,"show-measure-scale"],"dataFormatDigits":[16],"stackConfig":[16],"parentDimensions":[16],"ruleSetConfig":[16]}],[1,"bn-chart-time-renderer",{"tableName":[1,"table-name"],"dataVersion":[2,"data-version"],"chartTitle":[1,"chart-title"],"scenarios":[16],"variances":[16],"hideAxisLabels":[4,"hide-axis-labels"],"pixelPerUnit":[2,"pixel-per-unit"],"pixelPerPercentage":[2,"pixel-per-percentage"],"reportAutoScaling":[16],"errors":[16],"leftSideOffsetForHorizontalSync":[2,"left-side-offset-for-horizontal-sync"],"styles":[1040],"i18n":[1040],"dateInterval":[1,"date-interval"],"intervalSpanLimit":[2,"interval-span-limit"],"axisLabelsMode":[1,"axis-labels-mode"],"filter":[1],"measureScale":[1,"measure-scale"],"measureUnit":[1,"measure-unit"],"showMeasureScale":[4,"show-measure-scale"],"showOverlayMedian":[4,"show-overlay-median"],"showOverlayAvg":[4,"show-overlay-avg"],"chartMode":[1,"chart-mode"],"maxBars":[2,"max-bars"],"stackConfig":[16],"lineFullWidth":[4,"line-full-width"],"containerWidth":[2,"container-width"],"dataFormatDigits":[16],"parentDimensions":[16],"ruleSetConfig":[16]}],[1,"bn-message",{"selectedStyle":[513,"selected-style"],"text":[1025],"image":[1]}],[257,"bn-page",{"selectedStyle":[513,"selected-style"],"format":[1],"orientation":[1]},null,{"format":[{"validateFormat":0}],"orientation":[{"validateOrientation":0}]}],[1,"bn-table-renderer",{"tableName":[1,"table-name"],"dataVersion":[2,"data-version"],"selectedStyle":[513,"selected-style"],"sumTitle":[1,"sum-title"],"scenarios":[16],"scenariosDataFormat":[1,"scenarios-data-format"],"grouped":[4],"limit":[2],"showGroupTitle":[4,"show-group-title"],"thereof":[16],"partof":[16],"order":[16],"categorythereof":[16],"attributeColumns":[16],"type":[1],"categoryWidth":[1,"category-width"],"dataFormatDigits":[16],"ruleSetConfig":[16],"i18n":[1040],"i18nMode":[1,"i18n-mode"],"measureScale":[1,"measure-scale"],"measureUnit":[1,"measure-unit"],"showMeasureScale":[4,"show-measure-scale"],"measureType":[1,"measure-type"],"filter":[1],"barColumns":[16],"interval":[1],"barColumnMaxWidth":[2,"bar-column-max-width"],"unitScaling":[2,"unit-scaling"],"percentageScaling":[2,"percentage-scaling"],"reportAutoScaling":[16],"errors":[16],"scaleFactor":[2,"scale-factor"],"getLayoutDetail":[64]}],[1,"bn-title",{"selectedStyle":[513,"selected-style"],"i18nNamespace":[513,"i18n-namespace"],"ruleset":[513],"businessUnit":[1,"business-unit"],"scenarios":[1],"variances":[1],"order":[1],"orderDirection":[1,"order-direction"],"measures":[1],"dateStart":[1,"date-start"],"dateEnd":[1,"date-end"],"dateFormat":[1,"date-format"],"dateLink":[1,"date-link"]},null,{"scenarios":[{"validateScenario":0}],"variances":[{"validateVariances":0}],"order":[{"validateOrder":0}],"orderDirection":[{"validateOrderDirection":0}],"measures":[{"validateMeasures":0}],"dateStart":[{"validateDateStart":0}],"dateEnd":[{"validateDateEnd":0}],"dateFormat":[{"validateDateFormat":0}],"dateLink":[{"validateDateLink":0}]}],[257,"bn-body",{"selectedStyle":[513,"selected-style"]}],[1,"bn-footer",{"selectedStyle":[513,"selected-style"],"pageNumber":[1025,"page-number"],"text":[1025],"displayPageNumber":[4,"display-page-number"]}],[1,"bn-title-renderer",{"businessUnit":[1537,"business-unit"],"scenarios":[16],"measures":[16],"timeperiod":[16],"intervalSpanLimit":[2,"interval-span-limit"],"order":[16],"i18n":[1040],"i18nMode":[1,"i18n-mode"],"locale":[1],"ruleSetConfig":[16]}]]]]'),e))));
|
|
1
|
+
import{p as e,B as a,c as t,w as l,N as i,H as r,b as n}from"./p-CCZcKl0Q.js";export{s as setNonce}from"./p-CCZcKl0Q.js";import{g as c}from"./p-DQuL1Twl.js";var d=e=>{const a=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return a.call(this,e);const t=a.call(this,!1),l=this.childNodes;if(e)for(let e=0;e<l.length;e++)2!==l[e].nodeType&&t.appendChild(l[e].cloneNode(!0));return t}};(()=>{a.isDev&&!a.isTesting&&t("Running in development mode."),a.cloneNodeFix&&d(r.prototype);const s=a.scriptDataOpts?l.document&&Array.from(l.document.querySelectorAll("script")).find((e=>new RegExp(`/${i}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===i)):null,n=import.meta.url,c=a.scriptDataOpts&&(s||{})["data-opts"]||{};return""!==n&&(c.resourcesUrl=new URL(".",n).href),e(c)})().then((async e=>(await c(),n(JSON.parse('[["p-dec6837c",[[257,"bn-grid",{"selectedStyle":[513,"selected-style"],"chartTitle":[1,"chart-title"],"rowHeaders":[1,"row-headers"],"columnHeaders":[1,"column-headers"],"showRowHeaders":[4,"show-row-headers"],"showColumnHeaders":[4,"show-column-headers"],"i18nNamespace":[513,"i18n-namespace"],"showBorders":[4,"show-borders"],"rowHeaderWidth":[1,"row-header-width"],"cellGap":[1,"cell-gap"],"cellHeight":[1,"cell-height"],"cellWidth":[1,"cell-width"],"cellVerticalAlign":[1,"cell-vertical-align"],"cellHorizontalAlign":[1,"cell-horizontal-align"],"cellCaptions":[1,"cell-captions"],"gridConfig":[32],"resolvedHeight":[32],"resolvedWidth":[32],"resolvedVertical":[32],"resolvedHorizontal":[32],"captions":[32],"offsets":[32],"getLayoutState":[64]},null,{"rowHeaders":[{"validateRowHeaders":0}],"columnHeaders":[{"validateColumnHeaders":0}],"cellHeight":[{"validateCellHeight":0}],"cellWidth":[{"validateCellWidth":0}],"cellVerticalAlign":[{"validateCellVerticalAlign":0}],"cellHorizontalAlign":[{"validateCellHorizontalAlign":0}],"cellCaptions":[{"validateCellCaptions":0}]}]]],["p-66ed6259",[[1,"bn-image",{"selectedStyle":[513,"selected-style"],"source":[1]}]]],["p-7d475277",[[0,"bn-internationalization",{"code":[1],"namespace":[1]}]]],["p-14d021be",[[0,"bn-ruleset",{"name":[1]}]]],["p-789bfd06",[[1,"bn-text",{"datasets":[513],"selectedStyle":[513,"selected-style"],"i18nNamespace":[513,"i18n-namespace"],"value":[1],"scale":[1],"data":[32]},null,{"value":[{"validateValue":0}],"scale":[{"validateScaling":0}]}]]],["p-dc12ff1b",[[257,"bn-layout-page",{"styles":[1],"selectedStyle":[1,"selected-style"],"ruleset":[1],"messageText":[1,"message-text"],"messageImage":[1,"message-image"],"titleBusinessUnit":[1,"title-business-unit"],"titleScenarios":[1,"title-scenarios"],"titleVariances":[1,"title-variances"],"titleOrder":[1,"title-order"],"titleOrderDirection":[1,"title-order-direction"],"titleMeasures":[1,"title-measures"],"titleDateStart":[1,"title-date-start"],"titleDateEnd":[1,"title-date-end"],"titleDateFormat":[1,"title-date-format"],"titleDateLink":[1,"title-date-link"],"titleNamespace":[1,"title-namespace"],"i18nNamespace":[513,"i18n-namespace"],"pageFormat":[1,"page-format"],"pageOrientation":[1,"page-orientation"],"pageNumber":[1,"page-number"],"footerText":[1,"footer-text"],"footerDisplayPageNumber":[4,"footer-display-page-number"],"pageLayout":[1,"page-layout"],"pageCustomTemplate":[1,"page-custom-template"],"pageGridGap":[1,"page-grid-gap"],"pageFitToContent":[4,"page-fit-to-content"]}],[257,"bn-layout-card",{"styles":[1],"selectedStyle":[1,"selected-style"],"ruleset":[1],"titleImage":[1,"title-image"],"titleBusinessUnit":[1,"title-business-unit"],"titleScenarios":[1,"title-scenarios"],"titleVariances":[1,"title-variances"],"titleOrder":[1,"title-order"],"titleOrderDirection":[1,"title-order-direction"],"titleMeasures":[1,"title-measures"],"titleDateStart":[1,"title-date-start"],"titleDateEnd":[1,"title-date-end"],"titleDateFormat":[1,"title-date-format"],"titleDateLink":[1,"title-date-link"],"titleNamespace":[1,"title-namespace"],"i18nNamespace":[513,"i18n-namespace"],"footerText":[1,"footer-text"],"cardLayout":[1,"card-layout"],"cardCustomTemplate":[1,"card-custom-template"],"cardGridGap":[1,"card-grid-gap"],"cardFitToContent":[4,"card-fit-to-content"],"cardShowBorder":[4,"card-show-border"]}],[1,"bn-chart-bubble",{"datasets":[513],"selectedStyle":[513,"selected-style"],"i18nNamespace":[513,"i18n-namespace"],"ruleset":[513],"chartTitle":[1,"chart-title"],"filter":[1],"x":[1],"y":[1],"size":[1],"share":[1],"compareWith":[1,"compare-with"],"level":[1],"seriesLevel":[1,"series-level"],"facet":[1],"labels":[1],"legend":[1],"aspect":[1],"limit":[2],"scale":[1],"datasetName":[32],"dataVersion":[32],"datasetMeta":[32],"appliedScaleFactor":[32],"getBaseline":[64],"getLayoutState":[64]},null,{"filter":[{"validateFilter":0}],"x":[{"validateX":0}],"y":[{"validateY":0}],"size":[{"validateSize":0}],"share":[{"validateShare":0}],"compareWith":[{"validateCompareWith":0}],"level":[{"validateLevel":0}],"seriesLevel":[{"validateSeriesLevel":0}],"facet":[{"validateFacet":0}],"labels":[{"validateLabels":0}],"legend":[{"validateLegend":0}],"aspect":[{"validateAspect":0}],"limit":[{"validateLimit":0}],"scale":[{"validateScale":0}]}],[1,"bn-chart-bullet",{"datasets":[513],"selectedStyle":[513,"selected-style"],"i18nNamespace":[513,"i18n-namespace"],"ruleset":[513],"chartTitle":[1,"chart-title"],"filter":[1],"actual":[1],"target":[1],"ranges":[1],"normalizeMode":[1,"normalize"],"variances":[1],"level":[1],"order":[1],"orderDirection":[1,"order-direction"],"limit":[2],"labels":[1],"scale":[1],"datasetName":[32],"dataVersion":[32],"datasetMeta":[32],"appliedScaleFactor":[32],"getBaseline":[64],"getLayoutState":[64]},null,{"filter":[{"validateFilter":0}],"actual":[{"validateActual":0}],"target":[{"validateTarget":0}],"ranges":[{"validateRanges":0}],"normalizeMode":[{"validateNormalize":0}],"variances":[{"validateVariances":0}],"level":[{"validateLevel":0}],"order":[{"validateOrder":0}],"orderDirection":[{"validateOrderDirection":0}],"limit":[{"validateLimit":0}],"labels":[{"validateLabels":0}],"scale":[{"validateScale":0}]}],[1,"bn-chart-scatter",{"datasets":[513],"selectedStyle":[513,"selected-style"],"i18nNamespace":[513,"i18n-namespace"],"ruleset":[513],"chartTitle":[1,"chart-title"],"filter":[1],"x":[1],"y":[1],"iso":[1],"level":[1],"seriesLevel":[1,"series-level"],"facet":[1],"labels":[1],"legend":[1],"aspect":[1],"limit":[2],"scale":[1],"datasetName":[32],"dataVersion":[32],"datasetMeta":[32],"appliedScaleFactor":[32],"getBaseline":[64],"getLayoutState":[64]},null,{"filter":[{"validateFilter":0}],"x":[{"validateX":0}],"y":[{"validateY":0}],"iso":[{"validateIso":0}],"level":[{"validateLevel":0}],"seriesLevel":[{"validateSeriesLevel":0}],"facet":[{"validateFacet":0}],"labels":[{"validateLabels":0}],"legend":[{"validateLegend":0}],"aspect":[{"validateAspect":0}],"limit":[{"validateLimit":0}],"scale":[{"validateScale":0}]}],[1,"bn-chart-structure",{"datasets":[513],"selectedStyle":[513,"selected-style"],"i18nNamespace":[513,"i18n-namespace"],"chartTitle":[1,"chart-title"],"ruleset":[513],"filter":[1],"scenarios":[1],"variances":[1],"unitScaling":[8,"unit-scaling"],"percentageScaling":[8,"percentage-scaling"],"level":[1],"order":[1],"orderDirection":[1,"order-direction"],"limit":[2],"showCategories":[4,"show-categories"],"measureScale":[1,"measure-scale"],"showMeasureScale":[4,"show-measure-scale"],"measureUnit":[1,"measure-unit"],"stack":[1],"scale":[1],"datasetName":[32],"dataVersion":[32],"datasetMeta":[32],"appliedScaleFactor":[32],"getBaseline":[64],"getLayoutState":[64]},null,{"filter":[{"validateFilter":0}],"scenarios":[{"validateScenario":0}],"variances":[{"validateVariances":0}],"unitScaling":[{"validateUnitScaling":0}],"percentageScaling":[{"validatePercentageScaling":0}],"level":[{"validateLevel":0}],"order":[{"validateOrderList":0}],"orderDirection":[{"validateOrderDirection":0}],"limit":[{"validateLimit":0}],"measureScale":[{"validateMeasureScale":0}],"stack":[{"validateStack":0}],"scale":[{"validateScaling":0}]}],[1,"bn-chart-time",{"datasets":[513],"selectedStyle":[513,"selected-style"],"i18nNamespace":[513,"i18n-namespace"],"ruleset":[513],"chartTitle":[1,"chart-title"],"filter":[1],"scenarios":[1],"variances":[1],"syncSpaceLeft":[2,"sync-space-left"],"unitScaling":[8,"unit-scaling"],"percentageScaling":[8,"percentage-scaling"],"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":[4,"line-full-width"],"showCategories":[4,"show-categories"],"measureScale":[1,"measure-scale"],"showMeasureScale":[4,"show-measure-scale"],"showOverlayAvg":[4,"show-overlay-avg"],"showOverlayMedian":[4,"show-overlay-median"],"measureUnit":[1,"measure-unit"],"datasetName":[32],"dataVersion":[32],"datasetMeta":[32],"appliedScaleFactor":[32],"getBaseline":[64],"getLayoutState":[64]},null,{"filter":[{"validateFilter":0}],"scenarios":[{"validateScenario":0}],"variances":[{"validateVariances":0}],"syncSpaceLeft":[{"validateLeftSync":0}],"unitScaling":[{"validateUnitScaling":0}],"percentageScaling":[{"validatePercentageScaling":0}],"dateInterval":[{"validateDateInterval":0}],"chartMode":[{"validateChartMode":0}],"maxBars":[{"validateMaxBars":0}],"stack":[{"validateStack":0}],"scale":[{"validateScaling":0}],"axisLabelsMode":[{"validateAxisLabelsMode":0}],"measureScale":[{"validateMeasureScale":0}]}],[1,"bn-table",{"datasets":[513],"i18nNamespace":[513,"i18n-namespace"],"scale":[1],"ruleset":[513],"selectedStyle":[513,"selected-style"],"sumTitle":[1,"sum-title"],"filter":[1],"measureUnit":[1,"measure-unit"],"scenarios":[1],"variances":[1],"barColumns":[1,"bar-columns"],"barColumnWidth":[1,"bar-column-width"],"unitScaling":[8,"unit-scaling"],"percentageScaling":[8,"percentage-scaling"],"dataFormat":[1,"data-format"],"grouped":[4],"showMeasureScale":[4,"show-measure-scale"],"showGroupTitle":[4,"show-group-title"],"type":[1],"limit":[2],"thereof":[1],"partof":[1],"order":[1],"orderDirection":[1,"order-direction"],"measureType":[1,"measure-type"],"measureScale":[1,"measure-scale"],"dataFormatDigitsDecimal":[2,"data-format-digits-decimal"],"dataFormatDigitsPercent":[2,"data-format-digits-percent"],"categoryWidth":[1,"category-width"],"columnthereof":[1],"interval":[1],"tableAttributes":[1,"attributes"],"datasetName":[32],"dataVersion":[32],"datasetMeta":[32],"appliedScaleFactor":[32],"hasBlankSetnames":[32],"getBaseline":[64],"getLayoutState":[64]},null,{"scale":[{"validateScaling":0}],"filter":[{"validateFilter":0}],"scenarios":[{"validateScenario":0}],"variances":[{"validateVariances":0}],"barColumns":[{"validateBarColumns":0}],"barColumnWidth":[{"validateBarColumnWidth":0}],"unitScaling":[{"validateUnitScaling":0}],"percentageScaling":[{"validatePercentageScaling":0}],"dataFormat":[{"validateDataFormat":0}],"type":[{"validateType":0}],"limit":[{"validateLimit":0}],"thereof":[{"validateThereOf":0}],"partof":[{"validatePartOf":0}],"order":[{"validateOrderList":0}],"orderDirection":[{"validateOrderDirection":0}],"measureType":[{"validateMeasureType":0}],"measureScale":[{"validateMeasureScale":0}],"dataFormatDigitsDecimal":[{"validateDataFormatDigitsDecimal":0}],"dataFormatDigitsPercent":[{"validateDateFormatDigitsPercent":0}],"categoryWidth":[{"validateCategoryWidth":0}],"columnthereof":[{"validateColumnThereOf":0}],"interval":[{"validateInterval":0}],"tableAttributes":[{"validateTableAttributes":0}]}],[1,"bn-annotation-layer",{"items":[1],"selectedStyle":[513,"selected-style"],"marks":[32]},null,{"items":[{"onItemsChange":0}]}],[1,"bn-annotation-list",{"items":[1],"selectedStyle":[513,"selected-style"]}],[1,"bn-asset",{"name":[1]}],[0,"bn-component-style",{"name":[1]}],[257,"bn-context",{"locale":[1],"i18nNamespace":[513,"i18n-namespace"],"renderOrientation":[513,"render-orientation"],"getLayoutState":[64]},null,{"locale":[{"setLocale":0}]}],[0,"bn-dataset",{"name":[1],"datasources":[1],"static":[4],"raw":[4],"refreshInterval":[2,"refresh-interval"],"src":[1]},null,{"name":[{"nameUpdated":0}],"refreshInterval":[{"onIntervalChange":0}],"src":[{"onSrcChange":0}]}],[0,"bn-datasource",{"name":[1],"raw":[4],"refreshInterval":[2,"refresh-interval"],"src":[1]},null,{"refreshInterval":[{"onIntervalChange":0}],"src":[{"onSrcChange":0}],"name":[{"nameUpdated":0}]}],[0,"bn-scaling-group",{"name":[1],"value":[8]},null,{"name":[{"onNameChange":0}],"value":[{"onValueChange":0}]}],[257,"bn-tree",{"selectedStyle":[513,"selected-style"],"edges":[1],"direction":[1],"levelSpacing":[2,"level-spacing"],"nodeSpacing":[2,"node-spacing"],"edgeStyle":[1,"edge-style"],"i18nNamespace":[513,"i18n-namespace"],"showOperators":[4,"show-operators"],"treeConfig":[32],"layout":[32],"nodeRects":[32],"svgWidth":[32],"svgHeight":[32],"getLayoutState":[64]},null,{"edges":[{"validateEdgesProp":0}],"direction":[{"validateDirection":0}],"levelSpacing":[{"validateLevelSpacing":0}],"nodeSpacing":[{"validateNodeSpacing":0}],"edgeStyle":[{"validateEdgeStyle":0}]}],[257,"bn-card",{"selectedStyle":[513,"selected-style"]}],[1,"bn-chart-bubble-renderer",{"tableName":[1,"table-name"],"dataVersion":[2,"data-version"],"chartTitle":[1,"chart-title"],"x":[16],"y":[16],"size":[16],"share":[16],"compareFamily":[1,"compare-family"],"labels":[16],"legend":[16],"facet":[16],"pointLevel":[1,"point-level"],"seriesLevel":[1,"series-level"],"aspect":[2],"limit":[2],"filter":[1],"sizeAreaPerUnit":[2,"size-area-per-unit"],"styles":[16],"i18n":[16],"containerWidth":[2,"container-width"],"ruleSetConfig":[16],"errors":[16],"translator":[16]}],[1,"bn-chart-bullet-renderer",{"tableName":[1,"table-name"],"dataVersion":[2,"data-version"],"chartTitle":[1,"chart-title"],"actual":[16],"target":[16],"ranges":[16],"normalizeMode":[1,"normalize-mode"],"showVariances":[4,"show-variances"],"level":[1],"order":[16],"limit":[2],"labels":[16],"filter":[1],"styles":[16],"i18n":[16],"containerWidth":[2,"container-width"],"ruleSetConfig":[16],"errors":[16],"translator":[16]}],[1,"bn-chart-scatter-renderer",{"tableName":[1,"table-name"],"dataVersion":[2,"data-version"],"chartTitle":[1,"chart-title"],"x":[16],"y":[16],"iso":[16],"labels":[16],"legend":[16],"facet":[16],"pointLevel":[1,"point-level"],"seriesLevel":[1,"series-level"],"aspect":[2],"limit":[2],"filter":[1],"styles":[16],"i18n":[16],"containerWidth":[2,"container-width"],"ruleSetConfig":[16],"errors":[16],"translator":[16]}],[1,"bn-chart-structure-renderer",{"tableName":[1,"table-name"],"dataVersion":[2,"data-version"],"chartTitle":[1,"chart-title"],"scenarios":[16],"variances":[16],"hideCategories":[4,"hide-categories"],"pixelPerUnit":[2,"pixel-per-unit"],"pixelPerPercentage":[2,"pixel-per-percentage"],"reportAutoScaling":[16],"errors":[16],"limit":[2],"styles":[1040],"i18n":[1040],"order":[16],"level":[1],"filter":[1],"measureScale":[1,"measure-scale"],"measureUnit":[1,"measure-unit"],"showMeasureScale":[4,"show-measure-scale"],"dataFormatDigits":[16],"stackConfig":[16],"parentDimensions":[16],"ruleSetConfig":[16]}],[1,"bn-chart-time-renderer",{"tableName":[1,"table-name"],"dataVersion":[2,"data-version"],"chartTitle":[1,"chart-title"],"scenarios":[16],"variances":[16],"hideAxisLabels":[4,"hide-axis-labels"],"pixelPerUnit":[2,"pixel-per-unit"],"pixelPerPercentage":[2,"pixel-per-percentage"],"reportAutoScaling":[16],"errors":[16],"leftSideOffsetForHorizontalSync":[2,"left-side-offset-for-horizontal-sync"],"styles":[1040],"i18n":[1040],"dateInterval":[1,"date-interval"],"intervalSpanLimit":[2,"interval-span-limit"],"axisLabelsMode":[1,"axis-labels-mode"],"filter":[1],"measureScale":[1,"measure-scale"],"measureUnit":[1,"measure-unit"],"showMeasureScale":[4,"show-measure-scale"],"showOverlayMedian":[4,"show-overlay-median"],"showOverlayAvg":[4,"show-overlay-avg"],"chartMode":[1,"chart-mode"],"maxBars":[2,"max-bars"],"stackConfig":[16],"lineFullWidth":[4,"line-full-width"],"containerWidth":[2,"container-width"],"dataFormatDigits":[16],"parentDimensions":[16],"ruleSetConfig":[16]}],[1,"bn-message",{"selectedStyle":[513,"selected-style"],"text":[1025],"image":[1]}],[257,"bn-page",{"selectedStyle":[513,"selected-style"],"format":[1],"orientation":[1]},null,{"format":[{"validateFormat":0}],"orientation":[{"validateOrientation":0}]}],[1,"bn-table-renderer",{"tableName":[1,"table-name"],"dataVersion":[2,"data-version"],"selectedStyle":[513,"selected-style"],"sumTitle":[1,"sum-title"],"scenarios":[16],"scenariosDataFormat":[1,"scenarios-data-format"],"grouped":[4],"limit":[2],"showGroupTitle":[4,"show-group-title"],"thereof":[16],"partof":[16],"order":[16],"categorythereof":[16],"attributeColumns":[16],"type":[1],"categoryWidth":[1,"category-width"],"dataFormatDigits":[16],"ruleSetConfig":[16],"i18n":[1040],"i18nMode":[1,"i18n-mode"],"measureScale":[1,"measure-scale"],"measureUnit":[1,"measure-unit"],"showMeasureScale":[4,"show-measure-scale"],"measureType":[1,"measure-type"],"filter":[1],"barColumns":[16],"interval":[1],"barColumnMaxWidth":[2,"bar-column-max-width"],"unitScaling":[2,"unit-scaling"],"percentageScaling":[2,"percentage-scaling"],"reportAutoScaling":[16],"errors":[16],"scaleFactor":[2,"scale-factor"],"getLayoutDetail":[64]}],[1,"bn-title",{"selectedStyle":[513,"selected-style"],"i18nNamespace":[513,"i18n-namespace"],"ruleset":[513],"businessUnit":[1,"business-unit"],"scenarios":[1],"variances":[1],"order":[1],"orderDirection":[1,"order-direction"],"measures":[1],"dateStart":[1,"date-start"],"dateEnd":[1,"date-end"],"dateFormat":[1,"date-format"],"dateLink":[1,"date-link"]},null,{"scenarios":[{"validateScenario":0}],"variances":[{"validateVariances":0}],"order":[{"validateOrder":0}],"orderDirection":[{"validateOrderDirection":0}],"measures":[{"validateMeasures":0}],"dateStart":[{"validateDateStart":0}],"dateEnd":[{"validateDateEnd":0}],"dateFormat":[{"validateDateFormat":0}],"dateLink":[{"validateDateLink":0}]}],[257,"bn-body",{"selectedStyle":[513,"selected-style"]}],[1,"bn-footer",{"selectedStyle":[513,"selected-style"],"pageNumber":[1025,"page-number"],"text":[1025],"displayPageNumber":[4,"display-page-number"]}],[1,"bn-title-renderer",{"businessUnit":[1537,"business-unit"],"scenarios":[16],"measures":[16],"timeperiod":[16],"intervalSpanLimit":[2,"interval-span-limit"],"order":[16],"i18n":[1040],"i18nMode":[1,"i18n-mode"],"locale":[1],"ruleSetConfig":[16]}]]]]'),e))));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as s,a as i,g as o}from"./p-CCZcKl0Q.js";import{w as n,a as e}from"./p-_SKPuKfK.js";import{w as r,a,g as l}from"./p-CJfJQT0m.js";const h=class{constructor(s){t(this,s),n(this),r(this),this.errors=a(this),this.componentStyle=e(this)}connectedCallback(){this.stores=l(this.element)}getFontStyles(){return this.componentStyle((t=>{var s,i,o,n;return{"--bn-font-family":(null===(s=t.global)||void 0===s?void 0:s.fontFamily)||"'Noto Sans', sans-serif","--bn-font-size":`${(null===(i=t.global)||void 0===i?void 0:i.fontSizePx)||13.3333}px`,"--bn-font-color":(null===(o=t.global)||void 0===o?void 0:o.fontColor)||"#000000","--bn-font-background":(null===(n=t.global)||void 0===n?void 0:n.fontBackgroundColor)||"#ffffff"}}))}prepareAssetUrl(t){if(null==t||""===t)return"";const s=this.stores.assets.state;return t.startsWith("asset:")?s[t.substring(6)]:s[t]||t}render(){return s(i,{key:"b303581057c183cc27eb13cfdc389c6b008e9172",style:this.getFontStyles()},null!=this.source&&""!==this.source?s("img",{src:this.prepareAssetUrl(this.source)}):"")}get element(){return o(this)}};h.style=":host{display:inline-block;position:relative;overflow:hidden}img{max-width:100%;height:auto}";export{h as bn_image}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,f as n,h as i,a as o,g as s}from"./p-CCZcKl0Q.js";import{w as e,a,g as l,p as r,s as d}from"./p-CAvWZ3a5.js";import{w as u,a as c}from"./p-CJfJQT0m.js";import{w as f,a as v}from"./p-_SKPuKfK.js";const h="[A-Za-z_$\\u00C0-\\uFFFF][\\w$\\u00C0-\\uFFFF]*",p="'[^'\\\\]*'|\"[^\"\\\\]*\"",g=`(?:this\\.)?data(?:\\.(${h})|\\[\\s*(${p})\\s*\\])\\[\\s*(\\d+)\\s*\\]\\.(${h})`,m=new RegExp(`\\$\\{\\s*(?:${g}|t\\(\\s*(${p})\\s*(?:,\\s*\\{([^{}]*)\\}\\s*)?\\))\\s*\\}`,"g"),b=new RegExp(`\\s*(?:(${h})|(${p}))\\s*:\\s*(?:(${p})|(-?\\d+(?:\\.\\d+)?)|(${g}))\\s*(?:,|$)`,"y"),$=t=>String(t).replace(/[&<>"'\t\n\f\r ]/g,(t=>`&#${t.charCodeAt(0)};`)),w=(t,n)=>"object"==typeof t&&null!==t&&Object.prototype.hasOwnProperty.call(t,n)?t[n]:void 0,y=t=>t.slice(1,-1);const _=class{constructor(i){t(this,i),this.refit=()=>{n(this)},this.data={},f(this),u(this),this.errors=c(this),this.t=e(this).t,a(this,((t,n)=>{this.data=""===t?{}:Object.assign(Object.assign({},this.data),{[t]:n})})),this.componentStyle=v(this)}connectedCallback(){var t;null===(t=document.fonts)||void 0===t||t.addEventListener("loadingdone",this.refit)}disconnectedCallback(){var t;null===(t=document.fonts)||void 0===t||t.removeEventListener("loadingdone",this.refit)}validateValue(t){"string"!=typeof t||""===t?this.errors.addOrReplace({id:"WARN_value",type:"warning",message:"Empty value"}):this.errors.remove("WARN_value")}validateScaling(t){if(null==t||""===t||"none"===t||"auto"===t)return void this.errors.remove("WARN_scale");const n=Number(t);isNaN(n)||n<=0?this.errors.addOrReplace({id:"WARN_scale",type:"warning",message:`Invalid scale value: "${t}". Use "none", "auto", or a positive number.`}):this.errors.remove("WARN_scale")}componentWillLoad(){this.validateValue(this.value),this.validateScaling(this.scale)}prepareStyle(){return this.componentStyle((t=>{var n,i,o,s,e,a,l,r,d,u,c,f,v,h,p,g,m,b,$,w,y,_;return{fontStyles:{font:`${null!==(s=null!==(i=null===(n=t["bn-text"])||void 0===n?void 0:n.fontSizePx)&&void 0!==i?i:null===(o=t.global)||void 0===o?void 0:o.fontSizePx)&&void 0!==s?s:13.3333}px ${null!==(r=null!==(a=null===(e=t["bn-text"])||void 0===e?void 0:e.fontFamily)&&void 0!==a?a:null===(l=t.global)||void 0===l?void 0:l.fontFamily)&&void 0!==r?r:"'Noto Sans', sans-serif"}`,size:null!==(f=null!==(u=null===(d=t["bn-text"])||void 0===d?void 0:d.fontSizePx)&&void 0!==u?u:null===(c=t.global)||void 0===c?void 0:c.fontSizePx)&&void 0!==f?f:13.3333,color:null!==(g=null!==(h=null===(v=t["bn-text"])||void 0===v?void 0:v.fontColor)&&void 0!==h?h:null===(p=t.global)||void 0===p?void 0:p.fontColor)&&void 0!==g?g:"#000000",background:null!==(w=null!==(b=null===(m=t["bn-text"])||void 0===m?void 0:m.fontBackgroundColor)&&void 0!==b?b:null===($=t.global)||void 0===$?void 0:$.fontBackgroundColor)&&void 0!==w?w:"#ffffff",leading:null!==(_=null===(y=t["bn-text"])||void 0===y?void 0:y.leading)&&void 0!==_?_:1.8}}}))}applyScaling(t){const n=this.element,{mode:i,factor:o}=r(this.scale),{width:s,height:e}=l(n),a=n.scrollHeight>n.clientHeight+1?n.clientHeight:e,d=s,u=d>0&&n.scrollWidth>d+1,c=a>0&&n.scrollHeight>a+1,f=u||c;if(d<=0&&a<=0)return;if("none"===i){if(f){const t=[];u&&t.push(`w:${n.scrollWidth}>${Math.round(d)}`),c&&t.push(`h:${n.scrollHeight}>${Math.round(a)}`),this.errors.addOrReplace({id:"WARN_overflow",type:"warning",message:`Content overflows container (${t.join(", ")})`})}else this.errors.remove("WARN_overflow");return}if("factor"===i){if(f){const t=[];u&&t.push(`w:${n.scrollWidth}>${Math.round(d)}`),c&&t.push(`h:${n.scrollHeight}>${Math.round(a)}`),this.errors.addOrReplace({id:"WARN_overflow",type:"warning",message:`Content overflows with factor ${o} (${t.join(", ")})`})}else this.errors.remove("WARN_overflow");return}n.style.setProperty("--bn-font-size",`${t}px`);const v=n.scrollWidth,h=n.scrollHeight,p=n.clientHeight,g=h>p+1?p:e,m=d<=0||v<=d+1,b=g<=0||h<=g+1;if(m&&b)return void this.errors.remove("AUTO_scale");const $=Math.min(1,!m&&d>0?d/v:1,!b&&g>0?g/h:1);n.style.setProperty("--bn-font-size",t*$+"px"),"empty"===i?this.errors.addOrReplace({id:"AUTO_scale",type:"warning",message:`Auto-scaled font by factor ${$.toFixed(3)}`}):this.errors.remove("AUTO_scale")}componentDidRender(){var t;const{html:n,unknown:i}=function(t,n,i){const o=[],s=t=>{o.includes(t)||o.push(t)},e=(t,i,o,e,a)=>{const l=w(w(w(n,null!=i?i:y(o)),String(Number(e))),a);return void 0===l&&s(t),l};return{html:t.replace(m,((t,n,o,a,l,r,d)=>{const u=t.slice(2,-1).trim();try{if(void 0===r){const t=e(u,n,o,a,l);return null==t?"":$(t)}const s=void 0===d?void 0:(t=>{const n={};for(b.lastIndex=0;""!==t.slice(b.lastIndex).trim();){const i=b.exec(t);if(!i)return null;const[,o,s,a,l,r,d,u,c,f]=i;n[null!=o?o:y(s)]=void 0!==a?y(a):void 0!==l?Number(l):e(r,d,u,c,f)}return n})(d);return null===s?t:$(i(y(r),s))}catch(t){return s(u),""}})),unknown:o}}(null!==(t=this.value)&&void 0!==t?t:"",this.data,this.t);i.length>0?this.errors.addOrReplace({id:"WARN_value_path",type:"warning",message:`Unknown template path: ${i.join(", ")}`}):this.errors.remove("WARN_value_path"),this.container.innerHTML=d(n),this.applyScaling(this.prepareStyle().fontStyles.size)}render(){const{fontStyles:t}=this.prepareStyle(),{mode:n,factor:s}=r(this.scale),e="factor"===n?t.size*s+"px":`${t.size}px`,a={"--bn-font-family":t.font.substring(t.font.indexOf("px ")+3),"--bn-font-size":e,"--bn-font-color":t.color,"--bn-font-background":t.background};return i(o,{key:"47eaf1468ffc8b8de7e77f2b0aff4b927f8b0471",style:a},i("div",{key:"1f592c2fd0a4af77047c56ee043f6bdd84dfb2d2"},i("span",{key:"ecad3e6ea36dfa495ef78183fc6c3979eb9d5be2",class:"container",ref:t=>{this.container=t}})))}get element(){return s(this)}static get watchers(){return{value:[{validateValue:0}],scale:[{validateScaling:0}]}}};_.style=':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}';export{_ as bn_text}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as t,r as n,c as e,R as o}from"./p-CJfJQT0m.js";import{g as r,f as i}from"./p-CCZcKl0Q.js";import{i as s}from"./p-
|
|
1
|
+
import{g as t,r as n,c as e,R as o}from"./p-CJfJQT0m.js";import{g as r,f as i}from"./p-CCZcKl0Q.js";import{i as s}from"./p-_SKPuKfK.js";const a=new Set(["br","b","i","strong","em","span","p","div","table","tr","td","th","thead","tbody","tfoot","ul","ol","li","h1","h2","h3","h4","h5","h6","sub","sup","small","hr","a","img","code","pre","blockquote","del"]),l=new Set(["class","style","colspan","rowspan","href","title","src","alt","width","height"]),u=new Set(["http:","https:","mailto:"]),c=/^\s*text-align:\s*(left|center|right)\s*;?\s*$/i;function d(t){if(!t)return"";const n=(new DOMParser).parseFromString(t,"text/html").body;return f(n),n.innerHTML}function f(t){for(const n of Array.from(t.childNodes)){if(n.nodeType===Node.TEXT_NODE)continue;const e=n;if(n.nodeType!==Node.ELEMENT_NODE||!a.has(e.localName)){t.removeChild(n);continue}for(const t of Array.from(e.attributes)){const n=t.name.toLowerCase();l.has(n)&&("href"!==n&&"src"!==n||v(n,t.value))||e.removeAttribute(t.name)}const o=e.getAttribute("style");null===o||c.test(o)||e.removeAttribute("style"),f(e)}}function v(t,n){try{const{protocol:e}=new URL(n,"http://a");return u.has(e)||"src"===t&&"data:"===e}catch(t){return!1}}function h(t,n=!1){const e=p(t);if(!e)return n&&console.log("[parentDims] no layout parent found for",t.tagName),{width:0,height:0};const o=getComputedStyle(e),r=e.clientWidth-parseFloat(o.paddingLeft)-parseFloat(o.paddingRight),i=function(t,n=!1){let e=p(t),o=0,r=null,i=1;for(;e;){if(e.hasAttribute("data-bn-fit-content")){n&&console.log(`[height:${o}]`,e.tagName,"fit-content region → discarding inner candidate"),r=null;const t=parseInt(e.getAttribute("data-bn-fit-content"),10);!isNaN(t)&&t>1&&(i*=t),e=m(e),o++;continue}const t=getComputedStyle(e),s=t.overflowY;if(n&&console.log(`[height:${o}]`,e.tagName,e.className||"(no class)",`overflow=${s} clientH=${e.clientHeight} h=${t.height}`),null===r)if("hidden"===s||"scroll"===s||"auto"===s)r=e.clientHeight-parseFloat(t.paddingTop)-parseFloat(t.paddingBottom),n&&console.log(`[height] candidate at depth ${o}: ${Math.round(r)}px`);else if("none"!==t.maxHeight){const n=parseFloat(t.maxHeight);!isNaN(n)&&n>0&&(r=Math.min(n,e.clientHeight-parseFloat(t.paddingTop)-parseFloat(t.paddingBottom)))}e=m(e),o++}return null!==r?r/i:(n&&console.log("[height] NO constrained ancestor → viewport fallback"),"undefined"!=typeof window?window.innerHeight/i:0)}(t,n);return n&&console.log("[parentDims]",t.tagName,"→ layoutParent:",e.tagName,e.className||"(no class)",`clientW=${e.clientWidth} → w=${Math.round(r)}, h=${Math.round(i)}`,"overflow:",o.overflow),{width:Math.max(0,r),height:Math.max(0,i)}}function p(t){var n;const e=t.parentElement;return(null===(n=null==e?void 0:e.assignedSlot)||void 0===n?void 0:n.parentElement)?e.assignedSlot.parentElement:e}function m(t){var n;if(null===(n=t.assignedSlot)||void 0===n?void 0:n.parentElement)return t.assignedSlot.parentElement;if(t.parentElement)return t.parentElement;const e=t.getRootNode();return e instanceof ShadowRoot?e.host:null}function b(t,n){const e=t.getBoundingClientRect(),o=t.offsetHeight>0?e.height/t.offsetHeight:0;if(!(o>0)||Math.abs(o-(t.offsetWidth>0?e.width/t.offsetWidth:0))>.01*o)return 0;const r=e.top+n*o;let i=0;for(let n=t;n;n=m(n)){const t=getComputedStyle(n).overflowY;if("hidden"===t||"clip"===t)i=Math.max(i,r-n.getBoundingClientRect().bottom);else if(("auto"===t||"scroll"===t)&&n.scrollHeight>n.clientHeight+1)break}return i/o}const g=(t,n)=>Math.round(t*n*100)/100;function w(t){if(null==t||""===t)return{mode:"empty"};if("none"===t)return{mode:"none"};if("auto"===t)return{mode:"auto"};const n=Number(t);return!isNaN(n)&&n>0?{mode:"factor",factor:n}:{mode:"empty"}}const y={k:1e3,K:1e3,M:1e6,G:1e9,T:1e12},$=/^(\d+(?:\.\d+)?|\.\d+)\s*([kKMGT])?$/;function M(t){var n;if("number"==typeof t)return Number.isFinite(t)&&t>0?{kind:"number",value:t}:{kind:"invalid",raw:String(t)};const e=null!==(n=null==t?void 0:t.toString().trim())&&void 0!==n?n:"";if("auto"===e.toLowerCase())return{kind:"auto"};const o=$.exec(e);if(o){const t=Number(o[1])*(o[2]?y[o[2]]:1);if(Number.isFinite(t)&&t>0)return{kind:"number",value:t}}return{kind:"invalid",raw:e}}function k(t,n){const e=M(t);if("auto"===e.kind)return{kind:"auto"};if("string"==typeof t){const e=t.trim();if(n.has(e))return{kind:"value",value:n.get(e)}}return"number"===e.kind?{kind:"value",value:e.value}:{kind:"invalid",raw:e.raw}}const N=[[1e12,"T"],[1e9,"G"],[1e6,"M"],[1e3,"k"]];function S(t){if(!Number.isFinite(t)||t<=0)return String(t);const n=t=>String(Number(t.toPrecision(3)));for(const[e,o]of N)if(t>=e)return`${n(t/e)}${o}`;return n(t)}const F="WARN_datasets",R=(o,i,s)=>{let a,l,u=[],c=[],d=[],f="";const v=()=>{const t=f;f=o.datasets||"",""!==t&&t!==f&&i("",[]),[d,c]=((t,n)=>{const e=[],o=[];for(const t of n)(r=t,r.startsWith("$")?e:o).push(t);var r;return[e,o]})(0,f.split(",")),((t,n)=>{const e=t.errors;if(e)if(n.length>0){const t=n.map((t=>t.substring(1))).join(", ");e.addOrReplace({id:F,type:"warning",message:`Using datasource(s) "${t}" directly. Prefer using a dataset (bn-dataset) for query support and metadata.`})}else e.remove(F)})(o,d),p()},h=(t,n)=>{const e=n?t.substring(1):t;let o;try{o=l.db.db.exec(`SELECT * FROM \`${e}\``)}catch(t){o=[]}i(t,o)},p=()=>{u.forEach((t=>t())),u=[],c.forEach((t=>{t&&(u.push(l.db.subscribe(t,(()=>h(t,!1)))),h(t,!1),(t=>{if(s){const n=l.datasetsMeta.get(t);n&&s(t,n)}})(t))})),d.forEach((t=>{t&&(u.push(l.db.subscribe(t.substring(1),(()=>h(t,!0)))),h(t,!0))}))},m=new MutationObserver((t=>{t.forEach((t=>{"datasets"===t.attributeName&&(o.datasets||"")!==f&&v()}))})),b=o.connectedCallback;o.connectedCallback=()=>{const e=r(o);l=t(e),v(),m.observe(e,{attributes:!0,attributeFilter:["datasets"]}),s&&(a=l.datasetsMeta.on("set",((t,n)=>{c.includes(t)&&s(t,n)}))),n(b,o)};const g=o.disconnectedCallback;return o.disconnectedCallback=()=>{m.disconnect(),u.forEach((t=>t())),u=[],n(a),e(r(o)),n(g,o)},t=>{c=t,p()}},C="inherited-page",O="bn-layout-page";function K(t){return"inherited-closest"===t||t===C}function T(t,n){const e=[];let o=t.parentNode;for(;o;){const t=o.nodeName.toLowerCase();if(t===O){e.push(o);break}if("bn-layout-card"===t&&n!==C&&e.push(o),o.parentNode)o=o.parentNode;else{if(!(o instanceof ShadowRoot))break;o=o.host}}return e}function j(t,n){var e;const o=t=>{const e=t.getAttribute(n),o=null==e?void 0:e.trim();return s(o)||K(o)?void 0:e};for(const r of t){if((null===(e=r.getAttribute(n))||void 0===e?void 0:e.trim())===C){const n=t.find((t=>t.nodeName.toLowerCase()===O)),e=n&&o(n);if(void 0!==e)return e;continue}const i=o(r);if(void 0!==i)return i}}const _=(t,e,o)=>{const s=new Map,a=new Map;let l=null;const u=()=>{var n;const o=r(t);s.clear(),a.clear(),l&&(l.disconnect(),l=null);const c=new Map;for(const r of e){const e=t[r.propName];if("string"!=typeof e||!K(e))continue;a.set(r.propName,e);const i=T(o,e),l=j(i,r.ancestorAttr);void 0!==l&&s.set(r.propName,l);for(const t of i)c.set(t,[...null!==(n=c.get(t))&&void 0!==n?n:[],r.ancestorAttr])}if(c.size>0){l=new MutationObserver((()=>{u(),i(t)}));for(const[t,n]of c)l.observe(t,{attributes:!0,attributeFilter:n})}},c=t.connectedCallback;t.connectedCallback=()=>{u(),n(c,t)};const d=t.disconnectedCallback;t.disconnectedCallback=()=>{l&&(l.disconnect(),l=null),s.clear(),a.clear(),n(d,t)};const f=t=>{var n;return null===(n=e.find((n=>n.propName===t)))||void 0===n?void 0:n.ancestorAttr.replace(/-(\w)/g,((t,n)=>n.toUpperCase()))};return(t,n,e)=>{const r=`WARN_inherited_${t}`,i=K(n);i&&a.get(t)!==n&&u();const l=i?s.get(t):void 0;return i&&void 0===l?(null==o||o.addOrReplace({id:r,type:"warning",message:`${t}: '${n}' could not be resolved, no surrounding ${n===C?"page":"card or page"} sets ${f(t)}`}),{value:e,inherited:!1,unresolved:!0}):(null==o||o.remove(r),{value:null!=l?l:n,inherited:void 0!==l,unresolved:!1})}},x=s=>{let a,l,u,c,d=null;const f=()=>{const t=r(s);if(d&&(d.disconnect(),d=null),u=s.i18nNamespace,l=u,null!=l)return;const n=function(t){let n=t.parentNode;for(;n;){if(n instanceof HTMLElement&&n.hasAttribute("i18n-namespace"))return n;if(n.parentNode)n=n.parentNode;else{if(!(n instanceof ShadowRoot))break;n=n.host}}}(t);n&&(l=n.getAttribute("i18n-namespace"),d=new MutationObserver((()=>{f(),i(s)})),d.observe(n,{attributes:!0,attributeFilter:["i18n-namespace"]}))},v=s.connectedCallback;s.connectedCallback=()=>{const e=r(s);c=t(e),f(),a=c.internationalization.on("set",(t=>{t!==l&&"_system"!==t||i(s)})),n(v,s)};const h=s.disconnectedCallback;return s.disconnectedCallback=()=>{d&&(d.disconnect(),d=null),n(a),e(r(s)),n(h,s)},{t:(t,n)=>{var e,i,a,d,v;void 0!==c&&s.i18nNamespace!==u&&f(),t.startsWith(".")&&(t=r(s).localName+t),Object.prototype.hasOwnProperty.call(o,t)&&(t=o[t]);const h=c.internationalization.state,p=c.context.state.locale,m=null!==(a=null===(i=null===(e=h[l])||void 0===e?void 0:e[p])||void 0===i?void 0:i[t])&&void 0!==a?a:null===(v=null===(d=h._system)||void 0===d?void 0:d[p])||void 0===v?void 0:v[t];return null==m?t:m.replace(/{{([\s\S]+?)}}/g,((t,e)=>{var o;return null!==(o=null==n?void 0:n[e.trim()])&&void 0!==o?o:""}))}}};export{R as a,b,g as c,k as d,S as e,T as f,h as g,_ as h,K as i,M as j,w as p,j as r,d as s,x as w}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as t,f as e}from"./p-CCZcKl0Q.js";import{g as n,r,c as s,D as a}from"./p-CJfJQT0m.js";const i=t=>{if("object"==typeof t&&null!==t){if("function"==typeof Object.getPrototypeOf){const e=Object.getPrototypeOf(t);return e===Object.prototype||null===e}return"[object Object]"===Object.prototype.toString.call(t)}return!1},o=(t,e)=>e,u=(t,e)=>[...new Set([...t,...e])],c=(t,e)=>{const n=(t=>{return{arrayMergeType:"combine",arrayMerge:(e=t?t.arrayMergeType:"combine","overwrite"===e?o:u),...t};var e})(e);return t.reduce(((t,e)=>(Object.keys(e).forEach((r=>{Array.isArray(t[r])&&Array.isArray(e[r])?n&&n.arrayMerge&&(t[r]=n.arrayMerge(t[r],e[r])):t[r]=i(t[r])&&i(e[r])?c([t[r],e[r]],n):e[r]})),t)),{})},l=a=>{let i,o,u,l;const f=()=>{const t=o.componentStyles.state;l=c([t._system||{},t._default||{},t[u]||{}],{arrayMergeType:"overwrite"})},d=a.connectedCallback;a.connectedCallback=()=>{const s=t(a);o=n(s),l=o.componentStyles.state._system,u=a.selectedStyle,f(),i=o.componentStyles.on("set",(n=>{n!==u&&"_default"!==n||(u=a.selectedStyle,f(),e(t(a)))})),r(d,a)};const h=a.disconnectedCallback;return a.disconnectedCallback=()=>{r(i),s(t(a)),r(h,a)},t=>(void 0!==o&&a.selectedStyle!==u&&(u=a.selectedStyle,f()),t(l))};var f,d,h,m,y,p,b,g;!function(t){t.ALL="all",t.META="meta"}(f||(f={})),function(t){t.CURRENCY="currency",t.VOLUME="volume"}(d||(d={})),function(t){t.AC1="ac1",t.AC2="ac2",t.AC3="ac3",t.AC4="ac4",t.PP1="pp1",t.PP2="pp2",t.PP3="pp3",t.PP4="pp4",t.FC1="fc1",t.FC2="fc2",t.FC3="fc3",t.FC4="fc4",t.PL1="pl1",t.PL2="pl2",t.PL3="pl3",t.PL4="pl4"}(h||(h={})),function(t){t.POS="pos",t.NEG="neg",t.NEU="neu",t.OP="op",t.OPINV="opinv"}(m||(m={})),function(t){t.DECIMAL="decimal",t.PERCENT="percent"}(y||(y={})),function(t){t.LIST="list",t.SUM="sum",t.SUMNOTOTAL="sumnototal",t.OPT="opt",t.OPTNOTOTAL="optnototal"}(p||(p={})),function(t){t.INF="inf",t.W100="w100",t.W50="w50",t.W25="w25",t.W20="w20",t.W15="w15",t.W10="w10",t.W5="w5"}(b||(b={})),function(t){t.W5="w5",t.W10="w10",t.W15="w15",t.W20="w20",t.W25="w25",t.W30="w30",t.W40="w40",t.W60="w60",t.W80="w80",t.W100="w100"}(g||(g={}));const v={[g.W5]:5,[g.W10]:10,[g.W15]:15,[g.W20]:20,[g.W25]:25,[g.W30]:30,[g.W40]:40,[g.W60]:60,[g.W80]:80,[g.W100]:100};var w,N,k,S,O,D;!function(t){t.ROWGROUP="rowGroup",t.ROWGROUPINDEX="rowGroupIndex",t.CATEGORY="category",t.CATEGORYINDEX="categoryIndex",t.SUBCATEGORY="subCategory",t.SUBCATEGORYINDEX="subCategoryIndex"}(w||(w={})),function(t){t.SMART="smart",t.LONG="long",t.SHORT="short"}(N||(N={})),function(t){t.COLUMN="column",t.LINE="line",t.WATERFALL="waterfall"}(k||(k={})),function(t){t.BAR="bar",t.LINE="line",t.AUTO="auto"}(S||(S={})),function(t){t.SCENARIOS="scenarios",t.DIMENSIONS="dimensions"}(O||(O={})),function(t){t.ABSOLUTE="absolute",t.RELATIVE="relative",t.ABSOLUTE_RELATIVE="absolute-relative"}(D||(D={}));const T=100;var M;!function(t){t.ASC="asc",t.DESC="desc",t.DATASET="dataset"}(M||(M={}));const A=/^\s*(set|first|last|min|max|avg|sum|lit)\(\s*(.*?)\s*\)\s*$/,J=/^[A-Za-z_][A-Za-z0-9_]*$/,j=["min","max","avg","sum"];class F{constructor(t,e,n,r){this.label=t,this.alias=e,this.fn=n,this.arg=r}get isNumeric(){return j.includes(this.fn)}}function E(t){if("string"!=typeof t)return!1;const e=A.exec(t);if(!e)return!1;const[,n,r]=e;return"lit"===n?r.length>0:J.test(r)}function $(t,e,n){if(!E(n))return null;const[,r,s]=A.exec(n);return new F(t,e,r,s)}var L,I,W,x;!function(t){t.YEAR="year",t.QUARTER="quarter",t.MONTH="month",t.WEEK="week",t.DAY="day",t.HOUR="hour",t.MINUTE="minute",t.SECOND="second",t.MILLISECOND="millisecond",t.NONE="fallback",t.AUTO="auto"}(L||(L={})),function(t){t.AVG="avg",t.INTERVAL="interval",t.START="start",t.END="end",t.YTD="ytd",t.YTG="ytg",t.CUM="cum",t.MAT="mat",t.NONE="none",t.AUTO="auto"}(I||(I={}));class _{constructor(){this._dateFormat={year:"yyyy",quarter:"q'Q' yyyy",month:"LLL yyyy",week:"'KW'WW kkkk",day:"dd.MM.yyyy",hour:"TT",minute:"TT",second:"TT",millisecond:"TT:SSS",fallback:"dd.MM.yyyy"},this._dateFormatShort={year:"yy",quarter:"q'Q'",month:"LLL",week:"'KW'WW",day:"dd",hour:"hh'h'",minute:"mm'm'",second:"ss's'",millisecond:"SSS'ms'",fallback:"dd.MM.yyyy"},this._dateLinkFormat={avg:"Ø[LINK]",interval:"[DATE]..[DATE2]",start:".[DATE]",end:"[DATE].",ytd:"_[DATE]",ytg:"[DATE]_",cum:"[DATE]_[DATE2]",mat:"~[DATE]",none:"[DATE]"},this.locale="de",this.dateFormatPinned=!1,this.dateFormatShortPinned=!1,this.dateFormat=this._dateFormat,this.dateLinkFormat=this._dateLinkFormat,this.dateFormatShort=this._dateFormatShort}setDateLinkFormat(t){this.dateLinkFormat=t}setDateFormat(t){this.dateFormat=t,this.dateFormatPinned=!0}setDateFormatShort(t){this.dateFormatShort=t,this.dateFormatShortPinned=!0}setLocale(t){this.locale=t,this.dateFormatPinned||(this.dateFormat=Object.assign(Object.assign({},this._dateFormat),_.LOCALE_DATE_FORMAT[t]||{})),this.dateFormatShortPinned||(this.dateFormatShort=Object.assign(Object.assign({},this._dateFormatShort),_.LOCALE_DATE_FORMAT_SHORT[t]||{}))}getDateString(t,e){return t.setLocale(this.locale).toFormat(this.dateFormat[e]||this.dateFormat.fallback)}getSmartDateString(t,e){switch(e){case L.DAY:return this.getFormatedDayDate(t);case L.MONTH:return this.getFormatedMonthDate(t);case L.QUARTER:return this.getFormatedQuarterDate(t);case L.WEEK:return this.getFormatedWeekDate(t);case L.HOUR:return this.getFormatedHourDate(t);case L.MINUTE:return this.getFormatedMinuteDate(t);case L.SECOND:return this.getFormatedSecondDate(t);case L.MILLISECOND:return this.getFormatedMilliSecondDate(t);default:return this.getDateString(t,e)}}calculateDistanceType(t,e,n=32){if(null==e)return L.DAY;const r="number"==typeof t?a.fromMillis(t):t,s="number"==typeof e?a.fromMillis(e):e;return 0===s.diff(r).as("milliseconds")?L.DAY:s.diff(r).as("milliseconds")<n?L.MILLISECOND:s.diff(r).as("seconds")<n?L.SECOND:s.diff(r).as("minutes")<n?L.MINUTE:s.diff(r).as("hours")<n?L.HOUR:s.diff(r).as("days")<n?L.DAY:s.diff(r).as("weeks")<n?L.WEEK:s.diff(r).as("months")<n?L.MONTH:s.diff(r).as("quarters")<n?L.QUARTER:L.YEAR}datesBetween(t,e,n){const r=this.convertDateDistanceToMomentunitOfTime(n),s=t.startOf(r),a=e.endOf(r),i=[];let o=s;do{i.push(o),o=o.plus(this.createDiratonLike(r,1))}while(o<=a);return i}countBetween(t,e,n){const r=this.convertDateDistanceToMomentunitOfTime(n);return Math.floor(e.startOf(r).diff(t.startOf(r),r).as(r))+1}getDateLinkString(t,e,n,r,s){if(null==t&&null==e)return"";if(null==t&&n!==I.END&&n!==I.YTD)return"";if(null==e&&(I.INTERVAL===n||I.CUM===n||I.END===n||I.YTD===n))return"";const i=t||a.now(),o=e;r===L.AUTO&&(r=this.calculateDistanceType(i,o,s));let u=this.getDateString(i,r),c="",l=I.NONE;return null!=o&&(c=this.getDateString(o,r),l=I.INTERVAL,u===c&&n===I.INTERVAL&&(n=I.NONE),u===c&&n===I.AVG&&(l=I.NONE),I.END!==n&&I.YTD!==n||(u=c),n!==I.INTERVAL&&n!==I.CUM&&n!==I.AVG||(r===L.QUARTER?i.quarter===o.quarter&&i.year===o.year?c=c.replace(" "+o.year,""):i.year===o.year&&(u=u.replace(" "+i.year,"")):r===L.MONTH?i.month===o.month&&i.year===o.year?c=c.replace(" "+o.year,""):i.year===o.year&&(u=u.replace(" "+i.year,"")):r===L.WEEK&&(i.weekNumber===o.weekNumber&&i.weekYear===o.weekYear?c=c.replace(" "+o.weekYear,""):i.weekYear===o.weekYear&&(u=u.replace(" "+i.weekYear,""))))),this.dateLinkFormat[n].replace("[LINK]",this.dateLinkFormat[l]).replace("[DATE]",u).replace("[DATE2]",c)}getShortDateString(t,e){return t.setLocale(this.locale).toFormat(this.dateFormatShort[e]||this.dateFormatShort.fallback)}getFormatedDayDate(t){let e=this.dateFormatShort.day;return this.isFirstInMonth(t)&&(e+=" "+this.dateFormatShort.month),this.isJanuary(t)&&(e+=" "+this.dateFormatShort.year),t.setLocale(this.locale).toFormat(e)}getFormatedMonthDate(t){let e=this.dateFormatShort.month;return this.isJanuary(t)&&(e+=" "+this.dateFormatShort.year),t.setLocale(this.locale).toFormat(e)}getFormatedQuarterDate(t){let e=this.dateFormatShort.quarter;return this.isFirstQuarter(t)&&(e+=" "+this.dateFormatShort.year),t.setLocale(this.locale).toFormat(e)}getFormatedWeekDate(t){let e=this.dateFormatShort.week;return this.isFirstWeek(t)&&(e+=" kk"),t.setLocale(this.locale).toFormat(e)}getFormatedHourDate(t){let e=this.dateFormatShort.hour;return this.isFirstHour(t)&&(e+=" "+this.dateFormatShort.day),t.setLocale(this.locale).toFormat(e)}getFormatedMinuteDate(t){let e=this.dateFormatShort.minute;return this.isFirstMinute(t)&&(e=this.dateFormatShort.hour+":"+e),t.setLocale(this.locale).toFormat(e)}getFormatedSecondDate(t){let e=this.dateFormatShort.second;return this.isFirstSecond(t)&&(e=this.dateFormatShort.minute+":"+e),t.setLocale(this.locale).toFormat(e)}getFormatedMilliSecondDate(t){let e=this.dateFormatShort.millisecond;return this.isFirstMilliSecond(t)&&(e=this.dateFormatShort.second+":"+e),t.setLocale(this.locale).toFormat(e)}isFirstInMonth(t){return 1===t.day}isJanuary(t){return 1===t.month}isFirstQuarter(t){return 1===t.quarter}isFirstWeek(t){return 1===t.weekNumber}isFirstHour(t){return 0===t.hour}isFirstMinute(t){return 0===t.minute}isFirstSecond(t){return 0===t.second}isFirstMilliSecond(t){return 0===t.millisecond}convertDateDistanceToMomentunitOfTime(t){let e;switch(t){case L.YEAR:e="year";break;case L.MONTH:e="month";break;case L.QUARTER:e="quarter";break;case L.WEEK:e="week";break;case L.DAY:e="day";break;case L.HOUR:e="hour";break;case L.MINUTE:e="minute";break;case L.SECOND:e="second";break;case L.MILLISECOND:e="millisecond";break;default:e="day"}return e}createDiratonLike(t,e){switch(t){case"year":return{years:e};case"month":return{months:e};case"quarter":return{quarters:e};case"week":return{weeks:e};case"day":default:return{days:e};case"hour":return{hours:e};case"minute":return{minutes:e};case"second":return{seconds:e};case"millisecond":return{milliseconds:e}}}}_.LOCALE_DATE_FORMAT={en:{week:"'W'WW kkkk",day:"MM/dd/yyyy",fallback:"MM/dd/yyyy"}},_.LOCALE_DATE_FORMAT_SHORT={en:{week:"'W'WW",fallback:"MM/dd/yyyy"}};class q{static isExisting(t){return null!=t}static isString(t){return"string"==typeof t}static isNumber(t){return"number"==typeof t&&!Number.isNaN(t)}static isBoolean(t){return"boolean"==typeof t}static isArray(t){return Array.isArray(t)}static isObject(t){return"object"==typeof t&&null!==t}static isOperator(t){return"+"===t||"-"===t}static isDate(t){return t instanceof a&&t.isValid}}class C{static adaptDefaultString(t){return q.isString(t)?t.trim():""}static adaptArray(t,e){const n=[];return q.isArray(t)&&t.forEach((t=>{n.push(e.adapt(t))})),n}}!function(t){t.ASC="asc",t.DESC="desc"}(W||(W={})),function(t){t.ROWGROUP="rowGroup",t.ROWGROUPINDEX="rowGroupIndex",t.CATEGORY="category",t.CATEGORYINDEX="categoryIndex",t.SUBCATEGORY="subCategory",t.SUBCATEGORYINDEX="subCategoryIndex",t.AC1="ac1",t.AC2="ac2",t.AC3="ac3",t.AC4="ac4",t.PP1="pp1",t.PP2="pp2",t.PP3="pp3",t.PP4="pp4",t.FC1="fc1",t.FC2="fc2",t.FC3="fc3",t.FC4="fc4",t.PL1="pl1",t.PL2="pl2",t.PL3="pl3",t.PL4="pl4"}(x||(x={}));class G{constructor(t=["category"],e=W.ASC){this.hierarchy=t,this.direction=e}}class z{constructor(t){this.stringAdapter=t}adapt(t){var e;const n=C.adaptArray(t.hierarchy,this.stringAdapter),r=W[null===(e=t.direction)||void 0===e?void 0:e.toUpperCase()]||W.ASC;return new G(n.map((t=>x[t.toUpperCase()]||x.CATEGORY)),r)}default(){return new G(["category"],W.ASC)}}const Q="n/a";function K(t,e){if(!(Math.abs(e)<=1e-9*Math.abs(t)))return t/Math.abs(e)}const Z=/^(dr|d)((?:ac|pp|fc|pl)[1-4])_((?:ac|pp|fc|pl)[1-4])(?:_(pos|neg|neu|op|opinv))?$/;class B{constructor(t,e,n){this.type=t,this.base=e,this.delta=n}static parse(t){const e=Z.exec(t);return null===e?null:new B(e[1],e[2],e[3])}compute(t,e){var n;return null==t||null==e?null:"dr"===this.type?0===e?null:null!==(n=K(t-e,e))&&void 0!==n?n:null:t-e}}function H(t){const e=t.trim();if(Object.values(h).includes(e))return{kind:"scenario",slot:e};const n=B.parse(e);return null!==n?{kind:"variance",measure:n}:null}function P(t){return t.replace(/\d+$/,"")}function R(t){return t.replace(/^[a-z]+/,"")}function Y(t){var e;return"dr"===(null===(e=B.parse(t.trim()))||void 0===e?void 0:e.type)}function U(t){if(!Y(t.measure))return t;const e=t=>void 0===t?void 0:t/100;return Object.assign(Object.assign({},t),{min:e(t.min),max:e(t.max),refLine:e(t.refLine),highlight:t.highlight&&{from:e(t.highlight.from),to:e(t.highlight.to)}})}function V(t){return null==t||""===t||"null"===t}function X(t){return V(t)||"auto"===t.trim().toLowerCase()?[]:tt((null==t?void 0:t.split(",").filter((t=>!(t.toUpperCase().trim()in h)))).toString())}function tt(t){return V(t)?[]:t.replace(";",",").split(",").filter((t=>{var e,n,r;const s=t.split("_"),a=null===(e=s[0])||void 0===e?void 0:e.replace(/^dr|^d/,"").toUpperCase().trim(),i=null===(n=s[1])||void 0===n?void 0:n.toUpperCase().trim(),o=null===(r=s[2])||void 0===r?void 0:r.toUpperCase().trim();return 3!==s.length||!(a in h)||!(i in h)||!(o in m)}))}function et(t){return V(t)?[]:tt(t.split(",").filter((t=>!(t.toUpperCase().trim()in h))).toString())}function nt(t){return V(t)||"auto"===t.trim().toLowerCase()?[]:tt(t.split(",").filter((t=>!(t.toUpperCase()in x))).toString())}function rt(t){return!V(t)&&Number.isInteger(Number(t))}function st(t){return!V(t)&&!Number.isNaN(Number(t))}function at(t){return!V(t)&&(null==t?void 0:t.toUpperCase())in W}function it(t){return"auto"===(null==t?void 0:t.toLowerCase())||(null==t?void 0:t.toUpperCase())in w}function ot(t){if(V(t))return[];try{const e=JSON.parse(t);if(e instanceof Array)return e.filter((t=>!(t.hasOwnProperty("name")&&t.hasOwnProperty("unit"))))}catch(t){console.error("validateMeasureList: failed to parse JSON",t)}return["Invalid JSON structure"]}function ut(t){const e=Date.parse(t);return Number.isInteger(e)}function ct(t){return(null==t?void 0:t.toUpperCase())in I}function lt(t){return(null==t?void 0:t.toUpperCase())in L}function ft(t){return(null==t?void 0:t.toUpperCase())in N}function dt(t){return!V(t)&&(null==t?void 0:t.toUpperCase())in y}function ht(t){return!V(t)&&(null==t?void 0:t.toUpperCase())in p}function mt(t){if(V(t))return[];try{const e=JSON.parse(t);if(e instanceof Array)return e.filter((t=>!(t.hasOwnProperty("rowGroup")&&t.hasOwnProperty("category")&&t.hasOwnProperty("subCategory"))))}catch(t){console.error("validateThereOfJsonStr: failed to parse JSON",t)}return["Invalid JSON structure"]}function yt(t){if(V(t))return[];try{const e=JSON.parse(t);if(null!==e&&"object"==typeof e&&!(e instanceof Array))return Object.entries(e).filter((([,t])=>"string"!=typeof t||!E(t))).map((([t,e])=>`${t}: ${e}`))}catch(t){console.error("validateAttributesJsonStr: failed to parse JSON",t)}return["Invalid JSON structure"]}function pt(t){if(V(t))return[];try{const e=JSON.parse(t);if(e instanceof Array)return e.filter((t=>!(t.hasOwnProperty("rowGroup")&&t.hasOwnProperty("category"))))}catch(t){console.error("validatePartOfJsonStr: failed to parse JSON",t)}return["Invalid JSON structure"]}function bt(t){return(null==t?void 0:t.trim().toUpperCase())in d}function gt(t){return["_","k","M","G","T","P","E","Z","Y","m","my","μ","n","p","f","a","z","y"].includes(null==t?void 0:t.trim())||["GREATEST","LEAST"].includes(null==t?void 0:t.trim().toUpperCase())}function vt(t){return(null==t?void 0:t.toUpperCase().trim())in b}function wt(t){return(null==t?void 0:t.toUpperCase().trim())in g}function Nt(t){if(V(t))return[];try{return JSON.parse(t).filter((t=>!(t.hasOwnProperty("scenario")&&t.hasOwnProperty("name")&&t.hasOwnProperty("subGroups"))))}catch(t){console.error("validateColumnThereOfJsonStr: failed to parse JSON",t)}return["Invalid JSON structure"]}function kt(t){if(V(t))return[];try{const e=JSON.parse(t);if("object"!=typeof e||null===e||Array.isArray(e))return["stack: must be a JSON object"];const n=[];if(e.hasOwnProperty("by")){const t=["scenarios","dimensions"];t.includes(e.by)||n.push(`stack: 'by' must be one of: ${t.join(", ")}`)}else n.push("stack: 'by' is required");if(e.hasOwnProperty("mode")){const t=["absolute","relative","absolute-relative"];t.includes(e.mode)||n.push(`stack: 'mode' must be one of: ${t.join(", ")}`)}if(e.hasOwnProperty("order")){const t=["asc","desc","dataset"];t.includes(e.order)||n.push(`stack: 'order' must be one of: ${t.join(", ")}`)}return n}catch(t){return["stack: invalid JSON"]}}function St(t){return!V(t)&&null!==H(t)}class Ot{constructor(){this.cache=new Map,this.tag=Ot.makeStyleTag()}static makeStyleTag(){const t=document.createElement("style");return t.type="text/css",t.setAttribute("data-bn-computed-style",""),t.append(document.createTextNode("")),(document.head||document.querySelector("head")).append(t),t}apply(t){t.forEach((t=>this.cache.set(t.className,t.style))),this.tag.textContent=Array.from(this.cache.values()).map((t=>t)).join("\n")}}const Dt=new Ot;function Tt(t){for(var e,n=0,r=0,s=t.length;s>=4;++r,s-=4)e=1540483477*(65535&(e=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))+(59797*(e>>>16)<<16),n=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(s){case 3:n^=(255&t.charCodeAt(r+2))<<16;case 2:n^=(255&t.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}const Mt=t=>st(t)?`${t}px`:t,At={width:{className:"w",cssName:"width",attrName:"width",transform:Mt},height:{className:"h",cssName:"height",attrName:"height",transform:Mt},position:{className:"pst",cssName:"position",attrName:"position"},top:{className:"top",cssName:"top",attrName:"top",transform:Mt},right:{className:"rgt",cssName:"right",attrName:"right",transform:Mt},bottom:{className:"btm",cssName:"bottom",attrName:"bottom",transform:Mt},left:{className:"lft",cssName:"left",attrName:"left",transform:Mt},"font-size":{className:"fts",cssName:"font-size",attrName:"font-size",transform:Mt},"grid-column":{className:"gdc",cssName:"grid-column",attrName:"grid-column"},"grid-row":{className:"gdr",cssName:"grid-row",attrName:"grid-row"}},Jt=Object.keys(At);function jt(t,e,n){return`.${e} {${t.cssName}: ${n};}`}function Ft(t,e){const n=document.createElement("div").style;n.setProperty(t.cssName,e);const r=n.getPropertyValue(t.cssName);if(n.cssText=`${t.cssName}:${r};--bn-end:1`,!r||r.includes("<")||"1"!==n.getPropertyValue("--bn-end"))return;const s=function(t,e){const n=Tt(e);return`bn-c-${t.className}_${n}`}(t,e);return{className:s,style:jt(t,s,r)}}const Et=t=>{const e=new Map;return Jt.forEach((n=>{const r=t.getAttribute(n);if(r){["top","left","right","bottom"].includes(n)&&e.set("position",Ft(At.position,"absolute"));const t=Ft(At[n],(At[n].transform||function(t){return t})(r));t&&e.set(n,t)}})),e},$t=new MutationObserver((t=>{for(const n of t){const t=n.target,r=Et(t);Dt.apply(r);const s=Array.from(r.values()).map((t=>t.className));t.className=t.className.split(" ").filter((t=>!t.startsWith("bn-c-"))).concat(...s).join(" "),e(t)}})),Lt=e=>{const n=e.connectedCallback,s=e.disconnectedCallback;e.connectedCallback=()=>{const s=t(e);if(!s)throw new Error("Can't find element field in component undefined");(t=>{const e=Et(t);Dt.apply(e);const n=Array.from(e.values()).map((t=>t.className));t.className=t.className.split(" ").filter((t=>!t.startsWith("bn-c-"))).concat(...n).join(" "),$t.observe(t,{attributes:!0,attributeFilter:Jt,childList:!1,subtree:!1})})(s),r(n,e)},e.disconnectedCallback=()=>{r(s,e)}};export{$,w as A,lt as B,q as C,ft as D,L as E,N as F,S as G,_ as H,Tt as I,et as J,wt as K,dt as L,ht as M,Q as N,W as O,mt as P,pt as Q,T as R,O as S,bt as T,vt as U,Nt as V,yt as W,y as X,f as Y,b as Z,d as _,l as a,v as a0,g as a1,J as a2,h as a3,ot as a4,ut as a5,ct as a6,I as a7,rt as b,St as c,R as d,U as e,Y as f,at as g,G as h,V as i,x as j,X as k,tt as l,c as m,it as n,gt as o,kt as p,M as q,H as r,P as s,D as t,C as u,nt as v,Lt as w,z as x,K as y,st as z}
|