drizzle-cube 0.3.25 → 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.
- package/README.md +6 -0
- package/dist/adapters/express/index.cjs +1 -1
- package/dist/adapters/express/index.js +1 -1
- package/dist/adapters/fastify/index.cjs +1 -1
- package/dist/adapters/fastify/index.js +1 -1
- package/dist/adapters/hono/index.cjs +1 -1
- package/dist/adapters/hono/index.js +1 -1
- package/dist/adapters/{mcp-transport-B4BZSsMC.js → mcp-transport-CXGL1hg7.js} +1655 -1624
- package/dist/adapters/{mcp-transport-C8pLznZG.cjs → mcp-transport-ConlvewL.cjs} +73 -73
- package/dist/adapters/nextjs/index.cjs +1 -1
- package/dist/adapters/nextjs/index.js +1 -1
- package/dist/adapters/utils.cjs +1 -1
- package/dist/adapters/utils.js +5 -5
- package/dist/client/charts.js +12 -12
- package/dist/client/chunks/{DashboardEditModal-CVMSvpJ-.js → DashboardEditModal-t5XeTZom.js} +45 -45
- package/dist/client/chunks/DashboardEditModal-t5XeTZom.js.map +1 -0
- package/dist/client/chunks/{RetentionCombinedChart-BVKWmxc-.js → RetentionCombinedChart-SsBGHJWi.js} +9 -9
- package/dist/client/chunks/RetentionCombinedChart-SsBGHJWi.js.map +1 -0
- package/dist/client/chunks/{RetentionHeatmap-BiqfhGYk.js → RetentionHeatmap-BHYU8MXY.js} +8 -8
- package/dist/client/chunks/RetentionHeatmap-BHYU8MXY.js.map +1 -0
- package/dist/client/chunks/{analysis-builder-CuTR61Ct.js → analysis-builder-CKVYG9jJ.js} +67 -67
- package/dist/client/chunks/analysis-builder-CKVYG9jJ.js.map +1 -0
- package/dist/client/chunks/{analysis-builder-shared-D7iqklYk.js → analysis-builder-shared-CF8Vx1oD.js} +8 -8
- package/dist/client/chunks/analysis-builder-shared-CF8Vx1oD.js.map +1 -0
- package/dist/client/chunks/{chart-activity-grid-BcMRkaq4.js → chart-activity-grid-Bpu_-8uT.js} +5 -5
- package/dist/client/chunks/{chart-activity-grid-BcMRkaq4.js.map → chart-activity-grid-Bpu_-8uT.js.map} +1 -1
- package/dist/client/chunks/{chart-area-KlBSb_ur.js → chart-area-DcvLkvGb.js} +8 -8
- package/dist/client/chunks/chart-area-DcvLkvGb.js.map +1 -0
- package/dist/client/chunks/{chart-bar-D1i2jmIg.js → chart-bar-CNfm5iMY.js} +7 -7
- package/dist/client/chunks/chart-bar-CNfm5iMY.js.map +1 -0
- package/dist/client/chunks/{chart-bubble-BFjnOwNZ.js → chart-bubble-KA-RYWR8.js} +4 -4
- package/dist/client/chunks/{chart-bubble-BFjnOwNZ.js.map → chart-bubble-KA-RYWR8.js.map} +1 -1
- package/dist/client/chunks/{chart-data-table-CYMMAHau.js → chart-data-table-Cq14arji.js} +9 -9
- package/dist/client/chunks/chart-data-table-Cq14arji.js.map +1 -0
- package/dist/client/chunks/{chart-funnel-BH7r4HWZ.js → chart-funnel-DFKWS49U.js} +7 -7
- package/dist/client/chunks/chart-funnel-DFKWS49U.js.map +1 -0
- package/dist/client/chunks/{chart-heat-map-DyGtODLE.js → chart-heat-map-D2g0dbKz.js} +5 -5
- package/dist/client/chunks/chart-heat-map-D2g0dbKz.js.map +1 -0
- package/dist/client/chunks/{chart-kpi-delta-Bk396suk.js → chart-kpi-delta-Cc-jiBd0.js} +30 -30
- package/dist/client/chunks/chart-kpi-delta-Cc-jiBd0.js.map +1 -0
- package/dist/client/chunks/{chart-kpi-number-CIGqZ5Dw.js → chart-kpi-number-BXolYaZA.js} +8 -8
- package/dist/client/chunks/chart-kpi-number-BXolYaZA.js.map +1 -0
- package/dist/client/chunks/{chart-kpi-text-iwlaSQCi.js → chart-kpi-text-PA8oyypA.js} +7 -7
- package/dist/client/chunks/chart-kpi-text-PA8oyypA.js.map +1 -0
- package/dist/client/chunks/{chart-line-BKqhoW9A.js → chart-line-BOrtUdOD.js} +8 -8
- package/dist/client/chunks/chart-line-BOrtUdOD.js.map +1 -0
- package/dist/client/chunks/{chart-markdown-CiPhRY9s.js → chart-markdown-Cget3iEq.js} +6 -6
- package/dist/client/chunks/chart-markdown-Cget3iEq.js.map +1 -0
- package/dist/client/chunks/{chart-pie-BNr-GgTh.js → chart-pie-B-Sbsvd2.js} +7 -7
- package/dist/client/chunks/chart-pie-B-Sbsvd2.js.map +1 -0
- package/dist/client/chunks/{chart-radar-CYrGVYEQ.js → chart-radar-CezgvXhm.js} +6 -6
- package/dist/client/chunks/chart-radar-CezgvXhm.js.map +1 -0
- package/dist/client/chunks/{chart-radial-bar-2PR3ucIR.js → chart-radial-bar-COBPiBxm.js} +6 -6
- package/dist/client/chunks/chart-radial-bar-COBPiBxm.js.map +1 -0
- package/dist/client/chunks/{chart-sankey-C7w7h2ZV.js → chart-sankey-O4WQBRDk.js} +27 -27
- package/dist/client/chunks/{chart-sankey-C7w7h2ZV.js.map → chart-sankey-O4WQBRDk.js.map} +1 -1
- package/dist/client/chunks/{chart-scatter-D3Z9bl8H.js → chart-scatter-BVF0n9DR.js} +22 -22
- package/dist/client/chunks/chart-scatter-BVF0n9DR.js.map +1 -0
- package/dist/client/chunks/{chart-sunburst-C4ydFeaK.js → chart-sunburst-DZzVj_6S.js} +4 -4
- package/dist/client/chunks/{chart-sunburst-C4ydFeaK.js.map → chart-sunburst-DZzVj_6S.js.map} +1 -1
- package/dist/client/chunks/{chart-tree-map-DCCmMyz1.js → chart-tree-map-CeEtNuo6.js} +6 -6
- package/dist/client/chunks/chart-tree-map-CeEtNuo6.js.map +1 -0
- package/dist/client/chunks/{charts-core-DIW3Dd7n.js → charts-core-DF99lItO.js} +4 -4
- package/dist/client/chunks/charts-core-DF99lItO.js.map +1 -0
- package/dist/client/chunks/{charts-loader-BCBnMYjH.js → charts-loader-AkRviD9H.js} +22 -22
- package/dist/client/chunks/{charts-loader-BCBnMYjH.js.map → charts-loader-AkRviD9H.js.map} +1 -1
- package/dist/client/chunks/{core-BITzuqYm.js → core-Bso4ultM.js} +2 -2
- package/dist/client/chunks/{core-BITzuqYm.js.map → core-Bso4ultM.js.map} +1 -1
- package/dist/client/chunks/{hooks-Dd_nnv0J.js → hooks-B69r8rwU.js} +4 -4
- package/dist/client/chunks/{hooks-Dd_nnv0J.js.map → hooks-B69r8rwU.js.map} +1 -1
- package/dist/client/chunks/{providers-BjxD1ZmC.js → providers-CxlSRYvE.js} +2 -2
- package/dist/client/chunks/{providers-BjxD1ZmC.js.map → providers-CxlSRYvE.js.map} +1 -1
- package/dist/client/chunks/{syntaxHighlighting-Cmqp7_Mx.js → syntaxHighlighting-yTdSle2t.js} +2 -2
- package/dist/client/chunks/{syntaxHighlighting-Cmqp7_Mx.js.map → syntaxHighlighting-yTdSle2t.js.map} +1 -1
- package/dist/client/chunks/{useDirtyStateTracking-B5g-bw7a.js → useDirtyStateTracking-GZtwGRu7.js} +3 -3
- package/dist/client/chunks/{useDirtyStateTracking-B5g-bw7a.js.map → useDirtyStateTracking-GZtwGRu7.js.map} +1 -1
- package/dist/client/chunks/{vendor-CJRtj0__.js → vendor-B_H-VRhj.js} +97 -99
- package/dist/client/chunks/vendor-B_H-VRhj.js.map +1 -0
- package/dist/client/components.js +4 -4
- package/dist/client/components.js.map +1 -1
- package/dist/client/hooks.js +3 -3
- package/dist/client/index.js +10 -10
- package/dist/client/index.js.map +1 -1
- package/dist/client/providers.js +1 -1
- package/dist/client/styles.css +1 -1
- package/dist/client/utils.js +6 -6
- package/dist/client-bundle-stats.html +1 -1
- package/dist/server/index.cjs +20 -20
- package/dist/server/index.d.ts +10 -0
- package/dist/server/index.js +674 -643
- package/package.json +1 -1
- package/dist/client/chunks/DashboardEditModal-CVMSvpJ-.js.map +0 -1
- package/dist/client/chunks/RetentionCombinedChart-BVKWmxc-.js.map +0 -1
- package/dist/client/chunks/RetentionHeatmap-BiqfhGYk.js.map +0 -1
- package/dist/client/chunks/analysis-builder-CuTR61Ct.js.map +0 -1
- package/dist/client/chunks/analysis-builder-shared-D7iqklYk.js.map +0 -1
- package/dist/client/chunks/chart-area-KlBSb_ur.js.map +0 -1
- package/dist/client/chunks/chart-bar-D1i2jmIg.js.map +0 -1
- package/dist/client/chunks/chart-data-table-CYMMAHau.js.map +0 -1
- package/dist/client/chunks/chart-funnel-BH7r4HWZ.js.map +0 -1
- package/dist/client/chunks/chart-heat-map-DyGtODLE.js.map +0 -1
- package/dist/client/chunks/chart-kpi-delta-Bk396suk.js.map +0 -1
- package/dist/client/chunks/chart-kpi-number-CIGqZ5Dw.js.map +0 -1
- package/dist/client/chunks/chart-kpi-text-iwlaSQCi.js.map +0 -1
- package/dist/client/chunks/chart-line-BKqhoW9A.js.map +0 -1
- package/dist/client/chunks/chart-markdown-CiPhRY9s.js.map +0 -1
- package/dist/client/chunks/chart-pie-BNr-GgTh.js.map +0 -1
- package/dist/client/chunks/chart-radar-CYrGVYEQ.js.map +0 -1
- package/dist/client/chunks/chart-radial-bar-2PR3ucIR.js.map +0 -1
- package/dist/client/chunks/chart-scatter-D3Z9bl8H.js.map +0 -1
- package/dist/client/chunks/chart-tree-map-DCCmMyz1.js.map +0 -1
- package/dist/client/chunks/charts-core-DIW3Dd7n.js.map +0 -1
- package/dist/client/chunks/vendor-CJRtj0__.js.map +0 -1
package/dist/adapters/utils.js
CHANGED
|
@@ -8588,7 +8588,7 @@ const xR = [
|
|
|
8588
8588
|
"MBRTOUCHES",
|
|
8589
8589
|
"MBRWITHIN",
|
|
8590
8590
|
"MD5",
|
|
8591
|
-
|
|
8591
|
+
// 'MEMBER OF',
|
|
8592
8592
|
"MICROSECOND",
|
|
8593
8593
|
"MID",
|
|
8594
8594
|
"MIN",
|
|
@@ -8600,10 +8600,10 @@ const xR = [
|
|
|
8600
8600
|
"MULTIPOINT",
|
|
8601
8601
|
"MULTIPOLYGON",
|
|
8602
8602
|
"NAME_CONST",
|
|
8603
|
-
|
|
8604
|
-
|
|
8605
|
-
|
|
8606
|
-
|
|
8603
|
+
// 'NOT',
|
|
8604
|
+
// 'NOT IN',
|
|
8605
|
+
// 'NOT LIKE',
|
|
8606
|
+
// 'NOT REGEXP',
|
|
8607
8607
|
"NOW",
|
|
8608
8608
|
"NTH_VALUE",
|
|
8609
8609
|
"NTILE",
|
package/dist/client/charts.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { L as w, g as L, c as T, b as O, i as S, p as N, a as v } from "./chunks/charts-loader-
|
|
1
|
+
import { L as w, g as L, c as T, b as O, i as S, p as N, a as v } from "./chunks/charts-loader-AkRviD9H.js";
|
|
2
2
|
import { useState as f, useEffect as c } from "react";
|
|
3
3
|
import { f as G } from "./chunks/index-CApFCBF9.js";
|
|
4
|
-
import { c as E, C as H, N as I, P } from "./chunks/charts-core-
|
|
5
|
-
import { B as _ } from "./chunks/chart-bar-
|
|
6
|
-
import { L as j } from "./chunks/chart-line-
|
|
7
|
-
import { default as U } from "./chunks/chart-area-
|
|
8
|
-
import { default as Y } from "./chunks/chart-pie-
|
|
9
|
-
import { default as $ } from "./chunks/chart-scatter-
|
|
10
|
-
import { default as J } from "./chunks/chart-radar-
|
|
11
|
-
import { default as Q } from "./chunks/chart-radial-bar-
|
|
12
|
-
import { default as ee } from "./chunks/chart-tree-map-
|
|
13
|
-
import { default as ae } from "./chunks/chart-funnel-
|
|
14
|
-
import { D as ie } from "./chunks/chart-data-table-
|
|
4
|
+
import { c as E, C as H, N as I, P } from "./chunks/charts-core-DF99lItO.js";
|
|
5
|
+
import { B as _ } from "./chunks/chart-bar-CNfm5iMY.js";
|
|
6
|
+
import { L as j } from "./chunks/chart-line-BOrtUdOD.js";
|
|
7
|
+
import { default as U } from "./chunks/chart-area-DcvLkvGb.js";
|
|
8
|
+
import { default as Y } from "./chunks/chart-pie-B-Sbsvd2.js";
|
|
9
|
+
import { default as $ } from "./chunks/chart-scatter-BVF0n9DR.js";
|
|
10
|
+
import { default as J } from "./chunks/chart-radar-CezgvXhm.js";
|
|
11
|
+
import { default as Q } from "./chunks/chart-radial-bar-COBPiBxm.js";
|
|
12
|
+
import { default as ee } from "./chunks/chart-tree-map-CeEtNuo6.js";
|
|
13
|
+
import { default as ae } from "./chunks/chart-funnel-DFKWS49U.js";
|
|
14
|
+
import { D as ie } from "./chunks/chart-data-table-Cq14arji.js";
|
|
15
15
|
const s = {
|
|
16
16
|
dropZones: [
|
|
17
17
|
{
|
package/dist/client/chunks/{DashboardEditModal-CVMSvpJ-.js → DashboardEditModal-t5XeTZom.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsxs as u, jsx as n, Fragment as ye } from "react/jsx-runtime";
|
|
2
2
|
import dt, { Component as Yn, useRef as re, useState as V, useEffect as te, useMemo as Y, useCallback as C, forwardRef as yn, useImperativeHandle as Jn, createContext as Xn, useContext as Ot, Suspense as Zn, lazy as er, memo as bn } from "react";
|
|
3
3
|
import tr, { verticalCompactor as nr } from "react-grid-layout";
|
|
4
|
-
import { h as rr, u as cr, c as xn, d as dr, e as or, s as sr, f as Vt } from "./vendor-
|
|
5
|
-
import { c as ir, u as vn, g as vt, k as ar, l as lr, S as wn, e as ur } from "./providers-
|
|
4
|
+
import { h as rr, u as cr, c as xn, d as dr, e as or, s as sr, f as Vt } from "./vendor-B_H-VRhj.js";
|
|
5
|
+
import { c as ir, u as vn, g as vt, k as ar, l as lr, S as wn, e as ur } from "./providers-CxlSRYvE.js";
|
|
6
6
|
import { b as J, g as Cn, i as gt } from "./icons-DRreo6m8.js";
|
|
7
7
|
import { createPortal as Dn } from "react-dom";
|
|
8
|
-
import { L as Nn } from "./charts-core-
|
|
8
|
+
import { L as Nn } from "./charts-core-DF99lItO.js";
|
|
9
9
|
import { h as kn, g as Sn, d as fr, D as Tn } from "./retention-CzCo8262.js";
|
|
10
|
-
import { u as mr, a as hr, b as pr, d as gr, o as yr, t as zt, w as Ht, x as Wt, p as Mn, q as _t, r as Fn, D as Mt, s as st, n as nt, F as Rn, y as br, z as xr, A as vr } from "./useDirtyStateTracking-
|
|
11
|
-
import { i as wr, L as Cr } from "./charts-loader-
|
|
10
|
+
import { u as mr, a as hr, b as pr, d as gr, o as yr, t as zt, w as Ht, x as Wt, p as Mn, q as _t, r as Fn, D as Mt, s as st, n as nt, F as Rn, y as br, z as xr, A as vr } from "./useDirtyStateTracking-GZtwGRu7.js";
|
|
11
|
+
import { i as wr, L as Cr } from "./charts-loader-AkRviD9H.js";
|
|
12
12
|
import { useChartConfig as Dr } from "../charts.js";
|
|
13
13
|
import { a as Nr } from "./flow-utils-CjQZG5qq.js";
|
|
14
|
-
import { h as kr } from "./syntaxHighlighting-
|
|
14
|
+
import { h as kr } from "./syntaxHighlighting-yTdSle2t.js";
|
|
15
15
|
const Sr = J("refresh");
|
|
16
16
|
class Tr extends Yn {
|
|
17
17
|
constructor(t) {
|
|
@@ -45,24 +45,24 @@ class Tr extends Yn {
|
|
|
45
45
|
return this.state.hasError ? this.props.fallback ? this.props.fallback : /* @__PURE__ */ u(
|
|
46
46
|
"div",
|
|
47
47
|
{
|
|
48
|
-
className: "dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:h-full dc:p-6 text-center dc:border dc:border-dashed dc:rounded-lg",
|
|
48
|
+
className: "dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:h-full dc:p-6 dc:text-center dc:border dc:border-dashed dc:rounded-lg",
|
|
49
49
|
style: { borderColor: "var(--dc-border)", backgroundColor: "var(--dc-surface)" },
|
|
50
50
|
children: [
|
|
51
51
|
/* @__PURE__ */ n("div", { className: "dc:h-12 dc:w-12 dc:mb-4 text-dc-text-muted", children: "⚠️" }),
|
|
52
52
|
/* @__PURE__ */ n("h3", { className: "dc:text-lg dc:font-semibold dc:mb-2 text-dc-text", children: this.props.portletTitle ? `Unable to render ${this.props.portletTitle}` : "Unable to render chart" }),
|
|
53
53
|
/* @__PURE__ */ n("p", { className: "dc:text-sm text-dc-text-secondary dc:mb-4 dc:max-w-md", children: "There was an error rendering this chart component. The error details are shown below." }),
|
|
54
|
-
/* @__PURE__ */ n("div", { className: "dc:w-full dc:max-w-2xl dc:mb-4", children: /* @__PURE__ */ u("div", { className: "bg-dc-surface-secondary dc:rounded-lg dc:p-3 text-left", children: [
|
|
55
|
-
/* @__PURE__ */ u("div", { className: "dc:text-xs font-mono dc:mb-2 text-dc-text", children: [
|
|
54
|
+
/* @__PURE__ */ n("div", { className: "dc:w-full dc:max-w-2xl dc:mb-4", children: /* @__PURE__ */ u("div", { className: "bg-dc-surface-secondary dc:rounded-lg dc:p-3 dc:text-left", children: [
|
|
55
|
+
/* @__PURE__ */ u("div", { className: "dc:text-xs dc:font-mono dc:mb-2 text-dc-text", children: [
|
|
56
56
|
/* @__PURE__ */ n("strong", { children: "Error:" }),
|
|
57
57
|
" ",
|
|
58
58
|
this.state.error?.message
|
|
59
59
|
] }),
|
|
60
|
-
this.state.error?.name && /* @__PURE__ */ u("div", { className: "dc:text-xs font-mono text-dc-text-secondary dc:mb-2", children: [
|
|
60
|
+
this.state.error?.name && /* @__PURE__ */ u("div", { className: "dc:text-xs dc:font-mono text-dc-text-secondary dc:mb-2", children: [
|
|
61
61
|
/* @__PURE__ */ n("strong", { children: "Type:" }),
|
|
62
62
|
" ",
|
|
63
63
|
this.state.error.name
|
|
64
64
|
] }),
|
|
65
|
-
this.props.portletConfig && /* @__PURE__ */ u("details", { className: "dc:text-xs font-mono text-dc-text-secondary dc:mb-2", children: [
|
|
65
|
+
this.props.portletConfig && /* @__PURE__ */ u("details", { className: "dc:text-xs dc:font-mono text-dc-text-secondary dc:mb-2", children: [
|
|
66
66
|
/* @__PURE__ */ n("summary", { className: "dc:cursor-pointer", children: "Portlet Configuration" }),
|
|
67
67
|
/* @__PURE__ */ n(
|
|
68
68
|
"pre",
|
|
@@ -73,7 +73,7 @@ class Tr extends Yn {
|
|
|
73
73
|
}
|
|
74
74
|
)
|
|
75
75
|
] }),
|
|
76
|
-
this.props.cubeQuery && /* @__PURE__ */ u("details", { className: "dc:text-xs font-mono text-dc-text-secondary dc:mb-2", children: [
|
|
76
|
+
this.props.cubeQuery && /* @__PURE__ */ u("details", { className: "dc:text-xs dc:font-mono text-dc-text-secondary dc:mb-2", children: [
|
|
77
77
|
/* @__PURE__ */ n("summary", { className: "dc:cursor-pointer", children: "Cube Query" }),
|
|
78
78
|
/* @__PURE__ */ n(
|
|
79
79
|
"pre",
|
|
@@ -84,7 +84,7 @@ class Tr extends Yn {
|
|
|
84
84
|
}
|
|
85
85
|
)
|
|
86
86
|
] }),
|
|
87
|
-
this.state.errorInfo && /* @__PURE__ */ u("details", { className: "dc:text-xs font-mono text-dc-text-secondary", children: [
|
|
87
|
+
this.state.errorInfo && /* @__PURE__ */ u("details", { className: "dc:text-xs dc:font-mono text-dc-text-secondary", children: [
|
|
88
88
|
/* @__PURE__ */ n("summary", { className: "dc:cursor-pointer", children: "Component Stack" }),
|
|
89
89
|
/* @__PURE__ */ n("pre", { className: "dc:mt-2 dc:whitespace-pre-wrap", children: this.state.errorInfo })
|
|
90
90
|
] })
|
|
@@ -1358,7 +1358,7 @@ const Ct = dt.memo(yn(({
|
|
|
1358
1358
|
}, [r, c, x, P, ae, t, Fe, O, ne, H, Te, S, k, B, Ie, Pe, X.cacheInfo, w.cacheInfo, N.cacheInfo, z.drillPath, z.currentChartConfig]);
|
|
1359
1359
|
const et = !T && j.dropZones.some((q) => q.mandatory === !0);
|
|
1360
1360
|
if (!r && et)
|
|
1361
|
-
return /* @__PURE__ */ n("div", { ref: g, className: "dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted", style: { height: l }, children: /* @__PURE__ */ u("div", { className: "text-center", children: [
|
|
1361
|
+
return /* @__PURE__ */ n("div", { ref: g, className: "dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted", style: { height: l }, children: /* @__PURE__ */ u("div", { className: "dc:text-center", children: [
|
|
1362
1362
|
/* @__PURE__ */ n("div", { className: "dc:text-sm dc:font-semibold dc:mb-1", children: "Configuration Required" }),
|
|
1363
1363
|
/* @__PURE__ */ n("div", { className: "dc:text-xs text-dc-text-secondary", children: "Please configure this chart" })
|
|
1364
1364
|
] }) });
|
|
@@ -1408,7 +1408,7 @@ const Ct = dt.memo(yn(({
|
|
|
1408
1408
|
onLevelClick: se
|
|
1409
1409
|
}
|
|
1410
1410
|
) }),
|
|
1411
|
-
/* @__PURE__ */ n("div", { className: "dc:flex dc:items-center dc:justify-center dc:flex-1 text-dc-text-muted", children: /* @__PURE__ */ u("div", { className: "text-center", children: [
|
|
1411
|
+
/* @__PURE__ */ n("div", { className: "dc:flex dc:items-center dc:justify-center dc:flex-1 text-dc-text-muted", children: /* @__PURE__ */ u("div", { className: "dc:text-center", children: [
|
|
1412
1412
|
/* @__PURE__ */ n("div", { className: "dc:text-sm dc:font-semibold dc:mb-1", children: "No data available" }),
|
|
1413
1413
|
/* @__PURE__ */ n("div", { className: "dc:text-xs text-dc-text-secondary", children: Z ? "No data points to display for the current filter" : "Invalid query or no results" })
|
|
1414
1414
|
] }) })
|
|
@@ -1439,7 +1439,7 @@ const Ct = dt.memo(yn(({
|
|
|
1439
1439
|
try {
|
|
1440
1440
|
const q = l, Z = t === "sankey" && c?.flowVisualization === "sunburst" ? "sunburst" : t;
|
|
1441
1441
|
if (!wr(Z))
|
|
1442
|
-
return /* @__PURE__ */ n("div", { className: "dc:flex dc:items-center dc:justify-center dc:w-full", style: { height: l }, children: /* @__PURE__ */ u("div", { className: "text-center text-dc-text-muted", children: [
|
|
1442
|
+
return /* @__PURE__ */ n("div", { className: "dc:flex dc:items-center dc:justify-center dc:w-full", style: { height: l }, children: /* @__PURE__ */ u("div", { className: "dc:text-center text-dc-text-muted", children: [
|
|
1443
1443
|
/* @__PURE__ */ n("div", { className: "dc:text-sm dc:font-semibold dc:mb-1", children: "Unsupported chart type" }),
|
|
1444
1444
|
/* @__PURE__ */ n("div", { className: "dc:text-xs", children: Z })
|
|
1445
1445
|
] }) });
|
|
@@ -1467,7 +1467,7 @@ const Ct = dt.memo(yn(({
|
|
|
1467
1467
|
}
|
|
1468
1468
|
);
|
|
1469
1469
|
} catch (q) {
|
|
1470
|
-
return console.error("Chart rendering error:", q), /* @__PURE__ */ n("div", { className: "dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted dc:p-4", style: { height: l }, children: /* @__PURE__ */ u("div", { className: "text-center", children: [
|
|
1470
|
+
return console.error("Chart rendering error:", q), /* @__PURE__ */ n("div", { className: "dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted dc:p-4", style: { height: l }, children: /* @__PURE__ */ u("div", { className: "dc:text-center", children: [
|
|
1471
1471
|
/* @__PURE__ */ n("div", { className: "dc:text-sm dc:font-semibold dc:mb-1", children: "Unable to render chart" }),
|
|
1472
1472
|
/* @__PURE__ */ n("div", { className: "dc:text-xs text-dc-text-secondary", children: q instanceof Error ? q.message : "Unknown error" })
|
|
1473
1473
|
] }) });
|
|
@@ -1664,7 +1664,7 @@ function jn({
|
|
|
1664
1664
|
/* @__PURE__ */ u("div", { className: "dc:grid dc:grid-cols-1 dc:lg:grid-cols-2 dc:gap-4 dc:flex-1 dc:overflow-auto", children: [
|
|
1665
1665
|
/* @__PURE__ */ u("div", { children: [
|
|
1666
1666
|
/* @__PURE__ */ n("h3", { className: "dc:text-sm dc:font-medium text-dc-text-secondary dc:mb-2", children: "Chart Type" }),
|
|
1667
|
-
/* @__PURE__ */ n("div", { className: "bg-dc-surface-secondary dc:p-2 dc:rounded-sm dc:text-sm font-mono dc:border border-dc-border", children: d })
|
|
1667
|
+
/* @__PURE__ */ n("div", { className: "bg-dc-surface-secondary dc:p-2 dc:rounded-sm dc:text-sm dc:font-mono dc:border border-dc-border", children: d })
|
|
1668
1668
|
] }),
|
|
1669
1669
|
/* @__PURE__ */ u("div", { children: [
|
|
1670
1670
|
/* @__PURE__ */ n("h3", { className: "dc:text-sm dc:font-medium text-dc-text-secondary dc:mb-2", children: "Field Analysis" }),
|
|
@@ -1698,19 +1698,19 @@ function jn({
|
|
|
1698
1698
|
] }),
|
|
1699
1699
|
/* @__PURE__ */ u("div", { className: "dc:lg:col-span-2", children: [
|
|
1700
1700
|
/* @__PURE__ */ n("h3", { className: "dc:text-sm dc:font-medium text-dc-text-secondary dc:mb-2", children: "Chart Config" }),
|
|
1701
|
-
/* @__PURE__ */ n("pre", { className: "text-dc-text-secondary dc:overflow-x-auto font-mono dc:p-2 dc:rounded-sm dc:border border-dc-border", style: { fontSize: "10px", lineHeight: "1.4" }, children: /* @__PURE__ */ n("code", { className: "language-json", children: JSON.stringify(e, null, 2) }) })
|
|
1701
|
+
/* @__PURE__ */ n("pre", { className: "text-dc-text-secondary dc:overflow-x-auto dc:font-mono dc:p-2 dc:rounded-sm dc:border border-dc-border", style: { fontSize: "10px", lineHeight: "1.4" }, children: /* @__PURE__ */ n("code", { className: "language-json", children: JSON.stringify(e, null, 2) }) })
|
|
1702
1702
|
] }),
|
|
1703
1703
|
/* @__PURE__ */ u("div", { className: "dc:lg:col-span-2", children: [
|
|
1704
1704
|
/* @__PURE__ */ n("h3", { className: "dc:text-sm dc:font-medium text-dc-text-secondary dc:mb-2", children: "Display Config" }),
|
|
1705
|
-
/* @__PURE__ */ n("pre", { className: "text-dc-text-secondary dc:overflow-x-auto font-mono dc:p-2 dc:rounded-sm dc:border border-dc-border", style: { fontSize: "10px", lineHeight: "1.4" }, children: /* @__PURE__ */ n("code", { className: "language-json", children: JSON.stringify(t, null, 2) }) })
|
|
1705
|
+
/* @__PURE__ */ n("pre", { className: "text-dc-text-secondary dc:overflow-x-auto dc:font-mono dc:p-2 dc:rounded-sm dc:border border-dc-border", style: { fontSize: "10px", lineHeight: "1.4" }, children: /* @__PURE__ */ n("code", { className: "language-json", children: JSON.stringify(t, null, 2) }) })
|
|
1706
1706
|
] }),
|
|
1707
1707
|
/* @__PURE__ */ u("div", { className: "dc:lg:col-span-2", children: [
|
|
1708
1708
|
/* @__PURE__ */ n("h3", { className: "dc:text-sm dc:font-medium text-dc-text-secondary dc:mb-2", children: "Query Object" }),
|
|
1709
|
-
/* @__PURE__ */ n("pre", { className: "text-dc-text-secondary dc:overflow-x-auto font-mono dc:p-2 dc:rounded-sm dc:border border-dc-border", style: { fontSize: "10px", lineHeight: "1.4" }, children: /* @__PURE__ */ n("code", { className: "language-json", children: JSON.stringify(r, null, 2) }) })
|
|
1709
|
+
/* @__PURE__ */ n("pre", { className: "text-dc-text-secondary dc:overflow-x-auto dc:font-mono dc:p-2 dc:rounded-sm dc:border border-dc-border", style: { fontSize: "10px", lineHeight: "1.4" }, children: /* @__PURE__ */ n("code", { className: "language-json", children: JSON.stringify(r, null, 2) }) })
|
|
1710
1710
|
] }),
|
|
1711
1711
|
/* @__PURE__ */ u("div", { className: "dc:lg:col-span-2", children: [
|
|
1712
1712
|
/* @__PURE__ */ n("h3", { className: "dc:text-sm dc:font-medium text-dc-text-secondary dc:mb-2", children: "Data Sample (first 3 rows)" }),
|
|
1713
|
-
/* @__PURE__ */ n("pre", { className: "text-dc-text-secondary dc:overflow-x-auto font-mono dc:p-2 dc:rounded-sm dc:border border-dc-border", style: { fontSize: "10px", lineHeight: "1.4" }, children: /* @__PURE__ */ n("code", { className: "language-json", children: JSON.stringify(Array.isArray(c) ? c.slice(0, 3) : c, null, 2) }) })
|
|
1713
|
+
/* @__PURE__ */ n("pre", { className: "text-dc-text-secondary dc:overflow-x-auto dc:font-mono dc:p-2 dc:rounded-sm dc:border border-dc-border", style: { fontSize: "10px", lineHeight: "1.4" }, children: /* @__PURE__ */ n("code", { className: "language-json", children: JSON.stringify(Array.isArray(c) ? c.slice(0, 3) : c, null, 2) }) })
|
|
1714
1714
|
] }),
|
|
1715
1715
|
/* @__PURE__ */ u("div", { className: "dc:lg:col-span-2", children: [
|
|
1716
1716
|
/* @__PURE__ */ n("h3", { className: "dc:text-sm dc:font-medium text-dc-text-secondary dc:mb-2", children: "Cache Status" }),
|
|
@@ -3694,7 +3694,7 @@ function Sc({ position: e, currentPalette: t, onPaletteChange: r }) {
|
|
|
3694
3694
|
{
|
|
3695
3695
|
type: "button",
|
|
3696
3696
|
onClick: () => r(d.name),
|
|
3697
|
-
className: `dc:w-full dc:px-3 dc:py-2 text-left dc:text-sm hover:bg-dc-surface-hover dc:transition-colors ${d.name === t ? "bg-dc-surface-secondary text-dc-primary" : "text-dc-text-secondary"}`,
|
|
3697
|
+
className: `dc:w-full dc:px-3 dc:py-2 dc:text-left dc:text-sm hover:bg-dc-surface-hover dc:transition-colors ${d.name === t ? "bg-dc-surface-secondary text-dc-primary" : "text-dc-text-secondary"}`,
|
|
3698
3698
|
children: /* @__PURE__ */ u("div", { className: "dc:flex dc:items-center dc:gap-2", children: [
|
|
3699
3699
|
/* @__PURE__ */ n("div", { className: "dc:flex dc:gap-0.5 dc:shrink-0", children: d.colors.slice(0, 4).map((s, o) => /* @__PURE__ */ n(
|
|
3700
3700
|
"div",
|
|
@@ -3788,7 +3788,7 @@ const qt = ({
|
|
|
3788
3788
|
)
|
|
3789
3789
|
}
|
|
3790
3790
|
) : null;
|
|
3791
|
-
}, Tc = er(() => import("./analysis-builder-
|
|
3791
|
+
}, Tc = er(() => import("./analysis-builder-CKVYG9jJ.js")), Qn = yn((e, t) => /* @__PURE__ */ n(
|
|
3792
3792
|
Zn,
|
|
3793
3793
|
{
|
|
3794
3794
|
fallback: /* @__PURE__ */ n("div", { className: "dc:flex dc:items-center dc:justify-center dc:w-full dc:py-6", children: /* @__PURE__ */ n(Nn, {}) }),
|
|
@@ -4627,7 +4627,7 @@ function Gc({
|
|
|
4627
4627
|
'"'
|
|
4628
4628
|
] })
|
|
4629
4629
|
] }),
|
|
4630
|
-
/* @__PURE__ */ n("div", { className: "dc:flex-1 dc:overflow-y-auto dc:px-6 dc:py-4", children: r.length === 0 ? /* @__PURE__ */ u("div", { className: "text-center dc:py-8 text-dc-text-muted", children: [
|
|
4630
|
+
/* @__PURE__ */ n("div", { className: "dc:flex-1 dc:overflow-y-auto dc:px-6 dc:py-4", children: r.length === 0 ? /* @__PURE__ */ u("div", { className: "dc:text-center dc:py-8 text-dc-text-muted", children: [
|
|
4631
4631
|
/* @__PURE__ */ n(
|
|
4632
4632
|
"svg",
|
|
4633
4633
|
{
|
|
@@ -4850,7 +4850,7 @@ function Xc({
|
|
|
4850
4850
|
{
|
|
4851
4851
|
type: "button",
|
|
4852
4852
|
onClick: () => a(l.name),
|
|
4853
|
-
className: `dc:w-full dc:px-3 dc:py-2 text-left dc:text-sm hover:bg-dc-surface-hover focus:outline-hidden focus:bg-dc-surface-hover ${l.name === e ? "bg-dc-surface-secondary" : "text-dc-text-secondary"}`,
|
|
4853
|
+
className: `dc:w-full dc:px-3 dc:py-2 dc:text-left dc:text-sm hover:bg-dc-surface-hover focus:outline-hidden focus:bg-dc-surface-hover ${l.name === e ? "bg-dc-surface-secondary" : "text-dc-text-secondary"}`,
|
|
4854
4854
|
style: l.name === e ? { color: "var(--dc-primary)" } : void 0,
|
|
4855
4855
|
children: /* @__PURE__ */ u("div", { className: "dc:flex dc:items-center dc:gap-3", children: [
|
|
4856
4856
|
/* @__PURE__ */ u("div", { className: "dc:hidden dc:md:flex dc:items-center dc:gap-2", children: [
|
|
@@ -4906,7 +4906,7 @@ function ed({
|
|
|
4906
4906
|
{
|
|
4907
4907
|
onClick: c,
|
|
4908
4908
|
onMouseEnter: d,
|
|
4909
|
-
className: `dc:w-full text-left dc:px-3 dc:py-2 dc:rounded-lg dc:flex dc:items-center dc:gap-3 dc:transition-colors dc:group ${r ? "bg-dc-primary/10 dc:ring-1 ring-dc-primary" : t ? "bg-dc-success/10" : "hover:bg-dc-surface-hover"}`,
|
|
4909
|
+
className: `dc:w-full dc:text-left dc:px-3 dc:py-2 dc:rounded-lg dc:flex dc:items-center dc:gap-3 dc:transition-colors dc:group ${r ? "bg-dc-primary/10 dc:ring-1 ring-dc-primary" : t ? "bg-dc-success/10" : "hover:bg-dc-surface-hover"}`,
|
|
4910
4910
|
...s,
|
|
4911
4911
|
children: [
|
|
4912
4912
|
/* @__PURE__ */ n(
|
|
@@ -4935,7 +4935,7 @@ function ed({
|
|
|
4935
4935
|
const Zt = bn(ed);
|
|
4936
4936
|
function td({ field: e }) {
|
|
4937
4937
|
if (!e)
|
|
4938
|
-
return /* @__PURE__ */ n("div", { className: "dc:p-6 text-center text-dc-text-muted", children: /* @__PURE__ */ n("p", { className: "dc:text-sm", children: "Hover over a field to see details" }) });
|
|
4938
|
+
return /* @__PURE__ */ n("div", { className: "dc:p-6 dc:text-center text-dc-text-muted", children: /* @__PURE__ */ n("p", { className: "dc:text-sm", children: "Hover over a field to see details" }) });
|
|
4939
4939
|
const t = () => {
|
|
4940
4940
|
if (e.fieldType === "measure") {
|
|
4941
4941
|
const d = Cn(e.type);
|
|
@@ -5166,7 +5166,7 @@ function dd({
|
|
|
5166
5166
|
"button",
|
|
5167
5167
|
{
|
|
5168
5168
|
onClick: () => h(null),
|
|
5169
|
-
className: `dc:w-full text-left dc:px-3 dc:py-2 dc:rounded-md dc:text-sm dc:transition-colors ${i === null ? "bg-dc-primary/10 text-dc-primary dc:font-medium" : "text-dc-text hover:bg-dc-surface-hover"}`,
|
|
5169
|
+
className: `dc:w-full dc:text-left dc:px-3 dc:py-2 dc:rounded-md dc:text-sm dc:transition-colors ${i === null ? "bg-dc-primary/10 text-dc-primary dc:font-medium" : "text-dc-text hover:bg-dc-surface-hover"}`,
|
|
5170
5170
|
"aria-pressed": i === null,
|
|
5171
5171
|
children: "All"
|
|
5172
5172
|
}
|
|
@@ -5175,7 +5175,7 @@ function dd({
|
|
|
5175
5175
|
"button",
|
|
5176
5176
|
{
|
|
5177
5177
|
onClick: () => h(y),
|
|
5178
|
-
className: `dc:w-full text-left dc:px-3 dc:py-2 dc:rounded-md dc:text-sm dc:transition-colors dc:truncate ${i === y ? "bg-dc-primary/10 text-dc-primary dc:font-medium" : "text-dc-text hover:bg-dc-surface-hover"}`,
|
|
5178
|
+
className: `dc:w-full dc:text-left dc:px-3 dc:py-2 dc:rounded-md dc:text-sm dc:transition-colors dc:truncate ${i === y ? "bg-dc-primary/10 text-dc-primary dc:font-medium" : "text-dc-text hover:bg-dc-surface-hover"}`,
|
|
5179
5179
|
title: at(y, d),
|
|
5180
5180
|
"aria-pressed": i === y,
|
|
5181
5181
|
children: at(y, d)
|
|
@@ -5193,7 +5193,7 @@ function dd({
|
|
|
5193
5193
|
className: "dc:flex-1 dc:overflow-y-auto dc:p-4",
|
|
5194
5194
|
role: "listbox",
|
|
5195
5195
|
"aria-label": "Available fields",
|
|
5196
|
-
children: v.length === 0 && k.length === 0 ? /* @__PURE__ */ u("div", { className: "text-center dc:py-12 text-dc-text-muted", children: [
|
|
5196
|
+
children: v.length === 0 && k.length === 0 ? /* @__PURE__ */ u("div", { className: "dc:text-center dc:py-12 text-dc-text-muted", children: [
|
|
5197
5197
|
/* @__PURE__ */ n("p", { className: "dc:text-lg dc:mb-2", children: "No fields found" }),
|
|
5198
5198
|
/* @__PURE__ */ n("p", { className: "dc:text-sm", children: a ? `No ${c === "metrics" ? "metrics" : "dimensions"} match "${a}"` : `No ${c === "metrics" ? "metrics" : "dimensions"} available` })
|
|
5199
5199
|
] }) : /* @__PURE__ */ u("div", { className: "dc:space-y-6", children: [
|
|
@@ -5406,7 +5406,7 @@ function ud({
|
|
|
5406
5406
|
onClick: () => {
|
|
5407
5407
|
g(!1), A(!1), T(!j);
|
|
5408
5408
|
},
|
|
5409
|
-
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",
|
|
5409
|
+
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",
|
|
5410
5410
|
children: [
|
|
5411
5411
|
/* @__PURE__ */ n("span", { className: "dc:truncate", children: Pe }),
|
|
5412
5412
|
/* @__PURE__ */ n(Rt, { className: `dc:w-4 dc:h-4 text-dc-text-muted dc:shrink-0 dc:ml-2 dc:transition-transform ${j ? "dc:rotate-180" : ""}` })
|
|
@@ -5417,7 +5417,7 @@ function ud({
|
|
|
5417
5417
|
"button",
|
|
5418
5418
|
{
|
|
5419
5419
|
onClick: () => ae(E.value),
|
|
5420
|
-
className: `dc:w-full text-left dc:px-3 dc:py-2 dc:text-sm hover:bg-dc-surface-hover ${E.value === $ ? "bg-dc-primary/10 text-dc-primary" : "text-dc-text"}`,
|
|
5420
|
+
className: `dc:w-full dc:text-left dc:px-3 dc:py-2 dc:text-sm hover:bg-dc-surface-hover ${E.value === $ ? "bg-dc-primary/10 text-dc-primary" : "text-dc-text"}`,
|
|
5421
5421
|
children: E.label
|
|
5422
5422
|
},
|
|
5423
5423
|
E.value
|
|
@@ -5523,7 +5523,7 @@ function ud({
|
|
|
5523
5523
|
onClick: () => {
|
|
5524
5524
|
g(!1), T(!1), A(!I);
|
|
5525
5525
|
},
|
|
5526
|
-
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",
|
|
5526
|
+
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",
|
|
5527
5527
|
children: [
|
|
5528
5528
|
/* @__PURE__ */ n("span", { className: "text-dc-text-muted dc:truncate", children: ke ? "Loading..." : "Select value..." }),
|
|
5529
5529
|
/* @__PURE__ */ n(Rt, { className: `dc:w-4 dc:h-4 text-dc-text-muted dc:shrink-0 dc:ml-2 dc:transition-transform ${I ? "dc:rotate-180" : ""}` })
|
|
@@ -5551,7 +5551,7 @@ function ud({
|
|
|
5551
5551
|
"button",
|
|
5552
5552
|
{
|
|
5553
5553
|
onClick: () => W(E),
|
|
5554
|
-
className: `dc:w-full text-left dc:px-3 dc:py-2 dc:text-sm hover:bg-dc-surface-hover ${q ? "bg-dc-primary/10 text-dc-primary" : "text-dc-text"}`,
|
|
5554
|
+
className: `dc:w-full dc:text-left dc:px-3 dc:py-2 dc:text-sm hover:bg-dc-surface-hover ${q ? "bg-dc-primary/10 text-dc-primary" : "text-dc-text"}`,
|
|
5555
5555
|
children: [
|
|
5556
5556
|
String(E),
|
|
5557
5557
|
q && /* @__PURE__ */ n("span", { className: "dc:float-right", children: "✓" })
|
|
@@ -5643,10 +5643,10 @@ function ud({
|
|
|
5643
5643
|
children: [
|
|
5644
5644
|
i.member ? /* @__PURE__ */ u(ye, { children: [
|
|
5645
5645
|
/* @__PURE__ */ n("span", { className: `dc:w-6 dc:h-6 dc:flex dc:items-center dc:justify-center dc:rounded ${et} ${ze}`, children: Ve && /* @__PURE__ */ n(Ve, { className: "dc:w-4 dc:h-4" }) }),
|
|
5646
|
-
/* @__PURE__ */ n("span", { className: "dc:flex-1 dc:text-sm dc:font-medium text-dc-text text-left", children: P })
|
|
5646
|
+
/* @__PURE__ */ n("span", { className: "dc:flex-1 dc:text-sm dc:font-medium text-dc-text dc:text-left", children: P })
|
|
5647
5647
|
] }) : /* @__PURE__ */ u(ye, { children: [
|
|
5648
5648
|
/* @__PURE__ */ n("span", { className: "dc:w-6 dc:h-6 dc:flex dc:items-center dc:justify-center dc:rounded bg-dc-surface-tertiary text-dc-text-muted", children: /* @__PURE__ */ n(tn, { className: "dc:w-4 dc:h-4" }) }),
|
|
5649
|
-
/* @__PURE__ */ n("span", { className: "dc:flex-1 dc:text-sm text-dc-text-muted text-left", children: "Click to select a field" })
|
|
5649
|
+
/* @__PURE__ */ n("span", { className: "dc:flex-1 dc:text-sm text-dc-text-muted dc:text-left", children: "Click to select a field" })
|
|
5650
5650
|
] }),
|
|
5651
5651
|
/* @__PURE__ */ n(id, { className: "dc:w-4 dc:h-4 text-dc-text-muted" })
|
|
5652
5652
|
]
|
|
@@ -5662,7 +5662,7 @@ function ud({
|
|
|
5662
5662
|
onClick: () => {
|
|
5663
5663
|
A(!1), T(!1), g(!D);
|
|
5664
5664
|
},
|
|
5665
|
-
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",
|
|
5665
|
+
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",
|
|
5666
5666
|
children: [
|
|
5667
5667
|
/* @__PURE__ */ n("span", { className: "dc:truncate", children: Ie }),
|
|
5668
5668
|
/* @__PURE__ */ n(Rt, { className: `dc:w-4 dc:h-4 text-dc-text-muted dc:shrink-0 dc:ml-2 dc:transition-transform ${D ? "dc:rotate-180" : ""}` })
|
|
@@ -5673,7 +5673,7 @@ function ud({
|
|
|
5673
5673
|
"button",
|
|
5674
5674
|
{
|
|
5675
5675
|
onClick: () => L(E.operator),
|
|
5676
|
-
className: `dc:w-full text-left dc:px-3 dc:py-2 dc:text-sm hover:bg-dc-surface-hover ${E.operator === i.operator ? "bg-dc-primary/10 text-dc-primary" : "text-dc-text"}`,
|
|
5676
|
+
className: `dc:w-full dc:text-left dc:px-3 dc:py-2 dc:text-sm hover:bg-dc-surface-hover ${E.operator === i.operator ? "bg-dc-primary/10 text-dc-primary" : "text-dc-text"}`,
|
|
5677
5677
|
children: E.label
|
|
5678
5678
|
},
|
|
5679
5679
|
E.operator
|
|
@@ -5911,7 +5911,7 @@ const fd = ({
|
|
|
5911
5911
|
e.length === 0 && !a && /* @__PURE__ */ n("div", { className: "dc:px-4 dc:pb-2", children: /* @__PURE__ */ n(
|
|
5912
5912
|
"div",
|
|
5913
5913
|
{
|
|
5914
|
-
className: "dc:text-xs dc:p-2 dc:rounded-md text-center",
|
|
5914
|
+
className: "dc:text-xs dc:p-2 dc:rounded-md dc:text-center",
|
|
5915
5915
|
style: {
|
|
5916
5916
|
backgroundColor: "var(--dc-surface-secondary)",
|
|
5917
5917
|
color: "var(--dc-text-secondary)"
|
|
@@ -6514,7 +6514,7 @@ const cn = ({
|
|
|
6514
6514
|
{
|
|
6515
6515
|
type: "button",
|
|
6516
6516
|
onClick: () => r(o.value),
|
|
6517
|
-
className: "dc:w-full dc:px-3 dc:py-2 text-left dc:text-sm dc:transition-colors dc:flex dc:items-center dc:justify-between dc:gap-2",
|
|
6517
|
+
className: "dc:w-full dc:px-3 dc:py-2 dc:text-left dc:text-sm dc:transition-colors dc:flex dc:items-center dc:justify-between dc:gap-2",
|
|
6518
6518
|
style: {
|
|
6519
6519
|
backgroundColor: a ? "var(--dc-primary-bg)" : "transparent",
|
|
6520
6520
|
color: "var(--dc-text)"
|
|
@@ -6746,7 +6746,7 @@ const cn = ({
|
|
|
6746
6746
|
"button",
|
|
6747
6747
|
{
|
|
6748
6748
|
onClick: v,
|
|
6749
|
-
className: "dc:w-full text-left dc:text-sm dc:border border-dc-border dc:rounded-sm dc:px-2 dc:py-1 bg-dc-surface hover:bg-dc-surface-hover dc:focus:ring-2 focus:ring-dc-accent focus:border-dc-accent dc:flex dc:items-center dc:justify-between dc:min-w-0",
|
|
6749
|
+
className: "dc:w-full dc:text-left dc:text-sm dc:border border-dc-border dc:rounded-sm dc:px-2 dc:py-1 bg-dc-surface hover:bg-dc-surface-hover dc:focus:ring-2 focus:ring-dc-accent focus:border-dc-accent dc:flex dc:items-center dc:justify-between dc:min-w-0",
|
|
6750
6750
|
children: [
|
|
6751
6751
|
/* @__PURE__ */ n("span", { className: "text-dc-text-muted dc:truncate", children: T && !h ? "Loading values..." : "Select value..." }),
|
|
6752
6752
|
/* @__PURE__ */ n(vd, { className: "dc:w-4 dc:h-4 text-dc-text-muted" })
|
|
@@ -6774,7 +6774,7 @@ const cn = ({
|
|
|
6774
6774
|
"button",
|
|
6775
6775
|
{
|
|
6776
6776
|
onClick: () => k(R),
|
|
6777
|
-
className: `dc:w-full text-left dc:px-3 dc:py-2 dc:text-sm hover:bg-dc-surface-hover focus:outline-hidden focus:bg-dc-surface-hover ${M ? "bg-dc-accent-bg text-dc-accent" : "text-dc-text-secondary"}`,
|
|
6777
|
+
className: `dc:w-full dc:text-left dc:px-3 dc:py-2 dc:text-sm hover:bg-dc-surface-hover focus:outline-hidden focus:bg-dc-surface-hover ${M ? "bg-dc-accent-bg text-dc-accent" : "text-dc-text-secondary"}`,
|
|
6778
6778
|
children: [
|
|
6779
6779
|
String(R),
|
|
6780
6780
|
M && /* @__PURE__ */ n("span", { className: "dc:float-right text-dc-accent", children: "✓" })
|
|
@@ -8572,7 +8572,7 @@ function Ud({
|
|
|
8572
8572
|
]);
|
|
8573
8573
|
if (!e.portlets || e.portlets.length === 0)
|
|
8574
8574
|
return /* @__PURE__ */ u(ye, { children: [
|
|
8575
|
-
/* @__PURE__ */ n("div", { className: "dc:flex dc:justify-center dc:items-center dc:min-h-[50vh]", children: /* @__PURE__ */ u("div", { className: "text-center", children: [
|
|
8575
|
+
/* @__PURE__ */ n("div", { className: "dc:flex dc:justify-center dc:items-center dc:min-h-[50vh]", children: /* @__PURE__ */ u("div", { className: "dc:text-center", children: [
|
|
8576
8576
|
/* @__PURE__ */ n($d, { style: { width: "64px", height: "64px", color: "var(--dc-text-muted)", margin: "0 auto 16px auto" } }),
|
|
8577
8577
|
/* @__PURE__ */ n("h3", { className: "dc:text-lg dc:font-semibold dc:mb-2 text-dc-text", children: "No Portlets" }),
|
|
8578
8578
|
/* @__PURE__ */ n("p", { className: "dc:text-sm text-dc-text-secondary dc:mb-4", children: "Add your first portlet to start visualizing your data" }),
|
|
@@ -9195,4 +9195,4 @@ export {
|
|
|
9195
9195
|
ic as y,
|
|
9196
9196
|
ac as z
|
|
9197
9197
|
};
|
|
9198
|
-
//# sourceMappingURL=DashboardEditModal-
|
|
9198
|
+
//# sourceMappingURL=DashboardEditModal-t5XeTZom.js.map
|