@sdata/web-vue 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sd.css +90 -0
- package/dist/sd.min.css +1 -1
- package/es/_components/input-label/input-label.js +30 -24
- package/es/_components/select-view/interface.d.ts +1 -0
- package/es/_components/select-view/select-view.d.ts +12 -3
- package/es/_components/select-view/select-view.js +38 -28
- package/es/_components/select-view/style/index.css +45 -0
- package/es/_hooks/use-trigger.d.ts +4 -6
- package/es/_hooks/use-trigger.js +7 -5
- package/es/auto-complete/auto-complete.d.ts +1 -1
- package/es/auto-complete/index.d.ts +3 -3
- package/es/badge/badge.d.ts +1 -1
- package/es/badge/index.d.ts +3 -3
- package/es/carousel/carousel-arrow.vue.d.ts +1 -1
- package/es/carousel/carousel.d.ts +2 -2
- package/es/carousel/index.d.ts +6 -6
- package/es/cascader/cascader-panel.vue.d.ts +2 -2
- package/es/cascader/cascader.vue.d.ts +20 -11
- package/es/cascader/index.d.ts +44 -26
- package/es/config-provider/config-provider.vue.d.ts +1 -1
- package/es/config-provider/index.d.ts +3 -3
- package/es/date-picker/index.d.ts +6 -6
- package/es/date-picker/picker.vue.d.ts +6 -6
- package/es/date-picker/range-picker.vue.d.ts +6 -6
- package/es/descriptions/descriptions.d.ts +2 -2
- package/es/descriptions/index.d.ts +6 -6
- package/es/drawer/drawer.vue_vue_type_script_lang.js +1 -1
- package/es/dropdown/dropdown-button.vue.d.ts +8 -8
- package/es/dropdown/dropdown-panel.vue.d.ts +2 -2
- package/es/dropdown/dropdown-submenu.vue.d.ts +8 -8
- package/es/dropdown/dropdown.vue.d.ts +8 -8
- package/es/dropdown/index.d.ts +32 -32
- package/es/ellipsis/ellipsis.vue.d.ts +13 -13
- package/es/ellipsis/ellipsis.vue_vue_type_script_lang.js +1 -1
- package/es/ellipsis/index.d.ts +56 -56
- package/es/ellipsis/performant-ellipsis.vue.d.ts +14 -14
- package/es/form/form-item-label.vue.d.ts +12 -12
- package/es/form/form-item.vue.d.ts +12 -12
- package/es/form/index.d.ts +12 -12
- package/es/grid/grid.vue.d.ts +1 -1
- package/es/grid/index.d.ts +3 -3
- package/es/image/image.vue.d.ts +12 -12
- package/es/image/preview-action.d.ts +12 -12
- package/es/image/preview-group.vue.d.ts +12 -12
- package/es/image/preview-toolbar.vue.d.ts +12 -12
- package/es/image/preview.vue.d.ts +12 -12
- package/es/index.css +90 -0
- package/es/index.js +2 -2
- package/es/input-tag/index.d.ts +6 -6
- package/es/input-tag/input-tag.d.ts +3 -3
- package/es/input-tag/input-tag.js +179 -30
- package/es/input-tag/style/index.css +45 -0
- package/es/input-tag/style/input-tag.scss +53 -0
- package/es/list/index.d.ts +3 -3
- package/es/list/list.d.ts +1 -1
- package/es/menu/sub-menu-pop.vue.d.ts +6 -6
- package/es/modal/modal.vue_vue_type_script_lang.js +1 -1
- package/es/overflow-list/index.d.ts +3 -3
- package/es/overflow-list/overflow-list.d.ts +1 -1
- package/es/pagination/page-options.vue.d.ts +188 -98
- package/es/popconfirm/index.d.ts +12 -12
- package/es/popconfirm/popconfirm.vue.d.ts +6 -6
- package/es/popover/index.d.ts +12 -12
- package/es/popover/popover.vue.d.ts +6 -6
- package/es/progress/index.d.ts +5 -5
- package/es/progress/line.vue.d.ts +1 -1
- package/es/progress/progress.vue.d.ts +2 -2
- package/es/scrollbar/index.d.ts +2 -2
- package/es/scrollbar/scrollbar.vue.d.ts +1 -1
- package/es/scrollbar/thumb.vue.d.ts +1 -1
- package/es/sd-vue.js +2 -2
- package/es/select/hooks/use-options.d.ts +9 -4
- package/es/select/hooks/use-options.js +2 -2
- package/es/select/hooks/use-select.d.ts +9 -4
- package/es/select/index.d.ts +188 -98
- package/es/select/interface.d.ts +57 -46
- package/es/select/select-dropdown.vue.d.ts +2 -2
- package/es/select/select.d.ts +107 -59
- package/es/select/select.js +179 -125
- package/es/select/utils.d.ts +1 -1
- package/es/select/utils.js +28 -10
- package/es/skeleton/index.d.ts +1 -1
- package/es/skeleton/line.vue.d.ts +1 -1
- package/es/slider/index.d.ts +27 -27
- package/es/slider/slider-button.vue.d.ts +12 -12
- package/es/slider/slider.vue.d.ts +13 -13
- package/es/space/index.d.ts +3 -3
- package/es/space/space.d.ts +1 -1
- package/es/statistic/index.d.ts +6 -6
- package/es/statistic/statistic.vue.d.ts +2 -2
- package/es/table/index.d.ts +6 -6
- package/es/table/table.d.ts +2 -2
- package/es/tabs/index.d.ts +9 -9
- package/es/tabs/tabs.d.ts +3 -3
- package/es/tag/index.d.ts +3 -3
- package/es/tag/tag.vue.d.ts +1 -1
- package/es/time-picker/index.d.ts +12 -12
- package/es/time-picker/time-picker.vue.d.ts +6 -6
- package/es/tooltip/index.d.ts +12 -12
- package/es/tooltip/tooltip.vue.d.ts +6 -6
- package/es/transfer/index.d.ts +10 -10
- package/es/transfer/transfer-view.vue.d.ts +5 -5
- package/es/transfer/transfer.vue.d.ts +5 -5
- package/es/tree/index.d.ts +6 -6
- package/es/tree/tree.vue.d.ts +2 -2
- package/es/tree-select/hooks/use-selected-state.d.ts +2 -0
- package/es/tree-select/hooks/use-selected-state.js +26 -8
- package/es/tree-select/index.d.ts +265 -61
- package/es/tree-select/interface.d.ts +16 -3
- package/es/tree-select/panel.d.ts +6 -6
- package/es/tree-select/tree-select.js +28 -15
- package/es/tree-select/tree-select.vue.d.ts +143 -30
- package/es/tree-select/tree-select.vue_vue_type_script_lang.js +100 -23
- package/es/trigger/index.d.ts +6 -6
- package/es/trigger/trigger.d.ts +2 -2
- package/es/typography/operations.vue.d.ts +12 -12
- package/json/vetur-attributes.json +36 -158
- package/json/vetur-tags.json +10 -46
- package/json/web-types.json +79 -366
- package/package.json +7 -7
package/json/vetur-tags.json
CHANGED
|
@@ -1053,52 +1053,7 @@
|
|
|
1053
1053
|
]
|
|
1054
1054
|
},
|
|
1055
1055
|
"sd-select": {
|
|
1056
|
-
"attributes": [
|
|
1057
|
-
"change",
|
|
1058
|
-
"input-value-change",
|
|
1059
|
-
"popup-visible-change",
|
|
1060
|
-
"clear",
|
|
1061
|
-
"remove",
|
|
1062
|
-
"search",
|
|
1063
|
-
"dropdown-scroll",
|
|
1064
|
-
"dropdown-reach-bottom",
|
|
1065
|
-
"exceed-limit",
|
|
1066
|
-
"multiple",
|
|
1067
|
-
"model-value",
|
|
1068
|
-
"default-value",
|
|
1069
|
-
"input-value",
|
|
1070
|
-
"default-input-value",
|
|
1071
|
-
"size",
|
|
1072
|
-
"placeholder",
|
|
1073
|
-
"loading",
|
|
1074
|
-
"disabled",
|
|
1075
|
-
"error",
|
|
1076
|
-
"allow-clear",
|
|
1077
|
-
"allow-search",
|
|
1078
|
-
"allow-create",
|
|
1079
|
-
"max-tag-count",
|
|
1080
|
-
"popup-container",
|
|
1081
|
-
"bordered",
|
|
1082
|
-
"default-active-first-option",
|
|
1083
|
-
"popup-visible",
|
|
1084
|
-
"default-popup-visible",
|
|
1085
|
-
"unmount-on-close",
|
|
1086
|
-
"filter-option",
|
|
1087
|
-
"options",
|
|
1088
|
-
"virtual-list-props",
|
|
1089
|
-
"trigger-props",
|
|
1090
|
-
"format-label",
|
|
1091
|
-
"fallback-option",
|
|
1092
|
-
"show-extra-options",
|
|
1093
|
-
"value-key",
|
|
1094
|
-
"search-delay",
|
|
1095
|
-
"limit",
|
|
1096
|
-
"field-names",
|
|
1097
|
-
"scrollbar",
|
|
1098
|
-
"show-header-on-empty",
|
|
1099
|
-
"show-footer-on-empty",
|
|
1100
|
-
"tag-nowrap"
|
|
1101
|
-
]
|
|
1056
|
+
"attributes": []
|
|
1102
1057
|
},
|
|
1103
1058
|
"sd-skeleton-line": {
|
|
1104
1059
|
"attributes": [
|
|
@@ -1511,20 +1466,29 @@
|
|
|
1511
1466
|
"size",
|
|
1512
1467
|
"border",
|
|
1513
1468
|
"allow-search",
|
|
1469
|
+
"filterable",
|
|
1514
1470
|
"allow-clear",
|
|
1471
|
+
"clearable",
|
|
1515
1472
|
"placeholder",
|
|
1516
1473
|
"max-tag-count",
|
|
1517
1474
|
"multiple",
|
|
1518
1475
|
"default-value",
|
|
1519
1476
|
"model-value",
|
|
1477
|
+
"value",
|
|
1520
1478
|
"field-names",
|
|
1521
1479
|
"data",
|
|
1480
|
+
"options",
|
|
1522
1481
|
"label-in-value",
|
|
1523
1482
|
"tree-checkable",
|
|
1483
|
+
"checkable",
|
|
1524
1484
|
"tree-check-strictly",
|
|
1525
1485
|
"tree-checked-strategy",
|
|
1486
|
+
"check-strategy",
|
|
1487
|
+
"show-path",
|
|
1488
|
+
"separator",
|
|
1526
1489
|
"tree-props",
|
|
1527
1490
|
"trigger-props",
|
|
1491
|
+
"virtual-scroll",
|
|
1528
1492
|
"popup-visible",
|
|
1529
1493
|
"default-popup-visible",
|
|
1530
1494
|
"dropdown-style",
|
package/json/web-types.json
CHANGED
|
@@ -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.
|
|
5
|
+
"version": "1.8.0",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"types-syntax": "typescript",
|
|
@@ -4453,7 +4453,7 @@
|
|
|
4453
4453
|
"name": "max-tag-count",
|
|
4454
4454
|
"description": "The maximum number of tags displayed, `0` means unlimited",
|
|
4455
4455
|
"value": {
|
|
4456
|
-
"type": "number",
|
|
4456
|
+
"type": "number | 'responsive'",
|
|
4457
4457
|
"kind": "expression"
|
|
4458
4458
|
}
|
|
4459
4459
|
},
|
|
@@ -6544,368 +6544,9 @@
|
|
|
6544
6544
|
},
|
|
6545
6545
|
{
|
|
6546
6546
|
"name": "sd-select",
|
|
6547
|
-
"attributes": [
|
|
6548
|
-
|
|
6549
|
-
|
|
6550
|
-
"description": "Whether to open multi-select mode (The search is turned on by default in the multi-select mode)",
|
|
6551
|
-
"value": {
|
|
6552
|
-
"type": "boolean",
|
|
6553
|
-
"kind": "expression"
|
|
6554
|
-
}
|
|
6555
|
-
},
|
|
6556
|
-
{
|
|
6557
|
-
"name": "model-value",
|
|
6558
|
-
"description": "Value",
|
|
6559
|
-
"value": {
|
|
6560
|
-
"type": "| string\n| number\n| boolean\n| Record<string, any>\n| (string | number | boolean | Record<string, any>)[]",
|
|
6561
|
-
"kind": "expression"
|
|
6562
|
-
}
|
|
6563
|
-
},
|
|
6564
|
-
{
|
|
6565
|
-
"name": "default-value",
|
|
6566
|
-
"description": "Default value (uncontrolled mode)",
|
|
6567
|
-
"value": {
|
|
6568
|
-
"type": "| string\n| number\n| boolean\n| Record<string, unknown>\n| (string | number | boolean | Record<string, unknown>)[]",
|
|
6569
|
-
"kind": "expression"
|
|
6570
|
-
}
|
|
6571
|
-
},
|
|
6572
|
-
{
|
|
6573
|
-
"name": "input-value",
|
|
6574
|
-
"description": "The value of the input",
|
|
6575
|
-
"value": {
|
|
6576
|
-
"type": "string",
|
|
6577
|
-
"kind": "expression"
|
|
6578
|
-
}
|
|
6579
|
-
},
|
|
6580
|
-
{
|
|
6581
|
-
"name": "default-input-value",
|
|
6582
|
-
"description": "The default value of the input (uncontrolled mode)",
|
|
6583
|
-
"value": {
|
|
6584
|
-
"type": "string",
|
|
6585
|
-
"kind": "expression"
|
|
6586
|
-
}
|
|
6587
|
-
},
|
|
6588
|
-
{
|
|
6589
|
-
"name": "size",
|
|
6590
|
-
"description": "The size of the select",
|
|
6591
|
-
"value": {
|
|
6592
|
-
"type": "Size",
|
|
6593
|
-
"kind": "expression"
|
|
6594
|
-
}
|
|
6595
|
-
},
|
|
6596
|
-
{
|
|
6597
|
-
"name": "placeholder",
|
|
6598
|
-
"description": "Placeholder",
|
|
6599
|
-
"value": {
|
|
6600
|
-
"type": "string",
|
|
6601
|
-
"kind": "expression"
|
|
6602
|
-
}
|
|
6603
|
-
},
|
|
6604
|
-
{
|
|
6605
|
-
"name": "loading",
|
|
6606
|
-
"description": "Whether it is loading state",
|
|
6607
|
-
"value": {
|
|
6608
|
-
"type": "boolean",
|
|
6609
|
-
"kind": "expression"
|
|
6610
|
-
}
|
|
6611
|
-
},
|
|
6612
|
-
{
|
|
6613
|
-
"name": "disabled",
|
|
6614
|
-
"description": "Whether to disable",
|
|
6615
|
-
"value": {
|
|
6616
|
-
"type": "boolean",
|
|
6617
|
-
"kind": "expression"
|
|
6618
|
-
}
|
|
6619
|
-
},
|
|
6620
|
-
{
|
|
6621
|
-
"name": "error",
|
|
6622
|
-
"description": "Whether it is an error state",
|
|
6623
|
-
"value": {
|
|
6624
|
-
"type": "boolean",
|
|
6625
|
-
"kind": "expression"
|
|
6626
|
-
}
|
|
6627
|
-
},
|
|
6628
|
-
{
|
|
6629
|
-
"name": "allow-clear",
|
|
6630
|
-
"description": "Whether to allow clear",
|
|
6631
|
-
"value": {
|
|
6632
|
-
"type": "boolean",
|
|
6633
|
-
"kind": "expression"
|
|
6634
|
-
}
|
|
6635
|
-
},
|
|
6636
|
-
{
|
|
6637
|
-
"name": "allow-search",
|
|
6638
|
-
"description": "Whether to allow searching",
|
|
6639
|
-
"value": {
|
|
6640
|
-
"type": "boolean | { retainInputValue?: boolean }",
|
|
6641
|
-
"kind": "expression"
|
|
6642
|
-
}
|
|
6643
|
-
},
|
|
6644
|
-
{
|
|
6645
|
-
"name": "allow-create",
|
|
6646
|
-
"description": "Whether to allow creation",
|
|
6647
|
-
"value": {
|
|
6648
|
-
"type": "boolean",
|
|
6649
|
-
"kind": "expression"
|
|
6650
|
-
}
|
|
6651
|
-
},
|
|
6652
|
-
{
|
|
6653
|
-
"name": "max-tag-count",
|
|
6654
|
-
"description": "In multi-select mode, the maximum number of labels displayed. 0 means unlimited",
|
|
6655
|
-
"value": {
|
|
6656
|
-
"type": "number",
|
|
6657
|
-
"kind": "expression"
|
|
6658
|
-
}
|
|
6659
|
-
},
|
|
6660
|
-
{
|
|
6661
|
-
"name": "popup-container",
|
|
6662
|
-
"description": "Mount container for popup",
|
|
6663
|
-
"value": {
|
|
6664
|
-
"type": "string | HTMLElement",
|
|
6665
|
-
"kind": "expression"
|
|
6666
|
-
}
|
|
6667
|
-
},
|
|
6668
|
-
{
|
|
6669
|
-
"name": "bordered",
|
|
6670
|
-
"description": "Whether to display the border of the input box",
|
|
6671
|
-
"value": {
|
|
6672
|
-
"type": "boolean",
|
|
6673
|
-
"kind": "expression"
|
|
6674
|
-
}
|
|
6675
|
-
},
|
|
6676
|
-
{
|
|
6677
|
-
"name": "default-active-first-option",
|
|
6678
|
-
"description": "Whether to select the first option by default when there is no value",
|
|
6679
|
-
"value": {
|
|
6680
|
-
"type": "boolean",
|
|
6681
|
-
"kind": "expression"
|
|
6682
|
-
}
|
|
6683
|
-
},
|
|
6684
|
-
{
|
|
6685
|
-
"name": "popup-visible",
|
|
6686
|
-
"description": "Whether to show the dropdown",
|
|
6687
|
-
"value": {
|
|
6688
|
-
"type": "boolean",
|
|
6689
|
-
"kind": "expression"
|
|
6690
|
-
}
|
|
6691
|
-
},
|
|
6692
|
-
{
|
|
6693
|
-
"name": "default-popup-visible",
|
|
6694
|
-
"description": "Whether the popup is visible by default (uncontrolled mode)",
|
|
6695
|
-
"value": {
|
|
6696
|
-
"type": "boolean",
|
|
6697
|
-
"kind": "expression"
|
|
6698
|
-
}
|
|
6699
|
-
},
|
|
6700
|
-
{
|
|
6701
|
-
"name": "unmount-on-close",
|
|
6702
|
-
"description": "Whether to destroy the element when the dropdown is closed",
|
|
6703
|
-
"value": {
|
|
6704
|
-
"type": "boolean",
|
|
6705
|
-
"kind": "expression"
|
|
6706
|
-
}
|
|
6707
|
-
},
|
|
6708
|
-
{
|
|
6709
|
-
"name": "filter-option",
|
|
6710
|
-
"description": "Whether to filter options",
|
|
6711
|
-
"value": {
|
|
6712
|
-
"type": "boolean | ((inputValue: string, option: SelectOptionData) => boolean)",
|
|
6713
|
-
"kind": "expression"
|
|
6714
|
-
}
|
|
6715
|
-
},
|
|
6716
|
-
{
|
|
6717
|
-
"name": "options",
|
|
6718
|
-
"description": "Option data",
|
|
6719
|
-
"value": {
|
|
6720
|
-
"type": "(string | number | boolean | SelectOptionData | SelectOptionGroup)[]",
|
|
6721
|
-
"kind": "expression"
|
|
6722
|
-
}
|
|
6723
|
-
},
|
|
6724
|
-
{
|
|
6725
|
-
"name": "virtual-list-props",
|
|
6726
|
-
"description": "Pass the virtual list attribute, pass in this parameter to turn on virtual scrolling [VirtualListProps](#VirtualListProps)",
|
|
6727
|
-
"value": {
|
|
6728
|
-
"type": "VirtualListProps",
|
|
6729
|
-
"kind": "expression"
|
|
6730
|
-
}
|
|
6731
|
-
},
|
|
6732
|
-
{
|
|
6733
|
-
"name": "trigger-props",
|
|
6734
|
-
"description": "Trigger props of the drop-down menu",
|
|
6735
|
-
"value": {
|
|
6736
|
-
"type": "TriggerProps",
|
|
6737
|
-
"kind": "expression"
|
|
6738
|
-
}
|
|
6739
|
-
},
|
|
6740
|
-
{
|
|
6741
|
-
"name": "format-label",
|
|
6742
|
-
"description": "Format display content",
|
|
6743
|
-
"value": {
|
|
6744
|
-
"type": "(data: SelectOptionData) => string",
|
|
6745
|
-
"kind": "expression"
|
|
6746
|
-
}
|
|
6747
|
-
},
|
|
6748
|
-
{
|
|
6749
|
-
"name": "fallback-option",
|
|
6750
|
-
"description": "Options that do not exist in custom values",
|
|
6751
|
-
"value": {
|
|
6752
|
-
"type": "boolean | ((value: string | number | boolean | Record<string, unknown>) => SelectOptionData)",
|
|
6753
|
-
"kind": "expression"
|
|
6754
|
-
}
|
|
6755
|
-
},
|
|
6756
|
-
{
|
|
6757
|
-
"name": "show-extra-options",
|
|
6758
|
-
"description": "Options that do not exist in custom values",
|
|
6759
|
-
"value": {
|
|
6760
|
-
"type": "boolean",
|
|
6761
|
-
"kind": "expression"
|
|
6762
|
-
}
|
|
6763
|
-
},
|
|
6764
|
-
{
|
|
6765
|
-
"name": "value-key",
|
|
6766
|
-
"description": "Used to determine the option key value attribute name",
|
|
6767
|
-
"value": {
|
|
6768
|
-
"type": "string",
|
|
6769
|
-
"kind": "expression"
|
|
6770
|
-
}
|
|
6771
|
-
},
|
|
6772
|
-
{
|
|
6773
|
-
"name": "search-delay",
|
|
6774
|
-
"description": "Delay time to trigger search event",
|
|
6775
|
-
"value": {
|
|
6776
|
-
"type": "number",
|
|
6777
|
-
"kind": "expression"
|
|
6778
|
-
}
|
|
6779
|
-
},
|
|
6780
|
-
{
|
|
6781
|
-
"name": "limit",
|
|
6782
|
-
"description": "Maximum number of choices in multiple choice",
|
|
6783
|
-
"value": {
|
|
6784
|
-
"type": "number",
|
|
6785
|
-
"kind": "expression"
|
|
6786
|
-
}
|
|
6787
|
-
},
|
|
6788
|
-
{
|
|
6789
|
-
"name": "field-names",
|
|
6790
|
-
"description": "Customize fields in `SelectOptionData`",
|
|
6791
|
-
"value": {
|
|
6792
|
-
"type": "SelectFieldNames",
|
|
6793
|
-
"kind": "expression"
|
|
6794
|
-
}
|
|
6795
|
-
},
|
|
6796
|
-
{
|
|
6797
|
-
"name": "scrollbar",
|
|
6798
|
-
"description": "Whether to enable virtual scroll bar",
|
|
6799
|
-
"value": {
|
|
6800
|
-
"type": "boolean | ScrollbarProps",
|
|
6801
|
-
"kind": "expression"
|
|
6802
|
-
}
|
|
6803
|
-
},
|
|
6804
|
-
{
|
|
6805
|
-
"name": "show-header-on-empty",
|
|
6806
|
-
"description": "Whether to display the header in the empty state",
|
|
6807
|
-
"value": {
|
|
6808
|
-
"type": "boolean",
|
|
6809
|
-
"kind": "expression"
|
|
6810
|
-
}
|
|
6811
|
-
},
|
|
6812
|
-
{
|
|
6813
|
-
"name": "show-footer-on-empty",
|
|
6814
|
-
"description": "Whether to display the footer in the empty state",
|
|
6815
|
-
"value": {
|
|
6816
|
-
"type": "boolean",
|
|
6817
|
-
"kind": "expression"
|
|
6818
|
-
}
|
|
6819
|
-
},
|
|
6820
|
-
{
|
|
6821
|
-
"name": "tag-nowrap",
|
|
6822
|
-
"description": "Tag content does not wrap",
|
|
6823
|
-
"value": {
|
|
6824
|
-
"type": "boolean",
|
|
6825
|
-
"kind": "expression"
|
|
6826
|
-
}
|
|
6827
|
-
}
|
|
6828
|
-
],
|
|
6829
|
-
"events": [
|
|
6830
|
-
{
|
|
6831
|
-
"name": "change",
|
|
6832
|
-
"description": "Triggered when the value changes"
|
|
6833
|
-
},
|
|
6834
|
-
{
|
|
6835
|
-
"name": "input-value-change",
|
|
6836
|
-
"description": "Triggered when the value of the input changes"
|
|
6837
|
-
},
|
|
6838
|
-
{
|
|
6839
|
-
"name": "popup-visible-change",
|
|
6840
|
-
"description": "Triggered when the display state of the drop-down box changes"
|
|
6841
|
-
},
|
|
6842
|
-
{
|
|
6843
|
-
"name": "clear",
|
|
6844
|
-
"description": "Triggered when the clear button is clicked"
|
|
6845
|
-
},
|
|
6846
|
-
{
|
|
6847
|
-
"name": "remove",
|
|
6848
|
-
"description": "Triggered when the delete button of the label is clicked"
|
|
6849
|
-
},
|
|
6850
|
-
{
|
|
6851
|
-
"name": "search",
|
|
6852
|
-
"description": "Triggered when the user searches"
|
|
6853
|
-
},
|
|
6854
|
-
{
|
|
6855
|
-
"name": "dropdown-scroll",
|
|
6856
|
-
"description": "Triggered when the drop-down scrolls"
|
|
6857
|
-
},
|
|
6858
|
-
{
|
|
6859
|
-
"name": "dropdown-reach-bottom",
|
|
6860
|
-
"description": "Triggered when the drop-down menu is scrolled to the bottom"
|
|
6861
|
-
},
|
|
6862
|
-
{
|
|
6863
|
-
"name": "exceed-limit",
|
|
6864
|
-
"description": "Triggered when multiple selection exceeds the limit"
|
|
6865
|
-
}
|
|
6866
|
-
],
|
|
6867
|
-
"slots": [
|
|
6868
|
-
{
|
|
6869
|
-
"name": "trigger",
|
|
6870
|
-
"description": "Custom trigger element"
|
|
6871
|
-
},
|
|
6872
|
-
{
|
|
6873
|
-
"name": "prefix",
|
|
6874
|
-
"description": "Prefix"
|
|
6875
|
-
},
|
|
6876
|
-
{
|
|
6877
|
-
"name": "search-icon",
|
|
6878
|
-
"description": "Search icon for select box"
|
|
6879
|
-
},
|
|
6880
|
-
{
|
|
6881
|
-
"name": "loading-icon",
|
|
6882
|
-
"description": "Loading icon for select box"
|
|
6883
|
-
},
|
|
6884
|
-
{
|
|
6885
|
-
"name": "arrow-icon",
|
|
6886
|
-
"description": "Arrow icon for select box"
|
|
6887
|
-
},
|
|
6888
|
-
{
|
|
6889
|
-
"name": "footer",
|
|
6890
|
-
"description": "The footer of the drop-down box"
|
|
6891
|
-
},
|
|
6892
|
-
{
|
|
6893
|
-
"name": "header",
|
|
6894
|
-
"description": "The header of the drop-down box"
|
|
6895
|
-
},
|
|
6896
|
-
{
|
|
6897
|
-
"name": "label",
|
|
6898
|
-
"description": "Display content of label"
|
|
6899
|
-
},
|
|
6900
|
-
{
|
|
6901
|
-
"name": "option",
|
|
6902
|
-
"description": "Display content of options"
|
|
6903
|
-
},
|
|
6904
|
-
{
|
|
6905
|
-
"name": "empty",
|
|
6906
|
-
"description": "Display content when the option is empty"
|
|
6907
|
-
}
|
|
6908
|
-
]
|
|
6547
|
+
"attributes": [],
|
|
6548
|
+
"events": [],
|
|
6549
|
+
"slots": []
|
|
6909
6550
|
},
|
|
6910
6551
|
{
|
|
6911
6552
|
"name": "sd-skeleton-line",
|
|
@@ -9520,6 +9161,14 @@
|
|
|
9520
9161
|
"kind": "expression"
|
|
9521
9162
|
}
|
|
9522
9163
|
},
|
|
9164
|
+
{
|
|
9165
|
+
"name": "filterable",
|
|
9166
|
+
"description": "Whether to allow searching, Naive compatibility alias",
|
|
9167
|
+
"value": {
|
|
9168
|
+
"type": "boolean",
|
|
9169
|
+
"kind": "expression"
|
|
9170
|
+
}
|
|
9171
|
+
},
|
|
9523
9172
|
{
|
|
9524
9173
|
"name": "allow-clear",
|
|
9525
9174
|
"description": "Whether to allow clear",
|
|
@@ -9528,6 +9177,14 @@
|
|
|
9528
9177
|
"kind": "expression"
|
|
9529
9178
|
}
|
|
9530
9179
|
},
|
|
9180
|
+
{
|
|
9181
|
+
"name": "clearable",
|
|
9182
|
+
"description": "Whether to allow clear, Naive compatibility alias",
|
|
9183
|
+
"value": {
|
|
9184
|
+
"type": "boolean",
|
|
9185
|
+
"kind": "expression"
|
|
9186
|
+
}
|
|
9187
|
+
},
|
|
9531
9188
|
{
|
|
9532
9189
|
"name": "placeholder",
|
|
9533
9190
|
"description": "Prompt copy",
|
|
@@ -9540,7 +9197,7 @@
|
|
|
9540
9197
|
"name": "max-tag-count",
|
|
9541
9198
|
"description": "The maximum number of labels displayed, only valid in multi-select mode",
|
|
9542
9199
|
"value": {
|
|
9543
|
-
"type": "number",
|
|
9200
|
+
"type": "number | 'responsive'",
|
|
9544
9201
|
"kind": "expression"
|
|
9545
9202
|
}
|
|
9546
9203
|
},
|
|
@@ -9556,7 +9213,7 @@
|
|
|
9556
9213
|
"name": "default-value",
|
|
9557
9214
|
"description": "Default value",
|
|
9558
9215
|
"value": {
|
|
9559
|
-
"type": "
|
|
9216
|
+
"type": "TreeSelectValue",
|
|
9560
9217
|
"kind": "expression"
|
|
9561
9218
|
}
|
|
9562
9219
|
},
|
|
@@ -9568,6 +9225,14 @@
|
|
|
9568
9225
|
"kind": "expression"
|
|
9569
9226
|
}
|
|
9570
9227
|
},
|
|
9228
|
+
{
|
|
9229
|
+
"name": "value",
|
|
9230
|
+
"description": "Value, Naive compatibility alias",
|
|
9231
|
+
"value": {
|
|
9232
|
+
"type": "string | number | Array<string | number> | LabelValue | LabelValue[]",
|
|
9233
|
+
"kind": "expression"
|
|
9234
|
+
}
|
|
9235
|
+
},
|
|
9571
9236
|
{
|
|
9572
9237
|
"name": "field-names",
|
|
9573
9238
|
"description": "Specify the field name in the node data",
|
|
@@ -9584,6 +9249,14 @@
|
|
|
9584
9249
|
"kind": "expression"
|
|
9585
9250
|
}
|
|
9586
9251
|
},
|
|
9252
|
+
{
|
|
9253
|
+
"name": "options",
|
|
9254
|
+
"description": "Data, Naive compatibility alias",
|
|
9255
|
+
"value": {
|
|
9256
|
+
"type": "TreeNodeData[]",
|
|
9257
|
+
"kind": "expression"
|
|
9258
|
+
}
|
|
9259
|
+
},
|
|
9587
9260
|
{
|
|
9588
9261
|
"name": "label-in-value",
|
|
9589
9262
|
"description": "Set the value format. The default is string, when set to true, the value format is: {label: string, value: string}",
|
|
@@ -9600,6 +9273,14 @@
|
|
|
9600
9273
|
"kind": "expression"
|
|
9601
9274
|
}
|
|
9602
9275
|
},
|
|
9276
|
+
{
|
|
9277
|
+
"name": "checkable",
|
|
9278
|
+
"description": "Whether to show checkbox, Naive compatibility alias",
|
|
9279
|
+
"value": {
|
|
9280
|
+
"type": "boolean",
|
|
9281
|
+
"kind": "expression"
|
|
9282
|
+
}
|
|
9283
|
+
},
|
|
9603
9284
|
{
|
|
9604
9285
|
"name": "tree-check-strictly",
|
|
9605
9286
|
"description": "Whether the parent and child nodes are related",
|
|
@@ -9616,6 +9297,30 @@
|
|
|
9616
9297
|
"kind": "expression"
|
|
9617
9298
|
}
|
|
9618
9299
|
},
|
|
9300
|
+
{
|
|
9301
|
+
"name": "check-strategy",
|
|
9302
|
+
"description": "Customized echo method, Naive compatibility alias",
|
|
9303
|
+
"value": {
|
|
9304
|
+
"type": "string",
|
|
9305
|
+
"kind": "expression"
|
|
9306
|
+
}
|
|
9307
|
+
},
|
|
9308
|
+
{
|
|
9309
|
+
"name": "show-path",
|
|
9310
|
+
"description": "Whether to display the full path",
|
|
9311
|
+
"value": {
|
|
9312
|
+
"type": "boolean",
|
|
9313
|
+
"kind": "expression"
|
|
9314
|
+
}
|
|
9315
|
+
},
|
|
9316
|
+
{
|
|
9317
|
+
"name": "separator",
|
|
9318
|
+
"description": "Path separator",
|
|
9319
|
+
"value": {
|
|
9320
|
+
"type": "string",
|
|
9321
|
+
"kind": "expression"
|
|
9322
|
+
}
|
|
9323
|
+
},
|
|
9619
9324
|
{
|
|
9620
9325
|
"name": "tree-props",
|
|
9621
9326
|
"description": "Can accept Props of all [Tree](/vue/component/tree) components",
|
|
@@ -9632,6 +9337,14 @@
|
|
|
9632
9337
|
"kind": "expression"
|
|
9633
9338
|
}
|
|
9634
9339
|
},
|
|
9340
|
+
{
|
|
9341
|
+
"name": "virtual-scroll",
|
|
9342
|
+
"description": "Whether to enable virtual scroll, Naive compatibility alias",
|
|
9343
|
+
"value": {
|
|
9344
|
+
"type": "boolean",
|
|
9345
|
+
"kind": "expression"
|
|
9346
|
+
}
|
|
9347
|
+
},
|
|
9635
9348
|
{
|
|
9636
9349
|
"name": "popup-visible",
|
|
9637
9350
|
"description": "Whether the pop-up box is visible",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sdata/web-vue",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "SD Design Vue: A Vue.js 3 UI Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sd",
|
|
@@ -72,20 +72,20 @@
|
|
|
72
72
|
"@types/clean-css": "^4.2.11",
|
|
73
73
|
"@vitejs/plugin-vue": "^6.0.6",
|
|
74
74
|
"@vitejs/plugin-vue-jsx": "^5.1.5",
|
|
75
|
-
"@vue/test-utils": "^2.4.
|
|
75
|
+
"@vue/test-utils": "^2.4.10",
|
|
76
76
|
"@vueuse/core": "^14.2.1",
|
|
77
77
|
"clean-css": "^5.3.3",
|
|
78
78
|
"fast-glob": "^3.3.3",
|
|
79
79
|
"glob": "^13.0.6",
|
|
80
80
|
"jest-serializer-vue": "^3.1.0",
|
|
81
|
-
"jsdom": "^29.
|
|
82
|
-
"sass": "^1.
|
|
81
|
+
"jsdom": "^29.1.1",
|
|
82
|
+
"sass": "^1.99.0",
|
|
83
83
|
"semantic-release": "^25.0.3",
|
|
84
84
|
"svgo": "^4.0.1",
|
|
85
|
-
"typescript": "^6.0.
|
|
85
|
+
"typescript": "^6.0.3",
|
|
86
86
|
"vite": "^8.0.8",
|
|
87
|
-
"vite-plus": "^0.1.
|
|
88
|
-
"vitest": "^4.1.
|
|
87
|
+
"vite-plus": "^0.1.20",
|
|
88
|
+
"vitest": "^4.1.5",
|
|
89
89
|
"vue-docgen-api": "4.79.2",
|
|
90
90
|
"vue-tsc": "^3.2.6"
|
|
91
91
|
},
|