drizzle-cube 0.6.2 → 0.6.3
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-BtECymia.cjs +1 -0
- package/dist/adapters/ActivityGridChart.config-CTd5HYjI.js +2 -0
- package/dist/adapters/AreaChart.config-1B8iQnfn.js +2 -0
- package/dist/adapters/AreaChart.config-hnncyQL4.cjs +1 -0
- package/dist/adapters/BarChart.config-C-QCf1rL.cjs +1 -0
- package/dist/adapters/BarChart.config-CFelK1qP.js +2 -0
- package/dist/adapters/BoxPlotChart.config-CD9WEPyF.js +2 -0
- package/dist/adapters/BoxPlotChart.config-DEbLA0BX.cjs +1 -0
- package/dist/adapters/BubbleChart.config-B_M4hzzV.js +2 -0
- package/dist/adapters/BubbleChart.config-dRZZlAke.cjs +1 -0
- package/dist/adapters/CandlestickChart.config-Dsil2Fop.cjs +1 -0
- package/dist/adapters/CandlestickChart.config-fuhyFvob.js +2 -0
- package/dist/adapters/DataTable.config-q2gqBi6t.cjs +1 -0
- package/dist/adapters/DataTable.config-wIQnHX5R.js +2 -0
- package/dist/adapters/FunnelChart.config-Dz710ssx.js +2 -0
- package/dist/adapters/FunnelChart.config-YNP9CeS-.cjs +1 -0
- package/dist/adapters/GaugeChart.config-BG9FcMCn.cjs +1 -0
- package/dist/adapters/GaugeChart.config-CgwniXkd.js +2 -0
- package/dist/adapters/HeatMapChart.config-1zSMXXoN.cjs +1 -0
- package/dist/adapters/HeatMapChart.config-YVEWx6s5.js +2 -0
- package/dist/adapters/KpiDelta.config-BWvYXuFp.cjs +1 -0
- package/dist/adapters/KpiDelta.config-C_dYM64q.js +2 -0
- package/dist/adapters/KpiNumber.config-CXg6toZG.js +2 -0
- package/dist/adapters/KpiNumber.config-CZmV-yU1.cjs +1 -0
- package/dist/adapters/KpiText.config-BY-SJvAF.js +2 -0
- package/dist/adapters/KpiText.config-GSIxy0CE.cjs +1 -0
- package/dist/adapters/LineChart.config-CJtF8SOu.js +2 -0
- package/dist/adapters/LineChart.config-d0y60gw9.cjs +1 -0
- package/dist/adapters/MarkdownChart.config-B6w0spya.cjs +1 -0
- package/dist/adapters/MarkdownChart.config-BuIQcWOn.js +2 -0
- package/dist/adapters/MeasureProfileChart.config-Bo2n5Ae5.cjs +1 -0
- package/dist/adapters/MeasureProfileChart.config-C5d34lsc.js +2 -0
- package/dist/adapters/PieChart.config-CDxfXCIt.cjs +1 -0
- package/dist/adapters/PieChart.config-CuZxQc5m.js +2 -0
- package/dist/adapters/RadarChart.config-DpdVWyh5.cjs +1 -0
- package/dist/adapters/RadarChart.config-KrxwaaGu.js +2 -0
- package/dist/adapters/RadialBarChart.config-DpRZd0FW.js +2 -0
- package/dist/adapters/RadialBarChart.config-faIY4jpE.cjs +1 -0
- package/dist/adapters/RetentionCombinedChart.config-CUnScqnS.cjs +1 -0
- package/dist/adapters/RetentionCombinedChart.config-Dd8FuawP.js +2 -0
- package/dist/adapters/RetentionHeatmap.config-CPd6GeoQ.js +2 -0
- package/dist/adapters/RetentionHeatmap.config-CPlHbLom.cjs +1 -0
- package/dist/adapters/SankeyChart.config-DbIUqi-H.cjs +1 -0
- package/dist/adapters/SankeyChart.config-kzAnW0C7.js +2 -0
- package/dist/adapters/ScatterChart.config-4Okvn27v.js +2 -0
- package/dist/adapters/ScatterChart.config-4f9nNw3e.cjs +1 -0
- package/dist/adapters/SunburstChart.config-BsUQkIM_.js +2 -0
- package/dist/adapters/SunburstChart.config-lvnYkWs7.cjs +1 -0
- package/dist/adapters/TreeMapChart.config-S0qsgAFW.js +2 -0
- package/dist/adapters/TreeMapChart.config-jbwKsTYt.cjs +1 -0
- package/dist/adapters/WaterfallChart.config-CDQ74-pS.cjs +1 -0
- package/dist/adapters/WaterfallChart.config-XdtH-O5g.js +2 -0
- package/dist/adapters/chartConfigHelpers-CcvqrIWF.js +72 -0
- package/dist/adapters/chartConfigHelpers-DHQB-_v5.cjs +1 -0
- package/dist/adapters/{locale-ZLUUNUxr.cjs → compiler-ChGO4ZLU.cjs} +1 -1
- package/dist/adapters/{locale-DDvZDFVn.js → compiler-LKTN9PTt.js} +2 -21
- package/dist/adapters/core/cube-http-handler.d.ts +27 -0
- package/dist/adapters/core/http-port.d.ts +39 -0
- package/dist/adapters/core/index.cjs +1 -0
- package/dist/adapters/core/index.d.ts +11 -0
- package/dist/adapters/core/index.js +2 -0
- package/dist/adapters/core/mcp-handler.d.ts +13 -0
- package/dist/adapters/core/rest-handlers.d.ts +14 -0
- package/dist/adapters/core/security-context.d.ts +17 -0
- package/dist/adapters/core-Bbchr0ui.js +244 -0
- package/dist/adapters/core-F1pCQPde.cjs +1 -0
- package/dist/adapters/express/index.cjs +2 -2
- package/dist/adapters/express/index.js +93 -201
- package/dist/adapters/fastify/index.cjs +2 -2
- package/dist/adapters/fastify/index.js +79 -217
- package/dist/adapters/handler-DRZb2ip6.cjs +25 -0
- package/dist/adapters/{handler-CtaSua-i.js → handler-u8FyzPBT.js} +1572 -1500
- package/dist/adapters/hono/index.cjs +2 -2
- package/dist/adapters/hono/index.js +69 -225
- package/dist/adapters/mcp-tools.cjs +1 -1
- package/dist/adapters/mcp-tools.js +1 -1
- package/dist/adapters/mcp-transport-Bw_zqky2.js +591 -0
- package/dist/adapters/mcp-transport-CNIPoe1i.cjs +40 -0
- package/dist/adapters/nextjs/index.cjs +1 -1
- package/dist/adapters/nextjs/index.d.ts +8 -9
- package/dist/adapters/nextjs/index.js +181 -288
- package/dist/adapters/nextjs/mcp-handler.d.ts +0 -28
- package/dist/adapters/{openai-D-6l1Y8h.cjs → openai-B4kAJTSD.cjs} +1 -1
- package/dist/adapters/{openai-DTSTMiXL.cjs → openai-Cdf2wWZA.cjs} +1 -1
- package/dist/adapters/{openai-CmVRIbUg.js → openai-CmMzrs1Y.js} +1 -1
- package/dist/adapters/{openai-CtXqeznO.js → openai-DhzGY9R4.js} +1 -1
- package/dist/cjs/adapters/core/cube-http-handler.d.ts +27 -0
- package/dist/cjs/adapters/core/http-port.d.ts +39 -0
- package/dist/cjs/adapters/core/index.d.ts +11 -0
- package/dist/cjs/adapters/core/mcp-handler.d.ts +13 -0
- package/dist/cjs/adapters/core/rest-handlers.d.ts +14 -0
- package/dist/cjs/adapters/core/security-context.d.ts +17 -0
- package/dist/cjs/adapters/nextjs/index.d.ts +8 -9
- package/dist/cjs/adapters/nextjs/mcp-handler.d.ts +0 -28
- package/dist/cjs/client/charts/chartComponentRegistry.d.ts +1 -9
- package/dist/cjs/client/charts/chartConfigRegistry.d.ts +5 -1
- package/dist/cjs/client/charts/chartPlugin.d.ts +1 -2
- package/dist/cjs/client/charts/chartRegistry.d.ts +73 -0
- package/dist/cjs/client/components/AIAssistant/index.d.ts +2 -2
- package/dist/cjs/client/components/charts/ActivityGridChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/AreaChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/BarChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/BoxPlotChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/BubbleChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/CandlestickChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/DataTable.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/FunnelChart.config.d.ts +5 -0
- package/dist/cjs/client/components/charts/GaugeChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/HeatMapChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/KpiDelta.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/KpiNumber.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/KpiText.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/LineChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/MarkdownChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/MeasureProfileChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/PieChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/RadarChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/RadialBarChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/SankeyChart.config.d.ts +5 -0
- package/dist/cjs/client/components/charts/ScatterChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/SunburstChart.config.d.ts +5 -0
- package/dist/cjs/client/components/charts/TreeMapChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/WaterfallChart.config.d.ts +6 -1
- package/dist/cjs/client/hooks/analysisQueryExecutionModes.d.ts +1 -1
- package/dist/cjs/client/hooks/useAnalysisEffects.d.ts +33 -0
- package/dist/{client/hooks/useAnalysisQueryExecution.d.ts → cjs/client/hooks/useAnalysisQuery.d.ts} +3 -3
- package/dist/cjs/client/hooks/useAnalysisState.d.ts +165 -0
- package/dist/cjs/client/icons/registry.d.ts +0 -6
- package/dist/cjs/client/icons/types.d.ts +5 -0
- package/dist/client/charts/chartComponentRegistry.d.ts +1 -9
- package/dist/client/charts/chartConfigRegistry.d.ts +5 -1
- package/dist/client/charts/chartPlugin.d.ts +1 -2
- package/dist/client/charts/chartRegistry.d.ts +73 -0
- package/dist/client/charts.js +3 -3
- package/dist/client/chunks/{DashboardEditModal-okVfH8ZK.js → DashboardEditModal-CWurUU2B.js} +7 -7
- package/dist/client/chunks/{DashboardEditModal-okVfH8ZK.js.map → DashboardEditModal-CWurUU2B.js.map} +1 -1
- package/dist/client/chunks/{analysis-builder-DB88FojM.js → analysis-builder-Uj_Fxv0-.js} +1588 -1857
- package/dist/client/chunks/analysis-builder-Uj_Fxv0-.js.map +1 -0
- package/dist/client/chunks/{analysis-builder-shared-BVK4TYfR.js → analysis-builder-shared-AdAYIfj_.js} +1531 -1266
- package/dist/client/chunks/analysis-builder-shared-AdAYIfj_.js.map +1 -0
- package/dist/client/chunks/{chart-config-activity-grid-D_UX4NHC.js → chart-config-activity-grid-BU_bkvER.js} +1 -11
- package/dist/client/chunks/chart-config-activity-grid-BU_bkvER.js.map +1 -0
- package/dist/client/chunks/{chart-config-area-BNigHUy8.js → chart-config-area-DxwIZ4Uf.js} +1 -5
- package/dist/client/chunks/{chart-config-area-BNigHUy8.js.map → chart-config-area-DxwIZ4Uf.js.map} +1 -1
- package/dist/client/chunks/{chart-config-bar-DSO_LRTx.js → chart-config-bar-Cc8GY9aQ.js} +5 -9
- package/dist/client/chunks/chart-config-bar-Cc8GY9aQ.js.map +1 -0
- package/dist/client/chunks/{chart-config-box-plot-oW8axV2q.js → chart-config-box-plot-Bs8ovYvV.js} +3 -8
- package/dist/client/chunks/chart-config-box-plot-Bs8ovYvV.js.map +1 -0
- package/dist/client/chunks/{chart-config-bubble-gIoqVyjZ.js → chart-config-bubble-BfgY7pt8.js} +1 -11
- package/dist/client/chunks/chart-config-bubble-BfgY7pt8.js.map +1 -0
- package/dist/client/chunks/{chart-config-candlestick-N6DchAA3.js → chart-config-candlestick-jaeNNEtC.js} +1 -11
- package/dist/client/chunks/chart-config-candlestick-jaeNNEtC.js.map +1 -0
- package/dist/client/chunks/{chart-config-data-table-d7VBY-y_.js → chart-config-data-table-CRk0C0rW.js} +1 -4
- package/dist/client/chunks/chart-config-data-table-CRk0C0rW.js.map +1 -0
- package/dist/client/chunks/{chart-config-funnel-DEYMcxsD.js → chart-config-funnel-boT_LNfl.js} +1 -4
- package/dist/client/chunks/chart-config-funnel-boT_LNfl.js.map +1 -0
- package/dist/client/chunks/{chart-config-gauge-Dq-_H9UN.js → chart-config-gauge-C5uJEr97.js} +3 -8
- package/dist/client/chunks/chart-config-gauge-C5uJEr97.js.map +1 -0
- package/dist/client/chunks/{chart-config-heat-map-CfRnRNcw.js → chart-config-heat-map-CCarP44-.js} +1 -11
- package/dist/client/chunks/chart-config-heat-map-CCarP44-.js.map +1 -0
- package/dist/client/chunks/{chart-config-kpi-delta-DSQbvqu_.js → chart-config-kpi-delta-DYopvwyG.js} +3 -8
- package/dist/client/chunks/chart-config-kpi-delta-DYopvwyG.js.map +1 -0
- package/dist/client/chunks/{chart-config-kpi-number-EFSWY1We.js → chart-config-kpi-number-BhMdoArB.js} +3 -8
- package/dist/client/chunks/chart-config-kpi-number-BhMdoArB.js.map +1 -0
- package/dist/client/chunks/{chart-config-kpi-text-KM3V5X2u.js → chart-config-kpi-text-DE6Zdi53.js} +3 -8
- package/dist/client/chunks/chart-config-kpi-text-DE6Zdi53.js.map +1 -0
- package/dist/client/chunks/{chart-config-line-D6jG8PCH.js → chart-config-line-CBfM0Rds.js} +6 -10
- package/dist/client/chunks/chart-config-line-CBfM0Rds.js.map +1 -0
- package/dist/client/chunks/{chart-config-markdown-BtRIe8JN.js → chart-config-markdown-BCDyBI8K.js} +1 -4
- package/dist/client/chunks/chart-config-markdown-BCDyBI8K.js.map +1 -0
- package/dist/client/chunks/{chart-config-measure-profile-DxRGa-zf.js → chart-config-measure-profile-BgQIH1u2.js} +1 -8
- package/dist/client/chunks/chart-config-measure-profile-BgQIH1u2.js.map +1 -0
- package/dist/client/chunks/{chart-config-pie-BhzW-fdn.js → chart-config-pie-ChfFz6DV.js} +5 -9
- package/dist/client/chunks/chart-config-pie-ChfFz6DV.js.map +1 -0
- package/dist/client/chunks/{chart-config-radar-D7REP1q_.js → chart-config-radar-BlAIGnww.js} +5 -9
- package/dist/client/chunks/chart-config-radar-BlAIGnww.js.map +1 -0
- package/dist/client/chunks/{chart-config-radial-bar-Byx6qOPU.js → chart-config-radial-bar-VFerwbCO.js} +5 -9
- package/dist/client/chunks/chart-config-radial-bar-VFerwbCO.js.map +1 -0
- package/dist/client/chunks/{chart-config-sankey-BTnWA7EW.js → chart-config-sankey-BhrDxIgj.js} +1 -4
- package/dist/client/chunks/chart-config-sankey-BhrDxIgj.js.map +1 -0
- package/dist/client/chunks/{chart-config-scatter-DSYTjwRb.js → chart-config-scatter-q_olh54e.js} +1 -11
- package/dist/client/chunks/chart-config-scatter-q_olh54e.js.map +1 -0
- package/dist/client/chunks/{chart-config-sunburst-Bwjtdf7X.js → chart-config-sunburst-BOmkOnKn.js} +1 -4
- package/dist/client/chunks/chart-config-sunburst-BOmkOnKn.js.map +1 -0
- package/dist/client/chunks/{chart-config-tree-map-DVrvf3yQ.js → chart-config-tree-map-BjX88YBY.js} +5 -9
- package/dist/client/chunks/chart-config-tree-map-BjX88YBY.js.map +1 -0
- package/dist/client/chunks/{chart-config-waterfall-DmFeQdIk.js → chart-config-waterfall-QsWXVSoF.js} +3 -8
- package/dist/client/chunks/chart-config-waterfall-QsWXVSoF.js.map +1 -0
- package/dist/client/chunks/{chart-data-table-CKauQXme.js → chart-data-table-D4g5_jfF.js} +1277 -1094
- package/dist/client/chunks/chart-data-table-D4g5_jfF.js.map +1 -0
- package/dist/client/chunks/{chart-kpi-delta-Dn-jjO-2.js → chart-kpi-delta-BvWOt8-D.js} +2 -2
- package/dist/client/chunks/{chart-kpi-delta-Dn-jjO-2.js.map → chart-kpi-delta-BvWOt8-D.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-number-P_WBiO5S.js → chart-kpi-number-xgZmMiQY.js} +3 -3
- package/dist/client/chunks/{chart-kpi-number-P_WBiO5S.js.map → chart-kpi-number-xgZmMiQY.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-text-C-Y4eb5H.js → chart-kpi-text-ZO3eFi7t.js} +2 -2
- package/dist/client/chunks/{chart-kpi-text-C-Y4eb5H.js.map → chart-kpi-text-ZO3eFi7t.js.map} +1 -1
- package/dist/client/chunks/{charts-loader-DdTeCeNo.js → charts-loader-B0DOQMFH.js} +6 -6
- package/dist/client/chunks/{charts-loader-DdTeCeNo.js.map → charts-loader-B0DOQMFH.js.map} +1 -1
- package/dist/client/chunks/{schema-visualization-Cb_E9_Gd.js → schema-visualization-DJPTktM6.js} +2 -2
- package/dist/client/chunks/{schema-visualization-Cb_E9_Gd.js.map → schema-visualization-DJPTktM6.js.map} +1 -1
- package/dist/client/chunks/{useDirtyStateTracking-MbpxH_v6.js → useDirtyStateTracking-BY_IIG1n.js} +2 -2
- package/dist/client/chunks/{useDirtyStateTracking-MbpxH_v6.js.map → useDirtyStateTracking-BY_IIG1n.js.map} +1 -1
- package/dist/client/chunks/{useExplainAI-evnZkjCY.js → useExplainAI-PjMBmj2p.js} +4 -4
- package/dist/client/chunks/{useExplainAI-evnZkjCY.js.map → useExplainAI-PjMBmj2p.js.map} +1 -1
- package/dist/client/chunks/{utils-3P6z1vz5.js → utils-Cq-j5E5I.js} +2 -2
- package/dist/client/chunks/{utils-3P6z1vz5.js.map → utils-Cq-j5E5I.js.map} +1 -1
- package/dist/client/chunks/{vendor-DSpR0IW6.js → vendor-D4jADu8t.js} +2 -2
- package/dist/client/chunks/{vendor-DSpR0IW6.js.map → vendor-D4jADu8t.js.map} +1 -1
- package/dist/client/components/AIAssistant/index.d.ts +2 -2
- package/dist/client/components/charts/ActivityGridChart.config.d.ts +6 -1
- package/dist/client/components/charts/AreaChart.config.d.ts +6 -1
- package/dist/client/components/charts/BarChart.config.d.ts +6 -1
- package/dist/client/components/charts/BoxPlotChart.config.d.ts +6 -1
- package/dist/client/components/charts/BubbleChart.config.d.ts +6 -1
- package/dist/client/components/charts/CandlestickChart.config.d.ts +6 -1
- package/dist/client/components/charts/DataTable.config.d.ts +6 -1
- package/dist/client/components/charts/FunnelChart.config.d.ts +5 -0
- package/dist/client/components/charts/GaugeChart.config.d.ts +6 -1
- package/dist/client/components/charts/HeatMapChart.config.d.ts +6 -1
- package/dist/client/components/charts/KpiDelta.config.d.ts +6 -1
- package/dist/client/components/charts/KpiNumber.config.d.ts +6 -1
- package/dist/client/components/charts/KpiText.config.d.ts +6 -1
- package/dist/client/components/charts/LineChart.config.d.ts +6 -1
- package/dist/client/components/charts/MarkdownChart.config.d.ts +6 -1
- package/dist/client/components/charts/MeasureProfileChart.config.d.ts +6 -1
- package/dist/client/components/charts/PieChart.config.d.ts +6 -1
- package/dist/client/components/charts/RadarChart.config.d.ts +6 -1
- package/dist/client/components/charts/RadialBarChart.config.d.ts +6 -1
- package/dist/client/components/charts/SankeyChart.config.d.ts +5 -0
- package/dist/client/components/charts/ScatterChart.config.d.ts +6 -1
- package/dist/client/components/charts/SunburstChart.config.d.ts +5 -0
- package/dist/client/components/charts/TreeMapChart.config.d.ts +6 -1
- package/dist/client/components/charts/WaterfallChart.config.d.ts +6 -1
- package/dist/client/components.js +2 -2
- package/dist/client/hooks/analysisQueryExecutionModes.d.ts +1 -1
- package/dist/client/hooks/useAnalysisEffects.d.ts +33 -0
- package/dist/{cjs/client/hooks/useAnalysisQueryExecution.d.ts → client/hooks/useAnalysisQuery.d.ts} +3 -3
- package/dist/client/hooks/useAnalysisState.d.ts +165 -0
- package/dist/client/hooks.js +3 -3
- package/dist/client/icons/registry.d.ts +0 -6
- package/dist/client/icons/types.d.ts +5 -0
- package/dist/client/icons.js +1 -1
- package/dist/client/index.js +9 -9
- package/dist/client/providers.js +1 -1
- package/dist/client/schema.js +1 -1
- package/dist/client/utils.js +3 -3
- package/dist/client-bundle-stats.html +1 -1
- package/dist/mcp-app/mcp-app.html +34 -34
- package/dist/server/chartConfigHelpers-CcvqrIWF.js +72 -0
- package/dist/server/chartConfigHelpers-DHQB-_v5.cjs +1 -0
- package/dist/server/index.cjs +68 -68
- package/dist/server/index.js +3800 -3728
- package/dist/server/{openai-D-6l1Y8h.cjs → openai-B4kAJTSD.cjs} +1 -1
- package/dist/server/{openai-DTSTMiXL.cjs → openai-Cdf2wWZA.cjs} +1 -1
- package/dist/server/{openai-CmVRIbUg.js → openai-CmMzrs1Y.js} +1 -1
- package/dist/server/{openai-CtXqeznO.js → openai-DhzGY9R4.js} +1 -1
- package/package.json +12 -2
- package/dist/adapters/handler-OwxSBJH8.cjs +0 -25
- package/dist/adapters/hono/mcp-handler.d.ts +0 -37
- package/dist/adapters/mcp-transport-B7ddET3M.cjs +0 -40
- package/dist/adapters/mcp-transport-Dfuj4j4q.js +0 -591
- package/dist/cjs/adapters/hono/mcp-handler.d.ts +0 -37
- package/dist/cjs/client/hooks/useAnalysisAI.d.ts +0 -56
- package/dist/cjs/client/hooks/useAnalysisChartDefaults.d.ts +0 -35
- package/dist/cjs/client/hooks/useAnalysisCombinedFields.d.ts +0 -18
- package/dist/cjs/client/hooks/useAnalysisInitialization.d.ts +0 -25
- package/dist/cjs/client/hooks/useAnalysisQueryBuilder.d.ts +0 -32
- package/dist/cjs/client/hooks/useAnalysisShare.d.ts +0 -18
- package/dist/cjs/client/hooks/useAnalysisUIState.d.ts +0 -24
- package/dist/client/chunks/analysis-builder-DB88FojM.js.map +0 -1
- package/dist/client/chunks/analysis-builder-shared-BVK4TYfR.js.map +0 -1
- package/dist/client/chunks/chart-config-activity-grid-D_UX4NHC.js.map +0 -1
- package/dist/client/chunks/chart-config-bar-DSO_LRTx.js.map +0 -1
- package/dist/client/chunks/chart-config-box-plot-oW8axV2q.js.map +0 -1
- package/dist/client/chunks/chart-config-bubble-gIoqVyjZ.js.map +0 -1
- package/dist/client/chunks/chart-config-candlestick-N6DchAA3.js.map +0 -1
- package/dist/client/chunks/chart-config-data-table-d7VBY-y_.js.map +0 -1
- package/dist/client/chunks/chart-config-funnel-DEYMcxsD.js.map +0 -1
- package/dist/client/chunks/chart-config-gauge-Dq-_H9UN.js.map +0 -1
- package/dist/client/chunks/chart-config-heat-map-CfRnRNcw.js.map +0 -1
- package/dist/client/chunks/chart-config-kpi-delta-DSQbvqu_.js.map +0 -1
- package/dist/client/chunks/chart-config-kpi-number-EFSWY1We.js.map +0 -1
- package/dist/client/chunks/chart-config-kpi-text-KM3V5X2u.js.map +0 -1
- package/dist/client/chunks/chart-config-line-D6jG8PCH.js.map +0 -1
- package/dist/client/chunks/chart-config-markdown-BtRIe8JN.js.map +0 -1
- package/dist/client/chunks/chart-config-measure-profile-DxRGa-zf.js.map +0 -1
- package/dist/client/chunks/chart-config-pie-BhzW-fdn.js.map +0 -1
- package/dist/client/chunks/chart-config-radar-D7REP1q_.js.map +0 -1
- package/dist/client/chunks/chart-config-radial-bar-Byx6qOPU.js.map +0 -1
- package/dist/client/chunks/chart-config-sankey-BTnWA7EW.js.map +0 -1
- package/dist/client/chunks/chart-config-scatter-DSYTjwRb.js.map +0 -1
- package/dist/client/chunks/chart-config-sunburst-Bwjtdf7X.js.map +0 -1
- package/dist/client/chunks/chart-config-tree-map-DVrvf3yQ.js.map +0 -1
- package/dist/client/chunks/chart-config-waterfall-DmFeQdIk.js.map +0 -1
- package/dist/client/chunks/chart-data-table-CKauQXme.js.map +0 -1
- package/dist/client/hooks/useAnalysisAI.d.ts +0 -56
- package/dist/client/hooks/useAnalysisChartDefaults.d.ts +0 -35
- package/dist/client/hooks/useAnalysisCombinedFields.d.ts +0 -18
- package/dist/client/hooks/useAnalysisInitialization.d.ts +0 -25
- package/dist/client/hooks/useAnalysisQueryBuilder.d.ts +0 -32
- package/dist/client/hooks/useAnalysisShare.d.ts +0 -18
- package/dist/client/hooks/useAnalysisUIState.d.ts +0 -24
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { i as e, n as t } from "./rolldown-runtime-CWhphoD1.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { n as
|
|
5
|
-
import { n as
|
|
6
|
-
import { n as
|
|
7
|
-
import { n as
|
|
8
|
-
import { n as
|
|
9
|
-
import { n as
|
|
10
|
-
import { n as
|
|
11
|
-
import { n as
|
|
12
|
-
import { n as
|
|
13
|
-
import { n as
|
|
14
|
-
import { n as
|
|
15
|
-
import { n as
|
|
16
|
-
import { n as
|
|
17
|
-
import { n as
|
|
18
|
-
import { n as
|
|
19
|
-
import { n as
|
|
20
|
-
import { n as
|
|
21
|
-
import { n as
|
|
22
|
-
import { n as
|
|
23
|
-
import { n as
|
|
24
|
-
import { n as
|
|
25
|
-
import { n as
|
|
26
|
-
import { n as
|
|
2
|
+
import { a as n, n as r, o as i } from "./chart-config-area-DxwIZ4Uf.js";
|
|
3
|
+
import { E as a, F as o, I as s, P as c, R as l, w as u, z as d } from "./chart-activity-grid-DX0SJbxs.js";
|
|
4
|
+
import { n as f } from "./chart-config-bar-Cc8GY9aQ.js";
|
|
5
|
+
import { n as p } from "./chart-config-line-CBfM0Rds.js";
|
|
6
|
+
import { n as m } from "./chart-config-pie-ChfFz6DV.js";
|
|
7
|
+
import { n as h } from "./chart-config-scatter-q_olh54e.js";
|
|
8
|
+
import { n as g } from "./chart-config-bubble-BfgY7pt8.js";
|
|
9
|
+
import { n as _ } from "./chart-config-radar-BlAIGnww.js";
|
|
10
|
+
import { n as v } from "./chart-config-radial-bar-VFerwbCO.js";
|
|
11
|
+
import { n as ee } from "./chart-config-tree-map-BjX88YBY.js";
|
|
12
|
+
import { n as y } from "./chart-config-data-table-CRk0C0rW.js";
|
|
13
|
+
import { n as b } from "./chart-config-activity-grid-BU_bkvER.js";
|
|
14
|
+
import { n as te } from "./chart-config-kpi-number-BhMdoArB.js";
|
|
15
|
+
import { n as ne } from "./chart-config-kpi-delta-DYopvwyG.js";
|
|
16
|
+
import { n as re } from "./chart-config-kpi-text-DE6Zdi53.js";
|
|
17
|
+
import { n as ie } from "./chart-config-markdown-BCDyBI8K.js";
|
|
18
|
+
import { n as ae } from "./chart-config-funnel-boT_LNfl.js";
|
|
19
|
+
import { n as oe } from "./chart-config-sankey-BhrDxIgj.js";
|
|
20
|
+
import { n as se } from "./chart-config-sunburst-BOmkOnKn.js";
|
|
21
|
+
import { n as ce } from "./chart-config-heat-map-CCarP44-.js";
|
|
22
|
+
import { n as le } from "./chart-config-box-plot-Bs8ovYvV.js";
|
|
23
|
+
import { n as ue } from "./chart-config-waterfall-QsWXVSoF.js";
|
|
24
|
+
import { n as de } from "./chart-config-candlestick-jaeNNEtC.js";
|
|
25
|
+
import { n as fe } from "./chart-config-measure-profile-BgQIH1u2.js";
|
|
26
|
+
import { n as pe } from "./chart-config-gauge-C5uJEr97.js";
|
|
27
27
|
import * as x from "react";
|
|
28
|
-
import
|
|
29
|
-
import { jsx as
|
|
28
|
+
import me, { createContext as he, createElement as ge, forwardRef as _e, lazy as ve, useCallback as ye, useContext as be, useEffect as S, useMemo as C, useRef as xe, useState as w } from "react";
|
|
29
|
+
import { jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
30
30
|
//#region src/client/charts/chartConfigs.ts
|
|
31
|
-
var
|
|
31
|
+
var D = {
|
|
32
32
|
dropZones: [
|
|
33
33
|
{
|
|
34
34
|
key: "xAxis",
|
|
@@ -60,91 +60,325 @@ var ye = {
|
|
|
60
60
|
"showGrid",
|
|
61
61
|
"showTooltip"
|
|
62
62
|
]
|
|
63
|
-
},
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
pie:
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
},
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
63
|
+
}, O = {
|
|
64
|
+
packageName: "recharts",
|
|
65
|
+
installCommand: "npm install recharts"
|
|
66
|
+
}, Se = {
|
|
67
|
+
bar: {
|
|
68
|
+
label: "chart.bar.label",
|
|
69
|
+
icon: "chartBar",
|
|
70
|
+
description: "chart.bar.description",
|
|
71
|
+
useCase: "chart.bar.useCase",
|
|
72
|
+
isAvailable: i,
|
|
73
|
+
dependencies: O,
|
|
74
|
+
config: async () => (await import("./chart-config-bar-Cc8GY9aQ.js").then((e) => e.t)).barChartConfig
|
|
75
|
+
},
|
|
76
|
+
line: {
|
|
77
|
+
label: "chart.line.label",
|
|
78
|
+
icon: "chartLine",
|
|
79
|
+
description: "chart.line.description",
|
|
80
|
+
useCase: "chart.line.useCase",
|
|
81
|
+
isAvailable: i,
|
|
82
|
+
dependencies: O,
|
|
83
|
+
config: async () => (await import("./chart-config-line-CBfM0Rds.js").then((e) => e.t)).lineChartConfig
|
|
84
|
+
},
|
|
85
|
+
area: {
|
|
86
|
+
label: "chart.area.label",
|
|
87
|
+
icon: "chartArea",
|
|
88
|
+
description: "chart.area.description",
|
|
89
|
+
useCase: "chart.area.useCase",
|
|
90
|
+
isAvailable: i,
|
|
91
|
+
dependencies: O,
|
|
92
|
+
config: async () => (await import("./chart-config-area-DxwIZ4Uf.js").then((e) => e.t)).areaChartConfig
|
|
93
|
+
},
|
|
94
|
+
pie: {
|
|
95
|
+
label: "chart.pie.label",
|
|
96
|
+
icon: "chartPie",
|
|
97
|
+
description: "chart.pie.description",
|
|
98
|
+
useCase: "chart.pie.useCase",
|
|
99
|
+
isAvailable: i,
|
|
100
|
+
dependencies: O,
|
|
101
|
+
config: async () => (await import("./chart-config-pie-ChfFz6DV.js").then((e) => e.t)).pieChartConfig
|
|
102
|
+
},
|
|
103
|
+
scatter: {
|
|
104
|
+
label: "chart.scatter.label",
|
|
105
|
+
icon: "chartScatter",
|
|
106
|
+
description: "chart.scatter.description",
|
|
107
|
+
useCase: "chart.scatter.useCase",
|
|
108
|
+
isAvailable: ({ measureCount: e, dimensionCount: t }) => e < 1 ? {
|
|
109
|
+
available: !1,
|
|
110
|
+
reason: "chart.availability.requiresMeasure"
|
|
111
|
+
} : e < 2 && t < 1 ? {
|
|
112
|
+
available: !1,
|
|
113
|
+
reason: "chart.availability.scatter"
|
|
114
|
+
} : { available: !0 },
|
|
115
|
+
dependencies: O,
|
|
116
|
+
config: async () => (await import("./chart-config-scatter-q_olh54e.js").then((e) => e.t)).scatterChartConfig
|
|
117
|
+
},
|
|
118
|
+
bubble: {
|
|
119
|
+
label: "chart.bubble.label",
|
|
120
|
+
icon: "chartBubble",
|
|
121
|
+
description: "chart.bubble.description",
|
|
122
|
+
useCase: "chart.bubble.useCase",
|
|
123
|
+
isAvailable: ({ measureCount: e, dimensionCount: t }) => e < 2 ? {
|
|
124
|
+
available: !1,
|
|
125
|
+
reason: "chart.availability.requiresTwoMeasures"
|
|
126
|
+
} : t < 1 ? {
|
|
127
|
+
available: !1,
|
|
128
|
+
reason: "chart.availability.bubble"
|
|
129
|
+
} : { available: !0 },
|
|
130
|
+
dependencies: O,
|
|
131
|
+
config: async () => (await import("./chart-config-bubble-BfgY7pt8.js").then((e) => e.t)).bubbleChartConfig
|
|
132
|
+
},
|
|
133
|
+
radar: {
|
|
134
|
+
label: "chart.radar.label",
|
|
135
|
+
icon: "chartRadar",
|
|
136
|
+
description: "chart.radar.description",
|
|
137
|
+
useCase: "chart.radar.useCase",
|
|
138
|
+
isAvailable: i,
|
|
139
|
+
dependencies: O,
|
|
140
|
+
config: async () => (await import("./chart-config-radar-BlAIGnww.js").then((e) => e.t)).radarChartConfig
|
|
141
|
+
},
|
|
142
|
+
radialBar: {
|
|
143
|
+
label: "chart.radialBar.label",
|
|
144
|
+
icon: "chartRadialBar",
|
|
145
|
+
description: "chart.radialBar.description",
|
|
146
|
+
useCase: "chart.radialBar.useCase",
|
|
147
|
+
isAvailable: i,
|
|
148
|
+
dependencies: O,
|
|
149
|
+
config: async () => (await import("./chart-config-radial-bar-VFerwbCO.js").then((e) => e.t)).radialBarChartConfig
|
|
150
|
+
},
|
|
151
|
+
treemap: {
|
|
152
|
+
label: "chart.treemap.label",
|
|
153
|
+
icon: "chartTreemap",
|
|
154
|
+
description: "chart.treemap.description",
|
|
155
|
+
useCase: "chart.treemap.useCase",
|
|
156
|
+
isAvailable: i,
|
|
157
|
+
dependencies: O,
|
|
158
|
+
config: async () => (await import("./chart-config-tree-map-BjX88YBY.js").then((e) => e.t)).treemapChartConfig
|
|
159
|
+
},
|
|
160
|
+
table: {
|
|
161
|
+
label: "chart.table.label",
|
|
162
|
+
icon: "chartTable",
|
|
163
|
+
description: "chart.table.description",
|
|
164
|
+
useCase: "chart.table.useCase",
|
|
165
|
+
config: async () => (await import("./chart-config-data-table-CRk0C0rW.js").then((e) => e.t)).dataTableConfig
|
|
166
|
+
},
|
|
167
|
+
activityGrid: {
|
|
168
|
+
label: "chart.activityGrid.label",
|
|
169
|
+
icon: "chartActivityGrid",
|
|
170
|
+
description: "chart.activityGrid.description",
|
|
171
|
+
useCase: "chart.activityGrid.useCase",
|
|
172
|
+
isAvailable: ({ measureCount: e, timeDimensionCount: t }) => e < 1 ? {
|
|
173
|
+
available: !1,
|
|
174
|
+
reason: "chart.availability.requiresMeasure"
|
|
175
|
+
} : t < 1 ? {
|
|
176
|
+
available: !1,
|
|
177
|
+
reason: "chart.availability.requiresTimeDimension"
|
|
178
|
+
} : { available: !0 },
|
|
179
|
+
config: async () => (await import("./chart-config-activity-grid-BU_bkvER.js").then((e) => e.t)).activityGridChartConfig
|
|
180
|
+
},
|
|
181
|
+
kpiNumber: {
|
|
182
|
+
label: "chart.kpiNumber.label",
|
|
183
|
+
icon: "chartKpiNumber",
|
|
184
|
+
description: "chart.kpiNumber.description",
|
|
185
|
+
useCase: "chart.kpiNumber.useCase",
|
|
186
|
+
isAvailable: n,
|
|
187
|
+
config: async () => (await import("./chart-config-kpi-number-BhMdoArB.js").then((e) => e.t)).kpiNumberConfig
|
|
188
|
+
},
|
|
189
|
+
kpiDelta: {
|
|
190
|
+
label: "chart.kpiDelta.label",
|
|
191
|
+
icon: "chartKpiDelta",
|
|
192
|
+
description: "chart.kpiDelta.description",
|
|
193
|
+
useCase: "chart.kpiDelta.useCase",
|
|
194
|
+
isAvailable: i,
|
|
195
|
+
config: async () => (await import("./chart-config-kpi-delta-DYopvwyG.js").then((e) => e.t)).kpiDeltaConfig
|
|
196
|
+
},
|
|
197
|
+
kpiText: {
|
|
198
|
+
label: "chart.kpiText.label",
|
|
199
|
+
icon: "chartKpiText",
|
|
200
|
+
description: "chart.kpiText.description",
|
|
201
|
+
useCase: "chart.kpiText.useCase",
|
|
202
|
+
isAvailable: n,
|
|
203
|
+
config: async () => (await import("./chart-config-kpi-text-DE6Zdi53.js").then((e) => e.t)).kpiTextConfig
|
|
204
|
+
},
|
|
205
|
+
markdown: {
|
|
206
|
+
label: "chart.markdown.label",
|
|
207
|
+
icon: "chartMarkdown",
|
|
208
|
+
description: "chart.markdown.description",
|
|
209
|
+
useCase: "chart.markdown.useCase",
|
|
210
|
+
config: async () => (await import("./chart-config-markdown-BCDyBI8K.js").then((e) => e.t)).markdownConfig
|
|
211
|
+
},
|
|
212
|
+
funnel: {
|
|
213
|
+
label: "chart.funnel.label",
|
|
214
|
+
icon: "chartFunnel",
|
|
215
|
+
description: "chart.funnel.description",
|
|
216
|
+
useCase: "chart.funnel.useCase",
|
|
217
|
+
dependencies: O,
|
|
218
|
+
config: async () => (await import("./chart-config-funnel-boT_LNfl.js").then((e) => e.t)).funnelChartConfig
|
|
219
|
+
},
|
|
220
|
+
sankey: {
|
|
221
|
+
label: "chart.sankey.label",
|
|
222
|
+
icon: "chartSankey",
|
|
223
|
+
description: "chart.sankey.description",
|
|
224
|
+
useCase: "chart.sankey.useCase",
|
|
225
|
+
dependencies: O,
|
|
226
|
+
config: async () => (await import("./chart-config-sankey-BhrDxIgj.js").then((e) => e.t)).sankeyChartConfig
|
|
227
|
+
},
|
|
228
|
+
sunburst: {
|
|
229
|
+
label: "chart.sunburst.label",
|
|
230
|
+
icon: "chartSunburst",
|
|
231
|
+
description: "chart.sunburst.description",
|
|
232
|
+
useCase: "chart.sunburst.useCase",
|
|
233
|
+
dependencies: O,
|
|
234
|
+
config: async () => (await import("./chart-config-sunburst-BOmkOnKn.js").then((e) => e.t)).sunburstChartConfig
|
|
235
|
+
},
|
|
236
|
+
heatmap: {
|
|
237
|
+
label: "chart.heatmap.label",
|
|
238
|
+
icon: "chartHeatmap",
|
|
239
|
+
description: "chart.heatmap.description",
|
|
240
|
+
useCase: "chart.heatmap.useCase",
|
|
241
|
+
isAvailable: ({ measureCount: e, dimensionCount: t }) => e < 1 ? {
|
|
242
|
+
available: !1,
|
|
243
|
+
reason: "chart.availability.requiresMeasure"
|
|
244
|
+
} : t < 2 ? {
|
|
245
|
+
available: !1,
|
|
246
|
+
reason: "chart.availability.requiresTwoDimensions"
|
|
247
|
+
} : { available: !0 },
|
|
248
|
+
dependencies: {
|
|
249
|
+
packageName: "@nivo/heatmap",
|
|
250
|
+
installCommand: "npm install @nivo/heatmap"
|
|
251
|
+
},
|
|
252
|
+
config: async () => (await import("./chart-config-heat-map-CCarP44-.js").then((e) => e.t)).heatmapChartConfig
|
|
253
|
+
},
|
|
254
|
+
retentionHeatmap: {
|
|
255
|
+
label: "chart.retentionHeatmap.label",
|
|
256
|
+
icon: "chartRetention",
|
|
257
|
+
description: "chart.retentionHeatmap.description",
|
|
258
|
+
useCase: "chart.retentionHeatmap.useCase",
|
|
259
|
+
config: async () => (await Promise.resolve().then(() => po)).retentionHeatmapConfig
|
|
260
|
+
},
|
|
261
|
+
retentionCombined: {
|
|
262
|
+
label: "chart.retentionCombined.label",
|
|
263
|
+
icon: "chartRetention",
|
|
264
|
+
description: "chart.retentionCombined.description",
|
|
265
|
+
useCase: "chart.retentionCombined.useCase",
|
|
266
|
+
config: async () => (await Promise.resolve().then(() => ho)).retentionCombinedConfig
|
|
267
|
+
},
|
|
268
|
+
boxPlot: {
|
|
269
|
+
label: "chart.boxPlot.label",
|
|
270
|
+
icon: "chartBoxPlot",
|
|
271
|
+
description: "chart.boxPlot.description",
|
|
272
|
+
useCase: "chart.boxPlot.useCase",
|
|
273
|
+
isAvailable: i,
|
|
274
|
+
config: async () => (await import("./chart-config-box-plot-Bs8ovYvV.js").then((e) => e.t)).boxPlotChartConfig
|
|
275
|
+
},
|
|
276
|
+
waterfall: {
|
|
277
|
+
label: "chart.waterfall.label",
|
|
278
|
+
icon: "chartWaterfall",
|
|
279
|
+
description: "chart.waterfall.description",
|
|
280
|
+
useCase: "chart.waterfall.useCase",
|
|
281
|
+
isAvailable: i,
|
|
282
|
+
dependencies: O,
|
|
283
|
+
config: async () => (await import("./chart-config-waterfall-QsWXVSoF.js").then((e) => e.t)).waterfallChartConfig
|
|
284
|
+
},
|
|
285
|
+
candlestick: {
|
|
286
|
+
label: "chart.candlestick.label",
|
|
287
|
+
icon: "chartCandlestick",
|
|
288
|
+
description: "chart.candlestick.description",
|
|
289
|
+
useCase: "chart.candlestick.useCase",
|
|
290
|
+
isAvailable: ({ measureCount: e, dimensionCount: t }) => e < 2 ? {
|
|
291
|
+
available: !1,
|
|
292
|
+
reason: "chart.availability.requiresTwoMeasures"
|
|
293
|
+
} : t < 1 ? {
|
|
294
|
+
available: !1,
|
|
295
|
+
reason: "chart.availability.requiresDimension"
|
|
296
|
+
} : { available: !0 },
|
|
297
|
+
config: async () => (await import("./chart-config-candlestick-jaeNNEtC.js").then((e) => e.t)).candlestickChartConfig
|
|
298
|
+
},
|
|
299
|
+
measureProfile: {
|
|
300
|
+
label: "chart.measureProfile.label",
|
|
301
|
+
icon: "chartMeasureProfile",
|
|
302
|
+
description: "chart.measureProfile.description",
|
|
303
|
+
useCase: "chart.measureProfile.useCase",
|
|
304
|
+
isAvailable: ({ measureCount: e }) => e < 2 ? {
|
|
305
|
+
available: !1,
|
|
306
|
+
reason: "chart.availability.requiresTwoMeasures"
|
|
307
|
+
} : { available: !0 },
|
|
308
|
+
dependencies: O,
|
|
309
|
+
config: async () => (await import("./chart-config-measure-profile-BgQIH1u2.js").then((e) => e.t)).measureProfileChartConfig
|
|
310
|
+
},
|
|
311
|
+
gauge: {
|
|
312
|
+
label: "chart.gauge.label",
|
|
313
|
+
icon: "chartGauge",
|
|
314
|
+
description: "chart.gauge.description",
|
|
315
|
+
useCase: "chart.gauge.useCase",
|
|
316
|
+
isAvailable: n,
|
|
317
|
+
dependencies: {
|
|
318
|
+
packageName: "d3-shape",
|
|
319
|
+
installCommand: "npm install d3-shape"
|
|
320
|
+
},
|
|
321
|
+
config: async () => (await import("./chart-config-gauge-C5uJEr97.js").then((e) => e.t)).gaugeChartConfig
|
|
322
|
+
}
|
|
323
|
+
}, Ce = /* @__PURE__ */ new Map();
|
|
324
|
+
function we(e) {
|
|
325
|
+
return Ce.get(e) ?? Se[e];
|
|
326
|
+
}
|
|
327
|
+
function Te(e, t) {
|
|
328
|
+
Ce.set(e, t);
|
|
329
|
+
}
|
|
330
|
+
function Ee(e) {
|
|
331
|
+
Ce.delete(e);
|
|
332
|
+
}
|
|
333
|
+
function De(e) {
|
|
334
|
+
return Ce.get(e);
|
|
335
|
+
}
|
|
336
|
+
function Oe(e, t) {
|
|
337
|
+
return {
|
|
338
|
+
...t,
|
|
339
|
+
label: e.label,
|
|
340
|
+
description: e.description,
|
|
341
|
+
useCase: e.useCase,
|
|
342
|
+
isAvailable: e.isAvailable
|
|
343
|
+
};
|
|
344
|
+
}
|
|
345
|
+
//#endregion
|
|
346
|
+
//#region src/client/charts/lazyChartConfigRegistry.ts
|
|
347
|
+
var k = /* @__PURE__ */ new Map();
|
|
348
|
+
async function A(e) {
|
|
349
|
+
if (k.has(e)) return k.get(e);
|
|
350
|
+
let t = we(e);
|
|
121
351
|
if (!t) return null;
|
|
122
352
|
try {
|
|
123
|
-
let n =
|
|
124
|
-
|
|
353
|
+
let n = await t.config();
|
|
354
|
+
if (n) {
|
|
355
|
+
let r = Oe(t, n);
|
|
356
|
+
return k.set(e, r), r;
|
|
357
|
+
}
|
|
358
|
+
return null;
|
|
125
359
|
} catch (t) {
|
|
126
360
|
return console.error(`Failed to load config for chart type: ${e}`, t), null;
|
|
127
361
|
}
|
|
128
362
|
}
|
|
129
|
-
function
|
|
130
|
-
return
|
|
363
|
+
function ke(e) {
|
|
364
|
+
return k.get(e) || D;
|
|
131
365
|
}
|
|
132
|
-
function
|
|
133
|
-
return
|
|
366
|
+
function Ae(e) {
|
|
367
|
+
return k.has(e);
|
|
134
368
|
}
|
|
135
|
-
function
|
|
136
|
-
let [t, n] =
|
|
137
|
-
return
|
|
369
|
+
function je(e) {
|
|
370
|
+
let [t, n] = w(e ? ke(e) : D), [r, i] = w(!1), [a, o] = w(!1);
|
|
371
|
+
return S(() => {
|
|
138
372
|
if (!e) {
|
|
139
|
-
n(
|
|
373
|
+
n(D), o(!1);
|
|
140
374
|
return;
|
|
141
375
|
}
|
|
142
|
-
if (
|
|
143
|
-
n(
|
|
376
|
+
if (k.has(e)) {
|
|
377
|
+
n(k.get(e)), o(!0);
|
|
144
378
|
return;
|
|
145
379
|
}
|
|
146
|
-
i(!0),
|
|
147
|
-
e ? (n(e), o(!0)) : (n(
|
|
380
|
+
i(!0), A(e).then((e) => {
|
|
381
|
+
e ? (n(e), o(!0)) : (n(D), o(!0));
|
|
148
382
|
}).finally(() => i(!1));
|
|
149
383
|
}, [e]), {
|
|
150
384
|
config: t,
|
|
@@ -152,34 +386,34 @@ function Te(e) {
|
|
|
152
386
|
loaded: a
|
|
153
387
|
};
|
|
154
388
|
}
|
|
155
|
-
async function
|
|
156
|
-
|
|
389
|
+
async function Me(e) {
|
|
390
|
+
k.has(e) || await A(e);
|
|
157
391
|
}
|
|
158
|
-
async function
|
|
159
|
-
await Promise.all(e.map(
|
|
392
|
+
async function Ne(e) {
|
|
393
|
+
await Promise.all(e.map(Me));
|
|
160
394
|
}
|
|
161
|
-
async function
|
|
162
|
-
let e = Object.keys(
|
|
163
|
-
await Promise.all(e.map(
|
|
395
|
+
async function Pe() {
|
|
396
|
+
let e = Object.keys(Se);
|
|
397
|
+
await Promise.all(e.map(A));
|
|
164
398
|
let t = {};
|
|
165
399
|
for (let n of e) {
|
|
166
|
-
let e =
|
|
400
|
+
let e = k.get(n);
|
|
167
401
|
e && (t[n] = e);
|
|
168
402
|
}
|
|
169
403
|
return t;
|
|
170
404
|
}
|
|
171
|
-
function
|
|
172
|
-
|
|
405
|
+
function Fe() {
|
|
406
|
+
k.clear();
|
|
173
407
|
}
|
|
174
|
-
function
|
|
175
|
-
|
|
408
|
+
function Ie(e, t) {
|
|
409
|
+
k.set(e, t);
|
|
176
410
|
}
|
|
177
|
-
function
|
|
178
|
-
|
|
411
|
+
function Le(e) {
|
|
412
|
+
k.delete(e);
|
|
179
413
|
}
|
|
180
414
|
//#endregion
|
|
181
415
|
//#region node_modules/@tanstack/query-core/build/modern/subscribable.js
|
|
182
|
-
var
|
|
416
|
+
var j = class {
|
|
183
417
|
constructor() {
|
|
184
418
|
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
|
|
185
419
|
}
|
|
@@ -193,7 +427,7 @@ var k = class {
|
|
|
193
427
|
}
|
|
194
428
|
onSubscribe() {}
|
|
195
429
|
onUnsubscribe() {}
|
|
196
|
-
},
|
|
430
|
+
}, Re = new class extends j {
|
|
197
431
|
#e;
|
|
198
432
|
#t;
|
|
199
433
|
#n;
|
|
@@ -230,13 +464,13 @@ var k = class {
|
|
|
230
464
|
isFocused() {
|
|
231
465
|
return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
|
|
232
466
|
}
|
|
233
|
-
}(),
|
|
467
|
+
}(), ze = {
|
|
234
468
|
setTimeout: (e, t) => setTimeout(e, t),
|
|
235
469
|
clearTimeout: (e) => clearTimeout(e),
|
|
236
470
|
setInterval: (e, t) => setInterval(e, t),
|
|
237
471
|
clearInterval: (e) => clearInterval(e)
|
|
238
|
-
},
|
|
239
|
-
#e =
|
|
472
|
+
}, M = new class {
|
|
473
|
+
#e = ze;
|
|
240
474
|
#t = !1;
|
|
241
475
|
setTimeoutProvider(e) {
|
|
242
476
|
process.env.NODE_ENV !== "production" && this.#t && e !== this.#e && console.error("[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.", {
|
|
@@ -257,34 +491,34 @@ var k = class {
|
|
|
257
491
|
this.#e.clearInterval(e);
|
|
258
492
|
}
|
|
259
493
|
}();
|
|
260
|
-
function
|
|
494
|
+
function Be(e) {
|
|
261
495
|
setTimeout(e, 0);
|
|
262
496
|
}
|
|
263
497
|
//#endregion
|
|
264
498
|
//#region node_modules/@tanstack/query-core/build/modern/utils.js
|
|
265
|
-
var
|
|
266
|
-
function
|
|
267
|
-
function
|
|
499
|
+
var Ve = typeof window > "u" || "Deno" in globalThis;
|
|
500
|
+
function N() {}
|
|
501
|
+
function He(e, t) {
|
|
268
502
|
return typeof e == "function" ? e(t) : e;
|
|
269
503
|
}
|
|
270
|
-
function
|
|
504
|
+
function Ue(e) {
|
|
271
505
|
return typeof e == "number" && e >= 0 && e !== Infinity;
|
|
272
506
|
}
|
|
273
|
-
function
|
|
507
|
+
function We(e, t) {
|
|
274
508
|
return Math.max(e + (t || 0) - Date.now(), 0);
|
|
275
509
|
}
|
|
276
|
-
function
|
|
510
|
+
function P(e, t) {
|
|
277
511
|
return typeof e == "function" ? e(t) : e;
|
|
278
512
|
}
|
|
279
|
-
function
|
|
513
|
+
function F(e, t) {
|
|
280
514
|
return typeof e == "function" ? e(t) : e;
|
|
281
515
|
}
|
|
282
|
-
function
|
|
516
|
+
function Ge(e, t) {
|
|
283
517
|
let { type: n = "all", exact: r, fetchStatus: i, predicate: a, queryKey: o, stale: s } = e;
|
|
284
518
|
if (o) {
|
|
285
519
|
if (r) {
|
|
286
|
-
if (t.queryHash !==
|
|
287
|
-
} else if (!
|
|
520
|
+
if (t.queryHash !== qe(o, t.options)) return !1;
|
|
521
|
+
} else if (!L(t.queryKey, o)) return !1;
|
|
288
522
|
}
|
|
289
523
|
if (n !== "all") {
|
|
290
524
|
let e = t.isActive();
|
|
@@ -292,98 +526,98 @@ function ze(e, t) {
|
|
|
292
526
|
}
|
|
293
527
|
return !(typeof s == "boolean" && t.isStale() !== s || i && i !== t.state.fetchStatus || a && !a(t));
|
|
294
528
|
}
|
|
295
|
-
function
|
|
529
|
+
function Ke(e, t) {
|
|
296
530
|
let { exact: n, status: r, predicate: i, mutationKey: a } = e;
|
|
297
531
|
if (a) {
|
|
298
532
|
if (!t.options.mutationKey) return !1;
|
|
299
533
|
if (n) {
|
|
300
|
-
if (
|
|
301
|
-
} else if (!
|
|
534
|
+
if (I(t.options.mutationKey) !== I(a)) return !1;
|
|
535
|
+
} else if (!L(t.options.mutationKey, a)) return !1;
|
|
302
536
|
}
|
|
303
537
|
return !(r && t.state.status !== r || i && !i(t));
|
|
304
538
|
}
|
|
305
|
-
function
|
|
306
|
-
return (t?.queryKeyHashFn ||
|
|
539
|
+
function qe(e, t) {
|
|
540
|
+
return (t?.queryKeyHashFn || I)(e);
|
|
307
541
|
}
|
|
308
|
-
function
|
|
309
|
-
return JSON.stringify(e, (e, t) =>
|
|
542
|
+
function I(e) {
|
|
543
|
+
return JSON.stringify(e, (e, t) => Qe(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
|
|
310
544
|
}
|
|
311
|
-
function
|
|
312
|
-
return e === t ? !0 : typeof e == typeof t && e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((n) =>
|
|
545
|
+
function L(e, t) {
|
|
546
|
+
return e === t ? !0 : typeof e == typeof t && e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((n) => L(e[n], t[n])) : !1;
|
|
313
547
|
}
|
|
314
|
-
var
|
|
315
|
-
function
|
|
548
|
+
var Je = Object.prototype.hasOwnProperty;
|
|
549
|
+
function Ye(e, t, n = 0) {
|
|
316
550
|
if (e === t) return e;
|
|
317
551
|
if (n > 500) return t;
|
|
318
|
-
let r =
|
|
319
|
-
if (!r && !(
|
|
552
|
+
let r = Ze(e) && Ze(t);
|
|
553
|
+
if (!r && !(Qe(e) && Qe(t))) return t;
|
|
320
554
|
let i = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), o = a.length, s = r ? Array(o) : {}, c = 0;
|
|
321
555
|
for (let l = 0; l < o; l++) {
|
|
322
556
|
let o = r ? l : a[l], u = e[o], d = t[o];
|
|
323
557
|
if (u === d) {
|
|
324
|
-
s[o] = u, (r ? l < i :
|
|
558
|
+
s[o] = u, (r ? l < i : Je.call(e, o)) && c++;
|
|
325
559
|
continue;
|
|
326
560
|
}
|
|
327
561
|
if (u === null || d === null || typeof u != "object" || typeof d != "object") {
|
|
328
562
|
s[o] = d;
|
|
329
563
|
continue;
|
|
330
564
|
}
|
|
331
|
-
let f =
|
|
565
|
+
let f = Ye(u, d, n + 1);
|
|
332
566
|
s[o] = f, f === u && c++;
|
|
333
567
|
}
|
|
334
568
|
return i === o && c === i ? e : s;
|
|
335
569
|
}
|
|
336
|
-
function
|
|
570
|
+
function Xe(e, t) {
|
|
337
571
|
if (!t || Object.keys(e).length !== Object.keys(t).length) return !1;
|
|
338
572
|
for (let n in e) if (e[n] !== t[n]) return !1;
|
|
339
573
|
return !0;
|
|
340
574
|
}
|
|
341
|
-
function
|
|
575
|
+
function Ze(e) {
|
|
342
576
|
return Array.isArray(e) && e.length === Object.keys(e).length;
|
|
343
577
|
}
|
|
344
|
-
function
|
|
345
|
-
if (
|
|
578
|
+
function Qe(e) {
|
|
579
|
+
if (!$e(e)) return !1;
|
|
346
580
|
let t = e.constructor;
|
|
347
581
|
if (t === void 0) return !0;
|
|
348
582
|
let n = t.prototype;
|
|
349
|
-
return !(
|
|
583
|
+
return !(!$e(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
|
|
350
584
|
}
|
|
351
|
-
function
|
|
585
|
+
function $e(e) {
|
|
352
586
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
353
587
|
}
|
|
354
|
-
function
|
|
588
|
+
function et(e) {
|
|
355
589
|
return new Promise((t) => {
|
|
356
|
-
|
|
590
|
+
M.setTimeout(t, e);
|
|
357
591
|
});
|
|
358
592
|
}
|
|
359
|
-
function
|
|
593
|
+
function tt(e, t, n) {
|
|
360
594
|
if (typeof n.structuralSharing == "function") return n.structuralSharing(e, t);
|
|
361
595
|
if (n.structuralSharing !== !1) {
|
|
362
596
|
if (process.env.NODE_ENV !== "production") try {
|
|
363
|
-
return
|
|
597
|
+
return Ye(e, t);
|
|
364
598
|
} catch (e) {
|
|
365
599
|
throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${e}`), e;
|
|
366
600
|
}
|
|
367
|
-
return
|
|
601
|
+
return Ye(e, t);
|
|
368
602
|
}
|
|
369
603
|
return t;
|
|
370
604
|
}
|
|
371
|
-
function
|
|
605
|
+
function nt(e, t, n = 0) {
|
|
372
606
|
let r = [...e, t];
|
|
373
607
|
return n && r.length > n ? r.slice(1) : r;
|
|
374
608
|
}
|
|
375
|
-
function
|
|
609
|
+
function rt(e, t, n = 0) {
|
|
376
610
|
let r = [t, ...e];
|
|
377
611
|
return n && r.length > n ? r.slice(0, -1) : r;
|
|
378
612
|
}
|
|
379
|
-
var
|
|
380
|
-
function
|
|
381
|
-
return process.env.NODE_ENV !== "production" && e.queryFn ===
|
|
613
|
+
var R = /* @__PURE__ */ Symbol();
|
|
614
|
+
function it(e, t) {
|
|
615
|
+
return process.env.NODE_ENV !== "production" && e.queryFn === R && console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`), !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === R ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
|
|
382
616
|
}
|
|
383
|
-
function
|
|
617
|
+
function at(e, t) {
|
|
384
618
|
return typeof e == "function" ? e(...t) : !!e;
|
|
385
619
|
}
|
|
386
|
-
function
|
|
620
|
+
function ot(e, t, n) {
|
|
387
621
|
let r = !1, i;
|
|
388
622
|
return Object.defineProperty(e, "signal", {
|
|
389
623
|
enumerable: !0,
|
|
@@ -392,8 +626,8 @@ function et(e, t, n) {
|
|
|
392
626
|
}
|
|
393
627
|
//#endregion
|
|
394
628
|
//#region node_modules/@tanstack/query-core/build/modern/environmentManager.js
|
|
395
|
-
var
|
|
396
|
-
let e = () =>
|
|
629
|
+
var z = /* @__PURE__ */ (() => {
|
|
630
|
+
let e = () => Ve;
|
|
397
631
|
return {
|
|
398
632
|
isServer() {
|
|
399
633
|
return e();
|
|
@@ -405,7 +639,7 @@ var L = /* @__PURE__ */ (() => {
|
|
|
405
639
|
})();
|
|
406
640
|
//#endregion
|
|
407
641
|
//#region node_modules/@tanstack/query-core/build/modern/thenable.js
|
|
408
|
-
function
|
|
642
|
+
function st() {
|
|
409
643
|
let e, t, n = new Promise((n, r) => {
|
|
410
644
|
e = n, t = r;
|
|
411
645
|
});
|
|
@@ -427,13 +661,13 @@ function tt() {
|
|
|
427
661
|
}
|
|
428
662
|
//#endregion
|
|
429
663
|
//#region node_modules/@tanstack/query-core/build/modern/notifyManager.js
|
|
430
|
-
var
|
|
431
|
-
function
|
|
664
|
+
var ct = Be;
|
|
665
|
+
function lt() {
|
|
432
666
|
let e = [], t = 0, n = (e) => {
|
|
433
667
|
e();
|
|
434
668
|
}, r = (e) => {
|
|
435
669
|
e();
|
|
436
|
-
}, i =
|
|
670
|
+
}, i = ct, a = (r) => {
|
|
437
671
|
t ? e.push(r) : i(() => {
|
|
438
672
|
n(r);
|
|
439
673
|
});
|
|
@@ -475,7 +709,7 @@ function rt() {
|
|
|
475
709
|
}
|
|
476
710
|
};
|
|
477
711
|
}
|
|
478
|
-
var
|
|
712
|
+
var B = lt(), V = new class extends j {
|
|
479
713
|
#e = !0;
|
|
480
714
|
#t;
|
|
481
715
|
#n;
|
|
@@ -509,28 +743,28 @@ var R = rt(), it = new class extends k {
|
|
|
509
743
|
}();
|
|
510
744
|
//#endregion
|
|
511
745
|
//#region node_modules/@tanstack/query-core/build/modern/retryer.js
|
|
512
|
-
function
|
|
746
|
+
function ut(e) {
|
|
513
747
|
return Math.min(1e3 * 2 ** e, 3e4);
|
|
514
748
|
}
|
|
515
|
-
function
|
|
516
|
-
return (e ?? "online") === "online" ?
|
|
749
|
+
function dt(e) {
|
|
750
|
+
return (e ?? "online") === "online" ? V.isOnline() : !0;
|
|
517
751
|
}
|
|
518
|
-
var
|
|
752
|
+
var ft = class extends Error {
|
|
519
753
|
constructor(e) {
|
|
520
754
|
super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;
|
|
521
755
|
}
|
|
522
756
|
};
|
|
523
|
-
function
|
|
524
|
-
let t = !1, n = 0, r, i =
|
|
757
|
+
function pt(e) {
|
|
758
|
+
let t = !1, n = 0, r, i = st(), a = () => i.status !== "pending", o = (t) => {
|
|
525
759
|
if (!a()) {
|
|
526
|
-
let n = new
|
|
760
|
+
let n = new ft(t);
|
|
527
761
|
f(n), e.onCancel?.(n);
|
|
528
762
|
}
|
|
529
763
|
}, s = () => {
|
|
530
764
|
t = !0;
|
|
531
765
|
}, c = () => {
|
|
532
766
|
t = !1;
|
|
533
|
-
}, l = () =>
|
|
767
|
+
}, l = () => Re.isFocused() && (e.networkMode === "always" || V.isOnline()) && e.canRun(), u = () => dt(e.networkMode) && e.canRun(), d = (e) => {
|
|
534
768
|
a() || (r?.(), i.resolve(e));
|
|
535
769
|
}, f = (e) => {
|
|
536
770
|
a() || (r?.(), i.reject(e));
|
|
@@ -550,12 +784,12 @@ function ct(e) {
|
|
|
550
784
|
}
|
|
551
785
|
Promise.resolve(r).then(d).catch((r) => {
|
|
552
786
|
if (a()) return;
|
|
553
|
-
let i = e.retry ?? (
|
|
787
|
+
let i = e.retry ?? (z.isServer() ? 0 : 3), o = e.retryDelay ?? ut, s = typeof o == "function" ? o(n, r) : o, c = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);
|
|
554
788
|
if (t || !c) {
|
|
555
789
|
f(r);
|
|
556
790
|
return;
|
|
557
791
|
}
|
|
558
|
-
n++, e.onFail?.(n, r),
|
|
792
|
+
n++, e.onFail?.(n, r), et(s).then(() => l() ? void 0 : p()).then(() => {
|
|
559
793
|
t ? f(r) : m();
|
|
560
794
|
});
|
|
561
795
|
});
|
|
@@ -573,34 +807,34 @@ function ct(e) {
|
|
|
573
807
|
}
|
|
574
808
|
//#endregion
|
|
575
809
|
//#region node_modules/@tanstack/query-core/build/modern/removable.js
|
|
576
|
-
var
|
|
810
|
+
var mt = class {
|
|
577
811
|
#e;
|
|
578
812
|
destroy() {
|
|
579
813
|
this.clearGcTimeout();
|
|
580
814
|
}
|
|
581
815
|
scheduleGc() {
|
|
582
|
-
this.clearGcTimeout(),
|
|
816
|
+
this.clearGcTimeout(), Ue(this.gcTime) && (this.#e = M.setTimeout(() => {
|
|
583
817
|
this.optionalRemove();
|
|
584
818
|
}, this.gcTime));
|
|
585
819
|
}
|
|
586
820
|
updateGcTime(e) {
|
|
587
|
-
this.gcTime = Math.max(this.gcTime || 0, e ?? (
|
|
821
|
+
this.gcTime = Math.max(this.gcTime || 0, e ?? (z.isServer() ? Infinity : 300 * 1e3));
|
|
588
822
|
}
|
|
589
823
|
clearGcTimeout() {
|
|
590
|
-
this.#e !== void 0 && (
|
|
824
|
+
this.#e !== void 0 && (M.clearTimeout(this.#e), this.#e = void 0);
|
|
591
825
|
}
|
|
592
826
|
};
|
|
593
827
|
//#endregion
|
|
594
828
|
//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
|
|
595
|
-
function
|
|
829
|
+
function ht(e) {
|
|
596
830
|
return { onFetch: (t, n) => {
|
|
597
831
|
let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {
|
|
598
832
|
pages: [],
|
|
599
833
|
pageParams: []
|
|
600
834
|
}, c = 0, l = async () => {
|
|
601
835
|
let n = !1, l = (e) => {
|
|
602
|
-
|
|
603
|
-
}, u =
|
|
836
|
+
ot(e, () => t.signal, () => n = !0);
|
|
837
|
+
}, u = it(t.options, t.fetchOptions), d = async (e, r, i) => {
|
|
604
838
|
if (n) return Promise.reject(t.signal.reason);
|
|
605
839
|
if (r == null && e.pages.length) return Promise.resolve(e);
|
|
606
840
|
let a = await u((() => {
|
|
@@ -612,14 +846,14 @@ function ut(e) {
|
|
|
612
846
|
meta: t.options.meta
|
|
613
847
|
};
|
|
614
848
|
return l(e), e;
|
|
615
|
-
})()), { maxPages: o } = t.options, s = i ?
|
|
849
|
+
})()), { maxPages: o } = t.options, s = i ? rt : nt;
|
|
616
850
|
return {
|
|
617
851
|
pages: s(e.pages, a, o),
|
|
618
852
|
pageParams: s(e.pageParams, r, o)
|
|
619
853
|
};
|
|
620
854
|
};
|
|
621
855
|
if (i && a.length) {
|
|
622
|
-
let e = i === "backward", t = e ?
|
|
856
|
+
let e = i === "backward", t = e ? _t : gt, n = {
|
|
623
857
|
pages: a,
|
|
624
858
|
pageParams: o
|
|
625
859
|
};
|
|
@@ -627,7 +861,7 @@ function ut(e) {
|
|
|
627
861
|
} else {
|
|
628
862
|
let t = e ?? a.length;
|
|
629
863
|
do {
|
|
630
|
-
let e = c === 0 ? o[0] ?? r.initialPageParam :
|
|
864
|
+
let e = c === 0 ? o[0] ?? r.initialPageParam : gt(r, s);
|
|
631
865
|
if (c > 0 && e == null) break;
|
|
632
866
|
s = await d(s, e), c++;
|
|
633
867
|
} while (c < t);
|
|
@@ -642,16 +876,16 @@ function ut(e) {
|
|
|
642
876
|
}, n) : t.fetchFn = l;
|
|
643
877
|
} };
|
|
644
878
|
}
|
|
645
|
-
function
|
|
879
|
+
function gt(e, { pages: t, pageParams: n }) {
|
|
646
880
|
let r = t.length - 1;
|
|
647
881
|
return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;
|
|
648
882
|
}
|
|
649
|
-
function
|
|
883
|
+
function _t(e, { pages: t, pageParams: n }) {
|
|
650
884
|
return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;
|
|
651
885
|
}
|
|
652
886
|
//#endregion
|
|
653
887
|
//#region node_modules/@tanstack/query-core/build/modern/query.js
|
|
654
|
-
var
|
|
888
|
+
var vt = class extends mt {
|
|
655
889
|
#e;
|
|
656
890
|
#t;
|
|
657
891
|
#n;
|
|
@@ -661,7 +895,7 @@ var pt = class extends lt {
|
|
|
661
895
|
#o;
|
|
662
896
|
#s;
|
|
663
897
|
constructor(e) {
|
|
664
|
-
super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t =
|
|
898
|
+
super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = xt(this.options), this.state = e.state ?? this.#t, this.scheduleGc();
|
|
665
899
|
}
|
|
666
900
|
get meta() {
|
|
667
901
|
return this.options.meta;
|
|
@@ -677,15 +911,15 @@ var pt = class extends lt {
|
|
|
677
911
|
...this.#o,
|
|
678
912
|
...e
|
|
679
913
|
}, e?._type && (this.#e = e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
|
|
680
|
-
let e =
|
|
681
|
-
e.data !== void 0 && (this.setState(
|
|
914
|
+
let e = xt(this.options);
|
|
915
|
+
e.data !== void 0 && (this.setState(bt(e.data, e.dataUpdatedAt)), this.#t = e);
|
|
682
916
|
}
|
|
683
917
|
}
|
|
684
918
|
optionalRemove() {
|
|
685
919
|
!this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);
|
|
686
920
|
}
|
|
687
921
|
setData(e, t) {
|
|
688
|
-
let n =
|
|
922
|
+
let n = tt(this.state.data, e, this.options);
|
|
689
923
|
return this.#l({
|
|
690
924
|
data: n,
|
|
691
925
|
type: "success",
|
|
@@ -701,7 +935,7 @@ var pt = class extends lt {
|
|
|
701
935
|
}
|
|
702
936
|
cancel(e) {
|
|
703
937
|
let t = this.#a?.promise;
|
|
704
|
-
return this.#a?.cancel(e), t ? t.then(
|
|
938
|
+
return this.#a?.cancel(e), t ? t.then(N).catch(N) : Promise.resolve();
|
|
705
939
|
}
|
|
706
940
|
destroy() {
|
|
707
941
|
super.destroy(), this.cancel({ silent: !0 });
|
|
@@ -713,22 +947,22 @@ var pt = class extends lt {
|
|
|
713
947
|
this.destroy(), this.setState(this.resetState);
|
|
714
948
|
}
|
|
715
949
|
isActive() {
|
|
716
|
-
return this.observers.some((e) =>
|
|
950
|
+
return this.observers.some((e) => F(e.options.enabled, this) !== !1);
|
|
717
951
|
}
|
|
718
952
|
isDisabled() {
|
|
719
|
-
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn ===
|
|
953
|
+
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === R || !this.isFetched();
|
|
720
954
|
}
|
|
721
955
|
isFetched() {
|
|
722
956
|
return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
|
|
723
957
|
}
|
|
724
958
|
isStatic() {
|
|
725
|
-
return this.getObserversCount() > 0 ? this.observers.some((e) =>
|
|
959
|
+
return this.getObserversCount() > 0 ? this.observers.some((e) => P(e.options.staleTime, this) === "static") : !1;
|
|
726
960
|
}
|
|
727
961
|
isStale() {
|
|
728
962
|
return this.getObserversCount() > 0 ? this.observers.some((e) => e.getCurrentResult().isStale) : this.state.data === void 0 || this.state.isInvalidated;
|
|
729
963
|
}
|
|
730
964
|
isStaleByTime(e = 0) {
|
|
731
|
-
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !
|
|
965
|
+
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !We(this.state.dataUpdatedAt, e);
|
|
732
966
|
}
|
|
733
967
|
onFocus() {
|
|
734
968
|
this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();
|
|
@@ -775,7 +1009,7 @@ var pt = class extends lt {
|
|
|
775
1009
|
get: () => (this.#s = !0, n.signal)
|
|
776
1010
|
});
|
|
777
1011
|
}, i = () => {
|
|
778
|
-
let e =
|
|
1012
|
+
let e = it(this.options, t), n = (() => {
|
|
779
1013
|
let e = {
|
|
780
1014
|
client: this.#i,
|
|
781
1015
|
queryKey: this.queryKey,
|
|
@@ -795,14 +1029,14 @@ var pt = class extends lt {
|
|
|
795
1029
|
};
|
|
796
1030
|
return r(e), e;
|
|
797
1031
|
})();
|
|
798
|
-
(this.#e === "infinite" ?
|
|
1032
|
+
(this.#e === "infinite" ? ht(this.options.pages) : this.options.behavior)?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#l({
|
|
799
1033
|
type: "fetch",
|
|
800
1034
|
meta: a.fetchOptions?.meta
|
|
801
|
-
}), this.#a =
|
|
1035
|
+
}), this.#a = pt({
|
|
802
1036
|
initialPromise: t?.initialPromise,
|
|
803
1037
|
fn: a.fetchFn,
|
|
804
1038
|
onCancel: (e) => {
|
|
805
|
-
e instanceof
|
|
1039
|
+
e instanceof ft && e.revert && this.setState({
|
|
806
1040
|
...this.#n,
|
|
807
1041
|
fetchStatus: "idle"
|
|
808
1042
|
}), n.abort();
|
|
@@ -830,7 +1064,7 @@ var pt = class extends lt {
|
|
|
830
1064
|
if (e === void 0) throw process.env.NODE_ENV !== "production" && console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`), Error(`${this.queryHash} data is undefined`);
|
|
831
1065
|
return this.setData(e), this.#r.config.onSuccess?.(e, this), this.#r.config.onSettled?.(e, this.state.error, this), e;
|
|
832
1066
|
} catch (e) {
|
|
833
|
-
if (e instanceof
|
|
1067
|
+
if (e instanceof ft) {
|
|
834
1068
|
if (e.silent) return this.#a.promise;
|
|
835
1069
|
if (e.revert) {
|
|
836
1070
|
if (this.state.data === void 0) throw e;
|
|
@@ -863,13 +1097,13 @@ var pt = class extends lt {
|
|
|
863
1097
|
};
|
|
864
1098
|
case "fetch": return {
|
|
865
1099
|
...t,
|
|
866
|
-
...
|
|
1100
|
+
...yt(t.data, this.options),
|
|
867
1101
|
fetchMeta: e.meta ?? null
|
|
868
1102
|
};
|
|
869
1103
|
case "success":
|
|
870
1104
|
let n = {
|
|
871
1105
|
...t,
|
|
872
|
-
...
|
|
1106
|
+
...bt(e.data, e.dataUpdatedAt),
|
|
873
1107
|
dataUpdateCount: t.dataUpdateCount + 1,
|
|
874
1108
|
...!e.manual && {
|
|
875
1109
|
fetchStatus: "idle",
|
|
@@ -901,7 +1135,7 @@ var pt = class extends lt {
|
|
|
901
1135
|
};
|
|
902
1136
|
}
|
|
903
1137
|
};
|
|
904
|
-
this.state = t(this.state),
|
|
1138
|
+
this.state = t(this.state), B.batch(() => {
|
|
905
1139
|
this.observers.forEach((e) => {
|
|
906
1140
|
e.onQueryUpdate();
|
|
907
1141
|
}), this.#r.notify({
|
|
@@ -912,18 +1146,18 @@ var pt = class extends lt {
|
|
|
912
1146
|
});
|
|
913
1147
|
}
|
|
914
1148
|
};
|
|
915
|
-
function
|
|
1149
|
+
function yt(e, t) {
|
|
916
1150
|
return {
|
|
917
1151
|
fetchFailureCount: 0,
|
|
918
1152
|
fetchFailureReason: null,
|
|
919
|
-
fetchStatus:
|
|
1153
|
+
fetchStatus: dt(t.networkMode) ? "fetching" : "paused",
|
|
920
1154
|
...e === void 0 && {
|
|
921
1155
|
error: null,
|
|
922
1156
|
status: "pending"
|
|
923
1157
|
}
|
|
924
1158
|
};
|
|
925
1159
|
}
|
|
926
|
-
function
|
|
1160
|
+
function bt(e, t) {
|
|
927
1161
|
return {
|
|
928
1162
|
data: e,
|
|
929
1163
|
dataUpdatedAt: t ?? Date.now(),
|
|
@@ -932,7 +1166,7 @@ function ht(e, t) {
|
|
|
932
1166
|
status: "success"
|
|
933
1167
|
};
|
|
934
1168
|
}
|
|
935
|
-
function
|
|
1169
|
+
function xt(e) {
|
|
936
1170
|
let t = typeof e.initialData == "function" ? e.initialData() : e.initialData, n = t !== void 0, r = n ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;
|
|
937
1171
|
return {
|
|
938
1172
|
data: t,
|
|
@@ -951,9 +1185,9 @@ function gt(e) {
|
|
|
951
1185
|
}
|
|
952
1186
|
//#endregion
|
|
953
1187
|
//#region node_modules/@tanstack/query-core/build/modern/queryObserver.js
|
|
954
|
-
var
|
|
1188
|
+
var St = class extends j {
|
|
955
1189
|
constructor(e, t) {
|
|
956
|
-
super(), this.options = t, this.#e = e, this.#s = null, this.#o =
|
|
1190
|
+
super(), this.options = t, this.#e = e, this.#s = null, this.#o = st(), this.bindMethods(), this.setOptions(t);
|
|
957
1191
|
}
|
|
958
1192
|
#e;
|
|
959
1193
|
#t = void 0;
|
|
@@ -974,36 +1208,36 @@ var _t = class extends k {
|
|
|
974
1208
|
this.refetch = this.refetch.bind(this);
|
|
975
1209
|
}
|
|
976
1210
|
onSubscribe() {
|
|
977
|
-
this.listeners.size === 1 && (this.#t.addObserver(this),
|
|
1211
|
+
this.listeners.size === 1 && (this.#t.addObserver(this), wt(this.#t, this.options) ? this.#h() : this.updateResult(), this.#y());
|
|
978
1212
|
}
|
|
979
1213
|
onUnsubscribe() {
|
|
980
1214
|
this.hasListeners() || this.destroy();
|
|
981
1215
|
}
|
|
982
1216
|
shouldFetchOnReconnect() {
|
|
983
|
-
return
|
|
1217
|
+
return Tt(this.#t, this.options, this.options.refetchOnReconnect);
|
|
984
1218
|
}
|
|
985
1219
|
shouldFetchOnWindowFocus() {
|
|
986
|
-
return
|
|
1220
|
+
return Tt(this.#t, this.options, this.options.refetchOnWindowFocus);
|
|
987
1221
|
}
|
|
988
1222
|
destroy() {
|
|
989
1223
|
this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);
|
|
990
1224
|
}
|
|
991
1225
|
setOptions(e) {
|
|
992
1226
|
let t = this.options, n = this.#t;
|
|
993
|
-
if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof
|
|
994
|
-
this.#S(), this.#t.setOptions(this.options), t._defaulted && !
|
|
1227
|
+
if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof F(this.options.enabled, this.#t) != "boolean") throw Error("Expected enabled to be a boolean or a callback that returns a boolean");
|
|
1228
|
+
this.#S(), this.#t.setOptions(this.options), t._defaulted && !Xe(this.options, t) && this.#e.getQueryCache().notify({
|
|
995
1229
|
type: "observerOptionsUpdated",
|
|
996
1230
|
query: this.#t,
|
|
997
1231
|
observer: this
|
|
998
1232
|
});
|
|
999
1233
|
let r = this.hasListeners();
|
|
1000
|
-
r &&
|
|
1234
|
+
r && Et(this.#t, n, this.options, t) && this.#h(), this.updateResult(), r && (this.#t !== n || F(this.options.enabled, this.#t) !== F(t.enabled, this.#t) || P(this.options.staleTime, this.#t) !== P(t.staleTime, this.#t)) && this.#g();
|
|
1001
1235
|
let i = this.#_();
|
|
1002
|
-
r && (this.#t !== n ||
|
|
1236
|
+
r && (this.#t !== n || F(this.options.enabled, this.#t) !== F(t.enabled, this.#t) || i !== this.#p) && this.#v(i);
|
|
1003
1237
|
}
|
|
1004
1238
|
getOptimisticResult(e) {
|
|
1005
1239
|
let t = this.#e.getQueryCache().build(this.#e, e), n = this.createResult(t, e);
|
|
1006
|
-
return
|
|
1240
|
+
return Ot(this, n) && (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
|
|
1007
1241
|
}
|
|
1008
1242
|
getCurrentResult() {
|
|
1009
1243
|
return this.#r;
|
|
@@ -1033,14 +1267,14 @@ var _t = class extends k {
|
|
|
1033
1267
|
#h(e) {
|
|
1034
1268
|
this.#S();
|
|
1035
1269
|
let t = this.#t.fetch(this.options, e);
|
|
1036
|
-
return e?.throwOnError || (t = t.catch(
|
|
1270
|
+
return e?.throwOnError || (t = t.catch(N)), t;
|
|
1037
1271
|
}
|
|
1038
1272
|
#g() {
|
|
1039
1273
|
this.#b();
|
|
1040
|
-
let e =
|
|
1041
|
-
if (
|
|
1042
|
-
let t =
|
|
1043
|
-
this.#d =
|
|
1274
|
+
let e = P(this.options.staleTime, this.#t);
|
|
1275
|
+
if (z.isServer() || this.#r.isStale || !Ue(e)) return;
|
|
1276
|
+
let t = We(this.#r.dataUpdatedAt, e) + 1;
|
|
1277
|
+
this.#d = M.setTimeout(() => {
|
|
1044
1278
|
this.#r.isStale || this.updateResult();
|
|
1045
1279
|
}, t);
|
|
1046
1280
|
}
|
|
@@ -1048,26 +1282,26 @@ var _t = class extends k {
|
|
|
1048
1282
|
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.#t) : this.options.refetchInterval) ?? !1;
|
|
1049
1283
|
}
|
|
1050
1284
|
#v(e) {
|
|
1051
|
-
this.#x(), this.#p = e, !(
|
|
1052
|
-
(this.options.refetchIntervalInBackground ||
|
|
1285
|
+
this.#x(), this.#p = e, !(z.isServer() || F(this.options.enabled, this.#t) === !1 || !Ue(this.#p) || this.#p === 0) && (this.#f = M.setInterval(() => {
|
|
1286
|
+
(this.options.refetchIntervalInBackground || Re.isFocused()) && this.#h();
|
|
1053
1287
|
}, this.#p));
|
|
1054
1288
|
}
|
|
1055
1289
|
#y() {
|
|
1056
1290
|
this.#g(), this.#v(this.#_());
|
|
1057
1291
|
}
|
|
1058
1292
|
#b() {
|
|
1059
|
-
this.#d !== void 0 && (
|
|
1293
|
+
this.#d !== void 0 && (M.clearTimeout(this.#d), this.#d = void 0);
|
|
1060
1294
|
}
|
|
1061
1295
|
#x() {
|
|
1062
|
-
this.#f !== void 0 && (
|
|
1296
|
+
this.#f !== void 0 && (M.clearInterval(this.#f), this.#f = void 0);
|
|
1063
1297
|
}
|
|
1064
1298
|
createResult(e, t) {
|
|
1065
1299
|
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;
|
|
1066
1300
|
if (t._optimisticResults) {
|
|
1067
|
-
let i = this.hasListeners(), a = !i &&
|
|
1301
|
+
let i = this.hasListeners(), a = !i && wt(e, t), o = i && Et(e, n, t, r);
|
|
1068
1302
|
(a || o) && (l = {
|
|
1069
1303
|
...l,
|
|
1070
|
-
...
|
|
1304
|
+
...yt(c.data, e.options)
|
|
1071
1305
|
}), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");
|
|
1072
1306
|
}
|
|
1073
1307
|
let { error: f, errorUpdatedAt: p, status: m } = l;
|
|
@@ -1075,11 +1309,11 @@ var _t = class extends k {
|
|
|
1075
1309
|
let h = !1;
|
|
1076
1310
|
if (t.placeholderData !== void 0 && d === void 0 && m === "pending") {
|
|
1077
1311
|
let e;
|
|
1078
|
-
i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#u?.state.data, this.#u) : t.placeholderData, e !== void 0 && (m = "success", d =
|
|
1312
|
+
i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#u?.state.data, this.#u) : t.placeholderData, e !== void 0 && (m = "success", d = tt(i?.data, e, t), u = !0);
|
|
1079
1313
|
}
|
|
1080
1314
|
if (t.select && d !== void 0 && !h) if (i && d === a?.data && t.select === this.#c) d = this.#l;
|
|
1081
1315
|
else try {
|
|
1082
|
-
this.#c = t.select, d = t.select(d), d =
|
|
1316
|
+
this.#c = t.select, d = t.select(d), d = tt(i?.data, d, t), this.#l = d, this.#s = null;
|
|
1083
1317
|
} catch (e) {
|
|
1084
1318
|
this.#s = e;
|
|
1085
1319
|
}
|
|
@@ -1107,16 +1341,16 @@ var _t = class extends k {
|
|
|
1107
1341
|
isPaused: l.fetchStatus === "paused",
|
|
1108
1342
|
isPlaceholderData: u,
|
|
1109
1343
|
isRefetchError: v && y,
|
|
1110
|
-
isStale:
|
|
1344
|
+
isStale: Dt(e, t),
|
|
1111
1345
|
refetch: this.refetch,
|
|
1112
1346
|
promise: this.#o,
|
|
1113
|
-
isEnabled:
|
|
1347
|
+
isEnabled: F(t.enabled, e) !== !1
|
|
1114
1348
|
};
|
|
1115
1349
|
if (this.options.experimental_prefetchInRender) {
|
|
1116
1350
|
let t = b.data !== void 0, r = b.status === "error" && !t, i = (e) => {
|
|
1117
1351
|
r ? e.reject(b.error) : t && e.resolve(b.data);
|
|
1118
1352
|
}, a = () => {
|
|
1119
|
-
i(this.#o = b.promise =
|
|
1353
|
+
i(this.#o = b.promise = st());
|
|
1120
1354
|
}, o = this.#o;
|
|
1121
1355
|
switch (o.status) {
|
|
1122
1356
|
case "pending":
|
|
@@ -1134,7 +1368,7 @@ var _t = class extends k {
|
|
|
1134
1368
|
}
|
|
1135
1369
|
updateResult() {
|
|
1136
1370
|
let e = this.#r, t = this.createResult(this.#t, this.options);
|
|
1137
|
-
this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#u = this.#t), !
|
|
1371
|
+
this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#u = this.#t), !Xe(t, e) && (this.#r = t, this.#C({ listeners: (() => {
|
|
1138
1372
|
if (!e) return !0;
|
|
1139
1373
|
let { notifyOnChangeProps: t } = this.options, n = typeof t == "function" ? t() : t;
|
|
1140
1374
|
if (n === "all" || !n && !this.#m.size) return !0;
|
|
@@ -1155,7 +1389,7 @@ var _t = class extends k {
|
|
|
1155
1389
|
this.updateResult(), this.hasListeners() && this.#y();
|
|
1156
1390
|
}
|
|
1157
1391
|
#C(e) {
|
|
1158
|
-
|
|
1392
|
+
B.batch(() => {
|
|
1159
1393
|
e.listeners && this.listeners.forEach((e) => {
|
|
1160
1394
|
e(this.#r);
|
|
1161
1395
|
}), this.#e.getQueryCache().notify({
|
|
@@ -1165,37 +1399,37 @@ var _t = class extends k {
|
|
|
1165
1399
|
});
|
|
1166
1400
|
}
|
|
1167
1401
|
};
|
|
1168
|
-
function
|
|
1169
|
-
return
|
|
1402
|
+
function Ct(e, t) {
|
|
1403
|
+
return F(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && F(t.retryOnMount, e) === !1);
|
|
1170
1404
|
}
|
|
1171
|
-
function
|
|
1172
|
-
return
|
|
1405
|
+
function wt(e, t) {
|
|
1406
|
+
return Ct(e, t) || e.state.data !== void 0 && Tt(e, t, t.refetchOnMount);
|
|
1173
1407
|
}
|
|
1174
|
-
function
|
|
1175
|
-
if (
|
|
1408
|
+
function Tt(e, t, n) {
|
|
1409
|
+
if (F(t.enabled, e) !== !1 && P(t.staleTime, e) !== "static") {
|
|
1176
1410
|
let r = typeof n == "function" ? n(e) : n;
|
|
1177
|
-
return r === "always" || r !== !1 &&
|
|
1411
|
+
return r === "always" || r !== !1 && Dt(e, t);
|
|
1178
1412
|
}
|
|
1179
1413
|
return !1;
|
|
1180
1414
|
}
|
|
1181
|
-
function
|
|
1182
|
-
return (e !== t ||
|
|
1415
|
+
function Et(e, t, n, r) {
|
|
1416
|
+
return (e !== t || F(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && Dt(e, n);
|
|
1183
1417
|
}
|
|
1184
|
-
function
|
|
1185
|
-
return
|
|
1418
|
+
function Dt(e, t) {
|
|
1419
|
+
return F(t.enabled, e) !== !1 && e.isStaleByTime(P(t.staleTime, e));
|
|
1186
1420
|
}
|
|
1187
|
-
function
|
|
1188
|
-
return !
|
|
1421
|
+
function Ot(e, t) {
|
|
1422
|
+
return !Xe(e.getCurrentResult(), t);
|
|
1189
1423
|
}
|
|
1190
1424
|
//#endregion
|
|
1191
1425
|
//#region node_modules/@tanstack/query-core/build/modern/mutation.js
|
|
1192
|
-
var
|
|
1426
|
+
var kt = class extends mt {
|
|
1193
1427
|
#e;
|
|
1194
1428
|
#t;
|
|
1195
1429
|
#n;
|
|
1196
1430
|
#r;
|
|
1197
1431
|
constructor(e) {
|
|
1198
|
-
super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state ||
|
|
1432
|
+
super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || At(), this.setOptions(e.options), this.scheduleGc();
|
|
1199
1433
|
}
|
|
1200
1434
|
setOptions(e) {
|
|
1201
1435
|
this.options = e, this.updateGcTime(this.options.gcTime);
|
|
@@ -1231,7 +1465,7 @@ var wt = class extends lt {
|
|
|
1231
1465
|
meta: this.options.meta,
|
|
1232
1466
|
mutationKey: this.options.mutationKey
|
|
1233
1467
|
};
|
|
1234
|
-
this.#r =
|
|
1468
|
+
this.#r = pt({
|
|
1235
1469
|
fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),
|
|
1236
1470
|
onFail: (e, t) => {
|
|
1237
1471
|
this.#i({
|
|
@@ -1348,7 +1582,7 @@ var wt = class extends lt {
|
|
|
1348
1582
|
};
|
|
1349
1583
|
}
|
|
1350
1584
|
};
|
|
1351
|
-
this.state = t(this.state),
|
|
1585
|
+
this.state = t(this.state), B.batch(() => {
|
|
1352
1586
|
this.#t.forEach((t) => {
|
|
1353
1587
|
t.onMutationUpdate(e);
|
|
1354
1588
|
}), this.#n.notify({
|
|
@@ -1359,7 +1593,7 @@ var wt = class extends lt {
|
|
|
1359
1593
|
});
|
|
1360
1594
|
}
|
|
1361
1595
|
};
|
|
1362
|
-
function
|
|
1596
|
+
function At() {
|
|
1363
1597
|
return {
|
|
1364
1598
|
context: void 0,
|
|
1365
1599
|
data: void 0,
|
|
@@ -1374,7 +1608,7 @@ function Tt() {
|
|
|
1374
1608
|
}
|
|
1375
1609
|
//#endregion
|
|
1376
1610
|
//#region node_modules/@tanstack/query-core/build/modern/mutationCache.js
|
|
1377
|
-
var
|
|
1611
|
+
var jt = class extends j {
|
|
1378
1612
|
constructor(e = {}) {
|
|
1379
1613
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;
|
|
1380
1614
|
}
|
|
@@ -1382,7 +1616,7 @@ var Et = class extends k {
|
|
|
1382
1616
|
#t;
|
|
1383
1617
|
#n;
|
|
1384
1618
|
build(e, t, n) {
|
|
1385
|
-
let r = new
|
|
1619
|
+
let r = new kt({
|
|
1386
1620
|
client: e,
|
|
1387
1621
|
mutationCache: this,
|
|
1388
1622
|
mutationId: ++this.#n,
|
|
@@ -1393,7 +1627,7 @@ var Et = class extends k {
|
|
|
1393
1627
|
}
|
|
1394
1628
|
add(e) {
|
|
1395
1629
|
this.#e.add(e);
|
|
1396
|
-
let t =
|
|
1630
|
+
let t = H(e);
|
|
1397
1631
|
if (typeof t == "string") {
|
|
1398
1632
|
let n = this.#t.get(t);
|
|
1399
1633
|
n ? n.push(e) : this.#t.set(t, [e]);
|
|
@@ -1405,7 +1639,7 @@ var Et = class extends k {
|
|
|
1405
1639
|
}
|
|
1406
1640
|
remove(e) {
|
|
1407
1641
|
if (this.#e.delete(e)) {
|
|
1408
|
-
let t =
|
|
1642
|
+
let t = H(e);
|
|
1409
1643
|
if (typeof t == "string") {
|
|
1410
1644
|
let n = this.#t.get(t);
|
|
1411
1645
|
if (n) if (n.length > 1) {
|
|
@@ -1420,18 +1654,18 @@ var Et = class extends k {
|
|
|
1420
1654
|
});
|
|
1421
1655
|
}
|
|
1422
1656
|
canRun(e) {
|
|
1423
|
-
let t =
|
|
1657
|
+
let t = H(e);
|
|
1424
1658
|
if (typeof t == "string") {
|
|
1425
1659
|
let n = this.#t.get(t)?.find((e) => e.state.status === "pending");
|
|
1426
1660
|
return !n || n === e;
|
|
1427
1661
|
} else return !0;
|
|
1428
1662
|
}
|
|
1429
1663
|
runNext(e) {
|
|
1430
|
-
let t =
|
|
1664
|
+
let t = H(e);
|
|
1431
1665
|
return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();
|
|
1432
1666
|
}
|
|
1433
1667
|
clear() {
|
|
1434
|
-
|
|
1668
|
+
B.batch(() => {
|
|
1435
1669
|
this.#e.forEach((e) => {
|
|
1436
1670
|
this.notify({
|
|
1437
1671
|
type: "removed",
|
|
@@ -1448,13 +1682,13 @@ var Et = class extends k {
|
|
|
1448
1682
|
exact: !0,
|
|
1449
1683
|
...e
|
|
1450
1684
|
};
|
|
1451
|
-
return this.getAll().find((e) =>
|
|
1685
|
+
return this.getAll().find((e) => Ke(t, e));
|
|
1452
1686
|
}
|
|
1453
1687
|
findAll(e = {}) {
|
|
1454
|
-
return this.getAll().filter((t) =>
|
|
1688
|
+
return this.getAll().filter((t) => Ke(e, t));
|
|
1455
1689
|
}
|
|
1456
1690
|
notify(e) {
|
|
1457
|
-
|
|
1691
|
+
B.batch(() => {
|
|
1458
1692
|
this.listeners.forEach((t) => {
|
|
1459
1693
|
t(e);
|
|
1460
1694
|
});
|
|
@@ -1462,22 +1696,22 @@ var Et = class extends k {
|
|
|
1462
1696
|
}
|
|
1463
1697
|
resumePausedMutations() {
|
|
1464
1698
|
let e = this.getAll().filter((e) => e.state.isPaused);
|
|
1465
|
-
return
|
|
1699
|
+
return B.batch(() => Promise.all(e.map((e) => e.continue().catch(N))));
|
|
1466
1700
|
}
|
|
1467
1701
|
};
|
|
1468
|
-
function
|
|
1702
|
+
function H(e) {
|
|
1469
1703
|
return e.options.scope?.id;
|
|
1470
1704
|
}
|
|
1471
1705
|
//#endregion
|
|
1472
1706
|
//#region node_modules/@tanstack/query-core/build/modern/queryCache.js
|
|
1473
|
-
var
|
|
1707
|
+
var Mt = class extends j {
|
|
1474
1708
|
constructor(e = {}) {
|
|
1475
1709
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
|
|
1476
1710
|
}
|
|
1477
1711
|
#e;
|
|
1478
1712
|
build(e, t, n) {
|
|
1479
|
-
let r = t.queryKey, i = t.queryHash ??
|
|
1480
|
-
return a || (a = new
|
|
1713
|
+
let r = t.queryKey, i = t.queryHash ?? qe(r, t), a = this.get(i);
|
|
1714
|
+
return a || (a = new vt({
|
|
1481
1715
|
client: e,
|
|
1482
1716
|
queryKey: r,
|
|
1483
1717
|
queryHash: i,
|
|
@@ -1500,7 +1734,7 @@ var Ot = class extends k {
|
|
|
1500
1734
|
}));
|
|
1501
1735
|
}
|
|
1502
1736
|
clear() {
|
|
1503
|
-
|
|
1737
|
+
B.batch(() => {
|
|
1504
1738
|
this.getAll().forEach((e) => {
|
|
1505
1739
|
this.remove(e);
|
|
1506
1740
|
});
|
|
@@ -1517,34 +1751,34 @@ var Ot = class extends k {
|
|
|
1517
1751
|
exact: !0,
|
|
1518
1752
|
...e
|
|
1519
1753
|
};
|
|
1520
|
-
return this.getAll().find((e) =>
|
|
1754
|
+
return this.getAll().find((e) => Ge(t, e));
|
|
1521
1755
|
}
|
|
1522
1756
|
findAll(e = {}) {
|
|
1523
1757
|
let t = this.getAll();
|
|
1524
|
-
return Object.keys(e).length > 0 ? t.filter((t) =>
|
|
1758
|
+
return Object.keys(e).length > 0 ? t.filter((t) => Ge(e, t)) : t;
|
|
1525
1759
|
}
|
|
1526
1760
|
notify(e) {
|
|
1527
|
-
|
|
1761
|
+
B.batch(() => {
|
|
1528
1762
|
this.listeners.forEach((t) => {
|
|
1529
1763
|
t(e);
|
|
1530
1764
|
});
|
|
1531
1765
|
});
|
|
1532
1766
|
}
|
|
1533
1767
|
onFocus() {
|
|
1534
|
-
|
|
1768
|
+
B.batch(() => {
|
|
1535
1769
|
this.getAll().forEach((e) => {
|
|
1536
1770
|
e.onFocus();
|
|
1537
1771
|
});
|
|
1538
1772
|
});
|
|
1539
1773
|
}
|
|
1540
1774
|
onOnline() {
|
|
1541
|
-
|
|
1775
|
+
B.batch(() => {
|
|
1542
1776
|
this.getAll().forEach((e) => {
|
|
1543
1777
|
e.onOnline();
|
|
1544
1778
|
});
|
|
1545
1779
|
});
|
|
1546
1780
|
}
|
|
1547
|
-
},
|
|
1781
|
+
}, Nt = class {
|
|
1548
1782
|
#e;
|
|
1549
1783
|
#t;
|
|
1550
1784
|
#n;
|
|
@@ -1554,12 +1788,12 @@ var Ot = class extends k {
|
|
|
1554
1788
|
#o;
|
|
1555
1789
|
#s;
|
|
1556
1790
|
constructor(e = {}) {
|
|
1557
|
-
this.#e = e.queryCache || new
|
|
1791
|
+
this.#e = e.queryCache || new Mt(), this.#t = e.mutationCache || new jt(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
|
|
1558
1792
|
}
|
|
1559
1793
|
mount() {
|
|
1560
|
-
this.#a++, this.#a === 1 && (this.#o =
|
|
1794
|
+
this.#a++, this.#a === 1 && (this.#o = Re.subscribe(async (e) => {
|
|
1561
1795
|
e && (await this.resumePausedMutations(), this.#e.onFocus());
|
|
1562
|
-
}), this.#s =
|
|
1796
|
+
}), this.#s = V.subscribe(async (e) => {
|
|
1563
1797
|
e && (await this.resumePausedMutations(), this.#e.onOnline());
|
|
1564
1798
|
}));
|
|
1565
1799
|
}
|
|
@@ -1584,20 +1818,20 @@ var Ot = class extends k {
|
|
|
1584
1818
|
}
|
|
1585
1819
|
ensureQueryData(e) {
|
|
1586
1820
|
let t = this.defaultQueryOptions(e), n = this.#e.build(this, t), r = n.state.data;
|
|
1587
|
-
return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(
|
|
1821
|
+
return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(P(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
|
|
1588
1822
|
}
|
|
1589
1823
|
getQueriesData(e) {
|
|
1590
1824
|
return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);
|
|
1591
1825
|
}
|
|
1592
1826
|
setQueryData(e, t, n) {
|
|
1593
|
-
let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a =
|
|
1827
|
+
let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = He(t, i);
|
|
1594
1828
|
if (a !== void 0) return this.#e.build(this, r).setData(a, {
|
|
1595
1829
|
...n,
|
|
1596
1830
|
manual: !0
|
|
1597
1831
|
});
|
|
1598
1832
|
}
|
|
1599
1833
|
setQueriesData(e, t, n) {
|
|
1600
|
-
return
|
|
1834
|
+
return B.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
|
|
1601
1835
|
}
|
|
1602
1836
|
getQueryState(e) {
|
|
1603
1837
|
let t = this.defaultQueryOptions({ queryKey: e });
|
|
@@ -1605,7 +1839,7 @@ var Ot = class extends k {
|
|
|
1605
1839
|
}
|
|
1606
1840
|
removeQueries(e) {
|
|
1607
1841
|
let t = this.#e;
|
|
1608
|
-
|
|
1842
|
+
B.batch(() => {
|
|
1609
1843
|
t.findAll(e).forEach((e) => {
|
|
1610
1844
|
t.remove(e);
|
|
1611
1845
|
});
|
|
@@ -1613,7 +1847,7 @@ var Ot = class extends k {
|
|
|
1613
1847
|
}
|
|
1614
1848
|
resetQueries(e, t) {
|
|
1615
1849
|
let n = this.#e;
|
|
1616
|
-
return
|
|
1850
|
+
return B.batch(() => (n.findAll(e).forEach((e) => {
|
|
1617
1851
|
e.reset();
|
|
1618
1852
|
}), this.refetchQueries({
|
|
1619
1853
|
type: "active",
|
|
@@ -1624,11 +1858,11 @@ var Ot = class extends k {
|
|
|
1624
1858
|
let n = {
|
|
1625
1859
|
revert: !0,
|
|
1626
1860
|
...t
|
|
1627
|
-
}, r =
|
|
1628
|
-
return Promise.all(r).then(
|
|
1861
|
+
}, r = B.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
|
|
1862
|
+
return Promise.all(r).then(N).catch(N);
|
|
1629
1863
|
}
|
|
1630
1864
|
invalidateQueries(e, t = {}) {
|
|
1631
|
-
return
|
|
1865
|
+
return B.batch(() => (this.#e.findAll(e).forEach((e) => {
|
|
1632
1866
|
e.invalidate();
|
|
1633
1867
|
}), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({
|
|
1634
1868
|
...e,
|
|
@@ -1639,32 +1873,32 @@ var Ot = class extends k {
|
|
|
1639
1873
|
let n = {
|
|
1640
1874
|
...t,
|
|
1641
1875
|
cancelRefetch: t.cancelRefetch ?? !0
|
|
1642
|
-
}, r =
|
|
1876
|
+
}, r = B.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
|
|
1643
1877
|
let t = e.fetch(void 0, n);
|
|
1644
|
-
return n.throwOnError || (t = t.catch(
|
|
1878
|
+
return n.throwOnError || (t = t.catch(N)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
|
|
1645
1879
|
}));
|
|
1646
|
-
return Promise.all(r).then(
|
|
1880
|
+
return Promise.all(r).then(N);
|
|
1647
1881
|
}
|
|
1648
1882
|
fetchQuery(e) {
|
|
1649
1883
|
let t = this.defaultQueryOptions(e);
|
|
1650
1884
|
t.retry === void 0 && (t.retry = !1);
|
|
1651
1885
|
let n = this.#e.build(this, t);
|
|
1652
|
-
return n.isStaleByTime(
|
|
1886
|
+
return n.isStaleByTime(P(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
|
|
1653
1887
|
}
|
|
1654
1888
|
prefetchQuery(e) {
|
|
1655
|
-
return this.fetchQuery(e).then(
|
|
1889
|
+
return this.fetchQuery(e).then(N).catch(N);
|
|
1656
1890
|
}
|
|
1657
1891
|
fetchInfiniteQuery(e) {
|
|
1658
1892
|
return e._type = "infinite", this.fetchQuery(e);
|
|
1659
1893
|
}
|
|
1660
1894
|
prefetchInfiniteQuery(e) {
|
|
1661
|
-
return this.fetchInfiniteQuery(e).then(
|
|
1895
|
+
return this.fetchInfiniteQuery(e).then(N).catch(N);
|
|
1662
1896
|
}
|
|
1663
1897
|
ensureInfiniteQueryData(e) {
|
|
1664
1898
|
return e._type = "infinite", this.ensureQueryData(e);
|
|
1665
1899
|
}
|
|
1666
1900
|
resumePausedMutations() {
|
|
1667
|
-
return
|
|
1901
|
+
return V.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
|
|
1668
1902
|
}
|
|
1669
1903
|
getQueryCache() {
|
|
1670
1904
|
return this.#e;
|
|
@@ -1679,7 +1913,7 @@ var Ot = class extends k {
|
|
|
1679
1913
|
this.#n = e;
|
|
1680
1914
|
}
|
|
1681
1915
|
setQueryDefaults(e, t) {
|
|
1682
|
-
this.#r.set(
|
|
1916
|
+
this.#r.set(I(e), {
|
|
1683
1917
|
queryKey: e,
|
|
1684
1918
|
defaultOptions: t
|
|
1685
1919
|
});
|
|
@@ -1687,11 +1921,11 @@ var Ot = class extends k {
|
|
|
1687
1921
|
getQueryDefaults(e) {
|
|
1688
1922
|
let t = [...this.#r.values()], n = {};
|
|
1689
1923
|
return t.forEach((t) => {
|
|
1690
|
-
|
|
1924
|
+
L(e, t.queryKey) && Object.assign(n, t.defaultOptions);
|
|
1691
1925
|
}), n;
|
|
1692
1926
|
}
|
|
1693
1927
|
setMutationDefaults(e, t) {
|
|
1694
|
-
this.#i.set(
|
|
1928
|
+
this.#i.set(I(e), {
|
|
1695
1929
|
mutationKey: e,
|
|
1696
1930
|
defaultOptions: t
|
|
1697
1931
|
});
|
|
@@ -1699,7 +1933,7 @@ var Ot = class extends k {
|
|
|
1699
1933
|
getMutationDefaults(e) {
|
|
1700
1934
|
let t = [...this.#i.values()], n = {};
|
|
1701
1935
|
return t.forEach((t) => {
|
|
1702
|
-
|
|
1936
|
+
L(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
|
|
1703
1937
|
}), n;
|
|
1704
1938
|
}
|
|
1705
1939
|
defaultQueryOptions(e) {
|
|
@@ -1710,7 +1944,7 @@ var Ot = class extends k {
|
|
|
1710
1944
|
...e,
|
|
1711
1945
|
_defaulted: !0
|
|
1712
1946
|
};
|
|
1713
|
-
return t.queryHash ||=
|
|
1947
|
+
return t.queryHash ||= qe(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === R && (t.enabled = !1), t;
|
|
1714
1948
|
}
|
|
1715
1949
|
defaultMutationOptions(e) {
|
|
1716
1950
|
return e?._defaulted ? e : {
|
|
@@ -1723,20 +1957,20 @@ var Ot = class extends k {
|
|
|
1723
1957
|
clear() {
|
|
1724
1958
|
this.#e.clear(), this.#t.clear();
|
|
1725
1959
|
}
|
|
1726
|
-
},
|
|
1727
|
-
let t = x.useContext(
|
|
1960
|
+
}, Pt = x.createContext(void 0), Ft = (e) => {
|
|
1961
|
+
let t = x.useContext(Pt);
|
|
1728
1962
|
if (e) return e;
|
|
1729
1963
|
if (!t) throw Error("No QueryClient set, use QueryClientProvider to set one");
|
|
1730
1964
|
return t;
|
|
1731
|
-
},
|
|
1965
|
+
}, It = ({ client: e, children: t }) => (x.useEffect(() => (e.mount(), () => {
|
|
1732
1966
|
e.unmount();
|
|
1733
|
-
}), [e]), /* @__PURE__ */
|
|
1967
|
+
}), [e]), /* @__PURE__ */ T(Pt.Provider, {
|
|
1734
1968
|
value: e,
|
|
1735
1969
|
children: t
|
|
1736
|
-
})),
|
|
1970
|
+
})), Lt = x.createContext(!1), Rt = () => x.useContext(Lt);
|
|
1737
1971
|
//#endregion
|
|
1738
1972
|
//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
|
|
1739
|
-
function
|
|
1973
|
+
function zt() {
|
|
1740
1974
|
let e = !1;
|
|
1741
1975
|
return {
|
|
1742
1976
|
clearReset: () => {
|
|
@@ -1748,57 +1982,57 @@ function Ft() {
|
|
|
1748
1982
|
isReset: () => e
|
|
1749
1983
|
};
|
|
1750
1984
|
}
|
|
1751
|
-
var
|
|
1752
|
-
let r = n?.state.error && typeof e.throwOnError == "function" ?
|
|
1985
|
+
var Bt = x.createContext(zt()), Vt = () => x.useContext(Bt), Ht = (e, t, n) => {
|
|
1986
|
+
let r = n?.state.error && typeof e.throwOnError == "function" ? at(e.throwOnError, [n.state.error, n]) : e.throwOnError;
|
|
1753
1987
|
(e.suspense || e.experimental_prefetchInRender || r) && (t.isReset() || (e.retryOnMount = !1));
|
|
1754
|
-
},
|
|
1988
|
+
}, Ut = (e) => {
|
|
1755
1989
|
x.useEffect(() => {
|
|
1756
1990
|
e.clearReset();
|
|
1757
1991
|
}, [e]);
|
|
1758
|
-
},
|
|
1992
|
+
}, Wt = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || at(n, [e.error, r])), Gt = (e) => {
|
|
1759
1993
|
if (e.suspense) {
|
|
1760
1994
|
let t = 1e3, n = (e) => e === "static" ? e : Math.max(e ?? t, t), r = e.staleTime;
|
|
1761
1995
|
e.staleTime = typeof r == "function" ? (...e) => n(r(...e)) : n(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, t));
|
|
1762
1996
|
}
|
|
1763
|
-
},
|
|
1997
|
+
}, Kt = (e, t) => e.isLoading && e.isFetching && !t, qt = (e, t) => e?.suspense && t.isPending, Jt = (e, t, n) => t.fetchOptimistic(e).catch(() => {
|
|
1764
1998
|
n.clearReset();
|
|
1765
1999
|
});
|
|
1766
2000
|
//#endregion
|
|
1767
2001
|
//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
|
|
1768
|
-
function
|
|
2002
|
+
function Yt(e, t, n) {
|
|
1769
2003
|
if (process.env.NODE_ENV !== "production" && (typeof e != "object" || Array.isArray(e))) throw Error("Bad argument type. Starting with v5, only the \"Object\" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object");
|
|
1770
|
-
let r =
|
|
2004
|
+
let r = Rt(), i = Vt(), a = Ft(n), o = a.defaultQueryOptions(e);
|
|
1771
2005
|
a.getDefaultOptions().queries?._experimental_beforeQuery?.(o);
|
|
1772
2006
|
let s = a.getQueryCache().get(o.queryHash);
|
|
1773
2007
|
process.env.NODE_ENV !== "production" && (o.queryFn || console.error(`[${o.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`));
|
|
1774
2008
|
let c = e.subscribed !== !1;
|
|
1775
|
-
o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0,
|
|
2009
|
+
o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, Gt(o), Ht(o, i, s), Ut(i);
|
|
1776
2010
|
let l = !a.getQueryCache().get(o.queryHash), [u] = x.useState(() => new t(a, o)), d = u.getOptimisticResult(o), f = !r && c;
|
|
1777
2011
|
if (x.useSyncExternalStore(x.useCallback((e) => {
|
|
1778
|
-
let t = f ? u.subscribe(
|
|
2012
|
+
let t = f ? u.subscribe(B.batchCalls(e)) : N;
|
|
1779
2013
|
return u.updateResult(), t;
|
|
1780
2014
|
}, [u, f]), () => u.getCurrentResult(), () => u.getCurrentResult()), x.useEffect(() => {
|
|
1781
2015
|
u.setOptions(o);
|
|
1782
|
-
}, [o, u]),
|
|
1783
|
-
if (
|
|
2016
|
+
}, [o, u]), qt(o, d)) throw Jt(o, u, i);
|
|
2017
|
+
if (Wt({
|
|
1784
2018
|
result: d,
|
|
1785
2019
|
errorResetBoundary: i,
|
|
1786
2020
|
throwOnError: o.throwOnError,
|
|
1787
2021
|
query: s,
|
|
1788
2022
|
suspense: o.suspense
|
|
1789
2023
|
})) throw d.error;
|
|
1790
|
-
return a.getDefaultOptions().queries?._experimental_afterQuery?.(o, d), o.experimental_prefetchInRender && !
|
|
2024
|
+
return a.getDefaultOptions().queries?._experimental_afterQuery?.(o, d), o.experimental_prefetchInRender && !z.isServer() && Kt(d, r) && (l ? Jt(o, u, i) : s?.promise)?.catch(N).finally(() => {
|
|
1791
2025
|
u.updateResult();
|
|
1792
2026
|
}), o.notifyOnChangeProps ? d : u.trackResult(d);
|
|
1793
2027
|
}
|
|
1794
2028
|
//#endregion
|
|
1795
2029
|
//#region node_modules/@tanstack/react-query/build/modern/useQuery.js
|
|
1796
|
-
function
|
|
1797
|
-
return
|
|
2030
|
+
function Xt(e, t) {
|
|
2031
|
+
return Yt(e, St, t);
|
|
1798
2032
|
}
|
|
1799
2033
|
//#endregion
|
|
1800
2034
|
//#region src/client/client/CubeClient.ts
|
|
1801
|
-
var
|
|
2035
|
+
var Zt = class {
|
|
1802
2036
|
apiUrl;
|
|
1803
2037
|
headers;
|
|
1804
2038
|
credentials;
|
|
@@ -1829,7 +2063,7 @@ var qt = class {
|
|
|
1829
2063
|
} catch {}
|
|
1830
2064
|
throw Error(e);
|
|
1831
2065
|
}
|
|
1832
|
-
return new
|
|
2066
|
+
return new Qt(await o.json());
|
|
1833
2067
|
}
|
|
1834
2068
|
async meta() {
|
|
1835
2069
|
let e = `${this.apiUrl}/meta`, t = await fetch(e, {
|
|
@@ -1919,14 +2153,14 @@ var qt = class {
|
|
|
1919
2153
|
throw Error(e);
|
|
1920
2154
|
}
|
|
1921
2155
|
return (await i.json()).results.map((e) => !e.success && e.error ? {
|
|
1922
|
-
...new
|
|
2156
|
+
...new Qt({
|
|
1923
2157
|
data: [],
|
|
1924
2158
|
annotation: {}
|
|
1925
2159
|
}),
|
|
1926
2160
|
error: e.error
|
|
1927
|
-
} : new
|
|
2161
|
+
} : new Qt(e));
|
|
1928
2162
|
}
|
|
1929
|
-
},
|
|
2163
|
+
}, Qt = class {
|
|
1930
2164
|
loadResponse;
|
|
1931
2165
|
constructor(e) {
|
|
1932
2166
|
this.loadResponse = e;
|
|
@@ -1947,12 +2181,12 @@ var qt = class {
|
|
|
1947
2181
|
return this.loadResponse.results && this.loadResponse.results[0] ? this.loadResponse.results[0].cache : this.loadResponse.cache;
|
|
1948
2182
|
}
|
|
1949
2183
|
};
|
|
1950
|
-
function
|
|
1951
|
-
return new
|
|
2184
|
+
function $t(e, t = {}) {
|
|
2185
|
+
return new Zt(e, t);
|
|
1952
2186
|
}
|
|
1953
2187
|
//#endregion
|
|
1954
2188
|
//#region src/client/client/BatchCoordinator.ts
|
|
1955
|
-
var
|
|
2189
|
+
var en = class {
|
|
1956
2190
|
queue = [];
|
|
1957
2191
|
flushScheduled = !1;
|
|
1958
2192
|
batchExecutor;
|
|
@@ -1995,31 +2229,31 @@ var Xt = class {
|
|
|
1995
2229
|
clear() {
|
|
1996
2230
|
this.queue = [], this.flushScheduled = !1;
|
|
1997
2231
|
}
|
|
1998
|
-
},
|
|
1999
|
-
function
|
|
2000
|
-
let s =
|
|
2232
|
+
}, tn = he(null);
|
|
2233
|
+
function nn({ apiOptions: e, token: t, options: n = {}, locale: r, enableBatching: i = !0, batchDelayMs: a = 50, children: o }) {
|
|
2234
|
+
let s = C(() => ({
|
|
2001
2235
|
apiOptions: e,
|
|
2002
2236
|
token: t
|
|
2003
|
-
}), [e, t]), [c, l] =
|
|
2004
|
-
|
|
2237
|
+
}), [e, t]), [c, l] = w(null);
|
|
2238
|
+
S(() => {
|
|
2005
2239
|
l(null);
|
|
2006
2240
|
}, [s]);
|
|
2007
|
-
let u = c ?? s, d =
|
|
2241
|
+
let u = c ?? s, d = C(() => r ? {
|
|
2008
2242
|
...u.apiOptions,
|
|
2009
2243
|
headers: {
|
|
2010
2244
|
...u.apiOptions.headers ?? {},
|
|
2011
2245
|
"X-DC-Locale": r
|
|
2012
2246
|
}
|
|
2013
|
-
} : u.apiOptions, [u.apiOptions, r]), f =
|
|
2247
|
+
} : u.apiOptions, [u.apiOptions, r]), f = C(() => $t(u.token, d), [d, u.token]), p = C(() => i ? new en((e) => f.batchLoad(e), a) : null, [
|
|
2014
2248
|
i,
|
|
2015
2249
|
f,
|
|
2016
2250
|
a
|
|
2017
|
-
]), m =
|
|
2251
|
+
]), m = ye((e, t) => {
|
|
2018
2252
|
l({
|
|
2019
2253
|
apiOptions: e,
|
|
2020
2254
|
token: t
|
|
2021
2255
|
});
|
|
2022
|
-
}, []), h =
|
|
2256
|
+
}, []), h = C(() => ({
|
|
2023
2257
|
cubeApi: f,
|
|
2024
2258
|
options: n,
|
|
2025
2259
|
apiOptions: d,
|
|
@@ -2034,20 +2268,20 @@ function Qt({ apiOptions: e, token: t, options: n = {}, locale: r, enableBatchin
|
|
|
2034
2268
|
p,
|
|
2035
2269
|
i
|
|
2036
2270
|
]);
|
|
2037
|
-
return /* @__PURE__ */
|
|
2271
|
+
return /* @__PURE__ */ T(tn.Provider, {
|
|
2038
2272
|
value: h,
|
|
2039
2273
|
children: o
|
|
2040
2274
|
});
|
|
2041
2275
|
}
|
|
2042
|
-
function
|
|
2043
|
-
let e =
|
|
2276
|
+
function rn() {
|
|
2277
|
+
let e = be(tn);
|
|
2044
2278
|
if (!e) throw Error("useCubeApi must be used within CubeApiProvider");
|
|
2045
2279
|
return e;
|
|
2046
2280
|
}
|
|
2047
2281
|
//#endregion
|
|
2048
2282
|
//#region src/client/hooks/queries/useCubeMetaQuery.ts
|
|
2049
|
-
var
|
|
2050
|
-
function
|
|
2283
|
+
var an = ["cube", "meta"];
|
|
2284
|
+
function on(e) {
|
|
2051
2285
|
let t = {};
|
|
2052
2286
|
return e.cubes.forEach((e) => {
|
|
2053
2287
|
e.measures.forEach((e) => {
|
|
@@ -2059,14 +2293,14 @@ function tn(e) {
|
|
|
2059
2293
|
});
|
|
2060
2294
|
}), t;
|
|
2061
2295
|
}
|
|
2062
|
-
function
|
|
2063
|
-
let { enabled: t = !0, staleTime: n = 300 * 1e3 } = e, { cubeApi: r } =
|
|
2064
|
-
queryKey:
|
|
2296
|
+
function sn(e = {}) {
|
|
2297
|
+
let { enabled: t = !0, staleTime: n = 300 * 1e3 } = e, { cubeApi: r } = rn(), i = Ft(), a = Xt({
|
|
2298
|
+
queryKey: an,
|
|
2065
2299
|
queryFn: async () => {
|
|
2066
2300
|
let e = await r.meta();
|
|
2067
2301
|
return {
|
|
2068
2302
|
meta: e,
|
|
2069
|
-
labelMap:
|
|
2303
|
+
labelMap: on(e)
|
|
2070
2304
|
};
|
|
2071
2305
|
},
|
|
2072
2306
|
enabled: t,
|
|
@@ -2080,15 +2314,15 @@ function nn(e = {}) {
|
|
|
2080
2314
|
isFetching: a.isFetching,
|
|
2081
2315
|
error: a.error,
|
|
2082
2316
|
refetch: () => {
|
|
2083
|
-
i.invalidateQueries({ queryKey:
|
|
2317
|
+
i.invalidateQueries({ queryKey: an });
|
|
2084
2318
|
},
|
|
2085
2319
|
getFieldLabel: (e) => s[e] || e
|
|
2086
2320
|
};
|
|
2087
2321
|
}
|
|
2088
2322
|
//#endregion
|
|
2089
2323
|
//#region src/client/utils/thumbnail.ts
|
|
2090
|
-
var
|
|
2091
|
-
function
|
|
2324
|
+
var U = null, cn = !1;
|
|
2325
|
+
function ln(e, t, n, r, i) {
|
|
2092
2326
|
return new Promise((a, o) => {
|
|
2093
2327
|
let s = new Image();
|
|
2094
2328
|
s.onload = () => {
|
|
@@ -2105,26 +2339,26 @@ function on(e, t, n, r, i) {
|
|
|
2105
2339
|
}, s.onerror = () => o(/* @__PURE__ */ Error("Failed to load image for resizing")), s.src = e;
|
|
2106
2340
|
});
|
|
2107
2341
|
}
|
|
2108
|
-
async function
|
|
2109
|
-
if (
|
|
2342
|
+
async function W() {
|
|
2343
|
+
if (cn) return U;
|
|
2110
2344
|
try {
|
|
2111
|
-
return
|
|
2345
|
+
return U = await import("./dist-zPWyTBdU.js"), cn = !0, U;
|
|
2112
2346
|
} catch {
|
|
2113
|
-
return
|
|
2347
|
+
return cn = !0, U = null, null;
|
|
2114
2348
|
}
|
|
2115
2349
|
}
|
|
2116
|
-
function
|
|
2117
|
-
typeof window > "u" || e?.enabled && (window.__drizzle_cube_thumbnail_warning__ ||
|
|
2350
|
+
function un(e) {
|
|
2351
|
+
typeof window > "u" || e?.enabled && (window.__drizzle_cube_thumbnail_warning__ || W().then((e) => {
|
|
2118
2352
|
!e && typeof process < "u" && process.env.NODE_ENV === "development" && (console.warn("[drizzle-cube] Thumbnail feature enabled but modern-screenshot not installed. Run: npm install modern-screenshot"), window.__drizzle_cube_thumbnail_warning__ = !0);
|
|
2119
2353
|
}));
|
|
2120
2354
|
}
|
|
2121
|
-
async function
|
|
2355
|
+
async function dn(e, t) {
|
|
2122
2356
|
if (typeof window > "u" || !e.current) return null;
|
|
2123
|
-
let n = await
|
|
2357
|
+
let n = await W();
|
|
2124
2358
|
if (!n) return null;
|
|
2125
2359
|
try {
|
|
2126
|
-
let r = t.width ?? 1600, i = t.height ?? 1200, a = t.format ?? "png", o = t.quality ?? .95, s = e.current, c =
|
|
2127
|
-
return await
|
|
2360
|
+
let r = t.width ?? 1600, i = t.height ?? 1200, a = t.format ?? "png", o = t.quality ?? .95, s = e.current, c = hn(s);
|
|
2361
|
+
return await ln(await n.domToPng(s, {
|
|
2128
2362
|
scale: 2,
|
|
2129
2363
|
backgroundColor: c
|
|
2130
2364
|
}), r, i, a, o);
|
|
@@ -2132,31 +2366,31 @@ async function cn(e, t) {
|
|
|
2132
2366
|
return console.error("[drizzle-cube] Failed to capture thumbnail:", e), null;
|
|
2133
2367
|
}
|
|
2134
2368
|
}
|
|
2135
|
-
async function
|
|
2136
|
-
return !e?.enabled || typeof window > "u" ? !1 : await
|
|
2369
|
+
async function fn(e) {
|
|
2370
|
+
return !e?.enabled || typeof window > "u" ? !1 : await W() !== null;
|
|
2137
2371
|
}
|
|
2138
|
-
async function
|
|
2139
|
-
return typeof window > "u" || !await
|
|
2372
|
+
async function pn() {
|
|
2373
|
+
return typeof window > "u" || !await W() ? !1 : typeof ClipboardItem < "u" && typeof navigator?.clipboard?.write == "function";
|
|
2140
2374
|
}
|
|
2141
|
-
function
|
|
2375
|
+
function mn(e) {
|
|
2142
2376
|
if (!e || e === "transparent" || e === "rgba(0, 0, 0, 0)") return !0;
|
|
2143
2377
|
let t = e.match(/rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*([\d.]+)\s*\)/);
|
|
2144
2378
|
return !!(t && parseFloat(t[1]) === 0);
|
|
2145
2379
|
}
|
|
2146
|
-
function
|
|
2380
|
+
function hn(e) {
|
|
2147
2381
|
let t = e;
|
|
2148
2382
|
for (; t;) {
|
|
2149
2383
|
let e = getComputedStyle(t).backgroundColor;
|
|
2150
|
-
if (!
|
|
2384
|
+
if (!mn(e)) return e;
|
|
2151
2385
|
t = t.parentElement;
|
|
2152
2386
|
}
|
|
2153
2387
|
return getComputedStyle(document.documentElement).getPropertyValue("--dc-surface").trim() || "#ffffff";
|
|
2154
2388
|
}
|
|
2155
|
-
async function
|
|
2389
|
+
async function gn(e) {
|
|
2156
2390
|
try {
|
|
2157
|
-
let t = await
|
|
2391
|
+
let t = await W();
|
|
2158
2392
|
if (!t) return console.warn("[drizzle-cube] Cannot copy portlet: modern-screenshot not available"), !1;
|
|
2159
|
-
let n =
|
|
2393
|
+
let n = hn(e), r = await t.domToPng(e, {
|
|
2160
2394
|
scale: 2,
|
|
2161
2395
|
backgroundColor: n
|
|
2162
2396
|
}), i = await (await fetch(r)).blob();
|
|
@@ -2167,12 +2401,12 @@ async function pn(e) {
|
|
|
2167
2401
|
}
|
|
2168
2402
|
//#endregion
|
|
2169
2403
|
//#region src/client/utils/exportXlsx.ts
|
|
2170
|
-
var
|
|
2404
|
+
var _n = null, vn = !1, yn = {
|
|
2171
2405
|
headerBg: "FF3B82F6",
|
|
2172
2406
|
headerText: "FFFFFFFF",
|
|
2173
2407
|
borderColor: "FFE5E7EB"
|
|
2174
2408
|
};
|
|
2175
|
-
function
|
|
2409
|
+
function bn(e) {
|
|
2176
2410
|
if (!e) return null;
|
|
2177
2411
|
let t = e.trim();
|
|
2178
2412
|
if (t.startsWith("#")) {
|
|
@@ -2186,19 +2420,19 @@ function gn(e) {
|
|
|
2186
2420
|
}
|
|
2187
2421
|
return null;
|
|
2188
2422
|
}
|
|
2189
|
-
function
|
|
2190
|
-
if (typeof document > "u") return
|
|
2423
|
+
function xn() {
|
|
2424
|
+
if (typeof document > "u") return yn;
|
|
2191
2425
|
let e = getComputedStyle(document.documentElement), t = e.getPropertyValue("--dc-primary").trim(), n = e.getPropertyValue("--dc-primary-content").trim(), r = e.getPropertyValue("--dc-border").trim();
|
|
2192
2426
|
return {
|
|
2193
|
-
headerBg:
|
|
2194
|
-
headerText:
|
|
2195
|
-
borderColor:
|
|
2427
|
+
headerBg: bn(t) ?? yn.headerBg,
|
|
2428
|
+
headerText: bn(n) ?? yn.headerText,
|
|
2429
|
+
borderColor: bn(r) ?? yn.borderColor
|
|
2196
2430
|
};
|
|
2197
2431
|
}
|
|
2198
|
-
function
|
|
2432
|
+
function Sn(e) {
|
|
2199
2433
|
return e == null ? null : e instanceof Date ? e : typeof e == "number" ? Number.isFinite(e) ? e : null : typeof e == "boolean" ? e : Array.isArray(e) ? e.map((e) => String(e)).join(", ") : typeof e == "object" ? JSON.stringify(e) : String(e);
|
|
2200
2434
|
}
|
|
2201
|
-
function
|
|
2435
|
+
function Cn(e, t) {
|
|
2202
2436
|
e.height = 18, e.eachCell((e) => {
|
|
2203
2437
|
e.font = {
|
|
2204
2438
|
bold: !0,
|
|
@@ -2214,7 +2448,7 @@ function yn(e, t) {
|
|
|
2214
2448
|
};
|
|
2215
2449
|
});
|
|
2216
2450
|
}
|
|
2217
|
-
function
|
|
2451
|
+
function wn(e, t) {
|
|
2218
2452
|
e.eachRow((e) => {
|
|
2219
2453
|
e.eachCell((e) => {
|
|
2220
2454
|
e.border = {
|
|
@@ -2241,7 +2475,7 @@ function bn(e, t) {
|
|
|
2241
2475
|
});
|
|
2242
2476
|
});
|
|
2243
2477
|
}
|
|
2244
|
-
function
|
|
2478
|
+
function Tn(e, t = []) {
|
|
2245
2479
|
e.columns?.forEach((e, n) => {
|
|
2246
2480
|
let r = t[n] ?? 10;
|
|
2247
2481
|
e.eachCell?.({ includeEmpty: !0 }, (e) => {
|
|
@@ -2250,15 +2484,15 @@ function xn(e, t = []) {
|
|
|
2250
2484
|
}), e.width = Math.min(Math.max(r + 2, t[n] ?? 10), 70);
|
|
2251
2485
|
});
|
|
2252
2486
|
}
|
|
2253
|
-
function
|
|
2487
|
+
function En(e, t, n, r) {
|
|
2254
2488
|
let i = e.addWorksheet(t);
|
|
2255
2489
|
if (n.length === 0) {
|
|
2256
|
-
i.addRow(["No data available"]),
|
|
2490
|
+
i.addRow(["No data available"]), Tn(i, [32]);
|
|
2257
2491
|
return;
|
|
2258
2492
|
}
|
|
2259
2493
|
let a = Object.keys(n[0]);
|
|
2260
|
-
|
|
2261
|
-
for (let e of n) i.addRow(a.map((t) =>
|
|
2494
|
+
Cn(i.addRow(a), r);
|
|
2495
|
+
for (let e of n) i.addRow(a.map((t) => Sn(e[t])));
|
|
2262
2496
|
i.views = [{
|
|
2263
2497
|
state: "frozen",
|
|
2264
2498
|
ySplit: 1
|
|
@@ -2271,58 +2505,58 @@ function V(e, t, n, r) {
|
|
|
2271
2505
|
row: 1,
|
|
2272
2506
|
column: a.length
|
|
2273
2507
|
}
|
|
2274
|
-
},
|
|
2508
|
+
}, wn(i, r), Tn(i);
|
|
2275
2509
|
}
|
|
2276
|
-
function
|
|
2510
|
+
function Dn(e) {
|
|
2277
2511
|
return e.replace(/[^a-zA-Z0-9]/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "").toLowerCase();
|
|
2278
2512
|
}
|
|
2279
|
-
function
|
|
2280
|
-
let n =
|
|
2513
|
+
function On(e, t) {
|
|
2514
|
+
let n = Dn(e), r = /* @__PURE__ */ new Date();
|
|
2281
2515
|
return `${n}-${`${r.getFullYear()}${String(r.getMonth() + 1).padStart(2, "0")}${String(r.getDate()).padStart(2, "0")}`}-${crypto.randomUUID().slice(0, 4).toUpperCase()}.${t}`;
|
|
2282
2516
|
}
|
|
2283
|
-
async function
|
|
2284
|
-
if (
|
|
2517
|
+
async function kn() {
|
|
2518
|
+
if (vn) return _n;
|
|
2285
2519
|
try {
|
|
2286
|
-
return
|
|
2520
|
+
return _n = await import("./exceljs.min-CIqBqwTW.js").then((t) => /* @__PURE__ */ e(t.default, 1)), vn = !0, _n;
|
|
2287
2521
|
} catch {
|
|
2288
|
-
return
|
|
2522
|
+
return vn = !0, _n = null, null;
|
|
2289
2523
|
}
|
|
2290
2524
|
}
|
|
2291
|
-
async function
|
|
2292
|
-
return typeof window > "u" ? !1 : await
|
|
2525
|
+
async function An() {
|
|
2526
|
+
return typeof window > "u" ? !1 : await kn() !== null;
|
|
2293
2527
|
}
|
|
2294
|
-
function
|
|
2295
|
-
typeof window > "u" || e?.enabled && (window.__drizzle_cube_xls_export_warning__ ||
|
|
2528
|
+
function jn(e) {
|
|
2529
|
+
typeof window > "u" || e?.enabled && (window.__drizzle_cube_xls_export_warning__ || kn().then((e) => {
|
|
2296
2530
|
!e && typeof process < "u" && process.env.NODE_ENV === "development" && (console.warn("[drizzle-cube] XLS export feature enabled but exceljs not installed. Run: npm install exceljs"), window.__drizzle_cube_xls_export_warning__ = !0);
|
|
2297
2531
|
}));
|
|
2298
2532
|
}
|
|
2299
|
-
function
|
|
2533
|
+
function Mn(e) {
|
|
2300
2534
|
return !!e && typeof e == "object" && "nodes" in e && "links" in e && Array.isArray(e.nodes) && Array.isArray(e.links);
|
|
2301
2535
|
}
|
|
2302
|
-
function
|
|
2536
|
+
function Nn(e) {
|
|
2303
2537
|
return !!e && typeof e == "object" && "rows" in e && "periods" in e && Array.isArray(e.rows) && Array.isArray(e.periods);
|
|
2304
2538
|
}
|
|
2305
|
-
function
|
|
2539
|
+
function Pn(e, t) {
|
|
2306
2540
|
let n = new Blob([e], { type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }), r = URL.createObjectURL(n), i = document.createElement("a");
|
|
2307
2541
|
i.href = r, i.download = t, document.body.appendChild(i), i.click(), document.body.removeChild(i), URL.revokeObjectURL(r);
|
|
2308
2542
|
}
|
|
2309
|
-
async function
|
|
2310
|
-
let n = await
|
|
2543
|
+
async function Fn(e, t) {
|
|
2544
|
+
let n = await kn();
|
|
2311
2545
|
if (!n) return console.warn("[drizzle-cube] Cannot export: exceljs not available"), !1;
|
|
2312
2546
|
try {
|
|
2313
|
-
let r = new n.Workbook(), i =
|
|
2314
|
-
if (
|
|
2315
|
-
else if (
|
|
2316
|
-
else if (Array.isArray(a))
|
|
2547
|
+
let r = new n.Workbook(), i = xn(), { data: a } = t;
|
|
2548
|
+
if (Mn(a)) En(r, "Nodes", a.nodes, i), En(r, "Links", a.links, i);
|
|
2549
|
+
else if (Nn(a)) En(r, e, a.rows, i);
|
|
2550
|
+
else if (Array.isArray(a)) En(r, e, a, i);
|
|
2317
2551
|
else return console.warn("[drizzle-cube] Cannot export: unrecognized data format"), !1;
|
|
2318
|
-
return
|
|
2552
|
+
return Pn(await r.xlsx.writeBuffer(), On(e || "export", "xlsx")), !0;
|
|
2319
2553
|
} catch (e) {
|
|
2320
2554
|
return console.error("[drizzle-cube] Failed to export XLSX:", e), !1;
|
|
2321
2555
|
}
|
|
2322
2556
|
}
|
|
2323
2557
|
//#endregion
|
|
2324
2558
|
//#region src/client/providers/CubeFeaturesProvider.tsx
|
|
2325
|
-
var
|
|
2559
|
+
var In = he(null), Ln = {
|
|
2326
2560
|
enableAI: !0,
|
|
2327
2561
|
aiEndpoint: "/api/ai/generate",
|
|
2328
2562
|
showSchemaDiagram: !1,
|
|
@@ -2330,22 +2564,22 @@ var jn = pe(null), Mn = {
|
|
|
2330
2564
|
editToolbar: "both",
|
|
2331
2565
|
floatingToolbarPosition: "right"
|
|
2332
2566
|
};
|
|
2333
|
-
function
|
|
2334
|
-
let [r, i] =
|
|
2335
|
-
...
|
|
2567
|
+
function Rn({ features: e, dashboardModes: t = ["rows", "grid"], children: n }) {
|
|
2568
|
+
let [r, i] = w(() => ({
|
|
2569
|
+
...Ln,
|
|
2336
2570
|
...e
|
|
2337
2571
|
}));
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
}, [r.thumbnail]),
|
|
2341
|
-
|
|
2572
|
+
S(() => {
|
|
2573
|
+
un(r.thumbnail);
|
|
2574
|
+
}, [r.thumbnail]), S(() => {
|
|
2575
|
+
jn(r.xlsExport);
|
|
2342
2576
|
}, [r.xlsExport]);
|
|
2343
|
-
let a =
|
|
2577
|
+
let a = ye((e) => {
|
|
2344
2578
|
i((t) => ({
|
|
2345
2579
|
...t,
|
|
2346
2580
|
...e
|
|
2347
2581
|
}));
|
|
2348
|
-
}, []), o =
|
|
2582
|
+
}, []), o = C(() => ({
|
|
2349
2583
|
features: r,
|
|
2350
2584
|
dashboardModes: t,
|
|
2351
2585
|
updateFeatures: a
|
|
@@ -2354,22 +2588,22 @@ function Nn({ features: e, dashboardModes: t = ["rows", "grid"], children: n })
|
|
|
2354
2588
|
t,
|
|
2355
2589
|
a
|
|
2356
2590
|
]);
|
|
2357
|
-
return /* @__PURE__ */
|
|
2591
|
+
return /* @__PURE__ */ T(In.Provider, {
|
|
2358
2592
|
value: o,
|
|
2359
2593
|
children: n
|
|
2360
2594
|
});
|
|
2361
2595
|
}
|
|
2362
|
-
var
|
|
2363
|
-
features:
|
|
2596
|
+
var zn = {
|
|
2597
|
+
features: Ln,
|
|
2364
2598
|
dashboardModes: ["rows", "grid"],
|
|
2365
2599
|
updateFeatures: () => {}
|
|
2366
2600
|
};
|
|
2367
|
-
function
|
|
2368
|
-
return
|
|
2601
|
+
function Bn() {
|
|
2602
|
+
return be(In) ?? zn;
|
|
2369
2603
|
}
|
|
2370
2604
|
//#endregion
|
|
2371
2605
|
//#region node_modules/@iconify/react/dist/iconify.js
|
|
2372
|
-
function
|
|
2606
|
+
function Vn(e, t) {
|
|
2373
2607
|
let n = e.icons, r = e.aliases || Object.create(null), i = Object.create(null);
|
|
2374
2608
|
function a(e) {
|
|
2375
2609
|
if (n[e]) return i[e] = [];
|
|
@@ -2382,82 +2616,82 @@ function In(e, t) {
|
|
|
2382
2616
|
}
|
|
2383
2617
|
return Object.keys(n).concat(Object.keys(r)).forEach(a), i;
|
|
2384
2618
|
}
|
|
2385
|
-
var
|
|
2619
|
+
var Hn = Object.freeze({
|
|
2386
2620
|
left: 0,
|
|
2387
2621
|
top: 0,
|
|
2388
2622
|
width: 16,
|
|
2389
2623
|
height: 16
|
|
2390
|
-
}),
|
|
2624
|
+
}), Un = Object.freeze({
|
|
2391
2625
|
rotate: 0,
|
|
2392
2626
|
vFlip: !1,
|
|
2393
2627
|
hFlip: !1
|
|
2394
|
-
}),
|
|
2395
|
-
...
|
|
2396
|
-
...
|
|
2397
|
-
}),
|
|
2398
|
-
...
|
|
2628
|
+
}), Wn = Object.freeze({
|
|
2629
|
+
...Hn,
|
|
2630
|
+
...Un
|
|
2631
|
+
}), Gn = Object.freeze({
|
|
2632
|
+
...Wn,
|
|
2399
2633
|
body: "",
|
|
2400
2634
|
hidden: !1
|
|
2401
2635
|
});
|
|
2402
|
-
function
|
|
2636
|
+
function Kn(e, t) {
|
|
2403
2637
|
let n = {};
|
|
2404
2638
|
!e.hFlip != !t.hFlip && (n.hFlip = !0), !e.vFlip != !t.vFlip && (n.vFlip = !0);
|
|
2405
2639
|
let r = ((e.rotate || 0) + (t.rotate || 0)) % 4;
|
|
2406
2640
|
return r && (n.rotate = r), n;
|
|
2407
2641
|
}
|
|
2408
|
-
function
|
|
2409
|
-
let n =
|
|
2410
|
-
for (let r in
|
|
2642
|
+
function qn(e, t) {
|
|
2643
|
+
let n = Kn(e, t);
|
|
2644
|
+
for (let r in Gn) r in Un ? r in e && !(r in n) && (n[r] = Un[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
|
|
2411
2645
|
return n;
|
|
2412
2646
|
}
|
|
2413
|
-
function
|
|
2647
|
+
function Jn(e, t, n) {
|
|
2414
2648
|
let r = e.icons, i = e.aliases || Object.create(null), a = {};
|
|
2415
2649
|
function o(e) {
|
|
2416
|
-
a =
|
|
2650
|
+
a = qn(r[e] || i[e], a);
|
|
2417
2651
|
}
|
|
2418
|
-
return o(t), n.forEach(o),
|
|
2652
|
+
return o(t), n.forEach(o), qn(e, a);
|
|
2419
2653
|
}
|
|
2420
|
-
function
|
|
2654
|
+
function Yn(e, t) {
|
|
2421
2655
|
let n = [];
|
|
2422
2656
|
if (typeof e != "object" || typeof e.icons != "object") return n;
|
|
2423
2657
|
e.not_found instanceof Array && e.not_found.forEach((e) => {
|
|
2424
2658
|
t(e, null), n.push(e);
|
|
2425
2659
|
});
|
|
2426
|
-
let r =
|
|
2660
|
+
let r = Vn(e);
|
|
2427
2661
|
for (let i in r) {
|
|
2428
2662
|
let a = r[i];
|
|
2429
|
-
a && (t(i,
|
|
2663
|
+
a && (t(i, Jn(e, i, a)), n.push(i));
|
|
2430
2664
|
}
|
|
2431
2665
|
return n;
|
|
2432
2666
|
}
|
|
2433
|
-
var
|
|
2667
|
+
var Xn = {
|
|
2434
2668
|
provider: "",
|
|
2435
2669
|
aliases: {},
|
|
2436
2670
|
not_found: {},
|
|
2437
|
-
...
|
|
2671
|
+
...Hn
|
|
2438
2672
|
};
|
|
2439
|
-
function
|
|
2673
|
+
function Zn(e, t) {
|
|
2440
2674
|
for (let n in t) if (n in e && typeof e[n] != typeof t[n]) return !1;
|
|
2441
2675
|
return !0;
|
|
2442
2676
|
}
|
|
2443
|
-
function
|
|
2677
|
+
function Qn(e) {
|
|
2444
2678
|
if (typeof e != "object" || !e) return null;
|
|
2445
2679
|
let t = e;
|
|
2446
|
-
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !
|
|
2680
|
+
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !Zn(e, Xn)) return null;
|
|
2447
2681
|
let n = t.icons;
|
|
2448
2682
|
for (let e in n) {
|
|
2449
2683
|
let t = n[e];
|
|
2450
|
-
if (!e || typeof t.body != "string" || !
|
|
2684
|
+
if (!e || typeof t.body != "string" || !Zn(t, Gn)) return null;
|
|
2451
2685
|
}
|
|
2452
2686
|
let r = t.aliases || Object.create(null);
|
|
2453
2687
|
for (let e in r) {
|
|
2454
2688
|
let t = r[e], i = t.parent;
|
|
2455
|
-
if (!e || typeof i != "string" || !n[i] && !r[i] || !
|
|
2689
|
+
if (!e || typeof i != "string" || !n[i] && !r[i] || !Zn(t, Gn)) return null;
|
|
2456
2690
|
}
|
|
2457
2691
|
return t;
|
|
2458
2692
|
}
|
|
2459
|
-
var
|
|
2460
|
-
function
|
|
2693
|
+
var $n = Object.create(null);
|
|
2694
|
+
function er(e, t) {
|
|
2461
2695
|
return {
|
|
2462
2696
|
provider: e,
|
|
2463
2697
|
prefix: t,
|
|
@@ -2465,22 +2699,22 @@ function Jn(e, t) {
|
|
|
2465
2699
|
missing: /* @__PURE__ */ new Set()
|
|
2466
2700
|
};
|
|
2467
2701
|
}
|
|
2468
|
-
function
|
|
2469
|
-
let n =
|
|
2470
|
-
return n[t] || (n[t] =
|
|
2702
|
+
function G(e, t) {
|
|
2703
|
+
let n = $n[e] || ($n[e] = Object.create(null));
|
|
2704
|
+
return n[t] || (n[t] = er(e, t));
|
|
2471
2705
|
}
|
|
2472
|
-
function
|
|
2473
|
-
return
|
|
2706
|
+
function tr(e, t) {
|
|
2707
|
+
return Qn(t) ? Yn(t, (t, n) => {
|
|
2474
2708
|
n ? e.icons[t] = n : e.missing.add(t);
|
|
2475
2709
|
}) : [];
|
|
2476
2710
|
}
|
|
2477
|
-
function
|
|
2711
|
+
function nr(e, t, n) {
|
|
2478
2712
|
try {
|
|
2479
2713
|
if (typeof n.body == "string") return e.icons[t] = { ...n }, !0;
|
|
2480
2714
|
} catch {}
|
|
2481
2715
|
return !1;
|
|
2482
2716
|
}
|
|
2483
|
-
var
|
|
2717
|
+
var rr = /^[a-z0-9]+(-[a-z0-9]+)*$/, ir = (e, t, n, r = "") => {
|
|
2484
2718
|
let i = e.split(":");
|
|
2485
2719
|
if (e.slice(0, 1) === "@") {
|
|
2486
2720
|
if (i.length < 2 || i.length > 3) return null;
|
|
@@ -2493,7 +2727,7 @@ var Zn = /^[a-z0-9]+(-[a-z0-9]+)*$/, W = (e, t, n, r = "") => {
|
|
|
2493
2727
|
prefix: n,
|
|
2494
2728
|
name: e
|
|
2495
2729
|
};
|
|
2496
|
-
return t && !
|
|
2730
|
+
return t && !ar(a) ? null : a;
|
|
2497
2731
|
}
|
|
2498
2732
|
let a = i[0], o = a.split("-");
|
|
2499
2733
|
if (o.length > 1) {
|
|
@@ -2502,7 +2736,7 @@ var Zn = /^[a-z0-9]+(-[a-z0-9]+)*$/, W = (e, t, n, r = "") => {
|
|
|
2502
2736
|
prefix: o.shift(),
|
|
2503
2737
|
name: o.join("-")
|
|
2504
2738
|
};
|
|
2505
|
-
return t && !
|
|
2739
|
+
return t && !ar(e) ? null : e;
|
|
2506
2740
|
}
|
|
2507
2741
|
if (n && r === "") {
|
|
2508
2742
|
let e = {
|
|
@@ -2510,54 +2744,54 @@ var Zn = /^[a-z0-9]+(-[a-z0-9]+)*$/, W = (e, t, n, r = "") => {
|
|
|
2510
2744
|
prefix: "",
|
|
2511
2745
|
name: a
|
|
2512
2746
|
};
|
|
2513
|
-
return t && !
|
|
2747
|
+
return t && !ar(e, n) ? null : e;
|
|
2514
2748
|
}
|
|
2515
2749
|
return null;
|
|
2516
|
-
},
|
|
2517
|
-
function
|
|
2750
|
+
}, ar = (e, t) => e ? !!((t && e.prefix === "" || e.prefix) && e.name) : !1, K = !1;
|
|
2751
|
+
function or(e) {
|
|
2518
2752
|
return typeof e == "boolean" && (K = e), K;
|
|
2519
2753
|
}
|
|
2520
|
-
function
|
|
2521
|
-
let t = typeof e == "string" ?
|
|
2754
|
+
function sr(e) {
|
|
2755
|
+
let t = typeof e == "string" ? ir(e, !0, K) : e;
|
|
2522
2756
|
if (t) {
|
|
2523
|
-
let e =
|
|
2757
|
+
let e = G(t.provider, t.prefix), n = t.name;
|
|
2524
2758
|
return e.icons[n] || (e.missing.has(n) ? null : void 0);
|
|
2525
2759
|
}
|
|
2526
2760
|
}
|
|
2527
|
-
function
|
|
2528
|
-
let n =
|
|
2761
|
+
function cr(e, t) {
|
|
2762
|
+
let n = ir(e, !0, K);
|
|
2529
2763
|
if (!n) return !1;
|
|
2530
|
-
let r =
|
|
2531
|
-
return t ?
|
|
2764
|
+
let r = G(n.provider, n.prefix);
|
|
2765
|
+
return t ? nr(r, n.name, t) : (r.missing.add(n.name), !0);
|
|
2532
2766
|
}
|
|
2533
|
-
function
|
|
2767
|
+
function lr(e, t) {
|
|
2534
2768
|
if (typeof e != "object") return !1;
|
|
2535
2769
|
if (typeof t != "string" && (t = e.provider || ""), K && !t && !e.prefix) {
|
|
2536
2770
|
let t = !1;
|
|
2537
|
-
return
|
|
2538
|
-
|
|
2771
|
+
return Qn(e) && (e.prefix = "", Yn(e, (e, n) => {
|
|
2772
|
+
cr(e, n) && (t = !0);
|
|
2539
2773
|
})), t;
|
|
2540
2774
|
}
|
|
2541
2775
|
let n = e.prefix;
|
|
2542
|
-
return
|
|
2776
|
+
return ar({
|
|
2543
2777
|
prefix: n,
|
|
2544
2778
|
name: "a"
|
|
2545
|
-
}) ? !!
|
|
2779
|
+
}) ? !!tr(G(t, n), e) : !1;
|
|
2546
2780
|
}
|
|
2547
|
-
var
|
|
2781
|
+
var ur = Object.freeze({
|
|
2548
2782
|
width: null,
|
|
2549
2783
|
height: null
|
|
2550
|
-
}),
|
|
2551
|
-
...
|
|
2552
|
-
...
|
|
2553
|
-
}),
|
|
2554
|
-
function
|
|
2784
|
+
}), dr = Object.freeze({
|
|
2785
|
+
...ur,
|
|
2786
|
+
...Un
|
|
2787
|
+
}), fr = /(-?[0-9.]*[0-9]+[0-9.]*)/g, pr = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
2788
|
+
function mr(e, t, n) {
|
|
2555
2789
|
if (t === 1) return e;
|
|
2556
2790
|
if (n ||= 100, typeof e == "number") return Math.ceil(e * t * n) / n;
|
|
2557
2791
|
if (typeof e != "string") return e;
|
|
2558
|
-
let r = e.split(
|
|
2792
|
+
let r = e.split(fr);
|
|
2559
2793
|
if (r === null || !r.length) return e;
|
|
2560
|
-
let i = [], a = r.shift(), o =
|
|
2794
|
+
let i = [], a = r.shift(), o = pr.test(a);
|
|
2561
2795
|
for (;;) {
|
|
2562
2796
|
if (o) {
|
|
2563
2797
|
let e = parseFloat(a);
|
|
@@ -2567,7 +2801,7 @@ function or(e, t, n) {
|
|
|
2567
2801
|
o = !o;
|
|
2568
2802
|
}
|
|
2569
2803
|
}
|
|
2570
|
-
function
|
|
2804
|
+
function hr(e, t = "defs") {
|
|
2571
2805
|
let n = "", r = e.indexOf("<" + t);
|
|
2572
2806
|
for (; r >= 0;) {
|
|
2573
2807
|
let i = e.indexOf(">", r), a = e.indexOf("</" + t);
|
|
@@ -2581,20 +2815,20 @@ function sr(e, t = "defs") {
|
|
|
2581
2815
|
content: e
|
|
2582
2816
|
};
|
|
2583
2817
|
}
|
|
2584
|
-
function
|
|
2818
|
+
function gr(e, t) {
|
|
2585
2819
|
return e ? "<defs>" + e + "</defs>" + t : t;
|
|
2586
2820
|
}
|
|
2587
|
-
function
|
|
2588
|
-
let r =
|
|
2589
|
-
return
|
|
2821
|
+
function _r(e, t, n) {
|
|
2822
|
+
let r = hr(e);
|
|
2823
|
+
return gr(r.defs, t + r.content + n);
|
|
2590
2824
|
}
|
|
2591
|
-
var
|
|
2592
|
-
function
|
|
2825
|
+
var vr = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
2826
|
+
function yr(e, t) {
|
|
2593
2827
|
let n = {
|
|
2594
|
-
...
|
|
2828
|
+
...Wn,
|
|
2595
2829
|
...e
|
|
2596
2830
|
}, r = {
|
|
2597
|
-
...
|
|
2831
|
+
...dr,
|
|
2598
2832
|
...t
|
|
2599
2833
|
}, i = {
|
|
2600
2834
|
left: n.left,
|
|
@@ -2617,12 +2851,12 @@ function dr(e, t) {
|
|
|
2617
2851
|
s = i.width / 2 + i.left, t.unshift("rotate(-90 " + s.toString() + " " + s.toString() + ")");
|
|
2618
2852
|
break;
|
|
2619
2853
|
}
|
|
2620
|
-
o % 2 == 1 && (i.left !== i.top && (s = i.left, i.left = i.top, i.top = s), i.width !== i.height && (s = i.width, i.width = i.height, i.height = s)), t.length && (a =
|
|
2854
|
+
o % 2 == 1 && (i.left !== i.top && (s = i.left, i.left = i.top, i.top = s), i.width !== i.height && (s = i.width, i.width = i.height, i.height = s)), t.length && (a = _r(a, "<g transform=\"" + t.join(" ") + "\">", "</g>"));
|
|
2621
2855
|
});
|
|
2622
2856
|
let o = r.width, s = r.height, c = i.width, l = i.height, u, d;
|
|
2623
|
-
o === null ? (d = s === null ? "1em" : s === "auto" ? l : s, u =
|
|
2857
|
+
o === null ? (d = s === null ? "1em" : s === "auto" ? l : s, u = mr(d, c / l)) : (u = o === "auto" ? c : o, d = s === null ? mr(u, l / c) : s === "auto" ? l : s);
|
|
2624
2858
|
let f = {}, p = (e, t) => {
|
|
2625
|
-
|
|
2859
|
+
vr(t) || (f[e] = t.toString());
|
|
2626
2860
|
};
|
|
2627
2861
|
p("width", u), p("height", d);
|
|
2628
2862
|
let m = [
|
|
@@ -2637,25 +2871,25 @@ function dr(e, t) {
|
|
|
2637
2871
|
body: a
|
|
2638
2872
|
};
|
|
2639
2873
|
}
|
|
2640
|
-
var
|
|
2641
|
-
function
|
|
2874
|
+
var br = /\sid="(\S+)"/g, xr = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16), Sr = 0;
|
|
2875
|
+
function Cr(e, t = xr) {
|
|
2642
2876
|
let n = [], r;
|
|
2643
|
-
for (; r =
|
|
2877
|
+
for (; r = br.exec(e);) n.push(r[1]);
|
|
2644
2878
|
if (!n.length) return e;
|
|
2645
2879
|
let i = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
2646
2880
|
return n.forEach((n) => {
|
|
2647
|
-
let r = typeof t == "function" ? t(n) : t + (
|
|
2881
|
+
let r = typeof t == "function" ? t(n) : t + (Sr++).toString(), a = n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
2648
2882
|
e = e.replace(RegExp("([#;\"])(" + a + ")([\")]|\\.[a-z])", "g"), "$1" + r + i + "$3");
|
|
2649
2883
|
}), e = e.replace(new RegExp(i, "g"), ""), e;
|
|
2650
2884
|
}
|
|
2651
|
-
var
|
|
2652
|
-
function
|
|
2653
|
-
|
|
2885
|
+
var wr = Object.create(null);
|
|
2886
|
+
function Tr(e, t) {
|
|
2887
|
+
wr[e] = t;
|
|
2654
2888
|
}
|
|
2655
|
-
function
|
|
2656
|
-
return
|
|
2889
|
+
function Er(e) {
|
|
2890
|
+
return wr[e] || wr[""];
|
|
2657
2891
|
}
|
|
2658
|
-
function
|
|
2892
|
+
function Dr(e) {
|
|
2659
2893
|
let t;
|
|
2660
2894
|
if (typeof e.resources == "string") t = [e.resources];
|
|
2661
2895
|
else if (t = e.resources, !(t instanceof Array) || !t.length) return null;
|
|
@@ -2670,23 +2904,23 @@ function yr(e) {
|
|
|
2670
2904
|
dataAfterTimeout: e.dataAfterTimeout !== !1
|
|
2671
2905
|
};
|
|
2672
2906
|
}
|
|
2673
|
-
for (var
|
|
2674
|
-
|
|
2675
|
-
function
|
|
2676
|
-
let n =
|
|
2677
|
-
return n === null ? !1 : (
|
|
2907
|
+
for (var Or = Object.create(null), kr = ["https://api.simplesvg.com", "https://api.unisvg.com"], Ar = []; kr.length > 0;) Ar.push(kr.length === 1 || Math.random() > .5 ? kr.shift() : kr.pop());
|
|
2908
|
+
Or[""] = Dr({ resources: ["https://api.iconify.design"].concat(Ar) });
|
|
2909
|
+
function jr(e, t) {
|
|
2910
|
+
let n = Dr(t);
|
|
2911
|
+
return n === null ? !1 : (Or[e] = n, !0);
|
|
2678
2912
|
}
|
|
2679
|
-
function
|
|
2680
|
-
return
|
|
2913
|
+
function Mr(e) {
|
|
2914
|
+
return Or[e];
|
|
2681
2915
|
}
|
|
2682
|
-
var
|
|
2916
|
+
var Nr = (() => {
|
|
2683
2917
|
let e;
|
|
2684
2918
|
try {
|
|
2685
2919
|
if (e = fetch, typeof e == "function") return e;
|
|
2686
2920
|
} catch {}
|
|
2687
2921
|
})();
|
|
2688
|
-
function
|
|
2689
|
-
let n =
|
|
2922
|
+
function Pr(e, t) {
|
|
2923
|
+
let n = Mr(e);
|
|
2690
2924
|
if (!n) return 0;
|
|
2691
2925
|
let r;
|
|
2692
2926
|
if (!n.maxURL) r = 0;
|
|
@@ -2700,11 +2934,11 @@ function Er(e, t) {
|
|
|
2700
2934
|
}
|
|
2701
2935
|
return r;
|
|
2702
2936
|
}
|
|
2703
|
-
function
|
|
2937
|
+
function Fr(e) {
|
|
2704
2938
|
return e === 404;
|
|
2705
2939
|
}
|
|
2706
|
-
var
|
|
2707
|
-
let r = [], i =
|
|
2940
|
+
var Ir = (e, t, n) => {
|
|
2941
|
+
let r = [], i = Pr(e, t), a = "icons", o = {
|
|
2708
2942
|
type: a,
|
|
2709
2943
|
provider: e,
|
|
2710
2944
|
prefix: t,
|
|
@@ -2719,21 +2953,21 @@ var Or = (e, t, n) => {
|
|
|
2719
2953
|
}, s = n.length), o.icons.push(n);
|
|
2720
2954
|
}), r.push(o), r;
|
|
2721
2955
|
};
|
|
2722
|
-
function
|
|
2956
|
+
function Lr(e) {
|
|
2723
2957
|
if (typeof e == "string") {
|
|
2724
|
-
let t =
|
|
2958
|
+
let t = Mr(e);
|
|
2725
2959
|
if (t) return t.path;
|
|
2726
2960
|
}
|
|
2727
2961
|
return "/";
|
|
2728
2962
|
}
|
|
2729
|
-
var
|
|
2730
|
-
prepare:
|
|
2963
|
+
var Rr = {
|
|
2964
|
+
prepare: Ir,
|
|
2731
2965
|
send: (e, t, n) => {
|
|
2732
|
-
if (!
|
|
2966
|
+
if (!Nr) {
|
|
2733
2967
|
n("abort", 424);
|
|
2734
2968
|
return;
|
|
2735
2969
|
}
|
|
2736
|
-
let r =
|
|
2970
|
+
let r = Lr(t.provider);
|
|
2737
2971
|
switch (t.type) {
|
|
2738
2972
|
case "icons": {
|
|
2739
2973
|
let e = t.prefix, n = t.icons.join(","), i = new URLSearchParams({ icons: n });
|
|
@@ -2750,11 +2984,11 @@ var Ar = {
|
|
|
2750
2984
|
return;
|
|
2751
2985
|
}
|
|
2752
2986
|
let i = 503;
|
|
2753
|
-
|
|
2987
|
+
Nr(e + r).then((e) => {
|
|
2754
2988
|
let t = e.status;
|
|
2755
2989
|
if (t !== 200) {
|
|
2756
2990
|
setTimeout(() => {
|
|
2757
|
-
n(
|
|
2991
|
+
n(Fr(t) ? "abort" : "next", t);
|
|
2758
2992
|
});
|
|
2759
2993
|
return;
|
|
2760
2994
|
}
|
|
@@ -2774,13 +3008,13 @@ var Ar = {
|
|
|
2774
3008
|
});
|
|
2775
3009
|
}
|
|
2776
3010
|
};
|
|
2777
|
-
function
|
|
3011
|
+
function zr(e, t) {
|
|
2778
3012
|
e.forEach((e) => {
|
|
2779
3013
|
let n = e.loaderCallbacks;
|
|
2780
3014
|
n && (e.loaderCallbacks = n.filter((e) => e.id !== t));
|
|
2781
3015
|
});
|
|
2782
3016
|
}
|
|
2783
|
-
function
|
|
3017
|
+
function Br(e) {
|
|
2784
3018
|
e.pendingCallbacksFlag || (e.pendingCallbacksFlag = !0, setTimeout(() => {
|
|
2785
3019
|
e.pendingCallbacksFlag = !1;
|
|
2786
3020
|
let t = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
|
|
@@ -2803,13 +3037,13 @@ function Mr(e) {
|
|
|
2803
3037
|
});
|
|
2804
3038
|
else return n = !0, !0;
|
|
2805
3039
|
return !1;
|
|
2806
|
-
}), a.pending.length !== o && (n ||
|
|
3040
|
+
}), a.pending.length !== o && (n || zr([e], t.id), t.callback(a.loaded.slice(0), a.missing.slice(0), a.pending.slice(0), t.abort));
|
|
2807
3041
|
});
|
|
2808
3042
|
}));
|
|
2809
3043
|
}
|
|
2810
|
-
var
|
|
2811
|
-
function
|
|
2812
|
-
let r =
|
|
3044
|
+
var Vr = 0;
|
|
3045
|
+
function Hr(e, t, n) {
|
|
3046
|
+
let r = Vr++, i = zr.bind(null, n, r);
|
|
2813
3047
|
if (!t.pending.length) return i;
|
|
2814
3048
|
let a = {
|
|
2815
3049
|
id: r,
|
|
@@ -2821,7 +3055,7 @@ function Pr(e, t, n) {
|
|
|
2821
3055
|
(e.loaderCallbacks ||= []).push(a);
|
|
2822
3056
|
}), i;
|
|
2823
3057
|
}
|
|
2824
|
-
function
|
|
3058
|
+
function Ur(e) {
|
|
2825
3059
|
let t = {
|
|
2826
3060
|
loaded: [],
|
|
2827
3061
|
missing: [],
|
|
@@ -2836,7 +3070,7 @@ function Fr(e) {
|
|
|
2836
3070
|
return e.forEach((e) => {
|
|
2837
3071
|
if (r.name === e.name && r.prefix === e.prefix && r.provider === e.provider) return;
|
|
2838
3072
|
r = e;
|
|
2839
|
-
let i = e.provider, a = e.prefix, o = e.name, s = n[i] || (n[i] = Object.create(null)), c = s[a] || (s[a] =
|
|
3073
|
+
let i = e.provider, a = e.prefix, o = e.name, s = n[i] || (n[i] = Object.create(null)), c = s[a] || (s[a] = G(i, a)), l;
|
|
2840
3074
|
l = o in c.icons ? t.loaded : a === "" || c.missing.has(o) ? t.missing : t.pending, l.push({
|
|
2841
3075
|
provider: i,
|
|
2842
3076
|
prefix: a,
|
|
@@ -2844,14 +3078,14 @@ function Fr(e) {
|
|
|
2844
3078
|
});
|
|
2845
3079
|
}), t;
|
|
2846
3080
|
}
|
|
2847
|
-
function
|
|
3081
|
+
function Wr(e, t = !0, n = !1) {
|
|
2848
3082
|
let r = [];
|
|
2849
3083
|
return e.forEach((e) => {
|
|
2850
|
-
let i = typeof e == "string" ?
|
|
3084
|
+
let i = typeof e == "string" ? ir(e, t, n) : e;
|
|
2851
3085
|
i && r.push(i);
|
|
2852
3086
|
}), r;
|
|
2853
3087
|
}
|
|
2854
|
-
var
|
|
3088
|
+
var Gr = {
|
|
2855
3089
|
resources: [],
|
|
2856
3090
|
index: 0,
|
|
2857
3091
|
timeout: 2e3,
|
|
@@ -2859,7 +3093,7 @@ var Lr = {
|
|
|
2859
3093
|
random: !1,
|
|
2860
3094
|
dataAfterTimeout: !1
|
|
2861
3095
|
};
|
|
2862
|
-
function
|
|
3096
|
+
function Kr(e, t, n, r) {
|
|
2863
3097
|
let i = e.random ? Math.floor(Math.random() * e.resources.length) : e.index, a;
|
|
2864
3098
|
if (e.random) {
|
|
2865
3099
|
let t = e.resources.slice(0);
|
|
@@ -2953,16 +3187,16 @@ function Rr(e, t, n, r) {
|
|
|
2953
3187
|
}
|
|
2954
3188
|
return setTimeout(y), g;
|
|
2955
3189
|
}
|
|
2956
|
-
function
|
|
3190
|
+
function qr(e) {
|
|
2957
3191
|
let t = {
|
|
2958
|
-
...
|
|
3192
|
+
...Gr,
|
|
2959
3193
|
...e
|
|
2960
3194
|
}, n = [];
|
|
2961
3195
|
function r() {
|
|
2962
3196
|
n = n.filter((e) => e().status === "pending");
|
|
2963
3197
|
}
|
|
2964
3198
|
function i(e, i, a) {
|
|
2965
|
-
let o =
|
|
3199
|
+
let o = Kr(t, e, i, (e, t) => {
|
|
2966
3200
|
r(), a && a(e, t);
|
|
2967
3201
|
});
|
|
2968
3202
|
return n.push(o), o;
|
|
@@ -2980,47 +3214,47 @@ function zr(e) {
|
|
|
2980
3214
|
cleanup: r
|
|
2981
3215
|
};
|
|
2982
3216
|
}
|
|
2983
|
-
function
|
|
2984
|
-
var
|
|
2985
|
-
function
|
|
2986
|
-
if (!
|
|
2987
|
-
let t =
|
|
3217
|
+
function Jr() {}
|
|
3218
|
+
var Yr = Object.create(null);
|
|
3219
|
+
function Xr(e) {
|
|
3220
|
+
if (!Yr[e]) {
|
|
3221
|
+
let t = Mr(e);
|
|
2988
3222
|
if (!t) return;
|
|
2989
|
-
|
|
3223
|
+
Yr[e] = {
|
|
2990
3224
|
config: t,
|
|
2991
|
-
redundancy:
|
|
3225
|
+
redundancy: qr(t)
|
|
2992
3226
|
};
|
|
2993
3227
|
}
|
|
2994
|
-
return
|
|
3228
|
+
return Yr[e];
|
|
2995
3229
|
}
|
|
2996
|
-
function
|
|
3230
|
+
function Zr(e, t, n) {
|
|
2997
3231
|
let r, i;
|
|
2998
3232
|
if (typeof e == "string") {
|
|
2999
|
-
let t =
|
|
3000
|
-
if (!t) return n(void 0, 424),
|
|
3233
|
+
let t = Er(e);
|
|
3234
|
+
if (!t) return n(void 0, 424), Jr;
|
|
3001
3235
|
i = t.send;
|
|
3002
|
-
let a =
|
|
3236
|
+
let a = Xr(e);
|
|
3003
3237
|
a && (r = a.redundancy);
|
|
3004
3238
|
} else {
|
|
3005
|
-
let t =
|
|
3239
|
+
let t = Dr(e);
|
|
3006
3240
|
if (t) {
|
|
3007
|
-
r =
|
|
3008
|
-
let n =
|
|
3241
|
+
r = qr(t);
|
|
3242
|
+
let n = Er(e.resources ? e.resources[0] : "");
|
|
3009
3243
|
n && (i = n.send);
|
|
3010
3244
|
}
|
|
3011
3245
|
}
|
|
3012
|
-
return !r || !i ? (n(void 0, 424),
|
|
3246
|
+
return !r || !i ? (n(void 0, 424), Jr) : r.query(t, i, n)().abort;
|
|
3013
3247
|
}
|
|
3014
|
-
function
|
|
3015
|
-
function
|
|
3248
|
+
function Qr() {}
|
|
3249
|
+
function $r(e) {
|
|
3016
3250
|
e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
|
|
3017
|
-
e.iconsLoaderFlag = !1,
|
|
3251
|
+
e.iconsLoaderFlag = !1, Br(e);
|
|
3018
3252
|
}));
|
|
3019
3253
|
}
|
|
3020
|
-
function
|
|
3254
|
+
function ei(e) {
|
|
3021
3255
|
let t = [], n = [];
|
|
3022
3256
|
return e.forEach((e) => {
|
|
3023
|
-
(e.match(
|
|
3257
|
+
(e.match(rr) ? t : n).push(e);
|
|
3024
3258
|
}), {
|
|
3025
3259
|
valid: t,
|
|
3026
3260
|
invalid: n
|
|
@@ -3034,37 +3268,37 @@ function q(e, t, n) {
|
|
|
3034
3268
|
});
|
|
3035
3269
|
}
|
|
3036
3270
|
if (n && typeof n == "object") try {
|
|
3037
|
-
if (!
|
|
3271
|
+
if (!tr(e, n).length) {
|
|
3038
3272
|
r();
|
|
3039
3273
|
return;
|
|
3040
3274
|
}
|
|
3041
3275
|
} catch (e) {
|
|
3042
3276
|
console.error(e);
|
|
3043
3277
|
}
|
|
3044
|
-
r(),
|
|
3278
|
+
r(), $r(e);
|
|
3045
3279
|
}
|
|
3046
|
-
function
|
|
3280
|
+
function ti(e, t) {
|
|
3047
3281
|
e instanceof Promise ? e.then((e) => {
|
|
3048
3282
|
t(e);
|
|
3049
3283
|
}).catch(() => {
|
|
3050
3284
|
t(null);
|
|
3051
3285
|
}) : t(e);
|
|
3052
3286
|
}
|
|
3053
|
-
function
|
|
3287
|
+
function ni(e, t) {
|
|
3054
3288
|
e.iconsToLoad ? e.iconsToLoad = e.iconsToLoad.concat(t).sort() : e.iconsToLoad = t, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
|
|
3055
3289
|
e.iconsQueueFlag = !1;
|
|
3056
3290
|
let { provider: t, prefix: n } = e, r = e.iconsToLoad;
|
|
3057
3291
|
if (delete e.iconsToLoad, !r || !r.length) return;
|
|
3058
3292
|
let i = e.loadIcon;
|
|
3059
3293
|
if (e.loadIcons && (r.length > 1 || !i)) {
|
|
3060
|
-
|
|
3294
|
+
ti(e.loadIcons(r, n, t), (t) => {
|
|
3061
3295
|
q(e, r, t);
|
|
3062
3296
|
});
|
|
3063
3297
|
return;
|
|
3064
3298
|
}
|
|
3065
3299
|
if (i) {
|
|
3066
3300
|
r.forEach((r) => {
|
|
3067
|
-
|
|
3301
|
+
ti(i(r, n, t), (t) => {
|
|
3068
3302
|
q(e, [r], t ? {
|
|
3069
3303
|
prefix: n,
|
|
3070
3304
|
icons: { [r]: t }
|
|
@@ -3073,26 +3307,26 @@ function Jr(e, t) {
|
|
|
3073
3307
|
});
|
|
3074
3308
|
return;
|
|
3075
3309
|
}
|
|
3076
|
-
let { valid: a, invalid: o } =
|
|
3310
|
+
let { valid: a, invalid: o } = ei(r);
|
|
3077
3311
|
if (o.length && q(e, o, null), !a.length) return;
|
|
3078
|
-
let s = n.match(
|
|
3312
|
+
let s = n.match(rr) ? Er(t) : null;
|
|
3079
3313
|
if (!s) {
|
|
3080
3314
|
q(e, a, null);
|
|
3081
3315
|
return;
|
|
3082
3316
|
}
|
|
3083
3317
|
s.prepare(t, n, a).forEach((n) => {
|
|
3084
|
-
|
|
3318
|
+
Zr(t, n, (t) => {
|
|
3085
3319
|
q(e, n.icons, t);
|
|
3086
3320
|
});
|
|
3087
3321
|
});
|
|
3088
3322
|
}));
|
|
3089
3323
|
}
|
|
3090
|
-
var
|
|
3091
|
-
let n =
|
|
3324
|
+
var ri = (e, t) => {
|
|
3325
|
+
let n = Ur(Wr(e, !0, or()));
|
|
3092
3326
|
if (!n.pending.length) {
|
|
3093
3327
|
let e = !0;
|
|
3094
3328
|
return t && setTimeout(() => {
|
|
3095
|
-
e && t(n.loaded, n.missing, n.pending,
|
|
3329
|
+
e && t(n.loaded, n.missing, n.pending, Qr);
|
|
3096
3330
|
}), () => {
|
|
3097
3331
|
e = !1;
|
|
3098
3332
|
};
|
|
@@ -3101,28 +3335,28 @@ var Yr = (e, t) => {
|
|
|
3101
3335
|
return n.pending.forEach((e) => {
|
|
3102
3336
|
let { provider: t, prefix: n } = e;
|
|
3103
3337
|
if (n === o && t === a) return;
|
|
3104
|
-
a = t, o = n, i.push(
|
|
3338
|
+
a = t, o = n, i.push(G(t, n));
|
|
3105
3339
|
let s = r[t] || (r[t] = Object.create(null));
|
|
3106
3340
|
s[n] || (s[n] = []);
|
|
3107
3341
|
}), n.pending.forEach((e) => {
|
|
3108
|
-
let { provider: t, prefix: n, name: i } = e, a =
|
|
3342
|
+
let { provider: t, prefix: n, name: i } = e, a = G(t, n), o = a.pendingIcons ||= /* @__PURE__ */ new Set();
|
|
3109
3343
|
o.has(i) || (o.add(i), r[t][n].push(i));
|
|
3110
3344
|
}), i.forEach((e) => {
|
|
3111
3345
|
let t = r[e.provider][e.prefix];
|
|
3112
|
-
t.length &&
|
|
3113
|
-
}), t ?
|
|
3346
|
+
t.length && ni(e, t);
|
|
3347
|
+
}), t ? Hr(t, n, i) : Qr;
|
|
3114
3348
|
};
|
|
3115
|
-
function
|
|
3349
|
+
function ii(e, t) {
|
|
3116
3350
|
let n = { ...e };
|
|
3117
3351
|
for (let e in t) {
|
|
3118
3352
|
let r = t[e], i = typeof r;
|
|
3119
|
-
e in
|
|
3353
|
+
e in ur ? (r === null || r && (i === "string" || i === "number")) && (n[e] = r) : i === typeof n[e] && (n[e] = e === "rotate" ? r % 4 : r);
|
|
3120
3354
|
}
|
|
3121
3355
|
return n;
|
|
3122
3356
|
}
|
|
3123
|
-
var
|
|
3124
|
-
function
|
|
3125
|
-
t.split(
|
|
3357
|
+
var ai = /[\s,]+/;
|
|
3358
|
+
function oi(e, t) {
|
|
3359
|
+
t.split(ai).forEach((t) => {
|
|
3126
3360
|
switch (t.trim()) {
|
|
3127
3361
|
case "horizontal":
|
|
3128
3362
|
e.hFlip = !0;
|
|
@@ -3133,7 +3367,7 @@ function Qr(e, t) {
|
|
|
3133
3367
|
}
|
|
3134
3368
|
});
|
|
3135
3369
|
}
|
|
3136
|
-
function
|
|
3370
|
+
function si(e, t = 0) {
|
|
3137
3371
|
let n = e.replace(/^-?[0-9.]*/, "");
|
|
3138
3372
|
function r(e) {
|
|
3139
3373
|
for (; e < 0;) e += 4;
|
|
@@ -3157,63 +3391,63 @@ function $r(e, t = 0) {
|
|
|
3157
3391
|
}
|
|
3158
3392
|
return t;
|
|
3159
3393
|
}
|
|
3160
|
-
function
|
|
3394
|
+
function ci(e, t) {
|
|
3161
3395
|
let n = e.indexOf("xlink:") === -1 ? "" : " xmlns:xlink=\"http://www.w3.org/1999/xlink\"";
|
|
3162
3396
|
for (let e in t) n += " " + e + "=\"" + t[e] + "\"";
|
|
3163
3397
|
return "<svg xmlns=\"http://www.w3.org/2000/svg\"" + n + ">" + e + "</svg>";
|
|
3164
3398
|
}
|
|
3165
|
-
function
|
|
3399
|
+
function li(e) {
|
|
3166
3400
|
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
3167
3401
|
}
|
|
3168
|
-
function
|
|
3169
|
-
return "data:image/svg+xml," +
|
|
3402
|
+
function ui(e) {
|
|
3403
|
+
return "data:image/svg+xml," + li(e);
|
|
3170
3404
|
}
|
|
3171
|
-
function
|
|
3172
|
-
return "url(\"" +
|
|
3405
|
+
function di(e) {
|
|
3406
|
+
return "url(\"" + ui(e) + "\")";
|
|
3173
3407
|
}
|
|
3174
3408
|
var J;
|
|
3175
|
-
function
|
|
3409
|
+
function fi() {
|
|
3176
3410
|
try {
|
|
3177
3411
|
J = window.trustedTypes.createPolicy("iconify", { createHTML: (e) => e });
|
|
3178
3412
|
} catch {
|
|
3179
3413
|
J = null;
|
|
3180
3414
|
}
|
|
3181
3415
|
}
|
|
3182
|
-
function
|
|
3183
|
-
return J === void 0 &&
|
|
3416
|
+
function pi(e) {
|
|
3417
|
+
return J === void 0 && fi(), J ? J.createHTML(e) : e;
|
|
3184
3418
|
}
|
|
3185
|
-
var
|
|
3186
|
-
...
|
|
3419
|
+
var mi = {
|
|
3420
|
+
...dr,
|
|
3187
3421
|
inline: !1
|
|
3188
|
-
},
|
|
3422
|
+
}, hi = {
|
|
3189
3423
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3190
3424
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
3191
3425
|
"aria-hidden": !0,
|
|
3192
3426
|
role: "img"
|
|
3193
|
-
},
|
|
3427
|
+
}, gi = { display: "inline-block" }, _i = { backgroundColor: "currentColor" }, vi = { backgroundColor: "transparent" }, yi = {
|
|
3194
3428
|
Image: "var(--svg)",
|
|
3195
3429
|
Repeat: "no-repeat",
|
|
3196
3430
|
Size: "100% 100%"
|
|
3197
|
-
},
|
|
3198
|
-
WebkitMask:
|
|
3199
|
-
mask:
|
|
3200
|
-
background:
|
|
3431
|
+
}, bi = {
|
|
3432
|
+
WebkitMask: _i,
|
|
3433
|
+
mask: _i,
|
|
3434
|
+
background: vi
|
|
3201
3435
|
};
|
|
3202
|
-
for (let e in
|
|
3203
|
-
let t =
|
|
3204
|
-
for (let n in
|
|
3436
|
+
for (let e in bi) {
|
|
3437
|
+
let t = bi[e];
|
|
3438
|
+
for (let n in yi) t[e + n] = yi[n];
|
|
3205
3439
|
}
|
|
3206
|
-
var
|
|
3207
|
-
...
|
|
3440
|
+
var xi = {
|
|
3441
|
+
...mi,
|
|
3208
3442
|
inline: !0
|
|
3209
3443
|
};
|
|
3210
|
-
function
|
|
3444
|
+
function Si(e) {
|
|
3211
3445
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
3212
3446
|
}
|
|
3213
|
-
var
|
|
3214
|
-
let r = t.inline ?
|
|
3447
|
+
var Ci = (e, t, n) => {
|
|
3448
|
+
let r = t.inline ? xi : mi, i = ii(r, t), a = t.mode || "svg", o = {}, s = t.style || {}, c = { ...a === "svg" ? hi : {} };
|
|
3215
3449
|
if (n) {
|
|
3216
|
-
let e =
|
|
3450
|
+
let e = ir(n, !1, !0);
|
|
3217
3451
|
if (e) {
|
|
3218
3452
|
let t = ["iconify"];
|
|
3219
3453
|
for (let n of ["provider", "prefix"]) e[n] && t.push("iconify--" + e[n]);
|
|
@@ -3242,13 +3476,13 @@ var hi = (e, t, n) => {
|
|
|
3242
3476
|
i[e] = n === !0 || n === "true" || n === 1;
|
|
3243
3477
|
break;
|
|
3244
3478
|
case "flip":
|
|
3245
|
-
typeof n == "string" &&
|
|
3479
|
+
typeof n == "string" && oi(i, n);
|
|
3246
3480
|
break;
|
|
3247
3481
|
case "color":
|
|
3248
3482
|
o.color = n;
|
|
3249
3483
|
break;
|
|
3250
3484
|
case "rotate":
|
|
3251
|
-
typeof n == "string" ? i[e] =
|
|
3485
|
+
typeof n == "string" ? i[e] = si(n) : typeof n == "number" && (i[e] = n);
|
|
3252
3486
|
break;
|
|
3253
3487
|
case "ariaHidden":
|
|
3254
3488
|
case "aria-hidden":
|
|
@@ -3257,37 +3491,37 @@ var hi = (e, t, n) => {
|
|
|
3257
3491
|
default: r[e] === void 0 && (c[e] = n);
|
|
3258
3492
|
}
|
|
3259
3493
|
}
|
|
3260
|
-
let l =
|
|
3494
|
+
let l = yr(e, i), u = l.attributes;
|
|
3261
3495
|
if (i.inline && (o.verticalAlign = "-0.125em"), a === "svg") {
|
|
3262
3496
|
c.style = {
|
|
3263
3497
|
...o,
|
|
3264
3498
|
...s
|
|
3265
3499
|
}, Object.assign(c, u);
|
|
3266
3500
|
let e = 0, n = t.id;
|
|
3267
|
-
return typeof n == "string" && (n = n.replace(/-/g, "_")), c.dangerouslySetInnerHTML = { __html:
|
|
3501
|
+
return typeof n == "string" && (n = n.replace(/-/g, "_")), c.dangerouslySetInnerHTML = { __html: pi(Cr(l.body, n ? () => n + "ID" + e++ : "iconifyReact")) }, ge("svg", c);
|
|
3268
3502
|
}
|
|
3269
|
-
let { body: d, width: f, height: p } = e, m = a === "mask" || (a === "bg" ? !1 : d.indexOf("currentColor") !== -1), h =
|
|
3503
|
+
let { body: d, width: f, height: p } = e, m = a === "mask" || (a === "bg" ? !1 : d.indexOf("currentColor") !== -1), h = ci(d, {
|
|
3270
3504
|
...u,
|
|
3271
3505
|
width: f + "",
|
|
3272
3506
|
height: p + ""
|
|
3273
3507
|
});
|
|
3274
3508
|
return c.style = {
|
|
3275
3509
|
...o,
|
|
3276
|
-
"--svg":
|
|
3277
|
-
width:
|
|
3278
|
-
height:
|
|
3279
|
-
...
|
|
3280
|
-
...m ?
|
|
3510
|
+
"--svg": di(h),
|
|
3511
|
+
width: Si(u.width),
|
|
3512
|
+
height: Si(u.height),
|
|
3513
|
+
...gi,
|
|
3514
|
+
...m ? _i : vi,
|
|
3281
3515
|
...s
|
|
3282
|
-
},
|
|
3516
|
+
}, ge("span", c);
|
|
3283
3517
|
};
|
|
3284
|
-
if (
|
|
3518
|
+
if (or(!0), Tr("", Rr), typeof document < "u" && typeof window < "u") {
|
|
3285
3519
|
let e = window;
|
|
3286
3520
|
if (e.IconifyPreload !== void 0) {
|
|
3287
3521
|
let t = e.IconifyPreload, n = "Invalid IconifyPreload syntax.";
|
|
3288
3522
|
typeof t == "object" && t && (t instanceof Array ? t : [t]).forEach((e) => {
|
|
3289
3523
|
try {
|
|
3290
|
-
(typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !
|
|
3524
|
+
(typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !lr(e)) && console.error(n);
|
|
3291
3525
|
} catch {
|
|
3292
3526
|
console.error(n);
|
|
3293
3527
|
}
|
|
@@ -3300,15 +3534,15 @@ if (Qn(!0), _r("", Ar), typeof document < "u" && typeof window < "u") {
|
|
|
3300
3534
|
try {
|
|
3301
3535
|
let r = t[e];
|
|
3302
3536
|
if (typeof r != "object" || !r || r.resources === void 0) continue;
|
|
3303
|
-
|
|
3537
|
+
jr(e, r) || console.error(n);
|
|
3304
3538
|
} catch {
|
|
3305
3539
|
console.error(n);
|
|
3306
3540
|
}
|
|
3307
3541
|
}
|
|
3308
3542
|
}
|
|
3309
3543
|
}
|
|
3310
|
-
function
|
|
3311
|
-
let [t, n] =
|
|
3544
|
+
function wi(e) {
|
|
3545
|
+
let [t, n] = w(!!e.ssr), [r, i] = w({});
|
|
3312
3546
|
function a(t) {
|
|
3313
3547
|
if (t) {
|
|
3314
3548
|
let t = e.icon;
|
|
@@ -3316,7 +3550,7 @@ function gi(e) {
|
|
|
3316
3550
|
name: "",
|
|
3317
3551
|
data: t
|
|
3318
3552
|
};
|
|
3319
|
-
let n =
|
|
3553
|
+
let n = sr(t);
|
|
3320
3554
|
if (n) return {
|
|
3321
3555
|
name: t,
|
|
3322
3556
|
data: n
|
|
@@ -3324,7 +3558,7 @@ function gi(e) {
|
|
|
3324
3558
|
}
|
|
3325
3559
|
return { name: "" };
|
|
3326
3560
|
}
|
|
3327
|
-
let [o, s] =
|
|
3561
|
+
let [o, s] = w(a(!!e.ssr));
|
|
3328
3562
|
function c() {
|
|
3329
3563
|
let e = r.callback;
|
|
3330
3564
|
e && (e(), i({}));
|
|
@@ -3342,478 +3576,478 @@ function gi(e) {
|
|
|
3342
3576
|
});
|
|
3343
3577
|
return;
|
|
3344
3578
|
}
|
|
3345
|
-
let r =
|
|
3579
|
+
let r = sr(n);
|
|
3346
3580
|
l({
|
|
3347
3581
|
name: n,
|
|
3348
3582
|
data: r
|
|
3349
|
-
}) && (r === void 0 ? i({ callback:
|
|
3583
|
+
}) && (r === void 0 ? i({ callback: ri([n], u) }) : r && ((t = e.onLoad) == null || t.call(e, n)));
|
|
3350
3584
|
}
|
|
3351
|
-
|
|
3585
|
+
S(() => (n(!0), c), []), S(() => {
|
|
3352
3586
|
t && u();
|
|
3353
3587
|
}, [e.icon, t]);
|
|
3354
3588
|
let { name: d, data: f } = o;
|
|
3355
|
-
return f ?
|
|
3356
|
-
...
|
|
3589
|
+
return f ? Ci({
|
|
3590
|
+
...Wn,
|
|
3357
3591
|
...f
|
|
3358
|
-
}, e, d) : e.children ? e.children : e.fallback ? e.fallback :
|
|
3592
|
+
}, e, d) : e.children ? e.children : e.fallback ? e.fallback : ge("span", {});
|
|
3359
3593
|
}
|
|
3360
|
-
var
|
|
3594
|
+
var Ti = _e((e, t) => wi({
|
|
3361
3595
|
...e,
|
|
3362
3596
|
_ref: t
|
|
3363
3597
|
}));
|
|
3364
|
-
|
|
3598
|
+
_e((e, t) => wi({
|
|
3365
3599
|
inline: !0,
|
|
3366
3600
|
...e,
|
|
3367
3601
|
_ref: t
|
|
3368
3602
|
}));
|
|
3369
3603
|
//#endregion
|
|
3370
3604
|
//#region node_modules/@iconify-icons/heroicons-outline/x-mark.js
|
|
3371
|
-
var
|
|
3605
|
+
var Ei = {
|
|
3372
3606
|
width: 24,
|
|
3373
3607
|
height: 24,
|
|
3374
3608
|
hidden: !0,
|
|
3375
3609
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"m4.5 19.5l15-15m-15 0l15 15\"/>"
|
|
3376
|
-
},
|
|
3610
|
+
}, Di = {
|
|
3377
3611
|
width: 24,
|
|
3378
3612
|
height: 24,
|
|
3379
3613
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 4v16m8-8H4\"/>"
|
|
3380
|
-
},
|
|
3614
|
+
}, Oi = {
|
|
3381
3615
|
width: 24,
|
|
3382
3616
|
height: 24,
|
|
3383
3617
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 1 1 3.536 3.536L6.5 21.036H3v-3.572L16.732 3.732Z\"/>"
|
|
3384
|
-
},
|
|
3618
|
+
}, ki = {
|
|
3385
3619
|
width: 24,
|
|
3386
3620
|
height: 24,
|
|
3387
3621
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 7l-.867 12.142A2 2 0 0 1 16.138 21H7.862a2 2 0 0 1-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v3M4 7h16\"/>"
|
|
3388
|
-
},
|
|
3622
|
+
}, Ai = {
|
|
3389
3623
|
width: 24,
|
|
3390
3624
|
height: 24,
|
|
3391
3625
|
hidden: !0,
|
|
3392
3626
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M4.5 12c0-1.232.046-2.453.138-3.662a4.006 4.006 0 0 1 3.7-3.7a48.678 48.678 0 0 1 7.324 0a4.006 4.006 0 0 1 3.7 3.7c.017.22.032.441.046.662M4.5 12l-3-3m3 3l3-3m12 3c0 1.232-.046 2.453-.138 3.662a4.006 4.006 0 0 1-3.7 3.7a48.657 48.657 0 0 1-7.324 0a4.006 4.006 0 0 1-3.7-3.7c-.017-.22-.032-.441-.046-.662M19.5 12l-3 3m3-3l3 3\"/>"
|
|
3393
|
-
},
|
|
3627
|
+
}, ji = {
|
|
3394
3628
|
width: 24,
|
|
3395
3629
|
height: 24,
|
|
3396
3630
|
hidden: !0,
|
|
3397
3631
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192c.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z\"/>"
|
|
3398
|
-
},
|
|
3632
|
+
}, Mi = {
|
|
3399
3633
|
width: 24,
|
|
3400
3634
|
height: 24,
|
|
3401
3635
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 7v8a2 2 0 0 0 2 2h6M8 7V5a2 2 0 0 1 2-2h4.586a1 1 0 0 1 .707.293l4.414 4.414a1 1 0 0 1 .293.707V15a2 2 0 0 1-2 2h-2M8 7H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-2\"/>"
|
|
3402
|
-
},
|
|
3636
|
+
}, Ni = {
|
|
3403
3637
|
width: 24,
|
|
3404
3638
|
height: 24,
|
|
3405
3639
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 0 0-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 0 0-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 0 0-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 0 0-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 0 0 1.066-2.573c-.94-1.543.826-3.31 2.37-2.37c.996.608 2.296.07 2.572-1.065Z\"/><path d=\"M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/></g>"
|
|
3406
|
-
},
|
|
3640
|
+
}, Pi = {
|
|
3407
3641
|
width: 24,
|
|
3408
3642
|
height: 24,
|
|
3409
3643
|
hidden: !0,
|
|
3410
3644
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M12 3c2.755 0 5.455.232 8.083.678c.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z\"/>"
|
|
3411
|
-
},
|
|
3645
|
+
}, Fi = {
|
|
3412
3646
|
width: 24,
|
|
3413
3647
|
height: 24,
|
|
3414
3648
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.684 13.342C8.886 12.938 9 12.482 9 12c0-.482-.114-.938-.316-1.342m0 2.684a3 3 0 1 1 0-2.684m0 2.684l6.632 3.316m-6.632-6l6.632-3.316m0 0a3 3 0 1 0 5.367-2.684a3 3 0 0 0-5.367 2.684Zm0 9.316a3 3 0 1 0 5.368 2.684a3 3 0 0 0-5.368-2.684Z\"/>"
|
|
3415
|
-
},
|
|
3649
|
+
}, Ii = {
|
|
3416
3650
|
width: 24,
|
|
3417
3651
|
height: 24,
|
|
3418
3652
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15l7-7l7 7\"/>"
|
|
3419
|
-
},
|
|
3653
|
+
}, Li = {
|
|
3420
3654
|
width: 24,
|
|
3421
3655
|
height: 24,
|
|
3422
3656
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9l-7 7l-7-7\"/>"
|
|
3423
|
-
},
|
|
3657
|
+
}, Ri = {
|
|
3424
3658
|
width: 24,
|
|
3425
3659
|
height: 24,
|
|
3426
3660
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19l-7-7l7-7\"/>"
|
|
3427
|
-
},
|
|
3661
|
+
}, zi = {
|
|
3428
3662
|
width: 24,
|
|
3429
3663
|
height: 24,
|
|
3430
3664
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5l7 7l-7 7\"/>"
|
|
3431
|
-
},
|
|
3665
|
+
}, Bi = {
|
|
3432
3666
|
width: 24,
|
|
3433
3667
|
height: 24,
|
|
3434
3668
|
hidden: !0,
|
|
3435
3669
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"m21 21l-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z\"/>"
|
|
3436
|
-
},
|
|
3670
|
+
}, Vi = {
|
|
3437
3671
|
width: 24,
|
|
3438
3672
|
height: 24,
|
|
3439
3673
|
hidden: !0,
|
|
3440
3674
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5\"/>"
|
|
3441
|
-
},
|
|
3675
|
+
}, Hi = {
|
|
3442
3676
|
width: 24,
|
|
3443
3677
|
height: 24,
|
|
3444
3678
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 12l2 2l4-4m6 2a9 9 0 1 1-18 0a9 9 0 0 1 18 0Z\"/>"
|
|
3445
|
-
},
|
|
3679
|
+
}, Ui = {
|
|
3446
3680
|
width: 24,
|
|
3447
3681
|
height: 24,
|
|
3448
3682
|
hidden: !0,
|
|
3449
3683
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M12 10.5v3.75m-9.303 3.376C1.83 19.126 2.914 21 4.645 21h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 4.88c-.866-1.501-3.032-1.501-3.898 0L2.697 17.626ZM12 17.25h.007v.008H12v-.008Z\"/>"
|
|
3450
|
-
},
|
|
3684
|
+
}, Wi = {
|
|
3451
3685
|
width: 24,
|
|
3452
3686
|
height: 24,
|
|
3453
3687
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4m0 4h.01M21 12a9 9 0 1 1-18 0a9 9 0 0 1 18 0Z\"/>"
|
|
3454
|
-
},
|
|
3688
|
+
}, Gi = {
|
|
3455
3689
|
width: 24,
|
|
3456
3690
|
height: 24,
|
|
3457
3691
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3Z\"/>"
|
|
3458
|
-
},
|
|
3692
|
+
}, Ki = {
|
|
3459
3693
|
width: 24,
|
|
3460
3694
|
height: 24,
|
|
3461
3695
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/><path d=\"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7c-4.477 0-8.268-2.943-9.542-7Z\"/></g>"
|
|
3462
|
-
},
|
|
3696
|
+
}, qi = {
|
|
3463
3697
|
width: 24,
|
|
3464
3698
|
height: 24,
|
|
3465
3699
|
hidden: !0,
|
|
3466
3700
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.98 8.223A10.477 10.477 0 0 0 1.934 12c1.292 4.338 5.31 7.5 10.066 7.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 0 1-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88\"/>"
|
|
3467
|
-
},
|
|
3701
|
+
}, Ji = {
|
|
3468
3702
|
width: 24,
|
|
3469
3703
|
height: 24,
|
|
3470
3704
|
hidden: !0,
|
|
3471
3705
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75\"/>"
|
|
3472
|
-
},
|
|
3706
|
+
}, Yi = {
|
|
3473
3707
|
width: 24,
|
|
3474
3708
|
height: 24,
|
|
3475
3709
|
hidden: !0,
|
|
3476
3710
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25\"/>"
|
|
3477
|
-
},
|
|
3711
|
+
}, Xi = {
|
|
3478
3712
|
width: 24,
|
|
3479
3713
|
height: 24,
|
|
3480
3714
|
hidden: !0,
|
|
3481
3715
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.375 19.5h17.25m-17.25 0a1.125 1.125 0 0 1-1.125-1.125M3.375 19.5h7.5c.621 0 1.125-.504 1.125-1.125m-9.75 0V5.625m0 12.75v-1.5c0-.621.504-1.125 1.125-1.125m18.375 2.625V5.625m0 12.75c0 .621-.504 1.125-1.125 1.125m1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125m0 3.75h-7.5A1.125 1.125 0 0 1 12 18.375m9.75-12.75c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125m19.5 0v1.5c0 .621-.504 1.125-1.125 1.125M2.25 5.625v1.5c0 .621.504 1.125 1.125 1.125m0 0h17.25m-17.25 0h7.5c.621 0 1.125.504 1.125 1.125M3.375 8.25c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125m17.25-3.75h-7.5c-.621 0-1.125.504-1.125 1.125m8.625-1.125c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125M12 10.875v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 10.875c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125M13.125 12h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125M20.625 12c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5M12 14.625v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 14.625c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125m0 1.5v-1.5m0 0c0-.621.504-1.125 1.125-1.125m0 0h7.5\"/>"
|
|
3482
|
-
},
|
|
3716
|
+
}, Zi = {
|
|
3483
3717
|
width: 24,
|
|
3484
3718
|
height: 24,
|
|
3485
3719
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.828 10.172a4 4 0 0 0-5.656 0l-4 4a4 4 0 1 0 5.656 5.656l1.102-1.101m-.758-4.899a4 4 0 0 0 5.656 0l4-4a4 4 0 0 0-5.656-5.656l-1.1 1.1\"/>"
|
|
3486
|
-
},
|
|
3720
|
+
}, Qi = {
|
|
3487
3721
|
width: 24,
|
|
3488
3722
|
height: 24,
|
|
3489
3723
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m14 5l7 7m0 0l-7 7m7-7H3\"/>"
|
|
3490
|
-
},
|
|
3724
|
+
}, $i = {
|
|
3491
3725
|
width: 24,
|
|
3492
3726
|
height: 24,
|
|
3493
3727
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 1 1-8 0a4 4 0 0 1 8 0Z\"/>"
|
|
3494
|
-
},
|
|
3728
|
+
}, ea = {
|
|
3495
3729
|
width: 24,
|
|
3496
3730
|
height: 24,
|
|
3497
3731
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20.354 15.354A9 9 0 0 1 8.646 3.646A9.003 9.003 0 0 0 12 21a9.003 9.003 0 0 0 8.354-5.646Z\"/>"
|
|
3498
|
-
},
|
|
3732
|
+
}, ta = {
|
|
3499
3733
|
width: 24,
|
|
3500
3734
|
height: 24,
|
|
3501
3735
|
hidden: !0,
|
|
3502
3736
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M6.75 12a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0Zm6 0a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0Zm6 0a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0Z\"/>"
|
|
3503
|
-
},
|
|
3737
|
+
}, na = {
|
|
3504
3738
|
width: 24,
|
|
3505
3739
|
height: 24,
|
|
3506
3740
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 12h6m-6 4h6m2 5H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707V19a2 2 0 0 1-2 2Z\"/>"
|
|
3507
|
-
},
|
|
3741
|
+
}, ra = {
|
|
3508
3742
|
width: 24,
|
|
3509
3743
|
height: 24,
|
|
3510
3744
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253\"/>"
|
|
3511
|
-
},
|
|
3745
|
+
}, ia = {
|
|
3512
3746
|
width: 24,
|
|
3513
3747
|
height: 24,
|
|
3514
3748
|
hidden: !0,
|
|
3515
3749
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M17.25 6.75L22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3l-4.5 16.5\"/>"
|
|
3516
|
-
},
|
|
3750
|
+
}, aa = {
|
|
3517
3751
|
width: 24,
|
|
3518
3752
|
height: 24,
|
|
3519
3753
|
hidden: !0,
|
|
3520
3754
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M4.098 19.902a3.75 3.75 0 0 0 5.304 0l6.401-6.402M6.75 21A3.75 3.75 0 0 1 3 17.25V4.125C3 3.504 3.504 3 4.125 3h5.25c.621 0 1.125.504 1.125 1.125v4.072M6.75 21a3.75 3.75 0 0 0 3.75-3.75V8.197M6.75 21h13.125c.621 0 1.125-.504 1.125-1.125v-5.25c0-.621-.504-1.125-1.125-1.125h-4.072M10.5 8.197l2.88-2.88a1.124 1.124 0 0 1 1.59 0l3.712 3.713c.44.44.44 1.152 0 1.59l-2.879 2.88M6.75 17.25h.008v.008H6.75v-.008Z\"/>"
|
|
3521
|
-
},
|
|
3755
|
+
}, oa = {
|
|
3522
3756
|
width: 24,
|
|
3523
3757
|
height: 24,
|
|
3524
3758
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 9a2 2 0 0 1 2-2h.93a2 2 0 0 0 1.664-.89l.812-1.22A2 2 0 0 1 10.07 4h3.86a2 2 0 0 1 1.664.89l.812 1.22A2 2 0 0 0 18.07 7H19a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9Z\"/><path d=\"M15 13a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/></g>"
|
|
3525
|
-
},
|
|
3759
|
+
}, sa = {
|
|
3526
3760
|
width: 24,
|
|
3527
3761
|
height: 24,
|
|
3528
3762
|
hidden: !0,
|
|
3529
3763
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3\"/>"
|
|
3530
|
-
},
|
|
3764
|
+
}, ca = {
|
|
3531
3765
|
width: 20,
|
|
3532
3766
|
height: 20,
|
|
3533
3767
|
hidden: !0,
|
|
3534
3768
|
body: "<path fill=\"currentColor\" d=\"M1 8.25a1.25 1.25 0 1 1 2.5 0v7.5a1.25 1.25 0 1 1-2.5 0v-7.5ZM11 3V1.7c0-.268.14-.526.395-.607A2 2 0 0 1 14 3c0 .995-.182 1.948-.514 2.826c-.204.54.166 1.174.744 1.174h2.52c1.243 0 2.261 1.01 2.146 2.247a23.864 23.864 0 0 1-1.341 5.974C17.153 16.323 16.072 17 14.9 17h-3.192a3 3 0 0 1-1.341-.317l-2.734-1.366A3 3 0 0 0 6.292 15H5V8h.963c.685 0 1.258-.483 1.612-1.068a4.011 4.011 0 0 1 2.166-1.73c.432-.143.853-.386 1.011-.814c.16-.432.248-.9.248-1.388Z\"/>"
|
|
3535
|
-
},
|
|
3769
|
+
}, la = {
|
|
3536
3770
|
width: 20,
|
|
3537
3771
|
height: 20,
|
|
3538
3772
|
hidden: !0,
|
|
3539
3773
|
body: "<path fill=\"currentColor\" d=\"M18.905 12.75a1.25 1.25 0 0 1-2.5 0v-7.5a1.25 1.25 0 1 1 2.5 0v7.5Zm-10 4.25v1.3c0 .268-.14.526-.395.607A2 2 0 0 1 5.905 17c0-.995.182-1.948.514-2.826c.204-.54-.166-1.174-.744-1.174h-2.52c-1.242 0-2.26-1.01-2.146-2.247c.193-2.08.652-4.082 1.341-5.974C2.752 3.678 3.833 3 5.005 3h3.192a3 3 0 0 1 1.342.317l2.733 1.366A3 3 0 0 0 13.613 5h1.292v7h-.963c-.684 0-1.258.482-1.612 1.068a4.012 4.012 0 0 1-2.165 1.73c-.433.143-.854.386-1.012.814c-.16.432-.248.9-.248 1.388Z\"/>"
|
|
3540
|
-
},
|
|
3774
|
+
}, ua = {
|
|
3541
3775
|
width: 20,
|
|
3542
3776
|
height: 20,
|
|
3543
3777
|
body: "<path fill=\"currentColor\" d=\"M2 11a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-5Zm6-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V7Zm6-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V4Z\"/>"
|
|
3544
|
-
},
|
|
3778
|
+
}, da = {
|
|
3545
3779
|
width: 20,
|
|
3546
3780
|
height: 20,
|
|
3547
3781
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M17.707 9.293a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7A.997.997 0 0 1 2 10V5a3 3 0 0 1 3-3h5c.256 0 .512.098.707.293l7 7ZM5 6a1 1 0 1 0 0-2a1 1 0 0 0 0 2Z\" clip-rule=\"evenodd\"/>"
|
|
3548
|
-
},
|
|
3782
|
+
}, fa = {
|
|
3549
3783
|
width: 20,
|
|
3550
3784
|
height: 20,
|
|
3551
3785
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M6 2a1 1 0 0 0-1 1v1H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-1V3a1 1 0 1 0-2 0v1H7V3a1 1 0 0 0-1-1Zm0 5a1 1 0 0 0 0 2h8a1 1 0 1 0 0-2H6Z\" clip-rule=\"evenodd\"/>"
|
|
3552
|
-
},
|
|
3786
|
+
}, pa = {
|
|
3553
3787
|
width: 20,
|
|
3554
3788
|
height: 20,
|
|
3555
3789
|
hidden: !0,
|
|
3556
3790
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M2.5 3A1.5 1.5 0 0 0 1 4.5v4A1.5 1.5 0 0 0 2.5 10h6A1.5 1.5 0 0 0 10 8.5v-4A1.5 1.5 0 0 0 8.5 3h-6Zm11 2A1.5 1.5 0 0 0 12 6.5v7a1.5 1.5 0 0 0 1.5 1.5h4a1.5 1.5 0 0 0 1.5-1.5v-7A1.5 1.5 0 0 0 17.5 5h-4Zm-10 7A1.5 1.5 0 0 0 2 13.5v2A1.5 1.5 0 0 0 3.5 17h6a1.5 1.5 0 0 0 1.5-1.5v-2A1.5 1.5 0 0 0 9.5 12h-6Z\" clip-rule=\"evenodd\"/>"
|
|
3557
|
-
},
|
|
3791
|
+
}, ma = {
|
|
3558
3792
|
width: 20,
|
|
3559
3793
|
height: 20,
|
|
3560
3794
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16ZM9.555 7.168A1 1 0 0 0 8 8v4a1 1 0 0 0 1.555.832l3-2a1 1 0 0 0 0-1.664l-3-2Z\" clip-rule=\"evenodd\"/>"
|
|
3561
|
-
},
|
|
3795
|
+
}, ha = {
|
|
3562
3796
|
width: 20,
|
|
3563
3797
|
height: 20,
|
|
3564
3798
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M16.707 5.293a1 1 0 0 1 0 1.414l-8 8a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 1.414-1.414L8 12.586l7.293-7.293a1 1 0 0 1 1.414 0Z\" clip-rule=\"evenodd\"/>"
|
|
3565
|
-
},
|
|
3799
|
+
}, ga = {
|
|
3566
3800
|
width: 20,
|
|
3567
3801
|
height: 20,
|
|
3568
3802
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 2a1 1 0 0 1 1 1v1.323l3.954 1.582l1.599-.8a1 1 0 0 1 .894 1.79l-1.233.616l1.738 5.42a1 1 0 0 1-.285 1.05A3.989 3.989 0 0 1 15 15a3.989 3.989 0 0 1-2.667-1.019a1 1 0 0 1-.285-1.05l1.715-5.349L11 6.477V16h2a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2h2V6.477L6.237 7.582l1.715 5.349a1 1 0 0 1-.285 1.05A3.989 3.989 0 0 1 5 15a3.989 3.989 0 0 1-2.667-1.019a1 1 0 0 1-.285-1.05l1.738-5.42l-1.233-.617a1 1 0 0 1 .894-1.788l1.599.799L9 4.323V3a1 1 0 0 1 1-1Zm-5 8.274l-.818 2.552c.25.112.526.174.818.174c.292 0 .569-.062.818-.174L5 10.274Zm10 0l-.818 2.552c.25.112.526.174.818.174c.292 0 .569-.062.818-.174L15 10.274Z\" clip-rule=\"evenodd\"/>"
|
|
3569
|
-
},
|
|
3803
|
+
}, _a = {
|
|
3570
3804
|
width: 20,
|
|
3571
3805
|
height: 20,
|
|
3572
3806
|
hidden: !0,
|
|
3573
3807
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm.75-11.25a.75.75 0 0 0-1.5 0v4.59L7.3 9.24a.75.75 0 0 0-1.1 1.02l3.25 3.5a.75.75 0 0 0 1.1 0l3.25-3.5a.75.75 0 1 0-1.1-1.02l-1.95 2.1V6.75Z\" clip-rule=\"evenodd\"/>"
|
|
3574
|
-
},
|
|
3808
|
+
}, va = {
|
|
3575
3809
|
width: 20,
|
|
3576
3810
|
height: 20,
|
|
3577
3811
|
hidden: !0,
|
|
3578
3812
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm-.75-4.75a.75.75 0 0 0 1.5 0V8.66l1.95 2.1a.75.75 0 1 0 1.1-1.02l-3.25-3.5a.75.75 0 0 0-1.1 0L6.2 9.74a.75.75 0 1 0 1.1 1.02l1.95-2.1v4.59Z\" clip-rule=\"evenodd\"/>"
|
|
3579
|
-
},
|
|
3813
|
+
}, ya = {
|
|
3580
3814
|
width: 20,
|
|
3581
3815
|
height: 20,
|
|
3582
3816
|
hidden: !0,
|
|
3583
3817
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M12.577 4.878a.75.75 0 0 1 .919-.53l4.78 1.281a.75.75 0 0 1 .531.919l-1.281 4.78a.75.75 0 0 1-1.449-.387l.81-3.022a19.407 19.407 0 0 0-5.594 5.203a.75.75 0 0 1-1.139.093L7 10.06l-4.72 4.72a.75.75 0 0 1-1.06-1.061l5.25-5.25a.75.75 0 0 1 1.06 0l3.074 3.073a20.923 20.923 0 0 1 5.545-4.931l-3.042-.815a.75.75 0 0 1-.53-.919Z\" clip-rule=\"evenodd\"/>"
|
|
3584
|
-
},
|
|
3818
|
+
}, ba = {
|
|
3585
3819
|
width: 20,
|
|
3586
3820
|
height: 20,
|
|
3587
3821
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M7 2a1 1 0 0 0-.707 1.707L7 4.414v3.758a1 1 0 0 1-.293.707l-4 4C.817 14.769 2.156 18 4.828 18h10.343c2.673 0 4.012-3.231 2.122-5.121l-4-4A1 1 0 0 1 13 8.172V4.414l.707-.707A1 1 0 0 0 13 2H7Zm2 6.172V4h2v4.172a3 3 0 0 0 .879 2.12l1.027 1.028a4 4 0 0 0-2.171.102l-.47.156a4 4 0 0 1-2.53 0l-.563-.187a1.993 1.993 0 0 0-.114-.035l1.063-1.063A3 3 0 0 0 9 8.172Z\" clip-rule=\"evenodd\"/>"
|
|
3588
|
-
},
|
|
3822
|
+
}, xa = {
|
|
3589
3823
|
width: 20,
|
|
3590
3824
|
height: 20,
|
|
3591
3825
|
hidden: !0,
|
|
3592
3826
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M2 4.75A.75.75 0 0 1 2.75 4h14.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 4.75Zm0 10.5a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5a.75.75 0 0 1-.75-.75ZM2 10a.75.75 0 0 1 .75-.75h14.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 10Z\" clip-rule=\"evenodd\"/>"
|
|
3593
|
-
},
|
|
3827
|
+
}, Sa = {
|
|
3594
3828
|
width: 20,
|
|
3595
3829
|
height: 20,
|
|
3596
3830
|
body: "<g fill=\"currentColor\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M6.625 2.655A9 9 0 0 1 19 11a1 1 0 1 1-2 0a7 7 0 0 0-9.625-6.492a1 1 0 1 1-.75-1.853ZM4.662 4.959A1 1 0 0 1 4.75 6.37A6.97 6.97 0 0 0 3 11a1 1 0 1 1-2 0a8.97 8.97 0 0 1 2.25-5.953a1 1 0 0 1 1.412-.088Z\"/><path d=\"M5 11a5 5 0 1 1 10 0a1 1 0 1 1-2 0a3 3 0 1 0-6 0c0 1.677-.345 3.276-.968 4.729a1 1 0 1 1-1.838-.789A9.964 9.964 0 0 0 5 11Zm8.921 2.012a1 1 0 0 1 .831 1.145a19.86 19.86 0 0 1-.545 2.436a1 1 0 1 1-1.92-.558c.207-.713.371-1.445.49-2.192a1 1 0 0 1 1.144-.83Z\"/><path d=\"M10 10a1 1 0 0 1 1 1c0 2.236-.46 4.368-1.29 6.304a1 1 0 0 1-1.838-.789A13.952 13.952 0 0 0 9 11a1 1 0 0 1 1-1Z\"/></g>"
|
|
3597
|
-
},
|
|
3831
|
+
}, Ca = {
|
|
3598
3832
|
width: 20,
|
|
3599
3833
|
height: 20,
|
|
3600
3834
|
hidden: !0,
|
|
3601
3835
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M4.25 2A2.25 2.25 0 0 0 2 4.25v11.5A2.25 2.25 0 0 0 4.25 18h11.5A2.25 2.25 0 0 0 18 15.75V4.25A2.25 2.25 0 0 0 15.75 2H4.25ZM15 5.75a.75.75 0 0 0-1.5 0v8.5a.75.75 0 0 0 1.5 0v-8.5Zm-8.5 6a.75.75 0 0 0-1.5 0v2.5a.75.75 0 0 0 1.5 0v-2.5ZM8.584 9a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5a.75.75 0 0 1 .75-.75Zm3.58-1.25a.75.75 0 0 0-1.5 0v6.5a.75.75 0 0 0 1.5 0v-6.5Z\" clip-rule=\"evenodd\"/>"
|
|
3602
|
-
},
|
|
3836
|
+
}, wa = {
|
|
3603
3837
|
width: 20,
|
|
3604
3838
|
height: 20,
|
|
3605
3839
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm1-11a1 1 0 1 0-2 0v2H7a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2h-2V7Z\" clip-rule=\"evenodd\"/>"
|
|
3606
|
-
},
|
|
3840
|
+
}, Ta = {
|
|
3607
3841
|
width: 20,
|
|
3608
3842
|
height: 20,
|
|
3609
3843
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M9.243 3.03a1 1 0 0 1 .727 1.213L9.53 6h2.94l.56-2.243a1 1 0 1 1 1.94.486L14.53 6H17a1 1 0 1 1 0 2h-2.97l-1 4H15a1 1 0 1 1 0 2h-2.47l-.56 2.242a1 1 0 1 1-1.94-.485L10.47 14H7.53l-.56 2.242a1 1 0 1 1-1.94-.485L5.47 14H3a1 1 0 1 1 0-2h2.97l1-4H5a1 1 0 1 1 0-2h2.47l.56-2.243a1 1 0 0 1 1.213-.727ZM9.03 8l-1 4h2.938l1-4H9.031Z\" clip-rule=\"evenodd\"/>"
|
|
3610
|
-
},
|
|
3844
|
+
}, Ea = {
|
|
3611
3845
|
width: 24,
|
|
3612
3846
|
height: 24,
|
|
3613
3847
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 13a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm6-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zm6-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zM4 20h14\"/>"
|
|
3614
|
-
},
|
|
3848
|
+
}, Da = {
|
|
3615
3849
|
width: 24,
|
|
3616
3850
|
height: 24,
|
|
3617
3851
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 19h16M4 15l4-6l4 2l4-5l4 4\"/>"
|
|
3618
|
-
},
|
|
3852
|
+
}, Oa = {
|
|
3619
3853
|
width: 24,
|
|
3620
3854
|
height: 24,
|
|
3621
3855
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m4 19l4-6l4 2l4-5l4 4v5H4m0-7l3-4l4 2l5-6l4 4\"/>"
|
|
3622
|
-
},
|
|
3856
|
+
}, ka = {
|
|
3623
3857
|
width: 24,
|
|
3624
3858
|
height: 24,
|
|
3625
3859
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M10 3.2A9 9 0 1 0 20.8 14a1 1 0 0 0-1-1H13a2 2 0 0 1-2-2V4a.9.9 0 0 0-1-.8\"/><path d=\"M15 3.5A9 9 0 0 1 20.5 9H16a1 1 0 0 1-1-1V3.5\"/></g>"
|
|
3626
|
-
},
|
|
3860
|
+
}, Aa = {
|
|
3627
3861
|
width: 24,
|
|
3628
3862
|
height: 24,
|
|
3629
3863
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 3v18h18\"/><path d=\"M7 15a2 2 0 1 0 4 0a2 2 0 1 0-4 0m4-10a2 2 0 1 0 4 0a2 2 0 1 0-4 0m5 7a2 2 0 1 0 4 0a2 2 0 1 0-4 0m5-9l-6 1.5m-.887 2.15l2.771 3.695M16 12.5l-5 2\"/></g>"
|
|
3630
|
-
},
|
|
3864
|
+
}, ja = {
|
|
3631
3865
|
width: 24,
|
|
3632
3866
|
height: 24,
|
|
3633
3867
|
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\"/>"
|
|
3634
|
-
},
|
|
3868
|
+
}, Ma = {
|
|
3635
3869
|
width: 24,
|
|
3636
3870
|
height: 24,
|
|
3637
3871
|
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>"
|
|
3638
|
-
},
|
|
3872
|
+
}, Na = {
|
|
3639
3873
|
width: 24,
|
|
3640
3874
|
height: 24,
|
|
3641
3875
|
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>"
|
|
3642
|
-
},
|
|
3876
|
+
}, Pa = {
|
|
3643
3877
|
width: 24,
|
|
3644
3878
|
height: 24,
|
|
3645
3879
|
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\"/>"
|
|
3646
|
-
},
|
|
3880
|
+
}, Fa = {
|
|
3647
3881
|
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>",
|
|
3648
3882
|
width: 24,
|
|
3649
3883
|
height: 24
|
|
3650
|
-
},
|
|
3884
|
+
}, Ia = {
|
|
3651
3885
|
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>",
|
|
3652
3886
|
width: 24,
|
|
3653
3887
|
height: 24
|
|
3654
|
-
},
|
|
3888
|
+
}, La = {
|
|
3655
3889
|
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>",
|
|
3656
3890
|
width: 24,
|
|
3657
3891
|
height: 24
|
|
3658
|
-
},
|
|
3892
|
+
}, Ra = {
|
|
3659
3893
|
width: 24,
|
|
3660
3894
|
height: 24,
|
|
3661
3895
|
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>"
|
|
3662
|
-
},
|
|
3896
|
+
}, za = {
|
|
3663
3897
|
width: 24,
|
|
3664
3898
|
height: 24,
|
|
3665
3899
|
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-2V5zm0 5h18M10 3v18\"/>"
|
|
3666
|
-
},
|
|
3900
|
+
}, Ba = {
|
|
3667
3901
|
width: 24,
|
|
3668
3902
|
height: 24,
|
|
3669
3903
|
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>"
|
|
3670
|
-
},
|
|
3904
|
+
}, Va = {
|
|
3671
3905
|
width: 24,
|
|
3672
3906
|
height: 24,
|
|
3673
3907
|
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\"/>"
|
|
3674
|
-
},
|
|
3908
|
+
}, Ha = {
|
|
3675
3909
|
width: 24,
|
|
3676
3910
|
height: 24,
|
|
3677
3911
|
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>"
|
|
3678
|
-
},
|
|
3912
|
+
}, Ua = {
|
|
3679
3913
|
width: 24,
|
|
3680
3914
|
height: 24,
|
|
3681
3915
|
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\"/>"
|
|
3682
|
-
},
|
|
3916
|
+
}, Wa = {
|
|
3683
3917
|
width: 24,
|
|
3684
3918
|
height: 24,
|
|
3685
3919
|
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 2zM9 9h1m-1 4h6m-6 4h6\"/></g>"
|
|
3686
|
-
},
|
|
3920
|
+
}, Ga = {
|
|
3687
3921
|
width: 24,
|
|
3688
3922
|
height: 24,
|
|
3689
3923
|
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>"
|
|
3690
|
-
},
|
|
3924
|
+
}, Ka = {
|
|
3691
3925
|
close: {
|
|
3692
|
-
icon:
|
|
3926
|
+
icon: Ei,
|
|
3693
3927
|
category: "action"
|
|
3694
3928
|
},
|
|
3695
3929
|
add: {
|
|
3696
|
-
icon:
|
|
3930
|
+
icon: Di,
|
|
3697
3931
|
category: "action"
|
|
3698
3932
|
},
|
|
3699
3933
|
edit: {
|
|
3700
|
-
icon:
|
|
3934
|
+
icon: Oi,
|
|
3701
3935
|
category: "action"
|
|
3702
3936
|
},
|
|
3703
3937
|
delete: {
|
|
3704
|
-
icon:
|
|
3938
|
+
icon: ki,
|
|
3705
3939
|
category: "action"
|
|
3706
3940
|
},
|
|
3707
3941
|
refresh: {
|
|
3708
|
-
icon:
|
|
3942
|
+
icon: Ai,
|
|
3709
3943
|
category: "action"
|
|
3710
3944
|
},
|
|
3711
3945
|
copy: {
|
|
3712
|
-
icon:
|
|
3946
|
+
icon: ji,
|
|
3713
3947
|
category: "action"
|
|
3714
3948
|
},
|
|
3715
3949
|
duplicate: {
|
|
3716
|
-
icon:
|
|
3950
|
+
icon: Mi,
|
|
3717
3951
|
category: "action"
|
|
3718
3952
|
},
|
|
3719
3953
|
settings: {
|
|
3720
|
-
icon:
|
|
3954
|
+
icon: Ni,
|
|
3721
3955
|
category: "action"
|
|
3722
3956
|
},
|
|
3723
3957
|
filter: {
|
|
3724
|
-
icon:
|
|
3958
|
+
icon: Pi,
|
|
3725
3959
|
category: "action"
|
|
3726
3960
|
},
|
|
3727
3961
|
share: {
|
|
3728
|
-
icon:
|
|
3962
|
+
icon: Fi,
|
|
3729
3963
|
category: "action"
|
|
3730
3964
|
},
|
|
3731
3965
|
expand: {
|
|
3732
|
-
icon:
|
|
3966
|
+
icon: Li,
|
|
3733
3967
|
category: "action"
|
|
3734
3968
|
},
|
|
3735
3969
|
collapse: {
|
|
3736
|
-
icon:
|
|
3970
|
+
icon: Ii,
|
|
3737
3971
|
category: "action"
|
|
3738
3972
|
},
|
|
3739
3973
|
search: {
|
|
3740
|
-
icon:
|
|
3974
|
+
icon: Bi,
|
|
3741
3975
|
category: "action"
|
|
3742
3976
|
},
|
|
3743
3977
|
menu: {
|
|
3744
|
-
icon:
|
|
3978
|
+
icon: Vi,
|
|
3745
3979
|
category: "action"
|
|
3746
3980
|
},
|
|
3747
3981
|
run: {
|
|
3748
|
-
icon:
|
|
3982
|
+
icon: ma,
|
|
3749
3983
|
category: "action"
|
|
3750
3984
|
},
|
|
3751
3985
|
check: {
|
|
3752
|
-
icon:
|
|
3986
|
+
icon: ha,
|
|
3753
3987
|
category: "action"
|
|
3754
3988
|
},
|
|
3755
3989
|
link: {
|
|
3756
|
-
icon:
|
|
3990
|
+
icon: Zi,
|
|
3757
3991
|
category: "action"
|
|
3758
3992
|
},
|
|
3759
3993
|
eye: {
|
|
3760
|
-
icon:
|
|
3994
|
+
icon: Ki,
|
|
3761
3995
|
category: "action"
|
|
3762
3996
|
},
|
|
3763
3997
|
eyeOff: {
|
|
3764
|
-
icon:
|
|
3998
|
+
icon: qi,
|
|
3765
3999
|
category: "action"
|
|
3766
4000
|
},
|
|
3767
4001
|
adjustments: {
|
|
3768
|
-
icon:
|
|
4002
|
+
icon: Ji,
|
|
3769
4003
|
category: "action"
|
|
3770
4004
|
},
|
|
3771
4005
|
desktop: {
|
|
3772
|
-
icon:
|
|
4006
|
+
icon: Yi,
|
|
3773
4007
|
category: "action"
|
|
3774
4008
|
},
|
|
3775
4009
|
table: {
|
|
3776
|
-
icon:
|
|
4010
|
+
icon: Xi,
|
|
3777
4011
|
category: "action"
|
|
3778
4012
|
},
|
|
3779
4013
|
sun: {
|
|
3780
|
-
icon:
|
|
4014
|
+
icon: $i,
|
|
3781
4015
|
category: "action"
|
|
3782
4016
|
},
|
|
3783
4017
|
moon: {
|
|
3784
|
-
icon:
|
|
4018
|
+
icon: ea,
|
|
3785
4019
|
category: "action"
|
|
3786
4020
|
},
|
|
3787
4021
|
ellipsisHorizontal: {
|
|
3788
|
-
icon:
|
|
4022
|
+
icon: ta,
|
|
3789
4023
|
category: "action"
|
|
3790
4024
|
},
|
|
3791
4025
|
documentText: {
|
|
3792
|
-
icon:
|
|
4026
|
+
icon: na,
|
|
3793
4027
|
category: "action"
|
|
3794
4028
|
},
|
|
3795
4029
|
bookOpen: {
|
|
3796
|
-
icon:
|
|
4030
|
+
icon: ra,
|
|
3797
4031
|
category: "action"
|
|
3798
4032
|
},
|
|
3799
4033
|
codeBracket: {
|
|
3800
|
-
icon:
|
|
4034
|
+
icon: ia,
|
|
3801
4035
|
category: "action"
|
|
3802
4036
|
},
|
|
3803
4037
|
swatch: {
|
|
3804
|
-
icon:
|
|
4038
|
+
icon: aa,
|
|
3805
4039
|
category: "action"
|
|
3806
4040
|
},
|
|
3807
4041
|
camera: {
|
|
3808
|
-
icon:
|
|
4042
|
+
icon: oa,
|
|
3809
4043
|
category: "action"
|
|
3810
4044
|
},
|
|
3811
4045
|
thumbUp: {
|
|
3812
|
-
icon:
|
|
4046
|
+
icon: ca,
|
|
3813
4047
|
category: "action"
|
|
3814
4048
|
},
|
|
3815
4049
|
thumbDown: {
|
|
3816
|
-
icon:
|
|
4050
|
+
icon: la,
|
|
3817
4051
|
category: "action"
|
|
3818
4052
|
},
|
|
3819
4053
|
schemaGraph: {
|
|
@@ -3833,95 +4067,95 @@ var vi = {
|
|
|
3833
4067
|
category: "action"
|
|
3834
4068
|
},
|
|
3835
4069
|
download: {
|
|
3836
|
-
icon:
|
|
4070
|
+
icon: sa,
|
|
3837
4071
|
category: "action"
|
|
3838
4072
|
},
|
|
3839
4073
|
measure: {
|
|
3840
|
-
icon:
|
|
4074
|
+
icon: ua,
|
|
3841
4075
|
category: "field"
|
|
3842
4076
|
},
|
|
3843
4077
|
dimension: {
|
|
3844
|
-
icon:
|
|
4078
|
+
icon: da,
|
|
3845
4079
|
category: "field"
|
|
3846
4080
|
},
|
|
3847
4081
|
timeDimension: {
|
|
3848
|
-
icon:
|
|
4082
|
+
icon: fa,
|
|
3849
4083
|
category: "field"
|
|
3850
4084
|
},
|
|
3851
4085
|
segment: {
|
|
3852
|
-
icon:
|
|
4086
|
+
icon: pa,
|
|
3853
4087
|
category: "field"
|
|
3854
4088
|
},
|
|
3855
4089
|
chartBar: {
|
|
3856
|
-
icon:
|
|
4090
|
+
icon: Ea,
|
|
3857
4091
|
category: "chart"
|
|
3858
4092
|
},
|
|
3859
4093
|
chartLine: {
|
|
3860
|
-
icon:
|
|
4094
|
+
icon: Da,
|
|
3861
4095
|
category: "chart"
|
|
3862
4096
|
},
|
|
3863
4097
|
chartArea: {
|
|
3864
|
-
icon:
|
|
4098
|
+
icon: Oa,
|
|
3865
4099
|
category: "chart"
|
|
3866
4100
|
},
|
|
3867
4101
|
chartPie: {
|
|
3868
|
-
icon:
|
|
4102
|
+
icon: ka,
|
|
3869
4103
|
category: "chart"
|
|
3870
4104
|
},
|
|
3871
4105
|
chartScatter: {
|
|
3872
|
-
icon:
|
|
4106
|
+
icon: Aa,
|
|
3873
4107
|
category: "chart"
|
|
3874
4108
|
},
|
|
3875
4109
|
chartBubble: {
|
|
3876
|
-
icon:
|
|
4110
|
+
icon: ja,
|
|
3877
4111
|
category: "chart"
|
|
3878
4112
|
},
|
|
3879
4113
|
chartRadar: {
|
|
3880
|
-
icon:
|
|
4114
|
+
icon: Ma,
|
|
3881
4115
|
category: "chart"
|
|
3882
4116
|
},
|
|
3883
4117
|
chartRadialBar: {
|
|
3884
|
-
icon:
|
|
4118
|
+
icon: Na,
|
|
3885
4119
|
category: "chart"
|
|
3886
4120
|
},
|
|
3887
4121
|
chartTreemap: {
|
|
3888
|
-
icon:
|
|
4122
|
+
icon: Pa,
|
|
3889
4123
|
category: "chart"
|
|
3890
4124
|
},
|
|
3891
4125
|
chartTable: {
|
|
3892
|
-
icon:
|
|
4126
|
+
icon: za,
|
|
3893
4127
|
category: "chart"
|
|
3894
4128
|
},
|
|
3895
4129
|
chartActivityGrid: {
|
|
3896
|
-
icon:
|
|
4130
|
+
icon: Ba,
|
|
3897
4131
|
category: "chart"
|
|
3898
4132
|
},
|
|
3899
4133
|
chartKpiNumber: {
|
|
3900
|
-
icon:
|
|
4134
|
+
icon: Va,
|
|
3901
4135
|
category: "chart"
|
|
3902
4136
|
},
|
|
3903
4137
|
chartKpiDelta: {
|
|
3904
|
-
icon:
|
|
4138
|
+
icon: Ha,
|
|
3905
4139
|
category: "chart"
|
|
3906
4140
|
},
|
|
3907
4141
|
chartKpiText: {
|
|
3908
|
-
icon:
|
|
4142
|
+
icon: Ua,
|
|
3909
4143
|
category: "chart"
|
|
3910
4144
|
},
|
|
3911
4145
|
chartMarkdown: {
|
|
3912
|
-
icon:
|
|
4146
|
+
icon: Wa,
|
|
3913
4147
|
category: "chart"
|
|
3914
4148
|
},
|
|
3915
4149
|
chartFunnel: {
|
|
3916
|
-
icon:
|
|
4150
|
+
icon: Ia,
|
|
3917
4151
|
category: "chart"
|
|
3918
4152
|
},
|
|
3919
4153
|
chartSankey: {
|
|
3920
|
-
icon:
|
|
4154
|
+
icon: Fa,
|
|
3921
4155
|
category: "chart"
|
|
3922
4156
|
},
|
|
3923
4157
|
chartSunburst: {
|
|
3924
|
-
icon:
|
|
4158
|
+
icon: Ra,
|
|
3925
4159
|
category: "chart"
|
|
3926
4160
|
},
|
|
3927
4161
|
chartHeatmap: {
|
|
@@ -3933,87 +4167,127 @@ var vi = {
|
|
|
3933
4167
|
category: "chart"
|
|
3934
4168
|
},
|
|
3935
4169
|
chartRetention: {
|
|
3936
|
-
icon:
|
|
4170
|
+
icon: La,
|
|
4171
|
+
category: "chart"
|
|
4172
|
+
},
|
|
4173
|
+
chartBoxPlot: {
|
|
4174
|
+
icon: {
|
|
4175
|
+
width: 24,
|
|
4176
|
+
height: 24,
|
|
4177
|
+
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-2zm4 10v.01M8 12v.01M8 8v.01M16 16v.01M16 12v.01M16 8v.01M12 8v.01M12 16v.01\"/>"
|
|
4178
|
+
},
|
|
4179
|
+
category: "chart"
|
|
4180
|
+
},
|
|
4181
|
+
chartWaterfall: {
|
|
4182
|
+
icon: {
|
|
4183
|
+
width: 24,
|
|
4184
|
+
height: 24,
|
|
4185
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M22 5h-5v5h-5v5H7v5H2\"/>"
|
|
4186
|
+
},
|
|
4187
|
+
category: "chart"
|
|
4188
|
+
},
|
|
4189
|
+
chartCandlestick: {
|
|
4190
|
+
icon: {
|
|
4191
|
+
width: 24,
|
|
4192
|
+
height: 24,
|
|
4193
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 7a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1zm2-3v2m0 5v9m4-5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1zm2-11v10m0 5v1m4-14a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1zm2-2v1m0 6v9\"/>"
|
|
4194
|
+
},
|
|
4195
|
+
category: "chart"
|
|
4196
|
+
},
|
|
4197
|
+
chartMeasureProfile: {
|
|
4198
|
+
icon: {
|
|
4199
|
+
width: 24,
|
|
4200
|
+
height: 24,
|
|
4201
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 21V7m-9 8l3-3l3 3m0-5l3-3l3 3M3 21h18m-9 0v-9M3 6l3-3l3 3M6 21V3\"/>"
|
|
4202
|
+
},
|
|
4203
|
+
category: "chart"
|
|
4204
|
+
},
|
|
4205
|
+
chartGauge: {
|
|
4206
|
+
icon: {
|
|
4207
|
+
width: 24,
|
|
4208
|
+
height: 24,
|
|
4209
|
+
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 1 0-18 0\"/><path d=\"M11 12a1 1 0 1 0 2 0a1 1 0 1 0-2 0m2.41-1.41L16 8m-9 4a5 5 0 0 1 5-5\"/></g>"
|
|
4210
|
+
},
|
|
3937
4211
|
category: "chart"
|
|
3938
4212
|
},
|
|
3939
4213
|
measureCount: {
|
|
3940
|
-
icon:
|
|
4214
|
+
icon: xa,
|
|
3941
4215
|
category: "measure"
|
|
3942
4216
|
},
|
|
3943
4217
|
measureCountDistinct: {
|
|
3944
|
-
icon:
|
|
4218
|
+
icon: Sa,
|
|
3945
4219
|
category: "measure"
|
|
3946
4220
|
},
|
|
3947
4221
|
measureCountDistinctApprox: {
|
|
3948
|
-
icon:
|
|
4222
|
+
icon: Ca,
|
|
3949
4223
|
category: "measure"
|
|
3950
4224
|
},
|
|
3951
4225
|
measureSum: {
|
|
3952
|
-
icon:
|
|
4226
|
+
icon: wa,
|
|
3953
4227
|
category: "measure"
|
|
3954
4228
|
},
|
|
3955
4229
|
measureAvg: {
|
|
3956
|
-
icon:
|
|
4230
|
+
icon: ga,
|
|
3957
4231
|
category: "measure"
|
|
3958
4232
|
},
|
|
3959
4233
|
measureMin: {
|
|
3960
|
-
icon:
|
|
4234
|
+
icon: _a,
|
|
3961
4235
|
category: "measure"
|
|
3962
4236
|
},
|
|
3963
4237
|
measureMax: {
|
|
3964
|
-
icon:
|
|
4238
|
+
icon: va,
|
|
3965
4239
|
category: "measure"
|
|
3966
4240
|
},
|
|
3967
4241
|
measureRunningTotal: {
|
|
3968
|
-
icon:
|
|
4242
|
+
icon: ya,
|
|
3969
4243
|
category: "measure"
|
|
3970
4244
|
},
|
|
3971
4245
|
measureCalculated: {
|
|
3972
|
-
icon:
|
|
4246
|
+
icon: ba,
|
|
3973
4247
|
category: "measure"
|
|
3974
4248
|
},
|
|
3975
4249
|
measureNumber: {
|
|
3976
|
-
icon:
|
|
4250
|
+
icon: Ta,
|
|
3977
4251
|
category: "measure"
|
|
3978
4252
|
},
|
|
3979
4253
|
success: {
|
|
3980
|
-
icon:
|
|
4254
|
+
icon: Hi,
|
|
3981
4255
|
category: "state"
|
|
3982
4256
|
},
|
|
3983
4257
|
warning: {
|
|
3984
|
-
icon:
|
|
4258
|
+
icon: Ui,
|
|
3985
4259
|
category: "state"
|
|
3986
4260
|
},
|
|
3987
4261
|
error: {
|
|
3988
|
-
icon:
|
|
4262
|
+
icon: Wi,
|
|
3989
4263
|
category: "state"
|
|
3990
4264
|
},
|
|
3991
4265
|
info: {
|
|
3992
|
-
icon:
|
|
4266
|
+
icon: Ga,
|
|
3993
4267
|
category: "state"
|
|
3994
4268
|
},
|
|
3995
4269
|
loading: {
|
|
3996
|
-
icon:
|
|
4270
|
+
icon: Ai,
|
|
3997
4271
|
category: "state"
|
|
3998
4272
|
},
|
|
3999
4273
|
sparkles: {
|
|
4000
|
-
icon:
|
|
4274
|
+
icon: Gi,
|
|
4001
4275
|
category: "state"
|
|
4002
4276
|
},
|
|
4003
4277
|
chevronUp: {
|
|
4004
|
-
icon:
|
|
4278
|
+
icon: Ii,
|
|
4005
4279
|
category: "navigation"
|
|
4006
4280
|
},
|
|
4007
4281
|
chevronDown: {
|
|
4008
|
-
icon:
|
|
4282
|
+
icon: Li,
|
|
4009
4283
|
category: "navigation"
|
|
4010
4284
|
},
|
|
4011
4285
|
chevronLeft: {
|
|
4012
|
-
icon:
|
|
4286
|
+
icon: Ri,
|
|
4013
4287
|
category: "navigation"
|
|
4014
4288
|
},
|
|
4015
4289
|
chevronRight: {
|
|
4016
|
-
icon:
|
|
4290
|
+
icon: zi,
|
|
4017
4291
|
category: "navigation"
|
|
4018
4292
|
},
|
|
4019
4293
|
chevronUpDown: {
|
|
@@ -4025,55 +4299,51 @@ var vi = {
|
|
|
4025
4299
|
category: "navigation"
|
|
4026
4300
|
},
|
|
4027
4301
|
arrowUp: {
|
|
4028
|
-
icon:
|
|
4302
|
+
icon: va,
|
|
4029
4303
|
category: "navigation"
|
|
4030
4304
|
},
|
|
4031
4305
|
arrowDown: {
|
|
4032
|
-
icon:
|
|
4306
|
+
icon: _a,
|
|
4033
4307
|
category: "navigation"
|
|
4034
4308
|
},
|
|
4035
4309
|
arrowRight: {
|
|
4036
|
-
icon:
|
|
4310
|
+
icon: Qi,
|
|
4037
4311
|
category: "navigation"
|
|
4038
4312
|
},
|
|
4039
4313
|
arrowPath: {
|
|
4040
|
-
icon:
|
|
4314
|
+
icon: Ai,
|
|
4041
4315
|
category: "navigation"
|
|
4042
4316
|
}
|
|
4043
|
-
}, Y = { ...
|
|
4044
|
-
function
|
|
4045
|
-
za = e;
|
|
4046
|
-
}
|
|
4047
|
-
var X = /* @__PURE__ */ new Map();
|
|
4048
|
-
function Va() {
|
|
4317
|
+
}, Y = { ...Ka }, X = /* @__PURE__ */ new Map();
|
|
4318
|
+
function qa() {
|
|
4049
4319
|
return Y;
|
|
4050
4320
|
}
|
|
4051
4321
|
function Z(e) {
|
|
4052
4322
|
let t = X.get(e);
|
|
4053
4323
|
if (t) return t;
|
|
4054
4324
|
let n = Y[e];
|
|
4055
|
-
if (!n) return console.warn(`Icon "${e}" not found in registry, using fallback`), ({ className: e, ...t }) => /* @__PURE__ */
|
|
4325
|
+
if (!n) return console.warn(`Icon "${e}" not found in registry, using fallback`), ({ className: e, ...t }) => /* @__PURE__ */ T(Ti, {
|
|
4056
4326
|
icon: Y.info.icon,
|
|
4057
4327
|
className: e,
|
|
4058
4328
|
...t
|
|
4059
4329
|
});
|
|
4060
|
-
let r = ({ className: e, ...t }) => /* @__PURE__ */
|
|
4330
|
+
let r = ({ className: e, ...t }) => /* @__PURE__ */ T(Ti, {
|
|
4061
4331
|
icon: n.icon,
|
|
4062
4332
|
className: e,
|
|
4063
4333
|
...t
|
|
4064
4334
|
});
|
|
4065
4335
|
return X.set(e, r), r;
|
|
4066
4336
|
}
|
|
4067
|
-
function
|
|
4337
|
+
function Ja(e) {
|
|
4068
4338
|
return Y[e]?.icon ?? Y.info.icon;
|
|
4069
4339
|
}
|
|
4070
|
-
function
|
|
4340
|
+
function Ya(e, t) {
|
|
4071
4341
|
Y[e] && (Y[e] = {
|
|
4072
4342
|
...Y[e],
|
|
4073
4343
|
icon: t
|
|
4074
4344
|
}, X.delete(e));
|
|
4075
4345
|
}
|
|
4076
|
-
function
|
|
4346
|
+
function Xa(e) {
|
|
4077
4347
|
for (let [t, n] of Object.entries(e)) if (n && t in Y) {
|
|
4078
4348
|
let e = t;
|
|
4079
4349
|
if ("body" in n) Y[e] = {
|
|
@@ -4091,15 +4361,15 @@ function Wa(e) {
|
|
|
4091
4361
|
X.delete(e);
|
|
4092
4362
|
}
|
|
4093
4363
|
}
|
|
4094
|
-
function
|
|
4095
|
-
Y = { ...
|
|
4364
|
+
function Za() {
|
|
4365
|
+
Y = { ...Ka }, X.clear();
|
|
4096
4366
|
}
|
|
4097
|
-
function
|
|
4367
|
+
function Qa(e) {
|
|
4098
4368
|
let t = {};
|
|
4099
4369
|
for (let [n, r] of Object.entries(Y)) r.category === e && (t[n] = Z(n));
|
|
4100
4370
|
return t;
|
|
4101
4371
|
}
|
|
4102
|
-
function
|
|
4372
|
+
function $a(e) {
|
|
4103
4373
|
return Z({
|
|
4104
4374
|
count: "measureCount",
|
|
4105
4375
|
countDistinct: "measureCountDistinct",
|
|
@@ -4113,36 +4383,11 @@ function qa(e) {
|
|
|
4113
4383
|
number: "measureNumber"
|
|
4114
4384
|
}[e || ""] || "measureCount");
|
|
4115
4385
|
}
|
|
4116
|
-
function
|
|
4117
|
-
let t =
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
pie: "chartPie",
|
|
4122
|
-
scatter: "chartScatter",
|
|
4123
|
-
bubble: "chartBubble",
|
|
4124
|
-
radar: "chartRadar",
|
|
4125
|
-
radialBar: "chartRadialBar",
|
|
4126
|
-
treemap: "chartTreemap",
|
|
4127
|
-
table: "chartTable",
|
|
4128
|
-
activityGrid: "chartActivityGrid",
|
|
4129
|
-
kpiNumber: "chartKpiNumber",
|
|
4130
|
-
kpiDelta: "chartKpiDelta",
|
|
4131
|
-
kpiText: "chartKpiText",
|
|
4132
|
-
markdown: "chartMarkdown",
|
|
4133
|
-
funnel: "chartFunnel",
|
|
4134
|
-
sankey: "chartSankey",
|
|
4135
|
-
sunburst: "chartSunburst",
|
|
4136
|
-
heatmap: "chartHeatmap"
|
|
4137
|
-
}[e];
|
|
4138
|
-
if (t) return Z(t);
|
|
4139
|
-
if (za) {
|
|
4140
|
-
let t = za(e);
|
|
4141
|
-
if (t) return t;
|
|
4142
|
-
}
|
|
4143
|
-
return Z("chartBar");
|
|
4144
|
-
}
|
|
4145
|
-
function Ya(e) {
|
|
4386
|
+
function eo(e) {
|
|
4387
|
+
let t = we(e)?.icon;
|
|
4388
|
+
return t ? typeof t == "string" ? Z(t) : t : Z("chartBar");
|
|
4389
|
+
}
|
|
4390
|
+
function to(e) {
|
|
4146
4391
|
return Z({
|
|
4147
4392
|
measure: "measure",
|
|
4148
4393
|
dimension: "dimension",
|
|
@@ -4153,9 +4398,9 @@ function Ya(e) {
|
|
|
4153
4398
|
}
|
|
4154
4399
|
//#endregion
|
|
4155
4400
|
//#region src/client/components/charts/MissingDependencyFallback.tsx
|
|
4156
|
-
function
|
|
4157
|
-
let { t: i } =
|
|
4158
|
-
return /* @__PURE__ */
|
|
4401
|
+
function no({ chartType: e, packageName: t, installCommand: n, height: r = 200 }) {
|
|
4402
|
+
let { t: i } = c();
|
|
4403
|
+
return /* @__PURE__ */ E("div", {
|
|
4159
4404
|
className: "dc-missing-dependency-fallback",
|
|
4160
4405
|
style: {
|
|
4161
4406
|
height: typeof r == "number" ? `${r}px` : r,
|
|
@@ -4171,14 +4416,14 @@ function Xa({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4171
4416
|
backgroundColor: "var(--dc-surface, #f9fafb)"
|
|
4172
4417
|
},
|
|
4173
4418
|
children: [
|
|
4174
|
-
/* @__PURE__ */
|
|
4419
|
+
/* @__PURE__ */ T("div", {
|
|
4175
4420
|
style: {
|
|
4176
4421
|
fontSize: "2.5rem",
|
|
4177
4422
|
marginBottom: "1rem"
|
|
4178
4423
|
},
|
|
4179
4424
|
children: "📦"
|
|
4180
4425
|
}),
|
|
4181
|
-
/* @__PURE__ */
|
|
4426
|
+
/* @__PURE__ */ T("h3", {
|
|
4182
4427
|
style: {
|
|
4183
4428
|
fontSize: "1.125rem",
|
|
4184
4429
|
fontWeight: 600,
|
|
@@ -4187,7 +4432,7 @@ function Xa({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4187
4432
|
},
|
|
4188
4433
|
children: i("chart.runtime.missingDep.title")
|
|
4189
4434
|
}),
|
|
4190
|
-
/* @__PURE__ */
|
|
4435
|
+
/* @__PURE__ */ T("p", {
|
|
4191
4436
|
style: {
|
|
4192
4437
|
fontSize: "0.875rem",
|
|
4193
4438
|
color: "var(--dc-text-secondary, #6b7280)",
|
|
@@ -4199,7 +4444,7 @@ function Xa({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4199
4444
|
packageName: t
|
|
4200
4445
|
})
|
|
4201
4446
|
}),
|
|
4202
|
-
/* @__PURE__ */
|
|
4447
|
+
/* @__PURE__ */ E("div", {
|
|
4203
4448
|
style: {
|
|
4204
4449
|
backgroundColor: "var(--dc-surface-secondary, #f3f4f6)",
|
|
4205
4450
|
borderRadius: "0.5rem",
|
|
@@ -4208,7 +4453,7 @@ function Xa({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4208
4453
|
fontSize: "0.875rem",
|
|
4209
4454
|
color: "var(--dc-text, #111827)"
|
|
4210
4455
|
},
|
|
4211
|
-
children: [/* @__PURE__ */
|
|
4456
|
+
children: [/* @__PURE__ */ T("span", {
|
|
4212
4457
|
style: {
|
|
4213
4458
|
color: "var(--dc-text-muted, #9ca3af)",
|
|
4214
4459
|
userSelect: "none"
|
|
@@ -4216,7 +4461,7 @@ function Xa({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4216
4461
|
children: "$ "
|
|
4217
4462
|
}), n]
|
|
4218
4463
|
}),
|
|
4219
|
-
/* @__PURE__ */
|
|
4464
|
+
/* @__PURE__ */ T("p", {
|
|
4220
4465
|
style: {
|
|
4221
4466
|
fontSize: "0.75rem",
|
|
4222
4467
|
color: "var(--dc-text-muted, #9ca3af)",
|
|
@@ -4229,82 +4474,17 @@ function Xa({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4229
4474
|
}
|
|
4230
4475
|
//#endregion
|
|
4231
4476
|
//#region src/client/charts/chartComponentRegistry.tsx
|
|
4232
|
-
var
|
|
4233
|
-
|
|
4234
|
-
packageName: "recharts",
|
|
4235
|
-
installCommand: "npm install recharts"
|
|
4236
|
-
},
|
|
4237
|
-
line: {
|
|
4238
|
-
packageName: "recharts",
|
|
4239
|
-
installCommand: "npm install recharts"
|
|
4240
|
-
},
|
|
4241
|
-
area: {
|
|
4242
|
-
packageName: "recharts",
|
|
4243
|
-
installCommand: "npm install recharts"
|
|
4244
|
-
},
|
|
4245
|
-
pie: {
|
|
4246
|
-
packageName: "recharts",
|
|
4247
|
-
installCommand: "npm install recharts"
|
|
4248
|
-
},
|
|
4249
|
-
scatter: {
|
|
4250
|
-
packageName: "recharts",
|
|
4251
|
-
installCommand: "npm install recharts"
|
|
4252
|
-
},
|
|
4253
|
-
radar: {
|
|
4254
|
-
packageName: "recharts",
|
|
4255
|
-
installCommand: "npm install recharts"
|
|
4256
|
-
},
|
|
4257
|
-
radialBar: {
|
|
4258
|
-
packageName: "recharts",
|
|
4259
|
-
installCommand: "npm install recharts"
|
|
4260
|
-
},
|
|
4261
|
-
treemap: {
|
|
4262
|
-
packageName: "recharts",
|
|
4263
|
-
installCommand: "npm install recharts"
|
|
4264
|
-
},
|
|
4265
|
-
bubble: {
|
|
4266
|
-
packageName: "recharts",
|
|
4267
|
-
installCommand: "npm install recharts"
|
|
4268
|
-
},
|
|
4269
|
-
funnel: {
|
|
4270
|
-
packageName: "recharts",
|
|
4271
|
-
installCommand: "npm install recharts"
|
|
4272
|
-
},
|
|
4273
|
-
sankey: {
|
|
4274
|
-
packageName: "recharts",
|
|
4275
|
-
installCommand: "npm install recharts"
|
|
4276
|
-
},
|
|
4277
|
-
sunburst: {
|
|
4278
|
-
packageName: "recharts",
|
|
4279
|
-
installCommand: "npm install recharts"
|
|
4280
|
-
},
|
|
4281
|
-
heatmap: {
|
|
4282
|
-
packageName: "@nivo/heatmap",
|
|
4283
|
-
installCommand: "npm install @nivo/heatmap"
|
|
4284
|
-
},
|
|
4285
|
-
waterfall: {
|
|
4286
|
-
packageName: "recharts",
|
|
4287
|
-
installCommand: "npm install recharts"
|
|
4288
|
-
},
|
|
4289
|
-
measureProfile: {
|
|
4290
|
-
packageName: "recharts",
|
|
4291
|
-
installCommand: "npm install recharts"
|
|
4292
|
-
},
|
|
4293
|
-
gauge: {
|
|
4294
|
-
packageName: "d3-shape",
|
|
4295
|
-
installCommand: "npm install d3-shape"
|
|
4296
|
-
}
|
|
4297
|
-
};
|
|
4298
|
-
function to(e) {
|
|
4477
|
+
var ro = /* @__PURE__ */ new Map(), io = /* @__PURE__ */ new Set(), ao = /* @__PURE__ */ new Map();
|
|
4478
|
+
function oo(e) {
|
|
4299
4479
|
let t = ({ height: t }) => {
|
|
4300
|
-
let { t: n } =
|
|
4301
|
-
return /* @__PURE__ */
|
|
4480
|
+
let { t: n } = c();
|
|
4481
|
+
return /* @__PURE__ */ E("div", {
|
|
4302
4482
|
className: "dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:gap-2",
|
|
4303
4483
|
style: { height: typeof t == "number" ? `${t}px` : t || "200px" },
|
|
4304
|
-
children: [/* @__PURE__ */
|
|
4484
|
+
children: [/* @__PURE__ */ T("div", {
|
|
4305
4485
|
className: "dc:text-sm dc:font-semibold text-dc-text-muted",
|
|
4306
4486
|
children: n("chart.runtime.unknownChartType")
|
|
4307
|
-
}), /* @__PURE__ */
|
|
4487
|
+
}), /* @__PURE__ */ E("div", {
|
|
4308
4488
|
className: "dc:text-xs text-dc-text-muted",
|
|
4309
4489
|
children: [
|
|
4310
4490
|
"“",
|
|
@@ -4316,8 +4496,8 @@ function to(e) {
|
|
|
4316
4496
|
};
|
|
4317
4497
|
return t.displayName = `UnknownChart_${e}`, t;
|
|
4318
4498
|
}
|
|
4319
|
-
function
|
|
4320
|
-
let t =
|
|
4499
|
+
function so(e) {
|
|
4500
|
+
let t = we(e)?.dependencies, n = ({ height: n }) => /* @__PURE__ */ T(no, {
|
|
4321
4501
|
chartType: e,
|
|
4322
4502
|
packageName: t?.packageName || "unknown",
|
|
4323
4503
|
installCommand: t?.installCommand || "npm install [package-name]",
|
|
@@ -4325,56 +4505,55 @@ function no(e) {
|
|
|
4325
4505
|
});
|
|
4326
4506
|
return n.displayName = `${e}Fallback`, n;
|
|
4327
4507
|
}
|
|
4328
|
-
function
|
|
4508
|
+
function co(e, t) {
|
|
4329
4509
|
return async () => {
|
|
4330
4510
|
try {
|
|
4331
4511
|
return await t();
|
|
4332
4512
|
} catch (t) {
|
|
4333
|
-
return console.warn(`[drizzle-cube] Failed to load ${e} chart:`, t instanceof Error ? t.message : t),
|
|
4513
|
+
return console.warn(`[drizzle-cube] Failed to load ${e} chart:`, t instanceof Error ? t.message : t), io.add(e), { default: so(e) };
|
|
4334
4514
|
}
|
|
4335
4515
|
};
|
|
4336
4516
|
}
|
|
4337
|
-
function
|
|
4338
|
-
if (
|
|
4339
|
-
let t = r ?
|
|
4340
|
-
|
|
4517
|
+
function lo(e, t, n, r) {
|
|
4518
|
+
if (ro.delete(e), io.delete(e), n) {
|
|
4519
|
+
let t = r ? co(e, n) : n;
|
|
4520
|
+
ao.set(e, ve(t));
|
|
4341
4521
|
} else if (t) {
|
|
4342
4522
|
let n = t;
|
|
4343
|
-
|
|
4523
|
+
ao.set(e, ve(() => Promise.resolve({ default: n })));
|
|
4344
4524
|
}
|
|
4345
4525
|
}
|
|
4346
|
-
function
|
|
4347
|
-
|
|
4526
|
+
function uo(e) {
|
|
4527
|
+
ao.delete(e), ro.delete(e), io.delete(e);
|
|
4348
4528
|
}
|
|
4349
4529
|
//#endregion
|
|
4350
4530
|
//#region src/client/providers/CubeMetaProvider.tsx
|
|
4351
|
-
function
|
|
4352
|
-
let { meta: t, labelMap: n, isLoading: r, error: i, refetch: a, getFieldLabel:
|
|
4531
|
+
function fo({ children: e }) {
|
|
4532
|
+
let { meta: t, labelMap: n, isLoading: r, error: i, refetch: a, getFieldLabel: o } = sn(), s = i ? i instanceof Error ? i.message : String(i) : null, c = ye(() => {
|
|
4353
4533
|
a();
|
|
4354
|
-
}, [a]), u =
|
|
4534
|
+
}, [a]), u = ye((e) => o(e), [o]), d = C(() => ({
|
|
4355
4535
|
meta: t,
|
|
4356
4536
|
labelMap: n,
|
|
4357
4537
|
metaLoading: r,
|
|
4358
|
-
metaError:
|
|
4538
|
+
metaError: s,
|
|
4359
4539
|
getFieldLabel: u,
|
|
4360
|
-
refetchMeta:
|
|
4540
|
+
refetchMeta: c
|
|
4361
4541
|
}), [
|
|
4362
4542
|
t,
|
|
4363
4543
|
n,
|
|
4364
4544
|
r,
|
|
4365
|
-
|
|
4545
|
+
s,
|
|
4366
4546
|
u,
|
|
4367
|
-
|
|
4547
|
+
c
|
|
4368
4548
|
]);
|
|
4369
|
-
return /* @__PURE__ */
|
|
4549
|
+
return /* @__PURE__ */ T(l.Provider, {
|
|
4370
4550
|
value: d,
|
|
4371
4551
|
children: e
|
|
4372
4552
|
});
|
|
4373
4553
|
}
|
|
4374
4554
|
//#endregion
|
|
4375
4555
|
//#region src/client/components/charts/RetentionHeatmap.config.ts
|
|
4376
|
-
var
|
|
4377
|
-
label: "chart.retentionHeatmap.label",
|
|
4556
|
+
var po = /* @__PURE__ */ t({ retentionHeatmapConfig: () => mo }), mo = {
|
|
4378
4557
|
dropZones: [],
|
|
4379
4558
|
displayOptionsConfig: [{
|
|
4380
4559
|
key: "showLegend",
|
|
@@ -4388,11 +4567,8 @@ var so = /* @__PURE__ */ t({ retentionHeatmapConfig: () => co }), co = {
|
|
|
4388
4567
|
type: "boolean",
|
|
4389
4568
|
defaultValue: !0,
|
|
4390
4569
|
description: "chart.option.showTooltip.description"
|
|
4391
|
-
}]
|
|
4392
|
-
|
|
4393
|
-
useCase: "chart.retentionHeatmap.useCase"
|
|
4394
|
-
}, lo = /* @__PURE__ */ t({ retentionCombinedConfig: () => uo }), uo = {
|
|
4395
|
-
label: "chart.retentionCombined.label",
|
|
4570
|
+
}]
|
|
4571
|
+
}, ho = /* @__PURE__ */ t({ retentionCombinedConfig: () => go }), go = {
|
|
4396
4572
|
dropZones: [],
|
|
4397
4573
|
displayOptionsConfig: [
|
|
4398
4574
|
{
|
|
@@ -4437,47 +4613,57 @@ var so = /* @__PURE__ */ t({ retentionHeatmapConfig: () => co }), co = {
|
|
|
4437
4613
|
defaultValue: !0,
|
|
4438
4614
|
description: "chart.option.showTooltip.description"
|
|
4439
4615
|
}
|
|
4440
|
-
]
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
};
|
|
4471
|
-
function fo(e, t) {
|
|
4616
|
+
]
|
|
4617
|
+
}, _o = {
|
|
4618
|
+
bar: f,
|
|
4619
|
+
line: p,
|
|
4620
|
+
area: r,
|
|
4621
|
+
pie: m,
|
|
4622
|
+
scatter: h,
|
|
4623
|
+
bubble: g,
|
|
4624
|
+
radar: _,
|
|
4625
|
+
radialBar: v,
|
|
4626
|
+
treemap: ee,
|
|
4627
|
+
table: y,
|
|
4628
|
+
activityGrid: b,
|
|
4629
|
+
kpiNumber: te,
|
|
4630
|
+
kpiDelta: ne,
|
|
4631
|
+
kpiText: re,
|
|
4632
|
+
markdown: ie,
|
|
4633
|
+
funnel: ae,
|
|
4634
|
+
sankey: oe,
|
|
4635
|
+
sunburst: se,
|
|
4636
|
+
heatmap: ce,
|
|
4637
|
+
retentionHeatmap: mo,
|
|
4638
|
+
retentionCombined: go,
|
|
4639
|
+
boxPlot: le,
|
|
4640
|
+
waterfall: ue,
|
|
4641
|
+
candlestick: de,
|
|
4642
|
+
measureProfile: fe,
|
|
4643
|
+
gauge: pe
|
|
4644
|
+
}, Q = Object.fromEntries(Object.keys(Se).map((e) => [e, Oe(Se[e], _o[e])]));
|
|
4645
|
+
function vo(e, t) {
|
|
4472
4646
|
Q[e] = t;
|
|
4473
4647
|
}
|
|
4474
|
-
function
|
|
4648
|
+
function yo(e) {
|
|
4475
4649
|
delete Q[e];
|
|
4476
4650
|
}
|
|
4651
|
+
//#endregion
|
|
4652
|
+
//#region src/client/charts/chartPlugin.ts
|
|
4653
|
+
function bo(e, t) {
|
|
4654
|
+
return {
|
|
4655
|
+
label: t.label ?? e.label,
|
|
4656
|
+
icon: e.icon ?? "chartBar",
|
|
4657
|
+
description: t.description,
|
|
4658
|
+
useCase: t.useCase,
|
|
4659
|
+
isAvailable: t.isAvailable,
|
|
4660
|
+
dependencies: e.dependencies,
|
|
4661
|
+
config: async () => t
|
|
4662
|
+
};
|
|
4663
|
+
}
|
|
4477
4664
|
var $ = new class {
|
|
4478
4665
|
customCharts = /* @__PURE__ */ new Map();
|
|
4479
4666
|
builtInBackups = /* @__PURE__ */ new Map();
|
|
4480
|
-
iconMap = /* @__PURE__ */ new Map();
|
|
4481
4667
|
version = 0;
|
|
4482
4668
|
listeners = /* @__PURE__ */ new Set();
|
|
4483
4669
|
register(e) {
|
|
@@ -4485,16 +4671,17 @@ var $ = new class {
|
|
|
4485
4671
|
...e.config,
|
|
4486
4672
|
label: e.config.label || e.label
|
|
4487
4673
|
};
|
|
4488
|
-
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),
|
|
4674
|
+
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, bo(e, t)), vo(e.type, t), Ie(e.type, t), lo(e.type, e.component, e.lazyComponent, e.dependencies), this.bump();
|
|
4489
4675
|
}
|
|
4490
4676
|
unregister(e) {
|
|
4491
4677
|
if (!this.customCharts.has(e)) return;
|
|
4492
|
-
this.customCharts.delete(e),
|
|
4678
|
+
this.customCharts.delete(e), Ee(e);
|
|
4493
4679
|
let t = this.builtInBackups.get(e);
|
|
4494
|
-
t ? (
|
|
4680
|
+
t ? (vo(e, t), Ie(e, t), this.builtInBackups.delete(e)) : (yo(e), Le(e)), uo(e), this.bump();
|
|
4495
4681
|
}
|
|
4496
4682
|
getIcon(e) {
|
|
4497
|
-
|
|
4683
|
+
let t = De(e)?.icon;
|
|
4684
|
+
return t && typeof t != "string" ? t : void 0;
|
|
4498
4685
|
}
|
|
4499
4686
|
getCustomTypes() {
|
|
4500
4687
|
return Array.from(this.customCharts.keys());
|
|
@@ -4510,23 +4697,19 @@ var $ = new class {
|
|
|
4510
4697
|
this.version++;
|
|
4511
4698
|
for (let e of this.listeners) e();
|
|
4512
4699
|
}
|
|
4513
|
-
}()
|
|
4514
|
-
Ba((e) => $.getIcon(e));
|
|
4515
|
-
//#endregion
|
|
4516
|
-
//#region src/client/providers/CubeProvider.tsx
|
|
4517
|
-
var mo = { apiUrl: "/cubejs-api/v1" }, ho = () => new kt({ defaultOptions: { queries: {
|
|
4700
|
+
}(), xo = { apiUrl: "/cubejs-api/v1" }, So = () => new Nt({ defaultOptions: { queries: {
|
|
4518
4701
|
staleTime: 300 * 1e3,
|
|
4519
4702
|
gcTime: 900 * 1e3,
|
|
4520
4703
|
retry: 3,
|
|
4521
4704
|
refetchOnWindowFocus: !1
|
|
4522
4705
|
} } });
|
|
4523
|
-
|
|
4524
|
-
function
|
|
4525
|
-
|
|
4526
|
-
|
|
4706
|
+
So();
|
|
4707
|
+
function Co({ cubeApi: e, apiOptions: t, token: n, options: r, features: i, dashboardModes: a, enableBatching: c, batchDelayMs: l, queryClient: u, customCharts: d, locale: f, translations: p, debugI18n: m, children: h }) {
|
|
4708
|
+
S(() => {
|
|
4709
|
+
s(!!m);
|
|
4527
4710
|
}, [m]);
|
|
4528
|
-
let [g] =
|
|
4529
|
-
return
|
|
4711
|
+
let [g] = w(() => So()), _ = u ?? g, v = xe([]);
|
|
4712
|
+
return S(() => {
|
|
4530
4713
|
if (!d || d.length === 0) {
|
|
4531
4714
|
for (let e of v.current) $.unregister(e);
|
|
4532
4715
|
v.current = [];
|
|
@@ -4539,30 +4722,30 @@ function go({ cubeApi: e, apiOptions: t, token: n, options: a, features: o, dash
|
|
|
4539
4722
|
for (let e of v.current) $.unregister(e);
|
|
4540
4723
|
v.current = [];
|
|
4541
4724
|
};
|
|
4542
|
-
}, [d]), /* @__PURE__ */
|
|
4725
|
+
}, [d]), /* @__PURE__ */ T(o, {
|
|
4543
4726
|
locale: f,
|
|
4544
4727
|
translations: p,
|
|
4545
|
-
children: /* @__PURE__ */
|
|
4728
|
+
children: /* @__PURE__ */ T(It, {
|
|
4546
4729
|
client: _,
|
|
4547
|
-
children: /* @__PURE__ */
|
|
4548
|
-
apiOptions: t ||
|
|
4730
|
+
children: /* @__PURE__ */ T(nn, {
|
|
4731
|
+
apiOptions: t || xo,
|
|
4549
4732
|
token: n,
|
|
4550
|
-
options:
|
|
4733
|
+
options: r,
|
|
4551
4734
|
locale: f,
|
|
4552
4735
|
enableBatching: c,
|
|
4553
4736
|
batchDelayMs: l,
|
|
4554
|
-
children: /* @__PURE__ */
|
|
4555
|
-
features:
|
|
4556
|
-
dashboardModes:
|
|
4737
|
+
children: /* @__PURE__ */ T(fo, { children: /* @__PURE__ */ T(Rn, {
|
|
4738
|
+
features: i,
|
|
4739
|
+
dashboardModes: a,
|
|
4557
4740
|
children: h
|
|
4558
4741
|
}) })
|
|
4559
4742
|
})
|
|
4560
4743
|
})
|
|
4561
4744
|
});
|
|
4562
4745
|
}
|
|
4563
|
-
function
|
|
4564
|
-
let e =
|
|
4565
|
-
return
|
|
4746
|
+
function wo() {
|
|
4747
|
+
let e = rn(), t = d(), n = Bn();
|
|
4748
|
+
return C(() => ({
|
|
4566
4749
|
...e,
|
|
4567
4750
|
...t,
|
|
4568
4751
|
features: n.features,
|
|
@@ -4575,14 +4758,14 @@ function _o() {
|
|
|
4575
4758
|
}
|
|
4576
4759
|
//#endregion
|
|
4577
4760
|
//#region src/client/utils/pivotUtils.ts
|
|
4578
|
-
function
|
|
4761
|
+
function To(e) {
|
|
4579
4762
|
if (!e) return [];
|
|
4580
4763
|
let t = [];
|
|
4581
4764
|
return e.dimensions && t.push(...e.dimensions), e.timeDimensions && e.timeDimensions.forEach((e) => {
|
|
4582
4765
|
t.includes(e.dimension) || t.push(e.dimension);
|
|
4583
4766
|
}), e.measures && t.push(...e.measures), t;
|
|
4584
4767
|
}
|
|
4585
|
-
function
|
|
4768
|
+
function Eo(e, t) {
|
|
4586
4769
|
if (!e?.timeDimensions?.length) return null;
|
|
4587
4770
|
let n = e.timeDimensions.find((e) => e.granularity);
|
|
4588
4771
|
if (!n?.granularity || !e.measures?.length) return null;
|
|
@@ -4599,17 +4782,17 @@ function yo(e, t) {
|
|
|
4599
4782
|
measures: i
|
|
4600
4783
|
};
|
|
4601
4784
|
}
|
|
4602
|
-
function
|
|
4603
|
-
let
|
|
4785
|
+
function Do(e, t, n) {
|
|
4786
|
+
let r = /* @__PURE__ */ new Set();
|
|
4604
4787
|
return e.forEach((e) => {
|
|
4605
|
-
let
|
|
4606
|
-
if (
|
|
4607
|
-
let e =
|
|
4608
|
-
|
|
4788
|
+
let i = e[t];
|
|
4789
|
+
if (i != null) {
|
|
4790
|
+
let e = a(i, n);
|
|
4791
|
+
r.add(e);
|
|
4609
4792
|
}
|
|
4610
|
-
}), Array.from(
|
|
4793
|
+
}), Array.from(r).sort();
|
|
4611
4794
|
}
|
|
4612
|
-
function
|
|
4795
|
+
function Oo(e, t, n) {
|
|
4613
4796
|
let r = [];
|
|
4614
4797
|
return e.measures.length > 1 && r.push({
|
|
4615
4798
|
key: "__measure__",
|
|
@@ -4630,20 +4813,20 @@ function xo(e, t, n) {
|
|
|
4630
4813
|
});
|
|
4631
4814
|
}), r;
|
|
4632
4815
|
}
|
|
4633
|
-
function
|
|
4634
|
-
let
|
|
4816
|
+
function ko(e, t) {
|
|
4817
|
+
let n = /* @__PURE__ */ new Map();
|
|
4635
4818
|
return e.forEach((e) => {
|
|
4636
|
-
let
|
|
4637
|
-
|
|
4638
|
-
let
|
|
4639
|
-
if (
|
|
4640
|
-
let o =
|
|
4641
|
-
|
|
4819
|
+
let r = t.dimensions.length > 0 ? t.dimensions.map((t) => String(e[t] ?? "")).join("|") : "__all__";
|
|
4820
|
+
n.has(r) || n.set(r, /* @__PURE__ */ new Map());
|
|
4821
|
+
let i = e[t.timeDimension];
|
|
4822
|
+
if (i != null) {
|
|
4823
|
+
let o = a(i, t.granularity);
|
|
4824
|
+
n.get(r).set(o, e);
|
|
4642
4825
|
}
|
|
4643
|
-
}),
|
|
4826
|
+
}), n;
|
|
4644
4827
|
}
|
|
4645
|
-
function
|
|
4646
|
-
let i =
|
|
4828
|
+
function Ao(e, t, n, r) {
|
|
4829
|
+
let i = ko(e, t), a = Array.from(i.keys()), o = [], s = t.measures.length, c = a.length;
|
|
4647
4830
|
return t.measures.forEach((e) => {
|
|
4648
4831
|
a.forEach((a, l) => {
|
|
4649
4832
|
let u = i.get(a), d = s > 1 ? `${e}|${a}` : a, f = {}, p = a === "__all__" ? [] : a.split("|");
|
|
@@ -4663,20 +4846,20 @@ function Co(e, t, n, r) {
|
|
|
4663
4846
|
});
|
|
4664
4847
|
}), o;
|
|
4665
4848
|
}
|
|
4666
|
-
function
|
|
4849
|
+
function jo(e, t, n, r) {
|
|
4667
4850
|
if (!e || e.length === 0) return {
|
|
4668
4851
|
isPivoted: !0,
|
|
4669
4852
|
columns: [],
|
|
4670
4853
|
rows: []
|
|
4671
4854
|
};
|
|
4672
|
-
let i =
|
|
4855
|
+
let i = Do(e, t.timeDimension, t.granularity);
|
|
4673
4856
|
return {
|
|
4674
4857
|
isPivoted: !0,
|
|
4675
|
-
columns:
|
|
4676
|
-
rows:
|
|
4858
|
+
columns: Oo(t, i, n),
|
|
4859
|
+
rows: Ao(e, t, i, n)
|
|
4677
4860
|
};
|
|
4678
4861
|
}
|
|
4679
|
-
function
|
|
4862
|
+
function Mo(e, t) {
|
|
4680
4863
|
if (t?.cubes) for (let n of t.cubes) {
|
|
4681
4864
|
let t = n.measures.find((t) => t.name === e);
|
|
4682
4865
|
if (t) return t.type;
|
|
@@ -4684,72 +4867,72 @@ function To(e, t) {
|
|
|
4684
4867
|
}
|
|
4685
4868
|
//#endregion
|
|
4686
4869
|
//#region src/client/components/charts/DataTable.tsx
|
|
4687
|
-
var
|
|
4688
|
-
let { t:
|
|
4870
|
+
var No = /* @__PURE__ */ t({ default: () => Po }), Po = me.memo(function({ data: e, chartConfig: t, displayConfig: n = {}, queryObject: r, height: i = 300 }) {
|
|
4871
|
+
let { t: a } = c(), { getFieldLabel: o, meta: s } = d(), l = C(() => Eo(r, t?.xAxis), [r, t?.xAxis]), u = n?.pivotTimeDimension !== !1, f = C(() => !l || !u ? null : jo(e, l, o, s), [
|
|
4689
4872
|
e,
|
|
4873
|
+
l,
|
|
4690
4874
|
u,
|
|
4691
|
-
|
|
4692
|
-
s
|
|
4693
|
-
l
|
|
4875
|
+
o,
|
|
4876
|
+
s
|
|
4694
4877
|
]);
|
|
4695
|
-
return !e || e.length === 0 ? /* @__PURE__ */
|
|
4878
|
+
return !e || e.length === 0 ? /* @__PURE__ */ T("div", {
|
|
4696
4879
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
4697
4880
|
style: { height: i },
|
|
4698
|
-
children: /* @__PURE__ */
|
|
4881
|
+
children: /* @__PURE__ */ E("div", {
|
|
4699
4882
|
className: "dc:text-center text-dc-text-muted",
|
|
4700
|
-
children: [/* @__PURE__ */
|
|
4883
|
+
children: [/* @__PURE__ */ T("div", {
|
|
4701
4884
|
className: "dc:text-sm dc:font-semibold dc:mb-1",
|
|
4702
|
-
children:
|
|
4703
|
-
}), /* @__PURE__ */
|
|
4885
|
+
children: a("chart.runtime.noData")
|
|
4886
|
+
}), /* @__PURE__ */ T("div", {
|
|
4704
4887
|
className: "dc:text-xs text-dc-text-secondary",
|
|
4705
|
-
children:
|
|
4888
|
+
children: a("chart.runtime.noDataHint.table")
|
|
4706
4889
|
})]
|
|
4707
4890
|
})
|
|
4708
|
-
}) : f?.isPivoted && f.columns.length > 0 ? /* @__PURE__ */
|
|
4891
|
+
}) : f?.isPivoted && f.columns.length > 0 ? /* @__PURE__ */ T(Fo, {
|
|
4709
4892
|
pivotedData: f,
|
|
4710
4893
|
height: i,
|
|
4711
|
-
meta:
|
|
4894
|
+
meta: s,
|
|
4712
4895
|
leftYAxisFormat: n?.leftYAxisFormat
|
|
4713
|
-
}) : /* @__PURE__ */
|
|
4896
|
+
}) : /* @__PURE__ */ T(Ro, {
|
|
4714
4897
|
data: e,
|
|
4715
4898
|
chartConfig: t,
|
|
4716
4899
|
queryObject: r,
|
|
4717
4900
|
height: i,
|
|
4718
|
-
getFieldLabel:
|
|
4901
|
+
getFieldLabel: o,
|
|
4719
4902
|
leftYAxisFormat: n?.leftYAxisFormat
|
|
4720
4903
|
});
|
|
4721
4904
|
});
|
|
4722
|
-
function
|
|
4723
|
-
let { t: i } =
|
|
4724
|
-
return
|
|
4905
|
+
function Fo({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
|
|
4906
|
+
let { t: i } = c(), { columns: a, rows: o } = e;
|
|
4907
|
+
return a.length === 0 || o.length === 0 ? /* @__PURE__ */ T("div", {
|
|
4725
4908
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
4726
4909
|
style: { height: t },
|
|
4727
|
-
children: /* @__PURE__ */
|
|
4910
|
+
children: /* @__PURE__ */ E("div", {
|
|
4728
4911
|
className: "dc:text-center text-dc-text-muted",
|
|
4729
|
-
children: [/* @__PURE__ */
|
|
4912
|
+
children: [/* @__PURE__ */ T("div", {
|
|
4730
4913
|
className: "dc:text-sm dc:font-semibold dc:mb-1",
|
|
4731
4914
|
children: i("chart.runtime.noData")
|
|
4732
|
-
}), /* @__PURE__ */
|
|
4915
|
+
}), /* @__PURE__ */ T("div", {
|
|
4733
4916
|
className: "dc:text-xs text-dc-text-secondary",
|
|
4734
4917
|
children: i("chart.runtime.noDataHint.table")
|
|
4735
4918
|
})]
|
|
4736
4919
|
})
|
|
4737
|
-
}) : /* @__PURE__ */
|
|
4920
|
+
}) : /* @__PURE__ */ T("div", {
|
|
4738
4921
|
className: "dc:w-full dc:overflow-auto",
|
|
4739
4922
|
style: { height: t },
|
|
4740
|
-
children: /* @__PURE__ */
|
|
4923
|
+
children: /* @__PURE__ */ E("table", {
|
|
4741
4924
|
className: "dc:min-w-full dc:divide-y border-dc-border",
|
|
4742
|
-
children: [/* @__PURE__ */
|
|
4925
|
+
children: [/* @__PURE__ */ T("thead", {
|
|
4743
4926
|
className: "bg-dc-surface-secondary dc:sticky dc:top-0",
|
|
4744
|
-
children: /* @__PURE__ */
|
|
4927
|
+
children: /* @__PURE__ */ T("tr", { children: a.map((e) => /* @__PURE__ */ T("th", {
|
|
4745
4928
|
className: `dc:px-3 dc:py-2 dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wider dc:whitespace-nowrap ${e.isTimeColumn ? "dc:text-right" : "dc:text-left"}`,
|
|
4746
4929
|
children: e.label
|
|
4747
4930
|
}, e.key)) })
|
|
4748
|
-
}), /* @__PURE__ */
|
|
4931
|
+
}), /* @__PURE__ */ T("tbody", {
|
|
4749
4932
|
className: "bg-dc-surface dc:divide-y border-dc-border",
|
|
4750
|
-
children:
|
|
4933
|
+
children: o.map((e) => /* @__PURE__ */ T(Io, {
|
|
4751
4934
|
row: e,
|
|
4752
|
-
columns:
|
|
4935
|
+
columns: a,
|
|
4753
4936
|
meta: n,
|
|
4754
4937
|
leftYAxisFormat: r
|
|
4755
4938
|
}, e.id))
|
|
@@ -4757,87 +4940,87 @@ function Oo({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
|
|
|
4757
4940
|
})
|
|
4758
4941
|
});
|
|
4759
4942
|
}
|
|
4760
|
-
function
|
|
4761
|
-
let i =
|
|
4762
|
-
return /* @__PURE__ */
|
|
4943
|
+
function Io({ row: e, columns: t, meta: n, leftYAxisFormat: r }) {
|
|
4944
|
+
let i = $a(Mo(e.measureField, n));
|
|
4945
|
+
return /* @__PURE__ */ T("tr", {
|
|
4763
4946
|
className: "hover:bg-dc-surface-secondary",
|
|
4764
4947
|
children: t.map((t) => {
|
|
4765
4948
|
let n = e.values[t.key];
|
|
4766
|
-
return t.isMeasureColumn ? e.isFirstInGroup === !1 ? null : /* @__PURE__ */
|
|
4949
|
+
return t.isMeasureColumn ? e.isFirstInGroup === !1 ? null : /* @__PURE__ */ T("td", {
|
|
4767
4950
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text dc:align-top",
|
|
4768
4951
|
rowSpan: e.dimensionRowSpan,
|
|
4769
|
-
children: /* @__PURE__ */
|
|
4952
|
+
children: /* @__PURE__ */ E("div", {
|
|
4770
4953
|
className: "dc:flex dc:items-center",
|
|
4771
|
-
children: [/* @__PURE__ */
|
|
4954
|
+
children: [/* @__PURE__ */ T(i, { className: "dc:w-3.5 dc:h-3.5 dc:mr-1.5 text-dc-text-muted dc:shrink-0" }), /* @__PURE__ */ T("span", { children: n })]
|
|
4772
4955
|
})
|
|
4773
|
-
}, t.key) : t.isTimeColumn ? /* @__PURE__ */
|
|
4956
|
+
}, t.key) : t.isTimeColumn ? /* @__PURE__ */ T("td", {
|
|
4774
4957
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm dc:text-right text-dc-text",
|
|
4775
|
-
children:
|
|
4776
|
-
}, t.key) : /* @__PURE__ */
|
|
4958
|
+
children: Lo(n, r)
|
|
4959
|
+
}, t.key) : /* @__PURE__ */ T("td", {
|
|
4777
4960
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text",
|
|
4778
|
-
children:
|
|
4961
|
+
children: Lo(n)
|
|
4779
4962
|
}, t.key);
|
|
4780
4963
|
})
|
|
4781
4964
|
});
|
|
4782
4965
|
}
|
|
4783
|
-
function
|
|
4784
|
-
return e == null ? "-" : typeof e == "number" ? t ?
|
|
4966
|
+
function Lo(e, t) {
|
|
4967
|
+
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);
|
|
4785
4968
|
}
|
|
4786
|
-
function
|
|
4787
|
-
let { t:
|
|
4788
|
-
if (t?.xAxis && t.xAxis.length > 0) return t.xAxis.filter((e) =>
|
|
4789
|
-
let e =
|
|
4969
|
+
function Ro({ data: e, chartConfig: t, queryObject: n, height: r, getFieldLabel: i, leftYAxisFormat: a }) {
|
|
4970
|
+
let { t: o } = c(), s = Object.keys(e[0] || {}), l = C(() => {
|
|
4971
|
+
if (t?.xAxis && t.xAxis.length > 0) return t.xAxis.filter((e) => s.includes(e));
|
|
4972
|
+
let e = To(n);
|
|
4790
4973
|
if (e.length > 0) {
|
|
4791
|
-
let t = e.filter((e) =>
|
|
4974
|
+
let t = e.filter((e) => s.includes(e)), n = s.filter((e) => !t.includes(e));
|
|
4792
4975
|
return [...t, ...n];
|
|
4793
4976
|
}
|
|
4794
|
-
return
|
|
4977
|
+
return s;
|
|
4795
4978
|
}, [
|
|
4796
4979
|
t?.xAxis,
|
|
4797
4980
|
n,
|
|
4798
|
-
|
|
4981
|
+
s
|
|
4799
4982
|
]);
|
|
4800
|
-
return l.length === 0 ? /* @__PURE__ */
|
|
4983
|
+
return l.length === 0 ? /* @__PURE__ */ T("div", {
|
|
4801
4984
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
4802
4985
|
style: { height: r },
|
|
4803
|
-
children: /* @__PURE__ */
|
|
4986
|
+
children: /* @__PURE__ */ E("div", {
|
|
4804
4987
|
className: "dc:text-center text-dc-text-muted",
|
|
4805
|
-
children: [/* @__PURE__ */
|
|
4988
|
+
children: [/* @__PURE__ */ T("div", {
|
|
4806
4989
|
className: "dc:text-sm dc:font-semibold dc:mb-1",
|
|
4807
4990
|
children: "No columns available"
|
|
4808
|
-
}), /* @__PURE__ */
|
|
4991
|
+
}), /* @__PURE__ */ T("div", {
|
|
4809
4992
|
className: "dc:text-xs text-dc-text-secondary",
|
|
4810
|
-
children:
|
|
4993
|
+
children: o("chart.runtime.table.invalidStructure")
|
|
4811
4994
|
})]
|
|
4812
4995
|
})
|
|
4813
|
-
}) : /* @__PURE__ */
|
|
4996
|
+
}) : /* @__PURE__ */ T("div", {
|
|
4814
4997
|
className: "dc:w-full dc:overflow-auto",
|
|
4815
4998
|
style: { height: r },
|
|
4816
|
-
children: /* @__PURE__ */
|
|
4999
|
+
children: /* @__PURE__ */ E("table", {
|
|
4817
5000
|
className: "dc:min-w-full dc:divide-y border-dc-border",
|
|
4818
|
-
children: [/* @__PURE__ */
|
|
5001
|
+
children: [/* @__PURE__ */ T("thead", {
|
|
4819
5002
|
className: "bg-dc-surface-secondary dc:sticky dc:top-0",
|
|
4820
|
-
children: /* @__PURE__ */
|
|
5003
|
+
children: /* @__PURE__ */ T("tr", { children: l.map((e) => /* @__PURE__ */ T("th", {
|
|
4821
5004
|
className: "dc:px-3 dc:py-2 dc:text-left dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wider",
|
|
4822
5005
|
children: i(e)
|
|
4823
5006
|
}, e)) })
|
|
4824
|
-
}), /* @__PURE__ */
|
|
5007
|
+
}), /* @__PURE__ */ T("tbody", {
|
|
4825
5008
|
className: "bg-dc-surface dc:divide-y border-dc-border",
|
|
4826
|
-
children: e.map((e, t) => /* @__PURE__ */
|
|
5009
|
+
children: e.map((e, t) => /* @__PURE__ */ T("tr", {
|
|
4827
5010
|
className: "hover:bg-dc-surface-secondary",
|
|
4828
|
-
children: l.map((t) => /* @__PURE__ */
|
|
5011
|
+
children: l.map((t) => /* @__PURE__ */ T("td", {
|
|
4829
5012
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text",
|
|
4830
|
-
children:
|
|
5013
|
+
children: zo(e[t], a)
|
|
4831
5014
|
}, t))
|
|
4832
5015
|
}, t))
|
|
4833
5016
|
})]
|
|
4834
5017
|
})
|
|
4835
5018
|
});
|
|
4836
5019
|
}
|
|
4837
|
-
function
|
|
4838
|
-
return e == null ? "" : typeof e == "number" ? t ?
|
|
5020
|
+
function zo(e, t) {
|
|
5021
|
+
return e == null ? "" : typeof e == "number" ? t ? u(e, t) : e.toLocaleString() : typeof e == "boolean" ? e ? "Yes" : "No" : String(e);
|
|
4839
5022
|
}
|
|
4840
5023
|
//#endregion
|
|
4841
|
-
export {
|
|
5024
|
+
export { St as $, Fn as A, Zt as B, Xa as C, Ga as D, Ka as E, pn as F, qt as G, Xt as H, fn as I, Ut as J, Ht as K, un as L, jn as M, dn as N, Ti as O, gn as P, At as Q, sn as R, $a as S, Ya as T, Gt as U, $t as V, Jt as W, Rt as X, Vt as Y, Ft as Z, to as _, Eo as a, at, qa as b, wo as c, A as ct, ro as d, Pe as dt, B as et, co as f, Me as ft, eo as g, io as h, To as i, Xe as it, An as j, Bn as k, $ as l, ke as lt, ao as m, je as mt, No as n, N as nt, jo as o, j as ot, oo as p, Ne as pt, Wt as q, Mo as r, Ye as rt, Co as s, Fe as st, Po as t, I as tt, Q as u, Ae as ut, Z as v, Za as w, Qa as x, Ja as y, rn as z };
|
|
4842
5025
|
|
|
4843
|
-
//# sourceMappingURL=chart-data-table-
|
|
5026
|
+
//# sourceMappingURL=chart-data-table-D4g5_jfF.js.map
|