@prismiq/react 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/{CustomSQLEditor-d84v_Cgp.d.cts → ChatBubble-ARocmvZD.d.cts} +40 -3
  2. package/dist/{CustomSQLEditor-CYlOtecq.d.ts → ChatBubble-BN_CjIpk.d.ts} +40 -3
  3. package/dist/{DashboardDialog-CZD8I-6z.d.cts → DashboardDialog-UhUGXx2h.d.ts} +5 -3
  4. package/dist/{DashboardDialog-DBNTVVSp.d.ts → DashboardDialog-Z-HypxmG.d.cts} +5 -3
  5. package/dist/charts/index.d.cts +2 -2
  6. package/dist/charts/index.d.ts +2 -2
  7. package/dist/{chunk-VQDFS6VS.cjs → chunk-FKXCINUF.cjs} +368 -210
  8. package/dist/chunk-FKXCINUF.cjs.map +1 -0
  9. package/dist/{chunk-ET7GCREP.js → chunk-GELI7MDZ.js} +482 -7
  10. package/dist/chunk-GELI7MDZ.js.map +1 -0
  11. package/dist/{chunk-WWTT2OJ5.js → chunk-HKZFEXT6.js} +27 -9
  12. package/dist/chunk-HKZFEXT6.js.map +1 -0
  13. package/dist/{chunk-3LDRRDJ6.js → chunk-JBJ5LEAG.js} +186 -28
  14. package/dist/chunk-JBJ5LEAG.js.map +1 -0
  15. package/dist/{chunk-URJH4H6G.cjs → chunk-PG7QBH3G.cjs} +485 -6
  16. package/dist/chunk-PG7QBH3G.cjs.map +1 -0
  17. package/dist/{chunk-MDXGGZSW.cjs → chunk-ZYVN6XAZ.cjs} +35 -37
  18. package/dist/chunk-ZYVN6XAZ.cjs.map +1 -0
  19. package/dist/components/index.cjs +62 -54
  20. package/dist/components/index.d.cts +2 -2
  21. package/dist/components/index.d.ts +2 -2
  22. package/dist/components/index.js +1 -1
  23. package/dist/dashboard/index.cjs +34 -34
  24. package/dist/dashboard/index.d.cts +7 -5
  25. package/dist/dashboard/index.d.ts +7 -5
  26. package/dist/dashboard/index.js +2 -2
  27. package/dist/export/index.cjs +7 -7
  28. package/dist/export/index.d.cts +6 -4
  29. package/dist/export/index.d.ts +6 -4
  30. package/dist/export/index.js +1 -1
  31. package/dist/{index-CvKj3SWO.d.cts → index-B8DelfpL.d.cts} +1 -1
  32. package/dist/{index-DXGLs1yY.d.ts → index-RbfYPQD_.d.ts} +1 -1
  33. package/dist/index.cjs +119 -103
  34. package/dist/index.cjs.map +1 -1
  35. package/dist/index.d.cts +74 -7
  36. package/dist/index.d.ts +74 -7
  37. package/dist/index.js +5 -5
  38. package/dist/index.js.map +1 -1
  39. package/dist/{types-j0kPJ9Hz.d.cts → types-ccB9Ps3k.d.cts} +44 -1
  40. package/dist/{types-j0kPJ9Hz.d.ts → types-ccB9Ps3k.d.ts} +44 -1
  41. package/dist/utils/index.d.cts +1 -1
  42. package/dist/utils/index.d.ts +1 -1
  43. package/package.json +2 -6
  44. package/dist/chunk-3LDRRDJ6.js.map +0 -1
  45. package/dist/chunk-ET7GCREP.js.map +0 -1
  46. package/dist/chunk-MDXGGZSW.cjs.map +0 -1
  47. package/dist/chunk-URJH4H6G.cjs.map +0 -1
  48. package/dist/chunk-VQDFS6VS.cjs.map +0 -1
  49. package/dist/chunk-WWTT2OJ5.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import react__default, { ButtonHTMLAttributes, ReactNode, InputHTMLAttributes, HTMLAttributes, ReactElement, SVGAttributes, Component, ErrorInfo } from 'react';
3
- import { c as TableSchema, p as ColumnSchema, b as QueryTable, q as ColumnSelection, D as DatabaseSchema, F as FilterDefinition, s as FilterOperator, u as SortDefinition, A as AggregationType, Q as QueryResult, a as QueryDefinition, k as SavedQuery } from './types-j0kPJ9Hz.cjs';
3
+ import { c as TableSchema, s as ColumnSchema, b as QueryTable, t as ColumnSelection, D as DatabaseSchema, F as FilterDefinition, v as FilterOperator, x as SortDefinition, A as AggregationType, Q as QueryResult, a as QueryDefinition, k as SavedQuery, o as ChatMessage } from './types-ccB9Ps3k.cjs';
4
4
 
5
5
  interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'> {
6
6
  /** Button visual style. */
@@ -660,6 +660,8 @@ interface SchemaExplorerProps {
660
660
  searchable?: boolean;
661
661
  /** Whether tables are collapsible. */
662
662
  collapsible?: boolean;
663
+ /** Optional element rendered at the right end of the header row. */
664
+ headerAction?: React.ReactNode;
663
665
  /** Additional class name. */
664
666
  className?: string;
665
667
  /** Additional styles. */
@@ -678,7 +680,7 @@ interface SchemaExplorerProps {
678
680
  * />
679
681
  * ```
680
682
  */
681
- declare function SchemaExplorer({ onTableSelect, onColumnSelect, onColumnDragStart, selectedTable, selectedColumns, searchable, collapsible, className, style, }: SchemaExplorerProps): JSX.Element;
683
+ declare function SchemaExplorer({ onTableSelect, onColumnSelect, onColumnDragStart, selectedTable, selectedColumns, searchable, collapsible, headerAction, className, style, }: SchemaExplorerProps): JSX.Element;
682
684
 
683
685
  /**
684
686
  * TableNode component for displaying a table in the schema explorer.
@@ -1301,4 +1303,39 @@ interface CustomSQLEditorProps {
1301
1303
  */
1302
1304
  declare function CustomSQLEditor({ initialSql, onSqlChange, onExecute, placeholder, showResults, height, className, style, }: CustomSQLEditorProps): JSX.Element;
1303
1305
 
1304
- export { type QueryBuilderState as $, AggregationPicker as A, Badge as B, Checkbox as C, Dialog as D, EmptyDashboard as E, type ErrorBoundaryProps as F, ErrorFallback as G, type ErrorFallbackProps as H, FilterBuilder as I, type FilterBuilderProps as J, FilterRow as K, type FilterRowProps as L, FilterValueInput as M, type FilterValueInputProps as N, Icon as O, type IconName as P, type IconProps as Q, Input as R, type InputProps as S, NoData as T, type NoDataProps as U, NoResults as V, type NoResultsProps as W, Pagination as X, type PaginationProps as Y, QueryBuilder as Z, type QueryBuilderProps as _, type AggregationPickerProps as a, QueryBuilderToolbar as a0, type QueryBuilderToolbarProps as a1, QueryPreview as a2, type QueryPreviewProps as a3, ResultsTable as a4, type ResultsTableProps as a5, SavedQueryPicker as a6, type SavedQueryPickerProps as a7, SchemaExplorer as a8, type SchemaExplorerProps as a9, type TableRowProps as aA, Tooltip as aB, type TooltipProps as aC, WidgetErrorBoundary as aD, type WidgetErrorBoundaryProps as aE, Select as aa, type SelectOption as ab, type SelectProps as ac, SelectedColumn as ad, type SelectedColumnProps as ae, Skeleton as af, SkeletonChart as ag, type SkeletonChartProps as ah, SkeletonMetricCard as ai, type SkeletonMetricCardProps as aj, type SkeletonProps as ak, SkeletonTable as al, type SkeletonTableProps as am, SkeletonText as an, type SkeletonTextProps as ao, SortBuilder as ap, type SortBuilderProps as aq, SortRow as ar, type SortRowProps as as, TableCell as at, type TableCellProps as au, TableHeader as av, type TableHeaderProps as aw, TableNode as ax, type TableNodeProps as ay, TableRow as az, type BadgeProps as b, Button as c, type ButtonProps as d, type CheckboxProps as e, ColumnNode as f, type ColumnNodeProps as g, ColumnSelector as h, type ColumnSelectorProps as i, CustomSQLEditor as j, type CustomSQLEditorProps as k, DialogFooter as l, type DialogFooterProps as m, DialogHeader as n, type DialogHeaderProps as o, type DialogProps as p, Dropdown as q, DropdownItem as r, type DropdownItemProps as s, type DropdownProps as t, DropdownSeparator as u, type DropdownSeparatorProps as v, type EmptyDashboardProps as w, EmptyState as x, type EmptyStateProps as y, ErrorBoundary as z };
1306
+ /**
1307
+ * Shared types for ChatPanel components.
1308
+ */
1309
+
1310
+ interface ChatBubbleProps {
1311
+ /** The chat message to render. */
1312
+ message: ChatMessage;
1313
+ /** Callback when user clicks "Apply to Editor" on a SQL block. */
1314
+ onApplySql?: (sql: string) => void;
1315
+ }
1316
+ interface ChatPanelProps {
1317
+ /** Current SQL in the editor (passed as context to the agent). */
1318
+ currentSql: string | null;
1319
+ /** Callback when the user wants to apply SQL to the editor. */
1320
+ onApplySql: (sql: string) => void;
1321
+ }
1322
+
1323
+ /**
1324
+ * Chat panel for LLM-assisted SQL generation.
1325
+ *
1326
+ * Side panel with message history, streaming indicator,
1327
+ * "Apply SQL" button, and input field.
1328
+ */
1329
+
1330
+ declare function ChatPanel({ currentSql, onApplySql }: ChatPanelProps): JSX.Element;
1331
+
1332
+ /**
1333
+ * Chat message bubble component.
1334
+ *
1335
+ * Renders user and assistant messages with distinct styling.
1336
+ * Detects ```sql code blocks and adds an "Apply to Editor" button.
1337
+ */
1338
+
1339
+ declare function ChatBubble({ message, onApplySql }: ChatBubbleProps): JSX.Element;
1340
+
1341
+ export { Pagination as $, AggregationPicker as A, Badge as B, ChatBubble as C, Dialog as D, EmptyDashboard as E, type EmptyDashboardProps as F, EmptyState as G, type EmptyStateProps as H, ErrorBoundary as I, type ErrorBoundaryProps as J, ErrorFallback as K, type ErrorFallbackProps as L, FilterBuilder as M, type FilterBuilderProps as N, FilterRow as O, type FilterRowProps as P, FilterValueInput as Q, type FilterValueInputProps as R, Icon as S, type IconName as T, type IconProps as U, Input as V, type InputProps as W, NoData as X, type NoDataProps as Y, NoResults as Z, type NoResultsProps as _, type AggregationPickerProps as a, type PaginationProps as a0, QueryBuilder as a1, type QueryBuilderProps as a2, type QueryBuilderState as a3, QueryBuilderToolbar as a4, type QueryBuilderToolbarProps as a5, QueryPreview as a6, type QueryPreviewProps as a7, ResultsTable as a8, type ResultsTableProps as a9, type TableHeaderProps as aA, TableNode as aB, type TableNodeProps as aC, TableRow as aD, type TableRowProps as aE, Tooltip as aF, type TooltipProps as aG, WidgetErrorBoundary as aH, type WidgetErrorBoundaryProps as aI, SavedQueryPicker as aa, type SavedQueryPickerProps as ab, SchemaExplorer as ac, type SchemaExplorerProps as ad, Select as ae, type SelectOption as af, type SelectProps as ag, SelectedColumn as ah, type SelectedColumnProps as ai, Skeleton as aj, SkeletonChart as ak, type SkeletonChartProps as al, SkeletonMetricCard as am, type SkeletonMetricCardProps as an, type SkeletonProps as ao, SkeletonTable as ap, type SkeletonTableProps as aq, SkeletonText as ar, type SkeletonTextProps as as, SortBuilder as at, type SortBuilderProps as au, SortRow as av, type SortRowProps as aw, TableCell as ax, type TableCellProps as ay, TableHeader as az, type BadgeProps as b, Button as c, type ButtonProps as d, type ChatBubbleProps as e, ChatPanel as f, type ChatPanelProps as g, Checkbox as h, type CheckboxProps as i, ColumnNode as j, type ColumnNodeProps as k, ColumnSelector as l, type ColumnSelectorProps as m, CustomSQLEditor as n, type CustomSQLEditorProps as o, DialogFooter as p, type DialogFooterProps as q, DialogHeader as r, type DialogHeaderProps as s, type DialogProps as t, Dropdown as u, DropdownItem as v, type DropdownItemProps as w, type DropdownProps as x, DropdownSeparator as y, type DropdownSeparatorProps as z };
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import react__default, { ButtonHTMLAttributes, ReactNode, InputHTMLAttributes, HTMLAttributes, ReactElement, SVGAttributes, Component, ErrorInfo } from 'react';
3
- import { c as TableSchema, p as ColumnSchema, b as QueryTable, q as ColumnSelection, D as DatabaseSchema, F as FilterDefinition, s as FilterOperator, u as SortDefinition, A as AggregationType, Q as QueryResult, a as QueryDefinition, k as SavedQuery } from './types-j0kPJ9Hz.js';
3
+ import { c as TableSchema, s as ColumnSchema, b as QueryTable, t as ColumnSelection, D as DatabaseSchema, F as FilterDefinition, v as FilterOperator, x as SortDefinition, A as AggregationType, Q as QueryResult, a as QueryDefinition, k as SavedQuery, o as ChatMessage } from './types-ccB9Ps3k.js';
4
4
 
5
5
  interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'> {
6
6
  /** Button visual style. */
@@ -660,6 +660,8 @@ interface SchemaExplorerProps {
660
660
  searchable?: boolean;
661
661
  /** Whether tables are collapsible. */
662
662
  collapsible?: boolean;
663
+ /** Optional element rendered at the right end of the header row. */
664
+ headerAction?: React.ReactNode;
663
665
  /** Additional class name. */
664
666
  className?: string;
665
667
  /** Additional styles. */
@@ -678,7 +680,7 @@ interface SchemaExplorerProps {
678
680
  * />
679
681
  * ```
680
682
  */
681
- declare function SchemaExplorer({ onTableSelect, onColumnSelect, onColumnDragStart, selectedTable, selectedColumns, searchable, collapsible, className, style, }: SchemaExplorerProps): JSX.Element;
683
+ declare function SchemaExplorer({ onTableSelect, onColumnSelect, onColumnDragStart, selectedTable, selectedColumns, searchable, collapsible, headerAction, className, style, }: SchemaExplorerProps): JSX.Element;
682
684
 
683
685
  /**
684
686
  * TableNode component for displaying a table in the schema explorer.
@@ -1301,4 +1303,39 @@ interface CustomSQLEditorProps {
1301
1303
  */
1302
1304
  declare function CustomSQLEditor({ initialSql, onSqlChange, onExecute, placeholder, showResults, height, className, style, }: CustomSQLEditorProps): JSX.Element;
1303
1305
 
1304
- export { type QueryBuilderState as $, AggregationPicker as A, Badge as B, Checkbox as C, Dialog as D, EmptyDashboard as E, type ErrorBoundaryProps as F, ErrorFallback as G, type ErrorFallbackProps as H, FilterBuilder as I, type FilterBuilderProps as J, FilterRow as K, type FilterRowProps as L, FilterValueInput as M, type FilterValueInputProps as N, Icon as O, type IconName as P, type IconProps as Q, Input as R, type InputProps as S, NoData as T, type NoDataProps as U, NoResults as V, type NoResultsProps as W, Pagination as X, type PaginationProps as Y, QueryBuilder as Z, type QueryBuilderProps as _, type AggregationPickerProps as a, QueryBuilderToolbar as a0, type QueryBuilderToolbarProps as a1, QueryPreview as a2, type QueryPreviewProps as a3, ResultsTable as a4, type ResultsTableProps as a5, SavedQueryPicker as a6, type SavedQueryPickerProps as a7, SchemaExplorer as a8, type SchemaExplorerProps as a9, type TableRowProps as aA, Tooltip as aB, type TooltipProps as aC, WidgetErrorBoundary as aD, type WidgetErrorBoundaryProps as aE, Select as aa, type SelectOption as ab, type SelectProps as ac, SelectedColumn as ad, type SelectedColumnProps as ae, Skeleton as af, SkeletonChart as ag, type SkeletonChartProps as ah, SkeletonMetricCard as ai, type SkeletonMetricCardProps as aj, type SkeletonProps as ak, SkeletonTable as al, type SkeletonTableProps as am, SkeletonText as an, type SkeletonTextProps as ao, SortBuilder as ap, type SortBuilderProps as aq, SortRow as ar, type SortRowProps as as, TableCell as at, type TableCellProps as au, TableHeader as av, type TableHeaderProps as aw, TableNode as ax, type TableNodeProps as ay, TableRow as az, type BadgeProps as b, Button as c, type ButtonProps as d, type CheckboxProps as e, ColumnNode as f, type ColumnNodeProps as g, ColumnSelector as h, type ColumnSelectorProps as i, CustomSQLEditor as j, type CustomSQLEditorProps as k, DialogFooter as l, type DialogFooterProps as m, DialogHeader as n, type DialogHeaderProps as o, type DialogProps as p, Dropdown as q, DropdownItem as r, type DropdownItemProps as s, type DropdownProps as t, DropdownSeparator as u, type DropdownSeparatorProps as v, type EmptyDashboardProps as w, EmptyState as x, type EmptyStateProps as y, ErrorBoundary as z };
1306
+ /**
1307
+ * Shared types for ChatPanel components.
1308
+ */
1309
+
1310
+ interface ChatBubbleProps {
1311
+ /** The chat message to render. */
1312
+ message: ChatMessage;
1313
+ /** Callback when user clicks "Apply to Editor" on a SQL block. */
1314
+ onApplySql?: (sql: string) => void;
1315
+ }
1316
+ interface ChatPanelProps {
1317
+ /** Current SQL in the editor (passed as context to the agent). */
1318
+ currentSql: string | null;
1319
+ /** Callback when the user wants to apply SQL to the editor. */
1320
+ onApplySql: (sql: string) => void;
1321
+ }
1322
+
1323
+ /**
1324
+ * Chat panel for LLM-assisted SQL generation.
1325
+ *
1326
+ * Side panel with message history, streaming indicator,
1327
+ * "Apply SQL" button, and input field.
1328
+ */
1329
+
1330
+ declare function ChatPanel({ currentSql, onApplySql }: ChatPanelProps): JSX.Element;
1331
+
1332
+ /**
1333
+ * Chat message bubble component.
1334
+ *
1335
+ * Renders user and assistant messages with distinct styling.
1336
+ * Detects ```sql code blocks and adds an "Apply to Editor" button.
1337
+ */
1338
+
1339
+ declare function ChatBubble({ message, onApplySql }: ChatBubbleProps): JSX.Element;
1340
+
1341
+ export { Pagination as $, AggregationPicker as A, Badge as B, ChatBubble as C, Dialog as D, EmptyDashboard as E, type EmptyDashboardProps as F, EmptyState as G, type EmptyStateProps as H, ErrorBoundary as I, type ErrorBoundaryProps as J, ErrorFallback as K, type ErrorFallbackProps as L, FilterBuilder as M, type FilterBuilderProps as N, FilterRow as O, type FilterRowProps as P, FilterValueInput as Q, type FilterValueInputProps as R, Icon as S, type IconName as T, type IconProps as U, Input as V, type InputProps as W, NoData as X, type NoDataProps as Y, NoResults as Z, type NoResultsProps as _, type AggregationPickerProps as a, type PaginationProps as a0, QueryBuilder as a1, type QueryBuilderProps as a2, type QueryBuilderState as a3, QueryBuilderToolbar as a4, type QueryBuilderToolbarProps as a5, QueryPreview as a6, type QueryPreviewProps as a7, ResultsTable as a8, type ResultsTableProps as a9, type TableHeaderProps as aA, TableNode as aB, type TableNodeProps as aC, TableRow as aD, type TableRowProps as aE, Tooltip as aF, type TooltipProps as aG, WidgetErrorBoundary as aH, type WidgetErrorBoundaryProps as aI, SavedQueryPicker as aa, type SavedQueryPickerProps as ab, SchemaExplorer as ac, type SchemaExplorerProps as ad, Select as ae, type SelectOption as af, type SelectProps as ag, SelectedColumn as ah, type SelectedColumnProps as ai, Skeleton as aj, SkeletonChart as ak, type SkeletonChartProps as al, SkeletonMetricCard as am, type SkeletonMetricCardProps as an, type SkeletonProps as ao, SkeletonTable as ap, type SkeletonTableProps as aq, SkeletonText as ar, type SkeletonTextProps as as, SortBuilder as at, type SortBuilderProps as au, SortRow as av, type SortRowProps as aw, TableCell as ax, type TableCellProps as ay, TableHeader as az, type BadgeProps as b, Button as c, type ButtonProps as d, type ChatBubbleProps as e, ChatPanel as f, type ChatPanelProps as g, Checkbox as h, type CheckboxProps as i, ColumnNode as j, type ColumnNodeProps as k, ColumnSelector as l, type ColumnSelectorProps as m, CustomSQLEditor as n, type CustomSQLEditorProps as o, DialogFooter as p, type DialogFooterProps as q, DialogHeader as r, type DialogHeaderProps as s, type DialogProps as t, Dropdown as u, DropdownItem as v, type DropdownItemProps as w, type DropdownProps as x, DropdownSeparator as y, type DropdownSeparatorProps as z };
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { HTMLAttributes, ReactNode } from 'react';
3
- import { a as QueryDefinition, Q as QueryResult, D as DatabaseSchema, e as Dashboard$2, f as DashboardCreate, g as DashboardUpdate } from './types-j0kPJ9Hz.cjs';
3
+ import { a as QueryDefinition, Q as QueryResult, D as DatabaseSchema, e as Dashboard$2, f as DashboardCreate, g as DashboardUpdate } from './types-ccB9Ps3k.js';
4
4
 
5
5
  /**
6
6
  * Dashboard type definitions for Prismiq.
@@ -119,8 +119,10 @@ interface WidgetConfig {
119
119
  alignment?: 'Left' | 'Center' | 'Right';
120
120
  /** Font size for text widgets. */
121
121
  fontSize?: 'Small' | 'Normal' | 'Large' | 'XLarge';
122
- /** Editor mode used to build this widget ('guided', 'advanced', or 'saved'). */
123
- data_source_mode?: 'guided' | 'advanced' | 'saved';
122
+ /** Raw SQL query for SQL-mode widgets. When set, widget.query should be null. */
123
+ raw_sql?: string;
124
+ /** Editor mode used to build this widget ('guided', 'advanced', 'saved', or 'sql'). */
125
+ data_source_mode?: 'guided' | 'advanced' | 'saved' | 'sql';
124
126
  }
125
127
  /**
126
128
  * Widget hyperlink configuration for linking to external URLs.
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { HTMLAttributes, ReactNode } from 'react';
3
- import { a as QueryDefinition, Q as QueryResult, D as DatabaseSchema, e as Dashboard$2, f as DashboardCreate, g as DashboardUpdate } from './types-j0kPJ9Hz.js';
3
+ import { a as QueryDefinition, Q as QueryResult, D as DatabaseSchema, e as Dashboard$2, f as DashboardCreate, g as DashboardUpdate } from './types-ccB9Ps3k.cjs';
4
4
 
5
5
  /**
6
6
  * Dashboard type definitions for Prismiq.
@@ -119,8 +119,10 @@ interface WidgetConfig {
119
119
  alignment?: 'Left' | 'Center' | 'Right';
120
120
  /** Font size for text widgets. */
121
121
  fontSize?: 'Small' | 'Normal' | 'Large' | 'XLarge';
122
- /** Editor mode used to build this widget ('guided', 'advanced', or 'saved'). */
123
- data_source_mode?: 'guided' | 'advanced' | 'saved';
122
+ /** Raw SQL query for SQL-mode widgets. When set, widget.query should be null. */
123
+ raw_sql?: string;
124
+ /** Editor mode used to build this widget ('guided', 'advanced', 'saved', or 'sql'). */
125
+ data_source_mode?: 'guided' | 'advanced' | 'saved' | 'sql';
124
126
  }
125
127
  /**
126
128
  * Widget hyperlink configuration for linking to external URLs.
@@ -1,2 +1,2 @@
1
- export { A as AreaChart, c as AreaChartProps, d as AxisFormat, B as BarChart, e as BarChartProps, f as BaseChartProps, g as ChartClickParams, C as ChartDataOptions, h as ChartDataPoint, b as ChartDataResult, i as ChartSeries, j as ChartSuggestion, k as ChartType, E as EChartWrapper, l as EChartWrapperProps, L as LegendPosition, m as LineChart, n as LineChartProps, M as MetricCard, o as MetricCardProps, p as PieChart, q as PieChartProps, R as ReferenceLineConfig, S as ScatterChart, r as ScatterChartProps, s as Sparkline, t as SparklineProps, u as TrendConfig, v as TrendIndicator, w as TrendIndicatorProps, U as adjustColorOpacity, x as applyThemeToOption, y as createChartTheme, V as createEmptyStateGraphic, z as createGradientColor, W as createMarkLines, F as dataPointsToChartData, G as formatAxisLabel, H as formatCompact, I as formatMetricValue, J as getChartColors, K as isChartDataEmpty, X as isQueryResult, N as queryResultToChartData, O as suggestChartType, Q as toChartData } from '../index-CvKj3SWO.cjs';
2
- import '../types-j0kPJ9Hz.cjs';
1
+ export { A as AreaChart, c as AreaChartProps, d as AxisFormat, B as BarChart, e as BarChartProps, f as BaseChartProps, g as ChartClickParams, C as ChartDataOptions, h as ChartDataPoint, b as ChartDataResult, i as ChartSeries, j as ChartSuggestion, k as ChartType, E as EChartWrapper, l as EChartWrapperProps, L as LegendPosition, m as LineChart, n as LineChartProps, M as MetricCard, o as MetricCardProps, p as PieChart, q as PieChartProps, R as ReferenceLineConfig, S as ScatterChart, r as ScatterChartProps, s as Sparkline, t as SparklineProps, u as TrendConfig, v as TrendIndicator, w as TrendIndicatorProps, U as adjustColorOpacity, x as applyThemeToOption, y as createChartTheme, V as createEmptyStateGraphic, z as createGradientColor, W as createMarkLines, F as dataPointsToChartData, G as formatAxisLabel, H as formatCompact, I as formatMetricValue, J as getChartColors, K as isChartDataEmpty, X as isQueryResult, N as queryResultToChartData, O as suggestChartType, Q as toChartData } from '../index-B8DelfpL.cjs';
2
+ import '../types-ccB9Ps3k.cjs';
@@ -1,2 +1,2 @@
1
- export { A as AreaChart, c as AreaChartProps, d as AxisFormat, B as BarChart, e as BarChartProps, f as BaseChartProps, g as ChartClickParams, C as ChartDataOptions, h as ChartDataPoint, b as ChartDataResult, i as ChartSeries, j as ChartSuggestion, k as ChartType, E as EChartWrapper, l as EChartWrapperProps, L as LegendPosition, m as LineChart, n as LineChartProps, M as MetricCard, o as MetricCardProps, p as PieChart, q as PieChartProps, R as ReferenceLineConfig, S as ScatterChart, r as ScatterChartProps, s as Sparkline, t as SparklineProps, u as TrendConfig, v as TrendIndicator, w as TrendIndicatorProps, U as adjustColorOpacity, x as applyThemeToOption, y as createChartTheme, V as createEmptyStateGraphic, z as createGradientColor, W as createMarkLines, F as dataPointsToChartData, G as formatAxisLabel, H as formatCompact, I as formatMetricValue, J as getChartColors, K as isChartDataEmpty, X as isQueryResult, N as queryResultToChartData, O as suggestChartType, Q as toChartData } from '../index-DXGLs1yY.js';
2
- import '../types-j0kPJ9Hz.js';
1
+ export { A as AreaChart, c as AreaChartProps, d as AxisFormat, B as BarChart, e as BarChartProps, f as BaseChartProps, g as ChartClickParams, C as ChartDataOptions, h as ChartDataPoint, b as ChartDataResult, i as ChartSeries, j as ChartSuggestion, k as ChartType, E as EChartWrapper, l as EChartWrapperProps, L as LegendPosition, m as LineChart, n as LineChartProps, M as MetricCard, o as MetricCardProps, p as PieChart, q as PieChartProps, R as ReferenceLineConfig, S as ScatterChart, r as ScatterChartProps, s as Sparkline, t as SparklineProps, u as TrendConfig, v as TrendIndicator, w as TrendIndicatorProps, U as adjustColorOpacity, x as applyThemeToOption, y as createChartTheme, V as createEmptyStateGraphic, z as createGradientColor, W as createMarkLines, F as dataPointsToChartData, G as formatAxisLabel, H as formatCompact, I as formatMetricValue, J as getChartColors, K as isChartDataEmpty, X as isQueryResult, N as queryResultToChartData, O as suggestChartType, Q as toChartData } from '../index-RbfYPQD_.js';
2
+ import '../types-ccB9Ps3k.js';