drizzle-cube 0.5.3 → 0.5.5
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/adapters/express/index.cjs +2 -2
- package/dist/adapters/express/index.js +105 -104
- package/dist/adapters/fastify/index.cjs +2 -2
- package/dist/adapters/fastify/index.js +107 -106
- package/dist/adapters/{google-CBfBGU4F.js → google-CT4kgmBf.js} +1 -1
- package/dist/adapters/{google-BOAwi9Ib.cjs → google-Dgo9-Kb5.cjs} +1 -1
- package/dist/adapters/{handler-Cqf-CqAS.cjs → handler-C1Qs8JMY.cjs} +13 -13
- package/dist/adapters/{handler-BC3nFNxV.js → handler-CoaNnZyf.js} +154 -34
- package/dist/adapters/hono/index.cjs +1 -1
- package/dist/adapters/hono/index.js +99 -98
- package/dist/adapters/{locale-BoiA6WiV.cjs → locale-CTuvUGBs.cjs} +7 -7
- package/dist/adapters/{locale-D9VQkLXt.js → locale-wMBdZ3Ks.js} +1 -1
- package/dist/adapters/mcp-tools.cjs +1 -1
- package/dist/adapters/mcp-tools.js +8 -3
- package/dist/adapters/mcp-transport-B_HoB1HQ.js +579 -0
- package/dist/adapters/mcp-transport-bQzyrBPI.cjs +40 -0
- package/dist/adapters/mcp-transport.d.ts +22 -0
- package/dist/adapters/nextjs/index.cjs +1 -1
- package/dist/adapters/nextjs/index.js +136 -135
- package/dist/adapters/{openai-B4N3KfTG.cjs → openai-BjLV_Wjx.cjs} +1 -1
- package/dist/adapters/{openai-BWdm0JvG.js → openai-DQawCWQb.js} +1 -1
- package/dist/adapters/utils-CIRA5_JO.cjs +128 -0
- package/dist/adapters/{utils-CTYvfZ3I.js → utils-hC7Z8V39.js} +1114 -664
- package/dist/adapters/utils.cjs +1 -1
- package/dist/adapters/utils.d.ts +52 -5
- package/dist/adapters/utils.js +1 -1
- package/dist/client/charts/chartConfigs.d.ts +34 -0
- package/dist/client/charts.js +12 -12
- package/dist/client/chunks/{DashboardEditModal-IU_0dgfC.js → DashboardEditModal-DayTXEH0.js} +10 -10
- package/dist/client/chunks/{DashboardEditModal-IU_0dgfC.js.map → DashboardEditModal-DayTXEH0.js.map} +1 -1
- package/dist/client/chunks/{FieldSearchModal-BCWanpPX.js → FieldSearchModal-B7Mr8UNT.js} +4 -4
- package/dist/client/chunks/{FieldSearchModal-BCWanpPX.js.map → FieldSearchModal-B7Mr8UNT.js.map} +1 -1
- package/dist/client/chunks/KpiDelta-C-hZ1x01.js +2 -0
- package/dist/client/chunks/KpiNumber-Beo8CK0a.js +2 -0
- package/dist/client/chunks/KpiText-ytYiRTRO.js +2 -0
- package/dist/client/chunks/{RetentionCombinedChart-CQMBODsK.js → RetentionCombinedChart-D3dRmoos.js} +3 -3
- package/dist/client/chunks/{RetentionCombinedChart-CQMBODsK.js.map → RetentionCombinedChart-D3dRmoos.js.map} +1 -1
- package/dist/client/chunks/{RetentionHeatmap-B_5sewwi.js → RetentionHeatmap-DHPnn0qH.js} +2 -2
- package/dist/client/chunks/{RetentionHeatmap-B_5sewwi.js.map → RetentionHeatmap-DHPnn0qH.js.map} +1 -1
- package/dist/client/chunks/SchemaVisualization-DbYZBTyi.js +2 -0
- package/dist/client/chunks/SchemaVisualizationLazy-BGo-1S3q.js +2 -0
- package/dist/client/chunks/{af-ZA-xDmO5F0s.js → af-ZA-BtTNqvHF.js} +8 -3
- package/dist/client/chunks/af-ZA-BtTNqvHF.js.map +1 -0
- package/dist/client/chunks/{analysis-builder-Dm6eD_AX.js → analysis-builder-lcGl099d.js} +245 -255
- package/dist/client/chunks/analysis-builder-lcGl099d.js.map +1 -0
- package/dist/client/chunks/{analysis-builder-shared-DT5bXwCA.js → analysis-builder-shared-6BRZcEnu.js} +391 -459
- package/dist/client/chunks/analysis-builder-shared-6BRZcEnu.js.map +1 -0
- package/dist/client/chunks/{chart-activity-grid-CWT0gLv4.js → chart-activity-grid-BnY-jaoa.js} +26 -6
- package/dist/client/chunks/chart-activity-grid-BnY-jaoa.js.map +1 -0
- package/dist/client/chunks/{chart-area-DDti9Qtp.js → chart-area-G3OvLLK4.js} +2 -2
- package/dist/client/chunks/{chart-area-DDti9Qtp.js.map → chart-area-G3OvLLK4.js.map} +1 -1
- package/dist/client/chunks/{chart-bar-B3s9qDlh.js → chart-bar-MLIWiLrc.js} +3 -3
- package/dist/client/chunks/{chart-bar-B3s9qDlh.js.map → chart-bar-MLIWiLrc.js.map} +1 -1
- package/dist/client/chunks/{chart-box-plot-o-h9MRX5.js → chart-box-plot-c2XqKTWq.js} +2 -2
- package/dist/client/chunks/{chart-box-plot-o-h9MRX5.js.map → chart-box-plot-c2XqKTWq.js.map} +1 -1
- package/dist/client/chunks/{chart-bubble-CMDp4Pfm.js → chart-bubble-CAGvnYb1.js} +2 -2
- package/dist/client/chunks/{chart-bubble-CMDp4Pfm.js.map → chart-bubble-CAGvnYb1.js.map} +1 -1
- package/dist/client/chunks/{chart-candlestick-WyANJ0Ky.js → chart-candlestick-oSPk-KQp.js} +2 -2
- package/dist/client/chunks/{chart-candlestick-WyANJ0Ky.js.map → chart-candlestick-oSPk-KQp.js.map} +1 -1
- package/dist/client/chunks/{chart-config-activity-grid-C-EkgYoa.js → chart-config-activity-grid-Dssynumw.js} +8 -1
- package/dist/client/chunks/chart-config-activity-grid-Dssynumw.js.map +1 -0
- package/dist/client/chunks/{chart-config-area-CMZpbIah.js → chart-config-area-40fbx2Ah.js} +8 -1
- package/dist/client/chunks/chart-config-area-40fbx2Ah.js.map +1 -0
- package/dist/client/chunks/{chart-config-bar-B8_V4YLg.js → chart-config-bar-CUWHwOPN.js} +8 -1
- package/dist/client/chunks/chart-config-bar-CUWHwOPN.js.map +1 -0
- package/dist/client/chunks/{chart-config-box-plot-Dwj7sEbU.js → chart-config-box-plot-D3Y0ien3.js} +8 -1
- package/dist/client/chunks/chart-config-box-plot-D3Y0ien3.js.map +1 -0
- package/dist/client/chunks/{chart-config-bubble-B0w0ZVp4.js → chart-config-bubble-BXSTKLn-.js} +8 -1
- package/dist/client/chunks/chart-config-bubble-BXSTKLn-.js.map +1 -0
- package/dist/client/chunks/{chart-config-candlestick-Bvo3zeIn.js → chart-config-candlestick-DEuD2Av0.js} +8 -1
- package/dist/client/chunks/chart-config-candlestick-DEuD2Av0.js.map +1 -0
- package/dist/client/chunks/{chart-config-gauge-C5ZiyZy7.js → chart-config-gauge-CCva3FfA.js} +5 -1
- package/dist/client/chunks/chart-config-gauge-CCva3FfA.js.map +1 -0
- package/dist/client/chunks/{chart-config-heat-map-Cv8qNnVP.js → chart-config-heat-map-Db4Z8UUn.js} +8 -1
- package/dist/client/chunks/chart-config-heat-map-Db4Z8UUn.js.map +1 -0
- package/dist/client/chunks/{chart-config-kpi-delta-BraHQc2E.js → chart-config-kpi-delta-BfLf3iyi.js} +8 -1
- package/dist/client/chunks/chart-config-kpi-delta-BfLf3iyi.js.map +1 -0
- package/dist/client/chunks/{chart-config-kpi-number-CeCkx7mC.js → chart-config-kpi-number-DWKFc9PX.js} +5 -1
- package/dist/client/chunks/chart-config-kpi-number-DWKFc9PX.js.map +1 -0
- package/dist/client/chunks/{chart-config-kpi-text-CImM3SvH.js → chart-config-kpi-text-Dr4OG6cY.js} +5 -1
- package/dist/client/chunks/chart-config-kpi-text-Dr4OG6cY.js.map +1 -0
- package/dist/client/chunks/{chart-config-line-BVKapAQK.js → chart-config-line-DGYYdDw9.js} +8 -1
- package/dist/client/chunks/chart-config-line-DGYYdDw9.js.map +1 -0
- package/dist/client/chunks/{chart-config-measure-profile-KTVV1gO3.js → chart-config-measure-profile-sB3n_Azv.js} +5 -1
- package/dist/client/chunks/chart-config-measure-profile-sB3n_Azv.js.map +1 -0
- package/dist/client/chunks/{chart-config-pie-BZxVl25X.js → chart-config-pie-kte7OXa9.js} +8 -1
- package/dist/client/chunks/chart-config-pie-kte7OXa9.js.map +1 -0
- package/dist/client/chunks/{chart-config-radar-B7FByX3t.js → chart-config-radar-C9IxP5tc.js} +8 -1
- package/dist/client/chunks/chart-config-radar-C9IxP5tc.js.map +1 -0
- package/dist/client/chunks/{chart-config-radial-bar-UfW_3yyX.js → chart-config-radial-bar-C3WJ8Uhm.js} +8 -1
- package/dist/client/chunks/chart-config-radial-bar-C3WJ8Uhm.js.map +1 -0
- package/dist/client/chunks/{chart-config-scatter-BVVJuOnt.js → chart-config-scatter-BVN_29G5.js} +8 -1
- package/dist/client/chunks/chart-config-scatter-BVN_29G5.js.map +1 -0
- package/dist/client/chunks/{chart-config-tree-map-IHp97OyV.js → chart-config-tree-map-meeJEDi8.js} +8 -1
- package/dist/client/chunks/chart-config-tree-map-meeJEDi8.js.map +1 -0
- package/dist/client/chunks/{chart-config-waterfall-BdqG1V-x.js → chart-config-waterfall-CaPeWZMl.js} +8 -1
- package/dist/client/chunks/chart-config-waterfall-CaPeWZMl.js.map +1 -0
- package/dist/client/chunks/{chart-data-table-Qrt6EAno.js → chart-data-table-BRXHT2H-.js} +68 -68
- package/dist/client/chunks/chart-data-table-BRXHT2H-.js.map +1 -0
- package/dist/client/chunks/{chart-funnel-C7pgktN5.js → chart-funnel-aQ7G_CqU.js} +2 -2
- package/dist/client/chunks/{chart-funnel-C7pgktN5.js.map → chart-funnel-aQ7G_CqU.js.map} +1 -1
- package/dist/client/chunks/{chart-gauge-D2r2B_AR.js → chart-gauge-DqbDKr9E.js} +2 -2
- package/dist/client/chunks/{chart-gauge-D2r2B_AR.js.map → chart-gauge-DqbDKr9E.js.map} +1 -1
- package/dist/client/chunks/{chart-heat-map-Dw2yjwfO.js → chart-heat-map--6QnhUM8.js} +2 -2
- package/dist/client/chunks/{chart-heat-map-Dw2yjwfO.js.map → chart-heat-map--6QnhUM8.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-delta-CgldZ7zO.js → chart-kpi-delta-DOSpRjfs.js} +3 -3
- package/dist/client/chunks/{chart-kpi-delta-CgldZ7zO.js.map → chart-kpi-delta-DOSpRjfs.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-number-ByfuX1ki.js → chart-kpi-number-BcMjeKm8.js} +5 -5
- package/dist/client/chunks/{chart-kpi-number-ByfuX1ki.js.map → chart-kpi-number-BcMjeKm8.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-text-DeNuDraJ.js → chart-kpi-text-BI9isc2i.js} +3 -3
- package/dist/client/chunks/{chart-kpi-text-DeNuDraJ.js.map → chart-kpi-text-BI9isc2i.js.map} +1 -1
- package/dist/client/chunks/{chart-line-RdZwtk27.js → chart-line-C0IHQteu.js} +3 -3
- package/dist/client/chunks/{chart-line-RdZwtk27.js.map → chart-line-C0IHQteu.js.map} +1 -1
- package/dist/client/chunks/{chart-markdown-CiGRZdJj.js → chart-markdown-BmgSMqPg.js} +2 -2
- package/dist/client/chunks/{chart-markdown-CiGRZdJj.js.map → chart-markdown-BmgSMqPg.js.map} +1 -1
- package/dist/client/chunks/{chart-measure-profile-Ckjw9bX6.js → chart-measure-profile-DEyLW1fd.js} +3 -3
- package/dist/client/chunks/{chart-measure-profile-Ckjw9bX6.js.map → chart-measure-profile-DEyLW1fd.js.map} +1 -1
- package/dist/client/chunks/{chart-pie-BvY4FY__.js → chart-pie-DSIekr7p.js} +3 -3
- package/dist/client/chunks/{chart-pie-BvY4FY__.js.map → chart-pie-DSIekr7p.js.map} +1 -1
- package/dist/client/chunks/{chart-radar-DjiiEAmc.js → chart-radar-SGl62hK8.js} +3 -3
- package/dist/client/chunks/{chart-radar-DjiiEAmc.js.map → chart-radar-SGl62hK8.js.map} +1 -1
- package/dist/client/chunks/{chart-radial-bar-lla_JEYu.js → chart-radial-bar-C42EykOa.js} +3 -3
- package/dist/client/chunks/{chart-radial-bar-lla_JEYu.js.map → chart-radial-bar-C42EykOa.js.map} +1 -1
- package/dist/client/chunks/{chart-sankey-WwkZAhLy.js → chart-sankey-DguImp0W.js} +2 -2
- package/dist/client/chunks/{chart-sankey-WwkZAhLy.js.map → chart-sankey-DguImp0W.js.map} +1 -1
- package/dist/client/chunks/{chart-scatter-DwXnI0rr.js → chart-scatter-Doeox4OP.js} +3 -3
- package/dist/client/chunks/{chart-scatter-DwXnI0rr.js.map → chart-scatter-Doeox4OP.js.map} +1 -1
- package/dist/client/chunks/{chart-sunburst-CIDB_pTl.js → chart-sunburst-F3tgCpL-.js} +3 -3
- package/dist/client/chunks/{chart-sunburst-CIDB_pTl.js.map → chart-sunburst-F3tgCpL-.js.map} +1 -1
- package/dist/client/chunks/{chart-tree-map-DJHoA26f.js → chart-tree-map-DvuSCIc8.js} +3 -3
- package/dist/client/chunks/{chart-tree-map-DJHoA26f.js.map → chart-tree-map-DvuSCIc8.js.map} +1 -1
- package/dist/client/chunks/{chart-waterfall-Y7c8csO5.js → chart-waterfall-Be5duXlO.js} +3 -3
- package/dist/client/chunks/{chart-waterfall-Y7c8csO5.js.map → chart-waterfall-Be5duXlO.js.map} +1 -1
- package/dist/client/chunks/{charts-core-BXOqaYFn.js → charts-core-XlOwoP_r.js} +2 -2
- package/dist/client/chunks/{charts-core-BXOqaYFn.js.map → charts-core-XlOwoP_r.js.map} +1 -1
- package/dist/client/chunks/{nl-NL-vCifBijs.js → nl-NL-BLDeSy_P.js} +24 -4
- package/dist/client/chunks/nl-NL-BLDeSy_P.js.map +1 -0
- package/dist/client/chunks/{schema-visualization-DWwJukK7.js → schema-visualization-CM5ikSWB.js} +4 -4
- package/dist/client/chunks/{schema-visualization-DWwJukK7.js.map → schema-visualization-CM5ikSWB.js.map} +1 -1
- package/dist/client/chunks/{useDebounce-DyJVREop.js → useDebounce-NEZQbfxN.js} +4 -4
- package/dist/client/chunks/{useDebounce-DyJVREop.js.map → useDebounce-NEZQbfxN.js.map} +1 -1
- package/dist/client/chunks/{useExplainAI-CxSkjocM.js → useExplainAI-DivfI0dW.js} +4 -4
- package/dist/client/chunks/{useExplainAI-CxSkjocM.js.map → useExplainAI-DivfI0dW.js.map} +1 -1
- package/dist/client/chunks/{utils-BHZdKxua.js → utils-Ctl_cVNR.js} +2 -2
- package/dist/client/chunks/{utils-BHZdKxua.js.map → utils-Ctl_cVNR.js.map} +1 -1
- package/dist/client/chunks/{vendor-CBD_Olr0.js → vendor-BcLQ6iVZ.js} +2 -2
- package/dist/client/chunks/{vendor-CBD_Olr0.js.map → vendor-BcLQ6iVZ.js.map} +1 -1
- package/dist/client/components/AnalysisBuilder/types.d.ts +2 -2
- package/dist/client/components.js +3 -3
- package/dist/client/hooks.js +3 -3
- package/dist/client/icons.js +1 -1
- package/dist/client/index.js +14 -14
- package/dist/client/providers.js +1 -1
- package/dist/client/schema.js +1 -1
- package/dist/client/shared/chartDefaults.d.ts +5 -10
- package/dist/client/utils.js +5 -5
- package/dist/client-bundle-stats.html +1 -1
- package/dist/mcp-app/mcp-app.html +24 -24
- package/dist/server/index.cjs +135 -134
- package/dist/server/index.js +1128 -948
- package/package.json +2 -2
- package/dist/adapters/mcp-prompts-BUFyQLHQ.js +0 -377
- package/dist/adapters/mcp-prompts-B_NvEJT_.cjs +0 -111
- package/dist/adapters/mcp-transport-B0mgxRnJ.js +0 -579
- package/dist/adapters/mcp-transport-irsahKmD.cjs +0 -39
- package/dist/adapters/utils-XPOzzMdY.cjs +0 -17
- package/dist/client/chunks/KpiDelta-_igN6cJa.js +0 -2
- package/dist/client/chunks/KpiNumber-t5n8PtRU.js +0 -2
- package/dist/client/chunks/KpiText-BCZJJ6a0.js +0 -2
- package/dist/client/chunks/SchemaVisualization-BUUhlOvG.js +0 -2
- package/dist/client/chunks/SchemaVisualizationLazy-CwaPCUL0.js +0 -2
- package/dist/client/chunks/af-ZA-xDmO5F0s.js.map +0 -1
- package/dist/client/chunks/analysis-builder-Dm6eD_AX.js.map +0 -1
- package/dist/client/chunks/analysis-builder-shared-DT5bXwCA.js.map +0 -1
- package/dist/client/chunks/chart-activity-grid-CWT0gLv4.js.map +0 -1
- package/dist/client/chunks/chart-config-activity-grid-C-EkgYoa.js.map +0 -1
- package/dist/client/chunks/chart-config-area-CMZpbIah.js.map +0 -1
- package/dist/client/chunks/chart-config-bar-B8_V4YLg.js.map +0 -1
- package/dist/client/chunks/chart-config-box-plot-Dwj7sEbU.js.map +0 -1
- package/dist/client/chunks/chart-config-bubble-B0w0ZVp4.js.map +0 -1
- package/dist/client/chunks/chart-config-candlestick-Bvo3zeIn.js.map +0 -1
- package/dist/client/chunks/chart-config-gauge-C5ZiyZy7.js.map +0 -1
- package/dist/client/chunks/chart-config-heat-map-Cv8qNnVP.js.map +0 -1
- package/dist/client/chunks/chart-config-kpi-delta-BraHQc2E.js.map +0 -1
- package/dist/client/chunks/chart-config-kpi-number-CeCkx7mC.js.map +0 -1
- package/dist/client/chunks/chart-config-kpi-text-CImM3SvH.js.map +0 -1
- package/dist/client/chunks/chart-config-line-BVKapAQK.js.map +0 -1
- package/dist/client/chunks/chart-config-measure-profile-KTVV1gO3.js.map +0 -1
- package/dist/client/chunks/chart-config-pie-BZxVl25X.js.map +0 -1
- package/dist/client/chunks/chart-config-radar-B7FByX3t.js.map +0 -1
- package/dist/client/chunks/chart-config-radial-bar-UfW_3yyX.js.map +0 -1
- package/dist/client/chunks/chart-config-scatter-BVVJuOnt.js.map +0 -1
- package/dist/client/chunks/chart-config-tree-map-IHp97OyV.js.map +0 -1
- package/dist/client/chunks/chart-config-waterfall-BdqG1V-x.js.map +0 -1
- package/dist/client/chunks/chart-data-table-Qrt6EAno.js.map +0 -1
- package/dist/client/chunks/nl-NL-vCifBijs.js.map +0 -1
- /package/dist/adapters/{anthropic-Cto4Jxqt.cjs → anthropic-BIva8k1r.cjs} +0 -0
- /package/dist/adapters/{anthropic-DpEbCVvF.js → anthropic-B_rg0BhK.js} +0 -0
- /package/dist/adapters/{dist-BnyV9wfA.cjs → dist-Boc63-1q.cjs} +0 -0
- /package/dist/adapters/{dist-DjVh2RFz.js → dist-De5fzUEM.js} +0 -0
- /package/dist/adapters/{openai-CoqT_FM5.cjs → openai-Bgri5TJc.cjs} +0 -0
- /package/dist/adapters/{openai-D0Nsvc9L.js → openai-CuUGrKaK.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart-config-kpi-delta-BfLf3iyi.js","names":[],"sources":["../../../src/client/components/charts/KpiDelta.config.ts"],"sourcesContent":["import type { ChartTypeConfig } from '../../charts/chartConfigs'\n\n/**\n * Configuration for the KPI Delta chart type\n */\nexport const kpiDeltaConfig: ChartTypeConfig = {\n label: 'chart.kpiDelta.label',\n description: 'chart.kpiDelta.description',\n useCase: 'chart.kpiDelta.useCase',\n isAvailable: ({ measureCount, dimensionCount }) => {\n if (measureCount < 1) return { available: false, reason: 'chart.availability.requiresMeasure' }\n if (dimensionCount < 1) return { available: false, reason: 'chart.availability.requiresDimension' }\n return { available: true }\n },\n dropZones: [\n {\n key: 'yAxis',\n label: 'chart.configText.value',\n description: 'chart.configText.measure_to_track_changes_for',\n mandatory: true,\n maxItems: 1,\n acceptTypes: ['measure'],\n emptyText: 'chart.kpiDelta.dropZone.yAxis.empty'\n },\n {\n key: 'xAxis',\n label: 'chart.configText.dimension_optional',\n description: 'chart.configText.dimension_for_ordering_data_typically_time',\n mandatory: false,\n maxItems: 1,\n acceptTypes: ['dimension', 'timeDimension'],\n emptyText: 'chart.kpiDelta.dropZone.xAxis.empty'\n }\n ],\n displayOptionsConfig: [\n {\n key: 'prefix',\n label: 'chart.option.prefix.label',\n type: 'string',\n placeholder: 'e.g., $, €, #',\n description: 'chart.option.prefix.description'\n },\n {\n key: 'suffix',\n label: 'chart.option.suffix.label',\n type: 'string',\n placeholder: 'e.g., %, units, items',\n description: 'chart.option.suffix.description'\n },\n {\n key: 'decimals',\n label: 'chart.option.decimals.label',\n type: 'number',\n defaultValue: 1,\n min: 0,\n max: 10,\n step: 1,\n description: 'chart.option.decimals.description'\n },\n {\n key: 'positiveColorIndex',\n label: 'chart.configText.positive_change_color',\n type: 'paletteColor',\n defaultValue: 2, // Typically green in most palettes\n description: 'chart.configText.color_for_positive_changes_increases'\n },\n {\n key: 'negativeColorIndex',\n label: 'chart.configText.negative_change_color', \n type: 'paletteColor',\n defaultValue: 3, // Typically red in most palettes\n description: 'chart.configText.color_for_negative_changes_decreases'\n },\n {\n key: 'showHistogram',\n label: 'chart.option.showHistogram.label',\n type: 'boolean',\n defaultValue: true,\n description: 'chart.option.showHistogram.description'\n },\n {\n key: 'useLastCompletePeriod',\n label: 'chart.option.useLastCompletePeriod.label',\n type: 'boolean',\n defaultValue: true,\n description: 'chart.configText.exclude_current_incomplete_period_from_delta_calculation_e_g_partial_wee'\n },\n {\n key: 'skipLastPeriod',\n label: 'chart.option.skipLastPeriod.label',\n type: 'boolean',\n defaultValue: false,\n description: 'chart.option.skipLastPeriod.description'\n }\n ],\n displayOptions: ['hideHeader'],\n validate: (config: any) => {\n if (!config.yAxis || (Array.isArray(config.yAxis) && config.yAxis.length === 0)) {\n return {\n isValid: false,\n message: 'chart.kpiDelta.validation.measureRequired'\n }\n }\n \n return { isValid: true }\n }\n}"],"mappings":";;wDAKa,IAAkC;CAC7C,OAAO;CACP,aAAa;CACb,SAAS;CACT,cAAc,EAAE,iBAAc,wBACxB,IAAe,IAAU;EAAE,WAAW;EAAO,QAAQ;EAAsC,GAC3F,IAAiB,IAAU;EAAE,WAAW;EAAO,QAAQ;EAAwC,GAC5F,EAAE,WAAW,IAAM;CAE5B,WAAW,CACT;EACE,KAAK;EACL,OAAO;EACP,aAAa;EACb,WAAW;EACX,UAAU;EACV,aAAa,CAAC,UAAU;EACxB,WAAW;EACZ,EACD;EACE,KAAK;EACL,OAAO;EACP,aAAa;EACb,WAAW;EACX,UAAU;EACV,aAAa,CAAC,aAAa,gBAAgB;EAC3C,WAAW;EACZ,CACF;CACD,sBAAsB;EACpB;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,aAAa;GACb,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,aAAa;GACb,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,KAAK;GACL,KAAK;GACL,MAAM;GACN,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACF;CACD,gBAAgB,CAAC,aAAa;CAC9B,WAAW,MACL,CAAC,EAAO,SAAU,MAAM,QAAQ,EAAO,MAAM,IAAI,EAAO,MAAM,WAAW,IACpE;EACL,SAAS;EACT,SAAS;EACV,GAGI,EAAE,SAAS,IAAM"}
|
|
@@ -4,6 +4,10 @@ var t = /* @__PURE__ */ e({ kpiNumberConfig: () => n }), n = {
|
|
|
4
4
|
label: "chart.kpiNumber.label",
|
|
5
5
|
description: "chart.kpiNumber.description",
|
|
6
6
|
useCase: "chart.kpiNumber.useCase",
|
|
7
|
+
isAvailable: ({ measureCount: e }) => e < 1 ? {
|
|
8
|
+
available: !1,
|
|
9
|
+
reason: "chart.availability.requiresMeasure"
|
|
10
|
+
} : { available: !0 },
|
|
7
11
|
dropZones: [{
|
|
8
12
|
key: "yAxis",
|
|
9
13
|
label: "chart.configText.value",
|
|
@@ -72,4 +76,4 @@ var t = /* @__PURE__ */ e({ kpiNumberConfig: () => n }), n = {
|
|
|
72
76
|
//#endregion
|
|
73
77
|
export { n, t };
|
|
74
78
|
|
|
75
|
-
//# sourceMappingURL=chart-config-kpi-number-
|
|
79
|
+
//# sourceMappingURL=chart-config-kpi-number-DWKFc9PX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart-config-kpi-number-DWKFc9PX.js","names":[],"sources":["../../../src/client/components/charts/KpiNumber.config.ts"],"sourcesContent":["import type { ChartTypeConfig } from '../../charts/chartConfigs'\n\n/**\n * Configuration for the KPI Number chart type\n */\nexport const kpiNumberConfig: ChartTypeConfig = {\n label: 'chart.kpiNumber.label',\n description: 'chart.kpiNumber.description',\n useCase: 'chart.kpiNumber.useCase',\n isAvailable: ({ measureCount }) => {\n if (measureCount < 1) return { available: false, reason: 'chart.availability.requiresMeasure' }\n return { available: true }\n },\n dropZones: [\n {\n key: 'yAxis',\n label: 'chart.configText.value',\n description: 'chart.configText.measure_to_display_as_kpi_number',\n mandatory: true,\n maxItems: 1,\n acceptTypes: ['measure'],\n emptyText: 'chart.kpiNumber.dropZone.yAxis.empty'\n }\n ],\n displayOptionsConfig: [\n {\n key: 'target',\n label: 'chart.runtime.tooltip.targetValue',\n type: 'string',\n placeholder: 'e.g., 100',\n description: 'chart.configText.target_value_to_compare_against_first_value_used_if_multiple_provided'\n },\n {\n key: 'prefix',\n label: 'chart.option.prefix.label',\n type: 'string',\n placeholder: 'e.g., $, €, #',\n description: 'chart.option.prefix.description'\n },\n {\n key: 'suffix',\n label: 'chart.option.suffix.label',\n type: 'string',\n placeholder: 'e.g., %, units, items',\n description: 'chart.option.suffix.description'\n },\n {\n key: 'decimals',\n label: 'chart.option.decimals.label',\n type: 'number',\n defaultValue: 0,\n min: 0,\n max: 10,\n step: 1,\n description: 'chart.option.decimals.description'\n },\n {\n key: 'valueColorIndex',\n label: 'chart.configText.value_color',\n type: 'paletteColor',\n defaultValue: 0,\n description: 'chart.configText.color_from_the_dashboard_palette_for_the_kpi_value_text'\n },\n {\n key: 'useLastCompletePeriod',\n label: 'chart.option.useLastCompletePeriod.label',\n type: 'boolean',\n defaultValue: true,\n description: 'chart.configText.exclude_current_incomplete_period_from_aggregation_e_g_partial_week_mont'\n },\n {\n key: 'skipLastPeriod',\n label: 'chart.option.skipLastPeriod.label',\n type: 'boolean',\n defaultValue: false,\n description: 'chart.option.skipLastPeriod.description'\n }\n ],\n displayOptions: ['hideHeader']\n}"],"mappings":";;yDAKa,IAAmC;CAC9C,OAAO;CACP,aAAa;CACb,SAAS;CACT,cAAc,EAAE,sBACV,IAAe,IAAU;EAAE,WAAW;EAAO,QAAQ;EAAsC,GACxF,EAAE,WAAW,IAAM;CAE5B,WAAW,CACT;EACE,KAAK;EACL,OAAO;EACP,aAAa;EACb,WAAW;EACX,UAAU;EACV,aAAa,CAAC,UAAU;EACxB,WAAW;EACZ,CACF;CACD,sBAAsB;EACpB;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,aAAa;GACb,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,aAAa;GACb,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,aAAa;GACb,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,KAAK;GACL,KAAK;GACL,MAAM;GACN,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACF;CACD,gBAAgB,CAAC,aAAa"}
|
package/dist/client/chunks/{chart-config-kpi-text-CImM3SvH.js → chart-config-kpi-text-Dr4OG6cY.js}
RENAMED
|
@@ -4,6 +4,10 @@ var t = /* @__PURE__ */ e({ kpiTextConfig: () => n }), n = {
|
|
|
4
4
|
label: "chart.kpiText.label",
|
|
5
5
|
description: "chart.kpiText.description",
|
|
6
6
|
useCase: "chart.kpiText.useCase",
|
|
7
|
+
isAvailable: ({ measureCount: e }) => e < 1 ? {
|
|
8
|
+
available: !1,
|
|
9
|
+
reason: "chart.availability.requiresMeasure"
|
|
10
|
+
} : { available: !0 },
|
|
7
11
|
dropZones: [{
|
|
8
12
|
key: "yAxis",
|
|
9
13
|
label: "chart.configText.value",
|
|
@@ -44,4 +48,4 @@ var t = /* @__PURE__ */ e({ kpiTextConfig: () => n }), n = {
|
|
|
44
48
|
//#endregion
|
|
45
49
|
export { n, t };
|
|
46
50
|
|
|
47
|
-
//# sourceMappingURL=chart-config-kpi-text-
|
|
51
|
+
//# sourceMappingURL=chart-config-kpi-text-Dr4OG6cY.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart-config-kpi-text-Dr4OG6cY.js","names":[],"sources":["../../../src/client/components/charts/KpiText.config.ts"],"sourcesContent":["import type { ChartTypeConfig } from '../../charts/chartConfigs'\n\n/**\n * Configuration for the KPI Text chart type\n */\nexport const kpiTextConfig: ChartTypeConfig = {\n label: 'chart.kpiText.label',\n description: 'chart.kpiText.description',\n useCase: 'chart.kpiText.useCase',\n isAvailable: ({ measureCount }) => {\n if (measureCount < 1) return { available: false, reason: 'chart.availability.requiresMeasure' }\n return { available: true }\n },\n dropZones: [\n {\n key: 'yAxis',\n label: 'chart.configText.value',\n description: 'chart.configText.measure_to_display_in_the_kpi_text_template',\n mandatory: true,\n maxItems: 1,\n acceptTypes: ['measure'],\n emptyText: 'chart.kpiText.dropZone.yAxis.empty'\n }\n ],\n displayOptionsConfig: [\n {\n key: 'template',\n label: 'chart.configText.text_template',\n type: 'string',\n placeholder: 'e.g., Total Revenue: ${value}',\n description: 'chart.configText.template_for_displaying_the_text_use_value_to_insert_the_measure_value'\n },\n {\n key: 'decimals',\n label: 'chart.option.decimals.label',\n type: 'number',\n defaultValue: 0,\n min: 0,\n max: 10,\n step: 1,\n description: 'chart.configText.number_of_decimal_places_to_display_for_numeric_values'\n },\n {\n key: 'valueColorIndex',\n label: 'chart.configText.value_color',\n type: 'paletteColor',\n defaultValue: 0,\n description: 'chart.configText.color_from_the_dashboard_palette_for_the_kpi_value_text'\n }\n ],\n displayOptions: ['hideHeader']\n}"],"mappings":";;uDAKa,IAAiC;CAC5C,OAAO;CACP,aAAa;CACb,SAAS;CACT,cAAc,EAAE,sBACV,IAAe,IAAU;EAAE,WAAW;EAAO,QAAQ;EAAsC,GACxF,EAAE,WAAW,IAAM;CAE5B,WAAW,CACT;EACE,KAAK;EACL,OAAO;EACP,aAAa;EACb,WAAW;EACX,UAAU;EACV,aAAa,CAAC,UAAU;EACxB,WAAW;EACZ,CACF;CACD,sBAAsB;EACpB;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,aAAa;GACb,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,KAAK;GACL,KAAK;GACL,MAAM;GACN,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACF;CACD,gBAAgB,CAAC,aAAa"}
|
|
@@ -5,6 +5,13 @@ var t = /* @__PURE__ */ e({ lineChartConfig: () => n }), n = {
|
|
|
5
5
|
description: "chart.line.description",
|
|
6
6
|
useCase: "chart.line.useCase",
|
|
7
7
|
clickableElements: { point: !0 },
|
|
8
|
+
isAvailable: ({ measureCount: e, dimensionCount: t }) => e < 1 ? {
|
|
9
|
+
available: !1,
|
|
10
|
+
reason: "chart.availability.requiresMeasure"
|
|
11
|
+
} : t < 1 ? {
|
|
12
|
+
available: !1,
|
|
13
|
+
reason: "chart.availability.requiresDimension"
|
|
14
|
+
} : { available: !0 },
|
|
8
15
|
dropZones: [
|
|
9
16
|
{
|
|
10
17
|
key: "xAxis",
|
|
@@ -101,4 +108,4 @@ var t = /* @__PURE__ */ e({ lineChartConfig: () => n }), n = {
|
|
|
101
108
|
//#endregion
|
|
102
109
|
export { n, t };
|
|
103
110
|
|
|
104
|
-
//# sourceMappingURL=chart-config-line-
|
|
111
|
+
//# sourceMappingURL=chart-config-line-DGYYdDw9.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart-config-line-DGYYdDw9.js","names":[],"sources":["../../../src/client/components/charts/LineChart.config.ts"],"sourcesContent":["import type { ChartTypeConfig } from '../../charts/chartConfigs'\n\n/**\n * Configuration for the line chart type\n */\nexport const lineChartConfig: ChartTypeConfig = {\n label: 'chart.line.label',\n description: 'chart.line.description',\n useCase: 'chart.line.useCase',\n clickableElements: { point: true },\n isAvailable: ({ measureCount, dimensionCount }) => {\n if (measureCount < 1) return { available: false, reason: 'chart.availability.requiresMeasure' }\n if (dimensionCount < 1) return { available: false, reason: 'chart.availability.requiresDimension' }\n return { available: true }\n },\n dropZones: [\n {\n key: 'xAxis',\n label: 'chart.configText.x_axis_time_categories',\n description: 'chart.configText.time_dimensions_or_dimensions_for_x_axis',\n mandatory: true,\n acceptTypes: ['dimension', 'timeDimension'],\n emptyText: 'chart.line.dropZone.xAxis.empty'\n },\n {\n key: 'yAxis',\n label: 'chart.dropZone.yAxis.label',\n description: 'chart.configText.measures_for_line_values',\n mandatory: true,\n acceptTypes: ['measure'],\n emptyText: 'chart.line.dropZone.yAxis.empty',\n enableDualAxis: true\n },\n {\n key: 'series',\n label: 'chart.configText.series_multiple_lines',\n description: 'chart.configText.dimensions_to_create_separate_lines',\n mandatory: false,\n acceptTypes: ['dimension'],\n emptyText: 'chart.line.dropZone.series.empty'\n }\n ],\n displayOptions: ['showLegend', 'showGrid', 'showTooltip', 'hideHeader'],\n displayOptionsConfig: [\n {\n key: 'connectNulls',\n label: 'chart.option.connectNulls.label',\n type: 'boolean',\n defaultValue: false,\n description: 'chart.option.connectNulls.description'\n },\n {\n key: 'target',\n label: 'chart.option.target.label',\n type: 'string',\n placeholder: 'e.g., 100 or 50,75 for spread',\n description: 'chart.option.target.description'\n },\n {\n key: 'priorPeriodStyle',\n label: 'chart.option.priorPeriodStyle.label',\n type: 'select',\n defaultValue: 'dashed',\n options: [\n { value: 'dashed', label: 'chart.option.priorPeriodStyle.dashed' },\n { value: 'dotted', label: 'chart.option.priorPeriodStyle.dotted' },\n { value: 'solid', label: 'chart.option.priorPeriodStyle.solid' }\n ],\n description: 'chart.option.priorPeriodStyle.description'\n },\n {\n key: 'priorPeriodOpacity',\n label: 'chart.option.priorPeriodOpacity.label',\n type: 'number',\n defaultValue: 0.5,\n min: 0.1,\n max: 1,\n step: 0.1,\n description: 'chart.option.priorPeriodOpacity.description'\n },\n {\n key: 'leftYAxisFormat',\n label: 'chart.option.leftYAxisFormat.label',\n type: 'axisFormat',\n description: 'chart.option.leftYAxisFormat.description'\n },\n {\n key: 'rightYAxisFormat',\n label: 'chart.option.rightYAxisFormat.label',\n type: 'axisFormat',\n description: 'chart.option.rightYAxisFormat.description'\n }\n ]\n}"],"mappings":";;yDAKa,IAAmC;CAC9C,OAAO;CACP,aAAa;CACb,SAAS;CACT,mBAAmB,EAAE,OAAO,IAAM;CAClC,cAAc,EAAE,iBAAc,wBACxB,IAAe,IAAU;EAAE,WAAW;EAAO,QAAQ;EAAsC,GAC3F,IAAiB,IAAU;EAAE,WAAW;EAAO,QAAQ;EAAwC,GAC5F,EAAE,WAAW,IAAM;CAE5B,WAAW;EACT;GACE,KAAK;GACL,OAAO;GACP,aAAa;GACb,WAAW;GACX,aAAa,CAAC,aAAa,gBAAgB;GAC3C,WAAW;GACZ;EACD;GACE,KAAK;GACL,OAAO;GACP,aAAa;GACb,WAAW;GACX,aAAa,CAAC,UAAU;GACxB,WAAW;GACX,gBAAgB;GACjB;EACD;GACE,KAAK;GACL,OAAO;GACP,aAAa;GACb,WAAW;GACX,aAAa,CAAC,YAAY;GAC1B,WAAW;GACZ;EACF;CACD,gBAAgB;EAAC;EAAc;EAAY;EAAe;EAAa;CACvE,sBAAsB;EACpB;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,aAAa;GACb,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,SAAS;IACP;KAAE,OAAO;KAAU,OAAO;KAAwC;IAClE;KAAE,OAAO;KAAU,OAAO;KAAwC;IAClE;KAAE,OAAO;KAAS,OAAO;KAAuC;IACjE;GACD,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,KAAK;GACL,KAAK;GACL,MAAM;GACN,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACF"}
|
|
@@ -9,6 +9,10 @@ var t = /* @__PURE__ */ e({ measureProfileChartConfig: () => n }), n = {
|
|
|
9
9
|
"showTooltip",
|
|
10
10
|
"hideHeader"
|
|
11
11
|
],
|
|
12
|
+
isAvailable: ({ measureCount: e }) => e < 2 ? {
|
|
13
|
+
available: !1,
|
|
14
|
+
reason: "chart.availability.requiresTwoMeasures"
|
|
15
|
+
} : { available: !0 },
|
|
12
16
|
dropZones: [{
|
|
13
17
|
key: "yAxis",
|
|
14
18
|
label: "chart.configText.measures_x_axis_order",
|
|
@@ -79,4 +83,4 @@ var t = /* @__PURE__ */ e({ measureProfileChartConfig: () => n }), n = {
|
|
|
79
83
|
//#endregion
|
|
80
84
|
export { n, t };
|
|
81
85
|
|
|
82
|
-
//# sourceMappingURL=chart-config-measure-profile-
|
|
86
|
+
//# sourceMappingURL=chart-config-measure-profile-sB3n_Azv.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart-config-measure-profile-sB3n_Azv.js","names":[],"sources":["../../../src/client/components/charts/MeasureProfileChart.config.ts"],"sourcesContent":["import type { ChartTypeConfig } from '../../charts/chartConfigs'\n\n/**\n * Configuration for the measure profile chart type\n */\nexport const measureProfileChartConfig: ChartTypeConfig = {\n label: 'chart.measureProfile.label',\n description: 'chart.measureProfile.description',\n useCase: 'chart.measureProfile.useCase',\n displayOptions: ['showLegend', 'showTooltip', 'hideHeader'],\n isAvailable: ({ measureCount }) => {\n if (measureCount < 2) return { available: false, reason: 'chart.availability.requiresTwoMeasures' }\n return { available: true }\n },\n dropZones: [\n {\n key: 'yAxis',\n label: 'chart.configText.measures_x_axis_order',\n description: 'chart.configText.add_2_or_more_measures_they_become_the_x_axis_categories_in_the_order_li',\n mandatory: true,\n acceptTypes: ['measure'],\n emptyText: 'chart.measureProfile.dropZone.yAxis.empty',\n },\n {\n key: 'series',\n label: 'chart.configText.series_split_into_multiple_lines',\n description: 'chart.configText.dimension_to_split_data_into_separate_profile_lines_e_g_symbol_platform',\n mandatory: false,\n maxItems: 1,\n acceptTypes: ['dimension'],\n emptyText: 'chart.measureProfile.dropZone.series.empty',\n },\n ],\n displayOptionsConfig: [\n {\n key: 'showReferenceLineAtZero',\n label: 'chart.option.showReferenceLineAtZero.label',\n type: 'boolean',\n defaultValue: true,\n description: 'chart.option.showReferenceLineAtZero.description',\n },\n {\n key: 'showDataLabels',\n label: 'chart.option.showDataLabels.label',\n type: 'boolean',\n defaultValue: false,\n description: 'chart.configText.display_value_at_each_data_point',\n },\n {\n key: 'showLegend',\n label: 'chart.option.showLegend.label',\n type: 'boolean',\n defaultValue: true,\n description: 'chart.configText.show_series_legend_only_visible_with_a_series_dimension',\n },\n {\n key: 'lineType',\n label: 'chart.option.lineType.label',\n type: 'select',\n defaultValue: 'monotone',\n options: [\n { value: 'monotone', label: 'chart.option.lineType.smooth' },\n { value: 'linear', label: 'chart.option.lineType.linear' },\n { value: 'step', label: 'chart.option.lineType.step' },\n ],\n description: 'chart.option.lineType.description',\n },\n {\n key: 'leftYAxisFormat',\n label: 'chart.option.yAxisFormat.label',\n type: 'axisFormat',\n description: 'chart.configText.number_formatting_for_the_y_axis',\n },\n ],\n}\n"],"mappings":";;mEAKa,IAA6C;CACxD,OAAO;CACP,aAAa;CACb,SAAS;CACT,gBAAgB;EAAC;EAAc;EAAe;EAAa;CAC3D,cAAc,EAAE,sBACV,IAAe,IAAU;EAAE,WAAW;EAAO,QAAQ;EAA0C,GAC5F,EAAE,WAAW,IAAM;CAE5B,WAAW,CACT;EACE,KAAK;EACL,OAAO;EACP,aAAa;EACb,WAAW;EACX,aAAa,CAAC,UAAU;EACxB,WAAW;EACZ,EACD;EACE,KAAK;EACL,OAAO;EACP,aAAa;EACb,WAAW;EACX,UAAU;EACV,aAAa,CAAC,YAAY;EAC1B,WAAW;EACZ,CACF;CACD,sBAAsB;EACpB;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,SAAS;IACP;KAAE,OAAO;KAAY,OAAO;KAAgC;IAC5D;KAAE,OAAO;KAAU,OAAO;KAAgC;IAC1D;KAAE,OAAO;KAAQ,OAAO;KAA8B;IACvD;GACD,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACF;CACF"}
|
|
@@ -5,6 +5,13 @@ var t = /* @__PURE__ */ e({ pieChartConfig: () => n }), n = {
|
|
|
5
5
|
description: "chart.pie.description",
|
|
6
6
|
useCase: "chart.pie.useCase",
|
|
7
7
|
clickableElements: { slice: !0 },
|
|
8
|
+
isAvailable: ({ measureCount: e, dimensionCount: t }) => e < 1 ? {
|
|
9
|
+
available: !1,
|
|
10
|
+
reason: "chart.availability.requiresMeasure"
|
|
11
|
+
} : t < 1 ? {
|
|
12
|
+
available: !1,
|
|
13
|
+
reason: "chart.availability.requiresDimension"
|
|
14
|
+
} : { available: !0 },
|
|
8
15
|
dropZones: [{
|
|
9
16
|
key: "xAxis",
|
|
10
17
|
label: "chart.configText.categories",
|
|
@@ -65,4 +72,4 @@ var t = /* @__PURE__ */ e({ pieChartConfig: () => n }), n = {
|
|
|
65
72
|
//#endregion
|
|
66
73
|
export { n, t };
|
|
67
74
|
|
|
68
|
-
//# sourceMappingURL=chart-config-pie-
|
|
75
|
+
//# sourceMappingURL=chart-config-pie-kte7OXa9.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart-config-pie-kte7OXa9.js","names":[],"sources":["../../../src/client/components/charts/PieChart.config.ts"],"sourcesContent":["import type { ChartTypeConfig } from '../../charts/chartConfigs'\n\n/**\n * Configuration for the pie chart type\n */\nexport const pieChartConfig: ChartTypeConfig = {\n label: 'chart.pie.label',\n description: 'chart.pie.description',\n useCase: 'chart.pie.useCase',\n clickableElements: { slice: true },\n isAvailable: ({ measureCount, dimensionCount }) => {\n if (measureCount < 1) return { available: false, reason: 'chart.availability.requiresMeasure' }\n if (dimensionCount < 1) return { available: false, reason: 'chart.availability.requiresDimension' }\n return { available: true }\n },\n dropZones: [\n {\n key: 'xAxis',\n label: 'chart.configText.categories',\n description: 'chart.configText.dimension_for_pie_slices',\n mandatory: true,\n maxItems: 1,\n acceptTypes: ['dimension'],\n emptyText: 'chart.pie.dropZone.xAxis.empty'\n },\n {\n key: 'yAxis',\n label: 'chart.configText.values',\n description: 'chart.configText.measure_for_slice_sizes',\n mandatory: true,\n maxItems: 1,\n acceptTypes: ['measure'],\n emptyText: 'chart.pie.dropZone.yAxis.empty'\n }\n ],\n displayOptions: ['showLegend', 'showTooltip', 'hideHeader'],\n displayOptionsConfig: [\n {\n key: 'innerRadius',\n label: 'chart.option.innerRadius.label',\n type: 'select',\n description: 'chart.configText.hollow_center_size_0_percent_solid_pie_higher_donut_style',\n defaultValue: '0%',\n options: [\n { value: '0%', label: 'chart.configText.none_pie' },\n { value: '20%', label: 'chart.configText.20_percent' },\n { value: '40%', label: 'chart.configText.40_percent' },\n { value: '60%', label: 'chart.configText.60_percent' },\n { value: '80%', label: 'chart.configText.80_percent' },\n ]\n },\n {\n key: 'leftYAxisFormat',\n label: 'chart.option.valueFormat.label',\n type: 'axisFormat',\n description: 'chart.option.valueFormat.description'\n }\n ]\n}"],"mappings":";;wDAKa,IAAkC;CAC7C,OAAO;CACP,aAAa;CACb,SAAS;CACT,mBAAmB,EAAE,OAAO,IAAM;CAClC,cAAc,EAAE,iBAAc,wBACxB,IAAe,IAAU;EAAE,WAAW;EAAO,QAAQ;EAAsC,GAC3F,IAAiB,IAAU;EAAE,WAAW;EAAO,QAAQ;EAAwC,GAC5F,EAAE,WAAW,IAAM;CAE5B,WAAW,CACT;EACE,KAAK;EACL,OAAO;EACP,aAAa;EACb,WAAW;EACX,UAAU;EACV,aAAa,CAAC,YAAY;EAC1B,WAAW;EACZ,EACD;EACE,KAAK;EACL,OAAO;EACP,aAAa;EACb,WAAW;EACX,UAAU;EACV,aAAa,CAAC,UAAU;EACxB,WAAW;EACZ,CACF;CACD,gBAAgB;EAAC;EAAc;EAAe;EAAa;CAC3D,sBAAsB,CACpB;EACE,KAAK;EACL,OAAO;EACP,MAAM;EACN,aAAa;EACb,cAAc;EACd,SAAS;GACP;IAAE,OAAO;IAAM,OAAO;IAA6B;GACnD;IAAE,OAAO;IAAO,OAAO;IAA+B;GACtD;IAAE,OAAO;IAAO,OAAO;IAA+B;GACtD;IAAE,OAAO;IAAO,OAAO;IAA+B;GACtD;IAAE,OAAO;IAAO,OAAO;IAA+B;GACvD;EACF,EACD;EACE,KAAK;EACL,OAAO;EACP,MAAM;EACN,aAAa;EACd,CACF"}
|
package/dist/client/chunks/{chart-config-radar-B7FByX3t.js → chart-config-radar-C9IxP5tc.js}
RENAMED
|
@@ -4,6 +4,13 @@ var t = /* @__PURE__ */ e({ radarChartConfig: () => n }), n = {
|
|
|
4
4
|
label: "chart.radar.label",
|
|
5
5
|
description: "chart.radar.description",
|
|
6
6
|
useCase: "chart.radar.useCase",
|
|
7
|
+
isAvailable: ({ measureCount: e, dimensionCount: t }) => e < 1 ? {
|
|
8
|
+
available: !1,
|
|
9
|
+
reason: "chart.availability.requiresMeasure"
|
|
10
|
+
} : t < 1 ? {
|
|
11
|
+
available: !1,
|
|
12
|
+
reason: "chart.availability.requiresDimension"
|
|
13
|
+
} : { available: !0 },
|
|
7
14
|
dropZones: [
|
|
8
15
|
{
|
|
9
16
|
key: "xAxis",
|
|
@@ -46,4 +53,4 @@ var t = /* @__PURE__ */ e({ radarChartConfig: () => n }), n = {
|
|
|
46
53
|
//#endregion
|
|
47
54
|
export { n, t };
|
|
48
55
|
|
|
49
|
-
//# sourceMappingURL=chart-config-radar-
|
|
56
|
+
//# sourceMappingURL=chart-config-radar-C9IxP5tc.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart-config-radar-C9IxP5tc.js","names":[],"sources":["../../../src/client/components/charts/RadarChart.config.ts"],"sourcesContent":["import type { ChartTypeConfig } from '../../charts/chartConfigs'\n\n/**\n * Configuration for the radar chart type\n */\nexport const radarChartConfig: ChartTypeConfig = {\n label: 'chart.radar.label',\n description: 'chart.radar.description',\n useCase: 'chart.radar.useCase',\n isAvailable: ({ measureCount, dimensionCount }) => {\n if (measureCount < 1) return { available: false, reason: 'chart.availability.requiresMeasure' }\n if (dimensionCount < 1) return { available: false, reason: 'chart.availability.requiresDimension' }\n return { available: true }\n },\n dropZones: [\n {\n key: 'xAxis',\n label: 'chart.configText.axes_categories',\n description: 'chart.configText.dimensions_for_radar_axes',\n mandatory: true,\n acceptTypes: ['dimension'],\n emptyText: 'chart.radar.dropZone.xAxis.empty'\n },\n {\n key: 'yAxis',\n label: 'chart.configText.values',\n description: 'chart.configText.measures_for_radar_values',\n mandatory: true,\n acceptTypes: ['measure'],\n emptyText: 'chart.radar.dropZone.yAxis.empty'\n },\n {\n key: 'series',\n label: 'chart.configText.series_multiple_shapes',\n description: 'chart.configText.dimensions_to_create_multiple_radar_shapes',\n mandatory: false,\n acceptTypes: ['dimension'],\n emptyText: 'chart.radar.dropZone.series.empty'\n }\n ],\n displayOptions: ['showLegend', 'showGrid', 'showTooltip', 'hideHeader'],\n displayOptionsConfig: [\n {\n key: 'leftYAxisFormat',\n label: 'chart.option.valueFormat.label',\n type: 'axisFormat',\n description: 'chart.option.valueFormat.description'\n }\n ]\n}"],"mappings":";;0DAKa,IAAoC;CAC/C,OAAO;CACP,aAAa;CACb,SAAS;CACT,cAAc,EAAE,iBAAc,wBACxB,IAAe,IAAU;EAAE,WAAW;EAAO,QAAQ;EAAsC,GAC3F,IAAiB,IAAU;EAAE,WAAW;EAAO,QAAQ;EAAwC,GAC5F,EAAE,WAAW,IAAM;CAE5B,WAAW;EACT;GACE,KAAK;GACL,OAAO;GACP,aAAa;GACb,WAAW;GACX,aAAa,CAAC,YAAY;GAC1B,WAAW;GACZ;EACD;GACE,KAAK;GACL,OAAO;GACP,aAAa;GACb,WAAW;GACX,aAAa,CAAC,UAAU;GACxB,WAAW;GACZ;EACD;GACE,KAAK;GACL,OAAO;GACP,aAAa;GACb,WAAW;GACX,aAAa,CAAC,YAAY;GAC1B,WAAW;GACZ;EACF;CACD,gBAAgB;EAAC;EAAc;EAAY;EAAe;EAAa;CACvE,sBAAsB,CACpB;EACE,KAAK;EACL,OAAO;EACP,MAAM;EACN,aAAa;EACd,CACF"}
|
|
@@ -4,6 +4,13 @@ var t = /* @__PURE__ */ e({ radialBarChartConfig: () => n }), n = {
|
|
|
4
4
|
label: "chart.radialBar.label",
|
|
5
5
|
description: "chart.radialBar.description",
|
|
6
6
|
useCase: "chart.radialBar.useCase",
|
|
7
|
+
isAvailable: ({ measureCount: e, dimensionCount: t }) => e < 1 ? {
|
|
8
|
+
available: !1,
|
|
9
|
+
reason: "chart.availability.requiresMeasure"
|
|
10
|
+
} : t < 1 ? {
|
|
11
|
+
available: !1,
|
|
12
|
+
reason: "chart.availability.requiresDimension"
|
|
13
|
+
} : { available: !0 },
|
|
7
14
|
dropZones: [{
|
|
8
15
|
key: "xAxis",
|
|
9
16
|
label: "chart.configText.categories",
|
|
@@ -35,4 +42,4 @@ var t = /* @__PURE__ */ e({ radialBarChartConfig: () => n }), n = {
|
|
|
35
42
|
//#endregion
|
|
36
43
|
export { n, t };
|
|
37
44
|
|
|
38
|
-
//# sourceMappingURL=chart-config-radial-bar-
|
|
45
|
+
//# sourceMappingURL=chart-config-radial-bar-C3WJ8Uhm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart-config-radial-bar-C3WJ8Uhm.js","names":[],"sources":["../../../src/client/components/charts/RadialBarChart.config.ts"],"sourcesContent":["import type { ChartTypeConfig } from '../../charts/chartConfigs'\n\n/**\n * Configuration for the radial bar chart type\n */\nexport const radialBarChartConfig: ChartTypeConfig = {\n label: 'chart.radialBar.label',\n description: 'chart.radialBar.description',\n useCase: 'chart.radialBar.useCase',\n isAvailable: ({ measureCount, dimensionCount }) => {\n if (measureCount < 1) return { available: false, reason: 'chart.availability.requiresMeasure' }\n if (dimensionCount < 1) return { available: false, reason: 'chart.availability.requiresDimension' }\n return { available: true }\n },\n dropZones: [\n {\n key: 'xAxis',\n label: 'chart.configText.categories',\n description: 'chart.configText.dimensions_for_radial_segments',\n mandatory: true,\n acceptTypes: ['dimension'],\n emptyText: 'chart.radialBar.dropZone.xAxis.empty'\n },\n {\n key: 'yAxis',\n label: 'chart.configText.values',\n description: 'chart.configText.measures_for_radial_bar_lengths',\n mandatory: true,\n maxItems: 1,\n acceptTypes: ['measure'],\n emptyText: 'chart.radialBar.dropZone.yAxis.empty'\n }\n ],\n displayOptions: ['showLegend', 'showTooltip', 'hideHeader'],\n displayOptionsConfig: [\n {\n key: 'leftYAxisFormat',\n label: 'chart.option.valueFormat.label',\n type: 'axisFormat',\n description: 'chart.option.valueFormat.description'\n }\n ]\n}"],"mappings":";;8DAKa,IAAwC;CACnD,OAAO;CACP,aAAa;CACb,SAAS;CACT,cAAc,EAAE,iBAAc,wBACxB,IAAe,IAAU;EAAE,WAAW;EAAO,QAAQ;EAAsC,GAC3F,IAAiB,IAAU;EAAE,WAAW;EAAO,QAAQ;EAAwC,GAC5F,EAAE,WAAW,IAAM;CAE5B,WAAW,CACT;EACE,KAAK;EACL,OAAO;EACP,aAAa;EACb,WAAW;EACX,aAAa,CAAC,YAAY;EAC1B,WAAW;EACZ,EACD;EACE,KAAK;EACL,OAAO;EACP,aAAa;EACb,WAAW;EACX,UAAU;EACV,aAAa,CAAC,UAAU;EACxB,WAAW;EACZ,CACF;CACD,gBAAgB;EAAC;EAAc;EAAe;EAAa;CAC3D,sBAAsB,CACpB;EACE,KAAK;EACL,OAAO;EACP,MAAM;EACN,aAAa;EACd,CACF"}
|
package/dist/client/chunks/{chart-config-scatter-BVVJuOnt.js → chart-config-scatter-BVN_29G5.js}
RENAMED
|
@@ -4,6 +4,13 @@ var t = /* @__PURE__ */ e({ scatterChartConfig: () => n }), n = {
|
|
|
4
4
|
label: "chart.scatter.label",
|
|
5
5
|
description: "chart.scatter.description",
|
|
6
6
|
useCase: "chart.scatter.useCase",
|
|
7
|
+
isAvailable: ({ measureCount: e, dimensionCount: t }) => e < 1 ? {
|
|
8
|
+
available: !1,
|
|
9
|
+
reason: "chart.availability.requiresMeasure"
|
|
10
|
+
} : e < 2 && t < 1 ? {
|
|
11
|
+
available: !1,
|
|
12
|
+
reason: "chart.availability.scatter"
|
|
13
|
+
} : { available: !0 },
|
|
7
14
|
dropZones: [
|
|
8
15
|
{
|
|
9
16
|
key: "xAxis",
|
|
@@ -58,4 +65,4 @@ var t = /* @__PURE__ */ e({ scatterChartConfig: () => n }), n = {
|
|
|
58
65
|
//#endregion
|
|
59
66
|
export { n, t };
|
|
60
67
|
|
|
61
|
-
//# sourceMappingURL=chart-config-scatter-
|
|
68
|
+
//# sourceMappingURL=chart-config-scatter-BVN_29G5.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart-config-scatter-BVN_29G5.js","names":[],"sources":["../../../src/client/components/charts/ScatterChart.config.ts"],"sourcesContent":["import type { ChartTypeConfig } from '../../charts/chartConfigs'\n\n/**\n * Configuration for the scatter chart type\n */\nexport const scatterChartConfig: ChartTypeConfig = {\n label: 'chart.scatter.label',\n description: 'chart.scatter.description',\n useCase: 'chart.scatter.useCase',\n isAvailable: ({ measureCount, dimensionCount }) => {\n if (measureCount < 1) return { available: false, reason: 'chart.availability.requiresMeasure' }\n // Scatter needs either 2 measures, or 1 measure + 1 dimension\n if (measureCount < 2 && dimensionCount < 1) {\n return { available: false, reason: 'chart.availability.scatter' }\n }\n return { available: true }\n },\n dropZones: [\n {\n key: 'xAxis',\n label: 'chart.runtime.axisFormat.xAxis',\n description: 'chart.configText.measure_or_dimension_for_x_position',\n mandatory: true,\n maxItems: 1,\n acceptTypes: ['dimension', 'timeDimension', 'measure'],\n emptyText: 'chart.scatter.dropZone.xAxis.empty'\n },\n {\n key: 'yAxis',\n label: 'chart.configText.y_axis',\n description: 'chart.configText.measure_for_y_position',\n mandatory: true,\n maxItems: 1,\n acceptTypes: ['measure'],\n emptyText: 'chart.scatter.dropZone.yAxis.empty'\n },\n {\n key: 'series',\n label: 'chart.configText.series_color_groups',\n description: 'chart.configText.dimension_to_color_points_by_category',\n mandatory: false,\n maxItems: 1,\n acceptTypes: ['dimension'],\n emptyText: 'chart.scatter.dropZone.series.empty'\n }\n ],\n displayOptions: ['showLegend', 'showGrid', 'showTooltip', 'hideHeader'],\n displayOptionsConfig: [\n {\n key: 'xAxisFormat',\n label: 'chart.option.xAxisFormat.label',\n type: 'axisFormat',\n description: 'chart.option.xAxisFormat.description'\n },\n {\n key: 'leftYAxisFormat',\n label: 'chart.option.yAxisFormat.label',\n type: 'axisFormat',\n description: 'chart.option.yAxisFormat.description'\n }\n ]\n}"],"mappings":";;4DAKa,IAAsC;CACjD,OAAO;CACP,aAAa;CACb,SAAS;CACT,cAAc,EAAE,iBAAc,wBACxB,IAAe,IAAU;EAAE,WAAW;EAAO,QAAQ;EAAsC,GAE3F,IAAe,KAAK,IAAiB,IAChC;EAAE,WAAW;EAAO,QAAQ;EAA8B,GAE5D,EAAE,WAAW,IAAM;CAE5B,WAAW;EACT;GACE,KAAK;GACL,OAAO;GACP,aAAa;GACb,WAAW;GACX,UAAU;GACV,aAAa;IAAC;IAAa;IAAiB;IAAU;GACtD,WAAW;GACZ;EACD;GACE,KAAK;GACL,OAAO;GACP,aAAa;GACb,WAAW;GACX,UAAU;GACV,aAAa,CAAC,UAAU;GACxB,WAAW;GACZ;EACD;GACE,KAAK;GACL,OAAO;GACP,aAAa;GACb,WAAW;GACX,UAAU;GACV,aAAa,CAAC,YAAY;GAC1B,WAAW;GACZ;EACF;CACD,gBAAgB;EAAC;EAAc;EAAY;EAAe;EAAa;CACvE,sBAAsB,CACpB;EACE,KAAK;EACL,OAAO;EACP,MAAM;EACN,aAAa;EACd,EACD;EACE,KAAK;EACL,OAAO;EACP,MAAM;EACN,aAAa;EACd,CACF"}
|
package/dist/client/chunks/{chart-config-tree-map-IHp97OyV.js → chart-config-tree-map-meeJEDi8.js}
RENAMED
|
@@ -4,6 +4,13 @@ var t = /* @__PURE__ */ e({ treemapChartConfig: () => n }), n = {
|
|
|
4
4
|
label: "chart.treemap.label",
|
|
5
5
|
description: "chart.treemap.description",
|
|
6
6
|
useCase: "chart.treemap.useCase",
|
|
7
|
+
isAvailable: ({ measureCount: e, dimensionCount: t }) => e < 1 ? {
|
|
8
|
+
available: !1,
|
|
9
|
+
reason: "chart.availability.requiresMeasure"
|
|
10
|
+
} : t < 1 ? {
|
|
11
|
+
available: !1,
|
|
12
|
+
reason: "chart.availability.requiresDimension"
|
|
13
|
+
} : { available: !0 },
|
|
7
14
|
dropZones: [
|
|
8
15
|
{
|
|
9
16
|
key: "xAxis",
|
|
@@ -48,4 +55,4 @@ var t = /* @__PURE__ */ e({ treemapChartConfig: () => n }), n = {
|
|
|
48
55
|
//#endregion
|
|
49
56
|
export { n, t };
|
|
50
57
|
|
|
51
|
-
//# sourceMappingURL=chart-config-tree-map-
|
|
58
|
+
//# sourceMappingURL=chart-config-tree-map-meeJEDi8.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart-config-tree-map-meeJEDi8.js","names":[],"sources":["../../../src/client/components/charts/TreeMapChart.config.ts"],"sourcesContent":["import type { ChartTypeConfig } from '../../charts/chartConfigs'\n\n/**\n * Configuration for the treemap chart type\n */\nexport const treemapChartConfig: ChartTypeConfig = {\n label: 'chart.treemap.label',\n description: 'chart.treemap.description',\n useCase: 'chart.treemap.useCase',\n isAvailable: ({ measureCount, dimensionCount }) => {\n if (measureCount < 1) return { available: false, reason: 'chart.availability.requiresMeasure' }\n if (dimensionCount < 1) return { available: false, reason: 'chart.availability.requiresDimension' }\n return { available: true }\n },\n dropZones: [\n {\n key: 'xAxis',\n label: 'chart.configText.categories',\n description: 'chart.configText.dimensions_for_treemap_rectangles',\n mandatory: true,\n acceptTypes: ['dimension'],\n emptyText: 'chart.treemap.dropZone.xAxis.empty'\n },\n {\n key: 'yAxis',\n label: 'chart.configText.size',\n description: 'chart.configText.measure_for_rectangle_sizes',\n mandatory: true,\n maxItems: 1,\n acceptTypes: ['measure'],\n emptyText: 'chart.treemap.dropZone.yAxis.empty'\n },\n {\n key: 'series',\n label: 'chart.configText.color_groups',\n description: 'chart.configText.dimension_to_color_rectangles_by_category',\n mandatory: false,\n maxItems: 1,\n acceptTypes: ['dimension'],\n emptyText: 'chart.treemap.dropZone.series.empty'\n }\n ],\n displayOptions: ['showLegend', 'showTooltip', 'hideHeader'],\n displayOptionsConfig: [\n {\n key: 'leftYAxisFormat',\n label: 'chart.option.valueFormat.label',\n type: 'axisFormat',\n description: 'chart.configText.number_formatting_for_size_values'\n }\n ],\n clickableElements: { cell: true }\n}"],"mappings":";;4DAKa,IAAsC;CACjD,OAAO;CACP,aAAa;CACb,SAAS;CACT,cAAc,EAAE,iBAAc,wBACxB,IAAe,IAAU;EAAE,WAAW;EAAO,QAAQ;EAAsC,GAC3F,IAAiB,IAAU;EAAE,WAAW;EAAO,QAAQ;EAAwC,GAC5F,EAAE,WAAW,IAAM;CAE5B,WAAW;EACT;GACE,KAAK;GACL,OAAO;GACP,aAAa;GACb,WAAW;GACX,aAAa,CAAC,YAAY;GAC1B,WAAW;GACZ;EACD;GACE,KAAK;GACL,OAAO;GACP,aAAa;GACb,WAAW;GACX,UAAU;GACV,aAAa,CAAC,UAAU;GACxB,WAAW;GACZ;EACD;GACE,KAAK;GACL,OAAO;GACP,aAAa;GACb,WAAW;GACX,UAAU;GACV,aAAa,CAAC,YAAY;GAC1B,WAAW;GACZ;EACF;CACD,gBAAgB;EAAC;EAAc;EAAe;EAAa;CAC3D,sBAAsB,CACpB;EACE,KAAK;EACL,OAAO;EACP,MAAM;EACN,aAAa;EACd,CACF;CACD,mBAAmB,EAAE,MAAM,IAAM"}
|
package/dist/client/chunks/{chart-config-waterfall-BdqG1V-x.js → chart-config-waterfall-CaPeWZMl.js}
RENAMED
|
@@ -5,6 +5,13 @@ var t = /* @__PURE__ */ e({ waterfallChartConfig: () => n }), n = {
|
|
|
5
5
|
description: "chart.waterfall.description",
|
|
6
6
|
useCase: "chart.waterfall.useCase",
|
|
7
7
|
clickableElements: { bar: !0 },
|
|
8
|
+
isAvailable: ({ measureCount: e, dimensionCount: t }) => e < 1 ? {
|
|
9
|
+
available: !1,
|
|
10
|
+
reason: "chart.availability.requiresMeasure"
|
|
11
|
+
} : t < 1 ? {
|
|
12
|
+
available: !1,
|
|
13
|
+
reason: "chart.availability.requiresDimension"
|
|
14
|
+
} : { available: !0 },
|
|
8
15
|
displayOptions: ["showTooltip", "hideHeader"],
|
|
9
16
|
dropZones: [{
|
|
10
17
|
key: "xAxis",
|
|
@@ -56,4 +63,4 @@ var t = /* @__PURE__ */ e({ waterfallChartConfig: () => n }), n = {
|
|
|
56
63
|
//#endregion
|
|
57
64
|
export { n, t };
|
|
58
65
|
|
|
59
|
-
//# sourceMappingURL=chart-config-waterfall-
|
|
66
|
+
//# sourceMappingURL=chart-config-waterfall-CaPeWZMl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart-config-waterfall-CaPeWZMl.js","names":[],"sources":["../../../src/client/components/charts/WaterfallChart.config.ts"],"sourcesContent":["import type { ChartTypeConfig } from '../../charts/chartConfigs'\n\n/**\n * Configuration for the waterfall chart type\n */\nexport const waterfallChartConfig: ChartTypeConfig = {\n label: 'chart.waterfall.label',\n description: 'chart.waterfall.description',\n useCase: 'chart.waterfall.useCase',\n clickableElements: { bar: true },\n isAvailable: ({ measureCount, dimensionCount }) => {\n if (measureCount < 1) return { available: false, reason: 'chart.availability.requiresMeasure' }\n if (dimensionCount < 1) return { available: false, reason: 'chart.availability.requiresDimension' }\n return { available: true }\n },\n displayOptions: ['showTooltip', 'hideHeader'],\n dropZones: [\n {\n key: 'xAxis',\n label: 'chart.dropZone.xAxis.label',\n description: 'chart.configText.dimension_labels_for_each_bar_segment_e_g_symbol_transaction_type',\n mandatory: true,\n maxItems: 1,\n acceptTypes: ['dimension', 'timeDimension'],\n emptyText: 'chart.waterfall.dropZone.xAxis.empty',\n },\n {\n key: 'yAxis',\n label: 'chart.configText.y_axis_value',\n description: 'chart.configText.single_measure_whose_values_are_summed_cumulatively',\n mandatory: true,\n maxItems: 1,\n acceptTypes: ['measure'],\n emptyText: 'chart.waterfall.dropZone.yAxis.empty',\n },\n ],\n displayOptionsConfig: [\n {\n key: 'showTotal',\n label: 'chart.option.showTotal.label',\n type: 'boolean',\n defaultValue: true,\n description: 'chart.option.showTotal.description',\n },\n {\n key: 'showConnectorLine',\n label: 'chart.option.showConnectorLine.label',\n type: 'boolean',\n defaultValue: true,\n description: 'chart.option.showConnectorLine.description',\n },\n {\n key: 'showDataLabels',\n label: 'chart.option.showDataLabels.label',\n type: 'boolean',\n defaultValue: false,\n description: 'chart.configText.display_the_value_above_each_bar_segment',\n },\n {\n key: 'leftYAxisFormat',\n label: 'chart.option.yAxisFormat.label',\n type: 'axisFormat',\n description: 'chart.configText.number_formatting_for_the_y_axis',\n },\n ],\n}\n"],"mappings":";;8DAKa,IAAwC;CACnD,OAAO;CACP,aAAa;CACb,SAAS;CACT,mBAAmB,EAAE,KAAK,IAAM;CAChC,cAAc,EAAE,iBAAc,wBACxB,IAAe,IAAU;EAAE,WAAW;EAAO,QAAQ;EAAsC,GAC3F,IAAiB,IAAU;EAAE,WAAW;EAAO,QAAQ;EAAwC,GAC5F,EAAE,WAAW,IAAM;CAE5B,gBAAgB,CAAC,eAAe,aAAa;CAC7C,WAAW,CACT;EACE,KAAK;EACL,OAAO;EACP,aAAa;EACb,WAAW;EACX,UAAU;EACV,aAAa,CAAC,aAAa,gBAAgB;EAC3C,WAAW;EACZ,EACD;EACE,KAAK;EACL,OAAO;EACP,aAAa;EACb,WAAW;EACX,UAAU;EACV,aAAa,CAAC,UAAU;EACxB,WAAW;EACZ,CACF;CACD,sBAAsB;EACpB;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACF;CACF"}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { i as e, n as t } from "./rolldown-runtime-CCl2IeXn.js";
|
|
2
|
-
import { A as n, F as r, P as i, j as a, k as o, x as s, y as c } from "./chart-activity-grid-
|
|
3
|
-
import { n as l } from "./chart-config-bar-
|
|
4
|
-
import { n as u } from "./chart-config-line-
|
|
5
|
-
import { n as d } from "./chart-config-area-
|
|
6
|
-
import { n as f } from "./chart-config-pie-
|
|
7
|
-
import { n as p } from "./chart-config-scatter-
|
|
8
|
-
import { n as m } from "./chart-config-bubble-
|
|
9
|
-
import { n as h } from "./chart-config-radar-
|
|
10
|
-
import { n as g } from "./chart-config-radial-bar-
|
|
11
|
-
import { n as _ } from "./chart-config-tree-map-
|
|
2
|
+
import { A as n, F as r, P as i, j as a, k as o, x as s, y as c } from "./chart-activity-grid-BnY-jaoa.js";
|
|
3
|
+
import { n as l } from "./chart-config-bar-CUWHwOPN.js";
|
|
4
|
+
import { n as u } from "./chart-config-line-DGYYdDw9.js";
|
|
5
|
+
import { n as d } from "./chart-config-area-40fbx2Ah.js";
|
|
6
|
+
import { n as f } from "./chart-config-pie-kte7OXa9.js";
|
|
7
|
+
import { n as p } from "./chart-config-scatter-BVN_29G5.js";
|
|
8
|
+
import { n as m } from "./chart-config-bubble-BXSTKLn-.js";
|
|
9
|
+
import { n as h } from "./chart-config-radar-C9IxP5tc.js";
|
|
10
|
+
import { n as g } from "./chart-config-radial-bar-C3WJ8Uhm.js";
|
|
11
|
+
import { n as _ } from "./chart-config-tree-map-meeJEDi8.js";
|
|
12
12
|
import { n as v } from "./chart-config-data-table-BQXSn4b_.js";
|
|
13
|
-
import { n as ee } from "./chart-config-activity-grid-
|
|
14
|
-
import { n as y } from "./chart-config-kpi-number-
|
|
15
|
-
import { n as b } from "./chart-config-kpi-delta-
|
|
16
|
-
import { n as te } from "./chart-config-kpi-text-
|
|
13
|
+
import { n as ee } from "./chart-config-activity-grid-Dssynumw.js";
|
|
14
|
+
import { n as y } from "./chart-config-kpi-number-DWKFc9PX.js";
|
|
15
|
+
import { n as b } from "./chart-config-kpi-delta-BfLf3iyi.js";
|
|
16
|
+
import { n as te } from "./chart-config-kpi-text-Dr4OG6cY.js";
|
|
17
17
|
import { n as ne } from "./chart-config-markdown-C-_g_8te.js";
|
|
18
18
|
import { n as re } from "./chart-config-funnel-BzEsHmjR.js";
|
|
19
19
|
import { n as ie } from "./chart-config-sankey-DGAThN9i.js";
|
|
20
20
|
import { n as ae } from "./chart-config-sunburst-utejM2YS.js";
|
|
21
|
-
import { n as oe } from "./chart-config-heat-map-
|
|
22
|
-
import { n as se } from "./chart-config-box-plot-
|
|
23
|
-
import { n as ce } from "./chart-config-waterfall-
|
|
24
|
-
import { n as le } from "./chart-config-candlestick-
|
|
25
|
-
import { n as ue } from "./chart-config-measure-profile-
|
|
26
|
-
import { n as de } from "./chart-config-gauge-
|
|
21
|
+
import { n as oe } from "./chart-config-heat-map-Db4Z8UUn.js";
|
|
22
|
+
import { n as se } from "./chart-config-box-plot-D3Y0ien3.js";
|
|
23
|
+
import { n as ce } from "./chart-config-waterfall-CaPeWZMl.js";
|
|
24
|
+
import { n as le } from "./chart-config-candlestick-DEuD2Av0.js";
|
|
25
|
+
import { n as ue } from "./chart-config-measure-profile-sB3n_Azv.js";
|
|
26
|
+
import { n as de } from "./chart-config-gauge-CCva3FfA.js";
|
|
27
27
|
import * as x from "react";
|
|
28
28
|
import fe, { Suspense as pe, createContext as me, createElement as he, forwardRef as ge, lazy as _e, useCallback as ve, useContext as ye, useEffect as S, useMemo as C, useRef as be, useState as w } from "react";
|
|
29
29
|
import { jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
@@ -436,7 +436,7 @@ var Qe = class {
|
|
|
436
436
|
this.gcTime = Math.max(this.gcTime || 0, e ?? (P.isServer() ? Infinity : 300 * 1e3));
|
|
437
437
|
}
|
|
438
438
|
clearGcTimeout() {
|
|
439
|
-
this.#e
|
|
439
|
+
this.#e !== void 0 && (O.clearTimeout(this.#e), this.#e = void 0);
|
|
440
440
|
}
|
|
441
441
|
}, $e = class extends Qe {
|
|
442
442
|
#e;
|
|
@@ -839,10 +839,10 @@ var rt = class extends D {
|
|
|
839
839
|
this.#g(), this.#v(this.#_());
|
|
840
840
|
}
|
|
841
841
|
#b() {
|
|
842
|
-
this.#d
|
|
842
|
+
this.#d !== void 0 && (O.clearTimeout(this.#d), this.#d = void 0);
|
|
843
843
|
}
|
|
844
844
|
#x() {
|
|
845
|
-
this.#f
|
|
845
|
+
this.#f !== void 0 && (O.clearInterval(this.#f), this.#f = void 0);
|
|
846
846
|
}
|
|
847
847
|
createResult(e, t) {
|
|
848
848
|
let n = this.#t, r = this.options, i = this.#r, a = this.#i, o = this.#a, s = e === n ? this.#n : e.state, { state: c } = e, l = { ...c }, u = !1, d;
|
|
@@ -4134,32 +4134,32 @@ var J = /* @__PURE__ */ new Map(), Y = /* @__PURE__ */ new Set(), Ha = {
|
|
|
4134
4134
|
installCommand: "npm install d3-shape"
|
|
4135
4135
|
}
|
|
4136
4136
|
}, Ua = {
|
|
4137
|
-
bar: () => import("./chart-bar-
|
|
4138
|
-
line: () => import("./chart-line-
|
|
4139
|
-
area: () => import("./chart-area-
|
|
4140
|
-
pie: () => import("./chart-pie-
|
|
4141
|
-
scatter: () => import("./chart-scatter-
|
|
4142
|
-
radar: () => import("./chart-radar-
|
|
4143
|
-
radialBar: () => import("./chart-radial-bar-
|
|
4144
|
-
treemap: () => import("./chart-tree-map-
|
|
4145
|
-
bubble: () => import("./chart-bubble-
|
|
4137
|
+
bar: () => import("./chart-bar-MLIWiLrc.js").then((e) => e.n),
|
|
4138
|
+
line: () => import("./chart-line-C0IHQteu.js").then((e) => e.n),
|
|
4139
|
+
area: () => import("./chart-area-G3OvLLK4.js").then((e) => e.n),
|
|
4140
|
+
pie: () => import("./chart-pie-DSIekr7p.js").then((e) => e.n),
|
|
4141
|
+
scatter: () => import("./chart-scatter-Doeox4OP.js").then((e) => e.n),
|
|
4142
|
+
radar: () => import("./chart-radar-SGl62hK8.js").then((e) => e.n),
|
|
4143
|
+
radialBar: () => import("./chart-radial-bar-C42EykOa.js").then((e) => e.n),
|
|
4144
|
+
treemap: () => import("./chart-tree-map-DvuSCIc8.js").then((e) => e.n),
|
|
4145
|
+
bubble: () => import("./chart-bubble-CAGvnYb1.js").then((e) => e.t),
|
|
4146
4146
|
table: () => Promise.resolve().then(() => Lo),
|
|
4147
|
-
activityGrid: () => import("./chart-activity-grid-
|
|
4148
|
-
kpiNumber: () => import("./KpiNumber-
|
|
4149
|
-
kpiDelta: () => import("./KpiDelta-
|
|
4150
|
-
kpiText: () => import("./KpiText-
|
|
4151
|
-
markdown: () => import("./chart-markdown-
|
|
4152
|
-
funnel: () => import("./chart-funnel-
|
|
4153
|
-
sankey: () => import("./chart-sankey-
|
|
4154
|
-
sunburst: () => import("./chart-sunburst-
|
|
4155
|
-
heatmap: () => import("./chart-heat-map
|
|
4156
|
-
retentionHeatmap: () => import("./RetentionHeatmap-
|
|
4157
|
-
retentionCombined: () => import("./RetentionCombinedChart-
|
|
4158
|
-
boxPlot: () => import("./chart-box-plot-
|
|
4159
|
-
waterfall: () => import("./chart-waterfall-
|
|
4160
|
-
candlestick: () => import("./chart-candlestick-
|
|
4161
|
-
measureProfile: () => import("./chart-measure-profile-
|
|
4162
|
-
gauge: () => import("./chart-gauge-
|
|
4147
|
+
activityGrid: () => import("./chart-activity-grid-BnY-jaoa.js").then((e) => e.t),
|
|
4148
|
+
kpiNumber: () => import("./KpiNumber-Beo8CK0a.js"),
|
|
4149
|
+
kpiDelta: () => import("./KpiDelta-C-hZ1x01.js"),
|
|
4150
|
+
kpiText: () => import("./KpiText-ytYiRTRO.js"),
|
|
4151
|
+
markdown: () => import("./chart-markdown-BmgSMqPg.js").then((e) => e.n),
|
|
4152
|
+
funnel: () => import("./chart-funnel-aQ7G_CqU.js").then((e) => e.n),
|
|
4153
|
+
sankey: () => import("./chart-sankey-DguImp0W.js").then((e) => e.t),
|
|
4154
|
+
sunburst: () => import("./chart-sunburst-F3tgCpL-.js").then((e) => e.t),
|
|
4155
|
+
heatmap: () => import("./chart-heat-map--6QnhUM8.js").then((e) => e.t),
|
|
4156
|
+
retentionHeatmap: () => import("./RetentionHeatmap-DHPnn0qH.js"),
|
|
4157
|
+
retentionCombined: () => import("./RetentionCombinedChart-D3dRmoos.js"),
|
|
4158
|
+
boxPlot: () => import("./chart-box-plot-c2XqKTWq.js").then((e) => e.t),
|
|
4159
|
+
waterfall: () => import("./chart-waterfall-Be5duXlO.js").then((e) => e.t),
|
|
4160
|
+
candlestick: () => import("./chart-candlestick-oSPk-KQp.js").then((e) => e.t),
|
|
4161
|
+
measureProfile: () => import("./chart-measure-profile-DEyLW1fd.js").then((e) => e.t),
|
|
4162
|
+
gauge: () => import("./chart-gauge-DqbDKr9E.js").then((e) => e.t)
|
|
4163
4163
|
}, X = /* @__PURE__ */ new Map();
|
|
4164
4164
|
function Wa(e) {
|
|
4165
4165
|
let t = ({ height: t }) => {
|
|
@@ -4295,32 +4295,32 @@ var io = {
|
|
|
4295
4295
|
"showTooltip"
|
|
4296
4296
|
]
|
|
4297
4297
|
}, ao = {
|
|
4298
|
-
bar: () => import("./chart-config-bar-
|
|
4299
|
-
line: () => import("./chart-config-line-
|
|
4300
|
-
area: () => import("./chart-config-area-
|
|
4301
|
-
pie: () => import("./chart-config-pie-
|
|
4302
|
-
scatter: () => import("./chart-config-scatter-
|
|
4303
|
-
radar: () => import("./chart-config-radar-
|
|
4304
|
-
radialBar: () => import("./chart-config-radial-bar-
|
|
4305
|
-
treemap: () => import("./chart-config-tree-map-
|
|
4306
|
-
bubble: () => import("./chart-config-bubble-
|
|
4298
|
+
bar: () => import("./chart-config-bar-CUWHwOPN.js").then((e) => e.t),
|
|
4299
|
+
line: () => import("./chart-config-line-DGYYdDw9.js").then((e) => e.t),
|
|
4300
|
+
area: () => import("./chart-config-area-40fbx2Ah.js").then((e) => e.t),
|
|
4301
|
+
pie: () => import("./chart-config-pie-kte7OXa9.js").then((e) => e.t),
|
|
4302
|
+
scatter: () => import("./chart-config-scatter-BVN_29G5.js").then((e) => e.t),
|
|
4303
|
+
radar: () => import("./chart-config-radar-C9IxP5tc.js").then((e) => e.t),
|
|
4304
|
+
radialBar: () => import("./chart-config-radial-bar-C3WJ8Uhm.js").then((e) => e.t),
|
|
4305
|
+
treemap: () => import("./chart-config-tree-map-meeJEDi8.js").then((e) => e.t),
|
|
4306
|
+
bubble: () => import("./chart-config-bubble-BXSTKLn-.js").then((e) => e.t),
|
|
4307
4307
|
table: () => import("./chart-config-data-table-BQXSn4b_.js").then((e) => e.t),
|
|
4308
|
-
activityGrid: () => import("./chart-config-activity-grid-
|
|
4309
|
-
kpiNumber: () => import("./chart-config-kpi-number-
|
|
4310
|
-
kpiDelta: () => import("./chart-config-kpi-delta-
|
|
4311
|
-
kpiText: () => import("./chart-config-kpi-text-
|
|
4308
|
+
activityGrid: () => import("./chart-config-activity-grid-Dssynumw.js").then((e) => e.t),
|
|
4309
|
+
kpiNumber: () => import("./chart-config-kpi-number-DWKFc9PX.js").then((e) => e.t),
|
|
4310
|
+
kpiDelta: () => import("./chart-config-kpi-delta-BfLf3iyi.js").then((e) => e.t),
|
|
4311
|
+
kpiText: () => import("./chart-config-kpi-text-Dr4OG6cY.js").then((e) => e.t),
|
|
4312
4312
|
markdown: () => import("./chart-config-markdown-C-_g_8te.js").then((e) => e.t),
|
|
4313
4313
|
funnel: () => import("./chart-config-funnel-BzEsHmjR.js").then((e) => e.t),
|
|
4314
4314
|
sankey: () => import("./chart-config-sankey-DGAThN9i.js").then((e) => e.t),
|
|
4315
4315
|
sunburst: () => import("./chart-config-sunburst-utejM2YS.js").then((e) => e.t),
|
|
4316
|
-
heatmap: () => import("./chart-config-heat-map-
|
|
4316
|
+
heatmap: () => import("./chart-config-heat-map-Db4Z8UUn.js").then((e) => e.t),
|
|
4317
4317
|
retentionHeatmap: () => Promise.resolve().then(() => yo),
|
|
4318
4318
|
retentionCombined: () => Promise.resolve().then(() => xo),
|
|
4319
|
-
boxPlot: () => import("./chart-config-box-plot-
|
|
4320
|
-
waterfall: () => import("./chart-config-waterfall-
|
|
4321
|
-
candlestick: () => import("./chart-config-candlestick-
|
|
4322
|
-
measureProfile: () => import("./chart-config-measure-profile-
|
|
4323
|
-
gauge: () => import("./chart-config-gauge-
|
|
4319
|
+
boxPlot: () => import("./chart-config-box-plot-D3Y0ien3.js").then((e) => e.t),
|
|
4320
|
+
waterfall: () => import("./chart-config-waterfall-CaPeWZMl.js").then((e) => e.t),
|
|
4321
|
+
candlestick: () => import("./chart-config-candlestick-DEuD2Av0.js").then((e) => e.t),
|
|
4322
|
+
measureProfile: () => import("./chart-config-measure-profile-sB3n_Azv.js").then((e) => e.t),
|
|
4323
|
+
gauge: () => import("./chart-config-gauge-CCva3FfA.js").then((e) => e.t)
|
|
4324
4324
|
}, oo = {
|
|
4325
4325
|
bar: "barChartConfig",
|
|
4326
4326
|
line: "lineChartConfig",
|
|
@@ -4905,4 +4905,4 @@ function Uo(e, t) {
|
|
|
4905
4905
|
//#endregion
|
|
4906
4906
|
export { Lt as $, q as A, ci as B, to as C, Qa as D, Za as E, Fa as F, Jt as G, vn as H, Ia as I, Yt as J, $t as K, Pa as L, Ma as M, La as N, za as O, Ra as P, Ft as Q, ka as R, $a as S, Ja as T, pn as U, Cn as V, mn as W, Wt as X, qt as Y, Vt as Z, mo as _, Ue as _t, Ao as a, Ot as at, uo as b, Oo as c, St as ct, xo as d, rt as dt, Pt as et, yo as f, F as ft, lo as g, Ne as gt, co as h, Me as ht, ko as i, Et as it, Na as j, Ba as k, $ as l, yt as lt, so as m, k as mt, Lo as n, Mt as nt, Fo as o, Dt as ot, ho as p, M as pt, Xt as q, Io as r, jt as rt, Do as s, Tt as st, Ro as t, kt as tt, Q as u, mt as ut, fo as v, D as vt, eo as w, Xa as x, po as y, Oa as z };
|
|
4907
4907
|
|
|
4908
|
-
//# sourceMappingURL=chart-data-table-
|
|
4908
|
+
//# sourceMappingURL=chart-data-table-BRXHT2H-.js.map
|