@react-solutions/inputs 0.2.1 → 0.2.3
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/index.d.mts +1785 -1329
- package/dist/index.d.ts +1785 -1329
- package/dist/index.js +1 -6026
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -6089
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,1333 +1,1789 @@
|
|
|
1
|
+
import { SliderProps, FormControlProps, FormLabelProps, SwitchProps, FormControlLabelProps, RadioGroupProps, RadioProps, FormControl, CheckboxProps, Box, Stack, ButtonProps, TextFieldProps, AutocompleteProps, AutocompleteChangeReason, AutocompleteInputChangeReason, AutocompleteCloseReason, SelectProps, MenuItemProps, InputLabel, SelectChangeEvent, IconButtonProps, TextFieldPropsSizeOverrides, SxProps, Theme } from '@mui/material';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import React__default, { SyntheticEvent, FocusEvent, ChangeEvent } from 'react';
|
|
4
|
+
import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns/index';
|
|
5
|
+
import { DateCalendarProps, TimeClockProps, TimeView, TimePickerProps, DatePickerProps } from '@mui/x-date-pickers';
|
|
6
|
+
import { FilterOptionsState } from '@mui/material/useAutocomplete';
|
|
7
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
1
8
|
import { FieldValues, Control, FieldErrors } from 'react-hook-form';
|
|
2
|
-
import { ComponentType } from 'react';
|
|
3
9
|
|
|
4
|
-
/**
|
|
5
|
-
*
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
*
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
*/
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
*
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
*
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
*/
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
*
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
*
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
*
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
*
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
*/
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
*
|
|
373
|
-
*
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
/**
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
*
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
*/
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
*/
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
/**
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
*
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
*
|
|
507
|
-
*
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
/**
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
*/
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
*/
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
*
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
*
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
/**
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
/**
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
*
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
*
|
|
681
|
-
*
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
/**
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
/**
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
*/
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
/**
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
*
|
|
783
|
-
*
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
/**
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
*/
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
/**
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
*
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
*
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
/**
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
/**
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
/**
|
|
938
|
-
*
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
*
|
|
945
|
-
*
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
*/
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
/**
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
/**
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
*
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
/**
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
*/
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
declare const
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
*
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
*
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
/**
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
*/
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
/**
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
*/
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
/**
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Error object type
|
|
12
|
+
*/
|
|
13
|
+
type FieldError$j = {
|
|
14
|
+
message?: string;
|
|
15
|
+
} | null;
|
|
16
|
+
/**
|
|
17
|
+
* Extended Slider Field Props
|
|
18
|
+
* Extends MUI SliderProps with custom form field props
|
|
19
|
+
*/
|
|
20
|
+
interface ISliderFieldProps extends Omit<SliderProps, "value" | "onChange" | "onChangeCommitted" | "name" | "orientation"> {
|
|
21
|
+
/** Field name for form identification */
|
|
22
|
+
name?: string;
|
|
23
|
+
/** Label text for the slider */
|
|
24
|
+
label?: React__default.ReactNode;
|
|
25
|
+
/** Current slider value(s) */
|
|
26
|
+
value: number | number[];
|
|
27
|
+
/** Error object with optional message */
|
|
28
|
+
error?: FieldError$j;
|
|
29
|
+
/** Helper text to display below slider */
|
|
30
|
+
helperText?: string;
|
|
31
|
+
/** Whether the field is disabled */
|
|
32
|
+
disabled?: boolean;
|
|
33
|
+
/** Full width of the field */
|
|
34
|
+
fullWidth?: boolean;
|
|
35
|
+
/** Required field indicator */
|
|
36
|
+
required?: boolean;
|
|
37
|
+
/** Slider orientation - horizontal or vertical */
|
|
38
|
+
orientation?: "horizontal" | "vertical";
|
|
39
|
+
/** Minimum value (default: 0) */
|
|
40
|
+
min?: number;
|
|
41
|
+
/** Maximum value (default: 100) */
|
|
42
|
+
max?: number;
|
|
43
|
+
/** Step value (default: 1) */
|
|
44
|
+
step?: number | null;
|
|
45
|
+
/** Whether to show value label */
|
|
46
|
+
valueLabelDisplay?: SliderProps["valueLabelDisplay"];
|
|
47
|
+
/** Custom format for value label */
|
|
48
|
+
valueLabelFormat?: SliderProps["valueLabelFormat"];
|
|
49
|
+
/** Slider color */
|
|
50
|
+
color?: SliderProps["color"];
|
|
51
|
+
/** Slider size */
|
|
52
|
+
size?: SliderProps["size"];
|
|
53
|
+
/** Marks on the slider */
|
|
54
|
+
marks?: boolean | SliderProps["marks"];
|
|
55
|
+
/** Track display mode */
|
|
56
|
+
track?: SliderProps["track"];
|
|
57
|
+
/** Custom styles for the Slider */
|
|
58
|
+
sliderStyles?: SliderProps["sx"];
|
|
59
|
+
/** Custom styles for FormControl */
|
|
60
|
+
formControlStyles?: FormControlProps["sx"];
|
|
61
|
+
/** Custom styles for FormLabel */
|
|
62
|
+
formLabelStyles?: FormLabelProps["sx"];
|
|
63
|
+
/** Callback fired when the value changes (during drag) */
|
|
64
|
+
onChange?: (value: number | number[]) => void;
|
|
65
|
+
/** Callback fired when the value change is committed (on mouse up) */
|
|
66
|
+
onChangeCommitted?: (value: number | number[]) => void;
|
|
67
|
+
/** Callback fired when slider receives focus */
|
|
68
|
+
onFocus?: (event: SyntheticEvent) => void;
|
|
69
|
+
/** Callback fired when slider loses focus */
|
|
70
|
+
onBlur?: (event: SyntheticEvent) => void;
|
|
71
|
+
/** Custom slot props for MUI v7 */
|
|
72
|
+
slotProps?: SliderProps["slotProps"];
|
|
73
|
+
/** Custom slots for MUI v7 */
|
|
74
|
+
slots?: SliderProps["slots"];
|
|
75
|
+
/** FormLabel props */
|
|
76
|
+
formLabelProps?: Omit<FormLabelProps, "children">;
|
|
77
|
+
}
|
|
78
|
+
declare const SliderField: React__default.ForwardRefExoticComponent<Omit<ISliderFieldProps, "ref"> & React__default.RefAttributes<HTMLSpanElement>>;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Error object type
|
|
82
|
+
*/
|
|
83
|
+
type FieldError$i = {
|
|
84
|
+
message?: string;
|
|
85
|
+
} | null;
|
|
86
|
+
/**
|
|
87
|
+
* Extended Switch Field Props
|
|
88
|
+
* Extends MUI SwitchProps with custom form field props
|
|
89
|
+
*/
|
|
90
|
+
interface ISwitchFieldProps extends Omit<SwitchProps, "checked" | "onChange" | "name"> {
|
|
91
|
+
/** Field name for form identification */
|
|
92
|
+
name?: string;
|
|
93
|
+
/** Label text for the switch */
|
|
94
|
+
label?: React__default.ReactNode;
|
|
95
|
+
/** Current checked state */
|
|
96
|
+
value: boolean;
|
|
97
|
+
/** Error object with optional message */
|
|
98
|
+
error?: FieldError$i;
|
|
99
|
+
/** Helper text to display below switch */
|
|
100
|
+
helperText?: string;
|
|
101
|
+
/** Whether the field is disabled */
|
|
102
|
+
disabled?: boolean;
|
|
103
|
+
/** Switch color */
|
|
104
|
+
color?: SwitchProps["color"];
|
|
105
|
+
/** Switch size */
|
|
106
|
+
size?: SwitchProps["size"];
|
|
107
|
+
/** Full width of the field */
|
|
108
|
+
fullWidth?: boolean;
|
|
109
|
+
/** Required field indicator */
|
|
110
|
+
required?: boolean;
|
|
111
|
+
/** Label placement */
|
|
112
|
+
labelPlacement?: FormControlLabelProps["labelPlacement"];
|
|
113
|
+
/** Edge placement for the switch */
|
|
114
|
+
edge?: SwitchProps["edge"];
|
|
115
|
+
/** Custom icon for checked state */
|
|
116
|
+
checkedIcon?: React__default.ReactNode;
|
|
117
|
+
/** Custom icon for unchecked state */
|
|
118
|
+
icon?: React__default.ReactNode;
|
|
119
|
+
/** Custom styles for the Switch */
|
|
120
|
+
switchStyles?: SwitchProps["sx"];
|
|
121
|
+
/** Custom styles for FormControlLabel */
|
|
122
|
+
labelStyles?: FormControlLabelProps["sx"];
|
|
123
|
+
/** Custom styles for FormControl */
|
|
124
|
+
formControlStyles?: FormControlProps["sx"];
|
|
125
|
+
/** Callback fired when the value changes */
|
|
126
|
+
onChange?: (checked: boolean) => void;
|
|
127
|
+
/** Callback fired when switch is clicked */
|
|
128
|
+
onClick?: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
129
|
+
/** Callback fired when switch receives focus */
|
|
130
|
+
onFocus?: SwitchProps["onFocus"];
|
|
131
|
+
/** Callback fired when switch loses focus */
|
|
132
|
+
onBlur?: SwitchProps["onBlur"];
|
|
133
|
+
/** Custom slot props for MUI v7 */
|
|
134
|
+
slotProps?: SwitchProps["slotProps"];
|
|
135
|
+
/** Custom slots for MUI v7 */
|
|
136
|
+
slots?: SwitchProps["slots"];
|
|
137
|
+
/** FormControlLabel props */
|
|
138
|
+
formControlLabelProps?: Omit<FormControlLabelProps, "control" | "label" | "checked">;
|
|
139
|
+
}
|
|
140
|
+
declare const SwitchField: React__default.ForwardRefExoticComponent<Omit<ISwitchFieldProps, "ref"> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Base option type for Radio Button Group
|
|
144
|
+
*/
|
|
145
|
+
type RadioOption = {
|
|
146
|
+
name: string;
|
|
147
|
+
value: string | number;
|
|
148
|
+
disabled?: boolean;
|
|
149
|
+
[key: string]: unknown;
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* Error object type
|
|
153
|
+
*/
|
|
154
|
+
type FieldError$h = {
|
|
155
|
+
message?: string;
|
|
156
|
+
} | null;
|
|
157
|
+
/**
|
|
158
|
+
* Extended Radio Button Group Props
|
|
159
|
+
* Extends MUI RadioGroupProps with custom form field props
|
|
160
|
+
*/
|
|
161
|
+
interface IRadioButtonGroupFieldProps extends Omit<RadioGroupProps, "value" | "onChange" | "name" | "children" | "onFocus" | "onBlur" | "onClick"> {
|
|
162
|
+
/** Field name for form identification */
|
|
163
|
+
name?: string;
|
|
164
|
+
/** Label text for the radio group */
|
|
165
|
+
label?: React__default.ReactNode;
|
|
166
|
+
/** Current selected value */
|
|
167
|
+
value: string | number | null | undefined;
|
|
168
|
+
/** Options array to display as radio buttons */
|
|
169
|
+
options: RadioOption[];
|
|
170
|
+
/** Error object with optional message */
|
|
171
|
+
error?: FieldError$h;
|
|
172
|
+
/** Helper text to display below radio group */
|
|
173
|
+
helperText?: string;
|
|
174
|
+
/** Whether the field is disabled */
|
|
175
|
+
disabled?: boolean;
|
|
176
|
+
/** Radio color */
|
|
177
|
+
color?: RadioProps["color"];
|
|
178
|
+
/** Radio size */
|
|
179
|
+
size?: RadioProps["size"];
|
|
180
|
+
/** Full width of the field */
|
|
181
|
+
fullWidth?: boolean;
|
|
182
|
+
/** Required field indicator */
|
|
183
|
+
required?: boolean;
|
|
184
|
+
/** Label placement for each radio button */
|
|
185
|
+
labelPlacement?: FormControlLabelProps["labelPlacement"];
|
|
186
|
+
/** Row layout (horizontal) or column layout (vertical) */
|
|
187
|
+
row?: boolean;
|
|
188
|
+
/** Custom icon for checked state */
|
|
189
|
+
checkedIcon?: React__default.ReactNode;
|
|
190
|
+
/** Custom icon for unchecked state */
|
|
191
|
+
icon?: React__default.ReactNode;
|
|
192
|
+
/** Custom styles for individual Radio components */
|
|
193
|
+
radioStyles?: RadioProps["sx"];
|
|
194
|
+
/** Custom styles for FormControlLabel components */
|
|
195
|
+
labelStyles?: FormControlLabelProps["sx"];
|
|
196
|
+
/** Custom styles for FormControl */
|
|
197
|
+
formControlStyles?: FormControlProps["sx"];
|
|
198
|
+
/** Custom styles for FormLabel */
|
|
199
|
+
formLabelStyles?: FormLabelProps["sx"];
|
|
200
|
+
/** Custom styles for RadioGroup */
|
|
201
|
+
radioGroupStyles?: RadioGroupProps["sx"];
|
|
202
|
+
/** Custom render function for radio buttons */
|
|
203
|
+
renderRadio?: (option: RadioOption, index: number) => React__default.ReactNode;
|
|
204
|
+
/** Callback fired when the value changes */
|
|
205
|
+
onChange?: (value: string | number) => void;
|
|
206
|
+
/** Callback fired when a radio button is clicked */
|
|
207
|
+
onClick?: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
208
|
+
/** Callback fired when a radio button receives focus */
|
|
209
|
+
onFocus?: RadioProps["onFocus"];
|
|
210
|
+
/** Callback fired when a radio button loses focus */
|
|
211
|
+
onBlur?: RadioProps["onBlur"];
|
|
212
|
+
/** Custom slot props for MUI v7 */
|
|
213
|
+
slotProps?: {
|
|
214
|
+
radio?: RadioProps["slotProps"];
|
|
215
|
+
formControlLabel?: FormControlLabelProps["slotProps"];
|
|
216
|
+
};
|
|
217
|
+
/** Custom slots for MUI v7 */
|
|
218
|
+
slots?: {
|
|
219
|
+
radio?: RadioProps["slots"];
|
|
220
|
+
formControlLabel?: FormControlLabelProps["slots"];
|
|
221
|
+
};
|
|
222
|
+
/** FormLabel props */
|
|
223
|
+
formLabelProps?: Omit<FormLabelProps, "children">;
|
|
224
|
+
/** FormControlLabel props */
|
|
225
|
+
formControlLabelProps?: Omit<FormControlLabelProps, "control" | "label" | "value">;
|
|
226
|
+
}
|
|
227
|
+
declare const RadioButtonFieldGroup: React__default.ForwardRefExoticComponent<Omit<IRadioButtonGroupFieldProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Error object type
|
|
231
|
+
*/
|
|
232
|
+
type FieldError$g = {
|
|
233
|
+
message?: string;
|
|
234
|
+
} | null;
|
|
235
|
+
/**
|
|
236
|
+
* Extended Radio Button Field Props
|
|
237
|
+
* Extends MUI RadioProps with custom form field props
|
|
238
|
+
*/
|
|
239
|
+
interface IRadioButtonFieldProps extends Omit<RadioProps, "checked" | "onChange" | "name"> {
|
|
240
|
+
/** Field name for form identification */
|
|
241
|
+
name?: string;
|
|
242
|
+
/** Label text for the radio button */
|
|
243
|
+
label?: React__default.ReactNode;
|
|
244
|
+
/** Current checked state */
|
|
245
|
+
value: boolean;
|
|
246
|
+
/** Error object with optional message */
|
|
247
|
+
error?: FieldError$g;
|
|
248
|
+
/** Helper text to display below radio button */
|
|
249
|
+
helperText?: string;
|
|
250
|
+
/** Whether the field is disabled */
|
|
251
|
+
disabled?: boolean;
|
|
252
|
+
/** Radio color */
|
|
253
|
+
color?: RadioProps["color"];
|
|
254
|
+
/** Radio size */
|
|
255
|
+
size?: RadioProps["size"];
|
|
256
|
+
/** Full width of the field */
|
|
257
|
+
fullWidth?: boolean;
|
|
258
|
+
/** Required field indicator */
|
|
259
|
+
required?: boolean;
|
|
260
|
+
/** Label placement */
|
|
261
|
+
labelPlacement?: FormControlLabelProps["labelPlacement"];
|
|
262
|
+
/** Callback fired when the value changes */
|
|
263
|
+
onChange?: (checked: boolean) => void;
|
|
264
|
+
/** Callback fired when radio button is clicked */
|
|
265
|
+
onClick?: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
266
|
+
/** Callback fired when radio button receives focus */
|
|
267
|
+
onFocus?: RadioProps["onFocus"];
|
|
268
|
+
/** Callback fired when radio button loses focus */
|
|
269
|
+
onBlur?: RadioProps["onBlur"];
|
|
270
|
+
/** Custom icon for checked state */
|
|
271
|
+
checkedIcon?: React__default.ReactNode;
|
|
272
|
+
/** Custom icon for unchecked state */
|
|
273
|
+
icon?: React__default.ReactNode;
|
|
274
|
+
/** Custom styles for the Radio */
|
|
275
|
+
radioStyles?: RadioProps["sx"];
|
|
276
|
+
/** Custom styles for FormControlLabel */
|
|
277
|
+
labelStyles?: FormControlLabelProps["sx"];
|
|
278
|
+
/** Custom styles for FormControl */
|
|
279
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>["sx"];
|
|
280
|
+
/** Custom slot props for MUI v7 */
|
|
281
|
+
slotProps?: RadioProps["slotProps"];
|
|
282
|
+
/** Custom slots for MUI v7 */
|
|
283
|
+
slots?: RadioProps["slots"];
|
|
284
|
+
/** FormControlLabel props */
|
|
285
|
+
formControlLabelProps?: Omit<FormControlLabelProps, "control" | "label" | "value">;
|
|
286
|
+
}
|
|
287
|
+
declare const RadioButtonField: React__default.ForwardRefExoticComponent<Omit<IRadioButtonFieldProps, "ref"> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Error object type
|
|
291
|
+
*/
|
|
292
|
+
type FieldError$f = {
|
|
293
|
+
message?: string;
|
|
294
|
+
} | null;
|
|
295
|
+
/**
|
|
296
|
+
* Checkbox option type
|
|
297
|
+
*/
|
|
298
|
+
type CheckboxOption = {
|
|
299
|
+
value: string | number;
|
|
300
|
+
label: React__default.ReactNode;
|
|
301
|
+
disabled?: boolean;
|
|
302
|
+
};
|
|
303
|
+
/**
|
|
304
|
+
* Extended Checkbox Group Field Props
|
|
305
|
+
*/
|
|
306
|
+
interface ICheckboxFieldGroupProps extends Omit<FormControlProps, "error" | "disabled" | "required" | "fullWidth" | "color" | "size" | "onChange" | "onFocus" | "onBlur" | "onClick"> {
|
|
307
|
+
/** Field name for form identification */
|
|
308
|
+
name?: string;
|
|
309
|
+
/** Label text for the checkbox group */
|
|
310
|
+
label?: React__default.ReactNode;
|
|
311
|
+
/** Array of selected values */
|
|
312
|
+
value: (string | number)[];
|
|
313
|
+
/** Array of checkbox options */
|
|
314
|
+
options: CheckboxOption[];
|
|
315
|
+
/** Error object with optional message */
|
|
316
|
+
error?: FieldError$f;
|
|
317
|
+
/** Helper text to display below field */
|
|
318
|
+
helperText?: string;
|
|
319
|
+
/** Whether the field is disabled */
|
|
320
|
+
disabled?: boolean;
|
|
321
|
+
/** Full width of the field */
|
|
322
|
+
fullWidth?: boolean;
|
|
323
|
+
/** Required field indicator */
|
|
324
|
+
required?: boolean;
|
|
325
|
+
/** Checkbox color */
|
|
326
|
+
color?: CheckboxProps["color"];
|
|
327
|
+
/** Checkbox size */
|
|
328
|
+
size?: CheckboxProps["size"];
|
|
329
|
+
/** Label placement relative to checkbox */
|
|
330
|
+
labelPlacement?: FormControlLabelProps["labelPlacement"];
|
|
331
|
+
/** Whether to display checkboxes in a row */
|
|
332
|
+
row?: boolean;
|
|
333
|
+
/** Custom icon for checked state */
|
|
334
|
+
checkedIcon?: React__default.ReactNode;
|
|
335
|
+
/** Custom icon for unchecked state */
|
|
336
|
+
icon?: React__default.ReactNode;
|
|
337
|
+
/** Custom styles for individual checkboxes */
|
|
338
|
+
checkboxStyles?: CheckboxProps["sx"];
|
|
339
|
+
/** Custom styles for checkbox labels */
|
|
340
|
+
labelStyles?: FormControlLabelProps["sx"];
|
|
341
|
+
/** Custom styles for FormControl */
|
|
342
|
+
formControlStyles?: FormControlProps["sx"];
|
|
343
|
+
/** Custom styles for FormLabel */
|
|
344
|
+
formLabelStyles?: FormLabelProps["sx"];
|
|
345
|
+
/** Callback fired when the value changes */
|
|
346
|
+
onChange?: (value: (string | number)[]) => void;
|
|
347
|
+
/** Callback fired when a checkbox receives focus */
|
|
348
|
+
onFocus?: (event: FocusEvent<HTMLButtonElement>, value: string | number) => void;
|
|
349
|
+
/** Callback fired when a checkbox loses focus */
|
|
350
|
+
onBlur?: (event: FocusEvent<HTMLButtonElement>, value: string | number) => void;
|
|
351
|
+
/** Callback fired when a checkbox is clicked */
|
|
352
|
+
onClick?: (event: React__default.MouseEvent<HTMLButtonElement>, value: string | number) => void;
|
|
353
|
+
/** Custom render function for checkboxes */
|
|
354
|
+
renderCheckbox?: (option: CheckboxOption, index: number, isChecked: boolean, handleChange: (event: ChangeEvent<HTMLInputElement>) => void) => React__default.ReactNode;
|
|
355
|
+
/** Custom slot props for MUI v7 */
|
|
356
|
+
slotProps?: {
|
|
357
|
+
checkbox?: CheckboxProps["slotProps"];
|
|
358
|
+
formControlLabel?: FormControlLabelProps["slotProps"];
|
|
359
|
+
};
|
|
360
|
+
/** Custom slots for MUI v7 */
|
|
361
|
+
slots?: {
|
|
362
|
+
checkbox?: CheckboxProps["slots"];
|
|
363
|
+
};
|
|
364
|
+
/** FormLabel props */
|
|
365
|
+
formLabelProps?: Omit<FormLabelProps, "children">;
|
|
366
|
+
/** FormControlLabel props */
|
|
367
|
+
formControlLabelProps?: Omit<FormControlLabelProps, "control" | "label" | "value">;
|
|
368
|
+
}
|
|
369
|
+
declare const CheckboxFieldGroup: React__default.ForwardRefExoticComponent<Omit<ICheckboxFieldGroupProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* Error object type
|
|
373
|
+
*/
|
|
374
|
+
type FieldError$e = {
|
|
375
|
+
message?: string;
|
|
376
|
+
} | null;
|
|
377
|
+
/**
|
|
378
|
+
* Extended Checkbox Field Props
|
|
379
|
+
* Extends MUI CheckboxProps with custom form field props
|
|
380
|
+
*/
|
|
381
|
+
interface ICheckboxFieldProps extends Omit<CheckboxProps, "checked" | "onChange" | "name"> {
|
|
382
|
+
/** Field name for form identification */
|
|
383
|
+
name?: string;
|
|
384
|
+
/** Label text for the checkbox */
|
|
385
|
+
label?: React__default.ReactNode;
|
|
386
|
+
/** Current checked state */
|
|
387
|
+
value: boolean;
|
|
388
|
+
/** Error object with optional message */
|
|
389
|
+
error?: FieldError$e;
|
|
390
|
+
/** Helper text to display below checkbox */
|
|
391
|
+
helperText?: string;
|
|
392
|
+
/** Whether the field is disabled */
|
|
393
|
+
disabled?: boolean;
|
|
394
|
+
/** Checkbox color */
|
|
395
|
+
color?: CheckboxProps["color"];
|
|
396
|
+
/** Checkbox size */
|
|
397
|
+
size?: CheckboxProps["size"];
|
|
398
|
+
/** Full width of the field */
|
|
399
|
+
fullWidth?: boolean;
|
|
400
|
+
/** Required field indicator */
|
|
401
|
+
required?: boolean;
|
|
402
|
+
/** Label placement */
|
|
403
|
+
labelPlacement?: FormControlLabelProps["labelPlacement"];
|
|
404
|
+
/** Callback fired when the value changes */
|
|
405
|
+
onChange?: (checked: boolean) => void;
|
|
406
|
+
/** Callback fired when checkbox is clicked */
|
|
407
|
+
onClick?: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
408
|
+
/** Callback fired when checkbox receives focus */
|
|
409
|
+
onFocus?: CheckboxProps["onFocus"];
|
|
410
|
+
/** Callback fired when checkbox loses focus */
|
|
411
|
+
onBlur?: CheckboxProps["onBlur"];
|
|
412
|
+
/** Custom icon for checked state */
|
|
413
|
+
checkedIcon?: React__default.ReactNode;
|
|
414
|
+
/** Custom icon for unchecked state */
|
|
415
|
+
icon?: React__default.ReactNode;
|
|
416
|
+
/** Custom styles for the Checkbox */
|
|
417
|
+
checkboxStyles?: CheckboxProps["sx"];
|
|
418
|
+
/** Custom styles for FormControlLabel */
|
|
419
|
+
labelStyles?: FormControlLabelProps["sx"];
|
|
420
|
+
/** Custom styles for FormControl */
|
|
421
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>["sx"];
|
|
422
|
+
/** Indeterminate state */
|
|
423
|
+
indeterminate?: boolean;
|
|
424
|
+
/** Custom slot props for MUI v7 */
|
|
425
|
+
slotProps?: CheckboxProps["slotProps"];
|
|
426
|
+
/** Custom slots for MUI v7 */
|
|
427
|
+
slots?: CheckboxProps["slots"];
|
|
428
|
+
}
|
|
429
|
+
declare const CheckboxField: React__default.ForwardRefExoticComponent<Omit<ICheckboxFieldProps, "ref"> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* Error object type
|
|
433
|
+
*/
|
|
434
|
+
type FieldError$d = {
|
|
435
|
+
message?: string;
|
|
436
|
+
} | null;
|
|
437
|
+
/**
|
|
438
|
+
* Extended Date Calendar Field Props
|
|
439
|
+
* Extends MUI DateCalendarProps with custom form field props
|
|
440
|
+
*/
|
|
441
|
+
interface IDateCalendarFieldProps extends Omit<DateCalendarProps, "value" | "onChange" | "defaultValue" | "slots" | "slotProps"> {
|
|
442
|
+
/** Field name for form identification */
|
|
443
|
+
name?: string;
|
|
444
|
+
/** Label text for the calendar */
|
|
445
|
+
label?: React__default.ReactNode;
|
|
446
|
+
/** Current selected date value */
|
|
447
|
+
value: Date | null;
|
|
448
|
+
/** Default date value */
|
|
449
|
+
defaultValue?: Date | null;
|
|
450
|
+
/** Error object with optional message */
|
|
451
|
+
error?: FieldError$d;
|
|
452
|
+
/** Helper text to display below calendar */
|
|
453
|
+
helperText?: string;
|
|
454
|
+
/** Whether the field is disabled */
|
|
455
|
+
disabled?: boolean;
|
|
456
|
+
/** Full width of the field */
|
|
457
|
+
fullWidth?: boolean;
|
|
458
|
+
/** Required field indicator */
|
|
459
|
+
required?: boolean;
|
|
460
|
+
/** Minimum selectable date */
|
|
461
|
+
minDate?: Date;
|
|
462
|
+
/** Maximum selectable date */
|
|
463
|
+
maxDate?: Date;
|
|
464
|
+
/** Function to disable specific dates */
|
|
465
|
+
shouldDisableDate?: (date: Date) => boolean;
|
|
466
|
+
/** Function to disable specific months */
|
|
467
|
+
shouldDisableMonth?: (month: Date) => boolean;
|
|
468
|
+
/** Function to disable specific years */
|
|
469
|
+
shouldDisableYear?: (year: Date) => boolean;
|
|
470
|
+
/** Custom styles for the DateCalendar */
|
|
471
|
+
calendarStyles?: DateCalendarProps["sx"];
|
|
472
|
+
/** Custom styles for FormControl */
|
|
473
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>["sx"];
|
|
474
|
+
/** Custom styles for FormLabel */
|
|
475
|
+
formLabelStyles?: FormLabelProps["sx"];
|
|
476
|
+
/** Custom styles for the container Box */
|
|
477
|
+
containerStyles?: React__default.ComponentProps<typeof Box>["sx"];
|
|
478
|
+
/** Callback fired when the date changes */
|
|
479
|
+
onChange?: (value: Date | null) => void;
|
|
480
|
+
/** Callback fired when a view change is requested */
|
|
481
|
+
onViewChange?: (view: "day" | "month" | "year") => void;
|
|
482
|
+
/** Callback fired when a month change is requested */
|
|
483
|
+
onMonthChange?: (month: Date) => void;
|
|
484
|
+
/** Callback fired when a year change is requested */
|
|
485
|
+
onYearChange?: (year: Date) => void;
|
|
486
|
+
/** Custom slot props for MUI v7 */
|
|
487
|
+
slotProps?: DateCalendarProps["slotProps"];
|
|
488
|
+
/** Custom slots for MUI v7 */
|
|
489
|
+
slots?: DateCalendarProps["slots"];
|
|
490
|
+
/** Date adapter to use (defaults to AdapterDateFns) */
|
|
491
|
+
dateAdapter?: typeof AdapterDateFns;
|
|
492
|
+
/** Whether to show days outside current month */
|
|
493
|
+
showDaysOutsideCurrentMonth?: boolean;
|
|
494
|
+
/** Whether to disable past dates */
|
|
495
|
+
disablePast?: boolean;
|
|
496
|
+
/** Whether to disable future dates */
|
|
497
|
+
disableFuture?: boolean;
|
|
498
|
+
/** Reference date for the calendar */
|
|
499
|
+
referenceDate?: Date;
|
|
500
|
+
/** Controlled view state */
|
|
501
|
+
view?: "day" | "month" | "year";
|
|
502
|
+
}
|
|
503
|
+
declare const DateCalendarField: React__default.ForwardRefExoticComponent<IDateCalendarFieldProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* Error object type
|
|
507
|
+
*/
|
|
508
|
+
type FieldError$c = {
|
|
509
|
+
message?: string;
|
|
510
|
+
} | null;
|
|
511
|
+
/**
|
|
512
|
+
* Extended Time Clock Field Props
|
|
513
|
+
* Extends MUI TimeClockProps with custom form field props
|
|
514
|
+
*/
|
|
515
|
+
interface ITimeClockFieldProps extends Omit<TimeClockProps<TimeView>, "value" | "onChange" | "defaultValue" | "slots" | "slotProps" | "view" | "onViewChange"> {
|
|
516
|
+
/** Field name for form identification */
|
|
517
|
+
name?: string;
|
|
518
|
+
/** Label text for the time clock */
|
|
519
|
+
label?: React__default.ReactNode;
|
|
520
|
+
/** Current selected time value */
|
|
521
|
+
value: Date | null;
|
|
522
|
+
/** Default time value */
|
|
523
|
+
defaultValue?: Date | null;
|
|
524
|
+
/** Error object with optional message */
|
|
525
|
+
error?: FieldError$c;
|
|
526
|
+
/** Helper text to display below time clock */
|
|
527
|
+
helperText?: string;
|
|
528
|
+
/** Whether the field is disabled */
|
|
529
|
+
disabled?: boolean;
|
|
530
|
+
/** Full width of the field */
|
|
531
|
+
fullWidth?: boolean;
|
|
532
|
+
/** Required field indicator */
|
|
533
|
+
required?: boolean;
|
|
534
|
+
/** Available views (hours, minutes, seconds) */
|
|
535
|
+
views?: TimeView[];
|
|
536
|
+
/** Whether to show AM/PM in the clock */
|
|
537
|
+
ampmInClock?: boolean;
|
|
538
|
+
/** Whether to use 12-hour format */
|
|
539
|
+
ampm?: boolean;
|
|
540
|
+
/** Whether to disable past times */
|
|
541
|
+
disablePast?: boolean;
|
|
542
|
+
/** Whether to disable future times */
|
|
543
|
+
disableFuture?: boolean;
|
|
544
|
+
/** Minimum selectable time */
|
|
545
|
+
minTime?: Date;
|
|
546
|
+
/** Maximum selectable time */
|
|
547
|
+
maxTime?: Date;
|
|
548
|
+
/** Function to disable specific times */
|
|
549
|
+
shouldDisableTime?: (time: Date, view: TimeView) => boolean;
|
|
550
|
+
/** Custom styles for the TimeClock */
|
|
551
|
+
clockStyles?: TimeClockProps<TimeView>["sx"];
|
|
552
|
+
/** Custom styles for FormControl */
|
|
553
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>["sx"];
|
|
554
|
+
/** Custom styles for FormLabel */
|
|
555
|
+
formLabelStyles?: FormLabelProps["sx"];
|
|
556
|
+
/** Custom styles for the container Box */
|
|
557
|
+
containerStyles?: React__default.ComponentProps<typeof Box>["sx"];
|
|
558
|
+
/** Custom styles for the view buttons Stack */
|
|
559
|
+
buttonsStackStyles?: React__default.ComponentProps<typeof Stack>["sx"];
|
|
560
|
+
/** Custom styles for view buttons */
|
|
561
|
+
buttonStyles?: ButtonProps["sx"];
|
|
562
|
+
/** Custom styles for active view button */
|
|
563
|
+
activeButtonStyles?: ButtonProps["sx"];
|
|
564
|
+
/** Whether to show view selector buttons */
|
|
565
|
+
showViewButtons?: boolean;
|
|
566
|
+
/** Initial view */
|
|
567
|
+
initialView?: TimeView;
|
|
568
|
+
/** Controlled view state */
|
|
569
|
+
view?: TimeView;
|
|
570
|
+
/** Callback fired when the time changes */
|
|
571
|
+
onChange?: (value: Date | null) => void;
|
|
572
|
+
/** Callback fired when a view change is requested */
|
|
573
|
+
onViewChange?: (view: TimeView) => void;
|
|
574
|
+
/** Custom slot props for MUI v7 */
|
|
575
|
+
slotProps?: TimeClockProps<TimeView>["slotProps"];
|
|
576
|
+
/** Custom slots for MUI v7 */
|
|
577
|
+
slots?: TimeClockProps<TimeView>["slots"];
|
|
578
|
+
/** Date adapter to use (defaults to AdapterDateFns) */
|
|
579
|
+
dateAdapter?: typeof AdapterDateFns;
|
|
580
|
+
/** Auto focus */
|
|
581
|
+
autoFocus?: boolean;
|
|
582
|
+
}
|
|
583
|
+
declare const TimeClockField: React__default.ForwardRefExoticComponent<ITimeClockFieldProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* Error object type
|
|
587
|
+
*/
|
|
588
|
+
type FieldError$b = {
|
|
589
|
+
message?: string;
|
|
590
|
+
} | null;
|
|
591
|
+
/**
|
|
592
|
+
* Extended Time Picker Field Props
|
|
593
|
+
* Extends MUI TimePickerProps with custom form field props
|
|
594
|
+
*/
|
|
595
|
+
interface ITimePickerFieldProps extends Omit<TimePickerProps, "value" | "onChange" | "defaultValue" | "slots" | "slotProps" | "renderInput" | "onViewChange"> {
|
|
596
|
+
/** Field name for form identification */
|
|
597
|
+
name?: string;
|
|
598
|
+
/** Label text for the time picker */
|
|
599
|
+
label?: string;
|
|
600
|
+
/** Current selected time value */
|
|
601
|
+
value: Date | null;
|
|
602
|
+
/** Default time value */
|
|
603
|
+
defaultValue?: Date | null;
|
|
604
|
+
/** Error object with optional message */
|
|
605
|
+
error?: FieldError$b;
|
|
606
|
+
/** Helper text to display below field */
|
|
607
|
+
helperText?: string;
|
|
608
|
+
/** Whether the field is disabled */
|
|
609
|
+
disabled?: boolean;
|
|
610
|
+
/** Full width of the field */
|
|
611
|
+
fullWidth?: boolean;
|
|
612
|
+
/** Required field indicator */
|
|
613
|
+
required?: boolean;
|
|
614
|
+
/** Minimum selectable time */
|
|
615
|
+
minTime?: Date;
|
|
616
|
+
/** Maximum selectable time */
|
|
617
|
+
maxTime?: Date;
|
|
618
|
+
/** Function to disable specific times */
|
|
619
|
+
shouldDisableTime?: (time: Date, view: "hours" | "minutes" | "seconds") => boolean;
|
|
620
|
+
/** TextField size */
|
|
621
|
+
size?: TextFieldProps["size"];
|
|
622
|
+
/** TextField variant */
|
|
623
|
+
variant?: TextFieldProps["variant"];
|
|
624
|
+
/** TextField color */
|
|
625
|
+
color?: TextFieldProps["color"];
|
|
626
|
+
/** Placeholder text */
|
|
627
|
+
placeholder?: string;
|
|
628
|
+
/** Whether the field is read-only */
|
|
629
|
+
readOnly?: boolean;
|
|
630
|
+
/** Whether to show clear button */
|
|
631
|
+
showClearButton?: boolean;
|
|
632
|
+
/** Whether to disable past times */
|
|
633
|
+
disablePast?: boolean;
|
|
634
|
+
/** Whether to disable future times */
|
|
635
|
+
disableFuture?: boolean;
|
|
636
|
+
/** Whether to use 12-hour format */
|
|
637
|
+
ampm?: boolean;
|
|
638
|
+
/** Available views (hours, minutes, seconds) */
|
|
639
|
+
views?: ("hours" | "minutes" | "seconds")[];
|
|
640
|
+
/** Controlled view state */
|
|
641
|
+
view?: "hours" | "minutes" | "seconds";
|
|
642
|
+
/** Default view */
|
|
643
|
+
openTo?: "hours" | "minutes" | "seconds";
|
|
644
|
+
/** Format for displaying the time */
|
|
645
|
+
format?: string;
|
|
646
|
+
/** Custom styles for the TimePicker */
|
|
647
|
+
pickerStyles?: TimePickerProps["sx"];
|
|
648
|
+
/** Custom styles for FormControl */
|
|
649
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>["sx"];
|
|
650
|
+
/** Custom styles for FormLabel */
|
|
651
|
+
formLabelStyles?: FormLabelProps["sx"];
|
|
652
|
+
/** Custom styles for the container Box */
|
|
653
|
+
containerStyles?: React__default.ComponentProps<typeof Box>["sx"];
|
|
654
|
+
/** Custom styles for the TextField */
|
|
655
|
+
textFieldStyles?: TextFieldProps["sx"];
|
|
656
|
+
/** Callback fired when the time changes */
|
|
657
|
+
onChange?: (value: Date | null) => void;
|
|
658
|
+
/** Callback fired when the field receives focus */
|
|
659
|
+
onFocus?: (event: React__default.FocusEvent<HTMLInputElement>) => void;
|
|
660
|
+
/** Callback fired when the field loses focus */
|
|
661
|
+
onBlur?: (event: React__default.FocusEvent<HTMLInputElement>) => void;
|
|
662
|
+
/** Callback fired when a view change is requested */
|
|
663
|
+
onViewChange?: (view: "hours" | "minutes" | "seconds" | "meridiem") => void;
|
|
664
|
+
/** Callback fired when the picker opens */
|
|
665
|
+
onOpen?: () => void;
|
|
666
|
+
/** Callback fired when the picker closes */
|
|
667
|
+
onClose?: () => void;
|
|
668
|
+
/** Custom slot props for MUI v7 */
|
|
669
|
+
slotProps?: TimePickerProps["slotProps"];
|
|
670
|
+
/** Custom slots for MUI v7 */
|
|
671
|
+
slots?: TimePickerProps["slots"];
|
|
672
|
+
/** Date adapter to use (defaults to AdapterDateFns) */
|
|
673
|
+
dateAdapter?: typeof AdapterDateFns;
|
|
674
|
+
/** Auto focus the input */
|
|
675
|
+
autoFocus?: boolean;
|
|
676
|
+
}
|
|
677
|
+
declare const TimePickerField: React__default.ForwardRefExoticComponent<ITimePickerFieldProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* Error object type
|
|
681
|
+
*/
|
|
682
|
+
type FieldError$a = {
|
|
683
|
+
message?: string;
|
|
684
|
+
} | null;
|
|
685
|
+
/**
|
|
686
|
+
* Extended Date Picker Field Props
|
|
687
|
+
* Extends MUI DatePickerProps with custom form field props
|
|
688
|
+
*/
|
|
689
|
+
interface IDatePickerFieldProps extends Omit<DatePickerProps, "value" | "onChange" | "defaultValue" | "slots" | "slotProps" | "renderInput"> {
|
|
690
|
+
/** Field name for form identification */
|
|
691
|
+
name?: string;
|
|
692
|
+
/** Label text for the date picker */
|
|
693
|
+
label?: string;
|
|
694
|
+
/** Current selected date value */
|
|
695
|
+
value: Date | null;
|
|
696
|
+
/** Default date value */
|
|
697
|
+
defaultValue?: Date | null;
|
|
698
|
+
/** Error object with optional message */
|
|
699
|
+
error?: FieldError$a;
|
|
700
|
+
/** Helper text to display below field */
|
|
701
|
+
helperText?: string;
|
|
702
|
+
/** Whether the field is disabled */
|
|
703
|
+
disabled?: boolean;
|
|
704
|
+
/** Full width of the field */
|
|
705
|
+
fullWidth?: boolean;
|
|
706
|
+
/** Required field indicator */
|
|
707
|
+
required?: boolean;
|
|
708
|
+
/** Minimum selectable date */
|
|
709
|
+
minDate?: Date;
|
|
710
|
+
/** Maximum selectable date */
|
|
711
|
+
maxDate?: Date;
|
|
712
|
+
/** Function to disable specific dates */
|
|
713
|
+
shouldDisableDate?: (date: Date) => boolean;
|
|
714
|
+
/** Function to disable specific months */
|
|
715
|
+
shouldDisableMonth?: (month: Date) => boolean;
|
|
716
|
+
/** Function to disable specific years */
|
|
717
|
+
shouldDisableYear?: (year: Date) => boolean;
|
|
718
|
+
/** TextField size */
|
|
719
|
+
size?: TextFieldProps["size"];
|
|
720
|
+
/** TextField variant */
|
|
721
|
+
variant?: TextFieldProps["variant"];
|
|
722
|
+
/** TextField color */
|
|
723
|
+
color?: TextFieldProps["color"];
|
|
724
|
+
/** Placeholder text */
|
|
725
|
+
placeholder?: string;
|
|
726
|
+
/** Whether the field is read-only */
|
|
727
|
+
readOnly?: boolean;
|
|
728
|
+
/** Whether to show clear button */
|
|
729
|
+
showClearButton?: boolean;
|
|
730
|
+
/** Whether to disable past dates */
|
|
731
|
+
disablePast?: boolean;
|
|
732
|
+
/** Whether to disable future dates */
|
|
733
|
+
disableFuture?: boolean;
|
|
734
|
+
/** Reference date for the calendar */
|
|
735
|
+
referenceDate?: Date;
|
|
736
|
+
/** Controlled view state */
|
|
737
|
+
view?: "day" | "month" | "year";
|
|
738
|
+
/** Format for displaying the date */
|
|
739
|
+
format?: string;
|
|
740
|
+
/** Whether to open the calendar on focus */
|
|
741
|
+
openTo?: "day" | "month" | "year";
|
|
742
|
+
/** Custom styles for the DatePicker */
|
|
743
|
+
pickerStyles?: DatePickerProps["sx"];
|
|
744
|
+
/** Custom styles for FormControl */
|
|
745
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>["sx"];
|
|
746
|
+
/** Custom styles for FormLabel */
|
|
747
|
+
formLabelStyles?: FormLabelProps["sx"];
|
|
748
|
+
/** Custom styles for the container Box */
|
|
749
|
+
containerStyles?: React__default.ComponentProps<typeof Box>["sx"];
|
|
750
|
+
/** Custom styles for the TextField */
|
|
751
|
+
textFieldStyles?: TextFieldProps["sx"];
|
|
752
|
+
/** Callback fired when the date changes */
|
|
753
|
+
onChange?: (value: Date | null) => void;
|
|
754
|
+
/** Callback fired when the field receives focus */
|
|
755
|
+
onFocus?: (event: React__default.FocusEvent<HTMLInputElement>) => void;
|
|
756
|
+
/** Callback fired when the field loses focus */
|
|
757
|
+
onBlur?: (event: React__default.FocusEvent<HTMLInputElement>) => void;
|
|
758
|
+
/** Callback fired when a view change is requested */
|
|
759
|
+
onViewChange?: (view: "day" | "month" | "year") => void;
|
|
760
|
+
/** Callback fired when a month change is requested */
|
|
761
|
+
onMonthChange?: (month: Date) => void;
|
|
762
|
+
/** Callback fired when a year change is requested */
|
|
763
|
+
onYearChange?: (year: Date) => void;
|
|
764
|
+
/** Callback fired when the calendar opens */
|
|
765
|
+
onOpen?: () => void;
|
|
766
|
+
/** Callback fired when the calendar closes */
|
|
767
|
+
onClose?: () => void;
|
|
768
|
+
/** Custom slot props for MUI v7 */
|
|
769
|
+
slotProps?: DatePickerProps["slotProps"];
|
|
770
|
+
/** Custom slots for MUI v7 */
|
|
771
|
+
slots?: DatePickerProps["slots"];
|
|
772
|
+
/** Date adapter to use (defaults to AdapterDateFns) */
|
|
773
|
+
dateAdapter?: typeof AdapterDateFns;
|
|
774
|
+
/** Whether to reduce animations */
|
|
775
|
+
reduceAnimations?: boolean;
|
|
776
|
+
/** Auto focus the input */
|
|
777
|
+
autoFocus?: boolean;
|
|
778
|
+
}
|
|
779
|
+
declare const DatePickerField: React__default.ForwardRefExoticComponent<IDatePickerFieldProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* Error object type
|
|
783
|
+
*/
|
|
784
|
+
type FieldError$9 = {
|
|
785
|
+
message?: string;
|
|
786
|
+
} | null;
|
|
787
|
+
/**
|
|
788
|
+
* Extended File Upload Field Props
|
|
789
|
+
* Extends MUI TextFieldProps with custom file upload props
|
|
790
|
+
*/
|
|
791
|
+
interface IFileUploadFieldProps extends Omit<TextFieldProps, "value" | "onChange" | "name" | "type" | "error" | "onDrop"> {
|
|
792
|
+
/** Field name for form identification */
|
|
793
|
+
name?: string;
|
|
794
|
+
/** Label text for the file upload field */
|
|
795
|
+
label?: string;
|
|
796
|
+
/** Current file value */
|
|
797
|
+
value?: File | File[] | {
|
|
798
|
+
name: string;
|
|
799
|
+
} | null;
|
|
800
|
+
/** Error object with optional message */
|
|
801
|
+
error?: FieldError$9;
|
|
802
|
+
/** Helper text to display below field */
|
|
803
|
+
helperText?: string;
|
|
804
|
+
/** Whether the field is disabled */
|
|
805
|
+
disabled?: boolean;
|
|
806
|
+
/** File types to accept (e.g., "image/*", ".pdf,.doc") */
|
|
807
|
+
accept?: string;
|
|
808
|
+
/** Whether to allow multiple file selection */
|
|
809
|
+
multiple?: boolean;
|
|
810
|
+
/** Maximum file size in bytes */
|
|
811
|
+
maxSize?: number;
|
|
812
|
+
/** Minimum file size in bytes */
|
|
813
|
+
minSize?: number;
|
|
814
|
+
/** Allowed file types (MIME types or extensions) */
|
|
815
|
+
allowedTypes?: string[];
|
|
816
|
+
/** Whether to show file preview */
|
|
817
|
+
showPreview?: boolean;
|
|
818
|
+
/** Whether to enable drag and drop */
|
|
819
|
+
enableDragDrop?: boolean;
|
|
820
|
+
/** Placeholder text */
|
|
821
|
+
placeholder?: string;
|
|
822
|
+
/** TextField variant */
|
|
823
|
+
variant?: TextFieldProps["variant"];
|
|
824
|
+
/** TextField size */
|
|
825
|
+
size?: TextFieldProps["size"];
|
|
826
|
+
/** TextField color */
|
|
827
|
+
color?: TextFieldProps["color"];
|
|
828
|
+
/** Full width of the field */
|
|
829
|
+
fullWidth?: boolean;
|
|
830
|
+
/** Required field indicator */
|
|
831
|
+
required?: boolean;
|
|
832
|
+
/** Upload button text */
|
|
833
|
+
buttonText?: string;
|
|
834
|
+
/** Upload button variant */
|
|
835
|
+
buttonVariant?: ButtonProps["variant"];
|
|
836
|
+
/** Upload button color */
|
|
837
|
+
buttonColor?: ButtonProps["color"];
|
|
838
|
+
/** Upload button size */
|
|
839
|
+
buttonSize?: ButtonProps["size"];
|
|
840
|
+
/** Custom upload icon */
|
|
841
|
+
uploadIcon?: React__default.ReactNode;
|
|
842
|
+
/** Callback fired when file(s) change */
|
|
843
|
+
onChange?: (file: File | File[] | undefined) => void;
|
|
844
|
+
/** Callback fired when file is selected */
|
|
845
|
+
onFileSelect?: (file: File | File[] | undefined) => void;
|
|
846
|
+
/** Callback fired when file is removed */
|
|
847
|
+
onFileRemove?: () => void;
|
|
848
|
+
/** Callback fired on file validation error */
|
|
849
|
+
onValidationError?: (error: string) => void;
|
|
850
|
+
/** Callback fired when file is dropped (drag and drop) */
|
|
851
|
+
onDrop?: (files: FileList) => void;
|
|
852
|
+
/** Custom styles for the TextField */
|
|
853
|
+
inputStyles?: TextFieldProps["sx"];
|
|
854
|
+
/** Custom styles for the Button */
|
|
855
|
+
buttonStyles?: ButtonProps["sx"];
|
|
856
|
+
/** Custom styles for FormControl */
|
|
857
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>["sx"];
|
|
858
|
+
/** Custom styles for the container */
|
|
859
|
+
containerStyles?: React__default.CSSProperties;
|
|
860
|
+
/** Custom slot props for MUI v7 */
|
|
861
|
+
slotProps?: TextFieldProps["slotProps"];
|
|
862
|
+
/** Custom slots for MUI v7 */
|
|
863
|
+
slots?: TextFieldProps["slots"];
|
|
864
|
+
}
|
|
865
|
+
declare const FileUploadField: React__default.ForwardRefExoticComponent<Omit<IFileUploadFieldProps, "ref"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* Error object type
|
|
869
|
+
*/
|
|
870
|
+
type FieldError$8 = {
|
|
871
|
+
message?: string;
|
|
872
|
+
} | null;
|
|
873
|
+
/**
|
|
874
|
+
* Color format types
|
|
875
|
+
*/
|
|
876
|
+
type ColorFormat = "hex" | "rgb" | "rgba" | "hsl" | "hsla";
|
|
877
|
+
/**
|
|
878
|
+
* Extended Color Picker Field Props
|
|
879
|
+
*/
|
|
880
|
+
interface IColorPickerFieldProps extends Omit<TextFieldProps, "value" | "onChange" | "name" | "type" | "error" | "inputRef" | "multiline" | "variant" | "size"> {
|
|
881
|
+
/** Field name for form identification */
|
|
882
|
+
name?: string;
|
|
883
|
+
/** Label text for the color picker field */
|
|
884
|
+
label?: string;
|
|
885
|
+
/** Current color value (hex string or color object) */
|
|
886
|
+
value: string;
|
|
887
|
+
/** Error object with optional message */
|
|
888
|
+
error?: FieldError$8;
|
|
889
|
+
/** Helper text to display below field */
|
|
890
|
+
helperText?: string;
|
|
891
|
+
/** Whether the field is disabled */
|
|
892
|
+
disabled?: boolean;
|
|
893
|
+
/** Placeholder text */
|
|
894
|
+
placeholder?: string;
|
|
895
|
+
/** TextField variant */
|
|
896
|
+
variant?: TextFieldProps["variant"];
|
|
897
|
+
/** TextField size */
|
|
898
|
+
size?: TextFieldProps["size"];
|
|
899
|
+
/** TextField color */
|
|
900
|
+
color?: TextFieldProps["color"];
|
|
901
|
+
/** Full width of the field */
|
|
902
|
+
fullWidth?: boolean;
|
|
903
|
+
/** Required field indicator */
|
|
904
|
+
required?: boolean;
|
|
905
|
+
/** Color format (hex, rgb, rgba, hsl, hsla) */
|
|
906
|
+
format?: ColorFormat;
|
|
907
|
+
/** Whether to show color preview swatch */
|
|
908
|
+
showPreview?: boolean;
|
|
909
|
+
/** Whether to show native color input */
|
|
910
|
+
showNativeInput?: boolean;
|
|
911
|
+
/** Whether to show popover picker */
|
|
912
|
+
showPopoverPicker?: boolean;
|
|
913
|
+
/** Preset colors to display */
|
|
914
|
+
presetColors?: string[];
|
|
915
|
+
/** Whether to show preset colors */
|
|
916
|
+
showPresetColors?: boolean;
|
|
917
|
+
/** Callback fired when the color changes */
|
|
918
|
+
onChange?: (value: string) => void;
|
|
919
|
+
/** Callback fired when field receives focus */
|
|
920
|
+
onFocus?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
921
|
+
/** Callback fired when field loses focus */
|
|
922
|
+
onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
923
|
+
/** Callback fired on Enter key press */
|
|
924
|
+
onEnterPress?: (value: string) => void;
|
|
925
|
+
/** Custom styles for the color preview swatch */
|
|
926
|
+
previewStyles?: React__default.CSSProperties;
|
|
927
|
+
/** Custom styles for FormControl */
|
|
928
|
+
formControlStyles?: FormControlProps["sx"];
|
|
929
|
+
/** Custom styles for TextField */
|
|
930
|
+
inputStyles?: TextFieldProps["sx"];
|
|
931
|
+
/** Custom slot props for MUI v7 */
|
|
932
|
+
slotProps?: TextFieldProps["slotProps"];
|
|
933
|
+
/** Custom slots for MUI v7 */
|
|
934
|
+
slots?: TextFieldProps["slots"];
|
|
935
|
+
}
|
|
936
|
+
declare const ColorPickerField: React__default.NamedExoticComponent<Omit<IColorPickerFieldProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
937
|
+
|
|
938
|
+
type AutoCompleteOption = {
|
|
939
|
+
name: string;
|
|
940
|
+
value: string | number;
|
|
941
|
+
[key: string]: unknown;
|
|
942
|
+
};
|
|
943
|
+
/**
|
|
944
|
+
* Error object type
|
|
945
|
+
*/
|
|
946
|
+
type FieldError$7 = {
|
|
947
|
+
message?: string;
|
|
948
|
+
} | null;
|
|
949
|
+
/**
|
|
950
|
+
* Extended Autocomplete Input Props
|
|
951
|
+
* Extends MUI AutocompleteProps with custom form field props
|
|
952
|
+
*/
|
|
953
|
+
interface IAutoCompleteInputProps<T extends AutoCompleteOption = AutoCompleteOption, Multiple extends boolean = false, DisableClearable extends boolean = false, FreeSolo extends boolean = false> extends Omit<AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>, "renderInput" | "options" | "value" | "onChange" | "getOptionLabel" | "isOptionEqualToValue" | "renderOption"> {
|
|
954
|
+
/** Field name for form identification */
|
|
955
|
+
name?: string;
|
|
956
|
+
/** Label text for the input field */
|
|
957
|
+
label?: string;
|
|
958
|
+
/** Current selected value */
|
|
959
|
+
value: Multiple extends true ? T[] : T | null;
|
|
960
|
+
/** Options array to display in dropdown */
|
|
961
|
+
options: T[];
|
|
962
|
+
/** Error object with optional message */
|
|
963
|
+
error?: FieldError$7;
|
|
964
|
+
/** Helper text to display below input */
|
|
965
|
+
helperText?: string;
|
|
966
|
+
/** Whether the field is disabled */
|
|
967
|
+
disabled?: boolean;
|
|
968
|
+
/** Placeholder text */
|
|
969
|
+
placeholder?: string;
|
|
970
|
+
/** TextField variant */
|
|
971
|
+
variant?: TextFieldProps["variant"];
|
|
972
|
+
/** TextField size */
|
|
973
|
+
size?: TextFieldProps["size"];
|
|
974
|
+
/** TextField color */
|
|
975
|
+
color?: TextFieldProps["color"];
|
|
976
|
+
/** Full width of the field */
|
|
977
|
+
fullWidth?: boolean;
|
|
978
|
+
/** Required field indicator */
|
|
979
|
+
required?: boolean;
|
|
980
|
+
/** Custom function to get option label (defaults to option.name) */
|
|
981
|
+
getOptionLabel?: (option: T | string) => string;
|
|
982
|
+
/** Custom function to check option equality (defaults to comparing option.name) */
|
|
983
|
+
isOptionEqualToValue?: (option: T, value: T) => boolean;
|
|
984
|
+
/** Custom render function for options */
|
|
985
|
+
renderOption?: (props: React__default.HTMLAttributes<HTMLLIElement>, option: T, state?: {
|
|
986
|
+
selected: boolean;
|
|
987
|
+
inputValue: string;
|
|
988
|
+
}) => React__default.ReactNode;
|
|
989
|
+
/** Callback fired when the value changes */
|
|
990
|
+
onChange?: (event: SyntheticEvent, newValue: Multiple extends true ? T[] : T | null, reason?: AutocompleteChangeReason) => void;
|
|
991
|
+
/** Callback fired when input value changes */
|
|
992
|
+
onInputChange?: (event: SyntheticEvent, newInputValue: string, reason: AutocompleteInputChangeReason) => void;
|
|
993
|
+
/** Callback fired when popup opens */
|
|
994
|
+
onOpen?: (event: SyntheticEvent) => void;
|
|
995
|
+
/** Callback fired when popup closes */
|
|
996
|
+
onClose?: (event: SyntheticEvent, reason: AutocompleteCloseReason) => void;
|
|
997
|
+
/** Custom icon for popup indicator */
|
|
998
|
+
popupIcon?: React__default.ReactNode;
|
|
999
|
+
/** Custom styles for the TextField */
|
|
1000
|
+
inputStyles?: TextFieldProps["sx"];
|
|
1001
|
+
/** Custom styles for the Autocomplete */
|
|
1002
|
+
autocompleteStyles?: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>["sx"];
|
|
1003
|
+
/** Custom styles for FormControl */
|
|
1004
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>["sx"];
|
|
1005
|
+
/** Whether to show loading state */
|
|
1006
|
+
loading?: boolean;
|
|
1007
|
+
/** Text to show when loading */
|
|
1008
|
+
loadingText?: React__default.ReactNode;
|
|
1009
|
+
/** Text to show when no options available */
|
|
1010
|
+
noOptionsText?: React__default.ReactNode;
|
|
1011
|
+
/** Text to show when options are being filtered */
|
|
1012
|
+
filterText?: string;
|
|
1013
|
+
/** Custom filter options function */
|
|
1014
|
+
filterOptions?: (options: T[], state: FilterOptionsState<T>) => T[];
|
|
1015
|
+
/** Whether to highlight the first option */
|
|
1016
|
+
autoHighlight?: boolean;
|
|
1017
|
+
/** Whether to select the first option on highlight */
|
|
1018
|
+
autoSelect?: boolean;
|
|
1019
|
+
/** Whether to disable portal rendering */
|
|
1020
|
+
disablePortal?: boolean;
|
|
1021
|
+
/** Whether to disable list wrapping */
|
|
1022
|
+
disableListWrap?: boolean;
|
|
1023
|
+
/** Custom slot props for MUI v7 */
|
|
1024
|
+
slotProps?: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>["slotProps"];
|
|
1025
|
+
/** Custom slots for MUI v7 */
|
|
1026
|
+
slots?: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>["slots"];
|
|
1027
|
+
}
|
|
1028
|
+
declare const AutoCompleteField: React__default.NamedExoticComponent<Omit<IAutoCompleteInputProps<AutoCompleteOption, boolean, boolean, boolean>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
* Base option type for Select
|
|
1032
|
+
*/
|
|
1033
|
+
type SelectOption = {
|
|
1034
|
+
name: string;
|
|
1035
|
+
value: string | number;
|
|
1036
|
+
disabled?: boolean;
|
|
1037
|
+
[key: string]: unknown;
|
|
1038
|
+
};
|
|
1039
|
+
/**
|
|
1040
|
+
* Error object type
|
|
1041
|
+
*/
|
|
1042
|
+
type FieldError$6 = {
|
|
1043
|
+
message?: string;
|
|
1044
|
+
} | null;
|
|
1045
|
+
/**
|
|
1046
|
+
* Extended Select Input Props
|
|
1047
|
+
* Extends MUI SelectProps with custom form field props
|
|
1048
|
+
*/
|
|
1049
|
+
interface ISelectInputFieldProps extends Omit<SelectProps<string | number | (string | number)[]>, "value" | "onChange" | "name" | "error" | "children" | "renderValue"> {
|
|
1050
|
+
/** Field name for form identification */
|
|
1051
|
+
name?: string;
|
|
1052
|
+
/** Label text for the select field */
|
|
1053
|
+
label?: string;
|
|
1054
|
+
/** Current selected value(s) */
|
|
1055
|
+
value: string | number | (string | number)[] | "";
|
|
1056
|
+
/** Options array to display in dropdown */
|
|
1057
|
+
options: SelectOption[];
|
|
1058
|
+
/** Error object with optional message */
|
|
1059
|
+
error?: FieldError$6;
|
|
1060
|
+
/** Helper text to display below select */
|
|
1061
|
+
helperText?: string;
|
|
1062
|
+
/** Whether the field is disabled */
|
|
1063
|
+
disabled?: boolean;
|
|
1064
|
+
/** Select variant */
|
|
1065
|
+
variant?: SelectProps["variant"];
|
|
1066
|
+
/** Select size */
|
|
1067
|
+
size?: SelectProps["size"];
|
|
1068
|
+
/** Select color */
|
|
1069
|
+
color?: SelectProps["color"];
|
|
1070
|
+
/** Full width of the field */
|
|
1071
|
+
fullWidth?: boolean;
|
|
1072
|
+
/** Required field indicator */
|
|
1073
|
+
required?: boolean;
|
|
1074
|
+
/** Whether to allow multiple selections */
|
|
1075
|
+
multiple?: boolean;
|
|
1076
|
+
/** Custom icon for dropdown indicator */
|
|
1077
|
+
icon?: React__default.ReactNode;
|
|
1078
|
+
/** Custom render function for selected value(s) */
|
|
1079
|
+
renderValue?: SelectProps<string | number | (string | number)[]>["renderValue"];
|
|
1080
|
+
/** Custom render function for menu items */
|
|
1081
|
+
renderMenuItem?: (option: SelectOption, index: number) => React__default.ReactNode;
|
|
1082
|
+
/** Custom styles for MenuItem - can be static styles or a function that receives (option, index) */
|
|
1083
|
+
menuItemStyles?: MenuItemProps["sx"] | ((option: SelectOption, index: number) => MenuItemProps["sx"]);
|
|
1084
|
+
/** Custom styles for the Select */
|
|
1085
|
+
selectStyles?: SelectProps["sx"];
|
|
1086
|
+
/** Custom styles for FormControl */
|
|
1087
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>["sx"];
|
|
1088
|
+
/** Custom styles for InputLabel */
|
|
1089
|
+
labelStyles?: React__default.ComponentProps<typeof InputLabel>["sx"];
|
|
1090
|
+
/** Callback fired when the value changes */
|
|
1091
|
+
onChange?: (event: SelectChangeEvent<string | number | (string | number)[]>, child?: React__default.ReactNode) => void;
|
|
1092
|
+
/** Callback fired when menu opens */
|
|
1093
|
+
onOpen?: (event: SyntheticEvent) => void;
|
|
1094
|
+
/** Callback fired when menu closes */
|
|
1095
|
+
onClose?: (event: SyntheticEvent) => void;
|
|
1096
|
+
/** Custom slot props for MUI v7 */
|
|
1097
|
+
slotProps?: SelectProps["slotProps"];
|
|
1098
|
+
/** Custom slots for MUI v7 */
|
|
1099
|
+
slots?: SelectProps["slots"];
|
|
1100
|
+
/** Display empty value */
|
|
1101
|
+
displayEmpty?: boolean;
|
|
1102
|
+
/** Auto width for menu */
|
|
1103
|
+
autoWidth?: boolean;
|
|
1104
|
+
/** Native select element */
|
|
1105
|
+
native?: boolean;
|
|
1106
|
+
/** Menu props */
|
|
1107
|
+
MenuProps?: SelectProps["MenuProps"];
|
|
1108
|
+
}
|
|
1109
|
+
declare const SelectInputField: React__default.ForwardRefExoticComponent<Omit<ISelectInputFieldProps, "ref"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* Error object type
|
|
1113
|
+
*/
|
|
1114
|
+
type FieldError$5 = {
|
|
1115
|
+
message?: string;
|
|
1116
|
+
} | null;
|
|
1117
|
+
/**
|
|
1118
|
+
* Extended OTP Input Field Props
|
|
1119
|
+
*/
|
|
1120
|
+
interface IOTPInputFieldProps extends Omit<TextFieldProps, "value" | "onChange" | "name" | "type" | "error" | "inputRef" | "multiline" | "variant" | "size"> {
|
|
1121
|
+
/** Field name for form identification */
|
|
1122
|
+
name?: string;
|
|
1123
|
+
/** Label text for the OTP field */
|
|
1124
|
+
label?: string;
|
|
1125
|
+
/** Current OTP value (string of digits) */
|
|
1126
|
+
value: string;
|
|
1127
|
+
/** Error object with optional message */
|
|
1128
|
+
error?: FieldError$5;
|
|
1129
|
+
/** Helper text to display below field */
|
|
1130
|
+
helperText?: string;
|
|
1131
|
+
/** Whether the field is disabled */
|
|
1132
|
+
disabled?: boolean;
|
|
1133
|
+
/** Number of OTP input boxes (default: 6) */
|
|
1134
|
+
length?: number;
|
|
1135
|
+
/** TextField variant */
|
|
1136
|
+
variant?: TextFieldProps["variant"];
|
|
1137
|
+
/** TextField size */
|
|
1138
|
+
size?: TextFieldProps["size"];
|
|
1139
|
+
/** TextField color */
|
|
1140
|
+
color?: TextFieldProps["color"];
|
|
1141
|
+
/** Full width of the field */
|
|
1142
|
+
fullWidth?: boolean;
|
|
1143
|
+
/** Required field indicator */
|
|
1144
|
+
required?: boolean;
|
|
1145
|
+
/** Spacing between OTP boxes */
|
|
1146
|
+
spacing?: number;
|
|
1147
|
+
/** Whether to auto-focus first input on mount */
|
|
1148
|
+
autoFocus?: boolean;
|
|
1149
|
+
/** Whether to auto-submit when all boxes are filled */
|
|
1150
|
+
autoSubmit?: boolean;
|
|
1151
|
+
/** Callback fired when the value changes */
|
|
1152
|
+
onChange?: (value: string) => void;
|
|
1153
|
+
/** Callback fired when all OTP boxes are filled */
|
|
1154
|
+
onComplete?: (value: string) => void;
|
|
1155
|
+
/** Callback fired when field receives focus */
|
|
1156
|
+
onFocus?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
1157
|
+
/** Callback fired when field loses focus */
|
|
1158
|
+
onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
1159
|
+
/** Callback fired on Enter key press */
|
|
1160
|
+
onEnterPress?: (value: string) => void;
|
|
1161
|
+
/** Custom styles for the OTP container */
|
|
1162
|
+
containerStyles?: React__default.CSSProperties;
|
|
1163
|
+
/** Custom styles for individual OTP input boxes */
|
|
1164
|
+
inputStyles?: TextFieldProps["sx"];
|
|
1165
|
+
/** Custom styles for FormControl */
|
|
1166
|
+
formControlStyles?: FormControlProps["sx"];
|
|
1167
|
+
/** Custom slot props for MUI v7 */
|
|
1168
|
+
slotProps?: TextFieldProps["slotProps"];
|
|
1169
|
+
/** Custom slots for MUI v7 */
|
|
1170
|
+
slots?: TextFieldProps["slots"];
|
|
1171
|
+
}
|
|
1172
|
+
declare const OTPField: React__default.ForwardRefExoticComponent<Omit<IOTPInputFieldProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1173
|
+
|
|
1174
|
+
/**
|
|
1175
|
+
* Error object type
|
|
1176
|
+
*/
|
|
1177
|
+
type FieldError$4 = {
|
|
1178
|
+
message?: string;
|
|
1179
|
+
} | null;
|
|
1180
|
+
/**
|
|
1181
|
+
* Extended Search Input Field Props
|
|
1182
|
+
* Extends MUI TextFieldProps with custom search field props
|
|
1183
|
+
*/
|
|
1184
|
+
interface ISearchInputFieldProps extends Omit<TextFieldProps, "value" | "onChange" | "name" | "type" | "error" | "inputRef"> {
|
|
1185
|
+
/** Field name for form identification */
|
|
1186
|
+
name?: string;
|
|
1187
|
+
/** Label text for the search field */
|
|
1188
|
+
label?: string;
|
|
1189
|
+
/** Current search value */
|
|
1190
|
+
value: string;
|
|
1191
|
+
/** Error object with optional message */
|
|
1192
|
+
error?: FieldError$4;
|
|
1193
|
+
/** Helper text to display below field */
|
|
1194
|
+
helperText?: string;
|
|
1195
|
+
/** Whether the field is disabled */
|
|
1196
|
+
disabled?: boolean;
|
|
1197
|
+
/** Placeholder text */
|
|
1198
|
+
placeholder?: string;
|
|
1199
|
+
/** TextField variant */
|
|
1200
|
+
variant?: TextFieldProps["variant"];
|
|
1201
|
+
/** TextField size */
|
|
1202
|
+
size?: TextFieldProps["size"];
|
|
1203
|
+
/** TextField color */
|
|
1204
|
+
color?: TextFieldProps["color"];
|
|
1205
|
+
/** Full width of the field */
|
|
1206
|
+
fullWidth?: boolean;
|
|
1207
|
+
/** Required field indicator */
|
|
1208
|
+
required?: boolean;
|
|
1209
|
+
/** Whether to show clear button */
|
|
1210
|
+
showClearButton?: boolean;
|
|
1211
|
+
/** Whether to show search button */
|
|
1212
|
+
showSearchButton?: boolean;
|
|
1213
|
+
/** Custom clear icon */
|
|
1214
|
+
clearIcon?: React__default.ReactNode;
|
|
1215
|
+
/** Custom search icon */
|
|
1216
|
+
searchIcon?: React__default.ReactNode;
|
|
1217
|
+
/** Custom icon button props for clear button */
|
|
1218
|
+
clearButtonProps?: IconButtonProps;
|
|
1219
|
+
/** Custom icon button props for search button */
|
|
1220
|
+
searchButtonProps?: IconButtonProps;
|
|
1221
|
+
/** Callback fired when the value changes */
|
|
1222
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
1223
|
+
/** Callback fired when field receives focus */
|
|
1224
|
+
onFocus?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
1225
|
+
/** Callback fired when field loses focus */
|
|
1226
|
+
onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
1227
|
+
/** Callback fired when search button is clicked */
|
|
1228
|
+
onSearch?: (value: string) => void;
|
|
1229
|
+
/** Callback fired when clear button is clicked */
|
|
1230
|
+
onClear?: () => void;
|
|
1231
|
+
/** Callback fired on Enter key press */
|
|
1232
|
+
onEnterPress?: (value: string) => void;
|
|
1233
|
+
/** Enable debounce for search (default: true) */
|
|
1234
|
+
enableDebounce?: boolean;
|
|
1235
|
+
/** Debounce delay in milliseconds (default: 300) */
|
|
1236
|
+
debounceDelay?: number;
|
|
1237
|
+
/** Enable throttle for search (default: false) */
|
|
1238
|
+
enableThrottle?: boolean;
|
|
1239
|
+
/** Throttle delay in milliseconds (default: 300) */
|
|
1240
|
+
throttleDelay?: number;
|
|
1241
|
+
/** Custom styles for the TextField */
|
|
1242
|
+
inputStyles?: TextFieldProps["sx"];
|
|
1243
|
+
/** Custom styles for FormControl */
|
|
1244
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>["sx"];
|
|
1245
|
+
/** Custom slot props for MUI v7 */
|
|
1246
|
+
slotProps?: TextFieldProps["slotProps"];
|
|
1247
|
+
/** Custom slots for MUI v7 */
|
|
1248
|
+
slots?: TextFieldProps["slots"];
|
|
1249
|
+
}
|
|
1250
|
+
declare const SearchField: React__default.NamedExoticComponent<Omit<ISearchInputFieldProps, "ref"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
1251
|
+
|
|
1252
|
+
/**
|
|
1253
|
+
* Error object type
|
|
1254
|
+
*/
|
|
1255
|
+
type FieldError$3 = {
|
|
1256
|
+
message?: string;
|
|
1257
|
+
} | null;
|
|
1258
|
+
/**
|
|
1259
|
+
* Extended Tel Input Field Props
|
|
1260
|
+
* Extends MUI TextFieldProps with custom tel field props
|
|
1261
|
+
*/
|
|
1262
|
+
interface ITelInputFieldProps extends Omit<TextFieldProps, "value" | "onChange" | "name" | "type" | "error" | "inputRef"> {
|
|
1263
|
+
/** Field name for form identification */
|
|
1264
|
+
name?: string;
|
|
1265
|
+
/** Label text for the tel field */
|
|
1266
|
+
label?: string;
|
|
1267
|
+
/** Current tel value (digits only, formatting is handled internally) */
|
|
1268
|
+
value: string;
|
|
1269
|
+
/** Error object with optional message */
|
|
1270
|
+
error?: FieldError$3;
|
|
1271
|
+
/** Helper text to display below field */
|
|
1272
|
+
helperText?: string;
|
|
1273
|
+
/** Whether the field is disabled */
|
|
1274
|
+
disabled?: boolean;
|
|
1275
|
+
/** Placeholder text (auto-generated from pattern if not provided) */
|
|
1276
|
+
placeholder?: string;
|
|
1277
|
+
/** TextField variant */
|
|
1278
|
+
variant?: TextFieldProps["variant"];
|
|
1279
|
+
/** TextField size */
|
|
1280
|
+
size?: TextFieldProps["size"];
|
|
1281
|
+
/** TextField color */
|
|
1282
|
+
color?: TextFieldProps["color"];
|
|
1283
|
+
/** Full width of the field */
|
|
1284
|
+
fullWidth?: boolean;
|
|
1285
|
+
/** Required field indicator */
|
|
1286
|
+
required?: boolean;
|
|
1287
|
+
/** Pattern string (e.g., "XXX-XXXX" where X represents digits) */
|
|
1288
|
+
pattern?: string;
|
|
1289
|
+
/** Maximum length (defaults to pattern length if pattern provided) */
|
|
1290
|
+
maxLength?: number;
|
|
1291
|
+
/** Country code to display */
|
|
1292
|
+
countryCode?: string;
|
|
1293
|
+
/** Whether to show country code */
|
|
1294
|
+
showCountryCode?: boolean;
|
|
1295
|
+
/** Start adornment (icon or element before input) */
|
|
1296
|
+
startAdornment?: React__default.ReactNode;
|
|
1297
|
+
/** End adornment (icon or element after input) */
|
|
1298
|
+
endAdornment?: React__default.ReactNode;
|
|
1299
|
+
/** Callback fired when the value changes (returns digits only) */
|
|
1300
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
1301
|
+
/** Callback fired when field receives focus */
|
|
1302
|
+
onFocus?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
1303
|
+
/** Callback fired when field loses focus */
|
|
1304
|
+
onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
1305
|
+
/** Callback fired on Enter key press */
|
|
1306
|
+
onEnterPress?: (value: string) => void;
|
|
1307
|
+
/** Custom styles for the TextField */
|
|
1308
|
+
inputStyles?: TextFieldProps["sx"];
|
|
1309
|
+
/** Custom styles for FormControl */
|
|
1310
|
+
formControlStyles?: FormControlProps["sx"];
|
|
1311
|
+
/** Custom styles for country code display */
|
|
1312
|
+
countryCodeStyles?: React__default.CSSProperties;
|
|
1313
|
+
/** Custom slot props for MUI v7 */
|
|
1314
|
+
slotProps?: TextFieldProps["slotProps"];
|
|
1315
|
+
/** Custom slots for MUI v7 */
|
|
1316
|
+
slots?: TextFieldProps["slots"];
|
|
1317
|
+
}
|
|
1318
|
+
declare const TeliField: React__default.NamedExoticComponent<Omit<ITelInputFieldProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1319
|
+
|
|
1320
|
+
/**
|
|
1321
|
+
* Error object type
|
|
1322
|
+
*/
|
|
1323
|
+
type FieldError$2 = {
|
|
1324
|
+
message?: string;
|
|
1325
|
+
} | null;
|
|
1326
|
+
/**
|
|
1327
|
+
* Number pattern types
|
|
1328
|
+
*/
|
|
1329
|
+
type NumberPattern = "phone" | "credit-card" | "currency" | "ssn" | "zip-code" | "decimal" | "integer" | "percentage" | "custom";
|
|
1330
|
+
/**
|
|
1331
|
+
* Extended Number Input Field Props
|
|
1332
|
+
* Extends MUI TextFieldProps with custom number field props
|
|
1333
|
+
*/
|
|
1334
|
+
interface INumberInputFieldProps extends Omit<TextFieldProps, "value" | "onChange" | "name" | "type" | "error" | "inputRef"> {
|
|
1335
|
+
/** Field name for form identification */
|
|
1336
|
+
name?: string;
|
|
1337
|
+
/** Label text for the number field */
|
|
1338
|
+
label?: string;
|
|
1339
|
+
/** Current number value (as string to support formatted values) */
|
|
1340
|
+
value: string;
|
|
1341
|
+
/** Error object with optional message */
|
|
1342
|
+
error?: FieldError$2;
|
|
1343
|
+
/** Helper text to display below field */
|
|
1344
|
+
helperText?: string;
|
|
1345
|
+
/** Whether the field is disabled */
|
|
1346
|
+
disabled?: boolean;
|
|
1347
|
+
/** Placeholder text */
|
|
1348
|
+
placeholder?: string;
|
|
1349
|
+
/** TextField variant */
|
|
1350
|
+
variant?: TextFieldProps["variant"];
|
|
1351
|
+
/** TextField size */
|
|
1352
|
+
size?: TextFieldProps["size"];
|
|
1353
|
+
/** TextField color */
|
|
1354
|
+
color?: TextFieldProps["color"];
|
|
1355
|
+
/** Full width of the field */
|
|
1356
|
+
fullWidth?: boolean;
|
|
1357
|
+
/** Required field indicator */
|
|
1358
|
+
required?: boolean;
|
|
1359
|
+
/** Number pattern type or pattern string (e.g., "XXX-XXXX" where X represents digits) */
|
|
1360
|
+
pattern?: NumberPattern | string;
|
|
1361
|
+
/** Custom regex pattern (used when pattern is "custom") */
|
|
1362
|
+
customPattern?: RegExp;
|
|
1363
|
+
/** Custom formatter function */
|
|
1364
|
+
customFormatter?: (value: string) => string;
|
|
1365
|
+
/** Minimum value */
|
|
1366
|
+
min?: number;
|
|
1367
|
+
/** Maximum value */
|
|
1368
|
+
max?: number;
|
|
1369
|
+
/** Step value for number input */
|
|
1370
|
+
step?: number;
|
|
1371
|
+
/** Allow decimal numbers (for decimal pattern) */
|
|
1372
|
+
allowDecimals?: boolean;
|
|
1373
|
+
/** Number of decimal places */
|
|
1374
|
+
decimalPlaces?: number;
|
|
1375
|
+
/** Start adornment (icon or element before input) */
|
|
1376
|
+
startAdornment?: React__default.ReactNode;
|
|
1377
|
+
/** End adornment (icon or element after input) */
|
|
1378
|
+
endAdornment?: React__default.ReactNode;
|
|
1379
|
+
/** Callback fired when the value changes (returns formatted string) */
|
|
1380
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
1381
|
+
/** Callback fired when field receives focus */
|
|
1382
|
+
onFocus?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
1383
|
+
/** Callback fired when field loses focus */
|
|
1384
|
+
onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
1385
|
+
/** Callback fired on Enter key press */
|
|
1386
|
+
onEnterPress?: (value: string) => void;
|
|
1387
|
+
/** Custom styles for the TextField */
|
|
1388
|
+
inputStyles?: TextFieldProps["sx"];
|
|
1389
|
+
/** Custom styles for FormControl */
|
|
1390
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>["sx"];
|
|
1391
|
+
/** Custom slot props for MUI v7 */
|
|
1392
|
+
slotProps?: TextFieldProps["slotProps"];
|
|
1393
|
+
/** Custom slots for MUI v7 */
|
|
1394
|
+
slots?: TextFieldProps["slots"];
|
|
1395
|
+
}
|
|
1396
|
+
declare const NumberField: React__default.NamedExoticComponent<Omit<INumberInputFieldProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1397
|
+
|
|
1398
|
+
/**
|
|
1399
|
+
* Error object type
|
|
1400
|
+
*/
|
|
1401
|
+
type FieldError$1 = {
|
|
1402
|
+
message?: string;
|
|
1403
|
+
} | null;
|
|
1404
|
+
/**
|
|
1405
|
+
* Password strength level
|
|
1406
|
+
*/
|
|
1407
|
+
type PasswordStrength = "weak" | "medium" | "strong" | "very-strong";
|
|
1408
|
+
/**
|
|
1409
|
+
* Extended Password Field Props
|
|
1410
|
+
* Extends MUI TextFieldProps with custom password field props
|
|
1411
|
+
*/
|
|
1412
|
+
interface IPasswordFieldProps extends Omit<TextFieldProps, "value" | "onChange" | "name" | "type" | "error" | "inputRef"> {
|
|
1413
|
+
/** Field name for form identification */
|
|
1414
|
+
name?: string;
|
|
1415
|
+
/** Label text for the password field */
|
|
1416
|
+
label?: string;
|
|
1417
|
+
/** Current password value */
|
|
1418
|
+
value: string;
|
|
1419
|
+
/** Error object with optional message */
|
|
1420
|
+
error?: FieldError$1;
|
|
1421
|
+
/** Helper text to display below field */
|
|
1422
|
+
helperText?: string;
|
|
1423
|
+
/** Whether the field is disabled */
|
|
1424
|
+
disabled?: boolean;
|
|
1425
|
+
/** Placeholder text */
|
|
1426
|
+
placeholder?: string;
|
|
1427
|
+
/** TextField variant */
|
|
1428
|
+
variant?: TextFieldProps["variant"];
|
|
1429
|
+
/** TextField size */
|
|
1430
|
+
size?: TextFieldProps["size"];
|
|
1431
|
+
/** TextField color */
|
|
1432
|
+
color?: TextFieldProps["color"];
|
|
1433
|
+
/** Full width of the field */
|
|
1434
|
+
fullWidth?: boolean;
|
|
1435
|
+
/** Required field indicator */
|
|
1436
|
+
required?: boolean;
|
|
1437
|
+
/** Whether to show password strength indicator */
|
|
1438
|
+
showPasswordStrength?: boolean;
|
|
1439
|
+
/** Minimum password length */
|
|
1440
|
+
minLength?: number;
|
|
1441
|
+
/** Maximum password length */
|
|
1442
|
+
maxLength?: number;
|
|
1443
|
+
/** Whether to show password by default */
|
|
1444
|
+
defaultShowPassword?: boolean;
|
|
1445
|
+
/** Custom visibility toggle icon (when password is visible) */
|
|
1446
|
+
visibilityIcon?: React__default.ReactNode;
|
|
1447
|
+
/** Custom visibility off icon (when password is hidden) */
|
|
1448
|
+
visibilityOffIcon?: React__default.ReactNode;
|
|
1449
|
+
/** Custom icon button props */
|
|
1450
|
+
iconButtonProps?: IconButtonProps;
|
|
1451
|
+
/** Callback fired when the value changes */
|
|
1452
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
1453
|
+
/** Callback fired when field receives focus */
|
|
1454
|
+
onFocus?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
1455
|
+
/** Callback fired when field loses focus */
|
|
1456
|
+
onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
1457
|
+
/** Callback fired when password visibility toggles */
|
|
1458
|
+
onVisibilityToggle?: (isVisible: boolean) => void;
|
|
1459
|
+
/** Custom function to calculate password strength */
|
|
1460
|
+
getPasswordStrength?: (password: string) => PasswordStrength;
|
|
1461
|
+
/** Custom styles for the TextField */
|
|
1462
|
+
inputStyles?: TextFieldProps["sx"];
|
|
1463
|
+
/** Custom styles for FormControl */
|
|
1464
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>["sx"];
|
|
1465
|
+
/** Custom slot props for MUI v7 */
|
|
1466
|
+
slotProps?: TextFieldProps["slotProps"];
|
|
1467
|
+
/** Custom slots for MUI v7 */
|
|
1468
|
+
slots?: TextFieldProps["slots"];
|
|
1469
|
+
}
|
|
1470
|
+
declare const PasswordField: React__default.NamedExoticComponent<Omit<IPasswordFieldProps, "ref"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
1471
|
+
|
|
1472
|
+
/**
|
|
1473
|
+
* Error object type
|
|
1474
|
+
*/
|
|
1475
|
+
type FieldError = {
|
|
1476
|
+
message?: string;
|
|
1477
|
+
} | null;
|
|
1478
|
+
/**
|
|
1479
|
+
* Resize options for textarea
|
|
1480
|
+
*/
|
|
1481
|
+
type ResizeOption = "none" | "both" | "horizontal" | "vertical";
|
|
1482
|
+
/**
|
|
1483
|
+
* Extended Text Input Field Props
|
|
1484
|
+
* Extends MUI TextFieldProps with custom text field props
|
|
1485
|
+
*/
|
|
1486
|
+
interface ITextInputFieldProps extends Omit<TextFieldProps, "value" | "onChange" | "name" | "type" | "error" | "inputRef" | "multiline"> {
|
|
1487
|
+
/** Field name for form identification */
|
|
1488
|
+
name?: string;
|
|
1489
|
+
/** Label text for the text field */
|
|
1490
|
+
label?: string;
|
|
1491
|
+
/** Current text value */
|
|
1492
|
+
value: string;
|
|
1493
|
+
/** Error object with optional message */
|
|
1494
|
+
error?: FieldError;
|
|
1495
|
+
/** Helper text to display below field */
|
|
1496
|
+
helperText?: string;
|
|
1497
|
+
/** Whether the field is disabled */
|
|
1498
|
+
disabled?: boolean;
|
|
1499
|
+
/** Placeholder text */
|
|
1500
|
+
placeholder?: string;
|
|
1501
|
+
/** TextField variant */
|
|
1502
|
+
variant?: TextFieldProps["variant"];
|
|
1503
|
+
/** TextField size */
|
|
1504
|
+
size?: TextFieldProps["size"];
|
|
1505
|
+
/** TextField color */
|
|
1506
|
+
color?: TextFieldProps["color"];
|
|
1507
|
+
/** Full width of the field */
|
|
1508
|
+
fullWidth?: boolean;
|
|
1509
|
+
/** Required field indicator */
|
|
1510
|
+
required?: boolean;
|
|
1511
|
+
/** Whether to enable multiline input (textarea) */
|
|
1512
|
+
multiline?: boolean;
|
|
1513
|
+
/** Number of rows for multiline input */
|
|
1514
|
+
rows?: number;
|
|
1515
|
+
/** Minimum number of rows for multiline input */
|
|
1516
|
+
minRows?: number;
|
|
1517
|
+
/** Maximum number of rows for multiline input */
|
|
1518
|
+
maxRows?: number;
|
|
1519
|
+
/** Resize option for textarea (none, both, horizontal, vertical) */
|
|
1520
|
+
resize?: ResizeOption;
|
|
1521
|
+
/** Maximum length of input */
|
|
1522
|
+
maxLength?: number;
|
|
1523
|
+
/** Minimum length of input */
|
|
1524
|
+
minLength?: number;
|
|
1525
|
+
/** Input type (text, email, number, tel, url, etc.) */
|
|
1526
|
+
type?: string;
|
|
1527
|
+
/** Auto complete attribute */
|
|
1528
|
+
autoComplete?: string;
|
|
1529
|
+
/** Start adornment (icon or element before input) */
|
|
1530
|
+
startAdornment?: React__default.ReactNode;
|
|
1531
|
+
/** End adornment (icon or element after input) */
|
|
1532
|
+
endAdornment?: React__default.ReactNode;
|
|
1533
|
+
/** Callback fired when the value changes */
|
|
1534
|
+
onChange?: (event: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
1535
|
+
/** Callback fired when field receives focus */
|
|
1536
|
+
onFocus?: (event: FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
1537
|
+
/** Callback fired when field loses focus */
|
|
1538
|
+
onBlur?: (event: FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
1539
|
+
/** Callback fired on Enter key press */
|
|
1540
|
+
onEnterPress?: (value: string) => void;
|
|
1541
|
+
/** Custom styles for the TextField */
|
|
1542
|
+
inputStyles?: TextFieldProps["sx"];
|
|
1543
|
+
/** Custom styles for FormControl */
|
|
1544
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>["sx"];
|
|
1545
|
+
/** Custom slot props for MUI v7 */
|
|
1546
|
+
slotProps?: TextFieldProps["slotProps"];
|
|
1547
|
+
/** Custom slots for MUI v7 */
|
|
1548
|
+
slots?: TextFieldProps["slots"];
|
|
1549
|
+
}
|
|
1550
|
+
declare const TextInputField: React__default.NamedExoticComponent<Omit<ITextInputFieldProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1551
|
+
|
|
1552
|
+
/**
|
|
1553
|
+
* Base option type for dropdown fields
|
|
1554
|
+
*/
|
|
1555
|
+
type Option = {
|
|
1556
|
+
name: string;
|
|
1557
|
+
value: number | string;
|
|
1558
|
+
disabled?: boolean;
|
|
1559
|
+
[key: string]: unknown;
|
|
1560
|
+
};
|
|
1561
|
+
/**
|
|
1562
|
+
* Base interface for all HookForm field components
|
|
1563
|
+
*/
|
|
1564
|
+
interface IFormInputFields<TFieldValues extends FieldValues = FieldValues> {
|
|
1565
|
+
/** Field name for form identification */
|
|
1566
|
+
name: string;
|
|
1567
|
+
/** Label text for the field */
|
|
1568
|
+
label?: string;
|
|
1569
|
+
/** React Hook Form control object */
|
|
1570
|
+
control: Control<TFieldValues>;
|
|
1571
|
+
/** React Hook Form errors object */
|
|
1572
|
+
errors: FieldErrors<TFieldValues>;
|
|
1573
|
+
/** Default value for the field */
|
|
1574
|
+
defaultValue?: any;
|
|
1575
|
+
/** Placeholder text */
|
|
1576
|
+
placeholder?: string;
|
|
1577
|
+
/** Field size */
|
|
1578
|
+
size?: TextFieldPropsSizeOverrides;
|
|
1579
|
+
/** Whether the field is disabled */
|
|
1580
|
+
disabled?: boolean;
|
|
1581
|
+
/** Whether the field is required */
|
|
1582
|
+
required?: boolean;
|
|
1583
|
+
/** Full width of the field */
|
|
1584
|
+
fullWidth?: boolean;
|
|
1585
|
+
/** Custom styles for input */
|
|
1586
|
+
inputStyles?: SxProps<Theme>;
|
|
1587
|
+
/** Custom styles */
|
|
1588
|
+
sx?: SxProps<Theme>;
|
|
1589
|
+
/** Custom slot props for MUI v7 */
|
|
1590
|
+
slotProps?: any;
|
|
1591
|
+
/** Custom slots for MUI v7 */
|
|
1592
|
+
slots?: any;
|
|
1593
|
+
/** Callback fired when the value changes - allows manual updates/actions */
|
|
1594
|
+
onChange?: (value: any) => void;
|
|
1595
|
+
/** Additional props */
|
|
1596
|
+
[key: string]: any;
|
|
1597
|
+
}
|
|
1598
|
+
/**
|
|
1599
|
+
* Interface for fields with options (Select, AutoComplete, etc.)
|
|
1600
|
+
*/
|
|
1601
|
+
interface IFormInputFieldsWithOptions<TFieldValues extends FieldValues = FieldValues> extends IFormInputFields<TFieldValues> {
|
|
1602
|
+
/** Options array for dropdown fields */
|
|
1603
|
+
options?: Option[];
|
|
1604
|
+
/** Limit number of tags displayed (for multi-select) */
|
|
1605
|
+
limitTags?: number;
|
|
1606
|
+
/** Custom render function for options */
|
|
1607
|
+
renderOption?: any;
|
|
1608
|
+
/** Custom function to get option label */
|
|
1609
|
+
getOptionLabel?: any;
|
|
1610
|
+
/** Whether to render single option */
|
|
1611
|
+
isRenderSingle?: boolean;
|
|
1612
|
+
/** Custom render function for option value */
|
|
1613
|
+
renderOptionValue?: any;
|
|
1614
|
+
/** Whether to disable checkbox in multi-select */
|
|
1615
|
+
disableCheckBox?: boolean;
|
|
1616
|
+
/** Whether to filter selected options */
|
|
1617
|
+
filterSelectedOptions?: boolean;
|
|
1618
|
+
}
|
|
1619
|
+
/**
|
|
1620
|
+
* Interface for date/time picker fields
|
|
1621
|
+
*/
|
|
1622
|
+
interface IFormInputDateFields<TFieldValues extends FieldValues = FieldValues> extends IFormInputFields<TFieldValues> {
|
|
1623
|
+
/** Default date value */
|
|
1624
|
+
defaultValue?: Date | null;
|
|
1625
|
+
/** Minimum selectable date */
|
|
1626
|
+
minDate?: Date;
|
|
1627
|
+
/** Maximum selectable date */
|
|
1628
|
+
maxDate?: Date;
|
|
1629
|
+
/** Whether the field is read-only */
|
|
1630
|
+
readOnly?: boolean;
|
|
1631
|
+
/** Timezone setting */
|
|
1632
|
+
timezone?: any;
|
|
1633
|
+
/** Whether to use 12-hour format (AM/PM) */
|
|
1634
|
+
ampm?: boolean;
|
|
1635
|
+
/** Views to show in picker */
|
|
1636
|
+
views?: TimeView[];
|
|
1637
|
+
/** Whether to show AM/PM in clock */
|
|
1638
|
+
ampmInClock?: boolean;
|
|
1639
|
+
/** Whether to disable past dates */
|
|
1640
|
+
disablePast?: boolean;
|
|
1641
|
+
/** Custom function to disable specific dates */
|
|
1642
|
+
shouldDisableDate?: (date: Date) => boolean;
|
|
1643
|
+
}
|
|
1644
|
+
/**
|
|
1645
|
+
* Interface for number input fields
|
|
1646
|
+
*/
|
|
1647
|
+
interface IFormInputNumberFields<TFieldValues extends FieldValues = FieldValues> extends IFormInputFields<TFieldValues> {
|
|
1648
|
+
/** Number pattern type or custom pattern string */
|
|
1649
|
+
pattern?: string;
|
|
1650
|
+
/** Minimum value */
|
|
1651
|
+
min?: number;
|
|
1652
|
+
/** Maximum value */
|
|
1653
|
+
max?: number;
|
|
1654
|
+
/** Step value */
|
|
1655
|
+
step?: number;
|
|
1656
|
+
/** Allow decimal numbers */
|
|
1657
|
+
allowDecimals?: boolean;
|
|
1658
|
+
/** Number of decimal places */
|
|
1659
|
+
decimalPlaces?: number;
|
|
1660
|
+
}
|
|
1661
|
+
/**
|
|
1662
|
+
* Interface for text area fields
|
|
1663
|
+
*/
|
|
1664
|
+
interface IFormInputTextAreaFields<TFieldValues extends FieldValues = FieldValues> extends IFormInputFields<TFieldValues> {
|
|
1665
|
+
/** Number of rows */
|
|
1666
|
+
rows?: number;
|
|
1667
|
+
/** Minimum number of rows */
|
|
1668
|
+
minRows?: number;
|
|
1669
|
+
/** Maximum number of rows */
|
|
1670
|
+
maxRows?: number;
|
|
1671
|
+
/** Resize option */
|
|
1672
|
+
resize?: "none" | "both" | "horizontal" | "vertical";
|
|
1673
|
+
}
|
|
1674
|
+
/**
|
|
1675
|
+
* Interface for radio button fields (single)
|
|
1676
|
+
*/
|
|
1677
|
+
interface IFormInputRadioFields<TFieldValues extends FieldValues = FieldValues> extends IFormInputFields<TFieldValues> {
|
|
1678
|
+
/** Current checked state */
|
|
1679
|
+
checked?: boolean;
|
|
1680
|
+
/** Radio color */
|
|
1681
|
+
color?: "default" | "primary" | "secondary" | "error" | "info" | "success" | "warning";
|
|
1682
|
+
/** Label placement */
|
|
1683
|
+
labelPlacement?: "end" | "start" | "top" | "bottom";
|
|
1684
|
+
}
|
|
1685
|
+
/**
|
|
1686
|
+
* Interface for checkbox group fields
|
|
1687
|
+
*/
|
|
1688
|
+
interface IFormInputCheckBoxGroupFields<TFieldValues extends FieldValues = FieldValues> extends IFormInputFieldsWithOptions<TFieldValues> {
|
|
1689
|
+
/** Whether to display checkboxes in a row */
|
|
1690
|
+
row?: boolean;
|
|
1691
|
+
/** Checkbox color */
|
|
1692
|
+
color?: "default" | "primary" | "secondary" | "error" | "info" | "success" | "warning";
|
|
1693
|
+
/** Label placement */
|
|
1694
|
+
labelPlacement?: "end" | "start" | "top" | "bottom";
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
declare const FormInputTextField: React__default.MemoExoticComponent<({ name, label, control, errors, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1698
|
+
|
|
1699
|
+
declare const FormInputTextArea: React__default.MemoExoticComponent<({ name, label, control, errors, rows, minRows, maxRows, resize, defaultValue, onChange, ...props }: IFormInputTextAreaFields) => react_jsx_runtime.JSX.Element>;
|
|
1700
|
+
|
|
1701
|
+
declare const FormInputPasswordField: React__default.MemoExoticComponent<({ name, label, control, errors, size, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1702
|
+
|
|
1703
|
+
declare const FormInputNumberField: React__default.MemoExoticComponent<({ name, label, control, errors, pattern, min, max, step, allowDecimals, decimalPlaces, defaultValue, onChange, ...props }: IFormInputNumberFields) => react_jsx_runtime.JSX.Element>;
|
|
1704
|
+
|
|
1705
|
+
declare const FormInputTelField: React__default.MemoExoticComponent<({ name, label, control, errors, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1706
|
+
|
|
1707
|
+
declare const FormInputSearchField: React__default.MemoExoticComponent<({ name, label, control, errors, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1708
|
+
|
|
1709
|
+
declare const FormInputOTPField: React__default.MemoExoticComponent<({ name, label, control, errors, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1710
|
+
|
|
1711
|
+
declare const FormInputSelect: React__default.MemoExoticComponent<({ name, label, control, errors, options, defaultValue, onChange, ...props }: IFormInputFieldsWithOptions) => react_jsx_runtime.JSX.Element>;
|
|
1712
|
+
|
|
1713
|
+
declare const FormInputMultiSelect: React__default.MemoExoticComponent<({ name, label, control, errors, options, defaultValue, onChange, ...props }: IFormInputFieldsWithOptions) => react_jsx_runtime.JSX.Element>;
|
|
1714
|
+
|
|
1715
|
+
declare const FormInputAutoComplete: React__default.MemoExoticComponent<({ name, label, control, errors, options, disabled, placeholder, defaultValue, onChange, ...props }: IFormInputFieldsWithOptions) => react_jsx_runtime.JSX.Element>;
|
|
1716
|
+
|
|
1717
|
+
declare const FormInputMultiAutoComplete: React__default.MemoExoticComponent<({ name, label, control, errors, options, disabled, placeholder, defaultValue, onChange, ...props }: IFormInputFieldsWithOptions) => react_jsx_runtime.JSX.Element>;
|
|
1718
|
+
|
|
1719
|
+
declare const FormInputColorPicker: React__default.MemoExoticComponent<({ name, label, control, errors, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1720
|
+
|
|
1721
|
+
declare const FormInputFileUpload: React__default.MemoExoticComponent<({ name, label, control, errors, size, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1722
|
+
|
|
1723
|
+
declare const FormInputDatePicker: React__default.MemoExoticComponent<({ name, label, control, errors, size, readOnly, shouldDisableDate, disabled, placeholder, defaultValue, onChange, ...props }: IFormInputDateFields) => react_jsx_runtime.JSX.Element>;
|
|
1724
|
+
|
|
1725
|
+
declare const FormInputTimePicker: React__default.MemoExoticComponent<({ name, label, control, errors, ampm, timezone, defaultValue, onChange, ...props }: IFormInputDateFields) => react_jsx_runtime.JSX.Element>;
|
|
1726
|
+
|
|
1727
|
+
declare const FormInputTimeClock: React__default.MemoExoticComponent<({ name, label, control, errors, readOnly, disabled, ampm, views, ampmInClock, disablePast, defaultValue, onChange, ...props }: IFormInputDateFields) => react_jsx_runtime.JSX.Element>;
|
|
1728
|
+
|
|
1729
|
+
declare const FormInputCalendar: React__default.MemoExoticComponent<({ name, label, control, errors, readOnly, disabled, defaultValue, onChange, ...props }: IFormInputDateFields) => react_jsx_runtime.JSX.Element>;
|
|
1730
|
+
|
|
1731
|
+
declare const FormInputCheckBox: React__default.MemoExoticComponent<({ name, label, control, errors, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1732
|
+
|
|
1733
|
+
declare const FormInputCheckBoxGroup: React__default.MemoExoticComponent<({ name, label, control, errors, options, defaultValue, onChange, row, color, labelPlacement, ...props }: IFormInputCheckBoxGroupFields) => react_jsx_runtime.JSX.Element>;
|
|
1734
|
+
|
|
1735
|
+
declare const FormInputSwitch: React__default.MemoExoticComponent<({ name, label, control, errors, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1736
|
+
|
|
1737
|
+
declare const FormInputSlider: React__default.MemoExoticComponent<({ name, label, control, errors, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1738
|
+
|
|
1739
|
+
declare const FormInputRadioButton: React__default.MemoExoticComponent<({ name, label, control, errors, checked, defaultValue, onChange, color, labelPlacement, ...props }: IFormInputRadioFields) => react_jsx_runtime.JSX.Element>;
|
|
1740
|
+
|
|
1741
|
+
declare const FormInputRadioButtonGroup: React__default.MemoExoticComponent<({ name, label, control, errors, options, defaultValue, onChange, ...props }: IFormInputFieldsWithOptions) => react_jsx_runtime.JSX.Element>;
|
|
1742
|
+
|
|
1743
|
+
declare const FormFields: {
|
|
1744
|
+
FormInputTextField: React.MemoExoticComponent<({ name, label, control, errors, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1745
|
+
FormInputTextArea: React.MemoExoticComponent<({ name, label, control, errors, rows, minRows, maxRows, resize, defaultValue, onChange, ...props }: IFormInputTextAreaFields) => react_jsx_runtime.JSX.Element>;
|
|
1746
|
+
FormInputPasswordField: React.MemoExoticComponent<({ name, label, control, errors, size, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1747
|
+
FormInputNumberField: React.MemoExoticComponent<({ name, label, control, errors, pattern, min, max, step, allowDecimals, decimalPlaces, defaultValue, onChange, ...props }: IFormInputNumberFields) => react_jsx_runtime.JSX.Element>;
|
|
1748
|
+
FormInputTelField: React.MemoExoticComponent<({ name, label, control, errors, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1749
|
+
FormInputSearchField: React.MemoExoticComponent<({ name, label, control, errors, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1750
|
+
FormInputOTPField: React.MemoExoticComponent<({ name, label, control, errors, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1751
|
+
FormInputSelect: React.MemoExoticComponent<({ name, label, control, errors, options, defaultValue, onChange, ...props }: IFormInputFieldsWithOptions) => react_jsx_runtime.JSX.Element>;
|
|
1752
|
+
FormInputMultiSelect: React.MemoExoticComponent<({ name, label, control, errors, options, defaultValue, onChange, ...props }: IFormInputFieldsWithOptions) => react_jsx_runtime.JSX.Element>;
|
|
1753
|
+
FormInputAutoComplete: React.MemoExoticComponent<({ name, label, control, errors, options, disabled, placeholder, defaultValue, onChange, ...props }: IFormInputFieldsWithOptions) => react_jsx_runtime.JSX.Element>;
|
|
1754
|
+
FormInputMultiAutoComplete: React.MemoExoticComponent<({ name, label, control, errors, options, disabled, placeholder, defaultValue, onChange, ...props }: IFormInputFieldsWithOptions) => react_jsx_runtime.JSX.Element>;
|
|
1755
|
+
FormInputColorPicker: React.MemoExoticComponent<({ name, label, control, errors, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1756
|
+
FormInputFileUpload: React.MemoExoticComponent<({ name, label, control, errors, size, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1757
|
+
FormInputDatePicker: React.MemoExoticComponent<({ name, label, control, errors, size, readOnly, shouldDisableDate, disabled, placeholder, defaultValue, onChange, ...props }: IFormInputDateFields) => react_jsx_runtime.JSX.Element>;
|
|
1758
|
+
FormInputTimePicker: React.MemoExoticComponent<({ name, label, control, errors, ampm, timezone, defaultValue, onChange, ...props }: IFormInputDateFields) => react_jsx_runtime.JSX.Element>;
|
|
1759
|
+
FormInputTimeClock: React.MemoExoticComponent<({ name, label, control, errors, readOnly, disabled, ampm, views, ampmInClock, disablePast, defaultValue, onChange, ...props }: IFormInputDateFields) => react_jsx_runtime.JSX.Element>;
|
|
1760
|
+
FormInputCalendar: React.MemoExoticComponent<({ name, label, control, errors, readOnly, disabled, defaultValue, onChange, ...props }: IFormInputDateFields) => react_jsx_runtime.JSX.Element>;
|
|
1761
|
+
FormInputCheckBox: React.MemoExoticComponent<({ name, label, control, errors, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1762
|
+
FormInputCheckBoxGroup: React.MemoExoticComponent<({ name, label, control, errors, options, defaultValue, onChange, row, color, labelPlacement, ...props }: IFormInputCheckBoxGroupFields) => react_jsx_runtime.JSX.Element>;
|
|
1763
|
+
FormInputSwitch: React.MemoExoticComponent<({ name, label, control, errors, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1764
|
+
FormInputSlider: React.MemoExoticComponent<({ name, label, control, errors, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1765
|
+
FormInputSingleRadio: React.MemoExoticComponent<({ name, label, control, errors, checked, defaultValue, onChange, color, labelPlacement, ...props }: IFormInputRadioFields) => react_jsx_runtime.JSX.Element>;
|
|
1766
|
+
FormInputRadioButtonGroup: React.MemoExoticComponent<({ name, label, control, errors, options, defaultValue, onChange, ...props }: IFormInputFieldsWithOptions) => react_jsx_runtime.JSX.Element>;
|
|
1767
|
+
TextInputField: React.NamedExoticComponent<Omit<ITextInputFieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1768
|
+
PasswordField: React.NamedExoticComponent<Omit<IPasswordFieldProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1769
|
+
NumberField: React.NamedExoticComponent<Omit<INumberInputFieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1770
|
+
TelInputField: React.NamedExoticComponent<Omit<ITelInputFieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1771
|
+
SearchInputField: React.NamedExoticComponent<Omit<ISearchInputFieldProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1772
|
+
OTPField: React.ForwardRefExoticComponent<Omit<IOTPInputFieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1773
|
+
SelectInputField: React.ForwardRefExoticComponent<Omit<ISelectInputFieldProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1774
|
+
AutoCompleteField: React.NamedExoticComponent<Omit<IAutoCompleteInputProps<AutoCompleteOption, boolean, boolean, boolean>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1775
|
+
ColorPickerField: React.NamedExoticComponent<Omit<IColorPickerFieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1776
|
+
FileUploadField: React.ForwardRefExoticComponent<Omit<IFileUploadFieldProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1777
|
+
DatePickerField: React.ForwardRefExoticComponent<IDatePickerFieldProps & React.RefAttributes<HTMLDivElement>>;
|
|
1778
|
+
TimePickerField: React.ForwardRefExoticComponent<ITimePickerFieldProps & React.RefAttributes<HTMLDivElement>>;
|
|
1779
|
+
TimeClockField: React.ForwardRefExoticComponent<ITimeClockFieldProps & React.RefAttributes<HTMLDivElement>>;
|
|
1780
|
+
DateCalendarField: React.ForwardRefExoticComponent<IDateCalendarFieldProps & React.RefAttributes<HTMLDivElement>>;
|
|
1781
|
+
CheckBoxField: React.ForwardRefExoticComponent<Omit<ICheckboxFieldProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1782
|
+
CheckBoxFieldGroup: React.ForwardRefExoticComponent<Omit<ICheckboxFieldGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1783
|
+
RadioButtonField: React.ForwardRefExoticComponent<Omit<IRadioButtonFieldProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1784
|
+
RadioButtonFieldGroup: React.ForwardRefExoticComponent<Omit<IRadioButtonGroupFieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1785
|
+
SwitchField: React.ForwardRefExoticComponent<Omit<ISwitchFieldProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1786
|
+
SliderField: React.ForwardRefExoticComponent<Omit<ISliderFieldProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
1331
1787
|
};
|
|
1332
1788
|
|
|
1333
|
-
export { AutoCompleteField, CheckBoxField, CheckBoxFieldGroup, ColorPickerField, DateCalendarField, DatePickerField, FileUploadField, FormInputAutoComplete, FormInputCalendar, FormInputCheckBox, FormInputCheckBoxGroup, FormInputColorPicker, FormInputDatePicker, FormInputFileUpload, FormInputMultiAutoComplete, FormInputMultiSelect, FormInputNumberField, FormInputOTPField, FormInputPasswordField, FormInputRadioButtonGroup, FormInputSearchField, FormInputSelect, FormInputSingleRadio, FormInputSlider, FormInputSwitch, FormInputTelField, FormInputTextArea, FormInputTextField, FormInputTimeClock, FormInputTimePicker, type IFormInputCheckBoxGroupFields, type IFormInputDateFields, type IFormInputFields, type IFormInputFieldsWithOptions, type IFormInputNumberFields, type IFormInputRadioFields, type IFormInputTextAreaFields, NumberField, OTPField, type Option, PasswordField, RadioButtonField, RadioButtonFieldGroup, SearchInputField, SelectInputField, SliderField, SwitchField, TelInputField, TextInputField, TimeClockField, TimePickerField,
|
|
1789
|
+
export { AutoCompleteField, CheckboxField as CheckBoxField, CheckboxFieldGroup as CheckBoxFieldGroup, ColorPickerField, DateCalendarField, DatePickerField, FileUploadField, FormInputAutoComplete, FormInputCalendar, FormInputCheckBox, FormInputCheckBoxGroup, FormInputColorPicker, FormInputDatePicker, FormInputFileUpload, FormInputMultiAutoComplete, FormInputMultiSelect, FormInputNumberField, FormInputOTPField, FormInputPasswordField, FormInputRadioButtonGroup, FormInputSearchField, FormInputSelect, FormInputRadioButton as FormInputSingleRadio, FormInputSlider, FormInputSwitch, FormInputTelField, FormInputTextArea, FormInputTextField, FormInputTimeClock, FormInputTimePicker, type IFormInputCheckBoxGroupFields, type IFormInputDateFields, type IFormInputFields, type IFormInputFieldsWithOptions, type IFormInputNumberFields, type IFormInputRadioFields, type IFormInputTextAreaFields, NumberField, OTPField, type Option, PasswordField, RadioButtonField, RadioButtonFieldGroup, SearchField as SearchInputField, SelectInputField, SliderField, SwitchField, TeliField as TelInputField, TextInputField, TimeClockField, TimePickerField, FormFields as default };
|