@oxcide-ui/schema 0.0.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.
@@ -0,0 +1,1326 @@
1
+ import type { IconName } from '@oxcide-ui/icons'
2
+ import { z } from 'zod'
3
+
4
+ export const switchPropsSchema = z.object({
5
+ /** V-model value */
6
+ modelValue: z.any().optional(),
7
+ /** Value for 'on' state */
8
+ onValue: z.any().default(true),
9
+ /** Value for 'off' state */
10
+ offValue: z.any().default(false),
11
+ /** Disabled state */
12
+ disabled: z.boolean().default(false),
13
+ /** Invalid / Error state */
14
+ invalid: z.boolean().default(false),
15
+ /** Readonly state */
16
+ readonly: z.boolean().default(false),
17
+ /** Label (next to the switch) */
18
+ label: z.string().optional(),
19
+ /** Position of the label */
20
+ labelPosition: z.enum(['left', 'right']).default('right'),
21
+ /** Icon to display when switch is on */
22
+ trueIcon: z.string().optional() as z.ZodType<IconName | undefined>,
23
+ /** Icon to display when switch is off */
24
+ falseIcon: z.string().optional() as z.ZodType<IconName | undefined>,
25
+ /** Size of the switch */
26
+ size: z.enum(['sm', 'md', 'lg']).default('md'),
27
+ /** Native id attribute */
28
+ id: z.string().optional()
29
+ })
30
+
31
+ /* @oxcide-sync:source
32
+ export type SwitchProps = z.input<typeof switchPropsSchema>
33
+ export type SwitchResolvedProps = z.infer<typeof switchPropsSchema>
34
+ @oxcide-sync:end */
35
+ export interface SwitchProps {
36
+ modelValue?: any
37
+ onValue?: any
38
+ offValue?: any
39
+ disabled?: boolean | undefined
40
+ invalid?: boolean | undefined
41
+ readonly?: boolean | undefined
42
+ label?: string | undefined
43
+ labelPosition?: 'left' | 'right' | undefined
44
+ size?: 'sm' | 'md' | 'lg' | undefined
45
+ id?: string | undefined
46
+ trueIcon?:
47
+ | 'folderPlus'
48
+ | 'receipt'
49
+ | 'asterisk'
50
+ | 'star'
51
+ | 'faceSmile'
52
+ | 'pinterest'
53
+ | 'image'
54
+ | 'expand'
55
+ | 'penToSquare'
56
+ | 'wavePulse'
57
+ | 'turkishLira'
58
+ | 'spinnerDotted'
59
+ | 'crown'
60
+ | 'pauseCircle'
61
+ | 'stop'
62
+ | 'warehouse'
63
+ | 'objectsColumn'
64
+ | 'clipboard'
65
+ | 'copy'
66
+ | 'playCircle'
67
+ | 'play'
68
+ | 'venus'
69
+ | 'cartMinus'
70
+ | 'filePlus'
71
+ | 'microchip'
72
+ | 'twitch'
73
+ | 'video'
74
+ | 'buildingColumns'
75
+ | 'fileCheck'
76
+ | 'verified'
77
+ | 'microchipAi'
78
+ | 'trophy'
79
+ | 'barcode'
80
+ | 'code'
81
+ | 'fileArrowUp'
82
+ | 'upload'
83
+ | 'send'
84
+ | 'mars'
85
+ | 'tiktok'
86
+ | 'arrowUpRightAndArrowDownLeftFromCenter'
87
+ | 'ethereum'
88
+ | 'listCheck'
89
+ | 'thumbtack'
90
+ | 'arrowDownLeftAndArrowUpRightToCenter'
91
+ | 'equals'
92
+ | 'lightbulb'
93
+ | 'starHalf'
94
+ | 'addressBook'
95
+ | 'chartScatter'
96
+ | 'indianRupee'
97
+ | 'starHalfFill'
98
+ | 'cartArrowDown'
99
+ | 'calendarClock'
100
+ | 'sortUpFill'
101
+ | 'sparkles'
102
+ | 'bullseye'
103
+ | 'sortDownFill'
104
+ | 'graduationCap'
105
+ | 'hammer'
106
+ | 'bellSlash'
107
+ | 'gauge'
108
+ | 'shop'
109
+ | 'headphones'
110
+ | 'eraser'
111
+ | 'stopwatch'
112
+ | 'deleteLeft'
113
+ | 'hourglass'
114
+ | 'truck'
115
+ | 'wrench'
116
+ | 'microphone'
117
+ | 'megaphone'
118
+ | 'arrowRightArrowLeft'
119
+ | 'bitcoin'
120
+ | 'fileEdit'
121
+ | 'language'
122
+ | 'fileExport'
123
+ | 'save'
124
+ | 'fileImport'
125
+ | 'fileWord'
126
+ | 'microsoft'
127
+ | 'gift'
128
+ | 'box'
129
+ | 'cartPlus'
130
+ | 'thumbsDownFill'
131
+ | 'thumbsUpFill'
132
+ | 'arrowsAlt'
133
+ | 'calculator'
134
+ | 'sortAltSlash'
135
+ | 'arrowsH'
136
+ | 'arrowsV'
137
+ | 'pound'
138
+ | 'prime'
139
+ | 'chartPie'
140
+ | 'reddit'
141
+ | 'sync'
142
+ | 'refresh'
143
+ | 'shoppingBag'
144
+ | 'server'
145
+ | 'cloud'
146
+ | 'database'
147
+ | 'hashtag'
148
+ | 'tag'
149
+ | 'bookmarkFill'
150
+ | 'filterFill'
151
+ | 'heartFill'
152
+ | 'flagFill'
153
+ | 'circle'
154
+ | 'circleFill'
155
+ | 'bolt'
156
+ | 'history'
157
+ | 'at'
158
+ | 'arrowUpRight'
159
+ | 'arrowUpLeft'
160
+ | 'arrowDownLeft'
161
+ | 'arrowDownRight'
162
+ | 'telegram'
163
+ | 'stopCircle'
164
+ | 'whatsapp'
165
+ | 'building'
166
+ | 'qrcode'
167
+ | 'car'
168
+ | 'instagram'
169
+ | 'linkedin'
170
+ | 'slack'
171
+ | 'moon'
172
+ | 'sun'
173
+ | 'youtube'
174
+ | 'vimeo'
175
+ | 'flag'
176
+ | 'wallet'
177
+ | 'map'
178
+ | 'link'
179
+ | 'creditCard'
180
+ | 'discord'
181
+ | 'percentage'
182
+ | 'euro'
183
+ | 'book'
184
+ | 'shield'
185
+ | 'paypal'
186
+ | 'amazon'
187
+ | 'phone'
188
+ | 'filterSlash'
189
+ | 'facebook'
190
+ | 'github'
191
+ | 'twitter'
192
+ | 'stepBackwardAlt'
193
+ | 'stepForwardAlt'
194
+ | 'forward'
195
+ | 'backward'
196
+ | 'fastBackward'
197
+ | 'fastForward'
198
+ | 'pause'
199
+ | 'compass'
200
+ | 'idCard'
201
+ | 'ticket'
202
+ | 'fileO'
203
+ | 'reply'
204
+ | 'directionsAlt'
205
+ | 'directions'
206
+ | 'thumbsUp'
207
+ | 'thumbsDown'
208
+ | 'sortNumericDownAlt'
209
+ | 'sortNumericUpAlt'
210
+ | 'sortAlphaDownAlt'
211
+ | 'sortAlphaUpAlt'
212
+ | 'sortNumericDown'
213
+ | 'sortNumericUp'
214
+ | 'sortAlphaDown'
215
+ | 'sortAlphaUp'
216
+ | 'sortAlt'
217
+ | 'sortAmountUp'
218
+ | 'sortAmountDown'
219
+ | 'sortAmountDownAlt'
220
+ | 'sortAmountUpAlt'
221
+ | 'palette'
222
+ | 'undo'
223
+ | 'desktop'
224
+ | 'slidersV'
225
+ | 'slidersH'
226
+ | 'searchPlus'
227
+ | 'searchMinus'
228
+ | 'fileExcel'
229
+ | 'filePdf'
230
+ | 'checkSquare'
231
+ | 'chartLine'
232
+ | 'userEdit'
233
+ | 'exclamationCircle'
234
+ | 'android'
235
+ | 'mobile'
236
+ | 'google'
237
+ | 'search'
238
+ | 'apple'
239
+ | 'heart'
240
+ | 'tablet'
241
+ | 'key'
242
+ | 'unlock'
243
+ | 'shoppingCart'
244
+ | 'comments'
245
+ | 'comment'
246
+ | 'briefcase'
247
+ | 'bell'
248
+ | 'paperclip'
249
+ | 'shareAlt'
250
+ | 'envelope'
251
+ | 'volumeDown'
252
+ | 'volumeUp'
253
+ | 'volumeOff'
254
+ | 'eject'
255
+ | 'moneyBill'
256
+ | 'images'
257
+ | 'signIn'
258
+ | 'signOut'
259
+ | 'wifi'
260
+ | 'sitemap'
261
+ | 'chartBar'
262
+ | 'camera'
263
+ | 'dollar'
264
+ | 'lockOpen'
265
+ | 'table'
266
+ | 'mapMarker'
267
+ | 'list'
268
+ | 'eyeSlash'
269
+ | 'eye'
270
+ | 'folderOpen'
271
+ | 'folder'
272
+ | 'inbox'
273
+ | 'lock'
274
+ | 'tags'
275
+ | 'powerOff'
276
+ | 'questionCircle'
277
+ | 'info'
278
+ | 'question'
279
+ | 'clone'
280
+ | 'file'
281
+ | 'calendarTimes'
282
+ | 'calendarMinus'
283
+ | 'calendarPlus'
284
+ | 'ellipsisV'
285
+ | 'ellipsisH'
286
+ | 'bookmark'
287
+ | 'globe'
288
+ | 'replay'
289
+ | 'filter'
290
+ | 'sort'
291
+ | 'print'
292
+ | 'alignRight'
293
+ | 'alignLeft'
294
+ | 'alignCenter'
295
+ | 'alignJustify'
296
+ | 'cog'
297
+ | 'cloudDownload'
298
+ | 'download'
299
+ | 'cloudUpload'
300
+ | 'pencil'
301
+ | 'users'
302
+ | 'clock'
303
+ | 'userMinus'
304
+ | 'userPlus'
305
+ | 'trash'
306
+ | 'windowMinimize'
307
+ | 'windowMaximize'
308
+ | 'externalLink'
309
+ | 'user'
310
+ | 'exclamationTriangle'
311
+ | 'calendar'
312
+ | 'chevronCircleLeft'
313
+ | 'chevronCircleDown'
314
+ | 'chevronCircleRight'
315
+ | 'chevronCircleUp'
316
+ | 'angleDoubleDown'
317
+ | 'angleDoubleLeft'
318
+ | 'angleDoubleRight'
319
+ | 'angleDoubleUp'
320
+ | 'angleDown'
321
+ | 'angleLeft'
322
+ | 'angleRight'
323
+ | 'angleUp'
324
+ | 'ban'
325
+ | 'starFill'
326
+ | 'chevronLeft'
327
+ | 'chevronRight'
328
+ | 'chevronDown'
329
+ | 'chevronUp'
330
+ | 'caretLeft'
331
+ | 'caretRight'
332
+ | 'caretDown'
333
+ | 'caretUp'
334
+ | 'check'
335
+ | 'checkCircle'
336
+ | 'times'
337
+ | 'timesCircle'
338
+ | 'plus'
339
+ | 'plusCircle'
340
+ | 'minus'
341
+ | 'minusCircle'
342
+ | 'circleOn'
343
+ | 'circleOff'
344
+ | 'sortDown'
345
+ | 'sortUp'
346
+ | 'stepBackward'
347
+ | 'stepForward'
348
+ | 'thLarge'
349
+ | 'arrowDown'
350
+ | 'arrowLeft'
351
+ | 'arrowRight'
352
+ | 'arrowUp'
353
+ | 'bars'
354
+ | 'arrowCircleDown'
355
+ | 'arrowCircleLeft'
356
+ | 'arrowCircleRight'
357
+ | 'arrowCircleUp'
358
+ | 'infoCircle'
359
+ | 'home'
360
+ | 'spinner'
361
+ | undefined
362
+ falseIcon?:
363
+ | 'folderPlus'
364
+ | 'receipt'
365
+ | 'asterisk'
366
+ | 'star'
367
+ | 'faceSmile'
368
+ | 'pinterest'
369
+ | 'image'
370
+ | 'expand'
371
+ | 'penToSquare'
372
+ | 'wavePulse'
373
+ | 'turkishLira'
374
+ | 'spinnerDotted'
375
+ | 'crown'
376
+ | 'pauseCircle'
377
+ | 'stop'
378
+ | 'warehouse'
379
+ | 'objectsColumn'
380
+ | 'clipboard'
381
+ | 'copy'
382
+ | 'playCircle'
383
+ | 'play'
384
+ | 'venus'
385
+ | 'cartMinus'
386
+ | 'filePlus'
387
+ | 'microchip'
388
+ | 'twitch'
389
+ | 'video'
390
+ | 'buildingColumns'
391
+ | 'fileCheck'
392
+ | 'verified'
393
+ | 'microchipAi'
394
+ | 'trophy'
395
+ | 'barcode'
396
+ | 'code'
397
+ | 'fileArrowUp'
398
+ | 'upload'
399
+ | 'send'
400
+ | 'mars'
401
+ | 'tiktok'
402
+ | 'arrowUpRightAndArrowDownLeftFromCenter'
403
+ | 'ethereum'
404
+ | 'listCheck'
405
+ | 'thumbtack'
406
+ | 'arrowDownLeftAndArrowUpRightToCenter'
407
+ | 'equals'
408
+ | 'lightbulb'
409
+ | 'starHalf'
410
+ | 'addressBook'
411
+ | 'chartScatter'
412
+ | 'indianRupee'
413
+ | 'starHalfFill'
414
+ | 'cartArrowDown'
415
+ | 'calendarClock'
416
+ | 'sortUpFill'
417
+ | 'sparkles'
418
+ | 'bullseye'
419
+ | 'sortDownFill'
420
+ | 'graduationCap'
421
+ | 'hammer'
422
+ | 'bellSlash'
423
+ | 'gauge'
424
+ | 'shop'
425
+ | 'headphones'
426
+ | 'eraser'
427
+ | 'stopwatch'
428
+ | 'deleteLeft'
429
+ | 'hourglass'
430
+ | 'truck'
431
+ | 'wrench'
432
+ | 'microphone'
433
+ | 'megaphone'
434
+ | 'arrowRightArrowLeft'
435
+ | 'bitcoin'
436
+ | 'fileEdit'
437
+ | 'language'
438
+ | 'fileExport'
439
+ | 'save'
440
+ | 'fileImport'
441
+ | 'fileWord'
442
+ | 'microsoft'
443
+ | 'gift'
444
+ | 'box'
445
+ | 'cartPlus'
446
+ | 'thumbsDownFill'
447
+ | 'thumbsUpFill'
448
+ | 'arrowsAlt'
449
+ | 'calculator'
450
+ | 'sortAltSlash'
451
+ | 'arrowsH'
452
+ | 'arrowsV'
453
+ | 'pound'
454
+ | 'prime'
455
+ | 'chartPie'
456
+ | 'reddit'
457
+ | 'sync'
458
+ | 'refresh'
459
+ | 'shoppingBag'
460
+ | 'server'
461
+ | 'cloud'
462
+ | 'database'
463
+ | 'hashtag'
464
+ | 'tag'
465
+ | 'bookmarkFill'
466
+ | 'filterFill'
467
+ | 'heartFill'
468
+ | 'flagFill'
469
+ | 'circle'
470
+ | 'circleFill'
471
+ | 'bolt'
472
+ | 'history'
473
+ | 'at'
474
+ | 'arrowUpRight'
475
+ | 'arrowUpLeft'
476
+ | 'arrowDownLeft'
477
+ | 'arrowDownRight'
478
+ | 'telegram'
479
+ | 'stopCircle'
480
+ | 'whatsapp'
481
+ | 'building'
482
+ | 'qrcode'
483
+ | 'car'
484
+ | 'instagram'
485
+ | 'linkedin'
486
+ | 'slack'
487
+ | 'moon'
488
+ | 'sun'
489
+ | 'youtube'
490
+ | 'vimeo'
491
+ | 'flag'
492
+ | 'wallet'
493
+ | 'map'
494
+ | 'link'
495
+ | 'creditCard'
496
+ | 'discord'
497
+ | 'percentage'
498
+ | 'euro'
499
+ | 'book'
500
+ | 'shield'
501
+ | 'paypal'
502
+ | 'amazon'
503
+ | 'phone'
504
+ | 'filterSlash'
505
+ | 'facebook'
506
+ | 'github'
507
+ | 'twitter'
508
+ | 'stepBackwardAlt'
509
+ | 'stepForwardAlt'
510
+ | 'forward'
511
+ | 'backward'
512
+ | 'fastBackward'
513
+ | 'fastForward'
514
+ | 'pause'
515
+ | 'compass'
516
+ | 'idCard'
517
+ | 'ticket'
518
+ | 'fileO'
519
+ | 'reply'
520
+ | 'directionsAlt'
521
+ | 'directions'
522
+ | 'thumbsUp'
523
+ | 'thumbsDown'
524
+ | 'sortNumericDownAlt'
525
+ | 'sortNumericUpAlt'
526
+ | 'sortAlphaDownAlt'
527
+ | 'sortAlphaUpAlt'
528
+ | 'sortNumericDown'
529
+ | 'sortNumericUp'
530
+ | 'sortAlphaDown'
531
+ | 'sortAlphaUp'
532
+ | 'sortAlt'
533
+ | 'sortAmountUp'
534
+ | 'sortAmountDown'
535
+ | 'sortAmountDownAlt'
536
+ | 'sortAmountUpAlt'
537
+ | 'palette'
538
+ | 'undo'
539
+ | 'desktop'
540
+ | 'slidersV'
541
+ | 'slidersH'
542
+ | 'searchPlus'
543
+ | 'searchMinus'
544
+ | 'fileExcel'
545
+ | 'filePdf'
546
+ | 'checkSquare'
547
+ | 'chartLine'
548
+ | 'userEdit'
549
+ | 'exclamationCircle'
550
+ | 'android'
551
+ | 'mobile'
552
+ | 'google'
553
+ | 'search'
554
+ | 'apple'
555
+ | 'heart'
556
+ | 'tablet'
557
+ | 'key'
558
+ | 'unlock'
559
+ | 'shoppingCart'
560
+ | 'comments'
561
+ | 'comment'
562
+ | 'briefcase'
563
+ | 'bell'
564
+ | 'paperclip'
565
+ | 'shareAlt'
566
+ | 'envelope'
567
+ | 'volumeDown'
568
+ | 'volumeUp'
569
+ | 'volumeOff'
570
+ | 'eject'
571
+ | 'moneyBill'
572
+ | 'images'
573
+ | 'signIn'
574
+ | 'signOut'
575
+ | 'wifi'
576
+ | 'sitemap'
577
+ | 'chartBar'
578
+ | 'camera'
579
+ | 'dollar'
580
+ | 'lockOpen'
581
+ | 'table'
582
+ | 'mapMarker'
583
+ | 'list'
584
+ | 'eyeSlash'
585
+ | 'eye'
586
+ | 'folderOpen'
587
+ | 'folder'
588
+ | 'inbox'
589
+ | 'lock'
590
+ | 'tags'
591
+ | 'powerOff'
592
+ | 'questionCircle'
593
+ | 'info'
594
+ | 'question'
595
+ | 'clone'
596
+ | 'file'
597
+ | 'calendarTimes'
598
+ | 'calendarMinus'
599
+ | 'calendarPlus'
600
+ | 'ellipsisV'
601
+ | 'ellipsisH'
602
+ | 'bookmark'
603
+ | 'globe'
604
+ | 'replay'
605
+ | 'filter'
606
+ | 'sort'
607
+ | 'print'
608
+ | 'alignRight'
609
+ | 'alignLeft'
610
+ | 'alignCenter'
611
+ | 'alignJustify'
612
+ | 'cog'
613
+ | 'cloudDownload'
614
+ | 'download'
615
+ | 'cloudUpload'
616
+ | 'pencil'
617
+ | 'users'
618
+ | 'clock'
619
+ | 'userMinus'
620
+ | 'userPlus'
621
+ | 'trash'
622
+ | 'windowMinimize'
623
+ | 'windowMaximize'
624
+ | 'externalLink'
625
+ | 'user'
626
+ | 'exclamationTriangle'
627
+ | 'calendar'
628
+ | 'chevronCircleLeft'
629
+ | 'chevronCircleDown'
630
+ | 'chevronCircleRight'
631
+ | 'chevronCircleUp'
632
+ | 'angleDoubleDown'
633
+ | 'angleDoubleLeft'
634
+ | 'angleDoubleRight'
635
+ | 'angleDoubleUp'
636
+ | 'angleDown'
637
+ | 'angleLeft'
638
+ | 'angleRight'
639
+ | 'angleUp'
640
+ | 'ban'
641
+ | 'starFill'
642
+ | 'chevronLeft'
643
+ | 'chevronRight'
644
+ | 'chevronDown'
645
+ | 'chevronUp'
646
+ | 'caretLeft'
647
+ | 'caretRight'
648
+ | 'caretDown'
649
+ | 'caretUp'
650
+ | 'check'
651
+ | 'checkCircle'
652
+ | 'times'
653
+ | 'timesCircle'
654
+ | 'plus'
655
+ | 'plusCircle'
656
+ | 'minus'
657
+ | 'minusCircle'
658
+ | 'circleOn'
659
+ | 'circleOff'
660
+ | 'sortDown'
661
+ | 'sortUp'
662
+ | 'stepBackward'
663
+ | 'stepForward'
664
+ | 'thLarge'
665
+ | 'arrowDown'
666
+ | 'arrowLeft'
667
+ | 'arrowRight'
668
+ | 'arrowUp'
669
+ | 'bars'
670
+ | 'arrowCircleDown'
671
+ | 'arrowCircleLeft'
672
+ | 'arrowCircleRight'
673
+ | 'arrowCircleUp'
674
+ | 'infoCircle'
675
+ | 'home'
676
+ | 'spinner'
677
+ | undefined
678
+ }
679
+ export type SwitchResolvedProps = {
680
+ disabled: boolean
681
+ invalid: boolean
682
+ readonly: boolean
683
+ labelPosition: 'left' | 'right'
684
+ size: 'sm' | 'md' | 'lg'
685
+ modelValue?: any
686
+ onValue?: any
687
+ offValue?: any
688
+ label?: string | undefined
689
+ id?: string | undefined
690
+ trueIcon?:
691
+ | 'folderPlus'
692
+ | 'receipt'
693
+ | 'asterisk'
694
+ | 'star'
695
+ | 'faceSmile'
696
+ | 'pinterest'
697
+ | 'image'
698
+ | 'expand'
699
+ | 'penToSquare'
700
+ | 'wavePulse'
701
+ | 'turkishLira'
702
+ | 'spinnerDotted'
703
+ | 'crown'
704
+ | 'pauseCircle'
705
+ | 'stop'
706
+ | 'warehouse'
707
+ | 'objectsColumn'
708
+ | 'clipboard'
709
+ | 'copy'
710
+ | 'playCircle'
711
+ | 'play'
712
+ | 'venus'
713
+ | 'cartMinus'
714
+ | 'filePlus'
715
+ | 'microchip'
716
+ | 'twitch'
717
+ | 'video'
718
+ | 'buildingColumns'
719
+ | 'fileCheck'
720
+ | 'verified'
721
+ | 'microchipAi'
722
+ | 'trophy'
723
+ | 'barcode'
724
+ | 'code'
725
+ | 'fileArrowUp'
726
+ | 'upload'
727
+ | 'send'
728
+ | 'mars'
729
+ | 'tiktok'
730
+ | 'arrowUpRightAndArrowDownLeftFromCenter'
731
+ | 'ethereum'
732
+ | 'listCheck'
733
+ | 'thumbtack'
734
+ | 'arrowDownLeftAndArrowUpRightToCenter'
735
+ | 'equals'
736
+ | 'lightbulb'
737
+ | 'starHalf'
738
+ | 'addressBook'
739
+ | 'chartScatter'
740
+ | 'indianRupee'
741
+ | 'starHalfFill'
742
+ | 'cartArrowDown'
743
+ | 'calendarClock'
744
+ | 'sortUpFill'
745
+ | 'sparkles'
746
+ | 'bullseye'
747
+ | 'sortDownFill'
748
+ | 'graduationCap'
749
+ | 'hammer'
750
+ | 'bellSlash'
751
+ | 'gauge'
752
+ | 'shop'
753
+ | 'headphones'
754
+ | 'eraser'
755
+ | 'stopwatch'
756
+ | 'deleteLeft'
757
+ | 'hourglass'
758
+ | 'truck'
759
+ | 'wrench'
760
+ | 'microphone'
761
+ | 'megaphone'
762
+ | 'arrowRightArrowLeft'
763
+ | 'bitcoin'
764
+ | 'fileEdit'
765
+ | 'language'
766
+ | 'fileExport'
767
+ | 'save'
768
+ | 'fileImport'
769
+ | 'fileWord'
770
+ | 'microsoft'
771
+ | 'gift'
772
+ | 'box'
773
+ | 'cartPlus'
774
+ | 'thumbsDownFill'
775
+ | 'thumbsUpFill'
776
+ | 'arrowsAlt'
777
+ | 'calculator'
778
+ | 'sortAltSlash'
779
+ | 'arrowsH'
780
+ | 'arrowsV'
781
+ | 'pound'
782
+ | 'prime'
783
+ | 'chartPie'
784
+ | 'reddit'
785
+ | 'sync'
786
+ | 'refresh'
787
+ | 'shoppingBag'
788
+ | 'server'
789
+ | 'cloud'
790
+ | 'database'
791
+ | 'hashtag'
792
+ | 'tag'
793
+ | 'bookmarkFill'
794
+ | 'filterFill'
795
+ | 'heartFill'
796
+ | 'flagFill'
797
+ | 'circle'
798
+ | 'circleFill'
799
+ | 'bolt'
800
+ | 'history'
801
+ | 'at'
802
+ | 'arrowUpRight'
803
+ | 'arrowUpLeft'
804
+ | 'arrowDownLeft'
805
+ | 'arrowDownRight'
806
+ | 'telegram'
807
+ | 'stopCircle'
808
+ | 'whatsapp'
809
+ | 'building'
810
+ | 'qrcode'
811
+ | 'car'
812
+ | 'instagram'
813
+ | 'linkedin'
814
+ | 'slack'
815
+ | 'moon'
816
+ | 'sun'
817
+ | 'youtube'
818
+ | 'vimeo'
819
+ | 'flag'
820
+ | 'wallet'
821
+ | 'map'
822
+ | 'link'
823
+ | 'creditCard'
824
+ | 'discord'
825
+ | 'percentage'
826
+ | 'euro'
827
+ | 'book'
828
+ | 'shield'
829
+ | 'paypal'
830
+ | 'amazon'
831
+ | 'phone'
832
+ | 'filterSlash'
833
+ | 'facebook'
834
+ | 'github'
835
+ | 'twitter'
836
+ | 'stepBackwardAlt'
837
+ | 'stepForwardAlt'
838
+ | 'forward'
839
+ | 'backward'
840
+ | 'fastBackward'
841
+ | 'fastForward'
842
+ | 'pause'
843
+ | 'compass'
844
+ | 'idCard'
845
+ | 'ticket'
846
+ | 'fileO'
847
+ | 'reply'
848
+ | 'directionsAlt'
849
+ | 'directions'
850
+ | 'thumbsUp'
851
+ | 'thumbsDown'
852
+ | 'sortNumericDownAlt'
853
+ | 'sortNumericUpAlt'
854
+ | 'sortAlphaDownAlt'
855
+ | 'sortAlphaUpAlt'
856
+ | 'sortNumericDown'
857
+ | 'sortNumericUp'
858
+ | 'sortAlphaDown'
859
+ | 'sortAlphaUp'
860
+ | 'sortAlt'
861
+ | 'sortAmountUp'
862
+ | 'sortAmountDown'
863
+ | 'sortAmountDownAlt'
864
+ | 'sortAmountUpAlt'
865
+ | 'palette'
866
+ | 'undo'
867
+ | 'desktop'
868
+ | 'slidersV'
869
+ | 'slidersH'
870
+ | 'searchPlus'
871
+ | 'searchMinus'
872
+ | 'fileExcel'
873
+ | 'filePdf'
874
+ | 'checkSquare'
875
+ | 'chartLine'
876
+ | 'userEdit'
877
+ | 'exclamationCircle'
878
+ | 'android'
879
+ | 'mobile'
880
+ | 'google'
881
+ | 'search'
882
+ | 'apple'
883
+ | 'heart'
884
+ | 'tablet'
885
+ | 'key'
886
+ | 'unlock'
887
+ | 'shoppingCart'
888
+ | 'comments'
889
+ | 'comment'
890
+ | 'briefcase'
891
+ | 'bell'
892
+ | 'paperclip'
893
+ | 'shareAlt'
894
+ | 'envelope'
895
+ | 'volumeDown'
896
+ | 'volumeUp'
897
+ | 'volumeOff'
898
+ | 'eject'
899
+ | 'moneyBill'
900
+ | 'images'
901
+ | 'signIn'
902
+ | 'signOut'
903
+ | 'wifi'
904
+ | 'sitemap'
905
+ | 'chartBar'
906
+ | 'camera'
907
+ | 'dollar'
908
+ | 'lockOpen'
909
+ | 'table'
910
+ | 'mapMarker'
911
+ | 'list'
912
+ | 'eyeSlash'
913
+ | 'eye'
914
+ | 'folderOpen'
915
+ | 'folder'
916
+ | 'inbox'
917
+ | 'lock'
918
+ | 'tags'
919
+ | 'powerOff'
920
+ | 'questionCircle'
921
+ | 'info'
922
+ | 'question'
923
+ | 'clone'
924
+ | 'file'
925
+ | 'calendarTimes'
926
+ | 'calendarMinus'
927
+ | 'calendarPlus'
928
+ | 'ellipsisV'
929
+ | 'ellipsisH'
930
+ | 'bookmark'
931
+ | 'globe'
932
+ | 'replay'
933
+ | 'filter'
934
+ | 'sort'
935
+ | 'print'
936
+ | 'alignRight'
937
+ | 'alignLeft'
938
+ | 'alignCenter'
939
+ | 'alignJustify'
940
+ | 'cog'
941
+ | 'cloudDownload'
942
+ | 'download'
943
+ | 'cloudUpload'
944
+ | 'pencil'
945
+ | 'users'
946
+ | 'clock'
947
+ | 'userMinus'
948
+ | 'userPlus'
949
+ | 'trash'
950
+ | 'windowMinimize'
951
+ | 'windowMaximize'
952
+ | 'externalLink'
953
+ | 'user'
954
+ | 'exclamationTriangle'
955
+ | 'calendar'
956
+ | 'chevronCircleLeft'
957
+ | 'chevronCircleDown'
958
+ | 'chevronCircleRight'
959
+ | 'chevronCircleUp'
960
+ | 'angleDoubleDown'
961
+ | 'angleDoubleLeft'
962
+ | 'angleDoubleRight'
963
+ | 'angleDoubleUp'
964
+ | 'angleDown'
965
+ | 'angleLeft'
966
+ | 'angleRight'
967
+ | 'angleUp'
968
+ | 'ban'
969
+ | 'starFill'
970
+ | 'chevronLeft'
971
+ | 'chevronRight'
972
+ | 'chevronDown'
973
+ | 'chevronUp'
974
+ | 'caretLeft'
975
+ | 'caretRight'
976
+ | 'caretDown'
977
+ | 'caretUp'
978
+ | 'check'
979
+ | 'checkCircle'
980
+ | 'times'
981
+ | 'timesCircle'
982
+ | 'plus'
983
+ | 'plusCircle'
984
+ | 'minus'
985
+ | 'minusCircle'
986
+ | 'circleOn'
987
+ | 'circleOff'
988
+ | 'sortDown'
989
+ | 'sortUp'
990
+ | 'stepBackward'
991
+ | 'stepForward'
992
+ | 'thLarge'
993
+ | 'arrowDown'
994
+ | 'arrowLeft'
995
+ | 'arrowRight'
996
+ | 'arrowUp'
997
+ | 'bars'
998
+ | 'arrowCircleDown'
999
+ | 'arrowCircleLeft'
1000
+ | 'arrowCircleRight'
1001
+ | 'arrowCircleUp'
1002
+ | 'infoCircle'
1003
+ | 'home'
1004
+ | 'spinner'
1005
+ | undefined
1006
+ falseIcon?:
1007
+ | 'folderPlus'
1008
+ | 'receipt'
1009
+ | 'asterisk'
1010
+ | 'star'
1011
+ | 'faceSmile'
1012
+ | 'pinterest'
1013
+ | 'image'
1014
+ | 'expand'
1015
+ | 'penToSquare'
1016
+ | 'wavePulse'
1017
+ | 'turkishLira'
1018
+ | 'spinnerDotted'
1019
+ | 'crown'
1020
+ | 'pauseCircle'
1021
+ | 'stop'
1022
+ | 'warehouse'
1023
+ | 'objectsColumn'
1024
+ | 'clipboard'
1025
+ | 'copy'
1026
+ | 'playCircle'
1027
+ | 'play'
1028
+ | 'venus'
1029
+ | 'cartMinus'
1030
+ | 'filePlus'
1031
+ | 'microchip'
1032
+ | 'twitch'
1033
+ | 'video'
1034
+ | 'buildingColumns'
1035
+ | 'fileCheck'
1036
+ | 'verified'
1037
+ | 'microchipAi'
1038
+ | 'trophy'
1039
+ | 'barcode'
1040
+ | 'code'
1041
+ | 'fileArrowUp'
1042
+ | 'upload'
1043
+ | 'send'
1044
+ | 'mars'
1045
+ | 'tiktok'
1046
+ | 'arrowUpRightAndArrowDownLeftFromCenter'
1047
+ | 'ethereum'
1048
+ | 'listCheck'
1049
+ | 'thumbtack'
1050
+ | 'arrowDownLeftAndArrowUpRightToCenter'
1051
+ | 'equals'
1052
+ | 'lightbulb'
1053
+ | 'starHalf'
1054
+ | 'addressBook'
1055
+ | 'chartScatter'
1056
+ | 'indianRupee'
1057
+ | 'starHalfFill'
1058
+ | 'cartArrowDown'
1059
+ | 'calendarClock'
1060
+ | 'sortUpFill'
1061
+ | 'sparkles'
1062
+ | 'bullseye'
1063
+ | 'sortDownFill'
1064
+ | 'graduationCap'
1065
+ | 'hammer'
1066
+ | 'bellSlash'
1067
+ | 'gauge'
1068
+ | 'shop'
1069
+ | 'headphones'
1070
+ | 'eraser'
1071
+ | 'stopwatch'
1072
+ | 'deleteLeft'
1073
+ | 'hourglass'
1074
+ | 'truck'
1075
+ | 'wrench'
1076
+ | 'microphone'
1077
+ | 'megaphone'
1078
+ | 'arrowRightArrowLeft'
1079
+ | 'bitcoin'
1080
+ | 'fileEdit'
1081
+ | 'language'
1082
+ | 'fileExport'
1083
+ | 'save'
1084
+ | 'fileImport'
1085
+ | 'fileWord'
1086
+ | 'microsoft'
1087
+ | 'gift'
1088
+ | 'box'
1089
+ | 'cartPlus'
1090
+ | 'thumbsDownFill'
1091
+ | 'thumbsUpFill'
1092
+ | 'arrowsAlt'
1093
+ | 'calculator'
1094
+ | 'sortAltSlash'
1095
+ | 'arrowsH'
1096
+ | 'arrowsV'
1097
+ | 'pound'
1098
+ | 'prime'
1099
+ | 'chartPie'
1100
+ | 'reddit'
1101
+ | 'sync'
1102
+ | 'refresh'
1103
+ | 'shoppingBag'
1104
+ | 'server'
1105
+ | 'cloud'
1106
+ | 'database'
1107
+ | 'hashtag'
1108
+ | 'tag'
1109
+ | 'bookmarkFill'
1110
+ | 'filterFill'
1111
+ | 'heartFill'
1112
+ | 'flagFill'
1113
+ | 'circle'
1114
+ | 'circleFill'
1115
+ | 'bolt'
1116
+ | 'history'
1117
+ | 'at'
1118
+ | 'arrowUpRight'
1119
+ | 'arrowUpLeft'
1120
+ | 'arrowDownLeft'
1121
+ | 'arrowDownRight'
1122
+ | 'telegram'
1123
+ | 'stopCircle'
1124
+ | 'whatsapp'
1125
+ | 'building'
1126
+ | 'qrcode'
1127
+ | 'car'
1128
+ | 'instagram'
1129
+ | 'linkedin'
1130
+ | 'slack'
1131
+ | 'moon'
1132
+ | 'sun'
1133
+ | 'youtube'
1134
+ | 'vimeo'
1135
+ | 'flag'
1136
+ | 'wallet'
1137
+ | 'map'
1138
+ | 'link'
1139
+ | 'creditCard'
1140
+ | 'discord'
1141
+ | 'percentage'
1142
+ | 'euro'
1143
+ | 'book'
1144
+ | 'shield'
1145
+ | 'paypal'
1146
+ | 'amazon'
1147
+ | 'phone'
1148
+ | 'filterSlash'
1149
+ | 'facebook'
1150
+ | 'github'
1151
+ | 'twitter'
1152
+ | 'stepBackwardAlt'
1153
+ | 'stepForwardAlt'
1154
+ | 'forward'
1155
+ | 'backward'
1156
+ | 'fastBackward'
1157
+ | 'fastForward'
1158
+ | 'pause'
1159
+ | 'compass'
1160
+ | 'idCard'
1161
+ | 'ticket'
1162
+ | 'fileO'
1163
+ | 'reply'
1164
+ | 'directionsAlt'
1165
+ | 'directions'
1166
+ | 'thumbsUp'
1167
+ | 'thumbsDown'
1168
+ | 'sortNumericDownAlt'
1169
+ | 'sortNumericUpAlt'
1170
+ | 'sortAlphaDownAlt'
1171
+ | 'sortAlphaUpAlt'
1172
+ | 'sortNumericDown'
1173
+ | 'sortNumericUp'
1174
+ | 'sortAlphaDown'
1175
+ | 'sortAlphaUp'
1176
+ | 'sortAlt'
1177
+ | 'sortAmountUp'
1178
+ | 'sortAmountDown'
1179
+ | 'sortAmountDownAlt'
1180
+ | 'sortAmountUpAlt'
1181
+ | 'palette'
1182
+ | 'undo'
1183
+ | 'desktop'
1184
+ | 'slidersV'
1185
+ | 'slidersH'
1186
+ | 'searchPlus'
1187
+ | 'searchMinus'
1188
+ | 'fileExcel'
1189
+ | 'filePdf'
1190
+ | 'checkSquare'
1191
+ | 'chartLine'
1192
+ | 'userEdit'
1193
+ | 'exclamationCircle'
1194
+ | 'android'
1195
+ | 'mobile'
1196
+ | 'google'
1197
+ | 'search'
1198
+ | 'apple'
1199
+ | 'heart'
1200
+ | 'tablet'
1201
+ | 'key'
1202
+ | 'unlock'
1203
+ | 'shoppingCart'
1204
+ | 'comments'
1205
+ | 'comment'
1206
+ | 'briefcase'
1207
+ | 'bell'
1208
+ | 'paperclip'
1209
+ | 'shareAlt'
1210
+ | 'envelope'
1211
+ | 'volumeDown'
1212
+ | 'volumeUp'
1213
+ | 'volumeOff'
1214
+ | 'eject'
1215
+ | 'moneyBill'
1216
+ | 'images'
1217
+ | 'signIn'
1218
+ | 'signOut'
1219
+ | 'wifi'
1220
+ | 'sitemap'
1221
+ | 'chartBar'
1222
+ | 'camera'
1223
+ | 'dollar'
1224
+ | 'lockOpen'
1225
+ | 'table'
1226
+ | 'mapMarker'
1227
+ | 'list'
1228
+ | 'eyeSlash'
1229
+ | 'eye'
1230
+ | 'folderOpen'
1231
+ | 'folder'
1232
+ | 'inbox'
1233
+ | 'lock'
1234
+ | 'tags'
1235
+ | 'powerOff'
1236
+ | 'questionCircle'
1237
+ | 'info'
1238
+ | 'question'
1239
+ | 'clone'
1240
+ | 'file'
1241
+ | 'calendarTimes'
1242
+ | 'calendarMinus'
1243
+ | 'calendarPlus'
1244
+ | 'ellipsisV'
1245
+ | 'ellipsisH'
1246
+ | 'bookmark'
1247
+ | 'globe'
1248
+ | 'replay'
1249
+ | 'filter'
1250
+ | 'sort'
1251
+ | 'print'
1252
+ | 'alignRight'
1253
+ | 'alignLeft'
1254
+ | 'alignCenter'
1255
+ | 'alignJustify'
1256
+ | 'cog'
1257
+ | 'cloudDownload'
1258
+ | 'download'
1259
+ | 'cloudUpload'
1260
+ | 'pencil'
1261
+ | 'users'
1262
+ | 'clock'
1263
+ | 'userMinus'
1264
+ | 'userPlus'
1265
+ | 'trash'
1266
+ | 'windowMinimize'
1267
+ | 'windowMaximize'
1268
+ | 'externalLink'
1269
+ | 'user'
1270
+ | 'exclamationTriangle'
1271
+ | 'calendar'
1272
+ | 'chevronCircleLeft'
1273
+ | 'chevronCircleDown'
1274
+ | 'chevronCircleRight'
1275
+ | 'chevronCircleUp'
1276
+ | 'angleDoubleDown'
1277
+ | 'angleDoubleLeft'
1278
+ | 'angleDoubleRight'
1279
+ | 'angleDoubleUp'
1280
+ | 'angleDown'
1281
+ | 'angleLeft'
1282
+ | 'angleRight'
1283
+ | 'angleUp'
1284
+ | 'ban'
1285
+ | 'starFill'
1286
+ | 'chevronLeft'
1287
+ | 'chevronRight'
1288
+ | 'chevronDown'
1289
+ | 'chevronUp'
1290
+ | 'caretLeft'
1291
+ | 'caretRight'
1292
+ | 'caretDown'
1293
+ | 'caretUp'
1294
+ | 'check'
1295
+ | 'checkCircle'
1296
+ | 'times'
1297
+ | 'timesCircle'
1298
+ | 'plus'
1299
+ | 'plusCircle'
1300
+ | 'minus'
1301
+ | 'minusCircle'
1302
+ | 'circleOn'
1303
+ | 'circleOff'
1304
+ | 'sortDown'
1305
+ | 'sortUp'
1306
+ | 'stepBackward'
1307
+ | 'stepForward'
1308
+ | 'thLarge'
1309
+ | 'arrowDown'
1310
+ | 'arrowLeft'
1311
+ | 'arrowRight'
1312
+ | 'arrowUp'
1313
+ | 'bars'
1314
+ | 'arrowCircleDown'
1315
+ | 'arrowCircleLeft'
1316
+ | 'arrowCircleRight'
1317
+ | 'arrowCircleUp'
1318
+ | 'infoCircle'
1319
+ | 'home'
1320
+ | 'spinner'
1321
+ | undefined
1322
+ }
1323
+
1324
+ export function getSwitchDefaults(props: SwitchProps = {}): SwitchResolvedProps {
1325
+ return switchPropsSchema.parse(props)
1326
+ }