drizzle-cube 0.8.1 → 0.8.2
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/ActivityGridChart.config-Bc7mPqcf.cjs +1 -0
- package/dist/adapters/ActivityGridChart.config-Dd2YDeaM.js +2 -0
- package/dist/adapters/AreaChart.config-BqNusnpg.js +2 -0
- package/dist/adapters/AreaChart.config-dI84V34B.cjs +1 -0
- package/dist/adapters/BarChart.config-B9MQjgLJ.cjs +1 -0
- package/dist/adapters/BarChart.config-Cq_qcxBA.js +2 -0
- package/dist/adapters/BoxPlotChart.config-XmtRN2xq.cjs +1 -0
- package/dist/adapters/BoxPlotChart.config-Zc-JGV-W.js +2 -0
- package/dist/adapters/BubbleChart.config-CU_18uxb.js +2 -0
- package/dist/adapters/BubbleChart.config-CbhOzA6-.cjs +1 -0
- package/dist/adapters/CandlestickChart.config-Bwo3uaa-.js +2 -0
- package/dist/adapters/CandlestickChart.config-CmRBlWFv.cjs +1 -0
- package/dist/adapters/DataTable.config-7JNSj6qQ.js +2 -0
- package/dist/adapters/DataTable.config-DNxm1sYk.cjs +1 -0
- package/dist/adapters/DotStripChart.config-B7Dl-T1h.js +2 -0
- package/dist/adapters/DotStripChart.config-Co4g1fpZ.cjs +1 -0
- package/dist/adapters/FunnelChart.config-D1TpuGtL.cjs +1 -0
- package/dist/adapters/FunnelChart.config-vuZScOHQ.js +2 -0
- package/dist/adapters/GaugeChart.config-BMgUHKhC.cjs +1 -0
- package/dist/adapters/GaugeChart.config-zdpFydo6.js +2 -0
- package/dist/adapters/HeatMapChart.config-4XMab1zq.js +2 -0
- package/dist/adapters/HeatMapChart.config-C-Ns6QBq.cjs +1 -0
- package/dist/adapters/KpiDelta.config-BGdqsHcc.js +2 -0
- package/dist/adapters/KpiDelta.config-DuNxrGIi.cjs +1 -0
- package/dist/adapters/KpiNumber.config-CkPWpcSz.js +2 -0
- package/dist/adapters/KpiNumber.config-DMGmuA3i.cjs +1 -0
- package/dist/adapters/KpiText.config-Bvtuv8vE.js +2 -0
- package/dist/adapters/KpiText.config-DOMLO16U.cjs +1 -0
- package/dist/adapters/LineChart.config-CJmTSmZ1.js +2 -0
- package/dist/adapters/LineChart.config-CrkGu0aa.cjs +1 -0
- package/dist/adapters/MarkdownChart.config-BgY5Xc97.cjs +1 -0
- package/dist/adapters/MarkdownChart.config-Cm6G4Yuh.js +2 -0
- package/dist/adapters/MeasureProfileChart.config-BYwDo_ox.cjs +1 -0
- package/dist/adapters/MeasureProfileChart.config-Dt7npubZ.js +2 -0
- package/dist/adapters/PieChart.config-BRbPctBN.cjs +1 -0
- package/dist/adapters/PieChart.config-HZofeody.js +2 -0
- package/dist/adapters/ProportionBarChart.config-B_rTtGZr.cjs +1 -0
- package/dist/adapters/ProportionBarChart.config-ChCSoM0L.js +2 -0
- package/dist/adapters/RadarChart.config-B9OdMEib.js +2 -0
- package/dist/adapters/RadarChart.config-BOgPD2Kz.cjs +1 -0
- package/dist/adapters/RadialBarChart.config-CeP7jEbq.js +2 -0
- package/dist/adapters/RadialBarChart.config-sivA1Jmo.cjs +1 -0
- package/dist/adapters/RecordsTable.config-BInSgo-G.js +2 -0
- package/dist/adapters/RecordsTable.config-CVmxLdjz.cjs +1 -0
- package/dist/adapters/RetentionCombinedChart.config-8ry7gh6X.cjs +1 -0
- package/dist/adapters/RetentionCombinedChart.config-Bxtxnlcf.js +2 -0
- package/dist/adapters/RetentionHeatmap.config-DCtOD8dO.js +2 -0
- package/dist/adapters/RetentionHeatmap.config-i-LgmmIT.cjs +1 -0
- package/dist/adapters/SankeyChart.config-DfpeHfNT.cjs +1 -0
- package/dist/adapters/SankeyChart.config-hfM0ACm1.js +2 -0
- package/dist/adapters/ScatterChart.config-BD2vfOZ6.js +2 -0
- package/dist/adapters/ScatterChart.config-CdpvRueF.cjs +1 -0
- package/dist/adapters/SunburstChart.config-Boyt88L_.cjs +1 -0
- package/dist/adapters/SunburstChart.config-BvrofzMv.js +2 -0
- package/dist/adapters/TreeMapChart.config-DBrqwtqT.js +2 -0
- package/dist/adapters/TreeMapChart.config-KcRLlZAG.cjs +1 -0
- package/dist/adapters/WaterfallChart.config-CuCGaIl5.cjs +1 -0
- package/dist/adapters/{TreeMapChart.config-BJ8HnZU0.cjs → WaterfallChart.config-DZ8H0V2L.js} +2 -1
- package/dist/adapters/{compiler-CBGD_4Et.js → compiler-BFLAXV7W.js} +1 -1
- package/dist/adapters/{compiler-BxZHh0UD.cjs → compiler-DG6dLFQU.cjs} +1 -1
- package/dist/adapters/core/index.cjs +1 -1
- package/dist/adapters/core/index.js +1 -1
- package/dist/adapters/{core-CIGuwGuI.cjs → core-CrJu6vJY.cjs} +1 -1
- package/dist/adapters/{core-DAAnqPyN.js → core-l3KMTu9u.js} +2 -2
- package/dist/adapters/express/index.cjs +1 -1
- package/dist/adapters/express/index.js +5 -5
- package/dist/adapters/fastify/index.cjs +1 -1
- package/dist/adapters/fastify/index.js +5 -5
- package/dist/adapters/{handler-BcYTw6zB.cjs → handler-CRGZ8gd2.cjs} +9 -9
- package/dist/adapters/{handler-eA0VJDHj.js → handler-DESp4wPg.js} +215 -95
- package/dist/adapters/hono/index.cjs +1 -1
- package/dist/adapters/hono/index.js +4 -4
- package/dist/adapters/mcp-tools.cjs +1 -1
- package/dist/adapters/mcp-tools.js +2 -2
- package/dist/adapters/mcp-transport-BqdBHmXL.js +730 -0
- package/dist/adapters/mcp-transport-D8xZJLPD.cjs +42 -0
- package/dist/adapters/nextjs/index.cjs +1 -1
- package/dist/adapters/nextjs/index.js +5 -5
- package/dist/adapters/{openai-CYYjUG_3.js → openai-BJyU4kvE.js} +1 -1
- package/dist/adapters/{openai-Bw1j-OiP.cjs → openai-DH9MtcLA.cjs} +1 -1
- package/dist/adapters/{openai-BZ48ioYp.js → openai-DK_KWiI7.js} +1 -1
- package/dist/adapters/{openai-CLjyL5_J.cjs → openai-GO3M7Hwi.cjs} +1 -1
- package/dist/adapters/{utils-BagURNRb.js → utils-BhlkVCzZ.js} +38 -0
- package/dist/adapters/utils-C1JpSDOX.cjs +128 -0
- package/dist/adapters/utils.cjs +1 -1
- package/dist/adapters/utils.js +1 -1
- package/dist/cjs/client/components/charts/DotStripChart.config.d.ts +15 -0
- package/dist/cjs/client/components/charts/DotStripChart.d.ts +4 -0
- package/dist/cjs/client/components/charts/DotStripChart.helpers.d.ts +91 -0
- package/dist/cjs/client/icons/types.d.ts +1 -0
- package/dist/cjs/client/types.d.ts +6 -1
- package/dist/cli/index.cjs +4 -0
- package/dist/client/charts.js +12 -12
- package/dist/client/chunks/{DashboardEditModal-_ZDMwaGX.js → DashboardEditModal-BliiIHcI.js} +12 -12
- package/dist/client/chunks/DashboardEditModal-BliiIHcI.js.map +1 -0
- package/dist/client/chunks/DotStripChart-ChwsVeRU.js +408 -0
- package/dist/client/chunks/DotStripChart-ChwsVeRU.js.map +1 -0
- package/dist/client/chunks/{ProportionBarChart-qfpAWhIg.js → ProportionBarChart-D-Qt9nkF.js} +3 -3
- package/dist/client/chunks/{ProportionBarChart-qfpAWhIg.js.map → ProportionBarChart-D-Qt9nkF.js.map} +1 -1
- package/dist/client/chunks/{RecordsTable-KmJy94xN.js → RecordsTable-aG-QYXOH.js} +4 -4
- package/dist/client/chunks/{RecordsTable-KmJy94xN.js.map → RecordsTable-aG-QYXOH.js.map} +1 -1
- package/dist/client/chunks/{RetentionCombinedChart-C7X6aj97.js → RetentionCombinedChart-BRZ9w7ah.js} +3 -3
- package/dist/client/chunks/{RetentionCombinedChart-C7X6aj97.js.map → RetentionCombinedChart-BRZ9w7ah.js.map} +1 -1
- package/dist/client/chunks/{RetentionHeatmap-PpRpiqR_.js → RetentionHeatmap-LkTt89pK.js} +2 -2
- package/dist/client/chunks/{RetentionHeatmap-PpRpiqR_.js.map → RetentionHeatmap-LkTt89pK.js.map} +1 -1
- package/dist/client/chunks/{analysis-builder-DaqyOjLX.js → analysis-builder-C0gJ3kDD.js} +9 -9
- package/dist/client/chunks/{analysis-builder-DaqyOjLX.js.map → analysis-builder-C0gJ3kDD.js.map} +1 -1
- package/dist/client/chunks/{analysis-builder-shared-ow9KAHDP.js → analysis-builder-shared-dqcpl_WL.js} +9 -9
- package/dist/client/chunks/{analysis-builder-shared-ow9KAHDP.js.map → analysis-builder-shared-dqcpl_WL.js.map} +1 -1
- package/dist/client/chunks/{chart-activity-grid-DO82rrbW.js → chart-activity-grid-CJzxC18G.js} +40 -2
- package/dist/client/chunks/chart-activity-grid-CJzxC18G.js.map +1 -0
- package/dist/client/chunks/{chart-area-9SBeG0GM.js → chart-area-C66dgy84.js} +2 -2
- package/dist/client/chunks/{chart-area-9SBeG0GM.js.map → chart-area-C66dgy84.js.map} +1 -1
- package/dist/client/chunks/{chart-bar-tfgmLK2D.js → chart-bar-D9kiSOCT.js} +3 -3
- package/dist/client/chunks/{chart-bar-tfgmLK2D.js.map → chart-bar-D9kiSOCT.js.map} +1 -1
- package/dist/client/chunks/{chart-box-plot-BuYW6j6g.js → chart-box-plot-FsLIMisc.js} +2 -2
- package/dist/client/chunks/{chart-box-plot-BuYW6j6g.js.map → chart-box-plot-FsLIMisc.js.map} +1 -1
- package/dist/client/chunks/{chart-bubble-BNmonWqW.js → chart-bubble-BzyvrqKs.js} +2 -2
- package/dist/client/chunks/{chart-bubble-BNmonWqW.js.map → chart-bubble-BzyvrqKs.js.map} +1 -1
- package/dist/client/chunks/{chart-candlestick-BYeWNkKl.js → chart-candlestick-6lD35bLw.js} +2 -2
- package/dist/client/chunks/{chart-candlestick-BYeWNkKl.js.map → chart-candlestick-6lD35bLw.js.map} +1 -1
- package/dist/client/chunks/{chart-data-table-C_oHiK6N.js → chart-data-table-Cou9qOab.js} +248 -120
- package/dist/client/chunks/chart-data-table-Cou9qOab.js.map +1 -0
- package/dist/client/chunks/{chart-funnel-B_CWC3cL.js → chart-funnel-B0775aaT.js} +2 -2
- package/dist/client/chunks/{chart-funnel-B_CWC3cL.js.map → chart-funnel-B0775aaT.js.map} +1 -1
- package/dist/client/chunks/{chart-gauge-D7VxwPnx.js → chart-gauge-pf-2E8w9.js} +3 -3
- package/dist/client/chunks/{chart-gauge-D7VxwPnx.js.map → chart-gauge-pf-2E8w9.js.map} +1 -1
- package/dist/client/chunks/{chart-heat-map-q7Vf_dog.js → chart-heat-map-EzVGe6fl.js} +3 -3
- package/dist/client/chunks/{chart-heat-map-q7Vf_dog.js.map → chart-heat-map-EzVGe6fl.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-delta-PEuA3iGs.js → chart-kpi-delta-lfskDdx4.js} +3 -3
- package/dist/client/chunks/{chart-kpi-delta-PEuA3iGs.js.map → chart-kpi-delta-lfskDdx4.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-number-DlxrO6Pq.js → chart-kpi-number-BnsofbTf.js} +5 -5
- package/dist/client/chunks/{chart-kpi-number-DlxrO6Pq.js.map → chart-kpi-number-BnsofbTf.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-text-Cx6cJu2s.js → chart-kpi-text-U5EdmdkV.js} +3 -3
- package/dist/client/chunks/{chart-kpi-text-Cx6cJu2s.js.map → chart-kpi-text-U5EdmdkV.js.map} +1 -1
- package/dist/client/chunks/{chart-line-pDe25JzB.js → chart-line-IwXqPY80.js} +3 -3
- package/dist/client/chunks/{chart-line-pDe25JzB.js.map → chart-line-IwXqPY80.js.map} +1 -1
- package/dist/client/chunks/{chart-markdown-CRY15yp0.js → chart-markdown-yxN_xBP9.js} +2 -2
- package/dist/client/chunks/{chart-markdown-CRY15yp0.js.map → chart-markdown-yxN_xBP9.js.map} +1 -1
- package/dist/client/chunks/{chart-measure-profile-DyQ-vvuC.js → chart-measure-profile-Bs4vhBJQ.js} +3 -3
- package/dist/client/chunks/{chart-measure-profile-DyQ-vvuC.js.map → chart-measure-profile-Bs4vhBJQ.js.map} +1 -1
- package/dist/client/chunks/{chart-pie-ZrnBycy1.js → chart-pie-LDJfDXfX.js} +3 -3
- package/dist/client/chunks/{chart-pie-ZrnBycy1.js.map → chart-pie-LDJfDXfX.js.map} +1 -1
- package/dist/client/chunks/{chart-radar-BXbnYMUJ.js → chart-radar-BZY6TP9m.js} +3 -3
- package/dist/client/chunks/{chart-radar-BXbnYMUJ.js.map → chart-radar-BZY6TP9m.js.map} +1 -1
- package/dist/client/chunks/{chart-radial-bar-CYxH3ryh.js → chart-radial-bar-aga05X7h.js} +3 -3
- package/dist/client/chunks/{chart-radial-bar-CYxH3ryh.js.map → chart-radial-bar-aga05X7h.js.map} +1 -1
- package/dist/client/chunks/{chart-sankey-C9R_TDDh.js → chart-sankey-MRCoWFd4.js} +2 -2
- package/dist/client/chunks/{chart-sankey-C9R_TDDh.js.map → chart-sankey-MRCoWFd4.js.map} +1 -1
- package/dist/client/chunks/{chart-scatter-DrwRkzzl.js → chart-scatter-DP-nn9hH.js} +3 -3
- package/dist/client/chunks/{chart-scatter-DrwRkzzl.js.map → chart-scatter-DP-nn9hH.js.map} +1 -1
- package/dist/client/chunks/{chart-sunburst-Bs1yqIPp.js → chart-sunburst-DE4EX7zi.js} +3 -3
- package/dist/client/chunks/{chart-sunburst-Bs1yqIPp.js.map → chart-sunburst-DE4EX7zi.js.map} +1 -1
- package/dist/client/chunks/{chart-tree-map-BNjHhhVq.js → chart-tree-map-C3O6uQcP.js} +3 -3
- package/dist/client/chunks/{chart-tree-map-BNjHhhVq.js.map → chart-tree-map-C3O6uQcP.js.map} +1 -1
- package/dist/client/chunks/{chart-waterfall-CyoC0uLT.js → chart-waterfall-DU2Fg_7P.js} +3 -3
- package/dist/client/chunks/{chart-waterfall-CyoC0uLT.js.map → chart-waterfall-DU2Fg_7P.js.map} +1 -1
- package/dist/client/chunks/{charts-core-DCQ7od_L.js → charts-core-DnirPG1F.js} +2 -2
- package/dist/client/chunks/{charts-core-DCQ7od_L.js.map → charts-core-DnirPG1F.js.map} +1 -1
- package/dist/client/chunks/charts-loader-tCSbqT7H.js +87 -0
- package/dist/client/chunks/charts-loader-tCSbqT7H.js.map +1 -0
- package/dist/client/chunks/{nl-NL-CEdoCz6Q.js → nl-NL-B9VnaVAm.js} +39 -1
- package/dist/client/chunks/nl-NL-B9VnaVAm.js.map +1 -0
- package/dist/client/chunks/{schema-visualization-DfXxFBIY.js → schema-visualization-o1zzuMQy.js} +3 -3
- package/dist/client/chunks/{schema-visualization-DfXxFBIY.js.map → schema-visualization-o1zzuMQy.js.map} +1 -1
- package/dist/client/chunks/{useDirtyStateTracking-BFJHiiVK.js → useDirtyStateTracking-DTYbmRBn.js} +4 -4
- package/dist/client/chunks/{useDirtyStateTracking-BFJHiiVK.js.map → useDirtyStateTracking-DTYbmRBn.js.map} +1 -1
- package/dist/client/chunks/{useExplainAI-_C4WQE5I.js → useExplainAI-MuC9jBn-.js} +4 -4
- package/dist/client/chunks/{useExplainAI-_C4WQE5I.js.map → useExplainAI-MuC9jBn-.js.map} +1 -1
- package/dist/client/chunks/{vendor-Gb3lH0cc.js → vendor-XQT9APIq.js} +2 -2
- package/dist/client/chunks/{vendor-Gb3lH0cc.js.map → vendor-XQT9APIq.js.map} +1 -1
- package/dist/client/components/charts/DotStripChart.config.d.ts +15 -0
- package/dist/client/components/charts/DotStripChart.d.ts +4 -0
- package/dist/client/components/charts/DotStripChart.helpers.d.ts +91 -0
- package/dist/client/components.js +1 -1
- package/dist/client/hooks.js +3 -3
- package/dist/client/icons/types.d.ts +1 -0
- package/dist/client/icons.js +1 -1
- package/dist/client/index.js +13 -13
- package/dist/client/providers.js +1 -1
- package/dist/client/schema.js +1 -1
- package/dist/client/styles.css +1 -1
- package/dist/client/types.d.ts +6 -1
- package/dist/client/utils.js +4 -4
- package/dist/client-bundle-stats.html +1 -1
- package/dist/mcp-app/mcp-app.html +99 -99
- package/dist/server/index.cjs +29 -29
- package/dist/server/index.js +312 -154
- package/package.json +1 -1
- package/dist/adapters/ActivityGridChart.config-DXUUgx0N.cjs +0 -1
- package/dist/adapters/ActivityGridChart.config-Dyozu3VW.js +0 -2
- package/dist/adapters/AreaChart.config-Di5odBXp.cjs +0 -1
- package/dist/adapters/AreaChart.config-KEaXP_4K.js +0 -2
- package/dist/adapters/BarChart.config-B-hBHykR.cjs +0 -1
- package/dist/adapters/BarChart.config-C5sqbn0A.js +0 -2
- package/dist/adapters/BoxPlotChart.config-B1R4Br7L.js +0 -2
- package/dist/adapters/BoxPlotChart.config-C82Fhd3c.cjs +0 -1
- package/dist/adapters/BubbleChart.config-CoBxmmfp.js +0 -2
- package/dist/adapters/BubbleChart.config-DfOnNjL-.cjs +0 -1
- package/dist/adapters/CandlestickChart.config-C5ggV_3j.cjs +0 -1
- package/dist/adapters/CandlestickChart.config-ZaJpWVuL.js +0 -2
- package/dist/adapters/DataTable.config-Cx2_ACdY.cjs +0 -1
- package/dist/adapters/DataTable.config-DkAgD-iz.js +0 -2
- package/dist/adapters/FunnelChart.config-CvzcECUB.js +0 -2
- package/dist/adapters/FunnelChart.config-DVH7IFnb.cjs +0 -1
- package/dist/adapters/GaugeChart.config-Csx8rt8o.cjs +0 -1
- package/dist/adapters/GaugeChart.config-DEmrNgMa.js +0 -2
- package/dist/adapters/HeatMapChart.config-BfD_dpP7.js +0 -2
- package/dist/adapters/HeatMapChart.config-D_jlyPJL.cjs +0 -1
- package/dist/adapters/KpiDelta.config-CVBdUL_n.cjs +0 -1
- package/dist/adapters/KpiDelta.config-D4dCXOxl.js +0 -2
- package/dist/adapters/KpiNumber.config-BK5pgIKz.cjs +0 -1
- package/dist/adapters/KpiNumber.config-D6XqjZrm.js +0 -2
- package/dist/adapters/KpiText.config-ChphMwG5.js +0 -2
- package/dist/adapters/KpiText.config-fO1wc6FH.cjs +0 -1
- package/dist/adapters/LineChart.config-CXJrgz1s.js +0 -2
- package/dist/adapters/LineChart.config-Cg_h-SiJ.cjs +0 -1
- package/dist/adapters/MarkdownChart.config-ByPjX-4O.cjs +0 -1
- package/dist/adapters/MarkdownChart.config-Df2yY9AT.js +0 -2
- package/dist/adapters/MeasureProfileChart.config-BBWGIteF.cjs +0 -1
- package/dist/adapters/MeasureProfileChart.config-C9OFbN9Z.js +0 -2
- package/dist/adapters/PieChart.config-C6jJj6xm.js +0 -2
- package/dist/adapters/PieChart.config-CmCw_8eN.cjs +0 -1
- package/dist/adapters/ProportionBarChart.config-B9NEyFEe.js +0 -2
- package/dist/adapters/ProportionBarChart.config-C3GAVPWn.cjs +0 -1
- package/dist/adapters/RadarChart.config-5AMwEqUJ.cjs +0 -1
- package/dist/adapters/RadarChart.config-Ct_b7IM5.js +0 -2
- package/dist/adapters/RadialBarChart.config-Bp-Sl0cm.js +0 -2
- package/dist/adapters/RadialBarChart.config-D14yoexI.cjs +0 -1
- package/dist/adapters/RecordsTable.config-D2-qmG06.cjs +0 -1
- package/dist/adapters/RecordsTable.config-DIwoqZCU.js +0 -2
- package/dist/adapters/RetentionCombinedChart.config-BWHipi5M.cjs +0 -1
- package/dist/adapters/RetentionCombinedChart.config-D40UgTcl.js +0 -2
- package/dist/adapters/RetentionHeatmap.config-GlnSLrjn.js +0 -2
- package/dist/adapters/RetentionHeatmap.config-MlhZf26c.cjs +0 -1
- package/dist/adapters/SankeyChart.config-Bf1_NHiv.js +0 -2
- package/dist/adapters/SankeyChart.config-BoYf6BFE.cjs +0 -1
- package/dist/adapters/ScatterChart.config-CV2rdGJp.js +0 -2
- package/dist/adapters/ScatterChart.config-DywduGF3.cjs +0 -1
- package/dist/adapters/SunburstChart.config-CrqiE1UZ.js +0 -2
- package/dist/adapters/SunburstChart.config-D5tbF_GJ.cjs +0 -1
- package/dist/adapters/TreeMapChart.config-DxgIqIIj.js +0 -2
- package/dist/adapters/WaterfallChart.config-Cns8fLFu.js +0 -2
- package/dist/adapters/WaterfallChart.config-D_kdL9SN.cjs +0 -1
- package/dist/adapters/mcp-transport-BpG44Fvn.js +0 -730
- package/dist/adapters/mcp-transport-CDxZXpc-.cjs +0 -42
- package/dist/adapters/utils-BiKIg2tk.cjs +0 -128
- package/dist/client/chunks/DashboardEditModal-_ZDMwaGX.js.map +0 -1
- package/dist/client/chunks/chart-activity-grid-DO82rrbW.js.map +0 -1
- package/dist/client/chunks/chart-data-table-C_oHiK6N.js.map +0 -1
- package/dist/client/chunks/charts-loader-Bya_zDIA.js +0 -86
- package/dist/client/chunks/charts-loader-Bya_zDIA.js.map +0 -1
- package/dist/client/chunks/nl-NL-CEdoCz6Q.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as e, n as t } from "./rolldown-runtime-DArdT4gl.js";
|
|
2
2
|
import { n, o as r, s as i } from "./chart-config-area-DsrZCIwF.js";
|
|
3
|
-
import { B as a, E as o, F as s, I as c, L as l, w as u, z as d } from "./chart-activity-grid-
|
|
3
|
+
import { B as a, E as o, F as s, I as c, L as l, w as u, z as d } from "./chart-activity-grid-CJzxC18G.js";
|
|
4
4
|
import { n as f } from "./chart-config-bar-BixSs43E.js";
|
|
5
5
|
import { n as p } from "./chart-config-line-CBF9Px9b.js";
|
|
6
6
|
import { n as m } from "./chart-config-pie-DZLa6Eqm.js";
|
|
@@ -169,7 +169,7 @@ var Ce = {
|
|
|
169
169
|
icon: "chartRecordsTable",
|
|
170
170
|
description: "chart.recordsTable.description",
|
|
171
171
|
useCase: "chart.recordsTable.useCase",
|
|
172
|
-
config: async () => (await Promise.resolve().then(() =>
|
|
172
|
+
config: async () => (await Promise.resolve().then(() => ho)).recordsTableConfig
|
|
173
173
|
},
|
|
174
174
|
activityGrid: {
|
|
175
175
|
label: "chart.activityGrid.label",
|
|
@@ -263,14 +263,14 @@ var Ce = {
|
|
|
263
263
|
icon: "chartRetention",
|
|
264
264
|
description: "chart.retentionHeatmap.description",
|
|
265
265
|
useCase: "chart.retentionHeatmap.useCase",
|
|
266
|
-
config: async () => (await Promise.resolve().then(() =>
|
|
266
|
+
config: async () => (await Promise.resolve().then(() => _o)).retentionHeatmapConfig
|
|
267
267
|
},
|
|
268
268
|
retentionCombined: {
|
|
269
269
|
label: "chart.retentionCombined.label",
|
|
270
270
|
icon: "chartRetention",
|
|
271
271
|
description: "chart.retentionCombined.description",
|
|
272
272
|
useCase: "chart.retentionCombined.useCase",
|
|
273
|
-
config: async () => (await Promise.resolve().then(() =>
|
|
273
|
+
config: async () => (await Promise.resolve().then(() => yo)).retentionCombinedConfig
|
|
274
274
|
},
|
|
275
275
|
boxPlot: {
|
|
276
276
|
label: "chart.boxPlot.label",
|
|
@@ -280,6 +280,14 @@ var Ce = {
|
|
|
280
280
|
isAvailable: i,
|
|
281
281
|
config: async () => (await import("./chart-config-box-plot-DMuJZqkr.js").then((e) => e.t)).boxPlotChartConfig
|
|
282
282
|
},
|
|
283
|
+
dotStrip: {
|
|
284
|
+
label: "chart.dotStrip.label",
|
|
285
|
+
icon: "chartDotStrip",
|
|
286
|
+
description: "chart.dotStrip.description",
|
|
287
|
+
useCase: "chart.dotStrip.useCase",
|
|
288
|
+
isAvailable: i,
|
|
289
|
+
config: async () => (await Promise.resolve().then(() => xo)).dotStripChartConfig
|
|
290
|
+
},
|
|
283
291
|
waterfall: {
|
|
284
292
|
label: "chart.waterfall.label",
|
|
285
293
|
icon: "chartWaterfall",
|
|
@@ -321,7 +329,7 @@ var Ce = {
|
|
|
321
329
|
description: "chart.proportionBar.description",
|
|
322
330
|
useCase: "chart.proportionBar.useCase",
|
|
323
331
|
isAvailable: i,
|
|
324
|
-
config: async () => (await Promise.resolve().then(() =>
|
|
332
|
+
config: async () => (await Promise.resolve().then(() => Co)).proportionBarChartConfig
|
|
325
333
|
},
|
|
326
334
|
gauge: {
|
|
327
335
|
label: "chart.gauge.label",
|
|
@@ -3835,72 +3843,76 @@ var Ei = {
|
|
|
3835
3843
|
}, ja = {
|
|
3836
3844
|
width: 24,
|
|
3837
3845
|
height: 24,
|
|
3838
|
-
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3
|
|
3846
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 7a2 2 0 1 0 4 0a2 2 0 1 0-4 0m11 8a2 2 0 1 0 4 0a2 2 0 1 0-4 0m1-9a3 3 0 1 0 6 0a3 3 0 1 0-6 0M3 18a3 3 0 1 0 6 0a3 3 0 1 0-6 0m6-1l5-1.5m-7.5-7l7.81 5.37M7 7l8-1\"/>"
|
|
3839
3847
|
}, Ma = {
|
|
3840
3848
|
width: 24,
|
|
3841
3849
|
height: 24,
|
|
3842
|
-
body: "<
|
|
3850
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 16a3 3 0 1 0 6 0a3 3 0 1 0-6 0m11 3a2 2 0 1 0 4 0a2 2 0 1 0-4 0M10 7.5a4.5 4.5 0 1 0 9 0a4.5 4.5 0 1 0-9 0\"/>"
|
|
3843
3851
|
}, Na = {
|
|
3844
3852
|
width: 24,
|
|
3845
3853
|
height: 24,
|
|
3846
|
-
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"
|
|
3854
|
+
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"m12 3l9.5 7L18 21H6L2.5 10z\"/><path d=\"m12 7.5l5.5 4L15 17H8.5l-2-5.5z\"/><path d=\"m2.5 10l9.5 3l9.5-3\"/><path d=\"M12 3v10l6 8M6 21l6-8\"/></g>"
|
|
3847
3855
|
}, Pa = {
|
|
3848
3856
|
width: 24,
|
|
3849
3857
|
height: 24,
|
|
3850
|
-
body: "<
|
|
3858
|
+
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M11 12a1 1 0 1 0 2 0a1 1 0 1 0-2 0\"/><path d=\"M15.51 15.56A5 5 0 1 0 12 17\"/><path d=\"M18.832 17.86A9 9 0 1 0 12 21m0-9v9\"/></g>"
|
|
3851
3859
|
}, Fa = {
|
|
3852
3860
|
width: 24,
|
|
3853
3861
|
height: 24,
|
|
3854
|
-
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"
|
|
3862
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zm8-2v16m-8-5h8m0-3h8m-4 0v8m0-4h4\"/>"
|
|
3855
3863
|
}, Ia = {
|
|
3856
3864
|
width: 24,
|
|
3857
3865
|
height: 24,
|
|
3858
|
-
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"
|
|
3866
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13 5h8m-8 4h5m-5 6h8m-8 4h5M3 5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm0 10a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1z\"/>"
|
|
3859
3867
|
}, La = {
|
|
3868
|
+
width: 24,
|
|
3869
|
+
height: 24,
|
|
3870
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 4h16M4 20h16M6 11a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2z\"/>"
|
|
3871
|
+
}, Ra = {
|
|
3860
3872
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"3\" y=\"4\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <rect x=\"16\" y=\"4\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <rect x=\"16\" y=\"10.5\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <rect x=\"16\" y=\"17\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <path d=\"M8 5.5 C11 5.5, 13 5.5, 16 5.5\"/>\n <path d=\"M8 5.5 C10 5.5, 11 7, 12 9 C13 11, 14 12, 16 12\"/>\n <path d=\"M8 5.5 C10 5.5, 11 10, 12 14 C13 17, 14 18.5, 16 18.5\"/>\n </g>",
|
|
3861
3873
|
width: 24,
|
|
3862
3874
|
height: 24
|
|
3863
|
-
},
|
|
3875
|
+
}, za = {
|
|
3864
3876
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"2\" y=\"3\" width=\"20\" height=\"4\" rx=\"1\"/>\n <rect x=\"4\" y=\"10\" width=\"16\" height=\"4\" rx=\"1\"/>\n <rect x=\"6\" y=\"17\" width=\"12\" height=\"4\" rx=\"1\"/>\n </g>",
|
|
3865
3877
|
width: 24,
|
|
3866
3878
|
height: 24
|
|
3867
|
-
},
|
|
3879
|
+
}, Ba = {
|
|
3868
3880
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <!-- Grid cells representing retention matrix -->\n <rect x=\"3\" y=\"3\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"10\" y=\"3\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"17\" y=\"3\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"3\" y=\"10\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"10\" y=\"10\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"17\" y=\"10\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"3\" y=\"17\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"10\" y=\"17\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"17\" y=\"17\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n </g>",
|
|
3869
3881
|
width: 24,
|
|
3870
3882
|
height: 24
|
|
3871
|
-
},
|
|
3883
|
+
}, Va = {
|
|
3872
3884
|
width: 24,
|
|
3873
3885
|
height: 24,
|
|
3874
3886
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M8.848 14.667L5.5 17.5M12 3v5m4 4h5M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0m11.219 3.328L17 19.5\"/><path d=\"M8 12a4 4 0 1 0 8 0a4 4 0 1 0-8 0\"/></g>"
|
|
3875
|
-
},
|
|
3887
|
+
}, Ha = {
|
|
3876
3888
|
width: 24,
|
|
3877
3889
|
height: 24,
|
|
3878
3890
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2zm0 5h18M10 3v18\"/>"
|
|
3879
|
-
},
|
|
3891
|
+
}, Ua = {
|
|
3880
3892
|
width: 24,
|
|
3881
3893
|
height: 24,
|
|
3882
3894
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M11.795 21H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4m-1 3v4h4\"/><path d=\"M14 18a4 4 0 1 0 8 0a4 4 0 1 0-8 0m1-15v4M7 3v4m-4 4h16\"/></g>"
|
|
3883
|
-
},
|
|
3895
|
+
}, Wa = {
|
|
3884
3896
|
width: 24,
|
|
3885
3897
|
height: 24,
|
|
3886
3898
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 17V7l7 10V7m4 10h5m-5-7a2.5 3 0 1 0 5 0a2.5 3 0 1 0-5 0\"/>"
|
|
3887
|
-
},
|
|
3899
|
+
}, Ga = {
|
|
3888
3900
|
width: 24,
|
|
3889
3901
|
height: 24,
|
|
3890
3902
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"m3 17l6-6l4 4l8-8\"/><path d=\"M14 7h7v7\"/></g>"
|
|
3891
|
-
},
|
|
3903
|
+
}, Ka = {
|
|
3892
3904
|
width: 24,
|
|
3893
3905
|
height: 24,
|
|
3894
3906
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 20h3m7 0h7M6.9 15h6.9m-3.6-8.7L16 20M5 20l6-16h2l7 16\"/>"
|
|
3895
|
-
},
|
|
3907
|
+
}, qa = {
|
|
3896
3908
|
width: 24,
|
|
3897
3909
|
height: 24,
|
|
3898
3910
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M14 3v4a1 1 0 0 0 1 1h4\"/><path d=\"M17 21H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7l5 5v11a2 2 0 0 1-2 2M9 9h1m-1 4h6m-6 4h6\"/></g>"
|
|
3899
|
-
},
|
|
3911
|
+
}, Ja = {
|
|
3900
3912
|
width: 24,
|
|
3901
3913
|
height: 24,
|
|
3902
3914
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 12a9 9 0 1 0 18 0a9 9 0 0 0-18 0m9-3h.01\"/><path d=\"M11 12h1v4h1\"/></g>"
|
|
3903
|
-
},
|
|
3915
|
+
}, Ya = {
|
|
3904
3916
|
close: {
|
|
3905
3917
|
icon: Ei,
|
|
3906
3918
|
category: "action"
|
|
@@ -4086,59 +4098,59 @@ var Ei = {
|
|
|
4086
4098
|
category: "chart"
|
|
4087
4099
|
},
|
|
4088
4100
|
chartBubble: {
|
|
4089
|
-
icon:
|
|
4101
|
+
icon: Ma,
|
|
4090
4102
|
category: "chart"
|
|
4091
4103
|
},
|
|
4092
4104
|
chartRadar: {
|
|
4093
|
-
icon:
|
|
4105
|
+
icon: Na,
|
|
4094
4106
|
category: "chart"
|
|
4095
4107
|
},
|
|
4096
4108
|
chartRadialBar: {
|
|
4097
|
-
icon:
|
|
4109
|
+
icon: Pa,
|
|
4098
4110
|
category: "chart"
|
|
4099
4111
|
},
|
|
4100
4112
|
chartTreemap: {
|
|
4101
|
-
icon:
|
|
4113
|
+
icon: Fa,
|
|
4102
4114
|
category: "chart"
|
|
4103
4115
|
},
|
|
4104
4116
|
chartTable: {
|
|
4105
|
-
icon:
|
|
4117
|
+
icon: Ha,
|
|
4106
4118
|
category: "chart"
|
|
4107
4119
|
},
|
|
4108
4120
|
chartRecordsTable: {
|
|
4109
|
-
icon:
|
|
4121
|
+
icon: Ia,
|
|
4110
4122
|
category: "chart"
|
|
4111
4123
|
},
|
|
4112
4124
|
chartActivityGrid: {
|
|
4113
|
-
icon:
|
|
4125
|
+
icon: Ua,
|
|
4114
4126
|
category: "chart"
|
|
4115
4127
|
},
|
|
4116
4128
|
chartKpiNumber: {
|
|
4117
|
-
icon:
|
|
4129
|
+
icon: Wa,
|
|
4118
4130
|
category: "chart"
|
|
4119
4131
|
},
|
|
4120
4132
|
chartKpiDelta: {
|
|
4121
|
-
icon:
|
|
4133
|
+
icon: Ga,
|
|
4122
4134
|
category: "chart"
|
|
4123
4135
|
},
|
|
4124
4136
|
chartKpiText: {
|
|
4125
|
-
icon:
|
|
4137
|
+
icon: Ka,
|
|
4126
4138
|
category: "chart"
|
|
4127
4139
|
},
|
|
4128
4140
|
chartMarkdown: {
|
|
4129
|
-
icon:
|
|
4141
|
+
icon: qa,
|
|
4130
4142
|
category: "chart"
|
|
4131
4143
|
},
|
|
4132
4144
|
chartFunnel: {
|
|
4133
|
-
icon:
|
|
4145
|
+
icon: za,
|
|
4134
4146
|
category: "chart"
|
|
4135
4147
|
},
|
|
4136
4148
|
chartSankey: {
|
|
4137
|
-
icon:
|
|
4149
|
+
icon: Ra,
|
|
4138
4150
|
category: "chart"
|
|
4139
4151
|
},
|
|
4140
4152
|
chartSunburst: {
|
|
4141
|
-
icon:
|
|
4153
|
+
icon: Va,
|
|
4142
4154
|
category: "chart"
|
|
4143
4155
|
},
|
|
4144
4156
|
chartHeatmap: {
|
|
@@ -4150,7 +4162,7 @@ var Ei = {
|
|
|
4150
4162
|
category: "chart"
|
|
4151
4163
|
},
|
|
4152
4164
|
chartRetention: {
|
|
4153
|
-
icon:
|
|
4165
|
+
icon: Ba,
|
|
4154
4166
|
category: "chart"
|
|
4155
4167
|
},
|
|
4156
4168
|
chartBoxPlot: {
|
|
@@ -4161,6 +4173,10 @@ var Ei = {
|
|
|
4161
4173
|
},
|
|
4162
4174
|
category: "chart"
|
|
4163
4175
|
},
|
|
4176
|
+
chartDotStrip: {
|
|
4177
|
+
icon: ja,
|
|
4178
|
+
category: "chart"
|
|
4179
|
+
},
|
|
4164
4180
|
chartWaterfall: {
|
|
4165
4181
|
icon: {
|
|
4166
4182
|
width: 24,
|
|
@@ -4186,7 +4202,7 @@ var Ei = {
|
|
|
4186
4202
|
category: "chart"
|
|
4187
4203
|
},
|
|
4188
4204
|
chartProportionBar: {
|
|
4189
|
-
icon:
|
|
4205
|
+
icon: La,
|
|
4190
4206
|
category: "chart"
|
|
4191
4207
|
},
|
|
4192
4208
|
chartGauge: {
|
|
@@ -4250,7 +4266,7 @@ var Ei = {
|
|
|
4250
4266
|
category: "state"
|
|
4251
4267
|
},
|
|
4252
4268
|
info: {
|
|
4253
|
-
icon:
|
|
4269
|
+
icon: Ja,
|
|
4254
4270
|
category: "state"
|
|
4255
4271
|
},
|
|
4256
4272
|
loading: {
|
|
@@ -4301,8 +4317,8 @@ var Ei = {
|
|
|
4301
4317
|
icon: Ai,
|
|
4302
4318
|
category: "navigation"
|
|
4303
4319
|
}
|
|
4304
|
-
}, J = { ...
|
|
4305
|
-
function
|
|
4320
|
+
}, J = { ...Ya }, Y = /* @__PURE__ */ new Map();
|
|
4321
|
+
function Xa() {
|
|
4306
4322
|
return J;
|
|
4307
4323
|
}
|
|
4308
4324
|
function X(e) {
|
|
@@ -4321,16 +4337,16 @@ function X(e) {
|
|
|
4321
4337
|
});
|
|
4322
4338
|
return Y.set(e, r), r;
|
|
4323
4339
|
}
|
|
4324
|
-
function
|
|
4340
|
+
function Za(e) {
|
|
4325
4341
|
return J[e]?.icon ?? J.info.icon;
|
|
4326
4342
|
}
|
|
4327
|
-
function
|
|
4343
|
+
function Qa(e, t) {
|
|
4328
4344
|
J[e] && (J[e] = {
|
|
4329
4345
|
...J[e],
|
|
4330
4346
|
icon: t
|
|
4331
4347
|
}, Y.delete(e));
|
|
4332
4348
|
}
|
|
4333
|
-
function
|
|
4349
|
+
function $a(e) {
|
|
4334
4350
|
for (let [t, n] of Object.entries(e)) if (n && t in J) {
|
|
4335
4351
|
let e = t;
|
|
4336
4352
|
if ("body" in n) J[e] = {
|
|
@@ -4348,15 +4364,15 @@ function Qa(e) {
|
|
|
4348
4364
|
Y.delete(e);
|
|
4349
4365
|
}
|
|
4350
4366
|
}
|
|
4351
|
-
function
|
|
4352
|
-
J = { ...
|
|
4367
|
+
function eo() {
|
|
4368
|
+
J = { ...Ya }, Y.clear();
|
|
4353
4369
|
}
|
|
4354
|
-
function
|
|
4370
|
+
function to(e) {
|
|
4355
4371
|
let t = {};
|
|
4356
4372
|
for (let [n, r] of Object.entries(J)) r.category === e && (t[n] = X(n));
|
|
4357
4373
|
return t;
|
|
4358
4374
|
}
|
|
4359
|
-
function
|
|
4375
|
+
function no(e) {
|
|
4360
4376
|
return X({
|
|
4361
4377
|
count: "measureCount",
|
|
4362
4378
|
countDistinct: "measureCountDistinct",
|
|
@@ -4370,11 +4386,11 @@ function to(e) {
|
|
|
4370
4386
|
number: "measureNumber"
|
|
4371
4387
|
}[e || ""] || "measureCount");
|
|
4372
4388
|
}
|
|
4373
|
-
function
|
|
4389
|
+
function ro(e) {
|
|
4374
4390
|
let t = we(e)?.icon;
|
|
4375
4391
|
return t ? typeof t == "string" ? X(t) : t : X("chartBar");
|
|
4376
4392
|
}
|
|
4377
|
-
function
|
|
4393
|
+
function io(e) {
|
|
4378
4394
|
return X({
|
|
4379
4395
|
measure: "measure",
|
|
4380
4396
|
dimension: "dimension",
|
|
@@ -4385,7 +4401,7 @@ function ro(e) {
|
|
|
4385
4401
|
}
|
|
4386
4402
|
//#endregion
|
|
4387
4403
|
//#region src/client/components/charts/MissingDependencyFallback.tsx
|
|
4388
|
-
function
|
|
4404
|
+
function ao({ chartType: e, packageName: t, installCommand: n, height: r = 200 }) {
|
|
4389
4405
|
let { t: i } = s();
|
|
4390
4406
|
return /* @__PURE__ */ T("div", {
|
|
4391
4407
|
className: "dc-missing-dependency-fallback",
|
|
@@ -4461,8 +4477,8 @@ function io({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4461
4477
|
}
|
|
4462
4478
|
//#endregion
|
|
4463
4479
|
//#region src/client/charts/chartComponentRegistry.tsx
|
|
4464
|
-
var
|
|
4465
|
-
function
|
|
4480
|
+
var oo = /* @__PURE__ */ new Map(), Z = /* @__PURE__ */ new Set(), so = /* @__PURE__ */ new Map();
|
|
4481
|
+
function co(e) {
|
|
4466
4482
|
let t = ({ height: t }) => {
|
|
4467
4483
|
let { t: n } = s();
|
|
4468
4484
|
return /* @__PURE__ */ T("div", {
|
|
@@ -4483,8 +4499,8 @@ function so(e) {
|
|
|
4483
4499
|
};
|
|
4484
4500
|
return t.displayName = `UnknownChart_${e}`, t;
|
|
4485
4501
|
}
|
|
4486
|
-
function
|
|
4487
|
-
let t = we(e)?.dependencies, n = ({ height: n }) => /* @__PURE__ */ w(
|
|
4502
|
+
function lo(e) {
|
|
4503
|
+
let t = we(e)?.dependencies, n = ({ height: n }) => /* @__PURE__ */ w(ao, {
|
|
4488
4504
|
chartType: e,
|
|
4489
4505
|
packageName: t?.packageName || "unknown",
|
|
4490
4506
|
installCommand: t?.installCommand || "npm install [package-name]",
|
|
@@ -4492,30 +4508,30 @@ function co(e) {
|
|
|
4492
4508
|
});
|
|
4493
4509
|
return n.displayName = `${e}Fallback`, n;
|
|
4494
4510
|
}
|
|
4495
|
-
function
|
|
4511
|
+
function uo(e, t) {
|
|
4496
4512
|
return async () => {
|
|
4497
4513
|
try {
|
|
4498
4514
|
return await t();
|
|
4499
4515
|
} catch (t) {
|
|
4500
|
-
return console.warn(`[drizzle-cube] Failed to load ${e} chart:`, t instanceof Error ? t.message : t), Z.add(e), { default:
|
|
4516
|
+
return console.warn(`[drizzle-cube] Failed to load ${e} chart:`, t instanceof Error ? t.message : t), Z.add(e), { default: lo(e) };
|
|
4501
4517
|
}
|
|
4502
4518
|
};
|
|
4503
4519
|
}
|
|
4504
|
-
function
|
|
4505
|
-
if (
|
|
4506
|
-
let t = r ?
|
|
4507
|
-
|
|
4520
|
+
function fo(e, t, n, r) {
|
|
4521
|
+
if (oo.delete(e), Z.delete(e), n) {
|
|
4522
|
+
let t = r ? uo(e, n) : n;
|
|
4523
|
+
so.set(e, ye(t));
|
|
4508
4524
|
} else if (t) {
|
|
4509
4525
|
let n = t;
|
|
4510
|
-
|
|
4526
|
+
so.set(e, ye(() => Promise.resolve({ default: n })));
|
|
4511
4527
|
}
|
|
4512
4528
|
}
|
|
4513
|
-
function
|
|
4514
|
-
|
|
4529
|
+
function po(e) {
|
|
4530
|
+
so.delete(e), oo.delete(e), Z.delete(e);
|
|
4515
4531
|
}
|
|
4516
4532
|
//#endregion
|
|
4517
4533
|
//#region src/client/providers/CubeMetaProvider.tsx
|
|
4518
|
-
function
|
|
4534
|
+
function mo({ children: e }) {
|
|
4519
4535
|
let { meta: t, labelMap: n, isLoading: r, error: i, refetch: a, getFieldLabel: o } = dn(), s = i ? i instanceof Error ? i.message : String(i) : null, c = be(() => {
|
|
4520
4536
|
a();
|
|
4521
4537
|
}, [a]), l = be((e) => o(e), [o]), u = S(() => ({
|
|
@@ -4540,7 +4556,7 @@ function po({ children: e }) {
|
|
|
4540
4556
|
}
|
|
4541
4557
|
//#endregion
|
|
4542
4558
|
//#region src/client/components/charts/RecordsTable.config.ts
|
|
4543
|
-
var
|
|
4559
|
+
var ho = /* @__PURE__ */ t({ recordsTableConfig: () => go }), go = {
|
|
4544
4560
|
dropZones: [{
|
|
4545
4561
|
key: "columns",
|
|
4546
4562
|
label: "chart.recordsTable.dropZone.columns.label",
|
|
@@ -4603,7 +4619,7 @@ var mo = /* @__PURE__ */ t({ recordsTableConfig: () => ho }), ho = {
|
|
|
4603
4619
|
],
|
|
4604
4620
|
clickableElements: { row: !0 },
|
|
4605
4621
|
recordGrain: !0
|
|
4606
|
-
},
|
|
4622
|
+
}, _o = /* @__PURE__ */ t({ retentionHeatmapConfig: () => vo }), vo = {
|
|
4607
4623
|
dropZones: [],
|
|
4608
4624
|
displayOptionsConfig: [{
|
|
4609
4625
|
key: "showLegend",
|
|
@@ -4618,7 +4634,7 @@ var mo = /* @__PURE__ */ t({ recordsTableConfig: () => ho }), ho = {
|
|
|
4618
4634
|
defaultValue: !0,
|
|
4619
4635
|
description: "chart.option.showTooltip.description"
|
|
4620
4636
|
}]
|
|
4621
|
-
},
|
|
4637
|
+
}, yo = /* @__PURE__ */ t({ retentionCombinedConfig: () => bo }), bo = {
|
|
4622
4638
|
dropZones: [],
|
|
4623
4639
|
displayOptionsConfig: [
|
|
4624
4640
|
{
|
|
@@ -4664,7 +4680,118 @@ var mo = /* @__PURE__ */ t({ recordsTableConfig: () => ho }), ho = {
|
|
|
4664
4680
|
description: "chart.option.showTooltip.description"
|
|
4665
4681
|
}
|
|
4666
4682
|
]
|
|
4667
|
-
},
|
|
4683
|
+
}, xo = /* @__PURE__ */ t({ dotStripChartConfig: () => So }), So = {
|
|
4684
|
+
displayOptions: [
|
|
4685
|
+
"showGrid",
|
|
4686
|
+
"showTooltip",
|
|
4687
|
+
"hideHeader"
|
|
4688
|
+
],
|
|
4689
|
+
dropZones: [
|
|
4690
|
+
{
|
|
4691
|
+
key: "xAxis",
|
|
4692
|
+
label: "chart.dotStrip.dropZone.xAxis.label",
|
|
4693
|
+
description: "chart.dotStrip.dropZone.xAxis.description",
|
|
4694
|
+
mandatory: !0,
|
|
4695
|
+
maxItems: 1,
|
|
4696
|
+
acceptTypes: ["dimension", "timeDimension"],
|
|
4697
|
+
emptyText: "chart.dotStrip.dropZone.xAxis.empty"
|
|
4698
|
+
},
|
|
4699
|
+
{
|
|
4700
|
+
key: "yAxis",
|
|
4701
|
+
label: "chart.dotStrip.dropZone.yAxis.label",
|
|
4702
|
+
description: "chart.dotStrip.dropZone.yAxis.description",
|
|
4703
|
+
mandatory: !0,
|
|
4704
|
+
maxItems: 1,
|
|
4705
|
+
acceptTypes: ["measure"],
|
|
4706
|
+
emptyText: "chart.dotStrip.dropZone.yAxis.empty"
|
|
4707
|
+
},
|
|
4708
|
+
{
|
|
4709
|
+
key: "series",
|
|
4710
|
+
label: "chart.dotStrip.dropZone.series.label",
|
|
4711
|
+
description: "chart.dotStrip.dropZone.series.description",
|
|
4712
|
+
mandatory: !1,
|
|
4713
|
+
maxItems: 1,
|
|
4714
|
+
acceptTypes: ["dimension"],
|
|
4715
|
+
emptyText: "chart.dotStrip.dropZone.series.empty"
|
|
4716
|
+
}
|
|
4717
|
+
],
|
|
4718
|
+
clickableElements: { point: !0 },
|
|
4719
|
+
displayOptionsConfig: [
|
|
4720
|
+
{
|
|
4721
|
+
key: "showMedianMarker",
|
|
4722
|
+
label: "chart.option.showMedianMarker.label",
|
|
4723
|
+
type: "boolean",
|
|
4724
|
+
defaultValue: !0,
|
|
4725
|
+
description: "chart.option.showMedianMarker.description"
|
|
4726
|
+
},
|
|
4727
|
+
{
|
|
4728
|
+
key: "showBandStats",
|
|
4729
|
+
label: "chart.option.showBandStats.label",
|
|
4730
|
+
type: "boolean",
|
|
4731
|
+
defaultValue: !0,
|
|
4732
|
+
description: "chart.option.showBandStats.description"
|
|
4733
|
+
},
|
|
4734
|
+
{
|
|
4735
|
+
key: "showExtremeLabels",
|
|
4736
|
+
label: "chart.option.showExtremeLabels.label",
|
|
4737
|
+
type: "boolean",
|
|
4738
|
+
defaultValue: !1,
|
|
4739
|
+
description: "chart.option.showExtremeLabels.description"
|
|
4740
|
+
},
|
|
4741
|
+
{
|
|
4742
|
+
key: "dotSize",
|
|
4743
|
+
label: "chart.option.dotSize.label",
|
|
4744
|
+
type: "select",
|
|
4745
|
+
defaultValue: "medium",
|
|
4746
|
+
options: [
|
|
4747
|
+
{
|
|
4748
|
+
value: "small",
|
|
4749
|
+
label: "chart.option.dotSize.small"
|
|
4750
|
+
},
|
|
4751
|
+
{
|
|
4752
|
+
value: "medium",
|
|
4753
|
+
label: "chart.option.dotSize.medium"
|
|
4754
|
+
},
|
|
4755
|
+
{
|
|
4756
|
+
value: "large",
|
|
4757
|
+
label: "chart.option.dotSize.large"
|
|
4758
|
+
}
|
|
4759
|
+
],
|
|
4760
|
+
description: "chart.option.dotSize.description"
|
|
4761
|
+
},
|
|
4762
|
+
{
|
|
4763
|
+
key: "bandSort",
|
|
4764
|
+
label: "chart.option.bandSort.label",
|
|
4765
|
+
type: "select",
|
|
4766
|
+
defaultValue: "none",
|
|
4767
|
+
options: [
|
|
4768
|
+
{
|
|
4769
|
+
value: "none",
|
|
4770
|
+
label: "chart.option.bandSort.none"
|
|
4771
|
+
},
|
|
4772
|
+
{
|
|
4773
|
+
value: "valueDesc",
|
|
4774
|
+
label: "chart.option.bandSort.valueDesc"
|
|
4775
|
+
},
|
|
4776
|
+
{
|
|
4777
|
+
value: "valueAsc",
|
|
4778
|
+
label: "chart.option.bandSort.valueAsc"
|
|
4779
|
+
},
|
|
4780
|
+
{
|
|
4781
|
+
value: "count",
|
|
4782
|
+
label: "chart.option.bandSort.count"
|
|
4783
|
+
}
|
|
4784
|
+
],
|
|
4785
|
+
description: "chart.option.bandSort.description"
|
|
4786
|
+
},
|
|
4787
|
+
{
|
|
4788
|
+
key: "xAxisFormat",
|
|
4789
|
+
label: "chart.option.xAxisFormat.label",
|
|
4790
|
+
type: "axisFormat",
|
|
4791
|
+
description: "chart.option.xAxisFormat.description"
|
|
4792
|
+
}
|
|
4793
|
+
]
|
|
4794
|
+
}, Co = /* @__PURE__ */ t({ proportionBarChartConfig: () => wo }), wo = {
|
|
4668
4795
|
dropZones: [{
|
|
4669
4796
|
key: "xAxis",
|
|
4670
4797
|
label: "chart.configText.category",
|
|
@@ -4722,7 +4849,7 @@ var mo = /* @__PURE__ */ t({ recordsTableConfig: () => ho }), ho = {
|
|
|
4722
4849
|
isValid: !1,
|
|
4723
4850
|
message: "chart.proportionBar.validation.measureRequired"
|
|
4724
4851
|
} : { isValid: !0 }
|
|
4725
|
-
},
|
|
4852
|
+
}, To = {
|
|
4726
4853
|
bar: f,
|
|
4727
4854
|
line: p,
|
|
4728
4855
|
area: n,
|
|
@@ -4733,7 +4860,7 @@ var mo = /* @__PURE__ */ t({ recordsTableConfig: () => ho }), ho = {
|
|
|
4733
4860
|
radialBar: v,
|
|
4734
4861
|
treemap: ee,
|
|
4735
4862
|
table: y,
|
|
4736
|
-
recordsTable:
|
|
4863
|
+
recordsTable: go,
|
|
4737
4864
|
activityGrid: te,
|
|
4738
4865
|
kpiNumber: ne,
|
|
4739
4866
|
kpiDelta: re,
|
|
@@ -4743,27 +4870,28 @@ var mo = /* @__PURE__ */ t({ recordsTableConfig: () => ho }), ho = {
|
|
|
4743
4870
|
sankey: se,
|
|
4744
4871
|
sunburst: ce,
|
|
4745
4872
|
heatmap: le,
|
|
4746
|
-
retentionHeatmap:
|
|
4747
|
-
retentionCombined:
|
|
4873
|
+
retentionHeatmap: vo,
|
|
4874
|
+
retentionCombined: bo,
|
|
4748
4875
|
boxPlot: ue,
|
|
4876
|
+
dotStrip: So,
|
|
4749
4877
|
waterfall: de,
|
|
4750
4878
|
candlestick: fe,
|
|
4751
4879
|
measureProfile: pe,
|
|
4752
|
-
proportionBar:
|
|
4880
|
+
proportionBar: wo,
|
|
4753
4881
|
gauge: me
|
|
4754
|
-
}, Q = Object.fromEntries(Object.keys(D).map((e) => [e, Oe(D[e],
|
|
4755
|
-
function
|
|
4882
|
+
}, Q = Object.fromEntries(Object.keys(D).map((e) => [e, Oe(D[e], To[e])]));
|
|
4883
|
+
function Eo(e) {
|
|
4756
4884
|
return Q[e]?.recordGrain === !0;
|
|
4757
4885
|
}
|
|
4758
|
-
function
|
|
4886
|
+
function Do(e, t) {
|
|
4759
4887
|
Q[e] = t;
|
|
4760
4888
|
}
|
|
4761
|
-
function
|
|
4889
|
+
function Oo(e) {
|
|
4762
4890
|
delete Q[e];
|
|
4763
4891
|
}
|
|
4764
4892
|
//#endregion
|
|
4765
4893
|
//#region src/client/charts/chartPlugin.ts
|
|
4766
|
-
function
|
|
4894
|
+
function ko(e, t) {
|
|
4767
4895
|
return {
|
|
4768
4896
|
label: t.label ?? e.label,
|
|
4769
4897
|
icon: e.icon ?? "chartBar",
|
|
@@ -4784,13 +4912,13 @@ var $ = new class {
|
|
|
4784
4912
|
...e.config,
|
|
4785
4913
|
label: e.config.label || e.label
|
|
4786
4914
|
};
|
|
4787
|
-
Q[e.type] && !this.builtInBackups.has(e.type) && !this.customCharts.has(e.type) && this.builtInBackups.set(e.type, Q[e.type]), this.customCharts.set(e.type, e), Te(e.type,
|
|
4915
|
+
Q[e.type] && !this.builtInBackups.has(e.type) && !this.customCharts.has(e.type) && this.builtInBackups.set(e.type, Q[e.type]), this.customCharts.set(e.type, e), Te(e.type, ko(e, t)), Do(e.type, t), Le(e.type, t), fo(e.type, e.component, e.lazyComponent, e.dependencies), this.bump();
|
|
4788
4916
|
}
|
|
4789
4917
|
unregister(e) {
|
|
4790
4918
|
if (!this.customCharts.has(e)) return;
|
|
4791
4919
|
this.customCharts.delete(e), Ee(e);
|
|
4792
4920
|
let t = this.builtInBackups.get(e);
|
|
4793
|
-
t ? (
|
|
4921
|
+
t ? (Do(e, t), Le(e, t), this.builtInBackups.delete(e)) : (Oo(e), Re(e)), po(e), this.bump();
|
|
4794
4922
|
}
|
|
4795
4923
|
getIcon(e) {
|
|
4796
4924
|
let t = De(e)?.icon;
|
|
@@ -4810,23 +4938,23 @@ var $ = new class {
|
|
|
4810
4938
|
this.version++;
|
|
4811
4939
|
for (let e of this.listeners) e();
|
|
4812
4940
|
}
|
|
4813
|
-
}(),
|
|
4814
|
-
function
|
|
4941
|
+
}(), Ao = { apiUrl: "/cubejs-api/v1" }, jo = 3;
|
|
4942
|
+
function Mo(e) {
|
|
4815
4943
|
let t = e?.status;
|
|
4816
4944
|
return typeof t == "number" && t >= 400 && t < 500;
|
|
4817
4945
|
}
|
|
4818
|
-
var
|
|
4946
|
+
var No = () => new Bt({ defaultOptions: { queries: {
|
|
4819
4947
|
staleTime: 3e5,
|
|
4820
4948
|
gcTime: 9e5,
|
|
4821
|
-
retry: (e, t) => !
|
|
4949
|
+
retry: (e, t) => !Mo(t) && e < jo,
|
|
4822
4950
|
refetchOnWindowFocus: !1
|
|
4823
4951
|
} } });
|
|
4824
|
-
|
|
4825
|
-
function
|
|
4952
|
+
No();
|
|
4953
|
+
function Po({ cubeApi: e, apiOptions: t, token: n, options: r, features: i, dashboardModes: a, enableBatching: o, batchDelayMs: s, queryClient: u, customCharts: d, locale: f, translations: p, debugI18n: m, children: h }) {
|
|
4826
4954
|
x(() => {
|
|
4827
4955
|
l(!!m);
|
|
4828
4956
|
}, [m]);
|
|
4829
|
-
let [g] = C(() =>
|
|
4957
|
+
let [g] = C(() => No()), _ = u ?? g, v = Se([]);
|
|
4830
4958
|
return x(() => {
|
|
4831
4959
|
if (!d || d.length === 0) {
|
|
4832
4960
|
for (let e of v.current) $.unregister(e);
|
|
@@ -4846,13 +4974,13 @@ function jo({ cubeApi: e, apiOptions: t, token: n, options: r, features: i, dash
|
|
|
4846
4974
|
children: /* @__PURE__ */ w(Ve, {
|
|
4847
4975
|
client: _,
|
|
4848
4976
|
children: /* @__PURE__ */ w(sn, {
|
|
4849
|
-
apiOptions: t ||
|
|
4977
|
+
apiOptions: t || Ao,
|
|
4850
4978
|
token: n,
|
|
4851
4979
|
options: r,
|
|
4852
4980
|
locale: f,
|
|
4853
4981
|
enableBatching: o,
|
|
4854
4982
|
batchDelayMs: s,
|
|
4855
|
-
children: /* @__PURE__ */ w(
|
|
4983
|
+
children: /* @__PURE__ */ w(mo, { children: /* @__PURE__ */ w(Bn, {
|
|
4856
4984
|
features: i,
|
|
4857
4985
|
dashboardModes: a,
|
|
4858
4986
|
children: h
|
|
@@ -4861,7 +4989,7 @@ function jo({ cubeApi: e, apiOptions: t, token: n, options: r, features: i, dash
|
|
|
4861
4989
|
})
|
|
4862
4990
|
});
|
|
4863
4991
|
}
|
|
4864
|
-
function
|
|
4992
|
+
function Fo() {
|
|
4865
4993
|
let e = cn(), t = a(), n = Hn();
|
|
4866
4994
|
return S(() => ({
|
|
4867
4995
|
...e,
|
|
@@ -4876,14 +5004,14 @@ function Mo() {
|
|
|
4876
5004
|
}
|
|
4877
5005
|
//#endregion
|
|
4878
5006
|
//#region src/client/utils/pivotUtils.ts
|
|
4879
|
-
function
|
|
5007
|
+
function Io(e) {
|
|
4880
5008
|
if (!e) return [];
|
|
4881
5009
|
let t = [];
|
|
4882
5010
|
return e.dimensions && t.push(...e.dimensions), e.timeDimensions && e.timeDimensions.forEach((e) => {
|
|
4883
5011
|
t.includes(e.dimension) || t.push(e.dimension);
|
|
4884
5012
|
}), e.measures && t.push(...e.measures), t;
|
|
4885
5013
|
}
|
|
4886
|
-
function
|
|
5014
|
+
function Lo(e, t) {
|
|
4887
5015
|
if (!e?.timeDimensions?.length) return null;
|
|
4888
5016
|
let n = e.timeDimensions.find((e) => e.granularity);
|
|
4889
5017
|
if (!n?.granularity || !e.measures?.length) return null;
|
|
@@ -4900,7 +5028,7 @@ function Po(e, t) {
|
|
|
4900
5028
|
measures: i
|
|
4901
5029
|
};
|
|
4902
5030
|
}
|
|
4903
|
-
function
|
|
5031
|
+
function Ro(e, t, n) {
|
|
4904
5032
|
let r = /* @__PURE__ */ new Set();
|
|
4905
5033
|
return e.forEach((e) => {
|
|
4906
5034
|
let i = e[t];
|
|
@@ -4910,7 +5038,7 @@ function Fo(e, t, n) {
|
|
|
4910
5038
|
}
|
|
4911
5039
|
}), Array.from(r).sort();
|
|
4912
5040
|
}
|
|
4913
|
-
function
|
|
5041
|
+
function zo(e, t, n) {
|
|
4914
5042
|
let r = [];
|
|
4915
5043
|
return e.measures.length > 1 && r.push({
|
|
4916
5044
|
key: "__measure__",
|
|
@@ -4931,7 +5059,7 @@ function Io(e, t, n) {
|
|
|
4931
5059
|
});
|
|
4932
5060
|
}), r;
|
|
4933
5061
|
}
|
|
4934
|
-
function
|
|
5062
|
+
function Bo(e, t) {
|
|
4935
5063
|
let n = /* @__PURE__ */ new Map();
|
|
4936
5064
|
return e.forEach((e) => {
|
|
4937
5065
|
let r = t.dimensions.length > 0 ? t.dimensions.map((t) => String(e[t] ?? "")).join("|") : "__all__";
|
|
@@ -4943,8 +5071,8 @@ function Lo(e, t) {
|
|
|
4943
5071
|
}
|
|
4944
5072
|
}), n;
|
|
4945
5073
|
}
|
|
4946
|
-
function
|
|
4947
|
-
let i =
|
|
5074
|
+
function Vo(e, t, n, r) {
|
|
5075
|
+
let i = Bo(e, t), a = Array.from(i.keys()), o = [], s = t.measures.length, c = a.length;
|
|
4948
5076
|
return t.measures.forEach((e) => {
|
|
4949
5077
|
a.forEach((a, l) => {
|
|
4950
5078
|
let u = i.get(a), d = s > 1 ? `${e}|${a}` : a, f = {}, p = a === "__all__" ? [] : a.split("|");
|
|
@@ -4965,20 +5093,20 @@ function Ro(e, t, n, r) {
|
|
|
4965
5093
|
});
|
|
4966
5094
|
}), o;
|
|
4967
5095
|
}
|
|
4968
|
-
function
|
|
5096
|
+
function Ho(e, t, n, r) {
|
|
4969
5097
|
if (!e || e.length === 0) return {
|
|
4970
5098
|
isPivoted: !0,
|
|
4971
5099
|
columns: [],
|
|
4972
5100
|
rows: []
|
|
4973
5101
|
};
|
|
4974
|
-
let i =
|
|
5102
|
+
let i = Ro(e, t.timeDimension, t.granularity);
|
|
4975
5103
|
return {
|
|
4976
5104
|
isPivoted: !0,
|
|
4977
|
-
columns:
|
|
4978
|
-
rows:
|
|
5105
|
+
columns: zo(t, i, n),
|
|
5106
|
+
rows: Vo(e, t, i, n)
|
|
4979
5107
|
};
|
|
4980
5108
|
}
|
|
4981
|
-
function
|
|
5109
|
+
function Uo(e, t) {
|
|
4982
5110
|
if (t?.cubes) for (let n of t.cubes) {
|
|
4983
5111
|
let t = n.measures.find((t) => t.name === e);
|
|
4984
5112
|
if (t) return t.type;
|
|
@@ -4986,8 +5114,8 @@ function Bo(e, t) {
|
|
|
4986
5114
|
}
|
|
4987
5115
|
//#endregion
|
|
4988
5116
|
//#region src/client/components/charts/DataTable.tsx
|
|
4989
|
-
var
|
|
4990
|
-
let { t: o } = s(), { getFieldLabel: c, meta: l } = a(), u = S(() =>
|
|
5117
|
+
var Wo = /* @__PURE__ */ t({ default: () => Go }), Go = he.memo(function({ data: e, chartConfig: t, displayConfig: n = {}, queryObject: r, height: i = 300 }) {
|
|
5118
|
+
let { t: o } = s(), { getFieldLabel: c, meta: l } = a(), u = S(() => Lo(r, t?.xAxis), [r, t?.xAxis]), d = n?.pivotTimeDimension !== !1, f = S(() => !u || !d ? null : Ho(e, u, c, l), [
|
|
4991
5119
|
e,
|
|
4992
5120
|
u,
|
|
4993
5121
|
d,
|
|
@@ -5007,12 +5135,12 @@ var Vo = /* @__PURE__ */ t({ default: () => Ho }), Ho = he.memo(function({ data:
|
|
|
5007
5135
|
children: o("chart.runtime.noDataHint.table")
|
|
5008
5136
|
})]
|
|
5009
5137
|
})
|
|
5010
|
-
}) : f?.isPivoted && f.columns.length > 0 ? /* @__PURE__ */ w(
|
|
5138
|
+
}) : f?.isPivoted && f.columns.length > 0 ? /* @__PURE__ */ w(Ko, {
|
|
5011
5139
|
pivotedData: f,
|
|
5012
5140
|
height: i,
|
|
5013
5141
|
meta: l,
|
|
5014
5142
|
leftYAxisFormat: n?.leftYAxisFormat
|
|
5015
|
-
}) : /* @__PURE__ */ w(
|
|
5143
|
+
}) : /* @__PURE__ */ w(Yo, {
|
|
5016
5144
|
data: e,
|
|
5017
5145
|
chartConfig: t,
|
|
5018
5146
|
queryObject: r,
|
|
@@ -5021,7 +5149,7 @@ var Vo = /* @__PURE__ */ t({ default: () => Ho }), Ho = he.memo(function({ data:
|
|
|
5021
5149
|
leftYAxisFormat: n?.leftYAxisFormat
|
|
5022
5150
|
});
|
|
5023
5151
|
});
|
|
5024
|
-
function
|
|
5152
|
+
function Ko({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
|
|
5025
5153
|
let { t: i } = s(), { columns: a, rows: o } = e;
|
|
5026
5154
|
return a.length === 0 || o.length === 0 ? /* @__PURE__ */ w("div", {
|
|
5027
5155
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
@@ -5049,7 +5177,7 @@ function Uo({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
|
|
|
5049
5177
|
}, e.key)) })
|
|
5050
5178
|
}), /* @__PURE__ */ w("tbody", {
|
|
5051
5179
|
className: "bg-dc-surface dc:divide-y border-dc-border",
|
|
5052
|
-
children: o.map((e) => /* @__PURE__ */ w(
|
|
5180
|
+
children: o.map((e) => /* @__PURE__ */ w(qo, {
|
|
5053
5181
|
row: e,
|
|
5054
5182
|
columns: a,
|
|
5055
5183
|
meta: n,
|
|
@@ -5059,8 +5187,8 @@ function Uo({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
|
|
|
5059
5187
|
})
|
|
5060
5188
|
});
|
|
5061
5189
|
}
|
|
5062
|
-
function
|
|
5063
|
-
let i =
|
|
5190
|
+
function qo({ row: e, columns: t, meta: n, leftYAxisFormat: r }) {
|
|
5191
|
+
let i = no(Uo(e.measureField, n));
|
|
5064
5192
|
return /* @__PURE__ */ w("tr", {
|
|
5065
5193
|
className: "hover:bg-dc-surface-secondary",
|
|
5066
5194
|
children: t.map((t) => {
|
|
@@ -5074,21 +5202,21 @@ function Wo({ row: e, columns: t, meta: n, leftYAxisFormat: r }) {
|
|
|
5074
5202
|
})
|
|
5075
5203
|
}, t.key) : t.isTimeColumn ? /* @__PURE__ */ w("td", {
|
|
5076
5204
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm dc:text-right text-dc-text",
|
|
5077
|
-
children:
|
|
5205
|
+
children: Jo(n, r)
|
|
5078
5206
|
}, t.key) : /* @__PURE__ */ w("td", {
|
|
5079
5207
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text",
|
|
5080
|
-
children:
|
|
5208
|
+
children: Jo(n)
|
|
5081
5209
|
}, t.key);
|
|
5082
5210
|
})
|
|
5083
5211
|
});
|
|
5084
5212
|
}
|
|
5085
|
-
function
|
|
5213
|
+
function Jo(e, t) {
|
|
5086
5214
|
return e == null ? "-" : typeof e == "number" ? t ? u(e, t) : Number.isInteger(e) ? e.toLocaleString() : parseFloat(e.toFixed(2)).toLocaleString() : typeof e == "boolean" ? e ? "Yes" : "No" : String(e);
|
|
5087
5215
|
}
|
|
5088
|
-
function
|
|
5216
|
+
function Yo({ data: e, chartConfig: t, queryObject: n, height: r, getFieldLabel: i, leftYAxisFormat: a }) {
|
|
5089
5217
|
let { t: o } = s(), c = Object.keys(e[0] || {}), l = S(() => {
|
|
5090
5218
|
if (t?.xAxis && t.xAxis.length > 0) return t.xAxis.filter((e) => c.includes(e));
|
|
5091
|
-
let e =
|
|
5219
|
+
let e = Io(n);
|
|
5092
5220
|
if (e.length > 0) {
|
|
5093
5221
|
let t = e.filter((e) => c.includes(e)), n = c.filter((e) => !t.includes(e));
|
|
5094
5222
|
return [...t, ...n];
|
|
@@ -5129,17 +5257,17 @@ function Ko({ data: e, chartConfig: t, queryObject: n, height: r, getFieldLabel:
|
|
|
5129
5257
|
className: "hover:bg-dc-surface-secondary",
|
|
5130
5258
|
children: l.map((t) => /* @__PURE__ */ w("td", {
|
|
5131
5259
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text",
|
|
5132
|
-
children:
|
|
5260
|
+
children: Xo(e[t], a)
|
|
5133
5261
|
}, t))
|
|
5134
5262
|
}, t))
|
|
5135
5263
|
})]
|
|
5136
5264
|
})
|
|
5137
5265
|
});
|
|
5138
5266
|
}
|
|
5139
|
-
function
|
|
5267
|
+
function Xo(e, t) {
|
|
5140
5268
|
return e == null ? "" : typeof e == "number" ? t ? u(e, t) : e.toLocaleString() : typeof e == "boolean" ? e ? "Yes" : "No" : String(e);
|
|
5141
5269
|
}
|
|
5142
5270
|
//#endregion
|
|
5143
|
-
export { It as $, Hn as A, cn as B,
|
|
5271
|
+
export { It as $, Hn as A, cn as B, no as C, Ya as D, Qa as E, xn as F, Yt as G, en as H, vn as I, Kt as J, Zt as K, _n as L, Mn as M, Nn as N, Ja as O, gn as P, Ht as Q, hn as R, to as S, eo as T, rn as U, tn as V, $t as W, qt as X, Jt as Y, Gt as Z, ro as _, Lo as a, Qe as at, Za as b, Fo as c, Be as ct, Eo as d, Ae as dt, kt as et, oo as f, je as ft, Z as g, Me as gt, so as h, Pe as ht, Io as i, j as it, Ln as j, Ti as k, $ as l, Ie as lt, co as m, Ne as mt, Wo as n, F as nt, Ho as o, $e as ot, uo as p, Fe as pt, Xt as q, Uo as r, N as rt, Po as s, lt as st, Go as t, I as tt, Q as u, ke as ut, io as v, $a as w, Xa as x, X as y, dn as z };
|
|
5144
5272
|
|
|
5145
|
-
//# sourceMappingURL=chart-data-table-
|
|
5273
|
+
//# sourceMappingURL=chart-data-table-Cou9qOab.js.map
|