@sdata/web-vue 1.4.0 → 1.4.1

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.
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
4
  "name": "@sdata/web-vue",
5
- "version": "1.3.0",
5
+ "version": "1.4.0",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "types-syntax": "typescript",
@@ -333,6 +333,116 @@
333
333
  }
334
334
  ]
335
335
  },
336
+ {
337
+ "name": "sd-back-top",
338
+ "attributes": [
339
+ {
340
+ "name": "visible-height",
341
+ "description": "Display the trigger scroll height of the back to top button",
342
+ "value": {
343
+ "type": "number",
344
+ "kind": "expression"
345
+ }
346
+ },
347
+ {
348
+ "name": "target-container",
349
+ "description": "Scroll event listener container",
350
+ "value": {
351
+ "type": "string | HTMLElement",
352
+ "kind": "expression"
353
+ }
354
+ },
355
+ {
356
+ "name": "easing",
357
+ "description": "Easing mode of scrolling animation, refer to [BTween](https://github.com/PengJiyuan/b-tween) for optional values",
358
+ "value": {
359
+ "type": "string",
360
+ "kind": "expression"
361
+ }
362
+ },
363
+ {
364
+ "name": "duration",
365
+ "description": "Duration of scroll animation",
366
+ "value": {
367
+ "type": "number",
368
+ "kind": "expression"
369
+ }
370
+ }
371
+ ],
372
+ "events": [],
373
+ "slots": []
374
+ },
375
+ {
376
+ "name": "sd-badge",
377
+ "attributes": [
378
+ {
379
+ "name": "text",
380
+ "description": "Set the display text of the status dot",
381
+ "value": {
382
+ "type": "string",
383
+ "kind": "expression"
384
+ }
385
+ },
386
+ {
387
+ "name": "dot",
388
+ "description": "Whether to display a red dot instead of `count`",
389
+ "value": {
390
+ "type": "boolean",
391
+ "kind": "expression"
392
+ }
393
+ },
394
+ {
395
+ "name": "dot-style",
396
+ "description": "Customize badge dot style",
397
+ "value": {
398
+ "type": "object",
399
+ "kind": "expression"
400
+ }
401
+ },
402
+ {
403
+ "name": "max-count",
404
+ "description": "Max count to show. If count is larger than this value, it will be displayed as `${maxCount}+`",
405
+ "value": {
406
+ "type": "number",
407
+ "kind": "expression"
408
+ }
409
+ },
410
+ {
411
+ "name": "offset",
412
+ "description": "Set offset of the badge dot",
413
+ "value": {
414
+ "type": "number[]",
415
+ "kind": "expression"
416
+ }
417
+ },
418
+ {
419
+ "name": "color",
420
+ "description": "Customize dot color",
421
+ "value": {
422
+ "type": "ColorType | string",
423
+ "kind": "expression"
424
+ }
425
+ },
426
+ {
427
+ "name": "status",
428
+ "description": "Badge status",
429
+ "value": {
430
+ "type": "BadgeStatus",
431
+ "kind": "expression"
432
+ }
433
+ },
434
+ {
435
+ "name": "count",
436
+ "description": "Number to show in badge",
437
+ "value": {
438
+ "type": "number",
439
+ "kind": "expression"
440
+ }
441
+ }
442
+ ],
443
+ "events": [],
444
+ "slots": []
445
+ },
336
446
  {
337
447
  "name": "sd-avatar",
338
448
  "attributes": [
@@ -477,116 +587,6 @@
477
587
  "events": [],
478
588
  "slots": []
479
589
  },
480
- {
481
- "name": "sd-badge",
482
- "attributes": [
483
- {
484
- "name": "text",
485
- "description": "Set the display text of the status dot",
486
- "value": {
487
- "type": "string",
488
- "kind": "expression"
489
- }
490
- },
491
- {
492
- "name": "dot",
493
- "description": "Whether to display a red dot instead of `count`",
494
- "value": {
495
- "type": "boolean",
496
- "kind": "expression"
497
- }
498
- },
499
- {
500
- "name": "dot-style",
501
- "description": "Customize badge dot style",
502
- "value": {
503
- "type": "object",
504
- "kind": "expression"
505
- }
506
- },
507
- {
508
- "name": "max-count",
509
- "description": "Max count to show. If count is larger than this value, it will be displayed as `${maxCount}+`",
510
- "value": {
511
- "type": "number",
512
- "kind": "expression"
513
- }
514
- },
515
- {
516
- "name": "offset",
517
- "description": "Set offset of the badge dot",
518
- "value": {
519
- "type": "number[]",
520
- "kind": "expression"
521
- }
522
- },
523
- {
524
- "name": "color",
525
- "description": "Customize dot color",
526
- "value": {
527
- "type": "ColorType | string",
528
- "kind": "expression"
529
- }
530
- },
531
- {
532
- "name": "status",
533
- "description": "Badge status",
534
- "value": {
535
- "type": "BadgeStatus",
536
- "kind": "expression"
537
- }
538
- },
539
- {
540
- "name": "count",
541
- "description": "Number to show in badge",
542
- "value": {
543
- "type": "number",
544
- "kind": "expression"
545
- }
546
- }
547
- ],
548
- "events": [],
549
- "slots": []
550
- },
551
- {
552
- "name": "sd-back-top",
553
- "attributes": [
554
- {
555
- "name": "visible-height",
556
- "description": "Display the trigger scroll height of the back to top button",
557
- "value": {
558
- "type": "number",
559
- "kind": "expression"
560
- }
561
- },
562
- {
563
- "name": "target-container",
564
- "description": "Scroll event listener container",
565
- "value": {
566
- "type": "string | HTMLElement",
567
- "kind": "expression"
568
- }
569
- },
570
- {
571
- "name": "easing",
572
- "description": "Easing mode of scrolling animation, refer to [BTween](https://github.com/PengJiyuan/b-tween) for optional values",
573
- "value": {
574
- "type": "string",
575
- "kind": "expression"
576
- }
577
- },
578
- {
579
- "name": "duration",
580
- "description": "Duration of scroll animation",
581
- "value": {
582
- "type": "number",
583
- "kind": "expression"
584
- }
585
- }
586
- ],
587
- "events": [],
588
- "slots": []
589
- },
590
590
  {
591
591
  "name": "sd-breadcrumb",
592
592
  "attributes": [
@@ -680,113 +680,48 @@
680
680
  ]
681
681
  },
682
682
  {
683
- "name": "sd-calendar",
683
+ "name": "sd-button",
684
684
  "attributes": [
685
685
  {
686
- "name": "model-value",
687
- "description": "Value",
686
+ "name": "type",
687
+ "description": "Button types are divided into five types: secondary, primary, dashed, outline and text.",
688
688
  "value": {
689
- "type": "date",
689
+ "type": "ButtonTypes",
690
690
  "kind": "expression"
691
691
  }
692
692
  },
693
693
  {
694
- "name": "default-value",
695
- "description": "Default value (uncontrolled state)",
694
+ "name": "shape",
695
+ "description": "Button shape",
696
696
  "value": {
697
- "type": "date",
697
+ "type": "BorderShape",
698
698
  "kind": "expression"
699
699
  }
700
700
  },
701
701
  {
702
- "name": "mode",
703
- "description": "Mode",
702
+ "name": "status",
703
+ "description": "Button state",
704
704
  "value": {
705
- "type": "string",
705
+ "type": "Status",
706
706
  "kind": "expression"
707
707
  }
708
708
  },
709
709
  {
710
- "name": "default-mode",
711
- "description": "Default Mode",
710
+ "name": "size",
711
+ "description": "Button size",
712
712
  "value": {
713
- "type": "string",
713
+ "type": "Size",
714
714
  "kind": "expression"
715
715
  }
716
716
  },
717
717
  {
718
- "name": "modes",
719
- "description": "Displayed mode",
718
+ "name": "long",
719
+ "description": "Whether the width of the button adapts to the container.",
720
720
  "value": {
721
- "type": "('month' | 'year')[]",
721
+ "type": "boolean",
722
722
  "kind": "expression"
723
723
  }
724
- }
725
- ],
726
- "events": [
727
- {
728
- "name": "change",
729
- "description": "Emitted when the button is clicked"
730
- },
731
- {
732
- "name": "panel-change",
733
- "description": "Emitted when the button is clicked"
734
- }
735
- ],
736
- "slots": [
737
- {
738
- "name": "header",
739
- "description": "Custom header content"
740
- },
741
- {
742
- "name": "default",
743
- "description": "Custom cell content"
744
- }
745
- ]
746
- },
747
- {
748
- "name": "sd-button",
749
- "attributes": [
750
- {
751
- "name": "type",
752
- "description": "Button types are divided into five types: secondary, primary, dashed, outline and text.",
753
- "value": {
754
- "type": "ButtonTypes",
755
- "kind": "expression"
756
- }
757
- },
758
- {
759
- "name": "shape",
760
- "description": "Button shape",
761
- "value": {
762
- "type": "BorderShape",
763
- "kind": "expression"
764
- }
765
- },
766
- {
767
- "name": "status",
768
- "description": "Button state",
769
- "value": {
770
- "type": "Status",
771
- "kind": "expression"
772
- }
773
- },
774
- {
775
- "name": "size",
776
- "description": "Button size",
777
- "value": {
778
- "type": "Size",
779
- "kind": "expression"
780
- }
781
- },
782
- {
783
- "name": "long",
784
- "description": "Whether the width of the button adapts to the container.",
785
- "value": {
786
- "type": "boolean",
787
- "kind": "expression"
788
- }
789
- },
724
+ },
790
725
  {
791
726
  "name": "loading",
792
727
  "description": "Whether the button is in the loading state",
@@ -888,6 +823,71 @@
888
823
  "events": [],
889
824
  "slots": []
890
825
  },
826
+ {
827
+ "name": "sd-calendar",
828
+ "attributes": [
829
+ {
830
+ "name": "model-value",
831
+ "description": "Value",
832
+ "value": {
833
+ "type": "date",
834
+ "kind": "expression"
835
+ }
836
+ },
837
+ {
838
+ "name": "default-value",
839
+ "description": "Default value (uncontrolled state)",
840
+ "value": {
841
+ "type": "date",
842
+ "kind": "expression"
843
+ }
844
+ },
845
+ {
846
+ "name": "mode",
847
+ "description": "Mode",
848
+ "value": {
849
+ "type": "string",
850
+ "kind": "expression"
851
+ }
852
+ },
853
+ {
854
+ "name": "default-mode",
855
+ "description": "Default Mode",
856
+ "value": {
857
+ "type": "string",
858
+ "kind": "expression"
859
+ }
860
+ },
861
+ {
862
+ "name": "modes",
863
+ "description": "Displayed mode",
864
+ "value": {
865
+ "type": "('month' | 'year')[]",
866
+ "kind": "expression"
867
+ }
868
+ }
869
+ ],
870
+ "events": [
871
+ {
872
+ "name": "change",
873
+ "description": "Emitted when the button is clicked"
874
+ },
875
+ {
876
+ "name": "panel-change",
877
+ "description": "Emitted when the button is clicked"
878
+ }
879
+ ],
880
+ "slots": [
881
+ {
882
+ "name": "header",
883
+ "description": "Custom header content"
884
+ },
885
+ {
886
+ "name": "default",
887
+ "description": "Custom cell content"
888
+ }
889
+ ]
890
+ },
891
891
  {
892
892
  "name": "sd-carousel",
893
893
  "attributes": [
@@ -1143,132 +1143,6 @@
1143
1143
  "events": [],
1144
1144
  "slots": []
1145
1145
  },
1146
- {
1147
- "name": "sd-checkbox",
1148
- "attributes": [
1149
- {
1150
- "name": "model-value",
1151
- "description": "Value",
1152
- "value": {
1153
- "type": "boolean | Array<string | number | boolean>",
1154
- "kind": "expression"
1155
- }
1156
- },
1157
- {
1158
- "name": "default-checked",
1159
- "description": "Whether checked by default (uncontrolled state)",
1160
- "value": {
1161
- "type": "boolean",
1162
- "kind": "expression"
1163
- }
1164
- },
1165
- {
1166
- "name": "value",
1167
- "description": "The `value` of the option",
1168
- "value": {
1169
- "type": "string|number|boolean",
1170
- "kind": "expression"
1171
- }
1172
- },
1173
- {
1174
- "name": "disabled",
1175
- "description": "Whether to disable",
1176
- "value": {
1177
- "type": "boolean",
1178
- "kind": "expression"
1179
- }
1180
- },
1181
- {
1182
- "name": "indeterminate",
1183
- "description": "Whether it is half-selected",
1184
- "value": {
1185
- "type": "boolean",
1186
- "kind": "expression"
1187
- }
1188
- }
1189
- ],
1190
- "events": [
1191
- {
1192
- "name": "change",
1193
- "description": "Trigger when the value changes"
1194
- }
1195
- ],
1196
- "slots": [
1197
- {
1198
- "name": "checkbox",
1199
- "description": "Custom checkbox"
1200
- }
1201
- ]
1202
- },
1203
- {
1204
- "name": "sd-checkbox-group",
1205
- "attributes": [
1206
- {
1207
- "name": "model-value",
1208
- "description": "Value",
1209
- "value": {
1210
- "type": "Array<string | number | boolean>",
1211
- "kind": "expression"
1212
- }
1213
- },
1214
- {
1215
- "name": "default-value",
1216
- "description": "Default value (uncontrolled state)",
1217
- "value": {
1218
- "type": "Array<string | number | boolean>",
1219
- "kind": "expression"
1220
- }
1221
- },
1222
- {
1223
- "name": "max",
1224
- "description": "Support the maximum number of selections",
1225
- "value": {
1226
- "type": "number",
1227
- "kind": "expression"
1228
- }
1229
- },
1230
- {
1231
- "name": "options",
1232
- "description": "Options",
1233
- "value": {
1234
- "type": "Array<string | number | CheckboxOption>",
1235
- "kind": "expression"
1236
- }
1237
- },
1238
- {
1239
- "name": "direction",
1240
- "description": "Arrangement direction of checkboxes",
1241
- "value": {
1242
- "type": "Direction",
1243
- "kind": "expression"
1244
- }
1245
- },
1246
- {
1247
- "name": "disabled",
1248
- "description": "Whether to disable",
1249
- "value": {
1250
- "type": "boolean",
1251
- "kind": "expression"
1252
- }
1253
- }
1254
- ],
1255
- "events": [
1256
- {
1257
- "name": "change",
1258
- "description": "Trigger when the value changes"
1259
- }
1260
- ],
1261
- "slots": [
1262
- {
1263
- "name": "checkbox",
1264
- "description": "Custom checkbox"
1265
- },
1266
- {
1267
- "name": "label",
1268
- "description": "checkbox label content"
1269
- }
1270
- ]
1271
- },
1272
1146
  {
1273
1147
  "name": "sd-cascader",
1274
1148
  "attributes": [
@@ -1696,7 +1570,133 @@
1696
1570
  ]
1697
1571
  },
1698
1572
  {
1699
- "name": "sd-collapse",
1573
+ "name": "sd-checkbox",
1574
+ "attributes": [
1575
+ {
1576
+ "name": "model-value",
1577
+ "description": "Value",
1578
+ "value": {
1579
+ "type": "boolean | Array<string | number | boolean>",
1580
+ "kind": "expression"
1581
+ }
1582
+ },
1583
+ {
1584
+ "name": "default-checked",
1585
+ "description": "Whether checked by default (uncontrolled state)",
1586
+ "value": {
1587
+ "type": "boolean",
1588
+ "kind": "expression"
1589
+ }
1590
+ },
1591
+ {
1592
+ "name": "value",
1593
+ "description": "The `value` of the option",
1594
+ "value": {
1595
+ "type": "string|number|boolean",
1596
+ "kind": "expression"
1597
+ }
1598
+ },
1599
+ {
1600
+ "name": "disabled",
1601
+ "description": "Whether to disable",
1602
+ "value": {
1603
+ "type": "boolean",
1604
+ "kind": "expression"
1605
+ }
1606
+ },
1607
+ {
1608
+ "name": "indeterminate",
1609
+ "description": "Whether it is half-selected",
1610
+ "value": {
1611
+ "type": "boolean",
1612
+ "kind": "expression"
1613
+ }
1614
+ }
1615
+ ],
1616
+ "events": [
1617
+ {
1618
+ "name": "change",
1619
+ "description": "Trigger when the value changes"
1620
+ }
1621
+ ],
1622
+ "slots": [
1623
+ {
1624
+ "name": "checkbox",
1625
+ "description": "Custom checkbox"
1626
+ }
1627
+ ]
1628
+ },
1629
+ {
1630
+ "name": "sd-checkbox-group",
1631
+ "attributes": [
1632
+ {
1633
+ "name": "model-value",
1634
+ "description": "Value",
1635
+ "value": {
1636
+ "type": "Array<string | number | boolean>",
1637
+ "kind": "expression"
1638
+ }
1639
+ },
1640
+ {
1641
+ "name": "default-value",
1642
+ "description": "Default value (uncontrolled state)",
1643
+ "value": {
1644
+ "type": "Array<string | number | boolean>",
1645
+ "kind": "expression"
1646
+ }
1647
+ },
1648
+ {
1649
+ "name": "max",
1650
+ "description": "Support the maximum number of selections",
1651
+ "value": {
1652
+ "type": "number",
1653
+ "kind": "expression"
1654
+ }
1655
+ },
1656
+ {
1657
+ "name": "options",
1658
+ "description": "Options",
1659
+ "value": {
1660
+ "type": "Array<string | number | CheckboxOption>",
1661
+ "kind": "expression"
1662
+ }
1663
+ },
1664
+ {
1665
+ "name": "direction",
1666
+ "description": "Arrangement direction of checkboxes",
1667
+ "value": {
1668
+ "type": "Direction",
1669
+ "kind": "expression"
1670
+ }
1671
+ },
1672
+ {
1673
+ "name": "disabled",
1674
+ "description": "Whether to disable",
1675
+ "value": {
1676
+ "type": "boolean",
1677
+ "kind": "expression"
1678
+ }
1679
+ }
1680
+ ],
1681
+ "events": [
1682
+ {
1683
+ "name": "change",
1684
+ "description": "Trigger when the value changes"
1685
+ }
1686
+ ],
1687
+ "slots": [
1688
+ {
1689
+ "name": "checkbox",
1690
+ "description": "Custom checkbox"
1691
+ },
1692
+ {
1693
+ "name": "label",
1694
+ "description": "checkbox label content"
1695
+ }
1696
+ ]
1697
+ },
1698
+ {
1699
+ "name": "sd-collapse",
1700
1700
  "attributes": [
1701
1701
  {
1702
1702
  "name": "active-key",
@@ -1935,74 +1935,6 @@
1935
1935
  ],
1936
1936
  "slots": []
1937
1937
  },
1938
- {
1939
- "name": "sd-comment",
1940
- "attributes": [
1941
- {
1942
- "name": "author",
1943
- "description": "Display as the comment author",
1944
- "value": {
1945
- "type": "string",
1946
- "kind": "expression"
1947
- }
1948
- },
1949
- {
1950
- "name": "avatar",
1951
- "description": "Display as the comment avatar",
1952
- "value": {
1953
- "type": "string",
1954
- "kind": "expression"
1955
- }
1956
- },
1957
- {
1958
- "name": "content",
1959
- "description": "The content of the comment",
1960
- "value": {
1961
- "type": "string",
1962
- "kind": "expression"
1963
- }
1964
- },
1965
- {
1966
- "name": "datetime",
1967
- "description": "Display as the comment datetime",
1968
- "value": {
1969
- "type": "string",
1970
- "kind": "expression"
1971
- }
1972
- },
1973
- {
1974
- "name": "align",
1975
- "description": "Alignment of `datetime` and `actions`",
1976
- "value": {
1977
- "type": "string|object",
1978
- "kind": "expression"
1979
- }
1980
- }
1981
- ],
1982
- "events": [],
1983
- "slots": [
1984
- {
1985
- "name": "avatar",
1986
- "description": "Avatar"
1987
- },
1988
- {
1989
- "name": "author",
1990
- "description": "Author name"
1991
- },
1992
- {
1993
- "name": "datetime",
1994
- "description": "Datetime info"
1995
- },
1996
- {
1997
- "name": "content",
1998
- "description": "Comment content"
1999
- },
2000
- {
2001
- "name": "actions",
2002
- "description": "Action list"
2003
- }
2004
- ]
2005
- },
2006
1938
  {
2007
1939
  "name": "sd-config-provider",
2008
1940
  "attributes": [
@@ -2076,35 +2008,35 @@
2076
2008
  ]
2077
2009
  },
2078
2010
  {
2079
- "name": "sd-descriptions",
2011
+ "name": "sd-comment",
2080
2012
  "attributes": [
2081
2013
  {
2082
- "name": "data",
2083
- "description": "Data for descriptions",
2014
+ "name": "author",
2015
+ "description": "Display as the comment author",
2084
2016
  "value": {
2085
- "type": "DescData[]",
2017
+ "type": "string",
2086
2018
  "kind": "expression"
2087
2019
  }
2088
2020
  },
2089
2021
  {
2090
- "name": "column",
2091
- "description": "The number of data placed in each row. Version 2.20.0 supports reactive configuration, the configuration can refer to Grid",
2022
+ "name": "avatar",
2023
+ "description": "Display as the comment avatar",
2092
2024
  "value": {
2093
- "type": "number | ResponsiveValue",
2025
+ "type": "string",
2094
2026
  "kind": "expression"
2095
2027
  }
2096
2028
  },
2097
2029
  {
2098
- "name": "title",
2099
- "description": "Title of descriptions",
2030
+ "name": "content",
2031
+ "description": "The content of the comment",
2100
2032
  "value": {
2101
2033
  "type": "string",
2102
2034
  "kind": "expression"
2103
2035
  }
2104
2036
  },
2105
2037
  {
2106
- "name": "layout",
2107
- "description": "Arrangement of descriptions",
2038
+ "name": "datetime",
2039
+ "description": "Display as the comment datetime",
2108
2040
  "value": {
2109
2041
  "type": "string",
2110
2042
  "kind": "expression"
@@ -2112,94 +2044,34 @@
2112
2044
  },
2113
2045
  {
2114
2046
  "name": "align",
2115
- "description": "Alignment position of text",
2047
+ "description": "Alignment of `datetime` and `actions`",
2116
2048
  "value": {
2117
- "type": "TextAlign | { label?: TextAlign; value?: TextAlign }",
2049
+ "type": "string|object",
2118
2050
  "kind": "expression"
2119
2051
  }
2052
+ }
2053
+ ],
2054
+ "events": [],
2055
+ "slots": [
2056
+ {
2057
+ "name": "avatar",
2058
+ "description": "Avatar"
2120
2059
  },
2121
2060
  {
2122
- "name": "size",
2123
- "description": "The size of the descriptions",
2124
- "value": {
2125
- "type": "Size",
2126
- "kind": "expression"
2127
- }
2061
+ "name": "author",
2062
+ "description": "Author name"
2128
2063
  },
2129
2064
  {
2130
- "name": "bordered",
2131
- "description": "Whether to show the border",
2132
- "value": {
2133
- "type": "boolean",
2134
- "kind": "expression"
2135
- }
2065
+ "name": "datetime",
2066
+ "description": "Datetime info"
2136
2067
  },
2137
2068
  {
2138
- "name": "label-style",
2139
- "description": "Data label style",
2140
- "value": {
2141
- "type": "CSSProperties",
2142
- "kind": "expression"
2143
- }
2069
+ "name": "content",
2070
+ "description": "Comment content"
2144
2071
  },
2145
2072
  {
2146
- "name": "value-style",
2147
- "description": "Data content style",
2148
- "value": {
2149
- "type": "CSSProperties",
2150
- "kind": "expression"
2151
- }
2152
- },
2153
- {
2154
- "name": "table-layout",
2155
- "description": "The `layout-fixed` of the table style in the description. The width will be evenly distributed when it's set to `fixed`.",
2156
- "value": {
2157
- "type": "string",
2158
- "kind": "expression"
2159
- }
2160
- }
2161
- ],
2162
- "events": [],
2163
- "slots": [
2164
- {
2165
- "name": "value",
2166
- "description": "Data value"
2167
- },
2168
- {
2169
- "name": "label",
2170
- "description": "Data label"
2171
- },
2172
- {
2173
- "name": "title",
2174
- "description": "Title"
2175
- }
2176
- ]
2177
- },
2178
- {
2179
- "name": "sd-descriptions-item",
2180
- "attributes": [
2181
- {
2182
- "name": "span",
2183
- "description": "number of columns",
2184
- "value": {
2185
- "type": "number",
2186
- "kind": "expression"
2187
- }
2188
- },
2189
- {
2190
- "name": "label",
2191
- "description": "Label",
2192
- "value": {
2193
- "type": "string",
2194
- "kind": "expression"
2195
- }
2196
- }
2197
- ],
2198
- "events": [],
2199
- "slots": [
2200
- {
2201
- "name": "label",
2202
- "description": "Label"
2073
+ "name": "actions",
2074
+ "description": "Action list"
2203
2075
  }
2204
2076
  ]
2205
2077
  },
@@ -2383,6 +2255,134 @@
2383
2255
  ],
2384
2256
  "slots": []
2385
2257
  },
2258
+ {
2259
+ "name": "sd-descriptions",
2260
+ "attributes": [
2261
+ {
2262
+ "name": "data",
2263
+ "description": "Data for descriptions",
2264
+ "value": {
2265
+ "type": "DescData[]",
2266
+ "kind": "expression"
2267
+ }
2268
+ },
2269
+ {
2270
+ "name": "column",
2271
+ "description": "The number of data placed in each row. Version 2.20.0 supports reactive configuration, the configuration can refer to Grid",
2272
+ "value": {
2273
+ "type": "number | ResponsiveValue",
2274
+ "kind": "expression"
2275
+ }
2276
+ },
2277
+ {
2278
+ "name": "title",
2279
+ "description": "Title of descriptions",
2280
+ "value": {
2281
+ "type": "string",
2282
+ "kind": "expression"
2283
+ }
2284
+ },
2285
+ {
2286
+ "name": "layout",
2287
+ "description": "Arrangement of descriptions",
2288
+ "value": {
2289
+ "type": "string",
2290
+ "kind": "expression"
2291
+ }
2292
+ },
2293
+ {
2294
+ "name": "align",
2295
+ "description": "Alignment position of text",
2296
+ "value": {
2297
+ "type": "TextAlign | { label?: TextAlign; value?: TextAlign }",
2298
+ "kind": "expression"
2299
+ }
2300
+ },
2301
+ {
2302
+ "name": "size",
2303
+ "description": "The size of the descriptions",
2304
+ "value": {
2305
+ "type": "Size",
2306
+ "kind": "expression"
2307
+ }
2308
+ },
2309
+ {
2310
+ "name": "bordered",
2311
+ "description": "Whether to show the border",
2312
+ "value": {
2313
+ "type": "boolean",
2314
+ "kind": "expression"
2315
+ }
2316
+ },
2317
+ {
2318
+ "name": "label-style",
2319
+ "description": "Data label style",
2320
+ "value": {
2321
+ "type": "CSSProperties",
2322
+ "kind": "expression"
2323
+ }
2324
+ },
2325
+ {
2326
+ "name": "value-style",
2327
+ "description": "Data content style",
2328
+ "value": {
2329
+ "type": "CSSProperties",
2330
+ "kind": "expression"
2331
+ }
2332
+ },
2333
+ {
2334
+ "name": "table-layout",
2335
+ "description": "The `layout-fixed` of the table style in the description. The width will be evenly distributed when it's set to `fixed`.",
2336
+ "value": {
2337
+ "type": "string",
2338
+ "kind": "expression"
2339
+ }
2340
+ }
2341
+ ],
2342
+ "events": [],
2343
+ "slots": [
2344
+ {
2345
+ "name": "value",
2346
+ "description": "Data value"
2347
+ },
2348
+ {
2349
+ "name": "label",
2350
+ "description": "Data label"
2351
+ },
2352
+ {
2353
+ "name": "title",
2354
+ "description": "Title"
2355
+ }
2356
+ ]
2357
+ },
2358
+ {
2359
+ "name": "sd-descriptions-item",
2360
+ "attributes": [
2361
+ {
2362
+ "name": "span",
2363
+ "description": "number of columns",
2364
+ "value": {
2365
+ "type": "number",
2366
+ "kind": "expression"
2367
+ }
2368
+ },
2369
+ {
2370
+ "name": "label",
2371
+ "description": "Label",
2372
+ "value": {
2373
+ "type": "string",
2374
+ "kind": "expression"
2375
+ }
2376
+ }
2377
+ ],
2378
+ "events": [],
2379
+ "slots": [
2380
+ {
2381
+ "name": "label",
2382
+ "description": "Label"
2383
+ }
2384
+ ]
2385
+ },
2386
2386
  {
2387
2387
  "name": "sd-drawer",
2388
2388
  "attributes": [
@@ -2683,42 +2683,6 @@
2683
2683
  "events": [],
2684
2684
  "slots": []
2685
2685
  },
2686
- {
2687
- "name": "sd-empty",
2688
- "attributes": [
2689
- {
2690
- "name": "description",
2691
- "description": "Description",
2692
- "value": {
2693
- "type": "string",
2694
- "kind": "expression"
2695
- }
2696
- },
2697
- {
2698
- "name": "img-src",
2699
- "description": "The src of the Custom Image",
2700
- "value": {
2701
- "type": "string",
2702
- "kind": "expression"
2703
- }
2704
- },
2705
- {
2706
- "name": "in-config-provider",
2707
- "description": "Whether to use in ConfigProvider",
2708
- "value": {
2709
- "type": "boolean",
2710
- "kind": "expression"
2711
- }
2712
- }
2713
- ],
2714
- "events": [],
2715
- "slots": [
2716
- {
2717
- "name": "image",
2718
- "description": "Image/Icon"
2719
- }
2720
- ]
2721
- },
2722
2686
  {
2723
2687
  "name": "sd-dropdown",
2724
2688
  "attributes": [
@@ -3043,6 +3007,42 @@
3043
3007
  }
3044
3008
  ]
3045
3009
  },
3010
+ {
3011
+ "name": "sd-empty",
3012
+ "attributes": [
3013
+ {
3014
+ "name": "description",
3015
+ "description": "Description",
3016
+ "value": {
3017
+ "type": "string",
3018
+ "kind": "expression"
3019
+ }
3020
+ },
3021
+ {
3022
+ "name": "img-src",
3023
+ "description": "The src of the Custom Image",
3024
+ "value": {
3025
+ "type": "string",
3026
+ "kind": "expression"
3027
+ }
3028
+ },
3029
+ {
3030
+ "name": "in-config-provider",
3031
+ "description": "Whether to use in ConfigProvider",
3032
+ "value": {
3033
+ "type": "boolean",
3034
+ "kind": "expression"
3035
+ }
3036
+ }
3037
+ ],
3038
+ "events": [],
3039
+ "slots": [
3040
+ {
3041
+ "name": "image",
3042
+ "description": "Image/Icon"
3043
+ }
3044
+ ]
3045
+ },
3046
3046
  {
3047
3047
  "name": "sd-form",
3048
3048
  "attributes": [
@@ -5447,48 +5447,7 @@
5447
5447
  ]
5448
5448
  },
5449
5449
  {
5450
- "name": "sd-overflow-list",
5451
- "attributes": [
5452
- {
5453
- "name": "min",
5454
- "description": "Minimum number of elements to display",
5455
- "value": {
5456
- "type": "number",
5457
- "kind": "expression"
5458
- }
5459
- },
5460
- {
5461
- "name": "margin",
5462
- "description": "Item Margin",
5463
- "value": {
5464
- "type": "number",
5465
- "kind": "expression"
5466
- }
5467
- },
5468
- {
5469
- "name": "from",
5470
- "description": "Overflow From",
5471
- "value": {
5472
- "type": "string",
5473
- "kind": "expression"
5474
- }
5475
- }
5476
- ],
5477
- "events": [
5478
- {
5479
- "name": "change",
5480
- "description": "Triggered when the overflow quantity changes"
5481
- }
5482
- ],
5483
- "slots": [
5484
- {
5485
- "name": "overflow",
5486
- "description": "Overflow"
5487
- }
5488
- ]
5489
- },
5490
- {
5491
- "name": "sd-modal",
5450
+ "name": "sd-modal",
5492
5451
  "attributes": [
5493
5452
  {
5494
5453
  "name": "visible",
@@ -5999,6 +5958,104 @@
5999
5958
  }
6000
5959
  ]
6001
5960
  },
5961
+ {
5962
+ "name": "sd-page-header",
5963
+ "attributes": [
5964
+ {
5965
+ "name": "title",
5966
+ "description": "Main title",
5967
+ "value": {
5968
+ "type": "string",
5969
+ "kind": "expression"
5970
+ }
5971
+ },
5972
+ {
5973
+ "name": "subtitle",
5974
+ "description": "Subtitle",
5975
+ "value": {
5976
+ "type": "string",
5977
+ "kind": "expression"
5978
+ }
5979
+ },
5980
+ {
5981
+ "name": "show-back",
5982
+ "description": "Whether to show the back button",
5983
+ "value": {
5984
+ "type": "boolean",
5985
+ "kind": "expression"
5986
+ }
5987
+ }
5988
+ ],
5989
+ "events": [
5990
+ {
5991
+ "name": "back",
5992
+ "description": "Emitted when the back button is clicked"
5993
+ }
5994
+ ],
5995
+ "slots": [
5996
+ {
5997
+ "name": "breadcrumb",
5998
+ "description": "Breadcrumb"
5999
+ },
6000
+ {
6001
+ "name": "back-icon",
6002
+ "description": "Back icon"
6003
+ },
6004
+ {
6005
+ "name": "title",
6006
+ "description": "Main title"
6007
+ },
6008
+ {
6009
+ "name": "subtitle",
6010
+ "description": "Subtitle"
6011
+ },
6012
+ {
6013
+ "name": "extra",
6014
+ "description": "Extra content"
6015
+ }
6016
+ ]
6017
+ },
6018
+ {
6019
+ "name": "sd-overflow-list",
6020
+ "attributes": [
6021
+ {
6022
+ "name": "min",
6023
+ "description": "Minimum number of elements to display",
6024
+ "value": {
6025
+ "type": "number",
6026
+ "kind": "expression"
6027
+ }
6028
+ },
6029
+ {
6030
+ "name": "margin",
6031
+ "description": "Item Margin",
6032
+ "value": {
6033
+ "type": "number",
6034
+ "kind": "expression"
6035
+ }
6036
+ },
6037
+ {
6038
+ "name": "from",
6039
+ "description": "Overflow From",
6040
+ "value": {
6041
+ "type": "string",
6042
+ "kind": "expression"
6043
+ }
6044
+ }
6045
+ ],
6046
+ "events": [
6047
+ {
6048
+ "name": "change",
6049
+ "description": "Triggered when the overflow quantity changes"
6050
+ }
6051
+ ],
6052
+ "slots": [
6053
+ {
6054
+ "name": "overflow",
6055
+ "description": "Overflow"
6056
+ }
6057
+ ]
6058
+ },
6002
6059
  {
6003
6060
  "name": "sd-popconfirm",
6004
6061
  "attributes": [
@@ -6164,63 +6221,6 @@
6164
6221
  }
6165
6222
  ]
6166
6223
  },
6167
- {
6168
- "name": "sd-page-header",
6169
- "attributes": [
6170
- {
6171
- "name": "title",
6172
- "description": "Main title",
6173
- "value": {
6174
- "type": "string",
6175
- "kind": "expression"
6176
- }
6177
- },
6178
- {
6179
- "name": "subtitle",
6180
- "description": "Subtitle",
6181
- "value": {
6182
- "type": "string",
6183
- "kind": "expression"
6184
- }
6185
- },
6186
- {
6187
- "name": "show-back",
6188
- "description": "Whether to show the back button",
6189
- "value": {
6190
- "type": "boolean",
6191
- "kind": "expression"
6192
- }
6193
- }
6194
- ],
6195
- "events": [
6196
- {
6197
- "name": "back",
6198
- "description": "Emitted when the back button is clicked"
6199
- }
6200
- ],
6201
- "slots": [
6202
- {
6203
- "name": "breadcrumb",
6204
- "description": "Breadcrumb"
6205
- },
6206
- {
6207
- "name": "back-icon",
6208
- "description": "Back icon"
6209
- },
6210
- {
6211
- "name": "title",
6212
- "description": "Main title"
6213
- },
6214
- {
6215
- "name": "subtitle",
6216
- "description": "Subtitle"
6217
- },
6218
- {
6219
- "name": "extra",
6220
- "description": "Extra content"
6221
- }
6222
- ]
6223
- },
6224
6224
  {
6225
6225
  "name": "sd-popover",
6226
6226
  "attributes": [
@@ -7434,58 +7434,6 @@
7434
7434
  ],
7435
7435
  "slots": []
7436
7436
  },
7437
- {
7438
- "name": "sd-space",
7439
- "attributes": [
7440
- {
7441
- "name": "align",
7442
- "description": "Alignment",
7443
- "value": {
7444
- "type": "string",
7445
- "kind": "expression"
7446
- }
7447
- },
7448
- {
7449
- "name": "direction",
7450
- "description": "Spacing direction",
7451
- "value": {
7452
- "type": "string",
7453
- "kind": "expression"
7454
- }
7455
- },
7456
- {
7457
- "name": "size",
7458
- "description": "Spacing size, support for setting horizontal and vertical spacing separately",
7459
- "value": {
7460
- "type": "number | 'mini' | 'small' | 'medium' | 'large' | [SpaceSize, SpaceSize]",
7461
- "kind": "expression"
7462
- }
7463
- },
7464
- {
7465
- "name": "wrap",
7466
- "description": "The spacing of the wrapping type, used in the scene of wrapping.",
7467
- "value": {
7468
- "type": "boolean",
7469
- "kind": "expression"
7470
- }
7471
- },
7472
- {
7473
- "name": "fill",
7474
- "description": "fill the block",
7475
- "value": {
7476
- "type": "boolean",
7477
- "kind": "expression"
7478
- }
7479
- }
7480
- ],
7481
- "events": [],
7482
- "slots": [
7483
- {
7484
- "name": "split",
7485
- "description": "Set separator"
7486
- }
7487
- ]
7488
- },
7489
7437
  {
7490
7438
  "name": "sd-spin",
7491
7439
  "attributes": [
@@ -7547,19 +7495,164 @@
7547
7495
  ]
7548
7496
  },
7549
7497
  {
7550
- "name": "sd-statistic",
7498
+ "name": "sd-space",
7551
7499
  "attributes": [
7552
7500
  {
7553
- "name": "title",
7554
- "description": "Title of the numerical display",
7501
+ "name": "align",
7502
+ "description": "Alignment",
7555
7503
  "value": {
7556
7504
  "type": "string",
7557
7505
  "kind": "expression"
7558
7506
  }
7559
7507
  },
7560
7508
  {
7561
- "name": "value",
7562
- "description": "Numerical display value",
7509
+ "name": "direction",
7510
+ "description": "Spacing direction",
7511
+ "value": {
7512
+ "type": "string",
7513
+ "kind": "expression"
7514
+ }
7515
+ },
7516
+ {
7517
+ "name": "size",
7518
+ "description": "Spacing size, support for setting horizontal and vertical spacing separately",
7519
+ "value": {
7520
+ "type": "number | 'mini' | 'small' | 'medium' | 'large' | [SpaceSize, SpaceSize]",
7521
+ "kind": "expression"
7522
+ }
7523
+ },
7524
+ {
7525
+ "name": "wrap",
7526
+ "description": "The spacing of the wrapping type, used in the scene of wrapping.",
7527
+ "value": {
7528
+ "type": "boolean",
7529
+ "kind": "expression"
7530
+ }
7531
+ },
7532
+ {
7533
+ "name": "fill",
7534
+ "description": "fill the block",
7535
+ "value": {
7536
+ "type": "boolean",
7537
+ "kind": "expression"
7538
+ }
7539
+ }
7540
+ ],
7541
+ "events": [],
7542
+ "slots": [
7543
+ {
7544
+ "name": "split",
7545
+ "description": "Set separator"
7546
+ }
7547
+ ]
7548
+ },
7549
+ {
7550
+ "name": "sd-split",
7551
+ "attributes": [
7552
+ {
7553
+ "name": "component",
7554
+ "description": "The html tag of the split box",
7555
+ "value": {
7556
+ "type": "string",
7557
+ "kind": "expression"
7558
+ }
7559
+ },
7560
+ {
7561
+ "name": "direction",
7562
+ "description": "Direction of division",
7563
+ "value": {
7564
+ "type": "string",
7565
+ "kind": "expression"
7566
+ }
7567
+ },
7568
+ {
7569
+ "name": "size",
7570
+ "description": "The size of the segmentation, it can be 0~1 representing a percentage, or a specific number of pixels, such as 300px",
7571
+ "value": {
7572
+ "type": "number|string",
7573
+ "kind": "expression"
7574
+ }
7575
+ },
7576
+ {
7577
+ "name": "default-size",
7578
+ "description": "Default split size, it can be 0~1 representing a percentage, or a specific number of pixels, such as 300px",
7579
+ "value": {
7580
+ "type": "number|string",
7581
+ "kind": "expression"
7582
+ }
7583
+ },
7584
+ {
7585
+ "name": "min",
7586
+ "description": "Minimum threshold, it can be 0~1 representing a percentage, or a specific number of pixels, such as 300px",
7587
+ "value": {
7588
+ "type": "number|string",
7589
+ "kind": "expression"
7590
+ }
7591
+ },
7592
+ {
7593
+ "name": "max",
7594
+ "description": "Maximum threshold, it can be 0~1 representing a percentage, or a specific number of pixels, such as 300px",
7595
+ "value": {
7596
+ "type": "number|string",
7597
+ "kind": "expression"
7598
+ }
7599
+ },
7600
+ {
7601
+ "name": "disabled",
7602
+ "description": "Whether to disable",
7603
+ "value": {
7604
+ "type": "boolean",
7605
+ "kind": "expression"
7606
+ }
7607
+ }
7608
+ ],
7609
+ "events": [
7610
+ {
7611
+ "name": "move-start",
7612
+ "description": "Triggered before dragging"
7613
+ },
7614
+ {
7615
+ "name": "moving",
7616
+ "description": "Triggered when dragging"
7617
+ },
7618
+ {
7619
+ "name": "move-end",
7620
+ "description": "Triggered after dragging ends"
7621
+ }
7622
+ ],
7623
+ "slots": [
7624
+ {
7625
+ "name": "first",
7626
+ "description": "The contents of the first panel"
7627
+ },
7628
+ {
7629
+ "name": "resize-trigger",
7630
+ "description": "The contents of the resize pole"
7631
+ },
7632
+ {
7633
+ "name": "resize-trigger-icon",
7634
+ "description": "Resize pole icon"
7635
+ },
7636
+ {
7637
+ "name": "second",
7638
+ "description": "The contents of the second panel"
7639
+ }
7640
+ ]
7641
+ },
7642
+ {
7643
+ "name": "sd-statistic",
7644
+ "attributes": [
7645
+ {
7646
+ "name": "title",
7647
+ "description": "Title of the numerical display",
7648
+ "value": {
7649
+ "type": "string",
7650
+ "kind": "expression"
7651
+ }
7652
+ },
7653
+ {
7654
+ "name": "value",
7655
+ "description": "Numerical display value",
7563
7656
  "value": {
7564
7657
  "type": "number | Date",
7565
7658
  "kind": "expression"
@@ -8017,146 +8110,355 @@
8017
8110
  ]
8018
8111
  },
8019
8112
  {
8020
- "name": "sd-table",
8113
+ "name": "sd-tabs",
8021
8114
  "attributes": [
8022
8115
  {
8023
- "name": "columns",
8024
- "description": "Column info of the table",
8116
+ "name": "active-key",
8117
+ "description": "The `key` of the currently selected label",
8025
8118
  "value": {
8026
- "type": "TableColumnData[]",
8119
+ "type": "string|number",
8027
8120
  "kind": "expression"
8028
8121
  }
8029
8122
  },
8030
8123
  {
8031
- "name": "data",
8032
- "description": "Table data",
8124
+ "name": "default-active-key",
8125
+ "description": "The `key` of the tab selected by default (uncontrolled state, select the first tab page when it is empty)",
8033
8126
  "value": {
8034
- "type": "TableData[]",
8127
+ "type": "string|number",
8035
8128
  "kind": "expression"
8036
8129
  }
8037
8130
  },
8038
8131
  {
8039
- "name": "bordered",
8040
- "description": "Whether to show the border",
8132
+ "name": "position",
8133
+ "description": "Position of the tab",
8041
8134
  "value": {
8042
- "type": "boolean | TableBorder",
8135
+ "type": "TabsPosition",
8043
8136
  "kind": "expression"
8044
8137
  }
8045
8138
  },
8046
8139
  {
8047
- "name": "hoverable",
8048
- "description": "Whether to show the hover effect",
8140
+ "name": "size",
8141
+ "description": "The size of the tab",
8049
8142
  "value": {
8050
- "type": "boolean",
8143
+ "type": "Size",
8051
8144
  "kind": "expression"
8052
8145
  }
8053
8146
  },
8054
8147
  {
8055
- "name": "stripe",
8056
- "description": "Whether to enable the stripe effect",
8148
+ "name": "type",
8149
+ "description": "The type of tab",
8057
8150
  "value": {
8058
- "type": "boolean",
8151
+ "type": "TabsType",
8059
8152
  "kind": "expression"
8060
8153
  }
8061
8154
  },
8062
8155
  {
8063
- "name": "size",
8064
- "description": "The size of the table",
8156
+ "name": "direction",
8157
+ "description": "The direction of tab",
8065
8158
  "value": {
8066
- "type": "Size",
8159
+ "type": "Direction",
8067
8160
  "kind": "expression"
8068
8161
  }
8069
8162
  },
8070
8163
  {
8071
- "name": "table-layout-fixed",
8072
- "description": "The table-layout property of the table is set to fixed. After it is set to fixed, the width of the table will not be stretched beyond 100% by the content.",
8164
+ "name": "editable",
8165
+ "description": "Whether to enable editable mode",
8073
8166
  "value": {
8074
8167
  "type": "boolean",
8075
8168
  "kind": "expression"
8076
8169
  }
8077
8170
  },
8078
8171
  {
8079
- "name": "loading",
8080
- "description": "Whether it is loading state",
8172
+ "name": "show-add-button",
8173
+ "description": "Whether to display the add button (only available in editable mode)",
8081
8174
  "value": {
8082
- "type": "boolean|object",
8175
+ "type": "boolean",
8083
8176
  "kind": "expression"
8084
8177
  }
8085
8178
  },
8086
8179
  {
8087
- "name": "row-selection",
8088
- "description": "Table row selector configuration",
8180
+ "name": "destroy-on-hide",
8181
+ "description": "Whether to destroy the content when the label is not displayed",
8089
8182
  "value": {
8090
- "type": "TableRowSelection",
8183
+ "type": "boolean",
8091
8184
  "kind": "expression"
8092
8185
  }
8093
8186
  },
8094
8187
  {
8095
- "name": "expandable",
8096
- "description": "Expand row configuration of the table",
8188
+ "name": "lazy-load",
8189
+ "description": "Whether to mount the content when the label is first displayed",
8097
8190
  "value": {
8098
- "type": "TableExpandable",
8191
+ "type": "boolean",
8099
8192
  "kind": "expression"
8100
8193
  }
8101
8194
  },
8102
8195
  {
8103
- "name": "scroll",
8104
- "description": "Scrolling attribute configuration of the table. The `2.13.0` version adds support for character values. `2.20.0` version adds support for `minWidth`, `maxHeight`.",
8196
+ "name": "justify",
8197
+ "description": "The height of the container is fully supported, and it only takes effect in horizontal mode.",
8105
8198
  "value": {
8106
- "type": "{\n x?: number | string;\n y?: number | string;\n minWidth?: number | string;\n maxHeight?: number | string;\n}",
8199
+ "type": "boolean",
8107
8200
  "kind": "expression"
8108
8201
  }
8109
8202
  },
8110
8203
  {
8111
- "name": "pagination",
8112
- "description": "Pagination properties configuration",
8204
+ "name": "animation",
8205
+ "description": "Whether to enable option content transition animation",
8113
8206
  "value": {
8114
- "type": "boolean | PaginationProps",
8207
+ "type": "boolean",
8115
8208
  "kind": "expression"
8116
8209
  }
8117
8210
  },
8118
8211
  {
8119
- "name": "page-position",
8120
- "description": "The position of the page selector",
8212
+ "name": "header-padding",
8213
+ "description": "Whether there is a horizontal margin on the header of the tab. Only valid for tabs with `type` equal to `line` and `text` type",
8121
8214
  "value": {
8122
- "type": "TablePagePosition",
8215
+ "type": "boolean",
8123
8216
  "kind": "expression"
8124
8217
  }
8125
8218
  },
8126
8219
  {
8127
- "name": "indent-size",
8128
- "description": "The indentation distance of the tree table",
8220
+ "name": "auto-switch",
8221
+ "description": "Whether to switch to a new tab after creating a tab (the last one)",
8129
8222
  "value": {
8130
- "type": "number",
8223
+ "type": "boolean",
8131
8224
  "kind": "expression"
8132
8225
  }
8133
8226
  },
8134
8227
  {
8135
- "name": "row-key",
8136
- "description": "Value field of table row `key`",
8228
+ "name": "hide-content",
8229
+ "description": "Whether to hide content",
8137
8230
  "value": {
8138
- "type": "string",
8231
+ "type": "boolean",
8139
8232
  "kind": "expression"
8140
8233
  }
8141
8234
  },
8142
8235
  {
8143
- "name": "show-header",
8144
- "description": "Whether to show the header",
8236
+ "name": "trigger",
8237
+ "description": "Trigger method",
8145
8238
  "value": {
8146
- "type": "boolean",
8239
+ "type": "TabTriggerEvent",
8147
8240
  "kind": "expression"
8148
8241
  }
8149
8242
  },
8150
8243
  {
8151
- "name": "virtual-list-props",
8152
- "description": "Pass the virtual list attribute, pass in this parameter to turn on virtual scrolling [VirtualListProps](#VirtualListProps)",
8244
+ "name": "scroll-position",
8245
+ "description": "The scroll position of the selected tab, the default auto will scroll the activeTab to the visible area, but will not adjust the position intentionally",
8153
8246
  "value": {
8154
- "type": "VirtualListProps",
8247
+ "type": "ScrollPosition",
8155
8248
  "kind": "expression"
8156
8249
  }
8250
+ }
8251
+ ],
8252
+ "events": [
8253
+ {
8254
+ "name": "change",
8255
+ "description": "Triggered when the current tag value changes"
8157
8256
  },
8158
8257
  {
8159
- "name": "span-method",
8258
+ "name": "tab-click",
8259
+ "description": "Triggered when the user clicks on the tab"
8260
+ },
8261
+ {
8262
+ "name": "add",
8263
+ "description": "Triggered when the user clicks the add button"
8264
+ },
8265
+ {
8266
+ "name": "delete",
8267
+ "description": "Triggered when the user clicks the delete button"
8268
+ }
8269
+ ],
8270
+ "slots": [
8271
+ {
8272
+ "name": "extra",
8273
+ "description": "Additional tab content"
8274
+ }
8275
+ ]
8276
+ },
8277
+ {
8278
+ "name": "sd-tab-pane",
8279
+ "attributes": [
8280
+ {
8281
+ "name": "title",
8282
+ "description": "Title of the tab",
8283
+ "value": {
8284
+ "type": "string",
8285
+ "kind": "expression"
8286
+ }
8287
+ },
8288
+ {
8289
+ "name": "disabled",
8290
+ "description": "Whether to disable",
8291
+ "value": {
8292
+ "type": "boolean",
8293
+ "kind": "expression"
8294
+ }
8295
+ },
8296
+ {
8297
+ "name": "closable",
8298
+ "description": "Whether to allow this tab to be closed (only effective in editable mode)",
8299
+ "value": {
8300
+ "type": "boolean",
8301
+ "kind": "expression"
8302
+ }
8303
+ },
8304
+ {
8305
+ "name": "destroy-on-hide",
8306
+ "description": "Whether to destroy the content when the label is not displayed",
8307
+ "value": {
8308
+ "type": "boolean",
8309
+ "kind": "expression"
8310
+ }
8311
+ }
8312
+ ],
8313
+ "events": [],
8314
+ "slots": [
8315
+ {
8316
+ "name": "title",
8317
+ "description": "Tab title"
8318
+ }
8319
+ ]
8320
+ },
8321
+ {
8322
+ "name": "sd-table",
8323
+ "attributes": [
8324
+ {
8325
+ "name": "columns",
8326
+ "description": "Column info of the table",
8327
+ "value": {
8328
+ "type": "TableColumnData[]",
8329
+ "kind": "expression"
8330
+ }
8331
+ },
8332
+ {
8333
+ "name": "data",
8334
+ "description": "Table data",
8335
+ "value": {
8336
+ "type": "TableData[]",
8337
+ "kind": "expression"
8338
+ }
8339
+ },
8340
+ {
8341
+ "name": "bordered",
8342
+ "description": "Whether to show the border",
8343
+ "value": {
8344
+ "type": "boolean | TableBorder",
8345
+ "kind": "expression"
8346
+ }
8347
+ },
8348
+ {
8349
+ "name": "hoverable",
8350
+ "description": "Whether to show the hover effect",
8351
+ "value": {
8352
+ "type": "boolean",
8353
+ "kind": "expression"
8354
+ }
8355
+ },
8356
+ {
8357
+ "name": "stripe",
8358
+ "description": "Whether to enable the stripe effect",
8359
+ "value": {
8360
+ "type": "boolean",
8361
+ "kind": "expression"
8362
+ }
8363
+ },
8364
+ {
8365
+ "name": "size",
8366
+ "description": "The size of the table",
8367
+ "value": {
8368
+ "type": "Size",
8369
+ "kind": "expression"
8370
+ }
8371
+ },
8372
+ {
8373
+ "name": "table-layout-fixed",
8374
+ "description": "The table-layout property of the table is set to fixed. After it is set to fixed, the width of the table will not be stretched beyond 100% by the content.",
8375
+ "value": {
8376
+ "type": "boolean",
8377
+ "kind": "expression"
8378
+ }
8379
+ },
8380
+ {
8381
+ "name": "loading",
8382
+ "description": "Whether it is loading state",
8383
+ "value": {
8384
+ "type": "boolean|object",
8385
+ "kind": "expression"
8386
+ }
8387
+ },
8388
+ {
8389
+ "name": "row-selection",
8390
+ "description": "Table row selector configuration",
8391
+ "value": {
8392
+ "type": "TableRowSelection",
8393
+ "kind": "expression"
8394
+ }
8395
+ },
8396
+ {
8397
+ "name": "expandable",
8398
+ "description": "Expand row configuration of the table",
8399
+ "value": {
8400
+ "type": "TableExpandable",
8401
+ "kind": "expression"
8402
+ }
8403
+ },
8404
+ {
8405
+ "name": "scroll",
8406
+ "description": "Scrolling attribute configuration of the table. The `2.13.0` version adds support for character values. `2.20.0` version adds support for `minWidth`, `maxHeight`.",
8407
+ "value": {
8408
+ "type": "{\n x?: number | string;\n y?: number | string;\n minWidth?: number | string;\n maxHeight?: number | string;\n}",
8409
+ "kind": "expression"
8410
+ }
8411
+ },
8412
+ {
8413
+ "name": "pagination",
8414
+ "description": "Pagination properties configuration",
8415
+ "value": {
8416
+ "type": "boolean | PaginationProps",
8417
+ "kind": "expression"
8418
+ }
8419
+ },
8420
+ {
8421
+ "name": "page-position",
8422
+ "description": "The position of the page selector",
8423
+ "value": {
8424
+ "type": "TablePagePosition",
8425
+ "kind": "expression"
8426
+ }
8427
+ },
8428
+ {
8429
+ "name": "indent-size",
8430
+ "description": "The indentation distance of the tree table",
8431
+ "value": {
8432
+ "type": "number",
8433
+ "kind": "expression"
8434
+ }
8435
+ },
8436
+ {
8437
+ "name": "row-key",
8438
+ "description": "Value field of table row `key`",
8439
+ "value": {
8440
+ "type": "string",
8441
+ "kind": "expression"
8442
+ }
8443
+ },
8444
+ {
8445
+ "name": "show-header",
8446
+ "description": "Whether to show the header",
8447
+ "value": {
8448
+ "type": "boolean",
8449
+ "kind": "expression"
8450
+ }
8451
+ },
8452
+ {
8453
+ "name": "virtual-list-props",
8454
+ "description": "Pass the virtual list attribute, pass in this parameter to turn on virtual scrolling [VirtualListProps](#VirtualListProps)",
8455
+ "value": {
8456
+ "type": "VirtualListProps",
8457
+ "kind": "expression"
8458
+ }
8459
+ },
8460
+ {
8461
+ "name": "span-method",
8160
8462
  "description": "Cell merge method (The index starts counting from the data item)",
8161
8463
  "value": {
8162
8464
  "type": "(data: {\n record: TableData;\n column: TableColumnData | TableOperationColumn;\n rowIndex: number;\n columnIndex: number;\n}) => { rowspan?: number; colspan?: number } | void",
@@ -8626,306 +8928,128 @@
8626
8928
  ]
8627
8929
  },
8628
8930
  {
8629
- "name": "sd-split",
8931
+ "name": "sd-textarea",
8630
8932
  "attributes": [
8631
8933
  {
8632
- "name": "component",
8633
- "description": "The html tag of the split box",
8934
+ "name": "model-value",
8935
+ "description": "Value",
8634
8936
  "value": {
8635
8937
  "type": "string",
8636
8938
  "kind": "expression"
8637
8939
  }
8638
8940
  },
8639
8941
  {
8640
- "name": "direction",
8641
- "description": "Direction of division",
8942
+ "name": "default-value",
8943
+ "description": "Default value (uncontrolled state)",
8642
8944
  "value": {
8643
8945
  "type": "string",
8644
8946
  "kind": "expression"
8645
8947
  }
8646
8948
  },
8647
8949
  {
8648
- "name": "size",
8649
- "description": "The size of the segmentation, it can be 0~1 representing a percentage, or a specific number of pixels, such as 300px",
8950
+ "name": "placeholder",
8951
+ "description": "Placeholder",
8650
8952
  "value": {
8651
- "type": "number|string",
8953
+ "type": "string",
8652
8954
  "kind": "expression"
8653
8955
  }
8654
8956
  },
8655
8957
  {
8656
- "name": "default-size",
8657
- "description": "Default split size, it can be 0~1 representing a percentage, or a specific number of pixels, such as 300px",
8958
+ "name": "disabled",
8959
+ "description": "Whether to disable",
8658
8960
  "value": {
8659
- "type": "number|string",
8961
+ "type": "boolean",
8660
8962
  "kind": "expression"
8661
8963
  }
8662
8964
  },
8663
8965
  {
8664
- "name": "min",
8665
- "description": "Minimum threshold, it can be 0~1 representing a percentage, or a specific number of pixels, such as 300px",
8966
+ "name": "error",
8967
+ "description": "Whether it is an error state",
8666
8968
  "value": {
8667
- "type": "number|string",
8969
+ "type": "boolean",
8668
8970
  "kind": "expression"
8669
8971
  }
8670
8972
  },
8671
8973
  {
8672
- "name": "max",
8673
- "description": "Maximum threshold, it can be 0~1 representing a percentage, or a specific number of pixels, such as 300px",
8974
+ "name": "max-length",
8975
+ "description": "Maximum length of input value, the errorOnly attribute was added in version 2.12.0",
8674
8976
  "value": {
8675
- "type": "number|string",
8977
+ "type": "number | { length: number; errorOnly?: boolean }",
8676
8978
  "kind": "expression"
8677
8979
  }
8678
8980
  },
8679
8981
  {
8680
- "name": "disabled",
8681
- "description": "Whether to disable",
8982
+ "name": "show-word-limit",
8983
+ "description": "Whether to display word count",
8682
8984
  "value": {
8683
8985
  "type": "boolean",
8684
8986
  "kind": "expression"
8685
8987
  }
8686
- }
8687
- ],
8688
- "events": [
8689
- {
8690
- "name": "move-start",
8691
- "description": "Triggered before dragging"
8692
8988
  },
8693
8989
  {
8694
- "name": "moving",
8695
- "description": "Triggered when dragging"
8990
+ "name": "allow-clear",
8991
+ "description": "Whether to allow clearing the text",
8992
+ "value": {
8993
+ "type": "boolean",
8994
+ "kind": "expression"
8995
+ }
8696
8996
  },
8697
8997
  {
8698
- "name": "move-end",
8699
- "description": "Triggered after dragging ends"
8700
- }
8701
- ],
8702
- "slots": [
8703
- {
8704
- "name": "first",
8705
- "description": "The contents of the first panel"
8706
- },
8707
- {
8708
- "name": "resize-trigger",
8709
- "description": "The contents of the resize pole"
8710
- },
8711
- {
8712
- "name": "resize-trigger-icon",
8713
- "description": "Resize pole icon"
8714
- },
8715
- {
8716
- "name": "second",
8717
- "description": "The contents of the second panel"
8718
- }
8719
- ]
8720
- },
8721
- {
8722
- "name": "sd-tabs",
8723
- "attributes": [
8724
- {
8725
- "name": "active-key",
8726
- "description": "The `key` of the currently selected label",
8727
- "value": {
8728
- "type": "string|number",
8729
- "kind": "expression"
8730
- }
8731
- },
8732
- {
8733
- "name": "default-active-key",
8734
- "description": "The `key` of the tab selected by default (uncontrolled state, select the first tab page when it is empty)",
8735
- "value": {
8736
- "type": "string|number",
8737
- "kind": "expression"
8738
- }
8739
- },
8740
- {
8741
- "name": "position",
8742
- "description": "Position of the tab",
8743
- "value": {
8744
- "type": "TabsPosition",
8745
- "kind": "expression"
8746
- }
8747
- },
8748
- {
8749
- "name": "size",
8750
- "description": "The size of the tab",
8751
- "value": {
8752
- "type": "Size",
8753
- "kind": "expression"
8754
- }
8755
- },
8756
- {
8757
- "name": "type",
8758
- "description": "The type of tab",
8759
- "value": {
8760
- "type": "TabsType",
8761
- "kind": "expression"
8762
- }
8763
- },
8764
- {
8765
- "name": "direction",
8766
- "description": "The direction of tab",
8767
- "value": {
8768
- "type": "Direction",
8769
- "kind": "expression"
8770
- }
8771
- },
8772
- {
8773
- "name": "editable",
8774
- "description": "Whether to enable editable mode",
8775
- "value": {
8776
- "type": "boolean",
8777
- "kind": "expression"
8778
- }
8779
- },
8780
- {
8781
- "name": "show-add-button",
8782
- "description": "Whether to display the add button (only available in editable mode)",
8783
- "value": {
8784
- "type": "boolean",
8785
- "kind": "expression"
8786
- }
8787
- },
8788
- {
8789
- "name": "destroy-on-hide",
8790
- "description": "Whether to destroy the content when the label is not displayed",
8791
- "value": {
8792
- "type": "boolean",
8793
- "kind": "expression"
8794
- }
8795
- },
8796
- {
8797
- "name": "lazy-load",
8798
- "description": "Whether to mount the content when the label is first displayed",
8799
- "value": {
8800
- "type": "boolean",
8801
- "kind": "expression"
8802
- }
8803
- },
8804
- {
8805
- "name": "justify",
8806
- "description": "The height of the container is fully supported, and it only takes effect in horizontal mode.",
8807
- "value": {
8808
- "type": "boolean",
8809
- "kind": "expression"
8810
- }
8811
- },
8812
- {
8813
- "name": "animation",
8814
- "description": "Whether to enable option content transition animation",
8815
- "value": {
8816
- "type": "boolean",
8817
- "kind": "expression"
8818
- }
8819
- },
8820
- {
8821
- "name": "header-padding",
8822
- "description": "Whether there is a horizontal margin on the header of the tab. Only valid for tabs with `type` equal to `line` and `text` type",
8823
- "value": {
8824
- "type": "boolean",
8825
- "kind": "expression"
8826
- }
8827
- },
8828
- {
8829
- "name": "auto-switch",
8830
- "description": "Whether to switch to a new tab after creating a tab (the last one)",
8998
+ "name": "auto-size",
8999
+ "description": "Whether to make the textarea adapt to the height of the content",
8831
9000
  "value": {
8832
- "type": "boolean",
9001
+ "type": "boolean | { minRows?: number; maxRows?: number }",
8833
9002
  "kind": "expression"
8834
9003
  }
8835
9004
  },
8836
9005
  {
8837
- "name": "hide-content",
8838
- "description": "Whether to hide content",
9006
+ "name": "word-length",
9007
+ "description": "Calculation method of word length",
8839
9008
  "value": {
8840
- "type": "boolean",
9009
+ "type": "(value: string) => number",
8841
9010
  "kind": "expression"
8842
9011
  }
8843
9012
  },
8844
9013
  {
8845
- "name": "trigger",
8846
- "description": "Trigger method",
9014
+ "name": "word-slice",
9015
+ "description": "Character interception method, used together with wordLength",
8847
9016
  "value": {
8848
- "type": "TabTriggerEvent",
9017
+ "type": "(value: string, maxLength: number) => string",
8849
9018
  "kind": "expression"
8850
9019
  }
8851
9020
  },
8852
9021
  {
8853
- "name": "scroll-position",
8854
- "description": "The scroll position of the selected tab, the default auto will scroll the activeTab to the visible area, but will not adjust the position intentionally",
9022
+ "name": "textarea-attrs",
9023
+ "description": "Attributes passed to textarea",
8855
9024
  "value": {
8856
- "type": "ScrollPosition",
9025
+ "type": "Record<string, any>",
8857
9026
  "kind": "expression"
8858
9027
  }
8859
9028
  }
8860
9029
  ],
8861
9030
  "events": [
8862
9031
  {
8863
- "name": "change",
8864
- "description": "Triggered when the current tag value changes"
8865
- },
8866
- {
8867
- "name": "tab-click",
8868
- "description": "Triggered when the user clicks on the tab"
8869
- },
8870
- {
8871
- "name": "add",
8872
- "description": "Triggered when the user clicks the add button"
9032
+ "name": "input",
9033
+ "description": "Emitted when the user enters"
8873
9034
  },
8874
9035
  {
8875
- "name": "delete",
8876
- "description": "Triggered when the user clicks the delete button"
8877
- }
8878
- ],
8879
- "slots": [
8880
- {
8881
- "name": "extra",
8882
- "description": "Additional tab content"
8883
- }
8884
- ]
8885
- },
8886
- {
8887
- "name": "sd-tab-pane",
8888
- "attributes": [
8889
- {
8890
- "name": "title",
8891
- "description": "Title of the tab",
8892
- "value": {
8893
- "type": "string",
8894
- "kind": "expression"
8895
- }
9036
+ "name": "change",
9037
+ "description": "Only emitted when the textarea is out of focus"
8896
9038
  },
8897
9039
  {
8898
- "name": "disabled",
8899
- "description": "Whether to disable",
8900
- "value": {
8901
- "type": "boolean",
8902
- "kind": "expression"
8903
- }
9040
+ "name": "clear",
9041
+ "description": "Emitted when the clear button is clicked"
8904
9042
  },
8905
9043
  {
8906
- "name": "closable",
8907
- "description": "Whether to allow this tab to be closed (only effective in editable mode)",
8908
- "value": {
8909
- "type": "boolean",
8910
- "kind": "expression"
8911
- }
9044
+ "name": "focus",
9045
+ "description": "Emitted when the textarea gets focus"
8912
9046
  },
8913
9047
  {
8914
- "name": "destroy-on-hide",
8915
- "description": "Whether to destroy the content when the label is not displayed",
8916
- "value": {
8917
- "type": "boolean",
8918
- "kind": "expression"
8919
- }
9048
+ "name": "blur",
9049
+ "description": "Emitted when the textarea loses focus"
8920
9050
  }
8921
9051
  ],
8922
- "events": [],
8923
- "slots": [
8924
- {
8925
- "name": "title",
8926
- "description": "Tab title"
8927
- }
8928
- ]
9052
+ "slots": []
8929
9053
  },
8930
9054
  {
8931
9055
  "name": "sd-tag",
@@ -9041,128 +9165,233 @@
9041
9165
  ]
9042
9166
  },
9043
9167
  {
9044
- "name": "sd-textarea",
9168
+ "name": "sd-tooltip",
9045
9169
  "attributes": [
9046
9170
  {
9047
- "name": "model-value",
9048
- "description": "Value",
9171
+ "name": "popup-visible",
9172
+ "description": "Whether the tooltip is visible",
9049
9173
  "value": {
9050
- "type": "string",
9174
+ "type": "boolean",
9051
9175
  "kind": "expression"
9052
9176
  }
9053
9177
  },
9054
9178
  {
9055
- "name": "default-value",
9056
- "description": "Default value (uncontrolled state)",
9179
+ "name": "default-popup-visible",
9180
+ "description": "Whether the tooltip is visible by default (uncontrolled mode)",
9057
9181
  "value": {
9058
- "type": "string",
9182
+ "type": "boolean",
9059
9183
  "kind": "expression"
9060
9184
  }
9061
9185
  },
9062
9186
  {
9063
- "name": "placeholder",
9064
- "description": "Placeholder",
9187
+ "name": "disabled",
9188
+ "description": "Whether to disable the tooltip",
9065
9189
  "value": {
9066
- "type": "string",
9190
+ "type": "boolean",
9067
9191
  "kind": "expression"
9068
9192
  }
9069
9193
  },
9070
9194
  {
9071
- "name": "disabled",
9072
- "description": "Whether to disable",
9195
+ "name": "content",
9196
+ "description": "Tooltip content",
9073
9197
  "value": {
9074
- "type": "boolean",
9198
+ "type": "string",
9075
9199
  "kind": "expression"
9076
9200
  }
9077
9201
  },
9078
9202
  {
9079
- "name": "error",
9080
- "description": "Whether it is an error state",
9203
+ "name": "position",
9204
+ "description": "Popup position",
9081
9205
  "value": {
9082
- "type": "boolean",
9206
+ "type": "TriggerPosition",
9083
9207
  "kind": "expression"
9084
9208
  }
9085
9209
  },
9086
9210
  {
9087
- "name": "max-length",
9088
- "description": "Maximum length of input value, the errorOnly attribute was added in version 2.12.0",
9211
+ "name": "mini",
9212
+ "description": "Whether to display as a mini size",
9089
9213
  "value": {
9090
- "type": "number | { length: number; errorOnly?: boolean }",
9214
+ "type": "boolean",
9091
9215
  "kind": "expression"
9092
9216
  }
9093
9217
  },
9094
9218
  {
9095
- "name": "show-word-limit",
9096
- "description": "Whether to display word count",
9219
+ "name": "background-color",
9220
+ "description": "Background color of the popover",
9097
9221
  "value": {
9098
- "type": "boolean",
9222
+ "type": "string",
9099
9223
  "kind": "expression"
9100
9224
  }
9101
9225
  },
9102
9226
  {
9103
- "name": "allow-clear",
9104
- "description": "Whether to allow clearing the text",
9227
+ "name": "content-class",
9228
+ "description": "The class name of the popup content",
9105
9229
  "value": {
9106
- "type": "boolean",
9230
+ "type": "ClassName",
9107
9231
  "kind": "expression"
9108
9232
  }
9109
9233
  },
9110
9234
  {
9111
- "name": "auto-size",
9112
- "description": "Whether to make the textarea adapt to the height of the content",
9235
+ "name": "content-style",
9236
+ "description": "The style of the popup content",
9113
9237
  "value": {
9114
- "type": "boolean | { minRows?: number; maxRows?: number }",
9238
+ "type": "CSSProperties",
9115
9239
  "kind": "expression"
9116
9240
  }
9117
9241
  },
9118
9242
  {
9119
- "name": "word-length",
9120
- "description": "Calculation method of word length",
9243
+ "name": "arrow-class",
9244
+ "description": "The class name of the popup arrow",
9121
9245
  "value": {
9122
- "type": "(value: string) => number",
9246
+ "type": "ClassName",
9123
9247
  "kind": "expression"
9124
9248
  }
9125
9249
  },
9126
9250
  {
9127
- "name": "word-slice",
9128
- "description": "Character interception method, used together with wordLength",
9251
+ "name": "arrow-style",
9252
+ "description": "The style of the popup arrow",
9129
9253
  "value": {
9130
- "type": "(value: string, maxLength: number) => string",
9254
+ "type": "CSSProperties",
9131
9255
  "kind": "expression"
9132
9256
  }
9133
9257
  },
9134
9258
  {
9135
- "name": "textarea-attrs",
9136
- "description": "Attributes passed to textarea",
9259
+ "name": "popup-container",
9260
+ "description": "Mount container for popup",
9137
9261
  "value": {
9138
- "type": "Record<string, any>",
9262
+ "type": "string | HTMLElement",
9139
9263
  "kind": "expression"
9140
9264
  }
9141
9265
  }
9142
9266
  ],
9143
9267
  "events": [
9144
9268
  {
9145
- "name": "input",
9146
- "description": "Emitted when the user enters"
9269
+ "name": "popup-visible-change",
9270
+ "description": "Emitted when the tooltip display status changes"
9271
+ }
9272
+ ],
9273
+ "slots": [
9274
+ {
9275
+ "name": "content",
9276
+ "description": "Content"
9277
+ }
9278
+ ]
9279
+ },
9280
+ {
9281
+ "name": "sd-timeline",
9282
+ "attributes": [
9283
+ {
9284
+ "name": "reverse",
9285
+ "description": "Whether reverse order",
9286
+ "value": {
9287
+ "type": "boolean",
9288
+ "kind": "expression"
9289
+ }
9147
9290
  },
9148
9291
  {
9149
- "name": "change",
9150
- "description": "Only emitted when the textarea is out of focus"
9292
+ "name": "direction",
9293
+ "description": "Timeline direction",
9294
+ "value": {
9295
+ "type": "Direction",
9296
+ "kind": "expression"
9297
+ }
9151
9298
  },
9152
9299
  {
9153
- "name": "clear",
9154
- "description": "Emitted when the clear button is clicked"
9300
+ "name": "mode",
9301
+ "description": "The display mode of Timeline",
9302
+ "value": {
9303
+ "type": "ModeType",
9304
+ "kind": "expression"
9305
+ }
9155
9306
  },
9156
9307
  {
9157
- "name": "focus",
9158
- "description": "Emitted when the textarea gets focus"
9308
+ "name": "pending",
9309
+ "description": "Whether to display ghost nodes. When set to true, only ghost nodes are displayed. When passed to ReactNode, it will be displayed as node content",
9310
+ "value": {
9311
+ "type": "boolean|string",
9312
+ "kind": "expression"
9313
+ }
9159
9314
  },
9160
9315
  {
9161
- "name": "blur",
9162
- "description": "Emitted when the textarea loses focus"
9316
+ "name": "label-position",
9317
+ "description": "Position of label text",
9318
+ "value": {
9319
+ "type": "LabelPositionType",
9320
+ "kind": "expression"
9321
+ }
9163
9322
  }
9164
9323
  ],
9165
- "slots": []
9324
+ "events": [],
9325
+ "slots": [
9326
+ {
9327
+ "name": "dot",
9328
+ "description": "Custom dot"
9329
+ }
9330
+ ]
9331
+ },
9332
+ {
9333
+ "name": "sd-timeline-item",
9334
+ "attributes": [
9335
+ {
9336
+ "name": "dot-color",
9337
+ "description": "Dot color",
9338
+ "value": {
9339
+ "type": "string",
9340
+ "kind": "expression"
9341
+ }
9342
+ },
9343
+ {
9344
+ "name": "dot-type",
9345
+ "description": "Dot type",
9346
+ "value": {
9347
+ "type": "DotType",
9348
+ "kind": "expression"
9349
+ }
9350
+ },
9351
+ {
9352
+ "name": "line-type",
9353
+ "description": "Line type",
9354
+ "value": {
9355
+ "type": "LineType",
9356
+ "kind": "expression"
9357
+ }
9358
+ },
9359
+ {
9360
+ "name": "line-color",
9361
+ "description": "Line Color",
9362
+ "value": {
9363
+ "type": "string",
9364
+ "kind": "expression"
9365
+ }
9366
+ },
9367
+ {
9368
+ "name": "label",
9369
+ "description": "Label text",
9370
+ "value": {
9371
+ "type": "string",
9372
+ "kind": "expression"
9373
+ }
9374
+ },
9375
+ {
9376
+ "name": "position",
9377
+ "description": "Item position",
9378
+ "value": {
9379
+ "type": "PositionType",
9380
+ "kind": "expression"
9381
+ }
9382
+ }
9383
+ ],
9384
+ "events": [],
9385
+ "slots": [
9386
+ {
9387
+ "name": "dot",
9388
+ "description": "Custom dot"
9389
+ },
9390
+ {
9391
+ "name": "label",
9392
+ "description": "Custom label"
9393
+ }
9394
+ ]
9166
9395
  },
9167
9396
  {
9168
9397
  "name": "sd-time-picker",
@@ -9386,231 +9615,118 @@
9386
9615
  ]
9387
9616
  },
9388
9617
  {
9389
- "name": "sd-tooltip",
9618
+ "name": "sd-transfer",
9390
9619
  "attributes": [
9391
9620
  {
9392
- "name": "popup-visible",
9393
- "description": "Whether the tooltip is visible",
9621
+ "name": "data",
9622
+ "description": "Data of the transfer",
9394
9623
  "value": {
9395
- "type": "boolean",
9624
+ "type": "TransferItem[]",
9396
9625
  "kind": "expression"
9397
9626
  }
9398
9627
  },
9399
9628
  {
9400
- "name": "default-popup-visible",
9401
- "description": "Whether the tooltip is visible by default (uncontrolled mode)",
9629
+ "name": "model-value",
9630
+ "description": "Value in the target selection box",
9402
9631
  "value": {
9403
- "type": "boolean",
9632
+ "type": "string[]",
9404
9633
  "kind": "expression"
9405
9634
  }
9406
9635
  },
9407
9636
  {
9408
- "name": "disabled",
9409
- "description": "Whether to disable the tooltip",
9637
+ "name": "default-value",
9638
+ "description": "The default value in the target selection box (uncontrolled state)",
9410
9639
  "value": {
9411
- "type": "boolean",
9640
+ "type": "string[]",
9412
9641
  "kind": "expression"
9413
9642
  }
9414
9643
  },
9415
9644
  {
9416
- "name": "content",
9417
- "description": "Tooltip content",
9645
+ "name": "selected",
9646
+ "description": "Selected option value",
9418
9647
  "value": {
9419
- "type": "string",
9648
+ "type": "string[]",
9420
9649
  "kind": "expression"
9421
9650
  }
9422
9651
  },
9423
9652
  {
9424
- "name": "position",
9425
- "description": "Popup position",
9653
+ "name": "default-selected",
9654
+ "description": "The option value selected by default (uncontrolled state)",
9426
9655
  "value": {
9427
- "type": "TriggerPosition",
9656
+ "type": "string[]",
9428
9657
  "kind": "expression"
9429
9658
  }
9430
9659
  },
9431
9660
  {
9432
- "name": "mini",
9433
- "description": "Whether to display as a mini size",
9661
+ "name": "disabled",
9662
+ "description": "Whether to disable",
9434
9663
  "value": {
9435
9664
  "type": "boolean",
9436
9665
  "kind": "expression"
9437
9666
  }
9438
9667
  },
9439
9668
  {
9440
- "name": "background-color",
9441
- "description": "Background color of the popover",
9669
+ "name": "simple",
9670
+ "description": "Whether to open the simple mode (click the option to move)",
9442
9671
  "value": {
9443
- "type": "string",
9672
+ "type": "boolean",
9444
9673
  "kind": "expression"
9445
9674
  }
9446
9675
  },
9447
9676
  {
9448
- "name": "content-class",
9449
- "description": "The class name of the popup content",
9677
+ "name": "one-way",
9678
+ "description": "Whether to open the one-way mode (only move to the target selection box)",
9450
9679
  "value": {
9451
- "type": "ClassName",
9680
+ "type": "boolean",
9452
9681
  "kind": "expression"
9453
9682
  }
9454
9683
  },
9455
9684
  {
9456
- "name": "content-style",
9457
- "description": "The style of the popup content",
9685
+ "name": "show-search",
9686
+ "description": "Whether to show the search input",
9458
9687
  "value": {
9459
- "type": "CSSProperties",
9688
+ "type": "boolean",
9460
9689
  "kind": "expression"
9461
9690
  }
9462
9691
  },
9463
9692
  {
9464
- "name": "arrow-class",
9465
- "description": "The class name of the popup arrow",
9693
+ "name": "show-select-all",
9694
+ "description": "Whether show select all checkbox on the header",
9466
9695
  "value": {
9467
- "type": "ClassName",
9696
+ "type": "boolean",
9468
9697
  "kind": "expression"
9469
9698
  }
9470
9699
  },
9471
9700
  {
9472
- "name": "arrow-style",
9473
- "description": "The style of the popup arrow",
9701
+ "name": "title",
9702
+ "description": "The title of the source and target selection boxes",
9474
9703
  "value": {
9475
- "type": "CSSProperties",
9704
+ "type": "string[]",
9476
9705
  "kind": "expression"
9477
9706
  }
9478
9707
  },
9479
9708
  {
9480
- "name": "popup-container",
9481
- "description": "Mount container for popup",
9709
+ "name": "source-input-search-props",
9710
+ "description": "Search box configuration for source selection box",
9482
9711
  "value": {
9483
- "type": "string | HTMLElement",
9712
+ "type": "object",
9713
+ "kind": "expression"
9714
+ }
9715
+ },
9716
+ {
9717
+ "name": "target-input-search-props",
9718
+ "description": "Search box configuration for target selection box",
9719
+ "value": {
9720
+ "type": "object",
9484
9721
  "kind": "expression"
9485
9722
  }
9486
9723
  }
9487
9724
  ],
9488
9725
  "events": [
9489
9726
  {
9490
- "name": "popup-visible-change",
9491
- "description": "Emitted when the tooltip display status changes"
9492
- }
9493
- ],
9494
- "slots": [
9495
- {
9496
- "name": "content",
9497
- "description": "Content"
9498
- }
9499
- ]
9500
- },
9501
- {
9502
- "name": "sd-transfer",
9503
- "attributes": [
9504
- {
9505
- "name": "data",
9506
- "description": "Data of the transfer",
9507
- "value": {
9508
- "type": "TransferItem[]",
9509
- "kind": "expression"
9510
- }
9511
- },
9512
- {
9513
- "name": "model-value",
9514
- "description": "Value in the target selection box",
9515
- "value": {
9516
- "type": "string[]",
9517
- "kind": "expression"
9518
- }
9519
- },
9520
- {
9521
- "name": "default-value",
9522
- "description": "The default value in the target selection box (uncontrolled state)",
9523
- "value": {
9524
- "type": "string[]",
9525
- "kind": "expression"
9526
- }
9527
- },
9528
- {
9529
- "name": "selected",
9530
- "description": "Selected option value",
9531
- "value": {
9532
- "type": "string[]",
9533
- "kind": "expression"
9534
- }
9535
- },
9536
- {
9537
- "name": "default-selected",
9538
- "description": "The option value selected by default (uncontrolled state)",
9539
- "value": {
9540
- "type": "string[]",
9541
- "kind": "expression"
9542
- }
9543
- },
9544
- {
9545
- "name": "disabled",
9546
- "description": "Whether to disable",
9547
- "value": {
9548
- "type": "boolean",
9549
- "kind": "expression"
9550
- }
9551
- },
9552
- {
9553
- "name": "simple",
9554
- "description": "Whether to open the simple mode (click the option to move)",
9555
- "value": {
9556
- "type": "boolean",
9557
- "kind": "expression"
9558
- }
9559
- },
9560
- {
9561
- "name": "one-way",
9562
- "description": "Whether to open the one-way mode (only move to the target selection box)",
9563
- "value": {
9564
- "type": "boolean",
9565
- "kind": "expression"
9566
- }
9567
- },
9568
- {
9569
- "name": "show-search",
9570
- "description": "Whether to show the search input",
9571
- "value": {
9572
- "type": "boolean",
9573
- "kind": "expression"
9574
- }
9575
- },
9576
- {
9577
- "name": "show-select-all",
9578
- "description": "Whether show select all checkbox on the header",
9579
- "value": {
9580
- "type": "boolean",
9581
- "kind": "expression"
9582
- }
9583
- },
9584
- {
9585
- "name": "title",
9586
- "description": "The title of the source and target selection boxes",
9587
- "value": {
9588
- "type": "string[]",
9589
- "kind": "expression"
9590
- }
9591
- },
9592
- {
9593
- "name": "source-input-search-props",
9594
- "description": "Search box configuration for source selection box",
9595
- "value": {
9596
- "type": "object",
9597
- "kind": "expression"
9598
- }
9599
- },
9600
- {
9601
- "name": "target-input-search-props",
9602
- "description": "Search box configuration for target selection box",
9603
- "value": {
9604
- "type": "object",
9605
- "kind": "expression"
9606
- }
9607
- }
9608
- ],
9609
- "events": [
9610
- {
9611
- "name": "change",
9612
- "description": "Triggered when the value of the target selection box changes"
9613
- },
9727
+ "name": "change",
9728
+ "description": "Triggered when the value of the target selection box changes"
9729
+ },
9614
9730
  {
9615
9731
  "name": "select",
9616
9732
  "description": "Triggered when the selected value changes"
@@ -9622,437 +9738,32 @@
9622
9738
  ],
9623
9739
  "slots": [
9624
9740
  {
9625
- "name": "source",
9626
- "description": "Source content"
9627
- },
9628
- {
9629
- "name": "source-title",
9630
- "description": "Source Header"
9631
- },
9632
- {
9633
- "name": "to-target-icon",
9634
- "description": "To target icon slot"
9635
- },
9636
- {
9637
- "name": "to-source-icon",
9638
- "description": "To source icon slot"
9639
- },
9640
- {
9641
- "name": "target",
9642
- "description": "Target content"
9643
- },
9644
- {
9645
- "name": "target-title",
9646
- "description": "Target Header"
9647
- },
9648
- {
9649
- "name": "item",
9650
- "description": "Option"
9651
- }
9652
- ]
9653
- },
9654
- {
9655
- "name": "sd-timeline",
9656
- "attributes": [
9657
- {
9658
- "name": "reverse",
9659
- "description": "Whether reverse order",
9660
- "value": {
9661
- "type": "boolean",
9662
- "kind": "expression"
9663
- }
9664
- },
9665
- {
9666
- "name": "direction",
9667
- "description": "Timeline direction",
9668
- "value": {
9669
- "type": "Direction",
9670
- "kind": "expression"
9671
- }
9672
- },
9673
- {
9674
- "name": "mode",
9675
- "description": "The display mode of Timeline",
9676
- "value": {
9677
- "type": "ModeType",
9678
- "kind": "expression"
9679
- }
9680
- },
9681
- {
9682
- "name": "pending",
9683
- "description": "Whether to display ghost nodes. When set to true, only ghost nodes are displayed. When passed to ReactNode, it will be displayed as node content",
9684
- "value": {
9685
- "type": "boolean|string",
9686
- "kind": "expression"
9687
- }
9688
- },
9689
- {
9690
- "name": "label-position",
9691
- "description": "Position of label text",
9692
- "value": {
9693
- "type": "LabelPositionType",
9694
- "kind": "expression"
9695
- }
9696
- }
9697
- ],
9698
- "events": [],
9699
- "slots": [
9700
- {
9701
- "name": "dot",
9702
- "description": "Custom dot"
9703
- }
9704
- ]
9705
- },
9706
- {
9707
- "name": "sd-timeline-item",
9708
- "attributes": [
9709
- {
9710
- "name": "dot-color",
9711
- "description": "Dot color",
9712
- "value": {
9713
- "type": "string",
9714
- "kind": "expression"
9715
- }
9716
- },
9717
- {
9718
- "name": "dot-type",
9719
- "description": "Dot type",
9720
- "value": {
9721
- "type": "DotType",
9722
- "kind": "expression"
9723
- }
9724
- },
9725
- {
9726
- "name": "line-type",
9727
- "description": "Line type",
9728
- "value": {
9729
- "type": "LineType",
9730
- "kind": "expression"
9731
- }
9732
- },
9733
- {
9734
- "name": "line-color",
9735
- "description": "Line Color",
9736
- "value": {
9737
- "type": "string",
9738
- "kind": "expression"
9739
- }
9740
- },
9741
- {
9742
- "name": "label",
9743
- "description": "Label text",
9744
- "value": {
9745
- "type": "string",
9746
- "kind": "expression"
9747
- }
9748
- },
9749
- {
9750
- "name": "position",
9751
- "description": "Item position",
9752
- "value": {
9753
- "type": "PositionType",
9754
- "kind": "expression"
9755
- }
9756
- }
9757
- ],
9758
- "events": [],
9759
- "slots": [
9760
- {
9761
- "name": "dot",
9762
- "description": "Custom dot"
9763
- },
9764
- {
9765
- "name": "label",
9766
- "description": "Custom label"
9767
- }
9768
- ]
9769
- },
9770
- {
9771
- "name": "sd-tree",
9772
- "attributes": [
9773
- {
9774
- "name": "size",
9775
- "description": "Size",
9776
- "value": {
9777
- "type": "string",
9778
- "kind": "expression"
9779
- }
9780
- },
9781
- {
9782
- "name": "block-node",
9783
- "description": "Whether the node occupies a row",
9784
- "value": {
9785
- "type": "boolean",
9786
- "kind": "expression"
9787
- }
9788
- },
9789
- {
9790
- "name": "default-expand-all",
9791
- "description": "Whether to expand the parent node by default",
9792
- "value": {
9793
- "type": "boolean",
9794
- "kind": "expression"
9795
- }
9796
- },
9797
- {
9798
- "name": "multiple",
9799
- "description": "Whether to support multiple selection",
9800
- "value": {
9801
- "type": "boolean",
9802
- "kind": "expression"
9803
- }
9804
- },
9805
- {
9806
- "name": "checkable",
9807
- "description": "Whether to add a checkbox before the node, function format is supported since `2.27.0`",
9808
- "value": {
9809
- "type": "| boolean\n| ((\n node: TreeNodeData,\n info: {\n level: number;\n isLeaf: boolean;\n },\n ) => boolean)",
9810
- "kind": "expression"
9811
- }
9812
- },
9813
- {
9814
- "name": "selectable",
9815
- "description": "Whether to support selection, function format is supported since `2.27.0`",
9816
- "value": {
9817
- "type": "| boolean\n| ((\n node: TreeNodeData,\n info: {\n level: number;\n isLeaf: boolean;\n },\n ) => boolean)",
9818
- "kind": "expression"
9819
- }
9820
- },
9821
- {
9822
- "name": "check-strictly",
9823
- "description": "Whether to cancel the parent-child node association",
9824
- "value": {
9825
- "type": "boolean",
9826
- "kind": "expression"
9827
- }
9828
- },
9829
- {
9830
- "name": "checked-strategy",
9831
- "description": "Customized backfill method <br/> all: return all selected nodes <br/> parent: return only parent node when both parent and child nodes are selected <br/> child: return only child nodes",
9832
- "value": {
9833
- "type": "string",
9834
- "kind": "expression"
9835
- }
9836
- },
9837
- {
9838
- "name": "default-selected-keys",
9839
- "description": "Tree node selected by default",
9840
- "value": {
9841
- "type": "Array<string | number>",
9842
- "kind": "expression"
9843
- }
9844
- },
9845
- {
9846
- "name": "selected-keys",
9847
- "description": "Selected tree node",
9848
- "value": {
9849
- "type": "Array<string | number>",
9850
- "kind": "expression"
9851
- }
9852
- },
9853
- {
9854
- "name": "default-checked-keys",
9855
- "description": "Tree node with checkbox selected by default",
9856
- "value": {
9857
- "type": "Array<string | number>",
9858
- "kind": "expression"
9859
- }
9860
- },
9861
- {
9862
- "name": "checked-keys",
9863
- "description": "Tree node with check box selected",
9864
- "value": {
9865
- "type": "Array<string | number>",
9866
- "kind": "expression"
9867
- }
9868
- },
9869
- {
9870
- "name": "default-expanded-keys",
9871
- "description": "Nodes expanded by default",
9872
- "value": {
9873
- "type": "Array<string | number>",
9874
- "kind": "expression"
9875
- }
9876
- },
9877
- {
9878
- "name": "expanded-keys",
9879
- "description": "Expanded node",
9880
- "value": {
9881
- "type": "Array<string | number>",
9882
- "kind": "expression"
9883
- }
9884
- },
9885
- {
9886
- "name": "data",
9887
- "description": "Pass in `data` to generate the corresponding tree structure",
9888
- "value": {
9889
- "type": "TreeNodeData[]",
9890
- "kind": "expression"
9891
- }
9892
- },
9893
- {
9894
- "name": "field-names",
9895
- "description": "Specify the field name in the node data",
9896
- "value": {
9897
- "type": "TreeFieldNames",
9898
- "kind": "expression"
9899
- }
9900
- },
9901
- {
9902
- "name": "show-line",
9903
- "description": "Whether to display the connection line",
9904
- "value": {
9905
- "type": "boolean",
9906
- "kind": "expression"
9907
- }
9908
- },
9909
- {
9910
- "name": "load-more",
9911
- "description": "A callback for loading data asynchronously, returning a `Promise`",
9912
- "value": {
9913
- "type": "(node: TreeNodeData) => Promise<void>",
9914
- "kind": "expression"
9915
- }
9916
- },
9917
- {
9918
- "name": "draggable",
9919
- "description": "Whether it can be dragged",
9920
- "value": {
9921
- "type": "boolean",
9922
- "kind": "expression"
9923
- }
9924
- },
9925
- {
9926
- "name": "allow-drop",
9927
- "description": "Whether to allow release on a node when dragging",
9928
- "value": {
9929
- "type": "(options: { dropNode: TreeNodeData; dropPosition: -1 | 0 | 1 }) => boolean",
9930
- "kind": "expression"
9931
- }
9932
- },
9933
- {
9934
- "name": "virtual-list-props",
9935
- "description": "Pass virtual list properties, pass in this parameter to turn on virtual scrolling, [VirtualListProps](#VirtualListProps)",
9936
- "value": {
9937
- "type": "VirtualListProps",
9938
- "kind": "expression"
9939
- }
9940
- },
9941
- {
9942
- "name": "default-expand-selected",
9943
- "description": "Whether to expand the parent node of the selected node by default",
9944
- "value": {
9945
- "type": "boolean",
9946
- "kind": "expression"
9947
- }
9948
- },
9949
- {
9950
- "name": "default-expand-checked",
9951
- "description": "Whether to expand the parent node of the checked node by default",
9952
- "value": {
9953
- "type": "boolean",
9954
- "kind": "expression"
9955
- }
9956
- },
9957
- {
9958
- "name": "auto-expand-parent",
9959
- "description": "Whether to automatically expand the parent node of the expanded node",
9960
- "value": {
9961
- "type": "boolean",
9962
- "kind": "expression"
9963
- }
9964
- },
9965
- {
9966
- "name": "half-checked-keys",
9967
- "description": "The keys of half checked. Only valid when checkable and checkStrictly",
9968
- "value": {
9969
- "type": "Array<string | number>",
9970
- "kind": "expression"
9971
- }
9972
- },
9973
- {
9974
- "name": "only-check-leaf",
9975
- "description": "When enabled, checkedKeys is only for checked leaf nodes, and the status of the parent node is determined by the child node.(Only valid when checkable and checkStrictly is false)",
9976
- "value": {
9977
- "type": "boolean",
9978
- "kind": "expression"
9979
- }
9980
- },
9981
- {
9982
- "name": "animation",
9983
- "description": "Whether to enable expand transition animation",
9984
- "value": {
9985
- "type": "boolean",
9986
- "kind": "expression"
9987
- }
9988
- },
9989
- {
9990
- "name": "action-on-node-click",
9991
- "description": "The action triggered when the node is clicked",
9992
- "value": {
9993
- "type": "'expand'",
9994
- "kind": "expression"
9995
- }
9996
- }
9997
- ],
9998
- "events": [
9999
- {
10000
- "name": "select",
10001
- "description": "Triggered when the tree node is clicked"
10002
- },
10003
- {
10004
- "name": "check",
10005
- "description": "Triggered when the tree node checkbox is clicked. `halfCheckedKeys` and `halfCheckedNodes` support from `2.19.0`."
10006
- },
10007
- {
10008
- "name": "expand",
10009
- "description": "Expand/close"
10010
- },
10011
- {
10012
- "name": "drag-start",
10013
- "description": "Node starts dragging"
10014
- },
10015
- {
10016
- "name": "drag-end",
10017
- "description": "Node end drag"
10018
- },
10019
- {
10020
- "name": "drag-over",
10021
- "description": "The node is dragged to the releasable target"
10022
- },
10023
- {
10024
- "name": "drag-leave",
10025
- "description": "Node leaves to release the target"
10026
- },
10027
- {
10028
- "name": "drop",
10029
- "description": "The node is released on a releasable target"
10030
- }
10031
- ],
10032
- "slots": [
9741
+ "name": "source",
9742
+ "description": "Source content"
9743
+ },
10033
9744
  {
10034
- "name": "title",
10035
- "description": "Title"
9745
+ "name": "source-title",
9746
+ "description": "Source Header"
10036
9747
  },
10037
9748
  {
10038
- "name": "extra",
10039
- "description": "Render additional node content"
9749
+ "name": "to-target-icon",
9750
+ "description": "To target icon slot"
10040
9751
  },
10041
9752
  {
10042
- "name": "drag-icon",
10043
- "description": "Custom drag icon"
9753
+ "name": "to-source-icon",
9754
+ "description": "To source icon slot"
10044
9755
  },
10045
9756
  {
10046
- "name": "loading-icon",
10047
- "description": "Custom loading icon"
9757
+ "name": "target",
9758
+ "description": "Target content"
10048
9759
  },
10049
9760
  {
10050
- "name": "switcher-icon",
10051
- "description": "Custom switcher icon"
9761
+ "name": "target-title",
9762
+ "description": "Target Header"
10052
9763
  },
10053
9764
  {
10054
- "name": "icon",
10055
- "description": "Custom node icon"
9765
+ "name": "item",
9766
+ "description": "Option"
10056
9767
  }
10057
9768
  ]
10058
9769
  },
@@ -10630,291 +10341,291 @@
10630
10341
  ]
10631
10342
  },
10632
10343
  {
10633
- "name": "sd-trigger",
10344
+ "name": "sd-tree",
10634
10345
  "attributes": [
10635
10346
  {
10636
- "name": "popup-visible",
10637
- "description": "Whether the popup is visible",
10347
+ "name": "size",
10348
+ "description": "Size",
10638
10349
  "value": {
10639
- "type": "boolean",
10350
+ "type": "string",
10640
10351
  "kind": "expression"
10641
10352
  }
10642
10353
  },
10643
10354
  {
10644
- "name": "default-popup-visible",
10645
- "description": "Whether the popup is visible by default (uncontrolled mode)",
10355
+ "name": "block-node",
10356
+ "description": "Whether the node occupies a row",
10646
10357
  "value": {
10647
10358
  "type": "boolean",
10648
10359
  "kind": "expression"
10649
10360
  }
10650
10361
  },
10651
10362
  {
10652
- "name": "trigger",
10653
- "description": "Trigger method",
10654
- "value": {
10655
- "type": "TriggerEvent | TriggerEvent[]",
10656
- "kind": "expression"
10657
- }
10658
- },
10659
- {
10660
- "name": "position",
10661
- "description": "Popup position",
10363
+ "name": "default-expand-all",
10364
+ "description": "Whether to expand the parent node by default",
10662
10365
  "value": {
10663
- "type": "TriggerPosition",
10366
+ "type": "boolean",
10664
10367
  "kind": "expression"
10665
10368
  }
10666
10369
  },
10667
10370
  {
10668
- "name": "disabled",
10669
- "description": "Whether the trigger is disabled",
10371
+ "name": "multiple",
10372
+ "description": "Whether to support multiple selection",
10670
10373
  "value": {
10671
10374
  "type": "boolean",
10672
10375
  "kind": "expression"
10673
10376
  }
10674
10377
  },
10675
10378
  {
10676
- "name": "popup-offset",
10677
- "description": "The offset of the popup (the offset distance of the popup from the trigger)",
10379
+ "name": "checkable",
10380
+ "description": "Whether to add a checkbox before the node, function format is supported since `2.27.0`",
10678
10381
  "value": {
10679
- "type": "number",
10382
+ "type": "| boolean\n| ((\n node: TreeNodeData,\n info: {\n level: number;\n isLeaf: boolean;\n },\n ) => boolean)",
10680
10383
  "kind": "expression"
10681
10384
  }
10682
10385
  },
10683
10386
  {
10684
- "name": "popup-translate",
10685
- "description": "The moving distance of the popup",
10387
+ "name": "selectable",
10388
+ "description": "Whether to support selection, function format is supported since `2.27.0`",
10686
10389
  "value": {
10687
- "type": "TriggerPopupTranslate",
10390
+ "type": "| boolean\n| ((\n node: TreeNodeData,\n info: {\n level: number;\n isLeaf: boolean;\n },\n ) => boolean)",
10688
10391
  "kind": "expression"
10689
10392
  }
10690
10393
  },
10691
10394
  {
10692
- "name": "show-arrow",
10693
- "description": "Whether the popup shows an arrow",
10395
+ "name": "check-strictly",
10396
+ "description": "Whether to cancel the parent-child node association",
10694
10397
  "value": {
10695
10398
  "type": "boolean",
10696
10399
  "kind": "expression"
10697
10400
  }
10698
10401
  },
10699
10402
  {
10700
- "name": "align-point",
10701
- "description": "Whether the popup follows the mouse",
10403
+ "name": "checked-strategy",
10404
+ "description": "Customized backfill method <br/> all: return all selected nodes <br/> parent: return only parent node when both parent and child nodes are selected <br/> child: return only child nodes",
10702
10405
  "value": {
10703
- "type": "boolean",
10406
+ "type": "string",
10704
10407
  "kind": "expression"
10705
10408
  }
10706
10409
  },
10707
10410
  {
10708
- "name": "popup-hover-stay",
10709
- "description": "Whether to keep the popup displayed when the trigger is moved out and moved into the popup",
10411
+ "name": "default-selected-keys",
10412
+ "description": "Tree node selected by default",
10710
10413
  "value": {
10711
- "type": "boolean",
10414
+ "type": "Array<string | number>",
10712
10415
  "kind": "expression"
10713
10416
  }
10714
10417
  },
10715
10418
  {
10716
- "name": "blur-to-close",
10717
- "description": "Whether to close the popup when the trigger loses focus",
10419
+ "name": "selected-keys",
10420
+ "description": "Selected tree node",
10718
10421
  "value": {
10719
- "type": "boolean",
10422
+ "type": "Array<string | number>",
10720
10423
  "kind": "expression"
10721
10424
  }
10722
10425
  },
10723
10426
  {
10724
- "name": "click-to-close",
10725
- "description": "Whether to close the popup when the trigger is clicked",
10427
+ "name": "default-checked-keys",
10428
+ "description": "Tree node with checkbox selected by default",
10726
10429
  "value": {
10727
- "type": "boolean",
10430
+ "type": "Array<string | number>",
10728
10431
  "kind": "expression"
10729
10432
  }
10730
10433
  },
10731
10434
  {
10732
- "name": "click-outside-to-close",
10733
- "description": "Whether to close the popup when clicking on the outer area",
10435
+ "name": "checked-keys",
10436
+ "description": "Tree node with check box selected",
10734
10437
  "value": {
10735
- "type": "boolean",
10438
+ "type": "Array<string | number>",
10736
10439
  "kind": "expression"
10737
10440
  }
10738
10441
  },
10739
10442
  {
10740
- "name": "unmount-on-close",
10741
- "description": "Whether to uninstall the popup node when closing",
10443
+ "name": "default-expanded-keys",
10444
+ "description": "Nodes expanded by default",
10742
10445
  "value": {
10743
- "type": "boolean",
10446
+ "type": "Array<string | number>",
10744
10447
  "kind": "expression"
10745
10448
  }
10746
10449
  },
10747
10450
  {
10748
- "name": "content-class",
10749
- "description": "The class name of the popup content",
10451
+ "name": "expanded-keys",
10452
+ "description": "Expanded node",
10750
10453
  "value": {
10751
- "type": "string|array|object",
10454
+ "type": "Array<string | number>",
10752
10455
  "kind": "expression"
10753
10456
  }
10754
10457
  },
10755
10458
  {
10756
- "name": "content-style",
10757
- "description": "The style of the popup content",
10459
+ "name": "data",
10460
+ "description": "Pass in `data` to generate the corresponding tree structure",
10758
10461
  "value": {
10759
- "type": "CSSProperties",
10462
+ "type": "TreeNodeData[]",
10760
10463
  "kind": "expression"
10761
10464
  }
10762
10465
  },
10763
10466
  {
10764
- "name": "arrow-class",
10765
- "description": "The class name of the popup arrow",
10467
+ "name": "field-names",
10468
+ "description": "Specify the field name in the node data",
10766
10469
  "value": {
10767
- "type": "string|array|object",
10470
+ "type": "TreeFieldNames",
10768
10471
  "kind": "expression"
10769
10472
  }
10770
10473
  },
10771
10474
  {
10772
- "name": "arrow-style",
10773
- "description": "The style of the popup arrow",
10475
+ "name": "show-line",
10476
+ "description": "Whether to display the connection line",
10774
10477
  "value": {
10775
- "type": "CSSProperties",
10478
+ "type": "boolean",
10776
10479
  "kind": "expression"
10777
10480
  }
10778
10481
  },
10779
10482
  {
10780
- "name": "popup-style",
10781
- "description": "The style of the popup",
10483
+ "name": "load-more",
10484
+ "description": "A callback for loading data asynchronously, returning a `Promise`",
10782
10485
  "value": {
10783
- "type": "CSSProperties",
10486
+ "type": "(node: TreeNodeData) => Promise<void>",
10784
10487
  "kind": "expression"
10785
10488
  }
10786
10489
  },
10787
10490
  {
10788
- "name": "animation-name",
10789
- "description": "The name of the popup animation",
10491
+ "name": "draggable",
10492
+ "description": "Whether it can be dragged",
10790
10493
  "value": {
10791
- "type": "string",
10494
+ "type": "boolean",
10792
10495
  "kind": "expression"
10793
10496
  }
10794
10497
  },
10795
10498
  {
10796
- "name": "duration",
10797
- "description": "The duration of the popup animation",
10499
+ "name": "allow-drop",
10500
+ "description": "Whether to allow release on a node when dragging",
10798
10501
  "value": {
10799
- "type": "| number\n| {\n enter: number;\n leave: number;\n }",
10502
+ "type": "(options: { dropNode: TreeNodeData; dropPosition: -1 | 0 | 1 }) => boolean",
10800
10503
  "kind": "expression"
10801
10504
  }
10802
10505
  },
10803
10506
  {
10804
- "name": "mouse-enter-delay",
10805
- "description": "Delay trigger time of mouseenter event (ms)",
10507
+ "name": "virtual-list-props",
10508
+ "description": "Pass virtual list properties, pass in this parameter to turn on virtual scrolling, [VirtualListProps](#VirtualListProps)",
10806
10509
  "value": {
10807
- "type": "number",
10510
+ "type": "VirtualListProps",
10808
10511
  "kind": "expression"
10809
10512
  }
10810
10513
  },
10811
10514
  {
10812
- "name": "mouse-leave-delay",
10813
- "description": "Delay trigger time of mouseleave event (ms)",
10515
+ "name": "default-expand-selected",
10516
+ "description": "Whether to expand the parent node of the selected node by default",
10814
10517
  "value": {
10815
- "type": "number",
10518
+ "type": "boolean",
10816
10519
  "kind": "expression"
10817
10520
  }
10818
10521
  },
10819
10522
  {
10820
- "name": "focus-delay",
10821
- "description": "Delay trigger time of focus event (ms)",
10523
+ "name": "default-expand-checked",
10524
+ "description": "Whether to expand the parent node of the checked node by default",
10822
10525
  "value": {
10823
- "type": "number",
10526
+ "type": "boolean",
10824
10527
  "kind": "expression"
10825
10528
  }
10826
10529
  },
10827
10530
  {
10828
- "name": "auto-fit-popup-width",
10829
- "description": "Whether to set the width of the popup to the width of the trigger",
10531
+ "name": "auto-expand-parent",
10532
+ "description": "Whether to automatically expand the parent node of the expanded node",
10830
10533
  "value": {
10831
10534
  "type": "boolean",
10832
10535
  "kind": "expression"
10833
10536
  }
10834
10537
  },
10835
10538
  {
10836
- "name": "auto-fit-popup-min-width",
10837
- "description": "Whether to set the minimum width of the popup to the trigger width",
10539
+ "name": "half-checked-keys",
10540
+ "description": "The keys of half checked. Only valid when checkable and checkStrictly",
10838
10541
  "value": {
10839
- "type": "boolean",
10542
+ "type": "Array<string | number>",
10840
10543
  "kind": "expression"
10841
10544
  }
10842
10545
  },
10843
10546
  {
10844
- "name": "auto-fix-position",
10845
- "description": "When the size of the trigger changes, whether to recalculate the position of the popup",
10547
+ "name": "only-check-leaf",
10548
+ "description": "When enabled, checkedKeys is only for checked leaf nodes, and the status of the parent node is determined by the child node.(Only valid when checkable and checkStrictly is false)",
10846
10549
  "value": {
10847
10550
  "type": "boolean",
10848
10551
  "kind": "expression"
10849
10552
  }
10850
10553
  },
10851
10554
  {
10852
- "name": "popup-container",
10853
- "description": "Mount container for popup",
10555
+ "name": "animation",
10556
+ "description": "Whether to enable expand transition animation",
10854
10557
  "value": {
10855
- "type": "string | HTMLElement",
10558
+ "type": "boolean",
10856
10559
  "kind": "expression"
10857
10560
  }
10858
10561
  },
10859
10562
  {
10860
- "name": "auto-fit-position",
10861
- "description": "Whether to automatically adjust the position of the popup to fit the window size",
10563
+ "name": "action-on-node-click",
10564
+ "description": "The action triggered when the node is clicked",
10862
10565
  "value": {
10863
- "type": "boolean",
10566
+ "type": "'expand'",
10864
10567
  "kind": "expression"
10865
10568
  }
10569
+ }
10570
+ ],
10571
+ "events": [
10572
+ {
10573
+ "name": "select",
10574
+ "description": "Triggered when the tree node is clicked"
10866
10575
  },
10867
10576
  {
10868
- "name": "render-to-body",
10869
- "description": "Whether to mount under the `body` element",
10870
- "value": {
10871
- "type": "boolean",
10872
- "kind": "expression"
10873
- }
10577
+ "name": "check",
10578
+ "description": "Triggered when the tree node checkbox is clicked. `halfCheckedKeys` and `halfCheckedNodes` support from `2.19.0`."
10874
10579
  },
10875
10580
  {
10876
- "name": "prevent-focus",
10877
- "description": "Whether to prevent elements in the pop-up layer from gaining focus when clicked",
10878
- "value": {
10879
- "type": "boolean",
10880
- "kind": "expression"
10881
- }
10581
+ "name": "expand",
10582
+ "description": "Expand/close"
10882
10583
  },
10883
10584
  {
10884
- "name": "scroll-to-close",
10885
- "description": "Whether to close the popover when scrolling",
10886
- "value": {
10887
- "type": "boolean",
10888
- "kind": "expression"
10889
- }
10585
+ "name": "drag-start",
10586
+ "description": "Node starts dragging"
10890
10587
  },
10891
10588
  {
10892
- "name": "scroll-to-close-distance",
10893
- "description": "Scroll threshold, trigger close when the scroll distance exceeds this value",
10894
- "value": {
10895
- "type": "number",
10896
- "kind": "expression"
10897
- }
10589
+ "name": "drag-end",
10590
+ "description": "Node end drag"
10591
+ },
10592
+ {
10593
+ "name": "drag-over",
10594
+ "description": "The node is dragged to the releasable target"
10595
+ },
10596
+ {
10597
+ "name": "drag-leave",
10598
+ "description": "Node leaves to release the target"
10599
+ },
10600
+ {
10601
+ "name": "drop",
10602
+ "description": "The node is released on a releasable target"
10898
10603
  }
10899
10604
  ],
10900
- "events": [
10605
+ "slots": [
10901
10606
  {
10902
- "name": "popup-visible-change",
10903
- "description": "Emitted when the status of the popup changes"
10607
+ "name": "title",
10608
+ "description": "Title"
10609
+ },
10610
+ {
10611
+ "name": "extra",
10612
+ "description": "Render additional node content"
10613
+ },
10614
+ {
10615
+ "name": "drag-icon",
10616
+ "description": "Custom drag icon"
10904
10617
  },
10905
10618
  {
10906
- "name": "show",
10907
- "description": "Triggered after the trigger is shown (the animation ends)"
10619
+ "name": "loading-icon",
10620
+ "description": "Custom loading icon"
10908
10621
  },
10909
10622
  {
10910
- "name": "hide",
10911
- "description": "Triggered after the popup is hidden (the animation ends)"
10912
- }
10913
- ],
10914
- "slots": [
10623
+ "name": "switcher-icon",
10624
+ "description": "Custom switcher icon"
10625
+ },
10915
10626
  {
10916
- "name": "content",
10917
- "description": "Popup content"
10627
+ "name": "icon",
10628
+ "description": "Custom node icon"
10918
10629
  }
10919
10630
  ]
10920
10631
  },
@@ -11575,253 +11286,542 @@
11575
11286
  "description": "The header of the drop-down box"
11576
11287
  },
11577
11288
  {
11578
- "name": "loader",
11579
- "description": "Customizing the content displayed during loading"
11580
- },
11289
+ "name": "loader",
11290
+ "description": "Customizing the content displayed during loading"
11291
+ },
11292
+ {
11293
+ "name": "empty",
11294
+ "description": "Custom empty data display"
11295
+ },
11296
+ {
11297
+ "name": "footer",
11298
+ "description": "The footer of the drop-down box"
11299
+ },
11300
+ {
11301
+ "name": "tree-slot-extra",
11302
+ "description": "Render additional node content of the tree component"
11303
+ },
11304
+ {
11305
+ "name": "tree-slot-title",
11306
+ "description": "Custom the node title of the tree component"
11307
+ },
11308
+ {
11309
+ "name": "tree-slot-icon",
11310
+ "description": "Custom node icon for the tree component"
11311
+ },
11312
+ {
11313
+ "name": "tree-slot-switcher-icon",
11314
+ "description": "Custom switcher icon for the tree component"
11315
+ }
11316
+ ]
11317
+ },
11318
+ {
11319
+ "name": "sd-verification-code",
11320
+ "attributes": [
11321
+ {
11322
+ "name": "model-value",
11323
+ "description": "Value",
11324
+ "value": {
11325
+ "type": "string",
11326
+ "kind": "expression"
11327
+ }
11328
+ },
11329
+ {
11330
+ "name": "default-value",
11331
+ "description": "Default value (uncontrolled state)",
11332
+ "value": {
11333
+ "type": "string",
11334
+ "kind": "expression"
11335
+ }
11336
+ },
11337
+ {
11338
+ "name": "length",
11339
+ "description": "The length of the verification code, rendering the corresponding number of input boxes according to the length.",
11340
+ "value": {
11341
+ "type": "number",
11342
+ "kind": "expression"
11343
+ }
11344
+ },
11345
+ {
11346
+ "name": "size",
11347
+ "description": "Input size",
11348
+ "value": {
11349
+ "type": "Size",
11350
+ "kind": "expression"
11351
+ }
11352
+ },
11353
+ {
11354
+ "name": "disabled",
11355
+ "description": "Whether to disable",
11356
+ "value": {
11357
+ "type": "boolean",
11358
+ "kind": "expression"
11359
+ }
11360
+ },
11361
+ {
11362
+ "name": "masked",
11363
+ "description": "Password mode",
11364
+ "value": {
11365
+ "type": "boolean",
11366
+ "kind": "expression"
11367
+ }
11368
+ },
11369
+ {
11370
+ "name": "readonly",
11371
+ "description": "Readonly",
11372
+ "value": {
11373
+ "type": "boolean",
11374
+ "kind": "expression"
11375
+ }
11376
+ },
11377
+ {
11378
+ "name": "error",
11379
+ "description": "Whether it is an error state",
11380
+ "value": {
11381
+ "type": "boolean",
11382
+ "kind": "expression"
11383
+ }
11384
+ },
11385
+ {
11386
+ "name": "separator",
11387
+ "description": "Separator. Customizable rendering separators after input boxes with different indexes",
11388
+ "value": {
11389
+ "type": "(index: number, character: string) => VNode",
11390
+ "kind": "expression"
11391
+ }
11392
+ },
11393
+ {
11394
+ "name": "formatter",
11395
+ "description": "Formatter function, triggered when the user input value changes",
11396
+ "value": {
11397
+ "type": "(inputValue: string, index: number, value: string) => string | boolean",
11398
+ "kind": "expression"
11399
+ }
11400
+ }
11401
+ ],
11402
+ "events": [
11403
+ {
11404
+ "name": "change",
11405
+ "description": "Triggered when the value changes"
11406
+ },
11407
+ {
11408
+ "name": "finish",
11409
+ "description": "Triggered when the filling is complete"
11410
+ },
11411
+ {
11412
+ "name": "input",
11413
+ "description": "Triggered on input"
11414
+ }
11415
+ ],
11416
+ "slots": []
11417
+ },
11418
+ {
11419
+ "name": "sd-watermark",
11420
+ "attributes": [
11421
+ {
11422
+ "name": "content",
11423
+ "description": "Watermark text content",
11424
+ "value": {
11425
+ "type": "string | string[]",
11426
+ "kind": "expression"
11427
+ }
11428
+ },
11429
+ {
11430
+ "name": "image",
11431
+ "description": "Image watermark address",
11432
+ "value": {
11433
+ "type": "string",
11434
+ "kind": "expression"
11435
+ }
11436
+ },
11437
+ {
11438
+ "name": "width",
11439
+ "description": "Watermark width",
11440
+ "value": {
11441
+ "type": "number",
11442
+ "kind": "expression"
11443
+ }
11444
+ },
11445
+ {
11446
+ "name": "height",
11447
+ "description": "Watermark height",
11448
+ "value": {
11449
+ "type": "number",
11450
+ "kind": "expression"
11451
+ }
11452
+ },
11453
+ {
11454
+ "name": "gap",
11455
+ "description": "Watermark spacing",
11456
+ "value": {
11457
+ "type": "[number, number]",
11458
+ "kind": "expression"
11459
+ }
11460
+ },
11461
+ {
11462
+ "name": "offset",
11463
+ "description": "The offset from the upper left corner of the container, the default is half the watermark spacing",
11464
+ "value": {
11465
+ "type": "[number, number]",
11466
+ "kind": "expression"
11467
+ }
11468
+ },
11469
+ {
11470
+ "name": "rotate",
11471
+ "description": "Watermark rotation angle",
11472
+ "value": {
11473
+ "type": "number",
11474
+ "kind": "expression"
11475
+ }
11476
+ },
11477
+ {
11478
+ "name": "font",
11479
+ "description": "Watermark font style, specific parameter configuration see [WatermarkFont](#WatermarkFont)",
11480
+ "value": {
11481
+ "type": "WatermarkFont",
11482
+ "kind": "expression"
11483
+ }
11484
+ },
11485
+ {
11486
+ "name": "z-index",
11487
+ "description": "Watermark z-index",
11488
+ "value": {
11489
+ "type": "number",
11490
+ "kind": "expression"
11491
+ }
11492
+ },
11493
+ {
11494
+ "name": "alpha",
11495
+ "description": "Watermark opacity",
11496
+ "value": {
11497
+ "type": "number",
11498
+ "kind": "expression"
11499
+ }
11500
+ },
11501
+ {
11502
+ "name": "anti-tamper",
11503
+ "description": "Watermark anti-tampering",
11504
+ "value": {
11505
+ "type": "boolean",
11506
+ "kind": "expression"
11507
+ }
11508
+ },
11509
+ {
11510
+ "name": "grayscale",
11511
+ "description": "Grayscale watermark",
11512
+ "value": {
11513
+ "type": "boolean",
11514
+ "kind": "expression"
11515
+ }
11516
+ },
11517
+ {
11518
+ "name": "repeat",
11519
+ "description": "Whether to repeat the watermark",
11520
+ "value": {
11521
+ "type": "boolean",
11522
+ "kind": "expression"
11523
+ }
11524
+ },
11525
+ {
11526
+ "name": "staggered",
11527
+ "description": "Whether to stagger the arrangement layout",
11528
+ "value": {
11529
+ "type": "boolean",
11530
+ "kind": "expression"
11531
+ }
11532
+ }
11533
+ ],
11534
+ "events": [],
11535
+ "slots": []
11536
+ },
11537
+ {
11538
+ "name": "sd-trigger",
11539
+ "attributes": [
11581
11540
  {
11582
- "name": "empty",
11583
- "description": "Custom empty data display"
11541
+ "name": "popup-visible",
11542
+ "description": "Whether the popup is visible",
11543
+ "value": {
11544
+ "type": "boolean",
11545
+ "kind": "expression"
11546
+ }
11584
11547
  },
11585
11548
  {
11586
- "name": "footer",
11587
- "description": "The footer of the drop-down box"
11549
+ "name": "default-popup-visible",
11550
+ "description": "Whether the popup is visible by default (uncontrolled mode)",
11551
+ "value": {
11552
+ "type": "boolean",
11553
+ "kind": "expression"
11554
+ }
11588
11555
  },
11589
11556
  {
11590
- "name": "tree-slot-extra",
11591
- "description": "Render additional node content of the tree component"
11557
+ "name": "trigger",
11558
+ "description": "Trigger method",
11559
+ "value": {
11560
+ "type": "TriggerEvent | TriggerEvent[]",
11561
+ "kind": "expression"
11562
+ }
11592
11563
  },
11593
11564
  {
11594
- "name": "tree-slot-title",
11595
- "description": "Custom the node title of the tree component"
11565
+ "name": "position",
11566
+ "description": "Popup position",
11567
+ "value": {
11568
+ "type": "TriggerPosition",
11569
+ "kind": "expression"
11570
+ }
11596
11571
  },
11597
11572
  {
11598
- "name": "tree-slot-icon",
11599
- "description": "Custom node icon for the tree component"
11573
+ "name": "disabled",
11574
+ "description": "Whether the trigger is disabled",
11575
+ "value": {
11576
+ "type": "boolean",
11577
+ "kind": "expression"
11578
+ }
11600
11579
  },
11601
11580
  {
11602
- "name": "tree-slot-switcher-icon",
11603
- "description": "Custom switcher icon for the tree component"
11604
- }
11605
- ]
11606
- },
11607
- {
11608
- "name": "sd-verification-code",
11609
- "attributes": [
11610
- {
11611
- "name": "model-value",
11612
- "description": "Value",
11581
+ "name": "popup-offset",
11582
+ "description": "The offset of the popup (the offset distance of the popup from the trigger)",
11613
11583
  "value": {
11614
- "type": "string",
11584
+ "type": "number",
11615
11585
  "kind": "expression"
11616
11586
  }
11617
11587
  },
11618
11588
  {
11619
- "name": "default-value",
11620
- "description": "Default value (uncontrolled state)",
11589
+ "name": "popup-translate",
11590
+ "description": "The moving distance of the popup",
11621
11591
  "value": {
11622
- "type": "string",
11592
+ "type": "TriggerPopupTranslate",
11623
11593
  "kind": "expression"
11624
11594
  }
11625
11595
  },
11626
11596
  {
11627
- "name": "length",
11628
- "description": "The length of the verification code, rendering the corresponding number of input boxes according to the length.",
11597
+ "name": "show-arrow",
11598
+ "description": "Whether the popup shows an arrow",
11629
11599
  "value": {
11630
- "type": "number",
11600
+ "type": "boolean",
11631
11601
  "kind": "expression"
11632
11602
  }
11633
11603
  },
11634
11604
  {
11635
- "name": "size",
11636
- "description": "Input size",
11605
+ "name": "align-point",
11606
+ "description": "Whether the popup follows the mouse",
11637
11607
  "value": {
11638
- "type": "Size",
11608
+ "type": "boolean",
11639
11609
  "kind": "expression"
11640
11610
  }
11641
11611
  },
11642
11612
  {
11643
- "name": "disabled",
11644
- "description": "Whether to disable",
11613
+ "name": "popup-hover-stay",
11614
+ "description": "Whether to keep the popup displayed when the trigger is moved out and moved into the popup",
11645
11615
  "value": {
11646
11616
  "type": "boolean",
11647
11617
  "kind": "expression"
11648
11618
  }
11649
11619
  },
11650
11620
  {
11651
- "name": "masked",
11652
- "description": "Password mode",
11621
+ "name": "blur-to-close",
11622
+ "description": "Whether to close the popup when the trigger loses focus",
11653
11623
  "value": {
11654
11624
  "type": "boolean",
11655
11625
  "kind": "expression"
11656
11626
  }
11657
11627
  },
11658
11628
  {
11659
- "name": "readonly",
11660
- "description": "Readonly",
11629
+ "name": "click-to-close",
11630
+ "description": "Whether to close the popup when the trigger is clicked",
11661
11631
  "value": {
11662
11632
  "type": "boolean",
11663
11633
  "kind": "expression"
11664
11634
  }
11665
11635
  },
11666
11636
  {
11667
- "name": "error",
11668
- "description": "Whether it is an error state",
11637
+ "name": "click-outside-to-close",
11638
+ "description": "Whether to close the popup when clicking on the outer area",
11669
11639
  "value": {
11670
11640
  "type": "boolean",
11671
11641
  "kind": "expression"
11672
11642
  }
11673
11643
  },
11674
11644
  {
11675
- "name": "separator",
11676
- "description": "Separator. Customizable rendering separators after input boxes with different indexes",
11645
+ "name": "unmount-on-close",
11646
+ "description": "Whether to uninstall the popup node when closing",
11677
11647
  "value": {
11678
- "type": "(index: number, character: string) => VNode",
11648
+ "type": "boolean",
11679
11649
  "kind": "expression"
11680
11650
  }
11681
11651
  },
11682
11652
  {
11683
- "name": "formatter",
11684
- "description": "Formatter function, triggered when the user input value changes",
11653
+ "name": "content-class",
11654
+ "description": "The class name of the popup content",
11685
11655
  "value": {
11686
- "type": "(inputValue: string, index: number, value: string) => string | boolean",
11656
+ "type": "string|array|object",
11687
11657
  "kind": "expression"
11688
11658
  }
11689
- }
11690
- ],
11691
- "events": [
11659
+ },
11692
11660
  {
11693
- "name": "change",
11694
- "description": "Triggered when the value changes"
11661
+ "name": "content-style",
11662
+ "description": "The style of the popup content",
11663
+ "value": {
11664
+ "type": "CSSProperties",
11665
+ "kind": "expression"
11666
+ }
11695
11667
  },
11696
11668
  {
11697
- "name": "finish",
11698
- "description": "Triggered when the filling is complete"
11669
+ "name": "arrow-class",
11670
+ "description": "The class name of the popup arrow",
11671
+ "value": {
11672
+ "type": "string|array|object",
11673
+ "kind": "expression"
11674
+ }
11699
11675
  },
11700
11676
  {
11701
- "name": "input",
11702
- "description": "Triggered on input"
11703
- }
11704
- ],
11705
- "slots": []
11706
- },
11707
- {
11708
- "name": "sd-watermark",
11709
- "attributes": [
11677
+ "name": "arrow-style",
11678
+ "description": "The style of the popup arrow",
11679
+ "value": {
11680
+ "type": "CSSProperties",
11681
+ "kind": "expression"
11682
+ }
11683
+ },
11710
11684
  {
11711
- "name": "content",
11712
- "description": "Watermark text content",
11685
+ "name": "popup-style",
11686
+ "description": "The style of the popup",
11713
11687
  "value": {
11714
- "type": "string | string[]",
11688
+ "type": "CSSProperties",
11715
11689
  "kind": "expression"
11716
11690
  }
11717
11691
  },
11718
11692
  {
11719
- "name": "image",
11720
- "description": "Image watermark address",
11693
+ "name": "animation-name",
11694
+ "description": "The name of the popup animation",
11721
11695
  "value": {
11722
11696
  "type": "string",
11723
11697
  "kind": "expression"
11724
11698
  }
11725
11699
  },
11726
11700
  {
11727
- "name": "width",
11728
- "description": "Watermark width",
11701
+ "name": "duration",
11702
+ "description": "The duration of the popup animation",
11729
11703
  "value": {
11730
- "type": "number",
11704
+ "type": "| number\n| {\n enter: number;\n leave: number;\n }",
11731
11705
  "kind": "expression"
11732
11706
  }
11733
11707
  },
11734
11708
  {
11735
- "name": "height",
11736
- "description": "Watermark height",
11709
+ "name": "mouse-enter-delay",
11710
+ "description": "Delay trigger time of mouseenter event (ms)",
11737
11711
  "value": {
11738
11712
  "type": "number",
11739
11713
  "kind": "expression"
11740
11714
  }
11741
11715
  },
11742
11716
  {
11743
- "name": "gap",
11744
- "description": "Watermark spacing",
11717
+ "name": "mouse-leave-delay",
11718
+ "description": "Delay trigger time of mouseleave event (ms)",
11745
11719
  "value": {
11746
- "type": "[number, number]",
11720
+ "type": "number",
11747
11721
  "kind": "expression"
11748
11722
  }
11749
11723
  },
11750
11724
  {
11751
- "name": "offset",
11752
- "description": "The offset from the upper left corner of the container, the default is half the watermark spacing",
11725
+ "name": "focus-delay",
11726
+ "description": "Delay trigger time of focus event (ms)",
11753
11727
  "value": {
11754
- "type": "[number, number]",
11728
+ "type": "number",
11755
11729
  "kind": "expression"
11756
11730
  }
11757
11731
  },
11758
11732
  {
11759
- "name": "rotate",
11760
- "description": "Watermark rotation angle",
11733
+ "name": "auto-fit-popup-width",
11734
+ "description": "Whether to set the width of the popup to the width of the trigger",
11761
11735
  "value": {
11762
- "type": "number",
11736
+ "type": "boolean",
11763
11737
  "kind": "expression"
11764
11738
  }
11765
11739
  },
11766
11740
  {
11767
- "name": "font",
11768
- "description": "Watermark font style, specific parameter configuration see [WatermarkFont](#WatermarkFont)",
11741
+ "name": "auto-fit-popup-min-width",
11742
+ "description": "Whether to set the minimum width of the popup to the trigger width",
11769
11743
  "value": {
11770
- "type": "WatermarkFont",
11744
+ "type": "boolean",
11771
11745
  "kind": "expression"
11772
11746
  }
11773
11747
  },
11774
11748
  {
11775
- "name": "z-index",
11776
- "description": "Watermark z-index",
11749
+ "name": "auto-fix-position",
11750
+ "description": "When the size of the trigger changes, whether to recalculate the position of the popup",
11777
11751
  "value": {
11778
- "type": "number",
11752
+ "type": "boolean",
11779
11753
  "kind": "expression"
11780
11754
  }
11781
11755
  },
11782
11756
  {
11783
- "name": "alpha",
11784
- "description": "Watermark opacity",
11757
+ "name": "popup-container",
11758
+ "description": "Mount container for popup",
11785
11759
  "value": {
11786
- "type": "number",
11760
+ "type": "string | HTMLElement",
11787
11761
  "kind": "expression"
11788
11762
  }
11789
11763
  },
11790
11764
  {
11791
- "name": "anti-tamper",
11792
- "description": "Watermark anti-tampering",
11765
+ "name": "auto-fit-position",
11766
+ "description": "Whether to automatically adjust the position of the popup to fit the window size",
11793
11767
  "value": {
11794
11768
  "type": "boolean",
11795
11769
  "kind": "expression"
11796
11770
  }
11797
11771
  },
11798
11772
  {
11799
- "name": "grayscale",
11800
- "description": "Grayscale watermark",
11773
+ "name": "render-to-body",
11774
+ "description": "Whether to mount under the `body` element",
11801
11775
  "value": {
11802
11776
  "type": "boolean",
11803
11777
  "kind": "expression"
11804
11778
  }
11805
11779
  },
11806
11780
  {
11807
- "name": "repeat",
11808
- "description": "Whether to repeat the watermark",
11781
+ "name": "prevent-focus",
11782
+ "description": "Whether to prevent elements in the pop-up layer from gaining focus when clicked",
11809
11783
  "value": {
11810
11784
  "type": "boolean",
11811
11785
  "kind": "expression"
11812
11786
  }
11813
11787
  },
11814
11788
  {
11815
- "name": "staggered",
11816
- "description": "Whether to stagger the arrangement layout",
11789
+ "name": "scroll-to-close",
11790
+ "description": "Whether to close the popover when scrolling",
11817
11791
  "value": {
11818
11792
  "type": "boolean",
11819
11793
  "kind": "expression"
11820
11794
  }
11795
+ },
11796
+ {
11797
+ "name": "scroll-to-close-distance",
11798
+ "description": "Scroll threshold, trigger close when the scroll distance exceeds this value",
11799
+ "value": {
11800
+ "type": "number",
11801
+ "kind": "expression"
11802
+ }
11821
11803
  }
11822
11804
  ],
11823
- "events": [],
11824
- "slots": []
11805
+ "events": [
11806
+ {
11807
+ "name": "popup-visible-change",
11808
+ "description": "Emitted when the status of the popup changes"
11809
+ },
11810
+ {
11811
+ "name": "show",
11812
+ "description": "Triggered after the trigger is shown (the animation ends)"
11813
+ },
11814
+ {
11815
+ "name": "hide",
11816
+ "description": "Triggered after the popup is hidden (the animation ends)"
11817
+ }
11818
+ ],
11819
+ "slots": [
11820
+ {
11821
+ "name": "content",
11822
+ "description": "Popup content"
11823
+ }
11824
+ ]
11825
11825
  }
11826
11826
  ]
11827
11827
  }