triafly-ui-kit 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.d.ts +1181 -26
- package/package.json +1 -1
- package/dist/components/Ui/Accordeon/Accordeon.d.ts +0 -8
- package/dist/components/Ui/Accordeon/Accordeon.stories.d.ts +0 -9
- package/dist/components/Ui/Accordeon/index.d.ts +0 -1
- package/dist/components/Ui/Alert/Alert.d.ts +0 -9
- package/dist/components/Ui/Alert/index.d.ts +0 -1
- package/dist/components/Ui/Avatar/Avatar.d.ts +0 -6
- package/dist/components/Ui/Avatar/index.d.ts +0 -1
- package/dist/components/Ui/Badge/Badge.d.ts +0 -14
- package/dist/components/Ui/Badge/index.d.ts +0 -1
- package/dist/components/Ui/Button/Button.d.ts +0 -17
- package/dist/components/Ui/Button/index.d.ts +0 -1
- package/dist/components/Ui/Checkbox/Checkbox.d.ts +0 -10
- package/dist/components/Ui/Checkbox/Checkbox.stories.d.ts +0 -15
- package/dist/components/Ui/Checkbox/index.d.ts +0 -1
- package/dist/components/Ui/CliTextareaInput/CliTextareaInput.d.ts +0 -17
- package/dist/components/Ui/CliTextareaInput/index.d.ts +0 -2
- package/dist/components/Ui/CliTextareaInput/utils/escapeHtml/escapeHtml.d.ts +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/fixJson/fixJson.d.ts +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/highlightSyntax/highlightSyntax.d.ts +0 -2
- package/dist/components/Ui/CliTextareaInput/utils/highlightSyntax/index.d.ts +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/index.d.ts +0 -7
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useFixFormat/index.d.ts +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useFixFormat/useFixFormat.d.ts +0 -5
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useHistoryNavigation/index.d.ts +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useHistoryNavigation/useHistoryNavigation.d.ts +0 -6
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useKeyHandlers/index.d.ts +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useKeyHandlers/useKeyHandlers.d.ts +0 -9
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useLineNumbers/index.d.ts +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useLineNumbers/useLineNumbers.d.ts +0 -7
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useScrollSync/index.d.ts +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useScrollSync/useScrollSync.d.ts +0 -6
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useTextActions/index.d.ts +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useTextActions/useTextActions.d.ts +0 -14
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useTextCoursore/index.d.ts +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useTextCoursore/useTextCoursore.d.ts +0 -10
- package/dist/components/Ui/CliTextareaInput/utils/index.d.ts +0 -3
- package/dist/components/Ui/CliTextareaInput/utils/processJson/index.d.ts +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/processJson/processJson.d.ts +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/processXml/processXml.d.ts +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/processYml/processYml.d.ts +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/types.d.ts +0 -10
- package/dist/components/Ui/CustomLink/CustomLink.d.ts +0 -14
- package/dist/components/Ui/CustomLink/index.d.ts +0 -1
- package/dist/components/Ui/Demos/DemoElements/DemoElements.d.ts +0 -2
- package/dist/components/Ui/Demos/DemoForm/DemoForm.d.ts +0 -9
- package/dist/components/Ui/Demos/DemoForm/DemoForm.stories.d.ts +0 -6
- package/dist/components/Ui/Demos/DemoLogin/DemoLogin.d.ts +0 -2
- package/dist/components/Ui/Demos/DemoLogin/DemoLogin.stories.d.ts +0 -11
- package/dist/components/Ui/DropdownInput/DropdownInput.d.ts +0 -18
- package/dist/components/Ui/DropdownInput/DropdownInput.stories.d.ts +0 -19
- package/dist/components/Ui/DropdownInput/index.d.ts +0 -1
- package/dist/components/Ui/DropdownMenu/DropdownMenu.d.ts +0 -15
- package/dist/components/Ui/DropdownMenu/DropdownMenu.stories.d.ts +0 -6
- package/dist/components/Ui/DropdownMenu/index.d.ts +0 -1
- package/dist/components/Ui/FileUpload/FileUpload.d.ts +0 -3
- package/dist/components/Ui/FileUpload/fn.d.ts +0 -7
- package/dist/components/Ui/FileUpload/index.d.ts +0 -1
- package/dist/components/Ui/FileUpload/types.d.ts +0 -32
- package/dist/components/Ui/Form/FormContext/FormContext.d.ts +0 -76
- package/dist/components/Ui/Form/FormItem/FormItem.d.ts +0 -3
- package/dist/components/Ui/Form/FormItem/fn.d.ts +0 -2
- package/dist/components/Ui/Form/FormItem/types.d.ts +0 -10
- package/dist/components/Ui/Form/FormRoot/FormRoot.d.ts +0 -3
- package/dist/components/Ui/Form/FormRoot/index.d.ts +0 -1
- package/dist/components/Ui/Form/FormRoot/types.d.ts +0 -12
- package/dist/components/Ui/Form/index.d.ts +0 -2
- package/dist/components/Ui/Form/useForm/index.d.ts +0 -1
- package/dist/components/Ui/Form/useForm/useForm.d.ts +0 -2
- package/dist/components/Ui/Form/utils/fn.d.ts +0 -7
- package/dist/components/Ui/Form/utils/types.d.ts +0 -12
- package/dist/components/Ui/Icons/Icons.d.ts +0 -564
- package/dist/components/Ui/Icons/index.d.ts +0 -1
- package/dist/components/Ui/Icons/utils/CreateIcon.d.ts +0 -11
- package/dist/components/Ui/Loader/Loader.d.ts +0 -7
- package/dist/components/Ui/Loader/index.d.ts +0 -1
- package/dist/components/Ui/Pagination/Pagination.d.ts +0 -7
- package/dist/components/Ui/Pagination/index.d.ts +0 -1
- package/dist/components/Ui/Radio/Radio.d.ts +0 -11
- package/dist/components/Ui/Radio/Radio.stories.d.ts +0 -8
- package/dist/components/Ui/Radio/index.d.ts +0 -1
- package/dist/components/Ui/SearchInput/SearchData.d.ts +0 -1
- package/dist/components/Ui/SearchInput/SearchInput.d.ts +0 -22
- package/dist/components/Ui/Skeleton/Skeleton.d.ts +0 -12
- package/dist/components/Ui/Skeleton/index.d.ts +0 -1
- package/dist/components/Ui/Switch/Switch.d.ts +0 -10
- package/dist/components/Ui/Switch/index.d.ts +0 -1
- package/dist/components/Ui/Table/MemoizedRow/MemoizedRow.d.ts +0 -13
- package/dist/components/Ui/Table/Table.d.ts +0 -2
- package/dist/components/Ui/Table/TableTypes.d.ts +0 -34
- package/dist/components/Ui/Table/index.d.ts +0 -1
- package/dist/components/Ui/TextInput/TextInput.d.ts +0 -22
- package/dist/components/Ui/TextInput/TextInput.stories.d.ts +0 -16
- package/dist/components/Ui/TextInput/index.d.ts +0 -1
- package/dist/components/Ui/TextareaInput/TextareaInput.d.ts +0 -16
- package/dist/components/Ui/TextareaInput/TextareaInput.stories.d.ts +0 -6
- package/dist/components/Ui/TextareaInput/index.d.ts +0 -1
- package/dist/components/Ui/Tooltip/Tooltip.d.ts +0 -13
- package/dist/components/Ui/Tooltip/Tooltip.stories.d.ts +0 -8
- package/dist/components/Ui/Tooltip/index.d.ts +0 -1
- package/dist/components/Ui/Tree/Tree.stories.d.ts +0 -14
- package/dist/components/Ui/Tree/TreeEl/Tree.d.ts +0 -3
- package/dist/components/Ui/Tree/TreeEl/index.d.ts +0 -1
- package/dist/components/Ui/Tree/TreeEl/tree-types.d.ts +0 -20
- package/dist/components/Ui/Tree/TreeItem/TreeItem.d.ts +0 -5
- package/dist/components/Ui/Tree/TreeItem/treeItem-types.d.ts +0 -16
- package/dist/components/Ui/Tree/TreeList/TreeList.d.ts +0 -4
- package/dist/components/Ui/Tree/TreeList/treeList-types.d.ts +0 -17
- package/dist/components/Ui/Tree/index.d.ts +0 -1
- package/dist/components/Ui/Tree/types-tree.d.ts +0 -7
- package/dist/context/ToastContext/ToastContext.d.ts +0 -9
- package/dist/context/ToastContext/index.d.ts +0 -1
- package/dist/context/TriaflyContext/TriaflyContext.types.d.ts +0 -7
- package/dist/context/TriaflyContext/TriaflyProvider.d.ts +0 -7
- package/dist/context/TriaflyContext/hooks/index.d.ts +0 -3
- package/dist/context/TriaflyContext/hooks/useBreakpointValue/index.d.ts +0 -1
- package/dist/context/TriaflyContext/hooks/useBreakpointValue/useBreakpointValue.d.ts +0 -8
- package/dist/context/TriaflyContext/hooks/useModal/index.d.ts +0 -1
- package/dist/context/TriaflyContext/hooks/useModal/useModal.d.ts +0 -6
- package/dist/context/TriaflyContext/hooks/useTheme/index.d.ts +0 -1
- package/dist/context/TriaflyContext/hooks/useTheme/useTheme.d.ts +0 -5
- package/dist/context/TriaflyContext/index.d.ts +0 -2
package/dist/main.d.ts
CHANGED
@@ -1,26 +1,1181 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
export
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
export
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
1
|
+
import { Context } from 'react';
|
2
|
+
import { default as default_2 } from 'react';
|
3
|
+
import { FC } from 'react';
|
4
|
+
import { ForwardRefExoticComponent } from 'react';
|
5
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
6
|
+
import { ReactElement } from 'react';
|
7
|
+
import { ReactNode } from 'react';
|
8
|
+
import { RefAttributes } from 'react';
|
9
|
+
|
10
|
+
export declare const Accordeon: React.FC<AccordeonProps>;
|
11
|
+
|
12
|
+
declare type AccordeonProps = {
|
13
|
+
title?: string;
|
14
|
+
content: React.ReactNode;
|
15
|
+
openTitle?: React.ReactNode;
|
16
|
+
closeTitle?: React.ReactNode;
|
17
|
+
};
|
18
|
+
|
19
|
+
export declare const Alert: React.FC<AlertProps>;
|
20
|
+
|
21
|
+
declare type AlertProps = {
|
22
|
+
text: string;
|
23
|
+
icon?: React.ReactElement;
|
24
|
+
status: "success" | "error" | "warning";
|
25
|
+
isMultiline?: boolean;
|
26
|
+
isOpen?: boolean;
|
27
|
+
};
|
28
|
+
|
29
|
+
export declare const Avatar: React.FC<AvatarProps>;
|
30
|
+
|
31
|
+
declare interface AvatarProps {
|
32
|
+
imageUrl?: string;
|
33
|
+
username: string;
|
34
|
+
}
|
35
|
+
|
36
|
+
export declare const Badge: default_2.FC<BadgeProps>;
|
37
|
+
|
38
|
+
declare type BadgeProps = {
|
39
|
+
children: default_2.ReactNode;
|
40
|
+
variant?: "outline" | "solid" | "subtle";
|
41
|
+
status?: StatusType;
|
42
|
+
iconLeft?: default_2.ReactNode;
|
43
|
+
iconRight?: default_2.ReactNode;
|
44
|
+
isClickable?: boolean;
|
45
|
+
onClick?: () => void;
|
46
|
+
borderRadius?: string | number;
|
47
|
+
};
|
48
|
+
|
49
|
+
declare type BreakpointValuesTriafly<T> = {
|
50
|
+
base?: T;
|
51
|
+
sm?: T;
|
52
|
+
md?: T;
|
53
|
+
lg?: T;
|
54
|
+
xl?: T;
|
55
|
+
};
|
56
|
+
|
57
|
+
export declare const Button: default_2.FC<ButtonProps>;
|
58
|
+
|
59
|
+
declare type ButtonProps = {
|
60
|
+
style?: default_2.CSSProperties;
|
61
|
+
label?: string;
|
62
|
+
onClick?: () => void;
|
63
|
+
isDisabled?: boolean;
|
64
|
+
isLoading?: boolean;
|
65
|
+
title?: string;
|
66
|
+
className?: string;
|
67
|
+
navigation?: string;
|
68
|
+
to?: string | number;
|
69
|
+
type: "button" | "submit" | "reset";
|
70
|
+
icon?: ReactElement;
|
71
|
+
iconTail?: ReactElement;
|
72
|
+
};
|
73
|
+
|
74
|
+
export declare const Checkbox: React.FC<CheckboxProps>;
|
75
|
+
|
76
|
+
declare type CheckboxProps = {
|
77
|
+
label?: string;
|
78
|
+
isDisabled?: boolean;
|
79
|
+
isChecked?: boolean;
|
80
|
+
isIndeterminate?: boolean;
|
81
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
82
|
+
name?: string;
|
83
|
+
};
|
84
|
+
|
85
|
+
declare type ClickBehavior = "toggle" | "show" | "hide";
|
86
|
+
|
87
|
+
export declare const CliTextareaInput: ForwardRefExoticComponent<CliTextareaInputProps & RefAttributes<HTMLTextAreaElement>>;
|
88
|
+
|
89
|
+
declare type CliTextareaInputProps = {
|
90
|
+
name?: string;
|
91
|
+
spellCheck?: boolean;
|
92
|
+
isDisabled?: boolean;
|
93
|
+
onChange?: (e: React.ChangeEvent<HTMLTextAreaElement>, element?: HistoryItem) => void;
|
94
|
+
onSubmit?: (text: string) => Promise<void>;
|
95
|
+
onError?: (error: Error) => void;
|
96
|
+
history?: HistoryItem[];
|
97
|
+
value?: string;
|
98
|
+
resize?: boolean;
|
99
|
+
format: EditorFormat;
|
100
|
+
numberColl?: boolean;
|
101
|
+
showPrompt?: boolean;
|
102
|
+
};
|
103
|
+
|
104
|
+
declare type Column<T extends object = Record<string, unknown>> = {
|
105
|
+
title: default_2.ReactNode;
|
106
|
+
dataIndex?: keyof T | string;
|
107
|
+
key: string;
|
108
|
+
align?: "left" | "center" | "right";
|
109
|
+
render?: (_: unknown, record: T) => default_2.ReactNode;
|
110
|
+
width?: number;
|
111
|
+
className?: string;
|
112
|
+
sorted?: boolean;
|
113
|
+
};
|
114
|
+
|
115
|
+
export declare const CustomLink: default_2.FC<LinkProps>;
|
116
|
+
|
117
|
+
export declare const DropdownInput: default_2.FC<DropdownInputProps>;
|
118
|
+
|
119
|
+
declare type DropdownInputProps = {
|
120
|
+
label?: string;
|
121
|
+
options: Option_2[];
|
122
|
+
value?: string | number;
|
123
|
+
onChange?: (value: string) => void;
|
124
|
+
name?: string;
|
125
|
+
placeholder?: string;
|
126
|
+
errorMessage?: string;
|
127
|
+
isDisabled?: boolean;
|
128
|
+
className?: string;
|
129
|
+
};
|
130
|
+
|
131
|
+
export declare const DropdownMenu: default_2.FC<DropdownMenuProps>;
|
132
|
+
|
133
|
+
declare type DropdownMenuProps = {
|
134
|
+
content: MenuContent[];
|
135
|
+
horizontalPosition?: "left" | "center" | "right";
|
136
|
+
verticalPosition?: "top" | "bottom";
|
137
|
+
iconTrigger?: default_2.ReactNode | string;
|
138
|
+
};
|
139
|
+
|
140
|
+
declare type EditorFormat = "plain" | "json" | "yml" | "xml";
|
141
|
+
|
142
|
+
declare type FieldPath = string | string[];
|
143
|
+
|
144
|
+
export declare const FileUpload: default_2.ForwardRefExoticComponent<FileUploadProps & default_2.RefAttributes<FileUploadHandle>>;
|
145
|
+
|
146
|
+
declare type FileUploadHandle = {
|
147
|
+
reset: () => void;
|
148
|
+
getFiles: () => File[];
|
149
|
+
getParsedData: () => unknown[][];
|
150
|
+
};
|
151
|
+
|
152
|
+
declare type FileUploadProps = {
|
153
|
+
acceptedFormats?: string[];
|
154
|
+
maxSize?: number;
|
155
|
+
multiple?: boolean;
|
156
|
+
onFilesChange?: (files: File[], parsedData?: unknown[][]) => void;
|
157
|
+
onError?: (error: string) => void;
|
158
|
+
onSuccess?: () => void;
|
159
|
+
parserCsv?: boolean;
|
160
|
+
sizeUnit?: SizeUnit;
|
161
|
+
onReset?: () => void;
|
162
|
+
visibilityFileUpload?: boolean;
|
163
|
+
onVisibilityChange?: (visible: boolean) => void;
|
164
|
+
value?: File[];
|
165
|
+
onChange?: (value: File[]) => void;
|
166
|
+
isDisabled?: boolean;
|
167
|
+
hasError?: boolean;
|
168
|
+
errorMessage?: string;
|
169
|
+
label?: string;
|
170
|
+
isNotDeleteElement?: boolean;
|
171
|
+
};
|
172
|
+
|
173
|
+
export declare const Form: FormComponent;
|
174
|
+
|
175
|
+
declare interface FormComponent extends React.FC<FormProps> {
|
176
|
+
Item: typeof FormItem;
|
177
|
+
}
|
178
|
+
|
179
|
+
declare interface FormInstance {
|
180
|
+
/**
|
181
|
+
* Сбрасывает все значения формы и ошибки
|
182
|
+
* (возвращает форму в исходное состояние)
|
183
|
+
*/
|
184
|
+
resetFields: () => void;
|
185
|
+
/**
|
186
|
+
* Устанавливает значения для нескольких полей формы сразу
|
187
|
+
* @param values - объект с новыми значениями {имяПоля: значение}
|
188
|
+
*/
|
189
|
+
setFieldsValue: (values: Record<string, unknown>) => void;
|
190
|
+
/**
|
191
|
+
* Возвращает текущие значения всех полей формы
|
192
|
+
* @returns объект со значениями {имяПоля: значение}
|
193
|
+
*/
|
194
|
+
getFieldsValue: () => Record<string, unknown>;
|
195
|
+
/**
|
196
|
+
* Устанавливает значение конкретного поля формы
|
197
|
+
* @param name - имя поля для обновления
|
198
|
+
* @param value - новое значение поля
|
199
|
+
*/
|
200
|
+
setFieldValue: (name: FieldPath, value: unknown) => void;
|
201
|
+
/**
|
202
|
+
* Получает текущее значение конкретного поля
|
203
|
+
* @param name - имя поля
|
204
|
+
* @returns текущее значение поля
|
205
|
+
*/
|
206
|
+
getFieldValue: (name: FieldPath) => unknown;
|
207
|
+
/**
|
208
|
+
* Отправляет форму (вызывает валидацию перед отправкой)
|
209
|
+
* @throws выбрасывает ошибку, если валидация не пройдена
|
210
|
+
*/
|
211
|
+
submit: () => Promise<void>;
|
212
|
+
/**
|
213
|
+
* Валидирует указанные поля (или все поля, если не указаны)
|
214
|
+
* @param names - опциональный массив имен полей для валидации
|
215
|
+
* @returns Promise с текущими значениями формы при успешной валидации
|
216
|
+
* @throws выбрасывает ошибку с информацией о невалидных полях
|
217
|
+
*/
|
218
|
+
validateFields: (names?: string[]) => Promise<Record<string, unknown>>;
|
219
|
+
/**
|
220
|
+
* Получает ошибки валидации для указанного поля
|
221
|
+
* @param name - имя поля
|
222
|
+
* @returns массив сообщений об ошибках или пустой массив, если ошибок нет
|
223
|
+
*/
|
224
|
+
getFieldError: (name: FieldPath) => string[];
|
225
|
+
/**
|
226
|
+
* Устанавливает ошибки валидации для указанного поля
|
227
|
+
* @param name - имя поля
|
228
|
+
* @param errors - массив сообщений об ошибках
|
229
|
+
*/
|
230
|
+
setFieldError: (name: FieldPath, errors: string[]) => void;
|
231
|
+
/**
|
232
|
+
* Получает правила валидации для указанного поля
|
233
|
+
* @param name - имя поля
|
234
|
+
* @returns массив правил валидации
|
235
|
+
*/
|
236
|
+
getFieldRules: (name: FieldPath) => Rule[];
|
237
|
+
/**
|
238
|
+
* Устанавливает правила валидации для указанного поля
|
239
|
+
* @param name - имя поля
|
240
|
+
* @param rules - массив правил валидации
|
241
|
+
*/
|
242
|
+
setFieldRules: (name: FieldPath, rules: Rule[]) => void;
|
243
|
+
/**
|
244
|
+
* Подписывает на изменения конкретного поля формы
|
245
|
+
* @param name - имя поля для подписки
|
246
|
+
* @param listener - функция-обработчик изменений
|
247
|
+
* @returns функция для отписки от изменений
|
248
|
+
*/
|
249
|
+
subscribe: (name: FieldPath, listener: () => void) => () => void;
|
250
|
+
disabled?: boolean;
|
251
|
+
}
|
252
|
+
|
253
|
+
declare const FormItem: default_2.MemoExoticComponent<({ name, children, rules, label, isDisabled: itemDisabled, style, classNameItem, }: FormItemProps) => JSX_2.Element>;
|
254
|
+
|
255
|
+
declare interface FormItemProps {
|
256
|
+
name: string | string[];
|
257
|
+
children: React.ReactElement;
|
258
|
+
rules?: Rule[];
|
259
|
+
label?: string;
|
260
|
+
isDisabled?: boolean;
|
261
|
+
style?: React.CSSProperties;
|
262
|
+
classNameItem?: string;
|
263
|
+
}
|
264
|
+
|
265
|
+
declare interface FormProps {
|
266
|
+
form?: FormInstance;
|
267
|
+
children: React.ReactNode;
|
268
|
+
onFinish?: (values: Record<string, unknown>) => void;
|
269
|
+
disabled?: boolean;
|
270
|
+
}
|
271
|
+
|
272
|
+
declare type HistoryItem = {
|
273
|
+
format: EditorFormat;
|
274
|
+
value: string;
|
275
|
+
label: string;
|
276
|
+
id: string;
|
277
|
+
};
|
278
|
+
|
279
|
+
export declare const IconArrowBendUpRight: FC< {
|
280
|
+
size?: number;
|
281
|
+
color?: string;
|
282
|
+
className?: string;
|
283
|
+
viewBox?: string;
|
284
|
+
}>;
|
285
|
+
|
286
|
+
export declare const IconArrowClockwise: FC< {
|
287
|
+
size?: number;
|
288
|
+
color?: string;
|
289
|
+
className?: string;
|
290
|
+
viewBox?: string;
|
291
|
+
}>;
|
292
|
+
|
293
|
+
export declare const IconArrowDown: FC< {
|
294
|
+
size?: number;
|
295
|
+
color?: string;
|
296
|
+
className?: string;
|
297
|
+
viewBox?: string;
|
298
|
+
}>;
|
299
|
+
|
300
|
+
export declare const IconArrowLeft: FC< {
|
301
|
+
size?: number;
|
302
|
+
color?: string;
|
303
|
+
className?: string;
|
304
|
+
viewBox?: string;
|
305
|
+
}>;
|
306
|
+
|
307
|
+
export declare const IconArrowLineDown: FC< {
|
308
|
+
size?: number;
|
309
|
+
color?: string;
|
310
|
+
className?: string;
|
311
|
+
viewBox?: string;
|
312
|
+
}>;
|
313
|
+
|
314
|
+
export declare const IconArrowLineLeft: FC< {
|
315
|
+
size?: number;
|
316
|
+
color?: string;
|
317
|
+
className?: string;
|
318
|
+
viewBox?: string;
|
319
|
+
}>;
|
320
|
+
|
321
|
+
export declare const IconArrowLineRight: FC< {
|
322
|
+
size?: number;
|
323
|
+
color?: string;
|
324
|
+
className?: string;
|
325
|
+
viewBox?: string;
|
326
|
+
}>;
|
327
|
+
|
328
|
+
export declare const IconArrowLineUp: FC< {
|
329
|
+
size?: number;
|
330
|
+
color?: string;
|
331
|
+
className?: string;
|
332
|
+
viewBox?: string;
|
333
|
+
}>;
|
334
|
+
|
335
|
+
export declare const IconArrowRight: FC< {
|
336
|
+
size?: number;
|
337
|
+
color?: string;
|
338
|
+
className?: string;
|
339
|
+
viewBox?: string;
|
340
|
+
}>;
|
341
|
+
|
342
|
+
export declare const IconArrowsOut: FC< {
|
343
|
+
size?: number;
|
344
|
+
color?: string;
|
345
|
+
className?: string;
|
346
|
+
viewBox?: string;
|
347
|
+
}>;
|
348
|
+
|
349
|
+
export declare const IconArrowUp: FC< {
|
350
|
+
size?: number;
|
351
|
+
color?: string;
|
352
|
+
className?: string;
|
353
|
+
viewBox?: string;
|
354
|
+
}>;
|
355
|
+
|
356
|
+
export declare const IconArticle: FC< {
|
357
|
+
size?: number;
|
358
|
+
color?: string;
|
359
|
+
className?: string;
|
360
|
+
viewBox?: string;
|
361
|
+
}>;
|
362
|
+
|
363
|
+
export declare const IconAt: FC< {
|
364
|
+
size?: number;
|
365
|
+
color?: string;
|
366
|
+
className?: string;
|
367
|
+
viewBox?: string;
|
368
|
+
}>;
|
369
|
+
|
370
|
+
export declare const IconBellSimple: FC< {
|
371
|
+
size?: number;
|
372
|
+
color?: string;
|
373
|
+
className?: string;
|
374
|
+
viewBox?: string;
|
375
|
+
}>;
|
376
|
+
|
377
|
+
export declare const IconBookOpenText: FC< {
|
378
|
+
size?: number;
|
379
|
+
color?: string;
|
380
|
+
className?: string;
|
381
|
+
viewBox?: string;
|
382
|
+
}>;
|
383
|
+
|
384
|
+
export declare const IconCalendarBlank: FC< {
|
385
|
+
size?: number;
|
386
|
+
color?: string;
|
387
|
+
className?: string;
|
388
|
+
viewBox?: string;
|
389
|
+
}>;
|
390
|
+
|
391
|
+
export declare const IconCaretDown: FC< {
|
392
|
+
size?: number;
|
393
|
+
color?: string;
|
394
|
+
className?: string;
|
395
|
+
viewBox?: string;
|
396
|
+
}>;
|
397
|
+
|
398
|
+
export declare const IconCaretLeft: FC< {
|
399
|
+
size?: number;
|
400
|
+
color?: string;
|
401
|
+
className?: string;
|
402
|
+
viewBox?: string;
|
403
|
+
}>;
|
404
|
+
|
405
|
+
export declare const IconCaretRight: FC< {
|
406
|
+
size?: number;
|
407
|
+
color?: string;
|
408
|
+
className?: string;
|
409
|
+
viewBox?: string;
|
410
|
+
}>;
|
411
|
+
|
412
|
+
export declare const IconCaretUp: FC< {
|
413
|
+
size?: number;
|
414
|
+
color?: string;
|
415
|
+
className?: string;
|
416
|
+
viewBox?: string;
|
417
|
+
}>;
|
418
|
+
|
419
|
+
export declare const IconCaretUpDown: FC< {
|
420
|
+
size?: number;
|
421
|
+
color?: string;
|
422
|
+
className?: string;
|
423
|
+
viewBox?: string;
|
424
|
+
}>;
|
425
|
+
|
426
|
+
export declare const IconChartPieSlice: FC< {
|
427
|
+
size?: number;
|
428
|
+
color?: string;
|
429
|
+
className?: string;
|
430
|
+
viewBox?: string;
|
431
|
+
}>;
|
432
|
+
|
433
|
+
export declare const IconChatText: FC< {
|
434
|
+
size?: number;
|
435
|
+
color?: string;
|
436
|
+
className?: string;
|
437
|
+
viewBox?: string;
|
438
|
+
}>;
|
439
|
+
|
440
|
+
export declare const IconCheck: FC< {
|
441
|
+
size?: number;
|
442
|
+
color?: string;
|
443
|
+
className?: string;
|
444
|
+
viewBox?: string;
|
445
|
+
}>;
|
446
|
+
|
447
|
+
export declare const IconCheckCircle: FC< {
|
448
|
+
size?: number;
|
449
|
+
color?: string;
|
450
|
+
className?: string;
|
451
|
+
viewBox?: string;
|
452
|
+
}>;
|
453
|
+
|
454
|
+
export declare const IconChecks: FC< {
|
455
|
+
size?: number;
|
456
|
+
color?: string;
|
457
|
+
className?: string;
|
458
|
+
viewBox?: string;
|
459
|
+
}>;
|
460
|
+
|
461
|
+
export declare const IconCircleNotch: FC< {
|
462
|
+
size?: number;
|
463
|
+
color?: string;
|
464
|
+
className?: string;
|
465
|
+
viewBox?: string;
|
466
|
+
}>;
|
467
|
+
|
468
|
+
export declare const IconCopy: FC< {
|
469
|
+
size?: number;
|
470
|
+
color?: string;
|
471
|
+
className?: string;
|
472
|
+
viewBox?: string;
|
473
|
+
}>;
|
474
|
+
|
475
|
+
export declare const IconCornersOut: FC< {
|
476
|
+
size?: number;
|
477
|
+
color?: string;
|
478
|
+
className?: string;
|
479
|
+
viewBox?: string;
|
480
|
+
}>;
|
481
|
+
|
482
|
+
export declare const IconCsv: FC< {
|
483
|
+
size?: number;
|
484
|
+
color?: string;
|
485
|
+
className?: string;
|
486
|
+
viewBox?: string;
|
487
|
+
}>;
|
488
|
+
|
489
|
+
export declare const IconCube: FC< {
|
490
|
+
size?: number;
|
491
|
+
color?: string;
|
492
|
+
className?: string;
|
493
|
+
viewBox?: string;
|
494
|
+
}>;
|
495
|
+
|
496
|
+
export declare const IconDatabase: FC< {
|
497
|
+
size?: number;
|
498
|
+
color?: string;
|
499
|
+
className?: string;
|
500
|
+
viewBox?: string;
|
501
|
+
}>;
|
502
|
+
|
503
|
+
export declare const IconDotsNine: FC< {
|
504
|
+
size?: number;
|
505
|
+
color?: string;
|
506
|
+
className?: string;
|
507
|
+
viewBox?: string;
|
508
|
+
}>;
|
509
|
+
|
510
|
+
export declare const IconDotsThreeVertical: FC< {
|
511
|
+
size?: number;
|
512
|
+
color?: string;
|
513
|
+
className?: string;
|
514
|
+
viewBox?: string;
|
515
|
+
}>;
|
516
|
+
|
517
|
+
export declare const IconExport: FC< {
|
518
|
+
size?: number;
|
519
|
+
color?: string;
|
520
|
+
className?: string;
|
521
|
+
viewBox?: string;
|
522
|
+
}>;
|
523
|
+
|
524
|
+
export declare const IconEye: FC< {
|
525
|
+
size?: number;
|
526
|
+
color?: string;
|
527
|
+
className?: string;
|
528
|
+
viewBox?: string;
|
529
|
+
}>;
|
530
|
+
|
531
|
+
export declare const IconEyeSlash: FC< {
|
532
|
+
size?: number;
|
533
|
+
color?: string;
|
534
|
+
className?: string;
|
535
|
+
viewBox?: string;
|
536
|
+
}>;
|
537
|
+
|
538
|
+
export declare const IconFile: FC< {
|
539
|
+
size?: number;
|
540
|
+
color?: string;
|
541
|
+
className?: string;
|
542
|
+
viewBox?: string;
|
543
|
+
}>;
|
544
|
+
|
545
|
+
export declare const IconFiles: FC< {
|
546
|
+
size?: number;
|
547
|
+
color?: string;
|
548
|
+
className?: string;
|
549
|
+
viewBox?: string;
|
550
|
+
}>;
|
551
|
+
|
552
|
+
export declare const IconFloppyDisk: FC< {
|
553
|
+
size?: number;
|
554
|
+
color?: string;
|
555
|
+
className?: string;
|
556
|
+
viewBox?: string;
|
557
|
+
}>;
|
558
|
+
|
559
|
+
export declare const IconFolderSimple: FC< {
|
560
|
+
size?: number;
|
561
|
+
color?: string;
|
562
|
+
className?: string;
|
563
|
+
viewBox?: string;
|
564
|
+
}>;
|
565
|
+
|
566
|
+
export declare const IconFolderSimpleX: FC< {
|
567
|
+
size?: number;
|
568
|
+
color?: string;
|
569
|
+
className?: string;
|
570
|
+
viewBox?: string;
|
571
|
+
}>;
|
572
|
+
|
573
|
+
export declare const IconFunnel: FC< {
|
574
|
+
size?: number;
|
575
|
+
color?: string;
|
576
|
+
className?: string;
|
577
|
+
viewBox?: string;
|
578
|
+
}>;
|
579
|
+
|
580
|
+
export declare const IconGauge: FC< {
|
581
|
+
size?: number;
|
582
|
+
color?: string;
|
583
|
+
className?: string;
|
584
|
+
viewBox?: string;
|
585
|
+
}>;
|
586
|
+
|
587
|
+
export declare const IconGear: FC< {
|
588
|
+
size?: number;
|
589
|
+
color?: string;
|
590
|
+
className?: string;
|
591
|
+
viewBox?: string;
|
592
|
+
}>;
|
593
|
+
|
594
|
+
export declare const IconGoogleDrive: FC< {
|
595
|
+
size?: number;
|
596
|
+
color?: string;
|
597
|
+
className?: string;
|
598
|
+
viewBox?: string;
|
599
|
+
}>;
|
600
|
+
|
601
|
+
export declare const IconHand: FC< {
|
602
|
+
size?: number;
|
603
|
+
color?: string;
|
604
|
+
className?: string;
|
605
|
+
viewBox?: string;
|
606
|
+
}>;
|
607
|
+
|
608
|
+
export declare const IconHeadCircuit: FC< {
|
609
|
+
size?: number;
|
610
|
+
color?: string;
|
611
|
+
className?: string;
|
612
|
+
viewBox?: string;
|
613
|
+
}>;
|
614
|
+
|
615
|
+
export declare const IconHouse: FC< {
|
616
|
+
size?: number;
|
617
|
+
color?: string;
|
618
|
+
className?: string;
|
619
|
+
viewBox?: string;
|
620
|
+
}>;
|
621
|
+
|
622
|
+
export declare const IconIcon: FC< {
|
623
|
+
size?: number;
|
624
|
+
color?: string;
|
625
|
+
className?: string;
|
626
|
+
viewBox?: string;
|
627
|
+
}>;
|
628
|
+
|
629
|
+
export declare const IconInfo: FC< {
|
630
|
+
size?: number;
|
631
|
+
color?: string;
|
632
|
+
className?: string;
|
633
|
+
viewBox?: string;
|
634
|
+
}>;
|
635
|
+
|
636
|
+
export declare const IconJoin: FC< {
|
637
|
+
size?: number;
|
638
|
+
color?: string;
|
639
|
+
className?: string;
|
640
|
+
viewBox?: string;
|
641
|
+
}>;
|
642
|
+
|
643
|
+
export declare const IconLanguage: FC< {
|
644
|
+
size?: number;
|
645
|
+
color?: string;
|
646
|
+
className?: string;
|
647
|
+
viewBox?: string;
|
648
|
+
}>;
|
649
|
+
|
650
|
+
export declare const IconLink: FC< {
|
651
|
+
size?: number;
|
652
|
+
color?: string;
|
653
|
+
className?: string;
|
654
|
+
viewBox?: string;
|
655
|
+
}>;
|
656
|
+
|
657
|
+
export declare const IconList: FC< {
|
658
|
+
size?: number;
|
659
|
+
color?: string;
|
660
|
+
className?: string;
|
661
|
+
viewBox?: string;
|
662
|
+
}>;
|
663
|
+
|
664
|
+
export declare const IconLock: FC< {
|
665
|
+
size?: number;
|
666
|
+
color?: string;
|
667
|
+
className?: string;
|
668
|
+
viewBox?: string;
|
669
|
+
}>;
|
670
|
+
|
671
|
+
export declare const IconLockOpen: FC< {
|
672
|
+
size?: number;
|
673
|
+
color?: string;
|
674
|
+
className?: string;
|
675
|
+
viewBox?: string;
|
676
|
+
}>;
|
677
|
+
|
678
|
+
export declare const IconMariaDB: FC< {
|
679
|
+
size?: number;
|
680
|
+
color?: string;
|
681
|
+
className?: string;
|
682
|
+
viewBox?: string;
|
683
|
+
}>;
|
684
|
+
|
685
|
+
export declare const IconMinus: FC< {
|
686
|
+
size?: number;
|
687
|
+
color?: string;
|
688
|
+
className?: string;
|
689
|
+
viewBox?: string;
|
690
|
+
}>;
|
691
|
+
|
692
|
+
export declare const IconMongoDB: FC< {
|
693
|
+
size?: number;
|
694
|
+
color?: string;
|
695
|
+
className?: string;
|
696
|
+
viewBox?: string;
|
697
|
+
}>;
|
698
|
+
|
699
|
+
export declare const IconMoon: FC< {
|
700
|
+
size?: number;
|
701
|
+
color?: string;
|
702
|
+
className?: string;
|
703
|
+
viewBox?: string;
|
704
|
+
}>;
|
705
|
+
|
706
|
+
export declare const IconMySQL: FC< {
|
707
|
+
size?: number;
|
708
|
+
color?: string;
|
709
|
+
className?: string;
|
710
|
+
viewBox?: string;
|
711
|
+
}>;
|
712
|
+
|
713
|
+
export declare const IconNavigationArrow: FC< {
|
714
|
+
size?: number;
|
715
|
+
color?: string;
|
716
|
+
className?: string;
|
717
|
+
viewBox?: string;
|
718
|
+
}>;
|
719
|
+
|
720
|
+
export declare const IconNotePencil: FC< {
|
721
|
+
size?: number;
|
722
|
+
color?: string;
|
723
|
+
className?: string;
|
724
|
+
viewBox?: string;
|
725
|
+
}>;
|
726
|
+
|
727
|
+
export declare const IconPassword: FC< {
|
728
|
+
size?: number;
|
729
|
+
color?: string;
|
730
|
+
className?: string;
|
731
|
+
viewBox?: string;
|
732
|
+
}>;
|
733
|
+
|
734
|
+
export declare const IconPen: FC< {
|
735
|
+
size?: number;
|
736
|
+
color?: string;
|
737
|
+
className?: string;
|
738
|
+
viewBox?: string;
|
739
|
+
}>;
|
740
|
+
|
741
|
+
export declare const IconPlay: FC< {
|
742
|
+
size?: number;
|
743
|
+
color?: string;
|
744
|
+
className?: string;
|
745
|
+
viewBox?: string;
|
746
|
+
}>;
|
747
|
+
|
748
|
+
export declare const IconPlugsX: FC< {
|
749
|
+
size?: number;
|
750
|
+
color?: string;
|
751
|
+
className?: string;
|
752
|
+
viewBox?: string;
|
753
|
+
}>;
|
754
|
+
|
755
|
+
export declare const IconPlus: FC< {
|
756
|
+
size?: number;
|
757
|
+
color?: string;
|
758
|
+
className?: string;
|
759
|
+
viewBox?: string;
|
760
|
+
}>;
|
761
|
+
|
762
|
+
export declare const IconPorsgteSQL: FC< {
|
763
|
+
size?: number;
|
764
|
+
color?: string;
|
765
|
+
className?: string;
|
766
|
+
viewBox?: string;
|
767
|
+
}>;
|
768
|
+
|
769
|
+
export declare const IconPresentationChart: FC< {
|
770
|
+
size?: number;
|
771
|
+
color?: string;
|
772
|
+
className?: string;
|
773
|
+
viewBox?: string;
|
774
|
+
}>;
|
775
|
+
|
776
|
+
export declare const IconQuestion: FC< {
|
777
|
+
size?: number;
|
778
|
+
color?: string;
|
779
|
+
className?: string;
|
780
|
+
viewBox?: string;
|
781
|
+
}>;
|
782
|
+
|
783
|
+
export declare const IconQuestionFullfilled: FC< {
|
784
|
+
size?: number;
|
785
|
+
color?: string;
|
786
|
+
className?: string;
|
787
|
+
viewBox?: string;
|
788
|
+
}>;
|
789
|
+
|
790
|
+
export declare const IconRedo: FC< {
|
791
|
+
size?: number;
|
792
|
+
color?: string;
|
793
|
+
className?: string;
|
794
|
+
viewBox?: string;
|
795
|
+
}>;
|
796
|
+
|
797
|
+
export declare const IconRoleX: FC< {
|
798
|
+
size?: number;
|
799
|
+
color?: string;
|
800
|
+
className?: string;
|
801
|
+
viewBox?: string;
|
802
|
+
}>;
|
803
|
+
|
804
|
+
export declare const IconSearch: FC< {
|
805
|
+
size?: number;
|
806
|
+
color?: string;
|
807
|
+
className?: string;
|
808
|
+
viewBox?: string;
|
809
|
+
}>;
|
810
|
+
|
811
|
+
export declare const IconSearchX: FC< {
|
812
|
+
size?: number;
|
813
|
+
color?: string;
|
814
|
+
className?: string;
|
815
|
+
viewBox?: string;
|
816
|
+
}>;
|
817
|
+
|
818
|
+
export declare const IconSelection: FC< {
|
819
|
+
size?: number;
|
820
|
+
color?: string;
|
821
|
+
className?: string;
|
822
|
+
viewBox?: string;
|
823
|
+
}>;
|
824
|
+
|
825
|
+
export declare const IconServer: FC< {
|
826
|
+
size?: number;
|
827
|
+
color?: string;
|
828
|
+
className?: string;
|
829
|
+
viewBox?: string;
|
830
|
+
}>;
|
831
|
+
|
832
|
+
export declare const IconSlidersHorizontal: FC< {
|
833
|
+
size?: number;
|
834
|
+
color?: string;
|
835
|
+
className?: string;
|
836
|
+
viewBox?: string;
|
837
|
+
}>;
|
838
|
+
|
839
|
+
export declare const IconSticker: FC< {
|
840
|
+
size?: number;
|
841
|
+
color?: string;
|
842
|
+
className?: string;
|
843
|
+
viewBox?: string;
|
844
|
+
}>;
|
845
|
+
|
846
|
+
export declare const IconSun: FC< {
|
847
|
+
size?: number;
|
848
|
+
color?: string;
|
849
|
+
className?: string;
|
850
|
+
viewBox?: string;
|
851
|
+
}>;
|
852
|
+
|
853
|
+
export declare const IconThreeDot: FC< {
|
854
|
+
size?: number;
|
855
|
+
color?: string;
|
856
|
+
className?: string;
|
857
|
+
viewBox?: string;
|
858
|
+
}>;
|
859
|
+
|
860
|
+
export declare const IconTrash: FC< {
|
861
|
+
size?: number;
|
862
|
+
color?: string;
|
863
|
+
className?: string;
|
864
|
+
viewBox?: string;
|
865
|
+
}>;
|
866
|
+
|
867
|
+
export declare const IconTriangleDown: FC< {
|
868
|
+
size?: number;
|
869
|
+
color?: string;
|
870
|
+
className?: string;
|
871
|
+
viewBox?: string;
|
872
|
+
}>;
|
873
|
+
|
874
|
+
export declare const IconTriangleUp: FC< {
|
875
|
+
size?: number;
|
876
|
+
color?: string;
|
877
|
+
className?: string;
|
878
|
+
viewBox?: string;
|
879
|
+
}>;
|
880
|
+
|
881
|
+
export declare const IconUndo: FC< {
|
882
|
+
size?: number;
|
883
|
+
color?: string;
|
884
|
+
className?: string;
|
885
|
+
viewBox?: string;
|
886
|
+
}>;
|
887
|
+
|
888
|
+
export declare const IconUploadSimple: FC< {
|
889
|
+
size?: number;
|
890
|
+
color?: string;
|
891
|
+
className?: string;
|
892
|
+
viewBox?: string;
|
893
|
+
}>;
|
894
|
+
|
895
|
+
export declare const IconUser: FC< {
|
896
|
+
size?: number;
|
897
|
+
color?: string;
|
898
|
+
className?: string;
|
899
|
+
viewBox?: string;
|
900
|
+
}>;
|
901
|
+
|
902
|
+
export declare const IconUserX: FC< {
|
903
|
+
size?: number;
|
904
|
+
color?: string;
|
905
|
+
className?: string;
|
906
|
+
viewBox?: string;
|
907
|
+
}>;
|
908
|
+
|
909
|
+
export declare const IconWarningCircle: FC< {
|
910
|
+
size?: number;
|
911
|
+
color?: string;
|
912
|
+
className?: string;
|
913
|
+
viewBox?: string;
|
914
|
+
}>;
|
915
|
+
|
916
|
+
export declare const IconWrench: FC< {
|
917
|
+
size?: number;
|
918
|
+
color?: string;
|
919
|
+
className?: string;
|
920
|
+
viewBox?: string;
|
921
|
+
}>;
|
922
|
+
|
923
|
+
export declare const IconX: FC< {
|
924
|
+
size?: number;
|
925
|
+
color?: string;
|
926
|
+
className?: string;
|
927
|
+
viewBox?: string;
|
928
|
+
}>;
|
929
|
+
|
930
|
+
export declare const IconYandexDisk: FC< {
|
931
|
+
size?: number;
|
932
|
+
color?: string;
|
933
|
+
className?: string;
|
934
|
+
viewBox?: string;
|
935
|
+
}>;
|
936
|
+
|
937
|
+
declare type LinkProps = {
|
938
|
+
href: string;
|
939
|
+
children: default_2.ReactNode;
|
940
|
+
target?: string;
|
941
|
+
className?: string;
|
942
|
+
style?: default_2.CSSProperties;
|
943
|
+
onClick?: () => void;
|
944
|
+
ariaLabel?: string;
|
945
|
+
title?: string;
|
946
|
+
icon?: default_2.ReactNode;
|
947
|
+
};
|
948
|
+
|
949
|
+
export declare const Loader: React.FC<LoaderProps>;
|
950
|
+
|
951
|
+
declare type LoaderProps = {
|
952
|
+
size?: number | undefined;
|
953
|
+
color?: string | undefined;
|
954
|
+
viewBox?: string | undefined;
|
955
|
+
className?: string;
|
956
|
+
};
|
957
|
+
|
958
|
+
declare type MenuContent = {
|
959
|
+
icon?: default_2.ReactNode;
|
960
|
+
title: string;
|
961
|
+
isDanger?: boolean;
|
962
|
+
onClick?: () => void;
|
963
|
+
};
|
964
|
+
|
965
|
+
declare type Option_2 = {
|
966
|
+
value: string;
|
967
|
+
label: string;
|
968
|
+
};
|
969
|
+
|
970
|
+
declare type Option_3 = {
|
971
|
+
value: string;
|
972
|
+
label: string;
|
973
|
+
};
|
974
|
+
|
975
|
+
export declare const Pagination: React.FC<PaginationProps>;
|
976
|
+
|
977
|
+
declare type PaginationProps = {
|
978
|
+
currentPage: number;
|
979
|
+
totalPages: number;
|
980
|
+
onPageChange: (page: number) => void;
|
981
|
+
};
|
982
|
+
|
983
|
+
export declare const Radio: React.FC<RadioProps>;
|
984
|
+
|
985
|
+
declare type RadioProps = {
|
986
|
+
label?: string;
|
987
|
+
value?: string;
|
988
|
+
name?: string;
|
989
|
+
isChecked?: boolean;
|
990
|
+
isDisabled?: boolean;
|
991
|
+
radioId?: string;
|
992
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
993
|
+
};
|
994
|
+
|
995
|
+
declare type Rule = {
|
996
|
+
required?: boolean;
|
997
|
+
message?: string;
|
998
|
+
pattern?: RegExp;
|
999
|
+
validator?: (value: unknown) => string | null;
|
1000
|
+
min?: number;
|
1001
|
+
max?: number;
|
1002
|
+
type?: "email";
|
1003
|
+
};
|
1004
|
+
|
1005
|
+
export declare const SearchInput: React.FC<SearchInputProps>;
|
1006
|
+
|
1007
|
+
declare type SearchInputProps = {
|
1008
|
+
name?: string;
|
1009
|
+
label?: string;
|
1010
|
+
type?: string;
|
1011
|
+
placeholder?: string;
|
1012
|
+
id?: string;
|
1013
|
+
isDisabled?: boolean;
|
1014
|
+
isClearable?: boolean;
|
1015
|
+
hasError?: boolean;
|
1016
|
+
errorMessage?: string;
|
1017
|
+
isLoading?: boolean;
|
1018
|
+
className?: string;
|
1019
|
+
options?: Option_3[];
|
1020
|
+
value?: string;
|
1021
|
+
onChange?: (value: string) => void;
|
1022
|
+
};
|
1023
|
+
|
1024
|
+
declare type SizeUnit = "B" | "KB" | "MB" | "GB";
|
1025
|
+
|
1026
|
+
export declare const Skeleton: default_2.FC<SkeletonProps>;
|
1027
|
+
|
1028
|
+
declare type SkeletonProps = {
|
1029
|
+
width?: number | string;
|
1030
|
+
height?: number | string;
|
1031
|
+
borderRadius?: number | string;
|
1032
|
+
circle?: boolean;
|
1033
|
+
animated?: boolean;
|
1034
|
+
className?: string;
|
1035
|
+
style?: default_2.CSSProperties;
|
1036
|
+
};
|
1037
|
+
|
1038
|
+
declare type StatusType = "default" | "success" | "warning" | "error" | "active" | "blocked" | "done" | "loading" | (string & {});
|
1039
|
+
|
1040
|
+
export declare const Switch: default_2.FC<SwitchProps>;
|
1041
|
+
|
1042
|
+
declare type SwitchProps = {
|
1043
|
+
label?: string;
|
1044
|
+
isDisabled?: boolean;
|
1045
|
+
isChecked?: boolean;
|
1046
|
+
onChange?: (event: default_2.ChangeEvent<HTMLInputElement>) => void;
|
1047
|
+
name?: string;
|
1048
|
+
};
|
1049
|
+
|
1050
|
+
export declare const Table: <T extends object>(props: TablesProps<T>) => JSX.Element;
|
1051
|
+
|
1052
|
+
declare type TablesProps<T extends object = Record<string, unknown>> = {
|
1053
|
+
columns: Column<T>[];
|
1054
|
+
dataSource: T[];
|
1055
|
+
rowKey: keyof T | ((record: T) => string);
|
1056
|
+
tableClassName?: string;
|
1057
|
+
trTheadClassNames?: string;
|
1058
|
+
thTheadClassNames?: string;
|
1059
|
+
stickyHeader?: boolean;
|
1060
|
+
stickyLeft?: boolean;
|
1061
|
+
theadClassName?: string;
|
1062
|
+
tbodyClassName?: string;
|
1063
|
+
wrapperClassName?: string;
|
1064
|
+
borderBottom?: boolean;
|
1065
|
+
bordered?: boolean;
|
1066
|
+
rowClassName?: (row: T, index: number) => string;
|
1067
|
+
defaultSort?: {
|
1068
|
+
key: string;
|
1069
|
+
order: "asc" | "desc";
|
1070
|
+
};
|
1071
|
+
onClickTr?: (record: T) => void;
|
1072
|
+
onClickTrHeader?: () => void;
|
1073
|
+
loading?: boolean;
|
1074
|
+
};
|
1075
|
+
|
1076
|
+
export declare const TextareaInput: ForwardRefExoticComponent<TextareaInputProps & RefAttributes<HTMLTextAreaElement>>;
|
1077
|
+
|
1078
|
+
declare type TextareaInputProps = {
|
1079
|
+
label?: string;
|
1080
|
+
name?: string;
|
1081
|
+
placeholder?: string;
|
1082
|
+
errorMessage?: string;
|
1083
|
+
hasError?: boolean;
|
1084
|
+
isDisabled?: boolean;
|
1085
|
+
charLimit?: number;
|
1086
|
+
onChange?: (value: string) => void;
|
1087
|
+
value?: string;
|
1088
|
+
resize?: boolean;
|
1089
|
+
isClearable?: boolean;
|
1090
|
+
spellCheck?: boolean;
|
1091
|
+
};
|
1092
|
+
|
1093
|
+
export declare const TextInput: default_2.ForwardRefExoticComponent<TextInputProps & default_2.RefAttributes<HTMLInputElement>>;
|
1094
|
+
|
1095
|
+
declare type TextInputProps = {
|
1096
|
+
label?: string;
|
1097
|
+
className?: string;
|
1098
|
+
placeholder?: string;
|
1099
|
+
value?: string;
|
1100
|
+
type?: string;
|
1101
|
+
name?: string;
|
1102
|
+
id?: string;
|
1103
|
+
isDisabled?: boolean;
|
1104
|
+
iconType?: "checkmark" | "search" | "password" | "email";
|
1105
|
+
errorMessage?: string;
|
1106
|
+
hasError?: boolean;
|
1107
|
+
onChange?: (event: default_2.ChangeEvent<HTMLInputElement>) => void;
|
1108
|
+
isClearable?: boolean;
|
1109
|
+
isLoading?: boolean;
|
1110
|
+
onFocus?: default_2.FocusEventHandler<HTMLInputElement>;
|
1111
|
+
onKeyDown?: default_2.KeyboardEventHandler<HTMLInputElement>;
|
1112
|
+
onBlur?: default_2.FocusEventHandler<HTMLInputElement>;
|
1113
|
+
};
|
1114
|
+
|
1115
|
+
declare type Theme = "light" | "dark";
|
1116
|
+
|
1117
|
+
export declare const ToastProvider: ({ children }: {
|
1118
|
+
children: ReactNode;
|
1119
|
+
}) => JSX.Element;
|
1120
|
+
|
1121
|
+
export declare const Tooltip: default_2.FC<TooltipProps>;
|
1122
|
+
|
1123
|
+
declare type TooltipPosition = "top" | "bottom" | "left" | "right";
|
1124
|
+
|
1125
|
+
declare interface TooltipProps {
|
1126
|
+
content: string;
|
1127
|
+
children: default_2.ReactNode;
|
1128
|
+
position?: TooltipPosition;
|
1129
|
+
trigger?: "hover" | "click" | "mixed";
|
1130
|
+
clickBehavior?: ClickBehavior;
|
1131
|
+
className?: string;
|
1132
|
+
}
|
1133
|
+
|
1134
|
+
export declare const Tree: <T extends TreeNodeBase>({ data, childrenKey, idKey, nameKey, typeKey, onSelect, defaultExpandedKeys, autoExpandParent, expandedKeys: externalExpandedKeys, onExpandedKeysChange, selectedKey: controlledSelectedKey, isFetching, isAllExpanded, wrapperTreeClassName, TreeItemClassName, TreeItemContentClassName, }: TreeProps<T>) => JSX.Element;
|
1135
|
+
|
1136
|
+
declare type TreeNodeBase = Record<string, unknown>;
|
1137
|
+
|
1138
|
+
declare type TreeProps<T extends TreeNodeBase> = {
|
1139
|
+
data: T[];
|
1140
|
+
childrenKey?: keyof T | string;
|
1141
|
+
idKey?: keyof T | string;
|
1142
|
+
nameKey?: keyof T | string;
|
1143
|
+
typeKey?: keyof T | string;
|
1144
|
+
onSelect?: (node: T) => void;
|
1145
|
+
defaultExpandedKeys?: (string | number)[];
|
1146
|
+
expandedKeys?: (string | number)[];
|
1147
|
+
onExpandedKeysChange?: (keys: (string | number)[]) => void;
|
1148
|
+
autoExpandParent?: boolean;
|
1149
|
+
selectedKey?: string | number | null;
|
1150
|
+
setSectedKey?: (value: string | number | null) => void;
|
1151
|
+
isFetching?: boolean;
|
1152
|
+
isAllExpanded?: boolean;
|
1153
|
+
wrapperTreeClassName?: string;
|
1154
|
+
TreeItemClassName?: string;
|
1155
|
+
TreeItemContentClassName?: string;
|
1156
|
+
};
|
1157
|
+
|
1158
|
+
export declare const TriaflyContext: Context<TriaflyContextType | undefined>;
|
1159
|
+
|
1160
|
+
declare interface TriaflyContextType {
|
1161
|
+
theme: Theme;
|
1162
|
+
toggleTheme: () => void;
|
1163
|
+
useBreakpointValueTriafly: <T>(values: BreakpointValuesTriafly<T>) => T;
|
1164
|
+
useModalState: typeof useModalState;
|
1165
|
+
}
|
1166
|
+
|
1167
|
+
export declare const TriaflyProvider: ({ children }: {
|
1168
|
+
children: ReactNode;
|
1169
|
+
}) => JSX.Element;
|
1170
|
+
|
1171
|
+
export declare function useForm(): [FormInstance];
|
1172
|
+
|
1173
|
+
declare interface UseModalReturn {
|
1174
|
+
isOpen: boolean;
|
1175
|
+
onOpen: () => void;
|
1176
|
+
onClose: () => void;
|
1177
|
+
}
|
1178
|
+
|
1179
|
+
declare const useModalState: () => UseModalReturn;
|
1180
|
+
|
1181
|
+
export { }
|