@prismiq/react 0.1.0 → 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 (65) hide show
  1. package/dist/{CustomSQLEditor-DYeId0Gp.d.ts → ChatBubble-ARocmvZD.d.cts} +48 -4
  2. package/dist/{CustomSQLEditor-BXB4rf1q.d.cts → ChatBubble-BN_CjIpk.d.ts} +48 -4
  3. package/dist/{DashboardDialog-B3vYC5Gs.d.ts → DashboardDialog-UhUGXx2h.d.ts} +6 -4
  4. package/dist/{DashboardDialog-LHmrtNQU.d.cts → DashboardDialog-Z-HypxmG.d.cts} +6 -4
  5. package/dist/{accessibility-2yy5yqRR.d.cts → accessibility-Bu2mNtaB.d.cts} +1 -1
  6. package/dist/{accessibility-2yy5yqRR.d.ts → accessibility-Bu2mNtaB.d.ts} +1 -1
  7. package/dist/charts/index.cjs +27 -27
  8. package/dist/charts/index.d.cts +2 -2
  9. package/dist/charts/index.d.ts +2 -2
  10. package/dist/charts/index.js +2 -2
  11. package/dist/{chunk-NK7HKX2J.cjs → chunk-73TPDGXB.cjs} +7 -7
  12. package/dist/{chunk-NK7HKX2J.cjs.map → chunk-73TPDGXB.cjs.map} +1 -1
  13. package/dist/{chunk-FEABEF3J.cjs → chunk-FKXCINUF.cjs} +551 -299
  14. package/dist/chunk-FKXCINUF.cjs.map +1 -0
  15. package/dist/{chunk-2H5WTH4K.js → chunk-FQ23KG6G.js} +3 -3
  16. package/dist/{chunk-2H5WTH4K.js.map → chunk-FQ23KG6G.js.map} +1 -1
  17. package/dist/{chunk-UPYINBZU.js → chunk-GELI7MDZ.js} +982 -51
  18. package/dist/chunk-GELI7MDZ.js.map +1 -0
  19. package/dist/{chunk-WWTT2OJ5.js → chunk-HKZFEXT6.js} +27 -9
  20. package/dist/chunk-HKZFEXT6.js.map +1 -0
  21. package/dist/{chunk-MOAEEF5P.js → chunk-JBJ5LEAG.js} +362 -110
  22. package/dist/chunk-JBJ5LEAG.js.map +1 -0
  23. package/dist/{chunk-4AVL6GQK.cjs → chunk-KXB2IZI2.cjs} +36 -9
  24. package/dist/chunk-KXB2IZI2.cjs.map +1 -0
  25. package/dist/{chunk-EX74SI67.js → chunk-LBE6GIBC.js} +36 -9
  26. package/dist/chunk-LBE6GIBC.js.map +1 -0
  27. package/dist/{chunk-NY6TZLST.cjs → chunk-PG7QBH3G.cjs} +988 -53
  28. package/dist/chunk-PG7QBH3G.cjs.map +1 -0
  29. package/dist/{chunk-MDXGGZSW.cjs → chunk-ZYVN6XAZ.cjs} +35 -37
  30. package/dist/chunk-ZYVN6XAZ.cjs.map +1 -0
  31. package/dist/components/index.cjs +63 -55
  32. package/dist/components/index.d.cts +2 -2
  33. package/dist/components/index.d.ts +2 -2
  34. package/dist/components/index.js +2 -2
  35. package/dist/dashboard/index.cjs +36 -36
  36. package/dist/dashboard/index.d.cts +7 -5
  37. package/dist/dashboard/index.d.ts +7 -5
  38. package/dist/dashboard/index.js +4 -4
  39. package/dist/export/index.cjs +7 -7
  40. package/dist/export/index.d.cts +6 -4
  41. package/dist/export/index.d.ts +6 -4
  42. package/dist/export/index.js +1 -1
  43. package/dist/{index-C-Qcuu4Y.d.cts → index-B8DelfpL.d.cts} +2 -2
  44. package/dist/{index-rPc7ijt8.d.ts → index-RbfYPQD_.d.ts} +2 -2
  45. package/dist/index.cjs +150 -134
  46. package/dist/index.cjs.map +1 -1
  47. package/dist/index.d.cts +97 -9
  48. package/dist/index.d.ts +97 -9
  49. package/dist/index.js +7 -7
  50. package/dist/index.js.map +1 -1
  51. package/dist/{types-WrCbOeAV.d.cts → types-ccB9Ps3k.d.cts} +59 -1
  52. package/dist/{types-WrCbOeAV.d.ts → types-ccB9Ps3k.d.ts} +59 -1
  53. package/dist/utils/index.cjs +15 -15
  54. package/dist/utils/index.d.cts +5 -21
  55. package/dist/utils/index.d.ts +5 -21
  56. package/dist/utils/index.js +1 -1
  57. package/package.json +3 -7
  58. package/dist/chunk-4AVL6GQK.cjs.map +0 -1
  59. package/dist/chunk-EX74SI67.js.map +0 -1
  60. package/dist/chunk-FEABEF3J.cjs.map +0 -1
  61. package/dist/chunk-MDXGGZSW.cjs.map +0 -1
  62. package/dist/chunk-MOAEEF5P.js.map +0 -1
  63. package/dist/chunk-NY6TZLST.cjs.map +0 -1
  64. package/dist/chunk-UPYINBZU.js.map +0 -1
  65. 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, o as ColumnSchema, b as QueryTable, q as ColumnSelection, D as DatabaseSchema, r as FilterDefinition, F as FilterOperator, t as SortDefinition, A as AggregationType, Q as QueryResult, a as QueryDefinition, j as SavedQuery } from './types-WrCbOeAV.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.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.
@@ -855,6 +857,8 @@ declare function FilterRow({ filter, tables, schema, onChange, onRemove, classNa
855
857
 
856
858
  /**
857
859
  * FilterValueInput component for entering filter values.
860
+ *
861
+ * Supports dynamic value loading from database when tableName and columnName are provided.
858
862
  */
859
863
 
860
864
  interface FilterValueInputProps {
@@ -870,11 +874,16 @@ interface FilterValueInputProps {
870
874
  disabled?: boolean;
871
875
  /** Additional class name. */
872
876
  className?: string;
877
+ /** Table name for fetching sample values. */
878
+ tableName?: string;
879
+ /** Column name for fetching sample values. */
880
+ columnName?: string;
873
881
  }
874
882
  /**
875
883
  * Input component for filter values that adapts to the operator and data type.
884
+ * When tableName and columnName are provided, fetches sample values from database.
876
885
  */
877
- declare function FilterValueInput({ operator, value, onChange, dataType, disabled, className, }: FilterValueInputProps): JSX.Element;
886
+ declare function FilterValueInput({ operator, value, onChange, dataType, disabled, className, tableName, columnName, }: FilterValueInputProps): JSX.Element;
878
887
 
879
888
  /**
880
889
  * SortBuilder component for defining sort order.
@@ -1294,4 +1303,39 @@ interface CustomSQLEditorProps {
1294
1303
  */
1295
1304
  declare function CustomSQLEditor({ initialSql, onSqlChange, onExecute, placeholder, showResults, height, className, style, }: CustomSQLEditorProps): JSX.Element;
1296
1305
 
1297
- export { TableNode as $, SkeletonMetricCard as A, Button as B, Checkbox as C, Dropdown as D, type SkeletonProps as E, type SkeletonTextProps as F, type SkeletonChartProps as G, type SkeletonTableProps as H, Input as I, type SkeletonMetricCardProps as J, ErrorBoundary as K, ErrorFallback as L, type ErrorBoundaryProps as M, type ErrorFallbackProps as N, type WidgetErrorBoundaryProps as O, EmptyState as P, NoData as Q, NoResults as R, Select as S, Tooltip as T, EmptyDashboard as U, type EmptyStateProps as V, WidgetErrorBoundary as W, type NoDataProps as X, type NoResultsProps as Y, type EmptyDashboardProps as Z, SchemaExplorer as _, Badge as a, ColumnNode as a0, type SchemaExplorerProps as a1, type TableNodeProps as a2, type ColumnNodeProps as a3, ColumnSelector as a4, SelectedColumn as a5, type ColumnSelectorProps as a6, type SelectedColumnProps as a7, FilterBuilder as a8, FilterRow as a9, type QueryPreviewProps as aA, SavedQueryPicker as aB, type SavedQueryPickerProps as aC, CustomSQLEditor as aD, type CustomSQLEditorProps as aE, FilterValueInput as aa, type FilterBuilderProps as ab, type FilterRowProps as ac, type FilterValueInputProps as ad, SortBuilder as ae, SortRow as af, type SortBuilderProps as ag, type SortRowProps as ah, AggregationPicker as ai, type AggregationPickerProps as aj, ResultsTable as ak, TableHeader as al, TableRow as am, TableCell as an, Pagination as ao, type ResultsTableProps as ap, type TableHeaderProps as aq, type TableRowProps as ar, type TableCellProps as as, type PaginationProps as at, QueryBuilder as au, QueryBuilderToolbar as av, QueryPreview as aw, type QueryBuilderProps as ax, type QueryBuilderState as ay, type QueryBuilderToolbarProps as az, DropdownItem as b, DropdownSeparator as c, Icon as d, Dialog as e, DialogHeader as f, DialogFooter as g, type ButtonProps as h, type InputProps as i, type SelectProps as j, type SelectOption as k, type CheckboxProps as l, type BadgeProps as m, type TooltipProps as n, type DropdownProps as o, type DropdownItemProps as p, type DropdownSeparatorProps as q, type IconProps as r, type IconName as s, type DialogProps as t, type DialogHeaderProps as u, type DialogFooterProps as v, Skeleton as w, SkeletonText as x, SkeletonChart as y, SkeletonTable 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, o as ColumnSchema, b as QueryTable, q as ColumnSelection, D as DatabaseSchema, r as FilterDefinition, F as FilterOperator, t as SortDefinition, A as AggregationType, Q as QueryResult, a as QueryDefinition, j as SavedQuery } from './types-WrCbOeAV.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.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.
@@ -855,6 +857,8 @@ declare function FilterRow({ filter, tables, schema, onChange, onRemove, classNa
855
857
 
856
858
  /**
857
859
  * FilterValueInput component for entering filter values.
860
+ *
861
+ * Supports dynamic value loading from database when tableName and columnName are provided.
858
862
  */
859
863
 
860
864
  interface FilterValueInputProps {
@@ -870,11 +874,16 @@ interface FilterValueInputProps {
870
874
  disabled?: boolean;
871
875
  /** Additional class name. */
872
876
  className?: string;
877
+ /** Table name for fetching sample values. */
878
+ tableName?: string;
879
+ /** Column name for fetching sample values. */
880
+ columnName?: string;
873
881
  }
874
882
  /**
875
883
  * Input component for filter values that adapts to the operator and data type.
884
+ * When tableName and columnName are provided, fetches sample values from database.
876
885
  */
877
- declare function FilterValueInput({ operator, value, onChange, dataType, disabled, className, }: FilterValueInputProps): JSX.Element;
886
+ declare function FilterValueInput({ operator, value, onChange, dataType, disabled, className, tableName, columnName, }: FilterValueInputProps): JSX.Element;
878
887
 
879
888
  /**
880
889
  * SortBuilder component for defining sort order.
@@ -1294,4 +1303,39 @@ interface CustomSQLEditorProps {
1294
1303
  */
1295
1304
  declare function CustomSQLEditor({ initialSql, onSqlChange, onExecute, placeholder, showResults, height, className, style, }: CustomSQLEditorProps): JSX.Element;
1296
1305
 
1297
- export { TableNode as $, SkeletonMetricCard as A, Button as B, Checkbox as C, Dropdown as D, type SkeletonProps as E, type SkeletonTextProps as F, type SkeletonChartProps as G, type SkeletonTableProps as H, Input as I, type SkeletonMetricCardProps as J, ErrorBoundary as K, ErrorFallback as L, type ErrorBoundaryProps as M, type ErrorFallbackProps as N, type WidgetErrorBoundaryProps as O, EmptyState as P, NoData as Q, NoResults as R, Select as S, Tooltip as T, EmptyDashboard as U, type EmptyStateProps as V, WidgetErrorBoundary as W, type NoDataProps as X, type NoResultsProps as Y, type EmptyDashboardProps as Z, SchemaExplorer as _, Badge as a, ColumnNode as a0, type SchemaExplorerProps as a1, type TableNodeProps as a2, type ColumnNodeProps as a3, ColumnSelector as a4, SelectedColumn as a5, type ColumnSelectorProps as a6, type SelectedColumnProps as a7, FilterBuilder as a8, FilterRow as a9, type QueryPreviewProps as aA, SavedQueryPicker as aB, type SavedQueryPickerProps as aC, CustomSQLEditor as aD, type CustomSQLEditorProps as aE, FilterValueInput as aa, type FilterBuilderProps as ab, type FilterRowProps as ac, type FilterValueInputProps as ad, SortBuilder as ae, SortRow as af, type SortBuilderProps as ag, type SortRowProps as ah, AggregationPicker as ai, type AggregationPickerProps as aj, ResultsTable as ak, TableHeader as al, TableRow as am, TableCell as an, Pagination as ao, type ResultsTableProps as ap, type TableHeaderProps as aq, type TableRowProps as ar, type TableCellProps as as, type PaginationProps as at, QueryBuilder as au, QueryBuilderToolbar as av, QueryPreview as aw, type QueryBuilderProps as ax, type QueryBuilderState as ay, type QueryBuilderToolbarProps as az, DropdownItem as b, DropdownSeparator as c, Icon as d, Dialog as e, DialogHeader as f, DialogFooter as g, type ButtonProps as h, type InputProps as i, type SelectProps as j, type SelectOption as k, type CheckboxProps as l, type BadgeProps as m, type TooltipProps as n, type DropdownProps as o, type DropdownItemProps as p, type DropdownSeparatorProps as q, type IconProps as r, type IconName as s, type DialogProps as t, type DialogHeaderProps as u, type DialogFooterProps as v, Skeleton as w, SkeletonText as x, SkeletonChart as y, SkeletonTable 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, d as Dashboard$2, e as DashboardCreate, f as DashboardUpdate } from './types-WrCbOeAV.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.js';
4
4
 
5
5
  /**
6
6
  * Dashboard type definitions for Prismiq.
@@ -119,6 +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
+ /** 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';
122
126
  }
123
127
  /**
124
128
  * Widget hyperlink configuration for linking to external URLs.
@@ -149,8 +153,6 @@ interface Widget$1 {
149
153
  config: WidgetConfig;
150
154
  /** Optional hyperlink to external URL (displayed as link icon in header). */
151
155
  hyperlink?: WidgetHyperlink;
152
- /** Data source mode last used when editing this widget. */
153
- dataSourceMode?: 'guided' | 'advanced' | 'saved';
154
156
  /** Creation timestamp (ISO string). */
155
157
  created_at?: string;
156
158
  /** Last update timestamp (ISO string). */
@@ -1103,4 +1105,4 @@ interface DashboardDialogProps {
1103
1105
  */
1104
1106
  declare const DashboardDialog: react.ForwardRefExoticComponent<DashboardDialogProps & react.RefAttributes<HTMLDivElement>>;
1105
1107
 
1106
- export { TextFilter as $, useWidget as A, type UseWidgetResult as B, useAutoRefresh as C, type DashboardLayout$1 as D, type UseAutoRefreshOptions as E, type FilterOption as F, type UseAutoRefreshResult as G, useFullscreen as H, type UseFullscreenResult as I, Dashboard as J, DashboardLayout as K, type LazyLoadingConfig as L, type MultiSelectFilterProps as M, type NumberRangeValue as N, Widget as O, WidgetHeader as P, WidgetContent as Q, type ReferenceLine as R, type SelectFilterProps as S, type TextFilterProps as T, type UseDashboardFiltersResult as U, type WidgetContentProps as V, type Widget$1 as W, FilterBar as X, DateRangeFilter as Y, SelectFilter as Z, MultiSelectFilter as _, type WidgetPosition as a, DashboardEditor as a0, EditorToolbar as a1, WidgetPalette as a2, WidgetEditor as a3, type EditorToolbarProps as a4, DashboardList as a5, DashboardCard as a6, DashboardDialog as a7, type DashboardListProps as a8, type DashboardCardProps as a9, type DashboardDialogProps as aa, type WidgetType as b, type WidgetConfig as c, type WidgetCrossFilterConfig as d, type WidgetHyperlink as e, type DashboardFilterType as f, type DashboardFilter as g, type FilterValue as h, type DateRangeValue as i, type Dashboard$1 as j, type DashboardContextValue as k, type DashboardEditorContextValue as l, type DashboardProviderProps as m, type DashboardProps as n, type DashboardEditorProps as o, type DashboardLayoutProps as p, type WidgetProps as q, type WidgetHeaderProps as r, type FilterBarProps as s, type DateRangeFilterProps as t, type WidgetPaletteProps as u, type WidgetEditorProps as v, DashboardProvider as w, DashboardContext as x, useDashboard as y, useDashboardFilters as z };
1108
+ export { type WidgetEditorProps as $, type EditorToolbarProps as A, type FilterBarProps as B, type FilterOption as C, type DashboardLayout$1 as D, EditorToolbar as E, FilterBar as F, type FilterValue as G, type MultiSelectFilterProps as H, type SelectFilterProps as I, type TextFilterProps as J, type UseAutoRefreshResult as K, type LazyLoadingConfig as L, MultiSelectFilter as M, type NumberRangeValue as N, type UseDashboardFiltersResult as O, type UseFullscreenResult as P, type UseWidgetResult as Q, type ReferenceLine as R, SelectFilter as S, TextFilter as T, type UseAutoRefreshOptions as U, Widget as V, type Widget$1 as W, WidgetContent as X, type WidgetContentProps as Y, type WidgetCrossFilterConfig as Z, WidgetEditor as _, type WidgetPosition as a, WidgetHeader as a0, type WidgetHeaderProps as a1, type WidgetHyperlink as a2, WidgetPalette as a3, type WidgetPaletteProps as a4, type WidgetProps as a5, useAutoRefresh as a6, useDashboard as a7, useDashboardFilters as a8, useFullscreen as a9, useWidget as aa, type WidgetType as b, type WidgetConfig as c, Dashboard as d, DashboardCard as e, type DashboardCardProps as f, DashboardContext as g, type DashboardContextValue as h, type Dashboard$1 as i, DashboardDialog as j, type DashboardDialogProps as k, DashboardEditor as l, type DashboardEditorContextValue as m, type DashboardEditorProps as n, type DashboardFilter as o, type DashboardFilterType as p, DashboardLayout as q, type DashboardLayoutProps as r, DashboardList as s, type DashboardListProps as t, type DashboardProps as u, DashboardProvider as v, type DashboardProviderProps as w, DateRangeFilter as x, type DateRangeFilterProps as y, type DateRangeValue 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, d as Dashboard$2, e as DashboardCreate, f as DashboardUpdate } from './types-WrCbOeAV.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.cjs';
4
4
 
5
5
  /**
6
6
  * Dashboard type definitions for Prismiq.
@@ -119,6 +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
+ /** 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';
122
126
  }
123
127
  /**
124
128
  * Widget hyperlink configuration for linking to external URLs.
@@ -149,8 +153,6 @@ interface Widget$1 {
149
153
  config: WidgetConfig;
150
154
  /** Optional hyperlink to external URL (displayed as link icon in header). */
151
155
  hyperlink?: WidgetHyperlink;
152
- /** Data source mode last used when editing this widget. */
153
- dataSourceMode?: 'guided' | 'advanced' | 'saved';
154
156
  /** Creation timestamp (ISO string). */
155
157
  created_at?: string;
156
158
  /** Last update timestamp (ISO string). */
@@ -1103,4 +1105,4 @@ interface DashboardDialogProps {
1103
1105
  */
1104
1106
  declare const DashboardDialog: react.ForwardRefExoticComponent<DashboardDialogProps & react.RefAttributes<HTMLDivElement>>;
1105
1107
 
1106
- export { TextFilter as $, useWidget as A, type UseWidgetResult as B, useAutoRefresh as C, type DashboardLayout$1 as D, type UseAutoRefreshOptions as E, type FilterOption as F, type UseAutoRefreshResult as G, useFullscreen as H, type UseFullscreenResult as I, Dashboard as J, DashboardLayout as K, type LazyLoadingConfig as L, type MultiSelectFilterProps as M, type NumberRangeValue as N, Widget as O, WidgetHeader as P, WidgetContent as Q, type ReferenceLine as R, type SelectFilterProps as S, type TextFilterProps as T, type UseDashboardFiltersResult as U, type WidgetContentProps as V, type Widget$1 as W, FilterBar as X, DateRangeFilter as Y, SelectFilter as Z, MultiSelectFilter as _, type WidgetPosition as a, DashboardEditor as a0, EditorToolbar as a1, WidgetPalette as a2, WidgetEditor as a3, type EditorToolbarProps as a4, DashboardList as a5, DashboardCard as a6, DashboardDialog as a7, type DashboardListProps as a8, type DashboardCardProps as a9, type DashboardDialogProps as aa, type WidgetType as b, type WidgetConfig as c, type WidgetCrossFilterConfig as d, type WidgetHyperlink as e, type DashboardFilterType as f, type DashboardFilter as g, type FilterValue as h, type DateRangeValue as i, type Dashboard$1 as j, type DashboardContextValue as k, type DashboardEditorContextValue as l, type DashboardProviderProps as m, type DashboardProps as n, type DashboardEditorProps as o, type DashboardLayoutProps as p, type WidgetProps as q, type WidgetHeaderProps as r, type FilterBarProps as s, type DateRangeFilterProps as t, type WidgetPaletteProps as u, type WidgetEditorProps as v, DashboardProvider as w, DashboardContext as x, useDashboard as y, useDashboardFilters as z };
1108
+ export { type WidgetEditorProps as $, type EditorToolbarProps as A, type FilterBarProps as B, type FilterOption as C, type DashboardLayout$1 as D, EditorToolbar as E, FilterBar as F, type FilterValue as G, type MultiSelectFilterProps as H, type SelectFilterProps as I, type TextFilterProps as J, type UseAutoRefreshResult as K, type LazyLoadingConfig as L, MultiSelectFilter as M, type NumberRangeValue as N, type UseDashboardFiltersResult as O, type UseFullscreenResult as P, type UseWidgetResult as Q, type ReferenceLine as R, SelectFilter as S, TextFilter as T, type UseAutoRefreshOptions as U, Widget as V, type Widget$1 as W, WidgetContent as X, type WidgetContentProps as Y, type WidgetCrossFilterConfig as Z, WidgetEditor as _, type WidgetPosition as a, WidgetHeader as a0, type WidgetHeaderProps as a1, type WidgetHyperlink as a2, WidgetPalette as a3, type WidgetPaletteProps as a4, type WidgetProps as a5, useAutoRefresh as a6, useDashboard as a7, useDashboardFilters as a8, useFullscreen as a9, useWidget as aa, type WidgetType as b, type WidgetConfig as c, Dashboard as d, DashboardCard as e, type DashboardCardProps as f, DashboardContext as g, type DashboardContextValue as h, type Dashboard$1 as i, DashboardDialog as j, type DashboardDialogProps as k, DashboardEditor as l, type DashboardEditorContextValue as m, type DashboardEditorProps as n, type DashboardFilter as o, type DashboardFilterType as p, DashboardLayout as q, type DashboardLayoutProps as r, DashboardList as s, type DashboardListProps as t, type DashboardProps as u, DashboardProvider as v, type DashboardProviderProps as w, DateRangeFilter as x, type DateRangeFilterProps as y, type DateRangeValue as z };
@@ -142,4 +142,4 @@ declare const skipLinkFocusStyles: React.CSSProperties;
142
142
  */
143
143
  declare function useRovingTabIndex<T extends HTMLElement>(itemRefs: RefObject<T>[], options?: ArrowNavigationOptions): UseArrowNavigationResult;
144
144
 
145
- export { type ArrowNavigationOptions as A, type FocusTrapOptions as F, type SkipLinkProps as S, type UseFocusTrapResult as U, useArrowNavigation as a, useRovingTabIndex as b, useFocusVisible as c, announceToScreenReader as d, skipLinkFocusStyles as e, focusVisibleStyles as f, type UseArrowNavigationResult as g, skipLinkStyles as s, useFocusTrap as u };
145
+ export { type ArrowNavigationOptions as A, type FocusTrapOptions as F, type SkipLinkProps as S, type UseArrowNavigationResult as U, type UseFocusTrapResult as a, announceToScreenReader as b, skipLinkStyles as c, useFocusTrap as d, useFocusVisible as e, focusVisibleStyles as f, useRovingTabIndex as g, skipLinkFocusStyles as s, useArrowNavigation as u };
@@ -142,4 +142,4 @@ declare const skipLinkFocusStyles: React.CSSProperties;
142
142
  */
143
143
  declare function useRovingTabIndex<T extends HTMLElement>(itemRefs: RefObject<T>[], options?: ArrowNavigationOptions): UseArrowNavigationResult;
144
144
 
145
- export { type ArrowNavigationOptions as A, type FocusTrapOptions as F, type SkipLinkProps as S, type UseFocusTrapResult as U, useArrowNavigation as a, useRovingTabIndex as b, useFocusVisible as c, announceToScreenReader as d, skipLinkFocusStyles as e, focusVisibleStyles as f, type UseArrowNavigationResult as g, skipLinkStyles as s, useFocusTrap as u };
145
+ export { type ArrowNavigationOptions as A, type FocusTrapOptions as F, type SkipLinkProps as S, type UseArrowNavigationResult as U, type UseFocusTrapResult as a, announceToScreenReader as b, skipLinkStyles as c, useFocusTrap as d, useFocusVisible as e, focusVisibleStyles as f, useRovingTabIndex as g, skipLinkFocusStyles as s, useArrowNavigation as u };
@@ -1,110 +1,110 @@
1
1
  'use strict';
2
2
 
3
- var chunkNK7HKX2J_cjs = require('../chunk-NK7HKX2J.cjs');
3
+ var chunk73TPDGXB_cjs = require('../chunk-73TPDGXB.cjs');
4
4
  require('../chunk-LMTG3LRC.cjs');
5
- require('../chunk-4AVL6GQK.cjs');
5
+ require('../chunk-KXB2IZI2.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "AreaChart", {
10
10
  enumerable: true,
11
- get: function () { return chunkNK7HKX2J_cjs.AreaChart; }
11
+ get: function () { return chunk73TPDGXB_cjs.AreaChart; }
12
12
  });
13
13
  Object.defineProperty(exports, "BarChart", {
14
14
  enumerable: true,
15
- get: function () { return chunkNK7HKX2J_cjs.BarChart; }
15
+ get: function () { return chunk73TPDGXB_cjs.BarChart; }
16
16
  });
17
17
  Object.defineProperty(exports, "EChartWrapper", {
18
18
  enumerable: true,
19
- get: function () { return chunkNK7HKX2J_cjs.EChartWrapper; }
19
+ get: function () { return chunk73TPDGXB_cjs.EChartWrapper; }
20
20
  });
21
21
  Object.defineProperty(exports, "LineChart", {
22
22
  enumerable: true,
23
- get: function () { return chunkNK7HKX2J_cjs.LineChart; }
23
+ get: function () { return chunk73TPDGXB_cjs.LineChart; }
24
24
  });
25
25
  Object.defineProperty(exports, "MetricCard", {
26
26
  enumerable: true,
27
- get: function () { return chunkNK7HKX2J_cjs.MetricCard; }
27
+ get: function () { return chunk73TPDGXB_cjs.MetricCard; }
28
28
  });
29
29
  Object.defineProperty(exports, "PieChart", {
30
30
  enumerable: true,
31
- get: function () { return chunkNK7HKX2J_cjs.PieChart; }
31
+ get: function () { return chunk73TPDGXB_cjs.PieChart; }
32
32
  });
33
33
  Object.defineProperty(exports, "ScatterChart", {
34
34
  enumerable: true,
35
- get: function () { return chunkNK7HKX2J_cjs.ScatterChart; }
35
+ get: function () { return chunk73TPDGXB_cjs.ScatterChart; }
36
36
  });
37
37
  Object.defineProperty(exports, "Sparkline", {
38
38
  enumerable: true,
39
- get: function () { return chunkNK7HKX2J_cjs.Sparkline; }
39
+ get: function () { return chunk73TPDGXB_cjs.Sparkline; }
40
40
  });
41
41
  Object.defineProperty(exports, "TrendIndicator", {
42
42
  enumerable: true,
43
- get: function () { return chunkNK7HKX2J_cjs.TrendIndicator; }
43
+ get: function () { return chunk73TPDGXB_cjs.TrendIndicator; }
44
44
  });
45
45
  Object.defineProperty(exports, "adjustColorOpacity", {
46
46
  enumerable: true,
47
- get: function () { return chunkNK7HKX2J_cjs.adjustColorOpacity; }
47
+ get: function () { return chunk73TPDGXB_cjs.adjustColorOpacity; }
48
48
  });
49
49
  Object.defineProperty(exports, "applyThemeToOption", {
50
50
  enumerable: true,
51
- get: function () { return chunkNK7HKX2J_cjs.applyThemeToOption; }
51
+ get: function () { return chunk73TPDGXB_cjs.applyThemeToOption; }
52
52
  });
53
53
  Object.defineProperty(exports, "createChartTheme", {
54
54
  enumerable: true,
55
- get: function () { return chunkNK7HKX2J_cjs.createChartTheme; }
55
+ get: function () { return chunk73TPDGXB_cjs.createChartTheme; }
56
56
  });
57
57
  Object.defineProperty(exports, "createEmptyStateGraphic", {
58
58
  enumerable: true,
59
- get: function () { return chunkNK7HKX2J_cjs.createEmptyStateGraphic; }
59
+ get: function () { return chunk73TPDGXB_cjs.createEmptyStateGraphic; }
60
60
  });
61
61
  Object.defineProperty(exports, "createGradientColor", {
62
62
  enumerable: true,
63
- get: function () { return chunkNK7HKX2J_cjs.createGradientColor; }
63
+ get: function () { return chunk73TPDGXB_cjs.createGradientColor; }
64
64
  });
65
65
  Object.defineProperty(exports, "createMarkLines", {
66
66
  enumerable: true,
67
- get: function () { return chunkNK7HKX2J_cjs.createMarkLines; }
67
+ get: function () { return chunk73TPDGXB_cjs.createMarkLines; }
68
68
  });
69
69
  Object.defineProperty(exports, "dataPointsToChartData", {
70
70
  enumerable: true,
71
- get: function () { return chunkNK7HKX2J_cjs.dataPointsToChartData; }
71
+ get: function () { return chunk73TPDGXB_cjs.dataPointsToChartData; }
72
72
  });
73
73
  Object.defineProperty(exports, "formatAxisLabel", {
74
74
  enumerable: true,
75
- get: function () { return chunkNK7HKX2J_cjs.formatAxisLabel; }
75
+ get: function () { return chunk73TPDGXB_cjs.formatAxisLabel; }
76
76
  });
77
77
  Object.defineProperty(exports, "formatCompact", {
78
78
  enumerable: true,
79
- get: function () { return chunkNK7HKX2J_cjs.formatCompact; }
79
+ get: function () { return chunk73TPDGXB_cjs.formatCompact; }
80
80
  });
81
81
  Object.defineProperty(exports, "formatMetricValue", {
82
82
  enumerable: true,
83
- get: function () { return chunkNK7HKX2J_cjs.formatMetricValue; }
83
+ get: function () { return chunk73TPDGXB_cjs.formatMetricValue; }
84
84
  });
85
85
  Object.defineProperty(exports, "getChartColors", {
86
86
  enumerable: true,
87
- get: function () { return chunkNK7HKX2J_cjs.getChartColors; }
87
+ get: function () { return chunk73TPDGXB_cjs.getChartColors; }
88
88
  });
89
89
  Object.defineProperty(exports, "isChartDataEmpty", {
90
90
  enumerable: true,
91
- get: function () { return chunkNK7HKX2J_cjs.isChartDataEmpty; }
91
+ get: function () { return chunk73TPDGXB_cjs.isChartDataEmpty; }
92
92
  });
93
93
  Object.defineProperty(exports, "isQueryResult", {
94
94
  enumerable: true,
95
- get: function () { return chunkNK7HKX2J_cjs.isQueryResult; }
95
+ get: function () { return chunk73TPDGXB_cjs.isQueryResult; }
96
96
  });
97
97
  Object.defineProperty(exports, "queryResultToChartData", {
98
98
  enumerable: true,
99
- get: function () { return chunkNK7HKX2J_cjs.queryResultToChartData; }
99
+ get: function () { return chunk73TPDGXB_cjs.queryResultToChartData; }
100
100
  });
101
101
  Object.defineProperty(exports, "suggestChartType", {
102
102
  enumerable: true,
103
- get: function () { return chunkNK7HKX2J_cjs.suggestChartType; }
103
+ get: function () { return chunk73TPDGXB_cjs.suggestChartType; }
104
104
  });
105
105
  Object.defineProperty(exports, "toChartData", {
106
106
  enumerable: true,
107
- get: function () { return chunkNK7HKX2J_cjs.toChartData; }
107
+ get: function () { return chunk73TPDGXB_cjs.toChartData; }
108
108
  });
109
109
  //# sourceMappingURL=index.cjs.map
110
110
  //# sourceMappingURL=index.cjs.map
@@ -1,2 +1,2 @@
1
- export { A as AreaChart, F as AreaChartProps, v as AxisFormat, B as BarChart, y as BarChartProps, r as BaseChartProps, u as ChartClickParams, C as ChartDataOptions, o as ChartDataPoint, b as ChartDataResult, p as ChartSeries, Q as ChartSuggestion, O as ChartType, E as EChartWrapper, x as EChartWrapperProps, w as LegendPosition, L as LineChart, z as LineChartProps, M as MetricCard, J as MetricCardProps, d as PieChart, G as PieChartProps, R as ReferenceLineConfig, e as ScatterChart, H as ScatterChartProps, S as Sparkline, N as SparklineProps, I as TrendConfig, c as TrendIndicator, K as TrendIndicatorProps, V as adjustColorOpacity, h as applyThemeToOption, g as createChartTheme, X as createEmptyStateGraphic, m as createGradientColor, W as createMarkLines, f as dataPointsToChartData, i as formatAxisLabel, j as formatCompact, k as formatMetricValue, l as getChartColors, n as isChartDataEmpty, U as isQueryResult, q as queryResultToChartData, s as suggestChartType, t as toChartData } from '../index-C-Qcuu4Y.cjs';
2
- import '../types-WrCbOeAV.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, F as AreaChartProps, v as AxisFormat, B as BarChart, y as BarChartProps, r as BaseChartProps, u as ChartClickParams, C as ChartDataOptions, o as ChartDataPoint, b as ChartDataResult, p as ChartSeries, Q as ChartSuggestion, O as ChartType, E as EChartWrapper, x as EChartWrapperProps, w as LegendPosition, L as LineChart, z as LineChartProps, M as MetricCard, J as MetricCardProps, d as PieChart, G as PieChartProps, R as ReferenceLineConfig, e as ScatterChart, H as ScatterChartProps, S as Sparkline, N as SparklineProps, I as TrendConfig, c as TrendIndicator, K as TrendIndicatorProps, V as adjustColorOpacity, h as applyThemeToOption, g as createChartTheme, X as createEmptyStateGraphic, m as createGradientColor, W as createMarkLines, f as dataPointsToChartData, i as formatAxisLabel, j as formatCompact, k as formatMetricValue, l as getChartColors, n as isChartDataEmpty, U as isQueryResult, q as queryResultToChartData, s as suggestChartType, t as toChartData } from '../index-rPc7ijt8.js';
2
- import '../types-WrCbOeAV.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';
@@ -1,5 +1,5 @@
1
- export { AreaChart, BarChart, EChartWrapper, LineChart, MetricCard, PieChart, ScatterChart, Sparkline, TrendIndicator, adjustColorOpacity, applyThemeToOption, createChartTheme, createEmptyStateGraphic, createGradientColor, createMarkLines, dataPointsToChartData, formatAxisLabel, formatCompact, formatMetricValue, getChartColors, isChartDataEmpty, isQueryResult, queryResultToChartData, suggestChartType, toChartData } from '../chunk-2H5WTH4K.js';
1
+ export { AreaChart, BarChart, EChartWrapper, LineChart, MetricCard, PieChart, ScatterChart, Sparkline, TrendIndicator, adjustColorOpacity, applyThemeToOption, createChartTheme, createEmptyStateGraphic, createGradientColor, createMarkLines, dataPointsToChartData, formatAxisLabel, formatCompact, formatMetricValue, getChartColors, isChartDataEmpty, isQueryResult, queryResultToChartData, suggestChartType, toChartData } from '../chunk-FQ23KG6G.js';
2
2
  import '../chunk-T6STUE7E.js';
3
- import '../chunk-EX74SI67.js';
3
+ import '../chunk-LBE6GIBC.js';
4
4
  //# sourceMappingURL=index.js.map
5
5
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkLMTG3LRC_cjs = require('./chunk-LMTG3LRC.cjs');
4
- var chunk4AVL6GQK_cjs = require('./chunk-4AVL6GQK.cjs');
4
+ var chunkKXB2IZI2_cjs = require('./chunk-KXB2IZI2.cjs');
5
5
  var react = require('react');
6
6
  var ReactEChartsCore = require('echarts-for-react/esm/core');
7
7
  var echarts = require('echarts/core');
@@ -924,7 +924,7 @@ function BarChart2({
924
924
  [data, xAxis, yColumns]
925
925
  );
926
926
  const dateFormatter = react.useMemo(
927
- () => xAxisFormat ? chunk4AVL6GQK_cjs.createDateFormatter(xAxisFormat) : null,
927
+ () => xAxisFormat ? chunkKXB2IZI2_cjs.createDateFormatter(xAxisFormat) : null,
928
928
  [xAxisFormat]
929
929
  );
930
930
  const formattedCategories = react.useMemo(() => {
@@ -1184,7 +1184,7 @@ function LineChart3({
1184
1184
  };
1185
1185
  }, [rawChartData, maxSeries]);
1186
1186
  const dateFormatter = react.useMemo(
1187
- () => xAxisFormat ? chunk4AVL6GQK_cjs.createDateFormatter(xAxisFormat) : null,
1187
+ () => xAxisFormat ? chunkKXB2IZI2_cjs.createDateFormatter(xAxisFormat) : null,
1188
1188
  [xAxisFormat]
1189
1189
  );
1190
1190
  const formattedCategories = react.useMemo(() => {
@@ -1422,7 +1422,7 @@ function AreaChart({
1422
1422
  [data, xAxis, yColumns]
1423
1423
  );
1424
1424
  const dateFormatter = react.useMemo(
1425
- () => xAxisFormat ? chunk4AVL6GQK_cjs.createDateFormatter(xAxisFormat) : null,
1425
+ () => xAxisFormat ? chunkKXB2IZI2_cjs.createDateFormatter(xAxisFormat) : null,
1426
1426
  [xAxisFormat]
1427
1427
  );
1428
1428
  const formattedCategories = react.useMemo(() => {
@@ -1688,7 +1688,7 @@ function PieChart2({
1688
1688
  [data, labelColumn, valueColumn]
1689
1689
  );
1690
1690
  const dateFormatter = react.useMemo(
1691
- () => labelFormat ? chunk4AVL6GQK_cjs.createDateFormatter(labelFormat) : null,
1691
+ () => labelFormat ? chunkKXB2IZI2_cjs.createDateFormatter(labelFormat) : null,
1692
1692
  [labelFormat]
1693
1693
  );
1694
1694
  const formattedCategories = react.useMemo(() => {
@@ -2455,5 +2455,5 @@ exports.isQueryResult = isQueryResult;
2455
2455
  exports.queryResultToChartData = queryResultToChartData;
2456
2456
  exports.suggestChartType = suggestChartType;
2457
2457
  exports.toChartData = toChartData;
2458
- //# sourceMappingURL=chunk-NK7HKX2J.cjs.map
2459
- //# sourceMappingURL=chunk-NK7HKX2J.cjs.map
2458
+ //# sourceMappingURL=chunk-73TPDGXB.cjs.map
2459
+ //# sourceMappingURL=chunk-73TPDGXB.cjs.map