@plasmicpkgs/antd 0.0.9 → 0.0.13
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/antd.cjs.development.js +401 -99
- package/dist/antd.cjs.development.js.map +1 -1
- package/dist/antd.cjs.production.min.js +1 -1
- package/dist/antd.cjs.production.min.js.map +1 -1
- package/dist/antd.esm.js +398 -101
- package/dist/antd.esm.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/registerTabs.d.ts +13 -0
- package/package.json +3 -2
package/dist/antd.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import registerComponent from '@plasmicapp/host/registerComponent';
|
|
2
|
-
import { Button, Carousel, Input, Select, Slider as Slider$1, Switch } from 'antd';
|
|
2
|
+
import { Button, Carousel, Input, Select, Slider as Slider$1, Switch, Tabs as Tabs$1 } from 'antd';
|
|
3
3
|
import Checkbox from 'antd/lib/checkbox/Checkbox';
|
|
4
4
|
import CheckboxGroup from 'antd/lib/checkbox/Group';
|
|
5
5
|
import React from 'react';
|
|
@@ -17,6 +17,7 @@ import MenuItem from 'antd/lib/menu/MenuItem';
|
|
|
17
17
|
import SubMenu from 'antd/lib/menu/SubMenu';
|
|
18
18
|
import { ItemGroup } from 'rc-menu';
|
|
19
19
|
import { Option, OptGroup } from 'rc-select';
|
|
20
|
+
import { TabPane } from 'rc-tabs';
|
|
20
21
|
|
|
21
22
|
var buttonMeta = {
|
|
22
23
|
name: "AntdButton",
|
|
@@ -25,37 +26,45 @@ var buttonMeta = {
|
|
|
25
26
|
type: {
|
|
26
27
|
type: "choice",
|
|
27
28
|
options: ["default", "primary", "ghost", "dashed", "link", "text"],
|
|
28
|
-
description: "Can be set to primary, ghost, dashed, link, text, default"
|
|
29
|
+
description: "Can be set to primary, ghost, dashed, link, text, default",
|
|
30
|
+
defaultValueHint: "default"
|
|
29
31
|
},
|
|
30
32
|
size: {
|
|
31
33
|
type: "choice",
|
|
32
34
|
options: ["small", "medium", "large"],
|
|
33
|
-
description: "Set the size of button"
|
|
35
|
+
description: "Set the size of button",
|
|
36
|
+
defaultValueHint: "medium"
|
|
34
37
|
},
|
|
35
38
|
shape: {
|
|
36
39
|
type: "choice",
|
|
37
40
|
options: ["default", "circle", "round"],
|
|
38
|
-
description: "Can be set button shape"
|
|
41
|
+
description: "Can be set button shape",
|
|
42
|
+
defaultValueHint: "default"
|
|
39
43
|
},
|
|
40
44
|
disabled: {
|
|
41
45
|
type: "boolean",
|
|
42
|
-
description: "Disabled state of button"
|
|
46
|
+
description: "Disabled state of button",
|
|
47
|
+
defaultValueHint: false
|
|
43
48
|
},
|
|
44
49
|
ghost: {
|
|
45
50
|
type: "boolean",
|
|
46
|
-
description: "Make background transparent and invert text and border colors"
|
|
51
|
+
description: "Make background transparent and invert text and border colors",
|
|
52
|
+
defaultValueHint: false
|
|
47
53
|
},
|
|
48
54
|
danger: {
|
|
49
55
|
type: "boolean",
|
|
50
|
-
description: "Set the danger status of button"
|
|
56
|
+
description: "Set the danger status of button",
|
|
57
|
+
defaultValueHint: false
|
|
51
58
|
},
|
|
52
59
|
block: {
|
|
53
60
|
type: "boolean",
|
|
54
|
-
description: "Option to fit button width to its parent width"
|
|
61
|
+
description: "Option to fit button width to its parent width",
|
|
62
|
+
defaultValueHint: false
|
|
55
63
|
},
|
|
56
64
|
loading: {
|
|
57
65
|
type: "boolean",
|
|
58
|
-
description: "Set the loading status of button"
|
|
66
|
+
description: "Set the loading status of button",
|
|
67
|
+
defaultValueHint: false
|
|
59
68
|
},
|
|
60
69
|
href: {
|
|
61
70
|
type: "string",
|
|
@@ -64,7 +73,11 @@ var buttonMeta = {
|
|
|
64
73
|
target: {
|
|
65
74
|
type: "choice",
|
|
66
75
|
options: ["_blank", "_self", "_parent", "_top"],
|
|
67
|
-
description: "Same as target attribute of a, works when href is specified"
|
|
76
|
+
description: "Same as target attribute of a, works when href is specified",
|
|
77
|
+
hidden: function hidden(props) {
|
|
78
|
+
return !props.href;
|
|
79
|
+
},
|
|
80
|
+
defaultValueHint: "_self"
|
|
68
81
|
},
|
|
69
82
|
children: {
|
|
70
83
|
type: "slot",
|
|
@@ -183,21 +196,25 @@ var checkboxMeta = {
|
|
|
183
196
|
props: {
|
|
184
197
|
autoFocus: {
|
|
185
198
|
type: "boolean",
|
|
186
|
-
description: "If get focus when component mounted"
|
|
199
|
+
description: "If get focus when component mounted",
|
|
200
|
+
defaultValueHint: false
|
|
187
201
|
},
|
|
188
202
|
checked: {
|
|
189
203
|
type: "boolean",
|
|
190
204
|
editOnly: true,
|
|
191
205
|
uncontrolledProp: "defaultChecked",
|
|
192
|
-
description: "Specifies the initial state: whether or not the checkbox is selected"
|
|
206
|
+
description: "Specifies the initial state: whether or not the checkbox is selected",
|
|
207
|
+
defaultValueHint: false
|
|
193
208
|
},
|
|
194
209
|
disabled: {
|
|
195
210
|
type: "boolean",
|
|
196
|
-
description: "If disable checkbox"
|
|
211
|
+
description: "If disable checkbox",
|
|
212
|
+
defaultValueHint: false
|
|
197
213
|
},
|
|
198
214
|
indeterminate: {
|
|
199
215
|
type: "boolean",
|
|
200
|
-
description: "The indeterminate checked state of checkbox"
|
|
216
|
+
description: "The indeterminate checked state of checkbox",
|
|
217
|
+
defaultValueHint: false
|
|
201
218
|
},
|
|
202
219
|
value: {
|
|
203
220
|
type: "string",
|
|
@@ -231,7 +248,8 @@ var checkboxGroupMeta = {
|
|
|
231
248
|
props: {
|
|
232
249
|
disabled: {
|
|
233
250
|
type: "boolean",
|
|
234
|
-
description: "If disable all checkboxes"
|
|
251
|
+
description: "If disable all checkboxes",
|
|
252
|
+
defaultValueHint: false
|
|
235
253
|
},
|
|
236
254
|
value: {
|
|
237
255
|
type: "choice",
|
|
@@ -286,20 +304,24 @@ var carouselMeta = {
|
|
|
286
304
|
props: {
|
|
287
305
|
autoplay: {
|
|
288
306
|
type: "boolean",
|
|
289
|
-
description: "Whether to scroll automatically"
|
|
307
|
+
description: "Whether to scroll automatically",
|
|
308
|
+
defaultValueHint: false
|
|
290
309
|
},
|
|
291
310
|
dotPosition: {
|
|
292
311
|
type: "choice",
|
|
293
312
|
options: ["top", "bottom", "left", "right"],
|
|
294
|
-
description: "The position of the dots"
|
|
313
|
+
description: "The position of the dots",
|
|
314
|
+
defaultValueHint: "bottom"
|
|
295
315
|
},
|
|
296
316
|
dots: {
|
|
297
317
|
type: "boolean",
|
|
298
|
-
description: "Whether to show the dots at the bottom of the gallery"
|
|
318
|
+
description: "Whether to show the dots at the bottom of the gallery",
|
|
319
|
+
defaultValueHint: true
|
|
299
320
|
},
|
|
300
321
|
effect: {
|
|
301
322
|
type: "choice",
|
|
302
|
-
options: ["scrollx", "fade"]
|
|
323
|
+
options: ["scrollx", "fade"],
|
|
324
|
+
defaultValueHint: "scrollx"
|
|
303
325
|
},
|
|
304
326
|
children: {
|
|
305
327
|
type: "slot",
|
|
@@ -342,7 +364,8 @@ var collapstePanelMeta = {
|
|
|
342
364
|
},
|
|
343
365
|
forceRender: {
|
|
344
366
|
type: "boolean",
|
|
345
|
-
description: "Forced render of content on panel, instead of lazy rending after clicking on header"
|
|
367
|
+
description: "Forced render of content on panel, instead of lazy rending after clicking on header",
|
|
368
|
+
defaultValueHint: false
|
|
346
369
|
},
|
|
347
370
|
header: {
|
|
348
371
|
type: "slot",
|
|
@@ -357,7 +380,8 @@ var collapstePanelMeta = {
|
|
|
357
380
|
},
|
|
358
381
|
showArrow: {
|
|
359
382
|
type: "boolean",
|
|
360
|
-
description: "If false, panel will not show arrow icon"
|
|
383
|
+
description: "If false, panel will not show arrow icon",
|
|
384
|
+
defaultValueHint: true
|
|
361
385
|
},
|
|
362
386
|
children: {
|
|
363
387
|
type: "slot",
|
|
@@ -385,7 +409,8 @@ var collapsteMeta = {
|
|
|
385
409
|
props: {
|
|
386
410
|
accordion: {
|
|
387
411
|
type: "boolean",
|
|
388
|
-
description: "If true, Collapse renders as Accordion"
|
|
412
|
+
description: "If true, Collapse renders as Accordion",
|
|
413
|
+
defaultValueHint: false
|
|
389
414
|
},
|
|
390
415
|
activeKey: {
|
|
391
416
|
type: "choice",
|
|
@@ -406,7 +431,8 @@ var collapsteMeta = {
|
|
|
406
431
|
},
|
|
407
432
|
bordered: {
|
|
408
433
|
type: "boolean",
|
|
409
|
-
description: "Toggles rendering of the border around the collapse block"
|
|
434
|
+
description: "Toggles rendering of the border around the collapse block",
|
|
435
|
+
defaultValueHint: true
|
|
410
436
|
},
|
|
411
437
|
collapsible: {
|
|
412
438
|
type: "choice",
|
|
@@ -416,11 +442,13 @@ var collapsteMeta = {
|
|
|
416
442
|
expandIconPosition: {
|
|
417
443
|
type: "choice",
|
|
418
444
|
options: ["left", "right"],
|
|
419
|
-
description: "Set expand icon position"
|
|
445
|
+
description: "Set expand icon position",
|
|
446
|
+
defaultValueHint: "left"
|
|
420
447
|
},
|
|
421
448
|
ghost: {
|
|
422
449
|
type: "boolean",
|
|
423
|
-
description: "Make the collapse borderless and its background transparent"
|
|
450
|
+
description: "Make the collapse borderless and its background transparent",
|
|
451
|
+
defaultValueHint: false
|
|
424
452
|
},
|
|
425
453
|
children: {
|
|
426
454
|
type: "slot",
|
|
@@ -467,11 +495,13 @@ var dropdownMeta = {
|
|
|
467
495
|
props: {
|
|
468
496
|
arrow: {
|
|
469
497
|
type: "boolean",
|
|
470
|
-
description: "Whether the dropdown arrow should be visible"
|
|
498
|
+
description: "Whether the dropdown arrow should be visible",
|
|
499
|
+
defaultValueHint: false
|
|
471
500
|
},
|
|
472
501
|
disabled: {
|
|
473
502
|
type: "boolean",
|
|
474
|
-
description: "Whether the dropdown menu is disabled"
|
|
503
|
+
description: "Whether the dropdown menu is disabled",
|
|
504
|
+
defaultValueHint: false
|
|
475
505
|
},
|
|
476
506
|
overlay: {
|
|
477
507
|
type: "slot",
|
|
@@ -484,17 +514,20 @@ var dropdownMeta = {
|
|
|
484
514
|
placement: {
|
|
485
515
|
type: "choice",
|
|
486
516
|
options: ["bottomLeft", "bottomCenter", "bottomRight", "topLeft", "topCenter", "topRight"],
|
|
487
|
-
description: "Placement of popup menu"
|
|
517
|
+
description: "Placement of popup menu",
|
|
518
|
+
defaultValueHint: "bottomLeft"
|
|
488
519
|
},
|
|
489
520
|
trigger: {
|
|
490
521
|
type: "choice",
|
|
491
522
|
options: ["click", "hover", "contextMenu"],
|
|
492
|
-
description: "The trigger mode which executes the dropdown action"
|
|
523
|
+
description: "The trigger mode which executes the dropdown action",
|
|
524
|
+
defaultValueHint: "hover"
|
|
493
525
|
},
|
|
494
526
|
visible: {
|
|
495
527
|
type: "boolean",
|
|
496
528
|
description: "Toggle visibility of dropdown menu in Plasmic Editor",
|
|
497
|
-
editOnly: true
|
|
529
|
+
editOnly: true,
|
|
530
|
+
defaultValueHint: false
|
|
498
531
|
},
|
|
499
532
|
children: {
|
|
500
533
|
type: "slot",
|
|
@@ -520,7 +553,8 @@ var dropdownButtonMeta = {
|
|
|
520
553
|
props: {
|
|
521
554
|
disabled: {
|
|
522
555
|
type: "boolean",
|
|
523
|
-
description: "Whether the dropdown menu is disabled"
|
|
556
|
+
description: "Whether the dropdown menu is disabled",
|
|
557
|
+
defaultValueHint: false
|
|
524
558
|
},
|
|
525
559
|
icon: {
|
|
526
560
|
type: "slot",
|
|
@@ -537,27 +571,32 @@ var dropdownButtonMeta = {
|
|
|
537
571
|
placement: {
|
|
538
572
|
type: "choice",
|
|
539
573
|
options: ["bottomLeft", "bottomCenter", "bottomRight", "topLeft", "topCenter", "topRight"],
|
|
540
|
-
description: "Placement of popup menu"
|
|
574
|
+
description: "Placement of popup menu",
|
|
575
|
+
defaultValueHint: "bottomLeft"
|
|
541
576
|
},
|
|
542
577
|
size: {
|
|
543
578
|
type: "choice",
|
|
544
579
|
options: ["small", "medium", "large"],
|
|
545
|
-
description: "Set the size of button"
|
|
580
|
+
description: "Set the size of button",
|
|
581
|
+
defaultValueHint: "medium"
|
|
546
582
|
},
|
|
547
583
|
trigger: {
|
|
548
584
|
type: "choice",
|
|
549
585
|
options: ["click", "hover", "contextMenu"],
|
|
550
|
-
description: "The trigger mode which executes the dropdown action"
|
|
586
|
+
description: "The trigger mode which executes the dropdown action",
|
|
587
|
+
defaultValueHint: "hover"
|
|
551
588
|
},
|
|
552
589
|
type: {
|
|
553
590
|
type: "choice",
|
|
554
591
|
options: ["default", "primary", "ghost", "dashed", "link", "text"],
|
|
555
|
-
description: "Can be set to primary, ghost, dashed, link, text, default"
|
|
592
|
+
description: "Can be set to primary, ghost, dashed, link, text, default",
|
|
593
|
+
defaultValueHint: "default"
|
|
556
594
|
},
|
|
557
595
|
visible: {
|
|
558
596
|
type: "boolean",
|
|
559
597
|
description: "Toggle visibility of dropdown menu in Plasmic Editor",
|
|
560
|
-
editOnly: true
|
|
598
|
+
editOnly: true,
|
|
599
|
+
defaultValueHint: false
|
|
561
600
|
},
|
|
562
601
|
children: {
|
|
563
602
|
type: "slot",
|
|
@@ -594,15 +633,18 @@ var inputMeta = {
|
|
|
594
633
|
},
|
|
595
634
|
allowClear: {
|
|
596
635
|
type: "boolean",
|
|
597
|
-
description: "If allow to remove input content with clear icon"
|
|
636
|
+
description: "If allow to remove input content with clear icon",
|
|
637
|
+
defaultValueHint: false
|
|
598
638
|
},
|
|
599
639
|
bordered: {
|
|
600
640
|
type: "boolean",
|
|
601
|
-
description: "Whether has border style"
|
|
641
|
+
description: "Whether has border style",
|
|
642
|
+
defaultValueHint: true
|
|
602
643
|
},
|
|
603
644
|
disabled: {
|
|
604
645
|
type: "boolean",
|
|
605
|
-
description: "Whether the input is disabled"
|
|
646
|
+
description: "Whether the input is disabled",
|
|
647
|
+
defaultValueHint: false
|
|
606
648
|
},
|
|
607
649
|
id: {
|
|
608
650
|
type: "string",
|
|
@@ -623,7 +665,8 @@ var inputMeta = {
|
|
|
623
665
|
size: {
|
|
624
666
|
type: "choice",
|
|
625
667
|
options: ["small", "middle", "large"],
|
|
626
|
-
description: "The size of the input box"
|
|
668
|
+
description: "The size of the input box",
|
|
669
|
+
defaultValueHint: "middle,"
|
|
627
670
|
},
|
|
628
671
|
suffix: {
|
|
629
672
|
type: "slot",
|
|
@@ -631,7 +674,8 @@ var inputMeta = {
|
|
|
631
674
|
},
|
|
632
675
|
type: {
|
|
633
676
|
type: "string",
|
|
634
|
-
description: "The type of input"
|
|
677
|
+
description: "The type of input",
|
|
678
|
+
defaultValueHint: "text"
|
|
635
679
|
},
|
|
636
680
|
value: {
|
|
637
681
|
type: "string",
|
|
@@ -655,7 +699,8 @@ var inputTextAreaMeta = {
|
|
|
655
699
|
props: {
|
|
656
700
|
allowClear: {
|
|
657
701
|
type: "boolean",
|
|
658
|
-
description: "If allow to remove input content with clear icon"
|
|
702
|
+
description: "If allow to remove input content with clear icon",
|
|
703
|
+
defaultValueHint: false
|
|
659
704
|
},
|
|
660
705
|
autoSize: {
|
|
661
706
|
type: "object",
|
|
@@ -663,15 +708,18 @@ var inputTextAreaMeta = {
|
|
|
663
708
|
},
|
|
664
709
|
disabled: {
|
|
665
710
|
type: "boolean",
|
|
666
|
-
description: "Whether the input is disabled"
|
|
711
|
+
description: "Whether the input is disabled",
|
|
712
|
+
defaultValueHint: false
|
|
667
713
|
},
|
|
668
714
|
bordered: {
|
|
669
715
|
type: "boolean",
|
|
670
|
-
description: "Whether has border style"
|
|
716
|
+
description: "Whether has border style",
|
|
717
|
+
defaultValueHint: true
|
|
671
718
|
},
|
|
672
719
|
showCount: {
|
|
673
720
|
type: "boolean",
|
|
674
|
-
description: "Whether show text count"
|
|
721
|
+
description: "Whether show text count",
|
|
722
|
+
defaultValueHint: false
|
|
675
723
|
},
|
|
676
724
|
id: {
|
|
677
725
|
type: "string",
|
|
@@ -713,15 +761,18 @@ var inputSearchMeta = {
|
|
|
713
761
|
},
|
|
714
762
|
allowClear: {
|
|
715
763
|
type: "boolean",
|
|
716
|
-
description: "If allow to remove input content with clear icon"
|
|
764
|
+
description: "If allow to remove input content with clear icon",
|
|
765
|
+
defaultValueHint: false
|
|
717
766
|
},
|
|
718
767
|
bordered: {
|
|
719
768
|
type: "boolean",
|
|
720
|
-
description: "Whether has border style"
|
|
769
|
+
description: "Whether has border style",
|
|
770
|
+
defaultValueHint: true
|
|
721
771
|
},
|
|
722
772
|
disabled: {
|
|
723
773
|
type: "boolean",
|
|
724
|
-
description: "Whether the input is disabled"
|
|
774
|
+
description: "Whether the input is disabled",
|
|
775
|
+
defaultValueHint: false
|
|
725
776
|
},
|
|
726
777
|
enterButton: {
|
|
727
778
|
type: "slot",
|
|
@@ -733,7 +784,8 @@ var inputSearchMeta = {
|
|
|
733
784
|
},
|
|
734
785
|
loading: {
|
|
735
786
|
type: "boolean",
|
|
736
|
-
description: "Search box with loading"
|
|
787
|
+
description: "Search box with loading",
|
|
788
|
+
defaultValueHint: false
|
|
737
789
|
},
|
|
738
790
|
maxLength: {
|
|
739
791
|
type: "number",
|
|
@@ -750,7 +802,8 @@ var inputSearchMeta = {
|
|
|
750
802
|
size: {
|
|
751
803
|
type: "choice",
|
|
752
804
|
options: ["small", "middle", "large"],
|
|
753
|
-
description: "The size of the input box"
|
|
805
|
+
description: "The size of the input box",
|
|
806
|
+
defaultValueHint: "middle"
|
|
754
807
|
},
|
|
755
808
|
suffix: {
|
|
756
809
|
type: "slot",
|
|
@@ -792,15 +845,18 @@ var inputPasswordMeta = {
|
|
|
792
845
|
},
|
|
793
846
|
allowClear: {
|
|
794
847
|
type: "boolean",
|
|
795
|
-
description: "If allow to remove input content with clear icon"
|
|
848
|
+
description: "If allow to remove input content with clear icon",
|
|
849
|
+
defaultValueHint: false
|
|
796
850
|
},
|
|
797
851
|
bordered: {
|
|
798
852
|
type: "boolean",
|
|
799
|
-
description: "Whether has border style"
|
|
853
|
+
description: "Whether has border style",
|
|
854
|
+
defaultValueHint: true
|
|
800
855
|
},
|
|
801
856
|
disabled: {
|
|
802
857
|
type: "boolean",
|
|
803
|
-
description: "Whether the input is disabled"
|
|
858
|
+
description: "Whether the input is disabled",
|
|
859
|
+
defaultValueHint: false
|
|
804
860
|
},
|
|
805
861
|
id: {
|
|
806
862
|
type: "string",
|
|
@@ -821,7 +877,8 @@ var inputPasswordMeta = {
|
|
|
821
877
|
size: {
|
|
822
878
|
type: "choice",
|
|
823
879
|
options: ["small", "middle", "large"],
|
|
824
|
-
description: "The size of the input box"
|
|
880
|
+
description: "The size of the input box",
|
|
881
|
+
defaultValueHint: "middle"
|
|
825
882
|
},
|
|
826
883
|
type: {
|
|
827
884
|
type: "string",
|
|
@@ -834,7 +891,8 @@ var inputPasswordMeta = {
|
|
|
834
891
|
},
|
|
835
892
|
visibilityToggle: {
|
|
836
893
|
type: "boolean",
|
|
837
|
-
description: "Whether show toggle button"
|
|
894
|
+
description: "Whether show toggle button",
|
|
895
|
+
defaultValueHint: true
|
|
838
896
|
}
|
|
839
897
|
},
|
|
840
898
|
importPath: "antd/lib/input/Password",
|
|
@@ -855,12 +913,14 @@ var inputGroupMeta = {
|
|
|
855
913
|
props: {
|
|
856
914
|
compact: {
|
|
857
915
|
type: "boolean",
|
|
858
|
-
description: "Whether use compact style"
|
|
916
|
+
description: "Whether use compact style",
|
|
917
|
+
defaultValueHint: false
|
|
859
918
|
},
|
|
860
919
|
size: {
|
|
861
920
|
type: "choice",
|
|
862
921
|
options: ["small", "default", "large"],
|
|
863
|
-
description: "The size of Input.Group specifies the size of the included Input fields"
|
|
922
|
+
description: "The size of Input.Group specifies the size of the included Input fields",
|
|
923
|
+
defaultValueHint: "default"
|
|
864
924
|
},
|
|
865
925
|
children: {
|
|
866
926
|
type: "slot",
|
|
@@ -892,7 +952,8 @@ var menuDividerMeta = {
|
|
|
892
952
|
props: {
|
|
893
953
|
dashed: {
|
|
894
954
|
type: "boolean",
|
|
895
|
-
description: "Whether line is dashed"
|
|
955
|
+
description: "Whether line is dashed",
|
|
956
|
+
defaultValueHint: false
|
|
896
957
|
}
|
|
897
958
|
},
|
|
898
959
|
importPath: "antd/lib/menu/MenuDivider",
|
|
@@ -913,11 +974,13 @@ var menuItemMeta = {
|
|
|
913
974
|
props: {
|
|
914
975
|
danger: {
|
|
915
976
|
type: "boolean",
|
|
916
|
-
description: "Display the danger style"
|
|
977
|
+
description: "Display the danger style",
|
|
978
|
+
defaultValueHint: false
|
|
917
979
|
},
|
|
918
980
|
disabled: {
|
|
919
981
|
type: "boolean",
|
|
920
|
-
description: "Whether disabled select"
|
|
982
|
+
description: "Whether disabled select",
|
|
983
|
+
defaultValueHint: false
|
|
921
984
|
},
|
|
922
985
|
key: {
|
|
923
986
|
type: "string",
|
|
@@ -985,7 +1048,8 @@ var subMenuMeta = {
|
|
|
985
1048
|
props: {
|
|
986
1049
|
disabled: {
|
|
987
1050
|
type: "boolean",
|
|
988
|
-
description: "Whether sub-menu is disabled"
|
|
1051
|
+
description: "Whether sub-menu is disabled",
|
|
1052
|
+
defaultValueHint: false
|
|
989
1053
|
},
|
|
990
1054
|
key: {
|
|
991
1055
|
type: "string",
|
|
@@ -1002,13 +1066,19 @@ var subMenuMeta = {
|
|
|
1002
1066
|
children: {
|
|
1003
1067
|
type: "slot",
|
|
1004
1068
|
allowedComponents: ["AntdMenuItem", "AntdMenuDivider", "AntdMenuItemGroup", "AntdSubMenu"],
|
|
1005
|
-
defaultValue: [{
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1069
|
+
defaultValue: /*#__PURE__*/[1, 2].map(function (i) {
|
|
1070
|
+
return {
|
|
1071
|
+
type: "component",
|
|
1072
|
+
name: "AntdMenuItem",
|
|
1073
|
+
props: {
|
|
1074
|
+
key: "subMenuItemKey" + i,
|
|
1075
|
+
children: [{
|
|
1076
|
+
type: "text",
|
|
1077
|
+
value: "Sub-menu item " + i
|
|
1078
|
+
}]
|
|
1079
|
+
}
|
|
1080
|
+
};
|
|
1081
|
+
})
|
|
1012
1082
|
}
|
|
1013
1083
|
},
|
|
1014
1084
|
importPath: "antd/lib/menu/SubMenu",
|
|
@@ -1033,20 +1103,24 @@ var menuMeta = {
|
|
|
1033
1103
|
},
|
|
1034
1104
|
forceSubMenuRender: {
|
|
1035
1105
|
type: "boolean",
|
|
1036
|
-
description: "Render submenu into DOM before it becomes visible"
|
|
1106
|
+
description: "Render submenu into DOM before it becomes visible",
|
|
1107
|
+
defaultValueHint: false
|
|
1037
1108
|
},
|
|
1038
1109
|
inlineIndent: {
|
|
1039
1110
|
type: "number",
|
|
1040
|
-
description: "Indent (in pixels) of inline menu items on each level"
|
|
1111
|
+
description: "Indent (in pixels) of inline menu items on each level",
|
|
1112
|
+
defaultValueHint: 24
|
|
1041
1113
|
},
|
|
1042
1114
|
mode: {
|
|
1043
1115
|
type: "choice",
|
|
1044
1116
|
options: ["horizontal", "vertical", "inline"],
|
|
1045
|
-
description: "Type of menu"
|
|
1117
|
+
description: "Type of menu",
|
|
1118
|
+
defaultValueHint: "vertical"
|
|
1046
1119
|
},
|
|
1047
1120
|
multiple: {
|
|
1048
1121
|
type: "boolean",
|
|
1049
|
-
description: "Allows selection of multiple items"
|
|
1122
|
+
description: "Allows selection of multiple items",
|
|
1123
|
+
defaultValueHint: false
|
|
1050
1124
|
},
|
|
1051
1125
|
openKeys: {
|
|
1052
1126
|
type: "choice",
|
|
@@ -1070,7 +1144,8 @@ var menuMeta = {
|
|
|
1070
1144
|
},
|
|
1071
1145
|
selectable: {
|
|
1072
1146
|
type: "boolean",
|
|
1073
|
-
description: "Allows selecting menu items"
|
|
1147
|
+
description: "Allows selecting menu items",
|
|
1148
|
+
defaultValueHint: true
|
|
1074
1149
|
},
|
|
1075
1150
|
selectedKeys: {
|
|
1076
1151
|
type: "choice",
|
|
@@ -1090,21 +1165,25 @@ var menuMeta = {
|
|
|
1090
1165
|
},
|
|
1091
1166
|
subMenuCloseDelay: {
|
|
1092
1167
|
type: "number",
|
|
1093
|
-
description: "Delay time to hide submenu when mouse leaves (in seconds)"
|
|
1168
|
+
description: "Delay time to hide submenu when mouse leaves (in seconds)",
|
|
1169
|
+
defaultValueHint: 0.1
|
|
1094
1170
|
},
|
|
1095
1171
|
subMenuOpenDelay: {
|
|
1096
1172
|
type: "number",
|
|
1097
|
-
description: "Delay time to show submenu when mouse enters, (in seconds)"
|
|
1173
|
+
description: "Delay time to show submenu when mouse enters, (in seconds)",
|
|
1174
|
+
defaultValueHint: 0
|
|
1098
1175
|
},
|
|
1099
1176
|
theme: {
|
|
1100
1177
|
type: "choice",
|
|
1101
1178
|
options: ["light", "dark"],
|
|
1102
|
-
description: "Color theme of the menu"
|
|
1179
|
+
description: "Color theme of the menu",
|
|
1180
|
+
defaultValueHint: "light"
|
|
1103
1181
|
},
|
|
1104
1182
|
triggerSubMenuAction: {
|
|
1105
1183
|
type: "choice",
|
|
1106
1184
|
options: ["hover", "click"],
|
|
1107
|
-
description: "Which action can trigger submenu open/close"
|
|
1185
|
+
description: "Which action can trigger submenu open/close",
|
|
1186
|
+
defaultValueHint: "hover"
|
|
1108
1187
|
},
|
|
1109
1188
|
children: {
|
|
1110
1189
|
type: "slot",
|
|
@@ -1136,7 +1215,8 @@ var optionMeta = {
|
|
|
1136
1215
|
props: {
|
|
1137
1216
|
disabled: {
|
|
1138
1217
|
type: "boolean",
|
|
1139
|
-
description: "Disable this option"
|
|
1218
|
+
description: "Disable this option",
|
|
1219
|
+
defaultValueHint: false
|
|
1140
1220
|
},
|
|
1141
1221
|
title: {
|
|
1142
1222
|
type: "string",
|
|
@@ -1206,25 +1286,43 @@ var selectMeta = {
|
|
|
1206
1286
|
name: "AntdSelect",
|
|
1207
1287
|
displayName: "Antd Select",
|
|
1208
1288
|
props: {
|
|
1289
|
+
allowClear: {
|
|
1290
|
+
type: "boolean",
|
|
1291
|
+
description: "Show clear button",
|
|
1292
|
+
defaultValueHint: false
|
|
1293
|
+
},
|
|
1294
|
+
autoClearSearchValue: {
|
|
1295
|
+
type: "boolean",
|
|
1296
|
+
description: "Whether the current search will be cleared on selecting an item",
|
|
1297
|
+
defaultValueHint: true,
|
|
1298
|
+
hidden: function hidden(props) {
|
|
1299
|
+
return props.mode !== "multiple" && props.mode !== "tags";
|
|
1300
|
+
}
|
|
1301
|
+
},
|
|
1209
1302
|
autoFocus: {
|
|
1210
1303
|
type: "boolean",
|
|
1211
|
-
description: "Get focus by default"
|
|
1304
|
+
description: "Get focus by default",
|
|
1305
|
+
defaultValueHint: false
|
|
1212
1306
|
},
|
|
1213
1307
|
bordered: {
|
|
1214
1308
|
type: "boolean",
|
|
1215
|
-
description: "Whether has border style"
|
|
1309
|
+
description: "Whether has border style",
|
|
1310
|
+
defaultValueHint: true
|
|
1216
1311
|
},
|
|
1217
1312
|
disabled: {
|
|
1218
1313
|
type: "boolean",
|
|
1219
|
-
description: "Whether disabled select"
|
|
1314
|
+
description: "Whether disabled select",
|
|
1315
|
+
defaultValueHint: false
|
|
1220
1316
|
},
|
|
1221
1317
|
listHeight: {
|
|
1222
1318
|
type: "number",
|
|
1223
|
-
description: "Config popup height"
|
|
1319
|
+
description: "Config popup height",
|
|
1320
|
+
defaultValueHint: 256
|
|
1224
1321
|
},
|
|
1225
1322
|
loading: {
|
|
1226
1323
|
type: "boolean",
|
|
1227
|
-
description: "Indicate loading state"
|
|
1324
|
+
description: "Indicate loading state",
|
|
1325
|
+
defaultValueHint: false
|
|
1228
1326
|
},
|
|
1229
1327
|
mode: {
|
|
1230
1328
|
type: "choice",
|
|
@@ -1235,7 +1333,8 @@ var selectMeta = {
|
|
|
1235
1333
|
type: "boolean",
|
|
1236
1334
|
editOnly: true,
|
|
1237
1335
|
uncontrolledProp: "defaultOpen",
|
|
1238
|
-
description: "Initial open state of dropdown"
|
|
1336
|
+
description: "Initial open state of dropdown",
|
|
1337
|
+
defaultValueHint: false
|
|
1239
1338
|
},
|
|
1240
1339
|
placeholder: {
|
|
1241
1340
|
type: "slot",
|
|
@@ -1246,16 +1345,19 @@ var selectMeta = {
|
|
|
1246
1345
|
},
|
|
1247
1346
|
showArrow: {
|
|
1248
1347
|
type: "boolean",
|
|
1249
|
-
description: "Whether to show the drop-down arrow"
|
|
1348
|
+
description: "Whether to show the drop-down arrow",
|
|
1349
|
+
defaultValueHint: true
|
|
1250
1350
|
},
|
|
1251
1351
|
showSearch: {
|
|
1252
1352
|
type: "boolean",
|
|
1253
|
-
description: "Whether show search input in single mode"
|
|
1353
|
+
description: "Whether show search input in single mode",
|
|
1354
|
+
defaultValueHint: false
|
|
1254
1355
|
},
|
|
1255
1356
|
size: {
|
|
1256
1357
|
type: "choice",
|
|
1257
1358
|
options: ["large", "middle", "small"],
|
|
1258
|
-
description: "Set mode of Select"
|
|
1359
|
+
description: "Set mode of Select",
|
|
1360
|
+
defaultValueHint: "middle"
|
|
1259
1361
|
},
|
|
1260
1362
|
value: {
|
|
1261
1363
|
type: "choice",
|
|
@@ -1276,7 +1378,8 @@ var selectMeta = {
|
|
|
1276
1378
|
},
|
|
1277
1379
|
virtual: {
|
|
1278
1380
|
type: "boolean",
|
|
1279
|
-
description: "Disable virtual scroll when set to false"
|
|
1381
|
+
description: "Disable virtual scroll when set to false",
|
|
1382
|
+
defaultValueHint: true
|
|
1280
1383
|
},
|
|
1281
1384
|
children: {
|
|
1282
1385
|
type: "slot",
|
|
@@ -1342,31 +1445,38 @@ var sliderMeta = {
|
|
|
1342
1445
|
props: {
|
|
1343
1446
|
max: {
|
|
1344
1447
|
type: "number",
|
|
1345
|
-
description: "The maximum value the slider can slide to"
|
|
1448
|
+
description: "The maximum value the slider can slide to",
|
|
1449
|
+
defaultValueHint: 100
|
|
1346
1450
|
},
|
|
1347
1451
|
min: {
|
|
1348
1452
|
type: "number",
|
|
1349
|
-
description: "The minimum value the slider can slide to"
|
|
1453
|
+
description: "The minimum value the slider can slide to",
|
|
1454
|
+
defaultValueHint: 0
|
|
1350
1455
|
},
|
|
1351
1456
|
included: {
|
|
1352
1457
|
type: "boolean",
|
|
1353
|
-
description: "Make effect when marks not null, true means containment and false means coordinative"
|
|
1458
|
+
description: "Make effect when marks not null, true means containment and false means coordinative",
|
|
1459
|
+
defaultValueHint: true
|
|
1354
1460
|
},
|
|
1355
1461
|
disabled: {
|
|
1356
1462
|
type: "boolean",
|
|
1357
|
-
description: "If true, the slider will not be interactable"
|
|
1463
|
+
description: "If true, the slider will not be interactable",
|
|
1464
|
+
defaultValueHint: false
|
|
1358
1465
|
},
|
|
1359
1466
|
range: {
|
|
1360
1467
|
type: "boolean",
|
|
1361
|
-
description: "Dual thumb mode"
|
|
1468
|
+
description: "Dual thumb mode",
|
|
1469
|
+
defaultValueHint: false
|
|
1362
1470
|
},
|
|
1363
1471
|
reverse: {
|
|
1364
1472
|
type: "boolean",
|
|
1365
|
-
description: "Reverse the component"
|
|
1473
|
+
description: "Reverse the component",
|
|
1474
|
+
defaultValueHint: false
|
|
1366
1475
|
},
|
|
1367
1476
|
vertical: {
|
|
1368
1477
|
type: "boolean",
|
|
1369
|
-
description: "If true, the slider will be vertical"
|
|
1478
|
+
description: "If true, the slider will be vertical",
|
|
1479
|
+
defaultValueHint: false
|
|
1370
1480
|
},
|
|
1371
1481
|
value: {
|
|
1372
1482
|
type: "number",
|
|
@@ -1415,21 +1525,25 @@ var switchMeta = {
|
|
|
1415
1525
|
props: {
|
|
1416
1526
|
autoFocus: {
|
|
1417
1527
|
type: "boolean",
|
|
1418
|
-
description: "Whether get focus when component mounted"
|
|
1528
|
+
description: "Whether get focus when component mounted",
|
|
1529
|
+
defaultValueHint: false
|
|
1419
1530
|
},
|
|
1420
1531
|
checked: {
|
|
1421
1532
|
type: "boolean",
|
|
1422
1533
|
editOnly: true,
|
|
1423
1534
|
uncontrolledProp: "defaultChecked",
|
|
1424
|
-
description: "Whether to set the initial state"
|
|
1535
|
+
description: "Whether to set the initial state",
|
|
1536
|
+
defaultValueHint: false
|
|
1425
1537
|
},
|
|
1426
1538
|
disabled: {
|
|
1427
1539
|
type: "boolean",
|
|
1428
|
-
description: "Disable switch"
|
|
1540
|
+
description: "Disable switch",
|
|
1541
|
+
defaultValueHint: false
|
|
1429
1542
|
},
|
|
1430
1543
|
loading: {
|
|
1431
1544
|
type: "boolean",
|
|
1432
|
-
description: "Loading state of switch"
|
|
1545
|
+
description: "Loading state of switch",
|
|
1546
|
+
defaultValueHint: false
|
|
1433
1547
|
},
|
|
1434
1548
|
checkedChildren: {
|
|
1435
1549
|
type: "slot",
|
|
@@ -1444,7 +1558,8 @@ var switchMeta = {
|
|
|
1444
1558
|
size: {
|
|
1445
1559
|
type: "choice",
|
|
1446
1560
|
options: ["small", "default"],
|
|
1447
|
-
description: "The size of the Switch"
|
|
1561
|
+
description: "The size of the Switch",
|
|
1562
|
+
defaultValueHint: "default"
|
|
1448
1563
|
}
|
|
1449
1564
|
},
|
|
1450
1565
|
importPath: "antd",
|
|
@@ -1458,6 +1573,186 @@ function registerSwitch(loader, customSwitchMeta) {
|
|
|
1458
1573
|
doRegisterComponent(Switch, customSwitchMeta != null ? customSwitchMeta : switchMeta);
|
|
1459
1574
|
}
|
|
1460
1575
|
|
|
1576
|
+
var tabPaneMeta = {
|
|
1577
|
+
name: "AntdTabPane",
|
|
1578
|
+
displayName: "Antd Tab Pane",
|
|
1579
|
+
props: {
|
|
1580
|
+
tab: {
|
|
1581
|
+
type: "slot",
|
|
1582
|
+
defaultValue: [{
|
|
1583
|
+
type: "text",
|
|
1584
|
+
value: "Tab"
|
|
1585
|
+
}]
|
|
1586
|
+
},
|
|
1587
|
+
key: {
|
|
1588
|
+
type: "string",
|
|
1589
|
+
description: "Unique TabPane's key",
|
|
1590
|
+
defaultValue: "tabPaneKey"
|
|
1591
|
+
},
|
|
1592
|
+
closable: {
|
|
1593
|
+
type: "boolean",
|
|
1594
|
+
description: "Wether the tab can be closed or not. Only works for editable tabs",
|
|
1595
|
+
defaultValueHint: true
|
|
1596
|
+
},
|
|
1597
|
+
disabled: {
|
|
1598
|
+
type: "boolean",
|
|
1599
|
+
description: "Disabled state of tab",
|
|
1600
|
+
defaultValueHint: false
|
|
1601
|
+
},
|
|
1602
|
+
forceRender: {
|
|
1603
|
+
type: "boolean",
|
|
1604
|
+
description: "Forced render of content in tabs, not lazy render after clicking on tabs",
|
|
1605
|
+
defaultValueHint: false
|
|
1606
|
+
},
|
|
1607
|
+
closeIcon: {
|
|
1608
|
+
type: "slot",
|
|
1609
|
+
hidePlaceholder: true
|
|
1610
|
+
},
|
|
1611
|
+
children: {
|
|
1612
|
+
type: "slot",
|
|
1613
|
+
defaultValue: [{
|
|
1614
|
+
type: "text",
|
|
1615
|
+
value: "Tab Content"
|
|
1616
|
+
}]
|
|
1617
|
+
}
|
|
1618
|
+
},
|
|
1619
|
+
parentComponentName: "AntdTabs",
|
|
1620
|
+
importPath: "rc-tabs",
|
|
1621
|
+
importName: "TabPane"
|
|
1622
|
+
};
|
|
1623
|
+
function registerTabPane(loader, customTabPaneMeta) {
|
|
1624
|
+
var doRegisterComponent = function doRegisterComponent() {
|
|
1625
|
+
return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
|
|
1626
|
+
};
|
|
1627
|
+
|
|
1628
|
+
doRegisterComponent(TabPane, customTabPaneMeta != null ? customTabPaneMeta : tabPaneMeta);
|
|
1629
|
+
}
|
|
1630
|
+
function Tabs(props) {
|
|
1631
|
+
var leftTabBarExtraContent = props.leftTabBarExtraContent,
|
|
1632
|
+
rightTabBarExtraContent = props.rightTabBarExtraContent,
|
|
1633
|
+
otherProps = _objectWithoutPropertiesLoose(props, ["leftTabBarExtraContent", "rightTabBarExtraContent"]);
|
|
1634
|
+
|
|
1635
|
+
return React.createElement(Tabs$1, Object.assign({}, otherProps, {
|
|
1636
|
+
tabBarExtraContent: {
|
|
1637
|
+
left: leftTabBarExtraContent,
|
|
1638
|
+
right: rightTabBarExtraContent
|
|
1639
|
+
}
|
|
1640
|
+
}));
|
|
1641
|
+
}
|
|
1642
|
+
var tabsMeta = {
|
|
1643
|
+
name: "AntdTabs",
|
|
1644
|
+
displayName: "Antd Tabs",
|
|
1645
|
+
props: {
|
|
1646
|
+
type: {
|
|
1647
|
+
type: "choice",
|
|
1648
|
+
options: ["line", "card", "editable-card"],
|
|
1649
|
+
defaultValueHint: "line",
|
|
1650
|
+
description: "Basic style of tabs"
|
|
1651
|
+
},
|
|
1652
|
+
addIcon: {
|
|
1653
|
+
type: "slot",
|
|
1654
|
+
hidePlaceholder: true
|
|
1655
|
+
},
|
|
1656
|
+
animated: {
|
|
1657
|
+
type: "object",
|
|
1658
|
+
hidden: function hidden(props) {
|
|
1659
|
+
return props.tabPosition !== "top" && !!props.tabPosition;
|
|
1660
|
+
},
|
|
1661
|
+
defaultValueHint: {
|
|
1662
|
+
inkBar: true,
|
|
1663
|
+
tabPane: false
|
|
1664
|
+
},
|
|
1665
|
+
description: "Whether to change tabs with animation. Can be either a boolean or specify for inkBar and tabPane"
|
|
1666
|
+
},
|
|
1667
|
+
hideAdd: {
|
|
1668
|
+
type: "boolean",
|
|
1669
|
+
hidden: function hidden(props) {
|
|
1670
|
+
return props.type !== "editable-card";
|
|
1671
|
+
},
|
|
1672
|
+
defaultValueHint: false,
|
|
1673
|
+
description: "Hide plus icon or not"
|
|
1674
|
+
},
|
|
1675
|
+
moreIcon: {
|
|
1676
|
+
type: "slot",
|
|
1677
|
+
hidePlaceholder: true
|
|
1678
|
+
},
|
|
1679
|
+
size: {
|
|
1680
|
+
type: "choice",
|
|
1681
|
+
options: ["large", "default", "small"],
|
|
1682
|
+
defaultValueHint: "default",
|
|
1683
|
+
description: "Preset tab bar size"
|
|
1684
|
+
},
|
|
1685
|
+
tabPosition: {
|
|
1686
|
+
type: "choice",
|
|
1687
|
+
options: ["top", "right", "bottom", "left"],
|
|
1688
|
+
defaultValueHint: "top",
|
|
1689
|
+
description: "Position of tabs"
|
|
1690
|
+
},
|
|
1691
|
+
tabBarGutter: {
|
|
1692
|
+
type: "number",
|
|
1693
|
+
description: "The gap between tabs"
|
|
1694
|
+
},
|
|
1695
|
+
centered: {
|
|
1696
|
+
type: "boolean",
|
|
1697
|
+
description: "Centers tabs",
|
|
1698
|
+
defaultValueHint: false
|
|
1699
|
+
},
|
|
1700
|
+
leftTabBarExtraContent: {
|
|
1701
|
+
type: "slot",
|
|
1702
|
+
hidePlaceholder: true
|
|
1703
|
+
},
|
|
1704
|
+
rightTabBarExtraContent: {
|
|
1705
|
+
type: "slot",
|
|
1706
|
+
hidePlaceholder: true
|
|
1707
|
+
},
|
|
1708
|
+
tabBarStyle: {
|
|
1709
|
+
type: "object",
|
|
1710
|
+
description: "CSS for the Tab Bar style"
|
|
1711
|
+
},
|
|
1712
|
+
activeKey: {
|
|
1713
|
+
type: "choice",
|
|
1714
|
+
editOnly: true,
|
|
1715
|
+
uncontrolledProp: "defaultActiveKey",
|
|
1716
|
+
description: "Initial active TabPane's key",
|
|
1717
|
+
options: function options(props) {
|
|
1718
|
+
var options = new Set();
|
|
1719
|
+
traverseReactEltTree(props.children, function (elt) {
|
|
1720
|
+
if ((elt == null ? void 0 : elt.type) === TabPane && typeof (elt == null ? void 0 : elt.key) === "string") {
|
|
1721
|
+
options.add(elt.key);
|
|
1722
|
+
}
|
|
1723
|
+
});
|
|
1724
|
+
return Array.from(options.keys());
|
|
1725
|
+
}
|
|
1726
|
+
},
|
|
1727
|
+
children: {
|
|
1728
|
+
type: "slot",
|
|
1729
|
+
allowedComponents: ["AntdTabPane"],
|
|
1730
|
+
defaultValue: [{
|
|
1731
|
+
type: "component",
|
|
1732
|
+
name: "AntdTabPane",
|
|
1733
|
+
props: {
|
|
1734
|
+
key: "1"
|
|
1735
|
+
}
|
|
1736
|
+
}, {
|
|
1737
|
+
type: "component",
|
|
1738
|
+
name: "AntdTabPane",
|
|
1739
|
+
props: {
|
|
1740
|
+
key: "2"
|
|
1741
|
+
}
|
|
1742
|
+
}]
|
|
1743
|
+
}
|
|
1744
|
+
},
|
|
1745
|
+
importPath: "@plasmicpkgs/antd",
|
|
1746
|
+
importName: "Tabs"
|
|
1747
|
+
};
|
|
1748
|
+
function registerTabs(loader, customTabsMeta) {
|
|
1749
|
+
var doRegisterComponent = function doRegisterComponent() {
|
|
1750
|
+
return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
|
|
1751
|
+
};
|
|
1752
|
+
|
|
1753
|
+
doRegisterComponent(Tabs, customTabsMeta != null ? customTabsMeta : tabsMeta);
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1461
1756
|
function registerAll(loader) {
|
|
1462
1757
|
registerButton(loader);
|
|
1463
1758
|
registerSlider(loader);
|
|
@@ -1482,7 +1777,9 @@ function registerAll(loader) {
|
|
|
1482
1777
|
registerInputSearch(loader);
|
|
1483
1778
|
registerInputPassword(loader);
|
|
1484
1779
|
registerInputGroup(loader);
|
|
1780
|
+
registerTabPane(loader);
|
|
1781
|
+
registerTabs(loader);
|
|
1485
1782
|
}
|
|
1486
1783
|
|
|
1487
|
-
export { Dropdown, Slider, buttonMeta, carouselMeta, checkboxGroupMeta, checkboxMeta, collapsteMeta, collapstePanelMeta, dropdownButtonMeta, dropdownMeta, inputGroupMeta, inputMeta, inputPasswordMeta, inputSearchMeta, inputTextAreaMeta, menuDividerMeta, menuItemGroupMeta, menuItemMeta, menuMeta, optGroupMeta, optionMeta, registerAll, registerButton, registerCarousel, registerCheckbox, registerCheckboxGroup, registerCollapse, registerCollapsePanel, registerDropdown, registerDropdownButton, registerInput, registerInputGroup, registerInputPassword, registerInputSearch, registerInputTextArea, registerMenu, registerMenuDivider, registerMenuItem, registerMenuItemGroup, registerOptGroup, registerOption, registerSelect, registerSlider, registerSubMenu, registerSwitch, selectMeta, sliderMeta, subMenuMeta, switchMeta };
|
|
1784
|
+
export { Dropdown, Slider, Tabs, buttonMeta, carouselMeta, checkboxGroupMeta, checkboxMeta, collapsteMeta, collapstePanelMeta, dropdownButtonMeta, dropdownMeta, inputGroupMeta, inputMeta, inputPasswordMeta, inputSearchMeta, inputTextAreaMeta, menuDividerMeta, menuItemGroupMeta, menuItemMeta, menuMeta, optGroupMeta, optionMeta, registerAll, registerButton, registerCarousel, registerCheckbox, registerCheckboxGroup, registerCollapse, registerCollapsePanel, registerDropdown, registerDropdownButton, registerInput, registerInputGroup, registerInputPassword, registerInputSearch, registerInputTextArea, registerMenu, registerMenuDivider, registerMenuItem, registerMenuItemGroup, registerOptGroup, registerOption, registerSelect, registerSlider, registerSubMenu, registerSwitch, registerTabPane, registerTabs, selectMeta, sliderMeta, subMenuMeta, switchMeta, tabPaneMeta, tabsMeta };
|
|
1488
1785
|
//# sourceMappingURL=antd.esm.js.map
|