elseware-ui 2.31.0 → 2.31.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +109 -109
- package/dist/index.css +63 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +1303 -1263
- package/dist/index.d.ts +1303 -1263
- package/dist/index.js +436 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +436 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +110 -110
package/dist/index.d.mts
CHANGED
|
@@ -6,456 +6,456 @@ import * as formik from 'formik';
|
|
|
6
6
|
import { FieldHookConfig } from 'formik';
|
|
7
7
|
import { ClassValue } from 'clsx';
|
|
8
8
|
|
|
9
|
-
/**
|
|
10
|
-
* Contains ReactElements such as "children" using HTMLAttributes
|
|
11
|
-
*
|
|
12
|
-
* Contains DOMAttributes such as "onClick" using HTMLAttributes
|
|
13
|
-
*
|
|
14
|
-
* Define the custom types as follows for the custom DOM elements
|
|
15
|
-
* BaseComponentProps<HTMLDivElement> // default
|
|
16
|
-
* BaseComponentProps<HTMLButtonElement> // buttons
|
|
17
|
-
* BaseComponentProps<HTMLAnchorElement> // links
|
|
18
|
-
*/
|
|
19
|
-
interface BaseComponentProps<T extends HTMLElement = HTMLDivElement> extends Omit<HTMLAttributes<T>, "children"> {
|
|
20
|
-
className?: string;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
declare const CURRENCIES: {
|
|
24
|
-
name: string;
|
|
25
|
-
symbol: string;
|
|
26
|
-
code: string;
|
|
9
|
+
/**
|
|
10
|
+
* Contains ReactElements such as "children" using HTMLAttributes
|
|
11
|
+
*
|
|
12
|
+
* Contains DOMAttributes such as "onClick" using HTMLAttributes
|
|
13
|
+
*
|
|
14
|
+
* Define the custom types as follows for the custom DOM elements
|
|
15
|
+
* BaseComponentProps<HTMLDivElement> // default
|
|
16
|
+
* BaseComponentProps<HTMLButtonElement> // buttons
|
|
17
|
+
* BaseComponentProps<HTMLAnchorElement> // links
|
|
18
|
+
*/
|
|
19
|
+
interface BaseComponentProps<T extends HTMLElement = HTMLDivElement> extends Omit<HTMLAttributes<T>, "children"> {
|
|
20
|
+
className?: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
declare const CURRENCIES: {
|
|
24
|
+
name: string;
|
|
25
|
+
symbol: string;
|
|
26
|
+
code: string;
|
|
27
27
|
}[];
|
|
28
28
|
|
|
29
|
-
type Variant$1 = "default" | "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "light" | "dark";
|
|
30
|
-
type Shape$1 = "circle" | "roundedSquare" | "softRoundedSquare" | "square";
|
|
31
|
-
type Size$1 = "xs" | "sm" | "md" | "lg" | "xl";
|
|
32
|
-
type Appearance = "solid" | "lite" | "ghost";
|
|
33
|
-
type TextDecoration = "underline" | "overline" | "lineThrough" | "noUnderline";
|
|
34
|
-
type HyperRefTarget = "blank" | "self" | "parent" | "top";
|
|
35
|
-
type VerticalPosition = "top" | "bottom";
|
|
36
|
-
type HorizontalPosition = "left" | "right";
|
|
37
|
-
type CardinalPosition = VerticalPosition | HorizontalPosition;
|
|
38
|
-
type CornerPosition = `${VerticalPosition}-${HorizontalPosition}`;
|
|
39
|
-
type OctilePosition = CardinalPosition | CornerPosition;
|
|
40
|
-
type TitleBannerLevel = 1 | 2;
|
|
41
|
-
type ListBulletType = "dot" | "diamond" | "number" | "none";
|
|
42
|
-
type ListAlign = "start" | "center";
|
|
43
|
-
type ListDirection = "vertical" | "horizontal";
|
|
44
|
-
type RouteTabMode = "route" | "state";
|
|
29
|
+
type Variant$1 = "default" | "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "light" | "dark";
|
|
30
|
+
type Shape$1 = "circle" | "roundedSquare" | "softRoundedSquare" | "square";
|
|
31
|
+
type Size$1 = "xs" | "sm" | "md" | "lg" | "xl";
|
|
32
|
+
type Appearance = "solid" | "lite" | "ghost";
|
|
33
|
+
type TextDecoration = "underline" | "overline" | "lineThrough" | "noUnderline";
|
|
34
|
+
type HyperRefTarget = "blank" | "self" | "parent" | "top";
|
|
35
|
+
type VerticalPosition = "top" | "bottom";
|
|
36
|
+
type HorizontalPosition = "left" | "right";
|
|
37
|
+
type CardinalPosition = VerticalPosition | HorizontalPosition;
|
|
38
|
+
type CornerPosition = `${VerticalPosition}-${HorizontalPosition}`;
|
|
39
|
+
type OctilePosition = CardinalPosition | CornerPosition;
|
|
40
|
+
type TitleBannerLevel = 1 | 2;
|
|
41
|
+
type ListBulletType = "dot" | "diamond" | "number" | "none";
|
|
42
|
+
type ListAlign = "start" | "center";
|
|
43
|
+
type ListDirection = "vertical" | "horizontal";
|
|
44
|
+
type RouteTabMode = "route" | "state";
|
|
45
45
|
type CurrencyCode = (typeof CURRENCIES)[number]["code"];
|
|
46
46
|
|
|
47
|
-
interface AvatarProps extends BaseComponentProps {
|
|
48
|
-
alt?: string;
|
|
49
|
-
icon?: ReactNode;
|
|
50
|
-
variant?: Variant$1;
|
|
51
|
-
appearance?: Appearance;
|
|
52
|
-
shape?: Shape$1;
|
|
53
|
-
size?: Size$1;
|
|
54
|
-
src?: string;
|
|
55
|
-
children?: ReactNode;
|
|
56
|
-
}
|
|
47
|
+
interface AvatarProps extends BaseComponentProps {
|
|
48
|
+
alt?: string;
|
|
49
|
+
icon?: ReactNode;
|
|
50
|
+
variant?: Variant$1;
|
|
51
|
+
appearance?: Appearance;
|
|
52
|
+
shape?: Shape$1;
|
|
53
|
+
size?: Size$1;
|
|
54
|
+
src?: string;
|
|
55
|
+
children?: ReactNode;
|
|
56
|
+
}
|
|
57
57
|
declare const Avatar: ({ alt, icon, children, variant, appearance, shape, size, src, className, ...rest }: AvatarProps) => react_jsx_runtime.JSX.Element;
|
|
58
58
|
|
|
59
|
-
interface BadgeProps extends BaseComponentProps {
|
|
60
|
-
offset?: [number, number];
|
|
61
|
-
dot?: boolean;
|
|
62
|
-
count?: number;
|
|
63
|
-
variant?: Variant$1;
|
|
64
|
-
appearance?: Appearance;
|
|
65
|
-
shape?: Shape$1;
|
|
66
|
-
size?: Size$1;
|
|
67
|
-
showZero?: boolean;
|
|
68
|
-
position?: OctilePosition;
|
|
69
|
-
children?: ReactNode;
|
|
70
|
-
}
|
|
59
|
+
interface BadgeProps extends BaseComponentProps {
|
|
60
|
+
offset?: [number, number];
|
|
61
|
+
dot?: boolean;
|
|
62
|
+
count?: number;
|
|
63
|
+
variant?: Variant$1;
|
|
64
|
+
appearance?: Appearance;
|
|
65
|
+
shape?: Shape$1;
|
|
66
|
+
size?: Size$1;
|
|
67
|
+
showZero?: boolean;
|
|
68
|
+
position?: OctilePosition;
|
|
69
|
+
children?: ReactNode;
|
|
70
|
+
}
|
|
71
71
|
declare const Badge: ({ children, offset, dot, count, variant, appearance, shape, size, showZero, position, className, ...rest }: BadgeProps) => react_jsx_runtime.JSX.Element;
|
|
72
72
|
|
|
73
|
-
interface TitleBannerProps extends BaseComponentProps {
|
|
74
|
-
title: string;
|
|
75
|
-
level?: TitleBannerLevel;
|
|
76
|
-
rightSection?: ReactNode;
|
|
77
|
-
}
|
|
73
|
+
interface TitleBannerProps extends BaseComponentProps {
|
|
74
|
+
title: string;
|
|
75
|
+
level?: TitleBannerLevel;
|
|
76
|
+
rightSection?: ReactNode;
|
|
77
|
+
}
|
|
78
78
|
declare const TitleBanner: ({ title, level, rightSection, className, ...rest }: TitleBannerProps) => react_jsx_runtime.JSX.Element;
|
|
79
79
|
|
|
80
|
-
interface BrandProps extends BaseComponentProps {
|
|
81
|
-
src?: string;
|
|
82
|
-
alt?: string;
|
|
83
|
-
}
|
|
80
|
+
interface BrandProps extends BaseComponentProps {
|
|
81
|
+
src?: string;
|
|
82
|
+
alt?: string;
|
|
83
|
+
}
|
|
84
84
|
declare function Brand({ src, alt, className, ...rest }: BrandProps): react_jsx_runtime.JSX.Element;
|
|
85
85
|
|
|
86
|
-
interface BarChartProps extends BaseComponentProps {
|
|
87
|
-
data: ChartData<"bar">;
|
|
88
|
-
options: ChartOptions<"bar">;
|
|
89
|
-
}
|
|
86
|
+
interface BarChartProps extends BaseComponentProps {
|
|
87
|
+
data: ChartData<"bar">;
|
|
88
|
+
options: ChartOptions<"bar">;
|
|
89
|
+
}
|
|
90
90
|
declare const BarChart: React$1.FC<BarChartProps>;
|
|
91
91
|
|
|
92
|
-
interface LineChartProps extends BaseComponentProps {
|
|
93
|
-
data: ChartData<"line">;
|
|
94
|
-
options?: ChartOptions<"line">;
|
|
95
|
-
}
|
|
92
|
+
interface LineChartProps extends BaseComponentProps {
|
|
93
|
+
data: ChartData<"line">;
|
|
94
|
+
options?: ChartOptions<"line">;
|
|
95
|
+
}
|
|
96
96
|
declare const LineChart: React$1.FC<LineChartProps>;
|
|
97
97
|
|
|
98
|
-
interface PieChartProps extends BaseComponentProps {
|
|
99
|
-
data: ChartData<"pie">;
|
|
100
|
-
options: ChartOptions<"pie">;
|
|
101
|
-
}
|
|
98
|
+
interface PieChartProps extends BaseComponentProps {
|
|
99
|
+
data: ChartData<"pie">;
|
|
100
|
+
options: ChartOptions<"pie">;
|
|
101
|
+
}
|
|
102
102
|
declare const PieChart: React$1.FC<PieChartProps>;
|
|
103
103
|
|
|
104
|
-
interface ChipProps extends BaseComponentProps {
|
|
105
|
-
label?: string;
|
|
106
|
-
variant?: Variant$1;
|
|
107
|
-
appearance?: Appearance;
|
|
108
|
-
shape?: Shape$1;
|
|
109
|
-
size?: Size$1;
|
|
110
|
-
}
|
|
104
|
+
interface ChipProps extends BaseComponentProps {
|
|
105
|
+
label?: string;
|
|
106
|
+
variant?: Variant$1;
|
|
107
|
+
appearance?: Appearance;
|
|
108
|
+
shape?: Shape$1;
|
|
109
|
+
size?: Size$1;
|
|
110
|
+
}
|
|
111
111
|
declare const Chip: ({ label, variant, appearance, shape, size, className, ...rest }: ChipProps) => react_jsx_runtime.JSX.Element;
|
|
112
112
|
|
|
113
|
-
type SortConfig<T, K extends keyof T = keyof T> = {
|
|
114
|
-
key: K;
|
|
115
|
-
direction?: "asc" | "desc";
|
|
116
|
-
transform?: (value: T[K]) => number | string;
|
|
113
|
+
type SortConfig<T, K extends keyof T = keyof T> = {
|
|
114
|
+
key: K;
|
|
115
|
+
direction?: "asc" | "desc";
|
|
116
|
+
transform?: (value: T[K]) => number | string;
|
|
117
117
|
};
|
|
118
118
|
|
|
119
|
-
interface Props$5<T> {
|
|
120
|
-
data: T[];
|
|
121
|
-
children: ReactNode;
|
|
122
|
-
defaultPageSize?: number;
|
|
123
|
-
sortConfig?: Record<string, SortConfig<T>>;
|
|
124
|
-
}
|
|
119
|
+
interface Props$5<T> {
|
|
120
|
+
data: T[];
|
|
121
|
+
children: ReactNode;
|
|
122
|
+
defaultPageSize?: number;
|
|
123
|
+
sortConfig?: Record<string, SortConfig<T>>;
|
|
124
|
+
}
|
|
125
125
|
declare function DataViewProvider<T extends Record<string, any>>({ data, children, defaultPageSize, sortConfig, }: Props$5<T>): react_jsx_runtime.JSX.Element;
|
|
126
126
|
|
|
127
|
-
type DataViewHeaderProps = {
|
|
128
|
-
children: ReactNode;
|
|
129
|
-
};
|
|
127
|
+
type DataViewHeaderProps = {
|
|
128
|
+
children: ReactNode;
|
|
129
|
+
};
|
|
130
130
|
declare function DataViewHeader({ children }: DataViewHeaderProps): react_jsx_runtime.JSX.Element;
|
|
131
131
|
|
|
132
|
-
type DataViewSidebarProps = {
|
|
133
|
-
children: ReactNode;
|
|
134
|
-
};
|
|
132
|
+
type DataViewSidebarProps = {
|
|
133
|
+
children: ReactNode;
|
|
134
|
+
};
|
|
135
135
|
declare function DataViewSidebar({ children }: DataViewSidebarProps): react_jsx_runtime.JSX.Element;
|
|
136
136
|
|
|
137
|
-
type DataViewContentProps<T = any> = {
|
|
138
|
-
children: ReactNode | ((data: T[]) => ReactNode);
|
|
139
|
-
};
|
|
137
|
+
type DataViewContentProps<T = any> = {
|
|
138
|
+
children: ReactNode | ((data: T[]) => ReactNode);
|
|
139
|
+
};
|
|
140
140
|
declare function DataViewContent<T = any>({ children, }: DataViewContentProps<T>): JSX.Element;
|
|
141
141
|
|
|
142
|
-
type DataViewFooterProps = {
|
|
143
|
-
children: ReactNode;
|
|
144
|
-
};
|
|
142
|
+
type DataViewFooterProps = {
|
|
143
|
+
children: ReactNode;
|
|
144
|
+
};
|
|
145
145
|
declare function DataViewFooter({ children }: DataViewFooterProps): react_jsx_runtime.JSX.Element;
|
|
146
146
|
|
|
147
|
-
type DataViewSearchProps = {
|
|
148
|
-
placeholder?: string;
|
|
149
|
-
shape?: Shape$1;
|
|
150
|
-
};
|
|
147
|
+
type DataViewSearchProps = {
|
|
148
|
+
placeholder?: string;
|
|
149
|
+
shape?: Shape$1;
|
|
150
|
+
};
|
|
151
151
|
declare function DataViewSearch({ placeholder, shape, }: DataViewSearchProps): react_jsx_runtime.JSX.Element;
|
|
152
152
|
|
|
153
|
-
type SortOption$1 = {
|
|
154
|
-
value: string;
|
|
155
|
-
label: string;
|
|
156
|
-
};
|
|
157
|
-
type DataViewSortProps = {
|
|
158
|
-
options: SortOption$1[];
|
|
159
|
-
shape?: Shape$1;
|
|
160
|
-
};
|
|
153
|
+
type SortOption$1 = {
|
|
154
|
+
value: string;
|
|
155
|
+
label: string;
|
|
156
|
+
};
|
|
157
|
+
type DataViewSortProps = {
|
|
158
|
+
options: SortOption$1[];
|
|
159
|
+
shape?: Shape$1;
|
|
160
|
+
};
|
|
161
161
|
declare function DataViewSort({ options, shape }: DataViewSortProps): react_jsx_runtime.JSX.Element;
|
|
162
162
|
|
|
163
|
-
type FilterOption = {
|
|
164
|
-
value: string;
|
|
165
|
-
label: string;
|
|
166
|
-
dotClass?: string;
|
|
167
|
-
};
|
|
168
|
-
type DataViewFilterGroupProps<T = any> = {
|
|
169
|
-
filterKey: keyof T;
|
|
170
|
-
options: FilterOption[];
|
|
171
|
-
title?: string;
|
|
172
|
-
};
|
|
163
|
+
type FilterOption = {
|
|
164
|
+
value: string;
|
|
165
|
+
label: string;
|
|
166
|
+
dotClass?: string;
|
|
167
|
+
};
|
|
168
|
+
type DataViewFilterGroupProps<T = any> = {
|
|
169
|
+
filterKey: keyof T;
|
|
170
|
+
options: FilterOption[];
|
|
171
|
+
title?: string;
|
|
172
|
+
};
|
|
173
173
|
declare function DataViewFilterGroup<T extends Record<string, any>>({ filterKey, options, title, }: DataViewFilterGroupProps<T>): react_jsx_runtime.JSX.Element;
|
|
174
174
|
|
|
175
|
-
type Props$4 = {
|
|
176
|
-
pageSizeOptions?: (number | "All")[];
|
|
177
|
-
shape?: Shape$1;
|
|
178
|
-
};
|
|
175
|
+
type Props$4 = {
|
|
176
|
+
pageSizeOptions?: (number | "All")[];
|
|
177
|
+
shape?: Shape$1;
|
|
178
|
+
};
|
|
179
179
|
declare function DataViewPageSize({ pageSizeOptions, shape, }: Props$4): react_jsx_runtime.JSX.Element;
|
|
180
180
|
|
|
181
|
-
type Props$3 = {
|
|
182
|
-
shape?: Shape$1;
|
|
183
|
-
};
|
|
181
|
+
type Props$3 = {
|
|
182
|
+
shape?: Shape$1;
|
|
183
|
+
};
|
|
184
184
|
declare function DataViewPagination({ shape }: Props$3): react_jsx_runtime.JSX.Element | null;
|
|
185
185
|
|
|
186
|
-
declare const DataView: typeof DataViewProvider & {
|
|
187
|
-
Header: typeof DataViewHeader;
|
|
188
|
-
Sidebar: typeof DataViewSidebar;
|
|
189
|
-
Content: typeof DataViewContent;
|
|
190
|
-
Footer: typeof DataViewFooter;
|
|
191
|
-
Pagination: typeof DataViewPagination;
|
|
192
|
-
Search: typeof DataViewSearch;
|
|
193
|
-
Sort: typeof DataViewSort;
|
|
194
|
-
FilterGroup: typeof DataViewFilterGroup;
|
|
195
|
-
PageSize: typeof DataViewPageSize;
|
|
186
|
+
declare const DataView: typeof DataViewProvider & {
|
|
187
|
+
Header: typeof DataViewHeader;
|
|
188
|
+
Sidebar: typeof DataViewSidebar;
|
|
189
|
+
Content: typeof DataViewContent;
|
|
190
|
+
Footer: typeof DataViewFooter;
|
|
191
|
+
Pagination: typeof DataViewPagination;
|
|
192
|
+
Search: typeof DataViewSearch;
|
|
193
|
+
Sort: typeof DataViewSort;
|
|
194
|
+
FilterGroup: typeof DataViewFilterGroup;
|
|
195
|
+
PageSize: typeof DataViewPageSize;
|
|
196
196
|
};
|
|
197
197
|
|
|
198
|
-
interface FlagProps extends BaseComponentProps {
|
|
199
|
-
code: string;
|
|
200
|
-
width?: number | string;
|
|
201
|
-
height?: number | string;
|
|
202
|
-
}
|
|
198
|
+
interface FlagProps extends BaseComponentProps {
|
|
199
|
+
code: string;
|
|
200
|
+
width?: number | string;
|
|
201
|
+
height?: number | string;
|
|
202
|
+
}
|
|
203
203
|
declare const Flag: ({ code, width, height, className, ...rest }: FlagProps) => react_jsx_runtime.JSX.Element;
|
|
204
204
|
|
|
205
|
-
type GraphLayoutType = "force" | "grid" | "tree" | (string & {});
|
|
206
|
-
interface GraphData {
|
|
207
|
-
nodes: GraphNodeType[];
|
|
208
|
-
edges: GraphEdgeType[];
|
|
209
|
-
}
|
|
210
|
-
interface GraphNodeType {
|
|
211
|
-
id: string;
|
|
212
|
-
label?: string;
|
|
213
|
-
type?: "default" | "avatar" | "custom";
|
|
214
|
-
data?: any;
|
|
215
|
-
x?: number;
|
|
216
|
-
y?: number;
|
|
217
|
-
vx?: number;
|
|
218
|
-
vy?: number;
|
|
219
|
-
fx?: number | null;
|
|
220
|
-
fy?: number | null;
|
|
221
|
-
size?: number;
|
|
222
|
-
color?: string;
|
|
223
|
-
}
|
|
224
|
-
interface GraphEdgeType {
|
|
225
|
-
id?: string;
|
|
226
|
-
from: string | GraphNodeType;
|
|
227
|
-
to: string | GraphNodeType;
|
|
228
|
-
weight?: string;
|
|
229
|
-
color?: string;
|
|
230
|
-
width?: number;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
interface GraphProps extends BaseComponentProps {
|
|
234
|
-
data: GraphData;
|
|
235
|
-
layout?: string;
|
|
236
|
-
nodeRenderer?: (node: any) => React$1.ReactNode;
|
|
237
|
-
width?: number;
|
|
238
|
-
height?: number;
|
|
239
|
-
}
|
|
205
|
+
type GraphLayoutType = "force" | "grid" | "tree" | (string & {});
|
|
206
|
+
interface GraphData {
|
|
207
|
+
nodes: GraphNodeType[];
|
|
208
|
+
edges: GraphEdgeType[];
|
|
209
|
+
}
|
|
210
|
+
interface GraphNodeType {
|
|
211
|
+
id: string;
|
|
212
|
+
label?: string;
|
|
213
|
+
type?: "default" | "avatar" | "custom";
|
|
214
|
+
data?: any;
|
|
215
|
+
x?: number;
|
|
216
|
+
y?: number;
|
|
217
|
+
vx?: number;
|
|
218
|
+
vy?: number;
|
|
219
|
+
fx?: number | null;
|
|
220
|
+
fy?: number | null;
|
|
221
|
+
size?: number;
|
|
222
|
+
color?: string;
|
|
223
|
+
}
|
|
224
|
+
interface GraphEdgeType {
|
|
225
|
+
id?: string;
|
|
226
|
+
from: string | GraphNodeType;
|
|
227
|
+
to: string | GraphNodeType;
|
|
228
|
+
weight?: string;
|
|
229
|
+
color?: string;
|
|
230
|
+
width?: number;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
interface GraphProps extends BaseComponentProps {
|
|
234
|
+
data: GraphData;
|
|
235
|
+
layout?: string;
|
|
236
|
+
nodeRenderer?: (node: any) => React$1.ReactNode;
|
|
237
|
+
width?: number;
|
|
238
|
+
height?: number;
|
|
239
|
+
}
|
|
240
240
|
declare const Graph: ({ data, layout, nodeRenderer, width, height, className, ...rest }: GraphProps) => react_jsx_runtime.JSX.Element;
|
|
241
241
|
|
|
242
|
-
interface Props$2 {
|
|
243
|
-
edge: GraphEdgeType;
|
|
244
|
-
nodeMap: Map<string, GraphNodeType>;
|
|
245
|
-
}
|
|
242
|
+
interface Props$2 {
|
|
243
|
+
edge: GraphEdgeType;
|
|
244
|
+
nodeMap: Map<string, GraphNodeType>;
|
|
245
|
+
}
|
|
246
246
|
declare const GraphEdge: React$1.FC<Props$2>;
|
|
247
247
|
|
|
248
|
-
interface Props$1 {
|
|
249
|
-
node: GraphNodeType;
|
|
250
|
-
renderCustom?: (node: GraphNodeType) => React$1.ReactNode;
|
|
251
|
-
}
|
|
248
|
+
interface Props$1 {
|
|
249
|
+
node: GraphNodeType;
|
|
250
|
+
renderCustom?: (node: GraphNodeType) => React$1.ReactNode;
|
|
251
|
+
}
|
|
252
252
|
declare const GraphNode: React$1.FC<Props$1>;
|
|
253
253
|
|
|
254
|
-
interface Props {
|
|
255
|
-
data: GraphData;
|
|
256
|
-
layout?: string;
|
|
257
|
-
nodeRenderer?: (node: GraphNodeType) => React$1.ReactNode;
|
|
258
|
-
width?: number;
|
|
259
|
-
height?: number;
|
|
260
|
-
}
|
|
254
|
+
interface Props {
|
|
255
|
+
data: GraphData;
|
|
256
|
+
layout?: string;
|
|
257
|
+
nodeRenderer?: (node: GraphNodeType) => React$1.ReactNode;
|
|
258
|
+
width?: number;
|
|
259
|
+
height?: number;
|
|
260
|
+
}
|
|
261
261
|
declare const GraphRenderer: React$1.FC<Props>;
|
|
262
262
|
|
|
263
263
|
declare const createForceLayout: (nodes: GraphNodeType[], edges: GraphEdgeType[], width: number, height: number) => d3.Simulation<GraphNodeType, undefined>;
|
|
264
264
|
|
|
265
|
-
declare function createGridLayout(nodes: GraphNodeType[], width: number, height: number): {
|
|
266
|
-
x: number;
|
|
267
|
-
y: number;
|
|
268
|
-
id: string;
|
|
269
|
-
label?: string | undefined;
|
|
270
|
-
type?: "default" | "custom" | "avatar" | undefined;
|
|
271
|
-
data?: any;
|
|
272
|
-
vx?: number | undefined;
|
|
273
|
-
vy?: number | undefined;
|
|
274
|
-
fx?: number | null | undefined;
|
|
275
|
-
fy?: number | null | undefined;
|
|
276
|
-
size?: number | undefined;
|
|
277
|
-
color?: string | undefined;
|
|
265
|
+
declare function createGridLayout(nodes: GraphNodeType[], width: number, height: number): {
|
|
266
|
+
x: number;
|
|
267
|
+
y: number;
|
|
268
|
+
id: string;
|
|
269
|
+
label?: string | undefined;
|
|
270
|
+
type?: "default" | "custom" | "avatar" | undefined;
|
|
271
|
+
data?: any;
|
|
272
|
+
vx?: number | undefined;
|
|
273
|
+
vy?: number | undefined;
|
|
274
|
+
fx?: number | null | undefined;
|
|
275
|
+
fy?: number | null | undefined;
|
|
276
|
+
size?: number | undefined;
|
|
277
|
+
color?: string | undefined;
|
|
278
278
|
}[];
|
|
279
279
|
|
|
280
280
|
declare function createTreeLayout(nodes: GraphNodeType[], edges: GraphEdgeType[], width: number, height: number): GraphNodeType[];
|
|
281
281
|
|
|
282
|
-
interface LayoutContext {
|
|
283
|
-
nodes: GraphNodeType[];
|
|
284
|
-
edges: GraphEdgeType[];
|
|
285
|
-
width: number;
|
|
286
|
-
height: number;
|
|
287
|
-
onTick?: (nodes: GraphNodeType[]) => void;
|
|
288
|
-
}
|
|
289
|
-
type LayoutExecutor = (ctx: LayoutContext) => {
|
|
290
|
-
type: "static" | "simulation";
|
|
291
|
-
stop?: () => void;
|
|
292
|
-
};
|
|
293
|
-
declare const registerLayout: (type: GraphLayoutType, executor: LayoutExecutor) => void;
|
|
282
|
+
interface LayoutContext {
|
|
283
|
+
nodes: GraphNodeType[];
|
|
284
|
+
edges: GraphEdgeType[];
|
|
285
|
+
width: number;
|
|
286
|
+
height: number;
|
|
287
|
+
onTick?: (nodes: GraphNodeType[]) => void;
|
|
288
|
+
}
|
|
289
|
+
type LayoutExecutor = (ctx: LayoutContext) => {
|
|
290
|
+
type: "static" | "simulation";
|
|
291
|
+
stop?: () => void;
|
|
292
|
+
};
|
|
293
|
+
declare const registerLayout: (type: GraphLayoutType, executor: LayoutExecutor) => void;
|
|
294
294
|
declare const getLayout: (type: GraphLayoutType) => LayoutExecutor;
|
|
295
295
|
|
|
296
|
-
interface CloudinaryImageProps extends BaseComponentProps<HTMLImageElement> {
|
|
297
|
-
publicId?: string;
|
|
298
|
-
cloudName?: string;
|
|
299
|
-
secure?: boolean;
|
|
300
|
-
alt?: string;
|
|
301
|
-
fallbackSrc?: string;
|
|
302
|
-
loading?: "lazy" | "eager";
|
|
303
|
-
}
|
|
296
|
+
interface CloudinaryImageProps extends BaseComponentProps<HTMLImageElement> {
|
|
297
|
+
publicId?: string;
|
|
298
|
+
cloudName?: string;
|
|
299
|
+
secure?: boolean;
|
|
300
|
+
alt?: string;
|
|
301
|
+
fallbackSrc?: string;
|
|
302
|
+
loading?: "lazy" | "eager";
|
|
303
|
+
}
|
|
304
304
|
declare function CloudinaryImage({ publicId, cloudName, secure, alt, fallbackSrc, loading, className, ...rest }: CloudinaryImageProps): react_jsx_runtime.JSX.Element;
|
|
305
305
|
|
|
306
|
-
interface ImageProps extends BaseComponentProps {
|
|
307
|
-
alt?: string;
|
|
308
|
-
src?: string;
|
|
309
|
-
height?: number;
|
|
310
|
-
width?: number;
|
|
311
|
-
}
|
|
306
|
+
interface ImageProps extends BaseComponentProps {
|
|
307
|
+
alt?: string;
|
|
308
|
+
src?: string;
|
|
309
|
+
height?: number;
|
|
310
|
+
width?: number;
|
|
311
|
+
}
|
|
312
312
|
declare const Image: ({ alt, src, height, width, className, ...rest }: ImageProps) => react_jsx_runtime.JSX.Element;
|
|
313
313
|
|
|
314
|
-
interface InfoProps extends BaseComponentProps {
|
|
315
|
-
variant?: Variant$1;
|
|
316
|
-
appearance?: Appearance;
|
|
317
|
-
shape?: Shape$1;
|
|
318
|
-
children?: ReactNode;
|
|
319
|
-
}
|
|
314
|
+
interface InfoProps extends BaseComponentProps {
|
|
315
|
+
variant?: Variant$1;
|
|
316
|
+
appearance?: Appearance;
|
|
317
|
+
shape?: Shape$1;
|
|
318
|
+
children?: ReactNode;
|
|
319
|
+
}
|
|
320
320
|
declare function Info({ children, variant, appearance, shape, className, ...rest }: InfoProps): react_jsx_runtime.JSX.Element;
|
|
321
321
|
|
|
322
|
-
interface ListItemData {
|
|
323
|
-
content: React$1.ReactNode;
|
|
324
|
-
bulletType?: ListBulletType;
|
|
325
|
-
renderBullet?: (index?: number) => React$1.ReactNode;
|
|
326
|
-
TypographyComponent?: React$1.ReactNode;
|
|
327
|
-
className?: string;
|
|
328
|
-
}
|
|
329
|
-
interface ListProps extends BaseComponentProps {
|
|
330
|
-
title?: string;
|
|
331
|
-
items: (string | React$1.ReactNode | ListItemData)[];
|
|
332
|
-
direction?: ListDirection;
|
|
333
|
-
gap?: 1 | 2 | 3 | 4;
|
|
334
|
-
columns?: 1 | 2 | 3 | 4;
|
|
335
|
-
align?: ListAlign;
|
|
336
|
-
wrap?: boolean;
|
|
337
|
-
bulletType?: ListBulletType;
|
|
338
|
-
}
|
|
322
|
+
interface ListItemData {
|
|
323
|
+
content: React$1.ReactNode;
|
|
324
|
+
bulletType?: ListBulletType;
|
|
325
|
+
renderBullet?: (index?: number) => React$1.ReactNode;
|
|
326
|
+
TypographyComponent?: React$1.ReactNode;
|
|
327
|
+
className?: string;
|
|
328
|
+
}
|
|
329
|
+
interface ListProps extends BaseComponentProps {
|
|
330
|
+
title?: string;
|
|
331
|
+
items: (string | React$1.ReactNode | ListItemData)[];
|
|
332
|
+
direction?: ListDirection;
|
|
333
|
+
gap?: 1 | 2 | 3 | 4;
|
|
334
|
+
columns?: 1 | 2 | 3 | 4;
|
|
335
|
+
align?: ListAlign;
|
|
336
|
+
wrap?: boolean;
|
|
337
|
+
bulletType?: ListBulletType;
|
|
338
|
+
}
|
|
339
339
|
declare function List({ title, items, direction, gap, columns, align, wrap, bulletType, className, ...rest }: ListProps): react_jsx_runtime.JSX.Element;
|
|
340
340
|
|
|
341
|
-
interface ListItemProps {
|
|
342
|
-
content: React$1.ReactNode;
|
|
343
|
-
index?: number;
|
|
344
|
-
TypographyComponent?: React$1.ReactNode;
|
|
345
|
-
bulletType?: ListBulletType;
|
|
346
|
-
renderBullet?: (index?: number) => React$1.ReactNode;
|
|
347
|
-
align?: ListAlign;
|
|
348
|
-
className?: string;
|
|
349
|
-
}
|
|
341
|
+
interface ListItemProps {
|
|
342
|
+
content: React$1.ReactNode;
|
|
343
|
+
index?: number;
|
|
344
|
+
TypographyComponent?: React$1.ReactNode;
|
|
345
|
+
bulletType?: ListBulletType;
|
|
346
|
+
renderBullet?: (index?: number) => React$1.ReactNode;
|
|
347
|
+
align?: ListAlign;
|
|
348
|
+
className?: string;
|
|
349
|
+
}
|
|
350
350
|
declare const ListItem: ({ content, TypographyComponent, bulletType, renderBullet, index, align, className, }: ListItemProps) => react_jsx_runtime.JSX.Element;
|
|
351
351
|
|
|
352
|
-
interface PriceTagProps extends BaseComponentProps {
|
|
353
|
-
price: number;
|
|
354
|
-
discount?: number;
|
|
355
|
-
code?: CurrencyCode;
|
|
356
|
-
variant?: Variant$1;
|
|
357
|
-
appearance?: Appearance;
|
|
358
|
-
shape?: Shape$1;
|
|
359
|
-
size?: Size$1;
|
|
360
|
-
decimals?: number;
|
|
361
|
-
showCurrencyCode?: boolean;
|
|
362
|
-
currencyAsSubscript?: boolean;
|
|
363
|
-
showFreeLabel?: boolean;
|
|
364
|
-
}
|
|
352
|
+
interface PriceTagProps extends BaseComponentProps {
|
|
353
|
+
price: number;
|
|
354
|
+
discount?: number;
|
|
355
|
+
code?: CurrencyCode;
|
|
356
|
+
variant?: Variant$1;
|
|
357
|
+
appearance?: Appearance;
|
|
358
|
+
shape?: Shape$1;
|
|
359
|
+
size?: Size$1;
|
|
360
|
+
decimals?: number;
|
|
361
|
+
showCurrencyCode?: boolean;
|
|
362
|
+
currencyAsSubscript?: boolean;
|
|
363
|
+
showFreeLabel?: boolean;
|
|
364
|
+
}
|
|
365
365
|
declare function PriceTag({ price, discount, code, variant, appearance, shape, size, decimals, showCurrencyCode, currencyAsSubscript, showFreeLabel, className, ...rest }: PriceTagProps): react_jsx_runtime.JSX.Element;
|
|
366
366
|
|
|
367
|
-
interface ProgressBarProps extends BaseComponentProps {
|
|
368
|
-
value: number;
|
|
369
|
-
max?: number;
|
|
370
|
-
min?: number;
|
|
371
|
-
variant?: Variant$1;
|
|
372
|
-
appearance?: Appearance;
|
|
373
|
-
size?: Size$1;
|
|
374
|
-
shape?: Shape$1;
|
|
375
|
-
striped?: boolean;
|
|
376
|
-
animated?: boolean;
|
|
377
|
-
showLabel?: boolean;
|
|
378
|
-
label?: string;
|
|
379
|
-
labelPlacement?: "top" | "overlay" | "bottom";
|
|
380
|
-
showPercentage?: boolean;
|
|
381
|
-
startContent?: ReactNode;
|
|
382
|
-
endContent?: ReactNode;
|
|
383
|
-
trackClassName?: string;
|
|
384
|
-
barClassName?: string;
|
|
385
|
-
}
|
|
367
|
+
interface ProgressBarProps extends BaseComponentProps {
|
|
368
|
+
value: number;
|
|
369
|
+
max?: number;
|
|
370
|
+
min?: number;
|
|
371
|
+
variant?: Variant$1;
|
|
372
|
+
appearance?: Appearance;
|
|
373
|
+
size?: Size$1;
|
|
374
|
+
shape?: Shape$1;
|
|
375
|
+
striped?: boolean;
|
|
376
|
+
animated?: boolean;
|
|
377
|
+
showLabel?: boolean;
|
|
378
|
+
label?: string;
|
|
379
|
+
labelPlacement?: "top" | "overlay" | "bottom";
|
|
380
|
+
showPercentage?: boolean;
|
|
381
|
+
startContent?: ReactNode;
|
|
382
|
+
endContent?: ReactNode;
|
|
383
|
+
trackClassName?: string;
|
|
384
|
+
barClassName?: string;
|
|
385
|
+
}
|
|
386
386
|
declare function ProgressBar({ value, min, max, variant, appearance, size, shape, striped, animated, showLabel, label, labelPlacement, showPercentage, startContent, endContent, trackClassName, barClassName, className, ...rest }: ProgressBarProps): react_jsx_runtime.JSX.Element;
|
|
387
387
|
|
|
388
|
-
interface NumericRatingProps extends BaseComponentProps {
|
|
389
|
-
rating: number;
|
|
390
|
-
totalReviews?: number;
|
|
391
|
-
size?: Size$1;
|
|
392
|
-
showStars?: boolean;
|
|
393
|
-
showReviewCount?: boolean;
|
|
394
|
-
reviewLabel?: string;
|
|
395
|
-
}
|
|
388
|
+
interface NumericRatingProps extends BaseComponentProps {
|
|
389
|
+
rating: number;
|
|
390
|
+
totalReviews?: number;
|
|
391
|
+
size?: Size$1;
|
|
392
|
+
showStars?: boolean;
|
|
393
|
+
showReviewCount?: boolean;
|
|
394
|
+
reviewLabel?: string;
|
|
395
|
+
}
|
|
396
396
|
declare function NumericRating({ rating, totalReviews, size, showStars, showReviewCount, reviewLabel, className, ...rest }: NumericRatingProps): react_jsx_runtime.JSX.Element;
|
|
397
397
|
|
|
398
|
-
interface ProgressBarRatingProps extends BaseComponentProps {
|
|
399
|
-
star: number;
|
|
400
|
-
percentage: number;
|
|
401
|
-
variant?: Variant$1;
|
|
402
|
-
appearance?: Appearance;
|
|
403
|
-
shape?: Shape$1;
|
|
404
|
-
size?: Size$1;
|
|
405
|
-
animated?: boolean;
|
|
406
|
-
striped?: boolean;
|
|
407
|
-
}
|
|
398
|
+
interface ProgressBarRatingProps extends BaseComponentProps {
|
|
399
|
+
star: number;
|
|
400
|
+
percentage: number;
|
|
401
|
+
variant?: Variant$1;
|
|
402
|
+
appearance?: Appearance;
|
|
403
|
+
shape?: Shape$1;
|
|
404
|
+
size?: Size$1;
|
|
405
|
+
animated?: boolean;
|
|
406
|
+
striped?: boolean;
|
|
407
|
+
}
|
|
408
408
|
declare function ProgressBarRating({ star, percentage, variant, appearance, shape, size, animated, striped, className, ...rest }: ProgressBarRatingProps): react_jsx_runtime.JSX.Element;
|
|
409
409
|
|
|
410
|
-
interface StarRatingProps extends BaseComponentProps {
|
|
411
|
-
rating: number;
|
|
412
|
-
max?: number;
|
|
413
|
-
size?: Size$1;
|
|
414
|
-
showValue?: boolean;
|
|
415
|
-
valuePosition?: "start" | "end";
|
|
416
|
-
iconClassName?: string;
|
|
417
|
-
}
|
|
410
|
+
interface StarRatingProps extends BaseComponentProps {
|
|
411
|
+
rating: number;
|
|
412
|
+
max?: number;
|
|
413
|
+
size?: Size$1;
|
|
414
|
+
showValue?: boolean;
|
|
415
|
+
valuePosition?: "start" | "end";
|
|
416
|
+
iconClassName?: string;
|
|
417
|
+
}
|
|
418
418
|
declare function StarRating({ rating, max, size, showValue, valuePosition, iconClassName, className, ...rest }: StarRatingProps): react_jsx_runtime.JSX.Element;
|
|
419
419
|
|
|
420
|
-
interface TableColumnConfig<T> {
|
|
421
|
-
key: keyof T | string;
|
|
422
|
-
header: string;
|
|
423
|
-
sortable?: boolean;
|
|
424
|
-
render?: (value: any, row: T) => ReactNode;
|
|
425
|
-
}
|
|
426
|
-
interface TableProps<T> {
|
|
427
|
-
title?: string;
|
|
428
|
-
columns: TableColumnConfig<T>[];
|
|
429
|
-
data: T[];
|
|
430
|
-
shape?: Shape$1;
|
|
431
|
-
}
|
|
420
|
+
interface TableColumnConfig<T> {
|
|
421
|
+
key: keyof T | string;
|
|
422
|
+
header: string;
|
|
423
|
+
sortable?: boolean;
|
|
424
|
+
render?: (value: any, row: T) => ReactNode;
|
|
425
|
+
}
|
|
426
|
+
interface TableProps<T> {
|
|
427
|
+
title?: string;
|
|
428
|
+
columns: TableColumnConfig<T>[];
|
|
429
|
+
data: T[];
|
|
430
|
+
shape?: Shape$1;
|
|
431
|
+
}
|
|
432
432
|
declare function Table<T extends Record<string, any>>({ title, columns, data, shape, }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
433
433
|
|
|
434
|
-
interface TagProps extends BaseComponentProps {
|
|
435
|
-
text: string;
|
|
436
|
-
}
|
|
434
|
+
interface TagProps extends BaseComponentProps {
|
|
435
|
+
text: string;
|
|
436
|
+
}
|
|
437
437
|
declare function Tag({ text, className, ...rest }: TagProps): react_jsx_runtime.JSX.Element;
|
|
438
438
|
|
|
439
|
-
interface TooltipProps extends BaseComponentProps {
|
|
440
|
-
children: ReactNode;
|
|
441
|
-
show: boolean;
|
|
442
|
-
offsetX?: number;
|
|
443
|
-
offsetY?: number;
|
|
444
|
-
}
|
|
439
|
+
interface TooltipProps extends BaseComponentProps {
|
|
440
|
+
children: ReactNode;
|
|
441
|
+
show: boolean;
|
|
442
|
+
offsetX?: number;
|
|
443
|
+
offsetY?: number;
|
|
444
|
+
}
|
|
445
445
|
declare function Tooltip({ children, show, offsetX, offsetY, className, ...rest }: TooltipProps): react_jsx_runtime.JSX.Element | null;
|
|
446
446
|
|
|
447
|
-
interface TypographyProps extends BaseComponentProps {
|
|
448
|
-
children?: ReactNode;
|
|
449
|
-
level?: 1 | 2 | 3;
|
|
450
|
-
variant?: Variant$1;
|
|
451
|
-
decoration?: TextDecoration;
|
|
452
|
-
bold?: boolean;
|
|
453
|
-
italic?: boolean;
|
|
447
|
+
interface TypographyProps extends BaseComponentProps {
|
|
448
|
+
children?: ReactNode;
|
|
449
|
+
level?: 1 | 2 | 3;
|
|
450
|
+
variant?: Variant$1;
|
|
451
|
+
decoration?: TextDecoration;
|
|
452
|
+
bold?: boolean;
|
|
453
|
+
italic?: boolean;
|
|
454
454
|
}
|
|
455
455
|
|
|
456
|
-
interface DisplayProps extends TypographyProps {
|
|
457
|
-
level?: 1 | 2 | 3;
|
|
458
|
-
}
|
|
456
|
+
interface DisplayProps extends TypographyProps {
|
|
457
|
+
level?: 1 | 2 | 3;
|
|
458
|
+
}
|
|
459
459
|
declare const Display: ({ level, children, variant, decoration, bold, italic, className, ...rest }: DisplayProps) => react_jsx_runtime.JSX.Element;
|
|
460
460
|
|
|
461
461
|
declare const Chapter: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -476,1063 +476,1103 @@ declare const Lead: ({ children, variant, decoration, bold, italic, className, .
|
|
|
476
476
|
|
|
477
477
|
declare const Overline: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
478
478
|
|
|
479
|
-
declare const Typography: {
|
|
480
|
-
Display: ({ level, children, variant, decoration, bold, italic, className, ...rest }: DisplayProps) => react_jsx_runtime.JSX.Element;
|
|
481
|
-
Chapter: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
482
|
-
Section: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
483
|
-
Paragraph: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
484
|
-
Quote: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
485
|
-
Lead: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
486
|
-
Caption: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
487
|
-
Label: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
488
|
-
Code: ({ children, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
489
|
-
Overline: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
479
|
+
declare const Typography: {
|
|
480
|
+
Display: ({ level, children, variant, decoration, bold, italic, className, ...rest }: DisplayProps) => react_jsx_runtime.JSX.Element;
|
|
481
|
+
Chapter: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
482
|
+
Section: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
483
|
+
Paragraph: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
484
|
+
Quote: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
485
|
+
Lead: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
486
|
+
Caption: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
487
|
+
Label: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
488
|
+
Code: ({ children, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
489
|
+
Overline: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
490
490
|
};
|
|
491
491
|
|
|
492
|
-
interface Tier {
|
|
493
|
-
condition: (percent: number) => boolean;
|
|
494
|
-
style: {
|
|
495
|
-
bg: string;
|
|
496
|
-
color: string;
|
|
497
|
-
};
|
|
498
|
-
}
|
|
499
|
-
interface ValueBadgeProps {
|
|
500
|
-
value: number;
|
|
501
|
-
tiers?: Tier[];
|
|
502
|
-
lowerBound?: number;
|
|
503
|
-
upperBound?: number;
|
|
504
|
-
formatValue?: (value: number) => string | number;
|
|
505
|
-
className?: string;
|
|
506
|
-
noBackground?: boolean;
|
|
507
|
-
}
|
|
492
|
+
interface Tier {
|
|
493
|
+
condition: (percent: number) => boolean;
|
|
494
|
+
style: {
|
|
495
|
+
bg: string;
|
|
496
|
+
color: string;
|
|
497
|
+
};
|
|
498
|
+
}
|
|
499
|
+
interface ValueBadgeProps {
|
|
500
|
+
value: number;
|
|
501
|
+
tiers?: Tier[];
|
|
502
|
+
lowerBound?: number;
|
|
503
|
+
upperBound?: number;
|
|
504
|
+
formatValue?: (value: number) => string | number;
|
|
505
|
+
className?: string;
|
|
506
|
+
noBackground?: boolean;
|
|
507
|
+
}
|
|
508
508
|
declare const ValueBadge: ({ value, tiers, lowerBound, upperBound, formatValue, className, noBackground, }: ValueBadgeProps) => react_jsx_runtime.JSX.Element;
|
|
509
509
|
|
|
510
|
-
interface CloudinaryVideoProps extends BaseComponentProps<HTMLVideoElement> {
|
|
511
|
-
publicId?: string;
|
|
512
|
-
cloudName?: string;
|
|
513
|
-
secure?: boolean;
|
|
514
|
-
controls?: boolean;
|
|
515
|
-
autoPlay?: boolean;
|
|
516
|
-
muted?: boolean;
|
|
517
|
-
loop?: boolean;
|
|
518
|
-
playsInline?: boolean;
|
|
519
|
-
poster?: string;
|
|
520
|
-
preload?: "none" | "metadata" | "auto";
|
|
521
|
-
}
|
|
510
|
+
interface CloudinaryVideoProps extends BaseComponentProps<HTMLVideoElement> {
|
|
511
|
+
publicId?: string;
|
|
512
|
+
cloudName?: string;
|
|
513
|
+
secure?: boolean;
|
|
514
|
+
controls?: boolean;
|
|
515
|
+
autoPlay?: boolean;
|
|
516
|
+
muted?: boolean;
|
|
517
|
+
loop?: boolean;
|
|
518
|
+
playsInline?: boolean;
|
|
519
|
+
poster?: string;
|
|
520
|
+
preload?: "none" | "metadata" | "auto";
|
|
521
|
+
}
|
|
522
522
|
declare function CloudinaryVideo({ publicId, cloudName, secure, controls, autoPlay, muted, loop, playsInline, poster, preload, className, ...rest }: CloudinaryVideoProps): react_jsx_runtime.JSX.Element;
|
|
523
523
|
|
|
524
|
-
interface YoutubeVideoProps extends BaseComponentProps<HTMLIFrameElement> {
|
|
525
|
-
videoUrl: string;
|
|
526
|
-
width?: number;
|
|
527
|
-
height?: number;
|
|
528
|
-
autoPlay?: boolean;
|
|
529
|
-
muted?: boolean;
|
|
530
|
-
controls?: boolean;
|
|
531
|
-
loop?: boolean;
|
|
532
|
-
privacyMode?: boolean;
|
|
533
|
-
}
|
|
524
|
+
interface YoutubeVideoProps extends BaseComponentProps<HTMLIFrameElement> {
|
|
525
|
+
videoUrl: string;
|
|
526
|
+
width?: number;
|
|
527
|
+
height?: number;
|
|
528
|
+
autoPlay?: boolean;
|
|
529
|
+
muted?: boolean;
|
|
530
|
+
controls?: boolean;
|
|
531
|
+
loop?: boolean;
|
|
532
|
+
privacyMode?: boolean;
|
|
533
|
+
}
|
|
534
534
|
declare function YoutubeVideo({ videoUrl, width, height, autoPlay, muted, controls, className, ...rest }: YoutubeVideoProps): react_jsx_runtime.JSX.Element;
|
|
535
535
|
|
|
536
|
-
interface WorldMapPoint {
|
|
537
|
-
code: string;
|
|
538
|
-
value: number;
|
|
539
|
-
}
|
|
540
|
-
interface WorldMapProps extends BaseComponentProps {
|
|
541
|
-
data: WorldMapPoint[];
|
|
542
|
-
title?: string;
|
|
543
|
-
bubbleColor?: string;
|
|
544
|
-
bubbleStroke?: string;
|
|
545
|
-
bubbleScale?: number;
|
|
546
|
-
minBubble?: number;
|
|
547
|
-
disableCountryHover?: boolean;
|
|
548
|
-
disableCountrySelect?: boolean;
|
|
549
|
-
}
|
|
536
|
+
interface WorldMapPoint {
|
|
537
|
+
code: string;
|
|
538
|
+
value: number;
|
|
539
|
+
}
|
|
540
|
+
interface WorldMapProps extends BaseComponentProps {
|
|
541
|
+
data: WorldMapPoint[];
|
|
542
|
+
title?: string;
|
|
543
|
+
bubbleColor?: string;
|
|
544
|
+
bubbleStroke?: string;
|
|
545
|
+
bubbleScale?: number;
|
|
546
|
+
minBubble?: number;
|
|
547
|
+
disableCountryHover?: boolean;
|
|
548
|
+
disableCountrySelect?: boolean;
|
|
549
|
+
}
|
|
550
550
|
declare function WorldMap({ data, title, bubbleColor, bubbleStroke, bubbleScale, minBubble, disableCountryHover, disableCountrySelect, className, ...rest }: WorldMapProps): react_jsx_runtime.JSX.Element;
|
|
551
551
|
|
|
552
|
-
interface ButtonProps extends BaseComponentProps<HTMLButtonElement> {
|
|
553
|
-
type?: "button" | "submit" | "reset";
|
|
554
|
-
icon?: ReactNode;
|
|
555
|
-
text?: string;
|
|
556
|
-
children?: ReactNode;
|
|
557
|
-
loading?: boolean;
|
|
558
|
-
disabled?: boolean;
|
|
559
|
-
block?: boolean;
|
|
560
|
-
variant?: Variant$1;
|
|
561
|
-
appearance?: Appearance;
|
|
562
|
-
shape?: Shape$1;
|
|
563
|
-
size?: Size$1;
|
|
564
|
-
}
|
|
552
|
+
interface ButtonProps extends BaseComponentProps<HTMLButtonElement> {
|
|
553
|
+
type?: "button" | "submit" | "reset";
|
|
554
|
+
icon?: ReactNode;
|
|
555
|
+
text?: string;
|
|
556
|
+
children?: ReactNode;
|
|
557
|
+
loading?: boolean;
|
|
558
|
+
disabled?: boolean;
|
|
559
|
+
block?: boolean;
|
|
560
|
+
variant?: Variant$1;
|
|
561
|
+
appearance?: Appearance;
|
|
562
|
+
shape?: Shape$1;
|
|
563
|
+
size?: Size$1;
|
|
564
|
+
}
|
|
565
565
|
declare function Button({ type, icon, text, children, loading, disabled, block, variant, appearance, shape, size, className, onMouseMove, ...rest }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
566
566
|
|
|
567
|
-
interface CheckboxOption {
|
|
568
|
-
label: string;
|
|
569
|
-
value: string;
|
|
570
|
-
}
|
|
571
|
-
interface BaseCheckboxProps extends BaseComponentProps {
|
|
572
|
-
placeholder?: string;
|
|
573
|
-
variant?: Variant$1;
|
|
574
|
-
shape?: Shape$1;
|
|
575
|
-
}
|
|
576
|
-
interface SingleCheckboxProps extends BaseCheckboxProps {
|
|
577
|
-
options?: never;
|
|
578
|
-
}
|
|
579
|
-
interface MultiCheckboxProps extends BaseCheckboxProps {
|
|
580
|
-
options: CheckboxOption[];
|
|
581
|
-
}
|
|
582
|
-
type CheckboxProps = (SingleCheckboxProps & FieldHookConfig<boolean>) | (MultiCheckboxProps & FieldHookConfig<string[]>);
|
|
567
|
+
interface CheckboxOption {
|
|
568
|
+
label: string;
|
|
569
|
+
value: string;
|
|
570
|
+
}
|
|
571
|
+
interface BaseCheckboxProps extends BaseComponentProps {
|
|
572
|
+
placeholder?: string;
|
|
573
|
+
variant?: Variant$1;
|
|
574
|
+
shape?: Shape$1;
|
|
575
|
+
}
|
|
576
|
+
interface SingleCheckboxProps extends BaseCheckboxProps {
|
|
577
|
+
options?: never;
|
|
578
|
+
}
|
|
579
|
+
interface MultiCheckboxProps extends BaseCheckboxProps {
|
|
580
|
+
options: CheckboxOption[];
|
|
581
|
+
}
|
|
582
|
+
type CheckboxProps = (SingleCheckboxProps & FieldHookConfig<boolean>) | (MultiCheckboxProps & FieldHookConfig<string[]>);
|
|
583
583
|
declare function Checkbox({ placeholder, variant, shape, className, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
584
584
|
|
|
585
|
-
declare enum Variant {
|
|
586
|
-
default = "default",
|
|
587
|
-
primary = "primary",
|
|
588
|
-
secondary = "secondary",
|
|
589
|
-
success = "success",
|
|
590
|
-
danger = "danger",
|
|
591
|
-
warning = "warning",
|
|
592
|
-
info = "info",
|
|
593
|
-
light = "light",
|
|
594
|
-
dark = "dark"
|
|
595
|
-
}
|
|
596
|
-
declare enum TextVariant {
|
|
597
|
-
default = "default",
|
|
598
|
-
primary = "primary",
|
|
599
|
-
secondary = "secondary",
|
|
600
|
-
success = "success",
|
|
601
|
-
danger = "danger",
|
|
602
|
-
warning = "warning",
|
|
603
|
-
info = "info",
|
|
604
|
-
light = "light",
|
|
605
|
-
dark = "dark"
|
|
606
|
-
}
|
|
607
|
-
declare enum Shape {
|
|
608
|
-
circle = "circle",
|
|
609
|
-
roundedSquare = "roundedSquare",
|
|
610
|
-
softRoundedSquare = "softRoundedSquare",
|
|
611
|
-
square = "square"
|
|
612
|
-
}
|
|
613
|
-
declare enum Size {
|
|
614
|
-
xs = "xs",
|
|
615
|
-
sm = "sm",
|
|
616
|
-
md = "md",
|
|
617
|
-
lg = "lg",
|
|
618
|
-
xl = "xl"
|
|
619
|
-
}
|
|
620
|
-
declare enum Decoration {
|
|
621
|
-
underline = "underline",
|
|
622
|
-
overline = "overline",
|
|
623
|
-
lineThrough = "lineThrough",
|
|
624
|
-
noUnderline = "noUnderline"
|
|
625
|
-
}
|
|
626
|
-
declare enum Target {
|
|
627
|
-
blank = "blank",
|
|
628
|
-
self = "self",
|
|
629
|
-
parent = "parent",
|
|
630
|
-
top = "top"
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
type DateSelectorProps = FieldHookConfig<string> & {
|
|
634
|
-
name: string;
|
|
635
|
-
placeholder: string;
|
|
636
|
-
styles?: string;
|
|
637
|
-
shape?: keyof typeof Shape;
|
|
638
|
-
};
|
|
585
|
+
declare enum Variant {
|
|
586
|
+
default = "default",
|
|
587
|
+
primary = "primary",
|
|
588
|
+
secondary = "secondary",
|
|
589
|
+
success = "success",
|
|
590
|
+
danger = "danger",
|
|
591
|
+
warning = "warning",
|
|
592
|
+
info = "info",
|
|
593
|
+
light = "light",
|
|
594
|
+
dark = "dark"
|
|
595
|
+
}
|
|
596
|
+
declare enum TextVariant {
|
|
597
|
+
default = "default",
|
|
598
|
+
primary = "primary",
|
|
599
|
+
secondary = "secondary",
|
|
600
|
+
success = "success",
|
|
601
|
+
danger = "danger",
|
|
602
|
+
warning = "warning",
|
|
603
|
+
info = "info",
|
|
604
|
+
light = "light",
|
|
605
|
+
dark = "dark"
|
|
606
|
+
}
|
|
607
|
+
declare enum Shape {
|
|
608
|
+
circle = "circle",
|
|
609
|
+
roundedSquare = "roundedSquare",
|
|
610
|
+
softRoundedSquare = "softRoundedSquare",
|
|
611
|
+
square = "square"
|
|
612
|
+
}
|
|
613
|
+
declare enum Size {
|
|
614
|
+
xs = "xs",
|
|
615
|
+
sm = "sm",
|
|
616
|
+
md = "md",
|
|
617
|
+
lg = "lg",
|
|
618
|
+
xl = "xl"
|
|
619
|
+
}
|
|
620
|
+
declare enum Decoration {
|
|
621
|
+
underline = "underline",
|
|
622
|
+
overline = "overline",
|
|
623
|
+
lineThrough = "lineThrough",
|
|
624
|
+
noUnderline = "noUnderline"
|
|
625
|
+
}
|
|
626
|
+
declare enum Target {
|
|
627
|
+
blank = "blank",
|
|
628
|
+
self = "self",
|
|
629
|
+
parent = "parent",
|
|
630
|
+
top = "top"
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
type DateSelectorProps = FieldHookConfig<string> & {
|
|
634
|
+
name: string;
|
|
635
|
+
placeholder: string;
|
|
636
|
+
styles?: string;
|
|
637
|
+
shape?: keyof typeof Shape;
|
|
638
|
+
};
|
|
639
639
|
declare const DateSelector: ({ placeholder, styles, shape, ...props }: DateSelectorProps) => react_jsx_runtime.JSX.Element;
|
|
640
640
|
|
|
641
|
-
interface FormProps {
|
|
642
|
-
initialValues?: Record<string, any>;
|
|
643
|
-
validationSchema?: object;
|
|
644
|
-
enableReinitialize?: boolean;
|
|
645
|
-
children?: React$1.ReactNode;
|
|
646
|
-
styles?: string;
|
|
647
|
-
onSubmit: (values: any, helpers?: any) => void;
|
|
648
|
-
onChange?: (values: Record<string, any>, meta?: {
|
|
649
|
-
changed: Record<string, any>;
|
|
650
|
-
}) => void;
|
|
651
|
-
warnOnUnsavedChanges?: boolean;
|
|
652
|
-
onDirtyChange?: (dirty: boolean) => void;
|
|
653
|
-
}
|
|
641
|
+
interface FormProps {
|
|
642
|
+
initialValues?: Record<string, any>;
|
|
643
|
+
validationSchema?: object;
|
|
644
|
+
enableReinitialize?: boolean;
|
|
645
|
+
children?: React$1.ReactNode;
|
|
646
|
+
styles?: string;
|
|
647
|
+
onSubmit: (values: any, helpers?: any) => void;
|
|
648
|
+
onChange?: (values: Record<string, any>, meta?: {
|
|
649
|
+
changed: Record<string, any>;
|
|
650
|
+
}) => void;
|
|
651
|
+
warnOnUnsavedChanges?: boolean;
|
|
652
|
+
onDirtyChange?: (dirty: boolean) => void;
|
|
653
|
+
}
|
|
654
654
|
declare const Form: ({ initialValues, validationSchema, enableReinitialize, children, styles, onSubmit, onChange, warnOnUnsavedChanges, onDirtyChange, }: FormProps) => react_jsx_runtime.JSX.Element;
|
|
655
655
|
|
|
656
|
-
interface FormResponseProps {
|
|
657
|
-
text: string | undefined;
|
|
658
|
-
variant?: keyof typeof Variant;
|
|
659
|
-
shape?: keyof typeof Shape;
|
|
660
|
-
size?: keyof typeof Size;
|
|
661
|
-
styles?: string;
|
|
662
|
-
}
|
|
656
|
+
interface FormResponseProps {
|
|
657
|
+
text: string | undefined;
|
|
658
|
+
variant?: keyof typeof Variant;
|
|
659
|
+
shape?: keyof typeof Shape;
|
|
660
|
+
size?: keyof typeof Size;
|
|
661
|
+
styles?: string;
|
|
662
|
+
}
|
|
663
663
|
declare function FormResponse({ text, variant, shape, size, styles, }: FormResponseProps): react_jsx_runtime.JSX.Element;
|
|
664
664
|
|
|
665
|
-
interface ImageInputProps {
|
|
666
|
-
title?: string;
|
|
667
|
-
uploadDir?: string;
|
|
668
|
-
onValueChanged?: (imageUrl: string) => void;
|
|
669
|
-
disableSetValue?: boolean;
|
|
670
|
-
}
|
|
671
|
-
interface ImageInputRef {
|
|
672
|
-
handleResetClick: () => void;
|
|
673
|
-
}
|
|
665
|
+
interface ImageInputProps {
|
|
666
|
+
title?: string;
|
|
667
|
+
uploadDir?: string;
|
|
668
|
+
onValueChanged?: (imageUrl: string) => void;
|
|
669
|
+
disableSetValue?: boolean;
|
|
670
|
+
}
|
|
671
|
+
interface ImageInputRef {
|
|
672
|
+
handleResetClick: () => void;
|
|
673
|
+
}
|
|
674
674
|
declare const ImageInput: React$1.ForwardRefExoticComponent<(Omit<React$1.ClassAttributes<HTMLInputElement> & React$1.InputHTMLAttributes<HTMLInputElement> & formik.FieldConfig<string> & ImageInputProps, "ref"> | Omit<React$1.ClassAttributes<HTMLSelectElement> & React$1.SelectHTMLAttributes<HTMLSelectElement> & formik.FieldConfig<string> & ImageInputProps, "ref"> | Omit<React$1.ClassAttributes<HTMLTextAreaElement> & React$1.TextareaHTMLAttributes<HTMLTextAreaElement> & formik.FieldConfig<string> & ImageInputProps, "ref">) & React$1.RefAttributes<ImageInputRef>>;
|
|
675
675
|
|
|
676
|
-
type InputProps = FieldHookConfig<string> & {
|
|
677
|
-
type: "text" | "password" | "number";
|
|
678
|
-
name: string;
|
|
679
|
-
placeholder: string;
|
|
680
|
-
styles?: string;
|
|
681
|
-
step?: string;
|
|
682
|
-
shape?: keyof typeof Shape;
|
|
683
|
-
};
|
|
676
|
+
type InputProps = FieldHookConfig<string> & {
|
|
677
|
+
type: "text" | "password" | "number";
|
|
678
|
+
name: string;
|
|
679
|
+
placeholder: string;
|
|
680
|
+
styles?: string;
|
|
681
|
+
step?: string;
|
|
682
|
+
shape?: keyof typeof Shape;
|
|
683
|
+
};
|
|
684
684
|
declare const Input: ({ type, placeholder, styles, step, shape, ...props }: InputProps) => react_jsx_runtime.JSX.Element;
|
|
685
685
|
|
|
686
|
-
interface InputFileProps {
|
|
687
|
-
placeholder: string;
|
|
688
|
-
accept?: string;
|
|
689
|
-
styles?: string;
|
|
690
|
-
}
|
|
686
|
+
interface InputFileProps {
|
|
687
|
+
placeholder: string;
|
|
688
|
+
accept?: string;
|
|
689
|
+
styles?: string;
|
|
690
|
+
}
|
|
691
691
|
declare const InputFile: ({ placeholder, accept, styles, ...props }: FieldHookConfig<File | null> & InputFileProps) => react_jsx_runtime.JSX.Element;
|
|
692
692
|
|
|
693
|
-
interface FormDataEntryLabelProps {
|
|
694
|
-
text?: string;
|
|
695
|
-
children?: React$1.ReactNode;
|
|
696
|
-
styles?: string;
|
|
697
|
-
}
|
|
693
|
+
interface FormDataEntryLabelProps {
|
|
694
|
+
text?: string;
|
|
695
|
+
children?: React$1.ReactNode;
|
|
696
|
+
styles?: string;
|
|
697
|
+
}
|
|
698
698
|
declare function InputLabel({ text, children, styles }: FormDataEntryLabelProps): react_jsx_runtime.JSX.Element;
|
|
699
699
|
|
|
700
|
-
interface InputListProps {
|
|
701
|
-
name: string;
|
|
702
|
-
placeholder?: string;
|
|
703
|
-
shape?: keyof typeof Shape;
|
|
704
|
-
}
|
|
700
|
+
interface InputListProps {
|
|
701
|
+
name: string;
|
|
702
|
+
placeholder?: string;
|
|
703
|
+
shape?: keyof typeof Shape;
|
|
704
|
+
}
|
|
705
705
|
declare const InputList: ({ name, placeholder, shape }: InputListProps) => react_jsx_runtime.JSX.Element;
|
|
706
706
|
|
|
707
|
-
interface InputListGroupProps {
|
|
708
|
-
name: string;
|
|
709
|
-
placeholder?: string;
|
|
710
|
-
shape?: keyof typeof Shape;
|
|
711
|
-
}
|
|
707
|
+
interface InputListGroupProps {
|
|
708
|
+
name: string;
|
|
709
|
+
placeholder?: string;
|
|
710
|
+
shape?: keyof typeof Shape;
|
|
711
|
+
}
|
|
712
712
|
declare const InputListGroup: ({ name, placeholder, shape, }: InputListGroupProps) => react_jsx_runtime.JSX.Element;
|
|
713
713
|
|
|
714
|
-
interface InputResponseProps {
|
|
715
|
-
name: string;
|
|
716
|
-
visibility?: boolean;
|
|
717
|
-
variant?: keyof typeof TextVariant;
|
|
718
|
-
styles?: string;
|
|
719
|
-
}
|
|
714
|
+
interface InputResponseProps {
|
|
715
|
+
name: string;
|
|
716
|
+
visibility?: boolean;
|
|
717
|
+
variant?: keyof typeof TextVariant;
|
|
718
|
+
styles?: string;
|
|
719
|
+
}
|
|
720
720
|
declare function InputResponse({ name, visibility, variant, styles, }: InputResponseProps): react_jsx_runtime.JSX.Element;
|
|
721
721
|
|
|
722
|
-
interface MultiImageInputProps {
|
|
723
|
-
title?: string;
|
|
724
|
-
uploadDir?: string;
|
|
725
|
-
name: string;
|
|
726
|
-
}
|
|
722
|
+
interface MultiImageInputProps {
|
|
723
|
+
title?: string;
|
|
724
|
+
uploadDir?: string;
|
|
725
|
+
name: string;
|
|
726
|
+
}
|
|
727
727
|
declare function MultiImageInput({ title, uploadDir, ...props }: FieldHookConfig<string[]> & MultiImageInputProps): react_jsx_runtime.JSX.Element;
|
|
728
728
|
|
|
729
|
-
interface RadioProps {
|
|
730
|
-
placeholder: string;
|
|
731
|
-
options: any[];
|
|
732
|
-
}
|
|
729
|
+
interface RadioProps {
|
|
730
|
+
placeholder: string;
|
|
731
|
+
options: any[];
|
|
732
|
+
}
|
|
733
733
|
declare function Radio({ placeholder, options, ...props }: FieldHookConfig<string> & RadioProps): react_jsx_runtime.JSX.Element;
|
|
734
734
|
|
|
735
|
-
interface StarRatingInputProps {
|
|
736
|
-
starAmount?: number;
|
|
737
|
-
styles?: string;
|
|
738
|
-
}
|
|
735
|
+
interface StarRatingInputProps {
|
|
736
|
+
starAmount?: number;
|
|
737
|
+
styles?: string;
|
|
738
|
+
}
|
|
739
739
|
declare function StarRatingInput({ starAmount, styles, ...props }: FieldHookConfig<string> & StarRatingInputProps): react_jsx_runtime.JSX.Element;
|
|
740
740
|
|
|
741
|
-
type SelectProps = FieldHookConfig<string> & {
|
|
742
|
-
name: string;
|
|
743
|
-
placeholder: string;
|
|
744
|
-
options: any[];
|
|
745
|
-
styles?: string;
|
|
746
|
-
shape?: keyof typeof Shape;
|
|
747
|
-
};
|
|
741
|
+
type SelectProps = FieldHookConfig<string> & {
|
|
742
|
+
name: string;
|
|
743
|
+
placeholder: string;
|
|
744
|
+
options: any[];
|
|
745
|
+
styles?: string;
|
|
746
|
+
shape?: keyof typeof Shape;
|
|
747
|
+
};
|
|
748
748
|
declare function Select({ placeholder, options, styles, shape, ...props }: SelectProps): react_jsx_runtime.JSX.Element;
|
|
749
749
|
|
|
750
|
-
interface SwitchProps {
|
|
751
|
-
name: string;
|
|
752
|
-
label?: string;
|
|
753
|
-
description?: string;
|
|
754
|
-
showStatus?: boolean;
|
|
755
|
-
}
|
|
750
|
+
interface SwitchProps {
|
|
751
|
+
name: string;
|
|
752
|
+
label?: string;
|
|
753
|
+
description?: string;
|
|
754
|
+
showStatus?: boolean;
|
|
755
|
+
}
|
|
756
756
|
declare function Switch({ label, description, showStatus, ...props }: FieldHookConfig<boolean> & SwitchProps): react_jsx_runtime.JSX.Element;
|
|
757
757
|
|
|
758
|
-
interface TagsProps {
|
|
759
|
-
placeholder: string;
|
|
760
|
-
styles?: string;
|
|
761
|
-
limit?: number;
|
|
762
|
-
}
|
|
758
|
+
interface TagsProps {
|
|
759
|
+
placeholder: string;
|
|
760
|
+
styles?: string;
|
|
761
|
+
limit?: number;
|
|
762
|
+
}
|
|
763
763
|
declare function Tags({ placeholder, styles, limit, ...props }: TagsProps & FieldHookConfig<string[]>): react_jsx_runtime.JSX.Element;
|
|
764
764
|
|
|
765
|
-
type TextAreaProps = FieldHookConfig<string> & {
|
|
766
|
-
name: string;
|
|
767
|
-
placeholder: string;
|
|
768
|
-
limit
|
|
769
|
-
styles?: string;
|
|
770
|
-
shape?: keyof typeof Shape;
|
|
771
|
-
};
|
|
765
|
+
type TextAreaProps = FieldHookConfig<string> & {
|
|
766
|
+
name: string;
|
|
767
|
+
placeholder: string;
|
|
768
|
+
limit?: number;
|
|
769
|
+
styles?: string;
|
|
770
|
+
shape?: keyof typeof Shape;
|
|
771
|
+
};
|
|
772
772
|
declare function TextArea({ placeholder, limit, styles, shape, ...props }: TextAreaProps): react_jsx_runtime.JSX.Element;
|
|
773
773
|
|
|
774
|
-
interface EUIComponentDefaults {
|
|
775
|
-
variant?: keyof typeof Variant;
|
|
776
|
-
size?: keyof typeof Size;
|
|
777
|
-
shape?: keyof typeof Shape;
|
|
778
|
-
styles?: string;
|
|
779
|
-
}
|
|
780
|
-
interface EUIRoute {
|
|
781
|
-
path: string;
|
|
782
|
-
name: string;
|
|
783
|
-
}
|
|
784
|
-
interface EUIConfigs {
|
|
785
|
-
global?: EUIComponentDefaults;
|
|
786
|
-
routes?: EUIRoute[];
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
interface EUIContextValue {
|
|
790
|
-
config: EUIConfigs;
|
|
791
|
-
setConfig: React$1.Dispatch<React$1.SetStateAction<EUIConfigs>>;
|
|
792
|
-
}
|
|
793
|
-
declare const EUIProvider: ({ config, children, }: {
|
|
794
|
-
config: EUIConfigs;
|
|
795
|
-
children: React$1.ReactNode;
|
|
796
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
774
|
+
interface EUIComponentDefaults {
|
|
775
|
+
variant?: keyof typeof Variant;
|
|
776
|
+
size?: keyof typeof Size;
|
|
777
|
+
shape?: keyof typeof Shape;
|
|
778
|
+
styles?: string;
|
|
779
|
+
}
|
|
780
|
+
interface EUIRoute {
|
|
781
|
+
path: string;
|
|
782
|
+
name: string;
|
|
783
|
+
}
|
|
784
|
+
interface EUIConfigs {
|
|
785
|
+
global?: EUIComponentDefaults;
|
|
786
|
+
routes?: EUIRoute[];
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
interface EUIContextValue {
|
|
790
|
+
config: EUIConfigs;
|
|
791
|
+
setConfig: React$1.Dispatch<React$1.SetStateAction<EUIConfigs>>;
|
|
792
|
+
}
|
|
793
|
+
declare const EUIProvider: ({ config, children, }: {
|
|
794
|
+
config: EUIConfigs;
|
|
795
|
+
children: React$1.ReactNode;
|
|
796
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
797
797
|
declare const useEUIConfig: () => EUIContextValue;
|
|
798
798
|
|
|
799
799
|
declare function resolveWithGlobal<T>(config: EUIConfigs | null, props: T, defaults: Partial<T>): T;
|
|
800
800
|
|
|
801
|
-
interface BackdropProps {
|
|
802
|
-
children?: React$1.ReactNode;
|
|
803
|
-
styles?: string;
|
|
804
|
-
}
|
|
801
|
+
interface BackdropProps {
|
|
802
|
+
children?: React$1.ReactNode;
|
|
803
|
+
styles?: string;
|
|
804
|
+
}
|
|
805
805
|
declare const Backdrop: ({ children, styles }: BackdropProps) => react_jsx_runtime.JSX.Element;
|
|
806
806
|
|
|
807
|
-
interface SkeletonProps extends BaseComponentProps {
|
|
808
|
-
children?: React$1.ReactNode;
|
|
809
|
-
}
|
|
807
|
+
interface SkeletonProps extends BaseComponentProps {
|
|
808
|
+
children?: React$1.ReactNode;
|
|
809
|
+
}
|
|
810
810
|
declare const Skeleton: ({ children, className, ...rest }: SkeletonProps) => react_jsx_runtime.JSX.Element;
|
|
811
811
|
|
|
812
|
-
declare function sendToast(data?: {
|
|
813
|
-
status: string;
|
|
814
|
-
message: string;
|
|
815
|
-
}): void;
|
|
812
|
+
declare function sendToast(data?: {
|
|
813
|
+
status: string;
|
|
814
|
+
message: string;
|
|
815
|
+
}): void;
|
|
816
816
|
declare function Toast(): react_jsx_runtime.JSX.Element;
|
|
817
817
|
|
|
818
|
-
interface TransitionDropdownProps$1 {
|
|
819
|
-
visibility: any;
|
|
820
|
-
children?: ReactNode;
|
|
821
|
-
}
|
|
818
|
+
interface TransitionDropdownProps$1 {
|
|
819
|
+
visibility: any;
|
|
820
|
+
children?: ReactNode;
|
|
821
|
+
}
|
|
822
822
|
declare function TransitionDropdown({ visibility, children }: TransitionDropdownProps$1): react_jsx_runtime.JSX.Element;
|
|
823
823
|
|
|
824
|
-
interface TransitionDropdownProps {
|
|
825
|
-
visibility: any;
|
|
826
|
-
children?: ReactNode;
|
|
827
|
-
}
|
|
824
|
+
interface TransitionDropdownProps {
|
|
825
|
+
visibility: any;
|
|
826
|
+
children?: ReactNode;
|
|
827
|
+
}
|
|
828
828
|
declare function TransitionFadeIn({ visibility, children }: TransitionDropdownProps): react_jsx_runtime.JSX.Element;
|
|
829
829
|
|
|
830
|
-
declare const Transition: {
|
|
831
|
-
TransitionDropdown: typeof TransitionDropdown;
|
|
832
|
-
TransitionFadeIn: typeof TransitionFadeIn;
|
|
830
|
+
declare const Transition: {
|
|
831
|
+
TransitionDropdown: typeof TransitionDropdown;
|
|
832
|
+
TransitionFadeIn: typeof TransitionFadeIn;
|
|
833
833
|
};
|
|
834
834
|
|
|
835
|
-
interface ContentAreaProps {
|
|
836
|
-
children?: ReactNode;
|
|
837
|
-
styles?: string;
|
|
838
|
-
enablePadding?: boolean;
|
|
839
|
-
}
|
|
835
|
+
interface ContentAreaProps {
|
|
836
|
+
children?: ReactNode;
|
|
837
|
+
styles?: string;
|
|
838
|
+
enablePadding?: boolean;
|
|
839
|
+
}
|
|
840
840
|
declare function ContentArea({ children, styles, enablePadding, }: ContentAreaProps): react_jsx_runtime.JSX.Element;
|
|
841
841
|
|
|
842
|
-
interface FlexColProps$1 {
|
|
843
|
-
children?: React$1.ReactNode;
|
|
844
|
-
gap?: number;
|
|
845
|
-
styles?: string;
|
|
846
|
-
}
|
|
842
|
+
interface FlexColProps$1 {
|
|
843
|
+
children?: React$1.ReactNode;
|
|
844
|
+
gap?: number;
|
|
845
|
+
styles?: string;
|
|
846
|
+
}
|
|
847
847
|
declare function FlexCol({ children, gap, styles }: FlexColProps$1): react_jsx_runtime.JSX.Element;
|
|
848
848
|
|
|
849
|
-
interface FlexColProps {
|
|
850
|
-
children?: React$1.ReactNode;
|
|
851
|
-
gap?: number;
|
|
852
|
-
styles?: string;
|
|
853
|
-
}
|
|
849
|
+
interface FlexColProps {
|
|
850
|
+
children?: React$1.ReactNode;
|
|
851
|
+
gap?: number;
|
|
852
|
+
styles?: string;
|
|
853
|
+
}
|
|
854
854
|
declare function FlexRow({ children, gap, styles }: FlexColProps): react_jsx_runtime.JSX.Element;
|
|
855
855
|
|
|
856
|
-
declare const Flex: {
|
|
857
|
-
FlexCol: typeof FlexCol;
|
|
858
|
-
FlexRow: typeof FlexRow;
|
|
856
|
+
declare const Flex: {
|
|
857
|
+
FlexCol: typeof FlexCol;
|
|
858
|
+
FlexRow: typeof FlexRow;
|
|
859
859
|
};
|
|
860
860
|
|
|
861
|
-
interface GridProps {
|
|
862
|
-
children?: React$1.ReactNode;
|
|
863
|
-
styles?: string;
|
|
864
|
-
}
|
|
861
|
+
interface GridProps {
|
|
862
|
+
children?: React$1.ReactNode;
|
|
863
|
+
styles?: string;
|
|
864
|
+
}
|
|
865
865
|
declare function Grid({ children, styles }: GridProps): react_jsx_runtime.JSX.Element;
|
|
866
866
|
|
|
867
|
-
interface LayoutProps {
|
|
868
|
-
flexDirection?: "vertical" | "horizontal";
|
|
869
|
-
children?: React$1.ReactNode;
|
|
870
|
-
styles?: string;
|
|
871
|
-
}
|
|
867
|
+
interface LayoutProps {
|
|
868
|
+
flexDirection?: "vertical" | "horizontal";
|
|
869
|
+
children?: React$1.ReactNode;
|
|
870
|
+
styles?: string;
|
|
871
|
+
}
|
|
872
872
|
declare const Layout: ({ flexDirection, children, styles, }: LayoutProps) => react_jsx_runtime.JSX.Element;
|
|
873
873
|
|
|
874
|
-
interface HeaderProps {
|
|
875
|
-
position?: "static" | "fixed" | "sticky";
|
|
876
|
-
children?: React$1.ReactNode;
|
|
877
|
-
styles?: string;
|
|
878
|
-
}
|
|
874
|
+
interface HeaderProps {
|
|
875
|
+
position?: "static" | "fixed" | "sticky";
|
|
876
|
+
children?: React$1.ReactNode;
|
|
877
|
+
styles?: string;
|
|
878
|
+
}
|
|
879
879
|
declare const Header: ({ position, children, styles, }: HeaderProps) => react_jsx_runtime.JSX.Element;
|
|
880
880
|
|
|
881
|
-
interface ContentProps {
|
|
882
|
-
children?: React$1.ReactNode;
|
|
883
|
-
overlayedSidebar?: boolean;
|
|
884
|
-
sidebarVisible?: boolean;
|
|
885
|
-
styles?: string;
|
|
886
|
-
}
|
|
881
|
+
interface ContentProps {
|
|
882
|
+
children?: React$1.ReactNode;
|
|
883
|
+
overlayedSidebar?: boolean;
|
|
884
|
+
sidebarVisible?: boolean;
|
|
885
|
+
styles?: string;
|
|
886
|
+
}
|
|
887
887
|
declare const Content: ({ sidebarVisible, overlayedSidebar, children, styles, }: ContentProps) => react_jsx_runtime.JSX.Element;
|
|
888
888
|
|
|
889
|
-
interface FooterProps {
|
|
890
|
-
children?: React$1.ReactNode;
|
|
891
|
-
styles?: string;
|
|
892
|
-
}
|
|
889
|
+
interface FooterProps {
|
|
890
|
+
children?: React$1.ReactNode;
|
|
891
|
+
styles?: string;
|
|
892
|
+
}
|
|
893
893
|
declare const Footer: ({ children, styles }: FooterProps) => react_jsx_runtime.JSX.Element;
|
|
894
894
|
|
|
895
|
-
interface BlockProps extends BaseComponentProps {
|
|
896
|
-
title?: string;
|
|
897
|
-
description?: string;
|
|
898
|
-
required?: boolean;
|
|
899
|
-
layout?: ListDirection;
|
|
900
|
-
labelWidth?: string;
|
|
901
|
-
children: React$1.ReactNode;
|
|
902
|
-
}
|
|
895
|
+
interface BlockProps extends BaseComponentProps {
|
|
896
|
+
title?: string;
|
|
897
|
+
description?: string;
|
|
898
|
+
required?: boolean;
|
|
899
|
+
layout?: ListDirection;
|
|
900
|
+
labelWidth?: string;
|
|
901
|
+
children: React$1.ReactNode;
|
|
902
|
+
}
|
|
903
903
|
declare function Block({ title, description, required, layout, labelWidth, children, className, ...rest }: BlockProps): react_jsx_runtime.JSX.Element;
|
|
904
904
|
|
|
905
|
-
interface BlockGroupProps extends BaseComponentProps {
|
|
906
|
-
title?: string;
|
|
907
|
-
description?: string;
|
|
908
|
-
children: React$1.ReactNode;
|
|
909
|
-
noDivider?: boolean;
|
|
910
|
-
}
|
|
905
|
+
interface BlockGroupProps extends BaseComponentProps {
|
|
906
|
+
title?: string;
|
|
907
|
+
description?: string;
|
|
908
|
+
children: React$1.ReactNode;
|
|
909
|
+
noDivider?: boolean;
|
|
910
|
+
}
|
|
911
911
|
declare function BlockGroup({ title, description, children, noDivider, className, ...rest }: BlockGroupProps): react_jsx_runtime.JSX.Element;
|
|
912
912
|
|
|
913
|
-
interface MarkdownEditorProps {
|
|
914
|
-
placeholder?: string;
|
|
915
|
-
styles?: string;
|
|
916
|
-
}
|
|
913
|
+
interface MarkdownEditorProps {
|
|
914
|
+
placeholder?: string;
|
|
915
|
+
styles?: string;
|
|
916
|
+
}
|
|
917
917
|
declare function MarkdownEditor({ styles, ...props }: MarkdownEditorProps & FieldHookConfig<string>): react_jsx_runtime.JSX.Element;
|
|
918
918
|
|
|
919
|
-
interface MarkdownTOCProps {
|
|
920
|
-
title?: string;
|
|
921
|
-
}
|
|
919
|
+
interface MarkdownTOCProps {
|
|
920
|
+
title?: string;
|
|
921
|
+
}
|
|
922
922
|
declare function MarkdownTOC({ title }: MarkdownTOCProps): react_jsx_runtime.JSX.Element | null;
|
|
923
923
|
|
|
924
|
-
interface MarkdownViewerProps {
|
|
925
|
-
value?: string;
|
|
926
|
-
}
|
|
924
|
+
interface MarkdownViewerProps {
|
|
925
|
+
value?: string;
|
|
926
|
+
}
|
|
927
927
|
declare function MarkdownViewer({ value }: MarkdownViewerProps): react_jsx_runtime.JSX.Element;
|
|
928
928
|
|
|
929
|
-
interface MarkdownProviderProps {
|
|
930
|
-
markdown: string;
|
|
931
|
-
children: React$1.ReactNode;
|
|
932
|
-
}
|
|
929
|
+
interface MarkdownProviderProps {
|
|
930
|
+
markdown: string;
|
|
931
|
+
children: React$1.ReactNode;
|
|
932
|
+
}
|
|
933
933
|
declare function MarkdownProvider({ markdown, children }: MarkdownProviderProps): react_jsx_runtime.JSX.Element;
|
|
934
934
|
|
|
935
|
-
interface I_ItemType {
|
|
936
|
-
title: string;
|
|
937
|
-
href: string;
|
|
938
|
-
}
|
|
939
|
-
interface RouteConfig {
|
|
940
|
-
path: string;
|
|
941
|
-
name: string;
|
|
942
|
-
}
|
|
943
|
-
interface BreadcrumbProps {
|
|
944
|
-
gap?: number;
|
|
945
|
-
seperator?: string;
|
|
946
|
-
data?: I_ItemType[];
|
|
947
|
-
routes?: RouteConfig[];
|
|
948
|
-
currentPath?: string;
|
|
949
|
-
navigate?: (path: string) => void;
|
|
950
|
-
styles?: string;
|
|
951
|
-
}
|
|
935
|
+
interface I_ItemType {
|
|
936
|
+
title: string;
|
|
937
|
+
href: string;
|
|
938
|
+
}
|
|
939
|
+
interface RouteConfig {
|
|
940
|
+
path: string;
|
|
941
|
+
name: string;
|
|
942
|
+
}
|
|
943
|
+
interface BreadcrumbProps {
|
|
944
|
+
gap?: number;
|
|
945
|
+
seperator?: string;
|
|
946
|
+
data?: I_ItemType[];
|
|
947
|
+
routes?: RouteConfig[];
|
|
948
|
+
currentPath?: string;
|
|
949
|
+
navigate?: (path: string) => void;
|
|
950
|
+
styles?: string;
|
|
951
|
+
}
|
|
952
952
|
declare const Breadcrumb: ({ gap, seperator, data, routes, currentPath, navigate, styles, }: BreadcrumbProps) => react_jsx_runtime.JSX.Element;
|
|
953
953
|
|
|
954
|
-
interface BreadcrumbItemProps {
|
|
955
|
-
title: string;
|
|
956
|
-
href: string;
|
|
957
|
-
active: boolean;
|
|
958
|
-
onClick?: (e: React$1.MouseEvent<HTMLAnchorElement>) => void;
|
|
959
|
-
}
|
|
954
|
+
interface BreadcrumbItemProps {
|
|
955
|
+
title: string;
|
|
956
|
+
href: string;
|
|
957
|
+
active: boolean;
|
|
958
|
+
onClick?: (e: React$1.MouseEvent<HTMLAnchorElement>) => void;
|
|
959
|
+
}
|
|
960
960
|
declare function BreadcrumbItem({ title, href, active, onClick, }: BreadcrumbItemProps): react_jsx_runtime.JSX.Element;
|
|
961
961
|
|
|
962
|
-
interface DrawerProps {
|
|
963
|
-
children?: React$1.ReactNode;
|
|
964
|
-
visibility: boolean;
|
|
965
|
-
side?: "left" | "right" | "top" | "bottom";
|
|
966
|
-
handleClose: () => void;
|
|
967
|
-
styles?: string;
|
|
968
|
-
}
|
|
962
|
+
interface DrawerProps {
|
|
963
|
+
children?: React$1.ReactNode;
|
|
964
|
+
visibility: boolean;
|
|
965
|
+
side?: "left" | "right" | "top" | "bottom";
|
|
966
|
+
handleClose: () => void;
|
|
967
|
+
styles?: string;
|
|
968
|
+
}
|
|
969
969
|
declare const Drawer: ({ children, visibility, side, handleClose, styles, }: DrawerProps) => react_jsx_runtime.JSX.Element;
|
|
970
970
|
|
|
971
|
-
interface DrawerTogglerProps {
|
|
972
|
-
icon?: ReactNode;
|
|
973
|
-
toggleDrawer?: () => void;
|
|
974
|
-
styles?: string;
|
|
975
|
-
}
|
|
971
|
+
interface DrawerTogglerProps {
|
|
972
|
+
icon?: ReactNode;
|
|
973
|
+
toggleDrawer?: () => void;
|
|
974
|
+
styles?: string;
|
|
975
|
+
}
|
|
976
976
|
declare function DrawerToggler({ icon, toggleDrawer, styles, }: DrawerTogglerProps): react_jsx_runtime.JSX.Element;
|
|
977
977
|
|
|
978
|
-
interface I_FooterNavItem {
|
|
979
|
-
component: any;
|
|
980
|
-
icon?: React$1.ReactNode;
|
|
981
|
-
name: string;
|
|
982
|
-
badge?: React$1.ReactNode;
|
|
983
|
-
to?: string;
|
|
984
|
-
onClick?: () => void;
|
|
985
|
-
}
|
|
986
|
-
interface I_FooterNavGroup {
|
|
987
|
-
component: any;
|
|
988
|
-
icon?: React$1.ReactNode;
|
|
989
|
-
name: string;
|
|
990
|
-
badge?: React$1.ReactNode;
|
|
991
|
-
to?: string;
|
|
992
|
-
items: I_FooterNavItem[];
|
|
993
|
-
}
|
|
994
|
-
type FooterDataItemProps = I_FooterNavItem | I_FooterNavGroup;
|
|
995
|
-
interface FooterNavProps {
|
|
996
|
-
data: FooterDataItemProps[];
|
|
997
|
-
styles?: string;
|
|
998
|
-
}
|
|
978
|
+
interface I_FooterNavItem {
|
|
979
|
+
component: any;
|
|
980
|
+
icon?: React$1.ReactNode;
|
|
981
|
+
name: string;
|
|
982
|
+
badge?: React$1.ReactNode;
|
|
983
|
+
to?: string;
|
|
984
|
+
onClick?: () => void;
|
|
985
|
+
}
|
|
986
|
+
interface I_FooterNavGroup {
|
|
987
|
+
component: any;
|
|
988
|
+
icon?: React$1.ReactNode;
|
|
989
|
+
name: string;
|
|
990
|
+
badge?: React$1.ReactNode;
|
|
991
|
+
to?: string;
|
|
992
|
+
items: I_FooterNavItem[];
|
|
993
|
+
}
|
|
994
|
+
type FooterDataItemProps = I_FooterNavItem | I_FooterNavGroup;
|
|
995
|
+
interface FooterNavProps {
|
|
996
|
+
data: FooterDataItemProps[];
|
|
997
|
+
styles?: string;
|
|
998
|
+
}
|
|
999
999
|
declare function FooterNav({ data, styles }: FooterNavProps): react_jsx_runtime.JSX.Element;
|
|
1000
1000
|
|
|
1001
|
-
interface FooterNavGroupProps {
|
|
1002
|
-
icon?: React$1.ReactNode;
|
|
1003
|
-
name: string;
|
|
1004
|
-
description: string;
|
|
1005
|
-
badge?: React$1.ReactNode;
|
|
1006
|
-
to?: string;
|
|
1007
|
-
children: React$1.ReactNode;
|
|
1008
|
-
styles?: string;
|
|
1009
|
-
}
|
|
1001
|
+
interface FooterNavGroupProps {
|
|
1002
|
+
icon?: React$1.ReactNode;
|
|
1003
|
+
name: string;
|
|
1004
|
+
description: string;
|
|
1005
|
+
badge?: React$1.ReactNode;
|
|
1006
|
+
to?: string;
|
|
1007
|
+
children: React$1.ReactNode;
|
|
1008
|
+
styles?: string;
|
|
1009
|
+
}
|
|
1010
1010
|
declare const FooterNavGroup: ({ icon, name, description, badge, to, styles, children, }: FooterNavGroupProps) => react_jsx_runtime.JSX.Element;
|
|
1011
1011
|
|
|
1012
|
-
interface FooterNavItemProps {
|
|
1013
|
-
icon?: React$1.ReactNode;
|
|
1014
|
-
name: string;
|
|
1015
|
-
description: string;
|
|
1016
|
-
badge?: React$1.ReactNode;
|
|
1017
|
-
to?: string;
|
|
1018
|
-
onClick?: () => void;
|
|
1019
|
-
styles?: string;
|
|
1020
|
-
}
|
|
1012
|
+
interface FooterNavItemProps {
|
|
1013
|
+
icon?: React$1.ReactNode;
|
|
1014
|
+
name: string;
|
|
1015
|
+
description: string;
|
|
1016
|
+
badge?: React$1.ReactNode;
|
|
1017
|
+
to?: string;
|
|
1018
|
+
onClick?: () => void;
|
|
1019
|
+
styles?: string;
|
|
1020
|
+
}
|
|
1021
1021
|
declare const FooterNavItem: ({ icon, name, description, badge, to, onClick, styles, }: FooterNavItemProps) => react_jsx_runtime.JSX.Element;
|
|
1022
1022
|
|
|
1023
|
-
interface FooterNavItemTitleProps {
|
|
1024
|
-
icon?: React$1.ReactNode;
|
|
1025
|
-
name: string;
|
|
1026
|
-
description: string;
|
|
1027
|
-
badge?: React$1.ReactNode;
|
|
1028
|
-
styles?: string;
|
|
1029
|
-
}
|
|
1023
|
+
interface FooterNavItemTitleProps {
|
|
1024
|
+
icon?: React$1.ReactNode;
|
|
1025
|
+
name: string;
|
|
1026
|
+
description: string;
|
|
1027
|
+
badge?: React$1.ReactNode;
|
|
1028
|
+
styles?: string;
|
|
1029
|
+
}
|
|
1030
1030
|
declare const FooterNavItemTitle: ({ icon, name, description, badge, styles, }: FooterNavItemTitleProps) => react_jsx_runtime.JSX.Element;
|
|
1031
1031
|
|
|
1032
|
-
interface FooterNavItemContextProps {
|
|
1033
|
-
icon?: React$1.ReactNode;
|
|
1034
|
-
name: string;
|
|
1035
|
-
description: string;
|
|
1036
|
-
badge?: React$1.ReactNode;
|
|
1037
|
-
}
|
|
1032
|
+
interface FooterNavItemContextProps {
|
|
1033
|
+
icon?: React$1.ReactNode;
|
|
1034
|
+
name: string;
|
|
1035
|
+
description: string;
|
|
1036
|
+
badge?: React$1.ReactNode;
|
|
1037
|
+
}
|
|
1038
1038
|
declare const FooterNavItemContext: ({ icon, name, description, badge, }: FooterNavItemContextProps) => react_jsx_runtime.JSX.Element;
|
|
1039
1039
|
|
|
1040
|
-
interface I_HeaderNavItem {
|
|
1041
|
-
component: any;
|
|
1042
|
-
icon?: React$1.ReactNode;
|
|
1043
|
-
name: string;
|
|
1044
|
-
badge?: React$1.ReactNode;
|
|
1045
|
-
to?: string;
|
|
1046
|
-
onClick?: () => void;
|
|
1047
|
-
}
|
|
1048
|
-
interface I_HeaderNavGroup {
|
|
1049
|
-
component: any;
|
|
1050
|
-
icon?: React$1.ReactNode;
|
|
1051
|
-
name: string;
|
|
1052
|
-
badge?: React$1.ReactNode;
|
|
1053
|
-
to?: string;
|
|
1054
|
-
items: I_HeaderNavItem[];
|
|
1055
|
-
}
|
|
1056
|
-
type HeaderDataItemProps = I_HeaderNavItem | I_HeaderNavGroup;
|
|
1057
|
-
interface HeaderNavProps {
|
|
1058
|
-
data: HeaderDataItemProps[];
|
|
1059
|
-
styles?: string;
|
|
1060
|
-
}
|
|
1040
|
+
interface I_HeaderNavItem {
|
|
1041
|
+
component: any;
|
|
1042
|
+
icon?: React$1.ReactNode;
|
|
1043
|
+
name: string;
|
|
1044
|
+
badge?: React$1.ReactNode;
|
|
1045
|
+
to?: string;
|
|
1046
|
+
onClick?: () => void;
|
|
1047
|
+
}
|
|
1048
|
+
interface I_HeaderNavGroup {
|
|
1049
|
+
component: any;
|
|
1050
|
+
icon?: React$1.ReactNode;
|
|
1051
|
+
name: string;
|
|
1052
|
+
badge?: React$1.ReactNode;
|
|
1053
|
+
to?: string;
|
|
1054
|
+
items: I_HeaderNavItem[];
|
|
1055
|
+
}
|
|
1056
|
+
type HeaderDataItemProps = I_HeaderNavItem | I_HeaderNavGroup;
|
|
1057
|
+
interface HeaderNavProps {
|
|
1058
|
+
data: HeaderDataItemProps[];
|
|
1059
|
+
styles?: string;
|
|
1060
|
+
}
|
|
1061
1061
|
declare function HeaderNav({ data, styles }: HeaderNavProps): react_jsx_runtime.JSX.Element;
|
|
1062
1062
|
|
|
1063
|
-
interface HeaderNavGroupProps {
|
|
1064
|
-
icon?: React$1.ReactNode;
|
|
1065
|
-
name: string;
|
|
1066
|
-
description: string;
|
|
1067
|
-
badge?: React$1.ReactNode;
|
|
1068
|
-
to?: string;
|
|
1069
|
-
children: React$1.ReactNode;
|
|
1070
|
-
styles?: string;
|
|
1071
|
-
}
|
|
1063
|
+
interface HeaderNavGroupProps {
|
|
1064
|
+
icon?: React$1.ReactNode;
|
|
1065
|
+
name: string;
|
|
1066
|
+
description: string;
|
|
1067
|
+
badge?: React$1.ReactNode;
|
|
1068
|
+
to?: string;
|
|
1069
|
+
children: React$1.ReactNode;
|
|
1070
|
+
styles?: string;
|
|
1071
|
+
}
|
|
1072
1072
|
declare const HeaderNavGroup: ({ icon, name, description, badge, to, styles, children, }: HeaderNavGroupProps) => react_jsx_runtime.JSX.Element;
|
|
1073
1073
|
|
|
1074
|
-
interface HeaderNavItemProps {
|
|
1075
|
-
icon?: React$1.ReactNode;
|
|
1076
|
-
name: string;
|
|
1077
|
-
description: string;
|
|
1078
|
-
badge?: React$1.ReactNode;
|
|
1079
|
-
to?: string;
|
|
1080
|
-
onClick?: () => void;
|
|
1081
|
-
styles?: string;
|
|
1082
|
-
}
|
|
1074
|
+
interface HeaderNavItemProps {
|
|
1075
|
+
icon?: React$1.ReactNode;
|
|
1076
|
+
name: string;
|
|
1077
|
+
description: string;
|
|
1078
|
+
badge?: React$1.ReactNode;
|
|
1079
|
+
to?: string;
|
|
1080
|
+
onClick?: () => void;
|
|
1081
|
+
styles?: string;
|
|
1082
|
+
}
|
|
1083
1083
|
declare const HeaderNavItem: ({ icon, name, description, badge, to, onClick, styles, }: HeaderNavItemProps) => react_jsx_runtime.JSX.Element;
|
|
1084
1084
|
|
|
1085
|
-
interface HeaderNavItemTitleProps {
|
|
1086
|
-
icon?: React$1.ReactNode;
|
|
1087
|
-
name: string;
|
|
1088
|
-
description: string;
|
|
1089
|
-
badge?: React$1.ReactNode;
|
|
1090
|
-
styles?: string;
|
|
1091
|
-
}
|
|
1085
|
+
interface HeaderNavItemTitleProps {
|
|
1086
|
+
icon?: React$1.ReactNode;
|
|
1087
|
+
name: string;
|
|
1088
|
+
description: string;
|
|
1089
|
+
badge?: React$1.ReactNode;
|
|
1090
|
+
styles?: string;
|
|
1091
|
+
}
|
|
1092
1092
|
declare const HeaderNavItemTitle: ({ icon, name, description, badge, styles, }: HeaderNavItemTitleProps) => react_jsx_runtime.JSX.Element;
|
|
1093
1093
|
|
|
1094
|
-
interface HeaderNavItemContextProps {
|
|
1095
|
-
icon?: React$1.ReactNode;
|
|
1096
|
-
name: string;
|
|
1097
|
-
description: string;
|
|
1098
|
-
badge?: React$1.ReactNode;
|
|
1099
|
-
}
|
|
1094
|
+
interface HeaderNavItemContextProps {
|
|
1095
|
+
icon?: React$1.ReactNode;
|
|
1096
|
+
name: string;
|
|
1097
|
+
description: string;
|
|
1098
|
+
badge?: React$1.ReactNode;
|
|
1099
|
+
}
|
|
1100
1100
|
declare const HeaderNavItemContext: ({ icon, name, description, badge, }: HeaderNavItemContextProps) => react_jsx_runtime.JSX.Element;
|
|
1101
1101
|
|
|
1102
|
-
interface LinkProps {
|
|
1103
|
-
children?: string;
|
|
1104
|
-
href?: string;
|
|
1105
|
-
target?: keyof typeof Target;
|
|
1106
|
-
variant?: keyof typeof TextVariant;
|
|
1107
|
-
styles?: string;
|
|
1108
|
-
decoration?: keyof typeof Decoration;
|
|
1109
|
-
bold?: boolean;
|
|
1110
|
-
italic?: boolean;
|
|
1111
|
-
onClick?: () => void;
|
|
1112
|
-
}
|
|
1102
|
+
interface LinkProps {
|
|
1103
|
+
children?: string;
|
|
1104
|
+
href?: string;
|
|
1105
|
+
target?: keyof typeof Target;
|
|
1106
|
+
variant?: keyof typeof TextVariant;
|
|
1107
|
+
styles?: string;
|
|
1108
|
+
decoration?: keyof typeof Decoration;
|
|
1109
|
+
bold?: boolean;
|
|
1110
|
+
italic?: boolean;
|
|
1111
|
+
onClick?: () => void;
|
|
1112
|
+
}
|
|
1113
1113
|
declare const Link: ({ children, href, target, variant, decoration, bold, italic, styles, onClick, }: LinkProps) => react_jsx_runtime.JSX.Element;
|
|
1114
1114
|
|
|
1115
|
-
type MenuElementType = "item" | "group" | "title";
|
|
1116
|
-
interface BaseMenuNode {
|
|
1117
|
-
key?: string;
|
|
1118
|
-
name: string;
|
|
1119
|
-
icon?: React$1.ReactNode;
|
|
1120
|
-
badge?: React$1.ReactNode;
|
|
1121
|
-
className?: string;
|
|
1122
|
-
component?: React$1.ElementType;
|
|
1123
|
-
}
|
|
1124
|
-
interface MenuItemNode extends BaseMenuNode {
|
|
1125
|
-
type: "item";
|
|
1126
|
-
to?: string;
|
|
1127
|
-
navigate?: (to: string) => void;
|
|
1128
|
-
onClick?: (e: React$1.MouseEvent<HTMLDivElement>) => void;
|
|
1129
|
-
}
|
|
1130
|
-
interface MenuGroupNode extends BaseMenuNode {
|
|
1131
|
-
type: "group";
|
|
1132
|
-
items: MenuNode[];
|
|
1133
|
-
}
|
|
1134
|
-
interface MenuTitleNode extends BaseMenuNode {
|
|
1135
|
-
type: "title";
|
|
1136
|
-
}
|
|
1137
|
-
type MenuNode = MenuItemNode | MenuGroupNode | MenuTitleNode;
|
|
1138
|
-
interface DefaultMenuElements {
|
|
1139
|
-
item?: React$1.ElementType;
|
|
1140
|
-
group?: React$1.ElementType;
|
|
1141
|
-
title?: React$1.ElementType;
|
|
1142
|
-
}
|
|
1143
|
-
interface MenuProps {
|
|
1144
|
-
items: MenuNode[];
|
|
1145
|
-
defaultMenuElements?: DefaultMenuElements;
|
|
1146
|
-
className?: string;
|
|
1147
|
-
navigate?: (to: string) => void;
|
|
1148
|
-
currentPath?: string;
|
|
1115
|
+
type MenuElementType = "item" | "group" | "title";
|
|
1116
|
+
interface BaseMenuNode {
|
|
1117
|
+
key?: string;
|
|
1118
|
+
name: string;
|
|
1119
|
+
icon?: React$1.ReactNode;
|
|
1120
|
+
badge?: React$1.ReactNode;
|
|
1121
|
+
className?: string;
|
|
1122
|
+
component?: React$1.ElementType;
|
|
1123
|
+
}
|
|
1124
|
+
interface MenuItemNode extends BaseMenuNode {
|
|
1125
|
+
type: "item";
|
|
1126
|
+
to?: string;
|
|
1127
|
+
navigate?: (to: string) => void;
|
|
1128
|
+
onClick?: (e: React$1.MouseEvent<HTMLDivElement>) => void;
|
|
1129
|
+
}
|
|
1130
|
+
interface MenuGroupNode extends BaseMenuNode {
|
|
1131
|
+
type: "group";
|
|
1132
|
+
items: MenuNode[];
|
|
1133
|
+
}
|
|
1134
|
+
interface MenuTitleNode extends BaseMenuNode {
|
|
1135
|
+
type: "title";
|
|
1136
|
+
}
|
|
1137
|
+
type MenuNode = MenuItemNode | MenuGroupNode | MenuTitleNode;
|
|
1138
|
+
interface DefaultMenuElements {
|
|
1139
|
+
item?: React$1.ElementType;
|
|
1140
|
+
group?: React$1.ElementType;
|
|
1141
|
+
title?: React$1.ElementType;
|
|
1142
|
+
}
|
|
1143
|
+
interface MenuProps {
|
|
1144
|
+
items: MenuNode[];
|
|
1145
|
+
defaultMenuElements?: DefaultMenuElements;
|
|
1146
|
+
className?: string;
|
|
1147
|
+
navigate?: (to: string) => void;
|
|
1148
|
+
currentPath?: string;
|
|
1149
1149
|
}
|
|
1150
1150
|
|
|
1151
1151
|
declare const Menu: ({ items, className, navigate, defaultMenuElements, currentPath, }: MenuProps) => react_jsx_runtime.JSX.Element;
|
|
1152
1152
|
|
|
1153
|
-
interface MenuGroupProps extends BaseComponentProps {
|
|
1154
|
-
icon?: React$1.ReactNode;
|
|
1155
|
-
name: string;
|
|
1156
|
-
badge?: React$1.ReactNode;
|
|
1157
|
-
to?: string;
|
|
1158
|
-
children: React$1.ReactNode;
|
|
1159
|
-
defaultOpen?: boolean;
|
|
1160
|
-
}
|
|
1153
|
+
interface MenuGroupProps extends BaseComponentProps {
|
|
1154
|
+
icon?: React$1.ReactNode;
|
|
1155
|
+
name: string;
|
|
1156
|
+
badge?: React$1.ReactNode;
|
|
1157
|
+
to?: string;
|
|
1158
|
+
children: React$1.ReactNode;
|
|
1159
|
+
defaultOpen?: boolean;
|
|
1160
|
+
}
|
|
1161
1161
|
declare const MenuGroup: ({ icon, name, badge, children, defaultOpen, className, style, ...rest }: MenuGroupProps) => react_jsx_runtime.JSX.Element;
|
|
1162
1162
|
|
|
1163
|
-
interface MenuItemProps extends BaseComponentProps {
|
|
1164
|
-
icon?: React$1.ReactNode;
|
|
1165
|
-
name: string;
|
|
1166
|
-
badge?: React$1.ReactNode;
|
|
1167
|
-
to?: string;
|
|
1168
|
-
navigate?: (to: string) => void;
|
|
1169
|
-
}
|
|
1163
|
+
interface MenuItemProps extends BaseComponentProps {
|
|
1164
|
+
icon?: React$1.ReactNode;
|
|
1165
|
+
name: string;
|
|
1166
|
+
badge?: React$1.ReactNode;
|
|
1167
|
+
to?: string;
|
|
1168
|
+
navigate?: (to: string) => void;
|
|
1169
|
+
}
|
|
1170
1170
|
declare const MenuItem: ({ icon, name, badge, to, navigate, className, onClick, ...rest }: MenuItemProps) => react_jsx_runtime.JSX.Element;
|
|
1171
1171
|
|
|
1172
|
-
interface MenuItemTitleProps extends BaseComponentProps {
|
|
1173
|
-
icon?: React$1.ReactNode;
|
|
1174
|
-
name: string;
|
|
1175
|
-
badge?: React$1.ReactNode;
|
|
1176
|
-
}
|
|
1172
|
+
interface MenuItemTitleProps extends BaseComponentProps {
|
|
1173
|
+
icon?: React$1.ReactNode;
|
|
1174
|
+
name: string;
|
|
1175
|
+
badge?: React$1.ReactNode;
|
|
1176
|
+
}
|
|
1177
1177
|
declare const MenuItemTitle: ({ icon, name, badge, className, style, ...rest }: MenuItemTitleProps) => react_jsx_runtime.JSX.Element;
|
|
1178
1178
|
|
|
1179
|
-
interface RouteTabProps extends BaseComponentProps {
|
|
1180
|
-
title: string;
|
|
1181
|
-
selected?: boolean;
|
|
1182
|
-
onClick?: () => void;
|
|
1183
|
-
}
|
|
1179
|
+
interface RouteTabProps extends BaseComponentProps {
|
|
1180
|
+
title: string;
|
|
1181
|
+
selected?: boolean;
|
|
1182
|
+
onClick?: () => void;
|
|
1183
|
+
}
|
|
1184
1184
|
declare function RouteTab({ title, onClick, selected, className, ...rest }: RouteTabProps): react_jsx_runtime.JSX.Element;
|
|
1185
1185
|
|
|
1186
|
-
interface RouteTabsNavItem {
|
|
1187
|
-
name: string;
|
|
1188
|
-
to: string;
|
|
1189
|
-
selected?: boolean;
|
|
1190
|
-
}
|
|
1191
|
-
interface RouteTabsProps extends BaseComponentProps {
|
|
1192
|
-
navData: RouteTabsNavItem[];
|
|
1193
|
-
children: React.ReactNode | ((activeTab: string) => React.ReactNode);
|
|
1194
|
-
onTabClick?: (to: string) => void;
|
|
1195
|
-
mode?: RouteTabMode;
|
|
1196
|
-
defaultActive?: string;
|
|
1197
|
-
animated?: boolean;
|
|
1198
|
-
}
|
|
1186
|
+
interface RouteTabsNavItem {
|
|
1187
|
+
name: string;
|
|
1188
|
+
to: string;
|
|
1189
|
+
selected?: boolean;
|
|
1190
|
+
}
|
|
1191
|
+
interface RouteTabsProps extends BaseComponentProps {
|
|
1192
|
+
navData: RouteTabsNavItem[];
|
|
1193
|
+
children: React.ReactNode | ((activeTab: string) => React.ReactNode);
|
|
1194
|
+
onTabClick?: (to: string) => void;
|
|
1195
|
+
mode?: RouteTabMode;
|
|
1196
|
+
defaultActive?: string;
|
|
1197
|
+
animated?: boolean;
|
|
1198
|
+
}
|
|
1199
1199
|
declare function RouteTabs({ navData, children, onTabClick, mode, defaultActive, animated, className, ...rest }: RouteTabsProps): react_jsx_runtime.JSX.Element;
|
|
1200
1200
|
|
|
1201
|
-
interface ModalProps {
|
|
1202
|
-
title: string;
|
|
1203
|
-
show: boolean;
|
|
1204
|
-
handleOnClose?: () => void;
|
|
1205
|
-
children?: React$1.ReactNode;
|
|
1206
|
-
enableCloseOnClickOutside
|
|
1207
|
-
isLoading?: boolean;
|
|
1208
|
-
isSuccess?: boolean;
|
|
1209
|
-
isError?: boolean;
|
|
1210
|
-
error?: unknown;
|
|
1211
|
-
styles?: string;
|
|
1212
|
-
shape?: keyof typeof Shape;
|
|
1213
|
-
}
|
|
1201
|
+
interface ModalProps {
|
|
1202
|
+
title: string;
|
|
1203
|
+
show: boolean;
|
|
1204
|
+
handleOnClose?: () => void;
|
|
1205
|
+
children?: React$1.ReactNode;
|
|
1206
|
+
enableCloseOnClickOutside?: boolean;
|
|
1207
|
+
isLoading?: boolean;
|
|
1208
|
+
isSuccess?: boolean;
|
|
1209
|
+
isError?: boolean;
|
|
1210
|
+
error?: unknown;
|
|
1211
|
+
styles?: string;
|
|
1212
|
+
shape?: keyof typeof Shape;
|
|
1213
|
+
}
|
|
1214
1214
|
declare function Modal({ title, show, handleOnClose, children, isLoading, isSuccess, isError, error, styles, enableCloseOnClickOutside, shape, }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
1215
1215
|
|
|
1216
|
-
interface UnderConstructionBannerProps {
|
|
1217
|
-
text?: string;
|
|
1218
|
-
}
|
|
1216
|
+
interface UnderConstructionBannerProps {
|
|
1217
|
+
text?: string;
|
|
1218
|
+
}
|
|
1219
1219
|
declare function UnderConstructionBanner({ text, }: UnderConstructionBannerProps): react_jsx_runtime.JSX.Element;
|
|
1220
1220
|
|
|
1221
|
-
interface AccordionProps {
|
|
1222
|
-
summary?: ReactNode | string;
|
|
1223
|
-
children?: ReactNode;
|
|
1224
|
-
lhsActions?: ReactNode;
|
|
1225
|
-
rhsActions?: ReactNode;
|
|
1226
|
-
defaultCollapse?: boolean;
|
|
1227
|
-
toggleOnSummaryClick?: boolean;
|
|
1228
|
-
enableChildrenPadding?: boolean;
|
|
1229
|
-
}
|
|
1221
|
+
interface AccordionProps {
|
|
1222
|
+
summary?: ReactNode | string;
|
|
1223
|
+
children?: ReactNode;
|
|
1224
|
+
lhsActions?: ReactNode;
|
|
1225
|
+
rhsActions?: ReactNode;
|
|
1226
|
+
defaultCollapse?: boolean;
|
|
1227
|
+
toggleOnSummaryClick?: boolean;
|
|
1228
|
+
enableChildrenPadding?: boolean;
|
|
1229
|
+
}
|
|
1230
1230
|
declare function Accordion({ summary, children, lhsActions, rhsActions, defaultCollapse, toggleOnSummaryClick, enableChildrenPadding, }: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
1231
1231
|
|
|
1232
|
-
declare const hoverAnimations: {
|
|
1233
|
-
none: string;
|
|
1234
|
-
lift: string;
|
|
1235
|
-
scale: string;
|
|
1236
|
-
glow: string;
|
|
1237
|
-
borderGlow: string;
|
|
1238
|
-
softLift: string;
|
|
1232
|
+
declare const hoverAnimations: {
|
|
1233
|
+
none: string;
|
|
1234
|
+
lift: string;
|
|
1235
|
+
scale: string;
|
|
1236
|
+
glow: string;
|
|
1237
|
+
borderGlow: string;
|
|
1238
|
+
softLift: string;
|
|
1239
1239
|
};
|
|
1240
1240
|
|
|
1241
|
-
interface CardProps {
|
|
1242
|
-
children?: ReactNode;
|
|
1243
|
-
styles?: string;
|
|
1244
|
-
bgVariant?: keyof typeof Variant;
|
|
1245
|
-
borderVariant?: keyof typeof Variant;
|
|
1246
|
-
interactive?: boolean;
|
|
1247
|
-
ghost?: boolean;
|
|
1248
|
-
shape?: keyof typeof Shape;
|
|
1249
|
-
hoverAnimation?: keyof typeof hoverAnimations;
|
|
1250
|
-
}
|
|
1241
|
+
interface CardProps {
|
|
1242
|
+
children?: ReactNode;
|
|
1243
|
+
styles?: string;
|
|
1244
|
+
bgVariant?: keyof typeof Variant;
|
|
1245
|
+
borderVariant?: keyof typeof Variant;
|
|
1246
|
+
interactive?: boolean;
|
|
1247
|
+
ghost?: boolean;
|
|
1248
|
+
shape?: keyof typeof Shape;
|
|
1249
|
+
hoverAnimation?: keyof typeof hoverAnimations;
|
|
1250
|
+
}
|
|
1251
1251
|
declare function Card({ children, styles, bgVariant, borderVariant, interactive, ghost, shape, hoverAnimation, }: CardProps): react_jsx_runtime.JSX.Element;
|
|
1252
1252
|
|
|
1253
|
-
interface CardHeaderProps {
|
|
1254
|
-
icon?: React$1.ReactNode;
|
|
1255
|
-
title?: string;
|
|
1256
|
-
description?: string;
|
|
1257
|
-
className?: string;
|
|
1258
|
-
}
|
|
1253
|
+
interface CardHeaderProps {
|
|
1254
|
+
icon?: React$1.ReactNode;
|
|
1255
|
+
title?: string;
|
|
1256
|
+
description?: string;
|
|
1257
|
+
className?: string;
|
|
1258
|
+
}
|
|
1259
1259
|
declare function CardHeader({ icon, title, description, className }: CardHeaderProps): react_jsx_runtime.JSX.Element;
|
|
1260
1260
|
|
|
1261
|
-
interface CardContentProps {
|
|
1262
|
-
children?: React$1.ReactNode;
|
|
1263
|
-
className?: string;
|
|
1264
|
-
}
|
|
1261
|
+
interface CardContentProps {
|
|
1262
|
+
children?: React$1.ReactNode;
|
|
1263
|
+
className?: string;
|
|
1264
|
+
}
|
|
1265
1265
|
declare function CardContent({ children, className }: CardContentProps): react_jsx_runtime.JSX.Element;
|
|
1266
1266
|
|
|
1267
|
-
interface CardFooterProps {
|
|
1268
|
-
children?: React$1.ReactNode;
|
|
1269
|
-
className?: string;
|
|
1270
|
-
}
|
|
1267
|
+
interface CardFooterProps {
|
|
1268
|
+
children?: React$1.ReactNode;
|
|
1269
|
+
className?: string;
|
|
1270
|
+
}
|
|
1271
1271
|
declare function CardFooter({ children, className }: CardFooterProps): react_jsx_runtime.JSX.Element;
|
|
1272
1272
|
|
|
1273
|
-
type AnimationVariant = "none" | "gradient" | "blobs" | "mesh" | "custom";
|
|
1274
|
-
interface BaseAnimationConfig {
|
|
1275
|
-
duration: number;
|
|
1276
|
-
ease?: string;
|
|
1277
|
-
opacity?: number;
|
|
1278
|
-
colors?: string[];
|
|
1279
|
-
}
|
|
1280
|
-
interface BlobAnimationConfig extends BaseAnimationConfig {
|
|
1281
|
-
size?: number;
|
|
1282
|
-
blur?: number;
|
|
1283
|
-
count?: number;
|
|
1284
|
-
}
|
|
1285
|
-
interface GradientAnimationConfig extends BaseAnimationConfig {
|
|
1286
|
-
angle?: number;
|
|
1287
|
-
backgroundSize?: string;
|
|
1288
|
-
}
|
|
1289
|
-
interface MeshAnimationConfig extends BaseAnimationConfig {
|
|
1290
|
-
density?: number;
|
|
1291
|
-
backgroundSize?: string;
|
|
1292
|
-
}
|
|
1293
|
-
interface AnimationComponentProps<T = BaseAnimationConfig> {
|
|
1294
|
-
config?: T;
|
|
1295
|
-
animated?: boolean;
|
|
1296
|
-
}
|
|
1297
|
-
|
|
1298
|
-
type OverlayVariant = "none" | "noise" | "grid" | "dots" | "custom";
|
|
1299
|
-
interface BaseOverlayConfig {
|
|
1300
|
-
opacity?: number;
|
|
1301
|
-
size?: number;
|
|
1302
|
-
color?: string;
|
|
1303
|
-
}
|
|
1304
|
-
|
|
1305
|
-
interface MotionSurfaceProps {
|
|
1306
|
-
children?: ReactNode;
|
|
1307
|
-
animationVariant?: AnimationVariant;
|
|
1308
|
-
animationConfig?: BaseAnimationConfig;
|
|
1309
|
-
animated?: boolean;
|
|
1310
|
-
overlay?: OverlayVariant;
|
|
1311
|
-
overlayConfig?: BaseOverlayConfig;
|
|
1312
|
-
className?: string;
|
|
1313
|
-
customAnimation?: React$1.ComponentType<any>;
|
|
1314
|
-
customOverlay?: React$1.ComponentType<any>;
|
|
1315
|
-
}
|
|
1273
|
+
type AnimationVariant = "none" | "gradient" | "blobs" | "mesh" | "custom";
|
|
1274
|
+
interface BaseAnimationConfig {
|
|
1275
|
+
duration: number;
|
|
1276
|
+
ease?: string;
|
|
1277
|
+
opacity?: number;
|
|
1278
|
+
colors?: string[];
|
|
1279
|
+
}
|
|
1280
|
+
interface BlobAnimationConfig extends BaseAnimationConfig {
|
|
1281
|
+
size?: number;
|
|
1282
|
+
blur?: number;
|
|
1283
|
+
count?: number;
|
|
1284
|
+
}
|
|
1285
|
+
interface GradientAnimationConfig extends BaseAnimationConfig {
|
|
1286
|
+
angle?: number;
|
|
1287
|
+
backgroundSize?: string;
|
|
1288
|
+
}
|
|
1289
|
+
interface MeshAnimationConfig extends BaseAnimationConfig {
|
|
1290
|
+
density?: number;
|
|
1291
|
+
backgroundSize?: string;
|
|
1292
|
+
}
|
|
1293
|
+
interface AnimationComponentProps<T = BaseAnimationConfig> {
|
|
1294
|
+
config?: T;
|
|
1295
|
+
animated?: boolean;
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
type OverlayVariant = "none" | "noise" | "grid" | "dots" | "custom";
|
|
1299
|
+
interface BaseOverlayConfig {
|
|
1300
|
+
opacity?: number;
|
|
1301
|
+
size?: number;
|
|
1302
|
+
color?: string;
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
interface MotionSurfaceProps {
|
|
1306
|
+
children?: ReactNode;
|
|
1307
|
+
animationVariant?: AnimationVariant;
|
|
1308
|
+
animationConfig?: BaseAnimationConfig;
|
|
1309
|
+
animated?: boolean;
|
|
1310
|
+
overlay?: OverlayVariant;
|
|
1311
|
+
overlayConfig?: BaseOverlayConfig;
|
|
1312
|
+
className?: string;
|
|
1313
|
+
customAnimation?: React$1.ComponentType<any>;
|
|
1314
|
+
customOverlay?: React$1.ComponentType<any>;
|
|
1315
|
+
}
|
|
1316
1316
|
declare function MotionSurface({ children, animationVariant, animationConfig, animated, overlay, overlayConfig, className, customAnimation: CustomAnimation, customOverlay: CustomOverlay, }: MotionSurfaceProps): react_jsx_runtime.JSX.Element;
|
|
1317
1317
|
|
|
1318
|
-
interface ThemeContextProps {
|
|
1319
|
-
theme: "light" | "dark";
|
|
1320
|
-
setTheme: (theme: "light" | "dark") => void;
|
|
1321
|
-
toggleTheme: () => void;
|
|
1322
|
-
}
|
|
1323
|
-
declare const ThemeContext: React$1.Context<ThemeContextProps | undefined>;
|
|
1324
|
-
interface ThemeProviderProps {
|
|
1325
|
-
defaultTheme?: "light" | "dark";
|
|
1326
|
-
children: ReactNode;
|
|
1327
|
-
}
|
|
1318
|
+
interface ThemeContextProps {
|
|
1319
|
+
theme: "light" | "dark";
|
|
1320
|
+
setTheme: (theme: "light" | "dark") => void;
|
|
1321
|
+
toggleTheme: () => void;
|
|
1322
|
+
}
|
|
1323
|
+
declare const ThemeContext: React$1.Context<ThemeContextProps | undefined>;
|
|
1324
|
+
interface ThemeProviderProps {
|
|
1325
|
+
defaultTheme?: "light" | "dark";
|
|
1326
|
+
children: ReactNode;
|
|
1327
|
+
}
|
|
1328
1328
|
declare const ThemeProvider: ({ defaultTheme, children, }: ThemeProviderProps) => react_jsx_runtime.JSX.Element;
|
|
1329
1329
|
|
|
1330
1330
|
declare const ThemeSwitch: () => react_jsx_runtime.JSX.Element | null;
|
|
1331
1331
|
|
|
1332
1332
|
declare const ShapeSwitch: () => react_jsx_runtime.JSX.Element;
|
|
1333
1333
|
|
|
1334
|
-
interface AsyncComponentWrapperProps {
|
|
1335
|
-
children: React$1.ReactNode;
|
|
1336
|
-
isLoading?: boolean;
|
|
1337
|
-
isSuccess?: boolean;
|
|
1338
|
-
isError?: boolean;
|
|
1339
|
-
error?: unknown;
|
|
1340
|
-
/**
|
|
1341
|
-
* Optional custom formatter if you want full control
|
|
1342
|
-
*/
|
|
1343
|
-
errorFormatter?: (error: unknown) => string;
|
|
1344
|
-
}
|
|
1334
|
+
interface AsyncComponentWrapperProps {
|
|
1335
|
+
children: React$1.ReactNode;
|
|
1336
|
+
isLoading?: boolean;
|
|
1337
|
+
isSuccess?: boolean;
|
|
1338
|
+
isError?: boolean;
|
|
1339
|
+
error?: unknown;
|
|
1340
|
+
/**
|
|
1341
|
+
* Optional custom formatter if you want full control
|
|
1342
|
+
*/
|
|
1343
|
+
errorFormatter?: (error: unknown) => string;
|
|
1344
|
+
}
|
|
1345
1345
|
declare function AsyncComponentWrapper({ children, isLoading, isSuccess, isError, error, errorFormatter, }: AsyncComponentWrapperProps): react_jsx_runtime.JSX.Element;
|
|
1346
1346
|
|
|
1347
|
-
interface GlowWrapperProps {
|
|
1348
|
-
children: ReactNode;
|
|
1349
|
-
glowSize?: number;
|
|
1350
|
-
glowColor?: string;
|
|
1351
|
-
className?: string;
|
|
1352
|
-
/** optional: when true, glow hides while mouse is outside */
|
|
1353
|
-
hideOnLeave?: boolean;
|
|
1354
|
-
}
|
|
1347
|
+
interface GlowWrapperProps {
|
|
1348
|
+
children: ReactNode;
|
|
1349
|
+
glowSize?: number;
|
|
1350
|
+
glowColor?: string;
|
|
1351
|
+
className?: string;
|
|
1352
|
+
/** optional: when true, glow hides while mouse is outside */
|
|
1353
|
+
hideOnLeave?: boolean;
|
|
1354
|
+
}
|
|
1355
1355
|
declare const GlowWrapper: FC<GlowWrapperProps>;
|
|
1356
1356
|
|
|
1357
|
-
interface ShowMoreProps {
|
|
1358
|
-
text: string;
|
|
1359
|
-
limit: number;
|
|
1360
|
-
}
|
|
1357
|
+
interface ShowMoreProps {
|
|
1358
|
+
text: string;
|
|
1359
|
+
limit: number;
|
|
1360
|
+
}
|
|
1361
1361
|
declare function ShowMore({ text, limit }: ShowMoreProps): react_jsx_runtime.JSX.Element;
|
|
1362
1362
|
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1363
|
+
interface CommentAuthor {
|
|
1364
|
+
id: string;
|
|
1365
|
+
username: string;
|
|
1366
|
+
avatar?: string;
|
|
1367
|
+
}
|
|
1368
|
+
interface CommentPermissions {
|
|
1369
|
+
canEdit?: boolean;
|
|
1370
|
+
canDelete?: boolean;
|
|
1371
|
+
canReply?: boolean;
|
|
1372
|
+
canReport?: boolean;
|
|
1373
|
+
}
|
|
1374
|
+
interface CommentEntity {
|
|
1375
|
+
id: string;
|
|
1376
|
+
parentId?: string | null;
|
|
1377
|
+
content: string;
|
|
1378
|
+
createdAt: string;
|
|
1379
|
+
updatedAt?: string;
|
|
1380
|
+
edited?: boolean;
|
|
1381
|
+
likes: number;
|
|
1382
|
+
dislikes: number;
|
|
1383
|
+
viewerReaction?: "like" | "dislike" | null;
|
|
1384
|
+
replies?: CommentEntity[];
|
|
1385
|
+
repliesCount?: number;
|
|
1386
|
+
isCollapsed?: boolean;
|
|
1387
|
+
author: CommentAuthor;
|
|
1388
|
+
permissions?: CommentPermissions;
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
interface CommentThreadProps {
|
|
1392
|
+
comments?: CommentEntity[];
|
|
1393
|
+
onCommentCreate?: (content: string) => Promise<void> | void;
|
|
1394
|
+
onLike?: (comment: CommentEntity) => void;
|
|
1395
|
+
onDislike?: (comment: CommentEntity) => void;
|
|
1396
|
+
onReply?: (comment: CommentEntity) => void;
|
|
1397
|
+
onEdit?: (comment: CommentEntity) => void;
|
|
1398
|
+
onDelete?: (comment: CommentEntity) => void;
|
|
1399
|
+
onReport?: (comment: CommentEntity) => void;
|
|
1400
|
+
}
|
|
1401
|
+
declare function CommentThread({ comments: initialComments, onCommentCreate, onLike, onDislike, onReply, onEdit, onDelete, onReport, }: CommentThreadProps): react_jsx_runtime.JSX.Element;
|
|
1402
|
+
|
|
1403
|
+
type SortOption = {
|
|
1404
|
+
value: string;
|
|
1405
|
+
label: string;
|
|
1406
|
+
};
|
|
1407
|
+
interface DataViewTableProps<T> {
|
|
1408
|
+
title?: string;
|
|
1409
|
+
columns: TableColumnConfig<T>[];
|
|
1410
|
+
data: T[];
|
|
1411
|
+
sortOptions?: SortOption[];
|
|
1412
|
+
sortConfig?: Record<string, SortConfig<T>>;
|
|
1413
|
+
searchPlaceholder?: string;
|
|
1414
|
+
defaultPageSize?: number;
|
|
1415
|
+
isLoading?: boolean;
|
|
1416
|
+
isSuccess?: boolean;
|
|
1417
|
+
isError?: boolean;
|
|
1418
|
+
error?: unknown;
|
|
1419
|
+
}
|
|
1380
1420
|
declare function DataViewTable<T extends Record<string, any>>({ title, columns, data, sortOptions, sortConfig, searchPlaceholder, defaultPageSize, isLoading, isSuccess, isError, error, }: DataViewTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
1381
1421
|
|
|
1382
|
-
interface DocumentationPanelProps {
|
|
1383
|
-
value: string;
|
|
1384
|
-
toc?: boolean;
|
|
1385
|
-
}
|
|
1422
|
+
interface DocumentationPanelProps {
|
|
1423
|
+
value: string;
|
|
1424
|
+
toc?: boolean;
|
|
1425
|
+
}
|
|
1386
1426
|
declare function DocumentationPanel({ value, toc }: DocumentationPanelProps): react_jsx_runtime.JSX.Element;
|
|
1387
1427
|
|
|
1388
|
-
interface SliderProps {
|
|
1389
|
-
isLoading?: boolean;
|
|
1390
|
-
isSuccess?: boolean;
|
|
1391
|
-
coverArt: string;
|
|
1392
|
-
screenshots: string[];
|
|
1393
|
-
}
|
|
1428
|
+
interface SliderProps {
|
|
1429
|
+
isLoading?: boolean;
|
|
1430
|
+
isSuccess?: boolean;
|
|
1431
|
+
coverArt: string;
|
|
1432
|
+
screenshots: string[];
|
|
1433
|
+
}
|
|
1394
1434
|
declare function Slider({ isLoading, isSuccess, coverArt, screenshots }: SliderProps): react_jsx_runtime.JSX.Element;
|
|
1395
1435
|
|
|
1396
|
-
interface RatingDistributionItem {
|
|
1397
|
-
star: number;
|
|
1398
|
-
count: number;
|
|
1399
|
-
}
|
|
1400
|
-
interface StarRatingDistributionProps extends BaseComponentProps {
|
|
1401
|
-
numericRating?: boolean;
|
|
1402
|
-
progressBarsRating?: boolean;
|
|
1403
|
-
ratingDistribution?: RatingDistributionItem[];
|
|
1404
|
-
variant?: Variant$1;
|
|
1405
|
-
appearance?: Appearance;
|
|
1406
|
-
shape?: Shape$1;
|
|
1407
|
-
size?: Size$1;
|
|
1408
|
-
animated?: boolean;
|
|
1409
|
-
striped?: boolean;
|
|
1410
|
-
showReviewCount?: boolean;
|
|
1411
|
-
}
|
|
1436
|
+
interface RatingDistributionItem {
|
|
1437
|
+
star: number;
|
|
1438
|
+
count: number;
|
|
1439
|
+
}
|
|
1440
|
+
interface StarRatingDistributionProps extends BaseComponentProps {
|
|
1441
|
+
numericRating?: boolean;
|
|
1442
|
+
progressBarsRating?: boolean;
|
|
1443
|
+
ratingDistribution?: RatingDistributionItem[];
|
|
1444
|
+
variant?: Variant$1;
|
|
1445
|
+
appearance?: Appearance;
|
|
1446
|
+
shape?: Shape$1;
|
|
1447
|
+
size?: Size$1;
|
|
1448
|
+
animated?: boolean;
|
|
1449
|
+
striped?: boolean;
|
|
1450
|
+
showReviewCount?: boolean;
|
|
1451
|
+
}
|
|
1412
1452
|
declare function StarRatingDistribution({ numericRating, progressBarsRating, ratingDistribution, variant, appearance, shape, size, animated, striped, showReviewCount, className, ...rest }: StarRatingDistributionProps): react_jsx_runtime.JSX.Element;
|
|
1413
1453
|
|
|
1414
|
-
interface WorldMapCountryTableProps {
|
|
1415
|
-
title?: string;
|
|
1416
|
-
data: WorldMapPoint[];
|
|
1417
|
-
}
|
|
1454
|
+
interface WorldMapCountryTableProps {
|
|
1455
|
+
title?: string;
|
|
1456
|
+
data: WorldMapPoint[];
|
|
1457
|
+
}
|
|
1418
1458
|
declare function WorldMapCountryTable({ title, data, }: WorldMapCountryTableProps): react_jsx_runtime.JSX.Element;
|
|
1419
1459
|
|
|
1420
|
-
interface NavItem {
|
|
1421
|
-
icon: React$1.ReactNode;
|
|
1422
|
-
name: string;
|
|
1423
|
-
to: string;
|
|
1424
|
-
selected?: boolean;
|
|
1425
|
-
}
|
|
1426
|
-
interface BoxNavProps {
|
|
1427
|
-
data?: NavItem[];
|
|
1428
|
-
currentPath?: string;
|
|
1429
|
-
onNavigate?: (to: string) => void;
|
|
1430
|
-
navigate?: (to: string) => void;
|
|
1460
|
+
interface NavItem {
|
|
1461
|
+
icon: React$1.ReactNode;
|
|
1462
|
+
name: string;
|
|
1463
|
+
to: string;
|
|
1464
|
+
selected?: boolean;
|
|
1465
|
+
}
|
|
1466
|
+
interface BoxNavProps {
|
|
1467
|
+
data?: NavItem[];
|
|
1468
|
+
currentPath?: string;
|
|
1469
|
+
onNavigate?: (to: string) => void;
|
|
1470
|
+
navigate?: (to: string) => void;
|
|
1431
1471
|
}
|
|
1432
1472
|
|
|
1433
1473
|
declare function BoxNav({ data, currentPath, onNavigate, navigate }: BoxNavProps): react_jsx_runtime.JSX.Element;
|
|
1434
1474
|
|
|
1435
|
-
interface BoxNavItemProps {
|
|
1436
|
-
icon: React$1.ReactNode;
|
|
1437
|
-
name: string;
|
|
1438
|
-
to: string;
|
|
1439
|
-
selected?: boolean;
|
|
1440
|
-
onClick?: (event: React$1.MouseEvent<HTMLButtonElement>, to: string) => void;
|
|
1441
|
-
}
|
|
1475
|
+
interface BoxNavItemProps {
|
|
1476
|
+
icon: React$1.ReactNode;
|
|
1477
|
+
name: string;
|
|
1478
|
+
to: string;
|
|
1479
|
+
selected?: boolean;
|
|
1480
|
+
onClick?: (event: React$1.MouseEvent<HTMLButtonElement>, to: string) => void;
|
|
1481
|
+
}
|
|
1442
1482
|
declare function BoxNavItem({ icon, name, to, selected, onClick }: BoxNavItemProps): react_jsx_runtime.JSX.Element;
|
|
1443
1483
|
|
|
1444
|
-
interface SidebarProps extends BaseComponentProps {
|
|
1445
|
-
items?: MenuNode[];
|
|
1446
|
-
navigate?: (to: string) => void;
|
|
1447
|
-
currentPath?: string;
|
|
1448
|
-
}
|
|
1484
|
+
interface SidebarProps extends BaseComponentProps {
|
|
1485
|
+
items?: MenuNode[];
|
|
1486
|
+
navigate?: (to: string) => void;
|
|
1487
|
+
currentPath?: string;
|
|
1488
|
+
}
|
|
1449
1489
|
declare function Sidebar({ items, navigate, currentPath, className, ...rest }: SidebarProps): react_jsx_runtime.JSX.Element;
|
|
1450
1490
|
|
|
1451
|
-
interface TopNavComponents {
|
|
1452
|
-
item?: React.ElementType;
|
|
1453
|
-
group?: React.ElementType;
|
|
1454
|
-
dropdown?: React.ElementType;
|
|
1455
|
-
dropdownItem?: React.ElementType;
|
|
1456
|
-
dropdownGroup?: React.ElementType;
|
|
1457
|
-
dropdownTitle?: React.ElementType;
|
|
1458
|
-
}
|
|
1459
|
-
interface BaseTopNavNode {
|
|
1460
|
-
key?: string;
|
|
1461
|
-
name: string;
|
|
1462
|
-
icon?: React.ReactNode;
|
|
1463
|
-
badge?: React.ReactNode;
|
|
1464
|
-
className?: string;
|
|
1465
|
-
component?: React.ElementType;
|
|
1466
|
-
}
|
|
1467
|
-
interface TopNavItemNode extends BaseTopNavNode {
|
|
1468
|
-
type: "item";
|
|
1469
|
-
to?: string;
|
|
1470
|
-
onClick?: () => void;
|
|
1471
|
-
}
|
|
1472
|
-
interface TopNavGroupNode extends BaseTopNavNode {
|
|
1473
|
-
type: "group";
|
|
1474
|
-
items: TopNavNode[];
|
|
1475
|
-
columns?: number;
|
|
1476
|
-
}
|
|
1477
|
-
interface TopNavTitleNode extends BaseTopNavNode {
|
|
1478
|
-
type: "title";
|
|
1479
|
-
}
|
|
1480
|
-
type TopNavNode = TopNavItemNode | TopNavGroupNode | TopNavTitleNode;
|
|
1481
|
-
interface TopNavProps {
|
|
1482
|
-
items: TopNavNode[];
|
|
1483
|
-
currentPath?: string;
|
|
1484
|
-
navigate?: (to: string) => void;
|
|
1485
|
-
components?: TopNavComponents;
|
|
1491
|
+
interface TopNavComponents {
|
|
1492
|
+
item?: React.ElementType;
|
|
1493
|
+
group?: React.ElementType;
|
|
1494
|
+
dropdown?: React.ElementType;
|
|
1495
|
+
dropdownItem?: React.ElementType;
|
|
1496
|
+
dropdownGroup?: React.ElementType;
|
|
1497
|
+
dropdownTitle?: React.ElementType;
|
|
1498
|
+
}
|
|
1499
|
+
interface BaseTopNavNode {
|
|
1500
|
+
key?: string;
|
|
1501
|
+
name: string;
|
|
1502
|
+
icon?: React.ReactNode;
|
|
1503
|
+
badge?: React.ReactNode;
|
|
1504
|
+
className?: string;
|
|
1505
|
+
component?: React.ElementType;
|
|
1506
|
+
}
|
|
1507
|
+
interface TopNavItemNode extends BaseTopNavNode {
|
|
1508
|
+
type: "item";
|
|
1509
|
+
to?: string;
|
|
1510
|
+
onClick?: () => void;
|
|
1511
|
+
}
|
|
1512
|
+
interface TopNavGroupNode extends BaseTopNavNode {
|
|
1513
|
+
type: "group";
|
|
1514
|
+
items: TopNavNode[];
|
|
1515
|
+
columns?: number;
|
|
1516
|
+
}
|
|
1517
|
+
interface TopNavTitleNode extends BaseTopNavNode {
|
|
1518
|
+
type: "title";
|
|
1519
|
+
}
|
|
1520
|
+
type TopNavNode = TopNavItemNode | TopNavGroupNode | TopNavTitleNode;
|
|
1521
|
+
interface TopNavProps {
|
|
1522
|
+
items: TopNavNode[];
|
|
1523
|
+
currentPath?: string;
|
|
1524
|
+
navigate?: (to: string) => void;
|
|
1525
|
+
components?: TopNavComponents;
|
|
1486
1526
|
}
|
|
1487
1527
|
|
|
1488
1528
|
declare const TopNav: ({ items, currentPath, navigate, components, }: TopNavProps) => react_jsx_runtime.JSX.Element;
|
|
1489
1529
|
|
|
1490
|
-
interface TNDropdownProps extends BaseComponentProps {
|
|
1491
|
-
items: TopNavNode[];
|
|
1492
|
-
navigate?: (to: string) => void;
|
|
1493
|
-
components?: any;
|
|
1494
|
-
}
|
|
1530
|
+
interface TNDropdownProps extends BaseComponentProps {
|
|
1531
|
+
items: TopNavNode[];
|
|
1532
|
+
navigate?: (to: string) => void;
|
|
1533
|
+
components?: any;
|
|
1534
|
+
}
|
|
1495
1535
|
declare const TNDropdown: ({ items, navigate, components, }: TNDropdownProps) => react_jsx_runtime.JSX.Element;
|
|
1496
1536
|
|
|
1497
|
-
interface TNDropdownItemProps extends BaseComponentProps {
|
|
1498
|
-
icon?: React.ReactNode;
|
|
1499
|
-
name: string;
|
|
1500
|
-
badge?: React.ReactNode;
|
|
1501
|
-
to?: string;
|
|
1502
|
-
navigate?: (to: string) => void;
|
|
1503
|
-
onClick?: (e: MouseEvent<HTMLDivElement>) => void;
|
|
1504
|
-
}
|
|
1537
|
+
interface TNDropdownItemProps extends BaseComponentProps {
|
|
1538
|
+
icon?: React.ReactNode;
|
|
1539
|
+
name: string;
|
|
1540
|
+
badge?: React.ReactNode;
|
|
1541
|
+
to?: string;
|
|
1542
|
+
navigate?: (to: string) => void;
|
|
1543
|
+
onClick?: (e: MouseEvent<HTMLDivElement>) => void;
|
|
1544
|
+
}
|
|
1505
1545
|
declare const TNDropdownItem: ({ icon, name, badge, to, navigate, onClick, className, }: TNDropdownItemProps) => react_jsx_runtime.JSX.Element;
|
|
1506
1546
|
|
|
1507
|
-
interface TNDropdownTitleProps extends BaseComponentProps {
|
|
1508
|
-
name: string;
|
|
1509
|
-
}
|
|
1547
|
+
interface TNDropdownTitleProps extends BaseComponentProps {
|
|
1548
|
+
name: string;
|
|
1549
|
+
}
|
|
1510
1550
|
declare const TNDropdownTitle: ({ name, className }: TNDropdownTitleProps) => react_jsx_runtime.JSX.Element;
|
|
1511
1551
|
|
|
1512
|
-
interface TNGroupProps extends BaseComponentProps {
|
|
1513
|
-
icon?: React.ReactNode;
|
|
1514
|
-
name: string;
|
|
1515
|
-
items: TopNavNode[];
|
|
1516
|
-
navigate?: (to: string) => void;
|
|
1517
|
-
columns?: number;
|
|
1518
|
-
components?: any;
|
|
1519
|
-
selected?: boolean;
|
|
1520
|
-
}
|
|
1552
|
+
interface TNGroupProps extends BaseComponentProps {
|
|
1553
|
+
icon?: React.ReactNode;
|
|
1554
|
+
name: string;
|
|
1555
|
+
items: TopNavNode[];
|
|
1556
|
+
navigate?: (to: string) => void;
|
|
1557
|
+
columns?: number;
|
|
1558
|
+
components?: any;
|
|
1559
|
+
selected?: boolean;
|
|
1560
|
+
}
|
|
1521
1561
|
declare const TNGroup: ({ icon, name, items, navigate, columns, components, selected, }: TNGroupProps) => react_jsx_runtime.JSX.Element;
|
|
1522
1562
|
|
|
1523
|
-
declare const useDrawer: (defaultVisibility?: boolean) => {
|
|
1524
|
-
show: boolean;
|
|
1525
|
-
openDrawer: () => void;
|
|
1526
|
-
closeDrawer: () => void;
|
|
1563
|
+
declare const useDrawer: (defaultVisibility?: boolean) => {
|
|
1564
|
+
show: boolean;
|
|
1565
|
+
openDrawer: () => void;
|
|
1566
|
+
closeDrawer: () => void;
|
|
1527
1567
|
};
|
|
1528
1568
|
|
|
1529
|
-
declare const useModal: () => {
|
|
1530
|
-
show: boolean;
|
|
1531
|
-
handleOpenModal: () => void;
|
|
1532
|
-
handleCloseModal: () => void;
|
|
1569
|
+
declare const useModal: () => {
|
|
1570
|
+
show: boolean;
|
|
1571
|
+
handleOpenModal: () => void;
|
|
1572
|
+
handleCloseModal: () => void;
|
|
1533
1573
|
};
|
|
1534
1574
|
|
|
1535
|
-
type ClickOutsideCallback = () => void;
|
|
1575
|
+
type ClickOutsideCallback = () => void;
|
|
1536
1576
|
declare function useClickOutside(ref: MutableRefObject<HTMLElement | null>, fun?: ClickOutsideCallback): void;
|
|
1537
1577
|
|
|
1538
1578
|
declare const useIsMobile: (breakpoint?: number) => boolean;
|
|
@@ -1541,63 +1581,63 @@ declare const useCurrentTheme: () => "light" | "dark";
|
|
|
1541
1581
|
|
|
1542
1582
|
declare const useTheme: () => any;
|
|
1543
1583
|
|
|
1544
|
-
interface GenericLayoutProps {
|
|
1545
|
-
children?: ReactNode;
|
|
1546
|
-
styles?: string;
|
|
1547
|
-
defaultTheme?: "light" | "dark";
|
|
1548
|
-
}
|
|
1584
|
+
interface GenericLayoutProps {
|
|
1585
|
+
children?: ReactNode;
|
|
1586
|
+
styles?: string;
|
|
1587
|
+
defaultTheme?: "light" | "dark";
|
|
1588
|
+
}
|
|
1549
1589
|
declare function GenericLayout({ children, styles, defaultTheme, }: GenericLayoutProps): react_jsx_runtime.JSX.Element;
|
|
1550
1590
|
|
|
1551
|
-
interface DefaultLayoutProps {
|
|
1552
|
-
children?: ReactNode;
|
|
1553
|
-
header?: ReactNode;
|
|
1554
|
-
footer?: ReactNode;
|
|
1555
|
-
}
|
|
1591
|
+
interface DefaultLayoutProps {
|
|
1592
|
+
children?: ReactNode;
|
|
1593
|
+
header?: ReactNode;
|
|
1594
|
+
footer?: ReactNode;
|
|
1595
|
+
}
|
|
1556
1596
|
declare function DefaultLayout({ children, header, footer, }: DefaultLayoutProps): react_jsx_runtime.JSX.Element;
|
|
1557
1597
|
|
|
1558
|
-
interface HomeLayoutProps {
|
|
1559
|
-
children?: ReactNode;
|
|
1560
|
-
header?: ReactNode;
|
|
1561
|
-
footer?: ReactNode;
|
|
1562
|
-
}
|
|
1598
|
+
interface HomeLayoutProps {
|
|
1599
|
+
children?: ReactNode;
|
|
1600
|
+
header?: ReactNode;
|
|
1601
|
+
footer?: ReactNode;
|
|
1602
|
+
}
|
|
1563
1603
|
declare function HomeLayout({ children, header, footer, }: HomeLayoutProps): react_jsx_runtime.JSX.Element;
|
|
1564
1604
|
|
|
1565
|
-
interface SidebarLayoutProps {
|
|
1566
|
-
children?: ReactNode;
|
|
1567
|
-
header?: ReactNode;
|
|
1568
|
-
footer?: ReactNode;
|
|
1569
|
-
}
|
|
1605
|
+
interface SidebarLayoutProps {
|
|
1606
|
+
children?: ReactNode;
|
|
1607
|
+
header?: ReactNode;
|
|
1608
|
+
footer?: ReactNode;
|
|
1609
|
+
}
|
|
1570
1610
|
declare function SidebarLayout({ children, header, footer, }: SidebarLayoutProps): react_jsx_runtime.JSX.Element;
|
|
1571
1611
|
|
|
1572
|
-
interface SidemenuLayoutProps {
|
|
1573
|
-
data?: any;
|
|
1574
|
-
children?: ReactNode;
|
|
1575
|
-
}
|
|
1612
|
+
interface SidemenuLayoutProps {
|
|
1613
|
+
data?: any;
|
|
1614
|
+
children?: ReactNode;
|
|
1615
|
+
}
|
|
1576
1616
|
declare function SidemenuLayout({ data, children }: SidemenuLayoutProps): react_jsx_runtime.JSX.Element;
|
|
1577
1617
|
|
|
1578
|
-
interface EUIDevLayoutProps {
|
|
1579
|
-
children?: ReactNode;
|
|
1580
|
-
header?: ReactNode;
|
|
1581
|
-
footer?: ReactNode;
|
|
1582
|
-
}
|
|
1618
|
+
interface EUIDevLayoutProps {
|
|
1619
|
+
children?: ReactNode;
|
|
1620
|
+
header?: ReactNode;
|
|
1621
|
+
footer?: ReactNode;
|
|
1622
|
+
}
|
|
1583
1623
|
declare function EUIDevLayout({ children, header, footer, }: EUIDevLayoutProps): react_jsx_runtime.JSX.Element;
|
|
1584
1624
|
|
|
1585
|
-
interface CloudinaryConfig {
|
|
1586
|
-
cloudName: string;
|
|
1587
|
-
}
|
|
1588
|
-
interface CloudinaryProviderProps extends CloudinaryConfig {
|
|
1589
|
-
children: ReactNode;
|
|
1625
|
+
interface CloudinaryConfig {
|
|
1626
|
+
cloudName: string;
|
|
1627
|
+
}
|
|
1628
|
+
interface CloudinaryProviderProps extends CloudinaryConfig {
|
|
1629
|
+
children: ReactNode;
|
|
1590
1630
|
}
|
|
1591
1631
|
|
|
1592
1632
|
declare const CloudinaryProvider: ({ cloudName, children, }: CloudinaryProviderProps) => react_jsx_runtime.JSX.Element;
|
|
1593
1633
|
|
|
1594
1634
|
declare const useCloudinaryConfig: () => CloudinaryConfig;
|
|
1595
1635
|
|
|
1596
|
-
interface ScrollToTopProps {
|
|
1597
|
-
trigger?: any;
|
|
1598
|
-
behavior?: ScrollBehavior;
|
|
1599
|
-
target?: HTMLElement | null;
|
|
1600
|
-
}
|
|
1636
|
+
interface ScrollToTopProps {
|
|
1637
|
+
trigger?: any;
|
|
1638
|
+
behavior?: ScrollBehavior;
|
|
1639
|
+
target?: HTMLElement | null;
|
|
1640
|
+
}
|
|
1601
1641
|
declare function ScrollToTop({ trigger, behavior, target, }: ScrollToTopProps): null;
|
|
1602
1642
|
|
|
1603
1643
|
declare function cn(...inputs: ClassValue[]): string;
|
|
@@ -1608,16 +1648,16 @@ declare const getCurrencySymbol: (code: CurrencyCode) => string | null;
|
|
|
1608
1648
|
|
|
1609
1649
|
declare const enumValues: <T extends Record<string, string>>(enumObject: T) => string[];
|
|
1610
1650
|
|
|
1611
|
-
declare const normalize: (path?: string) => string;
|
|
1651
|
+
declare const normalize: (path?: string) => string;
|
|
1612
1652
|
declare const isMatch: (itemPath?: string, currentPath?: string) => boolean;
|
|
1613
1653
|
|
|
1614
|
-
interface ResolveAppearanceStylesProps {
|
|
1615
|
-
appearance?: Appearance;
|
|
1616
|
-
variant: Variant$1;
|
|
1617
|
-
solid: Record<string, string>;
|
|
1618
|
-
lite: Record<string, string>;
|
|
1619
|
-
ghost: Record<string, string>;
|
|
1620
|
-
}
|
|
1654
|
+
interface ResolveAppearanceStylesProps {
|
|
1655
|
+
appearance?: Appearance;
|
|
1656
|
+
variant: Variant$1;
|
|
1657
|
+
solid: Record<string, string>;
|
|
1658
|
+
lite: Record<string, string>;
|
|
1659
|
+
ghost: Record<string, string>;
|
|
1660
|
+
}
|
|
1621
1661
|
declare function resolveAppearanceStyles({ appearance, variant, solid, lite, ghost, }: ResolveAppearanceStylesProps): string;
|
|
1622
1662
|
|
|
1623
|
-
export { Accordion, type AnimationComponentProps, type AnimationVariant, type Appearance, AsyncComponentWrapper, Avatar, Backdrop, Badge, BarChart, type BaseAnimationConfig, type BaseComponentProps, type BaseMenuNode, type BaseOverlayConfig, type BaseTopNavNode, type BlobAnimationConfig, Block, BlockGroup, BoxNav, BoxNavItem, Brand, Breadcrumb, BreadcrumbItem, Button, Caption, Card, CardContent, CardFooter, CardHeader, type CardinalPosition, Chapter, Checkbox, Chip, type CloudinaryConfig, CloudinaryImage, CloudinaryProvider, type CloudinaryProviderProps, CloudinaryVideo, Code, Content, ContentArea, type CornerPosition, type CurrencyCode, DataView, DataViewTable, DateSelector, DefaultLayout, type DefaultMenuElements, Display, DocumentationPanel, Drawer, DrawerToggler, type EUIComponentDefaults, type EUIConfigs, EUIDevLayout, EUIProvider, type EUIRoute, Flag, Flex, FlexCol, FlexRow, Footer, FooterNav, FooterNavGroup, FooterNavItem, FooterNavItemContext, FooterNavItemTitle, Form, FormResponse, GenericLayout, 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, Info, Input, InputFile, InputLabel, InputList, InputListGroup, InputResponse, Label, Layout, type LayoutContext, type LayoutExecutor, Lead, LineChart, 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, NumericRating, type OctilePosition, type OverlayVariant, Overline, Paragraph, PieChart, PriceTag, ProgressBar, type ProgressBarProps, ProgressBarRating, Quote, Radio, RouteTab, type RouteTabMode, RouteTabs, ScrollToTop, Section, Select, type Shape$1 as Shape, ShapeSwitch, ShowMore, Sidebar, SidebarLayout, SidemenuLayout, type Size$1 as Size, Skeleton, Slider, StarRating, StarRatingDistribution, StarRatingInput, Switch, TNDropdown, TNDropdownItem, TNDropdownTitle, TNGroup, Table, Tag, Tags, TextArea, type TextDecoration, ThemeContext, ThemeProvider, ThemeSwitch, TitleBanner, type TitleBannerLevel, Toast, Tooltip, TopNav, type TopNavComponents, type TopNavGroupNode, type TopNavItemNode, type TopNavNode, type TopNavProps, type TopNavTitleNode, Transition, TransitionDropdown, TransitionFadeIn, Typography, UnderConstructionBanner, ValueBadge, type Variant$1 as Variant, type VerticalPosition, WorldMap, WorldMapCountryTable, YoutubeVideo as YoutubeVideoPlayer, cn, createForceLayout, createGridLayout, createTreeLayout, enumValues, getCurrencySymbol, getLayout, isMatch, isRenderFn, normalize, registerLayout, resolveAppearanceStyles, resolveWithGlobal, sendToast, useClickOutside, useCloudinaryConfig, useCurrentTheme, useDrawer, useEUIConfig, useIsMobile, useModal, useTheme };
|
|
1663
|
+
export { Accordion, type AnimationComponentProps, type AnimationVariant, type Appearance, AsyncComponentWrapper, Avatar, Backdrop, Badge, BarChart, type BaseAnimationConfig, type BaseComponentProps, type BaseMenuNode, type BaseOverlayConfig, type BaseTopNavNode, type BlobAnimationConfig, Block, BlockGroup, BoxNav, BoxNavItem, Brand, Breadcrumb, BreadcrumbItem, Button, Caption, Card, CardContent, CardFooter, CardHeader, type CardinalPosition, Chapter, Checkbox, Chip, type CloudinaryConfig, CloudinaryImage, CloudinaryProvider, type CloudinaryProviderProps, CloudinaryVideo, Code, CommentThread, Content, ContentArea, type CornerPosition, type CurrencyCode, DataView, DataViewTable, DateSelector, DefaultLayout, type DefaultMenuElements, Display, DocumentationPanel, Drawer, DrawerToggler, type EUIComponentDefaults, type EUIConfigs, EUIDevLayout, EUIProvider, type EUIRoute, Flag, Flex, FlexCol, FlexRow, Footer, FooterNav, FooterNavGroup, FooterNavItem, FooterNavItemContext, FooterNavItemTitle, Form, FormResponse, GenericLayout, 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, Info, Input, InputFile, InputLabel, InputList, InputListGroup, InputResponse, Label, Layout, type LayoutContext, type LayoutExecutor, Lead, LineChart, 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, NumericRating, type OctilePosition, type OverlayVariant, Overline, Paragraph, PieChart, PriceTag, ProgressBar, type ProgressBarProps, ProgressBarRating, Quote, Radio, RouteTab, type RouteTabMode, RouteTabs, ScrollToTop, Section, Select, type Shape$1 as Shape, ShapeSwitch, ShowMore, Sidebar, SidebarLayout, SidemenuLayout, type Size$1 as Size, Skeleton, Slider, StarRating, StarRatingDistribution, StarRatingInput, Switch, TNDropdown, TNDropdownItem, TNDropdownTitle, TNGroup, Table, Tag, Tags, TextArea, type TextDecoration, ThemeContext, ThemeProvider, ThemeSwitch, TitleBanner, type TitleBannerLevel, Toast, Tooltip, TopNav, type TopNavComponents, type TopNavGroupNode, type TopNavItemNode, type TopNavNode, type TopNavProps, type TopNavTitleNode, Transition, TransitionDropdown, TransitionFadeIn, Typography, UnderConstructionBanner, ValueBadge, type Variant$1 as Variant, type VerticalPosition, WorldMap, WorldMapCountryTable, YoutubeVideo as YoutubeVideoPlayer, cn, createForceLayout, createGridLayout, createTreeLayout, enumValues, getCurrencySymbol, getLayout, isMatch, isRenderFn, normalize, registerLayout, resolveAppearanceStyles, resolveWithGlobal, sendToast, useClickOutside, useCloudinaryConfig, useCurrentTheme, useDrawer, useEUIConfig, useIsMobile, useModal, useTheme };
|