drizzle-cube 0.5.7 → 0.6.0
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/README.md +2 -0
- package/dist/adapters/adapters/hono/agent-handler.d.ts +9 -0
- package/dist/adapters/adapters/hono/mcp-handler.d.ts +37 -0
- package/dist/adapters/adapters/mcp-tools-handlers.d.ts +18 -0
- package/dist/adapters/adapters/nextjs/mcp-handler.d.ts +36 -0
- package/dist/adapters/{utils.d.ts → adapters/utils.d.ts} +6 -81
- package/dist/adapters/express/index.cjs +1 -1
- package/dist/adapters/express/index.js +50 -50
- package/dist/adapters/fastify/index.cjs +1 -1
- package/dist/adapters/fastify/index.js +78 -78
- package/dist/adapters/google-BOnRIN1w.cjs +2 -0
- package/dist/{server/google-CFYljAOF.js → adapters/google-CvKM9yVM.js} +83 -71
- package/dist/adapters/{handler-Dz1F4iwf.js → handler-CfgE0JSL.js} +515 -578
- package/dist/adapters/handler-Cn0dOctE.cjs +25 -0
- package/dist/adapters/hono/index.cjs +2 -2
- package/dist/adapters/hono/index.js +208 -178
- package/dist/adapters/locale-DDvZDFVn.js +8114 -0
- package/dist/adapters/locale-ZLUUNUxr.cjs +166 -0
- package/dist/adapters/mcp-tools.cjs +1 -1
- package/dist/adapters/mcp-tools.js +49 -38
- package/dist/adapters/mcp-transport-Chiaj4ll.cjs +40 -0
- package/dist/adapters/mcp-transport-H96VG3WY.js +591 -0
- package/dist/adapters/nextjs/index.cjs +1 -1
- package/dist/adapters/nextjs/index.js +190 -197
- package/dist/{server/openai-y7GhJNdn.js → adapters/openai-B5jEiqiB.js} +776 -719
- package/dist/adapters/openai-D0musiYP.cjs +17 -0
- package/dist/{server/openai-DiVskd89.js → adapters/openai-cDlFSTk6.js} +61 -59
- package/dist/adapters/openai-vXvLni8v.cjs +1 -0
- package/dist/adapters/{utils-DosuoabY.js → utils-BPWZsX7k.js} +1285 -1220
- package/dist/adapters/utils-_whV4fXL.cjs +128 -0
- package/dist/adapters/utils.cjs +1 -1
- package/dist/adapters/utils.js +2 -2
- package/dist/client/charts/ChartLoader.d.ts +3 -17
- package/dist/client/charts/chartComponentRegistry.d.ts +46 -0
- package/dist/client/charts/chartConfigHelpers.d.ts +38 -0
- package/dist/client/charts.js +14 -13
- package/dist/client/chunks/{DashboardEditModal-6KRE36mm.js → DashboardEditModal-okVfH8ZK.js} +5446 -4486
- package/dist/client/chunks/DashboardEditModal-okVfH8ZK.js.map +1 -0
- package/dist/client/chunks/{RetentionCombinedChart-CCpu0C-s.js → RetentionCombinedChart-BgbDhsPz.js} +10 -10
- package/dist/client/chunks/{RetentionCombinedChart-CCpu0C-s.js.map → RetentionCombinedChart-BgbDhsPz.js.map} +1 -1
- package/dist/client/chunks/{RetentionHeatmap-B24PiIfr.js → RetentionHeatmap-DjXZaTPq.js} +5 -5
- package/dist/client/chunks/{RetentionHeatmap-B24PiIfr.js.map → RetentionHeatmap-DjXZaTPq.js.map} +1 -1
- package/dist/client/chunks/analysis-builder-DB88FojM.js +5674 -0
- package/dist/client/chunks/analysis-builder-DB88FojM.js.map +1 -0
- package/dist/client/chunks/{analysis-builder-shared-x576-O5p.js → analysis-builder-shared-BVK4TYfR.js} +1578 -1292
- package/dist/client/chunks/analysis-builder-shared-BVK4TYfR.js.map +1 -0
- package/dist/client/chunks/{chart-activity-grid-CiHrLH6Y.js → chart-activity-grid-DX0SJbxs.js} +642 -494
- package/dist/client/chunks/chart-activity-grid-DX0SJbxs.js.map +1 -0
- package/dist/client/chunks/chart-area-of01_62R.js +775 -0
- package/dist/client/chunks/chart-area-of01_62R.js.map +1 -0
- package/dist/client/chunks/chart-bar-BqelQE_I.js +194 -0
- package/dist/client/chunks/chart-bar-BqelQE_I.js.map +1 -0
- package/dist/client/chunks/{chart-box-plot-Bu9hy-17.js → chart-box-plot-kkBixZ27.js} +2 -2
- package/dist/client/chunks/{chart-box-plot-Bu9hy-17.js.map → chart-box-plot-kkBixZ27.js.map} +1 -1
- package/dist/client/chunks/chart-bubble-B2he1--4.js +221 -0
- package/dist/client/chunks/chart-bubble-B2he1--4.js.map +1 -0
- package/dist/client/chunks/{chart-candlestick-Dau5AF4E.js → chart-candlestick-DZp19Tzh.js} +2 -2
- package/dist/client/chunks/{chart-candlestick-Dau5AF4E.js.map → chart-candlestick-DZp19Tzh.js.map} +1 -1
- package/dist/client/chunks/chart-config-area-BNigHUy8.js +124 -0
- package/dist/client/chunks/chart-config-area-BNigHUy8.js.map +1 -0
- package/dist/client/chunks/chart-config-bar-DSO_LRTx.js +54 -0
- package/dist/client/chunks/chart-config-bar-DSO_LRTx.js.map +1 -0
- package/dist/client/chunks/{chart-config-box-plot-DJ-dWWXA.js → chart-config-box-plot-oW8axV2q.js} +5 -10
- package/dist/client/chunks/chart-config-box-plot-oW8axV2q.js.map +1 -0
- package/dist/client/chunks/{chart-config-gauge-DSwC04l0.js → chart-config-gauge-Dq-_H9UN.js} +5 -7
- package/dist/client/chunks/chart-config-gauge-Dq-_H9UN.js.map +1 -0
- package/dist/client/chunks/{chart-config-kpi-delta-D6BIkHL3.js → chart-config-kpi-delta-DSQbvqu_.js} +5 -10
- package/dist/client/chunks/chart-config-kpi-delta-DSQbvqu_.js.map +1 -0
- package/dist/client/chunks/{chart-config-kpi-number-Bx-V9a62.js → chart-config-kpi-number-EFSWY1We.js} +5 -7
- package/dist/client/chunks/chart-config-kpi-number-EFSWY1We.js.map +1 -0
- package/dist/client/chunks/{chart-config-kpi-text-CcqC1u-8.js → chart-config-kpi-text-KM3V5X2u.js} +5 -7
- package/dist/client/chunks/chart-config-kpi-text-KM3V5X2u.js.map +1 -0
- package/dist/client/chunks/{chart-config-line-Db3jDsWc.js → chart-config-line-D6jG8PCH.js} +9 -36
- package/dist/client/chunks/chart-config-line-D6jG8PCH.js.map +1 -0
- package/dist/client/chunks/{chart-config-pie-DD4SmRTF.js → chart-config-pie-BhzW-fdn.js} +6 -16
- package/dist/client/chunks/chart-config-pie-BhzW-fdn.js.map +1 -0
- package/dist/client/chunks/{chart-config-radar-CC2XAaGr.js → chart-config-radar-D7REP1q_.js} +6 -16
- package/dist/client/chunks/chart-config-radar-D7REP1q_.js.map +1 -0
- package/dist/client/chunks/{chart-config-radial-bar-DmxKx1R0.js → chart-config-radial-bar-Byx6qOPU.js} +6 -16
- package/dist/client/chunks/chart-config-radial-bar-Byx6qOPU.js.map +1 -0
- package/dist/client/chunks/{chart-config-tree-map-BI-oQStO.js → chart-config-tree-map-DVrvf3yQ.js} +6 -16
- package/dist/client/chunks/chart-config-tree-map-DVrvf3yQ.js.map +1 -0
- package/dist/client/chunks/{chart-config-waterfall-DSnyixbI.js → chart-config-waterfall-DmFeQdIk.js} +5 -10
- package/dist/client/chunks/chart-config-waterfall-DmFeQdIk.js.map +1 -0
- package/dist/client/chunks/{chart-data-table-Cm5jrpaw.js → chart-data-table-CKauQXme.js} +1046 -1121
- package/dist/client/chunks/chart-data-table-CKauQXme.js.map +1 -0
- package/dist/client/chunks/{chart-funnel-Eke8IPtG.js → chart-funnel-CToKSBaL.js} +184 -222
- package/dist/client/chunks/chart-funnel-CToKSBaL.js.map +1 -0
- package/dist/client/chunks/chart-gauge-DTVezSk7.js +403 -0
- package/dist/client/chunks/chart-gauge-DTVezSk7.js.map +1 -0
- package/dist/client/chunks/chart-heat-map-DTuUl0BR.js +236 -0
- package/dist/client/chunks/chart-heat-map-DTuUl0BR.js.map +1 -0
- package/dist/client/chunks/chart-kpi-delta-Dn-jjO-2.js +408 -0
- package/dist/client/chunks/chart-kpi-delta-Dn-jjO-2.js.map +1 -0
- package/dist/client/chunks/chart-kpi-number-P_WBiO5S.js +244 -0
- package/dist/client/chunks/chart-kpi-number-P_WBiO5S.js.map +1 -0
- package/dist/client/chunks/chart-kpi-text-C-Y4eb5H.js +185 -0
- package/dist/client/chunks/chart-kpi-text-C-Y4eb5H.js.map +1 -0
- package/dist/client/chunks/chart-line-DKgrQA6c.js +101 -0
- package/dist/client/chunks/chart-line-DKgrQA6c.js.map +1 -0
- package/dist/client/chunks/{chart-markdown-BPW-EAm9.js → chart-markdown-CV75S_zL.js} +1359 -1240
- package/dist/client/chunks/chart-markdown-CV75S_zL.js.map +1 -0
- package/dist/client/chunks/{chart-measure-profile-BI3kADCp.js → chart-measure-profile-Ket8fJyf.js} +7 -7
- package/dist/client/chunks/{chart-measure-profile-BI3kADCp.js.map → chart-measure-profile-Ket8fJyf.js.map} +1 -1
- package/dist/client/chunks/chart-pie-ByieAX5H.js +119 -0
- package/dist/client/chunks/chart-pie-ByieAX5H.js.map +1 -0
- package/dist/client/chunks/chart-radar-CiSwHWp4.js +138 -0
- package/dist/client/chunks/chart-radar-CiSwHWp4.js.map +1 -0
- package/dist/client/chunks/chart-radial-bar-BF6Mhl6f.js +122 -0
- package/dist/client/chunks/chart-radial-bar-BF6Mhl6f.js.map +1 -0
- package/dist/client/chunks/{chart-sankey-CFzjGvZX.js → chart-sankey-DjrvKw6K.js} +36 -39
- package/dist/client/chunks/{chart-sankey-CFzjGvZX.js.map → chart-sankey-DjrvKw6K.js.map} +1 -1
- package/dist/client/chunks/chart-scatter-Dd9WFqnS.js +258 -0
- package/dist/client/chunks/chart-scatter-Dd9WFqnS.js.map +1 -0
- package/dist/client/chunks/{chart-sunburst-91Q2tzaB.js → chart-sunburst-leGpuDj7.js} +3 -3
- package/dist/client/chunks/{chart-sunburst-91Q2tzaB.js.map → chart-sunburst-leGpuDj7.js.map} +1 -1
- package/dist/client/chunks/chart-tree-map-Ceq5sLZA.js +323 -0
- package/dist/client/chunks/chart-tree-map-Ceq5sLZA.js.map +1 -0
- package/dist/client/chunks/{chart-waterfall-DcHbbPaG.js → chart-waterfall-DyvQReN5.js} +7 -7
- package/dist/client/chunks/{chart-waterfall-DcHbbPaG.js.map → chart-waterfall-DyvQReN5.js.map} +1 -1
- package/dist/client/chunks/{charts-core-CrBDYN6N.js → charts-core-DaXSt1Dd.js} +2 -2
- package/dist/client/chunks/{charts-core-CrBDYN6N.js.map → charts-core-DaXSt1Dd.js.map} +1 -1
- package/dist/client/chunks/charts-loader-DdTeCeNo.js +84 -0
- package/dist/client/chunks/charts-loader-DdTeCeNo.js.map +1 -0
- package/dist/client/chunks/{core-DsAWNRRv.js → core-D7vPfUIe.js} +2 -2
- package/dist/client/chunks/{core-DsAWNRRv.js.map → core-D7vPfUIe.js.map} +1 -1
- package/dist/client/chunks/{nl-NL-oyr2wENY.js → nl-NL-2zTAWTej.js} +8 -2
- package/dist/client/chunks/{nl-NL-oyr2wENY.js.map → nl-NL-2zTAWTej.js.map} +1 -1
- package/dist/client/chunks/retention-ChW9jYdy.js.map +1 -1
- package/dist/client/chunks/{schema-visualization-BszcrmZX.js → schema-visualization-Cb_E9_Gd.js} +12 -12
- package/dist/client/chunks/{schema-visualization-BszcrmZX.js.map → schema-visualization-Cb_E9_Gd.js.map} +1 -1
- package/dist/client/chunks/{useDirtyStateTracking-B5wCDJSj.js → useDirtyStateTracking-MbpxH_v6.js} +95 -84
- package/dist/client/chunks/useDirtyStateTracking-MbpxH_v6.js.map +1 -0
- package/dist/client/chunks/{useExplainAI-CCeCYzDm.js → useExplainAI-evnZkjCY.js} +14 -14
- package/dist/client/chunks/{useExplainAI-CCeCYzDm.js.map → useExplainAI-evnZkjCY.js.map} +1 -1
- package/dist/client/chunks/{utils-kqa-JIMg.js → utils-3P6z1vz5.js} +3 -3
- package/dist/client/chunks/{utils-kqa-JIMg.js.map → utils-3P6z1vz5.js.map} +1 -1
- package/dist/client/chunks/{vendor-0hJNlZXQ.js → vendor-DSpR0IW6.js} +43 -43
- package/dist/client/chunks/{vendor-0hJNlZXQ.js.map → vendor-DSpR0IW6.js.map} +1 -1
- package/dist/client/components/AgenticNotebook/agentChatParts.d.ts +34 -0
- package/dist/client/components/AgenticNotebook/chatMessageParts.d.ts +39 -0
- package/dist/client/components/AgenticNotebook/useAgentChatController.d.ts +25 -0
- package/dist/client/components/AgenticNotebook/useNotebookAutosave.d.ts +12 -0
- package/dist/client/components/AnalysisBuilder/AnalysisAIPanel.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/AnalysisAxisDropZone.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/AnalysisChartConfigPanel.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/AnalysisDisplayConfigPanel.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/AnalysisFilterGroup.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/AnalysisFilterItem.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/AnalysisFilterSection.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/AnalysisModeErrorBoundary.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/AnalysisQueryPanelParts.d.ts +64 -0
- package/dist/client/components/AnalysisBuilder/AnalysisResultsHeader.d.ts +67 -0
- package/dist/client/components/AnalysisBuilder/BreakdownComparisonToggle.d.ts +13 -0
- package/dist/client/components/AnalysisBuilder/BreakdownRow.d.ts +26 -0
- package/dist/client/components/AnalysisBuilder/DisplayOptionControl.d.ts +10 -0
- package/dist/client/components/AnalysisBuilder/ExecutionPlanPanelParts.d.ts +22 -0
- package/dist/client/components/AnalysisBuilder/ExplainAIPanel.d.ts +2 -1
- package/dist/client/components/AnalysisBuilder/FieldDetailPanel.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FieldSearchItem.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FieldSearchModal.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FieldSearchResults.d.ts +16 -0
- package/dist/client/components/AnalysisBuilder/FilterConfigModal.d.ts +2 -1
- package/dist/client/components/AnalysisBuilder/FilterValueInput.d.ts +63 -0
- package/dist/client/components/AnalysisBuilder/FlowDepthControls.d.ts +10 -0
- package/dist/client/components/AnalysisBuilder/FlowVisualizationPicker.d.ts +7 -0
- package/dist/client/components/AnalysisBuilder/LegacyBooleanOptions.d.ts +8 -0
- package/dist/client/components/AnalysisBuilder/LimitSection.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/MetricRow.d.ts +23 -0
- package/dist/client/components/AnalysisBuilder/SectionHeading.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/SortToggleButton.d.ts +13 -0
- package/dist/client/components/AnalysisBuilder/StringArrayInput.d.ts +17 -0
- package/dist/client/components/AnalysisBuilder/filterConfigModalUtils.d.ts +30 -0
- package/dist/client/components/AnalysisBuilder/hooks/useAnalysisBuilderImperativeHandle.d.ts +13 -0
- package/dist/client/components/AnalysisBuilder/hooks/useDragReorder.d.ts +25 -0
- package/dist/client/components/AnalysisBuilder/hooks/useFieldSearchKeyboard.d.ts +11 -0
- package/dist/client/components/AnalysisBuilder/utils/axisConfigUtils.d.ts +23 -0
- package/dist/client/components/AnalysisBuilder/utils/executionPlanMarkdown.d.ts +8 -0
- package/dist/client/components/AnalysisBuilder/utils/fieldUtils.d.ts +5 -0
- package/dist/client/components/AnalysisBuilder/utils/resultsPanelDerive.d.ts +68 -0
- package/dist/client/components/AnalysisBuilder/utils/shareStateUtils.d.ts +68 -0
- package/dist/client/components/AnalysisBuilder/utils/sortUtils.d.ts +7 -0
- package/dist/client/components/AnalyticsDashboard.d.ts +1 -1
- package/dist/client/components/AnalyticsPage.d.ts +1 -1
- package/dist/client/components/ChartErrorBoundary.d.ts +1 -1
- package/dist/client/components/ChartTypeSelector.d.ts +1 -1
- package/dist/client/components/ColorPaletteSelector.d.ts +1 -1
- package/dist/client/components/DashboardEditModal.d.ts +2 -1
- package/dist/client/components/DashboardFilters/CompactFilterBarParts.d.ts +26 -0
- package/dist/client/components/DashboardFilters/DashboardFilterConfigModal.d.ts +1 -1
- package/dist/client/components/DashboardFilters/DashboardFilterConfigModalParts.d.ts +27 -0
- package/dist/client/components/DashboardFilters/DashboardFilterItem.d.ts +1 -1
- package/dist/client/components/DashboardFilters/DashboardFilterValueInput.d.ts +39 -0
- package/dist/client/components/DashboardFilters/dashboardFilterConfigModalUtils.d.ts +21 -0
- package/dist/client/components/DashboardFilters/useCompactFilterBar.d.ts +19 -0
- package/dist/client/components/DashboardFilters/useDashboardFilterConfigModal.d.ts +69 -0
- package/dist/client/components/DashboardFilters/useDateRangeState.d.ts +19 -0
- package/dist/client/components/DashboardFilters/useFilterDropdowns.d.ts +21 -0
- package/dist/client/components/DashboardFilters/useFilterValueFetch.d.ts +23 -0
- package/dist/client/components/DashboardGrid.d.ts +1 -1
- package/dist/client/components/DashboardPortletCard.d.ts +2 -57
- package/dist/client/components/DashboardThumbnailPlaceholder.d.ts +1 -1
- package/dist/client/components/DataBrowser/DataBrowserSidebar.d.ts +1 -1
- package/dist/client/components/DataBrowser/DataBrowserToolbar.d.ts +1 -1
- package/dist/client/components/DataBrowser/index.d.ts +1 -1
- package/dist/client/components/DataHistogram.d.ts +1 -1
- package/dist/client/components/DebugModal.d.ts +1 -1
- package/dist/client/components/DrillBreadcrumb.d.ts +2 -1
- package/dist/client/components/LoadingIndicator.d.ts +1 -1
- package/dist/client/components/MobileStackedLayout.d.ts +1 -1
- package/dist/client/components/PortletAnalysisModal.d.ts +1 -1
- package/dist/client/components/PortletContainer.d.ts +1 -1
- package/dist/client/components/PortletFilterConfigModal.d.ts +6 -4
- package/dist/client/components/RowManagedLayout.d.ts +1 -1
- package/dist/client/components/ScaledGridWrapper.d.ts +1 -1
- package/dist/client/components/SchemaVisualization/CubeNode.d.ts +1 -1
- package/dist/client/components/SchemaVisualization/FieldDetailPanel.d.ts +1 -1
- package/dist/client/components/SchemaVisualization/RelationshipEdge.d.ts +1 -1
- package/dist/client/components/SchemaVisualization/SchemaVisualizationLazy.d.ts +1 -1
- package/dist/client/components/SchemaVisualization/index.d.ts +1 -1
- package/dist/client/components/TextPortletModal.d.ts +1 -1
- package/dist/client/components/analyticsPortlet/PortletChart.d.ts +31 -0
- package/dist/client/components/analyticsPortlet/PortletChartView.d.ts +35 -0
- package/dist/client/components/analyticsPortlet/PortletStates.d.ts +65 -0
- package/dist/client/components/analyticsPortlet/parsePortletQuery.d.ts +22 -0
- package/dist/client/components/analyticsPortlet/portletRenderState.d.ts +31 -0
- package/dist/client/components/analyticsPortlet/usePortletDebugData.d.ts +37 -0
- package/dist/client/components/analyticsPortlet/usePortletDrillState.d.ts +17 -0
- package/dist/client/components/analyticsPortlet/usePortletQueryResults.d.ts +37 -0
- package/dist/client/components/charts/ActivityGridChart.helpers.d.ts +33 -0
- package/dist/client/components/charts/ActivityGridChart.render.d.ts +31 -0
- package/dist/client/components/charts/AxisFormatControls.d.ts +5 -3
- package/dist/client/components/charts/BarChart.helpers.d.ts +23 -0
- package/dist/client/components/charts/BarSeries.d.ts +29 -0
- package/dist/client/components/charts/BubbleChart.helpers.d.ts +43 -0
- package/dist/client/components/charts/BubbleChart.render.d.ts +21 -0
- package/dist/client/components/charts/ChartContainer.d.ts +1 -1
- package/dist/client/components/charts/ChartLegend.d.ts +1 -1
- package/dist/client/components/charts/ChartStates.d.ts +38 -0
- package/dist/client/components/charts/ChartTooltip.d.ts +1 -1
- package/dist/client/components/charts/FunnelChart.helpers.d.ts +25 -0
- package/dist/client/components/charts/FunnelViews.d.ts +16 -0
- package/dist/client/components/charts/HeatMapCanvas.d.ts +25 -0
- package/dist/client/components/charts/HeatMapChart.helpers.d.ts +64 -0
- package/dist/client/components/charts/KpiDelta.helpers.d.ts +20 -0
- package/dist/client/components/charts/KpiNumber.helpers.d.ts +30 -0
- package/dist/client/components/charts/KpiStates.d.ts +19 -0
- package/dist/client/components/charts/MissingDependencyFallback.d.ts +1 -1
- package/dist/client/components/charts/ScatterChart.helpers.d.ts +43 -0
- package/dist/client/components/charts/ScatterSeries.d.ts +17 -0
- package/dist/client/components/charts/ScatterTooltip.d.ts +21 -0
- package/dist/client/components/charts/TreeMapChart.helpers.d.ts +37 -0
- package/dist/client/components/charts/TreeMapContent.d.ts +24 -0
- package/dist/client/components/charts/TreeMapLegend.d.ts +13 -0
- package/dist/client/components/charts/cartesianChartHelpers.d.ts +126 -0
- package/dist/client/components/charts/chartAxisResolution.d.ts +32 -0
- package/dist/client/components/charts/chartScaffolding.d.ts +77 -0
- package/dist/client/components/charts/gaugeChartHelpers.d.ts +36 -0
- package/dist/client/components/charts/kpiTextHelpers.d.ts +46 -0
- package/dist/client/components/charts/radarChartHelpers.d.ts +14 -0
- package/dist/client/components/charts/radialBarChartHelpers.d.ts +22 -0
- package/dist/client/components/charts/useChartDimensions.d.ts +20 -0
- package/dist/client/components/charts/useKpiDimensions.d.ts +30 -0
- package/dist/client/components/dashboard/DashboardContext.d.ts +2 -2
- package/dist/client/components/dashboard/DashboardCoordinator.d.ts +1 -1
- package/dist/client/components/dashboard/DashboardEditBar.d.ts +5 -0
- package/dist/client/components/dashboard/DashboardFilterBar.d.ts +1 -1
- package/dist/client/components/dashboard/DashboardGridSurface.d.ts +1 -1
- package/dist/client/components/dashboard/DashboardModals.d.ts +1 -1
- package/dist/client/components/dashboard/DashboardProvider.d.ts +1 -1
- package/dist/client/components/dashboard/DashboardToolbar.d.ts +1 -1
- package/dist/client/components/dashboard/LayoutModeToggle.d.ts +10 -0
- package/dist/client/components/dashboard/dashboardGridUtils.d.ts +1 -1
- package/dist/client/components/dashboardPortletCard/FilterFieldChip.d.ts +12 -0
- package/dist/client/components/dashboardPortletCard/PortletCardHeader.d.ts +43 -0
- package/dist/client/components/dashboardPortletCard/cardStyles.d.ts +33 -0
- package/dist/client/components/dashboardPortletCard/filterField.d.ts +12 -0
- package/dist/client/components/dashboardPortletCard/propsEqual.d.ts +55 -0
- package/dist/client/components/dashboardPortletCard/usePortletCardActions.d.ts +16 -0
- package/dist/client/components/portletAnalysisModal/saveValidation.d.ts +8 -0
- package/dist/client/components/shared/dateRangeUtils.d.ts +40 -0
- package/dist/client/components/shared/filterDisplayUtils.d.ts +10 -0
- package/dist/client/components/shared/filterItem/FilterDateRangeSelector.d.ts +17 -0
- package/dist/client/components/shared/filterItem/FilterFieldDropdown.d.ts +16 -0
- package/dist/client/components/shared/filterItem/dateRangeSync.d.ts +14 -0
- package/dist/client/components/shared/filterItem/fieldVisuals.d.ts +5 -0
- package/dist/client/components/shared/filterValueSelector/FilterValueInputs.d.ts +55 -0
- package/dist/client/components/shared/filterValueSelector/useFilterValueSelectorState.d.ts +25 -0
- package/dist/client/components/shared/queryFieldUtils.d.ts +21 -0
- package/dist/client/components/shared/utils.d.ts +4 -43
- package/dist/client/components.js +3 -3
- package/dist/client/hooks/agentChatStream.d.ts +39 -0
- package/dist/client/hooks/analysisQueryExecutionModes.d.ts +133 -0
- package/dist/client/hooks/dashboard/useDashboardController.d.ts +2 -2
- package/dist/client/hooks/drillNavigation.d.ts +25 -0
- package/dist/client/hooks/useDashboardHook.d.ts +2 -2
- package/dist/client/hooks.js +3 -3
- package/dist/client/icons.d.ts +1 -1
- package/dist/client/icons.js +2 -2
- package/dist/client/index.js +816 -669
- package/dist/client/index.js.map +1 -1
- package/dist/client/providers/CubeApiProvider.d.ts +1 -1
- package/dist/client/providers/CubeFeaturesProvider.d.ts +1 -1
- package/dist/client/providers/CubeMetaProvider.d.ts +1 -1
- package/dist/client/providers/CubeProvider.d.ts +1 -1
- package/dist/client/providers/I18nProvider.d.ts +1 -1
- package/dist/client/providers.js +3 -3
- package/dist/client/schema.js +1 -1
- package/dist/client/shared/chartConfigBuilders.d.ts +18 -0
- package/dist/client/shared/components/QueryAnalysisPanel.sections.d.ts +41 -0
- package/dist/client/shared/queryTransforms.d.ts +20 -0
- package/dist/client/shared/utils.d.ts +2 -4
- package/dist/client/stores/analysisBuilderStore.d.ts +1 -1
- package/dist/client/stores/dashboardStore.d.ts +1 -1
- package/dist/client/stores/dataBrowserStore.d.ts +1 -1
- package/dist/client/stores/notebookStore.d.ts +1 -1
- package/dist/client/stores/optionsToAnalysisConfig.d.ts +17 -0
- package/dist/client/styles.css +1 -1
- package/dist/client/types/drill.d.ts +1 -1
- package/dist/client/types.d.ts +7 -2
- package/dist/client/utils/axisValueFormatting.d.ts +32 -0
- package/dist/client/utils/drillQueryBuilder.d.ts +2 -2
- package/dist/client/utils/filterUtils.d.ts +33 -5
- package/dist/client/utils/joinReachability.d.ts +27 -0
- package/dist/client/utils/timeValueFormatting.d.ts +32 -0
- package/dist/client/utils.js +6 -6
- package/dist/client-bundle-stats.html +1 -1
- package/dist/mcp-app/mcp-app.html +55 -55
- package/dist/server/google-BOnRIN1w.cjs +2 -0
- package/dist/{adapters/google-CFYljAOF.js → server/google-CvKM9yVM.js} +83 -71
- package/dist/server/index.cjs +179 -211
- package/dist/server/index.d.ts +2 -5050
- package/dist/server/index.js +6360 -6462
- package/dist/{adapters/openai-y7GhJNdn.js → server/openai-B5jEiqiB.js} +776 -719
- package/dist/server/openai-D0musiYP.cjs +17 -0
- package/dist/{adapters/openai-DiVskd89.js → server/openai-cDlFSTk6.js} +61 -59
- package/dist/server/openai-vXvLni8v.cjs +1 -0
- package/dist/server/server/adapters/base-adapter.d.ts +332 -0
- package/dist/server/server/adapters/databend-adapter.d.ts +63 -0
- package/dist/server/server/adapters/duckdb-adapter.d.ts +68 -0
- package/dist/server/server/adapters/mysql-adapter.d.ts +65 -0
- package/dist/server/server/adapters/postgres-adapter.d.ts +55 -0
- package/dist/server/server/adapters/singlestore-adapter.d.ts +4 -0
- package/dist/server/server/adapters/snowflake-adapter.d.ts +53 -0
- package/dist/server/server/adapters/sqlite-adapter.d.ts +120 -0
- package/dist/server/server/adapters/window-function-builder.d.ts +11 -0
- package/dist/server/server/agent/chart-validation.d.ts +22 -0
- package/dist/server/server/agent/handler-steps.d.ts +37 -0
- package/dist/server/server/agent/handler.d.ts +25 -0
- package/dist/server/server/agent/index.d.ts +11 -0
- package/dist/server/server/agent/providers/anthropic.d.ts +24 -0
- package/dist/server/server/agent/providers/factory.d.ts +12 -0
- package/dist/server/server/agent/providers/google.d.ts +23 -0
- package/dist/server/server/agent/providers/index.d.ts +6 -0
- package/dist/server/server/agent/providers/openai.d.ts +26 -0
- package/dist/server/server/agent/providers/types.d.ts +95 -0
- package/dist/server/server/agent/system-prompt.d.ts +5 -0
- package/dist/server/server/agent/tools.d.ts +28 -0
- package/dist/server/server/agent/types.d.ts +192 -0
- package/dist/server/server/ai/discovery-helpers.d.ts +29 -0
- package/dist/server/server/ai/discovery.d.ts +66 -0
- package/dist/server/server/ai/index.d.ts +10 -0
- package/dist/server/server/ai/mcp-prompts.d.ts +83 -0
- package/dist/server/server/ai/query-schema.d.ts +258 -0
- package/dist/server/server/ai/schemas.d.ts +63 -0
- package/dist/server/server/ai/suggestion-helpers.d.ts +33 -0
- package/dist/server/server/ai/suggestion.d.ts +16 -0
- package/dist/server/server/ai/validation-helpers.d.ts +21 -0
- package/dist/server/server/ai/validation.d.ts +31 -0
- package/dist/server/server/builders/analysis-utils.d.ts +106 -0
- package/dist/server/server/builders/comparison-query-builder.d.ts +70 -0
- package/dist/server/server/builders/cte-builder.d.ts +108 -0
- package/dist/server/server/builders/date-time-builder.d.ts +34 -0
- package/dist/server/server/builders/date-time-helpers.d.ts +34 -0
- package/dist/server/server/builders/filter-builder.d.ts +25 -0
- package/dist/server/server/builders/filter-operators.d.ts +23 -0
- package/dist/server/server/builders/flow-query-builder.d.ts +136 -0
- package/dist/server/server/builders/funnel-query-builder.d.ts +145 -0
- package/dist/server/server/builders/group-by-builder.d.ts +38 -0
- package/dist/server/server/builders/index.d.ts +13 -0
- package/dist/server/server/builders/measure-builder.d.ts +185 -0
- package/dist/server/server/builders/retention-query-builder.d.ts +98 -0
- package/dist/server/server/cache-providers/index.d.ts +5 -0
- package/dist/server/server/cache-providers/memory.d.ts +105 -0
- package/dist/server/server/cache-utils.d.ts +85 -0
- package/dist/server/server/compiler-metadata.d.ts +11 -0
- package/dist/server/server/compiler.d.ts +212 -0
- package/dist/server/server/cube-utils.d.ts +158 -0
- package/dist/server/server/database-utils.d.ts +18 -0
- package/dist/server/server/execution/annotation-builder.d.ts +12 -0
- package/dist/server/server/execution/filter-cache-preloader.d.ts +19 -0
- package/dist/server/server/execution/mode-router.d.ts +25 -0
- package/dist/server/server/execution/query-result-cache.d.ts +21 -0
- package/dist/server/server/execution/result-post-processor.d.ts +10 -0
- package/dist/server/server/executor.d.ts +186 -0
- package/dist/server/server/executors/base-executor.d.ts +16 -0
- package/dist/server/server/executors/databend-executor.d.ts +33 -0
- package/dist/server/server/executors/duckdb-executor.d.ts +33 -0
- package/dist/server/server/executors/explain-utils.d.ts +28 -0
- package/dist/server/server/executors/index.d.ts +21 -0
- package/dist/server/server/executors/mysql-executor.d.ts +27 -0
- package/dist/server/server/executors/postgres-executor.d.ts +27 -0
- package/dist/server/server/executors/singlestore-executor.d.ts +9 -0
- package/dist/server/server/executors/snowflake-executor.d.ts +33 -0
- package/dist/server/server/executors/sqlite-executor.d.ts +28 -0
- package/dist/server/server/explain/databend-parser.d.ts +16 -0
- package/dist/server/server/explain/duckdb-parser.d.ts +28 -0
- package/dist/server/server/explain/explain-tree.d.ts +20 -0
- package/dist/server/server/explain/index.d.ts +9 -0
- package/dist/server/server/explain/mysql-parser.d.ts +38 -0
- package/dist/server/server/explain/postgres-parser.d.ts +18 -0
- package/dist/server/server/explain/snowflake-parser.d.ts +17 -0
- package/dist/server/server/explain/sqlite-parser.d.ts +23 -0
- package/dist/server/server/filter-cache.d.ts +73 -0
- package/dist/server/server/gap-filler.d.ts +48 -0
- package/dist/server/server/index.d.ts +38 -0
- package/dist/server/server/logical-plan/cte-planner-helpers.d.ts +37 -0
- package/dist/server/server/logical-plan/cte-planner.d.ts +104 -0
- package/dist/server/server/logical-plan/filter-propagation.d.ts +44 -0
- package/dist/server/server/logical-plan/index.d.ts +19 -0
- package/dist/server/server/logical-plan/join-planner.d.ts +27 -0
- package/dist/server/server/logical-plan/logical-plan-builder.d.ts +58 -0
- package/dist/server/server/logical-plan/logical-planner.d.ts +39 -0
- package/dist/server/server/logical-plan/optimiser.d.ts +34 -0
- package/dist/server/server/logical-plan/plan-analysis-reporter.d.ts +59 -0
- package/dist/server/server/logical-plan/planner-utils.d.ts +20 -0
- package/dist/server/server/logical-plan/types.d.ts +199 -0
- package/dist/server/server/measure-classification.d.ts +40 -0
- package/dist/server/server/physical-plan/drizzle-plan-builder.d.ts +50 -0
- package/dist/server/server/physical-plan/drizzle-sql-builder.d.ts +118 -0
- package/dist/server/server/physical-plan/index.d.ts +2 -0
- package/dist/server/server/physical-plan/processors/cte-processor.d.ts +6 -0
- package/dist/server/server/physical-plan/processors/index.d.ts +8 -0
- package/dist/server/server/physical-plan/processors/joins-processor.d.ts +6 -0
- package/dist/server/server/physical-plan/processors/keys-dedup-processor.d.ts +13 -0
- package/dist/server/server/physical-plan/processors/multi-fact-processor.d.ts +13 -0
- package/dist/server/server/physical-plan/processors/predicates-processor.d.ts +6 -0
- package/dist/server/server/physical-plan/processors/selection-processor.d.ts +6 -0
- package/dist/server/server/physical-plan/processors/shared.d.ts +38 -0
- package/dist/server/server/physical-plan/processors/window-processor.d.ts +6 -0
- package/dist/server/server/prompts/explain-analysis-prompt.d.ts +47 -0
- package/dist/server/server/prompts/index.d.ts +27 -0
- package/dist/server/server/prompts/single-step-prompt.d.ts +31 -0
- package/dist/server/server/prompts/step0-validation-prompt.d.ts +39 -0
- package/dist/server/server/prompts/step1-shape-prompt.d.ts +29 -0
- package/dist/server/server/prompts/step2-complete-prompt.d.ts +19 -0
- package/dist/server/server/prompts/types.d.ts +37 -0
- package/dist/server/server/query-handlers.d.ts +79 -0
- package/dist/server/server/query-modes.d.ts +28 -0
- package/dist/server/server/query-validator.d.ts +9 -0
- package/dist/server/server/resolvers/calculated-measure-resolver.d.ts +98 -0
- package/dist/server/server/resolvers/index.d.ts +6 -0
- package/dist/server/server/resolvers/join-path-resolver.d.ts +158 -0
- package/dist/server/server/sql-format.d.ts +11 -0
- package/dist/server/server/template-substitution.d.ts +57 -0
- package/dist/server/server/types/analysis.d.ts +189 -0
- package/dist/server/server/types/cache.d.ts +132 -0
- package/dist/server/server/types/core.d.ts +164 -0
- package/dist/server/server/types/cube.d.ts +544 -0
- package/dist/server/server/types/executor.d.ts +156 -0
- package/dist/server/server/types/flow.d.ts +144 -0
- package/dist/server/server/types/funnel.d.ts +118 -0
- package/dist/server/server/types/index.d.ts +11 -0
- package/dist/server/server/types/metadata.d.ts +113 -0
- package/dist/server/server/types/query.d.ts +153 -0
- package/dist/server/server/types/retention.d.ts +141 -0
- package/dist/server/server/types/utils.d.ts +11 -0
- package/dist/server/server/types/validation.d.ts +14 -0
- package/package.json +15 -8
- package/dist/adapters/google-DUlXeeDA.cjs +0 -2
- package/dist/adapters/handler-C63rJUUK.cjs +0 -25
- package/dist/adapters/locale-CTNwPVZI.cjs +0 -198
- package/dist/adapters/locale-gU_d1Wja.js +0 -8249
- package/dist/adapters/mcp-transport-C4J4SAcn.cjs +0 -40
- package/dist/adapters/mcp-transport-CVUiifEc.js +0 -579
- package/dist/adapters/openai-6wrBvAnv.cjs +0 -1
- package/dist/adapters/openai-BDwb2u7y.cjs +0 -17
- package/dist/adapters/utils-CkEkU8Bo.cjs +0 -128
- package/dist/client/chunks/DashboardEditModal-6KRE36mm.js.map +0 -1
- package/dist/client/chunks/analysis-builder-shared-x576-O5p.js.map +0 -1
- package/dist/client/chunks/analysis-builder-zd48FVJO.js +0 -5367
- package/dist/client/chunks/analysis-builder-zd48FVJO.js.map +0 -1
- package/dist/client/chunks/chart-activity-grid-CiHrLH6Y.js.map +0 -1
- package/dist/client/chunks/chart-area-CXFK-Grv.js +0 -450
- package/dist/client/chunks/chart-area-CXFK-Grv.js.map +0 -1
- package/dist/client/chunks/chart-bar-DKXfLoGG.js +0 -271
- package/dist/client/chunks/chart-bar-DKXfLoGG.js.map +0 -1
- package/dist/client/chunks/chart-bubble-DGkTQlxM.js +0 -273
- package/dist/client/chunks/chart-bubble-DGkTQlxM.js.map +0 -1
- package/dist/client/chunks/chart-config-area-Bq_UsW3x.js +0 -101
- package/dist/client/chunks/chart-config-area-Bq_UsW3x.js.map +0 -1
- package/dist/client/chunks/chart-config-bar-_JEGZnAu.js +0 -95
- package/dist/client/chunks/chart-config-bar-_JEGZnAu.js.map +0 -1
- package/dist/client/chunks/chart-config-box-plot-DJ-dWWXA.js.map +0 -1
- package/dist/client/chunks/chart-config-gauge-DSwC04l0.js.map +0 -1
- package/dist/client/chunks/chart-config-kpi-delta-D6BIkHL3.js.map +0 -1
- package/dist/client/chunks/chart-config-kpi-number-Bx-V9a62.js.map +0 -1
- package/dist/client/chunks/chart-config-kpi-text-CcqC1u-8.js.map +0 -1
- package/dist/client/chunks/chart-config-line-Db3jDsWc.js.map +0 -1
- package/dist/client/chunks/chart-config-pie-DD4SmRTF.js.map +0 -1
- package/dist/client/chunks/chart-config-radar-CC2XAaGr.js.map +0 -1
- package/dist/client/chunks/chart-config-radial-bar-DmxKx1R0.js.map +0 -1
- package/dist/client/chunks/chart-config-tree-map-BI-oQStO.js.map +0 -1
- package/dist/client/chunks/chart-config-waterfall-DSnyixbI.js.map +0 -1
- package/dist/client/chunks/chart-data-table-Cm5jrpaw.js.map +0 -1
- package/dist/client/chunks/chart-funnel-Eke8IPtG.js.map +0 -1
- package/dist/client/chunks/chart-gauge-DeRZNsyl.js +0 -424
- package/dist/client/chunks/chart-gauge-DeRZNsyl.js.map +0 -1
- package/dist/client/chunks/chart-heat-map-C86thSJ4.js +0 -231
- package/dist/client/chunks/chart-heat-map-C86thSJ4.js.map +0 -1
- package/dist/client/chunks/chart-kpi-delta-CxOYD2f1.js +0 -343
- package/dist/client/chunks/chart-kpi-delta-CxOYD2f1.js.map +0 -1
- package/dist/client/chunks/chart-kpi-number-C6gWz-x4.js +0 -322
- package/dist/client/chunks/chart-kpi-number-C6gWz-x4.js.map +0 -1
- package/dist/client/chunks/chart-kpi-text-dDONrhS-.js +0 -149
- package/dist/client/chunks/chart-kpi-text-dDONrhS-.js.map +0 -1
- package/dist/client/chunks/chart-line-r4iWevKZ.js +0 -433
- package/dist/client/chunks/chart-line-r4iWevKZ.js.map +0 -1
- package/dist/client/chunks/chart-markdown-BPW-EAm9.js.map +0 -1
- package/dist/client/chunks/chart-pie-yqH2YVEI.js +0 -172
- package/dist/client/chunks/chart-pie-yqH2YVEI.js.map +0 -1
- package/dist/client/chunks/chart-radar-B-_3v-rE.js +0 -154
- package/dist/client/chunks/chart-radar-B-_3v-rE.js.map +0 -1
- package/dist/client/chunks/chart-radial-bar-C0EgzfAF.js +0 -148
- package/dist/client/chunks/chart-radial-bar-C0EgzfAF.js.map +0 -1
- package/dist/client/chunks/chart-scatter-DZPirzwX.js +0 -255
- package/dist/client/chunks/chart-scatter-DZPirzwX.js.map +0 -1
- package/dist/client/chunks/chart-tree-map-Bi4axCvh.js +0 -298
- package/dist/client/chunks/chart-tree-map-Bi4axCvh.js.map +0 -1
- package/dist/client/chunks/useDirtyStateTracking-B5wCDJSj.js.map +0 -1
- package/dist/server/google-DUlXeeDA.cjs +0 -2
- package/dist/server/openai-6wrBvAnv.cjs +0 -1
- package/dist/server/openai-BDwb2u7y.cjs +0 -17
- /package/dist/adapters/{express → adapters/express}/index.d.ts +0 -0
- /package/dist/adapters/{fastify → adapters/fastify}/index.d.ts +0 -0
- /package/dist/adapters/{hono → adapters/hono}/index.d.ts +0 -0
- /package/dist/adapters/{locale.d.ts → adapters/locale.d.ts} +0 -0
- /package/dist/adapters/{mcp-tools.d.ts → adapters/mcp-tools.d.ts} +0 -0
- /package/dist/adapters/{mcp-transport.d.ts → adapters/mcp-transport.d.ts} +0 -0
- /package/dist/adapters/{nextjs → adapters/nextjs}/index.d.ts +0 -0
- /package/dist/adapters/{types.d.ts → adapters/types.d.ts} +0 -0
|
@@ -1,34 +1,185 @@
|
|
|
1
1
|
import { i as e, n as t } from "./rolldown-runtime-CWhphoD1.js";
|
|
2
|
-
import {
|
|
3
|
-
import { n as l } from "./chart-config-
|
|
4
|
-
import { n as u } from "./chart-config-
|
|
5
|
-
import { n as d } from "./chart-config-
|
|
6
|
-
import { n as f } from "./chart-config-pie-
|
|
2
|
+
import { E as n, F as r, I as i, P as a, R as o, w as s, z as c } from "./chart-activity-grid-DX0SJbxs.js";
|
|
3
|
+
import { n as l } from "./chart-config-area-BNigHUy8.js";
|
|
4
|
+
import { n as u } from "./chart-config-bar-DSO_LRTx.js";
|
|
5
|
+
import { n as d } from "./chart-config-line-D6jG8PCH.js";
|
|
6
|
+
import { n as f } from "./chart-config-pie-BhzW-fdn.js";
|
|
7
7
|
import { n as p } from "./chart-config-scatter-DSYTjwRb.js";
|
|
8
8
|
import { n as m } from "./chart-config-bubble-gIoqVyjZ.js";
|
|
9
|
-
import { n as h } from "./chart-config-radar-
|
|
10
|
-
import { n as g } from "./chart-config-radial-bar-
|
|
11
|
-
import { n as _ } from "./chart-config-tree-map-
|
|
9
|
+
import { n as h } from "./chart-config-radar-D7REP1q_.js";
|
|
10
|
+
import { n as g } from "./chart-config-radial-bar-Byx6qOPU.js";
|
|
11
|
+
import { n as _ } from "./chart-config-tree-map-DVrvf3yQ.js";
|
|
12
12
|
import { n as v } from "./chart-config-data-table-d7VBY-y_.js";
|
|
13
13
|
import { n as ee } from "./chart-config-activity-grid-D_UX4NHC.js";
|
|
14
|
-
import { n as y } from "./chart-config-kpi-number-
|
|
15
|
-
import { n as b } from "./chart-config-kpi-delta-
|
|
16
|
-
import { n as te } from "./chart-config-kpi-text-
|
|
14
|
+
import { n as y } from "./chart-config-kpi-number-EFSWY1We.js";
|
|
15
|
+
import { n as b } from "./chart-config-kpi-delta-DSQbvqu_.js";
|
|
16
|
+
import { n as te } from "./chart-config-kpi-text-KM3V5X2u.js";
|
|
17
17
|
import { n as ne } from "./chart-config-markdown-BtRIe8JN.js";
|
|
18
18
|
import { n as re } from "./chart-config-funnel-DEYMcxsD.js";
|
|
19
19
|
import { n as ie } from "./chart-config-sankey-BTnWA7EW.js";
|
|
20
20
|
import { n as ae } from "./chart-config-sunburst-Bwjtdf7X.js";
|
|
21
21
|
import { n as oe } from "./chart-config-heat-map-CfRnRNcw.js";
|
|
22
|
-
import { n as se } from "./chart-config-box-plot-
|
|
23
|
-
import { n as ce } from "./chart-config-waterfall-
|
|
22
|
+
import { n as se } from "./chart-config-box-plot-oW8axV2q.js";
|
|
23
|
+
import { n as ce } from "./chart-config-waterfall-DmFeQdIk.js";
|
|
24
24
|
import { n as le } from "./chart-config-candlestick-N6DchAA3.js";
|
|
25
25
|
import { n as ue } from "./chart-config-measure-profile-DxRGa-zf.js";
|
|
26
|
-
import { n as de } from "./chart-config-gauge-
|
|
26
|
+
import { n as de } from "./chart-config-gauge-Dq-_H9UN.js";
|
|
27
27
|
import * as x from "react";
|
|
28
|
-
import fe, {
|
|
29
|
-
import { jsx as
|
|
28
|
+
import fe, { createContext as pe, createElement as me, forwardRef as he, lazy as ge, useCallback as S, useContext as _e, useEffect as C, useMemo as w, useRef as ve, useState as T } from "react";
|
|
29
|
+
import { jsx as E, jsxs as D } from "react/jsx-runtime";
|
|
30
|
+
//#region src/client/charts/chartConfigs.ts
|
|
31
|
+
var ye = {
|
|
32
|
+
dropZones: [
|
|
33
|
+
{
|
|
34
|
+
key: "xAxis",
|
|
35
|
+
label: "chart.dropZone.xAxis.label",
|
|
36
|
+
description: "chart.dropZone.xAxis.description",
|
|
37
|
+
mandatory: !1,
|
|
38
|
+
acceptTypes: ["dimension", "timeDimension"],
|
|
39
|
+
emptyText: "chart.dropZone.xAxis.empty"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
key: "yAxis",
|
|
43
|
+
label: "chart.dropZone.yAxis.label",
|
|
44
|
+
description: "chart.dropZone.yAxis.description",
|
|
45
|
+
mandatory: !1,
|
|
46
|
+
acceptTypes: ["measure", "dimension"],
|
|
47
|
+
emptyText: "chart.dropZone.yAxis.empty"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
key: "series",
|
|
51
|
+
label: "chart.dropZone.series.label",
|
|
52
|
+
description: "chart.dropZone.series.description",
|
|
53
|
+
mandatory: !1,
|
|
54
|
+
acceptTypes: ["dimension"],
|
|
55
|
+
emptyText: "chart.dropZone.series.empty"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
displayOptions: [
|
|
59
|
+
"showLegend",
|
|
60
|
+
"showGrid",
|
|
61
|
+
"showTooltip"
|
|
62
|
+
]
|
|
63
|
+
}, be = {
|
|
64
|
+
bar: () => import("./chart-config-bar-DSO_LRTx.js").then((e) => e.t),
|
|
65
|
+
line: () => import("./chart-config-line-D6jG8PCH.js").then((e) => e.t),
|
|
66
|
+
area: () => import("./chart-config-area-BNigHUy8.js").then((e) => e.t),
|
|
67
|
+
pie: () => import("./chart-config-pie-BhzW-fdn.js").then((e) => e.t),
|
|
68
|
+
scatter: () => import("./chart-config-scatter-DSYTjwRb.js").then((e) => e.t),
|
|
69
|
+
radar: () => import("./chart-config-radar-D7REP1q_.js").then((e) => e.t),
|
|
70
|
+
radialBar: () => import("./chart-config-radial-bar-Byx6qOPU.js").then((e) => e.t),
|
|
71
|
+
treemap: () => import("./chart-config-tree-map-DVrvf3yQ.js").then((e) => e.t),
|
|
72
|
+
bubble: () => import("./chart-config-bubble-gIoqVyjZ.js").then((e) => e.t),
|
|
73
|
+
table: () => import("./chart-config-data-table-d7VBY-y_.js").then((e) => e.t),
|
|
74
|
+
activityGrid: () => import("./chart-config-activity-grid-D_UX4NHC.js").then((e) => e.t),
|
|
75
|
+
kpiNumber: () => import("./chart-config-kpi-number-EFSWY1We.js").then((e) => e.t),
|
|
76
|
+
kpiDelta: () => import("./chart-config-kpi-delta-DSQbvqu_.js").then((e) => e.t),
|
|
77
|
+
kpiText: () => import("./chart-config-kpi-text-KM3V5X2u.js").then((e) => e.t),
|
|
78
|
+
markdown: () => import("./chart-config-markdown-BtRIe8JN.js").then((e) => e.t),
|
|
79
|
+
funnel: () => import("./chart-config-funnel-DEYMcxsD.js").then((e) => e.t),
|
|
80
|
+
sankey: () => import("./chart-config-sankey-BTnWA7EW.js").then((e) => e.t),
|
|
81
|
+
sunburst: () => import("./chart-config-sunburst-Bwjtdf7X.js").then((e) => e.t),
|
|
82
|
+
heatmap: () => import("./chart-config-heat-map-CfRnRNcw.js").then((e) => e.t),
|
|
83
|
+
retentionHeatmap: () => Promise.resolve().then(() => so),
|
|
84
|
+
retentionCombined: () => Promise.resolve().then(() => lo),
|
|
85
|
+
boxPlot: () => import("./chart-config-box-plot-oW8axV2q.js").then((e) => e.t),
|
|
86
|
+
waterfall: () => import("./chart-config-waterfall-DmFeQdIk.js").then((e) => e.t),
|
|
87
|
+
candlestick: () => import("./chart-config-candlestick-N6DchAA3.js").then((e) => e.t),
|
|
88
|
+
measureProfile: () => import("./chart-config-measure-profile-DxRGa-zf.js").then((e) => e.t),
|
|
89
|
+
gauge: () => import("./chart-config-gauge-Dq-_H9UN.js").then((e) => e.t)
|
|
90
|
+
}, xe = {
|
|
91
|
+
bar: "barChartConfig",
|
|
92
|
+
line: "lineChartConfig",
|
|
93
|
+
area: "areaChartConfig",
|
|
94
|
+
pie: "pieChartConfig",
|
|
95
|
+
scatter: "scatterChartConfig",
|
|
96
|
+
radar: "radarChartConfig",
|
|
97
|
+
radialBar: "radialBarChartConfig",
|
|
98
|
+
treemap: "treemapChartConfig",
|
|
99
|
+
bubble: "bubbleChartConfig",
|
|
100
|
+
table: "dataTableConfig",
|
|
101
|
+
activityGrid: "activityGridChartConfig",
|
|
102
|
+
kpiNumber: "kpiNumberConfig",
|
|
103
|
+
kpiDelta: "kpiDeltaConfig",
|
|
104
|
+
kpiText: "kpiTextConfig",
|
|
105
|
+
markdown: "markdownConfig",
|
|
106
|
+
funnel: "funnelChartConfig",
|
|
107
|
+
sankey: "sankeyChartConfig",
|
|
108
|
+
sunburst: "sunburstChartConfig",
|
|
109
|
+
heatmap: "heatmapChartConfig",
|
|
110
|
+
retentionHeatmap: "retentionHeatmapConfig",
|
|
111
|
+
retentionCombined: "retentionCombinedConfig",
|
|
112
|
+
boxPlot: "boxPlotChartConfig",
|
|
113
|
+
waterfall: "waterfallChartConfig",
|
|
114
|
+
candlestick: "candlestickChartConfig",
|
|
115
|
+
measureProfile: "measureProfileChartConfig",
|
|
116
|
+
gauge: "gaugeChartConfig"
|
|
117
|
+
}, O = /* @__PURE__ */ new Map();
|
|
118
|
+
async function Se(e) {
|
|
119
|
+
if (O.has(e)) return O.get(e);
|
|
120
|
+
let t = be[e];
|
|
121
|
+
if (!t) return null;
|
|
122
|
+
try {
|
|
123
|
+
let n = (await t())[xe[e]];
|
|
124
|
+
return n ? (O.set(e, n), n) : null;
|
|
125
|
+
} catch (t) {
|
|
126
|
+
return console.error(`Failed to load config for chart type: ${e}`, t), null;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
function Ce(e) {
|
|
130
|
+
return O.get(e) || ye;
|
|
131
|
+
}
|
|
132
|
+
function we(e) {
|
|
133
|
+
return O.has(e);
|
|
134
|
+
}
|
|
135
|
+
function Te(e) {
|
|
136
|
+
let [t, n] = T(e ? Ce(e) : ye), [r, i] = T(!1), [a, o] = T(!1);
|
|
137
|
+
return C(() => {
|
|
138
|
+
if (!e) {
|
|
139
|
+
n(ye), o(!1);
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
if (O.has(e)) {
|
|
143
|
+
n(O.get(e)), o(!0);
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
i(!0), Se(e).then((e) => {
|
|
147
|
+
e ? (n(e), o(!0)) : (n(ye), o(!0));
|
|
148
|
+
}).finally(() => i(!1));
|
|
149
|
+
}, [e]), {
|
|
150
|
+
config: t,
|
|
151
|
+
loading: r,
|
|
152
|
+
loaded: a
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
async function Ee(e) {
|
|
156
|
+
O.has(e) || await Se(e);
|
|
157
|
+
}
|
|
158
|
+
async function De(e) {
|
|
159
|
+
await Promise.all(e.map(Ee));
|
|
160
|
+
}
|
|
161
|
+
async function Oe() {
|
|
162
|
+
let e = Object.keys(be);
|
|
163
|
+
await Promise.all(e.map(Se));
|
|
164
|
+
let t = {};
|
|
165
|
+
for (let n of e) {
|
|
166
|
+
let e = O.get(n);
|
|
167
|
+
e && (t[n] = e);
|
|
168
|
+
}
|
|
169
|
+
return t;
|
|
170
|
+
}
|
|
171
|
+
function ke() {
|
|
172
|
+
O.clear();
|
|
173
|
+
}
|
|
174
|
+
function Ae(e, t) {
|
|
175
|
+
O.set(e, t);
|
|
176
|
+
}
|
|
177
|
+
function je(e) {
|
|
178
|
+
O.delete(e);
|
|
179
|
+
}
|
|
180
|
+
//#endregion
|
|
30
181
|
//#region node_modules/@tanstack/query-core/build/modern/subscribable.js
|
|
31
|
-
var
|
|
182
|
+
var k = class {
|
|
32
183
|
constructor() {
|
|
33
184
|
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
|
|
34
185
|
}
|
|
@@ -42,7 +193,7 @@ var D = class {
|
|
|
42
193
|
}
|
|
43
194
|
onSubscribe() {}
|
|
44
195
|
onUnsubscribe() {}
|
|
45
|
-
},
|
|
196
|
+
}, Me = new class extends k {
|
|
46
197
|
#e;
|
|
47
198
|
#t;
|
|
48
199
|
#n;
|
|
@@ -79,13 +230,13 @@ var D = class {
|
|
|
79
230
|
isFocused() {
|
|
80
231
|
return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
|
|
81
232
|
}
|
|
82
|
-
}(),
|
|
233
|
+
}(), Ne = {
|
|
83
234
|
setTimeout: (e, t) => setTimeout(e, t),
|
|
84
235
|
clearTimeout: (e) => clearTimeout(e),
|
|
85
236
|
setInterval: (e, t) => setInterval(e, t),
|
|
86
237
|
clearInterval: (e) => clearInterval(e)
|
|
87
|
-
},
|
|
88
|
-
#e =
|
|
238
|
+
}, A = new class {
|
|
239
|
+
#e = Ne;
|
|
89
240
|
#t = !1;
|
|
90
241
|
setTimeoutProvider(e) {
|
|
91
242
|
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.", {
|
|
@@ -106,34 +257,34 @@ var D = class {
|
|
|
106
257
|
this.#e.clearInterval(e);
|
|
107
258
|
}
|
|
108
259
|
}();
|
|
109
|
-
function
|
|
260
|
+
function Pe(e) {
|
|
110
261
|
setTimeout(e, 0);
|
|
111
262
|
}
|
|
112
263
|
//#endregion
|
|
113
264
|
//#region node_modules/@tanstack/query-core/build/modern/utils.js
|
|
114
|
-
var
|
|
115
|
-
function
|
|
116
|
-
function
|
|
265
|
+
var Fe = typeof window > "u" || "Deno" in globalThis;
|
|
266
|
+
function j() {}
|
|
267
|
+
function Ie(e, t) {
|
|
117
268
|
return typeof e == "function" ? e(t) : e;
|
|
118
269
|
}
|
|
119
|
-
function
|
|
270
|
+
function Le(e) {
|
|
120
271
|
return typeof e == "number" && e >= 0 && e !== Infinity;
|
|
121
272
|
}
|
|
122
|
-
function
|
|
273
|
+
function Re(e, t) {
|
|
123
274
|
return Math.max(e + (t || 0) - Date.now(), 0);
|
|
124
275
|
}
|
|
125
|
-
function
|
|
276
|
+
function M(e, t) {
|
|
126
277
|
return typeof e == "function" ? e(t) : e;
|
|
127
278
|
}
|
|
128
|
-
function
|
|
279
|
+
function N(e, t) {
|
|
129
280
|
return typeof e == "function" ? e(t) : e;
|
|
130
281
|
}
|
|
131
|
-
function
|
|
282
|
+
function ze(e, t) {
|
|
132
283
|
let { type: n = "all", exact: r, fetchStatus: i, predicate: a, queryKey: o, stale: s } = e;
|
|
133
284
|
if (o) {
|
|
134
285
|
if (r) {
|
|
135
|
-
if (t.queryHash !==
|
|
136
|
-
} else if (!
|
|
286
|
+
if (t.queryHash !== Ve(o, t.options)) return !1;
|
|
287
|
+
} else if (!F(t.queryKey, o)) return !1;
|
|
137
288
|
}
|
|
138
289
|
if (n !== "all") {
|
|
139
290
|
let e = t.isActive();
|
|
@@ -141,98 +292,98 @@ function Oe(e, t) {
|
|
|
141
292
|
}
|
|
142
293
|
return !(typeof s == "boolean" && t.isStale() !== s || i && i !== t.state.fetchStatus || a && !a(t));
|
|
143
294
|
}
|
|
144
|
-
function
|
|
295
|
+
function Be(e, t) {
|
|
145
296
|
let { exact: n, status: r, predicate: i, mutationKey: a } = e;
|
|
146
297
|
if (a) {
|
|
147
298
|
if (!t.options.mutationKey) return !1;
|
|
148
299
|
if (n) {
|
|
149
|
-
if (
|
|
150
|
-
} else if (!
|
|
300
|
+
if (P(t.options.mutationKey) !== P(a)) return !1;
|
|
301
|
+
} else if (!F(t.options.mutationKey, a)) return !1;
|
|
151
302
|
}
|
|
152
303
|
return !(r && t.state.status !== r || i && !i(t));
|
|
153
304
|
}
|
|
154
|
-
function
|
|
155
|
-
return (t?.queryKeyHashFn ||
|
|
305
|
+
function Ve(e, t) {
|
|
306
|
+
return (t?.queryKeyHashFn || P)(e);
|
|
156
307
|
}
|
|
157
|
-
function
|
|
158
|
-
return JSON.stringify(e, (e, t) =>
|
|
308
|
+
function P(e) {
|
|
309
|
+
return JSON.stringify(e, (e, t) => Ge(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
|
|
159
310
|
}
|
|
160
|
-
function
|
|
161
|
-
return e === t ? !0 : typeof e == typeof t && e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((n) =>
|
|
311
|
+
function F(e, t) {
|
|
312
|
+
return e === t ? !0 : typeof e == typeof t && e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((n) => F(e[n], t[n])) : !1;
|
|
162
313
|
}
|
|
163
|
-
var
|
|
164
|
-
function
|
|
314
|
+
var He = Object.prototype.hasOwnProperty;
|
|
315
|
+
function Ue(e, t, n = 0) {
|
|
165
316
|
if (e === t) return e;
|
|
166
317
|
if (n > 500) return t;
|
|
167
|
-
let r =
|
|
168
|
-
if (!r && !(
|
|
318
|
+
let r = We(e) && We(t);
|
|
319
|
+
if (!r && !(Ge(e) && Ge(t))) return t;
|
|
169
320
|
let i = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), o = a.length, s = r ? Array(o) : {}, c = 0;
|
|
170
321
|
for (let l = 0; l < o; l++) {
|
|
171
322
|
let o = r ? l : a[l], u = e[o], d = t[o];
|
|
172
323
|
if (u === d) {
|
|
173
|
-
s[o] = u, (r ? l < i :
|
|
324
|
+
s[o] = u, (r ? l < i : He.call(e, o)) && c++;
|
|
174
325
|
continue;
|
|
175
326
|
}
|
|
176
327
|
if (u === null || d === null || typeof u != "object" || typeof d != "object") {
|
|
177
328
|
s[o] = d;
|
|
178
329
|
continue;
|
|
179
330
|
}
|
|
180
|
-
let f =
|
|
331
|
+
let f = Ue(u, d, n + 1);
|
|
181
332
|
s[o] = f, f === u && c++;
|
|
182
333
|
}
|
|
183
334
|
return i === o && c === i ? e : s;
|
|
184
335
|
}
|
|
185
|
-
function
|
|
336
|
+
function I(e, t) {
|
|
186
337
|
if (!t || Object.keys(e).length !== Object.keys(t).length) return !1;
|
|
187
338
|
for (let n in e) if (e[n] !== t[n]) return !1;
|
|
188
339
|
return !0;
|
|
189
340
|
}
|
|
190
|
-
function
|
|
341
|
+
function We(e) {
|
|
191
342
|
return Array.isArray(e) && e.length === Object.keys(e).length;
|
|
192
343
|
}
|
|
193
|
-
function
|
|
194
|
-
if (!
|
|
344
|
+
function Ge(e) {
|
|
345
|
+
if (!Ke(e)) return !1;
|
|
195
346
|
let t = e.constructor;
|
|
196
347
|
if (t === void 0) return !0;
|
|
197
348
|
let n = t.prototype;
|
|
198
|
-
return !(!
|
|
349
|
+
return !(!Ke(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
|
|
199
350
|
}
|
|
200
|
-
function
|
|
351
|
+
function Ke(e) {
|
|
201
352
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
202
353
|
}
|
|
203
|
-
function
|
|
354
|
+
function qe(e) {
|
|
204
355
|
return new Promise((t) => {
|
|
205
|
-
|
|
356
|
+
A.setTimeout(t, e);
|
|
206
357
|
});
|
|
207
358
|
}
|
|
208
|
-
function
|
|
359
|
+
function Je(e, t, n) {
|
|
209
360
|
if (typeof n.structuralSharing == "function") return n.structuralSharing(e, t);
|
|
210
361
|
if (n.structuralSharing !== !1) {
|
|
211
362
|
if (process.env.NODE_ENV !== "production") try {
|
|
212
|
-
return
|
|
363
|
+
return Ue(e, t);
|
|
213
364
|
} catch (e) {
|
|
214
365
|
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;
|
|
215
366
|
}
|
|
216
|
-
return
|
|
367
|
+
return Ue(e, t);
|
|
217
368
|
}
|
|
218
369
|
return t;
|
|
219
370
|
}
|
|
220
|
-
function
|
|
371
|
+
function Ye(e, t, n = 0) {
|
|
221
372
|
let r = [...e, t];
|
|
222
373
|
return n && r.length > n ? r.slice(1) : r;
|
|
223
374
|
}
|
|
224
|
-
function
|
|
375
|
+
function Xe(e, t, n = 0) {
|
|
225
376
|
let r = [t, ...e];
|
|
226
377
|
return n && r.length > n ? r.slice(0, -1) : r;
|
|
227
378
|
}
|
|
228
|
-
var
|
|
229
|
-
function
|
|
230
|
-
return process.env.NODE_ENV !== "production" && e.queryFn ===
|
|
379
|
+
var Ze = /* @__PURE__ */ Symbol();
|
|
380
|
+
function Qe(e, t) {
|
|
381
|
+
return process.env.NODE_ENV !== "production" && e.queryFn === Ze && 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 === Ze ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
|
|
231
382
|
}
|
|
232
|
-
function
|
|
383
|
+
function $e(e, t) {
|
|
233
384
|
return typeof e == "function" ? e(...t) : !!e;
|
|
234
385
|
}
|
|
235
|
-
function
|
|
386
|
+
function et(e, t, n) {
|
|
236
387
|
let r = !1, i;
|
|
237
388
|
return Object.defineProperty(e, "signal", {
|
|
238
389
|
enumerable: !0,
|
|
@@ -241,8 +392,8 @@ function Ue(e, t, n) {
|
|
|
241
392
|
}
|
|
242
393
|
//#endregion
|
|
243
394
|
//#region node_modules/@tanstack/query-core/build/modern/environmentManager.js
|
|
244
|
-
var
|
|
245
|
-
let e = () =>
|
|
395
|
+
var L = /* @__PURE__ */ (() => {
|
|
396
|
+
let e = () => Fe;
|
|
246
397
|
return {
|
|
247
398
|
isServer() {
|
|
248
399
|
return e();
|
|
@@ -254,7 +405,7 @@ var F = /* @__PURE__ */ (() => {
|
|
|
254
405
|
})();
|
|
255
406
|
//#endregion
|
|
256
407
|
//#region node_modules/@tanstack/query-core/build/modern/thenable.js
|
|
257
|
-
function
|
|
408
|
+
function tt() {
|
|
258
409
|
let e, t, n = new Promise((n, r) => {
|
|
259
410
|
e = n, t = r;
|
|
260
411
|
});
|
|
@@ -276,13 +427,13 @@ function We() {
|
|
|
276
427
|
}
|
|
277
428
|
//#endregion
|
|
278
429
|
//#region node_modules/@tanstack/query-core/build/modern/notifyManager.js
|
|
279
|
-
var
|
|
280
|
-
function
|
|
430
|
+
var nt = Pe;
|
|
431
|
+
function rt() {
|
|
281
432
|
let e = [], t = 0, n = (e) => {
|
|
282
433
|
e();
|
|
283
434
|
}, r = (e) => {
|
|
284
435
|
e();
|
|
285
|
-
}, i =
|
|
436
|
+
}, i = nt, a = (r) => {
|
|
286
437
|
t ? e.push(r) : i(() => {
|
|
287
438
|
n(r);
|
|
288
439
|
});
|
|
@@ -324,7 +475,7 @@ function Ke() {
|
|
|
324
475
|
}
|
|
325
476
|
};
|
|
326
477
|
}
|
|
327
|
-
var
|
|
478
|
+
var R = rt(), it = new class extends k {
|
|
328
479
|
#e = !0;
|
|
329
480
|
#t;
|
|
330
481
|
#n;
|
|
@@ -358,28 +509,28 @@ var I = Ke(), qe = new class extends D {
|
|
|
358
509
|
}();
|
|
359
510
|
//#endregion
|
|
360
511
|
//#region node_modules/@tanstack/query-core/build/modern/retryer.js
|
|
361
|
-
function
|
|
512
|
+
function at(e) {
|
|
362
513
|
return Math.min(1e3 * 2 ** e, 3e4);
|
|
363
514
|
}
|
|
364
|
-
function
|
|
365
|
-
return (e ?? "online") === "online" ?
|
|
515
|
+
function ot(e) {
|
|
516
|
+
return (e ?? "online") === "online" ? it.isOnline() : !0;
|
|
366
517
|
}
|
|
367
|
-
var
|
|
518
|
+
var st = class extends Error {
|
|
368
519
|
constructor(e) {
|
|
369
520
|
super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;
|
|
370
521
|
}
|
|
371
522
|
};
|
|
372
|
-
function
|
|
373
|
-
let t = !1, n = 0, r, i =
|
|
523
|
+
function ct(e) {
|
|
524
|
+
let t = !1, n = 0, r, i = tt(), a = () => i.status !== "pending", o = (t) => {
|
|
374
525
|
if (!a()) {
|
|
375
|
-
let n = new
|
|
526
|
+
let n = new st(t);
|
|
376
527
|
f(n), e.onCancel?.(n);
|
|
377
528
|
}
|
|
378
529
|
}, s = () => {
|
|
379
530
|
t = !0;
|
|
380
531
|
}, c = () => {
|
|
381
532
|
t = !1;
|
|
382
|
-
}, l = () =>
|
|
533
|
+
}, l = () => Me.isFocused() && (e.networkMode === "always" || it.isOnline()) && e.canRun(), u = () => ot(e.networkMode) && e.canRun(), d = (e) => {
|
|
383
534
|
a() || (r?.(), i.resolve(e));
|
|
384
535
|
}, f = (e) => {
|
|
385
536
|
a() || (r?.(), i.reject(e));
|
|
@@ -399,12 +550,12 @@ function Ze(e) {
|
|
|
399
550
|
}
|
|
400
551
|
Promise.resolve(r).then(d).catch((r) => {
|
|
401
552
|
if (a()) return;
|
|
402
|
-
let i = e.retry ?? (
|
|
553
|
+
let i = e.retry ?? (L.isServer() ? 0 : 3), o = e.retryDelay ?? at, s = typeof o == "function" ? o(n, r) : o, c = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);
|
|
403
554
|
if (t || !c) {
|
|
404
555
|
f(r);
|
|
405
556
|
return;
|
|
406
557
|
}
|
|
407
|
-
n++, e.onFail?.(n, r),
|
|
558
|
+
n++, e.onFail?.(n, r), qe(s).then(() => l() ? void 0 : p()).then(() => {
|
|
408
559
|
t ? f(r) : m();
|
|
409
560
|
});
|
|
410
561
|
});
|
|
@@ -422,34 +573,34 @@ function Ze(e) {
|
|
|
422
573
|
}
|
|
423
574
|
//#endregion
|
|
424
575
|
//#region node_modules/@tanstack/query-core/build/modern/removable.js
|
|
425
|
-
var
|
|
576
|
+
var lt = class {
|
|
426
577
|
#e;
|
|
427
578
|
destroy() {
|
|
428
579
|
this.clearGcTimeout();
|
|
429
580
|
}
|
|
430
581
|
scheduleGc() {
|
|
431
|
-
this.clearGcTimeout(),
|
|
582
|
+
this.clearGcTimeout(), Le(this.gcTime) && (this.#e = A.setTimeout(() => {
|
|
432
583
|
this.optionalRemove();
|
|
433
584
|
}, this.gcTime));
|
|
434
585
|
}
|
|
435
586
|
updateGcTime(e) {
|
|
436
|
-
this.gcTime = Math.max(this.gcTime || 0, e ?? (
|
|
587
|
+
this.gcTime = Math.max(this.gcTime || 0, e ?? (L.isServer() ? Infinity : 300 * 1e3));
|
|
437
588
|
}
|
|
438
589
|
clearGcTimeout() {
|
|
439
|
-
this.#e !== void 0 && (
|
|
590
|
+
this.#e !== void 0 && (A.clearTimeout(this.#e), this.#e = void 0);
|
|
440
591
|
}
|
|
441
592
|
};
|
|
442
593
|
//#endregion
|
|
443
594
|
//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
|
|
444
|
-
function
|
|
595
|
+
function ut(e) {
|
|
445
596
|
return { onFetch: (t, n) => {
|
|
446
597
|
let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {
|
|
447
598
|
pages: [],
|
|
448
599
|
pageParams: []
|
|
449
600
|
}, c = 0, l = async () => {
|
|
450
601
|
let n = !1, l = (e) => {
|
|
451
|
-
|
|
452
|
-
}, u =
|
|
602
|
+
et(e, () => t.signal, () => n = !0);
|
|
603
|
+
}, u = Qe(t.options, t.fetchOptions), d = async (e, r, i) => {
|
|
453
604
|
if (n) return Promise.reject(t.signal.reason);
|
|
454
605
|
if (r == null && e.pages.length) return Promise.resolve(e);
|
|
455
606
|
let a = await u((() => {
|
|
@@ -461,14 +612,14 @@ function $e(e) {
|
|
|
461
612
|
meta: t.options.meta
|
|
462
613
|
};
|
|
463
614
|
return l(e), e;
|
|
464
|
-
})()), { maxPages: o } = t.options, s = i ?
|
|
615
|
+
})()), { maxPages: o } = t.options, s = i ? Xe : Ye;
|
|
465
616
|
return {
|
|
466
617
|
pages: s(e.pages, a, o),
|
|
467
618
|
pageParams: s(e.pageParams, r, o)
|
|
468
619
|
};
|
|
469
620
|
};
|
|
470
621
|
if (i && a.length) {
|
|
471
|
-
let e = i === "backward", t = e ?
|
|
622
|
+
let e = i === "backward", t = e ? ft : dt, n = {
|
|
472
623
|
pages: a,
|
|
473
624
|
pageParams: o
|
|
474
625
|
};
|
|
@@ -476,7 +627,7 @@ function $e(e) {
|
|
|
476
627
|
} else {
|
|
477
628
|
let t = e ?? a.length;
|
|
478
629
|
do {
|
|
479
|
-
let e = c === 0 ? o[0] ?? r.initialPageParam :
|
|
630
|
+
let e = c === 0 ? o[0] ?? r.initialPageParam : dt(r, s);
|
|
480
631
|
if (c > 0 && e == null) break;
|
|
481
632
|
s = await d(s, e), c++;
|
|
482
633
|
} while (c < t);
|
|
@@ -491,16 +642,16 @@ function $e(e) {
|
|
|
491
642
|
}, n) : t.fetchFn = l;
|
|
492
643
|
} };
|
|
493
644
|
}
|
|
494
|
-
function
|
|
645
|
+
function dt(e, { pages: t, pageParams: n }) {
|
|
495
646
|
let r = t.length - 1;
|
|
496
647
|
return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;
|
|
497
648
|
}
|
|
498
|
-
function
|
|
649
|
+
function ft(e, { pages: t, pageParams: n }) {
|
|
499
650
|
return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;
|
|
500
651
|
}
|
|
501
652
|
//#endregion
|
|
502
653
|
//#region node_modules/@tanstack/query-core/build/modern/query.js
|
|
503
|
-
var
|
|
654
|
+
var pt = class extends lt {
|
|
504
655
|
#e;
|
|
505
656
|
#t;
|
|
506
657
|
#n;
|
|
@@ -510,7 +661,7 @@ var nt = class extends Qe {
|
|
|
510
661
|
#o;
|
|
511
662
|
#s;
|
|
512
663
|
constructor(e) {
|
|
513
|
-
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 =
|
|
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 = gt(this.options), this.state = e.state ?? this.#t, this.scheduleGc();
|
|
514
665
|
}
|
|
515
666
|
get meta() {
|
|
516
667
|
return this.options.meta;
|
|
@@ -526,15 +677,15 @@ var nt = class extends Qe {
|
|
|
526
677
|
...this.#o,
|
|
527
678
|
...e
|
|
528
679
|
}, e?._type && (this.#e = e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
|
|
529
|
-
let e =
|
|
530
|
-
e.data !== void 0 && (this.setState(
|
|
680
|
+
let e = gt(this.options);
|
|
681
|
+
e.data !== void 0 && (this.setState(ht(e.data, e.dataUpdatedAt)), this.#t = e);
|
|
531
682
|
}
|
|
532
683
|
}
|
|
533
684
|
optionalRemove() {
|
|
534
685
|
!this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);
|
|
535
686
|
}
|
|
536
687
|
setData(e, t) {
|
|
537
|
-
let n =
|
|
688
|
+
let n = Je(this.state.data, e, this.options);
|
|
538
689
|
return this.#l({
|
|
539
690
|
data: n,
|
|
540
691
|
type: "success",
|
|
@@ -550,7 +701,7 @@ var nt = class extends Qe {
|
|
|
550
701
|
}
|
|
551
702
|
cancel(e) {
|
|
552
703
|
let t = this.#a?.promise;
|
|
553
|
-
return this.#a?.cancel(e), t ? t.then(
|
|
704
|
+
return this.#a?.cancel(e), t ? t.then(j).catch(j) : Promise.resolve();
|
|
554
705
|
}
|
|
555
706
|
destroy() {
|
|
556
707
|
super.destroy(), this.cancel({ silent: !0 });
|
|
@@ -562,22 +713,22 @@ var nt = class extends Qe {
|
|
|
562
713
|
this.destroy(), this.setState(this.resetState);
|
|
563
714
|
}
|
|
564
715
|
isActive() {
|
|
565
|
-
return this.observers.some((e) =>
|
|
716
|
+
return this.observers.some((e) => N(e.options.enabled, this) !== !1);
|
|
566
717
|
}
|
|
567
718
|
isDisabled() {
|
|
568
|
-
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn ===
|
|
719
|
+
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === Ze || !this.isFetched();
|
|
569
720
|
}
|
|
570
721
|
isFetched() {
|
|
571
722
|
return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
|
|
572
723
|
}
|
|
573
724
|
isStatic() {
|
|
574
|
-
return this.getObserversCount() > 0 ? this.observers.some((e) =>
|
|
725
|
+
return this.getObserversCount() > 0 ? this.observers.some((e) => M(e.options.staleTime, this) === "static") : !1;
|
|
575
726
|
}
|
|
576
727
|
isStale() {
|
|
577
728
|
return this.getObserversCount() > 0 ? this.observers.some((e) => e.getCurrentResult().isStale) : this.state.data === void 0 || this.state.isInvalidated;
|
|
578
729
|
}
|
|
579
730
|
isStaleByTime(e = 0) {
|
|
580
|
-
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !
|
|
731
|
+
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !Re(this.state.dataUpdatedAt, e);
|
|
581
732
|
}
|
|
582
733
|
onFocus() {
|
|
583
734
|
this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();
|
|
@@ -624,7 +775,7 @@ var nt = class extends Qe {
|
|
|
624
775
|
get: () => (this.#s = !0, n.signal)
|
|
625
776
|
});
|
|
626
777
|
}, i = () => {
|
|
627
|
-
let e =
|
|
778
|
+
let e = Qe(this.options, t), n = (() => {
|
|
628
779
|
let e = {
|
|
629
780
|
client: this.#i,
|
|
630
781
|
queryKey: this.queryKey,
|
|
@@ -644,14 +795,14 @@ var nt = class extends Qe {
|
|
|
644
795
|
};
|
|
645
796
|
return r(e), e;
|
|
646
797
|
})();
|
|
647
|
-
(this.#e === "infinite" ?
|
|
798
|
+
(this.#e === "infinite" ? ut(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({
|
|
648
799
|
type: "fetch",
|
|
649
800
|
meta: a.fetchOptions?.meta
|
|
650
|
-
}), this.#a =
|
|
801
|
+
}), this.#a = ct({
|
|
651
802
|
initialPromise: t?.initialPromise,
|
|
652
803
|
fn: a.fetchFn,
|
|
653
804
|
onCancel: (e) => {
|
|
654
|
-
e instanceof
|
|
805
|
+
e instanceof st && e.revert && this.setState({
|
|
655
806
|
...this.#n,
|
|
656
807
|
fetchStatus: "idle"
|
|
657
808
|
}), n.abort();
|
|
@@ -679,7 +830,7 @@ var nt = class extends Qe {
|
|
|
679
830
|
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`);
|
|
680
831
|
return this.setData(e), this.#r.config.onSuccess?.(e, this), this.#r.config.onSettled?.(e, this.state.error, this), e;
|
|
681
832
|
} catch (e) {
|
|
682
|
-
if (e instanceof
|
|
833
|
+
if (e instanceof st) {
|
|
683
834
|
if (e.silent) return this.#a.promise;
|
|
684
835
|
if (e.revert) {
|
|
685
836
|
if (this.state.data === void 0) throw e;
|
|
@@ -712,13 +863,13 @@ var nt = class extends Qe {
|
|
|
712
863
|
};
|
|
713
864
|
case "fetch": return {
|
|
714
865
|
...t,
|
|
715
|
-
...
|
|
866
|
+
...mt(t.data, this.options),
|
|
716
867
|
fetchMeta: e.meta ?? null
|
|
717
868
|
};
|
|
718
869
|
case "success":
|
|
719
870
|
let n = {
|
|
720
871
|
...t,
|
|
721
|
-
...
|
|
872
|
+
...ht(e.data, e.dataUpdatedAt),
|
|
722
873
|
dataUpdateCount: t.dataUpdateCount + 1,
|
|
723
874
|
...!e.manual && {
|
|
724
875
|
fetchStatus: "idle",
|
|
@@ -750,7 +901,7 @@ var nt = class extends Qe {
|
|
|
750
901
|
};
|
|
751
902
|
}
|
|
752
903
|
};
|
|
753
|
-
this.state = t(this.state),
|
|
904
|
+
this.state = t(this.state), R.batch(() => {
|
|
754
905
|
this.observers.forEach((e) => {
|
|
755
906
|
e.onQueryUpdate();
|
|
756
907
|
}), this.#r.notify({
|
|
@@ -761,18 +912,18 @@ var nt = class extends Qe {
|
|
|
761
912
|
});
|
|
762
913
|
}
|
|
763
914
|
};
|
|
764
|
-
function
|
|
915
|
+
function mt(e, t) {
|
|
765
916
|
return {
|
|
766
917
|
fetchFailureCount: 0,
|
|
767
918
|
fetchFailureReason: null,
|
|
768
|
-
fetchStatus:
|
|
919
|
+
fetchStatus: ot(t.networkMode) ? "fetching" : "paused",
|
|
769
920
|
...e === void 0 && {
|
|
770
921
|
error: null,
|
|
771
922
|
status: "pending"
|
|
772
923
|
}
|
|
773
924
|
};
|
|
774
925
|
}
|
|
775
|
-
function
|
|
926
|
+
function ht(e, t) {
|
|
776
927
|
return {
|
|
777
928
|
data: e,
|
|
778
929
|
dataUpdatedAt: t ?? Date.now(),
|
|
@@ -781,7 +932,7 @@ function it(e, t) {
|
|
|
781
932
|
status: "success"
|
|
782
933
|
};
|
|
783
934
|
}
|
|
784
|
-
function
|
|
935
|
+
function gt(e) {
|
|
785
936
|
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;
|
|
786
937
|
return {
|
|
787
938
|
data: t,
|
|
@@ -800,9 +951,9 @@ function at(e) {
|
|
|
800
951
|
}
|
|
801
952
|
//#endregion
|
|
802
953
|
//#region node_modules/@tanstack/query-core/build/modern/queryObserver.js
|
|
803
|
-
var
|
|
954
|
+
var _t = class extends k {
|
|
804
955
|
constructor(e, t) {
|
|
805
|
-
super(), this.options = t, this.#e = e, this.#s = null, this.#o =
|
|
956
|
+
super(), this.options = t, this.#e = e, this.#s = null, this.#o = tt(), this.bindMethods(), this.setOptions(t);
|
|
806
957
|
}
|
|
807
958
|
#e;
|
|
808
959
|
#t = void 0;
|
|
@@ -823,36 +974,36 @@ var ot = class extends D {
|
|
|
823
974
|
this.refetch = this.refetch.bind(this);
|
|
824
975
|
}
|
|
825
976
|
onSubscribe() {
|
|
826
|
-
this.listeners.size === 1 && (this.#t.addObserver(this),
|
|
977
|
+
this.listeners.size === 1 && (this.#t.addObserver(this), yt(this.#t, this.options) ? this.#h() : this.updateResult(), this.#y());
|
|
827
978
|
}
|
|
828
979
|
onUnsubscribe() {
|
|
829
980
|
this.hasListeners() || this.destroy();
|
|
830
981
|
}
|
|
831
982
|
shouldFetchOnReconnect() {
|
|
832
|
-
return
|
|
983
|
+
return bt(this.#t, this.options, this.options.refetchOnReconnect);
|
|
833
984
|
}
|
|
834
985
|
shouldFetchOnWindowFocus() {
|
|
835
|
-
return
|
|
986
|
+
return bt(this.#t, this.options, this.options.refetchOnWindowFocus);
|
|
836
987
|
}
|
|
837
988
|
destroy() {
|
|
838
989
|
this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);
|
|
839
990
|
}
|
|
840
991
|
setOptions(e) {
|
|
841
992
|
let t = this.options, n = this.#t;
|
|
842
|
-
if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof
|
|
843
|
-
this.#S(), this.#t.setOptions(this.options), t._defaulted && !
|
|
993
|
+
if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof N(this.options.enabled, this.#t) != "boolean") throw Error("Expected enabled to be a boolean or a callback that returns a boolean");
|
|
994
|
+
this.#S(), this.#t.setOptions(this.options), t._defaulted && !I(this.options, t) && this.#e.getQueryCache().notify({
|
|
844
995
|
type: "observerOptionsUpdated",
|
|
845
996
|
query: this.#t,
|
|
846
997
|
observer: this
|
|
847
998
|
});
|
|
848
999
|
let r = this.hasListeners();
|
|
849
|
-
r &&
|
|
1000
|
+
r && xt(this.#t, n, this.options, t) && this.#h(), this.updateResult(), r && (this.#t !== n || N(this.options.enabled, this.#t) !== N(t.enabled, this.#t) || M(this.options.staleTime, this.#t) !== M(t.staleTime, this.#t)) && this.#g();
|
|
850
1001
|
let i = this.#_();
|
|
851
|
-
r && (this.#t !== n ||
|
|
1002
|
+
r && (this.#t !== n || N(this.options.enabled, this.#t) !== N(t.enabled, this.#t) || i !== this.#p) && this.#v(i);
|
|
852
1003
|
}
|
|
853
1004
|
getOptimisticResult(e) {
|
|
854
1005
|
let t = this.#e.getQueryCache().build(this.#e, e), n = this.createResult(t, e);
|
|
855
|
-
return
|
|
1006
|
+
return Ct(this, n) && (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
|
|
856
1007
|
}
|
|
857
1008
|
getCurrentResult() {
|
|
858
1009
|
return this.#r;
|
|
@@ -882,14 +1033,14 @@ var ot = class extends D {
|
|
|
882
1033
|
#h(e) {
|
|
883
1034
|
this.#S();
|
|
884
1035
|
let t = this.#t.fetch(this.options, e);
|
|
885
|
-
return e?.throwOnError || (t = t.catch(
|
|
1036
|
+
return e?.throwOnError || (t = t.catch(j)), t;
|
|
886
1037
|
}
|
|
887
1038
|
#g() {
|
|
888
1039
|
this.#b();
|
|
889
|
-
let e =
|
|
890
|
-
if (
|
|
891
|
-
let t =
|
|
892
|
-
this.#d =
|
|
1040
|
+
let e = M(this.options.staleTime, this.#t);
|
|
1041
|
+
if (L.isServer() || this.#r.isStale || !Le(e)) return;
|
|
1042
|
+
let t = Re(this.#r.dataUpdatedAt, e) + 1;
|
|
1043
|
+
this.#d = A.setTimeout(() => {
|
|
893
1044
|
this.#r.isStale || this.updateResult();
|
|
894
1045
|
}, t);
|
|
895
1046
|
}
|
|
@@ -897,26 +1048,26 @@ var ot = class extends D {
|
|
|
897
1048
|
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.#t) : this.options.refetchInterval) ?? !1;
|
|
898
1049
|
}
|
|
899
1050
|
#v(e) {
|
|
900
|
-
this.#x(), this.#p = e, !(
|
|
901
|
-
(this.options.refetchIntervalInBackground ||
|
|
1051
|
+
this.#x(), this.#p = e, !(L.isServer() || N(this.options.enabled, this.#t) === !1 || !Le(this.#p) || this.#p === 0) && (this.#f = A.setInterval(() => {
|
|
1052
|
+
(this.options.refetchIntervalInBackground || Me.isFocused()) && this.#h();
|
|
902
1053
|
}, this.#p));
|
|
903
1054
|
}
|
|
904
1055
|
#y() {
|
|
905
1056
|
this.#g(), this.#v(this.#_());
|
|
906
1057
|
}
|
|
907
1058
|
#b() {
|
|
908
|
-
this.#d !== void 0 && (
|
|
1059
|
+
this.#d !== void 0 && (A.clearTimeout(this.#d), this.#d = void 0);
|
|
909
1060
|
}
|
|
910
1061
|
#x() {
|
|
911
|
-
this.#f !== void 0 && (
|
|
1062
|
+
this.#f !== void 0 && (A.clearInterval(this.#f), this.#f = void 0);
|
|
912
1063
|
}
|
|
913
1064
|
createResult(e, t) {
|
|
914
1065
|
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;
|
|
915
1066
|
if (t._optimisticResults) {
|
|
916
|
-
let i = this.hasListeners(), a = !i &&
|
|
1067
|
+
let i = this.hasListeners(), a = !i && yt(e, t), o = i && xt(e, n, t, r);
|
|
917
1068
|
(a || o) && (l = {
|
|
918
1069
|
...l,
|
|
919
|
-
...
|
|
1070
|
+
...mt(c.data, e.options)
|
|
920
1071
|
}), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");
|
|
921
1072
|
}
|
|
922
1073
|
let { error: f, errorUpdatedAt: p, status: m } = l;
|
|
@@ -924,11 +1075,11 @@ var ot = class extends D {
|
|
|
924
1075
|
let h = !1;
|
|
925
1076
|
if (t.placeholderData !== void 0 && d === void 0 && m === "pending") {
|
|
926
1077
|
let e;
|
|
927
|
-
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 =
|
|
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 = Je(i?.data, e, t), u = !0);
|
|
928
1079
|
}
|
|
929
1080
|
if (t.select && d !== void 0 && !h) if (i && d === a?.data && t.select === this.#c) d = this.#l;
|
|
930
1081
|
else try {
|
|
931
|
-
this.#c = t.select, d = t.select(d), d =
|
|
1082
|
+
this.#c = t.select, d = t.select(d), d = Je(i?.data, d, t), this.#l = d, this.#s = null;
|
|
932
1083
|
} catch (e) {
|
|
933
1084
|
this.#s = e;
|
|
934
1085
|
}
|
|
@@ -956,16 +1107,16 @@ var ot = class extends D {
|
|
|
956
1107
|
isPaused: l.fetchStatus === "paused",
|
|
957
1108
|
isPlaceholderData: u,
|
|
958
1109
|
isRefetchError: v && y,
|
|
959
|
-
isStale:
|
|
1110
|
+
isStale: St(e, t),
|
|
960
1111
|
refetch: this.refetch,
|
|
961
1112
|
promise: this.#o,
|
|
962
|
-
isEnabled:
|
|
1113
|
+
isEnabled: N(t.enabled, e) !== !1
|
|
963
1114
|
};
|
|
964
1115
|
if (this.options.experimental_prefetchInRender) {
|
|
965
1116
|
let t = b.data !== void 0, r = b.status === "error" && !t, i = (e) => {
|
|
966
1117
|
r ? e.reject(b.error) : t && e.resolve(b.data);
|
|
967
1118
|
}, a = () => {
|
|
968
|
-
i(this.#o = b.promise =
|
|
1119
|
+
i(this.#o = b.promise = tt());
|
|
969
1120
|
}, o = this.#o;
|
|
970
1121
|
switch (o.status) {
|
|
971
1122
|
case "pending":
|
|
@@ -983,7 +1134,7 @@ var ot = class extends D {
|
|
|
983
1134
|
}
|
|
984
1135
|
updateResult() {
|
|
985
1136
|
let e = this.#r, t = this.createResult(this.#t, this.options);
|
|
986
|
-
this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#u = this.#t), !
|
|
1137
|
+
this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#u = this.#t), !I(t, e) && (this.#r = t, this.#C({ listeners: (() => {
|
|
987
1138
|
if (!e) return !0;
|
|
988
1139
|
let { notifyOnChangeProps: t } = this.options, n = typeof t == "function" ? t() : t;
|
|
989
1140
|
if (n === "all" || !n && !this.#m.size) return !0;
|
|
@@ -1004,7 +1155,7 @@ var ot = class extends D {
|
|
|
1004
1155
|
this.updateResult(), this.hasListeners() && this.#y();
|
|
1005
1156
|
}
|
|
1006
1157
|
#C(e) {
|
|
1007
|
-
|
|
1158
|
+
R.batch(() => {
|
|
1008
1159
|
e.listeners && this.listeners.forEach((e) => {
|
|
1009
1160
|
e(this.#r);
|
|
1010
1161
|
}), this.#e.getQueryCache().notify({
|
|
@@ -1014,37 +1165,37 @@ var ot = class extends D {
|
|
|
1014
1165
|
});
|
|
1015
1166
|
}
|
|
1016
1167
|
};
|
|
1017
|
-
function
|
|
1018
|
-
return
|
|
1168
|
+
function vt(e, t) {
|
|
1169
|
+
return N(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && N(t.retryOnMount, e) === !1);
|
|
1019
1170
|
}
|
|
1020
|
-
function
|
|
1021
|
-
return
|
|
1171
|
+
function yt(e, t) {
|
|
1172
|
+
return vt(e, t) || e.state.data !== void 0 && bt(e, t, t.refetchOnMount);
|
|
1022
1173
|
}
|
|
1023
|
-
function
|
|
1024
|
-
if (
|
|
1174
|
+
function bt(e, t, n) {
|
|
1175
|
+
if (N(t.enabled, e) !== !1 && M(t.staleTime, e) !== "static") {
|
|
1025
1176
|
let r = typeof n == "function" ? n(e) : n;
|
|
1026
|
-
return r === "always" || r !== !1 &&
|
|
1177
|
+
return r === "always" || r !== !1 && St(e, t);
|
|
1027
1178
|
}
|
|
1028
1179
|
return !1;
|
|
1029
1180
|
}
|
|
1030
|
-
function
|
|
1031
|
-
return (e !== t ||
|
|
1181
|
+
function xt(e, t, n, r) {
|
|
1182
|
+
return (e !== t || N(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && St(e, n);
|
|
1032
1183
|
}
|
|
1033
|
-
function
|
|
1034
|
-
return
|
|
1184
|
+
function St(e, t) {
|
|
1185
|
+
return N(t.enabled, e) !== !1 && e.isStaleByTime(M(t.staleTime, e));
|
|
1035
1186
|
}
|
|
1036
|
-
function
|
|
1037
|
-
return !
|
|
1187
|
+
function Ct(e, t) {
|
|
1188
|
+
return !I(e.getCurrentResult(), t);
|
|
1038
1189
|
}
|
|
1039
1190
|
//#endregion
|
|
1040
1191
|
//#region node_modules/@tanstack/query-core/build/modern/mutation.js
|
|
1041
|
-
var
|
|
1192
|
+
var wt = class extends lt {
|
|
1042
1193
|
#e;
|
|
1043
1194
|
#t;
|
|
1044
1195
|
#n;
|
|
1045
1196
|
#r;
|
|
1046
1197
|
constructor(e) {
|
|
1047
|
-
super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state ||
|
|
1198
|
+
super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || Tt(), this.setOptions(e.options), this.scheduleGc();
|
|
1048
1199
|
}
|
|
1049
1200
|
setOptions(e) {
|
|
1050
1201
|
this.options = e, this.updateGcTime(this.options.gcTime);
|
|
@@ -1080,7 +1231,7 @@ var pt = class extends Qe {
|
|
|
1080
1231
|
meta: this.options.meta,
|
|
1081
1232
|
mutationKey: this.options.mutationKey
|
|
1082
1233
|
};
|
|
1083
|
-
this.#r =
|
|
1234
|
+
this.#r = ct({
|
|
1084
1235
|
fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),
|
|
1085
1236
|
onFail: (e, t) => {
|
|
1086
1237
|
this.#i({
|
|
@@ -1197,7 +1348,7 @@ var pt = class extends Qe {
|
|
|
1197
1348
|
};
|
|
1198
1349
|
}
|
|
1199
1350
|
};
|
|
1200
|
-
this.state = t(this.state),
|
|
1351
|
+
this.state = t(this.state), R.batch(() => {
|
|
1201
1352
|
this.#t.forEach((t) => {
|
|
1202
1353
|
t.onMutationUpdate(e);
|
|
1203
1354
|
}), this.#n.notify({
|
|
@@ -1208,7 +1359,7 @@ var pt = class extends Qe {
|
|
|
1208
1359
|
});
|
|
1209
1360
|
}
|
|
1210
1361
|
};
|
|
1211
|
-
function
|
|
1362
|
+
function Tt() {
|
|
1212
1363
|
return {
|
|
1213
1364
|
context: void 0,
|
|
1214
1365
|
data: void 0,
|
|
@@ -1223,7 +1374,7 @@ function mt() {
|
|
|
1223
1374
|
}
|
|
1224
1375
|
//#endregion
|
|
1225
1376
|
//#region node_modules/@tanstack/query-core/build/modern/mutationCache.js
|
|
1226
|
-
var
|
|
1377
|
+
var Et = class extends k {
|
|
1227
1378
|
constructor(e = {}) {
|
|
1228
1379
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;
|
|
1229
1380
|
}
|
|
@@ -1231,7 +1382,7 @@ var ht = class extends D {
|
|
|
1231
1382
|
#t;
|
|
1232
1383
|
#n;
|
|
1233
1384
|
build(e, t, n) {
|
|
1234
|
-
let r = new
|
|
1385
|
+
let r = new wt({
|
|
1235
1386
|
client: e,
|
|
1236
1387
|
mutationCache: this,
|
|
1237
1388
|
mutationId: ++this.#n,
|
|
@@ -1242,7 +1393,7 @@ var ht = class extends D {
|
|
|
1242
1393
|
}
|
|
1243
1394
|
add(e) {
|
|
1244
1395
|
this.#e.add(e);
|
|
1245
|
-
let t =
|
|
1396
|
+
let t = Dt(e);
|
|
1246
1397
|
if (typeof t == "string") {
|
|
1247
1398
|
let n = this.#t.get(t);
|
|
1248
1399
|
n ? n.push(e) : this.#t.set(t, [e]);
|
|
@@ -1254,7 +1405,7 @@ var ht = class extends D {
|
|
|
1254
1405
|
}
|
|
1255
1406
|
remove(e) {
|
|
1256
1407
|
if (this.#e.delete(e)) {
|
|
1257
|
-
let t =
|
|
1408
|
+
let t = Dt(e);
|
|
1258
1409
|
if (typeof t == "string") {
|
|
1259
1410
|
let n = this.#t.get(t);
|
|
1260
1411
|
if (n) if (n.length > 1) {
|
|
@@ -1269,18 +1420,18 @@ var ht = class extends D {
|
|
|
1269
1420
|
});
|
|
1270
1421
|
}
|
|
1271
1422
|
canRun(e) {
|
|
1272
|
-
let t =
|
|
1423
|
+
let t = Dt(e);
|
|
1273
1424
|
if (typeof t == "string") {
|
|
1274
1425
|
let n = this.#t.get(t)?.find((e) => e.state.status === "pending");
|
|
1275
1426
|
return !n || n === e;
|
|
1276
1427
|
} else return !0;
|
|
1277
1428
|
}
|
|
1278
1429
|
runNext(e) {
|
|
1279
|
-
let t =
|
|
1430
|
+
let t = Dt(e);
|
|
1280
1431
|
return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();
|
|
1281
1432
|
}
|
|
1282
1433
|
clear() {
|
|
1283
|
-
|
|
1434
|
+
R.batch(() => {
|
|
1284
1435
|
this.#e.forEach((e) => {
|
|
1285
1436
|
this.notify({
|
|
1286
1437
|
type: "removed",
|
|
@@ -1297,13 +1448,13 @@ var ht = class extends D {
|
|
|
1297
1448
|
exact: !0,
|
|
1298
1449
|
...e
|
|
1299
1450
|
};
|
|
1300
|
-
return this.getAll().find((e) =>
|
|
1451
|
+
return this.getAll().find((e) => Be(t, e));
|
|
1301
1452
|
}
|
|
1302
1453
|
findAll(e = {}) {
|
|
1303
|
-
return this.getAll().filter((t) =>
|
|
1454
|
+
return this.getAll().filter((t) => Be(e, t));
|
|
1304
1455
|
}
|
|
1305
1456
|
notify(e) {
|
|
1306
|
-
|
|
1457
|
+
R.batch(() => {
|
|
1307
1458
|
this.listeners.forEach((t) => {
|
|
1308
1459
|
t(e);
|
|
1309
1460
|
});
|
|
@@ -1311,22 +1462,22 @@ var ht = class extends D {
|
|
|
1311
1462
|
}
|
|
1312
1463
|
resumePausedMutations() {
|
|
1313
1464
|
let e = this.getAll().filter((e) => e.state.isPaused);
|
|
1314
|
-
return
|
|
1465
|
+
return R.batch(() => Promise.all(e.map((e) => e.continue().catch(j))));
|
|
1315
1466
|
}
|
|
1316
1467
|
};
|
|
1317
|
-
function
|
|
1468
|
+
function Dt(e) {
|
|
1318
1469
|
return e.options.scope?.id;
|
|
1319
1470
|
}
|
|
1320
1471
|
//#endregion
|
|
1321
1472
|
//#region node_modules/@tanstack/query-core/build/modern/queryCache.js
|
|
1322
|
-
var
|
|
1473
|
+
var Ot = class extends k {
|
|
1323
1474
|
constructor(e = {}) {
|
|
1324
1475
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
|
|
1325
1476
|
}
|
|
1326
1477
|
#e;
|
|
1327
1478
|
build(e, t, n) {
|
|
1328
|
-
let r = t.queryKey, i = t.queryHash ??
|
|
1329
|
-
return a || (a = new
|
|
1479
|
+
let r = t.queryKey, i = t.queryHash ?? Ve(r, t), a = this.get(i);
|
|
1480
|
+
return a || (a = new pt({
|
|
1330
1481
|
client: e,
|
|
1331
1482
|
queryKey: r,
|
|
1332
1483
|
queryHash: i,
|
|
@@ -1349,7 +1500,7 @@ var _t = class extends D {
|
|
|
1349
1500
|
}));
|
|
1350
1501
|
}
|
|
1351
1502
|
clear() {
|
|
1352
|
-
|
|
1503
|
+
R.batch(() => {
|
|
1353
1504
|
this.getAll().forEach((e) => {
|
|
1354
1505
|
this.remove(e);
|
|
1355
1506
|
});
|
|
@@ -1366,34 +1517,34 @@ var _t = class extends D {
|
|
|
1366
1517
|
exact: !0,
|
|
1367
1518
|
...e
|
|
1368
1519
|
};
|
|
1369
|
-
return this.getAll().find((e) =>
|
|
1520
|
+
return this.getAll().find((e) => ze(t, e));
|
|
1370
1521
|
}
|
|
1371
1522
|
findAll(e = {}) {
|
|
1372
1523
|
let t = this.getAll();
|
|
1373
|
-
return Object.keys(e).length > 0 ? t.filter((t) =>
|
|
1524
|
+
return Object.keys(e).length > 0 ? t.filter((t) => ze(e, t)) : t;
|
|
1374
1525
|
}
|
|
1375
1526
|
notify(e) {
|
|
1376
|
-
|
|
1527
|
+
R.batch(() => {
|
|
1377
1528
|
this.listeners.forEach((t) => {
|
|
1378
1529
|
t(e);
|
|
1379
1530
|
});
|
|
1380
1531
|
});
|
|
1381
1532
|
}
|
|
1382
1533
|
onFocus() {
|
|
1383
|
-
|
|
1534
|
+
R.batch(() => {
|
|
1384
1535
|
this.getAll().forEach((e) => {
|
|
1385
1536
|
e.onFocus();
|
|
1386
1537
|
});
|
|
1387
1538
|
});
|
|
1388
1539
|
}
|
|
1389
1540
|
onOnline() {
|
|
1390
|
-
|
|
1541
|
+
R.batch(() => {
|
|
1391
1542
|
this.getAll().forEach((e) => {
|
|
1392
1543
|
e.onOnline();
|
|
1393
1544
|
});
|
|
1394
1545
|
});
|
|
1395
1546
|
}
|
|
1396
|
-
},
|
|
1547
|
+
}, kt = class {
|
|
1397
1548
|
#e;
|
|
1398
1549
|
#t;
|
|
1399
1550
|
#n;
|
|
@@ -1403,12 +1554,12 @@ var _t = class extends D {
|
|
|
1403
1554
|
#o;
|
|
1404
1555
|
#s;
|
|
1405
1556
|
constructor(e = {}) {
|
|
1406
|
-
this.#e = e.queryCache || new
|
|
1557
|
+
this.#e = e.queryCache || new Ot(), this.#t = e.mutationCache || new Et(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
|
|
1407
1558
|
}
|
|
1408
1559
|
mount() {
|
|
1409
|
-
this.#a++, this.#a === 1 && (this.#o =
|
|
1560
|
+
this.#a++, this.#a === 1 && (this.#o = Me.subscribe(async (e) => {
|
|
1410
1561
|
e && (await this.resumePausedMutations(), this.#e.onFocus());
|
|
1411
|
-
}), this.#s =
|
|
1562
|
+
}), this.#s = it.subscribe(async (e) => {
|
|
1412
1563
|
e && (await this.resumePausedMutations(), this.#e.onOnline());
|
|
1413
1564
|
}));
|
|
1414
1565
|
}
|
|
@@ -1433,20 +1584,20 @@ var _t = class extends D {
|
|
|
1433
1584
|
}
|
|
1434
1585
|
ensureQueryData(e) {
|
|
1435
1586
|
let t = this.defaultQueryOptions(e), n = this.#e.build(this, t), r = n.state.data;
|
|
1436
|
-
return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(
|
|
1587
|
+
return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(M(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
|
|
1437
1588
|
}
|
|
1438
1589
|
getQueriesData(e) {
|
|
1439
1590
|
return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);
|
|
1440
1591
|
}
|
|
1441
1592
|
setQueryData(e, t, n) {
|
|
1442
|
-
let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a =
|
|
1593
|
+
let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = Ie(t, i);
|
|
1443
1594
|
if (a !== void 0) return this.#e.build(this, r).setData(a, {
|
|
1444
1595
|
...n,
|
|
1445
1596
|
manual: !0
|
|
1446
1597
|
});
|
|
1447
1598
|
}
|
|
1448
1599
|
setQueriesData(e, t, n) {
|
|
1449
|
-
return
|
|
1600
|
+
return R.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
|
|
1450
1601
|
}
|
|
1451
1602
|
getQueryState(e) {
|
|
1452
1603
|
let t = this.defaultQueryOptions({ queryKey: e });
|
|
@@ -1454,7 +1605,7 @@ var _t = class extends D {
|
|
|
1454
1605
|
}
|
|
1455
1606
|
removeQueries(e) {
|
|
1456
1607
|
let t = this.#e;
|
|
1457
|
-
|
|
1608
|
+
R.batch(() => {
|
|
1458
1609
|
t.findAll(e).forEach((e) => {
|
|
1459
1610
|
t.remove(e);
|
|
1460
1611
|
});
|
|
@@ -1462,7 +1613,7 @@ var _t = class extends D {
|
|
|
1462
1613
|
}
|
|
1463
1614
|
resetQueries(e, t) {
|
|
1464
1615
|
let n = this.#e;
|
|
1465
|
-
return
|
|
1616
|
+
return R.batch(() => (n.findAll(e).forEach((e) => {
|
|
1466
1617
|
e.reset();
|
|
1467
1618
|
}), this.refetchQueries({
|
|
1468
1619
|
type: "active",
|
|
@@ -1473,11 +1624,11 @@ var _t = class extends D {
|
|
|
1473
1624
|
let n = {
|
|
1474
1625
|
revert: !0,
|
|
1475
1626
|
...t
|
|
1476
|
-
}, r =
|
|
1477
|
-
return Promise.all(r).then(
|
|
1627
|
+
}, r = R.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
|
|
1628
|
+
return Promise.all(r).then(j).catch(j);
|
|
1478
1629
|
}
|
|
1479
1630
|
invalidateQueries(e, t = {}) {
|
|
1480
|
-
return
|
|
1631
|
+
return R.batch(() => (this.#e.findAll(e).forEach((e) => {
|
|
1481
1632
|
e.invalidate();
|
|
1482
1633
|
}), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({
|
|
1483
1634
|
...e,
|
|
@@ -1488,32 +1639,32 @@ var _t = class extends D {
|
|
|
1488
1639
|
let n = {
|
|
1489
1640
|
...t,
|
|
1490
1641
|
cancelRefetch: t.cancelRefetch ?? !0
|
|
1491
|
-
}, r =
|
|
1642
|
+
}, r = R.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
|
|
1492
1643
|
let t = e.fetch(void 0, n);
|
|
1493
|
-
return n.throwOnError || (t = t.catch(
|
|
1644
|
+
return n.throwOnError || (t = t.catch(j)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
|
|
1494
1645
|
}));
|
|
1495
|
-
return Promise.all(r).then(
|
|
1646
|
+
return Promise.all(r).then(j);
|
|
1496
1647
|
}
|
|
1497
1648
|
fetchQuery(e) {
|
|
1498
1649
|
let t = this.defaultQueryOptions(e);
|
|
1499
1650
|
t.retry === void 0 && (t.retry = !1);
|
|
1500
1651
|
let n = this.#e.build(this, t);
|
|
1501
|
-
return n.isStaleByTime(
|
|
1652
|
+
return n.isStaleByTime(M(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
|
|
1502
1653
|
}
|
|
1503
1654
|
prefetchQuery(e) {
|
|
1504
|
-
return this.fetchQuery(e).then(
|
|
1655
|
+
return this.fetchQuery(e).then(j).catch(j);
|
|
1505
1656
|
}
|
|
1506
1657
|
fetchInfiniteQuery(e) {
|
|
1507
1658
|
return e._type = "infinite", this.fetchQuery(e);
|
|
1508
1659
|
}
|
|
1509
1660
|
prefetchInfiniteQuery(e) {
|
|
1510
|
-
return this.fetchInfiniteQuery(e).then(
|
|
1661
|
+
return this.fetchInfiniteQuery(e).then(j).catch(j);
|
|
1511
1662
|
}
|
|
1512
1663
|
ensureInfiniteQueryData(e) {
|
|
1513
1664
|
return e._type = "infinite", this.ensureQueryData(e);
|
|
1514
1665
|
}
|
|
1515
1666
|
resumePausedMutations() {
|
|
1516
|
-
return
|
|
1667
|
+
return it.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
|
|
1517
1668
|
}
|
|
1518
1669
|
getQueryCache() {
|
|
1519
1670
|
return this.#e;
|
|
@@ -1528,7 +1679,7 @@ var _t = class extends D {
|
|
|
1528
1679
|
this.#n = e;
|
|
1529
1680
|
}
|
|
1530
1681
|
setQueryDefaults(e, t) {
|
|
1531
|
-
this.#r.set(
|
|
1682
|
+
this.#r.set(P(e), {
|
|
1532
1683
|
queryKey: e,
|
|
1533
1684
|
defaultOptions: t
|
|
1534
1685
|
});
|
|
@@ -1536,11 +1687,11 @@ var _t = class extends D {
|
|
|
1536
1687
|
getQueryDefaults(e) {
|
|
1537
1688
|
let t = [...this.#r.values()], n = {};
|
|
1538
1689
|
return t.forEach((t) => {
|
|
1539
|
-
|
|
1690
|
+
F(e, t.queryKey) && Object.assign(n, t.defaultOptions);
|
|
1540
1691
|
}), n;
|
|
1541
1692
|
}
|
|
1542
1693
|
setMutationDefaults(e, t) {
|
|
1543
|
-
this.#i.set(
|
|
1694
|
+
this.#i.set(P(e), {
|
|
1544
1695
|
mutationKey: e,
|
|
1545
1696
|
defaultOptions: t
|
|
1546
1697
|
});
|
|
@@ -1548,7 +1699,7 @@ var _t = class extends D {
|
|
|
1548
1699
|
getMutationDefaults(e) {
|
|
1549
1700
|
let t = [...this.#i.values()], n = {};
|
|
1550
1701
|
return t.forEach((t) => {
|
|
1551
|
-
|
|
1702
|
+
F(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
|
|
1552
1703
|
}), n;
|
|
1553
1704
|
}
|
|
1554
1705
|
defaultQueryOptions(e) {
|
|
@@ -1559,7 +1710,7 @@ var _t = class extends D {
|
|
|
1559
1710
|
...e,
|
|
1560
1711
|
_defaulted: !0
|
|
1561
1712
|
};
|
|
1562
|
-
return t.queryHash ||=
|
|
1713
|
+
return t.queryHash ||= Ve(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 === Ze && (t.enabled = !1), t;
|
|
1563
1714
|
}
|
|
1564
1715
|
defaultMutationOptions(e) {
|
|
1565
1716
|
return e?._defaulted ? e : {
|
|
@@ -1572,20 +1723,20 @@ var _t = class extends D {
|
|
|
1572
1723
|
clear() {
|
|
1573
1724
|
this.#e.clear(), this.#t.clear();
|
|
1574
1725
|
}
|
|
1575
|
-
},
|
|
1576
|
-
let t = x.useContext(
|
|
1726
|
+
}, At = x.createContext(void 0), jt = (e) => {
|
|
1727
|
+
let t = x.useContext(At);
|
|
1577
1728
|
if (e) return e;
|
|
1578
1729
|
if (!t) throw Error("No QueryClient set, use QueryClientProvider to set one");
|
|
1579
1730
|
return t;
|
|
1580
|
-
},
|
|
1731
|
+
}, Mt = ({ client: e, children: t }) => (x.useEffect(() => (e.mount(), () => {
|
|
1581
1732
|
e.unmount();
|
|
1582
|
-
}), [e]), /* @__PURE__ */
|
|
1733
|
+
}), [e]), /* @__PURE__ */ E(At.Provider, {
|
|
1583
1734
|
value: e,
|
|
1584
1735
|
children: t
|
|
1585
|
-
})),
|
|
1736
|
+
})), Nt = x.createContext(!1), Pt = () => x.useContext(Nt);
|
|
1586
1737
|
//#endregion
|
|
1587
1738
|
//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
|
|
1588
|
-
function
|
|
1739
|
+
function Ft() {
|
|
1589
1740
|
let e = !1;
|
|
1590
1741
|
return {
|
|
1591
1742
|
clearReset: () => {
|
|
@@ -1597,57 +1748,57 @@ function wt() {
|
|
|
1597
1748
|
isReset: () => e
|
|
1598
1749
|
};
|
|
1599
1750
|
}
|
|
1600
|
-
var
|
|
1601
|
-
let r = n?.state.error && typeof e.throwOnError == "function" ?
|
|
1751
|
+
var It = x.createContext(Ft()), Lt = () => x.useContext(It), Rt = (e, t, n) => {
|
|
1752
|
+
let r = n?.state.error && typeof e.throwOnError == "function" ? $e(e.throwOnError, [n.state.error, n]) : e.throwOnError;
|
|
1602
1753
|
(e.suspense || e.experimental_prefetchInRender || r) && (t.isReset() || (e.retryOnMount = !1));
|
|
1603
|
-
},
|
|
1754
|
+
}, zt = (e) => {
|
|
1604
1755
|
x.useEffect(() => {
|
|
1605
1756
|
e.clearReset();
|
|
1606
1757
|
}, [e]);
|
|
1607
|
-
},
|
|
1758
|
+
}, Bt = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || $e(n, [e.error, r])), Vt = (e) => {
|
|
1608
1759
|
if (e.suspense) {
|
|
1609
1760
|
let t = 1e3, n = (e) => e === "static" ? e : Math.max(e ?? t, t), r = e.staleTime;
|
|
1610
1761
|
e.staleTime = typeof r == "function" ? (...e) => n(r(...e)) : n(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, t));
|
|
1611
1762
|
}
|
|
1612
|
-
},
|
|
1763
|
+
}, Ht = (e, t) => e.isLoading && e.isFetching && !t, Ut = (e, t) => e?.suspense && t.isPending, Wt = (e, t, n) => t.fetchOptimistic(e).catch(() => {
|
|
1613
1764
|
n.clearReset();
|
|
1614
1765
|
});
|
|
1615
1766
|
//#endregion
|
|
1616
1767
|
//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
|
|
1617
|
-
function
|
|
1768
|
+
function Gt(e, t, n) {
|
|
1618
1769
|
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");
|
|
1619
|
-
let r =
|
|
1770
|
+
let r = Pt(), i = Lt(), a = jt(n), o = a.defaultQueryOptions(e);
|
|
1620
1771
|
a.getDefaultOptions().queries?._experimental_beforeQuery?.(o);
|
|
1621
1772
|
let s = a.getQueryCache().get(o.queryHash);
|
|
1622
1773
|
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`));
|
|
1623
1774
|
let c = e.subscribed !== !1;
|
|
1624
|
-
o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0,
|
|
1775
|
+
o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, Vt(o), Rt(o, i, s), zt(i);
|
|
1625
1776
|
let l = !a.getQueryCache().get(o.queryHash), [u] = x.useState(() => new t(a, o)), d = u.getOptimisticResult(o), f = !r && c;
|
|
1626
1777
|
if (x.useSyncExternalStore(x.useCallback((e) => {
|
|
1627
|
-
let t = f ? u.subscribe(
|
|
1778
|
+
let t = f ? u.subscribe(R.batchCalls(e)) : j;
|
|
1628
1779
|
return u.updateResult(), t;
|
|
1629
1780
|
}, [u, f]), () => u.getCurrentResult(), () => u.getCurrentResult()), x.useEffect(() => {
|
|
1630
1781
|
u.setOptions(o);
|
|
1631
|
-
}, [o, u]),
|
|
1632
|
-
if (
|
|
1782
|
+
}, [o, u]), Ut(o, d)) throw Wt(o, u, i);
|
|
1783
|
+
if (Bt({
|
|
1633
1784
|
result: d,
|
|
1634
1785
|
errorResetBoundary: i,
|
|
1635
1786
|
throwOnError: o.throwOnError,
|
|
1636
1787
|
query: s,
|
|
1637
1788
|
suspense: o.suspense
|
|
1638
1789
|
})) throw d.error;
|
|
1639
|
-
return a.getDefaultOptions().queries?._experimental_afterQuery?.(o, d), o.experimental_prefetchInRender && !
|
|
1790
|
+
return a.getDefaultOptions().queries?._experimental_afterQuery?.(o, d), o.experimental_prefetchInRender && !L.isServer() && Ht(d, r) && (l ? Wt(o, u, i) : s?.promise)?.catch(j).finally(() => {
|
|
1640
1791
|
u.updateResult();
|
|
1641
1792
|
}), o.notifyOnChangeProps ? d : u.trackResult(d);
|
|
1642
1793
|
}
|
|
1643
1794
|
//#endregion
|
|
1644
1795
|
//#region node_modules/@tanstack/react-query/build/modern/useQuery.js
|
|
1645
|
-
function
|
|
1646
|
-
return
|
|
1796
|
+
function Kt(e, t) {
|
|
1797
|
+
return Gt(e, _t, t);
|
|
1647
1798
|
}
|
|
1648
1799
|
//#endregion
|
|
1649
1800
|
//#region src/client/client/CubeClient.ts
|
|
1650
|
-
var
|
|
1801
|
+
var qt = class {
|
|
1651
1802
|
apiUrl;
|
|
1652
1803
|
headers;
|
|
1653
1804
|
credentials;
|
|
@@ -1678,7 +1829,7 @@ var It = class {
|
|
|
1678
1829
|
} catch {}
|
|
1679
1830
|
throw Error(e);
|
|
1680
1831
|
}
|
|
1681
|
-
return new
|
|
1832
|
+
return new Jt(await o.json());
|
|
1682
1833
|
}
|
|
1683
1834
|
async meta() {
|
|
1684
1835
|
let e = `${this.apiUrl}/meta`, t = await fetch(e, {
|
|
@@ -1768,14 +1919,14 @@ var It = class {
|
|
|
1768
1919
|
throw Error(e);
|
|
1769
1920
|
}
|
|
1770
1921
|
return (await i.json()).results.map((e) => !e.success && e.error ? {
|
|
1771
|
-
...new
|
|
1922
|
+
...new Jt({
|
|
1772
1923
|
data: [],
|
|
1773
1924
|
annotation: {}
|
|
1774
1925
|
}),
|
|
1775
1926
|
error: e.error
|
|
1776
|
-
} : new
|
|
1927
|
+
} : new Jt(e));
|
|
1777
1928
|
}
|
|
1778
|
-
},
|
|
1929
|
+
}, Jt = class {
|
|
1779
1930
|
loadResponse;
|
|
1780
1931
|
constructor(e) {
|
|
1781
1932
|
this.loadResponse = e;
|
|
@@ -1796,12 +1947,12 @@ var It = class {
|
|
|
1796
1947
|
return this.loadResponse.results && this.loadResponse.results[0] ? this.loadResponse.results[0].cache : this.loadResponse.cache;
|
|
1797
1948
|
}
|
|
1798
1949
|
};
|
|
1799
|
-
function
|
|
1800
|
-
return new
|
|
1950
|
+
function Yt(e, t = {}) {
|
|
1951
|
+
return new qt(e, t);
|
|
1801
1952
|
}
|
|
1802
1953
|
//#endregion
|
|
1803
1954
|
//#region src/client/client/BatchCoordinator.ts
|
|
1804
|
-
var
|
|
1955
|
+
var Xt = class {
|
|
1805
1956
|
queue = [];
|
|
1806
1957
|
flushScheduled = !1;
|
|
1807
1958
|
batchExecutor;
|
|
@@ -1844,31 +1995,31 @@ var zt = class {
|
|
|
1844
1995
|
clear() {
|
|
1845
1996
|
this.queue = [], this.flushScheduled = !1;
|
|
1846
1997
|
}
|
|
1847
|
-
},
|
|
1848
|
-
function
|
|
1849
|
-
let s =
|
|
1998
|
+
}, Zt = pe(null);
|
|
1999
|
+
function Qt({ apiOptions: e, token: t, options: n = {}, locale: r, enableBatching: i = !0, batchDelayMs: a = 50, children: o }) {
|
|
2000
|
+
let s = w(() => ({
|
|
1850
2001
|
apiOptions: e,
|
|
1851
2002
|
token: t
|
|
1852
|
-
}), [e, t]), [c, l] =
|
|
1853
|
-
|
|
2003
|
+
}), [e, t]), [c, l] = T(null);
|
|
2004
|
+
C(() => {
|
|
1854
2005
|
l(null);
|
|
1855
2006
|
}, [s]);
|
|
1856
|
-
let u = c ?? s, d =
|
|
2007
|
+
let u = c ?? s, d = w(() => r ? {
|
|
1857
2008
|
...u.apiOptions,
|
|
1858
2009
|
headers: {
|
|
1859
2010
|
...u.apiOptions.headers ?? {},
|
|
1860
2011
|
"X-DC-Locale": r
|
|
1861
2012
|
}
|
|
1862
|
-
} : u.apiOptions, [u.apiOptions, r]), f =
|
|
2013
|
+
} : u.apiOptions, [u.apiOptions, r]), f = w(() => Yt(u.token, d), [d, u.token]), p = w(() => i ? new Xt((e) => f.batchLoad(e), a) : null, [
|
|
1863
2014
|
i,
|
|
1864
2015
|
f,
|
|
1865
2016
|
a
|
|
1866
|
-
]), m =
|
|
2017
|
+
]), m = S((e, t) => {
|
|
1867
2018
|
l({
|
|
1868
2019
|
apiOptions: e,
|
|
1869
2020
|
token: t
|
|
1870
2021
|
});
|
|
1871
|
-
}, []), h =
|
|
2022
|
+
}, []), h = w(() => ({
|
|
1872
2023
|
cubeApi: f,
|
|
1873
2024
|
options: n,
|
|
1874
2025
|
apiOptions: d,
|
|
@@ -1883,20 +2034,20 @@ function Vt({ apiOptions: e, token: t, options: n = {}, locale: r, enableBatchin
|
|
|
1883
2034
|
p,
|
|
1884
2035
|
i
|
|
1885
2036
|
]);
|
|
1886
|
-
return /* @__PURE__ */
|
|
2037
|
+
return /* @__PURE__ */ E(Zt.Provider, {
|
|
1887
2038
|
value: h,
|
|
1888
2039
|
children: o
|
|
1889
2040
|
});
|
|
1890
2041
|
}
|
|
1891
|
-
function
|
|
1892
|
-
let e =
|
|
2042
|
+
function $t() {
|
|
2043
|
+
let e = _e(Zt);
|
|
1893
2044
|
if (!e) throw Error("useCubeApi must be used within CubeApiProvider");
|
|
1894
2045
|
return e;
|
|
1895
2046
|
}
|
|
1896
2047
|
//#endregion
|
|
1897
2048
|
//#region src/client/hooks/queries/useCubeMetaQuery.ts
|
|
1898
|
-
var
|
|
1899
|
-
function
|
|
2049
|
+
var en = ["cube", "meta"];
|
|
2050
|
+
function tn(e) {
|
|
1900
2051
|
let t = {};
|
|
1901
2052
|
return e.cubes.forEach((e) => {
|
|
1902
2053
|
e.measures.forEach((e) => {
|
|
@@ -1908,14 +2059,14 @@ function Wt(e) {
|
|
|
1908
2059
|
});
|
|
1909
2060
|
}), t;
|
|
1910
2061
|
}
|
|
1911
|
-
function
|
|
1912
|
-
let { enabled: t = !0, staleTime: n = 300 * 1e3 } = e, { cubeApi: r } =
|
|
1913
|
-
queryKey:
|
|
2062
|
+
function nn(e = {}) {
|
|
2063
|
+
let { enabled: t = !0, staleTime: n = 300 * 1e3 } = e, { cubeApi: r } = $t(), i = jt(), a = Kt({
|
|
2064
|
+
queryKey: en,
|
|
1914
2065
|
queryFn: async () => {
|
|
1915
2066
|
let e = await r.meta();
|
|
1916
2067
|
return {
|
|
1917
2068
|
meta: e,
|
|
1918
|
-
labelMap:
|
|
2069
|
+
labelMap: tn(e)
|
|
1919
2070
|
};
|
|
1920
2071
|
},
|
|
1921
2072
|
enabled: t,
|
|
@@ -1929,15 +2080,15 @@ function Gt(e = {}) {
|
|
|
1929
2080
|
isFetching: a.isFetching,
|
|
1930
2081
|
error: a.error,
|
|
1931
2082
|
refetch: () => {
|
|
1932
|
-
i.invalidateQueries({ queryKey:
|
|
2083
|
+
i.invalidateQueries({ queryKey: en });
|
|
1933
2084
|
},
|
|
1934
2085
|
getFieldLabel: (e) => s[e] || e
|
|
1935
2086
|
};
|
|
1936
2087
|
}
|
|
1937
2088
|
//#endregion
|
|
1938
2089
|
//#region src/client/utils/thumbnail.ts
|
|
1939
|
-
var
|
|
1940
|
-
function
|
|
2090
|
+
var rn = null, an = !1;
|
|
2091
|
+
function on(e, t, n, r, i) {
|
|
1941
2092
|
return new Promise((a, o) => {
|
|
1942
2093
|
let s = new Image();
|
|
1943
2094
|
s.onload = () => {
|
|
@@ -1954,26 +2105,26 @@ function Jt(e, t, n, r, i) {
|
|
|
1954
2105
|
}, s.onerror = () => o(/* @__PURE__ */ Error("Failed to load image for resizing")), s.src = e;
|
|
1955
2106
|
});
|
|
1956
2107
|
}
|
|
1957
|
-
async function
|
|
1958
|
-
if (
|
|
2108
|
+
async function z() {
|
|
2109
|
+
if (an) return rn;
|
|
1959
2110
|
try {
|
|
1960
|
-
return
|
|
2111
|
+
return rn = await import("./dist-zPWyTBdU.js"), an = !0, rn;
|
|
1961
2112
|
} catch {
|
|
1962
|
-
return
|
|
2113
|
+
return an = !0, rn = null, null;
|
|
1963
2114
|
}
|
|
1964
2115
|
}
|
|
1965
|
-
function
|
|
1966
|
-
typeof window > "u" || e?.enabled && (window.__drizzle_cube_thumbnail_warning__ ||
|
|
2116
|
+
function sn(e) {
|
|
2117
|
+
typeof window > "u" || e?.enabled && (window.__drizzle_cube_thumbnail_warning__ || z().then((e) => {
|
|
1967
2118
|
!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);
|
|
1968
2119
|
}));
|
|
1969
2120
|
}
|
|
1970
|
-
async function
|
|
2121
|
+
async function cn(e, t) {
|
|
1971
2122
|
if (typeof window > "u" || !e.current) return null;
|
|
1972
|
-
let n = await
|
|
2123
|
+
let n = await z();
|
|
1973
2124
|
if (!n) return null;
|
|
1974
2125
|
try {
|
|
1975
|
-
let r = t.width ?? 1600, i = t.height ?? 1200, a = t.format ?? "png", o = t.quality ?? .95, s = e.current, c =
|
|
1976
|
-
return await
|
|
2126
|
+
let r = t.width ?? 1600, i = t.height ?? 1200, a = t.format ?? "png", o = t.quality ?? .95, s = e.current, c = fn(s);
|
|
2127
|
+
return await on(await n.domToPng(s, {
|
|
1977
2128
|
scale: 2,
|
|
1978
2129
|
backgroundColor: c
|
|
1979
2130
|
}), r, i, a, o);
|
|
@@ -1981,31 +2132,31 @@ async function Xt(e, t) {
|
|
|
1981
2132
|
return console.error("[drizzle-cube] Failed to capture thumbnail:", e), null;
|
|
1982
2133
|
}
|
|
1983
2134
|
}
|
|
1984
|
-
async function
|
|
1985
|
-
return !e?.enabled || typeof window > "u" ? !1 : await
|
|
2135
|
+
async function ln(e) {
|
|
2136
|
+
return !e?.enabled || typeof window > "u" ? !1 : await z() !== null;
|
|
1986
2137
|
}
|
|
1987
|
-
async function
|
|
1988
|
-
return typeof window > "u" || !await
|
|
2138
|
+
async function un() {
|
|
2139
|
+
return typeof window > "u" || !await z() ? !1 : typeof ClipboardItem < "u" && typeof navigator?.clipboard?.write == "function";
|
|
1989
2140
|
}
|
|
1990
|
-
function
|
|
2141
|
+
function dn(e) {
|
|
1991
2142
|
if (!e || e === "transparent" || e === "rgba(0, 0, 0, 0)") return !0;
|
|
1992
2143
|
let t = e.match(/rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*([\d.]+)\s*\)/);
|
|
1993
2144
|
return !!(t && parseFloat(t[1]) === 0);
|
|
1994
2145
|
}
|
|
1995
|
-
function
|
|
2146
|
+
function fn(e) {
|
|
1996
2147
|
let t = e;
|
|
1997
2148
|
for (; t;) {
|
|
1998
2149
|
let e = getComputedStyle(t).backgroundColor;
|
|
1999
|
-
if (
|
|
2150
|
+
if (!dn(e)) return e;
|
|
2000
2151
|
t = t.parentElement;
|
|
2001
2152
|
}
|
|
2002
2153
|
return getComputedStyle(document.documentElement).getPropertyValue("--dc-surface").trim() || "#ffffff";
|
|
2003
2154
|
}
|
|
2004
|
-
async function
|
|
2155
|
+
async function pn(e) {
|
|
2005
2156
|
try {
|
|
2006
|
-
let t = await
|
|
2157
|
+
let t = await z();
|
|
2007
2158
|
if (!t) return console.warn("[drizzle-cube] Cannot copy portlet: modern-screenshot not available"), !1;
|
|
2008
|
-
let n =
|
|
2159
|
+
let n = fn(e), r = await t.domToPng(e, {
|
|
2009
2160
|
scale: 2,
|
|
2010
2161
|
backgroundColor: n
|
|
2011
2162
|
}), i = await (await fetch(r)).blob();
|
|
@@ -2016,12 +2167,12 @@ async function tn(e) {
|
|
|
2016
2167
|
}
|
|
2017
2168
|
//#endregion
|
|
2018
2169
|
//#region src/client/utils/exportXlsx.ts
|
|
2019
|
-
var
|
|
2170
|
+
var mn = null, hn = !1, B = {
|
|
2020
2171
|
headerBg: "FF3B82F6",
|
|
2021
2172
|
headerText: "FFFFFFFF",
|
|
2022
2173
|
borderColor: "FFE5E7EB"
|
|
2023
2174
|
};
|
|
2024
|
-
function
|
|
2175
|
+
function gn(e) {
|
|
2025
2176
|
if (!e) return null;
|
|
2026
2177
|
let t = e.trim();
|
|
2027
2178
|
if (t.startsWith("#")) {
|
|
@@ -2035,19 +2186,19 @@ function on(e) {
|
|
|
2035
2186
|
}
|
|
2036
2187
|
return null;
|
|
2037
2188
|
}
|
|
2038
|
-
function
|
|
2039
|
-
if (typeof document > "u") return
|
|
2189
|
+
function _n() {
|
|
2190
|
+
if (typeof document > "u") return B;
|
|
2040
2191
|
let e = getComputedStyle(document.documentElement), t = e.getPropertyValue("--dc-primary").trim(), n = e.getPropertyValue("--dc-primary-content").trim(), r = e.getPropertyValue("--dc-border").trim();
|
|
2041
2192
|
return {
|
|
2042
|
-
headerBg:
|
|
2043
|
-
headerText:
|
|
2044
|
-
borderColor:
|
|
2193
|
+
headerBg: gn(t) ?? B.headerBg,
|
|
2194
|
+
headerText: gn(n) ?? B.headerText,
|
|
2195
|
+
borderColor: gn(r) ?? B.borderColor
|
|
2045
2196
|
};
|
|
2046
2197
|
}
|
|
2047
|
-
function
|
|
2198
|
+
function vn(e) {
|
|
2048
2199
|
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);
|
|
2049
2200
|
}
|
|
2050
|
-
function
|
|
2201
|
+
function yn(e, t) {
|
|
2051
2202
|
e.height = 18, e.eachCell((e) => {
|
|
2052
2203
|
e.font = {
|
|
2053
2204
|
bold: !0,
|
|
@@ -2063,7 +2214,7 @@ function ln(e, t) {
|
|
|
2063
2214
|
};
|
|
2064
2215
|
});
|
|
2065
2216
|
}
|
|
2066
|
-
function
|
|
2217
|
+
function bn(e, t) {
|
|
2067
2218
|
e.eachRow((e) => {
|
|
2068
2219
|
e.eachCell((e) => {
|
|
2069
2220
|
e.border = {
|
|
@@ -2090,7 +2241,7 @@ function un(e, t) {
|
|
|
2090
2241
|
});
|
|
2091
2242
|
});
|
|
2092
2243
|
}
|
|
2093
|
-
function
|
|
2244
|
+
function xn(e, t = []) {
|
|
2094
2245
|
e.columns?.forEach((e, n) => {
|
|
2095
2246
|
let r = t[n] ?? 10;
|
|
2096
2247
|
e.eachCell?.({ includeEmpty: !0 }, (e) => {
|
|
@@ -2099,15 +2250,15 @@ function dn(e, t = []) {
|
|
|
2099
2250
|
}), e.width = Math.min(Math.max(r + 2, t[n] ?? 10), 70);
|
|
2100
2251
|
});
|
|
2101
2252
|
}
|
|
2102
|
-
function
|
|
2253
|
+
function V(e, t, n, r) {
|
|
2103
2254
|
let i = e.addWorksheet(t);
|
|
2104
2255
|
if (n.length === 0) {
|
|
2105
|
-
i.addRow(["No data available"]),
|
|
2256
|
+
i.addRow(["No data available"]), xn(i, [32]);
|
|
2106
2257
|
return;
|
|
2107
2258
|
}
|
|
2108
2259
|
let a = Object.keys(n[0]);
|
|
2109
|
-
|
|
2110
|
-
for (let e of n) i.addRow(a.map((t) =>
|
|
2260
|
+
yn(i.addRow(a), r);
|
|
2261
|
+
for (let e of n) i.addRow(a.map((t) => vn(e[t])));
|
|
2111
2262
|
i.views = [{
|
|
2112
2263
|
state: "frozen",
|
|
2113
2264
|
ySplit: 1
|
|
@@ -2120,58 +2271,58 @@ function fn(e, t, n, r) {
|
|
|
2120
2271
|
row: 1,
|
|
2121
2272
|
column: a.length
|
|
2122
2273
|
}
|
|
2123
|
-
},
|
|
2274
|
+
}, bn(i, r), xn(i);
|
|
2124
2275
|
}
|
|
2125
|
-
function
|
|
2276
|
+
function Sn(e) {
|
|
2126
2277
|
return e.replace(/[^a-zA-Z0-9]/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "").toLowerCase();
|
|
2127
2278
|
}
|
|
2128
|
-
function
|
|
2129
|
-
let n =
|
|
2279
|
+
function Cn(e, t) {
|
|
2280
|
+
let n = Sn(e), r = /* @__PURE__ */ new Date();
|
|
2130
2281
|
return `${n}-${`${r.getFullYear()}${String(r.getMonth() + 1).padStart(2, "0")}${String(r.getDate()).padStart(2, "0")}`}-${crypto.randomUUID().slice(0, 4).toUpperCase()}.${t}`;
|
|
2131
2282
|
}
|
|
2132
|
-
async function
|
|
2133
|
-
if (
|
|
2283
|
+
async function wn() {
|
|
2284
|
+
if (hn) return mn;
|
|
2134
2285
|
try {
|
|
2135
|
-
return
|
|
2286
|
+
return mn = await import("./exceljs.min-CIqBqwTW.js").then((t) => /* @__PURE__ */ e(t.default, 1)), hn = !0, mn;
|
|
2136
2287
|
} catch {
|
|
2137
|
-
return
|
|
2288
|
+
return hn = !0, mn = null, null;
|
|
2138
2289
|
}
|
|
2139
2290
|
}
|
|
2140
|
-
async function
|
|
2141
|
-
return typeof window > "u" ? !1 : await
|
|
2291
|
+
async function Tn() {
|
|
2292
|
+
return typeof window > "u" ? !1 : await wn() !== null;
|
|
2142
2293
|
}
|
|
2143
|
-
function
|
|
2144
|
-
typeof window > "u" || e?.enabled && (window.__drizzle_cube_xls_export_warning__ ||
|
|
2294
|
+
function En(e) {
|
|
2295
|
+
typeof window > "u" || e?.enabled && (window.__drizzle_cube_xls_export_warning__ || wn().then((e) => {
|
|
2145
2296
|
!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);
|
|
2146
2297
|
}));
|
|
2147
2298
|
}
|
|
2148
|
-
function
|
|
2299
|
+
function Dn(e) {
|
|
2149
2300
|
return !!e && typeof e == "object" && "nodes" in e && "links" in e && Array.isArray(e.nodes) && Array.isArray(e.links);
|
|
2150
2301
|
}
|
|
2151
|
-
function
|
|
2302
|
+
function On(e) {
|
|
2152
2303
|
return !!e && typeof e == "object" && "rows" in e && "periods" in e && Array.isArray(e.rows) && Array.isArray(e.periods);
|
|
2153
2304
|
}
|
|
2154
|
-
function
|
|
2305
|
+
function kn(e, t) {
|
|
2155
2306
|
let n = new Blob([e], { type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }), r = URL.createObjectURL(n), i = document.createElement("a");
|
|
2156
2307
|
i.href = r, i.download = t, document.body.appendChild(i), i.click(), document.body.removeChild(i), URL.revokeObjectURL(r);
|
|
2157
2308
|
}
|
|
2158
|
-
async function
|
|
2159
|
-
let n = await
|
|
2309
|
+
async function An(e, t) {
|
|
2310
|
+
let n = await wn();
|
|
2160
2311
|
if (!n) return console.warn("[drizzle-cube] Cannot export: exceljs not available"), !1;
|
|
2161
2312
|
try {
|
|
2162
|
-
let r = new n.Workbook(), i =
|
|
2163
|
-
if (
|
|
2164
|
-
else if (
|
|
2165
|
-
else if (Array.isArray(a))
|
|
2313
|
+
let r = new n.Workbook(), i = _n(), { data: a } = t;
|
|
2314
|
+
if (Dn(a)) V(r, "Nodes", a.nodes, i), V(r, "Links", a.links, i);
|
|
2315
|
+
else if (On(a)) V(r, e, a.rows, i);
|
|
2316
|
+
else if (Array.isArray(a)) V(r, e, a, i);
|
|
2166
2317
|
else return console.warn("[drizzle-cube] Cannot export: unrecognized data format"), !1;
|
|
2167
|
-
return
|
|
2318
|
+
return kn(await r.xlsx.writeBuffer(), Cn(e || "export", "xlsx")), !0;
|
|
2168
2319
|
} catch (e) {
|
|
2169
2320
|
return console.error("[drizzle-cube] Failed to export XLSX:", e), !1;
|
|
2170
2321
|
}
|
|
2171
2322
|
}
|
|
2172
2323
|
//#endregion
|
|
2173
2324
|
//#region src/client/providers/CubeFeaturesProvider.tsx
|
|
2174
|
-
var
|
|
2325
|
+
var jn = pe(null), Mn = {
|
|
2175
2326
|
enableAI: !0,
|
|
2176
2327
|
aiEndpoint: "/api/ai/generate",
|
|
2177
2328
|
showSchemaDiagram: !1,
|
|
@@ -2179,22 +2330,22 @@ var Sn = me(null), Cn = {
|
|
|
2179
2330
|
editToolbar: "both",
|
|
2180
2331
|
floatingToolbarPosition: "right"
|
|
2181
2332
|
};
|
|
2182
|
-
function
|
|
2183
|
-
let [r, i] =
|
|
2184
|
-
...
|
|
2333
|
+
function Nn({ features: e, dashboardModes: t = ["rows", "grid"], children: n }) {
|
|
2334
|
+
let [r, i] = T(() => ({
|
|
2335
|
+
...Mn,
|
|
2185
2336
|
...e
|
|
2186
2337
|
}));
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
}, [r.thumbnail]),
|
|
2190
|
-
|
|
2338
|
+
C(() => {
|
|
2339
|
+
sn(r.thumbnail);
|
|
2340
|
+
}, [r.thumbnail]), C(() => {
|
|
2341
|
+
En(r.xlsExport);
|
|
2191
2342
|
}, [r.xlsExport]);
|
|
2192
|
-
let a =
|
|
2343
|
+
let a = S((e) => {
|
|
2193
2344
|
i((t) => ({
|
|
2194
2345
|
...t,
|
|
2195
2346
|
...e
|
|
2196
2347
|
}));
|
|
2197
|
-
}, []), o =
|
|
2348
|
+
}, []), o = w(() => ({
|
|
2198
2349
|
features: r,
|
|
2199
2350
|
dashboardModes: t,
|
|
2200
2351
|
updateFeatures: a
|
|
@@ -2203,22 +2354,22 @@ function wn({ features: e, dashboardModes: t = ["rows", "grid"], children: n })
|
|
|
2203
2354
|
t,
|
|
2204
2355
|
a
|
|
2205
2356
|
]);
|
|
2206
|
-
return /* @__PURE__ */
|
|
2357
|
+
return /* @__PURE__ */ E(jn.Provider, {
|
|
2207
2358
|
value: o,
|
|
2208
2359
|
children: n
|
|
2209
2360
|
});
|
|
2210
2361
|
}
|
|
2211
|
-
var
|
|
2212
|
-
features:
|
|
2362
|
+
var Pn = {
|
|
2363
|
+
features: Mn,
|
|
2213
2364
|
dashboardModes: ["rows", "grid"],
|
|
2214
2365
|
updateFeatures: () => {}
|
|
2215
2366
|
};
|
|
2216
|
-
function
|
|
2217
|
-
return
|
|
2367
|
+
function Fn() {
|
|
2368
|
+
return _e(jn) ?? Pn;
|
|
2218
2369
|
}
|
|
2219
2370
|
//#endregion
|
|
2220
2371
|
//#region node_modules/@iconify/react/dist/iconify.js
|
|
2221
|
-
function
|
|
2372
|
+
function In(e, t) {
|
|
2222
2373
|
let n = e.icons, r = e.aliases || Object.create(null), i = Object.create(null);
|
|
2223
2374
|
function a(e) {
|
|
2224
2375
|
if (n[e]) return i[e] = [];
|
|
@@ -2231,82 +2382,82 @@ function Dn(e, t) {
|
|
|
2231
2382
|
}
|
|
2232
2383
|
return Object.keys(n).concat(Object.keys(r)).forEach(a), i;
|
|
2233
2384
|
}
|
|
2234
|
-
var
|
|
2385
|
+
var Ln = Object.freeze({
|
|
2235
2386
|
left: 0,
|
|
2236
2387
|
top: 0,
|
|
2237
2388
|
width: 16,
|
|
2238
2389
|
height: 16
|
|
2239
|
-
}),
|
|
2390
|
+
}), H = Object.freeze({
|
|
2240
2391
|
rotate: 0,
|
|
2241
2392
|
vFlip: !1,
|
|
2242
2393
|
hFlip: !1
|
|
2243
|
-
}),
|
|
2244
|
-
...
|
|
2245
|
-
...
|
|
2246
|
-
}),
|
|
2247
|
-
...
|
|
2394
|
+
}), Rn = Object.freeze({
|
|
2395
|
+
...Ln,
|
|
2396
|
+
...H
|
|
2397
|
+
}), zn = Object.freeze({
|
|
2398
|
+
...Rn,
|
|
2248
2399
|
body: "",
|
|
2249
2400
|
hidden: !1
|
|
2250
2401
|
});
|
|
2251
|
-
function
|
|
2402
|
+
function Bn(e, t) {
|
|
2252
2403
|
let n = {};
|
|
2253
2404
|
!e.hFlip != !t.hFlip && (n.hFlip = !0), !e.vFlip != !t.vFlip && (n.vFlip = !0);
|
|
2254
2405
|
let r = ((e.rotate || 0) + (t.rotate || 0)) % 4;
|
|
2255
2406
|
return r && (n.rotate = r), n;
|
|
2256
2407
|
}
|
|
2257
|
-
function
|
|
2258
|
-
let n =
|
|
2259
|
-
for (let r in
|
|
2408
|
+
function Vn(e, t) {
|
|
2409
|
+
let n = Bn(e, t);
|
|
2410
|
+
for (let r in zn) r in H ? r in e && !(r in n) && (n[r] = H[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
|
|
2260
2411
|
return n;
|
|
2261
2412
|
}
|
|
2262
|
-
function
|
|
2413
|
+
function Hn(e, t, n) {
|
|
2263
2414
|
let r = e.icons, i = e.aliases || Object.create(null), a = {};
|
|
2264
2415
|
function o(e) {
|
|
2265
|
-
a =
|
|
2416
|
+
a = Vn(r[e] || i[e], a);
|
|
2266
2417
|
}
|
|
2267
|
-
return o(t), n.forEach(o),
|
|
2418
|
+
return o(t), n.forEach(o), Vn(e, a);
|
|
2268
2419
|
}
|
|
2269
|
-
function
|
|
2420
|
+
function Un(e, t) {
|
|
2270
2421
|
let n = [];
|
|
2271
2422
|
if (typeof e != "object" || typeof e.icons != "object") return n;
|
|
2272
2423
|
e.not_found instanceof Array && e.not_found.forEach((e) => {
|
|
2273
2424
|
t(e, null), n.push(e);
|
|
2274
2425
|
});
|
|
2275
|
-
let r =
|
|
2426
|
+
let r = In(e);
|
|
2276
2427
|
for (let i in r) {
|
|
2277
2428
|
let a = r[i];
|
|
2278
|
-
a && (t(i,
|
|
2429
|
+
a && (t(i, Hn(e, i, a)), n.push(i));
|
|
2279
2430
|
}
|
|
2280
2431
|
return n;
|
|
2281
2432
|
}
|
|
2282
|
-
var
|
|
2433
|
+
var Wn = {
|
|
2283
2434
|
provider: "",
|
|
2284
2435
|
aliases: {},
|
|
2285
2436
|
not_found: {},
|
|
2286
|
-
...
|
|
2437
|
+
...Ln
|
|
2287
2438
|
};
|
|
2288
|
-
function
|
|
2439
|
+
function Gn(e, t) {
|
|
2289
2440
|
for (let n in t) if (n in e && typeof e[n] != typeof t[n]) return !1;
|
|
2290
2441
|
return !0;
|
|
2291
2442
|
}
|
|
2292
|
-
function
|
|
2443
|
+
function Kn(e) {
|
|
2293
2444
|
if (typeof e != "object" || !e) return null;
|
|
2294
2445
|
let t = e;
|
|
2295
|
-
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !
|
|
2446
|
+
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !Gn(e, Wn)) return null;
|
|
2296
2447
|
let n = t.icons;
|
|
2297
2448
|
for (let e in n) {
|
|
2298
2449
|
let t = n[e];
|
|
2299
|
-
if (!e || typeof t.body != "string" || !
|
|
2450
|
+
if (!e || typeof t.body != "string" || !Gn(t, zn)) return null;
|
|
2300
2451
|
}
|
|
2301
2452
|
let r = t.aliases || Object.create(null);
|
|
2302
2453
|
for (let e in r) {
|
|
2303
2454
|
let t = r[e], i = t.parent;
|
|
2304
|
-
if (!e || typeof i != "string" || !n[i] && !r[i] || !
|
|
2455
|
+
if (!e || typeof i != "string" || !n[i] && !r[i] || !Gn(t, zn)) return null;
|
|
2305
2456
|
}
|
|
2306
2457
|
return t;
|
|
2307
2458
|
}
|
|
2308
|
-
var
|
|
2309
|
-
function
|
|
2459
|
+
var qn = Object.create(null);
|
|
2460
|
+
function Jn(e, t) {
|
|
2310
2461
|
return {
|
|
2311
2462
|
provider: e,
|
|
2312
2463
|
prefix: t,
|
|
@@ -2314,22 +2465,22 @@ function Bn(e, t) {
|
|
|
2314
2465
|
missing: /* @__PURE__ */ new Set()
|
|
2315
2466
|
};
|
|
2316
2467
|
}
|
|
2317
|
-
function
|
|
2318
|
-
let n =
|
|
2319
|
-
return n[t] || (n[t] =
|
|
2468
|
+
function U(e, t) {
|
|
2469
|
+
let n = qn[e] || (qn[e] = Object.create(null));
|
|
2470
|
+
return n[t] || (n[t] = Jn(e, t));
|
|
2320
2471
|
}
|
|
2321
|
-
function
|
|
2322
|
-
return
|
|
2472
|
+
function Yn(e, t) {
|
|
2473
|
+
return Kn(t) ? Un(t, (t, n) => {
|
|
2323
2474
|
n ? e.icons[t] = n : e.missing.add(t);
|
|
2324
2475
|
}) : [];
|
|
2325
2476
|
}
|
|
2326
|
-
function
|
|
2477
|
+
function Xn(e, t, n) {
|
|
2327
2478
|
try {
|
|
2328
2479
|
if (typeof n.body == "string") return e.icons[t] = { ...n }, !0;
|
|
2329
2480
|
} catch {}
|
|
2330
2481
|
return !1;
|
|
2331
2482
|
}
|
|
2332
|
-
var
|
|
2483
|
+
var Zn = /^[a-z0-9]+(-[a-z0-9]+)*$/, W = (e, t, n, r = "") => {
|
|
2333
2484
|
let i = e.split(":");
|
|
2334
2485
|
if (e.slice(0, 1) === "@") {
|
|
2335
2486
|
if (i.length < 2 || i.length > 3) return null;
|
|
@@ -2342,7 +2493,7 @@ var Un = /^[a-z0-9]+(-[a-z0-9]+)*$/, Wn = (e, t, n, r = "") => {
|
|
|
2342
2493
|
prefix: n,
|
|
2343
2494
|
name: e
|
|
2344
2495
|
};
|
|
2345
|
-
return t && !
|
|
2496
|
+
return t && !G(a) ? null : a;
|
|
2346
2497
|
}
|
|
2347
2498
|
let a = i[0], o = a.split("-");
|
|
2348
2499
|
if (o.length > 1) {
|
|
@@ -2351,7 +2502,7 @@ var Un = /^[a-z0-9]+(-[a-z0-9]+)*$/, Wn = (e, t, n, r = "") => {
|
|
|
2351
2502
|
prefix: o.shift(),
|
|
2352
2503
|
name: o.join("-")
|
|
2353
2504
|
};
|
|
2354
|
-
return t && !
|
|
2505
|
+
return t && !G(e) ? null : e;
|
|
2355
2506
|
}
|
|
2356
2507
|
if (n && r === "") {
|
|
2357
2508
|
let e = {
|
|
@@ -2359,54 +2510,54 @@ var Un = /^[a-z0-9]+(-[a-z0-9]+)*$/, Wn = (e, t, n, r = "") => {
|
|
|
2359
2510
|
prefix: "",
|
|
2360
2511
|
name: a
|
|
2361
2512
|
};
|
|
2362
|
-
return t && !
|
|
2513
|
+
return t && !G(e, n) ? null : e;
|
|
2363
2514
|
}
|
|
2364
2515
|
return null;
|
|
2365
|
-
},
|
|
2366
|
-
function
|
|
2367
|
-
return typeof e == "boolean" && (
|
|
2516
|
+
}, G = (e, t) => e ? !!((t && e.prefix === "" || e.prefix) && e.name) : !1, K = !1;
|
|
2517
|
+
function Qn(e) {
|
|
2518
|
+
return typeof e == "boolean" && (K = e), K;
|
|
2368
2519
|
}
|
|
2369
|
-
function
|
|
2370
|
-
let t = typeof e == "string" ?
|
|
2520
|
+
function $n(e) {
|
|
2521
|
+
let t = typeof e == "string" ? W(e, !0, K) : e;
|
|
2371
2522
|
if (t) {
|
|
2372
|
-
let e =
|
|
2523
|
+
let e = U(t.provider, t.prefix), n = t.name;
|
|
2373
2524
|
return e.icons[n] || (e.missing.has(n) ? null : void 0);
|
|
2374
2525
|
}
|
|
2375
2526
|
}
|
|
2376
|
-
function
|
|
2377
|
-
let n =
|
|
2527
|
+
function er(e, t) {
|
|
2528
|
+
let n = W(e, !0, K);
|
|
2378
2529
|
if (!n) return !1;
|
|
2379
|
-
let r =
|
|
2380
|
-
return t ?
|
|
2530
|
+
let r = U(n.provider, n.prefix);
|
|
2531
|
+
return t ? Xn(r, n.name, t) : (r.missing.add(n.name), !0);
|
|
2381
2532
|
}
|
|
2382
|
-
function
|
|
2533
|
+
function tr(e, t) {
|
|
2383
2534
|
if (typeof e != "object") return !1;
|
|
2384
|
-
if (typeof t != "string" && (t = e.provider || ""),
|
|
2535
|
+
if (typeof t != "string" && (t = e.provider || ""), K && !t && !e.prefix) {
|
|
2385
2536
|
let t = !1;
|
|
2386
|
-
return
|
|
2387
|
-
|
|
2537
|
+
return Kn(e) && (e.prefix = "", Un(e, (e, n) => {
|
|
2538
|
+
er(e, n) && (t = !0);
|
|
2388
2539
|
})), t;
|
|
2389
2540
|
}
|
|
2390
2541
|
let n = e.prefix;
|
|
2391
|
-
return
|
|
2542
|
+
return G({
|
|
2392
2543
|
prefix: n,
|
|
2393
2544
|
name: "a"
|
|
2394
|
-
}) ? !!
|
|
2545
|
+
}) ? !!Yn(U(t, n), e) : !1;
|
|
2395
2546
|
}
|
|
2396
|
-
var
|
|
2547
|
+
var nr = Object.freeze({
|
|
2397
2548
|
width: null,
|
|
2398
2549
|
height: null
|
|
2399
|
-
}),
|
|
2400
|
-
...
|
|
2401
|
-
...
|
|
2402
|
-
}),
|
|
2403
|
-
function
|
|
2550
|
+
}), rr = Object.freeze({
|
|
2551
|
+
...nr,
|
|
2552
|
+
...H
|
|
2553
|
+
}), ir = /(-?[0-9.]*[0-9]+[0-9.]*)/g, ar = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
2554
|
+
function or(e, t, n) {
|
|
2404
2555
|
if (t === 1) return e;
|
|
2405
2556
|
if (n ||= 100, typeof e == "number") return Math.ceil(e * t * n) / n;
|
|
2406
2557
|
if (typeof e != "string") return e;
|
|
2407
|
-
let r = e.split(
|
|
2558
|
+
let r = e.split(ir);
|
|
2408
2559
|
if (r === null || !r.length) return e;
|
|
2409
|
-
let i = [], a = r.shift(), o =
|
|
2560
|
+
let i = [], a = r.shift(), o = ar.test(a);
|
|
2410
2561
|
for (;;) {
|
|
2411
2562
|
if (o) {
|
|
2412
2563
|
let e = parseFloat(a);
|
|
@@ -2416,7 +2567,7 @@ function $n(e, t, n) {
|
|
|
2416
2567
|
o = !o;
|
|
2417
2568
|
}
|
|
2418
2569
|
}
|
|
2419
|
-
function
|
|
2570
|
+
function sr(e, t = "defs") {
|
|
2420
2571
|
let n = "", r = e.indexOf("<" + t);
|
|
2421
2572
|
for (; r >= 0;) {
|
|
2422
2573
|
let i = e.indexOf(">", r), a = e.indexOf("</" + t);
|
|
@@ -2430,20 +2581,20 @@ function er(e, t = "defs") {
|
|
|
2430
2581
|
content: e
|
|
2431
2582
|
};
|
|
2432
2583
|
}
|
|
2433
|
-
function
|
|
2584
|
+
function cr(e, t) {
|
|
2434
2585
|
return e ? "<defs>" + e + "</defs>" + t : t;
|
|
2435
2586
|
}
|
|
2436
|
-
function
|
|
2437
|
-
let r =
|
|
2438
|
-
return
|
|
2587
|
+
function lr(e, t, n) {
|
|
2588
|
+
let r = sr(e);
|
|
2589
|
+
return cr(r.defs, t + r.content + n);
|
|
2439
2590
|
}
|
|
2440
|
-
var
|
|
2441
|
-
function
|
|
2591
|
+
var ur = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
2592
|
+
function dr(e, t) {
|
|
2442
2593
|
let n = {
|
|
2443
|
-
...
|
|
2594
|
+
...Rn,
|
|
2444
2595
|
...e
|
|
2445
2596
|
}, r = {
|
|
2446
|
-
...
|
|
2597
|
+
...rr,
|
|
2447
2598
|
...t
|
|
2448
2599
|
}, i = {
|
|
2449
2600
|
left: n.left,
|
|
@@ -2466,12 +2617,12 @@ function ir(e, t) {
|
|
|
2466
2617
|
s = i.width / 2 + i.left, t.unshift("rotate(-90 " + s.toString() + " " + s.toString() + ")");
|
|
2467
2618
|
break;
|
|
2468
2619
|
}
|
|
2469
|
-
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 =
|
|
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 = lr(a, "<g transform=\"" + t.join(" ") + "\">", "</g>"));
|
|
2470
2621
|
});
|
|
2471
2622
|
let o = r.width, s = r.height, c = i.width, l = i.height, u, d;
|
|
2472
|
-
o === null ? (d = s === null ? "1em" : s === "auto" ? l : s, u =
|
|
2623
|
+
o === null ? (d = s === null ? "1em" : s === "auto" ? l : s, u = or(d, c / l)) : (u = o === "auto" ? c : o, d = s === null ? or(u, l / c) : s === "auto" ? l : s);
|
|
2473
2624
|
let f = {}, p = (e, t) => {
|
|
2474
|
-
|
|
2625
|
+
ur(t) || (f[e] = t.toString());
|
|
2475
2626
|
};
|
|
2476
2627
|
p("width", u), p("height", d);
|
|
2477
2628
|
let m = [
|
|
@@ -2486,25 +2637,25 @@ function ir(e, t) {
|
|
|
2486
2637
|
body: a
|
|
2487
2638
|
};
|
|
2488
2639
|
}
|
|
2489
|
-
var
|
|
2490
|
-
function
|
|
2640
|
+
var fr = /\sid="(\S+)"/g, pr = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16), mr = 0;
|
|
2641
|
+
function hr(e, t = pr) {
|
|
2491
2642
|
let n = [], r;
|
|
2492
|
-
for (; r =
|
|
2643
|
+
for (; r = fr.exec(e);) n.push(r[1]);
|
|
2493
2644
|
if (!n.length) return e;
|
|
2494
2645
|
let i = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
2495
2646
|
return n.forEach((n) => {
|
|
2496
|
-
let r = typeof t == "function" ? t(n) : t + (
|
|
2647
|
+
let r = typeof t == "function" ? t(n) : t + (mr++).toString(), a = n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
2497
2648
|
e = e.replace(RegExp("([#;\"])(" + a + ")([\")]|\\.[a-z])", "g"), "$1" + r + i + "$3");
|
|
2498
2649
|
}), e = e.replace(new RegExp(i, "g"), ""), e;
|
|
2499
2650
|
}
|
|
2500
|
-
var
|
|
2501
|
-
function
|
|
2502
|
-
|
|
2651
|
+
var gr = Object.create(null);
|
|
2652
|
+
function _r(e, t) {
|
|
2653
|
+
gr[e] = t;
|
|
2503
2654
|
}
|
|
2504
|
-
function
|
|
2505
|
-
return
|
|
2655
|
+
function vr(e) {
|
|
2656
|
+
return gr[e] || gr[""];
|
|
2506
2657
|
}
|
|
2507
|
-
function
|
|
2658
|
+
function yr(e) {
|
|
2508
2659
|
let t;
|
|
2509
2660
|
if (typeof e.resources == "string") t = [e.resources];
|
|
2510
2661
|
else if (t = e.resources, !(t instanceof Array) || !t.length) return null;
|
|
@@ -2519,23 +2670,23 @@ function fr(e) {
|
|
|
2519
2670
|
dataAfterTimeout: e.dataAfterTimeout !== !1
|
|
2520
2671
|
};
|
|
2521
2672
|
}
|
|
2522
|
-
for (var
|
|
2523
|
-
|
|
2524
|
-
function
|
|
2525
|
-
let n =
|
|
2526
|
-
return n === null ? !1 : (
|
|
2673
|
+
for (var br = Object.create(null), xr = ["https://api.simplesvg.com", "https://api.unisvg.com"], Sr = []; xr.length > 0;) Sr.push(xr.length === 1 || Math.random() > .5 ? xr.shift() : xr.pop());
|
|
2674
|
+
br[""] = yr({ resources: ["https://api.iconify.design"].concat(Sr) });
|
|
2675
|
+
function Cr(e, t) {
|
|
2676
|
+
let n = yr(t);
|
|
2677
|
+
return n === null ? !1 : (br[e] = n, !0);
|
|
2527
2678
|
}
|
|
2528
|
-
function
|
|
2529
|
-
return
|
|
2679
|
+
function wr(e) {
|
|
2680
|
+
return br[e];
|
|
2530
2681
|
}
|
|
2531
|
-
var
|
|
2682
|
+
var Tr = (() => {
|
|
2532
2683
|
let e;
|
|
2533
2684
|
try {
|
|
2534
2685
|
if (e = fetch, typeof e == "function") return e;
|
|
2535
2686
|
} catch {}
|
|
2536
2687
|
})();
|
|
2537
|
-
function
|
|
2538
|
-
let n =
|
|
2688
|
+
function Er(e, t) {
|
|
2689
|
+
let n = wr(e);
|
|
2539
2690
|
if (!n) return 0;
|
|
2540
2691
|
let r;
|
|
2541
2692
|
if (!n.maxURL) r = 0;
|
|
@@ -2549,11 +2700,11 @@ function vr(e, t) {
|
|
|
2549
2700
|
}
|
|
2550
2701
|
return r;
|
|
2551
2702
|
}
|
|
2552
|
-
function
|
|
2703
|
+
function Dr(e) {
|
|
2553
2704
|
return e === 404;
|
|
2554
2705
|
}
|
|
2555
|
-
var
|
|
2556
|
-
let r = [], i =
|
|
2706
|
+
var Or = (e, t, n) => {
|
|
2707
|
+
let r = [], i = Er(e, t), a = "icons", o = {
|
|
2557
2708
|
type: a,
|
|
2558
2709
|
provider: e,
|
|
2559
2710
|
prefix: t,
|
|
@@ -2568,21 +2719,21 @@ var br = (e, t, n) => {
|
|
|
2568
2719
|
}, s = n.length), o.icons.push(n);
|
|
2569
2720
|
}), r.push(o), r;
|
|
2570
2721
|
};
|
|
2571
|
-
function
|
|
2722
|
+
function kr(e) {
|
|
2572
2723
|
if (typeof e == "string") {
|
|
2573
|
-
let t =
|
|
2724
|
+
let t = wr(e);
|
|
2574
2725
|
if (t) return t.path;
|
|
2575
2726
|
}
|
|
2576
2727
|
return "/";
|
|
2577
2728
|
}
|
|
2578
|
-
var
|
|
2579
|
-
prepare:
|
|
2729
|
+
var Ar = {
|
|
2730
|
+
prepare: Or,
|
|
2580
2731
|
send: (e, t, n) => {
|
|
2581
|
-
if (!
|
|
2732
|
+
if (!Tr) {
|
|
2582
2733
|
n("abort", 424);
|
|
2583
2734
|
return;
|
|
2584
2735
|
}
|
|
2585
|
-
let r =
|
|
2736
|
+
let r = kr(t.provider);
|
|
2586
2737
|
switch (t.type) {
|
|
2587
2738
|
case "icons": {
|
|
2588
2739
|
let e = t.prefix, n = t.icons.join(","), i = new URLSearchParams({ icons: n });
|
|
@@ -2599,11 +2750,11 @@ var Sr = {
|
|
|
2599
2750
|
return;
|
|
2600
2751
|
}
|
|
2601
2752
|
let i = 503;
|
|
2602
|
-
|
|
2753
|
+
Tr(e + r).then((e) => {
|
|
2603
2754
|
let t = e.status;
|
|
2604
2755
|
if (t !== 200) {
|
|
2605
2756
|
setTimeout(() => {
|
|
2606
|
-
n(
|
|
2757
|
+
n(Dr(t) ? "abort" : "next", t);
|
|
2607
2758
|
});
|
|
2608
2759
|
return;
|
|
2609
2760
|
}
|
|
@@ -2623,13 +2774,13 @@ var Sr = {
|
|
|
2623
2774
|
});
|
|
2624
2775
|
}
|
|
2625
2776
|
};
|
|
2626
|
-
function
|
|
2777
|
+
function jr(e, t) {
|
|
2627
2778
|
e.forEach((e) => {
|
|
2628
2779
|
let n = e.loaderCallbacks;
|
|
2629
2780
|
n && (e.loaderCallbacks = n.filter((e) => e.id !== t));
|
|
2630
2781
|
});
|
|
2631
2782
|
}
|
|
2632
|
-
function
|
|
2783
|
+
function Mr(e) {
|
|
2633
2784
|
e.pendingCallbacksFlag || (e.pendingCallbacksFlag = !0, setTimeout(() => {
|
|
2634
2785
|
e.pendingCallbacksFlag = !1;
|
|
2635
2786
|
let t = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
|
|
@@ -2652,13 +2803,13 @@ function wr(e) {
|
|
|
2652
2803
|
});
|
|
2653
2804
|
else return n = !0, !0;
|
|
2654
2805
|
return !1;
|
|
2655
|
-
}), a.pending.length !== o && (n ||
|
|
2806
|
+
}), a.pending.length !== o && (n || jr([e], t.id), t.callback(a.loaded.slice(0), a.missing.slice(0), a.pending.slice(0), t.abort));
|
|
2656
2807
|
});
|
|
2657
2808
|
}));
|
|
2658
2809
|
}
|
|
2659
|
-
var
|
|
2660
|
-
function
|
|
2661
|
-
let r =
|
|
2810
|
+
var Nr = 0;
|
|
2811
|
+
function Pr(e, t, n) {
|
|
2812
|
+
let r = Nr++, i = jr.bind(null, n, r);
|
|
2662
2813
|
if (!t.pending.length) return i;
|
|
2663
2814
|
let a = {
|
|
2664
2815
|
id: r,
|
|
@@ -2670,7 +2821,7 @@ function Er(e, t, n) {
|
|
|
2670
2821
|
(e.loaderCallbacks ||= []).push(a);
|
|
2671
2822
|
}), i;
|
|
2672
2823
|
}
|
|
2673
|
-
function
|
|
2824
|
+
function Fr(e) {
|
|
2674
2825
|
let t = {
|
|
2675
2826
|
loaded: [],
|
|
2676
2827
|
missing: [],
|
|
@@ -2685,7 +2836,7 @@ function Dr(e) {
|
|
|
2685
2836
|
return e.forEach((e) => {
|
|
2686
2837
|
if (r.name === e.name && r.prefix === e.prefix && r.provider === e.provider) return;
|
|
2687
2838
|
r = e;
|
|
2688
|
-
let i = e.provider, a = e.prefix, o = e.name, s = n[i] || (n[i] = Object.create(null)), c = s[a] || (s[a] =
|
|
2839
|
+
let i = e.provider, a = e.prefix, o = e.name, s = n[i] || (n[i] = Object.create(null)), c = s[a] || (s[a] = U(i, a)), l;
|
|
2689
2840
|
l = o in c.icons ? t.loaded : a === "" || c.missing.has(o) ? t.missing : t.pending, l.push({
|
|
2690
2841
|
provider: i,
|
|
2691
2842
|
prefix: a,
|
|
@@ -2693,14 +2844,14 @@ function Dr(e) {
|
|
|
2693
2844
|
});
|
|
2694
2845
|
}), t;
|
|
2695
2846
|
}
|
|
2696
|
-
function
|
|
2847
|
+
function Ir(e, t = !0, n = !1) {
|
|
2697
2848
|
let r = [];
|
|
2698
2849
|
return e.forEach((e) => {
|
|
2699
|
-
let i = typeof e == "string" ?
|
|
2850
|
+
let i = typeof e == "string" ? W(e, t, n) : e;
|
|
2700
2851
|
i && r.push(i);
|
|
2701
2852
|
}), r;
|
|
2702
2853
|
}
|
|
2703
|
-
var
|
|
2854
|
+
var Lr = {
|
|
2704
2855
|
resources: [],
|
|
2705
2856
|
index: 0,
|
|
2706
2857
|
timeout: 2e3,
|
|
@@ -2708,7 +2859,7 @@ var kr = {
|
|
|
2708
2859
|
random: !1,
|
|
2709
2860
|
dataAfterTimeout: !1
|
|
2710
2861
|
};
|
|
2711
|
-
function
|
|
2862
|
+
function Rr(e, t, n, r) {
|
|
2712
2863
|
let i = e.random ? Math.floor(Math.random() * e.resources.length) : e.index, a;
|
|
2713
2864
|
if (e.random) {
|
|
2714
2865
|
let t = e.resources.slice(0);
|
|
@@ -2802,16 +2953,16 @@ function Ar(e, t, n, r) {
|
|
|
2802
2953
|
}
|
|
2803
2954
|
return setTimeout(y), g;
|
|
2804
2955
|
}
|
|
2805
|
-
function
|
|
2956
|
+
function zr(e) {
|
|
2806
2957
|
let t = {
|
|
2807
|
-
...
|
|
2958
|
+
...Lr,
|
|
2808
2959
|
...e
|
|
2809
2960
|
}, n = [];
|
|
2810
2961
|
function r() {
|
|
2811
2962
|
n = n.filter((e) => e().status === "pending");
|
|
2812
2963
|
}
|
|
2813
2964
|
function i(e, i, a) {
|
|
2814
|
-
let o =
|
|
2965
|
+
let o = Rr(t, e, i, (e, t) => {
|
|
2815
2966
|
r(), a && a(e, t);
|
|
2816
2967
|
});
|
|
2817
2968
|
return n.push(o), o;
|
|
@@ -2829,53 +2980,53 @@ function jr(e) {
|
|
|
2829
2980
|
cleanup: r
|
|
2830
2981
|
};
|
|
2831
2982
|
}
|
|
2832
|
-
function
|
|
2833
|
-
var
|
|
2834
|
-
function
|
|
2835
|
-
if (!
|
|
2836
|
-
let t =
|
|
2983
|
+
function Br() {}
|
|
2984
|
+
var Vr = Object.create(null);
|
|
2985
|
+
function Hr(e) {
|
|
2986
|
+
if (!Vr[e]) {
|
|
2987
|
+
let t = wr(e);
|
|
2837
2988
|
if (!t) return;
|
|
2838
|
-
|
|
2989
|
+
Vr[e] = {
|
|
2839
2990
|
config: t,
|
|
2840
|
-
redundancy:
|
|
2991
|
+
redundancy: zr(t)
|
|
2841
2992
|
};
|
|
2842
2993
|
}
|
|
2843
|
-
return
|
|
2994
|
+
return Vr[e];
|
|
2844
2995
|
}
|
|
2845
|
-
function
|
|
2996
|
+
function Ur(e, t, n) {
|
|
2846
2997
|
let r, i;
|
|
2847
2998
|
if (typeof e == "string") {
|
|
2848
|
-
let t =
|
|
2849
|
-
if (!t) return n(void 0, 424),
|
|
2999
|
+
let t = vr(e);
|
|
3000
|
+
if (!t) return n(void 0, 424), Br;
|
|
2850
3001
|
i = t.send;
|
|
2851
|
-
let a =
|
|
3002
|
+
let a = Hr(e);
|
|
2852
3003
|
a && (r = a.redundancy);
|
|
2853
3004
|
} else {
|
|
2854
|
-
let t =
|
|
3005
|
+
let t = yr(e);
|
|
2855
3006
|
if (t) {
|
|
2856
|
-
r =
|
|
2857
|
-
let n =
|
|
3007
|
+
r = zr(t);
|
|
3008
|
+
let n = vr(e.resources ? e.resources[0] : "");
|
|
2858
3009
|
n && (i = n.send);
|
|
2859
3010
|
}
|
|
2860
3011
|
}
|
|
2861
|
-
return !r || !i ? (n(void 0, 424),
|
|
3012
|
+
return !r || !i ? (n(void 0, 424), Br) : r.query(t, i, n)().abort;
|
|
2862
3013
|
}
|
|
2863
|
-
function
|
|
2864
|
-
function
|
|
3014
|
+
function Wr() {}
|
|
3015
|
+
function Gr(e) {
|
|
2865
3016
|
e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
|
|
2866
|
-
e.iconsLoaderFlag = !1,
|
|
3017
|
+
e.iconsLoaderFlag = !1, Mr(e);
|
|
2867
3018
|
}));
|
|
2868
3019
|
}
|
|
2869
|
-
function
|
|
3020
|
+
function Kr(e) {
|
|
2870
3021
|
let t = [], n = [];
|
|
2871
3022
|
return e.forEach((e) => {
|
|
2872
|
-
(e.match(
|
|
3023
|
+
(e.match(Zn) ? t : n).push(e);
|
|
2873
3024
|
}), {
|
|
2874
3025
|
valid: t,
|
|
2875
3026
|
invalid: n
|
|
2876
3027
|
};
|
|
2877
3028
|
}
|
|
2878
|
-
function
|
|
3029
|
+
function q(e, t, n) {
|
|
2879
3030
|
function r() {
|
|
2880
3031
|
let n = e.pendingIcons;
|
|
2881
3032
|
t.forEach((t) => {
|
|
@@ -2883,38 +3034,38 @@ function H(e, t, n) {
|
|
|
2883
3034
|
});
|
|
2884
3035
|
}
|
|
2885
3036
|
if (n && typeof n == "object") try {
|
|
2886
|
-
if (!
|
|
3037
|
+
if (!Yn(e, n).length) {
|
|
2887
3038
|
r();
|
|
2888
3039
|
return;
|
|
2889
3040
|
}
|
|
2890
3041
|
} catch (e) {
|
|
2891
3042
|
console.error(e);
|
|
2892
3043
|
}
|
|
2893
|
-
r(),
|
|
3044
|
+
r(), Gr(e);
|
|
2894
3045
|
}
|
|
2895
|
-
function
|
|
3046
|
+
function qr(e, t) {
|
|
2896
3047
|
e instanceof Promise ? e.then((e) => {
|
|
2897
3048
|
t(e);
|
|
2898
3049
|
}).catch(() => {
|
|
2899
3050
|
t(null);
|
|
2900
3051
|
}) : t(e);
|
|
2901
3052
|
}
|
|
2902
|
-
function
|
|
3053
|
+
function Jr(e, t) {
|
|
2903
3054
|
e.iconsToLoad ? e.iconsToLoad = e.iconsToLoad.concat(t).sort() : e.iconsToLoad = t, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
|
|
2904
3055
|
e.iconsQueueFlag = !1;
|
|
2905
3056
|
let { provider: t, prefix: n } = e, r = e.iconsToLoad;
|
|
2906
3057
|
if (delete e.iconsToLoad, !r || !r.length) return;
|
|
2907
3058
|
let i = e.loadIcon;
|
|
2908
3059
|
if (e.loadIcons && (r.length > 1 || !i)) {
|
|
2909
|
-
|
|
2910
|
-
|
|
3060
|
+
qr(e.loadIcons(r, n, t), (t) => {
|
|
3061
|
+
q(e, r, t);
|
|
2911
3062
|
});
|
|
2912
3063
|
return;
|
|
2913
3064
|
}
|
|
2914
3065
|
if (i) {
|
|
2915
3066
|
r.forEach((r) => {
|
|
2916
|
-
|
|
2917
|
-
|
|
3067
|
+
qr(i(r, n, t), (t) => {
|
|
3068
|
+
q(e, [r], t ? {
|
|
2918
3069
|
prefix: n,
|
|
2919
3070
|
icons: { [r]: t }
|
|
2920
3071
|
} : null);
|
|
@@ -2922,26 +3073,26 @@ function Br(e, t) {
|
|
|
2922
3073
|
});
|
|
2923
3074
|
return;
|
|
2924
3075
|
}
|
|
2925
|
-
let { valid: a, invalid: o } =
|
|
2926
|
-
if (o.length &&
|
|
2927
|
-
let s = n.match(
|
|
3076
|
+
let { valid: a, invalid: o } = Kr(r);
|
|
3077
|
+
if (o.length && q(e, o, null), !a.length) return;
|
|
3078
|
+
let s = n.match(Zn) ? vr(t) : null;
|
|
2928
3079
|
if (!s) {
|
|
2929
|
-
|
|
3080
|
+
q(e, a, null);
|
|
2930
3081
|
return;
|
|
2931
3082
|
}
|
|
2932
3083
|
s.prepare(t, n, a).forEach((n) => {
|
|
2933
|
-
|
|
2934
|
-
|
|
3084
|
+
Ur(t, n, (t) => {
|
|
3085
|
+
q(e, n.icons, t);
|
|
2935
3086
|
});
|
|
2936
3087
|
});
|
|
2937
3088
|
}));
|
|
2938
3089
|
}
|
|
2939
|
-
var
|
|
2940
|
-
let n =
|
|
3090
|
+
var Yr = (e, t) => {
|
|
3091
|
+
let n = Fr(Ir(e, !0, Qn()));
|
|
2941
3092
|
if (!n.pending.length) {
|
|
2942
3093
|
let e = !0;
|
|
2943
3094
|
return t && setTimeout(() => {
|
|
2944
|
-
e && t(n.loaded, n.missing, n.pending,
|
|
3095
|
+
e && t(n.loaded, n.missing, n.pending, Wr);
|
|
2945
3096
|
}), () => {
|
|
2946
3097
|
e = !1;
|
|
2947
3098
|
};
|
|
@@ -2950,28 +3101,28 @@ var Vr = (e, t) => {
|
|
|
2950
3101
|
return n.pending.forEach((e) => {
|
|
2951
3102
|
let { provider: t, prefix: n } = e;
|
|
2952
3103
|
if (n === o && t === a) return;
|
|
2953
|
-
a = t, o = n, i.push(
|
|
3104
|
+
a = t, o = n, i.push(U(t, n));
|
|
2954
3105
|
let s = r[t] || (r[t] = Object.create(null));
|
|
2955
3106
|
s[n] || (s[n] = []);
|
|
2956
3107
|
}), n.pending.forEach((e) => {
|
|
2957
|
-
let { provider: t, prefix: n, name: i } = e, a =
|
|
3108
|
+
let { provider: t, prefix: n, name: i } = e, a = U(t, n), o = a.pendingIcons ||= /* @__PURE__ */ new Set();
|
|
2958
3109
|
o.has(i) || (o.add(i), r[t][n].push(i));
|
|
2959
3110
|
}), i.forEach((e) => {
|
|
2960
3111
|
let t = r[e.provider][e.prefix];
|
|
2961
|
-
t.length &&
|
|
2962
|
-
}), t ?
|
|
3112
|
+
t.length && Jr(e, t);
|
|
3113
|
+
}), t ? Pr(t, n, i) : Wr;
|
|
2963
3114
|
};
|
|
2964
|
-
function
|
|
3115
|
+
function Xr(e, t) {
|
|
2965
3116
|
let n = { ...e };
|
|
2966
3117
|
for (let e in t) {
|
|
2967
3118
|
let r = t[e], i = typeof r;
|
|
2968
|
-
e in
|
|
3119
|
+
e in nr ? (r === null || r && (i === "string" || i === "number")) && (n[e] = r) : i === typeof n[e] && (n[e] = e === "rotate" ? r % 4 : r);
|
|
2969
3120
|
}
|
|
2970
3121
|
return n;
|
|
2971
3122
|
}
|
|
2972
|
-
var
|
|
2973
|
-
function
|
|
2974
|
-
t.split(
|
|
3123
|
+
var Zr = /[\s,]+/;
|
|
3124
|
+
function Qr(e, t) {
|
|
3125
|
+
t.split(Zr).forEach((t) => {
|
|
2975
3126
|
switch (t.trim()) {
|
|
2976
3127
|
case "horizontal":
|
|
2977
3128
|
e.hFlip = !0;
|
|
@@ -2982,7 +3133,7 @@ function Wr(e, t) {
|
|
|
2982
3133
|
}
|
|
2983
3134
|
});
|
|
2984
3135
|
}
|
|
2985
|
-
function
|
|
3136
|
+
function $r(e, t = 0) {
|
|
2986
3137
|
let n = e.replace(/^-?[0-9.]*/, "");
|
|
2987
3138
|
function r(e) {
|
|
2988
3139
|
for (; e < 0;) e += 4;
|
|
@@ -3006,63 +3157,63 @@ function Gr(e, t = 0) {
|
|
|
3006
3157
|
}
|
|
3007
3158
|
return t;
|
|
3008
3159
|
}
|
|
3009
|
-
function
|
|
3160
|
+
function ei(e, t) {
|
|
3010
3161
|
let n = e.indexOf("xlink:") === -1 ? "" : " xmlns:xlink=\"http://www.w3.org/1999/xlink\"";
|
|
3011
3162
|
for (let e in t) n += " " + e + "=\"" + t[e] + "\"";
|
|
3012
3163
|
return "<svg xmlns=\"http://www.w3.org/2000/svg\"" + n + ">" + e + "</svg>";
|
|
3013
3164
|
}
|
|
3014
|
-
function
|
|
3165
|
+
function ti(e) {
|
|
3015
3166
|
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
3016
3167
|
}
|
|
3017
|
-
function
|
|
3018
|
-
return "data:image/svg+xml," +
|
|
3168
|
+
function ni(e) {
|
|
3169
|
+
return "data:image/svg+xml," + ti(e);
|
|
3019
3170
|
}
|
|
3020
|
-
function
|
|
3021
|
-
return "url(\"" +
|
|
3171
|
+
function ri(e) {
|
|
3172
|
+
return "url(\"" + ni(e) + "\")";
|
|
3022
3173
|
}
|
|
3023
|
-
var
|
|
3024
|
-
function
|
|
3174
|
+
var J;
|
|
3175
|
+
function ii() {
|
|
3025
3176
|
try {
|
|
3026
|
-
|
|
3177
|
+
J = window.trustedTypes.createPolicy("iconify", { createHTML: (e) => e });
|
|
3027
3178
|
} catch {
|
|
3028
|
-
|
|
3179
|
+
J = null;
|
|
3029
3180
|
}
|
|
3030
3181
|
}
|
|
3031
|
-
function
|
|
3032
|
-
return
|
|
3182
|
+
function ai(e) {
|
|
3183
|
+
return J === void 0 && ii(), J ? J.createHTML(e) : e;
|
|
3033
3184
|
}
|
|
3034
|
-
var
|
|
3035
|
-
...
|
|
3185
|
+
var oi = {
|
|
3186
|
+
...rr,
|
|
3036
3187
|
inline: !1
|
|
3037
|
-
},
|
|
3188
|
+
}, si = {
|
|
3038
3189
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3039
3190
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
3040
3191
|
"aria-hidden": !0,
|
|
3041
3192
|
role: "img"
|
|
3042
|
-
},
|
|
3193
|
+
}, ci = { display: "inline-block" }, li = { backgroundColor: "currentColor" }, ui = { backgroundColor: "transparent" }, di = {
|
|
3043
3194
|
Image: "var(--svg)",
|
|
3044
3195
|
Repeat: "no-repeat",
|
|
3045
3196
|
Size: "100% 100%"
|
|
3046
|
-
},
|
|
3047
|
-
WebkitMask:
|
|
3048
|
-
mask:
|
|
3049
|
-
background:
|
|
3197
|
+
}, fi = {
|
|
3198
|
+
WebkitMask: li,
|
|
3199
|
+
mask: li,
|
|
3200
|
+
background: ui
|
|
3050
3201
|
};
|
|
3051
|
-
for (let e in
|
|
3052
|
-
let t =
|
|
3053
|
-
for (let n in
|
|
3202
|
+
for (let e in fi) {
|
|
3203
|
+
let t = fi[e];
|
|
3204
|
+
for (let n in di) t[e + n] = di[n];
|
|
3054
3205
|
}
|
|
3055
|
-
var
|
|
3056
|
-
...
|
|
3206
|
+
var pi = {
|
|
3207
|
+
...oi,
|
|
3057
3208
|
inline: !0
|
|
3058
3209
|
};
|
|
3059
|
-
function
|
|
3210
|
+
function mi(e) {
|
|
3060
3211
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
3061
3212
|
}
|
|
3062
|
-
var
|
|
3063
|
-
let r = t.inline ?
|
|
3213
|
+
var hi = (e, t, n) => {
|
|
3214
|
+
let r = t.inline ? pi : oi, i = Xr(r, t), a = t.mode || "svg", o = {}, s = t.style || {}, c = { ...a === "svg" ? si : {} };
|
|
3064
3215
|
if (n) {
|
|
3065
|
-
let e =
|
|
3216
|
+
let e = W(n, !1, !0);
|
|
3066
3217
|
if (e) {
|
|
3067
3218
|
let t = ["iconify"];
|
|
3068
3219
|
for (let n of ["provider", "prefix"]) e[n] && t.push("iconify--" + e[n]);
|
|
@@ -3091,13 +3242,13 @@ var si = (e, t, n) => {
|
|
|
3091
3242
|
i[e] = n === !0 || n === "true" || n === 1;
|
|
3092
3243
|
break;
|
|
3093
3244
|
case "flip":
|
|
3094
|
-
typeof n == "string" &&
|
|
3245
|
+
typeof n == "string" && Qr(i, n);
|
|
3095
3246
|
break;
|
|
3096
3247
|
case "color":
|
|
3097
3248
|
o.color = n;
|
|
3098
3249
|
break;
|
|
3099
3250
|
case "rotate":
|
|
3100
|
-
typeof n == "string" ? i[e] =
|
|
3251
|
+
typeof n == "string" ? i[e] = $r(n) : typeof n == "number" && (i[e] = n);
|
|
3101
3252
|
break;
|
|
3102
3253
|
case "ariaHidden":
|
|
3103
3254
|
case "aria-hidden":
|
|
@@ -3106,37 +3257,37 @@ var si = (e, t, n) => {
|
|
|
3106
3257
|
default: r[e] === void 0 && (c[e] = n);
|
|
3107
3258
|
}
|
|
3108
3259
|
}
|
|
3109
|
-
let l =
|
|
3260
|
+
let l = dr(e, i), u = l.attributes;
|
|
3110
3261
|
if (i.inline && (o.verticalAlign = "-0.125em"), a === "svg") {
|
|
3111
3262
|
c.style = {
|
|
3112
3263
|
...o,
|
|
3113
3264
|
...s
|
|
3114
3265
|
}, Object.assign(c, u);
|
|
3115
3266
|
let e = 0, n = t.id;
|
|
3116
|
-
return typeof n == "string" && (n = n.replace(/-/g, "_")), c.dangerouslySetInnerHTML = { __html:
|
|
3267
|
+
return typeof n == "string" && (n = n.replace(/-/g, "_")), c.dangerouslySetInnerHTML = { __html: ai(hr(l.body, n ? () => n + "ID" + e++ : "iconifyReact")) }, me("svg", c);
|
|
3117
3268
|
}
|
|
3118
|
-
let { body: d, width: f, height: p } = e, m = a === "mask" || (a === "bg" ? !1 : d.indexOf("currentColor") !== -1), h =
|
|
3269
|
+
let { body: d, width: f, height: p } = e, m = a === "mask" || (a === "bg" ? !1 : d.indexOf("currentColor") !== -1), h = ei(d, {
|
|
3119
3270
|
...u,
|
|
3120
3271
|
width: f + "",
|
|
3121
3272
|
height: p + ""
|
|
3122
3273
|
});
|
|
3123
3274
|
return c.style = {
|
|
3124
3275
|
...o,
|
|
3125
|
-
"--svg":
|
|
3126
|
-
width:
|
|
3127
|
-
height:
|
|
3128
|
-
...
|
|
3129
|
-
...m ?
|
|
3276
|
+
"--svg": ri(h),
|
|
3277
|
+
width: mi(u.width),
|
|
3278
|
+
height: mi(u.height),
|
|
3279
|
+
...ci,
|
|
3280
|
+
...m ? li : ui,
|
|
3130
3281
|
...s
|
|
3131
|
-
},
|
|
3282
|
+
}, me("span", c);
|
|
3132
3283
|
};
|
|
3133
|
-
if (
|
|
3284
|
+
if (Qn(!0), _r("", Ar), typeof document < "u" && typeof window < "u") {
|
|
3134
3285
|
let e = window;
|
|
3135
3286
|
if (e.IconifyPreload !== void 0) {
|
|
3136
3287
|
let t = e.IconifyPreload, n = "Invalid IconifyPreload syntax.";
|
|
3137
3288
|
typeof t == "object" && t && (t instanceof Array ? t : [t]).forEach((e) => {
|
|
3138
3289
|
try {
|
|
3139
|
-
(typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !
|
|
3290
|
+
(typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !tr(e)) && console.error(n);
|
|
3140
3291
|
} catch {
|
|
3141
3292
|
console.error(n);
|
|
3142
3293
|
}
|
|
@@ -3149,15 +3300,15 @@ if (Gn(!0), ur("", Sr), typeof document < "u" && typeof window < "u") {
|
|
|
3149
3300
|
try {
|
|
3150
3301
|
let r = t[e];
|
|
3151
3302
|
if (typeof r != "object" || !r || r.resources === void 0) continue;
|
|
3152
|
-
|
|
3303
|
+
Cr(e, r) || console.error(n);
|
|
3153
3304
|
} catch {
|
|
3154
3305
|
console.error(n);
|
|
3155
3306
|
}
|
|
3156
3307
|
}
|
|
3157
3308
|
}
|
|
3158
3309
|
}
|
|
3159
|
-
function
|
|
3160
|
-
let [t, n] =
|
|
3310
|
+
function gi(e) {
|
|
3311
|
+
let [t, n] = T(!!e.ssr), [r, i] = T({});
|
|
3161
3312
|
function a(t) {
|
|
3162
3313
|
if (t) {
|
|
3163
3314
|
let t = e.icon;
|
|
@@ -3165,7 +3316,7 @@ function ci(e) {
|
|
|
3165
3316
|
name: "",
|
|
3166
3317
|
data: t
|
|
3167
3318
|
};
|
|
3168
|
-
let n =
|
|
3319
|
+
let n = $n(t);
|
|
3169
3320
|
if (n) return {
|
|
3170
3321
|
name: t,
|
|
3171
3322
|
data: n
|
|
@@ -3173,7 +3324,7 @@ function ci(e) {
|
|
|
3173
3324
|
}
|
|
3174
3325
|
return { name: "" };
|
|
3175
3326
|
}
|
|
3176
|
-
let [o, s] =
|
|
3327
|
+
let [o, s] = T(a(!!e.ssr));
|
|
3177
3328
|
function c() {
|
|
3178
3329
|
let e = r.callback;
|
|
3179
3330
|
e && (e(), i({}));
|
|
@@ -3191,478 +3342,478 @@ function ci(e) {
|
|
|
3191
3342
|
});
|
|
3192
3343
|
return;
|
|
3193
3344
|
}
|
|
3194
|
-
let r =
|
|
3345
|
+
let r = $n(n);
|
|
3195
3346
|
l({
|
|
3196
3347
|
name: n,
|
|
3197
3348
|
data: r
|
|
3198
|
-
}) && (r === void 0 ? i({ callback:
|
|
3349
|
+
}) && (r === void 0 ? i({ callback: Yr([n], u) }) : r && ((t = e.onLoad) == null || t.call(e, n)));
|
|
3199
3350
|
}
|
|
3200
|
-
|
|
3351
|
+
C(() => (n(!0), c), []), C(() => {
|
|
3201
3352
|
t && u();
|
|
3202
3353
|
}, [e.icon, t]);
|
|
3203
3354
|
let { name: d, data: f } = o;
|
|
3204
|
-
return f ?
|
|
3205
|
-
...
|
|
3355
|
+
return f ? hi({
|
|
3356
|
+
...Rn,
|
|
3206
3357
|
...f
|
|
3207
|
-
}, e, d) : e.children ? e.children : e.fallback ? e.fallback :
|
|
3358
|
+
}, e, d) : e.children ? e.children : e.fallback ? e.fallback : me("span", {});
|
|
3208
3359
|
}
|
|
3209
|
-
var
|
|
3360
|
+
var _i = he((e, t) => gi({
|
|
3210
3361
|
...e,
|
|
3211
3362
|
_ref: t
|
|
3212
3363
|
}));
|
|
3213
|
-
|
|
3364
|
+
he((e, t) => gi({
|
|
3214
3365
|
inline: !0,
|
|
3215
3366
|
...e,
|
|
3216
3367
|
_ref: t
|
|
3217
3368
|
}));
|
|
3218
3369
|
//#endregion
|
|
3219
3370
|
//#region node_modules/@iconify-icons/heroicons-outline/x-mark.js
|
|
3220
|
-
var
|
|
3371
|
+
var vi = {
|
|
3221
3372
|
width: 24,
|
|
3222
3373
|
height: 24,
|
|
3223
3374
|
hidden: !0,
|
|
3224
3375
|
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\"/>"
|
|
3225
|
-
},
|
|
3376
|
+
}, yi = {
|
|
3226
3377
|
width: 24,
|
|
3227
3378
|
height: 24,
|
|
3228
3379
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 4v16m8-8H4\"/>"
|
|
3229
|
-
},
|
|
3380
|
+
}, bi = {
|
|
3230
3381
|
width: 24,
|
|
3231
3382
|
height: 24,
|
|
3232
3383
|
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\"/>"
|
|
3233
|
-
},
|
|
3384
|
+
}, xi = {
|
|
3234
3385
|
width: 24,
|
|
3235
3386
|
height: 24,
|
|
3236
3387
|
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\"/>"
|
|
3237
|
-
},
|
|
3388
|
+
}, Si = {
|
|
3238
3389
|
width: 24,
|
|
3239
3390
|
height: 24,
|
|
3240
3391
|
hidden: !0,
|
|
3241
3392
|
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\"/>"
|
|
3242
|
-
},
|
|
3393
|
+
}, Ci = {
|
|
3243
3394
|
width: 24,
|
|
3244
3395
|
height: 24,
|
|
3245
3396
|
hidden: !0,
|
|
3246
3397
|
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\"/>"
|
|
3247
|
-
},
|
|
3398
|
+
}, wi = {
|
|
3248
3399
|
width: 24,
|
|
3249
3400
|
height: 24,
|
|
3250
3401
|
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\"/>"
|
|
3251
|
-
},
|
|
3402
|
+
}, Ti = {
|
|
3252
3403
|
width: 24,
|
|
3253
3404
|
height: 24,
|
|
3254
3405
|
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>"
|
|
3255
|
-
},
|
|
3406
|
+
}, Ei = {
|
|
3256
3407
|
width: 24,
|
|
3257
3408
|
height: 24,
|
|
3258
3409
|
hidden: !0,
|
|
3259
3410
|
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\"/>"
|
|
3260
|
-
},
|
|
3411
|
+
}, Di = {
|
|
3261
3412
|
width: 24,
|
|
3262
3413
|
height: 24,
|
|
3263
3414
|
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\"/>"
|
|
3264
|
-
},
|
|
3415
|
+
}, Oi = {
|
|
3265
3416
|
width: 24,
|
|
3266
3417
|
height: 24,
|
|
3267
3418
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15l7-7l7 7\"/>"
|
|
3268
|
-
},
|
|
3419
|
+
}, ki = {
|
|
3269
3420
|
width: 24,
|
|
3270
3421
|
height: 24,
|
|
3271
3422
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9l-7 7l-7-7\"/>"
|
|
3272
|
-
},
|
|
3423
|
+
}, Ai = {
|
|
3273
3424
|
width: 24,
|
|
3274
3425
|
height: 24,
|
|
3275
3426
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19l-7-7l7-7\"/>"
|
|
3276
|
-
},
|
|
3427
|
+
}, ji = {
|
|
3277
3428
|
width: 24,
|
|
3278
3429
|
height: 24,
|
|
3279
3430
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5l7 7l-7 7\"/>"
|
|
3280
|
-
},
|
|
3431
|
+
}, Mi = {
|
|
3281
3432
|
width: 24,
|
|
3282
3433
|
height: 24,
|
|
3283
3434
|
hidden: !0,
|
|
3284
3435
|
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\"/>"
|
|
3285
|
-
},
|
|
3436
|
+
}, Ni = {
|
|
3286
3437
|
width: 24,
|
|
3287
3438
|
height: 24,
|
|
3288
3439
|
hidden: !0,
|
|
3289
3440
|
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\"/>"
|
|
3290
|
-
},
|
|
3441
|
+
}, Pi = {
|
|
3291
3442
|
width: 24,
|
|
3292
3443
|
height: 24,
|
|
3293
3444
|
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\"/>"
|
|
3294
|
-
},
|
|
3445
|
+
}, Fi = {
|
|
3295
3446
|
width: 24,
|
|
3296
3447
|
height: 24,
|
|
3297
3448
|
hidden: !0,
|
|
3298
3449
|
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\"/>"
|
|
3299
|
-
},
|
|
3450
|
+
}, Ii = {
|
|
3300
3451
|
width: 24,
|
|
3301
3452
|
height: 24,
|
|
3302
3453
|
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\"/>"
|
|
3303
|
-
},
|
|
3454
|
+
}, Li = {
|
|
3304
3455
|
width: 24,
|
|
3305
3456
|
height: 24,
|
|
3306
3457
|
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\"/>"
|
|
3307
|
-
},
|
|
3458
|
+
}, Ri = {
|
|
3308
3459
|
width: 24,
|
|
3309
3460
|
height: 24,
|
|
3310
3461
|
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>"
|
|
3311
|
-
},
|
|
3462
|
+
}, zi = {
|
|
3312
3463
|
width: 24,
|
|
3313
3464
|
height: 24,
|
|
3314
3465
|
hidden: !0,
|
|
3315
3466
|
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\"/>"
|
|
3316
|
-
},
|
|
3467
|
+
}, Bi = {
|
|
3317
3468
|
width: 24,
|
|
3318
3469
|
height: 24,
|
|
3319
3470
|
hidden: !0,
|
|
3320
3471
|
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\"/>"
|
|
3321
|
-
},
|
|
3472
|
+
}, Vi = {
|
|
3322
3473
|
width: 24,
|
|
3323
3474
|
height: 24,
|
|
3324
3475
|
hidden: !0,
|
|
3325
3476
|
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\"/>"
|
|
3326
|
-
},
|
|
3477
|
+
}, Hi = {
|
|
3327
3478
|
width: 24,
|
|
3328
3479
|
height: 24,
|
|
3329
3480
|
hidden: !0,
|
|
3330
3481
|
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\"/>"
|
|
3331
|
-
},
|
|
3482
|
+
}, Ui = {
|
|
3332
3483
|
width: 24,
|
|
3333
3484
|
height: 24,
|
|
3334
3485
|
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\"/>"
|
|
3335
|
-
},
|
|
3486
|
+
}, Wi = {
|
|
3336
3487
|
width: 24,
|
|
3337
3488
|
height: 24,
|
|
3338
3489
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m14 5l7 7m0 0l-7 7m7-7H3\"/>"
|
|
3339
|
-
},
|
|
3490
|
+
}, Gi = {
|
|
3340
3491
|
width: 24,
|
|
3341
3492
|
height: 24,
|
|
3342
3493
|
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\"/>"
|
|
3343
|
-
},
|
|
3494
|
+
}, Ki = {
|
|
3344
3495
|
width: 24,
|
|
3345
3496
|
height: 24,
|
|
3346
3497
|
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\"/>"
|
|
3347
|
-
},
|
|
3498
|
+
}, qi = {
|
|
3348
3499
|
width: 24,
|
|
3349
3500
|
height: 24,
|
|
3350
3501
|
hidden: !0,
|
|
3351
3502
|
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\"/>"
|
|
3352
|
-
},
|
|
3503
|
+
}, Ji = {
|
|
3353
3504
|
width: 24,
|
|
3354
3505
|
height: 24,
|
|
3355
3506
|
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\"/>"
|
|
3356
|
-
},
|
|
3507
|
+
}, Yi = {
|
|
3357
3508
|
width: 24,
|
|
3358
3509
|
height: 24,
|
|
3359
3510
|
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\"/>"
|
|
3360
|
-
},
|
|
3511
|
+
}, Xi = {
|
|
3361
3512
|
width: 24,
|
|
3362
3513
|
height: 24,
|
|
3363
3514
|
hidden: !0,
|
|
3364
3515
|
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\"/>"
|
|
3365
|
-
},
|
|
3516
|
+
}, Zi = {
|
|
3366
3517
|
width: 24,
|
|
3367
3518
|
height: 24,
|
|
3368
3519
|
hidden: !0,
|
|
3369
3520
|
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\"/>"
|
|
3370
|
-
},
|
|
3521
|
+
}, Qi = {
|
|
3371
3522
|
width: 24,
|
|
3372
3523
|
height: 24,
|
|
3373
3524
|
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>"
|
|
3374
|
-
},
|
|
3525
|
+
}, $i = {
|
|
3375
3526
|
width: 24,
|
|
3376
3527
|
height: 24,
|
|
3377
3528
|
hidden: !0,
|
|
3378
3529
|
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\"/>"
|
|
3379
|
-
},
|
|
3530
|
+
}, ea = {
|
|
3380
3531
|
width: 20,
|
|
3381
3532
|
height: 20,
|
|
3382
3533
|
hidden: !0,
|
|
3383
3534
|
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\"/>"
|
|
3384
|
-
},
|
|
3535
|
+
}, ta = {
|
|
3385
3536
|
width: 20,
|
|
3386
3537
|
height: 20,
|
|
3387
3538
|
hidden: !0,
|
|
3388
3539
|
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\"/>"
|
|
3389
|
-
},
|
|
3540
|
+
}, na = {
|
|
3390
3541
|
width: 20,
|
|
3391
3542
|
height: 20,
|
|
3392
3543
|
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\"/>"
|
|
3393
|
-
},
|
|
3544
|
+
}, ra = {
|
|
3394
3545
|
width: 20,
|
|
3395
3546
|
height: 20,
|
|
3396
3547
|
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\"/>"
|
|
3397
|
-
},
|
|
3548
|
+
}, ia = {
|
|
3398
3549
|
width: 20,
|
|
3399
3550
|
height: 20,
|
|
3400
3551
|
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\"/>"
|
|
3401
|
-
},
|
|
3552
|
+
}, aa = {
|
|
3402
3553
|
width: 20,
|
|
3403
3554
|
height: 20,
|
|
3404
3555
|
hidden: !0,
|
|
3405
3556
|
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\"/>"
|
|
3406
|
-
},
|
|
3557
|
+
}, oa = {
|
|
3407
3558
|
width: 20,
|
|
3408
3559
|
height: 20,
|
|
3409
3560
|
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\"/>"
|
|
3410
|
-
},
|
|
3561
|
+
}, sa = {
|
|
3411
3562
|
width: 20,
|
|
3412
3563
|
height: 20,
|
|
3413
3564
|
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\"/>"
|
|
3414
|
-
},
|
|
3565
|
+
}, ca = {
|
|
3415
3566
|
width: 20,
|
|
3416
3567
|
height: 20,
|
|
3417
3568
|
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\"/>"
|
|
3418
|
-
},
|
|
3569
|
+
}, la = {
|
|
3419
3570
|
width: 20,
|
|
3420
3571
|
height: 20,
|
|
3421
3572
|
hidden: !0,
|
|
3422
3573
|
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\"/>"
|
|
3423
|
-
},
|
|
3574
|
+
}, ua = {
|
|
3424
3575
|
width: 20,
|
|
3425
3576
|
height: 20,
|
|
3426
3577
|
hidden: !0,
|
|
3427
3578
|
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\"/>"
|
|
3428
|
-
},
|
|
3579
|
+
}, da = {
|
|
3429
3580
|
width: 20,
|
|
3430
3581
|
height: 20,
|
|
3431
3582
|
hidden: !0,
|
|
3432
3583
|
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\"/>"
|
|
3433
|
-
},
|
|
3584
|
+
}, fa = {
|
|
3434
3585
|
width: 20,
|
|
3435
3586
|
height: 20,
|
|
3436
3587
|
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\"/>"
|
|
3437
|
-
},
|
|
3588
|
+
}, pa = {
|
|
3438
3589
|
width: 20,
|
|
3439
3590
|
height: 20,
|
|
3440
3591
|
hidden: !0,
|
|
3441
3592
|
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\"/>"
|
|
3442
|
-
},
|
|
3593
|
+
}, ma = {
|
|
3443
3594
|
width: 20,
|
|
3444
3595
|
height: 20,
|
|
3445
3596
|
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>"
|
|
3446
|
-
},
|
|
3597
|
+
}, ha = {
|
|
3447
3598
|
width: 20,
|
|
3448
3599
|
height: 20,
|
|
3449
3600
|
hidden: !0,
|
|
3450
3601
|
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\"/>"
|
|
3451
|
-
},
|
|
3602
|
+
}, ga = {
|
|
3452
3603
|
width: 20,
|
|
3453
3604
|
height: 20,
|
|
3454
3605
|
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\"/>"
|
|
3455
|
-
},
|
|
3606
|
+
}, _a = {
|
|
3456
3607
|
width: 20,
|
|
3457
3608
|
height: 20,
|
|
3458
3609
|
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\"/>"
|
|
3459
|
-
},
|
|
3610
|
+
}, va = {
|
|
3460
3611
|
width: 24,
|
|
3461
3612
|
height: 24,
|
|
3462
3613
|
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\"/>"
|
|
3463
|
-
},
|
|
3614
|
+
}, ya = {
|
|
3464
3615
|
width: 24,
|
|
3465
3616
|
height: 24,
|
|
3466
3617
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 19h16M4 15l4-6l4 2l4-5l4 4\"/>"
|
|
3467
|
-
},
|
|
3618
|
+
}, ba = {
|
|
3468
3619
|
width: 24,
|
|
3469
3620
|
height: 24,
|
|
3470
3621
|
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\"/>"
|
|
3471
|
-
},
|
|
3622
|
+
}, xa = {
|
|
3472
3623
|
width: 24,
|
|
3473
3624
|
height: 24,
|
|
3474
3625
|
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>"
|
|
3475
|
-
},
|
|
3626
|
+
}, Sa = {
|
|
3476
3627
|
width: 24,
|
|
3477
3628
|
height: 24,
|
|
3478
3629
|
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>"
|
|
3479
|
-
},
|
|
3630
|
+
}, Ca = {
|
|
3480
3631
|
width: 24,
|
|
3481
3632
|
height: 24,
|
|
3482
3633
|
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\"/>"
|
|
3483
|
-
},
|
|
3634
|
+
}, wa = {
|
|
3484
3635
|
width: 24,
|
|
3485
3636
|
height: 24,
|
|
3486
3637
|
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>"
|
|
3487
|
-
},
|
|
3638
|
+
}, Ta = {
|
|
3488
3639
|
width: 24,
|
|
3489
3640
|
height: 24,
|
|
3490
3641
|
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>"
|
|
3491
|
-
},
|
|
3642
|
+
}, Ea = {
|
|
3492
3643
|
width: 24,
|
|
3493
3644
|
height: 24,
|
|
3494
3645
|
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\"/>"
|
|
3495
|
-
},
|
|
3646
|
+
}, Da = {
|
|
3496
3647
|
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>",
|
|
3497
3648
|
width: 24,
|
|
3498
3649
|
height: 24
|
|
3499
|
-
},
|
|
3650
|
+
}, Oa = {
|
|
3500
3651
|
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>",
|
|
3501
3652
|
width: 24,
|
|
3502
3653
|
height: 24
|
|
3503
|
-
},
|
|
3654
|
+
}, ka = {
|
|
3504
3655
|
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>",
|
|
3505
3656
|
width: 24,
|
|
3506
3657
|
height: 24
|
|
3507
|
-
},
|
|
3658
|
+
}, Aa = {
|
|
3508
3659
|
width: 24,
|
|
3509
3660
|
height: 24,
|
|
3510
3661
|
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>"
|
|
3511
|
-
},
|
|
3662
|
+
}, ja = {
|
|
3512
3663
|
width: 24,
|
|
3513
3664
|
height: 24,
|
|
3514
3665
|
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\"/>"
|
|
3515
|
-
},
|
|
3666
|
+
}, Ma = {
|
|
3516
3667
|
width: 24,
|
|
3517
3668
|
height: 24,
|
|
3518
3669
|
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>"
|
|
3519
|
-
},
|
|
3670
|
+
}, Na = {
|
|
3520
3671
|
width: 24,
|
|
3521
3672
|
height: 24,
|
|
3522
3673
|
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\"/>"
|
|
3523
|
-
},
|
|
3674
|
+
}, Pa = {
|
|
3524
3675
|
width: 24,
|
|
3525
3676
|
height: 24,
|
|
3526
3677
|
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>"
|
|
3527
|
-
},
|
|
3678
|
+
}, Fa = {
|
|
3528
3679
|
width: 24,
|
|
3529
3680
|
height: 24,
|
|
3530
3681
|
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\"/>"
|
|
3531
|
-
},
|
|
3682
|
+
}, Ia = {
|
|
3532
3683
|
width: 24,
|
|
3533
3684
|
height: 24,
|
|
3534
3685
|
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>"
|
|
3535
|
-
},
|
|
3686
|
+
}, La = {
|
|
3536
3687
|
width: 24,
|
|
3537
3688
|
height: 24,
|
|
3538
3689
|
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>"
|
|
3539
|
-
},
|
|
3690
|
+
}, Ra = {
|
|
3540
3691
|
close: {
|
|
3541
|
-
icon:
|
|
3692
|
+
icon: vi,
|
|
3542
3693
|
category: "action"
|
|
3543
3694
|
},
|
|
3544
3695
|
add: {
|
|
3545
|
-
icon:
|
|
3696
|
+
icon: yi,
|
|
3546
3697
|
category: "action"
|
|
3547
3698
|
},
|
|
3548
3699
|
edit: {
|
|
3549
|
-
icon:
|
|
3700
|
+
icon: bi,
|
|
3550
3701
|
category: "action"
|
|
3551
3702
|
},
|
|
3552
3703
|
delete: {
|
|
3553
|
-
icon:
|
|
3704
|
+
icon: xi,
|
|
3554
3705
|
category: "action"
|
|
3555
3706
|
},
|
|
3556
3707
|
refresh: {
|
|
3557
|
-
icon:
|
|
3708
|
+
icon: Si,
|
|
3558
3709
|
category: "action"
|
|
3559
3710
|
},
|
|
3560
3711
|
copy: {
|
|
3561
|
-
icon:
|
|
3712
|
+
icon: Ci,
|
|
3562
3713
|
category: "action"
|
|
3563
3714
|
},
|
|
3564
3715
|
duplicate: {
|
|
3565
|
-
icon:
|
|
3716
|
+
icon: wi,
|
|
3566
3717
|
category: "action"
|
|
3567
3718
|
},
|
|
3568
3719
|
settings: {
|
|
3569
|
-
icon:
|
|
3720
|
+
icon: Ti,
|
|
3570
3721
|
category: "action"
|
|
3571
3722
|
},
|
|
3572
3723
|
filter: {
|
|
3573
|
-
icon:
|
|
3724
|
+
icon: Ei,
|
|
3574
3725
|
category: "action"
|
|
3575
3726
|
},
|
|
3576
3727
|
share: {
|
|
3577
|
-
icon:
|
|
3728
|
+
icon: Di,
|
|
3578
3729
|
category: "action"
|
|
3579
3730
|
},
|
|
3580
3731
|
expand: {
|
|
3581
|
-
icon:
|
|
3732
|
+
icon: ki,
|
|
3582
3733
|
category: "action"
|
|
3583
3734
|
},
|
|
3584
3735
|
collapse: {
|
|
3585
|
-
icon:
|
|
3736
|
+
icon: Oi,
|
|
3586
3737
|
category: "action"
|
|
3587
3738
|
},
|
|
3588
3739
|
search: {
|
|
3589
|
-
icon:
|
|
3740
|
+
icon: Mi,
|
|
3590
3741
|
category: "action"
|
|
3591
3742
|
},
|
|
3592
3743
|
menu: {
|
|
3593
|
-
icon:
|
|
3744
|
+
icon: Ni,
|
|
3594
3745
|
category: "action"
|
|
3595
3746
|
},
|
|
3596
3747
|
run: {
|
|
3597
|
-
icon:
|
|
3748
|
+
icon: oa,
|
|
3598
3749
|
category: "action"
|
|
3599
3750
|
},
|
|
3600
3751
|
check: {
|
|
3601
|
-
icon:
|
|
3752
|
+
icon: sa,
|
|
3602
3753
|
category: "action"
|
|
3603
3754
|
},
|
|
3604
3755
|
link: {
|
|
3605
|
-
icon:
|
|
3756
|
+
icon: Ui,
|
|
3606
3757
|
category: "action"
|
|
3607
3758
|
},
|
|
3608
3759
|
eye: {
|
|
3609
|
-
icon:
|
|
3760
|
+
icon: Ri,
|
|
3610
3761
|
category: "action"
|
|
3611
3762
|
},
|
|
3612
3763
|
eyeOff: {
|
|
3613
|
-
icon:
|
|
3764
|
+
icon: zi,
|
|
3614
3765
|
category: "action"
|
|
3615
3766
|
},
|
|
3616
3767
|
adjustments: {
|
|
3617
|
-
icon:
|
|
3768
|
+
icon: Bi,
|
|
3618
3769
|
category: "action"
|
|
3619
3770
|
},
|
|
3620
3771
|
desktop: {
|
|
3621
|
-
icon:
|
|
3772
|
+
icon: Vi,
|
|
3622
3773
|
category: "action"
|
|
3623
3774
|
},
|
|
3624
3775
|
table: {
|
|
3625
|
-
icon:
|
|
3776
|
+
icon: Hi,
|
|
3626
3777
|
category: "action"
|
|
3627
3778
|
},
|
|
3628
3779
|
sun: {
|
|
3629
|
-
icon:
|
|
3780
|
+
icon: Gi,
|
|
3630
3781
|
category: "action"
|
|
3631
3782
|
},
|
|
3632
3783
|
moon: {
|
|
3633
|
-
icon:
|
|
3784
|
+
icon: Ki,
|
|
3634
3785
|
category: "action"
|
|
3635
3786
|
},
|
|
3636
3787
|
ellipsisHorizontal: {
|
|
3637
|
-
icon:
|
|
3788
|
+
icon: qi,
|
|
3638
3789
|
category: "action"
|
|
3639
3790
|
},
|
|
3640
3791
|
documentText: {
|
|
3641
|
-
icon:
|
|
3792
|
+
icon: Ji,
|
|
3642
3793
|
category: "action"
|
|
3643
3794
|
},
|
|
3644
3795
|
bookOpen: {
|
|
3645
|
-
icon:
|
|
3796
|
+
icon: Yi,
|
|
3646
3797
|
category: "action"
|
|
3647
3798
|
},
|
|
3648
3799
|
codeBracket: {
|
|
3649
|
-
icon:
|
|
3800
|
+
icon: Xi,
|
|
3650
3801
|
category: "action"
|
|
3651
3802
|
},
|
|
3652
3803
|
swatch: {
|
|
3653
|
-
icon:
|
|
3804
|
+
icon: Zi,
|
|
3654
3805
|
category: "action"
|
|
3655
3806
|
},
|
|
3656
3807
|
camera: {
|
|
3657
|
-
icon:
|
|
3808
|
+
icon: Qi,
|
|
3658
3809
|
category: "action"
|
|
3659
3810
|
},
|
|
3660
3811
|
thumbUp: {
|
|
3661
|
-
icon:
|
|
3812
|
+
icon: ea,
|
|
3662
3813
|
category: "action"
|
|
3663
3814
|
},
|
|
3664
3815
|
thumbDown: {
|
|
3665
|
-
icon:
|
|
3816
|
+
icon: ta,
|
|
3666
3817
|
category: "action"
|
|
3667
3818
|
},
|
|
3668
3819
|
schemaGraph: {
|
|
@@ -3682,95 +3833,95 @@ var ui = {
|
|
|
3682
3833
|
category: "action"
|
|
3683
3834
|
},
|
|
3684
3835
|
download: {
|
|
3685
|
-
icon:
|
|
3836
|
+
icon: $i,
|
|
3686
3837
|
category: "action"
|
|
3687
3838
|
},
|
|
3688
3839
|
measure: {
|
|
3689
|
-
icon:
|
|
3840
|
+
icon: na,
|
|
3690
3841
|
category: "field"
|
|
3691
3842
|
},
|
|
3692
3843
|
dimension: {
|
|
3693
|
-
icon:
|
|
3844
|
+
icon: ra,
|
|
3694
3845
|
category: "field"
|
|
3695
3846
|
},
|
|
3696
3847
|
timeDimension: {
|
|
3697
|
-
icon:
|
|
3848
|
+
icon: ia,
|
|
3698
3849
|
category: "field"
|
|
3699
3850
|
},
|
|
3700
3851
|
segment: {
|
|
3701
|
-
icon:
|
|
3852
|
+
icon: aa,
|
|
3702
3853
|
category: "field"
|
|
3703
3854
|
},
|
|
3704
3855
|
chartBar: {
|
|
3705
|
-
icon:
|
|
3856
|
+
icon: va,
|
|
3706
3857
|
category: "chart"
|
|
3707
3858
|
},
|
|
3708
3859
|
chartLine: {
|
|
3709
|
-
icon:
|
|
3860
|
+
icon: ya,
|
|
3710
3861
|
category: "chart"
|
|
3711
3862
|
},
|
|
3712
3863
|
chartArea: {
|
|
3713
|
-
icon:
|
|
3864
|
+
icon: ba,
|
|
3714
3865
|
category: "chart"
|
|
3715
3866
|
},
|
|
3716
3867
|
chartPie: {
|
|
3717
|
-
icon:
|
|
3868
|
+
icon: xa,
|
|
3718
3869
|
category: "chart"
|
|
3719
3870
|
},
|
|
3720
3871
|
chartScatter: {
|
|
3721
|
-
icon:
|
|
3872
|
+
icon: Sa,
|
|
3722
3873
|
category: "chart"
|
|
3723
3874
|
},
|
|
3724
3875
|
chartBubble: {
|
|
3725
|
-
icon:
|
|
3876
|
+
icon: Ca,
|
|
3726
3877
|
category: "chart"
|
|
3727
3878
|
},
|
|
3728
3879
|
chartRadar: {
|
|
3729
|
-
icon:
|
|
3880
|
+
icon: wa,
|
|
3730
3881
|
category: "chart"
|
|
3731
3882
|
},
|
|
3732
3883
|
chartRadialBar: {
|
|
3733
|
-
icon:
|
|
3884
|
+
icon: Ta,
|
|
3734
3885
|
category: "chart"
|
|
3735
3886
|
},
|
|
3736
3887
|
chartTreemap: {
|
|
3737
|
-
icon:
|
|
3888
|
+
icon: Ea,
|
|
3738
3889
|
category: "chart"
|
|
3739
3890
|
},
|
|
3740
3891
|
chartTable: {
|
|
3741
|
-
icon:
|
|
3892
|
+
icon: ja,
|
|
3742
3893
|
category: "chart"
|
|
3743
3894
|
},
|
|
3744
3895
|
chartActivityGrid: {
|
|
3745
|
-
icon:
|
|
3896
|
+
icon: Ma,
|
|
3746
3897
|
category: "chart"
|
|
3747
3898
|
},
|
|
3748
3899
|
chartKpiNumber: {
|
|
3749
|
-
icon:
|
|
3900
|
+
icon: Na,
|
|
3750
3901
|
category: "chart"
|
|
3751
3902
|
},
|
|
3752
3903
|
chartKpiDelta: {
|
|
3753
|
-
icon:
|
|
3904
|
+
icon: Pa,
|
|
3754
3905
|
category: "chart"
|
|
3755
3906
|
},
|
|
3756
3907
|
chartKpiText: {
|
|
3757
|
-
icon:
|
|
3908
|
+
icon: Fa,
|
|
3758
3909
|
category: "chart"
|
|
3759
3910
|
},
|
|
3760
3911
|
chartMarkdown: {
|
|
3761
|
-
icon:
|
|
3912
|
+
icon: Ia,
|
|
3762
3913
|
category: "chart"
|
|
3763
3914
|
},
|
|
3764
3915
|
chartFunnel: {
|
|
3765
|
-
icon:
|
|
3916
|
+
icon: Oa,
|
|
3766
3917
|
category: "chart"
|
|
3767
3918
|
},
|
|
3768
3919
|
chartSankey: {
|
|
3769
|
-
icon:
|
|
3920
|
+
icon: Da,
|
|
3770
3921
|
category: "chart"
|
|
3771
3922
|
},
|
|
3772
3923
|
chartSunburst: {
|
|
3773
|
-
icon:
|
|
3924
|
+
icon: Aa,
|
|
3774
3925
|
category: "chart"
|
|
3775
3926
|
},
|
|
3776
3927
|
chartHeatmap: {
|
|
@@ -3782,87 +3933,87 @@ var ui = {
|
|
|
3782
3933
|
category: "chart"
|
|
3783
3934
|
},
|
|
3784
3935
|
chartRetention: {
|
|
3785
|
-
icon:
|
|
3936
|
+
icon: ka,
|
|
3786
3937
|
category: "chart"
|
|
3787
3938
|
},
|
|
3788
3939
|
measureCount: {
|
|
3789
|
-
icon:
|
|
3940
|
+
icon: pa,
|
|
3790
3941
|
category: "measure"
|
|
3791
3942
|
},
|
|
3792
3943
|
measureCountDistinct: {
|
|
3793
|
-
icon:
|
|
3944
|
+
icon: ma,
|
|
3794
3945
|
category: "measure"
|
|
3795
3946
|
},
|
|
3796
3947
|
measureCountDistinctApprox: {
|
|
3797
|
-
icon:
|
|
3948
|
+
icon: ha,
|
|
3798
3949
|
category: "measure"
|
|
3799
3950
|
},
|
|
3800
3951
|
measureSum: {
|
|
3801
|
-
icon:
|
|
3952
|
+
icon: ga,
|
|
3802
3953
|
category: "measure"
|
|
3803
3954
|
},
|
|
3804
3955
|
measureAvg: {
|
|
3805
|
-
icon:
|
|
3956
|
+
icon: ca,
|
|
3806
3957
|
category: "measure"
|
|
3807
3958
|
},
|
|
3808
3959
|
measureMin: {
|
|
3809
|
-
icon:
|
|
3960
|
+
icon: la,
|
|
3810
3961
|
category: "measure"
|
|
3811
3962
|
},
|
|
3812
3963
|
measureMax: {
|
|
3813
|
-
icon:
|
|
3964
|
+
icon: ua,
|
|
3814
3965
|
category: "measure"
|
|
3815
3966
|
},
|
|
3816
3967
|
measureRunningTotal: {
|
|
3817
|
-
icon:
|
|
3968
|
+
icon: da,
|
|
3818
3969
|
category: "measure"
|
|
3819
3970
|
},
|
|
3820
3971
|
measureCalculated: {
|
|
3821
|
-
icon:
|
|
3972
|
+
icon: fa,
|
|
3822
3973
|
category: "measure"
|
|
3823
3974
|
},
|
|
3824
3975
|
measureNumber: {
|
|
3825
|
-
icon:
|
|
3976
|
+
icon: _a,
|
|
3826
3977
|
category: "measure"
|
|
3827
3978
|
},
|
|
3828
3979
|
success: {
|
|
3829
|
-
icon:
|
|
3980
|
+
icon: Pi,
|
|
3830
3981
|
category: "state"
|
|
3831
3982
|
},
|
|
3832
3983
|
warning: {
|
|
3833
|
-
icon:
|
|
3984
|
+
icon: Fi,
|
|
3834
3985
|
category: "state"
|
|
3835
3986
|
},
|
|
3836
3987
|
error: {
|
|
3837
|
-
icon:
|
|
3988
|
+
icon: Ii,
|
|
3838
3989
|
category: "state"
|
|
3839
3990
|
},
|
|
3840
3991
|
info: {
|
|
3841
|
-
icon:
|
|
3992
|
+
icon: La,
|
|
3842
3993
|
category: "state"
|
|
3843
3994
|
},
|
|
3844
3995
|
loading: {
|
|
3845
|
-
icon:
|
|
3996
|
+
icon: Si,
|
|
3846
3997
|
category: "state"
|
|
3847
3998
|
},
|
|
3848
3999
|
sparkles: {
|
|
3849
|
-
icon:
|
|
4000
|
+
icon: Li,
|
|
3850
4001
|
category: "state"
|
|
3851
4002
|
},
|
|
3852
4003
|
chevronUp: {
|
|
3853
|
-
icon:
|
|
4004
|
+
icon: Oi,
|
|
3854
4005
|
category: "navigation"
|
|
3855
4006
|
},
|
|
3856
4007
|
chevronDown: {
|
|
3857
|
-
icon:
|
|
4008
|
+
icon: ki,
|
|
3858
4009
|
category: "navigation"
|
|
3859
4010
|
},
|
|
3860
4011
|
chevronLeft: {
|
|
3861
|
-
icon:
|
|
4012
|
+
icon: Ai,
|
|
3862
4013
|
category: "navigation"
|
|
3863
4014
|
},
|
|
3864
4015
|
chevronRight: {
|
|
3865
|
-
icon:
|
|
4016
|
+
icon: ji,
|
|
3866
4017
|
category: "navigation"
|
|
3867
4018
|
},
|
|
3868
4019
|
chevronUpDown: {
|
|
@@ -3874,82 +4025,82 @@ var ui = {
|
|
|
3874
4025
|
category: "navigation"
|
|
3875
4026
|
},
|
|
3876
4027
|
arrowUp: {
|
|
3877
|
-
icon:
|
|
4028
|
+
icon: ua,
|
|
3878
4029
|
category: "navigation"
|
|
3879
4030
|
},
|
|
3880
4031
|
arrowDown: {
|
|
3881
|
-
icon:
|
|
4032
|
+
icon: la,
|
|
3882
4033
|
category: "navigation"
|
|
3883
4034
|
},
|
|
3884
4035
|
arrowRight: {
|
|
3885
|
-
icon:
|
|
4036
|
+
icon: Wi,
|
|
3886
4037
|
category: "navigation"
|
|
3887
4038
|
},
|
|
3888
4039
|
arrowPath: {
|
|
3889
|
-
icon:
|
|
4040
|
+
icon: Si,
|
|
3890
4041
|
category: "navigation"
|
|
3891
4042
|
}
|
|
3892
|
-
},
|
|
3893
|
-
function
|
|
3894
|
-
|
|
4043
|
+
}, Y = { ...Ra }, za = null;
|
|
4044
|
+
function Ba(e) {
|
|
4045
|
+
za = e;
|
|
3895
4046
|
}
|
|
3896
|
-
var
|
|
3897
|
-
function
|
|
3898
|
-
return
|
|
4047
|
+
var X = /* @__PURE__ */ new Map();
|
|
4048
|
+
function Va() {
|
|
4049
|
+
return Y;
|
|
3899
4050
|
}
|
|
3900
|
-
function
|
|
3901
|
-
let t =
|
|
4051
|
+
function Z(e) {
|
|
4052
|
+
let t = X.get(e);
|
|
3902
4053
|
if (t) return t;
|
|
3903
|
-
let n =
|
|
3904
|
-
if (!n) return console.warn(`Icon "${e}" not found in registry, using fallback`), ({ className: e, ...t }) => /* @__PURE__ */
|
|
3905
|
-
icon:
|
|
4054
|
+
let n = Y[e];
|
|
4055
|
+
if (!n) return console.warn(`Icon "${e}" not found in registry, using fallback`), ({ className: e, ...t }) => /* @__PURE__ */ E(_i, {
|
|
4056
|
+
icon: Y.info.icon,
|
|
3906
4057
|
className: e,
|
|
3907
4058
|
...t
|
|
3908
4059
|
});
|
|
3909
|
-
let r = ({ className: e, ...t }) => /* @__PURE__ */
|
|
4060
|
+
let r = ({ className: e, ...t }) => /* @__PURE__ */ E(_i, {
|
|
3910
4061
|
icon: n.icon,
|
|
3911
4062
|
className: e,
|
|
3912
4063
|
...t
|
|
3913
4064
|
});
|
|
3914
|
-
return
|
|
4065
|
+
return X.set(e, r), r;
|
|
3915
4066
|
}
|
|
3916
|
-
function
|
|
3917
|
-
return
|
|
4067
|
+
function Ha(e) {
|
|
4068
|
+
return Y[e]?.icon ?? Y.info.icon;
|
|
3918
4069
|
}
|
|
3919
|
-
function
|
|
3920
|
-
|
|
3921
|
-
...
|
|
4070
|
+
function Ua(e, t) {
|
|
4071
|
+
Y[e] && (Y[e] = {
|
|
4072
|
+
...Y[e],
|
|
3922
4073
|
icon: t
|
|
3923
|
-
},
|
|
4074
|
+
}, X.delete(e));
|
|
3924
4075
|
}
|
|
3925
|
-
function
|
|
3926
|
-
for (let [t, n] of Object.entries(e)) if (n && t in
|
|
4076
|
+
function Wa(e) {
|
|
4077
|
+
for (let [t, n] of Object.entries(e)) if (n && t in Y) {
|
|
3927
4078
|
let e = t;
|
|
3928
|
-
if ("body" in n)
|
|
3929
|
-
...
|
|
4079
|
+
if ("body" in n) Y[e] = {
|
|
4080
|
+
...Y[e],
|
|
3930
4081
|
icon: n
|
|
3931
4082
|
};
|
|
3932
4083
|
else {
|
|
3933
4084
|
let t = n;
|
|
3934
|
-
|
|
3935
|
-
...
|
|
4085
|
+
Y[e] = {
|
|
4086
|
+
...Y[e],
|
|
3936
4087
|
...t,
|
|
3937
|
-
icon: t.icon ??
|
|
4088
|
+
icon: t.icon ?? Y[e].icon
|
|
3938
4089
|
};
|
|
3939
4090
|
}
|
|
3940
|
-
|
|
4091
|
+
X.delete(e);
|
|
3941
4092
|
}
|
|
3942
4093
|
}
|
|
3943
|
-
function
|
|
3944
|
-
|
|
4094
|
+
function Ga() {
|
|
4095
|
+
Y = { ...Ra }, X.clear();
|
|
3945
4096
|
}
|
|
3946
|
-
function
|
|
4097
|
+
function Ka(e) {
|
|
3947
4098
|
let t = {};
|
|
3948
|
-
for (let [n, r] of Object.entries(
|
|
4099
|
+
for (let [n, r] of Object.entries(Y)) r.category === e && (t[n] = Z(n));
|
|
3949
4100
|
return t;
|
|
3950
4101
|
}
|
|
3951
|
-
function
|
|
3952
|
-
return
|
|
4102
|
+
function qa(e) {
|
|
4103
|
+
return Z({
|
|
3953
4104
|
count: "measureCount",
|
|
3954
4105
|
countDistinct: "measureCountDistinct",
|
|
3955
4106
|
countDistinctApprox: "measureCountDistinctApprox",
|
|
@@ -3962,7 +4113,7 @@ function za(e) {
|
|
|
3962
4113
|
number: "measureNumber"
|
|
3963
4114
|
}[e || ""] || "measureCount");
|
|
3964
4115
|
}
|
|
3965
|
-
function
|
|
4116
|
+
function Ja(e) {
|
|
3966
4117
|
let t = {
|
|
3967
4118
|
bar: "chartBar",
|
|
3968
4119
|
line: "chartLine",
|
|
@@ -3984,15 +4135,15 @@ function Ba(e) {
|
|
|
3984
4135
|
sunburst: "chartSunburst",
|
|
3985
4136
|
heatmap: "chartHeatmap"
|
|
3986
4137
|
}[e];
|
|
3987
|
-
if (t) return
|
|
3988
|
-
if (
|
|
3989
|
-
let t =
|
|
4138
|
+
if (t) return Z(t);
|
|
4139
|
+
if (za) {
|
|
4140
|
+
let t = za(e);
|
|
3990
4141
|
if (t) return t;
|
|
3991
4142
|
}
|
|
3992
|
-
return
|
|
4143
|
+
return Z("chartBar");
|
|
3993
4144
|
}
|
|
3994
|
-
function
|
|
3995
|
-
return
|
|
4145
|
+
function Ya(e) {
|
|
4146
|
+
return Z({
|
|
3996
4147
|
measure: "measure",
|
|
3997
4148
|
dimension: "dimension",
|
|
3998
4149
|
timeDimension: "timeDimension",
|
|
@@ -4002,9 +4153,9 @@ function Va(e) {
|
|
|
4002
4153
|
}
|
|
4003
4154
|
//#endregion
|
|
4004
4155
|
//#region src/client/components/charts/MissingDependencyFallback.tsx
|
|
4005
|
-
function
|
|
4006
|
-
let { t: i } =
|
|
4007
|
-
return /* @__PURE__ */
|
|
4156
|
+
function Xa({ chartType: e, packageName: t, installCommand: n, height: r = 200 }) {
|
|
4157
|
+
let { t: i } = a();
|
|
4158
|
+
return /* @__PURE__ */ D("div", {
|
|
4008
4159
|
className: "dc-missing-dependency-fallback",
|
|
4009
4160
|
style: {
|
|
4010
4161
|
height: typeof r == "number" ? `${r}px` : r,
|
|
@@ -4020,14 +4171,14 @@ function Ha({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4020
4171
|
backgroundColor: "var(--dc-surface, #f9fafb)"
|
|
4021
4172
|
},
|
|
4022
4173
|
children: [
|
|
4023
|
-
/* @__PURE__ */
|
|
4174
|
+
/* @__PURE__ */ E("div", {
|
|
4024
4175
|
style: {
|
|
4025
4176
|
fontSize: "2.5rem",
|
|
4026
4177
|
marginBottom: "1rem"
|
|
4027
4178
|
},
|
|
4028
4179
|
children: "📦"
|
|
4029
4180
|
}),
|
|
4030
|
-
/* @__PURE__ */
|
|
4181
|
+
/* @__PURE__ */ E("h3", {
|
|
4031
4182
|
style: {
|
|
4032
4183
|
fontSize: "1.125rem",
|
|
4033
4184
|
fontWeight: 600,
|
|
@@ -4036,7 +4187,7 @@ function Ha({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4036
4187
|
},
|
|
4037
4188
|
children: i("chart.runtime.missingDep.title")
|
|
4038
4189
|
}),
|
|
4039
|
-
/* @__PURE__ */
|
|
4190
|
+
/* @__PURE__ */ E("p", {
|
|
4040
4191
|
style: {
|
|
4041
4192
|
fontSize: "0.875rem",
|
|
4042
4193
|
color: "var(--dc-text-secondary, #6b7280)",
|
|
@@ -4048,7 +4199,7 @@ function Ha({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4048
4199
|
packageName: t
|
|
4049
4200
|
})
|
|
4050
4201
|
}),
|
|
4051
|
-
/* @__PURE__ */
|
|
4202
|
+
/* @__PURE__ */ D("div", {
|
|
4052
4203
|
style: {
|
|
4053
4204
|
backgroundColor: "var(--dc-surface-secondary, #f3f4f6)",
|
|
4054
4205
|
borderRadius: "0.5rem",
|
|
@@ -4057,7 +4208,7 @@ function Ha({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4057
4208
|
fontSize: "0.875rem",
|
|
4058
4209
|
color: "var(--dc-text, #111827)"
|
|
4059
4210
|
},
|
|
4060
|
-
children: [/* @__PURE__ */
|
|
4211
|
+
children: [/* @__PURE__ */ E("span", {
|
|
4061
4212
|
style: {
|
|
4062
4213
|
color: "var(--dc-text-muted, #9ca3af)",
|
|
4063
4214
|
userSelect: "none"
|
|
@@ -4065,7 +4216,7 @@ function Ha({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4065
4216
|
children: "$ "
|
|
4066
4217
|
}), n]
|
|
4067
4218
|
}),
|
|
4068
|
-
/* @__PURE__ */
|
|
4219
|
+
/* @__PURE__ */ E("p", {
|
|
4069
4220
|
style: {
|
|
4070
4221
|
fontSize: "0.75rem",
|
|
4071
4222
|
color: "var(--dc-text-muted, #9ca3af)",
|
|
@@ -4077,8 +4228,8 @@ function Ha({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4077
4228
|
});
|
|
4078
4229
|
}
|
|
4079
4230
|
//#endregion
|
|
4080
|
-
//#region src/client/charts/
|
|
4081
|
-
var
|
|
4231
|
+
//#region src/client/charts/chartComponentRegistry.tsx
|
|
4232
|
+
var Za = /* @__PURE__ */ new Map(), Qa = /* @__PURE__ */ new Set(), $a = /* @__PURE__ */ new Map(), eo = {
|
|
4082
4233
|
bar: {
|
|
4083
4234
|
packageName: "recharts",
|
|
4084
4235
|
installCommand: "npm install recharts"
|
|
@@ -4143,44 +4294,17 @@ var q = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ new Set(), Ua = {
|
|
|
4143
4294
|
packageName: "d3-shape",
|
|
4144
4295
|
installCommand: "npm install d3-shape"
|
|
4145
4296
|
}
|
|
4146
|
-
}
|
|
4147
|
-
|
|
4148
|
-
line: () => import("./chart-line-r4iWevKZ.js").then((e) => e.n),
|
|
4149
|
-
area: () => import("./chart-area-CXFK-Grv.js").then((e) => e.n),
|
|
4150
|
-
pie: () => import("./chart-pie-yqH2YVEI.js").then((e) => e.n),
|
|
4151
|
-
scatter: () => import("./chart-scatter-DZPirzwX.js").then((e) => e.n),
|
|
4152
|
-
radar: () => import("./chart-radar-B-_3v-rE.js").then((e) => e.n),
|
|
4153
|
-
radialBar: () => import("./chart-radial-bar-C0EgzfAF.js").then((e) => e.n),
|
|
4154
|
-
treemap: () => import("./chart-tree-map-Bi4axCvh.js").then((e) => e.n),
|
|
4155
|
-
bubble: () => import("./chart-bubble-DGkTQlxM.js").then((e) => e.t),
|
|
4156
|
-
table: () => Promise.resolve().then(() => Lo),
|
|
4157
|
-
activityGrid: () => import("./chart-activity-grid-CiHrLH6Y.js").then((e) => e.t),
|
|
4158
|
-
kpiNumber: () => import("./chart-kpi-number-C6gWz-x4.js").then((e) => e.t),
|
|
4159
|
-
kpiDelta: () => import("./chart-kpi-delta-CxOYD2f1.js").then((e) => e.t),
|
|
4160
|
-
kpiText: () => import("./chart-kpi-text-dDONrhS-.js").then((e) => e.t),
|
|
4161
|
-
markdown: () => import("./chart-markdown-BPW-EAm9.js").then((e) => e.n),
|
|
4162
|
-
funnel: () => import("./chart-funnel-Eke8IPtG.js").then((e) => e.n),
|
|
4163
|
-
sankey: () => import("./chart-sankey-CFzjGvZX.js").then((e) => e.t),
|
|
4164
|
-
sunburst: () => import("./chart-sunburst-91Q2tzaB.js").then((e) => e.t),
|
|
4165
|
-
heatmap: () => import("./chart-heat-map-C86thSJ4.js").then((e) => e.t),
|
|
4166
|
-
retentionHeatmap: () => import("./RetentionHeatmap-B24PiIfr.js"),
|
|
4167
|
-
retentionCombined: () => import("./RetentionCombinedChart-CCpu0C-s.js"),
|
|
4168
|
-
boxPlot: () => import("./chart-box-plot-Bu9hy-17.js").then((e) => e.t),
|
|
4169
|
-
waterfall: () => import("./chart-waterfall-DcHbbPaG.js").then((e) => e.t),
|
|
4170
|
-
candlestick: () => import("./chart-candlestick-Dau5AF4E.js").then((e) => e.t),
|
|
4171
|
-
measureProfile: () => import("./chart-measure-profile-BI3kADCp.js").then((e) => e.t),
|
|
4172
|
-
gauge: () => import("./chart-gauge-DeRZNsyl.js").then((e) => e.t)
|
|
4173
|
-
}, X = /* @__PURE__ */ new Map();
|
|
4174
|
-
function Wa(e) {
|
|
4297
|
+
};
|
|
4298
|
+
function to(e) {
|
|
4175
4299
|
let t = ({ height: t }) => {
|
|
4176
|
-
let { t: n } =
|
|
4177
|
-
return /* @__PURE__ */
|
|
4300
|
+
let { t: n } = a();
|
|
4301
|
+
return /* @__PURE__ */ D("div", {
|
|
4178
4302
|
className: "dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:gap-2",
|
|
4179
4303
|
style: { height: typeof t == "number" ? `${t}px` : t || "200px" },
|
|
4180
|
-
children: [/* @__PURE__ */
|
|
4304
|
+
children: [/* @__PURE__ */ E("div", {
|
|
4181
4305
|
className: "dc:text-sm dc:font-semibold text-dc-text-muted",
|
|
4182
4306
|
children: n("chart.runtime.unknownChartType")
|
|
4183
|
-
}), /* @__PURE__ */
|
|
4307
|
+
}), /* @__PURE__ */ D("div", {
|
|
4184
4308
|
className: "dc:text-xs text-dc-text-muted",
|
|
4185
4309
|
children: [
|
|
4186
4310
|
"“",
|
|
@@ -4192,8 +4316,8 @@ function Wa(e) {
|
|
|
4192
4316
|
};
|
|
4193
4317
|
return t.displayName = `UnknownChart_${e}`, t;
|
|
4194
4318
|
}
|
|
4195
|
-
function
|
|
4196
|
-
let t =
|
|
4319
|
+
function no(e) {
|
|
4320
|
+
let t = eo[e], n = ({ height: n }) => /* @__PURE__ */ E(Xa, {
|
|
4197
4321
|
chartType: e,
|
|
4198
4322
|
packageName: t?.packageName || "unknown",
|
|
4199
4323
|
installCommand: t?.installCommand || "npm install [package-name]",
|
|
@@ -4201,254 +4325,55 @@ function Ga(e) {
|
|
|
4201
4325
|
});
|
|
4202
4326
|
return n.displayName = `${e}Fallback`, n;
|
|
4203
4327
|
}
|
|
4204
|
-
function
|
|
4328
|
+
function ro(e, t) {
|
|
4205
4329
|
return async () => {
|
|
4206
4330
|
try {
|
|
4207
4331
|
return await t();
|
|
4208
4332
|
} catch (t) {
|
|
4209
|
-
return console.warn(`[drizzle-cube] Failed to load ${e} chart:`, t instanceof Error ? t.message : t),
|
|
4333
|
+
return console.warn(`[drizzle-cube] Failed to load ${e} chart:`, t instanceof Error ? t.message : t), Qa.add(e), { default: no(e) };
|
|
4210
4334
|
}
|
|
4211
4335
|
};
|
|
4212
4336
|
}
|
|
4213
|
-
function
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
let n = Y[e];
|
|
4218
|
-
if (n) {
|
|
4219
|
-
let t = Ka(e, n);
|
|
4220
|
-
return q.set(e, _e(t)), q.get(e);
|
|
4221
|
-
}
|
|
4222
|
-
return _e(() => Promise.resolve({ default: Wa(e) }));
|
|
4223
|
-
}
|
|
4224
|
-
function Ja(e) {
|
|
4225
|
-
return e in Y || X.has(e);
|
|
4226
|
-
}
|
|
4227
|
-
function Ya({ height: e }) {
|
|
4228
|
-
return /* @__PURE__ */ T("div", {
|
|
4229
|
-
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
4230
|
-
style: { height: typeof e == "number" ? `${e}px` : e || "200px" },
|
|
4231
|
-
children: /* @__PURE__ */ T("div", { className: "dc:animate-pulse bg-dc-surface-secondary dc:rounded dc:w-full dc:h-full dc:min-h-[100px]" })
|
|
4232
|
-
});
|
|
4233
|
-
}
|
|
4234
|
-
function Xa({ chartType: e, fallback: t, height: n, ...r }) {
|
|
4235
|
-
let i = qa(e);
|
|
4236
|
-
return /* @__PURE__ */ T(pe, {
|
|
4237
|
-
fallback: t ?? /* @__PURE__ */ T(Ya, { height: n }),
|
|
4238
|
-
children: /* @__PURE__ */ T(i, {
|
|
4239
|
-
height: n,
|
|
4240
|
-
...r
|
|
4241
|
-
})
|
|
4242
|
-
});
|
|
4243
|
-
}
|
|
4244
|
-
function Za(e) {
|
|
4245
|
-
let t = Y[e];
|
|
4246
|
-
t && t();
|
|
4247
|
-
}
|
|
4248
|
-
function Qa(e) {
|
|
4249
|
-
e.forEach(Za);
|
|
4250
|
-
}
|
|
4251
|
-
function $a() {
|
|
4252
|
-
let e = Object.keys(Y), t = Array.from(X.keys());
|
|
4253
|
-
return [...new Set([...e, ...t])];
|
|
4254
|
-
}
|
|
4255
|
-
function eo(e) {
|
|
4256
|
-
return !J.has(e);
|
|
4257
|
-
}
|
|
4258
|
-
function to() {
|
|
4259
|
-
return Array.from(J);
|
|
4260
|
-
}
|
|
4261
|
-
function no(e, t, n, r) {
|
|
4262
|
-
if (q.delete(e), J.delete(e), n) {
|
|
4263
|
-
let t = r ? Ka(e, n) : n;
|
|
4264
|
-
X.set(e, _e(t));
|
|
4337
|
+
function io(e, t, n, r) {
|
|
4338
|
+
if (Za.delete(e), Qa.delete(e), n) {
|
|
4339
|
+
let t = r ? ro(e, n) : n;
|
|
4340
|
+
$a.set(e, ge(t));
|
|
4265
4341
|
} else if (t) {
|
|
4266
4342
|
let n = t;
|
|
4267
|
-
|
|
4268
|
-
}
|
|
4269
|
-
}
|
|
4270
|
-
function ro(e) {
|
|
4271
|
-
X.delete(e), q.delete(e), J.delete(e);
|
|
4272
|
-
}
|
|
4273
|
-
//#endregion
|
|
4274
|
-
//#region src/client/charts/chartConfigs.ts
|
|
4275
|
-
var io = {
|
|
4276
|
-
dropZones: [
|
|
4277
|
-
{
|
|
4278
|
-
key: "xAxis",
|
|
4279
|
-
label: "chart.dropZone.xAxis.label",
|
|
4280
|
-
description: "chart.dropZone.xAxis.description",
|
|
4281
|
-
mandatory: !1,
|
|
4282
|
-
acceptTypes: ["dimension", "timeDimension"],
|
|
4283
|
-
emptyText: "chart.dropZone.xAxis.empty"
|
|
4284
|
-
},
|
|
4285
|
-
{
|
|
4286
|
-
key: "yAxis",
|
|
4287
|
-
label: "chart.dropZone.yAxis.label",
|
|
4288
|
-
description: "chart.dropZone.yAxis.description",
|
|
4289
|
-
mandatory: !1,
|
|
4290
|
-
acceptTypes: ["measure", "dimension"],
|
|
4291
|
-
emptyText: "chart.dropZone.yAxis.empty"
|
|
4292
|
-
},
|
|
4293
|
-
{
|
|
4294
|
-
key: "series",
|
|
4295
|
-
label: "chart.dropZone.series.label",
|
|
4296
|
-
description: "chart.dropZone.series.description",
|
|
4297
|
-
mandatory: !1,
|
|
4298
|
-
acceptTypes: ["dimension"],
|
|
4299
|
-
emptyText: "chart.dropZone.series.empty"
|
|
4300
|
-
}
|
|
4301
|
-
],
|
|
4302
|
-
displayOptions: [
|
|
4303
|
-
"showLegend",
|
|
4304
|
-
"showGrid",
|
|
4305
|
-
"showTooltip"
|
|
4306
|
-
]
|
|
4307
|
-
}, ao = {
|
|
4308
|
-
bar: () => import("./chart-config-bar-_JEGZnAu.js").then((e) => e.t),
|
|
4309
|
-
line: () => import("./chart-config-line-Db3jDsWc.js").then((e) => e.t),
|
|
4310
|
-
area: () => import("./chart-config-area-Bq_UsW3x.js").then((e) => e.t),
|
|
4311
|
-
pie: () => import("./chart-config-pie-DD4SmRTF.js").then((e) => e.t),
|
|
4312
|
-
scatter: () => import("./chart-config-scatter-DSYTjwRb.js").then((e) => e.t),
|
|
4313
|
-
radar: () => import("./chart-config-radar-CC2XAaGr.js").then((e) => e.t),
|
|
4314
|
-
radialBar: () => import("./chart-config-radial-bar-DmxKx1R0.js").then((e) => e.t),
|
|
4315
|
-
treemap: () => import("./chart-config-tree-map-BI-oQStO.js").then((e) => e.t),
|
|
4316
|
-
bubble: () => import("./chart-config-bubble-gIoqVyjZ.js").then((e) => e.t),
|
|
4317
|
-
table: () => import("./chart-config-data-table-d7VBY-y_.js").then((e) => e.t),
|
|
4318
|
-
activityGrid: () => import("./chart-config-activity-grid-D_UX4NHC.js").then((e) => e.t),
|
|
4319
|
-
kpiNumber: () => import("./chart-config-kpi-number-Bx-V9a62.js").then((e) => e.t),
|
|
4320
|
-
kpiDelta: () => import("./chart-config-kpi-delta-D6BIkHL3.js").then((e) => e.t),
|
|
4321
|
-
kpiText: () => import("./chart-config-kpi-text-CcqC1u-8.js").then((e) => e.t),
|
|
4322
|
-
markdown: () => import("./chart-config-markdown-BtRIe8JN.js").then((e) => e.t),
|
|
4323
|
-
funnel: () => import("./chart-config-funnel-DEYMcxsD.js").then((e) => e.t),
|
|
4324
|
-
sankey: () => import("./chart-config-sankey-BTnWA7EW.js").then((e) => e.t),
|
|
4325
|
-
sunburst: () => import("./chart-config-sunburst-Bwjtdf7X.js").then((e) => e.t),
|
|
4326
|
-
heatmap: () => import("./chart-config-heat-map-CfRnRNcw.js").then((e) => e.t),
|
|
4327
|
-
retentionHeatmap: () => Promise.resolve().then(() => yo),
|
|
4328
|
-
retentionCombined: () => Promise.resolve().then(() => xo),
|
|
4329
|
-
boxPlot: () => import("./chart-config-box-plot-DJ-dWWXA.js").then((e) => e.t),
|
|
4330
|
-
waterfall: () => import("./chart-config-waterfall-DSnyixbI.js").then((e) => e.t),
|
|
4331
|
-
candlestick: () => import("./chart-config-candlestick-N6DchAA3.js").then((e) => e.t),
|
|
4332
|
-
measureProfile: () => import("./chart-config-measure-profile-DxRGa-zf.js").then((e) => e.t),
|
|
4333
|
-
gauge: () => import("./chart-config-gauge-DSwC04l0.js").then((e) => e.t)
|
|
4334
|
-
}, oo = {
|
|
4335
|
-
bar: "barChartConfig",
|
|
4336
|
-
line: "lineChartConfig",
|
|
4337
|
-
area: "areaChartConfig",
|
|
4338
|
-
pie: "pieChartConfig",
|
|
4339
|
-
scatter: "scatterChartConfig",
|
|
4340
|
-
radar: "radarChartConfig",
|
|
4341
|
-
radialBar: "radialBarChartConfig",
|
|
4342
|
-
treemap: "treemapChartConfig",
|
|
4343
|
-
bubble: "bubbleChartConfig",
|
|
4344
|
-
table: "dataTableConfig",
|
|
4345
|
-
activityGrid: "activityGridChartConfig",
|
|
4346
|
-
kpiNumber: "kpiNumberConfig",
|
|
4347
|
-
kpiDelta: "kpiDeltaConfig",
|
|
4348
|
-
kpiText: "kpiTextConfig",
|
|
4349
|
-
markdown: "markdownConfig",
|
|
4350
|
-
funnel: "funnelChartConfig",
|
|
4351
|
-
sankey: "sankeyChartConfig",
|
|
4352
|
-
sunburst: "sunburstChartConfig",
|
|
4353
|
-
heatmap: "heatmapChartConfig",
|
|
4354
|
-
retentionHeatmap: "retentionHeatmapConfig",
|
|
4355
|
-
retentionCombined: "retentionCombinedConfig",
|
|
4356
|
-
boxPlot: "boxPlotChartConfig",
|
|
4357
|
-
waterfall: "waterfallChartConfig",
|
|
4358
|
-
candlestick: "candlestickChartConfig",
|
|
4359
|
-
measureProfile: "measureProfileChartConfig",
|
|
4360
|
-
gauge: "gaugeChartConfig"
|
|
4361
|
-
}, Z = /* @__PURE__ */ new Map();
|
|
4362
|
-
async function so(e) {
|
|
4363
|
-
if (Z.has(e)) return Z.get(e);
|
|
4364
|
-
let t = ao[e];
|
|
4365
|
-
if (!t) return null;
|
|
4366
|
-
try {
|
|
4367
|
-
let n = (await t())[oo[e]];
|
|
4368
|
-
return n ? (Z.set(e, n), n) : null;
|
|
4369
|
-
} catch (t) {
|
|
4370
|
-
return console.error(`Failed to load config for chart type: ${e}`, t), null;
|
|
4343
|
+
$a.set(e, ge(() => Promise.resolve({ default: n })));
|
|
4371
4344
|
}
|
|
4372
4345
|
}
|
|
4373
|
-
function
|
|
4374
|
-
|
|
4375
|
-
}
|
|
4376
|
-
function lo(e) {
|
|
4377
|
-
return Z.has(e);
|
|
4378
|
-
}
|
|
4379
|
-
function uo(e) {
|
|
4380
|
-
let [t, n] = w(e ? co(e) : io), [r, i] = w(!1), [a, o] = w(!1);
|
|
4381
|
-
return S(() => {
|
|
4382
|
-
if (!e) {
|
|
4383
|
-
n(io), o(!1);
|
|
4384
|
-
return;
|
|
4385
|
-
}
|
|
4386
|
-
if (Z.has(e)) {
|
|
4387
|
-
n(Z.get(e)), o(!0);
|
|
4388
|
-
return;
|
|
4389
|
-
}
|
|
4390
|
-
i(!0), so(e).then((e) => {
|
|
4391
|
-
e ? (n(e), o(!0)) : (n(io), o(!0));
|
|
4392
|
-
}).finally(() => i(!1));
|
|
4393
|
-
}, [e]), {
|
|
4394
|
-
config: t,
|
|
4395
|
-
loading: r,
|
|
4396
|
-
loaded: a
|
|
4397
|
-
};
|
|
4398
|
-
}
|
|
4399
|
-
async function fo(e) {
|
|
4400
|
-
Z.has(e) || await so(e);
|
|
4401
|
-
}
|
|
4402
|
-
async function po(e) {
|
|
4403
|
-
await Promise.all(e.map(fo));
|
|
4404
|
-
}
|
|
4405
|
-
async function mo() {
|
|
4406
|
-
let e = Object.keys(ao);
|
|
4407
|
-
await Promise.all(e.map(so));
|
|
4408
|
-
let t = {};
|
|
4409
|
-
for (let n of e) {
|
|
4410
|
-
let e = Z.get(n);
|
|
4411
|
-
e && (t[n] = e);
|
|
4412
|
-
}
|
|
4413
|
-
return t;
|
|
4414
|
-
}
|
|
4415
|
-
function ho() {
|
|
4416
|
-
Z.clear();
|
|
4417
|
-
}
|
|
4418
|
-
function go(e, t) {
|
|
4419
|
-
Z.set(e, t);
|
|
4420
|
-
}
|
|
4421
|
-
function _o(e) {
|
|
4422
|
-
Z.delete(e);
|
|
4346
|
+
function ao(e) {
|
|
4347
|
+
$a.delete(e), Za.delete(e), Qa.delete(e);
|
|
4423
4348
|
}
|
|
4424
4349
|
//#endregion
|
|
4425
4350
|
//#region src/client/providers/CubeMetaProvider.tsx
|
|
4426
|
-
function
|
|
4427
|
-
let { meta: t, labelMap: n, isLoading:
|
|
4428
|
-
|
|
4429
|
-
}, [
|
|
4351
|
+
function oo({ children: e }) {
|
|
4352
|
+
let { meta: t, labelMap: n, isLoading: r, error: i, refetch: a, getFieldLabel: s } = nn(), c = i ? i instanceof Error ? i.message : String(i) : null, l = S(() => {
|
|
4353
|
+
a();
|
|
4354
|
+
}, [a]), u = S((e) => s(e), [s]), d = w(() => ({
|
|
4430
4355
|
meta: t,
|
|
4431
4356
|
labelMap: n,
|
|
4432
|
-
metaLoading:
|
|
4357
|
+
metaLoading: r,
|
|
4433
4358
|
metaError: c,
|
|
4434
4359
|
getFieldLabel: u,
|
|
4435
4360
|
refetchMeta: l
|
|
4436
4361
|
}), [
|
|
4437
4362
|
t,
|
|
4438
4363
|
n,
|
|
4439
|
-
|
|
4364
|
+
r,
|
|
4440
4365
|
c,
|
|
4441
4366
|
u,
|
|
4442
4367
|
l
|
|
4443
4368
|
]);
|
|
4444
|
-
return /* @__PURE__ */
|
|
4369
|
+
return /* @__PURE__ */ E(o.Provider, {
|
|
4445
4370
|
value: d,
|
|
4446
4371
|
children: e
|
|
4447
4372
|
});
|
|
4448
4373
|
}
|
|
4449
4374
|
//#endregion
|
|
4450
4375
|
//#region src/client/components/charts/RetentionHeatmap.config.ts
|
|
4451
|
-
var
|
|
4376
|
+
var so = /* @__PURE__ */ t({ retentionHeatmapConfig: () => co }), co = {
|
|
4452
4377
|
label: "chart.retentionHeatmap.label",
|
|
4453
4378
|
dropZones: [],
|
|
4454
4379
|
displayOptionsConfig: [{
|
|
@@ -4466,7 +4391,7 @@ var yo = /* @__PURE__ */ t({ retentionHeatmapConfig: () => bo }), bo = {
|
|
|
4466
4391
|
}],
|
|
4467
4392
|
description: "chart.retentionHeatmap.description",
|
|
4468
4393
|
useCase: "chart.retentionHeatmap.useCase"
|
|
4469
|
-
},
|
|
4394
|
+
}, lo = /* @__PURE__ */ t({ retentionCombinedConfig: () => uo }), uo = {
|
|
4470
4395
|
label: "chart.retentionCombined.label",
|
|
4471
4396
|
dropZones: [],
|
|
4472
4397
|
displayOptionsConfig: [
|
|
@@ -4516,9 +4441,9 @@ var yo = /* @__PURE__ */ t({ retentionHeatmapConfig: () => bo }), bo = {
|
|
|
4516
4441
|
description: "chart.retentionCombined.description",
|
|
4517
4442
|
useCase: "chart.retentionCombined.useCase"
|
|
4518
4443
|
}, Q = {
|
|
4519
|
-
bar:
|
|
4520
|
-
line:
|
|
4521
|
-
area:
|
|
4444
|
+
bar: u,
|
|
4445
|
+
line: d,
|
|
4446
|
+
area: l,
|
|
4522
4447
|
pie: f,
|
|
4523
4448
|
scatter: p,
|
|
4524
4449
|
bubble: m,
|
|
@@ -4535,18 +4460,18 @@ var yo = /* @__PURE__ */ t({ retentionHeatmapConfig: () => bo }), bo = {
|
|
|
4535
4460
|
sankey: ie,
|
|
4536
4461
|
sunburst: ae,
|
|
4537
4462
|
heatmap: oe,
|
|
4538
|
-
retentionHeatmap:
|
|
4539
|
-
retentionCombined:
|
|
4463
|
+
retentionHeatmap: co,
|
|
4464
|
+
retentionCombined: uo,
|
|
4540
4465
|
boxPlot: se,
|
|
4541
4466
|
waterfall: ce,
|
|
4542
4467
|
candlestick: le,
|
|
4543
4468
|
measureProfile: ue,
|
|
4544
4469
|
gauge: de
|
|
4545
4470
|
};
|
|
4546
|
-
function
|
|
4471
|
+
function fo(e, t) {
|
|
4547
4472
|
Q[e] = t;
|
|
4548
4473
|
}
|
|
4549
|
-
function
|
|
4474
|
+
function po(e) {
|
|
4550
4475
|
delete Q[e];
|
|
4551
4476
|
}
|
|
4552
4477
|
var $ = new class {
|
|
@@ -4560,13 +4485,13 @@ var $ = new class {
|
|
|
4560
4485
|
...e.config,
|
|
4561
4486
|
label: e.config.label || e.label
|
|
4562
4487
|
};
|
|
4563
|
-
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),
|
|
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), fo(e.type, t), Ae(e.type, t), io(e.type, e.component, e.lazyComponent, e.dependencies), e.icon && this.iconMap.set(e.type, e.icon), this.bump();
|
|
4564
4489
|
}
|
|
4565
4490
|
unregister(e) {
|
|
4566
4491
|
if (!this.customCharts.has(e)) return;
|
|
4567
4492
|
this.customCharts.delete(e), this.iconMap.delete(e);
|
|
4568
4493
|
let t = this.builtInBackups.get(e);
|
|
4569
|
-
t ? (
|
|
4494
|
+
t ? (fo(e, t), Ae(e, t), this.builtInBackups.delete(e)) : (po(e), je(e)), ao(e), this.bump();
|
|
4570
4495
|
}
|
|
4571
4496
|
getIcon(e) {
|
|
4572
4497
|
return this.iconMap.get(e);
|
|
@@ -4586,22 +4511,22 @@ var $ = new class {
|
|
|
4586
4511
|
for (let e of this.listeners) e();
|
|
4587
4512
|
}
|
|
4588
4513
|
}();
|
|
4589
|
-
|
|
4514
|
+
Ba((e) => $.getIcon(e));
|
|
4590
4515
|
//#endregion
|
|
4591
4516
|
//#region src/client/providers/CubeProvider.tsx
|
|
4592
|
-
var
|
|
4517
|
+
var mo = { apiUrl: "/cubejs-api/v1" }, ho = () => new kt({ defaultOptions: { queries: {
|
|
4593
4518
|
staleTime: 300 * 1e3,
|
|
4594
4519
|
gcTime: 900 * 1e3,
|
|
4595
4520
|
retry: 3,
|
|
4596
4521
|
refetchOnWindowFocus: !1
|
|
4597
4522
|
} } });
|
|
4598
|
-
|
|
4599
|
-
function
|
|
4600
|
-
|
|
4601
|
-
|
|
4523
|
+
ho();
|
|
4524
|
+
function go({ cubeApi: e, apiOptions: t, token: n, options: a, features: o, dashboardModes: s, enableBatching: c, batchDelayMs: l, queryClient: u, customCharts: d, locale: f, translations: p, debugI18n: m, children: h }) {
|
|
4525
|
+
C(() => {
|
|
4526
|
+
i(!!m);
|
|
4602
4527
|
}, [m]);
|
|
4603
|
-
let [g] =
|
|
4604
|
-
return
|
|
4528
|
+
let [g] = T(() => ho()), _ = u ?? g, v = ve([]);
|
|
4529
|
+
return C(() => {
|
|
4605
4530
|
if (!d || d.length === 0) {
|
|
4606
4531
|
for (let e of v.current) $.unregister(e);
|
|
4607
4532
|
v.current = [];
|
|
@@ -4614,19 +4539,19 @@ function Do({ cubeApi: e, apiOptions: t, token: r, options: i, features: o, dash
|
|
|
4614
4539
|
for (let e of v.current) $.unregister(e);
|
|
4615
4540
|
v.current = [];
|
|
4616
4541
|
};
|
|
4617
|
-
}, [d]), /* @__PURE__ */
|
|
4542
|
+
}, [d]), /* @__PURE__ */ E(r, {
|
|
4618
4543
|
locale: f,
|
|
4619
4544
|
translations: p,
|
|
4620
|
-
children: /* @__PURE__ */
|
|
4545
|
+
children: /* @__PURE__ */ E(Mt, {
|
|
4621
4546
|
client: _,
|
|
4622
|
-
children: /* @__PURE__ */
|
|
4623
|
-
apiOptions: t ||
|
|
4624
|
-
token:
|
|
4625
|
-
options:
|
|
4547
|
+
children: /* @__PURE__ */ E(Qt, {
|
|
4548
|
+
apiOptions: t || mo,
|
|
4549
|
+
token: n,
|
|
4550
|
+
options: a,
|
|
4626
4551
|
locale: f,
|
|
4627
4552
|
enableBatching: c,
|
|
4628
4553
|
batchDelayMs: l,
|
|
4629
|
-
children: /* @__PURE__ */
|
|
4554
|
+
children: /* @__PURE__ */ E(oo, { children: /* @__PURE__ */ E(Nn, {
|
|
4630
4555
|
features: o,
|
|
4631
4556
|
dashboardModes: s,
|
|
4632
4557
|
children: h
|
|
@@ -4635,9 +4560,9 @@ function Do({ cubeApi: e, apiOptions: t, token: r, options: i, features: o, dash
|
|
|
4635
4560
|
})
|
|
4636
4561
|
});
|
|
4637
4562
|
}
|
|
4638
|
-
function
|
|
4639
|
-
let e =
|
|
4640
|
-
return
|
|
4563
|
+
function _o() {
|
|
4564
|
+
let e = $t(), t = c(), n = Fn();
|
|
4565
|
+
return w(() => ({
|
|
4641
4566
|
...e,
|
|
4642
4567
|
...t,
|
|
4643
4568
|
features: n.features,
|
|
@@ -4650,14 +4575,14 @@ function Oo() {
|
|
|
4650
4575
|
}
|
|
4651
4576
|
//#endregion
|
|
4652
4577
|
//#region src/client/utils/pivotUtils.ts
|
|
4653
|
-
function
|
|
4578
|
+
function vo(e) {
|
|
4654
4579
|
if (!e) return [];
|
|
4655
4580
|
let t = [];
|
|
4656
4581
|
return e.dimensions && t.push(...e.dimensions), e.timeDimensions && e.timeDimensions.forEach((e) => {
|
|
4657
4582
|
t.includes(e.dimension) || t.push(e.dimension);
|
|
4658
4583
|
}), e.measures && t.push(...e.measures), t;
|
|
4659
4584
|
}
|
|
4660
|
-
function
|
|
4585
|
+
function yo(e, t) {
|
|
4661
4586
|
if (!e?.timeDimensions?.length) return null;
|
|
4662
4587
|
let n = e.timeDimensions.find((e) => e.granularity);
|
|
4663
4588
|
if (!n?.granularity || !e.measures?.length) return null;
|
|
@@ -4674,17 +4599,17 @@ function Ao(e, t) {
|
|
|
4674
4599
|
measures: i
|
|
4675
4600
|
};
|
|
4676
4601
|
}
|
|
4677
|
-
function
|
|
4678
|
-
let
|
|
4602
|
+
function bo(e, t, r) {
|
|
4603
|
+
let i = /* @__PURE__ */ new Set();
|
|
4679
4604
|
return e.forEach((e) => {
|
|
4680
|
-
let
|
|
4681
|
-
if (
|
|
4682
|
-
let e =
|
|
4683
|
-
|
|
4605
|
+
let a = e[t];
|
|
4606
|
+
if (a != null) {
|
|
4607
|
+
let e = n(a, r);
|
|
4608
|
+
i.add(e);
|
|
4684
4609
|
}
|
|
4685
|
-
}), Array.from(
|
|
4610
|
+
}), Array.from(i).sort();
|
|
4686
4611
|
}
|
|
4687
|
-
function
|
|
4612
|
+
function xo(e, t, n) {
|
|
4688
4613
|
let r = [];
|
|
4689
4614
|
return e.measures.length > 1 && r.push({
|
|
4690
4615
|
key: "__measure__",
|
|
@@ -4705,20 +4630,20 @@ function Mo(e, t, n) {
|
|
|
4705
4630
|
});
|
|
4706
4631
|
}), r;
|
|
4707
4632
|
}
|
|
4708
|
-
function
|
|
4709
|
-
let
|
|
4633
|
+
function So(e, t) {
|
|
4634
|
+
let r = /* @__PURE__ */ new Map();
|
|
4710
4635
|
return e.forEach((e) => {
|
|
4711
|
-
let
|
|
4712
|
-
|
|
4713
|
-
let
|
|
4714
|
-
if (
|
|
4715
|
-
let
|
|
4716
|
-
|
|
4636
|
+
let i = t.dimensions.length > 0 ? t.dimensions.map((t) => String(e[t] ?? "")).join("|") : "__all__";
|
|
4637
|
+
r.has(i) || r.set(i, /* @__PURE__ */ new Map());
|
|
4638
|
+
let a = e[t.timeDimension];
|
|
4639
|
+
if (a != null) {
|
|
4640
|
+
let o = n(a, t.granularity);
|
|
4641
|
+
r.get(i).set(o, e);
|
|
4717
4642
|
}
|
|
4718
|
-
}),
|
|
4643
|
+
}), r;
|
|
4719
4644
|
}
|
|
4720
|
-
function
|
|
4721
|
-
let i =
|
|
4645
|
+
function Co(e, t, n, r) {
|
|
4646
|
+
let i = So(e, t), a = Array.from(i.keys()), o = [], s = t.measures.length, c = a.length;
|
|
4722
4647
|
return t.measures.forEach((e) => {
|
|
4723
4648
|
a.forEach((a, l) => {
|
|
4724
4649
|
let u = i.get(a), d = s > 1 ? `${e}|${a}` : a, f = {}, p = a === "__all__" ? [] : a.split("|");
|
|
@@ -4738,20 +4663,20 @@ function Po(e, t, n, r) {
|
|
|
4738
4663
|
});
|
|
4739
4664
|
}), o;
|
|
4740
4665
|
}
|
|
4741
|
-
function
|
|
4666
|
+
function wo(e, t, n, r) {
|
|
4742
4667
|
if (!e || e.length === 0) return {
|
|
4743
4668
|
isPivoted: !0,
|
|
4744
4669
|
columns: [],
|
|
4745
4670
|
rows: []
|
|
4746
4671
|
};
|
|
4747
|
-
let i =
|
|
4672
|
+
let i = bo(e, t.timeDimension, t.granularity);
|
|
4748
4673
|
return {
|
|
4749
4674
|
isPivoted: !0,
|
|
4750
|
-
columns:
|
|
4751
|
-
rows:
|
|
4675
|
+
columns: xo(t, i, n),
|
|
4676
|
+
rows: Co(e, t, i, n)
|
|
4752
4677
|
};
|
|
4753
4678
|
}
|
|
4754
|
-
function
|
|
4679
|
+
function To(e, t) {
|
|
4755
4680
|
if (t?.cubes) for (let n of t.cubes) {
|
|
4756
4681
|
let t = n.measures.find((t) => t.name === e);
|
|
4757
4682
|
if (t) return t.type;
|
|
@@ -4759,72 +4684,72 @@ function Io(e, t) {
|
|
|
4759
4684
|
}
|
|
4760
4685
|
//#endregion
|
|
4761
4686
|
//#region src/client/components/charts/DataTable.tsx
|
|
4762
|
-
var
|
|
4763
|
-
let { t:
|
|
4687
|
+
var Eo = /* @__PURE__ */ t({ default: () => Do }), Do = fe.memo(function({ data: e, chartConfig: t, displayConfig: n = {}, queryObject: r, height: i = 300 }) {
|
|
4688
|
+
let { t: o } = a(), { getFieldLabel: s, meta: l } = c(), u = w(() => yo(r, t?.xAxis), [r, t?.xAxis]), d = n?.pivotTimeDimension !== !1, f = w(() => !u || !d ? null : wo(e, u, s, l), [
|
|
4764
4689
|
e,
|
|
4765
4690
|
u,
|
|
4766
4691
|
d,
|
|
4767
|
-
|
|
4692
|
+
s,
|
|
4768
4693
|
l
|
|
4769
4694
|
]);
|
|
4770
|
-
return !e || e.length === 0 ? /* @__PURE__ */
|
|
4695
|
+
return !e || e.length === 0 ? /* @__PURE__ */ E("div", {
|
|
4771
4696
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
4772
|
-
style: { height:
|
|
4773
|
-
children: /* @__PURE__ */
|
|
4697
|
+
style: { height: i },
|
|
4698
|
+
children: /* @__PURE__ */ D("div", {
|
|
4774
4699
|
className: "dc:text-center text-dc-text-muted",
|
|
4775
|
-
children: [/* @__PURE__ */
|
|
4700
|
+
children: [/* @__PURE__ */ E("div", {
|
|
4776
4701
|
className: "dc:text-sm dc:font-semibold dc:mb-1",
|
|
4777
|
-
children:
|
|
4778
|
-
}), /* @__PURE__ */
|
|
4702
|
+
children: o("chart.runtime.noData")
|
|
4703
|
+
}), /* @__PURE__ */ E("div", {
|
|
4779
4704
|
className: "dc:text-xs text-dc-text-secondary",
|
|
4780
|
-
children:
|
|
4705
|
+
children: o("chart.runtime.noDataHint.table")
|
|
4781
4706
|
})]
|
|
4782
4707
|
})
|
|
4783
|
-
}) : f?.isPivoted && f.columns.length > 0 ? /* @__PURE__ */
|
|
4708
|
+
}) : f?.isPivoted && f.columns.length > 0 ? /* @__PURE__ */ E(Oo, {
|
|
4784
4709
|
pivotedData: f,
|
|
4785
|
-
height:
|
|
4710
|
+
height: i,
|
|
4786
4711
|
meta: l,
|
|
4787
4712
|
leftYAxisFormat: n?.leftYAxisFormat
|
|
4788
|
-
}) : /* @__PURE__ */
|
|
4713
|
+
}) : /* @__PURE__ */ E(jo, {
|
|
4789
4714
|
data: e,
|
|
4790
4715
|
chartConfig: t,
|
|
4791
4716
|
queryObject: r,
|
|
4792
|
-
height:
|
|
4793
|
-
getFieldLabel:
|
|
4717
|
+
height: i,
|
|
4718
|
+
getFieldLabel: s,
|
|
4794
4719
|
leftYAxisFormat: n?.leftYAxisFormat
|
|
4795
4720
|
});
|
|
4796
4721
|
});
|
|
4797
|
-
function
|
|
4798
|
-
let { t: i } =
|
|
4799
|
-
return
|
|
4722
|
+
function Oo({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
|
|
4723
|
+
let { t: i } = a(), { columns: o, rows: s } = e;
|
|
4724
|
+
return o.length === 0 || s.length === 0 ? /* @__PURE__ */ E("div", {
|
|
4800
4725
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
4801
4726
|
style: { height: t },
|
|
4802
|
-
children: /* @__PURE__ */
|
|
4727
|
+
children: /* @__PURE__ */ D("div", {
|
|
4803
4728
|
className: "dc:text-center text-dc-text-muted",
|
|
4804
|
-
children: [/* @__PURE__ */
|
|
4729
|
+
children: [/* @__PURE__ */ E("div", {
|
|
4805
4730
|
className: "dc:text-sm dc:font-semibold dc:mb-1",
|
|
4806
4731
|
children: i("chart.runtime.noData")
|
|
4807
|
-
}), /* @__PURE__ */
|
|
4732
|
+
}), /* @__PURE__ */ E("div", {
|
|
4808
4733
|
className: "dc:text-xs text-dc-text-secondary",
|
|
4809
4734
|
children: i("chart.runtime.noDataHint.table")
|
|
4810
4735
|
})]
|
|
4811
4736
|
})
|
|
4812
|
-
}) : /* @__PURE__ */
|
|
4737
|
+
}) : /* @__PURE__ */ E("div", {
|
|
4813
4738
|
className: "dc:w-full dc:overflow-auto",
|
|
4814
4739
|
style: { height: t },
|
|
4815
|
-
children: /* @__PURE__ */
|
|
4740
|
+
children: /* @__PURE__ */ D("table", {
|
|
4816
4741
|
className: "dc:min-w-full dc:divide-y border-dc-border",
|
|
4817
|
-
children: [/* @__PURE__ */
|
|
4742
|
+
children: [/* @__PURE__ */ E("thead", {
|
|
4818
4743
|
className: "bg-dc-surface-secondary dc:sticky dc:top-0",
|
|
4819
|
-
children: /* @__PURE__ */
|
|
4744
|
+
children: /* @__PURE__ */ E("tr", { children: o.map((e) => /* @__PURE__ */ E("th", {
|
|
4820
4745
|
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"}`,
|
|
4821
4746
|
children: e.label
|
|
4822
4747
|
}, e.key)) })
|
|
4823
|
-
}), /* @__PURE__ */
|
|
4748
|
+
}), /* @__PURE__ */ E("tbody", {
|
|
4824
4749
|
className: "bg-dc-surface dc:divide-y border-dc-border",
|
|
4825
|
-
children: s.map((e) => /* @__PURE__ */
|
|
4750
|
+
children: s.map((e) => /* @__PURE__ */ E(ko, {
|
|
4826
4751
|
row: e,
|
|
4827
|
-
columns:
|
|
4752
|
+
columns: o,
|
|
4828
4753
|
meta: n,
|
|
4829
4754
|
leftYAxisFormat: r
|
|
4830
4755
|
}, e.id))
|
|
@@ -4832,36 +4757,36 @@ function zo({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
|
|
|
4832
4757
|
})
|
|
4833
4758
|
});
|
|
4834
4759
|
}
|
|
4835
|
-
function
|
|
4836
|
-
let i =
|
|
4837
|
-
return /* @__PURE__ */
|
|
4760
|
+
function ko({ row: e, columns: t, meta: n, leftYAxisFormat: r }) {
|
|
4761
|
+
let i = qa(To(e.measureField, n));
|
|
4762
|
+
return /* @__PURE__ */ E("tr", {
|
|
4838
4763
|
className: "hover:bg-dc-surface-secondary",
|
|
4839
4764
|
children: t.map((t) => {
|
|
4840
4765
|
let n = e.values[t.key];
|
|
4841
|
-
return t.isMeasureColumn ? e.isFirstInGroup === !1 ? null : /* @__PURE__ */
|
|
4766
|
+
return t.isMeasureColumn ? e.isFirstInGroup === !1 ? null : /* @__PURE__ */ E("td", {
|
|
4842
4767
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text dc:align-top",
|
|
4843
4768
|
rowSpan: e.dimensionRowSpan,
|
|
4844
|
-
children: /* @__PURE__ */
|
|
4769
|
+
children: /* @__PURE__ */ D("div", {
|
|
4845
4770
|
className: "dc:flex dc:items-center",
|
|
4846
|
-
children: [/* @__PURE__ */
|
|
4771
|
+
children: [/* @__PURE__ */ E(i, { className: "dc:w-3.5 dc:h-3.5 dc:mr-1.5 text-dc-text-muted dc:shrink-0" }), /* @__PURE__ */ E("span", { children: n })]
|
|
4847
4772
|
})
|
|
4848
|
-
}, t.key) : t.isTimeColumn ? /* @__PURE__ */
|
|
4773
|
+
}, t.key) : t.isTimeColumn ? /* @__PURE__ */ E("td", {
|
|
4849
4774
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm dc:text-right text-dc-text",
|
|
4850
|
-
children:
|
|
4851
|
-
}, t.key) : /* @__PURE__ */
|
|
4775
|
+
children: Ao(n, r)
|
|
4776
|
+
}, t.key) : /* @__PURE__ */ E("td", {
|
|
4852
4777
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text",
|
|
4853
|
-
children:
|
|
4778
|
+
children: Ao(n)
|
|
4854
4779
|
}, t.key);
|
|
4855
4780
|
})
|
|
4856
4781
|
});
|
|
4857
4782
|
}
|
|
4858
|
-
function
|
|
4859
|
-
return e == null ? "-" : typeof e == "number" ? t ?
|
|
4783
|
+
function Ao(e, t) {
|
|
4784
|
+
return e == null ? "-" : typeof e == "number" ? t ? s(e, t) : Number.isInteger(e) ? e.toLocaleString() : parseFloat(e.toFixed(2)).toLocaleString() : typeof e == "boolean" ? e ? "Yes" : "No" : String(e);
|
|
4860
4785
|
}
|
|
4861
|
-
function
|
|
4862
|
-
let { t: s } =
|
|
4786
|
+
function jo({ data: e, chartConfig: t, queryObject: n, height: r, getFieldLabel: i, leftYAxisFormat: o }) {
|
|
4787
|
+
let { t: s } = a(), c = Object.keys(e[0] || {}), l = w(() => {
|
|
4863
4788
|
if (t?.xAxis && t.xAxis.length > 0) return t.xAxis.filter((e) => c.includes(e));
|
|
4864
|
-
let e =
|
|
4789
|
+
let e = vo(n);
|
|
4865
4790
|
if (e.length > 0) {
|
|
4866
4791
|
let t = e.filter((e) => c.includes(e)), n = c.filter((e) => !t.includes(e));
|
|
4867
4792
|
return [...t, ...n];
|
|
@@ -4872,47 +4797,47 @@ function Ho({ data: e, chartConfig: t, queryObject: n, height: r, getFieldLabel:
|
|
|
4872
4797
|
n,
|
|
4873
4798
|
c
|
|
4874
4799
|
]);
|
|
4875
|
-
return l.length === 0 ? /* @__PURE__ */
|
|
4800
|
+
return l.length === 0 ? /* @__PURE__ */ E("div", {
|
|
4876
4801
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
4877
4802
|
style: { height: r },
|
|
4878
|
-
children: /* @__PURE__ */
|
|
4803
|
+
children: /* @__PURE__ */ D("div", {
|
|
4879
4804
|
className: "dc:text-center text-dc-text-muted",
|
|
4880
|
-
children: [/* @__PURE__ */
|
|
4805
|
+
children: [/* @__PURE__ */ E("div", {
|
|
4881
4806
|
className: "dc:text-sm dc:font-semibold dc:mb-1",
|
|
4882
4807
|
children: "No columns available"
|
|
4883
|
-
}), /* @__PURE__ */
|
|
4808
|
+
}), /* @__PURE__ */ E("div", {
|
|
4884
4809
|
className: "dc:text-xs text-dc-text-secondary",
|
|
4885
4810
|
children: s("chart.runtime.table.invalidStructure")
|
|
4886
4811
|
})]
|
|
4887
4812
|
})
|
|
4888
|
-
}) : /* @__PURE__ */
|
|
4813
|
+
}) : /* @__PURE__ */ E("div", {
|
|
4889
4814
|
className: "dc:w-full dc:overflow-auto",
|
|
4890
4815
|
style: { height: r },
|
|
4891
|
-
children: /* @__PURE__ */
|
|
4816
|
+
children: /* @__PURE__ */ D("table", {
|
|
4892
4817
|
className: "dc:min-w-full dc:divide-y border-dc-border",
|
|
4893
|
-
children: [/* @__PURE__ */
|
|
4818
|
+
children: [/* @__PURE__ */ E("thead", {
|
|
4894
4819
|
className: "bg-dc-surface-secondary dc:sticky dc:top-0",
|
|
4895
|
-
children: /* @__PURE__ */
|
|
4820
|
+
children: /* @__PURE__ */ E("tr", { children: l.map((e) => /* @__PURE__ */ E("th", {
|
|
4896
4821
|
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",
|
|
4897
4822
|
children: i(e)
|
|
4898
4823
|
}, e)) })
|
|
4899
|
-
}), /* @__PURE__ */
|
|
4824
|
+
}), /* @__PURE__ */ E("tbody", {
|
|
4900
4825
|
className: "bg-dc-surface dc:divide-y border-dc-border",
|
|
4901
|
-
children: e.map((e, t) => /* @__PURE__ */
|
|
4826
|
+
children: e.map((e, t) => /* @__PURE__ */ E("tr", {
|
|
4902
4827
|
className: "hover:bg-dc-surface-secondary",
|
|
4903
|
-
children: l.map((t) => /* @__PURE__ */
|
|
4828
|
+
children: l.map((t) => /* @__PURE__ */ E("td", {
|
|
4904
4829
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text",
|
|
4905
|
-
children:
|
|
4830
|
+
children: Mo(e[t], o)
|
|
4906
4831
|
}, t))
|
|
4907
4832
|
}, t))
|
|
4908
4833
|
})]
|
|
4909
4834
|
})
|
|
4910
4835
|
});
|
|
4911
4836
|
}
|
|
4912
|
-
function
|
|
4913
|
-
return e == null ? "" : typeof e == "number" ? t ?
|
|
4837
|
+
function Mo(e, t) {
|
|
4838
|
+
return e == null ? "" : typeof e == "number" ? t ? s(e, t) : e.toLocaleString() : typeof e == "boolean" ? e ? "Yes" : "No" : String(e);
|
|
4914
4839
|
}
|
|
4915
4840
|
//#endregion
|
|
4916
|
-
export {
|
|
4841
|
+
export { _t as $, An as A, qt as B, Wa as C, La as D, Ra as E, un as F, Ut as G, Kt as H, ln as I, zt as J, Rt as K, sn as L, En as M, cn as N, _i as O, pn as P, Tt as Q, nn as R, qa as S, Ua as T, Vt as U, Yt as V, Wt as W, Pt as X, Lt as Y, jt as Z, Ya as _, yo as a, $e as at, Va as b, _o as c, Se as ct, Za as d, Oe as dt, R as et, ro as f, Ee as ft, Ja as g, Qa as h, vo as i, I as it, Tn as j, Fn as k, $ as l, Ce as lt, $a as m, Te as mt, Eo as n, j as nt, wo as o, k as ot, to as p, De as pt, Bt as q, To as r, Ue as rt, go as s, ke as st, Do as t, P as tt, Q as u, we as ut, Z as v, Ga as w, Ka as x, Ha as y, $t as z };
|
|
4917
4842
|
|
|
4918
|
-
//# sourceMappingURL=chart-data-table-
|
|
4843
|
+
//# sourceMappingURL=chart-data-table-CKauQXme.js.map
|