@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.
- package/dist/{CustomSQLEditor-DYeId0Gp.d.ts → ChatBubble-ARocmvZD.d.cts} +48 -4
- package/dist/{CustomSQLEditor-BXB4rf1q.d.cts → ChatBubble-BN_CjIpk.d.ts} +48 -4
- package/dist/{DashboardDialog-B3vYC5Gs.d.ts → DashboardDialog-UhUGXx2h.d.ts} +6 -4
- package/dist/{DashboardDialog-LHmrtNQU.d.cts → DashboardDialog-Z-HypxmG.d.cts} +6 -4
- package/dist/{accessibility-2yy5yqRR.d.cts → accessibility-Bu2mNtaB.d.cts} +1 -1
- package/dist/{accessibility-2yy5yqRR.d.ts → accessibility-Bu2mNtaB.d.ts} +1 -1
- package/dist/charts/index.cjs +27 -27
- package/dist/charts/index.d.cts +2 -2
- package/dist/charts/index.d.ts +2 -2
- package/dist/charts/index.js +2 -2
- package/dist/{chunk-NK7HKX2J.cjs → chunk-73TPDGXB.cjs} +7 -7
- package/dist/{chunk-NK7HKX2J.cjs.map → chunk-73TPDGXB.cjs.map} +1 -1
- package/dist/{chunk-FEABEF3J.cjs → chunk-FKXCINUF.cjs} +551 -299
- package/dist/chunk-FKXCINUF.cjs.map +1 -0
- package/dist/{chunk-2H5WTH4K.js → chunk-FQ23KG6G.js} +3 -3
- package/dist/{chunk-2H5WTH4K.js.map → chunk-FQ23KG6G.js.map} +1 -1
- package/dist/{chunk-UPYINBZU.js → chunk-GELI7MDZ.js} +982 -51
- package/dist/chunk-GELI7MDZ.js.map +1 -0
- package/dist/{chunk-WWTT2OJ5.js → chunk-HKZFEXT6.js} +27 -9
- package/dist/chunk-HKZFEXT6.js.map +1 -0
- package/dist/{chunk-MOAEEF5P.js → chunk-JBJ5LEAG.js} +362 -110
- package/dist/chunk-JBJ5LEAG.js.map +1 -0
- package/dist/{chunk-4AVL6GQK.cjs → chunk-KXB2IZI2.cjs} +36 -9
- package/dist/chunk-KXB2IZI2.cjs.map +1 -0
- package/dist/{chunk-EX74SI67.js → chunk-LBE6GIBC.js} +36 -9
- package/dist/chunk-LBE6GIBC.js.map +1 -0
- package/dist/{chunk-NY6TZLST.cjs → chunk-PG7QBH3G.cjs} +988 -53
- package/dist/chunk-PG7QBH3G.cjs.map +1 -0
- package/dist/{chunk-MDXGGZSW.cjs → chunk-ZYVN6XAZ.cjs} +35 -37
- package/dist/chunk-ZYVN6XAZ.cjs.map +1 -0
- package/dist/components/index.cjs +63 -55
- package/dist/components/index.d.cts +2 -2
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +2 -2
- package/dist/dashboard/index.cjs +36 -36
- package/dist/dashboard/index.d.cts +7 -5
- package/dist/dashboard/index.d.ts +7 -5
- package/dist/dashboard/index.js +4 -4
- package/dist/export/index.cjs +7 -7
- package/dist/export/index.d.cts +6 -4
- package/dist/export/index.d.ts +6 -4
- package/dist/export/index.js +1 -1
- package/dist/{index-C-Qcuu4Y.d.cts → index-B8DelfpL.d.cts} +2 -2
- package/dist/{index-rPc7ijt8.d.ts → index-RbfYPQD_.d.ts} +2 -2
- package/dist/index.cjs +150 -134
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +97 -9
- package/dist/index.d.ts +97 -9
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/{types-WrCbOeAV.d.cts → types-ccB9Ps3k.d.cts} +59 -1
- package/dist/{types-WrCbOeAV.d.ts → types-ccB9Ps3k.d.ts} +59 -1
- package/dist/utils/index.cjs +15 -15
- package/dist/utils/index.d.cts +5 -21
- package/dist/utils/index.d.ts +5 -21
- package/dist/utils/index.js +1 -1
- package/package.json +3 -7
- package/dist/chunk-4AVL6GQK.cjs.map +0 -1
- package/dist/chunk-EX74SI67.js.map +0 -1
- package/dist/chunk-FEABEF3J.cjs.map +0 -1
- package/dist/chunk-MDXGGZSW.cjs.map +0 -1
- package/dist/chunk-MOAEEF5P.js.map +0 -1
- package/dist/chunk-NY6TZLST.cjs.map +0 -1
- package/dist/chunk-UPYINBZU.js.map +0 -1
- package/dist/chunk-WWTT2OJ5.js.map +0 -1
package/dist/dashboard/index.cjs
CHANGED
|
@@ -1,140 +1,140 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var chunkFKXCINUF_cjs = require('../chunk-FKXCINUF.cjs');
|
|
4
|
+
require('../chunk-73TPDGXB.cjs');
|
|
5
|
+
require('../chunk-PG7QBH3G.cjs');
|
|
6
6
|
require('../chunk-LMTG3LRC.cjs');
|
|
7
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-KXB2IZI2.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "Dashboard", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkFKXCINUF_cjs.Dashboard; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "DashboardCard", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkFKXCINUF_cjs.DashboardCard; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "DashboardContext", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkFKXCINUF_cjs.DashboardContext; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "DashboardDialog", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkFKXCINUF_cjs.DashboardDialog; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "DashboardEditor", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkFKXCINUF_cjs.DashboardEditor; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "DashboardLayoutComponent", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkFKXCINUF_cjs.DashboardLayout; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "DashboardList", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkFKXCINUF_cjs.DashboardList; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "DashboardProvider", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkFKXCINUF_cjs.DashboardProvider; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "DateRangeFilter", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkFKXCINUF_cjs.DateRangeFilter; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "EditableDashboardLayout", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkFKXCINUF_cjs.EditableDashboardLayout; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "EditorToolbar", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkFKXCINUF_cjs.EditorToolbar; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "FilterBar", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkFKXCINUF_cjs.FilterBar; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "LazyWidget", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkFKXCINUF_cjs.LazyWidget; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "MultiSelectFilter", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkFKXCINUF_cjs.MultiSelectFilter; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "SelectFilter", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkFKXCINUF_cjs.SelectFilter; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "TextFilter", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkFKXCINUF_cjs.TextFilter; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "Widget", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkFKXCINUF_cjs.Widget; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "WidgetContainer", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkFKXCINUF_cjs.WidgetContainer; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "WidgetContent", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkFKXCINUF_cjs.WidgetContent; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "WidgetEditor", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkFKXCINUF_cjs.WidgetEditor; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "WidgetEditorPage", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkFKXCINUF_cjs.WidgetEditorPage; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "WidgetHeader", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkFKXCINUF_cjs.WidgetHeader; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "WidgetPalette", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkFKXCINUF_cjs.WidgetPalette; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "WidgetPlaceholder", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkFKXCINUF_cjs.WidgetPlaceholder; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "WidgetPreview", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkFKXCINUF_cjs.WidgetPreview; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "WidgetTypeSelector", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkFKXCINUF_cjs.WidgetTypeSelector; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "useAutoRefresh", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkFKXCINUF_cjs.useAutoRefresh; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "useDashboard", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkFKXCINUF_cjs.useDashboard; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "useDashboardFilters", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkFKXCINUF_cjs.useDashboardFilters; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "useFullscreen", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkFKXCINUF_cjs.useFullscreen; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "useWidget", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkFKXCINUF_cjs.useWidget; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "useWidgetVisibility", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkFKXCINUF_cjs.useWidgetVisibility; }
|
|
138
138
|
});
|
|
139
139
|
//# sourceMappingURL=index.cjs.map
|
|
140
140
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { W as Widget, D as DashboardLayout, a as WidgetPosition, b as WidgetType, c as WidgetConfig } from '../DashboardDialog-
|
|
2
|
-
export {
|
|
1
|
+
import { W as Widget, D as DashboardLayout, a as WidgetPosition, b as WidgetType, c as WidgetConfig } from '../DashboardDialog-Z-HypxmG.cjs';
|
|
2
|
+
export { d as Dashboard, e as DashboardCard, f as DashboardCardProps, g as DashboardContext, h as DashboardContextValue, i as DashboardDefinition, j as DashboardDialog, k as DashboardDialogProps, l as DashboardEditor, m as DashboardEditorContextValue, n as DashboardEditorProps, o as DashboardFilter, p as DashboardFilterType, q as DashboardLayoutComponent, r as DashboardLayoutProps, s as DashboardList, t as DashboardListProps, u as DashboardProps, v as DashboardProvider, w as DashboardProviderProps, x as DateRangeFilter, y as DateRangeFilterProps, z as DateRangeValue, E as EditorToolbar, A as EditorToolbarProps, F as FilterBar, B as FilterBarProps, C as FilterOption, G as FilterValue, L as LazyLoadingConfig, M as MultiSelectFilter, H as MultiSelectFilterProps, N as NumberRangeValue, R as ReferenceLine, S as SelectFilter, I as SelectFilterProps, T as TextFilter, J as TextFilterProps, U as UseAutoRefreshOptions, K as UseAutoRefreshResult, O as UseDashboardFiltersResult, P as UseFullscreenResult, Q as UseWidgetResult, V as Widget, X as WidgetContent, Y as WidgetContentProps, Z as WidgetCrossFilterConfig, _ as WidgetEditor, $ as WidgetEditorProps, a0 as WidgetHeader, a1 as WidgetHeaderProps, a2 as WidgetHyperlink, a3 as WidgetPalette, a4 as WidgetPaletteProps, a5 as WidgetProps, a6 as useAutoRefresh, a7 as useDashboard, a8 as useDashboardFilters, a9 as useFullscreen, aa as useWidget } from '../DashboardDialog-Z-HypxmG.cjs';
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
|
-
import { D as DatabaseSchema, a as QueryDefinition, Q as QueryResult } from '../types-
|
|
4
|
+
import { D as DatabaseSchema, a as QueryDefinition, Q as QueryResult } from '../types-ccB9Ps3k.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Hook for tracking widget visibility using Intersection Observer.
|
|
@@ -281,8 +281,10 @@ interface WidgetPreviewProps {
|
|
|
281
281
|
title: string;
|
|
282
282
|
/** Widget configuration. */
|
|
283
283
|
config: WidgetConfig;
|
|
284
|
-
/** Query definition (null for text widgets). */
|
|
284
|
+
/** Query definition (null for text widgets and SQL-mode widgets). */
|
|
285
285
|
query: QueryDefinition | null;
|
|
286
|
+
/** Raw SQL for SQL-mode widgets. */
|
|
287
|
+
rawSql?: string;
|
|
286
288
|
/** Query result data. */
|
|
287
289
|
result: QueryResult | null;
|
|
288
290
|
/** Whether data is loading. */
|
|
@@ -297,6 +299,6 @@ interface WidgetPreviewProps {
|
|
|
297
299
|
*
|
|
298
300
|
* Shows the actual rendered widget with current configuration and data.
|
|
299
301
|
*/
|
|
300
|
-
declare function WidgetPreview({ type, title, config, query, result, isLoading, error, className, }: WidgetPreviewProps): JSX.Element;
|
|
302
|
+
declare function WidgetPreview({ type, title, config, query, rawSql, result, isLoading, error, className, }: WidgetPreviewProps): JSX.Element;
|
|
301
303
|
|
|
302
304
|
export { DashboardLayout, EditableDashboardLayout, type EditableDashboardLayoutProps, LazyWidget, type LazyWidgetProps, type UseWidgetVisibilityOptions, type UseWidgetVisibilityResult, WidgetConfig, WidgetContainer, type WidgetContainerProps, Widget as WidgetDefinition, WidgetEditorPage, type WidgetEditorPageProps, WidgetPlaceholder, type WidgetPlaceholderProps, WidgetPosition, WidgetPreview, type WidgetPreviewProps, WidgetType, WidgetTypeSelector, type WidgetTypeSelectorProps, useWidgetVisibility };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { W as Widget, D as DashboardLayout, a as WidgetPosition, b as WidgetType, c as WidgetConfig } from '../DashboardDialog-
|
|
2
|
-
export {
|
|
1
|
+
import { W as Widget, D as DashboardLayout, a as WidgetPosition, b as WidgetType, c as WidgetConfig } from '../DashboardDialog-UhUGXx2h.js';
|
|
2
|
+
export { d as Dashboard, e as DashboardCard, f as DashboardCardProps, g as DashboardContext, h as DashboardContextValue, i as DashboardDefinition, j as DashboardDialog, k as DashboardDialogProps, l as DashboardEditor, m as DashboardEditorContextValue, n as DashboardEditorProps, o as DashboardFilter, p as DashboardFilterType, q as DashboardLayoutComponent, r as DashboardLayoutProps, s as DashboardList, t as DashboardListProps, u as DashboardProps, v as DashboardProvider, w as DashboardProviderProps, x as DateRangeFilter, y as DateRangeFilterProps, z as DateRangeValue, E as EditorToolbar, A as EditorToolbarProps, F as FilterBar, B as FilterBarProps, C as FilterOption, G as FilterValue, L as LazyLoadingConfig, M as MultiSelectFilter, H as MultiSelectFilterProps, N as NumberRangeValue, R as ReferenceLine, S as SelectFilter, I as SelectFilterProps, T as TextFilter, J as TextFilterProps, U as UseAutoRefreshOptions, K as UseAutoRefreshResult, O as UseDashboardFiltersResult, P as UseFullscreenResult, Q as UseWidgetResult, V as Widget, X as WidgetContent, Y as WidgetContentProps, Z as WidgetCrossFilterConfig, _ as WidgetEditor, $ as WidgetEditorProps, a0 as WidgetHeader, a1 as WidgetHeaderProps, a2 as WidgetHyperlink, a3 as WidgetPalette, a4 as WidgetPaletteProps, a5 as WidgetProps, a6 as useAutoRefresh, a7 as useDashboard, a8 as useDashboardFilters, a9 as useFullscreen, aa as useWidget } from '../DashboardDialog-UhUGXx2h.js';
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
|
-
import { D as DatabaseSchema, a as QueryDefinition, Q as QueryResult } from '../types-
|
|
4
|
+
import { D as DatabaseSchema, a as QueryDefinition, Q as QueryResult } from '../types-ccB9Ps3k.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Hook for tracking widget visibility using Intersection Observer.
|
|
@@ -281,8 +281,10 @@ interface WidgetPreviewProps {
|
|
|
281
281
|
title: string;
|
|
282
282
|
/** Widget configuration. */
|
|
283
283
|
config: WidgetConfig;
|
|
284
|
-
/** Query definition (null for text widgets). */
|
|
284
|
+
/** Query definition (null for text widgets and SQL-mode widgets). */
|
|
285
285
|
query: QueryDefinition | null;
|
|
286
|
+
/** Raw SQL for SQL-mode widgets. */
|
|
287
|
+
rawSql?: string;
|
|
286
288
|
/** Query result data. */
|
|
287
289
|
result: QueryResult | null;
|
|
288
290
|
/** Whether data is loading. */
|
|
@@ -297,6 +299,6 @@ interface WidgetPreviewProps {
|
|
|
297
299
|
*
|
|
298
300
|
* Shows the actual rendered widget with current configuration and data.
|
|
299
301
|
*/
|
|
300
|
-
declare function WidgetPreview({ type, title, config, query, result, isLoading, error, className, }: WidgetPreviewProps): JSX.Element;
|
|
302
|
+
declare function WidgetPreview({ type, title, config, query, rawSql, result, isLoading, error, className, }: WidgetPreviewProps): JSX.Element;
|
|
301
303
|
|
|
302
304
|
export { DashboardLayout, EditableDashboardLayout, type EditableDashboardLayoutProps, LazyWidget, type LazyWidgetProps, type UseWidgetVisibilityOptions, type UseWidgetVisibilityResult, WidgetConfig, WidgetContainer, type WidgetContainerProps, Widget as WidgetDefinition, WidgetEditorPage, type WidgetEditorPageProps, WidgetPlaceholder, type WidgetPlaceholderProps, WidgetPosition, WidgetPreview, type WidgetPreviewProps, WidgetType, WidgetTypeSelector, type WidgetTypeSelectorProps, useWidgetVisibility };
|
package/dist/dashboard/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Dashboard, DashboardCard, DashboardContext, DashboardDialog, DashboardEditor, DashboardLayout as DashboardLayoutComponent, DashboardList, DashboardProvider, DateRangeFilter, EditableDashboardLayout, EditorToolbar, FilterBar, LazyWidget, MultiSelectFilter, SelectFilter, TextFilter, Widget, WidgetContainer, WidgetContent, WidgetEditor, WidgetEditorPage, WidgetHeader, WidgetPalette, WidgetPlaceholder, WidgetPreview, WidgetTypeSelector, useAutoRefresh, useDashboard, useDashboardFilters, useFullscreen, useWidget, useWidgetVisibility } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { Dashboard, DashboardCard, DashboardContext, DashboardDialog, DashboardEditor, DashboardLayout as DashboardLayoutComponent, DashboardList, DashboardProvider, DateRangeFilter, EditableDashboardLayout, EditorToolbar, FilterBar, LazyWidget, MultiSelectFilter, SelectFilter, TextFilter, Widget, WidgetContainer, WidgetContent, WidgetEditor, WidgetEditorPage, WidgetHeader, WidgetPalette, WidgetPlaceholder, WidgetPreview, WidgetTypeSelector, useAutoRefresh, useDashboard, useDashboardFilters, useFullscreen, useWidget, useWidgetVisibility } from '../chunk-JBJ5LEAG.js';
|
|
2
|
+
import '../chunk-FQ23KG6G.js';
|
|
3
|
+
import '../chunk-GELI7MDZ.js';
|
|
4
4
|
import '../chunk-T6STUE7E.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-LBE6GIBC.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
package/dist/export/index.cjs
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZYVN6XAZ_cjs = require('../chunk-ZYVN6XAZ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "downloadFile", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkZYVN6XAZ_cjs.downloadFile; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "exportMultipleSheets", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkZYVN6XAZ_cjs.exportMultipleSheets; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "exportToCSV", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkZYVN6XAZ_cjs.exportToCSV; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "exportToExcel", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkZYVN6XAZ_cjs.exportToExcel; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "generateCSV", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkZYVN6XAZ_cjs.generateCSV; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "useExport", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkZYVN6XAZ_cjs.useExport; }
|
|
30
30
|
});
|
|
31
31
|
//# sourceMappingURL=index.cjs.map
|
|
32
32
|
//# sourceMappingURL=index.cjs.map
|
package/dist/export/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Q as QueryResult } from '../types-
|
|
1
|
+
import { Q as QueryResult } from '../types-ccB9Ps3k.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Types for export functionality.
|
|
@@ -118,7 +118,7 @@ declare function exportToCSV(data: ExportData, options?: ExportOptions): void;
|
|
|
118
118
|
* });
|
|
119
119
|
* ```
|
|
120
120
|
*/
|
|
121
|
-
declare function exportToExcel(data: ExportData, options?: ExcelExportOptions): void
|
|
121
|
+
declare function exportToExcel(data: ExportData, options?: ExcelExportOptions): Promise<void>;
|
|
122
122
|
/**
|
|
123
123
|
* Export multiple sheets to a single Excel file.
|
|
124
124
|
*
|
|
@@ -134,7 +134,7 @@ declare function exportToExcel(data: ExportData, options?: ExcelExportOptions):
|
|
|
134
134
|
* }, 'full-report');
|
|
135
135
|
* ```
|
|
136
136
|
*/
|
|
137
|
-
declare function exportMultipleSheets(sheets: Record<string, ExportData>, filename: string): void
|
|
137
|
+
declare function exportMultipleSheets(sheets: Record<string, ExportData>, filename: string): Promise<void>;
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
140
|
* Options for the useExport hook.
|
|
@@ -156,11 +156,13 @@ interface UseExportResult {
|
|
|
156
156
|
/** Export to CSV file */
|
|
157
157
|
exportCSV: () => void;
|
|
158
158
|
/** Export to Excel file */
|
|
159
|
-
exportExcel: (options?: ExcelExportOptions) => void
|
|
159
|
+
exportExcel: (options?: ExcelExportOptions) => Promise<void>;
|
|
160
160
|
/** Whether an export is in progress */
|
|
161
161
|
isExporting: boolean;
|
|
162
162
|
/** Whether export is possible (data is available) */
|
|
163
163
|
canExport: boolean;
|
|
164
|
+
/** Error from the most recent export attempt, if any */
|
|
165
|
+
error: Error | null;
|
|
164
166
|
}
|
|
165
167
|
/**
|
|
166
168
|
* Hook for exporting query data to CSV or Excel.
|
package/dist/export/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Q as QueryResult } from '../types-
|
|
1
|
+
import { Q as QueryResult } from '../types-ccB9Ps3k.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Types for export functionality.
|
|
@@ -118,7 +118,7 @@ declare function exportToCSV(data: ExportData, options?: ExportOptions): void;
|
|
|
118
118
|
* });
|
|
119
119
|
* ```
|
|
120
120
|
*/
|
|
121
|
-
declare function exportToExcel(data: ExportData, options?: ExcelExportOptions): void
|
|
121
|
+
declare function exportToExcel(data: ExportData, options?: ExcelExportOptions): Promise<void>;
|
|
122
122
|
/**
|
|
123
123
|
* Export multiple sheets to a single Excel file.
|
|
124
124
|
*
|
|
@@ -134,7 +134,7 @@ declare function exportToExcel(data: ExportData, options?: ExcelExportOptions):
|
|
|
134
134
|
* }, 'full-report');
|
|
135
135
|
* ```
|
|
136
136
|
*/
|
|
137
|
-
declare function exportMultipleSheets(sheets: Record<string, ExportData>, filename: string): void
|
|
137
|
+
declare function exportMultipleSheets(sheets: Record<string, ExportData>, filename: string): Promise<void>;
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
140
|
* Options for the useExport hook.
|
|
@@ -156,11 +156,13 @@ interface UseExportResult {
|
|
|
156
156
|
/** Export to CSV file */
|
|
157
157
|
exportCSV: () => void;
|
|
158
158
|
/** Export to Excel file */
|
|
159
|
-
exportExcel: (options?: ExcelExportOptions) => void
|
|
159
|
+
exportExcel: (options?: ExcelExportOptions) => Promise<void>;
|
|
160
160
|
/** Whether an export is in progress */
|
|
161
161
|
isExporting: boolean;
|
|
162
162
|
/** Whether export is possible (data is available) */
|
|
163
163
|
canExport: boolean;
|
|
164
|
+
/** Error from the most recent export attempt, if any */
|
|
165
|
+
error: Error | null;
|
|
164
166
|
}
|
|
165
167
|
/**
|
|
166
168
|
* Hook for exporting query data to CSV or Excel.
|
package/dist/export/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { downloadFile, exportMultipleSheets, exportToCSV, exportToExcel, generateCSV, useExport } from '../chunk-
|
|
1
|
+
export { downloadFile, exportMultipleSheets, exportToCSV, exportToExcel, generateCSV, useExport } from '../chunk-HKZFEXT6.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Q as QueryResult,
|
|
1
|
+
import { Q as QueryResult, t as ColumnSelection } from './types-ccB9Ps3k.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Theme type definitions for Prismiq.
|
|
@@ -818,4 +818,4 @@ declare function isChartDataEmpty(data: QueryResult | ChartDataPoint[]): boolean
|
|
|
818
818
|
*/
|
|
819
819
|
declare function createEmptyStateGraphic(message?: string): Record<string, unknown>;
|
|
820
820
|
|
|
821
|
-
export { AreaChart as A, BarChart as B, type ChartDataOptions as C, type DeepPartial as D, EChartWrapper as E,
|
|
821
|
+
export { AreaChart as A, BarChart as B, type ChartDataOptions as C, type DeepPartial as D, EChartWrapper as E, dataPointsToChartData as F, formatAxisLabel as G, formatCompact as H, formatMetricValue as I, getChartColors as J, isChartDataEmpty as K, type LegendPosition as L, MetricCard as M, queryResultToChartData as N, suggestChartType as O, type PrismiqTheme as P, toChartData as Q, type ReferenceLineConfig as R, ScatterChart as S, type ThemeMode as T, adjustColorOpacity as U, createEmptyStateGraphic as V, createMarkLines as W, isQueryResult as X, type ThemeContextValue as a, type ChartDataResult as b, type AreaChartProps as c, type AxisFormat as d, type BarChartProps as e, type BaseChartProps as f, type ChartClickParams as g, type ChartDataPoint as h, type ChartSeries as i, type ChartSuggestion as j, type ChartType as k, type EChartWrapperProps as l, LineChart as m, type LineChartProps as n, type MetricCardProps as o, PieChart as p, type PieChartProps as q, type ScatterChartProps as r, Sparkline as s, type SparklineProps as t, type TrendConfig as u, TrendIndicator as v, type TrendIndicatorProps as w, applyThemeToOption as x, createChartTheme as y, createGradientColor as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Q as QueryResult,
|
|
1
|
+
import { Q as QueryResult, t as ColumnSelection } from './types-ccB9Ps3k.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Theme type definitions for Prismiq.
|
|
@@ -818,4 +818,4 @@ declare function isChartDataEmpty(data: QueryResult | ChartDataPoint[]): boolean
|
|
|
818
818
|
*/
|
|
819
819
|
declare function createEmptyStateGraphic(message?: string): Record<string, unknown>;
|
|
820
820
|
|
|
821
|
-
export { AreaChart as A, BarChart as B, type ChartDataOptions as C, type DeepPartial as D, EChartWrapper as E,
|
|
821
|
+
export { AreaChart as A, BarChart as B, type ChartDataOptions as C, type DeepPartial as D, EChartWrapper as E, dataPointsToChartData as F, formatAxisLabel as G, formatCompact as H, formatMetricValue as I, getChartColors as J, isChartDataEmpty as K, type LegendPosition as L, MetricCard as M, queryResultToChartData as N, suggestChartType as O, type PrismiqTheme as P, toChartData as Q, type ReferenceLineConfig as R, ScatterChart as S, type ThemeMode as T, adjustColorOpacity as U, createEmptyStateGraphic as V, createMarkLines as W, isQueryResult as X, type ThemeContextValue as a, type ChartDataResult as b, type AreaChartProps as c, type AxisFormat as d, type BarChartProps as e, type BaseChartProps as f, type ChartClickParams as g, type ChartDataPoint as h, type ChartSeries as i, type ChartSuggestion as j, type ChartType as k, type EChartWrapperProps as l, LineChart as m, type LineChartProps as n, type MetricCardProps as o, PieChart as p, type PieChartProps as q, type ScatterChartProps as r, Sparkline as s, type SparklineProps as t, type TrendConfig as u, TrendIndicator as v, type TrendIndicatorProps as w, applyThemeToOption as x, createChartTheme as y, createGradientColor as z };
|