drizzle-cube 0.4.0 → 0.4.2

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 (26) hide show
  1. package/dist/adapters/express/index.cjs +1 -1
  2. package/dist/adapters/express/index.js +1 -1
  3. package/dist/adapters/fastify/index.cjs +1 -1
  4. package/dist/adapters/fastify/index.js +1 -1
  5. package/dist/adapters/hono/index.cjs +1 -1
  6. package/dist/adapters/hono/index.js +1 -1
  7. package/dist/adapters/{mcp-transport-Bbz3qrIy.js → mcp-transport-Dmolep14.js} +31 -26
  8. package/dist/adapters/{mcp-transport-CXF4E5QJ.cjs → mcp-transport-h__yKJm9.cjs} +3 -3
  9. package/dist/adapters/nextjs/index.cjs +1 -1
  10. package/dist/adapters/nextjs/index.js +1 -1
  11. package/dist/client/chunks/{DashboardEditModal-Bv7e3Q7O.js → DashboardEditModal-D6TDeTBa.js} +1947 -1980
  12. package/dist/client/chunks/DashboardEditModal-D6TDeTBa.js.map +1 -0
  13. package/dist/client/chunks/{analysis-builder-BfH-w92z.js → analysis-builder-CIuNLos1.js} +101 -101
  14. package/dist/client/chunks/{analysis-builder-BfH-w92z.js.map → analysis-builder-CIuNLos1.js.map} +1 -1
  15. package/dist/client/chunks/{analysis-builder-shared-DsbdRCzz.js → analysis-builder-shared-gky0SKQH.js} +160 -159
  16. package/dist/client/chunks/analysis-builder-shared-gky0SKQH.js.map +1 -0
  17. package/dist/client/components/PortletAnalysisModal.d.ts +2 -2
  18. package/dist/client/components.js +1 -1
  19. package/dist/client/index.js +2 -2
  20. package/dist/client/utils/filterUtils.d.ts +6 -0
  21. package/dist/client-bundle-stats.html +1 -1
  22. package/dist/server/index.cjs +31 -31
  23. package/dist/server/index.js +1512 -1507
  24. package/package.json +1 -1
  25. package/dist/client/chunks/DashboardEditModal-Bv7e3Q7O.js.map +0 -1
  26. package/dist/client/chunks/analysis-builder-shared-DsbdRCzz.js.map +0 -1
@@ -9,7 +9,7 @@ interface PortletAnalysisModalProps {
9
9
  title: string;
10
10
  submitText: string;
11
11
  colorPalette?: ColorPalette;
12
- /** Dashboard filters to apply to preview (when editing portlet in dashboard context) */
12
+ /** @deprecated Dashboard filters are no longer merged into the editor - they are applied at execution time */
13
13
  dashboardFilters?: DashboardFilter[];
14
14
  }
15
15
  /**
@@ -23,5 +23,5 @@ interface PortletAnalysisModalProps {
23
23
  * - Title input in header
24
24
  * - Initial data support (no re-fetch when editing)
25
25
  */
26
- export default function PortletAnalysisModal({ isOpen, onClose, onSave, portlet, initialData, title: modalTitle, submitText, colorPalette, dashboardFilters }: PortletAnalysisModalProps): import("react/jsx-runtime").JSX.Element;
26
+ export default function PortletAnalysisModal({ isOpen, onClose, onSave, portlet, initialData, title: modalTitle, submitText, colorPalette }: PortletAnalysisModalProps): import("react/jsx-runtime").JSX.Element;
27
27
  export {};
@@ -1,4 +1,4 @@
1
- import { a as V, A, e as T, D as P, M as G, P as H } from "./chunks/DashboardEditModal-Bv7e3Q7O.js";
1
+ import { a as V, A, e as T, D as P, M as G, P as H } from "./chunks/DashboardEditModal-D6TDeTBa.js";
2
2
  import { jsx as c, jsxs as a } from "react/jsx-runtime";
3
3
  import { useState as b, useEffect as o, useCallback as i } from "react";
4
4
  import { S as y, A as N } from "./chunks/charts-core-DAF1iT_h.js";
@@ -1,10 +1,10 @@
1
- import { g as d, a as y, A as g, C as m, f as b, e as C, D as h, h as f, c as p, b as D, M as x, d as S, P as Q, l as A, R as M, O as F, N as v, L as T, Q as I, T as E, G as L, F as P, I as B, U as w, E as R, H as K, V, J as k, K as N, S as j, W as U, X as z, x as G, o as O, v as W, q, s as H, t as _, n as J, r as X, m as $, p as Y, w as Z, u as ee, i as ae, j as se, k as te, B as re, z as ie, y as le } from "./chunks/DashboardEditModal-Bv7e3Q7O.js";
1
+ import { g as d, a as y, A as g, C as m, f as b, e as C, D as h, h as f, c as p, b as D, M as x, d as S, P as Q, l as A, R as M, O as F, N as v, L as T, Q as I, T as E, G as L, F as P, I as B, U as w, E as R, H as K, V, J as k, K as N, S as j, W as U, X as z, x as G, o as O, v as W, q, s as H, t as _, n as J, r as X, m as $, p as Y, w as Z, u as ee, i as ae, j as se, k as te, B as re, z as ie, y as le } from "./chunks/DashboardEditModal-D6TDeTBa.js";
2
2
  import { jsx as e, jsxs as s } from "react/jsx-runtime";
3
3
  import { L as ne, u as ue } from "./chunks/charts-core-DAF1iT_h.js";
4
4
  import { L as de, g as ye, c as ge, b as me, i as be, p as Ce, a as he } from "./chunks/charts-loader-7pEaEz-f.js";
5
5
  import { b as t } from "./chunks/icons-DRreo6m8.js";
6
6
  import { D as pe, a as De, i as xe, c as Se, f as Qe, h as Ae, g as Me, r as Fe, e as ve, s as Te } from "./chunks/icons-DRreo6m8.js";
7
- import { E as Ee, a as Le, p as Pe, q as Be, m as we, l as Re, r as Ke, C as Ve, D as ke, o as Ne, B as je, n as Ue, w as ze, t as Ge, d as Oe, f as We, s as qe, e as He, i as _e, c as Je, h as Xe, g as $e, u as Ye, b as Ze, y as ea, A as aa, x as sa, k as ta, v as ra, z as ia, j as la } from "./chunks/analysis-builder-shared-DsbdRCzz.js";
7
+ import { E as Ee, a as Le, p as Pe, q as Be, m as we, l as Re, r as Ke, C as Ve, D as ke, o as Ne, B as je, n as Ue, w as ze, t as Ge, d as Oe, f as We, s as qe, e as He, i as _e, c as Je, h as Xe, g as $e, u as Ye, b as Ze, y as ea, A as aa, x as sa, k as ta, v as ra, z as ia, j as la } from "./chunks/analysis-builder-shared-gky0SKQH.js";
8
8
  import { h as na, a as ua, S as ca, e as da, d as ya, i as ga, f as ma, b as ba, g as Ca, u as ha, j as fa, c as pa, w as Da } from "./chunks/providers-D2xswCYu.js";
9
9
  import { u as Sa } from "./chunks/chart-bubble-D-auWIjP.js";
10
10
  import { c as Aa, f as Ma } from "./chunks/index-CApFCBF9.js";
@@ -1,4 +1,10 @@
1
1
  import { Filter, DashboardFilter, CubeMeta, DashboardConfig } from '../types';
2
+ /**
3
+ * Check if a filter should be included in the query (has valid values or doesn't require values)
4
+ * @param filter - The filter to check
5
+ * @returns true if the filter should be included, false otherwise
6
+ */
7
+ export declare function shouldIncludeFilter(filter: Filter): boolean;
2
8
  /**
3
9
  * Get dashboard filters that should be applied to a portlet based on its mapping configuration
4
10
  *