drizzle-cube 0.5.1 → 0.5.4
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 +4 -0
- package/dist/adapters/express/index.cjs +2 -2
- package/dist/adapters/express/index.js +105 -104
- package/dist/adapters/fastify/index.cjs +2 -2
- package/dist/adapters/fastify/index.js +107 -106
- package/dist/adapters/{google-CBfBGU4F.js → google-CT4kgmBf.js} +1 -1
- package/dist/adapters/{google-BOAwi9Ib.cjs → google-Dgo9-Kb5.cjs} +1 -1
- package/dist/adapters/{handler-BzzbVpcl.cjs → handler-CNn3q29F.cjs} +13 -13
- package/dist/adapters/{handler-3LGcjLtr.js → handler-_TKfigrZ.js} +33 -34
- package/dist/adapters/hono/index.cjs +1 -1
- package/dist/adapters/hono/index.js +99 -98
- package/dist/adapters/{locale-DTnJrxm1.js → locale-BQQrZYhz.js} +442 -404
- package/dist/adapters/locale-Dl_3R6hP.cjs +198 -0
- package/dist/adapters/mcp-tools.cjs +1 -1
- package/dist/adapters/mcp-tools.js +2 -2
- package/dist/adapters/mcp-transport-CkyawtUT.cjs +40 -0
- package/dist/adapters/mcp-transport-DSbd6M_u.js +586 -0
- package/dist/adapters/mcp-transport.d.ts +22 -0
- package/dist/adapters/nextjs/index.cjs +1 -1
- package/dist/adapters/nextjs/index.js +136 -135
- package/dist/adapters/openai-Bgri5TJc.cjs +16 -0
- package/dist/adapters/{openai-C4BD8xnN.cjs → openai-BjLV_Wjx.cjs} +1 -1
- package/dist/{server/openai-CqZg6zYL.js → adapters/openai-CuUGrKaK.js} +824 -720
- package/dist/adapters/{openai-CaSQEduB.js → openai-DQawCWQb.js} +1 -1
- package/dist/adapters/{utils-DOg9oGdt.js → utils-DG8ti3FT.js} +1121 -687
- package/dist/adapters/utils-DrWvXf0G.cjs +128 -0
- package/dist/adapters/utils.cjs +1 -1
- package/dist/adapters/utils.d.ts +46 -4
- package/dist/adapters/utils.js +1 -1
- package/dist/cli/index.cjs +2 -2
- package/dist/client/charts.js +12 -12
- package/dist/client/chunks/{DashboardEditModal-cSSIAZGy.js → DashboardEditModal-BBcB0E2g.js} +14 -14
- package/dist/client/chunks/{DashboardEditModal-cSSIAZGy.js.map → DashboardEditModal-BBcB0E2g.js.map} +1 -1
- package/dist/client/chunks/{FieldSearchModal-CZNo4pNK.js → FieldSearchModal-CisOov-_.js} +5 -5
- package/dist/client/chunks/{FieldSearchModal-CZNo4pNK.js.map → FieldSearchModal-CisOov-_.js.map} +1 -1
- package/dist/client/chunks/KpiDelta-D09hA_UJ.js +2 -0
- package/dist/client/chunks/KpiNumber-B7F9F9fC.js +2 -0
- package/dist/client/chunks/KpiText-C3ZXOF8b.js +2 -0
- package/dist/client/chunks/{RetentionCombinedChart-BD8tGeM_.js → RetentionCombinedChart-DiyZwiPv.js} +3 -3
- package/dist/client/chunks/{RetentionCombinedChart-BD8tGeM_.js.map → RetentionCombinedChart-DiyZwiPv.js.map} +1 -1
- package/dist/client/chunks/{RetentionHeatmap-B_5sewwi.js → RetentionHeatmap-usGF7BCo.js} +2 -2
- package/dist/client/chunks/{RetentionHeatmap-B_5sewwi.js.map → RetentionHeatmap-usGF7BCo.js.map} +1 -1
- package/dist/client/chunks/SchemaVisualization-DP4k1fPp.js +2 -0
- package/dist/client/chunks/SchemaVisualizationLazy-Brqv_PY9.js +2 -0
- package/dist/client/chunks/{analysis-builder-BeVZhiQ5.js → analysis-builder-0o1W-k3K.js} +8 -8
- package/dist/client/chunks/{analysis-builder-BeVZhiQ5.js.map → analysis-builder-0o1W-k3K.js.map} +1 -1
- package/dist/client/chunks/{analysis-builder-shared-BWc7ZZnG.js → analysis-builder-shared-Cz4KAlIC.js} +9 -9
- package/dist/client/chunks/{analysis-builder-shared-BWc7ZZnG.js.map → analysis-builder-shared-Cz4KAlIC.js.map} +1 -1
- package/dist/client/chunks/{chart-activity-grid-CWT0gLv4.js → chart-activity-grid-VFFm85hC.js} +18 -3
- package/dist/client/chunks/{chart-activity-grid-CWT0gLv4.js.map → chart-activity-grid-VFFm85hC.js.map} +1 -1
- package/dist/client/chunks/{chart-area-D63kG8OT.js → chart-area-CwwIHTmK.js} +3 -3
- package/dist/client/chunks/{chart-area-D63kG8OT.js.map → chart-area-CwwIHTmK.js.map} +1 -1
- package/dist/client/chunks/{chart-bar-BEfsCLjl.js → chart-bar-Bmny922L.js} +3 -3
- package/dist/client/chunks/{chart-bar-BEfsCLjl.js.map → chart-bar-Bmny922L.js.map} +1 -1
- package/dist/client/chunks/{chart-box-plot-o-h9MRX5.js → chart-box-plot-DM7GwtCV.js} +2 -2
- package/dist/client/chunks/{chart-box-plot-o-h9MRX5.js.map → chart-box-plot-DM7GwtCV.js.map} +1 -1
- package/dist/client/chunks/{chart-bubble-CMDp4Pfm.js → chart-bubble-DJOq4IpT.js} +2 -2
- package/dist/client/chunks/{chart-bubble-CMDp4Pfm.js.map → chart-bubble-DJOq4IpT.js.map} +1 -1
- package/dist/client/chunks/{chart-candlestick-WyANJ0Ky.js → chart-candlestick-C2nzVCv1.js} +2 -2
- package/dist/client/chunks/{chart-candlestick-WyANJ0Ky.js.map → chart-candlestick-C2nzVCv1.js.map} +1 -1
- package/dist/client/chunks/{chart-data-table-C3Xh9jwL.js → chart-data-table-zZtwLf55.js} +31 -31
- package/dist/client/chunks/chart-data-table-zZtwLf55.js.map +1 -0
- package/dist/client/chunks/{chart-funnel-C7pgktN5.js → chart-funnel-COTJy8BP.js} +2 -2
- package/dist/client/chunks/{chart-funnel-C7pgktN5.js.map → chart-funnel-COTJy8BP.js.map} +1 -1
- package/dist/client/chunks/{chart-gauge-D2r2B_AR.js → chart-gauge-C8lIneI0.js} +2 -2
- package/dist/client/chunks/{chart-gauge-D2r2B_AR.js.map → chart-gauge-C8lIneI0.js.map} +1 -1
- package/dist/client/chunks/{chart-heat-map-Dw2yjwfO.js → chart-heat-map-BJXt3RMt.js} +2 -2
- package/dist/client/chunks/{chart-heat-map-Dw2yjwfO.js.map → chart-heat-map-BJXt3RMt.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-delta-CYE0S1x_.js → chart-kpi-delta-DHkNqufb.js} +4 -4
- package/dist/client/chunks/{chart-kpi-delta-CYE0S1x_.js.map → chart-kpi-delta-DHkNqufb.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-number-BlZ79xHW.js → chart-kpi-number-BrXw7m-S.js} +6 -6
- package/dist/client/chunks/{chart-kpi-number-BlZ79xHW.js.map → chart-kpi-number-BrXw7m-S.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-text-DY1BnxPe.js → chart-kpi-text-D0plngLV.js} +3 -3
- package/dist/client/chunks/{chart-kpi-text-DY1BnxPe.js.map → chart-kpi-text-D0plngLV.js.map} +1 -1
- package/dist/client/chunks/{chart-line-CBsTThTv.js → chart-line-DKvW32U-.js} +3 -3
- package/dist/client/chunks/{chart-line-CBsTThTv.js.map → chart-line-DKvW32U-.js.map} +1 -1
- package/dist/client/chunks/{chart-markdown-BWaWVkuz.js → chart-markdown-CJU2hUq3.js} +1204 -1140
- package/dist/client/chunks/chart-markdown-CJU2hUq3.js.map +1 -0
- package/dist/client/chunks/{chart-measure-profile-B41qCTBG.js → chart-measure-profile-DNT_tbh4.js} +3 -3
- package/dist/client/chunks/{chart-measure-profile-B41qCTBG.js.map → chart-measure-profile-DNT_tbh4.js.map} +1 -1
- package/dist/client/chunks/{chart-pie-Djbu8x2v.js → chart-pie-CzYnncO-.js} +3 -3
- package/dist/client/chunks/{chart-pie-Djbu8x2v.js.map → chart-pie-CzYnncO-.js.map} +1 -1
- package/dist/client/chunks/{chart-radar-BsTcKV0K.js → chart-radar-8iAt3QZl.js} +3 -3
- package/dist/client/chunks/{chart-radar-BsTcKV0K.js.map → chart-radar-8iAt3QZl.js.map} +1 -1
- package/dist/client/chunks/{chart-radial-bar-Du7XNnwE.js → chart-radial-bar-CJbG7RIe.js} +3 -3
- package/dist/client/chunks/{chart-radial-bar-Du7XNnwE.js.map → chart-radial-bar-CJbG7RIe.js.map} +1 -1
- package/dist/client/chunks/{chart-sankey-WwkZAhLy.js → chart-sankey-C-wLBUmb.js} +2 -2
- package/dist/client/chunks/{chart-sankey-WwkZAhLy.js.map → chart-sankey-C-wLBUmb.js.map} +1 -1
- package/dist/client/chunks/{chart-scatter-D8krEYsA.js → chart-scatter-NMjD1lbW.js} +3 -3
- package/dist/client/chunks/{chart-scatter-D8krEYsA.js.map → chart-scatter-NMjD1lbW.js.map} +1 -1
- package/dist/client/chunks/{chart-sunburst-CIDB_pTl.js → chart-sunburst-HtJ-LJ7n.js} +3 -3
- package/dist/client/chunks/{chart-sunburst-CIDB_pTl.js.map → chart-sunburst-HtJ-LJ7n.js.map} +1 -1
- package/dist/client/chunks/{chart-tree-map-C5C2iaWM.js → chart-tree-map-CetaLMt8.js} +3 -3
- package/dist/client/chunks/{chart-tree-map-C5C2iaWM.js.map → chart-tree-map-CetaLMt8.js.map} +1 -1
- package/dist/client/chunks/{chart-waterfall-BGdPrJ5Y.js → chart-waterfall-ontNp1Sd.js} +3 -3
- package/dist/client/chunks/{chart-waterfall-BGdPrJ5Y.js.map → chart-waterfall-ontNp1Sd.js.map} +1 -1
- package/dist/client/chunks/{charts-core-BXOqaYFn.js → charts-core-B5UXUg6_.js} +2 -2
- package/dist/client/chunks/{charts-core-BXOqaYFn.js.map → charts-core-B5UXUg6_.js.map} +1 -1
- package/dist/client/chunks/{core-DcfMGTVa.js → core-Dk6z6kC0.js} +2 -2
- package/dist/client/chunks/{core-DcfMGTVa.js.map → core-Dk6z6kC0.js.map} +1 -1
- package/dist/client/chunks/{exceljs.min-CcjgM-qg.js → exceljs.min-DaJsLlWM.js} +24 -24
- package/dist/client/chunks/{exceljs.min-CcjgM-qg.js.map → exceljs.min-DaJsLlWM.js.map} +1 -1
- package/dist/client/chunks/{nl-NL-vCifBijs.js → nl-NL-DDf0OdfW.js} +17 -2
- package/dist/client/chunks/{nl-NL-vCifBijs.js.map → nl-NL-DDf0OdfW.js.map} +1 -1
- package/dist/client/chunks/{schema-visualization-Xp60Ff2W.js → schema-visualization-cnB2xZxn.js} +9 -9
- package/dist/client/chunks/{schema-visualization-Xp60Ff2W.js.map → schema-visualization-cnB2xZxn.js.map} +1 -1
- package/dist/client/chunks/{syntaxHighlighting-CnDujqwg.js → syntaxHighlighting-D8J6Yt9j.js} +2 -2
- package/dist/client/chunks/{syntaxHighlighting-CnDujqwg.js.map → syntaxHighlighting-D8J6Yt9j.js.map} +1 -1
- package/dist/client/chunks/{useDebounce-CfmUMFau.js → useDebounce-BOBSvhHy.js} +4 -4
- package/dist/client/chunks/{useDebounce-CfmUMFau.js.map → useDebounce-BOBSvhHy.js.map} +1 -1
- package/dist/client/chunks/{useExplainAI-BKGmejIj.js → useExplainAI-B_Pi4eXW.js} +4 -4
- package/dist/client/chunks/{useExplainAI-BKGmejIj.js.map → useExplainAI-B_Pi4eXW.js.map} +1 -1
- package/dist/client/chunks/{utils-BldkcRHv.js → utils-BIuqPQuJ.js} +2 -2
- package/dist/client/chunks/{utils-BldkcRHv.js.map → utils-BIuqPQuJ.js.map} +1 -1
- package/dist/client/chunks/{vendor-ClXpIiea.js → vendor-BxLCTfvm.js} +8 -8
- package/dist/client/chunks/{vendor-ClXpIiea.js.map → vendor-BxLCTfvm.js.map} +1 -1
- package/dist/client/components.js +3 -3
- package/dist/client/hooks.js +3 -3
- package/dist/client/icons.js +1 -1
- package/dist/client/index.js +15 -15
- package/dist/client/providers.js +1 -1
- package/dist/client/schema.js +1 -1
- package/dist/client/utils.js +6 -6
- package/dist/client-bundle-stats.html +1 -1
- package/dist/mcp-app/mcp-app.html +27 -27
- package/dist/server/index.cjs +145 -144
- package/dist/server/index.js +1960 -1868
- package/dist/server/{openai-D9Zjuby1.cjs → openai-BfiZU0rG.cjs} +1 -1
- package/dist/server/openai-BwsBio1K.cjs +16 -0
- package/dist/server/{openai-rwauPzCT.js → openai-CLWSwD-D.js} +1 -1
- package/dist/{adapters/openai-BAnEZgKZ.js → server/openai-zpXlGbbF.js} +824 -720
- package/package.json +2 -2
- package/dist/adapters/locale-DueXjqMh.cjs +0 -198
- package/dist/adapters/mcp-prompts-BUFyQLHQ.js +0 -377
- package/dist/adapters/mcp-prompts-B_NvEJT_.cjs +0 -111
- package/dist/adapters/mcp-transport-C7VLf4T5.js +0 -579
- package/dist/adapters/mcp-transport-poPHl_2j.cjs +0 -39
- package/dist/adapters/openai-4JP2B6pB.cjs +0 -16
- package/dist/adapters/utils-DNrj-ryp.cjs +0 -17
- package/dist/client/chunks/KpiDelta-Dll_eCV1.js +0 -2
- package/dist/client/chunks/KpiNumber-BPlR92hI.js +0 -2
- package/dist/client/chunks/KpiText-BIxq7Jso.js +0 -2
- package/dist/client/chunks/SchemaVisualization-CCICjhvv.js +0 -2
- package/dist/client/chunks/SchemaVisualizationLazy-DraGsMx6.js +0 -2
- package/dist/client/chunks/chart-data-table-C3Xh9jwL.js.map +0 -1
- package/dist/client/chunks/chart-markdown-BWaWVkuz.js.map +0 -1
- package/dist/server/openai-DmuEbFd6.cjs +0 -16
- /package/dist/adapters/{anthropic-Cto4Jxqt.cjs → anthropic-BIva8k1r.cjs} +0 -0
- /package/dist/adapters/{anthropic-DpEbCVvF.js → anthropic-B_rg0BhK.js} +0 -0
- /package/dist/adapters/{dist-BnyV9wfA.cjs → dist-Boc63-1q.cjs} +0 -0
- /package/dist/adapters/{dist-DjVh2RFz.js → dist-De5fzUEM.js} +0 -0
package/dist/adapters/utils.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./utils-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./utils-DrWvXf0G.cjs`);exports.buildTransformedQuery=e.t,exports.calculateQueryComplexity=e.n,exports.formatCubeResponse=e.r,exports.formatErrorResponse=e.i,exports.formatMetaResponse=e.a,exports.formatSqlResponse=e.o,exports.formatSqlString=e.s,exports.generateRequestId=e.c,exports.getDatabaseType=e.l,exports.handleBatchRequest=e.u,exports.handleDiscover=e.d,exports.handleDryRun=e.f,exports.handleLoad=e.p,exports.handleSuggest=e.m,exports.handleValidate=e.h,exports.normalizeQueryFields=e.g;
|
package/dist/adapters/utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SemanticLayerCompiler, SemanticQuery, SecurityContext, CubeDiscoveryResult, QuerySuggestion, AIValidationResult } from '../server';
|
|
2
|
-
import { MCPPromptResolver, MCPResourceResolver } from './mcp-transport';
|
|
2
|
+
import { MCPPromptResolver, MCPResourceResolver, MCPInstructionsResolver } from './mcp-transport';
|
|
3
3
|
/**
|
|
4
4
|
* Calculate query complexity based on query structure
|
|
5
5
|
*/
|
|
@@ -297,6 +297,18 @@ export interface MCPOptions {
|
|
|
297
297
|
* The live schema resource is always appended automatically.
|
|
298
298
|
*/
|
|
299
299
|
resources?: MCPResourceResolver;
|
|
300
|
+
/**
|
|
301
|
+
* Override the `InitializeResult.instructions` string returned by the
|
|
302
|
+
* MCP `initialize` handshake. Per the MCP spec, this is the only
|
|
303
|
+
* server-authored guidance that clients are expected to surface to the
|
|
304
|
+
* model (it is typically merged into the system prompt).
|
|
305
|
+
*
|
|
306
|
+
* Pass a string to replace the defaults entirely, or a function to
|
|
307
|
+
* derive from / extend them. Use this to append project-specific
|
|
308
|
+
* guidance (e.g. cube semantics, naming conventions) without losing
|
|
309
|
+
* the built-in workflow rules.
|
|
310
|
+
*/
|
|
311
|
+
instructions?: MCPInstructionsResolver;
|
|
300
312
|
/**
|
|
301
313
|
* OAuth 2.1 Protected Resource Metadata URL (RFC 9728).
|
|
302
314
|
* When set, MCP endpoints require a Bearer token in the Authorization header.
|
|
@@ -347,11 +359,41 @@ export interface LoadRequest {
|
|
|
347
359
|
query: SemanticQuery;
|
|
348
360
|
}
|
|
349
361
|
/**
|
|
350
|
-
*
|
|
362
|
+
* Discovery response shape returned by `handleDiscover`.
|
|
363
|
+
*
|
|
364
|
+
* In addition to the matched cubes, the response embeds the full query
|
|
365
|
+
* language reference and the date filtering decision tree. This is the
|
|
366
|
+
* primary delivery mechanism for query-construction guidance: clients
|
|
367
|
+
* cannot be relied upon to forward `prompts/*` content to the model, so
|
|
368
|
+
* we piggyback on `discover` (the mandated first call in our workflow)
|
|
369
|
+
* to guarantee the model sees the rules before it builds a query.
|
|
370
|
+
*
|
|
371
|
+
* The fields are stable strings — consumers may render or strip them as
|
|
372
|
+
* they see fit, but the MCP `discover` tool relies on them being present.
|
|
351
373
|
*/
|
|
352
|
-
export
|
|
374
|
+
export interface DiscoverResponse {
|
|
375
|
+
/** Matched cubes (possibly empty) with measures, dimensions, and joins */
|
|
353
376
|
cubes: CubeDiscoveryResult[];
|
|
354
|
-
|
|
377
|
+
/**
|
|
378
|
+
* Complete TypeScript DSL reference for query construction. Source of
|
|
379
|
+
* truth for field naming, filter operators, time dimensions, and
|
|
380
|
+
* analysis modes (funnel/flow/retention).
|
|
381
|
+
*/
|
|
382
|
+
queryLanguageReference: string;
|
|
383
|
+
/**
|
|
384
|
+
* Decision tree for date filtering vs time grouping. The single most
|
|
385
|
+
* common source of incorrect queries — read this whenever the user
|
|
386
|
+
* mentions a time period.
|
|
387
|
+
*/
|
|
388
|
+
dateFilteringGuide: string;
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* Handle /discover endpoint - find relevant cubes based on topic/intent.
|
|
392
|
+
*
|
|
393
|
+
* Always returns `queryLanguageReference` and `dateFilteringGuide` alongside
|
|
394
|
+
* the matched cubes. See `DiscoverResponse` for the rationale.
|
|
395
|
+
*/
|
|
396
|
+
export declare function handleDiscover(semanticLayer: SemanticLayerCompiler, body: DiscoverRequest): Promise<DiscoverResponse>;
|
|
355
397
|
/**
|
|
356
398
|
* Handle /suggest endpoint - generate query from natural language
|
|
357
399
|
*/
|
package/dist/adapters/utils.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, f as r, g as i, h as a, i as o, l as s, m as c, n as l, o as u, p as d, r as f, s as p, t as m, u as h } from "./utils-
|
|
1
|
+
import { a as e, c as t, d as n, f as r, g as i, h as a, i as o, l as s, m as c, n as l, o as u, p as d, r as f, s as p, t as m, u as h } from "./utils-DG8ti3FT.js";
|
|
2
2
|
export { m as buildTransformedQuery, l as calculateQueryComplexity, f as formatCubeResponse, o as formatErrorResponse, e as formatMetaResponse, u as formatSqlResponse, p as formatSqlString, t as generateRequestId, s as getDatabaseType, h as handleBatchRequest, n as handleDiscover, r as handleDryRun, d as handleLoad, c as handleSuggest, a as handleValidate, i as normalizeQueryFields };
|
package/dist/cli/index.cjs
CHANGED
|
@@ -23,9 +23,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
23
23
|
//#endregion
|
|
24
24
|
let node_util = require("node:util");
|
|
25
25
|
let node_fs = require("node:fs");
|
|
26
|
-
node_fs = __toESM(node_fs);
|
|
26
|
+
node_fs = __toESM(node_fs, 1);
|
|
27
27
|
let node_path = require("node:path");
|
|
28
|
-
node_path = __toESM(node_path);
|
|
28
|
+
node_path = __toESM(node_path, 1);
|
|
29
29
|
//#region src/cli/commands/charts.ts
|
|
30
30
|
/**
|
|
31
31
|
* Charts CLI commands
|
package/dist/client/charts.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { C as e, D as t, E as n, S as r, T as i, _ as a, b as o, g as s, h as c, m as l, p as u, t as d, v as f, w as p, x as m, y as h } from "./chunks/chart-data-table-
|
|
2
|
-
import { t as g } from "./chunks/chart-funnel-
|
|
3
|
-
import { a as _, i as v, n as y, o as b } from "./chunks/chart-activity-grid-
|
|
4
|
-
import { t as x } from "./chunks/chart-area-
|
|
5
|
-
import { i as S } from "./chunks/utils-
|
|
6
|
-
import { t as C } from "./chunks/chart-line-
|
|
7
|
-
import { t as w } from "./chunks/chart-bar-
|
|
8
|
-
import { t as T } from "./chunks/chart-pie-
|
|
9
|
-
import { t as E } from "./chunks/chart-scatter-
|
|
10
|
-
import { t as D } from "./chunks/chart-radar-
|
|
11
|
-
import { t as O } from "./chunks/chart-radial-bar-
|
|
12
|
-
import { t as k } from "./chunks/chart-tree-map-
|
|
1
|
+
import { C as e, D as t, E as n, S as r, T as i, _ as a, b as o, g as s, h as c, m as l, p as u, t as d, v as f, w as p, x as m, y as h } from "./chunks/chart-data-table-zZtwLf55.js";
|
|
2
|
+
import { t as g } from "./chunks/chart-funnel-COTJy8BP.js";
|
|
3
|
+
import { a as _, i as v, n as y, o as b } from "./chunks/chart-activity-grid-VFFm85hC.js";
|
|
4
|
+
import { t as x } from "./chunks/chart-area-CwwIHTmK.js";
|
|
5
|
+
import { i as S } from "./chunks/utils-BIuqPQuJ.js";
|
|
6
|
+
import { t as C } from "./chunks/chart-line-DKvW32U-.js";
|
|
7
|
+
import { t as w } from "./chunks/chart-bar-Bmny922L.js";
|
|
8
|
+
import { t as T } from "./chunks/chart-pie-CzYnncO-.js";
|
|
9
|
+
import { t as E } from "./chunks/chart-scatter-NMjD1lbW.js";
|
|
10
|
+
import { t as D } from "./chunks/chart-radar-8iAt3QZl.js";
|
|
11
|
+
import { t as O } from "./chunks/chart-radial-bar-CJbG7RIe.js";
|
|
12
|
+
import { t as k } from "./chunks/chart-tree-map-CetaLMt8.js";
|
|
13
13
|
export { y as CHART_COLORS, v as CHART_MARGINS, d as DataTable, g as FunnelChart, m as LazyChart, _ as NEGATIVE_COLOR, b as POSITIVE_COLOR, x as RechartsAreaChart, w as RechartsBarChart, C as RechartsLineChart, T as RechartsPieChart, D as RechartsRadarChart, O as RechartsRadialBarChart, E as RechartsScatterChart, k as RechartsTreeMapChart, u as clearChartConfigCache, S as formatChartData, r as getAvailableChartTypes, l as getChartConfigAsync, c as getChartConfigSync, e as getUnavailableChartTypes, s as isChartConfigLoaded, p as isChartTypeAvailable, i as isValidChartType, a as loadAllChartConfigs, n as preloadChart, f as preloadChartConfig, h as preloadChartConfigs, t as preloadCharts, o as useChartConfig };
|
package/dist/client/chunks/{DashboardEditModal-cSSIAZGy.js → DashboardEditModal-BBcB0E2g.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as e, n as t, o as n, r, s as i, u as a } from "./vendor-
|
|
2
|
-
import { A as o, G as s, H as c, K as l, T as u, U as d, V as f, b as p, lt as m, q as h, x as g } from "./chart-data-table-
|
|
3
|
-
import { C as _, D as v, E as y, O as b, S as x, T as S, a as C, b as w, c as T, l as E, n as D, r as ee, s as te, t as O, w as k, y as ne } from "./useDebounce-
|
|
4
|
-
import { r as re } from "./chart-sankey-
|
|
1
|
+
import { a as e, n as t, o as n, r, s as i, u as a } from "./vendor-BxLCTfvm.js";
|
|
2
|
+
import { A as o, G as s, H as c, K as l, T as u, U as d, V as f, b as p, lt as m, q as h, x as g } from "./chart-data-table-zZtwLf55.js";
|
|
3
|
+
import { C as _, D as v, E as y, O as b, S as x, T as S, a as C, b as w, c as T, l as E, n as D, r as ee, s as te, t as O, w as k, y as ne } from "./useDebounce-BOBSvhHy.js";
|
|
4
|
+
import { r as re } from "./chart-sankey-C-wLBUmb.js";
|
|
5
5
|
import { n as A, t as j } from "./providers-DX3Vw5kc.js";
|
|
6
|
-
import { F as ie, M, k as N } from "./chart-activity-grid-
|
|
7
|
-
import { u as ae } from "./chart-area-
|
|
6
|
+
import { F as ie, M, k as N } from "./chart-activity-grid-VFFm85hC.js";
|
|
7
|
+
import { u as ae } from "./chart-area-CwwIHTmK.js";
|
|
8
8
|
import { l as oe } from "./retention-YhT1Oohi.js";
|
|
9
|
-
import { S as P, _ as se, a as F, b as ce, c as le, g as I, h as L, i as R, l as z, m as B, n as V, o as H, p as ue, r as de, s as fe, t as U, v as pe, y as W } from "./FieldSearchModal-
|
|
10
|
-
import { t as G } from "./chart-markdown-
|
|
9
|
+
import { S as P, _ as se, a as F, b as ce, c as le, g as I, h as L, i as R, l as z, m as B, n as V, o as H, p as ue, r as de, s as fe, t as U, v as pe, y as W } from "./FieldSearchModal-CisOov-_.js";
|
|
10
|
+
import { t as G } from "./chart-markdown-CJU2hUq3.js";
|
|
11
11
|
import { n as me, t as he } from "./useDirtyStateTracking-KAjwj1Ht.js";
|
|
12
12
|
import ge, { Component as _e, Suspense as ve, createContext as ye, forwardRef as be, lazy as xe, startTransition as Se, useCallback as K, useContext as Ce, useEffect as q, useImperativeHandle as we, useMemo as J, useRef as Y, useState as X } from "react";
|
|
13
13
|
import { Fragment as Z, jsx as Q, jsxs as $ } from "react/jsx-runtime";
|
|
@@ -2459,7 +2459,7 @@ function Zt({ position: e, currentPalette: t, onPaletteChange: n }) {
|
|
|
2459
2459
|
}
|
|
2460
2460
|
//#endregion
|
|
2461
2461
|
//#region src/client/components/AnalysisBuilderLazy.tsx
|
|
2462
|
-
var Qt = xe(() => import("./analysis-builder-
|
|
2462
|
+
var Qt = xe(() => import("./analysis-builder-0o1W-k3K.js")), $t = be((e, t) => /* @__PURE__ */ Q(ve, {
|
|
2463
2463
|
fallback: /* @__PURE__ */ Q("div", {
|
|
2464
2464
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full dc:py-6",
|
|
2465
2465
|
children: /* @__PURE__ */ Q(ae, {})
|
|
@@ -5100,13 +5100,13 @@ var Qn = () => `row-${Date.now()}`, $n = (e, t) => {
|
|
|
5100
5100
|
let t = Math.floor(r / n), i = r % n;
|
|
5101
5101
|
return e.map((e, n) => ({
|
|
5102
5102
|
portletId: e,
|
|
5103
|
-
w: t + (n < i
|
|
5103
|
+
w: t + +(n < i)
|
|
5104
5104
|
}));
|
|
5105
5105
|
}
|
|
5106
5106
|
let o = r - a, s = Math.floor(o / n), c = o % n;
|
|
5107
5107
|
return e.map((e, t) => ({
|
|
5108
5108
|
portletId: e,
|
|
5109
|
-
w: i + s + (t < c
|
|
5109
|
+
w: i + s + +(t < c)
|
|
5110
5110
|
}));
|
|
5111
5111
|
}, er = (e, t) => {
|
|
5112
5112
|
if (e.length === 0) return [];
|
|
@@ -5699,13 +5699,13 @@ var Sr = {
|
|
|
5699
5699
|
let t = Math.floor(r / n), i = r % n;
|
|
5700
5700
|
return e.map((e, n) => ({
|
|
5701
5701
|
portletId: e,
|
|
5702
|
-
w: t + (n < i
|
|
5702
|
+
w: t + +(n < i)
|
|
5703
5703
|
}));
|
|
5704
5704
|
}
|
|
5705
5705
|
let o = r - a, s = Math.floor(o / n), c = o % n;
|
|
5706
5706
|
return e.map((e, t) => ({
|
|
5707
5707
|
portletId: e,
|
|
5708
|
-
w: i + s + (t < c
|
|
5708
|
+
w: i + s + +(t < c)
|
|
5709
5709
|
}));
|
|
5710
5710
|
}, Er = (e, t) => {
|
|
5711
5711
|
if (e.length === 0) return [];
|
|
@@ -6693,4 +6693,4 @@ function Ar({ isOpen: e, onClose: t, onSave: n, title: r, submitText: i, initial
|
|
|
6693
6693
|
//#endregion
|
|
6694
6694
|
export { at as A, Ct as C, ct as D, lt as E, Re as M, ke as N, ot as O, St as S, ut as T, At as _, cr as a, Nt as b, bt as c, Dt as d, Mt as f, Et as g, jt as h, Dr as i, Ue as j, st as k, gt as l, wt as m, kr as n, en as o, kt as p, Or as r, $t as s, Ar as t, Pt as u, Tt as v, ft as w, xt as x, Ot as y };
|
|
6695
6695
|
|
|
6696
|
-
//# sourceMappingURL=DashboardEditModal-
|
|
6696
|
+
//# sourceMappingURL=DashboardEditModal-BBcB0E2g.js.map
|