elseware-ui 2.35.0 → 2.36.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/LICENSE +20 -20
- package/README.md +215 -24
- package/dist/index.css +588 -49
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +578 -450
- package/dist/index.d.ts +578 -450
- package/dist/index.js +3217 -2457
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3707 -2973
- package/dist/index.mjs.map +1 -1
- package/package.json +37 -11
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React$1 from 'react';
|
|
3
2
|
import React__default, { HTMLAttributes, ReactNode, JSX, FC, ComponentType, MouseEvent, MutableRefObject } from 'react';
|
|
4
|
-
import
|
|
3
|
+
import * as d3 from 'd3';
|
|
5
4
|
import * as formik from 'formik';
|
|
6
5
|
import { FieldHookConfig } from 'formik';
|
|
7
6
|
import { ClassValue } from 'clsx';
|
|
@@ -56,7 +55,7 @@ interface AvatarProps extends BaseComponentProps {
|
|
|
56
55
|
src?: string;
|
|
57
56
|
children?: ReactNode;
|
|
58
57
|
}
|
|
59
|
-
declare const Avatar: ({ alt, icon, children, variant, appearance, shape, size, src, className, ...rest }: AvatarProps) =>
|
|
58
|
+
declare const Avatar: ({ alt, icon, children, variant, appearance, shape, size, src, className, ...rest }: AvatarProps) => React$1.JSX.Element;
|
|
60
59
|
|
|
61
60
|
interface BadgeProps extends BaseComponentProps {
|
|
62
61
|
offset?: [number, number];
|
|
@@ -70,286 +69,167 @@ interface BadgeProps extends BaseComponentProps {
|
|
|
70
69
|
position?: OctilePosition;
|
|
71
70
|
children?: ReactNode;
|
|
72
71
|
}
|
|
73
|
-
declare const Badge: ({ children, offset, dot, count, variant, appearance, shape, size, showZero, position, className, ...rest }: BadgeProps) =>
|
|
72
|
+
declare const Badge: ({ children, offset, dot, count, variant, appearance, shape, size, showZero, position, className, ...rest }: BadgeProps) => React$1.JSX.Element;
|
|
74
73
|
|
|
75
74
|
interface TitleBannerProps extends BaseComponentProps {
|
|
76
75
|
title: string;
|
|
77
76
|
level?: TitleBannerLevel;
|
|
78
77
|
rightSection?: ReactNode;
|
|
79
78
|
}
|
|
80
|
-
declare const TitleBanner: ({ title, level, rightSection, className, ...rest }: TitleBannerProps) =>
|
|
79
|
+
declare const TitleBanner: ({ title, level, rightSection, className, ...rest }: TitleBannerProps) => React$1.JSX.Element;
|
|
81
80
|
|
|
82
81
|
interface BrandProps extends BaseComponentProps {
|
|
83
82
|
src?: string;
|
|
84
83
|
alt?: string;
|
|
85
84
|
}
|
|
86
|
-
declare function Brand({ src, alt, className, ...rest }: BrandProps):
|
|
85
|
+
declare function Brand({ src, alt, className, ...rest }: BrandProps): React$1.JSX.Element;
|
|
87
86
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
interface LineChartProps extends BaseComponentProps {
|
|
95
|
-
data: ChartData<"line">;
|
|
96
|
-
options?: ChartOptions<"line">;
|
|
97
|
-
}
|
|
98
|
-
declare const LineChart: React__default.FC<LineChartProps>;
|
|
99
|
-
|
|
100
|
-
interface PieChartProps extends BaseComponentProps {
|
|
101
|
-
data: ChartData<"pie">;
|
|
102
|
-
options: ChartOptions<"pie">;
|
|
103
|
-
}
|
|
104
|
-
declare const PieChart: React__default.FC<PieChartProps>;
|
|
105
|
-
|
|
106
|
-
interface ChipProps extends BaseComponentProps {
|
|
107
|
-
label?: string;
|
|
108
|
-
variant?: Variant$1;
|
|
109
|
-
appearance?: Appearance;
|
|
110
|
-
shape?: Shape$1;
|
|
111
|
-
size?: Size$1;
|
|
112
|
-
}
|
|
113
|
-
declare const Chip: ({ label, variant, appearance, shape, size, className, ...rest }: ChipProps) => react_jsx_runtime.JSX.Element;
|
|
114
|
-
|
|
115
|
-
type SortConfig<T, K extends keyof T = keyof T> = {
|
|
116
|
-
key: K;
|
|
117
|
-
direction?: "asc" | "desc";
|
|
118
|
-
transform?: (value: T[K]) => number | string;
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
interface Props$2<T> {
|
|
122
|
-
data: T[];
|
|
123
|
-
children: ReactNode;
|
|
124
|
-
defaultPageSize?: number;
|
|
125
|
-
sortConfig?: Record<string, SortConfig<T>>;
|
|
126
|
-
}
|
|
127
|
-
declare function DataViewProvider<T extends Record<string, any>>({ data, children, defaultPageSize, sortConfig, }: Props$2<T>): react_jsx_runtime.JSX.Element;
|
|
128
|
-
|
|
129
|
-
type DataViewHeaderProps = {
|
|
130
|
-
children: ReactNode;
|
|
131
|
-
};
|
|
132
|
-
declare function DataViewHeader({ children }: DataViewHeaderProps): react_jsx_runtime.JSX.Element;
|
|
133
|
-
|
|
134
|
-
type DataViewSidebarProps = {
|
|
135
|
-
children: ReactNode;
|
|
136
|
-
};
|
|
137
|
-
declare function DataViewSidebar({ children }: DataViewSidebarProps): react_jsx_runtime.JSX.Element;
|
|
138
|
-
|
|
139
|
-
type DataViewContentProps<T = any> = {
|
|
140
|
-
children: ReactNode | ((data: T[]) => ReactNode);
|
|
141
|
-
};
|
|
142
|
-
declare function DataViewContent<T = any>({ children, }: DataViewContentProps<T>): JSX.Element;
|
|
143
|
-
|
|
144
|
-
type DataViewFooterProps = {
|
|
145
|
-
children: ReactNode;
|
|
146
|
-
};
|
|
147
|
-
declare function DataViewFooter({ children }: DataViewFooterProps): react_jsx_runtime.JSX.Element;
|
|
148
|
-
|
|
149
|
-
type DataViewSearchProps = {
|
|
150
|
-
placeholder?: string;
|
|
151
|
-
shape?: Shape$1;
|
|
152
|
-
};
|
|
153
|
-
declare function DataViewSearch({ placeholder, shape, }: DataViewSearchProps): react_jsx_runtime.JSX.Element;
|
|
154
|
-
|
|
155
|
-
type SortOption$1 = {
|
|
156
|
-
value: string;
|
|
157
|
-
label: string;
|
|
158
|
-
};
|
|
159
|
-
type DataViewSortProps = {
|
|
160
|
-
options: SortOption$1[];
|
|
161
|
-
shape?: Shape$1;
|
|
162
|
-
};
|
|
163
|
-
declare function DataViewSort({ options, shape }: DataViewSortProps): react_jsx_runtime.JSX.Element;
|
|
164
|
-
|
|
165
|
-
type FilterOption = {
|
|
166
|
-
value: string;
|
|
167
|
-
label: string;
|
|
168
|
-
dotClass?: string;
|
|
169
|
-
};
|
|
170
|
-
type DataViewFilterGroupProps<T = any> = {
|
|
171
|
-
filterKey: keyof T;
|
|
172
|
-
options: FilterOption[];
|
|
173
|
-
title?: string;
|
|
174
|
-
};
|
|
175
|
-
declare function DataViewFilterGroup<T extends Record<string, any>>({ filterKey, options, title, }: DataViewFilterGroupProps<T>): react_jsx_runtime.JSX.Element;
|
|
176
|
-
|
|
177
|
-
type Props$1 = {
|
|
178
|
-
pageSizeOptions?: (number | "All")[];
|
|
179
|
-
shape?: Shape$1;
|
|
180
|
-
};
|
|
181
|
-
declare function DataViewPageSize({ pageSizeOptions, shape, }: Props$1): react_jsx_runtime.JSX.Element;
|
|
182
|
-
|
|
183
|
-
type Props = {
|
|
184
|
-
shape?: Shape$1;
|
|
185
|
-
};
|
|
186
|
-
declare function DataViewPagination({ shape }: Props): react_jsx_runtime.JSX.Element | null;
|
|
187
|
-
|
|
188
|
-
declare const DataView: typeof DataViewProvider & {
|
|
189
|
-
Header: typeof DataViewHeader;
|
|
190
|
-
Sidebar: typeof DataViewSidebar;
|
|
191
|
-
Content: typeof DataViewContent;
|
|
192
|
-
Footer: typeof DataViewFooter;
|
|
193
|
-
Pagination: typeof DataViewPagination;
|
|
194
|
-
Search: typeof DataViewSearch;
|
|
195
|
-
Sort: typeof DataViewSort;
|
|
196
|
-
FilterGroup: typeof DataViewFilterGroup;
|
|
197
|
-
PageSize: typeof DataViewPageSize;
|
|
198
|
-
};
|
|
199
|
-
|
|
200
|
-
interface FlagProps extends BaseComponentProps {
|
|
201
|
-
code: string;
|
|
202
|
-
width?: number | string;
|
|
203
|
-
height?: number | string;
|
|
204
|
-
}
|
|
205
|
-
declare const Flag: ({ code, width, height, className, ...rest }: FlagProps) => react_jsx_runtime.JSX.Element;
|
|
206
|
-
|
|
207
|
-
type GraphUnsubscribe = () => void;
|
|
208
|
-
type GraphDataHandler<TData extends GraphDataPoint = GraphDataPoint> = (data: TData | TData[]) => void;
|
|
209
|
-
type GraphErrorHandler = (error: Error) => void;
|
|
210
|
-
interface GraphDataSource<TData extends GraphDataPoint = GraphDataPoint> {
|
|
211
|
-
mode: GraphDataMode;
|
|
87
|
+
type ChartUnsubscribe = () => void;
|
|
88
|
+
type ChartDataHandler<TData extends ChartDataPoint = ChartDataPoint> = (data: TData | TData[]) => void;
|
|
89
|
+
type ChartErrorHandler = (error: Error) => void;
|
|
90
|
+
interface ChartDataSource<TData extends ChartDataPoint = ChartDataPoint> {
|
|
91
|
+
mode: ChartDataMode;
|
|
212
92
|
getInitialData?: () => Promise<TData[]> | TData[];
|
|
213
93
|
refresh?: () => Promise<TData[]> | TData[];
|
|
214
|
-
subscribe?: (onData:
|
|
94
|
+
subscribe?: (onData: ChartDataHandler<TData>, onError?: ChartErrorHandler) => ChartUnsubscribe;
|
|
215
95
|
}
|
|
216
|
-
interface
|
|
96
|
+
interface StaticChartDataSourceOptions<TData extends ChartDataPoint = ChartDataPoint> {
|
|
217
97
|
data: TData[];
|
|
218
98
|
}
|
|
219
|
-
interface
|
|
99
|
+
interface PollingChartDataSourceOptions<TData extends ChartDataPoint = ChartDataPoint> {
|
|
220
100
|
interval?: number;
|
|
221
101
|
immediate?: boolean;
|
|
222
102
|
fetcher: () => Promise<TData[]> | TData[];
|
|
223
103
|
}
|
|
224
|
-
interface
|
|
225
|
-
connect: (onData:
|
|
104
|
+
interface RealtimeChartDataSourceOptions<TData extends ChartDataPoint = ChartDataPoint> {
|
|
105
|
+
connect: (onData: ChartDataHandler<TData>, onError?: ChartErrorHandler) => ChartUnsubscribe;
|
|
226
106
|
getInitialData?: () => Promise<TData[]> | TData[];
|
|
227
107
|
refresh?: () => Promise<TData[]> | TData[];
|
|
228
108
|
}
|
|
229
|
-
interface
|
|
109
|
+
interface UseChartPollingOptions<TData extends ChartDataPoint = ChartDataPoint> {
|
|
230
110
|
enabled?: boolean;
|
|
231
111
|
interval?: number;
|
|
232
112
|
immediate?: boolean;
|
|
233
113
|
normalize?: boolean;
|
|
234
114
|
fetcher: () => Promise<TData[]> | TData[];
|
|
235
115
|
onData?: (data: TData[]) => void;
|
|
236
|
-
onError?:
|
|
116
|
+
onError?: ChartErrorHandler;
|
|
237
117
|
}
|
|
238
|
-
interface
|
|
118
|
+
interface UseChartRealtimeOptions<TData extends ChartDataPoint = ChartDataPoint> {
|
|
239
119
|
enabled?: boolean;
|
|
240
120
|
maxDataPoints?: number;
|
|
241
121
|
normalize?: boolean;
|
|
242
|
-
connect: (onData:
|
|
122
|
+
connect: (onData: ChartDataHandler<TData>, onError?: ChartErrorHandler) => ChartUnsubscribe;
|
|
243
123
|
onData?: (data: TData[]) => void;
|
|
244
|
-
onError?:
|
|
124
|
+
onError?: ChartErrorHandler;
|
|
245
125
|
}
|
|
246
126
|
|
|
247
|
-
type
|
|
248
|
-
type
|
|
249
|
-
interface
|
|
127
|
+
type ChartSeriesType = "line" | "area" | "bar" | "scatter";
|
|
128
|
+
type ChartSeriesColor = "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "muted" | string;
|
|
129
|
+
interface ChartSeries {
|
|
250
130
|
key: string;
|
|
251
131
|
label?: string;
|
|
252
|
-
type?:
|
|
253
|
-
color?:
|
|
132
|
+
type?: ChartSeriesType;
|
|
133
|
+
color?: ChartSeriesColor;
|
|
254
134
|
unit?: string;
|
|
255
135
|
visible?: boolean;
|
|
256
136
|
strokeWidth?: number;
|
|
257
137
|
radius?: number;
|
|
258
|
-
format?:
|
|
138
|
+
format?: ChartValueFormat;
|
|
259
139
|
prefix?: string;
|
|
260
140
|
suffix?: string;
|
|
261
141
|
yAxisId?: string | number;
|
|
262
142
|
}
|
|
263
|
-
interface
|
|
143
|
+
interface ResolvedChartSeries extends Required<Pick<ChartSeries, "key">> {
|
|
264
144
|
label: string;
|
|
265
|
-
type:
|
|
145
|
+
type: ChartSeriesType;
|
|
266
146
|
color: string;
|
|
267
147
|
unit?: string;
|
|
268
148
|
visible: boolean;
|
|
269
149
|
strokeWidth: number;
|
|
270
150
|
radius: number;
|
|
271
|
-
format?:
|
|
151
|
+
format?: ChartValueFormat;
|
|
272
152
|
prefix?: string;
|
|
273
153
|
suffix?: string;
|
|
274
154
|
yAxisId?: string | number;
|
|
275
155
|
}
|
|
276
|
-
interface
|
|
156
|
+
interface UseChartSeriesOptions<TData extends ChartDataPoint = ChartDataPoint> {
|
|
277
157
|
data?: TData[];
|
|
278
|
-
series?:
|
|
158
|
+
series?: ChartSeries[];
|
|
279
159
|
excludeKeys?: string[];
|
|
280
160
|
xKey?: string;
|
|
281
161
|
}
|
|
282
162
|
|
|
283
|
-
interface
|
|
163
|
+
interface ChartThemePanel {
|
|
284
164
|
background: string;
|
|
285
165
|
border: string;
|
|
286
166
|
radius: string;
|
|
287
167
|
shadow: string;
|
|
288
168
|
}
|
|
289
|
-
interface
|
|
169
|
+
interface ChartThemeText {
|
|
290
170
|
title: string;
|
|
291
171
|
description: string;
|
|
292
172
|
muted: string;
|
|
293
173
|
}
|
|
294
|
-
interface
|
|
174
|
+
interface ChartThemeChart {
|
|
295
175
|
grid: string;
|
|
296
176
|
axis: string;
|
|
297
177
|
cursor: string;
|
|
298
178
|
}
|
|
299
|
-
interface
|
|
179
|
+
interface ChartThemeTooltip {
|
|
300
180
|
background: string;
|
|
301
181
|
border: string;
|
|
302
182
|
text: string;
|
|
303
183
|
muted: string;
|
|
304
184
|
}
|
|
305
|
-
interface
|
|
306
|
-
panel:
|
|
307
|
-
text:
|
|
308
|
-
chart:
|
|
309
|
-
tooltip:
|
|
185
|
+
interface ChartTheme {
|
|
186
|
+
panel: ChartThemePanel;
|
|
187
|
+
text: ChartThemeText;
|
|
188
|
+
chart: ChartThemeChart;
|
|
189
|
+
tooltip: ChartThemeTooltip;
|
|
310
190
|
colors: string[];
|
|
311
191
|
}
|
|
312
|
-
type
|
|
313
|
-
interface
|
|
314
|
-
mode?:
|
|
315
|
-
theme?: Partial<
|
|
192
|
+
type ChartThemeMode = "dark" | "light";
|
|
193
|
+
interface UseChartThemeOptions {
|
|
194
|
+
mode?: ChartThemeMode;
|
|
195
|
+
theme?: Partial<ChartTheme>;
|
|
316
196
|
}
|
|
317
197
|
|
|
318
|
-
type
|
|
319
|
-
type
|
|
320
|
-
type
|
|
321
|
-
type
|
|
322
|
-
type
|
|
323
|
-
type
|
|
324
|
-
interface
|
|
198
|
+
type ChartPrimitive = string | number | boolean | Date | null | undefined;
|
|
199
|
+
type ChartDataPoint = Record<string, ChartPrimitive>;
|
|
200
|
+
type ChartStatus = "idle" | "loading" | "success" | "error" | "streaming";
|
|
201
|
+
type ChartDataMode = "static" | "polling" | "realtime";
|
|
202
|
+
type ChartChartType = "line" | "area" | "bar" | "pie" | "scatter" | "gauge" | "stat";
|
|
203
|
+
type ChartValueFormat = "raw" | "number" | "integer" | "compact" | "percent" | "currency" | "bytes" | "duration";
|
|
204
|
+
interface ChartState<TData extends ChartDataPoint = ChartDataPoint> {
|
|
325
205
|
data: TData[];
|
|
326
206
|
loading: boolean;
|
|
327
207
|
error: Error | null;
|
|
328
|
-
status:
|
|
208
|
+
status: ChartStatus;
|
|
329
209
|
lastUpdatedAt?: Date;
|
|
330
210
|
}
|
|
331
|
-
interface
|
|
332
|
-
mode?:
|
|
211
|
+
interface ChartContextValue<TData extends ChartDataPoint = ChartDataPoint> extends ChartState<TData> {
|
|
212
|
+
mode?: ChartDataMode;
|
|
333
213
|
maxDataPoints: number;
|
|
334
214
|
refresh: () => Promise<void>;
|
|
335
215
|
replaceData: (data: TData[]) => void;
|
|
336
216
|
appendData: (data: TData | TData[]) => void;
|
|
337
217
|
clearData: () => void;
|
|
338
218
|
}
|
|
339
|
-
interface
|
|
219
|
+
interface ChartProviderProps<TData extends ChartDataPoint = ChartDataPoint> {
|
|
340
220
|
children: ReactNode;
|
|
341
221
|
data?: TData[];
|
|
342
|
-
dataSource?:
|
|
222
|
+
dataSource?: ChartDataSource<TData>;
|
|
343
223
|
maxDataPoints?: number;
|
|
344
224
|
autoLoad?: boolean;
|
|
345
|
-
theme?: Partial<
|
|
225
|
+
theme?: Partial<ChartTheme>;
|
|
346
226
|
onDataChange?: (data: TData[]) => void;
|
|
347
227
|
onError?: (error: Error) => void;
|
|
348
228
|
}
|
|
349
|
-
interface
|
|
229
|
+
interface BaseChartProps<TData extends ChartDataPoint = ChartDataPoint> {
|
|
350
230
|
data?: TData[];
|
|
351
231
|
xKey?: keyof TData | string;
|
|
352
|
-
series?:
|
|
232
|
+
series?: ChartSeries[];
|
|
353
233
|
height?: number;
|
|
354
234
|
loading?: boolean;
|
|
355
235
|
error?: Error | null;
|
|
@@ -359,15 +239,15 @@ interface BaseGraphProps<TData extends GraphDataPoint = GraphDataPoint> {
|
|
|
359
239
|
showLegend?: boolean;
|
|
360
240
|
animated?: boolean;
|
|
361
241
|
}
|
|
362
|
-
interface
|
|
242
|
+
interface ChartTooltipPayload {
|
|
363
243
|
name?: string;
|
|
364
244
|
value?: unknown;
|
|
365
245
|
color?: string;
|
|
366
246
|
dataKey?: string;
|
|
367
|
-
payload?:
|
|
247
|
+
payload?: ChartDataPoint;
|
|
368
248
|
}
|
|
369
249
|
|
|
370
|
-
interface
|
|
250
|
+
interface ChartPanelConfig {
|
|
371
251
|
title?: ReactNode;
|
|
372
252
|
description?: ReactNode;
|
|
373
253
|
actions?: ReactNode;
|
|
@@ -380,19 +260,19 @@ interface GraphPanelConfig {
|
|
|
380
260
|
emptyDescription?: ReactNode;
|
|
381
261
|
onRetry?: () => void | Promise<void>;
|
|
382
262
|
}
|
|
383
|
-
interface
|
|
263
|
+
interface ChartPieConfig<TData extends ChartDataPoint = ChartDataPoint> {
|
|
384
264
|
nameKey?: keyof TData | string;
|
|
385
265
|
valueKey?: keyof TData | string;
|
|
386
266
|
innerRadius?: number | string;
|
|
387
267
|
outerRadius?: number | string;
|
|
388
|
-
valueFormat?:
|
|
268
|
+
valueFormat?: ChartValueFormat;
|
|
389
269
|
unit?: string;
|
|
390
270
|
}
|
|
391
|
-
interface
|
|
271
|
+
interface ChartGaugeConfig<TData extends ChartDataPoint = ChartDataPoint> {
|
|
392
272
|
valueKey?: keyof TData | string;
|
|
393
273
|
/**
|
|
394
|
-
* Shared with
|
|
395
|
-
*
|
|
274
|
+
* Shared with StatChart.
|
|
275
|
+
* GaugeChart uses only number values at runtime.
|
|
396
276
|
*/
|
|
397
277
|
value?: number | string;
|
|
398
278
|
label?: string;
|
|
@@ -400,43 +280,43 @@ interface GraphGaugeConfig<TData extends GraphDataPoint = GraphDataPoint> {
|
|
|
400
280
|
max?: number;
|
|
401
281
|
color?: string;
|
|
402
282
|
unit?: string;
|
|
403
|
-
format?:
|
|
283
|
+
format?: ChartValueFormat;
|
|
404
284
|
}
|
|
405
|
-
interface
|
|
285
|
+
interface ChartStatConfig<TData extends ChartDataPoint = ChartDataPoint> {
|
|
406
286
|
valueKey?: keyof TData | string;
|
|
407
287
|
value?: number | string;
|
|
408
288
|
previousValue?: number;
|
|
409
289
|
label?: string;
|
|
410
|
-
format?:
|
|
290
|
+
format?: ChartValueFormat;
|
|
411
291
|
prefix?: string;
|
|
412
292
|
suffix?: string;
|
|
413
293
|
unit?: string;
|
|
414
294
|
showTrend?: boolean;
|
|
415
295
|
}
|
|
416
|
-
interface
|
|
296
|
+
interface ChartBarConfig {
|
|
417
297
|
layout?: "horizontal" | "vertical";
|
|
418
298
|
}
|
|
419
|
-
interface
|
|
299
|
+
interface ChartProps<TData extends ChartDataPoint = ChartDataPoint> extends Omit<BaseChartProps<TData>, "data">, ChartPanelConfig, ChartPieConfig<TData>, ChartGaugeConfig<TData>, ChartStatConfig<TData>, ChartBarConfig {
|
|
420
300
|
children?: ReactNode;
|
|
421
|
-
type?:
|
|
301
|
+
type?: ChartChartType;
|
|
422
302
|
data?: TData[];
|
|
423
|
-
dataSource?:
|
|
424
|
-
autoLoad?:
|
|
425
|
-
maxDataPoints?:
|
|
426
|
-
theme?: Partial<
|
|
427
|
-
themeMode?:
|
|
303
|
+
dataSource?: ChartDataSource<TData>;
|
|
304
|
+
autoLoad?: ChartProviderProps<TData>["autoLoad"];
|
|
305
|
+
maxDataPoints?: ChartProviderProps<TData>["maxDataPoints"];
|
|
306
|
+
theme?: Partial<ChartTheme>;
|
|
307
|
+
themeMode?: ChartThemeMode;
|
|
428
308
|
chartClassName?: string;
|
|
429
309
|
contentClassName?: string;
|
|
430
|
-
onDataChange?:
|
|
431
|
-
onError?:
|
|
310
|
+
onDataChange?: ChartProviderProps<TData>["onDataChange"];
|
|
311
|
+
onError?: ChartProviderProps<TData>["onError"];
|
|
432
312
|
}
|
|
433
|
-
interface
|
|
434
|
-
series?:
|
|
313
|
+
interface ChartRenderChartProps<TData extends ChartDataPoint = ChartDataPoint> extends ChartProps<TData> {
|
|
314
|
+
series?: ChartSeries[];
|
|
435
315
|
}
|
|
436
316
|
|
|
437
|
-
declare function
|
|
317
|
+
declare function Chart<TData extends ChartDataPoint = ChartDataPoint>(props: ChartProps<TData>): React$1.JSX.Element;
|
|
438
318
|
|
|
439
|
-
interface
|
|
319
|
+
interface ChartPanelProps {
|
|
440
320
|
title?: ReactNode;
|
|
441
321
|
description?: ReactNode;
|
|
442
322
|
actions?: ReactNode;
|
|
@@ -455,17 +335,17 @@ interface GraphPanelProps {
|
|
|
455
335
|
showLastUpdated?: boolean;
|
|
456
336
|
onRetry?: () => void | Promise<void>;
|
|
457
337
|
}
|
|
458
|
-
declare function
|
|
338
|
+
declare function ChartPanel({ title, description, actions, toolbar, children, className, contentClassName, height, loading, error, empty, emptyMessage, emptyDescription, showToolbar, showRefresh, showLastUpdated, onRetry, }: ChartPanelProps): React$1.JSX.Element;
|
|
459
339
|
|
|
460
|
-
interface
|
|
340
|
+
interface ChartHeaderProps {
|
|
461
341
|
title?: ReactNode;
|
|
462
342
|
description?: ReactNode;
|
|
463
343
|
actions?: ReactNode;
|
|
464
344
|
className?: string;
|
|
465
345
|
}
|
|
466
|
-
declare function
|
|
346
|
+
declare function ChartHeader({ title, description, actions, className, }: ChartHeaderProps): React$1.JSX.Element | null;
|
|
467
347
|
|
|
468
|
-
interface
|
|
348
|
+
interface ChartToolbarProps {
|
|
469
349
|
children?: ReactNode;
|
|
470
350
|
className?: string;
|
|
471
351
|
showRefresh?: boolean;
|
|
@@ -473,56 +353,56 @@ interface GraphToolbarProps {
|
|
|
473
353
|
refreshLabel?: ReactNode;
|
|
474
354
|
onRefresh?: () => void | Promise<void>;
|
|
475
355
|
}
|
|
476
|
-
declare function
|
|
356
|
+
declare function ChartToolbar({ children, className, showRefresh, showLastUpdated, refreshLabel, onRefresh, }: ChartToolbarProps): React$1.JSX.Element | null;
|
|
477
357
|
|
|
478
|
-
interface
|
|
358
|
+
interface ChartLegendItem {
|
|
479
359
|
key: string;
|
|
480
360
|
label?: string;
|
|
481
361
|
color?: string;
|
|
482
362
|
value?: unknown;
|
|
483
363
|
unit?: string;
|
|
484
|
-
format?:
|
|
364
|
+
format?: ChartValueFormat;
|
|
485
365
|
prefix?: string;
|
|
486
366
|
suffix?: string;
|
|
487
367
|
active?: boolean;
|
|
488
368
|
}
|
|
489
|
-
interface
|
|
490
|
-
items?:
|
|
491
|
-
series?:
|
|
369
|
+
interface ChartLegendProps<TData extends ChartDataPoint = ChartDataPoint> {
|
|
370
|
+
items?: ChartLegendItem[];
|
|
371
|
+
series?: ChartSeries[];
|
|
492
372
|
data?: TData[];
|
|
493
373
|
className?: string;
|
|
494
374
|
showValues?: boolean;
|
|
495
375
|
valueSource?: "latest" | "none";
|
|
496
|
-
onItemClick?: (item:
|
|
376
|
+
onItemClick?: (item: ChartLegendItem) => void;
|
|
497
377
|
}
|
|
498
|
-
declare function
|
|
378
|
+
declare function ChartLegend<TData extends ChartDataPoint = ChartDataPoint>({ items, series, data, className, showValues, valueSource, onItemClick, }: ChartLegendProps<TData>): React$1.JSX.Element | null;
|
|
499
379
|
|
|
500
|
-
interface
|
|
501
|
-
format?:
|
|
380
|
+
interface ChartTooltipFormatterOptions {
|
|
381
|
+
format?: ChartValueFormat;
|
|
502
382
|
prefix?: string;
|
|
503
383
|
suffix?: string;
|
|
504
384
|
unit?: string;
|
|
505
385
|
}
|
|
506
|
-
interface
|
|
386
|
+
interface ChartTooltipProps {
|
|
507
387
|
active?: boolean;
|
|
508
388
|
label?: string | number;
|
|
509
|
-
payload?:
|
|
389
|
+
payload?: ChartTooltipPayload[];
|
|
510
390
|
className?: string;
|
|
511
391
|
labelFormatter?: (label: string | number) => string;
|
|
512
|
-
valueFormatter?: (value: unknown, name?: string, payload?:
|
|
513
|
-
seriesFormatters?: Record<string,
|
|
392
|
+
valueFormatter?: (value: unknown, name?: string, payload?: ChartTooltipPayload) => string;
|
|
393
|
+
seriesFormatters?: Record<string, ChartTooltipFormatterOptions>;
|
|
514
394
|
}
|
|
515
|
-
declare function
|
|
395
|
+
declare function ChartTooltip({ active, label, payload, className, labelFormatter, valueFormatter, seriesFormatters, }: ChartTooltipProps): React$1.JSX.Element | null;
|
|
516
396
|
|
|
517
|
-
interface
|
|
397
|
+
interface ChartEmptyStateProps {
|
|
518
398
|
height?: number;
|
|
519
399
|
message?: ReactNode;
|
|
520
400
|
description?: ReactNode;
|
|
521
401
|
className?: string;
|
|
522
402
|
}
|
|
523
|
-
declare function
|
|
403
|
+
declare function ChartEmptyState({ height, message, description, className, }: ChartEmptyStateProps): React$1.JSX.Element;
|
|
524
404
|
|
|
525
|
-
interface
|
|
405
|
+
interface ChartErrorStateProps {
|
|
526
406
|
error?: Error | null;
|
|
527
407
|
height?: number;
|
|
528
408
|
title?: ReactNode;
|
|
@@ -531,46 +411,46 @@ interface GraphErrorStateProps {
|
|
|
531
411
|
onRetry?: () => void | Promise<void>;
|
|
532
412
|
retryLabel?: ReactNode;
|
|
533
413
|
}
|
|
534
|
-
declare function
|
|
414
|
+
declare function ChartErrorState({ error, height, title, message, className, onRetry, retryLabel, }: ChartErrorStateProps): React$1.JSX.Element;
|
|
535
415
|
|
|
536
|
-
interface
|
|
416
|
+
interface ChartLoadingStateProps {
|
|
537
417
|
height?: number;
|
|
538
418
|
message?: ReactNode;
|
|
539
419
|
className?: string;
|
|
540
420
|
showMessage?: boolean;
|
|
541
421
|
}
|
|
542
|
-
declare function
|
|
422
|
+
declare function ChartLoadingState({ height, message, className, showMessage, }: ChartLoadingStateProps): React$1.JSX.Element;
|
|
543
423
|
|
|
544
|
-
interface
|
|
424
|
+
interface ChartContainerProps {
|
|
545
425
|
children: ReactNode;
|
|
546
426
|
height?: number;
|
|
547
427
|
className?: string;
|
|
548
428
|
contentClassName?: string;
|
|
549
429
|
}
|
|
550
|
-
declare function
|
|
430
|
+
declare function ChartContainer({ children, height, className, contentClassName, }: ChartContainerProps): React$1.JSX.Element;
|
|
551
431
|
|
|
552
|
-
declare function
|
|
432
|
+
declare function LinePlot<TData extends ChartDataPoint = ChartDataPoint>({ data, xKey, series, height, loading, error, className, showGrid, showTooltip, showLegend, animated, }: BaseChartProps<TData>): React$1.JSX.Element;
|
|
553
433
|
|
|
554
|
-
declare function
|
|
434
|
+
declare function AreaPlot<TData extends ChartDataPoint = ChartDataPoint>({ data, xKey, series, height, loading, error, className, showGrid, showTooltip, showLegend, animated, }: BaseChartProps<TData>): React$1.JSX.Element;
|
|
555
435
|
|
|
556
|
-
interface
|
|
436
|
+
interface BarChartProps<TData extends ChartDataPoint = ChartDataPoint> extends BaseChartProps<TData> {
|
|
557
437
|
layout?: "horizontal" | "vertical";
|
|
558
438
|
}
|
|
559
|
-
declare function
|
|
439
|
+
declare function BarPlot<TData extends ChartDataPoint = ChartDataPoint>({ data, xKey, series, height, loading, error, className, showGrid, showTooltip, showLegend, animated, layout, }: BarChartProps<TData>): React$1.JSX.Element;
|
|
560
440
|
|
|
561
|
-
interface
|
|
441
|
+
interface PieChartProps<TData extends ChartDataPoint = ChartDataPoint> extends Omit<BaseChartProps<TData>, "xKey" | "series"> {
|
|
562
442
|
nameKey?: keyof TData | string;
|
|
563
443
|
valueKey?: keyof TData | string;
|
|
564
444
|
innerRadius?: number | string;
|
|
565
445
|
outerRadius?: number | string;
|
|
566
|
-
valueFormat?:
|
|
446
|
+
valueFormat?: ChartValueFormat;
|
|
567
447
|
unit?: string;
|
|
568
448
|
}
|
|
569
|
-
declare function
|
|
449
|
+
declare function PiePlot<TData extends ChartDataPoint = ChartDataPoint>({ data, nameKey, valueKey, height, loading, error, className, showTooltip, showLegend, animated, innerRadius, outerRadius, valueFormat, unit, }: PieChartProps<TData>): React$1.JSX.Element;
|
|
570
450
|
|
|
571
|
-
declare function
|
|
451
|
+
declare function ScatterPlot<TData extends ChartDataPoint = ChartDataPoint>({ data, xKey, series, height, loading, error, className, showGrid, showTooltip, showLegend, animated, }: BaseChartProps<TData>): React$1.JSX.Element;
|
|
572
452
|
|
|
573
|
-
interface
|
|
453
|
+
interface GaugeChartProps<TData extends ChartDataPoint = ChartDataPoint> {
|
|
574
454
|
data?: TData[];
|
|
575
455
|
valueKey?: keyof TData | string;
|
|
576
456
|
label?: string;
|
|
@@ -580,20 +460,20 @@ interface GaugeGraphProps<TData extends GraphDataPoint = GraphDataPoint> {
|
|
|
580
460
|
height?: number;
|
|
581
461
|
color?: string;
|
|
582
462
|
unit?: string;
|
|
583
|
-
format?:
|
|
463
|
+
format?: ChartValueFormat;
|
|
584
464
|
loading?: boolean;
|
|
585
465
|
error?: Error | null;
|
|
586
466
|
className?: string;
|
|
587
467
|
}
|
|
588
|
-
declare function
|
|
468
|
+
declare function GaugePlot<TData extends ChartDataPoint = ChartDataPoint>({ data, valueKey, label, value, min, max, height, color, unit, format, loading, error, className, }: GaugeChartProps<TData>): React$1.JSX.Element;
|
|
589
469
|
|
|
590
|
-
interface
|
|
470
|
+
interface StatChartProps<TData extends ChartDataPoint = ChartDataPoint> {
|
|
591
471
|
data?: TData[];
|
|
592
472
|
valueKey?: keyof TData | string;
|
|
593
473
|
label?: string;
|
|
594
474
|
value?: number | string;
|
|
595
475
|
previousValue?: number;
|
|
596
|
-
format?:
|
|
476
|
+
format?: ChartValueFormat;
|
|
597
477
|
prefix?: string;
|
|
598
478
|
suffix?: string;
|
|
599
479
|
unit?: string;
|
|
@@ -602,15 +482,15 @@ interface StatGraphProps<TData extends GraphDataPoint = GraphDataPoint> {
|
|
|
602
482
|
className?: string;
|
|
603
483
|
showTrend?: boolean;
|
|
604
484
|
}
|
|
605
|
-
declare function
|
|
485
|
+
declare function StatPlot<TData extends ChartDataPoint = ChartDataPoint>({ data, valueKey, label, value, previousValue, format, prefix, suffix, unit, loading, error, className, showTrend, }: StatChartProps<TData>): React$1.JSX.Element;
|
|
606
486
|
|
|
607
|
-
declare function
|
|
487
|
+
declare function ChartProvider<TData extends ChartDataPoint = ChartDataPoint>({ children, data, dataSource, maxDataPoints, autoLoad, onDataChange, onError, }: ChartProviderProps<TData>): React$1.JSX.Element;
|
|
608
488
|
|
|
609
|
-
declare const
|
|
489
|
+
declare const ChartContext: React$1.Context<ChartContextValue<ChartDataPoint>>;
|
|
610
490
|
|
|
611
|
-
declare function
|
|
491
|
+
declare function useChartContext<TData extends ChartDataPoint = ChartDataPoint>(): ChartContextValue<TData>;
|
|
612
492
|
|
|
613
|
-
type
|
|
493
|
+
type ChartAction<TData extends ChartDataPoint = ChartDataPoint> = {
|
|
614
494
|
type: "SET_LOADING";
|
|
615
495
|
payload?: boolean;
|
|
616
496
|
} | {
|
|
@@ -631,26 +511,26 @@ type GraphAction<TData extends GraphDataPoint = GraphDataPoint> = {
|
|
|
631
511
|
type: "SET_STREAMING";
|
|
632
512
|
payload?: boolean;
|
|
633
513
|
};
|
|
634
|
-
declare function
|
|
635
|
-
declare function
|
|
514
|
+
declare function createInitialChartState<TData extends ChartDataPoint = ChartDataPoint>(data?: TData[]): ChartState<TData>;
|
|
515
|
+
declare function chartReducer<TData extends ChartDataPoint = ChartDataPoint>(state: ChartState<TData>, action: ChartAction<TData>): ChartState<TData>;
|
|
636
516
|
|
|
637
|
-
declare abstract class
|
|
638
|
-
abstract readonly mode:
|
|
517
|
+
declare abstract class BaseChartDataSource<TData extends ChartDataPoint = ChartDataPoint> implements ChartDataSource<TData> {
|
|
518
|
+
abstract readonly mode: ChartDataMode;
|
|
639
519
|
getInitialData?(): Promise<TData[]> | TData[];
|
|
640
520
|
refresh?(): Promise<TData[]> | TData[];
|
|
641
|
-
subscribe?(onData:
|
|
521
|
+
subscribe?(onData: ChartDataHandler<TData>, onError?: ChartErrorHandler): ChartUnsubscribe;
|
|
642
522
|
protected normalizeError(error: unknown): Error;
|
|
643
523
|
protected ensureArray(data: TData | TData[] | null | undefined): TData[];
|
|
644
524
|
protected safeExecute<TResult>(executor: () => Promise<TResult> | TResult): Promise<TResult>;
|
|
645
525
|
}
|
|
646
526
|
|
|
647
|
-
interface
|
|
527
|
+
interface StaticChartDataSourceConfig<TData extends ChartDataPoint = ChartDataPoint> {
|
|
648
528
|
data?: TData[];
|
|
649
529
|
}
|
|
650
|
-
declare class
|
|
651
|
-
readonly mode:
|
|
530
|
+
declare class StaticChartDataSource<TData extends ChartDataPoint = ChartDataPoint> extends BaseChartDataSource<TData> {
|
|
531
|
+
readonly mode: ChartDataMode;
|
|
652
532
|
private data;
|
|
653
|
-
constructor(config?:
|
|
533
|
+
constructor(config?: StaticChartDataSourceConfig<TData> | TData[]);
|
|
654
534
|
getInitialData(): TData[];
|
|
655
535
|
refresh(): TData[];
|
|
656
536
|
setData(data: TData[]): void;
|
|
@@ -658,56 +538,56 @@ declare class StaticGraphDataSource<TData extends GraphDataPoint = GraphDataPoin
|
|
|
658
538
|
clearData(): void;
|
|
659
539
|
}
|
|
660
540
|
|
|
661
|
-
interface
|
|
541
|
+
interface PollingChartDataSourceConfig<TData extends ChartDataPoint = ChartDataPoint> {
|
|
662
542
|
fetcher: () => Promise<TData[]> | TData[];
|
|
663
543
|
interval?: number;
|
|
664
544
|
immediate?: boolean;
|
|
665
545
|
}
|
|
666
|
-
declare class
|
|
667
|
-
readonly mode:
|
|
546
|
+
declare class PollingChartDataSource<TData extends ChartDataPoint = ChartDataPoint> extends BaseChartDataSource<TData> {
|
|
547
|
+
readonly mode: ChartDataMode;
|
|
668
548
|
private readonly fetcher;
|
|
669
549
|
private readonly interval;
|
|
670
550
|
private readonly immediate;
|
|
671
|
-
constructor(config:
|
|
551
|
+
constructor(config: PollingChartDataSourceConfig<TData>);
|
|
672
552
|
getInitialData(): Promise<TData[]>;
|
|
673
553
|
refresh(): Promise<TData[]>;
|
|
674
|
-
subscribe(onData:
|
|
554
|
+
subscribe(onData: ChartDataHandler<TData>, onError?: ChartErrorHandler): ChartUnsubscribe;
|
|
675
555
|
}
|
|
676
556
|
|
|
677
|
-
interface
|
|
678
|
-
connect: (onData:
|
|
557
|
+
interface RealtimeChartDataSourceConfig<TData extends ChartDataPoint = ChartDataPoint> {
|
|
558
|
+
connect: (onData: ChartDataHandler<TData>, onError?: ChartErrorHandler) => ChartUnsubscribe;
|
|
679
559
|
getInitialData?: () => Promise<TData[]> | TData[];
|
|
680
560
|
refresh?: () => Promise<TData[]> | TData[];
|
|
681
561
|
}
|
|
682
|
-
declare class
|
|
683
|
-
readonly mode:
|
|
562
|
+
declare class RealtimeChartDataSource<TData extends ChartDataPoint = ChartDataPoint> extends BaseChartDataSource<TData> {
|
|
563
|
+
readonly mode: ChartDataMode;
|
|
684
564
|
private readonly connect;
|
|
685
565
|
private readonly initialDataLoader?;
|
|
686
566
|
private readonly refreshHandler?;
|
|
687
|
-
constructor(config:
|
|
567
|
+
constructor(config: RealtimeChartDataSourceConfig<TData>);
|
|
688
568
|
getInitialData(): Promise<TData[]> | TData[];
|
|
689
569
|
refresh(): Promise<TData[]> | TData[];
|
|
690
|
-
subscribe(onData:
|
|
570
|
+
subscribe(onData: ChartDataHandler<TData>, onError?: ChartErrorHandler): ChartUnsubscribe;
|
|
691
571
|
}
|
|
692
572
|
|
|
693
|
-
interface
|
|
573
|
+
interface UseChartDataOptions<TData extends ChartDataPoint = ChartDataPoint> {
|
|
694
574
|
data?: TData[];
|
|
695
|
-
dataSource?:
|
|
575
|
+
dataSource?: ChartDataSource<TData>;
|
|
696
576
|
autoLoad?: boolean;
|
|
697
577
|
maxDataPoints?: number;
|
|
698
578
|
normalize?: boolean;
|
|
699
579
|
onDataChange?: (data: TData[]) => void;
|
|
700
580
|
onError?: (error: Error) => void;
|
|
701
581
|
}
|
|
702
|
-
interface
|
|
582
|
+
interface UseChartDataReturn<TData extends ChartDataPoint = ChartDataPoint> extends ChartState<TData> {
|
|
703
583
|
refresh: () => Promise<void>;
|
|
704
584
|
replaceData: (data: TData[]) => void;
|
|
705
585
|
appendData: (data: TData | TData[]) => void;
|
|
706
586
|
clearData: () => void;
|
|
707
587
|
}
|
|
708
|
-
declare function
|
|
588
|
+
declare function useChartData<TData extends ChartDataPoint = ChartDataPoint>({ data, dataSource, autoLoad, maxDataPoints, normalize, onDataChange, onError, }?: UseChartDataOptions<TData>): UseChartDataReturn<TData>;
|
|
709
589
|
|
|
710
|
-
declare function
|
|
590
|
+
declare function useChartRealtime<TData extends ChartDataPoint = ChartDataPoint>({ enabled, maxDataPoints, normalize, connect, onData, onError, }: UseChartRealtimeOptions<TData>): {
|
|
711
591
|
data: TData[];
|
|
712
592
|
error: Error | null;
|
|
713
593
|
connected: boolean;
|
|
@@ -717,7 +597,7 @@ declare function useGraphRealtime<TData extends GraphDataPoint = GraphDataPoint>
|
|
|
717
597
|
clearData: () => void;
|
|
718
598
|
};
|
|
719
599
|
|
|
720
|
-
declare function
|
|
600
|
+
declare function useChartPolling<TData extends ChartDataPoint = ChartDataPoint>({ enabled, interval, immediate, normalize, fetcher, onData, onError, }: UseChartPollingOptions<TData>): {
|
|
721
601
|
data: TData[];
|
|
722
602
|
error: Error | null;
|
|
723
603
|
loading: boolean;
|
|
@@ -726,13 +606,13 @@ declare function useGraphPolling<TData extends GraphDataPoint = GraphDataPoint>(
|
|
|
726
606
|
refresh: () => Promise<void>;
|
|
727
607
|
};
|
|
728
608
|
|
|
729
|
-
declare function
|
|
609
|
+
declare function useChartSeries<TData extends ChartDataPoint = ChartDataPoint>({ data, series, xKey, excludeKeys, }: UseChartSeriesOptions<TData>): ResolvedChartSeries[];
|
|
730
610
|
|
|
731
|
-
declare function
|
|
611
|
+
declare function useChartTheme({ mode, theme, }?: UseChartThemeOptions): ChartTheme;
|
|
732
612
|
|
|
733
|
-
type
|
|
734
|
-
type
|
|
735
|
-
interface
|
|
613
|
+
type RawChartDataPoint = Record<string, unknown>;
|
|
614
|
+
type NormalizedChartDataPoint = Record<string, ChartPrimitive>;
|
|
615
|
+
interface NormalizeChartDataOptions {
|
|
736
616
|
/**
|
|
737
617
|
* Converts Date values to ISO strings.
|
|
738
618
|
*
|
|
@@ -762,11 +642,11 @@ interface NormalizeGraphDataOptions {
|
|
|
762
642
|
*/
|
|
763
643
|
removeUndefined?: boolean;
|
|
764
644
|
}
|
|
765
|
-
declare function
|
|
766
|
-
declare function
|
|
645
|
+
declare function normalizeChartData<TData extends RawChartDataPoint>(data: TData[] | null | undefined, options?: NormalizeChartDataOptions): NormalizedChartDataPoint[];
|
|
646
|
+
declare function normalizeChartDataPoint<TData extends RawChartDataPoint>(dataPoint: TData, options?: NormalizeChartDataOptions): NormalizedChartDataPoint;
|
|
767
647
|
|
|
768
|
-
interface
|
|
769
|
-
format?:
|
|
648
|
+
interface FormatChartValueOptions {
|
|
649
|
+
format?: ChartValueFormat;
|
|
770
650
|
locale?: string;
|
|
771
651
|
prefix?: string;
|
|
772
652
|
suffix?: string;
|
|
@@ -775,16 +655,16 @@ interface FormatGraphValueOptions {
|
|
|
775
655
|
maximumFractionDigits?: number;
|
|
776
656
|
fallback?: string;
|
|
777
657
|
}
|
|
778
|
-
declare function
|
|
658
|
+
declare function formatChartValue(value: unknown, options?: FormatChartValueOptions): string;
|
|
779
659
|
|
|
780
|
-
type
|
|
781
|
-
interface
|
|
660
|
+
type ChartColorName = "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "muted";
|
|
661
|
+
interface ResolveChartColorOptions {
|
|
782
662
|
index?: number;
|
|
783
663
|
fallback?: string;
|
|
784
664
|
palette?: string[];
|
|
785
665
|
}
|
|
786
|
-
declare function
|
|
787
|
-
declare function
|
|
666
|
+
declare function resolveChartColor(color?: string, options?: ResolveChartColorOptions): string;
|
|
667
|
+
declare function resolveChartColors(count: number, options?: ResolveChartColorOptions): string[];
|
|
788
668
|
|
|
789
669
|
interface LimitRealtimePointsOptions {
|
|
790
670
|
/**
|
|
@@ -803,33 +683,33 @@ interface LimitRealtimePointsOptions {
|
|
|
803
683
|
declare function limitRealtimePoints<TData>(currentData: TData[] | undefined, nextData: TData | TData[], options?: LimitRealtimePointsOptions): TData[];
|
|
804
684
|
declare function replaceRealtimePoints<TData>(nextData?: TData[], options?: Pick<LimitRealtimePointsOptions, "maxPoints">): TData[];
|
|
805
685
|
|
|
806
|
-
declare const
|
|
807
|
-
declare const
|
|
808
|
-
declare const
|
|
809
|
-
declare const
|
|
810
|
-
declare const
|
|
686
|
+
declare const CHART_DEFAULT_HEIGHT = 320;
|
|
687
|
+
declare const CHART_DEFAULT_MAX_REALTIME_POINTS = 100;
|
|
688
|
+
declare const CHART_DEFAULT_POLLING_INTERVAL = 5000;
|
|
689
|
+
declare const CHART_DEFAULT_ANIMATION_DURATION = 350;
|
|
690
|
+
declare const CHART_DEFAULT_MARGIN: {
|
|
811
691
|
top: number;
|
|
812
692
|
right: number;
|
|
813
693
|
bottom: number;
|
|
814
694
|
left: number;
|
|
815
695
|
};
|
|
816
|
-
declare const
|
|
817
|
-
declare const
|
|
818
|
-
declare const
|
|
819
|
-
declare const
|
|
820
|
-
declare const
|
|
696
|
+
declare const CHART_DEFAULT_STROKE_WIDTH = 2;
|
|
697
|
+
declare const CHART_DEFAULT_DOT_RADIUS = 3;
|
|
698
|
+
declare const CHART_DEFAULT_ACTIVE_DOT_RADIUS = 5;
|
|
699
|
+
declare const CHART_DEFAULT_BAR_RADIUS: [number, number, number, number];
|
|
700
|
+
declare const CHART_STATUSES: {
|
|
821
701
|
readonly IDLE: "idle";
|
|
822
702
|
readonly LOADING: "loading";
|
|
823
703
|
readonly SUCCESS: "success";
|
|
824
704
|
readonly ERROR: "error";
|
|
825
705
|
readonly STREAMING: "streaming";
|
|
826
706
|
};
|
|
827
|
-
declare const
|
|
707
|
+
declare const CHART_DATA_MODES: {
|
|
828
708
|
readonly STATIC: "static";
|
|
829
709
|
readonly POLLING: "polling";
|
|
830
710
|
readonly REALTIME: "realtime";
|
|
831
711
|
};
|
|
832
|
-
declare const
|
|
712
|
+
declare const CHART_VALUE_FORMATS: {
|
|
833
713
|
readonly RAW: "raw";
|
|
834
714
|
readonly NUMBER: "number";
|
|
835
715
|
readonly INTEGER: "integer";
|
|
@@ -839,12 +719,12 @@ declare const GRAPH_VALUE_FORMATS: {
|
|
|
839
719
|
readonly BYTES: "bytes";
|
|
840
720
|
readonly DURATION: "duration";
|
|
841
721
|
};
|
|
842
|
-
declare const
|
|
843
|
-
declare const
|
|
844
|
-
declare const
|
|
722
|
+
declare const CHART_EMPTY_MESSAGE = "No CHART data available";
|
|
723
|
+
declare const CHART_ERROR_MESSAGE = "Unable to load CHART data";
|
|
724
|
+
declare const CHART_LOADING_MESSAGE = "Loading CHART data...";
|
|
845
725
|
|
|
846
|
-
declare const
|
|
847
|
-
declare const
|
|
726
|
+
declare const CHART_COLOR_PALETTE: string[];
|
|
727
|
+
declare const CHART_STATUS_COLORS: {
|
|
848
728
|
primary: string;
|
|
849
729
|
secondary: string;
|
|
850
730
|
success: string;
|
|
@@ -853,7 +733,7 @@ declare const GRAPH_STATUS_COLORS: {
|
|
|
853
733
|
info: string;
|
|
854
734
|
muted: string;
|
|
855
735
|
};
|
|
856
|
-
declare const
|
|
736
|
+
declare const CHART_DARK_THEME: {
|
|
857
737
|
panel: {
|
|
858
738
|
background: string;
|
|
859
739
|
border: string;
|
|
@@ -878,7 +758,7 @@ declare const GRAPH_DARK_THEME: {
|
|
|
878
758
|
};
|
|
879
759
|
colors: string[];
|
|
880
760
|
};
|
|
881
|
-
declare const
|
|
761
|
+
declare const CHART_LIGHT_THEME: {
|
|
882
762
|
panel: {
|
|
883
763
|
background: string;
|
|
884
764
|
border: string;
|
|
@@ -903,7 +783,7 @@ declare const GRAPH_LIGHT_THEME: {
|
|
|
903
783
|
};
|
|
904
784
|
colors: string[];
|
|
905
785
|
};
|
|
906
|
-
declare const
|
|
786
|
+
declare const DEFAULT_CHART_THEME: {
|
|
907
787
|
panel: {
|
|
908
788
|
background: string;
|
|
909
789
|
border: string;
|
|
@@ -929,6 +809,198 @@ declare const DEFAULT_GRAPH_THEME: {
|
|
|
929
809
|
colors: string[];
|
|
930
810
|
};
|
|
931
811
|
|
|
812
|
+
interface ChipProps extends BaseComponentProps {
|
|
813
|
+
label?: string;
|
|
814
|
+
variant?: Variant$1;
|
|
815
|
+
appearance?: Appearance;
|
|
816
|
+
shape?: Shape$1;
|
|
817
|
+
size?: Size$1;
|
|
818
|
+
}
|
|
819
|
+
declare const Chip: ({ label, variant, appearance, shape, size, className, ...rest }: ChipProps) => React$1.JSX.Element;
|
|
820
|
+
|
|
821
|
+
type SortConfig<T, K extends keyof T = keyof T> = {
|
|
822
|
+
key: K;
|
|
823
|
+
direction?: "asc" | "desc";
|
|
824
|
+
transform?: (value: T[K]) => number | string;
|
|
825
|
+
};
|
|
826
|
+
|
|
827
|
+
interface Props$5<T> {
|
|
828
|
+
data: T[];
|
|
829
|
+
children: ReactNode;
|
|
830
|
+
defaultPageSize?: number;
|
|
831
|
+
sortConfig?: Record<string, SortConfig<T>>;
|
|
832
|
+
}
|
|
833
|
+
declare function DataViewProvider<T extends Record<string, any>>({ data, children, defaultPageSize, sortConfig, }: Props$5<T>): React$1.JSX.Element;
|
|
834
|
+
|
|
835
|
+
type DataViewHeaderProps = {
|
|
836
|
+
children: ReactNode;
|
|
837
|
+
};
|
|
838
|
+
declare function DataViewHeader({ children }: DataViewHeaderProps): React$1.JSX.Element;
|
|
839
|
+
|
|
840
|
+
type DataViewSidebarProps = {
|
|
841
|
+
children: ReactNode;
|
|
842
|
+
};
|
|
843
|
+
declare function DataViewSidebar({ children }: DataViewSidebarProps): React$1.JSX.Element;
|
|
844
|
+
|
|
845
|
+
type DataViewContentProps<T = any> = {
|
|
846
|
+
children: ReactNode | ((data: T[]) => ReactNode);
|
|
847
|
+
};
|
|
848
|
+
declare function DataViewContent<T = any>({ children, }: DataViewContentProps<T>): JSX.Element;
|
|
849
|
+
|
|
850
|
+
type DataViewFooterProps = {
|
|
851
|
+
children: ReactNode;
|
|
852
|
+
};
|
|
853
|
+
declare function DataViewFooter({ children }: DataViewFooterProps): React$1.JSX.Element;
|
|
854
|
+
|
|
855
|
+
type DataViewSearchProps = {
|
|
856
|
+
placeholder?: string;
|
|
857
|
+
shape?: Shape$1;
|
|
858
|
+
};
|
|
859
|
+
declare function DataViewSearch({ placeholder, shape, }: DataViewSearchProps): React$1.JSX.Element;
|
|
860
|
+
|
|
861
|
+
type SortOption$1 = {
|
|
862
|
+
value: string;
|
|
863
|
+
label: string;
|
|
864
|
+
};
|
|
865
|
+
type DataViewSortProps = {
|
|
866
|
+
options: SortOption$1[];
|
|
867
|
+
shape?: Shape$1;
|
|
868
|
+
};
|
|
869
|
+
declare function DataViewSort({ options, shape }: DataViewSortProps): React$1.JSX.Element;
|
|
870
|
+
|
|
871
|
+
type FilterOption = {
|
|
872
|
+
value: string;
|
|
873
|
+
label: string;
|
|
874
|
+
dotClass?: string;
|
|
875
|
+
};
|
|
876
|
+
type DataViewFilterGroupProps<T = any> = {
|
|
877
|
+
filterKey: keyof T;
|
|
878
|
+
options: FilterOption[];
|
|
879
|
+
title?: string;
|
|
880
|
+
};
|
|
881
|
+
declare function DataViewFilterGroup<T extends Record<string, any>>({ filterKey, options, title, }: DataViewFilterGroupProps<T>): React$1.JSX.Element;
|
|
882
|
+
|
|
883
|
+
type Props$4 = {
|
|
884
|
+
pageSizeOptions?: (number | "All")[];
|
|
885
|
+
shape?: Shape$1;
|
|
886
|
+
};
|
|
887
|
+
declare function DataViewPageSize({ pageSizeOptions, shape, }: Props$4): React$1.JSX.Element;
|
|
888
|
+
|
|
889
|
+
type Props$3 = {
|
|
890
|
+
shape?: Shape$1;
|
|
891
|
+
};
|
|
892
|
+
declare function DataViewPagination({ shape }: Props$3): React$1.JSX.Element | null;
|
|
893
|
+
|
|
894
|
+
declare const DataView: typeof DataViewProvider & {
|
|
895
|
+
Header: typeof DataViewHeader;
|
|
896
|
+
Sidebar: typeof DataViewSidebar;
|
|
897
|
+
Content: typeof DataViewContent;
|
|
898
|
+
Footer: typeof DataViewFooter;
|
|
899
|
+
Pagination: typeof DataViewPagination;
|
|
900
|
+
Search: typeof DataViewSearch;
|
|
901
|
+
Sort: typeof DataViewSort;
|
|
902
|
+
FilterGroup: typeof DataViewFilterGroup;
|
|
903
|
+
PageSize: typeof DataViewPageSize;
|
|
904
|
+
};
|
|
905
|
+
|
|
906
|
+
interface FlagProps extends BaseComponentProps {
|
|
907
|
+
code: string;
|
|
908
|
+
width?: number | string;
|
|
909
|
+
height?: number | string;
|
|
910
|
+
}
|
|
911
|
+
declare const Flag: ({ code, width, height, className, ...rest }: FlagProps) => React$1.JSX.Element;
|
|
912
|
+
|
|
913
|
+
type GraphLayoutType = "force" | "grid" | "tree" | (string & {});
|
|
914
|
+
interface GraphData {
|
|
915
|
+
nodes: GraphNodeType[];
|
|
916
|
+
edges: GraphEdgeType[];
|
|
917
|
+
}
|
|
918
|
+
interface GraphNodeType {
|
|
919
|
+
id: string;
|
|
920
|
+
label?: string;
|
|
921
|
+
type?: "default" | "avatar" | "custom";
|
|
922
|
+
data?: any;
|
|
923
|
+
x?: number;
|
|
924
|
+
y?: number;
|
|
925
|
+
vx?: number;
|
|
926
|
+
vy?: number;
|
|
927
|
+
fx?: number | null;
|
|
928
|
+
fy?: number | null;
|
|
929
|
+
size?: number;
|
|
930
|
+
color?: string;
|
|
931
|
+
}
|
|
932
|
+
interface GraphEdgeType {
|
|
933
|
+
id?: string;
|
|
934
|
+
from: string | GraphNodeType;
|
|
935
|
+
to: string | GraphNodeType;
|
|
936
|
+
weight?: string;
|
|
937
|
+
color?: string;
|
|
938
|
+
width?: number;
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
interface GraphProps extends BaseComponentProps {
|
|
942
|
+
data: GraphData;
|
|
943
|
+
layout?: string;
|
|
944
|
+
nodeRenderer?: (node: any) => React__default.ReactNode;
|
|
945
|
+
width?: number;
|
|
946
|
+
height?: number;
|
|
947
|
+
}
|
|
948
|
+
declare const Graph: ({ data, layout, nodeRenderer, width, height, className, ...rest }: GraphProps) => React__default.JSX.Element;
|
|
949
|
+
|
|
950
|
+
interface Props$2 {
|
|
951
|
+
edge: GraphEdgeType;
|
|
952
|
+
nodeMap: Map<string, GraphNodeType>;
|
|
953
|
+
}
|
|
954
|
+
declare const GraphEdge: React__default.FC<Props$2>;
|
|
955
|
+
|
|
956
|
+
interface Props$1 {
|
|
957
|
+
node: GraphNodeType;
|
|
958
|
+
renderCustom?: (node: GraphNodeType) => React__default.ReactNode;
|
|
959
|
+
}
|
|
960
|
+
declare const GraphNode: React__default.FC<Props$1>;
|
|
961
|
+
|
|
962
|
+
interface Props {
|
|
963
|
+
data: GraphData;
|
|
964
|
+
layout?: string;
|
|
965
|
+
nodeRenderer?: (node: GraphNodeType) => React__default.ReactNode;
|
|
966
|
+
width?: number;
|
|
967
|
+
height?: number;
|
|
968
|
+
}
|
|
969
|
+
declare const GraphRenderer: React__default.FC<Props>;
|
|
970
|
+
|
|
971
|
+
declare const createForceLayout: (nodes: GraphNodeType[], edges: GraphEdgeType[], width: number, height: number) => d3.Simulation<GraphNodeType, undefined>;
|
|
972
|
+
|
|
973
|
+
declare function createGridLayout(nodes: GraphNodeType[], width: number, height: number): {
|
|
974
|
+
x: number;
|
|
975
|
+
y: number;
|
|
976
|
+
id: string;
|
|
977
|
+
label?: string;
|
|
978
|
+
type?: "default" | "avatar" | "custom";
|
|
979
|
+
data?: any;
|
|
980
|
+
vx?: number;
|
|
981
|
+
vy?: number;
|
|
982
|
+
fx?: number | null;
|
|
983
|
+
fy?: number | null;
|
|
984
|
+
size?: number;
|
|
985
|
+
color?: string;
|
|
986
|
+
}[];
|
|
987
|
+
|
|
988
|
+
declare function createTreeLayout(nodes: GraphNodeType[], edges: GraphEdgeType[], width: number, height: number): GraphNodeType[];
|
|
989
|
+
|
|
990
|
+
interface LayoutContext {
|
|
991
|
+
nodes: GraphNodeType[];
|
|
992
|
+
edges: GraphEdgeType[];
|
|
993
|
+
width: number;
|
|
994
|
+
height: number;
|
|
995
|
+
onTick?: (nodes: GraphNodeType[]) => void;
|
|
996
|
+
}
|
|
997
|
+
type LayoutExecutor = (ctx: LayoutContext) => {
|
|
998
|
+
type: "static" | "simulation";
|
|
999
|
+
stop?: () => void;
|
|
1000
|
+
};
|
|
1001
|
+
declare const registerLayout: (type: GraphLayoutType, executor: LayoutExecutor) => void;
|
|
1002
|
+
declare const getLayout: (type: GraphLayoutType) => LayoutExecutor;
|
|
1003
|
+
|
|
932
1004
|
interface CloudinaryImageProps extends BaseComponentProps<HTMLImageElement> {
|
|
933
1005
|
publicId?: string;
|
|
934
1006
|
cloudName?: string;
|
|
@@ -937,7 +1009,7 @@ interface CloudinaryImageProps extends BaseComponentProps<HTMLImageElement> {
|
|
|
937
1009
|
fallbackSrc?: string;
|
|
938
1010
|
loading?: "lazy" | "eager";
|
|
939
1011
|
}
|
|
940
|
-
declare function CloudinaryImage({ publicId, cloudName, secure, alt, fallbackSrc, loading, className, ...rest }: CloudinaryImageProps):
|
|
1012
|
+
declare function CloudinaryImage({ publicId, cloudName, secure, alt, fallbackSrc, loading, className, ...rest }: CloudinaryImageProps): React$1.JSX.Element;
|
|
941
1013
|
|
|
942
1014
|
interface ImageProps extends BaseComponentProps {
|
|
943
1015
|
alt?: string;
|
|
@@ -945,7 +1017,7 @@ interface ImageProps extends BaseComponentProps {
|
|
|
945
1017
|
height?: number;
|
|
946
1018
|
width?: number;
|
|
947
1019
|
}
|
|
948
|
-
declare const Image: ({ alt, src, height, width, className, ...rest }: ImageProps) =>
|
|
1020
|
+
declare const Image: ({ alt, src, height, width, className, ...rest }: ImageProps) => React$1.JSX.Element;
|
|
949
1021
|
|
|
950
1022
|
interface InfoProps extends BaseComponentProps {
|
|
951
1023
|
variant?: Variant$1;
|
|
@@ -953,7 +1025,7 @@ interface InfoProps extends BaseComponentProps {
|
|
|
953
1025
|
shape?: Shape$1;
|
|
954
1026
|
children?: ReactNode;
|
|
955
1027
|
}
|
|
956
|
-
declare function Info({ children, variant, appearance, shape, className, ...rest }: InfoProps):
|
|
1028
|
+
declare function Info({ children, variant, appearance, shape, className, ...rest }: InfoProps): React$1.JSX.Element;
|
|
957
1029
|
|
|
958
1030
|
interface ListItemData {
|
|
959
1031
|
content: React__default.ReactNode;
|
|
@@ -972,7 +1044,7 @@ interface ListProps extends BaseComponentProps {
|
|
|
972
1044
|
wrap?: boolean;
|
|
973
1045
|
bulletType?: ListBulletType;
|
|
974
1046
|
}
|
|
975
|
-
declare function List({ title, items, direction, gap, columns, align, wrap, bulletType, className, ...rest }: ListProps):
|
|
1047
|
+
declare function List({ title, items, direction, gap, columns, align, wrap, bulletType, className, ...rest }: ListProps): React__default.JSX.Element;
|
|
976
1048
|
|
|
977
1049
|
interface ListItemProps {
|
|
978
1050
|
content: React__default.ReactNode;
|
|
@@ -983,7 +1055,7 @@ interface ListItemProps {
|
|
|
983
1055
|
align?: ListAlign;
|
|
984
1056
|
className?: string;
|
|
985
1057
|
}
|
|
986
|
-
declare const ListItem: ({ content, TypographyComponent, bulletType, renderBullet, index, align, className, }: ListItemProps) =>
|
|
1058
|
+
declare const ListItem: ({ content, TypographyComponent, bulletType, renderBullet, index, align, className, }: ListItemProps) => React__default.JSX.Element;
|
|
987
1059
|
|
|
988
1060
|
interface PriceTagProps extends BaseComponentProps {
|
|
989
1061
|
price: number;
|
|
@@ -998,7 +1070,7 @@ interface PriceTagProps extends BaseComponentProps {
|
|
|
998
1070
|
currencyAsSubscript?: boolean;
|
|
999
1071
|
showFreeLabel?: boolean;
|
|
1000
1072
|
}
|
|
1001
|
-
declare function PriceTag({ price, discount, code, variant, appearance, shape, size, decimals, showCurrencyCode, currencyAsSubscript, showFreeLabel, className, ...rest }: PriceTagProps):
|
|
1073
|
+
declare function PriceTag({ price, discount, code, variant, appearance, shape, size, decimals, showCurrencyCode, currencyAsSubscript, showFreeLabel, className, ...rest }: PriceTagProps): React$1.JSX.Element;
|
|
1002
1074
|
|
|
1003
1075
|
interface ProgressBarProps extends BaseComponentProps {
|
|
1004
1076
|
value: number;
|
|
@@ -1019,7 +1091,7 @@ interface ProgressBarProps extends BaseComponentProps {
|
|
|
1019
1091
|
trackClassName?: string;
|
|
1020
1092
|
barClassName?: string;
|
|
1021
1093
|
}
|
|
1022
|
-
declare function ProgressBar({ value, min, max, variant, appearance, size, shape, striped, animated, showLabel, label, labelPlacement, showPercentage, startContent, endContent, trackClassName, barClassName, className, ...rest }: ProgressBarProps):
|
|
1094
|
+
declare function ProgressBar({ value, min, max, variant, appearance, size, shape, striped, animated, showLabel, label, labelPlacement, showPercentage, startContent, endContent, trackClassName, barClassName, className, ...rest }: ProgressBarProps): React$1.JSX.Element;
|
|
1023
1095
|
|
|
1024
1096
|
interface NumericRatingProps extends BaseComponentProps {
|
|
1025
1097
|
rating: number;
|
|
@@ -1029,7 +1101,7 @@ interface NumericRatingProps extends BaseComponentProps {
|
|
|
1029
1101
|
showReviewCount?: boolean;
|
|
1030
1102
|
reviewLabel?: string;
|
|
1031
1103
|
}
|
|
1032
|
-
declare function NumericRating({ rating, totalReviews, size, showStars, showReviewCount, reviewLabel, className, ...rest }: NumericRatingProps):
|
|
1104
|
+
declare function NumericRating({ rating, totalReviews, size, showStars, showReviewCount, reviewLabel, className, ...rest }: NumericRatingProps): React$1.JSX.Element;
|
|
1033
1105
|
|
|
1034
1106
|
interface ProgressBarRatingProps extends BaseComponentProps {
|
|
1035
1107
|
star: number;
|
|
@@ -1041,7 +1113,7 @@ interface ProgressBarRatingProps extends BaseComponentProps {
|
|
|
1041
1113
|
animated?: boolean;
|
|
1042
1114
|
striped?: boolean;
|
|
1043
1115
|
}
|
|
1044
|
-
declare function ProgressBarRating({ star, percentage, variant, appearance, shape, size, animated, striped, className, ...rest }: ProgressBarRatingProps):
|
|
1116
|
+
declare function ProgressBarRating({ star, percentage, variant, appearance, shape, size, animated, striped, className, ...rest }: ProgressBarRatingProps): React$1.JSX.Element;
|
|
1045
1117
|
|
|
1046
1118
|
interface StarRatingProps extends BaseComponentProps {
|
|
1047
1119
|
rating: number;
|
|
@@ -1051,7 +1123,7 @@ interface StarRatingProps extends BaseComponentProps {
|
|
|
1051
1123
|
valuePosition?: "start" | "end";
|
|
1052
1124
|
iconClassName?: string;
|
|
1053
1125
|
}
|
|
1054
|
-
declare function StarRating({ rating, max, size, showValue, valuePosition, iconClassName, className, ...rest }: StarRatingProps):
|
|
1126
|
+
declare function StarRating({ rating, max, size, showValue, valuePosition, iconClassName, className, ...rest }: StarRatingProps): React$1.JSX.Element;
|
|
1055
1127
|
|
|
1056
1128
|
interface SpinnerProps extends BaseComponentProps {
|
|
1057
1129
|
/**
|
|
@@ -1108,7 +1180,7 @@ interface SpinnerProps extends BaseComponentProps {
|
|
|
1108
1180
|
ariaLabel?: string;
|
|
1109
1181
|
}
|
|
1110
1182
|
|
|
1111
|
-
declare function Spinner({ type, variant, size, label, showLabel, centered, fullscreen, overlay, backdrop, direction, className, spinnerClassName, labelClassName, ariaLabel, ...rest }: SpinnerProps):
|
|
1183
|
+
declare function Spinner({ type, variant, size, label, showLabel, centered, fullscreen, overlay, backdrop, direction, className, spinnerClassName, labelClassName, ariaLabel, ...rest }: SpinnerProps): React$1.JSX.Element;
|
|
1112
1184
|
|
|
1113
1185
|
interface TableColumnConfig<T> {
|
|
1114
1186
|
key: keyof T | string;
|
|
@@ -1122,12 +1194,12 @@ interface TableProps<T> {
|
|
|
1122
1194
|
data: T[];
|
|
1123
1195
|
shape?: Shape$1;
|
|
1124
1196
|
}
|
|
1125
|
-
declare function Table<T extends Record<string, any>>({ title, columns, data, shape, }: TableProps<T>):
|
|
1197
|
+
declare function Table<T extends Record<string, any>>({ title, columns, data, shape, }: TableProps<T>): React$1.JSX.Element;
|
|
1126
1198
|
|
|
1127
1199
|
interface TagProps extends BaseComponentProps {
|
|
1128
1200
|
text: string;
|
|
1129
1201
|
}
|
|
1130
|
-
declare function Tag({ text, className, ...rest }: TagProps):
|
|
1202
|
+
declare function Tag({ text, className, ...rest }: TagProps): React$1.JSX.Element;
|
|
1131
1203
|
|
|
1132
1204
|
interface TooltipProps extends BaseComponentProps {
|
|
1133
1205
|
children: ReactNode;
|
|
@@ -1135,7 +1207,7 @@ interface TooltipProps extends BaseComponentProps {
|
|
|
1135
1207
|
offsetX?: number;
|
|
1136
1208
|
offsetY?: number;
|
|
1137
1209
|
}
|
|
1138
|
-
declare function Tooltip({ children, show, offsetX, offsetY, className, ...rest }: TooltipProps):
|
|
1210
|
+
declare function Tooltip({ children, show, offsetX, offsetY, className, ...rest }: TooltipProps): React$1.JSX.Element | null;
|
|
1139
1211
|
|
|
1140
1212
|
interface TypographyProps extends BaseComponentProps {
|
|
1141
1213
|
children?: ReactNode;
|
|
@@ -1149,37 +1221,37 @@ interface TypographyProps extends BaseComponentProps {
|
|
|
1149
1221
|
interface DisplayProps extends TypographyProps {
|
|
1150
1222
|
level?: 1 | 2 | 3;
|
|
1151
1223
|
}
|
|
1152
|
-
declare const Display: ({ level, children, variant, decoration, bold, italic, className, ...rest }: DisplayProps) =>
|
|
1224
|
+
declare const Display: ({ level, children, variant, decoration, bold, italic, className, ...rest }: DisplayProps) => React$1.JSX.Element;
|
|
1153
1225
|
|
|
1154
|
-
declare const Chapter: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) =>
|
|
1226
|
+
declare const Chapter: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => React$1.JSX.Element;
|
|
1155
1227
|
|
|
1156
|
-
declare const Section: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) =>
|
|
1228
|
+
declare const Section: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => React$1.JSX.Element;
|
|
1157
1229
|
|
|
1158
|
-
declare const Paragraph: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) =>
|
|
1230
|
+
declare const Paragraph: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => React$1.JSX.Element;
|
|
1159
1231
|
|
|
1160
|
-
declare const Quote: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) =>
|
|
1232
|
+
declare const Quote: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => React$1.JSX.Element;
|
|
1161
1233
|
|
|
1162
|
-
declare const Caption: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) =>
|
|
1234
|
+
declare const Caption: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => React$1.JSX.Element;
|
|
1163
1235
|
|
|
1164
|
-
declare const Label: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) =>
|
|
1236
|
+
declare const Label: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => React$1.JSX.Element;
|
|
1165
1237
|
|
|
1166
|
-
declare const Code: ({ children, className, ...rest }: TypographyProps) =>
|
|
1238
|
+
declare const Code: ({ children, className, ...rest }: TypographyProps) => React$1.JSX.Element;
|
|
1167
1239
|
|
|
1168
|
-
declare const Lead: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) =>
|
|
1240
|
+
declare const Lead: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => React$1.JSX.Element;
|
|
1169
1241
|
|
|
1170
|
-
declare const Overline: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) =>
|
|
1242
|
+
declare const Overline: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => React$1.JSX.Element;
|
|
1171
1243
|
|
|
1172
1244
|
declare const Typography: {
|
|
1173
|
-
Display: ({ level, children, variant, decoration, bold, italic, className, ...rest }: DisplayProps) =>
|
|
1174
|
-
Chapter: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) =>
|
|
1175
|
-
Section: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) =>
|
|
1176
|
-
Paragraph: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) =>
|
|
1177
|
-
Quote: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) =>
|
|
1178
|
-
Lead: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) =>
|
|
1179
|
-
Caption: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) =>
|
|
1180
|
-
Label: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) =>
|
|
1181
|
-
Code: ({ children, className, ...rest }: TypographyProps) =>
|
|
1182
|
-
Overline: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) =>
|
|
1245
|
+
Display: ({ level, children, variant, decoration, bold, italic, className, ...rest }: DisplayProps) => React$1.JSX.Element;
|
|
1246
|
+
Chapter: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => React$1.JSX.Element;
|
|
1247
|
+
Section: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => React$1.JSX.Element;
|
|
1248
|
+
Paragraph: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => React$1.JSX.Element;
|
|
1249
|
+
Quote: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => React$1.JSX.Element;
|
|
1250
|
+
Lead: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => React$1.JSX.Element;
|
|
1251
|
+
Caption: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => React$1.JSX.Element;
|
|
1252
|
+
Label: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => React$1.JSX.Element;
|
|
1253
|
+
Code: ({ children, className, ...rest }: TypographyProps) => React$1.JSX.Element;
|
|
1254
|
+
Overline: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => React$1.JSX.Element;
|
|
1183
1255
|
};
|
|
1184
1256
|
|
|
1185
1257
|
interface Tier {
|
|
@@ -1198,7 +1270,7 @@ interface ValueBadgeProps {
|
|
|
1198
1270
|
className?: string;
|
|
1199
1271
|
noBackground?: boolean;
|
|
1200
1272
|
}
|
|
1201
|
-
declare const ValueBadge: ({ value, tiers, lowerBound, upperBound, formatValue, className, noBackground, }: ValueBadgeProps) =>
|
|
1273
|
+
declare const ValueBadge: ({ value, tiers, lowerBound, upperBound, formatValue, className, noBackground, }: ValueBadgeProps) => React$1.JSX.Element;
|
|
1202
1274
|
|
|
1203
1275
|
interface CloudinaryVideoProps extends BaseComponentProps<HTMLVideoElement> {
|
|
1204
1276
|
publicId?: string;
|
|
@@ -1212,7 +1284,7 @@ interface CloudinaryVideoProps extends BaseComponentProps<HTMLVideoElement> {
|
|
|
1212
1284
|
poster?: string;
|
|
1213
1285
|
preload?: "none" | "metadata" | "auto";
|
|
1214
1286
|
}
|
|
1215
|
-
declare function CloudinaryVideo({ publicId, cloudName, secure, controls, autoPlay, muted, loop, playsInline, poster, preload, className, ...rest }: CloudinaryVideoProps):
|
|
1287
|
+
declare function CloudinaryVideo({ publicId, cloudName, secure, controls, autoPlay, muted, loop, playsInline, poster, preload, className, ...rest }: CloudinaryVideoProps): React$1.JSX.Element;
|
|
1216
1288
|
|
|
1217
1289
|
interface YoutubeVideoProps extends BaseComponentProps<HTMLIFrameElement> {
|
|
1218
1290
|
videoUrl: string;
|
|
@@ -1224,7 +1296,7 @@ interface YoutubeVideoProps extends BaseComponentProps<HTMLIFrameElement> {
|
|
|
1224
1296
|
loop?: boolean;
|
|
1225
1297
|
privacyMode?: boolean;
|
|
1226
1298
|
}
|
|
1227
|
-
declare function YoutubeVideo({ videoUrl, width, height, autoPlay, muted, controls, className, ...rest }: YoutubeVideoProps):
|
|
1299
|
+
declare function YoutubeVideo({ videoUrl, width, height, autoPlay, muted, controls, className, ...rest }: YoutubeVideoProps): React$1.JSX.Element;
|
|
1228
1300
|
|
|
1229
1301
|
interface WorldMapPoint {
|
|
1230
1302
|
code: string;
|
|
@@ -1240,7 +1312,7 @@ interface WorldMapProps extends BaseComponentProps {
|
|
|
1240
1312
|
disableCountryHover?: boolean;
|
|
1241
1313
|
disableCountrySelect?: boolean;
|
|
1242
1314
|
}
|
|
1243
|
-
declare function WorldMap({ data, title, bubbleColor, bubbleStroke, bubbleScale, minBubble, disableCountryHover, disableCountrySelect, className, ...rest }: WorldMapProps):
|
|
1315
|
+
declare function WorldMap({ data, title, bubbleColor, bubbleStroke, bubbleScale, minBubble, disableCountryHover, disableCountrySelect, className, ...rest }: WorldMapProps): React__default.JSX.Element;
|
|
1244
1316
|
|
|
1245
1317
|
interface ButtonProps extends BaseComponentProps<HTMLButtonElement> {
|
|
1246
1318
|
type?: "button" | "submit" | "reset";
|
|
@@ -1255,7 +1327,7 @@ interface ButtonProps extends BaseComponentProps<HTMLButtonElement> {
|
|
|
1255
1327
|
shape?: Shape$1;
|
|
1256
1328
|
size?: Size$1;
|
|
1257
1329
|
}
|
|
1258
|
-
declare function Button({ type, icon, text, children, loading, disabled, block, variant, appearance, shape, size, className, onMouseMove, ...rest }: ButtonProps):
|
|
1330
|
+
declare function Button({ type, icon, text, children, loading, disabled, block, variant, appearance, shape, size, className, onMouseMove, ...rest }: ButtonProps): React$1.JSX.Element;
|
|
1259
1331
|
|
|
1260
1332
|
interface CheckboxOption {
|
|
1261
1333
|
label: string;
|
|
@@ -1273,7 +1345,7 @@ interface MultiCheckboxProps extends BaseCheckboxProps {
|
|
|
1273
1345
|
options: CheckboxOption[];
|
|
1274
1346
|
}
|
|
1275
1347
|
type CheckboxProps = (SingleCheckboxProps & FieldHookConfig<boolean>) | (MultiCheckboxProps & FieldHookConfig<string[]>);
|
|
1276
|
-
declare function Checkbox({ placeholder, variant, shape, className, ...props }: CheckboxProps):
|
|
1348
|
+
declare function Checkbox({ placeholder, variant, shape, className, ...props }: CheckboxProps): React$1.JSX.Element;
|
|
1277
1349
|
|
|
1278
1350
|
declare enum Variant {
|
|
1279
1351
|
default = "default",
|
|
@@ -1322,6 +1394,22 @@ declare enum Target {
|
|
|
1322
1394
|
parent = "parent",
|
|
1323
1395
|
top = "top"
|
|
1324
1396
|
}
|
|
1397
|
+
declare enum ToastPosition {
|
|
1398
|
+
topLeft = "top-left",
|
|
1399
|
+
topCenter = "top-center",
|
|
1400
|
+
topRight = "top-right",
|
|
1401
|
+
bottomLeft = "bottom-left",
|
|
1402
|
+
bottomCenter = "bottom-center",
|
|
1403
|
+
bottomRight = "bottom-right"
|
|
1404
|
+
}
|
|
1405
|
+
declare enum ToastStatus {
|
|
1406
|
+
default = "default",
|
|
1407
|
+
success = "success",
|
|
1408
|
+
warning = "warning",
|
|
1409
|
+
error = "error",
|
|
1410
|
+
danger = "danger",
|
|
1411
|
+
info = "info"
|
|
1412
|
+
}
|
|
1325
1413
|
|
|
1326
1414
|
type DateSelectorProps = FieldHookConfig<string> & {
|
|
1327
1415
|
name: string;
|
|
@@ -1329,7 +1417,7 @@ type DateSelectorProps = FieldHookConfig<string> & {
|
|
|
1329
1417
|
styles?: string;
|
|
1330
1418
|
shape?: keyof typeof Shape;
|
|
1331
1419
|
};
|
|
1332
|
-
declare const DateSelector: ({ placeholder, styles, shape, ...props }: DateSelectorProps) =>
|
|
1420
|
+
declare const DateSelector: ({ placeholder, styles, shape, ...props }: DateSelectorProps) => React__default.JSX.Element;
|
|
1333
1421
|
|
|
1334
1422
|
interface FormProps {
|
|
1335
1423
|
initialValues?: Record<string, any>;
|
|
@@ -1344,7 +1432,7 @@ interface FormProps {
|
|
|
1344
1432
|
warnOnUnsavedChanges?: boolean;
|
|
1345
1433
|
onDirtyChange?: (dirty: boolean) => void;
|
|
1346
1434
|
}
|
|
1347
|
-
declare const Form: ({ initialValues, validationSchema, enableReinitialize, children, styles, onSubmit, onChange, warnOnUnsavedChanges, onDirtyChange, }: FormProps) =>
|
|
1435
|
+
declare const Form: ({ initialValues, validationSchema, enableReinitialize, children, styles, onSubmit, onChange, warnOnUnsavedChanges, onDirtyChange, }: FormProps) => React__default.JSX.Element;
|
|
1348
1436
|
|
|
1349
1437
|
interface FormResponseProps {
|
|
1350
1438
|
text: string | undefined;
|
|
@@ -1353,7 +1441,7 @@ interface FormResponseProps {
|
|
|
1353
1441
|
size?: keyof typeof Size;
|
|
1354
1442
|
styles?: string;
|
|
1355
1443
|
}
|
|
1356
|
-
declare function FormResponse({ text, variant, shape, size, styles, }: FormResponseProps):
|
|
1444
|
+
declare function FormResponse({ text, variant, shape, size, styles, }: FormResponseProps): React__default.JSX.Element;
|
|
1357
1445
|
|
|
1358
1446
|
interface ImageInputProps {
|
|
1359
1447
|
title?: string;
|
|
@@ -1374,35 +1462,37 @@ type InputProps = FieldHookConfig<string> & {
|
|
|
1374
1462
|
step?: string;
|
|
1375
1463
|
shape?: keyof typeof Shape;
|
|
1376
1464
|
};
|
|
1377
|
-
declare const Input: ({ type, placeholder, styles, step, shape, ...props }: InputProps) =>
|
|
1465
|
+
declare const Input: ({ type, placeholder, styles, step, shape, ...props }: InputProps) => React__default.JSX.Element;
|
|
1378
1466
|
|
|
1379
1467
|
interface InputFileProps {
|
|
1380
1468
|
placeholder: string;
|
|
1381
1469
|
accept?: string;
|
|
1382
1470
|
styles?: string;
|
|
1383
1471
|
}
|
|
1384
|
-
declare const InputFile: ({ placeholder, accept, styles, ...props }: FieldHookConfig<File | null> & InputFileProps) =>
|
|
1472
|
+
declare const InputFile: ({ placeholder, accept, styles, ...props }: FieldHookConfig<File | null> & InputFileProps) => React__default.JSX.Element;
|
|
1385
1473
|
|
|
1386
1474
|
interface FormDataEntryLabelProps {
|
|
1387
1475
|
text?: string;
|
|
1388
1476
|
children?: React__default.ReactNode;
|
|
1389
1477
|
styles?: string;
|
|
1390
1478
|
}
|
|
1391
|
-
declare function InputLabel({ text, children, styles }: FormDataEntryLabelProps):
|
|
1479
|
+
declare function InputLabel({ text, children, styles }: FormDataEntryLabelProps): React__default.JSX.Element;
|
|
1392
1480
|
|
|
1481
|
+
type ShapeInput$1 = Shape | "circle" | "roundedSquare" | "softRoundedSquare" | "square";
|
|
1393
1482
|
interface InputListProps {
|
|
1394
1483
|
name: string;
|
|
1395
1484
|
placeholder?: string;
|
|
1396
|
-
shape?:
|
|
1485
|
+
shape?: ShapeInput$1;
|
|
1397
1486
|
}
|
|
1398
|
-
declare const InputList: ({ name, placeholder, shape }: InputListProps) =>
|
|
1487
|
+
declare const InputList: ({ name, placeholder, shape }: InputListProps) => React__default.JSX.Element;
|
|
1399
1488
|
|
|
1489
|
+
type ShapeInput = Shape | "circle" | "roundedSquare" | "softRoundedSquare" | "square";
|
|
1400
1490
|
interface InputListGroupProps {
|
|
1401
1491
|
name: string;
|
|
1402
1492
|
placeholder?: string;
|
|
1403
|
-
shape?:
|
|
1493
|
+
shape?: ShapeInput;
|
|
1404
1494
|
}
|
|
1405
|
-
declare const InputListGroup: ({ name, placeholder, shape, }: InputListGroupProps) =>
|
|
1495
|
+
declare const InputListGroup: ({ name, placeholder, shape, }: InputListGroupProps) => React__default.JSX.Element;
|
|
1406
1496
|
|
|
1407
1497
|
interface InputResponseProps {
|
|
1408
1498
|
name: string;
|
|
@@ -1410,26 +1500,26 @@ interface InputResponseProps {
|
|
|
1410
1500
|
variant?: keyof typeof TextVariant;
|
|
1411
1501
|
styles?: string;
|
|
1412
1502
|
}
|
|
1413
|
-
declare function InputResponse({ name, visibility, variant, styles, }: InputResponseProps):
|
|
1503
|
+
declare function InputResponse({ name, visibility, variant, styles, }: InputResponseProps): React__default.JSX.Element;
|
|
1414
1504
|
|
|
1415
1505
|
interface MultiImageInputProps {
|
|
1416
1506
|
title?: string;
|
|
1417
1507
|
uploadDir?: string;
|
|
1418
1508
|
name: string;
|
|
1419
1509
|
}
|
|
1420
|
-
declare function MultiImageInput({ title, uploadDir, ...props }: FieldHookConfig<string[]> & MultiImageInputProps):
|
|
1510
|
+
declare function MultiImageInput({ title, uploadDir, ...props }: FieldHookConfig<string[]> & MultiImageInputProps): React__default.JSX.Element;
|
|
1421
1511
|
|
|
1422
1512
|
interface RadioProps {
|
|
1423
1513
|
placeholder: string;
|
|
1424
1514
|
options: any[];
|
|
1425
1515
|
}
|
|
1426
|
-
declare function Radio({ placeholder, options, ...props }: FieldHookConfig<string> & RadioProps):
|
|
1516
|
+
declare function Radio({ placeholder, options, ...props }: FieldHookConfig<string> & RadioProps): React__default.JSX.Element;
|
|
1427
1517
|
|
|
1428
1518
|
interface StarRatingInputProps {
|
|
1429
1519
|
starAmount?: number;
|
|
1430
1520
|
styles?: string;
|
|
1431
1521
|
}
|
|
1432
|
-
declare function StarRatingInput({ starAmount, styles, ...props }: FieldHookConfig<string> & StarRatingInputProps):
|
|
1522
|
+
declare function StarRatingInput({ starAmount, styles, ...props }: FieldHookConfig<string> & StarRatingInputProps): React__default.JSX.Element;
|
|
1433
1523
|
|
|
1434
1524
|
type SelectProps = FieldHookConfig<string> & {
|
|
1435
1525
|
name: string;
|
|
@@ -1438,7 +1528,7 @@ type SelectProps = FieldHookConfig<string> & {
|
|
|
1438
1528
|
styles?: string;
|
|
1439
1529
|
shape?: keyof typeof Shape;
|
|
1440
1530
|
};
|
|
1441
|
-
declare function Select({ placeholder, options, styles, shape, ...props }: SelectProps):
|
|
1531
|
+
declare function Select({ placeholder, options, styles, shape, ...props }: SelectProps): React__default.JSX.Element;
|
|
1442
1532
|
|
|
1443
1533
|
interface SwitchProps {
|
|
1444
1534
|
name: string;
|
|
@@ -1446,14 +1536,14 @@ interface SwitchProps {
|
|
|
1446
1536
|
description?: string;
|
|
1447
1537
|
showStatus?: boolean;
|
|
1448
1538
|
}
|
|
1449
|
-
declare function Switch({ label, description, showStatus, ...props }: FieldHookConfig<boolean> & SwitchProps):
|
|
1539
|
+
declare function Switch({ label, description, showStatus, ...props }: FieldHookConfig<boolean> & SwitchProps): React__default.JSX.Element;
|
|
1450
1540
|
|
|
1451
1541
|
interface TagsProps {
|
|
1452
1542
|
placeholder: string;
|
|
1453
1543
|
styles?: string;
|
|
1454
1544
|
limit?: number;
|
|
1455
1545
|
}
|
|
1456
|
-
declare function Tags({ placeholder, styles, limit, ...props }: TagsProps & FieldHookConfig<string[]>):
|
|
1546
|
+
declare function Tags({ placeholder, styles, limit, ...props }: TagsProps & FieldHookConfig<string[]>): React__default.JSX.Element;
|
|
1457
1547
|
|
|
1458
1548
|
type TextAreaProps = FieldHookConfig<string> & {
|
|
1459
1549
|
name: string;
|
|
@@ -1462,7 +1552,7 @@ type TextAreaProps = FieldHookConfig<string> & {
|
|
|
1462
1552
|
styles?: string;
|
|
1463
1553
|
shape?: keyof typeof Shape;
|
|
1464
1554
|
};
|
|
1465
|
-
declare function TextArea({ placeholder, limit, styles, shape, ...props }: TextAreaProps):
|
|
1555
|
+
declare function TextArea({ placeholder, limit, styles, shape, ...props }: TextAreaProps): React__default.JSX.Element;
|
|
1466
1556
|
|
|
1467
1557
|
interface EUIComponentDefaults {
|
|
1468
1558
|
variant?: keyof typeof Variant;
|
|
@@ -1486,7 +1576,7 @@ interface EUIContextValue {
|
|
|
1486
1576
|
declare const EUIProvider: ({ config, children, }: {
|
|
1487
1577
|
config: EUIConfigs;
|
|
1488
1578
|
children: React__default.ReactNode;
|
|
1489
|
-
}) =>
|
|
1579
|
+
}) => React__default.JSX.Element;
|
|
1490
1580
|
declare const useEUIConfig: () => EUIContextValue;
|
|
1491
1581
|
|
|
1492
1582
|
declare function resolveWithGlobal<T>(config: EUIConfigs | null, props: T, defaults: Partial<T>): T;
|
|
@@ -1495,30 +1585,68 @@ interface BackdropProps {
|
|
|
1495
1585
|
children?: React__default.ReactNode;
|
|
1496
1586
|
styles?: string;
|
|
1497
1587
|
}
|
|
1498
|
-
declare const Backdrop: ({ children, styles }: BackdropProps) =>
|
|
1588
|
+
declare const Backdrop: ({ children, styles }: BackdropProps) => React__default.JSX.Element;
|
|
1499
1589
|
|
|
1500
1590
|
interface SkeletonProps extends BaseComponentProps {
|
|
1501
1591
|
children?: React__default.ReactNode;
|
|
1502
1592
|
}
|
|
1503
|
-
declare const Skeleton: ({ children, className, ...rest }: SkeletonProps) =>
|
|
1593
|
+
declare const Skeleton: ({ children, className, ...rest }: SkeletonProps) => React__default.JSX.Element;
|
|
1504
1594
|
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1595
|
+
type NormalizedToastStatus = ToastStatus.default | ToastStatus.success | ToastStatus.warning | ToastStatus.error | ToastStatus.info;
|
|
1596
|
+
interface SendToastOptions {
|
|
1597
|
+
id?: string;
|
|
1598
|
+
status?: ToastStatus | "";
|
|
1599
|
+
title?: ReactNode;
|
|
1600
|
+
message?: ReactNode;
|
|
1601
|
+
duration?: number | false;
|
|
1602
|
+
dismissible?: boolean;
|
|
1603
|
+
icon?: ReactNode;
|
|
1604
|
+
className?: string;
|
|
1605
|
+
}
|
|
1606
|
+
interface ToastItemData {
|
|
1607
|
+
id: string;
|
|
1608
|
+
status: NormalizedToastStatus;
|
|
1609
|
+
title?: ReactNode;
|
|
1610
|
+
message?: ReactNode;
|
|
1611
|
+
duration?: number | false;
|
|
1612
|
+
dismissible?: boolean;
|
|
1613
|
+
icon?: ReactNode;
|
|
1614
|
+
className?: string;
|
|
1615
|
+
}
|
|
1616
|
+
interface ToastProps extends BaseComponentProps {
|
|
1617
|
+
position?: ToastPosition;
|
|
1618
|
+
autoClose?: number | false;
|
|
1619
|
+
maxToasts?: number;
|
|
1620
|
+
hideProgressBar?: boolean;
|
|
1621
|
+
newestOnTop?: boolean;
|
|
1622
|
+
closeOnClick?: boolean;
|
|
1623
|
+
pauseOnHover?: boolean;
|
|
1624
|
+
shape?: Shape;
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1627
|
+
declare const Toast: ({ position, autoClose, maxToasts, hideProgressBar, newestOnTop, closeOnClick, pauseOnHover, shape, className, ...rest }: ToastProps) => React__default.JSX.Element | null;
|
|
1628
|
+
declare const euiToast: {
|
|
1629
|
+
show(options: SendToastOptions): string;
|
|
1630
|
+
success(message: SendToastOptions["message"], options?: SendToastOptions): string;
|
|
1631
|
+
warning(message: SendToastOptions["message"], options?: SendToastOptions): string;
|
|
1632
|
+
error(message: SendToastOptions["message"], options?: SendToastOptions): string;
|
|
1633
|
+
info(message: SendToastOptions["message"], options?: SendToastOptions): string;
|
|
1634
|
+
remove(id: string): void;
|
|
1635
|
+
clear(): void;
|
|
1636
|
+
};
|
|
1637
|
+
declare function sendToast(data?: SendToastOptions): string;
|
|
1510
1638
|
|
|
1511
1639
|
interface TransitionDropdownProps$1 {
|
|
1512
1640
|
visibility: any;
|
|
1513
1641
|
children?: ReactNode;
|
|
1514
1642
|
}
|
|
1515
|
-
declare function TransitionDropdown({ visibility, children }: TransitionDropdownProps$1):
|
|
1643
|
+
declare function TransitionDropdown({ visibility, children }: TransitionDropdownProps$1): React__default.JSX.Element;
|
|
1516
1644
|
|
|
1517
1645
|
interface TransitionDropdownProps {
|
|
1518
1646
|
visibility: any;
|
|
1519
1647
|
children?: ReactNode;
|
|
1520
1648
|
}
|
|
1521
|
-
declare function TransitionFadeIn({ visibility, children }: TransitionDropdownProps):
|
|
1649
|
+
declare function TransitionFadeIn({ visibility, children }: TransitionDropdownProps): React__default.JSX.Element;
|
|
1522
1650
|
|
|
1523
1651
|
declare const Transition: {
|
|
1524
1652
|
TransitionDropdown: typeof TransitionDropdown;
|
|
@@ -1530,21 +1658,21 @@ interface ContentAreaProps {
|
|
|
1530
1658
|
styles?: string;
|
|
1531
1659
|
enablePadding?: boolean;
|
|
1532
1660
|
}
|
|
1533
|
-
declare function ContentArea({ children, styles, enablePadding, }: ContentAreaProps):
|
|
1661
|
+
declare function ContentArea({ children, styles, enablePadding, }: ContentAreaProps): React__default.JSX.Element;
|
|
1534
1662
|
|
|
1535
1663
|
interface FlexColProps$1 {
|
|
1536
1664
|
children?: React__default.ReactNode;
|
|
1537
1665
|
gap?: number;
|
|
1538
1666
|
styles?: string;
|
|
1539
1667
|
}
|
|
1540
|
-
declare function FlexCol({ children, gap, styles }: FlexColProps$1):
|
|
1668
|
+
declare function FlexCol({ children, gap, styles }: FlexColProps$1): React__default.JSX.Element;
|
|
1541
1669
|
|
|
1542
1670
|
interface FlexColProps {
|
|
1543
1671
|
children?: React__default.ReactNode;
|
|
1544
1672
|
gap?: number;
|
|
1545
1673
|
styles?: string;
|
|
1546
1674
|
}
|
|
1547
|
-
declare function FlexRow({ children, gap, styles }: FlexColProps):
|
|
1675
|
+
declare function FlexRow({ children, gap, styles }: FlexColProps): React__default.JSX.Element;
|
|
1548
1676
|
|
|
1549
1677
|
declare const Flex: {
|
|
1550
1678
|
FlexCol: typeof FlexCol;
|
|
@@ -1555,21 +1683,21 @@ interface GridProps {
|
|
|
1555
1683
|
children?: React__default.ReactNode;
|
|
1556
1684
|
styles?: string;
|
|
1557
1685
|
}
|
|
1558
|
-
declare function Grid({ children, styles }: GridProps):
|
|
1686
|
+
declare function Grid({ children, styles }: GridProps): React__default.JSX.Element;
|
|
1559
1687
|
|
|
1560
1688
|
interface LayoutProps {
|
|
1561
1689
|
flexDirection?: "vertical" | "horizontal";
|
|
1562
1690
|
children?: React__default.ReactNode;
|
|
1563
1691
|
styles?: string;
|
|
1564
1692
|
}
|
|
1565
|
-
declare const Layout: ({ flexDirection, children, styles, }: LayoutProps) =>
|
|
1693
|
+
declare const Layout: ({ flexDirection, children, styles, }: LayoutProps) => React__default.JSX.Element;
|
|
1566
1694
|
|
|
1567
1695
|
interface HeaderProps {
|
|
1568
1696
|
position?: "static" | "fixed" | "sticky";
|
|
1569
1697
|
children?: React__default.ReactNode;
|
|
1570
1698
|
styles?: string;
|
|
1571
1699
|
}
|
|
1572
|
-
declare const Header: ({ position, children, styles, }: HeaderProps) =>
|
|
1700
|
+
declare const Header: ({ position, children, styles, }: HeaderProps) => React__default.JSX.Element;
|
|
1573
1701
|
|
|
1574
1702
|
interface ContentProps {
|
|
1575
1703
|
children?: React__default.ReactNode;
|
|
@@ -1577,13 +1705,13 @@ interface ContentProps {
|
|
|
1577
1705
|
sidebarVisible?: boolean;
|
|
1578
1706
|
styles?: string;
|
|
1579
1707
|
}
|
|
1580
|
-
declare const Content: ({ sidebarVisible, overlayedSidebar, children, styles, }: ContentProps) =>
|
|
1708
|
+
declare const Content: ({ sidebarVisible, overlayedSidebar, children, styles, }: ContentProps) => React__default.JSX.Element;
|
|
1581
1709
|
|
|
1582
1710
|
interface FooterProps {
|
|
1583
1711
|
children?: React__default.ReactNode;
|
|
1584
1712
|
styles?: string;
|
|
1585
1713
|
}
|
|
1586
|
-
declare const Footer: ({ children, styles }: FooterProps) =>
|
|
1714
|
+
declare const Footer: ({ children, styles }: FooterProps) => React__default.JSX.Element;
|
|
1587
1715
|
|
|
1588
1716
|
interface BlockProps extends BaseComponentProps {
|
|
1589
1717
|
title?: string;
|
|
@@ -1593,7 +1721,7 @@ interface BlockProps extends BaseComponentProps {
|
|
|
1593
1721
|
labelWidth?: string;
|
|
1594
1722
|
children: React__default.ReactNode;
|
|
1595
1723
|
}
|
|
1596
|
-
declare function Block({ title, description, required, layout, labelWidth, children, className, ...rest }: BlockProps):
|
|
1724
|
+
declare function Block({ title, description, required, layout, labelWidth, children, className, ...rest }: BlockProps): React__default.JSX.Element;
|
|
1597
1725
|
|
|
1598
1726
|
interface BlockGroupProps extends BaseComponentProps {
|
|
1599
1727
|
title?: string;
|
|
@@ -1601,29 +1729,29 @@ interface BlockGroupProps extends BaseComponentProps {
|
|
|
1601
1729
|
children: React__default.ReactNode;
|
|
1602
1730
|
noDivider?: boolean;
|
|
1603
1731
|
}
|
|
1604
|
-
declare function BlockGroup({ title, description, children, noDivider, className, ...rest }: BlockGroupProps):
|
|
1732
|
+
declare function BlockGroup({ title, description, children, noDivider, className, ...rest }: BlockGroupProps): React__default.JSX.Element;
|
|
1605
1733
|
|
|
1606
1734
|
interface MarkdownEditorProps {
|
|
1607
1735
|
placeholder?: string;
|
|
1608
1736
|
styles?: string;
|
|
1609
1737
|
}
|
|
1610
|
-
declare function MarkdownEditor({ styles, ...props }: MarkdownEditorProps & FieldHookConfig<string>):
|
|
1738
|
+
declare function MarkdownEditor({ styles, ...props }: MarkdownEditorProps & FieldHookConfig<string>): React__default.JSX.Element;
|
|
1611
1739
|
|
|
1612
1740
|
interface MarkdownTOCProps {
|
|
1613
1741
|
title?: string;
|
|
1614
1742
|
}
|
|
1615
|
-
declare function MarkdownTOC({ title }: MarkdownTOCProps):
|
|
1743
|
+
declare function MarkdownTOC({ title }: MarkdownTOCProps): React$1.JSX.Element | null;
|
|
1616
1744
|
|
|
1617
1745
|
interface MarkdownViewerProps {
|
|
1618
1746
|
value?: string;
|
|
1619
1747
|
}
|
|
1620
|
-
declare function MarkdownViewer({ value }: MarkdownViewerProps):
|
|
1748
|
+
declare function MarkdownViewer({ value }: MarkdownViewerProps): React$1.JSX.Element;
|
|
1621
1749
|
|
|
1622
1750
|
interface MarkdownProviderProps {
|
|
1623
1751
|
markdown: string;
|
|
1624
1752
|
children: React__default.ReactNode;
|
|
1625
1753
|
}
|
|
1626
|
-
declare function MarkdownProvider({ markdown, children }: MarkdownProviderProps):
|
|
1754
|
+
declare function MarkdownProvider({ markdown, children }: MarkdownProviderProps): React__default.JSX.Element;
|
|
1627
1755
|
|
|
1628
1756
|
interface I_ItemType {
|
|
1629
1757
|
title: string;
|
|
@@ -1642,7 +1770,7 @@ interface BreadcrumbProps {
|
|
|
1642
1770
|
navigate?: (path: string) => void;
|
|
1643
1771
|
styles?: string;
|
|
1644
1772
|
}
|
|
1645
|
-
declare const Breadcrumb: ({ gap, seperator, data, routes, currentPath, navigate, styles, }: BreadcrumbProps) =>
|
|
1773
|
+
declare const Breadcrumb: ({ gap, seperator, data, routes, currentPath, navigate, styles, }: BreadcrumbProps) => React__default.JSX.Element;
|
|
1646
1774
|
|
|
1647
1775
|
interface BreadcrumbItemProps {
|
|
1648
1776
|
title: string;
|
|
@@ -1650,7 +1778,7 @@ interface BreadcrumbItemProps {
|
|
|
1650
1778
|
active: boolean;
|
|
1651
1779
|
onClick?: (e: React__default.MouseEvent<HTMLAnchorElement>) => void;
|
|
1652
1780
|
}
|
|
1653
|
-
declare function BreadcrumbItem({ title, href, active, onClick, }: BreadcrumbItemProps):
|
|
1781
|
+
declare function BreadcrumbItem({ title, href, active, onClick, }: BreadcrumbItemProps): React__default.JSX.Element;
|
|
1654
1782
|
|
|
1655
1783
|
interface DrawerProps {
|
|
1656
1784
|
children?: React__default.ReactNode;
|
|
@@ -1659,14 +1787,14 @@ interface DrawerProps {
|
|
|
1659
1787
|
handleClose: () => void;
|
|
1660
1788
|
styles?: string;
|
|
1661
1789
|
}
|
|
1662
|
-
declare const Drawer: ({ children, visibility, side, handleClose, styles, }: DrawerProps) =>
|
|
1790
|
+
declare const Drawer: ({ children, visibility, side, handleClose, styles, }: DrawerProps) => React__default.JSX.Element;
|
|
1663
1791
|
|
|
1664
1792
|
interface DrawerTogglerProps {
|
|
1665
1793
|
icon?: ReactNode;
|
|
1666
1794
|
toggleDrawer?: () => void;
|
|
1667
1795
|
styles?: string;
|
|
1668
1796
|
}
|
|
1669
|
-
declare function DrawerToggler({ icon, toggleDrawer, styles, }: DrawerTogglerProps):
|
|
1797
|
+
declare function DrawerToggler({ icon, toggleDrawer, styles, }: DrawerTogglerProps): React__default.JSX.Element;
|
|
1670
1798
|
|
|
1671
1799
|
interface I_FooterNavItem {
|
|
1672
1800
|
component: any;
|
|
@@ -1689,7 +1817,7 @@ interface FooterNavProps {
|
|
|
1689
1817
|
data: FooterDataItemProps[];
|
|
1690
1818
|
styles?: string;
|
|
1691
1819
|
}
|
|
1692
|
-
declare function FooterNav({ data, styles }: FooterNavProps):
|
|
1820
|
+
declare function FooterNav({ data, styles }: FooterNavProps): React__default.JSX.Element;
|
|
1693
1821
|
|
|
1694
1822
|
interface FooterNavGroupProps {
|
|
1695
1823
|
icon?: React__default.ReactNode;
|
|
@@ -1700,7 +1828,7 @@ interface FooterNavGroupProps {
|
|
|
1700
1828
|
children: React__default.ReactNode;
|
|
1701
1829
|
styles?: string;
|
|
1702
1830
|
}
|
|
1703
|
-
declare const FooterNavGroup: ({ icon, name, description, badge, to, styles, children, }: FooterNavGroupProps) =>
|
|
1831
|
+
declare const FooterNavGroup: ({ icon, name, description, badge, to, styles, children, }: FooterNavGroupProps) => React__default.JSX.Element;
|
|
1704
1832
|
|
|
1705
1833
|
interface FooterNavItemProps {
|
|
1706
1834
|
icon?: React__default.ReactNode;
|
|
@@ -1711,7 +1839,7 @@ interface FooterNavItemProps {
|
|
|
1711
1839
|
onClick?: () => void;
|
|
1712
1840
|
styles?: string;
|
|
1713
1841
|
}
|
|
1714
|
-
declare const FooterNavItem: ({ icon, name, description, badge, to, onClick, styles, }: FooterNavItemProps) =>
|
|
1842
|
+
declare const FooterNavItem: ({ icon, name, description, badge, to, onClick, styles, }: FooterNavItemProps) => React__default.JSX.Element;
|
|
1715
1843
|
|
|
1716
1844
|
interface FooterNavItemTitleProps {
|
|
1717
1845
|
icon?: React__default.ReactNode;
|
|
@@ -1720,7 +1848,7 @@ interface FooterNavItemTitleProps {
|
|
|
1720
1848
|
badge?: React__default.ReactNode;
|
|
1721
1849
|
styles?: string;
|
|
1722
1850
|
}
|
|
1723
|
-
declare const FooterNavItemTitle: ({ icon, name, description, badge, styles, }: FooterNavItemTitleProps) =>
|
|
1851
|
+
declare const FooterNavItemTitle: ({ icon, name, description, badge, styles, }: FooterNavItemTitleProps) => React__default.JSX.Element;
|
|
1724
1852
|
|
|
1725
1853
|
interface FooterNavItemContextProps {
|
|
1726
1854
|
icon?: React__default.ReactNode;
|
|
@@ -1728,7 +1856,7 @@ interface FooterNavItemContextProps {
|
|
|
1728
1856
|
description: string;
|
|
1729
1857
|
badge?: React__default.ReactNode;
|
|
1730
1858
|
}
|
|
1731
|
-
declare const FooterNavItemContext: ({ icon, name, description, badge, }: FooterNavItemContextProps) =>
|
|
1859
|
+
declare const FooterNavItemContext: ({ icon, name, description, badge, }: FooterNavItemContextProps) => React__default.JSX.Element;
|
|
1732
1860
|
|
|
1733
1861
|
interface I_HeaderNavItem {
|
|
1734
1862
|
component: any;
|
|
@@ -1751,7 +1879,7 @@ interface HeaderNavProps {
|
|
|
1751
1879
|
data: HeaderDataItemProps[];
|
|
1752
1880
|
styles?: string;
|
|
1753
1881
|
}
|
|
1754
|
-
declare function HeaderNav({ data, styles }: HeaderNavProps):
|
|
1882
|
+
declare function HeaderNav({ data, styles }: HeaderNavProps): React__default.JSX.Element;
|
|
1755
1883
|
|
|
1756
1884
|
interface HeaderNavGroupProps {
|
|
1757
1885
|
icon?: React__default.ReactNode;
|
|
@@ -1762,7 +1890,7 @@ interface HeaderNavGroupProps {
|
|
|
1762
1890
|
children: React__default.ReactNode;
|
|
1763
1891
|
styles?: string;
|
|
1764
1892
|
}
|
|
1765
|
-
declare const HeaderNavGroup: ({ icon, name, description, badge, to, styles, children, }: HeaderNavGroupProps) =>
|
|
1893
|
+
declare const HeaderNavGroup: ({ icon, name, description, badge, to, styles, children, }: HeaderNavGroupProps) => React__default.JSX.Element;
|
|
1766
1894
|
|
|
1767
1895
|
interface HeaderNavItemProps {
|
|
1768
1896
|
icon?: React__default.ReactNode;
|
|
@@ -1773,7 +1901,7 @@ interface HeaderNavItemProps {
|
|
|
1773
1901
|
onClick?: () => void;
|
|
1774
1902
|
styles?: string;
|
|
1775
1903
|
}
|
|
1776
|
-
declare const HeaderNavItem: ({ icon, name, description, badge, to, onClick, styles, }: HeaderNavItemProps) =>
|
|
1904
|
+
declare const HeaderNavItem: ({ icon, name, description, badge, to, onClick, styles, }: HeaderNavItemProps) => React__default.JSX.Element;
|
|
1777
1905
|
|
|
1778
1906
|
interface HeaderNavItemTitleProps {
|
|
1779
1907
|
icon?: React__default.ReactNode;
|
|
@@ -1782,7 +1910,7 @@ interface HeaderNavItemTitleProps {
|
|
|
1782
1910
|
badge?: React__default.ReactNode;
|
|
1783
1911
|
styles?: string;
|
|
1784
1912
|
}
|
|
1785
|
-
declare const HeaderNavItemTitle: ({ icon, name, description, badge, styles, }: HeaderNavItemTitleProps) =>
|
|
1913
|
+
declare const HeaderNavItemTitle: ({ icon, name, description, badge, styles, }: HeaderNavItemTitleProps) => React__default.JSX.Element;
|
|
1786
1914
|
|
|
1787
1915
|
interface HeaderNavItemContextProps {
|
|
1788
1916
|
icon?: React__default.ReactNode;
|
|
@@ -1790,7 +1918,7 @@ interface HeaderNavItemContextProps {
|
|
|
1790
1918
|
description: string;
|
|
1791
1919
|
badge?: React__default.ReactNode;
|
|
1792
1920
|
}
|
|
1793
|
-
declare const HeaderNavItemContext: ({ icon, name, description, badge, }: HeaderNavItemContextProps) =>
|
|
1921
|
+
declare const HeaderNavItemContext: ({ icon, name, description, badge, }: HeaderNavItemContextProps) => React__default.JSX.Element;
|
|
1794
1922
|
|
|
1795
1923
|
interface LinkProps {
|
|
1796
1924
|
children?: string;
|
|
@@ -1803,7 +1931,7 @@ interface LinkProps {
|
|
|
1803
1931
|
italic?: boolean;
|
|
1804
1932
|
onClick?: () => void;
|
|
1805
1933
|
}
|
|
1806
|
-
declare const Link: ({ children, href, target, variant, decoration, bold, italic, styles, onClick, }: LinkProps) =>
|
|
1934
|
+
declare const Link: ({ children, href, target, variant, decoration, bold, italic, styles, onClick, }: LinkProps) => React__default.JSX.Element;
|
|
1807
1935
|
|
|
1808
1936
|
type MenuElementType = "item" | "group" | "title";
|
|
1809
1937
|
interface BaseMenuNode {
|
|
@@ -1841,7 +1969,7 @@ interface MenuProps {
|
|
|
1841
1969
|
currentPath?: string;
|
|
1842
1970
|
}
|
|
1843
1971
|
|
|
1844
|
-
declare const Menu: ({ items, className, navigate, defaultMenuElements, currentPath, }: MenuProps) =>
|
|
1972
|
+
declare const Menu: ({ items, className, navigate, defaultMenuElements, currentPath, }: MenuProps) => React__default.JSX.Element;
|
|
1845
1973
|
|
|
1846
1974
|
interface MenuGroupProps extends BaseComponentProps {
|
|
1847
1975
|
icon?: React__default.ReactNode;
|
|
@@ -1851,7 +1979,7 @@ interface MenuGroupProps extends BaseComponentProps {
|
|
|
1851
1979
|
children: React__default.ReactNode;
|
|
1852
1980
|
defaultOpen?: boolean;
|
|
1853
1981
|
}
|
|
1854
|
-
declare const MenuGroup: ({ icon, name, badge, children, defaultOpen, className, style, ...rest }: MenuGroupProps) =>
|
|
1982
|
+
declare const MenuGroup: ({ icon, name, badge, children, defaultOpen, className, style, ...rest }: MenuGroupProps) => React__default.JSX.Element;
|
|
1855
1983
|
|
|
1856
1984
|
interface MenuItemProps extends BaseComponentProps {
|
|
1857
1985
|
icon?: React__default.ReactNode;
|
|
@@ -1860,21 +1988,21 @@ interface MenuItemProps extends BaseComponentProps {
|
|
|
1860
1988
|
to?: string;
|
|
1861
1989
|
navigate?: (to: string) => void;
|
|
1862
1990
|
}
|
|
1863
|
-
declare const MenuItem: ({ icon, name, badge, to, navigate, className, onClick, ...rest }: MenuItemProps) =>
|
|
1991
|
+
declare const MenuItem: ({ icon, name, badge, to, navigate, className, onClick, ...rest }: MenuItemProps) => React__default.JSX.Element;
|
|
1864
1992
|
|
|
1865
1993
|
interface MenuItemTitleProps extends BaseComponentProps {
|
|
1866
1994
|
icon?: React__default.ReactNode;
|
|
1867
1995
|
name: string;
|
|
1868
1996
|
badge?: React__default.ReactNode;
|
|
1869
1997
|
}
|
|
1870
|
-
declare const MenuItemTitle: ({ icon, name, badge, className, style, ...rest }: MenuItemTitleProps) =>
|
|
1998
|
+
declare const MenuItemTitle: ({ icon, name, badge, className, style, ...rest }: MenuItemTitleProps) => React__default.JSX.Element;
|
|
1871
1999
|
|
|
1872
2000
|
interface RouteTabProps extends BaseComponentProps {
|
|
1873
2001
|
title: string;
|
|
1874
2002
|
selected?: boolean;
|
|
1875
2003
|
onClick?: () => void;
|
|
1876
2004
|
}
|
|
1877
|
-
declare function RouteTab({ title, onClick, selected, className, ...rest }: RouteTabProps):
|
|
2005
|
+
declare function RouteTab({ title, onClick, selected, className, ...rest }: RouteTabProps): React$1.JSX.Element;
|
|
1878
2006
|
|
|
1879
2007
|
interface RouteTabsNavItem {
|
|
1880
2008
|
name: string;
|
|
@@ -1889,7 +2017,7 @@ interface RouteTabsProps extends BaseComponentProps {
|
|
|
1889
2017
|
defaultActive?: string;
|
|
1890
2018
|
animated?: boolean;
|
|
1891
2019
|
}
|
|
1892
|
-
declare function RouteTabs({ navData, children, onTabClick, mode, defaultActive, animated, className, ...rest }: RouteTabsProps):
|
|
2020
|
+
declare function RouteTabs({ navData, children, onTabClick, mode, defaultActive, animated, className, ...rest }: RouteTabsProps): React$1.JSX.Element;
|
|
1893
2021
|
|
|
1894
2022
|
interface ModalProps {
|
|
1895
2023
|
title: string;
|
|
@@ -1904,12 +2032,12 @@ interface ModalProps {
|
|
|
1904
2032
|
styles?: string;
|
|
1905
2033
|
shape?: keyof typeof Shape;
|
|
1906
2034
|
}
|
|
1907
|
-
declare function Modal({ title, show, handleOnClose, children, isLoading, isSuccess, isError, error, styles, enableCloseOnClickOutside, shape, }: ModalProps):
|
|
2035
|
+
declare function Modal({ title, show, handleOnClose, children, isLoading, isSuccess, isError, error, styles, enableCloseOnClickOutside, shape, }: ModalProps): React__default.JSX.Element;
|
|
1908
2036
|
|
|
1909
2037
|
interface UnderConstructionBannerProps {
|
|
1910
2038
|
text?: string;
|
|
1911
2039
|
}
|
|
1912
|
-
declare function UnderConstructionBanner({ text, }: UnderConstructionBannerProps):
|
|
2040
|
+
declare function UnderConstructionBanner({ text, }: UnderConstructionBannerProps): React__default.JSX.Element;
|
|
1913
2041
|
|
|
1914
2042
|
interface AccordionProps {
|
|
1915
2043
|
summary?: ReactNode | string;
|
|
@@ -1920,7 +2048,7 @@ interface AccordionProps {
|
|
|
1920
2048
|
toggleOnSummaryClick?: boolean;
|
|
1921
2049
|
enableChildrenPadding?: boolean;
|
|
1922
2050
|
}
|
|
1923
|
-
declare function Accordion({ summary, children, lhsActions, rhsActions, defaultCollapse, toggleOnSummaryClick, enableChildrenPadding, }: AccordionProps):
|
|
2051
|
+
declare function Accordion({ summary, children, lhsActions, rhsActions, defaultCollapse, toggleOnSummaryClick, enableChildrenPadding, }: AccordionProps): React__default.JSX.Element;
|
|
1924
2052
|
|
|
1925
2053
|
declare const hoverAnimations: {
|
|
1926
2054
|
none: string;
|
|
@@ -1941,7 +2069,7 @@ interface CardProps {
|
|
|
1941
2069
|
shape?: keyof typeof Shape;
|
|
1942
2070
|
hoverAnimation?: keyof typeof hoverAnimations;
|
|
1943
2071
|
}
|
|
1944
|
-
declare function Card({ children, styles, bgVariant, borderVariant, interactive, ghost, shape, hoverAnimation, }: CardProps):
|
|
2072
|
+
declare function Card({ children, styles, bgVariant, borderVariant, interactive, ghost, shape, hoverAnimation, }: CardProps): React__default.JSX.Element;
|
|
1945
2073
|
|
|
1946
2074
|
interface CardHeaderProps {
|
|
1947
2075
|
icon?: React__default.ReactNode;
|
|
@@ -1949,19 +2077,19 @@ interface CardHeaderProps {
|
|
|
1949
2077
|
description?: string;
|
|
1950
2078
|
className?: string;
|
|
1951
2079
|
}
|
|
1952
|
-
declare function CardHeader({ icon, title, description, className }: CardHeaderProps):
|
|
2080
|
+
declare function CardHeader({ icon, title, description, className }: CardHeaderProps): React__default.JSX.Element;
|
|
1953
2081
|
|
|
1954
2082
|
interface CardContentProps {
|
|
1955
2083
|
children?: React__default.ReactNode;
|
|
1956
2084
|
className?: string;
|
|
1957
2085
|
}
|
|
1958
|
-
declare function CardContent({ children, className }: CardContentProps):
|
|
2086
|
+
declare function CardContent({ children, className }: CardContentProps): React__default.JSX.Element;
|
|
1959
2087
|
|
|
1960
2088
|
interface CardFooterProps {
|
|
1961
2089
|
children?: React__default.ReactNode;
|
|
1962
2090
|
className?: string;
|
|
1963
2091
|
}
|
|
1964
|
-
declare function CardFooter({ children, className }: CardFooterProps):
|
|
2092
|
+
declare function CardFooter({ children, className }: CardFooterProps): React__default.JSX.Element;
|
|
1965
2093
|
|
|
1966
2094
|
type AnimationVariant = "none" | "gradient" | "blobs" | "mesh" | "custom";
|
|
1967
2095
|
interface BaseAnimationConfig {
|
|
@@ -2006,7 +2134,7 @@ interface MotionSurfaceProps {
|
|
|
2006
2134
|
customAnimation?: React__default.ComponentType<any>;
|
|
2007
2135
|
customOverlay?: React__default.ComponentType<any>;
|
|
2008
2136
|
}
|
|
2009
|
-
declare function MotionSurface({ children, animationVariant, animationConfig, animated, overlay, overlayConfig, className, customAnimation: CustomAnimation, customOverlay: CustomOverlay, }: MotionSurfaceProps):
|
|
2137
|
+
declare function MotionSurface({ children, animationVariant, animationConfig, animated, overlay, overlayConfig, className, customAnimation: CustomAnimation, customOverlay: CustomOverlay, }: MotionSurfaceProps): React__default.JSX.Element;
|
|
2010
2138
|
|
|
2011
2139
|
interface ThemeContextProps {
|
|
2012
2140
|
theme: "light" | "dark";
|
|
@@ -2018,11 +2146,11 @@ interface ThemeProviderProps {
|
|
|
2018
2146
|
defaultTheme?: "light" | "dark";
|
|
2019
2147
|
children: ReactNode;
|
|
2020
2148
|
}
|
|
2021
|
-
declare const ThemeProvider: ({ defaultTheme, children, }: ThemeProviderProps) =>
|
|
2149
|
+
declare const ThemeProvider: ({ defaultTheme, children, }: ThemeProviderProps) => React__default.JSX.Element;
|
|
2022
2150
|
|
|
2023
|
-
declare const ThemeSwitch: () =>
|
|
2151
|
+
declare const ThemeSwitch: () => React__default.JSX.Element | null;
|
|
2024
2152
|
|
|
2025
|
-
declare const ShapeSwitch: () =>
|
|
2153
|
+
declare const ShapeSwitch: () => React__default.JSX.Element;
|
|
2026
2154
|
|
|
2027
2155
|
interface AsyncComponentWrapperProps {
|
|
2028
2156
|
children: React__default.ReactNode;
|
|
@@ -2035,7 +2163,7 @@ interface AsyncComponentWrapperProps {
|
|
|
2035
2163
|
*/
|
|
2036
2164
|
errorFormatter?: (error: unknown) => string;
|
|
2037
2165
|
}
|
|
2038
|
-
declare function AsyncComponentWrapper({ children, isLoading, isSuccess, isError, error, errorFormatter, }: AsyncComponentWrapperProps):
|
|
2166
|
+
declare function AsyncComponentWrapper({ children, isLoading, isSuccess, isError, error, errorFormatter, }: AsyncComponentWrapperProps): React__default.JSX.Element;
|
|
2039
2167
|
|
|
2040
2168
|
interface GlowWrapperProps {
|
|
2041
2169
|
children: ReactNode;
|
|
@@ -2055,13 +2183,13 @@ interface InfiniteScrollTriggerProps extends BaseComponentProps {
|
|
|
2055
2183
|
threshold?: number;
|
|
2056
2184
|
onLoadMore?: () => void;
|
|
2057
2185
|
}
|
|
2058
|
-
declare function InfiniteScrollTrigger({ children, className, hasMore, isLoading, rootMargin, threshold, onLoadMore, }: InfiniteScrollTriggerProps):
|
|
2186
|
+
declare function InfiniteScrollTrigger({ children, className, hasMore, isLoading, rootMargin, threshold, onLoadMore, }: InfiniteScrollTriggerProps): React$1.JSX.Element;
|
|
2059
2187
|
|
|
2060
2188
|
interface ShowMoreProps {
|
|
2061
2189
|
text: string;
|
|
2062
2190
|
limit: number;
|
|
2063
2191
|
}
|
|
2064
|
-
declare function ShowMore({ text, limit }: ShowMoreProps):
|
|
2192
|
+
declare function ShowMore({ text, limit }: ShowMoreProps): React__default.JSX.Element;
|
|
2065
2193
|
|
|
2066
2194
|
interface CommentAuthor {
|
|
2067
2195
|
id: string;
|
|
@@ -2280,7 +2408,7 @@ interface CommentComponents {
|
|
|
2280
2408
|
RepliesToggle?: ComponentType<CommentRepliesToggleProps>;
|
|
2281
2409
|
}
|
|
2282
2410
|
|
|
2283
|
-
declare function CommentThread({ currentUser, dataSource, loading, components, config, updatedComment, deletedComment, onEdit, onDelete, onReport, }: CommentThreadProps):
|
|
2411
|
+
declare function CommentThread({ currentUser, dataSource, loading, components, config, updatedComment, deletedComment, onEdit, onDelete, onReport, }: CommentThreadProps): React$1.JSX.Element;
|
|
2284
2412
|
|
|
2285
2413
|
declare function getOptimisticLikeState(comment: CommentEntity): ToggleReactionResult;
|
|
2286
2414
|
declare function getOptimisticDislikeState(comment: CommentEntity): ToggleReactionResult;
|
|
@@ -2316,13 +2444,13 @@ interface DataViewTableProps<T> {
|
|
|
2316
2444
|
isError?: boolean;
|
|
2317
2445
|
error?: unknown;
|
|
2318
2446
|
}
|
|
2319
|
-
declare function DataViewTable<T extends Record<string, any>>({ title, columns, data, sortOptions, sortConfig, searchPlaceholder, defaultPageSize, isLoading, isSuccess, isError, error, }: DataViewTableProps<T>):
|
|
2447
|
+
declare function DataViewTable<T extends Record<string, any>>({ title, columns, data, sortOptions, sortConfig, searchPlaceholder, defaultPageSize, isLoading, isSuccess, isError, error, }: DataViewTableProps<T>): React$1.JSX.Element;
|
|
2320
2448
|
|
|
2321
2449
|
interface DocumentationPanelProps {
|
|
2322
2450
|
value: string;
|
|
2323
2451
|
toc?: boolean;
|
|
2324
2452
|
}
|
|
2325
|
-
declare function DocumentationPanel({ value, toc }: DocumentationPanelProps):
|
|
2453
|
+
declare function DocumentationPanel({ value, toc }: DocumentationPanelProps): React__default.JSX.Element;
|
|
2326
2454
|
|
|
2327
2455
|
interface SliderProps {
|
|
2328
2456
|
isLoading?: boolean;
|
|
@@ -2330,7 +2458,7 @@ interface SliderProps {
|
|
|
2330
2458
|
coverArt: string;
|
|
2331
2459
|
screenshots: string[];
|
|
2332
2460
|
}
|
|
2333
|
-
declare function Slider({ isLoading, isSuccess, coverArt, screenshots }: SliderProps):
|
|
2461
|
+
declare function Slider({ isLoading, isSuccess, coverArt, screenshots }: SliderProps): React$1.JSX.Element;
|
|
2334
2462
|
|
|
2335
2463
|
interface RatingDistributionItem {
|
|
2336
2464
|
star: number;
|
|
@@ -2348,13 +2476,13 @@ interface StarRatingDistributionProps extends BaseComponentProps {
|
|
|
2348
2476
|
striped?: boolean;
|
|
2349
2477
|
showReviewCount?: boolean;
|
|
2350
2478
|
}
|
|
2351
|
-
declare function StarRatingDistribution({ numericRating, progressBarsRating, ratingDistribution, variant, appearance, shape, size, animated, striped, showReviewCount, className, ...rest }: StarRatingDistributionProps):
|
|
2479
|
+
declare function StarRatingDistribution({ numericRating, progressBarsRating, ratingDistribution, variant, appearance, shape, size, animated, striped, showReviewCount, className, ...rest }: StarRatingDistributionProps): React$1.JSX.Element;
|
|
2352
2480
|
|
|
2353
2481
|
interface WorldMapCountryTableProps {
|
|
2354
2482
|
title?: string;
|
|
2355
2483
|
data: WorldMapPoint[];
|
|
2356
2484
|
}
|
|
2357
|
-
declare function WorldMapCountryTable({ title, data, }: WorldMapCountryTableProps):
|
|
2485
|
+
declare function WorldMapCountryTable({ title, data, }: WorldMapCountryTableProps): React$1.JSX.Element;
|
|
2358
2486
|
|
|
2359
2487
|
interface NavItem {
|
|
2360
2488
|
icon: React__default.ReactNode;
|
|
@@ -2369,7 +2497,7 @@ interface BoxNavProps {
|
|
|
2369
2497
|
navigate?: (to: string) => void;
|
|
2370
2498
|
}
|
|
2371
2499
|
|
|
2372
|
-
declare function BoxNav({ data, currentPath, onNavigate, navigate }: BoxNavProps):
|
|
2500
|
+
declare function BoxNav({ data, currentPath, onNavigate, navigate }: BoxNavProps): React__default.JSX.Element;
|
|
2373
2501
|
|
|
2374
2502
|
interface BoxNavItemProps {
|
|
2375
2503
|
icon: React__default.ReactNode;
|
|
@@ -2378,14 +2506,14 @@ interface BoxNavItemProps {
|
|
|
2378
2506
|
selected?: boolean;
|
|
2379
2507
|
onClick?: (event: React__default.MouseEvent<HTMLButtonElement>, to: string) => void;
|
|
2380
2508
|
}
|
|
2381
|
-
declare function BoxNavItem({ icon, name, to, selected, onClick }: BoxNavItemProps):
|
|
2509
|
+
declare function BoxNavItem({ icon, name, to, selected, onClick }: BoxNavItemProps): React__default.JSX.Element;
|
|
2382
2510
|
|
|
2383
2511
|
interface SidebarProps extends BaseComponentProps {
|
|
2384
2512
|
items?: MenuNode[];
|
|
2385
2513
|
navigate?: (to: string) => void;
|
|
2386
2514
|
currentPath?: string;
|
|
2387
2515
|
}
|
|
2388
|
-
declare function Sidebar({ items, navigate, currentPath, className, ...rest }: SidebarProps):
|
|
2516
|
+
declare function Sidebar({ items, navigate, currentPath, className, ...rest }: SidebarProps): React$1.JSX.Element;
|
|
2389
2517
|
|
|
2390
2518
|
interface TopNavComponents {
|
|
2391
2519
|
item?: React.ElementType;
|
|
@@ -2424,14 +2552,14 @@ interface TopNavProps {
|
|
|
2424
2552
|
components?: TopNavComponents;
|
|
2425
2553
|
}
|
|
2426
2554
|
|
|
2427
|
-
declare const TopNav: ({ items, currentPath, navigate, components, }: TopNavProps) =>
|
|
2555
|
+
declare const TopNav: ({ items, currentPath, navigate, components, }: TopNavProps) => React$1.JSX.Element;
|
|
2428
2556
|
|
|
2429
2557
|
interface TNDropdownProps extends BaseComponentProps {
|
|
2430
2558
|
items: TopNavNode[];
|
|
2431
2559
|
navigate?: (to: string) => void;
|
|
2432
2560
|
components?: any;
|
|
2433
2561
|
}
|
|
2434
|
-
declare const TNDropdown: ({ items, navigate, components, }: TNDropdownProps) =>
|
|
2562
|
+
declare const TNDropdown: ({ items, navigate, components, }: TNDropdownProps) => React$1.JSX.Element;
|
|
2435
2563
|
|
|
2436
2564
|
interface TNDropdownItemProps extends BaseComponentProps {
|
|
2437
2565
|
icon?: React.ReactNode;
|
|
@@ -2441,12 +2569,12 @@ interface TNDropdownItemProps extends BaseComponentProps {
|
|
|
2441
2569
|
navigate?: (to: string) => void;
|
|
2442
2570
|
onClick?: (e: MouseEvent<HTMLDivElement>) => void;
|
|
2443
2571
|
}
|
|
2444
|
-
declare const TNDropdownItem: ({ icon, name, badge, to, navigate, onClick, className, }: TNDropdownItemProps) =>
|
|
2572
|
+
declare const TNDropdownItem: ({ icon, name, badge, to, navigate, onClick, className, }: TNDropdownItemProps) => React$1.JSX.Element;
|
|
2445
2573
|
|
|
2446
2574
|
interface TNDropdownTitleProps extends BaseComponentProps {
|
|
2447
2575
|
name: string;
|
|
2448
2576
|
}
|
|
2449
|
-
declare const TNDropdownTitle: ({ name, className }: TNDropdownTitleProps) =>
|
|
2577
|
+
declare const TNDropdownTitle: ({ name, className }: TNDropdownTitleProps) => React$1.JSX.Element;
|
|
2450
2578
|
|
|
2451
2579
|
interface TNGroupProps extends BaseComponentProps {
|
|
2452
2580
|
icon?: React.ReactNode;
|
|
@@ -2457,7 +2585,7 @@ interface TNGroupProps extends BaseComponentProps {
|
|
|
2457
2585
|
components?: any;
|
|
2458
2586
|
selected?: boolean;
|
|
2459
2587
|
}
|
|
2460
|
-
declare const TNGroup: ({ icon, name, items, navigate, columns, components, selected, }: TNGroupProps) =>
|
|
2588
|
+
declare const TNGroup: ({ icon, name, items, navigate, columns, components, selected, }: TNGroupProps) => React$1.JSX.Element;
|
|
2461
2589
|
|
|
2462
2590
|
declare const useDrawer: (defaultVisibility?: boolean) => {
|
|
2463
2591
|
show: boolean;
|
|
@@ -2485,41 +2613,41 @@ interface GenericLayoutProps {
|
|
|
2485
2613
|
styles?: string;
|
|
2486
2614
|
defaultTheme?: "light" | "dark";
|
|
2487
2615
|
}
|
|
2488
|
-
declare function GenericLayout({ children, styles, defaultTheme, }: GenericLayoutProps):
|
|
2616
|
+
declare function GenericLayout({ children, styles, defaultTheme, }: GenericLayoutProps): React__default.JSX.Element;
|
|
2489
2617
|
|
|
2490
2618
|
interface DefaultLayoutProps {
|
|
2491
2619
|
children?: ReactNode;
|
|
2492
2620
|
header?: ReactNode;
|
|
2493
2621
|
footer?: ReactNode;
|
|
2494
2622
|
}
|
|
2495
|
-
declare function DefaultLayout({ children, header, footer, }: DefaultLayoutProps):
|
|
2623
|
+
declare function DefaultLayout({ children, header, footer, }: DefaultLayoutProps): React__default.JSX.Element;
|
|
2496
2624
|
|
|
2497
2625
|
interface HomeLayoutProps {
|
|
2498
2626
|
children?: ReactNode;
|
|
2499
2627
|
header?: ReactNode;
|
|
2500
2628
|
footer?: ReactNode;
|
|
2501
2629
|
}
|
|
2502
|
-
declare function HomeLayout({ children, header, footer, }: HomeLayoutProps):
|
|
2630
|
+
declare function HomeLayout({ children, header, footer, }: HomeLayoutProps): React__default.JSX.Element;
|
|
2503
2631
|
|
|
2504
2632
|
interface SidebarLayoutProps {
|
|
2505
2633
|
children?: ReactNode;
|
|
2506
2634
|
header?: ReactNode;
|
|
2507
2635
|
footer?: ReactNode;
|
|
2508
2636
|
}
|
|
2509
|
-
declare function SidebarLayout({ children, header, footer, }: SidebarLayoutProps):
|
|
2637
|
+
declare function SidebarLayout({ children, header, footer, }: SidebarLayoutProps): React__default.JSX.Element;
|
|
2510
2638
|
|
|
2511
2639
|
interface SidemenuLayoutProps {
|
|
2512
2640
|
data?: any;
|
|
2513
2641
|
children?: ReactNode;
|
|
2514
2642
|
}
|
|
2515
|
-
declare function SidemenuLayout({ data, children }: SidemenuLayoutProps):
|
|
2643
|
+
declare function SidemenuLayout({ data, children }: SidemenuLayoutProps): React__default.JSX.Element;
|
|
2516
2644
|
|
|
2517
2645
|
interface EUIDevLayoutProps {
|
|
2518
2646
|
children?: ReactNode;
|
|
2519
2647
|
header?: ReactNode;
|
|
2520
2648
|
footer?: ReactNode;
|
|
2521
2649
|
}
|
|
2522
|
-
declare function EUIDevLayout({ children, header, footer, }: EUIDevLayoutProps):
|
|
2650
|
+
declare function EUIDevLayout({ children, header, footer, }: EUIDevLayoutProps): React__default.JSX.Element;
|
|
2523
2651
|
|
|
2524
2652
|
interface CloudinaryConfig {
|
|
2525
2653
|
cloudName: string;
|
|
@@ -2528,7 +2656,7 @@ interface CloudinaryProviderProps extends CloudinaryConfig {
|
|
|
2528
2656
|
children: ReactNode;
|
|
2529
2657
|
}
|
|
2530
2658
|
|
|
2531
|
-
declare const CloudinaryProvider: ({ cloudName, children, }: CloudinaryProviderProps) =>
|
|
2659
|
+
declare const CloudinaryProvider: ({ cloudName, children, }: CloudinaryProviderProps) => React$1.JSX.Element;
|
|
2532
2660
|
|
|
2533
2661
|
declare const useCloudinaryConfig: () => CloudinaryConfig;
|
|
2534
2662
|
|
|
@@ -2687,7 +2815,7 @@ type EnvErrorScreenProps = {
|
|
|
2687
2815
|
footer?: ReactNode;
|
|
2688
2816
|
showStack?: boolean;
|
|
2689
2817
|
};
|
|
2690
|
-
declare function EnvErrorScreen({ error, title, description, footer, showStack, }: EnvErrorScreenProps):
|
|
2818
|
+
declare function EnvErrorScreen({ error, title, description, footer, showStack, }: EnvErrorScreenProps): React$1.JSX.Element;
|
|
2691
2819
|
|
|
2692
2820
|
type BootstrapConfigLike = {
|
|
2693
2821
|
isValid: boolean;
|
|
@@ -2704,6 +2832,6 @@ type ConfigBootstrapProps = {
|
|
|
2704
2832
|
loadingFallback?: ReactNode;
|
|
2705
2833
|
showStack?: boolean;
|
|
2706
2834
|
};
|
|
2707
|
-
declare function ConfigBootstrap({ config, loadApp, ErrorComponent, LoadingComponent, loadingFallback, showStack, }: ConfigBootstrapProps):
|
|
2835
|
+
declare function ConfigBootstrap({ config, loadApp, ErrorComponent, LoadingComponent, loadingFallback, showStack, }: ConfigBootstrapProps): React$1.JSX.Element;
|
|
2708
2836
|
|
|
2709
|
-
export { Accordion, type AnimationComponentProps, type AnimationVariant, type Appearance,
|
|
2837
|
+
export { Accordion, type AnimationComponentProps, type AnimationVariant, type Appearance, AreaPlot, AsyncComponentWrapper, Avatar, Backdrop, Badge, type BarChartProps, BarPlot, type BaseAnimationConfig, BaseChartDataSource, type BaseChartProps, type BaseComponentProps, type BaseMenuNode, type BaseOverlayConfig, type BaseTopNavNode, type BlobAnimationConfig, Block, BlockGroup, type BootstrapConfigLike, BoxNav, BoxNavItem, Brand, Breadcrumb, BreadcrumbItem, type BrowserRedirectURLOptions, Button, CHART_COLOR_PALETTE, CHART_DARK_THEME, CHART_DATA_MODES, CHART_DEFAULT_ACTIVE_DOT_RADIUS, CHART_DEFAULT_ANIMATION_DURATION, CHART_DEFAULT_BAR_RADIUS, CHART_DEFAULT_DOT_RADIUS, CHART_DEFAULT_HEIGHT, CHART_DEFAULT_MARGIN, CHART_DEFAULT_MAX_REALTIME_POINTS, CHART_DEFAULT_POLLING_INTERVAL, CHART_DEFAULT_STROKE_WIDTH, CHART_EMPTY_MESSAGE, CHART_ERROR_MESSAGE, CHART_LIGHT_THEME, CHART_LOADING_MESSAGE, CHART_STATUSES, CHART_STATUS_COLORS, CHART_VALUE_FORMATS, Caption, Card, CardContent, CardFooter, CardHeader, type CardinalPosition, Chapter, Chart, type ChartAction, type ChartBarConfig, type ChartChartType, type ChartColorName, ChartContainer, type ChartContainerProps, ChartContext, type ChartContextValue, type ChartDataHandler, type ChartDataMode, type ChartDataPoint, type ChartDataSource, ChartEmptyState, type ChartEmptyStateProps, type ChartErrorHandler, ChartErrorState, type ChartErrorStateProps, type ChartGaugeConfig, ChartHeader, type ChartHeaderProps, ChartLegend, type ChartLegendItem, type ChartLegendProps, ChartLoadingState, type ChartLoadingStateProps, ChartPanel, type ChartPanelConfig, type ChartPanelProps, type ChartPieConfig, type ChartPrimitive, type ChartProps, ChartProvider, type ChartProviderProps, type ChartRenderChartProps, type ChartSeries, type ChartSeriesColor, type ChartSeriesType, type ChartStatConfig, type ChartState, type ChartStatus, type ChartTheme, type ChartThemeChart, type ChartThemeMode, type ChartThemePanel, type ChartThemeText, type ChartThemeTooltip, ChartToolbar, type ChartToolbarProps, ChartTooltip, type ChartTooltipFormatterOptions, type ChartTooltipPayload, type ChartTooltipProps, type ChartUnsubscribe, type ChartValueFormat, Checkbox, Chip, type CloudinaryConfig, CloudinaryImage, CloudinaryProvider, type CloudinaryProviderProps, CloudinaryVideo, Code, type CommentActionsProps, type CommentAuthor, type CommentComponents, type CommentComposerProps, type CommentContentProps, type CommentDataSource, type CommentEntity, type CommentHeaderProps, type CommentItemProps, type CommentListProps, type CommentMenuProps, type CommentPageResult, type CommentPermissions, type CommentQueryOptions, type CommentRepliesToggleProps, type CommentReplyCache, CommentThread, type CommentThreadConfig, type CommentThreadProps, ConfigBootstrap, type ConfigBootstrapProps, type ConfigSchema, type ConfigSchemaFailure, type ConfigSchemaResult, type ConfigSchemaSuccess, type ConfigTransform, type ConfigTransformContext, Configurator, ConfiguratorError, type ConfiguratorFailure, type ConfiguratorOptions, type ConfiguratorState, type ConfiguratorSuccess, Content, ContentArea, type CornerPosition, type CreateCommentInput, type CreateURLResolverOptions, type CurrencyCode, DEFAULT_CHART_THEME, DataView, DataViewTable, DateSelector, DefaultLayout, type DefaultMenuElements, Display, DocumentationPanel, Drawer, DrawerToggler, type EUIComponentDefaults, type EUIConfigs, EUIDevLayout, EUIProvider, type EUIRoute, EnvErrorScreen, type EnvErrorScreenProps, Flag, Flex, FlexCol, FlexRow, Footer, FooterNav, FooterNavGroup, FooterNavItem, FooterNavItemContext, FooterNavItemTitle, Form, FormResponse, type FormatChartValueOptions, type GaugeChartProps, GaugePlot, GenericLayout, type GetAllowedOriginsOptions, GlowWrapper, type GradientAnimationConfig, Graph, type GraphData, GraphEdge, type GraphEdgeType, type GraphLayoutType, GraphNode, type GraphNodeType, type GraphProps, GraphRenderer, Grid, Header, HeaderNav, HeaderNavGroup, HeaderNavItem, HeaderNavItemContext, HeaderNavItemTitle, HomeLayout, type HorizontalPosition, type HyperRefTarget, Image, ImageInput, InfiniteScrollTrigger, Info, Input, InputFile, InputLabel, InputList, InputListGroup, InputResponse, Label, Layout, type LayoutContext, type LayoutExecutor, Lead, type LimitRealtimePointsOptions, LinePlot, Link, List, type ListAlign, type ListBulletType, type ListDirection, ListItem, type ListItemData, MarkdownEditor, MarkdownProvider, MarkdownTOC, MarkdownViewer, Menu, type MenuElementType, MenuGroup, type MenuGroupNode, MenuItem, type MenuItemNode, MenuItemTitle, type MenuNode, type MenuProps, type MenuTitleNode, type MeshAnimationConfig, Modal, MotionSurface, MultiImageInput, type NavItem, type NormalizeChartDataOptions, type NormalizedChartDataPoint, type NormalizedToastStatus, NumericRating, type OctilePosition, type OverlayVariant, Overline, Paragraph, type PieChartProps, PiePlot, PollingChartDataSource, type PollingChartDataSourceConfig, type PollingChartDataSourceOptions, PriceTag, ProgressBar, type ProgressBarProps, ProgressBarRating, Quote, Radio, type RawChartDataPoint, RealtimeChartDataSource, type RealtimeChartDataSourceConfig, type RealtimeChartDataSourceOptions, type ReplyComposerProps, type ResolveChartColorOptions, type ResolvedChartSeries, type RootAppModule, RouteTab, type RouteTabMode, RouteTabs, type SafeRedirectOptions, ScatterPlot, ScrollToTop, Section, Select, type SendToastOptions, type Shape$1 as Shape, ShapeSwitch, ShowMore, Sidebar, SidebarLayout, SidemenuLayout, type Size$1 as Size, Skeleton, Slider, Spinner, type SpinnerDirection, type SpinnerProps, type SpinnerType, StarRating, StarRatingDistribution, StarRatingInput, type StatChartProps, StatPlot, StaticChartDataSource, type StaticChartDataSourceConfig, type StaticChartDataSourceOptions, Switch, TNDropdown, TNDropdownItem, TNDropdownTitle, TNGroup, Table, Tag, Tags, TextArea, type TextDecoration, ThemeContext, ThemeProvider, ThemeSwitch, TitleBanner, type TitleBannerLevel, Toast, type ToastItemData, type ToastProps, type ToggleReactionResult, Tooltip, TopNav, type TopNavComponents, type TopNavGroupNode, type TopNavItemNode, type TopNavNode, type TopNavProps, type TopNavTitleNode, Transition, TransitionDropdown, TransitionFadeIn, Typography, type URLMap, type URLMapSource, type URLQueryParams, type URLQueryValue, UnderConstructionBanner, type UpdateCommentInput, type UseChartDataOptions, type UseChartDataReturn, type UseChartPollingOptions, type UseChartRealtimeOptions, type UseChartSeriesOptions, type UseChartThemeOptions, ValueBadge, type Variant$1 as Variant, type VerticalPosition, WorldMap, WorldMapCountryTable, YoutubeVideo as YoutubeVideoPlayer, addReplyToCache, applyReactionState, assertAbsoluteURL, buildURL, chartReducer, cn, createConfigurator, createForceLayout, createGridLayout, createInitialChartState, createTreeLayout, createURLResolver, decrementReplyCount, enumValues, euiToast, formatChartValue, formatCommentDate, formatConfigError, getAllowedOrigins, getBrowserHref, getBrowserOrigin, getBrowserRedirectURL, getCurrencySymbol, getLayout, getOptimisticDislikeState, getOptimisticLikeState, getSafeRedirect, incrementReplyCount, isMatch, isRenderFn, limitRealtimePoints, normalize, normalizeChartData, normalizeChartDataPoint, parseJson, parseJsonRecord, parseUrlMap, registerLayout, removeComment, removeCommentTreeFromCache, replaceRealtimePoints, resolveAppearanceStyles, resolveChartColor, resolveChartColors, resolveWithGlobal, sendToast, toConfiguratorError, updateComment, updateReplyCacheComment, useChartContext, useChartData, useChartPolling, useChartRealtime, useChartSeries, useChartTheme, useClickOutside, useCloudinaryConfig, useCurrentTheme, useDrawer, useEUIConfig, useIsMobile, useModal, useTheme };
|