drizzle-cube 0.4.53 → 0.5.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/dist/adapters/express/index.cjs +2 -2
- package/dist/adapters/express/index.js +92 -83
- package/dist/adapters/fastify/index.cjs +2 -2
- package/dist/adapters/fastify/index.js +126 -116
- package/dist/adapters/{handler-RItnSaEl.js → handler-3LGcjLtr.js} +617 -612
- package/dist/adapters/handler-BzzbVpcl.cjs +25 -0
- package/dist/adapters/hono/index.cjs +1 -1
- package/dist/adapters/hono/index.js +94 -86
- package/dist/adapters/{compiler-S6KHiOY6.js → locale-DTnJrxm1.js} +1700 -1563
- package/dist/adapters/locale-DueXjqMh.cjs +198 -0
- package/dist/adapters/locale.d.ts +8 -0
- package/dist/adapters/mcp-tools.cjs +1 -1
- package/dist/adapters/mcp-tools.js +14 -14
- package/dist/adapters/mcp-transport-45SiFcCH.cjs +39 -0
- package/dist/adapters/mcp-transport-Bxpc4mRy.js +553 -0
- package/dist/adapters/mcp-transport.d.ts +11 -0
- package/dist/adapters/nextjs/index.cjs +1 -1
- package/dist/adapters/nextjs/index.js +138 -122
- package/dist/adapters/utils-DNrj-ryp.cjs +17 -0
- package/dist/adapters/{utils-IH1ePsBd.js → utils-DOg9oGdt.js} +2341 -819
- package/dist/adapters/utils.cjs +1 -1
- package/dist/adapters/utils.d.ts +7 -0
- package/dist/adapters/utils.js +1 -1
- package/dist/client/charts.js +12 -12
- package/dist/client/chunks/{DashboardEditModal-BTdV528l.js → DashboardEditModal-cSSIAZGy.js} +1968 -1973
- package/dist/client/chunks/DashboardEditModal-cSSIAZGy.js.map +1 -0
- package/dist/client/chunks/{FieldSearchModal-D75vy4Wb.js → FieldSearchModal-CZNo4pNK.js} +550 -536
- package/dist/client/chunks/FieldSearchModal-CZNo4pNK.js.map +1 -0
- package/dist/client/chunks/KpiDelta-Dll_eCV1.js +2 -0
- package/dist/client/chunks/KpiNumber-BPlR92hI.js +2 -0
- package/dist/client/chunks/KpiText-BIxq7Jso.js +2 -0
- package/dist/client/chunks/{RetentionCombinedChart-DIhK5pD8.js → RetentionCombinedChart-BD8tGeM_.js} +96 -96
- package/dist/client/chunks/RetentionCombinedChart-BD8tGeM_.js.map +1 -0
- package/dist/client/chunks/{RetentionHeatmap-CyREolyP.js → RetentionHeatmap-B_5sewwi.js} +77 -77
- package/dist/client/chunks/RetentionHeatmap-B_5sewwi.js.map +1 -0
- package/dist/client/chunks/SchemaVisualization-CCICjhvv.js +2 -0
- package/dist/client/chunks/SchemaVisualizationLazy-DraGsMx6.js +2 -0
- package/dist/client/chunks/af-ZA-xDmO5F0s.js +1431 -0
- package/dist/client/chunks/af-ZA-xDmO5F0s.js.map +1 -0
- package/dist/client/chunks/{analysis-builder-C1CJ0c7L.js → analysis-builder-BeVZhiQ5.js} +1519 -1507
- package/dist/client/chunks/analysis-builder-BeVZhiQ5.js.map +1 -0
- package/dist/client/chunks/{analysis-builder-shared-rkjJfWLT.js → analysis-builder-shared-BWc7ZZnG.js} +925 -954
- package/dist/client/chunks/analysis-builder-shared-BWc7ZZnG.js.map +1 -0
- package/dist/client/chunks/chart-activity-grid-CWT0gLv4.js +2376 -0
- package/dist/client/chunks/chart-activity-grid-CWT0gLv4.js.map +1 -0
- package/dist/client/chunks/{chart-area-BwYaflNk.js → chart-area-D63kG8OT.js} +157 -157
- package/dist/client/chunks/chart-area-D63kG8OT.js.map +1 -0
- package/dist/client/chunks/{chart-bar-BiENfFgE.js → chart-bar-BEfsCLjl.js} +78 -78
- package/dist/client/chunks/chart-bar-BEfsCLjl.js.map +1 -0
- package/dist/client/chunks/{chart-box-plot-BJF1tBXC.js → chart-box-plot-o-h9MRX5.js} +111 -114
- package/dist/client/chunks/chart-box-plot-o-h9MRX5.js.map +1 -0
- package/dist/client/chunks/{chart-bubble-DQQhGVDJ.js → chart-bubble-CMDp4Pfm.js} +121 -121
- package/dist/client/chunks/chart-bubble-CMDp4Pfm.js.map +1 -0
- package/dist/client/chunks/chart-candlestick-WyANJ0Ky.js +303 -0
- package/dist/client/chunks/chart-candlestick-WyANJ0Ky.js.map +1 -0
- package/dist/client/chunks/chart-config-activity-grid-C-EkgYoa.js +51 -0
- package/dist/client/chunks/chart-config-activity-grid-C-EkgYoa.js.map +1 -0
- package/dist/client/chunks/chart-config-area-CMZpbIah.js +93 -0
- package/dist/client/chunks/chart-config-area-CMZpbIah.js.map +1 -0
- package/dist/client/chunks/chart-config-bar-B8_V4YLg.js +87 -0
- package/dist/client/chunks/chart-config-bar-B8_V4YLg.js.map +1 -0
- package/dist/client/chunks/chart-config-box-plot-Dwj7sEbU.js +35 -0
- package/dist/client/chunks/chart-config-box-plot-Dwj7sEbU.js.map +1 -0
- package/dist/client/chunks/chart-config-bubble-B0w0ZVp4.js +82 -0
- package/dist/client/chunks/chart-config-bubble-B0w0ZVp4.js.map +1 -0
- package/dist/client/chunks/chart-config-candlestick-Bvo3zeIn.js +72 -0
- package/dist/client/chunks/chart-config-candlestick-Bvo3zeIn.js.map +1 -0
- package/dist/client/chunks/{chart-config-data-table-Bhdx5Hem.js → chart-config-data-table-BQXSn4b_.js} +9 -9
- package/dist/client/chunks/chart-config-data-table-BQXSn4b_.js.map +1 -0
- package/dist/client/chunks/chart-config-funnel-BzEsHmjR.js +93 -0
- package/dist/client/chunks/chart-config-funnel-BzEsHmjR.js.map +1 -0
- package/dist/client/chunks/chart-config-gauge-C5ZiyZy7.js +64 -0
- package/dist/client/chunks/chart-config-gauge-C5ZiyZy7.js.map +1 -0
- package/dist/client/chunks/chart-config-heat-map-Cv8qNnVP.js +91 -0
- package/dist/client/chunks/chart-config-heat-map-Cv8qNnVP.js.map +1 -0
- package/dist/client/chunks/chart-config-kpi-delta-BraHQc2E.js +94 -0
- package/dist/client/chunks/chart-config-kpi-delta-BraHQc2E.js.map +1 -0
- package/dist/client/chunks/chart-config-kpi-number-CeCkx7mC.js +75 -0
- package/dist/client/chunks/chart-config-kpi-number-CeCkx7mC.js.map +1 -0
- package/dist/client/chunks/chart-config-kpi-text-CImM3SvH.js +47 -0
- package/dist/client/chunks/chart-config-kpi-text-CImM3SvH.js.map +1 -0
- package/dist/client/chunks/chart-config-line-BVKapAQK.js +104 -0
- package/dist/client/chunks/chart-config-line-BVKapAQK.js.map +1 -0
- package/dist/client/chunks/chart-config-markdown-C-_g_8te.js +117 -0
- package/dist/client/chunks/chart-config-markdown-C-_g_8te.js.map +1 -0
- package/dist/client/chunks/chart-config-measure-profile-KTVV1gO3.js +82 -0
- package/dist/client/chunks/chart-config-measure-profile-KTVV1gO3.js.map +1 -0
- package/dist/client/chunks/chart-config-pie-BZxVl25X.js +68 -0
- package/dist/client/chunks/chart-config-pie-BZxVl25X.js.map +1 -0
- package/dist/client/chunks/chart-config-radar-B7FByX3t.js +49 -0
- package/dist/client/chunks/chart-config-radar-B7FByX3t.js.map +1 -0
- package/dist/client/chunks/chart-config-radial-bar-UfW_3yyX.js +38 -0
- package/dist/client/chunks/chart-config-radial-bar-UfW_3yyX.js.map +1 -0
- package/dist/client/chunks/chart-config-sankey-DGAThN9i.js +66 -0
- package/dist/client/chunks/chart-config-sankey-DGAThN9i.js.map +1 -0
- package/dist/client/chunks/chart-config-scatter-BVVJuOnt.js +61 -0
- package/dist/client/chunks/chart-config-scatter-BVVJuOnt.js.map +1 -0
- package/dist/client/chunks/chart-config-sunburst-utejM2YS.js +45 -0
- package/dist/client/chunks/chart-config-sunburst-utejM2YS.js.map +1 -0
- package/dist/client/chunks/chart-config-tree-map-IHp97OyV.js +51 -0
- package/dist/client/chunks/chart-config-tree-map-IHp97OyV.js.map +1 -0
- package/dist/client/chunks/chart-config-waterfall-BdqG1V-x.js +59 -0
- package/dist/client/chunks/chart-config-waterfall-BdqG1V-x.js.map +1 -0
- package/dist/client/chunks/{chart-data-table-2iCsn0CF.js → chart-data-table-C3Xh9jwL.js} +1083 -1086
- package/dist/client/chunks/chart-data-table-C3Xh9jwL.js.map +1 -0
- package/dist/client/chunks/{chart-funnel-poyOf7-e.js → chart-funnel-C7pgktN5.js} +132 -132
- package/dist/client/chunks/chart-funnel-C7pgktN5.js.map +1 -0
- package/dist/client/chunks/{chart-gauge-D5J4gRky.js → chart-gauge-D2r2B_AR.js} +150 -150
- package/dist/client/chunks/chart-gauge-D2r2B_AR.js.map +1 -0
- package/dist/client/chunks/{chart-heat-map-BAMVhLGG.js → chart-heat-map-Dw2yjwfO.js} +75 -80
- package/dist/client/chunks/chart-heat-map-Dw2yjwfO.js.map +1 -0
- package/dist/client/chunks/{chart-kpi-delta-KQjUIeal.js → chart-kpi-delta-CYE0S1x_.js} +117 -117
- package/dist/client/chunks/chart-kpi-delta-CYE0S1x_.js.map +1 -0
- package/dist/client/chunks/chart-kpi-number-BlZ79xHW.js +321 -0
- package/dist/client/chunks/chart-kpi-number-BlZ79xHW.js.map +1 -0
- package/dist/client/chunks/chart-kpi-text-DY1BnxPe.js +148 -0
- package/dist/client/chunks/chart-kpi-text-DY1BnxPe.js.map +1 -0
- package/dist/client/chunks/{chart-line-B5_WntY5.js → chart-line-CBsTThTv.js} +123 -123
- package/dist/client/chunks/chart-line-CBsTThTv.js.map +1 -0
- package/dist/client/chunks/chart-markdown-BWaWVkuz.js +3474 -0
- package/dist/client/chunks/chart-markdown-BWaWVkuz.js.map +1 -0
- package/dist/client/chunks/chart-measure-profile-B41qCTBG.js +179 -0
- package/dist/client/chunks/chart-measure-profile-B41qCTBG.js.map +1 -0
- package/dist/client/chunks/chart-pie-Djbu8x2v.js +172 -0
- package/dist/client/chunks/chart-pie-Djbu8x2v.js.map +1 -0
- package/dist/client/chunks/chart-radar-BsTcKV0K.js +154 -0
- package/dist/client/chunks/chart-radar-BsTcKV0K.js.map +1 -0
- package/dist/client/chunks/chart-radial-bar-Du7XNnwE.js +148 -0
- package/dist/client/chunks/chart-radial-bar-Du7XNnwE.js.map +1 -0
- package/dist/client/chunks/{chart-sankey-BOyxfG1Q.js → chart-sankey-WwkZAhLy.js} +73 -73
- package/dist/client/chunks/chart-sankey-WwkZAhLy.js.map +1 -0
- package/dist/client/chunks/chart-scatter-D8krEYsA.js +255 -0
- package/dist/client/chunks/chart-scatter-D8krEYsA.js.map +1 -0
- package/dist/client/chunks/{chart-sunburst-D9lGEOCc.js → chart-sunburst-CIDB_pTl.js} +66 -66
- package/dist/client/chunks/chart-sunburst-CIDB_pTl.js.map +1 -0
- package/dist/client/chunks/chart-tree-map-C5C2iaWM.js +298 -0
- package/dist/client/chunks/chart-tree-map-C5C2iaWM.js.map +1 -0
- package/dist/client/chunks/{chart-waterfall-BCdUx4DC.js → chart-waterfall-BGdPrJ5Y.js} +80 -80
- package/dist/client/chunks/chart-waterfall-BGdPrJ5Y.js.map +1 -0
- package/dist/client/chunks/{charts-core-C5Yokk-x.js → charts-core-BXOqaYFn.js} +92 -92
- package/dist/client/chunks/charts-core-BXOqaYFn.js.map +1 -0
- package/dist/client/chunks/en-US-5xPTdCXg.js +35 -0
- package/dist/client/chunks/en-US-5xPTdCXg.js.map +1 -0
- package/dist/client/chunks/nl-NL-vCifBijs.js +1491 -0
- package/dist/client/chunks/nl-NL-vCifBijs.js.map +1 -0
- package/dist/client/chunks/{schema-visualization-t1KiOORo.js → schema-visualization-Xp60Ff2W.js} +352 -364
- package/dist/client/chunks/schema-visualization-Xp60Ff2W.js.map +1 -0
- package/dist/client/chunks/{useDebounce-CKqkM42n.js → useDebounce-CfmUMFau.js} +85 -85
- package/dist/client/chunks/useDebounce-CfmUMFau.js.map +1 -0
- package/dist/client/chunks/{useExplainAI-DBIfYwz-.js → useExplainAI-BKGmejIj.js} +4 -4
- package/dist/client/chunks/{useExplainAI-DBIfYwz-.js.map → useExplainAI-BKGmejIj.js.map} +1 -1
- package/dist/client/chunks/{utils--qCr8Yn5.js → utils-BldkcRHv.js} +2 -2
- package/dist/client/chunks/{utils--qCr8Yn5.js.map → utils-BldkcRHv.js.map} +1 -1
- package/dist/client/chunks/{vendor-BRlsCGnK.js → vendor-ClXpIiea.js} +2 -2
- package/dist/client/chunks/{vendor-BRlsCGnK.js.map → vendor-ClXpIiea.js.map} +1 -1
- package/dist/client/components/AnalysisBuilder/types.d.ts +6 -6
- package/dist/client/components.js +3 -3
- package/dist/client/hooks/useTranslation.d.ts +21 -0
- package/dist/client/hooks.js +3 -3
- package/dist/client/icons.js +1 -1
- package/dist/client/index.js +493 -488
- package/dist/client/index.js.map +1 -1
- package/dist/client/providers/CubeApiProvider.d.ts +2 -1
- package/dist/client/providers/CubeProvider.d.ts +7 -1
- package/dist/client/providers/I18nProvider.d.ts +18 -0
- package/dist/client/providers.js +1 -1
- package/dist/client/schema.js +1 -1
- package/dist/client/shared/types.d.ts +5 -20
- package/dist/client/styles.css +1 -1
- package/dist/client/utils.js +5 -5
- package/dist/client-bundle-stats.html +1 -1
- package/dist/mcp-app/mcp-app.html +26 -24
- package/dist/server/index.cjs +42 -40
- package/dist/server/index.js +3311 -1672
- package/package.json +5 -2
- package/dist/adapters/compiler-CRgLzmSn.cjs +0 -198
- package/dist/adapters/handler-DumFgnNM.cjs +0 -25
- package/dist/adapters/mcp-transport-C6bsIOSV.js +0 -545
- package/dist/adapters/mcp-transport-DMhuYmFp.cjs +0 -39
- package/dist/adapters/utils-CyBt-as9.cjs +0 -15
- package/dist/client/chunks/DashboardEditModal-BTdV528l.js.map +0 -1
- package/dist/client/chunks/FieldSearchModal-D75vy4Wb.js.map +0 -1
- package/dist/client/chunks/KpiDelta-Bk8bzKYM.js +0 -2
- package/dist/client/chunks/KpiNumber-CKF-8e_T.js +0 -2
- package/dist/client/chunks/KpiText-Iz1vIvu_.js +0 -2
- package/dist/client/chunks/RetentionCombinedChart-DIhK5pD8.js.map +0 -1
- package/dist/client/chunks/RetentionHeatmap-CyREolyP.js.map +0 -1
- package/dist/client/chunks/SchemaVisualization-B1GUT-FM.js +0 -2
- package/dist/client/chunks/SchemaVisualizationLazy-DymwT34e.js +0 -2
- package/dist/client/chunks/analysis-builder-C1CJ0c7L.js.map +0 -1
- package/dist/client/chunks/analysis-builder-shared-rkjJfWLT.js.map +0 -1
- package/dist/client/chunks/chart-activity-grid-DLktOINm.js +0 -806
- package/dist/client/chunks/chart-activity-grid-DLktOINm.js.map +0 -1
- package/dist/client/chunks/chart-area-BwYaflNk.js.map +0 -1
- package/dist/client/chunks/chart-bar-BiENfFgE.js.map +0 -1
- package/dist/client/chunks/chart-box-plot-BJF1tBXC.js.map +0 -1
- package/dist/client/chunks/chart-bubble-DQQhGVDJ.js.map +0 -1
- package/dist/client/chunks/chart-candlestick-C2UuXbLe.js +0 -306
- package/dist/client/chunks/chart-candlestick-C2UuXbLe.js.map +0 -1
- package/dist/client/chunks/chart-config-activity-grid-DJOU3TEz.js +0 -51
- package/dist/client/chunks/chart-config-activity-grid-DJOU3TEz.js.map +0 -1
- package/dist/client/chunks/chart-config-area-CWnWVT6a.js +0 -93
- package/dist/client/chunks/chart-config-area-CWnWVT6a.js.map +0 -1
- package/dist/client/chunks/chart-config-bar-C-7Dr1Ho.js +0 -87
- package/dist/client/chunks/chart-config-bar-C-7Dr1Ho.js.map +0 -1
- package/dist/client/chunks/chart-config-box-plot-mVOwmLdu.js +0 -35
- package/dist/client/chunks/chart-config-box-plot-mVOwmLdu.js.map +0 -1
- package/dist/client/chunks/chart-config-bubble-BPE2CeiD.js +0 -82
- package/dist/client/chunks/chart-config-bubble-BPE2CeiD.js.map +0 -1
- package/dist/client/chunks/chart-config-candlestick-BSB9DRy2.js +0 -72
- package/dist/client/chunks/chart-config-candlestick-BSB9DRy2.js.map +0 -1
- package/dist/client/chunks/chart-config-data-table-Bhdx5Hem.js.map +0 -1
- package/dist/client/chunks/chart-config-funnel-Cl-v-bm1.js +0 -93
- package/dist/client/chunks/chart-config-funnel-Cl-v-bm1.js.map +0 -1
- package/dist/client/chunks/chart-config-gauge-CdrUTJMJ.js +0 -64
- package/dist/client/chunks/chart-config-gauge-CdrUTJMJ.js.map +0 -1
- package/dist/client/chunks/chart-config-heat-map-DGE3NzoF.js +0 -91
- package/dist/client/chunks/chart-config-heat-map-DGE3NzoF.js.map +0 -1
- package/dist/client/chunks/chart-config-kpi-delta-DMrQerUW.js +0 -94
- package/dist/client/chunks/chart-config-kpi-delta-DMrQerUW.js.map +0 -1
- package/dist/client/chunks/chart-config-kpi-number-DCytCytn.js +0 -75
- package/dist/client/chunks/chart-config-kpi-number-DCytCytn.js.map +0 -1
- package/dist/client/chunks/chart-config-kpi-text-KdKQUvHo.js +0 -47
- package/dist/client/chunks/chart-config-kpi-text-KdKQUvHo.js.map +0 -1
- package/dist/client/chunks/chart-config-line-Bl9VDAdz.js +0 -104
- package/dist/client/chunks/chart-config-line-Bl9VDAdz.js.map +0 -1
- package/dist/client/chunks/chart-config-markdown-BX26b94i.js +0 -117
- package/dist/client/chunks/chart-config-markdown-BX26b94i.js.map +0 -1
- package/dist/client/chunks/chart-config-measure-profile-DwtRhEFh.js +0 -82
- package/dist/client/chunks/chart-config-measure-profile-DwtRhEFh.js.map +0 -1
- package/dist/client/chunks/chart-config-pie-BzBcqPMJ.js +0 -68
- package/dist/client/chunks/chart-config-pie-BzBcqPMJ.js.map +0 -1
- package/dist/client/chunks/chart-config-radar-6ZOgt__z.js +0 -49
- package/dist/client/chunks/chart-config-radar-6ZOgt__z.js.map +0 -1
- package/dist/client/chunks/chart-config-radial-bar-Df6Eta7N.js +0 -38
- package/dist/client/chunks/chart-config-radial-bar-Df6Eta7N.js.map +0 -1
- package/dist/client/chunks/chart-config-sankey-DgqKBFvN.js +0 -66
- package/dist/client/chunks/chart-config-sankey-DgqKBFvN.js.map +0 -1
- package/dist/client/chunks/chart-config-scatter-D5nVLDvi.js +0 -61
- package/dist/client/chunks/chart-config-scatter-D5nVLDvi.js.map +0 -1
- package/dist/client/chunks/chart-config-sunburst-Ca3FX9nW.js +0 -45
- package/dist/client/chunks/chart-config-sunburst-Ca3FX9nW.js.map +0 -1
- package/dist/client/chunks/chart-config-tree-map-Bjy4QNa3.js +0 -51
- package/dist/client/chunks/chart-config-tree-map-Bjy4QNa3.js.map +0 -1
- package/dist/client/chunks/chart-config-waterfall-C5K2eqR7.js +0 -59
- package/dist/client/chunks/chart-config-waterfall-C5K2eqR7.js.map +0 -1
- package/dist/client/chunks/chart-data-table-2iCsn0CF.js.map +0 -1
- package/dist/client/chunks/chart-funnel-poyOf7-e.js.map +0 -1
- package/dist/client/chunks/chart-gauge-D5J4gRky.js.map +0 -1
- package/dist/client/chunks/chart-heat-map-BAMVhLGG.js.map +0 -1
- package/dist/client/chunks/chart-kpi-delta-KQjUIeal.js.map +0 -1
- package/dist/client/chunks/chart-kpi-number-CsQgV_x3.js +0 -325
- package/dist/client/chunks/chart-kpi-number-CsQgV_x3.js.map +0 -1
- package/dist/client/chunks/chart-kpi-text-BR0IyeUU.js +0 -148
- package/dist/client/chunks/chart-kpi-text-BR0IyeUU.js.map +0 -1
- package/dist/client/chunks/chart-line-B5_WntY5.js.map +0 -1
- package/dist/client/chunks/chart-markdown-B6bENbel.js +0 -3473
- package/dist/client/chunks/chart-markdown-B6bENbel.js.map +0 -1
- package/dist/client/chunks/chart-measure-profile-yWk-obNb.js +0 -179
- package/dist/client/chunks/chart-measure-profile-yWk-obNb.js.map +0 -1
- package/dist/client/chunks/chart-pie-BodrUoHv.js +0 -172
- package/dist/client/chunks/chart-pie-BodrUoHv.js.map +0 -1
- package/dist/client/chunks/chart-radar-gG3zfLud.js +0 -154
- package/dist/client/chunks/chart-radar-gG3zfLud.js.map +0 -1
- package/dist/client/chunks/chart-radial-bar-C2IPCV8c.js +0 -148
- package/dist/client/chunks/chart-radial-bar-C2IPCV8c.js.map +0 -1
- package/dist/client/chunks/chart-sankey-BOyxfG1Q.js.map +0 -1
- package/dist/client/chunks/chart-scatter-B8OwlsAX.js +0 -255
- package/dist/client/chunks/chart-scatter-B8OwlsAX.js.map +0 -1
- package/dist/client/chunks/chart-sunburst-D9lGEOCc.js.map +0 -1
- package/dist/client/chunks/chart-tree-map-DZaKy9he.js +0 -298
- package/dist/client/chunks/chart-tree-map-DZaKy9he.js.map +0 -1
- package/dist/client/chunks/chart-waterfall-BCdUx4DC.js.map +0 -1
- package/dist/client/chunks/charts-core-C5Yokk-x.js.map +0 -1
- package/dist/client/chunks/schema-visualization-t1KiOORo.js.map +0 -1
- package/dist/client/chunks/useDebounce-CKqkM42n.js.map +0 -1
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { i as e, n as t } from "./rolldown-runtime-CCl2IeXn.js";
|
|
2
|
-
import { A as n,
|
|
3
|
-
import { n as
|
|
4
|
-
import { n as
|
|
5
|
-
import { n as
|
|
6
|
-
import { n as
|
|
7
|
-
import { n as
|
|
8
|
-
import { n as
|
|
9
|
-
import { n as
|
|
10
|
-
import { n as
|
|
11
|
-
import { n as
|
|
12
|
-
import { n as
|
|
13
|
-
import { n as
|
|
14
|
-
import { n as
|
|
15
|
-
import { n as
|
|
16
|
-
import { n as
|
|
17
|
-
import { n as
|
|
18
|
-
import { n as
|
|
19
|
-
import { n as
|
|
20
|
-
import { n as
|
|
21
|
-
import { n as
|
|
22
|
-
import { n as
|
|
23
|
-
import { n as
|
|
24
|
-
import { n as
|
|
25
|
-
import { n as
|
|
26
|
-
import { n as
|
|
2
|
+
import { A as n, F as r, P as i, j as a, k as o, x as s, y as c } from "./chart-activity-grid-CWT0gLv4.js";
|
|
3
|
+
import { n as l } from "./chart-config-bar-B8_V4YLg.js";
|
|
4
|
+
import { n as u } from "./chart-config-line-BVKapAQK.js";
|
|
5
|
+
import { n as d } from "./chart-config-area-CMZpbIah.js";
|
|
6
|
+
import { n as f } from "./chart-config-pie-BZxVl25X.js";
|
|
7
|
+
import { n as p } from "./chart-config-scatter-BVVJuOnt.js";
|
|
8
|
+
import { n as m } from "./chart-config-bubble-B0w0ZVp4.js";
|
|
9
|
+
import { n as h } from "./chart-config-radar-B7FByX3t.js";
|
|
10
|
+
import { n as g } from "./chart-config-radial-bar-UfW_3yyX.js";
|
|
11
|
+
import { n as _ } from "./chart-config-tree-map-IHp97OyV.js";
|
|
12
|
+
import { n as v } from "./chart-config-data-table-BQXSn4b_.js";
|
|
13
|
+
import { n as ee } from "./chart-config-activity-grid-C-EkgYoa.js";
|
|
14
|
+
import { n as y } from "./chart-config-kpi-number-CeCkx7mC.js";
|
|
15
|
+
import { n as b } from "./chart-config-kpi-delta-BraHQc2E.js";
|
|
16
|
+
import { n as te } from "./chart-config-kpi-text-CImM3SvH.js";
|
|
17
|
+
import { n as ne } from "./chart-config-markdown-C-_g_8te.js";
|
|
18
|
+
import { n as re } from "./chart-config-funnel-BzEsHmjR.js";
|
|
19
|
+
import { n as ie } from "./chart-config-sankey-DGAThN9i.js";
|
|
20
|
+
import { n as ae } from "./chart-config-sunburst-utejM2YS.js";
|
|
21
|
+
import { n as oe } from "./chart-config-heat-map-Cv8qNnVP.js";
|
|
22
|
+
import { n as se } from "./chart-config-box-plot-Dwj7sEbU.js";
|
|
23
|
+
import { n as ce } from "./chart-config-waterfall-BdqG1V-x.js";
|
|
24
|
+
import { n as le } from "./chart-config-candlestick-Bvo3zeIn.js";
|
|
25
|
+
import { n as ue } from "./chart-config-measure-profile-KTVV1gO3.js";
|
|
26
|
+
import { n as de } from "./chart-config-gauge-C5ZiyZy7.js";
|
|
27
27
|
import * as x from "react";
|
|
28
|
-
import
|
|
29
|
-
import { jsx as
|
|
28
|
+
import fe, { Suspense as pe, createContext as me, createElement as he, forwardRef as ge, lazy as _e, useCallback as ve, useContext as ye, useEffect as S, useMemo as C, useRef as be, useState as w } from "react";
|
|
29
|
+
import { jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
30
30
|
//#region node_modules/@tanstack/query-core/build/modern/subscribable.js
|
|
31
|
-
var
|
|
31
|
+
var D = class {
|
|
32
32
|
constructor() {
|
|
33
33
|
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
|
|
34
34
|
}
|
|
@@ -42,7 +42,7 @@ var O = class {
|
|
|
42
42
|
}
|
|
43
43
|
onSubscribe() {}
|
|
44
44
|
onUnsubscribe() {}
|
|
45
|
-
},
|
|
45
|
+
}, xe = new class extends D {
|
|
46
46
|
#e;
|
|
47
47
|
#t;
|
|
48
48
|
#n;
|
|
@@ -79,13 +79,13 @@ var O = class {
|
|
|
79
79
|
isFocused() {
|
|
80
80
|
return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
|
|
81
81
|
}
|
|
82
|
-
}(),
|
|
82
|
+
}(), Se = {
|
|
83
83
|
setTimeout: (e, t) => setTimeout(e, t),
|
|
84
84
|
clearTimeout: (e) => clearTimeout(e),
|
|
85
85
|
setInterval: (e, t) => setInterval(e, t),
|
|
86
86
|
clearInterval: (e) => clearInterval(e)
|
|
87
|
-
},
|
|
88
|
-
#e =
|
|
87
|
+
}, O = new class {
|
|
88
|
+
#e = Se;
|
|
89
89
|
#t = !1;
|
|
90
90
|
setTimeoutProvider(e) {
|
|
91
91
|
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 +106,34 @@ var O = class {
|
|
|
106
106
|
this.#e.clearInterval(e);
|
|
107
107
|
}
|
|
108
108
|
}();
|
|
109
|
-
function
|
|
109
|
+
function Ce(e) {
|
|
110
110
|
setTimeout(e, 0);
|
|
111
111
|
}
|
|
112
112
|
//#endregion
|
|
113
113
|
//#region node_modules/@tanstack/query-core/build/modern/utils.js
|
|
114
|
-
var
|
|
115
|
-
function
|
|
116
|
-
function
|
|
114
|
+
var we = typeof window > "u" || "Deno" in globalThis;
|
|
115
|
+
function k() {}
|
|
116
|
+
function Te(e, t) {
|
|
117
117
|
return typeof e == "function" ? e(t) : e;
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function Ee(e) {
|
|
120
120
|
return typeof e == "number" && e >= 0 && e !== Infinity;
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function De(e, t) {
|
|
123
123
|
return Math.max(e + (t || 0) - Date.now(), 0);
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function A(e, t) {
|
|
126
126
|
return typeof e == "function" ? e(t) : e;
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function j(e, t) {
|
|
129
129
|
return typeof e == "function" ? e(t) : e;
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function Oe(e, t) {
|
|
132
132
|
let { type: n = "all", exact: r, fetchStatus: i, predicate: a, queryKey: o, stale: s } = e;
|
|
133
133
|
if (o) {
|
|
134
134
|
if (r) {
|
|
135
|
-
if (t.queryHash !==
|
|
136
|
-
} else if (!
|
|
135
|
+
if (t.queryHash !== Ae(o, t.options)) return !1;
|
|
136
|
+
} else if (!N(t.queryKey, o)) return !1;
|
|
137
137
|
}
|
|
138
138
|
if (n !== "all") {
|
|
139
139
|
let e = t.isActive();
|
|
@@ -141,98 +141,98 @@ function we(e, t) {
|
|
|
141
141
|
}
|
|
142
142
|
return !(typeof s == "boolean" && t.isStale() !== s || i && i !== t.state.fetchStatus || a && !a(t));
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function ke(e, t) {
|
|
145
145
|
let { exact: n, status: r, predicate: i, mutationKey: a } = e;
|
|
146
146
|
if (a) {
|
|
147
147
|
if (!t.options.mutationKey) return !1;
|
|
148
148
|
if (n) {
|
|
149
|
-
if (
|
|
150
|
-
} else if (!
|
|
149
|
+
if (M(t.options.mutationKey) !== M(a)) return !1;
|
|
150
|
+
} else if (!N(t.options.mutationKey, a)) return !1;
|
|
151
151
|
}
|
|
152
152
|
return !(r && t.state.status !== r || i && !i(t));
|
|
153
153
|
}
|
|
154
|
-
function
|
|
155
|
-
return (t?.queryKeyHashFn ||
|
|
154
|
+
function Ae(e, t) {
|
|
155
|
+
return (t?.queryKeyHashFn || M)(e);
|
|
156
156
|
}
|
|
157
|
-
function
|
|
158
|
-
return JSON.stringify(e, (e, t) =>
|
|
157
|
+
function M(e) {
|
|
158
|
+
return JSON.stringify(e, (e, t) => Fe(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
|
|
159
159
|
}
|
|
160
|
-
function
|
|
161
|
-
return e === t ? !0 : typeof e == typeof t && e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((n) =>
|
|
160
|
+
function N(e, t) {
|
|
161
|
+
return e === t ? !0 : typeof e == typeof t && e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((n) => N(e[n], t[n])) : !1;
|
|
162
162
|
}
|
|
163
|
-
var
|
|
164
|
-
function
|
|
163
|
+
var je = Object.prototype.hasOwnProperty;
|
|
164
|
+
function Me(e, t, n = 0) {
|
|
165
165
|
if (e === t) return e;
|
|
166
166
|
if (n > 500) return t;
|
|
167
|
-
let r =
|
|
168
|
-
if (!r && !(
|
|
167
|
+
let r = Pe(e) && Pe(t);
|
|
168
|
+
if (!r && !(Fe(e) && Fe(t))) return t;
|
|
169
169
|
let i = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), o = a.length, s = r ? Array(o) : {}, c = 0;
|
|
170
170
|
for (let l = 0; l < o; l++) {
|
|
171
171
|
let o = r ? l : a[l], u = e[o], d = t[o];
|
|
172
172
|
if (u === d) {
|
|
173
|
-
s[o] = u, (r ? l < i :
|
|
173
|
+
s[o] = u, (r ? l < i : je.call(e, o)) && c++;
|
|
174
174
|
continue;
|
|
175
175
|
}
|
|
176
176
|
if (u === null || d === null || typeof u != "object" || typeof d != "object") {
|
|
177
177
|
s[o] = d;
|
|
178
178
|
continue;
|
|
179
179
|
}
|
|
180
|
-
let f =
|
|
180
|
+
let f = Me(u, d, n + 1);
|
|
181
181
|
s[o] = f, f === u && c++;
|
|
182
182
|
}
|
|
183
183
|
return i === o && c === i ? e : s;
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function Ne(e, t) {
|
|
186
186
|
if (!t || Object.keys(e).length !== Object.keys(t).length) return !1;
|
|
187
187
|
for (let n in e) if (e[n] !== t[n]) return !1;
|
|
188
188
|
return !0;
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function Pe(e) {
|
|
191
191
|
return Array.isArray(e) && e.length === Object.keys(e).length;
|
|
192
192
|
}
|
|
193
|
-
function
|
|
194
|
-
if (!
|
|
193
|
+
function Fe(e) {
|
|
194
|
+
if (!Ie(e)) return !1;
|
|
195
195
|
let t = e.constructor;
|
|
196
196
|
if (t === void 0) return !0;
|
|
197
197
|
let n = t.prototype;
|
|
198
|
-
return !(!
|
|
198
|
+
return !(!Ie(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function Ie(e) {
|
|
201
201
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function Le(e) {
|
|
204
204
|
return new Promise((t) => {
|
|
205
|
-
|
|
205
|
+
O.setTimeout(t, e);
|
|
206
206
|
});
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function Re(e, t, n) {
|
|
209
209
|
if (typeof n.structuralSharing == "function") return n.structuralSharing(e, t);
|
|
210
210
|
if (n.structuralSharing !== !1) {
|
|
211
211
|
if (process.env.NODE_ENV !== "production") try {
|
|
212
|
-
return
|
|
212
|
+
return Me(e, t);
|
|
213
213
|
} catch (e) {
|
|
214
214
|
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
215
|
}
|
|
216
|
-
return
|
|
216
|
+
return Me(e, t);
|
|
217
217
|
}
|
|
218
218
|
return t;
|
|
219
219
|
}
|
|
220
|
-
function
|
|
220
|
+
function ze(e, t, n = 0) {
|
|
221
221
|
let r = [...e, t];
|
|
222
222
|
return n && r.length > n ? r.slice(1) : r;
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function Be(e, t, n = 0) {
|
|
225
225
|
let r = [t, ...e];
|
|
226
226
|
return n && r.length > n ? r.slice(0, -1) : r;
|
|
227
227
|
}
|
|
228
|
-
var
|
|
229
|
-
function
|
|
230
|
-
return process.env.NODE_ENV !== "production" && e.queryFn ===
|
|
228
|
+
var Ve = /* @__PURE__ */ Symbol();
|
|
229
|
+
function He(e, t) {
|
|
230
|
+
return process.env.NODE_ENV !== "production" && e.queryFn === Ve && 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 === Ve ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
|
|
231
231
|
}
|
|
232
|
-
function
|
|
232
|
+
function Ue(e, t) {
|
|
233
233
|
return typeof e == "function" ? e(...t) : !!e;
|
|
234
234
|
}
|
|
235
|
-
function
|
|
235
|
+
function We(e, t, n) {
|
|
236
236
|
let r = !1, i;
|
|
237
237
|
return Object.defineProperty(e, "signal", {
|
|
238
238
|
enumerable: !0,
|
|
@@ -241,8 +241,8 @@ function Re(e, t, n) {
|
|
|
241
241
|
}
|
|
242
242
|
//#endregion
|
|
243
243
|
//#region node_modules/@tanstack/query-core/build/modern/environmentManager.js
|
|
244
|
-
var
|
|
245
|
-
let e = () =>
|
|
244
|
+
var P = /* @__PURE__ */ (() => {
|
|
245
|
+
let e = () => we;
|
|
246
246
|
return {
|
|
247
247
|
isServer() {
|
|
248
248
|
return e();
|
|
@@ -254,7 +254,7 @@ var L = /* @__PURE__ */ (() => {
|
|
|
254
254
|
})();
|
|
255
255
|
//#endregion
|
|
256
256
|
//#region node_modules/@tanstack/query-core/build/modern/thenable.js
|
|
257
|
-
function
|
|
257
|
+
function Ge() {
|
|
258
258
|
let e, t, n = new Promise((n, r) => {
|
|
259
259
|
e = n, t = r;
|
|
260
260
|
});
|
|
@@ -276,13 +276,13 @@ function ze() {
|
|
|
276
276
|
}
|
|
277
277
|
//#endregion
|
|
278
278
|
//#region node_modules/@tanstack/query-core/build/modern/notifyManager.js
|
|
279
|
-
var
|
|
280
|
-
function
|
|
279
|
+
var Ke = Ce;
|
|
280
|
+
function qe() {
|
|
281
281
|
let e = [], t = 0, n = (e) => {
|
|
282
282
|
e();
|
|
283
283
|
}, r = (e) => {
|
|
284
284
|
e();
|
|
285
|
-
}, i =
|
|
285
|
+
}, i = Ke, a = (r) => {
|
|
286
286
|
t ? e.push(r) : i(() => {
|
|
287
287
|
n(r);
|
|
288
288
|
});
|
|
@@ -324,7 +324,7 @@ function Ve() {
|
|
|
324
324
|
}
|
|
325
325
|
};
|
|
326
326
|
}
|
|
327
|
-
var
|
|
327
|
+
var F = qe(), I = new class extends D {
|
|
328
328
|
#e = !0;
|
|
329
329
|
#t;
|
|
330
330
|
#n;
|
|
@@ -358,28 +358,28 @@ var R = Ve(), z = new class extends O {
|
|
|
358
358
|
}();
|
|
359
359
|
//#endregion
|
|
360
360
|
//#region node_modules/@tanstack/query-core/build/modern/retryer.js
|
|
361
|
-
function
|
|
361
|
+
function Je(e) {
|
|
362
362
|
return Math.min(1e3 * 2 ** e, 3e4);
|
|
363
363
|
}
|
|
364
|
-
function
|
|
365
|
-
return (e ?? "online") === "online" ?
|
|
364
|
+
function Ye(e) {
|
|
365
|
+
return (e ?? "online") === "online" ? I.isOnline() : !0;
|
|
366
366
|
}
|
|
367
|
-
var
|
|
367
|
+
var Xe = class extends Error {
|
|
368
368
|
constructor(e) {
|
|
369
369
|
super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;
|
|
370
370
|
}
|
|
371
371
|
};
|
|
372
|
-
function
|
|
373
|
-
let t = !1, n = 0, r, i =
|
|
372
|
+
function Ze(e) {
|
|
373
|
+
let t = !1, n = 0, r, i = Ge(), a = () => i.status !== "pending", o = (t) => {
|
|
374
374
|
if (!a()) {
|
|
375
|
-
let n = new
|
|
375
|
+
let n = new Xe(t);
|
|
376
376
|
f(n), e.onCancel?.(n);
|
|
377
377
|
}
|
|
378
378
|
}, s = () => {
|
|
379
379
|
t = !0;
|
|
380
380
|
}, c = () => {
|
|
381
381
|
t = !1;
|
|
382
|
-
}, l = () =>
|
|
382
|
+
}, l = () => xe.isFocused() && (e.networkMode === "always" || I.isOnline()) && e.canRun(), u = () => Ye(e.networkMode) && e.canRun(), d = (e) => {
|
|
383
383
|
a() || (r?.(), i.resolve(e));
|
|
384
384
|
}, f = (e) => {
|
|
385
385
|
a() || (r?.(), i.reject(e));
|
|
@@ -399,12 +399,12 @@ function Ge(e) {
|
|
|
399
399
|
}
|
|
400
400
|
Promise.resolve(r).then(d).catch((r) => {
|
|
401
401
|
if (a()) return;
|
|
402
|
-
let i = e.retry ?? (
|
|
402
|
+
let i = e.retry ?? (P.isServer() ? 0 : 3), o = e.retryDelay ?? Je, s = typeof o == "function" ? o(n, r) : o, c = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);
|
|
403
403
|
if (t || !c) {
|
|
404
404
|
f(r);
|
|
405
405
|
return;
|
|
406
406
|
}
|
|
407
|
-
n++, e.onFail?.(n, r),
|
|
407
|
+
n++, e.onFail?.(n, r), Le(s).then(() => l() ? void 0 : p()).then(() => {
|
|
408
408
|
t ? f(r) : m();
|
|
409
409
|
});
|
|
410
410
|
});
|
|
@@ -422,23 +422,23 @@ function Ge(e) {
|
|
|
422
422
|
}
|
|
423
423
|
//#endregion
|
|
424
424
|
//#region node_modules/@tanstack/query-core/build/modern/removable.js
|
|
425
|
-
var
|
|
425
|
+
var Qe = class {
|
|
426
426
|
#e;
|
|
427
427
|
destroy() {
|
|
428
428
|
this.clearGcTimeout();
|
|
429
429
|
}
|
|
430
430
|
scheduleGc() {
|
|
431
|
-
this.clearGcTimeout(),
|
|
431
|
+
this.clearGcTimeout(), Ee(this.gcTime) && (this.#e = O.setTimeout(() => {
|
|
432
432
|
this.optionalRemove();
|
|
433
433
|
}, this.gcTime));
|
|
434
434
|
}
|
|
435
435
|
updateGcTime(e) {
|
|
436
|
-
this.gcTime = Math.max(this.gcTime || 0, e ?? (
|
|
436
|
+
this.gcTime = Math.max(this.gcTime || 0, e ?? (P.isServer() ? Infinity : 300 * 1e3));
|
|
437
437
|
}
|
|
438
438
|
clearGcTimeout() {
|
|
439
|
-
this.#e &&= (
|
|
439
|
+
this.#e &&= (O.clearTimeout(this.#e), void 0);
|
|
440
440
|
}
|
|
441
|
-
},
|
|
441
|
+
}, $e = class extends Qe {
|
|
442
442
|
#e;
|
|
443
443
|
#t;
|
|
444
444
|
#n;
|
|
@@ -447,7 +447,7 @@ var Ke = class {
|
|
|
447
447
|
#a;
|
|
448
448
|
#o;
|
|
449
449
|
constructor(e) {
|
|
450
|
-
super(), this.#o = !1, this.#a = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#r = e.client, this.#n = this.#r.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#e =
|
|
450
|
+
super(), this.#o = !1, this.#a = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#r = e.client, this.#n = this.#r.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#e = nt(this.options), this.state = e.state ?? this.#e, this.scheduleGc();
|
|
451
451
|
}
|
|
452
452
|
get meta() {
|
|
453
453
|
return this.options.meta;
|
|
@@ -460,15 +460,15 @@ var Ke = class {
|
|
|
460
460
|
...this.#a,
|
|
461
461
|
...e
|
|
462
462
|
}, this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
|
|
463
|
-
let e =
|
|
464
|
-
e.data !== void 0 && (this.setState(
|
|
463
|
+
let e = nt(this.options);
|
|
464
|
+
e.data !== void 0 && (this.setState(tt(e.data, e.dataUpdatedAt)), this.#e = e);
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
467
|
optionalRemove() {
|
|
468
468
|
!this.observers.length && this.state.fetchStatus === "idle" && this.#n.remove(this);
|
|
469
469
|
}
|
|
470
470
|
setData(e, t) {
|
|
471
|
-
let n =
|
|
471
|
+
let n = Re(this.state.data, e, this.options);
|
|
472
472
|
return this.#c({
|
|
473
473
|
data: n,
|
|
474
474
|
type: "success",
|
|
@@ -485,7 +485,7 @@ var Ke = class {
|
|
|
485
485
|
}
|
|
486
486
|
cancel(e) {
|
|
487
487
|
let t = this.#i?.promise;
|
|
488
|
-
return this.#i?.cancel(e), t ? t.then(
|
|
488
|
+
return this.#i?.cancel(e), t ? t.then(k).catch(k) : Promise.resolve();
|
|
489
489
|
}
|
|
490
490
|
destroy() {
|
|
491
491
|
super.destroy(), this.cancel({ silent: !0 });
|
|
@@ -497,22 +497,22 @@ var Ke = class {
|
|
|
497
497
|
this.destroy(), this.setState(this.resetState);
|
|
498
498
|
}
|
|
499
499
|
isActive() {
|
|
500
|
-
return this.observers.some((e) =>
|
|
500
|
+
return this.observers.some((e) => j(e.options.enabled, this) !== !1);
|
|
501
501
|
}
|
|
502
502
|
isDisabled() {
|
|
503
|
-
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn ===
|
|
503
|
+
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === Ve || !this.isFetched();
|
|
504
504
|
}
|
|
505
505
|
isFetched() {
|
|
506
506
|
return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
|
|
507
507
|
}
|
|
508
508
|
isStatic() {
|
|
509
|
-
return this.getObserversCount() > 0 ? this.observers.some((e) =>
|
|
509
|
+
return this.getObserversCount() > 0 ? this.observers.some((e) => A(e.options.staleTime, this) === "static") : !1;
|
|
510
510
|
}
|
|
511
511
|
isStale() {
|
|
512
512
|
return this.getObserversCount() > 0 ? this.observers.some((e) => e.getCurrentResult().isStale) : this.state.data === void 0 || this.state.isInvalidated;
|
|
513
513
|
}
|
|
514
514
|
isStaleByTime(e = 0) {
|
|
515
|
-
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !
|
|
515
|
+
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !De(this.state.dataUpdatedAt, e);
|
|
516
516
|
}
|
|
517
517
|
onFocus() {
|
|
518
518
|
this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#i?.continue();
|
|
@@ -559,7 +559,7 @@ var Ke = class {
|
|
|
559
559
|
get: () => (this.#o = !0, n.signal)
|
|
560
560
|
});
|
|
561
561
|
}, i = () => {
|
|
562
|
-
let e =
|
|
562
|
+
let e = He(this.options, t), n = (() => {
|
|
563
563
|
let e = {
|
|
564
564
|
client: this.#r,
|
|
565
565
|
queryKey: this.queryKey,
|
|
@@ -582,11 +582,11 @@ var Ke = class {
|
|
|
582
582
|
this.options.behavior?.onFetch(a, this), this.#t = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#c({
|
|
583
583
|
type: "fetch",
|
|
584
584
|
meta: a.fetchOptions?.meta
|
|
585
|
-
}), this.#i =
|
|
585
|
+
}), this.#i = Ze({
|
|
586
586
|
initialPromise: t?.initialPromise,
|
|
587
587
|
fn: a.fetchFn,
|
|
588
588
|
onCancel: (e) => {
|
|
589
|
-
e instanceof
|
|
589
|
+
e instanceof Xe && e.revert && this.setState({
|
|
590
590
|
...this.#t,
|
|
591
591
|
fetchStatus: "idle"
|
|
592
592
|
}), n.abort();
|
|
@@ -614,7 +614,7 @@ var Ke = class {
|
|
|
614
614
|
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`);
|
|
615
615
|
return this.setData(e), this.#n.config.onSuccess?.(e, this), this.#n.config.onSettled?.(e, this.state.error, this), e;
|
|
616
616
|
} catch (e) {
|
|
617
|
-
if (e instanceof
|
|
617
|
+
if (e instanceof Xe) {
|
|
618
618
|
if (e.silent) return this.#i.promise;
|
|
619
619
|
if (e.revert) {
|
|
620
620
|
if (this.state.data === void 0) throw e;
|
|
@@ -647,13 +647,13 @@ var Ke = class {
|
|
|
647
647
|
};
|
|
648
648
|
case "fetch": return {
|
|
649
649
|
...t,
|
|
650
|
-
...
|
|
650
|
+
...et(t.data, this.options),
|
|
651
651
|
fetchMeta: e.meta ?? null
|
|
652
652
|
};
|
|
653
653
|
case "success":
|
|
654
654
|
let n = {
|
|
655
655
|
...t,
|
|
656
|
-
...
|
|
656
|
+
...tt(e.data, e.dataUpdatedAt),
|
|
657
657
|
dataUpdateCount: t.dataUpdateCount + 1,
|
|
658
658
|
...!e.manual && {
|
|
659
659
|
fetchStatus: "idle",
|
|
@@ -684,7 +684,7 @@ var Ke = class {
|
|
|
684
684
|
...e.state
|
|
685
685
|
};
|
|
686
686
|
}
|
|
687
|
-
})(this.state),
|
|
687
|
+
})(this.state), F.batch(() => {
|
|
688
688
|
this.observers.forEach((e) => {
|
|
689
689
|
e.onQueryUpdate();
|
|
690
690
|
}), this.#n.notify({
|
|
@@ -695,18 +695,18 @@ var Ke = class {
|
|
|
695
695
|
});
|
|
696
696
|
}
|
|
697
697
|
};
|
|
698
|
-
function
|
|
698
|
+
function et(e, t) {
|
|
699
699
|
return {
|
|
700
700
|
fetchFailureCount: 0,
|
|
701
701
|
fetchFailureReason: null,
|
|
702
|
-
fetchStatus:
|
|
702
|
+
fetchStatus: Ye(t.networkMode) ? "fetching" : "paused",
|
|
703
703
|
...e === void 0 && {
|
|
704
704
|
error: null,
|
|
705
705
|
status: "pending"
|
|
706
706
|
}
|
|
707
707
|
};
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function tt(e, t) {
|
|
710
710
|
return {
|
|
711
711
|
data: e,
|
|
712
712
|
dataUpdatedAt: t ?? Date.now(),
|
|
@@ -715,7 +715,7 @@ function Ye(e, t) {
|
|
|
715
715
|
status: "success"
|
|
716
716
|
};
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function nt(e) {
|
|
719
719
|
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;
|
|
720
720
|
return {
|
|
721
721
|
data: t,
|
|
@@ -734,9 +734,9 @@ function Xe(e) {
|
|
|
734
734
|
}
|
|
735
735
|
//#endregion
|
|
736
736
|
//#region node_modules/@tanstack/query-core/build/modern/queryObserver.js
|
|
737
|
-
var
|
|
737
|
+
var rt = class extends D {
|
|
738
738
|
constructor(e, t) {
|
|
739
|
-
super(), this.options = t, this.#e = e, this.#s = null, this.#o =
|
|
739
|
+
super(), this.options = t, this.#e = e, this.#s = null, this.#o = Ge(), this.bindMethods(), this.setOptions(t);
|
|
740
740
|
}
|
|
741
741
|
#e;
|
|
742
742
|
#t = void 0;
|
|
@@ -757,36 +757,36 @@ var Ze = class extends O {
|
|
|
757
757
|
this.refetch = this.refetch.bind(this);
|
|
758
758
|
}
|
|
759
759
|
onSubscribe() {
|
|
760
|
-
this.listeners.size === 1 && (this.#t.addObserver(this),
|
|
760
|
+
this.listeners.size === 1 && (this.#t.addObserver(this), at(this.#t, this.options) ? this.#h() : this.updateResult(), this.#y());
|
|
761
761
|
}
|
|
762
762
|
onUnsubscribe() {
|
|
763
763
|
this.hasListeners() || this.destroy();
|
|
764
764
|
}
|
|
765
765
|
shouldFetchOnReconnect() {
|
|
766
|
-
return
|
|
766
|
+
return ot(this.#t, this.options, this.options.refetchOnReconnect);
|
|
767
767
|
}
|
|
768
768
|
shouldFetchOnWindowFocus() {
|
|
769
|
-
return
|
|
769
|
+
return ot(this.#t, this.options, this.options.refetchOnWindowFocus);
|
|
770
770
|
}
|
|
771
771
|
destroy() {
|
|
772
772
|
this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);
|
|
773
773
|
}
|
|
774
774
|
setOptions(e) {
|
|
775
775
|
let t = this.options, n = this.#t;
|
|
776
|
-
if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof
|
|
777
|
-
this.#S(), this.#t.setOptions(this.options), t._defaulted && !
|
|
776
|
+
if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof j(this.options.enabled, this.#t) != "boolean") throw Error("Expected enabled to be a boolean or a callback that returns a boolean");
|
|
777
|
+
this.#S(), this.#t.setOptions(this.options), t._defaulted && !Ne(this.options, t) && this.#e.getQueryCache().notify({
|
|
778
778
|
type: "observerOptionsUpdated",
|
|
779
779
|
query: this.#t,
|
|
780
780
|
observer: this
|
|
781
781
|
});
|
|
782
782
|
let r = this.hasListeners();
|
|
783
|
-
r &&
|
|
783
|
+
r && st(this.#t, n, this.options, t) && this.#h(), this.updateResult(), r && (this.#t !== n || j(this.options.enabled, this.#t) !== j(t.enabled, this.#t) || A(this.options.staleTime, this.#t) !== A(t.staleTime, this.#t)) && this.#g();
|
|
784
784
|
let i = this.#_();
|
|
785
|
-
r && (this.#t !== n ||
|
|
785
|
+
r && (this.#t !== n || j(this.options.enabled, this.#t) !== j(t.enabled, this.#t) || i !== this.#p) && this.#v(i);
|
|
786
786
|
}
|
|
787
787
|
getOptimisticResult(e) {
|
|
788
788
|
let t = this.#e.getQueryCache().build(this.#e, e), n = this.createResult(t, e);
|
|
789
|
-
return
|
|
789
|
+
return lt(this, n) && (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
|
|
790
790
|
}
|
|
791
791
|
getCurrentResult() {
|
|
792
792
|
return this.#r;
|
|
@@ -816,14 +816,14 @@ var Ze = class extends O {
|
|
|
816
816
|
#h(e) {
|
|
817
817
|
this.#S();
|
|
818
818
|
let t = this.#t.fetch(this.options, e);
|
|
819
|
-
return e?.throwOnError || (t = t.catch(
|
|
819
|
+
return e?.throwOnError || (t = t.catch(k)), t;
|
|
820
820
|
}
|
|
821
821
|
#g() {
|
|
822
822
|
this.#b();
|
|
823
|
-
let e =
|
|
824
|
-
if (
|
|
825
|
-
let t =
|
|
826
|
-
this.#d =
|
|
823
|
+
let e = A(this.options.staleTime, this.#t);
|
|
824
|
+
if (P.isServer() || this.#r.isStale || !Ee(e)) return;
|
|
825
|
+
let t = De(this.#r.dataUpdatedAt, e) + 1;
|
|
826
|
+
this.#d = O.setTimeout(() => {
|
|
827
827
|
this.#r.isStale || this.updateResult();
|
|
828
828
|
}, t);
|
|
829
829
|
}
|
|
@@ -831,26 +831,26 @@ var Ze = class extends O {
|
|
|
831
831
|
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.#t) : this.options.refetchInterval) ?? !1;
|
|
832
832
|
}
|
|
833
833
|
#v(e) {
|
|
834
|
-
this.#x(), this.#p = e, !(
|
|
835
|
-
(this.options.refetchIntervalInBackground ||
|
|
834
|
+
this.#x(), this.#p = e, !(P.isServer() || j(this.options.enabled, this.#t) === !1 || !Ee(this.#p) || this.#p === 0) && (this.#f = O.setInterval(() => {
|
|
835
|
+
(this.options.refetchIntervalInBackground || xe.isFocused()) && this.#h();
|
|
836
836
|
}, this.#p));
|
|
837
837
|
}
|
|
838
838
|
#y() {
|
|
839
839
|
this.#g(), this.#v(this.#_());
|
|
840
840
|
}
|
|
841
841
|
#b() {
|
|
842
|
-
this.#d &&= (
|
|
842
|
+
this.#d &&= (O.clearTimeout(this.#d), void 0);
|
|
843
843
|
}
|
|
844
844
|
#x() {
|
|
845
|
-
this.#f &&= (
|
|
845
|
+
this.#f &&= (O.clearInterval(this.#f), void 0);
|
|
846
846
|
}
|
|
847
847
|
createResult(e, t) {
|
|
848
848
|
let n = this.#t, r = this.options, i = this.#r, a = this.#i, o = this.#a, s = e === n ? this.#n : e.state, { state: c } = e, l = { ...c }, u = !1, d;
|
|
849
849
|
if (t._optimisticResults) {
|
|
850
|
-
let i = this.hasListeners(), a = !i &&
|
|
850
|
+
let i = this.hasListeners(), a = !i && at(e, t), o = i && st(e, n, t, r);
|
|
851
851
|
(a || o) && (l = {
|
|
852
852
|
...l,
|
|
853
|
-
...
|
|
853
|
+
...et(c.data, e.options)
|
|
854
854
|
}), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");
|
|
855
855
|
}
|
|
856
856
|
let { error: f, errorUpdatedAt: p, status: m } = l;
|
|
@@ -858,11 +858,11 @@ var Ze = class extends O {
|
|
|
858
858
|
let h = !1;
|
|
859
859
|
if (t.placeholderData !== void 0 && d === void 0 && m === "pending") {
|
|
860
860
|
let e;
|
|
861
|
-
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 =
|
|
861
|
+
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 = Re(i?.data, e, t), u = !0);
|
|
862
862
|
}
|
|
863
863
|
if (t.select && d !== void 0 && !h) if (i && d === a?.data && t.select === this.#c) d = this.#l;
|
|
864
864
|
else try {
|
|
865
|
-
this.#c = t.select, d = t.select(d), d =
|
|
865
|
+
this.#c = t.select, d = t.select(d), d = Re(i?.data, d, t), this.#l = d, this.#s = null;
|
|
866
866
|
} catch (e) {
|
|
867
867
|
this.#s = e;
|
|
868
868
|
}
|
|
@@ -890,16 +890,16 @@ var Ze = class extends O {
|
|
|
890
890
|
isPaused: l.fetchStatus === "paused",
|
|
891
891
|
isPlaceholderData: u,
|
|
892
892
|
isRefetchError: v && y,
|
|
893
|
-
isStale:
|
|
893
|
+
isStale: ct(e, t),
|
|
894
894
|
refetch: this.refetch,
|
|
895
895
|
promise: this.#o,
|
|
896
|
-
isEnabled:
|
|
896
|
+
isEnabled: j(t.enabled, e) !== !1
|
|
897
897
|
};
|
|
898
898
|
if (this.options.experimental_prefetchInRender) {
|
|
899
899
|
let t = b.data !== void 0, r = b.status === "error" && !t, i = (e) => {
|
|
900
900
|
r ? e.reject(b.error) : t && e.resolve(b.data);
|
|
901
901
|
}, a = () => {
|
|
902
|
-
i(this.#o = b.promise =
|
|
902
|
+
i(this.#o = b.promise = Ge());
|
|
903
903
|
}, o = this.#o;
|
|
904
904
|
switch (o.status) {
|
|
905
905
|
case "pending":
|
|
@@ -917,7 +917,7 @@ var Ze = class extends O {
|
|
|
917
917
|
}
|
|
918
918
|
updateResult() {
|
|
919
919
|
let e = this.#r, t = this.createResult(this.#t, this.options);
|
|
920
|
-
this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#u = this.#t), !
|
|
920
|
+
this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#u = this.#t), !Ne(t, e) && (this.#r = t, this.#C({ listeners: (() => {
|
|
921
921
|
if (!e) return !0;
|
|
922
922
|
let { notifyOnChangeProps: t } = this.options, n = typeof t == "function" ? t() : t;
|
|
923
923
|
if (n === "all" || !n && !this.#m.size) return !0;
|
|
@@ -938,7 +938,7 @@ var Ze = class extends O {
|
|
|
938
938
|
this.updateResult(), this.hasListeners() && this.#y();
|
|
939
939
|
}
|
|
940
940
|
#C(e) {
|
|
941
|
-
|
|
941
|
+
F.batch(() => {
|
|
942
942
|
e.listeners && this.listeners.forEach((e) => {
|
|
943
943
|
e(this.#r);
|
|
944
944
|
}), this.#e.getQueryCache().notify({
|
|
@@ -948,39 +948,39 @@ var Ze = class extends O {
|
|
|
948
948
|
});
|
|
949
949
|
}
|
|
950
950
|
};
|
|
951
|
-
function
|
|
952
|
-
return
|
|
951
|
+
function it(e, t) {
|
|
952
|
+
return j(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && t.retryOnMount === !1);
|
|
953
953
|
}
|
|
954
|
-
function
|
|
955
|
-
return
|
|
954
|
+
function at(e, t) {
|
|
955
|
+
return it(e, t) || e.state.data !== void 0 && ot(e, t, t.refetchOnMount);
|
|
956
956
|
}
|
|
957
|
-
function
|
|
958
|
-
if (
|
|
957
|
+
function ot(e, t, n) {
|
|
958
|
+
if (j(t.enabled, e) !== !1 && A(t.staleTime, e) !== "static") {
|
|
959
959
|
let r = typeof n == "function" ? n(e) : n;
|
|
960
|
-
return r === "always" || r !== !1 &&
|
|
960
|
+
return r === "always" || r !== !1 && ct(e, t);
|
|
961
961
|
}
|
|
962
962
|
return !1;
|
|
963
963
|
}
|
|
964
|
-
function
|
|
965
|
-
return (e !== t ||
|
|
964
|
+
function st(e, t, n, r) {
|
|
965
|
+
return (e !== t || j(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && ct(e, n);
|
|
966
966
|
}
|
|
967
|
-
function
|
|
968
|
-
return
|
|
967
|
+
function ct(e, t) {
|
|
968
|
+
return j(t.enabled, e) !== !1 && e.isStaleByTime(A(t.staleTime, e));
|
|
969
969
|
}
|
|
970
|
-
function
|
|
971
|
-
return !
|
|
970
|
+
function lt(e, t) {
|
|
971
|
+
return !Ne(e.getCurrentResult(), t);
|
|
972
972
|
}
|
|
973
973
|
//#endregion
|
|
974
974
|
//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
|
|
975
|
-
function
|
|
975
|
+
function ut(e) {
|
|
976
976
|
return { onFetch: (t, n) => {
|
|
977
977
|
let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {
|
|
978
978
|
pages: [],
|
|
979
979
|
pageParams: []
|
|
980
980
|
}, c = 0, l = async () => {
|
|
981
981
|
let n = !1, l = (e) => {
|
|
982
|
-
|
|
983
|
-
}, u =
|
|
982
|
+
We(e, () => t.signal, () => n = !0);
|
|
983
|
+
}, u = He(t.options, t.fetchOptions), d = async (e, r, i) => {
|
|
984
984
|
if (n) return Promise.reject();
|
|
985
985
|
if (r == null && e.pages.length) return Promise.resolve(e);
|
|
986
986
|
let a = await u((() => {
|
|
@@ -992,14 +992,14 @@ function it(e) {
|
|
|
992
992
|
meta: t.options.meta
|
|
993
993
|
};
|
|
994
994
|
return l(e), e;
|
|
995
|
-
})()), { maxPages: o } = t.options, s = i ?
|
|
995
|
+
})()), { maxPages: o } = t.options, s = i ? Be : ze;
|
|
996
996
|
return {
|
|
997
997
|
pages: s(e.pages, a, o),
|
|
998
998
|
pageParams: s(e.pageParams, r, o)
|
|
999
999
|
};
|
|
1000
1000
|
};
|
|
1001
1001
|
if (i && a.length) {
|
|
1002
|
-
let e = i === "backward", t = e ?
|
|
1002
|
+
let e = i === "backward", t = e ? ft : dt, n = {
|
|
1003
1003
|
pages: a,
|
|
1004
1004
|
pageParams: o
|
|
1005
1005
|
};
|
|
@@ -1007,7 +1007,7 @@ function it(e) {
|
|
|
1007
1007
|
} else {
|
|
1008
1008
|
let t = e ?? a.length;
|
|
1009
1009
|
do {
|
|
1010
|
-
let e = c === 0 ? o[0] ?? r.initialPageParam :
|
|
1010
|
+
let e = c === 0 ? o[0] ?? r.initialPageParam : dt(r, s);
|
|
1011
1011
|
if (c > 0 && e == null) break;
|
|
1012
1012
|
s = await d(s, e), c++;
|
|
1013
1013
|
} while (c < t);
|
|
@@ -1022,22 +1022,22 @@ function it(e) {
|
|
|
1022
1022
|
}, n) : t.fetchFn = l;
|
|
1023
1023
|
} };
|
|
1024
1024
|
}
|
|
1025
|
-
function
|
|
1025
|
+
function dt(e, { pages: t, pageParams: n }) {
|
|
1026
1026
|
let r = t.length - 1;
|
|
1027
1027
|
return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;
|
|
1028
1028
|
}
|
|
1029
|
-
function
|
|
1029
|
+
function ft(e, { pages: t, pageParams: n }) {
|
|
1030
1030
|
return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;
|
|
1031
1031
|
}
|
|
1032
1032
|
//#endregion
|
|
1033
1033
|
//#region node_modules/@tanstack/query-core/build/modern/mutation.js
|
|
1034
|
-
var
|
|
1034
|
+
var pt = class extends Qe {
|
|
1035
1035
|
#e;
|
|
1036
1036
|
#t;
|
|
1037
1037
|
#n;
|
|
1038
1038
|
#r;
|
|
1039
1039
|
constructor(e) {
|
|
1040
|
-
super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state ||
|
|
1040
|
+
super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || mt(), this.setOptions(e.options), this.scheduleGc();
|
|
1041
1041
|
}
|
|
1042
1042
|
setOptions(e) {
|
|
1043
1043
|
this.options = e, this.updateGcTime(this.options.gcTime);
|
|
@@ -1073,7 +1073,7 @@ var st = class extends Ke {
|
|
|
1073
1073
|
meta: this.options.meta,
|
|
1074
1074
|
mutationKey: this.options.mutationKey
|
|
1075
1075
|
};
|
|
1076
|
-
this.#r =
|
|
1076
|
+
this.#r = Ze({
|
|
1077
1077
|
fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),
|
|
1078
1078
|
onFail: (e, t) => {
|
|
1079
1079
|
this.#i({
|
|
@@ -1189,7 +1189,7 @@ var st = class extends Ke {
|
|
|
1189
1189
|
status: "error"
|
|
1190
1190
|
};
|
|
1191
1191
|
}
|
|
1192
|
-
})(this.state),
|
|
1192
|
+
})(this.state), F.batch(() => {
|
|
1193
1193
|
this.#t.forEach((t) => {
|
|
1194
1194
|
t.onMutationUpdate(e);
|
|
1195
1195
|
}), this.#n.notify({
|
|
@@ -1200,7 +1200,7 @@ var st = class extends Ke {
|
|
|
1200
1200
|
});
|
|
1201
1201
|
}
|
|
1202
1202
|
};
|
|
1203
|
-
function
|
|
1203
|
+
function mt() {
|
|
1204
1204
|
return {
|
|
1205
1205
|
context: void 0,
|
|
1206
1206
|
data: void 0,
|
|
@@ -1215,7 +1215,7 @@ function ct() {
|
|
|
1215
1215
|
}
|
|
1216
1216
|
//#endregion
|
|
1217
1217
|
//#region node_modules/@tanstack/query-core/build/modern/mutationCache.js
|
|
1218
|
-
var
|
|
1218
|
+
var ht = class extends D {
|
|
1219
1219
|
constructor(e = {}) {
|
|
1220
1220
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;
|
|
1221
1221
|
}
|
|
@@ -1223,7 +1223,7 @@ var lt = class extends O {
|
|
|
1223
1223
|
#t;
|
|
1224
1224
|
#n;
|
|
1225
1225
|
build(e, t, n) {
|
|
1226
|
-
let r = new
|
|
1226
|
+
let r = new pt({
|
|
1227
1227
|
client: e,
|
|
1228
1228
|
mutationCache: this,
|
|
1229
1229
|
mutationId: ++this.#n,
|
|
@@ -1234,7 +1234,7 @@ var lt = class extends O {
|
|
|
1234
1234
|
}
|
|
1235
1235
|
add(e) {
|
|
1236
1236
|
this.#e.add(e);
|
|
1237
|
-
let t =
|
|
1237
|
+
let t = L(e);
|
|
1238
1238
|
if (typeof t == "string") {
|
|
1239
1239
|
let n = this.#t.get(t);
|
|
1240
1240
|
n ? n.push(e) : this.#t.set(t, [e]);
|
|
@@ -1246,7 +1246,7 @@ var lt = class extends O {
|
|
|
1246
1246
|
}
|
|
1247
1247
|
remove(e) {
|
|
1248
1248
|
if (this.#e.delete(e)) {
|
|
1249
|
-
let t =
|
|
1249
|
+
let t = L(e);
|
|
1250
1250
|
if (typeof t == "string") {
|
|
1251
1251
|
let n = this.#t.get(t);
|
|
1252
1252
|
if (n) if (n.length > 1) {
|
|
@@ -1261,18 +1261,18 @@ var lt = class extends O {
|
|
|
1261
1261
|
});
|
|
1262
1262
|
}
|
|
1263
1263
|
canRun(e) {
|
|
1264
|
-
let t =
|
|
1264
|
+
let t = L(e);
|
|
1265
1265
|
if (typeof t == "string") {
|
|
1266
1266
|
let n = this.#t.get(t)?.find((e) => e.state.status === "pending");
|
|
1267
1267
|
return !n || n === e;
|
|
1268
1268
|
} else return !0;
|
|
1269
1269
|
}
|
|
1270
1270
|
runNext(e) {
|
|
1271
|
-
let t =
|
|
1271
|
+
let t = L(e);
|
|
1272
1272
|
return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();
|
|
1273
1273
|
}
|
|
1274
1274
|
clear() {
|
|
1275
|
-
|
|
1275
|
+
F.batch(() => {
|
|
1276
1276
|
this.#e.forEach((e) => {
|
|
1277
1277
|
this.notify({
|
|
1278
1278
|
type: "removed",
|
|
@@ -1289,13 +1289,13 @@ var lt = class extends O {
|
|
|
1289
1289
|
exact: !0,
|
|
1290
1290
|
...e
|
|
1291
1291
|
};
|
|
1292
|
-
return this.getAll().find((e) =>
|
|
1292
|
+
return this.getAll().find((e) => ke(t, e));
|
|
1293
1293
|
}
|
|
1294
1294
|
findAll(e = {}) {
|
|
1295
|
-
return this.getAll().filter((t) =>
|
|
1295
|
+
return this.getAll().filter((t) => ke(e, t));
|
|
1296
1296
|
}
|
|
1297
1297
|
notify(e) {
|
|
1298
|
-
|
|
1298
|
+
F.batch(() => {
|
|
1299
1299
|
this.listeners.forEach((t) => {
|
|
1300
1300
|
t(e);
|
|
1301
1301
|
});
|
|
@@ -1303,22 +1303,22 @@ var lt = class extends O {
|
|
|
1303
1303
|
}
|
|
1304
1304
|
resumePausedMutations() {
|
|
1305
1305
|
let e = this.getAll().filter((e) => e.state.isPaused);
|
|
1306
|
-
return
|
|
1306
|
+
return F.batch(() => Promise.all(e.map((e) => e.continue().catch(k))));
|
|
1307
1307
|
}
|
|
1308
1308
|
};
|
|
1309
|
-
function
|
|
1309
|
+
function L(e) {
|
|
1310
1310
|
return e.options.scope?.id;
|
|
1311
1311
|
}
|
|
1312
1312
|
//#endregion
|
|
1313
1313
|
//#region node_modules/@tanstack/query-core/build/modern/queryCache.js
|
|
1314
|
-
var
|
|
1314
|
+
var gt = class extends D {
|
|
1315
1315
|
constructor(e = {}) {
|
|
1316
1316
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
|
|
1317
1317
|
}
|
|
1318
1318
|
#e;
|
|
1319
1319
|
build(e, t, n) {
|
|
1320
|
-
let r = t.queryKey, i = t.queryHash ??
|
|
1321
|
-
return a || (a = new
|
|
1320
|
+
let r = t.queryKey, i = t.queryHash ?? Ae(r, t), a = this.get(i);
|
|
1321
|
+
return a || (a = new $e({
|
|
1322
1322
|
client: e,
|
|
1323
1323
|
queryKey: r,
|
|
1324
1324
|
queryHash: i,
|
|
@@ -1341,7 +1341,7 @@ var dt = class extends O {
|
|
|
1341
1341
|
}));
|
|
1342
1342
|
}
|
|
1343
1343
|
clear() {
|
|
1344
|
-
|
|
1344
|
+
F.batch(() => {
|
|
1345
1345
|
this.getAll().forEach((e) => {
|
|
1346
1346
|
this.remove(e);
|
|
1347
1347
|
});
|
|
@@ -1358,34 +1358,34 @@ var dt = class extends O {
|
|
|
1358
1358
|
exact: !0,
|
|
1359
1359
|
...e
|
|
1360
1360
|
};
|
|
1361
|
-
return this.getAll().find((e) =>
|
|
1361
|
+
return this.getAll().find((e) => Oe(t, e));
|
|
1362
1362
|
}
|
|
1363
1363
|
findAll(e = {}) {
|
|
1364
1364
|
let t = this.getAll();
|
|
1365
|
-
return Object.keys(e).length > 0 ? t.filter((t) =>
|
|
1365
|
+
return Object.keys(e).length > 0 ? t.filter((t) => Oe(e, t)) : t;
|
|
1366
1366
|
}
|
|
1367
1367
|
notify(e) {
|
|
1368
|
-
|
|
1368
|
+
F.batch(() => {
|
|
1369
1369
|
this.listeners.forEach((t) => {
|
|
1370
1370
|
t(e);
|
|
1371
1371
|
});
|
|
1372
1372
|
});
|
|
1373
1373
|
}
|
|
1374
1374
|
onFocus() {
|
|
1375
|
-
|
|
1375
|
+
F.batch(() => {
|
|
1376
1376
|
this.getAll().forEach((e) => {
|
|
1377
1377
|
e.onFocus();
|
|
1378
1378
|
});
|
|
1379
1379
|
});
|
|
1380
1380
|
}
|
|
1381
1381
|
onOnline() {
|
|
1382
|
-
|
|
1382
|
+
F.batch(() => {
|
|
1383
1383
|
this.getAll().forEach((e) => {
|
|
1384
1384
|
e.onOnline();
|
|
1385
1385
|
});
|
|
1386
1386
|
});
|
|
1387
1387
|
}
|
|
1388
|
-
},
|
|
1388
|
+
}, _t = class {
|
|
1389
1389
|
#e;
|
|
1390
1390
|
#t;
|
|
1391
1391
|
#n;
|
|
@@ -1395,12 +1395,12 @@ var dt = class extends O {
|
|
|
1395
1395
|
#o;
|
|
1396
1396
|
#s;
|
|
1397
1397
|
constructor(e = {}) {
|
|
1398
|
-
this.#e = e.queryCache || new
|
|
1398
|
+
this.#e = e.queryCache || new gt(), this.#t = e.mutationCache || new ht(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
|
|
1399
1399
|
}
|
|
1400
1400
|
mount() {
|
|
1401
|
-
this.#a++, this.#a === 1 && (this.#o =
|
|
1401
|
+
this.#a++, this.#a === 1 && (this.#o = xe.subscribe(async (e) => {
|
|
1402
1402
|
e && (await this.resumePausedMutations(), this.#e.onFocus());
|
|
1403
|
-
}), this.#s =
|
|
1403
|
+
}), this.#s = I.subscribe(async (e) => {
|
|
1404
1404
|
e && (await this.resumePausedMutations(), this.#e.onOnline());
|
|
1405
1405
|
}));
|
|
1406
1406
|
}
|
|
@@ -1425,20 +1425,20 @@ var dt = class extends O {
|
|
|
1425
1425
|
}
|
|
1426
1426
|
ensureQueryData(e) {
|
|
1427
1427
|
let t = this.defaultQueryOptions(e), n = this.#e.build(this, t), r = n.state.data;
|
|
1428
|
-
return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(
|
|
1428
|
+
return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(A(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
|
|
1429
1429
|
}
|
|
1430
1430
|
getQueriesData(e) {
|
|
1431
1431
|
return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);
|
|
1432
1432
|
}
|
|
1433
1433
|
setQueryData(e, t, n) {
|
|
1434
|
-
let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a =
|
|
1434
|
+
let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = Te(t, i);
|
|
1435
1435
|
if (a !== void 0) return this.#e.build(this, r).setData(a, {
|
|
1436
1436
|
...n,
|
|
1437
1437
|
manual: !0
|
|
1438
1438
|
});
|
|
1439
1439
|
}
|
|
1440
1440
|
setQueriesData(e, t, n) {
|
|
1441
|
-
return
|
|
1441
|
+
return F.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
|
|
1442
1442
|
}
|
|
1443
1443
|
getQueryState(e) {
|
|
1444
1444
|
let t = this.defaultQueryOptions({ queryKey: e });
|
|
@@ -1446,7 +1446,7 @@ var dt = class extends O {
|
|
|
1446
1446
|
}
|
|
1447
1447
|
removeQueries(e) {
|
|
1448
1448
|
let t = this.#e;
|
|
1449
|
-
|
|
1449
|
+
F.batch(() => {
|
|
1450
1450
|
t.findAll(e).forEach((e) => {
|
|
1451
1451
|
t.remove(e);
|
|
1452
1452
|
});
|
|
@@ -1454,7 +1454,7 @@ var dt = class extends O {
|
|
|
1454
1454
|
}
|
|
1455
1455
|
resetQueries(e, t) {
|
|
1456
1456
|
let n = this.#e;
|
|
1457
|
-
return
|
|
1457
|
+
return F.batch(() => (n.findAll(e).forEach((e) => {
|
|
1458
1458
|
e.reset();
|
|
1459
1459
|
}), this.refetchQueries({
|
|
1460
1460
|
type: "active",
|
|
@@ -1465,11 +1465,11 @@ var dt = class extends O {
|
|
|
1465
1465
|
let n = {
|
|
1466
1466
|
revert: !0,
|
|
1467
1467
|
...t
|
|
1468
|
-
}, r =
|
|
1469
|
-
return Promise.all(r).then(
|
|
1468
|
+
}, r = F.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
|
|
1469
|
+
return Promise.all(r).then(k).catch(k);
|
|
1470
1470
|
}
|
|
1471
1471
|
invalidateQueries(e, t = {}) {
|
|
1472
|
-
return
|
|
1472
|
+
return F.batch(() => (this.#e.findAll(e).forEach((e) => {
|
|
1473
1473
|
e.invalidate();
|
|
1474
1474
|
}), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({
|
|
1475
1475
|
...e,
|
|
@@ -1480,32 +1480,32 @@ var dt = class extends O {
|
|
|
1480
1480
|
let n = {
|
|
1481
1481
|
...t,
|
|
1482
1482
|
cancelRefetch: t.cancelRefetch ?? !0
|
|
1483
|
-
}, r =
|
|
1483
|
+
}, r = F.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
|
|
1484
1484
|
let t = e.fetch(void 0, n);
|
|
1485
|
-
return n.throwOnError || (t = t.catch(
|
|
1485
|
+
return n.throwOnError || (t = t.catch(k)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
|
|
1486
1486
|
}));
|
|
1487
|
-
return Promise.all(r).then(
|
|
1487
|
+
return Promise.all(r).then(k);
|
|
1488
1488
|
}
|
|
1489
1489
|
fetchQuery(e) {
|
|
1490
1490
|
let t = this.defaultQueryOptions(e);
|
|
1491
1491
|
t.retry === void 0 && (t.retry = !1);
|
|
1492
1492
|
let n = this.#e.build(this, t);
|
|
1493
|
-
return n.isStaleByTime(
|
|
1493
|
+
return n.isStaleByTime(A(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
|
|
1494
1494
|
}
|
|
1495
1495
|
prefetchQuery(e) {
|
|
1496
|
-
return this.fetchQuery(e).then(
|
|
1496
|
+
return this.fetchQuery(e).then(k).catch(k);
|
|
1497
1497
|
}
|
|
1498
1498
|
fetchInfiniteQuery(e) {
|
|
1499
|
-
return e.behavior =
|
|
1499
|
+
return e.behavior = ut(e.pages), this.fetchQuery(e);
|
|
1500
1500
|
}
|
|
1501
1501
|
prefetchInfiniteQuery(e) {
|
|
1502
|
-
return this.fetchInfiniteQuery(e).then(
|
|
1502
|
+
return this.fetchInfiniteQuery(e).then(k).catch(k);
|
|
1503
1503
|
}
|
|
1504
1504
|
ensureInfiniteQueryData(e) {
|
|
1505
|
-
return e.behavior =
|
|
1505
|
+
return e.behavior = ut(e.pages), this.ensureQueryData(e);
|
|
1506
1506
|
}
|
|
1507
1507
|
resumePausedMutations() {
|
|
1508
|
-
return
|
|
1508
|
+
return I.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
|
|
1509
1509
|
}
|
|
1510
1510
|
getQueryCache() {
|
|
1511
1511
|
return this.#e;
|
|
@@ -1520,7 +1520,7 @@ var dt = class extends O {
|
|
|
1520
1520
|
this.#n = e;
|
|
1521
1521
|
}
|
|
1522
1522
|
setQueryDefaults(e, t) {
|
|
1523
|
-
this.#r.set(
|
|
1523
|
+
this.#r.set(M(e), {
|
|
1524
1524
|
queryKey: e,
|
|
1525
1525
|
defaultOptions: t
|
|
1526
1526
|
});
|
|
@@ -1528,11 +1528,11 @@ var dt = class extends O {
|
|
|
1528
1528
|
getQueryDefaults(e) {
|
|
1529
1529
|
let t = [...this.#r.values()], n = {};
|
|
1530
1530
|
return t.forEach((t) => {
|
|
1531
|
-
|
|
1531
|
+
N(e, t.queryKey) && Object.assign(n, t.defaultOptions);
|
|
1532
1532
|
}), n;
|
|
1533
1533
|
}
|
|
1534
1534
|
setMutationDefaults(e, t) {
|
|
1535
|
-
this.#i.set(
|
|
1535
|
+
this.#i.set(M(e), {
|
|
1536
1536
|
mutationKey: e,
|
|
1537
1537
|
defaultOptions: t
|
|
1538
1538
|
});
|
|
@@ -1540,7 +1540,7 @@ var dt = class extends O {
|
|
|
1540
1540
|
getMutationDefaults(e) {
|
|
1541
1541
|
let t = [...this.#i.values()], n = {};
|
|
1542
1542
|
return t.forEach((t) => {
|
|
1543
|
-
|
|
1543
|
+
N(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
|
|
1544
1544
|
}), n;
|
|
1545
1545
|
}
|
|
1546
1546
|
defaultQueryOptions(e) {
|
|
@@ -1551,7 +1551,7 @@ var dt = class extends O {
|
|
|
1551
1551
|
...e,
|
|
1552
1552
|
_defaulted: !0
|
|
1553
1553
|
};
|
|
1554
|
-
return t.queryHash ||=
|
|
1554
|
+
return t.queryHash ||= Ae(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 === Ve && (t.enabled = !1), t;
|
|
1555
1555
|
}
|
|
1556
1556
|
defaultMutationOptions(e) {
|
|
1557
1557
|
return e?._defaulted ? e : {
|
|
@@ -1564,20 +1564,20 @@ var dt = class extends O {
|
|
|
1564
1564
|
clear() {
|
|
1565
1565
|
this.#e.clear(), this.#t.clear();
|
|
1566
1566
|
}
|
|
1567
|
-
},
|
|
1568
|
-
let t = x.useContext(
|
|
1567
|
+
}, vt = x.createContext(void 0), yt = (e) => {
|
|
1568
|
+
let t = x.useContext(vt);
|
|
1569
1569
|
if (e) return e;
|
|
1570
1570
|
if (!t) throw Error("No QueryClient set, use QueryClientProvider to set one");
|
|
1571
1571
|
return t;
|
|
1572
|
-
},
|
|
1572
|
+
}, bt = ({ client: e, children: t }) => (x.useEffect(() => (e.mount(), () => {
|
|
1573
1573
|
e.unmount();
|
|
1574
|
-
}), [e]), /* @__PURE__ */
|
|
1574
|
+
}), [e]), /* @__PURE__ */ T(vt.Provider, {
|
|
1575
1575
|
value: e,
|
|
1576
1576
|
children: t
|
|
1577
|
-
})),
|
|
1577
|
+
})), xt = x.createContext(!1), St = () => x.useContext(xt);
|
|
1578
1578
|
//#endregion
|
|
1579
1579
|
//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
|
|
1580
|
-
function
|
|
1580
|
+
function Ct() {
|
|
1581
1581
|
let e = !1;
|
|
1582
1582
|
return {
|
|
1583
1583
|
clearReset: () => {
|
|
@@ -1589,55 +1589,55 @@ function vt() {
|
|
|
1589
1589
|
isReset: () => e
|
|
1590
1590
|
};
|
|
1591
1591
|
}
|
|
1592
|
-
var
|
|
1593
|
-
let r = n?.state.error && typeof e.throwOnError == "function" ?
|
|
1592
|
+
var wt = x.createContext(Ct()), Tt = () => x.useContext(wt), Et = (e, t, n) => {
|
|
1593
|
+
let r = n?.state.error && typeof e.throwOnError == "function" ? Ue(e.throwOnError, [n.state.error, n]) : e.throwOnError;
|
|
1594
1594
|
(e.suspense || e.experimental_prefetchInRender || r) && (t.isReset() || (e.retryOnMount = !1));
|
|
1595
|
-
},
|
|
1595
|
+
}, Dt = (e) => {
|
|
1596
1596
|
x.useEffect(() => {
|
|
1597
1597
|
e.clearReset();
|
|
1598
1598
|
}, [e]);
|
|
1599
|
-
},
|
|
1599
|
+
}, Ot = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || Ue(n, [e.error, r])), kt = (e) => {
|
|
1600
1600
|
if (e.suspense) {
|
|
1601
1601
|
let t = 1e3, n = (e) => e === "static" ? e : Math.max(e ?? t, t), r = e.staleTime;
|
|
1602
1602
|
e.staleTime = typeof r == "function" ? (...e) => n(r(...e)) : n(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, t));
|
|
1603
1603
|
}
|
|
1604
|
-
},
|
|
1604
|
+
}, At = (e, t) => e.isLoading && e.isFetching && !t, jt = (e, t) => e?.suspense && t.isPending, Mt = (e, t, n) => t.fetchOptimistic(e).catch(() => {
|
|
1605
1605
|
n.clearReset();
|
|
1606
1606
|
});
|
|
1607
1607
|
//#endregion
|
|
1608
1608
|
//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
|
|
1609
|
-
function
|
|
1609
|
+
function Nt(e, t, n) {
|
|
1610
1610
|
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");
|
|
1611
|
-
let r =
|
|
1611
|
+
let r = St(), i = Tt(), a = yt(n), o = a.defaultQueryOptions(e);
|
|
1612
1612
|
a.getDefaultOptions().queries?._experimental_beforeQuery?.(o);
|
|
1613
1613
|
let s = a.getQueryCache().get(o.queryHash);
|
|
1614
|
-
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`)), o._optimisticResults = r ? "isRestoring" : "optimistic",
|
|
1614
|
+
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`)), o._optimisticResults = r ? "isRestoring" : "optimistic", kt(o), Et(o, i, s), Dt(i);
|
|
1615
1615
|
let c = !a.getQueryCache().get(o.queryHash), [l] = x.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && e.subscribed !== !1;
|
|
1616
1616
|
if (x.useSyncExternalStore(x.useCallback((e) => {
|
|
1617
|
-
let t = d ? l.subscribe(
|
|
1617
|
+
let t = d ? l.subscribe(F.batchCalls(e)) : k;
|
|
1618
1618
|
return l.updateResult(), t;
|
|
1619
1619
|
}, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), x.useEffect(() => {
|
|
1620
1620
|
l.setOptions(o);
|
|
1621
|
-
}, [o, l]),
|
|
1622
|
-
if (
|
|
1621
|
+
}, [o, l]), jt(o, u)) throw Mt(o, l, i);
|
|
1622
|
+
if (Ot({
|
|
1623
1623
|
result: u,
|
|
1624
1624
|
errorResetBoundary: i,
|
|
1625
1625
|
throwOnError: o.throwOnError,
|
|
1626
1626
|
query: s,
|
|
1627
1627
|
suspense: o.suspense
|
|
1628
1628
|
})) throw u.error;
|
|
1629
|
-
return a.getDefaultOptions().queries?._experimental_afterQuery?.(o, u), o.experimental_prefetchInRender && !
|
|
1629
|
+
return a.getDefaultOptions().queries?._experimental_afterQuery?.(o, u), o.experimental_prefetchInRender && !P.isServer() && At(u, r) && (c ? Mt(o, l, i) : s?.promise)?.catch(k).finally(() => {
|
|
1630
1630
|
l.updateResult();
|
|
1631
1631
|
}), o.notifyOnChangeProps ? u : l.trackResult(u);
|
|
1632
1632
|
}
|
|
1633
1633
|
//#endregion
|
|
1634
1634
|
//#region node_modules/@tanstack/react-query/build/modern/useQuery.js
|
|
1635
|
-
function
|
|
1636
|
-
return
|
|
1635
|
+
function Pt(e, t) {
|
|
1636
|
+
return Nt(e, rt, t);
|
|
1637
1637
|
}
|
|
1638
1638
|
//#endregion
|
|
1639
1639
|
//#region src/client/client/CubeClient.ts
|
|
1640
|
-
var
|
|
1640
|
+
var Ft = class {
|
|
1641
1641
|
apiUrl;
|
|
1642
1642
|
headers;
|
|
1643
1643
|
credentials;
|
|
@@ -1668,7 +1668,7 @@ var At = class {
|
|
|
1668
1668
|
} catch {}
|
|
1669
1669
|
throw Error(e);
|
|
1670
1670
|
}
|
|
1671
|
-
return new
|
|
1671
|
+
return new It(await a.json());
|
|
1672
1672
|
}
|
|
1673
1673
|
async meta() {
|
|
1674
1674
|
let e = `${this.apiUrl}/meta`, t = await fetch(e, {
|
|
@@ -1758,14 +1758,14 @@ var At = class {
|
|
|
1758
1758
|
throw Error(e);
|
|
1759
1759
|
}
|
|
1760
1760
|
return (await i.json()).results.map((e) => !e.success && e.error ? {
|
|
1761
|
-
...new
|
|
1761
|
+
...new It({
|
|
1762
1762
|
data: [],
|
|
1763
1763
|
annotation: {}
|
|
1764
1764
|
}),
|
|
1765
1765
|
error: e.error
|
|
1766
|
-
} : new
|
|
1766
|
+
} : new It(e));
|
|
1767
1767
|
}
|
|
1768
|
-
},
|
|
1768
|
+
}, It = class {
|
|
1769
1769
|
loadResponse;
|
|
1770
1770
|
constructor(e) {
|
|
1771
1771
|
this.loadResponse = e;
|
|
@@ -1786,12 +1786,12 @@ var At = class {
|
|
|
1786
1786
|
return this.loadResponse.results && this.loadResponse.results[0] ? this.loadResponse.results[0].cache : this.loadResponse.cache;
|
|
1787
1787
|
}
|
|
1788
1788
|
};
|
|
1789
|
-
function
|
|
1790
|
-
return new
|
|
1789
|
+
function Lt(e, t = {}) {
|
|
1790
|
+
return new Ft(e, t);
|
|
1791
1791
|
}
|
|
1792
1792
|
//#endregion
|
|
1793
1793
|
//#region src/client/client/BatchCoordinator.ts
|
|
1794
|
-
var
|
|
1794
|
+
var Rt = class {
|
|
1795
1795
|
queue = [];
|
|
1796
1796
|
flushScheduled = !1;
|
|
1797
1797
|
batchExecutor;
|
|
@@ -1834,53 +1834,59 @@ var Nt = class {
|
|
|
1834
1834
|
clear() {
|
|
1835
1835
|
this.queue = [], this.flushScheduled = !1;
|
|
1836
1836
|
}
|
|
1837
|
-
},
|
|
1838
|
-
function
|
|
1839
|
-
let
|
|
1837
|
+
}, zt = me(null);
|
|
1838
|
+
function Bt({ apiOptions: e, token: t, options: n = {}, locale: r, enableBatching: i = !0, batchDelayMs: a = 50, children: o }) {
|
|
1839
|
+
let s = C(() => ({
|
|
1840
1840
|
apiOptions: e,
|
|
1841
1841
|
token: t
|
|
1842
|
-
}), [e, t]), [
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
}, [
|
|
1846
|
-
let
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1842
|
+
}), [e, t]), [c, l] = w(null);
|
|
1843
|
+
S(() => {
|
|
1844
|
+
l(null);
|
|
1845
|
+
}, [s]);
|
|
1846
|
+
let u = c ?? s, d = C(() => r ? {
|
|
1847
|
+
...u.apiOptions,
|
|
1848
|
+
headers: {
|
|
1849
|
+
...u.apiOptions.headers ?? {},
|
|
1850
|
+
"X-DC-Locale": r
|
|
1851
|
+
}
|
|
1852
|
+
} : u.apiOptions, [u.apiOptions, r]), f = C(() => Lt(u.token, d), [d, u.token]), p = C(() => i ? new Rt((e) => f.batchLoad(e), a) : null, [
|
|
1853
|
+
i,
|
|
1854
|
+
f,
|
|
1855
|
+
a
|
|
1856
|
+
]), m = ve((e, t) => {
|
|
1857
|
+
l({
|
|
1852
1858
|
apiOptions: e,
|
|
1853
1859
|
token: t
|
|
1854
1860
|
});
|
|
1855
|
-
}, []),
|
|
1856
|
-
cubeApi:
|
|
1861
|
+
}, []), h = C(() => ({
|
|
1862
|
+
cubeApi: f,
|
|
1857
1863
|
options: n,
|
|
1858
|
-
apiOptions:
|
|
1859
|
-
updateApiConfig:
|
|
1860
|
-
batchCoordinator:
|
|
1861
|
-
enableBatching:
|
|
1864
|
+
apiOptions: d,
|
|
1865
|
+
updateApiConfig: m,
|
|
1866
|
+
batchCoordinator: p,
|
|
1867
|
+
enableBatching: i
|
|
1862
1868
|
}), [
|
|
1863
|
-
u,
|
|
1864
|
-
n,
|
|
1865
|
-
l.apiOptions,
|
|
1866
1869
|
f,
|
|
1870
|
+
n,
|
|
1867
1871
|
d,
|
|
1868
|
-
|
|
1872
|
+
m,
|
|
1873
|
+
p,
|
|
1874
|
+
i
|
|
1869
1875
|
]);
|
|
1870
|
-
return /* @__PURE__ */
|
|
1871
|
-
value:
|
|
1872
|
-
children:
|
|
1876
|
+
return /* @__PURE__ */ T(zt.Provider, {
|
|
1877
|
+
value: h,
|
|
1878
|
+
children: o
|
|
1873
1879
|
});
|
|
1874
1880
|
}
|
|
1875
|
-
function
|
|
1876
|
-
let e =
|
|
1881
|
+
function Vt() {
|
|
1882
|
+
let e = ye(zt);
|
|
1877
1883
|
if (!e) throw Error("useCubeApi must be used within CubeApiProvider");
|
|
1878
1884
|
return e;
|
|
1879
1885
|
}
|
|
1880
1886
|
//#endregion
|
|
1881
1887
|
//#region src/client/hooks/queries/useCubeMetaQuery.ts
|
|
1882
|
-
var
|
|
1883
|
-
function
|
|
1888
|
+
var Ht = ["cube", "meta"];
|
|
1889
|
+
function Ut(e) {
|
|
1884
1890
|
let t = {};
|
|
1885
1891
|
return e.cubes.forEach((e) => {
|
|
1886
1892
|
e.measures.forEach((e) => {
|
|
@@ -1892,14 +1898,14 @@ function Rt(e) {
|
|
|
1892
1898
|
});
|
|
1893
1899
|
}), t;
|
|
1894
1900
|
}
|
|
1895
|
-
function
|
|
1896
|
-
let { enabled: t = !0, staleTime: n = 300 * 1e3 } = e, { cubeApi: r } =
|
|
1897
|
-
queryKey:
|
|
1901
|
+
function Wt(e = {}) {
|
|
1902
|
+
let { enabled: t = !0, staleTime: n = 300 * 1e3 } = e, { cubeApi: r } = Vt(), i = yt(), a = Pt({
|
|
1903
|
+
queryKey: Ht,
|
|
1898
1904
|
queryFn: async () => {
|
|
1899
1905
|
let e = await r.meta();
|
|
1900
1906
|
return {
|
|
1901
1907
|
meta: e,
|
|
1902
|
-
labelMap:
|
|
1908
|
+
labelMap: Ut(e)
|
|
1903
1909
|
};
|
|
1904
1910
|
},
|
|
1905
1911
|
enabled: t,
|
|
@@ -1913,15 +1919,15 @@ function zt(e = {}) {
|
|
|
1913
1919
|
isFetching: a.isFetching,
|
|
1914
1920
|
error: a.error,
|
|
1915
1921
|
refetch: () => {
|
|
1916
|
-
i.invalidateQueries({ queryKey:
|
|
1922
|
+
i.invalidateQueries({ queryKey: Ht });
|
|
1917
1923
|
},
|
|
1918
1924
|
getFieldLabel: (e) => s[e] || e
|
|
1919
1925
|
};
|
|
1920
1926
|
}
|
|
1921
1927
|
//#endregion
|
|
1922
1928
|
//#region src/client/utils/thumbnail.ts
|
|
1923
|
-
var
|
|
1924
|
-
function
|
|
1929
|
+
var R = null, Gt = !1;
|
|
1930
|
+
function Kt(e, t, n, r, i) {
|
|
1925
1931
|
return new Promise((a, o) => {
|
|
1926
1932
|
let s = new Image();
|
|
1927
1933
|
s.onload = () => {
|
|
@@ -1938,26 +1944,26 @@ function Ht(e, t, n, r, i) {
|
|
|
1938
1944
|
}, s.onerror = () => o(/* @__PURE__ */ Error("Failed to load image for resizing")), s.src = e;
|
|
1939
1945
|
});
|
|
1940
1946
|
}
|
|
1941
|
-
async function
|
|
1942
|
-
if (
|
|
1947
|
+
async function z() {
|
|
1948
|
+
if (Gt) return R;
|
|
1943
1949
|
try {
|
|
1944
|
-
return
|
|
1950
|
+
return R = await import("./dist-eZurnOde.js"), Gt = !0, R;
|
|
1945
1951
|
} catch {
|
|
1946
|
-
return
|
|
1952
|
+
return Gt = !0, R = null, null;
|
|
1947
1953
|
}
|
|
1948
1954
|
}
|
|
1949
|
-
function
|
|
1950
|
-
typeof window > "u" || e?.enabled && (window.__drizzle_cube_thumbnail_warning__ ||
|
|
1955
|
+
function qt(e) {
|
|
1956
|
+
typeof window > "u" || e?.enabled && (window.__drizzle_cube_thumbnail_warning__ || z().then((e) => {
|
|
1951
1957
|
!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);
|
|
1952
1958
|
}));
|
|
1953
1959
|
}
|
|
1954
|
-
async function
|
|
1960
|
+
async function Jt(e, t) {
|
|
1955
1961
|
if (typeof window > "u" || !e.current) return null;
|
|
1956
|
-
let n = await
|
|
1962
|
+
let n = await z();
|
|
1957
1963
|
if (!n) return null;
|
|
1958
1964
|
try {
|
|
1959
|
-
let r = t.width ?? 1600, i = t.height ?? 1200, a = t.format ?? "png", o = t.quality ?? .95, s = e.current, c =
|
|
1960
|
-
return await
|
|
1965
|
+
let r = t.width ?? 1600, i = t.height ?? 1200, a = t.format ?? "png", o = t.quality ?? .95, s = e.current, c = Qt(s);
|
|
1966
|
+
return await Kt(await n.domToPng(s, {
|
|
1961
1967
|
scale: 2,
|
|
1962
1968
|
backgroundColor: c
|
|
1963
1969
|
}), r, i, a, o);
|
|
@@ -1965,31 +1971,31 @@ async function Wt(e, t) {
|
|
|
1965
1971
|
return console.error("[drizzle-cube] Failed to capture thumbnail:", e), null;
|
|
1966
1972
|
}
|
|
1967
1973
|
}
|
|
1968
|
-
async function
|
|
1969
|
-
return !e?.enabled || typeof window > "u" ? !1 : await
|
|
1974
|
+
async function Yt(e) {
|
|
1975
|
+
return !e?.enabled || typeof window > "u" ? !1 : await z() !== null;
|
|
1970
1976
|
}
|
|
1971
|
-
async function
|
|
1972
|
-
return typeof window > "u" || !await
|
|
1977
|
+
async function Xt() {
|
|
1978
|
+
return typeof window > "u" || !await z() ? !1 : typeof ClipboardItem < "u" && typeof navigator?.clipboard?.write == "function";
|
|
1973
1979
|
}
|
|
1974
|
-
function
|
|
1980
|
+
function Zt(e) {
|
|
1975
1981
|
if (!e || e === "transparent" || e === "rgba(0, 0, 0, 0)") return !0;
|
|
1976
1982
|
let t = e.match(/rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*([\d.]+)\s*\)/);
|
|
1977
1983
|
return !!(t && parseFloat(t[1]) === 0);
|
|
1978
1984
|
}
|
|
1979
|
-
function
|
|
1985
|
+
function Qt(e) {
|
|
1980
1986
|
let t = e;
|
|
1981
1987
|
for (; t;) {
|
|
1982
1988
|
let e = getComputedStyle(t).backgroundColor;
|
|
1983
|
-
if (!
|
|
1989
|
+
if (!Zt(e)) return e;
|
|
1984
1990
|
t = t.parentElement;
|
|
1985
1991
|
}
|
|
1986
1992
|
return getComputedStyle(document.documentElement).getPropertyValue("--dc-surface").trim() || "#ffffff";
|
|
1987
1993
|
}
|
|
1988
|
-
async function
|
|
1994
|
+
async function $t(e) {
|
|
1989
1995
|
try {
|
|
1990
|
-
let t = await
|
|
1996
|
+
let t = await z();
|
|
1991
1997
|
if (!t) return console.warn("[drizzle-cube] Cannot copy portlet: modern-screenshot not available"), !1;
|
|
1992
|
-
let n =
|
|
1998
|
+
let n = Qt(e), r = await t.domToPng(e, {
|
|
1993
1999
|
scale: 2,
|
|
1994
2000
|
backgroundColor: n
|
|
1995
2001
|
}), i = await (await fetch(r)).blob();
|
|
@@ -2000,12 +2006,12 @@ async function Yt(e) {
|
|
|
2000
2006
|
}
|
|
2001
2007
|
//#endregion
|
|
2002
2008
|
//#region src/client/utils/exportXlsx.ts
|
|
2003
|
-
var
|
|
2009
|
+
var B = null, en = !1, tn = {
|
|
2004
2010
|
headerBg: "FF3B82F6",
|
|
2005
2011
|
headerText: "FFFFFFFF",
|
|
2006
2012
|
borderColor: "FFE5E7EB"
|
|
2007
2013
|
};
|
|
2008
|
-
function
|
|
2014
|
+
function nn(e) {
|
|
2009
2015
|
if (!e) return null;
|
|
2010
2016
|
let t = e.trim();
|
|
2011
2017
|
if (t.startsWith("#")) {
|
|
@@ -2019,19 +2025,19 @@ function $t(e) {
|
|
|
2019
2025
|
}
|
|
2020
2026
|
return null;
|
|
2021
2027
|
}
|
|
2022
|
-
function
|
|
2023
|
-
if (typeof document > "u") return
|
|
2028
|
+
function rn() {
|
|
2029
|
+
if (typeof document > "u") return tn;
|
|
2024
2030
|
let e = getComputedStyle(document.documentElement), t = e.getPropertyValue("--dc-primary").trim(), n = e.getPropertyValue("--dc-primary-content").trim(), r = e.getPropertyValue("--dc-border").trim();
|
|
2025
2031
|
return {
|
|
2026
|
-
headerBg:
|
|
2027
|
-
headerText:
|
|
2028
|
-
borderColor:
|
|
2032
|
+
headerBg: nn(t) ?? tn.headerBg,
|
|
2033
|
+
headerText: nn(n) ?? tn.headerText,
|
|
2034
|
+
borderColor: nn(r) ?? tn.borderColor
|
|
2029
2035
|
};
|
|
2030
2036
|
}
|
|
2031
|
-
function
|
|
2037
|
+
function an(e) {
|
|
2032
2038
|
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);
|
|
2033
2039
|
}
|
|
2034
|
-
function
|
|
2040
|
+
function on(e, t) {
|
|
2035
2041
|
e.height = 18, e.eachCell((e) => {
|
|
2036
2042
|
e.font = {
|
|
2037
2043
|
bold: !0,
|
|
@@ -2047,7 +2053,7 @@ function nn(e, t) {
|
|
|
2047
2053
|
};
|
|
2048
2054
|
});
|
|
2049
2055
|
}
|
|
2050
|
-
function
|
|
2056
|
+
function sn(e, t) {
|
|
2051
2057
|
e.eachRow((e) => {
|
|
2052
2058
|
e.eachCell((e) => {
|
|
2053
2059
|
e.border = {
|
|
@@ -2074,7 +2080,7 @@ function rn(e, t) {
|
|
|
2074
2080
|
});
|
|
2075
2081
|
});
|
|
2076
2082
|
}
|
|
2077
|
-
function
|
|
2083
|
+
function cn(e, t = []) {
|
|
2078
2084
|
e.columns?.forEach((e, n) => {
|
|
2079
2085
|
let r = t[n] ?? 10;
|
|
2080
2086
|
e.eachCell?.({ includeEmpty: !0 }, (e) => {
|
|
@@ -2083,15 +2089,15 @@ function an(e, t = []) {
|
|
|
2083
2089
|
}), e.width = Math.min(Math.max(r + 2, t[n] ?? 10), 70);
|
|
2084
2090
|
});
|
|
2085
2091
|
}
|
|
2086
|
-
function
|
|
2092
|
+
function ln(e, t, n, r) {
|
|
2087
2093
|
let i = e.addWorksheet(t);
|
|
2088
2094
|
if (n.length === 0) {
|
|
2089
|
-
i.addRow(["No data available"]),
|
|
2095
|
+
i.addRow(["No data available"]), cn(i, [32]);
|
|
2090
2096
|
return;
|
|
2091
2097
|
}
|
|
2092
2098
|
let a = Object.keys(n[0]);
|
|
2093
|
-
|
|
2094
|
-
for (let e of n) i.addRow(a.map((t) =>
|
|
2099
|
+
on(i.addRow(a), r);
|
|
2100
|
+
for (let e of n) i.addRow(a.map((t) => an(e[t])));
|
|
2095
2101
|
i.views = [{
|
|
2096
2102
|
state: "frozen",
|
|
2097
2103
|
ySplit: 1
|
|
@@ -2104,58 +2110,58 @@ function on(e, t, n, r) {
|
|
|
2104
2110
|
row: 1,
|
|
2105
2111
|
column: a.length
|
|
2106
2112
|
}
|
|
2107
|
-
},
|
|
2113
|
+
}, sn(i, r), cn(i);
|
|
2108
2114
|
}
|
|
2109
|
-
function
|
|
2115
|
+
function un(e) {
|
|
2110
2116
|
return e.replace(/[^a-zA-Z0-9]/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "").toLowerCase();
|
|
2111
2117
|
}
|
|
2112
|
-
function
|
|
2113
|
-
let n =
|
|
2118
|
+
function dn(e, t) {
|
|
2119
|
+
let n = un(e), r = /* @__PURE__ */ new Date();
|
|
2114
2120
|
return `${n}-${`${r.getFullYear()}${String(r.getMonth() + 1).padStart(2, "0")}${String(r.getDate()).padStart(2, "0")}`}-${crypto.randomUUID().slice(0, 4).toUpperCase()}.${t}`;
|
|
2115
2121
|
}
|
|
2116
|
-
async function
|
|
2117
|
-
if (
|
|
2122
|
+
async function fn() {
|
|
2123
|
+
if (en) return B;
|
|
2118
2124
|
try {
|
|
2119
|
-
return
|
|
2125
|
+
return B = await import("./exceljs.min-CcjgM-qg.js").then((t) => /* @__PURE__ */ e(t.default, 1)), en = !0, B;
|
|
2120
2126
|
} catch {
|
|
2121
|
-
return
|
|
2127
|
+
return en = !0, B = null, null;
|
|
2122
2128
|
}
|
|
2123
2129
|
}
|
|
2124
|
-
async function
|
|
2125
|
-
return typeof window > "u" ? !1 : await
|
|
2130
|
+
async function pn() {
|
|
2131
|
+
return typeof window > "u" ? !1 : await fn() !== null;
|
|
2126
2132
|
}
|
|
2127
|
-
function
|
|
2128
|
-
typeof window > "u" || e?.enabled && (window.__drizzle_cube_xls_export_warning__ ||
|
|
2133
|
+
function mn(e) {
|
|
2134
|
+
typeof window > "u" || e?.enabled && (window.__drizzle_cube_xls_export_warning__ || fn().then((e) => {
|
|
2129
2135
|
!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);
|
|
2130
2136
|
}));
|
|
2131
2137
|
}
|
|
2132
|
-
function
|
|
2138
|
+
function hn(e) {
|
|
2133
2139
|
return !!e && typeof e == "object" && "nodes" in e && "links" in e && Array.isArray(e.nodes) && Array.isArray(e.links);
|
|
2134
2140
|
}
|
|
2135
|
-
function
|
|
2141
|
+
function gn(e) {
|
|
2136
2142
|
return !!e && typeof e == "object" && "rows" in e && "periods" in e && Array.isArray(e.rows) && Array.isArray(e.periods);
|
|
2137
2143
|
}
|
|
2138
|
-
function
|
|
2144
|
+
function _n(e, t) {
|
|
2139
2145
|
let n = new Blob([e], { type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }), r = URL.createObjectURL(n), i = document.createElement("a");
|
|
2140
2146
|
i.href = r, i.download = t, document.body.appendChild(i), i.click(), document.body.removeChild(i), URL.revokeObjectURL(r);
|
|
2141
2147
|
}
|
|
2142
|
-
async function
|
|
2143
|
-
let n = await
|
|
2148
|
+
async function vn(e, t) {
|
|
2149
|
+
let n = await fn();
|
|
2144
2150
|
if (!n) return console.warn("[drizzle-cube] Cannot export: exceljs not available"), !1;
|
|
2145
2151
|
try {
|
|
2146
|
-
let r = new n.Workbook(), i =
|
|
2147
|
-
if (
|
|
2148
|
-
else if (
|
|
2149
|
-
else if (Array.isArray(a))
|
|
2152
|
+
let r = new n.Workbook(), i = rn(), { data: a } = t;
|
|
2153
|
+
if (hn(a)) ln(r, "Nodes", a.nodes, i), ln(r, "Links", a.links, i);
|
|
2154
|
+
else if (gn(a)) ln(r, e, a.rows, i);
|
|
2155
|
+
else if (Array.isArray(a)) ln(r, e, a, i);
|
|
2150
2156
|
else return console.warn("[drizzle-cube] Cannot export: unrecognized data format"), !1;
|
|
2151
|
-
return
|
|
2157
|
+
return _n(await r.xlsx.writeBuffer(), dn(e || "export", "xlsx")), !0;
|
|
2152
2158
|
} catch (e) {
|
|
2153
2159
|
return console.error("[drizzle-cube] Failed to export XLSX:", e), !1;
|
|
2154
2160
|
}
|
|
2155
2161
|
}
|
|
2156
2162
|
//#endregion
|
|
2157
2163
|
//#region src/client/providers/CubeFeaturesProvider.tsx
|
|
2158
|
-
var
|
|
2164
|
+
var yn = me(null), bn = {
|
|
2159
2165
|
enableAI: !0,
|
|
2160
2166
|
aiEndpoint: "/api/ai/generate",
|
|
2161
2167
|
showSchemaDiagram: !1,
|
|
@@ -2163,22 +2169,22 @@ var gn = de(null), _n = {
|
|
|
2163
2169
|
editToolbar: "both",
|
|
2164
2170
|
floatingToolbarPosition: "right"
|
|
2165
2171
|
};
|
|
2166
|
-
function
|
|
2167
|
-
let [r, i] =
|
|
2168
|
-
...
|
|
2172
|
+
function xn({ features: e, dashboardModes: t = ["rows", "grid"], children: n }) {
|
|
2173
|
+
let [r, i] = w(() => ({
|
|
2174
|
+
...bn,
|
|
2169
2175
|
...e
|
|
2170
2176
|
}));
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
}, [r.thumbnail]),
|
|
2174
|
-
|
|
2177
|
+
S(() => {
|
|
2178
|
+
qt(r.thumbnail);
|
|
2179
|
+
}, [r.thumbnail]), S(() => {
|
|
2180
|
+
mn(r.xlsExport);
|
|
2175
2181
|
}, [r.xlsExport]);
|
|
2176
|
-
let a =
|
|
2182
|
+
let a = ve((e) => {
|
|
2177
2183
|
i((t) => ({
|
|
2178
2184
|
...t,
|
|
2179
2185
|
...e
|
|
2180
2186
|
}));
|
|
2181
|
-
}, []), o =
|
|
2187
|
+
}, []), o = C(() => ({
|
|
2182
2188
|
features: r,
|
|
2183
2189
|
dashboardModes: t,
|
|
2184
2190
|
updateFeatures: a
|
|
@@ -2187,22 +2193,22 @@ function vn({ features: e, dashboardModes: t = ["rows", "grid"], children: n })
|
|
|
2187
2193
|
t,
|
|
2188
2194
|
a
|
|
2189
2195
|
]);
|
|
2190
|
-
return /* @__PURE__ */
|
|
2196
|
+
return /* @__PURE__ */ T(yn.Provider, {
|
|
2191
2197
|
value: o,
|
|
2192
2198
|
children: n
|
|
2193
2199
|
});
|
|
2194
2200
|
}
|
|
2195
|
-
var
|
|
2196
|
-
features:
|
|
2201
|
+
var Sn = {
|
|
2202
|
+
features: bn,
|
|
2197
2203
|
dashboardModes: ["rows", "grid"],
|
|
2198
2204
|
updateFeatures: () => {}
|
|
2199
2205
|
};
|
|
2200
|
-
function
|
|
2201
|
-
return
|
|
2206
|
+
function Cn() {
|
|
2207
|
+
return ye(yn) ?? Sn;
|
|
2202
2208
|
}
|
|
2203
2209
|
//#endregion
|
|
2204
2210
|
//#region node_modules/@iconify/react/dist/iconify.js
|
|
2205
|
-
function
|
|
2211
|
+
function wn(e, t) {
|
|
2206
2212
|
let n = e.icons, r = e.aliases || Object.create(null), i = Object.create(null);
|
|
2207
2213
|
function a(e) {
|
|
2208
2214
|
if (n[e]) return i[e] = [];
|
|
@@ -2215,82 +2221,82 @@ function xn(e, t) {
|
|
|
2215
2221
|
}
|
|
2216
2222
|
return Object.keys(n).concat(Object.keys(r)).forEach(a), i;
|
|
2217
2223
|
}
|
|
2218
|
-
var
|
|
2224
|
+
var Tn = Object.freeze({
|
|
2219
2225
|
left: 0,
|
|
2220
2226
|
top: 0,
|
|
2221
2227
|
width: 16,
|
|
2222
2228
|
height: 16
|
|
2223
|
-
}),
|
|
2229
|
+
}), En = Object.freeze({
|
|
2224
2230
|
rotate: 0,
|
|
2225
2231
|
vFlip: !1,
|
|
2226
2232
|
hFlip: !1
|
|
2227
|
-
}),
|
|
2228
|
-
...
|
|
2229
|
-
...
|
|
2230
|
-
}),
|
|
2231
|
-
...
|
|
2233
|
+
}), Dn = Object.freeze({
|
|
2234
|
+
...Tn,
|
|
2235
|
+
...En
|
|
2236
|
+
}), On = Object.freeze({
|
|
2237
|
+
...Dn,
|
|
2232
2238
|
body: "",
|
|
2233
2239
|
hidden: !1
|
|
2234
2240
|
});
|
|
2235
|
-
function
|
|
2241
|
+
function kn(e, t) {
|
|
2236
2242
|
let n = {};
|
|
2237
2243
|
!e.hFlip != !t.hFlip && (n.hFlip = !0), !e.vFlip != !t.vFlip && (n.vFlip = !0);
|
|
2238
2244
|
let r = ((e.rotate || 0) + (t.rotate || 0)) % 4;
|
|
2239
2245
|
return r && (n.rotate = r), n;
|
|
2240
2246
|
}
|
|
2241
|
-
function
|
|
2242
|
-
let n =
|
|
2243
|
-
for (let r in
|
|
2247
|
+
function An(e, t) {
|
|
2248
|
+
let n = kn(e, t);
|
|
2249
|
+
for (let r in On) r in En ? r in e && !(r in n) && (n[r] = En[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
|
|
2244
2250
|
return n;
|
|
2245
2251
|
}
|
|
2246
|
-
function
|
|
2252
|
+
function jn(e, t, n) {
|
|
2247
2253
|
let r = e.icons, i = e.aliases || Object.create(null), a = {};
|
|
2248
2254
|
function o(e) {
|
|
2249
|
-
a =
|
|
2255
|
+
a = An(r[e] || i[e], a);
|
|
2250
2256
|
}
|
|
2251
|
-
return o(t), n.forEach(o),
|
|
2257
|
+
return o(t), n.forEach(o), An(e, a);
|
|
2252
2258
|
}
|
|
2253
|
-
function
|
|
2259
|
+
function Mn(e, t) {
|
|
2254
2260
|
let n = [];
|
|
2255
2261
|
if (typeof e != "object" || typeof e.icons != "object") return n;
|
|
2256
2262
|
e.not_found instanceof Array && e.not_found.forEach((e) => {
|
|
2257
2263
|
t(e, null), n.push(e);
|
|
2258
2264
|
});
|
|
2259
|
-
let r =
|
|
2265
|
+
let r = wn(e);
|
|
2260
2266
|
for (let i in r) {
|
|
2261
2267
|
let a = r[i];
|
|
2262
|
-
a && (t(i,
|
|
2268
|
+
a && (t(i, jn(e, i, a)), n.push(i));
|
|
2263
2269
|
}
|
|
2264
2270
|
return n;
|
|
2265
2271
|
}
|
|
2266
|
-
var
|
|
2272
|
+
var Nn = {
|
|
2267
2273
|
provider: "",
|
|
2268
2274
|
aliases: {},
|
|
2269
2275
|
not_found: {},
|
|
2270
|
-
...
|
|
2276
|
+
...Tn
|
|
2271
2277
|
};
|
|
2272
|
-
function
|
|
2278
|
+
function Pn(e, t) {
|
|
2273
2279
|
for (let n in t) if (n in e && typeof e[n] != typeof t[n]) return !1;
|
|
2274
2280
|
return !0;
|
|
2275
2281
|
}
|
|
2276
|
-
function
|
|
2282
|
+
function Fn(e) {
|
|
2277
2283
|
if (typeof e != "object" || !e) return null;
|
|
2278
2284
|
let t = e;
|
|
2279
|
-
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !
|
|
2285
|
+
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !Pn(e, Nn)) return null;
|
|
2280
2286
|
let n = t.icons;
|
|
2281
2287
|
for (let e in n) {
|
|
2282
2288
|
let t = n[e];
|
|
2283
|
-
if (!e || typeof t.body != "string" || !
|
|
2289
|
+
if (!e || typeof t.body != "string" || !Pn(t, On)) return null;
|
|
2284
2290
|
}
|
|
2285
2291
|
let r = t.aliases || Object.create(null);
|
|
2286
2292
|
for (let e in r) {
|
|
2287
2293
|
let t = r[e], i = t.parent;
|
|
2288
|
-
if (!e || typeof i != "string" || !n[i] && !r[i] || !
|
|
2294
|
+
if (!e || typeof i != "string" || !n[i] && !r[i] || !Pn(t, On)) return null;
|
|
2289
2295
|
}
|
|
2290
2296
|
return t;
|
|
2291
2297
|
}
|
|
2292
|
-
var
|
|
2293
|
-
function
|
|
2298
|
+
var In = Object.create(null);
|
|
2299
|
+
function Ln(e, t) {
|
|
2294
2300
|
return {
|
|
2295
2301
|
provider: e,
|
|
2296
2302
|
prefix: t,
|
|
@@ -2299,21 +2305,21 @@ function Pn(e, t) {
|
|
|
2299
2305
|
};
|
|
2300
2306
|
}
|
|
2301
2307
|
function V(e, t) {
|
|
2302
|
-
let n =
|
|
2303
|
-
return n[t] || (n[t] =
|
|
2308
|
+
let n = In[e] || (In[e] = Object.create(null));
|
|
2309
|
+
return n[t] || (n[t] = Ln(e, t));
|
|
2304
2310
|
}
|
|
2305
|
-
function
|
|
2306
|
-
return
|
|
2311
|
+
function Rn(e, t) {
|
|
2312
|
+
return Fn(t) ? Mn(t, (t, n) => {
|
|
2307
2313
|
n ? e.icons[t] = n : e.missing.add(t);
|
|
2308
2314
|
}) : [];
|
|
2309
2315
|
}
|
|
2310
|
-
function
|
|
2316
|
+
function zn(e, t, n) {
|
|
2311
2317
|
try {
|
|
2312
2318
|
if (typeof n.body == "string") return e.icons[t] = { ...n }, !0;
|
|
2313
2319
|
} catch {}
|
|
2314
2320
|
return !1;
|
|
2315
2321
|
}
|
|
2316
|
-
var
|
|
2322
|
+
var Bn = /^[a-z0-9]+(-[a-z0-9]+)*$/, Vn = (e, t, n, r = "") => {
|
|
2317
2323
|
let i = e.split(":");
|
|
2318
2324
|
if (e.slice(0, 1) === "@") {
|
|
2319
2325
|
if (i.length < 2 || i.length > 3) return null;
|
|
@@ -2326,7 +2332,7 @@ var Ln = /^[a-z0-9]+(-[a-z0-9]+)*$/, Rn = (e, t, n, r = "") => {
|
|
|
2326
2332
|
prefix: n,
|
|
2327
2333
|
name: e
|
|
2328
2334
|
};
|
|
2329
|
-
return t && !
|
|
2335
|
+
return t && !Hn(a) ? null : a;
|
|
2330
2336
|
}
|
|
2331
2337
|
let a = i[0], o = a.split("-");
|
|
2332
2338
|
if (o.length > 1) {
|
|
@@ -2335,7 +2341,7 @@ var Ln = /^[a-z0-9]+(-[a-z0-9]+)*$/, Rn = (e, t, n, r = "") => {
|
|
|
2335
2341
|
prefix: o.shift(),
|
|
2336
2342
|
name: o.join("-")
|
|
2337
2343
|
};
|
|
2338
|
-
return t && !
|
|
2344
|
+
return t && !Hn(e) ? null : e;
|
|
2339
2345
|
}
|
|
2340
2346
|
if (n && r === "") {
|
|
2341
2347
|
let e = {
|
|
@@ -2343,54 +2349,54 @@ var Ln = /^[a-z0-9]+(-[a-z0-9]+)*$/, Rn = (e, t, n, r = "") => {
|
|
|
2343
2349
|
prefix: "",
|
|
2344
2350
|
name: a
|
|
2345
2351
|
};
|
|
2346
|
-
return t && !
|
|
2352
|
+
return t && !Hn(e, n) ? null : e;
|
|
2347
2353
|
}
|
|
2348
2354
|
return null;
|
|
2349
|
-
},
|
|
2350
|
-
function
|
|
2355
|
+
}, Hn = (e, t) => e ? !!((t && e.prefix === "" || e.prefix) && e.name) : !1, H = !1;
|
|
2356
|
+
function Un(e) {
|
|
2351
2357
|
return typeof e == "boolean" && (H = e), H;
|
|
2352
2358
|
}
|
|
2353
|
-
function
|
|
2354
|
-
let t = typeof e == "string" ?
|
|
2359
|
+
function Wn(e) {
|
|
2360
|
+
let t = typeof e == "string" ? Vn(e, !0, H) : e;
|
|
2355
2361
|
if (t) {
|
|
2356
2362
|
let e = V(t.provider, t.prefix), n = t.name;
|
|
2357
2363
|
return e.icons[n] || (e.missing.has(n) ? null : void 0);
|
|
2358
2364
|
}
|
|
2359
2365
|
}
|
|
2360
|
-
function
|
|
2361
|
-
let n =
|
|
2366
|
+
function Gn(e, t) {
|
|
2367
|
+
let n = Vn(e, !0, H);
|
|
2362
2368
|
if (!n) return !1;
|
|
2363
2369
|
let r = V(n.provider, n.prefix);
|
|
2364
|
-
return t ?
|
|
2370
|
+
return t ? zn(r, n.name, t) : (r.missing.add(n.name), !0);
|
|
2365
2371
|
}
|
|
2366
|
-
function
|
|
2372
|
+
function Kn(e, t) {
|
|
2367
2373
|
if (typeof e != "object") return !1;
|
|
2368
2374
|
if (typeof t != "string" && (t = e.provider || ""), H && !t && !e.prefix) {
|
|
2369
2375
|
let t = !1;
|
|
2370
|
-
return
|
|
2371
|
-
|
|
2376
|
+
return Fn(e) && (e.prefix = "", Mn(e, (e, n) => {
|
|
2377
|
+
Gn(e, n) && (t = !0);
|
|
2372
2378
|
})), t;
|
|
2373
2379
|
}
|
|
2374
2380
|
let n = e.prefix;
|
|
2375
|
-
return
|
|
2381
|
+
return Hn({
|
|
2376
2382
|
prefix: n,
|
|
2377
2383
|
name: "a"
|
|
2378
|
-
}) ? !!
|
|
2384
|
+
}) ? !!Rn(V(t, n), e) : !1;
|
|
2379
2385
|
}
|
|
2380
|
-
var
|
|
2386
|
+
var qn = Object.freeze({
|
|
2381
2387
|
width: null,
|
|
2382
2388
|
height: null
|
|
2383
|
-
}),
|
|
2384
|
-
...
|
|
2385
|
-
...
|
|
2386
|
-
}),
|
|
2387
|
-
function
|
|
2389
|
+
}), Jn = Object.freeze({
|
|
2390
|
+
...qn,
|
|
2391
|
+
...En
|
|
2392
|
+
}), Yn = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Xn = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
2393
|
+
function Zn(e, t, n) {
|
|
2388
2394
|
if (t === 1) return e;
|
|
2389
2395
|
if (n ||= 100, typeof e == "number") return Math.ceil(e * t * n) / n;
|
|
2390
2396
|
if (typeof e != "string") return e;
|
|
2391
|
-
let r = e.split(
|
|
2397
|
+
let r = e.split(Yn);
|
|
2392
2398
|
if (r === null || !r.length) return e;
|
|
2393
|
-
let i = [], a = r.shift(), o =
|
|
2399
|
+
let i = [], a = r.shift(), o = Xn.test(a);
|
|
2394
2400
|
for (;;) {
|
|
2395
2401
|
if (o) {
|
|
2396
2402
|
let e = parseFloat(a);
|
|
@@ -2400,7 +2406,7 @@ function Jn(e, t, n) {
|
|
|
2400
2406
|
o = !o;
|
|
2401
2407
|
}
|
|
2402
2408
|
}
|
|
2403
|
-
function
|
|
2409
|
+
function Qn(e, t = "defs") {
|
|
2404
2410
|
let n = "", r = e.indexOf("<" + t);
|
|
2405
2411
|
for (; r >= 0;) {
|
|
2406
2412
|
let i = e.indexOf(">", r), a = e.indexOf("</" + t);
|
|
@@ -2414,20 +2420,20 @@ function Yn(e, t = "defs") {
|
|
|
2414
2420
|
content: e
|
|
2415
2421
|
};
|
|
2416
2422
|
}
|
|
2417
|
-
function
|
|
2423
|
+
function $n(e, t) {
|
|
2418
2424
|
return e ? "<defs>" + e + "</defs>" + t : t;
|
|
2419
2425
|
}
|
|
2420
|
-
function
|
|
2421
|
-
let r =
|
|
2422
|
-
return
|
|
2426
|
+
function er(e, t, n) {
|
|
2427
|
+
let r = Qn(e);
|
|
2428
|
+
return $n(r.defs, t + r.content + n);
|
|
2423
2429
|
}
|
|
2424
|
-
var
|
|
2425
|
-
function
|
|
2430
|
+
var tr = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
2431
|
+
function nr(e, t) {
|
|
2426
2432
|
let n = {
|
|
2427
|
-
...
|
|
2433
|
+
...Dn,
|
|
2428
2434
|
...e
|
|
2429
2435
|
}, r = {
|
|
2430
|
-
...
|
|
2436
|
+
...Jn,
|
|
2431
2437
|
...t
|
|
2432
2438
|
}, i = {
|
|
2433
2439
|
left: n.left,
|
|
@@ -2450,12 +2456,12 @@ function $n(e, t) {
|
|
|
2450
2456
|
s = i.width / 2 + i.left, t.unshift("rotate(-90 " + s.toString() + " " + s.toString() + ")");
|
|
2451
2457
|
break;
|
|
2452
2458
|
}
|
|
2453
|
-
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 =
|
|
2459
|
+
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 = er(a, "<g transform=\"" + t.join(" ") + "\">", "</g>"));
|
|
2454
2460
|
});
|
|
2455
2461
|
let o = r.width, s = r.height, c = i.width, l = i.height, u, d;
|
|
2456
|
-
o === null ? (d = s === null ? "1em" : s === "auto" ? l : s, u =
|
|
2462
|
+
o === null ? (d = s === null ? "1em" : s === "auto" ? l : s, u = Zn(d, c / l)) : (u = o === "auto" ? c : o, d = s === null ? Zn(u, l / c) : s === "auto" ? l : s);
|
|
2457
2463
|
let f = {}, p = (e, t) => {
|
|
2458
|
-
|
|
2464
|
+
tr(t) || (f[e] = t.toString());
|
|
2459
2465
|
};
|
|
2460
2466
|
p("width", u), p("height", d);
|
|
2461
2467
|
let m = [
|
|
@@ -2470,25 +2476,25 @@ function $n(e, t) {
|
|
|
2470
2476
|
body: a
|
|
2471
2477
|
};
|
|
2472
2478
|
}
|
|
2473
|
-
var
|
|
2474
|
-
function
|
|
2479
|
+
var rr = /\sid="(\S+)"/g, ir = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16), ar = 0;
|
|
2480
|
+
function or(e, t = ir) {
|
|
2475
2481
|
let n = [], r;
|
|
2476
|
-
for (; r =
|
|
2482
|
+
for (; r = rr.exec(e);) n.push(r[1]);
|
|
2477
2483
|
if (!n.length) return e;
|
|
2478
2484
|
let i = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
2479
2485
|
return n.forEach((n) => {
|
|
2480
|
-
let r = typeof t == "function" ? t(n) : t + (
|
|
2486
|
+
let r = typeof t == "function" ? t(n) : t + (ar++).toString(), a = n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
2481
2487
|
e = e.replace(RegExp("([#;\"])(" + a + ")([\")]|\\.[a-z])", "g"), "$1" + r + i + "$3");
|
|
2482
2488
|
}), e = e.replace(new RegExp(i, "g"), ""), e;
|
|
2483
2489
|
}
|
|
2484
|
-
var
|
|
2485
|
-
function
|
|
2486
|
-
|
|
2490
|
+
var sr = Object.create(null);
|
|
2491
|
+
function cr(e, t) {
|
|
2492
|
+
sr[e] = t;
|
|
2487
2493
|
}
|
|
2488
|
-
function
|
|
2489
|
-
return
|
|
2494
|
+
function lr(e) {
|
|
2495
|
+
return sr[e] || sr[""];
|
|
2490
2496
|
}
|
|
2491
|
-
function
|
|
2497
|
+
function ur(e) {
|
|
2492
2498
|
let t;
|
|
2493
2499
|
if (typeof e.resources == "string") t = [e.resources];
|
|
2494
2500
|
else if (t = e.resources, !(t instanceof Array) || !t.length) return null;
|
|
@@ -2503,23 +2509,23 @@ function sr(e) {
|
|
|
2503
2509
|
dataAfterTimeout: e.dataAfterTimeout !== !1
|
|
2504
2510
|
};
|
|
2505
2511
|
}
|
|
2506
|
-
for (var
|
|
2507
|
-
|
|
2508
|
-
function
|
|
2509
|
-
let n =
|
|
2510
|
-
return n === null ? !1 : (
|
|
2512
|
+
for (var dr = Object.create(null), fr = ["https://api.simplesvg.com", "https://api.unisvg.com"], pr = []; fr.length > 0;) pr.push(fr.length === 1 || Math.random() > .5 ? fr.shift() : fr.pop());
|
|
2513
|
+
dr[""] = ur({ resources: ["https://api.iconify.design"].concat(pr) });
|
|
2514
|
+
function mr(e, t) {
|
|
2515
|
+
let n = ur(t);
|
|
2516
|
+
return n === null ? !1 : (dr[e] = n, !0);
|
|
2511
2517
|
}
|
|
2512
|
-
function
|
|
2513
|
-
return
|
|
2518
|
+
function hr(e) {
|
|
2519
|
+
return dr[e];
|
|
2514
2520
|
}
|
|
2515
|
-
var
|
|
2521
|
+
var gr = (() => {
|
|
2516
2522
|
let e;
|
|
2517
2523
|
try {
|
|
2518
2524
|
if (e = fetch, typeof e == "function") return e;
|
|
2519
2525
|
} catch {}
|
|
2520
2526
|
})();
|
|
2521
|
-
function
|
|
2522
|
-
let n =
|
|
2527
|
+
function _r(e, t) {
|
|
2528
|
+
let n = hr(e);
|
|
2523
2529
|
if (!n) return 0;
|
|
2524
2530
|
let r;
|
|
2525
2531
|
if (!n.maxURL) r = 0;
|
|
@@ -2533,11 +2539,11 @@ function mr(e, t) {
|
|
|
2533
2539
|
}
|
|
2534
2540
|
return r;
|
|
2535
2541
|
}
|
|
2536
|
-
function
|
|
2542
|
+
function vr(e) {
|
|
2537
2543
|
return e === 404;
|
|
2538
2544
|
}
|
|
2539
|
-
var
|
|
2540
|
-
let r = [], i =
|
|
2545
|
+
var yr = (e, t, n) => {
|
|
2546
|
+
let r = [], i = _r(e, t), a = "icons", o = {
|
|
2541
2547
|
type: a,
|
|
2542
2548
|
provider: e,
|
|
2543
2549
|
prefix: t,
|
|
@@ -2552,21 +2558,21 @@ var gr = (e, t, n) => {
|
|
|
2552
2558
|
}, s = n.length), o.icons.push(n);
|
|
2553
2559
|
}), r.push(o), r;
|
|
2554
2560
|
};
|
|
2555
|
-
function
|
|
2561
|
+
function br(e) {
|
|
2556
2562
|
if (typeof e == "string") {
|
|
2557
|
-
let t =
|
|
2563
|
+
let t = hr(e);
|
|
2558
2564
|
if (t) return t.path;
|
|
2559
2565
|
}
|
|
2560
2566
|
return "/";
|
|
2561
2567
|
}
|
|
2562
|
-
var
|
|
2563
|
-
prepare:
|
|
2568
|
+
var xr = {
|
|
2569
|
+
prepare: yr,
|
|
2564
2570
|
send: (e, t, n) => {
|
|
2565
|
-
if (!
|
|
2571
|
+
if (!gr) {
|
|
2566
2572
|
n("abort", 424);
|
|
2567
2573
|
return;
|
|
2568
2574
|
}
|
|
2569
|
-
let r =
|
|
2575
|
+
let r = br(t.provider);
|
|
2570
2576
|
switch (t.type) {
|
|
2571
2577
|
case "icons": {
|
|
2572
2578
|
let e = t.prefix, n = t.icons.join(","), i = new URLSearchParams({ icons: n });
|
|
@@ -2583,11 +2589,11 @@ var vr = {
|
|
|
2583
2589
|
return;
|
|
2584
2590
|
}
|
|
2585
2591
|
let i = 503;
|
|
2586
|
-
|
|
2592
|
+
gr(e + r).then((e) => {
|
|
2587
2593
|
let t = e.status;
|
|
2588
2594
|
if (t !== 200) {
|
|
2589
2595
|
setTimeout(() => {
|
|
2590
|
-
n(
|
|
2596
|
+
n(vr(t) ? "abort" : "next", t);
|
|
2591
2597
|
});
|
|
2592
2598
|
return;
|
|
2593
2599
|
}
|
|
@@ -2607,13 +2613,13 @@ var vr = {
|
|
|
2607
2613
|
});
|
|
2608
2614
|
}
|
|
2609
2615
|
};
|
|
2610
|
-
function
|
|
2616
|
+
function Sr(e, t) {
|
|
2611
2617
|
e.forEach((e) => {
|
|
2612
2618
|
let n = e.loaderCallbacks;
|
|
2613
2619
|
n && (e.loaderCallbacks = n.filter((e) => e.id !== t));
|
|
2614
2620
|
});
|
|
2615
2621
|
}
|
|
2616
|
-
function
|
|
2622
|
+
function Cr(e) {
|
|
2617
2623
|
e.pendingCallbacksFlag || (e.pendingCallbacksFlag = !0, setTimeout(() => {
|
|
2618
2624
|
e.pendingCallbacksFlag = !1;
|
|
2619
2625
|
let t = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
|
|
@@ -2636,13 +2642,13 @@ function br(e) {
|
|
|
2636
2642
|
});
|
|
2637
2643
|
else return n = !0, !0;
|
|
2638
2644
|
return !1;
|
|
2639
|
-
}), a.pending.length !== o && (n ||
|
|
2645
|
+
}), a.pending.length !== o && (n || Sr([e], t.id), t.callback(a.loaded.slice(0), a.missing.slice(0), a.pending.slice(0), t.abort));
|
|
2640
2646
|
});
|
|
2641
2647
|
}));
|
|
2642
2648
|
}
|
|
2643
|
-
var
|
|
2644
|
-
function
|
|
2645
|
-
let r =
|
|
2649
|
+
var wr = 0;
|
|
2650
|
+
function Tr(e, t, n) {
|
|
2651
|
+
let r = wr++, i = Sr.bind(null, n, r);
|
|
2646
2652
|
if (!t.pending.length) return i;
|
|
2647
2653
|
let a = {
|
|
2648
2654
|
id: r,
|
|
@@ -2654,7 +2660,7 @@ function Sr(e, t, n) {
|
|
|
2654
2660
|
(e.loaderCallbacks ||= []).push(a);
|
|
2655
2661
|
}), i;
|
|
2656
2662
|
}
|
|
2657
|
-
function
|
|
2663
|
+
function Er(e) {
|
|
2658
2664
|
let t = {
|
|
2659
2665
|
loaded: [],
|
|
2660
2666
|
missing: [],
|
|
@@ -2677,14 +2683,14 @@ function Cr(e) {
|
|
|
2677
2683
|
});
|
|
2678
2684
|
}), t;
|
|
2679
2685
|
}
|
|
2680
|
-
function
|
|
2686
|
+
function Dr(e, t = !0, n = !1) {
|
|
2681
2687
|
let r = [];
|
|
2682
2688
|
return e.forEach((e) => {
|
|
2683
|
-
let i = typeof e == "string" ?
|
|
2689
|
+
let i = typeof e == "string" ? Vn(e, t, n) : e;
|
|
2684
2690
|
i && r.push(i);
|
|
2685
2691
|
}), r;
|
|
2686
2692
|
}
|
|
2687
|
-
var
|
|
2693
|
+
var Or = {
|
|
2688
2694
|
resources: [],
|
|
2689
2695
|
index: 0,
|
|
2690
2696
|
timeout: 2e3,
|
|
@@ -2692,7 +2698,7 @@ var Tr = {
|
|
|
2692
2698
|
random: !1,
|
|
2693
2699
|
dataAfterTimeout: !1
|
|
2694
2700
|
};
|
|
2695
|
-
function
|
|
2701
|
+
function kr(e, t, n, r) {
|
|
2696
2702
|
let i = e.random ? Math.floor(Math.random() * e.resources.length) : e.index, a;
|
|
2697
2703
|
if (e.random) {
|
|
2698
2704
|
let t = e.resources.slice(0);
|
|
@@ -2786,16 +2792,16 @@ function Er(e, t, n, r) {
|
|
|
2786
2792
|
}
|
|
2787
2793
|
return setTimeout(y), g;
|
|
2788
2794
|
}
|
|
2789
|
-
function
|
|
2795
|
+
function Ar(e) {
|
|
2790
2796
|
let t = {
|
|
2791
|
-
...
|
|
2797
|
+
...Or,
|
|
2792
2798
|
...e
|
|
2793
2799
|
}, n = [];
|
|
2794
2800
|
function r() {
|
|
2795
2801
|
n = n.filter((e) => e().status === "pending");
|
|
2796
2802
|
}
|
|
2797
2803
|
function i(e, i, a) {
|
|
2798
|
-
let o =
|
|
2804
|
+
let o = kr(t, e, i, (e, t) => {
|
|
2799
2805
|
r(), a && a(e, t);
|
|
2800
2806
|
});
|
|
2801
2807
|
return n.push(o), o;
|
|
@@ -2813,47 +2819,47 @@ function Dr(e) {
|
|
|
2813
2819
|
cleanup: r
|
|
2814
2820
|
};
|
|
2815
2821
|
}
|
|
2816
|
-
function
|
|
2817
|
-
var
|
|
2818
|
-
function
|
|
2819
|
-
if (!
|
|
2820
|
-
let t =
|
|
2822
|
+
function jr() {}
|
|
2823
|
+
var Mr = Object.create(null);
|
|
2824
|
+
function Nr(e) {
|
|
2825
|
+
if (!Mr[e]) {
|
|
2826
|
+
let t = hr(e);
|
|
2821
2827
|
if (!t) return;
|
|
2822
|
-
|
|
2828
|
+
Mr[e] = {
|
|
2823
2829
|
config: t,
|
|
2824
|
-
redundancy:
|
|
2830
|
+
redundancy: Ar(t)
|
|
2825
2831
|
};
|
|
2826
2832
|
}
|
|
2827
|
-
return
|
|
2833
|
+
return Mr[e];
|
|
2828
2834
|
}
|
|
2829
|
-
function
|
|
2835
|
+
function Pr(e, t, n) {
|
|
2830
2836
|
let r, i;
|
|
2831
2837
|
if (typeof e == "string") {
|
|
2832
|
-
let t =
|
|
2833
|
-
if (!t) return n(void 0, 424),
|
|
2838
|
+
let t = lr(e);
|
|
2839
|
+
if (!t) return n(void 0, 424), jr;
|
|
2834
2840
|
i = t.send;
|
|
2835
|
-
let a =
|
|
2841
|
+
let a = Nr(e);
|
|
2836
2842
|
a && (r = a.redundancy);
|
|
2837
2843
|
} else {
|
|
2838
|
-
let t =
|
|
2844
|
+
let t = ur(e);
|
|
2839
2845
|
if (t) {
|
|
2840
|
-
r =
|
|
2841
|
-
let n =
|
|
2846
|
+
r = Ar(t);
|
|
2847
|
+
let n = lr(e.resources ? e.resources[0] : "");
|
|
2842
2848
|
n && (i = n.send);
|
|
2843
2849
|
}
|
|
2844
2850
|
}
|
|
2845
|
-
return !r || !i ? (n(void 0, 424),
|
|
2851
|
+
return !r || !i ? (n(void 0, 424), jr) : r.query(t, i, n)().abort;
|
|
2846
2852
|
}
|
|
2847
|
-
function
|
|
2848
|
-
function
|
|
2853
|
+
function Fr() {}
|
|
2854
|
+
function Ir(e) {
|
|
2849
2855
|
e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
|
|
2850
|
-
e.iconsLoaderFlag = !1,
|
|
2856
|
+
e.iconsLoaderFlag = !1, Cr(e);
|
|
2851
2857
|
}));
|
|
2852
2858
|
}
|
|
2853
|
-
function
|
|
2859
|
+
function Lr(e) {
|
|
2854
2860
|
let t = [], n = [];
|
|
2855
2861
|
return e.forEach((e) => {
|
|
2856
|
-
(e.match(
|
|
2862
|
+
(e.match(Bn) ? t : n).push(e);
|
|
2857
2863
|
}), {
|
|
2858
2864
|
valid: t,
|
|
2859
2865
|
invalid: n
|
|
@@ -2867,37 +2873,37 @@ function U(e, t, n) {
|
|
|
2867
2873
|
});
|
|
2868
2874
|
}
|
|
2869
2875
|
if (n && typeof n == "object") try {
|
|
2870
|
-
if (!
|
|
2876
|
+
if (!Rn(e, n).length) {
|
|
2871
2877
|
r();
|
|
2872
2878
|
return;
|
|
2873
2879
|
}
|
|
2874
2880
|
} catch (e) {
|
|
2875
2881
|
console.error(e);
|
|
2876
2882
|
}
|
|
2877
|
-
r(),
|
|
2883
|
+
r(), Ir(e);
|
|
2878
2884
|
}
|
|
2879
|
-
function
|
|
2885
|
+
function Rr(e, t) {
|
|
2880
2886
|
e instanceof Promise ? e.then((e) => {
|
|
2881
2887
|
t(e);
|
|
2882
2888
|
}).catch(() => {
|
|
2883
2889
|
t(null);
|
|
2884
2890
|
}) : t(e);
|
|
2885
2891
|
}
|
|
2886
|
-
function
|
|
2892
|
+
function zr(e, t) {
|
|
2887
2893
|
e.iconsToLoad ? e.iconsToLoad = e.iconsToLoad.concat(t).sort() : e.iconsToLoad = t, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
|
|
2888
2894
|
e.iconsQueueFlag = !1;
|
|
2889
2895
|
let { provider: t, prefix: n } = e, r = e.iconsToLoad;
|
|
2890
2896
|
if (delete e.iconsToLoad, !r || !r.length) return;
|
|
2891
2897
|
let i = e.loadIcon;
|
|
2892
2898
|
if (e.loadIcons && (r.length > 1 || !i)) {
|
|
2893
|
-
|
|
2899
|
+
Rr(e.loadIcons(r, n, t), (t) => {
|
|
2894
2900
|
U(e, r, t);
|
|
2895
2901
|
});
|
|
2896
2902
|
return;
|
|
2897
2903
|
}
|
|
2898
2904
|
if (i) {
|
|
2899
2905
|
r.forEach((r) => {
|
|
2900
|
-
|
|
2906
|
+
Rr(i(r, n, t), (t) => {
|
|
2901
2907
|
U(e, [r], t ? {
|
|
2902
2908
|
prefix: n,
|
|
2903
2909
|
icons: { [r]: t }
|
|
@@ -2906,26 +2912,26 @@ function Ir(e, t) {
|
|
|
2906
2912
|
});
|
|
2907
2913
|
return;
|
|
2908
2914
|
}
|
|
2909
|
-
let { valid: a, invalid: o } =
|
|
2915
|
+
let { valid: a, invalid: o } = Lr(r);
|
|
2910
2916
|
if (o.length && U(e, o, null), !a.length) return;
|
|
2911
|
-
let s = n.match(
|
|
2917
|
+
let s = n.match(Bn) ? lr(t) : null;
|
|
2912
2918
|
if (!s) {
|
|
2913
2919
|
U(e, a, null);
|
|
2914
2920
|
return;
|
|
2915
2921
|
}
|
|
2916
2922
|
s.prepare(t, n, a).forEach((n) => {
|
|
2917
|
-
|
|
2923
|
+
Pr(t, n, (t) => {
|
|
2918
2924
|
U(e, n.icons, t);
|
|
2919
2925
|
});
|
|
2920
2926
|
});
|
|
2921
2927
|
}));
|
|
2922
2928
|
}
|
|
2923
|
-
var
|
|
2924
|
-
let n =
|
|
2929
|
+
var Br = (e, t) => {
|
|
2930
|
+
let n = Er(Dr(e, !0, Un()));
|
|
2925
2931
|
if (!n.pending.length) {
|
|
2926
2932
|
let e = !0;
|
|
2927
2933
|
return t && setTimeout(() => {
|
|
2928
|
-
e && t(n.loaded, n.missing, n.pending,
|
|
2934
|
+
e && t(n.loaded, n.missing, n.pending, Fr);
|
|
2929
2935
|
}), () => {
|
|
2930
2936
|
e = !1;
|
|
2931
2937
|
};
|
|
@@ -2942,20 +2948,20 @@ var Lr = (e, t) => {
|
|
|
2942
2948
|
o.has(i) || (o.add(i), r[t][n].push(i));
|
|
2943
2949
|
}), i.forEach((e) => {
|
|
2944
2950
|
let t = r[e.provider][e.prefix];
|
|
2945
|
-
t.length &&
|
|
2946
|
-
}), t ?
|
|
2951
|
+
t.length && zr(e, t);
|
|
2952
|
+
}), t ? Tr(t, n, i) : Fr;
|
|
2947
2953
|
};
|
|
2948
|
-
function
|
|
2954
|
+
function Vr(e, t) {
|
|
2949
2955
|
let n = { ...e };
|
|
2950
2956
|
for (let e in t) {
|
|
2951
2957
|
let r = t[e], i = typeof r;
|
|
2952
|
-
e in
|
|
2958
|
+
e in qn ? (r === null || r && (i === "string" || i === "number")) && (n[e] = r) : i === typeof n[e] && (n[e] = e === "rotate" ? r % 4 : r);
|
|
2953
2959
|
}
|
|
2954
2960
|
return n;
|
|
2955
2961
|
}
|
|
2956
|
-
var
|
|
2957
|
-
function
|
|
2958
|
-
t.split(
|
|
2962
|
+
var Hr = /[\s,]+/;
|
|
2963
|
+
function Ur(e, t) {
|
|
2964
|
+
t.split(Hr).forEach((t) => {
|
|
2959
2965
|
switch (t.trim()) {
|
|
2960
2966
|
case "horizontal":
|
|
2961
2967
|
e.hFlip = !0;
|
|
@@ -2966,7 +2972,7 @@ function Br(e, t) {
|
|
|
2966
2972
|
}
|
|
2967
2973
|
});
|
|
2968
2974
|
}
|
|
2969
|
-
function
|
|
2975
|
+
function Wr(e, t = 0) {
|
|
2970
2976
|
let n = e.replace(/^-?[0-9.]*/, "");
|
|
2971
2977
|
function r(e) {
|
|
2972
2978
|
for (; e < 0;) e += 4;
|
|
@@ -2990,63 +2996,63 @@ function Vr(e, t = 0) {
|
|
|
2990
2996
|
}
|
|
2991
2997
|
return t;
|
|
2992
2998
|
}
|
|
2993
|
-
function
|
|
2999
|
+
function Gr(e, t) {
|
|
2994
3000
|
let n = e.indexOf("xlink:") === -1 ? "" : " xmlns:xlink=\"http://www.w3.org/1999/xlink\"";
|
|
2995
3001
|
for (let e in t) n += " " + e + "=\"" + t[e] + "\"";
|
|
2996
3002
|
return "<svg xmlns=\"http://www.w3.org/2000/svg\"" + n + ">" + e + "</svg>";
|
|
2997
3003
|
}
|
|
2998
|
-
function
|
|
3004
|
+
function Kr(e) {
|
|
2999
3005
|
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
3000
3006
|
}
|
|
3001
|
-
function
|
|
3002
|
-
return "data:image/svg+xml," +
|
|
3007
|
+
function qr(e) {
|
|
3008
|
+
return "data:image/svg+xml," + Kr(e);
|
|
3003
3009
|
}
|
|
3004
|
-
function
|
|
3005
|
-
return "url(\"" +
|
|
3010
|
+
function Jr(e) {
|
|
3011
|
+
return "url(\"" + qr(e) + "\")";
|
|
3006
3012
|
}
|
|
3007
3013
|
var W;
|
|
3008
|
-
function
|
|
3014
|
+
function Yr() {
|
|
3009
3015
|
try {
|
|
3010
3016
|
W = window.trustedTypes.createPolicy("iconify", { createHTML: (e) => e });
|
|
3011
3017
|
} catch {
|
|
3012
3018
|
W = null;
|
|
3013
3019
|
}
|
|
3014
3020
|
}
|
|
3015
|
-
function
|
|
3016
|
-
return W === void 0 &&
|
|
3021
|
+
function Xr(e) {
|
|
3022
|
+
return W === void 0 && Yr(), W ? W.createHTML(e) : e;
|
|
3017
3023
|
}
|
|
3018
|
-
var
|
|
3019
|
-
...
|
|
3024
|
+
var Zr = {
|
|
3025
|
+
...Jn,
|
|
3020
3026
|
inline: !1
|
|
3021
|
-
},
|
|
3027
|
+
}, Qr = {
|
|
3022
3028
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3023
3029
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
3024
3030
|
"aria-hidden": !0,
|
|
3025
3031
|
role: "img"
|
|
3026
|
-
},
|
|
3032
|
+
}, $r = { display: "inline-block" }, ei = { backgroundColor: "currentColor" }, ti = { backgroundColor: "transparent" }, ni = {
|
|
3027
3033
|
Image: "var(--svg)",
|
|
3028
3034
|
Repeat: "no-repeat",
|
|
3029
3035
|
Size: "100% 100%"
|
|
3030
|
-
},
|
|
3031
|
-
WebkitMask:
|
|
3032
|
-
mask:
|
|
3033
|
-
background:
|
|
3036
|
+
}, ri = {
|
|
3037
|
+
WebkitMask: ei,
|
|
3038
|
+
mask: ei,
|
|
3039
|
+
background: ti
|
|
3034
3040
|
};
|
|
3035
|
-
for (let e in
|
|
3036
|
-
let t =
|
|
3037
|
-
for (let n in
|
|
3041
|
+
for (let e in ri) {
|
|
3042
|
+
let t = ri[e];
|
|
3043
|
+
for (let n in ni) t[e + n] = ni[n];
|
|
3038
3044
|
}
|
|
3039
|
-
var
|
|
3040
|
-
...
|
|
3045
|
+
var ii = {
|
|
3046
|
+
...Zr,
|
|
3041
3047
|
inline: !0
|
|
3042
3048
|
};
|
|
3043
|
-
function
|
|
3049
|
+
function ai(e) {
|
|
3044
3050
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
3045
3051
|
}
|
|
3046
|
-
var
|
|
3047
|
-
let r = t.inline ?
|
|
3052
|
+
var oi = (e, t, n) => {
|
|
3053
|
+
let r = t.inline ? ii : Zr, i = Vr(r, t), a = t.mode || "svg", o = {}, s = t.style || {}, c = { ...a === "svg" ? Qr : {} };
|
|
3048
3054
|
if (n) {
|
|
3049
|
-
let e =
|
|
3055
|
+
let e = Vn(n, !1, !0);
|
|
3050
3056
|
if (e) {
|
|
3051
3057
|
let t = ["iconify"];
|
|
3052
3058
|
for (let n of ["provider", "prefix"]) e[n] && t.push("iconify--" + e[n]);
|
|
@@ -3075,13 +3081,13 @@ var ri = (e, t, n) => {
|
|
|
3075
3081
|
i[e] = n === !0 || n === "true" || n === 1;
|
|
3076
3082
|
break;
|
|
3077
3083
|
case "flip":
|
|
3078
|
-
typeof n == "string" &&
|
|
3084
|
+
typeof n == "string" && Ur(i, n);
|
|
3079
3085
|
break;
|
|
3080
3086
|
case "color":
|
|
3081
3087
|
o.color = n;
|
|
3082
3088
|
break;
|
|
3083
3089
|
case "rotate":
|
|
3084
|
-
typeof n == "string" ? i[e] =
|
|
3090
|
+
typeof n == "string" ? i[e] = Wr(n) : typeof n == "number" && (i[e] = n);
|
|
3085
3091
|
break;
|
|
3086
3092
|
case "ariaHidden":
|
|
3087
3093
|
case "aria-hidden":
|
|
@@ -3090,37 +3096,37 @@ var ri = (e, t, n) => {
|
|
|
3090
3096
|
default: r[e] === void 0 && (c[e] = n);
|
|
3091
3097
|
}
|
|
3092
3098
|
}
|
|
3093
|
-
let l =
|
|
3099
|
+
let l = nr(e, i), u = l.attributes;
|
|
3094
3100
|
if (i.inline && (o.verticalAlign = "-0.125em"), a === "svg") {
|
|
3095
3101
|
c.style = {
|
|
3096
3102
|
...o,
|
|
3097
3103
|
...s
|
|
3098
3104
|
}, Object.assign(c, u);
|
|
3099
3105
|
let e = 0, n = t.id;
|
|
3100
|
-
return typeof n == "string" && (n = n.replace(/-/g, "_")), c.dangerouslySetInnerHTML = { __html:
|
|
3106
|
+
return typeof n == "string" && (n = n.replace(/-/g, "_")), c.dangerouslySetInnerHTML = { __html: Xr(or(l.body, n ? () => n + "ID" + e++ : "iconifyReact")) }, he("svg", c);
|
|
3101
3107
|
}
|
|
3102
|
-
let { body: d, width: f, height: p } = e, m = a === "mask" || (a === "bg" ? !1 : d.indexOf("currentColor") !== -1), h =
|
|
3108
|
+
let { body: d, width: f, height: p } = e, m = a === "mask" || (a === "bg" ? !1 : d.indexOf("currentColor") !== -1), h = Gr(d, {
|
|
3103
3109
|
...u,
|
|
3104
3110
|
width: f + "",
|
|
3105
3111
|
height: p + ""
|
|
3106
3112
|
});
|
|
3107
3113
|
return c.style = {
|
|
3108
3114
|
...o,
|
|
3109
|
-
"--svg":
|
|
3110
|
-
width:
|
|
3111
|
-
height:
|
|
3112
|
-
|
|
3113
|
-
...m ?
|
|
3115
|
+
"--svg": Jr(h),
|
|
3116
|
+
width: ai(u.width),
|
|
3117
|
+
height: ai(u.height),
|
|
3118
|
+
...$r,
|
|
3119
|
+
...m ? ei : ti,
|
|
3114
3120
|
...s
|
|
3115
|
-
},
|
|
3121
|
+
}, he("span", c);
|
|
3116
3122
|
};
|
|
3117
|
-
if (
|
|
3123
|
+
if (Un(!0), cr("", xr), typeof document < "u" && typeof window < "u") {
|
|
3118
3124
|
let e = window;
|
|
3119
3125
|
if (e.IconifyPreload !== void 0) {
|
|
3120
3126
|
let t = e.IconifyPreload, n = "Invalid IconifyPreload syntax.";
|
|
3121
3127
|
typeof t == "object" && t && (t instanceof Array ? t : [t]).forEach((e) => {
|
|
3122
3128
|
try {
|
|
3123
|
-
(typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !
|
|
3129
|
+
(typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !Kn(e)) && console.error(n);
|
|
3124
3130
|
} catch {
|
|
3125
3131
|
console.error(n);
|
|
3126
3132
|
}
|
|
@@ -3133,15 +3139,15 @@ if (Bn(!0), ar("", vr), typeof document < "u" && typeof window < "u") {
|
|
|
3133
3139
|
try {
|
|
3134
3140
|
let r = t[e];
|
|
3135
3141
|
if (typeof r != "object" || !r || r.resources === void 0) continue;
|
|
3136
|
-
|
|
3142
|
+
mr(e, r) || console.error(n);
|
|
3137
3143
|
} catch {
|
|
3138
3144
|
console.error(n);
|
|
3139
3145
|
}
|
|
3140
3146
|
}
|
|
3141
3147
|
}
|
|
3142
3148
|
}
|
|
3143
|
-
function
|
|
3144
|
-
let [t, n] =
|
|
3149
|
+
function si(e) {
|
|
3150
|
+
let [t, n] = w(!!e.ssr), [r, i] = w({});
|
|
3145
3151
|
function a(t) {
|
|
3146
3152
|
if (t) {
|
|
3147
3153
|
let t = e.icon;
|
|
@@ -3149,7 +3155,7 @@ function ii(e) {
|
|
|
3149
3155
|
name: "",
|
|
3150
3156
|
data: t
|
|
3151
3157
|
};
|
|
3152
|
-
let n =
|
|
3158
|
+
let n = Wn(t);
|
|
3153
3159
|
if (n) return {
|
|
3154
3160
|
name: t,
|
|
3155
3161
|
data: n
|
|
@@ -3157,7 +3163,7 @@ function ii(e) {
|
|
|
3157
3163
|
}
|
|
3158
3164
|
return { name: "" };
|
|
3159
3165
|
}
|
|
3160
|
-
let [o, s] =
|
|
3166
|
+
let [o, s] = w(a(!!e.ssr));
|
|
3161
3167
|
function c() {
|
|
3162
3168
|
let e = r.callback;
|
|
3163
3169
|
e && (e(), i({}));
|
|
@@ -3175,478 +3181,478 @@ function ii(e) {
|
|
|
3175
3181
|
});
|
|
3176
3182
|
return;
|
|
3177
3183
|
}
|
|
3178
|
-
let r =
|
|
3184
|
+
let r = Wn(n);
|
|
3179
3185
|
l({
|
|
3180
3186
|
name: n,
|
|
3181
3187
|
data: r
|
|
3182
|
-
}) && (r === void 0 ? i({ callback:
|
|
3188
|
+
}) && (r === void 0 ? i({ callback: Br([n], u) }) : r && ((t = e.onLoad) == null || t.call(e, n)));
|
|
3183
3189
|
}
|
|
3184
|
-
|
|
3190
|
+
S(() => (n(!0), c), []), S(() => {
|
|
3185
3191
|
t && u();
|
|
3186
3192
|
}, [e.icon, t]);
|
|
3187
3193
|
let { name: d, data: f } = o;
|
|
3188
|
-
return f ?
|
|
3189
|
-
...
|
|
3194
|
+
return f ? oi({
|
|
3195
|
+
...Dn,
|
|
3190
3196
|
...f
|
|
3191
|
-
}, e, d) : e.children ? e.children : e.fallback ? e.fallback :
|
|
3197
|
+
}, e, d) : e.children ? e.children : e.fallback ? e.fallback : he("span", {});
|
|
3192
3198
|
}
|
|
3193
|
-
var
|
|
3199
|
+
var ci = ge((e, t) => si({
|
|
3194
3200
|
...e,
|
|
3195
3201
|
_ref: t
|
|
3196
3202
|
}));
|
|
3197
|
-
|
|
3203
|
+
ge((e, t) => si({
|
|
3198
3204
|
inline: !0,
|
|
3199
3205
|
...e,
|
|
3200
3206
|
_ref: t
|
|
3201
3207
|
}));
|
|
3202
3208
|
//#endregion
|
|
3203
3209
|
//#region node_modules/@iconify-icons/heroicons-outline/x-mark.js
|
|
3204
|
-
var
|
|
3210
|
+
var li = {
|
|
3205
3211
|
width: 24,
|
|
3206
3212
|
height: 24,
|
|
3207
3213
|
hidden: !0,
|
|
3208
3214
|
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\"/>"
|
|
3209
|
-
},
|
|
3215
|
+
}, ui = {
|
|
3210
3216
|
width: 24,
|
|
3211
3217
|
height: 24,
|
|
3212
3218
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 4v16m8-8H4\"/>"
|
|
3213
|
-
},
|
|
3219
|
+
}, di = {
|
|
3214
3220
|
width: 24,
|
|
3215
3221
|
height: 24,
|
|
3216
3222
|
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\"/>"
|
|
3217
|
-
},
|
|
3223
|
+
}, fi = {
|
|
3218
3224
|
width: 24,
|
|
3219
3225
|
height: 24,
|
|
3220
3226
|
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\"/>"
|
|
3221
|
-
},
|
|
3227
|
+
}, pi = {
|
|
3222
3228
|
width: 24,
|
|
3223
3229
|
height: 24,
|
|
3224
3230
|
hidden: !0,
|
|
3225
3231
|
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\"/>"
|
|
3226
|
-
},
|
|
3232
|
+
}, mi = {
|
|
3227
3233
|
width: 24,
|
|
3228
3234
|
height: 24,
|
|
3229
3235
|
hidden: !0,
|
|
3230
3236
|
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\"/>"
|
|
3231
|
-
},
|
|
3237
|
+
}, hi = {
|
|
3232
3238
|
width: 24,
|
|
3233
3239
|
height: 24,
|
|
3234
3240
|
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\"/>"
|
|
3235
|
-
},
|
|
3241
|
+
}, gi = {
|
|
3236
3242
|
width: 24,
|
|
3237
3243
|
height: 24,
|
|
3238
3244
|
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>"
|
|
3239
|
-
},
|
|
3245
|
+
}, _i = {
|
|
3240
3246
|
width: 24,
|
|
3241
3247
|
height: 24,
|
|
3242
3248
|
hidden: !0,
|
|
3243
3249
|
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\"/>"
|
|
3244
|
-
},
|
|
3250
|
+
}, vi = {
|
|
3245
3251
|
width: 24,
|
|
3246
3252
|
height: 24,
|
|
3247
3253
|
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\"/>"
|
|
3248
|
-
},
|
|
3254
|
+
}, yi = {
|
|
3249
3255
|
width: 24,
|
|
3250
3256
|
height: 24,
|
|
3251
3257
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15l7-7l7 7\"/>"
|
|
3252
|
-
},
|
|
3258
|
+
}, bi = {
|
|
3253
3259
|
width: 24,
|
|
3254
3260
|
height: 24,
|
|
3255
3261
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9l-7 7l-7-7\"/>"
|
|
3256
|
-
},
|
|
3262
|
+
}, xi = {
|
|
3257
3263
|
width: 24,
|
|
3258
3264
|
height: 24,
|
|
3259
3265
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19l-7-7l7-7\"/>"
|
|
3260
|
-
},
|
|
3266
|
+
}, Si = {
|
|
3261
3267
|
width: 24,
|
|
3262
3268
|
height: 24,
|
|
3263
3269
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5l7 7l-7 7\"/>"
|
|
3264
|
-
},
|
|
3270
|
+
}, Ci = {
|
|
3265
3271
|
width: 24,
|
|
3266
3272
|
height: 24,
|
|
3267
3273
|
hidden: !0,
|
|
3268
3274
|
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\"/>"
|
|
3269
|
-
},
|
|
3275
|
+
}, wi = {
|
|
3270
3276
|
width: 24,
|
|
3271
3277
|
height: 24,
|
|
3272
3278
|
hidden: !0,
|
|
3273
3279
|
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\"/>"
|
|
3274
|
-
},
|
|
3280
|
+
}, Ti = {
|
|
3275
3281
|
width: 24,
|
|
3276
3282
|
height: 24,
|
|
3277
3283
|
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\"/>"
|
|
3278
|
-
},
|
|
3284
|
+
}, Ei = {
|
|
3279
3285
|
width: 24,
|
|
3280
3286
|
height: 24,
|
|
3281
3287
|
hidden: !0,
|
|
3282
3288
|
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\"/>"
|
|
3283
|
-
},
|
|
3289
|
+
}, Di = {
|
|
3284
3290
|
width: 24,
|
|
3285
3291
|
height: 24,
|
|
3286
3292
|
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\"/>"
|
|
3287
|
-
},
|
|
3293
|
+
}, Oi = {
|
|
3288
3294
|
width: 24,
|
|
3289
3295
|
height: 24,
|
|
3290
3296
|
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\"/>"
|
|
3291
|
-
},
|
|
3297
|
+
}, ki = {
|
|
3292
3298
|
width: 24,
|
|
3293
3299
|
height: 24,
|
|
3294
3300
|
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>"
|
|
3295
|
-
},
|
|
3301
|
+
}, Ai = {
|
|
3296
3302
|
width: 24,
|
|
3297
3303
|
height: 24,
|
|
3298
3304
|
hidden: !0,
|
|
3299
3305
|
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\"/>"
|
|
3300
|
-
},
|
|
3306
|
+
}, ji = {
|
|
3301
3307
|
width: 24,
|
|
3302
3308
|
height: 24,
|
|
3303
3309
|
hidden: !0,
|
|
3304
3310
|
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\"/>"
|
|
3305
|
-
},
|
|
3311
|
+
}, Mi = {
|
|
3306
3312
|
width: 24,
|
|
3307
3313
|
height: 24,
|
|
3308
3314
|
hidden: !0,
|
|
3309
3315
|
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\"/>"
|
|
3310
|
-
},
|
|
3316
|
+
}, Ni = {
|
|
3311
3317
|
width: 24,
|
|
3312
3318
|
height: 24,
|
|
3313
3319
|
hidden: !0,
|
|
3314
3320
|
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\"/>"
|
|
3315
|
-
},
|
|
3321
|
+
}, Pi = {
|
|
3316
3322
|
width: 24,
|
|
3317
3323
|
height: 24,
|
|
3318
3324
|
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\"/>"
|
|
3319
|
-
},
|
|
3325
|
+
}, Fi = {
|
|
3320
3326
|
width: 24,
|
|
3321
3327
|
height: 24,
|
|
3322
3328
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m14 5l7 7m0 0l-7 7m7-7H3\"/>"
|
|
3323
|
-
},
|
|
3329
|
+
}, Ii = {
|
|
3324
3330
|
width: 24,
|
|
3325
3331
|
height: 24,
|
|
3326
3332
|
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\"/>"
|
|
3327
|
-
},
|
|
3333
|
+
}, Li = {
|
|
3328
3334
|
width: 24,
|
|
3329
3335
|
height: 24,
|
|
3330
3336
|
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\"/>"
|
|
3331
|
-
},
|
|
3337
|
+
}, Ri = {
|
|
3332
3338
|
width: 24,
|
|
3333
3339
|
height: 24,
|
|
3334
3340
|
hidden: !0,
|
|
3335
3341
|
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\"/>"
|
|
3336
|
-
},
|
|
3342
|
+
}, zi = {
|
|
3337
3343
|
width: 24,
|
|
3338
3344
|
height: 24,
|
|
3339
3345
|
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\"/>"
|
|
3340
|
-
},
|
|
3346
|
+
}, Bi = {
|
|
3341
3347
|
width: 24,
|
|
3342
3348
|
height: 24,
|
|
3343
3349
|
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\"/>"
|
|
3344
|
-
},
|
|
3350
|
+
}, Vi = {
|
|
3345
3351
|
width: 24,
|
|
3346
3352
|
height: 24,
|
|
3347
3353
|
hidden: !0,
|
|
3348
3354
|
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\"/>"
|
|
3349
|
-
},
|
|
3355
|
+
}, Hi = {
|
|
3350
3356
|
width: 24,
|
|
3351
3357
|
height: 24,
|
|
3352
3358
|
hidden: !0,
|
|
3353
3359
|
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\"/>"
|
|
3354
|
-
},
|
|
3360
|
+
}, Ui = {
|
|
3355
3361
|
width: 24,
|
|
3356
3362
|
height: 24,
|
|
3357
3363
|
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>"
|
|
3358
|
-
},
|
|
3364
|
+
}, Wi = {
|
|
3359
3365
|
width: 24,
|
|
3360
3366
|
height: 24,
|
|
3361
3367
|
hidden: !0,
|
|
3362
3368
|
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\"/>"
|
|
3363
|
-
},
|
|
3369
|
+
}, Gi = {
|
|
3364
3370
|
width: 20,
|
|
3365
3371
|
height: 20,
|
|
3366
3372
|
hidden: !0,
|
|
3367
3373
|
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\"/>"
|
|
3368
|
-
},
|
|
3374
|
+
}, Ki = {
|
|
3369
3375
|
width: 20,
|
|
3370
3376
|
height: 20,
|
|
3371
3377
|
hidden: !0,
|
|
3372
3378
|
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\"/>"
|
|
3373
|
-
},
|
|
3379
|
+
}, qi = {
|
|
3374
3380
|
width: 20,
|
|
3375
3381
|
height: 20,
|
|
3376
3382
|
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\"/>"
|
|
3377
|
-
},
|
|
3383
|
+
}, Ji = {
|
|
3378
3384
|
width: 20,
|
|
3379
3385
|
height: 20,
|
|
3380
3386
|
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\"/>"
|
|
3381
|
-
},
|
|
3387
|
+
}, Yi = {
|
|
3382
3388
|
width: 20,
|
|
3383
3389
|
height: 20,
|
|
3384
3390
|
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\"/>"
|
|
3385
|
-
},
|
|
3391
|
+
}, Xi = {
|
|
3386
3392
|
width: 20,
|
|
3387
3393
|
height: 20,
|
|
3388
3394
|
hidden: !0,
|
|
3389
3395
|
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\"/>"
|
|
3390
|
-
},
|
|
3396
|
+
}, Zi = {
|
|
3391
3397
|
width: 20,
|
|
3392
3398
|
height: 20,
|
|
3393
3399
|
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\"/>"
|
|
3394
|
-
},
|
|
3400
|
+
}, Qi = {
|
|
3395
3401
|
width: 20,
|
|
3396
3402
|
height: 20,
|
|
3397
3403
|
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\"/>"
|
|
3398
|
-
},
|
|
3404
|
+
}, $i = {
|
|
3399
3405
|
width: 20,
|
|
3400
3406
|
height: 20,
|
|
3401
3407
|
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\"/>"
|
|
3402
|
-
},
|
|
3408
|
+
}, ea = {
|
|
3403
3409
|
width: 20,
|
|
3404
3410
|
height: 20,
|
|
3405
3411
|
hidden: !0,
|
|
3406
3412
|
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\"/>"
|
|
3407
|
-
},
|
|
3413
|
+
}, ta = {
|
|
3408
3414
|
width: 20,
|
|
3409
3415
|
height: 20,
|
|
3410
3416
|
hidden: !0,
|
|
3411
3417
|
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\"/>"
|
|
3412
|
-
},
|
|
3418
|
+
}, na = {
|
|
3413
3419
|
width: 20,
|
|
3414
3420
|
height: 20,
|
|
3415
3421
|
hidden: !0,
|
|
3416
3422
|
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\"/>"
|
|
3417
|
-
},
|
|
3423
|
+
}, ra = {
|
|
3418
3424
|
width: 20,
|
|
3419
3425
|
height: 20,
|
|
3420
3426
|
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\"/>"
|
|
3421
|
-
},
|
|
3427
|
+
}, ia = {
|
|
3422
3428
|
width: 20,
|
|
3423
3429
|
height: 20,
|
|
3424
3430
|
hidden: !0,
|
|
3425
3431
|
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\"/>"
|
|
3426
|
-
},
|
|
3432
|
+
}, aa = {
|
|
3427
3433
|
width: 20,
|
|
3428
3434
|
height: 20,
|
|
3429
3435
|
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>"
|
|
3430
|
-
},
|
|
3436
|
+
}, oa = {
|
|
3431
3437
|
width: 20,
|
|
3432
3438
|
height: 20,
|
|
3433
3439
|
hidden: !0,
|
|
3434
3440
|
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\"/>"
|
|
3435
|
-
},
|
|
3441
|
+
}, sa = {
|
|
3436
3442
|
width: 20,
|
|
3437
3443
|
height: 20,
|
|
3438
3444
|
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\"/>"
|
|
3439
|
-
},
|
|
3445
|
+
}, ca = {
|
|
3440
3446
|
width: 20,
|
|
3441
3447
|
height: 20,
|
|
3442
3448
|
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\"/>"
|
|
3443
|
-
},
|
|
3449
|
+
}, la = {
|
|
3444
3450
|
width: 24,
|
|
3445
3451
|
height: 24,
|
|
3446
3452
|
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\"/>"
|
|
3447
|
-
},
|
|
3453
|
+
}, ua = {
|
|
3448
3454
|
width: 24,
|
|
3449
3455
|
height: 24,
|
|
3450
3456
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 19h16M4 15l4-6l4 2l4-5l4 4\"/>"
|
|
3451
|
-
},
|
|
3457
|
+
}, da = {
|
|
3452
3458
|
width: 24,
|
|
3453
3459
|
height: 24,
|
|
3454
3460
|
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\"/>"
|
|
3455
|
-
},
|
|
3461
|
+
}, fa = {
|
|
3456
3462
|
width: 24,
|
|
3457
3463
|
height: 24,
|
|
3458
3464
|
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>"
|
|
3459
|
-
},
|
|
3465
|
+
}, pa = {
|
|
3460
3466
|
width: 24,
|
|
3461
3467
|
height: 24,
|
|
3462
3468
|
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>"
|
|
3463
|
-
},
|
|
3469
|
+
}, ma = {
|
|
3464
3470
|
width: 24,
|
|
3465
3471
|
height: 24,
|
|
3466
3472
|
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\"/>"
|
|
3467
|
-
},
|
|
3473
|
+
}, ha = {
|
|
3468
3474
|
width: 24,
|
|
3469
3475
|
height: 24,
|
|
3470
3476
|
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>"
|
|
3471
|
-
},
|
|
3477
|
+
}, ga = {
|
|
3472
3478
|
width: 24,
|
|
3473
3479
|
height: 24,
|
|
3474
3480
|
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>"
|
|
3475
|
-
},
|
|
3481
|
+
}, _a = {
|
|
3476
3482
|
width: 24,
|
|
3477
3483
|
height: 24,
|
|
3478
3484
|
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\"/>"
|
|
3479
|
-
},
|
|
3485
|
+
}, va = {
|
|
3480
3486
|
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>",
|
|
3481
3487
|
width: 24,
|
|
3482
3488
|
height: 24
|
|
3483
|
-
},
|
|
3489
|
+
}, ya = {
|
|
3484
3490
|
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>",
|
|
3485
3491
|
width: 24,
|
|
3486
3492
|
height: 24
|
|
3487
|
-
},
|
|
3493
|
+
}, ba = {
|
|
3488
3494
|
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>",
|
|
3489
3495
|
width: 24,
|
|
3490
3496
|
height: 24
|
|
3491
|
-
},
|
|
3497
|
+
}, xa = {
|
|
3492
3498
|
width: 24,
|
|
3493
3499
|
height: 24,
|
|
3494
3500
|
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>"
|
|
3495
|
-
},
|
|
3501
|
+
}, Sa = {
|
|
3496
3502
|
width: 24,
|
|
3497
3503
|
height: 24,
|
|
3498
3504
|
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\"/>"
|
|
3499
|
-
},
|
|
3505
|
+
}, Ca = {
|
|
3500
3506
|
width: 24,
|
|
3501
3507
|
height: 24,
|
|
3502
3508
|
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>"
|
|
3503
|
-
},
|
|
3509
|
+
}, wa = {
|
|
3504
3510
|
width: 24,
|
|
3505
3511
|
height: 24,
|
|
3506
3512
|
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\"/>"
|
|
3507
|
-
},
|
|
3513
|
+
}, Ta = {
|
|
3508
3514
|
width: 24,
|
|
3509
3515
|
height: 24,
|
|
3510
3516
|
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>"
|
|
3511
|
-
},
|
|
3517
|
+
}, Ea = {
|
|
3512
3518
|
width: 24,
|
|
3513
3519
|
height: 24,
|
|
3514
3520
|
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\"/>"
|
|
3515
|
-
},
|
|
3521
|
+
}, Da = {
|
|
3516
3522
|
width: 24,
|
|
3517
3523
|
height: 24,
|
|
3518
3524
|
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>"
|
|
3519
|
-
},
|
|
3525
|
+
}, Oa = {
|
|
3520
3526
|
width: 24,
|
|
3521
3527
|
height: 24,
|
|
3522
3528
|
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>"
|
|
3523
|
-
},
|
|
3529
|
+
}, ka = {
|
|
3524
3530
|
close: {
|
|
3525
|
-
icon:
|
|
3531
|
+
icon: li,
|
|
3526
3532
|
category: "action"
|
|
3527
3533
|
},
|
|
3528
3534
|
add: {
|
|
3529
|
-
icon:
|
|
3535
|
+
icon: ui,
|
|
3530
3536
|
category: "action"
|
|
3531
3537
|
},
|
|
3532
3538
|
edit: {
|
|
3533
|
-
icon:
|
|
3539
|
+
icon: di,
|
|
3534
3540
|
category: "action"
|
|
3535
3541
|
},
|
|
3536
3542
|
delete: {
|
|
3537
|
-
icon:
|
|
3543
|
+
icon: fi,
|
|
3538
3544
|
category: "action"
|
|
3539
3545
|
},
|
|
3540
3546
|
refresh: {
|
|
3541
|
-
icon:
|
|
3547
|
+
icon: pi,
|
|
3542
3548
|
category: "action"
|
|
3543
3549
|
},
|
|
3544
3550
|
copy: {
|
|
3545
|
-
icon:
|
|
3551
|
+
icon: mi,
|
|
3546
3552
|
category: "action"
|
|
3547
3553
|
},
|
|
3548
3554
|
duplicate: {
|
|
3549
|
-
icon:
|
|
3555
|
+
icon: hi,
|
|
3550
3556
|
category: "action"
|
|
3551
3557
|
},
|
|
3552
3558
|
settings: {
|
|
3553
|
-
icon:
|
|
3559
|
+
icon: gi,
|
|
3554
3560
|
category: "action"
|
|
3555
3561
|
},
|
|
3556
3562
|
filter: {
|
|
3557
|
-
icon:
|
|
3563
|
+
icon: _i,
|
|
3558
3564
|
category: "action"
|
|
3559
3565
|
},
|
|
3560
3566
|
share: {
|
|
3561
|
-
icon:
|
|
3567
|
+
icon: vi,
|
|
3562
3568
|
category: "action"
|
|
3563
3569
|
},
|
|
3564
3570
|
expand: {
|
|
3565
|
-
icon:
|
|
3571
|
+
icon: bi,
|
|
3566
3572
|
category: "action"
|
|
3567
3573
|
},
|
|
3568
3574
|
collapse: {
|
|
3569
|
-
icon:
|
|
3575
|
+
icon: yi,
|
|
3570
3576
|
category: "action"
|
|
3571
3577
|
},
|
|
3572
3578
|
search: {
|
|
3573
|
-
icon:
|
|
3579
|
+
icon: Ci,
|
|
3574
3580
|
category: "action"
|
|
3575
3581
|
},
|
|
3576
3582
|
menu: {
|
|
3577
|
-
icon:
|
|
3583
|
+
icon: wi,
|
|
3578
3584
|
category: "action"
|
|
3579
3585
|
},
|
|
3580
3586
|
run: {
|
|
3581
|
-
icon:
|
|
3587
|
+
icon: Zi,
|
|
3582
3588
|
category: "action"
|
|
3583
3589
|
},
|
|
3584
3590
|
check: {
|
|
3585
|
-
icon:
|
|
3591
|
+
icon: Qi,
|
|
3586
3592
|
category: "action"
|
|
3587
3593
|
},
|
|
3588
3594
|
link: {
|
|
3589
|
-
icon:
|
|
3595
|
+
icon: Pi,
|
|
3590
3596
|
category: "action"
|
|
3591
3597
|
},
|
|
3592
3598
|
eye: {
|
|
3593
|
-
icon:
|
|
3599
|
+
icon: ki,
|
|
3594
3600
|
category: "action"
|
|
3595
3601
|
},
|
|
3596
3602
|
eyeOff: {
|
|
3597
|
-
icon:
|
|
3603
|
+
icon: Ai,
|
|
3598
3604
|
category: "action"
|
|
3599
3605
|
},
|
|
3600
3606
|
adjustments: {
|
|
3601
|
-
icon:
|
|
3607
|
+
icon: ji,
|
|
3602
3608
|
category: "action"
|
|
3603
3609
|
},
|
|
3604
3610
|
desktop: {
|
|
3605
|
-
icon:
|
|
3611
|
+
icon: Mi,
|
|
3606
3612
|
category: "action"
|
|
3607
3613
|
},
|
|
3608
3614
|
table: {
|
|
3609
|
-
icon:
|
|
3615
|
+
icon: Ni,
|
|
3610
3616
|
category: "action"
|
|
3611
3617
|
},
|
|
3612
3618
|
sun: {
|
|
3613
|
-
icon:
|
|
3619
|
+
icon: Ii,
|
|
3614
3620
|
category: "action"
|
|
3615
3621
|
},
|
|
3616
3622
|
moon: {
|
|
3617
|
-
icon:
|
|
3623
|
+
icon: Li,
|
|
3618
3624
|
category: "action"
|
|
3619
3625
|
},
|
|
3620
3626
|
ellipsisHorizontal: {
|
|
3621
|
-
icon:
|
|
3627
|
+
icon: Ri,
|
|
3622
3628
|
category: "action"
|
|
3623
3629
|
},
|
|
3624
3630
|
documentText: {
|
|
3625
|
-
icon:
|
|
3631
|
+
icon: zi,
|
|
3626
3632
|
category: "action"
|
|
3627
3633
|
},
|
|
3628
3634
|
bookOpen: {
|
|
3629
|
-
icon:
|
|
3635
|
+
icon: Bi,
|
|
3630
3636
|
category: "action"
|
|
3631
3637
|
},
|
|
3632
3638
|
codeBracket: {
|
|
3633
|
-
icon:
|
|
3639
|
+
icon: Vi,
|
|
3634
3640
|
category: "action"
|
|
3635
3641
|
},
|
|
3636
3642
|
swatch: {
|
|
3637
|
-
icon:
|
|
3643
|
+
icon: Hi,
|
|
3638
3644
|
category: "action"
|
|
3639
3645
|
},
|
|
3640
3646
|
camera: {
|
|
3641
|
-
icon:
|
|
3647
|
+
icon: Ui,
|
|
3642
3648
|
category: "action"
|
|
3643
3649
|
},
|
|
3644
3650
|
thumbUp: {
|
|
3645
|
-
icon:
|
|
3651
|
+
icon: Gi,
|
|
3646
3652
|
category: "action"
|
|
3647
3653
|
},
|
|
3648
3654
|
thumbDown: {
|
|
3649
|
-
icon:
|
|
3655
|
+
icon: Ki,
|
|
3650
3656
|
category: "action"
|
|
3651
3657
|
},
|
|
3652
3658
|
schemaGraph: {
|
|
@@ -3666,95 +3672,95 @@ var oi = {
|
|
|
3666
3672
|
category: "action"
|
|
3667
3673
|
},
|
|
3668
3674
|
download: {
|
|
3669
|
-
icon:
|
|
3675
|
+
icon: Wi,
|
|
3670
3676
|
category: "action"
|
|
3671
3677
|
},
|
|
3672
3678
|
measure: {
|
|
3673
|
-
icon:
|
|
3679
|
+
icon: qi,
|
|
3674
3680
|
category: "field"
|
|
3675
3681
|
},
|
|
3676
3682
|
dimension: {
|
|
3677
|
-
icon:
|
|
3683
|
+
icon: Ji,
|
|
3678
3684
|
category: "field"
|
|
3679
3685
|
},
|
|
3680
3686
|
timeDimension: {
|
|
3681
|
-
icon:
|
|
3687
|
+
icon: Yi,
|
|
3682
3688
|
category: "field"
|
|
3683
3689
|
},
|
|
3684
3690
|
segment: {
|
|
3685
|
-
icon:
|
|
3691
|
+
icon: Xi,
|
|
3686
3692
|
category: "field"
|
|
3687
3693
|
},
|
|
3688
3694
|
chartBar: {
|
|
3689
|
-
icon:
|
|
3695
|
+
icon: la,
|
|
3690
3696
|
category: "chart"
|
|
3691
3697
|
},
|
|
3692
3698
|
chartLine: {
|
|
3693
|
-
icon:
|
|
3699
|
+
icon: ua,
|
|
3694
3700
|
category: "chart"
|
|
3695
3701
|
},
|
|
3696
3702
|
chartArea: {
|
|
3697
|
-
icon:
|
|
3703
|
+
icon: da,
|
|
3698
3704
|
category: "chart"
|
|
3699
3705
|
},
|
|
3700
3706
|
chartPie: {
|
|
3701
|
-
icon:
|
|
3707
|
+
icon: fa,
|
|
3702
3708
|
category: "chart"
|
|
3703
3709
|
},
|
|
3704
3710
|
chartScatter: {
|
|
3705
|
-
icon:
|
|
3711
|
+
icon: pa,
|
|
3706
3712
|
category: "chart"
|
|
3707
3713
|
},
|
|
3708
3714
|
chartBubble: {
|
|
3709
|
-
icon:
|
|
3715
|
+
icon: ma,
|
|
3710
3716
|
category: "chart"
|
|
3711
3717
|
},
|
|
3712
3718
|
chartRadar: {
|
|
3713
|
-
icon:
|
|
3719
|
+
icon: ha,
|
|
3714
3720
|
category: "chart"
|
|
3715
3721
|
},
|
|
3716
3722
|
chartRadialBar: {
|
|
3717
|
-
icon:
|
|
3723
|
+
icon: ga,
|
|
3718
3724
|
category: "chart"
|
|
3719
3725
|
},
|
|
3720
3726
|
chartTreemap: {
|
|
3721
|
-
icon:
|
|
3727
|
+
icon: _a,
|
|
3722
3728
|
category: "chart"
|
|
3723
3729
|
},
|
|
3724
3730
|
chartTable: {
|
|
3725
|
-
icon:
|
|
3731
|
+
icon: Sa,
|
|
3726
3732
|
category: "chart"
|
|
3727
3733
|
},
|
|
3728
3734
|
chartActivityGrid: {
|
|
3729
|
-
icon:
|
|
3735
|
+
icon: Ca,
|
|
3730
3736
|
category: "chart"
|
|
3731
3737
|
},
|
|
3732
3738
|
chartKpiNumber: {
|
|
3733
|
-
icon:
|
|
3739
|
+
icon: wa,
|
|
3734
3740
|
category: "chart"
|
|
3735
3741
|
},
|
|
3736
3742
|
chartKpiDelta: {
|
|
3737
|
-
icon:
|
|
3743
|
+
icon: Ta,
|
|
3738
3744
|
category: "chart"
|
|
3739
3745
|
},
|
|
3740
3746
|
chartKpiText: {
|
|
3741
|
-
icon:
|
|
3747
|
+
icon: Ea,
|
|
3742
3748
|
category: "chart"
|
|
3743
3749
|
},
|
|
3744
3750
|
chartMarkdown: {
|
|
3745
|
-
icon:
|
|
3751
|
+
icon: Da,
|
|
3746
3752
|
category: "chart"
|
|
3747
3753
|
},
|
|
3748
3754
|
chartFunnel: {
|
|
3749
|
-
icon:
|
|
3755
|
+
icon: ya,
|
|
3750
3756
|
category: "chart"
|
|
3751
3757
|
},
|
|
3752
3758
|
chartSankey: {
|
|
3753
|
-
icon:
|
|
3759
|
+
icon: va,
|
|
3754
3760
|
category: "chart"
|
|
3755
3761
|
},
|
|
3756
3762
|
chartSunburst: {
|
|
3757
|
-
icon:
|
|
3763
|
+
icon: xa,
|
|
3758
3764
|
category: "chart"
|
|
3759
3765
|
},
|
|
3760
3766
|
chartHeatmap: {
|
|
@@ -3766,87 +3772,87 @@ var oi = {
|
|
|
3766
3772
|
category: "chart"
|
|
3767
3773
|
},
|
|
3768
3774
|
chartRetention: {
|
|
3769
|
-
icon:
|
|
3775
|
+
icon: ba,
|
|
3770
3776
|
category: "chart"
|
|
3771
3777
|
},
|
|
3772
3778
|
measureCount: {
|
|
3773
|
-
icon:
|
|
3779
|
+
icon: ia,
|
|
3774
3780
|
category: "measure"
|
|
3775
3781
|
},
|
|
3776
3782
|
measureCountDistinct: {
|
|
3777
|
-
icon:
|
|
3783
|
+
icon: aa,
|
|
3778
3784
|
category: "measure"
|
|
3779
3785
|
},
|
|
3780
3786
|
measureCountDistinctApprox: {
|
|
3781
|
-
icon:
|
|
3787
|
+
icon: oa,
|
|
3782
3788
|
category: "measure"
|
|
3783
3789
|
},
|
|
3784
3790
|
measureSum: {
|
|
3785
|
-
icon:
|
|
3791
|
+
icon: sa,
|
|
3786
3792
|
category: "measure"
|
|
3787
3793
|
},
|
|
3788
3794
|
measureAvg: {
|
|
3789
|
-
icon:
|
|
3795
|
+
icon: $i,
|
|
3790
3796
|
category: "measure"
|
|
3791
3797
|
},
|
|
3792
3798
|
measureMin: {
|
|
3793
|
-
icon:
|
|
3799
|
+
icon: ea,
|
|
3794
3800
|
category: "measure"
|
|
3795
3801
|
},
|
|
3796
3802
|
measureMax: {
|
|
3797
|
-
icon:
|
|
3803
|
+
icon: ta,
|
|
3798
3804
|
category: "measure"
|
|
3799
3805
|
},
|
|
3800
3806
|
measureRunningTotal: {
|
|
3801
|
-
icon:
|
|
3807
|
+
icon: na,
|
|
3802
3808
|
category: "measure"
|
|
3803
3809
|
},
|
|
3804
3810
|
measureCalculated: {
|
|
3805
|
-
icon:
|
|
3811
|
+
icon: ra,
|
|
3806
3812
|
category: "measure"
|
|
3807
3813
|
},
|
|
3808
3814
|
measureNumber: {
|
|
3809
|
-
icon:
|
|
3815
|
+
icon: ca,
|
|
3810
3816
|
category: "measure"
|
|
3811
3817
|
},
|
|
3812
3818
|
success: {
|
|
3813
|
-
icon:
|
|
3819
|
+
icon: Ti,
|
|
3814
3820
|
category: "state"
|
|
3815
3821
|
},
|
|
3816
3822
|
warning: {
|
|
3817
|
-
icon:
|
|
3823
|
+
icon: Ei,
|
|
3818
3824
|
category: "state"
|
|
3819
3825
|
},
|
|
3820
3826
|
error: {
|
|
3821
|
-
icon:
|
|
3827
|
+
icon: Di,
|
|
3822
3828
|
category: "state"
|
|
3823
3829
|
},
|
|
3824
3830
|
info: {
|
|
3825
|
-
icon:
|
|
3831
|
+
icon: Oa,
|
|
3826
3832
|
category: "state"
|
|
3827
3833
|
},
|
|
3828
3834
|
loading: {
|
|
3829
|
-
icon:
|
|
3835
|
+
icon: pi,
|
|
3830
3836
|
category: "state"
|
|
3831
3837
|
},
|
|
3832
3838
|
sparkles: {
|
|
3833
|
-
icon:
|
|
3839
|
+
icon: Oi,
|
|
3834
3840
|
category: "state"
|
|
3835
3841
|
},
|
|
3836
3842
|
chevronUp: {
|
|
3837
|
-
icon:
|
|
3843
|
+
icon: yi,
|
|
3838
3844
|
category: "navigation"
|
|
3839
3845
|
},
|
|
3840
3846
|
chevronDown: {
|
|
3841
|
-
icon:
|
|
3847
|
+
icon: bi,
|
|
3842
3848
|
category: "navigation"
|
|
3843
3849
|
},
|
|
3844
3850
|
chevronLeft: {
|
|
3845
|
-
icon:
|
|
3851
|
+
icon: xi,
|
|
3846
3852
|
category: "navigation"
|
|
3847
3853
|
},
|
|
3848
3854
|
chevronRight: {
|
|
3849
|
-
icon:
|
|
3855
|
+
icon: Si,
|
|
3850
3856
|
category: "navigation"
|
|
3851
3857
|
},
|
|
3852
3858
|
chevronUpDown: {
|
|
@@ -3858,55 +3864,55 @@ var oi = {
|
|
|
3858
3864
|
category: "navigation"
|
|
3859
3865
|
},
|
|
3860
3866
|
arrowUp: {
|
|
3861
|
-
icon:
|
|
3867
|
+
icon: ta,
|
|
3862
3868
|
category: "navigation"
|
|
3863
3869
|
},
|
|
3864
3870
|
arrowDown: {
|
|
3865
|
-
icon:
|
|
3871
|
+
icon: ea,
|
|
3866
3872
|
category: "navigation"
|
|
3867
3873
|
},
|
|
3868
3874
|
arrowRight: {
|
|
3869
|
-
icon:
|
|
3875
|
+
icon: Fi,
|
|
3870
3876
|
category: "navigation"
|
|
3871
3877
|
},
|
|
3872
3878
|
arrowPath: {
|
|
3873
|
-
icon:
|
|
3879
|
+
icon: pi,
|
|
3874
3880
|
category: "navigation"
|
|
3875
3881
|
}
|
|
3876
|
-
}, G = { ...
|
|
3877
|
-
function
|
|
3878
|
-
|
|
3882
|
+
}, G = { ...ka }, Aa = null;
|
|
3883
|
+
function ja(e) {
|
|
3884
|
+
Aa = e;
|
|
3879
3885
|
}
|
|
3880
3886
|
var K = /* @__PURE__ */ new Map();
|
|
3881
|
-
function
|
|
3887
|
+
function Ma() {
|
|
3882
3888
|
return G;
|
|
3883
3889
|
}
|
|
3884
3890
|
function q(e) {
|
|
3885
3891
|
let t = K.get(e);
|
|
3886
3892
|
if (t) return t;
|
|
3887
3893
|
let n = G[e];
|
|
3888
|
-
if (!n) return console.warn(`Icon "${e}" not found in registry, using fallback`), ({ className: e, ...t }) => /* @__PURE__ */
|
|
3894
|
+
if (!n) return console.warn(`Icon "${e}" not found in registry, using fallback`), ({ className: e, ...t }) => /* @__PURE__ */ T(ci, {
|
|
3889
3895
|
icon: G.info.icon,
|
|
3890
3896
|
className: e,
|
|
3891
3897
|
...t
|
|
3892
3898
|
});
|
|
3893
|
-
let r = ({ className: e, ...t }) => /* @__PURE__ */
|
|
3899
|
+
let r = ({ className: e, ...t }) => /* @__PURE__ */ T(ci, {
|
|
3894
3900
|
icon: n.icon,
|
|
3895
3901
|
className: e,
|
|
3896
3902
|
...t
|
|
3897
3903
|
});
|
|
3898
3904
|
return K.set(e, r), r;
|
|
3899
3905
|
}
|
|
3900
|
-
function
|
|
3906
|
+
function Na(e) {
|
|
3901
3907
|
return G[e]?.icon ?? G.info.icon;
|
|
3902
3908
|
}
|
|
3903
|
-
function
|
|
3909
|
+
function Pa(e, t) {
|
|
3904
3910
|
G[e] && (G[e] = {
|
|
3905
3911
|
...G[e],
|
|
3906
3912
|
icon: t
|
|
3907
3913
|
}, K.delete(e));
|
|
3908
3914
|
}
|
|
3909
|
-
function
|
|
3915
|
+
function Fa(e) {
|
|
3910
3916
|
for (let [t, n] of Object.entries(e)) if (n && t in G) {
|
|
3911
3917
|
let e = t;
|
|
3912
3918
|
if ("body" in n) G[e] = {
|
|
@@ -3924,15 +3930,15 @@ function Ma(e) {
|
|
|
3924
3930
|
K.delete(e);
|
|
3925
3931
|
}
|
|
3926
3932
|
}
|
|
3927
|
-
function
|
|
3928
|
-
G = { ...
|
|
3933
|
+
function Ia() {
|
|
3934
|
+
G = { ...ka }, K.clear();
|
|
3929
3935
|
}
|
|
3930
|
-
function
|
|
3936
|
+
function La(e) {
|
|
3931
3937
|
let t = {};
|
|
3932
3938
|
for (let [n, r] of Object.entries(G)) r.category === e && (t[n] = q(n));
|
|
3933
3939
|
return t;
|
|
3934
3940
|
}
|
|
3935
|
-
function
|
|
3941
|
+
function Ra(e) {
|
|
3936
3942
|
return q({
|
|
3937
3943
|
count: "measureCount",
|
|
3938
3944
|
countDistinct: "measureCountDistinct",
|
|
@@ -3946,7 +3952,7 @@ function Fa(e) {
|
|
|
3946
3952
|
number: "measureNumber"
|
|
3947
3953
|
}[e || ""] || "measureCount");
|
|
3948
3954
|
}
|
|
3949
|
-
function
|
|
3955
|
+
function za(e) {
|
|
3950
3956
|
let t = {
|
|
3951
3957
|
bar: "chartBar",
|
|
3952
3958
|
line: "chartLine",
|
|
@@ -3969,13 +3975,13 @@ function Ia(e) {
|
|
|
3969
3975
|
heatmap: "chartHeatmap"
|
|
3970
3976
|
}[e];
|
|
3971
3977
|
if (t) return q(t);
|
|
3972
|
-
if (
|
|
3973
|
-
let t =
|
|
3978
|
+
if (Aa) {
|
|
3979
|
+
let t = Aa(e);
|
|
3974
3980
|
if (t) return t;
|
|
3975
3981
|
}
|
|
3976
3982
|
return q("chartBar");
|
|
3977
3983
|
}
|
|
3978
|
-
function
|
|
3984
|
+
function Ba(e) {
|
|
3979
3985
|
return q({
|
|
3980
3986
|
measure: "measure",
|
|
3981
3987
|
dimension: "dimension",
|
|
@@ -3986,8 +3992,9 @@ function La(e) {
|
|
|
3986
3992
|
}
|
|
3987
3993
|
//#endregion
|
|
3988
3994
|
//#region src/client/components/charts/MissingDependencyFallback.tsx
|
|
3989
|
-
function
|
|
3990
|
-
|
|
3995
|
+
function Va({ chartType: e, packageName: t, installCommand: n, height: r = 200 }) {
|
|
3996
|
+
let { t: i } = o();
|
|
3997
|
+
return /* @__PURE__ */ E("div", {
|
|
3991
3998
|
className: "dc-missing-dependency-fallback",
|
|
3992
3999
|
style: {
|
|
3993
4000
|
height: typeof r == "number" ? `${r}px` : r,
|
|
@@ -4003,56 +4010,35 @@ function Ra({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4003
4010
|
backgroundColor: "var(--dc-surface, #f9fafb)"
|
|
4004
4011
|
},
|
|
4005
4012
|
children: [
|
|
4006
|
-
/* @__PURE__ */
|
|
4013
|
+
/* @__PURE__ */ T("div", {
|
|
4007
4014
|
style: {
|
|
4008
4015
|
fontSize: "2.5rem",
|
|
4009
4016
|
marginBottom: "1rem"
|
|
4010
4017
|
},
|
|
4011
4018
|
children: "📦"
|
|
4012
4019
|
}),
|
|
4013
|
-
/* @__PURE__ */
|
|
4020
|
+
/* @__PURE__ */ T("h3", {
|
|
4014
4021
|
style: {
|
|
4015
4022
|
fontSize: "1.125rem",
|
|
4016
4023
|
fontWeight: 600,
|
|
4017
4024
|
marginBottom: "0.5rem",
|
|
4018
4025
|
color: "var(--dc-text, #111827)"
|
|
4019
4026
|
},
|
|
4020
|
-
children: "
|
|
4027
|
+
children: i("chart.runtime.missingDep.title")
|
|
4021
4028
|
}),
|
|
4022
|
-
/* @__PURE__ */
|
|
4029
|
+
/* @__PURE__ */ T("p", {
|
|
4023
4030
|
style: {
|
|
4024
4031
|
fontSize: "0.875rem",
|
|
4025
4032
|
color: "var(--dc-text-secondary, #6b7280)",
|
|
4026
4033
|
marginBottom: "1rem",
|
|
4027
4034
|
maxWidth: "28rem"
|
|
4028
4035
|
},
|
|
4029
|
-
children:
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
padding: "0.125rem 0.375rem",
|
|
4034
|
-
backgroundColor: "var(--dc-surface-secondary, #f3f4f6)",
|
|
4035
|
-
borderRadius: "0.25rem",
|
|
4036
|
-
fontFamily: "monospace",
|
|
4037
|
-
fontSize: "0.75rem"
|
|
4038
|
-
},
|
|
4039
|
-
children: e
|
|
4040
|
-
}),
|
|
4041
|
-
" chart requires the ",
|
|
4042
|
-
/* @__PURE__ */ E("code", {
|
|
4043
|
-
style: {
|
|
4044
|
-
padding: "0.125rem 0.375rem",
|
|
4045
|
-
backgroundColor: "var(--dc-surface-secondary, #f3f4f6)",
|
|
4046
|
-
borderRadius: "0.25rem",
|
|
4047
|
-
fontFamily: "monospace",
|
|
4048
|
-
fontSize: "0.75rem"
|
|
4049
|
-
},
|
|
4050
|
-
children: t
|
|
4051
|
-
}),
|
|
4052
|
-
" package."
|
|
4053
|
-
]
|
|
4036
|
+
children: i("chart.runtime.missingDep.description", {
|
|
4037
|
+
chartType: e,
|
|
4038
|
+
packageName: t
|
|
4039
|
+
})
|
|
4054
4040
|
}),
|
|
4055
|
-
/* @__PURE__ */
|
|
4041
|
+
/* @__PURE__ */ E("div", {
|
|
4056
4042
|
style: {
|
|
4057
4043
|
backgroundColor: "var(--dc-surface-secondary, #f3f4f6)",
|
|
4058
4044
|
borderRadius: "0.5rem",
|
|
@@ -4061,7 +4047,7 @@ function Ra({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4061
4047
|
fontSize: "0.875rem",
|
|
4062
4048
|
color: "var(--dc-text, #111827)"
|
|
4063
4049
|
},
|
|
4064
|
-
children: [/* @__PURE__ */
|
|
4050
|
+
children: [/* @__PURE__ */ T("span", {
|
|
4065
4051
|
style: {
|
|
4066
4052
|
color: "var(--dc-text-muted, #9ca3af)",
|
|
4067
4053
|
userSelect: "none"
|
|
@@ -4069,20 +4055,20 @@ function Ra({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4069
4055
|
children: "$ "
|
|
4070
4056
|
}), n]
|
|
4071
4057
|
}),
|
|
4072
|
-
/* @__PURE__ */
|
|
4058
|
+
/* @__PURE__ */ T("p", {
|
|
4073
4059
|
style: {
|
|
4074
4060
|
fontSize: "0.75rem",
|
|
4075
4061
|
color: "var(--dc-text-muted, #9ca3af)",
|
|
4076
4062
|
marginTop: "0.75rem"
|
|
4077
4063
|
},
|
|
4078
|
-
children: "
|
|
4064
|
+
children: i("chart.runtime.missingDep.restartHint")
|
|
4079
4065
|
})
|
|
4080
4066
|
]
|
|
4081
4067
|
});
|
|
4082
4068
|
}
|
|
4083
4069
|
//#endregion
|
|
4084
4070
|
//#region src/client/charts/ChartLoader.tsx
|
|
4085
|
-
var J = /* @__PURE__ */ new Map(), Y = /* @__PURE__ */ new Set(),
|
|
4071
|
+
var J = /* @__PURE__ */ new Map(), Y = /* @__PURE__ */ new Set(), Ha = {
|
|
4086
4072
|
bar: {
|
|
4087
4073
|
packageName: "recharts",
|
|
4088
4074
|
installCommand: "npm install recharts"
|
|
@@ -4147,54 +4133,57 @@ var J = /* @__PURE__ */ new Map(), Y = /* @__PURE__ */ new Set(), za = {
|
|
|
4147
4133
|
packageName: "d3-shape",
|
|
4148
4134
|
installCommand: "npm install d3-shape"
|
|
4149
4135
|
}
|
|
4150
|
-
},
|
|
4151
|
-
bar: () => import("./chart-bar-
|
|
4152
|
-
line: () => import("./chart-line-
|
|
4153
|
-
area: () => import("./chart-area-
|
|
4154
|
-
pie: () => import("./chart-pie-
|
|
4155
|
-
scatter: () => import("./chart-scatter-
|
|
4156
|
-
radar: () => import("./chart-radar-
|
|
4157
|
-
radialBar: () => import("./chart-radial-bar-
|
|
4158
|
-
treemap: () => import("./chart-tree-map-
|
|
4159
|
-
bubble: () => import("./chart-bubble-
|
|
4160
|
-
table: () => Promise.resolve().then(() =>
|
|
4161
|
-
activityGrid: () => import("./chart-activity-grid-
|
|
4162
|
-
kpiNumber: () => import("./KpiNumber-
|
|
4163
|
-
kpiDelta: () => import("./KpiDelta-
|
|
4164
|
-
kpiText: () => import("./KpiText-
|
|
4165
|
-
markdown: () => import("./chart-markdown-
|
|
4166
|
-
funnel: () => import("./chart-funnel-
|
|
4167
|
-
sankey: () => import("./chart-sankey-
|
|
4168
|
-
sunburst: () => import("./chart-sunburst-
|
|
4169
|
-
heatmap: () => import("./chart-heat-map-
|
|
4170
|
-
retentionHeatmap: () => import("./RetentionHeatmap-
|
|
4171
|
-
retentionCombined: () => import("./RetentionCombinedChart-
|
|
4172
|
-
boxPlot: () => import("./chart-box-plot-
|
|
4173
|
-
waterfall: () => import("./chart-waterfall-
|
|
4174
|
-
candlestick: () => import("./chart-candlestick-
|
|
4175
|
-
measureProfile: () => import("./chart-measure-profile-
|
|
4176
|
-
gauge: () => import("./chart-gauge-
|
|
4136
|
+
}, Ua = {
|
|
4137
|
+
bar: () => import("./chart-bar-BEfsCLjl.js").then((e) => e.n),
|
|
4138
|
+
line: () => import("./chart-line-CBsTThTv.js").then((e) => e.n),
|
|
4139
|
+
area: () => import("./chart-area-D63kG8OT.js").then((e) => e.n),
|
|
4140
|
+
pie: () => import("./chart-pie-Djbu8x2v.js").then((e) => e.n),
|
|
4141
|
+
scatter: () => import("./chart-scatter-D8krEYsA.js").then((e) => e.n),
|
|
4142
|
+
radar: () => import("./chart-radar-BsTcKV0K.js").then((e) => e.n),
|
|
4143
|
+
radialBar: () => import("./chart-radial-bar-Du7XNnwE.js").then((e) => e.n),
|
|
4144
|
+
treemap: () => import("./chart-tree-map-C5C2iaWM.js").then((e) => e.n),
|
|
4145
|
+
bubble: () => import("./chart-bubble-CMDp4Pfm.js").then((e) => e.t),
|
|
4146
|
+
table: () => Promise.resolve().then(() => Lo),
|
|
4147
|
+
activityGrid: () => import("./chart-activity-grid-CWT0gLv4.js").then((e) => e.t),
|
|
4148
|
+
kpiNumber: () => import("./KpiNumber-BPlR92hI.js"),
|
|
4149
|
+
kpiDelta: () => import("./KpiDelta-Dll_eCV1.js"),
|
|
4150
|
+
kpiText: () => import("./KpiText-BIxq7Jso.js"),
|
|
4151
|
+
markdown: () => import("./chart-markdown-BWaWVkuz.js").then((e) => e.n),
|
|
4152
|
+
funnel: () => import("./chart-funnel-C7pgktN5.js").then((e) => e.n),
|
|
4153
|
+
sankey: () => import("./chart-sankey-WwkZAhLy.js").then((e) => e.t),
|
|
4154
|
+
sunburst: () => import("./chart-sunburst-CIDB_pTl.js").then((e) => e.t),
|
|
4155
|
+
heatmap: () => import("./chart-heat-map-Dw2yjwfO.js").then((e) => e.t),
|
|
4156
|
+
retentionHeatmap: () => import("./RetentionHeatmap-B_5sewwi.js"),
|
|
4157
|
+
retentionCombined: () => import("./RetentionCombinedChart-BD8tGeM_.js"),
|
|
4158
|
+
boxPlot: () => import("./chart-box-plot-o-h9MRX5.js").then((e) => e.t),
|
|
4159
|
+
waterfall: () => import("./chart-waterfall-BGdPrJ5Y.js").then((e) => e.t),
|
|
4160
|
+
candlestick: () => import("./chart-candlestick-WyANJ0Ky.js").then((e) => e.t),
|
|
4161
|
+
measureProfile: () => import("./chart-measure-profile-B41qCTBG.js").then((e) => e.t),
|
|
4162
|
+
gauge: () => import("./chart-gauge-D2r2B_AR.js").then((e) => e.t)
|
|
4177
4163
|
}, X = /* @__PURE__ */ new Map();
|
|
4178
|
-
function
|
|
4179
|
-
let t = ({ height: t }) =>
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
children:
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
"
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4164
|
+
function Wa(e) {
|
|
4165
|
+
let t = ({ height: t }) => {
|
|
4166
|
+
let { t: n } = o();
|
|
4167
|
+
return /* @__PURE__ */ E("div", {
|
|
4168
|
+
className: "dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:gap-2",
|
|
4169
|
+
style: { height: typeof t == "number" ? `${t}px` : t || "200px" },
|
|
4170
|
+
children: [/* @__PURE__ */ T("div", {
|
|
4171
|
+
className: "dc:text-sm dc:font-semibold text-dc-text-muted",
|
|
4172
|
+
children: n("chart.runtime.unknownChartType")
|
|
4173
|
+
}), /* @__PURE__ */ E("div", {
|
|
4174
|
+
className: "dc:text-xs text-dc-text-muted",
|
|
4175
|
+
children: [
|
|
4176
|
+
"“",
|
|
4177
|
+
e,
|
|
4178
|
+
"” is not registered"
|
|
4179
|
+
]
|
|
4180
|
+
})]
|
|
4181
|
+
});
|
|
4182
|
+
};
|
|
4194
4183
|
return t.displayName = `UnknownChart_${e}`, t;
|
|
4195
4184
|
}
|
|
4196
|
-
function
|
|
4197
|
-
let t =
|
|
4185
|
+
function Ga(e) {
|
|
4186
|
+
let t = Ha[e], n = ({ height: n }) => /* @__PURE__ */ T(Va, {
|
|
4198
4187
|
chartType: e,
|
|
4199
4188
|
packageName: t?.packageName || "unknown",
|
|
4200
4189
|
installCommand: t?.installCommand || "npm install [package-name]",
|
|
@@ -4202,102 +4191,102 @@ function Ha(e) {
|
|
|
4202
4191
|
});
|
|
4203
4192
|
return n.displayName = `${e}Fallback`, n;
|
|
4204
4193
|
}
|
|
4205
|
-
function
|
|
4194
|
+
function Ka(e, t) {
|
|
4206
4195
|
return async () => {
|
|
4207
4196
|
try {
|
|
4208
4197
|
return await t();
|
|
4209
4198
|
} catch (t) {
|
|
4210
|
-
return console.warn(`[drizzle-cube] Failed to load ${e} chart:`, t instanceof Error ? t.message : t), Y.add(e), { default:
|
|
4199
|
+
return console.warn(`[drizzle-cube] Failed to load ${e} chart:`, t instanceof Error ? t.message : t), Y.add(e), { default: Ga(e) };
|
|
4211
4200
|
}
|
|
4212
4201
|
};
|
|
4213
4202
|
}
|
|
4214
|
-
function
|
|
4203
|
+
function qa(e) {
|
|
4215
4204
|
let t = X.get(e);
|
|
4216
4205
|
if (t) return t;
|
|
4217
4206
|
if (J.has(e)) return J.get(e);
|
|
4218
|
-
let n =
|
|
4207
|
+
let n = Ua[e];
|
|
4219
4208
|
if (n) {
|
|
4220
|
-
let t =
|
|
4221
|
-
return J.set(e,
|
|
4209
|
+
let t = Ka(e, n);
|
|
4210
|
+
return J.set(e, _e(t)), J.get(e);
|
|
4222
4211
|
}
|
|
4223
|
-
return
|
|
4212
|
+
return _e(() => Promise.resolve({ default: Wa(e) }));
|
|
4224
4213
|
}
|
|
4225
|
-
function
|
|
4226
|
-
return e in
|
|
4214
|
+
function Ja(e) {
|
|
4215
|
+
return e in Ua || X.has(e);
|
|
4227
4216
|
}
|
|
4228
|
-
function
|
|
4229
|
-
return /* @__PURE__ */
|
|
4217
|
+
function Ya({ height: e }) {
|
|
4218
|
+
return /* @__PURE__ */ T("div", {
|
|
4230
4219
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
4231
4220
|
style: { height: typeof e == "number" ? `${e}px` : e || "200px" },
|
|
4232
|
-
children: /* @__PURE__ */
|
|
4221
|
+
children: /* @__PURE__ */ T("div", { className: "dc:animate-pulse bg-dc-surface-secondary dc:rounded dc:w-full dc:h-full dc:min-h-[100px]" })
|
|
4233
4222
|
});
|
|
4234
4223
|
}
|
|
4235
|
-
function
|
|
4236
|
-
let i =
|
|
4237
|
-
return /* @__PURE__ */
|
|
4238
|
-
fallback: t ?? /* @__PURE__ */
|
|
4239
|
-
children: /* @__PURE__ */
|
|
4224
|
+
function Xa({ chartType: e, fallback: t, height: n, ...r }) {
|
|
4225
|
+
let i = qa(e);
|
|
4226
|
+
return /* @__PURE__ */ T(pe, {
|
|
4227
|
+
fallback: t ?? /* @__PURE__ */ T(Ya, { height: n }),
|
|
4228
|
+
children: /* @__PURE__ */ T(i, {
|
|
4240
4229
|
height: n,
|
|
4241
4230
|
...r
|
|
4242
4231
|
})
|
|
4243
4232
|
});
|
|
4244
4233
|
}
|
|
4245
|
-
function
|
|
4246
|
-
let t =
|
|
4234
|
+
function Za(e) {
|
|
4235
|
+
let t = Ua[e];
|
|
4247
4236
|
t && t();
|
|
4248
4237
|
}
|
|
4249
|
-
function
|
|
4250
|
-
e.forEach(
|
|
4238
|
+
function Qa(e) {
|
|
4239
|
+
e.forEach(Za);
|
|
4251
4240
|
}
|
|
4252
|
-
function
|
|
4253
|
-
let e = Object.keys(
|
|
4241
|
+
function $a() {
|
|
4242
|
+
let e = Object.keys(Ua), t = Array.from(X.keys());
|
|
4254
4243
|
return [...new Set([...e, ...t])];
|
|
4255
4244
|
}
|
|
4256
|
-
function
|
|
4245
|
+
function eo(e) {
|
|
4257
4246
|
return !Y.has(e);
|
|
4258
4247
|
}
|
|
4259
|
-
function
|
|
4248
|
+
function to() {
|
|
4260
4249
|
return Array.from(Y);
|
|
4261
4250
|
}
|
|
4262
|
-
function
|
|
4251
|
+
function no(e, t, n, r) {
|
|
4263
4252
|
if (J.delete(e), Y.delete(e), n) {
|
|
4264
|
-
let t = r ?
|
|
4265
|
-
X.set(e,
|
|
4253
|
+
let t = r ? Ka(e, n) : n;
|
|
4254
|
+
X.set(e, _e(t));
|
|
4266
4255
|
} else if (t) {
|
|
4267
4256
|
let n = t;
|
|
4268
|
-
X.set(e,
|
|
4257
|
+
X.set(e, _e(() => Promise.resolve({ default: n })));
|
|
4269
4258
|
}
|
|
4270
4259
|
}
|
|
4271
|
-
function
|
|
4260
|
+
function ro(e) {
|
|
4272
4261
|
X.delete(e), J.delete(e), Y.delete(e);
|
|
4273
4262
|
}
|
|
4274
4263
|
//#endregion
|
|
4275
4264
|
//#region src/client/charts/chartConfigs.ts
|
|
4276
|
-
var
|
|
4265
|
+
var io = {
|
|
4277
4266
|
dropZones: [
|
|
4278
4267
|
{
|
|
4279
4268
|
key: "xAxis",
|
|
4280
|
-
label: "
|
|
4281
|
-
description: "
|
|
4269
|
+
label: "chart.dropZone.xAxis.label",
|
|
4270
|
+
description: "chart.dropZone.xAxis.description",
|
|
4282
4271
|
mandatory: !1,
|
|
4283
4272
|
acceptTypes: ["dimension", "timeDimension"],
|
|
4284
|
-
emptyText: "
|
|
4273
|
+
emptyText: "chart.dropZone.xAxis.empty"
|
|
4285
4274
|
},
|
|
4286
4275
|
{
|
|
4287
4276
|
key: "yAxis",
|
|
4288
|
-
label: "
|
|
4289
|
-
description: "
|
|
4277
|
+
label: "chart.dropZone.yAxis.label",
|
|
4278
|
+
description: "chart.dropZone.yAxis.description",
|
|
4290
4279
|
mandatory: !1,
|
|
4291
4280
|
acceptTypes: ["measure", "dimension"],
|
|
4292
|
-
emptyText: "
|
|
4281
|
+
emptyText: "chart.dropZone.yAxis.empty"
|
|
4293
4282
|
},
|
|
4294
4283
|
{
|
|
4295
4284
|
key: "series",
|
|
4296
|
-
label: "
|
|
4297
|
-
description: "
|
|
4285
|
+
label: "chart.dropZone.series.label",
|
|
4286
|
+
description: "chart.dropZone.series.description",
|
|
4298
4287
|
mandatory: !1,
|
|
4299
4288
|
acceptTypes: ["dimension"],
|
|
4300
|
-
emptyText: "
|
|
4289
|
+
emptyText: "chart.dropZone.series.empty"
|
|
4301
4290
|
}
|
|
4302
4291
|
],
|
|
4303
4292
|
displayOptions: [
|
|
@@ -4305,34 +4294,34 @@ var to = {
|
|
|
4305
4294
|
"showGrid",
|
|
4306
4295
|
"showTooltip"
|
|
4307
4296
|
]
|
|
4308
|
-
},
|
|
4309
|
-
bar: () => import("./chart-config-bar-
|
|
4310
|
-
line: () => import("./chart-config-line-
|
|
4311
|
-
area: () => import("./chart-config-area-
|
|
4312
|
-
pie: () => import("./chart-config-pie-
|
|
4313
|
-
scatter: () => import("./chart-config-scatter-
|
|
4314
|
-
radar: () => import("./chart-config-radar-
|
|
4315
|
-
radialBar: () => import("./chart-config-radial-bar-
|
|
4316
|
-
treemap: () => import("./chart-config-tree-map-
|
|
4317
|
-
bubble: () => import("./chart-config-bubble-
|
|
4318
|
-
table: () => import("./chart-config-data-table-
|
|
4319
|
-
activityGrid: () => import("./chart-config-activity-grid-
|
|
4320
|
-
kpiNumber: () => import("./chart-config-kpi-number-
|
|
4321
|
-
kpiDelta: () => import("./chart-config-kpi-delta-
|
|
4322
|
-
kpiText: () => import("./chart-config-kpi-text-
|
|
4323
|
-
markdown: () => import("./chart-config-markdown-
|
|
4324
|
-
funnel: () => import("./chart-config-funnel-
|
|
4325
|
-
sankey: () => import("./chart-config-sankey-
|
|
4326
|
-
sunburst: () => import("./chart-config-sunburst-
|
|
4327
|
-
heatmap: () => import("./chart-config-heat-map-
|
|
4328
|
-
retentionHeatmap: () => Promise.resolve().then(() =>
|
|
4329
|
-
retentionCombined: () => Promise.resolve().then(() =>
|
|
4330
|
-
boxPlot: () => import("./chart-config-box-plot-
|
|
4331
|
-
waterfall: () => import("./chart-config-waterfall-
|
|
4332
|
-
candlestick: () => import("./chart-config-candlestick-
|
|
4333
|
-
measureProfile: () => import("./chart-config-measure-profile-
|
|
4334
|
-
gauge: () => import("./chart-config-gauge-
|
|
4335
|
-
},
|
|
4297
|
+
}, ao = {
|
|
4298
|
+
bar: () => import("./chart-config-bar-B8_V4YLg.js").then((e) => e.t),
|
|
4299
|
+
line: () => import("./chart-config-line-BVKapAQK.js").then((e) => e.t),
|
|
4300
|
+
area: () => import("./chart-config-area-CMZpbIah.js").then((e) => e.t),
|
|
4301
|
+
pie: () => import("./chart-config-pie-BZxVl25X.js").then((e) => e.t),
|
|
4302
|
+
scatter: () => import("./chart-config-scatter-BVVJuOnt.js").then((e) => e.t),
|
|
4303
|
+
radar: () => import("./chart-config-radar-B7FByX3t.js").then((e) => e.t),
|
|
4304
|
+
radialBar: () => import("./chart-config-radial-bar-UfW_3yyX.js").then((e) => e.t),
|
|
4305
|
+
treemap: () => import("./chart-config-tree-map-IHp97OyV.js").then((e) => e.t),
|
|
4306
|
+
bubble: () => import("./chart-config-bubble-B0w0ZVp4.js").then((e) => e.t),
|
|
4307
|
+
table: () => import("./chart-config-data-table-BQXSn4b_.js").then((e) => e.t),
|
|
4308
|
+
activityGrid: () => import("./chart-config-activity-grid-C-EkgYoa.js").then((e) => e.t),
|
|
4309
|
+
kpiNumber: () => import("./chart-config-kpi-number-CeCkx7mC.js").then((e) => e.t),
|
|
4310
|
+
kpiDelta: () => import("./chart-config-kpi-delta-BraHQc2E.js").then((e) => e.t),
|
|
4311
|
+
kpiText: () => import("./chart-config-kpi-text-CImM3SvH.js").then((e) => e.t),
|
|
4312
|
+
markdown: () => import("./chart-config-markdown-C-_g_8te.js").then((e) => e.t),
|
|
4313
|
+
funnel: () => import("./chart-config-funnel-BzEsHmjR.js").then((e) => e.t),
|
|
4314
|
+
sankey: () => import("./chart-config-sankey-DGAThN9i.js").then((e) => e.t),
|
|
4315
|
+
sunburst: () => import("./chart-config-sunburst-utejM2YS.js").then((e) => e.t),
|
|
4316
|
+
heatmap: () => import("./chart-config-heat-map-Cv8qNnVP.js").then((e) => e.t),
|
|
4317
|
+
retentionHeatmap: () => Promise.resolve().then(() => yo),
|
|
4318
|
+
retentionCombined: () => Promise.resolve().then(() => xo),
|
|
4319
|
+
boxPlot: () => import("./chart-config-box-plot-Dwj7sEbU.js").then((e) => e.t),
|
|
4320
|
+
waterfall: () => import("./chart-config-waterfall-BdqG1V-x.js").then((e) => e.t),
|
|
4321
|
+
candlestick: () => import("./chart-config-candlestick-Bvo3zeIn.js").then((e) => e.t),
|
|
4322
|
+
measureProfile: () => import("./chart-config-measure-profile-KTVV1gO3.js").then((e) => e.t),
|
|
4323
|
+
gauge: () => import("./chart-config-gauge-C5ZiyZy7.js").then((e) => e.t)
|
|
4324
|
+
}, oo = {
|
|
4336
4325
|
bar: "barChartConfig",
|
|
4337
4326
|
line: "lineChartConfig",
|
|
4338
4327
|
area: "areaChartConfig",
|
|
@@ -4360,36 +4349,36 @@ var to = {
|
|
|
4360
4349
|
measureProfile: "measureProfileChartConfig",
|
|
4361
4350
|
gauge: "gaugeChartConfig"
|
|
4362
4351
|
}, Z = /* @__PURE__ */ new Map();
|
|
4363
|
-
async function
|
|
4352
|
+
async function so(e) {
|
|
4364
4353
|
if (Z.has(e)) return Z.get(e);
|
|
4365
|
-
let t =
|
|
4354
|
+
let t = ao[e];
|
|
4366
4355
|
if (!t) return null;
|
|
4367
4356
|
try {
|
|
4368
|
-
let n = (await t())[
|
|
4357
|
+
let n = (await t())[oo[e]];
|
|
4369
4358
|
return n ? (Z.set(e, n), n) : null;
|
|
4370
4359
|
} catch (t) {
|
|
4371
4360
|
return console.error(`Failed to load config for chart type: ${e}`, t), null;
|
|
4372
4361
|
}
|
|
4373
4362
|
}
|
|
4374
|
-
function
|
|
4375
|
-
return Z.get(e) ||
|
|
4363
|
+
function co(e) {
|
|
4364
|
+
return Z.get(e) || io;
|
|
4376
4365
|
}
|
|
4377
|
-
function
|
|
4366
|
+
function lo(e) {
|
|
4378
4367
|
return Z.has(e);
|
|
4379
4368
|
}
|
|
4380
|
-
function
|
|
4381
|
-
let [t, n] =
|
|
4382
|
-
return
|
|
4369
|
+
function uo(e) {
|
|
4370
|
+
let [t, n] = w(e ? co(e) : io), [r, i] = w(!1), [a, o] = w(!1);
|
|
4371
|
+
return S(() => {
|
|
4383
4372
|
if (!e) {
|
|
4384
|
-
n(
|
|
4373
|
+
n(io), o(!1);
|
|
4385
4374
|
return;
|
|
4386
4375
|
}
|
|
4387
4376
|
if (Z.has(e)) {
|
|
4388
4377
|
n(Z.get(e)), o(!0);
|
|
4389
4378
|
return;
|
|
4390
4379
|
}
|
|
4391
|
-
i(!0),
|
|
4392
|
-
e ? (n(e), o(!0)) : (n(
|
|
4380
|
+
i(!0), so(e).then((e) => {
|
|
4381
|
+
e ? (n(e), o(!0)) : (n(io), o(!0));
|
|
4393
4382
|
}).finally(() => i(!1));
|
|
4394
4383
|
}, [e]), {
|
|
4395
4384
|
config: t,
|
|
@@ -4397,15 +4386,15 @@ function so(e) {
|
|
|
4397
4386
|
loaded: a
|
|
4398
4387
|
};
|
|
4399
4388
|
}
|
|
4400
|
-
async function
|
|
4401
|
-
Z.has(e) || await
|
|
4389
|
+
async function fo(e) {
|
|
4390
|
+
Z.has(e) || await so(e);
|
|
4402
4391
|
}
|
|
4403
|
-
async function
|
|
4404
|
-
await Promise.all(e.map(
|
|
4392
|
+
async function po(e) {
|
|
4393
|
+
await Promise.all(e.map(fo));
|
|
4405
4394
|
}
|
|
4406
|
-
async function
|
|
4407
|
-
let e = Object.keys(
|
|
4408
|
-
await Promise.all(e.map(
|
|
4395
|
+
async function mo() {
|
|
4396
|
+
let e = Object.keys(ao);
|
|
4397
|
+
await Promise.all(e.map(so));
|
|
4409
4398
|
let t = {};
|
|
4410
4399
|
for (let n of e) {
|
|
4411
4400
|
let e = Z.get(n);
|
|
@@ -4413,141 +4402,141 @@ async function uo() {
|
|
|
4413
4402
|
}
|
|
4414
4403
|
return t;
|
|
4415
4404
|
}
|
|
4416
|
-
function
|
|
4405
|
+
function ho() {
|
|
4417
4406
|
Z.clear();
|
|
4418
4407
|
}
|
|
4419
|
-
function
|
|
4408
|
+
function go(e, t) {
|
|
4420
4409
|
Z.set(e, t);
|
|
4421
4410
|
}
|
|
4422
|
-
function
|
|
4411
|
+
function _o(e) {
|
|
4423
4412
|
Z.delete(e);
|
|
4424
4413
|
}
|
|
4425
4414
|
//#endregion
|
|
4426
4415
|
//#region src/client/providers/CubeMetaProvider.tsx
|
|
4427
|
-
function
|
|
4428
|
-
let { meta: t, labelMap: n, isLoading:
|
|
4416
|
+
function vo({ children: e }) {
|
|
4417
|
+
let { meta: t, labelMap: n, isLoading: r, error: a, refetch: o, getFieldLabel: s } = Wt(), c = a ? a instanceof Error ? a.message : String(a) : null, l = ve(() => {
|
|
4429
4418
|
o();
|
|
4430
|
-
}, [o]), u =
|
|
4419
|
+
}, [o]), u = ve((e) => s(e), [s]), d = C(() => ({
|
|
4431
4420
|
meta: t,
|
|
4432
4421
|
labelMap: n,
|
|
4433
|
-
metaLoading:
|
|
4422
|
+
metaLoading: r,
|
|
4434
4423
|
metaError: c,
|
|
4435
4424
|
getFieldLabel: u,
|
|
4436
4425
|
refetchMeta: l
|
|
4437
4426
|
}), [
|
|
4438
4427
|
t,
|
|
4439
4428
|
n,
|
|
4440
|
-
|
|
4429
|
+
r,
|
|
4441
4430
|
c,
|
|
4442
4431
|
u,
|
|
4443
4432
|
l
|
|
4444
4433
|
]);
|
|
4445
|
-
return /* @__PURE__ */
|
|
4434
|
+
return /* @__PURE__ */ T(i.Provider, {
|
|
4446
4435
|
value: d,
|
|
4447
4436
|
children: e
|
|
4448
4437
|
});
|
|
4449
4438
|
}
|
|
4450
4439
|
//#endregion
|
|
4451
4440
|
//#region src/client/components/charts/RetentionHeatmap.config.ts
|
|
4452
|
-
var
|
|
4453
|
-
label: "
|
|
4441
|
+
var yo = /* @__PURE__ */ t({ retentionHeatmapConfig: () => bo }), bo = {
|
|
4442
|
+
label: "chart.retentionHeatmap.label",
|
|
4454
4443
|
dropZones: [],
|
|
4455
4444
|
displayOptionsConfig: [{
|
|
4456
4445
|
key: "showLegend",
|
|
4457
|
-
label: "
|
|
4446
|
+
label: "chart.option.showLegend.label",
|
|
4458
4447
|
type: "boolean",
|
|
4459
4448
|
defaultValue: !0,
|
|
4460
|
-
description: "
|
|
4449
|
+
description: "chart.configText.show_the_color_intensity_legend"
|
|
4461
4450
|
}, {
|
|
4462
4451
|
key: "showTooltip",
|
|
4463
|
-
label: "
|
|
4452
|
+
label: "chart.option.showTooltip.label",
|
|
4464
4453
|
type: "boolean",
|
|
4465
4454
|
defaultValue: !0,
|
|
4466
|
-
description: "
|
|
4455
|
+
description: "chart.option.showTooltip.description"
|
|
4467
4456
|
}],
|
|
4468
|
-
description: "
|
|
4469
|
-
useCase: "
|
|
4470
|
-
},
|
|
4471
|
-
label: "
|
|
4457
|
+
description: "chart.retentionHeatmap.description",
|
|
4458
|
+
useCase: "chart.retentionHeatmap.useCase"
|
|
4459
|
+
}, xo = /* @__PURE__ */ t({ retentionCombinedConfig: () => So }), So = {
|
|
4460
|
+
label: "chart.retentionCombined.label",
|
|
4472
4461
|
dropZones: [],
|
|
4473
4462
|
displayOptionsConfig: [
|
|
4474
4463
|
{
|
|
4475
4464
|
key: "retentionDisplayMode",
|
|
4476
|
-
label: "
|
|
4465
|
+
label: "chart.option.retentionDisplayMode.label",
|
|
4477
4466
|
type: "select",
|
|
4478
4467
|
defaultValue: "line",
|
|
4479
4468
|
options: [
|
|
4480
4469
|
{
|
|
4481
4470
|
value: "line",
|
|
4482
|
-
label: "
|
|
4471
|
+
label: "chart.option.retentionDisplayMode.lineChart"
|
|
4483
4472
|
},
|
|
4484
4473
|
{
|
|
4485
4474
|
value: "heatmap",
|
|
4486
|
-
label: "
|
|
4475
|
+
label: "chart.option.retentionDisplayMode.heatmapTable"
|
|
4487
4476
|
},
|
|
4488
4477
|
{
|
|
4489
4478
|
value: "combined",
|
|
4490
|
-
label: "
|
|
4479
|
+
label: "chart.option.retentionDisplayMode.combined"
|
|
4491
4480
|
}
|
|
4492
4481
|
],
|
|
4493
|
-
description: "
|
|
4482
|
+
description: "chart.configText.choose_how_to_visualize_retention_data"
|
|
4494
4483
|
},
|
|
4495
4484
|
{
|
|
4496
4485
|
key: "showLegend",
|
|
4497
|
-
label: "
|
|
4486
|
+
label: "chart.option.showLegend.label",
|
|
4498
4487
|
type: "boolean",
|
|
4499
4488
|
defaultValue: !0,
|
|
4500
|
-
description: "
|
|
4489
|
+
description: "chart.configText.show_the_legend_for_breakdown_segments"
|
|
4501
4490
|
},
|
|
4502
4491
|
{
|
|
4503
4492
|
key: "showGrid",
|
|
4504
|
-
label: "
|
|
4493
|
+
label: "chart.option.showGrid.label",
|
|
4505
4494
|
type: "boolean",
|
|
4506
4495
|
defaultValue: !0,
|
|
4507
|
-
description: "
|
|
4496
|
+
description: "chart.option.showGrid.description"
|
|
4508
4497
|
},
|
|
4509
4498
|
{
|
|
4510
4499
|
key: "showTooltip",
|
|
4511
|
-
label: "
|
|
4500
|
+
label: "chart.option.showTooltip.label",
|
|
4512
4501
|
type: "boolean",
|
|
4513
4502
|
defaultValue: !0,
|
|
4514
|
-
description: "
|
|
4503
|
+
description: "chart.option.showTooltip.description"
|
|
4515
4504
|
}
|
|
4516
4505
|
],
|
|
4517
|
-
description: "
|
|
4518
|
-
useCase: "
|
|
4506
|
+
description: "chart.retentionCombined.description",
|
|
4507
|
+
useCase: "chart.retentionCombined.useCase"
|
|
4519
4508
|
}, Q = {
|
|
4520
|
-
bar:
|
|
4521
|
-
line:
|
|
4522
|
-
area:
|
|
4523
|
-
pie:
|
|
4524
|
-
scatter:
|
|
4525
|
-
bubble:
|
|
4526
|
-
radar:
|
|
4527
|
-
radialBar:
|
|
4528
|
-
treemap:
|
|
4529
|
-
table:
|
|
4530
|
-
activityGrid:
|
|
4531
|
-
kpiNumber:
|
|
4532
|
-
kpiDelta:
|
|
4533
|
-
kpiText:
|
|
4534
|
-
markdown:
|
|
4535
|
-
funnel:
|
|
4536
|
-
sankey:
|
|
4537
|
-
sunburst:
|
|
4538
|
-
heatmap:
|
|
4539
|
-
retentionHeatmap:
|
|
4540
|
-
retentionCombined:
|
|
4541
|
-
boxPlot:
|
|
4542
|
-
waterfall:
|
|
4543
|
-
candlestick:
|
|
4544
|
-
measureProfile:
|
|
4545
|
-
gauge:
|
|
4509
|
+
bar: l,
|
|
4510
|
+
line: u,
|
|
4511
|
+
area: d,
|
|
4512
|
+
pie: f,
|
|
4513
|
+
scatter: p,
|
|
4514
|
+
bubble: m,
|
|
4515
|
+
radar: h,
|
|
4516
|
+
radialBar: g,
|
|
4517
|
+
treemap: _,
|
|
4518
|
+
table: v,
|
|
4519
|
+
activityGrid: ee,
|
|
4520
|
+
kpiNumber: y,
|
|
4521
|
+
kpiDelta: b,
|
|
4522
|
+
kpiText: te,
|
|
4523
|
+
markdown: ne,
|
|
4524
|
+
funnel: re,
|
|
4525
|
+
sankey: ie,
|
|
4526
|
+
sunburst: ae,
|
|
4527
|
+
heatmap: oe,
|
|
4528
|
+
retentionHeatmap: bo,
|
|
4529
|
+
retentionCombined: So,
|
|
4530
|
+
boxPlot: se,
|
|
4531
|
+
waterfall: ce,
|
|
4532
|
+
candlestick: le,
|
|
4533
|
+
measureProfile: ue,
|
|
4534
|
+
gauge: de
|
|
4546
4535
|
};
|
|
4547
|
-
function
|
|
4536
|
+
function Co(e, t) {
|
|
4548
4537
|
Q[e] = t;
|
|
4549
4538
|
}
|
|
4550
|
-
function
|
|
4539
|
+
function wo(e) {
|
|
4551
4540
|
delete Q[e];
|
|
4552
4541
|
}
|
|
4553
4542
|
var $ = new class {
|
|
@@ -4561,13 +4550,13 @@ var $ = new class {
|
|
|
4561
4550
|
...e.config,
|
|
4562
4551
|
label: e.config.label || e.label
|
|
4563
4552
|
};
|
|
4564
|
-
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),
|
|
4553
|
+
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), Co(e.type, t), go(e.type, t), no(e.type, e.component, e.lazyComponent, e.dependencies), e.icon && this.iconMap.set(e.type, e.icon), this.bump();
|
|
4565
4554
|
}
|
|
4566
4555
|
unregister(e) {
|
|
4567
4556
|
if (!this.customCharts.has(e)) return;
|
|
4568
4557
|
this.customCharts.delete(e), this.iconMap.delete(e);
|
|
4569
4558
|
let t = this.builtInBackups.get(e);
|
|
4570
|
-
t ? (
|
|
4559
|
+
t ? (Co(e, t), go(e, t), this.builtInBackups.delete(e)) : (wo(e), _o(e)), ro(e), this.bump();
|
|
4571
4560
|
}
|
|
4572
4561
|
getIcon(e) {
|
|
4573
4562
|
return this.iconMap.get(e);
|
|
@@ -4587,70 +4576,78 @@ var $ = new class {
|
|
|
4587
4576
|
for (let e of this.listeners) e();
|
|
4588
4577
|
}
|
|
4589
4578
|
}();
|
|
4590
|
-
|
|
4579
|
+
ja((e) => $.getIcon(e));
|
|
4591
4580
|
//#endregion
|
|
4592
4581
|
//#region src/client/providers/CubeProvider.tsx
|
|
4593
|
-
var
|
|
4582
|
+
var To = { apiUrl: "/cubejs-api/v1" }, Eo = () => new _t({ defaultOptions: { queries: {
|
|
4594
4583
|
staleTime: 300 * 1e3,
|
|
4595
4584
|
gcTime: 900 * 1e3,
|
|
4596
4585
|
retry: 3,
|
|
4597
4586
|
refetchOnWindowFocus: !1
|
|
4598
4587
|
} } });
|
|
4599
|
-
|
|
4600
|
-
function
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4588
|
+
Eo();
|
|
4589
|
+
function Do({ cubeApi: e, apiOptions: t, token: r, options: i, features: o, dashboardModes: s, enableBatching: c, batchDelayMs: l, queryClient: u, customCharts: d, locale: f, translations: p, debugI18n: m, children: h }) {
|
|
4590
|
+
S(() => {
|
|
4591
|
+
a(!!m);
|
|
4592
|
+
}, [m]);
|
|
4593
|
+
let [g] = w(() => Eo()), _ = u ?? g, v = be([]);
|
|
4594
|
+
return S(() => {
|
|
4595
|
+
if (!d || d.length === 0) {
|
|
4596
|
+
for (let e of v.current) $.unregister(e);
|
|
4597
|
+
v.current = [];
|
|
4606
4598
|
return;
|
|
4607
4599
|
}
|
|
4608
|
-
let e = new Set(
|
|
4609
|
-
for (let t of
|
|
4610
|
-
for (let e of
|
|
4611
|
-
return
|
|
4612
|
-
for (let e of
|
|
4613
|
-
|
|
4600
|
+
let e = new Set(d.map((e) => e.type));
|
|
4601
|
+
for (let t of v.current) e.has(t) || $.unregister(t);
|
|
4602
|
+
for (let e of d) $.register(e);
|
|
4603
|
+
return v.current = d.map((e) => e.type), () => {
|
|
4604
|
+
for (let e of v.current) $.unregister(e);
|
|
4605
|
+
v.current = [];
|
|
4614
4606
|
};
|
|
4615
|
-
}, [
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4607
|
+
}, [d]), /* @__PURE__ */ T(n, {
|
|
4608
|
+
locale: f,
|
|
4609
|
+
translations: p,
|
|
4610
|
+
children: /* @__PURE__ */ T(bt, {
|
|
4611
|
+
client: _,
|
|
4612
|
+
children: /* @__PURE__ */ T(Bt, {
|
|
4613
|
+
apiOptions: t || To,
|
|
4614
|
+
token: r,
|
|
4615
|
+
options: i,
|
|
4616
|
+
locale: f,
|
|
4617
|
+
enableBatching: c,
|
|
4618
|
+
batchDelayMs: l,
|
|
4619
|
+
children: /* @__PURE__ */ T(vo, { children: /* @__PURE__ */ T(xn, {
|
|
4620
|
+
features: o,
|
|
4621
|
+
dashboardModes: s,
|
|
4622
|
+
children: h
|
|
4623
|
+
}) })
|
|
4624
|
+
})
|
|
4628
4625
|
})
|
|
4629
4626
|
});
|
|
4630
4627
|
}
|
|
4631
|
-
function
|
|
4632
|
-
let e =
|
|
4633
|
-
return
|
|
4628
|
+
function Oo() {
|
|
4629
|
+
let e = Vt(), t = r(), n = Cn();
|
|
4630
|
+
return C(() => ({
|
|
4634
4631
|
...e,
|
|
4635
4632
|
...t,
|
|
4636
|
-
features:
|
|
4637
|
-
dashboardModes:
|
|
4633
|
+
features: n.features,
|
|
4634
|
+
dashboardModes: n.dashboardModes
|
|
4638
4635
|
}), [
|
|
4639
4636
|
e,
|
|
4640
4637
|
t,
|
|
4641
|
-
|
|
4638
|
+
n
|
|
4642
4639
|
]);
|
|
4643
4640
|
}
|
|
4644
4641
|
//#endregion
|
|
4645
4642
|
//#region src/client/utils/pivotUtils.ts
|
|
4646
|
-
function
|
|
4643
|
+
function ko(e) {
|
|
4647
4644
|
if (!e) return [];
|
|
4648
4645
|
let t = [];
|
|
4649
4646
|
return e.dimensions && t.push(...e.dimensions), e.timeDimensions && e.timeDimensions.forEach((e) => {
|
|
4650
4647
|
t.includes(e.dimension) || t.push(e.dimension);
|
|
4651
4648
|
}), e.measures && t.push(...e.measures), t;
|
|
4652
4649
|
}
|
|
4653
|
-
function
|
|
4650
|
+
function Ao(e, t) {
|
|
4654
4651
|
if (!e?.timeDimensions?.length) return null;
|
|
4655
4652
|
let n = e.timeDimensions.find((e) => e.granularity);
|
|
4656
4653
|
if (!n?.granularity || !e.measures?.length) return null;
|
|
@@ -4667,17 +4664,17 @@ function Do(e, t) {
|
|
|
4667
4664
|
measures: i
|
|
4668
4665
|
};
|
|
4669
4666
|
}
|
|
4670
|
-
function
|
|
4667
|
+
function jo(e, t, n) {
|
|
4671
4668
|
let r = /* @__PURE__ */ new Set();
|
|
4672
4669
|
return e.forEach((e) => {
|
|
4673
|
-
let
|
|
4674
|
-
if (
|
|
4675
|
-
let e = i
|
|
4670
|
+
let i = e[t];
|
|
4671
|
+
if (i != null) {
|
|
4672
|
+
let e = s(i, n);
|
|
4676
4673
|
r.add(e);
|
|
4677
4674
|
}
|
|
4678
4675
|
}), Array.from(r).sort();
|
|
4679
4676
|
}
|
|
4680
|
-
function
|
|
4677
|
+
function Mo(e, t, n) {
|
|
4681
4678
|
let r = [];
|
|
4682
4679
|
return e.measures.length > 1 && r.push({
|
|
4683
4680
|
key: "__measure__",
|
|
@@ -4698,20 +4695,20 @@ function ko(e, t, n) {
|
|
|
4698
4695
|
});
|
|
4699
4696
|
}), r;
|
|
4700
4697
|
}
|
|
4701
|
-
function
|
|
4698
|
+
function No(e, t) {
|
|
4702
4699
|
let n = /* @__PURE__ */ new Map();
|
|
4703
4700
|
return e.forEach((e) => {
|
|
4704
4701
|
let r = t.dimensions.length > 0 ? t.dimensions.map((t) => String(e[t] ?? "")).join("|") : "__all__";
|
|
4705
4702
|
n.has(r) || n.set(r, /* @__PURE__ */ new Map());
|
|
4706
|
-
let
|
|
4707
|
-
if (
|
|
4708
|
-
let
|
|
4709
|
-
n.get(r).set(
|
|
4703
|
+
let i = e[t.timeDimension];
|
|
4704
|
+
if (i != null) {
|
|
4705
|
+
let a = s(i, t.granularity);
|
|
4706
|
+
n.get(r).set(a, e);
|
|
4710
4707
|
}
|
|
4711
4708
|
}), n;
|
|
4712
4709
|
}
|
|
4713
|
-
function
|
|
4714
|
-
let i =
|
|
4710
|
+
function Po(e, t, n, r) {
|
|
4711
|
+
let i = No(e, t), a = Array.from(i.keys()), o = [], s = t.measures.length, c = a.length;
|
|
4715
4712
|
return t.measures.forEach((e) => {
|
|
4716
4713
|
a.forEach((a, l) => {
|
|
4717
4714
|
let u = i.get(a), d = s > 1 ? `${e}|${a}` : a, f = {}, p = a === "__all__" ? [] : a.split("|");
|
|
@@ -4731,20 +4728,20 @@ function jo(e, t, n, r) {
|
|
|
4731
4728
|
});
|
|
4732
4729
|
}), o;
|
|
4733
4730
|
}
|
|
4734
|
-
function
|
|
4731
|
+
function Fo(e, t, n, r) {
|
|
4735
4732
|
if (!e || e.length === 0) return {
|
|
4736
4733
|
isPivoted: !0,
|
|
4737
4734
|
columns: [],
|
|
4738
4735
|
rows: []
|
|
4739
4736
|
};
|
|
4740
|
-
let i =
|
|
4737
|
+
let i = jo(e, t.timeDimension, t.granularity);
|
|
4741
4738
|
return {
|
|
4742
4739
|
isPivoted: !0,
|
|
4743
|
-
columns:
|
|
4744
|
-
rows:
|
|
4740
|
+
columns: Mo(t, i, n),
|
|
4741
|
+
rows: Po(e, t, i, n)
|
|
4745
4742
|
};
|
|
4746
4743
|
}
|
|
4747
|
-
function
|
|
4744
|
+
function Io(e, t) {
|
|
4748
4745
|
if (t?.cubes) for (let n of t.cubes) {
|
|
4749
4746
|
let t = n.measures.find((t) => t.name === e);
|
|
4750
4747
|
if (t) return t.type;
|
|
@@ -4752,72 +4749,72 @@ function No(e, t) {
|
|
|
4752
4749
|
}
|
|
4753
4750
|
//#endregion
|
|
4754
4751
|
//#region src/client/components/charts/DataTable.tsx
|
|
4755
|
-
var
|
|
4756
|
-
let {
|
|
4752
|
+
var Lo = /* @__PURE__ */ t({ default: () => Ro }), Ro = fe.memo(function({ data: e, chartConfig: t, displayConfig: n = {}, queryObject: i, height: a = 300 }) {
|
|
4753
|
+
let { t: s } = o(), { getFieldLabel: c, meta: l } = r(), u = C(() => Ao(i, t?.xAxis), [i, t?.xAxis]), d = n?.pivotTimeDimension !== !1, f = C(() => !u || !d ? null : Fo(e, u, c, l), [
|
|
4757
4754
|
e,
|
|
4755
|
+
u,
|
|
4756
|
+
d,
|
|
4758
4757
|
c,
|
|
4759
|
-
l
|
|
4760
|
-
o,
|
|
4761
|
-
s
|
|
4758
|
+
l
|
|
4762
4759
|
]);
|
|
4763
|
-
return !e || e.length === 0 ? /* @__PURE__ */
|
|
4760
|
+
return !e || e.length === 0 ? /* @__PURE__ */ T("div", {
|
|
4764
4761
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
4765
4762
|
style: { height: a },
|
|
4766
|
-
children: /* @__PURE__ */
|
|
4763
|
+
children: /* @__PURE__ */ E("div", {
|
|
4767
4764
|
className: "dc:text-center text-dc-text-muted",
|
|
4768
|
-
children: [/* @__PURE__ */
|
|
4765
|
+
children: [/* @__PURE__ */ T("div", {
|
|
4769
4766
|
className: "dc:text-sm dc:font-semibold dc:mb-1",
|
|
4770
|
-
children: "
|
|
4771
|
-
}), /* @__PURE__ */
|
|
4767
|
+
children: s("chart.runtime.noData")
|
|
4768
|
+
}), /* @__PURE__ */ T("div", {
|
|
4772
4769
|
className: "dc:text-xs text-dc-text-secondary",
|
|
4773
|
-
children: "
|
|
4770
|
+
children: s("chart.runtime.noDataHint.table")
|
|
4774
4771
|
})]
|
|
4775
4772
|
})
|
|
4776
|
-
}) :
|
|
4777
|
-
pivotedData:
|
|
4773
|
+
}) : f?.isPivoted && f.columns.length > 0 ? /* @__PURE__ */ T(zo, {
|
|
4774
|
+
pivotedData: f,
|
|
4778
4775
|
height: a,
|
|
4779
|
-
meta:
|
|
4780
|
-
leftYAxisFormat:
|
|
4781
|
-
}) : /* @__PURE__ */
|
|
4776
|
+
meta: l,
|
|
4777
|
+
leftYAxisFormat: n?.leftYAxisFormat
|
|
4778
|
+
}) : /* @__PURE__ */ T(Ho, {
|
|
4782
4779
|
data: e,
|
|
4783
4780
|
chartConfig: t,
|
|
4784
4781
|
queryObject: i,
|
|
4785
4782
|
height: a,
|
|
4786
|
-
getFieldLabel:
|
|
4787
|
-
leftYAxisFormat:
|
|
4783
|
+
getFieldLabel: c,
|
|
4784
|
+
leftYAxisFormat: n?.leftYAxisFormat
|
|
4788
4785
|
});
|
|
4789
4786
|
});
|
|
4790
|
-
function
|
|
4791
|
-
let {
|
|
4792
|
-
return
|
|
4787
|
+
function zo({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
|
|
4788
|
+
let { t: i } = o(), { columns: a, rows: s } = e;
|
|
4789
|
+
return a.length === 0 || s.length === 0 ? /* @__PURE__ */ T("div", {
|
|
4793
4790
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
4794
4791
|
style: { height: t },
|
|
4795
|
-
children: /* @__PURE__ */
|
|
4792
|
+
children: /* @__PURE__ */ E("div", {
|
|
4796
4793
|
className: "dc:text-center text-dc-text-muted",
|
|
4797
|
-
children: [/* @__PURE__ */
|
|
4794
|
+
children: [/* @__PURE__ */ T("div", {
|
|
4798
4795
|
className: "dc:text-sm dc:font-semibold dc:mb-1",
|
|
4799
|
-
children: "
|
|
4800
|
-
}), /* @__PURE__ */
|
|
4796
|
+
children: i("chart.runtime.noData")
|
|
4797
|
+
}), /* @__PURE__ */ T("div", {
|
|
4801
4798
|
className: "dc:text-xs text-dc-text-secondary",
|
|
4802
|
-
children: "
|
|
4799
|
+
children: i("chart.runtime.noDataHint.table")
|
|
4803
4800
|
})]
|
|
4804
4801
|
})
|
|
4805
|
-
}) : /* @__PURE__ */
|
|
4802
|
+
}) : /* @__PURE__ */ T("div", {
|
|
4806
4803
|
className: "dc:w-full dc:overflow-auto",
|
|
4807
4804
|
style: { height: t },
|
|
4808
|
-
children: /* @__PURE__ */
|
|
4805
|
+
children: /* @__PURE__ */ E("table", {
|
|
4809
4806
|
className: "dc:min-w-full dc:divide-y border-dc-border",
|
|
4810
|
-
children: [/* @__PURE__ */
|
|
4807
|
+
children: [/* @__PURE__ */ T("thead", {
|
|
4811
4808
|
className: "bg-dc-surface-secondary dc:sticky dc:top-0",
|
|
4812
|
-
children: /* @__PURE__ */
|
|
4809
|
+
children: /* @__PURE__ */ T("tr", { children: a.map((e) => /* @__PURE__ */ T("th", {
|
|
4813
4810
|
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"}`,
|
|
4814
4811
|
children: e.label
|
|
4815
4812
|
}, e.key)) })
|
|
4816
|
-
}), /* @__PURE__ */
|
|
4813
|
+
}), /* @__PURE__ */ T("tbody", {
|
|
4817
4814
|
className: "bg-dc-surface dc:divide-y border-dc-border",
|
|
4818
|
-
children:
|
|
4815
|
+
children: s.map((e) => /* @__PURE__ */ T(Bo, {
|
|
4819
4816
|
row: e,
|
|
4820
|
-
columns:
|
|
4817
|
+
columns: a,
|
|
4821
4818
|
meta: n,
|
|
4822
4819
|
leftYAxisFormat: r
|
|
4823
4820
|
}, e.id))
|
|
@@ -4825,87 +4822,87 @@ function Io({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
|
|
|
4825
4822
|
})
|
|
4826
4823
|
});
|
|
4827
4824
|
}
|
|
4828
|
-
function
|
|
4829
|
-
let i =
|
|
4830
|
-
return /* @__PURE__ */
|
|
4825
|
+
function Bo({ row: e, columns: t, meta: n, leftYAxisFormat: r }) {
|
|
4826
|
+
let i = Ra(Io(e.measureField, n));
|
|
4827
|
+
return /* @__PURE__ */ T("tr", {
|
|
4831
4828
|
className: "hover:bg-dc-surface-secondary",
|
|
4832
4829
|
children: t.map((t) => {
|
|
4833
4830
|
let n = e.values[t.key];
|
|
4834
|
-
return t.isMeasureColumn ? e.isFirstInGroup === !1 ? null : /* @__PURE__ */
|
|
4831
|
+
return t.isMeasureColumn ? e.isFirstInGroup === !1 ? null : /* @__PURE__ */ T("td", {
|
|
4835
4832
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text dc:align-top",
|
|
4836
4833
|
rowSpan: e.dimensionRowSpan,
|
|
4837
|
-
children: /* @__PURE__ */
|
|
4834
|
+
children: /* @__PURE__ */ E("div", {
|
|
4838
4835
|
className: "dc:flex dc:items-center",
|
|
4839
|
-
children: [/* @__PURE__ */
|
|
4836
|
+
children: [/* @__PURE__ */ T(i, { className: "dc:w-3.5 dc:h-3.5 dc:mr-1.5 text-dc-text-muted dc:shrink-0" }), /* @__PURE__ */ T("span", { children: n })]
|
|
4840
4837
|
})
|
|
4841
|
-
}, t.key) : t.isTimeColumn ? /* @__PURE__ */
|
|
4838
|
+
}, t.key) : t.isTimeColumn ? /* @__PURE__ */ T("td", {
|
|
4842
4839
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm dc:text-right text-dc-text",
|
|
4843
|
-
children:
|
|
4844
|
-
}, t.key) : /* @__PURE__ */
|
|
4840
|
+
children: Vo(n, r)
|
|
4841
|
+
}, t.key) : /* @__PURE__ */ T("td", {
|
|
4845
4842
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text",
|
|
4846
|
-
children:
|
|
4843
|
+
children: Vo(n)
|
|
4847
4844
|
}, t.key);
|
|
4848
4845
|
})
|
|
4849
4846
|
});
|
|
4850
4847
|
}
|
|
4851
|
-
function
|
|
4852
|
-
return e == null ? "-" : typeof e == "number" ? t ?
|
|
4848
|
+
function Vo(e, t) {
|
|
4849
|
+
return e == null ? "-" : typeof e == "number" ? t ? c(e, t) : Number.isInteger(e) ? e.toLocaleString() : parseFloat(e.toFixed(2)).toLocaleString() : typeof e == "boolean" ? e ? "Yes" : "No" : String(e);
|
|
4853
4850
|
}
|
|
4854
|
-
function
|
|
4855
|
-
let o = Object.keys(e[0] || {}),
|
|
4856
|
-
if (t?.xAxis && t.xAxis.length > 0) return t.xAxis.filter((e) =>
|
|
4857
|
-
let e =
|
|
4851
|
+
function Ho({ data: e, chartConfig: t, queryObject: n, height: r, getFieldLabel: i, leftYAxisFormat: a }) {
|
|
4852
|
+
let { t: s } = o(), c = Object.keys(e[0] || {}), l = C(() => {
|
|
4853
|
+
if (t?.xAxis && t.xAxis.length > 0) return t.xAxis.filter((e) => c.includes(e));
|
|
4854
|
+
let e = ko(n);
|
|
4858
4855
|
if (e.length > 0) {
|
|
4859
|
-
let t = e.filter((e) =>
|
|
4856
|
+
let t = e.filter((e) => c.includes(e)), n = c.filter((e) => !t.includes(e));
|
|
4860
4857
|
return [...t, ...n];
|
|
4861
4858
|
}
|
|
4862
|
-
return
|
|
4859
|
+
return c;
|
|
4863
4860
|
}, [
|
|
4864
4861
|
t?.xAxis,
|
|
4865
4862
|
n,
|
|
4866
|
-
|
|
4863
|
+
c
|
|
4867
4864
|
]);
|
|
4868
|
-
return
|
|
4865
|
+
return l.length === 0 ? /* @__PURE__ */ T("div", {
|
|
4869
4866
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
4870
4867
|
style: { height: r },
|
|
4871
|
-
children: /* @__PURE__ */
|
|
4868
|
+
children: /* @__PURE__ */ E("div", {
|
|
4872
4869
|
className: "dc:text-center text-dc-text-muted",
|
|
4873
|
-
children: [/* @__PURE__ */
|
|
4870
|
+
children: [/* @__PURE__ */ T("div", {
|
|
4874
4871
|
className: "dc:text-sm dc:font-semibold dc:mb-1",
|
|
4875
4872
|
children: "No columns available"
|
|
4876
|
-
}), /* @__PURE__ */
|
|
4873
|
+
}), /* @__PURE__ */ T("div", {
|
|
4877
4874
|
className: "dc:text-xs text-dc-text-secondary",
|
|
4878
|
-
children: "
|
|
4875
|
+
children: s("chart.runtime.table.invalidStructure")
|
|
4879
4876
|
})]
|
|
4880
4877
|
})
|
|
4881
|
-
}) : /* @__PURE__ */
|
|
4878
|
+
}) : /* @__PURE__ */ T("div", {
|
|
4882
4879
|
className: "dc:w-full dc:overflow-auto",
|
|
4883
4880
|
style: { height: r },
|
|
4884
|
-
children: /* @__PURE__ */
|
|
4881
|
+
children: /* @__PURE__ */ E("table", {
|
|
4885
4882
|
className: "dc:min-w-full dc:divide-y border-dc-border",
|
|
4886
|
-
children: [/* @__PURE__ */
|
|
4883
|
+
children: [/* @__PURE__ */ T("thead", {
|
|
4887
4884
|
className: "bg-dc-surface-secondary dc:sticky dc:top-0",
|
|
4888
|
-
children: /* @__PURE__ */
|
|
4885
|
+
children: /* @__PURE__ */ T("tr", { children: l.map((e) => /* @__PURE__ */ T("th", {
|
|
4889
4886
|
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",
|
|
4890
4887
|
children: i(e)
|
|
4891
4888
|
}, e)) })
|
|
4892
|
-
}), /* @__PURE__ */
|
|
4889
|
+
}), /* @__PURE__ */ T("tbody", {
|
|
4893
4890
|
className: "bg-dc-surface dc:divide-y border-dc-border",
|
|
4894
|
-
children: e.map((e, t) => /* @__PURE__ */
|
|
4891
|
+
children: e.map((e, t) => /* @__PURE__ */ T("tr", {
|
|
4895
4892
|
className: "hover:bg-dc-surface-secondary",
|
|
4896
|
-
children:
|
|
4893
|
+
children: l.map((t) => /* @__PURE__ */ T("td", {
|
|
4897
4894
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text",
|
|
4898
|
-
children:
|
|
4895
|
+
children: Uo(e[t], a)
|
|
4899
4896
|
}, t))
|
|
4900
4897
|
}, t))
|
|
4901
4898
|
})]
|
|
4902
4899
|
})
|
|
4903
4900
|
});
|
|
4904
4901
|
}
|
|
4905
|
-
function
|
|
4906
|
-
return e == null ? "" : typeof e == "number" ? t ?
|
|
4902
|
+
function Uo(e, t) {
|
|
4903
|
+
return e == null ? "" : typeof e == "number" ? t ? c(e, t) : e.toLocaleString() : typeof e == "boolean" ? e ? "Yes" : "No" : String(e);
|
|
4907
4904
|
}
|
|
4908
4905
|
//#endregion
|
|
4909
|
-
export {
|
|
4906
|
+
export { Lt as $, q as A, ci as B, to as C, Qa as D, Za as E, Fa as F, Jt as G, vn as H, Ia as I, Yt as J, $t as K, Pa as L, Ma as M, La as N, za as O, Ra as P, Ft as Q, ka as R, $a as S, Ja as T, pn as U, Cn as V, mn as W, Wt as X, qt as Y, Vt as Z, mo as _, Ue as _t, Ao as a, Ot as at, uo as b, Oo as c, St as ct, xo as d, rt as dt, Pt as et, yo as f, F as ft, lo as g, Ne as gt, co as h, Me as ht, ko as i, Et as it, Na as j, Ba as k, $ as l, yt as lt, so as m, k as mt, Lo as n, Mt as nt, Fo as o, Dt as ot, ho as p, M as pt, Xt as q, Io as r, jt as rt, Do as s, Tt as st, Ro as t, kt as tt, Q as u, mt as ut, fo as v, D as vt, eo as w, Xa as x, po as y, Oa as z };
|
|
4910
4907
|
|
|
4911
|
-
//# sourceMappingURL=chart-data-table-
|
|
4908
|
+
//# sourceMappingURL=chart-data-table-C3Xh9jwL.js.map
|