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