drizzle-cube 0.3.27 → 0.3.28

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.
Files changed (101) hide show
  1. package/dist/adapters/utils.cjs +1 -1
  2. package/dist/adapters/utils.js +5 -5
  3. package/dist/client/charts.js +12 -12
  4. package/dist/client/chunks/{DashboardEditModal-CVMSvpJ-.js → DashboardEditModal-t5XeTZom.js} +45 -45
  5. package/dist/client/chunks/DashboardEditModal-t5XeTZom.js.map +1 -0
  6. package/dist/client/chunks/{RetentionCombinedChart-BVKWmxc-.js → RetentionCombinedChart-SsBGHJWi.js} +9 -9
  7. package/dist/client/chunks/RetentionCombinedChart-SsBGHJWi.js.map +1 -0
  8. package/dist/client/chunks/{RetentionHeatmap-BiqfhGYk.js → RetentionHeatmap-BHYU8MXY.js} +8 -8
  9. package/dist/client/chunks/RetentionHeatmap-BHYU8MXY.js.map +1 -0
  10. package/dist/client/chunks/{analysis-builder-CuTR61Ct.js → analysis-builder-CKVYG9jJ.js} +67 -67
  11. package/dist/client/chunks/analysis-builder-CKVYG9jJ.js.map +1 -0
  12. package/dist/client/chunks/{analysis-builder-shared-D7iqklYk.js → analysis-builder-shared-CF8Vx1oD.js} +8 -8
  13. package/dist/client/chunks/analysis-builder-shared-CF8Vx1oD.js.map +1 -0
  14. package/dist/client/chunks/{chart-activity-grid-BcMRkaq4.js → chart-activity-grid-Bpu_-8uT.js} +5 -5
  15. package/dist/client/chunks/{chart-activity-grid-BcMRkaq4.js.map → chart-activity-grid-Bpu_-8uT.js.map} +1 -1
  16. package/dist/client/chunks/{chart-area-KlBSb_ur.js → chart-area-DcvLkvGb.js} +8 -8
  17. package/dist/client/chunks/chart-area-DcvLkvGb.js.map +1 -0
  18. package/dist/client/chunks/{chart-bar-D1i2jmIg.js → chart-bar-CNfm5iMY.js} +7 -7
  19. package/dist/client/chunks/chart-bar-CNfm5iMY.js.map +1 -0
  20. package/dist/client/chunks/{chart-bubble-BFjnOwNZ.js → chart-bubble-KA-RYWR8.js} +4 -4
  21. package/dist/client/chunks/{chart-bubble-BFjnOwNZ.js.map → chart-bubble-KA-RYWR8.js.map} +1 -1
  22. package/dist/client/chunks/{chart-data-table-CYMMAHau.js → chart-data-table-Cq14arji.js} +9 -9
  23. package/dist/client/chunks/chart-data-table-Cq14arji.js.map +1 -0
  24. package/dist/client/chunks/{chart-funnel-BH7r4HWZ.js → chart-funnel-DFKWS49U.js} +7 -7
  25. package/dist/client/chunks/chart-funnel-DFKWS49U.js.map +1 -0
  26. package/dist/client/chunks/{chart-heat-map-DyGtODLE.js → chart-heat-map-D2g0dbKz.js} +5 -5
  27. package/dist/client/chunks/chart-heat-map-D2g0dbKz.js.map +1 -0
  28. package/dist/client/chunks/{chart-kpi-delta-Bk396suk.js → chart-kpi-delta-Cc-jiBd0.js} +30 -30
  29. package/dist/client/chunks/chart-kpi-delta-Cc-jiBd0.js.map +1 -0
  30. package/dist/client/chunks/{chart-kpi-number-CIGqZ5Dw.js → chart-kpi-number-BXolYaZA.js} +8 -8
  31. package/dist/client/chunks/chart-kpi-number-BXolYaZA.js.map +1 -0
  32. package/dist/client/chunks/{chart-kpi-text-iwlaSQCi.js → chart-kpi-text-PA8oyypA.js} +7 -7
  33. package/dist/client/chunks/chart-kpi-text-PA8oyypA.js.map +1 -0
  34. package/dist/client/chunks/{chart-line-BKqhoW9A.js → chart-line-BOrtUdOD.js} +8 -8
  35. package/dist/client/chunks/chart-line-BOrtUdOD.js.map +1 -0
  36. package/dist/client/chunks/{chart-markdown-CiPhRY9s.js → chart-markdown-Cget3iEq.js} +6 -6
  37. package/dist/client/chunks/chart-markdown-Cget3iEq.js.map +1 -0
  38. package/dist/client/chunks/{chart-pie-BNr-GgTh.js → chart-pie-B-Sbsvd2.js} +7 -7
  39. package/dist/client/chunks/chart-pie-B-Sbsvd2.js.map +1 -0
  40. package/dist/client/chunks/{chart-radar-CYrGVYEQ.js → chart-radar-CezgvXhm.js} +6 -6
  41. package/dist/client/chunks/chart-radar-CezgvXhm.js.map +1 -0
  42. package/dist/client/chunks/{chart-radial-bar-2PR3ucIR.js → chart-radial-bar-COBPiBxm.js} +6 -6
  43. package/dist/client/chunks/chart-radial-bar-COBPiBxm.js.map +1 -0
  44. package/dist/client/chunks/{chart-sankey-C7w7h2ZV.js → chart-sankey-O4WQBRDk.js} +27 -27
  45. package/dist/client/chunks/{chart-sankey-C7w7h2ZV.js.map → chart-sankey-O4WQBRDk.js.map} +1 -1
  46. package/dist/client/chunks/{chart-scatter-D3Z9bl8H.js → chart-scatter-BVF0n9DR.js} +22 -22
  47. package/dist/client/chunks/chart-scatter-BVF0n9DR.js.map +1 -0
  48. package/dist/client/chunks/{chart-sunburst-C4ydFeaK.js → chart-sunburst-DZzVj_6S.js} +4 -4
  49. package/dist/client/chunks/{chart-sunburst-C4ydFeaK.js.map → chart-sunburst-DZzVj_6S.js.map} +1 -1
  50. package/dist/client/chunks/{chart-tree-map-DCCmMyz1.js → chart-tree-map-CeEtNuo6.js} +6 -6
  51. package/dist/client/chunks/chart-tree-map-CeEtNuo6.js.map +1 -0
  52. package/dist/client/chunks/{charts-core-DIW3Dd7n.js → charts-core-DF99lItO.js} +4 -4
  53. package/dist/client/chunks/charts-core-DF99lItO.js.map +1 -0
  54. package/dist/client/chunks/{charts-loader-BCBnMYjH.js → charts-loader-AkRviD9H.js} +22 -22
  55. package/dist/client/chunks/{charts-loader-BCBnMYjH.js.map → charts-loader-AkRviD9H.js.map} +1 -1
  56. package/dist/client/chunks/{core-BITzuqYm.js → core-Bso4ultM.js} +2 -2
  57. package/dist/client/chunks/{core-BITzuqYm.js.map → core-Bso4ultM.js.map} +1 -1
  58. package/dist/client/chunks/{hooks-Dd_nnv0J.js → hooks-B69r8rwU.js} +4 -4
  59. package/dist/client/chunks/{hooks-Dd_nnv0J.js.map → hooks-B69r8rwU.js.map} +1 -1
  60. package/dist/client/chunks/{providers-BjxD1ZmC.js → providers-CxlSRYvE.js} +2 -2
  61. package/dist/client/chunks/{providers-BjxD1ZmC.js.map → providers-CxlSRYvE.js.map} +1 -1
  62. package/dist/client/chunks/{syntaxHighlighting-Cmqp7_Mx.js → syntaxHighlighting-yTdSle2t.js} +2 -2
  63. package/dist/client/chunks/{syntaxHighlighting-Cmqp7_Mx.js.map → syntaxHighlighting-yTdSle2t.js.map} +1 -1
  64. package/dist/client/chunks/{useDirtyStateTracking-B5g-bw7a.js → useDirtyStateTracking-GZtwGRu7.js} +3 -3
  65. package/dist/client/chunks/{useDirtyStateTracking-B5g-bw7a.js.map → useDirtyStateTracking-GZtwGRu7.js.map} +1 -1
  66. package/dist/client/chunks/{vendor-CJRtj0__.js → vendor-B_H-VRhj.js} +97 -99
  67. package/dist/client/chunks/vendor-B_H-VRhj.js.map +1 -0
  68. package/dist/client/components.js +4 -4
  69. package/dist/client/components.js.map +1 -1
  70. package/dist/client/hooks.js +3 -3
  71. package/dist/client/index.js +10 -10
  72. package/dist/client/index.js.map +1 -1
  73. package/dist/client/providers.js +1 -1
  74. package/dist/client/styles.css +1 -1
  75. package/dist/client/utils.js +6 -6
  76. package/dist/client-bundle-stats.html +1 -1
  77. package/dist/server/index.cjs +1 -1
  78. package/dist/server/index.js +482 -482
  79. package/package.json +1 -1
  80. package/dist/client/chunks/DashboardEditModal-CVMSvpJ-.js.map +0 -1
  81. package/dist/client/chunks/RetentionCombinedChart-BVKWmxc-.js.map +0 -1
  82. package/dist/client/chunks/RetentionHeatmap-BiqfhGYk.js.map +0 -1
  83. package/dist/client/chunks/analysis-builder-CuTR61Ct.js.map +0 -1
  84. package/dist/client/chunks/analysis-builder-shared-D7iqklYk.js.map +0 -1
  85. package/dist/client/chunks/chart-area-KlBSb_ur.js.map +0 -1
  86. package/dist/client/chunks/chart-bar-D1i2jmIg.js.map +0 -1
  87. package/dist/client/chunks/chart-data-table-CYMMAHau.js.map +0 -1
  88. package/dist/client/chunks/chart-funnel-BH7r4HWZ.js.map +0 -1
  89. package/dist/client/chunks/chart-heat-map-DyGtODLE.js.map +0 -1
  90. package/dist/client/chunks/chart-kpi-delta-Bk396suk.js.map +0 -1
  91. package/dist/client/chunks/chart-kpi-number-CIGqZ5Dw.js.map +0 -1
  92. package/dist/client/chunks/chart-kpi-text-iwlaSQCi.js.map +0 -1
  93. package/dist/client/chunks/chart-line-BKqhoW9A.js.map +0 -1
  94. package/dist/client/chunks/chart-markdown-CiPhRY9s.js.map +0 -1
  95. package/dist/client/chunks/chart-pie-BNr-GgTh.js.map +0 -1
  96. package/dist/client/chunks/chart-radar-CYrGVYEQ.js.map +0 -1
  97. package/dist/client/chunks/chart-radial-bar-2PR3ucIR.js.map +0 -1
  98. package/dist/client/chunks/chart-scatter-D3Z9bl8H.js.map +0 -1
  99. package/dist/client/chunks/chart-tree-map-DCCmMyz1.js.map +0 -1
  100. package/dist/client/chunks/charts-core-DIW3Dd7n.js.map +0 -1
  101. package/dist/client/chunks/vendor-CJRtj0__.js.map +0 -1
@@ -1,13 +1,13 @@
1
1
  import { jsxs as t, jsx as e, Fragment as se } from "react/jsx-runtime";
2
2
  import { useState as _, useCallback as R, memo as me, useEffect as Y, useRef as te, useMemo as z, Component as md, forwardRef as Pc, useImperativeHandle as hd } from "react";
3
- import { u as fd, g as pd } from "./providers-BjxD1ZmC.js";
4
- import { F as xd, G as pe, E as ht, C as Ct, D as gd, H as bd, q as yd, I as vd, u as Nd, J as wd } from "./analysis-builder-shared-D7iqklYk.js";
5
- import { Y as Yt, Z as Cd, f as Sd, a2 as Dd, a3 as Bc, a4 as Mc, a5 as qc, a6 as kd } from "./DashboardEditModal-CVMSvpJ-.js";
6
- import { i as Td, L as nc } from "./charts-loader-BCBnMYjH.js";
7
- import { c as ft, e as Ad } from "./hooks-Dd_nnv0J.js";
3
+ import { u as fd, g as pd } from "./providers-CxlSRYvE.js";
4
+ import { F as xd, G as pe, E as ht, C as Ct, D as gd, H as bd, q as yd, I as vd, u as Nd, J as wd } from "./analysis-builder-shared-CF8Vx1oD.js";
5
+ import { Y as Yt, Z as Cd, f as Sd, a2 as Dd, a3 as Bc, a4 as Mc, a5 as qc, a6 as kd } from "./DashboardEditModal-t5XeTZom.js";
6
+ import { i as Td, L as nc } from "./charts-loader-AkRviD9H.js";
7
+ import { c as ft, e as Ad } from "./hooks-B69r8rwU.js";
8
8
  import { b as A, g as tc } from "./icons-DRreo6m8.js";
9
- import { S as ue } from "./charts-core-DIW3Dd7n.js";
10
- import { p as $d, q as Id, r as Rd, D as zt, s as pt, n as Ze, F as Qc } from "./useDirtyStateTracking-B5g-bw7a.js";
9
+ import { S as ue } from "./charts-core-DF99lItO.js";
10
+ import { p as $d, q as Id, r as Rd, D as zt, s as pt, n as Ze, F as Qc } from "./useDirtyStateTracking-GZtwGRu7.js";
11
11
  import { useChartConfig as Fd } from "../charts.js";
12
12
  import { AnalysisDisplayConfigPanel as St } from "../components.js";
13
13
  import { b as rc, F as sc } from "./flow-utils-CjQZG5qq.js";
@@ -63,7 +63,7 @@ const Pd = ({ analysis: r }) => {
63
63
  ] }),
64
64
  /* @__PURE__ */ t("div", { className: "bg-dc-surface dc:p-3 dc:rounded dc:text-sm", children: [
65
65
  /* @__PURE__ */ t("div", { className: "dc:flex dc:items-center dc:gap-2 dc:mb-2 dc:flex-wrap", children: [
66
- /* @__PURE__ */ e("span", { className: "font-mono dc:font-medium text-dc-primary", children: r.primaryCube.selectedCube }),
66
+ /* @__PURE__ */ e("span", { className: "dc:font-mono dc:font-medium text-dc-primary", children: r.primaryCube.selectedCube }),
67
67
  /* @__PURE__ */ e("span", { className: `dc:text-xs dc:px-2 dc:py-0.5 dc:rounded ${jd(r.primaryCube.reason)}`, children: uc(r.primaryCube.reason) })
68
68
  ] }),
69
69
  /* @__PURE__ */ e("p", { className: "text-dc-text-secondary dc:text-xs", children: r.primaryCube.explanation }),
@@ -74,7 +74,7 @@ const Pd = ({ analysis: r }) => {
74
74
  ")"
75
75
  ] }),
76
76
  /* @__PURE__ */ e("div", { className: "dc:mt-2 dc:space-y-1 dc:ml-2", children: r.primaryCube.candidates.map((n, p) => /* @__PURE__ */ t("div", { className: "dc:text-xs dc:flex dc:items-center dc:gap-2 dc:flex-wrap", children: [
77
- /* @__PURE__ */ e("span", { className: `font-mono ${n.cubeName === r.primaryCube.selectedCube ? "dc:font-bold text-dc-primary" : "text-dc-text-muted"}`, children: n.cubeName }),
77
+ /* @__PURE__ */ e("span", { className: `dc:font-mono ${n.cubeName === r.primaryCube.selectedCube ? "dc:font-bold text-dc-primary" : "text-dc-text-muted"}`, children: n.cubeName }),
78
78
  /* @__PURE__ */ t("span", { className: "text-dc-text-muted", children: [
79
79
  "dims: ",
80
80
  n.dimensionCount,
@@ -99,9 +99,9 @@ const Pd = ({ analysis: r }) => {
99
99
  ] }),
100
100
  /* @__PURE__ */ e("div", { className: "dc:space-y-2", children: r.joinPaths.map((n, p) => /* @__PURE__ */ t("div", { className: "bg-dc-surface dc:p-3 dc:rounded dc:text-sm", children: [
101
101
  /* @__PURE__ */ t("div", { className: "dc:flex dc:items-center dc:gap-2 dc:mb-2 dc:flex-wrap", children: [
102
- /* @__PURE__ */ e("span", { className: "font-mono text-dc-text-secondary", children: r.primaryCube.selectedCube }),
102
+ /* @__PURE__ */ e("span", { className: "dc:font-mono text-dc-text-secondary", children: r.primaryCube.selectedCube }),
103
103
  /* @__PURE__ */ e(a, { className: "dc:w-4 dc:h-4 text-dc-text-muted" }),
104
- /* @__PURE__ */ e("span", { className: "font-mono dc:font-medium text-dc-text", children: n.targetCube }),
104
+ /* @__PURE__ */ e("span", { className: "dc:font-mono dc:font-medium text-dc-text", children: n.targetCube }),
105
105
  n.pathFound ? /* @__PURE__ */ t("span", { className: "dc:text-xs dc:px-2 dc:py-0.5 bg-dc-success-bg text-dc-success dc:rounded", children: [
106
106
  n.pathLength,
107
107
  " step",
@@ -109,9 +109,9 @@ const Pd = ({ analysis: r }) => {
109
109
  ] }) : /* @__PURE__ */ e("span", { className: "dc:text-xs dc:px-2 dc:py-0.5 bg-dc-error-bg text-dc-error dc:rounded", children: "No path" })
110
110
  ] }),
111
111
  n.pathFound && n.path && n.path.length > 0 && /* @__PURE__ */ e("div", { className: "dc:space-y-1 dc:ml-2", children: n.path.map((g, d) => /* @__PURE__ */ t("div", { className: "dc:flex dc:items-center dc:gap-1 dc:text-xs dc:flex-wrap", children: [
112
- /* @__PURE__ */ e("span", { className: "font-mono text-dc-text-secondary", children: g.fromCube }),
112
+ /* @__PURE__ */ e("span", { className: "dc:font-mono text-dc-text-secondary", children: g.fromCube }),
113
113
  /* @__PURE__ */ e(a, { className: "dc:w-3 dc:h-3 text-dc-text-muted" }),
114
- /* @__PURE__ */ e("span", { className: "font-mono text-dc-text", children: g.toCube }),
114
+ /* @__PURE__ */ e("span", { className: "dc:font-mono text-dc-text", children: g.toCube }),
115
115
  /* @__PURE__ */ t("span", { className: "text-dc-text-muted", children: [
116
116
  "(",
117
117
  g.relationship,
@@ -142,9 +142,9 @@ const Pd = ({ analysis: r }) => {
142
142
  ] }),
143
143
  /* @__PURE__ */ e("div", { className: "dc:space-y-2", children: r.preAggregations.map((n, p) => /* @__PURE__ */ t("div", { className: "bg-dc-surface dc:p-3 dc:rounded dc:text-sm", children: [
144
144
  /* @__PURE__ */ t("div", { className: "dc:flex dc:items-center dc:gap-2 dc:mb-1 dc:flex-wrap", children: [
145
- /* @__PURE__ */ e("span", { className: "font-mono dc:font-medium text-dc-text", children: n.cubeName }),
145
+ /* @__PURE__ */ e("span", { className: "dc:font-mono dc:font-medium text-dc-text", children: n.cubeName }),
146
146
  /* @__PURE__ */ e("span", { className: "dc:text-xs text-dc-text-muted", children: "as" }),
147
- /* @__PURE__ */ e("code", { className: "dc:text-xs bg-dc-surface-secondary dc:px-1 dc:rounded font-mono", children: n.cteAlias })
147
+ /* @__PURE__ */ e("code", { className: "dc:text-xs bg-dc-surface-secondary dc:px-1 dc:rounded dc:font-mono", children: n.cteAlias })
148
148
  ] }),
149
149
  /* @__PURE__ */ e("p", { className: "dc:text-xs text-dc-text-secondary", children: n.reason }),
150
150
  /* @__PURE__ */ t("div", { className: "dc:mt-1 dc:text-xs text-dc-text-muted", children: [
@@ -584,7 +584,7 @@ const Kd = me(function({
584
584
  ...m[0],
585
585
  measures: q
586
586
  };
587
- }, [m]), Me = A("success"), ot = A("error"), Je = A("warning"), Ie = A("table"), Ye = A("measure"), lt = A("codeBracket"), Kt = A("share"), ze = A("check"), ut = A("delete"), V = A("sparkles"), re = A("arrowPath"), We = () => /* @__PURE__ */ e("div", { className: "dc:h-full dc:flex dc:items-center dc:justify-center", children: /* @__PURE__ */ t("div", { className: "text-center", children: [
587
+ }, [m]), Me = A("success"), ot = A("error"), Je = A("warning"), Ie = A("table"), Ye = A("measure"), lt = A("codeBracket"), Kt = A("share"), ze = A("check"), ut = A("delete"), V = A("sparkles"), re = A("arrowPath"), We = () => /* @__PURE__ */ e("div", { className: "dc:h-full dc:flex dc:items-center dc:justify-center", children: /* @__PURE__ */ t("div", { className: "dc:text-center", children: [
588
588
  /* @__PURE__ */ e(
589
589
  "div",
590
590
  {
@@ -596,15 +596,15 @@ const Kd = me(function({
596
596
  /* @__PURE__ */ e("div", { className: "dc:text-xs text-dc-text-muted", children: "Running your query against the cube API" })
597
597
  ] }) }), we = () => /* @__PURE__ */ t("div", { className: "dc:h-full dc:flex dc:flex-col", children: [
598
598
  Jt(),
599
- /* @__PURE__ */ e("div", { className: "dc:flex-1 dc:flex dc:items-center dc:justify-center dc:p-4", children: be ? /* @__PURE__ */ e("div", { className: "dc:w-full dc:h-full dc:overflow-auto", children: Vt() }) : /* @__PURE__ */ t("div", { className: "text-center dc:max-w-md", children: [
599
+ /* @__PURE__ */ e("div", { className: "dc:flex-1 dc:flex dc:items-center dc:justify-center dc:p-4", children: be ? /* @__PURE__ */ e("div", { className: "dc:w-full dc:h-full dc:overflow-auto", children: Vt() }) : /* @__PURE__ */ t("div", { className: "dc:text-center dc:max-w-md", children: [
600
600
  /* @__PURE__ */ e(ot, { className: "dc:w-12 dc:h-12 dc:mx-auto text-dc-error dc:mb-4" }),
601
601
  /* @__PURE__ */ e("div", { className: "dc:text-sm dc:font-semibold text-dc-text dc:mb-2", children: "Query Execution Failed" }),
602
602
  /* @__PURE__ */ e("div", { className: "dc:text-sm text-dc-text-secondary dc:mb-4", children: "There was an error executing your query. Please check the query and try again." }),
603
- i && /* @__PURE__ */ e("div", { className: "bg-dc-danger-bg dc:border border-dc-error dc:rounded-lg dc:p-3 text-left", children: /* @__PURE__ */ e("div", { className: "dc:text-xs font-mono text-dc-error dc:break-words", children: i }) })
603
+ i && /* @__PURE__ */ e("div", { className: "bg-dc-danger-bg dc:border border-dc-error dc:rounded-lg dc:p-3 dc:text-left", children: /* @__PURE__ */ e("div", { className: "dc:text-xs dc:font-mono text-dc-error dc:break-words", children: i }) })
604
604
  ] }) })
605
605
  ] }), cc = !!m?.some(
606
606
  (q) => q?.measures && q.measures.length > 0 || q?.dimensions && q.dimensions.length > 0 || q?.timeDimensions && q.timeDimensions.length > 0
607
- ), Ht = z(() => he ? Z !== null : oe ? W !== null : fe ? Q !== null : cc, [he, oe, fe, Z, W, Q, cc]), Wc = () => /* @__PURE__ */ e("div", { className: "dc:h-full dc:flex dc:items-center dc:justify-center", children: /* @__PURE__ */ t("div", { className: "text-center", children: [
607
+ ), Ht = z(() => he ? Z !== null : oe ? W !== null : fe ? Q !== null : cc, [he, oe, fe, Z, W, Q, cc]), Wc = () => /* @__PURE__ */ e("div", { className: "dc:h-full dc:flex dc:items-center dc:justify-center", children: /* @__PURE__ */ t("div", { className: "dc:text-center", children: [
608
608
  /* @__PURE__ */ e(
609
609
  "div",
610
610
  {
@@ -614,7 +614,7 @@ const Kd = me(function({
614
614
  ),
615
615
  /* @__PURE__ */ e("div", { className: "dc:text-sm dc:font-semibold text-dc-text-secondary dc:mb-1", children: "Preparing Query..." }),
616
616
  /* @__PURE__ */ e("div", { className: "dc:text-xs text-dc-text-muted", children: "Your query will execute shortly" })
617
- ] }) }), Uc = () => /* @__PURE__ */ e("div", { className: "dc:h-full dc:flex dc:items-center dc:justify-center", children: /* @__PURE__ */ t("div", { className: "text-center", children: [
617
+ ] }) }), Uc = () => /* @__PURE__ */ e("div", { className: "dc:h-full dc:flex dc:items-center dc:justify-center", children: /* @__PURE__ */ t("div", { className: "dc:text-center", children: [
618
618
  /* @__PURE__ */ e("svg", { className: "dc:w-12 dc:h-12 dc:mx-auto text-dc-warning dc:mb-4", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ e("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15" }) }),
619
619
  /* @__PURE__ */ e("div", { className: "dc:text-sm dc:font-semibold text-dc-text-secondary dc:mb-1", children: "Ready to Execute" }),
620
620
  /* @__PURE__ */ e("div", { className: "dc:text-xs text-dc-text-muted dc:mb-4", children: "Click refresh to run your query" }),
@@ -631,7 +631,7 @@ const Kd = me(function({
631
631
  )
632
632
  ] }) }), Xc = () => {
633
633
  let q = "Add metrics or breakdowns from the panel on the right to see results";
634
- return he ? q = "Select a cube and configure retention settings to see results" : oe ? q = "Add funnel steps to see conversion analysis" : fe && (q = "Configure flow analysis to see user journey paths"), /* @__PURE__ */ e("div", { className: "dc:h-full dc:flex dc:items-center dc:justify-center dc:pt-6", children: /* @__PURE__ */ t("div", { className: "text-center dc:mb-16", children: [
634
+ return he ? q = "Select a cube and configure retention settings to see results" : oe ? q = "Add funnel steps to see conversion analysis" : fe && (q = "Configure flow analysis to see user journey paths"), /* @__PURE__ */ e("div", { className: "dc:h-full dc:flex dc:items-center dc:justify-center dc:pt-6", children: /* @__PURE__ */ t("div", { className: "dc:text-center dc:mb-16", children: [
635
635
  /* @__PURE__ */ e(Ye, { className: "dc:w-12 dc:h-12 dc:mx-auto text-dc-text-muted dc:mb-3" }),
636
636
  /* @__PURE__ */ e("div", { className: "dc:text-sm dc:font-semibold text-dc-text-secondary dc:mb-1", children: "No Results Yet" }),
637
637
  /* @__PURE__ */ e("div", { className: "dc:text-xs text-dc-text-muted dc:mb-4", children: q }),
@@ -647,13 +647,13 @@ const Kd = me(function({
647
647
  }
648
648
  )
649
649
  ] }) });
650
- }, Zc = () => /* @__PURE__ */ e("div", { className: "dc:h-full dc:flex dc:items-center dc:justify-center", children: /* @__PURE__ */ t("div", { className: "text-center", children: [
650
+ }, Zc = () => /* @__PURE__ */ e("div", { className: "dc:h-full dc:flex dc:items-center dc:justify-center", children: /* @__PURE__ */ t("div", { className: "dc:text-center", children: [
651
651
  /* @__PURE__ */ e(Me, { className: "dc:w-12 dc:h-12 dc:mx-auto text-dc-success dc:mb-3" }),
652
652
  /* @__PURE__ */ e("div", { className: "dc:text-sm dc:font-semibold text-dc-text dc:mb-1", children: "Query Successful" }),
653
653
  /* @__PURE__ */ e("div", { className: "dc:text-xs text-dc-text-muted", children: "No data returned from the query" })
654
654
  ] }) }), ed = () => {
655
655
  if (!a || a.length === 0)
656
- return /* @__PURE__ */ e("div", { className: "dc:flex dc:items-center dc:justify-center dc:h-full text-dc-text-muted", children: /* @__PURE__ */ t("div", { className: "text-center", children: [
656
+ return /* @__PURE__ */ e("div", { className: "dc:flex dc:items-center dc:justify-center dc:h-full text-dc-text-muted", children: /* @__PURE__ */ t("div", { className: "dc:text-center", children: [
657
657
  /* @__PURE__ */ e(Ye, { className: "dc:w-12 dc:h-12 dc:mx-auto dc:mb-3 dc:opacity-50" }),
658
658
  /* @__PURE__ */ e("div", { className: "dc:text-sm dc:font-semibold dc:mb-1", children: "No data to display" }),
659
659
  /* @__PURE__ */ e("div", { className: "dc:text-xs", children: "Run a query to see chart visualization" })
@@ -671,7 +671,7 @@ const Kd = me(function({
671
671
  height: "100%",
672
672
  fallback: /* @__PURE__ */ e("div", { className: "dc:flex dc:items-center dc:justify-center dc:h-full", children: /* @__PURE__ */ e("div", { className: "dc:animate-pulse bg-dc-surface-secondary dc:rounded dc:w-full dc:h-full" }) })
673
673
  }
674
- ) : /* @__PURE__ */ e("div", { className: "dc:flex dc:items-center dc:justify-center dc:h-full text-dc-text-muted", children: /* @__PURE__ */ t("div", { className: "text-center", children: [
674
+ ) : /* @__PURE__ */ e("div", { className: "dc:flex dc:items-center dc:justify-center dc:h-full text-dc-text-muted", children: /* @__PURE__ */ t("div", { className: "dc:text-center", children: [
675
675
  /* @__PURE__ */ e(Je, { className: "dc:w-12 dc:h-12 dc:mx-auto dc:mb-3 dc:opacity-50" }),
676
676
  /* @__PURE__ */ e("div", { className: "dc:text-sm dc:font-semibold dc:mb-1", children: "Unsupported chart type" }),
677
677
  /* @__PURE__ */ e("div", { className: "dc:text-xs", children: q })
@@ -1147,7 +1147,7 @@ const Kd = me(function({
1147
1147
  ] }), Vt = () => he ? dd() : fe ? cd() : oe ? td() : nd(), mt = !oe && M > 1 && B && B.length > 1, rd = () => {
1148
1148
  let q = [], H = [];
1149
1149
  if (!a || Array.isArray(a) && a.length === 0)
1150
- return /* @__PURE__ */ e("div", { className: "dc:flex dc:items-center dc:justify-center dc:h-full text-dc-text-muted", children: /* @__PURE__ */ t("div", { className: "text-center", children: [
1150
+ return /* @__PURE__ */ e("div", { className: "dc:flex dc:items-center dc:justify-center dc:h-full text-dc-text-muted", children: /* @__PURE__ */ t("div", { className: "dc:text-center", children: [
1151
1151
  /* @__PURE__ */ e(Ie, { className: "dc:w-12 dc:h-12 dc:mx-auto dc:mb-3 dc:opacity-50" }),
1152
1152
  /* @__PURE__ */ e("div", { className: "dc:text-sm dc:font-semibold dc:mb-1", children: "No flow data to display" }),
1153
1153
  /* @__PURE__ */ e("div", { className: "dc:text-xs", children: "Configure flow analysis to see results" })
@@ -1156,7 +1156,7 @@ const Kd = me(function({
1156
1156
  const K = a[0];
1157
1157
  K && "nodes" in K && "links" in K ? (q = K.nodes || [], H = K.links || []) : "record_type" in K && (q = a.filter((J) => J.record_type === "node"), H = a.filter((J) => J.record_type === "link"));
1158
1158
  }
1159
- return q.length === 0 && H.length === 0 ? /* @__PURE__ */ e("div", { className: "dc:flex dc:items-center dc:justify-center dc:h-full text-dc-text-muted", children: /* @__PURE__ */ t("div", { className: "text-center", children: [
1159
+ return q.length === 0 && H.length === 0 ? /* @__PURE__ */ e("div", { className: "dc:flex dc:items-center dc:justify-center dc:h-full text-dc-text-muted", children: /* @__PURE__ */ t("div", { className: "dc:text-center", children: [
1160
1160
  /* @__PURE__ */ e(Ie, { className: "dc:w-12 dc:h-12 dc:mx-auto dc:mb-3 dc:opacity-50" }),
1161
1161
  /* @__PURE__ */ e("div", { className: "dc:text-sm dc:font-semibold dc:mb-1", children: "No flow data to display" }),
1162
1162
  /* @__PURE__ */ e("div", { className: "dc:text-xs", children: "Configure flow analysis to see results" })
@@ -1169,14 +1169,14 @@ const Kd = me(function({
1169
1169
  ] }),
1170
1170
  /* @__PURE__ */ e("div", { className: "dc:border border-dc-border dc:rounded dc:overflow-hidden", children: /* @__PURE__ */ t("table", { className: "dc:w-full dc:text-sm", children: [
1171
1171
  /* @__PURE__ */ e("thead", { className: "bg-dc-surface-secondary", children: /* @__PURE__ */ t("tr", { children: [
1172
- /* @__PURE__ */ e("th", { className: "dc:px-3 dc:py-2 text-left dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wider", children: "Layer" }),
1173
- /* @__PURE__ */ e("th", { className: "dc:px-3 dc:py-2 text-left dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wider", children: "Name" }),
1174
- /* @__PURE__ */ e("th", { className: "dc:px-3 dc:py-2 text-right dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wider", children: "Count" })
1172
+ /* @__PURE__ */ e("th", { 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", children: "Layer" }),
1173
+ /* @__PURE__ */ e("th", { 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", children: "Name" }),
1174
+ /* @__PURE__ */ e("th", { className: "dc:px-3 dc:py-2 dc:text-right dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wider", children: "Count" })
1175
1175
  ] }) }),
1176
1176
  /* @__PURE__ */ e("tbody", { className: "dc:divide-y divide-dc-border bg-dc-surface", children: q.sort((K, J) => K.layer - J.layer).map((K, J) => /* @__PURE__ */ t("tr", { className: "hover:bg-dc-surface-hover", children: [
1177
1177
  /* @__PURE__ */ e("td", { className: "dc:px-3 dc:py-2 dc:whitespace-nowrap", children: /* @__PURE__ */ e("span", { className: `dc:inline-flex dc:items-center dc:justify-center dc:w-6 dc:h-6 dc:rounded dc:text-xs dc:font-medium ${K.layer === 0 ? "bg-dc-primary text-white" : K.layer < 0 ? "bg-dc-accent-bg text-dc-accent" : "bg-dc-success-bg text-dc-success"}`, children: K.layer === 0 ? "★" : K.layer }) }),
1178
1178
  /* @__PURE__ */ e("td", { className: "dc:px-3 dc:py-2 text-dc-text", children: K.name }),
1179
- /* @__PURE__ */ e("td", { className: "dc:px-3 dc:py-2 text-right text-dc-text font-mono", children: K.value?.toLocaleString() })
1179
+ /* @__PURE__ */ e("td", { className: "dc:px-3 dc:py-2 dc:text-right text-dc-text dc:font-mono", children: K.value?.toLocaleString() })
1180
1180
  ] }, J)) })
1181
1181
  ] }) })
1182
1182
  ] }),
@@ -1188,18 +1188,18 @@ const Kd = me(function({
1188
1188
  ] }),
1189
1189
  /* @__PURE__ */ e("div", { className: "dc:border border-dc-border dc:rounded dc:overflow-hidden", children: /* @__PURE__ */ t("table", { className: "dc:w-full dc:text-sm", children: [
1190
1190
  /* @__PURE__ */ e("thead", { className: "bg-dc-surface-secondary", children: /* @__PURE__ */ t("tr", { children: [
1191
- /* @__PURE__ */ e("th", { className: "dc:px-3 dc:py-2 text-left dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wider", children: "From" }),
1192
- /* @__PURE__ */ e("th", { className: "dc:px-3 dc:py-2 text-center dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wider", children: "→" }),
1193
- /* @__PURE__ */ e("th", { className: "dc:px-3 dc:py-2 text-left dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wider", children: "To" }),
1194
- /* @__PURE__ */ e("th", { className: "dc:px-3 dc:py-2 text-right dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wider", children: "Count" })
1191
+ /* @__PURE__ */ e("th", { 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", children: "From" }),
1192
+ /* @__PURE__ */ e("th", { className: "dc:px-3 dc:py-2 dc:text-center dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wider", children: "→" }),
1193
+ /* @__PURE__ */ e("th", { 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", children: "To" }),
1194
+ /* @__PURE__ */ e("th", { className: "dc:px-3 dc:py-2 dc:text-right dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wider", children: "Count" })
1195
1195
  ] }) }),
1196
1196
  /* @__PURE__ */ e("tbody", { className: "dc:divide-y divide-dc-border bg-dc-surface", children: H.map((K, J) => {
1197
1197
  const Ce = K.source || K.source_id || "", De = K.target || K.target_id || "", Ue = Ce.split("_").slice(-1)[0] || Ce, ud = De.split("_").slice(-1)[0] || De;
1198
1198
  return /* @__PURE__ */ t("tr", { className: "hover:bg-dc-surface-hover", children: [
1199
1199
  /* @__PURE__ */ e("td", { className: "dc:px-3 dc:py-2 text-dc-text", children: Ue }),
1200
- /* @__PURE__ */ e("td", { className: "dc:px-3 dc:py-2 text-center text-dc-text-muted", children: "→" }),
1200
+ /* @__PURE__ */ e("td", { className: "dc:px-3 dc:py-2 dc:text-center text-dc-text-muted", children: "→" }),
1201
1201
  /* @__PURE__ */ e("td", { className: "dc:px-3 dc:py-2 text-dc-text", children: ud }),
1202
- /* @__PURE__ */ e("td", { className: "dc:px-3 dc:py-2 text-right text-dc-text font-mono", children: K.value?.toLocaleString() })
1202
+ /* @__PURE__ */ e("td", { className: "dc:px-3 dc:py-2 dc:text-right text-dc-text dc:font-mono", children: K.value?.toLocaleString() })
1203
1203
  ] }, J);
1204
1204
  }) })
1205
1205
  ] }) })
@@ -1208,7 +1208,7 @@ const Kd = me(function({
1208
1208
  }, dc = (q) => {
1209
1209
  let H = null, K = m?.[0];
1210
1210
  if (mt && q !== void 0 && q >= 0 && B ? (H = B[q] || null, K = m?.[q]) : (H = a, mt && (K = Ne)), !H || H.length === 0)
1211
- return /* @__PURE__ */ e("div", { className: "dc:flex dc:items-center dc:justify-center dc:h-full text-dc-text-muted", children: /* @__PURE__ */ t("div", { className: "text-center", children: [
1211
+ return /* @__PURE__ */ e("div", { className: "dc:flex dc:items-center dc:justify-center dc:h-full text-dc-text-muted", children: /* @__PURE__ */ t("div", { className: "dc:text-center", children: [
1212
1212
  /* @__PURE__ */ e(Ie, { className: "dc:w-12 dc:h-12 dc:mx-auto dc:mb-3 dc:opacity-50" }),
1213
1213
  /* @__PURE__ */ e("div", { className: "dc:text-sm dc:font-semibold dc:mb-1", children: "No data to display" }),
1214
1214
  /* @__PURE__ */ e("div", { className: "dc:text-xs", children: "Run a query to see table data" })
@@ -1225,7 +1225,7 @@ const Kd = me(function({
1225
1225
  fallback: /* @__PURE__ */ e("div", { className: "dc:flex dc:items-center dc:justify-center dc:h-full", children: /* @__PURE__ */ e("div", { className: "dc:animate-pulse bg-dc-surface-secondary dc:rounded dc:w-full dc:h-full" }) })
1226
1226
  }
1227
1227
  );
1228
- }, sd = () => /* @__PURE__ */ e("div", { className: "dc:absolute dc:inset-0 dc:flex dc:items-center dc:justify-center bg-dc-surface bg-opacity-75 dc:z-10", children: /* @__PURE__ */ t("div", { className: "text-center", children: [
1228
+ }, sd = () => /* @__PURE__ */ e("div", { className: "dc:absolute dc:inset-0 dc:flex dc:items-center dc:justify-center bg-dc-surface bg-opacity-75 dc:z-10", children: /* @__PURE__ */ t("div", { className: "dc:text-center", children: [
1229
1229
  /* @__PURE__ */ e(
1230
1230
  "div",
1231
1231
  {
@@ -2135,7 +2135,7 @@ function dn({
2135
2135
  onClick: () => {
2136
2136
  n(!1), g(!1), m(!d);
2137
2137
  },
2138
- className: "dc:w-full dc:flex dc:items-center dc:justify-between text-left dc:text-sm dc:border border-dc-border dc:rounded dc:px-3 dc:py-2 bg-dc-surface text-dc-text hover:bg-dc-surface-hover",
2138
+ className: "dc:w-full dc:flex dc:items-center dc:justify-between dc:text-left dc:text-sm dc:border border-dc-border dc:rounded dc:px-3 dc:py-2 bg-dc-surface text-dc-text hover:bg-dc-surface-hover",
2139
2139
  children: [
2140
2140
  /* @__PURE__ */ e("span", { className: "dc:truncate", children: Re }),
2141
2141
  /* @__PURE__ */ e(Wt, { className: `dc:w-4 dc:h-4 text-dc-text-muted dc:shrink-0 dc:ml-2 dc:transition-transform ${d ? "dc:rotate-180" : ""}` })
@@ -2146,7 +2146,7 @@ function dn({
2146
2146
  "button",
2147
2147
  {
2148
2148
  onClick: () => fe(E.value),
2149
- className: `dc:w-full text-left dc:px-3 dc:py-2 dc:text-sm hover:bg-dc-surface-hover ${E.value === C ? "bg-dc-primary/10 text-dc-primary" : "text-dc-text"}`,
2149
+ className: `dc:w-full dc:text-left dc:px-3 dc:py-2 dc:text-sm hover:bg-dc-surface-hover ${E.value === C ? "bg-dc-primary/10 text-dc-primary" : "text-dc-text"}`,
2150
2150
  children: E.label
2151
2151
  },
2152
2152
  E.value
@@ -2252,7 +2252,7 @@ function dn({
2252
2252
  onClick: () => {
2253
2253
  n(!1), m(!1), g(!p);
2254
2254
  },
2255
- className: "dc:w-full dc:flex dc:items-center dc:justify-between text-left dc:text-sm dc:border border-dc-border dc:rounded dc:px-3 dc:py-2 bg-dc-surface text-dc-text hover:bg-dc-surface-hover",
2255
+ className: "dc:w-full dc:flex dc:items-center dc:justify-between dc:text-left dc:text-sm dc:border border-dc-border dc:rounded dc:px-3 dc:py-2 bg-dc-surface text-dc-text hover:bg-dc-surface-hover",
2256
2256
  children: [
2257
2257
  /* @__PURE__ */ e("span", { className: "text-dc-text-muted dc:truncate", children: xe ? "Loading..." : "Select value..." }),
2258
2258
  /* @__PURE__ */ e(Wt, { className: `dc:w-4 dc:h-4 text-dc-text-muted dc:shrink-0 dc:ml-2 dc:transition-transform ${p ? "dc:rotate-180" : ""}` })
@@ -2283,7 +2283,7 @@ function dn({
2283
2283
  "button",
2284
2284
  {
2285
2285
  onClick: (ge) => ee(E, ge),
2286
- className: `dc:w-full text-left dc:px-3 dc:py-2 dc:text-sm dc:transition-colors ${G === y ? "bg-dc-surface-hover" : ""} ${U ? "bg-dc-primary/10 text-dc-primary" : "text-dc-text hover:bg-dc-surface-hover"}`,
2286
+ className: `dc:w-full dc:text-left dc:px-3 dc:py-2 dc:text-sm dc:transition-colors ${G === y ? "bg-dc-surface-hover" : ""} ${U ? "bg-dc-primary/10 text-dc-primary" : "text-dc-text hover:bg-dc-surface-hover"}`,
2287
2287
  children: [
2288
2288
  String(E),
2289
2289
  U && /* @__PURE__ */ e("span", { className: "dc:float-right", children: "✓" })
@@ -2351,7 +2351,7 @@ function dn({
2351
2351
  onClick: () => {
2352
2352
  g(!1), m(!1), n(!b);
2353
2353
  },
2354
- className: "dc:w-full dc:flex dc:items-center dc:justify-between text-left dc:text-sm dc:border border-dc-border dc:rounded dc:px-3 dc:py-2 bg-dc-surface text-dc-text hover:bg-dc-surface-hover",
2354
+ className: "dc:w-full dc:flex dc:items-center dc:justify-between dc:text-left dc:text-sm dc:border border-dc-border dc:rounded dc:px-3 dc:py-2 bg-dc-surface text-dc-text hover:bg-dc-surface-hover",
2355
2355
  children: [
2356
2356
  /* @__PURE__ */ e("span", { className: "dc:truncate", children: ye }),
2357
2357
  /* @__PURE__ */ e(Wt, { className: `dc:w-4 dc:h-4 text-dc-text-muted dc:shrink-0 dc:ml-2 dc:transition-transform ${b ? "dc:rotate-180" : ""}` })
@@ -2362,7 +2362,7 @@ function dn({
2362
2362
  "button",
2363
2363
  {
2364
2364
  onClick: () => Q(E.operator),
2365
- className: `dc:w-full text-left dc:px-3 dc:py-2 dc:text-sm hover:bg-dc-surface-hover ${E.operator === s.operator ? "bg-dc-primary/10 text-dc-primary" : "text-dc-text"}`,
2365
+ className: `dc:w-full dc:text-left dc:px-3 dc:py-2 dc:text-sm hover:bg-dc-surface-hover ${E.operator === s.operator ? "bg-dc-primary/10 text-dc-primary" : "text-dc-text"}`,
2366
2366
  children: E.label
2367
2367
  },
2368
2368
  E.operator
@@ -2418,7 +2418,7 @@ function Kc({
2418
2418
  {
2419
2419
  ref: x,
2420
2420
  onClick: () => s(!0),
2421
- className: "dc:flex-1 dc:min-w-0 text-left",
2421
+ className: "dc:flex-1 dc:min-w-0 dc:text-left",
2422
2422
  title: `${d} ${C} ${w}`,
2423
2423
  children: /* @__PURE__ */ t("div", { className: "dc:text-sm text-dc-text dc:break-words", children: [
2424
2424
  /* @__PURE__ */ e("span", { className: "dc:font-medium", children: d }),
@@ -2535,7 +2535,7 @@ function Hc({
2535
2535
  "button",
2536
2536
  {
2537
2537
  onClick: w,
2538
- className: "dc:w-full text-left dc:px-3 dc:py-1.5 dc:text-xs text-dc-text hover:bg-dc-surface-hover",
2538
+ className: "dc:w-full dc:text-left dc:px-3 dc:py-1.5 dc:text-xs text-dc-text hover:bg-dc-surface-hover",
2539
2539
  children: "Add Filter"
2540
2540
  }
2541
2541
  ),
@@ -2543,7 +2543,7 @@ function Hc({
2543
2543
  "button",
2544
2544
  {
2545
2545
  onClick: () => C("and"),
2546
- className: "dc:w-full text-left dc:px-3 dc:py-1.5 dc:text-xs text-dc-text hover:bg-dc-surface-hover",
2546
+ className: "dc:w-full dc:text-left dc:px-3 dc:py-1.5 dc:text-xs text-dc-text hover:bg-dc-surface-hover",
2547
2547
  children: "Add AND Group"
2548
2548
  }
2549
2549
  ),
@@ -2551,7 +2551,7 @@ function Hc({
2551
2551
  "button",
2552
2552
  {
2553
2553
  onClick: () => C("or"),
2554
- className: "dc:w-full text-left dc:px-3 dc:py-1.5 dc:text-xs text-dc-text hover:bg-dc-surface-hover",
2554
+ className: "dc:w-full dc:text-left dc:px-3 dc:py-1.5 dc:text-xs text-dc-text hover:bg-dc-surface-hover",
2555
2555
  children: "Add OR Group"
2556
2556
  }
2557
2557
  )
@@ -2568,7 +2568,7 @@ function Hc({
2568
2568
  )
2569
2569
  ] })
2570
2570
  ] }),
2571
- /* @__PURE__ */ e("div", { className: "dc:p-1.5 dc:flex dc:flex-wrap dc:gap-2", children: r.filters.length === 0 ? /* @__PURE__ */ t("div", { className: "text-center dc:py-3", children: [
2571
+ /* @__PURE__ */ e("div", { className: "dc:p-1.5 dc:flex dc:flex-wrap dc:gap-2", children: r.filters.length === 0 ? /* @__PURE__ */ t("div", { className: "dc:text-center dc:py-3", children: [
2572
2572
  /* @__PURE__ */ e("p", { className: "dc:text-xs text-dc-text-muted dc:mb-1", children: "No conditions in this group" }),
2573
2573
  /* @__PURE__ */ e(
2574
2574
  "button",
@@ -2893,7 +2893,7 @@ function bn({
2893
2893
  return;
2894
2894
  F || T === 1 ? a($, m) : $.preventDefault(), y(!1), S(!1);
2895
2895
  },
2896
- children: c.length === 0 ? /* @__PURE__ */ e("div", { className: "dc:text-sm text-dc-text-muted text-center dc:py-2", children: P ? "Maximum items reached" : L || "Drop fields here" }) : /* @__PURE__ */ t(
2896
+ children: c.length === 0 ? /* @__PURE__ */ e("div", { className: "dc:text-sm text-dc-text-muted dc:text-center dc:py-2", children: P ? "Maximum items reached" : L || "Drop fields here" }) : /* @__PURE__ */ t(
2897
2897
  "div",
2898
2898
  {
2899
2899
  className: "dc:space-y-2",
@@ -3071,7 +3071,7 @@ function fc({
3071
3071
  disabled: !N,
3072
3072
  className: `
3073
3073
  dc:relative dc:p-1.5 dc:rounded dc:border dc:transition-colors dc:duration-150
3074
- text-left dc:group dc:min-h-[30px] dc:flex dc:items-center dc:justify-start
3074
+ dc:text-left dc:group dc:min-h-[30px] dc:flex dc:items-center dc:justify-start
3075
3075
  ${N ? l ? "bg-dc-surface-secondary" : "bg-dc-surface hover:bg-dc-surface-hover" : "dc:opacity-50 dc:cursor-not-allowed bg-dc-surface"}
3076
3076
  `,
3077
3077
  style: {
@@ -3235,7 +3235,7 @@ function wn({
3235
3235
  }
3236
3236
  )
3237
3237
  ] }),
3238
- /* @__PURE__ */ e("div", { className: "text-center text-dc-text-muted dc:text-sm dc:py-4", children: "Loading chart configuration..." })
3238
+ /* @__PURE__ */ e("div", { className: "dc:text-center text-dc-text-muted dc:text-sm dc:py-4", children: "Loading chart configuration..." })
3239
3239
  ] });
3240
3240
  const j = (() => {
3241
3241
  const v = /* @__PURE__ */ new Set();
@@ -3353,7 +3353,7 @@ function wn({
3353
3353
  })
3354
3354
  ] }) })
3355
3355
  ] }),
3356
- !C && g.measures.length === 0 && g.dimensions.length === 0 && g.timeDimensions.length === 0 && /* @__PURE__ */ e("div", { className: "text-center text-dc-text-muted dc:text-sm dc:py-4", children: /* @__PURE__ */ e("p", { children: "Add metrics and breakdowns in the Query tab to configure your chart." }) })
3356
+ !C && g.measures.length === 0 && g.dimensions.length === 0 && g.timeDimensions.length === 0 && /* @__PURE__ */ e("div", { className: "dc:text-center text-dc-text-muted dc:text-sm dc:py-4", children: /* @__PURE__ */ e("p", { children: "Add metrics and breakdowns in the Query tab to configure your chart." }) })
3357
3357
  ] });
3358
3358
  }
3359
3359
  const pc = A("chevronDown"), xc = A("check"), gc = A("search"), Cn = me(function({
@@ -3456,7 +3456,7 @@ const pc = A("chevronDown"), xc = A("check"), gc = A("search"), Cn = me(function
3456
3456
  }
3457
3457
  )
3458
3458
  ] }) }),
3459
- /* @__PURE__ */ e("div", { className: "dc:max-h-64 dc:overflow-y-auto dc:p-1", children: Object.entries(w).length === 0 ? /* @__PURE__ */ e("div", { className: "dc:px-3 dc:py-4 dc:text-sm text-dc-text-muted text-center", children: "No matching dimensions found" }) : Object.entries(w).map(([h, y]) => /* @__PURE__ */ t("div", { className: "dc:mb-2 dc:last:mb-0", children: [
3459
+ /* @__PURE__ */ e("div", { className: "dc:max-h-64 dc:overflow-y-auto dc:p-1", children: Object.entries(w).length === 0 ? /* @__PURE__ */ e("div", { className: "dc:px-3 dc:py-4 dc:text-sm text-dc-text-muted dc:text-center", children: "No matching dimensions found" }) : Object.entries(w).map(([h, y]) => /* @__PURE__ */ t("div", { className: "dc:mb-2 dc:last:mb-0", children: [
3460
3460
  /* @__PURE__ */ e("div", { className: "dc:px-2 dc:py-1 dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wide", children: h }),
3461
3461
  y.map((N) => /* @__PURE__ */ t(
3462
3462
  "button",
@@ -3656,7 +3656,7 @@ const Ut = me(function({
3656
3656
  }
3657
3657
  )
3658
3658
  ] }) }),
3659
- /* @__PURE__ */ e("div", { className: "dc:max-h-48 dc:overflow-y-auto dc:p-1", children: Object.entries(I).length === 0 ? /* @__PURE__ */ e("div", { className: "dc:px-3 dc:py-4 dc:text-sm text-dc-text-muted text-center", children: "No matching fields found" }) : Object.entries(I).map(([o, h]) => /* @__PURE__ */ t("div", { className: "dc:mb-2 dc:last:mb-0", children: [
3659
+ /* @__PURE__ */ e("div", { className: "dc:max-h-48 dc:overflow-y-auto dc:p-1", children: Object.entries(I).length === 0 ? /* @__PURE__ */ e("div", { className: "dc:px-3 dc:py-4 dc:text-sm text-dc-text-muted dc:text-center", children: "No matching fields found" }) : Object.entries(I).map(([o, h]) => /* @__PURE__ */ t("div", { className: "dc:mb-2 dc:last:mb-0", children: [
3660
3660
  /* @__PURE__ */ e("div", { className: "dc:px-2 dc:py-1 dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wide", children: o }),
3661
3661
  h.map((y) => /* @__PURE__ */ t(
3662
3662
  "button",
@@ -3864,7 +3864,7 @@ const Ut = me(function({
3864
3864
  onClick: (f) => {
3865
3865
  f.stopPropagation(), g(!0);
3866
3866
  },
3867
- className: "dc:flex-1 text-left dc:text-sm dc:font-medium text-dc-text hover:text-dc-primary dc:truncate",
3867
+ className: "dc:flex-1 dc:text-left dc:text-sm dc:font-medium text-dc-text hover:text-dc-primary dc:truncate",
3868
3868
  title: "Click to edit name",
3869
3869
  children: c.name || `Step ${a + 1}`
3870
3870
  }
@@ -3987,7 +3987,7 @@ const Ut = me(function({
3987
3987
  ")"
3988
3988
  ] })
3989
3989
  ] }) }),
3990
- c.length === 0 ? /* @__PURE__ */ t("div", { className: "text-center dc:py-8", children: [
3990
+ c.length === 0 ? /* @__PURE__ */ t("div", { className: "dc:text-center dc:py-8", children: [
3991
3991
  /* @__PURE__ */ e("p", { className: "dc:text-sm text-dc-text-muted dc:mb-3", children: "No steps defined. Add at least 2 steps to create a funnel." }),
3992
3992
  /* @__PURE__ */ t(
3993
3993
  "button",
@@ -4037,7 +4037,7 @@ const Ut = me(function({
4037
4037
  ]
4038
4038
  }
4039
4039
  ),
4040
- c.length === 1 && /* @__PURE__ */ e("p", { className: "dc:text-xs text-dc-warning text-center", children: "Add at least one more step to create a valid funnel" })
4040
+ c.length === 1 && /* @__PURE__ */ e("p", { className: "dc:text-xs text-dc-warning dc:text-center", children: "Add at least one more step to create a valid funnel" })
4041
4041
  ] });
4042
4042
  }), Bn = me(function({
4043
4043
  funnelCube: c,
@@ -4253,7 +4253,7 @@ const xt = me(function({
4253
4253
  }
4254
4254
  )
4255
4255
  ] }) }),
4256
- /* @__PURE__ */ e("div", { className: "dc:max-h-48 dc:overflow-y-auto dc:p-1", children: Object.entries(I).length === 0 ? /* @__PURE__ */ e("div", { className: "dc:px-3 dc:py-4 dc:text-sm text-dc-text-muted text-center", children: "No matching fields found" }) : Object.entries(I).map(([o, h]) => /* @__PURE__ */ t("div", { className: "dc:mb-2 dc:last:mb-0", children: [
4256
+ /* @__PURE__ */ e("div", { className: "dc:max-h-48 dc:overflow-y-auto dc:p-1", children: Object.entries(I).length === 0 ? /* @__PURE__ */ e("div", { className: "dc:px-3 dc:py-4 dc:text-sm text-dc-text-muted dc:text-center", children: "No matching fields found" }) : Object.entries(I).map(([o, h]) => /* @__PURE__ */ t("div", { className: "dc:mb-2 dc:last:mb-0", children: [
4257
4257
  /* @__PURE__ */ e("div", { className: "dc:px-2 dc:py-1 dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wide", children: o }),
4258
4258
  h.map((y) => /* @__PURE__ */ t(
4259
4259
  "button",
@@ -4517,7 +4517,7 @@ const xt = me(function({
4517
4517
  className: "dc:flex-1 dc:disabled:cursor-not-allowed"
4518
4518
  }
4519
4519
  ),
4520
- /* @__PURE__ */ e("span", { className: "dc:w-6 dc:text-sm dc:font-medium text-dc-text text-center", children: l === "sunburst" ? "-" : x })
4520
+ /* @__PURE__ */ e("span", { className: "dc:w-6 dc:text-sm dc:font-medium text-dc-text dc:text-center", children: l === "sunburst" ? "-" : x })
4521
4521
  ] })
4522
4522
  ] }),
4523
4523
  /* @__PURE__ */ t("div", { children: [
@@ -4534,7 +4534,7 @@ const xt = me(function({
4534
4534
  className: "dc:flex-1"
4535
4535
  }
4536
4536
  ),
4537
- /* @__PURE__ */ e("span", { className: "dc:w-6 dc:text-sm dc:font-medium text-dc-text text-center", children: b })
4537
+ /* @__PURE__ */ e("span", { className: "dc:w-6 dc:text-sm dc:font-medium text-dc-text dc:text-center", children: b })
4538
4538
  ] })
4539
4539
  ] })
4540
4540
  ] }),
@@ -4694,7 +4694,7 @@ const Xt = me(function({
4694
4694
  }
4695
4695
  )
4696
4696
  ] }) }),
4697
- /* @__PURE__ */ e("div", { className: "dc:max-h-48 dc:overflow-y-auto dc:p-1", children: Object.entries(I).length === 0 ? /* @__PURE__ */ e("div", { className: "dc:px-3 dc:py-4 dc:text-sm text-dc-text-muted text-center", children: "No matching fields found" }) : Object.entries(I).map(([o, h]) => /* @__PURE__ */ t("div", { className: "dc:mb-2 dc:last:mb-0", children: [
4697
+ /* @__PURE__ */ e("div", { className: "dc:max-h-48 dc:overflow-y-auto dc:p-1", children: Object.entries(I).length === 0 ? /* @__PURE__ */ e("div", { className: "dc:px-3 dc:py-4 dc:text-sm text-dc-text-muted dc:text-center", children: "No matching fields found" }) : Object.entries(I).map(([o, h]) => /* @__PURE__ */ t("div", { className: "dc:mb-2 dc:last:mb-0", children: [
4698
4698
  /* @__PURE__ */ e("div", { className: "dc:px-2 dc:py-1 dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wide", children: o }),
4699
4699
  h.map((y) => /* @__PURE__ */ t(
4700
4700
  "button",
@@ -5118,7 +5118,7 @@ const cr = me(function({
5118
5118
  className: "dc:flex-1"
5119
5119
  }
5120
5120
  ),
5121
- /* @__PURE__ */ e("span", { className: "dc:w-8 dc:text-sm dc:font-medium text-dc-text text-center", children: p })
5121
+ /* @__PURE__ */ e("span", { className: "dc:w-8 dc:text-sm dc:font-medium text-dc-text dc:text-center", children: p })
5122
5122
  ] }),
5123
5123
  p > 26 && /* @__PURE__ */ e("p", { className: "dc:mt-1 dc:text-xs text-dc-warning", children: "High period count may impact query performance." })
5124
5124
  ] }),
@@ -5741,7 +5741,7 @@ class ar extends md {
5741
5741
  this.handleReset(), this.props.onSwitchToSafeMode?.();
5742
5742
  };
5743
5743
  render() {
5744
- return this.state.hasError ? /* @__PURE__ */ t("div", { className: "dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:h-full dc:p-6 text-center bg-dc-surface", children: [
5744
+ return this.state.hasError ? /* @__PURE__ */ t("div", { className: "dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:h-full dc:p-6 dc:text-center bg-dc-surface", children: [
5745
5745
  /* @__PURE__ */ e("div", { className: "dc:h-10 dc:w-10 dc:mb-3 text-dc-warning", children: Lc && /* @__PURE__ */ e(Lc, { className: "dc:w-10 dc:h-10" }) }),
5746
5746
  /* @__PURE__ */ e("h3", { className: "dc:text-base dc:font-semibold dc:mb-2 text-dc-text", children: "Mode Error" }),
5747
5747
  /* @__PURE__ */ t("p", { className: "dc:text-sm text-dc-text-secondary dc:mb-3 dc:max-w-sm", children: [
@@ -5749,9 +5749,9 @@ class ar extends md {
5749
5749
  /* @__PURE__ */ e("strong", { children: this.props.analysisType }),
5750
5750
  " mode. This might be due to invalid configuration data."
5751
5751
  ] }),
5752
- /* @__PURE__ */ t("details", { className: "dc:w-full dc:max-w-md dc:mb-4 text-left", children: [
5752
+ /* @__PURE__ */ t("details", { className: "dc:w-full dc:max-w-md dc:mb-4 dc:text-left", children: [
5753
5753
  /* @__PURE__ */ e("summary", { className: "dc:cursor-pointer dc:text-xs text-dc-text-muted hover:text-dc-text", children: "Show error details" }),
5754
- /* @__PURE__ */ e("div", { className: "dc:mt-2 dc:p-2 bg-dc-surface-secondary dc:rounded dc:text-xs font-mono text-dc-text-secondary dc:overflow-auto dc:max-h-32", children: this.state.error?.message || "Unknown error" })
5754
+ /* @__PURE__ */ e("div", { className: "dc:mt-2 dc:p-2 bg-dc-surface-secondary dc:rounded dc:text-xs dc:font-mono text-dc-text-secondary dc:overflow-auto dc:max-h-32", children: this.state.error?.message || "Unknown error" })
5755
5755
  ] }),
5756
5756
  /* @__PURE__ */ t("div", { className: "dc:flex dc:gap-2", children: [
5757
5757
  /* @__PURE__ */ t(
@@ -6203,4 +6203,4 @@ ir.displayName = "AnalysisBuilder";
6203
6203
  export {
6204
6204
  ir as default
6205
6205
  };
6206
- //# sourceMappingURL=analysis-builder-CuTR61Ct.js.map
6206
+ //# sourceMappingURL=analysis-builder-CKVYG9jJ.js.map