@functionalui/functionalui 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/feather-sprite.svg +1 -0
- package/dist/functionalui.css +1 -0
- package/dist/main.cjs +3 -0
- package/dist/main.d.ts +1638 -0
- package/dist/main.js +9316 -0
- package/dist/types-B-Wi5X54.cjs +1 -0
- package/dist/types-B2oLQKyl.js +2080 -0
- package/dist/types.cjs +1 -0
- package/dist/types.d.ts +2042 -0
- package/dist/types.js +155 -0
- package/package.json +87 -0
package/dist/main.d.ts
ADDED
|
@@ -0,0 +1,1638 @@
|
|
|
1
|
+
import { AnimatedProps } from '@react-spring/web';
|
|
2
|
+
import { ChangeEvent } from 'react';
|
|
3
|
+
import { ComponentType } from 'react';
|
|
4
|
+
import { default as default_2 } from 'react';
|
|
5
|
+
import { FC } from 'react';
|
|
6
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
7
|
+
import { HTMLAttributes } from 'react';
|
|
8
|
+
import { JSX as JSX_2 } from 'react';
|
|
9
|
+
import { JSX as JSX_3 } from 'react/jsx-runtime';
|
|
10
|
+
import { ReactNode } from 'react';
|
|
11
|
+
import { RefAttributes } from 'react';
|
|
12
|
+
|
|
13
|
+
export declare const Admonition: ({ level, size, descriptionText, children, }: Props_4) => JSX_3.Element;
|
|
14
|
+
|
|
15
|
+
declare enum AdmonitionLevels {
|
|
16
|
+
Info = 1,
|
|
17
|
+
Note = 2,
|
|
18
|
+
Success = 3,
|
|
19
|
+
Warning = 4,
|
|
20
|
+
Attention = 5,
|
|
21
|
+
Error = 6
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
declare enum AdmonitionSizes {
|
|
25
|
+
Small = 1,
|
|
26
|
+
Medium = 2,
|
|
27
|
+
Big = 3
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare enum AlignSelfs {
|
|
31
|
+
Start = 1,
|
|
32
|
+
End = 2,
|
|
33
|
+
Center = 3,
|
|
34
|
+
Left = 4,
|
|
35
|
+
Right = 5,
|
|
36
|
+
SelfStart = 6,
|
|
37
|
+
SelfEnd = 7,
|
|
38
|
+
Stretch = 8,
|
|
39
|
+
Normal = 9,
|
|
40
|
+
Auto = 10
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export declare const Avatar: FC<P_5>;
|
|
44
|
+
|
|
45
|
+
export declare const AvatarGroup: FC<P_6>;
|
|
46
|
+
|
|
47
|
+
declare enum AvatarSizes {
|
|
48
|
+
Size1 = 1,
|
|
49
|
+
Size2 = 2,
|
|
50
|
+
Size3 = 3,
|
|
51
|
+
Size4 = 4,
|
|
52
|
+
Size5 = 5,
|
|
53
|
+
Size6 = 6,
|
|
54
|
+
Size7 = 7,
|
|
55
|
+
Size8 = 8,
|
|
56
|
+
Size9 = 9
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
declare enum BorderStyles {
|
|
60
|
+
None = 1,
|
|
61
|
+
Hidden = 2,
|
|
62
|
+
Dotted = 3,
|
|
63
|
+
Dashed = 4,
|
|
64
|
+
Solid = 5,
|
|
65
|
+
Double = 6,
|
|
66
|
+
Groove = 7,
|
|
67
|
+
Ridge = 8,
|
|
68
|
+
Inset = 9,
|
|
69
|
+
Outset = 10
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
declare enum BorderWidths {
|
|
73
|
+
Size0 = 1,
|
|
74
|
+
Size1 = 2,
|
|
75
|
+
Size2 = 3,
|
|
76
|
+
Size3 = 4,
|
|
77
|
+
Size4 = 5,
|
|
78
|
+
Size5 = 6,
|
|
79
|
+
Size6 = 7,
|
|
80
|
+
Size7 = 8
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
declare enum BoxShadows {
|
|
84
|
+
Size0 = 1,
|
|
85
|
+
Size1 = 2,
|
|
86
|
+
Size2 = 3,
|
|
87
|
+
Size3 = 4,
|
|
88
|
+
Size4 = 5,
|
|
89
|
+
Size5 = 6,
|
|
90
|
+
Size6 = 7
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
declare enum BoxSizings {
|
|
94
|
+
ContentBox = 1,
|
|
95
|
+
BorderBox = 2
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export declare const Button: FC<ButtonProps_2>;
|
|
99
|
+
|
|
100
|
+
declare enum ButtonColors {
|
|
101
|
+
Primary5 = 1,
|
|
102
|
+
Secondary5 = 2,
|
|
103
|
+
Grey5 = 3,
|
|
104
|
+
Blue5 = 4,
|
|
105
|
+
Green5 = 5,
|
|
106
|
+
Red5 = 6,
|
|
107
|
+
Yellow5 = 7,
|
|
108
|
+
OutlinePrimary5 = 8,
|
|
109
|
+
OutlineSecondary5 = 9,
|
|
110
|
+
OutlineGrey5 = 10,
|
|
111
|
+
OutlineBlue5 = 11,
|
|
112
|
+
OutlineGreen5 = 12,
|
|
113
|
+
OutlineRed5 = 13,
|
|
114
|
+
OutlineYellow5 = 14
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
declare enum ButtonIconPositions {
|
|
118
|
+
Left = 1,
|
|
119
|
+
Right = 2
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
declare interface ButtonProps extends AnimatedProps<HTMLAttributes<HTMLButtonElement>>, StyleProps, ButtonStyleProps {
|
|
123
|
+
children?: ReactNode;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
declare type ButtonProps_2 = {
|
|
127
|
+
name: string;
|
|
128
|
+
buttonSize?: ButtonSizes;
|
|
129
|
+
buttonColor?: ButtonColors;
|
|
130
|
+
buttonState?: ButtonStates;
|
|
131
|
+
buttonType?: ButtonTypes;
|
|
132
|
+
buttonShadow?: BoxShadows;
|
|
133
|
+
buttonStyle?: ButtonStyles;
|
|
134
|
+
icon?: string;
|
|
135
|
+
iconColor?: ColorPalettes;
|
|
136
|
+
iconPosition?: ButtonIconPositions;
|
|
137
|
+
animate?: boolean;
|
|
138
|
+
hover?: boolean;
|
|
139
|
+
parentHover?: boolean;
|
|
140
|
+
hoverColor?: ButtonColors;
|
|
141
|
+
type?: "submit" | "reset" | "button";
|
|
142
|
+
clickAction?: (v: any) => void;
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
declare enum ButtonSizes {
|
|
146
|
+
Tiny = 1,
|
|
147
|
+
Smaller = 2,
|
|
148
|
+
Small = 3,
|
|
149
|
+
Medium = 4,
|
|
150
|
+
Big = 5,
|
|
151
|
+
Large = 6
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
declare enum ButtonStates {
|
|
155
|
+
Icon = 1,// default
|
|
156
|
+
Loading = 2,
|
|
157
|
+
Success = 3,
|
|
158
|
+
Error = 4,
|
|
159
|
+
Disabled = 5
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
declare interface ButtonStyleProps {
|
|
163
|
+
disabled?: boolean;
|
|
164
|
+
type?: ButtonTypes;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
declare enum ButtonStyles {
|
|
168
|
+
Plain = 1,
|
|
169
|
+
Gray = 2,
|
|
170
|
+
Tinted = 3,
|
|
171
|
+
Outlined = 4,
|
|
172
|
+
Filled = 5
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
declare enum ButtonTypes {
|
|
176
|
+
Button = "button",
|
|
177
|
+
Submit = "submit",
|
|
178
|
+
Reset = "reset"
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
declare interface CellStyles {
|
|
182
|
+
position: {
|
|
183
|
+
justifySelf: JustifySelfs;
|
|
184
|
+
alignSelf: AlignSelfs;
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export declare const Checkbox: ({ isChecked, size, checkboxColor, onClick, }: Props_5) => JSX_3.Element;
|
|
189
|
+
|
|
190
|
+
declare enum CheckboxColors {
|
|
191
|
+
Primary5 = 1,
|
|
192
|
+
Secondary5 = 2,
|
|
193
|
+
Grey5 = 3,
|
|
194
|
+
Red5 = 4,
|
|
195
|
+
Green5 = 5,
|
|
196
|
+
Blue5 = 6,
|
|
197
|
+
Yellow5 = 7
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export declare const Checkboxes: ({ options, multiselect, checkboxColor, size, handleClick, }: CheckboxesProps) => JSX_3.Element;
|
|
201
|
+
|
|
202
|
+
declare type CheckboxesProps = {
|
|
203
|
+
options: CheckboxOption[];
|
|
204
|
+
multiselect: boolean;
|
|
205
|
+
checkboxColor: CheckboxColors;
|
|
206
|
+
size?: CheckboxSizes;
|
|
207
|
+
handleClick: (v: any) => void;
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
declare type CheckboxOption = {
|
|
211
|
+
id: number;
|
|
212
|
+
name: string;
|
|
213
|
+
value?: any;
|
|
214
|
+
isChecked: boolean;
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
declare enum CheckboxSizes {
|
|
218
|
+
Size1 = 1,
|
|
219
|
+
Size2 = 2,
|
|
220
|
+
Size3 = 3,
|
|
221
|
+
Size4 = 4,
|
|
222
|
+
Size5 = 5
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
export declare const Chip: FC<P_7>;
|
|
226
|
+
|
|
227
|
+
declare enum ChipSizes {
|
|
228
|
+
Tiny = 1,
|
|
229
|
+
Small = 2,
|
|
230
|
+
Medium = 3,
|
|
231
|
+
Big = 4
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
declare enum ChipStyles {
|
|
235
|
+
Filled = 1,
|
|
236
|
+
Outlined = 2
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
declare enum ColorPalettes {
|
|
240
|
+
Transparent = 1,// (0, 1)
|
|
241
|
+
Grey1 = 2,
|
|
242
|
+
Grey2 = 3,
|
|
243
|
+
Grey3 = 4,
|
|
244
|
+
Grey4 = 5,
|
|
245
|
+
Grey5 = 6,
|
|
246
|
+
Grey6 = 7,
|
|
247
|
+
Grey7 = 8,
|
|
248
|
+
Grey8 = 9,
|
|
249
|
+
Grey9 = 10,
|
|
250
|
+
Grey10 = 11,// (2, 11)
|
|
251
|
+
Primary1 = 12,
|
|
252
|
+
Primary2 = 13,
|
|
253
|
+
Primary3 = 14,
|
|
254
|
+
Primary4 = 15,
|
|
255
|
+
Primary5 = 16,
|
|
256
|
+
Primary6 = 17,
|
|
257
|
+
Primary7 = 18,
|
|
258
|
+
Primary8 = 19,
|
|
259
|
+
Primary9 = 20,// (12, 20)
|
|
260
|
+
Secondary1 = 21,
|
|
261
|
+
Secondary2 = 22,
|
|
262
|
+
Secondary3 = 23,
|
|
263
|
+
Secondary4 = 24,
|
|
264
|
+
Secondary5 = 25,
|
|
265
|
+
Secondary6 = 26,
|
|
266
|
+
Secondary7 = 27,
|
|
267
|
+
Secondary8 = 28,
|
|
268
|
+
Secondary9 = 29,// (21, 29)
|
|
269
|
+
Red1 = 30,
|
|
270
|
+
Red2 = 31,
|
|
271
|
+
Red3 = 32,
|
|
272
|
+
Red4 = 33,
|
|
273
|
+
Red5 = 34,
|
|
274
|
+
Red6 = 35,
|
|
275
|
+
Red7 = 36,
|
|
276
|
+
Red8 = 37,
|
|
277
|
+
Red9 = 38,// (30, 38)
|
|
278
|
+
Green1 = 39,
|
|
279
|
+
Green2 = 40,
|
|
280
|
+
Green3 = 41,
|
|
281
|
+
Green4 = 42,
|
|
282
|
+
Green5 = 43,
|
|
283
|
+
Green6 = 44,
|
|
284
|
+
Green7 = 45,
|
|
285
|
+
Green8 = 46,
|
|
286
|
+
Green9 = 47,// (39, 47)
|
|
287
|
+
Blue1 = 48,
|
|
288
|
+
Blue2 = 49,
|
|
289
|
+
Blue3 = 50,
|
|
290
|
+
Blue4 = 51,
|
|
291
|
+
Blue5 = 52,
|
|
292
|
+
Blue6 = 53,
|
|
293
|
+
Blue7 = 54,
|
|
294
|
+
Blue8 = 55,
|
|
295
|
+
Blue9 = 56,// (48, 56)
|
|
296
|
+
Yellow1 = 57,
|
|
297
|
+
Yellow2 = 58,
|
|
298
|
+
Yellow3 = 59,
|
|
299
|
+
Yellow4 = 60,
|
|
300
|
+
Yellow5 = 61,
|
|
301
|
+
Yellow6 = 62,
|
|
302
|
+
Yellow7 = 63,
|
|
303
|
+
Yellow8 = 64,
|
|
304
|
+
Yellow9 = 65,// (57, 65)
|
|
305
|
+
Accent1_1 = 66,
|
|
306
|
+
Accent1_2 = 67,
|
|
307
|
+
Accent1_3 = 68,
|
|
308
|
+
Accent1_4 = 69,
|
|
309
|
+
Accent1_5 = 70,
|
|
310
|
+
Accent1_6 = 71,
|
|
311
|
+
Accent1_7 = 72,
|
|
312
|
+
Accent1_8 = 73,
|
|
313
|
+
Accent1_9 = 74,// (57, 65)
|
|
314
|
+
Accent2_1 = 75,
|
|
315
|
+
Accent2_2 = 76,
|
|
316
|
+
Accent2_3 = 77,
|
|
317
|
+
Accent2_4 = 78,
|
|
318
|
+
Accent2_5 = 79,
|
|
319
|
+
Accent2_6 = 80,
|
|
320
|
+
Accent2_7 = 81,
|
|
321
|
+
Accent2_8 = 82,
|
|
322
|
+
Accent2_9 = 83
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
export declare const ColorPicker: FC<P_9>;
|
|
326
|
+
|
|
327
|
+
declare enum ColorSets {
|
|
328
|
+
Transparents = 1,
|
|
329
|
+
Greys = 2,
|
|
330
|
+
Primarys = 3,
|
|
331
|
+
Secondarys = 4,
|
|
332
|
+
Reds = 5,
|
|
333
|
+
Greens = 6,
|
|
334
|
+
Blues = 7,
|
|
335
|
+
Yellows = 8,
|
|
336
|
+
Accents1 = 9,
|
|
337
|
+
Accents2 = 10
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
export declare const Container: FC<DivProps>;
|
|
341
|
+
|
|
342
|
+
export declare const ContainerRef: ForwardRefExoticComponent<DivProps & RefAttributes<unknown>>;
|
|
343
|
+
|
|
344
|
+
declare enum Cursors {
|
|
345
|
+
Auto = 1,
|
|
346
|
+
Default = 2,
|
|
347
|
+
Pointer = 3,
|
|
348
|
+
ContextMenu = 4,
|
|
349
|
+
Help = 5,
|
|
350
|
+
Progress = 6,
|
|
351
|
+
Wait = 7,
|
|
352
|
+
Cell = 8,
|
|
353
|
+
Crosshair = 9,
|
|
354
|
+
Text = 10,
|
|
355
|
+
VerticalText = 11,
|
|
356
|
+
Alias = 12,
|
|
357
|
+
Copy = 13,
|
|
358
|
+
Move = 14,
|
|
359
|
+
NoDrop = 15,
|
|
360
|
+
NotAllowed = 16,
|
|
361
|
+
Grab = 17,
|
|
362
|
+
Grabbing = 18,
|
|
363
|
+
ZoomIn = 19,
|
|
364
|
+
ZoomOut = 20
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
declare type directions = "horizontal" | "vertical" | "verticalInverted";
|
|
368
|
+
|
|
369
|
+
declare const directions: any;
|
|
370
|
+
|
|
371
|
+
declare type directions_2 = "horizontal" | "vertical";
|
|
372
|
+
|
|
373
|
+
declare const directions_2: any;
|
|
374
|
+
|
|
375
|
+
declare enum Displays {
|
|
376
|
+
None = 1,
|
|
377
|
+
Block = 2,
|
|
378
|
+
InlineBlock = 3,
|
|
379
|
+
Flex = 4,
|
|
380
|
+
InlineFlex = 5,
|
|
381
|
+
Grid = 6
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
export declare const DivMeasure: FC<P>;
|
|
385
|
+
|
|
386
|
+
declare interface DivProps extends AnimatedProps<HTMLAttributes<HTMLDivElement>>, StyleProps {
|
|
387
|
+
children?: ReactNode;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* border styles - has border | no border - dont include here
|
|
392
|
+
* dont do too many border styles - its confusing
|
|
393
|
+
* dropdown styles
|
|
394
|
+
*/
|
|
395
|
+
declare enum DropdownHeightStyles {
|
|
396
|
+
Default = 1,
|
|
397
|
+
AutoHeight = 2
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
declare enum DropdownPositions {
|
|
401
|
+
Top = 1,
|
|
402
|
+
Bottom = 2
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
declare enum ElementResizes {
|
|
406
|
+
None = 1,
|
|
407
|
+
Both = 2,
|
|
408
|
+
Horizontal = 3,
|
|
409
|
+
Vertical = 4
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
export declare const F__Button: FC<ButtonProps>;
|
|
413
|
+
|
|
414
|
+
export declare const F__ButtonRef: ForwardRefExoticComponent<ButtonProps & RefAttributes<unknown>>;
|
|
415
|
+
|
|
416
|
+
export declare const F__Li: FC<LiProps>;
|
|
417
|
+
|
|
418
|
+
export declare const F__LiRef: ForwardRefExoticComponent<LiProps & RefAttributes<unknown>>;
|
|
419
|
+
|
|
420
|
+
export declare const F__TextArea: FC<TextAreaProps>;
|
|
421
|
+
|
|
422
|
+
export declare const F__TextAreaRef: ForwardRefExoticComponent<TextAreaProps & RefAttributes<unknown>>;
|
|
423
|
+
|
|
424
|
+
export declare const F__TextInput: FC<TextInputProps>;
|
|
425
|
+
|
|
426
|
+
export declare const F__TextInputRef: ForwardRefExoticComponent<TextInputProps & RefAttributes<unknown>>;
|
|
427
|
+
|
|
428
|
+
export declare const F__Ul: FC<UlProps>;
|
|
429
|
+
|
|
430
|
+
export declare const F__UlRef: ForwardRefExoticComponent<UlProps & RefAttributes<unknown>>;
|
|
431
|
+
|
|
432
|
+
declare enum FlexAlignContents {
|
|
433
|
+
FlexStart = 1,
|
|
434
|
+
FlexEnd = 2,
|
|
435
|
+
Center = 3,
|
|
436
|
+
SpaceBetween = 4,
|
|
437
|
+
SpaceAround = 5,
|
|
438
|
+
Stretch = 6
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
declare enum FlexAlignItems {
|
|
442
|
+
FlexStart = 1,
|
|
443
|
+
FlexEnd = 2,
|
|
444
|
+
Center = 3,
|
|
445
|
+
Baseline = 4,
|
|
446
|
+
Stretch = 5
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
declare enum FlexDirections {
|
|
450
|
+
Row = 1,
|
|
451
|
+
Column = 2,
|
|
452
|
+
RowReverse = 3,
|
|
453
|
+
ColumnReverse = 4
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
declare enum FlexJustifyContents {
|
|
457
|
+
FlexStart = 1,
|
|
458
|
+
FlexEnd = 2,
|
|
459
|
+
Center = 3,
|
|
460
|
+
SpaceBetween = 4,
|
|
461
|
+
SpaceAround = 5
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
declare enum FlexWraps {
|
|
465
|
+
NoWrap = 1,
|
|
466
|
+
Wrap = 2,
|
|
467
|
+
WrapReverse = 3
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
declare enum FontFamilies {
|
|
471
|
+
Default = 1
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
declare enum FontSizes {
|
|
475
|
+
Size1 = 1,
|
|
476
|
+
Size2 = 2,
|
|
477
|
+
Size3 = 3,
|
|
478
|
+
Size4 = 4,
|
|
479
|
+
Size5 = 5,
|
|
480
|
+
Size6 = 6,
|
|
481
|
+
Size7 = 7,
|
|
482
|
+
Size8 = 8,
|
|
483
|
+
Size9 = 9,
|
|
484
|
+
Size10 = 10
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
declare enum FontStyles {
|
|
488
|
+
Normal = 1,
|
|
489
|
+
Italic = 2
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
declare enum FontWeights {
|
|
493
|
+
Size1 = 1,
|
|
494
|
+
Size2 = 2,
|
|
495
|
+
Size3 = 3,
|
|
496
|
+
Size4 = 4,
|
|
497
|
+
Size5 = 5,
|
|
498
|
+
Size6 = 6
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
declare interface FUI__Avatar {
|
|
502
|
+
children: ReactNode;
|
|
503
|
+
name?: string;
|
|
504
|
+
isLoading?: boolean;
|
|
505
|
+
onClick?: (v?: any) => void;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
export declare const FunctionalUiPortals: {
|
|
509
|
+
[key: number]: {
|
|
510
|
+
id: string;
|
|
511
|
+
html: ReactNode;
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
|
|
515
|
+
export declare const GalleryModal: FC<P_10>;
|
|
516
|
+
|
|
517
|
+
declare type GlobalEventContextType = {
|
|
518
|
+
globalEventRef: any | null;
|
|
519
|
+
handleGlobalEventRef: (props: string, type: ToastTypes) => void;
|
|
520
|
+
catchUserAxiosNextApiError: any | undefined;
|
|
521
|
+
catchUserAxiosFetcherError: any | undefined;
|
|
522
|
+
};
|
|
523
|
+
|
|
524
|
+
export declare const GlobalEventPortal: ({ children }: {
|
|
525
|
+
children: default_2.ReactNode;
|
|
526
|
+
}) => JSX_3.Element;
|
|
527
|
+
|
|
528
|
+
declare enum GridAlignContents {
|
|
529
|
+
Start = 1,
|
|
530
|
+
End = 2,
|
|
531
|
+
Center = 3,
|
|
532
|
+
Left = 4,
|
|
533
|
+
Right = 5,
|
|
534
|
+
SpaceAround = 6,
|
|
535
|
+
SpaceBetween = 7,
|
|
536
|
+
Stretch = 8,
|
|
537
|
+
SpaceEvenly = 9
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
declare enum GridColumnGaps {
|
|
541
|
+
Size1 = 1,
|
|
542
|
+
Size2 = 2,
|
|
543
|
+
Size3 = 3,
|
|
544
|
+
Size4 = 4,
|
|
545
|
+
Size5 = 5,
|
|
546
|
+
Size6 = 6,
|
|
547
|
+
Size7 = 7,
|
|
548
|
+
Size8 = 8,
|
|
549
|
+
Size9 = 9
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
declare enum GridGaps {
|
|
553
|
+
Size1 = 1,
|
|
554
|
+
Size2 = 2,
|
|
555
|
+
Size3 = 3,
|
|
556
|
+
Size4 = 4,
|
|
557
|
+
Size5 = 5,
|
|
558
|
+
Size6 = 6,
|
|
559
|
+
Size7 = 7,
|
|
560
|
+
Size8 = 8,
|
|
561
|
+
Size9 = 9
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
declare enum GridJustifyContents {
|
|
565
|
+
Start = 1,
|
|
566
|
+
End = 2,
|
|
567
|
+
Center = 3,
|
|
568
|
+
Left = 4,
|
|
569
|
+
Right = 5,
|
|
570
|
+
SpaceAround = 6,
|
|
571
|
+
SpaceBetween = 7,
|
|
572
|
+
Stretch = 8,
|
|
573
|
+
SpaceEvenly = 9
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
declare enum GridRowGaps {
|
|
577
|
+
Size1 = 1,
|
|
578
|
+
Size2 = 2,
|
|
579
|
+
Size3 = 3,
|
|
580
|
+
Size4 = 4,
|
|
581
|
+
Size5 = 5,
|
|
582
|
+
Size6 = 6,
|
|
583
|
+
Size7 = 7,
|
|
584
|
+
Size8 = 8,
|
|
585
|
+
Size9 = 9
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
declare interface HeadElementProps extends AnimatedProps<HTMLAttributes<HTMLHeadElement>>, TextStyleProps, HeaderProps {
|
|
589
|
+
children?: ReactNode;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
declare interface HeaderProps {
|
|
593
|
+
header: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
declare enum Icons {
|
|
597
|
+
Activity = "activity",
|
|
598
|
+
Airplay = "airplay",
|
|
599
|
+
AlertCircle = "alert-circle",
|
|
600
|
+
AlertOctagon = "alert-octagon",
|
|
601
|
+
AlertTriangle = "alert-triangle",
|
|
602
|
+
AlignCenter = "align-center",
|
|
603
|
+
AlignJustify = "align-justify",
|
|
604
|
+
AlignLeft = "align-left",
|
|
605
|
+
AlignRight = "align-right",
|
|
606
|
+
Anchor = "anchor",
|
|
607
|
+
Aperture = "aperture",
|
|
608
|
+
Apps = "apps",
|
|
609
|
+
Archive = "archive",
|
|
610
|
+
ArrowDownCircle = "arrow-down-circle",
|
|
611
|
+
ArrowDownLeft = "arrow-down-left",
|
|
612
|
+
ArrowDownRight = "arrow-down-right",
|
|
613
|
+
ArrowDown = "arrow-down",
|
|
614
|
+
ArrowLeftCircle = "arrow-left-circle",
|
|
615
|
+
ArrowLeft = "arrow-left",
|
|
616
|
+
ArrowRightCircle = "arrow-right-circle",
|
|
617
|
+
ArrowRight = "arrow-right",
|
|
618
|
+
ArrowUpCircle = "arrow-up-circle",
|
|
619
|
+
ArrowUpLeft = "arrow-up-left",
|
|
620
|
+
ArrowUpRight = "arrow-up-right",
|
|
621
|
+
ArrowUp = "arrow-up",
|
|
622
|
+
AtSign = "at-sign",
|
|
623
|
+
Award = "award",
|
|
624
|
+
BarChart2 = "bar-chart-2",
|
|
625
|
+
BarChart = "bar-chart",
|
|
626
|
+
BatteryCharging = "battery-charging",
|
|
627
|
+
Battery = "battery",
|
|
628
|
+
BellOff = "bell-off",
|
|
629
|
+
Bell = "bell",
|
|
630
|
+
Bluetooth = "bluetooth",
|
|
631
|
+
Bold = "bold",
|
|
632
|
+
BookOpen = "book-open",
|
|
633
|
+
Book = "book",
|
|
634
|
+
Bookmark = "bookmark",
|
|
635
|
+
Box = "box",
|
|
636
|
+
Briefcase = "briefcase",
|
|
637
|
+
Calendar = "calendar",
|
|
638
|
+
CameraOff = "camera-off",
|
|
639
|
+
Camera = "camera",
|
|
640
|
+
Cast = "cast",
|
|
641
|
+
CheckCircle = "check-circle",
|
|
642
|
+
CheckSquare = "check-square",
|
|
643
|
+
Check = "check",
|
|
644
|
+
ChevronDown = "chevron-down",
|
|
645
|
+
ChevronLeft = "chevron-left",
|
|
646
|
+
ChevronRight = "chevron-right",
|
|
647
|
+
ChevronUp = "chevron-up",
|
|
648
|
+
ChevronsDown = "chevrons-down",
|
|
649
|
+
ChevronsLeft = "chevrons-left",
|
|
650
|
+
ChevronsRight = "chevrons-right",
|
|
651
|
+
ChevronsUp = "chevrons-up",
|
|
652
|
+
Chrome = "chrome",
|
|
653
|
+
Circle = "circle",
|
|
654
|
+
Clipboard = "clipboard",
|
|
655
|
+
Clock = "clock",
|
|
656
|
+
CloudDrizzle = "cloud-drizzle",
|
|
657
|
+
CloudLightning = "cloud-lightning",
|
|
658
|
+
CloudOff = "cloud-off",
|
|
659
|
+
CloudRain = "cloud-rain",
|
|
660
|
+
CloudSnow = "cloud-snow",
|
|
661
|
+
Cloud = "cloud",
|
|
662
|
+
Code = "code",
|
|
663
|
+
Codepen = "codepen",
|
|
664
|
+
Codesandbox = "codesandbox",
|
|
665
|
+
Coffee = "coffee",
|
|
666
|
+
Columns = "columns",
|
|
667
|
+
Command = "command",
|
|
668
|
+
Compass = "compass",
|
|
669
|
+
Copy = "copy",
|
|
670
|
+
CornerDownLeft = "corner-down-left",
|
|
671
|
+
CornerDownRight = "corner-down-right",
|
|
672
|
+
CornerLeftDown = "corner-left-down",
|
|
673
|
+
CornerLeftUp = "corner-left-up",
|
|
674
|
+
CornerRightDown = "corner-right-down",
|
|
675
|
+
CornerRightUp = "corner-right-up",
|
|
676
|
+
CornerUpLeft = "corner-up-left",
|
|
677
|
+
CornerUpRight = "corner-up-right",
|
|
678
|
+
Cpu = "cpu",
|
|
679
|
+
CreditCard = "credit-card",
|
|
680
|
+
Crop = "crop",
|
|
681
|
+
Crosshair = "crosshair",
|
|
682
|
+
Database = "database",
|
|
683
|
+
Delete = "delete",
|
|
684
|
+
Disc = "disc",
|
|
685
|
+
DivideCircle = "divide-circle",
|
|
686
|
+
DivideSquare = "divide-square",
|
|
687
|
+
Divide = "divide",
|
|
688
|
+
DollarSign = "dollar-sign",
|
|
689
|
+
DownloadCloud = "download-cloud",
|
|
690
|
+
Download = "download",
|
|
691
|
+
Dribbble = "dribbble",
|
|
692
|
+
Droplet = "droplet",
|
|
693
|
+
Edit2 = "edit-2",
|
|
694
|
+
Edit3 = "edit-3",
|
|
695
|
+
Edit = "edit",
|
|
696
|
+
ExternalLink = "external-link",
|
|
697
|
+
EyeOff = "eye-off",
|
|
698
|
+
Eye = "eye",
|
|
699
|
+
Facebook = "facebook",
|
|
700
|
+
FastForward = "fast-forward",
|
|
701
|
+
FeatherSprite = "feather-sprite",
|
|
702
|
+
Feather = "feather",
|
|
703
|
+
Figma = "figma",
|
|
704
|
+
FileMinus = "file-minus",
|
|
705
|
+
FilePlus = "file-plus",
|
|
706
|
+
FileText = "file-text",
|
|
707
|
+
File = "file",
|
|
708
|
+
Film = "film",
|
|
709
|
+
Filter = "filter",
|
|
710
|
+
Flag = "flag",
|
|
711
|
+
FolderMinus = "folder-minus",
|
|
712
|
+
FolderPlus = "folder-plus",
|
|
713
|
+
Folder = "folder",
|
|
714
|
+
Framer = "framer",
|
|
715
|
+
Frown = "frown",
|
|
716
|
+
Gift = "gift",
|
|
717
|
+
GitBranch = "git-branch",
|
|
718
|
+
GitCommit = "git-commit",
|
|
719
|
+
GitMerge = "git-merge",
|
|
720
|
+
GitPullRequest = "git-pull-request",
|
|
721
|
+
Github = "github",
|
|
722
|
+
Gitlab = "gitlab",
|
|
723
|
+
Globe = "globe",
|
|
724
|
+
Grid = "grid",
|
|
725
|
+
HardDrive = "hard-drive",
|
|
726
|
+
Hash = "hash",
|
|
727
|
+
Headphones = "headphones",
|
|
728
|
+
Heart = "heart",
|
|
729
|
+
HelpCircle = "help-circle",
|
|
730
|
+
Hexagon = "hexagon",
|
|
731
|
+
Home = "home",
|
|
732
|
+
Image = "image",
|
|
733
|
+
Inbox = "inbox",
|
|
734
|
+
Info = "info",
|
|
735
|
+
Instagram = "instagram",
|
|
736
|
+
Italic = "italic",
|
|
737
|
+
Key = "key",
|
|
738
|
+
Layers = "layers",
|
|
739
|
+
Layout = "layout",
|
|
740
|
+
LifeBuoy = "life-buoy",
|
|
741
|
+
Link2 = "link-2",
|
|
742
|
+
Link = "link",
|
|
743
|
+
Linkedin = "linkedin",
|
|
744
|
+
List = "list",
|
|
745
|
+
Loader = "loader",
|
|
746
|
+
Lock = "lock",
|
|
747
|
+
LogIn = "log-in",
|
|
748
|
+
LogOut = "log-out",
|
|
749
|
+
Mail = "mail",
|
|
750
|
+
MapPin = "map-pin",
|
|
751
|
+
Map = "map",
|
|
752
|
+
Maximize2 = "maximize-2",
|
|
753
|
+
Maximize = "maximize",
|
|
754
|
+
Meh = "meh",
|
|
755
|
+
Menu = "menu",
|
|
756
|
+
MessageCircle = "message-circle",
|
|
757
|
+
MessageSquare = "message-square",
|
|
758
|
+
MicOff = "mic-off",
|
|
759
|
+
Mic = "mic",
|
|
760
|
+
Minimize2 = "minimize-2",
|
|
761
|
+
Minimize = "minimize",
|
|
762
|
+
MinusCircle = "minus-circle",
|
|
763
|
+
MinusSquare = "minus-square",
|
|
764
|
+
Minus = "minus",
|
|
765
|
+
Monitor = "monitor",
|
|
766
|
+
Moon = "moon",
|
|
767
|
+
MoreHorizontal = "more-horizontal",
|
|
768
|
+
MoreVertical = "more-vertical",
|
|
769
|
+
MousePointer = "mouse-pointer",
|
|
770
|
+
Move = "move",
|
|
771
|
+
Music = "music",
|
|
772
|
+
Navigation2 = "navigation-2",
|
|
773
|
+
Navigation = "navigation",
|
|
774
|
+
Octagon = "octagon",
|
|
775
|
+
Package = "package",
|
|
776
|
+
Paperclip = "paperclip",
|
|
777
|
+
PauseCircle = "pause-circle",
|
|
778
|
+
Pause = "pause",
|
|
779
|
+
PenTool = "pen-tool",
|
|
780
|
+
Percent = "percent",
|
|
781
|
+
PhoneCall = "phone-call",
|
|
782
|
+
PhoneForwarded = "phone-forwarded",
|
|
783
|
+
PhoneIncoming = "phone-incoming",
|
|
784
|
+
PhoneMissed = "phone-missed",
|
|
785
|
+
PhoneOff = "phone-off",
|
|
786
|
+
PhoneOutgoing = "phone-outgoing",
|
|
787
|
+
Phone = "phone",
|
|
788
|
+
PieChart = "pie-chart",
|
|
789
|
+
PlayCircle = "play-circle",
|
|
790
|
+
Play = "play",
|
|
791
|
+
PlusCircle = "plus-circle",
|
|
792
|
+
PlusSquare = "plus-square",
|
|
793
|
+
Plus = "plus",
|
|
794
|
+
Pocket = "pocket",
|
|
795
|
+
Power = "power",
|
|
796
|
+
Printer = "printer",
|
|
797
|
+
Radio = "radio",
|
|
798
|
+
RefreshCcw = "refresh-ccw",
|
|
799
|
+
RefreshCw = "refresh-cw",
|
|
800
|
+
Repeat = "repeat",
|
|
801
|
+
Rewind = "rewind",
|
|
802
|
+
RotateCcw = "rotate-ccw",
|
|
803
|
+
RotateCw = "rotate-cw",
|
|
804
|
+
Rss = "rss",
|
|
805
|
+
Save = "save",
|
|
806
|
+
Scissors = "scissors",
|
|
807
|
+
Search = "search",
|
|
808
|
+
Send = "send",
|
|
809
|
+
Server = "server",
|
|
810
|
+
Settings = "settings",
|
|
811
|
+
Share2 = "share-2",
|
|
812
|
+
Share = "share",
|
|
813
|
+
ShieldOff = "shield-off",
|
|
814
|
+
Shield = "shield",
|
|
815
|
+
ShoppingBag = "shopping-bag",
|
|
816
|
+
ShoppingCart = "shopping-cart",
|
|
817
|
+
Shuffle = "shuffle",
|
|
818
|
+
Sidebar = "sidebar",
|
|
819
|
+
SkipBack = "skip-back",
|
|
820
|
+
SkipForward = "skip-forward",
|
|
821
|
+
Slack = "slack",
|
|
822
|
+
Slash = "slash",
|
|
823
|
+
Sliders = "sliders",
|
|
824
|
+
Smartphone = "smartphone",
|
|
825
|
+
Smile = "smile",
|
|
826
|
+
Speaker = "speaker",
|
|
827
|
+
Spinner = "spinner",
|
|
828
|
+
Square = "square",
|
|
829
|
+
Star = "star",
|
|
830
|
+
StopCircle = "stop-circle",
|
|
831
|
+
Sun = "sun",
|
|
832
|
+
Sunrise = "sunrise",
|
|
833
|
+
Sunset = "sunset",
|
|
834
|
+
Table = "table",
|
|
835
|
+
Tablet = "tablet",
|
|
836
|
+
Tag = "tag",
|
|
837
|
+
Target = "target",
|
|
838
|
+
Terminal = "terminal",
|
|
839
|
+
Thermometer = "thermometer",
|
|
840
|
+
ThumbsDown = "thumbs-down",
|
|
841
|
+
ThumbsUp = "thumbs-up",
|
|
842
|
+
ToggleLeft = "toggle-left",
|
|
843
|
+
ToggleRight = "toggle-right",
|
|
844
|
+
Tool = "tool",
|
|
845
|
+
Trash2 = "trash-2",
|
|
846
|
+
Trash = "trash",
|
|
847
|
+
Trello = "trello",
|
|
848
|
+
TrendingDown = "trending-down",
|
|
849
|
+
TrendingUp = "trending-up",
|
|
850
|
+
Triangle = "triangle",
|
|
851
|
+
Truck = "truck",
|
|
852
|
+
Tv = "tv",
|
|
853
|
+
Twitch = "twitch",
|
|
854
|
+
Twitter = "twitter",
|
|
855
|
+
Type = "type",
|
|
856
|
+
Umbrella = "umbrella",
|
|
857
|
+
Underline = "underline",
|
|
858
|
+
Unlock = "unlock",
|
|
859
|
+
UploadCloud = "upload-cloud",
|
|
860
|
+
Upload = "upload",
|
|
861
|
+
UserCheck = "user-check",
|
|
862
|
+
UserMinus = "user-minus",
|
|
863
|
+
UserPlus = "user-plus",
|
|
864
|
+
UserX = "user-x",
|
|
865
|
+
User = "user",
|
|
866
|
+
Users = "users",
|
|
867
|
+
VideoOff = "video-off",
|
|
868
|
+
Video = "video",
|
|
869
|
+
Voicemail = "voicemail",
|
|
870
|
+
Volume1 = "volume-1",
|
|
871
|
+
Volume2 = "volume-2",
|
|
872
|
+
VolumeX = "volume-x",
|
|
873
|
+
Volume = "volume",
|
|
874
|
+
Watch = "watch",
|
|
875
|
+
WifiOff = "wifi-off",
|
|
876
|
+
Wifi = "wifi",
|
|
877
|
+
Wind = "wind",
|
|
878
|
+
XCircle = "x-circle",
|
|
879
|
+
XOctagon = "x-octagon",
|
|
880
|
+
XSquare = "x-square",
|
|
881
|
+
X = "x",
|
|
882
|
+
Youtube = "youtube",
|
|
883
|
+
ZapOff = "zap-off",
|
|
884
|
+
Zap = "zap",
|
|
885
|
+
ZoomIn = "zoom-in",
|
|
886
|
+
ZoomOut = "zoom-out"
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
export declare const InputImage: ({ id, name, handleImageChange, labelname, defaultValue, width, height, }: P_12) => JSX_3.Element;
|
|
890
|
+
|
|
891
|
+
export declare const InputText: ({ id, name, type, value, modes, label, focus, required, width, fullWidth, helperText, placeholder, step, min, handleChange, handleFocus, handleBlur, handleCheck, size, inputStyle, inputColor, labelTextColor, transparent, ...props }: P_14) => JSX_3.Element;
|
|
892
|
+
|
|
893
|
+
declare enum InputTextModes {
|
|
894
|
+
Default = 1,
|
|
895
|
+
Error = 2,
|
|
896
|
+
Disabled = 3,
|
|
897
|
+
ReadOnly = 4
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* text size
|
|
902
|
+
* label size
|
|
903
|
+
* padding left right
|
|
904
|
+
* padding top bottom
|
|
905
|
+
* border width
|
|
906
|
+
*/
|
|
907
|
+
declare enum InputTextSizes {
|
|
908
|
+
Small = 1,
|
|
909
|
+
Default = 2,// medium
|
|
910
|
+
Big = 3,
|
|
911
|
+
Huge = 4
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
declare enum InputTextStyles {
|
|
915
|
+
Default = 1,// border bottom
|
|
916
|
+
Outlined = 2,// outline overall
|
|
917
|
+
Filled = 3
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
declare enum InputTextTypes {
|
|
921
|
+
Text = "text",
|
|
922
|
+
Number = "number",
|
|
923
|
+
Password = "password"
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
export declare const InsetGroup: FC<P_16>;
|
|
927
|
+
|
|
928
|
+
declare interface InsetGroupOption {
|
|
929
|
+
id: string | number;
|
|
930
|
+
text: string;
|
|
931
|
+
value?: any;
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
declare enum JustifySelfs {
|
|
935
|
+
Start = 1,
|
|
936
|
+
End = 2,
|
|
937
|
+
Center = 3,
|
|
938
|
+
Left = 4,
|
|
939
|
+
Right = 5,
|
|
940
|
+
SelfStart = 6,
|
|
941
|
+
SelfEnd = 7,
|
|
942
|
+
Stretch = 8,
|
|
943
|
+
Normal = 9,
|
|
944
|
+
Auto = 10
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
export declare const LabelText: ({ labelName, offsetX, y, x, hover, }: {
|
|
948
|
+
labelName?: string | undefined;
|
|
949
|
+
offsetX?: number | undefined;
|
|
950
|
+
y?: number | undefined;
|
|
951
|
+
x?: number | undefined;
|
|
952
|
+
hover?: boolean | undefined;
|
|
953
|
+
}) => JSX_3.Element;
|
|
954
|
+
|
|
955
|
+
export declare const Layout: FC<LayoutDivProps>;
|
|
956
|
+
|
|
957
|
+
declare interface LayoutDivProps extends AnimatedProps<HTMLAttributes<HTMLDivElement>>, LayoutProps {
|
|
958
|
+
children?: ReactNode;
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
declare interface LayoutProps {
|
|
962
|
+
display?: Displays;
|
|
963
|
+
flexDirection?: FlexDirections;
|
|
964
|
+
flexWrap?: FlexWraps;
|
|
965
|
+
flexJustifyContent?: FlexJustifyContents;
|
|
966
|
+
flexAlignItem?: FlexAlignItems;
|
|
967
|
+
flexAlignContent?: FlexAlignContents;
|
|
968
|
+
gridGap?: GridGaps;
|
|
969
|
+
gridRowGap?: GridRowGaps;
|
|
970
|
+
gridColumnGap?: GridColumnGaps;
|
|
971
|
+
gridJustifyContent?: GridJustifyContents;
|
|
972
|
+
gridAlignContent?: GridAlignContents;
|
|
973
|
+
justifySelf?: JustifySelfs;
|
|
974
|
+
alignSelf?: AlignSelfs;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
export declare const LayoutRef: ForwardRefExoticComponent<LayoutDivProps & RefAttributes<unknown>>;
|
|
978
|
+
|
|
979
|
+
declare interface LiProps extends AnimatedProps<HTMLAttributes<HTMLLIElement>>, StyleProps {
|
|
980
|
+
children?: ReactNode;
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
export declare const LoadingSpinner: ({ isLoading, size }: Props) => JSX_2.Element;
|
|
984
|
+
|
|
985
|
+
export declare const Modal: FC<P_11>;
|
|
986
|
+
|
|
987
|
+
declare enum ModalStyles {
|
|
988
|
+
Default = 1,
|
|
989
|
+
Nocard = 2
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
export declare const NotificationSystem: () => JSX_3.Element;
|
|
993
|
+
|
|
994
|
+
declare enum OutlineStyles {
|
|
995
|
+
None = 1,
|
|
996
|
+
Solid = 2,
|
|
997
|
+
Inset = 3,
|
|
998
|
+
Outset = 4,
|
|
999
|
+
Dotted = 5,
|
|
1000
|
+
Dashed = 6,
|
|
1001
|
+
Double = 7,
|
|
1002
|
+
Auto = 8
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
declare interface P {
|
|
1006
|
+
children: ReactNode;
|
|
1007
|
+
inherit?: boolean;
|
|
1008
|
+
width?: "100%" | "auto" | number;
|
|
1009
|
+
height?: "100%" | "auto" | number;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
declare interface P_10 {
|
|
1013
|
+
showModal: boolean;
|
|
1014
|
+
closeModal: (v?: any) => void;
|
|
1015
|
+
images: Array<any>;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
declare interface P_11 {
|
|
1019
|
+
showModal: boolean;
|
|
1020
|
+
closeModal: (v?: any) => void;
|
|
1021
|
+
children: ReactNode;
|
|
1022
|
+
modalStyles?: ModalStyles;
|
|
1023
|
+
modalBackground?: ColorPalettes;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
declare interface P_12 {
|
|
1027
|
+
id: string;
|
|
1028
|
+
name: string;
|
|
1029
|
+
handleImageChange?: (v: File | undefined) => void;
|
|
1030
|
+
labelname?: string;
|
|
1031
|
+
defaultValue?: string;
|
|
1032
|
+
width?: number | string;
|
|
1033
|
+
height?: number | string;
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
declare interface P_13 {
|
|
1037
|
+
checked: boolean;
|
|
1038
|
+
id: string;
|
|
1039
|
+
handleChange: (id: string, checked: boolean) => void;
|
|
1040
|
+
size?: Sizings;
|
|
1041
|
+
children: ReactNode;
|
|
1042
|
+
vertigo?: boolean;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
* icon on left or right side
|
|
1047
|
+
*/
|
|
1048
|
+
declare interface P_14 extends HTMLAttributes<HTMLInputElement> {
|
|
1049
|
+
id: string;
|
|
1050
|
+
name: string;
|
|
1051
|
+
type?: InputTextTypes;
|
|
1052
|
+
value?: any;
|
|
1053
|
+
modes?: InputTextModes;
|
|
1054
|
+
label: string;
|
|
1055
|
+
focus?: boolean;
|
|
1056
|
+
width?: number | string;
|
|
1057
|
+
required?: boolean;
|
|
1058
|
+
fullWidth?: boolean;
|
|
1059
|
+
placeholder?: string;
|
|
1060
|
+
helperText?: string;
|
|
1061
|
+
step?: number;
|
|
1062
|
+
min?: number;
|
|
1063
|
+
handleChange?: (v: ChangeEvent<HTMLInputElement>) => void;
|
|
1064
|
+
handleFocus?: (v?: any) => void;
|
|
1065
|
+
handleBlur?: (v?: any) => void;
|
|
1066
|
+
handleCheck?: (v?: any) => Promise<any> | void;
|
|
1067
|
+
fontColor?: ColorPalettes;
|
|
1068
|
+
fontWeight?: FontWeights;
|
|
1069
|
+
fontSize?: FontSizes;
|
|
1070
|
+
size?: InputTextSizes;
|
|
1071
|
+
inputStyle?: InputTextStyles;
|
|
1072
|
+
inputColor?: ColorSets;
|
|
1073
|
+
/**
|
|
1074
|
+
* colors
|
|
1075
|
+
* - border color, input text color, label color, icon color
|
|
1076
|
+
*/
|
|
1077
|
+
labelTextColor?: boolean | ColorPalettes;
|
|
1078
|
+
transparent?: boolean;
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
declare interface P_15 extends HTMLAttributes<HTMLTextAreaElement> {
|
|
1082
|
+
id: string;
|
|
1083
|
+
name: string;
|
|
1084
|
+
value?: any;
|
|
1085
|
+
modes?: TextAreaModes;
|
|
1086
|
+
label: string;
|
|
1087
|
+
rows?: number;
|
|
1088
|
+
focus?: boolean;
|
|
1089
|
+
width?: number;
|
|
1090
|
+
required?: boolean;
|
|
1091
|
+
fullWidth?: boolean;
|
|
1092
|
+
helperText?: string;
|
|
1093
|
+
placeholder?: string;
|
|
1094
|
+
onChange?: (v: ChangeEvent<HTMLTextAreaElement>) => void;
|
|
1095
|
+
handleBlur?: (...args: any[]) => void;
|
|
1096
|
+
handleFocus?: (...args: any[]) => void;
|
|
1097
|
+
handleCheck?: (v?: any) => Promise<any> | void;
|
|
1098
|
+
size?: TextAreaSizes;
|
|
1099
|
+
textAreaStyle?: TextAreaStyles_2;
|
|
1100
|
+
textAreaColor?: ColorSets;
|
|
1101
|
+
labelTextColor?: boolean | ColorPalettes;
|
|
1102
|
+
noLabel?: boolean;
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
declare interface P_16 {
|
|
1106
|
+
id: any;
|
|
1107
|
+
options: InsetGroupOption[];
|
|
1108
|
+
valueIndex?: any;
|
|
1109
|
+
setInput?: any;
|
|
1110
|
+
setSelect?: (v: InsetGroupOption) => void;
|
|
1111
|
+
insetColor?: ColorSets;
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
declare interface P_17 {
|
|
1115
|
+
id: string | number;
|
|
1116
|
+
title: string;
|
|
1117
|
+
options: SelectOption[];
|
|
1118
|
+
selectedIdx?: number | null;
|
|
1119
|
+
w?: number;
|
|
1120
|
+
doubleZero?: boolean;
|
|
1121
|
+
required?: boolean;
|
|
1122
|
+
dropdownHeightStyle?: DropdownHeightStyles;
|
|
1123
|
+
state?: SelectStates;
|
|
1124
|
+
selectedValuesStyle?: SelectedValuesStyles;
|
|
1125
|
+
colorSet?: ColorSets;
|
|
1126
|
+
dropdownPosition?: DropdownPositions;
|
|
1127
|
+
setSelectedIdx: (idx: number) => void;
|
|
1128
|
+
setInput?: (a: any) => void;
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
declare interface P_18 {
|
|
1132
|
+
headers: TableHeaderElement[];
|
|
1133
|
+
rows: TableRowElement[];
|
|
1134
|
+
templateColumns: string[];
|
|
1135
|
+
hover?: boolean;
|
|
1136
|
+
emptyPlaceholder?: ReactNode;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
declare interface P_19 {
|
|
1140
|
+
headers: TableHeaderElement[];
|
|
1141
|
+
templateColumns: string[];
|
|
1142
|
+
setTableRows?: (v?: any) => void;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
declare interface P_2 {
|
|
1146
|
+
direction: directions;
|
|
1147
|
+
isShown: boolean;
|
|
1148
|
+
children?: ReactNode;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
declare type P_20 = {
|
|
1152
|
+
tab: number;
|
|
1153
|
+
tabMenu: TabMenu[];
|
|
1154
|
+
setTab?: (a: number) => void;
|
|
1155
|
+
};
|
|
1156
|
+
|
|
1157
|
+
declare interface P_3 {
|
|
1158
|
+
direction: directions_2;
|
|
1159
|
+
isShown?: boolean;
|
|
1160
|
+
enterOffsetBy?: number;
|
|
1161
|
+
children?: ReactNode;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
declare type P_4 = {
|
|
1165
|
+
name: Icons | string;
|
|
1166
|
+
withMargin?: boolean;
|
|
1167
|
+
size?: Sizings;
|
|
1168
|
+
width?: number;
|
|
1169
|
+
height?: number;
|
|
1170
|
+
lazy?: boolean;
|
|
1171
|
+
colorLight?: ColorPalettes;
|
|
1172
|
+
colorDark?: ColorPalettes;
|
|
1173
|
+
iconAction?: (v?: any) => void;
|
|
1174
|
+
animated?: boolean;
|
|
1175
|
+
cursor?: Cursors;
|
|
1176
|
+
overflow?: string;
|
|
1177
|
+
borderRadius?: string;
|
|
1178
|
+
};
|
|
1179
|
+
|
|
1180
|
+
declare interface P_5 {
|
|
1181
|
+
isLoading?: boolean;
|
|
1182
|
+
size?: AvatarSizes;
|
|
1183
|
+
avatarName?: string | null;
|
|
1184
|
+
withHover?: boolean;
|
|
1185
|
+
onClick?: (v?: any) => void;
|
|
1186
|
+
children?: ReactNode;
|
|
1187
|
+
border?: boolean;
|
|
1188
|
+
borderColor?: ColorPalettes;
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
declare interface P_6 {
|
|
1192
|
+
avatars: FUI__Avatar[];
|
|
1193
|
+
isLoading?: boolean;
|
|
1194
|
+
size?: AvatarSizes;
|
|
1195
|
+
withHover?: boolean;
|
|
1196
|
+
border?: boolean;
|
|
1197
|
+
borderColor?: ColorPalettes;
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
declare interface P_7 {
|
|
1201
|
+
children: ReactNode;
|
|
1202
|
+
paddings?: "top bottom" | "left right" | "all";
|
|
1203
|
+
margin?: Spacings | undefined;
|
|
1204
|
+
marginTop?: Spacings | undefined;
|
|
1205
|
+
marginBottom?: Spacings | undefined;
|
|
1206
|
+
marginLeft?: Spacings | undefined;
|
|
1207
|
+
marginRight?: Spacings | undefined;
|
|
1208
|
+
bgColor?: ColorPalettes;
|
|
1209
|
+
chipStyle?: ChipStyles;
|
|
1210
|
+
fontSize?: FontSizes;
|
|
1211
|
+
chipColor?: ColorSets;
|
|
1212
|
+
size?: ChipSizes;
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
declare interface P_8 {
|
|
1216
|
+
size: TagColorSizes;
|
|
1217
|
+
color?: ColorPalettes | string;
|
|
1218
|
+
text?: string | number;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
declare interface P_9 {
|
|
1222
|
+
defaultColor?: string;
|
|
1223
|
+
setInput?: (v: any) => any;
|
|
1224
|
+
setColor?: (color: string) => void;
|
|
1225
|
+
inputName?: string | undefined;
|
|
1226
|
+
closePicker?: ((p?: boolean) => void) | undefined;
|
|
1227
|
+
position?: "absolute" | "static";
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
declare interface ParagraphProps extends AnimatedProps<HTMLAttributes<HTMLParagraphElement>>, TextStyleProps {
|
|
1231
|
+
children?: ReactNode;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
declare enum Positions {
|
|
1235
|
+
Size0 = 1,
|
|
1236
|
+
Size1 = 2,
|
|
1237
|
+
Size2 = 3,
|
|
1238
|
+
Size3 = 4,
|
|
1239
|
+
Size4 = 5,
|
|
1240
|
+
Size5 = 6,
|
|
1241
|
+
Size6 = 7,
|
|
1242
|
+
Size7 = 8,
|
|
1243
|
+
Size8 = 9,
|
|
1244
|
+
Size9 = 10,
|
|
1245
|
+
Auto = 11
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
declare type Props = {
|
|
1249
|
+
isLoading: boolean;
|
|
1250
|
+
size?: Sizings;
|
|
1251
|
+
};
|
|
1252
|
+
|
|
1253
|
+
/**
|
|
1254
|
+
* top left, top right
|
|
1255
|
+
* bottom left, bottom right
|
|
1256
|
+
*/
|
|
1257
|
+
declare type Props_2 = {
|
|
1258
|
+
isOpen: boolean;
|
|
1259
|
+
children: ReactNode;
|
|
1260
|
+
};
|
|
1261
|
+
|
|
1262
|
+
declare interface Props_3 {
|
|
1263
|
+
children: default_2.ReactNode;
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
declare type Props_4 = {
|
|
1267
|
+
level: AdmonitionLevels;
|
|
1268
|
+
size?: AdmonitionSizes;
|
|
1269
|
+
descriptionText: string;
|
|
1270
|
+
children?: React.ReactNode;
|
|
1271
|
+
};
|
|
1272
|
+
|
|
1273
|
+
declare type Props_5 = {
|
|
1274
|
+
isChecked: boolean;
|
|
1275
|
+
children?: default_2.ReactNode;
|
|
1276
|
+
size?: CheckboxSizes;
|
|
1277
|
+
checkboxColor?: CheckboxColors;
|
|
1278
|
+
onClick?: (v?: any) => void;
|
|
1279
|
+
};
|
|
1280
|
+
|
|
1281
|
+
/**
|
|
1282
|
+
* colors bg
|
|
1283
|
+
* icons -- loading
|
|
1284
|
+
*/
|
|
1285
|
+
declare type Props_6 = {
|
|
1286
|
+
isTrue: boolean;
|
|
1287
|
+
setIsTrue: (a: any) => void;
|
|
1288
|
+
size?: ToggleSizes;
|
|
1289
|
+
icon?: string;
|
|
1290
|
+
toggleState?: ToggleStates;
|
|
1291
|
+
description?: string;
|
|
1292
|
+
};
|
|
1293
|
+
|
|
1294
|
+
export declare function ProvideGlobalEventContext({ children, }: {
|
|
1295
|
+
children: default_2.ReactNode;
|
|
1296
|
+
}): JSX_3.Element;
|
|
1297
|
+
|
|
1298
|
+
export declare function ProvideUiContext({ children }: Props_3): JSX_3.Element;
|
|
1299
|
+
|
|
1300
|
+
export declare const Radio: FC<P_13>;
|
|
1301
|
+
|
|
1302
|
+
declare enum Radiuses {
|
|
1303
|
+
Size0 = 1,
|
|
1304
|
+
Size1 = 2,
|
|
1305
|
+
Size2 = 3,
|
|
1306
|
+
Size3 = 4,
|
|
1307
|
+
Size4 = 5,
|
|
1308
|
+
Size5 = 6,
|
|
1309
|
+
Size6 = 7,
|
|
1310
|
+
Size7 = 8,
|
|
1311
|
+
Size8 = 9,
|
|
1312
|
+
Size9 = 10
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
declare enum SelectedValuesStyles {
|
|
1316
|
+
Text = 1,
|
|
1317
|
+
Chip = 2
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
declare interface SelectOption {
|
|
1321
|
+
id: string | number;
|
|
1322
|
+
text: string;
|
|
1323
|
+
selected: boolean;
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
export declare const SelectSpring: FC<P_17>;
|
|
1327
|
+
|
|
1328
|
+
declare enum SelectStates {
|
|
1329
|
+
Default = 1,
|
|
1330
|
+
Selected = 2,
|
|
1331
|
+
Error = 3,
|
|
1332
|
+
Disabled = 4,
|
|
1333
|
+
ReadOnly = 5,
|
|
1334
|
+
Required = 6
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
declare enum Sizings {
|
|
1338
|
+
Size1 = 8,
|
|
1339
|
+
Size2 = 12,
|
|
1340
|
+
Size3 = 16,
|
|
1341
|
+
Size4 = 20,
|
|
1342
|
+
Size5 = 24,
|
|
1343
|
+
Size6 = 28,
|
|
1344
|
+
Size7 = 32,
|
|
1345
|
+
Size8 = 36,
|
|
1346
|
+
Size9 = 44,
|
|
1347
|
+
Size10 = 52,
|
|
1348
|
+
Size11 = 60,
|
|
1349
|
+
Size12 = 68,
|
|
1350
|
+
Size13 = 76,
|
|
1351
|
+
Size14 = 84,
|
|
1352
|
+
Size15 = 92
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
declare enum Spacings {
|
|
1356
|
+
Size0 = 1,
|
|
1357
|
+
Size1 = 2,
|
|
1358
|
+
Size2 = 3,
|
|
1359
|
+
Size3 = 4,
|
|
1360
|
+
Size4 = 5,
|
|
1361
|
+
Size5 = 6,
|
|
1362
|
+
Size6 = 7,
|
|
1363
|
+
Size7 = 8,
|
|
1364
|
+
Size8 = 9,
|
|
1365
|
+
Size9 = 10,
|
|
1366
|
+
Auto = 11
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
declare interface SpanProps extends AnimatedProps<HTMLAttributes<HTMLSpanElement>>, TextStyleProps {
|
|
1370
|
+
children?: ReactNode;
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
export declare function Spinner({ size }: {
|
|
1374
|
+
size?: Sizings | undefined;
|
|
1375
|
+
}): JSX_3.Element;
|
|
1376
|
+
|
|
1377
|
+
export declare const SpringEnter: FC<P_2>;
|
|
1378
|
+
|
|
1379
|
+
export declare const SpringEnterOffsetBy: FC<P_3>;
|
|
1380
|
+
|
|
1381
|
+
export declare const SpringMenuTransition: FC<Props_2>;
|
|
1382
|
+
|
|
1383
|
+
export declare const SpringOpenCloseHeight: ({ isOpen, children, }: {
|
|
1384
|
+
isOpen: boolean;
|
|
1385
|
+
children: ReactNode;
|
|
1386
|
+
}) => JSX_3.Element;
|
|
1387
|
+
|
|
1388
|
+
declare interface StyleProps {
|
|
1389
|
+
margin?: Spacings;
|
|
1390
|
+
marginTop?: Spacings;
|
|
1391
|
+
marginBottom?: Spacings;
|
|
1392
|
+
marginLeft?: Spacings;
|
|
1393
|
+
marginRight?: Spacings;
|
|
1394
|
+
padding?: Spacings;
|
|
1395
|
+
paddingTop?: Spacings;
|
|
1396
|
+
paddingBottom?: Spacings;
|
|
1397
|
+
paddingLeft?: Spacings;
|
|
1398
|
+
paddingRight?: Spacings;
|
|
1399
|
+
boxShadow?: BoxShadows;
|
|
1400
|
+
borderRadius?: Radiuses;
|
|
1401
|
+
borderBottomLeftRadius?: Radiuses;
|
|
1402
|
+
borderBottomRightRadius?: Radiuses;
|
|
1403
|
+
borderTopLeftRadius?: Radiuses;
|
|
1404
|
+
borderTopRightRadius?: Radiuses;
|
|
1405
|
+
borderStyle?: BorderStyles;
|
|
1406
|
+
borderLeftStyle?: BorderStyles;
|
|
1407
|
+
borderRightStyle?: BorderStyles;
|
|
1408
|
+
borderTopStyle?: BorderStyles;
|
|
1409
|
+
borderBottomStyle?: BorderStyles;
|
|
1410
|
+
borderWidth?: BorderWidths;
|
|
1411
|
+
bgColor?: ColorPalettes;
|
|
1412
|
+
paletteColor?: ColorPalettes;
|
|
1413
|
+
borderColor?: ColorPalettes;
|
|
1414
|
+
outlineColor?: ColorPalettes;
|
|
1415
|
+
boxSizing?: BoxSizings;
|
|
1416
|
+
top?: Positions;
|
|
1417
|
+
bottom?: Positions;
|
|
1418
|
+
left?: Positions;
|
|
1419
|
+
right?: Positions;
|
|
1420
|
+
cursor?: Cursors;
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
export declare const TableGrid: FC<P_18>;
|
|
1424
|
+
|
|
1425
|
+
export declare const TableHeader: FC<P_19>;
|
|
1426
|
+
|
|
1427
|
+
declare interface TableHeaderElement {
|
|
1428
|
+
headerId: string | number;
|
|
1429
|
+
element: ReactNode;
|
|
1430
|
+
styles: CellStyles;
|
|
1431
|
+
onClickHeaderCell?: (v?: string | number, e?: any) => void;
|
|
1432
|
+
sortable?: boolean;
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
export declare const TableRow: ({ rowId, templateColumns, cells, hover, onClickRow, }: TableRowElement) => JSX_3.Element;
|
|
1436
|
+
|
|
1437
|
+
declare type TableRowCellElement = {
|
|
1438
|
+
cellId?: string | number;
|
|
1439
|
+
element: ReactNode;
|
|
1440
|
+
styles: CellStyles;
|
|
1441
|
+
onClickCell?: (v?: string | number, e?: any) => void;
|
|
1442
|
+
};
|
|
1443
|
+
|
|
1444
|
+
declare type TableRowElement = {
|
|
1445
|
+
rowId: string | number;
|
|
1446
|
+
templateColumns: string[];
|
|
1447
|
+
cells: TableRowCellElement[];
|
|
1448
|
+
hover: boolean;
|
|
1449
|
+
onClickRow?: (v?: string | number, e?: any) => void;
|
|
1450
|
+
};
|
|
1451
|
+
|
|
1452
|
+
declare interface TabMenu {
|
|
1453
|
+
name: string;
|
|
1454
|
+
menuWrapper?: ComponentType<any>;
|
|
1455
|
+
route?: string;
|
|
1456
|
+
path?: string;
|
|
1457
|
+
element?: ReactNode;
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
export declare const Tabs: ({ tabMenu, tab, setTab }: P_20) => JSX_3.Element;
|
|
1461
|
+
|
|
1462
|
+
export declare const TagColor: FC<P_8>;
|
|
1463
|
+
|
|
1464
|
+
declare enum TagColorSizes {
|
|
1465
|
+
Small = 1,
|
|
1466
|
+
Medium = 2,
|
|
1467
|
+
Big = 3,
|
|
1468
|
+
Large = 4
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1471
|
+
export declare const Text_H1: FC<HeadElementProps>;
|
|
1472
|
+
|
|
1473
|
+
export declare const Text_H1Ref: ForwardRefExoticComponent<HeadElementProps & RefAttributes<unknown>>;
|
|
1474
|
+
|
|
1475
|
+
export declare const Text_H2: FC<HeadElementProps>;
|
|
1476
|
+
|
|
1477
|
+
export declare const Text_H2Ref: ForwardRefExoticComponent<HeadElementProps & RefAttributes<unknown>>;
|
|
1478
|
+
|
|
1479
|
+
export declare const Text_H3: FC<HeadElementProps>;
|
|
1480
|
+
|
|
1481
|
+
export declare const Text_H3Ref: ForwardRefExoticComponent<HeadElementProps & RefAttributes<unknown>>;
|
|
1482
|
+
|
|
1483
|
+
export declare const Text_H4: FC<HeadElementProps>;
|
|
1484
|
+
|
|
1485
|
+
export declare const Text_H4Ref: ForwardRefExoticComponent<HeadElementProps & RefAttributes<unknown>>;
|
|
1486
|
+
|
|
1487
|
+
export declare const Text_H5: FC<HeadElementProps>;
|
|
1488
|
+
|
|
1489
|
+
export declare const Text_H5Ref: ForwardRefExoticComponent<HeadElementProps & RefAttributes<unknown>>;
|
|
1490
|
+
|
|
1491
|
+
export declare const Text_H6: FC<HeadElementProps>;
|
|
1492
|
+
|
|
1493
|
+
export declare const Text_H6Ref: ForwardRefExoticComponent<HeadElementProps & RefAttributes<unknown>>;
|
|
1494
|
+
|
|
1495
|
+
export declare const Text_Header: FC<HeadElementProps>;
|
|
1496
|
+
|
|
1497
|
+
export declare const Text_HeaderRef: ForwardRefExoticComponent<HeadElementProps & RefAttributes<unknown>>;
|
|
1498
|
+
|
|
1499
|
+
export declare const Text_P: FC<ParagraphProps>;
|
|
1500
|
+
|
|
1501
|
+
export declare const Text_PRef: ForwardRefExoticComponent<ParagraphProps & RefAttributes<unknown>>;
|
|
1502
|
+
|
|
1503
|
+
export declare const Text_Span: FC<SpanProps>;
|
|
1504
|
+
|
|
1505
|
+
export declare const Text_SpanRef: ForwardRefExoticComponent<SpanProps & RefAttributes<unknown>>;
|
|
1506
|
+
|
|
1507
|
+
declare enum TextAligns {
|
|
1508
|
+
Start = 1,
|
|
1509
|
+
End = 2,
|
|
1510
|
+
Center = 3,
|
|
1511
|
+
Justify = 4
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
export declare const TextArea: ({ id, name, value, modes, label, required, rows, width, fullWidth, placeholder, onChange, handleBlur, handleFocus, handleCheck, size, textAreaStyle, textAreaColor, labelTextColor, noLabel, ...props }: P_15) => JSX_3.Element;
|
|
1515
|
+
|
|
1516
|
+
declare enum TextAreaModes {
|
|
1517
|
+
Default = 1,
|
|
1518
|
+
Error = 2,
|
|
1519
|
+
Disabled = 3,
|
|
1520
|
+
ReadOnly = 4
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
declare interface TextAreaProp {
|
|
1524
|
+
type?: string;
|
|
1525
|
+
required?: boolean | undefined;
|
|
1526
|
+
disabled?: boolean | undefined;
|
|
1527
|
+
placeholder?: string | undefined;
|
|
1528
|
+
name?: string;
|
|
1529
|
+
value?: any | undefined;
|
|
1530
|
+
min?: number | undefined;
|
|
1531
|
+
step?: number | undefined;
|
|
1532
|
+
rows?: number | undefined;
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
declare interface TextAreaProps extends AnimatedProps<HTMLAttributes<HTMLTextAreaElement>>, TextStyleProps, TextAreaStyles, TextAreaProp {
|
|
1536
|
+
children?: ReactNode;
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
declare enum TextAreaSizes {
|
|
1540
|
+
Small = 1,
|
|
1541
|
+
Default = 2,// medium
|
|
1542
|
+
Big = 3,
|
|
1543
|
+
Huge = 4
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
declare interface TextAreaStyles {
|
|
1547
|
+
resize?: ElementResizes;
|
|
1548
|
+
outlineStyle?: OutlineStyles;
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
declare enum TextAreaStyles_2 {
|
|
1552
|
+
Default = 1,// outline
|
|
1553
|
+
Outlined = 2,// outline overall
|
|
1554
|
+
Filled = 3,// border bottom & bg color
|
|
1555
|
+
BorderBottom = 4,
|
|
1556
|
+
Transparent = 5
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
declare interface TextInputProp {
|
|
1560
|
+
type?: string;
|
|
1561
|
+
required?: boolean | undefined;
|
|
1562
|
+
disabled?: boolean | undefined;
|
|
1563
|
+
placeholder?: string | undefined;
|
|
1564
|
+
name?: string;
|
|
1565
|
+
value?: any | undefined;
|
|
1566
|
+
min?: number | undefined;
|
|
1567
|
+
step?: number | undefined;
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
declare interface TextInputProps extends AnimatedProps<HTMLAttributes<HTMLInputElement>>, TextStyleProps, TextInputProp {
|
|
1571
|
+
children?: ReactNode;
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
declare interface TextStyleProps {
|
|
1575
|
+
paletteColor?: ColorPalettes;
|
|
1576
|
+
fontSize?: FontSizes;
|
|
1577
|
+
fontFamily?: FontFamilies;
|
|
1578
|
+
fontWeight?: FontWeights;
|
|
1579
|
+
fontStyle?: FontStyles;
|
|
1580
|
+
textAlign?: TextAligns;
|
|
1581
|
+
cursor?: Cursors;
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
declare enum Themes {
|
|
1585
|
+
Default = 1,
|
|
1586
|
+
Light = 2,
|
|
1587
|
+
Dark = 3
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1590
|
+
declare enum ToastTypes {
|
|
1591
|
+
Success = 1,
|
|
1592
|
+
Alert = 2,
|
|
1593
|
+
Error = 3,
|
|
1594
|
+
Info = 4,
|
|
1595
|
+
Static = 5,
|
|
1596
|
+
Loading = 6,
|
|
1597
|
+
SuccessStatic = 7,
|
|
1598
|
+
ErrorStatic = 8,
|
|
1599
|
+
LoadingStatic = 9
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
declare enum ToggleSizes {
|
|
1603
|
+
Tiny = 1,
|
|
1604
|
+
Smaller = 2,
|
|
1605
|
+
Small = 3,
|
|
1606
|
+
Medium = 4,
|
|
1607
|
+
Big = 5,
|
|
1608
|
+
Large = 6
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
declare enum ToggleStates {
|
|
1612
|
+
Icon = 1,
|
|
1613
|
+
Loading = 2,
|
|
1614
|
+
Success = 3,
|
|
1615
|
+
Error = 4,
|
|
1616
|
+
Disabled = 5
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
export declare const ToggleSwitch: ({ isTrue, setIsTrue, size, icon, toggleState, description, }: Props_6) => JSX_3.Element;
|
|
1620
|
+
|
|
1621
|
+
export declare const UIcon: FC<P_4>;
|
|
1622
|
+
|
|
1623
|
+
declare type UiContextType = {
|
|
1624
|
+
theme: Themes;
|
|
1625
|
+
baseFontSize: FontSizes;
|
|
1626
|
+
handleSetTheme: (p: Themes) => void;
|
|
1627
|
+
onSetBaseFontSize: (v: number) => void;
|
|
1628
|
+
};
|
|
1629
|
+
|
|
1630
|
+
declare interface UlProps extends AnimatedProps<HTMLAttributes<HTMLUListElement>>, StyleProps {
|
|
1631
|
+
children?: ReactNode;
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
export declare const useGlobalEventContext: () => GlobalEventContextType;
|
|
1635
|
+
|
|
1636
|
+
export declare const useUiContext: () => UiContextType;
|
|
1637
|
+
|
|
1638
|
+
export { }
|